[cut: only the first 33554432 bytes of this file were read]
<?xml version="1.0" encoding="utf-8"?>
<posts>
  <row Id="1" PostTypeId="1" AcceptedAnswerId="2" CreationDate="2016-09-13T19:28:12.260" Score="42" ViewCount="4666" Body="&lt;p&gt;I need to add a rendering to all of the pages in my Sitecore tree (i.e., items that have renderings, have a layout set, and live under &lt;code&gt;/sitecore/Content&lt;/code&gt;). Content items that don't have renderings or a layout set don't need the rendering. I want to add this rendering to the &lt;code&gt;layoutHeader&lt;/code&gt; placeholder on my pages and the rendering does not require a data source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this something that's possible with the Sitecore API or Sitecore PowerShell? If so, how would I go about it? I'm working with Sitecore 8.1 Update-3.&lt;/p&gt;&#xA;" OwnerUserId="10" LastEditorUserId="73" LastEditDate="2016-09-16T23:49:56.337" LastActivityDate="2019-12-23T15:57:07.607" Title="How can I programmatically add a rendering to all of my content items?" Tags="|powershell-extensions|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2" PostTypeId="2" ParentId="1" CreationDate="2016-09-13T19:33:40.370" Score="44" Body="&lt;p&gt;You can do this by using the Powershell Extensions module.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$item = get-item master:\content\Demo\Int\Home&#xA;$device =Get-Device -Default&#xA;$contentDataSource = get-item master:\content\Demo\Int\Home\about-us\employee-stories\adam-najmanowicz&#xA;$ImageDataSource = get-item master:\content\Demo\Int\Data\Images\d56cf7e777a2496aa6489a7bffc03539&#xA;&#xA;$rendering = get-item master:\layout\Sublayouts\ZenGarden\Basic\Content&#xA;Add-Rendering -Item $item -Device $device -Rendering $rendering -Placeholder main -Parameter @{FieldName =&quot;Title&quot;} -DataSource $contentDataSource&#xA;$rendering = get-item master:\layout\Sublayouts\ZenGarden\Basic\Image&#xA;Add-Rendering -Item $item -Device $device -Rendering $rendering -Placeholder main -DataSource $ImageDataSource&#xA;$rendering = get-item master:\layout\Sublayouts\ZenGarden\Basic\Subtitle&#xA;Add-Rendering -Item $item -Device $device -Rendering $rendering -Placeholder main -DataSource $contentDataSource&#xA;$rendering = get-item master:\layout\Sublayouts\ZenGarden\Basic\Title&#xA;Add-Rendering -Item $item -Device $device -Rendering $rendering -Placeholder main&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://gist.github.com/AdamNaj/2a4baaa64c6d79931ba9&quot; rel=&quot;noreferrer&quot;&gt;Adam Najmanowicz Gist&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should serve as a good starting point. Here is the documentation of the Add-Rendering function: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Add-Rendering.html&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Add-Rendering.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="30" LastEditorUserId="114" LastEditDate="2016-10-12T12:35:51.507" LastActivityDate="2016-10-12T12:35:51.507" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3" PostTypeId="2" ParentId="1" CreationDate="2016-09-13T20:35:04.177" Score="6" Body="&lt;p&gt;You Can also probably do it as simple as updating each item's &lt;code&gt;Rendering&lt;/code&gt; field's XML data. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Maybe just go to the Sitecore and see the rendering you want is getting added on one item (maybe choose an item that did not have much stuff going on in presentation)&lt;/li&gt;&#xA;&lt;li&gt;And write a code test on one single item first to update an item by using the usual Sitecore item field value update API on &lt;code&gt;item.Fields[&quot;__Renderings&quot;].Value&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;To make it easier, you can probably use the .NET XDocument to parse the value first and add your new rendering node as an XElement &lt;code&gt;r&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;And update the rendering field value with this new XDocument element's value.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="63" LastEditorUserId="5387" LastEditDate="2019-12-23T15:57:07.607" LastActivityDate="2019-12-23T15:57:07.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4" PostTypeId="1" AcceptedAnswerId="4705" CreationDate="2016-09-13T20:49:23.920" Score="14" ViewCount="1429" Body="&lt;p&gt;When you create items based on a branch template, those items will contain a copy of the content, renderings etc. of the branch at the time the items were created - any changes applied to the branch template, once the items have been created, will not automatically appear on the created items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming that I want to update all the previously created items, with any new changes found in the branch template since the item creation (including sub-items, renderings etc.), what would be the best strategy for doing so? The strategy should take into account that renderings that might have been added previously, but later removed by a content editor, should not be re-added back to the item. Preferably, the update strategy functionality should be something that is executable from within the content editor in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="29" LastEditorUserId="73" LastEditDate="2016-09-14T02:20:00.757" LastActivityDate="2017-03-02T23:23:20.217" Title="What's the best way to update items created from a branch template" Tags="|branch|information-architecture|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5" PostTypeId="2" ParentId="4" CreationDate="2016-09-13T21:11:43.087" Score="23" Body="&lt;p&gt;There isn't a way - really. Not an out-of-the-box one, anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To achieve it; Sitecore would need to record a delta of item changes - which it doesn't. Remove a rendering - Sitecore removes it; but leaves no paper trail of the event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you're asking for is akin to what &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/getting_started_with_content_authoring/working_with_items/clones&quot;&gt;Item Clones&lt;/a&gt; does - except that it does not keep track of an entire item structure, and is not related to Branch templates in any way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You're left with a few options. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Update renderings via Standard Values. But it will not be limited to items created on the basis of your branch.&lt;/li&gt;&#xA;&lt;li&gt;Script it. Like using &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_PowerShell_console.aspx?sc_lang=en&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt;. &lt;/li&gt;&#xA;&lt;li&gt;Code it. Hook into item:copy events and so on - like &lt;a href=&quot;https://bitbucket.org/sitecore/sitecore-smart-commands&quot;&gt;Alen Pelin's Smart Commands&lt;/a&gt; - and do the rendering and content delta yourself. Not easy, mind you.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-13T21:11:43.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6" PostTypeId="1" AcceptedAnswerId="7" CreationDate="2016-09-13T21:17:01.027" Score="18" ViewCount="1227" Body="&lt;p&gt;I've seen a few examples on how you can use personalization in Sitecore to personalize the way a component (rendering / sub-layout) is displayed on your webpage. However, most of these guides explain how you can show/hide a component, given a certain criteria is met. In my case I would like to change the order, in which the components are sorted inside a placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that this something that can be achieved using personalization, is this out-of-the-box functionally, or does it require custom development to do so?&lt;/p&gt;&#xA;" OwnerUserId="29" LastEditorUserId="73" LastEditDate="2016-09-14T02:19:52.323" LastActivityDate="2016-09-14T04:16:55.497" Title="Can I change the order of components in placeholder based on personalization?" Tags="|personalization|rules-engine|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7" PostTypeId="2" ParentId="6" CreationDate="2016-09-13T21:40:20.440" Score="20" Body="&lt;p&gt;No. But it won't take all that much custom development to achieve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A full detailed answer would be blog post sized; so am just posting the general principle here for inspiration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your problem is; the Rules Engine operates on an if-else-then basis, and it does so by-component. You have no control over component relationships. Reasons for this are many; but looking at the underlying XML structure in the &lt;code&gt;__Renderings&lt;/code&gt; field will pretty much tell the tale.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you &lt;em&gt;can&lt;/em&gt; do however, is create a simple &quot;Item Renderer&quot; component of your own. Its datasoure would be little more than a simple Treelist or Multilist control. In that - you will select your datasource items to be rendered and - given you &lt;em&gt;do&lt;/em&gt; have control over this in both &lt;code&gt;Treelist&lt;/code&gt; and &lt;code&gt;Multilist&lt;/code&gt; - you can control their individual ordering as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Item Renderer would then loop through items, in the order listed, and render the item. How? Well there are several ways - but the &lt;code&gt;__Renderers&lt;/code&gt; field is an obvious candidate. I've also used the &lt;code&gt;__Controller&lt;/code&gt; and &lt;code&gt;__Action&lt;/code&gt; fields on items to achieve this, but this limits your rendering choices to purely Controller Renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this in place; all you need to do is create multiple variations of the &quot;Item Renderer&quot; datasource Multilist and use those in your Rules Engine based personalisation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not an ideal solution and plenty of room for improvement; but hopefully gets you thinking a little bit outside the box and help you along :-)&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-13T21:40:20.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8" PostTypeId="2" ParentId="6" CreationDate="2016-09-14T04:16:55.497" Score="10" Body="&lt;p&gt;A less ideal, but easier to implement solution, would be to personalize both the datasource and the rendering (assuming these are different types of components). Assuming you have a placeholder with two renderings (A and B) defined, you add personalization to A and B to swap.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g. On A, set a personalization rule to display B with B's datasource when the rule is true.&#xA;On B, set a personalization rule with the same condition, but to display A with A's datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While not elegant, this would allow you to 're-order' the components. Remember to enable personalization of the component design!&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-09-14T04:16:55.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9" PostTypeId="1" AcceptedAnswerId="10" CreationDate="2016-09-14T05:29:40.053" Score="10" ViewCount="2180" Body="&lt;p&gt;I want to load partial view using &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;@Html.RenderAction(&quot;AccountNav&quot;, &quot;Navigation&quot;, new { Area = &quot;areassomething&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but it throws an error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any alternative? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the semantic correct? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have requirement such that I have to use something like this. &lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="2727" LastEditDate="2018-06-07T12:39:57.893" LastActivityDate="2018-06-07T12:39:57.893" Title="Is there any alternative to @Html.RenderAction in Sitecore?" Tags="|presentation|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="10" PostTypeId="2" ParentId="9" CreationDate="2016-09-14T06:28:53.023" Score="18" Body="&lt;p&gt;If you simply want to render out a partial view (either view rendering or controller rendering), from another view or layout, you could use the Sitecore MVC extension methods:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Render view rendering: &#xA;&lt;code&gt;Html.Sitecore().ViewRendering(&quot;Path to the View&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Render controller rendering: &#xA;&lt;code&gt;Html.Sitecore().Controller(&quot;Controller Name&quot;, &quot;Controller Action&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using Sitecore 8.1 (or above) and want to include the Area part, I would recommend taking a look at the following blogpost, in order to see how this works:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://ctor.io/new-in-sitecore-8-1-mvc-areas/&quot;&gt;https://ctor.io/new-in-sitecore-8-1-mvc-areas/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="29" LastActivityDate="2016-09-14T06:28:53.023" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11" PostTypeId="1" AcceptedAnswerId="19" CreationDate="2016-09-14T07:10:16.810" Score="13" ViewCount="697" Body="&lt;p&gt;Another question here (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6/can-i-change-the-order-of-components-in-placeholder-based-on-personalization&quot;&gt;Can I change the order of components in placeholder based on personalization?&lt;/a&gt;) got me thinking - maybe there was a way to actually dynamically assign a placeholder to a rendering through personalization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And a bit of digging - turns out, maybe there is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vnBgj.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vnBgj.jpg&quot; alt=&quot;Conditional Rendering Actions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So there seem to be baked-in Conditional Rendering actions for everything one could wish for - the problem is the GUI. It basically only allows for us to select the conditions (if date has passed, if xDB is enabled and so on) - and then select &quot;Associated Content&quot; for the rendering. Presumably this is the &quot;Set Data Source&quot; action behind the scenes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas as to how we can reach the other actions?  or will we just have to wait for an UI update?&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-06T14:41:40.737" Title="How to invoke other actions in Conditional Renderings?" Tags="|personalization|rules-engine|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="12" PostTypeId="1" AcceptedAnswerId="337" CreationDate="2016-09-14T08:25:54.967" Score="50" ViewCount="4819" Body="&lt;p&gt;Across Europe new privacy legislation has been introduced; &lt;a href=&quot;http://www.gdpr-legislation.co.uk/&quot; rel=&quot;noreferrer&quot;&gt;GDPR&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a nutshell it says that the following are the responsibility of not only the customer but also the supplier:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Seeking consent from data subjects where personal data is stored on their behalf&lt;/li&gt;&#xA;&lt;li&gt;Providing robust processes and tools to enable the “right to be forgotten” (i.e. data about an individual must be able to be completely deleted, and evidence produced that this has been done)&lt;/li&gt;&#xA;&lt;li&gt;Setting out clear, unambiguous retention periods for the data we store, and a defined business need for retaining specific types of data&lt;/li&gt;&#xA;&lt;li&gt;Reporting breaches if and when they occur&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The legislation is in force now but will be &lt;em&gt;enforced&lt;/em&gt; from May 2018 with significant fines applied in cases of non-compliance or breach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Indeed in the sectors the company I work for (mostly Government and Charities) we're seeing this crop up more and more in RFP documents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This has a potentially large impact on Sitecore's personalisation and the xDB going forward. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So finally to my question(s):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have an idea of what Sitecore road-map is for GDPR? So I can explain back to customers how Sitecore will deal with this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are any partners looking at this at the moment? Both in terms of how Sitecore can be compliment now (perhaps purging users from xDB) or thinking about using pseudonymisation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally is anyone aware of a detailed guide of what &lt;a href=&quot;https://en.wikipedia.org/wiki/Personally_identifiable_information&quot; rel=&quot;noreferrer&quot;&gt;Personally Identifiable Information&lt;/a&gt; Sitecore stores in XDB out of the box&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Big broad sweeping question, but one our InfoSec crew are increasingly curious about.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update for Sitecore 9&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The right to be forgotten -&lt;/strong&gt; fulfilled by Sitecore 9 by allowing anonymisation of a contact - it will delete all personal identifiers for the user but keep an anonymous record.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Opt-outs -&lt;/strong&gt; There is a solution to remove a contact from all email lists now (without removing them from service emails - password resets etc.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Personal information -&lt;/strong&gt; You can add an attribute for PII contact details now which stops it being indexed and searchable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.codehousegroup.com/insight-and-inspiration/biz-stream/how-upgrading-to-sitecore-9-can-help-compliance-with-gdpr&quot; rel=&quot;noreferrer&quot;&gt;https://www.codehousegroup.com/insight-and-inspiration/biz-stream/how-upgrading-to-sitecore-9-can-help-compliance-with-gdpr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.net/resources/index/white-papers/sitecore-and-gdpr&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.net/resources/index/white-papers/siteco‌​re-and-gdpr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update for Sitecore 6, 7, 8&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/resources/index/white-papers/gdpr-compliance-with-your-sitecore-implementation&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.com/resources/index/white-papers/gdpr-compliance-with-your-sitecore-implementation&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="87" LastEditorUserId="2492" LastEditDate="2018-04-26T08:24:52.557" LastActivityDate="2018-05-07T19:27:58.383" Title="Sitecore, personal data and General Data Protection Regulation (GDPR)" Tags="|xdb|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="13" PostTypeId="2" ParentId="1" CreationDate="2016-09-14T08:33:06.213" Score="23" Body="&lt;p&gt;Another option is to use the Sitecore search bulk update actions.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Start a search at the root of your content tree (e.g. &lt;code&gt;/sitecore/content/home&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Click on the little magnifying glass&lt;/li&gt;&#xA;&lt;li&gt;Enter a search query to select all the content items you'd like to update (e.g Template: &lt;code&gt;{your-template-guid-here}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Click the little drop-down arrow then &lt;code&gt;Search operations&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Then click &lt;code&gt;Apply presentation&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;This opens the presentation dialog which will allow you to configure the required presentation which will be applied to all results in the search.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;However, I'd personally use Sitecore Powershell if it is installed as it is a fantastic module.&lt;/p&gt;&#xA;" OwnerUserId="125" LastEditorUserId="5387" LastEditDate="2019-12-23T15:56:28.660" LastActivityDate="2019-12-23T15:56:28.660" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14" PostTypeId="1" AcceptedAnswerId="15" CreationDate="2016-09-14T09:26:30.897" Score="7" ViewCount="159" Body="&lt;p&gt;[Question transposed from Slack]&#xA;We are trying to create a site with a virtualFolder of &lt;code&gt;/chr&lt;/code&gt;.  When we navigate to home page in the site, the system redirects us back to the site root. We have checked aliases, mod_rewrite/helicon ape/urlRewrite, and ignoreUrlPrefixes and all that stuff to no avail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have noticed the following works with no issue:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/ch-r&lt;/li&gt;&#xA;&lt;li&gt;/chr1&lt;/li&gt;&#xA;&lt;li&gt;/chs&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any idea what is going on here?&lt;/p&gt;&#xA;" OwnerUserId="131" LastEditorUserId="2727" LastEditDate="2018-03-15T09:59:12.930" LastActivityDate="2018-03-15T09:59:12.930" Title="Why does my marketing URL redirect me to the site root?" Tags="|multilingual|urls|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="15" PostTypeId="2" ParentId="14" CreationDate="2016-09-14T09:26:30.897" Score="14" Body="&lt;p&gt;&lt;em&gt;Props to @rosscartwright, @cassidydotdk, and @jammykam for getting us to the answer at lightning speed and for the helpful links.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue was a feature of Sitecore called &lt;code&gt;AlwaysStripLanguage&lt;/code&gt; that is controlled by a Sitecore Setting in the &lt;code&gt;Language&lt;/code&gt; group that controls the activation of a processor in the &lt;code&gt;&amp;lt;preprocessRequest /&amp;gt;&lt;/code&gt; pipeline called &lt;code&gt;Sitecore.Pipelines.PreprocessRequest.StripLanguage&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Turns out that this component will not only remove URL prefixes it recognises as a language registered on the site (in /sitecore/system/Languages), but it will respond to any code that maps to a culture known to Windows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a list of the known culture codes check this &lt;a href=&quot;https://www.loc.gov/standards/iso639-2/php/code_list.php&quot;&gt;ISO 639-2 Language Code List&lt;/a&gt; - you will notice that in our case the issue was the Cherokee language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also an article on &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/prevent-the-sitecore-asp-net-cms-from-interpreting-url-path-prefixes-as-language-names&quot;&gt;Sitecore Community - Prevent the Sitecore ASP.NET CMS from Interpreting URL Path Prefixes as Language Names&lt;/a&gt; that is a port of an old article by @JohnWest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case we have replaced the default processor with a new one that only removes a language if it is configured in the list of languages for the site.  Note that as it states in John's article, these processors run &lt;strong&gt;before&lt;/strong&gt; there is a site context as the Site Resolver is in the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline that runs later.  Mileage will vary - build yourself a solution that suits your use case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will upload our solution to the &lt;a href=&quot;https://marketplace.sitecore.net&quot;&gt;Sitecore Marketplace&lt;/a&gt; in due course so if you're looking for it, have a poke around in there.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-09-14T09:26:30.897" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="16" PostTypeId="1" CreationDate="2016-09-14T09:57:45.387" Score="9" ViewCount="560" Body="&lt;p&gt;I'm attempting to set up a shortcut in the Sitecore (8.1) start menu to an application (basically a custom &lt;code&gt;.aspx&lt;/code&gt; page sitting within the &lt;code&gt;/sitecore&lt;/code&gt; folder).  I've roughly followed &lt;a href=&quot;https://sdn.sitecore.net/SDN5/Articles/Customizing%20Sitecore%20Client/Adding%20an%20Application%20Shortcut.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;these instructions&lt;/a&gt; (and have paid attention to &lt;a href=&quot;https://sitecoreblog.marklowe.ch/2014/06/sitecore-start-menu-shortcuts-not-showing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this gotchya&lt;/a&gt;), but in detail I have done the following (all in the &lt;strong&gt;core&lt;/strong&gt; database):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Created a new Layout with the &lt;code&gt;Path&lt;/code&gt; set to the relative URL of my .aspx page&lt;/li&gt;&#xA;&lt;li&gt;Created a new Application and assigned the new Layout in the Presentation Details&lt;/li&gt;&#xA;&lt;li&gt;Created a new Application Shortcut (within &lt;code&gt;/sitecore/content/Documents and settings/All users/Start menu/Programs&lt;/code&gt;) linking to the Application item (making sure the raw value of the &lt;code&gt;Application&lt;/code&gt; link includes the &lt;code&gt;url&lt;/code&gt; attribute)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Sure enough, the shortcut appears in the start menu, but clicking it does nothing.  I've checked the network trace and the following is returned:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;commands&quot;:&#xA; [&#xA;  {&quot;command&quot;:&quot;SetAttribute&quot;,&quot;value&quot;:&quot;/temp/iconcache/people/16x16/astrologer.png&quot;,&quot;id&quot;:&quot;globalHeaderUserPortrait&quot;,&quot;name&quot;:&quot;src&quot;},&#xA;  {&quot;command&quot;:&quot;SetPipeline&quot;,&quot;value&quot;:&quot;6CD9455F4EA6498F978F96D5A1CDD5E6&quot;},&#xA;  {&quot;command&quot;:&quot;Eval&quot;,&quot;value&quot;:&quot;scForm.browser.closePopups(\&quot;Shell RunShortcut\&quot;)&quot;}&#xA; ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any suggestions about what I might be doing wrong here?&lt;/p&gt;&#xA;" OwnerUserId="129" LastEditorUserId="2727" LastEditDate="2018-03-14T11:06:50.453" LastActivityDate="2018-03-14T11:06:50.453" Title="Difficulties setting up Application shortcuts in Sitecore 8.1" Tags="|sitecore-client|application|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="17" PostTypeId="1" AcceptedAnswerId="22" CreationDate="2016-09-14T10:00:44.450" Score="8" ViewCount="1254" Body="&lt;p&gt;Is there any special procedure to clear up large log files in Sitecore databases?&#xA;Our integration server has a huge (25GB) log file which I would like to dispose of, but not sure of the procedure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On an aside, is a very large log file symptomatic of any particular problems?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="73" LastEditDate="2016-09-14T13:33:49.070" LastActivityDate="2018-07-04T14:46:41.720" Title="How can I remove / delete Sitecore database log (*.ldf) files" Tags="|sql-database|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="18" PostTypeId="2" ParentId="11" CreationDate="2016-09-14T10:05:21.067" Score="6" Body="&lt;p&gt;It's possible to utilise Global Rules in order to set the placeholders, the Global Rules however are essentially &quot;Condition and Action&quot; items which would allow you to then use a &quot;where CONDITION X is met, set the Placeholder to Y&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is more details on the specifics on this blog post: &lt;a href=&quot;https://trayek.wordpress.com/2013/09/19/changing-placeholders-with-rules/&quot; rel=&quot;noreferrer&quot;&gt;Changing placeholders with Rules&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The downside of this is that the Global Rules will run for &lt;em&gt;all&lt;/em&gt; Sublayouts, so the Rules need to be more fairly generic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also possible to define some &quot;Condition and Action&quot; rules under &lt;code&gt;/sitecore/system/Marketing Control Panel/Personalization&lt;/code&gt; and then apply them to specific Sublayouts by enabling the rule under the &lt;code&gt;Personalization&lt;/code&gt; section of the &lt;code&gt;Control Properties&lt;/code&gt; dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I have specifically stated Sublayouts. When MVC was introduced in Sitecore the Global Rules where not run and the Personalization section does not apply to the any of the MVC rendering types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So without a change to the interface there is no-out-of-the-box solution to currently apply that action.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-09-14T10:05:21.067" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="19" PostTypeId="2" ParentId="11" CreationDate="2016-09-14T10:05:34.790" Score="11" Body="&lt;p&gt;When you set a conditional rendering, the data for the condition and action is stored inside the Layout. Here is an example of a rendering with an &quot;Alternative Datasource&quot; rule that is applied if the current date is Wednesday:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;r xmlns:p=&quot;p&quot; xmlns:s=&quot;s&quot; p:p=&quot;1&quot;&amp;gt;&#xA;    &amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;&amp;gt;&#xA;        &amp;lt;r uid=&quot;{B343725A-3A93-446E-A9C8-3A2CBD3DB489}&quot;&amp;gt;&#xA;            &amp;lt;rls&amp;gt;&#xA;                &amp;lt;ruleset&amp;gt;&#xA;                    &amp;lt;rule uid=&quot;{EB08864D-C3BA-4130-A22B-ECF765D368E5}&quot; s:name=&quot;Alternative Datasource&quot;&amp;gt;&#xA;                        &amp;lt;actions&amp;gt;&#xA;                            &amp;lt;action uid=&quot;D3AF4C7A8CF14BC59601B2E88CE2ECFC&quot; s:id=&quot;{0F3C6BEC-E56B-4875-93D7-2846A75881D2}&quot; s:DataSource=&quot;{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}&quot; /&amp;gt;&#xA;                        &amp;lt;/actions&amp;gt;&#xA;                        &amp;lt;conditions&amp;gt;&#xA;                            &amp;lt;condition uid=&quot;86296CD54FE94F96B27C153C3318B5C7&quot; s:id=&quot;{1F15625B-8BDC-4FD2-8F0C-6EE2B8EF0389}&quot; s:day=&quot;{8A19F2AA-ABB9-4496-A64E-56CDBE1C2D4C}&quot; /&amp;gt;&#xA;                        &amp;lt;/conditions&amp;gt;&#xA;                    &amp;lt;/rule&amp;gt;&#xA;                    &amp;lt;rule uid=&quot;{00000000-0000-0000-0000-000000000000}&quot; s:name=&quot;Default&quot;&amp;gt;&#xA;                        &amp;lt;conditions&amp;gt;&#xA;                            &amp;lt;condition uid=&quot;CE7C9CE0A8534636BCD0DCC373A8B661&quot; s:id=&quot;{4888ABBB-F17D-4485-B14B-842413F88732}&quot; /&amp;gt;&#xA;                        &amp;lt;/conditions&amp;gt;&#xA;                        &amp;lt;actions /&amp;gt;&#xA;                    &amp;lt;/rule&amp;gt;&#xA;                &amp;lt;/ruleset&amp;gt;&#xA;            &amp;lt;/rls&amp;gt;&#xA;        &amp;lt;/r&amp;gt;&#xA;    &amp;lt;/d&amp;gt;&#xA;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your intuition is right that this is connected to the &quot;Set Data Source&quot; action behind the scenes. The reference can be spotted here:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;action uid=&quot;D3AF4C7A8CF14BC59601B2E88CE2ECFC&quot; s:id=&quot;{0F3C6BEC-E56B-4875-93D7-2846A75881D2}&quot; s:DataSource=&quot;{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;s:id&lt;/code&gt; represents the ID of the Action Item (&quot;Set Data Source&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;s:DataSource&lt;/code&gt; represents the value of the parameter &lt;code&gt;DataSource&lt;/code&gt; to be passed to the action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both of these parameters can be changed. For example to change the action so that it instead uses the &quot;Set Placeholder&quot; action and on execution sets the Placeholder value to &quot;sidebar&quot;, you would use this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;action uid=&quot;D3AF4C7A8CF14BC59601B2E88CE2ECFC&quot; s:id=&quot;{9F2C4C80-8472-4296-9D41-D42A383B90DD}&quot; s:Placeholder=&quot;sidebar&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If this is saved and run on the published site, it absolutely works. However, there are two large drawbacks it seems, one of which you've spotted:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No UI support. The rule will still show in the UI and conditions on it can be edited without affecting the altered action, but there is otherwise no indication there is a special rule in place.&lt;/li&gt;&#xA;&lt;li&gt;Previewing the rules in Editing mode do not appear to work. If you use the drop-down to view the alternate rule, it won't have any visible effect. This may just apply to the &quot;Set Placeholder&quot; action, however.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If UI support is not a problem for a solution then this could be useable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note that the tests for the above were performed in Sitecore 8.2 Initial Release.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="70" LastEditDate="2016-10-06T14:41:40.737" LastActivityDate="2016-10-06T14:41:40.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="20" PostTypeId="2" ParentId="17" CreationDate="2016-09-14T10:07:36.463" Score="6" Body="&lt;p&gt;It depends how you've set up your database. You can set the recovery model to simple to get rid of most of the log file content. Go to the database with SQL Management Studio, right click on the database and select properties. In the popup, select the Options tab and change the recovery model accordingly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can do this with a SQL command as well:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;ALTER DATABASE YOURDB SET RECOVERY SIMPLE;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you don't want to fiddle with the recovery model, then you'll need to take a backup to flush the database transaction log.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Afterwards, you may need to shrink the database.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;DBCC SHRINKDATABASE (YOURDB, 10);&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="114" LastEditorUserId="237" LastEditDate="2016-10-05T08:25:24.703" LastActivityDate="2016-10-05T08:25:24.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="21" PostTypeId="1" AcceptedAnswerId="24" CreationDate="2016-09-14T10:33:25.783" Score="14" ViewCount="1078" Body="&lt;p&gt;On a multilingual site, how can I make a treelist field to only show items of selected language in the editor -so editors can't select items that do not have versions or shouldn't exist on their site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are needing this for a &quot;taxonomy&quot; field but &lt;em&gt;some (could be lots)&lt;/em&gt; of them will only apply to specific language versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to modify existing treelist so it can achieve this? Or if the answer is to create a new one, what should I override? Can't figure out what to modify.&lt;/p&gt;&#xA;" OwnerUserId="88" LastEditorUserId="66" LastEditDate="2016-09-14T13:05:14.367" LastActivityDate="2016-10-10T22:18:20.187" Title="How to filter items by language in Treelist field" Tags="|tree-list|multilingual|content-editor|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="22" PostTypeId="2" ParentId="17" CreationDate="2016-09-14T10:49:51.703" Score="22" Body="&lt;p&gt;A very large log file is symptomatic of the problem of no backups taking place. Under normal circumstances SQL log files get truncated on backup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is quite normal that a CI environment gets quite many updates, and if your SQL is running in &quot;Full&quot; mode, this will grow your transaction log. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would propose setting it to &quot;simple&quot;. It will be slightly quicker and you'd not have unlimited growth.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Full Recovery Model without log backups is bad.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;So, that's the most common reason for uncontrolled log growth? Answer:&#xA;  Being in Full Recovery mode without having any log backups.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;This happens all the time to people.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Why is this such a common mistake?&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Why does it happen all the time? Because each new database gets its&#xA;  initial recovery model setting by looking at the model database.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Model's initial recovery model setting is always Full Recovery Model -&#xA;  until and unless someone changes that. So you could say the &quot;default&#xA;  Recovery Model&quot; is Full. Many people are not aware of this and have&#xA;  their databases running in Full Recovery Model with no log backups,&#xA;  and therefore a transaction log file much larger than necessary. This&#xA;  is why it is important to change defaults when they don't work for&#xA;  your organization and its needs)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://dba.stackexchange.com/questions/29829/why-does-the-transaction-log-keep-growing-or-run-out-of-space&quot;&gt;https://dba.stackexchange.com/questions/29829/why-does-the-transaction-log-keep-growing-or-run-out-of-space&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-04-13T12:43:06.753" LastActivityDate="2016-09-14T10:49:51.703" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="23" PostTypeId="2" ParentId="16" CreationDate="2016-09-14T11:03:47.183" Score="4" Body="&lt;p&gt;The link to the instructions page is unreachable to me. So I'm just going to explain how I've done it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the core db:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a new layout under &lt;code&gt;/sitecore/layout/Layouts/Custom Applications/&lt;/code&gt; and set the path to the aspx page, starting from the website root (e.g. &lt;code&gt;/path/to/page.aspx&lt;/code&gt; (note the forward slash at the start))&lt;/li&gt;&#xA;&lt;li&gt;Create an item under &lt;code&gt;/sitecore/content/Applications/&lt;/code&gt; with the &lt;code&gt;/sitecore/templates/Sitecore Client/Applications/Application&lt;/code&gt; template. Fill in a Display name, choose an &lt;code&gt;Icon&lt;/code&gt; and optionally a &lt;code&gt;Tool tip&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Open the presentation details of the new item and choose the earlier created layout as &lt;code&gt;Layout&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Under &lt;code&gt;/sitecore/content/Documents and settings/All users/Start menu/Programs&lt;/code&gt;, create a new item based on the &lt;code&gt;/sitecore/templates/Sitecore Client/Applications/Application shortcut&lt;/code&gt; template.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set the &lt;code&gt;Application&lt;/code&gt; link and a &lt;code&gt;Display name&lt;/code&gt;. The raw value for Application looks like this in my case:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link text='' linktype='internal' style='' alt=''  querystring='' id='{3585E982-D30B-43EB-93A9-F5F9450FB450}' url=&quot;/Applications/Sales&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Make sure you have built the codebehind for your aspx page and that the binary is in the &lt;code&gt;bin&lt;/code&gt; folder.&lt;/p&gt;&#xA;" OwnerUserId="114" LastEditorUserId="286" LastEditDate="2016-09-20T14:03:08.593" LastActivityDate="2016-09-20T14:03:08.593" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="24" PostTypeId="2" ParentId="21" CreationDate="2016-09-14T13:56:14.343" Score="12" Body="&lt;p&gt;There's already answer to similar problem on Stack Overflow: &lt;a href=&quot;https://stackoverflow.com/questions/21452260/sitecore-tree-list-datasource-versionexist&quot;&gt;https://stackoverflow.com/questions/21452260/sitecore-tree-list-datasource-versionexist&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In a nutshell, what you need to do:&lt;/p&gt;&#xA;&lt;p&gt;Create DataView which will be responsible for filtering non-existing items&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;LanguageFilteringMasterDataView : MasterDataView&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Override method GetChildItems where you can filter out non-existing items&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected override void GetChildItems(ItemCollection items, Item item)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Register data view in configuration under dataviews node&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;dataviews&amp;gt;&#xA;    &amp;lt;dataview name=&amp;quot;LanguageFilteredMaster&amp;quot; assembly=&amp;quot;sc70&amp;quot; type=&amp;quot;sc70.Controls.LanguageFilteringMasterDataView&amp;quot; Parameters=&amp;quot;&amp;quot;/&amp;gt;&#xA;&amp;lt;/dataviews&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;and finally create custom TreeList control which will inherit from TreeList and connect your data view there&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class LanguageFilteringTreelist : TreeList&#xA;{&#xA;    private const string DataViewName = &amp;quot;LanguageFilteredMaster&amp;quot;;&#xA;&#xA;    protected override void OnLoad(EventArgs args)&#xA;    {&#xA;        base.OnLoad(args);&#xA;        var dataContext = this.FindDataContext();&#xA;        if (dataContext != null)&#xA;        {&#xA;            dataContext.DataViewName = DataViewName;&#xA;        }&#xA;    }&#xA;&#xA;    protected virtual DataContext FindDataContext()&#xA;    {&#xA;        if (this.Controls.Count &amp;lt;= 0)&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        var child = this.Controls[0];&#xA;        return child.Controls.OfType&amp;lt;DataContext&amp;gt;().FirstOrDefault();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;UPDATES&lt;/strong&gt; from @josedbaez&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The solution works on 8.1. The only difference from the original answer (so others know) is the javascript code. You do not need to make that change anymore as Sitecore now appends selected language to html like: &lt;code&gt;&amp;lt;input id=&amp;quot;FIELD9318757_all_Language&amp;quot; type=&amp;quot;hidden&amp;quot; value=&amp;quot;en-CA&amp;quot;&amp;gt; &amp;lt;input id=&amp;quot;FIELD9318757_all_Language&amp;quot; type=&amp;quot;hidden&amp;quot; value=&amp;quot;en-CA&amp;quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Do not forget to register your new field type as &lt;code&gt;MultilistField&lt;/code&gt; to the &lt;code&gt;&amp;lt;fieldtypes&amp;gt;&lt;/code&gt; configuration (Found in &amp;quot;App_Config/FieldTypes.config&amp;quot; by default) so that the items referenced by the field are added to Link Database.&lt;/p&gt;&#xA;&lt;p&gt;e.g. &lt;code&gt;&amp;lt;fieldType name=&amp;quot;LanguageFilteringTreelist&amp;quot; type=&amp;quot;Sitecore.Data.Fields.MultilistField,Sitecore.Kernel&amp;quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="66" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-05T08:24:31.860" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="25" PostTypeId="2" ParentId="1" CreationDate="2016-09-14T15:05:36.700" Score="7" Body="&lt;p&gt;Something like this should do it&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Write-Host &quot;$([System.DateTime]::Now)&quot;; &#xA;&#xA;$searchResults = Find-Item `&#xA;                    -Index sitecore_master_index `&#xA;                    -Criteria   @{Filter = &quot;StartsWith&quot;; Field = &quot;_fullpath&quot;; Value = &quot;/sitecore/content/&quot;} | Initialize-Item&#xA;&#xA;$rendering = Get-Item master:\layout\renderings\sample\foo | New-Rendering&#xA;$device = Get-LayoutDevice -Default&#xA;&#xA;$totalItems = $searchResults | measure &#xA;$totalItemsCount = $totalItems.Count &#xA;$currentProgress = 1; &#xA;$searchResults | Foreach-Object { &#xA;&#xA;    $itemToProcess = $_.name &#xA;    Write-Progress -Id 1 -Activity &quot;Setting presentation details&quot; -PercentComplete ($currentProgress/$totalItemsCount * 100) -Status &quot;$currentProgress / $totalItemsCount - $itemToProcess&quot;;&#xA;&#xA;    # check that current item version has a layout specified for a specific device&#xA;    $hasLayout = $_ | Get-Layout -Device $device -ErrorAction SilentlyContinue&#xA;    if(!$hasLayout){ return }&#xA;&#xA;    # check that current item version has renderings specified for a specific device&#xA;    $hasRenderings = $_ | Get-Rendering -Device $device -ErrorAction SilentlyContinue&#xA;    if(!$hasRenderings){ return }&#xA;&#xA;    # Add the specified rendering to the specified placeholder&#xA;    Add-Rendering -Item $_ -Device $device -Rendering $rendering -Placeholder layoutHeader&#xA;&#xA;    $currentProgress++ &#xA;} &#xA;&#xA;Write-Host &quot;Done processing&quot; $totalItemsCount &quot;items&quot; &#xA;Write-Host &quot;$([System.DateTime]::Now)&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="148" LastEditorUserId="148" LastEditDate="2016-10-12T12:26:51.813" LastActivityDate="2016-10-12T12:26:51.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="26" PostTypeId="2" ParentId="9" CreationDate="2016-09-15T05:51:19.137" Score="3" Body="&lt;p&gt;Your compiler is right. &lt;code&gt;Html.RenderAction()&lt;/code&gt; writes its output to the response stream and returns void. &lt;code&gt;Html.Action()&lt;/code&gt; returns a &lt;code&gt;string&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use &lt;code&gt;@{ Html.RenderAction(); }&lt;/code&gt; or &lt;code&gt;@Html.Action()&lt;/code&gt; if you want to execute the actions directly. &lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="10" LastEditDate="2016-11-02T22:45:14.210" LastActivityDate="2016-11-02T22:45:14.210" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="27" PostTypeId="1" CreationDate="2016-09-15T10:03:56.690" Score="13" ViewCount="1522" Body="&lt;p&gt;I have the requirement to create two lists: the second one being dynamically populated with Sitecore data after the user selects a value from the first one. &#xA;I tried using some Rules for WFFM but can't seem to match any with what I want to have as results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to have something like countries in the first list. After selecting a value, the second list will dynamically populate the regions depending on the country selected - if the country has regions, else a N/A single element will be added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way and approach for doing this dependent drop lists functionality for a WFFM form (Sitecore 8.1 - webforms)?&lt;/p&gt;&#xA;" OwnerUserId="141" LastEditorUserId="237" LastEditDate="2017-07-19T08:01:34.877" LastActivityDate="2017-07-19T08:01:34.877" Title="WFFM: dynamically populated dependent drop lists" Tags="|wffm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="28" PostTypeId="1" AcceptedAnswerId="30" CreationDate="2016-09-15T10:49:37.467" Score="8" ViewCount="1694" Body="&lt;p&gt;How to create Sitecore Context Item to copy Item Path using Sitecore PowerShell Extensions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like in below screen we have for Layout Copy Renderings and Quick download package. Sometimes it requires to copy item path and paste in the item's field such as Image field types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AED6l.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AED6l.png&quot; alt=&quot;Sitecore Item Context Menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be really quick for editors if they can copy Item Path or Item ID with right-click instead of opening the item and going back &amp;amp; forth many times.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="73" LastEditDate="2016-09-16T07:48:04.540" LastActivityDate="2016-10-05T08:23:14.137" Title="How to create Sitecore Context Item to copy Item Path using SPE?" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="29" PostTypeId="2" ParentId="28" CreationDate="2016-09-15T11:22:04.530" Score="0" Body="&lt;p&gt;Based on &lt;a href=&quot;http://blog.najmanowicz.com/2011/11/22/context-powershell-scripts-for-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Adam Najmanowicz blog post&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Create a menu item for your script&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Create a context menu item of template &lt;code&gt;/sitecore/templates/System/Menus/Menu item&lt;/code&gt; within the &lt;code&gt;/sitecore/content/Applications/Content Editor/Context Menues/Default/PowerShell/&lt;/code&gt; branch in the core database. If you have more than just a few scripts, a more elaborate structure might need to be created to group your scripts by functionality/purpose.&lt;/p&gt;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Bind it to your script to the menu item&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Within the menu item you’ve just created edit the Message field and bind the script to it using the following pattern:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;item:executescript(id=$Target,script={1680E211-BD28-49BE-82FB-DA7232814C62}, scriptDb=core)&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;where the script guid is the ID of your script and the scriptDb is the database the script is located in.&lt;/p&gt;&#xA;&lt;p&gt;Since this is a simple Sitecore command – similarly you can use the PowerShell functionality to expose your script on any ribbon or other kinds of menus!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="66" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-09-15T11:48:18.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="30" PostTypeId="2" ParentId="28" CreationDate="2016-09-15T12:18:38.377" Score="13" Body="&lt;p&gt;I wouldn't use Sitecore Powershell Extensions for this. SPE doesn't have anything for interacting with the clipboard and also doesn't execute custom JS from scripts (yet!).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, there already exists a command within Sitecore for copying the path to the clipboard, so all you need to do is assign it to a new button in the context menu.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;John West has blogged about this here - &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-add-a-command-to-the-sitecore-item-context-menu&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-add-a-command-to-the-sitecore-item-context-menu&lt;/a&gt; - but to summarise:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a new item of template &lt;code&gt;System/Menus/Menu item&lt;/code&gt; under the item &lt;code&gt;/Sitecore/Content/Applications/Content Editor/Context Menues/Default&lt;/code&gt; in the &lt;code&gt;Core&lt;/code&gt; database.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;This item should have the message field set to &lt;code&gt;clipboard:copypathtoclipboard(id=$Target)&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The command should then be executable from the context menu.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This message actually invokes a command, which is specified in &lt;code&gt;Commands.config&lt;/code&gt; as &lt;code&gt;Sitecore.Shell.Framework.Commands.Clipboard.CopyPathToClipboard,Sitecore.Kernel&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;However&lt;/strong&gt;, this command provided by Sitecore operates &lt;strong&gt;in Internet Explorer&lt;/strong&gt; only. It specifically checks the browser and hides the menu option if it fails:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;if (context.Items.Length != 1 || !UIUtil.IsIE())&#xA;       return CommandState.Hidden;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is because traditionally only IE had support for interfacing with the OS clipboard. Other browsers had to make use of Flash solutions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, there looks to be more modern solutions for handling clipboard usage in other browsers, if that is important to you. For instance there is this library - &lt;a href=&quot;https://github.com/zenorocha/clipboard.js&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/zenorocha/clipboard.js&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If supporting other browsers is important, you will need to implement your own custom command. I would look at the source for the &lt;code&gt;CopyPathToClipboard&lt;/code&gt; type and implement something similar that executes your custom JS when executed.&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="237" LastEditDate="2016-10-05T08:23:14.137" LastActivityDate="2016-10-05T08:23:14.137" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="31" PostTypeId="1" AcceptedAnswerId="33" CreationDate="2016-09-15T19:43:42.493" Score="16" ViewCount="709" Body="&lt;p&gt;We have an action that updates some user profile information that is displayed in components that are cached with a vary by user setting. Is there a way to clear the cache for only that one user?&lt;/p&gt;&#xA;" OwnerUserId="194" LastEditorUserId="3136" LastEditDate="2018-03-06T10:23:55.773" LastActivityDate="2018-03-06T10:23:55.773" Title="How do I clear the HTML cache for a specific user?" Tags="|presentation|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="32" PostTypeId="2" ParentId="31" CreationDate="2016-09-15T20:05:58.100" Score="4" Body="&lt;p&gt;This depends on how often does the data change and what triggers the change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One possible option would be to use additionally &lt;code&gt;vary by query string&lt;/code&gt; option which will cache the output for the user and specific value of query string. This way every time the user changes their query (thus changing query string) the ouput will be rendered from scratch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand if the data changes often it might be worth considerig turning off the cache at all(for this particular rendering).&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-09-15T20:05:58.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="33" PostTypeId="2" ParentId="31" CreationDate="2016-09-15T21:52:11.173" Score="29" Body="&lt;p&gt;You can do this by making sure that your renderings are set to &lt;code&gt;Vary by User&lt;/code&gt;. This adds the user to the cacheKey string like this &lt;code&gt;&quot;_#user:&quot; + Context.GetUserName();&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then use the following code to clear the html cache for that user:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;// Need to clear the cache for the header and the user profile....&#xA;var htmlCache = CacheManager.GetHtmlCache(Context.Site);&#xA;&#xA;// Remove all cache keys that contain the currently logged in user.&#xA;var cacheKeyPart = $&quot;_#login:True_#user:{Context.GetUserName()}&quot;;&#xA;htmlCache.RemoveKeysContaining(cacheKeyPart);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more detailed information have a look at this post: &lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/04/26/Advanced-Cache-Clearing/&quot;&gt;http://www.sitecorenutsbolts.net/2016/04/26/Advanced-Cache-Clearing/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="237" LastEditDate="2016-10-05T08:40:36.577" LastActivityDate="2016-10-05T08:40:36.577" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="34" PostTypeId="1" AcceptedAnswerId="35" CreationDate="2016-09-16T08:17:09.543" Score="6" ViewCount="1208" Body="&lt;p&gt;I am using the Dynamic Placeholders from Fortis, but need to setup a page template where the Dynamic Placeholders contains renderings. I am setting the page template up, by setting layout detail on the standard values of the page template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been unable to succeed in this, since the dynamic placeholder is postfixed by a GUID which is generated. Is there a way to predict this GUID? According to the documentation, the GUID is generated using the following logic:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Dynamic Placeholders simply use the rendering ID to create a unique&#xA;  placeholder name. If more than one dynamic placeholder with the same&#xA;  name is in a rendering it will also append on an incrementing number&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I tried another approach, by using a home brewed dynamic placeholder library, which just prepended the dynamic placeholder with a sequential number, e.g. row1, row2, row3. But this approach makes the content editors unable to move rows in the experience editor, since the content inside the row is tied to a fixed number, which changes when the rows are moved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Disclaimer: This is posted at &lt;a href=&quot;https://stackoverflow.com/q/39486028/468718&quot;&gt;stackoverflow&lt;/a&gt; as well.&lt;/p&gt;&#xA;" OwnerUserId="205" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-05T08:21:31.077" Title="Predicting the placeholder for a dynamic placeholder" Tags="|dynamic-placeholder|fortis|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="35" PostTypeId="2" ParentId="34" CreationDate="2016-09-16T09:00:37.267" Score="10" Body="&lt;p&gt;You can try to open the standard values item with the Experience Editor and add the renderings you like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that doesn't work out, create an item based on the template, add the renderings and manually copy the values over to the standard values item.&lt;/p&gt;&#xA;" OwnerUserId="114" LastActivityDate="2016-09-16T09:00:37.267" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="36" PostTypeId="1" CreationDate="2016-09-16T09:33:40.970" Score="9" ViewCount="545" Body="&lt;p&gt;I've been tasked with an interesting challenge. The client wants a user to be sent an email informing them when they have been assigned to a specific role by an Admin. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What will be the best way to go about this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to do this via Workflows? Or will other methods be required?&lt;/p&gt;&#xA;" OwnerUserId="207" LastEditorUserId="2727" LastEditDate="2018-06-07T13:20:05.147" LastActivityDate="2018-06-07T13:20:05.147" Title="How to send email, when users roles change - User Manager customization" Tags="|user-management|role-management|membership-provider|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="37" PostTypeId="2" ParentId="36" CreationDate="2016-09-16T10:06:20.927" Score="12" Body="&lt;p&gt;One option is to hook into Sitecore's &lt;code&gt;user:updated&lt;/code&gt; event (and optionally &lt;code&gt;user:updated:remote&lt;/code&gt;). This event is raised when a user has been updated, the remote event handler is raised when a user was updated on a remote Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: As pointed out in the comments by @SzymonKuzniak, you can also hook into the &lt;code&gt;roles:usersAdded[:remote]&lt;/code&gt; event to specifically handle added roles. Likewise, there is also the &lt;code&gt;roles:rolesRemoved[:remote]&lt;/code&gt; event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new configuration file and put it in App_Config\Include:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;user:updated&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Custom.UserUpdatedEventHandler, Custom&quot; method=&quot;OnUserUpdated&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;user:updated:remote&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Custom.UserUpdatedEventHandler, Custom&quot; method=&quot;OnUserUpdatedRemote&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create a class &lt;code&gt;UserUpdatedEventHandler&lt;/code&gt; in the &lt;code&gt;Custom&lt;/code&gt; namespace:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class UserUpdatedEventHandler&#xA;{&#xA;    public void OnUserUpdated(object o, EventArgs args)&#xA;    {&#xA;        var sitecoreArgs = (SitecoreEventArgs)args;&#xA;        var membershipUser = (MembershipUser)sitecoreArgs.Parameters[0];&#xA;&#xA;        // Check user and roles&#xA;&#xA;        // Send e-mail&#xA;    }&#xA;&#xA;    public void OnUserUpdatedRemote(object o, EventArgs args)&#xA;    {&#xA;        var sitecoreArgs = (SitecoreEventArgs)args;&#xA;        var userRemoteEventArgs = (UserUpdatedRemoteEventArgs)sitecoreArgs.Parameters[0];&#xA;        var userName = userRemoteEventArgs.UserName;&#xA;&#xA;        // Check user and roles&#xA;&#xA;        // Send e-mail&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="114" LastEditorUserId="237" LastEditDate="2016-10-05T08:20:10.930" LastActivityDate="2016-10-05T08:20:10.930" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="38" PostTypeId="1" AcceptedAnswerId="41" CreationDate="2016-09-16T13:25:28.477" Score="-8" ViewCount="1081" Body="&lt;p&gt;According to Sitecore's official documentation in order to set a workflow for items created from a template one have to set &lt;code&gt;Default Workflow&lt;/code&gt; in the template's standard values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Well I did just that and... nothing is happening. More specifically all the newly created items are created without workflow fields being set. Any ideas why?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just set the &lt;code&gt;Default Workflow&lt;/code&gt; field on the template's __StandardValues; all other workflow related fields are left empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What else is needed for the Workflow to be attached to new items? Why is the workflow not being initiated?&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="131" LastEditDate="2016-12-30T09:44:17.703" LastActivityDate="2016-12-30T09:44:17.703" Title="Workflow not being applied" Tags="|workflow|" AnswerCount="3" CommentCount="3" ClosedDate="2016-09-19T19:11:05.470" ContentLicense="CC BY-SA 3.0" />
  <row Id="40" PostTypeId="2" ParentId="38" CreationDate="2016-09-16T15:12:24.793" Score="2" Body="&lt;p&gt;Check that the RequireLockBeforeEditing setting is set to true in your config.  This is required to force items down workflow.&lt;/p&gt;&#xA;" OwnerUserId="32" LastActivityDate="2016-09-16T15:12:24.793" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="41" PostTypeId="2" ParentId="38" CreationDate="2016-09-16T15:25:43.753" Score="5" Body="&lt;p&gt;Are you logged in as an Admin? Admins are not subject to workflow enforcement.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-09-16T15:25:43.753" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="42" PostTypeId="1" AcceptedAnswerId="43" CreationDate="2016-09-16T18:17:52.007" Score="13" ViewCount="4203" Body="&lt;p&gt;I am currently making code changes to a view rendering in Sitecore, and when a deploy these changes to my local environment, they were not visible. I realized that the rendering was marked as Cacheable, so I was seeing a previously cached version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WFKVq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WFKVq.png&quot; alt=&quot;Rendering Caching Settings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Besides unchecking Cacheable on the renderings I'm currently working on, what would be the best way to disable HTML caching for development?&lt;/p&gt;&#xA;" OwnerUserId="164" LastEditorUserId="731" LastEditDate="2018-12-07T19:47:42.787" LastActivityDate="2019-12-23T16:00:46.930" Title="Disable HTML cache for development" Tags="|caching|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="43" PostTypeId="2" ParentId="42" CreationDate="2016-09-16T18:25:54.807" Score="16" Body="&lt;p&gt;I typically disable caching for my local environment by setting the HTML cache lifetime to 1 second using the following config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.HtmlLifetime&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;00:00:01&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To make this specific to your local environment, you can patch it in using a &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/dd465318(v=vs.100).aspx&quot; rel=&quot;noreferrer&quot;&gt;configuration transforms&lt;/a&gt; or using a tool like &lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5&quot; rel=&quot;noreferrer&quot;&gt;Slow Cheetah&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="100" LastEditorUserId="237" LastEditDate="2016-10-05T08:40:17.733" LastActivityDate="2016-10-05T08:40:17.733" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="44" PostTypeId="2" ParentId="42" CreationDate="2016-09-16T18:26:28.217" Score="4" Body="&lt;p&gt;Looking for &lt;code&gt;Caching.Enable&lt;/code&gt; in your &lt;code&gt;web.config&lt;/code&gt;. You can change it to false via a patch, transform, etc.&lt;/p&gt;&#xA;" OwnerUserId="210" LastEditorUserId="5387" LastEditDate="2019-12-23T16:00:46.930" LastActivityDate="2019-12-23T16:00:46.930" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="45" PostTypeId="2" ParentId="42" CreationDate="2016-09-16T18:27:39.913" Score="18" Body="&lt;p&gt;You can turn cache off at the site level in the site definition in configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Simply make sure &quot;cacheHtml&quot; is set to &quot;false&quot;.&lt;/p&gt;&#xA;" OwnerUserId="98" LastEditorUserId="237" LastEditDate="2016-10-05T08:39:51.327" LastActivityDate="2016-10-05T08:39:51.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="46" PostTypeId="2" ParentId="42" CreationDate="2016-09-16T18:28:46.923" Score="10" Body="&lt;p&gt;I typically do what you're doing and set all the renderings I want cached to be cacheable. However, for my local development, I will set &lt;code&gt;cacheHtml&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; on the site definition.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;     &amp;lt;sites&amp;gt;&#xA;        &amp;lt;site name=&quot;mySite&quot; patch:before=&quot;site[@name='website']&quot;&#xA;          ...&#xA;          cacheHtml=&quot;false&quot;            &#xA;         /&amp;gt;&#xA;      ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="168" LastEditorUserId="237" LastEditDate="2016-10-05T08:40:09.313" LastActivityDate="2016-10-05T08:40:09.313" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="47" PostTypeId="2" ParentId="34" CreationDate="2016-09-16T22:31:45.900" Score="3" Body="&lt;p&gt;This is an alternative to the method mentioned by Thomas D.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Fortis solution uses the UID for the rendering attached to the placeholder key that you enter. You can get this by changing to &lt;code&gt;Raw Values&lt;/code&gt; view and copying the xml out of the renderings or final renderings field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find the rendering that contains your placeholder. There will be an xml element like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;r id=&quot;{CA76EB6F-2934-4B8A-BB6A-508A8E44A7C5}&quot; &#xA;   ph=&quot;body&quot; &#xA;   uid=&quot;{0FD41EBD-43CF-4647-8A0F-F1F1D2E00CCD}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There may be other fields too. The 2 that are important are &lt;code&gt;id&lt;/code&gt;, which is the item id of your rendering item and &lt;code&gt;uid&lt;/code&gt;, this is the unique rendering id that is added to your placeholder key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key is built like this: &lt;code&gt;string.Format(&quot;{0}_{1}&quot;, placeholderName, renderingId);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you have a placeholder key called &lt;code&gt;title&lt;/code&gt;, the key for the above xml snippet would be: &lt;code&gt;title_{0FD41EBD-43CF-4647-8A0F-F1F1D2E00CCD}&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="237" LastEditDate="2016-10-05T08:21:31.077" LastActivityDate="2016-10-05T08:21:31.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="48" PostTypeId="1" CreationDate="2016-09-19T01:27:50.043" Score="17" ViewCount="301" Body="&lt;p&gt;What approach should I use to enable a customer to deploy content (just items) from their CM environment to a CD environment, where the CD environment would not allow any SQL ports through the firewall? Something like zipping up a package or serialization files, uploading that over HTTP, unpacking and installing it, and then clearing caches? It would be even better if this could be a single SQL transaction. Has anyone ever done anything like this? Maybe I'm missing something obvious. Could TDS, Sitecore Ship, Unicorn, SSC, or anything else assist here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because the customer might want to use the publishing service (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service.aspx&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service.aspx&lt;/a&gt;) after they get to 8.2, any solution probably not depend on publishing pipelines. I'm not familiar enough with any of these technologies to make a recommendation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Feel free to tell me to RSomeFM or blog posts or something. I would be happy to do some development; mostly looking for architectural and toolset suggestions.&lt;/p&gt;&#xA;" OwnerUserId="133" LastEditorUserId="2727" LastEditDate="2018-06-07T13:18:23.547" LastActivityDate="2018-06-07T13:18:23.547" Title="Publishing without SQL" Tags="|publishing|sql-database|packages|" AnswerCount="5" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="49" PostTypeId="2" ParentId="48" CreationDate="2016-09-19T10:10:32.147" Score="12" Body="&lt;p&gt;Ok. Well. Would definitely be possible to set something up with Unicorn for this - albeit it a highly unusual configuration. Steps I would take would look something like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set up Unicorn on the CM box to serialize all of the &lt;strong&gt;web&lt;/strong&gt; content you want to regularly push across to CD&lt;/li&gt;&#xA;&lt;li&gt;This will ensure, the file system always has a copy of everything that is being published on CM&lt;/li&gt;&#xA;&lt;li&gt;I would then use the same config on CD&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Then, come time to publish:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Script a &quot;publish&quot;. Since I'm no good with SPE, I would probably use gulp. Steps would or could be something like:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Zip up the Unicorn folder&lt;/li&gt;&#xA;&lt;li&gt;FTP upload it (or any other means of transfer) to CD server&lt;/li&gt;&#xA;&lt;li&gt;Delete CD servers Unicorn/** folder&lt;/li&gt;&#xA;&lt;li&gt;Unzip uploaded file to CD servers Unicorn folder&lt;/li&gt;&#xA;&lt;li&gt;Run Unicorn sync via its remote script capability&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Rough outline at least. There could be any number of unforeseen consequences of this setup I'm not seeing right now; I've never attempted to set anything up like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also; having all of these tools available on CD (Unicorn, Remote Scripting) might actually be a bigger security risk than a 1 way port SQL opening - but that's just my opinion of course.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-19T10:10:32.147" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="50" PostTypeId="1" AcceptedAnswerId="58" CreationDate="2016-09-19T12:26:22.887" Score="12" ViewCount="2065" Body="&lt;p&gt;Is it possible to disable an option, Move Component, in the Experience Editor, for a specific rendering?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked at the rendering and rendering options, but neither gave the possibility. I have also looked into user rights, but to no avail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have attached a picture of the button:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5zgyD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5zgyD.png&quot; alt=&quot;Move Component button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="205" LastActivityDate="2019-12-23T16:01:34.650" Title="Disabling 'Move Component' in Experience Editor for a specific rendering" Tags="|experience-editor|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="51" PostTypeId="2" ParentId="50" CreationDate="2016-09-19T13:22:12.703" Score="2" Body="&lt;p&gt;&lt;strong&gt;One simple option could be:&lt;/strong&gt; If you only allow that rendering for a specific placeholder when you click on move, you won't see any &lt;code&gt;Move to here&lt;/code&gt;. Not as nice, but the same effect.&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="5387" LastEditDate="2019-12-23T16:01:34.650" LastActivityDate="2019-12-23T16:01:34.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="52" PostTypeId="1" AcceptedAnswerId="78" CreationDate="2016-09-19T14:59:31.670" Score="6" ViewCount="218" Body="&lt;p&gt;I managed to have my dependent droplists (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/27/wffm-dependent-drop-lists&quot;&gt;WFFM dependent drop lists&lt;/a&gt;) populated via a custom WFFM RuleAction by using a lot of JavaScript but now since I add dynamically the values in my second droplist when I submit the WFFM form I get the error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Invalid postback or callback argument.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As I read on stack some questions and answers I came to the conclusion that I need to register all my dynamic values I add to this list by using &lt;code&gt;ClientScript.RegisterForEventValidation(unique id, value)&lt;/code&gt; but it seems this has to be made in a &lt;code&gt;Render()&lt;/code&gt; method of the control. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I searched a method to overwrite or to make a call to some method in my custom RuleAction but haven't found anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone knows how can I make the call to &lt;code&gt;RegisterForEventValidation&lt;/code&gt; method in a &lt;code&gt;RuleAction&lt;/code&gt; class or at least disable the droplist validation so I could press the submit button and don't get the validation error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a way I could get my values registered but I get an error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Demo code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class ChangingDropListPopulatesDropList&amp;lt;T&amp;gt; : RuleAction&amp;lt;T&amp;gt; where T : ConditionalRuleContext&#xA;{&#xA;    public override void Apply([NotNull] T ruleContext)&#xA;    {&#xA;        Assert.ArgumentNotNull(ruleContext, nameof(ruleContext));&#xA;&#xA;        if (((ruleContext.Control == null) || !ruleContext.Control.Visible) &amp;amp;&amp;amp; (ruleContext.Model == null))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (ruleContext.Control != null)&#xA;        {&#xA;            ...&#xA;            ruleContext.Control.SetRenderMethodDelegate(this.RenderCustom);&#xA;        }&#xA;    }&#xA;&#xA;    protected void RenderCustom(System.Web.UI.HtmlTextWriter writer, System.Web.UI.Control Container)&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error I get is:  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Controls collection cannot be modified because the control&#xA;  contains code blocks (i.e. &amp;lt;% ... %&gt;). &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HmnJA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HmnJA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="141" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-07T10:08:55.110" Title="ClientScript.RegisterForEventValidation in a custom RuleAction class" Tags="|wffm|rules-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="53" PostTypeId="2" ParentId="48" CreationDate="2016-09-19T15:34:35.337" Score="5" Body="&lt;p&gt;You might take a look at the new &lt;a href=&quot;http://xcentium.com/digital-solutions/sitecore/vault&quot; rel=&quot;noreferrer&quot;&gt;Vault product from XCentium&lt;/a&gt;. They do some really interesting things with moving content between environments using Git. Not sure whether your network restrictions would be prohibitive but might be an option.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-09-19T15:34:35.337" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="54" PostTypeId="1" AcceptedAnswerId="67" CreationDate="2016-09-19T15:50:18.913" Score="16" ViewCount="939" Body="&lt;p&gt;What are the best practices for publishing configuration on Sitecore these days, especially given the performance improvements on 8.2 when using the new publishing service?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Scheduled incremental publishes?&lt;/li&gt;&#xA;&lt;li&gt;Workflow based publishes?&lt;/li&gt;&#xA;&lt;li&gt;Allow manual user publishes?&lt;/li&gt;&#xA;&lt;li&gt;Something else?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is a multi-site scenario that will have ongoing site builds even after initial launch. So content will be updated frequently. I would like to minimize HTML cache clears and as much as possible make it easy for authors to ensure they publish all needed items.&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2016-09-19T15:59:27.813" LastActivityDate="2016-10-05T08:39:31.587" Title="How should I configure publishing on Sitecore 8.2+?" Tags="|publishing|publishing-service|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="55" PostTypeId="1" AcceptedAnswerId="68" CreationDate="2016-09-19T16:05:56.523" Score="14" ViewCount="1145" Body="&lt;p&gt;I understand the basic concepts of pattern cards and profile keys. But how does Sitecore determine that a user matches a particular pattern card? How many pages tagged with that card does a user need to browse before matching it? And what if the user browses pages tagged with other pattern cards?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2019-08-27T13:11:30.280" Title="How does Sitecore &quot;match&quot; a pattern card for personalization?" Tags="|personalization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="56" PostTypeId="2" ParentId="55" CreationDate="2016-09-19T16:09:33.663" Score="1" Body="&lt;p&gt;It depends on the points that are designed using the cards to a certain page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A profile is being build up for every page that you visit. So it doesn't depend on the number of page. But the profile that you've built up, depending on a certain algortihm ,it is possible, that if you've been browsing around in a certain section of a site, you'll get marked as &quot;developer&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While later browsing around on another section, you'll get marked as &quot;marketeer&quot;. Sitecore determines &quot;the best match&quot; after each page load.&lt;/p&gt;&#xA;" OwnerUserId="71" LastEditorUserId="3022" LastEditDate="2019-08-27T13:11:30.280" LastActivityDate="2019-08-27T13:11:30.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="57" PostTypeId="2" ParentId="50" CreationDate="2016-09-19T16:23:06.460" Score="3" Body="&lt;p&gt;To disable editing of the specific rendering, you can Uncheck the &lt;code&gt;Editable&lt;/code&gt; field on the rendering item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When &lt;code&gt;Editable&lt;/code&gt; is unchecked floating toolbar will not show up for that rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this option will keep allowing authors to edit the content in the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8Oo59.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8Oo59.png&quot; alt=&quot;Sitecore Sample Rendering&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2016-09-19T16:23:06.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="58" PostTypeId="2" ParentId="50" CreationDate="2016-09-19T17:19:08.037" Score="6" Body="&lt;p&gt;&lt;strong&gt;&lt;em&gt;Pipeline Method:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Option 1:&lt;/em&gt;&#xA;Deep in the bowels of Experience Editor, you will find that eventually, the Move Component button is enabled/disabled based on the Allowed Renderings set on the placeholder. You could add a processor to the &lt;strong&gt;getPlaceholderRenderings&lt;/strong&gt; to weed out the rendering you are looking for so that it acts like a static rendering. But keep in mind, that will cause Experience Editor to act like you can't put more of that control in the placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Option 2:&lt;/em&gt; Another Pipeline called &lt;strong&gt;getChromeData&lt;/strong&gt; is what Experience Editor uses to control almost the entirety of the look and feel of itself. This controls the features for placeholders, fields, edit frames, and sublayouts/renderings.  &lt;strong&gt;Mucking with a processor in this option might be the best from an upgrade-ability point of view&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;God-Mode Method:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more control over the use of the options in Experience Editor, like the Move Component, another option is to create your own click method and either change the default rendering button, or create your own button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can achieve this by looking in the Core Database and finding this item:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/euCZw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/euCZw.png&quot; alt=&quot;Move Component Button in Core DB&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The particular &lt;code&gt;chrome:rendering:sort&lt;/code&gt; command is actually handled in the RenderingChromeType.js file in the &quot;Page Modes&quot; application within the /sitecore/shell directory.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; handleMessage: function(message, params, sender) {&#xA;switch (message) {&#xA;  case &quot;chrome:rendering:sort&quot;:&#xA;    this.sort();&#xA;    break;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can augment this Javascript file to do what you want.  &lt;strong&gt;&lt;em&gt;However&lt;/em&gt;&lt;/strong&gt;, beware that editing this javascript file could lead to upgrade stress in the future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option that could be available to you is to create your own custom command, and patch it in. For example, if you set the click to be &lt;code&gt;chrome:common:edititem({command:&quot;webedit:validatesortablerendering&quot;})&lt;/code&gt; where &lt;code&gt;webedit:validatesortablerendering&lt;/code&gt; is a custom command that you patch in, you can test the rendering type first (basically it would be the template type of the datasource item).  If this is not a rendering that can be sorted, then abort further action.  If it is, then call the Sitecore Javascript trigger to act on the event &lt;code&gt;chrome:rendering:sort&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;In Summary:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a few ways to shave this yak. I think &lt;strong&gt;Pipeline Method Option 2&lt;/strong&gt; might be the best option, but it really depends on what your overall objective is and how destructive you want to be to Sitecore. &lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-19T17:19:08.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="59" PostTypeId="1" AcceptedAnswerId="63" CreationDate="2016-09-19T17:20:21.370" Score="7" ViewCount="270" Body="&lt;p&gt;I am looking at an existing setup of Sitecore that is using Courier as part of a continuous-integration process. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The process is currently:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Commits to a particular branch kicks off a Team City build&lt;/li&gt;&#xA;&lt;li&gt;The build contains a TDS project of serialized items&lt;/li&gt;&#xA;&lt;li&gt;Courier is executed to generate an .update package that compares the current state of serialized items to a copy of &lt;em&gt;last&lt;/em&gt; state of serialized items&lt;/li&gt;&#xA;&lt;li&gt;The .update packaged is NuGet packed along with the Website build for Octopus Deploy&lt;/li&gt;&#xA;&lt;li&gt;Finally, the current serialized items are copied to be compared against during the next build&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The advantage of this is that the .update packages generated are very lean. However, they completely depend on the previous Octopus Deploy deployment having succeeded as they are &lt;em&gt;assuming the current state of items in Sitecore&lt;/em&gt;. If a build fails, or is even skipped, then successive builds won't be correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a typical use of Courier, even with this problem?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A more robust method could be to just package and deploy all serialized items and then use Courier as part of the &lt;em&gt;deployment&lt;/em&gt; process (rather than build) to generate an .update package at deployment, perhaps against a previous collection of serialized items that was known to be installed without error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a means of doing this efficiently that compares to the live database without having to rely on a previous set of serialized items?&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-09-19T18:13:26.783" Title="How should Courier be used as part of a CI build?" Tags="|continuous-integration|tds|deployment|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="60" PostTypeId="1" AcceptedAnswerId="61" CreationDate="2016-09-19T17:40:18.660" Score="3" ViewCount="305" Body="&lt;p&gt;In Sitecore 8.1 List Manager (and confirmed in Sitecore 8.2), the List Manager CSV Import Wizard Dialog appears as though to throw an error, even though &lt;strong&gt;no&lt;/strong&gt; error message box appears. The only way to notice that an error is occurring is that the upload dialog box is outlined in red and that the Next Button is not accessible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bK8Pw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bK8Pw.png&quot; alt=&quot;List Upload Erroring&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do you fix this error?&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-09-20T18:40:54.337" LastActivityDate="2016-09-20T18:40:54.337" Title="List Manager errors on any CSV Upload" Tags="|list-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="61" PostTypeId="2" ParentId="60" CreationDate="2016-09-19T17:40:18.660" Score="4" Body="&lt;p&gt;In the Media Library there is a “List Manager” folder present in the Vanilla installation of Sitecore 8.1 Update-3.  You can plainly see it here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zFqKv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zFqKv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this folder goes missing, or is not present, the CSV Upload Wizard will error out like described in the question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This situation occurred after an upgrade was completed in a stage environment, but then a package containing client media library items was &quot;overwritten&quot; removing this and some other &lt;strong&gt;System&lt;/strong&gt; items.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-19T17:40:18.660" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="62" PostTypeId="2" ParentId="38" CreationDate="2016-09-19T17:56:54.430" Score="2" Body="&lt;p&gt;The purpose of why Default Workflow exists is so that you can set the __Standard Values of a template to a workflow, without putting the __Standard Values in workflow itself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Items &lt;strong&gt;&lt;em&gt;created by non-admin users&lt;/em&gt;&lt;/strong&gt; based on a template where Standard Values Default Workflow item is set to an active workflow, will create the item, setting the Workflow field equal to the default workflow value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key here is that this doesn't happen if the user creating the item is an admin.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-19T17:56:54.430" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="63" PostTypeId="2" ParentId="59" CreationDate="2016-09-19T18:13:26.783" Score="5" Body="&lt;p&gt;An options could be not to use courier, but to use TDS delta builds, considering the fact that you already use TDS, by going back to a certain date in time. This will also keep the packages small.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could, by the way, use TDS package deployer to automatically install these packages as well.(&lt;a href=&quot;https://github.com/HedgehogDevelopment/SitecorePackageDeployer&quot; rel=&quot;nofollow&quot;&gt;https://github.com/HedgehogDevelopment/SitecorePackageDeployer&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-09-19T18:13:26.783" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="64" PostTypeId="1" CreationDate="2016-09-19T18:28:55.480" Score="15" ViewCount="541" Body="&lt;p&gt;I have cleared the security cache on Coveo several times, verified the certs, the encryption key and the Coveo license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also verified the password hash and physically gotten on the master and the mirrors of Coveo to reach the CM server in the config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But yet we see a lot of traffic going to the core db to authenticate the Coveo user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else had these issues before?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 update 3&#xA;Coveo July 2016 release (8388) &lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="247" LastEditDate="2016-10-07T17:31:12.417" LastActivityDate="2020-04-01T11:11:04.780" Title="Coveo user in a new Sitecore 8.1 update 3 instance gets locked consistently" Tags="|coveo|" AnswerCount="3" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="65" PostTypeId="2" ParentId="9" CreationDate="2016-09-19T18:51:54.457" Score="11" Body="&lt;p&gt;Although &lt;code&gt;.ViewRendering&lt;/code&gt; and &lt;code&gt;.Controller&lt;/code&gt; will work, there are performance issues with both of those methods.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both methods will &lt;em&gt;bypass&lt;/em&gt; Sitecore's output caching mechanism completely, so every page on your site that calls this will execute all the controllers. This &lt;em&gt;may&lt;/em&gt; be the desired result, but most of the time we will want some kind of output caching on the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the code below, allows you to call a view or controller rendering &lt;em&gt;and&lt;/em&gt; enable the Sitecore cache:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;{guid-to-rendering-item}&quot;, new { Cacheble=true, Cache_VaryByData=true })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the explicit caching here and the vary by also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The area's will be picked up in this case by the value set in the rendering item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this post for extra detail: &lt;a href=&quot;https://cardinalcore.co.uk/2015/05/15/did-you-really-mean-controller-in-sitecore-mvc/&quot; rel=&quot;noreferrer&quot;&gt;https://cardinalcore.co.uk/2015/05/15/did-you-really-mean-controller-in-sitecore-mvc/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="10" LastEditDate="2016-11-02T22:44:50.363" LastActivityDate="2016-11-02T22:44:50.363" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="66" PostTypeId="1" AcceptedAnswerId="77" CreationDate="2016-09-19T18:52:36.337" Score="6" ViewCount="471" Body="&lt;p&gt;In Sitecore 8.1 (and 8.2) List Manager, we want to customize the data that we upload through CSV into custom Contact facets.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sW4wh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sW4wh.png&quot; alt=&quot;CSV Upload with Custom Fields&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;This question is not asking how to add facets, and assumes that I have already correctly added facets to my contact model.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;In order to do so, we have to add a &lt;strong&gt;&lt;code&gt;ImportModelField&lt;/code&gt;&lt;/strong&gt; item under the &lt;code&gt;ImportModel&lt;/code&gt; on the &lt;code&gt;ImportWizardDialog&lt;/code&gt; box.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eH2OT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eH2OT.png&quot; alt=&quot;ImportModelField&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;/em&gt; I have not been able to figure out how/why the &lt;code&gt;AutoMap&lt;/code&gt; or &lt;code&gt;AutoMapSource&lt;/code&gt; check boxes exists. Does anyone know how to use this appropriately?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Findings Thus Far:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;When &lt;strong&gt;&lt;code&gt;AutoMap&lt;/code&gt;&lt;/strong&gt; is checked, the field is hidden from the Map modal above. However, the data stored in the facet (noted by &lt;strong&gt;&lt;code&gt;DataField&lt;/code&gt;&lt;/strong&gt;) ends up being an email address, no matter how I attempt to map it.&lt;/li&gt;&#xA;&lt;li&gt;When &lt;strong&gt;&lt;code&gt;AutoMapSource&lt;/code&gt;&lt;/strong&gt; is checked, it doesn't appear as though anything really &lt;em&gt;auto maps&lt;/em&gt; since I have to map the field anyways through the Map dialog.&lt;/li&gt;&#xA;&lt;li&gt;When both are checked, I just get an email address where I would've expected data from the CSV.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;ASSUMPTIONS&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;I have validated that the CSV file uploads as expected into the associated facets when I manually map the File field to the Sitecore Field.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I assume and would expect that if my &amp;quot;FieldName&amp;quot; and CSV Header are identical, it should map. (It appears this is a false assumption)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-09-20T19:33:27.110" Title="List Manager CSV Upload Import Field AutoMap settings not working" Tags="|list-manager|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="67" PostTypeId="2" ParentId="54" CreationDate="2016-09-19T18:59:51.320" Score="11" Body="&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;If your content authors are strictly following WorkFlow, use scheduled Incremental publishes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If workflow is not strictly used, use user manual publishes (Smart Publish), and try to cover related item publishes to reduce number of cache clears.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For multisite, if you publish item of site-A. It will clear html cache for all sites. It should clear cache for site-A only.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For this, you must customize the &lt;strong&gt;publish:end:remote&lt;/strong&gt; event. For that, find the root item got published (on CD server), identify which site the item related is, and clear HTML cache for that site only. This case is nicely explained in &lt;a href=&quot;http://rads.stackoverflow.com/amzn/click/1784396524&quot; rel=&quot;noreferrer&quot;&gt;&quot;Sitecore Cookbook for Developers&quot;&lt;/a&gt;. Still, here is the code for that (Add this processor to the event and replace existing one):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected void ClearCache(object Sender, EventArgs args) {&#xA;  PublishEndRemoteEventArgs pubArgs = (PublishEndRemoteEventArgs) args;&#xA;  string rootID = pubArgs.RootItemId.ToString();&#xA;  Database db = Database.GetDatabase(pubArgs.TargetDatabaseName);&#xA;  Item rootItem = db.GetItem(rootID);&#xA;  if (rootItem != null)&#xA;    ClearHtmlCache(rootItem);&#xA; }&#xA;&#xA; private static void ClearHtmlCache(Item rootItem) {&#xA;  List&amp;lt;SiteInfo&amp;gt; sites = Factory.GetSiteInfoList();&#xA;  var selectedSites = sites&#xA;    .Where(s =&amp;gt; rootItem.Paths.Path.ToLower().StartsWith(&#xA;     s.RootPath.ToLower()) &amp;amp;&amp;amp; s.Database.ToLower() == &quot;web&quot;);&#xA;  foreach(SiteInfo site in selectedSites) {&#xA;    ClearSiteHtmlCache(site);&#xA;  }&#xA; }&#xA;&#xA;&#xA; private static void ClearSiteHtmlCache(SiteInfo site) {&#xA;  string cacheName = site.Name + &quot;[html]&quot;;&#xA;  Cache cache = CacheManager.FindCacheByName(cacheName);&#xA;  if (cache != null)&#xA;   cache.Clear();&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="255" LastEditorUserId="237" LastEditDate="2016-10-05T08:39:31.587" LastActivityDate="2016-10-05T08:39:31.587" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="68" PostTypeId="2" ParentId="55" CreationDate="2016-09-19T19:08:13.607" Score="22" Body="&lt;p&gt;The matching can happen immediately. Here's how it works: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a very basic case, you might have 2 values that are being considered: &lt;strong&gt;color&lt;/strong&gt; and &lt;strong&gt;shape&lt;/strong&gt;. A visitor can prefer &lt;strong&gt;red&lt;/strong&gt; over &lt;strong&gt;green&lt;/strong&gt;, and &lt;strong&gt;circles&lt;/strong&gt; over &lt;strong&gt;triangles&lt;/strong&gt;. There are 4 combinations: red circles, red triangles, green circles and green triangles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A visitor starts with no preference:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |          red |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |   mostly red |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |      neutral |        |               |    C    |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   | mostly green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |        green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;                  | circle | mostly circle | neutral | mostly triangle | triangle |&#xA;                  +--------+---------------+---------+-----------------+----------+&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The more pages the visitor views that are labeled as &lt;strong&gt;red&lt;/strong&gt;, the more the visitor's &lt;strong&gt;color&lt;/strong&gt; score goes in that direction. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |          red |        |               |    C    |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |   mostly red |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |      neutral |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   | mostly green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |        green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;                  | circle | mostly circle | neutral | mostly triangle | triangle |&#xA;                  +--------+---------------+---------+-----------------+----------+&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the visitor views &lt;strong&gt;green&lt;/strong&gt; pages, that starts to affect the visitor's &lt;strong&gt;color&lt;/strong&gt; score:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |          red |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |   mostly red |        |               |    C    |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |      neutral |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   | mostly green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |        green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;                  | circle | mostly circle | neutral | mostly triangle | triangle |&#xA;                  +--------+---------------+---------+-----------------+----------+&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice in the above diagrams that the visitor is only &lt;em&gt;moving up and down&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same sort of thing happens when the visitor views pages that suggest a preference for &lt;strong&gt;circles&lt;/strong&gt; or &lt;strong&gt;triangles&lt;/strong&gt;. The visitor starts with no preference:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |          red |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |   mostly red |        |               |    C    |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |      neutral |        |               |    S    |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   | mostly green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |        green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;                  | circle | mostly circle | neutral | mostly triangle | triangle |&#xA;                  +--------+---------------+---------+-----------------+----------+&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The more pages the visitor views that are labeled as &lt;strong&gt;triangle&lt;/strong&gt;, the more the visitor's &lt;strong&gt;shape&lt;/strong&gt; score goes in that direction. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |          red |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |   mostly red |        |               |    C    |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |      neutral |        |               |         |                 |     S    |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   | mostly green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |        green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;                  | circle | mostly circle | neutral | mostly triangle | triangle |&#xA;                  +--------+---------------+---------+-----------------+----------+&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the visitor views &lt;strong&gt;circle&lt;/strong&gt; pages, that starts to affect the visitor's score:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |          red |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |   mostly red |        |               |    C    |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |      neutral |        |               |         |        S        |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   | mostly green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |        green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;                  | circle | mostly circle | neutral | mostly triangle | triangle |&#xA;                  +--------+---------------+---------+-----------------+----------+&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now imagine you have two pattern cards: &lt;strong&gt;P1&lt;/strong&gt; strongly prefers &lt;strong&gt;red&lt;/strong&gt;, and slightly prefers &lt;strong&gt;circles&lt;/strong&gt;. &lt;strong&gt;P2&lt;/strong&gt; has no shape preference and a slight preference for &lt;strong&gt;green&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |          red |        |      P1       |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |   mostly red |        |               |    C    |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |      neutral |        |               |         |        S        |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   | mostly green |        |               |    P2   |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;   |        green |        |               |         |                 |          |&#xA;   +--------------+--------+---------------+---------+-----------------+----------+&#xA;                  | circle | mostly circle | neutral | mostly triangle | triangle |&#xA;                  +--------+---------------+---------+-----------------+----------+&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore needs to determine whether the visitor's &lt;em&gt;combined&lt;/em&gt; &lt;strong&gt;color&lt;/strong&gt; and &lt;strong&gt;shape&lt;/strong&gt; score is a better match for &lt;strong&gt;P1&lt;/strong&gt; or &lt;strong&gt;P2&lt;/strong&gt;. Sitecore does this by using math. It calculates the &lt;em&gt;physical distance&lt;/em&gt; between the &lt;strong&gt;color&lt;/strong&gt; score and the &lt;strong&gt;shape&lt;/strong&gt; score from &lt;strong&gt;P1&lt;/strong&gt; and from &lt;strong&gt;P2&lt;/strong&gt;. Whichever distance is shorter, that is the match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this simple example you can see that &lt;strong&gt;P1&lt;/strong&gt; is 2 steps from the visitor's &lt;strong&gt;color&lt;/strong&gt; score (1 step up and 1 step left), and is 4 steps from the &lt;strong&gt;shape&lt;/strong&gt; score (2 steps up and 2 steps left).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;P2&lt;/strong&gt; is also 2 steps from the visitor's &lt;strong&gt;color&lt;/strong&gt; score (2 steps down), but only 2 steps from the &lt;strong&gt;shape&lt;/strong&gt; score (1 step left and 1 step down).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It takes 6 steps to get from the visitor's profile scores to &lt;strong&gt;P1&lt;/strong&gt; and 4 steps to get to &lt;strong&gt;P2&lt;/strong&gt;. So &lt;strong&gt;P2&lt;/strong&gt; is the better match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's easy enough to calculate the distance when you are dealing with 2 dimensions (color and shape). But imagine having 5 or 6 or more. This is where linear algebra comes in. Sitecore handles the math, but the basic idea is the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For those of you mathematically inclined, by default, Sitecore calculates the squared euclidean distance to determine the best match. This is implemented in a &lt;code&gt;Sitecore.Analytics.Patterns.IPatternDistance&lt;/code&gt;. If you have a different approach you want to use, you can create a custom implementation of this interface.&lt;/p&gt;&#xA;" OwnerUserId="256" LastEditorUserId="256" LastEditDate="2016-09-23T16:48:47.390" LastActivityDate="2016-09-23T16:48:47.390" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="69" PostTypeId="1" AcceptedAnswerId="73" CreationDate="2016-09-19T20:18:29.753" Score="4" ViewCount="11083" Body="&lt;p&gt;How I can use sitecore query fields to filter and not bring results if a specific field is empty?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;location:{41c52cce-69cc-444d-b505-044addf0d9e1};-custom:title|''&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have also tried double quotes but I get the same result&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2016-09-19T21:07:38.967" LastActivityDate="2016-10-05T08:19:10.017" Title="Filtering results when field is empty with query builder fields" Tags="|querybuilder|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="70" PostTypeId="1" AcceptedAnswerId="72" CreationDate="2016-09-19T20:22:30.113" Score="12" ViewCount="1228" Body="&lt;p&gt;Going by the examples out of the box in Coveo, I always see this bit to construct the query:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;Coveo.$(function() {&#xA;    Coveo.$('#search')&#xA;        .on(Coveo.QueryEvents.buildingQuery,&#xA;            function(e, args) {&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to add essentially my own faceting system to this, but not using OOTB facets necessarily, mostly due to design. I have &quot;tabs&quot; that are dropdowns essentially, with checkboxes, and after the user selects whatever series of boxes they'll go with, they click an &quot;apply&quot; button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the button is clicked, I know using Coveo.$(&quot;search&quot;).coveo(&quot;executeQeury&quot;) will kick off a new query, but I'm confused as to how to access the query builder for either refining my starting point, or just generating a new query based on the &quot;facets&quot; involved. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I feel like I'm missing something obvious, but any help would be appreciated. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="237" LastEditDate="2016-10-05T08:39:43.907" LastActivityDate="2017-10-02T13:59:06.553" Title="Refining/executing query with Coveo" Tags="|coveo|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="71" PostTypeId="2" ParentId="69" CreationDate="2016-09-19T20:25:46.113" Score="3" Body="&lt;p&gt;If using solr it would be -custom:* but I am actually not sure if that works in Lucene&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2016-09-19T20:25:46.113" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="72" PostTypeId="2" ParentId="70" CreationDate="2016-09-19T20:44:55.033" Score="10" Body="&lt;p&gt;If you want to get the building query and attach filters to the search you can do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;Coveo.$('#search').on(&quot;buildingQuery&quot;, function(e, args) {&#xA;    args.queryBuilder.advancedExpression.add('@Model.ToCoveoFieldName(&quot;templatename&quot;) == &quot;MyTemplate&quot;');&#xA;}).coveoForSitecore('init', CoveoForSitecore.componentsOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in this case you can change the advanced expression with what you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to monitor the state of your custom facet and perform custom actions based on the state change you can do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;$('.CoveoFacetDropdown').on('state:change', function() {&#xA;    //execute new query&#xA;    $('#search').coveo('executeQuery');&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastEditorUserId="237" LastEditDate="2016-10-05T08:40:21.753" LastActivityDate="2016-10-05T08:40:21.753" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="73" PostTypeId="2" ParentId="69" CreationDate="2016-09-19T21:42:20.170" Score="7" Body="&lt;p&gt;Typically empty + null values are not stored in the Lucene index, it's really designed for queries that are finding data rather than the absence of it. If you searched for &lt;code&gt;+fieldName:*&lt;/code&gt; then that should find documents which have an entry (and therefore value) for fieldName.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not entirely sure how the query-builder maps the query, it looks like judging by your example what you'd want is &lt;code&gt;+custom:fieldName|*&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this doesn't work, Sitecore does have a mechanism of allowing you to specify a string value that takes the place of empty / null when indexing, therefore giving you something to search for. To do this you will need to add the field to the index manually in your indexing configuration, specifying the string to use as the &quot;empty&quot; value:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;title&quot; storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; &#xA;nullValue=&quot;NULLVALUE&quot; emptyString=&quot;EMPTYVALUE&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should then be able to filter these documents out of a search using &lt;code&gt;-custom:title|NULLVALUE -custom:title|EMPTYVALUE&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A drawback with this approach is that you want these two strings to be values that your field value will never genuinely be!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information can be found here - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/search_and_item_buckets/queries_for_null_or_empty_strings&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/search_and_item_buckets/queries_for_null_or_empty_strings&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="237" LastEditDate="2016-10-05T08:19:10.017" LastActivityDate="2016-10-05T08:19:10.017" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="74" PostTypeId="2" ParentId="69" CreationDate="2016-09-19T21:42:34.643" Score="3" Body="&lt;p&gt;The Sitecore query field is basically building up a Solr/Lucene query to pass through to the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your example you have &lt;code&gt;location:{41c52cce-69cc-444d-b505-044addf0d9e1};&lt;/code&gt; which filters by the location and then you add your &lt;code&gt;custom&lt;/code&gt; field as a not, so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-custom:title|[* TO *]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;an alternative would be&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-custom:title|[&quot;&quot; TO *]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What you are doing here is telling the index that the field must exist, but &lt;em&gt;not&lt;/em&gt; where it contains any data.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-19T21:42:34.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="75" PostTypeId="1" CreationDate="2016-09-19T23:52:09.847" Score="12" ViewCount="1384" Body="&lt;p&gt;I'm looking for predictive search for content page in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something similar, what google search provide. Do we have anything like this?&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="605" LastEditDate="2018-03-14T09:03:47.677" LastActivityDate="2018-03-14T09:03:47.677" Title="Do we have predictive search capability within Sitecore?" Tags="|content-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="76" PostTypeId="2" ParentId="75" CreationDate="2016-09-20T02:00:11.490" Score="17" Body="&lt;p&gt;So this depends on what you mean by predictive search. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you mean a simple autocomplete, then yes. Sitecore provide an n-gram analyzer for both Lucene and Solr. To use this, add a new field to the index and map the field to use the &lt;code&gt;n-gram&lt;/code&gt; analyzer instead of the default. You will need a custom computed field and an update to the &lt;code&gt;schema.xml&lt;/code&gt; - see this post for more detail: &lt;a href=&quot;http://www.ehabelgindy.com/sitecore-7-solr-search-auto-complete-using-ngram/&quot;&gt;http://www.ehabelgindy.com/sitecore-7-solr-search-auto-complete-using-ngram/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you mean a full predictive and smart search &quot;like&quot; Google, then not out of the box with Sitecore. There are a few options to be able to do this tho. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Coveo&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The most straightforward would be to use &lt;strong&gt;&lt;a href=&quot;http://www.coveo.com/en/solutions/coveo-for-sitecore/features&quot;&gt;Coveo for Sitecore&lt;/a&gt;&lt;/strong&gt;. Coveo offers a few cool features that you can plug into Sitecore, predictive search/auto complete looks to be included in that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Custom Implementation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can roll your own implementation of this using either the Lucene or Solr indexes. I would suggest that you use Solr for this as it has some nice features in the API that you would have to implement yourself with Lucene. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Doing a custom implementation is pretty complex tho, you would need a custom index, custom crawler to make sure that the correct page content was included etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although I'd like to put the whole answer here, its would be a bit long, so here are some links to instructions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/&quot;&gt;http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can be more specific with the requirements, we can tailor the answer to your needs.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-20T02:00:11.490" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="77" PostTypeId="2" ParentId="66" CreationDate="2016-09-20T06:49:57.290" Score="3" Body="&lt;p&gt;The &lt;code&gt;AutoMap&lt;/code&gt; and &lt;code&gt;AutoMapSource&lt;/code&gt; fields are used to configure &lt;em&gt;automatic mapping&lt;/em&gt; of the contact identifiers:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/btg8X.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/btg8X.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When configured, one does not have to select a &lt;em&gt;File field&lt;/em&gt; manually in a dropdown. The &lt;em&gt;auto-mapped&lt;/em&gt; field is hidden on UI and the value for that field is taken from another field marked as &lt;code&gt;AutoMapSource&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, 'Email address' is used as a source for the contact Identifier field.&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2016-09-20T06:49:57.290" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="78" PostTypeId="2" ParentId="52" CreationDate="2016-09-20T08:54:44.313" Score="5" Body="&lt;p&gt;Not sure if it is possible to call &lt;code&gt;RegisterForEventValidation&lt;/code&gt; from inside RuleAction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can try different approach. Instead of adding your values from javascript add all possible values into dropdown on WFFM form designer and then hide some of them with javascript. Thanks to this you will not have to register any values for valudation.&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2016-09-20T08:54:44.313" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="79" PostTypeId="2" ParentId="70" CreationDate="2016-09-20T11:53:31.050" Score="10" Body="&lt;p&gt;You can modify the expression that gets passed in as a parameter to the event function. This happens at query time and the modified query gets passed to the Coveo REST API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'd wind up with something like this to filter items after a specific start date:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;Coveo.$(function() { Coveo.$('#search')&#xA;    .on(Coveo.QueryEvents.buildingQuery, function(e, args) {&#xA;        args.queryBuilder.expression.add(&quot;@sysdate&amp;gt;=&quot; + startDate)&#xA;    });&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="7" LastEditorUserId="237" LastEditDate="2016-10-05T08:40:40.327" LastActivityDate="2016-10-05T08:40:40.327" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="80" PostTypeId="2" ParentId="54" CreationDate="2016-09-20T17:31:37.113" Score="6" Body="&lt;p&gt;I agree with comment from Yogesh about publishing following the business use case. I usually consider workflow based publishing(autopublish on approval)/manual publishing (assuming you meant adhoc publish and not person initiating publish daily at 9pm :p) to be both adhoc as there is less control on the time of publish. As we are all well aware of the consequences of sitecore publish (html cache clear), you would want to go with some scheduled approach which would work in most cases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is better to decouple the publishing operation from the workflow process to avoid the cache clearing scenario. You can always provide the ability to do adhoc publishes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Latest Publishing Service:&lt;/strong&gt;&#xA;The latest publish service introduced, they do not hook into your normal Sitecore publish pipelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;The Publishing Service does not use any of the features, pipelines, and settings in the current publishing system&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It provides one bulk update to the &quot;publishEndResultBatch&quot; pipeline of the invoking process to be able to perform other tasks based on the result of the publish. So when thinking of using the new Publishing service, one has to revisit the pipeline processors added to original publishing system. There are limitations to the new publishing service currently, but sure they will be removed as it matures. Until then one has to choose one way or the other knowing the limitations.&lt;/p&gt;&#xA;" OwnerUserId="178" LastActivityDate="2016-09-20T17:31:37.113" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="81" PostTypeId="1" AcceptedAnswerId="82" CreationDate="2016-09-20T18:02:19.293" Score="11" ViewCount="8553" Body="&lt;p&gt;I want to configure my instance of Sitecore to respond with different sites at different urls.  How can I do this?&lt;/p&gt;&#xA;" OwnerUserId="163" LastEditorUserId="2727" LastEditDate="2018-06-07T13:14:01.237" LastActivityDate="2024-03-24T17:17:01.853" Title="How do I configure Sitecore to serve multiple sites?" Tags="|configuration|multisite|multitenancy|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="82" PostTypeId="2" ParentId="81" CreationDate="2016-09-20T18:02:19.293" Score="18" Body="&lt;p&gt;You can configure Sitecore to respond to requests with different home nodes based on the url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do so, you need to perform the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Configure DNS appropriately.&lt;/li&gt;&#xA;&lt;li&gt;Add a binding in IIS for each hostname.&lt;/li&gt;&#xA;&lt;li&gt;Copy or rename the config file &lt;code&gt;App_Config/Include/SiteDefinition.config.example&lt;/code&gt; to &lt;code&gt;App_Config/Include/SiteDefinition.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Modify the config file from step 3 with a new &lt;code&gt;&amp;lt;Site&amp;gt;&lt;/code&gt; node for each site.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!-- this entry will respond to http://site1.hostname.com/mysite with the /Sitecore/sites/mysite/home node --&amp;gt;&#xA;    &amp;lt;site name=&quot;SiteName&quot; patch:before=&quot;site[@name='website']&quot;&#xA;        hostName=&quot;Site1.hostname.com&quot;&#xA;            virtualFolder=&quot;/mysite&quot;&#xA;            physicalFolder=&quot;/&quot;&#xA;            rootPath=&quot;/sitecore/sites/mysite&quot;&#xA;            startItem=&quot;/home&quot;&#xA;            database=&quot;web&quot;&#xA;            domain=&quot;extranet&quot;&#xA;            allowDebug=&quot;true&quot;&#xA;            cacheHtml=&quot;true&quot;&#xA;            htmlCacheSize=&quot;50MB&quot;&#xA;            enablePreview=&quot;true&quot;&#xA;            enableWebEdit=&quot;true&quot;&#xA;            enableDebugger=&quot;true&quot;&#xA;            disableClientData=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more information see: &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Configuring%20Sites%20in%20web,-d-,config%20File.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Configuring%20Sites%20in%20web,-d-,config%20File.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="163" LastEditorUserId="237" LastEditDate="2016-10-05T08:40:03.167" LastActivityDate="2016-10-05T08:40:03.167" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="83" PostTypeId="2" ParentId="81" CreationDate="2016-09-20T18:32:53.033" Score="2" Body="&lt;p&gt;Configure the site node in IIS to add the new host name binding.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a patch file to patch in a site node to the &lt;code&gt;/sitecore/sites&lt;/code&gt; configuration section.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;site&quot; &#xA;            patch:after=&quot;site[@name='modules_website']&quot;&#xA;            targetHostName=&quot;site.hostname.com&quot;&#xA;            database=&quot;master&quot;&#xA;            virtualFolder=&quot;/&quot;&#xA;            physicalFolder=&quot;/&quot;&#xA;            rootPath=&quot;/sitecore/content/site&quot;&#xA;            startItem=&quot;/Home&quot;&#xA;            domain=&quot;extranet&quot;&#xA;            allowDebug=&quot;true&quot;&#xA;            cacheHtml=&quot;true&quot;&#xA;            htmlCacheSize=&quot;50MB&quot;&#xA;            registryCacheSize=&quot;0&quot;&#xA;            viewStateCacheSize=&quot;0&quot;&#xA;            xslCacheSize=&quot;25MB&quot;&#xA;            filteredItemsCacheSize=&quot;10MB&quot;&#xA;            enablePreview=&quot;true&quot;&#xA;            enableWebEdit=&quot;true&quot;&#xA;            enableDebugger=&quot;true&quot;&#xA;            disableClientData=&quot;false&quot;&#xA;            cacheRenderingParameters=&quot;true&quot;&#xA;            renderingParametersCacheSize=&quot;10MB&quot;&#xA;            enableItemLanguageFallback=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Change the values for &lt;em&gt;targetHostName&lt;/em&gt;, &lt;em&gt;rootPath&lt;/em&gt; and &lt;em&gt;startItem&lt;/em&gt; to match for the site you are configuring.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Place the patch config in &lt;code&gt;App_Config/Include/[folderNamePerStandards]&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="23" LastEditorUserId="28" LastEditDate="2016-10-05T08:19:48.490" LastActivityDate="2016-10-05T08:19:48.490" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="84" PostTypeId="2" ParentId="81" CreationDate="2016-09-20T18:35:14.497" Score="9" Body="&lt;p&gt;This is one of those questions where there are multiple answers available.  The answer above by Kyle Trauberman is the default, configuration way that Sitecore provides to do multiple sites.  It has its pro's and con's.&lt;/p&gt;&#xA;&lt;p&gt;There are also a handful of modules on the Sitecore Marketplace, such as &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/D/Dynamic_Sites_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dynamic Sites Manager&lt;/a&gt;, that provide the ability to create sites within Sitecore itself.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QC1yx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QC1yx.png&quot; alt=&quot;Dynamic Sites Manager&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In addition, available as an extra module purchase to your Sitecore license, the &lt;a href=&quot;http://www.sitecore.net/en/products/sitecore-experience-platform/wcm/experience-accelerators&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Experience Accelerator (SxA)&lt;/a&gt;, provides built-in multi-tenant, multi-site capabilities within Sitecore, and not bound by configuration files.&lt;/p&gt;&#xA;&lt;p&gt;My personal preference is using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/D/Dynamic_Sites_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dynamic Sites Manager&lt;/a&gt;, but I'll disclose that I wrote it. So I may be a bit biased. For more information about this tool, you can visit &lt;a href=&quot;https://sitecorehacker.com/modules/dynamic-sites-manager/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SitecoreHacker.com&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="946" LastEditDate="2024-03-24T17:17:01.853" LastActivityDate="2024-03-24T17:17:01.853" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="85" PostTypeId="2" ParentId="81" CreationDate="2016-09-20T19:01:51.040" Score="20" Body="&lt;p&gt;This is an addition to Kyles answer. While you &lt;em&gt;can&lt;/em&gt; do the full site definition for each site, it quickly becomes cumbersome and really for most of the settings you have the same values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you can use property inheritance in the patch file. For example if we have 4 sites, we can create the first one with fill definitions, but for the others, we can just change the values that are different, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;site1&quot; virtualFolder=&quot;/sitecore/admin&quot; &#xA;    physicalFolder=&quot;/sitecore/admin&quot; enableAnalytics=&quot;false&quot; &#xA;    domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/admin/login.aspx&quot;/&amp;gt;&#xA;&#xA;  &amp;lt;site name=&quot;site2&quot; inherits=&quot;site1&quot; /&amp;gt;&#xA;  &amp;lt;site name=&quot;site3&quot; inherits=&quot;site1&quot; domain=&quot;extranet&quot; /&amp;gt;&#xA;  &amp;lt;site name=&quot;site4&quot; inherits=&quot;site1&quot; enableAnalytics=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;!-- etc etc ... --&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the &lt;code&gt;inherits&lt;/code&gt; attribute in the other site nodes. This makes it nice and simple to add new site definitions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The rest is covered in the answer by Kyle.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="237" LastEditDate="2016-10-05T08:40:30.653" LastActivityDate="2016-10-05T08:40:30.653" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="86" PostTypeId="1" AcceptedAnswerId="87" CreationDate="2016-09-20T19:25:12.653" Score="5" ViewCount="122" Body="&lt;p&gt;I have Sitecore 7.5 with Webforms for Marketers 2.5.  I want to create a form in the French language.  However I can't seem to select French as a language.  When I open up the form designer there is a button and a dropdown to select a language other than English.  However when I click on it nothing happens.  I have a number of languages installed in this Sitecore instances.  I have EN, de-DE, es-ES, fr-FR and zh-CN.  I click on the button or the dropdown to select a language and literally nothing happens.  No error message or anything.  But also no way to select a different language for the form.  Am I doing something wrong?  Below is a screen shot of the button/dropdown in the form designer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vGB47.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vGB47.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="246" LastEditDate="2016-09-21T11:05:25.147" LastActivityDate="2016-09-21T11:05:25.147" Title="Why can't I select a different language for a form in WFFM?" Tags="|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="87" PostTypeId="2" ParentId="86" CreationDate="2016-09-20T19:51:11.573" Score="5" Body="&lt;p&gt;I don't have Sitecore 7.5 with WFFM module installed but this is listed as known bug in &lt;a href=&quot;https://kb.sitecore.net/articles/616431&quot; rel=&quot;nofollow&quot;&gt;Sitecore knowledge base site&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was fixed in WFFM 8.0 Update-2 as mentioned in the link above.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;[Fixed in WFFM 8.0 Update-2]&lt;/strong&gt; It is not possible to translate form in Form Designer. 'Language' dropdown doesn't show languages (24964).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="172" LastActivityDate="2016-09-20T19:51:11.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="88" PostTypeId="1" AcceptedAnswerId="89" CreationDate="2016-09-20T20:23:55.227" Score="6" ViewCount="1449" Body="&lt;p&gt;We're using Branches in Sitecore 8.1 rev. 160519 when creating new pages. However, at some point a branch item was lost in all of our environments, possibly because of a bad package, since the item doesn't exist in the recycle bin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This has resulted in a number of items displaying when we scan for broken links, since the &lt;strong&gt;Created from&lt;/strong&gt; field is no longer pointing to a valid item, and is displaying the following in the Content Editor:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;[branch no longer exists] - {00000000-0000-0000-0000-000000000000}&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The pages themselves work without issue, so this seems to be an issue just behind the scenes, that doesn't actually impact rendering. However, we would like to fix these broken references.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we go about correcting this broken link? We've recreated the branch, so ideally we'd like to point to that, or just remove the reference (as that seems to be fine, based upon other items in Sitecore).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried looking at the items via an older version of Razl (2.5) as well as the current version of Sitecore Rocks.&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2018-03-14T14:01:25.160" LastActivityDate="2018-03-14T14:01:25.160" Title="How do I fix a broken 'Created from' reference when the branch no longer exists?" Tags="|branch|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="89" PostTypeId="2" ParentId="88" CreationDate="2016-09-20T20:33:39.943" Score="7" Body="&lt;p&gt;As a workaround, please perform the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a backup before making any changes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Serialize the problem item (Developer &gt; Serialize &gt; Serialize Item). &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the created file (Data\serialization\dbname\itempath\itemname.item) with a text editor and set the master parameter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Master: {00000000-0000-0000-0000-000000000000}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Save changes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Revert the item in Sitecore (Developer &gt; Serialize &gt; Revert Item).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For more information see sections 2.2.2 (Serializing Items) and 2.4.2 (Reverting Items) of the &lt;a href=&quot;http://sdn.sitecore.net/upload/sitecore6/64/serialization_guide_sc60-64-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Serialization Guide&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="288" LastEditDate="2016-09-23T17:34:08.860" LastActivityDate="2016-09-23T17:34:08.860" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="90" PostTypeId="1" AcceptedAnswerId="93" CreationDate="2016-09-20T23:53:21.437" Score="2" ViewCount="1658" Body="&lt;p&gt;We are getting the following error message in our Sitecore log file.  We can not tell if this is breaking anything though, as the site appears to work as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is occurring after an upgrade from 7.2 to 8.1 U3.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8608 19:42:09 ERROR Exception when executing agent experienceAnalytics/reduce/agent&#xA;Exception: System.Exception&#xA;Message: Invalid object name 'Properties'.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Data.DataProviders.Sql.DataProviderCommand.ExecuteReader()&#xA;   at Sitecore.Data.DataProviders.Sql.DataProviderReader..ctor(DataProviderCommand command)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;&amp;gt;c__DisplayClass12.&amp;lt;CreateReader&amp;gt;b__10()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func 1 action, Action recover)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateReader(String sql, Object[] parameters)&#xA;   at Sitecore.Analytics.Aggregation.SqlReportingStorageProviderProperties.GetProperties()&#xA;   at Sitecore.Analytics.Aggregation.SqlReportingStorageProviderProperties.get_Item(String key)&#xA;   at Sitecore.ExperienceAnalytics.Reduce.TimestampStore.get_LastRun()&#xA;   at Sitecore.ExperienceAnalytics.Reduce.ReduceAgent.IsDue()&#xA;   at Sitecore.ExperienceAnalytics.Reduce.ReduceAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Data.DataException&#xA;Message: Error executing SQL command: SELECT [Key], [Value] FROM [Properties]&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: Invalid object name 'Properties'.&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)&#xA;   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady)&#xA;   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()&#xA;   at System.Data.SqlClient.SqlDataReader.get_MetaData()&#xA;   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource 1 completion, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)&#xA;   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)&#xA;   at Sitecore.Data.DataProviders.Sql.DataProviderCommand.ExecuteReader()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="2727" LastEditDate="2018-03-12T09:09:32.183" LastActivityDate="2018-03-12T09:09:32.183" Title="Invalid object name 'Properties' Exception when executing agent experienceAnalytics/reduce/agent" Tags="|xdb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="91" PostTypeId="1" CreationDate="2016-09-21T01:10:04.693" Score="27" ViewCount="934" Body="&lt;p&gt;Best practice is to assign access rights to roles rather than users. So I would like to block changes that apply access rights for users. Sitecore does not seem to trigger the &lt;code&gt;saveUI&lt;/code&gt; pipeline on access right changes, so I think I should use an event handler. One of my concerns is that &lt;code&gt;SheerUI&lt;/code&gt; might not always be available. This &lt;em&gt;seems&lt;/em&gt; to work, though I haven't tried it from an API call with no &lt;code&gt;SheerUI&lt;/code&gt; context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One issue is that if a UI user has made significant security changes, they will lose their work because I do not think I can confirm, only alert, and then in the case of Security Editor, the UI does not refresh. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please comment on this approach, especially anyone who has experience with &lt;code&gt;SheerUI&lt;/code&gt; from an event handler. Is this just a bad idea, or is there some better way?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace Whatever.Tasks&#xA;{&#xA;    using System;&#xA;    using Sitecore.Diagnostics;&#xA;    using Sitecore.Data.Items;&#xA;    using Sitecore.Events;&#xA;    using Sitecore.Globalization;&#xA;    using Sitecore.Security.AccessControl;&#xA;    using Sitecore.Security.Accounts;&#xA;    using Sitecore.SecurityModel;&#xA;    using Sitecore.Web.UI.Sheer;&#xA;&#xA;    public class PreventUserAccessRights&#xA;    {&#xA;        protected void OnItemSaving(object sender, EventArgs args)&#xA;        {&#xA;            // data being saved&#xA;            Item itemInMemory = Event.ExtractParameter(args, 0) as Item;&#xA;            Error.AssertNotNull(itemInMemory, &quot;itemInMemory&quot;);&#xA;&#xA;            // probably not needed&#xA;            using (new SecurityDisabler())&#xA;            {&#xA;                // ignore event if no changes to security field&#xA;                Item itemInDatabase = itemInMemory.Database.GetItem(itemInMemory.ID);&#xA;&#xA;                if (itemInDatabase == null || itemInMemory[Sitecore.FieldIDs.Security]&#xA;                    != itemInDatabase[Sitecore.FieldIDs.Security])&#xA;                {&#xA;                    foreach (AccessRule accessRule&#xA;                        in AccessRuleCollection.FromString(itemInMemory[Sitecore.FieldIDs.Security]))&#xA;                    {&#xA;                        if (accessRule.Account.AccountType == AccountType.User)&#xA;                        {&#xA;                            // block the save&#xA;                            SitecoreEventArgs scEventArgs = args as SitecoreEventArgs;&#xA;&#xA;                            if (scEventArgs != null)&#xA;                            {&#xA;                                scEventArgs.Result.Cancel = true;&#xA;                            }&#xA;&#xA;                            string msg = Translate.Text(&#xA;                                &quot;Hey bro, you cannot assign access rights for users, only roles: &quot;) + accessRule.Account.Name;&#xA;&#xA;                            // try to alert the user&#xA;                            try&#xA;                            {&#xA;                                SheerResponse.Alert(msg);&#xA;                            }&#xA;                            catch (Exception ex)&#xA;                            {&#xA;                                // maybe thrown if SheerUI missing?&#xA;                                throw (new ApplicationException(msg));&#xA;                            }&#xA;&#xA;                            if (scEventArgs == null)&#xA;                            {&#xA;                                // unlikley/impossible case, &#xA;                                // but would still want to prevent the save&#xA;                                throw (new ApplicationException(msg));&#xA;                            }&#xA;&#xA;                            return;&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="133" LastEditorUserId="2727" LastEditDate="2018-06-07T13:11:59.887" LastActivityDate="2018-06-07T13:11:59.887" Title="Restricting Item Access Rights to Roles - Prevent Users from being assigned Access Rights directly" Tags="|security|events|sheer-ui|best-practices|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="92" PostTypeId="1" CreationDate="2016-09-21T06:22:28.353" Score="13" ViewCount="395" Body="&lt;p&gt;Some time ago I wrote a &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/roll-sitecore-logs-automatically&quot; rel=&quot;noreferrer&quot;&gt;blog post&lt;/a&gt; about rolling the Sitecore logs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I'm on a project that wants to keep their logs for 3 years, but doesn't want to use disk space. I modified it from an initialize pipeline processor to an agent and to compress the logs to a different directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a better way than current solution as below?   Or alternative solutions that would work outside the Asp.Net process?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;agent type=&quot;Whatever.Tasks.LogFileManager&quot; method=&quot;Run&quot; interval=&quot;00:00:30&quot;/&amp;gt;&#xA;&amp;lt;minAge&amp;gt;00:00:30&amp;lt;/minAge&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace Whatever.Tasks&#xA;{&#xA;    using System;&#xA;    using System.IO;&#xA;    using Sitecore.IO;&#xA;    using Sitecore.Configuration;&#xA;    using Sitecore.Zip;&#xA;&#xA;    public class LogFileManager&#xA;    {&#xA;        // files must be this old&#xA;        public TimeSpan MinAge { get; set; }&#xA;&#xA;        public void Run()&#xA;        {&#xA;            // where the logs are&#xA;            string logDirectory = FileUtil.MapPath(Settings.LogFolder);&#xA;&#xA;            // where the zip files go&#xA;            string archiveDirectory = Path.Combine(&#xA;                FileUtil.MapPath(Settings.DataFolder), &#xA;                &quot;logArchive&quot;);&#xA;&#xA;            // where the log files will go temporarily (possibly avoided)&#xA;            string tempDirectory = Path.Combine(&#xA;                archiveDirectory,&#xA;                Sitecore.DateUtil.IsoNow);&#xA;&#xA;            if (!Directory.Exists(tempDirectory))&#xA;            {&#xA;                Directory.CreateDirectory(tempDirectory);&#xA;            }&#xA;&#xA;            foreach (string file in Directory.GetFiles(logDirectory))&#xA;            {&#xA;                // check min age only if needed&#xA;                if (this.MinAge &amp;gt; TimeSpan.Zero)&#xA;                { &#xA;                    FileInfo fileInfo = new FileInfo(file);&#xA;                    DateTime check = fileInfo.LastWriteTimeUtc &amp;gt; fileInfo.CreationTimeUtc&#xA;                        ? fileInfo.LastWriteTimeUtc&#xA;                        : fileInfo.CreationTimeUtc;&#xA;&#xA;                    if (DateTime.UtcNow - check &amp;lt; this.MinAge)&#xA;                    {&#xA;                        continue;&#xA;                    }&#xA;                }&#xA;&#xA;                try&#xA;                {&#xA;                    File.Move(file, tempDirectory + &quot;\\&quot; + Path.GetFileName(file));&#xA;                }&#xA;                catch (IOException)&#xA;                {&#xA;                    // locked, probably to ASP.NET?&#xA;                }&#xA;            }&#xA;&#xA;            // if there are no files in the temporary directory, &#xA;            // don't create the zip file.&#xA;            if (Directory.GetFiles(tempDirectory).Length &amp;gt; 0)&#xA;            {&#xA;                string zipFile = tempDirectory + &quot;.zip&quot;;&#xA;&#xA;                using (ZipWriter zipWriter = new ZipWriter(zipFile))&#xA;                {&#xA;                    foreach (string file in Directory.GetFiles(tempDirectory))&#xA;                    {&#xA;                        using (FileStream fileStream = File.OpenRead(file))&#xA;                        {&#xA;                            zipWriter.AddEntry(FileUtil.GetFileName(file), fileStream);&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;&#xA;            Directory.Delete(tempDirectory, true /*recursive*/);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="133" LastEditorUserId="73" LastEditDate="2016-09-26T11:30:07.167" LastActivityDate="2016-09-26T13:58:41.600" Title="Zipping/archiving old log files?" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="93" PostTypeId="2" ParentId="90" CreationDate="2016-09-21T07:44:39.887" Score="3" Body="&lt;p&gt;This agent uses the database referenced by the &lt;code&gt;reporting&lt;/code&gt; connection string. Check if you see a &lt;code&gt;Properties&lt;/code&gt; table in this database. If the table is missing, you can create it with this SQL statement:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;CREATE TABLE [dbo].[Properties](&#xA;    [PropertyId] [uniqueidentifier] NOT NULL,&#xA;    [Key] [nvarchar](100) NOT NULL,&#xA;    [Value] [ntext] NOT NULL,&#xA;PRIMARY KEY CLUSTERED &#xA;(&#xA;    [PropertyId] ASC&#xA;) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]&#xA;) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A missing table may indicate that there are more incorrect things. Solving this &lt;em&gt;may&lt;/em&gt; popup other errors. Make sure you have executed all steps when you performed the upgrade, especially those related to databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the table is there, make sure the user defined in the connection string has access to it. You can test this by signing in with a SQL client (e.g. MS SQL Management Studio) with the username and password from the &lt;code&gt;reporting&lt;/code&gt; connection string. Try to execute the select statement from the error.&lt;/p&gt;&#xA;" OwnerUserId="114" LastEditorUserId="237" LastEditDate="2016-10-05T08:05:18.730" LastActivityDate="2016-10-05T08:05:18.730" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="94" PostTypeId="2" ParentId="81" CreationDate="2016-09-21T10:47:31.763" Score="6" Body="&lt;p&gt;As the other comments have mentioned the hostnames in the config need configuring however alongside that there are quite a lot of things to consider for multi-site in Sitecore and the difficulty of getting it to work depends on if it was considered in the initial build or not. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll jot down some bits and pieces to consider, especially in the scenario where this is not a greenfield build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Global Settings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have an area of the tree for true &quot;Global settings&quot; across all sites in Sitecore and a separate one for each of the specific global settings, for example site logo etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Shared Components&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you need global components and site specific components? If so split component folders to global and site specific too&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Relative data sources&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check to see if any data sources need to be changed to be relative to the site you're in, useful when referencing site specific global settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SEO&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For SEO you need to consider a separate robots.txt and sitemap.xml for each site&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;There is a Sitemap XML module available on the Sitecore market place (&lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitemap_XML.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/Sitemap_XML.aspx&lt;/a&gt;), this will need to be assessed to ensure it works correctly in Sitecore 8&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There is a Robots.txt module available on the Sitecore market place (&lt;a href=&quot;https://sitecoreclimber.wordpress.com/2014/07/27/sitecore-multisite-robots-txt/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoreclimber.wordpress.com/2014/07/27/sitecore-multisite-robots-txt/&lt;/a&gt;), this will need to be assessed to ensure it works correctly with Sitecore 8&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Search&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure that Sitecore only searches over each individual site not all microsites - details on this are here (for SOLR)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/a/33062404/861315&quot;&gt;https://stackoverflow.com/a/33062404/861315&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;404 and 500 pages&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do these need to be different for each site? In which case this will need to be handled; pretty sure we used a module off the marketplace for this but I can't remember which; I'll update this when I track it down.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Media library&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Organise the media library so there are different areas for each site&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Security and workflow&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add security and workflow to lock down roles to access the correct areas of the site&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Web forms for marketers&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We didn't need to do this as the micro-sites didn't require forms however details are here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/installing/multisite_implementation_with_web_forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/installing/multisite_implementation_with_web_forms&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="87" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-09-21T10:47:31.763" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="95" PostTypeId="1" AcceptedAnswerId="100" CreationDate="2016-09-21T10:51:45.393" Score="4" ViewCount="394" Body="&lt;p&gt;I'm trying to get hold of a version of the Wildcard Module for Sitecore 8.1. Unfortunately the version on the Marketplace (&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Wildcard_module.aspx&quot; rel=&quot;nofollow&quot;&gt;https://marketplace.sitecore.net/en/Modules/Wildcard_module.aspx&lt;/a&gt;) only goes up to v6.5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a version of the Wildcard Module that is updated for Sitecore 8 or above? or an alternative option to use for Wildcards with Sitecore 8+?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I use wildcards with Sitecore 8+?&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="2727" LastEditDate="2018-03-12T09:09:35.480" LastActivityDate="2018-03-12T09:09:35.480" Title="Availability/Upgradeability of Wildcard Module for Sitecore 8+" Tags="|sitecore-marketplace|wildcards|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="96" PostTypeId="2" ParentId="27" CreationDate="2016-09-21T11:07:50.977" Score="3" Body="&lt;p&gt;I'm sure I came across an example of linked drop downs in WFFM in the past but can't find find it now. This might be a good basis to start from: &lt;a href=&quot;http://sitecoreguild.blogspot.co.uk/2013/06/sitecore-country-and-region-dropdowns.html&quot; rel=&quot;nofollow&quot;&gt;http://sitecoreguild.blogspot.co.uk/2013/06/sitecore-country-and-region-dropdowns.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However you will obviously need to inherit from the right classes for your dropdowns to work, there is a good example here: &lt;a href=&quot;https://divamatrix.wordpress.com/2011/12/20/wffm-custom-field-type-made-easy/&quot; rel=&quot;nofollow&quot;&gt;https://divamatrix.wordpress.com/2011/12/20/wffm-custom-field-type-made-easy/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-09-21T11:07:50.977" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="97" PostTypeId="1" AcceptedAnswerId="103" CreationDate="2016-09-21T11:53:23.970" Score="15" ViewCount="698" Body="&lt;p&gt;Once the right Sitecore module has been chosen, we need to sync all environments including developer, dev, test, prod etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm thinking whether we should include items on to TDS and patch files on configuration etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a best practice or should we avoid it? Also not sure, how we could include to module Dlls? (I guess just include a reference to it in the web project?)&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="2727" LastEditDate="2018-06-07T13:08:53.110" LastActivityDate="2018-06-07T13:08:53.110" Title="Should we source control Sitecore modules?" Tags="|module|" AnswerCount="7" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="98" PostTypeId="2" ParentId="97" CreationDate="2016-09-21T12:07:02.890" Score="5" Body="&lt;p&gt;This is a quite open question.. My answer would be not to. Where would you stop? Example: if you install WFFM, will you integrate all changes into your source control? I guess you don't. There will be modules that are more easy to include but if you include one, you should include all. So: I would not.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-09-21T12:07:02.890" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="99" PostTypeId="1" AcceptedAnswerId="101" CreationDate="2016-09-21T12:17:29.557" Score="7" ViewCount="1981" Body="&lt;p&gt;We are 80% from the completion of the project. And noticed that we need to create a couple of renderings that must exist on all pages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought the best place to do this would be presentation detail of base template standard values. However, it appears that when you add rendering you need to also choose layout as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Are Sitecore templates designed to inherit the presentation details of base templates?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If above is yes, how do we handle a scenario where inherited templates can have different layouts?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If no, what's the best way to solve this issue?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I've faced this issue a couple of times, where I ended up adding the rendering to all the page templates one by one :-).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any best practices appreciate.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="4050" LastEditDate="2019-10-17T17:44:44.523" LastActivityDate="2019-10-17T17:44:44.523" Title="Best way to add rendering in base template and inherit" Tags="|presentation|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="100" PostTypeId="2" ParentId="95" CreationDate="2016-09-21T12:20:16.403" Score="7" Body="&lt;p&gt;This one supports 8.0+ &lt;a href=&quot;https://marketplace.sitecore.net/SearchResults#qr=helpfullcore&quot;&gt;https://marketplace.sitecore.net/SearchResults#qr=helpfullcore&lt;/a&gt; - it works similar to the original Wildcard module, but doesn't use the rules engine to process the tokens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can view the documentation on it here: &lt;a href=&quot;https://vladimirhil.com/2016/02/22/wildcards-module-for-sitecore-7-using-content-search-api/&quot;&gt;https://vladimirhil.com/2016/02/22/wildcards-module-for-sitecore-7-using-content-search-api/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-21T12:20:16.403" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="101" PostTypeId="2" ParentId="99" CreationDate="2016-09-21T12:34:07.333" Score="7" Body="&lt;p&gt;If you have not already used a base template with presentation, this will be tricky. Normally I would have a base page template with some core presentation elements and then all other page templates would inherit from that - also I try to have very few page templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your problem you are probably going to have to add the element to the standard values on your page templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could script this with &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt; using something similar to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = get-item master:\content\Demo\Int\Home&#xA;$device =Get-Device -Default&#xA;$contentDataSource = get-item master:\content\Demo\Int\Home\about-us\employee-stories\adam-najmanowicz&#xA;$ImageDataSource = get-item master:\content\Demo\Int\Data\Images\d56cf7e777a2496aa6489a7bffc03539&#xA;&#xA;$rendering = get-item master:\layout\Sublayouts\ZenGarden\Basic\Content&#xA;Add-Rendering -Item $item -Device $device -Rendering $rendering -Placeholder main -Parameter @{FieldName =&quot;Title&quot;} -DataSource $contentDataSource&#xA;$rendering = get-item master:\layout\Sublayouts\ZenGarden\Basic\Image&#xA;Add-Rendering -Item $item -Device $device -Rendering $rendering -Placeholder main -DataSource $ImageDataSource&#xA;$rendering = get-item master:\layout\Sublayouts\ZenGarden\Basic\Subtitle&#xA;Add-Rendering -Item $item -Device $device -Rendering $rendering -Placeholder main -DataSource $contentDataSource&#xA;$rendering = get-item master:\layout\Sublayouts\ZenGarden\Basic\Title&#xA;Add-Rendering -Item $item -Device $device -Rendering $rendering -Placeholder main&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://gist.github.com/AdamNaj/2a4baaa64c6d79931ba9&quot; rel=&quot;nofollow noreferrer&quot;&gt;Adam Najmanowicz Gist&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should serve as a good starting point. Here is the documentation of the Add-Rendering function: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Add-Rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Add-Rendering.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Credit to @pascal-mathys for this answer on &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1/how-can-i-programmatically-add-a-rendering-to-all-of-my-content-items/2#2&quot;&gt;this question&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-09-21T12:34:07.333" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="102" PostTypeId="2" ParentId="97" CreationDate="2016-09-21T12:39:44.413" Score="10" Body="&lt;p&gt;Normally we have a list of prerequisites for a build. On developer machines we use &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_Instance_Manager.aspx?sc_lang=en&quot;&gt;Sitecore Instance Manager&lt;/a&gt; to install Sitecore and that can install modules too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For server environments they become part of the initial server setup, that can be either a scripted setup or a more manual one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only time I would put that content into source control would be if we were modifying the module for a specific project. Otherwise I would keep it out.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-21T12:39:44.413" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="103" PostTypeId="2" ParentId="97" CreationDate="2016-09-21T12:59:56.503" Score="9" Body="&lt;p&gt;We use a bunch of Marketplace Modules within our solutions usually. The way we use them heavily depends on how well the module is maintained but the general procedure that we use is to source code control the DLL's and any patch configs associated with the module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This allows the bits and configs to get transferred to each environment by deployment processes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for items, we generally will install the package once on each authoring environment and then do the appropriate publishing as described in Module documentation of any.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-21T12:59:56.503" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="104" PostTypeId="2" ParentId="97" CreationDate="2016-09-21T13:38:21.223" Score="3" Body="&lt;p&gt;I am also in the 'do not source control modules' camp but it leads to tricky situations of rolling out dependencies to the team. Especially if you then have items in your source control that reference the templates from a module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I still haven't cracked the nut on getting that stuff deployed in a reliable automated fashion. If modules were .update packages, it's fairly simple to use the Hedgehog Sitecore Package Deployer and have it install things for you by just pushing the package over, but that would require a ZIP to UPDATE converter (which I promise myself I will build one day...)&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-09-21T13:38:21.223" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="105" PostTypeId="2" ParentId="97" CreationDate="2016-09-21T13:52:53.000" Score="2" Body="&lt;p&gt;The question is similar to the question: &quot;should we source control NuGet packages&quot;. I'm on a 'add to source control' camp here. I've experienced a situation where NuGet package was removed from nuget repository and I was not able to download it. Since that time I'm a big fan of commiting them to repo. Others will still have to download them anyway (from repo or from nuget).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similar with sitecore modules. After I install modules on my local instance, I commit module's dlls and config files to repo. If I need to do some tweaks to configs I will commit tweaks too.&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2016-09-21T13:52:53.000" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="106" PostTypeId="1" AcceptedAnswerId="107" CreationDate="2016-09-21T14:01:05.703" Score="5" ViewCount="1384" Body="&lt;p&gt;When trying to rebuild path analyzer from historical data the following error appears in log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    16916 2016:09:21 08:50:19 ERROR [Path Analyzer] BuildMapAgent failed&#xA;Exception: MongoDB.Driver.MongoCommandException&#xA;Message: Command 'count' failed: not authorized on config to execute command { count: &quot;chunks&quot;, query: { ns: &quot;usd_analytics.Interactions&quot; } } (response: { &quot;ok&quot; : 0.0, &quot;errmsg&quot; : &quot;not authorized on config to execute command { count: \&quot;chunks\&quot;, query: { ns: \&quot;usd_analytics.Interactions\&quot; } }&quot;, &quot;code&quot; : 13 })&#xA;Source: MongoDB.Driver&#xA;   at MongoDB.Driver.Operations.CommandOperation`1.Execute(MongoConnection connection)&#xA;   at MongoDB.Driver.MongoCollection.RunCommandAs[TCommandResult](IMongoCommand command, ReadPreference readPreference, IBsonSerializer resultSerializer, IBsonSerializationOptions resultSerializationOptions)&#xA;   at MongoDB.Driver.MongoCollection.RunCommandAs[TCommandResult](IMongoCommand command, ReadPreference readPreference)&#xA;   at MongoDB.Driver.MongoCollection.Count(CountArgs args)&#xA;   at Sitecore.Analytics.Processing.Tasks.MongoDbSequenceFactory2.CreateInteractionSequence(InteractionHistoryRangeDefinition range)&#xA;   at Sitecore.Analytics.Processing.Tasks.MongoDbSequenceFactory2.GetSequence[TKey](ObjectRangeDefinition range)&#xA;   at Sitecore.Analytics.Processing.Internals.SchedulerFactory.InitializeScheduler[TWorkItem](Guid taskId, ObjectRangeDefinition range)&#xA;   at Sitecore.Analytics.Processing.TaskManager.StartDistributedProcessing[TWorkItem](ObjectRangeDefinition query, DistributedWorker`1 worker, TaskOptions options)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.BuildMapAgent.ScheduleRebuild(List`1 definitions)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas of how to solve this error?&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="2727" LastEditDate="2018-03-12T10:28:05.190" LastActivityDate="2018-03-12T10:28:05.190" Title="&quot;not authorized on config to execute command&quot; Error when rebuild path analyzer from historical data" Tags="|path-analyzer|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="107" PostTypeId="2" ParentId="106" CreationDate="2016-09-21T14:16:48.433" Score="4" Body="&lt;p&gt;Are you using shared database user for mongoDB? Make sure to grant it read rights.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Refer:&#xA;&lt;a href=&quot;https://blog.horizontalintegration.com/2015/04/09/sitecore-8-xdb-using-shared-users-on-mongodb/&quot; rel=&quot;nofollow&quot;&gt;https://blog.horizontalintegration.com/2015/04/09/sitecore-8-xdb-using-shared-users-on-mongodb/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2016-09-21T14:16:48.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="108" PostTypeId="2" ParentId="97" CreationDate="2016-09-21T16:18:48.730" Score="3" Body="&lt;p&gt;From my perspective, I agree with most of, what is being answered, which is not source controlling modules. But you do need to source control customization done to this module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, in Coveo for Sitecore, you can have custom configuration files that need to be in source control, so your customization are rolled to the various environments you have but you don't need to source control the content of the whole package. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This also makes a bit trickier, if changes are made to the module itself which break upgrade paths (we shouldn't change it right but it's not to say that this can't happen) and will cause you a lot of grief if you have to compare files from source control that shouldn't be changed at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From my perspective the only thing, I would suggest adding to source control other than customization are the Sitecore packages so you can share with the team which version you are using which is different from having the content of that same package referenced on the solution and add the files to source control. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This helps to keep track at least for new team members for example what packages are used on the build and where to get them from.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="2727" LastEditDate="2018-03-14T09:17:54.703" LastActivityDate="2018-03-14T09:17:54.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="109" PostTypeId="1" AcceptedAnswerId="111" CreationDate="2016-09-21T19:10:39.337" Score="7" ViewCount="493" Body="&lt;p&gt;In ECM 2.2, the RegisterEmailOpened.aspx was located in sitecore_modules directory, which is mapped to the Sitecore site &quot;modules_shell&quot;.  In EXM 3.3, this page is moved to /sitecore/ and made an ashx.  Okay, cool...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Method #1:&lt;/em&gt; Use URL Rewrite to redirect to the new location. For whatever reason, whether it's stupidity or lack of regex understanding, I could not get a rewrite rule to redirect.  Aborted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Method #2:&lt;/em&gt; Created an aspx page in the same location to force a redirect.  Turns out, this is the method I REALLY want to do, because before doing the redirect, I've realized that I need to do work to convert the query params from ECM 2.2 to EXM 3.3 query params before going to the new EXM 3.3 location -- Therefore, this is actually the method I want to use.  but having complications.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: The complications are that I need to instantiate the Sitecore Analytics Tracker in order to identify the user and create an Xdb Contact record if one doesn't exist.  But &quot;modules_shell&quot; has EnableTracking set to false in the Site Definition.. (to wit I'm assuming is for a reason), meaning that the &quot;startAnalytics&quot; pipeline aborts out before creating the Tracker.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Research&lt;/strong&gt;: I thought it was because I have a blank for Analytics.The hostname for the longest, but it's actually not even getting to that point.  That may still be an issue, and figuring out how I need to set Analytics.Hostname for a multisite environment is my next research question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is there any reason why I WOULDN'T want to set EnableTracking true on the modules_shell site in Sitecore?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="4050" LastEditDate="2019-10-17T17:45:41.553" LastActivityDate="2019-10-17T17:45:41.553" Title="What are the implications of setting EnableTracking to True for &quot;modules_shell&quot; site?" Tags="|multitenancy|xdb|ecm|exm|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="110" PostTypeId="1" AcceptedAnswerId="114" CreationDate="2016-09-21T19:38:48.893" Score="4" ViewCount="2180" Body="&lt;p&gt;In Sitecore 8.0+, the invention of the Sitecore.Analytics.Tracker was introduced to provide Session based Analytic tracking to be sent to xDB.  This is maintained in the config file &lt;strong&gt;Sitecore.Analytics.Tracking.config&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two settings:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Analytics.ClusterName&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Analytics.Hostname&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In a multisite configuration with multiple content delivery servers running behind a load balancer, what should the values of these settings be, in order to get Tracker to initialize appropriately?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario 1:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Sites Config Each Site has Different Start Item:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;site name=&quot;a&quot; hostname&quot;aaa.com&quot; ... EnableTracking=&quot;true&quot; ... /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;site name=&quot;b&quot; hostname&quot;bbb.com&quot; ... EnableTracking=&quot;true&quot; ... /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;site name=&quot;c&quot; hostname&quot;ccc.com&quot; ... EnableTracking=&quot;true&quot; ... /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;3 Content Delivery Servers&lt;/li&gt;&#xA;&lt;li&gt;Single IIS Site with bindings for each domain (aaa.com,bbb.com,ccc.com)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.ClusterName&quot; value=&quot;default-cd-cluster&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.HostName&quot; value=&quot;&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Each domain is different from the other.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Result: Error Received Under this scenario when running &lt;code&gt;Tracker.StartAnalytics()&lt;/code&gt;. I get the following Stack Trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current is not initialized&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.InvalidOperationException: Tracker.Current is not initialized&#xA;&#xA;Source Error: &#xA;&#xA;&#xA;Line 37:         {&#xA;Line 38:             if (!Tracker.IsActive)&#xA;Line 39:                 Tracker.StartTracking();&#xA;Line 40:         }&#xA;Line 41: &#xA;&#xA;Source File: D:\AgencyCode\XYZClientName-com\src\XYZClientName.Library\Abstractions\Contacts\ContactFactory.cs    Line: 39 &#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[InvalidOperationException: Tracker.Current is not initialized]&#xA;   Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs args) +304&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Analytics.Pipelines.StartAnalytics.StartAnalyticsPipeline.Run() +293&#xA;   XYZClientName.Library.Abstractions.Contacts.ContactFactory..ctor() in D:\AgencyCode\XYZClientName-com\src\XYZClientName.Library\Abstractions\Contacts\ContactFactory.cs:39&#xA;   XYZClientName.Library.Factories.Contacts.SitecoreContactFactory..ctor() +49&#xA;   XYZClientName.Library.Managers.XYZClientNameContactManager..ctor() in D:\AgencyCode\XYZClientName-com\src\XYZClientName.Library\Managers\XYZClientNameContactManager.cs:170&#xA;   XYZClientName.Web.sitecore_modules.Shell.EmailCampaign.RegisterEmailOpened..ctor() in D:\AgencyCode\XYZClientName-com\web\XYZClientName.Web\sitecore modules\Shell\EmailCampaign\RegisterEmailOpened.aspx.cs:17&#xA;   ASP.sitecore_modules_shell_emailcampaign_registeremailopened_aspx..ctor() +16&#xA;   __ASP.FastObjectFactory_app_web_xrzs0hqx.Create_ASP_sitecore_modules_shell_emailcampaign_registeremailopened_aspx() +31&#xA;   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +133&#xA;   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +44&#xA;   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +378&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +137&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Scenario 2:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Sites Config Each Site has Different Start Item:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;site name=&quot;a&quot; hostname&quot;aaa.com&quot; ... EnableTracking=&quot;true&quot; ... /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;site name=&quot;b&quot; hostname&quot;bbb.com&quot; ... EnableTracking=&quot;true&quot; ... /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;site name=&quot;c&quot; hostname&quot;ccc.com&quot; ... EnableTracking=&quot;true&quot; ... /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;3 Content Delivery Servers&lt;/li&gt;&#xA;&lt;li&gt;Single IIS Site with bindings for each domain (aaa.com,bbb.com,ccc.com)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.ClusterName&quot; value=&quot;default-cd-cluster&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.HostName&quot; value=&quot;aaa.com&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Each domain is different from the other.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Result: Tracker is initialized and working for aaa.com. Fails to load on bbb.com and ccc.com.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-05T08:20:31.917" Title="Analytics Tracker Config: What is the Proper Configuration for Multisite?" Tags="|multitenancy|xdb|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="111" PostTypeId="2" ParentId="109" CreationDate="2016-09-22T07:43:16.593" Score="3" Body="&lt;p&gt;This might be slightly off topic, but I can give you a bit of background info.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In EXM 3.3 you can move/change the email open handler by modifying the configuration setting EXM.OpenHandlerPath in Sitecore.EmailExperience.Core.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The EXM 3.3 open handler does not require the tracker. It creates an interaction using the interaction registry. See &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/interactions/register_interactions_using_the_interaction_registry&quot; rel=&quot;nofollow&quot;&gt;Register interactions using the interaction registry&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a way in EXM 3.3 to convert legacy query strings into the new query string format. This is done in the transformQueryString parameter, but you'll need to enable the DecryptLegacyQueryString processor. The email open handler is already using this pipeline, but the legacy querystring processor is disabled by default.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2016-09-22T07:43:16.593" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="112" PostTypeId="5" CreationDate="2016-09-22T08:11:11.770" Score="0" Body="&lt;p&gt;Email Experience Manager (EXM) allows you to create personalized email campaigns, do A/B testing and view detailed analytics reports. Supports a newsletter functionality out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM was previously known as Email Campaign Manager (ECM), but changed names starting from version 3.0 which was released with Sitecore 8.0. Use &lt;a href=&quot;/questions/tagged/ecm&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;ecm&amp;#39;&quot; rel=&quot;tag&quot;&gt;ecm&lt;/a&gt; for questions related to this predecessor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As of Sitecore 9.0.1, EXM is now a part of the Sitecore platform, and no longer released as an independent module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM has dependencies on many other Sitecore components including among others &lt;a href=&quot;/questions/tagged/list-manager&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;list-manager&amp;#39;&quot; rel=&quot;tag&quot;&gt;list-manager&lt;/a&gt;, &lt;a href=&quot;/questions/tagged/content-search&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;content-search&amp;#39;&quot; rel=&quot;tag&quot;&gt;content-search&lt;/a&gt;, &lt;a href=&quot;/questions/tagged/experience-analytics&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;experience-analytics&amp;#39;&quot; rel=&quot;tag&quot;&gt;experience-analytics&lt;/a&gt;, &lt;a href=&quot;/questions/tagged/experience-editor&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;experience-editor&amp;#39;&quot; rel=&quot;tag&quot;&gt;experience-editor&lt;/a&gt;, &lt;a href=&quot;/questions/tagged/analytics&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;analytics&amp;#39;&quot; rel=&quot;tag&quot;&gt;analytics&lt;/a&gt; and &lt;a href=&quot;/questions/tagged/speak&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;speak&amp;#39;&quot; rel=&quot;tag&quot;&gt;speak&lt;/a&gt;, so be sure to include those tags where relevant, and avoid using this tag for e.g. lists which are part of &lt;a href=&quot;/questions/tagged/list-manager&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;list-manager&amp;#39;&quot; rel=&quot;tag&quot;&gt;list-manager&lt;/a&gt;, although the two are often confused.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Released versions of EXM up until version 3.5.x can be downloaded from &lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/&lt;/a&gt; and documentation is available from &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="2056" LastEditDate="2018-03-23T12:58:16.073" LastActivityDate="2018-03-23T12:58:16.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="113" PostTypeId="4" CreationDate="2016-09-22T08:11:11.770" Score="0" Body="Email Experience Manager (EXM) is the successor of Email Campaign Manager (ECM). EXM allows you to create personalized email campaigns, do A/B testing and view detailed analytics reports." OwnerUserId="121" LastEditorUserId="2056" LastEditDate="2018-03-19T07:40:29.843" LastActivityDate="2018-03-19T07:40:29.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="114" PostTypeId="2" ParentId="110" CreationDate="2016-09-22T08:43:52.977" Score="4" Body="&lt;p&gt;ClusterName is a value of the cluster address to which a server belongs. The name should be identical for all content delivery servers that are in the same cluster. I usually use a string here, not a hosname. I believe this has nothing to do with multisites URLs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM documentation states: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Ensure that the value of the Analytics.ClusterName setting is the hostname of the content delivery server. This is required for a scaled environment to avoid contacts being locked when running EXM. If there is more than one content delivery server in your environment, use the same value for each server.&#xA;  In addition, &lt;strong&gt;make sure that the content management server can reach the content delivery server through HTTP using the hostname that you have specified in the Analytics.ClusterName setting of the content delivery server&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The way I see it, as long as the hostname there is accessible by the CMS, you are safe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding Hostname, it should be left empty when using multisites. This was the reply I got from sitecore support when asked them about it. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Analytics.HostName is a value of the global address (e.g. www.domain.com). This value should be the same for all CDs. But please note that for the multi-site solution the value &lt;strong&gt;should be blank (for all CDs)&lt;/strong&gt;. For more details please see the following known issue: &lt;a href=&quot;https://kb.sitecore.net/articles/792020&quot; rel=&quot;nofollow&quot;&gt;https://kb.sitecore.net/articles/792020&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="88" LastActivityDate="2016-09-22T08:43:52.977" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="115" PostTypeId="1" CreationDate="2016-09-22T09:25:46.317" Score="5" ViewCount="154" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iPgdQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iPgdQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have published a module in Sitecore marketplace. But now I can't add contributors or edit some of the text notes for the module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do this?&lt;/p&gt;&#xA;" OwnerUserId="325" LastEditorUserId="2727" LastEditDate="2018-03-22T13:20:09.823" LastActivityDate="2018-03-22T13:20:09.823" Title="How to Add contributors to published Sitecore marketplace module" Tags="|sitecore-marketplace|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="116" PostTypeId="1" AcceptedAnswerId="1059" CreationDate="2016-09-22T11:45:09.263" Score="7" ViewCount="3125" Body="&lt;p&gt;I am creating a Web API (Controller) inside my Sitecore solution by inheriting &lt;code&gt;ServicesApiController&lt;/code&gt; and &lt;code&gt;EnableCors&lt;/code&gt; attribute. This service will be called from any IPhone/Android Application (currently not sure how they will call). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For initial testing, I created an external console application and calling this API controller inside this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I am loading my Sitecore page and attaching my solution to this (w3wp.exe) process in debug mode, also a breakpoint on my API method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;It is getting called successfully till I am in debugging mode. My external console application is unable to call this API controller method when it is not in debugging mode. I am unaware of any settings that I need to do to get this service called from an external application, while it is hosted in upper environments (Prod/QA).&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any configuration settings that I need to modify (only for this API controller and method) without compromising the security for other items?&lt;/p&gt;&#xA;" OwnerUserId="310" LastEditorUserId="4050" LastEditDate="2019-10-17T17:44:27.177" LastActivityDate="2019-10-17T17:44:27.177" Title="How do I control access to Custom Item Web API controllers?" Tags="|security|webapi|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="117" PostTypeId="2" ParentId="115" CreationDate="2016-09-22T12:10:51.517" Score="3" Body="&lt;p&gt;To update the text next to the &lt;strong&gt;Documentation&lt;/strong&gt; link, you need to edit the &lt;strong&gt;Title&lt;/strong&gt; field just under it. See this screen shot for an example. Probably best not to use markup in that field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PjlfJ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PjlfJ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll have to leave adding another contributor to someone else as I couldn't see how to do that either!&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-22T12:10:51.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="118" PostTypeId="2" ParentId="115" CreationDate="2016-09-22T12:38:13.220" Score="2" Body="&lt;p&gt;Richard already answered the part about the content. I don't think you can add contributors yourself. You should contact Sitecore for that (there is a mail-address at the feedback link in the marketplace footer).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-09-22T12:38:13.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="119" PostTypeId="2" ParentId="116" CreationDate="2016-09-22T13:19:16.160" Score="3" Body="&lt;p&gt;There should be nothing related to debug mode, can you please check it again? If still same problem do below settings:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make a Log for security related stuffs or other variables in a processor before/after below processor just to check what your request is doing.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.ItemWebApi.Pipelines.HttpRequest.CheckMode, Sitecore.ItemWebApi&quot; patch:source=&quot;Sitecore.ItemWebApi.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;I'm sure you must have applied below settings, still mentioning here, coz being developers sometimes we miss small things :).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Allow anonymous access or request through valid credentials in the &lt;strong&gt;\App_Config\Include\Sitecore.Speak.ItemWebApi.config&lt;/strong&gt; file like below. Also, Make sure to give proper site name, here it's &quot;website&quot;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;itemwebapi.mode&quot;&amp;gt;StandardSecurity&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;itemwebapi.access&quot;&amp;gt;ReadOnly&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;itemwebapi.allowanonymousaccess&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;OR in &lt;strong&gt;Sitecore.Services.Client.config&lt;/strong&gt; file, do below changes.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Sitecore.Services.AllowAnonymousUser&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more details, you can refer page#13-15 of the Web API PDF guide - &#xA;&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc66-71-usletter.pdf&quot; rel=&quot;nofollow&quot;&gt;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc66-71-usletter.pdf&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="255" LastEditorUserId="114" LastEditDate="2016-10-10T12:26:54.203" LastActivityDate="2016-10-10T12:26:54.203" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="120" PostTypeId="1" AcceptedAnswerId="181" CreationDate="2016-09-22T14:22:40.507" Score="6" ViewCount="444" Body="&lt;p&gt;I'm busy creating a Crawler using &lt;code&gt;FlatDataCrawler&lt;/code&gt; for custom non-sitecore data.&#xA;Inserting the data into Solr works, but when i'm reading the data with &lt;code&gt;SolrContentSearchManager&lt;/code&gt; my entities are inserted with null field values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I debugged through Sitecore pdb's to find where Sitecore initializes my custom objects (inherited from &lt;code&gt;IIndexable&lt;/code&gt;) when I use &lt;code&gt;IProviderSearchContext&lt;/code&gt; (This is the &lt;code&gt;CreateElementInstance&lt;/code&gt; method in the &lt;code&gt;DefaultDocumentMapper&lt;/code&gt; class.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My field values are available when I debug, but &lt;code&gt;IIndexDocumentPropertyMapperObjectFactory&lt;/code&gt; is null so it would never insert these values in my object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See here:&#xA;In my configuration I use the same &lt;code&gt;indexDocumentPropertyMapper&lt;/code&gt; configuration as the default Solr configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PmfOw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PmfOw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="333" LastEditorUserId="2727" LastEditDate="2018-03-12T09:09:41.380" LastActivityDate="2018-03-12T09:09:41.380" Title="Field values are being fetched as null while reading the data with SolrContentSearchManager with Solr custom FlatDataCrawler" Tags="|solr|indexing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="121" PostTypeId="1" AcceptedAnswerId="122" CreationDate="2016-09-22T20:19:58.040" Score="7" ViewCount="430" Body="&lt;p&gt;Sitecore Social loves to fill my logs with this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Social: Ninject, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7 is not loaded. Couldn't determine the Social channels.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We're not using the module at all. Is there an easy way to disable it without breaking things (and without adding Ninject)?&lt;/p&gt;&#xA;" OwnerUserId="267" LastEditorUserId="246" LastEditDate="2016-09-23T17:34:19.947" LastActivityDate="2016-09-23T17:34:19.947" Title="How to keep Sitecore.Social from complaining about Ninject?" Tags="|configuration|social-connected|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="122" PostTypeId="2" ParentId="121" CreationDate="2016-09-22T20:34:16.570" Score="7" Body="&lt;p&gt;Sitecore.Social lives in \App_Config\Include\Social and is controlled by the various configs that live there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you do not want to use the module at all, you can completely disable it by doing the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Delete the Social folder.&lt;/li&gt;&#xA;&lt;li&gt;Delete all Sitecore.Social.*.dll from \bin&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I've tested this on Sitecore 8.1U3 and Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-22T20:34:16.570" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="123" PostTypeId="1" CreationDate="2016-09-22T20:57:14.833" Score="6" ViewCount="653" Body="&lt;p&gt;We have some logic that we trigger based on a new session starting by using &lt;code&gt;Session_OnStart&lt;/code&gt; in &lt;code&gt;Global.asax&lt;/code&gt;. This is fine, except that for some reason this is not being called when a page is viewed after the session times out but the browser is not closed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is Sitecore doing something to artificially extend the session infinitely while the browser is open? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another hook we should look at?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.0&lt;/p&gt;&#xA;" OwnerUserId="194" LastEditorUserId="2727" LastEditDate="2018-06-07T13:02:10.130" LastActivityDate="2018-06-07T13:02:10.130" Title="Session_Start not called unless browser is closed" Tags="|session-state|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="124" PostTypeId="2" ParentId="110" CreationDate="2016-09-22T21:56:50.533" Score="0" Body="&lt;p&gt;The &lt;code&gt;Tracker.current is not initialized&lt;/code&gt; is a generic error and does not necessarily mean that there is something wrong with your tracker configuration. In my experience, it means that the problem occurred when trying to initialize a pipeline that has an error in it. Here's an example of what I am talking about:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Using the Sitecore Instance Manager, install a new instance of Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Edit the Web.config to set the session timeout to 1 minute instead of 20 minutes. Save the file and then browse out to your new site and close the browser. This will cause Sitecore to write the record to Mongo and within a minute or so you should have a record in the database.&lt;/li&gt;&#xA;&lt;li&gt;Next create a visual studio project for your new website.&lt;/li&gt;&#xA;&lt;li&gt;Use this code for a new cshtml file:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;@using Sitecore.Mvc.Analytics.Extensions&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html lang=&quot;en&quot;&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    @Html.Sitecore().VisitorIdentification()&#xA;    I'm tracking you!`&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Login into your sitecore instance, and change the &lt;code&gt;/sitecore/layout/Layouts/Sample Layout&lt;/code&gt; Path (in the data section) to point to your new cshtml file. Save and Publish.&lt;/li&gt;&#xA;&lt;li&gt;Browse the website again and verify that you see the &lt;code&gt;I'm tracking you!&lt;/code&gt; message.&lt;/li&gt;&#xA;&lt;li&gt;Now create another file in your &lt;code&gt;App_Config/Include&lt;/code&gt; folder, call it zzz.config, and use this code:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;model&amp;gt;&#xA;      &amp;lt;entities&amp;gt;&#xA;        &amp;lt;contact&amp;gt;&#xA;          &amp;lt;facets&amp;gt;&#xA;            &amp;lt;facet name=&quot;BadFacetSyntax&quot; contract=&quot;BadFacetSyntaxInterface, MyDLLName&quot; /&amp;gt;&#xA;          &amp;lt;/facets&amp;gt;&#xA;        &amp;lt;/contact&amp;gt;&#xA;      &amp;lt;/entities&amp;gt;&#xA;    &amp;lt;/model&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;8&quot;&gt;&#xA;&lt;li&gt;This is basically creating a new facet that does not have everything hooked up into it correctly. If you save this file and try to reload the site, you'll get the Tracker.Current is not initialized error. While this is technically a true statement, the problem lies in some custom code, and not in the configuration of your servers.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am seeing this kind of error whenever there is an exception that happens sometime when the Tracker code is trying to initialize.  So, you will probably want to try to look at some other code (outside of the tracker.initialize), as that is most likely where the error is happening. Good luck!&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="237" LastEditDate="2016-10-05T08:20:31.917" LastActivityDate="2016-10-05T08:20:31.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="125" PostTypeId="1" AcceptedAnswerId="142" CreationDate="2016-09-23T08:53:48.573" Score="11" ViewCount="2780" Body="&lt;p&gt;Just updated a simple instance of Sitecore 8.1 to 8.2, the actual solution contains a simple demo, some templates, items, nothing too complex. All went fine as I followed all the steps from the upgrade document but now when I try to get into Sitecore I get the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Attempt by method 'Glass.Mapper.Sc.Utilities.get_IsPageEditor()' to&#xA;  access method 'Sitecore.Context+PageMode.get_IsPageEditor()' failed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is there a fix for this error somewhere? from the details below it seems to be from Glass and not Sitecore or my code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5gwnO.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5gwnO.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After I removed all Glass packages from packages folder, removed entries from &lt;code&gt;packages.config&lt;/code&gt;, removed all configs and then reinstalled a clean version of &lt;code&gt;Glass.Mapper.SC&lt;/code&gt; and Glass.Mapper.Sc.MVC-5 via nuget on my solution now I get:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not resolve type name:&#xA;  Glass.Mapper.Sc.Pipelines.Response.GetModelFromView,&#xA;  Glass.Mapper.Sc.Mvc (method:&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode&#xA;  configNode, String[] parameters, Boolean assert)).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7w19a.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7w19a.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked with dotPeek and indeed there isn't such method, but not sure why then there is this entry in Glass config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;mvc.getModel&amp;gt;&#xA;        &amp;lt;processor patch:before=&quot;*[@type='Sitecore.Mvc.Pipelines.Response.GetModel.GetFromItem, Sitecore.Mvc']&quot;  type=&quot;Glass.Mapper.Sc.Pipelines.Response.GetModel, Glass.Mapper.Sc.Mvc&quot;/&amp;gt;&#xA;        &amp;lt;processor patch:before=&quot;*[@type='Sitecore.Mvc.Pipelines.Response.GetModel.GetFromItem, Sitecore.Mvc']&quot;  type=&quot;Glass.Mapper.Sc.Pipelines.Response.GetModelFromView, Glass.Mapper.Sc.Mvc&quot;/&amp;gt;&#xA;&amp;lt;/mvc.getModel&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then if I remove this again from config I get another error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Method not found: 'Glass.Mapper.Sc.SitecoreContext&#xA;  Glass.Mapper.Sc.SitecoreContext.GetFromHttpContext(System.String)'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Did anyone managed to have Glass working on a Sitecore 8.2 solution? I am not sure what else can I do to make it work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My package entries:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;package id=&quot;Glass.Mapper.Sc&quot; version=&quot;4.2.1.188&quot; targetFramework=&quot;net452&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;Glass.Mapper.Sc.Core&quot; version=&quot;4.2.1.188&quot; targetFramework=&quot;net452&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;Glass.Mapper.Sc.Mvc-5&quot; version=&quot;3.3.1.48&quot; targetFramework=&quot;net452&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Glass.Mapper.Sc.Mvc.config:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;settings&amp;gt;&amp;lt;/settings&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;mvc.getModel&amp;gt;&#xA;      &amp;lt;processor type=&quot;Glass.Mapper.Sc.Pipelines.Response.GetModel, Glass.Mapper.Sc.Mvc&quot; /&amp;gt;&#xA;    &amp;lt;/mvc.getModel&amp;gt;&#xA;  &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Glass.Mapper.Sc.config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;settings&amp;gt;&amp;lt;/settings&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;mvc.getModel&amp;gt;&#xA;      &amp;lt;processor patch:before=&quot;*[@type='Sitecore.Mvc.Pipelines.Response.GetModel.GetFromItem, Sitecore.Mvc']&quot;  type=&quot;Glass.Mapper.Sc.Pipelines.Response.GetModel, Glass.Mapper.Sc.Mvc&quot; /&amp;gt;&#xA;      &amp;lt;processor patch:before=&quot;*[@type='Sitecore.Mvc.Pipelines.Response.GetModel.GetFromItem, Sitecore.Mvc']&quot;  type=&quot;Glass.Mapper.Sc.Pipelines.Response.GetModelFromView, Glass.Mapper.Sc.Mvc&quot; /&amp;gt;&#xA;    &amp;lt;/mvc.getModel&amp;gt;&#xA;    &amp;lt;getChromeData&amp;gt;&#xA;      &amp;lt;processor type=&quot;Glass.Mapper.Sc.Pipelines.GetChromeData.EditFrameBuilder, Glass.Mapper.Sc&quot; patch:before=&quot;processor[1]&quot; /&amp;gt;&#xA;    &amp;lt;/getChromeData&amp;gt;&#xA;  &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;events&amp;gt;&#xA;    &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;Glass.Mapper.Sc.Events.PublishEnd.GlassCacheClear, Glass.Mapper.Sc&quot; method=&quot;ClearCache&quot; /&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;    &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;Glass.Mapper.Sc.Events.PublishEnd.GlassCacheClear, Glass.Mapper.Sc&quot; method=&quot;ClearCache&quot; /&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;  &amp;lt;/events&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="141" LastEditorUserId="2727" LastEditDate="2018-06-07T13:00:34.170" LastActivityDate="2018-06-07T13:00:34.170" Title="Attempt by method 'Glass.Mapper.Sc.Utilities.get_IsPageEditor()' to access method 'Sitecore.Context+PageMode.get_IsPageEditor()' failed" Tags="|glass-mapper|" AnswerCount="3" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="126" PostTypeId="2" ParentId="125" CreationDate="2016-09-23T09:13:06.260" Score="8" Body="&lt;p&gt;You need to use latest version of glass mapper: &lt;a href=&quot;https://www.nuget.org/packages/Glass.Mapper.Sc/4.2.1.188&quot; rel=&quot;nofollow&quot;&gt;https://www.nuget.org/packages/Glass.Mapper.Sc/4.2.1.188&lt;/a&gt; with Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the new version you have:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; namespace Glass.Mapper.Sc&#xA; {&#xA;   public class Utilities : Glass.Mapper.Utilities&#xA;   {&#xA;       public static bool IsPageEditor&#xA;       {&#xA;           get&#xA;           {&#xA;              return Sitecore.Context.PageMode.IsExperienceEditor;&#xA;           }&#xA;       }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditor.IsPageEditor&lt;/code&gt; is private now, and it was changed with &lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditor.IsExperienceEditor&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="237" LastEditorDisplayName="user357" LastEditDate="2016-10-10T08:50:30.923" LastActivityDate="2016-10-10T08:50:30.923" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="127" PostTypeId="1" AcceptedAnswerId="130" CreationDate="2016-09-23T10:30:43.280" Score="7" ViewCount="1347" Body="&lt;p&gt;How can I configure scheduled tasks in Sitecore to only run on &lt;strong&gt;&lt;em&gt;one&lt;/em&gt;&lt;/strong&gt; of the machines in a load balanced content management (CM) environment?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a task configured via a config include and am using Sitecore 8.0.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-09-23T13:18:13.503" Title="Scheduled tasks on load balanced CM server" Tags="|scheduled-tasks|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="128" PostTypeId="2" ParentId="127" CreationDate="2016-09-23T10:43:55.883" Score="6" Body="&lt;p&gt;Config based tasks will run on the server that it is configured to run on by the presence of the task in its config. In a load balanced CM environment,  if you have a config task that you only want to run on 1 CM server, then have it only show up in the config on one of the servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Okay, that's the easy way but what if one of the CM servers goes down? You still want the task to run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that case, I suggest changing the way the task runs so that it sets a running flag in a db somewhere as soon as it starts.  In other instances, it checks that flag before running and if it exists it stops running.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-23T10:43:55.883" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="129" PostTypeId="2" ParentId="127" CreationDate="2016-09-23T10:46:15.667" Score="2" Body="&lt;p&gt;If you want the task to run only on one dedicated machine you can disable the task agent according to the &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-all-about-sitecore-scheduling-agents-and-tasks&quot; rel=&quot;nofollow&quot;&gt;John's blog post&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Each /configuration/sitecore/scheduling/agent element defines an agent. The type attribute of each  element specifies the .NET class to invoke. The method attribute defines the method of the class that Sitecore will call. The interval attribute defines the minimal interval between invocations of the agent in HH:mm:ss format. A value of 00:00:00 for the interval attribute disables an agent. Comments above the agent definitions in the web.config file describe their functions.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The downside of this solution is that when this machine will not be working your tasks will not run.&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-09-23T11:14:53.777" LastActivityDate="2016-09-23T11:14:53.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="130" PostTypeId="2" ParentId="127" CreationDate="2016-09-23T13:18:13.503" Score="8" Body="&lt;p&gt;I would suggest switch to &lt;strong&gt;Database Tasks&lt;/strong&gt; (/sitecore/system/Tasks/Schedules/), it has out-of-box mechanism to handle scheduled tasks for load balanced environments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The benefit you will have is, it will get invoked only from one of multiple sitecore instance (whatever instance gets first chance) as it maintains state (flag) of Last Run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if the scheduler was run from instance A at 9:00:00. Now, assume that after few minutes, instance B checks to run it, before that it will check the last run time and will compare with the Schedule field (To check frequency of scheduler), and skip its execution as it's already been executed by machine-A.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Make sure to make it Async to avoid time-overlapping between two instances as Last run field considers Task ending time.&lt;/strong&gt; So, if you set it as Async, the starting and end time will be same, and will give more accuracy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CKEI6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CKEI6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference for using it - &lt;a href=&quot;http://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&quot; rel=&quot;noreferrer&quot;&gt;http://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2016-09-23T13:18:13.503" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="131" PostTypeId="1" AcceptedAnswerId="132" CreationDate="2016-09-23T14:46:42.003" Score="10" ViewCount="3337" Body="&lt;p&gt;Our site is resolving some relative urls as languages, where it should be resolving items instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g. &#xA;&lt;code&gt;mydomain.com/eu&lt;/code&gt; should be resolving the item &lt;code&gt;EU&lt;/code&gt; under the &lt;code&gt;home&lt;/code&gt; item. &#xA;Instead, Sitecore is resolving the &lt;code&gt;home&lt;/code&gt; item with the language as &lt;em&gt;Basque (EU)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is an effective way to prevent this from happening?&lt;/p&gt;&#xA;" OwnerUserId="348" LastEditorUserId="2727" LastEditDate="2018-06-07T12:53:11.410" LastActivityDate="2018-06-07T12:53:11.410" Title="How to prevent Sitecore resolving the Language based on the URL" Tags="|multilingual|urls|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="132" PostTypeId="2" ParentId="131" CreationDate="2016-09-23T14:50:35.673" Score="14" Body="&lt;p&gt;If you don't want FilePath based language resolving, simple do below setting in &lt;strong&gt;Sitecore.config&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Languages.AlwaysStripLanguage&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will do nothing but ignoring the &lt;strong&gt;StripLanguage&lt;/strong&gt; processor from &lt;strong&gt;preprocessRequest&lt;/strong&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;By default first item (after domain name), Sitecore checks whether it's a language or not. If it's a registered language of .NET, Sitecore will consider it a language, else will consider it as an Item inside Home. So, above configuration should fix your issue.&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2016-09-23T14:50:35.673" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="134" PostTypeId="1" AcceptedAnswerId="206" CreationDate="2016-09-23T20:35:17.703" Score="8" ViewCount="2693" Body="&lt;p&gt;I store user uploaded files in Media Library, which can later be downloaded by admins. When saving files, I change the file names to guarantee uniqueness, but later when admins download them I want them to see the original or user friendly file name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the line of code behind the download button:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpContext.Current.Response.Redirect(MediaManager.GetMediaUrl(mediaItem));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore uses media item name and the extension stored in &lt;code&gt;Extension&lt;/code&gt; property to construct the default file name. It does not use the display name, nor the title or any other field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that the file name is reflected in the &lt;code&gt;content-disposition&lt;/code&gt; header and looks like &lt;code&gt;attachment;FileName.doc&lt;/code&gt;. I want to know if there is any way I can modify that header in the response of the file download so I can have a chance to include my own logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know, I can create my own custom download handler, but my specific question is regarding intercepting media download requests in Sitecore, which is the preferable method. &lt;/p&gt;&#xA;" OwnerUserId="352" LastEditorUserId="2727" LastEditDate="2018-06-07T12:51:22.150" LastActivityDate="2018-06-07T12:51:22.150" Title="Change default file name when downloading from Media Library" Tags="|media-library|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="135" PostTypeId="2" ParentId="134" CreationDate="2016-09-23T20:49:45.657" Score="2" Body="&lt;p&gt;If you wanted to do that in a pipeline, you should look at the &lt;code&gt;getMediaStream&lt;/code&gt; pipeline. This processes the media for the Sitecore media handler. You could add a new processor in there to set the &lt;code&gt;content-disposition&lt;/code&gt; header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore currently sets headers in a protected method called &lt;code&gt;SendMediaHeaders&lt;/code&gt; in the &lt;code&gt;MediaRequestHandler&lt;/code&gt;. This method:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;Sets the headers.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;stream&quot;&amp;gt;The stream.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;context&quot;&amp;gt;The context.&amp;lt;/param&amp;gt;&#xA;protected virtual void SendStreamHeaders(MediaStream stream, HttpContext context)&#xA;{&#xA;  stream.Headers.CopyTo(context.Response);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;copies the headers from the &lt;code&gt;MediaStream&lt;/code&gt; to the response. So in your processor, you should be able to add a header to the &lt;code&gt;GetMediaStreamPipelineArgs.OutputStream&lt;/code&gt; and they will be added to your response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Bare in mind tho, this will not just affect download links, but also anywhere that a media item is downloaded to the browser (images etc...)&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-23T20:49:45.657" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="136" PostTypeId="1" AcceptedAnswerId="138" CreationDate="2016-09-24T12:58:43.963" Score="10" ViewCount="2177" Body="&lt;p&gt;I've used both Solr and Lucene. The majority of our sites now use SOLR. Heard Azure Search provider will be introduced on 8.2.1 release.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Has anyone played with Azure Search? &lt;/li&gt;&#xA;&lt;li&gt;Does Azure Search use Lucene as a search engine? &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Does Azure Search have a concept of Cores (similar to Solr) so that we can patch per environment?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I assume switching from SOLR to Azure Search will be easy i.e. no code change (just use content search provider)?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="4050" LastEditDate="2019-10-17T17:45:45.553" LastActivityDate="2019-10-17T17:45:45.553" Title="Sitecore Azure Search vs. Solr Provider" Tags="|azure-search|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="137" PostTypeId="2" ParentId="136" CreationDate="2016-09-24T13:37:06.673" Score="2" Body="&lt;p&gt;Azure search uses elastic search as underlying technology. It has indexes (billable unit) as mechanism for multiple content indexes - i would expect no coding change if you only use standard linqtolucene/solr features&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2016-09-24T13:37:06.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="138" PostTypeId="2" ParentId="136" CreationDate="2016-09-24T22:27:42.223" Score="13" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Does azure search uses Lucene as search engine?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Azure Search is Microsoft's response to providing a cloud based indexer. It uses Elastic Search as the underlying driver, but the Elastic Search engine is not directly accessible. Currently Azure Search is only accessible using RESTful Web services or the Azure Resource Manager control panel.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I assume switching from SOLR to Azure Search will be easy i.e. no code&#xA;  change (just use content search provider)?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As for the Sitecore provider, it will hook into Sitecore in a similar fashion to Solr and utilize all of the same Sitecore ContentSearch api.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My initial thoughts are that it's possibly viable so long as all of your Sitecore roles are in Azure and in the same Resource group as well as same virtual network.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any other use or connection and the latency makes indexing so slow that it's not recommended. To give you an idea, it took approximately 9 minutes to index 1000 items from local laptop to Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a full cloud implementation though it is very promising.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Has anyone played with Azure Search? &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Jamie Scott (Slalom) wrote one of the original implementations that works with Sitecore 8.1.  You can find his Github repo here: Sitecore &lt;a href=&quot;https://github.com/jscott1277/SitecoreAzureSearchProvider&quot;&gt;Azure Search Provider for Sitecore 8.1&lt;/a&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a link to the &lt;a href=&quot;https://www.linkedin.com/pulse/sitecore-81-azure-search-provider-part-1-indexing-jamie-scott&quot;&gt;LinkedIn Blog&lt;/a&gt; post he wrote about it.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Does azure search has concept of Cores (similar to Solr) so that we&#xA;  can patch per environment?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Azure Search uses indexes as the primary collection. If you need to use different indexes for a different environment you can setup a different service connection.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-09-24T22:41:18.787" LastActivityDate="2016-09-24T22:41:18.787" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="139" PostTypeId="5" CreationDate="2016-09-25T04:21:57.423" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-09-25T04:21:57.423" LastActivityDate="2016-09-25T04:21:57.423" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="140" PostTypeId="4" CreationDate="2016-09-25T04:21:57.423" Score="0" Body="Questions about the ways Sitecore is configured, including .config files, patching, available settings, etc." OwnerUserId="163" LastEditorUserId="104" LastEditDate="2016-10-30T18:24:41.937" LastActivityDate="2016-10-30T18:24:41.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="141" PostTypeId="2" ParentId="123" CreationDate="2016-09-25T20:51:55.737" Score="3" Body="&lt;p&gt;Hmm. You don't mention if you're using &lt;code&gt;InProc&lt;/code&gt; or &lt;code&gt;mongo&lt;/code&gt; session states. But it might not be relevant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore overrides the default ASP.NET &lt;code&gt;SessionIdManager&lt;/code&gt; manager - not entirely sure why. What is clear however, that it is in this puppy it is controlled, whether a new Session ID should be issued on timeout. So 2 things to try:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add this attribute to your &lt;code&gt;&amp;lt;sessionState&amp;gt;&lt;/code&gt; element. &lt;code&gt;regenerateExpiredSessionId=&quot;true&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And if that doesn't work:&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;remove this attribute from the &lt;code&gt;&amp;lt;sessionState&amp;gt;&lt;/code&gt; element. &lt;code&gt;sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Only option 1 would be a suitable end-all solution to your issue. If you have to take Sitecore's &lt;code&gt;ConditionalSessionIdManager&lt;/code&gt; out of comission, it strongly suggest you have an issue that needs to be brought to Sitecore Support.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-25T20:51:55.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="142" PostTypeId="2" ParentId="125" CreationDate="2016-09-26T01:11:55.190" Score="5" Body="&lt;p&gt;I'm not sure if you're updating Glass Mapper at the same time, but I don't believe the Glass.Mapper.Sc.Mvc-5 package is required as of v4 (Apr 2015).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a look at the &lt;a href=&quot;http://www.glass.lu/Blog/GlassV4&quot; rel=&quot;noreferrer&quot;&gt;v4 release notes&lt;/a&gt; they have simplified things down to one Nuget package: Glass.Mapper.Sc, which also includes the .Mvc dll that you require.  If your Nuget package install doesn't add it automatically, you can find it at &lt;code&gt;&amp;lt;your project&amp;gt;\packages\Glass.Mapper.Sc.Core.4.2.1.188\lib\Mvc5x\Glass.Mapper.Sc.Mvc.dll&lt;/code&gt; (where Mvc5x is the version of MVC you are using).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have Glass Mapper working in 8.2, however when I installed the .Mvc-5 Nuget package you mentioned, I can replicate your &lt;code&gt;Could not resolve type name: Glass.Mapper.Sc.Pipelines.Response.GetModelFromView&lt;/code&gt; issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can't get your project running without this .Mvc-5 Nuget package (you should be able to) let us know what appears to be missing / broken.&lt;/p&gt;&#xA;" OwnerUserId="362" LastActivityDate="2016-09-26T01:11:55.190" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="143" PostTypeId="1" CreationDate="2016-09-26T01:12:08.377" Score="1" ViewCount="195" Body="&lt;p&gt;I looked into sitecore documentation below.&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_delivery_server&lt;/a&gt;&#xA;Is this list comprehensive or we have anything more to take care. Please help.&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="73" LastEditDate="2017-06-08T13:41:06.013" LastActivityDate="2017-06-08T13:41:06.013" Title="I m looking for best practice related to configure content delivery server and content authoring server in production Env" Tags="|deployment|scaling|" AnswerCount="2" CommentCount="0" ClosedDate="2016-09-27T00:46:10.097" ContentLicense="CC BY-SA 3.0" />
  <row Id="144" PostTypeId="2" ParentId="143" CreationDate="2016-09-26T01:24:24.067" Score="1" Body="&lt;p&gt;In regards to server configuration, there is also the equivalent documentation for &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow&quot;&gt;configuring a content management server&lt;/a&gt;.  Make sure you are reading the documentation relevant to the version of Sitecore you are using the version selector dropdown in the right hand column.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should also look into the Security Hardening Guide (on &lt;a href=&quot;https://sdn.sitecore.net&quot; rel=&quot;nofollow&quot;&gt;https://sdn.sitecore.net&lt;/a&gt;, you will need to log in) and the new &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening&quot; rel=&quot;nofollow&quot;&gt;Security Hardening section&lt;/a&gt; for your production environments (and really, for your other environments as well).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have any modules (eg. EXM / WFFM / FXM) you should read the module-specific documentation as they sometimes have different configuration necessary for CM and CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In regards to architecture options there are a number of other pages (for example the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/architecture_overview&quot; rel=&quot;nofollow&quot;&gt;architecture overview&lt;/a&gt;) but it sounds like you're after more specific configuration.&lt;/p&gt;&#xA;" OwnerUserId="362" LastActivityDate="2016-09-26T01:24:24.067" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="146" PostTypeId="2" ParentId="143" CreationDate="2016-09-26T07:36:24.243" Score="1" Body="&lt;p&gt;Sorry for the link-heavy answer, but there's a lot of different options we have:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the Sitecore configuration, you can find the details for Content Management server &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, and the Content Delivery server &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find the details for configuring a reporting server &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_reporting_service_server&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, and the details on the processing server configuration can be &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_processing_server&quot; rel=&quot;nofollow&quot;&gt;found here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net//~/media/F50C507B9BC04FEB9C9D933433A9C3C3.ashx?la=en&quot; rel=&quot;nofollow&quot;&gt;Find here&lt;/a&gt; a downloadable Excel file showing which .config files should be enabled and disabled on Content Management, Content Deliver, Processing or Reporting server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, keep in mind this is only Sitecore 'role' configurations, not touching on hardware, infrastructure and the like, or even things like Security (see Jason's answer), caching or &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb&quot; rel=&quot;nofollow&quot;&gt;xDB configuration&lt;/a&gt;.  &lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2016-09-26T07:36:24.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="147" PostTypeId="1" AcceptedAnswerId="1206" CreationDate="2016-09-26T08:11:02.040" Score="12" ViewCount="574" Body="&lt;p&gt;So I'm coming up on the end of a project cycle; and I want to just give it a good shake around the hinges to see if everything is fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not looking for load testing (imo, load testing locally is pointless) - but my idea is to fire up &lt;code&gt;dotProfile&lt;/code&gt; and &lt;code&gt;dotMemory&lt;/code&gt; then (using a tool) continuously run sessions against the site locally - either following a script or automatic (spidering). Again; not for purposes of load testing - more like leave it running for a couple of hours and see if anything stands out in the traces.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been doing some research myself; but most tools I find are either Spiders/SEO optimizers or load testing tools. I suppose a load testing tool could do the job, but I'm wondering if anyone else has experience they'd like to share.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="246" LastEditDate="2016-10-12T18:08:23.170" LastActivityDate="2016-10-12T18:11:29.560" Title="Tool to test long term execution footprint of your Sitecore solution" Tags="|best-practices|performance-profiling|" AnswerCount="7" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="148" PostTypeId="2" ParentId="115" CreationDate="2016-09-26T08:11:11.583" Score="2" Body="&lt;p&gt;Send me an email with the module name, and the name/email of the contributor and I can add them.&lt;/p&gt;&#xA;" OwnerUserId="282" LastActivityDate="2016-09-26T08:11:11.583" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="149" PostTypeId="2" ParentId="147" CreationDate="2016-09-26T08:57:01.410" Score="0" Body="&lt;p&gt;I use WAPT (&lt;a href=&quot;http://www.loadtestingtool.com/&quot; rel=&quot;nofollow&quot;&gt;http://www.loadtestingtool.com/&lt;/a&gt;) for tests like this. It is in fact a load test tool, but you can define a reasonable load (not to stress the server) and the tool is able to monitor performance monitors on your server as well. You can keep it running for a few hours, based upon a recorded session which you can adapt with many options to make it look like real visitor behavior. Combined with the performance monitoring, this can help you to identify memory/cpu/... usage of your application in 'normal' circumstances.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-09-26T08:57:01.410" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="150" PostTypeId="1" AcceptedAnswerId="153" CreationDate="2016-09-26T10:02:49.767" Score="6" ViewCount="237" Body="&lt;p&gt;I have a nested component structure, where my root element has a placeholder, which contains zero to many sub-components. Each sub-component has it's own price, which gets calculated inside the sub-component itself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the root component, I want to calculate the sum of the sub-component's individual prices. One way to go about this is to have the root component access all the sub-components found inside the given placeholder, fetch the price and calculate the sum. However, I feel that it's not really the proper way to do this. Instead, I would like to have some sort of pub/sub system, where the calculating of each sub-component price would trigger an event, that the root component could listen to etc. The problem is however, that the root component exists multiple times on the same page item, meaning that I somehow need to have a unique identifier that tells which root component each sub-component lives under.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8 with MVC, my question is how this best can be done, while still having a loose coupling between the subcomponents and the root components.&lt;/p&gt;&#xA;" OwnerUserId="29" LastActivityDate="2016-09-26T12:57:51.813" Title="Shared data between root- and subcomponents in placeholder while having a loose coupling between them" Tags="|mvc|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="151" PostTypeId="1" AcceptedAnswerId="152" CreationDate="2016-09-26T10:17:20.877" Score="12" ViewCount="14844" Body="&lt;p&gt;I have a Sitecore template &lt;code&gt;MyTemplate&lt;/code&gt; and a corresponding Glass model &lt;code&gt;MySite.Model.MyTemplate&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my page code, I retrieve a raw &lt;code&gt;Sitecore.Data.Items.Item&lt;/code&gt; object from a legacy data access class. This object represents an item of the template &lt;code&gt;MyTemplate&lt;/code&gt;, but it is still a generic item object, so I have to access its fields like this: &lt;code&gt;item[&quot;FieldName&quot;]&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a quick way to convert this &lt;code&gt;Item&lt;/code&gt; object into a strongly-typed Glass model of the class &lt;code&gt;MySite.Model.MyTemplate&lt;/code&gt;? I want to do this directly in my page code, without replacing the way in which I obtain the item object.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="73" LastEditDate="2016-09-26T11:40:44.017" LastActivityDate="2020-03-23T15:12:34.610" Title="How to convert a Sitecore Item object into a strongly-typed Glass model?" Tags="|glass-mapper|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="152" PostTypeId="2" ParentId="151" CreationDate="2016-09-26T10:29:20.533" Score="11" Body="&lt;p&gt;Instantiate a &lt;code&gt;SitecoreContext&lt;/code&gt; and call the &lt;code&gt;Cast&amp;lt;T&amp;gt;()&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;ISitecoreContext context = SitecoreContext.GetFromHttpContext();&#xA;var myTemplateObject = context.Cast&amp;lt;MySite.Model.MyTemplate&amp;gt;(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="114" LastEditorUserId="104" LastEditDate="2016-09-26T10:59:50.030" LastActivityDate="2016-09-26T10:59:50.030" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="153" PostTypeId="2" ParentId="150" CreationDate="2016-09-26T10:32:52.737" Score="5" Body="&lt;p&gt;I've seen (and tried) many different approaches to this problem. I'm going to propose one, but there will be quite many alternatives. Let's see what the community comes up with.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your first problem is the execution order of your components. In your scenario; the container component will execute its Action before any of the sub-components. There really isn't much that can be done about this; so you're going to have to break down your container component into two separate actions. I would suggest &lt;code&gt;Index&lt;/code&gt; and &lt;code&gt;Sum&lt;/code&gt;. I am also assuming &lt;code&gt;ControllerRendering&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To deal with execution order - this approach can be used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;proceed to output your container html here&amp;lt;div&amp;gt;&#xA;&amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;child-elements&quot;&amp;gt;&#xA;      @Html.Sitecore().Placeholder(&quot;main&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;div class=&quot;summary&quot;&amp;gt;&#xA;      @Html.Sitecore().Placeholder(&quot;sum&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Why does this work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially because the Razor file is processed top-down, we know the &quot;main&quot; Placeholder() call will get executed before the &quot;sum&quot; Placeholder call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this in place; you are ready to communicate. The very simplest approach uses &lt;code&gt;HttpContext.Current.Items&lt;/code&gt;.  At the end of your &lt;code&gt;Index&lt;/code&gt; Action method; do something like &lt;code&gt;HttpContext.Current.Items[&quot;pricesummary&quot;] = new  SummaryResults()&lt;/code&gt; (or even just set it to &lt;code&gt;0d&lt;/code&gt;). Your child elements would then do something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (HttpContext.Current.Items[&quot;pricesummary&quot;] != null)&#xA;    HttpContext.Current.Items[&quot;pricesummary&quot;] += myPrice;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And lastly; your &lt;code&gt;Sum()&lt;/code&gt; Action method would output the sum.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example, you could replace the &quot;sum&quot; Placeholder with a direct call to your action method, if you prefer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly: Jeremy Davis wrote a very decent summary of this problem, with a few more advanced solutions to the problem. Find his post here: &lt;a href=&quot;https://jermdavis.wordpress.com/2016/04/04/getting-mvc-components-to-communicate/&quot; rel=&quot;noreferrer&quot;&gt;Getting MVC Components to Communicate&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-26T10:32:52.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="154" PostTypeId="2" ParentId="150" CreationDate="2016-09-26T11:53:13.033" Score="0" Body="&lt;p&gt;I like the solution from Mark Cassidy better and I never used the following solution myself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could hide the price in the markup.&lt;br&gt;&#xA;Call the placeholder and save the output in a variable. Extract the prices form the markup and add them up.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{var placeholder = Html.Sitecore().Placeholder(&quot;main&quot;);&#xA;int sum = XyzHelper.GetSumFromPlaceholder(placeholder);}&#xA;&amp;lt;div class=&quot;maincomponent&quot;&amp;gt;&#xA;  @placeholder&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's fast implemented and you don't have to change the rendering structure.&lt;br&gt;&#xA;Or instead of calculating the sum in the backend calculate it in the frontend.&lt;/p&gt;&#xA;" OwnerUserId="113" LastActivityDate="2016-09-26T11:53:13.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="155" PostTypeId="2" ParentId="150" CreationDate="2016-09-26T12:16:45.497" Score="5" Body="&lt;p&gt;Given the complexity of the available solutions, and the changing (changed?) nature of web applications, in my opinion the &quot;KISS&quot; approach to this is to do it client side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A subcomponent price change should trigger an AJAX JSON post to recalculate pricing for the root component in which the subcomponent lives. Using a framework like angular or react should allow you to isolate the scope of each &quot;root&quot; component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example fiddle:&#xA;&lt;a href=&quot;https://jsfiddle.net/j1aduqwo/2/&quot; rel=&quot;nofollow&quot;&gt;https://jsfiddle.net/j1aduqwo/2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contents below as well. This would definitely be better done with a Javascript framework that supports data binding (Angular, React, Knockout), and you would want to push all price calculation server-side.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Markup&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This would be the output generated by your MVC components.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;div class=&quot;root&quot; id=&quot;root1&quot;&amp;gt;&#xA;  &amp;lt;h2&amp;gt;&#xA;     Root 1&#xA;  &amp;lt;/h2&amp;gt;&#xA;  &amp;lt;p&amp;gt;&#xA;    &amp;lt;strong&amp;gt;Price: &amp;lt;span class=&quot;price&quot;&amp;gt;$0.00&amp;lt;/span&amp;gt;&amp;lt;/strong&amp;gt;&#xA;  &amp;lt;/p&amp;gt;&#xA;  &amp;lt;div class=&quot;subcomponent&quot;&amp;gt;&#xA;    Subcomponent Qty: &amp;lt;input type=&quot;number&quot; id=&quot;subcomponent1&quot; class=&quot;subcomponent-qty&quot; data-pricetype=&quot;1&quot; /&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;  &amp;lt;div class=&quot;subcomponent type2&quot;&amp;gt;&#xA;    Subcomponent Qty: &amp;lt;input type=&quot;number&quot; id=&quot;subcomponent2&quot; class=&quot;subcomponent-qty&quot; data-pricetype=&quot;2&quot; /&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;  &amp;lt;div class=&quot;subcomponent type2&quot;&amp;gt;&#xA;    Subcomponent Qty: &amp;lt;input type=&quot;number&quot; id=&quot;subcomponent3&quot; class=&quot;subcomponent-qty&quot; data-pricetype=&quot;2&quot; /&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;div class=&quot;root&quot; id=&quot;root2&quot;&amp;gt;&#xA;  &amp;lt;h2&amp;gt;&#xA;     Root 2&#xA;  &amp;lt;/h2&amp;gt;&#xA;  &amp;lt;p&amp;gt;&#xA;    &amp;lt;strong&amp;gt;Price: &amp;lt;span class=&quot;price&quot;&amp;gt;$0.00&amp;lt;/span&amp;gt;&amp;lt;/strong&amp;gt;&#xA;  &amp;lt;/p&amp;gt;&#xA;  &amp;lt;div class=&quot;subcomponent&quot;&amp;gt;&#xA;    Subcomponent Qty: &amp;lt;input type=&quot;number&quot; id=&quot;subcomponent1&quot; class=&quot;subcomponent-qty&quot; data-pricetype=&quot;1&quot; /&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;  &amp;lt;div class=&quot;subcomponent type2&quot;&amp;gt;&#xA;    Subcomponent Qty: &amp;lt;input type=&quot;number&quot; id=&quot;subcomponent2&quot; class=&quot;subcomponent-qty&quot; data-pricetype=&quot;2&quot; /&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Script&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;My jQuery is a little rusty but this should give the general idea.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;$(&quot;.subcomponent-qty&quot;).change(function() {&#xA;    var data = {&#xA;    components: []&#xA;  };&#xA;&#xA;  //construct JSON to represent root component state&#xA;  var root = $(this).closest(&quot;.root&quot;);&#xA;  data.rootId = root[0].id;&#xA;  var prices = root.find(&quot;.subcomponent-qty&quot;).each(function(index,value) {&#xA;    var component = {&#xA;        componentId: value.id,&#xA;      quantity: value.value,&#xA;      type: $(value).attr(&quot;data-pricetype&quot;)&#xA;    };&#xA;    data.components.push(component);&#xA;  });&#xA;&#xA;    //calculate pricing -- this would be replaced with a service call&#xA;  var price = 0;&#xA;  for (var i = 0; i &amp;lt; data.components.length; i++) {&#xA;    var component = data.components[i];&#xA;    var componentPrice = 0;&#xA;    switch (component.type) {&#xA;        case &quot;1&quot;:&#xA;        componentPrice = 1.99;&#xA;        break;&#xA;      case &quot;2&quot;:&#xA;        componentPrice = 2.99;&#xA;    }&#xA;    componentPrice = componentPrice * component.quantity;&#xA;    price += componentPrice;&#xA;  }&#xA;  price = price.toFixed(2);&#xA;&#xA;  //display new price&#xA;  root.find(&quot;.price&quot;).text(&quot;$&quot; + price);&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2016-09-26T12:57:51.813" LastActivityDate="2016-09-26T12:57:51.813" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="156" PostTypeId="1" AcceptedAnswerId="157" CreationDate="2016-09-26T12:47:02.387" Score="0" ViewCount="3014" Body="&lt;p&gt;I have a Sitecore installation in production. Most standard features are being used—Content Editor, Experience Editor, xDB, Experience Profile, Experience Analytics, MVC, custom pipeline processors, Lucene indexes, etc. We're also using a dependency injection container integrated with MVC controllers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore version currently used is &lt;strong&gt;8.1 rev. 151003&lt;/strong&gt; (8.1 Initial Release).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The latest available version is &lt;strong&gt;8.2 rev. 160729&lt;/strong&gt; (8.2 Initial Release).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the biggest benefits of upgrading from 8.1 to 8.2?&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-09-26T12:58:03.497" LastActivityDate="2016-09-26T21:58:23.957" Title="What are the main improvements of Sitecore 8.2, compared to 8.1?" Tags="|upgrade|" AnswerCount="3" CommentCount="1" ClosedDate="2016-09-29T13:23:54.667" ContentLicense="CC BY-SA 3.0" />
  <row Id="157" PostTypeId="2" ParentId="156" CreationDate="2016-09-26T13:05:40.403" Score="10" Body="&lt;p&gt;The &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Initial%20Release/Release%20Notes&quot;&gt;Sitecore 8.2 Release Notes&lt;/a&gt; provide a wealth of information around the changes that come along with 8.2.  I would definitely pay attention to the breaking changes section. Largely, the 8.2 Version of Sitecore was very Developer focused and not as much has changed on the marketing side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically though, the biggest, noticeable, differences in 8.2 include the following short list:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Introduction of Microsoft's Dependency Injection.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore went all in on this. Almost every manager and provider in Sitecore has been refactored into a Lazy Singleton service pattern.  Sitecore also included a nifty way to patch in your own controls. Kam Figy wrote &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot;&gt;the leading blog&lt;/a&gt; discussing how this is used.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;The Cache mechanism has been completely rewired and the Cache class has been removed.&lt;/li&gt;&#xA;&lt;li&gt;All your binaries will need to be recompiled to .NET 4.5.2&lt;/li&gt;&#xA;&lt;li&gt;Solr is now configurable without needing to modify the Global.asax or use a Solr Support Package.&lt;/li&gt;&#xA;&lt;li&gt;All of the Sitecore SPEAK UI components have been precompiled into the DLL, making the content editor and experience editor lightning fast.  This also introduces functionality that allows you to precompile your own view renderings as well.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are many other changes that have come about, but these are the biggest in my opinion.  Others are welcomed and encouraged to add their own thoughts on the pieces they feel are important.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-26T13:05:40.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="158" PostTypeId="1" AcceptedAnswerId="161" CreationDate="2016-09-26T13:08:14.703" Score="15" ViewCount="4323" Body="&lt;p&gt;Sitecore has previously published a &lt;a href=&quot;https://sdn.sitecore.net/Reference/Sitecore%207/CMS%20Performance%20Tuning%20Guide.aspx&quot;&gt;CMS Performance Tuning Guide&lt;/a&gt; for Sitecore 6.x and 7.x on SDN. I do not see any similar content on &lt;a href=&quot;https://doc.sitecore.net/SearchResults#query=performance&amp;amp;kw=Performance&amp;amp;p=Sitecore%20Experience%20Platform&quot;&gt;doc.sitecore.net&lt;/a&gt; for Sitecore 8.x. Is most of the content in the 7.x document on SDN still relevant? Any new considerations on 8.x which have not been documented?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-09-26T14:45:02.023" Title="CMS Performance Tuning for Sitecore 8+" Tags="|performance-optimization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="159" PostTypeId="2" ParentId="92" CreationDate="2016-09-26T13:58:41.600" Score="4" Body="&lt;p&gt;An alternative to using .net code or storing logs in the database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We used the &lt;code&gt;forfiles&lt;/code&gt; command for things like this. Place the command(s together) in a batch file and have that executed as a scheduled task on the server. Works fast and puts no extra load on your .net application.&#xA;You can delete files with it (based on date), adding zip functionality (e.g. with 7zip) should be fairly easy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. to delete all .log files in a path, last modified as least 5 days ago:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;forfiles /S /P &amp;lt;path&amp;gt; /M *.log /D -5 /C &quot;cmd /c del /q @path&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the command (cmd) you could &#xA;More info on the parameters: &lt;a href=&quot;https://technet.microsoft.com/en-us/library/cc753551(v=ws.11).aspx&quot; rel=&quot;nofollow&quot;&gt;https://technet.microsoft.com/en-us/library/cc753551(v=ws.11).aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-09-26T13:58:41.600" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="160" PostTypeId="2" ParentId="158" CreationDate="2016-09-26T14:44:18.483" Score="1" Body="&lt;p&gt;Yes, the Performance Tuning Guide is still valid for CMS. If you see the Performance Tuning Guide page you shared was updated on Jan, 2016 - after release of 8.1, and says it's valid for Sitecore CMS 7.0 or later.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apart from CMS, if you are using xDB, then consider some points covered in - &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/75/xdb_configuration_guide_sc75-a4.pdf&quot; rel=&quot;nofollow&quot;&gt;xDB Configuration Guide&lt;/a&gt;. &lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2016-09-26T14:44:18.483" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="161" PostTypeId="2" ParentId="158" CreationDate="2016-09-26T14:45:02.023" Score="10" Body="&lt;p&gt;The entirety of the CMS Performance Tuning guide that you linked is relevant for Sitecore 8.X. The guidelines and features discussed have not changed. The underlying architecture for some of the elements have changed (such as Caching) but how you tune has not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's not in here are the additional performance improvements that can be done as a result of the changes in 8.2+. For example, the inclusion of Dependency Injection or the precompiling of view renderings, all lead towards improving performance of the core product.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would expect that as Sitecore completes the documentation phase of 8.2, we'll should start to see some performance optimization documentation.  If we don't though, have confidence in knowing that the 7.X documentation is still viable and relavant.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-26T14:45:02.023" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="162" PostTypeId="1" AcceptedAnswerId="164" CreationDate="2016-09-26T15:37:09.193" Score="4" ViewCount="761" Body="&lt;p&gt;We are using some (custom) caches that get cleared when data changes in Sitecore - it's written so that it only clears the cache when items from a certain template are published (we don't want this cache to be thrown away each time an editor publishes a small unrelated content change). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works fine but..  the cache gets filled with data based upon an index query. So if the cache is cleared, and the index is not yet up-to-date before the first request that refills the cache, we are (might be) caching old data. So I started looking into events that we could use after index end. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found an &lt;code&gt;indexing:end&lt;/code&gt; event, but as far as I could see the arguments are .. well, just the index name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is: is there a way to get a list of indexed items? (project is now on Sitecore 8.1 - but a solution on a higher version could also help)&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="246" LastEditDate="2016-09-26T16:41:42.717" LastActivityDate="2016-09-26T16:41:42.717" Title="Get indexed items after index update" Tags="|events|lucene|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="163" PostTypeId="2" ParentId="162" CreationDate="2016-09-26T15:45:36.710" Score="2" Body="&lt;p&gt;To do this you would need to hook into the &lt;code&gt;publish:itemProcessed&lt;/code&gt; event and build a message queue of items that match your template - you could do the message queue many ways, SQL Server, RabbitMQ etc..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in the &lt;code&gt;indexing:end&lt;/code&gt; if you are on the correct delivery index (&lt;code&gt;sitecore_web_index&lt;/code&gt; or a custom one), you can then process any items in the queue you have built. Clear the caches for those items and rebuild from the index or just let the next request build the cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have done this before - you want to make sure that in the &lt;code&gt;publish:itemProcessed&lt;/code&gt; event you exit very quickly if the template does not match and that your code runs fast so it does not slow down the publish process too much.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-26T15:45:36.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="164" PostTypeId="2" ParentId="162" CreationDate="2016-09-26T16:33:44.630" Score="5" Body="&lt;p&gt;When an item is updated in the index, the &lt;code&gt;indexing:updateditem&lt;/code&gt; event is raised with the index name and item ID as parameters. You could add a handler for this event and either clear the cache based on that item, or append to a queue that you then process and clear when the &lt;code&gt;indexing:end&lt;/code&gt; event is fired.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also &lt;code&gt;indexing:deleteitem&lt;/code&gt; and &lt;code&gt;indexing:added&lt;/code&gt; for deletes / adds.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-09-26T16:33:44.630" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="165" PostTypeId="2" ParentId="156" CreationDate="2016-09-26T18:00:52.453" Score="1" Body="&lt;p&gt;One other important change apart from the many goodies mentioned above is the ability to use New Publishing service on asp.net core platform, which would be lot faster performance wise.  Needless to say, you have to consider this with your current project requirements.&lt;/p&gt;&#xA;" OwnerUserId="178" LastActivityDate="2016-09-26T18:00:52.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="166" PostTypeId="1" CreationDate="2016-09-26T20:45:34.843" Score="6" ViewCount="2407" Body="&lt;p&gt;I noticed that in my logs there are a ton of entries like this: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;5920 09:09:26 WARN  Request is redirected to no layout page. Item: sitecore://web/{11111111-1111-1111-1111-111111111111}?lang=en&amp;amp;ver=1 Device: {FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3} (/sitecore/layout/Devices/Default)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I am not seeing any odd visual behavior.   Is there a way to further debug what issue is placing this into the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.1&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="104" LastEditDate="2016-10-30T19:54:53.437" LastActivityDate="2022-11-29T19:28:38.193" Title="Request is redirected to no layout page" Tags="|presentation|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="167" PostTypeId="2" ParentId="166" CreationDate="2016-09-26T20:59:48.997" Score="5" Body="&lt;p&gt;Try clearing this setting:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;RedirectURLPrefixes&quot; value=&quot;/sitecore&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it makes a difference it's a reasonable assumption you got some less than ideal URLs going on in your solution. Like &lt;a href=&quot;http://site.domain/sitecore/content/home/news&quot; rel=&quot;noreferrer&quot;&gt;http://site.domain/sitecore/content/home/news&lt;/a&gt; - that type of thing.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-26T20:59:48.997" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="168" PostTypeId="1" AcceptedAnswerId="172" CreationDate="2016-09-26T21:24:39.670" Score="33" ViewCount="2253" Body="&lt;p&gt;I've heard through the grapevine that Sitecore DLL's can be referenced through the use of NuGet Packages.  I found Sitecore.NuGet, but I don't think that's the right option.  I also found &lt;a href=&quot;https://github.com/sitecore/sitecore-nuget-package-generator&quot; rel=&quot;noreferrer&quot;&gt;this blog post&lt;/a&gt; talking about the Sitecore NuGet Package Generator which looks promising.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems like there are quite a few ways that this is being handled according to Google. I also recall at the Sitecore Symposium 2016, that NuGet package availability might be something Sitecore provides.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, the root of my question is: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is the best way to reference Sitecore DLL's?&lt;/strong&gt; &lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-01-12T19:27:07.060" LastActivityDate="2020-03-24T20:06:23.657" Title="How do I reference Sitecore binaries from NuGet?" Tags="|solution-architecture|nuget|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="170" PostTypeId="2" ParentId="156" CreationDate="2016-09-26T21:58:23.957" Score="7" Body="&lt;p&gt;Some of the more &quot;business focused&quot; changes in Sitecore 8.2 that clients would be interested in also include:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Express Migration tool from Sitecore 7.2 to 8.2&lt;/li&gt;&#xA;&lt;li&gt;Publishing Service making publishing faster and more robust&lt;/li&gt;&#xA;&lt;li&gt;Support for &lt;a href=&quot;http://kamsar.net/index.php/2016/09/Precompiled-Views-with-Sitecore-8-2/&quot;&gt;Precompiled views&lt;/a&gt; making restarts faster after a deployment&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2016/09/05/sitecore-8-2-managing-datasource-components-and-workflow-from-the-experience-editor/&quot;&gt;Numerous improvements&lt;/a&gt; in the Experience Editor&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Highlighting components with datasources set&lt;/li&gt;&#xA;&lt;li&gt;Notification of component datasource workflow state&lt;/li&gt;&#xA;&lt;li&gt;Component Datasource Usage Information (where else it is used and how many times)&lt;/li&gt;&#xA;&lt;li&gt;Overview of all datasources used on a page&lt;/li&gt;&#xA;&lt;li&gt;Editor Notifications and warning that component datasources are also used in other pages or that they are in a non-final workflow state&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Workflow bundling, so approving a page also moves all datasources on the page to the same workflow state&lt;/li&gt;&#xA;&lt;li&gt;Numerous improvements to the analytics tools&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Path Analyser UI rewritten using HTML, react and the d3.js library. This makes it more cross-browser compatible by not relying on Silverlight&lt;/li&gt;&#xA;&lt;li&gt;Marketing Funnels – ability to create and track a funnel within the application&lt;/li&gt;&#xA;&lt;li&gt;Contacts on path allow you to see a list of contacts who visited a particular path.&lt;/li&gt;&#xA;&lt;li&gt;Simple KPI charts to show the average or sum of defined metrics for a given time period&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are also all the bug fixes from previous Sitecore versions rolled into this one. And as well as the changes mentioned by &lt;code&gt;@Pete Navarra&lt;/code&gt; it's worth noting that more than 45 new Abstractions were added to the &lt;code&gt;Sitecore.Abstractions&lt;/code&gt; namespace to replace the static APIs. This will make unit testing easier, which can mean that businesses can be more confident in each release of their software than no regressions have been introduced.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-09-26T21:58:23.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="171" PostTypeId="2" ParentId="166" CreationDate="2016-09-26T21:59:53.313" Score="4" Body="&lt;p&gt;This can happen in two cases -  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;On CD server if there is no sitecore folder, and someone requested &lt;a href=&quot;http://domain/sitecore&quot; rel=&quot;nofollow&quot;&gt;http://domain/sitecore&lt;/a&gt; (This will go to check /sitecore/ item, not folder)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://domain/?sc_itemid=%7B11111111-1111-1111-1111-111111111111%7D&quot; rel=&quot;nofollow&quot;&gt;http://domain/?sc_itemid={11111111-1111-1111-1111-111111111111}&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To know, from such URLs are requested, only easier option is track this is by checking IIS logs at the time of such errors&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2016-09-26T21:59:53.313" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="172" PostTypeId="2" ParentId="168" CreationDate="2016-09-26T22:18:53.473" Score="47" Body="&lt;p&gt;Previously, the 9.1 packages were in a separate feed, as of March 4th 2019, these have now been moved back into the main feed. The &lt;em&gt;NoReferences&lt;/em&gt; packages are still removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To avoid link rot, here are the feed urls for the official feeds:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;For all versions:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;NuGet V3 feed URL (Visual Studio 2015+)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;NuGet V2 feed URL (Visual Studio 2012+)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.myget.org/F/sc-packages/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-packages/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Browse packages&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.myget.org/gallery/sc-packages&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/gallery/sc-packages&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Versioning Updates&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;As of 9.1, The package versions will follow the Product version numbers, this will make it easier to identify which version a package refers to rather than having to look up the revision number for each update. So Sitecore 9.1 packages are versioned &lt;code&gt;9.1.0&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;This is a breaking change!!!&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the separate 9.1 feed, the version numbers followed the binary versions, so the version for 9.1 initial release was &lt;code&gt;12.0.0&lt;/code&gt;, in the new feed they follow the product version, so it will now be &lt;code&gt;9.1.0&lt;/code&gt;, so when you switch to the correct feed, you will have to change your version numbers to match.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;What about the separate 9.1 feed? Will this break my build?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;s&gt;Sitecore are removing the &quot;old 9.1&quot; feed listing from the gallery, but the feed will remain in place for those of you who have already used it. Once you upgrade, you will need to use the original feed for newer packages.&lt;/s&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore have now deprecated the original Sitecore XP 9.1 MyGet feed. After March 31st, 2020 the original 9.1 MyGet feed will not be available. Please make sure you move over to the current feed. More info can be found here: &lt;a href=&quot;https://kb.sitecore.net/articles/686847&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/686847&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;What happened to the &lt;code&gt;.NoReferences&lt;/code&gt; packages?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;With the new updates to the packages, Sitecore have also stopped providing the &lt;code&gt;.NoReferences&lt;/code&gt; packages. This was done to simplify the the process for developers and also the release process for Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But - you can still have a similar behavior with the full packages. Using the &lt;strong&gt;Nuget Package Manager&lt;/strong&gt; you can change the &lt;code&gt;Dependency Behavior&lt;/code&gt; option to &lt;code&gt;Ignore Dependencies&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/28OBQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/28OBQ.png&quot; alt=&quot;Change the dependency behavior&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to use the &lt;strong&gt;Package Manager Console&lt;/strong&gt; you can use the &lt;code&gt;-IgnoreDependencies&lt;/code&gt; flag like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Package -Id &amp;lt;package name&amp;gt; -IgnoreDependencies -ProjectName &amp;lt;project name&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;PackageReference&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For those of you on VS 2017+, you can also migrate to using &lt;code&gt;PackageReference&lt;/code&gt; to reference your nuget packages. This uses the &lt;code&gt;PackageReference&lt;/code&gt; node in the &lt;code&gt;.csproj&lt;/code&gt; file to manage the NuGet dependencies instead of the &lt;code&gt;packages.config&lt;/code&gt; file. This brings a number of benefits that are too numerous to mention here, but you can find out more on the &lt;a href=&quot;https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files&quot; rel=&quot;nofollow noreferrer&quot;&gt;PackageReference page&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Build Servers&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are using a build server, as well as adding this to Visual Studio you will want to update your &lt;code&gt;Nuget.config&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;!--&#xA;  Used to specify the default Sources for list, install and update.&#xA;  --&amp;gt;&#xA;  &amp;lt;packageSources&amp;gt;&#xA;    &amp;lt;add key=&quot;Official Sitecore&quot; value=&quot;&amp;lt;URL to the package feed appropriate for your project&amp;gt;&quot; /&amp;gt;&#xA;  &amp;lt;/packageSources&amp;gt;&#xA;&#xA;  &amp;lt;activePackageSource&amp;gt;&#xA;    &amp;lt;!-- this tells that all of them are active --&amp;gt;&#xA;    &amp;lt;add key=&quot;All&quot; value=&quot;(Aggregate source)&quot; /&amp;gt;&#xA;  &amp;lt;/activePackageSource&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Upgrading your Solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There is a nice post here talking about adding that to your VS solution: &lt;a href=&quot;https://jermdavis.wordpress.com/2016/09/05/the-official-sitecore-nuget-feed-is-here/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jermdavis.wordpress.com/2016/09/05/the-official-sitecore-nuget-feed-is-here/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the main points when using are:&#xA;* There are packages with &lt;code&gt;.NoReferences&lt;/code&gt; suffixed. These are probably the most useful as they don't try to bring in a lot of dependencies you may not need in your project.&#xA;* They set the binaries as &lt;code&gt;CopyLocal=true&lt;/code&gt;, so you may want to change that in your project&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@kamsar wrote a nifty PowerShell script to update your solution to use this: &lt;a href=&quot;http://kamsar.net/index.php/2016/09/Nugetify-your-Sitecore-References/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://kamsar.net/index.php/2016/09/Nugetify-your-Sitecore-References/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Updates:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;March 24th 2020 with new information about the original 9.1 specific MyGet feed.&lt;/li&gt;&#xA;&lt;li&gt;March 26th 2019 with new information about NuGet feeds for 9.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2020-03-24T20:06:23.657" LastActivityDate="2020-03-24T20:06:23.657" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="173" PostTypeId="2" ParentId="168" CreationDate="2016-09-26T22:21:38.663" Score="7" Body="&lt;p&gt;The official Sitcore Nuget feed is hosted on myget.org as @Adam correctly points out the details are in &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&quot;&gt;that document&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also read up more details about setting this up for your project in this &lt;a href=&quot;https://jermdavis.wordpress.com/2016/09/05/the-official-sitecore-nuget-feed-is-here/&quot;&gt;blog post about the nuget feed&lt;/a&gt; but if you have an existing project that you want to migrate all references on, esp on a project which follows Helix guidelines meaning you will have a lot of projects and a lot of references, then this blog post about &lt;a href=&quot;http://kamsar.net/index.php/2016/09/Nugetify-your-Sitecore-References/&quot;&gt;Nugetify your Sitecore References&lt;/a&gt; includes PowerShell scripts to change all the references.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using Visual Studio 2015, rather than adding the Nuget server details from the tools option for each developer (and adding the settings in your build tool), you should &lt;a href=&quot;http://blog.davidebbo.com/2014/01/the-right-way-to-restore-nuget-packages.html&quot;&gt;do it the right way&lt;/a&gt; and add a &lt;code&gt;NuGet.config&lt;/code&gt; file next to your .sln file with the nuget server details:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;packageSources&amp;gt;&#xA;    &amp;lt;add key=&quot;nuget.org&quot; value=&quot;https://www.nuget.org/api/v2/&quot; /&amp;gt;&#xA;    &amp;lt;add key=&quot;Sitecore NuGet Feed&quot; value=&quot;https://sitecore.myget.org/F/sc-packages/&quot; /&amp;gt;&#xA;    &amp;lt;add key=&quot;Internal Nuget Server&quot; value=&quot;http://proget-internal/url-to-feed/&quot; /&amp;gt;&#xA;  &amp;lt;/packageSources&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-09-26T22:21:38.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="174" PostTypeId="2" ParentId="134" CreationDate="2016-09-26T22:56:37.503" Score="4" Body="&lt;p&gt;It used to be possible to add a processor in the &lt;code&gt;getMediaStream&lt;/code&gt; pipeline and then set &lt;code&gt;Content-Disposition=true&lt;/code&gt; header in earlier versions of Sitecore but there have been some changes in the latest versions meaning that technique no longer works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, you should add a handler to &lt;code&gt;media:request&lt;/code&gt; event instead and handle setting the correct headers and sending the file response back there. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DownloadProcessor&#xA;{&#xA;    public void OnMediaRequest(object sender, EventArgs args)&#xA;    {&#xA;        if (!Sitecore.MainUtil.GetBool(Sitecore.Web.WebUtil.GetQueryString(&quot;download&quot;), false))&#xA;            return;&#xA;&#xA;        ForceMediaDownload(request);&#xA;    }&#xA;&#xA;    private void ForceMediaDownload(MediaRequest request)&#xA;    {&#xA;        var mediaItem = MediaManager.GetMedia(request.MediaUri).MediaData.MediaItem;&#xA;&#xA;        var response = request.InnerRequest.RequestContext.HttpContext.Response;&#xA;        response.Clear();&#xA;        response.ContentType = mediaItem.MimeType;&#xA;        response.Headers.Set(&quot;Content-Disposition&quot;, &quot;attachment; filename=&quot; + GetFileName(mediaItem));&#xA;        response.StatusCode = (int)HttpStatusCode.OK;&#xA;        response.BufferOutput = true;&#xA;        mediaItem.GetMediaStream().CopyTo(response.OutputStream);&#xA;        response.Flush();&#xA;        response.End();&#xA;    }&#xA;&#xA;    private static string GetFileName(MediaItem mi)&#xA;    {&#xA;        // or whatever logic you need to determine the file name&#xA;        return (&quot;{0}.{1}&quot;.FormatWith(mi.Name, mi.Extension)).Replace(&quot; &quot;, &quot;-&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then patch the handler in.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;media:request&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Custom.Pipelines.DownloadProcessor, Sitecore.Custom&quot; method=&quot;OnMediaRequest&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now to force download of any media item, ensure that the URL includes the parameter &lt;code&gt;download=1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From your code snippet in your question, you can use this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string mediaURL = WebUtil.AddQueryString(MediaManager.GetMediaUrl(mediaItem), &quot;download&quot;, &quot;1&quot;);&#xA;HttpContext.Current.Response.Redirect(mediaURL);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have previously written a blog post on forcing download of media items which contains more details and expanded code sample, including error checking: &lt;a href=&quot;https://jammykam.wordpress.com/2015/11/16/force-download-of-media-files/&quot; rel=&quot;nofollow&quot;&gt;https://jammykam.wordpress.com/2015/11/16/force-download-of-media-files/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-09-26T22:56:37.503" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="175" PostTypeId="1" AcceptedAnswerId="176" CreationDate="2016-09-26T23:19:56.670" Score="5" ViewCount="498" Body="&lt;p&gt;I'm trying to setup an instance of Sitecore 8.2 so I can see what it's going to take to upgrade my site from Sitecore 8.1 to it. I've heard that Sitecore 8.2 can run SOLR natively (without using IOC), but I can't find any documentation that tells me how to do it. All that I'm able to find are documents describing how to setup SOLR using IOC. Thanks for your help!&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="73" LastEditDate="2016-09-27T09:36:41.647" LastActivityDate="2016-09-27T09:36:41.647" Title="Where can I find the instructions for setting up SOLR without using IOC?" Tags="|solr|dependency-injection|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="176" PostTypeId="2" ParentId="175" CreationDate="2016-09-26T23:27:01.407" Score="2" Body="&lt;p&gt;I've not tried to set this up yet myself, but I can tell you that the solr support package is no longer required. So, I'm going to guess that you can simply enable all of the solr files and disable the lucene files.&lt;/p&gt;&#xA;" OwnerUserId="373" LastActivityDate="2016-09-26T23:27:01.407" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="177" PostTypeId="2" ParentId="175" CreationDate="2016-09-26T23:35:33.497" Score="4" Body="&lt;p&gt;In 8.2; SOLR support comes out of the box. You can optionally add your preferred DI container, but are not required to do so.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Sitecore Solr provider uses an IOC (Inversion of Control)&#xA;  container so that all the elements inside it can be swapped without&#xA;  re-compilation. &lt;strong&gt;The default Sitecore installation includes a default&#xA;  implementation of the Solr connector (SolrNet.dll).&lt;/strong&gt; If you need to use&#xA;  another IOC, download the Solr support package for your version of&#xA;  Sitecore from dev.sitecore.net (in the Additional tools section).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up__maintaining/search_and_indexing/walkthrough_setting_up_solr#_Configuring_an_IOC&quot; rel=&quot;nofollow&quot;&gt;Walkthrough: Setting up Solr&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-26T23:35:33.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="178" PostTypeId="2" ParentId="134" CreationDate="2016-09-27T00:06:49.313" Score="0" Body="&lt;p&gt;If I understand you correctly, you're trying to set the filename when you click on the Download link in Media field on an item in the media library?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T7X9V.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T7X9V.png&quot; alt=&quot;Media item with download link&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if I've misunderstood, and what you're after is somewhere else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is the case, the URL of the download link is in the format &lt;code&gt;http://yoursite/sitecore/shell/download.aspx?file=A17A048DD4214081A5591B061E1E433A&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The relevant code is &lt;code&gt;&amp;lt;your_install&amp;gt;\sitecore\shell\download.aspx&lt;/code&gt; and you'll want to decompile and have a look at &lt;code&gt;Sitecore.Shell.DownloadPage&lt;/code&gt; in &lt;code&gt;Sitecore.Client.dll&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately it doesn't look like this is using any pipelines that you can hook into, so you will have to replace the download.aspx page with your own, that uses your own custom class behind the scenes.  If your class inherits from &lt;code&gt;Sitecore.Shell.DownloadPage&lt;/code&gt;, you can overwrite the &lt;code&gt;WriteMediaItem&lt;/code&gt; method to customise your file name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default (decompiled) version of this (SC8.1) looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void WriteMediaItem(MediaItem mediaItem)&#xA;{&#xA;  Assert.ArgumentNotNull((object) mediaItem, &quot;mediaItem&quot;);&#xA;  Stream mediaStream = mediaItem.GetMediaStream();&#xA;  string str = mediaItem.Extension;&#xA;  if (!str.StartsWith(&quot;.&quot;, StringComparison.InvariantCulture))&#xA;    str = &quot;.&quot; + str;&#xA;  this.WriteCacheHeaders(mediaItem.Name + str, mediaStream.Length);&#xA;  WebUtil.TransmitStream(mediaStream, this.Response, Settings.Media.StreamBufferSize);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where you can see it uses the mediaItem.Name concatenated with the mediaItem.Extension to build the attachment filename (used in the private &lt;code&gt;WriteCacheHeaders&lt;/code&gt; method).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can replace this protected method with your own logic.  As this is a Sitecore file, you should take care when upgrading to ensure that your solution still works and that you track your changes (since the upgrade may overwrite or delete your Sitecore files).&lt;/p&gt;&#xA;" OwnerUserId="362" LastActivityDate="2016-09-27T00:06:49.313" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="179" PostTypeId="2" ParentId="147" CreationDate="2016-09-27T00:46:57.337" Score="2" Body="&lt;p&gt;You could write some scripts using Casper.js which is an automation tool for Phantom.js to exercise the site. Won't cost you anything but a bit of time and Phantom.js already ships with Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="373" LastActivityDate="2016-09-27T00:46:57.337" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="180" PostTypeId="1" AcceptedAnswerId="1051" CreationDate="2016-09-27T08:50:46.587" Score="9" ViewCount="1089" Body="&lt;p&gt;I have a page with &quot;body&quot; placeholder in which I have kept 10 controller renderings on a page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm trying to order the component using Page editor or Content editor, the sort order randomly readjusts by itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know of a fix for this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore 7.5 update 2&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-- UPDATE 1--&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is observed with the Page Editor and Content Editor both.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got an update from Sitecore support as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;As for the changing the controls order in the &lt;strong&gt;Page Editor&lt;/strong&gt;:&#xA;  The issue is indeed server-side and is related to how XML deltas are&#xA;  built and processed.  I've registered the issue as a bug in the&#xA;  current Sitecore version. I've spent quite some time investigating the&#xA;  root cause of the issue and looking for ways to implement the most&#xA;  practical workaround. Unfortunately, the proper patch would be&#xA;  extremely nontrivial to implement and would require the customization&#xA;  of some deep Sitecore logic, which may affect some other parts of&#xA;  Sitecore in unpredictable ways. The only workaround I can provide you&#xA;  with at the moment is the one, that makes an item use full XML&#xA;  representation of page layout instead of a delta one.  &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;As for the changing the controls order in the &lt;strong&gt;Content Editor--&gt;Layout&lt;/strong&gt;&#xA;  Details dialog:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;This issue was fixed in 7.2 rev.160123 (7.2 Update-6). Please get more&#xA;  info on the Release Notes page using the reference #388264&#xA;  &lt;a href=&quot;https://sdn.sitecore.net/SDN5/Products/Sitecore%20V5/Sitecore%20CMS%207/ReleaseNotes/ChangeLog/Release%20History%20SC72.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/SDN5/Products/Sitecore%20V5/Sitecore%20CMS%207/ReleaseNotes/ChangeLog/Release%20History%20SC72.aspx&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;&lt;em&gt;Sitecore Support&lt;/em&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;Note: Though Sitecore Support says its fixed with Sitecore 7.2 update-6 its not working for me in 7.5 update-2.&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-- UPDATE 2--&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Sitecore Support&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Please let me explain the reasons that this issue persists in Sitecore&#xA;  CMS 7.5 U-2 and at the same time was fixed in Sitecore CMS 7.2 U-6.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The reason of that lays in the fact that actually Sitecore CMS 7.2 U-6&#xA;  (January 26, 2016) has been released after Sitecore CMS 7.5 U-2&#xA;  (February 13, 2015).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;I understand that this can look a bit confusing at a first glance, sorry for that.  &lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;&lt;em&gt;Sitecore Support&lt;/em&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;--Final Update--&lt;/strong&gt;  &lt;br&gt;&lt;br&gt;&#xA;Sitecore has provided Hotfix which works as expected. Sitecore Support's reference number for Hotfix is &lt;strong&gt;126989&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="4050" LastEditDate="2019-10-17T17:44:37.203" LastActivityDate="2019-10-17T17:44:37.203" Title="Sitecore Page Editor Issues with Move and Add Components" Tags="|presentation|placeholders|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="181" PostTypeId="2" ParentId="120" CreationDate="2016-09-27T09:39:32.743" Score="2" Body="&lt;p&gt;Found the solution. I used &lt;code&gt;fieldNameFormat=&quot;PREFIX_{0}&quot;&lt;/code&gt; in my &lt;code&gt;fieldMap&lt;/code&gt;.&#xA;This way Sitecore couldn't map my object to the Solr object.&lt;/p&gt;&#xA;" OwnerUserId="333" LastActivityDate="2016-09-27T09:39:32.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="182" PostTypeId="1" AcceptedAnswerId="1301" CreationDate="2016-09-27T13:23:53.950" Score="5" ViewCount="828" Body="&lt;p&gt;This is using Sitecore 8.1 Update 1. When I click the search icon to get the &quot;navigate to item&quot; and search for something in my website, I get a &quot;requested document not found&quot; error. It's quite clearly there, but even something like my home page will throw this error. It's a multi-site setup, but I thought this was supposed to handle that just fine and even facilitate working in multiple sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This message is at the bottom of the page - &quot;If the page you are trying to display exists, please check that an appropriate prefix has been added to the IgnoreUrlPrefixes setting in the web.config.&quot; - but I'd guess that's for any &quot;real&quot; pages - these are definitely Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts? Thanks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/66z33.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/66z33.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/LUhiP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LUhiP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="237" LastEditDate="2016-10-06T13:13:34.457" LastActivityDate="2016-10-13T15:29:46.960" Title="Experience Editor search - requested document not found" Tags="|experience-editor|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="183" PostTypeId="1" CreationDate="2016-09-27T14:41:23.723" Score="12" ViewCount="967" Body="&lt;p&gt;I upgraded my site from Sitecore 7.5 to 8.1,  and following is the code that I'm using to retrieve the page events:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;foreach (PageData page in args.Context.Visit.Pages)&#xA;{&#xA;    if (page.PageEvents != null)&#xA;    {&#xA;         foreach (var pageEvent in page.PageEvents)&#xA;         {&#xA;             if (pageEvent.IsGoal)&#xA;                Log.Error(&quot;Goal: &quot; + pageEvent.Name.ToString(), &quot;PageEventProcessor&quot;);&#xA;         }&#xA;     }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the page events are being retrieved except the goals, Although I can see the following data in the interaction collection in MongoDB:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;&quot;PageEvents&quot; : [&#xA;    {&#xA;        &quot;Name&quot; : &quot;Mobile Click&quot;,&#xA;        &quot;Timestamp&quot; : NumberLong(0),&#xA;        &quot;Data&quot; : &quot;Mohammed Test&quot;,&#xA;        &quot;DataKey&quot; : &quot;650fce89-87bb-4768-ab40-8bc988d7a729&quot;,&#xA;        &quot;Text&quot; : &quot;Location Name and other information&quot;,&#xA;        &quot;PageEventDefinitionId&quot; : LUUID(&quot;e7798282-5362-af4d-80ce-07055fcf3b86&quot;),&#xA;        &quot;IsGoal&quot; : true,&#xA;        &quot;DateTime&quot; : ISODate(&quot;2015-08-23T16:12:21.686Z&quot;),&#xA;        &quot;Value&quot; : 10&#xA;    }&#xA;],&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I doing something wrong in the retrieving code? Is there another code I should use? Any suggestions?.&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="104" LastEditDate="2016-09-27T18:05:00.300" LastActivityDate="2017-03-03T22:33:10.323" Title="Goals not being retrieved from Sitecore xDB ( MongoDB )" Tags="|xdb|aggregation|" AnswerCount="2" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="184" PostTypeId="1" CreationDate="2016-09-27T15:48:26.600" Score="4" ViewCount="342" Body="&lt;p&gt;On Step 3 of 1.2.3 in the upgrade guide, I'm getting a &lt;code&gt;System.OutOfMemoryException&lt;/code&gt; pointing to &lt;code&gt;Sitecore.Update.Utils.FileUtils.SerializeFile(Stream stream, String location)&lt;/code&gt; +137. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Installation wizard installed fine and the &lt;code&gt;UpdateInstallationWizard.aspx&lt;/code&gt; page comes up fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;/sitecore/admin/packages&lt;/code&gt;, it looks like, it tried to write the file &quot;Upgrade from 8.1 rev. 160519 to 8.2 rev. 160720.update&quot;, but it's got zero length.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="20" LastEditorUserId="2727" LastEditDate="2018-06-07T13:34:55.000" LastActivityDate="2018-06-07T13:34:55.000" Title="OutOfMemoryException running the 8.1-&gt;8.2 upgrade wizard" Tags="|upgrade|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="185" PostTypeId="2" ParentId="182" CreationDate="2016-09-27T15:51:19.333" Score="1" Body="&lt;p&gt;It looks like the problem is related to the item you are trying to open. &#xA;For example in the screenshot you posted it is trying to open a page /acli/members/home&#xA;I'm assuming that if you try to open that page on the browser it will throw the same error. can you confirm that?&#xA;if that is the case I think this is your root cause. &#xA;Your site acli_members does it reach those items you see on the results? maybe the site definition + the items path is throwing a 404 so what I would do is try to make sure that with the acli_members site you can open the items that are throwing this error i.e.&#xA;&lt;a href=&quot;http://myacli_membershost/acli/members/home&quot; rel=&quot;nofollow&quot;&gt;http://myacli_membershost/acli/members/home&lt;/a&gt; should be resolved&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-09-27T15:51:19.333" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="186" PostTypeId="1" AcceptedAnswerId="187" CreationDate="2016-09-27T17:15:41.973" Score="25" ViewCount="8464" Body="&lt;p&gt;I have 2 servers:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Content Delivery - the live site pointing to the web database.&lt;/li&gt;&#xA;&lt;li&gt;Content Management - the internal only site pointing to the master database.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I want to prevent access to &lt;code&gt;/sitecore&lt;/code&gt; on the live site, and require Content Editors to access this from the Content Management server.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I lock this down to prevent access from the Content Delivery server?&lt;/p&gt;&#xA;" OwnerUserId="163" LastEditorUserId="2111" LastEditDate="2018-11-23T03:02:05.320" LastActivityDate="2018-11-23T03:02:05.320" Title="How do I disable /sitecore access on a Content Delivery Server?" Tags="|sitecore-client|configuration|security|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="187" PostTypeId="2" ParentId="186" CreationDate="2016-09-27T17:23:19.027" Score="32" Body="&lt;p&gt;There are several pieces of documentation that are available for this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First is &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This contains a collection of documents relevant to your version of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second is &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/75/sitecore_security_hardening_guide-sc75-usletter.pdf&quot;&gt;The Security Hardening Guide&lt;/a&gt; which is the defacto guide for locking down and securing a Content Delivery server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Last, part of the process of locking down a content delivery server is removing all references to the &lt;strong&gt;master&lt;/strong&gt; database.  There is a config &lt;code&gt;SwitchMastertoWeb.config.disabled&lt;/code&gt; that should be included somewhere in your config solution. Rename that to &lt;code&gt;SwitchMasterToWeb.config&lt;/code&gt; and that will remove master from the server references.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-27T17:23:19.027" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="188" PostTypeId="2" ParentId="186" CreationDate="2016-09-27T17:24:23.383" Score="3" Body="&lt;p&gt;You have to restrict access to a few folders and files. you can do that by disabling anonymous access on IIS on the following folders /files as described &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/access_rights/restrict_access_to_the_client&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;p&gt;admin folder&lt;/p&gt;&#xA;&lt;p&gt;login folder&lt;/p&gt;&#xA;&lt;p&gt;shell folder&lt;/p&gt;&#xA;&lt;p&gt;default.aspx page&lt;/p&gt;&#xA;&lt;p&gt;The links shows you how to disabled that as well&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-09-27T17:24:23.383" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="189" PostTypeId="2" ParentId="186" CreationDate="2016-09-27T17:25:28.673" Score="4" Body="&lt;p&gt;You can disable anonymous access in IIS to some key folders as stated here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening/configuring/deny_anonymous_users_access_to_a_folder&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening/configuring/deny_anonymous_users_access_to_a_folder&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/sitecore/admin &lt;/li&gt;&#xA;&lt;li&gt;/sitecore/debug &lt;/li&gt;&#xA;&lt;li&gt;/sitecore/shell/WebService&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It might be a good idea to check the complete security hardening guide. And the guide on how to setup a Content Delivery server (mostly disabling certain features that should not run on a CD).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-09-27T17:25:28.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="190" PostTypeId="1" AcceptedAnswerId="191" CreationDate="2016-09-27T17:26:37.393" Score="3" ViewCount="623" Body="&lt;p&gt;We have a multilingual website based on Sitecore 8.1 rev. 151207 (8.1 Update-1) and Glass Mapper. It has four languages: English, Danish, Swedish and German.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the developers are native English speakers, and some are native German speakers. &lt;em&gt;&quot;Naturally&quot;&lt;/em&gt;, they used their respective Sitecore UI languages in the content editor when creating and editing templates. So we ended up with approximately 100 item templates, with some of them having only an English version, some only German, and some both. The same goes for template fields—actually, some templates have most fields with two language versions, a couple fields in only English or German.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a messy situation, and I believe that mid-term we should spend time on making all templates English-only. But in the meanwhile, I would like to know whether or not this could become an issue short-term. Could this result in errors in some situations? Could it affect language fallback functionality? How much should we prioritize fixing this?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-09-27T17:42:45.360" Title="Are there any issues with having multiple language versions of templates and template fields?" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="191" PostTypeId="2" ParentId="190" CreationDate="2016-09-27T17:42:45.360" Score="4" Body="&lt;p&gt;Messy; sure. But it should be without consequence. Templates and fields are language agnostic; even if the &quot;field items&quot; themselves get created with a language version. All fields on a field template are either &lt;code&gt;[Shared]&lt;/code&gt; or &lt;code&gt;[Unversioned]&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8ultc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8ultc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only exception to this that I'm aware of, is &lt;code&gt;Enable versioned field level fallback&lt;/code&gt;; used in the setup and use of Field Level fallbacks. If you're using that feature, you need to be mindful of its setting on the various language versions you have.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also - but I believe you realise this already - be aware of your &lt;code&gt;__Standard Values&lt;/code&gt; item and versions - for this, it matters what language versions you have created. Likely some Sitecore Powershell Extentions scripting could help clean that up a bit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in summary. If you're not using Field Level Fallback; don't worry too much about this. 'd be nice to clean up, but it should not have any practical impact on your solution - just be careful of Single Language Publishes. They might just go ignore your item if you're publishing only &quot;en&quot; but a field is defined with a &quot;de&quot; language version. If I remember it right; the &lt;code&gt;PublishEmptyItems&lt;/code&gt; setting could influence this behaviour.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-27T17:42:45.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="192" PostTypeId="2" ParentId="186" CreationDate="2016-09-27T17:51:24.210" Score="29" Body="&lt;p&gt;While the above answers are correct; you should concern yourself with more than just restricting access to the &lt;code&gt;/sitecore&lt;/code&gt; folder - there is a very quick and easy way to achieve what you are specifically asking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to &quot;Request Filtering&quot; on your site in IIS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CyOCL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CyOCL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add &quot;sitecore&quot; as a hidden segment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/X34AC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/X34AC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have now effectively blocked access to the &lt;code&gt;/sitecore&lt;/code&gt; folder. I use this option a lot, because it's quick to toggle on and off. In many real life situations, it is helpful for debugging purposes to be able to access &lt;code&gt;/sitecore&lt;/code&gt; on a CD box - so I toggle this while debugging, then blocking it when I'm done.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-27T17:51:24.210" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="194" PostTypeId="1" AcceptedAnswerId="196" CreationDate="2016-09-27T21:35:58.517" Score="4" ViewCount="2043" Body="&lt;p&gt;I am trying to configure a mssql private sessionState database.   I added the following to web.config's :&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;mssql&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot;&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;private&quot;/&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My connection string (with password and domain altered for security):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;add name=&quot;session&quot;&#xA;connectionString=&quot;user id=Sitecore;password=mypassword;Data Source=db.mydomain.com;Database=Sitecore_Sessions;Initial Catalog=Sitecore_Sessions&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, this throws an error at runtime rendering the site useless:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Event code: 3008  Event message: A configuration error has occurred. &#xA;  Event time: 9/27/2016 1:27:20 PM  Event time (UTC): 9/27/2016 8:27:20&#xA;  PM  Event ID: 9b328571e1994ddf8f99ae0ad4d56473  Event sequence: 8 &#xA;  Event occurrence: 1  Event detail code: 0    Application information: &#xA;      Application domain: /LM/W3SVC/1/ROOT-1-131194816187533180 &#xA;      Trust level: Full &#xA;      Application Virtual Path: / &#xA;      Application Path: E:\wwwroot\Sitecore\Website\    Process information: &#xA;      Process ID: 9180 &#xA;      Process name: w3wp.exe &#xA;      Account name: IIS APPPOOL\SitecoreAppPool    Exception information: &#xA;      Exception type: ConfigurationErrorsException &#xA;      Exception message: The SELECT permission was denied on the object 'Application', database 'tempdb', schema 'dbo'. The SELECT permission&#xA;  was denied on the object 'Application', database 'tempdb', schema&#xA;  'dbo'. The INSERT permission was denied on the object 'Application',&#xA;  database 'tempdb', schema 'dbo'.&#xA;  (E:\wwwroot\Sitecore\Website\web.config line 371)    at&#xA;  System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings&#xA;  providerSettings, Type providerType)    at&#xA;  System.Web.SessionState.SessionStateModule.SecureInstantiateProvider(ProviderSettings&#xA;  settings)    at&#xA;  System.Web.SessionState.SessionStateModule.InitModuleFromConfig(HttpApplication&#xA;  app, SessionStateSection config)    at&#xA;  System.Web.SessionState.SessionStateModule.Init(HttpApplication app)&lt;br&gt;&#xA;  at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers)    at&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context)    at&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context)    at&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The SELECT permission was denied on the object 'Application', database&#xA;  'tempdb', schema 'dbo'. The SELECT permission was denied on the object&#xA;  'Application', database 'tempdb', schema 'dbo'. The INSERT permission&#xA;  was denied on the object 'Application', database 'tempdb', schema&#xA;  'dbo'.    at System.Data.SqlClient.SqlConnection.OnError(SqlException&#xA;  exception, Boolean breakConnection, Action&lt;code&gt;1 wrapCloseInAction)    at&#xA;  System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject&#xA;  stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at&#xA;  System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior,&#xA;  SqlCommand cmdHandler, SqlDataReader dataStream,&#xA;  BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject&#xA;  stateObj, Boolean&amp;amp; dataReady)    at&#xA;  System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,&#xA;  RunBehavior runBehavior, String resetOptionsString)    at&#xA;  System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior&#xA;  cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean&#xA;  async, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite, SqlDataReader&#xA;  ds, Boolean describeParameterEncryptionRequest)    at&#xA;  System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior&#xA;  cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String&#xA;  method, TaskCompletionSource&lt;/code&gt;1 completion, Int32 timeout, Task&amp;amp; task,&#xA;  Boolean asyncWrite)    at&#xA;  System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1&#xA;  completion, String methodName, Boolean sendToPipe, Int32 timeout,&#xA;  Boolean asyncWrite)    at&#xA;  System.Data.SqlClient.SqlCommand.ExecuteNonQuery()    at&#xA;  Sitecore.SessionProvider.Sql.SqlSessionStateStore.GetApplicationIdentifier(String&#xA;  name)    at&#xA;  Sitecore.SessionProvider.Sql.SqlSessionStateProvider.Initialize(String&#xA;  name, NameValueCollection config)    at&#xA;  System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings&#xA;  providerSettings, Type providerType)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Request information: &#xA;Request URL: http://localhost/ &#xA;Request path: / &#xA;User host address: 127.0.0.1 &#xA;User:  &#xA;Is authenticated: False &#xA;Authentication Type:  &#xA;Thread account name: IIS APPPOOL\SitecoreAppPool    Thread information: &#xA;Thread ID: 9 &#xA;Thread account name: IIS APPPOOL\SitecoreAppPool &#xA;Is impersonating: False &#xA;Stack trace:    at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;providerSettings, Type providerType)    at&#xA;  System.Web.SessionState.SessionStateModule.SecureInstantiateProvider(ProviderSettings&#xA;  settings)    at&#xA;  System.Web.SessionState.SessionStateModule.InitModuleFromConfig(HttpApplication&#xA;  app, SessionStateSection config)    at&#xA;  System.Web.SessionState.SessionStateModule.Init(HttpApplication app)&lt;br&gt;&#xA;  at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers)    at&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context)    at&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context)    at&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It appears that this could be is a permissions issue, but wouldn't permissions get reset on the tempdb every time the SQL server is rebooted?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;UPDATE:  I can duplicate this behavior in SQL Management studio.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;USE [Sitecore_sessions]&#xA;SELECT * FROM [dbo].[Applications]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Returns the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Msg 229, Level 14, State 5, Line 2 The SELECT permission was denied on&#xA;  the object 'Application', database 'tempdb', schema 'dbo'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;That is because dbo.Applications is a synonym that points to tempdb.   :-(&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="237" LastEditDate="2016-10-10T08:47:27.973" LastActivityDate="2016-10-10T08:47:27.973" Title="Configuring private sessionState database raises runtime error:" Tags="|sql-database|session-state|" AnswerCount="3" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="195" PostTypeId="2" ParentId="194" CreationDate="2016-09-27T22:08:56.447" Score="1" Body="&lt;p&gt;You don't provide the ConnectionString for &lt;code&gt;sharedsession&lt;/code&gt; which is probably wise. I am also making the assumption based on this that you are using SQL Server for session state, not MongoDb.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I will paste the one from the config and confirm a few things.  The error that you are seeing definitely seems to indicate that Sitecore can't talk to the SQL Server Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.) Check to make sure your connection string is correct.&#xA;It should be in the following format&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;sharedsession&quot; connectionString=&quot;user id=_sql_server_user_;password=_user_password_;Data Source=_sqlserver_;Database = _sharedSession_database_name_&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;_sql_server_user_&lt;/strong&gt; = the user name you use for sitecore databases. Also ensure that the user has dbo access to the session database.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;_user_password_&lt;/strong&gt; is set to the appropriate password.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;_sharedSession_database_name_&lt;/strong&gt; = the name of your session database.  The default is &lt;em&gt;Sitecore.Session&lt;/em&gt; for SQL Server.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;2.) Next, make sure that the Sitecore.Session database is accessible with that username and password combo. I generally use SQL Server Management Studio for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.) Go to the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&quot; rel=&quot;nofollow&quot;&gt;Walkthrough for Setting up SQL Server Shared Session State&lt;/a&gt; and make scroll down to &lt;strong&gt;Configure Sitecore&lt;/strong&gt;. Ensure that your Sitecore configs are patched appropriately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue you're seeing is definitely a configuration, connection string, or permission issue.  You mention &lt;strong&gt;tempdb&lt;/strong&gt; making me think that your connection string may be set wrong.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-09-27T22:08:56.447" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="196" PostTypeId="2" ParentId="194" CreationDate="2016-09-27T22:23:27.027" Score="3" Body="&lt;p&gt;It is a permissions issue. You've not shared your actual connection string &lt;code&gt;sharedsession&lt;/code&gt; but the end result will be the same, the account you're using to connect to SQL does not have sufficient permissions. My first course of action would be to attempt a connection string based on the &lt;code&gt;sa&lt;/code&gt; account and see if the problem goes away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default SQL session state is based on tempdb so you're right; setting permissions directly on that will be lost after restart. You can however opt to install a permanent version.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you use the default InstallSqlState.sql and UninstallSqlState.sql&#xA;  script files to configure ASP.NET SQL Server mode session state&#xA;  management, note that these files add the ASPStateTempSessions and the&#xA;  ASPStateTempApplications tables to the tempdb database in SQL Server&#xA;  by default. Furthermore, if you restart SQL Server, you lose the&#xA;  session state data that was stored in the ASPStateTempSessions and the&#xA;  ASPStateTempApplications tables.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;For setting up a permanent version; refer to &lt;a href=&quot;https://support.microsoft.com/en-us/kb/311209&quot; rel=&quot;nofollow noreferrer&quot;&gt;HOW TO: Configure ASP.NET for Persistent SQL Server Session State Management&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to stick with the default setup, use an Integrated connection string, then grant your IIS AppPool user (or whatever user you use to connect) the following permissions on the &lt;code&gt;ASPState&lt;/code&gt; database:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;datareader&lt;/li&gt;&#xA;&lt;li&gt;datawriter&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Qh0hZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qh0hZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-09-27T22:23:27.027" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="197" PostTypeId="2" ParentId="194" CreationDate="2016-09-27T22:23:49.843" Score="1" Body="&lt;p&gt;Your connection string is going to provide info on what user it is using to connect to SQL Server. Seems like you are using Integrated windows authentication and site running under IIS APPPOOL\SitecoreAppPool. Couple of things:&#xA;1- Make sure you restore/attach the Sessions database provided by Sitecore and that is the database being pointed to in the corresponding connectionstring&#xA;2 - Make sure this app pool user can access the session's database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this below thread which has some suggested solutions:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/1933134/add-iis-7-apppool-identities-as-sql-server-logons&quot;&gt;https://stackoverflow.com/questions/1933134/add-iis-7-apppool-identities-as-sql-server-logons&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another small thing to note, the nomenclature is to use connectionstring=&quot;session&quot; when sessionType=&quot;private&quot; and sharedsession when sessiontype=&quot;shared&quot; . Please check this page for detailed walkthrough and see what else is to be done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/xdb/session_state/walkthrough_configuring_a_private_session_state_database_using_the_sql_server_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/xdb/session_state/walkthrough_configuring_a_private_session_state_database_using_the_sql_server_provider&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="178" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-09-27T22:23:49.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="199" PostTypeId="1" AcceptedAnswerId="210" CreationDate="2016-09-27T23:10:37.583" Score="5" ViewCount="1689" Body="&lt;p&gt;I'm upgrading my site from Sitecore 8.1 to Sitecore 8.2, and one of the compile errors that I'm getting is &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;CS1503    Argument 3: cannot convert from 'long' to&#xA;  'System.EventHandler'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As I'm looking into this, I think that I remember reading how Sitecore completely changed the cache working in 8.2, and therefore I will need to change my code as well. Can someone provide an overview of what kind of changes I'll need to make to my code so that I can run on 8.2?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This class is based on the Sitecore.Caching.CustomCache class.&#xA;Here's the code that I'm having problems with:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public void SetObject(string key, object content)&#xA;    {&#xA;        base.SetObject(key, content, EstimateObjectSize(content));&#xA;    }&#xA;&#xA;    private long EstimateObjectSize(object obj)&#xA;    {&#xA;        long size = 0;&#xA;        try&#xA;        {&#xA;            using (Stream s = new MemoryStream())&#xA;            {&#xA;                BinaryFormatter formatter = new BinaryFormatter();&#xA;                formatter.Serialize(s, obj);&#xA;                size = s.Length;&#xA;            }&#xA;        }&#xA;        catch(SerializationException)&#xA;        {&#xA;            // object cannot be serialized so just return 0&#xA;            size = 0;&#xA;        }&#xA;        return size;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code is complaining about the base.SetObject call (with the EstimateObjectSize) method. I understand that I need to change my object, and having read that document that Mark posted, I still am not sure what changes need to be done. It seems as if the SetObject method has changed from holding content to holding some sort of event, and I can't wrap my head around how this is supposed to work. I'm sorry for the vague/generic original post, I'll try to be more specific in the future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help!&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="616" LastEditDate="2019-03-14T08:26:39.410" LastActivityDate="2019-09-19T17:15:27.020" Title="Sitecore.Caching.CustomCache changes with 8.2" Tags="|caching|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="201" PostTypeId="1" AcceptedAnswerId="207" CreationDate="2016-09-28T09:49:52.927" Score="7" ViewCount="1159" Body="&lt;p&gt;I upgraded my site from 7.5 to 8.1 and when I try to click on Sitecore logout link I have the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Multiple types were found that match the controller named 'Authentication'. &#xA;    This can happen if the route that services this request ('sitecore/shell/api/sitecore/{controller}/{action}') &#xA;    does not specify namespaces to search for a controller that matches the request. If this is the case,&#xA;    register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' &#xA;    parameter.   &#xA;    The request for 'Authentication' has found the following matching controllers:&#xA;    Sitecore.Controllers.AuthenticationController&#xA;    A.B.Controllers.AuthenticationController&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My question is how I can change the controller name for Sitecore logout to use the full name of the controller I mean with namespace? &lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="73" LastEditDate="2016-09-28T09:59:48.570" LastActivityDate="2016-09-30T12:44:19.100" Title="How to override/replace the default Sitecore Authentication Controller" Tags="|mvc|dependency-injection|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="202" PostTypeId="2" ParentId="201" CreationDate="2016-09-28T10:08:00.827" Score="2" Body="&lt;p&gt;You should use method &lt;code&gt;RouteTable.Routes.MapRoute&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.web.mvc.routecollectionextensions.maproute%28v=vs.118%29.aspx?f=255&amp;amp;MSPPError=-2147217396#M:System.Web.Mvc.RouteCollectionExtensions.MapRoute%28System.Web.Routing.RouteCollection,System.String,System.String,System.Object,System.String[]%29&quot; rel=&quot;nofollow&quot;&gt;documentation&lt;/a&gt; for it from MSDN.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are interested in this call:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static Route MapRoute(&#xA;    this RouteCollection routes,&#xA;    string name,&#xA;    string url, // this is the url you should match&#xA;    object defaults,&#xA;    string[] namespaces // here you can define the namespace(s) you want to use&#xA;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;UPDATE&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The MapRoute method can be used to map url to a certain controller and action. In case of conflicting names it allows you to specify two &lt;strong&gt;different&lt;/strong&gt; urls (routes) so that MVC knows which controler to use&lt;/p&gt;&#xA;&#xA;&lt;p&gt;eg.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you have two controllers for Settings - &lt;code&gt;Special.Controllers.FooController&lt;/code&gt; and &lt;code&gt;Controllers.FooController&lt;/code&gt; you can use MapRoute in a following way:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;MapRoute(&quot;Special_route&quot;, &quot;/special/{controller}/{action}&quot;, new {}, new [] { &quot;Special.Controllers&quot; })&#xA;MapRoute(&quot;Regular_route&quot;, &quot;/{controller}/{action}&quot;, new {}, new [] { &quot;Controllers&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However in your case this might not be a good approach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore's MVC model is slightly different from the pure ASP.NET MVC and almost all request are routed throug single route &lt;code&gt;sitecore/shell/api/sitecore/{controller}/{action}&lt;/code&gt;. Thus you could only replace Sitecore controller but this might not be a good idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would agree with Richard's suggestion to rename your controller.&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="70" LastEditDate="2016-09-30T12:44:19.100" LastActivityDate="2016-09-30T12:44:19.100" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="203" PostTypeId="1" AcceptedAnswerId="204" CreationDate="2016-09-28T10:40:03.073" Score="6" ViewCount="896" Body="&lt;p&gt;I have a rich text field in my user defined template and I want to replace the source value of the rich text field. Below is my query where I'm able to read &lt;code&gt;Name&lt;/code&gt;, &lt;code&gt;type&lt;/code&gt; etc, however &lt;code&gt;$_.source&lt;/code&gt; is something which returns nothing though the source value still exists. Any help please.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$targetTemplate    = Get-Item 'master:/sitecore/templates/User Defined/Common/Data';&#xA;$templateFilter    = Get-Item &quot;master:/sitecore/templates/System/Templates/Template Field&quot;;&#xA;&#xA;Get-ChildItem $targetTemplate.FullPath -recurse &#xA;| Where-Object { $_.TemplateName -eq $templateFilter.Name -and $_.type -eq 'Rich Text'} &#xA;| ForEach-Object {&#xA;    $($_.source)&#xA;    #$_.Name&#xA;    #$_.Type&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="102" LastEditorUserId="277" LastEditDate="2018-05-23T09:47:42.013" LastActivityDate="2018-05-23T09:47:42.013" Title="Unable to get value of $_.Source using SPE" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="204" PostTypeId="2" ParentId="203" CreationDate="2016-09-28T10:55:44.210" Score="6" Body="&lt;p&gt;Change your script in a following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$targetTemplate    = Get-item 'master:/sitecore/templates/User Defined/Common/Data';&#xA;$templateFilter    = Get-Item &quot;master:/sitecore/templates/System/Templates/Template Field&quot;;&#xA;&#xA;&#xA;Get-ChildItem $targetTemplate.FullPath -recurse | Where-Object { $_.TemplateName -eq $templateFilter.Name -and $_.type -eq 'Rich Text'} | ForEach-Object {&#xA;    $_._Source # &amp;lt;- Here's the change, added underscore before the Source&#xA;    $_.Name&#xA;    $_.Type&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-09-28T11:33:46.000" LastActivityDate="2016-09-28T11:33:46.000" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="205" PostTypeId="2" ParentId="199" CreationDate="2016-09-28T14:46:53.240" Score="4" Body="&lt;p&gt;Low-level API changes are too numerous to document here, but from a high level:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &lt;code&gt;CacheManager&lt;/code&gt; has now been abstracted to a &lt;code&gt;BaseCacheManager&lt;/code&gt;, in line with many of the other Dependency Injection changes in 8.2.&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;Cache&lt;/code&gt; class has been abstracted to an &lt;code&gt;ICache&lt;/code&gt;, allowing for other cache implementations in the future (e.g. Redis).&lt;/li&gt;&#xA;&lt;li&gt;Statics on the &lt;code&gt;Cache&lt;/code&gt; class for finding/creating a cache are no longer present -- you must utilize the &lt;code&gt;CacheManager&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;The base cache implementation can now estimate object sizes itself, and all size arguments have been eliminated from the &lt;code&gt;Add&lt;/code&gt; overloads on the cache. So above in your question, you can simply eliminate your third argument. The event handler it is looking for in your compiler error is an optional callback for when the object is removed from the cache.&lt;/li&gt;&#xA;&lt;li&gt;If you really want to handle the size calculation yourself, there is the an &lt;code&gt;ICacheSizeCalculationStrategy&lt;/code&gt;, which is set on a property of &lt;code&gt;Cache&amp;lt;T&amp;gt;&lt;/code&gt;, but the setter appears to be &lt;code&gt;private&lt;/code&gt; at this time. You would need to provide your own &lt;code&gt;ICache&lt;/code&gt; implementation. But this really is overkill -- in most production deployments you'll be disabling cache size limitations anyway.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can find &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/cache-api-changes.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;more details on the changes&lt;/a&gt; in the Sitecore documentation.&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2019-09-19T17:15:27.020" LastActivityDate="2019-09-19T17:15:27.020" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="206" PostTypeId="2" ParentId="134" CreationDate="2016-09-28T14:51:21.603" Score="4" Body="&lt;p&gt;Here is the my final solution after the leads from other answers here. I use the media:request event along with the lesser known AddOnSendingHeaders method on Request object that basically gives me a final chance to change headers before IIS sends the request to the client.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ChangeFileName&#xA;{&#xA;    public void OnMediaRequest(object sender, EventArgs args)&#xA;    {&#xA;        SitecoreEventArgs eventArgs = args as SitecoreEventArgs;&#xA;&#xA;        MediaRequest mediaRequest = eventArgs?.Parameters?[0] as MediaRequest;&#xA;        if (mediaRequest == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        MediaItem mediaItem = MediaManager.GetMedia(mediaRequest.MediaUri).MediaData.MediaItem;&#xA;        if(mediaItem == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        HttpRequest request = mediaRequest.InnerRequest;&#xA;&#xA;        request.RequestContext.HttpContext.Response.AddOnSendingHeaders(context =&amp;gt;&#xA;        {&#xA;            if (CheckFileType(mediaItem))&#xA;                context.Response.Headers[&quot;Content-Disposition&quot;] = FixFileName(context.Response.Headers[&quot;Content-Disposition&quot;]));&#xA;        });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then of course, I had to add the event handler to the config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;media:request&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;MyAssembly.ChangeFileName, MyAssembly&quot; method=&quot;OnMediaRequest&quot;/&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="352" LastEditorUserId="70" LastEditDate="2016-09-29T12:56:22.747" LastActivityDate="2016-09-29T12:56:22.747" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="207" PostTypeId="2" ParentId="201" CreationDate="2016-09-28T15:15:09.503" Score="4" Body="&lt;p&gt;The simplest solution here seems to be to update your custom controller &lt;code&gt;A.B.Controllers.AuthenticationController&lt;/code&gt; to have a unique name so that it doesn't conflict with the Sitecore one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The risk of trying to change the Sitecore references to that controller are high and it would potentially make any future upgrades more complex as you would have to make sure that customization was carried over. I would just change your custom &lt;code&gt;A.B.Controllers.AuthenticationController&lt;/code&gt; to a new name or a new Area and that should solve the issue.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-28T15:15:09.503" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="208" PostTypeId="5" CreationDate="2016-09-28T15:39:33.177" Score="0" Body="&lt;p&gt;Dependency injection (DI) is a technique for achieving loose coupling between objects and their collaborators, or dependencies. Without dependency injection, a class must directly instantiate collaborator or use static references. With dependency injection, the objects a class need are provided for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dependency_injection&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dependency_injection&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore-community.github.io/docs/documentation/IoC/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore-community.github.io/docs/documentation/IoC/index.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T07:07:45.683" LastActivityDate="2018-02-14T07:07:45.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="209" PostTypeId="4" CreationDate="2016-09-28T15:39:33.177" Score="0" Body="Anything related to the use of Dependency Injection (DI)/IoC containers on a Sitecore solution. This also includes the baked-in Microsoft Dependency Resolver included natively in Sitecore versions 8.2 and above." OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-09-29T18:56:26.863" LastActivityDate="2016-09-29T18:56:26.863" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="210" PostTypeId="2" ParentId="199" CreationDate="2016-09-28T16:22:14.257" Score="4" Body="&lt;p&gt;Based on your code snippet above, and compared with what I'm doing with my custom caches, you don't have to call &lt;code&gt;base.SetObject()&lt;/code&gt;.  As long as you provide a &lt;code&gt;long maxSize&lt;/code&gt; in the base constructor call, the CustomCache class will take care of the rest. One of the changes Sitecore made was removing the need to calculate the size of your cache object. The new cache provider will do that for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a code snippet (below) from my Dynamic Sites Manager, where I'm creating a custom cache based off of CustomCache class, and updated for Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would just remove the need to call &lt;code&gt;base.SetObject()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System.Collections;&#xA;using Sitecore.Caching;&#xA;using Sitecore.SharedSource.DynamicSites.Utilities;&#xA;using Sitecore.Sites;&#xA;namespace Sitecore.SharedSource.DynamicSites.Caching&#xA;{&#xA;    internal class SiteCache : CustomCache&#xA;    {&#xA;        public SiteCache(long maxSize) : base(DynamicSiteSettings.CacheKey, maxSize)&#xA;        {&#xA;        }&#xA;&#xA;        //AddSite&#xA;        public void AddSite(Site siteItem)&#xA;        {&#xA;            if (ContainsSite(siteItem))&#xA;            {&#xA;                RemoveSite(siteItem);&#xA;            }&#xA;&#xA;            var cacheItem = new SiteCacheItem(siteItem);&#xA;            InnerCache.Add(siteItem.Name, cacheItem);&#xA;        }&#xA;&#xA;        //GetSite&#xA;        public Site GetSite(string name)&#xA;        {&#xA;            if (!ContainsSite(name)) return null;&#xA;            return (Site)InnerCache.GetValue(name);&#xA;        }&#xA;&#xA;        private void RemoveSite(Site siteItem)&#xA;        {&#xA;            if (ContainsSite(siteItem))&#xA;            {&#xA;                //Refresh Information&#xA;                InnerCache.Remove(siteItem.Name);&#xA;            }&#xA;        }&#xA;&#xA;        //GetAllSites&#xA;        public SiteCollection GetAllSites()&#xA;        {&#xA;            return GetAllSites(InnerCache.GetCacheKeys());&#xA;        }&#xA;&#xA;        //ContainsSite&#xA;        public bool ContainsSite(Site siteItem)&#xA;        {&#xA;            return InnerCache.ContainsKey(siteItem.Name);&#xA;        }&#xA;&#xA;        private bool ContainsSite(string name)&#xA;        {&#xA;            return InnerCache.ContainsKey(name);&#xA;        }&#xA;&#xA;        // Count&#xA;        public int Count()&#xA;        {&#xA;            return InnerCache.Count;&#xA;        }&#xA;&#xA;        public SiteCollection GetAllSites([NotNull] IEnumerable orderedList)&#xA;        {&#xA;            var collection = new SiteCollection();&#xA;&#xA;            foreach (string siteName in orderedList)&#xA;            {&#xA;                collection.Add(GetSite(siteName));&#xA;            }&#xA;&#xA;            return collection;&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To expand upon why you are seeing this, base.SetObject() was changed from 3 arguments to two, and then  another overload was added to handle an event.  This is  why you are seeing the event handler.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Data;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Diagnostics.PerformanceCounters;&#xA;using System;&#xA;&#xA;namespace Sitecore.Caching.Generics&#xA;{&#xA;  public abstract class CustomCache&amp;lt;TKey&amp;gt;&#xA;  {&#xA;    ...&#xA;    protected void SetObject(TKey key, object value)&#xA;    {&#xA;      if (!this.Enabled)&#xA;        return;&#xA;      this.cache.Add(key, value);&#xA;    }&#xA;&#xA;    protected void SetObject(TKey key, object value, EventHandler&amp;lt;EntryRemovedEventArgs&amp;lt;TKey&amp;gt;&amp;gt; removedHandler)&#xA;    {&#xA;      if (!this.Enabled)&#xA;        return;&#xA;      this.cache.Add(key, value, removedHandler);&#xA;    }&#xA;    ...&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="70" LastEditDate="2016-09-30T12:46:12.080" LastActivityDate="2016-09-30T12:46:12.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="211" PostTypeId="1" AcceptedAnswerId="213" CreationDate="2016-09-28T17:42:35.477" Score="9" ViewCount="855" Body="&lt;p&gt;I have a bunch of templates that have a Coveo Search Box View rendering associated with the standard values. I need to update the property &quot;Reveal Advanced Query Suggestions&quot; of all of them(a lot of templates in this case) and set them all to checked = false. Although I could manually update them all I'm looking for an automated way of doing such a task. Anyone have done anything similar using Sitecore PowerShell?&#xA;I do have the PowerShell documentation and if I spend some time and play with it I'll figure that script on my own just wondering if anyone has ever done anything similar that they could share?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="4050" LastEditDate="2019-10-17T18:17:46.710" LastActivityDate="2019-10-17T18:17:46.710" Title="Update same rendering of several templates using SPE" Tags="|powershell-extensions|coveo|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="213" PostTypeId="2" ParentId="211" CreationDate="2016-09-28T18:57:24.953" Score="12" Body="&lt;p&gt;Quick test confirms that the following allows you to set a rendering parameter on existing items.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Path to the Coveo rendering you need to update&#xA;$rendering = Get-Item &quot;master:\sitecore\layout\Sublayouts\Sample Sublayout&quot;&#xA;&#xA;# Update this value for the path of all the templates whose std vals you wish to update&#xA;$items = Get-ChildItem -recurse master:\sitecore\templates\Sample&#xA;&#xA;$items | % {&#xA;    $renderingInstance = Get-Rendering -Item $_ -Rendering $rendering&#xA;    if ($renderingInstance) {&#xA;        Set-Rendering -Item $_ -Instance $renderingInstance -Parameter @{&#xA;            # Put new/changed rendering parameter name and value here&#xA;            # Other existing values should be unchanged by this&#xA;            &quot;Lorem&quot; = &quot;Ipsum&quot;&#xA;        }&#xA;        Write-Host &quot;Updated $($_.Paths.FullPath)&quot;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More information:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Get-Rendering.html&quot;&gt;&lt;code&gt;Get-Rendering&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Set-Rendering.html&quot;&gt;&lt;code&gt;Set-Rendering&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2016-09-28T19:17:57.930" LastActivityDate="2016-09-28T19:17:57.930" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="214" PostTypeId="1" CreationDate="2016-09-29T08:52:52.517" Score="1" ViewCount="154" Body="&lt;ul&gt;&#xA;&lt;li&gt;We have a multiple site solution in 7.2 with 7 site collections (each collection is based on a set of templates &amp;amp; components) with up to 20 sites in each collection.&lt;/li&gt;&#xA;&lt;li&gt;We want to establish a second development team that will develop components for integration into a future site (which will be built as a V2 of an existing site).&lt;/li&gt;&#xA;&lt;li&gt;The components will be pulling non-Sitecore data but need to be wrapped for Sitecore. The aim is for the original vendor to build the site framework, with the new vendor producing fully complete presentation components for editors to place.&lt;/li&gt;&#xA;&lt;li&gt;There are no major issues regarding code visibility (vendor 1 is external and has built our solution, vendor 2 is internal), except that data access and business logic of the new components may need to be delivered pre-compiled. &lt;/li&gt;&#xA;&lt;li&gt;Vendor 1 will continue developing features and maintaining the solution across all site collections, while vendor two will only be delivering for a specific site.&lt;/li&gt;&#xA;&lt;li&gt;Vendor 1 works on a bi-weekly sprint, vendor 2 may want to have considerably longer cycles between releases.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;How should this be set up in order to ensure minimum hassle with merges, data synch etc. and to delineate vendor responsibility?&#xA;I'm particularly interested in the architecture and processes that would be needed to support this.&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="66" LastEditDate="2016-09-29T12:28:45.607" LastActivityDate="2016-09-29T12:28:45.607" Title="How to implement multiple developer teams (vendor branches) in Sitecore?" Tags="|solution-architecture|" AnswerCount="1" CommentCount="0" ClosedDate="2016-09-29T12:27:33.043" ContentLicense="CC BY-SA 3.0" />
  <row Id="215" PostTypeId="1" AcceptedAnswerId="216" CreationDate="2016-09-29T10:53:45.923" Score="12" ViewCount="1483" Body="&lt;p&gt;I'm building a custom content editor button which will issue a command passing the ID of the selected item. Is there a way to enable/disable my button based on the template of the selected item. I want my command to only be run-able for items of a specific template. Obviously I could simply check the template ID of the item within my command handler code (which I will do anyway) but I would like to make this a bit more user-friendly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a (sort of similar) example, if you select an item with no children, the delete-subitems button under the main delete button disappears. I couldn't see any obvious mechanism about how this works though.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-09-29T16:33:55.297" Title="Enable Content Editor button depending on template type" Tags="|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="216" PostTypeId="2" ParentId="215" CreationDate="2016-09-29T11:06:06.353" Score="22" Body="&lt;p&gt;In your command there is a &lt;code&gt;QueryState&lt;/code&gt; method where you can hide or disable buttons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Return:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;CommandState.Hidden&lt;/code&gt; to hide the button&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;CommandState.Disabled&lt;/code&gt; to disable the button&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;CommandState.Enabled&lt;/code&gt; to enable the button&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;An example is shown below:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyCommand: Command&#xA;{&#xA;   public override void Execute(CommandContext context)&#xA;   {&#xA;      //main stuff here&#xA;   }&#xA;&#xA;   public override CommandState QueryState(CommandContext context)&#xA;   {&#xA;      Error.AssertObject((object) context, &quot;context&quot;);&#xA;      if (context.Items.Length == 0)&#xA;      {&#xA;         return CommandState.Disabled;&#xA;      }&#xA;      if (context.Items[0].TemplateID.ToString() != &quot;{4F3D0700-F7E0-47E9-903E-FCA1CB08830C}&quot;)&#xA;      {&#xA;         return CommandState.Disabled;&#xA;      }&#xA;      return base.QueryState(context);&#xA;   }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="66" LastEditorUserId="246" LastEditDate="2016-09-29T13:11:14.890" LastActivityDate="2016-09-29T13:11:14.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="217" PostTypeId="2" ParentId="214" CreationDate="2016-09-29T12:25:32.520" Score="1" Body="&lt;p&gt;That's a very broad question as there are many ways you can achieve that not only with Sitecore implementation but in general. Honestly I don't think you will get everything you need from this answer but I'll add my 2 cents. You should have an architect helping you stablish what it takes to get that done. &#xA;From my perspective I would say you need at least two things to help you address that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- source control. (Git, TFS, etc). Also you will need to stablish process for merges and releases accross teams that someone owns it. For example, each team work on separate branches and you have an integration branch where someone is responsible for making sure that whatever gets there works for everyone. This is just one example&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- I highly recommend that you use tools to help source control sitecore items like Unicorn or TDS from Hedgegog.I have more experience with TDS so I'll speak about this one: with TDS you can not only source control your sitecore database but you can use it to stablish deployments across environenments (CI, DEV, QA, UAT, PROD).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;hope this helps&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-09-29T12:25:32.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="218" PostTypeId="2" ParentId="186" CreationDate="2016-09-29T13:17:16.447" Score="14" Body="&lt;p&gt;We do this using an IIS Rewrite Rule like so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;rule name=&quot;Block Sitecore Access Rule&quot; stopProcessing=&quot;true&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;.*&quot; /&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{URL}&quot; pattern=&quot;^/sitecore/?.*&quot; /&amp;gt;&#xA;        &amp;lt;add input=&quot;{URL}&quot; pattern=&quot;^/sitecore/service/?.*&quot; negate=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;action type=&quot;CustomResponse&quot; statusCode=&quot;404&quot; statusReason=&quot;File or directory not found.&quot; statusDescription=&quot;The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is really nice as we can just toggle it on and off if needed and it's deployed in our web.config as part of our deployment package from our build server.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="237" LastEditDate="2016-10-10T08:45:54.507" LastActivityDate="2016-10-10T08:45:54.507" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="219" PostTypeId="2" ParentId="97" CreationDate="2016-09-29T13:31:43.753" Score="0" Body="&lt;p&gt;We source control our modules as we install them from an internal NuGet as part of our build process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module is first installed on our local development environment using the package installer in Sitecore and then the item changes are picked up by Git and committed to source control and synced to other environments using unicorn.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Going forward we can then upgrade any modules as we need to as the source is in a repository which outputs a NuGet file so will simply update the repo and rebuild an updated NuGet file. This is then picked up on the next deployment of the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this way if modules drop off the Marketplace, need customising or upgrading we will always have a single source of truth regarding what has been installed.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-09-29T13:31:43.753" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="220" PostTypeId="2" ParentId="215" CreationDate="2016-09-29T16:33:55.297" Score="10" Body="&lt;p&gt;Here is an alternative answer if you want to or are using Sitecore PowerShell Extensions for your context menu. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create a &lt;code&gt;Context Menu&lt;/code&gt; script item in your SPE module and then using the &lt;code&gt;Show if rules are met or not defined&lt;/code&gt; section of the Script item you can hide/show the menu based of a rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2k0dK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2k0dK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can write your PowerShell script to do whatever you need to when the context menu is clicked.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-29T16:33:55.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="221" PostTypeId="1" AcceptedAnswerId="223" CreationDate="2016-09-29T17:32:46.957" Score="70" ViewCount="47651" Body="&lt;p&gt;When navigating to a url such as &lt;a href=&quot;http://www.website.com/missing.pdf&quot; rel=&quot;noreferrer&quot;&gt;www.website.com/missing.pdf&lt;/a&gt; and &lt;a href=&quot;http://www.website.com/-/media/missing.pdf&quot; rel=&quot;noreferrer&quot;&gt;www.website.com/-/media/missing.pdf&lt;/a&gt; you will either receive the IIS 404 Server Error message or a Sitecore document not found page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/54iz7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/54iz7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is a solid approach to handling these scenarios? &#xA;Some requirements:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Should support files and media items.&lt;/li&gt;&#xA;&lt;li&gt;Should return the proper response status codes (i.e. 404, 500).&lt;/li&gt;&#xA;&lt;li&gt;Should support the use of content items that represent the friendly page (such as a site map).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;@jammykam recommended the following&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Web.config settings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!-- Enable for IIS 7+ --&amp;gt;&#xA;&amp;lt;httpErrors errorMode=&quot;DetailedLocalOnly&quot; existingResponse=&quot;Replace&quot;&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;404&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;500&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;404&quot; path=&quot;/utility/404&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;500&quot; path=&quot;/utility/500.html&quot; responseMode=&quot;File&quot; /&amp;gt;&#xA;&amp;lt;/httpErrors&amp;gt; &#xA;&#xA;&amp;lt;!-- Disable for IIS 7+ --&amp;gt;&#xA;&amp;lt;customErrors mode=&quot;Off&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;where the 404 an 500 content items have a rendering with the following&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var errorCode = this.mappingProvider.GetCurrentItem&amp;lt;ErrorCode&amp;gt;();&#xA;    errorCode.StatusCode = Sitecore.MainUtil.GetInt(errorCode.StatusCode, 404);&#xA;&#xA;    if (Sitecore.Context.PageMode.IsNormal)&#xA;    {&#xA;        Response.TrySkipIisCustomErrors = true;&#xA;        return new HttpStatusCodeResult(errorCode.StatusCode);&#xA;    }&#xA;&#xA;    return View(&quot;~/Views/Developers/Common/StatusCode.cshtml&quot;, errorCode);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;After reviewing Justin's response here is what I ended up doing.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Updated &lt;strong&gt;web.config&lt;/strong&gt; to handle &lt;code&gt;&amp;lt;httpErrors&amp;gt;&lt;/code&gt; with &lt;code&gt;existingResponse=&quot;Auto&quot;&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Updated &lt;code&gt;ItemNotFoundUrl&lt;/code&gt; to an item in the tree such as &lt;code&gt;/home/404&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Updated &lt;code&gt;FilterUrlExtensions&lt;/code&gt; to allow for files with the extension &lt;strong&gt;.pdf&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Patch &lt;code&gt;MediaRequestHandler&lt;/code&gt; to use &lt;code&gt;Server.TransferRequest&lt;/code&gt; to avoid the error &lt;em&gt;Error executing child request&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Added a controller rendering to Sitecore to change the status code.&lt;/li&gt;&#xA;&lt;li&gt;Added a processor to handle the &lt;code&gt;ItemNotFoundUrl&lt;/code&gt; setting, load the item, and set to the context item.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In case you are implementing and encounter an &lt;em&gt;Error executing child request&lt;/em&gt; message then you may find this &lt;a href=&quot;https://nourestani.wordpress.com/2015/05/11/error-executing-child-request-sitecore-for-404-useserversideredirect-transferrequest-vs-transfer/&quot; rel=&quot;noreferrer&quot;&gt;article&lt;/a&gt; helpful.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;RequestErrors.UseServerSideRedirect&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-03-13T00:09:08.467" LastActivityDate="2020-02-13T18:42:44.587" Title="How do you setup a 404 and 500 error page for missing files and media items?" Tags="|configuration|" AnswerCount="7" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="222" PostTypeId="2" ParentId="221" CreationDate="2016-09-29T17:44:04.347" Score="13" Body="&lt;p&gt;For 404 page, for not found files or items, Sitecore has out-of-box setting -&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;RequestErrors.UseServerSideRedirect&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure, you define your physical 404 page in below setting -&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;ItemNotFoundUrl&quot; value=&quot;/sitecore/service/notfound.aspx&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have the 404 in Sitecore content tree, you can refer blog - &lt;a href=&quot;http://sitecoreblog.patelyogesh.in/2013/06/handle-404-page-not-found-in-sitecore.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreblog.patelyogesh.in/2013/06/handle-404-page-not-found-in-sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For 500, you can do below configurations in web.config file -&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;customErrors mode=&quot;RemoteOnly&quot; redirectMode=&quot;ResponseRewrite&quot; defaultRedirect=&quot;~/500.aspx&quot;&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;404&quot; redirect=&quot;~/404.aspx&quot;/&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;500&quot; redirect=&quot;~/500.aspx&quot;/&amp;gt;&#xA;&amp;lt;/customErrors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="255" LastEditorUserId="114" LastEditDate="2016-09-30T13:36:16.670" LastActivityDate="2016-09-30T13:36:16.670" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="223" PostTypeId="2" ParentId="221" CreationDate="2016-09-29T20:32:49.680" Score="82" Body="&lt;p&gt;The following setup may take some effort, but it will give you proper status codes, as well as &quot;keeping&quot; the requested URL, avoiding superfluous requests between Sitecore and IIS, and allow other processors and modules in your solution to seamlessly return a 404 page if required. It's been my experience that without the following setup, there is inconsistency in how Sitecore solutions return 404 pages and status codes. I've also found that in a completely ironic fashion, sometimes these pages can cause infinite redirect loops or undue strain on the IIS instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The high-level overview looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Have a 404 page item under your SiteRoot, with a rendering control that uses code to properly set a 404 status code.&lt;/li&gt;&#xA;&lt;li&gt;Have a 404 processor in the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline to override Sitecore's default 404 functionality, so that clients aren't redirected and the requested URL is preserved.&lt;/li&gt;&#xA;&lt;li&gt;Have a 404 processor in the &lt;code&gt;mvc.getPageItem&lt;/code&gt; pipeline to force URL's that map to items to return a 404 when appropriate. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Do make sure to configure the &lt;code&gt;ItemNotFoundURL&lt;/code&gt; setting to the 404 page item URL within your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;ItemNotFoundUrl&quot; value=&quot;/404&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Web.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set the existingResponse attribute to &quot;Auto&quot; to give your website control over how status codes get handled. The &quot;Auto&quot; mode allows you to set &lt;code&gt;Response.TrySkipIisCustomErrors&lt;/code&gt; to true to bypass the default IIS 404 page, or anything that's been defined in the httpErrors configuration node.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;httpErrors errorMode=&quot;DetailedLocalOnly&quot; existingResponse=&quot;Auto&quot;&amp;gt;&#xA; &amp;lt;!--  We don't want to interact with Sitecore or any part of the site &#xA;       that could be causing the HTTP 500 error in the first place, so  &#xA;       it's a good idea to make sure that you have a static 500 page outside   &#xA;       the purview of Sitecore or any other &quot;dynamic systems&quot; within the&#xA;       application pool/site instance.&#xA;  --&amp;gt;&#xA; &amp;lt;error statusCode=&quot;500&quot; path=&quot;/static/errors/500.html&quot; responseMode=&quot;File&quot;/&amp;gt;    &#xA;&amp;lt;/httpErrors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Setting the Status Code with a 404 Rendering Control&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to either have a Controller Rendering or a View Rendering that has code to set a few different properties to allow us to properly return a 404 status code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two critical properties that must be set in your rendering: one obviously being the &lt;code&gt;Response.StatusCode&lt;/code&gt; to 404, and the other to set &lt;code&gt;Response.TrySkipIisCustomErrors&lt;/code&gt; to true. Remember, &lt;code&gt;TrySkipIisCustomErrors&lt;/code&gt; will cause IIS to ignore the configuration in the &lt;code&gt;httpErrors&lt;/code&gt; configuration node since we've set the &lt;code&gt;existingResponse&lt;/code&gt; attribute on that node to &quot;Auto&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Request404Page()&#xA;{&#xA;   HttpContext.Current.Response.StatusCode = 404;&#xA;   HttpContext.Current.Response.TrySkipIisCustomErrors = true;&#xA;   HttpContext.Current.Response.StatusDescription = &quot;404 File Not Found&quot;;&#xA;&#xA;   return View();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create a 404 Processor&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use a custom &lt;code&gt;HttpRequestProcessor&lt;/code&gt; at the end of the pipeline to handle when a context item has not been resolved. This processor exists only to avoid Sitecore's default functionality of redirecting to the 404 page. Instead of redirecting the client or use a server side only redirect, the goal is to leave the URL alone and avoid causing a messy client experience. This is achieved merely by setting the &lt;code&gt;Context.Item&lt;/code&gt; and &lt;code&gt;ProcessorItem&lt;/code&gt; properties to your desired 404 page.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class 404HttpRequestProcessor : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (Sitecore.Context.Item != null || Sitecore.Context.Site == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (string.Equals(Sitecore.Context.Site.Properties[&quot;enableCustomErrors&quot;], &quot;true&quot;, StringComparison.OrdinalIgnoreCase) == false)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var pageNotFound = this.Get404PageItem();&#xA;        args.ProcessorItem = pageNotFound;&#xA;        Sitecore.Context.Item = pageNotFound;&#xA;    }&#xA;&#xA;    protected Item Get404PageItem()&#xA;    {&#xA;        // This is largely up to how the project in general is setup.&#xA;        // My solutions are heavily Fortis dependent, but for Vanilla &#xA;        // Sitecore setups you could just use the following setting:&#xA;        // Settings.GetSetting(&quot;ItemNotFoundUrl&quot;, &quot;/errors/404&quot;);&#xA;        // and pull the Item object from that path&#xA;&#xA;        var path = Sitecore.Context.Site.RootPath + &quot;/&quot; + Settings.GetSetting(&quot;ItemNotFoundUrl&quot;, &quot;/errors/404&quot;);&#xA;        var item = Sitecore.Context.Database.GetItem(path);&#xA;&#xA;        return item;&#xA;    }   &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch your custom 404 processor, in this example called &lt;code&gt;404HttpRequestProcessor&lt;/code&gt;, at the end of the &lt;code&gt;httpRequestBegin&lt;/code&gt; Pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor type=&quot;MyProject.Pipelines.HttpRequest.404HttpRequestProcessor, MyProject.Core&quot;&#xA;                        patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now we have the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A 404 page within sitecore that we can customize in anyway we want.&lt;/li&gt;&#xA;&lt;li&gt;We avoid redirecting the client, so they don't lose their URL or break the back button.&lt;/li&gt;&#xA;&lt;li&gt;There's no spaghetti setup within IIS that bounces requests back and forth between IIS and Sitecore. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But we're not quite done yet! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;404'ing URL's That Map to an Item&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, the above setup will only work if you type in a URL that does &lt;em&gt;not&lt;/em&gt; map to an item in your content tree (e.g. &quot;www.mywebsite.com/page-item/that/does-not-exist&quot;). Even if you set &lt;code&gt;Context.Item&lt;/code&gt; to null in your &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline, Sitecore will &quot;re-resolve&quot; that URL in the &lt;code&gt;mvc.getPageItem&lt;/code&gt; pipeline if that URL happens to map to an item in Sitecore. There are certain situations where you want to return 404 for a URL that technically exists, but if this scenario is not applicable to your project you don't need to include the following processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To 404 a URL that technically maps to a content item, we need to add a processor to the &lt;code&gt;mvc.getPageItem&lt;/code&gt; pipeline. The code will be excruciatingly similar to the &lt;code&gt;404RequestProcessor&lt;/code&gt; processor we added in the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline, we'll just be modifying a few different &quot;sister&quot; properties to properly exit the &lt;code&gt;mvc.getPageItem&lt;/code&gt; pipeline. Of course, since both processors are similar it's possible to abstract the code out and avoid duplication, but I'll leave that as an exercise to the reader.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is assumed at this point that a previous processor in the pipeline doesn't like something about the current request, so that processor set &lt;code&gt;args.Result&lt;/code&gt; to null.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class 404PageItemProcessor : GetPageItemProcessor&#xA;{&#xA;    public override void Process(GetPageItemArgs args)&#xA;    {&#xA;        if (args.Result != null || Sitecore.Context.Site == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (string.Equals(Sitecore.Context.Site.Properties[&quot;enableCustomErrors&quot;], &quot;true&quot;, StringComparison.OrdinalIgnoreCase) == false)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var pageNotFound = Get404PageItem();&#xA;        args.ProcessorItem = pageNotFound;&#xA;        args.Result = pageNotFound;     &#xA;        Sitecore.Context.Item = pageNotFound;&#xA;   }&#xA;&#xA;   protected Item Get404PageItem()&#xA;   {&#xA;       // This is largely up to how the project in general is setup.&#xA;       // My solutions are heavily Fortis dependent, but for Vanilla &#xA;       // Sitecore setups you could just use the following setting:&#xA;       // Settings.GetSetting(&quot;ItemNotFoundUrl&quot;, &quot;/errors/404&quot;);&#xA;       // and pull the Item object from that path&#xA;&#xA;       var path = Sitecore.Context.Site.RootPath + &quot;/&quot; + Settings.GetSetting(&quot;ItemNotFoundUrl&quot;, &quot;/errors/404&quot;);&#xA;       var item = Sitecore.Context.Database.GetItem(path);&#xA;&#xA;        return item;&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please pay attention to the fact that the code above sets &lt;em&gt;two&lt;/em&gt; properties on the &lt;code&gt;GetPageItemArgs&lt;/code&gt; object: &lt;code&gt;ProcessorItem&lt;/code&gt; and &lt;code&gt;Result&lt;/code&gt;. Both of these properties must be set to the desired 404 page or Sitecore will simply ignore the property value that you set (for reasons I will not get into in this post).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, just add the &lt;code&gt;404PageItemProcessor&lt;/code&gt; to the end of the &lt;code&gt;mvc.getPageItem&lt;/code&gt; pipeline. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor type=&quot;MyComp.Pipelines.GetPageItem.404PageItemProcessor, MyComp.Core&quot; &#xA;patch:after=&quot;processor[@type='Sitecore.Mvc.Pipelines.Response.GetPageItem.GetFromOldContext, Sitecore.Mvc']&quot;&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Handling fatal errors and HTTP 500 codes&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's my opinion that 500 errors should simply return a static 500 page and not bother with doing anything needlessly fancy. The &lt;code&gt;httpErrors&lt;/code&gt; configuration at the top of this post will give you sufficient handling of HTTP 500 error codes, since HTTP 500 status codes are typically thrown when something terrible has happened. The following will log any uncaught errors but still obey your configuration (while technically allowing you to override those settings as well). I've personally found it extremely helpful when attempting to debug fatal errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the following method to your &lt;code&gt;Global&lt;/code&gt; class in your website project's &lt;code&gt;Global.asax.cs&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    protected void Application_Error(object sender, EventArgs e)&#xA;    {&#xA;        var error = Server.GetLastError();&#xA;        Server.ClearError(); &#xA;        var httpException = error as HttpException;&#xA;        Response.StatusCode = httpException != null ? httpException.GetHttpCode() : (int)HttpStatusCode.InternalServerError;&#xA;&#xA;        Sitecore.Diagnostics.Log.Fatal(&quot;Uncaught application error&quot;, error);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find more information about the code in the &lt;code&gt;Application_Error&lt;/code&gt; method above and the ideas behind it in various posts around StackOverflow, including this one: &lt;a href=&quot;https://stackoverflow.com/questions/1171035/asp-net-mvc-custom-error-handling-application-error-global-asax&quot;&gt;https://stackoverflow.com/questions/1171035/asp-net-mvc-custom-error-handling-application-error-global-asax&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="170" LastEditorUserId="73" LastEditDate="2018-01-03T11:58:30.127" LastActivityDate="2018-01-03T11:58:30.127" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="224" PostTypeId="1" AcceptedAnswerId="225" CreationDate="2016-09-30T17:12:03.973" Score="3" ViewCount="882" Body="&lt;p&gt;My client has fairly recently upgraded their Sitecore from 7.2 to 8.1 Update 3. They are using EXM. We realized today that many of the newer Sitecore 8 roles are missing from Role Manager (which is kept in the Core database as part of the ASP.NET membership provider).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know I can &lt;code&gt;Serialize&lt;/code&gt; and &lt;code&gt;Revert&lt;/code&gt; from the file system through Role Manager. However, my client has hundreds of additional roles created that I don't want to get rid of.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a vanilla 8.1 U3 instance where I can grab the roles from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So really two questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Does Revert All Roles (from file system) delete roles that aren't in the file system?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;UPDATE #1: Turns out &lt;code&gt;Revert&lt;/code&gt; does delete roles. (From my sandbox Sitecore instance) &lt;a href=&quot;https://i.stack.imgur.com/henjA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/henjA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Is there a recommended Best Approach for moving roles from my Vanilla 8.1 U3 site to the Client implementation?&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-09-30T17:23:40.020" LastActivityDate="2016-10-02T10:37:49.280" Title="Roles are missing from Role Manager. How would I restore the roles for the newer version?" Tags="|role-management|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="225" PostTypeId="2" ParentId="224" CreationDate="2016-09-30T17:44:56.683" Score="3" Body="&lt;p&gt;From the vanilla instance it should be easy to package up the Roles you are missing and then just install that package on your client instance.  I have had to do that before. Packaging roles is nice and simple.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NeVgC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NeVgC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-09-30T17:44:56.683" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="226" PostTypeId="1" AcceptedAnswerId="228" CreationDate="2016-09-30T17:54:40.010" Score="12" ViewCount="2352" Body="&lt;p&gt;To my knowledge, it is considered a best practice not to include any of Sitecore's out-of-the-box configuration files into Visual Studio web projects. The reason being, if you handle all configuration changes as custom patch files (rather than directly modifying the default configuration), updating Sitecore to a newer version will be much easier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But what should I do with Web.config changes? This file cannot be patched by Sitecore configs. At the same time, Sitecore's Web.config already has a lot of configuration, so I cannot replace it with my own. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I currently need to add a new assembly binding redirect. Do I just include the Web.config that's included with Sitecore into my web project? Or is there any other way? &lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-14T14:57:34.670" Title="What is the best practice for managing Web.config changes in a solution?" Tags="|configuration|upgrade|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="227" PostTypeId="2" ParentId="226" CreationDate="2016-09-30T18:21:00.977" Score="2" Body="&lt;p&gt;I include the web.config from Sitecore in the project because some things can't be included otherwise (if someone can show me how, that would be great though). What I do try to do is creating separate files as much as possible. For example: when using the IIS Rewrite module you can refer to an external file so only the reference is in the web.config.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-09-30T18:21:00.977" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="228" PostTypeId="2" ParentId="226" CreationDate="2016-09-30T18:21:09.003" Score="13" Body="&lt;p&gt;Pre Sitecore 8.1 (which splits out the Sitecore node into &lt;code&gt;/App_Config/Sitecore.config&lt;/code&gt;) - I generally create my own &lt;code&gt;Sitecore.config&lt;/code&gt; and patch that into the &lt;code&gt;web.config&lt;/code&gt; in the same way as the connection strings is done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then yes, I just have the resulting web.config from my Sitecore installation in the web project. With debug transforms for local development.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So assembly bindings would be added in there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With 8.1+ the removal of the Sitecore node is done for you, so just add the web.config from the installation to your web project and use that.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-09-30T18:27:01.553" LastActivityDate="2016-09-30T18:27:01.553" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="229" PostTypeId="2" ParentId="226" CreationDate="2016-09-30T18:22:31.333" Score="10" Body="&lt;p&gt;By far the most common solution to this is to use Web.config transforms built into Visual Studio and MSBUILD. The following MSDN articles should give a good jumping point: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/dd465318(v=vs.100).aspx&quot;&gt;https://msdn.microsoft.com/en-us/library/dd465318(v=vs.100).aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/dd465326(v=vs.110).aspx&quot;&gt;https://msdn.microsoft.com/en-us/library/dd465326(v=vs.110).aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You may also want to consider SlowCheetah for transforming other configuration files besides Web.config, which isn't supported out of the box with VS or MSBUILD.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5&quot;&gt;https://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For your specific issue with adding binding redirects, there's really no reason to include those in a patch file as those are extremely unlikely to change between environments (e.g. staging and production). Using Web.config transforms along with Richard Seal's answer, you'll most likely want to just add the binding redirects directly into your Web.config.&lt;/p&gt;&#xA;" OwnerUserId="170" LastEditorUserId="170" LastEditDate="2016-09-30T18:27:54.527" LastActivityDate="2016-09-30T18:27:54.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="230" PostTypeId="1" AcceptedAnswerId="1939" CreationDate="2016-09-30T19:41:23.480" Score="18" ViewCount="1628" Body="&lt;p&gt;In Sitecore 8.X, the List Manager is the primary tool used to import contacts and create audience lists for Sitecore. This is a dependency in EXM as well for creating message dispatches against a List Manager list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a list is created, it goes through a couple steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore creates the stub of the list as an item in Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore then locks the list from any pending changes.&lt;/li&gt;&#xA;&lt;li&gt;During the lock phase:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Creates the xDB contact.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore adds to the sitecore_list_index the list information.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Once the lock phase is complete, Sitecore unlocks the list and it can be used for consumption.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/npIGn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/npIGn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The main issue at hand is that for some reason, writing to the sitecore_list_index takes an enormous amount of time. Creating a list of 2 users has thus taken 5 minutes.  When I have a CSV of 90,000 that I need to upload.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A little bit about our indexing. We are using Solr Server 6 for all indexes. (Yes, we know Solr 6 isn't an approved version, but so far, we not have any issues and all tests are coming back very positive. The master index builds very fast.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sitecore_list_index is very small.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/gCSmI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gCSmI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question: How do I improve this experience? Am I even able to?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 1:&lt;/strong&gt;&#xA;I don't think it's Indexes.  According to the log, the index is getting processed and updated almost immediately.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #11 16:13:33 INFO  Job started: Index_Update_IndexName=sitecore_list_index&#xA;ManagedPoolThread #9 16:13:33 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;ManagedPoolThread #9 16:13:33 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;ManagedPoolThread #17 16:13:33 INFO  Job started: CONTACT_BULK_UPDATE_ListManagementImportContacts_cbaf9d6805a74a509e0413ac2fd751b7&#xA;ManagedPoolThread #11 16:13:33 INFO  Job ended: Index_Update_IndexName=sitecore_list_index (units processed: )&#xA;ManagedPoolThread #4 16:13:33 INFO  Job started: Index_Update_IndexName=sitecore_list_index&#xA;ManagedPoolThread #17 16:13:33 INFO  Job ended: CONTACT_BULK_UPDATE_ListManagementImportContacts_cbaf9d6805a74a509e0413ac2fd751b7 (units processed: 2)&#xA;ManagedPoolThread #4 16:13:33 INFO  Job ended: Index_Update_IndexName=sitecore_list_index (units processed: )&#xA;ManagedPoolThread #8 16:13:33 INFO  Job started: Index_Update_IndexName=sitecore_list_index&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 2:&lt;/strong&gt;&#xA;Turns out that the order of operations is first indexing, which isn't the issue. Then the next operation is something to do with the EventQueue table. List Manager puts entries in it for processing of &lt;em&gt;something&lt;/em&gt;. So if EQ table is jammed, this runs long. But I still don't understand that. So question still applies.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-09-30T22:56:50.223" LastActivityDate="2017-05-04T04:18:23.293" Title="Is there anyway to improve the speed that List Manager builds a list?" Tags="|list-manager|exm|" AnswerCount="4" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="231" PostTypeId="1" AcceptedAnswerId="233" CreationDate="2016-09-30T22:01:29.310" Score="2" ViewCount="3906" Body="&lt;p&gt;I'm upgrading my Sitecore 8.1 Visual Studio project to use Sitecore 8.2, and I've made quite a bit of progress. I've switched to SOLR, updated Glass Mapper, and replaced out my DLL references to use the Sitecore supplied NuGet package manager. The issue that I've hit now I believe is related somehow to the new SOLR implementation that doesn't use DI. I am getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Could not load file or assembly 'Microsoft.Practices.ServiceLocation,&#xA;  Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or&#xA;  one of its dependencies. The located assembly's manifest definition&#xA;  does not match the assembly reference. (Exception from HRESULT:&#xA;  0x80131040)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of&#xA;  the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.IO.FileLoadException: Could not load file or&#xA;  assembly 'Microsoft.Practices.ServiceLocation, Version=1.0.0.0,&#xA;  Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its&#xA;  dependencies. The located assembly's manifest definition does not&#xA;  match the assembly reference. (Exception from HRESULT: 0x80131040)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Assembly Load Trace: The following information can be helpful to&#xA;  determine why the assembly 'Microsoft.Practices.ServiceLocation,&#xA;  Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'&#xA;  could not be loaded.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;WRN: Assembly binding logging is turned OFF. To enable assembly bind&#xA;  failure logging, set the registry value&#xA;  [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There&#xA;  is some performance penalty associated with assembly bind failure&#xA;  logging. To turn this feature off, remove the registry value&#xA;  [HKLM\Software\Microsoft\Fusion!EnableLog].&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[FileLoadException: Could not load file or assembly&#xA;  'Microsoft.Practices.ServiceLocation, Version=1.0.0.0,&#xA;  Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its&#xA;  dependencies. The located assembly's manifest definition does not&#xA;  match the assembly reference. (Exception from HRESULT: 0x80131040)]&lt;br&gt;&#xA;  Sitecore.ContentSearch.SolrProvider.SolrNetIntegration.IntegrationHelper.IsSolrConfigured()&#xA;  +0    Sitecore.ContentSearch.SolrProvider.Pipelines.Loader.InitializeSolrProvider.Process(PipelineArgs&#xA;  args) +28    (Object , Object[] ) +71&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Application_Start() +259&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +704&lt;br&gt;&#xA;  System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers) +618&lt;br&gt;&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&lt;br&gt;&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context) +402&lt;br&gt;&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Could not load file or assembly&#xA;  'Microsoft.Practices.ServiceLocation, Version=1.0.0.0,&#xA;  Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its&#xA;  dependencies. The located assembly's manifest definition does not&#xA;  match the assembly reference. (Exception from HRESULT: 0x80131040)]&lt;br&gt;&#xA;  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +579&lt;br&gt;&#xA;  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)&#xA;  +112    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest&#xA;  wr, HttpContext context) +712&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Version Information: Microsoft .NET Framework Version:4.0.30319;&#xA;  ASP.NET Version:4.6.1055.0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've tried several things, including changing the dependentAssembly to point to the correct publicKeyToken (which is &lt;code&gt;59d6d24383174ac4&lt;/code&gt; and not &lt;code&gt;31bf3856ad364e35&lt;/code&gt; as the error message suggests). I'd appreciate any help that you all can provide. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2019-01-18T16:16:44.287" Title="Microsoft.Practices.ServiceLocation assembly not loading" Tags="|solr|upgrade|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="232" PostTypeId="2" ParentId="226" CreationDate="2016-09-30T22:36:06.413" Score="3" Body="&lt;p&gt;We create a separate project for configs. Like @RichardSeal and others,  we always split Sitecore.config out,  and appSettings,  log4net and urlRewrite too.  This has the advantage of making changes to various aspects easier to diff/track through source control. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SlowCheetah allows for altering values based on your build configuration or publish profile,  but you can use the same idea and a bit of msbuild magic to also alter configuration per dev machine this way.  An msbuild task or post-build step copies the configuration into the target project/location. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add code to the project that is related to the configs as well to make it easier to find (many people map settings to a singleton object for example). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We also take all the subdirectory configs from &lt;code&gt;include&lt;/code&gt; and put them into a folder called &lt;code&gt;01-Base&lt;/code&gt;. Then any platform wide overrides go into &lt;code&gt;02-Platform&lt;/code&gt;, while per-environment overrides for Dev/QA/Live etc go into &lt;code&gt;03-Environment&lt;/code&gt;. This allows us to easily control the load order,  and it makes it easy to locate settings and patch files. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your specific case,  adding binding redirects or other necessities into web.config or assembly-specific configs is a non-issue. &lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-09-30T22:36:06.413" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="233" PostTypeId="2" ParentId="231" CreationDate="2016-09-30T22:49:56.130" Score="4" Body="&lt;p&gt;You'll want to make sure that you update all your projects to .NET 4.5.2+ in the Project Properties Screen. You'll need to do this for every project in the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will also want to make sure the VS Extention for Microsoft Practices is updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, do not use the SOLR Support Packages DLL. SOLR is now natively in the Sitecore dll's.  Just enable the 8.2 Solr configs.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-01-18T16:16:44.287" LastActivityDate="2019-01-18T16:16:44.287" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="234" PostTypeId="2" ParentId="230" CreationDate="2016-09-30T22:50:13.980" Score="0" Body="&lt;p&gt;What I normally did was, index the &lt;code&gt;sitecore_list_index&lt;/code&gt; manually (from sitecore desktop/launchpad &gt; control panel &gt; Index Manager) and then manually unlock the list in list manager.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="70" LastEditDate="2016-10-01T12:40:30.393" LastActivityDate="2016-10-01T12:40:30.393" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="235" PostTypeId="2" ParentId="224" CreationDate="2016-10-02T10:37:49.280" Score="0" Body="&lt;p&gt;You could Serialize your existing roles before copying the Serialized 8.1 roles over (making sure you don't replace), that way when you Revert you won't lose any of your existing roles.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-02T10:37:49.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="236" PostTypeId="1" AcceptedAnswerId="1567" CreationDate="2016-10-02T20:52:11.207" Score="12" ViewCount="815" Body="&lt;p&gt;Looking at Sitecore Habitat, each Visual Studio project is in a folder named 'code'. In Visual Studio, by default this folder is named the same as the project. I can rename this folder, but I have to jump through some hoops (remove the project from the solution, rename the folder, re-add the project to the solution... Plus maybe some source control shenanigans). Is there a simpler way to do this? Helix has a lot of projects... Some settings? Do I need a custom vsix? &lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="73" LastEditDate="2016-10-02T23:23:22.323" LastActivityDate="2016-10-19T05:36:42.317" Title="Changing the Helix file system folder structure" Tags="|helix|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="237" PostTypeId="2" ParentId="236" CreationDate="2016-10-02T23:21:17.847" Score="6" Body="&lt;p&gt;You probably could, but it'd be a lot of - in my opinion - unnecessary work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;code&lt;/code&gt; folder is used and referenced in the gulp scripts. Like here, for instance:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;gulp.task(&quot;06-Deploy-Transforms&quot;, function () {&#xA;  return gulp.src(&quot;./src/**/code/**/*.transform&quot;)&#xA;      .pipe(gulp.dest(config.websiteRoot + &quot;/temp/transforms&quot;));&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;gulp.task(&quot;Copy-Local-Assemblies&quot;, function () {&#xA;  console.log(&quot;Copying site assemblies to all local projects&quot;);&#xA;  var files = config.sitecoreLibraries + &quot;/**/*&quot;;&#xA;&#xA;  var root = &quot;./src&quot;;&#xA;  var projects = root + &quot;/**/code/bin&quot;;&#xA;  return gulp.src(projects, { base: root })&#xA;    .pipe(foreach(function (stream, file) {&#xA;      console.log(&quot;copying to &quot; + file.path);&#xA;      gulp.src(files)&#xA;        .pipe(gulp.dest(file.path));&#xA;      return stream;&#xA;    }));&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you were to change the directory name structure, you would need to go in and adopt this file to any new naming scheme you come up with. If you named the folders uniquely, you would not be able to wildcard the task as it is done here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said; Habitat is just a reference project. I don't think there's anything in &lt;code&gt;Helix&lt;/code&gt; that dictates this particular structure. You are free to set up your own, but you will need to find solutions to easy scripting and building yourself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're interested; Kam Figy has been experimenting with some Yeoman scripts to easily add features and projects and so on to a Helix-like solution. They could serve as a starting point for your own setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link: &lt;a href=&quot;https://github.com/kamsar/generator-habitat&quot; rel=&quot;noreferrer&quot;&gt;Generator Habitat (not up to date)&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="114" LastEditDate="2016-10-03T09:24:09.210" LastActivityDate="2016-10-03T09:24:09.210" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="238" PostTypeId="1" AcceptedAnswerId="239" CreationDate="2016-10-03T07:53:39.760" Score="8" ViewCount="718" Body="&lt;p&gt;So I'm in the process of upgrading various modules to Sitecore 8.2. Among other things this involves getting rid of IoC container project references and getting on board with the Sitecore one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And herein lies my question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems to me that if I just add a reference to &lt;code&gt;Microsoft.Extensions.DependencyInjection&lt;/code&gt; I am really just replacing one DI reference with another one. Also; what if the main project that my module will plug into, has that container replaced - like with SimpleInjector or Unity or such?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reading through &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;nofollow&quot;&gt;Kam's post&lt;/a&gt; on DI in 8.2 it &lt;em&gt;seems&lt;/em&gt; to me that the best approach for a module would be to use &lt;code&gt;Direct Registration&lt;/code&gt;.  Like so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;            &amp;lt;register &#xA;                serviceType=&quot;Type.IName, Assembly&quot; &#xA;                implementationType=&quot;Type.Name, Assembly&quot; &#xA;                lifetime=&quot;Transient&quot; /&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Doing it like this is agnostic towards the actual container in use; saves me a project reference to any container. Seems like a win/win. But is it?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;When Sitecore gets reconfigured to use another container; will that container also be used to resolve these &lt;code&gt;&amp;lt;register /&amp;gt;&lt;/code&gt; entries? (as opposed to what Kam suggests; resolve these via Reflection)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Am I really not saving anything because Sitecore already references &lt;code&gt;Microsoft.Extensions.DependencyInjection&lt;/code&gt; and one more reference from a module will make no difference at all?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="73" LastEditorUserId="114" LastEditDate="2016-10-03T09:12:00.553" LastActivityDate="2016-10-03T09:12:00.553" Title="Should I reference Microsoft.Extensions.DependencyInjection in modules I create for Sitecore 8.2+?" Tags="|dependency-injection|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="239" PostTypeId="2" ParentId="238" CreationDate="2016-10-03T08:11:13.763" Score="9" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;When Sitecore gets reconfigured to use another container; will that container also be used to resolve these  entries?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It depends on how that other container gets configured, exactly. If you use the approach of &lt;a href=&quot;http://structuredcode.com/replacing-default-di-container-sitecore-8-2/#replacingthediimplementationvialtserviceproviderbuildergt&quot;&gt;&lt;strong&gt;patching the &amp;lt;serviceProviderBuilder&amp;gt;&lt;/strong&gt;&lt;/a&gt;, then the container gets replaced completely and there's only one DI implementation. This would be my recommendation, as it seamlessly integrates your container into Sitecore. This way, the services that you configure with &lt;code&gt;&amp;lt;services&amp;gt;&lt;/code&gt; –&gt; &lt;code&gt;&amp;lt;register&amp;gt;&lt;/code&gt; will be handled by your container of choice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand, if you only replace the MVC dependency resolver, then there will be two containers: one used in Sitecore, and another in your application. Sure, you can manually copy all Sitecore service registrations into your container, but there will still be two containers running side-by-side.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Am I really not saving anything because Sitecore already references Microsoft.Extensions.DependencyInjection and one more reference from a module will make no difference at all?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;That's how I see it as well. The assembly will be loaded into memory anyway by Sitecore, so referencing it from your modules won't make anything worse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The decision of whether to use code or XML configuration to register your services is a matter of personal preference.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Doing it like this is agnostic towards the actual container in use; saves me a project reference to any container. Seems like a win/win. But is it?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Well, it will be agnostic to the container, but instead it will be tied to Sitecore's XML registration format, which has even fewer features than &lt;code&gt;IServiceProvider&lt;/code&gt;. If that works for you, then by all means, go ahead with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just keep in mind that this way you won't have an option to do things like mass-registration. E.g. with Autofac:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;builder&#xA;    .RegisterAssemblyTypes(AppDomain.CurrentDomain.GetAssemblies())&#xA;    .Where(t =&amp;gt;t.GetInterfaces().Any(i =&amp;gt; i.IsAssignableFrom(typeof(IService))))&#xA;    .AsImplementedInterfaces()&#xA;    .InstancePerLifetimeScope();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-03T09:06:02.493" LastActivityDate="2016-10-03T09:06:02.493" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="240" PostTypeId="1" AcceptedAnswerId="242" CreationDate="2016-10-03T08:50:53.247" Score="5" ViewCount="863" Body="&lt;p&gt;In our Sitecore site we have a few 'English' languages:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;en&lt;/li&gt;&#xA;&lt;li&gt;en-GB&lt;/li&gt;&#xA;&lt;li&gt;en-US&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We wanted to do a search using the &lt;code&gt;Lucene&lt;/code&gt; index (a custom one, but that doesn't actually matter) and included the language in it to get only results for the current language. But when we search on &quot;en&quot; we also get results for the other &quot;en&quot; based languages. When we search on &quot;en-gb&quot; we get nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried Luke and got the same results. So I assumed the field would be tokenized and indeed, in the default Lucene config I found:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;_language&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;  &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This explained the behavior, but now I am wondering if we can search on language (when having multiple 'English' languages) without adding a custom field for this? &lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-02T09:01:50.077" LastActivityDate="2016-11-02T09:01:50.077" Title="Lucene _language field TOKENIZED - how do I search on language?" Tags="|multilingual|content-search|lucene|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="241" PostTypeId="2" ParentId="240" CreationDate="2016-10-03T09:06:46.343" Score="2" Body="&lt;p&gt;Well the obvious non-breaking alternative would be, to just add a sister field definition.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;_searchlanguage&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;  &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But as mentioned in my comment above; I don't see what use a TOKENIZED language field could be. Not to Sitecore, or anyone for that matter. &lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-03T09:06:46.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="242" PostTypeId="2" ParentId="240" CreationDate="2016-10-03T11:17:25.163" Score="3" Body="&lt;p&gt;Apparently the fact that we were using a custom index was an important factor after all. Sitecore Support gave us a solution: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems that if you have a custom index with its own configuration the language is stored in the index in a short format. We had to include the _language field as defined in the standard config in the fieldmap of our custom index. So we add this to the custom fieldmap:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;_language&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;  &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It seemed weird that this fixes our issue, but it does. Somehow I expected the standard Sitecore fields in the custom index to come from the default configuration but apparently they do not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also checked the search log files (should have done that sooner) and now the queries show full languages instead of short ones as before. And we get the correct results.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-03T11:17:25.163" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="243" PostTypeId="1" CreationDate="2016-10-03T12:50:25.200" Score="11" ViewCount="3763" Body="&lt;p&gt;How do I show an error style dialog (i.e. with red error logo and the expand text) from a content editor command?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to use &lt;code&gt;SheerResponse.ShowError()&lt;/code&gt;. The content editor greys out like it does for regular modals / dialogs, but no error message appears. I'm using Sitecore 8.0 update 3. My code is below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyCommand: Command&#xA;{&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        var nameValueCollection = new NameValueCollection();&#xA;        if (context.Items.Length == 1)&#xA;        {&#xA;            Item item = context.Items[0];&#xA;            if (item != null&#xA;                &amp;amp;&amp;amp; item.TemplateID.ToString() == Templates.RedirectSettings.TemplateId)&#xA;            {&#xA;                nameValueCollection[&quot;id&quot;] = item.ID.ToString();&#xA;                Sitecore.Context.ClientPage.Start(this, &quot;DoStuff&quot;, nameValueCollection);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    protected void DoStuff(ClientPipelineArgs args)&#xA;    {&#xA;        var itemId = args.Parameters[&quot;id&quot;];&#xA;        if (!args.IsPostBack)&#xA;        {&#xA;            SheerResponse.Confirm(&quot;Do stuff now?&quot;);&#xA;            args.WaitForPostBack();&#xA;        }&#xA;        else if (args.Result == &quot;yes&quot;)&#xA;        {&#xA;            var everythingOk = //do some stuff and check if successfull..&#xA;            if (everythingOk)&#xA;            {&#xA;                SheerResponse.Alert(&quot;Everything worked ok&quot;, true, &quot;It's ok&quot;);&#xA;            }&#xA;            else&#xA;            {&#xA;                //something went wrong&#xA;                SheerResponse.ShowError(&quot;My short description&quot;, &quot;Detailed description...&quot;);&#xA;                args.WaitForPostBack();&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="73" LastEditDate="2016-10-10T08:54:27.133" LastActivityDate="2020-04-21T03:32:25.003" Title="How do I display an error dialog from content editor command?" Tags="|content-editor|sheer-ui|commands|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="244" PostTypeId="2" ParentId="243" CreationDate="2016-10-03T13:26:12.617" Score="3" Body="&lt;p&gt;try:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Context.ClientPage.ClientResponse.Alert(&quot;Your error message&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="414" LastActivityDate="2016-10-03T13:26:12.617" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="245" PostTypeId="1" AcceptedAnswerId="449" CreationDate="2016-10-03T16:33:26.360" Score="6" ViewCount="983" Body="&lt;p&gt;This is for Sitecore 7.5 update-2 version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Item-level Language Fallback and everything works fine except this piece gives error every time except when in &lt;code&gt;Page Editor&lt;/code&gt; mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;item.Axes.SelectSingleItem('ancestor::*[@@templateid='GUID']//*[@@templateid='GUID']')&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Above code returns NULL object when trying to fetch item in language version which it doesn't exist. Since we have Item-level Language Fallback configured I'm unable to understand why this doesn't fallback when using Sitecore query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone has any idea on this appreciated or did you faced same issue anytime?&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="73" LastEditDate="2016-10-03T19:48:43.007" LastActivityDate="2016-10-04T14:05:37.847" Title="Item Language Fallback doesn't work for Sitecore query" Tags="|language-fallback|sitecore-query|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="246" PostTypeId="1" AcceptedAnswerId="247" CreationDate="2016-10-03T18:25:37.200" Score="15" ViewCount="6991" Body="&lt;p&gt;Folks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to do something basic here which is have a general link and an image field as editable in experience editor on my view using Glass. &#xA;my end goal is to have two editable fields which are rendered as: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;a&amp;gt;&amp;lt;img&amp;gt;&amp;lt;/img&amp;gt;&amp;lt;a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am trying to do something like this but this is not working well&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Html.Glass().Editable(Model, m =&amp;gt; m.MyLinkField, new { img = Model.MyImageField })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone know what I'm missing here?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="607" LastEditDate="2017-06-18T15:16:17.203" LastActivityDate="2017-06-18T15:16:17.203" Title="Editable Sitecore fields with Glass" Tags="|experience-editor|glass-mapper|razor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="247" PostTypeId="2" ParentId="246" CreationDate="2016-10-03T18:36:11.513" Score="26" Body="&lt;p&gt;This should give you what you want:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using (Html.Glass().BeginRenderLink(Model, m =&amp;gt; m.MyLinkField, null, true) {&#xA;  @Html.Glass().RenderImage(Model, m =&amp;gt; m.MyImageField, null, true)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="10" LastEditorUserId="10" LastEditDate="2016-10-06T14:04:49.550" LastActivityDate="2016-10-06T14:04:49.550" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="248" PostTypeId="2" ParentId="243" CreationDate="2016-10-03T20:03:24.010" Score="10" Body="&lt;p&gt;As far as I remember, Sitecore 8 support for Sheer has been dropped in favour of SPEAK.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jockstothecore.com/sitecore-8-ribbon-button-transfiguration/&quot; rel=&quot;noreferrer&quot;&gt;Here&lt;/a&gt; you can find more information on how to convert a button from Sheer to SPEAK.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In essence you have to use JavaScript for that and create a function according to the template below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;define([&quot;sitecore&quot;], function (Sitecore) {&#xA;    Sitecore.Commands.YourCommandName = {&#xA;        canExecute: function (context) {&#xA;            return true; // check if the command can execute&#xA;        },&#xA;        execute: function (context) {&#xA;            var id = context.currentContext.itemId;&#xA;            var lang = context.currentContext.language;&#xA;            var ver = context.currentContext.version;&#xA;&#xA;            // here comes your code&#xA;&#xA;            alert(&quot;Error!&quot;); // use javascript here to show info or ask for confirmaiton&#xA;        }&#xA;    };&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then connect it to the presentation of the button. Refer to &lt;a href=&quot;http://jockstothecore.com/sitecore-8-ribbon-button-transfiguration/&quot; rel=&quot;noreferrer&quot;&gt;this link&lt;/a&gt; for the detailed information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info about Speak can be found &lt;a href=&quot;https://mhwelander.net/2014/06/27/speak-for-newbies-part-1-creating-a-new-application/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="28" LastEditDate="2016-10-07T14:55:49.707" LastActivityDate="2016-10-07T14:55:49.707" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="249" PostTypeId="1" AcceptedAnswerId="255" CreationDate="2016-10-03T20:29:55.533" Score="12" ViewCount="13362" Body="&lt;p&gt;My Sitecore error logs contain messages such as:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR MediaRequestProtection: An invalid/missing hash value was encountered. The expected hash value... &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What would be causing this? This is only for Sitecore 8 and newer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does it have anything to do with the &lt;code&gt;Media.RequestProtection.SharedSecret&lt;/code&gt; configuration setting?&lt;/p&gt;&#xA;" OwnerUserId="365" LastEditorUserId="28" LastEditDate="2016-10-04T15:07:26.097" LastActivityDate="2017-08-16T03:23:26.547" Title="MediaRequestProtection: An invalid/missing hash value was encountered" Tags="|security|media-library|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="250" PostTypeId="1" AcceptedAnswerId="259" CreationDate="2016-10-03T20:31:49.643" Score="4" ViewCount="433" Body="&lt;p&gt;When installing the WFFM module with SIM, does it perform the post-install steps for you, like running the SQL script against the reporting database or updating the web.config for the captcha controls?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed when I tried adding that module to a SIM install that the SIM installation eventually just hangs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2016-10-03T20:45:14.493" Title="Installing WFFM with SIM - post-install steps" Tags="|wffm|module|sim|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="251" PostTypeId="1" AcceptedAnswerId="685" CreationDate="2016-10-03T20:33:38.340" Score="8" ViewCount="984" Body="&lt;p&gt;I've had a serious problem with several clients while utilising a Lucene search index where anomalies like content missing that should be there or duplicate content (more than one document of the same content item that both have the &lt;code&gt;islatest&lt;/code&gt; flag).  In many cases an index rebuild will fix it, but more often than not a rebuild will simply shuffle around the anomalies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately I'm asking is there a way to configure the search index to be more consistent and reliable? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I'm specifically talking about the &lt;code&gt;sitecore_master_index&lt;/code&gt; and &lt;code&gt;sitecore_web_index&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="426" LastEditorUserId="277" LastEditDate="2018-05-23T09:46:42.957" LastActivityDate="2018-05-23T09:46:42.957" Title="Lucene index corruption" Tags="|lucene|indexing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="252" PostTypeId="2" ParentId="249" CreationDate="2016-10-03T20:34:10.877" Score="7" Body="&lt;p&gt;I did some digging:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has a mechanism to ensure the validity of dynamically scaled media requests.  Read more about this here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening/configuring/protect_media_request&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening/configuring/protect_media_request&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One should use Sitecore controls (sc:image) for rendering media or use a pattern of Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(theMediaUrl) instead of just the MediaManager.GetMediaUrl method for rendering media links.  This is a likely cause of this exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, Sitecore recommends one change the Media.RequestProtection.SharedSecret setting in the App_Config/Include/Sitecore.Media.RequestProtection.config file. This provides a unique key to you, instead of using the OOTB value in the Sitecore installation. Use the same key for all the Sitecore servers in the solution! We accomplish this via patch .config as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Media.RequestProtection.SharedSecret&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;911edb71-aab3-4a1a-aba1-7ef61de116f&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Generate a new guid per customer installation, ensuring a unique secret value is in place.&lt;/p&gt;&#xA;" OwnerUserId="365" LastEditorUserId="365" LastEditDate="2016-10-03T20:43:04.140" LastActivityDate="2016-10-03T20:43:04.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="253" PostTypeId="2" ParentId="249" CreationDate="2016-10-03T20:34:23.173" Score="10" Body="&lt;p&gt;Yes. Likely your solution is not generating protected Media Urls. Used to be:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var mediaUrl = Sitecore.Resources.Media.MediaManager.GetMediaUrl(mediaItem)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Was enough. But to protect against XSS attacks, these should now be protected. Like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;mediaUrl = Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(mediaUrl)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which should make the log warnings go away.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-03T20:34:23.173" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="254" PostTypeId="1" AcceptedAnswerId="257" CreationDate="2016-10-03T20:34:45.583" Score="8" ViewCount="993" Body="&lt;p&gt;I need to change the password complexity requirements for authors to meet corporate standards of a password being:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Minium of 8 characters&lt;/li&gt;&#xA;&lt;li&gt;Contain at least one numeral&lt;/li&gt;&#xA;&lt;li&gt;Contain at least one symbol&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="249" LastEditorUserId="73" LastEditDate="2016-10-03T22:07:55.187" LastActivityDate="2016-10-03T22:07:55.187" Title="How do I set password complexity?" Tags="|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="255" PostTypeId="2" ParentId="249" CreationDate="2016-10-03T20:34:49.047" Score="10" Body="&lt;p&gt;It usually means that a Url for a media asset is missing the Hash query string parameter when being called.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was introduced in v7.5. It attempts to fix an image resize vunerability where you could potentially fill a disk with different image sizes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use a &lt;code&gt;FieldRenderer&lt;/code&gt; you will get a valid url with the Hash query string appended. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you just generate the url, you will need to add the hash. Fortunately Sitecore has some utilities to do that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl&lt;/code&gt; : will return the full Url with the hash added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(&#xA;    Sitecore.Resources.Media.MediaManager.GetMediaUrl(&#xA;                           myMediaItem,&#xA;                           new MediaUrlOptions()&#xA;                           {&#xA;                               Language = Context.Language,&#xA;                               Width = 100,&#xA;                               Height = 75&#xA;                           }));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-03T20:34:49.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="256" PostTypeId="1" AcceptedAnswerId="501" CreationDate="2016-10-03T20:41:29.733" Score="26" ViewCount="720" Body="&lt;p&gt;It used to be, that next to the collapsible sections in the Content Editor tab; the section icon would display on the tab. This made it very easy for me to identify the section I was looking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To clarify; this is where I mean:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7r3BT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7r3BT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In recent Sitecore versions, this has gone away. I presume it has to do with the Content Editor moving to SPEAK but I am not sure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to get this back?   A setting or so?   And if not, does anyone have an example of how this functionality could be overridden to bring the icons back in?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-07T13:18:53.610" Title="How do I get my section icons in the Content Editor to show again?" Tags="|content-editor|speak|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="257" PostTypeId="2" ParentId="254" CreationDate="2016-10-03T20:43:19.013" Score="10" Body="&lt;p&gt;You can set this in the &lt;code&gt;web.config&lt;/code&gt;. In your membership section. You can set a password strength regular expression. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;add name=&quot;sql&quot; type=&quot;System.Web.Security.SqlMembershipProvider&quot; &#xA;    connectionStringName=&quot;core&quot; &#xA;    applicationName=&quot;sitecore&quot; &#xA;    minRequiredPasswordLength=&quot;8&quot; &#xA;    minRequiredNonalphanumericCharacters=&quot;1&quot; &#xA;    requiresQuestionAndAnswer=&quot;false&quot; &#xA;    requiresUniqueEmail=&quot;false&quot; &#xA;    maxInvalidPasswordAttempts=&quot;5&quot; &#xA;    passwordStrengthRegularExpression=&quot;^(?=.*[a-zA-Z])(?=.*\d)(?=.*[!@#$%^&amp;amp;*()_+])[A-Za-z\d][A-Za-z\d!@#$%^&amp;amp;*()_+]{7,19}$&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found this regex &lt;code&gt;^(?=.*[a-zA-Z])(?=.*\d)(?=.*[!@#$%^&amp;amp;*()_+])[A-Za-z\d][A-Za-z\d!@#$%^&amp;amp;*()_+]{7,19}$&lt;/code&gt; for your requirements: &lt;a href=&quot;https://stackoverflow.com/questions/27938415/regex-for-password-atleast-1-letter-1-number-1-special-character-and-should&quot;&gt;Regex Source&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-03T20:43:19.013" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="258" PostTypeId="1" CreationDate="2016-10-03T20:44:15.343" Score="47" ViewCount="2000" Body="&lt;p&gt;Data Providers are difficult to develop, given the performance and data mapping challenges they can present. But they are powerful when done correctly:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Allowing real-time integration with external systems&lt;/li&gt;&#xA;&lt;li&gt;Present as Sitecore items that can be used for linking or even to drive pages&lt;/li&gt;&#xA;&lt;li&gt;Can enable editing of data in external systems via Sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In what cases would one create a data provider instead of importing content? What are examples of practical integration scenarios which would benefit from a Data Provider implementation?&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2016-10-06T18:15:00.600" LastActivityDate="2019-03-18T16:20:39.200" Title="What are some appropriate uses for Sitecore Data Providers?" Tags="|integration|data-provider|best-practices|" AnswerCount="11" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="259" PostTypeId="2" ParentId="250" CreationDate="2016-10-03T20:45:14.493" Score="3" Body="&lt;p&gt;SIM doesn't perform the post-install steps (running the SQL script, updating the web.config for captcha, etc...).  It does &quot;complete&quot;, for all intents and purposes, but SIM gets stuck on the placeholder selection dialog at the end of the installation.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But apart from that, everything is installed as it should be.&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2016-10-03T20:45:14.493" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="261" PostTypeId="1" CreationDate="2016-10-03T20:46:48.937" Score="6" ViewCount="997" Body="&lt;p&gt;Does anyone have any ideas why Experience Editor would take 5-6 seconds to display a component I add when running on development or staging servers vs less than 2 seconds when running Sitecore and the DBs locally? I know there is likely some latency between the CD and DB servers but this seems like a ridiculous difference. Especially since the servers are much higher spec than my machine. I've done all I can to optomise my code and what is loaded in Experience editor so am pretty stumped.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-03T21:47:32.740" Title="Sitecore Experience Editor Slow on Servers?" Tags="|experience-editor|performance-optimization|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="262" PostTypeId="2" ParentId="258" CreationDate="2016-10-03T20:49:13.357" Score="13" Body="&lt;p&gt;A good example is exposing information from a PIM (product information manager) as native Sitecore items in the Sitecore tree. With this, production information can be accessed via the same API's as you'd use for accessing content managed via Stiecore.&lt;/p&gt;&#xA;" OwnerUserId="249" LastActivityDate="2016-10-03T20:49:13.357" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="263" PostTypeId="1" AcceptedAnswerId="264" CreationDate="2016-10-03T20:50:13.263" Score="4" ViewCount="1746" Body="&lt;p&gt;I have a requirement to read each rich text field and then edit the content with unordered lists rather than ordered.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-03T20:50:13.263" Title="How do I parse a Rich Text in PowerShell in order to replace elements?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="264" PostTypeId="2" ParentId="263" CreationDate="2016-10-03T20:50:13.263" Score="3" Body="&lt;p&gt;The easiest solution is probably to find and replace characters rather than parse all of the html. Try this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Home Item&#xA;$rootId = &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;&#xA;&#xA;# Get only the immediate children&#xA;$items = @((Get-ChildItem -Path &quot;master:&quot; -ID $rootId))&#xA;foreach($item in $items) {&#xA;    $html = $item.Text&#xA;    if([String]::IsNullOrEmpty($html)) { continue }&#xA;    $newText = $html.Replace(&quot;&amp;lt;ul&amp;gt;&quot;, &quot;&amp;lt;ol&amp;gt;&quot;).Replace(&quot;&amp;lt;/ul&amp;gt;&quot;, &quot;&amp;lt;/ol&amp;gt;&quot;)&#xA;    $item.Text = $newText&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-03T20:50:13.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="265" PostTypeId="2" ParentId="258" CreationDate="2016-10-03T20:50:26.477" Score="14" Body="&lt;p&gt;I've used DataProviders fairly extensively and I'd say that they're good if:&#xA;1. Your API is fast (not too many calls to get the info, easily cached etc)&#xA;2. You need data to be up do date (to reasonable caching margins)&#xA;3. You're not going to have masses of items within each folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The biggest issue I've found is how hungry Sitecore is getting children - this can lead to slowww DPs. Also overuse of the IDTable can cause issues if items with loads of fields (because of the way Sitecore treats all fields as items) - be aware that the IDTable calls aren't cached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm working on a bucket DataProvider at the moment (it's not quite working how I'd like at the moment) so I'll blog about that when it's ready: breaksitecoreblog.wordpress.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd say it's a trade-off between how efficient you can make the DP and how often the data needs to be updated.&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="2395" LastEditDate="2017-10-30T18:24:33.620" LastActivityDate="2017-10-30T18:24:33.620" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="266" PostTypeId="1" AcceptedAnswerId="272" CreationDate="2016-10-03T20:51:06.713" Score="8" ViewCount="802" Body="&lt;p&gt;I'm seeing a ton of these messages in my logs all the time.  How can I clear them up?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Heartbeat 13:07:35 WARN  Could not register counter in HealthMonitor. Category: .NET CLR Memory, Name: # Bytes in all Heaps, Instance: , InstanceType: CLR&#xA;          Message: Category does not exist.&#xA;  Heartbeat 13:07:35 WARN  Could not register counter in HealthMonitor. Category: .NET CLR Memory, Name: % Time in GC, Instance: , InstanceType: CLR&#xA;          Message: Category does not exist.&#xA;  Heartbeat 13:07:35 WARN  Could not register counter in HealthMonitor. Category: .NET CLR Memory, Name: Large Object Heap size, Instance: , InstanceType: CLR&#xA;          Message: Category does not exist.&#xA;  Heartbeat 13:07:35 WARN  Could not register counter in HealthMonitor. Category: .NET CLR Loading, Name: Bytes in Loader Heap, Instance: , InstanceType: CLR&#xA;          Message: Category does not exist.&#xA;  Heartbeat 13:07:35 WARN  Could not register counter in HealthMonitor. Category: .NET CLR Loading, Name: Current Assemblies, Instance: , InstanceType: CLR&#xA;          Message: Category does not exist.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="226" LastEditorUserId="2727" LastEditDate="2018-03-12T09:09:27.333" LastActivityDate="2018-03-12T09:09:27.333" Title="WARN Could not register counter in HealthMonitor warnings in logs" Tags="|health-monitor|performance|logging|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="267" PostTypeId="1" CreationDate="2016-10-03T20:53:57.517" Score="6" ViewCount="225" Body="&lt;p&gt;I have been tweaking my SOLR 5.4 schema and I have noticed this behavior:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I have &lt;code&gt;_path&lt;/code&gt; defined in my &lt;code&gt;schema.xml&lt;/code&gt;, I do &lt;strong&gt;not&lt;/strong&gt; see &lt;code&gt;_path_sm&lt;/code&gt; (or &lt;code&gt;_path&lt;/code&gt;) in my raw SOLR index.  However, if I &lt;strong&gt;remove&lt;/strong&gt; the &lt;code&gt;_path&lt;/code&gt; definition from my &lt;code&gt;schema.xml&lt;/code&gt;, then I correctly see &lt;code&gt;_path_sm&lt;/code&gt; in my index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The offending field is:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field name=&quot;_path&quot; type=&quot;string&quot; indexed=&quot;true&quot; stored=&quot;true&quot; multiValued=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the field looks like this in SOLR:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;arr name=&quot;_path_sm&quot;&amp;gt;&#xA;    &amp;lt;str&amp;gt;11111111111111111111111111111111&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str&amp;gt;0de95ae441ab4d019eb067441b7c2450&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str&amp;gt;3156c74fd8334b8f86815a17ebe69998&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str&amp;gt;05e49a575ece46e98b73ce7f3fedc78d&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str&amp;gt;fd17e8226ec8435ea522d32f986bb8e1&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str&amp;gt;f9ce8111622a45e0b9cf2f88ea627c06&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str&amp;gt;c7f77608398e457297890077a5500c73&amp;lt;/str&amp;gt;&#xA;&amp;lt;/arr&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone else noticed this behavior?  Is there an elegant solution (besides just removing the field from my schema)?&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="73" LastEditDate="2016-10-07T22:35:33.610" LastActivityDate="2016-10-07T22:36:10.797" Title="SOLR schema is Invalid?" Tags="|solr|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="268" PostTypeId="1" AcceptedAnswerId="275" CreationDate="2016-10-03T20:54:22.170" Score="16" ViewCount="1348" Body="&lt;p&gt;I read this post today about replacing Sitecores 8.2 default DI (&lt;a href=&quot;https://medium.com/@structuredcode/replacing-the-default-di-container-in-sitecore-8-2-4e65d4956c99&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/@structuredcode/replacing-the-default-di-container-in-sitecore-8-2-4e65d4956c99&lt;/a&gt;), but the example is for Autofac. We use SimpleInjector, but I'm sure not how to do this for SimpleInjector; does anyone have any examples?&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="104" LastEditDate="2017-11-12T10:15:17.467" LastActivityDate="2017-11-12T10:15:17.467" Title="SimpleInjector as default DI in Sitecore 8.2" Tags="|dependency-injection|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="269" PostTypeId="2" ParentId="258" CreationDate="2016-10-03T20:55:15.097" Score="8" Body="&lt;p&gt;I have used them before to inject custom Security on an item level.  In my particular case the security requirements couldn't be fulfilled by Sitecore security, so my data provider would perform the calculation instead and return items appropriately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wrote about the implementation details here: &lt;a href=&quot;http://jockstothecore.com/item-provider-for-security/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jockstothecore.com/item-provider-for-security/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="430" LastEditDate="2016-11-03T16:09:10.587" LastActivityDate="2016-11-03T16:09:10.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="271" PostTypeId="2" ParentId="258" CreationDate="2016-10-03T21:00:30.150" Score="50" Body="&lt;p&gt;It's a difficult one; a question I've considered many times over in the years I've been working with Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can start with some numbers. I've done perhaps 30 or so projects that involved data integration of some kind. 29 of which, I ended up importing the data. I've only ever done 1 project where I've implemented a full Data Provider - and I'll highlight why:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Data is often imperfect&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is especially the case for most e-commerce solutions I've worked. This is usually product data, product meta data, category trees and so on. It's very rare that one can source all of the required information (short descriptions, long descriptions, images, product attributes and so on) from the back-end systems. So what I've ended up doing; is doing multiple integration runs - enriching the product catalogue in each run. Then when complete - publish the enriched data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Back-end systems are too slow for practical website use&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is especially true for ERP and PIM systems. They are designed with data integrity in mind, and only secondly have an eye on performance. If even that. Add to this; the nature of data in these systems is rarely a tree-like structure (rather; relational) - making it difficult to make them fit into the parent/child nature that a Sitecore Data Provider has to follow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly; if opening up a Data Provider to a back end system - it needs to be available &lt;em&gt;all the time&lt;/em&gt;, or the Content Editor users find themselves out of work. And publishing an empty structure... doesn't really end so well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore's data model is richer than most back-end systems&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I argued this in &lt;a href=&quot;http://intothecore.cassidy.dk/2009/05/working-with-multiple-content-databases.html&quot;&gt;Working with multiple content databases in Sitecore 6&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore offers versioning, language versions, workflows, many types of fields - right out of the box. Writing a Data Provider, one often ends up stubbing most of this functionality out, thus detracting from the overall Sitecore experience. The data &lt;em&gt;looks&lt;/em&gt; like it's a native part of the Sitecore content tree, but it's really not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So where?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Well I honestly don't see where I would use one today. Unless writing a very specialized tool - like Kamsar's Unicorn or so. For live use on the website?  We have so many other ways of abstracting data - Dependency Injection, Services, Web APIs and so on - I really don't see any added value in feeding this data in via a Data Provider, just so we can use Sitecore Query (brr) to query it. I think Data Providers made sense, when XSLT was still the de-facto standard for rendering Sitecore content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think those days are behind us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: &lt;strong&gt;elaboration&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The whole point of a data provider is; to bring in content and have it appear as native Sitecore content. The idea being; you then bring in your content from multiple sources, and then have it work just like had it been created natively in Sitecore. And yes; part of that was based on creating XSLT renderings, and they shouldn't need to know what content was native and what was not - and with XSLT renderings there simply is no easy option to render non-Sitecore data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how are these used?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Well presumably your data provider is one-way. You &lt;em&gt;can&lt;/em&gt; implement a 2 way provider but I've never had a business case for it. Usually one integrates to a business system and we can't just let any editor simply edit content (by mistake - in Experience Editor this could easily happen) and have it written back to the origin system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So we feed in data from the provider; and we probably feed it directly into &quot;master&quot; and &quot;web&quot; in many instances, as support for publishing of provided data is extra work. Plus - you data provide to have a real time view to the origin system and publishing would sort of ruin that idea. Now you have to decide how to deal with caches; external link to origin system breaking down (and taking your solution down in the fall)...  meh the list just goes on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So what can we do instead?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lots. Ruling XSLT out again; say you wanted to reach data from a back end CRM database.  Your Helix feature would be something like &quot;CRM Integration&quot; (pardon me if not up to speed on any naming conventions in Helix). And go for it; provide the project layers with ICrmIntegration if you want. And if you desperately crave a Sitecore Item tree, nothing is stopping you from mocking one up at this point. Especially not in new Sitecore releases.  Something like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var customersRoot = _crmIntegration.GetCustomersRoot();&#xA;foreach(Item customer in customersRoot.GetChildren())...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Possible?  Sure.  But looking at it like this, it becomes obvious it just doesn't make much sense.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there is a case for a Data Provider, it would only be a fully implemented 2-way provider. To save you having to write a web interface to update some data. Nothing else rings any kind of sense to me. Not today, not post XSLT. Not with models, Dependency Injection, Layered Architecture. We have so many better options available.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-06T22:45:33.920" LastActivityDate="2016-10-06T22:45:33.920" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="272" PostTypeId="2" ParentId="266" CreationDate="2016-10-03T21:01:24.697" Score="8" Body="&lt;p&gt;I think this URL speaks to your issue: &lt;a href=&quot;https://kb.sitecore.net/articles/404548&quot;&gt;https://kb.sitecore.net/articles/404548&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Among the other suggestions there, try to reload the perf counters:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Start an administrator command prompt.&lt;/li&gt;&#xA;&lt;li&gt;Run unlodctr .NETFramework.&lt;/li&gt;&#xA;&lt;li&gt;Run lodctr %WINDIR%\Microsoft.NET\Framework\\CORPerfMonSymbols.ini &#xA;where  is the directory of the .NET Framework version which contains the CORPerfMonSymbols.ini file. It should be either v4.0.xxx or v2.0.xxx if 4.0 is not installed.&lt;/li&gt;&#xA;&lt;li&gt;Restart IIS.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-10-03T21:01:24.697" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="273" PostTypeId="2" ParentId="266" CreationDate="2016-10-03T21:01:47.923" Score="1" Body="&lt;p&gt;I would suggest setting: Counters.Enabled to false with a patch file and this will stop Sitecore logging out most of these counters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should read up on what these are for though before you do this: &lt;a href=&quot;https://kb.sitecore.net/articles/404548&quot; rel=&quot;nofollow&quot;&gt;https://kb.sitecore.net/articles/404548&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-03T21:01:47.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="274" PostTypeId="2" ParentId="266" CreationDate="2016-10-03T21:02:19.770" Score="4" Body="&lt;p&gt;There is a very good article on &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/531&quot; rel=&quot;nofollow&quot;&gt;https://community.sitecore.net/developers/f/8/t/531&lt;/a&gt; which deals with the same issue. I actually followed it up last year and it solved the issue that you are having as well.&lt;/p&gt;&#xA;" OwnerUserId="21" LastActivityDate="2016-10-03T21:02:19.770" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="275" PostTypeId="2" ParentId="268" CreationDate="2016-10-03T21:04:01.100" Score="20" Body="&lt;p&gt;The problem with the simple injector container is that they do not provide a conforming container option. &lt;a href=&quot;https://github.com/simpleinjector/SimpleInjector/issues/41&quot;&gt;They don't like it&lt;/a&gt;. So to replace it with Simple Injector requires a bit more effort.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this post &lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/09/17/Habitat-Dependency-Injection-with-Sitecore-8-2/&quot;&gt;Habitat DI with Simple Injector&lt;/a&gt; - I explained how to use SI in a conforming way to register your dependencies for Habitat projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could take a similar approach with replacing the default Sitecore container. Using the custom &lt;code&gt;ServiceProviderBuilder&lt;/code&gt; from the post in the question you could do this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class SimpleInjectorServiceProviderBuilder&#xA;  : BaseServiceProviderBuilder&#xA;{&#xA;    protected override IServiceProvider BuildServiceProvider(IServiceCollection serviceCollection)&#xA;    {&#xA;        var container= new Container();&#xA;&#xA;        // Register Sitecore services in SI&#xA;        var containerCache = new List&amp;lt;Type&amp;gt;();&#xA;        foreach (var serviceDescriptor in dependencyInjectionArgs.ServiceCollection)&#xA;        {&#xA;            // Safety check so we don't try to register the same type twice&#xA;            if (containerCache.Contains(serviceDescriptor.ServiceType))&#xA;            {&#xA;              continue;&#xA;            }&#xA;            Lifestyle siScope;&#xA;            switch (serviceDescriptor.Lifetime)&#xA;            {&#xA;              case ServiceLifetime.Singleton:&#xA;                siScope = Lifestyle.Singleton;&#xA;                break;&#xA;              case ServiceLifetime.Transient:&#xA;                siScope = Lifestyle.Transient;&#xA;                break;&#xA;              case ServiceLifetime.Scoped:&#xA;              default:&#xA;                siScope = Lifestyle.Scoped;&#xA;                break;&#xA;            }&#xA;            container.Register(serviceDescriptor.ServiceType, serviceDescriptor.ImplementationType, siScope);&#xA;            containerCache.Add(serviceDescriptor.ServiceType);&#xA;        }&#xA;&#xA;        // Return service provider adaptor.&#xA;        return container.Resolve&amp;lt;IServiceProvider&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see - instead of calling the &lt;code&gt;.Populate&lt;/code&gt; method and passing the service collection in, you have to enumerate through the service collection and more manually register your services. (Please note, this is PoC and untested code :) )&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-10-03T21:19:21.967" LastActivityDate="2016-10-03T21:19:21.967" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="276" PostTypeId="1" AcceptedAnswerId="296" CreationDate="2016-10-03T21:16:46.377" Score="5" ViewCount="1254" Body="&lt;p&gt;I'm having an issue identifying xDB contacts...  I'm trying to call the Identify() method in my controller action, but I see this error in the logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.InvalidOperationException&#xA;  Message: A contact is locked by another operation.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: Here's the full stack trace.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.InvalidOperationException&#xA;  Message: A contact is locked by another operation.&#xA;  Source: Sitecore.Analytics.MongoDB&#xA;     at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbContactStorage.LoadContactIdentifier(ID contactId, LeaseOwner leaseOwner)&#xA;     at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.SaveContactWithIdentifier(IContact contact, ContactSaveOptions saveOptions)&#xA;     at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.&amp;lt;&gt;c__DisplayClass9.b__7()&#xA;     at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.Try(Action action)&#xA;     at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.SaveContact(IContact contact, ContactSaveOptions saveOptions)&#xA;     at Sitecore.Analytics.Data.ContactRepository.SaveContact(Contact contact, ContactSaveOptions options)&#xA;     at Sitecore.Analytics.Tracking.ContactManager.SubmitContact(Contact contact, ContactSaveOptions options)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="226" LastEditorUserId="73" LastEditDate="2016-11-08T11:22:22.567" LastActivityDate="2016-11-28T01:01:01.003" Title="Contact is locked by another operation" Tags="|xdb|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="277" PostTypeId="1" AcceptedAnswerId="464" CreationDate="2016-10-03T21:18:28.040" Score="10" ViewCount="6714" Body="&lt;p&gt;I am trying to configure Solr for Sitecore 8.2. Solr is running and I have cores set up for each index and secondary cores set up for rebuilding. I'm not using the Solr support package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting the following error when trying to browse the site: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not create instance of type: &lt;code&gt;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex&lt;/code&gt;. No matching constructor was found.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm guessing, it's a configuration problem. However, I can't get to &lt;code&gt;showconfig.aspx&lt;/code&gt; to see what the issue might be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the patch config for the indexes:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;indexes&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_core_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_core&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_core_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_master_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_master&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_master_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_web&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_web_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_marketing_asset_index_master&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_marketing_asset_master&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_marketing_asset_master_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_marketing_asset_index_web&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_marketing_asset_web&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_marketing_asset_web_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_marketingdefinitions_master&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_sitecore_marketingdefinitions_master&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_sitecore_marketingdefinitions_master_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_marketingdefinitions_web&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_sitecore_marketingdefinitions_web&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_sitecore_marketingdefinitions_web_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_testing_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_testing&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_testing_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_suggested_test_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_suggested_test&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_suggested_test_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_fxm_master_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_fxm_master&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_fxm_master_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_fxm_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_fxm_web&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_fxm_web_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;sitecore_list_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_list&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_list_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;social_messages_master&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_social_messages_master&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_social_messages_master_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;  &amp;lt;index id=&quot;social_messages_web&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_social_messages_web&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_social_messages_web_2&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;&amp;lt;/indexes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="394" LastEditorUserId="2727" LastEditDate="2018-06-07T13:28:55.463" LastActivityDate="2018-06-07T13:28:55.463" Title="Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex. No matching constructor was found" Tags="|solr|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="278" PostTypeId="2" ParentId="277" CreationDate="2016-10-03T21:23:45.447" Score="9" Body="&lt;p&gt;I had exactly the same issue as you and for me it was a really small change to the patching that fixed it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_core_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_core&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_core_2&amp;lt;/param&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do this:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_core_index&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;SitecoreSandbox_core&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;SitecoreSandbox_core_2&amp;lt;/param&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;notice that in the first line &lt;code&gt;&amp;lt;index id=.....&lt;/code&gt; I removed the &lt;code&gt;type&lt;/code&gt; attribute. Its a strange thing, but that fixed it when I tried. &lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-03T21:23:45.447" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="279" PostTypeId="1" AcceptedAnswerId="516" CreationDate="2016-10-03T21:35:14.757" Score="1" ViewCount="690" Body="&lt;p&gt;We have an issue where all images from the media library display fine. But PDFs stored in the media library download with 0 bytes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've tracked this down to an issue somewhere in the Multisites configuration as with a single site the PDF downloads without any issues. However with multiples sites configured it fails to find the PDF in the media cache and returns a zero byte file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a bug or do we need to configure something to resolve this?&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-04T23:50:22.040" Title="PDF Downloads 0 Bytes" Tags="|media-library|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="280" PostTypeId="1" AcceptedAnswerId="6021" CreationDate="2016-10-03T21:41:39.430" Score="46" ViewCount="34903" Body="&lt;p&gt;I forgot my Sitecore admin password and was thinking a way to reset from database level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a SQL query to reset Sitecore admin password ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="312" LastEditDate="2017-06-06T09:12:40.463" LastActivityDate="2019-03-04T17:13:12.373" Title="Is there a way to reset Sitecore admin password from database level?" Tags="|security|sql-database|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="281" PostTypeId="2" ParentId="280" CreationDate="2016-10-03T21:42:36.533" Score="62" Body="&lt;p&gt;Yes there is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Switch to your &lt;code&gt;core&lt;/code&gt; database and execute the SQL below to reset the password to &lt;code&gt;b&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;UPDATE [aspnet_Membership] SET Password='qOvF8m8F2IcWMvfOBjJYHmfLABc=' &#xA;WHERE UserId IN (SELECT UserId FROM [aspnet_Users] WHERE UserName = 'sitecore\Admin')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alternatively navigate to &lt;code&gt;/sitecore/admin/unlock_admin.aspx&lt;/code&gt; and click &lt;code&gt;Unlock Administrator&lt;/code&gt;. For this to work, you must first &quot;unlock&quot; the functionality. Open up the .aspx file and modify the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;// TODO: to enable the page, set enableUnlockButton = true;&#xA;private bool enableUnlockButton = false;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1e9uK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1e9uK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="114" LastEditDate="2016-10-04T07:49:45.553" LastActivityDate="2016-10-04T07:49:45.553" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="282" PostTypeId="1" AcceptedAnswerId="288" CreationDate="2016-10-03T21:44:30.533" Score="4" ViewCount="64" Body="&lt;p&gt;Our content authors want to do a trial publish before making all their content live; part of their approval process is examining how the layouts pull in all the other 3rd party content etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could we setup a parallel site to the &quot;real&quot; site somehow, and allow people to push content to that preview version.  &lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-10-04T11:49:14.217" Title="Trial publish to an alternate site" Tags="|publishing|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="283" PostTypeId="2" ParentId="261" CreationDate="2016-10-03T21:47:32.740" Score="3" Body="&lt;p&gt;If it's slow for only the first insertion of a specific component, but subsequent insertions of the same component are relatively fast, then you may benefit from tuning the prefetch cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what the Sitecore manual states (&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/66/cache_configuration_reference_sc66-a4.pdf&quot; rel=&quot;nofollow&quot;&gt;source - Sitecore 6.6 manual&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The following sample demonstrates the XML structure for configuring&#xA;  prefetch caches.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA; &amp;lt;cacheSize&amp;gt;20MB&amp;lt;/cacheSize&amp;gt;&#xA; &amp;lt;childLimit&amp;gt;100&amp;lt;/childLimit&amp;gt;&#xA; &amp;lt;template desc=&quot;reference&quot;&amp;gt;{EF295CD8-19D4-4E02-9438-94C926EF5284}&amp;lt;/template&amp;gt;&#xA; &amp;lt;item desc=&quot;home&quot;&amp;gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&amp;lt;/item&amp;gt;&#xA; &amp;lt;children desc=&quot;field types&quot;&amp;gt;{76E6D8C7-1F93-4712-872B-DA3C96B808F2}&amp;lt;/children&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;The &lt;code&gt;&amp;lt;cacheSize&amp;gt;&lt;/code&gt; element controls the maximum size of the prefetch&#xA;  cache. The &lt;code&gt;&amp;lt;childLimit&amp;gt;&lt;/code&gt; element defines a limit to the number of&#xA;  children to represent in the prefetch cache. If an item has more than&#xA;  this number of children, Sitecore does not cache information about the&#xA;  children of that item in the prefetch cache. The &lt;code&gt;&amp;lt;configuration&amp;gt;&lt;/code&gt;&#xA;  element can contain any number of &lt;code&gt;&amp;lt;item&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;template&amp;gt;&lt;/code&gt;, and &lt;code&gt;&amp;lt;children&amp;gt;&lt;/code&gt;&#xA;  elements. For  elements, Sitecore loads the specified item into&#xA;  the prefetch cache. For  elements, Sitecore loads all of the&#xA;  items based on the specified data template into the prefetch cache.&#xA;  For &lt;code&gt;&amp;lt;children&amp;gt;&lt;/code&gt; elements, Sitecore loads all of the children of the&#xA;  specified item into the prefetch cache.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So you'd probably be able to use the &lt;code&gt;&amp;lt;children&amp;gt;&lt;/code&gt; element to include any essential content branches and all their children.&lt;/p&gt;&#xA;" OwnerUserId="399" LastActivityDate="2016-10-03T21:47:32.740" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="284" PostTypeId="1" AcceptedAnswerId="285" CreationDate="2016-10-03T21:50:25.667" Score="19" ViewCount="9327" Body="&lt;p&gt;I know you can unlock normal Sitecore users from user manager by login in to Sitecore backend, as admin user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to unlock Sitecore admin user, when the user account gets locked?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="3089" LastEditDate="2018-01-23T15:22:05.497" LastActivityDate="2018-07-26T17:24:13.747" Title="How to unlock the Sitecore admin user account?" Tags="|security|user-management|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="285" PostTypeId="2" ParentId="284" CreationDate="2016-10-03T21:56:40.430" Score="28" Body="&lt;p&gt;If you have direct access to the database, you can run the following from SQL Management Studio:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;UPDATE  aspnet_Membership &#xA;SET     IsLockedOut = 0, &#xA;        FailedPasswordAttemptCount = 0&#xA;WHERE   UserId IN (SELECT UserId FROM aspnet_Users WHERE UserName = 'sitecore\Admin')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Run this from the Core database.&lt;/p&gt;&#xA;" OwnerUserId="226" LastEditorUserId="114" LastEditDate="2016-10-04T11:29:21.513" LastActivityDate="2016-10-04T11:29:21.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="286" PostTypeId="1" AcceptedAnswerId="287" CreationDate="2016-10-03T21:57:13.883" Score="1" ViewCount="267" Body="&lt;p&gt;I know that master database contains all the versions of an item.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does the web database also contain all the versions of an item?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or web database can only contain a single version of an item?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="4050" LastEditDate="2019-10-17T17:45:56.533" LastActivityDate="2019-10-17T17:45:56.533" Title="Can the web database contain multiple versions of a single item?" Tags="|information-architecture|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="287" PostTypeId="2" ParentId="286" CreationDate="2016-10-03T21:59:58.670" Score="6" Body="&lt;p&gt;You are correct.  The master database contains all versions of any given item per language.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In normal senario and before sitecore 8.1, The web database only contains a single version of each item, per language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, from sitecore 8.1 onwards, there is a scenario where multiple versions of a single item can exist.&#xA;i.e.&#xA;when item have an Active Test running for different versions of the same language of that item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorefootsteps.blogspot.com/2015/10/multiple-versions-of-item-in-web.html&quot; rel=&quot;nofollow&quot;&gt;https://sitecorefootsteps.blogspot.com/2015/10/multiple-versions-of-item-in-web.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="226" LastEditorUserId="383" LastEditDate="2016-10-04T11:28:32.063" LastActivityDate="2016-10-04T11:28:32.063" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="288" PostTypeId="2" ParentId="282" CreationDate="2016-10-03T22:00:00.967" Score="7" Body="&lt;p&gt;Yes. But it can potentially involve a lot of steps, depending on how complex your solution is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll outline the headlines.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set up a new database to act as &quot;web&quot; for this site; e.g. &lt;code&gt;approval_web&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Configure this database in your &lt;code&gt;&amp;lt;databases&amp;gt;&lt;/code&gt; section&lt;/li&gt;&#xA;&lt;li&gt;Create a &lt;code&gt;Publishing Target&lt;/code&gt; for your approval site&lt;/li&gt;&#xA;&lt;li&gt;Map up a new &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; entry and give it a host name; e.g. &lt;code&gt;approval.site.com&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Your editors can now publish to this new &lt;code&gt;Publishing Target&lt;/code&gt; and pass it on for internal review - before publishing to the &quot;real&quot; public facing website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The most comprehensive guide I know for this is: &lt;a href=&quot;http://sitecore.robhabraken.nl/index.php/2068/setting-up-content-staging/&quot;&gt;Setting up content staging&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly; I seem to recall Sitecore making this easier in some recent release - but I can't find anything on it. It would involve the above principles anyway however.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-03T22:00:00.967" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="289" PostTypeId="1" AcceptedAnswerId="291" CreationDate="2016-10-03T22:01:10.540" Score="0" ViewCount="342" Body="&lt;p&gt;I'd like to use Algolia (a cloud-based search provider) for building my search indexes instead of using SOLR. Is that possible? How could I get started?&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="237" LastEditDate="2016-10-06T13:11:30.940" LastActivityDate="2019-05-21T05:42:37.503" Title="How can I use a 3rd party search appliance to build my searches?" Tags="|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="290" PostTypeId="1" AcceptedAnswerId="309" CreationDate="2016-10-03T22:07:12.877" Score="3" ViewCount="66" Body="&lt;p&gt;I've noticed that Ooyala and Brightcove both have their own media connectors. I'm looking at using a different media provider, and am trying to figure out what the amount of effort would be to write my own provider. Where are the extension points that I can use to create my own login and data retrieval methods?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-10-04T01:49:29.077" Title="How can I write my own Media Framework Extension?" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="291" PostTypeId="2" ParentId="289" CreationDate="2016-10-03T22:07:35.397" Score="2" Body="&lt;p&gt;Have you checked out the custom search provider for Algolia &lt;a href=&quot;https://github.com/dharnitski/Sitecore.Algolia&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-03T22:07:35.397" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="292" PostTypeId="1" AcceptedAnswerId="294" CreationDate="2016-10-03T22:32:03.717" Score="10" ViewCount="2346" Body="&lt;p&gt;I have used TDS for most of my packages for deployment or creating modules for co-workers and friends. TDS is great at creating update packages. Is there a process to take all Unicorn items and convert them into a Sitecore package?&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="73" LastEditDate="2016-10-03T22:37:58.963" LastActivityDate="2017-12-14T01:37:58.177" Title="Packaging up items from Unicorn into a Sitecore package" Tags="|unicorn|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="293" PostTypeId="1" AcceptedAnswerId="313" CreationDate="2016-10-03T22:46:15.083" Score="5" ViewCount="869" Body="&lt;p&gt;What is the best way to detect which items are missing a particular language version as well as add them? Is there a method to performing this in bulk?&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="180" LastEditDate="2016-10-04T11:28:59.357" LastActivityDate="2016-11-01T13:15:52.770" Title="Sitecore items missing language from some of the content" Tags="|content-editor|multilingual|information-architecture|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="294" PostTypeId="2" ParentId="292" CreationDate="2016-10-03T22:49:20.537" Score="9" Body="&lt;p&gt;As far as I know, I can say no there isn't at this point. Please correct me if I am wrong someone. However you can do the following to deploy sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://github.com/kamsar/Unicorn&quot; rel=&quot;nofollow&quot;&gt;https://github.com/kamsar/Unicorn&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Automated Deployment&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;With Unicorn you've got two options for automated deployment of item changes, for example from a Continuous Integration server or production deploy scripts.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Use Transparent Sync&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When using &lt;a href=&quot;http://kamsar.net/index.php/2015/10/Unicorn-Introducing-Transparent-Sync/&quot; rel=&quot;nofollow&quot;&gt;Transparent Sync&lt;/a&gt;, the items on disk magically appear in Sitecore without syncing. So one automated deployment option is to simply use Transparent Sync and copy your updated serialized items to the deployment target alongside your code. This is advantageous because it's simple to set up and requires no direct intervention with the deployed server after deployment (e.g. a HTTP call).&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Use the Automated Tool API&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Unicorn has an automated tool API whereby you can invoke actions in the Unicorn control panel from a script, such as invoking a sync after a code deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE: Automated Tool API is completely overhauled in Unicorn 3.1, and these instructions are for 3.1 only&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tools are authenticated using a shared secret between the tool and the Sitecore server running Unicorn, which is relayed via &lt;a href=&quot;https://en.wikipedia.org/wiki/Challenge-Handshake_Authentication_Protocol&quot; rel=&quot;nofollow&quot;&gt;CHAP&lt;/a&gt;+&lt;a href=&quot;https://en.wikipedia.org/wiki/Hash-based_message_authentication_code&quot; rel=&quot;nofollow&quot;&gt;HMAC&lt;/a&gt;-SHA512. The practical upshot of this is that the shared secret never travels over the wire, the authentication key is unique every time, and replay attacks are not possible. You should still use the tool API over a TLS connection if possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Calls to the control panel from an automated tool behave a little differently from interactive control panel sessions. Specifically:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Automated calls are not streaming (nothing is written to the response until everything is complete)&lt;/li&gt;&#xA;&lt;li&gt;Automated calls return HTTP 500 if an error occurs (interactive calls that fail return HTTP 200, because the HTTP headers have been sent long before the error occurs). In the example PS script above, this will throw a PowerShell exception.&lt;/li&gt;&#xA;&lt;li&gt;The output is text formatted, instead of HTML formatted, so it is much easier to read in logs.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Ok, ok. Shut up about crypto and tell me how to set it up.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Generate a very long random shared secret key, preferably using a password generator. There are no limits on character count, character types, etc but it must be &gt; 30 characters.&lt;/li&gt;&#xA;&lt;li&gt;Install the shared secret into the &lt;code&gt;Unicorn.UI.config&lt;/code&gt; file - or a patch thereof, under the &lt;code&gt;authenticationProvider/SharedSecret&lt;/code&gt; node. There are comments to help.&lt;/li&gt;&#xA;&lt;li&gt;To call the tool API from a script, a PowerShell module is provided. Acquire the module and its supporting files from the &lt;code&gt;doc\PowerShell Remote Scripting&lt;/code&gt; folder of the Unicorn git repository.&lt;/li&gt;&#xA;&lt;li&gt;Review the &lt;code&gt;sample.ps1&lt;/code&gt; file and adapt it to your needs, including putting the shared secret into it and setting the URL as needed. Don't worry the guts of &lt;code&gt;sample.ps1&lt;/code&gt; are two simple lines of code :)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;NOTE: When deploying to a Content Editing or Content Delivery server, the Unicorn configuration should be trimmed down from development. Each config file in &lt;code&gt;App_Config/Include/Unicorn&lt;/code&gt; has comments at the top designating what environment(s) it should live on. If you opt to use Transparent Sync as a deployment mechanism, make sure you do not disable the data provider config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://twitter.com/DarrenGuy&quot; rel=&quot;nofollow&quot;&gt;Darren Guy&lt;/a&gt; has written a practical dissertation on his experiences setting up &lt;a href=&quot;https://thesoftwaredudeblog.wordpress.com/2016/05/24/building-a-continuous-integration-environment-for-sitecore-part-8-using-unicorn-for-sitecore-item-syncronization/&quot; rel=&quot;nofollow&quot;&gt;Unicorn 3 with TeamCity and Octopus Deploy&lt;/a&gt; that goes all the way from install to automated deployment. A recommended read if you're wanting to use a similar setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://twitter.com/Rangler2&quot; rel=&quot;nofollow&quot;&gt;Andrew Lansdowne&lt;/a&gt; has also written a post &lt;em&gt;(for version 1, so some of it is outdated but the concepts still apply)&lt;/em&gt; about &lt;a href=&quot;http://andrew.lansdowne.me/2013/06/07/auto-deploy-sitecore-items-using-unicorn-and-teamcity/&quot; rel=&quot;nofollow&quot;&gt;setting up Unicorn with TeamCity and WebDeploy&lt;/a&gt; that may be useful when setting up automated deployments.&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="283" LastEditDate="2016-10-04T12:50:46.163" LastActivityDate="2016-10-04T12:50:46.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="295" PostTypeId="1" AcceptedAnswerId="404" CreationDate="2016-10-03T22:53:46.960" Score="2" ViewCount="286" Body="&lt;p&gt;Sitecore has provided many great ways to plug into their architecture via pipelines and configuration patches. I'm confused however how to present a simple dialog to the content editor whenever they click a button in the CE. Is there an easy way to do this without a code deployment? I guess module packages would be ok, just no downtime to the users.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-04T10:50:41.020" Title="How to show a simple dialog like confirm/alert to the content editor without requiring a deployment?" Tags="|content-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="296" PostTypeId="2" ParentId="276" CreationDate="2016-10-03T22:57:21.773" Score="10" Body="&lt;p&gt;Source: &lt;a href=&quot;https://stackoverflow.com/questions/33235368/sitecore-current-contact-is-locked-for-identification&quot;&gt;https://stackoverflow.com/questions/33235368/sitecore-current-contact-is-locked-for-identification&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why this happens&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Normally, you will see this error when you forget to set &lt;code&gt;Analytics.ClusterName&lt;/code&gt; in the configuration file &lt;code&gt;Sitecore.Analytics.Tracking.config&lt;/code&gt;. This becomes a problem because in the beginning of every session Sitecore lock the current contact by creating a &lt;code&gt;Lease&lt;/code&gt; in xDB. It uses &lt;code&gt;Analytics.ClusterName&lt;/code&gt; as the identifier of the lock.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error you are seeing occurs because your Sitecore instance doesn't realize that it owns the lease on the contact since the lease owner identifier is missing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at your contact in the collection database, you are likely to see something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DeMrm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DeMrm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, the &lt;code&gt;Owner&lt;/code&gt; document does not have the &lt;code&gt;Identifier&lt;/code&gt; field set. This indicates that the entity that created the lease did not provide an identifier (its value was an empty string or &lt;code&gt;null&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To solve this in a development environment, just set both &lt;code&gt;Analytics.ClusterName&lt;/code&gt; and &lt;code&gt;Analytics.HostName&lt;/code&gt; setting values to the local domain name you're using when accessing the application, e.g. ``sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.ClusterName&quot; value=&quot;sitecore&quot; /&amp;gt;&#xA;&amp;lt;setting name=&quot;Analytics.HostName&quot; value=&quot;sitecore&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more about these settings &lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/xdb%20configuration/configure%20a%20content%20delivery%20server&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; Sitecore has added a knowledge base article about this issue: &lt;a href=&quot;https://kb.sitecore.net/articles/965127&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/965127&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-03T22:57:21.773" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="297" PostTypeId="2" ParentId="293" CreationDate="2016-10-03T22:58:36.163" Score="3" Body="&lt;p&gt;For bulk, I'm sure someone skilled in Sitecore Powershell Extensions has an answer. I will give you another approach however. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my most recent project; we implemented the Content Editor and Experience Editor authoring language extensions by Mikael Högberg. Essentially they expand upon the regular warning ribbons in Sitecore, to look something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uBEo4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uBEo4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So while this doesn't exactly give you a report and allow you to bulk update, it will still supplement your editor users' daily work and perhaps act as a small quality-of-life improvement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I highly recommend this. I think the core product would benefit from having this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://mikael.com/2016/03/switching-authoring-language-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Switching authoring language in Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-03T22:58:36.163" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="298" PostTypeId="1" AcceptedAnswerId="405" CreationDate="2016-10-03T23:01:19.117" Score="2" ViewCount="97" Body="&lt;p&gt;I'm working on a rescue project and have started to noticed that there are quite a number of items not associated with a workflow. A few of the content editors have reported that sometimes items can be published straight to production but not all. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I audit the solution to see what is not associated?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-04T12:04:16.023" Title="Items missing workflow audit report" Tags="|content-editor|publishing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="299" PostTypeId="1" AcceptedAnswerId="492" CreationDate="2016-10-03T23:20:42.903" Score="2" ViewCount="364" Body="&lt;p&gt;From the desktop I've only been able to change the background to one of the predefined images; same goes for the profile. Not finding any articles that relate specifically to those images.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-11-10T03:17:06.037" Title="How do you customize the the profile photo in 8.2 or newer?" Tags="|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="300" PostTypeId="1" AcceptedAnswerId="310" CreationDate="2016-10-03T23:25:10.613" Score="2" ViewCount="168" Body="&lt;p&gt;I've found this &lt;a href=&quot;http://www.craigtaylor.us/2014/11/sitecore-tip-set-custom-background.html&quot; rel=&quot;nofollow&quot;&gt;article&lt;/a&gt; where the author describes how to upload custom images. So what I would like to do now is have it rotate randomly every few minutes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems like something that would work great with the scheduled task system.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-04-04T20:32:34.387" Title="How do you create a random desktop background image like that in Windows?" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="301" PostTypeId="1" AcceptedAnswerId="302" CreationDate="2016-10-03T23:26:30.620" Score="3" ViewCount="56" Body="&lt;p&gt;I have the following dummy controller trying to use &lt;a href=&quot;https://github.com/cassidydotdk/Sitecore.Datalift&quot; rel=&quot;nofollow&quot;&gt;https://github.com/cassidydotdk/Sitecore.Datalift&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyController : DataLiftController&#xA;{&#xA;    public ActionResult Index()&#xA;    {&#xA;        var actionItem = GetActionItem(&quot;User Defined/MyProject/Pages/MyItem&quot;);&#xA;&#xA;        if (actionItem == null)&#xA;        {&#xA;            return new EmptyResult;&#xA;        }&#xA;&#xA;        var viewModel = new ViewModel()&#xA;        {&#xA;            Title = actionItem[&quot;Title&quot;]&#xA;        };&#xA;&#xA;        return View(&quot;~/Views/MyView.cshtml&quot;, viewModel);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I always get null for actionItem. What am I doing wrong? I am expecting the actionItem to return context item unless I have datasource then return datasource. However in both instances I get null.&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="70" LastEditDate="2018-05-03T17:19:33.980" LastActivityDate="2018-05-03T17:19:33.980" Title="Sitecore Datalift returning null for actionItem" Tags="|module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="302" PostTypeId="2" ParentId="301" CreationDate="2016-10-03T23:53:45.053" Score="4" Body="&lt;p&gt;&lt;code&gt;Sitecore.Datalift&lt;/code&gt; follows the normal pattern of trying to grab the Datasourced item, falling back to &lt;code&gt;Context.Item&lt;/code&gt; if no datasource has been set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While I can't tell from your code exactly what is failing, the normal caveats would be:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You've not defined your datasource. If so; your code above expects &lt;code&gt;Context.Item&lt;/code&gt; to have a template that is or inherits &lt;code&gt;User Defined/MyProject/Pages/MyItem&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;You have defined a datasource, but it points to an invalid or non-existing item. If so, &lt;code&gt;GetActionItem&lt;/code&gt; will always return null. &lt;/li&gt;&#xA;&lt;li&gt;The datasource you have defined is valid, but the item pointed to is or does not inherit &lt;code&gt;User Defined/MyProject/Pages/MyItem&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-03T23:53:45.053" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="303" PostTypeId="1" AcceptedAnswerId="306" CreationDate="2016-10-03T23:58:48.007" Score="6" ViewCount="596" Body="&lt;p&gt;I have a multisite Sitecore instance and I would like to get all locked items from all different sites and users and unlock them, is it possible to do this job using Sitecore Powershell Extensions?&lt;/p&gt;&#xA;" OwnerUserId="57" LastActivityDate="2016-10-04T00:34:33.330" Title="Getting locked items SPE" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="304" PostTypeId="1" AcceptedAnswerId="418" CreationDate="2016-10-04T00:02:24.313" Score="6" ViewCount="374" Body="&lt;p&gt;The &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/index_update_strategies&quot; rel=&quot;nofollow&quot;&gt;Sitecore docs&lt;/a&gt; list the available index update strategies, but there is no mention of what happens if no strategies are configured. &#xA;For example, would the index on the CD server for the following configuration ever be updated?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;index id=&quot;schoolsite&quot; type=&quot;Sitecore.Search.Index, Sitecore.Kernel&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;folder&quot;&amp;gt;schoolsite&amp;lt;/param&amp;gt;&#xA;    &amp;lt;Analyzer ref=&quot;search/analyzer&quot; /&amp;gt;&#xA;    &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;        &amp;lt;web type=&quot;Sitecore.Search.Crawlers.DatabaseCrawler,Sitecore.Kernel&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/content/schoolsite/Units&amp;lt;/Root&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:IncludeTemplate&quot;&amp;gt;&#xA;            &amp;lt;unit&amp;gt;{E711EF29-1031-461D-B7F0-18524F255EC4}&amp;lt;/unit&amp;gt;&#xA;            &amp;lt;pdf&amp;gt;{2136F1FC-D871-43B8-85B1-2698DEF505E5}&amp;lt;/pdf&amp;gt;&#xA;            &amp;lt;video&amp;gt;{D9B5C725-51E4-4A0F-A709-3D7514BE6BB1}&amp;lt;/video&amp;gt;&#xA;            &amp;lt;infographic&amp;gt;{7902B359-EF49-4BE1-9121-8E70596282BC}&amp;lt;/infographic&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;            &amp;lt;Boost&amp;gt;2.0&amp;lt;/Boost&amp;gt;&#xA;        &amp;lt;/web&amp;gt;&#xA;    &amp;lt;/locations&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="368" LastEditorUserId="237" LastEditDate="2016-10-06T12:53:50.807" LastActivityDate="2016-10-14T20:49:46.897" Title="How does Sitecore update a search index if there are no index update strategies configured?" Tags="|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="305" PostTypeId="1" AcceptedAnswerId="315" CreationDate="2016-10-04T00:04:08.963" Score="5" ViewCount="2575" Body="&lt;p&gt;I am trying to add multiple root folders to the source field of a treelist template field. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Datasource=/sitecore/media library/ | /sitecore/content/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have done this with sitecore query, but treelist does not use sitecore query. This is for Sitecore 7.1&lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="73" LastEditDate="2016-10-14T10:00:56.010" LastActivityDate="2016-10-14T10:00:56.010" Title="How do I define multiple sources in the Source of a Treelist field?" Tags="|tree-list|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="306" PostTypeId="2" ParentId="303" CreationDate="2016-10-04T00:04:23.703" Score="6" Body="&lt;p&gt;Have a look &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Unlock-Item.html&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; in the SPE book regarding the &lt;code&gt;Unlock-Item&lt;/code&gt; command. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following will unlock the direct descendants of the home item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -Path master:\content\home | Unlock-Item -PassThru&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should update the path to be specific to the tenant you wish to unlock. Add the &lt;code&gt;-Recurse&lt;/code&gt; switch to the &lt;code&gt;Get-ChildItem&lt;/code&gt; command to run through the whole tree. You may find &lt;code&gt;Where-Object&lt;/code&gt; helpful when filtering for specific templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following recurses the tree, filters for a specific template, and then unlocks.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -Path master:\content\home -Recurse | &#xA;    Where-Object { $_.TemplateId -eq &quot;{ENTER_YOUR_TEMPLATE_GUID}&quot;} | &#xA;    Unlock-Item -PassThru&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-04T00:04:23.703" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="307" PostTypeId="1" AcceptedAnswerId="308" CreationDate="2016-10-04T00:05:24.297" Score="8" ViewCount="1301" Body="&lt;p&gt;I installed the Sitecore URL Rewrite Module for a client. The module worked properly in non-production environments. However, it did not work on production CD servers. The module uses the links database to precache the rewrite rules that live as Sitecore items*.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;* &lt;em&gt;The module properly adds the rules to the cache when the items are republished, but this attempting to resolve the problem with an automated publish on every app pool recycle is a hack at best&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the Links table on the production CM core database. I checked the configuration to ensure that the CD servers were using the core database:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!-- LINK DATABASE --&amp;gt;&#xA;&amp;lt;LinkDatabase type=&quot;Sitecore.Data.$(database).$(database)LinkDatabase,&#xA;  Sitecore.Kernel&quot;&amp;gt;&#xA;  &amp;lt;param connectionStringName=&quot;core&quot; /&amp;gt;&#xA;&amp;lt;/LinkDatabase&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The core database was empty! I know Sitecore maintains separate Link databases for different databases, so why is the table empty?&lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="423" LastEditDate="2017-08-07T19:49:21.097" LastActivityDate="2017-08-07T19:49:21.097" Title="How does Sitecore update the Link Database?" Tags="|content-search|link-database|scaling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="308" PostTypeId="2" ParentId="307" CreationDate="2016-10-04T00:05:24.297" Score="11" Body="&lt;p&gt;An important note to start: the &quot;Links Database&quot; is a table named &quot;Links&quot; that lives inside a Sitecore database. It is not a separate database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore only updates the Link Database on the database referenced by the CM server. The &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/scaling_guide_sc70_a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Scaling Guide&lt;/a&gt; (section 3.6.1) states it as follows:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In a multi-server Sitecore setup, the link database is only&#xA;  automatically updated for databases that are referenced from the CM&#xA;  environment.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This client is using the &lt;a href=&quot;https://sdn.sitecore.net/Products/Sitecore%20Azure/Sitecore%20Azure%207,-d-,2.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Azure module&lt;/a&gt; to host, manage, and deploy to its production servers in Azure, including the Sitecore databases. This means that the web roles (where the production CD servers live) have their own versions of every database. This image from the Scaling Guide (section 3.2.1) shows an example of this architecture (without Azure, but accurate enough):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bQV9x.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bQV9x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CD server was looking to its core database, while the CM server was only updating the &quot;on prem&quot; core database. This is why the Links table on the CD's core database was empty. This also explains why we don't see this sort of problem in many of our production environments (usually our CD servers point to the same core database as the CM servers). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, a site could have the above problem, with CD servers not having access to a built Links database, and have no problems. Much of the standard code we write for Sitecore doesn't need to use the Link database at all. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Again, from the scaling guide:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To ensure that Sitecore automatically updates the link database in the&#xA;  CD environment: The CD and CM instances must use the same name to&#xA;  refer to the publishing target database across the environments&#xA;  (typically Web). One of the following conditions should be met: The&#xA;  Core database should be shared or replicated between the CM and CD&#xA;  instances. The Link database data should be configured to be stored in&#xA;  a database which is shared between CM and CD publishing target&#xA;  database (typically Web).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-04T00:05:24.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="309" PostTypeId="2" ParentId="290" CreationDate="2016-10-04T00:08:35.237" Score="5" Body="&lt;p&gt;I think the media framework integration guide will get you what you need.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/products/sitecore%20media%20framework/21/sitecore_media_framework_2_1_integration_guide-usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sdn5/products/sitecore%20media%20framework/21/sitecore_media_framework_2_1_integration_guide-usletter.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It covers media import, export &amp;amp; synchronization&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2016-10-04T00:08:35.237" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="310" PostTypeId="2" ParentId="300" CreationDate="2016-10-04T00:17:27.330" Score="3" Body="&lt;p&gt;Turns out that the contributors to the Sitecore PowerShell Extensions module thought of everything. Bundled with the module is a script under the script module &lt;strong&gt;Random desktop background&lt;/strong&gt;. The script is apparently an adaptation from a POC by John West.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an integration point library called &lt;strong&gt;LoggedIn&lt;/strong&gt; which in essence runs this script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$path = [Sitecore.IO.FileUtil]::MapPath([Sitecore.Configuration.Settings]::WallpapersPath)&#xA;$files = [System.IO.Directory]::GetFiles($path)&#xA;$user = Get-User -Identity $username -Authenticated&#xA;$which = (New-Object System.Random).Next($files.Length - 1)&#xA;$user.Profile.SetCustomProperty(&quot;Wallpaper&quot;, [Sitecore.IO.FileUtil]::UnmapPath($files[$which]))&#xA;$user.Profile.Save();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The script queries all of the wallpaper images then randomly assigns one to the selected user. Note that the script runs within the context of the logged in user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Enable the sample module by checking and saving the item. These are disabled by default since they may not be the desired behavior for everyone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GcUBS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GcUBS.png&quot; alt=&quot;Enable Module&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The basic idea is that any script which appears below the pipeline integration will get executed. In this example, the &lt;strong&gt;LoggedIn&lt;/strong&gt; pipeline executes the &lt;em&gt;Random desktop background image&lt;/em&gt; script every time a user is logged in. You can have many modules with the &lt;strong&gt;LoggedIn&lt;/strong&gt; integration point added, and each child script will get executed.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Reference&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/pipelines.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Documentation on the pipelines&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-04-04T20:32:34.387" LastActivityDate="2018-04-04T20:32:34.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="311" PostTypeId="2" ParentId="303" CreationDate="2016-10-04T00:34:33.330" Score="2" Body="&lt;p&gt;Sitecore PowerShell Extensions also has a built-in report to find these locked items. This is something very useful when you have not interest in writing a line of code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to to &lt;em&gt;Reporting Tools -&gt; PowerShell Reports -&gt; Content Audit&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zMaHr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zMaHr.png&quot; alt=&quot;Locked Items Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Immediately following you will be presented with a dialog for selecting where to begin the search, such as the desired tenant, and either all or a specific locked user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/flAGh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/flAGh.png&quot; alt=&quot;Locked Items Filter&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can customize the report to have an &lt;strong&gt;Unlock&lt;/strong&gt; action. This would be handy if you want to provided delegated administration for users that you want to run the report but not be able to manage users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nidJb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nidJb.png&quot; alt=&quot;Report with optional action&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-04T00:34:33.330" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="312" PostTypeId="1" CreationDate="2016-10-04T00:34:39.663" Score="2" ViewCount="73" Body="&lt;p&gt;I saw there was a Roadmap from earlier this year saying Azure Search Provider would be included in 8.2 update 1 to be released this year. &#xA;Along with Azure session redis cache. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone got any updates on the progress of the offical Azure Search provider?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The open source implementation currently have too many issues. &lt;/p&gt;&#xA;" OwnerUserId="388" LastEditorUserId="237" LastEditDate="2016-10-06T13:10:55.807" LastActivityDate="2016-10-06T13:10:55.807" Title="When will the sitecore azure search provider be released?" Tags="|content-search|azure-search|" AnswerCount="0" CommentCount="0" ClosedDate="2016-10-04T16:05:21.230" ContentLicense="CC BY-SA 3.0" />
  <row Id="313" PostTypeId="2" ParentId="293" CreationDate="2016-10-04T00:43:42.507" Score="4" Body="&lt;p&gt;Turns out the guys over at SPE though through some of this too. Hopefully others find this answer helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/item-languages.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;page&lt;/a&gt; describing how to manage item languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following will query all the items under &lt;em&gt;home&lt;/em&gt; and add copy &lt;em&gt;US&lt;/em&gt; english to &lt;em&gt;CA&lt;/em&gt; english; skips if the language already exists.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$root = &quot;master:\content\home&quot;&#xA;@(Get-Item -Path $root) + @(Get-ChildItem -Path $root) -Recurse | &#xA;    Add-ItemLanguage -Language &quot;en-us&quot; -TargetLanguage &quot;en-ca&quot; -IfExist Skip&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="10" LastEditDate="2016-11-01T13:15:52.770" LastActivityDate="2016-11-01T13:15:52.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="314" PostTypeId="2" ParentId="304" CreationDate="2016-10-04T01:16:07.603" Score="6" Body="&lt;p&gt;I believe that if you use the rebuild index on the developer ribbon/bar in the content editor on the content management server it should raise an event on the CD servers to rebuild the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zG3Vn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zG3Vn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="438" LastActivityDate="2016-10-04T01:16:07.603" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="315" PostTypeId="2" ParentId="305" CreationDate="2016-10-04T01:19:00.217" Score="10" Body="&lt;p&gt;This will require customization. Luckily for you, Kam has an example available at &lt;a href=&quot;http://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field/&quot;&gt;http://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should do the trick.&lt;/p&gt;&#xA;" OwnerUserId="438" LastEditorUserId="114" LastEditDate="2016-10-04T11:47:28.677" LastActivityDate="2016-10-04T11:47:28.677" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="316" PostTypeId="1" CreationDate="2016-10-04T01:45:21.550" Score="4" ViewCount="206" Body="&lt;p&gt;Does sitecore has mobile api for Xamarin forms mobile app development ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If yes, please provide links to the resources.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="73" LastEditDate="2016-11-02T12:28:12.460" LastActivityDate="2021-08-13T23:31:26.967" Title="Does Sitecore support xamarin mobile app development" Tags="|xamarin|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="319" PostTypeId="2" ParentId="316" CreationDate="2016-10-04T01:50:29.807" Score="1" Body="&lt;p&gt;Sitecore has a mobile SDK for Xamarin. Following resource might be useful&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Mobile SDK for Xamarin - Xamarin Website &lt;a href=&quot;https://components.xamarin.com/view/Sitecore.Mobile.SDK&quot; rel=&quot;nofollow&quot;&gt;https://components.xamarin.com/view/Sitecore.Mobile.SDK&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Xamarin Website &lt;a href=&quot;https://components.xamarin.com/gettingstarted/sitecore.mobile.sdk&quot; rel=&quot;nofollow&quot;&gt;https://components.xamarin.com/gettingstarted/sitecore.mobile.sdk&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore &lt;a href=&quot;https://github.com/Sitecore/sitecore-xamarin-pcl-sdk&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Sitecore/sitecore-xamarin-pcl-sdk&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T01:50:29.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="320" PostTypeId="2" ParentId="316" CreationDate="2016-10-04T01:51:30.270" Score="2" Body="&lt;p&gt;Other than the above mention official resources, Sitecore MVP Goran has done lot of advance stuff where anyone will find useful&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://visionsincode.wordpress.com/2016/04/13/build-an-app-with-xamarin-forms-using-sitecore-mobile-sdk-for-xamarin-getting-started/&quot; rel=&quot;nofollow&quot;&gt;https://visionsincode.wordpress.com/2016/04/13/build-an-app-with-xamarin-forms-using-sitecore-mobile-sdk-for-xamarin-getting-started/&lt;/a&gt; &lt;a href=&quot;https://visionsincode.wordpress.com/2016/05/07/build-an-app-with-xamarin-forms-using-sitecore-mobile-sdk-for-xamarin-website-and-navigation-part-2/&quot; rel=&quot;nofollow&quot;&gt;https://visionsincode.wordpress.com/2016/05/07/build-an-app-with-xamarin-forms-using-sitecore-mobile-sdk-for-xamarin-website-and-navigation-part-2/&lt;/a&gt; &lt;a href=&quot;https://visionsincode.wordpress.com/2016/06/22/build-an-app-with-xamarin-forms-using-sitecore-mobile-sdk-for-xamarin-putting-it-all-together/&quot; rel=&quot;nofollow&quot;&gt;https://visionsincode.wordpress.com/2016/06/22/build-an-app-with-xamarin-forms-using-sitecore-mobile-sdk-for-xamarin-putting-it-all-together/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T01:51:30.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="321" PostTypeId="1" AcceptedAnswerId="354" CreationDate="2016-10-04T01:58:17.030" Score="3" ViewCount="398" Body="&lt;p&gt;Sitecore 8.1 Update-2 has introduced a new setting called &lt;code&gt;AllowDuplicateItemNamesOnSameLevel&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the usaged of this setting ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="237" LastEditDate="2016-10-12T07:44:02.300" LastActivityDate="2016-10-12T07:44:02.300" Title="what is the usage of AllowDuplicateItemNamesOnSameLevel setting in sitecore 8.1. update 2" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="322" PostTypeId="1" AcceptedAnswerId="514" CreationDate="2016-10-04T01:59:28.813" Score="12" ViewCount="1408" Body="&lt;p&gt;When in Experience Editor making changes to some fields, such as a multilist that could control a rendering of items to show, do not reflect on the page until it is saved. This can be confusing and cumbersome for content editors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to force a save and refresh when editing these items in Experience Editor to make the content editing experience better?&lt;/p&gt;&#xA;" OwnerUserId="23" LastActivityDate="2016-10-04T23:37:43.593" Title="Experience Editor changes force refresh" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="323" PostTypeId="1" AcceptedAnswerId="324" CreationDate="2016-10-04T02:02:34.227" Score="4" ViewCount="354" Body="&lt;p&gt;Around the world, there are lot of Sitecore User Groups created/maintained/organized by sitecore community.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the website which contains all the Sitecore User Groups listed in same place ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="70" LastEditDate="2018-05-03T17:18:55.057" LastActivityDate="2018-05-03T17:18:55.057" Title="Sitecore User Group Directory" Tags="|community|" AnswerCount="1" CommentCount="1" ClosedDate="2016-10-24T13:54:22.910" ContentLicense="CC BY-SA 3.0" />
  <row Id="324" PostTypeId="2" ParentId="323" CreationDate="2016-10-04T02:10:44.023" Score="5" Body="&lt;p&gt;I'm not aware of an official listing, but &lt;a href=&quot;http://sitecoreug.org/&quot; rel=&quot;noreferrer&quot;&gt;www.sitecoreug.org&lt;/a&gt; looks pretty complete. You can also search on &lt;a href=&quot;http://www.meetup.com&quot; rel=&quot;noreferrer&quot;&gt;www.Meetup.com&lt;/a&gt;, where most user groups are listed.&lt;/p&gt;&#xA;" OwnerUserId="247" LastActivityDate="2016-10-04T02:10:44.023" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="325" PostTypeId="1" CreationDate="2016-10-04T02:38:48.733" Score="2" ViewCount="72" Body="&lt;p&gt;In the sitecore configuration, we use &lt;strong&gt;site&lt;/strong&gt; configuration nodes to define websites.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that configuration node, there is &lt;em&gt;rootPath&lt;/em&gt; property with values to sitecore content item.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the usage of this &lt;em&gt;rootPath&lt;/em&gt; setting?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="237" LastEditDate="2016-10-12T07:43:51.567" LastActivityDate="2016-10-12T07:43:51.567" Title="Usage of rootPath property of Site configuration node" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="326" PostTypeId="1" CreationDate="2016-10-04T02:41:45.273" Score="1" ViewCount="262" Body="&lt;p&gt;In the sitecore configuration, we use site configuration nodes to define websites and its properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When checked in &lt;strong&gt;site&lt;/strong&gt; configuration nodes, there is &lt;strong&gt;startItem&lt;/strong&gt; property with values to sitecore content item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the usage of this &lt;strong&gt;startItem&lt;/strong&gt; setting?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="237" LastEditDate="2016-10-12T07:43:34.437" LastActivityDate="2016-10-12T07:43:34.437" Title="What is the usage of startItem Property in Site Configuration node" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="327" PostTypeId="2" ParentId="325" CreationDate="2016-10-04T02:42:50.020" Score="4" Body="&lt;p&gt;The path to the root item of the site in terms of Sitecore content tree. For example, it is set to /sitecore/content for the “website” site.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/SDN5/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties/rootPath.aspx&quot; rel=&quot;nofollow&quot;&gt;See Documentation&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="163" LastEditDate="2016-10-04T02:51:32.287" LastActivityDate="2016-10-04T02:51:32.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="328" PostTypeId="2" ParentId="326" CreationDate="2016-10-04T02:44:13.853" Score="1" Body="&lt;p&gt;The path to the start Item of the site. This Item will be opened by default when the site is requested. All relative URL paths will be relative to the startItem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/SDN5/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties/startItem.aspx&quot; rel=&quot;nofollow&quot;&gt;See Documentation&lt;/a&gt;   &lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="163" LastEditDate="2016-10-04T02:51:06.890" LastActivityDate="2016-10-04T02:51:06.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="329" PostTypeId="1" AcceptedAnswerId="363" CreationDate="2016-10-04T02:47:05.650" Score="2" ViewCount="32" Body="&lt;p&gt;Sitecore comes with lot of official modules. These modules has there own versions while core Sitecore CMS has its own version.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best place to view all these modules and there compatibilities with Sitecore CMS versions ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T07:30:32.100" Title="What is the place to view Sitecore module compatibilities" Tags="|module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="330" PostTypeId="1" AcceptedAnswerId="335" CreationDate="2016-10-04T02:50:39.427" Score="1" ViewCount="515" Body="&lt;p&gt;Sitecore has there own Official Support process where we can create tickets/issues and get help from them.&lt;br&gt;&#xA;i.e. &lt;a href=&quot;http://support.sitecore.net&quot; rel=&quot;nofollow&quot;&gt;http://support.sitecore.net&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the criteria to be eligible to create tickets/issues to Official Sitecore Support ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T09:18:18.343" Title="How to get Sitecore Official Support help" Tags="|support|" AnswerCount="3" CommentCount="0" ClosedDate="2016-10-26T13:23:20.383" ContentLicense="CC BY-SA 3.0" />
  <row Id="331" PostTypeId="1" AcceptedAnswerId="345" CreationDate="2016-10-04T02:55:20.493" Score="4" ViewCount="308" Body="&lt;p&gt;When contacting Sitecore official support, they are requesting some basic information about our solution.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best and easy way to create these information ?&lt;br&gt;&#xA;What tools/modules can we used to generate these info ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="73" LastEditDate="2016-12-15T10:13:05.543" LastActivityDate="2016-12-15T10:13:05.543" Title="How to generate information needed for Sitecore support when creating a ticket" Tags="|support|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="332" PostTypeId="1" AcceptedAnswerId="370" CreationDate="2016-10-04T03:07:18.427" Score="10" ViewCount="5342" Body="&lt;p&gt;In Sitecore, there is a facility to install Sitecore packages.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to view what packages are installed into our Sitecore instance and when they got installed ?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any modules to support this functionality ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T08:13:21.237" Title="Is there anyway to find packages installed into Sitecore instance" Tags="|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="333" PostTypeId="1" AcceptedAnswerId="356" CreationDate="2016-10-04T03:11:29.847" Score="4" ViewCount="785" Body="&lt;p&gt;Sitecore CMS normally uses &lt;strong&gt;web&lt;/strong&gt; database content to display in fornt-end website.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the way to run Sitecore front-end website pointing to master database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does that mean running Sitecore Live Mode ?  &lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="180" LastEditDate="2016-10-04T11:28:41.983" LastActivityDate="2016-10-04T11:28:41.983" Title="What is Sitecore Live Mode?" Tags="|configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="334" PostTypeId="1" AcceptedAnswerId="340" CreationDate="2016-10-04T03:12:42.960" Score="9" ViewCount="1591" Body="&lt;p&gt;I need to run my front-end website by pointing to master database, temporarily.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What settings should I change to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="237" LastEditDate="2016-10-12T07:43:21.243" LastActivityDate="2016-10-12T07:43:21.243" Title="How to run Sitecore in Live Mode?" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="335" PostTypeId="2" ParentId="330" CreationDate="2016-10-04T03:14:46.900" Score="2" Body="&lt;p&gt;In order to gain access to the Sitecore support site you need to be a Sitecore certified developer. There are both instructor lead classroom and eLearning options available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can learn more from &lt;a href=&quot;http://www.sitecore.net/services-and-support/training&quot; rel=&quot;nofollow&quot;&gt;Sitecore Training&lt;/a&gt; about the available classes and options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the end of the training class there will be a certification exam. Once you pass the exam you will have access to the Sitecore support site.&lt;/p&gt;&#xA;" OwnerUserId="23" LastActivityDate="2016-10-04T03:14:46.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="336" PostTypeId="1" AcceptedAnswerId="377" CreationDate="2016-10-04T03:17:20.503" Score="4" ViewCount="1212" Body="&lt;p&gt;Normally, we need to define placeholders with allowed renderings in placeholder settings, to allow Experience Editor to support.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the way to configure placeholders editable in the Experience Editor if placeholder settings are not specified ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="237" LastEditDate="2016-10-12T07:42:56.460" LastActivityDate="2016-10-12T07:42:56.460" Title="How to make Experience Editor placeholders editable without placeholder settings?" Tags="|experience-editor|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="337" PostTypeId="2" ParentId="12" CreationDate="2016-10-04T03:19:56.223" Score="23" Body="&lt;p&gt;A big question, so I will answer just a slice of it, what Personally Identifiable Information IPII) does xDB store out of the box. I'm tempted to say nothing: as an implementer, you have the &lt;em&gt;option&lt;/em&gt; to identify a contact, and to tag that contact with information via the contact facet mechanism.  xDB ships with predefined facets for personal information such as name and email, and this is extensible so you can add facets to record whatever information you like. But this requires customization.  Sitecore provides the data storage and API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What Sitecore xDB &lt;em&gt;will&lt;/em&gt; do out of the box is create a visitor cookie to track that device over time (SC_ANALYTICS_GLOBAL_COOKIE). The API provides a mechanism to &quot;identify&quot; the visitor, by tagging it with an arbitrary string value, such as an email address.  Identifying a visitor allows XDB to link this cookie to other visitor cookies with the same identification, which in turn enables sharing personalization, analytics, and session state. Again, this requires an API call. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without developer setup, Sitecore xDB records each page visit associated with the visitor cookie.  Since Sitecore 8.1, IP addresses are hashed, and there is a configuration option to suppress retention altogether, or to select the hashing mechanism. See Sitecore's documentation on &lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/82/setting%20up%20and%20maintaining/xdb/contacts/ip%20address%20hashing&quot; rel=&quot;noreferrer&quot;&gt;IP hashing&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="247" LastEditDate="2018-05-01T17:19:53.117" LastActivityDate="2018-05-01T17:19:53.117" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="338" PostTypeId="1" AcceptedAnswerId="343" CreationDate="2016-10-04T03:21:07.840" Score="16" ViewCount="12850" Body="&lt;p&gt;For the existing Sitecore instances, what are the different ways to find the version of the Sitecore CMS ?  &lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="4515" LastEditDate="2019-08-13T11:53:24.720" LastActivityDate="2022-11-19T21:06:44.127" Title="What are the ways to find the Sitecore version on Sitecore installations?" Tags="|settings|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="339" PostTypeId="1" AcceptedAnswerId="366" CreationDate="2016-10-04T03:26:09.453" Score="13" ViewCount="1236" Body="&lt;p&gt;With Sitecore 8.x, there is no longer a cookie associated with the individual visit (though of course the visitor cookie, &lt;code&gt;SC_GLOBAL_ANALYTICS_COOKIE&lt;/code&gt; is still there). How does xDB track individual visits? Is there a browser-stored entity that corresponds to the Interaction ID, or is this purely managed on the server side, i.e. requests coming from a specific visitor cookie are considered to be one interaction while the server session lasts?&lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="4817" LastEditDate="2022-10-22T09:03:51.137" LastActivityDate="2022-10-22T09:03:51.137" Title="How does xDB track individual visits?" Tags="|xdb|cookies|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="340" PostTypeId="2" ParentId="334" CreationDate="2016-10-04T03:38:24.563" Score="18" Body="&lt;p&gt;The settings are: &lt;code&gt;database=master&lt;/code&gt;, &lt;code&gt;filterItems=true&lt;/code&gt; and &lt;code&gt;enableWorflow=true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an example patch file included in &lt;code&gt;App_Config/Include&lt;/code&gt; named &lt;code&gt;LiveMode.config.example&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;database&quot;&amp;gt;master&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;filterItems&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableWorkflow&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Match the site name ('website' in this example') to the corresponding site name to enable Live Mode for. You can rename the included &lt;code&gt;LiveMode.config.example&lt;/code&gt; file to &lt;code&gt;LiveMode.config&lt;/code&gt; to enable the patch or make the changes to the site node definition for your local development environment.&lt;/p&gt;&#xA;" OwnerUserId="23" LastEditorUserId="114" LastEditDate="2016-10-04T11:29:15.307" LastActivityDate="2016-10-04T11:29:15.307" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="341" PostTypeId="1" AcceptedAnswerId="371" CreationDate="2016-10-04T03:53:08.187" Score="6" ViewCount="1258" Body="&lt;p&gt;There is a table called &lt;strong&gt;IDTable&lt;/strong&gt; that comes by default with Sitecore installations.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the usage of this table ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="180" LastEditDate="2016-10-04T09:26:32.717" LastActivityDate="2016-10-25T15:43:35.727" Title="What is Sitecore IDTable usage?" Tags="|sql-database|integration|data-provider|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="342" PostTypeId="1" AcceptedAnswerId="346" CreationDate="2016-10-04T04:28:38.203" Score="22" ViewCount="7193" Body="&lt;p&gt;If I don't have a working connection to MongoDB and I don't want to use xDB functionality. Currently, my logs are being filled with errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the configuration needed to disable xDB?&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="104" LastEditDate="2016-10-04T11:29:11.920" LastActivityDate="2020-02-12T11:01:33.607" Title="How can I disable xDB?" Tags="|configuration|xdb|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="343" PostTypeId="2" ParentId="338" CreationDate="2016-10-04T04:37:56.007" Score="19" Body="&lt;p&gt;If you have access to the file system for the instance, you can look at &lt;code&gt;/sitecore/shell/sitecore.version.xml&lt;/code&gt;.  Otherwise, you can log into desktop mode and from the start menu, go to &lt;code&gt;All Applications &amp;gt; System &amp;gt; License Details&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Also sitecore output the sitecore version to new error log  files.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="251" LastEditDate="2022-11-19T21:06:44.127" LastActivityDate="2022-11-19T21:06:44.127" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="344" PostTypeId="1" AcceptedAnswerId="401" CreationDate="2016-10-04T04:45:41.497" Score="6" ViewCount="58" Body="&lt;p&gt;Beginning with Sitecore 8.0, the Social Connected module became part of the main platform, and it now requires access to the third-party Komfo service. When a user clicks on the Social button on the Sitecore Dashboard, she is prompted to log on to Komfo, either with a Komfo account or with Google/Facebook.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I attempted to log in with both of these social services, but received this message: &quot;You don't have access to our platform with the following accounts.&quot;  There is no way to create a Komfo account; the only option presented is to &quot;request a demo&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ct7cl.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ct7cl.jpg&quot; alt=&quot;Komfo prompt&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to obtain a developer account? This is a significant barrier to developer discovery.&lt;/p&gt;&#xA;" OwnerUserId="247" LastActivityDate="2016-10-04T10:32:46.360" Title="Developer access to Komfo" Tags="|social-connected|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="345" PostTypeId="2" ParentId="331" CreationDate="2016-10-04T04:52:44.967" Score="10" Body="&lt;p&gt;Sitecore 8.2 has a new admin page at /sitecore/admin/SupportPackage.aspx that will gather this information into a zip package for you.  For earlier versions, you can use the &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_Support_Package_Generator.aspx?sc_lang=en&quot;&gt;Support Package Generator&lt;/a&gt;, which is a windows GUI application that helps you generate the package.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-04T04:52:44.967" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="346" PostTypeId="2" ParentId="342" CreationDate="2016-10-04T05:01:46.203" Score="24" Body="&lt;p&gt;&lt;strong&gt;For Sitecore 8.1 and later:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per Sitecore documentation, you can run in &quot;CMS-only&quot; mode:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To run CMS-only mode, you must set the Xdb.Enabled configuration setting to false in the Sitecore.Xdb.config configuration file.&#xA;  &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/experience_management/experience_management_an_overview&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/experience_management/experience_management_an_overview&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For Sitecore 8.0:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a knowledge base &lt;a href=&quot;https://kb.sitecore.net/articles/296641&quot;&gt;article&lt;/a&gt; describing how to run Sitecore 8.0 without MongodDB, listing these steps:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Configuration Instructions To Disable XDB&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Step 1: Disable analytics: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Go to /App_Config/Include/Sitecore.Analytics.config and set Analytics.Enabled to false:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Step 2: Comment out analytics related connection strings: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Go to /App_Config/ConnectionStrings.config and comment out, or remove, the following connection strings:  &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;analytics&quot; connectionString=&quot;mongodb://localhost/analytics&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;tracking.live&quot; connectionString=&quot;mongodb://localhost/tracking_live&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;tracking.history&quot; connectionString=&quot;mongodb://localhost/tracking_history&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;tracking.contact&quot; connectionString=&quot;mongodb://localhost/tracking_contact&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;reporting&quot; connectionString=&quot;user id=user;password=password;Data Source=(server);Database=Sitecore_Analytics&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The process is not as clean (for example, the system writes error messages to the log), and the KB article documents how Sitecore functionality is impacted.&lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="247" LastEditDate="2016-10-04T15:48:23.173" LastActivityDate="2016-10-04T15:48:23.173" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="347" PostTypeId="1" AcceptedAnswerId="508" CreationDate="2016-10-04T05:05:17.647" Score="7" ViewCount="1929" Body="&lt;p&gt;If I have a template that is inheriting a field from a base template, Is there any way to override the source of that field?&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-05T00:02:09.307" Title="Override the source of a template field" Tags="|templates|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="348" PostTypeId="1" AcceptedAnswerId="349" CreationDate="2016-10-04T05:19:22.777" Score="14" ViewCount="1469" Body="&lt;p&gt;If I open a Sitecore content item in Sitecore Page Editor, does it run on the master database or on web database?&lt;/p&gt;&#xA;" OwnerUserId="435" LastEditorUserId="2727" LastEditDate="2018-06-07T13:46:33.117" LastActivityDate="2018-06-07T13:46:33.117" Title="Does Page Editor run on master or web database?" Tags="|experience-editor|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="349" PostTypeId="2" ParentId="348" CreationDate="2016-10-04T05:21:39.990" Score="11" Body="&lt;p&gt;The page editor (a.k.a Experience Editor) is used to edit content, so it uses the master database.&lt;/p&gt;&#xA;" OwnerUserId="247" LastActivityDate="2016-10-04T05:21:39.990" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="350" PostTypeId="1" AcceptedAnswerId="422" CreationDate="2016-10-04T05:29:29.170" Score="6" ViewCount="306" Body="&lt;p&gt;I am creating a custom data provider to integration news articles from an external API into a Sitecore solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The external data source has a large amount of news articles though, so I would like to bucket the items in the Sitecore content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would I achieve this?&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2016-10-05T09:17:52.957" Title="Custom Data Provider with bucketed items" Tags="|integration|data-provider|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="351" PostTypeId="1" AcceptedAnswerId="367" CreationDate="2016-10-04T05:32:43.013" Score="9" ViewCount="585" Body="&lt;p&gt;I am creating a custom data provider to integration news articles from an external API into a Sitecore solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The external data source use simple integers as ID for the news articles though.&#xA;I will be running the data provider in &quot;live mode&quot; (directly in both master and web databases without publishing). How do i generate consistent GUIDs from the ID, so that the GUID will be the same across both databases?&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2016-10-04T09:01:32.307" LastActivityDate="2016-10-04T09:29:30.600" Title="Consistent GUIDs for custom data provider" Tags="|integration|data-provider|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="352" PostTypeId="2" ParentId="348" CreationDate="2016-10-04T05:41:10.830" Score="2" Body="&lt;p&gt;While Dan's suggestion is true for single instance Sitecore installations, the answer is not so straight forward in a distributed environment (i.e. separate CM and CD servers). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When configuring a CD environment, Sitecore recommends removing all references to the master database (using the SwitchMasterToWeb config patch), allowing the application only to access the web database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have not removed/restricted access to the Sitecore client on the CD server your editors will be able to open the Experience Editor, and thus work on the web database.&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="247" LastEditDate="2016-10-15T21:46:18.617" LastActivityDate="2016-10-15T21:46:18.617" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="353" PostTypeId="2" ParentId="342" CreationDate="2016-10-04T05:46:56.587" Score="3" Body="&lt;p&gt;Please note, as the KB article describes, that disabling the xDB will limit the functionality of your Sitecore installation, not only with regards to Experience Analytics. Certain features will be unavailable, e.g. the rules engine (even for non-analytics based rules). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, certain modules (WFFM) requires an xDB connection unless you implement a custom data store for form submission data.&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2016-10-04T05:46:56.587" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="354" PostTypeId="2" ParentId="321" CreationDate="2016-10-04T06:05:09.910" Score="5" Body="&lt;p&gt;In previous versions, Sitecore would not prevent editors from creating items with duplicate names under the same parent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The item name is used in the path to resolve the Sitecore item (e.g. based on request URL). If multiple items with the same name exist, Sitecore will resolve one at random.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By setting the AllowDuplicateItemNamesOnSameLevel setting to false, Sitecore will prevent creation of items with dublicate names in the same level.&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2016-10-04T06:05:09.910" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="355" PostTypeId="2" ParentId="282" CreationDate="2016-10-04T06:17:09.890" Score="2" Body="&lt;p&gt;Another option, if you are running Sitecore in a distributed environment, is to configure the website on the CM server to run in &quot;Live Mode&quot;, running of the master database:&#xA;&lt;a href=&quot;http://www.verndale.com/insights/blog/2012/october/sitecore-live-mode/&quot; rel=&quot;nofollow&quot;&gt;http://www.verndale.com/insights/blog/2012/october/sitecore-live-mode/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this way, the content editors can review their changes directly on the CM website, before they publish to the live site (CD).&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2016-10-04T06:17:09.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="356" PostTypeId="2" ParentId="333" CreationDate="2016-10-04T06:20:38.153" Score="4" Body="&lt;p&gt;Running your website in &quot;Live Mode&quot;, means you serve content from your master database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a broadly applied practice in a distributed environment, to have your CM instance function as a QA website. In this way, your content editors can review their changes on the website, before publishing to the live site on the CD instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.verndale.com/insights/blog/2012/october/sitecore-live-mode/&quot; rel=&quot;nofollow&quot;&gt;http://www.verndale.com/insights/blog/2012/october/sitecore-live-mode/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2016-10-04T06:20:38.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="357" PostTypeId="2" ParentId="342" CreationDate="2016-10-04T06:23:49.067" Score="16" Body="&lt;p&gt;Starting from Sitecore 8.1, the settings that disable xDB have changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The settings are now located in &lt;code&gt;Sitecore.Xdb.config&lt;/code&gt;. There are two boolean settings:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Xdb.Enabled&lt;/code&gt; — if you set this to &lt;code&gt;false&lt;/code&gt;, Sitecore will not store any data in MongoDB.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; — if you set this to &lt;code&gt;false&lt;/code&gt;, there will be no in-memory tracking of website users and their actions.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Using these two settings, you can fine-tune the way in which you want to disable marketing, tracking and reporting functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer to the official documentation for more information:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/experience_management/configuring/configure_experience_management&quot;&gt;&lt;strong&gt;The CMS-only mode configuration settings&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/experience_management/configuring/experience_management_compatibility&quot;&gt;&lt;strong&gt;CMS-only mode compatibility&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/experience_management/configuring/disabling_xdb_and_the_xdb_tracker&quot;&gt;&lt;strong&gt;Disabling xDB and the Xdb tracker&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(please note that there is an error on the above page: the setting is actually called &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt;, not &lt;code&gt;Xdb.Tracker.Enabled&lt;/code&gt;)&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-04T06:23:49.067" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="358" PostTypeId="1" AcceptedAnswerId="417" CreationDate="2016-10-04T06:42:46.650" Score="18" ViewCount="2953" Body="&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;xxx&quot; inherits=&quot;website&quot; hostName=&quot;xxx.local&quot; &#xA;    virtualFolder=&quot;/&quot; &#xA;    physicalFolder=&quot;/&quot; &#xA;    targetHostName=&quot;xxx.local&quot; &#xA;    scheme=&quot;https&quot; &#xA;    rootPath=&quot;/sitecore/content/xxx&quot; &#xA;    startItem=&quot;/Home&quot; &#xA;    database=&quot;master&quot; &#xA;    domain=&quot;xxx&quot; &#xA;    enableContextualLinks=&quot;true&quot; &#xA;    enableItemLanguageFallback=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The site section of the Sitecore configuration file,  what is the usage of the following settings -&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;inherits &lt;/li&gt;&#xA;&lt;li&gt;virtualFolder&lt;/li&gt;&#xA;&lt;li&gt;physicalFolder&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="441" LastEditorUserId="3089" LastEditDate="2018-01-23T15:21:30.500" LastActivityDate="2018-01-23T15:21:30.500" Title="What is the usage of &quot;physicalFolder&quot; and &quot;virtualFolder&quot; attributes in a Sitecore site defintion" Tags="|configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="359" PostTypeId="2" ParentId="358" CreationDate="2016-10-04T06:49:16.247" Score="9" Body="&lt;p&gt;&lt;code&gt;physical folder&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The physical location of files for the site. The path should be specified as a path relative to Sitecore root.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;virtual folder&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This prefix is added after the host name definition and is used to resolve sites according to incoming URLs. This is the second attribute, along with the hostName, which is used to define a unique site.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Complete reference available &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Configuring%20Sites%20in%20web,-d-,config%20File.aspx&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;inherits&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Allows to inherit attributes from other site definition. &lt;a href=&quot;http://sitecoreskills.blogspot.com/2014/08/inheriting-sitecore-site-properties.html&quot;&gt;Source with example&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-04T06:49:16.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="360" PostTypeId="1" AcceptedAnswerId="372" CreationDate="2016-10-04T06:56:26.747" Score="14" ViewCount="810" Body="&lt;p&gt;When configuring server instances in a distributed environment, a range of config files must be enabled or disabled based on the instance role (e.g. CD, CM, Processing, Aggregation), referencing the &quot;Config Enable Disable Excel spreadsheet&quot;:&#xA;&lt;a href=&quot;https://doc.sitecore.net//~/media/F50C507B9BC04FEB9C9D933433A9C3C3.ashx?la=en&quot;&gt;https://doc.sitecore.net//~/media/F50C507B9BC04FEB9C9D933433A9C3C3.ashx?la=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On top of the default configs I need to handle configs from 3rd party tools such as Unicorn and Synthesis (I can create a corresponding spreadsheet for each of this). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to automate this process as a step in my continuous integration setup. Does anyone have any experience on this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that each instance in the environment can have multiple roles (CM, Processing, Aggregation combined etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&#xA;In the current setup we are using TeamCity to build and deploy the solution. I am looking for a general solution though (e.g. a powershell script), since the setup varies across customers (TeamCity, Jenkins, Octopus, TFS etc.).&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2016-10-04T07:08:02.637" LastActivityDate="2017-03-15T20:06:21.173" Title="Automating server role configuration" Tags="|configuration|continuous-integration|automation|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="361" PostTypeId="2" ParentId="360" CreationDate="2016-10-04T07:07:04.657" Score="3" Body="&lt;p&gt;If you can provide a lists of files which have to be enabled per environment the easiest way would be to have a scrip which would parse the file corresponding to the environment it runs on and enable the files needed.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Have all the configs disabled&lt;/li&gt;&#xA;&lt;li&gt;Have a set of files with configs to be enabled. The files have to easily identifiable (eg. configs.CM.txt, configs.CD.txt, configs.Processing.txt, ...)&lt;/li&gt;&#xA;&lt;li&gt;Have a script which will accept parameter (CM, CD, Processing, ...) which will go through and enable all necessary configs&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-04T07:07:04.657" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="362" PostTypeId="2" ParentId="333" CreationDate="2016-10-04T07:10:10.470" Score="1" Body="&lt;p&gt;From the &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/installing/run_web_forms_in_live_mode&quot; rel=&quot;nofollow&quot;&gt;Sitecore documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In Sitecore, you can run a website directly from the Master database – this is referred to as running in live mode. Running in live mode eliminates the need to publish content and is similar to viewing a website in the Preview client.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To enable &lt;em&gt;live mode&lt;/em&gt; alter your site's configuration as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; database=&quot;master&quot; filterItems=&quot;true&quot; ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Setting &lt;code&gt;filterItems&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; is optional. When true, it preserves the Publishing and Lifetime restrictions when running in &lt;em&gt;live mode&lt;/em&gt;.&lt;/p&gt;&#xA;" OwnerUserId="114" LastActivityDate="2016-10-04T07:10:10.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="363" PostTypeId="2" ParentId="329" CreationDate="2016-10-04T07:30:32.100" Score="4" Body="&lt;p&gt;There is a Modules Compatibility Table on Sitecore's knowledge base site: &lt;a href=&quot;https://kb.sitecore.net/articles/541788&quot; rel=&quot;nofollow&quot;&gt;https://kb.sitecore.net/articles/541788&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="114" LastActivityDate="2016-10-04T07:30:32.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="364" PostTypeId="2" ParentId="351" CreationDate="2016-10-04T07:35:53.967" Score="5" Body="&lt;p&gt;You should try to write a function to generate deterministic guids. Found this: &lt;a href=&quot;http://kechengpuzi.com/q/s2642141&quot;&gt;http://kechengpuzi.com/q/s2642141&lt;/a&gt; as a possibility (example is based on paths, but you can use your id as input - if needed with a pre- or suffix).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It actually comes down to creating a hash and calling the Guid constructor with that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did not copy the example code here as they mention a few possible solutions and I didn't try them myself so it's not clear which is best.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-04T07:35:53.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="365" PostTypeId="2" ParentId="292" CreationDate="2016-10-04T07:38:13.580" Score="7" Body="&lt;p&gt;There is &lt;a href=&quot;https://github.com/adoprog/Sitecore-Courier&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Courier&lt;/a&gt; which generates a package from your serialized items. It also supports Unicorn files. You can then use &lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Ship&lt;/a&gt; to install the package on a remote server.&lt;/p&gt;&#xA;" OwnerUserId="114" LastActivityDate="2016-10-04T07:38:13.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="366" PostTypeId="2" ParentId="339" CreationDate="2016-10-04T07:48:13.900" Score="8" Body="&lt;p&gt;xDB online visits, in most cases, map one-to-one to ASP.NET sessions. Generally, ASP.NET sessions are tracked in the browser using the cookie &lt;code&gt;ASP.NET_SessionId&lt;/code&gt;, and the actual visit state (including the &lt;code&gt;InteractionId&lt;/code&gt;) is kept in the session store you've &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state_configuration_scenarios&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;configured&lt;/strong&gt;&lt;/a&gt; in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason I said &quot;in most cases&quot; in the sentence above is because there are cases when xDB contacts and live sessions are merged. For example, if a person opens a Sitecore website on two devices at the same time and then authenticates on both (resulting in a call to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/identifying_contacts&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;&lt;code&gt;Session.Identify()&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt;), the two previously anonymous contacts, along with their currently running visits, will be &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/merge_contacts&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;merged together&lt;/strong&gt;&lt;/a&gt;. Hence, multiple ASP.NET sessions may sometimes end up as a single interaction in xDB.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-04T09:06:40.783" LastActivityDate="2016-10-04T09:06:40.783" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="367" PostTypeId="2" ParentId="351" CreationDate="2016-10-04T07:49:32.723" Score="7" Body="&lt;p&gt;Sitecore Commerce Connect employs a similar approach. From the &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/products/sitecore%20commerce%20connect/sitecore_connect_integration_guide_usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commerce Connect Integration Guide&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;3.1.5 ID Mapping By design, the remote product repository is always regarded as the main repository, which by default owns the products.&lt;/p&gt;&#xA;&lt;p&gt;That makes the ID of the products and artifacts in the external system&#xA;the primary key.&lt;/p&gt;&#xA;&lt;p&gt;In Sitecore, the IDs of the corresponding items for&#xA;products and artifacts are generated by Connect instead of relying on&#xA;the default Sitecore implementation that automatically generates a new&#xA;GUID for each new item created.&lt;/p&gt;&#xA;&lt;p&gt;By using a hash algorithm, it is&#xA;possible to generate a direct mapping between the IDs coming from the&#xA;external system and the item IDs in Sitecore. It has the following&#xA;benefits:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No need for mapping tables taking up space.&lt;/li&gt;&#xA;&lt;li&gt;It becomes very fast to get the ID of the corresponding item.&lt;/li&gt;&#xA;&lt;li&gt;There is no need for searching for the items in Sitecore if the external ID is provided.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The default implementation is based on the MD5 hash&#xA;algorithm and has the following format:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Item.ID = MD5.ComputeHash(Prefix + ExternalID);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So essentially; make a Sitecore ID based on prefix (which would be your entity type; &amp;quot;product&amp;quot;, &amp;quot;category&amp;quot;, &amp;quot;customer&amp;quot; and so on) and the foreign unique key of the entity. That should bring you to the same ID result every time.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-04T08:58:48.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="368" PostTypeId="2" ParentId="347" CreationDate="2016-10-04T07:52:26.013" Score="2" Body="&lt;p&gt;I would say no. Templates inheritance differs from code inheritance. If you create a field of the same name in an inheriting template Sitecore would not interpret this correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest answer is: if the source is different then the field itself is different thus you have to define it in the template where you are able to provide correct source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can use &lt;code&gt;getLookupSourceItems&lt;/code&gt; pipeline to process the source of a base template and try to parametrize it there.&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-04T07:52:26.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="369" PostTypeId="2" ParentId="339" CreationDate="2016-10-04T08:05:11.950" Score="5" Body="&lt;p&gt;As you suspect; this is now session based. The principle works like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every time a new session starts; 2 sessions are actually kicked off on the server.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A Device Session&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;correspond to a contact making an interaction using a device. A device&#xA;  session begins with the first page request but also captures other&#xA;  requests made during the same time period&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A Contact Session&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;begins together with the device session. When a contact uses multiple&#xA;  devices at the same time the contact session will continue as a series&#xA;  of overlapping device sessions. Contact information collected in one&#xA;  device session is immediately made available in all other device&#xA;  sessions. The contact session ends when the last of the connected&#xA;  device sessions has ended and all the data associated with the contact&#xA;  is saved to the xDB.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Then it becomes a matter of identifying the user in a &lt;em&gt;device session&lt;/em&gt; and mapping to a &lt;em&gt;contact session&lt;/em&gt;. To do that, xDB relies on the user doing something to identify themselves. Usually this would be logging in, but could also be something like clicking an Email Campaign link. If a user does nothing to identify himself, the Device/Contact session linking is never done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the user is identified, xDB does a merge of the primary contact record for the user, and the corresponding contact session(s).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/contact_tracking&quot; rel=&quot;nofollow&quot;&gt;Contact Tracking&lt;/a&gt;&#xA;Source: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/merge_contacts&quot; rel=&quot;nofollow&quot;&gt;Merging Contacts&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-04T08:05:11.950" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="370" PostTypeId="2" ParentId="332" CreationDate="2016-10-04T08:13:21.237" Score="11" Body="&lt;p&gt;There is no user interface that would show you the package installation history out of the box, but seeing it is pretty easy. Sitecore stores information about installed packages in the Core databases under the following path:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/packages/installation history&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to know more details about this, read the following blog post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://kirkegaard-at.blogspot.bg/2013/10/sitecore-package-installation-history.html&quot; rel=&quot;noreferrer&quot;&gt;http://kirkegaard-at.blogspot.bg/2013/10/sitecore-package-installation-history.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's also a Sitecore module on the marketplace that provides a UI for package installation history:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/PackageHistory.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/PackageHistory.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-04T08:13:21.237" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="371" PostTypeId="2" ParentId="341" CreationDate="2016-10-04T08:25:20.057" Score="6" Body="&lt;p&gt;The &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/66/scaling_guide_sc66-a4.pdf&quot;&gt;&lt;strong&gt;Sitecore 6.6 scaling guide&lt;/strong&gt;&lt;/a&gt; has this to say about the &lt;code&gt;IDTable&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You can store persistent mappings of arbitrary keys to Sitecore IDs in the Sitecore &lt;code&gt;IDTable&lt;/code&gt;.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;By default, this is only used by the Sitecore CMS WebDAV functionality to keep locks on media items in the CM environment and does not need to be synchronized with the CD environment.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;You configure the location of the &lt;code&gt;IDTable&lt;/code&gt; in the web.config file in the &lt;code&gt;IDTable&lt;/code&gt; section in the &lt;code&gt;connectionStringName&lt;/code&gt; parameter:&lt;/p&gt;&#xA;  &#xA;  &lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;IDTable type=&quot;Sitecore.Data.$(database).$(database)IDTable, Sitecore.Kernel&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;param connectionStringName=&quot;master&quot; /&amp;gt;&#xA;  &amp;lt;param desc=&quot;cacheSize&quot;&amp;gt;500KB&amp;lt;/param&amp;gt;&#xA;&amp;lt;/IDTable&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;To synchronize the contents of the &lt;code&gt;IDTable&lt;/code&gt; between the CM and CD environments, change the &lt;code&gt;connectionStringName&lt;/code&gt; parameter in the &lt;code&gt;IDTable&lt;/code&gt; configuration section to point to a Core database that is shared or replicated between the environments. Alternatively, it can point to a shared Web database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;There is also this page documenting the table and its API in more detail:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Data%20Providers/Implementing%20a%20Data%20Provider/Mapping%20Identifiers/&quot;&gt;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Data%20Providers/Implementing%20a%20Data%20Provider/Mapping%20Identifiers/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you can use this table to map any string key to an ID. An example scenario would be importing items from an external system and tracking the imported item IDs to avoid duplicates.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-04T08:25:20.057" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="372" PostTypeId="2" ParentId="360" CreationDate="2016-10-04T08:26:28.443" Score="12" Body="&lt;p&gt;I've only ever seen one example of completely automating this process, based off the original Sitecore spreadsheet. It only works off the original; so you would need to expand it for Unicorn and other tools in use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It relies on PowerShell. (not Sitecore PowerShell Extensions).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially the script functions like this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Export the sheet into CSV format&lt;/li&gt;&#xA;&lt;li&gt;Read and parse it with PowerShell&lt;/li&gt;&#xA;&lt;li&gt;Renames config files to &lt;em&gt;.config/&lt;/em&gt;.config.disabled as appropriate&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;See the Gist from Michael West here. &lt;a href=&quot;https://gist.github.com/michaellwest/d1124a459cb1fb47486f87d488ecfab8&quot;&gt;Sitecore Role Configurator.ps1&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Main script reads like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;#&#xA;    .SYNOPSIS&#xA;        The following script prompts the user for a Sitecore server role, then applies the appropriate configurations as specified by the spreadsheet.&#xA;&#xA;    .NOTES&#xA;        Michael West&#xA;        2016-06-17&#xA;#&amp;gt;&#xA;$VerbosePreference = &quot;Silentlycontinue&quot;&#xA;&#xA;$configOptions = Import-Csv -Path C:\temp\Config_Enable-Disable_Sitecore_8.1_upd3.csv&#xA;&#xA;$role = Read-Host -Prompt &quot;Which server role would you like to use? (i.e. CD, CM, CMP, PRC, RPT)&quot;&#xA;$apppath = &quot;C:\temp\&quot;&#xA;&#xA;foreach($option in $configOptions) {&#xA;    $configPath = Join-Path -Path $apppath -ChildPath $option.Filepath&#xA;&#xA;    switch($option.$role) {&#xA;        &quot;Enable&quot; {&#xA;            Write-Host &quot;Enabling $($option.Filename)&quot;&#xA;            $oldConfigPath = Join-Path -Path $configPath -ChildPath ($option.Filename + &quot;*&quot;)&#xA;            $newConfigPath = Join-Path -Path $configPath -ChildPath $option.Filename&#xA;        }&#xA;&#xA;        &quot;Disable&quot; {&#xA;            Write-Host &quot;Disabling $($option.Filename)&quot;&#xA;            $oldConfigPath = Join-Path -Path $configPath -ChildPath ($option.Filename + &quot;*&quot;)&#xA;            $newConfigPath = Join-Path -Path $configPath -ChildPath $option.Filename.disabled&#xA;        }&#xA;        default {&#xA;            continue&#xA;        }&#xA;    }&#xA;&#xA;    if(-not (Test-Path -Path $oldConfigPath)) {&#xA;        Write-Verbose &quot;Skipping $($oldConfigPath) because the path does not exist.&quot;&#xA;        continue&#xA;    }&#xA;&#xA;    Move-Item -Path $oldConfigPath -Destination $newConfigPath&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-04T08:33:32.863" LastActivityDate="2016-10-04T08:33:32.863" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="373" PostTypeId="2" ParentId="293" CreationDate="2016-10-04T08:26:46.390" Score="1" Body="&lt;p&gt;You might also want to take a look at the EasyLingo module on the marketplace. Will not help your 'bulk' requirement but it gives you an overview (in content and xp editor) of the languages you have and the ones you should have (also taking item fallback into account) on your item. And if you add the flags (back) to the languages it even looks good ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-04T08:26:46.390" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="374" PostTypeId="2" ParentId="333" CreationDate="2016-10-04T08:48:32.203" Score="2" Body="&lt;p&gt;To answer the question: &quot;What is the way to run Sitecore front-end website pointing to master database.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a few ways you can run your Sitecore website off the Master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) You can edit the site configuration database attribute&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) You can append ?sc_database=master to the request URL&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) You can append ?sc_mode=preview to the request URL, however, this will require you to log in to Sitecore. &lt;/p&gt;&#xA;" OwnerUserId="445" LastActivityDate="2016-10-04T08:48:32.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="375" PostTypeId="2" ParentId="336" CreationDate="2016-10-04T08:49:52.967" Score="3" Body="&lt;p&gt;There is a pipeline called &lt;code&gt;getPlaceholderRenderings&lt;/code&gt; where you can define processors that can compute allowed renderings.&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-04T08:49:52.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="376" PostTypeId="2" ParentId="338" CreationDate="2016-10-04T08:55:15.840" Score="3" Body="&lt;p&gt;In Sitecore 7.5 and down, you can view the exact version of Sitecore from the Content Editor. Click on the Sitecore Icon in the top left hand corner, then select &quot;About&quot;. A new dialog box will appear with the Sitecore version information&lt;/p&gt;&#xA;" OwnerUserId="445" LastActivityDate="2016-10-04T08:55:15.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="377" PostTypeId="2" ParentId="336" CreationDate="2016-10-04T08:56:38.180" Score="5" Body="&lt;p&gt;from sitecore 6.5  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;setting name=&quot;WebEdit.PlaceholdersEditableWithoutSettings&quot;&#xA;value=&quot;false&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if needs to use dynamic placeholders or need to edit a placeholder without setting placeholder settings prior, then set this setting to &quot;true&quot;.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T08:56:38.180" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="378" PostTypeId="2" ParentId="341" CreationDate="2016-10-04T09:11:58.447" Score="1" Body="&lt;p&gt;The IDTable is used to store persistant mappings of external keys to Sitecore IDs. Be aware though, that IDtable lookups requires an additional query to the database (caching aside), and may impact performance.&lt;/p&gt;&#xA;&lt;p&gt;There are alternatives to using the IDTable, for example Sitecore Commerce Connect takes a different approach, by generating deterministic GUIDs from the external key. From the &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/products/sitecore%20commerce%20connect/sitecore_connect_integration_guide_usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commerce Connect Integration Guide&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;3.1.5 ID Mapping By design, the remote product repository is always regarded as the main repository, which by default owns the products.&lt;/p&gt;&#xA;&lt;p&gt;That makes the ID of the products and artifacts in the external system&#xA;the primary key.&lt;/p&gt;&#xA;&lt;p&gt;In Sitecore, the IDs of the corresponding items for&#xA;products and artifacts are generated by Connect instead of relying on&#xA;the default Sitecore implementation that automatically generates a new&#xA;GUID for each new item created.&lt;/p&gt;&#xA;&lt;p&gt;By using a hash algorithm, it is&#xA;possible to generate a direct mapping between the IDs coming from the&#xA;external system and the item IDs in Sitecore. It has the following&#xA;benefits:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No need for mapping tables taking up space.&lt;/li&gt;&#xA;&lt;li&gt;It becomes very fast to get the ID of the corresponding item.&lt;/li&gt;&#xA;&lt;li&gt;There is no need for searching for the items in Sitecore if the external ID is provided.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The default implementation is based on the MD5 hash&#xA;algorithm and has the following format:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Item.ID = MD5.ComputeHash(Prefix + ExternalID);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So instead of storing mappings in the IDTable, create predictable consistent IDs, based on the external key.&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-25T15:43:35.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="379" PostTypeId="2" ParentId="330" CreationDate="2016-10-04T09:18:01.927" Score="4" Body="&lt;p&gt;As well as being a Sitecore certified developer (although this restriction can be lifted in certain circumstances) you also have to either:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Belong to an organisation that has a valid &lt;a href=&quot;http://www.sitecore.net/en-gb/services-and-support/support-programs&quot; rel=&quot;nofollow&quot;&gt;Sitecore support contract&lt;/a&gt; in place&lt;/li&gt;&#xA;&lt;li&gt;Belong to an organisation that is a &lt;a href=&quot;http://www.sitecore.net/en-gb/getting-started/partners&quot; rel=&quot;nofollow&quot;&gt;Sitecore Solution Partner&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When you raise a ticket you will need to enter a valid Sitecore license number and the system will check to make sure the client is eligible to receive support.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-04T09:18:01.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="380" PostTypeId="2" ParentId="330" CreationDate="2016-10-04T09:18:18.343" Score="8" Body="&lt;p&gt;There are a couple of criteria in fact.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You need to be a certified Sitecore Developer as mentioned above&lt;/li&gt;&#xA;&lt;li&gt;Your Sitecore account - the one you used to register for the exam - needs to be connected to a Sitecore Partner Account.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Essentially, Sitecore Support runs on a &quot;partner view&quot;. This is essentially what you want - it allows people access to all support tickets tied to the partner in question. So you can share and access tickets with your colleagues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mostly; your account will get connected to your employer's partner account when you pass certification. If not, your boss needs to ask that it gets connected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are edge cases; myself for instance - I'm a certified developer but I work freelance - but the partners I work for, switch all the time. The Sitecore setup really has no easy solutions for this setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A few caveats; if you're just starting out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use a personal email address for your SDN account. Not a partner one your employer gave you. It makes everything easier in the long run when, a few years from now, you switch employers or whatever it may be.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-04T09:18:18.343" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="381" PostTypeId="2" ParentId="334" CreationDate="2016-10-04T09:23:58.030" Score="4" Body="&lt;p&gt;The answer from @bmyers is the recommended solution, but it is also possible to update the &lt;code&gt;web&lt;/code&gt; connectionstring and point it directly to the master database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add name=&quot;web&quot; connectionString=&quot;user id=sa;password=Password01;Data Source=.;Database=MySiteSitecore_Master&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above is useful in CI type environments when you need to quickly change variables at deploy time for testing purposes.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-04T09:23:58.030" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="382" PostTypeId="2" ParentId="351" CreationDate="2016-10-04T09:29:30.600" Score="1" Body="&lt;p&gt;I have had to do similar in the past have used deterministic GUIDs. I use the method described and shared here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://code.logos.com/blog/2011/04/generating_a_deterministic_guid.html&quot; rel=&quot;nofollow&quot;&gt;http://code.logos.com/blog/2011/04/generating_a_deterministic_guid.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This algorithm follows &lt;a href=&quot;http://www.ietf.org/rfc/rfc4122.txt&quot; rel=&quot;nofollow&quot;&gt;RFC 4122&lt;/a&gt;, and is designed not to clash with GUIDs that are generated in other namespaces - so it won't clash with &lt;code&gt;Guid.NewGuid()&lt;/code&gt; for example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using MD5 hashes directly works but they don't come with the guarantee of avoiding clashes with other GUIDs.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-04T09:29:30.600" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="383" PostTypeId="1" AcceptedAnswerId="448" CreationDate="2016-10-04T09:41:27.937" Score="7" ViewCount="503" Body="&lt;p&gt;The architecture guidance from Sitecore suggests that multi-role servers - e.g. combining Content Management / Processing / Reporting - should only be done in development and not in production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I've now seen many installations that are only splitting Content Delivery roles out onto their own servers. Often Processing + Reporting are also running on a single Content Management server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These sites weren't falling over, but perhaps their traffic was just low enough for it not to be a problem. Does anyone have experience of a definite limit they were able to see, that meant running these multi-role servers was just not viable?&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="423" LastEditDate="2017-08-07T19:49:57.223" LastActivityDate="2017-08-07T19:49:57.223" Title="Is a multi-role Sitecore server ok in production?" Tags="|scaling|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="384" PostTypeId="1" AcceptedAnswerId="392" CreationDate="2016-10-04T09:41:29.060" Score="12" ViewCount="9009" Body="&lt;p&gt;Does anyone know what the difference between the 3 main types of publishing in Sitecore are?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the option to do a republish, incremental publish and a smart publish&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My understanding is that a republish will publish everything but I don't understand the incremental or smart options&lt;/p&gt;&#xA;" OwnerUserId="445" LastActivityDate="2016-10-04T10:00:48.087" Title="What is the difference between republish, smart publish and incremental publishes?" Tags="|publishing|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="385" PostTypeId="1" AcceptedAnswerId="521" CreationDate="2016-10-04T09:41:52.787" Score="17" ViewCount="7352" Body="&lt;p&gt;There's an &lt;code&gt;EventQueue&lt;/code&gt; table in every Sitecore database. It contains both the local and remote events of Sitecore instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to know how the event queue works, exactly.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Why are some events stored in the Core, some in the Master, and some in the Web database?&lt;/li&gt;&#xA;&lt;li&gt;Why is there a need to track local events? Can't they just be handled internally in the instance that fired them?&lt;/li&gt;&#xA;&lt;li&gt;How does Sitecore know that a remote event has been fully processed by all instances?&lt;/li&gt;&#xA;&lt;li&gt;When is it safe to remove an &lt;code&gt;EventQueue&lt;/code&gt; record from the table?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-05T10:57:25.127" LastActivityDate="2016-10-05T10:57:25.127" Title="How does the Sitecore event queue work?" Tags="|events|" AnswerCount="1" CommentCount="5" ClosedDate="2016-10-05T07:31:04.677" ContentLicense="CC BY-SA 3.0" />
  <row Id="386" PostTypeId="1" AcceptedAnswerId="399" CreationDate="2016-10-04T09:42:45.350" Score="5" ViewCount="469" Body="&lt;p&gt;Bucketing is a nice feature for organizing a large amount of items in the Sitecore content tree, however the default bucketing strategy based on item creation date is mostly useful for content where the creation date is actually relevant (e.g. news articles). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can multiple bucketing strategies co-exist in the same Sitecore solution? Is it possible to create a different bucketing strategy based on the bucket item template? &lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="73" LastEditDate="2016-10-04T09:57:28.937" LastActivityDate="2016-10-04T10:25:32.550" Title="Can bucketing strategy be controlled per template?" Tags="|buckets|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="387" PostTypeId="1" AcceptedAnswerId="412" CreationDate="2016-10-04T09:48:16.943" Score="7" ViewCount="5990" Body="&lt;p&gt;In other peoples Sitecore installations, I have seen fields with a bit of descriptive text next to the field name to help the user input the correct information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to use this in my current installation, but I don't know how to add this helpful text to a field name.&lt;/p&gt;&#xA;" OwnerUserId="445" LastEditorUserId="73" LastEditDate="2016-10-30T12:51:36.097" LastActivityDate="2016-12-06T18:36:08.560" Title="How to add helpful text to a Sitecore field" Tags="|sitecore-client|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="388" PostTypeId="2" ParentId="384" CreationDate="2016-10-04T09:50:16.733" Score="-3" Body="&lt;p&gt;This might help understand it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorebasics.wordpress.com/2011/05/22/basics-of-sitecore-publishing-modes/&quot; rel=&quot;nofollow&quot;&gt;https://sitecorebasics.wordpress.com/2011/05/22/basics-of-sitecore-publishing-modes/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers,&#xA;D&lt;/p&gt;&#xA;" OwnerUserId="449" LastActivityDate="2016-10-04T09:50:16.733" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="389" PostTypeId="2" ParentId="384" CreationDate="2016-10-04T09:50:22.840" Score="3" Body="&lt;p&gt;The different publish types define how Sitecore will evaluate which items to move from the master database into the destination publishing target (typically web).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Republish will publish every single item from the source db into the destination db without any checks on whether the item in the source db matches items in the destination db.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Smart publish will scan each item in the source db and compare the items in the destination db, if the version in master is newer then it will publish the items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Incremental publishes are based on entries stored in the publish queue and history db table. Whenever items are updated via e.g. editors in the content editor it will add an entry into the history table. An incremental publish then uses this data to decide which items to include in its publish operation.&lt;/p&gt;&#xA;" OwnerUserId="443" LastActivityDate="2016-10-04T09:50:22.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="390" PostTypeId="2" ParentId="384" CreationDate="2016-10-04T09:50:48.710" Score="3" Body="&lt;ul&gt;&#xA;&lt;li&gt;Incremental Publish : publishes only items that are in the publishing queue. Every time you change an item, the item is automatically added to the publishing queue. If the changed item is part of a workflow, the item is added to the publishing queue when it reaches the final workflow state.&#xA;Incremental Publish is the fastest way of publishing because Sitecore does not use resources to compare versions of the items that are in the publishing queue before publishing them.&lt;/li&gt;&#xA;&lt;li&gt;Smart Publish : publishes all items that have changed since the last publication. When you run a Smart publish, every item in the Master database is compared with the equivalent item in the target database and, if an item has changed, it is published&#xA;Comparing all items in the database makes this a time-consuming way of publishing your entire website, particularly if the content tree contains many items.&lt;/li&gt;&#xA;&lt;li&gt;Republish : publishes everything. Republish overwrites every item in the target database with the equivalent item from the Master database, even if it has not changed. In this way, republishing removes all obsolete versions from the target database. You can use republishing to bring a new web database online, to restore a backup of the master database, and to add a new content language, a new publishing target, or other system items to the website.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More info (screenshots) here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/content_authoring/publishing/publish_a_website&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/content_authoring/publishing/publish_a_website&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-04T09:50:48.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="391" PostTypeId="2" ParentId="384" CreationDate="2016-10-04T09:53:34.600" Score="-2" Body="&lt;p&gt;This one maybe could help &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.kewlcodes.com/posts/1149/sitecore-publishing-queue-and-smart-vs-incremental-publish&quot; rel=&quot;nofollow&quot;&gt;http://www.kewlcodes.com/posts/1149/sitecore-publishing-queue-and-smart-vs-incremental-publish&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers,&#xA;D&lt;/p&gt;&#xA;" OwnerUserId="449" LastActivityDate="2016-10-04T09:53:34.600" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="392" PostTypeId="2" ParentId="384" CreationDate="2016-10-04T09:54:01.197" Score="18" Body="&lt;p&gt;Here's an overview of each of the publishing methods:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Republish&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This publish will simply fully publish out each item again, regardless of whether it has been published before or not. Therefore this is the slowest publish as Sitecore will still transfer over changes that may already be on the target database.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Smart&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;With this method, Sitecore will look at each item and compare it to the item in the target database (if it exists). If it determines that it needs to be updated, then it publishes the item, otherwise it skips it. I'm not actually sure what method it uses to determine if it needs to be updated, but my guess would be that it uses the &lt;code&gt;Revision&lt;/code&gt; field which is a GUID that is updated each time an item is updated. If the GUIDs match, it would know that it doesn't need to update the item. Of course, if the item isn't there at all, it will be published.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Incremental&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Every time an update is made to an item, Sitecore tracks this change inside the &lt;code&gt;PublishQueue&lt;/code&gt; table in the database. This is effectively Sitecore recording the fact that this item has changed, and therefore will need to be published. When you do an Incremental publish, this table is simply read to get the list of items that need to be published out. After the publish, this table is cleared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Incremental is the fastest method of publishing as Sitecore is only publishing out what has changed. However it is also prone to error, for example if the &lt;code&gt;PublishQueue&lt;/code&gt; table has been cleared before those items have been published, then an incremental publish won't publish those items.&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-04T10:00:48.087" LastActivityDate="2016-10-04T10:00:48.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="393" PostTypeId="2" ParentId="387" CreationDate="2016-10-04T09:55:27.740" Score="5" Body="&lt;p&gt;&lt;a href=&quot;http://www.sitecore.net/company/blog/473/how-to-edit-field-labels-for-user-friendliness-4244&quot; rel=&quot;nofollow&quot;&gt;http://www.sitecore.net/company/blog/473/how-to-edit-field-labels-for-user-friendliness-4244&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to fill the help texts on the field item (in the template section): title, short description. The article explains it in detail with screenshots to make it clear.&#xA;The descriptive text you are asking about is the short description - if you want to show an alternative for your fieldname, you can use the title field.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="246" LastEditDate="2016-10-28T03:55:44.643" LastActivityDate="2016-10-28T03:55:44.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="394" PostTypeId="2" ParentId="386" CreationDate="2016-10-04T09:56:13.573" Score="1" Body="&lt;p&gt;You can implement &lt;code&gt;Sitecore.Buckets.Util.IDynamicBucketFolderPath&lt;/code&gt; to make your own logic. There is one method to implement, where you have &lt;code&gt;templateId&lt;/code&gt; - among others - as a parameter:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;string GetFolderPath(Database database, string name, ID templateId, ID newItemId, ID parentItemId, DateTime creationDateOfNewItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then point the setting &lt;code&gt;BucketConfiguration.DynamicBucketFolderPath&lt;/code&gt; to your class.&lt;/p&gt;&#xA;" OwnerUserId="114" LastActivityDate="2016-10-04T09:56:13.573" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="395" PostTypeId="1" AcceptedAnswerId="402" CreationDate="2016-10-04T10:02:45.493" Score="14" ViewCount="10294" Body="&lt;p&gt;It is my understanding that there are various different caches in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are they for?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know there is an item cache, a html cache and a prefetch cache, but I don't understand how they differ or how I can control these caches&lt;/p&gt;&#xA;" OwnerUserId="445" LastEditorUserId="237" LastEditDate="2016-10-06T13:19:13.777" LastActivityDate="2023-10-11T13:48:44.513" Title="What is the difference between the item, prefetch and html caches?" Tags="|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="396" PostTypeId="1" CreationDate="2016-10-04T10:12:59.453" Score="14" ViewCount="3285" Body="&lt;p&gt;The content editors want to divide up their roles so that some editors of the site only have access to edit and change a certain area of the site (e.g. &lt;code&gt;/news&lt;/code&gt; and all its descendants). These editors would belong to a particular role, e.g. &lt;code&gt;News Editor&lt;/code&gt;. They would like it to be as easy as possible for them, so in the Content Editor they &lt;em&gt;would only see the pages that relate to them&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this I have tried using item security to remove their Read access to the other pages of the site. However now when those users try to preview the site, it doesn't look right or it breaks because renderings aren't able to read the items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I still want them to be able to preview the site as if they were a real user, so they may still need Read access to these items for that to work. Can I just restrict their view of items in the Content Editor, but have the site still function correctly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am aware I can remove their Write access and they would then be prevented from editing certain items and the site would still work for them, however that does not solve this problem.&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-21T15:39:33.327" LastActivityDate="2020-01-22T07:06:24.037" Title="Hiding items in the Content Editor for certain users / roles" Tags="|content-editor|security|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="397" PostTypeId="2" ParentId="395" CreationDate="2016-10-04T10:21:48.297" Score="5" Body="&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/66/cache_configuration_reference_sc66-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;Here&lt;/a&gt; you can find detailed info about cache. In essence:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;prefetch&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Database prefetch caches contain items that Sitecore accesses during and immediately after&#xA;  initialization, and items with children that Sitecore often accesses as a group.&#xA;  Sitecore populates database prefetch caches at application initialization, and maintains those caches&#xA;  over the life of the application. Each database prefetch cache stores data from a different database or&#xA;  data source. Not all data providers implement prefetch caches.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;item&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Database item caches store items. Database item caches are dependent on database data caches,&#xA;  which operate at a lower level. Each entry in a database item cache represents a single version of an&#xA;  item in a single language. Sitecore does not pre-populate database item caches.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;HTML&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The HTML cache (also known as the output cache) associated with each managed Web site contains&#xA;  the output generated by individual renderings under different conditions. Each site HTML (output)&#xA;  cache is dependent on the database item cache.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-04T10:21:48.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="398" PostTypeId="2" ParentId="396" CreationDate="2016-10-04T10:23:54.773" Score="8" Body="&lt;p&gt;You could mark those items as hidden - regular users don't see hidden items by default (and you can disable option to show them as well)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tn4xD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tn4xD.png&quot; alt=&quot;Show/hide hidden items&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can set it on the item or on the template's standard values. Just search for a &lt;code&gt;Hidden&lt;/code&gt; field in the &lt;code&gt;Appearance&lt;/code&gt; section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/D008a.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D008a.png&quot; alt=&quot;Hidden field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-10-04T10:24:45.190" LastActivityDate="2016-10-04T10:24:45.190" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="399" PostTypeId="2" ParentId="386" CreationDate="2016-10-04T10:25:32.550" Score="2" Body="&lt;p&gt;You are able to change the format of the default bucketing folder structure uising the following setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;BucketConfiguration.BucketFolderPath&quot; value=&quot;yyyy\/MM\/dd\/HH\/mm&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that this is still based on the item creation date though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also possible to utilise the Sitecore Rules Engine to determine the folder structure, updating the rules on &lt;code&gt;/sitecore/system/Settings/Buckets/Item Buckets Settings&lt;/code&gt; in the content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box the following rules are available:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FkWiY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FkWiY.png&quot; alt=&quot;Sitecore Buckets Rules Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first rule is pretty much the same as the default naming using config settings, but it does allow you to set a different format per bucket folder. The other 2 rules use the item ID or name and then create nested folders based on that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If none of rules meet your requirements then it is possible to create a custom rule and utlise that instead. For example, to create the folder based on the user creating the item and the year you could use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class UserBasedPath&amp;lt;T&amp;gt; : RuleAction where T : BucketingRuleContext&#xA;{&#xA;  public override void Apply(T ruleContext)&#xA;  {&#xA;    if (Sitecore.Context.Data != null &amp;amp;&amp;amp; Sitecore.Context.Data.User != null)&#xA;    {&#xA;      ruleContext.ResolvedPath = &#xA;        Sitecore.Context.Data.User.LocalName + &quot;/&quot; + DateTime.Now.Year;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will need to register the rule under &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Bucketing&lt;/code&gt; and set the &lt;code&gt;Text&lt;/code&gt; and &lt;code&gt;Type&lt;/code&gt; fields to match your rules and the it will be available for use in the Rule Set Editor.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-04T10:25:32.550" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="400" PostTypeId="1" AcceptedAnswerId="421" CreationDate="2016-10-04T10:31:03.357" Score="7" ViewCount="1491" Body="&lt;p&gt;I'm rebuilding a link database with more than 10 millions of rows. It is taking 16 hours per database, but the web server and SQL server are almost idle, even when new rows are generated slowly in the links table.&#xA;Is there any way we can make use of all the resources available?&#xA;Please note this is Sitecore 6.6 Update 8.&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="151" LastEditDate="2016-10-04T10:46:59.780" LastActivityDate="2016-10-06T13:23:52.640" Title="How to speed up rebuilding the link database?" Tags="|link-database|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="401" PostTypeId="2" ParentId="344" CreationDate="2016-10-04T10:32:46.360" Score="3" Body="&lt;p&gt;To my knowledge, Sitecore/Komfo doesn't offer developer accounts yet.  If you're aligned with a Sitecore Partner, the partner can get an account from their partner rep.  That's how we got ours.  &lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2016-10-04T10:32:46.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="402" PostTypeId="2" ParentId="395" CreationDate="2016-10-04T10:35:10.927" Score="16" Body="&lt;p&gt;&lt;strong&gt;Prefetch cache&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is item data pulled out from the database when the site starts up - from the Sitecore docs:&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;Each database prefetch cache entry represents an item in a database. Database prefetch cache&#xA;entries include all field values for all versions of that item, and information about the parent and&#xA;children of the item.&lt;/p&gt;&#xA;&lt;p&gt;Populating the prefetch cache results in smoother user experiences immediately after application&#xA;restarts. Excessive use of prefetch caches can affect the time required for application initialization.&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Data cache&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This cache is to minimise the round trips to the database, it again pulls item information from Sitecore but the difference being it does it when the item is requested (rather than start-up of the site); it will pull the data from the pre-fetch cache if it's there or go back to the database if not.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Item cache&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This cache has objects of type Sitecore.Data.Items.Item which would be used in code; when an item is requested in code it will look in the Item cache, then back up the data cache and up again to pre fetch cache and finally to the database.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;HTML cache&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This output caches the HTML from sublayouts and renderings, there are a nice level of configuration to only cache the HTML based on querystrings, different data etc.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Flow of cache&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The following is taken from &lt;a href=&quot;http://web.archive.org/web/20181023070800/http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://web.archive.org/web/20181023070800/http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wcCcM.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wcCcM.jpg&quot; alt=&quot;Cache flow from Learn Sitecore&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Some of these references are a bit old, but I don't believe this part of Sitecore has changed &lt;em&gt;that&lt;/em&gt; much over the years.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://sitecoreblog.patelyogesh.in/2013/06/how-sitecore-caching-work.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreblog.patelyogesh.in/2013/06/how-sitecore-caching-work.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/66/cache_configuration_reference_sc66-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/66/cache_configuration_reference_sc66-a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="87" LastEditorUserId="247" LastEditDate="2023-10-11T13:48:44.513" LastActivityDate="2023-10-11T13:48:44.513" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="403" PostTypeId="2" ParentId="400" CreationDate="2016-10-04T10:49:04.957" Score="4" Body="&lt;p&gt;Not sure for 6.6 update 8, but I dug up the following information. Might be worth trying to see if that patch will apply in 6.6 also.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;We had recently done upgrade of one of our implementation from SC 7.2 U3 to U6.  As part of any upgrades Sitecore recommends to Rebuild Link Database as one of the key activities. Previously in SC 7.2 U3 when we had tried Rebuild Link Database it used to timeout and never used to get executed.  This was one of the things that Sitecore fixed as part of SC 7.2 U5&lt;/p&gt;&#xA;&lt;p&gt;Rebuilding the Link database would sometimes fail and throw a timeout exception. This has been fixed so that link database processing has been split into batches. The size of the batch is controlled by the LinkDatabase.MaximumBatchSize setting. (431417)&lt;/p&gt;&#xA;&lt;p&gt;This fix did solve the issue we were facing, and rebuild link DB started working without any timeout exceptions. However we it was taking too long to complete. In one of our instance, which is large database – it used to take more than 16+ hours to complete the rebuild link DB for Master DB, and 12+ hours to complete it for Web DB, which was not a desired output in our implementation.&lt;/p&gt;&#xA;&lt;p&gt;We then worked with Sitecore support which provided a patch#Sitecore.Support.115854.dll which initiated the rebuild link DB in a multiple threads to speed-up the rebuild process.  Although this increased the memory utilization during the rebuild process, it did speed-up the rebuild link db process considerably and we were able to rebuild finish the rebuild of Master DB in 6-8 hours.&lt;/p&gt;&#xA;&lt;p&gt;If you are experiencing similar issues – you can reach out to Sitecore support for the  patch#Sitecore.Support.115854.dll which is available for Sitecore 7.2 U6 version.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoresaga.wordpress.com/2016/08/08/rebuild-link-database-taking-too-long-time-to-complete/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Source&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-04T19:15:02.023" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="404" PostTypeId="2" ParentId="295" CreationDate="2016-10-04T10:50:41.020" Score="2" Body="&lt;p&gt;You can install Sitecore Powershell Extensions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This module allows you to create dialogs using Powershell Scripts and create buttons which you can connect to various places in Content Editor (context menu, ribbon, etc.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This screenshot if from one of the examples. The code underneath the dialog is used to create it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NqIsi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NqIsi.png&quot; alt=&quot;Example Powershell dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-04T10:50:41.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="405" PostTypeId="2" ParentId="298" CreationDate="2016-10-04T10:54:09.923" Score="1" Body="&lt;p&gt;You can do this easily with Sitecore Powershell Extensions, just use the following script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem . -Recurse |? { $_.__Workflow -eq &quot;&quot; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-04T10:54:09.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="406" PostTypeId="1" AcceptedAnswerId="410" CreationDate="2016-10-04T10:58:49.837" Score="12" ViewCount="1763" Body="&lt;p&gt;We're currently trying to optimize our site so the end users get fast response times. One of the areas we are looking at moment is the media served from the Sitecore Media Library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What settings are available and what techniques can be used to ensure that the media items are both optimized in terms of size?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, it's not uncommon for users to upload large high quality 1MB+ images, but the image may only used as a small thumbnail on a related content widget or even when used as a main image on a page, the uploaded image is much larger than the conataining HTML element.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any settings available to &quot;down size&quot; the image for each use or should be instead ensure that the editors upload the correct size image to begin with?&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="2727" LastEditDate="2018-06-07T13:44:22.110" LastActivityDate="2019-01-08T19:56:40.043" Title="Optimizing Sitecore Media Items" Tags="|media-library|performance-optimization|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="407" PostTypeId="1" AcceptedAnswerId="415" CreationDate="2016-10-04T10:58:53.233" Score="9" ViewCount="956" Body="&lt;p&gt;I've just come across an issue with missing personalization options on a Sitecore 7.2 website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Analytics was recently disabled.&#xA;I found an article explaining that disabling Analytics hides all personalization rules sections.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to personalize components with Analytics disabled?&lt;/p&gt;&#xA;" OwnerUserId="450" LastEditorUserId="104" LastEditDate="2016-11-03T11:51:14.427" LastActivityDate="2016-11-03T11:51:14.427" Title="Personalizing components with Analytics disabled in Sitecore 7.2" Tags="|personalization|tracking|dms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="408" PostTypeId="1" AcceptedAnswerId="462" CreationDate="2016-10-04T11:04:09.387" Score="41" ViewCount="2051" Body="&lt;p&gt;In a few weeks, I'll start a migration project of a Sitecore 6.5 site to an 8.2 site. &#xA;At that time &lt;strong&gt;the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Express Migration Tool&lt;/a&gt; will only support 7.2 to 8.2, so the rest will be a manual process.&lt;/strong&gt;&#xA;I still have to go over the project and code with the original developers.&#xA;I've googled around a bit for different strategies and was wondering if anyone had a better idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've heard there are a lot of WFFM forms on this site, so they will be a key success factor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;upgrade preparation plan&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;identify the state of all environments (which version/branch of the solution is deployed where&lt;/li&gt;&#xA;&lt;li&gt;if possible deploy latest version everywhere (preferably done with original dev)&lt;/li&gt;&#xA;&lt;li&gt;identify custom code and which parts of Sitecore it plugs in to (together with original dev)&lt;/li&gt;&#xA;&lt;li&gt;identify configuration coupling: which files need to be changed and which can be used as a whole (together with original dev)&lt;/li&gt;&#xA;&lt;li&gt;set up a (manual) test plan for smoke testing site in each intermediate version&lt;/li&gt;&#xA;&lt;li&gt;list deprecated functionalities of each intermediate version to determine code to be modified&lt;/li&gt;&#xA;&lt;li&gt;list modules that need to be upgraded/replaced&lt;/li&gt;&#xA;&lt;li&gt;list prerequisites for each intermediate version&lt;/li&gt;&#xA;&lt;li&gt;choose appropriate windows and SQL server version&lt;/li&gt;&#xA;&lt;li&gt;run a link checker before any new upgrade to check for any extra problems.&lt;/li&gt;&#xA;&lt;li&gt;decide which errors can be ignored (but should be documented) until reaching the final version&lt;/li&gt;&#xA;&lt;li&gt;discuss upgrade strategy with Sitecore (sharing as much info as possible from previous steps)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;high-level upgrade strategy:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;stop development&lt;/li&gt;&#xA;&lt;li&gt;clear publishing and event queues. set longer timeouts in web.config&lt;/li&gt;&#xA;&lt;li&gt;shrink and rebuild db indexes&lt;/li&gt;&#xA;&lt;li&gt;update all environments with production content (take care not to lose not deployed development)&lt;/li&gt;&#xA;&lt;li&gt;upgrade to version x &lt;/li&gt;&#xA;&lt;li&gt;backup analysis and upgrade reports and logs&lt;/li&gt;&#xA;&lt;li&gt;test, compare to x-1 and backup version x&lt;/li&gt;&#xA;&lt;li&gt;deploy version x to staging or whatever temporary QA site&lt;/li&gt;&#xA;&lt;li&gt;have key users verify version x on staging or whatever temporary QA site&lt;/li&gt;&#xA;&lt;li&gt;upgrade to version x+1&lt;/li&gt;&#xA;&lt;li&gt;... repeat until version 7.2 (or whichever version is supported by then)&lt;/li&gt;&#xA;&lt;li&gt;use Express Migration Tool&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Since it's important to spread the word, I will be blogging about this and the solution. First part can be found &lt;a href=&quot;http://www.sitecorn.be/2016/10/07/upgrade-sitecore-6-5-to-8-2-part1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="134" LastEditorUserId="4050" LastEditDate="2019-10-18T08:17:13.417" LastActivityDate="2019-10-18T08:17:13.417" Title="What's the best migration strategy for 6.5 to 8.2?" Tags="|best-practices|wffm|upgrade|migration|" AnswerCount="9" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="409" PostTypeId="1" CreationDate="2016-10-04T11:10:23.343" Score="8" ViewCount="2652" Body="&lt;p&gt;I have a problem with my HTML cache always being empty when I look at the cache report screens in Sitecore I have done the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Enabled Cacheable and Vary By Data on each rendering in Sitecore (view renderings and controller renderings)&lt;/li&gt;&#xA;&lt;li&gt;Ensured that under each site (this is a multisite solution) I've set &lt;code&gt;cacheHtml=&quot;true&quot; htmlCacheSize=&quot;25MB&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set &lt;code&gt;Caching.DisableCacheSizeLimits&lt;/code&gt; to true&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Am I missing something as when I hit this page: &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt; I see nothing in my HTML cache for any sites. Also &lt;code&gt;/sitecore/admin/stats.aspx&lt;/code&gt; shows 0 in the from cache column for everything.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="73" LastEditDate="2019-07-31T09:17:03.083" LastActivityDate="2019-07-31T09:17:03.083" Title="Rendering Caches not working" Tags="|mvc|caching|" AnswerCount="2" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="410" PostTypeId="2" ParentId="406" CreationDate="2016-10-04T11:14:12.467" Score="11" Body="&lt;p&gt;You've got a few options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Simple Option:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a width (see here: &lt;a href=&quot;https://briancaos.wordpress.com/2011/02/28/sitecore-image-parameters/&quot;&gt;Sitecore Image Parameters&lt;/a&gt;) - the image sizes will be processed. The disadvantage of this approach is that you get a processing hit the first time the image is resized (it then caches the result I believe).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;A more complex option:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can build something which farms the images out to a CDN and processes the images within the CDN - you'd have to do quite a bit of heavy bespoke work to get this going but it would be pretty cool :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;An enterprise option:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could use an external DAM to do the heavy lifting for you (something like Picturepark, Asset Bank, EDAM, DigiZuite etc).&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-10-04T11:14:12.467" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="411" PostTypeId="2" ParentId="406" CreationDate="2016-10-04T11:15:35.907" Score="10" Body="&lt;p&gt;You could also use this...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/kamsar/Dianoga&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An automatic image optimizer for the Sitecore media library.&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2016-10-04T11:15:35.907" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="412" PostTypeId="2" ParentId="387" CreationDate="2016-10-04T11:17:28.940" Score="17" Body="&lt;p&gt;You just need to go to each of your templates' field items and add a Long description and Short description as per the image below. Save this and go to a component and your help text will show to content editors:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MK8Y0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MK8Y0.png&quot; alt=&quot;help settings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="246" LastEditDate="2016-10-28T03:54:37.910" LastActivityDate="2016-10-28T03:54:37.910" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="413" PostTypeId="2" ParentId="406" CreationDate="2016-10-04T11:26:31.760" Score="5" Body="&lt;p&gt;I would always make sure that your renderings output images with a max-width that is suitable for that rendering, so that any images larger than this uploaded by your editors isn't rendered onto the page at a size much larger than it needs to be. The beauty of the Sitecore media pipeline is that this processing is done on the fly and the images are cached for their next use, so you don't need to specify that images are &quot;pre-processed&quot; to certain sizes at upload time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also encourage the use of a library like &lt;a href=&quot;https://github.com/scottjehl/picturefill&quot; rel=&quot;noreferrer&quot;&gt;Picturefill&lt;/a&gt; if you are using large images on your site in heros, carousels, etc. This allows the page to specify different sized images and the browser will only download the image that is suitable for the screen-width of their device. Again, because Sitecore can generate resized images on the fly, they can all come from a single media source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thirdly, and this lies outside of Sitecore image optimization, but you could look at a lazy-loading technique for images on your pages, e.g. not loading images out of view until they are about to be displayed.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-04T11:26:31.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="414" PostTypeId="2" ParentId="407" CreationDate="2016-10-04T11:27:01.687" Score="5" Body="&lt;p&gt;My understanding is disabling the DB vs. the config will get you what you need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From here:  &lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/246&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/developers/f/9/t/246&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The advantage to disabling the database, means that you can set Analytics.Enabled = true and still use the personalization rules engine for your presentation components.  If you don't want/need to use those, then yes, disabling the config might be best.&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2016-10-04T11:27:01.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="415" PostTypeId="2" ParentId="407" CreationDate="2016-10-04T11:27:13.567" Score="8" Body="&lt;p&gt;Yes need to have Analytics enabled for the personalization rules to be enabled in the system, but you can effectively disable it by turning off the database writes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to set &lt;code&gt;Analytics.Enabled&lt;/code&gt; to true and &lt;code&gt;Analytics.DisableDatabase&lt;/code&gt; to true. Example patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;settings&amp;gt;&#xA;&#xA;            &amp;lt;setting name=&quot;Analytics.DisableDatabase&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/setting&amp;gt;&#xA;            &amp;lt;setting name=&quot;Analytics.Enabled&quot; value=&quot;true&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/setting&amp;gt;&#xA;&#xA;        &amp;lt;settings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With these settings, you enable the personalization rules in the presentation component, but you do not need the analytics database and no writes are attempted by Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="237" LastEditDate="2016-10-04T15:20:44.930" LastActivityDate="2016-10-04T15:20:44.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="416" PostTypeId="1" CreationDate="2016-10-04T11:29:07.487" Score="12" ViewCount="3869" Body="&lt;p&gt;We have been noticing that the first request to any of the Sitecore pages seems to be loaded slow. Every subsequent request is ok.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that we can't use output cache as is a transaction based member portal.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What could be the cause and possible solution? &lt;/li&gt;&#xA;&lt;li&gt;Is there any way to view what's on a pre-fetch cache?&lt;/li&gt;&#xA;&lt;li&gt;How do we determine the right balance of configuration for pre-fetch cache?&lt;/li&gt;&#xA;&lt;li&gt;How would prefetch cache work for a scenario where we have multiple CD at any given time (azure scale up/down)?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Background:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore 8.1 initial release &#xA;Hosted in Azure Web Apps&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="5387" LastEditDate="2019-07-31T08:35:56.520" LastActivityDate="2019-07-31T08:35:56.520" Title="Sitecore Page - First request on every page slow" Tags="|performance-optimization|performance|caching|performance-profiling|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="417" PostTypeId="2" ParentId="358" CreationDate="2016-10-04T11:37:11.277" Score="4" Body="&lt;p&gt;In addition to the description provided in Szymon's answer, you can use &lt;code&gt;physicalFolder&lt;/code&gt; and &lt;code&gt;virtualFolder&lt;/code&gt; to define part of your website url.&lt;br&gt;&#xA;i.e. hostname/virtualFolder/item_path  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have used this senario in complex multi-site implementation, instead of language property. We used virtualFolder &amp;amp; physicalFolder to define our language portion of the url.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="66" LastEditDate="2016-10-18T09:04:29.080" LastActivityDate="2016-10-18T09:04:29.080" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="418" PostTypeId="2" ParentId="304" CreationDate="2016-10-04T11:42:02.947" Score="9" Body="&lt;p&gt;It's my understanding that if no strategies are defined, than you would be unable to rebuild the index unless you do it directly on that server via code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifying a strategy calls the &lt;code&gt;AddStrategy&lt;/code&gt; method on the index:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;  &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;    &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For Lucene indexes, this leads to this strategy being added to a private &lt;code&gt;List&amp;lt;IIndexUpdateStrategy&amp;gt;&lt;/code&gt; field. If none are specified, this remains empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This field is just used to instantiate the strategies, which in turn are responsible for setting up the hooks, etc. they require for that index. There is no public &lt;code&gt;Strategies&lt;/code&gt; property on the Index, so in turn there is no way for other parts of Sitecore to determine if an index has no strategies and behave differently if so.&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="73" LastEditDate="2016-10-14T20:49:46.897" LastActivityDate="2016-10-14T20:49:46.897" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="419" PostTypeId="2" ParentId="284" CreationDate="2016-10-04T11:48:24.187" Score="17" Body="&lt;p&gt;In addition to the answer above, if you have the misery of forgetting the Sitecore password then this will save you:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UPDATE [aspnet_Membership] SET [Password]='qOvF8m8F2IcWMvfOBjJYHmfLABc=',&#xA;[PasswordSalt]='OM5gu45RQuJ76itRvkSPFw==', &#xA;[IsApproved] = '1', [IsLockedOut] = '0'&#xA;WHERE UserId IN (SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\Admin')  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It resets the password to the classic 'b'.&lt;/p&gt;&#xA;" OwnerUserId="87" LastEditorUserId="982" LastEditDate="2017-02-21T13:13:51.540" LastActivityDate="2017-02-21T13:13:51.540" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="420" PostTypeId="2" ParentId="282" CreationDate="2016-10-04T11:49:14.217" Score="1" Body="&lt;p&gt;One of the solutions I have worked with, had this kind of scenario.&lt;br&gt;&#xA;They had another third sitecore instance (Stage instance) between CM &amp;amp; CD instances.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Editors can publish there changes to Stage instance first, before proceeding to CD instance.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T11:49:14.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="421" PostTypeId="2" ParentId="400" CreationDate="2016-10-04T11:52:34.620" Score="7" Body="&lt;p&gt;You can try clearing the Links table before starting a link db rebuild. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tasks like Erasing (or comparing) existing data might also included in the rebuilding process, which might cause this issue.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T11:52:34.620" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="422" PostTypeId="2" ParentId="350" CreationDate="2016-10-04T12:00:10.610" Score="4" Body="&lt;p&gt;Your root item (probably a real Sitecore item) has to be set as a bucket. For your child items (the virtual ones from your provider), you need to set the &lt;code&gt;Is Bucketable&lt;/code&gt; value to &lt;code&gt;true&lt;/code&gt; on the 'Standard Values' of the template (so not on the template itself).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Definitively read this &lt;a href=&quot;https://stackoverflow.com/questions/36692431/display-items-in-bucket-with-sitecore-data-provider&quot;&gt;https://stackoverflow.com/questions/36692431/display-items-in-bucket-with-sitecore-data-provider&lt;/a&gt; as well as it covers your question.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-05T09:17:52.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="423" PostTypeId="1" AcceptedAnswerId="584" CreationDate="2016-10-04T12:02:21.617" Score="21" ViewCount="2017" Body="&lt;p&gt;I'm currently running into an issue in production Content Delivery where every now and then (2 hours to 2 days), all requests will stop being served. Via memory dump we've been able to track down the cause as a thread deadlock - always a piece of code that is querying a Lucene index. My understanding of Lucene tells me that, it would seem unlikely that a read operation against Lucene would cause a deadlock but I'm not sure what would cause one.&lt;/p&gt;&#xA;" OwnerUserId="98" LastEditorUserId="2727" LastEditDate="2018-06-07T13:41:14.167" LastActivityDate="2018-06-07T13:41:14.167" Title="Requests stop being served due to Lucene Deadlock" Tags="|lucene|" AnswerCount="2" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="424" PostTypeId="1" CreationDate="2016-10-04T12:03:07.610" Score="11" ViewCount="3288" Body="&lt;p&gt;I need to create a link to an item in a different version than the currently active.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible through the General Link field or the &lt;code&gt;RTE Sitecore Link&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am currently viewing &lt;a href=&quot;http://mysite/somepage&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite/somepage&lt;/a&gt;. I would like to link to &lt;a href=&quot;http://mysite/en-us/some(other)page&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite/en-us/some(other)page&lt;/a&gt; (language is resolved through URL in this scenario).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The requirement is that the editor should be able to link to an item in a different language.&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="5387" LastEditDate="2019-07-31T07:59:04.820" LastActivityDate="2019-07-31T07:59:04.820" Title="How to link to a different language version" Tags="|multilingual|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="425" PostTypeId="2" ParentId="298" CreationDate="2016-10-04T12:04:16.023" Score="1" Body="&lt;p&gt;You can also use &lt;strong&gt;Advanced System Reporter&lt;/strong&gt; sitecore marketplace module.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/A/Advanced_System_Reporter.aspx&quot; rel=&quot;nofollow&quot;&gt;https://marketplace.sitecore.net/en/Modules/A/Advanced_System_Reporter.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T12:04:16.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="426" PostTypeId="2" ParentId="424" CreationDate="2016-10-04T12:06:15.663" Score="0" Body="&lt;p&gt;Either by using General Link field or by using RTE Sitecore Link, you can manually type the url you want to be linked.  &lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-04T12:06:15.663" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="427" PostTypeId="2" ParentId="416" CreationDate="2016-10-04T12:07:14.320" Score="12" Body="&lt;p&gt;Possible answers to 1,2,3...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sounds like you need to do a bit of tuning on your caches. Sitecore has a number of &quot;admin&quot; pages which help you diagnose problems such as this - you can use the cache admin page to monitor the current size, configured size and vectors of the individual caches, include prefetch. To access this page, browse to http:///sitecore/admin/cache.aspx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From my personal experience, you need to ensure that all caches have plenty of breathing room. If a particular cache runs at ~40mb once your site is up and running, then it is advisable to have a cache size of &gt;60mb. If your caches do not have this breathing space, you will find that they will dump data&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using the HTML output cache, there is also the /sitecore/admin/stats.aspx page which will help you determine how well controls are performing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see this blog for more information about Cache Tuning&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorebasics.wordpress.com/2011/04/16/basics-of-cache-size-tuning/&quot;&gt;https://sitecorebasics.wordpress.com/2011/04/16/basics-of-cache-size-tuning/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Answer to number 4...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The prefetch cache is built at application start and maintained for the life of the application pool. Providing each CD has the same prefetch configuration, and cache size configuration, the caches will be identical, so performance differences between them should be non-existent or negligible.&lt;/p&gt;&#xA;" OwnerUserId="445" LastActivityDate="2016-10-04T12:07:14.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="428" PostTypeId="5" CreationDate="2016-10-04T12:14:34.943" Score="0" Body="&lt;p&gt;Every release since Sitecore 6.0 in 2008 has built on the core strength in web content management to offer a platform that lets you manage the entire customer experience in an omni-channel, personalized manner. But for marketers who want to take advantage of the clean design and customer data that enables context marketing, an upgrade to Sitecore® Experience Platform™ (XP) 9.0 is required. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Beyond getting access to new features and ensuring that your mainstream support is still active, upgrading is a great time to think about whether your content and personalization strategies need updates, too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every Sitecore version comes with an installation and upgrade approach with proper documentation detailing the steps to do it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-17T01:01:32.653" LastActivityDate="2018-02-17T01:01:32.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="429" PostTypeId="4" CreationDate="2016-10-04T12:14:34.943" Score="0" Body="Anything relates to Sitecore upgrade process" OwnerUserId="383" LastEditorUserId="383" LastEditDate="2016-10-04T13:40:19.343" LastActivityDate="2016-10-04T13:40:19.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="430" PostTypeId="2" ParentId="424" CreationDate="2016-10-04T12:19:51.587" Score="-2" Body="&lt;p&gt;Sorry if I misunderstand your question - but if you are using the LinkManager.GetItemUrl() method, and you want to generate a link to an item in a different language you can use the Language attribute of the Sitecore.Links.UrlOptions class which you can optionally pass in to the GetItemUrl() method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The UrlOptions class will also let you determine how you embed the language in the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this blog for more information &lt;a href=&quot;https://sitecorejohn.wordpress.com/2008/11/23/manipulating-sitecore-links/&quot; rel=&quot;nofollow&quot;&gt;https://sitecorejohn.wordpress.com/2008/11/23/manipulating-sitecore-links/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="445" LastActivityDate="2016-10-04T12:19:51.587" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="431" PostTypeId="1" AcceptedAnswerId="477" CreationDate="2016-10-04T12:22:00.697" Score="14" ViewCount="2354" Body="&lt;p&gt;We have a multi-site setup and have the following &lt;code&gt;sites&lt;/code&gt; defined in config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;mysite1&quot; patch:before=&quot;*[@name='website']&quot; rootPath=&quot;/sitecore/content/mysite1&quot; startItem=&quot;home&quot; hostName=&quot;mysite1.com&quot; ... /&amp;gt;&#xA;  &amp;lt;site name=&quot;mysite2&quot; patch:after=&quot;*[@name='mysite1']&quot; rootPath=&quot;/sitecore/content/mysite2&quot; startItem=&quot;home&quot; hostName=&quot;mysite2.com&quot; ... /&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When content editors log in to the admin interface (&lt;em&gt;mysite1.com/sitecore&lt;/em&gt;), they are able to see all the content in the tree for both sites, due to the way the roles and permissions are set up. Some users are in multiple roles and therefore can see content for multiple sites. The problem, however, is when a user tries to edit content using the Experience Editor—for &lt;code&gt;mysite2&lt;/code&gt;, some elements of the site still refer to the logged-in site, e.g. &lt;code&gt;mysite1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Investigating further, it seems that &lt;code&gt;Sitecore.Context.Site&lt;/code&gt; is set to &lt;code&gt;&quot;mysite1&quot;&lt;/code&gt; in the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to allow the user to edit both sites separately in the Experience Editor?&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="104" LastEditDate="2016-11-08T13:10:29.580" LastActivityDate="2016-11-08T13:10:29.580" Title="Editing Content in Experience Editor in Multi-site configuration" Tags="|experience-editor|multisite|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="433" PostTypeId="2" ParentId="431" CreationDate="2016-10-04T12:31:41.377" Score="7" Body="&lt;p&gt;The sites are recognized using &lt;code&gt;hostname&lt;/code&gt; and &lt;code&gt;virtualPath&lt;/code&gt;. If your users login to EE using hostname from &lt;code&gt;mysite1&lt;/code&gt; and edit items they are using following url:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://mysite1?sc_itemid={...}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so Sitecore, when attempting to recognize the site will match it to &lt;code&gt;mysite1&lt;/code&gt; because the hostname will match even if the actual item is from &lt;code&gt;mysite2&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-04T12:31:41.377" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="434" PostTypeId="2" ParentId="424" CreationDate="2016-10-04T12:35:12.217" Score="3" Body="&lt;p&gt;I don't think there's an out of the box way to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I've had to do it previously - I've linked to a stub item which contains the link and the language however that's not really good for content editors (so best for content items which are configured by admins etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could look at adding a list of languages as css classes (or something you can set on the link properties) and pick that up when the LinkManager gets to Url. Or something like that. Seems like a bit of a fudge tbh.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want a nicer solution for the content editor, you could add your own buttons to the RTE: &lt;a href=&quot;https://blog.horizontalintegration.com/2016/09/23/add-custom-list-button-in-sitecore-rte/&quot; rel=&quot;nofollow&quot;&gt;Like this guy did&lt;/a&gt; and get the user to select the content item and language - generating the link with the language set (you'd have to test this to ensure LinkManager generates the link you want - if not - you'll need some customisation there as well).&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-10-04T12:35:12.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="435" PostTypeId="2" ParentId="424" CreationDate="2016-10-04T12:49:43.240" Score="2" Body="&lt;p&gt;An out-of-the-box solution with no drawbacks is not available. Next to some things already mentioned here, you could also ask your editors to define the language in the querystring. When adding a link in a general link field you have the option (after selecting the item) to add the querystring. If they would put &quot;sc_lang=xx&quot; with xx the desired language code, that should generate a link to the page in that language. But again a drawback as this will not generate seo friendly links.. (and you need to make sure you have canonical urls on your pages then).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-04T12:49:43.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="436" PostTypeId="5" CreationDate="2016-10-04T12:51:16.160" Score="0" Body="&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The newer name for Sitecore's in page editing user interface. Also known as the Page Editor in versions before Sitecore 8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Related References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Document Site&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools&quot; rel=&quot;nofollow&quot;&gt;Content and &lt;em&gt;Experience&lt;/em&gt; Editing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastEditorUserId="246" LastEditDate="2016-10-06T15:03:33.400" LastActivityDate="2016-10-06T15:03:33.400" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="437" PostTypeId="4" CreationDate="2016-10-04T12:51:16.160" Score="0" Body="Use for all Sitecore 8+ page editing questions specifically using the Experience Editor." OwnerUserId="70" LastEditorUserId="246" LastEditDate="2016-10-06T14:25:14.297" LastActivityDate="2016-10-06T14:25:14.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="438" PostTypeId="2" ParentId="424" CreationDate="2016-10-04T12:51:43.140" Score="7" Body="&lt;p&gt;The out of the box links don't specify language at all, so there is no way with an internal item reference to specify a specific language. The link is tied at the item level, not the version. Similarly, you can't directly link to a specific version of the content in the current language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When invoked, the LinkManager uses the current context language for building the URL in a Rich Text field from the internal link. If you want to override this behaviour, you'll likely have to do the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add two fields on your content: one for the link, and one for the target language&lt;/li&gt;&#xA;&lt;li&gt;Write custom logic to output the link field and use the selected target language as a parameter for the LinkManager URL options.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;NOTE: If you are using display name for your URLs, you might have to load the item in the target language and pass that target item into the LinkManager as your different languages might be outputting different URLs. If you only use the Sitecore.Context.Item for the parameter you will always get the path for the current language, and not the target one.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-10-04T12:51:43.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="439" PostTypeId="1" CreationDate="2016-10-04T12:51:46.793" Score="12" ViewCount="611" Body="&lt;p&gt;There's an issue in our &lt;code&gt;EXM&lt;/code&gt; when referring to external links. When we insert these links in &lt;code&gt;EXM message editor&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.huffingtonpost.com/2014/05/23/rock-climbing-cat_n_5380069.html?utm_hp_ref=adventure&amp;amp;hq_e=el&amp;amp;hq_m=4435336&amp;amp;hq_l=15&amp;amp;hq_v=1adccf5361&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.huffingtonpost.com/2014/05/23/rock-climbing-cat_n_5380069.html?utm_hp_ref=adventure&amp;amp;hq_e=el&amp;amp;hq_m=4435336&amp;amp;hq_l=15&amp;amp;hq_v=1adccf5361&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The delivered email then contains only &lt;code&gt;&amp;lt;a&amp;gt; tag&lt;/code&gt; with no &lt;code&gt;href&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Also, you get a 500 error in the message editor when trying to edit the link again and you can't edit it anymore.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;There's a message in the logs I believe is related to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; 6688 13:22:30 ERROR Attempted to load invalid xml. Exception:&#xA;&gt; System.Xml.XmlException Message: '=' is an unexpected token. The&#xA;&gt; expected token is ';'. Line 1, position 94.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We found a workaround where we encode the URLs like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.huffingtonpost.com/2014/05/23/rock-climbing-cat_n_5380069.html%3Futm_hp_ref%3Dadventure%26hq_e%3Del%26hq_m%3D4435336%26hq_l%3D15%26hq_v%3D1adccf5361&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.huffingtonpost.com/2014/05/23/rock-climbing-cat_n_5380069.html%3Futm_hp_ref%3Dadventure%26hq_e%3Del%26hq_m%3D4435336%26hq_l%3D15%26hq_v%3D1adccf5361&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;then it works as expected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="451" LastEditorUserId="73" LastEditDate="2019-07-31T09:26:01.917" LastActivityDate="2019-07-31T09:26:01.917" Title="Broken external links encoding" Tags="|experience-editor|exm|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="440" PostTypeId="1" CreationDate="2016-10-04T13:11:52.327" Score="8" ViewCount="226" Body="&lt;p&gt;Has anyone had an issue that you have multiple worker processes under application pool which are trying to write the data under the data/index folder and that are colliding with each other?&lt;/p&gt;&#xA;" OwnerUserId="21" LastActivityDate="2016-10-05T12:52:26.593" Title="Sitecore 7.1 IIS workers fighting with each other" Tags="|application|iis|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="441" PostTypeId="2" ParentId="440" CreationDate="2016-10-04T13:12:53.367" Score="4" Body="&lt;p&gt;Your Sitecore application should never use the same &lt;code&gt;Data&lt;/code&gt; folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If they do, they will override their indexes every time while index is rebuilt.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing that's exactly what's happening in your scenario - one application tries to update its index and another one tries to perform another operation on index files in the same moment. It's not supported. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your indexes should be kept in separate location for every Sitecore application.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-04T13:12:53.367" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="442" PostTypeId="2" ParentId="416" CreationDate="2016-10-04T13:23:17.103" Score="17" Body="&lt;p&gt;It could be that you just have a dodgy rendering that is running on every page and is then cached for that page; to see if this is the case you can profile Sitecore pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can investigate this by clicking on the &quot;Debug&quot; option&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0Qpio.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0Qpio.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and scrolling to the bottom of the page to see the speed of renderings:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Vjd44.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Vjd44.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From here you can either optimise the code, or check out the rendering to see if you can be more aggressive with the cache on the rendering&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cCAqA.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cCAqA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="87" LastActivityDate="2016-10-04T13:23:17.103" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="443" PostTypeId="2" ParentId="338" CreationDate="2016-10-04T13:36:15.997" Score="4" Body="&lt;p&gt;An alternative way to see the version and License Id on Sitecore 8+. Go to the login screen &lt;code&gt;/sitecore/login&lt;/code&gt; and view the source. Search for an element Id called &lt;code&gt;licenseOptions&lt;/code&gt; - you should see this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div id=&quot;licenseOptions&quot; style=&quot;display: none;&quot;&amp;gt;&#xA;&#xA;    &amp;lt;div class=&quot;license-info-wrap&quot;&amp;gt;&#xA;      &amp;lt;ul&amp;gt;&#xA;        &amp;lt;li&amp;gt;System information&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;License holder YOUR NAME&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;License ID 123456789123&amp;lt;/li&amp;gt;&#xA;        &amp;lt;li&amp;gt;Sitecore version Sitecore.NET 8.1 (rev. 160519)&amp;lt;/li&amp;gt;&#xA;      &amp;lt;/ul&amp;gt;&#xA;&#xA;      &amp;lt;iframe src=&quot;http://sdn.sitecore.net/startpage.aspx?...&quot; id=&quot;StartPage&quot; allowtransparency=&quot;true&quot; frameborder=&quot;0&quot; scrolling=&quot;auto&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; style=&quot;display: none; height: 105px;&quot; onload=&quot;javascript:this.style.display=&amp;amp;#39;block&amp;amp;#39;&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;login-link-wrap&quot;&amp;gt;&#xA;      &amp;lt;a href=&quot;javascript:;&quot; id=&quot;licenseOptionsBack&quot; class=&quot;login-link&quot;&amp;gt;&amp;amp;lt; Back&amp;lt;/a&amp;gt;  &#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can enabled this to be visible in the settings config too. Change this setting &lt;code&gt;Login.DisableLicenseInfo&lt;/code&gt; to false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://kb.sitecore.net/articles/432983&quot; rel=&quot;nofollow&quot;&gt;Kb Article&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-04T13:36:15.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="444" PostTypeId="2" ParentId="409" CreationDate="2016-10-04T13:41:56.490" Score="4" Body="&lt;p&gt;To make HTML cache work:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure that the &lt;code&gt;cacheHtml&lt;/code&gt; attribute of your &lt;code&gt;/configuration/sitecore/sites/site&lt;/code&gt; is set to &lt;code&gt;true&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;If you dynamically bind a rendering to a placeholder using layout details, cache settings explicitly defined in layout details will override cache settings defined in the rendering definition item. Make sure that cache settings are either set correctly in the layout details, or that they aren't set at all.&lt;/li&gt;&#xA;&lt;li&gt;If you use &lt;a href=&quot;https://sdn.sitecore.net/scrapbook/enable%20debug%20mode%20for%20web%20site.aspx&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;Sitecore Debugger&lt;/strong&gt;&lt;/a&gt;, make sure that rendering information is turned off by unchecking the &quot;Information&quot; checkbox in the &quot;Rendering&quot; group in Sitecore Debugger.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-04T13:41:56.490" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="445" PostTypeId="2" ParentId="338" CreationDate="2016-10-04T13:44:45.730" Score="1" Body="&lt;h2&gt;Control Panel&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can have the Sitecore version from the Sitecore Control Panel:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CB5mG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CB5mG.png&quot; alt=&quot;Control Panel&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Login Screen&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can also have it on the Sitecore login page for Sitecore 7.5 and earlier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Sitecore 8.x and other versions not using Identity Server, it is present in an hidden section on the login page, activated by setting the following value: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  LOGIN DISABLE LICENSE INFROMATION&#xA;  If true, Sitecore hides the &quot;License Information&quot; link on the login page.&#xA;  Default: true&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Login.DisableLicenseInfo&quot; set:value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/D8uTB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D8uTB.png&quot; alt=&quot;Sitecore Login Screen&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/shCK4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/shCK4.png&quot; alt=&quot;License Details Login Screen&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Inspect DOM&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You could also inspect the page DOM and show this section by yourself: &lt;a href=&quot;https://grantkillian.wordpress.com/2016/04/05/how-sitecore-phones-home-maybe/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://grantkillian.wordpress.com/2016/04/05/how-sitecore-phones-home-maybe/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks for the element &lt;code&gt;&amp;lt;div id=&quot;licenseOptions&quot;&amp;gt;&lt;/code&gt; and inspect the content. NOTE: In later versions of 8.2, this element is only present when the above config setting has been set to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="171" LastEditorUserId="135" LastEditDate="2020-03-30T16:43:57.570" LastActivityDate="2020-03-30T16:43:57.570" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="446" PostTypeId="2" ParentId="348" CreationDate="2016-10-04T13:49:39.447" Score="14" Body="&lt;p&gt;Answers here are a good start but the database the page/experience editor is using is configurable in the &lt;code&gt;&amp;lt;site name=&quot;shell&quot;&amp;gt;&lt;/code&gt; node of this website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Sitecore 8.0 and older, in your web.config file. On Sitecore 8.1+, in the &lt;code&gt;/App_Config/Sitecore.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default configuration is:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;shell&quot; virtualFolder=&quot;/sitecore/shell&quot; physicalFolder=&quot;/sitecore/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/login&quot; content=&quot;master&quot; contentStartItem=&quot;/Home&quot; enableWorkflow=&quot;true&quot; enableTracking=&quot;false&quot; analyticsDefinitions=&quot;content&quot; xmlControlPage=&quot;/sitecore/shell/default.aspx&quot; browserTitle=&quot;Sitecore&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;15MB&quot; viewStateCacheSize=&quot;1MB&quot; xslCacheSize=&quot;25MB&quot; disableBrowserCaching=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this configuration we see that the default database used by the Sitecore admin tools (shell) is the master database due to the &lt;code&gt;content=&quot;master&quot;&lt;/code&gt; attribute.&lt;/p&gt;&#xA;" OwnerUserId="171" LastEditorUserId="10" LastEditDate="2016-10-15T20:15:45.677" LastActivityDate="2016-10-15T20:15:45.677" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="447" PostTypeId="2" ParentId="284" CreationDate="2016-10-04T13:49:49.850" Score="11" Body="&lt;p&gt;There is also an admin page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;URL: &lt;a href=&quot;http://www.yoursite.com/sitecore/admin/unlock_admin.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://www.yoursite.com/sitecore/admin/unlock_admin.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, it's disabled so you need to edit the aspx file to set enableUnlockButton  to true.&lt;/p&gt;&#xA;" OwnerUserId="98" LastActivityDate="2016-10-04T13:49:49.850" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="448" PostTypeId="2" ParentId="383" CreationDate="2016-10-04T14:05:26.393" Score="6" Body="&lt;p&gt;It depends somewhat on the modules you're running (and version of Sitecore) and the traffic of your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance - there is specific guidance around when a dedicated server is needed for EXM (A dedicated server is recommended at 100k+ emails per week): &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/dedicated_email_dispatch_server/dedicated_email_dispatch_servers&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/dedicated_email_dispatch_server/dedicated_email_dispatch_servers&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For xDB - I couldn't find documentation - but in meetings with Sitecore, they've mentioned that more than 1 million interactions per month requires a dedicated Processing Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For scale - one of the first things that ends up being broken out is Content Delivery.  Your CM server is typically less utilized and can then take on roles like processing, EXM dispatch, etc.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore licenses are just too expensive to dedicate a server to every role.&lt;/p&gt;&#xA;" OwnerUserId="421" LastEditorUserId="421" LastEditDate="2016-10-04T18:58:16.703" LastActivityDate="2016-10-04T18:58:16.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="449" PostTypeId="2" ParentId="245" CreationDate="2016-10-04T14:05:37.847" Score="3" Body="&lt;p&gt;&lt;strong&gt;Root cause was&lt;/strong&gt;&#xA;- Item existed in EN version and when trying to preview in other language it should fallback to EN. Now twist here was EN version had publishing restrictions so effectively item didn't existed in any language versions which somehow gives error, from Item-level Language Fallback module, in page when trying to use &lt;code&gt;preview&lt;/code&gt; mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have fixed this issue by modifying the Item-level Language Fallback module's source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have downloaded module source from Sitecore marketplace. Recompiled module source with modified class as below..&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class LanguageFallbackItemProvider : ItemProvider&#xA;{&#xA;&#xA;   protected override Item GetItem(ID itemId, Language language, Version version, Database database)&#xA;   {&#xA;        ... some code ...&#xA;&#xA;        Item fallback = GetItem(itemId, fallbackLanguage, Version.Latest, database);&#xA;&#xA;        /* FIX START - TO CHECK FALLBACK ITEM IS NULL */&#xA;        if (fallback == null)&#xA;        {&#xA;            return item;&#xA;        }&#xA;        /* FIX END - TO CHECK FALLBACK ITEM IS NULL */&#xA;&#xA;        var stubData = new ItemData(fallback.InnerData.Definition, item.Language, item.Version, fallback.InnerData.Fields);&#xA;&#xA;        ... some code ...&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="172" LastActivityDate="2016-10-04T14:05:37.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="450" PostTypeId="2" ParentId="299" CreationDate="2016-10-04T14:18:46.217" Score="1" Body="&lt;p&gt;The backgrounds are taken from:&#xA;\Website\sitecore\shell\Themes\Backgrounds&#xA;You can drop an image in there and then you'll be able to select it in the Sitecore desktop. I don't know if there's a better way to get the image in to that folder be I coudn't see one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the profile images now - will edit if I find anything :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: It &lt;em&gt;looks&lt;/em&gt; like this is coming from the Office.zip icons but I can't find how they're selected. I'll have another look later.&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="428" LastEditDate="2016-10-04T14:36:09.500" LastActivityDate="2016-10-04T14:36:09.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="451" PostTypeId="2" ParentId="383" CreationDate="2016-10-04T14:23:11.610" Score="6" Body="&lt;p&gt;I don't think Sitecore specifically says not to combine &lt;em&gt;any&lt;/em&gt; roles. From what I've read, they only highly discourage using a standalone (one-instance) environment in production. Separating some roles (such as CM and CD) is crucial. Keeping some other roles combined may not be such a bad idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a matter of fact, the out-of-the-box server roles Sitecore provides are merely examples. Each role consists of several smaller features/subsystems, most of which can be disabled or moved to another server role—so you can actually invent your own server roles! The structure of Sitecore's configuration files was built with that in mind.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below I'll give examples for two server roles that are most often candidates for combining with other roles.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_reporting_service_server&quot;&gt;Reporting Server&lt;/a&gt;&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In my experience, you only need a dedicated Reporting Server in two cases:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Your xDB is hosted in the cloud, or in another similar setup, making the Collection database (MongoDB) and the Reporting database (SQL) unreachable directly. In this case, you'd host the Reporting Server in the same network with these databases, and make the Reporting Server directly available to your CM running reporting applications.&lt;/li&gt;&#xA;&lt;li&gt;Generation of reports may sometimes take a lot of CPU and memory, which would also justify using a dedicated Reporting Server.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Outside of these two cases, the CM server should be the one generating reports.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_processing_server&quot;&gt;Processing/Aggregation Servers&lt;/a&gt;&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Depending on the amount of traffic your CD servers get, you may or may not need dedicated Processing Server(s). The crucial thing here is to monitor the CPU and memory consumption on all of your servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can combine the Processing Server role with either:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The CM role if it's not loaded by heavy content editing/publishing/etc.&lt;/li&gt;&#xA;&lt;li&gt;The CD role in case your CD servers are powerful enough (which should be a rare case).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you monitor you server performance, you'll know when you need to scale out and separate your roles. On smaller sites, combining some server roles is a very reasonable thing to do, and I don't believe it contradicts any official recommendations by Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-04T14:23:11.610" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="452" PostTypeId="1" AcceptedAnswerId="458" CreationDate="2016-10-04T14:35:45.523" Score="7" ViewCount="1911" Body="&lt;p&gt;I have an include file to remove the annoying Commerce License Warning on 8.1 update 3. But the patch file fails to load in. The log files show the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;860 10:07:58 ERROR Could not load configuration file: [file location]: System.Exception: Reader is in incorrect state&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is the patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;!--&#xA;    Fixes: Missing Sitecore.Commerce.Connect licenses message in Content Editor - kb article 852031&#xA;    Link: https://kb.sitecore.net/articles/852031&#xA;&#xA;    If you do not have keys for the Sitecore.Commerce.Connect or Sitecore.Commerce.ConnectPartner modules in your license file, the following message may be displayed above the &quot;Quick info&quot; section when opening the Content Editor:&#xA;&#xA;        You require one of the following licenses to use the Sitecore Commerce Connect module.&#xA;        &quot;Sitecore.Commerce.Connect&quot; or &quot;Sitecore.Commerce.ConnectPartner&quot;&#xA;&#xA;    These license keys are not included by default.&#xA;    --&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;getContentEditorWarnings&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Commerce.Pipelines.ContentEditorLicenseWarning, Sitecore.Commerce&quot;&amp;gt;&#xA;                    &amp;lt;patch:delete /&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/getContentEditorWarnings&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A more annoying aspect is that on my local dev environment this patch files works fine. But when deployed it does not!&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-10-04T15:17:02.550" LastActivityDate="2018-03-01T10:11:33.770" Title="Error when loading config: Reader in incorrect state" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="455" PostTypeId="2" ParentId="452" CreationDate="2016-10-04T14:54:34.460" Score="4" Body="&lt;p&gt;Found the issue - all files had the &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node in. But it seems like the comment that came before the &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node in the include file was causing the error in the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I removed the comment, the error went away! That patching code must be interesting!&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;getContentEditorWarnings&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Commerce.Pipelines.ContentEditorLicenseWarning, Sitecore.Commerce&quot;&amp;gt;&#xA;                    &amp;lt;patch:delete /&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/getContentEditorWarnings&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-04T14:54:34.460" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="456" PostTypeId="1" AcceptedAnswerId="480" CreationDate="2016-10-04T15:06:14.843" Score="5" ViewCount="1029" Body="&lt;p&gt;If I wanted to force users to go through a login for the entire site. I would previously add &lt;code&gt;requireLogin&lt;/code&gt; and &lt;code&gt;loginPage&lt;/code&gt; attributes to my site configuration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In 8.2 I am unable to do this. However in 8.1 this works. Any ideas how this has changed? Or am I doing something wrong and missing something.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;loginPage&quot;&amp;gt;/sitecore modules/shell/login.aspx&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;requireLogin&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The attributes work for admin site configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read access for &lt;code&gt;extranet/anonymous&lt;/code&gt; was removed for the protected area of the page as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="66" LastEditDate="2016-10-04T20:22:08.080" LastActivityDate="2016-10-04T20:22:08.080" Title="Sitecore site configuration requireLogin not working" Tags="|site-configuration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="458" PostTypeId="2" ParentId="452" CreationDate="2016-10-04T15:34:13.597" Score="2" Body="&lt;p&gt;You can also move the comment to in between the &lt;code&gt;xml&lt;/code&gt; and &lt;code&gt;configuration&lt;/code&gt; node, or anywhere else within the sitecore node, and it should be fine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how a lot of the default example Sitecore configuration files have their comments:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;!--&#xA;    Purpose: **** Comments here are fine ****&#xA;--&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;getContentEditorWarnings&amp;gt;&#xA;                &amp;lt;!-- **** Comments here are also fine **** --&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Commerce.Pipelines.ContentEditorLicenseWarning, Sitecore.Commerce&quot;&amp;gt;&#xA;                    &amp;lt;patch:delete /&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/getContentEditorWarnings&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-04T15:34:13.597" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="459" PostTypeId="1" AcceptedAnswerId="562" CreationDate="2016-10-04T16:03:32.017" Score="9" ViewCount="136" Body="&lt;p&gt;What is the accepted method of preventing a contact from registering an outcome multiple times? For example, if they become a &quot;Marketing Lead&quot;, how do I prevent that Outcome from firing again for that contact?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you need to programmatically check to see if the outcome has already been registered for the contact? Or is there a configuration setting for this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see the &quot;Ignore Additional Registrations&quot; checkbox, but I am not sure what it does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1 Update 2 with xDB Cloud.&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="104" LastEditDate="2016-10-25T15:04:13.290" LastActivityDate="2016-10-25T15:04:13.290" Title="How can I prevent an outcome from being registered multiple times?" Tags="|xdb|outcomes|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="460" PostTypeId="2" ParentId="408" CreationDate="2016-10-04T16:16:29.770" Score="23" Body="&lt;p&gt;When I did an upgrade from 7.2 to 8.1 earlier this year, I followed these steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Setup a new instance of Sitecore 8.1 and configure it according to the documentation.&lt;/li&gt;&#xA;&lt;li&gt;Get my settings/layouts into some sort of source control (using Unicorn or TDS)&lt;/li&gt;&#xA;&lt;li&gt;Apply those settings/layouts to my new instance&lt;/li&gt;&#xA;&lt;li&gt;Compile the existing code against the new version of Sitecore, making whatever programming changes were necessary. This took a long time.&lt;/li&gt;&#xA;&lt;li&gt;Apply a content package from Production, and make sure that the site is working.&lt;/li&gt;&#xA;&lt;li&gt;Freeze content, generate a final content package, apply it to your new servers.&lt;/li&gt;&#xA;&lt;li&gt;Run an automated smoke test against the site to make sure that everything in the site is working as expected.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For me, making sure that I had some level of automated end-to-end test was a requirement before we could do a big site-wide upgrade. We had to have all of the major functionality automatically tested before I would entertain an idea of upgrading. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For us, we didn't use any of the &quot;Big Data&quot; features in Sitecore prior to 8.1, so keeping that data was not a priority for us. If it is, then you will have to go through the painful process of upgrading one version at a time.&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-10-04T16:16:29.770" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="461" PostTypeId="2" ParentId="267" CreationDate="2016-10-04T16:17:02.647" Score="4" Body="&lt;p&gt;Please, verify that your attribute &quot;stored&quot; is set to true:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field name=&quot;_path&quot; type=&quot;string&quot; indexed=&quot;true&quot; stored=&quot;true&quot; multiValued=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I had the behavior you mentioned when the stored attribute was set to false. Check you have that value set on all schemas&lt;/p&gt;&#xA;" OwnerUserId="84" LastEditorUserId="73" LastEditDate="2016-10-07T22:36:10.797" LastActivityDate="2016-10-07T22:36:10.797" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="462" PostTypeId="2" ParentId="408" CreationDate="2016-10-04T17:00:46.760" Score="19" Body="&lt;p&gt;The answer to this depends on the context of your project. Sitecore's recommendations are to make incremental upgrades for every version and updates as well since your current to the latest you are trying to get upgraded to. This does require a lot of work specially when it's a big jump from 6.5 to 8.2. As already answered here if you are making manual upgrades consider the lists described here as well as upgrading modudes(make sure they are compatible with the latest version), create a separate environment just for the upgrade to run(make sure you coordinate with the client how that impacts the content editing in that time frame), you will most likely need to drop the serialized content tree from 6.5 to 8.2 and test all places where it can break. I recommend checking out these &lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2014/05/Sitecore-Upgrade-Tips.aspx&quot;&gt;tips&lt;/a&gt; for upgrading as well.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-04T17:00:46.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="463" PostTypeId="1" AcceptedAnswerId="465" CreationDate="2016-10-04T17:02:15.987" Score="13" ViewCount="7131" Body="&lt;p&gt;You only have an instance of Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do you get it's &quot;official&quot; site, assuming there are multiple Sites defined in configuration?&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="338" LastEditDate="2016-10-25T19:46:32.150" LastActivityDate="2020-09-24T10:03:27.463" Title="How to get the correct SiteContext for an Item when you only have the Item" Tags="|best-practices|multisite|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="464" PostTypeId="2" ParentId="277" CreationDate="2016-10-04T17:12:04.867" Score="6" Body="&lt;p&gt;It turns out there were 2 issues I was having:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Because I was customizing the core names I needed to include a node for &lt;code&gt;sitecore_analytics_index&lt;/code&gt;. Based on &lt;a href=&quot;http://sitecoreblog.patrickperrone.com/2015/03/on-secondary-thought.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; blog post I had left the node out thinking it wasn't needed.&lt;/li&gt;&#xA;&lt;li&gt;Patch config order. My include file was getting patched too soon so the correct core names were not getting used.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="394" LastEditorUserId="70" LastEditDate="2017-05-11T18:47:34.700" LastActivityDate="2017-05-11T18:47:34.700" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="465" PostTypeId="2" ParentId="463" CreationDate="2016-10-04T17:15:08.387" Score="16" Body="&lt;p&gt;Probably the most terse:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;string itemPath = item.Paths.FullPath;    &#xA;SiteInfo site = SiteContextFactory.Sites&#xA;    .Where (s =&amp;gt; s.RootPath !=&quot;&quot; &amp;amp; itemPath.StartsWith(s.RootPath, StringComparison.OrdinalIgnoreCase))&#xA;    .OrderByDescending(s =&amp;gt; s.RootPath.Length)&#xA;    .FirstOrDefault();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;itemPath&lt;/code&gt; is factored out of the LINQ for performance.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="114" LastEditDate="2016-10-10T08:29:45.283" LastActivityDate="2016-10-10T08:29:45.283" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="466" PostTypeId="1" AcceptedAnswerId="469" CreationDate="2016-10-04T17:21:44.550" Score="8" ViewCount="2364" Body="&lt;p&gt;I've got a vanilla instance of Sitecore 8.2 installed on my sandbox and I'm getting this error (taken from the logs):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: Sitecore.Exceptions.InvalidItemNameException Message: An&#xA;  item name lenght should be less or equal to 100. Source:&#xA;  Sitecore.Kernel    at Sitecore.Data.Items.ItemUtil.AssertItemName(Item&#xA;  destinationItem, String name)    at&#xA;  Sitecore.Data.Items.Item.set_Name(String value)    at&#xA;  Sitecore.Install.Items.ItemInstaller.VersionInstaller.InstallVersion(Item&#xA;  version)    at&#xA;  Sitecore.Install.Items.ItemInstaller.VersionInstaller.PasteVersion(XmlNode&#xA;  versionXml, Item target, VersionInstallMode mode, IProcessingContext&#xA;  context, Boolean removeOtherVersions)    at&#xA;  Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What config setting do I need to change in order to get past this error?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-10-04T17:31:23.393" Title="An item name lenght should be less or equal to 100 while installing a content package" Tags="|installation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="467" PostTypeId="2" ParentId="466" CreationDate="2016-10-04T17:21:44.550" Score="6" Body="&lt;p&gt;In Sitecore.config file, you need to find this item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  MAX ITEM NAME&#xA;        Specifies the maximum length of an item name.&#xA;        Default value: 100&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;MaxItemNameLength&quot; value=&quot;100&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Change the value here to be something bigger, maybe like &quot;1000&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would do this in a patch file, though, and not directly in the sitecore.config file, as doing this in a patch file makes upgrading in the future much easier.&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-10-04T17:21:44.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="468" PostTypeId="1" AcceptedAnswerId="475" CreationDate="2016-10-04T17:25:30.347" Score="9" ViewCount="234" Body="&lt;p&gt;The parameters of the &lt;code&gt;GetValue&lt;/code&gt; methods of the &lt;code&gt;Sitecore.Data.Fields.Field&lt;/code&gt; class enable developers to restrict the origin of the returned value to the Fields:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;StandardValue&lt;/li&gt;&#xA;&lt;li&gt;DefaultValue&lt;/li&gt;&#xA;&lt;li&gt;FallbackValue&lt;/li&gt;&#xA;&lt;li&gt;InheritValue&lt;/li&gt;&#xA;&lt;li&gt;InnerValue&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What are the differences between each of these? &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T14:58:56.957" LastActivityDate="2017-08-08T14:58:56.957" Title="Field StandardValue vs DefaultValue vs FallbackValue vs InheritValue vs InnerValue" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="469" PostTypeId="2" ParentId="466" CreationDate="2016-10-04T17:31:23.393" Score="12" Body="&lt;p&gt;The correct way to resolve this would be to fix the cause of the issue and reduce the item length to less than 100 on the problematic item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you have also found, you can increase the &lt;code&gt;MaxItemNameLength&lt;/code&gt; to a higher number to get around the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be aware though, the &lt;code&gt;Name&lt;/code&gt; field in the &lt;code&gt;Items&lt;/code&gt; table in the database has a data type of &lt;code&gt;nvarchar(256)&lt;/code&gt; so setting this value to more than 256 may cause you issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also recommend you revert this setting back to 100 (by deleting your patch config) after installing your content package since this directly affects your URLs and your content editors may therefore be able to create very long item names. Again, I highly recommend you identify the problematic item and reduce the item length to not cause issues in the future.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-04T17:31:23.393" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="470" PostTypeId="1" AcceptedAnswerId="473" CreationDate="2016-10-04T17:54:50.033" Score="12" ViewCount="8175" Body="&lt;p&gt;While installing a content package from my production environment (Sitecore 8.1) into my development environment (Sitecore 8.2), I'm seeing this error message in my Sitecore log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #2 11:07:07 ERROR Error installing&#xA;  items/master/sitecore/content/Content&#xA;  Source/people/2014/10/22/12/58/&lt;strong&gt;lütz-alexandra&lt;/strong&gt;/{AC7C6913-A1C7-479E-9B61-C9F247026699}/en/1/xml&#xA;  Exception: Sitecore.Exceptions.InvalidItemNameException Message: An&#xA;  item name must satisfy the pattern:&#xA;  ^[\w*\$][\w\s-\$]*((\d{1,})){0,1}$ (controlled by the setting&#xA;  ItemNameValidation) Source: Sitecore.Kernel    at&#xA;  Sitecore.Data.Items.ItemUtil.AssertItemName(Item destinationItem,&#xA;  String name)    at Sitecore.Data.Items.Item.set_Name(String value)&lt;br&gt;&#xA;  at&#xA;  Sitecore.Install.Items.ItemInstaller.VersionInstaller.InstallVersion(Item&#xA;  version)    at&#xA;  Sitecore.Install.Items.ItemInstaller.VersionInstaller.PasteVersion(XmlNode&#xA;  versionXml, Item target, VersionInstallMode mode, IProcessingContext&#xA;  context, Boolean removeOtherVersions)    at&#xA;  Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I believe that this message is coming from the fact that my item name has a European character in it's item name (&lt;strong&gt;ü&lt;/strong&gt;). I've looked into my sitecore.config file and found this value for the ItemNameValidation setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  ITEM NAME VALIDATION&#xA;        Regular expression for validating item names&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;ItemNameValidation&quot; value=&quot;^[\w\*\$][\w\s\-\$]*(\(\d{1,}\)){0,1}$&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From what I can tell, the &lt;code&gt;\w&lt;/code&gt; should be allow that character to be valid, but I have a suspicion that it's not working that way. I'm thinking that I need to include &lt;code&gt;\p{L}&lt;/code&gt; embedded into the regex somewhere to support international characters. I can't help thinking that since Sitecore is developed in a European country, that they would support European character sets out of the box. Any ideas on how to correct this error?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2019-04-03T08:26:01.560" Title="An item name must satisfy the pattern: ^[\w\*\$][\w\s\-\$]*(\(\d{1,}\)){0,1}$ (controlled by the setting ItemNameValidation)" Tags="|installation|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="472" PostTypeId="2" ParentId="470" CreationDate="2016-10-04T18:18:11.890" Score="2" Body="&lt;p&gt;The right way to solve this, is to correct the name of the item causing the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To install the package, you can temporarily patch the value of the &lt;strong&gt;ItemNameValidation&lt;/strong&gt; setting to &quot;.*&quot; to allow for any character in the item name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After installing, I would suggest that you remove the config patch to change the setting back to the original, and prevent editors from creating items with invalid item names.&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2016-10-04T18:18:11.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="473" PostTypeId="2" ParentId="470" CreationDate="2016-10-04T18:22:28.893" Score="12" Body="&lt;p&gt;That exception originates from &lt;code&gt;Sitecore.Data.Items.ItemUtil.GetItemNameError(string name)&lt;/code&gt; method in Sitecore.Kernel:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;if (itemNameValidation.Length &amp;gt; 0 &amp;amp;&amp;amp; !Regex.IsMatch(name, itemNameValidation, RegexOptions.ECMAScript))&#xA;  return string.Format(Translate.Text(&quot;An item name must satisfy the pattern: {0} (controlled by the setting ItemNameValidation)&quot;), (object) itemNameValidation);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A quick and dirty test shows that the item name &lt;code&gt;/sitecore/content/Content Source/people/2014/10/22/12/58/lütz-alexandra&lt;/code&gt; should pass this validation. The following unit test passes when run:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    [Test]&#xA;    public void TestEuropeanName()&#xA;    {&#xA;        string itemName = &quot;/sitecore/content/Content Source/people/2014/10/22/12/58/lütz-alexandra/&quot;;&#xA;        string regex = @&quot;^[\w\*\$][\w\s\-\$]*(\(\d{1,}\)){0,1}$&quot;;&#xA;&#xA;        Assert.IsTrue(itemName.Length &amp;gt; 0 &amp;amp;&amp;amp; &#xA;            !Regex.IsMatch(itemName, regex, RegexOptions.ECMAScript), &quot;Item name fails regex test!&quot;);&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, the item name I used was from your original question, where the actual name being used is the name in the &lt;code&gt;items/master/sitecore/content/Content Source/people/2014/10/22/12/58/lütz-alexandra/{AC7C6913-A1C7-479E-9B61-C9F247026699}/en/1/xml&lt;/code&gt; file in your package. Check the &lt;code&gt;name&lt;/code&gt; attribute on the &lt;code&gt;item&lt;/code&gt; element in that XML file to see what the actual name Sitecore is trying to use. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If all else fails (or if you don't want to bother with the above), you can set the &lt;code&gt;ItemNameValidation&lt;/code&gt; field to an empty string, install your package, then restore the &lt;code&gt;ItemNameValidation&lt;/code&gt; field's original value. &lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="368" LastEditDate="2016-10-04T18:28:29.760" LastActivityDate="2016-10-04T18:28:29.760" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="474" PostTypeId="1" AcceptedAnswerId="482" CreationDate="2016-10-04T18:56:19.920" Score="18" ViewCount="1338" Body="&lt;p&gt;I recently discovered &lt;a href=&quot;https://github.com/Sitecore/Habitat&quot;&gt;Habitat&lt;/a&gt; and I really like the modular design and how it provides an end-to-end sort of pattern and process for organizing your Sitecore site, but the Habitat solution includes so many projects that I'm not sure where to start when creating a new site from scratch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did find the &lt;a href=&quot;https://github.com/Sitecore/Sitecore.Demo.Group&quot;&gt;Sitecore.Demo.Group&lt;/a&gt; project which seemed like exactly what I was looking for, but this project seems to plug into an existing Habitat solution.  Do people typically start with a complete Habitat solution and just add to it when creating a new site?  Are there any examples out there that show how to start with a brand new solution and build up a site modeled after the Habitat solution?&lt;/p&gt;&#xA;" OwnerUserId="380" LastEditorUserId="247" LastEditDate="2017-04-16T16:49:05.693" LastActivityDate="2017-04-19T15:30:08.180" Title="How do you create a site modeled after the Habitat solution when starting from scratch?" Tags="|helix|habitat|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="475" PostTypeId="2" ParentId="468" CreationDate="2016-10-04T19:12:00.940" Score="7" Body="&lt;ul&gt;&#xA;&lt;li&gt;Inner value: the &quot;raw&quot; value (as you can see in the editor)&lt;/li&gt;&#xA;&lt;li&gt;Standard value: value inherited from Standard Values of the template&lt;/li&gt;&#xA;&lt;li&gt;Fallback value: value inherited through field fallback&lt;/li&gt;&#xA;&lt;li&gt;Inherit value: value inherited from original item (cloning)&lt;/li&gt;&#xA;&lt;li&gt;Default value: (thanks Klaus) this will be the value in the &quot;default value&quot; field of the field's item, which you find in the tree underneath your template item&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DJ1K2.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DJ1K2.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;ps: field.Value will call this function will all parameters &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-28T09:46:53.647" LastActivityDate="2016-10-28T09:46:53.647" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="476" PostTypeId="1" AcceptedAnswerId="479" CreationDate="2016-10-04T19:13:47.437" Score="8" ViewCount="219" Body="&lt;p&gt;In several of the accelerators available: Score, SXA, etc... when creating a new item for a rendering datasource, you have a folder available to put the new item right under the current item or in a tenant folder. Is there a package or github repo out there that helps get this set up in a custom solution? &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="283" LastEditDate="2016-10-04T19:25:41.287" LastActivityDate="2016-10-04T19:56:16.433" Title="Item level datasourcing" Tags="|information-architecture|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="477" PostTypeId="2" ParentId="431" CreationDate="2016-10-04T19:15:11.380" Score="16" Body="&lt;p&gt;In multi-site solutions, when you edit an item in the Experience Editor, Sitecore will by default resolve the site context using the value of the setting &lt;code&gt;Preview.DefaultSite&lt;/code&gt;. It's located in &lt;code&gt;Sitecore.config&lt;/code&gt;, and my guess is that you currently have it set to &lt;code&gt;mysite1&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Preview.DefaultSite&quot; value=&quot;mysite1&quot;&amp;gt;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This means the default site context used by the Experience Editor will be &lt;code&gt;mysite1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can change this behavior by setting another setting called &lt;code&gt;Preview.ResolveSite&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt;. That will make Sitecore correctly resolve the site context of the item being edited:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Preview.ResolveSite&quot; value=&quot;true&quot;&amp;gt;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that on some Sitecore revisions you will need to apply the following hotfix in order for this feature to work correctly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/382913&quot;&gt;https://kb.sitecore.net/articles/382913&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-04T19:32:21.600" LastActivityDate="2016-10-04T19:32:21.600" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="478" PostTypeId="1" CreationDate="2016-10-04T19:17:01.527" Score="15" ViewCount="9331" Body="&lt;p&gt;I'm having trouble configuring a Sitecore 7.2 production environment and noticed some weird things on the CM environment..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After a few updates to the &lt;code&gt;sitecore_master_index&lt;/code&gt; the jobs to update the index get stuck in the job queue and never get progressed and subsequently a ton of jobs get queued up (I'm using the Job Viewer to examine the Queue). I can't find anything in the Crawling log and no exceptions in the normal log. When I try to rebuild the index I get a &quot;queued&quot; message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The slightly unusual thing is (I know it's not recommended practice to expose master content from the cd server unless necessary), that I have syncmaster strategy configured for a separate index rather than just the &lt;code&gt;sitecore_master_index&lt;/code&gt; but can't see how this would cause jobs to back up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know I haven't provided a huge amount of detail, but does anyone know of any reason of why this would happen or if there is a way to make sure these jobs die after a certain amount of time?&lt;/p&gt;&#xA;" OwnerUserId="222" LastEditorUserId="70" LastEditDate="2016-10-05T13:33:36.710" LastActivityDate="2017-12-05T14:22:56.103" Title="Sitecore index update jobs getting stuck" Tags="|content-search|lucene|indexing|" AnswerCount="4" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="479" PostTypeId="2" ParentId="476" CreationDate="2016-10-04T19:18:44.717" Score="10" Body="&lt;p&gt;You don't actually need a package - Sitecore gives you this ability out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I normally do is; I have a &quot;global&quot; area, and a &quot;page local&quot; area for datasource content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way you set it up, is to go to your &quot;Datasource Location&quot; field on your rendering definition, and pipe | the different data sources - one of them bing relative to your context item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZjZ3W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZjZ3W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example, the content is not a direct child of the content item - but resides in a &quot;Local Data&quot; folder beneath it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When doing it like this; Sitecore will allow you to switch between different root folders when selecting to &quot;use existing content&quot; or &quot;create new content&quot;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-04T19:18:44.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="480" PostTypeId="2" ParentId="456" CreationDate="2016-10-04T19:30:53.923" Score="3" Body="&lt;p&gt;You have to tell which areas of your site require the login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remove read access for &lt;code&gt;extranet/anonymous&lt;/code&gt; user for the item which should be protected with login.&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-04T19:30:53.923" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="481" PostTypeId="1" AcceptedAnswerId="703" CreationDate="2016-10-04T19:34:34.443" Score="10" ViewCount="1730" Body="&lt;p&gt;I have a WFFM form with a hidden field on it. The field contains a value that I would like to know on the success page - in order to use it in custom code in a rendering or even for personalization.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to pass data from the form to the success page? Maybe by changing the redirect url and add a querystring... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using MVC forms in v8.1.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-06T10:19:28.760" Title="Change redirect url after success in WFFM" Tags="|wffm|mvc|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="482" PostTypeId="2" ParentId="474" CreationDate="2016-10-04T19:36:26.713" Score="23" Body="&lt;p&gt;Habitat is intended to inspire your solutions; you should never start with the Habitat solution and add to it when creating a new site. Habitat is not an accelerator, it is an example of the Helix principles outlined here: &lt;a href=&quot;http://helix.sitecore.net&quot;&gt;helix.sitecore.net&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you create a new solution, you may want to refer to the Habitat solution for things like:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Solution structure (e.g., Foundation, Feature, and Project folders)&lt;/li&gt;&#xA;&lt;li&gt;Project and module structure (e.g., make folders for each module and keep module code and unit tests together)&lt;/li&gt;&#xA;&lt;li&gt;Build system (e.g., how to deploy code to webroot and stitch web.config transforms together)&lt;/li&gt;&#xA;&lt;li&gt;Information architecture (e.g., where to put globally-shared content, site-specific content, and page-specific content)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Pick and choose the things you like, let Habitat inspire your solution, but do not build sites on top of it.&lt;/p&gt;&#xA;" OwnerUserId="10" LastActivityDate="2016-10-04T19:36:26.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="483" PostTypeId="2" ParentId="474" CreationDate="2016-10-04T19:38:51.367" Score="8" Body="&lt;p&gt;As mention in @Anicho's comment, you should start by looking at &lt;a href=&quot;http://helix.sitecore.net/&quot;&gt;helix.sitecore.net&lt;/a&gt; to get you started with understanding the modular architecture pattern and principles that Habitat was built around. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Helix documentation will link you to the various OOD and SOLID principles on which the structure is based. Be sure to read them, as you will not be able to develop a strong modular architecture without this knowledge. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Helix documentation will suggest ways to name your projects/solutions and organize your data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next consideration is how you will merge all of the assets, configurations, views, etc. from your various projects into the website target folder. Habitat does this with gulp, where-as my architecture does it with pure powershell. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Past that point, the sky is the limit! Good luck, and ask questions when you are unsure of something. A house is only as good as its foundation!&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-04T19:38:51.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="484" PostTypeId="1" AcceptedAnswerId="485" CreationDate="2016-10-04T19:47:58.623" Score="11" ViewCount="1487" Body="&lt;p&gt;I've got a v7.2 site which is using Web Forms for Marketers v2.4 rev 151103 (WFFM) for some forms. I am seeing some errors in our javascript that I strongly suspect is related to the fact that WFFM is including an old version of jQuery.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the accepted way to handle this?  Our code, as an example, trying to use the &lt;code&gt;.on&lt;/code&gt; method to adjust an iFrame height, but this wasn't added until jQuery 1.7 (WFFM includes 1.4.2)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    $('.modal-body iframe').on('load', function() {&#xA;        this.style.height = 0;&#xA;        this.style.height = this.contentWindow.document.body.scrollHeight + 'px';&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried .noConflict(), but this only solves the issue on pages I have the Form rendering on (and therefore two versions of jQuery). Is there a way to get WFFM 2.4 to no output the reference to jQuery? I know later versions have settings to supress using Bootstrap.&lt;/p&gt;&#xA;" OwnerUserId="249" LastEditorUserId="249" LastEditDate="2016-10-04T21:20:58.410" LastActivityDate="2016-10-11T22:31:00.183" Title="Dealing with jQuery version collisions in WFFM" Tags="|wffm|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="485" PostTypeId="2" ParentId="484" CreationDate="2016-10-04T19:48:49.907" Score="8" Body="&lt;p&gt;You should look at &lt;code&gt;jQuery.noConflict()&lt;/code&gt;. Use this jQuery method in your JS to avoid conflicts with WFFM included jQuery libs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In response to your updated question: no, there is no way to tell WFFM not to use jQuery, but because jQuery registers itself as an AMD module, you should be able to check to see if jQuery is already on the page before you call &lt;code&gt;jQuery.noConflict()&lt;/code&gt;. You can do this using the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (typeof window.jQuery != 'undefined') {&#xA;    // now call noConflict and any other logic&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will likely want to run that script in a &lt;code&gt;$(window).load(...)&lt;/code&gt; handler&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-10-04T21:51:11.623" LastActivityDate="2016-10-04T21:51:11.623" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="486" PostTypeId="2" ParentId="476" CreationDate="2016-10-04T19:49:20.940" Score="5" Body="&lt;p&gt;As already mentioned in the answer from Mark Cassidy, this is available &quot;out of the box&quot; with Sitecore. You need to watch out for the fact that the folders need to exist though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way to ensure this is to use &lt;a href=&quot;http://sitecoreworld.blogspot.co.uk/2014/09/sitecore-branch-template-example.html&quot;&gt;Branch Templates&lt;/a&gt;, but this can become quite become quite difficult to manage if you have a lot of different templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative is to essentially create the folders on demand. You can achieve this by creating a custom &lt;code&gt;getRenderingDatasource&lt;/code&gt; processor, something very similar to this, which will create the datasource folder if it does not exist. You can change the ID of the folder template to something else custom if you so wish.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class CreateRelativeDataSourceFolder&#xA;{&#xA;    private static ID DataSourceLocationField = new ID(&quot;{B5B27AF1-25EF-405C-87CE-369B3A004016}&quot;);&#xA;    private static ID FolderTemplateID = new ID(&quot;{A87A00B1-E6DB-45AB-8B54-636FEC3B5523}&quot;);&#xA;    private static TemplateID FolderTemplate = new TemplateID(FolderTemplateID);&#xA;    private static string RelativePath = &quot;./&quot;;&#xA;&#xA;    public void Process(GetRenderingDatasourceArgs args)&#xA;    {&#xA;        string dataSourceLocation = args.RenderingItem.Fields[DataSourceLocationField].Value;&#xA;&#xA;        if (string.IsNullOrWhiteSpace(dataSourceLocation))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (!dataSourceLocation.StartsWith(RelativePath))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (string.IsNullOrWhiteSpace(args.ContextItemPath))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        string subFolderPath = args.ContextItemPath + dataSourceLocation.Substring(1);&#xA;&#xA;        if (args.ContentDatabase.GetItem(subFolderPath) != null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Item currentItem = args.ContentDatabase.GetItem(args.ContextItemPath);&#xA;&#xA;        if (currentItem == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        string newItemName = dataSourceLocation.Substring(2);&#xA;&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            currentItem.Add(newItemName, FolderTemplate);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then patch it in config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;getRenderingDatasource&amp;gt;&#xA;        &amp;lt;processor patch:before=&quot;processor[@type='Sitecore.Pipelines.GetRenderingDatasource.GetDatasourceLocation, Sitecore.Kernel']&quot; type=&quot;Testing.CreateRelativeDataSourceFolder, Testing&quot;/&amp;gt;&#xA;  &amp;lt;/getRenderingDatasource&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find more information about this technique in &lt;a href=&quot;https://jermdavis.wordpress.com/2014/02/21/improving-your-sitecore-ia-with-relative-datasource-locations/&quot;&gt;this blog post by Jeremy Davis&lt;/a&gt;, and &lt;a href=&quot;http://reinoudvandalen.nl/blog/ensure-your-sitecore-datasource-locations/&quot;&gt;this blog post by Reinoud van Dalen&lt;/a&gt; has created a Nuget package which yo can directly use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One tip if to set the folder template ID to a custom one of your choice, and to &lt;a href=&quot;http://www.goblinrockets.com/2015/01/23/tip-style-items-sitecore-content-editor-tree/&quot;&gt;style the Standard Values of the template item&lt;/a&gt; using the &quot;Tree node style&quot; option in the ribbon. This will then mean your datasource folders will be visually different in the content tree from the rest of your content.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-04T19:49:20.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="487" PostTypeId="2" ParentId="476" CreationDate="2016-10-04T19:56:16.433" Score="3" Body="&lt;p&gt;If you want to avoid having to create the folder ahead of time (either in a tenant folder or a relative path), you can tap into the &lt;code&gt;getRenderingDatasource&lt;/code&gt; pipeline. The solution I've used for some time now checks if the datasource location is a relative path, and then checks if that path exists under the context item before creating it. A parameter on the rendering is used to configure the template of the folder.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class CreateContentFolder&#xA;{&#xA;    protected const string CONTENT_FOLDER_TEMPLATE_PARAM = &quot;contentFolderTemplate&quot;;&#xA;&#xA;    public virtual void Process(GetRenderingDatasourceArgs args)&#xA;    {&#xA;        Assert.IsNotNull(args, &quot;args&quot;);&#xA;        Sitecore.Data.Items.RenderingItem rendering = new Sitecore.Data.Items.RenderingItem(args.RenderingItem);&#xA;        UrlString urlString = new UrlString(rendering.Parameters);&#xA;        var contentFolder = urlString.Parameters[CONTENT_FOLDER_TEMPLATE_PARAM];&#xA;        if (string.IsNullOrEmpty(contentFolder))&#xA;        {&#xA;            return;&#xA;        }&#xA;        if (!ID.IsID(contentFolder))&#xA;        {&#xA;            Log.Warn(string.Format(&quot;{0} for Rendering {1} contains improperly formatted ID: {2}&quot;, CONTENT_FOLDER_TEMPLATE_PARAM, args.RenderingItem.Name, contentFolder), this);&#xA;            return;&#xA;        }&#xA;&#xA;        string text = args.RenderingItem[&quot;Datasource Location&quot;];&#xA;        if (!string.IsNullOrEmpty(text))&#xA;        {&#xA;            if (text.StartsWith(&quot;./&quot;) &amp;amp;&amp;amp; !string.IsNullOrEmpty(args.ContextItemPath))&#xA;            {&#xA;                var itemPath = args.ContextItemPath + text.Remove(0, 1);&#xA;                var item = args.ContentDatabase.GetItem(itemPath);&#xA;                var contextItem = args.ContentDatabase.GetItem(args.ContextItemPath);&#xA;                if (item == null &amp;amp;&amp;amp; contextItem != null)&#xA;                {&#xA;                    string itemName = text.Remove(0, 2);&#xA;                    //if we create an item in the current site context, the WebEditRibbonForm will see an ItemSaved event and think it needs to reload the page&#xA;                    using (new SiteContextSwitcher(SiteContextFactory.GetSiteContext(&quot;system&quot;)))&#xA;                    {&#xA;                        contextItem.Add(itemName, new TemplateID(ID.Parse(contentFolder)));&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The site context switcher is important (or at least used to be?) to avoid strange errors / messaging in the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;getRenderingDatasource&amp;gt;&#xA;    &amp;lt;processor type=&quot;My.Pipelines.GetRenderingDatasource.CreateContentFolder, ActiveCommerce.Kernel&quot; patch:before=&quot;processor[@type='Sitecore.Pipelines.GetRenderingDatasource.GetDatasourceLocation, Sitecore.Kernel']&quot;/&amp;gt;&#xA;&amp;lt;/getRenderingDatasource&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then on the rendering:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/yVTgG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yVTgG.png&quot; alt=&quot;Rendering contentFolderTemplate config&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By tapping into the same pipeline, you could add tokens to your Datasource Location, which you could parse and resolve dynamically. This is how SXA accomplishes tenant folders.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-04T19:56:16.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="488" PostTypeId="1" AcceptedAnswerId="493" CreationDate="2016-10-04T19:58:40.680" Score="17" ViewCount="1386" Body="&lt;p&gt;I've seen two schools of thought on structuring the content tree as it relates to datasource items:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Store datasource items in a folder underneath the context item&lt;/li&gt;&#xA;&lt;li&gt;Store data source items in a folder outside of the items representing pags (&quot;global&quot; folder, &quot;metadata&quot; folder, etc.)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What are the advantages/disadvantages to these approaches? The Habitat implementation of Helix seems to favor the second.&lt;/p&gt;&#xA;" OwnerUserId="249" LastEditorUserId="73" LastEditDate="2016-11-08T10:39:33.287" LastActivityDate="2016-11-08T10:39:33.287" Title="Where should I store data source items?" Tags="|best-practices|information-architecture|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="489" PostTypeId="2" ParentId="488" CreationDate="2016-10-04T20:12:08.013" Score="3" Body="&lt;p&gt;Pros and cons of both&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Interesting article the other day where can use both. &#xA;&lt;a href=&quot;http://sitecorecode.com/index.php/2016/09/19/how-to-give-multiple-datasource-locations-to-single-sublayout-or-rendering-in-sitecore/&quot; rel=&quot;nofollow&quot;&gt;http://sitecorecode.com/index.php/2016/09/19/how-to-give-multiple-datasource-locations-to-single-sublayout-or-rendering-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If under each item then clear what it belongs too,  no surprises when update it and only affects that page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If in a repository then promotes idea of sharing/reuse. &#xA;But should be aware if modify an existing one, that will alter on the other pages using it. &lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2016-10-04T20:12:08.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="490" PostTypeId="1" AcceptedAnswerId="556" CreationDate="2016-10-04T20:17:27.060" Score="39" ViewCount="6179" Body="&lt;p&gt;I see a fair few approaches in blog posts for using DI with 8.2, particularly around the registration. Is there an approach which would be recommended - particularly with a Helix compatible architecture?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot;&gt;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://ctor.io/one-way-to-implement-dependency-injection-for-sitecore-habitat/&quot;&gt;https://ctor.io/one-way-to-implement-dependency-injection-for-sitecore-habitat/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/09/17/Habitat-Dependency-Injection-with-Sitecore-8-2/&quot;&gt;http://www.sitecorenutsbolts.net/2016/09/17/Habitat-Dependency-Injection-with-Sitecore-8-2/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="92" LastEditorUserId="180" LastEditDate="2016-10-05T08:20:48.390" LastActivityDate="2018-03-13T07:34:57.667" Title="Best approach for Dependency Injection in Sitecore 8.2" Tags="|dependency-injection|helix|" AnswerCount="5" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="491" PostTypeId="2" ParentId="478" CreationDate="2016-10-04T20:19:36.100" Score="7" Body="&lt;p&gt;Setting ContentSearch.VerboseLogging to &lt;em&gt;true&lt;/em&gt; can help give you diagnostic info on search index activity.  Or a set of memory dumps when the thread appears to hang.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may benefit from using the verbose logging along with this patch to turn up the details . . .&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;indexing:start&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;timingLevel&quot;&amp;gt;high&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;indexing:start:remote&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;timingLevel&quot;&amp;gt;high&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;indexing:end&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;timingLevel&quot;&amp;gt;high&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;indexing:end:remote&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;timingLevel&quot;&amp;gt;high&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="365" LastEditorUserId="70" LastEditDate="2016-10-05T13:35:27.460" LastActivityDate="2016-10-05T13:35:27.460" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="492" PostTypeId="2" ParentId="299" CreationDate="2016-10-04T20:31:14.857" Score="3" Body="&lt;p&gt;Turns out that you have a few options. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first option is to open up the *Portraits.config** and modify the list of &lt;em&gt;pipe-delimited&lt;/em&gt; icons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second option I discovered is you can simply paste in a new url in the user manager. As seen below, I pasted in a public image url and it showed up upon refresh of the screen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B0kGw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B0kGw.png&quot; alt=&quot;Public image url&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If using Sitecore PowerShell Extensions, you can update the profile portrait and desktop with the following script. Adapt to C# if you want to perform this in your own module. Looks like the wallpaper requires a local path.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$user = Get-User -Current&#xA;$user.Profile.Portrait = &quot;https://pbs.twimg.com/profile_images/562466745340817408/_nIu8KHX.jpeg&quot;&#xA;$user.Profile.SetCustomProperty(&quot;Wallpaper&quot;, &quot;/sitecore/shell/themes/backgrounds/Field.jpg&quot;)&#xA;$user.Profile.Save()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The third option may be as Owen described.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-11-10T03:17:06.037" LastActivityDate="2016-11-10T03:17:06.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="493" PostTypeId="2" ParentId="488" CreationDate="2016-10-04T20:38:02.880" Score="18" Body="&lt;p&gt;In my opinion, these are the scopes you need to consider:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Global (across multiple sites)&lt;/li&gt;&#xA;&lt;li&gt;Site (across an entire site)&lt;/li&gt;&#xA;&lt;li&gt;Pillar/Section (used across an entire subtree of a site)&lt;/li&gt;&#xA;&lt;li&gt;Page (Used only on this page)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Using only one location does not allow you to scope your security appropriately for your authors. If you have a single global folder, that means giving authors from all sites and pages access to a single repository where they can potentially edit content from other sites. This is a big issue with multi-tenant and multi-site (though in some cases is actually helpful for shared content across sites).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page-specific content allows your authors to maintain their own little 'bucket' of scope that other users can't select for re-use. Some content governance folks might not like the idea of private content, but I haven't met an author yet who didn't have the &quot;but this is special just for me&quot; need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Section/pillar scope is useful when working with large sites that tend to divide their IA by department, business, or brand. You will often have different teams managing these sub-trees and often different roles and permissions. Their shared content is not the same as the site-wide header that might be in use across the whole site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can provide those 4 levels of datasource scopes, you should be able to cover most scenarios for content management governance.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-10-04T20:38:02.880" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="494" PostTypeId="1" CreationDate="2016-10-04T20:42:55.180" Score="2" ViewCount="838" Body="&lt;p&gt;I have a template with latitude and longitude field. I want to able to use lucene to search for records within given radius.  I haven't found any code sample that works with sitecore 8.2. I've been told to use solr which is more feature rich but solr seems to complex for my needs as I'm not dealing with huge records. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone guide me on how I can go about creating my own custom contentsearch library? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks. &lt;/p&gt;&#xA;" OwnerUserId="40" LastEditorUserId="246" LastEditDate="2016-10-05T03:09:48.260" LastActivityDate="2017-08-04T23:36:13.543" Title="Lucene spatial search with sitecore 8.2" Tags="|lucene|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="495" PostTypeId="2" ParentId="494" CreationDate="2016-10-04T21:00:00.580" Score="5" Body="&lt;p&gt;You may have a look at the module &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Lucene_Spatial_Search_Support.aspx&quot; rel=&quot;noreferrer&quot;&gt;LUCENE SPATIAL SEARCH SUPPORT&lt;/a&gt; on the Sitecore Marketplace. There is a link to the github repo which should give you an example of how that was done for Sitecore 7; hopefully not much has changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The creator built a library referencing these Lucene libraries:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Lucene.Net.Contrib.Spatial.dll&lt;/li&gt;&#xA;&lt;li&gt;Lucene.Net.dll&lt;/li&gt;&#xA;&lt;li&gt;Spatial4n.Core.dll&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Then built an API on top with the appropriate ContentSearch configuration files. Perhaps not too straight forward but can be done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an aside, the Sitecore Experience Accelerator (SXA) comes with this feature built in for Lucene using a similar approach.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-04T21:00:00.580" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="496" PostTypeId="2" ParentId="484" CreationDate="2016-10-04T21:04:12.527" Score="1" Body="&lt;p&gt;2 ways we have handled this in the past if the .noConflict() approach doesn't work for you (I have had trouble with it). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.) include the newer jQuery library later in the DOM than the WFFM include for instance with in the body tag.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;or &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.) give your newer jQuery a global var other than the bling ($) and use that in your code.  &lt;/p&gt;&#xA;" OwnerUserId="470" LastActivityDate="2016-10-04T21:04:12.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="497" PostTypeId="2" ParentId="490" CreationDate="2016-10-04T21:11:37.157" Score="15" Body="&lt;p&gt;I'm not entirely sure there is a &quot;recommended&quot; approach - it mostly boils down to the container you'd like to use and the features you'd like to leverage from that container.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance, if you like non-conforming containers like Simple Injector and want to use the Verify() method on the container, then an approach like Rich's, in your third link, is a great choice.  It's also a nice example of following the Composition Root pattern.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you really just want basic DI and don't care much about extra features, then use the default container that Sitecore is using that leverages the new MS DI Framework.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, there are those that suggest it's entirely appropriate to keep your application container separate from your framework/platform container.  That has a lot of merit as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, in short (kindof), I'm not sure there is a single &quot;right&quot; or &quot;recommended&quot; approach.&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2016-10-04T21:11:37.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="498" PostTypeId="2" ParentId="463" CreationDate="2016-10-04T21:12:11.013" Score="15" Body="&lt;p&gt;It's possible to determine the &lt;code&gt;Site&lt;/code&gt; an item &quot;belongs&quot; to using the LinkManager. This is how Sitecore resolves links internally when &lt;code&gt;Rendering.SiteResolving = true&lt;/code&gt; and expanding links or resolving the Preview Site when &lt;code&gt;Preview.ResolveSite = true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var item = Sitecore.Context.Database.GetItem(&quot;/sitecore/content/my-item&quot;);&#xA;SiteInfo site = Sitecore.Links.LinkManager.ResolveTargetSite(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Possibly not the best use of the &lt;code&gt;LinkManager&lt;/code&gt; and it feels a little dirty as a result, but this mean that you follow the same logic as Sitecore and should something change in the future then your own code will follow that same logic.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="114" LastEditDate="2016-10-10T08:30:10.087" LastActivityDate="2016-10-10T08:30:10.087" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="499" PostTypeId="1" AcceptedAnswerId="592" CreationDate="2016-10-04T21:13:15.313" Score="14" ViewCount="729" Body="&lt;p&gt;Keep in mind I'm a relative newbie to &lt;code&gt;TDS&lt;/code&gt;, but looking through some of the documentation, I'm not sure I have found an answer that solidifies I'm doing something wrong. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've got TDS installed and pulled down the TDS version of &lt;code&gt;Habitat&lt;/code&gt; from GitHub, restored &lt;code&gt;NuGet packages&lt;/code&gt; fine and published to target. As the last step to get set up, I was unsure, if there was a certain order to Sync the items with Sitecore or if it could be done all at once. Going to the solution node in VS and choosing &lt;code&gt;Sync all TDS Projects using History&lt;/code&gt; didn't seem to do it, so then I started going project by project and choosing &lt;code&gt;Sync with Sitecore&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is where I'm having difficulty because TDS throws errors. Most errors I'm seeing are &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; TDS not being able to update Standard Values due to the parent&#xA;&gt; template missing the fields such as '__Masters' and '__Created':&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LZ5xm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LZ5xm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I'm wondering is there a particular order to sync, is there a more efficient option, or am I just completely going about this in the wrong way? Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="221" LastEditorUserId="5387" LastEditDate="2019-08-01T07:26:45.993" LastActivityDate="2019-08-01T07:26:45.993" Title="Habitat TDS Version - Sync Items to Sitecore" Tags="|tds|habitat|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="500" PostTypeId="2" ParentId="488" CreationDate="2016-10-04T21:13:48.960" Score="5" Body="&lt;p&gt;In the past I would have advocated for using a single place to store blocks of content used as data sources. It makes administration easier including things like access rights and it keeps the &quot;page tree&quot; clean.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Today I think a little differently. Since Sitecore 7 and the introduction of the new Content Search and bucket folders, I'm often inclined to facilitate searching for data source items using template filters rather than specifying the exact location. This is very useful for image fields as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If one does prefer a more static tree structure, I would go for a mixed approach ranging from global items, site specific items etc to page specific items as defined above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a number of varieties, check out John West's monumental seven part blogpost starting here: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-data-sources-part-1-enhancements&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-data-sources-part-1-enhancements&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="274" LastActivityDate="2016-10-04T21:13:48.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="501" PostTypeId="2" ParentId="256" CreationDate="2016-10-04T21:31:55.073" Score="25" Body="&lt;p&gt;Sitecore supports two ways to render the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Standard Sitecore Render&lt;/li&gt;&#xA;&lt;li&gt;Themed XML Skin Rendering&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The pipeline you want to focus on is &lt;code&gt;&amp;lt;renderContentEditor&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll find the following:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KC1oC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KC1oC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;For the purpose of this answer, I'll focus on how to override the&#xA;  Standard Content Editor. I would probably advocate for using the&#xA;  Theme/Skinning option  that is available, but will need to defer that&#xA;  answer until I am more versed in how to do the themeing.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you look at &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderStandardContentEditor&lt;/code&gt; pipeline process you'll find that it is calling the EditorFormatter class &lt;code&gt;RenderSections(...)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;  public class RenderStandardContentEditor&#xA;  {&#xA;    /// &amp;lt;summary&amp;gt;Gets the field value.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;contract&amp;gt;&#xA;    ///   &amp;lt;requires name=&quot;args&quot; condition=&quot;none&quot; /&amp;gt;&#xA;    /// &amp;lt;/contract&amp;gt;&#xA;    public void Process(RenderContentEditorArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;      args.EditorFormatter.RenderSections(args.Parent, args.Sections, args.ReadOnly);&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Digging down further, you'll find that &lt;code&gt;RenderSections&lt;/code&gt; is calling &lt;code&gt;RenderSectionBegin(...)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The real issue with the Section Icon going away is that Sitecore decided just not to render the image.  But as you can see from the decompiled code below, Sitecore still supports the section icon, just never utilizes it.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void RenderSectionBegin(System.Web.UI.Control parent, string controlId, string sectionName, string displayName, string icon, bool isCollapsed, bool renderFields)&#xA;{&#xA;  Assert.ArgumentNotNull((object) parent, &quot;parent&quot;);&#xA;  Assert.ArgumentNotNullOrEmpty(controlId, &quot;controlId&quot;);&#xA;  Assert.ArgumentNotNullOrEmpty(sectionName, &quot;sectionName&quot;);&#xA;  Assert.ArgumentNotNullOrEmpty(displayName, &quot;displayName&quot;);&#xA;  Assert.ArgumentNotNull((object) icon, &quot;icon&quot;);&#xA;  HtmlTextWriter htmlTextWriter = new HtmlTextWriter((TextWriter) new StringWriter(new StringBuilder(1024)));&#xA;  if (this.Arguments.ShowSections)&#xA;  {&#xA;    string str1 = isCollapsed ? &quot;scEditorSectionCaptionCollapsed&quot; : &quot;scEditorSectionCaptionExpanded&quot;;&#xA;    string str2;&#xA;    if (UserOptions.ContentEditor.RenderCollapsedSections)&#xA;      str2 = &quot;javascript:scContent.toggleSection('&quot; + controlId + &quot;','&quot; + sectionName + &quot;')&quot;;&#xA;    else&#xA;      str2 = &quot;javascript:return scForm.postRequest('','','','&quot; + StringUtil.EscapeQuote(&quot;ToggleSection(\&quot;&quot; + sectionName + &quot;\&quot;,\&quot;&quot; + (isCollapsed ? &quot;1&quot; : &quot;0&quot;) + &quot;\&quot;)&quot;) + &quot;')&quot;;&#xA;    htmlTextWriter.Write(&quot;&amp;lt;div id=\&quot;{0}\&quot; class=\&quot;{1}\&quot; onclick=\&quot;&quot; + str2 + &quot;\&quot;&amp;gt;&quot;, (object) controlId, (object) str1);&#xA;    ImageBuilder imageBuilder1 = new ImageBuilder()&#xA;    {&#xA;      ID = controlId + &quot;_Glyph&quot;,&#xA;      Src = isCollapsed ? &quot;Images/accordion_down.png&quot; : &quot;Images/accordion_up.png&quot;,&#xA;      Class = &quot;scEditorSectionCaptionGlyph&quot;&#xA;    };&#xA;    htmlTextWriter.Write(imageBuilder1.ToString());&#xA;    ImageBuilder imageBuilder2 = new ImageBuilder()&#xA;    {&#xA;      Src = Images.GetThemedImageSource(icon, ImageDimension.id16x16),&#xA;      Class = &quot;scEditorSectionCaptionIcon&quot;&#xA;    };&#xA;    htmlTextWriter.Write(Translate.Text(displayName));&#xA;    htmlTextWriter.Write(&quot;&amp;lt;/div&amp;gt;&quot;);&#xA;  }&#xA;  if (renderFields || !isCollapsed)&#xA;  {&#xA;    string str1 = !isCollapsed || !this.Arguments.ShowSections ? string.Empty : &quot; style=\&quot;display:none\&quot;&quot;;&#xA;    string str2 = this.Arguments.ShowSections ? &quot;scEditorSectionPanelCell&quot; : &quot;scEditorSectionPanelCell_NoSections&quot;;&#xA;    htmlTextWriter.Write(&quot;&amp;lt;table width=\&quot;100%\&quot; class=\&quot;scEditorSectionPanel\&quot;{0}&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=\&quot;{1}\&quot;&amp;gt;&quot;, (object) str1, (object) str2);&#xA;  }&#xA;  this.AddLiteralControl(parent, htmlTextWriter.InnerWriter.ToString());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that in this class, the icon comes in as part of the argument of the method.  Highlighting the following piece:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NgCl1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NgCl1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;imageBuilder2&lt;/code&gt; contains everything that we need to know in order to render the Section icon.  however, scanning this method, &lt;code&gt;imageBuild2&lt;/code&gt; is never utilized.  Instead, immediately after &lt;code&gt;imageBuilder2&lt;/code&gt; is created, it writes the &lt;code&gt;displayName&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you look at the accordion image just above this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZuVz7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZuVz7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll note that it's sending the image to the &lt;code&gt;htmlTextWriter&lt;/code&gt; which sets up an awesome example as to how to implement the section icon as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SUMMARY&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This actually smells like a Sitecore Bug.  However, if it's completely intentional, and you want to activate the icon, I would create a custom &lt;code&gt;RenderContentEditor&lt;/code&gt; pipeline processor, extend the EditorFormatter class and override &lt;code&gt;RenderSectionBegin&lt;/code&gt; method, sending the icon to the HtmlTextWriter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OP ED&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Responding to @jammykam's comment, the amount of code changes that this would require, the reward gained by getting the icon back may not be worth it (in fact not worth it).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One must take into consideration &lt;strong&gt;upgradability&lt;/strong&gt;, and &lt;strong&gt;maintainability&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using a new processor, as described above, allows you to pull out the change relatively quickly and the approach above does not harm core functionality. However, if changes occur with this class (as they most certainly will) in order to maintain the icons, you'd have to update this custom class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, while my professional recommendation is to not utilize all of this, just for the icon, and nor do I think creating a whole new XML Skin just for icon make sense either, &lt;em&gt;this is a often requested feature from client who are used to the section icon&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore my true feeling is to appeal to Sitecore to offer an easier toggle, config setting or otherwise, in order to display it. Otherwise, I would advocate against trying to implement this at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;But it is possible!&lt;/em&gt; =)&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-05T14:17:50.953" LastActivityDate="2016-10-05T14:17:50.953" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="502" PostTypeId="2" ParentId="358" CreationDate="2016-10-04T21:39:55.297" Score="5" Body="&lt;p&gt;Sitecore's Site Definition configuraiton creates multisite capabilities that mimic what you can do in IIS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;virtualFolder&lt;/code&gt; allows you to create a Site Defintion for a URL that doesn't exist on the filesystem and instead, only exists virtually, but allows you to point it to a different Root and Start item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;physicalFolder&lt;/code&gt; allows you to create a Site Definition bound by the file system. A common example is the &lt;code&gt;/sitecore/shell/&lt;/code&gt; or &lt;strong&gt;shell&lt;/strong&gt; site.  When you log into Sitecore, this is the site that you log into.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;inherits&lt;/code&gt; is a fancy way of inheriting properties from one site definition to another. This way, if you have complex settings and need to replicate you can. &lt;em&gt;One great feature of inherit is that you can override specific attributes and still carry over the others not specified&lt;/em&gt;.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-04T21:39:55.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="503" PostTypeId="1" AcceptedAnswerId="515" CreationDate="2016-10-04T21:40:43.930" Score="2" ViewCount="637" Body="&lt;p&gt;Looking for best practices to prevent accidently removing lots of links. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think there has been improvements in this area. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario delete home node (accidently), popup launches for option for break links dialog. &#xA;Select remove broken links, thinking deleting another node. &#xA;Break links takes a while. &#xA;Cancel delete operation. &#xA;Job to remove broken links continues in back ground. &#xA;Later realise lots of links have been removed, and roll back database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At time was a bug, when deleting a proxy configuration item that didn't refresh UI. &#xA;And so if went to delete item again, as item already deleted would default to the hone node and delete that instead. (fixed since) &#xA;Also seen case where content author deleted a large section, and chose remove broken links. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One is education, saying in dialog what actions will be performed, how many items deleting, how many links about to break etc. &#xA;Defaulting option to not break links. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other is extending pipeline to prevent mass deletion of items. &#xA;Recall adding pipeline before to say are you sure you want to delete 100 items etc, and preventing deleting 1000 items in one go. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other is auditing/alerting that a bulk delete/remive links  operation has been requested. &#xA;Do doesn't go days before realising all links broken in master. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wondering what best practices are, how others have protected from these scenarios  &lt;/p&gt;&#xA;" OwnerUserId="388" LastEditorUserId="246" LastEditDate="2016-10-04T23:35:54.523" LastActivityDate="2016-10-05T00:00:52.580" Title="Prevent author from accidently breaking lots of links" Tags="|content-editor|security|" AnswerCount="3" CommentCount="0" ClosedDate="2016-10-05T22:23:25.603" ContentLicense="CC BY-SA 3.0" />
  <row Id="504" PostTypeId="2" ParentId="478" CreationDate="2016-10-04T21:46:52.397" Score="1" Body="&lt;p&gt;If the Event Queue table in the database gets clogged you will have a hard time ever getting those index jobs to finish. You might need to truncate this table just to move forward.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check out &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1450&quot; rel=&quot;nofollow&quot;&gt;this thread on Sitecore Community&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also read this blog post which gives additional troubleshooting and configuration tips: &lt;a href=&quot;https://sitecorebasics.wordpress.com/2011/05/28/is-your-sitecore-publishing-stucks/&quot; rel=&quot;nofollow&quot;&gt;https://sitecorebasics.wordpress.com/2011/05/28/is-your-sitecore-publishing-stucks/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="274" LastActivityDate="2016-10-04T21:46:52.397" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="505" PostTypeId="2" ParentId="503" CreationDate="2016-10-04T21:52:57.357" Score="1" Body="&lt;p&gt;To reduce the risk of this happening I'd limit access rights. Perhaps only certain roles should be allowed to modify, let alone delete the Home item, section items and so on. It might still be possible for less priviliged roles to restrict publishing if they need to remove something from the public website.&lt;/p&gt;&#xA;" OwnerUserId="274" LastActivityDate="2016-10-04T21:52:57.357" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="506" PostTypeId="1" AcceptedAnswerId="878" CreationDate="2016-10-04T22:04:08.927" Score="8" ViewCount="200" Body="&lt;p&gt;After reading this written by Sitecorehacker on the Sitecore Slack channel I fell off my seat:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;The &quot;upgrade&quot; from 3.2 to 3.3.. &lt;em&gt;goes silent and walks away&lt;/em&gt;&#xA;I kid, but not really. The upgrade form 3.2 to 3.3 includes a breaking change that resets and disregards all previous analytical email data.&#xA;More of an issue for people with established ECM installs that have upgrade to EXM&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorechat.slack.com/archives/sitecore-chat/p1475504232002938&quot; rel=&quot;noreferrer&quot;&gt;Check it out here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That means it's a breaking issue for a current upgrade project. Does anyone know if it is even possible to go from ECM 2.2 to EXM 3.3 while somehow keeping your email analytics data?&lt;/p&gt;&#xA;" OwnerUserId="274" LastActivityDate="2016-10-07T08:09:37.693" Title="Can ECM 2.2 be upgraded with analytics data to EXM 3.3 at all?" Tags="|upgrade|exm|ecm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="507" PostTypeId="1" AcceptedAnswerId="513" CreationDate="2016-10-04T22:16:27.160" Score="12" ViewCount="2585" Body="&lt;p&gt;Sitecore recommends limiting number of items to up to 10 versions per item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The version manager module can be used to limit the number of item versions. &#xA;This can either be run periodically, or when the number of item versions goes above a set number. When run, the module deletes old versions of the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recall that this module used to require the user running the operation to have permission to delete in order for the old version to be removed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rather than delete old versions after a certain limit, we want it to only delete versions which aren't either currently on live, or queued up to go live via publishing restrictions / lifetime. This way, the module doesn't end up &quot;unpublishing&quot; items, regardless of age or version count. Additionally, rather than delete the version, we would like to copy the version being removed to an archive. Copying to the archive will preserve references to any datasources, but we would also like to see if there is a way to take a snapshot of any dependencies on the item being archived.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would be interested to see how others have dealt with ensuring version numbers are kept low, while continuing to support the stacking of future items, and keeping an archive, in order to be able to view past versions. &lt;/p&gt;&#xA;" OwnerUserId="388" LastEditorUserId="399" LastEditDate="2016-10-13T23:24:20.203" LastActivityDate="2022-07-21T17:27:39.150" Title="Limiting version numbers/copying old versions to archive for easy access" Tags="|content-editor|performance-optimization|performance|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="508" PostTypeId="2" ParentId="347" CreationDate="2016-10-04T22:17:19.897" Score="6" Body="&lt;p&gt;Branching off of @SzymonKuzniak's answer, the simple answer is &quot;no&quot; but the complex answer is &quot;yes, with some trickery, by tapping into the &lt;code&gt;getLookupSourceItems&lt;/code&gt; pipeline.&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to minimize development cost and maximize your extensibility, maintainability, and reusability, my recommendation would be to write a processor for the &lt;code&gt;getLookupSourceItems&lt;/code&gt; pipeline that executes &quot;Source Query&quot; (the name I would give to the Rule Context Folder) rules. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Benefits:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You can create macros for common query patterns (e.g. Site Home, Site Globals, etc.) &lt;/li&gt;&#xA;&lt;li&gt;You can create far more powerful filters than those provided OOTB&lt;/li&gt;&#xA;&lt;li&gt;You can use conditions to make the rules template specific, or to make them apply to a template and all inherited templates&lt;/li&gt;&#xA;&lt;li&gt;Low implementation effort, with high extensibility, maintainability and flexibility&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Words of caution:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Don't make rules that filter the source based on the value of a field on the item (or even another item). If a change is made to the dependant field, the content author would need to save the item before the source filtering gets updated. Remember that a content author could have more than one window open too.&lt;/li&gt;&#xA;&lt;li&gt;If you make rules that affect an item template and all inherited templates than any &quot;overriding rules&quot; must come after the initial rule, or the condition will need to be updated in the original rule to exclude the specific inherited template(s).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-04T22:17:19.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="509" PostTypeId="1" AcceptedAnswerId="512" CreationDate="2016-10-04T22:33:05.023" Score="10" ViewCount="3861" Body="&lt;p&gt;I've got 2 developer sandbox instances of &lt;code&gt;Sitecore 8.2&lt;/code&gt;, and in one instance the package works fine. However, in the other one, I'm getting this error while trying to install a package:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; ManagedPoolThread #17 16:20:58 INFO  Installing item:&#xA;&gt; items/master/sitecore/media&#xA;&gt; library/Images/articles/youre-driving-me-crazy/{993E4B00-B5A0-46FC-8135-2545A9472B22}/en/1/xml&#xA;&gt; ManagedPoolThread #17 16:20:58 ERROR One or more exceptions occurred&#xA;&gt; while processing the subscribers to the 'packageinstall:items:ended'&#xA;&gt; event. Exception[1]: System.NullReferenceException  Message[1]: Object&#xA;&gt; reference not set to an instance of an object.  Source[1]:&#xA;&gt; Sitecore.ContentSearch    at&#xA;&gt; Sitecore.ContentSearch.SitecoreItemCrawler.IsExcludedFromIndex(SitecoreIndexableItem&#xA;&gt; indexable, Boolean checkLocation)   at&#xA;&gt; Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex.c__DisplayClassb.b__3(f__AnonymousType2`2&#xA;&gt; h__TransparentIdentifier0)   at&#xA;&gt; System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()   at&#xA;&gt; System.Linq.Enumerable.d__63`1.MoveNext()   at&#xA;&gt; System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()   at&#xA;&gt; System.Linq.Buffer`1..ctor(IEnumerable`1 source)   at&#xA;&gt; System.Linq.OrderedEnumerable`1.d__1.MoveNext()   at&#xA;&gt; System.Linq.Buffer`1..ctor(IEnumerable`1 source)   at&#xA;&gt; System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)   at&#xA;&gt; Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex.GetContextIndex(IIndexable&#xA;&gt; indexable, GetContextIndexArgs args)   at&#xA;&gt; Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex.Process(GetContextIndexArgs&#xA;&gt; args)   at (Object , Object[] )   at&#xA;&gt; Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)   at&#xA;&gt; Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;&gt; PipelineArgs args, String pipelineDomain)   at&#xA;&gt; Sitecore.Abstractions.CorePipelineWrapper.Run(String pipelineName,&#xA;&gt; PipelineArgs args)   at&#xA;&gt; Sitecore.ContentSearch.Pipelines.GetContextIndex.GetContextIndexPipeline.Run(ICorePipeline&#xA;&gt; pipeline, GetContextIndexArgs args)   at&#xA;&gt; System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2&#xA;&gt; keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)  &#xA;&gt; at System.Linq.GroupedEnumerable`3.GetEnumerator()   at&#xA;&gt; Sitecore.ContentSearch.Events.PackagingEventHandler.OnPackageInstallItemsEndHandler(Object&#xA;&gt; sender, EventArgs e)   at&#xA;&gt; Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName,&#xA;&gt; Object[] parameters, EventResult result)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've checked the configs between the 2 environments and they seem to be the same. What specific configs should I be looking for, and what other settings should I look at to figure out what the problem is with this 2nd instance? &lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="5387" LastEditDate="2019-08-01T07:26:37.967" LastActivityDate="2019-10-22T20:03:29.000" Title="Installing package acting different between 2 environments" Tags="|installation|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="510" PostTypeId="2" ParentId="509" CreationDate="2016-10-04T22:42:38.090" Score="3" Body="&lt;p&gt;At the problematic instance, check at the showconfig what are subscribing to the &quot;packageinstall:items:ended&quot; pipeline event - also it's good to compare if you have anything here not at the good instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there's anything at the broken instance not at the good one, try removing this first and retest. &lt;/p&gt;&#xA;" OwnerUserId="471" LastEditorUserId="471" LastEditDate="2016-10-05T13:26:19.367" LastActivityDate="2016-10-05T13:26:19.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="511" PostTypeId="2" ParentId="506" CreationDate="2016-10-04T22:46:33.967" Score="2" Body="&lt;p&gt;Two issues really exist:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Backwards Compatibility&lt;/li&gt;&#xA;&lt;li&gt;Analytics Redux&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Backwards Compatibility&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a series of upgrade scripts, procedures, and steps in order to upgrade ECM 2.2 to EXM 3.0. &lt;em&gt;I will edit with link to the Upgrade Doc&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, as of EXM 3.1, backwards compatibility to utilize ECM links, clicks, opens, and bounces was removed. Along with it, reliance on any of the old &lt;code&gt;AutomationStates&lt;/code&gt; table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The real issue is that the links created out of ECM contain &lt;code&gt;ec_as&lt;/code&gt; and &lt;code&gt;ec_camp&lt;/code&gt;. These correspond to Automation State and Campaign Id. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In EXM, those were removed and now &lt;code&gt;ec_message_id&lt;/code&gt; and &lt;code&gt;ec_contact_id&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Well, if you have access to the old Analytics database from 7.x, you &lt;em&gt;can&lt;/em&gt; derive a Membership Profile username.  But, EXM utilizes xDB contacts.  The upgrade scripts creates user accounts in xDB, but the identifier is &lt;strong&gt;domain\username&lt;/strong&gt; and OOTB EXM wants to use &lt;strong&gt;email address&lt;/strong&gt; as primary identifier. So, without close consideration paid attention to, it's possible to have two Experience Profile accounts for the same person, but different identifiers which causes a host of issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, with EXM 3.3, there's no way to get an xDB Contact from the &lt;code&gt;ec_as&lt;/code&gt; query param without heavy reverse engineering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similarly, you can use the &lt;code&gt;AutomationStates&lt;/code&gt; table and &lt;code&gt;Automation&lt;/code&gt; table to derive the email message ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Knowing that, you can create pipeline processors for &lt;code&gt;&amp;lt;emailOpen&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;handleBounce&amp;gt;&lt;/code&gt;, and &lt;code&gt;&amp;lt;redirectUrl&amp;gt;&lt;/code&gt; to massage the params and find the contact I'd and message id. But again, you have to build the backwards compatibility.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, ECM OOTB utilizes the &lt;code&gt;modules_shell&lt;/code&gt; site and a ASPX to handle RegiaterEmailOpen. In EXM, this page doesn't exist, and instead moved to a handler (ASHX) that lives in &lt;code&gt;/sitecore&lt;/code&gt;. So we had to rebuild the old page functionality but refactor it for EXM and xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Analytics Redux&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: Anthony describes the story around analytics way better than I. Refer to his response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SUMMARY&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We were contracted by a client doing just that to rebuild the backwards compatibility from ECM to EXM 3.3 It was not an easy lift, and resulted in a number of Support tickets. EXM 3.4 will be coming out sometime in the near future which will support Sitecore 8.2, and I've been told that it's a pretty light weight upgrade from EXM 3.3. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, if coming from ECM 2.2, and going to EXM 3.3, I advocate working with a Sitecore partner to really hone in on what matters most and figuring out a path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's about as much advice as I can give.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-07T08:09:37.693" LastActivityDate="2016-10-07T08:09:37.693" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="512" PostTypeId="2" ParentId="509" CreationDate="2016-10-04T22:54:45.923" Score="12" Body="&lt;p&gt;As Rodrigo Peplau suggests, &lt;code&gt;sitecore/admin/showconfig.aspx&lt;/code&gt; is good for viewing the entire merged Sitecore configuration. So you could use that as the basis for your comparison between the environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error message indicates that you have a problem with handling the &lt;code&gt;packageinstall:items:ended&lt;/code&gt; event. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The event is configured in &lt;code&gt;Sitecore.config&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The stack trace points specifically to it originating from the &lt;code&gt;OnPackageInstallItemsEndHandler&lt;/code&gt; method in &lt;code&gt;Sitecore.ContentSearch.Events.PackagingEventHandler&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The handler is configured in &lt;code&gt;Sitecore.ContentSearch.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The exception occurs when Sitecore checks if the item being crawled is excluded from a given index. So You could also check the config files for each of the indexes that cover the master DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively the 'object reference' exception might mean that Sitecore is trying to index an item that doesn't exist. So I would check to see if item &lt;code&gt;{993E4B00-B5A0-46FC-8135-2545A9472B22}&lt;/code&gt; ever actually got installed on the target DB.&lt;/p&gt;&#xA;" OwnerUserId="473" LastEditorUserId="473" LastEditDate="2016-10-04T23:09:39.063" LastActivityDate="2016-10-04T23:09:39.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="513" PostTypeId="2" ParentId="507" CreationDate="2016-10-04T23:35:31.023" Score="3" Body="&lt;p&gt;&lt;strong&gt;Trigger Auto-Archiving&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could write a &lt;code&gt;publish:end:remote&lt;/code&gt; event that kicks off some logic to find all item versions &quot;eligible for archiving,&quot; based on your criteria. You can then archive those versions that are &lt;strong&gt;n&lt;/strong&gt; versions behind  the latest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Archiving&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now that your auto-archiving logic is created, you need to actually perform the archiving. How you do this is really up to you, as there are many was to create an archive. My preference is to create a folder item as a sibling of the home item and use permissions to ensure that only authenticated users with a particular role can view it. In your code, you would use a &lt;code&gt;SecurityDisabler&lt;/code&gt; when moving the item, so access rights shouldn't be an issue for the &quot;archiver&quot; logic. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Preserving References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned in the OP, references on the item being archived to other times will be preseved, and it looks like this is desired. However, it looks like you also want to be able to preserve references to the item being archived for later viewing. You could use the links database to &lt;code&gt;GetReferrers&lt;/code&gt;, and then record the resulting list as a list of item IDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have to ask why you would want to do this. If those items are deleted then this list is meaningless. The same goes for recording the referrers as item paths, only now you have to worry about an item-rename making the whole or part of the list meaningless. Bottom-line: unless you plan to make an entire historical record of every item that you've ever had in the system (and this would be a LOT of work if you want to make it meaningful) then I wouldn't advise doing this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Breaking References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was implied by the OP - though not explicitly stated - that you will need to break links to the items that you are archiving. I haven't done this myself, but you should be able to replicate the logic for breaking links that is fired when deleting an item. Don't forget to do this, or else you will have items that are not archived referencing items that are archived.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-04T23:35:31.023" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="514" PostTypeId="2" ParentId="322" CreationDate="2016-10-04T23:37:43.593" Score="6" Body="&lt;p&gt;I wrote a blog post on this a while ago: &lt;a href=&quot;http://www.flux-digital.com/blog/refreshing-experience-page-editor-after-using-edit-frames-or-buttons/&quot; rel=&quot;noreferrer&quot;&gt;http://www.flux-digital.com/blog/refreshing-experience-page-editor-after-using-edit-frames-or-buttons/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One word of caution though, we did see some odd issues caused by this firing and causing a save on components where it wasn't needed. So I'd suggest perhaps checking your templates(s) before firing the save, something like the following (not tested):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (item != null)&#xA;{&#xA; if(item.TemplateID == MyTemplateIds.MyBannerTemplate.ID){&#xA;  item.Editing.BeginEdit();&#xA;  item.Fields[fieldInfo.FieldID.ToString()].Value = str1;&#xA;  item.Editing.EndEdit();&#xA; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'll update the blog post at some point to include info on this but Let me know if you find a better way of doing this or if this works for you.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-04T23:37:43.593" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="515" PostTypeId="2" ParentId="503" CreationDate="2016-10-04T23:43:26.223" Score="2" Body="&lt;p&gt;This is a question with really a mryaid of possibilities for an answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;It boils down to client requirements.&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a &lt;strong&gt;Best Practice&lt;/strong&gt;, I advocate working with the business owner to iron out what the real requirements for workflow, security, and guard rails, are and then based on that information, create stories for tailoring Sitecore to your desire.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore makes it very easy to build in the guard rails you need in order to limit breaking links from deletions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Options include:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Event Handlers for delete, rename, and move&lt;/li&gt;&#xA;&lt;li&gt;Custom Button overrides to toggle enablement of delete button.&lt;/li&gt;&#xA;&lt;li&gt;And if you're feeling creative, create your own custom pipeline to validate whether an item can be deleted that makes it extendable as use cases grow.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-04T23:43:26.223" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="516" PostTypeId="2" ParentId="279" CreationDate="2016-10-04T23:50:22.040" Score="1" Body="&lt;p&gt;So we got to the bottom of this. It was due to a custom media file pipeline in the end. What was confusing was that it was hard to track down/replicate due to the media cache getting in the way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the end we needed to add some code to check the file types and skip our pipeline to get it to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the above comments were really useful in order to figure this out though so thanks.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-04T23:50:22.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="517" PostTypeId="2" ParentId="503" CreationDate="2016-10-05T00:00:52.580" Score="1" Body="&lt;p&gt;I'm not sure about restricting this but we've had this issue where content editors didn't have the permissions to remove the links and it meant broken links were left in place. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We recently added code to handle broken links in our MVC views when this happens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is quite easy to do silently in Glass (if your using it) just rename this file: z.Glass.Mapper.Sc.ViewRender.config.example to remove the .example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However we wanted to show some nice error messages about broken data sources to content editors so we took a similar approach to this:&lt;a href=&quot;http://www.hhogdev.com/blog/2015/june/mvc-rendering-exception-handler.aspx&quot; rel=&quot;nofollow&quot;&gt;http://www.hhogdev.com/blog/2015/june/mvc-rendering-exception-handler.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some other useful links on this subject:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecorepromenade.blogspot.co.uk/2015/05/passing-invalid-id-in-rendering.html&quot; rel=&quot;nofollow&quot;&gt;http://sitecorepromenade.blogspot.co.uk/2015/05/passing-invalid-id-in-rendering.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-automated-validation-of-mvc-rendering-datasource&quot; rel=&quot;nofollow&quot;&gt;https://www.skillcore.net/sitecore/sitecore-automated-validation-of-mvc-rendering-datasource&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/handling-rendering-exceptions-in-mvc-solutions-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/handling-rendering-exceptions-in-mvc-solutions-with-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this is useful to someone else.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-05T00:00:52.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="518" PostTypeId="2" ParentId="347" CreationDate="2016-10-05T00:02:09.307" Score="2" Body="&lt;p&gt;As of Sitecore 7.0 with the introduction of The Buckets DLL, the &lt;strong&gt;&lt;code&gt;code:&amp;lt;type, assembly&amp;gt;&lt;/code&gt;&lt;/strong&gt; Template Field DataSource option was introduced that allows you to inject code to process your Datasource option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've used this in the past to programmatically determine datasource values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, if you'd like to see a full implementation of a custom datasource implementation that utilizes similar functionality, you can look at my &lt;a href=&quot;https://github.com/Vapok/Sitecore.SharedSource.ValueListField&quot; rel=&quot;nofollow&quot;&gt;Value List Field&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.ContentSearch.Utilities;&#xA;using Sitecore.Diagnostics;&#xA;&#xA;namespace Sitecore.SharedSource.ValueListField.Pipelines.GetLookupSourceValueLists&#xA;{&#xA;    internal class CustomCodeSource&#xA;    {&#xA;        [UsedImplicitly]&#xA;        public void Process(GetLookupSourceValueListsArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;            if (!args.Source.StartsWith(&quot;code:&quot;)) return;&#xA;&#xA;            var values = RunEnumeration(args.Source);&#xA;            if (values != null &amp;amp;&amp;amp; values.Length &amp;gt; 0)&#xA;                args.Result.AddRange(values);&#xA;            args.AbortPipeline();&#xA;        }&#xA;&#xA;        private static string[] RunEnumeration(string templateSource)&#xA;        {&#xA;            templateSource = templateSource.Replace(&quot;code:&quot;, string.Empty);&#xA;            var valueList = ReflectionUtility.CreateInstance(Type.GetType(templateSource)) as IValueList;&#xA;            return valueList == null ? new string[0] : valueList.ValueListQuery();&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-05T00:02:09.307" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="519" PostTypeId="2" ParentId="490" CreationDate="2016-10-05T00:03:23.593" Score="4" Body="&lt;p&gt;G Killian, I posted a question here about using SimpleInjector which you might find useful also: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/268/simpleinjector-as-default-di-in-sitecore-8-2/275#275&quot;&gt;SimpleInjector as default DI in Sitecore 8.2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It contains a reply from Richard for how you go about swapping out the default DI in Sitecore 8.2 for SimpleInjector which is our preferred framework for our project for a number of reasons but mostly as it's fast and easy to use and has good functionality.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-05T00:03:23.593" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="520" PostTypeId="1" AcceptedAnswerId="522" CreationDate="2016-10-05T00:10:40.740" Score="14" ViewCount="21193" Body="&lt;p&gt;Has anyone experienced an error described in the image below where the HtmlHelper in razor view is not recognizing Sitecore when I try to specify a placeholder?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wWQp1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wWQp1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help!&lt;/p&gt;&#xA;" OwnerUserId="84" LastEditorUserId="246" LastEditDate="2016-10-05T01:09:09.383" LastActivityDate="2018-06-28T20:29:27.707" Title="C# MVC razor view - HtmlHelper does not contain a definition for 'Sitecore'" Tags="|mvc|razor|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="521" PostTypeId="2" ParentId="385" CreationDate="2016-10-05T00:22:34.700" Score="4" Body="&lt;p&gt;I agree that this is many questions in one. As a start though this is from the Sitecore 6.3 PDF:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Event Queues&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To ensure data and cache coherence and support communication between instances in an environment and between CM and CD environments, Sitecore CMS 6.3 maintains event queues as tables in Sitecore databases. Each Sitecore instance accesses one Database Event Queue for each database, and writes database events relevant to the containing database to each queue. Each instance designates one of the Database Event Queues as the System Event Queue, and additionally writes system events to that queue. The System Event Queue contains events related to security, publishing, and other operations. By default, Sitecore manages the System Event Queue in the Core database. Unless&#xA;directed otherwise, each instance processes database and system events in all database queues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info here: &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/63/introducing_sitecore_cms_6.3_a4.pdf&quot; rel=&quot;nofollow&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/63/introducing_sitecore_cms_6.3_a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also some great info on how to enable this and how it works here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorebasics.wordpress.com/2011/03/19/basics-of-sitecore-event-queue/&quot; rel=&quot;nofollow&quot;&gt;https://sitecorebasics.wordpress.com/2011/03/19/basics-of-sitecore-event-queue/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-05T00:22:34.700" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="522" PostTypeId="2" ParentId="520" CreationDate="2016-10-05T00:27:40.373" Score="24" Body="&lt;p&gt;There's a &lt;code&gt;web.config&lt;/code&gt; that has Sitecore references that should exist in the &lt;code&gt;/Views&lt;/code&gt; that is probably not right.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be a common occurrence if using a new .NET MVC Project in Visual Studio and it accidently overwrites the Sitecore version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can grab the web.config from the Sitecore Vanilla Zip file to compare.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;   &amp;lt;system.web.webPages.razor&amp;gt;&#xA;     &amp;lt;host factoryType=&quot;System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;      &amp;lt;pages pageBaseType=&quot;System.Web.Mvc.WebViewPage&quot;&amp;gt;&#xA;        &amp;lt;namespaces&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Mvc&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Mvc.Ajax&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Mvc.Html&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Routing&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;Sitecore.Mvc&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;Sitecore.Mvc.Presentation&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Optimization&quot; /&amp;gt;&#xA;        &amp;lt;/namespaces&amp;gt;&#xA;      &amp;lt;/pages&amp;gt;&#xA;  &amp;lt;/system.web.webPages.razor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-05T01:41:44.900" LastActivityDate="2016-10-05T01:41:44.900" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="523" PostTypeId="1" AcceptedAnswerId="524" CreationDate="2016-10-05T00:33:59.763" Score="6" ViewCount="1107" Body="&lt;p&gt;I am looking to run some custom logic (likely some rules) whenever an item is added from a particular branch template. How can I trigger this logic to run, in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-05T00:39:35.773" Title="Execute custom logic whenever an item is added from a particular branch template" Tags="|events|branch|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="524" PostTypeId="2" ParentId="523" CreationDate="2016-10-05T00:34:32.423" Score="5" Body="&lt;p&gt;There are actually a few options here:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Command Templates&lt;/li&gt;&#xA;&lt;li&gt;Event handlers (&lt;code&gt;item:added&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Pipeline processors (&lt;code&gt;uiAddFromTemplate&lt;/code&gt;, &lt;code&gt;addFromTemplate&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Command Templates&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is by far the simplest solution, requiring the least implementation effort but is also the least extensible and flexible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you would do is create a command template item under the branch template that you would would like to run the logic from. You would then reference your code from the command template or you could add a script directly to the command template, though I advise against this. To add a little extensibility, you could make a branch template specifically for the command template and add an instance of that branch template to whichever branch template(s) you would like the logic to be run for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Event Handler&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I should start by noting that the &lt;code&gt;item:added&lt;/code&gt; event has been deprecated (not sure which version), and unfortunately the branch template cannot be retrieved from the args of the &lt;code&gt;item:created&lt;/code&gt; event. However, if you are using an older version of Sitecore then this is still an (albeit unrecommended) option. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you would do is create your &lt;code&gt;item:added&lt;/code&gt; handler and trigger your custom logic, rules, etc. from there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pipeline Processors&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my recommended approach, and the most extensible, flexible and currently supported solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two pipeline processors that you could use for this: the &lt;code&gt;uiAddFromTemplate&lt;/code&gt; pipeline and the new &lt;code&gt;AddFromTemplate&lt;/code&gt; (item provider) pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;uiAddFromTemplate&lt;/code&gt; pipeline runs whenever someone right-clicks an item and adds an item via the &quot;Add From Template&quot; flyout context menu. There is some good documentation out there on this pipeline, between Sitecore docs and blog posts, but there is a major problem with it: the item has to be added from the UI (using the method described above), i.e. adding an item from code or any other method will not trigger the pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other option is to use the &lt;code&gt;AddFromTemplate&lt;/code&gt; pipline, which is one of the new item provider pipelines. The &lt;code&gt;AddFromTemplate&lt;/code&gt; pipeline succeeds where the &lt;code&gt;uiAddFromTemplate&lt;/code&gt; pipeline fails, in that it is run whenever an item is added, regardless of whether the ite was added from the UI or from code. Note that the pipeline will run once per transaction, i.e. if you are adding a single item it will run once, and if you are adding a branch template it will run once for the entire subtree being added. In contrast to the &lt;code&gt;uiAddFromTemplate&lt;/code&gt; pipeline, there is pretty much no documentation and I have seen very little in the way of blog posts about the &lt;code&gt;AddFromTemplate&lt;/code&gt; pipeline. This is likely because of how new the item provider pipelines are and is likely to change in the future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now, I'm just going to leave this right here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Process([NotNull] AddFromTemplateArgs args)&#xA;{&#xA;    // this is managed in configuration (runIfAborted=true would have to be set to override the value)&#xA;    if (args.Aborted)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    Assert.IsNotNull(args.FallbackProvider, &quot;FallbackProvider is null&quot;);&#xA;&#xA;    try&#xA;    {&#xA;        var item = args.FallbackProvider.AddFromTemplate(args.ItemName, args.TemplateId, args.Destination, args.NewId);&#xA;        if (item == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        args.ProcessorItem = args.Result = item;&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        Log.Error(&quot;PROCESSOR NAME for Pipeline AddFromTemplate failed. Removing partially created item if it exists.&quot;, ex, this);&#xA;&#xA;        var item = args.Destination.Database.GetItem(args.NewId);&#xA;        item?.Delete();&#xA;&#xA;        throw;&#xA;    }&#xA;&#xA;    // your logic here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-10-05T00:39:35.773" LastActivityDate="2016-10-05T00:39:35.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="525" PostTypeId="2" ParentId="507" CreationDate="2016-10-05T00:37:52.633" Score="5" Body="&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;:&#xA;I've recently written about this on my blog and created an SPE script with quite a nice UI to do this for you:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.flux-digital.com/blog/removing-unneeded-sitecore-versions-spe/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.flux-digital.com/blog/removing-unneeded-sitecore-versions-spe/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;p&gt;To add to this, there are some modules out there for archiving versions:&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Version_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Version_Manager.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;There are some good blog posts about options for archiving too:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/rules-engine-actions-to-remove-old-versions-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/rules-engine-actions-to-remove-old-versions-in-the-sitecore-asp-net-cms&lt;/a&gt; &lt;strong&gt;- a nice solution using the rules engine&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorepm.wordpress.com/2012/11/30/introducing-the-sitecore-version-pruner-shared-source-module/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorepm.wordpress.com/2012/11/30/introducing-the-sitecore-version-pruner-shared-source-module/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;http://robearlam.com/blog/extending-sitecore-revolver-to-remove-old-versions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://robearlam.com/blog/extending-sitecore-revolver-to-remove-old-versions/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2022-07-21T17:27:39.150" LastActivityDate="2022-07-21T17:27:39.150" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="526" PostTypeId="2" ParentId="509" CreationDate="2016-10-05T00:47:12.353" Score="1" Body="&lt;p&gt;The templates of the items in the packages might be missing in the environment installation.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you can try disabling index updates while you run the Sitecore package installation.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;setting name=&quot;Indexing.UpdateInterval&quot; value=&quot;00:00:00&quot;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoreblog.alexshyba.com/sitecore_installation_wizard_disable_search_index_update_during_install/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreblog.alexshyba.com/sitecore_installation_wizard_disable_search_index_update_during_install/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="5387" LastEditDate="2019-08-01T08:12:23.907" LastActivityDate="2019-08-01T08:12:23.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="527" PostTypeId="2" ParentId="481" CreationDate="2016-10-05T00:48:36.690" Score="2" Body="&lt;p&gt;There is a good post here on it here from Mike Reynolds:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2014/06/14/show-submitted-web-forms-for-marketers-form-field-values-on-a-confirmation-page-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2014/06/14/show-submitted-web-forms-for-marketers-form-field-values-on-a-confirmation-page-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a lot of steps though to this approach. You may find it better to save them before redirecting instead as suggested by JammyKam here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/31957098/sitecorewffm-custom-error-message-with-details-on-same-page-with-form&quot;&gt;https://stackoverflow.com/questions/31957098/sitecorewffm-custom-error-message-with-details-on-same-page-with-form&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-- UPDATE ---&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't want to go for either of these approaches you could try creating a custom save action with a Success Redirect. However I've not tested if you can get the form values from args.Form or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://seitenkern.com/2015/08/03/web-forms-for-marketers-wffm-%E2%80%92-part-3-%E2%80%92-multipart-form-and-a-custom-save-action/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://seitenkern.com/2015/08/03/web-forms-for-marketers-wffm-%E2%80%92-part-3-%E2%80%92-multipart-form-and-a-custom-save-action/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/PetersonDave/5096452&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/PetersonDave/5096452&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is another good example here that might be useful:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://petersondave.wordpress.com/2013/10/10/trigger-google-analytics-events-on-sitecore-web-forms-for-marketers-submit-actions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://petersondave.wordpress.com/2013/10/10/trigger-google-analytics-events-on-sitecore-web-forms-for-marketers-submit-actions/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-05T10:14:00.647" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="528" PostTypeId="1" AcceptedAnswerId="529" CreationDate="2016-10-05T00:59:56.307" Score="11" ViewCount="435" Body="&lt;p&gt;Sitecore ships with a bunch of disablers, like the &lt;code&gt;SecurityDisabler&lt;/code&gt; and the &lt;code&gt;EventsDisabler&lt;/code&gt;, but what if I want to write my own? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a bunch of &lt;code&gt;item:saved&lt;/code&gt; event handlers that run but when I add a new item from a particular snippet of code I want to disable one of my &lt;code&gt;item:saved&lt;/code&gt; event handlers' logic. If possible, I would like to have a solution that I could use for the same purpose in a custom pipeline processor too. How would I go about this?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T14:56:26.507" LastActivityDate="2017-08-08T14:56:26.507" Title="How can I write my own custom disabler?" Tags="|pipelines|events|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="529" PostTypeId="2" ParentId="528" CreationDate="2016-10-05T00:59:56.307" Score="13" Body="&lt;p&gt;Sitecore's built in disablers, like the &lt;code&gt;SecurityDisabler&lt;/code&gt; and the &lt;code&gt;EventsDisabler&lt;/code&gt; classes, all inherit the Sitecore-provided &lt;code&gt;Switcher&lt;/code&gt; class. This class is an &lt;code&gt;IDisposable&lt;/code&gt; that can be used to create disablers for use in both pipeline processors and event handlers, without issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Switcher&lt;/code&gt; class is easy enough to implement, but I have written a more readable abstract class to serve as a base for disablers that you may find useful:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public abstract class Disabler&amp;lt;TSwitchType&amp;gt; : Switcher&amp;lt;DisablerState, TSwitchType&amp;gt;&#xA;    {&#xA;        public Disabler() : base(DisablerState.Enabled)&#xA;        {&#xA;        }&#xA;&#xA;        public static bool IsActive =&amp;gt; CurrentValue == DisablerState.Enabled;&#xA;    }&#xA;&#xA;    public enum DisablerState&#xA;    {&#xA;        Disabled,&#xA;        Enabled&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the &lt;code&gt;Switcher&lt;/code&gt; class is used for more than just Sitecore's disablers. It is also used for Sitecore's various &lt;code&gt;____Switcher&lt;/code&gt; classes, like the &lt;code&gt;SiteContextSwitcher&lt;/code&gt;, the &lt;code&gt;LanguageSwitcher&lt;/code&gt;, and more. The class works by reading from and moving objects in the stack, and arguably one of the most under-utilized features of the Sitecore API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example 1: Pipeline Processor Disabler&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I first created the following disabler:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public sealed class SaveItemLogicDisabler : Disabler&amp;lt;SaveItemLogicDisabler&amp;gt;&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I then created my &lt;code&gt;&amp;lt;saveItem&amp;gt;&lt;/code&gt; pipeline processor and added a check to see if the disabler was active. If so, I skipped executing &lt;em&gt;that processor&lt;/em&gt;. Note that I made the intentional implementation decision to not abort the pipeline, here, as there are other processors that I may still want to run. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public override void Process([NotNull] SaveItemArgs args)&#xA;    {&#xA;        // this is managed in configuration (runIfAborted=true would have to be set to override the value)&#xA;        if (args.Aborted)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Assert.IsNotNull(args.Item, &quot;Item is null&quot;);&#xA;        Assert.IsNotNull(args.FallbackProvider, &quot;FallbackProvider is null&quot;);&#xA;&#xA;        args.ProcessorItem = args.Item;&#xA;        args.Result = args.FallbackProvider.SaveItem(args.Item);&#xA;&#xA;        // check disabler and decide whether or not to continue execution&#xA;        if (SaveItemLogicDisabler.IsActive)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        // additional processor logic here...&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example 2: Event Handler Disabler&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say that I want to use the same disabler for my &lt;code&gt;item:saved&lt;/code&gt; events. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can actually do the exact same check inside of my event handler:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    private void OnItemSaved([NotNull] object sender, [NotNull] EventArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(sender, nameof(sender));&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        if (string.IsNullOrWhiteSpace(this.RuleFolderId))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        // check disabler and decide whether or not to continue execution&#xA;        if (SaveItemLogicDisabler.IsActive)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        // additional handler logic here...&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="237" LastEditDate="2016-10-12T07:47:16.950" LastActivityDate="2016-10-12T07:47:16.950" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="531" PostTypeId="1" CreationDate="2016-10-05T01:21:24.600" Score="7" ViewCount="1179" Body="&lt;p&gt;What's the best approach to migrate disk-based media into the database? We inherited a large enterprise site that's getting forklifted to Sitecore 8.2, and it currently uses file-based media. We want to move these into the database, as that's our standard, and makes the solution more scalable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a reference somewhere to a shared source component, but the link is dead: &lt;a href=&quot;http://trac.sitecore.net/MediaConversionTool/&quot; rel=&quot;noreferrer&quot;&gt;http://trac.sitecore.net/MediaConversionTool/&lt;/a&gt; (DEAD LINK)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything particular for Sitecore 8.x that others are using?&lt;/p&gt;&#xA;" OwnerUserId="192" LastEditorUserId="73" LastEditDate="2019-03-29T12:00:16.647" LastActivityDate="2019-03-29T12:00:16.647" Title="Convert disk based media to database" Tags="|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="532" PostTypeId="2" ParentId="520" CreationDate="2016-10-05T01:32:36.237" Score="1" Body="&lt;p&gt;I think you are missing Sitecore from your Views web.config. You web.config in the /views folder should look like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;system.web.webPages.razor&amp;gt;&#xA;     &amp;lt;host factoryType=&quot;System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;      &amp;lt;pages pageBaseType=&quot;System.Web.Mvc.WebViewPage&quot;&amp;gt;&#xA;        &amp;lt;namespaces&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Mvc&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Mvc.Ajax&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Mvc.Html&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Routing&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;Sitecore.Mvc&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;Sitecore.Mvc.Presentation&quot; /&amp;gt;&#xA;          &amp;lt;add namespace=&quot;System.Web.Optimization&quot; /&amp;gt;&#xA;        &amp;lt;/namespaces&amp;gt;&#xA;      &amp;lt;/pages&amp;gt;&#xA;  &amp;lt;/system.web.webPages.razor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-10-05T01:32:36.237" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="533" PostTypeId="2" ParentId="531" CreationDate="2016-10-05T01:43:04.613" Score="12" Body="&lt;p&gt;You have a few good options.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Module:&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You were probably looking for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Media_Conversion_Tool.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Media_Conversion_Tool.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Custom Code&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I would convert the code in this article to a script in Sitecore PowerShell Extensions since you can both run the existing report for finding them plus run the conversion. Actually sounds like a nice addition to the &lt;em&gt;Media Library Maintenance&lt;/em&gt; module bundled with SPE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://adesev.wordpress.com/2014/08/06/convert-file-based-media-to-database-storage/&quot; rel=&quot;noreferrer&quot;&gt;https://adesev.wordpress.com/2014/08/06/convert-file-based-media-to-database-storage/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Couldn't help myself so I decided to try this myself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I first ran the SPE report to confirm that there were items that were file based.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8HmRQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8HmRQ.png&quot; alt=&quot;Database or File based media&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is currently one on my system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Daiy8.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Daiy8.png&quot; alt=&quot;File based item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Little rough and needs some testing but this should do it for you in SPE.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Get-MediaItemFileBased {&#xA;    Get-ChildItem -Path &quot;master:\sitecore\media library&quot; -Recurse | &#xA;        Where-Object { $_.TemplateID -ne [Sitecore.TemplateIDs]::MediaFolder } |&#xA;        ForEach-Object {&#xA;            $mediaItem = New-Object Sitecore.Data.Items.MediaItem $PSItem&#xA;            if($mediaItem.FileBased) {&#xA;                $mediaItem&#xA;            }&#xA;        }&#xA;}&#xA;&#xA;function ConvertTo-MediaItemDatabaseBased {&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Parameter(Mandatory=$true, ValueFromPipeline=$true)]&#xA;        [ValidateNotNullOrEmpty()]&#xA;        [Sitecore.Data.Items.MediaItem]$MediaItem&#xA;    )&#xA;&#xA;    if($MediaItem -eq $null) { continue }&#xA;&#xA;    $filePath = [Sitecore.IO.FileUtil]::MapPath($MediaItem.FilePath)&#xA;    $fileInfo = Get-Item -Path $filePath&#xA;    if($fileInfo.Exists) {&#xA;        $mediaCreator = New-Object Sitecore.Resources.Media.MediaCreator&#xA;        $mediaItemFullPath = $MediaItem.InnerItem.Paths.Path&#xA;        $mediaCreatorOptions = New-Object Sitecore.Resources.Media.MediaCreatorOptions&#xA;        $mediaCreatorOptions.FileBased = $false&#xA;        $mediaCreatorOptions.Destination = $mediaItemFullPath&#xA;        $mediaCreatorOptions.KeepExisting = $false&#xA;&#xA;        $filename = $mediaItem.Name + &quot;.&quot; + $mediaItem.Extension&#xA;        $mediaCreator.AttachStreamToMediaItem($fileInfo.Open([System.IO.FileMode]::Open), $mediaItemFullPath, $filename, $mediaCreatorOptions)&#xA;    }&#xA;}&#xA;&#xA;Get-MediaItemFileBased | ConvertTo-MediaItemDatabaseBased&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-10-05T02:54:21.227" LastActivityDate="2016-10-05T02:54:21.227" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="535" PostTypeId="1" CreationDate="2016-10-05T02:05:08.823" Score="10" ViewCount="2753" Body="&lt;p&gt;I just installed the URL Rewrite Module for Sitecore 8.1. However, I do not believe the simple redirects are working correctly. I get my page not found page versus getting the page I want redirected to. The documentation is not very clear either. I need to know what is the proper format for the Path field in the in Simple Redirect template. For example, do I put in &lt;a href=&quot;http://www.xyzcompany.com/about/test/testpage&quot; rel=&quot;noreferrer&quot;&gt;http://www.xyzcompany.com/about/test/testpage&lt;/a&gt; or /about/test/testpage or what exactly is the proper format here? I just want an incoming old URL to go to the new URL, plain and simple. If someone has a working instance of URL Rewrite Module with Sitecore 8.1 that can help to make my simple redirects work I would greatly appreciate any insight. Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="73" LastEditDate="2016-11-24T18:07:16.117" LastActivityDate="2017-03-19T03:24:44.703" Title="URL Rewrite Module Format for Simple Redirects" Tags="|module|url-rewrite|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="536" PostTypeId="2" ParentId="484" CreationDate="2016-10-05T02:07:54.233" Score="0" Body="&lt;p&gt;Have you tried deleting the Jquery version referenced by WFFM from the file system? From memory this should prevent WFFM adding it to the page. You should then just be able to include your own jquery version in your page layout (at the correct point) and you should be good to go - assuming WFFM 2.4 doesn't require this exact version of JQuery.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also are you running a Web Forms or Sitecore MVC Site?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-- Update --&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option might be to use &lt;a href=&quot;http://htmlagilitypack.codeplex.com/&quot; rel=&quot;nofollow&quot;&gt;HTML Agility Pack&lt;/a&gt; to parse the HTML and strip some script tags out of the page. I've done this kind of thing in the past and I believe older versions of Sitecore / WFFM shipped with this dll anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example of removing script tags (replace the sample html with the html from the page):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();&#xA;        string sampleHtml = &#xA;            &quot;&amp;lt;html&amp;gt;&quot; +&#xA;                &quot;&amp;lt;head&amp;gt;&quot; + &#xA;                        &quot;&amp;lt;script type=\&quot;text/javascript\&quot; src=\&quot;jquery.js\&quot;&amp;gt;&amp;lt;/script&amp;gt;&quot; +&#xA;                        &quot;&amp;lt;script type=\&quot;text/javascript\&quot;&amp;gt;&quot; + &#xA;                            &quot;if (window.self === window.top) { $.getScript(\&quot;Wing.js\&quot;); }&quot; +&#xA;                        &quot;&amp;lt;/script&amp;gt;&quot; +&#xA;                &quot;&amp;lt;/head&amp;gt;&quot; +&#xA;            &quot;&amp;lt;/html&amp;gt;&quot;;&#xA;        MemoryStream ms = new MemoryStream(Encoding.ASCII.GetBytes(sampleHtml));&#xA;&#xA;        doc.Load(ms);&#xA;&#xA;        List&amp;lt;HtmlNode&amp;gt; nodes = new List&amp;lt;HtmlNode&amp;gt;(doc.DocumentNode.Descendants(&quot;head&quot;));&#xA;        int childNodeCount = nodes[0].ChildNodes.Count;&#xA;        for (int i = 0; i &amp;lt; childNodeCount; i++)&#xA;            nodes[0].ChildNodes.Remove(0);&#xA;        Console.WriteLine(doc.DocumentNode.OuterHtml);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Mike Reynolds has an example of using HTML agility pack with WFFM here also:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2013/07/28/add-javascript-to-the-client-onclick-event-of-the-sitecore-wffm-submit-button/&quot; rel=&quot;nofollow&quot;&gt;https://sitecorejunkie.com/2013/07/28/add-javascript-to-the-client-onclick-event-of-the-sitecore-wffm-submit-button/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-11T22:31:00.183" LastActivityDate="2016-10-11T22:31:00.183" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="537" PostTypeId="2" ParentId="535" CreationDate="2016-10-05T02:34:04.373" Score="3" Body="&lt;p&gt;The path should be the relative to the root of the site (no scheme or domain).  It sounds like you also have an error page module or custom built functionality also installed.  My guess is that module is running and returning your 404 page before the URL Rewrite module has a chance to run.  Check the httpRequestBegin pipeline in /sitecore/admin/showconfig.aspx to see if there is a not-found processor before the URL Rewrite.  If so, try adjusting your patch configs so that the URL Rewrite module runs first.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-05T02:34:04.373" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="538" PostTypeId="2" ParentId="535" CreationDate="2016-10-05T02:36:15.123" Score="12" Body="&lt;p&gt;In my investigation and research into this issue I spoke with Andy Cohen the contributor for this module and he let me know that here is the proper format for Simple Redirect paths:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://xyzcompany.com/about&quot;&gt;http://xyzcompany.com/about&lt;/a&gt; would just be &lt;code&gt;about&lt;/code&gt; in the Path field just the name of the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you have a page that is multiple pages deep you separate the folders with a pair of arms (regex stuff). It will look something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://xyzcompany.com/about/tom/dick/harry&quot;&gt;http://xyzcompany.com/about/tom/dick/harry&lt;/a&gt; would be: &lt;code&gt;about\/tom\/dick\/harry&lt;/code&gt; in the Path field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I verified this works and my redirects are working. Hope this helps someone else. Happy coding!&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2016-10-05T02:36:15.123" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="539" PostTypeId="2" ParentId="531" CreationDate="2016-10-05T02:59:00.897" Score="2" Body="&lt;p&gt;You could just copy them to the upload folder in your web root.  Sitecore watches that folder for changes and adds any files that show up there to the media library.  You will want to make sure you have a decent folder structure set up ahead of time as it uploads to the root of the media library unless you add subfolders.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-05T02:59:00.897" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="540" PostTypeId="1" AcceptedAnswerId="548" CreationDate="2016-10-05T03:05:10.447" Score="10" ViewCount="417" Body="&lt;p&gt;I am looking for a way to keep all IIS settings, modules and Sitecore versions in sync across multiple developer environments in a team setting. Is there a way to use Sitecore Instance Manager (SIM), or other tools, to automate a development environment setup?&lt;/p&gt;&#xA;" OwnerUserId="23" LastEditorUserId="135" LastEditDate="2018-12-06T20:18:21.753" LastActivityDate="2018-12-06T20:18:21.753" Title="Sitecore Instance Manager developer environment setup" Tags="|installation|sim|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="541" PostTypeId="2" ParentId="494" CreationDate="2016-10-05T04:54:00.943" Score="4" Body="&lt;p&gt;I haven't used the module in 8.2, but in 8.1 I had to change LuceneSearchWithSpatialContext.cs and remove the following constructor&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected LuceneSearchWithSpatialContext(ILuceneProviderIndex index,  CreateSearcherOption options = CreateSearcherOption.Writeable, SearchSecurityOptions securityOptions = SearchSecurityOptions.EnableSecurityCheck) :base(index,options,securityOptions)&#xA;{&#xA;    Assert.ArgumentNotNull(index, &quot;index&quot;);&#xA;    this.index = index;&#xA;    this.settings = this.index.Locator.GetInstance&amp;lt;IContentSearchConfigurationSettings&amp;gt;();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update the Sitecore.ContentSearch.Spatial.config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearchSpatial&amp;gt;&#xA;      &amp;lt;IncludeTemplates&amp;gt;&#xA;        &amp;lt;!-- * Include your location template details, like template id, latitude field name and longitude field name&#xA;             * You can include multiple templates &#xA;        --&amp;gt;&#xA;        &amp;lt;!--&amp;lt;Template id=&quot;{TEMPLATE ID}&quot; LatitudeField=&quot;[Latitude Field Name]&quot; LongitudeField=&quot;[Longitude Field Name]&quot;&amp;gt;&amp;lt;/Template&amp;gt;--&amp;gt;&#xA;      &amp;lt;/IncludeTemplates&amp;gt;&#xA;    &amp;lt;/contentSearchSpatial&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;spatialLuceneIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot;  type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;          &amp;lt;documentBuilderType&amp;gt;Sitecore.ContentSearch.Spatial.Indexing.LuceneSpatialDocumentBuilder, Sitecore.ContentSearch.Spatial&amp;lt;/documentBuilderType&amp;gt;&#xA;        &amp;lt;/spatialLuceneIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your index should use the following configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;index_id&quot; type=&quot;Sitecore.ContentSearch.Spatial.Provider.Lucene.LuceneIndexWithSpatial, Sitecore.ContentSearch.Spatial&quot;&amp;gt;&#xA;            ...&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="439" LastEditorUserId="439" LastEditDate="2016-10-06T22:40:00.513" LastActivityDate="2016-10-06T22:40:00.513" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="542" PostTypeId="1" AcceptedAnswerId="547" CreationDate="2016-10-05T05:17:09.000" Score="26" ViewCount="820" Body="&lt;p&gt;Following the Helix modular architecture, my solution is divided into a large amount of separate projects. To deploy the solution as a single package, we need to package all assets, configuration files, views aso. from all the projects into a single deployment package. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Habitat is using gulp for this purpose, however I prefer limiting the amount of dependent tools to a minimum. We are already using Powershell as a tool in our deployment setup, thus this would be the preferred tool for this task also. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any Powershell port of the Habitat gulp tools available? Does any of you have experience with another approach for deploying solutions based on Helix?&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="247" LastEditDate="2016-10-05T12:29:29.910" LastActivityDate="2016-10-07T13:26:03.030" Title="How to package a Helix solution using powershell" Tags="|helix|continuous-integration|automation|powershell|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="543" PostTypeId="2" ParentId="490" CreationDate="2016-10-05T05:45:40.137" Score="4" Body="&lt;p&gt;A central challenge in respect to Habitat/Helix is the modular architecture - each module is self-contained and does not know of the other modules (and possibly the underlying framework). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://ctor.io/one-way-to-implement-dependency-injection-for-sitecore-habitat/&quot; rel=&quot;nofollow&quot;&gt;Kevin Brechbühl&lt;/a&gt; handles the modular architecture, but adds a reference to the container in all modules. This tight coupling breaks the Composition Root pattern as described by &lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/09/17/Habitat-Dependency-Injection-with-Sitecore-8-2/&quot; rel=&quot;nofollow&quot;&gt;Richard Seal&lt;/a&gt;. The approach described in Richards blog post removes this dependency (though retaining a dependency on MS DI Abstractions).&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2016-10-05T05:45:40.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="544" PostTypeId="1" AcceptedAnswerId="602" CreationDate="2016-10-05T06:11:39.527" Score="12" ViewCount="1539" Body="&lt;p&gt;A table named &lt;code&gt;EventQueue&lt;/code&gt; is present in every Sitecore database. It seems to contain local and remote events of Sitecore instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why are some of these events stored in the Core, some in the Master, and some in the Web database? What is the reason behind this separation?&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2018-03-11T06:35:39.963" LastActivityDate="2018-03-11T12:05:57.773" Title="Why is event data stored in every Sitecore database?" Tags="|events|event-queue|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="545" PostTypeId="1" CreationDate="2016-10-05T06:15:53.747" Score="3" ViewCount="66" Body="&lt;p&gt;In Sitecore databases, the &lt;code&gt;EventQueue&lt;/code&gt; table contains both local and remote events of Sitecore instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is there a need to track local events? Can't they just be handled internally in the instance that fired them?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-05T18:43:34.277" Title="What is the purpose of storing local events in the `EventQueue`?" Tags="|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="546" PostTypeId="1" AcceptedAnswerId="696" CreationDate="2016-10-05T06:20:46.423" Score="12" ViewCount="1879" Body="&lt;p&gt;Sitecore stores its events in a database table called &lt;code&gt;EventQueue&lt;/code&gt;. It is used for centralized event-based communication between Sitecore instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sometimes this table grows quite large and it needs to be cleared of old events. Of course, there's a &lt;code&gt;CleanupEventQueue&lt;/code&gt; task in Sitecore that you can schedule to run periodically. But sometimes one may need to clean that table manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is, when is it safe to remove an &lt;code&gt;EventQueue&lt;/code&gt; record from the table? Or in other words, how can I know that a remote event has been fully processed by all instances?&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="78" LastEditDate="2016-10-12T11:11:40.670" LastActivityDate="2018-03-11T20:51:15.533" Title="When is it safe to remove an `EventQueue` record?" Tags="|events|sql-database|event-queue|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="547" PostTypeId="2" ParentId="542" CreationDate="2016-10-05T06:51:34.200" Score="21" Body="&lt;p&gt;You might want to consider &lt;a href=&quot;https://github.com/psake/psake&quot;&gt;psake&lt;/a&gt;. It is a task based build system written in Powershell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A good starting point would be this piece of code:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Let's define layers here&#xA;$layers = @( &quot;Foundation&quot;, &quot;Feature&quot;, &quot;Project&quot; )&#xA;# These folders we want to copy to our target&#xA;$foldersToCopy = @( &quot;Views&quot;, &quot;bin&quot;, &quot;App_Config&quot; )&#xA;&#xA;# This is the default task which will run if no tasks are specified&#xA;task default -depends CreateReleasePackage&#xA;&#xA;# This is the main task of the scrip - it creates release package&#xA;# It relies on Clear to make sure all the garbage from previous run is out&#xA;task CreateReleasePackage -Depends Clear,Prepare,BuildSolution {&#xA;    $layers |% {&#xA;        Process-Layer $_&#xA;    }&#xA;}&#xA;&#xA;# Cleanup task to remove output of the previous run&#xA;task Clear {&#xA;    if (Test-Path &quot;../target&quot;) {&#xA;        Remove-Item &quot;../target&quot; -recurse&#xA;    }&#xA;}&#xA;&#xA;# Prepare the folders to simplify copying code&#xA;task Prepare {&#xA;    New-Item -type Directory &quot;../target&quot;&#xA;    $foldersToCopy |% {&#xA;        New-Item -type Directory &quot;../target/$_&quot;&#xA;    }&#xA;}&#xA;&#xA;# If the solution is not built there is a lot of stuff missing&#xA;task BuildSolution {&#xA;    Exec { msbuild &quot;../Habitat.sln&quot; }&#xA;}&#xA;&#xA;# Function to process Layer, ie. iterate over it's directories&#xA;function Process-Layer {&#xA;    param( [string]$layer )&#xA;    Write-Host &quot;Creating release package for layer: $layer&quot;&#xA;    Get-ChildItem ../src/$layer |% {&#xA;        Process-Module $layer $_.Name&#xA;    }&#xA;&#xA;}&#xA;&#xA;# This function does all the job - it collects the interesting data from the project and copy it to common folder&#xA;function Process-Module {&#xA;    param( [string]$layer, [string]$moduleName )&#xA;&#xA;    $foldersToCopy |% {&#xA;        $folderName = $_&#xA;        $folder = &quot;../src/$layer/$moduleName/code/$folderName&quot;&#xA;        # Better check if the folder exists, some modules might not have views or configs&#xA;        if (Test-Path $folder) {&#xA;            Write-Host &quot;Copying $folder to ../target/$folderName&quot;&#xA;&#xA;            copy-item &quot;$folder/*&quot; &quot;../target/$folderName&quot; -force -recurse -Exclude &quot;Debug&quot;&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now all you have to do is to call a following script from a folder where you have your psake directory:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Module ./psake/psake.psm1&#xA;&#xA;Invoke-Psake ./build.ps1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note that this is build agains Habitat project and it might be slightly different depending on how your solution is organized&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;And since you already mentioned powershell it is worth mentioning, that using Sitecore Powershell Extensions you can also automate creation of a Sitecore packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do this using &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/New-Package.html&quot;&gt;create-package&lt;/a&gt; cmdlet&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Create package&#xA;   $package = new-package &quot;Sitecore PowerShell Extensions&quot;;&#xA;&#xA;# Set package metadata&#xA;   $package.Sources.Clear();&#xA;&#xA;   $package.Metadata.Author = &quot;John Doe&quot;;&#xA;   $package.Metadata.Publisher = &quot;ACME Ltd&quot;;&#xA;   $package.Metadata.Version = &quot;1.0&quot;;&#xA;   $package.Metadata.Readme = 'Information about your package'&#xA;&#xA;# Add contnet/home to the package&#xA;    $source = Get-Item 'master:\content\home' | New-ItemSource -Name 'Home Page' -InstallMode Overwrite&#xA;    $package.Sources.Add($source);&#xA;&#xA;# Save package&#xA;   Export-Package -Project $package -Path &quot;$($package.Name)-$($package.Metadata.Version).zip&quot; -Zip&#xA;&#xA;# Offer the user to download the package&#xA;   Download-File &quot;$SitecorePackageFolder\$($package.Name)-$($package.Metadata.Version).zip&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-10-07T13:26:03.030" LastActivityDate="2016-10-07T13:26:03.030" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="548" PostTypeId="2" ParentId="540" CreationDate="2016-10-05T06:59:57.440" Score="3" Body="&lt;p&gt;We have used a powershell script that does everything:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;install SQL databases&lt;/li&gt;&#xA;&lt;li&gt;install solr and configure&lt;/li&gt;&#xA;&lt;li&gt;configure IIS&lt;/li&gt;&#xA;&lt;li&gt;install Sitecore&lt;/li&gt;&#xA;&lt;li&gt;build base VS projects&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would suggest investigating powershell. It will give you a lot of flexibility, for example different steps for different teams.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2016-10-05T06:59:57.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="549" PostTypeId="1" AcceptedAnswerId="3416" CreationDate="2016-10-05T07:08:15.730" Score="7" ViewCount="1167" Body="&lt;p&gt;We have a solution that was upgraded from 6.5 to 7.2. After this upgrade we are having issues where &lt;code&gt;Item.Editing.EndEdit()&lt;/code&gt; no longer triggers &lt;code&gt;item:saving&lt;/code&gt;/&lt;code&gt;item:saved&lt;/code&gt; events. Therefore changes made to the item prior to the &lt;code&gt;EndEdit()&lt;/code&gt; are not saved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;EventDisabler.IsActive&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt; and &lt;code&gt;EndEdit()&lt;/code&gt; doesn't throw any exception. Anyone have any idea to what can be happening?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void SetFieldValue(string itemId, string fieldName, string value)&#xA;{&#xA;    Database masterDB = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;    var item = masterDB.GetItem(new ID(itemId));&#xA;    var valuefield = item.Fields[fieldName].Value;&#xA;    using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;    {&#xA;        item.Editing.BeginEdit();&#xA;        item.Fields[fieldName].Value = valuefield + value;&#xA;        item.Editing.EndEdit();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="480" LastEditorUserId="237" LastEditDate="2016-10-11T20:54:12.357" LastActivityDate="2016-12-16T12:34:10.987" Title="after upgrade from 6.5 to 7.2 Item.Editing.EndEdit() no longer fires event" Tags="|events|upgrade|" AnswerCount="2" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="550" PostTypeId="1" AcceptedAnswerId="551" CreationDate="2016-10-05T07:12:08.500" Score="8" ViewCount="1514" Body="&lt;p&gt;In &lt;code&gt;Sitecore 7.5&lt;/code&gt;, it keeps the Item name same across all the language versions &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it is like&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For the English language:&lt;/strong&gt; &lt;a href=&quot;http://example.com/products/accessories&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://example.com/products/accessories&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For German language:&lt;/strong&gt; &lt;a href=&quot;http://example.com/de-de/products/accessories&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://example.com/de-de/products/accessories&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is possible out-of-the-box or by some customization in Sitecore to be able to create different URL per language for the same item as below?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Required for German language:&lt;/strong&gt; &lt;a href=&quot;http://example.com/de-de/produkte/zubehoer&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://example.com/de-de/produkte/zubehoer&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site is sharing the same content tree across all languages, so having different content tree per language is not a good option here for me. Also, don't want to use Sitecore Alias due to large number of pages we have in the site.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="5387" LastEditDate="2019-07-31T07:59:58.280" LastActivityDate="2019-07-31T07:59:58.280" Title="How to manage same item with different URL per language version?" Tags="|multilingual|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="551" PostTypeId="2" ParentId="550" CreationDate="2016-10-05T07:16:37.940" Score="15" Body="&lt;p&gt;You can configure the &lt;code&gt;LinkManager&lt;/code&gt; to use Display Name instead of item title when generating URLs.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;linkManager&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;sitecore&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;useDisplayName&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/add&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The items will still resolve using the title though, so you would probably want to implement redirects to the localized url or use canonical URLs.&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="10" LastEditDate="2016-10-17T15:05:04.780" LastActivityDate="2016-10-17T15:05:04.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="552" PostTypeId="2" ParentId="540" CreationDate="2016-10-05T07:26:04.393" Score="3" Body="&lt;p&gt;Another options would be to use VMware kind of software to take snapshot of complete installation of a dev machine and then create developer machines using that snapshot.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SIM is not the tool for your requirement. You can use it to create quick instance. But, not a tool provide sync environments across developer machines.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-05T07:26:04.393" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="553" PostTypeId="2" ParentId="550" CreationDate="2016-10-05T07:37:46.550" Score="0" Body="&lt;p&gt;You can create a separate field to store the localizable name and then override &lt;code&gt;GetItemPathElement&lt;/code&gt; in &lt;code&gt;LinkBuilder&lt;/code&gt; class to use the new field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a bonus you can add option to control use of this field through the configuration (in a similar way @Kasper Gadensgaard suggested to choose using display name).&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-10-17T10:13:53.040" LastActivityDate="2016-10-17T10:13:53.040" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="554" PostTypeId="1" AcceptedAnswerId="654" CreationDate="2016-10-05T08:20:13.080" Score="5" ViewCount="285" Body="&lt;p&gt;I use the &lt;code&gt;WFFM module&lt;/code&gt; for a client. The problem is just that there are wrong texts in the wizard for inserting a form:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select &lt;code&gt;Insert an existing form&lt;/code&gt;, press next.&lt;/li&gt;&#xA;&lt;li&gt;The subtitle under &lt;code&gt;Select a Form&lt;/code&gt; is now &lt;code&gt;Copy an _existing_ form&lt;/code&gt;. This is misleading as the user expects to insert a form, without duplicating it.&lt;/li&gt;&#xA;&lt;li&gt;The last step in the wizard states &lt;code&gt;Confirm the configuration of the _new form_&lt;/code&gt;. which is equally misleading.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is there any way I can correct this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.NET 8.1 (rev. 160519)&lt;/li&gt;&#xA;&lt;li&gt;Web Forms for Marketers 8.1.rev. 160523&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="152" LastEditorUserId="73" LastEditDate="2019-07-31T09:12:05.710" LastActivityDate="2019-07-31T09:12:05.710" Title="Fixing wrong wizard titles" Tags="|wffm|configuration|dictionary|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="555" PostTypeId="1" CreationDate="2016-10-05T08:29:56.533" Score="8" ViewCount="140" Body="&lt;p&gt;I have thought about how to best assemble a &quot;page&quot; document in &lt;code&gt;Lucene/Solr&lt;/code&gt; to later use in &lt;code&gt;Sitecore&lt;/code&gt; when searching for most relevant pages to show to a user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A page consist of many elements which is typically indexed separately in &lt;code&gt;Sitecore&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would I best assemble the item that represents a given &quot;page&quot;? As I see it I would need to extract all reference from the actual page item, look up all related items and store their content in the document representing the &quot;page&quot; document.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This seems kind of bulky if that needs to be performed each time a page item is changed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems easier just to crawl all pages the old fashion way. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best solution for indexing whole pages?&lt;/p&gt;&#xA;" OwnerUserId="489" LastEditorUserId="483" LastEditDate="2019-08-29T07:40:48.470" LastActivityDate="2019-08-29T07:40:48.470" Title="Definition of content on a page" Tags="|lucene|performance-optimization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="556" PostTypeId="2" ParentId="490" CreationDate="2016-10-05T08:43:01.520" Score="27" Body="&lt;p&gt;There are three aspects in choosing a DI approach with Sitecore 8.2:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The decision of which dependency injection container to use.&lt;/li&gt;&#xA;&lt;li&gt;The way you integrate the container with Sitecore and ASP.NET MVC.&lt;/li&gt;&#xA;&lt;li&gt;The pattern in which service dependencies and implementations are registered.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Picking a DI container&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 uses &lt;a href=&quot;https://docs.asp.net/en/latest/fundamentals/dependency-injection.html&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;IServiceProvider / IServiceCollection&lt;/strong&gt;&lt;/a&gt; as its DI container abstraction. Microsoft's implementation of this container, &lt;code&gt;Microsoft.Extensions.DependencyInjection.ServiceProvider&lt;/code&gt;, is used by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want, you can &lt;a href=&quot;https://medium.com/@structuredcode/replacing-the-default-di-container-in-sitecore-8-2-4e65d4956c99&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;replace the default container completely&lt;/strong&gt;&lt;/a&gt;, or you can &lt;a href=&quot;http://www.seanholmesby.com/safe-dependency-injection-for-mvc-and-webapi-within-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;override ASP.NET dependency resolvers&lt;/strong&gt;&lt;/a&gt;. Either way, you're not bound to use the DI container Sitecore provides out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you chose to use an alternative container, there's &lt;a href=&quot;http://www.hanselman.com/blog/ListOfNETDependencyInjectionContainersIOC.aspx&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;plenty to choose from&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default container doesn't have many advanced features of the leading DI libraries. Just as an example, with Autofac you can mass-register all of your services like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;builder&#xA;    .RegisterAssemblyTypes(AppDomain.CurrentDomain.GetAssemblies())&#xA;    .Where(t =&amp;gt;t.GetInterfaces().Any(i =&amp;gt; i.IsAssignableFrom(typeof(IService))))&#xA;    .AsImplementedInterfaces()&#xA;    .InstancePerLifetimeScope();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, SimpleInjector provides a way to quickly register all MVC Controllers in the container:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;container.RegisterMvcControllers(Assembly.GetExecutingAssembly());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In contrast, with the default container you'd have to use &lt;a href=&quot;https://gist.github.com/kamsar/460528edc3043b16bdccfdbd0ea0c552&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;quite a bit of custom code&lt;/strong&gt;&lt;/a&gt; to achieve the same result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a conclusion, it seems to me that the most &quot;standard&quot; way is to use the default container shipped with Sitecore. It's the most basic way too, though, so you can gain a lot by replacing the container.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Integrating the container with Sitecore&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Obviously, if you've chosen to go with the default container, you don't have to do anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to use another DI container, you have two options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Let Sitecore use their container internally and use you container of choice in your application code and &lt;a href=&quot;http://www.seanholmesby.com/safe-dependency-injection-for-mvc-and-webapi-within-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;in ASP.NET controllers&lt;/strong&gt;&lt;/a&gt;. This is done by overriding ASP.NET dependency resolvers and making sure there's a fallback to Sitecore's resolvers. This was the commonly accepted approach before Sitecore 8.2, and it still works well today.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://medium.com/@structuredcode/replacing-the-default-di-container-in-sitecore-8-2-4e65d4956c99&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Replace the container completely&lt;/strong&gt;&lt;/a&gt;. You do that by creating your own service provider builder and patching the &lt;code&gt;&amp;lt;serviceProviderBuilder&amp;gt;&lt;/code&gt; node in &lt;code&gt;Sitecore.config&lt;/code&gt;. The benefit of this approach is that your custom services, along with Sitecore's internal services, are now easily accessible, replaceable and injectable through your DI container of choice. There is only one DI container in the system, which makes things simpler and more convenient.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I don't think either of these approaches is standard. My personal preference is to completely replace the default container, as it requires less code, less configuration, and it doesn't leave two containers existing in parallel, thus avoiding confusion and errors.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Registering services in the container&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This is the least opinionated part. In simple applications that don't have many modules, registering all services in the composition root is perfectly acceptable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have many fine-grained components (which you'll definitely have if you use &lt;a href=&quot;http://helix.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Helix&lt;/strong&gt;&lt;/a&gt;), then it makes a lot of sense to separate service registrations from the composition root and delegate this task to each component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I'm aware, there are three main approaches here. To register component-specific services in your container, you can:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a separate configuration file (e.g. use &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/#Direct-Registration&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;&amp;lt;service&amp;gt; registrations&lt;/strong&gt;&lt;/a&gt; with the default container) for every component.&lt;/li&gt;&#xA;&lt;li&gt;Or use a separate &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/#Configurators&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;configurator class&lt;/strong&gt;&lt;/a&gt; per component (every modern DI library has these).&lt;/li&gt;&#xA;&lt;li&gt;Or use a &lt;a href=&quot;https://ctor.io/one-way-to-implement-dependency-injection-for-sitecore-habitat/&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;custom pipeline&lt;/strong&gt;&lt;/a&gt;—this way, every container that needs to register its services will create its own processor included as a step in the pipeline. Here's &lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/09/17/Habitat-Dependency-Injection-with-Sitecore-8-2/&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;another article&lt;/strong&gt;&lt;/a&gt; that mentions the same approach.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I don't believe there's a clear winner here. You'll have to decide what fits best with your architecture and the structure of your solution.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2018-02-04T22:09:28.833" LastActivityDate="2018-02-04T22:09:28.833" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="557" PostTypeId="1" AcceptedAnswerId="563" CreationDate="2016-10-05T08:46:58.127" Score="34" ViewCount="3463" Body="&lt;p&gt;I need to publish around 100K items in &lt;code&gt;Sitecore 8.1 programmatically&lt;/code&gt;. They don't have a common parent, they are spread out in several folders but I have their IDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;I tried using PublishOptions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Publishing.PublishOptions publishOptions = new Sitecore.Publishing.PublishOptions(item.Database,                                           &#xA;                                     Sitecore.Data.Database.GetDatabase(&quot;web&quot;),&#xA;                                     Sitecore.Publishing.PublishMode.SingleItem,&#xA;                                     item.Language,&#xA;                                     System.DateTime.Now);&#xA;Sitecore.Publishing.Publisher publisher = new Sitecore.Publishing.Publisher(publishOptions);&#xA;publisher.Options.RootItem = item;&#xA;publisher.Options.Deep = false;&#xA;publisher.Publish();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and PublishItem:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;PublishManager.PublishItem(item, new Data.Database[] { Sitecore.Data.Database.GetDatabase(&quot;web&quot;) }, item.Languages, false, false, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Of course, each of the above code snippets is surrounded by a foreach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure which is better in theory, but I see that both of them:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Are slow&lt;/li&gt;&#xA;&lt;li&gt;Create thousands of new publish and indexing jobs&lt;/li&gt;&#xA;&lt;li&gt;After publishing 20k-30k all jobs disappear as if Sitecore server resets&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So am I doing something wrong or is there a better way of doing this?&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="5387" LastEditDate="2019-07-31T08:35:52.523" LastActivityDate="2020-07-07T18:36:00.313" Title="Publishing items in bulk" Tags="|publishing|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="558" PostTypeId="2" ParentId="555" CreationDate="2016-10-05T08:48:50.893" Score="8" Body="&lt;p&gt;One approach that we have used is to index the content of all data sources in a single computed field. You can search that field when searching the index. This can probably be improved, but it's a start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe this is also the approach the are using in the &lt;a href=&quot;https://github.com/Sitecore/Habitat&quot; rel=&quot;noreferrer&quot;&gt;Habitat project&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copied/inspired from: &lt;a href=&quot;http://kamsar.net/index.php/2014/05/indexing-subcontent/&quot; rel=&quot;noreferrer&quot;&gt;http://kamsar.net/index.php/2014/05/indexing-subcontent/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class DataSourceContentField : IComputedIndexField&#xA;{&#xA;    public virtual string FieldName { get; set; }&#xA;&#xA;    public virtual string ReturnType { get; set; }&#xA;&#xA;    // TODO: Change to dictionary with supported template fields as the value&#xA;    internal static HashSet&amp;lt;ID&amp;gt; SupportedTemplates { get; set; } = new HashSet&amp;lt;ID&amp;gt;();&#xA;&#xA;    public object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        var sitecoreIndexable = indexable as SitecoreIndexableItem;&#xA;&#xA;        if (sitecoreIndexable == null) return null;&#xA;&#xA;        // find renderings with datasources set&#xA;        var customDataSources = ExtractRenderingDataSourceItems(sitecoreIndexable.Item);&#xA;&#xA;        // extract text from data sources&#xA;        var contentToAdd = customDataSources.SelectMany(GetItemContent).ToList();&#xA;&#xA;        if (contentToAdd.Count == 0) return null;&#xA;&#xA;        Log.Debug($&quot;[{nameof(DataSourceContentField)}] Item: {sitecoreIndexable.AbsolutePath}, Content: {string.Join(&quot; &quot;, contentToAdd)}&quot;, this);&#xA;&#xA;        return string.Join(&quot; &quot;, contentToAdd);&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Finds all renderings on an item's layout details with valid custom data sources set and returns the data source items.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    protected virtual IEnumerable&amp;lt;Item&amp;gt; ExtractRenderingDataSourceItems(Item baseItem)&#xA;    {&#xA;        var currentLayoutXml = LayoutField.GetFieldValue(baseItem.Fields[FieldIDs.LayoutField]);&#xA;        if (string.IsNullOrEmpty(currentLayoutXml)) yield break;&#xA;&#xA;        var layout = LayoutDefinition.Parse(currentLayoutXml);&#xA;&#xA;        // loop over devices in the rendering&#xA;        for (var deviceIndex = layout.Devices.Count - 1; deviceIndex &amp;gt;= 0; deviceIndex--)&#xA;        {&#xA;            var device = layout.Devices[deviceIndex] as DeviceDefinition;&#xA;&#xA;            if (device == null) continue;&#xA;&#xA;            // loop over renderings within the device&#xA;            for (var renderingIndex = device.Renderings.Count - 1; renderingIndex &amp;gt;= 0; renderingIndex--)&#xA;            {&#xA;                var rendering = device.Renderings[renderingIndex] as RenderingDefinition;&#xA;&#xA;                if (string.IsNullOrWhiteSpace(rendering?.Datasource)) continue;&#xA;&#xA;                // if the rendering has a custom data source, we resolve the data source item and place its text fields into the content to add&#xA;                var dataSource = DataSourceHelper.ResolveDataSource(rendering.Datasource, baseItem);&#xA;                if (dataSource != baseItem &amp;amp;&amp;amp; dataSource.IsDerivedFrom(SupportedTemplates))&#xA;                {&#xA;                    yield return dataSource;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Extracts textual content from an item's fields&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    protected virtual IEnumerable&amp;lt;string&amp;gt; GetItemContent(Item dataSource)&#xA;    {&#xA;        foreach (Field field in dataSource.Fields)&#xA;        {&#xA;            // this check is what Sitecore uses to determine if a field belongs in _content (see LuceneDocumentBuilder.AddField())&#xA;            if (!IndexOperationsHelper.IsTextField(new SitecoreItemDataField(field))) continue;&#xA;&#xA;            var fieldValue = StringUtil.RemoveTags(field.Value ?? string.Empty);&#xA;&#xA;            if (!string.IsNullOrWhiteSpace(fieldValue)) yield return fieldValue;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2016-10-05T08:54:34.307" LastActivityDate="2016-10-05T08:54:34.307" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="559" PostTypeId="2" ParentId="555" CreationDate="2016-10-05T08:56:24.957" Score="1" Body="&lt;p&gt;The approach with a ComputedField has been done before (and often apparently) but we encountered some drawbacks - depending on the renderings in the project however. What we tried was to take the approach a step further and added an interface for each rendering that wants to add data to the index. Through that interface the rendering could send any data to the index for the page it was on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seemed very nice, but updates were an issue. We tried using the getDependencies to make sure we updated the &quot;page&quot; items when a datasource item was altered. This works, but it's not fully reliable as not all data is not always immediately in the datasource item - could be in the children of the datasource as well. In the end, we were stressing the index too much as it was updating everything the whole time..   didn't find a solution for this yet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your rendering architecture is a bit less complex, and all is linked very clearly and directly, it might work though.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-05T08:56:24.957" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="560" PostTypeId="2" ParentId="557" CreationDate="2016-10-05T09:04:59.057" Score="5" Body="&lt;p&gt;Don't know if it is feasible for you, but maybe you want to consider upgrading to 8.2 so you can use the new Publishing Service. This is much faster as the current publish and should be able to handle this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service/11/Sitecore_Publishing_Service_11_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service/11/Sitecore_Publishing_Service_11_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-05T09:04:59.057" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="561" PostTypeId="1" CreationDate="2016-10-05T09:21:25.480" Score="9" ViewCount="695" Body="&lt;p&gt;I have a Sitecore 8 project where we have created a component for the editors to use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A component takes &lt;strong&gt;Datasource&lt;/strong&gt; of &quot;Datasource-Folder&quot; with X numbers of &quot;Datasource-Item&quot; below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tree looks like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Globals&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Datasource Folder&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Datasource Item1&lt;/li&gt;&#xA;&lt;li&gt;Datasource Item2&lt;/li&gt;&#xA;&lt;li&gt;Datasource Item3&lt;/li&gt;&#xA;&lt;li&gt;Datasource Item4&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The user can change and add a datasource item with the &lt;strong&gt;Experience Editor&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the issue. In the &lt;strong&gt;Experience Editor&lt;/strong&gt; the user can edit the Datasource Item's fields, i.e. he can edit image, text, general link field of this Datasource Item. If they save it I can see saved data in the &lt;code&gt;master&lt;/code&gt; database. But when the user is publishing the Context Item from the &lt;strong&gt;Experience Editor&lt;/strong&gt;, then the datasource items are not publishing. Is that a Sitecore bug?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also referenced &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1210&quot; rel=&quot;noreferrer&quot;&gt;this&lt;/a&gt;. But my question is if it's possible without customizing the code?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="251" LastEditorUserId="70" LastEditDate="2016-10-05T14:10:03.817" LastActivityDate="2016-10-05T14:10:03.817" Title="Issue with publishing &quot;related items&quot; from Experience Editor" Tags="|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="562" PostTypeId="2" ParentId="459" CreationDate="2016-10-05T09:25:50.033" Score="5" Body="&lt;p&gt;You are correct—the &quot;Ignore Additional Registrations&quot; checkbox will make sure that nothing happens in case an existing outcome is attempted to be registered again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an excerpt from the decompiled class &lt;code&gt;Sitecore.Analytics.Outcome.OutcomeManager&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public virtual void Save(IOutcome outcome)&#xA;{&#xA;  if (!this.CanSaveOutcome(outcome))&#xA;  {&#xA;    return;&#xA;  }&#xA;&#xA;  this.repository.Save(outcome);&#xA;}&#xA;&#xA;private bool CanSaveOutcome(IOutcome outcome)&#xA;{&#xA;  IDefinitionManager&amp;lt;IOutcomeDefinition&amp;gt; definitionManager =&#xA;    DefinitionManagerFactory.Default.GetDefinitionManager&amp;lt;IOutcomeDefinition&amp;gt;(null);&#xA;&#xA;  IOutcomeDefinition outcomeDefinition =&#xA;    definitionManager.Get(outcome.DefinitionId, CultureInfo.InvariantCulture);&#xA;&#xA;  return&#xA;    outcomeDefinition == null&#xA;    || !outcomeDefinition.AdditionalRegistrationsAreIgnored&#xA;    || !this.HasOutcome(outcome.EntityId, outcome.DefinitionId);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, &lt;code&gt;OutcomeManager.Save()&lt;/code&gt; will only register the outcome if the checkbox &quot;Ignore Additional Registrations&quot; is unchecked, or if the outcome has not been registered yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a side note, it's quite interesting that the outcome will be saved successfully even if you specify a non-existing outcome definition ID in &lt;code&gt;outcome.DefinitionId&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-05T09:25:50.033" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="563" PostTypeId="2" ParentId="557" CreationDate="2016-10-05T09:33:04.583" Score="34" Body="&lt;p&gt;Publishing that many items will always be quite slow, there is a lot of reading, writing and indexing that is required however. I don't think there is going to be any code which will solve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've not seem all the jobs disappearing (with the exception of, as you say Sitecore restarting - can you see this happening in the logs?). However there are some Sitecore features that might be able to help outside the scope of code changes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;8.2 Publishing Service module&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I'm sure you already are aware 8.2 has &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service/11/Sitecore_Publishing_Service_11_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;the new Publishing Service module&lt;/a&gt; which should stop this being an issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&quot;The module answers inherent problems with Publishing large amounts of data (100,000’s of items) across multiple data-centers and geo-graphic locations&quot;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;8.1 also has a neat package which (at least in theory) makes &lt;a href=&quot;https://blog.rauljimenez.co.uk/upgrade-to-sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;the upgrade to 8.2 much more simplistic&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solutions in 8.1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said it is still an upgrade and so it will undoubtedly be painful! &#xA;From 7.2 onwards you can make it significantly quicker as long as you have some horsepower in your CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Goooo Parallel&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rename the following file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sitecore.Publishing.Parallel.config.disabled&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;to &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sitecore.Publishing.Parallel.config&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This enables you to change parallel publishing options and takes advantages of all the cores of your server.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  PUBLISHING MAX DEGREE OF PARALLELISM&#xA;  If set to a positive number, it limits the number of concurrent publishing operations to the set value.&#xA;  If it is -1, there is no limit on the number of concurrently running operations.&#xA;  Default value: 1&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Publishing.MaxDegreeOfParallelism&quot; value=&quot;1&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Publishing Optimisations&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rename:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sitecore.Publishing.Optimizations.config.example&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;to &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sitecore.Publishing.Optimizations.config&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In here there are a bunch of optimisations you can tweak (and possibly break your site - so go careful), full details are in the references below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One example is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Disable Link Database&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned in the article below you can also disable the link database being updated during the publish:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LinkDatabase.UpdateDuringPublish=false&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Fast servers...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All these optimisations are reliant on having beefy CM boxes, if they are not full of fast disks and lots of cores then you might not see great improvements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/enabling-parallel-publishing-with-sitecore-7-2&quot; rel=&quot;nofollow noreferrer&quot;&gt;Enabling Parallel Publishing with Sitecore 7.2&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/dedicated-publishing-instance-configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dedicated Publishing Instance Configuration&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="87" LastEditorUserId="135" LastEditDate="2018-08-21T23:29:34.143" LastActivityDate="2018-08-21T23:29:34.143" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="564" PostTypeId="2" ParentId="561" CreationDate="2016-10-05T09:33:53.800" Score="7" Body="&lt;p&gt;No, it's not possible without custom code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And to be honest, I don't think this is really what should come out of the box with Sitecore. Your component uses &lt;code&gt;Datasource Folder&lt;/code&gt; item as datasource and that datasource &lt;strong&gt;will&lt;/strong&gt; be published. And it's your own code which takes children of that datasource and uses them to display some content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why I would say that you need to write your own code (or find some existing solution in the net) for publishing those items which are required by your component.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-05T09:33:53.800" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="565" PostTypeId="1" AcceptedAnswerId="566" CreationDate="2016-10-05T09:45:41.523" Score="4" ViewCount="167" Body="&lt;p&gt;Sitecore has some lovely granular security permissions that can help us stop users doing things which can break the site, however one thing I can't obviously see is how to limit access to the caching panel on the control properties when adding components to pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/44YIa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/44YIa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not the end of the world but can access to this be controlled by roles at all?&lt;/p&gt;&#xA;" OwnerUserId="87" LastActivityDate="2016-10-05T09:52:17.440" Title="Locking down Sitecore rendering caching" Tags="|security|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="566" PostTypeId="2" ParentId="565" CreationDate="2016-10-05T09:52:17.440" Score="10" Body="&lt;p&gt;You can remove access to &lt;code&gt;/sitecore/templates/System/Layout/Rendering Parameters/Standard Rendering Parameters/Caching&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to the item&lt;/li&gt;&#xA;&lt;li&gt;Open &lt;code&gt;Security&lt;/code&gt; tab&lt;/li&gt;&#xA;&lt;li&gt;Click on &lt;code&gt;Assign&lt;/code&gt; button&lt;/li&gt;&#xA;&lt;li&gt;In the dialog which will appear select user or group (preferably) from whom you would like to hide the section&lt;/li&gt;&#xA;&lt;li&gt;Remove the inheritance for the item and its descendats&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-05T09:52:17.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="567" PostTypeId="1" AcceptedAnswerId="570" CreationDate="2016-10-05T09:53:37.267" Score="9" ViewCount="399" Body="&lt;p&gt;I'm trying to come up with a good answer to a question I get asked a lot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why does Sitecore have both pattern and profile cards?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Outside the standard answer:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;profile cards are for tagging content and pattern cards are for visitors&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More often than not I see a 1:1 mapping between the two, though I understand this is not always the case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;One example I heard which stuck was:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you make cars, you might have a &lt;code&gt;red colour&lt;/code&gt; profile and a &lt;code&gt;yellow colour&lt;/code&gt; profile and tag content accordingly but your pattern card for people looking at red and yellow cars might be &lt;code&gt;flashy colours&lt;/code&gt; - is this fundamentally a correct distinction between the two?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do people usually have a 1:1 mapping between profiles and patterns or do they see them differing?&lt;/p&gt;&#xA;" OwnerUserId="87" LastEditorUserId="5387" LastEditDate="2019-07-31T07:59:14.987" LastActivityDate="2019-07-31T07:59:14.987" Title="Sitecore Personalisation - Profiles and Pattern Cards" Tags="|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="568" PostTypeId="1" CreationDate="2016-10-05T10:08:49.913" Score="14" ViewCount="430" Body="&lt;p&gt;Has anyone seen large wait times in SQL Server related to the Event Queue? Specifically, we are seeing &lt;code&gt;ASYNC_NETWORK_IO&lt;/code&gt; being reported as a problem when accessing the Event Queue in SQL Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have something like 50+ servers connected to the same core database, I am wondering if the rapid querying by all boxes is causing the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is using Sitecore 8.1 u3.&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="70" LastEditDate="2016-10-05T14:09:51.567" LastActivityDate="2016-10-05T14:09:51.567" Title="SQL wait times on EventQueue" Tags="|sql-database|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="569" PostTypeId="2" ParentId="568" CreationDate="2016-10-05T10:16:58.017" Score="7" Body="&lt;p&gt;To be honest, I'm not sure if what I describe below will fix the ASYNC_NETWORK_IO issue. Seeing &lt;em&gt;NETWORK_IO&lt;/em&gt; lets me think that the issue is more network or server related than being a real Sitecore issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, we have also seen high loads due to &lt;code&gt;EventQueue&lt;/code&gt; table activity. With the help of Sitecore Support we've come to this solution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Clean EventQueue on CM more frequent:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;scheduling&amp;gt;&#xA;            &amp;lt;agent type=&quot;Sitecore.Tasks.CleanupEventQueue, Sitecore.Kernel&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;interval&quot;&amp;gt;00:30:00&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;DaysToKeep&amp;gt;&#xA;                    &amp;lt;patch:delete /&amp;gt;&#xA;                &amp;lt;/DaysToKeep&amp;gt;&#xA;                &amp;lt;IntervalToKeep&amp;gt;01:00:00&amp;lt;/IntervalToKeep&amp;gt;&#xA;            &amp;lt;/agent&amp;gt;&#xA;        &amp;lt;/scheduling&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On CD, check the EventQueue less frequent and disable the EventQueue cleanup (as it's already been taken care of by the CM):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;eventing&amp;gt;&#xA;            &amp;lt;eventQueue&amp;gt;&#xA;                &amp;lt;processingInterval&amp;gt;00:02:00&amp;lt;/processingInterval&amp;gt;&#xA;            &amp;lt;/eventQueue&amp;gt;&#xA;        &amp;lt;/eventing&amp;gt;&#xA;        &amp;lt;scheduling&amp;gt;&#xA;            &amp;lt;agent type=&quot;Sitecore.Tasks.CleanupEventQueue, Sitecore.Kernel&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;interval&quot;&amp;gt;00:00:00&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/agent&amp;gt;&#xA;        &amp;lt;/scheduling&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using these values means that published content can take up to 2 minutes before it becomes visible. But it should lower the load on the &lt;code&gt;EventQueue&lt;/code&gt; table.&lt;/p&gt;&#xA;" OwnerUserId="114" LastActivityDate="2016-10-05T10:16:58.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="570" PostTypeId="2" ParentId="567" CreationDate="2016-10-05T10:22:38.927" Score="9" Body="&lt;p&gt;In my mind, Profiles are like different facets of a users' interaction with a website, and patterns are combinations of values for those facets to form a type of user. A user will build up profile values during their visit to a site depending on how you configure your site. Profiles are made up of profile keys, you can configure your site to score against these keys either using the Content Editor/Experience Editor, or programatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll try to give an example of profiles and patterns below...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A few examples of profiles would be:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) You might want a gauge a users engagement level - are they just browsing your site at a very shallow level, or are they deeply interacting with your site, i.e completing forms, using tools, adding products to a basket. This would be your user engagement profile, and different types of pages would score differently against this profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) If your site sells a range of products, you might want to know which particular category of product the user is interested in. This would be your product category profile. Each page hit within a particular product category would score a point against the relevant product category profile key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Finally, again using the example of a site that sells products, you might want to know their budget - what price ranges of products is the user looking at? Are they looking at expensive products in the upper range of your products, or are they looking at the lower range. This would be your budget profile. A user viewing cheaply priced products would have a point scored against the low-end budget profile key within the budget profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then create patterns that you think users will fit in to. This is akin to a &quot;type&quot; of user. Using a fictitious car manufacturer website, a few examples of patterns would be:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Expensive taste / 4x4s / low interest. A user that shows low engagement value because they rarely interact further than viewing top-level pages, but is clearly interested in the more expensive end of the product range.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Varied budget / family cars / medium interest. A user that browses family cars in different price brackets, has show medium engagement, for example, user may have browsed quite deeply, and downloaded a brochure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Low budget / small cars / high interest. A user that browses small cars in a low budget sector to a high interest level, possibly completing an enquiry, using a configurator etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have created your profiles, tagged all your content and created your patterns, Sitecore will place users in to a pattern in real time. You can then use these patterns to personalise your site to target content at that &quot;type&quot; of user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm sure there are others who can explain more eloquently! &lt;/p&gt;&#xA;" OwnerUserId="445" LastActivityDate="2016-10-05T10:22:38.927" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="571" PostTypeId="1" AcceptedAnswerId="3779" CreationDate="2016-10-05T11:04:17.137" Score="7" ViewCount="597" Body="&lt;p&gt;I followed these instructions to &lt;a href=&quot;https://drazenjanjicek.com/2016/03/18/extending-sitecore-8-1-adding-support-for-anchors-in-internal-links/&quot; rel=&quot;nofollow noreferrer&quot;&gt;add a text field to the internal General Link dialog&lt;/a&gt; which works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now I need a checkbox instead of a text field (anchor) but it still should add a tag with text in the link field like this in raw value view (data-name=&quot;teaser_a&quot;):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;link text=&quot;Test&quot; data-name=&quot;teaser_a&quot; linktype=&quot;internal&quot; class=&quot;&quot; title=&quot;&quot; target=&quot;&quot; querystring=&quot;&quot; id=&quot;{819BFAC1-A563-49DA-9C2C-E88D0B397618}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;while &lt;code&gt;teaser_a&lt;/code&gt; is the item name, which should automatically be added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So instead of &lt;code&gt;textbox rendering&lt;/code&gt; I would add a &lt;strong&gt;checkbox rendering&lt;/strong&gt; to &lt;code&gt;/sitecore/client/Applications/Dialogs/InsertLinkViaTreeDialog&lt;/code&gt; layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But after that I'm not entirely sure. I'll probably have to update the &lt;code&gt;ReadQueryParamsAndUpdatePlaceholders&lt;/code&gt; method in &lt;code&gt;InsertLinkDialogTreePageCode&lt;/code&gt; class and somehow get the item name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code in the example looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private void ReadQueryParamsAndUpdatePlaceholders()&#xA;{&#xA;    Original implementation&#xA;    {&#xA;        this.Anchor.Parameters[&quot;Text&quot;] = GetXmlAttributeValue(element, &quot;anchor&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And than respectively alter the rule in &lt;code&gt;MakeInternalLinkFromTreeView&lt;/code&gt; since it is not a &lt;code&gt;textControl&lt;/code&gt; anymore. Code in example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; ... anchor target name to [targetAnchorID,,,textControl6]'s text property ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm new to SPEAK and the rule engine. Can someone point me into the right direction?&lt;/p&gt;&#xA;" OwnerUserId="364" LastEditorUserId="2727" LastEditDate="2018-06-07T13:55:20.717" LastActivityDate="2018-06-07T13:55:20.717" Title="Extending internal General Link dialog with Checkbox in SPEAK" Tags="|speak|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="572" PostTypeId="2" ParentId="554" CreationDate="2016-10-05T11:39:22.783" Score="3" Body="&lt;p&gt;This took me a little while to track down but it looks like this text for &quot;Insert an existing form&quot; is set in the Resources bundled inside the Sitecore.WFFM.dll so unfortunately it doesn't look like your going to be able to set this yourself from Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/feWRy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/feWRy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only solution I could think of here is to use some JQuery/Javascript to set the value of the text in the label on load of the WFFM Wizard page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(&quot;#InsertForm&quot;).next(&quot;label&quot;).text(&quot;Copy Existing Form&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-05T11:39:22.783" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="573" PostTypeId="1" AcceptedAnswerId="575" CreationDate="2016-10-05T12:10:25.443" Score="7" ViewCount="2653" Body="&lt;p&gt;I'm currently working in Sitecore 8.1. I would like to add a custom computed field to a specific index, and only that index. I have been able to add the field globally to &lt;code&gt;Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config&lt;/code&gt;, but I had to reference a dll that isn't specifically meant to be applied to all indexes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the following index:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;custom_master_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Home&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried adding &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;SearchDate&quot;&amp;gt;Project.Web.Search.ComputedFields.SearchDateField, Project.Web&amp;lt;/field&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to the &lt;code&gt;&amp;lt;configuration&amp;gt;&lt;/code&gt; element, but that didn't work. I also tried adding the above to a few other places under this index, but I haven't been able to get it to work anywhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to do what I'm looking to do? If so, how?&lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="70" LastEditDate="2016-10-05T14:09:41.603" LastActivityDate="2016-10-05T14:09:41.603" Title="How do I define a custom computed and tokenized field in my index?" Tags="|lucene|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="574" PostTypeId="1" AcceptedAnswerId="578" CreationDate="2016-10-05T12:15:29.373" Score="13" ViewCount="2579" Body="&lt;p&gt;I created German versions of several data templates by accident.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For regular items, there's an option to remove a version at tab &quot;Versions&quot; –&gt; section &quot;Versions&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wuILI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wuILI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For templates, though, the whole &quot;Versions&quot; section is missing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd like to remove all template versions that are not English. How do I do that?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-05T13:02:48.213" Title="How to remove a language version of a data template?" Tags="|multilingual|templates|versions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="575" PostTypeId="2" ParentId="573" CreationDate="2016-10-05T12:16:34.773" Score="6" Body="&lt;p&gt;In the  section of your index (&lt;code&gt;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot; /&amp;gt;&lt;/code&gt;) you should point towards a custom config instead of the default one. You need to create this config though, and there you can add the computed field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a blog post describing this: &lt;a href=&quot;http://ggullentops.blogspot.be/2015/11/sitecore-indexes.html&quot;&gt;http://ggullentops.blogspot.be/2015/11/sitecore-indexes.html&lt;/a&gt;. Depending on your Sitecore version, there might be some changes needed. It comes down to creating your own version of the default so you can take as guidance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After adding the computedField in a section &lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;.. &amp;lt;/fields&amp;gt;&lt;/code&gt;, you might need to add it to the &lt;code&gt;fieldMap&lt;/code&gt; as well. That is if you need to get your field untokenized or want to define an analyzer on it.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-05T12:16:34.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="576" PostTypeId="1" AcceptedAnswerId="901" CreationDate="2016-10-05T12:35:05.667" Score="6" ViewCount="332" Body="&lt;p&gt;Is anyone out there using the &lt;code&gt;Sitecore Commerce 8.2.1 CTP 3 release VM&lt;/code&gt;?  I am having a &lt;code&gt;NuGet Package&lt;/code&gt; reference issue in the &lt;code&gt;Sitecore.Commerce.Plugin.Sample&lt;/code&gt; project wondering if anyone has gotten past this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Error: Unable to resolve 'Sitecore.Serilog.Framework.Logging (&gt;= 1.0.0-alpha7-1019)' for '.NETFramework,Version=v4.5.2'.&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="498" LastEditorUserId="5387" LastEditDate="2019-07-31T06:02:34.090" LastActivityDate="2019-07-31T06:02:34.090" Title="NuGet Package reference issue: Sitecore.Serilog.Framework.Logging" Tags="|nuget|sitecore-commerce|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="577" PostTypeId="2" ParentId="573" CreationDate="2016-10-05T12:38:21.467" Score="6" Body="&lt;p&gt;First, you need to define your own index configuration. That's where you can define the fields that will only be used by your custom indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a file named e.g. &lt;code&gt;Sitecore.ContentSearch.Lucene.Index.CustomIndexConfiguration.config&lt;/code&gt; under &lt;code&gt;/App_Config/Include&lt;/code&gt; with the following content:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;customIndexConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;          &amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&#xA;&#xA;          &amp;lt;initializeOnAdd&amp;gt;true&amp;lt;/initializeOnAdd&amp;gt;&#xA;&#xA;          &amp;lt;analyzer ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/analyzer&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;!-- Here you configure the way your computed field will be stored. --&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;SearchDate&quot;&#xA;                     storageType=&quot;YES&quot;&#xA;                     indexType=&quot;TOKENIZED&quot;&#xA;                     vectorType=&quot;NO&quot;&#xA;                     boost=&quot;1f&quot;&#xA;                     type=&quot;System.String&quot;&#xA;                     settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;&#xA;          &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;!-- Here you register the computed field. --&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;SearchDate&quot;&amp;gt;Project.Web.Search.ComputedFields.SearchDateField, Project.Web&amp;lt;/field&amp;gt;&#xA;          &amp;lt;/fields&amp;gt;&#xA;&#xA;          &amp;lt;include hint=&quot;list:IncludeTemplate&quot;&amp;gt;&#xA;          &amp;lt;/include&amp;gt;&#xA;&#xA;          &amp;lt;fieldReaders ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldReaders&quot;/&amp;gt;&#xA;&#xA;          &amp;lt;indexFieldStorageValueFormatter ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/indexFieldStorageValueFormatter&quot;/&amp;gt;&#xA;&#xA;          &amp;lt;indexDocumentPropertyMapper ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/indexDocumentPropertyMapper&quot;/&amp;gt;&#xA;&#xA;          &amp;lt;documentBuilderType&amp;gt;Sitecore.ContentSearch.LuceneProvider.LuceneDocumentBuilder, Sitecore.ContentSearch.LuceneProvider&amp;lt;/documentBuilderType&amp;gt;&#xA;        &amp;lt;/customIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I included your field &lt;code&gt;SearchDate&lt;/code&gt; in two places: under &lt;code&gt;&amp;lt;fields&amp;gt;&lt;/code&gt; and under &lt;code&gt;&amp;lt;fieldMap&amp;gt;&amp;lt;fieldNames&amp;gt;&lt;/code&gt;. This will make sure that your custom field settings (such as tokenization) are applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in your index definition, you should reference your custom index configuration instead of the default one:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/customIndexConfiguration&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-05T13:18:47.237" LastActivityDate="2016-10-05T13:18:47.237" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="578" PostTypeId="2" ParentId="574" CreationDate="2016-10-05T12:49:55.390" Score="17" Body="&lt;p&gt;Sitecore doesn't expose the version manager [you've shown] on templates. However, you can use the DB Browser (&lt;code&gt;~/sitecore/admin/dbbrowser.aspx&lt;/code&gt;) and manage items, templates, etc. that way. Simply point your browser to &lt;a href=&quot;http://instance/sitecore/admin/dbbrowser.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://instance/sitecore/admin/dbbrowser.aspx&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C4ssl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C4ssl.png&quot; alt=&quot;dbbrowser overview&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then navigate to the template you're looking to modify and select the version you're after and select &lt;code&gt;Delete Version&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DIMpJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DIMpJ.png&quot; alt=&quot;dbbrowser delete version&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="43" LastActivityDate="2016-10-05T12:49:55.390" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="579" PostTypeId="2" ParentId="440" CreationDate="2016-10-05T12:52:26.593" Score="0" Body="&lt;p&gt;I think we have finally figured out what is happening. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have scheduled recycle of the application pool at a certain time during the night but what sometimes happens is that indexing of the database is still in progress. When the recycle happens, worker process doesn't shut down and the second worker process gets created. &lt;/p&gt;&#xA;" OwnerUserId="21" LastActivityDate="2016-10-05T12:52:26.593" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="580" PostTypeId="1" AcceptedAnswerId="627" CreationDate="2016-10-05T12:59:34.867" Score="7" ViewCount="172" Body="&lt;p&gt;I've got a simple scenario.  I export a site (single page), then try to import the exact same zip file.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get an error that states:  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find language information in the zip file. Please make sure&#xA;  the package is importable.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm running Sitecore 8.2 (rev. 160729)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="500" LastEditorUserId="2727" LastEditDate="2018-06-07T13:52:07.430" LastActivityDate="2018-06-07T13:52:07.430" Title="SXA - Import Fails Due to Missing Language Information" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="582" PostTypeId="2" ParentId="574" CreationDate="2016-10-05T13:02:48.213" Score="6" Body="&lt;p&gt;Another way to do this is using &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_PowerShell_console.aspx&quot;&gt;Sitecore Powershell Extenstions&lt;/a&gt;. There is a cmdlet called &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Remove-ItemLanguage.html&quot;&gt;&lt;code&gt;Remove-ItemLanguage&lt;/code&gt;&lt;/a&gt;, this removes the specified language version from the item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example that removes the German version of a template:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Get-Item master:\templates\User Defined\MyTemplate | Remove-ItemLanguage -Language de-de&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could create a script that would load all the items you created the language for and loop through them removing the German language pretty easily.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-05T13:02:48.213" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="584" PostTypeId="2" ParentId="423" CreationDate="2016-10-05T13:17:27.627" Score="22" Body="&lt;p&gt;We had a similar problem in a production installation that had a significant number of calculated Lucene fields, plus a number of very active content authors with a lot of publishing and index updating activity.&lt;/p&gt;&#xA;&lt;p&gt;Essentially Sitecore was pushing events at Lucene faster than it could process them.&lt;/p&gt;&#xA;&lt;p&gt;Here are some suggestions:&lt;/p&gt;&#xA;&lt;h1&gt;Try switching your index update strategies to be more batch-oriented.&lt;/h1&gt;&#xA;&lt;p&gt;Here's an example of how to do this for the &lt;code&gt;master&lt;/code&gt; index:&#xA;Replace:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;strategy ref=&amp;quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;With:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;strategy ref=&amp;quot;contentSearch/indexConfigurations/indexUpdateStrategies/intervalAsyncMaster&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;in your &lt;code&gt;Website\App_Config\Include\Sitecore.ContentSearch.Lucene.Index.Master.config&lt;/code&gt;&lt;/p&gt;&#xA;&lt;h1&gt;Try dialing back the frequency of event queue polling&lt;/h1&gt;&#xA;&lt;p&gt;In &lt;code&gt;sitecore.config&lt;/code&gt; modify this setting:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;eventing defaultProvider=&amp;quot;sitecore&amp;quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    ...&#xA;  &amp;lt;/providers&amp;gt;&#xA;  &amp;lt;eventQueue&amp;gt;&#xA;    &amp;lt;!-- Time between checking the queue for newly queued events. If new events are found they will be raised. --&amp;gt;&#xA;   &amp;lt;processingInterval&amp;gt;00:00:02&amp;lt;/processingInterval&amp;gt;&#xA;  &amp;lt;/eventQueue&amp;gt;&#xA;&amp;lt;/eventing&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You can also set the index rebuild threshold to prevent Lucene from rebuilding your indexes too often, if you have a lot of activity and a large number of index entries:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;  &amp;lt;!-- Default value is 100,000 --&amp;gt;&#xA;  &amp;lt;setting name=&amp;quot;ContentSearch.FullRebuildItemCountThreshold&amp;quot; value=&amp;quot;100000&amp;quot; /&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This really helped us with some mysterious index syncing problems between servers. It took weeks with Sitecore Support to reach these conclusions. Hope it works for you too.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-26T02:11:23.470" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="585" PostTypeId="2" ParentId="423" CreationDate="2016-10-05T13:19:25.530" Score="1" Body="&lt;p&gt;Are you using SwitchOnRebuildLuceneIndex instead of the default?  That would at least rule out index &lt;em&gt;writes&lt;/em&gt; competing with &lt;em&gt;reads&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think I worked on the project referenced by csulham . . . the customer had added some heavy post publish logic that ran on Sitecore's heartbeat thread.  After the Sitecore publish, the onPublishEndAsync would kick-off some  additional work with bundling css and js resources.  This monopolized the heartbeat thread and prevented EventQueue and other important operations from running.  I don't think this sounds like your issue, but maybe you've customized publishing in some fashion?&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-10-05T13:19:25.530" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="586" PostTypeId="1" CreationDate="2016-10-05T13:29:48.577" Score="9" ViewCount="139" Body="&lt;p&gt;How does one tie in Digizuite workflow into a Sitecore workflow to approve content assets along with related digital management assets? I've been able to create an approval workflow in Digizuite but cannot for the life of me figure out how to both &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Activate it &lt;/li&gt;&#xA;&lt;li&gt;Associate it with a Sitecore workflow for approvals of all assets.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="224" LastEditorUserId="246" LastEditDate="2016-10-05T13:46:19.723" LastActivityDate="2016-11-30T09:52:08.603" Title="Sitecore - Digizuite workflow coordination" Tags="|workflow|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="587" PostTypeId="2" ParentId="576" CreationDate="2016-10-05T13:29:50.327" Score="6" Body="&lt;p&gt;This is a known issue with restoring NuGet packages:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/dotnet/cli/issues/3199&quot;&gt;https://github.com/dotnet/cli/issues/3199&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, there seem to be at least two ways to &quot;fix&quot; it (kind of) that work with varying success rates:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Restore packages manually using Visual Studio's context menu for your projects;&lt;/li&gt;&#xA;&lt;li&gt;Use &lt;a href=&quot;https://dist.nuget.org/index.html&quot;&gt;&lt;strong&gt;NuGet 3.5 RC1&lt;/strong&gt;&lt;/a&gt; and restore the packages using the command line: &lt;code&gt;nuget restore&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-05T13:29:50.327" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="588" PostTypeId="1" CreationDate="2016-10-05T13:36:59.587" Score="6" ViewCount="448" Body="&lt;p&gt;Sitecore workflow will only apply to versioned fields, since it works by preventing publishing of unapproved item versions. However what if I have a language-independent field (such as an image, number, or price) which I need to workflow? Are there approaches which allow for approval of changes to such a field, without allowing it to be edited/changed in each language version of the item?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-05T14:15:41.030" Title="Workflow of shared / language-independent fields" Tags="|workflow|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="590" PostTypeId="2" ParentId="588" CreationDate="2016-10-05T13:50:19.430" Score="2" Body="&lt;p&gt;Let's start off by imagining how such a feature would work if it existed. Let's say you edited a shared field—would you like all language versions of the item to go to the &quot;Awaiting Approval&quot; state? This doesn't seem practical, which is why, I believe, Sitecore decided that shared fields will not be subjected to workflows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another solution would be to have workflow states (and publishing) on field level, which Sitecore does not support. Adding such a feature would be a core change in how Sitecore works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing you can do is enable workflow for you media items. This is the closest thing to a solution available at the moment.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-05T13:56:18.977" LastActivityDate="2016-10-05T13:56:18.977" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="591" PostTypeId="1" CreationDate="2016-10-05T13:50:42.793" Score="10" ViewCount="1924" Body="&lt;p&gt;Out of the box it is possible to restrict items in a fields data source by its base template type. I can specify a filter as follows that restricts to items of type &lt;code&gt;Employee&lt;/code&gt;...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DataSource=/sitecore/content/home/people/employees&amp;amp;IncludeTemplatesForSelection=Employee&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If &lt;code&gt;Employee&lt;/code&gt; uses &lt;code&gt;Person&lt;/code&gt; as its base template, I'd like to specify something like this...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DataSource=/sitecore/content/home/people&amp;amp;IncludeBaseTemplatesForSelection=Person&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That would allow me to select any item that has &lt;code&gt;Person&lt;/code&gt; as its base template (so allow I could select &lt;code&gt;Person&lt;/code&gt; and &lt;code&gt;Employee&lt;/code&gt; items, or any other item that derives from &lt;code&gt;Person&lt;/code&gt; base template.).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible?&lt;/p&gt;&#xA;" OwnerUserId="504" LastEditorUserId="246" LastEditDate="2016-10-05T13:57:27.863" LastActivityDate="2016-10-05T22:55:09.720" Title="Restrict Item by Base Template on a Field IncludeTemplatesForSelection" Tags="|content-editor|information-architecture|templates|" AnswerCount="1" CommentCount="6" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="592" PostTypeId="2" ParentId="499" CreationDate="2016-10-05T13:52:55.970" Score="13" Body="&lt;p&gt;Right click on your Solution tab and check the Project Dependencies. Ensure that the Build Order reflects the proper dependency order:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Foundation&lt;/li&gt;&#xA;&lt;li&gt;Feature&lt;/li&gt;&#xA;&lt;li&gt;Project&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;... and that in general, templates are pushed before their content. If need be, use the Dependencies tab to adjust project dependencies to adjust the build order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, and only then, try a Build &gt; Deploy. This will push all your TDS content, according to the Build Order, without having to manually sync each project.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-05T13:52:55.970" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="593" PostTypeId="1" AcceptedAnswerId="594" CreationDate="2016-10-05T13:52:56.193" Score="5" ViewCount="1749" Body="&lt;p&gt;I'm working with Sitecore 8.1. I have &lt;code&gt;&amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&lt;/code&gt; in the &lt;code&gt;&amp;lt;documentOptions&amp;gt;&lt;/code&gt; node of the &lt;code&gt;DefaultIndexConfiguration.config&lt;/code&gt; file. When I open the index up in Luke and navigate to a document that I expect certain fields for, those fields are not present. It seems that only some base Sitecore fields are being stored, none of the template-specific ones. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried adding &lt;code&gt;&amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&lt;/code&gt; to the root of &lt;code&gt;&amp;lt;defaultLuceneIndexConfiguration&amp;gt;&lt;/code&gt; as well, as I know that's the location it was in for previous versions of Sitecore. That didn't help either. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm specifically looking in &lt;code&gt;sitecore_master_index&lt;/code&gt; right now. &lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="2727" LastEditDate="2018-06-07T13:50:37.010" LastActivityDate="2019-08-06T04:49:02.720" Title="Fields Not Being Indexed in Lucene" Tags="|lucene|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="594" PostTypeId="2" ParentId="593" CreationDate="2016-10-05T13:57:56.293" Score="14" Body="&lt;p&gt;The fields are being indexed, but they are not all marked as &lt;code&gt;storageType=&quot;YES&quot;&lt;/code&gt; in the &lt;code&gt;default Lucene configuration&lt;/code&gt;. This means that the fields will be tokenized in the index, but not stored, or visible in Luke. Note that they are &lt;em&gt;still&lt;/em&gt; searchable even tho they are not stored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to be able to see the values in Luke, you will need to change the &lt;code&gt;storageType&lt;/code&gt; to &lt;code&gt;&quot;YES&quot;&lt;/code&gt; in the &lt;code&gt;raw:AddFieldByFieldTypeName&lt;/code&gt; section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example below:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;fieldTypes hint=&quot;raw:AddFieldByFieldTypeName&quot;&amp;gt;&#xA;    &amp;lt;fieldType fieldTypeName=&quot;attachment&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;     &amp;lt;!-- others removed for brevity --&amp;gt;&#xA;  &amp;lt;/fieldTypes&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Doing this will dramatically increase the size of your index and could potentially affect performance.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="5387" LastEditDate="2019-08-06T04:49:02.720" LastActivityDate="2019-08-06T04:49:02.720" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="595" PostTypeId="2" ParentId="478" CreationDate="2016-10-05T14:01:45.277" Score="1" Body="&lt;p&gt;I strongly suggest you look at this post, because you're probably having a similar problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/423/lucene-deadlock&quot;&gt;Lucene Deadlock&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-05T14:01:45.277" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="596" PostTypeId="1" CreationDate="2016-10-05T14:05:42.533" Score="5" ViewCount="564" Body="&lt;p&gt;I am trying to view items linked to a template in the master database but nothing is ever shown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the Request / Response in developer tools gives the following stacktrace&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ArgumentNullException: Value cannot be null.&#xA;Parameter name: ownerItem]&#xA;   Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName) +63&#xA;   Sitecore.Data.Fields.Field..ctor(ID fieldID, Item ownerItem) +113&#xA;   Sitecore.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm.GetLinkTooltip(Item reference, ItemLink link) +314&#xA;   Sitecore.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm.RenderReferences(StringBuilder result, List`1 references) +404&#xA;   Sitecore.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm.OnLoad(EventArgs e) +782&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;   Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;   Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +594&#xA;   System.Web.UI.Control.LoadRecursive() +68&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4498&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone know why the owner item would be null as I suspect it should actually be the template or am I way off ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: the request is :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; http://sitecoredev/sitecore/shell/default.aspx?xmlcontrol=Gallery.Links&amp;amp;id=%7BF8F7723E-B13E-45D5-8C5A-DD39A588DEC8%7D&amp;amp;la=en&amp;amp;vs=1&amp;amp;db=master&amp;amp;sc_content=master&amp;amp;ShowEditor=1&amp;amp;Ribbon.RenderTabs=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the id param is the template id.&lt;/p&gt;&#xA;" OwnerUserId="497" LastActivityDate="2016-10-05T14:27:57.947" Title="Links menu item Throws Server 500 error" Tags="|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="597" PostTypeId="1" AcceptedAnswerId="598" CreationDate="2016-10-05T14:08:21.520" Score="3" ViewCount="974" Body="&lt;p&gt;I need to change the email address I use to log into SDN, SPN, &lt;a href=&quot;http://support.sitecore.net&quot; rel=&quot;nofollow&quot;&gt;http://support.sitecore.net&lt;/a&gt;, dev.sitecore.net, and the rest of the community sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I do this?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="338" LastEditDate="2016-10-05T15:41:05.260" LastActivityDate="2016-10-05T15:41:05.260" Title="How do I change the email address used in my Sitecore Community profiles?" Tags="|community|" AnswerCount="1" CommentCount="3" ClosedDate="2016-10-05T14:58:12.627" ContentLicense="CC BY-SA 3.0" />
  <row Id="598" PostTypeId="2" ParentId="597" CreationDate="2016-10-05T14:13:06.337" Score="2" Body="&lt;p&gt;You can't do that yourself. Contact one of the administrators (e.g. Mark van Aalst) to get you through that process.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-05T14:13:06.337" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="599" PostTypeId="2" ParentId="588" CreationDate="2016-10-05T14:15:41.030" Score="3" Body="&lt;p&gt;&lt;strong&gt;I have not attempted this and have no idea how well this would work in practice.  It's just an idea.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way to handle it might be to just use a versioned field with language fallback and then add a customization that restricted editing to the &quot;master language&quot;.  You could use an item:saving handler to intercept an edit, use the language fallback settings to determine which language the value is coming from and then, create a new numbered version in that language and update the value there.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-05T14:15:41.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="600" PostTypeId="2" ParentId="596" CreationDate="2016-10-05T14:20:10.087" Score="0" Body="&lt;p&gt;Maybe related to this &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/2912&quot; rel=&quot;nofollow&quot;&gt;Sitecore community question The links gallery is broken in Sitecore 8.1 rev. 151207.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I need to obtain the patch and apply it to confirm.&lt;/p&gt;&#xA;" OwnerUserId="497" LastActivityDate="2016-10-05T14:20:10.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="601" PostTypeId="2" ParentId="596" CreationDate="2016-10-05T14:22:25.427" Score="5" Body="&lt;p&gt;This issue has been fixed in Sitecore 7.2 update 6 and Sitecore 8.1 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The support issue that contains a hotfix is &lt;code&gt;452241&lt;/code&gt;. You can request the fix from Sitecore Support. Or alternatively, you can follow the instructions below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix the issue in Sitecore 8.1 (pre Update 2):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Download the hotfix here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.dropbox.com/s/l36zqhwjtahl4q2/Sitecore.Support.452241.dll?dl=0&quot; rel=&quot;nofollow&quot;&gt;https://www.dropbox.com/s/l36zqhwjtahl4q2/Sitecore.Support.452241.dll?dl=0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Put &lt;code&gt;Sitecore.Support.452241.dll&lt;/code&gt; into the &lt;code&gt;bin&lt;/code&gt; folder of your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Replace one line in &lt;code&gt;\sitecore\shell\Applications\Content Manager\Galleries\Links\Gallery Links.xml&lt;/code&gt; from:  &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;CodeBeside Type=&quot;Sitecore.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm,Sitecore.Client&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;CodeBeside Type=&quot;Sitecore.Support.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm,Sitecore.Support.452241&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-05T14:27:57.947" LastActivityDate="2016-10-05T14:27:57.947" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="602" PostTypeId="2" ParentId="544" CreationDate="2016-10-05T14:58:39.897" Score="20" Body="&lt;p&gt;I believe the primary reason is each event has an associated target database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Found a brief explanation &lt;a href=&quot;https://sitecorebasics.wordpress.com/2011/03/19/basics-of-sitecore-event-queue/&quot;&gt;here&lt;/a&gt; by Kiran Patils on how the event queuing works:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The CM instance triggers an event such as &quot;publish:end:remote&quot;.&lt;/li&gt;&#xA;&lt;li&gt;The triggered event is added to the &lt;strong&gt;EventQueue&lt;/strong&gt; table in the database that is targeted by the event. For example, the &lt;em&gt;publish:end:remote&lt;/em&gt; event will be queued up in the publishing target database, typically the &lt;strong&gt;web&lt;/strong&gt; database (unless you’ve specified custom publishing targets/databases).&lt;/li&gt;&#xA;&lt;li&gt;Every 2 seconds, your CD instances poll the &lt;strong&gt;EventQueue&lt;/strong&gt; table in the database from which they are retrieving content. &lt;/li&gt;&#xA;&lt;li&gt;If they find an event queued up in the &lt;strong&gt;EventQueue&lt;/strong&gt; table, they attempt to handle the event according to the handlers defined in the &lt;em&gt;/sitecore/events&lt;/em&gt; section in their respective &lt;strong&gt;web.config&lt;/strong&gt; files. For instance, by default the &lt;em&gt;publish:end:remote&lt;/em&gt; event is configured to execute the &lt;strong&gt;HtmlCacheClearer&lt;/strong&gt; handler for the &lt;em&gt;website&lt;/em&gt; site. Handlers can be added or removed as needed.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; the interval at which your CD instances poll the &lt;strong&gt;EventQueue&lt;/strong&gt; table is configurable in the &lt;em&gt;web.config&lt;/em&gt; file under the &lt;em&gt;/sitecore/eventQueue/processingInterval&lt;/em&gt; node.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-05T14:58:39.897" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="603" PostTypeId="1" AcceptedAnswerId="682" CreationDate="2016-10-05T15:11:55.623" Score="18" ViewCount="2404" Body="&lt;p&gt;I have found that I can assign a goal or a page event to get triggered when a user hits a given page.  So, we have a thank you page a user is redirected to after submitting a form and that successfully triggers our goal.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, we now have a new requirement to do this without the page redirect...  Is there a way I can trigger this goal through some standard API or through JavaScript directly?&lt;/p&gt;&#xA;" OwnerUserId="226" LastEditorUserId="104" LastEditDate="2017-02-08T07:58:15.773" LastActivityDate="2017-02-08T07:58:15.773" Title="Can I register an event or goal through an API from Javascript?" Tags="|xdb|events|fxm|goals|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="604" PostTypeId="2" ParentId="603" CreationDate="2016-10-05T15:18:25.173" Score="14" Body="&lt;p&gt;Yes you can. In this post &lt;a href=&quot;http://ggullentops.blogspot.be/2016/02/integrating-addthis-with-sitecore-goals.html&quot;&gt;http://ggullentops.blogspot.be/2016/02/integrating-addthis-with-sitecore-goals.html&lt;/a&gt; I described how you can trigger a goal from AddThis (so actually using javascript to call a controller).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A snippet from the controller code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var goalItem = ... // get goal item from Sitecore&#xA;var visit = Tracker.Current;&#xA;var page = Tracker.Current.Session.Interaction.PreviousPage;&#xA;var registerTheGoal = new PageEventItem(goalItem);&#xA;var eventData = page.Register(registerTheGoal);&#xA;eventData.Data = goalItem[&quot;Description&quot;];&#xA;eventData.ItemId = goalItem.ID.Guid;&#xA;eventData.DataKey = goalItem.Paths.Path;&#xA;Tracker.Current.Interaction.AcceptModifications();&#xA;Tracker.Current.CurrentPage.Cancel(); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-05T15:18:25.173" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="605" PostTypeId="1" AcceptedAnswerId="608" CreationDate="2016-10-05T15:28:43.073" Score="16" ViewCount="5624" Body="&lt;p&gt;I have the following error showing up in my log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; ManagedPoolThread #8 16:51:28 WARN  Authentication on CES Discovery service failed.&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (403) Forbidden.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at Sitecore.CES.Client.WebClient.ExecuteRequest(String requestUri)&#xA;   at Sitecore.CES.Client.ResourceConnector`1.Request(String endpoint, Object[] parameters)&#xA;   at Sitecore.CES.Discovery.EndpointSource.GetEndpoint(String serviceName)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Little googling shows that it's somehow related to GeoIP lookup.  We're not using any GeoIP lookup functionality though. Is there something I'm missing?  Is there a config setting I need to disable that is ON by default and I just don't know it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="226" LastEditorUserId="5387" LastEditDate="2019-08-01T06:06:49.043" LastActivityDate="2022-03-09T22:43:25.460" Title="GeoIP-related error in my log files, but GeoIP not enabled" Tags="|logging|geo-location|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="606" PostTypeId="1" CreationDate="2016-10-05T15:37:06.940" Score="13" ViewCount="599" Body="&lt;p&gt;I'm researching the Campaign Creator functionality introduced in Sitecore 8.1 and have been able to successfully create campaigns and associate with content items.&lt;/p&gt;&#xA;&lt;p&gt;The issue I'm experiencing is that the campaign creator seems to endlessly load on access once a campaign has been created, thus preventing me from being able to edit the campaign I've just created.&lt;/p&gt;&#xA;&lt;p&gt;Has anyone made use of the Campaign Creator yet who could shine light on my problem ?&lt;/p&gt;&#xA;&lt;p&gt;I'm receiving the following error in the console:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Failed to load resource: the server responded with a status of 500 (Internal Server Error)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The request is hitting &lt;code&gt;/sitecore/api/ssc/CampaignManagement/Campaign?pageSize=10&amp;amp;pa‌​geIndex=0&amp;amp;payLoad=fu‌​ll&amp;amp;language=en&amp;amp;name=‌​&amp;amp;startDate=&amp;amp;endDate=‌​&amp;amp;classifications=&amp;amp;sc‌​_lang=en&lt;/code&gt; which is responding with a JSON string of:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;{&amp;quot;Message&amp;quot;:&amp;quot;An error has occurred.&amp;quot;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Requesting that URL directly results in a 403 (Forbidden) response. Do I need to do something to allow Sitecore to communicate with it's own API?&lt;/p&gt;&#xA;" OwnerUserId="118" LastEditorUserId="2056" LastEditDate="2021-04-06T11:32:18.797" LastActivityDate="2021-04-06T11:32:18.797" Title="Campaign Creator loading problem" Tags="|campaigncreator|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="607" PostTypeId="2" ParentId="605" CreationDate="2016-10-05T15:37:50.280" Score="16" Body="&lt;p&gt;Ensure that the following setting in the Sitecore.Analytics.config file is set to false&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.PerformLookup&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="445" LastActivityDate="2016-10-05T15:37:50.280" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="608" PostTypeId="2" ParentId="605" CreationDate="2016-10-05T15:41:19.880" Score="19" Body="&lt;p&gt;This looks like it's part of the Device Detection feature within the &lt;code&gt;Sitecore.CES&lt;/code&gt; configuration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's fair that you would want device detection yet not have the GeoIP feature of it enabled. Have you tried renaming the following two configuration files to disable them and see if that works?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;App_Config/Include/CES/Sitecore.CES.GeoIp.config&lt;/li&gt;&#xA;&lt;li&gt;App_Config/Include/CES/Sitecore.CES.GeoIp.LegacyLocation.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you don't want device detection at all, it can be changed by patching the following setting in &lt;code&gt;Sitecore.CES.DeviceDetection.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;DeviceDetection.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="28" LastEditorUserId="526" LastEditDate="2017-06-19T07:13:28.517" LastActivityDate="2017-06-19T07:13:28.517" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="609" PostTypeId="2" ParentId="256" CreationDate="2016-10-05T15:41:39.420" Score="3" Body="&lt;p&gt;The simple answer is that when Sitecore redesigned the content editor for 8.0, they removed icons from the sections, probably to keep the design cleaner.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="338" LastEditDate="2016-10-07T13:18:53.610" LastActivityDate="2016-10-07T13:18:53.610" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="610" PostTypeId="1" CreationDate="2016-10-05T15:48:02.817" Score="12" ViewCount="603" Body="&lt;p&gt;We are looking to use wffm on a responsive site and need to make wffm forms responsive.  We are looking for advice or tips on how to go about this or any issues you have had regarding this.&lt;/p&gt;&#xA;" OwnerUserId="512" LastActivityDate="2016-10-05T17:39:22.060" Title="Has anyone made WFFM forms use responsive design?" Tags="|wffm|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="611" PostTypeId="1" AcceptedAnswerId="613" CreationDate="2016-10-05T15:48:48.827" Score="14" ViewCount="1317" Body="&lt;p&gt;This is a really minor issue. But is it possible to have the &quot;Select Media&quot; browser &lt;strong&gt;default to the tree view&lt;/strong&gt; as opposed to list view? I imagine there would be a config setting somewhere. I just feel it would create better interaction and would also be one less click for most of our users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/has9w.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/has9w.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="509" LastActivityDate="2016-10-05T16:03:45.437" Title="How to default the media browser to tree view" Tags="|configuration|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="612" PostTypeId="1" AcceptedAnswerId="615" CreationDate="2016-10-05T15:56:46.027" Score="10" ViewCount="3950" Body="&lt;p&gt;All my other components display as options to add when I click on my main placeholder in Experience Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However one component is not shown in the list and I can't see why. I've added it to the main placeholder placeholder settings in: /sitecore/layout/Placeholder Settings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm running Sitecore 8.1 update 2.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="69" LastEditDate="2016-10-05T16:10:44.010" LastActivityDate="2016-10-05T16:11:56.867" Title="Component not showing as an option to add to a placeholder?" Tags="|experience-editor|placeholders|dynamic-placeholder|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="613" PostTypeId="2" ParentId="611" CreationDate="2016-10-05T16:02:39.673" Score="15" Body="&lt;p&gt;In Sitecore 7.1-7.5 there is a configuration file called Sitecore.Speak.config in the include folder. In that file find the following line:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;override xmlControl=&quot;Sitecore.Shell.Applications.Media.MediaBrowser&quot; &#xA;       with=&quot;/sitecore/client/Sitecore/Common/Dialogs/SelectMediaDialog&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And replace it with this&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;override xmlControl=&quot;Sitecore.Shell.Applications.Media.MediaBrowser&quot; &#xA;        with=&quot;/sitecore/client/Sitecore/Common/Dialogs/SelectMediaViaTreeDialog&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8+, this particular configuration has been moved to a file called Sitecore.Speak.Applications.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information see &lt;a href=&quot;http://ggullentops.blogspot.co.uk/2014/04/configure-media-browser-default-view.html&quot;&gt;http://ggullentops.blogspot.co.uk/2014/04/configure-media-browser-default-view.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="445" LastEditorUserId="70" LastEditDate="2016-10-05T16:03:45.437" LastActivityDate="2016-10-05T16:03:45.437" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="614" PostTypeId="2" ParentId="610" CreationDate="2016-10-05T16:06:54.437" Score="4" Body="&lt;p&gt;We have built responsive forms using WFFM and it's certainly one that needs a little thinking about in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM isn't the most flexible to start with so always try and make sure your forms are designed to be single column. Also try and avoid dependencies between fields as this can quickly descend into nightmare territory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you make use of MVC, you can override the views used for individual fields which makes it much easier to write your markup, and gives more scope for jumping through the hoops that WFFM inevitably throws at you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some useful information on implementation of WFFM and MVC on the Brainjocks blog&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jockstothecore.com/wffm-mvc-implementation-tips/&quot; rel=&quot;nofollow&quot;&gt;http://jockstothecore.com/wffm-mvc-implementation-tips/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="118" LastActivityDate="2016-10-05T16:06:54.437" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="615" PostTypeId="2" ParentId="612" CreationDate="2016-10-05T16:11:56.867" Score="14" Body="&lt;p&gt;Ensure that the component (either the sublayout, view rendering item or the controller rendering item) has it's &quot;editable&quot; checkbox checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WqB0K.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WqB0K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="445" LastActivityDate="2016-10-05T16:11:56.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="616" PostTypeId="1" CreationDate="2016-10-05T16:25:11.697" Score="10" ViewCount="964" Body="&lt;p&gt;We had some issue with Lucene not indexing properly. Usually with the removal of the indexes folder within data folder and rebuilding the indexes through Control Panel's Indexing Manager helps; however, do people generally remove the indexes folder and rebuild indexes manually? What will be the best practice to help regulate performance of Lucene and indexing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://codebuildplay.wordpress.com/2014/04/08/lucene-merge-thread-error-unhandles-exception-detected-the-asp-net-worker-process-will-be-terminated/&quot;&gt;https://codebuildplay.wordpress.com/2014/04/08/lucene-merge-thread-error-unhandles-exception-detected-the-asp-net-worker-process-will-be-terminated/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="513" LastEditorUserId="104" LastEditDate="2016-10-14T10:10:58.110" LastActivityDate="2016-10-14T10:10:58.110" Title="Should indexes folder in data folder be removed every now and then?" Tags="|indexing|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="617" PostTypeId="1" CreationDate="2016-10-05T16:27:20.487" Score="4" ViewCount="126" Body="&lt;p&gt;We have a Sitecore branch with a number of items being created, e.g. Gallery + 4 Gallery items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have created a rendering for the Gallery with a placeholder, and a rendering for the Gallery items (to be used per Gallery item).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When adding a Gallery rendering to a placeholder through Experience Editor, and using the branch to create a new Gallery, we are missing the Gallery items renderings from the Page Layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a simple way that the 4 Gallery items renderings can be added to the Page Layout also? (not manual)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want the Gallery items to be controlled via Experience Editor, to be able to add and remove items, change ordering, etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are on Sitecore 8.1 Update 3&lt;/p&gt;&#xA;" OwnerUserId="510" LastActivityDate="2016-10-05T18:37:30.700" Title="How to automate adding renderings for a branched item added to a page through Experience Editor?" Tags="|presentation|branch|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="618" PostTypeId="2" ParentId="616" CreationDate="2016-10-05T16:49:14.523" Score="10" Body="&lt;p&gt;From what I remember if you perform a full index rebuild from the Control Panel, index files will be removed. You don't need to do this manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And yes, sometimes indexes may become corrupted for multiple reason. Like network connectivity issues or application restart. Rebuilding the whole index may be the easiest option in some cases.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-05T16:49:14.523" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="620" PostTypeId="2" ParentId="610" CreationDate="2016-10-05T17:35:30.380" Score="1" Body="&lt;p&gt;We have also done so but we removed all of the styles that Web Forms for Marketeers ships with and created our own in-line with our own front-end build pipeline - we use SASS and Gulp to generate them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We could then apply most of the same form styles we use elsewhere on the site for non-WFFM forms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to be aware of is if you remove JQuery UI some of the fields (such as the calendar field) require this to be in place to function. You will also need to support the half-section, one third classes in the form designer too if you remove all the styles as we have.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0atoG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0atoG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-05T17:35:30.380" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="621" PostTypeId="2" ParentId="610" CreationDate="2016-10-05T17:39:22.060" Score="3" Body="&lt;p&gt;If you are using WFFM 8.0 update-5 or newer then the module uses &lt;a href=&quot;http://getbootstrap.com/&quot; rel=&quot;nofollow&quot;&gt;Bootstrap&lt;/a&gt; to provide it's styling by default, so the forms are responsive to begin with. You don't need to do anything, it is enabled by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If however your own site is not using Bootstrap or you have conflicts with the styling on your own site then you can disable using the following setting which ensures that the css files not sent to the client:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!-- Disable Bootstrap CSS for WFFM --&amp;gt;&#xA;&amp;lt;setting name=&quot;WFM.EnableBootstrapCssRendering&quot; set:value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The markup generated by the WFFM module will still be in &quot;Bootstrap&quot; format, and the best option is to apply your own styling over the default generated markup when possible. WFFM 8.0 update-5 onwards uses C# Helpers to generate the HTML markup so it is not as simple as updating the cshtml Editor Templates as it was in earlier version of MVC WFFM.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-05T17:39:22.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="622" PostTypeId="1" AcceptedAnswerId="635" CreationDate="2016-10-05T17:39:29.117" Score="12" ViewCount="7981" Body="&lt;p&gt;My website went down last night and as we were looking through the log files on one of the CD instances we found this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; 6684 23:20:21 ERROR &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt; &amp;lt;response&amp;gt;&#xA;&amp;gt; &amp;lt;lst name=&quot;error&quot;&amp;gt;&amp;lt;str name=&quot;msg&quot;&amp;gt;java.lang.OutOfMemoryError: Java&#xA;&amp;gt; heap space&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;trace&quot;&amp;gt;java.lang.RuntimeException:&#xA;&amp;gt; java.lang.OutOfMemoryError: Java heap space   at&#xA;&amp;gt; org.apache.solr.servlet.HttpSolrCall.sendError(HttpSolrCall.java:611)&#xA;&amp;gt;   at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:472)&#xA;&amp;gt;   at&#xA;&amp;gt; org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:223)&#xA;&amp;gt;   at&#xA;&amp;gt; org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:181)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)&#xA;&amp;gt;   at org.eclipse.jetty.server.Server.handle(Server.java:499)  at&#xA;&amp;gt; org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)     at&#xA;&amp;gt; org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)&#xA;&amp;gt;   at java.lang.Thread.run(Unknown Source) Caused by:&#xA;&amp;gt; java.lang.OutOfMemoryError: Java heap space   at&#xA;&amp;gt; java.lang.Class.getEnclosingMethod0(Native Method)    at&#xA;&amp;gt; java.lang.Class.getEnclosingMethodInfo(Unknown Source)    at&#xA;&amp;gt; java.lang.Class.getEnclosingClass(Unknown Source)     at&#xA;&amp;gt; java.lang.Class.getSimpleBinaryName(Unknown Source)   at&#xA;&amp;gt; java.lang.Class.getSimpleName(Unknown Source)     at&#xA;&amp;gt; org.apache.solr.request.SolrQueryRequestBase.toString(SolrQueryRequestBase.java:170)&#xA;&amp;gt;   at&#xA;&amp;gt; org.apache.solr.search.stats.LocalStatsCache.get(LocalStatsCache.java:42)&#xA;&amp;gt;   at&#xA;&amp;gt; org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:372)&#xA;&amp;gt;   at&#xA;&amp;gt; org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:273)&#xA;&amp;gt;   at&#xA;&amp;gt; org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:156)&#xA;&amp;gt;   at org.apache.solr.core.SolrCore.execute(SolrCore.java:2073)    at&#xA;&amp;gt; org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:658)&#xA;&amp;gt;   at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:457)&#xA;&amp;gt;   at&#xA;&amp;gt; org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:223)&#xA;&amp;gt;   at&#xA;&amp;gt; org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:181)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)&#xA;&amp;gt;   at org.eclipse.jetty.server.Server.handle(Server.java:499)  at&#xA;&amp;gt; org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)     at&#xA;&amp;gt; org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)&#xA;&amp;gt;   at&#xA;&amp;gt; org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)&#xA;&amp;gt; &amp;lt;/str&amp;gt;&amp;lt;int name=&quot;code&quot;&amp;gt;500&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt; &amp;lt;/response&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In looking at the Solr JVM, we noticed that it defaults to a maximum memory of 512 Mb. This does not appear to be enough. We bumped it up to 1 Gig, and that brought up our website and we are not getting any errors in the Solr logs. So what kind of memory footprint are people giving to Solr? What is Sitecore doing that is filling up that much memory?&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="666" LastEditDate="2019-04-01T05:15:18.403" LastActivityDate="2019-04-01T05:15:18.403" Title="How much memory does the JVM for Solr need?" Tags="|solr|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="623" PostTypeId="5" CreationDate="2016-10-05T18:02:42.460" Score="0" Body="&lt;p&gt;The Content Editor is an editing tool that you can use to manage and edit all the content on your website. It is designed for more experienced content authors who are familiar with Sitecore and the functionality that it contains. The Content Editors appearance and functionality vary depending on the user’s roles, the local security settings, and the customization that have been implemented on the Sitecore installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/getting_started_with_content_authoring/tools/the_content_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/getting_started_with_content_authoring/tools/the_content_editor&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/creating_and_editing_items/editing/edit_the_website_content&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/creating_and_editing_items/editing/edit_the_website_content&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_editing_tools&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_editing_tools&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-13T22:09:57.343" LastActivityDate="2018-02-13T22:09:57.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="624" PostTypeId="4" CreationDate="2016-10-05T18:02:42.460" Score="0" Body="For questions related to the Content Editor interface. Includes context menu, ribbon, content tree, field sections, field validations, etc." OwnerUserId="95" LastEditorUserId="164" LastEditDate="2016-10-05T21:15:46.553" LastActivityDate="2016-10-05T21:15:46.553" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="625" PostTypeId="5" CreationDate="2016-10-05T18:04:45.160" Score="0" Body="&lt;p&gt;The Sitecore PowerShell Extensions (SPE) module is a Sitecore development accelerator which can drastically increase your productivity and curtail the amount of time it takes to deliver a Sitecore solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="95" LastEditDate="2019-02-12T20:13:20.890" LastActivityDate="2019-02-12T20:13:20.890" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="626" PostTypeId="4" CreationDate="2016-10-05T18:04:45.160" Score="0" Body="Anything related to the Sitecore PowerShell Extensions (SPE) module" OwnerUserId="95" LastEditorUserId="73" LastEditDate="2021-03-10T16:03:35.077" LastActivityDate="2021-03-10T16:03:35.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="627" PostTypeId="2" ParentId="580" CreationDate="2016-10-05T18:05:00.080" Score="2" Body="&lt;p&gt;You can check the content of your exported package (it might be a problem with export not import).&#xA;This error can be caused by:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;missing page item in the package (there must be at least one &lt;strong&gt;index.html&lt;/strong&gt; file)&lt;/li&gt;&#xA;&lt;li&gt;First selected &lt;strong&gt;index.html&lt;/strong&gt; has no information about exported language.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Open your package and if there is a &lt;strong&gt;index.html&lt;/strong&gt; make sure that in the body element in class attribute there is a language information&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example body tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;body class=&quot;&#xA;{71E0EFC2-CC97-4066-B15F-7644972C4EFC} &#xA;{en} &#xA;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3} &#xA;[Ignore-This] sc81 preview default-device [Ignore-This-End] add-your-css-classes-here&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-05T18:05:00.080" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="628" PostTypeId="2" ParentId="622" CreationDate="2016-10-05T18:09:36.867" Score="4" Body="&lt;p&gt;What's the capacity of the server?  A rule of thumb would be 1/4 of the available memory . . . so an 8 GB machine could use 2 GB.  This is just a rough guide I've seen in a few cases.  &lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-10-05T18:09:36.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="629" PostTypeId="1" AcceptedAnswerId="852" CreationDate="2016-10-05T18:12:11.390" Score="6" ViewCount="722" Body="&lt;p&gt;I am working with Sitecore 8.1 and I am having a strange issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a General Link field called 'Login Link' on which I am trying set required field validation. I have selected 'Required' for all the validation rules section in the template for that field such as :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Quick Action Bar&lt;/li&gt;&#xA;  &lt;li&gt;Validate Button&lt;/li&gt;&#xA;  &lt;li&gt;Validator Bar&lt;/li&gt;&#xA;  &lt;li&gt;Workflow&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Screenshot from validator bar section is given below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UGidz.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UGidz.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I go to the item that uses this template, I do not see Validator Bar for the Login Link field when the value is blank. Since I have Required selected in validator bar, I was expecting to see a red validator bar if the item fails validation. However, I do not see the validator bar when the item fails the validation. It does show up for the other field which is a rich text field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing any step in this process? Please let me know!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;br&gt;&#xA;Akshay&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE - 10/06/16&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did a little more digging into it and it turns out that only the first item that fails validation was getting the validator bar. When I moved my Login Link field to be the first item in my template, it did give me a validator bar. Please see the screenshot below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uXNeC.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uXNeC.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="403" LastEditorUserId="1000" LastEditDate="2017-01-21T17:46:00.770" LastActivityDate="2017-01-21T17:46:00.770" Title="Validator bar not appearing for general link field" Tags="|content-editor|validation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="630" PostTypeId="2" ParentId="629" CreationDate="2016-10-05T18:20:58.540" Score="1" Body="&lt;p&gt;The Sitecore &lt;code&gt;RequiredFieldValidator&lt;/code&gt; checks to see if the supplied field value is null or empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With XML-type fields (&lt;code&gt;General Link&lt;/code&gt; fits in this type) this validator seldom works because merely accessing and/or saving the field without supplying a value will create some framing XML that will pass the &lt;code&gt;string.IsNullOrEmpty()&lt;/code&gt; test.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To see this at work, enter the Content Editor. On the VIEW tab, switch to &quot;Raw Values&quot; - You will see the XML in the field that you thought was empty!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should write your own validator that checks each of the individual attributes of this complex field type.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2016-10-05T18:20:58.540" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="631" PostTypeId="2" ParentId="629" CreationDate="2016-10-05T18:25:55.177" Score="1" Body="&lt;p&gt;The only thing I can think of is &lt;strong&gt;non empty field value&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Turn on &lt;code&gt;Raw Values&lt;/code&gt; and make sure that your &lt;code&gt;General Link&lt;/code&gt; field is &lt;strong&gt;empty&lt;/strong&gt;, otherwise you will not see Required validation bar (even if there is only white space inside).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to create new template and everything works fine on my machine &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.NET 8.1 (rev. 160519)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want I can make a package with my template and example content item where validation bar is shown&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vZl4f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vZl4f.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-06T06:03:57.580" LastActivityDate="2016-10-06T06:03:57.580" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="632" PostTypeId="1" AcceptedAnswerId="643" CreationDate="2016-10-05T18:35:36.647" Score="13" ViewCount="27170" Body="&lt;p&gt;I have a control property with a data source pointing to a folder with items with fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to loop through the children of the item in the data source and display them on my view?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my view I have:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;@using Sitecore.Mvc.Presentation&#xA;@using Sitecore.Mvc&#xA;@model RenderingModel&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my controller I have:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var renderingModel = new Sitecore.Mvc.Presentation.RenderingModel();&#xA;    var myTitle = renderingModel.PageItem.Fields[&quot;Title&quot;].Value;&#xA;    var item = Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.Item;&#xA;    var itemPageContext = Sitecore.Mvc.Presentation.RenderingContext.Current.PageContext.Item;&#xA;    return View();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HT5mJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HT5mJ.png&quot; alt=&quot;Control Properties&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h9qIz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h9qIz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="73" LastEditDate="2018-07-12T16:09:45.620" LastActivityDate="2018-07-12T16:09:45.620" Title="Accessing the Data Source of a Control" Tags="|mvc|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="633" PostTypeId="2" ParentId="617" CreationDate="2016-10-05T18:37:30.700" Score="1" Body="&lt;p&gt;What is the purpose of Gallery component? Does it holds empty placeholder only?&#xA;If I understand your approach you want to add &lt;strong&gt;Gallery Item&lt;/strong&gt; renderings to that empty placeholder once you create data source from branch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure if this is the right approach to build composite components, because there is no simple way to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally you would add your &lt;strong&gt;Gallery Item&lt;/strong&gt; rendering on &lt;strong&gt;Gallery Item template&lt;/strong&gt; so when you create &lt;strong&gt;Gallery&lt;/strong&gt; your all &lt;strong&gt;Gallery items&lt;/strong&gt; have rendering on theirs layout definition by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then your &lt;strong&gt;Gallery&lt;/strong&gt; rendering should point to a datasource and use each &lt;strong&gt;Gallery Item&lt;/strong&gt; to obtain details from layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you normally binds your &lt;strong&gt;Gallery Item&lt;/strong&gt; rendering with fields from &lt;strong&gt;Gallery Item template&lt;/strong&gt;, then you can dynamically render single &lt;strong&gt;Gallery Item&lt;/strong&gt; rendering content inside &lt;strong&gt;Gallery&lt;/strong&gt; rendering switching data item one by one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To summarize. I think you should rethink your approach and create just single rendering and inject data from data items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I misunderstood your idea, let me know.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-05T18:37:30.700" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="634" PostTypeId="2" ParentId="545" CreationDate="2016-10-05T18:43:34.277" Score="3" Body="&lt;p&gt;Yes many types of events can be handled locally, not required to be shared to other servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See solution #2 at &lt;a href=&quot;https://kb.sitecore.net/articles/930920&quot; rel=&quot;nofollow&quot;&gt;https://kb.sitecore.net/articles/930920&lt;/a&gt; -- using the FileBasedPropertyStore has reduced volume of the EventQueue by 60% or more for some of the large implementations I've worked with.  It shifts the specific events to the file system of IIS instead of SQL Server.&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-10-05T18:43:34.277" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="635" PostTypeId="2" ParentId="622" CreationDate="2016-10-05T18:45:35.527" Score="9" Body="&lt;p&gt;There is no one good answer for your question. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I remember we had similar issue few years ago and at that time the answer from one of the Sitecore Solr experts was to start with defaults and observe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you encounter any memory issues, double what you assigned. If you have problem again, repeat the step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are drawbacks of assigning to much memory so don't go for maximum what your machine has.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that in some scenarios you will have to use 64bit java to be able to assign enough memory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And your question about what Sitecore does - hard to tell. My guess would be content of media items. In some scenarios Sitecore keeps separate document with all the content of the document for every single language version you have in your solution.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-05T18:45:35.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="636" PostTypeId="1" CreationDate="2016-10-05T18:49:02.510" Score="5" ViewCount="190" Body="&lt;p&gt;As I understand it, your Sitecore license limits how many content authors can be logged into Sitecore concurrently. If I were to write a web application that uses the Sitecore ItemService API to allow users on our intranet to manage data in Sitecore (e.g., user profile or product details), would those API calls count against the content author limit in the license?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if my license allows a maximum of four content authors to be logged in simultaneously, would calls from the ItemService API be blocked from managing content in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="10" LastActivityDate="2016-10-05T19:03:25.550" Title="Does Sitecore licensing affect API calls?" Tags="|licensing|" AnswerCount="1" CommentCount="2" ClosedDate="2016-10-05T23:45:11.723" ContentLicense="CC BY-SA 3.0" />
  <row Id="637" PostTypeId="1" AcceptedAnswerId="709" CreationDate="2016-10-05T18:49:47.277" Score="8" ViewCount="131" Body="&lt;p&gt;I am currently unable to check the 'Ignore Additional Registrations' checkbox for any of the Outcomes in the Marketing Control Panel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following error is written to the logs when I try to save the change.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Event code: 3005  Event message: An unhandled exception has occurred. &#xA;  Event time: 10/5/2016 11:40:56 AM  Event time (UTC): 10/5/2016 6:40:56&#xA;  PM  Event ID: 9aa236d1cd4e4eed8bf49754522b3c9d  Event sequence: 754 &#xA;  Event occurrence: 1  Event detail code: 0    Application information: &#xA;      Application domain: /LM/W3SVC/1/ROOT-2-131201628730241453 &#xA;      Trust level: Full &#xA;      Application Virtual Path: / &#xA;      Application Path: E:\wwwroot\Sitecore\Website\ &#xA;      Machine name: MD1DEVVEXWEB09    Process information: &#xA;      Process ID: 3996 &#xA;      Process name: w3wp.exe &#xA;      Account name: IIS APPPOOL\SitecoreAppPool    Exception information: &#xA;      Exception type: TargetInvocationException &#xA;      Exception message: Exception has been thrown by the target of an invocation.    at System.RuntimeMethodHandle.InvokeMethod(Object&#xA;  target, Object[] arguments, Signature sig, Boolean constructor)    at&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments)    at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br&gt;&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;  Object[] parameters, Object obj)    at&#xA;  Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args,&#xA;  Pipeline pipeline)    at&#xA;  Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic)&lt;br&gt;&#xA;  at Sitecore.Web.UI.Sheer.ClientPage.RunPipelines()    at&#xA;  Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e)    at&#xA;  Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs&#xA;  e)    at System.Web.UI.Control.PreRenderRecursiveInternal()    at&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;One or more exceptions occurred while processing the subscribers to&#xA;  the 'item:saved' event.    at&#xA;  Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName,&#xA;  Object[] parameters, EventResult result)    at&#xA;  Sitecore.Events.Event.RaiseEvent(String eventName, Object[]&#xA;  parameters)    at Sitecore.Events.Event.RaiseItemSaved(Object sender,&#xA;  ItemSavedEventArgs args)    at System.EventHandler&lt;code&gt;1.Invoke(Object&#xA;  sender, TEventArgs e)    at&#xA;  Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.RaiseEvent[TArgs](EventHandler&lt;code&gt;1&#xA;  handlers, Func&lt;/code&gt;2 argsCreator)    at&#xA;  Sitecore.Data.Engines.EngineCommand`2.Execute()    at&#xA;  Sitecore.Data.Engines.DataEngine.SaveItem(Item item)    at&#xA;  Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)    at&#xA;  Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean&#xA;  updateStatistics, Boolean silent)    at&#xA;  Sitecore.Pipelines.Save.Save.Process(SaveArgs args)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Request information: &#xA;Request URL: https://stage.domainremovedforsecurity.com:443/sitecore/shell/Applications/Content&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;Manager/default.aspx?he=Marketing Control&#xA;  Panel&amp;amp;pa=0&amp;amp;ic=People/16x16/megaphone.png&amp;amp;ro={33CFB9CA-F565-4D5B-B88A-7CDFE29A6D71}&amp;amp;mo=templateworkspace&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Request path: /sitecore/shell/Applications/Content Manager/default.aspx &#xA;User host address: 172.16.102.103 &#xA;User: sitecore\admin &#xA;Is authenticated: True &#xA;Authentication Type:  &#xA;Thread account name: IIS APPPOOL\SitecoreAppPool    Thread information: &#xA;Thread ID: 93 &#xA;Thread account name: IIS APPPOOL\SitecoreAppPool &#xA;Is impersonating: False &#xA;Stack trace:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)    at&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments)    at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br&gt;&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;  Object[] parameters, Object obj)    at&#xA;  Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args,&#xA;  Pipeline pipeline)    at&#xA;  Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic)&lt;br&gt;&#xA;  at Sitecore.Web.UI.Sheer.ClientPage.RunPipelines()    at&#xA;  Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e)    at&#xA;  Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs&#xA;  e)    at System.Web.UI.Control.PreRenderRecursiveInternal()    at&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;      Custom event details:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It seems I can rename the item with no problem, I just can't check the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running Sitecore 8.1 Update 2 and xDB Cloud.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; This has now been confirmed as a bug by Sitecore (reference number 128651). A hotfix has been created for it. &lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="369" LastEditDate="2016-10-11T15:27:17.223" LastActivityDate="2016-10-11T15:35:42.770" Title="Unable to check 'Ignore Additional Registrations' for any Outcomes" Tags="|xdb|marketing-control-panel|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="638" PostTypeId="1" AcceptedAnswerId="668" CreationDate="2016-10-05T18:54:46.873" Score="8" ViewCount="208" Body="&lt;p&gt;When exporting a site for agencies, the resulting zip file does not contain an index.html.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Versions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 (rev. 160729)&lt;br&gt;&#xA;Sitecore Experience Accelerator 1.0.0 for 8.2&lt;br&gt;&#xA;Sitecore PowerShell Extensions-4.1 for Sitecore 8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Settings:&#xA;Device: Default&lt;br&gt;&#xA;Exported Content: Whole Site&lt;br&gt;&#xA;Mode: Agency drop  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried Author mode.  Same problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="500" LastEditorUserId="73" LastEditDate="2021-05-30T07:48:29.580" LastActivityDate="2021-05-30T07:48:29.580" Title="Export does not include an index.html file" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="639" PostTypeId="2" ParentId="636" CreationDate="2016-10-05T18:55:53.217" Score="4" Body="&lt;p&gt;As I recall, a client from a while back wanted to have more content authors than they wanted to pay for content authoring licenses. (We're talking like 200+ authors).  So, they contracted the company I was working for to bulid a completely custom authoring app that allowed this to happen without having to login as Sitecore users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, as it stands to reason, I would say if you're building something that utilizes the ItemWeb API, and the users do not have to be logged into Sitecore as &lt;code&gt;sitecore&lt;/code&gt; domain users, then you're probably safe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;However, as a Sitecore Partner&lt;/strong&gt; I would yield to asking your Sitecore Inside Sales Account Manager for clarity.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: That's also based on the server instance licensing model.  Consumption based licensing is based on production CD visits, not users.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-05T19:03:25.550" LastActivityDate="2016-10-05T19:03:25.550" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="640" PostTypeId="2" ParentId="632" CreationDate="2016-10-05T18:59:24.647" Score="1" Body="&lt;p&gt;Try this&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.DataSource&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will get your datasource item (Home Page Rotator) ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can obtain children and pass whole collection to the View via Model and display whatever you want.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-05T19:07:39.207" LastActivityDate="2016-10-05T19:07:39.207" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="641" PostTypeId="1" AcceptedAnswerId="774" CreationDate="2016-10-05T19:07:33.567" Score="12" ViewCount="803" Body="&lt;p&gt;&lt;strong&gt;Background:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of our clients has contracted us to create a &quot;siloing&quot; feature on their site, using personalization. Basically, a visitor would come to the site and optionally self-identify as a particular type of professional. Each type of professional is associated with a single profile key and pattern card. If a user self-identifies as a particular type of professional, the visitor is scored to the max value of the associated profile key. Should the visitor re-identify as a different type of professional, the old identification is completely cleared out (set to the minimum value) and the new data is scored to the max. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the first time that I have had to set profile key values to a maximum or minimum. In Sitecore, I have set the maximum to 0 and the minimum to 100 for each of the profile key items that I have created. I know that these items do not control the profile key items that I am scoring in the code, but if in the code I set the scores to &lt;code&gt;float.MinValue&lt;/code&gt; and &lt;code&gt;float.MaxValue&lt;/code&gt; for minimum and maximum, respectively, will this cause an issue down the line for reporting?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Side-note:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client does not intend to do any reporting/analytics based on this &quot;siloing&quot; feature. If they decide to add that in the future, we will add additional personalization events that do not get cleared out to the feature.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-07T16:00:01.063" Title="Minimizing and Maximizing Profile Key Values Programmatically" Tags="|xdb|personalization|experience-profile|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="642" PostTypeId="2" ParentId="632" CreationDate="2016-10-05T19:18:52.053" Score="5" Body="&lt;p&gt;Since you have &lt;code&gt;@model RenderingModel&lt;/code&gt;, you could access the datasource item via &lt;code&gt;Model.Rendering.Item&lt;/code&gt;.  To loop over the child items of the datasource you would do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;@foreach(Item child in Model.Rendering.Item.Children)&#xA;{&#xA;    &amp;lt;div&amp;gt;@child.Name&amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2016-10-05T19:28:56.737" LastActivityDate="2016-10-05T19:28:56.737" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="643" PostTypeId="2" ParentId="632" CreationDate="2016-10-05T19:22:23.543" Score="26" Body="&lt;p&gt;&lt;strong&gt;Controller:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class RotatorController : SitecoreController &#xA;{&#xA;  public ActionResult Index()&#xA;  {&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;&#xA;    var viewModel = new RotatorViewModel&#xA;    {&#xA;      RotatorItems = dataSource.Children&#xA;    };&#xA;    return View(viewModel);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View Model:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class RotatorViewModel&#xA;{&#xA;  public IEnumerable&amp;lt;Item&amp;gt; RotatorItems { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@model RotatorViewModel &#xA;&#xA;&amp;lt;h1&amp;gt;This is a rotator!&amp;lt;/h1&amp;gt;&#xA;@foreach (var item in Model.RotatorItems)&#xA;{&#xA;  &amp;lt;h2&amp;gt;@item.Fields[&quot;Title&quot;]&amp;lt;/h2&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="10" LastEditorUserId="10" LastEditDate="2016-10-06T12:42:44.743" LastActivityDate="2016-10-06T12:42:44.743" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="644" PostTypeId="1" AcceptedAnswerId="650" CreationDate="2016-10-05T19:46:51.157" Score="7" ViewCount="4641" Body="&lt;p&gt;Sitecore provides a large number of fields out of the box, and while some of them are obvious (Checkbox, Single Line Text, ...) some fields are not obvious by name alone (eg. What is Droplist vs Droplink).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a listing for all the field types built into Sitecore, with an example of how they are rendered within the Content Editor?&lt;/p&gt;&#xA;" OwnerUserId="164" LastEditorUserId="71" LastEditDate="2016-10-05T20:55:29.667" LastActivityDate="2016-10-05T20:55:29.667" Title="List of built-in Sitecore Field Types" Tags="|content-editor|fieldtype|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="645" PostTypeId="2" ParentId="622" CreationDate="2016-10-05T19:57:43.227" Score="4" Body="&lt;p&gt;I think the answer to this question depends on a number of things:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;How many items are in your indexes?&lt;/li&gt;&#xA;&lt;li&gt;How many indexes do you have and how large are they?&lt;/li&gt;&#xA;&lt;li&gt;How heavily you are using the indexes?&lt;/li&gt;&#xA;&lt;li&gt;How much memory you have available on your server and if the server is just a search server or if it provides other services?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;With 3) above you need to consider if you are using Content Search a lot in your custom code to get items etc or just really for search results pages only. Also are you using a lot of facets? All of this will lead to more load on the SOLR server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on all of the above you should be able to work out a good amount of Memory to allocate. In my experience the more you allocate the better. I've seen 60% allocation on a dedicated Solr server working well. So on a 16GB server something like 6-12GB seems about right.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if you have lots of indexes or some are large you may benefit from Sharding your indexes or using Solr Cloud (a good article I've used when setting this up before: &lt;a href=&quot;http://www.chrissulham.com/sitecore-on-solr-cloud-part-2/&quot; rel=&quot;nofollow&quot;&gt;http://www.chrissulham.com/sitecore-on-solr-cloud-part-2/&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-05T20:20:21.693" LastActivityDate="2016-10-05T20:20:21.693" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="646" PostTypeId="1" AcceptedAnswerId="660" CreationDate="2016-10-05T20:01:01.073" Score="7" ViewCount="4385" Body="&lt;p&gt;I have a couple follow-up questions for this question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/632/sitecore-mvc-accessing-the-data-source-of-a-control&quot;&gt;Sitecore MVC - Accessing the Data Source of a Control&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;In the foreach loop, how do I output an image?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Since the model for the view is now strongly typed, how can I get the RenderingModel fields using the Html helper syntax? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;Title&quot;)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In my controller I have:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;    var viewModel = new RotatorViewModel();&#xA;    viewModel.RotatorItems = dataSource.Children;&#xA;    viewModel.Initialize(RenderingContext.Current.Rendering);&#xA;    return View(viewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am trying to inherit RenderingModel:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RotatorViewModel : RenderingModel&#xA;{&#xA;    public IEnumerable&amp;lt;Item&amp;gt; RotatorItems { get; set; }&#xA;&#xA;    public HtmlString Title&#xA;    {&#xA;        get&#xA;        {               &#xA;            return new HtmlString(FieldRenderer.Render(this.Item, &quot;Title&quot;));&#xA;        }&#xA;    }&#xA;&#xA;    public HtmlString Text&#xA;    {&#xA;        get&#xA;        {&#xA;            return new HtmlString(FieldRenderer.Render(this.Item, &quot;Text&quot;));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my view I have:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc.Presentation&#xA;@using Sitecore.Mvc&#xA;@model BentleyBootstrap.Controllers.HomeController.RotatorViewModel&#xA;&#xA;@foreach (var item in Model.RotatorItems)&#xA;{&#xA;    &amp;lt;h2&amp;gt;@item.Fields[&quot;Title&quot;]&amp;lt;/h2&amp;gt;&#xA;    @item.Fields[&quot;Sub Title&quot;]&#xA;}&#xA;@Model.Title&#xA;&amp;lt;br /&amp;gt;&#xA;@Model.Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-05T21:31:30.953" Title="Sitecore MVC - Images Inside foreach Loop &amp; RenderingModel for Strongly Typed Views" Tags="|mvc|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="647" PostTypeId="2" ParentId="606" CreationDate="2016-10-05T20:06:28.070" Score="0" Body="&lt;p&gt;If you are using Glass Mapper and Windsor for dependency injection you need to do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.Speak.Client&quot;).BasedOn&amp;lt;Controller&amp;gt;().LifestylePerWebRequest());&#xA;container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.ListManagement.Services&quot;).BasedOn&amp;lt;ContactListController&amp;gt;().LifestylePerWebRequest());&#xA;container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.Marketing.Campaigns.Services&quot;).BasedOn&amp;lt;CampaignController&amp;gt;().LifestylePerWebRequest());&#xA;container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.Marketing.Campaigns.Services&quot;).BasedOn&amp;lt;ClassificationsController&amp;gt;().LifestylePerWebRequest());&#xA;container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.ContentTesting&quot;).BasedOn&amp;lt;TestOutcomesController&amp;gt;().LifestylePerWebRequest());&#xA;container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.ContentTesting&quot;).BasedOn&amp;lt;ActivityController&amp;gt;().LifestylePerWebRequest());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is a thread on this topic: &lt;a href=&quot;https://stackoverflow.com/questions/26416906/no-component-for-supporting-the-service-sitecore-mvc-controllers-sitecorecontrol&quot;&gt;https://stackoverflow.com/questions/26416906/no-component-for-supporting-the-service-sitecore-mvc-controllers-sitecorecontrol&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="191" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-11T01:22:49.557" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="648" PostTypeId="2" ParentId="646" CreationDate="2016-10-05T20:30:43.487" Score="7" Body="&lt;p&gt;I'm not sure what code you have currently but in your controller you could do something like this to get the image urls for the sub items and return them in a view model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  List&amp;lt;string&amp;gt; imageUrls;&#xA;  foreach(var item in parent.GetItems())&#xA;  {&#xA;  string hashedUrl = HashingUtils.ProtectAssetUrl(Sitecore.StringUtil.EnsurePrefix('/', Sitecore.Resources.Media.MediaManager.GetMediaUrl(item));&#xA;&#xA;  imageUrls.Add(hashedUrl);&#xA;  }&#xA;&#xA;  var pageViewModel = new PageViewModel {ImageUrls = imageUrls};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in your view you can do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var imageUrl in PageViewModel.ImageIDs) {&#xA;&amp;lt;div class=&quot;image-container&quot;&amp;gt;&#xA;    &amp;lt;img src=&quot;@imageUrl&quot;&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also have you looked at using Glass (&lt;a href=&quot;http://www.glass.lu/mapper/sc&quot;&gt;http://www.glass.lu/mapper/sc&lt;/a&gt;)? this really makes testing and creating Sitecore views and controllers a lot easier.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-05T20:30:43.487" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="649" PostTypeId="1" AcceptedAnswerId="666" CreationDate="2016-10-05T20:33:13.690" Score="3" ViewCount="6274" Body="&lt;p&gt;I have a site running Sitecore 8.0 (Win Forms) with some problems publishing. What steps should be taken to troubleshoot this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site has problems both on a local development environment and in the Live scaled environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Symptoms include: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content does not show up unless IIS is recycled.&lt;/li&gt;&#xA;&lt;li&gt;Content disappears that used to show. Primarily (maybe only?) images are affected.&lt;/li&gt;&#xA;&lt;li&gt;Some content shows up after several days.&lt;/li&gt;&#xA;&lt;li&gt;Some content does not show up at all no matter what steps are taken.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Steps already taken:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Checking that all related content is published such as templates, sublayouts, placeholder settings. Verifying that these exist in the web database.&lt;/li&gt;&#xA;&lt;li&gt;Republishing using Republish everything.&lt;/li&gt;&#xA;&lt;li&gt;Clearing Sitecore caches&lt;/li&gt;&#xA;&lt;li&gt;Reindexing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In the case of content that shows up after resetting IIS, I suspect that there is some ASP.Net caching going on that I have not yet been able to find. How could that be confirmed or how could Sitecore be ruled out? What else should be suspected? &lt;/p&gt;&#xA;" OwnerUserId="244" LastActivityDate="2016-10-05T22:47:20.997" Title="Content does not show after publishing" Tags="|publishing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="650" PostTypeId="2" ParentId="644" CreationDate="2016-10-05T20:36:04.340" Score="13" Body="&lt;p&gt;I found an older post on Sitecore fieldtypes and the way they are rendered in a blogpost. It's not the complete list, but a starting point:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.mtelligent.com/home/2014/8/29/sitecore-field-type-overview-reference.html&quot;&gt;http://www.mtelligent.com/home/2014/8/29/sitecore-field-type-overview-reference.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-10-05T20:36:04.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="651" PostTypeId="1" AcceptedAnswerId="657" CreationDate="2016-10-05T20:39:51.493" Score="11" ViewCount="968" Body="&lt;p&gt;I am trying to delete a large number of data templates - an entire section.  However I have some content items that use those data templates and also there seems to be a lot of template inheritance and Standard Values that use these templates.  I wish I could just delete the entire section of the content tree.  However when I try to delete the entire section I always get a message telling me that I can't delete a certain template because it is in use.  Then I have to hunt down all of the individual content items that use that data template.  Once I do that then I can move to the next one.  It is a very long and manual process.  Is there any way to just delete an entire section of data templates and all of the content items that are based on those data templates?&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="95" LastEditDate="2016-10-05T22:17:43.990" LastActivityDate="2016-10-06T06:56:50.167" Title="How to delete data templates?" Tags="|content-editor|templates|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="653" PostTypeId="1" AcceptedAnswerId="659" CreationDate="2016-10-05T20:49:05.933" Score="21" ViewCount="568" Body="&lt;p&gt;I have a scenario in a site we're building where there are groups of pages organized into folders for organizational purposes.  However, the folders aren't pages themselves.  Here's an example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oUe4b.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oUe4b.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If someone navigates to &lt;a href=&quot;http://site.com/mypage/components&quot; rel=&quot;noreferrer&quot;&gt;http://site.com/mypage/components&lt;/a&gt;, they will get the typical &quot;layout not found&quot; Sitecore error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fgVNx.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fgVNx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a typical or recommended way to handle this?  Do you use 301-redirects to redirect requests for site.com/mypage/components to another page or do you override a processor to throw a 404 error/page?&lt;/p&gt;&#xA;" OwnerUserId="226" LastEditorUserId="423" LastEditDate="2017-09-15T14:18:59.447" LastActivityDate="2017-09-15T14:18:59.447" Title="Is there a recommended approach to handling navigable Items with no layout defined?" Tags="|information-architecture|" AnswerCount="5" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="654" PostTypeId="2" ParentId="554" CreationDate="2016-10-05T20:54:49.500" Score="5" Body="&lt;p&gt;This is a &quot;bug&quot; in the WFFM module, the Sheer UI form does not set a different text for those headings. In a previous version of WFFM which did not include the &quot;Select Existing Form&quot; option I had &lt;a href=&quot;https://jammykam.wordpress.com/2015/10/05/webforms-for-marketers-allow-selection-of-existing-forms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;added this option back in myself&lt;/a&gt; so it is possible to override the behaviour and set the &quot;correct&quot; headings.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make a copy of &lt;code&gt;/sitecore/shell/Applications/Modules/Web Forms for Marketers/InsertFormWizard.xml&lt;/code&gt; and place it in &lt;code&gt;/sitecore/shell/Override&lt;/code&gt; folder&lt;/li&gt;&#xA;&lt;li&gt;Update the &lt;code&gt;CodeBeside&lt;/code&gt; attribute of the &lt;code&gt;WizardForm&lt;/code&gt; element to your custom class&lt;/li&gt;&#xA;&lt;li&gt;Create a new class as below to override the labels and screen text&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System.Text;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Globalization;&#xA;&#xA;namespace MySite.CMS.Custom&#xA;{&#xA;    public class InsertFormWizard : Sitecore.Forms.Shell.UI.InsertFormWizard&#xA;    {&#xA;        protected override void Localize()&#xA;        {&#xA;            base.Localize();&#xA;            // This sets the header and sub-text for the Insert Existing Form screen&#xA;            this.SelectForm[&quot;Header&quot;] = Translate.Text(&quot;Select Existing Form&quot;);&#xA;            this.SelectForm[&quot;Text&quot;] = Translate.Text(&quot;Select an existing form to insert&quot;);&#xA;        }&#xA;&#xA;        protected override bool ActivePageChanging(string page, ref string newpage)&#xA;        {&#xA;            bool flag = base.ActivePageChanging(page, ref newpage);&#xA;            if (newpage == &quot;ConfirmationPage&quot; &amp;amp;&amp;amp; this.InsertForm.Checked)&#xA;            {&#xA;                // This prepends details about the existing form you are selecting&#xA;                this.ChoicesLiteral.Text = RenderFormSelection() + this.ChoicesLiteral.Text;&#xA;            }&#xA;            return flag;&#xA;        }&#xA;&#xA;        private string RenderFormSelection()&#xA;        {&#xA;            Item source = ExistingFormSelection();&#xA;&#xA;            StringBuilder stringBuilder = new StringBuilder();&#xA;            stringBuilder.Append(this.RenderBeginSection(&quot;FORM&quot;));&#xA;            stringBuilder.Append($&quot;&amp;lt;p&amp;gt;{Translate.Text(&quot;Using existing form&quot;)}: {source.Paths.FullPath}&amp;lt;/p&amp;gt;&quot;);&#xA;            stringBuilder.Append(this.RenderEndSection());&#xA;            return stringBuilder.ToString();&#xA;        }&#xA;&#xA;        private Item ExistingFormSelection()&#xA;        {&#xA;            string queryString = Sitecore.Web.WebUtil.GetQueryString(&quot;la&quot;);&#xA;            Language result = Sitecore.Context.ContentLanguage;&#xA;            if (!string.IsNullOrEmpty(queryString))&#xA;                Language.TryParse(Sitecore.Web.WebUtil.GetQueryString(&quot;la&quot;), out result);&#xA;&#xA;            Item source = this.FormsRoot.Database.GetItem(this.multiTree.Selected, result);&#xA;            return source;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The header of the final translation screen is shared between all of the selection types so it is not possible to change it on a case by case basis. You could change it by adding a Dictionary entry for it though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the above the screen now look like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0kAtg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0kAtg.png&quot; alt=&quot;Existing Form Selection&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b08Y0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b08Y0.png&quot; alt=&quot;Final Confirmation Screen&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also possible to translate all/most of the labels in the labels displayed. As @aseabridge points out, the default text is indeed embedded in a resource file within the Sitecore.WFFM DLL &lt;strong&gt;but&lt;/strong&gt; labels are retrieved via a call to &lt;code&gt;Sitecore.Globalization.Translate.Text()&lt;/code&gt;, which you will see if you follow the calls through &lt;code&gt;DependenciesManager.ResourceManager.Localize()&lt;/code&gt;. The text is retrieved from the resource file and then it tries to locate a translation in the &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-asp-net-cms-6-6-features-dictionary-domains&quot; rel=&quot;nofollow noreferrer&quot;&gt;Domain Dictionaries (which uses dictionary fallback)&lt;/a&gt; otherwise it returns the default text from the resource file. The &lt;code&gt;Key&lt;/code&gt; of the dictionary item needs to match exactly as it is in the resource file. If the dictionary items do not exist then you can create them yourself and provide the dictionary (in either domain, master or core dictionary since fallback applies), so this makes it possible to translate the labels to a different language if you wish.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-10-06T08:39:59.523" LastActivityDate="2016-10-06T08:39:59.523" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="655" PostTypeId="2" ParentId="651" CreationDate="2016-10-05T20:59:51.437" Score="5" Body="&lt;p&gt;I don't have a &quot;one size fits all solution, but I can give you some advice:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;investigate what data templates you need to delete&lt;/li&gt;&#xA;&lt;li&gt;Create a Sitecore powershell script (or some c# code) which will iterate through all your sitecore items, check for their templates and remove them if you got a match.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This kind of automations is the only way (as far as I know) to save you loads of time&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-10-05T20:59:51.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="657" PostTypeId="2" ParentId="651" CreationDate="2016-10-05T21:01:47.877" Score="18" Body="&lt;p&gt;This seems like a perfect taks for Sitecore Powershell Extensions&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;First of all I would get a list of template IDs to remove&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$templateIds = Get-ChildItem /sitecore/templates/you/better/know/where/to/look -Recurse | &#xA;    ? { $_.TemplateName -eq &quot;Template&quot; }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Then you can search your other templates for inheritance&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem &quot;/sitecore/templates/neverland&quot; - Recurse | ? { $_.TemplateName -eq &quot;Template&quot; } |% {&#xA;    $currentTemplate = $_&#xA;    $templateIds |% {&#xA;        $currentTemplate.&quot;__Base Template&quot; = $currentTemplate.&quot;__Base Template&quot; -Replace &quot;$($_.ID)\|&quot;, &quot;&quot;&#xA;        $currentTemplate.&quot;__Base Template&quot; = $currentTemplate.&quot;__Base Template&quot; -Replace &quot;$($_.ID)&quot;, &quot;&quot;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Finally for each of your templates you can go over your content and delete items which are based on it&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$templateIds |% {&#xA;   $deletingTemplate = $_&#xA;   Get-ChildItem &quot;/sitecore/content&quot; -Recurse | ? { $_.TemplateName -eq $deletingTemplate.Name } | Remove-Item&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strike&gt;This is a rough idea of how this can be done with SPE. You might need to tweak it here or there.&lt;/strike&gt;&#xA;Ok, fixed the code a bit. There still might be some small issues but it should moreover be correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Remember though! Never run untested powershell scrips on production and always make a backup - this code can potentially damage your data!&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="95" LastEditDate="2016-10-05T22:15:32.457" LastActivityDate="2016-10-05T22:15:32.457" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="658" PostTypeId="2" ParentId="653" CreationDate="2016-10-05T21:03:24.157" Score="0" Body="&lt;p&gt;I would use 404 because for example /components is not a page and it should not be a part of an url. On the otherhand from SEO prospective 301 is not really valid in this case.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-10-05T21:21:41.887" LastActivityDate="2016-10-05T21:21:41.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="659" PostTypeId="2" ParentId="653" CreationDate="2016-10-05T21:13:28.047" Score="13" Body="&lt;p&gt;Both options are valid and more of a principal discussion. As the page hasn't ever existed, a 301 redirect (moved permanently) may not be the right option, but from a user perspective, the /about may (or may not) be redirected to most important item under that group.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a 404.0 (page not found) may the better option from a principal perspective, as, the page doesn't exist. Users may think that it's a badly build site, as a valid looking url results into a result that wasn't expected. (Is the site broken, do I miss information?). Especially because /about is part of the URL, and people tend to remove parts of the url to navigate through the site (well, I do ;)).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would choose the 301 redirect in this case, for those &quot;group&quot; url's, as they are part of the url's of the subpages. I would use 404 for pages that really don't exist, like /About1, /bla, /huppeldepup &lt;/p&gt;&#xA;&#xA;&lt;p&gt;edit:&#xA;as the question got changed as well ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for this example, using the hero slider content, I would choose for a 404, as it are url's that people shouldn't navigate to.&lt;/p&gt;&#xA;" OwnerUserId="71" LastEditorUserId="71" LastEditDate="2016-10-05T21:16:16.170" LastActivityDate="2016-10-05T21:16:16.170" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="660" PostTypeId="2" ParentId="646" CreationDate="2016-10-05T21:17:51.883" Score="7" Body="&lt;p&gt;As has been mentioned. You should do this in your Constructor action and view model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is an &lt;em&gt;example&lt;/em&gt; of how you could do this &lt;em&gt;without&lt;/em&gt; and ORM. But really if you are not using an ORM you are making life more difficult for yourself. Have a look at &lt;a href=&quot;http://fortis.ws&quot; rel=&quot;noreferrer&quot;&gt;Fortis&lt;/a&gt; (my preferred choice) or &lt;a href=&quot;http://glass.lu/&quot; rel=&quot;noreferrer&quot;&gt;Glass Mapper&lt;/a&gt; (another very good choice).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create your view model properly:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class RotatorItem&#xA;{&#xA;    public RotatorItem(Item item)&#xA;    {&#xA;        this.Title = new HtmlString(FieldRenderer.Render(&quot;Title&quot;, item));&#xA;        this.ItemImage = new HtmlString(FieldRenderer.Render(&quot;Item Image&quot;, item));&#xA;    }&#xA;&#xA;    public IHtmlString Title { get; }&#xA;&#xA;    public IHtmlString Text { get; }&#xA;&#xA;    // You can add more fields here&#xA;&#xA;    public IHtmlString ItemImage { get; }&#xA;}&#xA;&#xA;public class RotatorViewModel &#xA;{&#xA;    public RotatorViewModel() &#xA;    {&#xA;        this.Items = new List&amp;lt;RotatorItem&amp;gt;();&#xA;    }&#xA;&#xA;    public IHtmlString Title { get; set; }&#xA;&#xA;    public IList&amp;lt;RotatorItem&amp;gt; Items { get; set;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now we can populate that in the action:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;&#xA;    var viewModel = new RotatorViewModel&#xA;    {&#xA;        Title = new HtmlString(FieldRenderer.Render(&quot;Title&quot;, dataSource)),&#xA;        Text = new HtmlString(FieldRenderer.Render(&quot;Text&quot;, dataSource))&#xA;    }&#xA;&#xA;    foreach(var child in dataSource.Children)&#xA;    {&#xA;        viewModel.Items.Add(&#xA;            new RotatorItem(child);&#xA;        )&#xA;    }&#xA;&#xA;    return View(viewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that the view model is just a straight POCO - no need to inherit any other rendering model here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now your razor becomes:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc.Presentation&#xA;@using Sitecore.Mvc&#xA;@model RotatorViewModel&#xA;&#xA;@foreach (var item in Model.RotatorItems)&#xA;{&#xA;    &amp;lt;h2&amp;gt;@item.Title&amp;lt;/h2&amp;gt;&#xA;    @item.ItemImage&#xA;    &amp;lt;!-- etc... add other fields here --&amp;gt;&#xA;}&#xA;&#xA;@Model.Title&#xA;&amp;lt;br /&amp;gt;&#xA;@Model.Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only real &quot;Sitecore&quot; bit of this is populating the view model properties with rendered Sitecore fields - the rest is really just basic MVC stuff. Don't try to over think the MVC stuff and let Sitecore get in the way of doing it simply.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And don't do any of the above - use an ORM!&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-10-05T21:23:06.870" LastActivityDate="2016-10-05T21:23:06.870" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="661" PostTypeId="2" ParentId="646" CreationDate="2016-10-05T21:19:03.463" Score="1" Body="&lt;p&gt;If you look at the Sitecore Ignition (&lt;a href=&quot;https://github.com/sitecoreignition/SitecoreIgnition&quot; rel=&quot;nofollow&quot;&gt;https://github.com/sitecoreignition/SitecoreIgnition&lt;/a&gt;) code you can see a number of examples of this being done. We use Glass Mapper as has been mentioned before, but there are others as well. You can look at code specifically in Ignition.Sc under Components. We use Controller Renderings with Glass and strongly typed models and there are a number of examples there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One example is our Content Block&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Ignition.Sc.Components.Content.IContentBlock&#xA;&#xA;&amp;lt;div class=&quot;col-footer col-md-4 col-xs-6&quot;&amp;gt;&#xA;    &amp;lt;h3&amp;gt;@Model.Heading&amp;lt;/h3&amp;gt;&#xA;    &amp;lt;p class=&quot;contact-us-details&quot;&amp;gt;&#xA;    @Html.Raw(Model.Copy1)&#xA;    &amp;lt;/p&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case we use automatic data binding to populate the view model, but you could just as easily map your DTO's to your ViewModels manually. Using Glass, the Datasource property will be set for you assuming the type has been defined in the GlassCache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://glass.lu/&quot; rel=&quot;nofollow&quot;&gt;http://glass.lu/&lt;/a&gt; has examples and tutorials as well in addition to the examples in Ignition.&lt;/p&gt;&#xA;" OwnerUserId="238" LastActivityDate="2016-10-05T21:19:03.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="662" PostTypeId="2" ParentId="653" CreationDate="2016-10-05T21:19:46.730" Score="9" Body="&lt;p&gt;If your items do not have any layout then they should throw a 404 error. You can update the &lt;code&gt;LayoutNotFoundUrl&lt;/code&gt; setting to match your 404 page on your site so that the user is presented with a &lt;a href=&quot;https://sitecore.stackexchange.com/questions/221/how-do-you-setup-a-404-and-500-error-page-for-missing-files-and-media-items/223#223&quot;&gt;friendlier looking error page&lt;/a&gt; than the default Sitecore one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;LayoutNotFoundUrl&quot; set:value=&quot;/url-to/404&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using this setting there is no need to override any processors, as long as your 404 page correctly sets a 404 status code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your examples, the &quot;Hero Slider Content&quot; and the slides themselves are not navigable pages in their own right and only used in the context of the parent page (as datasource items) so browsing to any of those components should trigger a 404 to be thrown also (on the assumption that they too have no layout set).&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-05T21:19:46.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="663" PostTypeId="2" ParentId="646" CreationDate="2016-10-05T21:23:49.170" Score="1" Body="&lt;p&gt;I am building off of the accepted answer for the question you linked to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View Model&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class RotatorViewModel&#xA;{&#xA;    public IEnumerable&amp;lt;Slide&amp;gt; Slides { get; set; }&#xA;    public HtmlString Title { get; set; }&#xA;    public HtmlString Text { get; set; }&#xA;&#xA;    public class Slide&#xA;    {&#xA;        public HtmlString Title { get; set; }&#xA;        public HtmlString SubTitle { get; set; }&#xA;        public HtmlString Image { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class RotatorController : SitecoreController &#xA;{&#xA;    public ActionResult Index()&#xA;    {&#xA;        var dataSource = RenderingContext.Current.Rendering.Item;&#xA;        var viewModel = new RotatorViewModel&#xA;        {&#xA;            Title = FieldRenderer.Render(datasource, &quot;Title&quot;),&#xA;            Text = FeildRenderer.Render(datasource, &quot;Text&quot;)&#xA;        };&#xA;        viewModel.Slides = datasource.Children&#xA;            .Select(c =&amp;gt; new RotatorViewModel.Slide&#xA;                {&#xA;                    Title = FieldRenderer.Render(c, &quot;Title&quot;),&#xA;                    SubTitle = FieldRenderer.Render(c, &quot;Sub Title&quot;),&#xA;                    Image = FieldRenderer.Render(c, &quot;Image&quot;)&#xA;                });&#xA;&#xA;        return View(viewModel);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@model RotatorViewModel &#xA;&#xA;@foreach (var slide in Model.Slides)&#xA;{&#xA;    &amp;lt;h2&amp;gt;@slide.Title&amp;lt;/h2&amp;gt;&#xA;    @slide.SubTitle&#xA;    @slide.Image&#xA;}&#xA;@Model.Title&#xA;&amp;lt;br /&amp;gt;&#xA;@Model.Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As others have mentioned, it would be better to use a mapper/wrapper library like Glass Mapper or Synthesis so you don't have to have the magic strings in there.  In fact, if you were using one of those libraries, your controller would hardly be needed for this simple case.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2016-10-05T21:31:30.953" LastActivityDate="2016-10-05T21:31:30.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="664" PostTypeId="5" CreationDate="2016-10-05T21:51:44.907" Score="0" Body="&lt;p&gt;You can manage all your media items from the Media Library, such as images that you want to embed in a webpage or make available for download by visitors. The Media Library contains all you media items, such as images, documents, videos, and audio files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Media Library you can:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Keep all your media files in one place and organize them in a folder structure similar to the content tree.&lt;/li&gt;&#xA;&lt;li&gt;Navigate the content tree or use Sitecore’s search functionality to quickly find media items.&lt;/li&gt;&#xA;&lt;li&gt;Upload media files to the Media Library. You can use the upload buttons to browse your computer for images or simply use the Drag &amp;amp; Drop dialog box to add media files.&lt;/li&gt;&#xA;&lt;li&gt;Make every media content item and media file versionable.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/media_items/the_media_library&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/media_items/the_media_library&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.wisc.edu/wsb/60322&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.wisc.edu/wsb/60322&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/media_items/using_media_items/upload_a_file_to_the_media_library&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/media_items/using_media_items/upload_a_file_to_the_media_library&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/media_items&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/media_items&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T06:51:24.343" LastActivityDate="2018-02-22T06:51:24.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="665" PostTypeId="4" CreationDate="2016-10-05T21:51:44.907" Score="0" Body="Anything related to media stored in the database or file system and created as items in the Media Library. " OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-10-06T08:18:58.777" LastActivityDate="2016-10-06T08:18:58.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="666" PostTypeId="2" ParentId="649" CreationDate="2016-10-05T22:00:09.203" Score="8" Body="&lt;p&gt;There are a number of steps to take here:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;as JammyKam mentioned check /siteore/admin/cache.aspx to see what is being stored in the cache&lt;/li&gt;&#xA;&lt;li&gt;also look at /sitecore/admin/stats.aspx also to see what components are cached&lt;/li&gt;&#xA;&lt;li&gt;check your cache settings, i.e do you have Caching.DisableCacheSizeLimits set to true or specific cache settings for templates and also your pre-fetch cache settings :&lt;a href=&quot;https://reasoncodeexample.com/2013/03/20/sitecore-cache-settings-for-slackers/&quot;&gt;https://reasoncodeexample.com/2013/03/20/sitecore-cache-settings-for-slackers/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;check you have event queues enabled (EnableEventQueues) : &lt;a href=&quot;http://sitecoreblog.patelyogesh.in/2013/07/sitecore-event-queue-scalability-king.html&quot;&gt;http://sitecoreblog.patelyogesh.in/2013/07/sitecore-event-queue-scalability-king.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;check Your publish:end and publish:end:remote handlers include the Sitecore.Publishing.HtmlCacheClearer class, with all sites included: &lt;a href=&quot;https://rcchopra.wordpress.com/2013/01/28/sitecore-publishing-cache/&quot;&gt;https://rcchopra.wordpress.com/2013/01/28/sitecore-publishing-cache/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Take a look at the pages using the debug tool: &lt;a href=&quot;http://practicaltinkering.essertown.com/2015/01/troubleshooting-sitecore-performance.html&quot;&gt;http://practicaltinkering.essertown.com/2015/01/troubleshooting-sitecore-performance.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Look at the cache settings on your renderings on sitecore and on the layout details of pages and see what the 'vary by' settings are set to.&lt;/li&gt;&#xA;&lt;li&gt;Take a look at your page layout code and component/controller code and see if you have output caching enabled or custom caches.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This should be a good start to finding out what the issue is.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-05T22:22:52.917" LastActivityDate="2016-10-05T22:22:52.917" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="667" PostTypeId="2" ParentId="546" CreationDate="2016-10-05T22:07:44.010" Score="3" Body="&lt;p&gt;For reference there is a nice response on &lt;a href=&quot;https://stackoverflow.com/questions/24192678/sitecore-eventqueue-table-growing-out-of-control&quot;&gt;StackOverflow&lt;/a&gt; as to how cleanup the queue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore recommends fewer than 1000 items in the table and the solution to keep them below that is to run the agents more frequently. Assuming the server times are synchronized and properly configured, you should expect within a few minutes of the agent running that the data is safe to delete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The default scheduled frequency to run is every 5 minutes and the interval for each agent is 4 hours.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-05T22:07:44.010" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="668" PostTypeId="2" ParentId="638" CreationDate="2016-10-05T22:09:15.933" Score="10" Body="&lt;p&gt;The index.html actually exists in the zip, but is not visible under the standard Windows Expolorer unzipper for some reason. If you use 7Zip to unzip the the package, you should find all files there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've addressed the problem and it should be solved in the upcoming release.&lt;/p&gt;&#xA;" OwnerUserId="202" LastActivityDate="2016-10-05T22:09:15.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="670" PostTypeId="2" ParentId="649" CreationDate="2016-10-05T22:47:20.997" Score="0" Body="&lt;p&gt;Also, might check to see if you have enabled any browser cache settings: &lt;a href=&quot;https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching&quot; rel=&quot;nofollow&quot;&gt;https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="49" LastActivityDate="2016-10-05T22:47:20.997" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="671" PostTypeId="2" ParentId="591" CreationDate="2016-10-05T22:55:09.720" Score="1" Body="&lt;p&gt;I've had to do something similar recently which involved extending the treeview and used JammyKams post as a guide so thought I'd have a go at putting something together for this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TreelistWithChildTemplateSupport : TreeList&#xA;{&#xA;&#xA;    [Description(&quot;Base templates to include.&quot;)]&#xA;    [Category(&quot;Data&quot;)]&#xA;    public string IncludeBaseTemplatesForSelection&#xA;    {&#xA;        get { return GetViewStateString(&quot;IncludeBaseTemplatesForSelection&quot;); }&#xA;        set&#xA;        {&#xA;            Assert.ArgumentNotNull(value, &quot;value&quot;);&#xA;            SetViewStateString(&quot;IncludeBaseTemplatesForSelection&quot;, value);&#xA;        }&#xA;    }&#xA;&#xA;    public new virtual void Add()&#xA;    {&#xA;    if (!this.HasIncludeBaseTemplatesForSelection(selectionItem))&#xA;      return;&#xA;    base.Add();&#xA;   }&#xA;&#xA;  private bool HasIncludeBaseTemplatesForSelection(Item item)&#xA;  {&#xA;  Assert.ArgumentNotNull((object) item, &quot;item&quot;);&#xA;  if (this.IncludeBaseTemplatesForSelection.Length == 0)&#xA;    return true;&#xA;  return HasItemBaseTemplate(item, this.IncludeBaseTemplatesForSelection);&#xA; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in the HasItemBaseTemplate() you could do something similar to Anders post here: &lt;a href=&quot;https://laubplusco.net/sitecore-extensions-does-a-sitecore-item-derive-from-a-template/&quot; rel=&quot;nofollow&quot;&gt;https://laubplusco.net/sitecore-extensions-does-a-sitecore-item-derive-from-a-template/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've not tested this code but hopefully this is a good start for you. &lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-05T22:55:09.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="672" PostTypeId="2" ParentId="653" CreationDate="2016-10-05T23:07:59.117" Score="2" Body="&lt;p&gt;One way to handle this is to define a template or a field called something like &quot;Exclude from URL&quot; and then use a custom link provider and item resolver to skip these items when generating links and resolving requests. To correctly resolve items with this approach you do need to store the custom URLs somewhere though. One traditional approach is to store item-URL-mappings in the Sitecore IDTable triggered by a publish:end event, but using an index might be a better solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was discussed quite a lot when Item Buckets arrived, for example by &lt;a href=&quot;https://adeneys.wordpress.com/2013/07/19/item-buckets-and-urls/&quot; rel=&quot;nofollow&quot;&gt;Alistair Deneys here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="274" LastActivityDate="2016-10-05T23:07:59.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="674" PostTypeId="1" AcceptedAnswerId="676" CreationDate="2016-10-06T02:26:07.243" Score="25" ViewCount="2915" Body="&lt;p&gt;Is it possible to create a mock Sitecore (using Sitecore 8.2) item using NSubstitute? I would like to write a unit test to cover the following pipeline processor code, which adds a child folder item called &quot;Items&quot; if it does not exist.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(GetRenderingDatasourceArgs args)&#xA;{&#xA;  var renderingItem = args.RenderingItem;&#xA;&#xA;  if (!renderingItem.GetChildren().Any(item =&amp;gt; item.Name == &quot;Items&quot; &amp;amp;&amp;amp; item.TemplateID == TemplateIDs.Folder))&#xA;    renderingItem.Add(&quot;Items&quot;, new TemplateID(TemplateIDs.Folder));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would like to write unit tests that cover the following scenarios:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;When the passed in item does not have a child &quot;Items&quot; folder then one is created. The substitute item should return a child item of the correct type, and should be able to verify that the &lt;code&gt;Add&lt;/code&gt; method was not called.&lt;/li&gt;&#xA;&lt;li&gt;When it does have a child &quot;Items&quot; folder another one is not created. The substitute item should not return any children, and should confirm that the &lt;code&gt;Add&lt;/code&gt; method was called with the correct parameters.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="247" LastEditorUserId="246" LastEditDate="2016-10-06T23:45:14.720" LastActivityDate="2016-10-07T01:36:01.827" Title="How do I create an NSubstitute Sitecore item?" Tags="|unit-testing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="675" PostTypeId="2" ParentId="651" CreationDate="2016-10-06T02:51:14.377" Score="4" Body="&lt;p&gt;Not a direct solution for your problem, but if any other scenarios,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you want to delete an item without respecting the references to other items, you can use &lt;code&gt;/sitecore/admin/DbBrowser.aspx&lt;/code&gt; tool.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this tool will skip more of the pipeline processers and should be used cautiously.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="66" LastEditDate="2016-10-06T06:56:50.167" LastActivityDate="2016-10-06T06:56:50.167" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="676" PostTypeId="2" ParentId="674" CreationDate="2016-10-06T02:53:53.730" Score="23" Body="&lt;p&gt;This is possible with Sitecore 8.2, since the &lt;code&gt;GetChildren&lt;/code&gt; and &lt;code&gt;Add&lt;/code&gt; methods became virtual with this version.  (You &lt;em&gt;could&lt;/em&gt; create an NSubstitute Sitecore 8.1 item, but NSubstiute would not be able to interact with its methods, so there would not be any point in doing so.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To create a Subsitute item, you need to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create an item ID:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var itemId = ID.NewID;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create an item definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var definition = new ItemDefinition(itemId, string.Empty, ID.Null, ID.Null);&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create an item data object:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var data = new ItemData(&#xA;  definition, &#xA;  Language.Current, &#xA;  Sitecore.Data.Version.First, &#xA;  new FieldList());&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a substitute database, which is easy in Sitecore 8.2 because the class is now abstract:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Database db = Substitute.For&amp;lt;Database&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create the substitute item, passing in the itemID, ItemData object, and substitute database as parameters:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item item = Substitute.For&amp;lt;Item&amp;gt;(itemId, data, db);&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If the code under test interacts with the Paths property, you will need to set this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;item.Paths.Returns(Substitute.For&amp;lt;ItemPath&amp;gt;(item));&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now that you have a Substitute item, you can use the &lt;code&gt;Returns&lt;/code&gt; and &lt;code&gt;Received&lt;/code&gt; methods as normal with NSubstitute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ProcessorTests&#xA;{&#xA;    [Fact]&#xA;    public void Processor_ItemsFolderMissing_CreatesIt()&#xA;    {&#xA;        var sut = new DataSourceFolderCreator();&#xA;        Item renderingItem = MakeSubstituteItem();&#xA;        renderingItem.SetChildren(new ItemList());&#xA;        renderingItem.Database.Should().NotBeNull();&#xA;&#xA;        var args = new GetRenderingDatasourceArgs(renderingItem, renderingItem.Database);&#xA;&#xA;        sut.Process(args);&#xA;&#xA;        renderingItem.Received()&#xA;          .Add(&quot;Items&quot;, new TemplateID(TemplateIDs.Folder));&#xA;    }&#xA;&#xA;    [Fact]&#xA;    public void Processor_ItemsFolderPresent_DoesNotCreateIt()&#xA;    {&#xA;        var sut = new DataSourceFolderCreator();&#xA;        var folderItem = MakeSubstituteItem();&#xA;        var renderingItem = MakeSubstituteItem();&#xA;        folderItem.Name.Returns(&quot;Items&quot;);&#xA;        folderItem.TemplateID.Returns(TemplateIDs.Folder);&#xA;        renderingItem.SetChildren(new ItemList { folderItem });&#xA;        var args = new GetRenderingDatasourceArgs(renderingItem, renderingItem.Database);&#xA;&#xA;        sut.Process(args);&#xA;&#xA;        renderingItem.DidNotReceiveWithAnyArgs().Add(&quot;&quot;, new TemplateID());&#xA;    }&#xA;&#xA;    private Item MakeSubstituteItem()&#xA;    {&#xA;        var itemId = ID.NewID;&#xA;        var definition = new ItemDefinition(&#xA;          itemId, string.Empty, ID.Null, ID.Null);&#xA;        var data = new ItemData(&#xA;          definition, Language.Current,&#xA;          Sitecore.Data.Version.First, new FieldList());&#xA;        var db = Substitute.For&amp;lt;Database&amp;gt;();&#xA;&#xA;        var item =  Substitute.For&amp;lt;Item&amp;gt;(itemId, data, db);&#xA;        item.Paths.Returns(Substitute.For&amp;lt;ItemPath&amp;gt;(item));&#xA;&#xA;        return item;&#xA;    }&#xA;}&#xA;&#xA;public static class ItemExtensions&#xA;{&#xA;    public static void SetChildren(this Item item, ItemList items = null)&#xA;    {&#xA;        if (items == null)&#xA;        {&#xA;            items = new ItemList();&#xA;        }&#xA;        item.GetChildren().Returns(new ChildList(item, items));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="247" LastEditorUserId="247" LastEditDate="2016-10-07T01:36:01.827" LastActivityDate="2016-10-07T01:36:01.827" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="677" PostTypeId="1" AcceptedAnswerId="797" CreationDate="2016-10-06T04:53:59.620" Score="7" ViewCount="4184" Body="&lt;p&gt;We are almost complete with a large project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to find out which rendering in the page has been configured to use data source using a Powershell script. So that we can run in both UAT and Prod to make sure all rendering data source has been configured properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone done this before?&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="249" LastEditDate="2016-10-06T16:27:29.677" LastActivityDate="2016-10-11T07:38:14.313" Title="How to get list of all the renderings that has been configured to use data source" Tags="|powershell-extensions|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="678" PostTypeId="2" ParentId="677" CreationDate="2016-10-06T06:41:39.777" Score="5" Body="&lt;p&gt;The simplest solution would be to inspect the renderings of every item and print out the ID of an item and the value of the Datasource:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem /sitecore/content/home -Recurse | Get-Rendering |? { $_.Datasource -ne &quot;&quot; } | ft OwnerItemId, Datasource&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can further work on the &lt;code&gt;Format-Table&lt;/code&gt; (ft) syntax to get more appealing result.&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-10-06T06:47:00.563" LastActivityDate="2016-10-06T06:47:00.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="679" PostTypeId="2" ParentId="251" CreationDate="2016-10-06T07:15:48.700" Score="6" Body="&lt;p&gt;If it is a custom config then it should also contain the &lt;code&gt;_uniqueid&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;_uniqueid&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;    &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It looks like that it is problem. Because when you rebuild the index then it doesn't care about existing entries in the index, it just rebuild it. In the other cases it needs the &lt;code&gt;_uniqueid&lt;/code&gt; to find in the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here you can find a detailed blog post about it: &lt;a href=&quot;https://trnktms.wordpress.com/2016/09/29/duplicate-entries-in-lucene-index-after-item-publishsave&quot; rel=&quot;noreferrer&quot;&gt;https://trnktms.wordpress.com/2016/09/29/duplicate-entries-in-lucene-index-after-item-publishsave&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-10-06T11:24:41.083" LastActivityDate="2016-10-06T11:24:41.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="680" PostTypeId="1" AcceptedAnswerId="681" CreationDate="2016-10-06T07:26:14.490" Score="3" ViewCount="500" Body="&lt;p&gt;I am trying to run a field editor for editing some meta data (tagging, description, title, image selection) in Experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My starting point was &lt;a href=&quot;https://blog.istern.dk/2015/03/02/running-sitecore-field-editor-from-a-speak-command-in-sitecore-experience-editor/&quot; rel=&quot;nofollow&quot;&gt;https://blog.istern.dk/2015/03/02/running-sitecore-field-editor-from-a-speak-command-in-sitecore-experience-editor/&lt;/a&gt;, and it seems mostly functional.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last thing I need resolved is a proper implementation of the JS method &lt;code&gt;canExecute()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I figured that I would need to look up the templates of the context item, but so far my searches have yielded little of use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The current JS for my button looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;define([&#xA;    &quot;sitecore&quot;,&#xA;    &quot;/-/speak/v1/ExperienceEditor/ExperienceEditor.js&quot;&#xA;], function (Sitecore, ExperienceEditor) {&#xA;&#xA;  Sitecore.Commands.LaunchFieldEditor =&#xA;  {&#xA;    canExecute: function (context) {&#xA;      //YOU COULD ADD FUNCTIONALITY HERE TO SEE IF ITEMS HAVE THE CORRECT FIELDS&#xA;      return true;&#xA;    },&#xA;    execute: function (context) {&#xA;&#xA;      //THIS IS THE ACCESSKEY ON LINK TAG &quot;A&quot;&#xA;      context.currentContext.argument = context.button.viewModel.$el[0].accessKey;&#xA;&#xA;      ExperienceEditor.PipelinesUtil.generateRequestProcessor(&quot;ExperienceEditor.GenerateFieldEditorUrl&quot;, function (response) {&#xA;        var DialogUrl = response.responseValue.value;&#xA;        var dialogFeatures = &quot;dialogHeight: 680px;dialogWidth: 520px;&quot;;&#xA;        ExperienceEditor.Dialogs.showModalDialog(DialogUrl, '', dialogFeatures, null);&#xA;      }).execute(context);&#xA;&#xA;    }&#xA;  };&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have considered rendering the template IDs of the context item into the page content and comparing that to a value stored together with the fields (in accessKey). Such a solution seems a little messy to me, since it would include rendering data into a completely different part of the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have considered doing some sort of service that could resolve the problem based on the field names + the id of the context item, but such a thing would need calling async, and that does not seem acceptable for &lt;code&gt;canExecute()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;My original script passed field names to the generateRequestProcessor call, by picking them out of the accessKey propery of the rendered button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I ended up passing the required templates around using the same field and a querystring-like syntax. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This made checking for the required templates fairly simple serverside. Updated script below.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;define([&#xA;    &quot;sitecore&quot;, &#xA;    &quot;/-/speak/v1/ExperienceEditor/ExperienceEditor.js&quot;&#xA;], function (sitecore, experienceEditor) {&#xA;&#xA;    sitecore.Commands.LaunchFieldEditor =&#xA;    {&#xA;        canExecute: function (context) {&#xA;            context.currentContext.argument = context.button.viewModel.$el[0].accessKey;&#xA;            return context.app.canExecute(&quot;ExperienceEditor.CanExecuteFieldEditor&quot;, context.currentContext);&#xA;    },&#xA;        execute: function (context) {&#xA;&#xA;            //THIS IS THE ACCESSKEY ON LINK TAG &quot;A&quot;&#xA;            context.currentContext.argument = context.button.viewModel.$el[0].accessKey;&#xA;&#xA;            experienceEditor.PipelinesUtil.generateRequestProcessor(&quot;ExperienceEditor.GenerateFieldEditorUrl&quot;, function (response) {&#xA;                var DialogUrl = response.responseValue.value;&#xA;                var dialogFeatures = &quot;dialogHeight: 680px;dialogWidth: 520px;&quot;;&#xA;                experienceEditor.Dialogs.showModalDialog(DialogUrl, '', dialogFeatures, null);&#xA;            }).execute(context);&#xA;        }&#xA;    };&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="530" LastEditorUserId="530" LastEditDate="2016-10-06T10:04:51.897" LastActivityDate="2016-10-06T10:04:51.897" Title="How do I construct a reasonable JS implementation of canExecute() for an Experience Editor Button?" Tags="|experience-editor|speak|javascript|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="681" PostTypeId="2" ParentId="680" CreationDate="2016-10-06T07:41:59.007" Score="5" Body="&lt;p&gt;You would have to perform request to the server to check whether your current template meet certain criteria.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Request class:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.ExperienceEditor.Speak.Server.Contexts;&#xA;using Sitecore.ExperienceEditor.Speak.Server.Requests;&#xA;using Sitecore.ExperienceEditor.Speak.Server.Responses;&#xA;&#xA;namespace Sitecore.Modules.ExperienceEditor&#xA;{&#xA;    public class CanExecuteMyCommands : PipelineProcessorRequest&amp;lt;ItemContext&amp;gt;&#xA;    {&#xA;        public override PipelineProcessorResponseValue ProcessRequest()&#xA;        {&#xA;            var currentItem = RequestContext.Item;&#xA;            return new PipelineProcessorResponseValue&#xA;            {&#xA;                Value = currentItem.TemplateName.Equals(&quot;Desired&quot;)&#xA;            };&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case I just check whether &lt;code&gt;Template name&lt;/code&gt; equals &lt;strong&gt;Desired&lt;/strong&gt;. You can apply your own conditions inside that class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&#xA;            &amp;lt;request name=&quot;ExperienceEditor.YourNamespace.CanExecuteMyCommands&quot; type=&quot;Sitecore.Modules.ExperienceEditor.CanExecuteMyCommands, Sitecore.Modules.ExperienceEditor&quot;/&amp;gt;&#xA;        &amp;lt;/sitecore.experienceeditor.speak.requests&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;JS call:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;canExecute: function (context) {&#xA;    return context.app.canExecute(&quot;ExperienceEditor.YourNamespace.CanExecuteMyCommands&quot;, context.currentContext);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-06T07:53:29.757" LastActivityDate="2016-10-06T07:53:29.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="682" PostTypeId="2" ParentId="603" CreationDate="2016-10-06T07:42:07.807" Score="10" Body="&lt;p&gt;There are two ways to register goals from JavaScript that I am aware of:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Federated Experience Manager&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/the_federated_experience_manager&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Sitecore FXM&lt;/strong&gt;&lt;/a&gt; allows you to make visits and trigger events from external websites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's an FXM feature (that is not commonly used), allowing you to combine simultaneous site visits from the same browser into a single interaction. Visits will be combined even if one visit was on your Sitecore website, and the other on an external FXM-powered website. You should enable this feature with the setting &lt;code&gt;FXM.ShareSessionsWhenPossible&lt;/code&gt; located in &lt;code&gt;Sitecore.FXM.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since your &quot;external&quot; site will actually be your Sitecore instance, it will be hosted on the same domain name, and hence, all FXM API calls will be treated as the same logical visit. In other words, you shouldn't be worried about this &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/diagrams/browser_and_session_compatibility_in_fxm&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;compatibility table&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you set up FXM, you can record goals using the following FXM code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-javascript prettyprint-override&quot;&gt;&lt;code&gt;SCBeacon.trackGoal(“Goal name”);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find more API details on this official documentation page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/configuring/fxm_javascript_api&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/configuring/fxm_javascript_api&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Custom web endpoint&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If using FXM wouldn't work for you, then you should use the server-side goal registration API. You will need to expose it as a web service endpoint (WebAPI, MVC, .ashx, whatever suits you best).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the proper way to register a goal server-side:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;if (Sitecore.Analytics.Tracker.IsActive)&#xA;{&#xA;    if (Sitecore.Analytics.Tracker.Current.CurrentPage != null)&#xA;    {&#xA;        var goalId = new Sitecore.Data.ID(&quot;{INSERT-GOAL-ID-HERE}&quot;);&#xA;&#xA;        Sitecore.Analytics.Data.Items.PageEventItem goalToTrigger =&#xA;            Sitecore.Analytics.Tracker.DefinitionItems.PageEvents[goalId];&#xA;&#xA;        if (goalToTrigger != null)&#xA;        {&#xA;            Sitecore.Analytics.Model.PageEventData eventData =&#xA;                Sitecore.Analytics.Tracker.Current.CurrentPage.Register(goalToTrigger);&#xA;        }&#xA;        else&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error(&quot;Goal with ID &quot; + goalId + &quot; does not exist&quot;, this);&#xA;        }&#xA;    }&#xA;    else&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Error(&quot;Tracker.Current.CurrentPage is null&quot;, this);&#xA;    }&#xA;}&#xA;else&#xA;{&#xA;    Sitecore.Diagnostics.Log.Warn(&quot;The tracker is not active. Unable to register the goal.&quot;, this);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-06T07:47:42.047" LastActivityDate="2016-10-06T07:47:42.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="683" PostTypeId="5" CreationDate="2016-10-06T07:53:01.850" Score="0" Body="&lt;p&gt;Web Forms for Marketers (WFFM) is Sitecore's free module that allows marketers to create and publish simple forms, usually without a developer's help. It provides an easy wizard interface to define form fields with pre-set types, validation rules and save actions that determine what happens on form submission.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/82/setting_up_web_forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/82/setting_up_web_forms&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=P4uyxf1FNtY&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=P4uyxf1FNtY&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2014/10/Sitecore-Web-Forms-Marketers-Tips.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2014/10/Sitecore-Web-Forms-Marketers-Tips.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-13T20:34:51.703" LastActivityDate="2018-02-13T20:34:51.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="684" PostTypeId="4" CreationDate="2016-10-06T07:53:01.850" Score="0" Body="Anything related to the Web Forms For Marketers module." OwnerUserId="66" LastEditorUserId="28" LastEditDate="2016-10-06T12:22:15.450" LastActivityDate="2016-10-06T12:22:15.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="685" PostTypeId="2" ParentId="251" CreationDate="2016-10-06T08:05:26.743" Score="5" Body="&lt;p&gt;I have implemented several search based sites on top of the Lucene provider, and for me the system is consistent and reliable. When I have had that sort of problems with the index in the past it was due to two reasons:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The scope of my SearchContent: I was reusing it too much, meaning my results were not updated, even when the actual index was. As the index was constantly updated, I had to call Index.CreateSearchContent each time I had to search.&lt;/li&gt;&#xA;&lt;li&gt;Obsolete items in the index: I managed to fix it following this &lt;a href=&quot;https://kb.sitecore.net/articles/992608&quot; rel=&quot;nofollow&quot;&gt;KB&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="151" LastActivityDate="2016-10-06T08:05:26.743" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="686" PostTypeId="2" ParentId="674" CreationDate="2016-10-06T08:14:41.813" Score="10" Body="&lt;p&gt;&lt;strong&gt;Mocking Pipeline Code in Sitecore before 8.2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are working in Sitecore before 8.2 your best bet would be to look into using &lt;strong&gt;Sitecore FakeDB&lt;/strong&gt;; it offers an in-memory representation of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It allows tests for all parts of Sitecore including pipeline code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example from the documentation is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Fact]&#xA;public void HowToUnitTestAdvancedPipelineCallWithMockedProcessor()&#xA;{&#xA;  var args = new Sitecore.Pipelines.PipelineArgs();&#xA;&#xA;  using (Sitecore.FakeDb.Db db = new Sitecore.FakeDb.Db())&#xA;  {&#xA;    // register a processor mock in the Pipeline Watcher&#xA;    var processor =&#xA;      Substitute.For&amp;lt;Sitecore.FakeDb.Pipelines.IPipelineProcessor&amp;gt;();&#xA;&#xA;    processor&#xA;      .When(p =&amp;gt; p.Process(args))&#xA;      .Do(ci =&amp;gt; ci.Arg&amp;lt;Sitecore.Pipelines.PipelineArgs&amp;gt;()&#xA;                  .CustomData[&quot;Result&quot;] = &quot;Ok&quot;);&#xA;&#xA;    db.PipelineWatcher.Register(&quot;mypipeline&quot;, processor);&#xA;&#xA;    // call the pipeline&#xA;    Sitecore.Pipelines.CorePipeline.Run(&quot;mypipeline&quot;, args);&#xA;&#xA;    // check the result is set&#xA;    Assert.Equal(&quot;Ok&quot;, args.CustomData[&quot;Result&quot;]);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It also allows mocking for:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Authentication&lt;/li&gt;&#xA;&lt;li&gt;Authorization&lt;/li&gt;&#xA;&lt;li&gt;Role&lt;/li&gt;&#xA;&lt;li&gt;Roles-In-Roles&lt;/li&gt;&#xA;&lt;li&gt;Membership&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_FakeDb.aspx&quot;&gt;https://marketplace.sitecore.net/Modules/Sitecore_FakeDb.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb&quot;&gt;https://github.com/sergeyshushlyapin/Sitecore.FakeDb&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Pipelines&quot;&gt;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Pipelines&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="87" LastEditorUserId="87" LastEditDate="2016-10-06T10:22:17.323" LastActivityDate="2016-10-06T10:22:17.323" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="687" PostTypeId="5" CreationDate="2016-10-06T08:20:36.617" Score="0" Body="&lt;p&gt;Web development teams use Sitecore Experience Accelerator (SXA) to speed up the production of websites and to reuse components, layouts, and templates across a variety of sites. SXA separates structure from design, so front-end designers, creative designers, content authors, and developers can work in parallel and you can deploy and maintain multiple sites quickly and cost effectively. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/getting_started_with_sxa/introducing_sitecore_experience_accelerator&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/getting_started_with_sxa/introducing_sitecore_experience_accelerator&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/products/sitecore-experience-platform/wcm/experience-accelerators&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/products/sitecore-experience-platform/wcm/experience-accelerators&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-13T22:09:36.693" LastActivityDate="2018-02-13T22:09:36.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="688" PostTypeId="4" CreationDate="2016-10-06T08:20:36.617" Score="0" Body="Anything related to the Sitecore Experience Accelerator (SXA)" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T12:09:33.883" LastActivityDate="2016-10-06T12:09:33.883" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="689" PostTypeId="5" CreationDate="2016-10-06T08:22:43.187" Score="0" Body="&lt;p&gt;Lucene is an open-source search engine used in Sitecore CMS for indexing and searching the contents of a Web site. Sitecore implements a wrapper for the Lucene engine which has its own API. Sitecore supports three different search engines: Solr, Azure Search, and Lucene till Sitecore version 9.2. The Lucene search engine will be deprecated in a later release(9.3 onwards), and Sitecore recommend that you no longer use this search engine.&lt;/p&gt;&#xA;&lt;p&gt;Questions related to Solr or Azure Search should be tackled with corresponding tags - &lt;a href=&quot;/questions/tagged/solr&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;solr&amp;#39;&quot; rel=&quot;tag&quot;&gt;solr&lt;/a&gt; or &lt;a href=&quot;/questions/tagged/azure-search&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;azure-search&amp;#39;&quot; rel=&quot;tag&quot;&gt;azure-search&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="4817" LastEditDate="2021-06-06T21:01:58.957" LastActivityDate="2021-06-06T21:01:58.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="690" PostTypeId="4" CreationDate="2016-10-06T08:22:43.187" Score="0" Body="Anything related to Lucene indexes: querying, configuring, maintaining, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T12:09:30.340" LastActivityDate="2016-10-06T12:09:30.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="691" PostTypeId="1" AcceptedAnswerId="693" CreationDate="2016-10-06T08:32:03.750" Score="9" ViewCount="707" Body="&lt;p&gt;A client wants to cut down on servers and since they do not use the Experience Platform I am wondering if i could just eliminate the Mongo server. There is as of now absolutely no data in the Mongo server. What settings do i need to change to not get flooded with errors when i turn it off? Is this even adviceble?&lt;/p&gt;&#xA;" OwnerUserId="537" LastEditorUserId="104" LastEditDate="2016-10-12T11:07:28.620" LastActivityDate="2016-10-12T11:07:28.620" Title="What happens if i remove Mongo server from a Sitecore 8 site" Tags="|xdb|mongodb|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="692" PostTypeId="2" ParentId="691" CreationDate="2016-10-06T08:33:42.490" Score="5" Body="&lt;p&gt;Yes, you can disable xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add a patch file &lt;code&gt;Xdb.Enabled&lt;/code&gt; and &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; set to false:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure you also remove mongo connection strings.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-06T08:33:42.490" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="693" PostTypeId="2" ParentId="691" CreationDate="2016-10-06T08:35:55.817" Score="11" Body="&lt;p&gt;There are several things which doesn't work properly anymore. You can disable it in the config. Go to &lt;code&gt;/App_Config/Include/Sitecore.Analytics.config&lt;/code&gt; and set &lt;code&gt;Analytics.Enabled&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You also need to comment out all MongoDB connection stings:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;add name=&quot;analytics&quot; connectionString=&quot;mongodb://localhost/analytics&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;tracking.live&quot; connectionString=&quot;mongodb://localhost/tracking_live&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;tracking.history&quot; connectionString=&quot;mongodb://localhost/tracking_history&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;tracking.contact&quot; connectionString=&quot;mongodb://localhost/tracking_contact&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;reporting&quot; connectionString=&quot;user id=user;password=password;Data Source=(server);Database=Sitecore_Analytics&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;‌&#xA;Source (with additional information): &lt;a href=&quot;https://kb.sitecore.net/articles/296641&quot;&gt;https://kb.sitecore.net/articles/296641&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With Sitecore 8.1 there is a new mode called &lt;em&gt;CMS-only mode&lt;/em&gt;. You find all information about this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/experience_management/experience_management_an_overview&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/experience_management/experience_management_an_overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="162" LastEditorUserId="237" LastEditDate="2016-10-06T09:13:05.173" LastActivityDate="2016-10-06T09:13:05.173" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="694" PostTypeId="1" AcceptedAnswerId="695" CreationDate="2016-10-06T08:36:31.803" Score="3" ViewCount="312" Body="&lt;p&gt;For a webforms website, running on a few content deliveries and a content management server, we got a request from a security audit. The request is to encrypt the viewstate (adding &lt;code&gt;&amp;lt;machineKey validation=&quot;AES&quot;/&amp;gt;&lt;/code&gt; in the config). We have already done this on the content delivery servers and that is running fine, but I was hoping anyone had experience with this on a Sitecore content management server... Would it give any issues?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, the content management server already has some network security (don't know the exact details - only accessible on the local network and tunnel I think) so we are actually wondering if it is worth the trouble...&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="28" LastEditDate="2016-10-06T09:58:25.387" LastActivityDate="2016-10-06T09:58:25.387" Title="Can the ViewState be encrypted on the Content Management server?" Tags="|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="695" PostTypeId="2" ParentId="694" CreationDate="2016-10-06T08:44:24.420" Score="7" Body="&lt;p&gt;You shouldn't need to encrypt the ViewState on your CM servers, as the only people using it should be users you are aware of and are authorized to use it. If unauthorized users have access to it, you have other bigger security concerns that you need to look at.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, as far as I'm aware it won't create any issues, as it should be transparent to Sitecore. I don't believe the Sitecore client does any direct reading of the ViewState that bypasses ASP.NET's API for it (and if it did, that would be asking for problems to occur).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You've mentioned you're running multiple Content Delivery servers. I assume these are load balanced, are they sharing the same machineKey? If one isn't specified, then ASP.NET will generate one unique to just that machine and you will have problems if a request is served by one server, but the postback is handled by another. To fix this, you can generate a key and specify it in the &lt;code&gt;machineKey&lt;/code&gt; element, making sure it is the same on each of your CD servers.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-06T08:44:24.420" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="696" PostTypeId="2" ParentId="546" CreationDate="2016-10-06T08:52:12.087" Score="7" Body="&lt;p&gt;After having processed an event from the queue each instance updates the associated last processing timestamp (LPT) which is stored in the Properties table and has the key in the following format &lt;em&gt;'EQStamp_{Sitecore-Instance-Name}'&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, you can use the LPT to filter out events which have already been processed by a given instance - literally just the opposite to what the method&#xA;&lt;code&gt;GetQueuedEvents(string targetInstanceName)&lt;/code&gt; of &lt;code&gt;Sitecore.Eventing.EventQueue&lt;/code&gt; does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a &lt;code&gt;Stamp&lt;/code&gt; column associated with each event entry in the &lt;code&gt;EventQueue&lt;/code&gt; table. The value in &lt;code&gt;Stamp&lt;/code&gt;is generated automatically by SQL Server (see &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms182776.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://msdn.microsoft.com/en-us/library/ms182776.aspx&lt;/a&gt;) when the event is added to the table. The &lt;code&gt;Stamp&lt;/code&gt; value of a particular event eventually gets saved as the last processing timestamp for the instance once it's been processed. So if &lt;code&gt;EQStamp_{Sitecore-Instance-Name}&lt;/code&gt; equals to &lt;code&gt;1666508&lt;/code&gt;, you can use the following SQL query to retrieve events which have already been processed:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;SELECT * FROM EventQueue WHERE Stamp &amp;lt; 1666508 &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="78" LastEditorUserId="104" LastEditDate="2016-10-06T10:25:35.783" LastActivityDate="2016-10-06T10:25:35.783" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="697" PostTypeId="2" ParentId="677" CreationDate="2016-10-06T08:58:01.407" Score="5" Body="&lt;p&gt;You can use the &lt;code&gt;DataSource&lt;/code&gt; parameter together with a Wildcard filter to only select renderings that have a Datasource:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-ChildItem -Recurse | Get-Rendering -Datasource &quot;*&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Remember that, in Sitecore 8 onwards, this will target the Shared Layout. If you want to get the Final Layout you should also specify the &lt;code&gt;-FinalLayout&lt;/code&gt; parameter.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-06T08:58:01.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="698" PostTypeId="1" AcceptedAnswerId="1401" CreationDate="2016-10-06T09:14:46.230" Score="13" ViewCount="1833" Body="&lt;p&gt;What is the difference between a regular index (e.g. &lt;em&gt;sitecore_master_index&lt;/em&gt;) and a &quot;search index&quot;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why do I see certain indexes under the &lt;strong&gt;Indexing Manager&lt;/strong&gt; in Control Panel, yet different ones under &lt;strong&gt;Rebuild Search indexes&lt;/strong&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How should both of these types of index be used?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could answers bear in mind the different versions of Sitecore and cite any major changes to how these work between these, if known + applicable?&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-06T13:45:52.040" LastActivityDate="2016-11-08T13:28:44.890" Title="What is the difference between an index and a search index" Tags="|indexing|content-search|" AnswerCount="4" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="699" PostTypeId="1" AcceptedAnswerId="702" CreationDate="2016-10-06T09:17:40.693" Score="13" ViewCount="870" Body="&lt;p&gt;Currently we have a setup where we have a single Sitecore solution (not Helix) and we use msdeploy for deployment. This works great as we have the exact same package that is deployed on all environments which in turn reduces possible issues during deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, we're currently looking at Helix for our future projects and I'm finding it hard to combine the two, because as I see it Helix is very separate (and the Unicorn solution as proposed in Habitat also makes things more complicated).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question now is: does anyone have any experience/documentation on how to build a single msdeploy package out of a Helix(-like) setup?&#xA;Or does this go against best practices and should we look into other deployment/packaging tools?&lt;/p&gt;&#xA;" OwnerUserId="220" LastActivityDate="2016-10-06T15:09:17.827" Title="Helix deployment - How to use msdeploy" Tags="|helix|deployment|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="700" PostTypeId="2" ParentId="698" CreationDate="2016-10-06T09:30:13.963" Score="10" Body="&lt;p&gt;The &quot;Rebuild Search indexes&quot; will list the system index, used for searches in the Sitecore desktop. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the reason that this one is separated from the other is to be found in older Sitecore versions (6..). The system index was the first (and only in the beginning). There was no &quot;Indexing Manager&quot; in those versions. When Sitecore started to use more indexes, the Indexing Manager was introduced and this will now show you all indexes - except the system. Well, actually it is not showing all indexes - some are filtered out (e.g. indexes used for reporting) because they do not want you to rebuild them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably one day the &quot;Rebuild Search indexes&quot; will disappear... (edit: apparently it is gone in 8.2)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Might want to read this old post: &lt;a href=&quot;https://reasoncodeexample.com/2013/01/22/custom-lucene-net-indexes-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://reasoncodeexample.com/2013/01/22/custom-lucene-net-indexes-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-08T13:28:44.890" LastActivityDate="2016-11-08T13:28:44.890" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="701" PostTypeId="2" ParentId="698" CreationDate="2016-10-06T09:35:01.667" Score="7" Body="&lt;p&gt;&lt;strong&gt;RebuildSearchIndexForm&lt;/strong&gt; is obsolete.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[Obsolete(&quot;The dialog is not in use anymore and will be removed in the future versions.&quot;)]&#xA;public class RebuildSearchIndexForm : WizardForm&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I would say, we don't need to care about that anymore.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-06T09:35:01.667" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="702" PostTypeId="2" ParentId="699" CreationDate="2016-10-06T09:38:01.013" Score="10" Body="&lt;p&gt;We don't have a single package, but a package for each web project. Every web project has its publishing profile set to &lt;code&gt;Web Deploy Package&lt;/code&gt; and the &lt;code&gt;Package location&lt;/code&gt; is set to a unique zip filename in a common directory, e.g. &lt;code&gt;../Target/Feature-Navigation.zip&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The build server creates the packages with msbuild:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/t:build /p:PublishProfile=Release /p:Configuration=Release /p:DeployOnBuild=true /p:VisualStudioVersion=12.0 /p:IncludeSetAclProviderOnDestination=False&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then a PowerShell finds all generated batch files to deploy these packages:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Get-ChildItem -Filter *.cmd | `&#xA;Foreach-Object {&#xA;    cmd /c $_.FullName /Y /M:target.machine.name /U:UserName /P:Password &quot;-enableRule:DoNotDeleteRule&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="114" LastActivityDate="2016-10-06T09:38:01.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="703" PostTypeId="2" ParentId="481" CreationDate="2016-10-06T10:09:46.423" Score="2" Body="&lt;p&gt;It appears that the pipeline has changed between webforms and MVC. The Success pipeline for MVC is &lt;code&gt;&amp;lt;wffm.success&amp;gt;&lt;/code&gt; and can be found in Sitecore.MvcForms.config. Through this you have access to the FormModel&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class SuccessRedirect : FormProcessorBase&amp;lt;IFormModel&amp;gt;&#xA;{&#xA;    public override void Process(FormProcessorArgs&amp;lt;IFormModel&amp;gt; args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;        var model = args.Model as FormModel;&#xA;        if (model == null)&#xA;            return;&#xA;        model.SuccessRedirectUrl = model.SuccessRedirectUrl + &quot;?val=&quot; + model.Results[0].Value;&#xA;    }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check out &lt;a href=&quot;http://ggullentops.blogspot.com.au/2016/07/sitecore-wffm-act-on-success.html&quot; rel=&quot;nofollow&quot;&gt;http://ggullentops.blogspot.com.au/2016/07/sitecore-wffm-act-on-success.html&lt;/a&gt; for more information and some options on customising post-success actions.&lt;/p&gt;&#xA;" OwnerUserId="439" LastEditorUserId="114" LastEditDate="2016-10-06T10:19:28.760" LastActivityDate="2016-10-06T10:19:28.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="704" PostTypeId="1" CreationDate="2016-10-06T10:15:43.287" Score="5" ViewCount="1609" Body="&lt;p&gt;When trying to run the following code on my local machine&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var _deviceCache = new DeviceDetectionCache();&#xA;var device = _deviceCache.GetDeviceInformation(Request.UserAgent)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting the following exception&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;device detection is disabled at Sitecore.CES.DeviceDetection&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Most of the articles I found spoke about how Sitecore uses Netbiscuits to detect devices, and how to set goals based on device detection but I still haven't found anything on where to enable to it, and if I can enable it on a local machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further info : I'm using Sitecore 8.1 (rev. 151207)&lt;/p&gt;&#xA;" OwnerUserId="329" LastEditorUserId="731" LastEditDate="2018-05-03T17:05:34.880" LastActivityDate="2018-05-03T17:05:34.880" Title="Enabling Sitecore Device Detection" Tags="|device-detection|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="705" PostTypeId="2" ParentId="704" CreationDate="2016-10-06T10:21:51.087" Score="2" Body="&lt;p&gt;In the sitecore/Settings folder, set DeviceDetection.Enabled to true  &#xA;Add the enable Sitecore.CES.DeviceDetection.config file in the (App_Config/Include/CES/) folder &lt;/p&gt;&#xA;" OwnerUserId="325" LastActivityDate="2016-10-06T10:21:51.087" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="706" PostTypeId="1" AcceptedAnswerId="707" CreationDate="2016-10-06T10:40:37.047" Score="9" ViewCount="1153" Body="&lt;p&gt;Sitecore's HTML caching can be disabled through the &lt;code&gt;cacheHtml&lt;/code&gt; parameter on the website's  definition. This is handy for a preview site that directly reads from the Master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can the same be done for the GlassMapper cache?&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-06T11:07:12.917" Title="Can GlassMapper caching be disabled at a site level?" Tags="|caching|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="707" PostTypeId="2" ParentId="706" CreationDate="2016-10-06T10:44:41.867" Score="13" Body="&lt;p&gt;Yes, use the &lt;code&gt;glassCache&lt;/code&gt; attribute. A value of anything other than &lt;code&gt;false&lt;/code&gt; means the cache will be enabled for that site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/SitecoreService.cs#L116&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/SitecoreService.cs#L116&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="28" LastEditDate="2016-10-06T11:07:12.917" LastActivityDate="2016-10-06T11:07:12.917" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="708" PostTypeId="1" CreationDate="2016-10-06T10:51:38.473" Score="2" ViewCount="138" Body="&lt;p&gt;We are using Unicorn 2.0.4 to serialize our forms (and other content). These files are then saved into our VSO Git repository. After editing several forms, with similar fields (The forms were originally duplicated) we have noticed that Git managed to mess the .item files, sometimes considering that a file has been renamed when it was actually added in one form and delete from other, pointing the content of the item file to a different item... Has anybody had this sort of issues? and managed to fix them?&#xA;The side effect of this issues with item files and git is that if the developer committing the file doesn't realize that the actual commit is wrong, the next developer will mess its environment after synching back.&#xA;I don't think it's related to wffm but we haven't noticed this issue elsewhere.&lt;/p&gt;&#xA;&lt;p&gt;Following the history of a .item file (one field of a form) we can see:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Commit 1:&lt;/p&gt;&#xA;&lt;p&gt;+path: /sitecore/system/Modules/Web Forms for Marketers/Website/..../Town&lt;/p&gt;&#xA;&lt;p&gt;+parent: {78CD1992-7BD2-4AFE-9913-7AAC654B780B}&#xA;+name: Town&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Commit 2:&lt;/p&gt;&#xA;&lt;p&gt;+database: master&lt;/p&gt;&#xA;&lt;p&gt;+path: /sitecore/system/Modules/Web Forms for Marketers/Website/..../Address4&lt;/p&gt;&#xA;&lt;p&gt;+parent: {78CD1992-7BD2-4AFE-9913-7AAC654B780B}&lt;/p&gt;&#xA;&lt;p&gt;name: Address4&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="151" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-06T11:23:34.013" Title="Sync issues when Serialization (Unicorn 2.0.4) + Git + WFFM" Tags="|wffm|unicorn|git|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="709" PostTypeId="2" ParentId="637" CreationDate="2016-10-06T11:08:21.997" Score="2" Body="&lt;h1&gt;Explaining the error message&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The error you are getting is not related to the checkbox issue. I believe the error is caused by the fact that your Reporting database is not directly available to your application. You can verify if that is indeed the case by commenting out the following section of the &lt;code&gt;Sitecore.Analytics.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;observer type=&quot;Sitecore.Analytics.Reporting.DefinitionData.Marketing.Observers.SaveDefinitionToRepositoryObserver`1[[Sitecore.Marketing.Definitions.Outcomes.Model.IOutcomeDefinition, Sitecore.Marketing]], Sitecore.Analytics&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;repositoryName&quot; ref=&quot;marketingDefinitions/deploymentManagerTargetRepository&quot; /&amp;gt;&#xA;&amp;lt;/observer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will stop Sitecore from attempting to save outcomes to the RDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, to stop the error from being logged, you should request Sitecore support for the right configuration of the deployment manager repository, since it is different with xDB cloud.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Understanding the checkbox issue&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The checkbox values for both &quot;Ignore Additional Registrations&quot; and &quot;Monetary Value Applicable&quot; are not being saved properly due to a bug in the &lt;code&gt;Sitecore.Marketing.dll&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The method &lt;code&gt;ItemOutcomeDefinitionRepository.OutcomeMapper.SetCultureInvariantFields()&lt;/code&gt; does not save the checkbox values correctly. It uses &lt;code&gt;MainUtil.BoolToString()&lt;/code&gt; to convert boolean values to strings, and that results in the value &lt;code&gt;'true'&lt;/code&gt; being saved to the item database. &lt;code&gt;'true'&lt;/code&gt; is not a recognized value for the Checkbox field type, and hence, the checkboxes remain unchecked after the save.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can fix the values in the database with the following SQL query:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;UPDATE [VersionedFields]&#xA;SET Value = '1'&#xA;WHERE Value = 'true'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After you clear item caches using the page &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt;, you'll see the checkboxes checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a workaround that you can use for now. Please report this issue to Sitecore support to get a proper fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; As &lt;a href=&quot;https://sitecore.stackexchange.com/users/369/eat-sleep-code&quot;&gt;@eat-sleep-code&lt;/a&gt; mentioned in the comments, Sitecore registered this as a bug with reference number 128651. Refer to this number via support to receive a hotfix.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-11T15:35:42.770" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="710" PostTypeId="2" ParentId="258" CreationDate="2016-10-06T11:13:21.990" Score="4" Body="&lt;p&gt;We have a situation were we will probably be moving data outside of Sitecore into a custom database and write a data provider on it. Might become a read-only data provider even.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are facing a tree structure with products that has grown over a million items. The back-end systems with the original data cannot be used in a live environment for several reasons: some are not always available (down for an hour during night), some are external sources and do not allow lots of queries. We already have pricing and stock information outside of Sitecore as that is updated at least every hour.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main reason we are considering to move away from the Sitecore databases in this case is the import (add and update) of items. Importing is done through files or through services that are send/called once a day. But sometimes the number of items we need to import is so big that processing the data and creating the items if needed takes so long that we get in trouble. Long meaning here that the job isn't done in a day. More and bigger servers might help, but not in the long run. Requirement is set to be able to import whole sections (few hundred thousand items) at once. Knowing that creating items in Sitecore is not the fastest thing to do (we do also require some side effect jobs such as custom indexes, insert/update statements to custom db, ...) made us really consider a data provider on top of something else (custom db in our case).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-06T11:13:21.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="711" PostTypeId="1" AcceptedAnswerId="713" CreationDate="2016-10-06T11:16:15.593" Score="1" ViewCount="412" Body="&lt;p&gt;I have a custom field type in Sitecore 8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use the &lt;code&gt;Context.ClientPage.SendMessage&lt;/code&gt; to call the &lt;code&gt;contenteditor:save&lt;/code&gt; command.&#xA;This works, but forces the page to reload producing a warning dialogue to pop up.&#xA;I actually only want the Save button to be enabled, so just need the page to know the state has changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my current code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;protected void Run(ClientPipelineArgs args)&#xA;{&#xA;    Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;&#xA;    if (args.IsPostBack)&#xA;    {&#xA;        Context.ClientPage.SendMessage(this, &quot;contenteditor:save&quot;);&#xA;        return;&#xA;    }&#xA;&#xA;    var urlString = new UrlString(args.Parameters[&quot;url&quot;]);&#xA;    Context.ClientPage.ClientResponse.ShowModalDialog(urlString.ToString(), &quot;700&quot;, &quot;510&quot;, &quot;&quot;, true);&#xA;    args.WaitForPostBack();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="544" LastEditorUserId="28" LastEditDate="2016-10-06T12:37:50.513" LastActivityDate="2016-10-06T12:38:33.407" Title="Custom field type in Sitecore 8. After completing the command successfully, I'd like to enable the save button" Tags="|content-editor|commands|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="712" PostTypeId="2" ParentId="708" CreationDate="2016-10-06T11:23:34.013" Score="1" Body="&lt;p&gt;I would have thought that the git believing that the delete + add was actually a rename should only affect your repo history and nothing more, it shouldn't affect the actual content or location of the files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you're using git I would strongly advise you upgrade to Unicorn 3 if you can. It uses custom &quot;Rainbow&quot; serialization that is not only faster (worth the upgrade alone) but was specifically designed to tackle the merging conflicts that &lt;code&gt;.item&lt;/code&gt; files face.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an upgrade document to assist with this - &lt;a href=&quot;https://github.com/kamsar/Unicorn/wiki/Upgrading-to-Unicorn-3&quot; rel=&quot;nofollow&quot;&gt;https://github.com/kamsar/Unicorn/wiki/Upgrading-to-Unicorn-3&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-06T11:23:34.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="713" PostTypeId="2" ParentId="711" CreationDate="2016-10-06T11:51:34.030" Score="2" Body="&lt;p&gt;This should solve your problem:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Context.ClientPage.Modified = true;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-06T11:51:34.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="714" PostTypeId="5" CreationDate="2016-10-06T12:11:48.983" Score="0" Body="&lt;p&gt;Sitecore makes managing a multi-language/multi-culture site easy:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A site can be managed in any number of cultures (for example, US English).&lt;/li&gt;&#xA;&lt;li&gt;Every field on a template can be marked as unique to a specific language or shared across all languages.&lt;br&gt;&#xA;&lt;em&gt;For example, a company logo would be common to all languages and on the same item a different field can be unique in any language.&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Each language has its own version history. &lt;/li&gt;&#xA;&lt;li&gt;Items can be pushed through workflow to incorporate the translation process.&lt;/li&gt;&#xA;&lt;li&gt;When implemented properly, a site will not require software changes to support new languages.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In October, Sitecore launched its latest web-based content management system, Sitecore XP 8.1. Billed as having powerful contextual intelligence - capabilities that most marketers have only dreamed about until now, Sitecore XP 8.1 has another feature that's sure to make Global Content teams jump for joy: Chained Language Fallback.Sitecore makes managing a multi-language/multi-culture site easy:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/company/blog/463/multilingual-sites-and-fallback-4227&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/company/blog/463/multilingual-sites-and-fallback-4227&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/company/blog/502/sitecore-makes-managing-a-multi-language-multi-culture-site-easy-4332&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/company/blog/502/sitecore-makes-managing-a-multi-language-multi-culture-site-easy-4332&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-06-11T20:35:45.467" LastActivityDate="2018-06-11T20:35:45.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="715" PostTypeId="4" CreationDate="2016-10-06T12:11:48.983" Score="0" Body="For questions related to the language features of Sitecore, such as multi-language items and language fallback." OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-06T12:40:09.103" LastActivityDate="2016-10-06T12:40:09.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="716" PostTypeId="5" CreationDate="2016-10-06T12:12:38.567" Score="0" Body="&lt;p&gt;Model–View–Controller is a software design pattern commonly used for developing user interfaces that divides the related program logic into three interconnected elements. This is done to separate internal representations of information from the ways information is presented to and accepted from the user. &lt;em&gt;Source: Wikipedia&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="312" LastEditDate="2021-03-09T07:41:53.803" LastActivityDate="2021-03-09T07:41:53.803" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="717" PostTypeId="4" CreationDate="2016-10-06T12:12:38.567" Score="0" Body="For questions relating to ASP.NET MVC implementations. The ASP.NET MVC is a web application framework developed by Microsoft, which implements the model–view–controller pattern." OwnerUserId="28" LastEditorUserId="2727" LastEditDate="2019-01-09T12:42:14.600" LastActivityDate="2019-01-09T12:42:14.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="718" PostTypeId="2" ParentId="184" CreationDate="2016-10-06T12:12:41.737" Score="4" Body="&lt;p&gt;You must change the &lt;strong&gt;maxAllowedContentLength&lt;/strong&gt; setting to increase the maximum allowed download size of the update package.&#xA;To do this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a text editor, in the \wwwroot\\Website\sitecore\admin\web.config file, change the &lt;strong&gt;maxAllowedContentLength&lt;/strong&gt; setting from: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;requestLimits maxAllowedContentLength=&quot;1048576000&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;requestLimits maxAllowedContentLength=&quot;4194304000&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for more information check the upgrade document:&#xA;&lt;a href=&quot;https://dev.sitecore.net/~/media/80F3ABB82AB44D6AA5722F6B654CF2A8.ashx&quot; rel=&quot;nofollow&quot;&gt;Upgrade Guide &lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2016-10-06T12:12:41.737" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="719" PostTypeId="5" CreationDate="2016-10-06T12:13:28.327" Score="0" Body="&lt;p&gt;Sitecore’s Experience Database (xDB) was introduced in Sitecore 7.5 to solve the problem of scaling analytics. Previously, all data was written to a single SQL database with no real option to scale (apart from maintaining a secondary reporting database). In the xDB, raw analytics data is written to a MongoDB collection database and processed into formats that are used for analytics reporting. Every component of the xDB can be scaled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/xDB/xdb-architecture/overview/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/xDB/xdb-architecture/overview/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/xdb&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/xdb&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/products/sitecore-experience-platform/customer-intelligence/customer-data&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/products/sitecore-experience-platform/customer-intelligence/customer-data&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-13T20:34:44.470" LastActivityDate="2018-02-13T20:34:44.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="720" PostTypeId="4" CreationDate="2016-10-06T12:13:28.327" Score="0" Body="For questions related to the Sitecore Experience Database (xDB). If you're using Sitecore 7.2 or earlier, use the `dms` tag instead." OwnerUserId="28" LastEditorUserId="1671" LastEditDate="2018-02-13T20:36:19.797" LastActivityDate="2018-02-13T20:36:19.797" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="721" PostTypeId="2" ParentId="711" CreationDate="2016-10-06T12:14:06.477" Score="2" Body="&lt;p&gt;To notify the Sitecore Client about changes in a custom field you have to call/override SetModified:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;protected override void SetModified()&#xA;{&#xA;    base.SetModified();&#xA;    if (base.TrackModified)&#xA;    {&#xA;        Sitecore.Context.ClientPage.Modified = true;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="97" LastEditorUserId="28" LastEditDate="2016-10-06T12:38:33.407" LastActivityDate="2016-10-06T12:38:33.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="722" PostTypeId="5" CreationDate="2016-10-06T12:16:43.100" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-06T12:16:43.100" LastActivityDate="2016-10-06T12:16:43.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="723" PostTypeId="4" CreationDate="2016-10-06T12:16:43.100" Score="0" Body="For questions related to the Sitecore Event system. This includes the Event Queue, event handling, custom events." OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-06T12:40:23.377" LastActivityDate="2016-10-06T12:40:23.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="724" PostTypeId="5" CreationDate="2016-10-06T12:17:14.360" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-06T12:17:14.360" LastActivityDate="2016-10-06T12:17:14.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="725" PostTypeId="4" CreationDate="2016-10-06T12:17:14.360" Score="0" Body="For questions relating to optimizing the performance of a solution." OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-06T12:56:23.220" LastActivityDate="2016-10-06T12:56:23.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="726" PostTypeId="1" AcceptedAnswerId="742" CreationDate="2016-10-06T12:23:24.463" Score="7" ViewCount="2911" Body="&lt;p&gt;I would like to use special characters as a key in a Name Value List field. Any idea why Sitecore doesn't allow this? Is there any nice way to disallow this validation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ueRV6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ueRV6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-10-06T13:05:10.737" Title="Why Sitecore does not allow to use special characters in Name Value List field as a key?" Tags="|content-editor|fieldtype|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="727" PostTypeId="1" AcceptedAnswerId="768" CreationDate="2016-10-06T12:24:39.627" Score="14" ViewCount="741" Body="&lt;p&gt;I am trying to implement FXM for a customer, with the purpose of collecting data from a bunch of WordPress based sites into a single repository.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of such a site is &lt;a href=&quot;http://dev.verum.se/test/test1.php&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dev.verum.se/test/test1.php&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The customer has had other people implement the beacon on the page, so how that has been done is beyond my scope. As far as I can tell, the implementation of the beacon is OK, though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even though the test page above is extremely simplified, I still get script errors from the beacon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I can tell, the beacon JS rendered by the server is broken. The last line of the script looks like a duplicate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume that this problem occurs because part of the bundling logic for this script is misconfigured. I have been looking around the config files, but so far, I have failed to find a place that specifies how bundling should be performed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My question:&lt;/strong&gt; Where are the settings that control the contents of the FXM beacon?&lt;/p&gt;&#xA;" OwnerUserId="530" LastEditorUserId="5387" LastEditDate="2019-10-23T04:40:06.563" LastActivityDate="2019-10-23T04:40:06.563" Title="How is the FXM bundle beacon constructed?" Tags="|configuration|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="728" PostTypeId="2" ParentId="726" CreationDate="2016-10-06T12:34:32.070" Score="0" Body="&lt;p&gt;I think it might be forbidden as raw value of the field is '&lt;strong&gt;url like&lt;/strong&gt;' format thus some special characters are forbidden.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally you resolve field value in code like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Web.WebUtil.ParseUrlParameters(item.Fields['NameValueListField']?.Value);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-06T12:39:59.367" LastActivityDate="2016-10-06T12:39:59.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="729" PostTypeId="5" CreationDate="2016-10-06T12:44:20.803" Score="0" Body="&lt;p&gt;When you edit or create new items in Sitecore, they must be published before they appear on your website. This lets you save unfinished items and decide exactly when the items are launched to the website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you work in Sitecore, the items you save are saved to the Master database. When you publish new items or updated items, the items are copied from the Master database to a publishing target, and from the publishing target, the website is launched. The default publishing target in Sitecore is the Web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publishing&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publishing&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_a_website&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_a_website&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_an_item_to_your_website&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_an_item_to_your_website&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T07:13:44.570" LastActivityDate="2018-02-22T07:13:44.570" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="730" PostTypeId="4" CreationDate="2016-10-06T12:44:20.803" Score="0" Body="Questions related to the publishing features - old school publish or publishing service. Questions about the publishing service specific should be tagged with the publishing-service tag." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T15:49:05.277" LastActivityDate="2016-10-06T15:49:05.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="731" PostTypeId="5" CreationDate="2016-10-06T12:45:33.683" Score="0" Body="&lt;p&gt;The Sitecore security model enables you to grant or deny access to almost every aspect of a website. To do this, you use security accounts and security domains to control the access that users have to the items and content on their website as well as the access they have to Sitecore functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/sitecore_security&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/sitecore_security&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T06:51:09.910" LastActivityDate="2018-02-22T06:51:09.910" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="732" PostTypeId="4" CreationDate="2016-10-06T12:45:33.683" Score="0" Body="Questions related to security in all it's aspects (as long as related to Sitecore). Can be Sitecore product security or security of your Sitecore application." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T13:11:35.140" LastActivityDate="2016-10-06T13:11:35.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="733" PostTypeId="5" CreationDate="2016-10-06T12:46:19.010" Score="0" Body="&lt;p&gt;Anything related to Solr indexes: querying, configuring, maintaining, ...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions related to Lucene or Azure Search should be tackled with corresponding tags - &lt;a href=&quot;/questions/tagged/lucene&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;lucene&amp;#39;&quot; rel=&quot;tag&quot;&gt;lucene&lt;/a&gt; or &lt;a href=&quot;/questions/tagged/azure-search&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;azure-search&amp;#39;&quot; rel=&quot;tag&quot;&gt;azure-search&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Difference between Lucene and Solr is described for example &lt;a href=&quot;http://www.lucenetutorial.com/lucene-vs-solr.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-23T12:58:27.360" LastActivityDate="2018-03-23T12:58:27.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="734" PostTypeId="4" CreationDate="2016-10-06T12:46:19.010" Score="0" Body="Anything related to Solr indexes: querying, configuring, maintaining, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T13:11:45.257" LastActivityDate="2016-10-06T13:11:45.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="735" PostTypeId="5" CreationDate="2016-10-06T12:47:29.267" Score="0" Body="&lt;p&gt;Be sure to consult the official Sitecore Documentation as your first step into the exciting world of Sitecore personalization:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="2395" LastEditDate="2017-11-10T08:26:50.663" LastActivityDate="2017-11-10T08:26:50.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="736" PostTypeId="4" CreationDate="2016-10-06T12:47:29.267" Score="0" Body="Questions related to the personalization features of Sitecore - setup, usage, coding, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T13:11:49.593" LastActivityDate="2016-10-06T13:11:49.593" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="737" PostTypeId="5" CreationDate="2016-10-06T12:50:15.550" Score="0" Body="&lt;p&gt;indexing is an arrangement of documents or (other entities) systematically. Indexing enables users to locate information in a document.&lt;/p&gt;&#xA;&lt;p&gt;Indexing collects, parses, and stores documents.&lt;/p&gt;&#xA;&lt;p&gt;Indexing is done to increase the speed and performance of a search query while finding a required document.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2021-03-09T07:24:40.987" LastActivityDate="2021-03-09T07:24:40.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="738" PostTypeId="4" CreationDate="2016-10-06T12:50:15.550" Score="0" Body="Questions about indexes in Sitecore (standard or custom) in general. For questions that apply to Lucene or Solr, use the appropriate tags." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T13:11:24.410" LastActivityDate="2016-10-06T13:11:24.410" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="739" PostTypeId="5" CreationDate="2016-10-06T12:52:32.553" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-06T12:52:32.553" LastActivityDate="2016-10-06T12:52:32.553" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="740" PostTypeId="4" CreationDate="2016-10-06T12:52:32.553" Score="0" Body="Questions about searching (querying) in Sitecore or Sitecore projects. Can be indexes, queries, crawler searches ... &#xD;&#xA;Do not use for questions on configuring or maintaining indexes - use indexing there." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T13:59:22.577" LastActivityDate="2016-10-06T13:59:22.577" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="741" PostTypeId="1" AcceptedAnswerId="745" CreationDate="2016-10-06T12:59:21.790" Score="8" ViewCount="1959" Body="&lt;p&gt;I have problems using conditional renderings with MVC (on Sitecore 8.0 rev. 150121) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a condition and assigned it to the controller rendering but this condition never gets called.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I see the conditions attached to the renderings are triggered in the &lt;code&gt;insertRenderings&lt;/code&gt; pipeline which doesn't seem to be executed when we have an MVC layout. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something or the conditional renderings are supported only with Web Forms? If so I am wondering is there a graceful way to make it work with MVC&lt;/p&gt;&#xA;" OwnerUserId="78" LastActivityDate="2016-10-06T15:10:53.727" Title="Is it possible to use conditional renderings with Sitecore MVC" Tags="|mvc|presentation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="742" PostTypeId="2" ParentId="726" CreationDate="2016-10-06T13:05:10.737" Score="10" Body="&lt;p&gt;The &lt;code&gt;Name Value List&lt;/code&gt; (and &lt;code&gt;Name Value Lookup List&lt;/code&gt; which also inherits from it) only allows keys containing letters and numbers due to the &lt;code&gt;Validate()&lt;/code&gt; method in &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.NameValue&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;if (!string.IsNullOrEmpty(input) &amp;amp;&amp;amp; !Regex.IsMatch(input, &quot;^\\w*$&quot;))&#xA;{&#xA;  SheerResponse.Alert(string.Format(&quot;The key \&quot;{0}\&quot; is invalid.\n\nA key may only contain letters and numbers.&quot;, (object) input));&#xA;  SheerResponse.SetReturnValue(false);&#xA;  return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Whilst the answer from @alan is correct that the raw data is stored in parameters, the field is &lt;a href=&quot;https://jammykam.wordpress.com/2015/03/08/custom-sitecore-field-for-storing-keyvalue-data-with-lookups/&quot;&gt;able to handle special characters&lt;/a&gt; and I have created fields that use a guid as the key (which includes dashes and curly braces). You may want to ensure that values are URL encoded just in case though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In any case, there are no settings available to change this behvaiour, you have to create a custom field. Unfortunately the &lt;code&gt;Validate()&lt;/code&gt; method is private so it's not just a simple case of overriding, but you could provide a new implementation of &lt;code&gt;ParameterChange()&lt;/code&gt; method which is where Validate is called from.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected new void ParameterChange()&#xA;{&#xA;    ClientPage clientPage = Sitecore.Context.ClientPage;&#xA;    if (clientPage.ClientRequest.Source == StringUtil.GetString(clientPage.ServerProperties[this.ID + &quot;_LastParameterID&quot;]) &amp;amp;&amp;amp; !string.IsNullOrEmpty(clientPage.ClientRequest.Form[clientPage.ClientRequest.Source]))&#xA;    {&#xA;        string str = this.BuildParameterKeyValue(string.Empty, string.Empty);&#xA;        clientPage.ClientResponse.Insert(this.ID, &quot;beforeEnd&quot;, str);&#xA;    }&#xA;    NameValueCollection form = (NameValueCollection)null;&#xA;    System.Web.UI.Page page = HttpContext.Current.Handler as System.Web.UI.Page;&#xA;    if (page != null)&#xA;        form = page.Request.Form;&#xA;    if (form == null) /* || !this.Validate(form)) -- removed validation of Key field */&#xA;        return;&#xA;    clientPage.ClientResponse.SetReturnValue(true);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-06T13:05:10.737" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="745" PostTypeId="2" ParentId="741" CreationDate="2016-10-06T13:12:53.473" Score="11" Body="&lt;p&gt;Conditional renderings work fine with MVC. For version 8, you &lt;em&gt;must&lt;/em&gt; have &lt;code&gt;Analytics.Enabled&lt;/code&gt; set to true so you can get to the personalization section of the presentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Global&quot; conditional renderings &lt;em&gt;do not&lt;/em&gt; work with MVC, so you need to stick to personalization of the rendering on the items presentation rather than a global rendering rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how you set a Personalization rule. Edit the items presentation and then edit the Device you need. Most likely the &lt;code&gt;Default&lt;/code&gt; one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select the rendering you want to personalize and click the &lt;code&gt;Personalize&lt;/code&gt; button. If that button is not visible, Analytics is disabled:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FYN1R.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FYN1R.png&quot; alt=&quot;Edit the Presentation&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can add a new condition:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xiqeM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xiqeM.png&quot; alt=&quot;Add a condition&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can click the edit button to edit the rule for your condition. Add as many variants as you need, you can hide component, change the Datasource etc...&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-10-06T15:10:53.727" LastActivityDate="2016-10-06T15:10:53.727" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="746" PostTypeId="5" CreationDate="2016-10-06T13:16:17.687" Score="0" Body="&lt;p&gt;A Sitecore data provider exposes data as Sitecore items. The default data provider exposes data stored in Sitecore's content repositories (SQL Server or Oracle databases). Custom data providers can be written that expose data stored in third-party systems.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2021-09-22T13:45:24.717" LastActivityDate="2021-09-22T13:45:24.717" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="747" PostTypeId="4" CreationDate="2016-10-06T13:16:17.687" Score="0" Body="All questions regarding custom Sitecore Data Providers" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T15:03:44.057" LastActivityDate="2016-10-06T15:03:44.057" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="748" PostTypeId="5" CreationDate="2016-10-06T13:18:03.337" Score="0" Body="&lt;p&gt;Sitecore uses various caches to store data, rendered presentation logic and other information in memory in order to improve performance and response time. A cache is a dictionary that keeps track of when each entry is accessed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Caching/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Caching/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/66/cache_configuration_reference_sc66-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/66/cache_configuration_reference_sc66-a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-17T01:01:36.893" LastActivityDate="2018-02-17T01:01:36.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="749" PostTypeId="4" CreationDate="2016-10-06T13:18:03.337" Score="0" Body="Questions about all possible caching mechanisms in Sitecore, Sitecore projects or Sitecore related modules" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T13:59:11.407" LastActivityDate="2016-10-06T13:59:11.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="750" PostTypeId="1" AcceptedAnswerId="811" CreationDate="2016-10-06T13:20:53.437" Score="7" ViewCount="1979" Body="&lt;p&gt;I'm currently having some issues with some of my TDS item files, where I get the following error: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Duplicate Sitecore ID's found in files sitecore\templates\xxx\Data.item and sitecore\templates\xxx\Data.item    TDSProject    C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure that this actually means, since it's basically telling me that the duplicated ID's are between the same file. Moreover, when I look in the Data.item file on the filesystem, it does not contain any internal ID duplicates, and I've verified that the file does not exist multiple places.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions on where I should be looking?&lt;/p&gt;&#xA;" OwnerUserId="29" LastActivityDate="2022-05-17T12:41:51.243" Title="Duplicate Sitecore ID's found in files when using TDS" Tags="|tds|" AnswerCount="9" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="751" PostTypeId="5" CreationDate="2016-10-06T13:21:45.487" Score="0" Body="&lt;p&gt;Glass Sitecore Mapper is an object mapping framework for mapping Sitecore items directly onto an object model, this allows you to model your entire Sitecore solution in code. The framework handles reading and writing to fields, creating relationships (parent, child, etc) and much more.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/Glass_Sitecore_Mapper.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/Glass_Sitecore_Mapper.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://glass.lu/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://glass.lu/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://glass.lu/Mapper/Sc/Tutorials&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://glass.lu/Mapper/Sc/Tutorials&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.glass.lu/mapper/sc&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/mapper/sc&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-13T22:09:54.250" LastActivityDate="2018-02-13T22:09:54.250" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="752" PostTypeId="4" CreationDate="2016-10-06T13:21:45.487" Score="0" Body="Questions relating to the Glass.Mapper.Sc ORM framework.&#xD;&#xA;&#xD;&#xA;More information about the framework is available here: http://www.glass.lu/" OwnerUserId="237" LastEditorUserId="464" LastEditDate="2016-10-26T13:26:07.177" LastActivityDate="2016-10-26T13:26:07.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="753" PostTypeId="2" ParentId="400" CreationDate="2016-10-06T13:23:52.640" Score="0" Body="&lt;p&gt;When inspecting the link database, you might notice that a large part is filled with links on one or two fields (i've seen that). &#xA;If these field are &lt;em&gt;not&lt;/em&gt; that important to track, you could change the field type, of inherit the field type and skip the update links implementation. See the      &lt;code&gt;CustomCustomField.UpdateLink&lt;/code&gt; method for more details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other way could be overriding the LinkDatabase provider...&lt;/p&gt;&#xA;" OwnerUserId="398" LastActivityDate="2016-10-06T13:23:52.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="754" PostTypeId="1" AcceptedAnswerId="800" CreationDate="2016-10-06T13:25:33.270" Score="10" ViewCount="3674" Body="&lt;p&gt;I am having trouble publishing an item.  The item is not in a workflow state. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Publishing.log:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;12448 08:19:11 INFO  [Publishing]: Starting to process 26 publishing options&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:cs-CZ, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:da, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:nl-BE, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:en-GB, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:en, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:fi-FI, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:fr-BE, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:fr-CA, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:fr-CH, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:fr, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:de-AT, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:de-CH, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:de, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:el-GR, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:it-IT, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:ja-JP, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:ko-KR, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:nb-NO, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:pt-BR, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:ru, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:es-AR, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:es-CO, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:es-MX, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:es, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:sv-SE, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;12448 08:19:11 INFO  [PublishOptions]: root:{2973AF61-669A-463A-96ED-A42D771787F0}, language:tr-TR, targets:Web Preview, database:web-preview, mode:SingleItem, smart:False children:False, related:False&#xA;13072 08:19:11 WARN  SingleItemPublish detected. PublishContext was overridden with MaxDegreeOfParallelism=1, DisableDatabaseCaches=False.&#xA;13072 08:19:11 INFO  Starting [Publishing] - AddItemsToQueue&#xA;13072 08:19:11 INFO  Finished [Publishing] - AddItemsToQueue in 0 ms&#xA;13072 08:19:11 INFO  Starting [ParallelPublishing] - ProcessQueue&#xA;13072 08:19:11 INFO  Processing queue&#xA;13072 08:19:11 INFO  Finished [ParallelPublishing] - ProcessQueue in 198 ms&#xA;13072 08:19:11 INFO  Publish Mode : SingleItem&#xA;13072 08:19:11 INFO  Created : 0&#xA;13072 08:19:11 INFO  Updated : 0&#xA;13072 08:19:11 INFO  Deleted : 0&#xA;13072 08:19:11 INFO  Skipped : 702&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8696 08:13:43 INFO  AUDIT (sitecore\admin): Publish, root: {2973AF61-669A-463A-96ED-A42D771787F0}, languages:cs-CZ, da, nl-BE, en-GB, en, fi-FI, fr-BE, fr-CA, fr-CH, fr, de-AT, de-CH, de, el-GR, it-IT, ja-JP, ko-KR, nb-NO, pt-BR, ru, es-AR, es-CO, es-MX, es, sv-SE, tr-TR, targets:Web Preview, databases:web-preview, incremental:false, smart:false, republish:true, children:true, related:false&#xA;8696 08:13:43 INFO  AUDIT (sitecore\admin): [Publishing]: Starting to process 26 publishing options&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The item has an english version.  Other sibling items that appear to be identical can be published without issue.  There are no publishing restrictions on the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/X5JAB.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/X5JAB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also verified  that no parent items have publishing restrictions.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="246" LastEditDate="2016-10-06T16:05:38.060" LastActivityDate="2017-07-26T13:44:17.763" Title="Sitecore 8: Item Being Skipped During Publish" Tags="|publishing|" AnswerCount="5" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="755" PostTypeId="2" ParentId="750" CreationDate="2016-10-06T13:28:05.977" Score="5" Body="&lt;p&gt;I have had a similar problem before. It was related to TDS caching. Try closing and reopening visual studio as it will clear the TDS cache. Hope that helps!&lt;/p&gt;&#xA;" OwnerUserId="403" LastActivityDate="2016-10-06T13:28:05.977" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="756" PostTypeId="2" ParentId="754" CreationDate="2016-10-06T13:32:20.977" Score="1" Body="&lt;p&gt;Some other things to check:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;That there are no parent items with publishing restrictions set (e.g Never Publish is ticked) - use the gutter to identify this. left click on the content tree and select Publishing Warnings.  &lt;/li&gt;&#xA;&lt;li&gt;Publishing Targets are enabled under the targets tab in publishing restrictions&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Also are you doing a full publish or smart publish? - smart publish can be a bit unreliable.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-06T13:38:38.063" LastActivityDate="2016-10-06T13:38:38.063" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="757" PostTypeId="2" ParentId="754" CreationDate="2016-10-06T13:46:39.413" Score="6" Body="&lt;p&gt;It is worth checking publishing restrictions. In the &lt;code&gt;Publish&lt;/code&gt; ribbon whilst the item you want to publish is selected, click on &lt;code&gt;Change&lt;/code&gt; button under the &lt;code&gt;Restriction&lt;/code&gt; section. You should see the following:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uIULX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uIULX.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Make sure the check box in the image is checked and the dates for publishing are valid.&lt;/p&gt;&#xA;&lt;p&gt;In the Item tab, of this dialog there is also a check box for publishing this would set the standard values check box &lt;code&gt;never publish&lt;/code&gt; so I know it's not that.&lt;/p&gt;&#xA;&lt;p&gt;Also ensure the version you are looking at is publishable.&lt;/p&gt;&#xA;&lt;h2&gt;If Publishing.CheckSecurity=true&lt;/h2&gt;&#xA;&lt;p&gt;The following is from &lt;a href=&quot;https://sitecoreblog.marklowe.ch/2014/07/publishagent-skipping-all-items-when-checksecurity-is-activated/&quot; rel=&quot;noreferrer&quot;&gt;Mark Lowe Blog Post&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;After searching for a while, we found out the reason for PublishAgent skipping all items was quite obvious: We have set Publishing.CheckSecurity=true to make sure users could only publish the items they were allowed to. Unfortunately PublishAgent runs as sitecore\Anonymous who of course doesn’t have sufficient rights.&lt;/p&gt;&#xA;&lt;p&gt;To solve this problem, you can implement a class that inherits PublishAgent and overrides the Run method. Then use UserSwitcher to switch to a user that has the appropriate rights.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class AuthenticatedPublishAgent : PublishAgent&#xA;{&#xA;    private readonly string _userName;&#xA;&#xA;    public string UserName&#xA;    {&#xA;        get&#xA;        {&#xA;            return this._userName;&#xA;        }&#xA;    }&#xA;&#xA;    public AuthenticatedPublishAgent(string sourceDatabase, string targetDatabase, string mode, string languages, string user) : base(sourceDatabase, targetDatabase, mode, languages)&#xA;    {&#xA;        this._userName = user;&#xA;    }&#xA;&#xA;    public void RunAsUser()&#xA;    {&#xA;        if (string.IsNullOrEmpty(UserName) || !Sitecore.Security.Accounts.User.Exists(UserName))&#xA;        {&#xA;            Log.Error(string.Format(&amp;quot;Unable to run AuthenticatedPublishAgent as user: {0}&amp;quot;, UserName), this);&#xA;            return;&#xA;        }&#xA;&#xA;        var user = Sitecore.Security.Accounts.User.FromName(UserName, false);&#xA;&#xA;       using (new Sitecore.Security.Accounts.UserSwitcher(user))&#xA;       {&#xA;           base.Run();&#xA;       }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;AuthenticatedPublishAgent.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&amp;quot;MyNameSpace.AuthenticatedPublishAgent&amp;quot; method=&amp;quot;RunAsUser&amp;quot; interval=&amp;quot;01:00:00&amp;quot;&amp;gt;&#xA;  &amp;lt;param desc=&amp;quot;source database&amp;quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&amp;quot;target database&amp;quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&amp;quot;mode (full or smart or incremental)&amp;quot;&amp;gt;smart&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&amp;quot;languages&amp;quot;&amp;gt;en&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&amp;quot;user&amp;quot;&amp;gt;sitecore\AutoPublishingUser&amp;lt;/param&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Scheduling Agent Config&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-06T14:02:06.697" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="758" PostTypeId="5" CreationDate="2016-10-06T13:51:15.927" Score="0" Body="&lt;p&gt;For questions relating to hosting multiple tenants in a single Sitecore instance. Use &lt;a href=&quot;/questions/tagged/multisite&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;multisite&amp;#39;&quot; rel=&quot;tag&quot;&gt;multisite&lt;/a&gt; for questions regarding hosting multiple sites.&lt;/p&gt;&#xA;" OwnerUserId="1542" LastEditorUserId="1542" LastEditDate="2020-01-01T13:46:09.983" LastActivityDate="2020-01-01T13:46:09.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="759" PostTypeId="4" CreationDate="2016-10-06T13:51:15.927" Score="0" Body="For questions relating to hosting multiple tenants in a single Sitecore instance. Use the [multisite] tag for questions regarding hosting multiple sites." OwnerUserId="28" LastEditorUserId="1542" LastEditDate="2020-01-01T13:45:39.487" LastActivityDate="2020-01-01T13:45:39.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="760" PostTypeId="5" CreationDate="2016-10-06T13:52:01.700" Score="0" Body="&lt;p&gt;The Sitecore Publishing Service is a module implemented by Sitecore to provide high-performance publishing in large scale Sitecore setups. By the timw this wiki is being written following version of Sitecore Publishing Service is available, hence any question related to the same can be tagged:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore Publishing Service 3.1&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Publishing Service 3.0&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Publishing Service 2.2&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Publishing Service 2.1&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Publishing Service 2.0&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Publishing Service 1.1&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service/11/Sitecore_Publishing_Service_11_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service/11/Sitecore_Publishing_Service_11_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/545289&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/545289&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-17T01:01:24.153" LastActivityDate="2018-02-17T01:01:24.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="761" PostTypeId="4" CreationDate="2016-10-06T13:52:01.700" Score="0" Body="For questions relating to the Sitecore Publishing Service module, introduced in Sitecore 8.2." OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-06T14:14:47.907" LastActivityDate="2016-10-06T14:14:47.907" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="762" PostTypeId="2" ParentId="750" CreationDate="2016-10-06T13:57:04.707" Score="0" Body="&lt;p&gt;I have seen that. In my case was just a conflict in which I could safely update the project with my version. After I did that it stopped showing this message. Keep in mind that I could safely overwrite the project version. &lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-06T13:57:04.707" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="763" PostTypeId="2" ParentId="750" CreationDate="2016-10-06T13:57:12.597" Score="1" Body="&lt;p&gt;Check the project file in a raw text editor, looking for item name and ID. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a good chance that a merge has caused your item to be included twice. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen this happen with TDS merges at least once before.&lt;/p&gt;&#xA;" OwnerUserId="530" LastActivityDate="2016-10-06T13:57:12.597" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="764" PostTypeId="1" AcceptedAnswerId="776" CreationDate="2016-10-06T13:58:42.360" Score="3" ViewCount="232" Body="&lt;p&gt;We are creating a new website using Sitecore, and it seems that we have several options for mobile optimization:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Responsive design (like on any CMS)&lt;/li&gt;&#xA;&lt;li&gt;Mobile device/presentation layer with device detection&lt;/li&gt;&#xA;&lt;li&gt;Conditional rendering for mobile (personalization rules)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The site is primarily content-driven (&quot;brochureware&quot;), but there are pieces of the site that are highly interactive and may merit a mobile-specific approach. We'd obviously like to avoid the costs of maintaining essentially a separate mobile site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How should I decide which of these (or which combination) to use for my site? It seems like a responsive approach will be lowest cost long-term. Can I use this with device detection as well? Should I use a device layer or conditional rendering on pages with a mobile-specific UX?&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2016-10-06T16:26:31.117" LastActivityDate="2016-10-07T07:38:01.870" Title="Best practice for mobile optimization for content-driven site?" Tags="|mobile|best-practices|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="765" PostTypeId="2" ParentId="741" CreationDate="2016-10-06T14:00:11.983" Score="6" Body="&lt;p&gt;The conditions you set under &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11/how-to-invoke-other-actions-in-conditional-renderings/18#18&quot;&gt;Personalization section&lt;/a&gt; are &lt;em&gt;Global Conditional Rendering Rules&lt;/em&gt; and are not &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/mvc_rules_and_personalization&quot; rel=&quot;nofollow noreferrer&quot;&gt;supported in Sitecore MVC&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;MVC does not support global conditional rendering rules (the rules that apply to all renderings).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;This means that when you use MVC, you cannot set up a system of global conditions that determine which content is displayed to website visitors who meet these conditions every time the rendering is called.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It &lt;em&gt;should&lt;/em&gt; be possible to make them run by adding in some appropriate processors overrides in the correct MVC pipelines, but this is likely to have a solution wide performance impact since the rules would run for every single rendering. This is most likely the reason it was removed in the first place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The global rules do however still work with WebForms only solutions.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-06T14:00:11.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="766" PostTypeId="1" AcceptedAnswerId="824" CreationDate="2016-10-06T14:03:18.143" Score="11" ViewCount="442" Body="&lt;p&gt;I am a marketer responsible for setting up a new campaign on our Sitecore website. We have content which we want to target at a very specific customer segment -- customers from a specific Geo on mobile who are coming in from links for our new campaign. I know how to set up the personalization rule for this, but I need to do it on dozens of pages. Is there a way I can do this without having to configure this complex rule on every page?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-10T20:09:47.800" Title="Reusing a set of personalization rules?" Tags="|personalization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="767" PostTypeId="1" AcceptedAnswerId="784" CreationDate="2016-10-06T14:13:07.760" Score="12" ViewCount="488" Body="&lt;p&gt;I've been trying to figure out, whether or not I can use Sitecore's xDB related functionalities to create a &quot;other customers also bought&quot; recommendation system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The use case would be something like this: a user puts a set of products in a basket-like functionality and proceeds to the checkout. Once the user has decided to make the final purchase, I'd like to use Sitecore's xDB to show other products the user might be interested in, or perhaps something different in relation to the products, like guides or so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My initial thought was to create personas, and tie these together with the products, such that person A is a person that buys X, Y, and Z and should be shown related products 1, 2, 3, etc. However, I am not sure if this will work in practice, and whether Sitecore is fit for such features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is, whether or not the default xDB functionalities in Sitecore can be used for this, and what the limitations are.&lt;/p&gt;&#xA;" OwnerUserId="29" LastEditorUserId="283" LastEditDate="2016-10-13T14:57:10.130" LastActivityDate="2016-10-13T14:57:10.130" Title="Can I create &quot;Other customers also bought...&quot; recommendations using Sitecore xDB?" Tags="|xdb|sitecore-commerce|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="768" PostTypeId="2" ParentId="727" CreationDate="2016-10-06T14:13:45.317" Score="14" Body="&lt;p&gt;The beacon is created by taking a series of scripts and 'bundeling' them together (minifying and caching them).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a look in &lt;code&gt;App_Config\Include\FXM\Sitecore.FXM.Bundle.config&lt;/code&gt; .. this shows all the parts that go into the 'bundeling' process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the place you can add or modify any extra scripts you need to be delivered to the client as part of the beacon.&lt;/p&gt;&#xA;" OwnerUserId="201" LastActivityDate="2016-10-06T14:13:45.317" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="769" PostTypeId="1" AcceptedAnswerId="892" CreationDate="2016-10-06T14:13:56.560" Score="4" ViewCount="595" Body="&lt;p&gt;I believe an issue we're running into might be related to the lambda cache in Glass - I'm also concerned about the performance ramifications if we were to disable it. Has anyone done this and experienced any performance issues?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit - this was the original issue:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Anonymously Hosted DynamicMethods Assembly&#xA;    at lambda_method(Closure , ContentBlurbViewModel )&#xA;    at Glass.Mapper.Sc.GlassHtml.MakeEditable[T](Expression`1 field, Expression`1 standardOutput, T model, Object parameters, Context context, Database database, TextWriter writer) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\GlassHtml.cs:line 616&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lambda(s) that this fails on:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Html.Glass().Editable(a =&amp;gt; a.Heading)&#xA;@Html.Glass().Editable(a =&amp;gt; a.Subtitle)&#xA;@Html.Glass().Editable(a =&amp;gt; a.RichText1)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All of these lambdas are in the same cshtml view and share a view model. It looks like somehow or another the proxy object is returning nulls for the properties and Editable starts failing and it gets cached.&lt;/p&gt;&#xA;" OwnerUserId="7" LastEditorUserId="10" LastEditDate="2016-10-06T14:33:01.420" LastActivityDate="2016-10-08T15:24:58.467" Title="Disabling the Glass lambda cache" Tags="|caching|performance-optimization|glass-mapper|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="770" PostTypeId="2" ParentId="750" CreationDate="2016-10-06T14:14:01.647" Score="2" Body="&lt;p&gt;Your question mentions the file &lt;code&gt;C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did you check that file for multiple instances if the ID of the relevant item? As far as I recall, this is not the file presented to you by VS when unloading project, then editing as text.&lt;/p&gt;&#xA;" OwnerUserId="530" LastActivityDate="2016-10-06T14:14:01.647" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="771" PostTypeId="2" ParentId="764" CreationDate="2016-10-06T14:18:35.167" Score="2" Body="&lt;p&gt;Any of those options are valid for what you're trying to achieve - it's more of a matter of preference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Responsive design will ensure a good experience regardless of device size and is typically considered as best practice. It does take a little more work on implementation and testing. Also, from a design perspective, the best practice is to design for small glass devices first and enhance the design for large glass. If you already have an existing visual design, it may require a bit of tweaking to set the appropriate break points and ensure that the flow of the page reacts accordingly depending on the display size. It may be easier at this point to just do a separate design for mobile and potentially tablet and use device channels to control it.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2016-10-06T14:18:35.167" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="772" PostTypeId="5" CreationDate="2016-10-06T14:18:47.170" Score="0" Body="&lt;p&gt;Multisite is a type of Sitecore content strategy that allows you to create and manage a network of multiple websites from a single Sitecore instance. This lets you easily make changes and keep all of your websites updated from one place.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2021-03-09T07:24:51.820" LastActivityDate="2021-03-09T07:24:51.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="773" PostTypeId="4" CreationDate="2016-10-06T14:18:47.170" Score="0" Body="For questions relating to multiple sites in a single Sitecore instance." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T14:40:27.953" LastActivityDate="2016-10-06T14:40:27.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="774" PostTypeId="2" ParentId="641" CreationDate="2016-10-06T14:26:53.687" Score="7" Body="&lt;h1&gt;Background&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The way in which you are using visitor profiles is non-standard, so I will first explain some details about the internals of the feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you've defined a set of profile keys, some pattern cards and profile cards, you would normally assign profile cards to your website pages. Every time a user visits a page that has an associated profile card, Sitecore will go over profile key values of the card and &lt;strong&gt;add&lt;/strong&gt; the non-negative values of profile keys to the user's profile. There are two important conclusions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The max value of user profile values is virtually unlimited and is &lt;strong&gt;not&lt;/strong&gt; related to the max value of the corresponding profile key.&lt;/li&gt;&#xA;&lt;li&gt;Profile values are not supposed to be negative.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When a user is matched to a pattern card, the matching process considers the user's profile and all available pattern cards into points in an N-dimensional space, where N is the number of defined profile keys. The profile is translated into a point based on the profile type (Sum, Percentage or Average).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whichever pattern card point has the smallest &lt;a href=&quot;https://en.wikipedia.org/wiki/Euclidean_distance&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Euclidean distance&lt;/strong&gt;&lt;/a&gt; to the user profile point, that pattern card becomes the user's new matched pattern that will be used in personalization rules from that point on.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Recommendation&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You are not using Sitecore's profile scoring feature, instead you override the profile to have specific values. Only one profile key will have a value greater than zero—both in the pattern cards and in the visitor profile. Which is why it doesn't really matter what values you use for the non-zero key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend that you put &lt;code&gt;0&lt;/code&gt; to all profile keys and &lt;code&gt;1&lt;/code&gt; to the one that you want to be matched to a specific pattern card. This is the simplest and least error-prone solution that will definitely work in your case.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-06T14:32:19.287" LastActivityDate="2016-10-06T14:32:19.287" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="775" PostTypeId="1" AcceptedAnswerId="795" CreationDate="2016-10-06T14:26:57.157" Score="6" ViewCount="7236" Body="&lt;p&gt;How do I bind a Custom Item generated with &quot;Custom Item Generator&quot; to my view model for a controller rendering? There is a data source that is returning a list of the Custom Items. Also, one of the custom items is an image. It sounds like I should be using Glass Mapper, but it's not clear to me what it does and how that relates to what I am trying to do. This code does not build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using Sitecore.Mvc.Presentation&#xA;@using Sitecore.Mvc&#xA;@model MyCompanyBootstrap.CustomItems.RotatorContentItem&#xA;&#xA;@foreach (var item in Model.RotatorItems)&#xA;{&#xA;    &amp;lt;h2&amp;gt;@item.Fields[&quot;Title&quot;]&amp;lt;/h2&amp;gt;&#xA;    @item.Fields[&quot;Sub Title&quot;]&#xA;}&#xA;@Model.Title&#xA;&amp;lt;br /&amp;gt;&#xA;@Model.Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller Action:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;    var viewModel = new RotatorContentItem();&#xA;    viewModel.RotatorItems = dataSource.Children;&#xA;    viewModel.Initialize(RenderingContext.Current.Rendering);&#xA;    return View(viewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Custom Item:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public partial class RotatorContentItem : CustomItem&#xA;{&#xA;&#xA;public static readonly string TemplateId = &quot;{E493DF4A-E97E-49B5-BF9F-F70397EA8D21}&quot;;&#xA;&#xA;&#xA;#region Boilerplate CustomItem Code&#xA;&#xA;public RotatorContentItem(Item innerItem) : base(innerItem)&#xA;{&#xA;&#xA;}&#xA;&#xA;public static implicit operator RotatorContentItem(Item innerItem)&#xA;{&#xA;    return innerItem != null ? new RotatorContentItem(innerItem) : null;&#xA;}&#xA;&#xA;public static implicit operator Item(RotatorContentItem customItem)&#xA;{&#xA;    return customItem != null ? customItem.InnerItem : null;&#xA;}&#xA;&#xA;#endregion //Boilerplate CustomItem Code&#xA;&#xA;&#xA;#region Field Instance Methods&#xA;&#xA;&#xA;public CustomTextField Title&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomTextField(InnerItem, InnerItem.Fields[&quot;Title&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomTextField SubTitle&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomTextField(InnerItem, InnerItem.Fields[&quot;Sub Title&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomImageField ImageLarge&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomImageField(InnerItem, InnerItem.Fields[&quot;Image Large&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomImageField ImageSmall&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomImageField(InnerItem, InnerItem.Fields[&quot;Image Small&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomGeneralLinkField Link&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomGeneralLinkField(InnerItem, InnerItem.Fields[&quot;Link&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomCheckboxField IsOverlayBlack&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomCheckboxField(InnerItem, InnerItem.Fields[&quot;Is Overlay Black&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;#endregion //Field Instance Methods&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&#xA;There are a number of things wrong with this code that I am seeing now. I think there should be a new class specifically for the View Model itself. And that class should have a list of RotatorContentItems.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public List&amp;lt;RotatorContentItem&amp;gt; RotatorContentItems { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, it is not clear to me how to bind that list in the controller action.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyViewModel&#xA;{&#xA;    public List&amp;lt;RotatorContentItem&amp;gt; RotatorContentItems { get; set; }&#xA;    public IEnumerable&amp;lt;Item&amp;gt; RotatorItems { get; set; }&#xA;}&#xA;&#xA;public ActionResult Index()&#xA;{&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;    var viewModel = new MyViewModel();&#xA;    viewModel.RotatorContentItems = dataSource.Children;&#xA;    viewModel.RotatorItems = dataSource.Children;&#xA;    return View(viewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will not build on the following line:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;viewModel.RotatorContentItems = dataSource.Children;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Error is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Cannot implicitly convert type 'Sitecore.Collections.ChildList' to 'System.Collections.Generic.List&amp;lt;MyCompnayBootstrap.CustomItems.RotatorContentItem&amp;gt;'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="246" LastEditDate="2016-10-06T15:29:27.513" LastActivityDate="2016-10-06T16:47:53.397" Title="Sitecore MVC - Controller Renderings - View Model for Custom Item" Tags="|mvc|custom-item-generator|" AnswerCount="2" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="776" PostTypeId="2" ParentId="764" CreationDate="2016-10-06T14:27:17.973" Score="7" Body="&lt;p&gt;TL/DR; It Depends :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was an exercise that we used to undertake at the start of every project, and it came down to Context and Content.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is what we're building essentially an application or a website? Most projects didn't gravitate to one extreme of those poles, but certainly lended themselves to be more aligned with one or the other. Are visitors coming to perform a specific action? Are they coming to consume content, or just get in and get out? &lt;/li&gt;&#xA;&lt;li&gt;What interactions are our visitors having with the site? Are they watching videos, filling out forms, creating lists and customized content? The more interactive the site was, the more consideration needed to be paid to specific interfaces for our visitors' devices.&lt;/li&gt;&#xA;&lt;li&gt;Then, we'd consider context: Are people visiting on a mobile platform more likely to perform an interaction than those on PC devices? If I'm a banking site, people on mobile may proportionally care more about finding a branch or ATM near them than another user.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My team's reaction was always to &lt;em&gt;assume&lt;/em&gt; responsive design unless the design phase moved us out of it. We always wanted to deliver all functionality of the site to all users, and use conditional rendering to service users of one platform or another where needed. If the interactions with the content were so radically different from two devices, or impossible to complete on one device (ye olde Flash Video!) we'd try to use devices in Sitecore to target specific presentation to those users. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; Given the clarified requirements you posted, I think the approach of starting with a responsive design makes a ton of sense. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Well considered interactive components can also work with this approach. For example, in the past we've built appointment booking components utilizing React on the same responsive grid system the rest of the site used. Our designers and devs took the time to make sure the component worked with smaller touch targets, and that the sections collapsed in a way that was perfectly functional. We ended up using the exact same components for all viewpoints on a single responsive design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think if your design and research leads you to a point where a separate component makes more sense, your thought about using dynamic presentation via some conditional rendering to replace that component will work well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Again, there are more devices, viewports, browsers and configurations than we'll ever be able to test and validate. By defaulting to responsive, we'll make an experience that should be optimal for them all, but at the very least, somewhat usable!&lt;/p&gt;&#xA;" OwnerUserId="553" LastEditorUserId="553" LastEditDate="2016-10-06T17:51:47.453" LastActivityDate="2016-10-06T17:51:47.453" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="777" PostTypeId="2" ParentId="766" CreationDate="2016-10-06T14:30:36.370" Score="0" Body="&lt;p&gt;I would create a new edit frame button for the renderings. For this button you can bind a command which is modifying the presentation details and set the personalization for the selected rendering.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-10-06T14:30:36.370" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="779" PostTypeId="2" ParentId="439" CreationDate="2016-10-06T14:39:28.463" Score="4" Body="&lt;p&gt;This bug is referenced in the knowledge base as Reference number: 88491. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically, it patches the majority of the &lt;code&gt;&amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&lt;/code&gt; pipeline and takes care to ensure that requests to the SPEAK which are generally handled over AJAX calls are properly formatted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be noted that this is an issue specifically with Sitecore &lt;code&gt;Experience Editor&lt;/code&gt; and NOT &lt;code&gt;EXM&lt;/code&gt; specifically.  However, it's easy to blame &lt;code&gt;EXM&lt;/code&gt; due to the tight integration that &lt;code&gt;Experience Editor&lt;/code&gt; has inside of the &lt;code&gt;Email eXperience Manager&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fix itself has been fixed in &lt;strong&gt;Sitecore 8.2&lt;/strong&gt;, however &lt;strong&gt;EXM 3.4&lt;/strong&gt; (which supports Sitecore 8.2) isn't released yet of the writing of this response.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There is &lt;strong&gt;&lt;em&gt;NOT&lt;/em&gt;&lt;/strong&gt; an actual kb.sitecore.net article on this issue.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-06T15:04:50.213" LastActivityDate="2016-10-06T15:04:50.213" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="780" PostTypeId="2" ParentId="767" CreationDate="2016-10-06T14:51:07.060" Score="4" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;This question could lend itself to more of an opinion based response,&#xA;  and could be closed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;http://www.nttdatasitecore.com/Blog/2015/June/Sitecore-Hints-Recently-Viewed-Products&quot; rel=&quot;nofollow&quot;&gt;linked article&lt;/a&gt; by &lt;code&gt;Sean Fox&lt;/code&gt; does a good job at providing a way to drive to this information using xDB. However, I feel that specifically for &quot;other customers also bought...&quot; use case, this is handled by other systems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;IMHO, &lt;code&gt;xDB&lt;/code&gt; is meant more for tracking what a user does during their visit, not what other users have done. It can be used for custom and exquisite personalization, however, I would recommend confining the scope of that effort to within the Contact interactions itself.  That being said, yes all contact interactions are available, and with custom processing and aggregation you can get this information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, &lt;strong&gt;more appropriate&lt;/strong&gt; is that many commerce platforms provide this type of functionality natively and is more in line with typical &lt;em&gt;cart&lt;/em&gt; implementations. &lt;code&gt;Active Commerce&lt;/code&gt;, &lt;code&gt;Insite Commerce&lt;/code&gt;, and &lt;code&gt;UCommerce&lt;/code&gt; for example provide this functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With Sitecore working on a native Commerce solution too (albeit probably mostly for small scale solutions, and not trying to compete with the big commerce players), it would surprise me if Sitecore doesn't also provide this functionality, and would not surprise me at all if they &lt;em&gt;DO&lt;/em&gt; leverage xDB for some of this.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-06T14:51:07.060" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="781" PostTypeId="2" ParentId="699" CreationDate="2016-10-06T15:09:17.827" Score="3" Body="&lt;p&gt;If you're using the Habitat project as a template for your project architecture, you'll wind up having a web deploy package for each of the web projects (of which there are many).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can still follow the spirit of the modular principals of Helix without needing to create individual projects for each of the modules which can result in dozens of web deploy packages. While you may not get down to the magical single web deploy package, you can definitely lower the number of packages that need to be deployed. Each of those packages can and should be deployed across environments.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2016-10-06T15:09:17.827" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="782" PostTypeId="2" ParentId="767" CreationDate="2016-10-06T15:12:51.243" Score="1" Body="&lt;p&gt;xDB centers around people (represented by contacts) and their actions (represented by interactions, page views, page events, outcomes, etc.). You can draw a lot of conclusions about each individual person by analyzing the data gathered for the corresponding contact. Though, there are no in-built means that can help you to understand relationships &lt;em&gt;between&lt;/em&gt; contacts, or between other entities of your website. The only tool that gives some insight into page relationships is &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing__reporting/path_analyzer/path_analyzer&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;Path Analyzer&lt;/strong&gt;&lt;/a&gt;, but it won't help you in your task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The products that &lt;em&gt;do&lt;/em&gt; provide the functionality you need are the different commerce platforms (Pete has listed a few). Using a commerce platform would be my recommendation. If you don't—well, then you are building your own commerce solution. You should then look at the ways in which other platforms work with product relationships and try to adapt them to your needs. For example, &lt;a href=&quot;http://www.ucommerce.net/&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;UCommerce&lt;/strong&gt;&lt;/a&gt; adds several dozen SQL tables into Sitecore databases. One of them is &lt;code&gt;uCommerce_ProductRelation&lt;/code&gt; that defines which products are related to each other and &lt;em&gt;how&lt;/em&gt; they are related. Research how existing commerce solutions work and learn from them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Overall, I don't see a way to do what you want without custom SQL tables, or MongoDB collections, or some graph database like &lt;a href=&quot;https://neo4j.com/&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;Neo4j&lt;/strong&gt;&lt;/a&gt;. You'll want to research how to access a custom data storage from Sitecore and store you product relationship data in the way that suits you best. Only then you'll be able to query your data store in your page code and display related products.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-06T15:12:51.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="783" PostTypeId="2" ParentId="775" CreationDate="2016-10-06T15:13:21.743" Score="5" Body="&lt;p&gt;I believe your problem is when you're instantiating the custom item. You want to pass an &lt;code&gt;Item&lt;/code&gt; to the CustomItem constructor in order to use the properties.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;    var viewModel = new RotatorContentItem(datasource);&#xA;    viewModel.RotatorItems = dataSource.Children;&#xA;    viewModel.Initialize(RenderingContext.Current.Rendering);&#xA;    return View(viewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code will be repeated in every controller you create, so it is worth abstracting it to a base class that your controllers would inherit from, and you can pass the CustomItem type as a type argument. You can do something like this,&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public abstract class BaseCustomItemController&amp;lt;T&amp;gt; : where T is CustomItem&#xA;{&#xA;  public virtual ActionResult Index()&#xA;  {&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    T viewModel = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;    return View(viewModel);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Glass.Mapper is worth learning and probably a better choice for working with MVC. You can use the GlassViewModel class it ships with and skip controllers altogether and just use View Renderings. &lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="499" LastEditDate="2016-10-06T15:26:11.157" LastActivityDate="2016-10-06T15:26:11.157" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="784" PostTypeId="2" ParentId="767" CreationDate="2016-10-06T15:16:22.403" Score="8" Body="&lt;p&gt;I think such functionality is absolutely an intended use case of xDB. From a high level, the approach would be:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a custom facet for your customers which stores order history.&lt;/li&gt;&#xA;&lt;li&gt;Ensure that your customers are all imported into xDb, including order history.&lt;/li&gt;&#xA;&lt;li&gt;Ensure that when new orders are placed, that this facet is updated.&lt;/li&gt;&#xA;&lt;li&gt;Create a custom aggregation in your reporting database which effectively gives you &quot;customers who bought X, also bought Y.&quot; Your &quot;Fact&quot; in this case would be:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Purchased Product&lt;/li&gt;&#xA;&lt;li&gt;Other Product&lt;/li&gt;&#xA;&lt;li&gt;Count&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a rendering which queries the reporting table and displays recommended products, based on some sort of threshold and/or ordered by Count.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The specifics of any of the above are too broad for this answer I think (since you are simply asking if it's possible). I think the big limitations at this time will be:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The need to duplicate your order data in xDB. In theory your &lt;code&gt;AggregationProcessor&lt;/code&gt; could read directly from your order database however, if it's easily available. XConnect may help with the importing of this in the future.&lt;/li&gt;&#xA;&lt;li&gt;You are potentially remotely querying the reporting database. Some performance testing and caching may be needed (though cache may be of limited use given the potential diversity of products / cache keys here). I assume that the forthcoming XConnect will help with this as well.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The real power of xDB would be adding additional elements to that Fact -- customer personas, geo, campaigns, etc. This allows you to essentially say &quot;Customers LIKE YOU also bought,&quot; which you can't do with the commerce system on its own.&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2016-10-06T15:21:25.380" LastActivityDate="2016-10-06T15:21:25.380" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="785" PostTypeId="1" AcceptedAnswerId="786" CreationDate="2016-10-06T15:17:42.627" Score="32" ViewCount="1759" Body="&lt;p&gt;Is there any simple way to remove a Sitecore module from an instance? I am trying to remove WFFM and ECM from a 7.5 instance.  The guidance I got from a Sitecore engineer was to look at the installation packages for both modules and simply remove all of the associated files and content items.  Removing the files is easy enough.  Removing the content items is proving to be much more complicated and labor intensive.  Especially when you get to data templates.  There are so many complicated dependencies with the data templates.  It takes hours to figure out which data templates are dependent on which other ones.  Sitecore won't let you delete a data template until it is not used anywhere on the site.  So for each data template I have to go hunt down all of the items that use that template and remove them.  For ECM especially it is a complicated web of data templates.  Just wondered if there was some easier way of uninstalling a Sitecore module.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-10-09T14:32:46.020" Title="How to delete a Sitecore module?" Tags="|wffm|module|ecm|" AnswerCount="6" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="786" PostTypeId="2" ParentId="785" CreationDate="2016-10-06T15:24:21.317" Score="33" Body="&lt;p&gt;There is no simple way to do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would have to do reverse installation (uninstall) and remove everything manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using &lt;strong&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt;&lt;/strong&gt; you could try to create so called &lt;strong&gt;Anti-Package&lt;/strong&gt;. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/FNPgX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FNPgX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe you can do the same with &lt;strong&gt;&lt;a href=&quot;http://vsplugins.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Rocks&lt;/a&gt;&lt;/strong&gt; but I am not sure if this is still supported.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-06T15:29:26.743" LastActivityDate="2016-10-06T15:29:26.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="787" PostTypeId="2" ParentId="785" CreationDate="2016-10-06T15:25:33.673" Score="4" Body="&lt;p&gt;I don't think there is any easier way. Since your instance already have these modules installed, you will have to take the approach you described in your answer.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One option you can try is, Hedgehog Razl tool. This allows you to compare to sitecore instance databases and display what is the difference between those two databases. So, you can create a sitecore instance without the above mention modules installed, and then run the Razl tool with those two instances. This provides you with more valuable insite into what has been changed by the module installed and what needs to be rollback.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In situations when you didn't have modules installed, you can use Anti-Package functionality that comes with Sitecore Rocks. What this does is, before you install a module, you will have to create a Anti-Package using Sitecore Rocks. Then, if you install your module and in case you need to rollback it, you can use the earlier generated Anti-Package to rollback your solution.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-06T15:25:33.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="788" PostTypeId="2" ParentId="785" CreationDate="2016-10-06T15:27:51.090" Score="21" Body="&lt;p&gt;There is no simple way to remove a module in Sitecore once it has been installed unfortunately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The simplest solution is to create an &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/trevor_campbell/posts/28-days-of-sitecore-rocks-package-management-part-1&quot;&gt;anti-package using either Sitecore Rocks&lt;/a&gt; or &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/toolbox.html&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt;. Save the anti-package somewhere and then you can install that which reverse what the install does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have already installed the package then it may be possible to create an anti-package against either a different environment or a clean/another install of Sitecore. This may or may not work depending on your exact install though.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-06T15:27:51.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="789" PostTypeId="5" CreationDate="2016-10-06T15:33:24.907" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-06T15:33:24.907" LastActivityDate="2016-10-06T15:33:24.907" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="790" PostTypeId="4" CreationDate="2016-10-06T15:33:24.907" Score="0" Body="For posts related to the usage, implementation, and support of the Custom Item Generator, which is based off of Sitecore's CustomItem implementation for strongly typed Item references." OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-06T16:16:34.720" LastActivityDate="2016-10-06T16:16:34.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="791" PostTypeId="1" CreationDate="2016-10-06T15:34:52.250" Score="0" ViewCount="711" Body="&lt;p&gt;I am working on a Sitecore 7.2 instance, and I have noticed some peculiar behaviour.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a large collection of pages and datasources. When I create a folder to contain a certain type of datasource, and then create a datasource with subitems, and then do a publish, the subitems do not get published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The folder and the parent item do get published however. There is no workflow involved. I have tried republish and smart publish&lt;/p&gt;&#xA;" OwnerUserId="445" LastEditorUserId="246" LastEditDate="2016-10-06T16:07:39.817" LastActivityDate="2016-10-11T07:35:33.637" Title="Datasource Subitems Items not being published in Sitecore 7.2" Tags="|publishing|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="792" PostTypeId="1" CreationDate="2016-10-06T15:37:46.690" Score="7" ViewCount="211" Body="&lt;p&gt;For legal requirements we need to archive each variation of a page that will be served. Is there a way - via query string or a cookie or request headers - to request a specific variation of an A/B or Multivariate test? &lt;/p&gt;&#xA;" OwnerUserId="563" LastEditorUserId="70" LastEditDate="2016-11-08T18:51:26.687" LastActivityDate="2016-11-08T18:51:26.687" Title="How to request a specific variation of an A/B or Multivariate testing?" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="793" PostTypeId="1" AcceptedAnswerId="794" CreationDate="2016-10-06T15:48:14.973" Score="4" ViewCount="3602" Body="&lt;p&gt;I have a really odd problem when saving a Sitecore item. Locally, everything is fine. However, when deployed to our dev environment (which uses the same db and SOLR instance), I get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The parent item of {{item name}} was not serialized. You cannot have a&#xA;sparse serialized tree. You may need to serialize this item's parents.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's strange it works on one environment but not the other. Especially when using the same databases.&lt;/p&gt;&#xA;" OwnerUserId="564" LastEditorUserId="104" LastEditDate="2016-10-06T18:35:30.193" LastActivityDate="2016-10-06T20:00:08.157" Title="Cannot save a Sitecore item. The error message says the parent item was not serialized" Tags="|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="794" PostTypeId="2" ParentId="793" CreationDate="2016-10-06T15:52:56.417" Score="5" Body="&lt;p&gt;This is a Unicorn/Rainbow error that occurs when the item being saved (serialized to disc) does not have its parent item serialized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This indicates that you are using Unicorn not only on your local machine, but also on your development server. In general, in most development processes there should be no reason to use Unicorn on a development server, especially with Sitecore data providers patched (see &lt;code&gt;Unicorn.DataProvider.config&lt;/code&gt;). So make sure Unicorn's binaries and configuration don't get deployed. Apart from fixing your issue, your deployments will become simpler and cleaner.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you do need to use Unicorn in that environment, make sure that you also maintain an up-to-date copy of your serialized items in Unicorn's folder. You can do that in two ways:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;deploy serialized items together with the application;&lt;/li&gt;&#xA;&lt;li&gt;or, in case the Sitecore databases are already up to date, use the Unicorn Control Panel to manually serialize all items to disc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-06T20:00:08.157" LastActivityDate="2016-10-06T20:00:08.157" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="795" PostTypeId="2" ParentId="775" CreationDate="2016-10-06T15:54:14.740" Score="3" Body="&lt;p&gt;The problem is that on &lt;code&gt;MyViewModel&lt;/code&gt; your &lt;code&gt;RotatorContentItems&lt;/code&gt; are of type &lt;code&gt;List&amp;lt;RotatorContentItem&amp;gt;&lt;/code&gt;, but &lt;code&gt;dataSource.Children&lt;/code&gt; is of type &lt;code&gt;Sitecore.Collections.ChildList&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View Model:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyViewModel&#xA;{&#xA;    public List&amp;lt;RotatorContentItem&amp;gt; RotatorContentItems { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You're not using &lt;code&gt;RotatorItems&lt;/code&gt; at all so no need to add that property to &lt;code&gt;MyViewModel&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller Action:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;&#xA;    var viewModel = new MyViewModel&#xA;    {&#xA;        RotatorContentItems = dataSource.Children.Select(c =&amp;gt; new RotatorContentItem(c)).ToList()&#xA;    };&#xA;&#xA;    return View(viewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using Sitecore.Mvc.Presentation&#xA;@using Sitecore.Mvc&#xA;@model MyViewModel&#xA;&#xA;@foreach (var item in Model.RotatorContentItems)&#xA;{&#xA;    &amp;lt;h2&amp;gt;@item.Title.Text&amp;lt;/h2&amp;gt;&#xA;    @item.SubTitle.Text&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="10" LastEditorUserId="10" LastEditDate="2016-10-06T16:47:53.397" LastActivityDate="2016-10-06T16:47:53.397" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="796" PostTypeId="2" ParentId="792" CreationDate="2016-10-06T15:56:39.447" Score="3" Body="&lt;p&gt;The information of which variation a particular visitor got should be stored in the Interactions Collection of your Analytics Mongo DB. You can look at a particular Interaction and look at the Pages element in the interaction. There is a lot of information in there that you should be able to see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you find that information in your Mongo DB, then you should be able to access the Contact Card for a particular visitor, and from that contact card you should be able to get the Sitecore Item ID of the particular variation that was displayed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Figuring out how to display that particular variation is going to depend on how you implemented the displaying of the information (depending if you did this through JavaScript/WebForms/etc), but I believe that this information should help you get the information that you are looking for.&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-10-06T15:56:39.447" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="797" PostTypeId="2" ParentId="677" CreationDate="2016-10-06T15:57:04.057" Score="10" Body="&lt;p&gt;Based on your question I think you need something that will require a bit more finesse, so here's my attempt - It will only show renderings that have no datasource, but need them&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function Test-DataSourceRequired {&#xA;    [CmdletBinding()]&#xA;    param([Sitecore.Data.ID]$RenderingId)&#xA;&#xA;    $rendering = Get-Item master: -ID $RenderingId&#xA;&#xA;    # if data source location and data source template are empty then it's ok for the rendering to have no data source defined&#xA;    return -not [string]::IsNullOrEmpty($rendering.&quot;Datasource Location&quot;) -or -not [string]::IsNullOrEmpty($rendering.&quot;Datasource Template&quot;)&#xA;}&#xA;&#xA;function Test-ContainRenderingsWithoutDataSources  {&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Parameter(Mandatory=$true, Position=0, ValueFromPipeline=$true)]&#xA;        [Sitecore.Data.Items.Item]$Item)&#xA;&#xA;    #Test Versioned Layout&#xA;    $BrokenRendering = Get-Rendering -Item $Item -FinalLayout | Where-Object { ($_.Datasource -eq &quot;&quot;) -and (Test-DataSourceRequired $_.ItemID) }&#xA;    $BrokenRendering | %{ Write-Host &quot;$($Item.Paths.Path) - '$((Get-Item master: -ID $_.ItemId).Name)' has no datasource&quot; -ForegroundColor Red } &#xA;&#xA;}&#xA;&#xA;Get-Item -Path master:\content\Home | Test-ContainRenderingsWithoutDataSources&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case I'm checking whether the rendering that we are inspecting (that has no datasource specified) actually requires one. By requires I understand that the rendering has a value in &quot;DataSource Location&quot; and &quot;DataSource Template&quot;. that filters out false positives where renderings that don't need datasource would be shown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can pipe multiple items into the cmdlet as well like:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-ChildItem -Path master:\content\Home -Recurse | Test-ContainRenderingsWithoutDataSources&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sample output:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MwJhw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MwJhw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="202" LastEditorUserId="202" LastEditDate="2016-10-11T07:38:14.313" LastActivityDate="2016-10-11T07:38:14.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="798" PostTypeId="2" ParentId="791" CreationDate="2016-10-06T16:08:56.460" Score="0" Body="&lt;p&gt;It sounds to me like the &lt;code&gt;PublishEmptyItems&lt;/code&gt; setting that was added in v7.2. By default that is set to false. What this means is if you have an item in your content tree that does not have an active version – even if there are children items under it and you have “Publish Subitems” selected, not only will it not publish that item, it will actually remove it and the children in your target database if it was previously there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That part is apparently is by design. In previous versions, this wasn’t a choice and it would always publish empty items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The actual bug is if you publish one or more empty items of a given language and no items actually get published, it will remove the respective language from /sitecore/System/Languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To work around it, turn the setting on:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Publishing.PublishEmptyItems&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;src: &lt;a href=&quot;http://maxslabyak.com/sitecore/3-new-sitecore-v7-2-bugs-need-know-go-live/&quot; rel=&quot;nofollow&quot;&gt;3 New Sitecore v7.2 Bugs You Need To Know About Before Go-Live&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-06T16:08:56.460" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="799" PostTypeId="1" AcceptedAnswerId="2221" CreationDate="2016-10-06T16:15:00.277" Score="20" ViewCount="1164" Body="&lt;p&gt;We currently have a site that uses some simple personalization based on some &quot;if/then&quot; conditions.  For instance, we have one component that is personalized based on date.  Another is based on whether the contact is anonymous.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I've heard there are other ways to personalize based on browsing behavior...  So, if a user is browsing one category of products, for instance, we can show them some content based on that product category...  My google-foo has been failing me, so can someone point me in the right direction where I can start setting up this type of behavior-driven personalization?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Over the last few months, we've gone through exercises of defining personas, I'm just not exactly sure how to start leveraging that information in Sitecore yet.&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2017-05-20T14:42:42.637" Title="Behavioral personalization?" Tags="|personalization|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="800" PostTypeId="2" ParentId="754" CreationDate="2016-10-06T16:39:13.593" Score="11" Body="&lt;p&gt;My particular issue was certainly unique, but may help someone in the future. We had mistakenly added three database entries on the server when only two exist:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;web&lt;/li&gt;&#xA;&lt;li&gt;web-preview&lt;/li&gt;&#xA;&lt;li&gt;web-delivery&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;web&lt;/em&gt; entry used the same connection string as the &lt;em&gt;web-preview&lt;/em&gt; element.  There were only two database targets defined- web-delivery and web-preview.  Nonetheless, somehow the duplication confused a portion of the publishing process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I removed all traces of &lt;em&gt;web&lt;/em&gt; from the configs on the authoring server and it is now performing as expected.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2016-10-09T01:45:22.823" LastActivityDate="2016-10-09T01:45:22.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="801" PostTypeId="1" CreationDate="2016-10-06T16:53:50.250" Score="2" ViewCount="869" Body="&lt;p&gt;I am trying to output an image in the following code. But, I am not sure of the syntax in the View. I can type &lt;code&gt;@item.ImageLarge&lt;/code&gt; and some intellisense pops up, but it is not clear how to get the image to display.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@foreach (var item in Model.RotatorContentItems)&#xA;{&#xA;    &amp;lt;h2&amp;gt;@item.SubTitle.Text&amp;lt;/h2&amp;gt;&#xA;    @item.Title.Text&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;    var myViewModel = new MyViewModel();&#xA;    myViewModel.RotatorContentItems = dataSource.Children.Select(c =&amp;gt; new RotatorContentItem(c)).ToList();&#xA;    return View(myViewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Model:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyViewModel&#xA;{&#xA;    public List&amp;lt;RotatorContentItem&amp;gt; RotatorContentItems { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Custom Item:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public partial class RotatorContentItem : CustomItem&#xA;{&#xA;&#xA;public static readonly string TemplateId = &quot;{E493DF4A-E97E-49B5-BF9F-F70397EA8D21}&quot;;&#xA;&#xA;&#xA;#region Boilerplate CustomItem Code&#xA;&#xA;public RotatorContentItem(Item innerItem) : base(innerItem)&#xA;{&#xA;&#xA;}&#xA;&#xA;public static implicit operator RotatorContentItem(Item innerItem)&#xA;{&#xA;    return innerItem != null ? new RotatorContentItem(innerItem) : null;&#xA;}&#xA;&#xA;public static implicit operator Item(RotatorContentItem customItem)&#xA;{&#xA;    return customItem != null ? customItem.InnerItem : null;&#xA;}&#xA;&#xA;#endregion //Boilerplate CustomItem Code&#xA;&#xA;&#xA;#region Field Instance Methods&#xA;&#xA;&#xA;public CustomTextField Title&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomTextField(InnerItem, InnerItem.Fields[&quot;Title&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomTextField SubTitle&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomTextField(InnerItem, InnerItem.Fields[&quot;Sub Title&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomImageField ImageLarge&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomImageField(InnerItem, InnerItem.Fields[&quot;Image Large&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomImageField ImageSmall&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomImageField(InnerItem, InnerItem.Fields[&quot;Image Small&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomGeneralLinkField Link&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomGeneralLinkField(InnerItem, InnerItem.Fields[&quot;Link&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomCheckboxField IsOverlayBlack&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomCheckboxField(InnerItem, InnerItem.Fields[&quot;Is Overlay Black&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;#endregion //Field Instance Methods&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="10" LastEditDate="2016-10-06T17:03:43.800" LastActivityDate="2016-10-06T17:16:17.813" Title="Sitecore MVC - Controller Rendering - Output Image" Tags="|mvc|custom-item-generator|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="803" PostTypeId="2" ParentId="801" CreationDate="2016-10-06T17:02:44.577" Score="3" Body="&lt;p&gt;The &lt;code&gt;CustomImageField&lt;/code&gt; properties (&lt;code&gt;ImageLarge&lt;/code&gt; and &lt;code&gt;ImageSmall&lt;/code&gt;) have a &lt;code&gt;MediaUrl&lt;/code&gt; property that you can drop into the &lt;code&gt;src&lt;/code&gt; attribute of an &lt;code&gt;&amp;lt;img /&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@foreach (var item in Model.RotatorContentItems)&#xA;{&#xA;    &amp;lt;img src=&quot;@item.ImageLarge.MediaUrl&quot; /&amp;gt;&#xA;    &amp;lt;h2&amp;gt;@item.SubTitle.Text&amp;lt;/h2&amp;gt;&#xA;    @item.Title.Text&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="10" LastActivityDate="2016-10-06T17:02:44.577" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="804" PostTypeId="2" ParentId="801" CreationDate="2016-10-06T17:05:20.877" Score="7" Body="&lt;p&gt;There are a couple ways you can do this. In the Custom Item Generator, each field has a .Rendered property you can reference which just runs the field renderer on that field. Use this if you want to run the Sitecore rendering pipeline for that field.&#xA;&lt;a href=&quot;https://github.com/Velir/Custom-Item-Generator/blob/master/Fields/BaseCustomField.cs&quot;&gt;https://github.com/Velir/Custom-Item-Generator/blob/master/Fields/BaseCustomField.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So for your example,&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@foreach (var item in Model.RotatorContentItems)&#xA;{&#xA;    &amp;lt;h2&amp;gt;@item.SubTitle.Text&amp;lt;/h2&amp;gt;&#xA;    @item.Title.Text&#xA;    @Html.Raw(item.ImageLarge.Rendered)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using this approach will make the image editable in Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternately, you could just reference the url of the image and do this.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@foreach (var item in Model.RotatorContentItems)&#xA;{&#xA;    &amp;lt;h2&amp;gt;@item.SubTitle.Text&amp;lt;/h2&amp;gt;&#xA;    @item.Title.Text&#xA;    &amp;lt;img src=&quot;@item.ImageLarge.MediaUrl&quot; /&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Velir/Custom-Item-Generator/blob/master/Fields/SimpleTypes/CustomImageField.cs&quot;&gt;https://github.com/Velir/Custom-Item-Generator/blob/master/Fields/SimpleTypes/CustomImageField.cs&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="499" LastEditDate="2016-10-06T17:16:17.813" LastActivityDate="2016-10-06T17:16:17.813" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="808" PostTypeId="1" AcceptedAnswerId="826" CreationDate="2016-10-06T17:14:35.333" Score="12" ViewCount="453" Body="&lt;p&gt;This may be a vague question or too broad for Stack Exchange, but I will try it anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are doing an upgrade from v7.5 to v8.1-3. We are using a hosted instance of Mongo called ObjectRocket from Rackspace.  My basic plan for doing the upgrade is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a second web site on the CM and CD server using a separate IP address.&lt;/li&gt;&#xA;&lt;li&gt;Install fresh copies of v7.5 on the second web sites.&lt;/li&gt;&#xA;&lt;li&gt;Backup and restore the current production Sitecore SQL Server databases with new names and modify the fresh installs of Sitecore to point to these database copies.&lt;/li&gt;&#xA;&lt;li&gt;Perform the upgrade to go from 7.5 to 8.1-3 on these second sites.&lt;/li&gt;&#xA;&lt;li&gt;Deploy all of our custom code on to the servers.&lt;/li&gt;&#xA;&lt;li&gt;Switch over IIS to use these second sites.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That's the rough set of steps. My real question is how does Mongo/xDB fit in to all of this?  I guess I don't have a clear understanding of what data is in xDB in v7.5 and how exactly I should handle that during an upgrade given my above approach.  Do I have to make copies of my xDB databases and create a second set of Mongo databases?  Can I just hook up my second sites to the same Mongo databases during the upgrade process?  My only understanding of xDB is a vague idea that it holds large amounts of &quot;analytics&quot; data that is eventually transferred to the analytics SQL Server database.  I'm just wondering if I am missing something that I need to be doing for this upgrade with Mongo/xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Corey&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="104" LastEditDate="2016-10-12T11:07:57.970" LastActivityDate="2016-10-12T11:07:57.970" Title="How to handle xDB during a Sitecore upgrade?" Tags="|xdb|upgrade|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="809" PostTypeId="1" AcceptedAnswerId="1348" CreationDate="2016-10-06T17:18:06.667" Score="17" ViewCount="1958" Body="&lt;p&gt;On our Sitecore 8.1 Update-2 site we have configured two languages:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;English&lt;/li&gt;&#xA;&lt;li&gt;German (which should fallback to English)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So we have configured language fallback and it works as it should. We have also configured the &lt;code&gt;sitecore_master_index&lt;/code&gt; to enable language fallback as described &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/language_fallback/setting_up/configure_language_fallback&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If my item only has 1 version in English and I rebuild the whole index, I see this item now twice in the search index (one item in English and one Item in German) with exactly the same content. This is exactly what I expect it to be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Today I have updated to Sitecore 8.1 Update-3 (due to a bug with public reference number 109119, see &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/Sitecore%2081/Sitecore%20Experience%20Platform%2081%20Update3/Release%20Notes&quot;&gt;Release Notes&lt;/a&gt;). But when I now rebuild my index, I only have one item version in the index (in English). The item version which is fallbacked (German) is not added to the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did something change between Update-2 and Update-3? Or do I misunderstand how this should work? How can I be sure that both versions are in the index? The Sitecore API etc. always returns me correct versions and the fallback works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Release Notes I found the following point:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;108981: The index may have contained documents for non-existing item versions when item-level language fallback was enabled.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Has this something to do with my issue? Was is wrong as it worked before and they fixed this now?&lt;/p&gt;&#xA;" OwnerUserId="162" LastEditorUserId="162" LastEditDate="2016-10-06T17:46:23.020" LastActivityDate="2016-10-14T07:11:50.663" Title="Items with fallback language missing in Content Search index" Tags="|language-fallback|content-search|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="811" PostTypeId="2" ParentId="750" CreationDate="2016-10-06T17:35:15.477" Score="7" Body="&lt;p&gt;I also ran into this issue when I had an item in Sitecore that had the same path as the item in TDS but a different ID. Look at your Content Tree and see if something is there with the same path and then compare the IDs between the TDS item and the Sitecore item.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-10-06T17:35:15.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="812" PostTypeId="1" AcceptedAnswerId="833" CreationDate="2016-10-06T17:51:14.990" Score="6" ViewCount="838" Body="&lt;p&gt;I have varied information stored in &lt;code&gt;xDB&lt;/code&gt; imported from a CRM system. This is stored against &lt;code&gt;Contacts&lt;/code&gt; in custom &lt;code&gt;Facets&lt;/code&gt;. What is the most scalable method to use this data for segmenting large number of Contact's in the &lt;code&gt;List Manager&lt;/code&gt;? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Creating the custom segmentation rules isn't a problem it's more retrieving that getting that Contact data in a scalable way. &lt;/p&gt;&#xA;" OwnerUserId="145" LastActivityDate="2017-08-07T10:40:30.343" Title="How to use custom Contact data in Segmentation rules in the List Manager" Tags="|xdb|list-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="813" PostTypeId="1" AcceptedAnswerId="835" CreationDate="2016-10-06T18:03:00.573" Score="4" ViewCount="967" Body="&lt;p&gt;In Internal Link field, Sitecore adds rootpath like &quot;/sitecore/content&quot; as prefix if I use the &quot;Insert Link&quot; button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to remove this. Is there a way to resolve this by updating .config file? or Do I have to include another config file to call process after Sitecore.Data.Fields.InternalLinkField.UpdateLink(), if it is right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click the &quot;Insert Link&quot; button, &quot;Insert Item&quot; dialog pops up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TYVyo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TYVyo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dAmZH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dAmZH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="554" LastEditorUserId="554" LastEditDate="2016-10-06T19:39:21.580" LastActivityDate="2016-10-06T21:12:36.417" Title="Remove rootpath in Internal Link Field" Tags="|content-editor|" AnswerCount="3" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="814" PostTypeId="2" ParentId="799" CreationDate="2016-10-06T18:10:21.933" Score="12" Body="&lt;p&gt;You should start with profiling your content. All info &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/content_profiles&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; - you might want to use profile cards as this makes it easier to set the same profile on related pages (you don't want editors to randomly assign profile value).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could use pattern cards to map profile values to specific types of visitors and implement personalization rules. Visitor activity is mapped to your pattern cards in real time, allowing you to classify visitors quickly and consistently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a visitor navigates through a website, they accumulate the profile values of all the pages and resources that they request. Sitecore calculates the average score that the visitor has accumulated for each profile and maps the visitor to the pattern card that is the closest match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A visitor can only be mapped to one pattern card at a time. However, as a visitor navigates through your website, the pattern card that they are mapped to can change as they interact with different items and resources.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All credits to whoever wrote the docu &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/pattern_cards&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-06T18:10:21.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="815" PostTypeId="1" AcceptedAnswerId="825" CreationDate="2016-10-06T18:16:44.137" Score="5" ViewCount="490" Body="&lt;p&gt;Fresh install of Sitecore 8.1 update 3 with July 2016 Coveo release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rNuZD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rNuZD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Invalid JSON primitive: .  Search for information on search.coveo.com&#xA;Hide details&#xA; System.ArgumentException: Invalid JSON primitive: .&#xA;   at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject()&#xA;   at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)&#xA;   at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer)&#xA;   at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)&#xA;   at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input)&#xA;   at Coveo.Framework.Utils.JsonSerializer.DeserializeObjectFromString[T](String p_String)&#xA;   at Coveo.SearchServiceProvider.Rest.ResponseParser.ParseQueryResults(String p_JsonResponse)&#xA;   at Coveo.SearchServiceProvider.Rest.ClientSessionWrapper.ExecuteQuery(QueryParams p_QueryParams)&#xA;   at Coveo.SearchProvider.Applications.OnPremiseStateVerifier.VerifySearchService()&#xA;   at Coveo.SearchProvider.Applications.OnPremiseStateVerifier.&amp;lt;&amp;gt;c__DisplayClass14.&amp;lt;GetSearchServiceState&amp;gt;b__13()&#xA;   at Coveo.SearchProvider.Applications.BaseVerifier.VerifyComponent(Func`1 p_VerifyMethod, String p_ComponentName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="146" LastEditorUserId="10" LastEditDate="2016-10-06T18:18:16.620" LastActivityDate="2016-10-06T18:43:54.423" Title="Coveo diagnostics error: Invalid JSON primitive" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="816" PostTypeId="2" ParentId="813" CreationDate="2016-10-06T18:17:41.300" Score="1" Body="&lt;p&gt;Before you start remember that value you see in this field is the actual value of the field (this is true raw value of the field).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will have to modify then two things:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;value of the field while saving&lt;/li&gt;&#xA;&lt;li&gt;logic for resolving the field value (getting item)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create your own custom &lt;code&gt;InternalLink&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;InternalLink.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;&#xA;namespace Sitecore.Custom.CustomFields.FieldTypes&#xA;{&#xA;    public class InternalLink : Shell.Applications.ContentEditor.InternalLink&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;controlSources&amp;gt;&#xA;            &amp;lt;source patch:before=&quot;*[@namespace='Sitecore.Shell.Applications.ContentEditor']&quot; mode=&quot;on&quot; namespace=&quot;Sitecore.Custom.CustomFields.FieldTypes&quot; assembly=&quot;Sitecore.Custom&quot; prefix=&quot;content&quot;/&amp;gt;&#xA;        &amp;lt;/controlSources&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will need new implementation of:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;protected void OpenLink(ClientPipelineArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;method to handle your custom link format.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-06T18:23:49.967" LastActivityDate="2016-10-06T18:23:49.967" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="817" PostTypeId="2" ParentId="791" CreationDate="2016-10-06T18:19:02.037" Score="1" Body="&lt;p&gt;Apart from all above points, check any of below points:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Have you checked the template of the sub-items is published or not? If template is not published, surely the items won't get published.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check whether Sitecore adds these items in publishing queue or not. For that, you can enable publishing statistics inside  pipeline by doing below config change, and check logs what Sitecore does with these items - whether it adds to queue or not. Through these logs, you will be able to know the reason why items got skipped while publishing.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Publishing.Pipelines.PublishItem.UpdateStatistics, Sitecore.Kernel&quot; runIfAborted=&quot;true&quot;&amp;gt;&#xA;     &amp;lt;traceToLog&amp;gt;true&amp;lt;/traceToLog&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="255" LastActivityDate="2016-10-06T18:19:02.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="818" PostTypeId="1" AcceptedAnswerId="819" CreationDate="2016-10-06T18:24:54.517" Score="4" ViewCount="1036" Body="&lt;p&gt;When an item gets indexed, Sitecore also updates certain &quot;dependent&quot; items in the index. I would like to change this set of items, or at least add some to the list. I want to get the items in the list that Sitecore uses for indexing, to avoid starting new index jobs per extra item (as the list of extra items might get big).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And two extra questions: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;can I do this for each index separately? (I want this for my custom index, but not for all default Sitecore indexes)&lt;/li&gt;&#xA;&lt;li&gt;does it matter if I use Lucene or Solr for this?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-12T12:47:35.693" Title="How can I customize the dependencies of items when indexing?" Tags="|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="819" PostTypeId="2" ParentId="818" CreationDate="2016-10-06T18:28:15.880" Score="6" Body="&lt;p&gt;Check &lt;code&gt;indexing.getDependencies&lt;/code&gt; pipeline&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;INDEXING GET DEPENDENCIES&#xA;             This pipeline fetches dependant items when one item is being index. Useful for fetching related or connected items that also&#xA;             need to be updated in the indexes.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can add/remove entries from &lt;code&gt;Dependencies&lt;/code&gt; collection (&lt;code&gt;GetDependenciesArgs&lt;/code&gt; class)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Answers for extra questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;yes you can, you can get info about your current job calling this &lt;code&gt;Sitecore.Context.Job.Name&lt;/code&gt; (example result &lt;strong&gt;Index_Update_IndexName=sitecore_web_index&lt;/strong&gt;). From this string you can get your custom index name,&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;it doesn't matter. This is an abstraction for search providers. It mean Sitecore crawls dependent items here and passes everything at the end to the search provider.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt; (problems with job name)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I treat this as a last resort solution. Perhaps there is something else that can be done easier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add dependencies in &lt;code&gt;indexing.getDependencies&lt;/code&gt; pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To filter your items let's use document builder, where normally Sitecore does filtering. Find following types &lt;code&gt;LuceneDocumentBuilder&lt;/code&gt;and &lt;code&gt;LuceneDocumentBuilderOptions&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Options type inherits from &lt;code&gt;DocumentBuilderOptions&lt;/code&gt;.&#xA;Inside that type there is following property:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public virtual HashSet&amp;lt;string&amp;gt; ExcludedTemplates&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the most important one (which we can use for our filtering):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public virtual string IndexName { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This &lt;code&gt;ExcludedTemplates&lt;/code&gt; property is binded with values from config, example node:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultLuceneIndexConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                    &amp;lt;exclude hint=&quot;list:ExcludeTemplate&quot;&amp;gt;&#xA;                        &amp;lt;MyTemplate&amp;gt;{6BF19F1C-DA51-123F-B7D9-B49B41FD1578}&amp;lt;/MyTemplate&amp;gt;&#xA;                    &amp;lt;/exclude&amp;gt;&#xA;                &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I know this is not a solution but having that knowledge you could try to add your custom filtering somewhere there. &lt;code&gt;LuceneDocumentBuilder&lt;/code&gt;and &lt;code&gt;LuceneDocumentBuilderOptions&lt;/code&gt; types can be patched via standard Sitecore configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assumed you are using &lt;strong&gt;Lucene&lt;/strong&gt; as a serach provider. &#xA;&lt;strong&gt;Solr&lt;/strong&gt; has similar config nodes and it's own &lt;code&gt;SolrDocumentBuilder&lt;/code&gt; as well.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-07T20:35:45.587" LastActivityDate="2016-10-07T20:35:45.587" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="820" PostTypeId="1" AcceptedAnswerId="2871" CreationDate="2016-10-06T18:32:05.647" Score="8" ViewCount="530" Body="&lt;p&gt;I know that WFFM captures form dropout data to some extent and there's a Dropouts count in the out-of-the-box Form reports. Is it possible to use the data that's already captured to report on dropouts on a by-field basis?&lt;/p&gt;&#xA;" OwnerUserId="9" LastEditorUserId="104" LastEditDate="2016-10-26T07:42:52.290" LastActivityDate="2016-11-25T13:56:19.177" Title="WFFM Analytics - is it possible to report on dropouts by field?" Tags="|wffm|xdb|reporting|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="821" PostTypeId="5" CreationDate="2016-10-06T18:41:41.487" Score="0" Body="&lt;p&gt;Coveo for Sitecore is a solution allowing you to build great search pages in your Sitecore website targeted at your visitors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, Sitecore uses Lucene as its search provider, allowing authors, designers, and marketers to search for content inside the Sitecore tools. Installing Coveo for Sitecore introduces new Coveo search driven components and two new indexes to your Sitecore environment. You can use those components as building blocks to optimize the navigation of your website through search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developers.coveo.com/pages/releaseview.action?pageId=36635509&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/pages/releaseview.action?pageId=36635509&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.coveo.com/en/solutions/coveo-for-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.coveo.com/en/solutions/coveo-for-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developers.coveo.com/display/public/SitecoreV3/Setting+Up+Coveo+for+Sitecore;jsessionid=F991AA7AC5FE51469F14BA16FD8230C5&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/public/SitecoreV3/Setting+Up+Coveo+for+Sitecore;jsessionid=F991AA7AC5FE51469F14BA16FD8230C5&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T08:10:50.917" LastActivityDate="2018-02-14T08:10:50.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="822" PostTypeId="4" CreationDate="2016-10-06T18:41:41.487" Score="0" Body="All questions related to Coveo for Sitecore" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-06T20:18:18.680" LastActivityDate="2016-10-06T20:18:18.680" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="823" PostTypeId="2" ParentId="785" CreationDate="2016-10-06T18:41:44.900" Score="4" Body="&lt;p&gt;If you are not comfortable with the answers above or with SPE (which you should be), the easiest way is to open up the module zip file and go through the files and items folders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would then need to remove the files/items it adds. If there are items which are modified, you would need to be careful.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-06T18:41:44.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="824" PostTypeId="2" ParentId="766" CreationDate="2016-10-06T18:43:42.680" Score="12" Body="&lt;p&gt;You can create complex conditions consisting of multiple rules in the Marketing Control Panel under Personalization &gt; Predefined Rules (in 8.2, but similar location in earlier versions)  -  You can then treat the entire condition as a single rule where the condition is true, and apply this single rule to all applicable pages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Lh1YE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Lh1YE.png&quot; alt=&quot;Predefined Conditions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then utilize the &quot;where predefined condition is true&quot; rule condition to reuse this complex condition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Gjo15.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Gjo15.png&quot; alt=&quot;Reusing the condition - rule editor&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JY07C.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JY07C.png&quot; alt=&quot;Reusing the condition - select condition&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="221" LastEditorUserId="248" LastEditDate="2016-10-10T20:09:47.800" LastActivityDate="2016-10-10T20:09:47.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="825" PostTypeId="2" ParentId="815" CreationDate="2016-10-06T18:43:54.423" Score="8" Body="&lt;p&gt;wooot! solved my own issue. The CES certificate - cert-iis.p12 was not valid. Once I replaced this with the valid certificate, everything worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wish the error was a bit more informative.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-06T18:43:54.423" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="826" PostTypeId="2" ParentId="808" CreationDate="2016-10-06T18:52:45.200" Score="11" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;To answer your question, really, I feel it's prudent to walk through&#xA;  the deployment steps and call out where places that might be gotchas. &#xA;  I'll finish with a summary of what I would do.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 7.5 - 8.0 Initial (141212)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first step that you'll want to do is upgrade to the 8.0 Initial release. You can find the Upgrade Guide here. During this upgrade, there is not much that is changed on the xDB front, however &lt;strong&gt;Step 1.2.8 - Redeploying Marketing Data&lt;/strong&gt; is going to be taking portions of your analytics database and redeploying it to a new schema.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With regard to xDB there is not much going on here.  Also worth noting that schema changes in xDB kind of happen automatically, one of the pro's of using a schema-less data repository.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8.0 (141212) - 8.1 (151003)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second step is going to be upgrading from 8.0 to the inital release of 8.1. You can find the &lt;a href=&quot;http://file:///C:/Users/Pete/Downloads/Sitecore%208.1%20Upgrade%20Guide.pdf&quot;&gt;Upgrade Guide here&lt;/a&gt;. This is a pretty involved upgrade step, mostly doing a lot of work on the SQL side, however, really starting to augment the xDB side of the house with content testing data in xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll want to pay careful attention to &lt;strong&gt;Step 1.3.3 - Upgrading Content Testing Data&lt;/strong&gt; which has direct impacts on xDB and xDB configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8.1 Initial (151003) - 8.1-Update 3 (160519)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The third upgrade step is going from 8.1 Initial to 8.1 Update 3, again you can find the &lt;a href=&quot;http://file:///C:/Users/Pete/Downloads/Sitecore-8.1-Update-3-Upgrade-Guide%20(1).pdf&quot;&gt;Upgrade Guide here&lt;/a&gt;. In this particular upgrade, &lt;strong&gt;there are no&lt;/strong&gt; specific xDB upgrade steps, short of making sure that you disable xDB in the config while the upgrade package is running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How I would do it&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1)&lt;/strong&gt; I would look into making a copy of your Mongo collections. To do this, as long as you are using MongoDB 2.1+, you can copy a collection using the following syntax in a tool, like &lt;a href=&quot;https://robomongo.org/&quot;&gt;Robomongo&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;db.example1.copyTo(&quot;example2&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example, the collection I want to copy is &lt;strong&gt;example1&lt;/strong&gt; and this will copy it to a new collection called &lt;strong&gt;example2&lt;/strong&gt;.  You'll want to do this for all of the mongo collections:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;analytics&lt;/li&gt;&#xA;&lt;li&gt;tracking_contact &lt;/li&gt;&#xA;&lt;li&gt;tracking_history &lt;/li&gt;&#xA;&lt;li&gt;tracking_live&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2)&lt;/strong&gt; I would then setup your second 7.5 site (upgrade environment) that you'll be using as your upgrade site and point the connection strings for mongo to the new collections.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3)&lt;/strong&gt; Perform all of your upgrade steps in your upgrade environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;4)&lt;/strong&gt; Adjust/refactor your custom code base as needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in a perfect world, you would think that switching over IIS to the new site would work, and maybe in your case, the rate of change in your production content is minimal enough that this work.  If that's the case, the I think that's all you need to do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However... if the rate of change is high, you may be looking at having to upgrade the Content Management environment in PRODUCTION again. Only this time, you know what to expect, you've done it once before in the upgrade environment, and now it's just a matter of doing the work. This will also include any changes to production xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At that point, use your standard deployment methodology to move code bits to the CD servers and any other role servers you might have deployed. And your off to the races.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SUMMARY&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You really don't have to worry too much about xDB. I think the Content Testing changes are the only point that you'll want to pay attention to. The rest of the upgrade, for the most part, has xDB disabled.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-06T18:52:45.200" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="827" PostTypeId="2" ParentId="580" CreationDate="2016-10-06T19:06:05.470" Score="0" Body="&lt;p&gt;It looks like a new release just got pushed out there by Stephen Pope. Worth a look to see if it resolves your issue. &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Accelerator/11/Sitecore%20Experience%20Accelerator%2011%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Accelerator/11/Sitecore%20Experience%20Accelerator%2011%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="512" LastActivityDate="2016-10-06T19:06:05.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="828" PostTypeId="1" AcceptedAnswerId="829" CreationDate="2016-10-06T19:12:21.803" Score="6" ViewCount="103" Body="&lt;p&gt;Coveo adds a rule for insert options to add a new layout or MVC layout whenever you use Insert Item anywhere on the site. This is a little much for end-users, especially where I'm creating custom insert buttons in the experience editor for them and I don't want them creating these layouts. I looked in system/settings/rules but didn't see anything related. What's the best way to eliminate these? Thanks.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-10-02T14:05:15.240" Title="Removing Coveo insert options" Tags="|coveo|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="829" PostTypeId="2" ParentId="828" CreationDate="2016-10-06T19:15:14.117" Score="8" Body="&lt;p&gt;The insert option is actually defined by a pipeline processor in &lt;code&gt;Coveo.UI.Controls.config&lt;/code&gt;. You can remove it using the following config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processors&amp;gt;&#xA;  &amp;lt;uiGetMasters&amp;gt;&#xA;    &amp;lt;processor type=&quot;Coveo.UI.PipelineProcessors.GetMasters.AllowSearchPageProcessor, Coveo.UIBase&quot;&amp;gt;&#xA;      &amp;lt;patch:delete /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/uiGetMasters&amp;gt;&#xA;&amp;lt;/processors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more about this pipeline in this article about &lt;a href=&quot;https://developers.coveo.com/x/wADnAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;Understanding the Coveo UI Pipelines&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="264" LastEditDate="2017-10-02T14:05:15.240" LastActivityDate="2017-10-02T14:05:15.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="830" PostTypeId="2" ParentId="828" CreationDate="2016-10-06T19:16:28.987" Score="4" Body="&lt;p&gt;Coveo add those items to be easy for developers to play and discover Coveo for Sitecore. We do not add them through rules as upgrading Coveo for Sitecore would re-install the insert options. Instead we are using the &lt;code&gt;uiGetMasters&lt;/code&gt; Sitecore processor in the &lt;code&gt;Coveo.UI.Controls.config&lt;/code&gt; file. The exact node location is &lt;code&gt;/configuration/sitecore/processors/uiGetMasters&lt;/code&gt; and the processor is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor patch:before=&quot;*[starts-with(@type,'Sitecore.Pipelines.GetMasters.CheckSecurity')]&quot; mode=&quot;on&quot; type=&quot;Coveo.UI.PipelineProcessors.GetMasters.AllowSearchPageProcessor, Coveo.UIBase&quot;&amp;gt;&#xA;  &amp;lt;AllowSearchPageRootPath&amp;gt;/sitecore/Content&amp;lt;/AllowSearchPageRootPath&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do not comment or remove it from that file as it will be replaced when you will upgrade Coveo for Sitecore. Instead, create a patch file to patch delete the node in your final Sitecore configuration.&lt;/p&gt;&#xA;" OwnerUserId="171" LastEditorUserId="262" LastEditDate="2016-10-06T19:21:58.110" LastActivityDate="2016-10-06T19:21:58.110" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="831" PostTypeId="2" ParentId="258" CreationDate="2016-10-06T19:21:42.723" Score="7" Body="&lt;p&gt;In the past, I have recommended a data provider while working with a healthcare client. They had a member database that contained HIPAA (Health Insurance Portability and Accountability Act) protected data that was not suitable for storing in Sitecore, however, was the source of truth for pieces of information that needed to be accessed within the confines of their Sitecore implementation.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a little background, health insurance company that was building a member portal using Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recommendation was to use a data provider to access the information that we needed without having to do a bulky import process as well as make sure that we weren't bringing over data protected by HIPAA, while at the same time, having reliance that the data coming over was synced and always up-to-date, without having to build automatic task jobs, etc.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;As a rule of thumb, I generally tell prospective clients, that&#xA;  Sitecore is a marketing platform, not a database for sensitive&#xA;  information.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;End result was a great application of the data provider, and met the needs of the client.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-06T19:21:42.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="832" PostTypeId="2" ParentId="258" CreationDate="2016-10-06T19:23:54.177" Score="3" Body="&lt;p&gt;If you have data in a back-end system that has network access limitations, using a Data Provider allows Sitecore to publish the data as Items, sparing you the need to worry about VPNs or latency when accessing that data from a Content Delivery server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not the only path you can take, and there are many caveats, but for front-end performance, it's occasionally useful.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2016-10-06T19:23:54.177" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="833" PostTypeId="2" ParentId="812" CreationDate="2016-10-06T19:34:51.260" Score="4" Body="&lt;p&gt;Sitecore 8.1 update 3 brought a change that allows custom &lt;code&gt;Contact&lt;/code&gt; Data to be indexed. This means this Custom Contact data will be available to searched through the &lt;code&gt;sitecore_analytics_index&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is implemented through a custom &lt;code&gt;processor&lt;/code&gt; that extends the new &lt;code&gt;contactindexable.loadfields&lt;/code&gt; &lt;code&gt;pipeline&lt;/code&gt;. This allows data from custom xDB facets to be added to the collection of contact indexable fields.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected override IEnumerable&amp;lt;IIndexableDataField&amp;gt; GetFields(ContactIndexableLoadFieldsPipelineArgs args)&#xA;{&#xA;  var fields = new List&amp;lt;IIndexableDataField&amp;gt;();&#xA;  var customFacet = args.Contact.GetFacet&amp;lt;ICustomContactFacet&amp;gt;(&quot;CustomContactFacetName&quot;);&#xA;  if (customFacet != null)&#xA;  {&#xA;    fields.Add(new IndexableDataField&amp;lt;bool&amp;gt;(&quot;contact.CustomFieldName&quot;, customFacet.CustomField));&#xA;  }&#xA;  return fields;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have since written a detailed &lt;a href=&quot;https://jonathanrobbins.co.uk/2017/01/03/index-custom-xdb-facets-to-segment-contacts-in-sitecore-list-manager/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post on how to do this&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="145" LastEditorUserId="145" LastEditDate="2017-08-07T10:40:30.343" LastActivityDate="2017-08-07T10:40:30.343" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="834" PostTypeId="1" AcceptedAnswerId="838" CreationDate="2016-10-06T19:35:15.397" Score="6" ViewCount="2315" Body="&lt;p&gt;I've encountered an issue on Sitecore 8.1 when installing Sitecore PowerShell Extensions. The same issue is happening for other larger packages as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a vanilla installation. No instance of Mongo Db running.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Adjusted the question to reflect to proper version of Sitecore. Turns out it was 8.1 and not 8.0.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-10-06T20:25:39.787" LastActivityDate="2018-04-10T14:38:20.680" Title="Package installation hangs on Sitecore 8.1" Tags="|installation|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="835" PostTypeId="2" ParentId="813" CreationDate="2016-10-06T19:42:02.350" Score="4" Body="&lt;p&gt;Internal Link is a &lt;em&gt;System&lt;/em&gt; field type. Unless you're creating new Sitecore features, I'd recommend you switch to one of the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;*&lt;code&gt;Generallink&lt;/code&gt; Use this if your users can select both Sitecore Items and external URLs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;*&lt;code&gt;Droplink&lt;/code&gt; Use this if you want to force the user to select a Sitecore Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These field types can be found under the &quot;Linking&quot; group when you define the Field on the Data Template.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2016-10-06T19:42:02.350" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="836" PostTypeId="1" AcceptedAnswerId="923" CreationDate="2016-10-06T19:50:23.100" Score="10" ViewCount="1760" Body="&lt;p&gt;I have a custom &lt;code&gt;item:saving&lt;/code&gt; event handler which contains some specific logic when a user user makes a change to an item. This works fine but when we create a content package from a different environment and then install it on another environment the &lt;code&gt;item:saved&lt;/code&gt; and &lt;code&gt;item:saving&lt;/code&gt; events are fired during the package installation. We only want the code to run when the save actions are done by the user and not during package install time, since in theory those actions were already carried out on the server we are packaging from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are already checking if the Items are being Published, since that causes as similar &lt;code&gt;item:saving&lt;/code&gt; event to be raised.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected void OnItemSaving(object sender, EventArgs args)&#xA;{&#xA;    Assert.ArgumentNotNull(sender, &quot;sender&quot;);&#xA;    Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;    if (PublishHelper.IsPublishing())&#xA;        return;&#xA;    Item obj = Event.ExtractParameter(args, 0) as Item;&#xA;    if (obj == null)&#xA;        return;&#xA;    this.DoCustomLogic(obj);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a similar helper or how can I check if this save event is raised as a result of a package being installed?&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="73" LastEditDate="2016-10-06T22:56:49.967" LastActivityDate="2016-10-07T15:55:30.403" Title="Detecting when an item being saved is during package installation" Tags="|events|packages|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="838" PostTypeId="2" ParentId="834" CreationDate="2016-10-06T20:00:02.443" Score="10" Body="&lt;p&gt;Refer to the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/troubleshooting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/troubleshooting.html&lt;/a&gt; (edited)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/296641&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/296641&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use this patch config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA; &amp;lt;sitecore&amp;gt;&#xA;   &amp;lt;settings&amp;gt;&#xA;     &amp;lt;setting name=&quot;Xdb.Enabled&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;false&quot; /&amp;gt;&#xA;     &amp;lt;/setting&amp;gt;&#xA;     &amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot;&amp;gt;&#xA;       &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;false&quot; /&amp;gt;&#xA;     &amp;lt;/setting&amp;gt;&#xA;   &amp;lt;/settings&amp;gt;&#xA; &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="146" LastEditorUserId="10" LastEditDate="2016-11-04T17:06:42.433" LastActivityDate="2016-11-04T17:06:42.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="839" PostTypeId="2" ParentId="258" CreationDate="2016-10-06T20:00:06.227" Score="6" Body="&lt;p&gt;I have used Data Providers for PIMs, employee/personell/staff/etc. directories, and also for large quantities of data points coming from a source that is managed in another system but referenced by Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a few really great features of Data Providers that I haven't seen anyone else mention yet: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can easily tie the &quot;items&quot; that they &quot;provide&quot; into the built in Content Search. &lt;/li&gt;&#xA;&lt;li&gt;Data Providers can be used to add publishing support for content coming from a third-party system&lt;/li&gt;&#xA;&lt;li&gt;You can make Sitecore templates for the &quot;provided items&quot;, you can use templates stored by the Data Provider, itself, or you can generate dynamic templates to match the data&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Key Things to Remember:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;em&gt;Items coming in from a Data Provider are not real items&lt;/em&gt;&lt;/strong&gt;, but they are made to &lt;em&gt;look like items&lt;/em&gt; and can be &lt;em&gt;referenced like items&lt;/em&gt;. &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;em&gt;A given piece of content should only ever be editable in one location&lt;/em&gt;&lt;/strong&gt;. If you have a Data Provider that is pulling in content from another system where said content is authored (CMS, PIM, CRM, etc.), &lt;em&gt;do not add two-way authoring support&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;em&gt;A Data providers can be implemented with multi-lingual support (leveraging OOTB Sitecore multilingual support)&lt;/em&gt;&lt;/strong&gt;, but this means that your data store must support this, as well.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-10-06T20:26:07.500" LastActivityDate="2016-10-06T20:26:07.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="840" PostTypeId="1" AcceptedAnswerId="844" CreationDate="2016-10-06T20:00:24.813" Score="3" ViewCount="1656" Body="&lt;p&gt;I am not able to make changes to the text in the simple text fields using the Experience Editor. Is there some way to modify my code to make it work with the Experience Editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@model MyCompanyBootstrap.Models.HomePageViewModel&#xA;&#xA;&amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;page-title&quot;&amp;gt;&#xA;        &amp;lt;h1&amp;gt;@Html.Raw(Model.SampleItem.Title.Raw)&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;div class=&quot;generic-content&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;body-content hidden-xs&quot;&amp;gt;&#xA;            &amp;lt;p&amp;gt;&#xA;                @Html.Raw(Model.SampleItem.Text.Raw)&#xA;                &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;            &amp;lt;/p&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div class=&quot;body-content-small visible-xs&quot;&amp;gt;&#xA;            &amp;lt;p&amp;gt;&#xA;                @Html.Raw(Model.SampleItem.Text.Raw)&#xA;                &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;            &amp;lt;/p&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Context.Database.GetItem(dataSourceId);&#xA;    var homePageViewModel = new HomePageViewModel();&#xA;    homePageViewModel.RotatorContentItems = dataSource.Children.Select(c =&amp;gt; new RotatorContentItem(c)).ToList();&#xA;    homePageViewModel.SampleItem = RenderingContext.CurrentOrNull.PageContext.Item;&#xA;    return View(homePageViewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Model&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class HomePageViewModel&#xA;{&#xA;    public List&amp;lt;RotatorContentItem&amp;gt; RotatorContentItems { get; set; }&#xA;    public SampleItem SampleItem { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sample Item&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public partial class SampleItem : CustomItem&#xA;{&#xA;&#xA;public static readonly string TemplateId = &quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&quot;;&#xA;&#xA;&#xA;#region Boilerplate CustomItem Code&#xA;&#xA;public SampleItem(Item innerItem) : base(innerItem)&#xA;{&#xA;&#xA;}&#xA;&#xA;public static implicit operator SampleItem(Item innerItem)&#xA;{&#xA;    return innerItem != null ? new SampleItem(innerItem) : null;&#xA;}&#xA;&#xA;public static implicit operator Item(SampleItem customItem)&#xA;{&#xA;    return customItem != null ? customItem.InnerItem : null;&#xA;}&#xA;&#xA;#endregion //Boilerplate CustomItem Code&#xA;&#xA;&#xA;#region Field Instance Methods&#xA;&#xA;&#xA;public CustomTextField Title&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomTextField(InnerItem, InnerItem.Fields[&quot;Title&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomTextField Text&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomTextField(InnerItem, InnerItem.Fields[&quot;Text&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;#endregion //Field Instance Methods&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;RotatorContentItem&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public partial class RotatorContentItem : CustomItem&#xA;{&#xA;&#xA;public static readonly string TemplateId = &quot;{E493DF4A-E97E-49B5-BF9F-F70397EA8D21}&quot;;&#xA;&#xA;&#xA;#region Boilerplate CustomItem Code&#xA;&#xA;public RotatorContentItem(Item innerItem) : base(innerItem)&#xA;{&#xA;&#xA;}&#xA;&#xA;public static implicit operator RotatorContentItem(Item innerItem)&#xA;{&#xA;    return innerItem != null ? new RotatorContentItem(innerItem) : null;&#xA;}&#xA;&#xA;public static implicit operator Item(RotatorContentItem customItem)&#xA;{&#xA;    return customItem != null ? customItem.InnerItem : null;&#xA;}&#xA;&#xA;#endregion //Boilerplate CustomItem Code&#xA;&#xA;&#xA;#region Field Instance Methods&#xA;&#xA;&#xA;public CustomTextField Title&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomTextField(InnerItem, InnerItem.Fields[&quot;Title&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomTextField SubTitle&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomTextField(InnerItem, InnerItem.Fields[&quot;Sub Title&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomImageField ImageLarge&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomImageField(InnerItem, InnerItem.Fields[&quot;Image Large&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomImageField ImageSmall&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomImageField(InnerItem, InnerItem.Fields[&quot;Image Small&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomGeneralLinkField Link&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomGeneralLinkField(InnerItem, InnerItem.Fields[&quot;Link&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;public CustomCheckboxField IsOverlayBlack&#xA;{&#xA;    get&#xA;    {&#xA;        return new CustomCheckboxField(InnerItem, InnerItem.Fields[&quot;Is Overlay Black&quot;]);&#xA;    }&#xA;}&#xA;&#xA;&#xA;#endregion //Field Instance Methods&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="10" LastEditDate="2016-10-06T20:03:50.750" LastActivityDate="2016-10-06T20:17:49.243" Title="Sitecore MVC - Controller Rendering - Experience Editing" Tags="|experience-editor|mvc|custom-item-generator|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="841" PostTypeId="2" ParentId="836" CreationDate="2016-10-06T20:07:20.217" Score="4" Body="&lt;p&gt;You can achieve this with &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Context.Job.Name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;During installation it will return: &quot;&lt;strong&gt;Install&lt;/strong&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During normal item saving action &lt;code&gt;Sitecore.Context.Job&lt;/code&gt;property will be &lt;strong&gt;null&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-06T20:07:20.217" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="842" PostTypeId="2" ParentId="836" CreationDate="2016-10-06T20:16:18.533" Score="0" Body="&lt;p&gt;This could be a use case and candidate for creating a custom Disabler. Details on creating a custom disabler can be found in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/528/how-can-i-write-my-own-custom-disabler&quot;&gt;Zach Kniebel Question/Answer&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially, I would write an event handler for the &lt;code&gt;packageinstall:items:starting&lt;/code&gt; event that activates the custom disabler that you create, and then another custom event handler that disables it in the &lt;code&gt;packageinstall:items:ended&lt;/code&gt; event handler.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, in your &lt;code&gt;item:saved&lt;/code&gt; event handlers, do a check to see if the custom disabler is active or not. The linked question, has examples on that implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also good to note, that when the Package Installer is running, the first thing that is fired is the &lt;code&gt;packageinstall:starting&lt;/code&gt; event.  This calls the &lt;code&gt;OnPackageInstallStartingHandler&lt;/code&gt; method from the &lt;code&gt;PackagingEventHandler&lt;/code&gt;.  You'll note in the snippet below, as well, that &lt;strong&gt;IndexCustodian&lt;/strong&gt; (a static class that manages indexing on a global level) is called to StopIndexing().&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace Sitecore.ContentSearch.Events&#xA;{&#xA;  public sealed class PackagingEventHandler&#xA;  {&#xA;    public void OnPackageInstallStartingHandler(object sender, EventArgs e)&#xA;    {&#xA;      CrawlingLog.Log.Warn(&quot;Stopping indexing while package is being installed.&quot;, (Exception) null);&#xA;      IndexCustodian.StopIndexing();&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This means that even if the package install fails, Sitecore is smart enough to know that it has to fire the &lt;code&gt;packageinstall:ended&lt;/code&gt; event (which resumes indexing operations).&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-07T13:49:47.180" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="844" PostTypeId="2" ParentId="840" CreationDate="2016-10-06T20:17:49.243" Score="8" Body="&lt;p&gt;Yes - you are using the Raw Value when you do &lt;code&gt;@Html.Raw(Model.SampleItem.Text.Raw)&lt;/code&gt; - this bypasses the field renderer and so will not be editable in the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of &lt;code&gt;.Raw&lt;/code&gt; use &lt;code&gt;.Rendered&lt;/code&gt; - this will render the field using Sitecore's Field Renderer and add the page editable parts.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Html.Raw(Model.SampleItem.Text.Rendered)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-06T20:17:49.243" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="845" PostTypeId="2" ParentId="834" CreationDate="2016-10-06T20:23:02.770" Score="4" Body="&lt;p&gt;Turns out there is quite a bit to consider with this one. Disabling the Analytics and Xdb are two separate tasks that need to be performed depending on the version of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I ended up creating a new patch.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore 8.1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Company.Xdb.Config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Enabled&quot;&amp;gt;&#xA;         &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;!-- Only disable tracking if you don't need it. Leave enabled if you want to personalize within the session. --&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Sitecore 8.0&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Company.Analytics.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Analytics.Enabled&quot; set:value=&quot;false&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other useful links to provide details.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Stack Exchange&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/4767/is-it-possible-to-use-any-personalisation-rules-without-xdb/4769#4769&quot;&gt;Personalisation rules without xDB&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/342/how-can-i-disable-xdb/357#357&quot;&gt;Disable xDB&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;StackOverflow&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/29105370/disable-analytics-in-sitecore-8&quot;&gt;SO - Disable Analytics in Sitecore 8&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore KB&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/296641&quot; rel=&quot;nofollow noreferrer&quot;&gt;Disabling Analytics&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/experience_management/configuring/configure_experience_management&quot; rel=&quot;nofollow noreferrer&quot;&gt;Disabling Xdb&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/configuring/disabling_xdb_and_the_xdb_tracker&quot; rel=&quot;nofollow noreferrer&quot;&gt;Disabling xDB and Tracker&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/troubleshooting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Hanging Installation Wizard with SPE&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-04-10T14:38:20.680" LastActivityDate="2018-04-10T14:38:20.680" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="846" PostTypeId="1" AcceptedAnswerId="857" CreationDate="2016-10-06T20:32:50.027" Score="11" ViewCount="721" Body="&lt;p&gt;I'm starting work on a new site (8.x), and I'd like to be able to eliminate downtime if possible during production deployments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are my options for keeping my Content Delivery environment online during deployments?  Code can often rely on content, so I typically end up with a delay while I wait for content to publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assume a separate CM server and two CD servers behind a load balancer.  I've mostly used TDS, but am looking at Unicorn this time around as well (In case that's important to the solution).  I'm hosting on Azure - but I'm looking for Sitecore specific details.&lt;/p&gt;&#xA;" OwnerUserId="421" LastEditorUserId="423" LastEditDate="2017-08-07T19:52:05.457" LastActivityDate="2017-10-25T03:16:11.187" Title="How do I keep my production site online when doing deployments?" Tags="|deployment|scaling|solution-architecture|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="847" PostTypeId="2" ParentId="846" CreationDate="2016-10-06T20:35:13.873" Score="3" Body="&lt;p&gt;If you have two &lt;strong&gt;CD&lt;/strong&gt; servers behind LB, you can &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;switch OFF &lt;strong&gt;1st CD&lt;/strong&gt;, &lt;/li&gt;&#xA;&lt;li&gt;clone databases and update content&lt;/li&gt;&#xA;&lt;li&gt;change connection strings on &lt;strong&gt;1st CD&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;update code of &lt;strong&gt;1st CD&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;switch ON &lt;strong&gt;1st CD&lt;/strong&gt;, &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Later you can repeat that procedure for &lt;strong&gt;2nd CD&lt;/strong&gt; (skip step with databases, you will just switch connections strings as you already have dbs with new contnent used by &lt;strong&gt;1st CD&lt;/strong&gt;)&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-06T20:41:25.217" LastActivityDate="2016-10-06T20:41:25.217" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="848" PostTypeId="2" ParentId="846" CreationDate="2016-10-06T20:35:46.417" Score="9" Body="&lt;p&gt;I would highly recommend that you watch the following presentation by Mike Edwards:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=MLMHMkjMZ1w&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;Sitecore Nirvana - Continuous Deployment&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's about two sets of databases being replicated. It all comes down to process at the end. You can definitely work through and come up with a process which works for you and your environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During deployments you would pause the replication, until the new deployment with code and content is verified.&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="104" LastEditDate="2016-10-17T15:11:23.837" LastActivityDate="2016-10-17T15:11:23.837" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="849" PostTypeId="2" ParentId="641" CreationDate="2016-10-06T21:00:28.060" Score="2" Body="&lt;p&gt;In addition to @DmytroSchevchenko's answer, I want to provide a little extra insight into the code required to actually implement this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Dmytro mentioned, profile values are not supposed to be negative, and in fact the OOTB &lt;code&gt;Profile&lt;/code&gt; class' &lt;code&gt;Score()&lt;/code&gt; method checks to make sure that each score value is &lt;code&gt;&amp;gt;= 0.0&lt;/code&gt; and will only apply the score if it is. As such, a new class will need to be created to extend the &lt;code&gt;Profile&lt;/code&gt; class and override the OOTB &lt;code&gt;Score()&lt;/code&gt; method (which is &lt;code&gt;virtual&lt;/code&gt;).   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on comments from Dmytro, I realized that rather than override the &lt;code&gt;Score&lt;/code&gt; method, I can continue following the same pattern that Sitecore took with the &lt;code&gt;Profile&lt;/code&gt; class' methods, and instead add a new &lt;code&gt;RollBackScore&lt;/code&gt; method that is &lt;code&gt;public&lt;/code&gt; and accepts an &lt;code&gt;IEnumerable&amp;lt;KeyValuePair&amp;lt;string,float&amp;gt;&amp;gt;&lt;/code&gt; as a parameter. This is because the OOTB &lt;code&gt;RollBackScore&lt;/code&gt; method that accepts the same parameter is unfortunately &lt;code&gt;private&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-10-07T16:00:01.063" LastActivityDate="2016-10-07T16:00:01.063" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="850" PostTypeId="1" CreationDate="2016-10-06T21:12:34.897" Score="7" ViewCount="183" Body="&lt;p&gt;We are running into a strange issue with a Sitecore field overlapping in only one of our Sitecore 6.6 environments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've verified that the field configuration is correct (and that the same configuration works well in other environments with the same code base).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dY9uM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dY9uM.png&quot; alt=&quot;Strange Overlapping Issue&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's a div that is insisting on maintaining a 24 pixel height for just this one multilist field.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else run into this before?&lt;/p&gt;&#xA;" OwnerUserId="372" LastEditorUserId="180" LastEditDate="2016-10-10T06:24:03.480" LastActivityDate="2016-10-10T19:39:32.960" Title="Overlapping Field Issue" Tags="|content-editor|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="851" PostTypeId="2" ParentId="813" CreationDate="2016-10-06T21:12:36.417" Score="0" Body="&lt;p&gt;I don't really suggest to implement a custom field to change this because it is too painful. I think you should change the logic where this field is used and resolve there correctly.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-10-06T21:12:36.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="852" PostTypeId="2" ParentId="629" CreationDate="2016-10-06T21:18:56.993" Score="9" Body="&lt;p&gt;The question update is your answer. That's standard behaviour of Sitecore. You should also see red squares on the right top.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/tw1q4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tw1q4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There you can see all invalid fields as squares. It is not really visible but it is there... :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.2 update 1 it is fixed and they show you the validator bar for all invalid fields.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-01-21T06:51:35.330" LastActivityDate="2017-01-21T06:51:35.330" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="853" PostTypeId="2" ParentId="785" CreationDate="2016-10-06T21:46:57.110" Score="4" Body="&lt;p&gt;There is an uninstall guide for 8.0 and 8.2 here for anyone wanting to do this with a newer version of WFFM:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/80/setting_up_and_configuring_web_forms/installing/uninstall_the_web_forms_for_marketers_module&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/80/setting_up_and_configuring_web_forms/installing/uninstall_the_web_forms_for_marketers_module&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I couldn't find equivalent documentation for WFFM 2.5 (For SC7.5) though so as ASURA says above looking in the zip for the file is the best best. The above link will give you a good idea of the process though.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-06T21:46:57.110" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="855" PostTypeId="1" CreationDate="2016-10-06T22:41:26.477" Score="7" ViewCount="863" Body="&lt;p&gt;Right now, if you click an outcome in the Sitecore Experience Profile journey timeline, the outcome details shows the time in the following format:  06.10.2016 14:49:55&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to change this to MM/dd/yyyy hh:mm:ss format?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1 Update 2 with xDB Cloud&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="842" LastEditDate="2016-10-23T23:09:46.683" LastActivityDate="2016-10-24T07:06:14.757" Title="How do you change the date format in Sitecore Experience Profile journey timeline?" Tags="|xdb|experience-profile|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="856" PostTypeId="1" AcceptedAnswerId="862" CreationDate="2016-10-06T22:45:25.650" Score="13" ViewCount="1417" Body="&lt;p&gt;Is it possible to exclude some Sitecore Items from analytics tracking?   We have a few items under sitecore/Content/Sites/MySite/Third Party/  that are consumed by our support site (which does not reside in Sitecore).   I want to exclude any items in the /Third Party/ folder from being tracked in Sitecore Analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running Sitecore 8.1 Update 2 and xDB Cloud&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="104" LastEditDate="2016-11-03T11:50:01.107" LastActivityDate="2016-11-03T11:50:01.107" Title="Is it possible to exclude some Sitecore Items from analytics tracking?" Tags="|configuration|xdb|tracking|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="857" PostTypeId="2" ParentId="846" CreationDate="2016-10-06T22:54:55.170" Score="14" Body="&lt;p&gt;We do our deployments as follows in our 8.1 environment using Team City, Octopus deploy and Unicorn (this is Simplified):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;a rewrite rule tells the load balancer to take CD1 out of the pool&lt;/li&gt;&#xA;&lt;li&gt;push the site NuGet packages to the CD and CM servers (we build this from Teamcity)&lt;/li&gt;&#xA;&lt;li&gt;deploy sitecore, the updated site code and serialised unicorn items to the CM sever&lt;/li&gt;&#xA;&lt;li&gt;deploy sitecore, the updated site code to CD1&lt;/li&gt;&#xA;&lt;li&gt;call unicorn to push the sitecore items into the master db and publish them to CD1&lt;/li&gt;&#xA;&lt;li&gt;ping a number of pages to warm up the site&lt;/li&gt;&#xA;&lt;li&gt;tell the load balancer to take CD2 out of the pool and put CD1 back in&lt;/li&gt;&#xA;&lt;li&gt;deploy sitecore and the updated site code to CD2&lt;/li&gt;&#xA;&lt;li&gt;call unicorn to publish to CD2 &lt;/li&gt;&#xA;&lt;li&gt;ping a number of pages to warm up the site&lt;/li&gt;&#xA;&lt;li&gt;tell the load balancer to put CD2 back in the pool&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;At the end of this process we have two updated CD servers and an update CM server and users should have experienced no downtime. We do however have downtime on the CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may find you don't want to sync everything you need via unicorn so you could as ASURA says put in a manual pause in Octopus to do this between steps 6 and 7 and 10 and 11.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works well for us, is easy to manage and doesn't require switching databases but might not cut it for some sites.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-06T22:54:55.170" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="858" PostTypeId="2" ParentId="856" CreationDate="2016-10-06T23:04:08.873" Score="2" Body="&lt;p&gt;If for some reason you need to do it via code, I would go with this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open &lt;code&gt;Sitecore.Analytics.Tracking.config&lt;/code&gt; and find following node&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;startAnalytics&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.StartAnalytics.CheckPreconditions, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.StartAnalytics.CreateTracker, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking, Sitecore.Analytics&quot; /&amp;gt;&#xA;  &amp;lt;/startAnalytics&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add additional processor after &lt;code&gt;CheckPreconditions&lt;/code&gt; or try to overwrite &lt;code&gt;StartTracking&lt;/code&gt; processor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is following code inside:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;  Tracker.Current.StartTracking();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Try to wrap this fragment with your custom conditions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside that method there is a fragment for checking condition from an item (&lt;code&gt;&amp;lt;tracking ignore=&quot;1&quot; /&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;private static bool IgnoreCurrentItem()&#xA;{&#xA;  Item obj = Sitecore.Context.Item;&#xA;  if (obj != null)&#xA;  {&#xA;    TrackingField trackingField = TrackingField.FindTrackingField(obj);&#xA;    if (trackingField != null)&#xA;      return trackingField.Ignore;&#xA;  }&#xA;  return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-07T05:46:10.093" LastActivityDate="2016-10-07T05:46:10.093" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="859" PostTypeId="1" AcceptedAnswerId="875" CreationDate="2016-10-06T23:09:41.027" Score="3" ViewCount="500" Body="&lt;p&gt;I'm having issues with getting my Sitecore 8.2 sandbox to index properly. I've been using SOLR, but on a whim decided to switch over to Lucene to see if I could get the indexing to work. When I went to rebuild my indexes, I noticed about 32 different indexes, where I have only about 20 when using SOLR. I just did an upgrade from my Sitecore 8.1 environment, and I didn't see any instructions for adding new SOLR indexes to my already existing indexes. Do I need to add all of these new indexes for my SOLR indexing?&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="246" LastEditDate="2016-10-06T23:43:57.020" LastActivityDate="2016-10-07T03:46:07.363" Title="Different indexes between SOLR and Lucene?" Tags="|lucene|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="861" PostTypeId="2" ParentId="754" CreationDate="2016-10-06T23:22:33.403" Score="7" Body="&lt;p&gt;Is your item under Workflow?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or more specifically, is it in a non-final Workflow State?  If so, it would not normally get published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/y33uP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/y33uP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From a dated but still valid documentation reference:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The workflow state template contains the Final checkbox. If the Final&#xA;  checkbox is selected, then any items in this state are publishable.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/workflowreference-usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;Workflow Reference&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-06T23:22:33.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="862" PostTypeId="2" ParentId="856" CreationDate="2016-10-06T23:26:31.110" Score="19" Body="&lt;p&gt;I actually just discovered the answer to my own question after more poking around.   &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Highlight the item in the Sitecore Content Explorer.   &lt;/li&gt;&#xA;&lt;li&gt;From the Analyze ribbon select the Attributes button.   &lt;/li&gt;&#xA;&lt;li&gt;In the Attributes dialog box that appears click the Settings tab.    &lt;/li&gt;&#xA;&lt;li&gt;There is a &quot;Disable analytics for this page&quot; checkbox on this tab.   Check it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="369" LastEditorUserId="95" LastEditDate="2016-10-07T04:37:35.737" LastActivityDate="2016-10-07T04:37:35.737" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="863" PostTypeId="2" ParentId="64" CreationDate="2016-10-06T23:27:49.257" Score="4" Body="&lt;p&gt;I have never seen this before but here are some ideas I would try:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Compare the security provider configuration on Coveo's admin tool against a working box looking for misconfigurations;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set this coveo user(temporarily) as a sitecore admin and see if this fixes the issue;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Another thing I would try would be to go to the security configuration on the admin tool(&lt;a href=&quot;http://youradminhosturl:8081/Configuration/Security/Security.aspx?sm=Roles&quot; rel=&quot;nofollow&quot;&gt;http://youradminhosturl:8081/Configuration/Security/Security.aspx?sm=Roles&lt;/a&gt;) and add the coveo user as system administrator with full access on the index browser.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="90" LastEditorUserId="66" LastEditDate="2016-10-13T07:19:19.007" LastActivityDate="2016-10-13T07:19:19.007" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="864" PostTypeId="1" AcceptedAnswerId="896" CreationDate="2016-10-07T01:14:58.833" Score="6" ViewCount="380" Body="&lt;p&gt;I have Sitecore 8.2 rev 160729 installed with SXA 1.0 and Sitecore Publishing Service 1.8.0. During an upgrade to SXA 1.1 I receive the following message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ItemLocator language cannot be null or empty Parameter name: language&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Outlined in the upgrade guide for SXA is the following (which I have done).&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Remove the following files:&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Website\App_Config\Include\Feature\Sitecore.XA.Feature.Annotations&#xA;  .config&lt;/li&gt;&#xA;  &lt;li&gt;Website\bin\Sitecore.XA.Feature.Annotations.dll&lt;/li&gt;&#xA;  &lt;li&gt;Website\Views\Annotation\Annotation.cshtml&lt;/li&gt;&#xA;  &lt;/ul&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Log error messages:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #19 20:07:15 ERROR Failed to save the item. Item ID: {AD71FACC-3C23-4DF8-A427-672020DB5612}, database: master&#xA;Exception: System.ArgumentOutOfRangeException&#xA;Message: ItemLocator language cannot be null or empty&#xA;Parameter name: language&#xA;Source: Sitecore.Framework.Publishing.Abstractions&#xA;   at Sitecore.Framework.Publishing.Data.Model.ItemLocator..ctor(Guid id, String language, Int32 version, Nullable`1 revision, String store)&#xA;   at Sitecore.Publishing.Service.PublishManager.EmitItemEvent(Item item, DateTime timestamp, ItemOperationRestrictions restrictions, PublisherOperationType operation, String itemPath)&#xA;   at Sitecore.Publishing.Service.PublishManager.DataEngine_SavedItem(Object sender, ExecutedEventArgs`1 e)&#xA;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;ManagedPoolThread #19 20:07:15 ERROR Error installing items/master/sitecore/templates/Branches/Feature/{AD71FACC-3C23-4DF8-A427-672020DB5612}/en/1/xml&#xA;Exception: System.ArgumentOutOfRangeException&#xA;Message: ItemLocator language cannot be null or empty&#xA;Parameter name: language&#xA;Source: Sitecore.Framework.Publishing.Abstractions&#xA;   at Sitecore.Framework.Publishing.Data.Model.ItemLocator..ctor(Guid id, String language, Int32 version, Nullable`1 revision, String store)&#xA;   at Sitecore.Publishing.Service.PublishManager.EmitItemEvent(Item item, DateTime timestamp, ItemOperationRestrictions restrictions, PublisherOperationType operation, String itemPath)&#xA;   at Sitecore.Publishing.Service.PublishManager.DataEngine_SavedItem(Object sender, ExecutedEventArgs`1 e)&#xA;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.DefaultItemManager.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item)&#xA;   at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent)&#xA;   at Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent)&#xA;   at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp; removeVersions)&#xA;   at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;While waiting for a future release to come out that addresses the bug called out by Stephen, I've taken the following steps to ensure proper installation of packages. I needed to do this because the SPE module installation would halt as soon as the error was encountered.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Disable &lt;strong&gt;Sitecore.Publishing.Service.config&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Install Sitecore PowerShell Extensions module (or any module that encounters the error)&lt;/li&gt;&#xA;&lt;li&gt;Enable &lt;strong&gt;Sitecore.Publishing.Service.config&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-11-17T19:55:28.807" LastActivityDate="2017-11-26T16:18:05.937" Title="Error upgrading to SXA 1.1 with Publishing Service 1.8 : ItemLocator language cannot be null or empty" Tags="|sxa|publishing-service|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="865" PostTypeId="1" AcceptedAnswerId="940" CreationDate="2016-10-07T02:37:01.870" Score="24" ViewCount="1807" Body="&lt;p&gt;There are currently five languages defined in a v7.2 site: en, en-GB, fr-FR, de-DE, en-AU, and zh-CN.  Marketing has decided they no longer want to translate to fr-FR and would like to remove it from the site, however not lose all of the links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site will be upgraded to 8.x soon (most likely 8.2) and we'd like to utilize language fallback to have the fr-FR fallback to en-GB. Conceptually, we know how to set this up on the languages and templates, but how to we bulk &quot;unpublish&quot; all of the fr-FR versions of our items?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The intention isn't to completely remove the language versions, just unpublish them so they are no longer in the web database. Looking at the publishing restrictions fields, they are all shared.&lt;/p&gt;&#xA;" OwnerUserId="249" LastEditorUserId="2890" LastEditDate="2018-02-14T20:59:22.770" LastActivityDate="2018-02-14T20:59:22.770" Title="&quot;Unpublishing&quot; a Language from a site" Tags="|publishing|multilingual|best-practices|" AnswerCount="6" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="866" PostTypeId="2" ParentId="856" CreationDate="2016-10-07T02:37:49.870" Score="0" Body="&lt;p&gt;In case if you want to fully disable analytics tracking, there are few differences in 8.1 compared to earlier versions  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: you need to set &lt;strong&gt;Xdb.Tracking.Enabled&lt;/strong&gt; to false in latest versions (from 8.1) to stop tracking analytics data&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="383" LastEditDate="2016-10-07T02:46:54.590" LastActivityDate="2016-10-07T02:46:54.590" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="867" PostTypeId="2" ParentId="856" CreationDate="2016-10-07T02:41:02.103" Score="3" Body="&lt;p&gt;Even though you disabled the &quot;disable analytics tracking for this page&quot; setting for the sitecore/Content/Sites/MySite/Third Party/ item, I don't think it will stop analytics tracking for the child item under that root item.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your support site items are based on different data template (which is not used in other areas of your sitecore content tree), then you can set this setting in &lt;strong&gt;__Standard Values&lt;/strong&gt; item of that template, which should make it effect all the items created using that template.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-07T02:41:02.103" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="868" PostTypeId="2" ParentId="865" CreationDate="2016-10-07T02:56:53.183" Score="10" Body="&lt;p&gt;You could loop through items in your tree and restrict publishing using Sitecore PowerShell.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item master:/sitecore/content/home&#xA;$item.Editing.BeginEdit()&#xA;$item[&quot;__Never publish&quot;] = &quot;1&quot;&#xA;$item.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Some useful links:&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/fields-that-control-publishing-restrictions-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/fields-that-control-publishing-restrictions-in-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/31950065/in-sitecore-powershell-can-you-make-an-item-unpublishable&quot;&gt;https://stackoverflow.com/questions/31950065/in-sitecore-powershell-can-you-make-an-item-unpublishable&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Get-ItemField.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Get-ItemField.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-26T02:10:33.083" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="869" PostTypeId="2" ParentId="865" CreationDate="2016-10-07T02:58:50.760" Score="0" Body="&lt;p&gt;One option would be to execute a script on &lt;strong&gt;web&lt;/strong&gt; database. Following link explains what code to be executed&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void RemoveLanguageVersion(string rootItemPath, string languageName)&#xA;        {&#xA;            Language languageRemove = Sitecore.Globalization.Language.Parse(languageName);&#xA;            Item rootItem = Sitecore.Context.Database.GetItem(rootItemPath, languageRemove);&#xA;&#xA;            if (rootItem != null)&#xA;            {&#xA;                using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;                {&#xA;                    //Remove language version from root item               &#xA;                    rootItem.Versions.RemoveVersion();&#xA;&#xA;                    //Remove language version recursively from child items of root item&#xA;                    foreach (Item child in rootItem.Axes.GetDescendants().Where(l =&amp;gt; l.Language == languageRemove))&#xA;                    {&#xA;                        child.Versions.RemoveVersion();&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.bugdebugzone.com/2014/06/remove-specific-language-version-from.html&quot; rel=&quot;nofollow&quot;&gt;http://www.bugdebugzone.com/2014/06/remove-specific-language-version-from.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="237" LastEditDate="2016-10-07T07:59:40.703" LastActivityDate="2016-10-07T07:59:40.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="870" PostTypeId="2" ParentId="846" CreationDate="2016-10-07T03:03:25.383" Score="5" Body="&lt;p&gt;If your only need is to keep the CD nodes only and you are okay with downtime on the CM, you can achieve 100% uptime of your CDs during deployments using a second publishing target.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CD1 =&gt; Connected to Publishing Target 1 &lt;/li&gt;&#xA;&lt;li&gt;CD2 =&gt; Connected to Publishing Target 2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;By swapping which CDs are in the Load Balancer you can take your time and control when you publish to each target. Once the publishing has been completed to that target, you can bring the CD into the load balancer and take the other CD out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Depending on how often you need to deploy, you might want to keep these targets permanently. Otherwise, you can just use the secondary publishing target and update connection strings as needed.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-10-07T03:03:25.383" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="871" PostTypeId="1" AcceptedAnswerId="1083" CreationDate="2016-10-07T03:07:45.987" Score="4" ViewCount="169" Body="&lt;p&gt;Coveo Rabbit MQ on the Master CES server are getting loaded with over a million items and its causing CES to consume all the harddrive space on the CES Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Soon after that the indexes go into the Read only mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried deleting the million plus queue items but they keep reloading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else faced this?&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-11T15:27:48.753" Title="Coveo Rabbit MQ queues for Master and web Full" Tags="|coveo|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="872" PostTypeId="1" AcceptedAnswerId="879" CreationDate="2016-10-07T03:14:53.827" Score="7" ViewCount="1214" Body="&lt;p&gt;In our typical setup, we try to keep a TDS project that has test content for the developers, while a separate TDS project contains the essential solution architecture such as renderings and templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, because of the parent/child structure in the project, sometimes top level items are required to be in both projects (such as sitecore\content). We have it there because it's required as a parent, but we want to make sure only one project is actively being updated for that item.Is there a way to specify in a project to 'never sync' a certain item? Even when a user sync's the whole project? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: I understand 'Exclude' can be used for build configurations, but that excludes the whole subtree. In this case, we just want a specific parent to be ignored.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-10-11T23:00:43.807" Title="How to set a TDS item to 'not sync', even locally?" Tags="|tds|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="873" PostTypeId="5" CreationDate="2016-10-07T03:20:11.263" Score="0" Body="&lt;p&gt;TDS exposes the Sitecore data structure within your Visual Studio environment, and allows you to synchronize selected Sitecore items or structures directly to your Visual Studio Project. This, along with integration to Source control systems such as Visual Studio Team System or Subversion greatly simplifies the process of adding content to your source control and fully make it part of your development process. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hedgehogdevelopment.github.io/tds/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/company/blog/356/team-development-with-sitecore-3073&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/company/blog/356/team-development-with-sitecore-3073&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T07:07:37.503" LastActivityDate="2018-02-14T07:07:37.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="874" PostTypeId="4" CreationDate="2016-10-07T03:20:11.263" Score="0" Body="Questions related to using Team Development for Sitecore (TDS) software" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2016-10-07T06:50:51.733" LastActivityDate="2016-10-07T06:50:51.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="875" PostTypeId="2" ParentId="859" CreationDate="2016-10-07T03:39:38.977" Score="10" Body="&lt;p&gt;To answer your question, there are no differences in indexes between SOLR and Lucene (with the exception of the swap cores for SOLR, see Bonus Answer). What you are seeing is probably a product of too many configs activated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me explain. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.2, the following indexes are active OOTB using Lucene:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore_core_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_master_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_web_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_asset_index_master&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_asset_index_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_definitions_master&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_definitions_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_testing_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_suggested_test_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_fxm_master&lt;/li&gt;&#xA;&lt;li&gt;sitecore_fxm_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_list_index&lt;/li&gt;&#xA;&lt;li&gt;social_messages_master&lt;/li&gt;&#xA;&lt;li&gt;social_messages_web&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In a vanilla instance, the various Lucene config files for these indexes will end with &lt;code&gt;.config&lt;/code&gt; indicating that they are active.  Their SOLR counterpart config would have a &lt;code&gt;.example&lt;/code&gt; extension to the file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When activating SOLR, there is a fairly onorous task of having to go through &lt;code&gt;/App_Config/Include&lt;/code&gt; folder (as well as child folders) and look for Lucene files to &lt;code&gt;.disable&lt;/code&gt; and &lt;strong&gt;SOLR&lt;/strong&gt; config files to &lt;em&gt;enable&lt;/em&gt; by removing the &lt;code&gt;.example&lt;/code&gt; (or &lt;code&gt;.disabled&lt;/code&gt; or whatever you might call it) extension.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, not EVERY index is actually activated out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are three files that are also left as Lucene (and SOLR) example files:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TKboI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TKboI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These configs, when enabled, expose a bunch more indexes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;content_index_core&lt;/li&gt;&#xA;&lt;li&gt;system_index_core&lt;/li&gt;&#xA;&lt;li&gt;layouts_index_core&lt;/li&gt;&#xA;&lt;li&gt;medialibrary_index_core&lt;/li&gt;&#xA;&lt;li&gt;template_index_core&lt;/li&gt;&#xA;&lt;li&gt;content_index&lt;/li&gt;&#xA;&lt;li&gt;system_index&lt;/li&gt;&#xA;&lt;li&gt;layouts_index&lt;/li&gt;&#xA;&lt;li&gt;medialibrary_index&lt;/li&gt;&#xA;&lt;li&gt;template_index&lt;/li&gt;&#xA;&lt;li&gt;content_index_web&lt;/li&gt;&#xA;&lt;li&gt;system_index_web&lt;/li&gt;&#xA;&lt;li&gt;layouts_index_web&lt;/li&gt;&#xA;&lt;li&gt;medialibrary_index_web&lt;/li&gt;&#xA;&lt;li&gt;template_index_web&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These indexes are not exactly required.  And when the &lt;code&gt;Sitecore.ContentSearch.&amp;lt;Lucene|Solr&amp;gt;.Indexes.Shared.&amp;lt;db&amp;gt;.config&lt;/code&gt; files are enabled, they add a bunch more indexes to the indexing screen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe that this is what you are seeing.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;SUMMARY&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;I would venture that the three configs above are enabled. You can&#xA;  probably safely disable them, if you don't want these extra indexes. &#xA;  However, yes, Sitecore is really going all in with indexing, so there&#xA;  are a lot more indexes in Sitecore 8.2. I expect this trend to&#xA;  continue as well.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;BONUS ANSWER&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the SOLR Configs are enabled, and you also want to have the &lt;code&gt;SwapOnRebuild&lt;/code&gt; functionality enabled, creating all of these SOLR cores can be a real chore. I've created a nice little cheat file for myself that can be used real easily with &lt;code&gt;wget&lt;/code&gt; or &lt;code&gt;curl&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_core_index&amp;amp;instanceDir=sitecore_core_index&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_master_index&amp;amp;instanceDir=sitecore_master_index&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_web_index&amp;amp;instanceDir=sitecore_web_index&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_marketing_asset_index_master&amp;amp;instanceDir=sitecore_marketing_asset_index_master&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_marketing_asset_index_web&amp;amp;instanceDir=sitecore_marketing_asset_index_web&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_marketingdefinitions_master&amp;amp;instanceDir=sitecore_marketingdefinitions_master&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_marketingdefinitions_web&amp;amp;instanceDir=sitecore_marketingdefinitions_web&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_testing_index&amp;amp;instanceDir=sitecore_testing_index&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_suggested_test_index&amp;amp;instanceDir=sitecore_suggested_test_index&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_fxm_master_index&amp;amp;instanceDir=sitecore_fxm_master_index&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_fxm_web_index&amp;amp;instanceDir=sitecore_fxm_web_index&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_list_index&amp;amp;instanceDir=sitecore_list_index&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=social_messages_master&amp;amp;instanceDir=social_messages_master&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=social_messages_web&amp;amp;instanceDir=social_messages_web&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_core_index_swap&amp;amp;instanceDir=sitecore_core_index_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_master_index_swap&amp;amp;instanceDir=sitecore_master_index_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_web_index_swap&amp;amp;instanceDir=sitecore_web_index_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_marketing_asset_index_master_swap&amp;amp;instanceDir=sitecore_marketing_asset_index_master_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_marketing_asset_index_web_swap&amp;amp;instanceDir=sitecore_marketing_asset_index_web_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_marketingdefinitions_master_swap&amp;amp;instanceDir=sitecore_marketingdefinitions_master_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_marketingdefinitions_web_swap&amp;amp;instanceDir=sitecore_marketingdefinitions_web_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_testing_index_swap&amp;amp;instanceDir=sitecore_testing_index_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_suggested_test_index_swap&amp;amp;instanceDir=sitecore_suggested_test_index_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_fxm_master_index_swap&amp;amp;instanceDir=sitecore_fxm_master_index_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_fxm_web_index_swap&amp;amp;instanceDir=sitecore_fxm_web_index_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_list_index_swap&amp;amp;instanceDir=sitecore_list_index_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=social_messages_master_swap&amp;amp;instanceDir=social_messages_master_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=social_messages_web_swap&amp;amp;instanceDir=social_messages_web_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=social_messages_master_swap&amp;amp;instanceDir=social_messages_master_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=social_messages_web_swap&amp;amp;instanceDir=social_messages_web_swap&amp;amp;configSet=sitecore_configs&#xA;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name=sitecore_analytics_index&amp;amp;instanceDir=sitecore_analytics_index&amp;amp;configSet=sitecore_analytic_configs&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These default SOLR Url's can assist in creating SOLR cores for the OOTB Sitecore 8.2 Indexes as well as their associated &quot;swap&quot; core.  Note that these url's are using SOLR ConfigSets for Sitecore. Create a configset folder called &lt;code&gt;sitecore_configs&lt;/code&gt; in your SOLR folder and put your Sitecore modified schema.xml file in there. All cores created by these url's will then use the &lt;code&gt;sitecore_configs&lt;/code&gt; configset.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-07T03:46:07.363" LastActivityDate="2016-10-07T03:46:07.363" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="876" PostTypeId="2" ParentId="809" CreationDate="2016-10-07T04:01:51.230" Score="1" Body="&lt;p&gt;I'm pretty sure it's a misunderstanding with the way that it works on your part. But it's ok. It's clear that you thought this due to the nature of the bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;strong&gt;Sitecore 8.1 Update-2&lt;/strong&gt;, there is a bug that indexed all language versions of item, regardless of whether or not, an actual version exists when fallback is enabled. This should not be the case. This was fixed, &lt;em&gt;as you note in your update&lt;/em&gt;, in &lt;code&gt;Reference Number 108981&lt;/code&gt; and released as part of the bug fixes in Sitecore 8.1 Update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There should only be a language version in the index for an item that truly has a language version.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="237" LastEditDate="2016-10-07T08:48:31.737" LastActivityDate="2016-10-07T08:48:31.737" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="877" PostTypeId="2" ParentId="872" CreationDate="2016-10-07T04:20:57.187" Score="4" Body="&lt;p&gt;You could set the &quot;Item Deployment&quot; for the TDS item &quot;Deploy Once&quot;. If you are sure the item is being updated from the other project, then this will make the item never deploy (overwrite) the item since it will already exist.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-10-07T04:20:57.187" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="878" PostTypeId="2" ParentId="506" CreationDate="2016-10-07T05:25:05.587" Score="12" Body="&lt;p&gt;As the product owner, let me confirm.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In version 1.x --&gt; 3.2 the Email reporting stack was built on a foundation that was inconsistent, inaccurate and not able to scale with the future of Sitecore. The reporting UI was poor and did not meet the expectations of nearly any of our customers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means we had to take huge steps to make our customers happy in the long term.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was not a case of putting a new UI on the old data foundation, because 70% of the data points our customers told us they needed, did not exist, we needed to capture them and store them in a scalable way. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There was no consistent or reliable way for us to extract the old email data and &quot;convert&quot; it into the new data. you would have ended up with your old campaigns showing half complete reports, with most likely different results to what the marketer saw before. Sad, I know, but a consequence of bad decisions (years ago) and a changing world.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, when you upgrade from 3.2 --&gt; 3.3+, the data for opens and clicks, will be in the rDB, (and you still have all your old sent messages, templates, list associations etc.) however you will have no way to view that data in the new reporting UI. You are welcome to either build something yourself or extract it for sentimental purposes. Your web analytics are also not affected (i.e showing channel attribution for clicks and value).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The new reporting foundation now captures all of the data you are likely to need, in a reliable and accurate way. It leverages the xDB correctly and then aggregates them into the existing Sitecore Analytics stack so that we were able to show them in plenty of pretty charts, in many different ways.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The benefits of the new approach:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Pretty charts, in HTML5 (not Silverlight)&lt;/li&gt;&#xA;&lt;li&gt;Highly accurate, scalable data&lt;/li&gt;&#xA;&lt;li&gt;Integrates seamlessly with the Experience Profile&lt;/li&gt;&#xA;&lt;li&gt;Reduces load on analytics platform &lt;/li&gt;&#xA;&lt;li&gt;Standardizes data framework for channels (web/email)&lt;/li&gt;&#xA;&lt;li&gt;Allows Contact level lists &amp;amp; charts in version 3.4&lt;/li&gt;&#xA;&lt;li&gt;Huge savings in development and testing overheads over time&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Hopefully that summarizes the decisions made and makes you feel more comfortable, if you need to discuss it directly with a customer and need support, please reach out to your local regional contact and they can schedule a time with me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I trust you see the value in the new approach and that it was a difficult decision to make.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kind Regards&#xA;Anthony&lt;/p&gt;&#xA;" OwnerUserId="580" LastActivityDate="2016-10-07T05:25:05.587" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="879" PostTypeId="2" ParentId="872" CreationDate="2016-10-07T05:27:18.623" Score="5" Body="&lt;p&gt;As I understand, your question is about the possibility not to include some parent items in a TDS project at all. I agree that it would have been nice if such items were not duplicated on the file system and you wouldn't see the same item being changed twice in the same commit to your code repository.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TDS uses Sitecore's native serialization format and structure. It requires that the whole item path starting from root-level items (such as &lt;code&gt;/sitecore/content&lt;/code&gt; and &lt;code&gt;/sitecore/layout&lt;/code&gt;), and down to the particular node-level items, are all serialized to disc as *.item files. There is no way around it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The standard approach with TDS is to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Include such items in both projects;&lt;/li&gt;&#xA;&lt;li&gt;Set the item's &quot;Item Deploy&quot; field to &quot;Deploy Once&quot; in the &lt;a href=&quot;https://www.hhogdev.com/help/tds/deploymentproperties&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Deployment Property Manager&lt;/strong&gt;&lt;/a&gt;;&lt;/li&gt;&#xA;&lt;li&gt;Configure &lt;a href=&quot;https://www.hhogdev.com/help/tds/propmulti&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Multi-Project Properties&lt;/strong&gt;&lt;/a&gt; so that your test content project has the main project listed in &quot;Package bundling&quot;. This is a good practice, since you're effectively defining a project dependency this way and make sure the items from the main TDS project always get deployed along with your test content.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you would like to avoid syncing every TDS project to get changes of the same item, you can use the new TDS 5.5 feature &lt;a href=&quot;https://www.hhogdev.com/help/tds/syncallprojectsusinghistory&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;&quot;Sync all projects using history&quot;&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-07T07:46:28.650" LastActivityDate="2016-10-07T07:46:28.650" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="880" PostTypeId="2" ParentId="865" CreationDate="2016-10-07T05:55:20.967" Score="4" Body="&lt;p&gt;In addition to other answers, you can do this manually by removing language versions directly from Sitecore databases, followed by rebuilding all caches and indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Execute the following queries on your Master and Web databases:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;DELETE&#xA;FROM [VersionedFields]&#xA;WHERE [Language] = 'fr-FR'&#xA;&#xA;DELETE&#xA;FROM [UnversionedFields]&#xA;WHERE [Language] = 'fr-FR'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Clear item caches on all instances using the page &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Rebuild the link database on all Sitecore instances. You can do that from the control panel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Rebuild search indexes on all Sitecore instances. You can do that from the control panel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be sure to test this thoroughly in a test setup, since modifying Sitecore databases directly may sometimes break your site.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-07T08:09:32.190" LastActivityDate="2016-10-07T08:09:32.190" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="881" PostTypeId="2" ParentId="864" CreationDate="2016-10-07T06:57:36.440" Score="6" Body="&lt;p&gt;Assuming you have correctly configured &lt;strong&gt;Sitecore Publishing Service&lt;/strong&gt; (I have not) you should raise support bug for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what I have found:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever you try to install an item with &lt;code&gt;Overwrite&lt;/code&gt; option the installation will fail. Doesn't matter what package and what is inside.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check this by creating a new package with Sitecore standard item and then install it on your instance with overwrite.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Steps to reproduce that issue:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Install Sitecore Publishing Service&lt;/li&gt;&#xA;&lt;li&gt;Create package with any existing item &lt;/li&gt;&#xA;&lt;li&gt;Try to install package, when asked by SItecore how to resolve issue, select &lt;code&gt;Overwrite&lt;/code&gt; option.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Boom&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #8 08:55:14 ERROR Error installing items/master/sitecore/layout/Controllers/{75D27C2B-5F88-4CC8-B1DE-8412A1628408}/da/1/xml&#xA;  Exception: System.ArgumentOutOfRangeException&#xA;  Message: ItemLocator language cannot be null or empty&#xA;  Parameter name: language&#xA;  Source: Sitecore.Framework.Publishing.Abstractions&#xA;     at Sitecore.Framework.Publishing.Data.Model.ItemLocator..ctor(Guid id, String language, Int32 version, Nullable&lt;code&gt;1 revision, String store)&#xA;     at Sitecore.Publishing.Service.PublishManager.EmitItemEvent(Item item, DateTime timestamp, ItemOperationRestrictions restrictions, PublisherOperationType operation, String itemPath)&#xA;     at Sitecore.Publishing.Service.PublishManager.DataEngine_SavedItem(Object sender, ExecutedEventArgs&lt;/code&gt;1 e)&#xA;     at System.EventHandler&lt;code&gt;1.Invoke(Object sender, TEventArgs e)&#xA;     at Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.RaiseEvent[TArgs](EventHandler&lt;code&gt;1 handlers, Func&lt;/code&gt;2 argsCreator)&#xA;     at Sitecore.Data.Engines.EngineCommand&lt;code&gt;2.Execute()&#xA;     at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;     at Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)&#xA;     at Sitecore.Data.Managers.DefaultItemManager.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func&lt;/code&gt;1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;     at Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item)&#xA;     at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent)&#xA;     at Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent)&#xA;     at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp; removeVersions)&#xA;     at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-07T06:57:36.440" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="882" PostTypeId="2" ParentId="764" CreationDate="2016-10-07T07:38:01.870" Score="3" Body="&lt;p&gt;Google recommends responsive design &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developers.google.com/webmasters/mobile-sites/mobile-seo/responsive-design&quot; rel=&quot;nofollow&quot;&gt;https://developers.google.com/webmasters/mobile-sites/mobile-seo/responsive-design&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Why responsive design&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We recommend using responsive web design because it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Makes it easier for users to share and link to your content with a single URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Helps Google’s algorithms accurately assign indexing properties to the page rather than needing to signal the existence of corresponding desktop/mobile pages.&#xA;Requires less engineering time to maintain multiple pages for the same content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reduces the possibility of the common mistakes that affect mobile sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Requires no redirection for users to have a device-optimized view, which reduces load time. Also, user agent-based redirection is error-prone and can degrade your site’s user experience (see Pitfalls when detecting user agents&quot; section for details).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Saves resources when Googlebot crawls your site. For responsive web design pages, a single Googlebot user agent only needs to crawl your page once, rather than crawling multiple times with different Googlebot user agents to retrieve all versions of the content. This improvement in crawling efficiency can indirectly help Google index more of your site’s content and keep it appropriately fresh.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some things may want to change though are, showing links to download apps for the platform detected the user is on. &#xA;Showing links for maps etc in the format that work for the target platform device, etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may have reasons not to use responsive design, e.g. Legacy etc. &#xA;But would have thought a Greenfield project would be responsive by default, requirements depending. &lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2016-10-07T07:38:01.870" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="883" PostTypeId="2" ParentId="865" CreationDate="2016-10-07T07:45:37.477" Score="12" Body="&lt;p&gt;I think this is possible with SPE. Something like this should work:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Remove-ItemLanguage -Path master:\content\home -Language &quot;fr-FR&quot; -Recurse&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Perform this on a CM server and publish the site to move the changes to the web database and the CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's probably also a good idea to rebuild your indexes and link database after doing this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It might also be a good idea to set your language fallback already before publishing and rebuilding indexes, this way you only need to do that once. &lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="10" LastEditDate="2016-10-26T02:10:19.733" LastActivityDate="2016-10-26T02:10:19.733" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="884" PostTypeId="2" ParentId="865" CreationDate="2016-10-07T08:07:12.273" Score="5" Body="&lt;p&gt;An alternative using only the UI... What if... &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You delete de language. it will delete all the content in that language. It will take a while.&lt;/li&gt;&#xA;&lt;li&gt;Publish the languages folder with subitems. It will delete the french content from web database. Again, It will take a while, depending on your content.&lt;/li&gt;&#xA;&lt;li&gt;Create the language again, set up fallback and publish. If I understood the requisite you would then keep your links.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This &lt;a href=&quot;http://www.newguid.net/sitecore/2013/beware-of-deleting-language-items/&quot; rel=&quot;nofollow&quot;&gt;post&lt;/a&gt; seems to  confirm my point (thanks @dymitro)&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="151" LastEditDate="2016-10-07T08:21:19.410" LastActivityDate="2016-10-07T08:21:19.410" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="885" PostTypeId="1" AcceptedAnswerId="899" CreationDate="2016-10-07T08:30:15.970" Score="1" ViewCount="152" Body="&lt;p&gt;A client has an unusual process where a small subset of their content items are stored in their code repository in a TDS project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The project is multilingual. Currently, changes to several of these content item are approved only in one language. So during the next couple of weeks, for all deployments, the client wants these items to be updated only in a single language, with all other language version remaining as they are.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to set up several specific items in TDS so that when a package is created, only one particular language version of these items will be included in the package?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-07T13:23:54.060" Title="Generating a TDS content item package that has certain items in only one language" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="886" PostTypeId="1" AcceptedAnswerId="897" CreationDate="2016-10-07T08:44:00.373" Score="8" ViewCount="1969" Body="&lt;p&gt;I am getting the following error messages when syncing a TDS 5.5 project:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Item template with path ... already exists&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bYmfL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bYmfL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Found duplicate id ... for item ... and ... in project. Please remove one of these items from your project before attempting to sync with Sitecore.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/96yfs.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/96yfs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This error happens for many items, and there are definitely no duplicates—neither in the project file, nor on disk.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This might have begun after I updated TDS to a newer version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I fix these errors?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-08T13:05:52.687" Title="Duplicate item errors when syncing a TDS project" Tags="|tds|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="887" PostTypeId="1" CreationDate="2016-10-07T10:29:35.280" Score="9" ViewCount="1617" Body="&lt;p&gt;Has anyone seen any performance problems with Sitecore SQL Session Provider?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are noticing some problems with blocking queries under load, specifically the GetItemExclusive stored proc.&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="73" LastEditDate="2016-10-07T22:30:26.697" LastActivityDate="2017-10-25T13:27:19.623" Title="Performance problems with the Sitecore SQL Session Provider" Tags="|sql-database|session-state|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="888" PostTypeId="1" AcceptedAnswerId="889" CreationDate="2016-10-07T11:08:05.570" Score="6" ViewCount="1837" Body="&lt;p&gt;Got the following call:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var templatePath = &quot;/User Defined/Project/Common/Content Types/Links&quot;;&#xA;var template = TemplateManager.GetTemplate(templatePath, Context.Database);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is always returning null. I have checked the template path and can confirm 100% it is correct, the database is also present. This issue is happening in 8.2 any ideas on what I might be missing?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Immediate Window Debug Information&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Context.Database&#xA;{web}&#xA;    Aliases: {Sitecore.Data.AliasResolver}&#xA;    ArchiveNames: Count = 2&#xA;    Archives: {Sitecore.Data.Archiving.DataArchives}&#xA;    Branches: {Sitecore.Data.BranchRecords}&#xA;    Caches: {Sitecore.Data.DatabaseCaches}&#xA;    ConnectionStringName: &quot;web&quot;&#xA;    DataManager: {Sitecore.Data.DataManager}&#xA;    DataProviders: Count = 1&#xA;    Engines: {Sitecore.Data.DatabaseEngines}&#xA;    HasContentItem: true&#xA;    Icon: &quot;Images/database_web.png&quot;&#xA;    Items: {Sitecore.Data.ItemRecords}&#xA;    Languages: {Sitecore.Globalization.Language[1]}&#xA;    Masters: {Sitecore.Data.BranchRecords}&#xA;    Name: &quot;web&quot;&#xA;    NotificationProvider: null&#xA;    Properties: {Sitecore.Data.DatabaseProperties}&#xA;    Protected: false&#xA;    ProxiesEnabled: false&#xA;    ProxyDataProvider: {Sitecore.Data.SqlServer.SqlServerProxyDataProvider}&#xA;    PublishVirtualItems: true&#xA;    ReadOnly: false&#xA;    RemoteEvents: {Sitecore.Data.Eventing.DatabaseRemoteEvents}&#xA;    Resources: {Sitecore.Resources.ResourceItems}&#xA;    SecurityEnabled: true&#xA;    &quot;sitecore&quot;: sitecore (en#1@web), id: {11111111-1111-1111-1111-111111111111}&#xA;    Templates: {Sitecore.Data.TemplateRecords}&#xA;    WorkflowProvider: null&#xA;&#xA;TemplateManager.GetTemplate(&quot;/sitecore/Templates/User Defined/Project/Common/Content Types/Icon Links&quot;, Context.Database)&#xA;null&#xA;TemplateManager.GetTemplate(&quot;/sitecore/templates/User Defined/Project/Common/Content Types/Icon Links&quot;, Context.Database)&#xA;null&#xA;TemplateManager.GetTemplate(&quot;User Defined/Project/Common/Content Types/Icon Links&quot;, Context.Database)&#xA;null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Snip of item path, on web database.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7UVGV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7UVGV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TemplateManager.GetTemplate(&quot;/sitecore/templates/System/Templates/Standard template&quot;, Context.Database)&#xA;null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using immediate window to try and get standard template also fails.&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="423" LastEditDate="2017-08-08T14:56:04.453" LastActivityDate="2017-08-08T14:56:04.453" Title="TemplateManager.GetTemplates always returning null" Tags="|templates|sitecore-api|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="889" PostTypeId="2" ParentId="888" CreationDate="2016-10-07T11:16:17.603" Score="11" Body="&lt;p&gt;Yea. Change your code to this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var templatePath = &quot;User Defined/Project/Common/Content Types/Links&quot;;&#xA;var template = TemplateManager.GetTemplate(templatePath, Context.Database);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If your path starts with &quot;/&quot;, Sitecore will assume it to be absolute.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="237" LastEditDate="2016-10-07T11:51:57.393" LastActivityDate="2016-10-07T11:51:57.393" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="890" PostTypeId="2" ParentId="809" CreationDate="2016-10-07T11:30:42.290" Score="0" Body="&lt;p&gt;It was my understanding that the language fallback was only implemented on the item provider, not at content search level, meaning that if you want to support fallback on your search you have to implement the logic on your query or post-process the results.&#xA;I really hope I'm wrong and language fallback is already implemented at Content search level.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2016-10-07T11:30:42.290" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="891" PostTypeId="2" ParentId="872" CreationDate="2016-10-07T11:36:28.953" Score="3" Body="&lt;p&gt;I don't think there's an option to exclude a single item from being synced currently. You can write to support@hhogdev.com with a suggestion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently you could set the the &quot;Child Item Sync&quot; of the parent item to &quot;None&quot;, which should stop syncing everything below it in the tree (which might or might not suit your needs) :)&lt;/p&gt;&#xA;" OwnerUserId="422" LastActivityDate="2016-10-07T11:36:28.953" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="892" PostTypeId="2" ParentId="769" CreationDate="2016-10-07T12:04:35.847" Score="3" Body="&lt;p&gt;The lambda seems correct, and there are no obvious reason for failure. I think the next step is to log this as a big on Github:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper&quot; rel=&quot;nofollow&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can turn the lambda cache off using the following code in the GlassMapperScCustom class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static  class GlassMapperScCustom&#xA;{&#xA;    public static IDependencyResolver CreateResolver(){&#xA;        var config = new Glass.Mapper.Sc.Config();&#xA;        config.UseGlassHtmlLambdaCache = false;&#xA;&#xA;        var dependencyResolver = new DependencyResolver(config);&#xA;&#xA;        // add any changes to the standard resolver here&#xA;        return dependencyResolver;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another thing to try is wrapping your lambda's in a null check:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@if(Model != null){&#xA;&#xA;   @Html.Glass().Editable(a=&amp;gt;a.Text)&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="464" LastEditorUserId="10" LastEditDate="2016-10-08T15:24:58.467" LastActivityDate="2016-10-08T15:24:58.467" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="893" PostTypeId="1" AcceptedAnswerId="900" CreationDate="2016-10-07T12:15:47.510" Score="3" ViewCount="1434" Body="&lt;p&gt;We've got a client with a Solr index, the index is updating fine but the frequency of updates seems a little high - I wondered (before digging in to this myself) if anyone knew exactly how the syncMaster strategy works?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a defined root and content in the master db gets updated outside of that root - I presume that the index doesn't update? Does it add a job to check? Or does it skip the job creation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;my_assets_master_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;!-- NOTE: order of these controls the execution order --&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;          &amp;lt;/policies&amp;gt;&#xA;        &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/media library/My Asset Folder&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;   &amp;lt;/indexes&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="428" LastEditorUserId="237" LastEditDate="2016-10-07T12:24:20.973" LastActivityDate="2016-10-07T13:27:02.377" Title="How does indexUpdateStrategy &quot;syncMaster&quot; behave on Solr with defined root?" Tags="|solr|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="894" PostTypeId="2" ParentId="893" CreationDate="2016-10-07T12:22:30.723" Score="1" Body="&lt;p&gt;As far as I know, the update job (crawler) is started but all items outside your root are skipped. So if an item is changed (for master, this means just saving) the job starts. But might end real fast too. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If no items with the need for add/update are detected no requests to the index are send (although that is an assumption - would need to verify that to be completely certain but seems very logical).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-07T12:22:30.723" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="895" PostTypeId="2" ParentId="887" CreationDate="2016-10-07T12:24:21.963" Score="6" Body="&lt;p&gt;You've seen the &quot;Optimize SQL Server Performance&quot; section (&lt;strong&gt;Not Applicable to Azure SQL&lt;/strong&gt;) at &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&lt;/a&gt; as it relates to Session state?  While no silver bullet, that approach can improve session management perf with SQL Server and we've been successful with that on a few occasions.  Know that TempDB is recreated at service restart and the permissions [sql login to db user mapping] will be gone, so a better implementation involves scripting these permissions as an extension to SQL restart.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've also been known to isolate Private and Shared session state into their own SQL Server databases.  That could help you isolate your issue, perhaps?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More generally to your question, theoretically a load of significant size could raise perf problems with any aspect of Sitecore.  I know that doesn't specifically help you, but using SQL Profiler or an APM tool (AppDynamics or NewRelic?) can assist in diagnosing this.  You've probably done that and found the GetItemExclusive bottleneck, so I'm curious about underlying SQL Server architecture.&lt;/p&gt;&#xA;" OwnerUserId="365" LastEditorUserId="526" LastEditDate="2017-06-20T07:19:51.403" LastActivityDate="2017-06-20T07:19:51.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="896" PostTypeId="2" ParentId="864" CreationDate="2016-10-07T12:39:24.310" Score="8" Body="&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can ignore the errors as long as you make sure you publish the installed items with a &lt;code&gt;Full&lt;/code&gt; or &lt;code&gt;Single Item&lt;/code&gt; publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The details&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have tested this and confirmed this as platform bug in &lt;code&gt;8.2 (rev 160729)&lt;/code&gt;, when a package is installed the &lt;code&gt;SaveItem&lt;/code&gt; event is not passed a language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This doesn't effect how Sitecore saves the item data itself, but the &lt;code&gt;PublishingService&lt;/code&gt; saves this data to mark an item as 'needing to be published'. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The service is sensitive to items that do not have a language and we have guard conditions to catch them (as they would be illegal items as far as we are concerned) so this is why the error is thrown. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This needs to be fixed in the platform but we are looking to see if there is a workaround or patch we can issue but with a null language being returned with the item data we can't tell the difference between different language versions of an item being installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Possible workaround&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When an item is created/edited/removed then an entry is added to the &lt;code&gt;PublishOperation&lt;/code&gt; table. The entries in this table work in a similar way to the old &lt;code&gt;Publish Queue&lt;/code&gt; and tell us what has changed since the last publish. Without a language being passed to the &lt;code&gt;SaveItem&lt;/code&gt; event handler an error is thrown. The item is still installed into Sitecore but this entry is missing in the table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The result of this is that if you do a &lt;code&gt;Site Publish&lt;/code&gt; (in old terms an &lt;code&gt;incremental&lt;/code&gt; publish) then these recently installed items will not be marked as needing to be published and so will be skipped. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are installing a large module where items could be in lots of different parts of the content tree then the workaround is, when you need to publish next, then to do a &lt;code&gt;Full Publish&lt;/code&gt; (as an admin function from the &lt;code&gt;Publishing Dashboard&lt;/code&gt;); this will publish only the changed items anyway (and the service is much faster than before!).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are installing a package to a very specific part of the content tree then you can do a &lt;code&gt;Single Item Publish&lt;/code&gt; (with &lt;code&gt;subitems&lt;/code&gt;) from a parent node. This will have the same effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both of these methods work their way down the tree looking for changed items and don't use the &lt;code&gt;PublisherOperation&lt;/code&gt; entries so the newly installed items will be picked up.&lt;/p&gt;&#xA;" OwnerUserId="201" LastEditorUserId="1542" LastEditDate="2017-11-26T16:18:05.937" LastActivityDate="2017-11-26T16:18:05.937" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="897" PostTypeId="2" ParentId="886" CreationDate="2016-10-07T12:58:15.357" Score="13" Body="&lt;p&gt;There is a reliable fix.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to &lt;em&gt;Tools→Options→TDS Options&lt;/em&gt; and set &lt;em&gt;Background Cache Loading&lt;/em&gt; to &lt;code&gt;False&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cWpMI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cWpMI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Restart Visual Studio.&lt;/li&gt;&#xA;&lt;li&gt;Set &lt;em&gt;Background Cache Loading&lt;/em&gt; back to &lt;code&gt;True&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Errors will stop after these steps—courtesy of Angel from TDS support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The errors are caused by broken cache files. Changing the &lt;em&gt;Background Cache Loading&lt;/em&gt; makes TDS rebuild the cache from scratch, hence fixing the issue.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-08T13:05:52.687" LastActivityDate="2016-11-08T13:05:52.687" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="899" PostTypeId="2" ParentId="885" CreationDate="2016-10-07T13:23:54.060" Score="5" Body="&lt;p&gt;In TDS, the current way to only push part of an item, but not the whole thing is to use Field Level Deployments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For each item, right click on it and select 'Field Level Deployment'.&#xA;Now select each of the fields, for each language that you wish to push.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p5PWW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p5PWW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Note: Ensure that the item is also marked as 'DeployOnce', not 'AlwaysUpdate' so that the full item is not pushed on deployment).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand this could take a lot of time if you have a lot of items.... however this sounds more like deploying content items with TDS, instead of developer items, which isn't ideal anyway.&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2016-10-07T13:23:54.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="900" PostTypeId="2" ParentId="893" CreationDate="2016-10-07T13:27:02.377" Score="5" Body="&lt;p&gt;When &lt;code&gt;syncMaster&lt;/code&gt; strategy initializes, it subscribes to all the Sitecore item events (e.g. &lt;code&gt;ItemCopied&lt;/code&gt;, &lt;code&gt;ItemMoved&lt;/code&gt; etc) and executes its &lt;code&gt;Run&lt;/code&gt; method every time event is fired.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public void Initialize(ISearchIndex index)&#xA;{&#xA;    CrawlingLog.Log.Info(string.Format(&quot;[Index={0}] Initializing SynchronousStrategy.&quot;, index.Name), null);&#xA;&#xA;    ...&#xA;&#xA;    EventHub.ItemCopied += delegate(object sender, EventArgs args)&#xA;    {&#xA;        this.Run(events.ExtractParameter&amp;lt;ItemUri&amp;gt;(args, 0), true);&#xA;    };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So when the item is changed (moved/deleted/added...), &lt;code&gt;Run&lt;/code&gt; method is executed. It checks whether it should break the operation (database names different from what is defined, bulk update mode or indexing is paused) and checks if item is under the root of the index. Only if those conditions are met, &lt;code&gt;IndexCustodian.UpdateItem&lt;/code&gt; method is executed.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public void Run(...)&#xA;{&#xA;    if (this.NeedBreakOperation(itemUri.DatabaseName))&#xA;    {&#xA;        return;&#xA;    }&#xA;    if (!this.IsItemUnderCrawlerRoot(itemUri))&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    ...&#xA;&#xA;    IndexCustodian.UpdateItem(this.index, indexableInfo);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-07T13:27:02.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="901" PostTypeId="2" ParentId="576" CreationDate="2016-10-07T13:34:10.910" Score="3" Body="&lt;p&gt;So the answer was to remove this NuGet packaged manually by editing the project.json file.  Apparently this package is not needed by the solution so removing it was safe.  There must be an issue with the package because even when I readded it from NuGet it still errored.  Something Sitecore will need to fix.&lt;/p&gt;&#xA;" OwnerUserId="498" LastActivityDate="2016-10-07T13:34:10.910" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="902" PostTypeId="1" CreationDate="2016-10-07T13:52:16.250" Score="0" ViewCount="1291" Body="&lt;p&gt;I have been trying to display a message inside a StandardValidator but when I use SheerResponse.Confirm i receive a null object exception in Sitecore 8. What should I use instead?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private ValidatorResult IsValid(Item item)&#xA;{&#xA;  //ClientPage in null&#xA;  Context.ClientPage.ClientResponse.Alert(String.Format(Sitecore.Globalization.Translate.Text(DictionaryKeys.EventCardCollectionNotSavedErrorMessage)));&#xA;&#xA;  //throws null object exception&#xA;  SheerResponse.Confirm&#xA;&#xA;  return ValidatorResult.Valid;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Charlie&lt;/p&gt;&#xA;" OwnerUserId="591" LastEditorUserId="237" LastEditDate="2016-10-07T14:39:18.247" LastActivityDate="2016-10-07T14:39:18.247" Title="It does not appear that i can use SheerResponse.Confirm in Sitecore 8. What can I use?" Tags="|sheer-ui|" AnswerCount="1" CommentCount="2" ClosedDate="2016-10-07T15:48:46.367" ContentLicense="CC BY-SA 3.0" />
  <row Id="903" PostTypeId="2" ParentId="902" CreationDate="2016-10-07T13:54:51.207" Score="3" Body="&lt;p&gt;Please have a look at my answer to this question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/243/display-error-dialog-from-content-editor-command/248#248&quot;&gt;How do I display an error dialog from content editor command?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;As far as I remember in Sitecore 8 support for Sheer has been droped&#xA;  in favour of Speak.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="66" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-07T13:54:51.207" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="904" PostTypeId="1" AcceptedAnswerId="907" CreationDate="2016-10-07T14:38:26.253" Score="7" ViewCount="2329" Body="&lt;p&gt;How can I use &lt;a href=&quot;https://github.com/kamsar/Unicorn/blob/master/README.md&quot; rel=&quot;noreferrer&quot;&gt;Unicorn&lt;/a&gt; to generate &lt;a href=&quot;http://www.glass.lu/Mapper/Sc/Tutorials&quot; rel=&quot;noreferrer&quot;&gt;Glass Mapper&lt;/a&gt; models for my Sitecore items?&lt;/p&gt;&#xA;" OwnerUserId="404" LastActivityDate="2016-10-07T15:03:56.783" Title="Using Unicorn to Generate Glass Mapper Models" Tags="|glass-mapper|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="905" PostTypeId="1" AcceptedAnswerId="906" CreationDate="2016-10-07T14:42:56.760" Score="5" ViewCount="536" Body="&lt;p&gt;I've done an upgrade of Sitecore 8 to 8.1 update 3.&#xA;I notice that this version of Sitecore references version 1.10.0.62 of MongoDB.Bson and MongoDB.Driver. Where can I find these NuGet packages? I've looked on nuget.org but that only seems to have version 2 onward.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="104" LastEditDate="2016-10-12T11:07:49.127" LastActivityDate="2016-10-12T11:07:49.127" Title="Where can I find the NuGet package(s) for MongoDB required by Sitecore 8.1 (update 3)" Tags="|nuget|mongodb|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="906" PostTypeId="2" ParentId="905" CreationDate="2016-10-07T14:48:56.500" Score="6" Body="&lt;p&gt;The package was renamed on nuget, what you want is the &lt;code&gt;mongocsharpdriver&lt;/code&gt; package. You can get 1.10.0.62 by using:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Install-Package mongocsharpdriver -Version 1.10.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That package contains boths &lt;code&gt;MongoDB.Driver.dll&lt;/code&gt; and &lt;code&gt;MongoDB.Bson.dll&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the nuget page for the older project: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.nuget.org/packages/mongocsharpdriver/&quot;&gt;https://www.nuget.org/packages/mongocsharpdriver/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which has now been renamed to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.nuget.org/packages/MongoDB.Driver/&quot;&gt;https://www.nuget.org/packages/MongoDB.Driver/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-07T15:00:19.470" LastActivityDate="2016-10-07T15:00:19.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="907" PostTypeId="2" ParentId="904" CreationDate="2016-10-07T14:52:09.103" Score="6" Body="&lt;p&gt;The &lt;a href=&quot;https://github.com/hermanussen/sitecore.codegenerator&quot;&gt;Sitecore.CodeGenerator&lt;/a&gt; project can convert serialized Sitecore items into GlassMapper classes, and it contains support for the Rainbow serialization format (used by Unicorn 3).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The project page has step-by-step instructions on how to install and configure it.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-07T14:52:09.103" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="908" PostTypeId="2" ParentId="871" CreationDate="2016-10-07T14:56:42.063" Score="3" Body="&lt;p&gt;When RabbitMQ queues start to pile up messages, it means there are no more consumers connected to the queues. Your Coveo Enterprise Search sources might have encountered errors and disconnected. You can manually reconnect them by disabling and re-enabling live indexing on the Queue Sitecore sources. They will resume their message consumption and the situation will resolve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, if the index is already in read-only mode due to a lack of disk space, you will have to free up space, and put the index in read-write mode manually beforehand.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2016-10-07T14:56:42.063" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="909" PostTypeId="1" AcceptedAnswerId="915" CreationDate="2016-10-07T15:01:07.327" Score="9" ViewCount="716" Body="&lt;p&gt;I'm looking to implement hashing on images that we are resizing manually in the cshtml file. I've looked at a few articles on how to do this and ended up with the following&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cshtml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;img class=&quot;callout-grid__image&quot; &#xA;     srcset=&quot;@Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(string.Format(&quot;{0}?w=300 1x&quot;, Model.GlassModel.CalloutImage.Src)), &#xA;             @Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(string.Format(&quot;{0}?w=300 2x&quot;, Model.GlassModel.CalloutImage.Src))&quot; &#xA;     alt=&quot;@Model.GlassModel.CalloutImage.Alt&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This outputs the url with the hash in it but the image doesn't show. I get the error below in the console: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Failed parsing 'srcset' attribute value since it has an unknown descriptor.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The image url renders like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://url/imagename.jpg?w=300 1x&amp;amp;hash=8628BA4B70220C694175BAD0EDA760C280B00BC4&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I assume that the invalid attribute is the hash. &#xA;Is there a way to have the hash on a srcset attribute?&lt;/p&gt;&#xA;" OwnerUserId="596" LastEditorUserId="114" LastEditDate="2016-10-07T15:14:23.367" LastActivityDate="2016-10-07T15:20:42.030" Title="Sitecore Media request Protection hashing with srcset attribute" Tags="|media-library|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="910" PostTypeId="2" ParentId="904" CreationDate="2016-10-07T15:03:56.783" Score="2" Body="&lt;p&gt;You will have to use &lt;code&gt;Rainbow&lt;/code&gt; (the serialization part of Unicorn) to read the YAML files and the process those with a T4 template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a tool that will do the reading for you and make the objects available in a T4 template. You can use this code for that: &lt;a href=&quot;https://github.com/Fortis-Collection/fortis.codegen.transitus.rainbow&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Fortis-Collection/fortis.codegen.transitus.rainbow&lt;/a&gt;. It is also available as a NuGet package that you can install in your project. Use:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Install-Package Transitus.Rainbow&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you have this in your project you need to parse the &lt;code&gt;.yml&lt;/code&gt; files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var items = Transitus.Rainbow.TransitusProvider.FolderDeserializer.Deserialize(@&quot;C:\Projects\transitus.rainbow\Files&quot;);&#xA;var templates = Transitus.Rainbow.TransitusProvider.TemplateFactory.Create(items);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is an example T4 template that uses that:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;﻿&amp;lt;#@ template debug=&quot;true&quot; hostSpecific=&quot;true&quot; #&amp;gt;&#xA;&amp;lt;#@ output extension=&quot;.cs&quot; #&amp;gt;&#xA;&amp;lt;#@ assembly Name=&quot;System.Core&quot; #&amp;gt;&#xA;&amp;lt;#@ assembly Name=&quot;System.Windows.Forms&quot; #&amp;gt;&#xA;&#xA;// TODO: Set the paths for the assembly bindings based on the version you have installed&#xA;&amp;lt;#@ assembly name=&quot;$(SolutionDir)\packages\Rainbow.Core.1.1.0\lib\net45\Rainbow.dll&quot; #&amp;gt;&#xA;&amp;lt;#@ assembly name=&quot;$(SolutionDir)\packages\Rainbow.Storage.Yaml.1.1.0\lib\net45\Rainbow.Storage.Yaml.dll&quot; #&amp;gt;&#xA;&amp;lt;#@ assembly name=&quot;$(SolutionDir)\packages\Transitus.Rainbow.1.0.4.0\lib\net45\Transitus.Rainbow.dll&quot; #&amp;gt;&#xA;&#xA;// TODO: make sure the namespace imports include everything you need in your templates&#xA;&amp;lt;#@ import namespace=&quot;System&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;System.IO&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;System.Diagnostics&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;System.Linq&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;System.Text&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;System.Collections&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;System.Collections.Generic&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;System.Text.RegularExpressions&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;System.Globalization&quot; #&amp;gt;&#xA;&amp;lt;#@ assembly name=&quot;EnvDTE&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;EnvDTE&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;Transitus.Rainbow&quot; #&amp;gt;&#xA;&#xA;/*&#xA; * Generated Model Templates&#xA; *&#xA; * Generated at &amp;lt;#= DateTime.Now #&amp;gt;&#xA; */&#xA;&amp;lt;#&#xA;    var stopwatch = Stopwatch.StartNew();&#xA;&#xA;    // get the project solution path, we can use this to find the unicorn files&#xA;    string solutionsPath = this.Host.ResolveAssemblyReference(&quot;$(SolutionDir)&quot;);&#xA;    // Set a base path for all unicorn configurations that we want to use&#xA;    var myFolder = solutionsPath + @&quot;..\Unicorn&quot;;&#xA;&#xA;    // Add each configuration we want to create models for into a list&#xA;    var folders = new List&amp;lt;string&amp;gt;&#xA;    {&#xA;        myFolder + @&quot;..\Default Configuration\User Defined&quot;&#xA;    };&#xA;#&amp;gt;&#xA;&#xA;&amp;lt;#&#xA;    var items = new List&amp;lt;IItem&amp;gt;();&#xA;&#xA;    foreach (var folder in folders)&#xA;    {&#xA;        var deserializedItems = Transitus.Rainbow.TransitusProvider.FolderDeserializer.Deserialize(folder);&#xA;&#xA;        items.AddRange(deserializedItems);&#xA;    }&#xA;&#xA;    var templates = Transitus.Rainbow.TransitusProvider.TemplateFactory.Create(items);&#xA;#&amp;gt;  &#xA;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Linq.Common;&#xA;// TODO: Add glass mapper using statements that you need here&#xA;&#xA;&amp;lt;#&#xA;&#xA;    foreach (var template in templates)&#xA;    {&#xA;        var isRenderingParametersTemplate = HasRenderingOptionsBase(template.BaseTemplateIds, template.Id);&#xA;#&amp;gt;&#xA;#region &amp;lt;#= template.Name #&amp;gt;&#xA;namespace MyProject.Models&#xA;{&#xA;    public partial interface I&amp;lt;#= template.Name #&amp;gt; &#xA;    {&#xA;&amp;lt;#+&#xA;        foreach(var field in template.LocalFields)&#xA;        {&#xA;#&amp;gt;&#xA;        /// &amp;lt;summary&amp;gt;&amp;lt;para&amp;gt;Template: &amp;lt;#= template.Name #&amp;gt;&amp;lt;/para&amp;gt;&amp;lt;para&amp;gt;Field: &amp;lt;#= field.Name #&amp;gt;&amp;lt;/para&amp;gt;&amp;lt;para&amp;gt;Data type: &amp;lt;#= field.TypeName #&amp;gt;&amp;lt;/para&amp;gt;&amp;lt;/summary&amp;gt;&#xA;        WORKOUTRETURNTYPE &amp;lt;#= field.Name #&amp;gt; { get; }&#xA;&#xA;&amp;lt;#+&#xA;        }&#xA;#&amp;gt;&#xA;    }&#xA;&#xA;#&amp;gt;&#xA;}&#xA;#endregion&#xA;&amp;lt;#&#xA;    }   &#xA;    stopwatch.Stop();&#xA;#&amp;gt;&#xA;// Generated in &amp;lt;#= stopwatch.ElapsedMilliseconds #&amp;gt;ms&#xA;// Found &amp;lt;#= templates.Count() #&amp;gt; templates in &amp;lt;#= folders.Count() #&amp;gt; folders [&amp;lt;#= myFolder #&amp;gt;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is still a lot to do in that example - but it should give you a start.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-07T15:03:56.783" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="911" PostTypeId="1" AcceptedAnswerId="913" CreationDate="2016-10-07T15:05:06.933" Score="19" ViewCount="3475" Body="&lt;p&gt;From the content editor, is it possible to copy the presentation details, renderings, layout, etc.. from Item A and paste onto Item B? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd like to avoid creating a duplicate of A and then resetting the content field values manually.&lt;/p&gt;&#xA;" OwnerUserId="509" LastActivityDate="2016-10-07T15:51:00.267" Title="Possible to copy the presentation details of one item to another?" Tags="|presentation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="912" PostTypeId="2" ParentId="911" CreationDate="2016-10-07T15:07:54.520" Score="15" Body="&lt;p&gt;Yes. Open the presentation details of the item you want to copy from. you will see a link &quot;Copy To&quot; beside &quot;Edit&quot;. You can pick which target devices you want and to which item you want to copy the presentation details&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2016-10-07T15:10:36.497" LastActivityDate="2016-10-07T15:10:36.497" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="913" PostTypeId="2" ParentId="911" CreationDate="2016-10-07T15:13:09.167" Score="20" Body="&lt;p&gt;Yes, the presentation values of Item A are stored as an XML construct in the raw values of the Renderings field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see that field here:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/kyfIn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kyfIn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you follow the blue arrows and click on Raw Values you'll see:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qbFuy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qbFuy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Raw Values Method&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select the rendering field value, copy, and then in &lt;strong&gt;Item B&lt;/strong&gt;, do the same thing, but &lt;em&gt;PASTE&lt;/em&gt; the field value there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Turn off Raw Values, and you should see the presentation on both Items now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Editor Method&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use the &lt;em&gt;Copy To&lt;/em&gt; dialogue as well.  Which has been there forever, and I always forget about it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xgGyp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xgGyp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;SPECIAL NOTE&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;While this is the direct answer to your question, there is an&#xA;  architectural viewpoint that must be considered. Generally, adjusting&#xA;  presentation on &lt;em&gt;Items&lt;/em&gt; directly is frown upon, because you break the&#xA;  association that it might have with the Template Standard Values that&#xA;  the Item derives from.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;In those cases, generally you only muck with &lt;strong&gt;Final Renderings&lt;/strong&gt; on&#xA;  the item itself, and &lt;strong&gt;Renderings&lt;/strong&gt; on the Template Standard Values&#xA;  that the Item is made from.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;For more information on that, take a peek at Sitecore's documentation&#xA;  on &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/creating_and_editing_items/editing/edit_the_layout_of_an_item&quot; rel=&quot;noreferrer&quot;&gt;editing the layout of an item&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-07T15:27:18.103" LastActivityDate="2016-10-07T15:27:18.103" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="914" PostTypeId="2" ParentId="909" CreationDate="2016-10-07T15:20:22.027" Score="0" Body="&lt;p&gt;It could be an issue with the space in your URL.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try changing it to this untested code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img class=&quot;callout-grid__image&quot; srcset=&quot;@Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(string.Format(&quot;{0}?w=300%201x&quot;, Model.GlassModel.CalloutImage.Src)), &#xA;             @Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(string.Format(&quot;{0}?w=300%202x&quot;, Model.GlassModel.CalloutImage.Src))&quot; &#xA;     alt=&quot;@Model.GlassModel.CalloutImage.Alt&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="369" LastActivityDate="2016-10-07T15:20:22.027" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="915" PostTypeId="2" ParentId="909" CreationDate="2016-10-07T15:20:42.030" Score="7" Body="&lt;p&gt;It looks like your problem is the &lt;code&gt;1x&lt;/code&gt; being before the hash parameter - that part doesn't need to be included in the hash.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try changing to this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;img class=&quot;callout-grid__image&quot; &#xA;    srcset=&quot;@Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(string.Format(&quot;{0}?w=300&quot;, Model.GlassModel.CalloutImage.Src))  1x, &#xA;            @Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(string.Format(&quot;{0}?w=300&quot;, Model.GlassModel.CalloutImage.Src))  2x&quot; &#xA; alt=&quot;@Model.GlassModel.CalloutImage.Alt&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The 1x and 2x should be after the Url, whereas the hash query string is part of the Url. This change would produce the url like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;img class=&quot;callout-grid__image&quot; &#xA; srcset=&quot;http://url/imagename.jpg?w=300&amp;amp;hash=8628BA4B70220C694175BAD0EDA760C280B00BC4 1x, &#xA;         http://url/imagename.jpg?w=600&amp;amp;hash=8628BA4B70220C694175BAD0EDA760C280B00BC4 2x&quot; &#xA; alt=&quot;The Alt Text&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-07T15:20:42.030" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="916" PostTypeId="2" ParentId="750" CreationDate="2016-10-07T15:26:43.927" Score="2" Body="&lt;p&gt;I had a similar error today and created a question about it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/886/&quot;&gt;Duplicate item errors when syncing a TDS project&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although the error is not exactly the same, try this fix:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to &lt;em&gt;Tools→Options→TDS Options&lt;/em&gt; and set &lt;em&gt;Background Cache Loading&lt;/em&gt; to &lt;code&gt;False&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cWpMI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cWpMI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Restart Visual Studio.&lt;/li&gt;&#xA;&lt;li&gt;Set &lt;em&gt;Background Cache Loading&lt;/em&gt; back to &lt;code&gt;True&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For me, errors stopped after performing these steps.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-07T15:26:43.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="917" PostTypeId="2" ParentId="750" CreationDate="2016-10-07T15:35:47.537" Score="1" Body="&lt;p&gt;To fix this, I eventually just opened the TDS project in text editor and removed the duplicate  item in question. I could then re-sync the items without any problems.&lt;/p&gt;&#xA;" OwnerUserId="509" LastActivityDate="2016-10-07T15:35:47.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="918" PostTypeId="2" ParentId="64" CreationDate="2016-10-07T15:40:04.530" Score="2" Body="&lt;p&gt;I seem to remember encountering a similar issue when running Sitecore in Azure. After each deploy, the site is effectively running on a brand new machine and the Coveo connector would create a new Security Provider in CES. The password would fail and ultimately our Coveo user account in Sitecore would get disabled for too many login failures.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We ultimately solved this by creating the Security Provider in the Coveo interface, then specifying it in the Coveo.SearchProvider.config file. The XML path for the settings are sitecore/coveo/defaultIndexConfiguration. Specifically, you'll want to make sure to set:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;SecurityProviderName&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;UserIdentityName&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreUsername&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecorePassword&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="249" LastActivityDate="2016-10-07T15:40:04.530" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="919" PostTypeId="2" ParentId="230" CreationDate="2016-10-07T15:40:13.567" Score="4" Body="&lt;p&gt;I'm taking a stab in the dark, but it sounds like this is an issue with the EventQueue getting too large.  If as you say an event is generated in the EventQueue for every user being imported, then we're looking at 90,000 rows being generated for every import.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These rows will only be removed when Sitecore's EventQueue CleanUp agent runs, and by default, this is set to 1 day:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.CleanupEventQueue, Sitecore.Kernel&quot; method=&quot;Run&quot; interval=&quot;04:00:00&quot;&amp;gt;&#xA;  &amp;lt;DaysToKeep&amp;gt;1&amp;lt;/DaysToKeep&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Naturally, if this is running multiple times per day, this table can get quite large, and further EventQueue processing will take longer due to the number of entries being sorted and processed in DESC order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As @g-killian recommended, either try disabling the EventQueue entirely to see if that helps, or decrease the amount of time that entries are kept alive by changing the CleanupEventQueue interval.  You should be able to use a value less than 1 day by specifying an &lt;code&gt;&amp;lt;intervalToKeep&amp;gt;hh:mm:ss&amp;lt;/intervalToKeep&amp;gt;&lt;/code&gt; value instead of &lt;code&gt;&amp;lt;DaysToKeep /&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="420" LastEditorUserId="246" LastEditDate="2016-10-07T15:46:49.333" LastActivityDate="2016-10-07T15:46:49.333" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="920" PostTypeId="1" CreationDate="2016-10-07T15:41:19.767" Score="6" ViewCount="604" Body="&lt;p&gt;We faced the following issue with Unicorn serialisation and I wanted to share it just in case someone has a better solution/workaround to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Unicorn 2.0.4 on a project where we cannot (at least by now) upgrade to Unicorn 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When an item is renamed on Sitecore, unicorn doesn't detect it and *.item files remain on disk with their original names and content with the following attributes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;path: Pointing to the original path which is wrong&lt;/li&gt;&#xA;&lt;li&gt;parent: Pointing to their parent Id which is right as the id didn't change in the rename.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Moreover, if the renamed item has children then the *.item files representing those children are not updated either. They are kept in a folder with the old name and with their &quot;path&quot; attribute pointing to the wrong path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the developer has several *.item files with changes to be comited it is easy commit them without realising about the issue in which case the changes are lost.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Things can get even worse if additional changes are done to the renamed item (or its children) then Unicorn create new *.item files only for those items that are updated. If there are other descendant not being updated then their associated *.item file is not created. This scenario makes more difficult to detect the missing items and more time consuming to fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the issue is detected then we need to make sure all items in a subtree are serialised. The only way (I know) to do it is by manually modifying all descendants, one by one, which implied: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Edit any field&lt;/li&gt;&#xA;&lt;li&gt;Save the item&lt;/li&gt;&#xA;&lt;li&gt;Restore the field to its original value&lt;/li&gt;&#xA;&lt;li&gt;Save the item again&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Once all items have been serialised, we have to delete the old *.item to avoid duplications when reverting serialised items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My main questions are: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Does anyone know a way to make Unicorn detect item re-naming?&lt;/li&gt;&#xA;&lt;li&gt;Is there an easy way (without changing serialisation configuration) to make Unicorn serialise an item with its children?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Additional questions are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Does Unicorn 3 handle this scenario better?&lt;/li&gt;&#xA;&lt;li&gt;Does TDS have this issue?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="595" LastActivityDate="2016-10-07T16:00:24.617" Title="Unicorn (2.0.4) issue when renaming items" Tags="|tds|unicorn|continuous-integration|serialization|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="921" PostTypeId="2" ParentId="911" CreationDate="2016-10-07T15:42:08.433" Score="10" Body="&lt;p&gt;If you have Sitecore Powershell Extensions installed then &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/&quot; rel=&quot;noreferrer&quot;&gt;there is an OOTB module&lt;/a&gt; available to copy/paste renderings between items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Simply right click the item, then select &lt;code&gt;Scripts &amp;gt; Layout &amp;gt; Copy Renderings&lt;/code&gt; and then select the &lt;code&gt;Paste Rendering&lt;/code&gt; option on the item you want to copy to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oQnde.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oQnde.png&quot; alt=&quot;Copy Renderings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-10-07T15:51:00.267" LastActivityDate="2016-10-07T15:51:00.267" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="922" PostTypeId="1" AcceptedAnswerId="1174" CreationDate="2016-10-07T15:47:45.827" Score="5" ViewCount="266" Body="&lt;p&gt;The issue is located in the content editor (using Sitecore 8.1-upd1 btw):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;we search for an item inside a bucket and go to it (it opens in a new tab in the requested version - here v3) - lets call this 'item1'&lt;/li&gt;&#xA;&lt;li&gt;we navigate to any other item outside the bucket&lt;/li&gt;&#xA;&lt;li&gt;we go back to our bucket&lt;/li&gt;&#xA;&lt;li&gt;we click on the tab (which is still there) with our first 'item1'&lt;/li&gt;&#xA;&lt;li&gt;this 'item1' is now shown in version 1, even if it does not exist anymore&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Does anybody know a fix for this? Is it still the case in later versions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And: is there maybe another way of viewing/editing bucketed items that we can use to work around this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: as this is a known bug now - is there another way to edit the items and keep the search interface for the editors?&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-10T09:06:28.483" LastActivityDate="2016-10-12T12:37:53.933" Title="Editing bucketed items with multiple versions in the content editor" Tags="|content-editor|buckets|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="923" PostTypeId="2" ParentId="836" CreationDate="2016-10-07T15:55:30.403" Score="4" Body="&lt;p&gt;If you only want to run your custom logic when the user saves an item from within the Sitecore client, you could use a &lt;code&gt;saveUI&lt;/code&gt; pipeline processor instead.  This would eliminate the need to check for these background job scenarios.  Here is the basic structure of a &lt;code&gt;saveUI&lt;/code&gt; processor:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;using Sitecore.Pipelines.Save;&#xA;&#xA;namespace Example.Web.Pipelines.Save&#xA;{&#xA;    public class MySaveProcessor&#xA;    {&#xA;        public virtual void Process(SaveArgs args)&#xA;        {&#xA;            foreach (SaveArgs.SaveItem saveItem in args.Items)&#xA;            {&#xA;                var item = Sitecore.Context.ContentDatabase.Items[saveItem.ID, saveItem.Language, saveItem.Version];&#xA;                if (item != null)&#xA;                {&#xA;                    DoCustomLogic(item);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        protected virtual void DoCustomLogic(Item item)&#xA;        {&#xA;            // Do your thing&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want this to run before the save actually occurs like the &lt;code&gt;item:saving&lt;/code&gt; event does, you would want to patch this in before the &lt;code&gt;Save&lt;/code&gt; processor:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;processors&amp;gt;&#xA;      &amp;lt;saveUI&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot; type=&quot;Example.Web.Pipelines.Save.MySaveProcessor, Example.Web&quot; patch:before=&quot;processor[@type='Sitecore.Pipelines.Save.Save, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/saveUI&amp;gt;&#xA;    &amp;lt;/processors&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more info, see this article from John West on the various ways to intercept item saves:&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-intercepting-item-updates-with-sitecore&quot; rel=&quot;nofollow&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-intercepting-item-updates-with-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-07T15:55:30.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="924" PostTypeId="2" ParentId="920" CreationDate="2016-10-07T16:00:24.617" Score="5" Body="&lt;p&gt;This is hard to answer because it's really several questions at once. To start with, YES Unicorn 3 handles things much better because it has more control over its serialization system. Unicorn 2 is a bit hamstrung because it's using the built in APIs which have some fun bugs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unicorn 2.x should, however, support most kinds of renaming without issue. If your items are deeply nested, that could cause issues (the way Sitecore's serialization format handles long paths is ugly). Check your configuration and make sure the config files are unmodified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're using the same dataFolder\serialization root folder that Sitecore serialization uses, the &quot;Dump Tree&quot; button on the Developer tab of the ribbon should dump a single tree for you, making sure it's all serialized. If you have a different root, you'll need to reserialize but that dumps the whole thing. In Unicorn 3.x, it takes over the (dump/serialize) tree and item for items it knows about, enabling just this use case.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2016-10-07T16:00:24.617" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="925" PostTypeId="1" AcceptedAnswerId="941" CreationDate="2016-10-07T16:17:57.740" Score="5" ViewCount="5565" Body="&lt;p&gt;I have a component on my page that is a controller rendering and I'd like to pass a parameter in through the URL, but not as a query string parameter.  So, instead of &lt;code&gt;site.com/product?id=123&lt;/code&gt;, I want: &lt;code&gt;site.com/product/123&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/product&lt;/code&gt; is a valid page with a layout and renderings, but when I try to go to &lt;code&gt;/product/123&lt;/code&gt;, I naturally get &quot;document not found&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I just need to add a custom route for this page in the &lt;code&gt;initialize&lt;/code&gt; pipeline?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I should know this, but, alas, I don't.&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2016-10-07T17:05:05.260" Title="Passing a parameter to controller rendering through URL" Tags="|mvc|pipelines|routing|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="926" PostTypeId="1" CreationDate="2016-10-07T16:19:42.363" Score="8" ViewCount="211" Body="&lt;p&gt;We have a v7.5 instance that we are going to upgrade to v8.1-3. Current we have ECM 2.2 installed and we have used it a bit. We have a large number of users that have been imported in to the system through ECM. We have made the decision to remove ECM 2.2 from our instance (because the ECM to EXM upgrade is a nightmare), upgrade to v8.1-3 then install EXM 3.3 and sort of start over.  However we don't want to lose the users that have already been imported.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is my understanding that as part of the ECM to EXM upgrade there is a utility called ConvertUsersToContacts.aspx that is run.  Should I run this utility as part of my upgrade from v7.5 to v8.0 even though we will have removed ECM 2.2? I just finished my upgrade from v7.5 to v8.0 (haven't gone all the way to 8.1-3 yet) and I have tried running it.  However the page doesn't seem to do anything. It just sits there and refreshes every 4 seconds saying &quot;Task is waiting for processing&quot;. I don't get the sense that it is doing anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any guidance or direction here would be a great help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Corey&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="3136" LastEditDate="2018-02-09T08:33:57.807" LastActivityDate="2018-02-09T08:33:57.807" Title="Converting users to contacts when upgrading from v7.5 to v8.0" Tags="|exm|upgrade|ecm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="927" PostTypeId="2" ParentId="925" CreationDate="2016-10-07T16:25:40.187" Score="3" Body="&lt;p&gt;Longhorn I've handled this by doing a url re-write in IIS to convert your request for a SEO Friendly url to a parameter based one like so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;rule name=&quot;Friendly Product Urls&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;^(.*)products/(product)/([0-9]+)&quot; /&amp;gt;&#xA;    &amp;lt;action type=&quot;Rewrite&quot; url=&quot;{R:1}products/product?id={R:3}&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My controller action then picks this up fine:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index(string id)&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Would this work for you? I'd be interested in how others have solved this though.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="114" LastEditDate="2016-10-07T17:05:05.260" LastActivityDate="2016-10-07T17:05:05.260" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="928" PostTypeId="1" AcceptedAnswerId="943" CreationDate="2016-10-07T16:26:59.193" Score="1" ViewCount="304" Body="&lt;p&gt;I want to post a file to a controller/action in my Sitecore project via a &quot;file&quot; input tag. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;input value=&quot;choose file&quot; type=&quot;file&quot; id=&quot;bulk-upload&quot;&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I see examples, similar to below, online using forms. Is there a better/other way to do this?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;@using (Html.BeginForm (&quot;file&quot;, &quot;upload&quot;, FormMethod.Post, new { enctype = &quot;multipart/form-data&quot; })) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="598" LastEditorUserId="70" LastEditDate="2017-09-15T13:50:40.060" LastActivityDate="2017-09-15T13:50:40.060" Title="Posting a file to a controller action in Sitecore" Tags="|mvc-forms|" AnswerCount="1" CommentCount="1" ClosedDate="2016-10-10T13:26:40.950" ContentLicense="CC BY-SA 3.0" />
  <row Id="929" PostTypeId="1" AcceptedAnswerId="933" CreationDate="2016-10-07T16:29:22.083" Score="8" ViewCount="325" Body="&lt;p&gt;If I am starting a basic Sitecore MVC project, which package(s) should I install?  The main &lt;code&gt;Sitecore&lt;/code&gt; package seems like overkill.  For now I will just be creating some basic components, though some will probably need to use the Content Search APIs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have read the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&quot;&gt;doc page&lt;/a&gt; and this &lt;a href=&quot;https://jermdavis.wordpress.com/2016/09/05/the-official-sitecore-nuget-feed-is-here/&quot;&gt;blog from Jeremy Davis&lt;/a&gt;, but I haven't found anything that identifies the best meta-packages to use for common taks.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2016-10-07T16:34:57.420" LastActivityDate="2016-10-07T16:41:16.303" Title="Which Sitecore Nuget Package should I use?" Tags="|nuget|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="930" PostTypeId="2" ParentId="925" CreationDate="2016-10-07T16:33:45.867" Score="7" Body="&lt;p&gt;I've done this before using a wildcard item for the parameter and a custom resolver processor that runs just after the &lt;code&gt;ItemResolver&lt;/code&gt; - The &lt;code&gt;ItemResolver&lt;/code&gt; should resolve to &lt;code&gt;/sitecore/content/mysite/products/*&lt;/code&gt; - so in my custom resolver I know if I'm on that item, parse the Url, take the last segment and store the value somewhere - like &lt;code&gt;Sitecore.Context.Items[&quot;productId&quot;]&lt;/code&gt; - then use that in the controller action.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;p&gt;Once that is done, set &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; to the parent, so you get the presentation for the &lt;code&gt;Products&lt;/code&gt; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example controller action then:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index(string id)&#xA;{&#xA;    var productId = Sitecore.Context.Items[&quot;productId&quot;].ToString();&#xA;    // Do something with that here...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-10-07T16:43:06.090" LastActivityDate="2016-10-07T16:43:06.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="931" PostTypeId="2" ParentId="929" CreationDate="2016-10-07T16:38:32.690" Score="2" Body="&lt;p&gt;There are few different types of NuGet packages available with Sitecore public NuGet. One type is, with all the references, which is the one you have mention. Other type is Individual dll Nuget packages.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want individual dlls, then you can use &lt;strong&gt;.NoReference&lt;/strong&gt; dll NuGet Packages from Sitecore public Nuget source.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-07T16:38:32.690" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="932" PostTypeId="1" AcceptedAnswerId="942" CreationDate="2016-10-07T16:38:43.723" Score="5" ViewCount="570" Body="&lt;p&gt;We are int he process of upgrading out solution and found that some of our glass models are not populating. IPage implementations are not showing up values in the IGlassBase. Here are the sample models:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IPage&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public interface IPage : IBasePage&#xA;{&#xA;    [SitecoreField]&#xA;    string Title { get; set; }&#xA;    [SitecoreField]&#xA;    string Body { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IGlassBase&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public interface IGlassBase&#xA;{&#xA;    Guid Id { get;  set; }&#xA;&#xA;    Language Language { get;  set; }&#xA;&#xA;    int Version { get;  set; }&#xA;&#xA;    Guid BaseTemplateIds { get; set; }&#xA;&#xA;    string TemplateName { get;  set; }&#xA;&#xA;    Guid TemplateId { get; set; }&#xA;&#xA;    string Name { get;  set; }&#xA;&#xA;    string Url { get;  set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;GlassGlassBaseMap&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class GlassGlassBaseMap : SitecoreGlassMap&amp;lt;IGlassBase&amp;gt;&#xA;{&#xA;&#xA;    public override void Configure()&#xA;    {&#xA;        Map(x =&amp;gt;&#xA;        {&#xA;            x.AutoMap();&#xA;            x.Info(y =&amp;gt; y.BaseTemplateIds).InfoType(SitecoreInfoType.BaseTemplateIds);&#xA;        });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="146" LastEditorUserId="10" LastEditDate="2016-10-07T17:00:21.460" LastActivityDate="2016-10-07T17:25:13.970" Title="Glass Models not populating" Tags="|glass-mapper|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="933" PostTypeId="2" ParentId="929" CreationDate="2016-10-07T16:40:43.063" Score="11" Body="&lt;p&gt;At the very least, you'll want the Sitecore.Kernel assembly which contains the core API and most of the utilty classes you will use when working with Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Kernel&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For working with MVC, grab the MVC package:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Mvc&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are going to be using ContentSearch and will work with Lucene indexes, you can get:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.ContentSearch.Linq.Lucene&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each of these packages has a &lt;code&gt;.NoReferences&lt;/code&gt; suffix variant which will get that single assembly and reference no other packages.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-07T16:40:43.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="934" PostTypeId="2" ParentId="929" CreationDate="2016-10-07T16:41:16.303" Score="1" Body="&lt;p&gt;At a minimum you would want &lt;code&gt;Sitecore.Kernel&lt;/code&gt; and &lt;code&gt;Sitecore.Mvc&lt;/code&gt;. This would give you enough to create basic components with MVC integration.&lt;/p&gt;&#xA;" OwnerUserId="394" LastActivityDate="2016-10-07T16:41:16.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="935" PostTypeId="2" ParentId="926" CreationDate="2016-10-07T16:44:34.633" Score="5" Body="&lt;p&gt;&lt;strong&gt;Upgrade Script: ConvertUsersToContact.aspx&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This script utilizes the standard Task Manager in Sitecore in order to process contacts.  If for some reason, you have the &lt;code&gt;processing\taskManager&lt;/code&gt; disabled, stopped, or otherwise not activated, the ConvertUsersToContact.aspx will hang on &lt;code&gt;Task is waiting for processing.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private string GetStatusString(ProcessingTaskStatus status)&#xA;{&#xA;  switch (status)&#xA;  {&#xA;    case ProcessingTaskStatus.New:&#xA;      return &quot;Task is waiting for processing&quot;;&#xA;    case ProcessingTaskStatus.Processing:&#xA;      return &quot;Processing...&quot;;&#xA;    case ProcessingTaskStatus.Processed:&#xA;      return &quot;Completed&quot;;&#xA;    case ProcessingTaskStatus.Failed:&#xA;      return &quot;Failure. See log file for details&quot;;&#xA;    default:&#xA;      return string.Empty;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Contextual Information:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the advent of xDB in Sitecore 8, there are now two repositories that contain user/contact/visitor information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore, one is the User profiles&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;These are the actual user accounts that Sitecore uses stored via the Membership provider mechanism.&lt;/li&gt;&#xA;&lt;li&gt;These are identified via a &lt;strong&gt;domain/&lt;/strong&gt; and can have custom profile information stored with them.&lt;/li&gt;&#xA;&lt;li&gt;And they have an email address.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In xDB, they are called Contacts.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Contacts are identified by usually an email address and monitor and track interactions and page visits.&lt;/li&gt;&#xA;&lt;li&gt;Contacts contain a unique ID (GUID) that are key associated to the Interactions. (Note: this means that you could have multiple contacts with the same Email Address, but different Contact ID's. &lt;em&gt;Out of scope of this answer&lt;/em&gt;)&lt;/li&gt;&#xA;&lt;li&gt;xDB can have custom facets for storing additional information.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Enter ECM/EXM:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In Legacy ECM, there was no such thing as xDB, so the only user profile was from the membership provider.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;When ECM would create the user (say if you imported through CSV file), the User &lt;strong&gt;&lt;em&gt;Name&lt;/em&gt;&lt;/strong&gt; was in the manner of &lt;strong&gt;domain/emailaddress_at_somedomain_dot_com&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;In EXM, EXM now uses xDB Contacts as the main contact record. Generally (OOTB) the email address is considered the primary identifier, especially when using the List Manager CSV upload (it can be changed though).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ONE BIG NOTE ABOUT IDENTIFIERS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using the conversion tool above, notice the create user logic below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace Sitecore.Analytics.Conversion.UserToContact.ConversionLogic&#xA;{&#xA;  public class UserToContactConvertor&#xA;  {&#xA;    public ProcessingResult Convert(Guid itemId)&#xA;    {&#xA;      User user = this.GetUser(itemId);&#xA;      if ((Account) user == (Account) null)&#xA;        return ProcessingResult.Processed;&#xA;      ContactRepositoryBase contactRepositoryBase = Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepositoryBase;&#xA;      Assert.IsNotNull((object) contactRepositoryBase, &quot;tracking/contactRepository&quot;);&#xA;      LeaseOwner owner = new LeaseOwner(&quot;UserToContactConvertor&quot;, LeaseOwnerType.OutOfRequestWorker);&#xA;      LockAttemptResult&amp;lt;Contact&amp;gt; lockAttemptResult = contactRepositoryBase.TryLoadContact(user.Name, owner, TimeSpan.FromMinutes(1.0));&#xA;      Contact contact;&#xA;      switch (lockAttemptResult.Status)&#xA;      {&#xA;        case LockAttemptStatus.Success:&#xA;          contact = lockAttemptResult.Object;&#xA;          break;&#xA;        case LockAttemptStatus.NotFound:&#xA;          contact = contactRepositoryBase.CreateContact(itemId);&#xA;          contact.get_Identifiers().set_Identifier(user.Name);&#xA;          break;&#xA;        default:&#xA;          return ProcessingResult.Postpone;&#xA;      }&#xA;      //snip&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice here that, if the contact is not found &lt;code&gt;LockAttemptStatus.NotFound&lt;/code&gt;, the creates a Contact and sets the identifier as the &lt;strong&gt;&lt;em&gt;User.Name&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I bring this up, because if at any point in time in the future, you&#xA;  load up a List from List Manager's CSV upload using the email address&#xA;  as the identifier, or you utilize the&#xA;  &lt;code&gt;Tracker.Current.Session.Identify(string identifier)&lt;/code&gt; from the website&#xA;  using email address as the identifier, &lt;strong&gt;you will effectively have two&#xA;  distinct contacts with different identifiers&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-07T16:44:34.633" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="936" PostTypeId="2" ParentId="932" CreationDate="2016-10-07T16:53:16.627" Score="0" Body="&lt;p&gt;You might need to add the &lt;code&gt;[SitecoreType]&lt;/code&gt; attribute.  Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[SitecoreType(TemplateId=MyTemplateIds.Page)]&#xA;public interface IPage : IBasePage&#xA;{&#xA;    [SitecoreField]&#xA;    string Title { get; set; }&#xA;    [SitecoreField]&#xA;    string Body { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-07T16:53:16.627" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="937" PostTypeId="1" AcceptedAnswerId="1003" CreationDate="2016-10-07T16:53:59.020" Score="3" ViewCount="266" Body="&lt;p&gt;I am creating a custom dropdown field for WFFM (SC 8.1 MVC).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've got it working nicely. However I am populating the data from an external API and I want to prevent content editors from thinking they can add Sitecore items to it from the form properties in the form designer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m9OG8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m9OG8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code ignores these items and clears them, but It's not a great user experience for content editors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm inhering from droplist like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyDropDownListWebForms : DropList&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried inheriting from ListControl or BaseUserControl instead but I don't want to loose all the properties, just the list items selection.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-10T10:36:01.650" Title="How do I prevent a WFFM field from displaying inherited properties?" Tags="|wffm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="938" PostTypeId="2" ParentId="925" CreationDate="2016-10-07T16:56:33.733" Score="3" Body="&lt;p&gt;How about using just a wildcard? Assuming all instances of &lt;code&gt;/product/xxx&lt;/code&gt; use the same layout, you'd create a single subpage under it called &lt;code&gt;*&lt;/code&gt; and set the renderigns on that item.  Then in your Controller Rendering, you'll need to read the product ID off of the the url.  Something like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var productID = Sitecore.Web.WebUtil.GetUrlName(0);&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="249" LastActivityDate="2016-10-07T16:56:33.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="939" PostTypeId="2" ParentId="932" CreationDate="2016-10-07T17:00:20.360" Score="0" Body="&lt;p&gt;ASURA - I think you need to make the properties on your model virtual.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This has tripped me up a few times before.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public interface IPage : IBasePage&#xA;{&#xA;    [SitecoreField]&#xA;    public virtual string Title { get; set; }&#xA;    [SitecoreField]&#xA;    public virtual string Body { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastEditorUserId="10" LastEditDate="2016-10-07T17:25:13.970" LastActivityDate="2016-10-07T17:25:13.970" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="940" PostTypeId="2" ParentId="865" CreationDate="2016-10-07T17:01:12.190" Score="16" Body="&lt;p&gt;Because you want to keep the content in the Master database, but you do not want to publish it to the web database, this may be a good opportunity to use Workflow.&lt;/p&gt;&#xA;&lt;h1&gt;If you're using Workflow on these pages&lt;/h1&gt;&#xA;&lt;p&gt;Here's how to fix your issue:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Establish which Workflow your fr-FR pages are using.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In that Workflow, create a new Workflow state called &amp;quot;Archived&amp;quot; or &amp;quot;Disabled&amp;quot;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure the &lt;em&gt;Archived&lt;/em&gt; State's &lt;code&gt;Final&lt;/code&gt; field is not checked off.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use C#, Sitecore Rocks, or Powershell to set the &lt;code&gt;Workflow State&lt;/code&gt; value of &lt;em&gt;all&lt;/em&gt; fr-FR Item versions to the &amp;quot;Archived&amp;quot; state created above.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Example Routine:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class Example&#xA;{&#xA;        public void Process()&#xA;        {&#xA;            var database = Sitecore.Configuration.Factory.GetDatabase(&amp;quot;master&amp;quot;);&#xA;            var language = Language.Parse(&amp;quot;fr-FR&amp;quot;);&#xA;            var items = database.SelectItems(&amp;quot;/sitecore/content//*&amp;quot;);&#xA;&#xA;            foreach (var item in items)&#xA;            {&#xA;                var localized = item.Database.GetItem(item.ID, language);&#xA;                SetWorkflowState(localized);&#xA;&#xA;                var olderVersions = localized.Versions.GetOlderVersions();&#xA;&#xA;                foreach (var version in olderVersions)&#xA;                {&#xA;                    SetWorkflowState(version);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        private void SetWorkflowState(Item item)&#xA;        {&#xA;            item.Editing.BeginEdit();&#xA;            item.Fields[FieldIDs.WorkflowState].Value = DisabledWorkflowStateId;&#xA;            item.Editing.EndEdit();&#xA;        }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I'm sure a powershell ace will add the equivalent in Powershell here.&lt;/p&gt;&#xA;&lt;h1&gt;If you're &lt;em&gt;not&lt;/em&gt; using Workflow Yet&lt;/h1&gt;&#xA;&lt;p&gt;You must first set the Workflow for these Page Templates in their &lt;code&gt;Standard Values&lt;/code&gt;, then you can proceed as above.&lt;/p&gt;&#xA;&lt;h1&gt;Don't Forget to Publish!&lt;/h1&gt;&#xA;&lt;p&gt;You'll probably want to run a full-site &lt;em&gt;smart&lt;/em&gt; Publish to remove the fr-FR language content from the site - Keep in mind that you &lt;em&gt;only&lt;/em&gt; need to publish the fr-FR language, which should keep your smart-publish burden down.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-09T08:29:31.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="941" PostTypeId="2" ParentId="925" CreationDate="2016-10-07T17:01:25.877" Score="6" Body="&lt;p&gt;Rather than an item named &lt;code&gt;product&lt;/code&gt;, create an item named &lt;code&gt;products&lt;/code&gt; that represents the entire collection, and then create a child item named &lt;code&gt;*&lt;/code&gt; to represent any individual product.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wildcard items will be resolved with any path that doesn't match an existing item, so if your tree is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/products&#xA;/products/example&#xA;/products/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A request to &lt;code&gt;http://example.com/products/example&lt;/code&gt; will get you the &lt;code&gt;/products/example&lt;/code&gt; item, whereas a request to &lt;code&gt;http://example.com/products/123&lt;/code&gt; will get you the &lt;code&gt;/products/*&lt;/code&gt; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With your items named appropriately, it then makes sense that a request to &lt;code&gt;http://example.com/products&lt;/code&gt; would return some sort of collection view of &lt;em&gt;all&lt;/em&gt; products, whereas &lt;code&gt;http://example.com/products/123&lt;/code&gt; would return the details for the product with an ID of &lt;code&gt;123&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will be up to you to parse the current URL for the ID of the product. Additionally, you will need to manually handle 404 errors, as Sitecore can't tell whether or not a given path is meant to exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as assigning renderings, presentation details set on the &lt;code&gt;*&lt;/code&gt; item will be applied to the given request.&lt;/p&gt;&#xA;" OwnerUserId="286" LastActivityDate="2016-10-07T17:01:25.877" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="942" PostTypeId="2" ParentId="932" CreationDate="2016-10-07T17:08:33.663" Score="8" Body="&lt;p&gt;You can't mix configuration methods in Glass Mapper. Your &lt;code&gt;IPage&lt;/code&gt; model is using attribute configuration but your &lt;code&gt;IGlassBase&lt;/code&gt; model is using fluent configuration. Remove the &lt;code&gt;SitecoreField&lt;/code&gt; attributes from your &lt;code&gt;IPage&lt;/code&gt; properties or add &lt;code&gt;SitecoreField&lt;/code&gt; attributes to all of your &lt;code&gt;IGlassBase&lt;/code&gt; properties and remove your fluent configuration map.&lt;/p&gt;&#xA;" OwnerUserId="10" LastActivityDate="2016-10-07T17:08:33.663" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="943" PostTypeId="2" ParentId="928" CreationDate="2016-10-07T17:20:27.110" Score="6" Body="&lt;p&gt;In de &lt;code&gt;HttpPost&lt;/code&gt; action method, capture your file by using a model object as parameter that has a property of the type &lt;code&gt;HttpPostedFileBase&lt;/code&gt; with the same name as your input file field.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;// The model&#xA;public class MyModel&#xA;{&#xA;    public HttpPostedFileBase UploadedFile { get; set; }&#xA;}&#xA;&#xA;// The action method&#xA;[HttpPost]&#xA;public ActionResult MyAction(MyModel model)&#xA;{&#xA;    var file = model.UploadedFile;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the view you posted, only the &lt;code&gt;name&lt;/code&gt; attribute is missing to comply with this example code.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;input value=&quot;choose file&quot; type=&quot;file&quot; id=&quot;bulk-upload&quot; name=&quot;UploadedFile&quot;&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="114" LastEditorUserId="114" LastEditDate="2016-10-10T06:57:27.417" LastActivityDate="2016-10-10T06:57:27.417" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="944" PostTypeId="1" AcceptedAnswerId="1038" CreationDate="2016-10-07T17:34:23.630" Score="5" ViewCount="129" Body="&lt;p&gt;After installing a Sitecore Update Package via the Update Installation Wizard, there is still a manual step required to active any config files that would be overwritten. Does anyone have a script or other means of activating them all quickly, for cases where you are confident in your config management?&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2016-10-07T17:50:02.157" LastActivityDate="2016-10-19T19:08:59.947" Title="Activate all configs after installing Update Package" Tags="|update-packages|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="945" PostTypeId="2" ParentId="944" CreationDate="2016-10-07T17:38:58.873" Score="4" Body="&lt;p&gt;Have you tried the &lt;a href=&quot;http://www.hhogdev.com/blog/2015/september/sitecore-package-deployer.aspx&quot; rel=&quot;nofollow&quot;&gt;Sitecore Package Deployer&lt;/a&gt;? You basically upload the .update package to a specific folder, it installs it, and then does that whole config activation. I've been using this for my production deploys now for 9 months and it saves so much time and hassle.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-10-07T17:38:58.873" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="946" PostTypeId="5" CreationDate="2016-10-07T18:00:24.460" Score="0" Body="&lt;p&gt;Unicorn is a utility for Sitecore that solves the issue of moving templates, renderings, and other database items between Sitecore instances. This becomes problematic when developers have their own local instances - packages are error-prone and tend to be forgotten on the way to production. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unicorn solves this issue by using the Serialization APIs to keep copies of Sitecore items on disk along with the code - this way, a copy of the necessary database items for a given codebase accompanies it in source control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/U/Unicorn.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/U/Unicorn.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://blog.karbyn.com/articles/sitecore-getting-started-with-unicorn/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.karbyn.com/articles/sitecore-getting-started-with-unicorn/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/kamsar/Unicorn&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/Unicorn&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kamsar.net/index.php/2017/02/Unicorn-4-Preview-Part-2-5-Generating-Packages-with-SPE/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2017/02/Unicorn-4-Preview-Part-2-5-Generating-Packages-with-SPE/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T05:30:55.160" LastActivityDate="2018-02-14T05:30:55.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="947" PostTypeId="4" CreationDate="2016-10-07T18:00:24.460" Score="0" Body="Unicorn is a utility for Sitecore that solves the issue of moving templates, renderings, and other database items between Sitecore instances. All questions about the Unicorn module for Sitecore, should use this tag." OwnerUserId="237" LastEditorUserId="2727" LastEditDate="2019-01-09T12:41:56.763" LastActivityDate="2019-01-09T12:41:56.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="948" PostTypeId="2" ParentId="922" CreationDate="2016-10-07T18:00:52.413" Score="5" Body="&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might be able to workaround the issue using only the search interface if you explicitly configure the 'version' search filter:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FLys2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FLys2.png&quot; alt=&quot;Configure Search Filters&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Click on the arrow drop-down (left of the search box) to bring up the search fly-out&lt;/li&gt;&#xA;&lt;li&gt;Click on the 'Search Filters' link, and then select 'Search by version'&lt;/li&gt;&#xA;&lt;li&gt;In the search box, the 'Version' filter should now be visible.  Fill in the appropriate version number (2), and then click on the icon to the left of the 'Version' text until it changes to the 'plus' symbol.&lt;/li&gt;&#xA;&lt;li&gt;Finally, fill in the rest of your search query as you had it before.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This should filter down the search results to the appropriate item, with the appropriate version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Original workaround:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@maziar-rezaei is correct - I believe this is a bug in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a workaround, you can go to the 'View' tab in the Sitecore ribbon in Content Editor, and then select the 'Buckets' checkbox:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/u7YLG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u7YLG.png&quot; alt=&quot;Select Buckets in View tab&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will allow you to view the underlying tree structure of the Sitecore bucket, allowing you to directly find and then edit the item in question.&lt;/p&gt;&#xA;" OwnerUserId="420" LastEditorUserId="420" LastEditDate="2016-10-07T18:28:12.460" LastActivityDate="2016-10-07T18:28:12.460" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="949" PostTypeId="1" AcceptedAnswerId="950" CreationDate="2016-10-07T18:14:56.927" Score="7" ViewCount="742" Body="&lt;p&gt;The site was recently upgrdaded to 8.1 and although I can access the Desktop, the content editor throws an error when launched.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a local instance of Sitecore that uses Coveo. After all the database restoration, getting the project working etc. - I go to open the Content Editor only to get a &quot;Could not retrieve Coveo for Sitecore license&quot; message. The Coveo license is in the same folder as the Sitecore license (which is correct since Sitecore login works just fine). I cannot seem to update the Coveo license via the control panel - there is no option to do so. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In fact, I don't even need Coveo to do the work I am trying to get done, I just want to get into the Content Editor - any suggestions? &lt;/p&gt;&#xA;" OwnerUserId="583" LastActivityDate="2019-08-06T06:05:20.503" Title="Loading Content Editor Leads to A Coveo Licensing Error" Tags="|coveo|licensing|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="950" PostTypeId="2" ParentId="949" CreationDate="2016-10-07T18:14:56.927" Score="3" Body="&lt;p&gt;I disabled the &lt;code&gt;Coveo config&lt;/code&gt; files in the Coveo folder in &lt;code&gt;App_Config\Includes&lt;/code&gt;, by appending &lt;code&gt;.example&lt;/code&gt; to the end of each of them. I restarted the website and was able to access the content editor just fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I may have been able to download and install the Coveo Sitecore package, but I have not tried that. Will update this if I do.&lt;/p&gt;&#xA;" OwnerUserId="583" LastEditorUserId="5387" LastEditDate="2019-08-06T06:05:20.503" LastActivityDate="2019-08-06T06:05:20.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="951" PostTypeId="1" AcceptedAnswerId="970" CreationDate="2016-10-07T18:17:43.237" Score="4" ViewCount="85" Body="&lt;p&gt;Using a blank .NET 4.5 web project, the Sitecore NuGet package from &lt;a href=&quot;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&quot; rel=&quot;nofollow&quot;&gt;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&lt;/a&gt; for 8.1.160519 (u3) fails to install with the error message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Unable to find a version of 'Microsoft.AspNet.WebApi.Core' that is&#xA;compatible with 'Microsoft.AspNet.WebApi.Cors 5.1.2 constraint:&#xA;Microsoft.AspNet.WebApi.Core (&amp;gt;= 5.1.2 &amp;amp;&amp;amp; &amp;lt; 5.2.0)'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The issue appears to affect several of the component packages depended on by the 'Sitecore' package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone installed the NuGet package for this version successfully, or found a way around this dependency issue?&lt;/p&gt;&#xA;" OwnerUserId="19" LastEditorUserId="246" LastEditDate="2016-10-07T20:22:58.397" LastActivityDate="2016-10-07T20:22:58.397" Title="Dependency issue in 8.1u3 NuGet package" Tags="|nuget|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="952" PostTypeId="2" ParentId="949" CreationDate="2016-10-07T18:26:43.507" Score="5" Body="&lt;p&gt;Since you mentioned upgrading, the way the &lt;code&gt;coveolicense.xml&lt;/code&gt; is generated is a bit different in the newer &lt;code&gt;Coveo/Sitecore&lt;/code&gt; versions. The new versions authenticate with the cloud in order to get your org and then write both the &lt;code&gt;Coveolicense.xml&lt;/code&gt; in the data folder along with &lt;code&gt;Coveo\ConfigurationEncryptionKeys\IndexingEncryptionKeys&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The newer version no longer uses &lt;code&gt;Datafolder\Coveo\ConfigurationEncryptionKeys\RijndaelEncryptionKeys&lt;/code&gt; &lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="5387" LastEditDate="2019-08-06T06:04:39.233" LastActivityDate="2019-08-06T06:04:39.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="953" PostTypeId="2" ParentId="949" CreationDate="2016-10-07T18:37:33.800" Score="1" Body="&lt;p&gt;Did you install the coveo for sitecore package?&#xA;I have seen this with other developers where the coveo files were referenced on the solution but the sitecore package was not installed on their local builds. Installing it solved the issue&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-07T18:37:33.800" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="954" PostTypeId="1" AcceptedAnswerId="968" CreationDate="2016-10-07T19:00:41.203" Score="6" ViewCount="872" Body="&lt;p&gt;How to implement ETag or Last-Modified on sitecore pages (not media library) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the page item, rendering datasources, index search results having changed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get a hash of the generated page content for the ETag? &#xA;Or get the last modified date out of the page, each rendering data source last modified date, and search result last modified date?? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Return a 304 if the ETag or Last-Modified date hadn't changed. &#xA;Either would work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally would prefer not to have to process the entire request to see if has modified. &#xA;But still worth doing to save bandwidth. &lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2016-10-07T20:04:39.963" Title="ETag or Last-Modified on sitecore pages" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="955" PostTypeId="1" AcceptedAnswerId="967" CreationDate="2016-10-07T19:08:29.093" Score="13" ViewCount="2115" Body="&lt;p&gt;Doing a template refactor, I wanted to add a new base template and move a lot of scattered functionality to this template, including insert options. I did not know exactly where one specific template was configured as an insert option, so I checked the &quot;Navigate&quot; -&gt; &quot;Links&quot;. However, every content item using any template that had this single template as an insert option showed up in the list of links (apologies for the large black boxes; had to blank out client content):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hFI36.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hFI36.png&quot; alt=&quot;a small fraction of the links to this one template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could browse through this list and find all of the &quot;__Standard Values&quot; items, but that's not very smart (I'm a human, I could very easily miss one or more). Is there a way for me to do a smarter search? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 7.2 rev 140526&lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="368" LastEditDate="2016-10-07T19:20:14.960" LastActivityDate="2017-10-23T18:25:57.213" Title="How can I find all usages of template in insert options?" Tags="|content-editor|link-database|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="956" PostTypeId="5" CreationDate="2016-10-07T19:14:18.727" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-07T19:14:18.727" LastActivityDate="2016-10-07T19:14:18.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="957" PostTypeId="4" CreationDate="2016-10-07T19:14:18.727" Score="0" Body="Email Campaign Manager: predecessor of EXM (Email Experience Manager), up to v2.3. " OwnerUserId="237" LastEditorUserId="121" LastEditDate="2016-10-20T14:38:33.363" LastActivityDate="2016-10-20T14:38:33.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="958" PostTypeId="5" CreationDate="2016-10-07T19:16:50.570" Score="0" Body="&lt;p&gt;SPEAK (Sitecore Process Enablement &amp;amp; Accelerator Kit) is a framework for developing Sitecore applications with a consistent interface quickly and easily. SPEAK gives you a predefined set of page layouts and components, and a predefined set of user experience guidelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/speak&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/jakob_christensen/posts/speak-part-1-introduction&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/jakob_christensen/posts/speak-part-1-introduction&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/speak/development&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak/development&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/speak/development&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak/development&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T07:07:31.660" LastActivityDate="2018-02-14T07:07:31.660" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="959" PostTypeId="4" CreationDate="2016-10-07T19:16:50.570" Score="0" Body="Questions about Sitecore's SPEAK (Sitecore Process Enablement &amp; Accelerator Kit) framework" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-07T20:03:55.827" LastActivityDate="2016-10-07T20:03:55.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="960" PostTypeId="5" CreationDate="2016-10-07T19:20:25.753" Score="0" Body="&lt;p&gt;Sitecore supports the NuGet package management system for distributing new Sitecore packages.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The URLs for the NuGet V3 feeds:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Browse packages:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://sitecore.myget.org/gallery/sc-packages&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/gallery/sc-packages&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Sitecore intends to make packages available as soon as the releases are available.&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-06-20T21:55:15.353" LastActivityDate="2021-06-20T21:55:15.353" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="961" PostTypeId="4" CreationDate="2016-10-07T19:20:25.753" Score="0" Body="Questions about NuGet, regarding Sitecore's nuget feed or other nuget questions related to Sitecore development" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-07T20:01:31.813" LastActivityDate="2016-10-07T20:01:31.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="962" PostTypeId="5" CreationDate="2016-10-07T19:25:59.930" Score="0" Body="&lt;p&gt;With the introduction of Helix, Sitecore now provides a set of architecture conventions and guidelines that describe how to apply recommended technical design principles to a Sitecore project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The purpose is to secure implementations in a future-proof way by architecting them as maintainable and extensible business-centric modules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Helix also contains development process recommendations to make it as easy as possible to build, test, extend, and maintain Sitecore implementations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/sv-se/company/blog/511/introducing-sitecore-helix-4380&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/sv-se/company/blog/511/introducing-sitecore-helix-4380&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=AndersLaublaubplusco.SitecoreHelixVisualStudioTemplates&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.visualstudio.com/items?itemName=AndersLaublaubplusco.SitecoreHelixVisualStudioTemplates&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Sitecore-Helix-Sitecore-Habitat-TDS&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Sitecore-Helix-Sitecore-Habitat-TDS&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=83Eln1mi3No&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=83Eln1mi3No&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorebasics.wordpress.com/2017/02/17/sitecore-helix-basics/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorebasics.wordpress.com/2017/02/17/sitecore-helix-basics/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T08:11:07.163" LastActivityDate="2018-02-14T08:11:07.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="963" PostTypeId="4" CreationDate="2016-10-07T19:25:59.930" Score="0" Body="Question regarding Helix: a set of overall design principles and conventions for Sitecore development on helix.sitecore.net" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-07T20:03:51.150" LastActivityDate="2016-10-07T20:03:51.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="964" PostTypeId="5" CreationDate="2016-10-07T19:29:20.647" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-07T19:29:20.647" LastActivityDate="2016-10-07T19:29:20.647" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="965" PostTypeId="4" CreationDate="2016-10-07T19:29:20.647" Score="0" Body="Questions about Habitat - a real Sitecore project implemented on the Sitecore Experience Platform using Helix that allows developers to see how Helix is applied and lets developers experience a project based on these principles (habitat.sitecore.net)" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-07T20:03:39.037" LastActivityDate="2016-10-07T20:03:39.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="966" PostTypeId="2" ParentId="955" CreationDate="2016-10-07T19:43:54.883" Score="8" Body="&lt;p&gt;One option is to use Sitecore Rocks to identify the items. This syntax will work if you are searching for items with an insert option set to a template with ID of {8FAD3C40-C1CC-4C4E-A3D9-F6F6BB20571D}.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;select * from /sitecore/content//*[Contains(@__Masters, '{8FAD3C40-C1CC-4C4E-A3D9-F6F6BB20571D}')]  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the guid must be uppercase, as &lt;code&gt;Contains&lt;/code&gt; is a text match operator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is on a production environment, you could copy the database down to a development machine, run the query, and identify the item IDs that are impacted.  You can use &quot;Export as CSV&quot; to put these to a report. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eNf46.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eNf46.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="247" LastActivityDate="2016-10-07T19:43:54.883" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="967" PostTypeId="2" ParentId="955" CreationDate="2016-10-07T19:47:54.257" Score="14" Body="&lt;p&gt;In my humble &lt;strong&gt;Opinion 3&lt;/strong&gt; is the best as it works out of the box, no modules required, no code required and what is more important you do not rely on &lt;code&gt;LinkDatabase&lt;/code&gt; which can be sometimes outdated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can use &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt; for that. Here you go, complete code snippet&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item -Path &quot;/sitecore/templates/Project/Playground/Page&quot; &#xA;[Sitecore.Globals]::LinkDatabase.GetItemReferrers($item,$true) | %{ $_.GetSourceItem()} | ? { $_.Name -eq &quot;__Standard Values&quot;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can easily translate it into C# code and run it in some aspx page to display results.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;var item = Sitecore.Data.Database.GetDatabase(&quot;master&quot;).GetItem(&quot;/sitecore/templates/Project/Playground/Page&quot;);&#xA;var itemReferrers = Sitecore.Globals.LinkDatabase.GetItemReferrers(item, true)&#xA;    .Select(link =&amp;gt; link.GetSourceItem())&#xA;    .Where(i =&amp;gt; i.Name.Equals(&quot;__Standard Values&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using modified &lt;em&gt;@dan-solovay&lt;/em&gt; approach, get results using Sitecore query:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open url:&#xA;&lt;a href=&quot;http://domain/sitecore/shell/default.aspx?xmlcontrol=IDE.XPath.Builder&quot; rel=&quot;noreferrer&quot;&gt;http://domain/sitecore/shell/default.aspx?xmlcontrol=IDE.XPath.Builder&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Run query:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/templates//*[@@name = '__Standard Values' and Contains(@__Masters, '{92CF4650-4D5C-4A55-9A56-651858682E6D}')]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/a5B05.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/a5B05.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to change an ID ;)&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-07T20:37:58.750" LastActivityDate="2016-10-07T20:37:58.750" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="968" PostTypeId="2" ParentId="954" CreationDate="2016-10-07T20:04:39.963" Score="5" Body="&lt;p&gt;I'm not sure you're going to find a silver bullet for this.  The primary problem with building a generic solution for an ETag/Last-Modified feature in Sitecore is that &lt;strong&gt;cache invalidation is hard&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, unless you already have a strategy in place for handling cache eviction for all of the items you mentioned (page-level item, datasources &amp;amp; dynamic search results) you won't be able to avoid recalculating the value for your ETag/Last-Modified header on dynamic pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, if you're OK with performing that recalculation on each page request, and simply want to save some bytes in transmission when the client performs a HEAD/GET 'If-Not-Modified*' request, you can certainly do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My recommendation&lt;/strong&gt; would be to do this with an HTTP Module - you should be able to hook into the EndRequest event, perform your ETag calculation, and then add your custom ETag or Last-Modified header there.  Further information exists in MSDN as well: &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ms227673.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/ms227673.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NB&lt;/strong&gt;: This will only work if you don't flush your headers prior to the EndRequest event being fired.  Once the headers are sent, you can't modify them, so be sure you're not manually flushing them anywhere else in the application earlier in the ASP lifecycle.&lt;/p&gt;&#xA;" OwnerUserId="420" LastActivityDate="2016-10-07T20:04:39.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="969" PostTypeId="1" AcceptedAnswerId="1379" CreationDate="2016-10-07T20:16:05.057" Score="4" ViewCount="220" Body="&lt;p&gt;When I open the Send Email Save Action, the toolbar of the email editor is empty. Is this a config? Did I break it with a patch? Is that customizable? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 10/11&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the console I get a whole bunch of these:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jsnlog.min.js:1 : {&quot;stack&quot;:&quot;Script error. \n at :undefined:undefined&quot;,&quot;message&quot;:&quot;Script error.&quot;,&quot;logData&quot;:&quot;Script error.&quot;}i.cerror @ jsnlog.min.js:1&#xA;Application.js:1 Uncaught TypeError: Cannot read property 'attributes' of null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;WFFM Version: 8.1 rev. 160304&#xA;Sitecore 8.1 rev. 160304&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2016-10-11T20:07:14.403" LastActivityDate="2016-10-14T15:51:59.780" Title="WFFM Email Editor Buttons - Where did they go?" Tags="|wffm|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="970" PostTypeId="2" ParentId="951" CreationDate="2016-10-07T20:21:38.890" Score="5" Body="&lt;p&gt;Change your build target from &lt;code&gt;4.5&lt;/code&gt; to &lt;code&gt;4.5.2&lt;/code&gt; in your project properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The MS dependencies will not be compatible with 4.5 since that is now unsupported. So it can't find a dependency that matches your project target and fails.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-07T20:21:38.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="971" PostTypeId="1" AcceptedAnswerId="972" CreationDate="2016-10-07T20:53:27.607" Score="9" ViewCount="1565" Body="&lt;p&gt;I have a requirement where I need to identify returning users on the website. The users could be anonymous (It's for a movie chain, so people purchase without creating accounts too)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will xDB be able to recognize the contact even if the cookies are cleared on the user's machine?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone implemented anything similar?&lt;/p&gt;&#xA;" OwnerUserId="600" LastEditorUserId="73" LastEditDate="2017-07-13T08:49:48.063" LastActivityDate="2017-07-13T08:49:48.063" Title="Is there a foolproof way to recognize a returning anonymous user in Sitecore using xDB?" Tags="|xdb|tracking|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="972" PostTypeId="2" ParentId="971" CreationDate="2016-10-07T20:55:42.133" Score="14" Body="&lt;p&gt;If cookies are cleared, there is no way if you hadn't gotten them to self identify first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;More info:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You want to get users to self identify with an email address of some kind as quickly as possible.  Then you want to utilize the &lt;code&gt;Tracker.Current.Session.Identify (string identifier)&lt;/code&gt; method in order to convert the anonymous user to a Known Contact.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Identify method merges interactions from the anonymous contact to the known contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additional Info&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once a user is Identified through that method, all interactions going forward are logged to the known contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this user walks away without logging out specifically  (nor doing a &lt;code&gt;Tracker.Current.Session.EndVisit()&lt;/code&gt;), if the session timeout doesn't occur, then the next person browsing on that computer will be of that contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Care should be taken to adequately Identify as well as log out contact visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Comment Scenario&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to find some kind of information that they would be willing to give you, that can be unique enough. So then in that example, you could, generate a user code dynamically and &lt;code&gt;Identify()&lt;/code&gt; with that generated code that is unique enough. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next time they come back, have some process where they provide that code &lt;em&gt;you&lt;/em&gt; gave them, and you can pick up the contact record by Identify using that code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The moment that they provide an email address, identify with the user code first, then modify the contact record (and change the identifier to the email address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need examples on how to edit the contact record, I've a few on my SitecoreHacker.com blog. &lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="73" LastEditDate="2017-07-13T08:30:30.523" LastActivityDate="2017-07-13T08:30:30.523" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="973" PostTypeId="1" AcceptedAnswerId="974" CreationDate="2016-10-07T21:26:58.827" Score="8" ViewCount="1375" Body="&lt;p&gt;This is what I am trying to do,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the user is authenticated in sitecore, and not authenticated in external system then log out the user from sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, here is the pipeline I use:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.UserResolver, Sitecore.Kernel']&quot; type=&quot;xxx.SitecoreExtensions.Pipelines.HttpRequest.ExternalSystemUserAuthenticationResolver, xxx.SitecoreExtensions&quot;&amp;gt;  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The processor &lt;code&gt;xxx.SitecoreExtensions.Pipelines.HttpRequest.ExternalSystemUserAuthenticationResolver&lt;/code&gt; reads some data from Session and returns true or false if the external system token is present in session or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what is happening:&#xA;When I sign in (sign in logs me in both the systems, sitecore and external), a token is set in the session and the &lt;code&gt;ExternalSystemUserAuthenticationResolver&lt;/code&gt; method gives me correct status of authentication. When I am redirected to other page after login, the &lt;code&gt;ExternalSystemUserAuthenticationResolver&lt;/code&gt; method does not find anything in session and says that I am not logged into external system so the overall authentication status is false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the implementation of the new method:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class ExternalSystemUserAuthenticationResolver: HttpRequestProcessor&#xA;{&#xA;    protected override void SiteSpecificProcess(HttpRequestArgs args)&#xA;    {&#xA;        try&#xA;        {&#xA;            if (Sitecore.Context.User.IsAuthenticated &amp;amp;&amp;amp; !AccountHelper.IsExternalSystemAuthenticated())&#xA;            {&#xA;                AuthenticationManager.Logout();&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(ex.Message, ex, this);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;AccountHelper.IsExternalSystemAuthenticated()&lt;/code&gt; reads data from the session to check if the token and if the session is null then I am redirected to another page after login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where should I place my new processor so that the session object is populated?&lt;/p&gt;&#xA;" OwnerUserId="600" LastEditorUserId="2395" LastEditDate="2017-10-30T03:24:52.007" LastActivityDate="2017-10-30T03:24:52.007" Title="Which pipeline should I patch:after my new processor so that I have access to Context.Session" Tags="|pipelines|session-state|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="974" PostTypeId="2" ParentId="973" CreationDate="2016-10-07T21:57:41.797" Score="10" Body="&lt;p&gt;You actually need to use a completely different pipeline: &lt;code&gt;httpRequestProcessed&lt;/code&gt;.  This pipeline executes after the session has been initialized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example below is taken from &lt;a href=&quot;https://briancaos.wordpress.com/2016/01/15/why-is-session-null-in-beginrequest-httprequestbegin/&quot;&gt;this blog by Brian Pedersen&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace MyNamespace&#xA;{&#xA;  public class MyClass : HttpRequestProcessor&#xA;  {&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;      if (Context.Site == null)&#xA;        return;&#xA;      if (Context.Site.Domain != DomainManager.GetDomain(&quot;extranet&quot;))&#xA;        return;&#xA;      if (args.Url.FilePathWithQueryString.ToUpperInvariant().Contains(&quot;redirected=true&quot;.ToUpperInvariant()))&#xA;        return; // already redirected&#xA;      if (Context.PageMode.IsPageEditor)  &#xA;        return;&#xA;&#xA;      // DO CODE&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-07T21:57:41.797" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="975" PostTypeId="1" AcceptedAnswerId="976" CreationDate="2016-10-07T22:34:07.600" Score="5" ViewCount="654" Body="&lt;p&gt;Getting this error when trying to install a package to my local Sitecore instance via Sitecore Rocks. I am not aware of a &quot;live&quot; database so I am not sure where this is coming from. I have checked the ShowConfig to ensure there is only core, master, web in the databases/database nodes. No &quot;live&quot; db in there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TbMBj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TbMBj.png&quot; alt=&quot;Error when I try installing&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="73" LastEditDate="2016-10-07T22:55:07.067" LastActivityDate="2016-10-07T22:55:07.067" Title="Sitecore Rocks Package Installation Error - &quot;Could not find configuration node: databases/database[@id='live']&quot;" Tags="|packages|installation|sitecore-rocks|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="976" PostTypeId="2" ParentId="975" CreationDate="2016-10-07T22:54:23.323" Score="10" Body="&lt;p&gt;As Geoff already pointed out; the package seems to contain content for a database called &quot;live&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see (and remove, if you want) this by opening the package file. I'm using WinRAR for this example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When opening up the package archive, you will find &lt;code&gt;package.zip&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rLPgn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rLPgn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And opening that up, you will find a structure like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qF2lB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qF2lB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;items&quot; folder is the one you're after. In my example here; all I have are items in the &quot;core&quot; database - but presumably yours would have additional folders. Including one called &quot;live&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p6zuo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p6zuo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can rename or delete this folder (as appropriate, I don't know enough about your package to make that call), and the package should be able to roll on without issue.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-07T22:54:23.323" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="978" PostTypeId="2" ParentId="971" CreationDate="2016-10-08T13:09:36.340" Score="2" Body="&lt;p&gt;You have two tracking cookies, one for Session, the other for Global Session (SC_ANALYTICS_SESSION_COOKIE, and SC_ANALYTICS_GLOBAL_COOKIE). Sitecore doesn't track contacts based on the global cookie but you can get it through code. Each of the Contacts has a Global cookie which has a unique ID in the table. That way you can map the anonymous user. Of course, if the cookies are deleted, they need to provide you some kind of info, like an email as Pete has suggested.&lt;/p&gt;&#xA;" OwnerUserId="21" LastActivityDate="2016-10-08T13:09:36.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="979" PostTypeId="1" AcceptedAnswerId="981" CreationDate="2016-10-08T13:57:16.167" Score="12" ViewCount="647" Body="&lt;p&gt;With native support for Dependency Injection in Sitecore 8.2, what is the easiest path for upgrading from previous versions in solutions utilizing a third party DI framework (Castle Windsor, SimpleInject etc.), if the goal is to make use of the built in DI?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should we migrate to Microsofts Dependency Injection framework in the existing solution prior to the upgrade? Or can we easily upgrade with the current DI framework and migrate later?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The current solution is a simple implementation of a Unity container, so I do not expect to be missing out on any features when migrating. &lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2016-10-10T09:17:00.573" LastActivityDate="2017-11-11T19:58:13.873" Title="Dependency Injection migration path to 8.2" Tags="|upgrade|dependency-injection|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="980" PostTypeId="2" ParentId="979" CreationDate="2016-10-08T14:08:21.790" Score="11" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;One might think that there is already a &lt;a href=&quot;https://sitecore.stackexchange.com/q/490/246&quot;&gt;similar question&lt;/a&gt;&#xA;  on this matter. However, your exact question is a bit different. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;An Upgrade Approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As far as unwiring the existing DI containers (and updating Sitecore), I would start with trying to eliminate upgrade complications first. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1.  Start with just removing your old DI completely.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While this may seem like a backwards approach, upgrading to Sitecore 8.2 with a DI container already in place, or customizations to the MVC Controller Initializer in the initialize pipeline, can complicate the upgrade. So, unwiring it to begin with can remove an upgrade variable. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2.  Upgrading your environment to 8.2 (or fresh install depending on  your approach)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perform the upgrade to your needs. If coming from anything before Sitecore 7.2, consider a fresh install. If coming from 7.2 directly,  consider the Migration Tool. Anything past 7.4, follow upgrade path documentstion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3.  Applying your controllers and modules following Kam's blog.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now with Sitecore upgraded and the default MS DI in place, you can wire your controllers and modules back in using the configs.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Background Info&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There are a couple approaches, but you don't have to &quot;upgrade to MS DI&quot; in order to use it. Instead, Sitecore has created a series of configuration files that allow you to patch in your DI elements. As long as you don't need any real elegant work registering controls, you should be ok.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my opinion Kam Figy &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;wrote the leading blog&lt;/a&gt; post on how to work with the Sitecore MS DI. This should help you understand how to do the config. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Additional Approaches&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The other question that is of a similar subject matter, linked above, has a really great answer on understanding what you can do with it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of those approaches is using your current DI in addition to the Sitecore DI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A second approach is to unwire the MS DI from Sitecore and implement using your own.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mileage may vary, and your exact solution is going to be heavily influenced by your current container needs and existing code base.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Shaving Yaks&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As with anything, this is &lt;strong&gt;&lt;em&gt;an&lt;/em&gt;&lt;/strong&gt; approach. There are others, and the right approach really depends on your solution and the intricacies of it. &lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-08T18:34:14.767" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="981" PostTypeId="2" ParentId="979" CreationDate="2016-10-08T17:17:08.513" Score="17" Body="&lt;p&gt;In my experience, when you plan major changes in your solution, the worst thing you can do is apply all of them at once. When you inevitably run into problems, you won't know which of the changes caused them; that will make debugging and fixing so much harder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Generally, the most reliable approach is to split your changes into as many small steps as possible. After you apply a single step, you'll be able to test if everything in the solution still works properly. You'll be able to fix issues related to that particular step in an isolated manner—without other changes, and unrelated issues, standing in the way.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Suggested approach&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I propose that you split your upgrade process into four stages:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. Upgrade to 8.2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When you upgrade, your current DI container integration will still work. Hence, you can perform the upgrade process and debug upgrade-specific issues without having to worry about DI integration changes.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. Replace Sitecore's MS DI with your current container&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;At this stage, you will replace Sitecore's underlying container with the one you've been using. I wrote an article that describes how to do this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://medium.com/@structuredcode/replacing-the-default-di-container-in-sitecore-8-2-4e65d4956c99&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Replacing the Default DI Container in Sitecore 8.2&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using SimpleInjector, check out &lt;a href=&quot;https://sitecore.stackexchange.com/a/275/104&quot;&gt;&lt;strong&gt;this answer&lt;/strong&gt;&lt;/a&gt; by Richard Seal for an extra required step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you've replaced Sitecore's container, nothing in the app should break (in most cases), as your application code will still use your custom DI approach. So the DI container will be configured in two separate ways: directly with ASP.NET MVC, and in Sitecore internally.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;3. Migrate your service registrations to use the Sitecore way&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Change the way you register services from your DI container's API to Sitecore's &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/#Configurators&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;configurators&lt;/strong&gt;&lt;/a&gt; or &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/#Direct-Registration&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;direct registration&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you've completed this step, removing your DI container's integration with ASP.NET dependency resolver should not break anything. This is because all of your services will be wired up through Sitecore, which will already have its dependency resolver hooked into MVC.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;4. Switch Sitecore's DI container back to MS DI&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Remove your DI container from the solution and revert Sitecore to use Microsoft's default dependency injection implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should go smoothly, since the Sitecore way of registering services works with any DI container configured in Sitecore. You services will now be injected in your controllers and modules via Sitecore and MS DI.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Conclusion&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;It may sound like some extra work, but I believe that this is the most reliable way, since you'll have to worry about fewer simultaneous issues at any given point in time.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-11-11T19:58:13.873" LastActivityDate="2017-11-11T19:58:13.873" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="982" PostTypeId="1" AcceptedAnswerId="999" CreationDate="2016-10-08T19:19:11.540" Score="5" ViewCount="623" Body="&lt;p&gt;I've created a new file template called &lt;strong&gt;Code&lt;/strong&gt; which contains many of the same fields as the &lt;strong&gt;File&lt;/strong&gt; template but does not inherit it. While publishing using the Sitecore Publishing Service the blob data does not appear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Field:&lt;/strong&gt; Missing attachment&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/diHQy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/diHQy.png&quot; alt=&quot;Empty attachment field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Settings:&lt;/strong&gt; sc.global.xml&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;Publishing&amp;gt;&#xA;      &amp;lt;ConnectionStrings&amp;gt;&#xA;        &amp;lt;Master&amp;gt;user id=sa;password=pass123;data source=(local);database=demo.dev.localsitecore_Master;MultipleActiveResultSets=True;&amp;lt;/Master&amp;gt;&#xA;        &amp;lt;Core&amp;gt;user id=sa;password=pass123;data source=(local);database=demo.dev.localsitecore_Core;MultipleActiveResultSets=True;&amp;lt;/Core&amp;gt;&#xA;        &amp;lt;Web&amp;gt;user id=sa;password=pass123;data source=(local);database=demo.dev.localsitecore_Web;MultipleActiveResultSets=True;&amp;lt;/Web&amp;gt;&#xA;      &amp;lt;/ConnectionStrings&amp;gt;&#xA;      &amp;lt;LogLevel&amp;gt;Information&amp;lt;/LogLevel&amp;gt;&#xA;    &amp;lt;/Publishing&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="10" LastEditDate="2016-10-08T21:58:14.597" LastActivityDate="2016-10-09T20:44:22.093" Title="Sitecore Publishing Service 1.8.0 does not publish blob data for custom field using type Attachment" Tags="|media-library|publishing-service|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="983" PostTypeId="1" AcceptedAnswerId="1004" CreationDate="2016-10-08T21:25:50.077" Score="12" ViewCount="1665" Body="&lt;p&gt;We are using the MongoDB session state provider for our Sitecore 8.1 CD instance hosted in Azure web apps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are facing an issue with our CD instance where the session keeps expiring within 1–2 minutes. But the form authentication is still active. I.e. the user is still logged in, but can't access the session; therefore, the user can't proceed with page actions, e.g. submit form etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is our configurations for session and forms:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;mongo&quot; cookieless=&quot;false&quot; timeout=&quot;30&quot; sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;mongo&quot; type=&quot;Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;!-- &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt; --&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&#xA;&amp;lt;authentication mode=&quot;Forms&quot;&amp;gt;&#xA;  &amp;lt;forms loginUrl=&quot;/login&quot; requireSSL=&quot;false&quot; name=&quot;.ASPXAUTH&quot; slidingExpiration=&quot;true&quot; protection=&quot;All&quot; path=&quot;/&quot; timeout=&quot;120&quot; cookieless=&quot;UseCookies&quot; /&amp;gt;&#xA;&amp;lt;/authentication&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that we share the same session collection/db between test and uat environments.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If I change the mode to 'InProc', the issue goes away.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;As suggested by Dymtro, we stood up separate collections for session&#xA;and analytics. The issue still persists.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;What's the best way to troubleshoot why/how sitecore is identifying real users as bots?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The session time out doesn't occur on our test environment where we haven't implemented this below:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc.Analytics.Extensions&#xA;@Html.Sitecore().VisitorIdentification()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="316" LastEditorUserId="316" LastEditDate="2016-10-13T00:14:56.307" LastActivityDate="2016-10-13T05:09:12.357" Title="Content delivery session times out in 1/2 minute with MongoDB session provider" Tags="|session-state|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="984" PostTypeId="2" ParentId="983" CreationDate="2016-10-08T22:42:50.177" Score="8" Body="&lt;p&gt;I think your sessions are being flagged as &quot;robot&quot;. The most common cause for this, is forgetting to include &lt;code&gt;VisitorIdentification&lt;/code&gt; on your main layout or main View file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Webforms:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sc:VisitorIdentification runat='server'/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;MVC:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using Sitecore.Mvc.Analytics.Extensions&#xA;@Html.Sitecore().VisitorIdentification()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additional info: &lt;a href=&quot;https://stackoverflow.com/questions/28626563/sitecore-7-5-mvc-and-httpcontext-session-timeout-set-to-1-min&quot;&gt;https://stackoverflow.com/questions/28626563/sitecore-7-5-mvc-and-httpcontext-session-timeout-set-to-1-min&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: &lt;strong&gt;updated to include the following&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest way to assert whether it is indeed robot detection that is the root cause, is to disable the automatic robot detection. There is a hidden setting that can toggle this functionality on and off.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.AutoDetectBots&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default value is true. Try adding this to your configs as &lt;code&gt;false&lt;/code&gt; and see if the problem goes away. &lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-13T00:31:32.660" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="985" PostTypeId="1" AcceptedAnswerId="4823" CreationDate="2016-10-08T22:47:44.663" Score="7" ViewCount="92" Body="&lt;p&gt;Sitecore documentation on Solr set up has a &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up__maintaining/search_and_indexing/walkthrough_setting_up_solr#_Toc399318998&quot; rel=&quot;nofollow noreferrer&quot;&gt;section&lt;/a&gt; on &lt;code&gt;Enabling Solr term support&lt;/code&gt;, which is required to &lt;code&gt;power dropdowns in the UI&lt;/code&gt;.  Which versions of Sitecore require this? &lt;code&gt;Sitecore 8.2&lt;/code&gt; only, or &lt;code&gt;Sitecore 8.0 and 8.1&lt;/code&gt;? &lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="5387" LastEditDate="2019-08-06T04:52:15.107" LastActivityDate="2019-08-06T04:52:15.107" Title="Is Solr term support required for versions of Solr prior to 8.2?" Tags="|solr|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="986" PostTypeId="2" ParentId="985" CreationDate="2016-10-09T01:57:49.910" Score="3" Body="&lt;p&gt;This applies for all versions(8, 8.1 and 8.2).&#xA;On the documentation page there is a dropdown for each sitecore version and you will see that the documentation reffers to the same thing on all versions :)&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2016-10-09T03:39:39.540" LastActivityDate="2016-10-09T03:39:39.540" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="987" PostTypeId="5" CreationDate="2016-10-09T08:00:58.143" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-09T08:00:58.143" LastActivityDate="2016-10-09T08:00:58.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="988" PostTypeId="4" CreationDate="2016-10-09T08:00:58.143" Score="0" Body="Questions about analytics and reporting. Sitecore Experience Analytics contains tools that let you view detailed reports about your website's visitors." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-10T00:56:33.183" LastActivityDate="2016-10-10T00:56:33.183" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="989" PostTypeId="5" CreationDate="2016-10-09T08:02:05.363" Score="0" Body="&lt;p&gt;SQL is a domain-specific language used in programming and designed for managing data held in a relational database management system, or for stream processing in a relational data stream management system. &lt;em&gt;Source: Wikipedia&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="312" LastEditDate="2021-03-09T07:43:31.570" LastActivityDate="2021-03-09T07:43:31.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="990" PostTypeId="4" CreationDate="2016-10-09T08:02:05.363" Score="0" Body="Question about the Sitecore SQL databases - content, reporting, sessions, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-10T00:56:29.900" LastActivityDate="2016-10-10T00:56:29.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="991" PostTypeId="5" CreationDate="2016-10-09T08:04:04.427" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-09T08:04:04.427" LastActivityDate="2016-10-09T08:04:04.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="992" PostTypeId="4" CreationDate="2016-10-09T08:04:04.427" Score="0" Body="Questions regarding the installation of Sitecore, Sitecore modules, Sitecore (update) packages, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-10T00:56:25.910" LastActivityDate="2016-10-10T00:56:25.910" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="993" PostTypeId="5" CreationDate="2016-10-09T08:06:13.537" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-09T08:06:13.537" LastActivityDate="2016-10-09T08:06:13.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="994" PostTypeId="4" CreationDate="2016-10-09T08:06:13.537" Score="0" Body="Questions about Sitecore modules: official modules or marketplace modules. Do note that some have their own tags already." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-10T00:56:13.580" LastActivityDate="2016-10-10T00:56:13.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="995" PostTypeId="2" ParentId="785" CreationDate="2016-10-09T12:30:01.563" Score="6" Body="&lt;p&gt;You can try to use the Sitecore Module Package History which is already available on the Sitecore Marketplace. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module enable you to view all the package that have been installed on the Sitecore Instance and also, allows you to uninstall the package. So, for example, if you have install the package WFFM, it will be listed in the aspx page provided in the Package History Module, then you can select the package and click on the uninstall button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please find the link below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/PackageHistory.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/PackageHistory.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-10-09T14:32:46.020" LastActivityDate="2016-10-09T14:32:46.020" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="996" PostTypeId="2" ParentId="983" CreationDate="2016-10-09T12:46:54.850" Score="2" Body="&lt;p&gt;This is happening due to the fact that the session is being identified as a robot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 1&lt;/strong&gt;&#xA;You need to solve the issue why the user is being identified as a robot. As an workaround, you may try the follow:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Increase the Session timeout from the Sitecore.Analytics.Tracking.config file. It is found in the App_Config/Include folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search for the Analytics.Robots.SessionTimeout and update the value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 2&lt;/strong&gt;&#xA;The sharedsession will get expired after one minute as provided in the Sitecore Documentation. Please see the diagram below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hL3bE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hL3bE.png&quot; alt=&quot;sessionstate&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more info, please check &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 3&lt;/strong&gt;&#xA;Robot detection classifies a contact based on IP address, Geo IP information, and user agent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Robot detection relies on two heuristics to identify robots:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A browser that does not carry cookies between requests.&lt;/li&gt;&#xA;&lt;li&gt;A browser that does not support JavaScript or does not raise any mouse or touch events.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can have more info at those links from Sitecore Official Documentation &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/contact_tracking&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/contact_tracking&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/robot_detection/configure_the_robot_detection_component&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/robot_detection/configure_the_robot_detection_component&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-10-13T05:09:12.357" LastActivityDate="2016-10-13T05:09:12.357" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="997" PostTypeId="5" CreationDate="2016-10-09T16:39:46.783" Score="0" Body="&lt;p&gt;Indicates that the question seeks guidance on Sitecore best practices. These questions have somewhat more latitude to be &quot;broad&quot; than normal questions.&lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="247" LastEditDate="2016-10-09T20:43:23.997" LastActivityDate="2016-10-09T20:43:23.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="998" PostTypeId="4" CreationDate="2016-10-09T16:39:46.783" Score="0" Body="Questions about community-accepted best practices. Indicates that the question seeks guidance on Sitecore best practices. These questions have somewhat more latitude to be &quot;broad&quot; than normal questions." OwnerUserId="247" LastEditorUserId="73" LastEditDate="2016-11-08T09:28:14.327" LastActivityDate="2016-11-08T09:28:14.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="999" PostTypeId="2" ParentId="982" CreationDate="2016-10-09T19:34:32.320" Score="8" Body="&lt;p&gt;By default, the publishing service will publish Blobs if they are created/referenced by the following fields:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;/sitecore/templates/System/Media/Versioned/File/Media/Blob&#xA;Guid = {DBBE7D99-1388-4357-BB34-AD71EDF18ED3}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;/sitecore/templates/System/Media/Unversioned/File/Media/Blob&#xA;Guid = {40E50ED9-BA07-4702-992E-A912738D32DC}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In case of you defined your own field, you will need to configure the publishing service to use it. In order to do that, you can pass the new field Id to the RequiredPublishFieldsResolver options (check the sc.publishing.services.xml). Should be something like:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;Publishing&amp;gt;&#xA;     &amp;lt;Services&amp;gt;&#xA;      &amp;lt;RequiredPublishFieldsResolver&amp;gt;&#xA;      &amp;lt;As&amp;gt;Sitecore.Framework.Publishing.IRequiredPublishFieldsResolver, Sitecore.Framework.Publishing.Service.Abstractions&amp;lt;/As&amp;gt;&#xA;      &amp;lt;Type&amp;gt;Sitecore.Framework.Publishing.RequiredPublishFieldsResolver, Sitecore.Framework.Publishing&amp;lt;/Type&amp;gt;&#xA;      &amp;lt;Options&amp;gt;&#xA;        &amp;lt;AdditionalMediaFieldsIds&amp;gt;&#xA;          &amp;lt;Id&amp;gt;**The Guid of your Blob Field**&amp;lt;/Id&amp;gt;&#xA;        &amp;lt;/AdditionalMediaFieldsIds&amp;gt;&#xA;      &amp;lt;/Options&amp;gt;&#xA;      &amp;lt;/RequiredPublishFieldsResolver&amp;gt;&#xA;     &amp;lt;/Services&amp;gt;&#xA;    &amp;lt;/Publishing&amp;gt;&#xA;   &amp;lt;/Sitecore&amp;gt;&#xA;  &amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can put this in a file (for example &lt;code&gt;codefield_patch.xml&lt;/code&gt;) and place it in the &lt;code&gt;global&lt;/code&gt; folder of the Publishing Service. This will mean it will be available for all environments (You can place it in 'developement' or 'production' folders to be environment specific - See the install guide for more info about these options)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="617" LastEditorUserId="237" LastEditDate="2016-10-09T20:44:22.093" LastActivityDate="2016-10-09T20:44:22.093" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1000" PostTypeId="1" CreationDate="2016-10-10T00:57:23.067" Score="3" ViewCount="576" Body="&lt;p&gt;The actual error encountered is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This error appears to be related to the fact that the Sitecore Publishing Framework 1.8.0 module or SXA is installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dsLhI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dsLhI.png&quot; alt=&quot;Installation error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Installation Steps&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install Sitecore 8.2 initial release&lt;/li&gt;&#xA;&lt;li&gt;Install &lt;code&gt;Sitecore Publishing Service 1.8.0.zip&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Install &lt;code&gt;Data Exchange Framework 1.1.0 rev. 160817.zip&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Install &lt;code&gt;Sitecore Provider for Data Exchange Framework 1.1.0 rev. 160817.zip&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Install &lt;code&gt;Sitecore PowerShell Extensions-4.1 for Sitecore 8.zip&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Install &lt;code&gt;Sitecore Experience Accelerator 1.1 rev. 161004 for 8.2.zip&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Reinstall &lt;code&gt;Data Exchange Framework 1.1.0 rev. 160817.zip&lt;/code&gt;. Error!&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Could probably encounter the error sooner. Will try to duplicate with fewer steps.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Logs&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;So I finally tracked down the log files for the installation. Wasn't quite sure which detail to leave out.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #15 16:48:01 INFO  Job started: Install&#xA;  ManagedPoolThread #15 16:48:02 INFO  Installing package: C:\Websites\demo.dev.local\Data\packages\Sitecore Provider for Data Exchange Framework 1.1.0 rev. 160817.zip&#xA;  ManagedPoolThread #15 16:48:02 INFO  Installing C:\Websites\demo.dev.local\Website\App_Config\Include\Sitecore.DataExchange.Providers.Sc.Local.config&#xA;  ManagedPoolThread #15 16:48:02 INFO  Installing C:\Websites\demo.dev.local\Website\bin\Sitecore.DataExchange.Providers.Sc.dll&#xA;  ManagedPoolThread #15 16:48:02 INFO  Installing C:\Websites\demo.dev.local\Website\bin\Sitecore.DataExchange.Providers.Sc.Local.dll&#xA;  ManagedPoolThread #15 16:48:02 INFO  Installing C:\Websites\demo.dev.local\Website\temp\Sitecore\da-DK.xml&#xA;  ManagedPoolThread #15 16:48:02 INFO  Installing C:\Websites\demo.dev.local\Website\temp\Sitecore\de-DE.xml&#xA;  ManagedPoolThread #15 16:48:02 INFO  Installing C:\Websites\demo.dev.local\Website\temp\Sitecore\ja-JP.xml&#xA;  ManagedPoolThread #15 16:48:07 INFO  Installing item: items/master/sitecore/templates/Branches/Data Exchange/Providers/Sitecore/{548EB4E1-0CCD-4F07-AF01-2DD57999DC12}/en/1/xml&#xA;  ManagedPoolThread #15 16:48:07 INFO  Installing item: items/master/sitecore/templates/Branches/Data Exchange/Providers/Sitecore/{548EB4E1-0CCD-4F07-AF01-2DD57999DC12}/en/1/xml&#xA;  ManagedPoolThread #15 16:48:07 INFO  Installing item: items/master/sitecore/templates/Branches/Data Exchange/Providers/Sitecore/Branches/{7BB0FC4E-D974-4C0F-AB17-AE31506465D4}/en/1/xml&#xA;  ManagedPoolThread #15 16:48:07 INFO  Installing item: items/master/sitecore/templates/Branches/Data Exchange/Providers/Sitecore/Branches/Sitecore Queue Processors Root/{789EB5EC-3A75-4FD7-A43A-DA7D3D64DD26}/en/1/xml&#xA;  ManagedPoolThread #15 16:48:07 INFO  Installing item: items/master/sitecore/templates/Branches/Data Exchange/Providers/Sitecore/Branches/Sitecore Queue Processors Root/Sitecore/Update Queue Processors/{06DCBD20-DC35-4945-87F3-B687323F6DAA}/en/1/xml&#xA;  ManagedPoolThread #15 16:48:07 ERROR Data template '{7B75BE5C-D34B-4D25-A3AC-D2C268C26A65}' not found for item '/sitecore/templates/Branches/Data Exchange/Providers/Sitecore/Branches/Sitecore Queue Processors Root/Sitecore/Update Queue Processors' in 'master' database&#xA;  ManagedPoolThread #15 16:48:07 ERROR One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;  Exception&lt;a href=&quot;https://i.stack.imgur.com/dsLhI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;: System.NullReferenceException &#xA;  Message&lt;a href=&quot;https://i.stack.imgur.com/dsLhI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;: Object reference not set to an instance of an object. &#xA;  Source&lt;a href=&quot;https://i.stack.imgur.com/dsLhI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;: Sitecore.XA.Foundation.SitecoreExtensions &#xA;     at Sitecore.XA.Foundation.SitecoreExtensions.Extensions.ItemExtensions.InheritsFrom(Item item, ID templateId)&#xA;     at Sitecore.XA.Foundation.RenderingVariants.EventHandlers.VariantCacheClearer.IsRenderingVariant(Item item)&#xA;     at Sitecore.XA.Foundation.RenderingVariants.EventHandlers.VariantCacheClearer.OnItemSaved(Object sender, EventArgs args)&#xA;     at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #15 16:48:07 ERROR Failed to save the item. Item ID: {06DCBD20-DC35-4945-87F3-B687323F6DAA}, database: master&#xA;  Exception: System.AggregateException&#xA;  Message: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;  Source: Sitecore.Kernel&#xA;     at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;     at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;     at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args)&#xA;     at System.EventHandler&lt;code&gt;1.Invoke(Object sender, TEventArgs e)&#xA;     at Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.RaiseEvent[TArgs](EventHandler&lt;code&gt;1 handlers, Func&lt;/code&gt;2 argsCreator)&#xA;     at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;     at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;  ...&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-10-13T11:42:03.090" LastActivityDate="2016-10-13T11:42:03.090" Title="Error installing the Data Exchange Framework - Exception processing the subscribers to the 'item:saved' event" Tags="|packages|data-exchange-framework|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1001" PostTypeId="2" ParentId="850" CreationDate="2016-10-10T06:22:41.577" Score="2" Body="&lt;p&gt;Previously I have seen a similar issue, if the core stylesheets are from a different version of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue can typically occur, if the core stylesheets are deployed as a part of your solution, and have not been upgraded when upgrading Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try comparing &lt;code&gt;/sitecore/shell/themes/standard/default/Content Manager.css&lt;/code&gt; between the environments for any differences.&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2016-10-10T19:39:32.960" LastActivityDate="2016-10-10T19:39:32.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1002" PostTypeId="2" ParentId="64" CreationDate="2016-10-10T07:21:21.430" Score="1" Body="&lt;p&gt;If your Sitecore admin account is not &lt;code&gt;sitecore\admin&lt;/code&gt; or its password is not &lt;code&gt;b&lt;/code&gt; or you changed its password recently, you have to set the Sitecore credentials in Coveo for Sitecore (see Configuring the Sitecore Credentials). This will update the &lt;code&gt;&amp;lt;SitecoreUsename&amp;gt; and &amp;lt;SitecorePassword&amp;gt;&lt;/code&gt; nodes of your &lt;code&gt;Coveo.SearchProvider.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the change, you need to index at least 1 Sitecore item for the credentials synchronization with CES to be done. You should also synchronize the changes to the config files on all your CD servers. The password is encrypted with the &lt;code&gt;\Data\Coveo\ConfigurationEncryptionKeys\RijndaelEncryptionKeys&lt;/code&gt; encryption key. You should also ensure this key is the same on all the CM and CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those credentials are set in a User Identity in CES that is used by the CES Security Provider to expand the Sitecore roles while indexing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source:&lt;/strong&gt; &lt;a href=&quot;https://answers.coveo.com/questions/4264/sitecore-admin-account-locking&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://answers.coveo.com/questions/4264/sitecore-admin-account-locking&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="5387" LastEditDate="2020-04-01T11:11:04.780" LastActivityDate="2020-04-01T11:11:04.780" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="1003" PostTypeId="2" ParentId="937" CreationDate="2016-10-10T07:34:13.067" Score="4" Body="&lt;p&gt;In order to remove the properties in the WFFM editor for custom fields, you need to inherit from your base control and then provide new implementations for the properties but do not specify any attributes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To hide all fields in the &lt;strong&gt;List&lt;/strong&gt; section you need to provide new implementations of  all fields with &lt;code&gt;[VisualCategory(&quot;List&quot;)]&lt;/code&gt; attribute set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, you can hide the &lt;code&gt;Items&lt;/code&gt;, &lt;code&gt;Selected Value&lt;/code&gt; and &lt;code&gt;Empty Choice&lt;/code&gt; properties by creating a custom field with the following implementation. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class CustomDropList : Sitecore.Form.Web.UI.Controls.DropList&#xA;{&#xA;    public new ListItemCollection Items&#xA;    {&#xA;        get { return this.items; }&#xA;        set { this.items = value; }&#xA;    }&#xA;&#xA;    public new string EmptyChoice&#xA;    {&#xA;        get { return false.ToString(); }&#xA;    }&#xA;&#xA;    public new ListItemCollection SelectedValue&#xA;    {&#xA;        get { return this.selectedItems; }&#xA;        set { this.selectedItems = value; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you create the item in Sitecore for your Custom Field, make sure &lt;code&gt;Assembly&lt;/code&gt; and &lt;code&gt;Class&lt;/code&gt; fields match your custom implementation. This is what is used in the form designer, even if your solution is using MVC. Be sure to specify the correct &lt;code&gt;MVC Type&lt;/code&gt; as well though if required for the the front end.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-10-10T10:36:01.650" LastActivityDate="2016-10-10T10:36:01.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1004" PostTypeId="2" ParentId="983" CreationDate="2016-10-10T07:56:09.583" Score="3" Body="&lt;p&gt;I don't believe robot detection is related to your problem. As you correctly suggested in the comments, changing session state provider should not affect robot functionality and the way it overrides session timeout.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Hypothesis&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This may be the root of your problem:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note that we share the same session collection/db between test and uat environments.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The private session store is not supposed to be shared between unrelated instances. The biggest reason for that is the fact that only one instance will be able to handle the &lt;code&gt;Session_End&lt;/code&gt; event from the store. If it's not the instance that actually &lt;em&gt;created&lt;/em&gt; the session, there will be errors (check your logs on both instances).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note that this is not a problem with non-sticky load-balanced instances of the same cluster, as all of them are equal. It's only a problem with instances that share the private session and don't share other things, such as the web database, the Shared Session state store, Sitecore configuration, etc. I.e. instances that are not part of the same &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/clustered_server_environments&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;CD cluster&lt;/strong&gt;&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another problem with sharing the private session state is if Sitecore instances don't have matching date/time settings. In that case, one instance will create a session, and another instance may think the session has already expired, so it will remove session data from the store and attempt to process the &lt;code&gt;Session_End&lt;/code&gt; event.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Solution&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Create a separate session database/collection corresponding to each of your Sitecore instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the future, never share one store between multiple Sitecore instances, unless they have exactly the same configuration and belong to the same content delivery cluster.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-10T11:56:59.743" LastActivityDate="2016-10-10T11:56:59.743" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1006" PostTypeId="1" AcceptedAnswerId="1150" CreationDate="2016-10-10T09:03:12.327" Score="7" ViewCount="1085" Body="&lt;p&gt;&lt;em&gt;Using sitecore 8.1 update -1&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When adding a description that includes &amp;amp; (e.g. hola &amp;amp; hello) to a GeneralLink field, the error below is thrown and the value is not shown on either content editor or content tree. The issue is that CE is not translating &lt;code&gt;&amp;amp;&lt;/code&gt; to &lt;code&gt;&amp;amp;amp;&lt;/code&gt; -confirmed by checking raw values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if I add the value using content tree, it saves &lt;code&gt;&amp;amp;amp;&lt;/code&gt; but doesn't show using normal view and will break again if any changes are made using content tree. I heard this was fixed in 8.2 but can't find the fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;13684 10:45:48 ERROR First 200 characters: &#xA;  13684 10:45:48 ERROR Call stack:    at Sitecore.MainUtil.GetCallStack()&#xA;     at Sitecore.Xml.XmlUtil.LoadXml(String xml)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Link.SetValue()&#xA;     at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderField(Control parent, Field field, Item fieldType, Boolean readOnly, String value)&#xA;     at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderField(Control parent, Field field, Item fieldType, Boolean readOnly)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderInput(Field field)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderElement(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderChildElements(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderMarker(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderElement(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderChildElements(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderSectionPanel(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderElement(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.AddText(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderElement(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.AddText(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderElement(XmlNode element)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.Render(XmlDocument skin)&#xA;     at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.Process(RenderContentEditorArgs args)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Shell.Applications.ContentManager.Editor.Render(RenderContentEditorArgs args, Control parent)&#xA;     at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.RenderEditor(Item item, Item root, Control parent, Boolean showEditor)&#xA;     at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateEditor(Item folder, Item root, Boolean showEditor)&#xA;     at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update()&#xA;     at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e)&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;     at Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e)&#xA;     at System.Web.UI.Control.PreRenderRecursiveInternal()&#xA;     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;     at System.Web.UI.Page.ProcessRequest()&#xA;     at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)&#xA;     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)&#xA;     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)&#xA;     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)&#xA;     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)&#xA;     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus&amp;amp; notificationStatus)&#xA;     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus&amp;amp; notificationStatus)&#xA;     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)&#xA;     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="88" LastActivityDate="2016-10-18T08:04:52.313" Title="GeneralLink field breaks in CE when using ampersand (&amp;) in description" Tags="|content-editor|experience-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1007" PostTypeId="2" ParentId="1006" CreationDate="2016-10-10T09:08:57.297" Score="13" Body="&lt;p&gt;This is a known bug. I've seen it fixed in the 8.2 release notes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Initial%20Release/Release%20Notes&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Initial%20Release/Release%20Notes&lt;/a&gt; - reference 82835.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, I've not seen any workarounds for your release. I suggest you get in touch with Sitecore support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Eventually, I assume, the above fix will be rolled into an 8.1 update release.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-10T09:08:57.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1008" PostTypeId="1" AcceptedAnswerId="1027" CreationDate="2016-10-10T09:31:55.327" Score="28" ViewCount="5945" Body="&lt;p&gt;We are refactoring our project and are trying to clean up the usages of templates throughout the project. There are a number of templates that are very similar that could all be using the same data template, which would also mean we can better utilize the &quot;Compatible Renderings&quot; functionality in Sitecore making it easier for editors to change components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is we have existing content and it would be a pain have to re-create all the datasources and copy across the data manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, given the following data templates:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Template A&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Title1        Single-Line Text&#xA;SubText1      Multi-Line Text&#xA;Body1         Rich Text&#xA;Image1        Image&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Template B&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Title2        Single-Line Text&#xA;SubText2      Rich Text&#xA;Body2         Rich Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can we change all items which use &lt;strong&gt;Template B&lt;/strong&gt; to instead use &lt;strong&gt;Template A&lt;/strong&gt; and still retain all existing data?&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2023-06-16T10:54:48.483" Title="How to change item templates and retain existing data" Tags="|templates|" AnswerCount="6" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1009" PostTypeId="1" CreationDate="2016-10-10T09:46:53.260" Score="5" ViewCount="870" Body="&lt;p&gt;In a component I have rich-text with some text (no special characters). After I edit the text I press save and the page tries to reload with a warning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jqYIt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jqYIt.png&quot; alt=&quot;Reload popup warning&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pressing on &quot;Reload&quot; will discard the change, and clicking on &quot;Don't Reload&quot; will leave the page with the Sitecore popup:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ztd0R.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ztd0R.png&quot; alt=&quot;Broken links popup&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using: Sitecore.NET 8.0 (rev. 150812)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why does Sitecore force a page reload?&lt;/p&gt;&#xA;" OwnerUserId="120" LastActivityDate="2016-10-10T15:01:18.027" Title="Sitecore tries to reload the page when saving in Experience Editor" Tags="|experience-editor|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1010" PostTypeId="2" ParentId="1008" CreationDate="2016-10-10T09:47:23.757" Score="18" Body="&lt;p&gt;You can rename &lt;code&gt;Title2&lt;/code&gt; to match name of &lt;code&gt;Title1&lt;/code&gt; and then simply change the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore will preserve data if the names of the fields match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Template A&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Title1        Single-Line Text&#xA;SubText1      Multi-Line Text&#xA;Body1         Rich Text&#xA;Image1        Image&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Template B&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Title2 -&amp;gt; Title1        Single-Line Text&#xA;SubText2 -&amp;gt;SubText1      Rich Text&#xA;Body2 -&amp;gt; Body1         Rich Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After changes in Template B, you can change Template B to Template A and Sitecore will preserve the data&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-10-10T10:24:33.203" LastActivityDate="2016-10-10T10:24:33.203" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1011" PostTypeId="2" ParentId="1008" CreationDate="2016-10-10T10:06:50.190" Score="5" Body="&lt;p&gt;You can try to execute SQL script which will do the trick for you and update all the items which use particular template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First you need to replace the field ids used in your original template with field ids used in the new template and then change the template of the item itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't tested the script so make sure you have backups.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;UPDATE VersionedFields SET [FieldId] = 'NEW_FIELD_ID' WHERE [FieldId] = 'OLD_FIELD_ID';&#xA;UPDATE UnversionedFields SET [FieldId] = 'NEW_FIELD_ID' WHERE [FieldId] = 'OLD_FIELD_ID';&#xA;UPDATE SharedFields SET [FieldId] = 'NEW_FIELD_ID' WHERE [FieldId] = 'OLD_FIELD_ID';&#xA;UPDATE Items SET [TemplateID] = 'NEW_TEMPLATE_ID' WHERE [TemplateID] = 'OLD_TEMPLATE_ID';&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After the script is finished, restart the application and republished the site.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-10T10:06:50.190" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1012" PostTypeId="2" ParentId="1008" CreationDate="2016-10-10T10:07:32.283" Score="5" Body="&lt;p&gt;The Sitecore Rocks extension for VS allows you to select multiple items at once and change their template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/syVnB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/syVnB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is useful if all of the items, you want to change the template of, are in the same place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;UPDATE:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the field names of the templates are different, you can change them on the new template to match the old one's, change the template of the items, and then change the field names back to the original ones.&lt;/p&gt;&#xA;" OwnerUserId="422" LastEditorUserId="422" LastEditDate="2016-10-12T14:27:11.773" LastActivityDate="2016-10-12T14:27:11.773" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1013" PostTypeId="2" ParentId="116" CreationDate="2016-10-10T11:59:07.807" Score="2" Body="&lt;p&gt;By enabling CORS you are enabling Cross Origin Resource Sharing. You would need to supply the domains that would be allowed to call your endpoint. As you are &lt;em&gt;not&lt;/em&gt; making a call from an external domain, but from within an App, your request will be cancelled even before any method has been executed, as it's not allowed: &lt;a href=&quot;https://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api&quot; rel=&quot;nofollow&quot;&gt;https://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another problem that often occurs is not specifying or specifying the wrong contenttype for the request. If you are posting/requesting xml/application data/whatever, but the apicontroller only works with application/json, this will break as well.&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-10-10T11:59:07.807" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1014" PostTypeId="2" ParentId="243" CreationDate="2016-10-10T12:00:32.467" Score="5" Body="&lt;p&gt;I have decompile the Sitecore Code and below is an example how the popup appeared:&lt;/p&gt;&#xA;&lt;p&gt;This screenshot is from the &lt;code&gt;Sitecore.Shell.Applications.Dialogs.Upload&lt;/code&gt; namespace&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pWYac.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pWYac.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;So, you can make use of the &lt;code&gt;Context.ClientPage.ClientResponse.Alert(&amp;quot;Specify at least one file to upload.&amp;quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;The code can take up to 3 parameters. You can specify the response and the header. For the response, you can pass 1 or blank. The 1 represent True&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-10T12:09:18.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1015" PostTypeId="1" AcceptedAnswerId="1024" CreationDate="2016-10-10T12:39:01.177" Score="7" ViewCount="2067" Body="&lt;p&gt;I am trying to run an automated Unicorn Sync on one of My Environments. I have the shared secret key in Unicorn.UI.Config after I had tried using the shared Unicorn.Sharedsecret.Config file with the same result in both cases. I am publishing this secret key as an example it's not the one I am using. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Running Unicorn 3.3.0 RC5 / PowerShell ISE version 5.0.10586.117&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the script I am using in power shell to debug this issue: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$ErrorActionPreference = 'Stop'&#xA;&#xA;$ScriptPath = Split-Path $MyInvocation.MyCommand.Path&#xA;&#xA;# This is an example PowerShell script that will remotely execute a Unicorn sync using the new CHAP authentication system.&#xA;&#xA;Import-Module $ScriptPath\Unicorn.psm1&#xA;&#xA;# SYNC ALL CONFIGURATIONS&#xA;Sync-Unicorn -ControlPanelUrl 'http://[mysite]/unicorn.aspx' -SharedSecret 'zVjWBabXAAA3LHAA1pBuyoWgAAT4rvhhwu6svj5pT0bvAA09gNQHxrrpyTh4ciA' -Configurations @('default')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is the error being thrown with stack trace. Note at the end of the trace something about &lt;code&gt;Invoke-WebRequest&lt;/code&gt; I am not sure if this is the root cause:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Unable to cast object of type 'System.String' to type     'Unicorn.ControlPanel.Security.IUnicornAuthenticationProvider'.&#xA;&#xA;&#xA;    Server Error in '/' Application.&#xA;     Unable to cast object of type 'System.String' to type 'Unicorn.ControlPanel.Security.IUnicornAuthenticationProvider'. &#xA;&#xA;     Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the &#xA;error and where it originated in the code.&#xA;&#xA;     Exception Details: System.InvalidCastException: Unable to cast object of type 'System.String' to type &#xA;'Unicorn.ControlPanel.Security.IUnicornAuthenticationProvider'.&#xA;    Source Error: &#xA;&#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified &#xA;using the exception stack trace below.&#xA;&#xA;&#xA;Stack Trace: &#xA;&#xA;[InvalidCastException: Unable to cast object of type &amp;amp;#39;System.String&amp;amp;#39; to type &amp;amp;#39;Unicorn.ControlPanel.Security.IUnicornAuthenticationProvider&amp;amp;#39;.]&#xA;Unicorn.Configuration.UnicornConfigurationManager..cctor() +85&#xA;[TypeInitializationException: The type initializer for &amp;amp;#39;Unicorn.Configuration.UnicornConfigurationManager&amp;amp;#39; threw an exception.]&#xA;Unicorn.Data.DataProvider.UnicornSqlServerDataProvider..ctor(String connectionString) +28&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +243&#xA;Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters) +77&#xA;Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +81&#xA;Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +100&#xA;Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +451&#xA;Sitecore.Configuration.Factory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +91&#xA;Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +81&#xA;Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +738&#xA;Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +416&#xA;Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +198&#xA;Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +451&#xA;Sitecore.Configuration.Factory.CreateObject(String configPath, Boolean assert) +38&#xA;Sitecore.Configuration.Factory.GetDatabase(String name, Boolean assert) +105&#xA;Sitecore.Configuration.Factory.GetDatabase(String name) +31&#xA;Sitecore.Configuration.Factory.GetDatabases() +54&#xA;Sitecore.Data.Managers.ItemManager.InitializeEventHandlers() +24&#xA;(Object , Object[] ) +85&#xA;Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters) +36&#xA;Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365&#xA;Sitecore.Pipelines.Loader.InitializeManagers.Process(PipelineArgs args) +38&#xA;(Object , Object[] ) +56&#xA;Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters) +36&#xA;Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365&#xA;Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +158&#xA;Sitecore.Nexus.Web.HttpModule.Application_Start() +165&#xA;Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +498&#xA;System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +534&#xA;System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&#xA;System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +339&#xA;System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296&#xA;[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]&#xA;System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9946024&#xA;System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +90&#xA;System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +261&#xA;&#xA;&#xA;    Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1&#xA;&#xA;&#xA;At C:\Website\data\Unicorn\Unicorn.psm1:56 char:12&#xA;+ ...   $result = Invoke-WebRequest -Uri $url -TimeoutSec 360 -UseBasicPars ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException&#xA;+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unicorn.UI.config looks like: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;      &amp;lt;!-- &#xA;        Authentication Provider&#xA;        Provides a security protocol to determine who has access to the Unicorn Control Panel&#xA;      --&amp;gt;&#xA;      &amp;lt;authenticationProvider type=&quot;Unicorn.ControlPanel.Security.ChapAuthenticationProvider, Unicorn&quot;&amp;gt;&#xA;        &amp;lt;SharedSecret&amp;gt;&amp;lt;/SharedSecret&amp;gt;&#xA;          &amp;lt;ChallengeDatabase&amp;gt;web&amp;lt;/ChallengeDatabase&amp;gt;&#xA;      &amp;lt;/authenticationProvider&amp;gt;&#xA;      &amp;lt;!--&#xA;        Legacy provider: this provides Unicorn 2.x and 3.0.x behavior for the security token. Deprecated.&#xA;        &amp;lt;authenticationProvider type=&quot;Unicorn.ControlPanel.Security.LegacyAuthenticationProvider, Unicorn&quot; /&amp;gt;&#xA;      --&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How it appears in &lt;code&gt;sitecore/admin/showconfig.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://cdn.pbrd.co/images/dkftXafAJ.png&quot; alt=&quot;image&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;One thing to add. I have tried the sync locally through the Unicorn's web UI before trying to implement any of this. It worked fine. This issue only arose when I attempted to define a shared secret key to be able to use the API tool.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or comments are greatly appreciated&lt;/p&gt;&#xA;" OwnerUserId="324" LastEditorUserId="10" LastEditDate="2016-10-16T16:38:37.007" LastActivityDate="2016-10-16T16:38:37.007" Title="Unable to cast object of type 'System.String' to type 'Unicorn.ControlPanel.Security.IUnicornAuthenticationProvider' Using automated Tool API" Tags="|configuration|unicorn|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1016" PostTypeId="1" AcceptedAnswerId="1021" CreationDate="2016-10-10T12:56:45.973" Score="13" ViewCount="1203" Body="&lt;p&gt;I have a template in which I want to provide a field where editors can select 1 item from a bucket. I am just not sure which field type I should use. The best match for working with buckets seems to be the &quot;Multilist with Search&quot;, but that is more suited for selecting multiple items and I need only (and max) 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any experience on this - where your editors were happy with the result?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-10-31T10:22:44.927" Title="What fieldtype should I use to select one item from a bucket" Tags="|content-editor|buckets|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1017" PostTypeId="5" CreationDate="2016-10-10T12:57:28.300" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-10T12:57:28.300" LastActivityDate="2016-10-10T12:57:28.300" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1018" PostTypeId="4" CreationDate="2016-10-10T12:57:28.300" Score="0" Body="Item buckets let you manage large numbers of items in the content tree. All questions regarding Sitecore item buckets should use this tag." OwnerUserId="237" LastEditorUserId="2727" LastEditDate="2019-01-09T12:42:01.843" LastActivityDate="2019-01-09T12:42:01.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1019" PostTypeId="2" ParentId="653" CreationDate="2016-10-10T12:57:29.133" Score="0" Body="&lt;p&gt;I would not place non-page items under the start item in the first place. I usually create a &quot;Shared Content&quot; folder as a sibling to the Home item. Under this I would place non-page editorial content (Hero, Contact, FAQ etc.) and add them as data sources for components on a page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this way, the users will never be able to navigate to the data items, and thus never get a &quot;Layout Not Found&quot; error page.&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2016-10-10T12:57:29.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1020" PostTypeId="1" AcceptedAnswerId="1023" CreationDate="2016-10-10T13:03:26.417" Score="6" ViewCount="263" Body="&lt;p&gt;We are in process of upgrading from WFFM 8.0 to WFFM 8.1 and when rebuilding our code I received an error on a class we built which inherits AssessSecurityRisk. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[deprecated] class Sitecore.Form.Submit.AssessSecurityRisk&#xA;  'AssessSecurityRisk' is obsolete&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class AssessSecurityRiskCustom: Sitecore.Form.Submit.AssessSecurityRisk&#xA;{&#xA;...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any thoughts please pass on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thx in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Dan&lt;/p&gt;&#xA;" OwnerUserId="524" LastEditorUserId="66" LastEditDate="2016-10-10T13:09:30.480" LastActivityDate="2016-10-10T13:52:36.250" Title="WFFM 8.1 upgrade - AssessSecurityRisk is obsolete" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1021" PostTypeId="2" ParentId="1016" CreationDate="2016-10-10T13:10:25.883" Score="9" Body="&lt;p&gt;I've used a multilist with search and just used a regex in the validate field to limit to choices to the field requirements know each case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example regex that limits zero to 5 items &lt;code&gt;^({[^}]+}|?){0,5}$&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For zero to 1 item change the &lt;code&gt;0,5&lt;/code&gt; to &lt;code&gt;0,1&lt;/code&gt;. To force one item set to &lt;code&gt;1,1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Src &lt;a href=&quot;http://www.benramey.com/2012/06/12/limit-selected-items-on-sitecore-multilist-field/&quot;&gt;blog post by Ben Ramey &lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-10-10T13:30:26.727" LastActivityDate="2016-10-10T13:30:26.727" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1022" PostTypeId="2" ParentId="1016" CreationDate="2016-10-10T13:20:36.343" Score="1" Body="&lt;p&gt;I don't think there is such field. It's probably a good thing to suggest for Sitecore though as it's not my first time I see such request. The way I see it you have two options&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;implement the custom field  &lt;/li&gt;&#xA;&lt;li&gt;use a mix of multilist with search with validation to limit the amount of items you can associate with the field(not the best choice but it is a workaround that works)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="90" LastEditorUserId="237" LastEditDate="2016-10-10T13:25:35.627" LastActivityDate="2016-10-10T13:25:35.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1023" PostTypeId="2" ParentId="1020" CreationDate="2016-10-10T13:21:59.843" Score="5" Body="&lt;p&gt;The existing &lt;code&gt;Form Verification/Assess Security Risk&lt;/code&gt; action still points to the old &lt;code&gt;Sitecore.Form.Submit.AssessSecurityRisk&lt;/code&gt; which is marked &lt;code&gt;Obsolete&lt;/code&gt;. Normally &lt;code&gt;Obsolete&lt;/code&gt; messages are marked with &quot;Please use X instead&quot;... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given that the out of the box &lt;code&gt;Assess Security Risk&lt;/code&gt; Action is still using the obsolete class you are probably ok to continue to use this for the moment (until the next upgrade at least). I would still raise a support ticket and ask for clarification though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.2 the &lt;code&gt;Assess Security Risk&lt;/code&gt; item has no &lt;code&gt;Class&lt;/code&gt; or &lt;code&gt;Assembly&lt;/code&gt; items set, which suggests the item has been left in as a legacy for existing forms but is no longer used. It may be that &lt;a href=&quot;https://kb.sitecore.net/articles/568572&quot;&gt;the form submissions are encoded by default now&lt;/a&gt;, but worth verifying with Support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The verification was removed in &lt;a href=&quot;https://sdn.sitecore.net/Products/Web%20Forms%20for%20Marketers/Web%20Forms%20for%20Marketers%202,-d-,4/Release%20Notes.aspx&quot;&gt;WFFM 2.4 rev 151103&lt;/a&gt;, which would have been rolled into the later WFFM versions.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The default Assess Security Risk verification had worked incorrectly for the list fields. This verification can now be removed from the form. (66912)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-10-10T13:52:36.250" LastActivityDate="2016-10-10T13:52:36.250" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1024" PostTypeId="2" ParentId="1015" CreationDate="2016-10-10T13:31:01.840" Score="11" Body="&lt;p&gt;This is caused by having the &lt;code&gt;Unicorn.SharedSecret.config&lt;/code&gt; loading prior to &lt;code&gt;Unicorn.UI.config&lt;/code&gt; (which prevents the type definition on the auth provider from loading correctly due to Sitecore config patching rules).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rename your &lt;code&gt;Unicorn.SharedSecret.config&lt;/code&gt; to &lt;code&gt;Unicorn.zSharedSecret.config&lt;/code&gt; and that should fix it.&lt;/p&gt;&#xA;" OwnerUserId="267" LastEditorUserId="267" LastEditDate="2016-10-11T20:01:17.803" LastActivityDate="2016-10-11T20:01:17.803" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1025" PostTypeId="2" ParentId="1009" CreationDate="2016-10-10T13:40:28.703" Score="6" Body="&lt;p&gt;It is worth reviewing the validation rules on the &lt;code&gt;Image Field&lt;/code&gt;. The validation rules have certain types of behaviour based on the result of the validation. The following are potential results:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The “Result” parameter determines the default result value of a validation.&lt;/p&gt;&#xA;&lt;p&gt;Possible values are:&lt;/p&gt;&#xA;&lt;p&gt;Valid = Green, everything is fine&lt;/p&gt;&#xA;&lt;p&gt;Suggestion = Bright Orange, hmm, take a look at this&lt;/p&gt;&#xA;&lt;p&gt;Warning = Orange, you should do something about this&lt;/p&gt;&#xA;&lt;p&gt;Error = Red, this is an error you know&lt;/p&gt;&#xA;&lt;p&gt;CriticalError  = Red, user is warned before saving&lt;/p&gt;&#xA;&lt;p&gt;FatalError = Red, user cannot save item before validator is cleared&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://briancaos.wordpress.com/2011/05/09/using-sitecore-field-validators/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Source for quoted text and more information on validators&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The dialog stating &amp;quot;Changes you made may not be saved&amp;quot;. This can occur if someone has set a validator that requires the &lt;code&gt;Image field&lt;/code&gt; to not be a) pointing to an image that is missing or b) no image.&lt;/p&gt;&#xA;&lt;p&gt;So as @aseabridge suggested it is worth trying to point the image field to an image that exists. The other option is to review the validations set on the field and remove them if they should not exist. Worth noting they were placed in for a reason, make sure if your removing you don't break any potential business process reasons.&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-10T15:01:18.027" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1026" PostTypeId="1" AcceptedAnswerId="1570" CreationDate="2016-10-10T13:56:37.890" Score="27" ViewCount="3008" Body="&lt;p&gt;Sitecore Personalization using GEO IP is not executed .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have activated &quot;Sitecore IP Geo location Service&quot; and followed all steps needed to activate the service for Sitecore instance (8.1 update 1)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install Sitecore IP Geo location Service package. &lt;/li&gt;&#xA;&lt;li&gt;Enable the Sitecore.CES.config, Sitecore.CES.GeoIp.config, and&#xA;Sitecore.CES.GeoIP.LegacyLocation.config files.&lt;/li&gt;&#xA;&lt;li&gt;Navigate to Sitecore/admin/Testip.aspx and insert my &quot;IP&quot; and i got&#xA;GeoIp location information&lt;/li&gt;&#xA;&lt;li&gt;Then i added simple personalize rule as the attached image to hide&#xA;one of the  controls for specific country then publish the page but&#xA;the rule is not executed.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eZNBv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eZNBv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ydOIl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ydOIl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="635" LastEditorUserId="246" LastEditDate="2016-10-18T22:50:27.040" LastActivityDate="2018-02-05T10:31:22.087" Title="Sitecore IP Geo location Service-Personalization with Geo-based conditions does not work" Tags="|personalization|geo-location|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1027" PostTypeId="2" ParentId="1008" CreationDate="2016-10-10T14:25:13.903" Score="23" Body="&lt;p&gt;You can do this with &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;PowerShell Extensions 4.5 or Higher&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Use the &lt;code&gt;Set-ItemTemplate&lt;/code&gt; commandlet with the &lt;code&gt;-FieldsToCopy&lt;/code&gt; parameter.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$rootItem = Get-Item master:/content;&#xA;$sourceTemplate = Get-Item &quot;Template-B-Path-Or-Guid-Here&quot;;&#xA;$targetTemplate = Get-Item &quot;Template-A-Path-Or-Guid-Here&quot;;&#xA;&#xA;Get-ChildItem $rootItem.FullPath -recurse | Where-Object { $_.TemplateName -eq $sourceTemplate.Name } | ForEach-Object {&#xA;    Set-ItemTemplate -Item $_ -TemplateItem $targetTemplate `&#xA;        -FieldsToCopy @{ Title2 = &quot;Title1&quot;; SubText2 = &quot;SubText1&quot;; Body2 = &quot;Body1&quot; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The value you pass to the &lt;code&gt;-FieldsToCopy&lt;/code&gt; parameter takes the following form: &lt;code&gt;@{ OldField1 = &quot;NewField1&quot;; OldField2 = &quot;NewField2&quot;; OldField3 = &quot;NewField3&quot; }&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;PowerShell Extensions 4.4.1 or Lower&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$rootItem = Get-Item master:/content;&#xA;$sourceTemplate = Get-Item &quot;Template-B-Path-Or-Guid-Here&quot;;&#xA;$targetTemplate = Get-Item &quot;Template-A-Path-Or-Guid-Here&quot;;&#xA;&#xA;Get-ChildItem $rootItem.FullPath -recurse | Where-Object { $_.TemplateName -eq $sourceTemplate.Name } | ForEach-Object {&#xA;    $title2 = $_.Title2;&#xA;    $subText2 = $_.SubText2;&#xA;    $body2 = $_.Body2;&#xA;&#xA;    $_.ChangeTemplate($targetTemplate);&#xA;    $updatedItem = Get-Item $_.ID;&#xA;&#xA;    $updatedItem.Title1 = $title2;&#xA;    $updatedItem.SubText1 = $subText2;&#xA;    $updatedItem.Body1 = $body2;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With PowerShell Extensions 4.4.1 or lower, be careful that you do the following or you may experience data loss:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Store the source field value into a variable &lt;em&gt;before&lt;/em&gt; you change the item’s template.&lt;/li&gt;&#xA;&lt;li&gt;Get the updated item out of the database &lt;em&gt;before&lt;/em&gt; you set the target field.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="10" LastEditorUserId="10" LastEditDate="2017-07-06T22:11:25.120" LastActivityDate="2017-07-06T22:11:25.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1028" PostTypeId="1" CreationDate="2016-10-10T14:53:39.423" Score="10" ViewCount="860" Body="&lt;p&gt;I'm working on a Lucene-based search page on Sitecore 8.1. I'd like to be able to display all facets and all facet values, even when there are 0 aggregate results for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, what I get back from a Lucene query is&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;{&#xA;  &quot;Facets&quot;: {&#xA;    &quot;Categories&quot;: [&#xA;        {&#xA;        &quot;Name&quot;: &quot;facetOne&quot;,&#xA;        &quot;Values&quot;: [&#xA;            {&#xA;            &quot;Name&quot;: &quot;F1Value1&quot;,&#xA;            &quot;AggregateCount&quot;: 1,&#xA;            &quot;Aggregate&quot;: 1&#xA;            }&#xA;        ]&#xA;        },&#xA;        {&#xA;        &quot;Name&quot;: &quot;facetTwo&quot;,&#xA;        &quot;Values&quot;: [&#xA;            {&#xA;            &quot;Name&quot;: &quot;F2Value1&quot;,&#xA;            &quot;AggregateCount&quot;: 2,&#xA;            &quot;Aggregate&quot;: 2&#xA;            }&#xA;        ]&#xA;        }&#xA;    ]&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I'd like to get back facets with 0 values as well, such as &lt;strong&gt;facetThree&lt;/strong&gt; and &lt;strong&gt;F2Value2&lt;/strong&gt; in this example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;{&#xA;  &quot;Facets&quot;: {&#xA;    &quot;Categories&quot;: [&#xA;        {&#xA;        &quot;Name&quot;: &quot;facetOne&quot;,&#xA;        &quot;Values&quot;: [&#xA;            {&#xA;            &quot;Name&quot;: &quot;F1Value1&quot;,&#xA;            &quot;AggregateCount&quot;: 1,&#xA;            &quot;Aggregate&quot;: 1&#xA;            }&#xA;        ]&#xA;        },&#xA;        {&#xA;        &quot;Name&quot;: &quot;facetTwo&quot;,&#xA;        &quot;Values&quot;: [&#xA;            {&#xA;            &quot;Name&quot;: &quot;F2Value1&quot;,&#xA;            &quot;AggregateCount&quot;: 2,&#xA;            &quot;Aggregate&quot;: 2&#xA;            },&#xA;            {&#xA;            &quot;Name&quot;: &quot;F2Value2&quot;,&#xA;            &quot;AggregateCount&quot;: 0,&#xA;            &quot;Aggregate&quot;: 0&#xA;            }&#xA;        ]&#xA;        },&#xA;        {&#xA;        &quot;Name&quot;: &quot;facetThree&quot;,&#xA;        &quot;Values&quot;: [&#xA;            {&#xA;            &quot;Name&quot;: &quot;F3Value1&quot;,&#xA;            &quot;AggregateCount&quot;: 0,&#xA;            &quot;Aggregate&quot;: 0&#xA;            }&#xA;        ]&#xA;        }&#xA;    ]&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is it possible to do this within the ContentSearch API? If so, how?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;edit: here's (a simplified version of) the back-end code, in case it helps&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;using (IProviderSearchContext context = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;).CreateSearchContext())&#xA;{&#xA;    var query = context.GetQueryable&amp;lt;TQueryable&amp;gt;();&#xA;    query = query&#xA;                .FacetOn(f =&amp;gt; f.FacetOne)&#xA;                .FacetOn(f =&amp;gt; f.FacetTwo)&#xA;                .FacetOn(f =&amp;gt; f.FacetThree);&#xA;&#xA;    var results = query.GetResults();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Update:&lt;/em&gt; I've learned that there is an override to &lt;code&gt;.FacetOn&lt;/code&gt; that takes a &quot;minimumResultCount&quot; argument. That does not appear to be doing anything, however. I'm not sure if that functionality is broken, or if I'm doing something wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Update 2:&lt;/em&gt; I submitted a support ticket to Sitecore. They have confirmed there is a bug. Essentially, the Lucene provider doesn't process the minimum result count property of the query. Sitecore has opened a bug for it and is investigating. They confirmed that it is NOT an issue for Solr, and is only limited to the Lucene implementation.&lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="4" LastEditDate="2016-11-07T13:13:32.123" LastActivityDate="2016-11-07T13:13:32.123" Title="Display Facets With 0 Values" Tags="|lucene|content-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1029" PostTypeId="1" AcceptedAnswerId="1030" CreationDate="2016-10-10T15:19:28.860" Score="11" ViewCount="630" Body="&lt;p&gt;I need to make a quick Sitecore admin script to inspect a series of items.  I need to do this without compiling my solution.&#xA;I made a sample ASPX page under &lt;code&gt;/sitecore/admin/&lt;/code&gt; using:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;script runat=&quot;server&quot; language=&quot;text/c#&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but when I try to view it I get Sitecore telling me &lt;code&gt;ItemNotFound&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this type of 'pure script' page supported under Sitecore?  Is there a piece of functionality I am missing?&lt;/p&gt;&#xA;" OwnerUserId="19" LastEditorUserId="28" LastEditDate="2016-10-13T16:21:42.140" LastActivityDate="2016-10-13T16:21:42.140" Title="How to create a quick, one-off admin page without compiling" Tags="|admin-pages|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1030" PostTypeId="2" ParentId="1029" CreationDate="2016-10-10T15:23:32.040" Score="6" Body="&lt;p&gt;I wasnt extending the adminpage base class.  My script tag should have read like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;c#&quot; Inherits=&quot;Sitecore.sitecore.admin.AdminPage&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There a good writeup and example page in &lt;a href=&quot;http://jockstothecore.com/creating-a-quick-admin-script-to-run-within-sitecore/&quot;&gt;this post on BrainJocks&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="19" LastActivityDate="2016-10-10T15:23:32.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1031" PostTypeId="2" ParentId="1029" CreationDate="2016-10-10T15:26:16.993" Score="2" Body="&lt;p&gt;Here you go, sample code snippet for that:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;c#&quot; EnableEventValidation=&quot;false&quot; AutoEventWireup=&quot;true&quot; %&amp;gt;&#xA;&#xA;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;    void Page_Load(object sender, System.EventArgs e)&#xA;    {&#xA;        repValues.DataBind();&#xA;    }&#xA;&#xA;    public IEnumerable&amp;lt;string&amp;gt; Names&#xA;    {&#xA;        get&#xA;        {&#xA;            return new[] { &quot;1&quot;, &quot;2&quot; };&#xA;        }&#xA;    }&#xA;&amp;lt;/script&amp;gt;&#xA;&#xA;&amp;lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; &amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;title&amp;gt;Example Admin page&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;form runat=&quot;server&quot;&amp;gt;&#xA;        &amp;lt;div&amp;gt;&#xA;            &amp;lt;asp:Repeater ID=&quot;repValues&quot; runat=&quot;server&quot; DataSource=&quot;&amp;lt;%# Names %&amp;gt;&quot;&amp;gt;&#xA;                &amp;lt;ItemTemplate&amp;gt;&#xA;                    &amp;lt;%# (Container.DataItem as string) %&amp;gt;&#xA;                    &amp;lt;br /&amp;gt;&#xA;                &amp;lt;/ItemTemplate&amp;gt;&#xA;            &amp;lt;/asp:Repeater&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/form&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT:&#xA;I am glad that you solved your issue ;)&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-10T15:33:03.687" LastActivityDate="2016-10-10T15:33:03.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1032" PostTypeId="2" ParentId="1028" CreationDate="2016-10-10T15:26:51.357" Score="6" Body="&lt;p&gt;You need to create on /sitecore/system/Settings/Buckets/Facets a new facets add field name (must be lowercase). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have the field &lt;strong&gt;Minimum Number&lt;/strong&gt; ( Minimum Number of Items - The minimum number of items that the facet must appear in before it is shown in the search results [shared, standard value]. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set the value 0 and it will appear in your search results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sMNBO.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sMNBO.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-10T15:26:51.357" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1033" PostTypeId="1" AcceptedAnswerId="1034" CreationDate="2016-10-10T15:32:51.377" Score="15" ViewCount="2265" Body="&lt;p&gt;Publishing Service is very new and while moving through various parts, I had a couple of questions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way we know it know is that the &lt;code&gt;PublishItem&lt;/code&gt; Pipeline prior to Publishing Service will not have any effect, after installing Sitecore Publishing Service.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the current situation, can we customize some Pipeline in Sitecore Publishing Service?&lt;/li&gt;&#xA;&lt;li&gt;If yes, say I have a custom Processor in &lt;code&gt;PublishItemProcessor&lt;/code&gt; - for some additional logging and hence I have written it below &lt;code&gt;UpdateStatistics&lt;/code&gt;  in current scenario - where will that go moving forward with Publishing Service?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="616" LastEditorUserId="237" LastEditDate="2019-06-02T10:18:06.983" LastActivityDate="2019-06-02T10:18:06.983" Title="How and where to add custom processors for publishing with Sitecore Publishing Service" Tags="|publishing-service|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1034" PostTypeId="2" ParentId="1033" CreationDate="2016-10-10T16:01:05.750" Score="19" Body="&lt;p&gt;You are correct .. none of the old publishing pipelines are called when the new service is installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Traditionally, Sitecore  publishes one item at a time. This is inefficient at a larger scale so the &lt;code&gt;Publishing Service&lt;/code&gt;, instead, processes items in batches. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means the existing pipelines are no longer conceptually compatible so there needed to be a 'batched' way of accessing the changes generated from a publish operation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the end of a publish, the &lt;code&gt;Publishing Service&lt;/code&gt; will push all 'manifest results' (i.e changes that have just have just published) in batches to a pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;args&lt;/code&gt; object of this pipeline contains all items have that been created / updated / deleted during the publish process &lt;strong&gt;but&lt;/strong&gt; before the caches have been cleared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you need to check that certain types of item have been published or need to log anything extra or make any other changes then this pipeline is the place to do it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore handles the batching and loading for you, you just process the batches as part of the pipeline arguments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Details&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pipeline you need to look at the &lt;code&gt;PublishBatchResult&lt;/code&gt; pipeline (found as part of the Sitecore Module in &lt;code&gt;App_Config\Include\Sitecore.Publishing.Service.config&lt;/code&gt; - rather than the Publishing Service itself).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the config:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This pipeline is called from publishingservice:publishend event handler which subscribes to the publish end event. Publish results will &#xA;        be passed to this pipeline in batches. The size of the batch is defined by 'manifestResultLoadBatchSize' parameter specified within&#xA;        the publishingservice:publishend configuration section.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you create a processor in here you will receive a &lt;code&gt;PublishEndResultBatchArgs&lt;/code&gt; object which will contain a batch of &lt;code&gt;ManifestOperationResult&amp;lt;ItemResult&amp;gt;&lt;/code&gt; objects from which you can interrogate and some other helpful properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned, you can adjust the size of these batches in the config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore uses this pipeline to issue the events that clear the caches on the CD servers .. so putting your processor before this means your processor will get called before the cache clear, afterwards is gets called after the cache clear. &lt;/p&gt;&#xA;" OwnerUserId="201" LastActivityDate="2016-10-10T16:01:05.750" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1035" PostTypeId="1" CreationDate="2016-10-10T16:12:42.020" Score="3" ViewCount="93" Body="&lt;p&gt;I don't know if this should be a UserVoice request - but thought of asking here first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We know that there are new Modules posted on the Marketplace quite frequently, but we don't know about them, till we go and search for a specific requirement that we have. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a feed for Sitecore Blogs written by various Sitecore Enthusiasts, a feed for Sitecore Documentation and Knowledge base articles. These feeds help the whole community to know about the latest article written and when read and aware, its simply going to that blog article for some help when required. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am sure it would help for new Marketplace Modules as well. But I don't know if we have a feed for new modules posted on Marketplace. &#xA;If not can we have one?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;[UPDATE 11th Oct 2016]&lt;/strong&gt; Posted as an idea on UserVoice. &#xA;&lt;a href=&quot;https://sitecore.uservoice.com/forums/429883-sitecore-mvp/suggestions/16591489-feed-for-sitecore-marketplace-modules&quot; rel=&quot;nofollow&quot;&gt;https://sitecore.uservoice.com/forums/429883-sitecore-mvp/suggestions/16591489-feed-for-sitecore-marketplace-modules&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="616" LastEditorUserId="616" LastEditDate="2016-10-11T15:07:58.560" LastActivityDate="2016-10-11T15:07:58.560" Title="Feed for Sitecore Marketplace Modules" Tags="|sitecore-marketplace|" AnswerCount="0" CommentCount="7" ClosedDate="2016-10-10T17:52:08.677" ContentLicense="CC BY-SA 3.0" />
  <row Id="1036" PostTypeId="2" ParentId="1026" CreationDate="2016-10-10T16:23:34.900" Score="7" Body="&lt;p&gt;You need to check in your GeoIP collection data to see if your IP is &lt;strong&gt;already&lt;/strong&gt; included with null information. Most of the time this is the case.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that, when you test this using TestIp.aspx page, it directly sends your request to GeoIP Service directly without looking at your cache or data. That is the reason it works with TestIp.aspx page.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, when requested from normal website pages, it follows the below mention steps  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Quote from doc.sitecore.net&lt;/strong&gt;&lt;br&gt;&#xA;When IP information is requested, the following steps are performed:  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Lookup of IP information in the memory cache;  &lt;/li&gt;&#xA;&lt;li&gt;Lookup of IP information in the database;  &lt;/li&gt;&#xA;&lt;li&gt;Request to the Geolocation service.  &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can refer my blogpost for more details&#xA;&lt;a href=&quot;https://sitecorefootsteps.blogspot.com/2015/10/my-experience-on-sitecore-ip.html&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorefootsteps.blogspot.com/2015/10/my-experience-on-sitecore-ip.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-10T16:23:34.900" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1037" PostTypeId="1" AcceptedAnswerId="1039" CreationDate="2016-10-10T17:23:56.807" Score="11" ViewCount="1088" Body="&lt;p&gt;I want to be able to update all users who have the Administrator checkbox selected without manually going through each of the user. In the same script I would like to add them to another Role. This way there is only one user with the Administrator checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to use Sitecore PowerShell extensions module.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2018-05-15T02:44:51.937" Title="Update all users in the Administrator Role" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1038" PostTypeId="2" ParentId="944" CreationDate="2016-10-10T17:49:29.770" Score="5" Body="&lt;p&gt;To do this quickly using PowerShell, without any new tools, see snippet below. It will handle dated packages generated by TDS as well.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# use name of package without .update extension&#xA;$packageName = &quot;MyPackage&quot;&#xA;get-childitem -recurse -filter &quot;*.config.$($packageName)*&quot; | ? {$_.FullName -notmatch &quot;\\temp\?&quot;} | % { Move-Item $_.FullName $_.FullName.Substring(0, $_.FullName.LastIndexOf(&quot;.&quot;)) -Force }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2016-10-19T19:08:59.947" LastActivityDate="2016-10-19T19:08:59.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1039" PostTypeId="2" ParentId="1037" CreationDate="2016-10-10T17:58:50.727" Score="14" Body="&lt;p&gt;In SPE you should be able to do the following to get a list of all users with the admin role.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;This should get you users, with admin role who are not the default admin&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;    $users = Get-User -Filter* &#xA;    | Where-Object {$_.IsAdministrator -and $_.Profile.UserName -ne 'sitecore\admin'}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Then you should pipe through the &lt;code&gt;$users&lt;/code&gt; variable add a new role and user set-user to remove admin writes by setting it to false&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;    $users | ForEachObject { &#xA;                Add-RoleMember -Identity developer -Members $_.Profile.UserName &#xA;                Set-User -Identity $_Profile.UserName -IsAdministrator $false }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Complete script&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;    $users = Get-User -Filter* | Where-Object {$_.IsAdministrator -and $_.Profile.UserName -ne 'sitecore\admin'}&#xA;&#xA;    $users | ForEachObject {Add-RoleMember -Identity developer -Members $_.Profile.UserName Set-User -Identity $_Profile.UserName -IsAdministrator $false }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Worth referring to SPE gitbook for &lt;a href=&quot;https://doc.sitecorepowershell.com/security/users-and-roles&quot; rel=&quot;nofollow noreferrer&quot;&gt;User and Roles Commands&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/security/set-user&quot; rel=&quot;nofollow noreferrer&quot;&gt;Set-User&lt;/a&gt; documentation for more info on what you can change with Set-User and how you can get different users.&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="95" LastEditDate="2018-05-15T02:44:51.937" LastActivityDate="2018-05-15T02:44:51.937" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="1040" PostTypeId="2" ParentId="949" CreationDate="2016-10-10T18:06:45.267" Score="0" Body="&lt;p&gt;Can you navigate to control panel and see if the Coveo section is populated and run the diagnostic. See what component is complaning and may be you will need to relink the coveo admin credentials and validate license.&lt;/p&gt;&#xA;" OwnerUserId="600" LastActivityDate="2016-10-10T18:06:45.267" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1041" PostTypeId="1" CreationDate="2016-10-10T19:06:36.590" Score="9" ViewCount="729" Body="&lt;p&gt;Converting WFFM from 8.0 to 8.1, using MVC and came across an error after my build and deploy to my local environment.  Error appearing is one of our Views has the below in lines 1 &amp;amp; 2 which causes errors.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Forms.Mvc.Data.Analytics&#xA;@using Sitecore.Forms.Mvc.Extensions&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When running, receive this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Compilation Error&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An error occurred during the compilation of a resource&#xA;  required to service this request. Please review the following specific&#xA;  error details and modify your source code appropriately. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Compiler Error Message: CS0234: The type or namespace name 'Analytics'&#xA;  does not exist in the namespace 'Sitecore.Forms.Mvc.Data' (are you&#xA;  missing an assembly reference?)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Line 1:  @using Sitecore.Forms.Mvc.Data.Analytics Line 2:  @using&#xA;  Sitecore.Forms.Mvc.Extensions&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I looked into the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/Web%20Forms%20For%20Marketers%2081/Web%20Forms%20For%20Marketers%2081%20Initial%20Version/Release%20Notes&quot;&gt;Release Notes for 8.1&lt;/a&gt; and did not see any references to this namespace being broken.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also opened up Sitecore.Forms.Mvc.dll file for 8.0 and compared with 8.1 in ILspy.  I did not see the namespace Sitecore.Forms.Mvc.Data.Analytics in the 8.1 version as it was in the 8.0 dll file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help greatly appreciated to resolve this issue. &lt;/p&gt;&#xA;" OwnerUserId="524" LastActivityDate="2016-10-10T23:52:38.190" Title="WFFM 8.1 Upgrade - Namespaces removed from Sitecore.Forms.Mvc" Tags="|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1042" PostTypeId="1" AcceptedAnswerId="1604" CreationDate="2016-10-10T19:10:57.787" Score="11" ViewCount="343" Body="&lt;p&gt;Here is the error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Index_Update_IndexName=Coveo_web_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; Coveo.Framework.Utils.Rest.HttpClientException: Failed to obtain resource located at 'http://DOMAIN.com/coveo/rest?indexName=Coveo_web_index'.&#xA;[BEGIN RESPONSE BODY]&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&amp;gt;&#xA;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;/&amp;gt;&#xA;&amp;lt;title&amp;gt;502 - Web server received an invalid response while acting as a gateway or proxy server.&amp;lt;/title&amp;gt;&#xA;&amp;lt;style type=&quot;text/css&quot;&amp;gt;&#xA;&amp;lt;!--&#xA;body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}&#xA;fieldset{padding:0 15px 10px 15px;} &#xA;h1{font-size:2.4em;margin:0;color:#FFF;}&#xA;h2{font-size:1.7em;margin:0;color:#CC0000;} &#xA;h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} &#xA;#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:&quot;trebuchet MS&quot;, Verdana, sans-serif;color:#FFF;&#xA;background-color:#555555;}&#xA;#content{margin:0 0 0 2%;position:relative;}&#xA;.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}&#xA;--&amp;gt;&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;&amp;lt;div id=&quot;header&quot;&amp;gt;&amp;lt;h1&amp;gt;Server Error&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;&#xA;&amp;lt;div id=&quot;content&quot;&amp;gt;&#xA; &amp;lt;div class=&quot;content-container&quot;&amp;gt;&amp;lt;fieldset&amp;gt;&#xA;  &amp;lt;h2&amp;gt;502 - Web server received an invalid response while acting as a gateway or proxy server.&amp;lt;/h2&amp;gt;&#xA;  &amp;lt;h3&amp;gt;There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.&amp;lt;/h3&amp;gt;&#xA; &amp;lt;/fieldset&amp;gt;&amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;[END RESPONSE BODY] ---&amp;gt; System.Net.WebException: The remote server returned an error: (502) Bad Gateway.&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at Coveo.Framework.Utils.Rest.HttpClient.ExecuteRequest(String p_Url, HttpWebRequest p_Request, Int64 p_CallId)&#xA;   --- End of inner exception stack trace ---&#xA;   at Coveo.Framework.Utils.Rest.HttpClient.ExecuteRequest(String p_Url, HttpWebRequest p_Request, Int64 p_CallId)&#xA;   at Coveo.Framework.Utils.Rest.HttpClient.PostRaw(String p_Url, String p_Body)&#xA;   at Coveo.Framework.Utils.Rest.HttpClient.Post(String p_Url, String p_Body)&#xA;   at Coveo.SearchServiceProvider.Rest.ClientSessionWrapper.ExecuteQuery(QueryParams p_QueryParams)&#xA;   at Coveo.AbstractLayer.Communication.CES.CESCommunication.&amp;lt;&amp;gt;c__DisplayClass3b.&amp;lt;CreateDeletedDocumentsPoller&amp;gt;b__3a()&#xA;   at Coveo.Framework.Synchronization.Poller.WaitUntilComplete()&#xA;   at Coveo.AbstractLayer.Communication.CES.CESCommunication.StopRebuild(RebuildContext p_Context)&#xA;   at Coveo.SearchProvider.ProviderIndexBase.PerformRebuild(IProviderUpdateContext p_Context, Action`1 p_CrawlerAction)&#xA;   at Coveo.SearchProvider.ProviderIndexBase.Rebuild(IndexingOptions p_IndexingOptions, IProviderUpdateContext p_Context, Action`1 p_CrawlerAction)&#xA;   at Coveo.SearchProvider.ProviderIndex.TryPerformIndexingOperation(IndexingOptions p_IndexingOptions, Action p_Action)&#xA;   at Coveo.SearchProvider.ProviderIndex.Rebuild()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="146" LastEditorUserId="248" LastEditDate="2016-10-10T20:59:36.160" LastActivityDate="2017-10-02T14:29:55.770" Title="Coveo indexes about 1300+ records for the coveo web index and fails" Tags="|coveo|" AnswerCount="1" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="1043" PostTypeId="2" ParentId="258" CreationDate="2016-10-10T19:25:45.013" Score="11" Body="&lt;p&gt;I think there are some good individual examples here of useful Data Provider usage, and some good arguments about when/why you should not use them, but I'd like to summarize the situations in which a Data Provider can work well, and provide some concrete examples.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A data provider can potentially be a good option if:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The data is local to the Sitecore instance, with very fast query/API, and has a hierarchical structure that maps well to Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;There are significant advantages to the data being represented as Sitecore items. E.g. being able to browse items for linking or datasources.&lt;/li&gt;&#xA;&lt;li&gt;You want to be able to edit the data within Sitecore OR the data you are exposing does not require &quot;enrichment&quot; within Sitecore.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Some examples of useful Data Provider applications:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Commerce Systems&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both uCommerce and Sitecore Commerce use data providers to expose products to the Sitecore content tree. Commerce systems tend to have their own data modeling capabilities, and using a data provider here allows the template model for the product items to be dynamic as well. Having products exposed as items provides huge advantages for linking to products, product URLs, etc. This also allows for product data to be edited in Sitecore as well. If you do allow for editing within Sitecore, you do need to be careful of any locking, caching, etc. that could be happening within the other editing interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Product Information Management (PIM) Systems&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similar to commerce systems, PIMs tend to have their own robust data model, and there are big advantages to having those products represented as items. Most PIMs will have some sort of language version concept that can be mapped into Sitecore's data model as well. Typically with a true PIM however you will not want to implement data writes, and you will need to disconnect that data through publishing (i.e. a master db-only Data Provider). The PIM will need to have a fast API, or Content Editor and publishing performance will suffer. Many PIM integrations likely can be handled with an import instead, since publishing means the integration no longer provides &quot;real time&quot; data. But in cases where you have a very dynamic data model, a data provider could have advantages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Media and Digital Asset Management (DAM)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are storing media in a DAM of some sort, a Data Provider implementation could allow you to browse those assets in real time, and use them as if they were native Sitecore media, then publish as needed (and disconnect them from the DAM in the process).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Exposing External Data on Items&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is perhaps more of an edge case. Though the Active Commerce module for Sitecore stores products as native Sitecore items, it stores product stock information in its own database, so that stock levels can be quickly queried and transactionally incremented/decremented. However it also uses a Data Provider to expose those product stock levels in the Content Editor, and allow them to be manually adjusted if need be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's also worth noting in this example that Data Providers do not need to own the &quot;whole item&quot; -- they can just provide particular fields. When it comes to performance, this can have advantages when it comes to exposing, editing, and/or publishing external data.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-10T19:25:45.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1044" PostTypeId="1" AcceptedAnswerId="1046" CreationDate="2016-10-10T19:38:01.907" Score="14" ViewCount="814" Body="&lt;p&gt;This likely applies to other serialization solutions as well, but I'm specifically using TDS in this case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A site is developed and has gone live with some baseline content. This base structure is in TDS.&lt;/li&gt;&#xA;&lt;li&gt;Content authors have made edits to content items (as they do with a WCM).&lt;/li&gt;&#xA;&lt;li&gt;Meanwhile, development is being done which adds new fields to templates, potentially restructures pages with new renderings.&lt;/li&gt;&#xA;&lt;li&gt;Now this new development needs to be deployed without overwriting content changes.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Typically you will configure your Deployment Properties in TDS so that your production packages do not include items &quot;owned&quot; by content authors. But what about cases where new functionality requires introducing new content, or structural changes to existing content?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some sort of best-practice workflow with Razl or TDS that can help with this? It just a matter of syncing production content and having a content &quot;freeze&quot; prior to deploying the new functionality?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-12T10:42:10.437" Title="TDS workflow when content items need to be deployed" Tags="|tds|best-practices|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1045" PostTypeId="1" AcceptedAnswerId="1094" CreationDate="2016-10-10T19:57:20.967" Score="6" ViewCount="272" Body="&lt;p&gt;I have a website with the Response Header Vary set to &quot;User-Agent&quot;. I have verified that none of the JavaScript or CSS code is blocked using the Fetch as Google tool. When looking at the Rendering tab for Googlebot type Mobile:Smartphone it is showing that Googlebot is seeing the normal web version and not the mobile version. It also shows on the Rendering tab that the visitor would have seen the page showing the mobile version correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Google is showing my website as not mobile friendly. But, there is a very nice mobile version of the website for mobile that comes up when I visit with my iPhone or use the Google Chrome simulator. Also, I am not using a second URL for my mobile version (m.mysite.com).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using the &lt;a href=&quot;https://marketplace.sitecore.net/modules/mobile_device_detector.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Mobile Device Detector&lt;/a&gt; module for detecting a mobile device.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our Sitecore version is: Sitecore.NET 7.5 (rev. 141003).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I have to convert my website using Bootstrap in order to get Googlebot to see my mobile version and consider my site mobile friendly? It has been suggested that I change the site to use &lt;a href=&quot;https://developers.google.com/webmasters/mobile-sites/mobile-seo/separate-urls&quot; rel=&quot;nofollow noreferrer&quot;&gt;Separate URLs&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the response Headers:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rUY5g.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rUY5g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the rule which sends the Mobile version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jTdvU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jTdvU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the Google Mobile Usability Report:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oxsW0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oxsW0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the Google Mobile-Friendly Test:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZKcM1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZKcM1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Screen Width Rule Element for Device Detection points to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.SharedSource.MobileDeviceDetector.Rules.Conditions.ScreenWidthCondition, Sitecore.SharedSource.MobileDeviceDetector&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the version of 51Degrees we are using. 51Degrees emailed us to say that the version we are using is no longer supported and that we should look into using &lt;a href=&quot;http://www.3chillies.co.uk/blog/2015/09/3chillies-brings-51degrees-device-detection-to-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;3Chillies&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ymQf8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ymQf8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2016-10-11T16:37:24.123" LastActivityDate="2016-10-11T19:25:09.317" Title="Googlebot - Not Seeing Mobile Version - Not Mobile Friendly" Tags="|mobile|" AnswerCount="1" CommentCount="15" ContentLicense="CC BY-SA 3.0" />
  <row Id="1046" PostTypeId="2" ParentId="1044" CreationDate="2016-10-10T20:14:30.237" Score="8" Body="&lt;p&gt;In my world I try to make sure templates are controlled by the development team so that we always deploy those. That allows us to make minor changes across the board without worrying about deployment issues. Training for authors to stay out of the templates is required, or you have to split up the template into a 'structural' and 'marketing' template with inheritance so that the authors have a place to play separate from where you deploy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This doesn't work as well when you need to do something like add a component to specific pages in a specific placeholder. For me, this isn't something that should be automated with TDS, nor should it be in source control. This is an authoring task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the task can't be accomplished because it requires something that hasn't been deployed, that code/structure should be deployed first and then the authoring task should occur in production. (You might want to take a copy back into pre-prod/staging/UAT/wherever just to double-check everything works before you go to prod.) In this continuous delivery model, you are deploying code that needs to be able to work without the author needing to make the change. Perhaps you have feature toggling, perhaps you have things triggering alternate display flows based on the presence of a component, but in some way you need to make this 'safe' for delivery to production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you do have a lot of authoring edits that need to be made in production, I would consider that part of the package that needs to be deployed is a Sitecore Powershell Extensions (SPE) script or something similar that can be executed in production to avoid manually executing all the steps.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2016-10-11T16:16:24.340" LastActivityDate="2016-10-11T16:16:24.340" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1047" PostTypeId="2" ParentId="1041" CreationDate="2016-10-10T21:23:46.713" Score="5" Body="&lt;p&gt;Thanks for the assistance of JammyKam I was able to figure out the issue.  Basically we had some views in our source control (Views / Forms (also the EditorTemplate)) that were OLD and had references to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Forms.Mvc.Data.Analytics &lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Forms.Mvc.Extensions&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When publishing, the WFFM 8.1 views were overwritten with the WFFM 8.0 views that were in the solution. &lt;/p&gt;&#xA;" OwnerUserId="524" LastEditorUserId="524" LastEditDate="2016-10-10T23:52:38.190" LastActivityDate="2016-10-10T23:52:38.190" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1048" PostTypeId="2" ParentId="21" CreationDate="2016-10-10T22:18:20.187" Score="3" Body="&lt;p&gt;In case anyone wants another solution. Viacheslav from Sitecore support suggested the following which is copying existing Treelist code and adding IDs of unwanted items to the &lt;code&gt;ExcludeItemsForDisplay&lt;/code&gt; property. I find Szymon/Ben Golden solution to be more elegant but no harm in having multiple options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a class for your custom field. Use a disassemble tool to get and copy the original code of TreeList class &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.TreeList&lt;/code&gt; in &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a method in this class which will add the IDs of items without versions in the &lt;code&gt;ExcludeItemsForDisplay&lt;/code&gt; property. This method should be called before &lt;code&gt;FormTemplateFilterForDisplay&lt;/code&gt; method. &lt;em&gt;Note:&lt;/em&gt; Multiple IDs should be separated by &lt;code&gt;,&lt;/code&gt; e.g. &lt;em&gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9},{EB2E4FFD-2761-4653-B052-26A64D385227}&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create your own field type in core database:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;e.g. Create item under: &lt;code&gt;/sitecore/system/Field types/Link Types/ MyTreeList&lt;/code&gt; with base template &lt;code&gt;/sitecore/templates/System/Templates/Template field type&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set your Namespace.ClassName and assembly name in the &lt;code&gt;Assembly&lt;/code&gt; and &lt;code&gt;Class&lt;/code&gt; fields&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Change field type in your template from the TreeList to the newly added field type.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="88" LastActivityDate="2016-10-10T22:18:20.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1049" PostTypeId="2" ParentId="979" CreationDate="2016-10-10T22:18:45.637" Score="2" Body="&lt;p&gt;As others have suggested, it's often easier to make this kind of architectural change slowly rather than going for the big bang. There's nothing stopping you from continuing with your current container, then as you write new classes (or just take 1 class at a time), migrate the class over to Sitecore DI. Of course you'll need to ensure any services you require are registered into the Sitecore container, so you may need to populate both your current container and the Sitecore DI container for this approach to work. And that's assuming you can withstand the transition period of having 2 containers in the solution at once.&lt;/p&gt;&#xA;" OwnerUserId="652" LastActivityDate="2016-10-10T22:18:45.637" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1050" PostTypeId="2" ParentId="1029" CreationDate="2016-10-10T22:26:28.443" Score="4" Body="&lt;p&gt;If Sitecore is telling you &lt;code&gt;ItemNotFound&lt;/code&gt;, then it's trying to resolve your request to a content item. Being your admin page is a physical file, the issue is most likely that you've not included the file extension in the request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, to access the &lt;code&gt;ShowConfig&lt;/code&gt; admin page I must include the &lt;code&gt;aspx&lt;/code&gt; extension of the file when I request it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://mysite/sitecore/admin/showconfig.aspx&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I leave the &lt;code&gt;aspx&lt;/code&gt; off, I'll get an &lt;code&gt;ItemNotFound&lt;/code&gt; error.&lt;/p&gt;&#xA;" OwnerUserId="652" LastActivityDate="2016-10-10T22:26:28.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1051" PostTypeId="2" ParentId="180" CreationDate="2016-10-10T22:26:45.510" Score="4" Body="&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To summarise the comments on this question, which provide a reasonable answer.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;7.5 does not have the fix applied. 7.2 update 6 does.&lt;/li&gt;&#xA;&lt;li&gt;They recommend upgrading to 8 for improved functionality&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore strongly recommends that you upgrade to the latest version of the Sitecore Experience Platform. [...] The latest Sitecore XP 8.0 update also includes critical hotfixes that significantly improve stability of this release compared to Sitecore XP 7.5. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;So two options stay on 7.2 update 6 or upgrade to 8 to get fixes.&lt;/li&gt;&#xA;&lt;li&gt;They are working on Hotfix for Sitecore 7.5 update-2 &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="283" LastEditorUserId="283" LastEditDate="2016-10-12T08:32:17.077" LastActivityDate="2016-10-12T08:32:17.077" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1052" PostTypeId="1" AcceptedAnswerId="1896" CreationDate="2016-10-10T23:29:27.443" Score="22" ViewCount="3337" Body="&lt;p&gt;I am setting up an existing site to use separate authoring and delivery servers. We have configured the onPublishEndAsync event to use the web database, and check for threshold is set to true. When I publish the site, and look at the logs: My authoring server has rebuilt the indexes appropriately, however, the indexes on the CD server are out of date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a configuration that will force my CD environment to detect when it's source database has been published to and initiate at least an incremental build?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sitecore 8.0.150812&lt;/em&gt; (also patched with &lt;a href=&quot;https://kb.sitecore.net/articles/992608&quot;&gt;https://kb.sitecore.net/articles/992608&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore.ContentSearch.DefaultConfigurations.config has the following relevant setting:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;onPublishEndAsync type=&quot;Sitecore.Support.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.Support.440383.449997&quot;&amp;gt; &#xA;    &amp;lt;param desc=&quot;database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;    &amp;lt;!-- Whether or not a full index rebuild should be triggered when the number of items in the EventQueue exceeds the number specified &#xA;             in ContentSearch.FullRebuildItemCountThreshold. --&amp;gt;&#xA;    &amp;lt;CheckForThreshold&amp;gt;true&amp;lt;/CheckForThreshold&amp;gt;&#xA;&amp;lt;/onPublishEndAsync&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is  a portion of one of the custom indexes:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;    &amp;lt;index id=&quot;custom_index&quot;&#xA;             type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/eventIndexConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/intervalAsyncMaster&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;          &amp;lt;/policies&amp;gt;&#xA;        &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/content/mysites/Home&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="433" LastEditorUserId="237" LastEditDate="2016-10-11T08:15:53.400" LastActivityDate="2016-10-26T15:49:06.233" Title="OnPublishEndAsync not triggering on CD Server" Tags="|publishing|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1053" PostTypeId="2" ParentId="1026" CreationDate="2016-10-11T01:16:24.403" Score="24" Body="&lt;p&gt;Firstly; Using the Service based Geo IP service is not recommended practice for personalization scenarios. The guaranteed response time for the service simply isn't fast enough - and it will slow down your site immensely if you put it in production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly; and potentially exactly because of this; you could be experiencing the known issue referred to here. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/320734&quot;&gt;Personalization with Geo-based conditions does not work properly on the first visitor request.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In which is stated:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When using personalization or conditional renderings with rules based&#xA;  on the geographical information of the visitor (such as &quot;where the&#xA;  country is equal to specific country&quot;), the personalized content might&#xA;  not been presented to the visitor correctly on the first request.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Such behavior occurs because &lt;strong&gt;Sitecore is designed not to wait until&#xA;  the GeoIP information has been resolved from a GeoIP lookup provider&#xA;  such as MaxMind.&lt;/strong&gt; This is implemented to keep response time for the&#xA;  website visitors low in situations when the GeoIP resolution process&#xA;  is taking longer periods of time.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The article also references &quot;fixes&quot; for Sitecore 6.5-7.2 and for 7.5+&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Alternative&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The alternative is, to use a local Geo IP table so you can resolve these locally. I've just recently used this one in a project. It's dated but works fine. Just download a more current IP table from MaxMind.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/adoprog/Sitecore-Geo-Lite-Resolver&quot;&gt;https://github.com/adoprog/Sitecore-Geo-Lite-Resolver&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-11T01:16:24.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1054" PostTypeId="2" ParentId="1044" CreationDate="2016-10-11T01:25:15.800" Score="0" Body="&lt;p&gt;Technically there is a option in tds.  I will give a good thought on JayS comment though.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can set the item's &quot;Item Deploy&quot; field to &quot;Deploy Once&quot;, which will prevent deploy already existing items to instance.&lt;br&gt;&#xA;I think already deployed items tracked by item id. &lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-11T01:25:15.800" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1055" PostTypeId="2" ParentId="1052" CreationDate="2016-10-11T01:29:49.203" Score="18" Body="&lt;p&gt;The most likely issue here is the scalability settings for the instance names. Scalability settings allow your different instances to listen to the shared event queue and know which ones to respond to. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Delivery Scalability Settings&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your delivery instances should have a config patch with something like the snippet below. The instance name is not as important here, but the name of the publishing instance tells the delivery instance which events to listen for from the publisher:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;settings&amp;gt;&#xA;         &amp;lt;!-- INSTANCE NAME&#xA;            Unique name for Sitecore instance.&#xA;            Default value: (machine name and IIS site name)&#xA;         --&amp;gt;&#xA;         &amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;         &amp;lt;/setting&amp;gt;&#xA;         &amp;lt;!-- PUBLISHING INSTANCE&#xA;            Assigns the instance name of dedicated Sitecore installation for publishing operations.&#xA;            When empty, all publishing operations are performed on the local installation of Sitecore.&#xA;            Default vaue: (empty)&#xA;         --&amp;gt;&#xA;         &amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;           &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM&amp;lt;/patch:attribute&amp;gt;&#xA;         &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;/settings&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Authoring Scalability Settings&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The scalability settings on the authoring need to match for both publishing and instance name. This makes sure the right instance name goes into the logs, and also lets the authoring system know that it is the publisher. Your authoring instance should have a config patch with something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;settings&amp;gt;&#xA;         &amp;lt;!-- INSTANCE NAME&#xA;            Unique name for Sitecore instance.&#xA;            Default value: (machine name and IIS site name)&#xA;         --&amp;gt;&#xA;         &amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM&amp;lt;/patch:attribute&amp;gt;&#xA;         &amp;lt;/setting&amp;gt;&#xA;         &amp;lt;!-- PUBLISHING INSTANCE&#xA;            Assigns the instance name of dedicated Sitecore installation for publishing operations.&#xA;            When empty, all publishing operations are performed on the local installation of Sitecore.&#xA;            Default vaue: (empty)&#xA;         --&amp;gt;&#xA;         &amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;           &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM&amp;lt;/patch:attribute&amp;gt;&#xA;         &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;/settings&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;NOTE:&lt;/em&gt;&lt;/strong&gt; Based on details from &lt;a href=&quot;https://theagilecoder.wordpress.com/2013/09/30/sitecore-publishing-stuck-on-initializing-after-applying-scalability-settings/&quot;&gt;https://theagilecoder.wordpress.com/2013/09/30/sitecore-publishing-stuck-on-initializing-after-applying-scalability-settings/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="73" LastEditDate="2016-10-11T01:31:30.233" LastActivityDate="2016-10-11T01:31:30.233" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1056" PostTypeId="2" ParentId="1044" CreationDate="2016-10-11T01:38:41.550" Score="5" Body="&lt;p&gt;Even the Helix Guidelines make a distinction between &quot;Definition Items&quot; and &quot;Content Items&quot;. In your case, you seem to be asking about Content Items that are created in production&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Even if Content Items are owned by the production environment, sometimes the business logic will have to know about the specifics of these items, for example their location or type, or the development process might need to change specific data in them – for example, if business logic introduces new settings or fields in a template that require initial values in the content of the sites. Therefore, Content Items can be split into two sub-categories: items that are created in development and deployed once into production, and items that are created and managed in production.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://helix.sitecore.net/principles/sitecore-items/item-types.html&quot; rel=&quot;noreferrer&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, one must be careful to properly segregate this business logic-dependant content items from content truly owned by the production environment. With that, you should be able to deploy this content at will. In the case of new fields (coming from definition items), you may need a one time script to populate these fields (if setting a standard value for the field will not suffice).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there is a case where this is not possible, you probably have to approach this with the same mindset of re-architecting the solution, because by definition, your are. And at this point, you're well beyond an issue of tooling.&lt;/p&gt;&#xA;" OwnerUserId="249" LastActivityDate="2016-10-11T01:38:41.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1057" PostTypeId="2" ParentId="1052" CreationDate="2016-10-11T01:41:37.693" Score="8" Body="&lt;p&gt;Events are delivered from one instance to another as records in &lt;code&gt;EventQueue&lt;/code&gt; data table. By default Sitecore uses &lt;code&gt;Core&lt;/code&gt; DB for storing these events, but that can be changed in config.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;eventing defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;clear/&amp;gt;&#xA;    &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Eventing.EventProvider, Sitecore.Kernel&quot; systemDatabaseName=&quot;core&quot;/&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/eventing&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check that both these instances use shared &lt;code&gt;Core&lt;/code&gt; DB. If that is not possible for any reason, set up SQL replication for Core database from &lt;code&gt;CM&lt;/code&gt; to &lt;code&gt;CD&lt;/code&gt; to synchronize events. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more information regarding SQL replication in Sitecore documentation - &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/64/sql_server_replication_guide_sc63-64-a4.pdf&quot;&gt;SQL Server Replication&#xA;Guide&lt;/a&gt;  &lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-10-11T01:41:37.693" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1058" PostTypeId="2" ParentId="1052" CreationDate="2016-10-11T01:52:18.723" Score="8" Body="&lt;p&gt;Other answers here very relevant, but also worth mentioning that &lt;strong&gt;all&lt;/strong&gt; servers, database included, need their time synchronized.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-11T01:52:18.723" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1059" PostTypeId="2" ParentId="116" CreationDate="2016-10-11T04:59:51.243" Score="3" Body="&lt;p&gt;So I had an issue with this custom Web API hosted inside my Sitecore solution, that will be used by a third party to call upon some Authentication and Authorization functionality. I did the following things to make it work:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I mistakenly named my API as &lt;strong&gt;ApiController&lt;/strong&gt; which is actually a built-in Abstract class, so changed it to &lt;strong&gt;CustomerAPIController&lt;/strong&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Removed Cors, as this was no more required.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Inherit from &lt;strong&gt;Sitecore.Services.Infrastructure.Web.Http.ServicesApiController&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Added this controller in the allowed list.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The third party would send some JSON (along with username, password, deviceId) without any Credentials (to access our API) and we need to have someway to accept these parameters, process/validate it and create and JWT along with Response Status message (200, 401 etc)&lt;/p&gt;&#xA;" OwnerUserId="310" LastEditorUserId="310" LastEditDate="2017-03-18T05:07:28.780" LastActivityDate="2017-03-18T05:07:28.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1060" PostTypeId="1" AcceptedAnswerId="1061" CreationDate="2016-10-11T05:52:30.497" Score="9" ViewCount="870" Body="&lt;p&gt;Connecting to SQL Server I currently have set the Server Role sysadmin on the account accessing SQL Server where I'm about to host Sitecore databases. My guess is that it's way to much privileges for the account, and really wonder if dbcreator would be the correct Server Role for the SQL Server account?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i8Z4I.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i8Z4I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="636" LastActivityDate="2016-10-11T07:08:46.357" Title="Server Role for SQL Server Account?" Tags="|installation|sql-database|account|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1061" PostTypeId="2" ParentId="1060" CreationDate="2016-10-11T06:11:43.797" Score="7" Body="&lt;p&gt;You are right, you granted to much privileges. You don't have to assign any server roles, but you should should assign db_datawriter, dbreader and public role memberships for your user to the web and master databases. You should also assing execute permissions on all the stored procedures for your db user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for the core database, assign the following role memberships:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;db_datareader&lt;/li&gt;&#xA;&lt;li&gt;db_datawriter&lt;/li&gt;&#xA;&lt;li&gt;public&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Membership_BasicAccess&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Membership_FullAccess&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Membership_ReportingAccess&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Profile_BasicAccess&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Profile_FullAccess&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Profile_ReportingAccess&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Roles_BasicAccess&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Roles_FullAccess&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Roles_ReportingAccess&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;edit: most recent public installation guide that I found: &lt;a href=&quot;https://dev.sitecore.net/~/media/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_0/Non-secure/Installation-Guide-SC80-A4.ashx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/~/media/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_0/Non-secure/Installation-Guide-SC80-A4.ashx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best advice is to follow the installation guide for your version, download it on &lt;a href=&quot;https://dev.sitecore.net&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="71" LastEditorUserId="71" LastEditDate="2016-10-11T07:08:46.357" LastActivityDate="2016-10-11T07:08:46.357" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1062" PostTypeId="2" ParentId="1052" CreationDate="2016-10-11T07:11:24.100" Score="4" Body="&lt;p&gt;There are different things that need to be verified. I have several blog post concerning this. Below is a brief overview of the several steps that you need to verified:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Scalability Settings&lt;/strong&gt;&#xA;Supposed you have different CM and CD servers. You will need to define one of your CM server as a Job Server. You need to set the scalability settings as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CM Server&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the Job Server&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info at &lt;a href=&quot;https://hishaamn.wordpress.com/2016/03/19/sitecore-scalability-setting/&quot; rel=&quot;nofollow&quot;&gt;Scalability Setting&lt;/a&gt;. Note that the instance name in other CM Scalability setting needs to be blank because sitecore will replace it with the machine name when inserting the record in the Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Event Queue&lt;/strong&gt;&#xA;You need to check if the event queue is activated. This allows for different servers to execute their events when there is a new entry in the event queue table.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;eventQueue&amp;gt;&#xA;  &amp;lt;!-- Time between checking the queue for newly queued events. If new events are found they will be raised. --&amp;gt;&#xA;  &amp;lt;processingInterval&amp;gt;00:00:02&amp;lt;/processingInterval&amp;gt;&#xA;&amp;lt;/eventQueue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info at &lt;a href=&quot;https://hishaamn.wordpress.com/2016/02/24/sitecore-event-queues/&quot; rel=&quot;nofollow&quot;&gt;Event Queue&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. Server Synchronization&lt;/strong&gt;&#xA;Based on the number of items that have been published, your server needs to get in sync with the job server before being able to trigger the events. You can follow this &lt;a href=&quot;https://hishaamn.wordpress.com/2016/04/05/sitecore-server-synchronization/&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt; to know how to check if all your servers are in sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT 1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change the following &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;configuration ref=&quot;contentSearch/indexConfigurations/eventIndexConfiguration&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Change the index type from LuceneIndex to SwitchOnRebuildLuceneIndex&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-10-11T16:58:29.713" LastActivityDate="2016-10-11T16:58:29.713" CommentCount="21" ContentLicense="CC BY-SA 3.0" />
  <row Id="1064" PostTypeId="1" AcceptedAnswerId="1065" CreationDate="2016-10-11T07:49:13.467" Score="14" ViewCount="1594" Body="&lt;p&gt;We have a Sitecore installation with a content management server and a content delivery server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now: I have an item, for which I want to create a link (for sending in an email). The link should be created on the CM server, but point to the relevant page on the CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The servers are on different domain, why it doesn't make sense to send the CM link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently my endeavors are as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;string oldSiteName = Sitecore.Context.GetSiteName();&#xA;Sitecore.Context.SetActiveSite(&quot;website&quot;);&#xA;&#xA;UrlOptions urlOptions = new UrlOptions&#xA;{&#xA;    AlwaysIncludeServerUrl = true,&#xA;    SiteResolving = true&#xA;};&#xA;string link = LinkManager.GetItemUrl(item, urlOptions);&#xA;&#xA;Sitecore.Context.SetActiveSite(oldSiteName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This, however, still generates links to the CM domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; I added a part of the source code I forgot when first creating the post&lt;/p&gt;&#xA;" OwnerUserId="152" LastEditorUserId="152" LastEditDate="2016-10-11T09:01:33.820" LastActivityDate="2016-10-11T09:02:14.887" Title="Create link as CD from CM" Tags="|link-manager|content-management|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1065" PostTypeId="2" ParentId="1064" CreationDate="2016-10-11T07:54:58.667" Score="14" Body="&lt;p&gt;You can use &lt;code&gt;targetHostName&lt;/code&gt; setting in your site definition. It tells Link Manager to use that host name while generating url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It doesn't change the way how sites are resolved on your CM and CD servers. This only tells Sitecore to generate links using that particular host name for your site no matter if you're on CM or CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about &lt;code&gt;site&lt;/code&gt; attributes here &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties.aspx&quot;&gt;SDN - Site Attribute Properties&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-11T07:54:58.667" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1066" PostTypeId="5" CreationDate="2016-10-11T08:10:53.767" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-11T08:10:53.767" LastActivityDate="2016-10-11T08:10:53.767" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1067" PostTypeId="4" CreationDate="2016-10-11T08:10:53.767" Score="0" Body="for questions about your information architecture, how structures should be setup and where to place those items" OwnerUserId="71" LastEditorUserId="71" LastEditDate="2016-10-11T14:20:04.943" LastActivityDate="2016-10-11T14:20:04.943" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1069" PostTypeId="2" ParentId="1064" CreationDate="2016-10-11T09:02:14.887" Score="3" Body="&lt;p&gt;As Marek mentioned, you should set @targetHostName on /configuration/sitecore/sites/site in your Sitecore.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, you should create your UrlOptions object like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;UrlOptions urlOptions = LinkManager.GetDefaultUrlOptions();&#xA;urlOptions.AlwaysIncludeServerUrl = true;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This ensures that your code keeps using the settings of LinkManager, except as explicitly overwritten by your code.&lt;/p&gt;&#xA;" OwnerUserId="530" LastActivityDate="2016-10-11T09:02:14.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1070" PostTypeId="1" AcceptedAnswerId="1169" CreationDate="2016-10-11T09:40:30.773" Score="9" ViewCount="565" Body="&lt;p&gt;I am currently developing a module where I am using the Sitecore Upload window. Most of the implementation of the Upload window is the same as the one of Package Installation Wizard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that when I click on the Upload button, it open the window however, I get &lt;strong&gt;Document Not Found&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/N7Va7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N7Va7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code is as follows:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static void Upload(ClientPipelineArgs args, Edit fileEdit)&#xA;{&#xA;    if (!args.IsPostBack)&#xA;    {&#xA;        UploadForm.Show(ApplicationContext.PackagePath, true);&#xA;        args.WaitForPostBack();&#xA;    }&#xA;    else&#xA;    {&#xA;        if (!args.Result.StartsWith(&quot;ok:&quot;, StringComparison.InvariantCulture))&#xA;            return;&#xA;        string[] strArray = args.Result.Substring(&quot;ok:&quot;.Length).Split('|');&#xA;        if (strArray.Length &amp;lt; 1 || fileEdit == null)&#xA;            return;&#xA;        fileEdit.Value = strArray[0];&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code for the &lt;code&gt;Show&lt;/code&gt; Method&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static void Show(string directory, bool postback)&#xA;{&#xA;    Assert.ArgumentNotNull(directory, &quot;directory&quot;);&#xA;    Context.ClientPage.ClientResponse.ShowModalDialog(GetUrl(directory), postback);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this calls the &lt;code&gt;GetUrl&lt;/code&gt; Method&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private static string GetUrl(string directory)&#xA;{&#xA;    Assert.ArgumentNotNull(directory, &quot;directory&quot;);&#xA;    var urlString = new UrlString(Constants.UploadFileApp);&#xA;    urlString.Append(&quot;di&quot;, ApplicationContext.StoreObject(directory));&#xA;    return urlString.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Constants.UploadFileApp&lt;/code&gt; has the path &lt;code&gt;/sitecore/shell/applications/package generator/upload/uploadfile&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Core DB, the path of the uploadfile is &lt;code&gt;/sitecore/content/Applications/Package Generator/Upload/UploadFile&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 1&lt;/strong&gt;&#xA;This is how the url is being changed&#xA;&lt;a href=&quot;https://i.stack.imgur.com/lcXU0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lcXU0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="70" LastEditDate="2017-09-15T13:50:24.937" LastActivityDate="2020-12-13T10:46:04.930" Title="Sitecore Upload Window" Tags="|sheer-ui|" AnswerCount="2" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="1071" PostTypeId="1" AcceptedAnswerId="1073" CreationDate="2016-10-11T10:28:09.317" Score="25" ViewCount="6032" Body="&lt;p&gt;Our editors would like to be able to see all locked items at a glance to be able to clean up locks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is of course the option to show locked items in the Quick Action Bar in the content tree, but it doesn't show if any descendents are locked, only items currently showing so this doesn't really help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there something out of the box or do we need to use Sitecore Powershell Extensions or something else?&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2021-11-23T14:30:21.670" Title="Is it possible to get a list of all locked items?" Tags="|content-editor|" AnswerCount="7" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1072" PostTypeId="2" ParentId="1071" CreationDate="2016-10-11T10:32:43.250" Score="7" Body="&lt;p&gt;You can use powershell to achieve this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;gci master:\content -rec | where { $_.Locking.IsLocked() } | &#xA;    select Name, Id, @{n=&quot;IsLocked&quot;;e={$_.Locking.IsLocked()}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The following aliases or shortened commands were used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;gci = Get-ChildItem&#xA;where = Where-Object&#xA;select = Select-Object&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info at &lt;a href=&quot;http://michaellwest.blogspot.com/2013/09/SPE-UnlockItems.html&quot;&gt;http://michaellwest.blogspot.com/2013/09/SPE-UnlockItems.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or, using XPath&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore//*[@__lock!='' and @__lock!='&amp;lt;r /&amp;gt;']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that it is not recommended to run XPATH on Live site since it may cause performance issue if you have too many items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info at &lt;a href=&quot;https://blog.horizontalintegration.com/2016/09/08/sitecore-query-xpath-for-finding-all-locked-items/&quot;&gt;https://blog.horizontalintegration.com/2016/09/08/sitecore-query-xpath-for-finding-all-locked-items/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2016-10-11T10:32:43.250" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1073" PostTypeId="2" ParentId="1071" CreationDate="2016-10-11T10:35:15.747" Score="23" Body="&lt;p&gt;&lt;strong&gt;Sitecore Powershell Extensions&lt;/strong&gt; is always the answer. There is a standard report available. More info &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/reports.html&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But just in case you might want to try something else:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore query : &lt;code&gt;/sitecore//*[@__lock!='' and @__lock!='&amp;lt;r /&amp;gt;']&lt;/code&gt;  This could take a while though..&lt;/li&gt;&#xA;&lt;li&gt;Index query: &lt;code&gt;(lock:true AND _latestversion:true)&lt;/code&gt; You could skip the latest version here if you want it for all versions.. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Credits to &lt;a href=&quot;https://blog.horizontalintegration.com/2016/09/08/sitecore-query-xpath-for-finding-all-locked-items/&quot;&gt;Dan Sinclair&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-11T10:35:15.747" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1074" PostTypeId="2" ParentId="1071" CreationDate="2016-10-11T10:43:01.503" Score="10" Body="&lt;p&gt;If the users just want to see their own locked items then they can see a list of all the items and unlock them all via the &lt;code&gt;My Items&lt;/code&gt; options in the Ribbon:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2qIUX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2qIUX.png&quot; alt=&quot;My Items&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ORNcB.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ORNcB.png&quot; alt=&quot;Locked Items List&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-11T10:43:01.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1075" PostTypeId="1" AcceptedAnswerId="1079" CreationDate="2016-10-11T10:44:58.480" Score="13" ViewCount="138" Body="&lt;p&gt;I am using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/A/Advanced_System_Reporter.aspx&quot; rel=&quot;noreferrer&quot;&gt;ASR&lt;/a&gt; to create a report, of all items created before a certain date.&lt;/p&gt;&#xA;&lt;p&gt;However, in my result set, I am only getting items from the current language, English, but I would like one entry for each language, like we get when we use the search in the content editor.&lt;/p&gt;&#xA;&lt;p&gt;Is there a way to get this?&lt;/p&gt;&#xA;&lt;p&gt;I can see, that ASR uses sitecore queries, and that the scanner in use, ItemScanner, is using the following query:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Query=./descendant-or-self::*|Root={Root}&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;However, I have not been able to edit it, so it returns entries for all language versions.&lt;/p&gt;&#xA;" OwnerUserId="205" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-05-03T17:18:15.350" Title="Getting items for all languages using Advanced System Reporter" Tags="|module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1076" PostTypeId="2" ParentId="1071" CreationDate="2016-10-11T10:46:24.537" Score="3" Body="&lt;p&gt;Instead of getting Content Editors to do this you could look at an solution to Auto-unlock items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've implemented a solution for this as a Sitecore Tasks as described by Mike Reynolds here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2013/09/28/periodically-unlock-items-of-idle-users-in-sitecore/&quot; rel=&quot;nofollow&quot;&gt;https://sitecorejunkie.com/2013/09/28/periodically-unlock-items-of-idle-users-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've got it set in config to run every 4hrs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;UnlockItems.ElapsedTimeWhenIdle&quot; value=&quot;00:04:00:00&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works really well for us and avoid content authors leaving items locked and having to manually unlock them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;--Update--&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option is to allow users to unlock other users items based on a permission you can assign them. Here are two articles explaining how to go about this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.sitecore.net/learn/blogs/technical-blogs/john-west-sitecore-blog/posts/2013/02/allow-users-to-unlock-items-locked-to-others-in-the-sitecore-aspnet-cms.aspx&quot; rel=&quot;nofollow&quot;&gt;http://www.sitecore.net/learn/blogs/technical-blogs/john-west-sitecore-blog/posts/2013/02/allow-users-to-unlock-items-locked-to-others-in-the-sitecore-aspnet-cms.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2010/09/10/unlock-sitecore-items/&quot; rel=&quot;nofollow&quot;&gt;https://briancaos.wordpress.com/2010/09/10/unlock-sitecore-items/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We didn't do this but It seems like a nice solution also for trusted content authors.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-11T11:07:08.113" LastActivityDate="2016-10-11T11:07:08.113" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1077" PostTypeId="1" AcceptedAnswerId="1078" CreationDate="2016-10-11T11:24:55.237" Score="6" ViewCount="297" Body="&lt;p&gt;My Sitecore site has a rule to determine if the mobile version of the web site should be shown. Can anyone explain to me in detail what exactly is happening with this rule? Is there a DLL involved? Is this something that comes with Sitecore out of the box? Is this using &lt;a href=&quot;https://51degrees.com/device-detection&quot; rel=&quot;noreferrer&quot;&gt;51Degrees&lt;/a&gt; somehow?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pWZaq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pWZaq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this DLL reference:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8g9VX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8g9VX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Screen Width Rule Element for Device Detection points to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.SharedSource.MobileDeviceDetector.Rules.Conditions.ScreenWidthCondition, Sitecore.SharedSource.MobileDeviceDetector&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="73" LastEditDate="2016-10-11T12:47:50.630" LastActivityDate="2016-10-11T12:50:06.620" Title="What dependencies does the Mobile Device Detection Rule have?" Tags="|mobile|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1078" PostTypeId="2" ParentId="1077" CreationDate="2016-10-11T12:44:40.117" Score="3" Body="&lt;p&gt;You're using Mobile Device Detector module from Sitecore Marketplace ( &lt;a href=&quot;https://marketplace.sitecore.net/modules/mobile_device_detector.aspx&quot; rel=&quot;nofollow&quot;&gt;https://marketplace.sitecore.net/modules/mobile_device_detector.aspx&lt;/a&gt; ).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes, it's using &lt;code&gt;FiftyOne.Foundation.dll&lt;/code&gt; and some extra code for rules above it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is additional processor added to the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline called &lt;code&gt;DeviceResolver&lt;/code&gt; which tries to resolve what device is used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And &lt;code&gt;ScreenWidthCondition&lt;/code&gt; uses &lt;code&gt;HttpContext.Current.Request.Browser.ScreenPixelsWidth&lt;/code&gt; to determine screen value so it's not really related to anything Sitecore specific.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2016-10-11T12:50:06.620" LastActivityDate="2016-10-11T12:50:06.620" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1079" PostTypeId="2" ParentId="1075" CreationDate="2016-10-11T12:50:13.477" Score="7" Body="&lt;p&gt;By digging in the &lt;a href=&quot;https://github.com/Sitecore/AdvancedSystemReporter/blob/master/Reports/Scanners/QueryScanner.cs#L52&quot;&gt;sourcecode&lt;/a&gt; I found out, that there is a parameter called &quot;ShowEachLanguage&quot; which you can use like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Query=./descendant-or-self::*|Root={Root}|ShowEachLanguage=1&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="205" LastActivityDate="2016-10-11T12:50:13.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1080" PostTypeId="1" AcceptedAnswerId="1081" CreationDate="2016-10-11T14:45:46.123" Score="7" ViewCount="121" Body="&lt;p&gt;In Sitecore, is there a way that I can run custom logic when a user is added to a particular role? &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="73" LastEditDate="2016-10-29T00:03:27.773" LastActivityDate="2016-10-29T00:03:27.773" Title="How to run custom logic when a user has been added to a particular role?" Tags="|membership-provider|events|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1081" PostTypeId="2" ParentId="1080" CreationDate="2016-10-11T14:45:46.123" Score="6" Body="&lt;p&gt;You can do this using Sitecore's eventing engine, by creating event handlers for the &lt;code&gt;roles:usersAdded&lt;/code&gt; event, the &lt;code&gt;roles:usersAdded:remote&lt;/code&gt; event, or both.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;roles:usersAdded&lt;/code&gt; event is raised when users have been added to one or more roles on the environment. In other words, if you have a single-server environment then this is the event that you will want to tie into. Additionally, if you have a split CM/CD environment and you want to listen for users being added to roles on the same server that you added the handler on then this is the event you will want to use. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In contrast, the &lt;code&gt;roles:usersAdded:remote&lt;/code&gt; event is used on the CM server when you have a split CM\CD environment and want to listen for this event occurring on the CD. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While it may seem a little confusing that you have a &lt;code&gt;:remote&lt;/code&gt; event for adding users to roles, when roles are stored in the Core DB which is shared by both the CM and CD, the events are fired from the code, so having a &lt;code&gt;:remote&lt;/code&gt; listens for the code on the CD environment that adds users to roles.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-11T14:45:46.123" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1082" PostTypeId="2" ParentId="549" CreationDate="2016-10-11T15:22:04.533" Score="3" Body="&#xA;&#xA;&lt;h2&gt;Response - Stop Gap Answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I believe what is occurring is an error in the saving of the Item when updating the statistic. The reason I bring this up, is because of your information that the &lt;strong&gt;item doesn't save&lt;/strong&gt;.  In both versions 6.5 and 7.2, the functionality inside of the EndEdit action has been relatively consistent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to save the item using the following: &lt;code&gt;item.Editing.EndEdit(false,true);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This is a band-aid solution, to isolate where the error is occuring. If this yields additional information to formulate a solution, I'll adjust this answer as needed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Why I Think This&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you look in the &lt;code&gt;AcceptChanges()&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;Ends an edit operation.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;updateStatistics&quot;&amp;gt;if set to &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; this instance is update statistics.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;silent&quot;&amp;gt;if set to &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; this instance is silent.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;The changes.&amp;lt;/returns&amp;gt;&#xA;/// &amp;lt;remarks&amp;gt;&#xA;///     &amp;lt;para&amp;gt;Editing an item without calling BeginEdit throws an exception.&amp;lt;/para&amp;gt;&#xA;///     &amp;lt;para&amp;gt;It is usually easier and more readable to using the EditContext class instead&#xA;/// of a BeginEdit and EndEdit pair.&amp;lt;/para&amp;gt;&#xA;/// &amp;lt;/remarks&amp;gt;&#xA;public bool AcceptChanges(bool updateStatistics, bool silent)&#xA;{&#xA;  bool readOnlyStatistics = this.m_item.RuntimeSettings.ReadOnlyStatistics;&#xA;  try&#xA;  {&#xA;    if (!updateStatistics)&#xA;      this.m_item.RuntimeSettings.ReadOnlyStatistics = true;&#xA;    if (!silent)&#xA;      return ItemManager.SaveItem(this.m_item);&#xA;    using (new EventDisabler())&#xA;      return ItemManager.SaveItem(this.m_item);&#xA;  }&#xA;  finally&#xA;  {&#xA;    this.m_item.RuntimeSettings.ReadOnlyStatistics = readOnlyStatistics;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;try{}finally{}&lt;/code&gt; is what I'm looking at. There is no catch, and no logging (at this point in the code) that something bad happened. It may not be getting far enough in the save item, which would then bomb the events.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Follow Up Suggestions&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Exam your Sitecore logs and make sure that there isn't an error message related to saving the item.&lt;/li&gt;&#xA;&lt;li&gt;Add some logging to your &lt;code&gt;SetFieldValue()&lt;/code&gt; method to see if it's a particular field and/or value.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-11T15:22:04.533" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1083" PostTypeId="2" ParentId="871" CreationDate="2016-10-11T15:27:48.753" Score="6" Body="&lt;p&gt;What we discovered after hours of troubleshooting is that there was a corrupted message in the queue. When we removed that one message, the rest of the messages were processed properly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had to re-implement &lt;a href=&quot;https://www.akshaysura.com/2015/05/01/add-max-message-limit-for-rabbitmq-for-coveo/&quot; rel=&quot;noreferrer&quot;&gt;https://www.akshaysura.com/2015/05/01/add-max-message-limit-for-rabbitmq-for-coveo/&lt;/a&gt; on the newer version of the CES and RabbitMQ in order to limit the damage in the future. &lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-11T15:27:48.753" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1084" PostTypeId="2" ParentId="1080" CreationDate="2016-10-11T16:01:34.517" Score="4" Body="&lt;p&gt;Thought I would give a more complete answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to use Sitecore PowerShell Extensions to run custom scripts for events you can make use of the Events integration point.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an example out of the box that you can check out. You'll need to enable the module to make use of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yF7I9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yF7I9.png&quot; alt=&quot;Events Module&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also a configuration file distributed with many events disabled by default. Check out &lt;strong&gt;Cognifide.PowerShell.Events.config.disabled&lt;/strong&gt; for an example of what to patch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is an untested example patch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SPE.Roles.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;roles:usersAdded&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.SharedSource.PowerShell.ScriptedItemEventHandler, Sitecore.SharedSource&quot; method=&quot;OnEvent&quot; /&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="10" LastEditDate="2016-10-12T02:12:15.097" LastActivityDate="2016-10-12T02:12:15.097" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1085" PostTypeId="1" AcceptedAnswerId="1478" CreationDate="2016-10-11T16:30:23.410" Score="7" ViewCount="677" Body="&lt;p&gt;I have created some custom facets where I store some data.   I would like to display this data on the User Profile but I am running into issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using this link as a guide to set this up: &lt;a href=&quot;http://reyrahadian.com/2016/08/27/sitecore-8-extending-experience-profile-part-2-displaying-contact-facet-simple-properties/&quot; rel=&quot;nofollow&quot;&gt;http://reyrahadian.com/2016/08/27/sitecore-8-extending-experience-profile-part-2-displaying-contact-facet-simple-properties/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My &lt;em&gt;HttpRouteConfig.cs&lt;/em&gt; file looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System.Web.Http;&#xA;using System.Web.Routing;&#xA;using Sitecore.Pipelines;&#xA;&#xA;namespace MySite.Presentation&#xA;{&#xA;    public class HttpRouteConfig&#xA;    {&#xA;        public virtual void Process(PipelineArgs args)&#xA;        {&#xA;            RegisterRoutes(RouteTable.Routes, args);&#xA;        }&#xA;&#xA;        protected virtual void RegisterRoutes(RouteCollection routes, PipelineArgs args)&#xA;        {&#xA;            routes.MapHttpRoute(&quot;customcontact_customfields&quot;, &quot;sitecore/api/ao/v1/contacts/{contactId}/customfields&quot;, (object)new&#xA;            {&#xA;                controller = &quot;CustomFields&quot;,&#xA;                action = &quot;GetCustomFields&quot;&#xA;            });&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My controller looks like: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using MySite.Models.Utility;&#xA;using Sitecore.Analytics.Tracking;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Cintel.ContactService;&#xA;using Sitecore.Cintel.Endpoint.Plumbing;&#xA;using System;&#xA;using System.Net;&#xA;using System.Net.Http;&#xA;using System.Web.Http;&#xA;&#xA;namespace MySite.Presentation.Controllers&#xA;{&#xA;&#xA;    [AuthorizedReportingUserFilter]&#xA;    public class CustomFieldsController : ApiController&#xA;    {&#xA;        [HttpGet]&#xA;        public object GetCustomFields(Guid contactId)&#xA;        {&#xA;            try&#xA;            {&#xA;                var contactManager = GetContactManager();&#xA;                var contact = contactManager.LoadContactReadOnly(contactId);&#xA;                if (contact == null)&#xA;                {&#xA;                    Log.Info(&quot;MySite.Presentation.Controllers.CustomFieldsController.GetCustomFields: Contact not found!&quot;, this);&#xA;                    throw new ContactNotFoundException();&#xA;                }&#xA;                var customFacet = contact.GetFacet&amp;lt;IContactCompanyInfo&amp;gt;(ContactCompanyInfo.FACET_NAME);&#xA;                Log.Info(&quot;MySite.Presentation.Controllers.CustomFieldsController.GetCustomFields: Company: &quot; + customFacet.Company + &quot; Industry: &quot; + customFacet.Industry + &quot; Sub Industry: &quot; + customFacet.SubIndustry + &quot; Revenue Range: &quot; + customFacet.RevenueRange, this);&#xA;                return customFacet;&#xA;            }&#xA;            catch (ContactNotFoundException ex)&#xA;            {&#xA;                Log.Error(&quot;MySite.Presentation.Controllers.CustomFieldsController.GetCustomFields&quot;, ex, this);&#xA;                return Request.CreateResponse(HttpStatusCode.NotFound, ex.Message);&#xA;            }&#xA;        }&#xA;&#xA;        private static ContactManager GetContactManager()&#xA;        {&#xA;            var contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;            Assert.IsNotNull(contactManager, &quot;Could not create instance of ContactManager&quot;);&#xA;            return contactManager;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Javascript file looks like: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;/-/speak/v1/experienceprofile/DataProviderHelper.js&quot;, &quot;/-/speak/v1/experienceprofile/CintelUtl.js&quot;], function (sc, providerHelper, cintelUtil) {&#xA;    var app = sc.Definitions.App.extend({&#xA;        initialized: function () {&#xA;            var localUrl = &quot;/customfields/&quot;;&#xA;&#xA;            providerHelper.setupHeaders([&#xA;                { urlKey: localUrl }&#xA;            ]);&#xA;&#xA;            var url = sc.Contact.baseUrl + localUrl;&#xA;            var $that = this;&#xA;&#xA;            providerHelper.initProvider(this.AdditionalInfoDataProvider, &quot;&quot;, url, this.AdditionalInfoTabMessageBar);&#xA;            providerHelper.getData(this.AdditionalInfoDataProvider,&#xA;                $.proxy(function (jsondata) {&#xA;                    cintelUtil.setText($that.CompanyValue, jsondata.Company, true);&#xA;                    cintelUtil.setText($that.IndustryValue, jsondata.Industry, true);&#xA;                    cintelUtil.setText($that.SubIndustryValue, jsondata.SubIndustry, true);&#xA;                    cintelUtil.setText($that.RevenueRangeValue, jsondata.RevenueRange, true);&#xA;                }));&#xA;        }&#xA;    });&#xA;    return app;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to reference: &lt;a href=&quot;https://stage.mysite.com/sitecore/api/ao/v1/contacts/3187658b-b035-4d2e-b348-7e98aed90990/customfields&quot; rel=&quot;nofollow&quot;&gt;https://stage.mysite.com/sitecore/api/ao/v1/contacts/3187658b-b035-4d2e-b348-7e98aed90990/customfields&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get the super-helpful response of: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{ &quot;Message&quot;: &quot;An error has occurred.&quot; }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You might note that I have some logging in my controller.   I can tell that I am at least getting the controller to call because I see the Company Name, etc. written into the logs when I call the above URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running Sitecore 8.1 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Update: Per suggestion, I turned off customErrors and now I get: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{ &quot;Message&quot;: &quot;An error has occurred.&quot;, &quot;ExceptionMessage&quot;: &quot;The&#xA;  'ObjectContent`1' type failed to serialize the response body for&#xA;  content type 'application/json'.&quot;, &quot;ExceptionType&quot;:&#xA;  &quot;System.InvalidOperationException&quot;, &quot;StackTrace&quot;: null,&#xA;  &quot;InnerException&quot;: { &quot;Message&quot;: &quot;An error has occurred.&quot;,&#xA;  &quot;ExceptionMessage&quot;: &quot;Self referencing loop detected for property&#xA;  'parent' with type 'MySite.Models.Utility.ContactCompanyInfo'. Path&#xA;  'members[0]'.&quot;, &quot;ExceptionType&quot;:&#xA;  &quot;Newtonsoft.Json.JsonSerializationException&quot;, &quot;StackTrace&quot;: &quot;   at&#xA;  Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CheckForCircularReference(JsonWriter&#xA;  writer, Object value, JsonProperty property, JsonContract contract,&#xA;  JsonContainerContract containerContract, JsonProperty&#xA;  containerProperty)\r\n   at&#xA;  Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropertyValues(JsonWriter&#xA;  writer, Object value, JsonContainerContract contract, JsonProperty&#xA;  member, JsonProperty property, JsonContract&amp;amp; memberContract, Object&amp;amp;&#xA;  memberValue)\r\n   at&#xA;  Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter&#xA;  writer, Object value, JsonObjectContract contract, JsonProperty&#xA;  member, JsonContainerContract collectionContract, JsonProperty&#xA;  containerProperty)\r\n   at&#xA;  Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter&#xA;  writer, IEnumerable values, JsonArrayContract contract, JsonProperty&#xA;  member, JsonContainerContract collectionContract, JsonProperty&#xA;  containerProperty)\r\n   at&#xA;  Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter&#xA;  writer, Object value, JsonObjectContract contract, JsonProperty&#xA;  member, JsonContainerContract collectionContract, JsonProperty&#xA;  containerProperty)\r\n   at&#xA;  Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter&#xA;  jsonWriter, Object value, Type objectType)\r\n   at&#xA;  Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter&#xA;  jsonWriter, Object value, Type objectType)\r\n   at&#xA;  System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.WriteToStream(Type&#xA;  type, Object value, Stream writeStream, Encoding&#xA;  effectiveEncoding)\r\n   at&#xA;  System.Net.Http.Formatting.JsonMediaTypeFormatter.WriteToStream(Type&#xA;  type, Object value, Stream writeStream, Encoding&#xA;  effectiveEncoding)\r\n   at&#xA;  System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.WriteToStreamAsync(Type&#xA;  type, Object value, Stream writeStream, HttpContent content,&#xA;  TransportContext transportContext, CancellationToken&#xA;  cancellationToken)\r\n--- End of stack trace from previous location&#xA;  where exception was thrown ---\r\n   at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task&#xA;  task)\r\n   at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.WebHost.HttpControllerHandler.d__1b.MoveNext()&quot;&#xA;  } }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Update 2:  This is what my facet looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;using System;&#xA;&#xA;namespace MySite.Models.Utility&#xA;{&#xA;    public interface IContactCompanyInfo : IFacet&#xA;    {&#xA;        string Company { get; set; }&#xA;        string RevenueRange { get; set; }&#xA;        string Industry { get; set; }&#xA;        string SubIndustry { get; set; }&#xA;    }&#xA;&#xA;    [Serializable]&#xA;    public class ContactCompanyInfo : Facet, IContactCompanyInfo&#xA;    {&#xA;        public const string FACET_NAME = &quot;Company Info&quot;;&#xA;        private const string FIELD_COMPANY = &quot;Company&quot;;&#xA;        private const string FIELD_INDUSTRY = &quot;Industry&quot;;&#xA;        private const string FIELD_SUB_INDUSTRY = &quot;SubIndustry&quot;;&#xA;        private const string FIELD_REVENUE_RANGE = &quot;RevenueRange&quot;;&#xA;&#xA;        public ContactCompanyInfo()&#xA;        {&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_COMPANY);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_INDUSTRY);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_SUB_INDUSTRY);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_REVENUE_RANGE);&#xA;        }&#xA;        public string Company&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_COMPANY); }&#xA;            set { SetAttribute(FIELD_COMPANY, value); }&#xA;        }&#xA;&#xA;        public string Industry&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_INDUSTRY); }&#xA;            set { SetAttribute(FIELD_INDUSTRY, value); }&#xA;        }&#xA;&#xA;        public string SubIndustry&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_SUB_INDUSTRY); }&#xA;            set { SetAttribute(FIELD_SUB_INDUSTRY, value); }&#xA;        }&#xA;&#xA;        public string RevenueRange&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_REVENUE_RANGE); }&#xA;            set { SetAttribute(FIELD_REVENUE_RANGE, value); }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="369" LastEditorUserId="10" LastEditDate="2016-10-12T02:10:50.300" LastActivityDate="2019-05-17T04:44:04.773" Title="Error when trying to return custom facet data in JSON format" Tags="|xdb|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1086" PostTypeId="1" CreationDate="2016-10-11T16:31:03.943" Score="3" ViewCount="113" Body="&lt;p&gt;Has anyone come across this type of feature in the marketplace or created a solution themselves? Mainly thinking about non-technical content managers having the easiest of UI solution for managing content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="688" LastEditorUserId="283" LastEditDate="2016-10-11T18:00:47.643" LastActivityDate="2016-10-11T18:10:16.593" Title="I'm looking to implement a better UI Solution for managing content" Tags="|speak|content-management|sitecore-client|" AnswerCount="1" CommentCount="6" ClosedDate="2016-10-11T21:14:51.283" ContentLicense="CC BY-SA 3.0" />
  <row Id="1087" PostTypeId="1" CreationDate="2016-10-11T16:40:45.287" Score="14" ViewCount="1862" Body="&lt;p&gt;I'm using the xDB Cloud 1.0 setup in Sitecore 8.1.  The site is successfully tracking contacts as I can see new profiles under the Experience Profile. However, the aggregate data on Experience Analytics is not refreshing and still showing 0 visits.  I am using the Sitecore.Cloud.Xdb.Update 8.1.0 rev. 160210 package, and no errors in the logs.  And it has been several days, so there should definitely be aggregated data.  Is there something I am supposed to trigger to cause the reporting to update, or is that supposed to happen automatically in the cloud?  &lt;/p&gt;&#xA;" OwnerUserId="649" LastEditorUserId="104" LastEditDate="2016-10-26T07:39:30.660" LastActivityDate="2017-09-01T19:25:49.773" Title="xDB Cloud Experience Analytics not refreshing" Tags="|xdb|cloud|experience-analytics|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1088" PostTypeId="2" ParentId="1087" CreationDate="2016-10-11T17:11:08.330" Score="4" Body="&lt;p&gt;Assuming you followed the setup correctly and you have mongo running:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Can you try to shorten the session time so you can see the data being flushed to mongo quickly?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Do you see any records or errors on the submit queue(you can find it under /data/Submit Queue)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Have you checked the session state setup against your own? Check this &lt;a href=&quot;https://mhwelander.net/2016/05/19/lets-talk-about-session-state/&quot; rel=&quot;nofollow&quot;&gt;post&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-11T17:11:08.330" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1089" PostTypeId="1" AcceptedAnswerId="1093" CreationDate="2016-10-11T17:24:29.687" Score="10" ViewCount="1198" Body="&lt;p&gt;I noticed that the Sitecore Log Analyzer on market place does not say anything about the latest Sitecore versions and whether it is supported or not.  I have used it on 8 and it was working fine but haven't tried on versions 8.1 and 8.2. Do you know if this module is supported on the latest Sitecore releases?&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-16T16:37:56.573" Title="Sitecore log analyzer supported on latest versions?" Tags="|sitecore-marketplace|logging|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1090" PostTypeId="2" ParentId="1089" CreationDate="2016-10-11T17:28:52.223" Score="5" Body="&lt;p&gt;I don't think that it make any difference which Sitecore version you are using.&#xA;It just analyze logs (which are simply &lt;code&gt;.txt&lt;/code&gt; files).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am constantly using it on 8.1 and 8.2. &#xA;No problems found. &#xA;I suppose authors forgot to update &lt;strong&gt;Requirements&lt;/strong&gt; section.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-11T17:32:45.997" LastActivityDate="2016-10-11T17:32:45.997" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1091" PostTypeId="2" ParentId="1086" CreationDate="2016-10-11T17:47:27.577" Score="3" Body="&lt;p&gt;To start off, I would always recommend training for someone who needs to make use of a WCMS platform before they go in. There is always going to be so much involved.&lt;/p&gt;&#xA;&lt;p&gt;One option is using the sitecore apis you could always create a Wizard Tool that works through content creation or managing content for certain pages. The cost and time effort of that would be really high.&lt;/p&gt;&#xA;&lt;p&gt;Out of the box I generally find, one of the most crucial aspects of making an end-users sitecore content editing experience &lt;em&gt;great&lt;/em&gt; is the information architecture and the work put in to supporting the Experience Editor. I've linked to the base docs for sitecore regarding both content editor or experience editor below. You'll find quick googles show you how to best support experience editor in different scenarios.&lt;/p&gt;&#xA;&lt;h2&gt;Experience Editor&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The Experience Editor is a WYSIWYG editor that allows you to easily&#xA;make changes to items directly on the page. You can edit all the items&#xA;that are visible on the page — text, graphics, logos, links, and so&#xA;on.&lt;/p&gt;&#xA;&lt;p&gt;In the Experience Editor, you can edit the fields of the current item&#xA;and the fields of any items rendered on the page. For instance, if the&#xA;menu on the page consists of titles of the product items, you can edit&#xA;the titles without navigating to the product items themselves.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2&gt;Content Editor&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The Content Editor is an editing tool that you can use to manage and edit all the content on your website. It is designed for more experienced content authors who are familiar with Sitecore and the functionality that it contains.&lt;/p&gt;&#xA;&lt;p&gt;The Content Editors appearance and functionality vary depending on the user’s roles, the local security settings, and the customizations that have been implemented on the Sitecore installation.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Worth reading up on: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_experience_editor/the_experience_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;The Experience Editor&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_content_editor/the_content_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;Content Editor&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools&quot; rel=&quot;nofollow noreferrer&quot;&gt;Other Editing Tools&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;SPEAK UI&lt;/h2&gt;&#xA;&lt;p&gt;If you really want to customise it, I recommend reading into SPEAK UI first which is what powers a lot of the sitecore client currently.&lt;/p&gt;&#xA;&lt;p&gt;Maybe give creating a new speak application that'll handle displaying or managing content in a manner you are expecting a go. Worth reading: &lt;a href=&quot;https://mhwelander.net/2014/06/27/speak-for-newbies-part-1-creating-a-new-application/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Speak for newbies part 1 creating a new application&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I will be honest with you my personal experience has been, forcing me to rip my hair out, but I know there those who appreciate it.&lt;/p&gt;&#xA;&lt;p&gt;Finally check out &lt;a href=&quot;https://github.com/Sitecore/speak.theming&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/speak.theming&lt;/a&gt; never tried it myself but seems cool, allowing you to change the default speak colors :), more customization.&lt;/p&gt;&#xA;&lt;h2&gt;Helix&lt;/h2&gt;&#xA;&lt;p&gt;If your interested in providing the content editors a decent experience in content editor look into the Helix architecture and look at how it works with the information inside sitecores client, especially when you are building the templates. It's a good starting point for a modular approach. Source: &lt;a href=&quot;http://helix.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-11T18:10:16.593" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1092" PostTypeId="2" ParentId="1085" CreationDate="2016-10-11T18:14:32.457" Score="1" Body="&lt;p&gt;According to that error you have a self-referencing loop in your facet object that is breaking the serializer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can configure JSON.NET to ignore reference loops through serialization settings. &lt;a href=&quot;http://www.newtonsoft.com/json/help/html/serializationsettings.htm&quot; rel=&quot;nofollow&quot;&gt;http://www.newtonsoft.com/json/help/html/serializationsettings.htm&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="394" LastEditorUserId="394" LastEditDate="2016-10-11T19:27:27.513" LastActivityDate="2016-10-11T19:27:27.513" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1093" PostTypeId="2" ParentId="1089" CreationDate="2016-10-11T19:06:36.270" Score="16" Body="&lt;p&gt;The underlying logging framework that Sitecore uses is &lt;a href=&quot;https://logging.apache.org/log4net/&quot; rel=&quot;noreferrer&quot;&gt;Apache Log4Net&lt;/a&gt;, and this has not changed for a very long time (since early 6.x). Even the version used is the same, 1.2.11 I believe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pattern used for logging messages is also exactly the same between the versions:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;  &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;&amp;lt;/layout&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Log Analyser tools relies on a certain pattern being used in the log4net log files. Since the underlying framework and the pattern have not changed it will work with the latest versions of Sitecore without any issues.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="10" LastEditDate="2016-10-16T16:37:56.573" LastActivityDate="2016-10-16T16:37:56.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1094" PostTypeId="2" ParentId="1045" CreationDate="2016-10-11T19:25:09.317" Score="1" Body="&lt;p&gt;I added Googlebot to the Browser Agent and the site is now coming up as mobile-friendly on the Google Mobile-Friendly Test page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WS0qp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WS0qp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastActivityDate="2016-10-11T19:25:09.317" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1095" PostTypeId="1" AcceptedAnswerId="1378" CreationDate="2016-10-11T19:34:33.667" Score="20" ViewCount="1965" Body="&lt;p&gt;In &lt;em&gt;only&lt;/em&gt; our Staging/Production environment, items are being duplicated in our web index after a publish is performed.  The only distinction between the duplicate items (via Luke) is that any indexed images are prefixed with &quot;/sitecore/shell&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p4z1A.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p4z1A.png&quot; alt=&quot;Duplicate content&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I perform a &lt;em&gt;manual index rebuild&lt;/em&gt; from Indexing Manager, the results are as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The index uses a copy of the default IndexConfiguration with some slight modifications (edited), renamed to be newsIndexConfiguration and it is referenced properly on the index implementation&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;index id=&quot;$(News.Index.Name.Web)&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;    &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;    &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/newsIndexConfiguration&quot; /&amp;gt;&#xA;    &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;        &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;    &amp;lt;/strategies&amp;gt;&#xA;    &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;        &amp;lt;/policies&amp;gt;&#xA;    &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;    &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;        &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/content/Global/News/Articles&amp;lt;/Root&amp;gt;&#xA;        &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;/locations&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It goes without saying that there is custom code all over this implementation at this point.  However, this is a new feature that started with the default configuration.  I cannot figure out what might be causing the duplicates to be added on publish.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was erring without the &lt;code&gt;&amp;lt;indexAllFields&amp;gt;&lt;/code&gt; element set to true, which I can live with, but certainly isn't ideal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I should note, when I perform a Republish (including all children) at the newsroom root, it adds these multiple values, not just 1 additional duplicate, but 5 or even more sometimes, it feels quite arbitrary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the past, in this instance, I've gotten around this by filtering out results that contain &quot;/sitecore/shell&quot; in the image field, but this is merely a Band-Aid.  Any help to solve this would be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2016-11-03T15:18:16.120" LastActivityDate="2017-05-09T17:12:21.020" Title="Sitecore 8: Items Duplicated in Web Index After Publish" Tags="|lucene|publishing|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1096" PostTypeId="2" ParentId="1095" CreationDate="2016-10-11T19:56:30.313" Score="3" Body="&lt;p&gt;It may depend on what version of Sitecore you are running, from this SO post (&lt;a href=&quot;https://stackoverflow.com/questions/27272832/urllink-in-sitecore-indexs-returns-media-url-with-sitecore-shell-media&quot;&gt;https://stackoverflow.com/questions/27272832/urllink-in-sitecore-indexs-returns-media-url-with-sitecore-shell-media&lt;/a&gt;) it looks like there may be a known bug.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Accepted answer from link above:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Just to give an update for this. Confirmed by Sitecore it's a bug. They are finding a workaround, I'll update here when they do.&lt;/p&gt;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;&lt;p&gt;-------------updated on 15/12/2014----------------------&lt;/p&gt;&#xA;&lt;p&gt;Ticket's closed now. Sitecore's solution is to remove this &amp;quot;urlLink&amp;quot; field from the index in the future(They said they will request this).&lt;/p&gt;&#xA;&lt;p&gt;Reason being that url should be generated by LinkManager based on current site context. However site context doesn't exist while indexing(For content item you can check the path, but for media item you cannot).&lt;/p&gt;&#xA;&lt;p&gt;Of course there's another solution is to create your own computeredField to override the logic for media item. However I agree with Sitecore, it feels more right to remove this field from the index.&lt;/p&gt;&#xA;&lt;p&gt;On top of all that, the initial reason for using the urlLink field was to drop the need for querying Sitecore completely while doing a Search. All the content are coming from Index's stored fields value. But on the other hand, pagination is normally being used for search results, so even there're requests to Sitecore, it shouldn't be a lot.&lt;/p&gt;&#xA;&lt;p&gt;That'd be all for now, happy to see more opinions and to discuss, thanks!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="695" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-11T20:01:27.940" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1097" PostTypeId="1" CreationDate="2016-10-11T20:36:51.077" Score="13" ViewCount="689" Body="&lt;p&gt;I have set up a WFFM form and am using the Send Email Message save action. In the Email I have fields from the form (Selected by using the drop down list of fields in the editor). If the user does not fill in the field (its not a required field), the &lt;em&gt;[FieldName]&lt;/em&gt; appears in the text of the email. I would of thought it should just be blank? Can I override this behavior without writing a custom save action?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM Version: 8.1 rev. 160304 Sitecore 8.1 rev. 160304&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the Html of the email from the email editor in the save action:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;p&amp;gt;[&amp;lt;label id=&quot;{43439BEE-8420-425B-8568-EFA16E6CD862}&quot;&amp;gt;First Name&amp;lt;/label&amp;gt;]&amp;amp;nbsp;[&amp;lt;label id=&quot;{59FC07BC-F52A-430C-A77C-9B9C7D33D91D}&quot;&amp;gt;Last Name&amp;lt;/label&amp;gt;] has contacted Blahblahblah.com with a question regarding Order Status.&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Contact Details:&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;First Name:&amp;amp;nbsp;[&amp;lt;label id=&quot;{43439BEE-8420-425B-8568-EFA16E6CD862}&quot;&amp;gt;First Name&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Last Name:&amp;amp;nbsp;[&amp;lt;label id=&quot;{59FC07BC-F52A-430C-A77C-9B9C7D33D91D}&quot;&amp;gt;Last Name&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Email:&amp;amp;nbsp;[&amp;lt;label id=&quot;{DA938496-CD20-446C-9799-7F974AEAEC32}&quot;&amp;gt;Email&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Phone:&amp;amp;nbsp;[&amp;lt;label id=&quot;{9EB25349-9772-4D5C-9690-E9301A1A6915}&quot;&amp;gt;Phone&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Best Time To Be Contacted:&amp;amp;nbsp;[&amp;lt;label id=&quot;{0291B856-8E75-4E1E-A6A9-FCC72103560B}&quot;&amp;gt;Best Time To Be Contacted&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Request A Call Back:&amp;amp;nbsp;[&amp;lt;label id=&quot;{65BE7408-3645-44DD-803D-BD97B1518FCF}&quot;&amp;gt;Request a Call Back&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Message:&amp;amp;nbsp;[&amp;lt;label id=&quot;{312DA275-AD4B-4EE2-88AB-CE8A3083090A}&quot;&amp;gt;Message&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Attachment:&amp;amp;nbsp;[&amp;lt;label id=&quot;{4D31A48A-F714-417A-9987-3BC127AA6DE9}&quot;&amp;gt;Attachments&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Product:&amp;amp;nbsp;[&amp;lt;label id=&quot;{6DC3B0CE-6C57-4180-9C43-D91A7345A28F}&quot;&amp;gt;Product&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA; &amp;lt;p&amp;gt;Product Category:&amp;amp;nbsp;[&amp;lt;label id=&quot;{71C70DBB-1A49-40FE-8667-B15E8C63B9E9}&quot;&amp;gt;Product Category&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Product Collection:&amp;amp;nbsp;[&amp;lt;label id=&quot;{97813AA2-E7F8-4EF3-BF9F-1585F48CF690}&quot;&amp;gt;Product Collection&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Product Color/Finish:&amp;amp;nbsp;[&amp;lt;label id=&quot;{A81E3A28-7D34-4407-94BC-D1F58A3AA8FD}&quot;&amp;gt;Product Color/Finish&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Blahblahblah Brands order or confirmation #:&amp;amp;nbsp;[&amp;lt;label id=&quot;{8DE1665E-0996-4D1D-A685-410FB1D16246}&quot;&amp;gt;Blahblahblah Brands order or confirmation #&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Product's Model or SKU from Proof of Purchase:[&amp;lt;label id=&quot;{78B78963-CE8E-404A-8782-AD0D8DA26E8A}&quot;&amp;gt;Product's Model or SKU from Proof of Purchase&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Installation Date:&amp;amp;nbsp;[&amp;lt;label id=&quot;{05868311-16B0-4E74-B95B-C7F898F6A64E}&quot;&amp;gt;Installation Date&amp;lt;/label&amp;gt;]&amp;amp;nbsp;[&amp;lt;label id=&quot;{95CE2944-4369-4854-A346-5EE9653368D7}&quot;&amp;gt;Year&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;I registered my warranty online:&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Yes: [&amp;lt;label id=&quot;{D2C19DCA-C362-4FC8-B7DF-C7E7A9D7FF8D}&quot;&amp;gt;Yes&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;No:&amp;amp;nbsp;[&amp;lt;label id=&quot;{842B6C17-A1C1-499D-85E5-33BC6F4594B8}&quot;&amp;gt;No&amp;lt;/label&amp;gt;]&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;Thank You&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is the email I get:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ethan Schofer has contacted Blahblahbah.com with a question regarding Order Status.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contact Details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First Name: Ethan&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Last Name: Schofer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Email: eschofer@blahblahblah.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Phone: [Phone]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best Time To Be Contacted: [Best Time To Be Contacted]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Request A Call Back: False&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Message: [Message]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Attachment: [Attachments]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Product: Blah&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Product Category: Bath Drains&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Product Collection: Blah&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Product Color/Finish: Blue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Blahblahblah Brands order or confirmation #: [Blahblahblah Brands order or confirmation #]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Product's Model or SKU from Proof of Purchase:[Product's Model or SKU from Proof of Purchase]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Installation Date: October 2016&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I registered my warranty online:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes: False&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No: False&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank You&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="10" LastEditDate="2016-10-12T02:08:03.993" LastActivityDate="2018-04-17T02:42:02.177" Title="WFFM Send Email Message When no Field Data" Tags="|wffm|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1098" PostTypeId="1" CreationDate="2016-10-11T20:37:14.540" Score="12" ViewCount="1238" Body="&lt;p&gt;What is the pipeline processor responsible for redirecting the user to the login page if they do not have access to the page being loaded?  In a Sitecore webforms solution, this is handled by the SecurityCheck pipeline processor, but what is it in a Sitecore MVC solution since the RenderLayout pipeline does not execute?&lt;/p&gt;&#xA;" OwnerUserId="648" LastActivityDate="2016-10-12T07:44:01.993" Title="MVC equivalent of SecurityCheck Pipeline Processor" Tags="|mvc|pipelines|login|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1099" PostTypeId="2" ParentId="484" CreationDate="2016-10-11T20:40:39.663" Score="1" Body="&lt;p&gt;Not super proud of the approach, but I ended up looking for the version of jQuery WFFM injects (1.4.2 in this case) and unloaded it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (typeof jQuery != 'undefined' &amp;amp;&amp;amp; jQuery.fn.jquery == &quot;1.4.2&quot;) {&#xA;    jQuery.noConflict(true);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Ended up going this route, as it also fixed some other js errors caused by this collision (Zachary's answer was close, but in some of my callback functions, the version of jQuery was wrong). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not a fan of the magic string, but it worked in this case.&lt;/p&gt;&#xA;" OwnerUserId="249" LastActivityDate="2016-10-11T20:40:39.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1100" PostTypeId="1" AcceptedAnswerId="1109" CreationDate="2016-10-11T20:47:05.640" Score="7" ViewCount="312" Body="&lt;p&gt;Unicorn 3.2&#xA;Sitecore 8.2 160729&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I sync, it crashes with this error. But only on a few projects.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[A] master:/sitecore/templates/Feature/Navigation/_Navigable/Navigation/LinkTitle (230de8d4-f378-40b0-9c46-c1cfb5facf98)&#xA;    ERROR: Bad IL format. (System.BadImageFormatException)&#xA;    at Sitecore.Data.Database.GetItem(ID itemId) &#xA;    at Unicorn.Pipelines.UnicornSyncComplete.SyncedItemPostProcessor.&amp;lt;&amp;gt;c__DisplayClass0_0.b__1(ChangeEntry change) &#xA;    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() &#xA;    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() &#xA;    at System.Linq.Buffer`1..ctor(IEnumerable`1 source) &#xA;    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) &#xA;    at Unicorn.Pipelines.UnicornSyncComplete.SyncedItemPostProcessor.Process(UnicornSyncCompletePipelineArgs args) &#xA;    at (Object , Object[] ) &#xA;    at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) &#xA;    at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) &#xA;    at Unicorn.SerializationHelper.SyncTree(IConfiguration configuration, Action`1 rootLoadedCallback, IItemData[] roots) &#xA;    at Unicorn.ControlPanel.Pipelines.UnicornControlPanelRequest.SyncVerb.Process(IProgressStatus progress, ILogger additionalLogger)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-10-11T21:53:30.667" Title="Bad IL format in Unicorn" Tags="|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1101" PostTypeId="2" ParentId="1095" CreationDate="2016-10-11T20:47:10.830" Score="12" Body="&lt;p&gt;This looks like a bug with the OnPublishEndAsync strategy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It becomes apparent when authors start creating new versions of content each time they lock and edit an item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It has been fixed in 8.1 but still resides in the version you are using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this knowledge base article &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/992608&quot;&gt;https://kb.sitecore.net/articles/992608&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="222" LastActivityDate="2016-10-11T20:47:10.830" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1102" PostTypeId="2" ParentId="1087" CreationDate="2016-10-11T20:50:44.620" Score="1" Body="&lt;p&gt;I had a similar issue once.. first no data and then there was data. And then the data was outdated/inconsistent (I changed some contact details and it was ok in the details but not in the list view). Anyway, I'm not sure it what I'm sharing here is related but it could be something to look at, especially if you are talking about a non-prod environment with limited analytics data so far.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Sitecore.ContentSearch.Solr.Index.Analytics.config&lt;/code&gt; or &lt;code&gt;Sitecore.ContentSearch.Lucene.Index.Analytics.config&lt;/code&gt; you will find settings for an AnalyticsVisitCrawler, a AnalyticsVisitPageCrawler, .. and so on. Each of these crawlers has an element &lt;code&gt;MinimumQueueSize&lt;/code&gt; which is set to 500 by default. When investigating my issue with contact data being inconsistent between the list and the details I learned that the reporting tools use indexes (which cannot be rebuild - unless by rebuilding the whole analytics database). By lowering the minimum queue size in those settings we could get the indexes to update faster and show the correct data faster.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This only makes any sense if your data is saved in to Mongo (what seems to be the case) and aggregated to the analytics sql database correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyway, not sure whether it can solve your issue, but it might give you an insight in what is all going on for those reporting tools to work.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-11T20:50:44.620" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1103" PostTypeId="2" ParentId="1098" CreationDate="2016-10-11T20:52:22.893" Score="4" Body="&lt;p&gt;The one that mimics it most closely, is the &lt;code&gt;&amp;lt;mvc.requestBegin&amp;gt;&lt;/code&gt; pipeline. Essentially, MVC will break off and start processing here, where the traditional would have continued to call &lt;code&gt;&amp;lt;renderLayout&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also - since you're specifically asking about the SecurityCheck functionality that resides in &lt;code&gt;&amp;lt;renderLayout&amp;gt;&lt;/code&gt;, be aware that some of this functionality has not made it correctly to the MVC sister pipelines at this point. Specifically the MVC &lt;code&gt;SiteSecurityChecker&lt;/code&gt; does not respect &lt;code&gt;requireLogin&lt;/code&gt;. If this is the root issue you're looking into, I have it registered as a bug with Sitecore Support - public reference 93728. They can provide you with a hotfix for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Sitecore.MVC.config&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.HttpRequest.DisplayFatalErrors, Sitecore.Mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.IgnoreList, Sitecore.Kernel']&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.HttpRequest.TransferRoutedRequest, Sitecore.Mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.HttpRequest.TransferControllerRequest, Sitecore.Mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.LayoutResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.HttpRequest.TransferMvcLayout, Sitecore.Mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.LayoutResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;  &amp;lt;/httpRequestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which then leads to&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;mvc.requestBegin&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Request.RequestBegin.SetupPageContext, Sitecore.Mvc&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Request.RequestBegin.ExecuteFormHandler, Sitecore.Mvc&quot;/&amp;gt;&#xA;  &amp;lt;/mvc.requestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-11T20:52:22.893" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1104" PostTypeId="1" AcceptedAnswerId="1171" CreationDate="2016-10-11T21:10:46.093" Score="10" ViewCount="326" Body="&lt;p&gt;I would like to use the rules engine to prepopulate a WFFM form field with the logged in user's username. Unfortunately, I can't seem to get this to work, even though the conditions and actions that I am using are provided out of the box. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't see any errors in my logs or at runtime - the field value is just not being set. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at the below screenshot of the form designer, the rule that I am using is at the bottom left.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vgwTX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vgwTX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what I'm doing wrong here or if there is something special that I need to do in order to get this working? &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-09-05T15:44:50.507" Title="Prepopulate WFFM field with username" Tags="|wffm|membership-provider|rules-engine|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1105" PostTypeId="1" CreationDate="2016-10-11T21:17:58.413" Score="17" ViewCount="589" Body="&lt;p&gt;I'm trying to make Web Forms for Marketers forms on our site ADA Compliant. In order to do this, screen readers need to be able to focus where the validation errors are when a form fails. In WFFM, this seems to be in the &quot;scfValidationSummary&quot; class, seen here: &lt;a href=&quot;http://prntscr.com/csoimr&quot; rel=&quot;noreferrer&quot;&gt;http://prntscr.com/csoimr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, instead of focusing on the errors,  WFFM focuses the user on the first input box instead, as seen in this screenshot: &lt;a href=&quot;http://prntscr.com/cso418&quot; rel=&quot;noreferrer&quot;&gt;http://prntscr.com/cso418&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that when the screen reader begins, it just starts at the fields and will not read any errors to the user. Users not alerted that they have errors, and can't progress past the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I understand, WFFM reloads the page upon error validation, meaning I can't use simple javascript to focus on the scfValidationSummary class. I could try making sure our javascript runs after WFFM's, but that seems like an unreliable idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm looking for advice on how to override this functionality. I'm thinking of trying to insert a tabIndex property on the class that surrounds the errors (scfValidationSummary) in the Sitecore.Forms.Core.dll - I'd have to override WFFM's functionality at that point, somehow (not sure how much effort this is).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any advice you can offer? Sitecore version is 7.5 (rev. 141003). WFFM is 2.5 rev 141014.&lt;/p&gt;&#xA;" OwnerUserId="699" LastEditorUserId="699" LastEditDate="2016-10-12T19:24:30.773" LastActivityDate="2016-10-12T19:24:30.773" Title="How to change the focus of a WFFM upon validation errors?" Tags="|wffm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1106" PostTypeId="1" AcceptedAnswerId="1603" CreationDate="2016-10-11T21:28:08.590" Score="12" ViewCount="251" Body="&lt;p&gt;After upgrade to Coveo 4.0 I am getting an error related to the version field. Here is the query I am running in Linq Scratch Pad:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;Coveo_web_index&quot;).CreateSearchContext())&#xA;{&#xA;    return context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Take(10).ToList();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see the query itself is no magic, I did not change it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Searchprovider.config by default has:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;calculateddimension&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.CalculatedDimension,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;istemplate&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsTemplate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;haschildren&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.HasChildren,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;lock&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsLocked,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;parsedcreatedby&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedCreatedBy,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;parsedupdatedby&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedUpdatedBy,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;parsedlanguage&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedLanguage,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;site&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.Site,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;sizerange&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.FileSizeGrouping,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;version&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.StoreVersionTermVector,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;urllink&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.UrlLink,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;isbucket_text&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsBucket,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;alltemplates&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.AllTemplates, Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And in the index I can see the version field.&#xA;@fversion24653 String 1 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get the error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Property accessor 'Version' on object 'Sitecore.ContentSearch.SearchTypes.SearchResultItem' threw the following exception:'The given key was not present in the dictionary.'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have index all fields as true.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;coveoQueryFieldPipeline patch:source=&quot;Coveo.SearchProvider.config&quot;&amp;gt;&#xA;    &amp;lt;processor type=&quot;Coveo.SearchProvider.Processors.Queries.AddAllFieldsProcessor, Coveo.SearchProviderBase&quot;/&amp;gt;&#xA;&amp;lt;/coveoQueryFieldPipeline&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The base Coveo.SearchProvider.config indexes version, id and unique id fields.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType fieldName=&quot;_id&quot; settingType=&quot;Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework&quot; type=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot; returnType=&quot;System.String&quot; /&amp;gt;&#xA;&amp;lt;fieldType fieldName=&quot;_uniqueid&quot; settingType=&quot;Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework&quot; type=&quot;Sitecore.Data.ItemUri, Sitecore.Kernel&quot; returnType=&quot;System.String&quot; /&amp;gt;&#xA;&amp;lt;fieldType fieldName=&quot;name&quot; isFacet=&quot;true&quot; isSortable=&quot;true&quot; includeForFreeTextSearch=&quot;true&quot; isMultiValue=&quot;false&quot; settingType=&quot;Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework&quot; /&amp;gt;&#xA;&#xA;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;calculateddimension&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.CalculatedDimension,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;istemplate&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsTemplate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;haschildren&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.HasChildren,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;lock&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsLocked,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;parsedcreatedby&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedCreatedBy,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;parsedupdatedby&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedUpdatedBy,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;parsedlanguage&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedLanguage,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;site&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.Site,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;sizerange&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.FileSizeGrouping,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;version&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.StoreVersionTermVector,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;urllink&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.UrlLink,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;isbucket_text&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsBucket,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;alltemplates&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.AllTemplates, Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT #1:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also seeing the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;46984 13:14:44 WARN  The current item could not be processed by the field processor Sitecore.ContentSearch.VirtualFields.LatestVersionFieldProcessor.&#xA;Exception: System.Collections.Generic.KeyNotFoundException&#xA;Message: The given key was not present in the dictionary.&#xA;Source: mscorlib&#xA;at System.Collections.Generic.Dictionary`2.get_Item(TKey key)&#xA;at Sitecore.ContentSearch.VirtualFields.LatestVersionFieldProcessor.TranslateFieldResult(IDictionary`2 fields, FieldNameTranslator fieldNameTranslator)&#xA;at Coveo.SearchProvider.CoveoDocumentTypeMapper.ReadDocumentFields[TElement](QueryResult p_Document, IEnumerable`1 p_FieldNames, DocumentTypeMapInfo p_DocumentTypeMapInfo, IEnumerable`1 p_VirtualFieldProcessors, TElement p_Resul&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="146" LastEditorUserId="290" LastEditDate="2016-10-12T18:57:19.653" LastActivityDate="2016-10-19T20:40:13.267" Title="Odd Linq ContentSearch issues with Coveo 4.0" Tags="|coveo|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1107" PostTypeId="1" AcceptedAnswerId="1151" CreationDate="2016-10-11T21:44:05.307" Score="9" ViewCount="2240" Body="&lt;p&gt;If I wanted to set up Sitecore to use CloudFlare (or an other CDN) how would I enable personalisation? Would I have to exclude any pages using personalisation from being cached by the CDN, or is there some other way to handle this?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-10-12T08:30:10.410" Title="Sitecore with personalisation and CDN such as CloudFlare" Tags="|caching|cdn|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1108" PostTypeId="2" ParentId="1107" CreationDate="2016-10-11T21:46:58.180" Score="2" Body="&lt;p&gt;It truly depends on how the CDN is setup. The way we have done it is that its transparent and has nothing to do with Sitecore. If an image/asset (js/css/docs) are requested by the end user, the first request goes to Sitecore and the subsequent requests go to the CDN.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you change an image due to personalization reasons, again the first request will go to Sitecore and any further requests for that asset will go to the CDN.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CDN setup is crucial and depends on the way you implement it. We choose not to integrate it into Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-11T21:46:58.180" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1109" PostTypeId="2" ParentId="1100" CreationDate="2016-10-11T21:53:30.667" Score="11" Body="&lt;p&gt;Unicorn 3.2 is built against .NET 4.5, and Sitecore 8.2 is built against .NET 4.5.2. There are some funny edge cases where the earlier framework assembly calling the later framework assembly breaks - like this one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this update to Unicorn 3.3 RC9, which is built against .NET 4.5.2 and squashes a bunch of bugs. It's a plain ol' NuGet package upgrade to install it. Refer to &lt;a href=&quot;https://github.com/kamsar/Unicorn/issues/175&quot;&gt;https://github.com/kamsar/Unicorn/issues/175&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2016-10-11T21:53:30.667" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1110" PostTypeId="2" ParentId="1098" CreationDate="2016-10-11T21:55:31.040" Score="1" Body="&lt;p&gt;When I traced this through for a recent project, I found that the ExecuteRequest (as part of the HttpRequestBegin pipeline) did the redirection on invalid credentials. This is the line in my Sitecore 8.1 Sitecore.config file.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if there's a specific MVC pipeline or if the above pipeline handles MVC execution/checking as well. &lt;/p&gt;&#xA;" OwnerUserId="700" LastEditorUserId="10" LastEditDate="2016-10-12T02:09:04.090" LastActivityDate="2016-10-12T02:09:04.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1111" PostTypeId="1" AcceptedAnswerId="1112" CreationDate="2016-10-11T22:02:07.040" Score="17" ViewCount="1843" Body="&lt;p&gt;How can I make the media library only serve up content for a files actual extension, and perform a 301 permanent redirect to the actual URL for any other extension. &#xA;For SEO reasons. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default the media library works for multiple extensions, e.g. ashx, doc, docx etc&#xA;I can get the media library links to be generated with the right extension. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I want search engines which have a link to an invalid extension to updated to the actual file extension. &#xA;To prevent the same file being indexed multiple time on different paths. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it was a web page could have a canonical URL, but for media library items, need to perform a permanent redirect to the actual file desired url/extension. &lt;/p&gt;&#xA;" OwnerUserId="388" LastEditorUserId="73" LastEditDate="2016-10-12T10:29:51.770" LastActivityDate="2018-02-21T22:00:55.190" Title="How do I manage Media library file extensions for SEO purposes?" Tags="|media-library|seo|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1112" PostTypeId="2" ParentId="1111" CreationDate="2016-10-11T22:05:17.127" Score="8" Body="&lt;p&gt;Loooong time ago I wrote a blog post describing how to handle this issue. It was for Sitecore 6.5 but I guess it should work on any other version as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.cognifide.com/our-blogs/sitecore/sitecore-serves-media-items-even-with-incorrect-extensions/&quot; rel=&quot;nofollow&quot;&gt;Sitecore serves media items even with incorrect extensions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The idea is that there is an extra processor added to &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline which checks whether the extension used in requested url is same as extension of the media item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My solution returned 404 not found in such a scenario but you can easily change it to 301 redirect if you think it's a better idea.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2016-10-12T10:29:09.480" LastActivityDate="2016-10-12T10:29:09.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1113" PostTypeId="2" ParentId="1111" CreationDate="2016-10-11T22:06:03.507" Score="5" Body="&lt;p&gt;I'm not sure exactly what your asking for here but if you want to show the 'real' file extension for PDFs, Docs, Images etc then I'd suggest enabling Media.RequestExtension like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.RequestExtension&quot; value=&quot;&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To prevent duplicate urls for files you may be able to use an MediaRequestHandler as described by Martin Davies here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoreskills.blogspot.co.uk/2014/01/handling-duplicate-media-paths-in.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreskills.blogspot.co.uk/2014/01/handling-duplicate-media-paths-in.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-02-21T22:00:55.190" LastActivityDate="2018-02-21T22:00:55.190" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1114" PostTypeId="2" ParentId="1097" CreationDate="2016-10-11T22:13:21.717" Score="6" Body="&lt;p&gt;This usually happens when that field has been removed since the save action email template was created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have you renamed/removed any fields since you created it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd suggest opening up the save action, removing the [Phone] field, [Message] field etc and then adding them back to the email template using the dropdown of fields. Then saving and trying again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM binds the [my field] placeholders to the fields based on a hidden id so if these are changed then it can loose the reference to the field.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-11T22:13:21.717" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1115" PostTypeId="1" AcceptedAnswerId="1129" CreationDate="2016-10-11T22:29:52.587" Score="11" ViewCount="565" Body="&lt;p&gt;I created a ValueAccessor that utilizes the PropertyValueReader. When the mapping happens for my C# DateTime to my Sitecore DateTime, the raw value is correct in Sitecore but the form field in content editor provides the equivalent of the minimum value for the Date. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the ISO Date Value Reader makes the raw field null along with the field in content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a specific reader and writer to use for DateTime mapping in the Data Exchange Framework?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Update:&lt;/em&gt;&lt;/strong&gt; Question was answered below but a potential date issue has been questioned in the comments. Here is the detailed information around the scenario I am doing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yAFsD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yAFsD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The dates originate from these json fields. I am doing a JsonConvert.DeserializeObject on the json. I get the following for the dates in the POCO:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ce5VE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ce5VE.png&quot; alt=&quot;Created Date&quot;&gt;&lt;/a&gt; &#xA;Created Date&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Hh98A.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hh98A.png&quot; alt=&quot;Updated Date&quot;&gt;&lt;/a&gt; &#xA;Updated Date&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Value Mappings are as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vYmum.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vYmum.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Created Date&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sN7rA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sN7rA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Updated Date&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've left the created date alone and added the ISO date reader to the updated date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the pipeline runs, here are the CE views of the created item:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/RscPN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RscPN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yrUNi.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yrUNi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Raw View&lt;/p&gt;&#xA;" OwnerUserId="224" LastEditorUserId="224" LastEditDate="2016-10-12T13:43:55.427" LastActivityDate="2019-05-23T02:22:01.123" Title="POCO DateTime not mapping correctly in Data Exchange Framework" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1116" PostTypeId="1" AcceptedAnswerId="1117" CreationDate="2016-10-11T23:04:24.150" Score="9" ViewCount="801" Body="&lt;p&gt;I got a scenario where i want to add variable in content say multiline text. This variable is kind of link which will be populated based on user profile. Having said that i m looking for best recommended approach so that content author or for that reason any developer in future should not delete or overlooked this variable and publish it without any checks. I may add validation for field and provide help text to deal with this. Is there any better approach to tackle this?&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="283" LastEditDate="2016-10-11T23:12:23.827" LastActivityDate="2016-10-11T23:12:23.827" Title="Content variable in sitecore fields" Tags="|content-editor|text-field|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1117" PostTypeId="2" ParentId="1116" CreationDate="2016-10-11T23:08:01.680" Score="4" Body="&lt;p&gt;You can use one of the modules already available for this.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://jeffdarchuk.com/2015/10/26/sitecore-tokenmanager/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffdarchuk.com/2015/10/26/sitecore-tokenmanager/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Context from what the link covers:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;TokenManager preview&lt;/p&gt;&#xA;&lt;p&gt;It’s been a while since my last blog post, that’s because I’ve been working hard on a sitecore extension.  I’m in the process of working out the last bugs but here’s a preview of what it will be capable of.&lt;/p&gt;&#xA;&lt;p&gt;Where is it used?&lt;/p&gt;&#xA;&lt;p&gt;It is found in the Telerik editor from a rich text field.&lt;/p&gt;&#xA;&lt;p&gt;what is a token?&lt;/p&gt;&#xA;&lt;p&gt;A token is a small chunk of text that is dynamically replaced with something else when the rich text field is rendered.&lt;/p&gt;&#xA;&lt;p&gt;Why use tokens?&lt;/p&gt;&#xA;&lt;p&gt;The most basic of uses is to use tokens to store common information that will change at the same time on every page, such as a customer service phone number, or address.  However I’ve devised several more use cases that the TokenManager will be able to accomplish&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="146" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-11T23:10:53.807" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1118" PostTypeId="1" AcceptedAnswerId="1164" CreationDate="2016-10-11T23:10:54.040" Score="9" ViewCount="1510" Body="&lt;p&gt;A content editor is on the experience editor, they have previewed the page, they are happy with the page, they want it to approve the version of the page they are previewing, so it is ready to go live when scheduled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page has lots of renderings with datasources.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For each data source, they have to approve it individually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The content author just wants to approve the whole page, without having to approve each component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see 8.2 includes some features to keep datasources in sync with the parent page - &lt;code&gt;&quot;WebEdit.AffectWorkflowForDatasourceItems&quot;&lt;/code&gt;. (as well as to be able to approve individual data sources, and see on how many other pages they are used)&#xA;Does this work if the data sources are in a different workflow than the page?&#xA;&lt;a href=&quot;https://jammykam.wordpress.com/2016/09/05/sitecore-8-2-managing-datasource-components-and-workflow-from-the-experience-editor/&quot;&gt;https://jammykam.wordpress.com/2016/09/05/sitecore-8-2-managing-datasource-components-and-workflow-from-the-experience-editor/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any documentation on this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be done to move everything on the currently visible version of a page, to move it to the final state of the workflow for each data source on the page &amp;amp; the page version itself, regardless of workflow type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should only approve the version of the page previewing for a particular date, and the referenced data sources as used by renderings on that version of the page.&lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2016-10-12T10:55:33.137" Title="Bulk workflow approval" Tags="|content-editor|workflow|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1119" PostTypeId="1" AcceptedAnswerId="1147" CreationDate="2016-10-11T23:38:29.503" Score="6" ViewCount="1365" Body="&lt;p&gt;This is for Sitecore 8.1 Update 3, using Solr 5.5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears that in a Multilist with Search Field, if the field has two or more items currently selected (it does not matter whether the item has been saved or not), the search request that is sent ends up generating an improper Solr query that causes no results to be returned. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, here is a query that is generated when trying to perform a search on the field:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;((-_group:(8ef752a6793c446d849aa5a0b455457a) AND -_group:(da0d9a141798455da6a66994742e48c8)) AND ((((_content:(roger) OR _name:(roger) OR _displayname:(roger)) AND _path:(79e09ae03e614e069349b05ca2aada81)) AND _template:(8904e4c272604056b65ddb881a06de95)) AND _latestversion:(True)))&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It's the first grouping that is attempting to exclude already selected items within the field that causes this search to fail. We can manually modify the query to &quot;fix&quot; it and return what we want:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;First we can negate the grouping&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;-((-_group:(8ef752a6793c446d849aa5a0b455457a) AND -_group:(da0d9a141798455da6a66994742e48c8)) AND ((((_content:(roger) OR _name:(roger) OR _displayname:(roger)) AND _path:(79e09ae03e614e069349b05ca2aada81)) AND _template:(8904e4c272604056b65ddb881a06de95)) AND _latestversion:(True)))&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Or we can arrange the grouping to be &quot;correct&quot;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;(&#xA;  -_group:(beff3037e34941e4ae4608d7524118df) &#xA;  AND -_group:(a5b7d1a6f38148189f0f88aeb84162fc)&#xA;  AND -_group:(26e8bb2e727746c89c2577dda04afa54)&#xA;  AND -_group:(c4ff9b4b053d4e749758ec1261f35124)&#xA;  AND &#xA;  ((((_content:(roger) OR _name:(roger) OR _displayname:(roger)) AND _path:(79e09ae03e614e069349b05ca2aada81)) AND _template:(8904e4c272604056b65ddb881a06de95)) AND _latestversion:(True))&#xA;  )&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Essentially, Sitecore is incorrectly grouping the &quot;_group&quot; fields together so this problem will only show up when one more than one item is selected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've fixed this issue for now by modifying the client side javascript to no longer send the selected id's to the search handler:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;\sitecore\shell\Controls\BucketList\BucketList.js, line 140&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;self.getSelectedIdsFilter = function (){&#xA;    return &quot;&quot;;&#xA;    //return [].slice.call($(self.clientId + '_selected').options, 0)&#xA;    //    .map(function (option) { return &quot;&amp;amp;-id=&quot; + option.value })&#xA;    //    .join('');&#xA; };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Doing the above modification to the client-side JS allows me to correctly search on a Multilist with Search field. However, I consider it a hack and was wondering if anyone had a &quot;proper&quot; solution to this problem?  I looked into overriding the default search handler, but the &quot;problem code&quot; that is responsible for taking the search request and parsing it into a solr query seemed especially difficult to replace/modify due to how it was architected. &#xA;. &lt;/p&gt;&#xA;" OwnerUserId="170" LastEditorUserId="170" LastEditDate="2016-10-11T23:43:32.183" LastActivityDate="2016-10-12T08:00:52.937" Title="&quot;Multilist with Search&quot; Field Does Not Return Search Results With Two Or More Items Selected" Tags="|content-editor|solr|content-search|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1120" PostTypeId="1" AcceptedAnswerId="1123" CreationDate="2016-10-11T23:38:33.353" Score="3" ViewCount="862" Body="&lt;p&gt;Is there module in sitecore market place where help text is extended to include any gif image  or animation image or screenshot to educate content author about specific field behavior or content behavior?&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="73" LastEditDate="2018-04-03T09:40:45.803" LastActivityDate="2018-04-03T09:40:45.803" Title="Content Author /editor help view with gif animation in sitecore cms" Tags="|sitecore-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1121" PostTypeId="1" AcceptedAnswerId="1142" CreationDate="2016-10-11T23:57:38.990" Score="6" ViewCount="1181" Body="&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://stackoverflow.com/questions/39950258/sitecore-analytics-report-filter-by-ip&quot;&gt;Repost from Stack overflow&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have analytics report for my website. &#xA;I &lt;strong&gt;hadn't configured robot detection&lt;/strong&gt; service while setting up solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not using Sitecore GeoIP service. I would like to filter my existing analytics report to exclude our own traffic. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we do that on &lt;strong&gt;existing report?&lt;/strong&gt; Does xDB store IP addresses information for visits by default, if yes; is there any way to extract that information to create custom report&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-12T08:45:50.070" Title="Filtering xDB reports by IP address" Tags="|xdb|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1122" PostTypeId="2" ParentId="1118" CreationDate="2016-10-12T00:09:09.087" Score="4" Body="&lt;p&gt;I'll try and answer some of these questions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It does sounds like this setting will do what you want, and by default it's enabled in 8.2:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;WebEdit.AffectWorkflowForDatasourceItems&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There doesn't seem to be any documentation for the new workflow features of 8.2 yet but based on the info here it suggests that components will not be left in a different workflow state to the page: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A number of enhancements to the Experience Editor have been&#xA;  implemented for the associated content on a page:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;All page components that have data sources are highlighted with the green frame if the &quot;associated content&quot; checkbox is selected.&lt;/li&gt;&#xA;  &lt;li&gt;The toolbar of the component shows the datasource item's workflow and the number of pages that use the same datasource item.&lt;/li&gt;&#xA;  &lt;li&gt;For each piece of content used on the page, you can see the content item's details and the other pages that use this content.&lt;/li&gt;&#xA;  &lt;li&gt;For each page, you can see all the content items that are used on the page and their workflow states.&lt;/li&gt;&#xA;  &lt;li&gt;New notifications have been implemented to prevent authors from publishing broken pages.Data sources move through their workflows&#xA;  together with the context page.&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-12T00:09:09.087" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1123" PostTypeId="2" ParentId="1120" CreationDate="2016-10-12T00:17:14.147" Score="1" Body="&lt;p&gt;I'm not sure what version of Sitecore you are using but there is a module that supports uploading videos to show in the Page Editor (now Experience Editor), it says it only supports up to 6.5 though so I'm unsure if it will work for later versions of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module extends the inbuilt Help Template that ships with Sitecore and adds a new field called 'Help Videos'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/P/Page_Editor_Help.aspx?sc_lang=en&quot; rel=&quot;nofollow&quot;&gt;https://marketplace.sitecore.net/Modules/P/Page_Editor_Help.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It might give you some ideas though on how to approach this. Other than this module I think you would need to build something custom to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where do you want to show this extra info - Experience Editor or Content Editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will probably be easier to do this in Experience Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could do something like this to add a custom button and then link that to a modal popup that passes the component id and loads in a video/text/image etc with additional help for that component perhaps: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2016/05/How-to-customize-the-Sitecore-Experience-Editor.aspx&quot; rel=&quot;nofollow&quot;&gt;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2016/05/How-to-customize-the-Sitecore-Experience-Editor.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-12T00:44:09.950" LastActivityDate="2016-10-12T00:44:09.950" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1124" PostTypeId="1" AcceptedAnswerId="1127" CreationDate="2016-10-12T00:19:54.013" Score="19" ViewCount="382" Body="&lt;p&gt;In a distributed environment where the solution has multiple CD's and at least one CM (if not more), as well as other roles like processing servers, &lt;strong&gt;how important&lt;/strong&gt; is the time and timezone synchronicity?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CD1: EDT&lt;/li&gt;&#xA;&lt;li&gt;CD2: UTC&lt;/li&gt;&#xA;&lt;li&gt;Processing Server: PDT, 1 minute behind&lt;/li&gt;&#xA;&lt;li&gt;CM: MDT, 1 minute ahead.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="423" LastEditDate="2017-08-07T19:50:58.420" LastActivityDate="2017-08-07T19:50:58.420" Title="Does the Time and Timezone between all CD's and CM's need to be the same?" Tags="|scaling|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1125" PostTypeId="1" CreationDate="2016-10-12T01:17:12.100" Score="3" ViewCount="98" Body="&lt;p&gt;I noticed today after I published that the times being put into the created field of the event queue happened to be dates from the future. All the servers CM, CD, DB, QA are PST. I set the time zone value to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;400&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/gg154758.aspx&quot; rel=&quot;nofollow&quot;&gt;https://msdn.microsoft.com/en-us/library/gg154758.aspx&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This could be related to my CD indexes not updating correctly. Any thoughts on making the time match with the server? I adjusted the timezone value in the web.config and republished and it did not make a difference.&lt;/p&gt;&#xA;" OwnerUserId="433" LastActivityDate="2016-10-12T01:23:54.053" Title="Event Queue Created Field (time stamp)" Tags="|publishing|event-queue|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1126" PostTypeId="2" ParentId="1125" CreationDate="2016-10-12T01:23:54.053" Score="6" Body="&lt;p&gt;I found out that field is populated with UTC regardless of what the server time zone is.&lt;/p&gt;&#xA;" OwnerUserId="433" LastActivityDate="2016-10-12T01:23:54.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1127" PostTypeId="2" ParentId="1124" CreationDate="2016-10-12T02:03:48.780" Score="19" Body="&lt;p&gt;I would say it's of high importance. Depending on the event queue interval, if all your CD's share the same core database, it can cause index triggering to be missed. Typical event queue checks are two minutes apart so you can see how easy it is to be off 1 minute in either direction from a baseline. So says Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Synchronize all servers to a single reliable time source, for example, by means of the Network Time Protocol (NTP). The aggregation of engagement automation states depends on the system time and changing this can lead to incorrect aggregation results or loss of data.&quot; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;noreferrer&quot;&gt;Configure a content delivery server&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&#xA;The default event queue check interval is only &lt;strong&gt;2 seconds&lt;/strong&gt; (not 2 minutes). With this in mind, I would up the recommendation from high importance to critical importance.&lt;/p&gt;&#xA;" OwnerUserId="433" LastEditorUserId="433" LastEditDate="2016-10-14T01:57:28.593" LastActivityDate="2016-10-14T01:57:28.593" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1128" PostTypeId="2" ParentId="1071" CreationDate="2016-10-12T02:12:08.313" Score="4" Body="&lt;p&gt;I've installed the &lt;a href=&quot;https://marketplace.sitecore.net/Modules/A/Advanced_System_Reporter.aspx&quot; rel=&quot;nofollow&quot;&gt;Advanced System Reporter&lt;/a&gt; module in the past, and the content team really enjoyed some of the reports that could be created. Viewing locked items is one, but the tool is pretty granular so it can give a bunch of different insights.&lt;/p&gt;&#xA;" OwnerUserId="433" LastActivityDate="2016-10-12T02:12:08.313" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1129" PostTypeId="2" ParentId="1115" CreationDate="2016-10-12T02:43:54.537" Score="8" Body="&lt;p&gt;&lt;strong&gt;Explanation of what is happening&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The PropertyValueReader simply reads the value of a property. Unless the property you are reading is already formatted as an ISO date, you cannot set that value on a Sitecore date field and expect that Sitecore will recognize the date. You must convert the value read from the property into an ISO date. When you write &quot;the raw value is correct&quot;, this is what I assume you are seeing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;One solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The IsoDateValueReader will convert a DateTime object into an ISO date. If you are using the IsoDateValueReader and you are not getting a value in the field, it is probably because the value you are reading is not a DateTime object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can configure the value mapping so it converts the value into an ISO date. This can be handled using the field &lt;code&gt;Transformer for source value&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This field lets you specify a reader that takes the value from the source object and &lt;em&gt;transforms&lt;/em&gt; it into a new value. This new value is then passed to the writer so it can be written to the target object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are certain the value you are reading from the source object is a DateTime object, select the reader &lt;code&gt;Value Readers/Common/ISO Date Value Reader&lt;/code&gt; for the transformer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Another solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative approach is to make sure the date is in the proper format when it is read from the source object. This can be accomplished by creating a custom value reader using the SequentialValueReader type. This type allows you to chain multiple value readers together, where a value reader uses the value read from the previous value reader.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you could do the following. Imagine the value read from the source object is a DateTime object.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;DateTimeValueReader reads the DateTime object&lt;/li&gt;&#xA;&lt;li&gt;IsoDateValueReader read the DateTime object and converts it to a string&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In the particular case described in the question, I think this is overkill. This solution makes sense when the value you read from the source object is not already in a format that can easily be used within a mapping process. If you are reading a DateTime already, that is a format that can easily be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's an example of a value that cannot easily be used? One example is a date read from an external system as a string. In the US, &lt;em&gt;10/11/2016&lt;/em&gt; means &lt;em&gt;11 October 2016&lt;/em&gt;. In other parts of the world, it means &lt;em&gt;10 November 2016&lt;/em&gt;. Converting the string to a DateTime when you read the value from the external system allows you to avoid this kind of confusion.&lt;/p&gt;&#xA;" OwnerUserId="256" LastActivityDate="2016-10-12T02:43:54.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1130" PostTypeId="2" ParentId="1098" CreationDate="2016-10-12T03:20:23.137" Score="7" Body="&lt;p&gt;Like Mark Cassidy mentioned above, &lt;code&gt;&amp;lt;mvc.requestBegin&amp;gt;&lt;/code&gt; would be a close &quot;equivalent&quot;.  I ran into a similar situation wanting non-authenticated users to be redirected to the &lt;code&gt;&amp;lt;site loginPage=&quot;/login&quot;&amp;gt;&lt;/code&gt;.  The only caveat I had was that I needed some custom logic to create virtual users based on their IP address (site to site VPN), so I decided to extend the &lt;code&gt;Sitecore.Layout.RenderLayout.SecurityCheck&lt;/code&gt; like so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace YourNamespace.Custom&#xA;{&#xA;  public class InternalSecurityCheck : SecurityCheck&#xA;  {&#xA;    public virtual void Process(RequestBeginArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        Profiler.StartOperation(&quot;Check security access to page.&quot;);&#xA;&#xA;        if (!HasAccess() || Context.User.LocalName.ToLower().Equals(&quot;anonymous&quot;))&#xA;        {&#xA;            //logic for checking IP and creating virtual user if internal&#xA;            CreateVirtualUserIfInternal(); &#xA;        }&#xA;&#xA;        if (!HasAccess())&#xA;        {&#xA;            args.AbortPipeline();&#xA;            var loginPage = GetLoginPage(Context.Site);&#xA;            if (loginPage.Length &amp;gt; 0)&#xA;            {&#xA;                var urlString = new UrlString(loginPage);&#xA;                if (Settings.Authentication.SaveRawUrl)&#xA;                {&#xA;                    urlString.Append(&quot;url&quot;, HttpUtility.UrlEncode(Context.RawUrl));&#xA;                }&#xA;&#xA;                var absolutePath = HttpContext.Current.Request.Url.AbsolutePath;&#xA;                if (!string.IsNullOrEmpty(absolutePath))&#xA;                {&#xA;                    urlString[&quot;returnUrl&quot;] = absolutePath;&#xA;                }&#xA;&#xA;                Tracer.Info(&quot;Redirecting to login page \&quot;&quot; + loginPage + &quot;\&quot;.&quot;);&#xA;&#xA;                WebUtil.Redirect(urlString.ToString(), false);&#xA;            }&#xA;            else&#xA;            {&#xA;                Tracer.Info(&quot;Redirecting to error page as no login page was found.&quot;);&#xA;                WebUtil.RedirectToErrorPage(&quot;Login is required, but no valid login page has been specified for the site (&quot; + Context.Site.Name + &quot;).&quot;, false);&#xA;            }&#xA;        }&#xA;&#xA;        Profiler.EndOperation();&#xA;    } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above code should also preserve the return url if a page is bookmarked or session expires while visiting. I think the only remaining piece, after extending the &lt;code&gt;SecurityCheck&lt;/code&gt; is binding it to the &lt;code&gt;&amp;lt;mvc.requestBegin&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mvc.requestBegin&amp;gt;&#xA;  &amp;lt;processor type=&quot;YourNamespace.Custom.InternalSecurityCheck, YourNamespace.Web&quot; /&amp;gt;&#xA;&amp;lt;/mvc.requestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/2808&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/2808&lt;/a&gt; assisted me thru some of this). Hope this is helpful.&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="73" LastEditDate="2016-10-12T07:44:01.993" LastActivityDate="2016-10-12T07:44:01.993" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1131" PostTypeId="1" AcceptedAnswerId="1491" CreationDate="2016-10-12T03:31:38.537" Score="4" ViewCount="258" Body="&lt;p&gt;I am facing an issue with Coveo search. In website's search results page, when I click a search result, it is throwing me a 404 error. In CES indexcontent, if I search same item and click on the Uri, it throws a 404 in CES as well. So I tried updated a field of the item, Coveo reindexed the item. In CES, I can see that item details updated. When I click uri in CES, it is still throwing a 404. Can you please help me to fix this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="696" LastActivityDate="2016-10-17T19:36:16.743" Title="Coveo index does not update Item" Tags="|indexing|coveo|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1132" PostTypeId="1" AcceptedAnswerId="1141" CreationDate="2016-10-12T03:37:57.660" Score="4" ViewCount="2671" Body="&lt;p&gt;We are using sitecore 7.2 with Coveo for sitecore(3.0). When I try to edit a rich text field for an item using EditHtml, I am getting this message below and not able to accept the changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Failed to execute 'send' on XMLHttprequest': Failed to load '&lt;a href=&quot;https://www.cm.instancename.com/sitecore/shell/~/xaml/sitecore.shell.applications.contenteditor.Dialogs.EditHtml.aspx?hdl=someGuid&quot; rel=&quot;nofollow&quot;&gt;https://www.cm.instancename.com/sitecore/shell/~/xaml/sitecore.shell.applications.contenteditor.Dialogs.EditHtml.aspx?hdl=someGuid&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when i try make changes using ShowEditor and use Design, the changes I made are accepted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me to understand why this issue is occurring.&lt;/p&gt;&#xA;" OwnerUserId="696" LastActivityDate="2020-01-21T08:09:09.300" Title="Failed to execute 'send' on XMLHttprequest' - Sitecore" Tags="|richtext-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1133" PostTypeId="1" AcceptedAnswerId="1134" CreationDate="2016-10-12T05:39:08.110" Score="9" ViewCount="1179" Body="&lt;p&gt;On our Sitecore 8 production instance, we are getting the below error messages. This client site we have recently inherited from another partner and on preliminary investigation from our end, we see they have implemented replica sets for MongoDB&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;add name=&quot;analytics&quot; connectionString=&quot;mongodb://{IP}:27017,{IP}:27018/sitecore_analytics?replicaset=SiteCoreDMS&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which looks correct. These are the errors in Sitecore logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;7056 04:22:01 ERROR Cannot create tracker.&#xA;Exception: System.IO.IOException&#xA;Message: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.&#xA;Source: System&#xA;   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;   at MongoDB.Bson.IO.ByteBufferFactory.LoadFrom(Stream stream)&#xA;   at MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument](BsonBinaryReaderSettings readerSettings, IBsonSerializer serializer, IBsonSerializationOptions serializationOptions)&#xA;   at MongoDB.Driver.Operations.QueryOperation`1.GetFirstBatch(IConnectionProvider connectionProvider)&#xA;   at MongoDB.Driver.Operations.QueryOperation`1.&amp;lt;Execute&amp;gt;d__0.MoveNext()&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.&amp;lt;&amp;gt;c__DisplayClass29`1.&amp;lt;FindOneAs&amp;gt;b__28()&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.Execute(Action action, ExceptionBehavior exceptionBehavior)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.FindOneAs[TDocument](IMongoQuery query, ExceptionBehavior exceptionBehavior)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbContactStorage.LoadContactIdentifier(ID id)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.TryLoadContact(ID id, IContactFactory factory, LeaseOwner leaseOwner, TimeSpan leaseDuration)&#xA;   at Sitecore.Analytics.Data.ContactRepository.TryLoadContact(Guid id, LeaseOwner leaseOwner, TimeSpan leaseDuration)&#xA;   at Sitecore.Analytics.Tracking.ContactManager.TryLoadContact(Guid contactId, Int32 lockDurationMinutes)&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact.Process(InitializeTrackerArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()&#xA;   at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Tracker.Initialize()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond&#xA;Source: System&#xA;   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;&#xA;&#xA;7056 04:22:01 ERROR Cannot start analytics.&#xA;Exception: System.InvalidOperationException&#xA;Message: Tracker.Current is not initialized&#xA;Source: Sitecore.Analytics&#xA;   at Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.HttpRequest.StartAnalytics.Process(RenderLayoutArgs args)&#xA;&#xA;--------------------------------------------&#xA;&#xA;ERROR Exception when executing agent aggregation/automationRangeManager&#xA;Exception: System.IO.IOException&#xA;Message: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.&#xA;Source: System&#xA;   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;   at MongoDB.Bson.IO.ByteBufferFactory.LoadFrom(Stream stream)&#xA;   at MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument](BsonBinaryReaderSettings readerSettings, IBsonSerializer serializer, IBsonSerializationOptions serializationOptions)&#xA;   at MongoDB.Driver.Operations.QueryOperation`1.GetFirstBatch(IConnectionProvider connectionProvider)&#xA;   at MongoDB.Driver.Operations.QueryOperation`1.&amp;lt;Execute&amp;gt;d__0.MoveNext()&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)&#xA;   at Sitecore.Analytics.Automation.Data.MongoDbAutomationProvider.GetEarliestAutomationTransitionTimestamp()&#xA;   at Sitecore.Analytics.Automation.Aggregation.Data.Processing.RangeManagerAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond&#xA;Source: System&#xA;   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Attaching output of rs.status()&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;SiteCoreDMS:SECONDARY&amp;gt; rs.status()&#xA;{&#xA;    &quot;set&quot; : &quot;SiteCoreDMS&quot;,&#xA;    &quot;date&quot; : ISODate(&quot;2016-10-12T06:49:33Z&quot;),&#xA;    &quot;myState&quot; : 2,&#xA;    &quot;syncingTo&quot; : &quot;42.159.226.69:27017&quot;,&#xA;    &quot;members&quot; : [&#xA;            {&#xA;                    &quot;_id&quot; : 0,&#xA;                    &quot;name&quot; : &quot;42.159.225.222:27017&quot;,&#xA;                    &quot;health&quot; : 1,&#xA;                    &quot;state&quot; : 2,&#xA;                    &quot;stateStr&quot; : &quot;SECONDARY&quot;,&#xA;                    &quot;uptime&quot; : 2474004,&#xA;                    &quot;optime&quot; : Timestamp(1476254930, 1),&#xA;                    &quot;optimeDate&quot; : ISODate(&quot;2016-10-12T06:48:50Z&quot;),&#xA;                    &quot;lastHeartbeat&quot; : ISODate(&quot;2016-10-12T06:49:32Z&quot;),&#xA;                    &quot;lastHeartbeatRecv&quot; : ISODate(&quot;2016-10-12T06:49:31Z&quot;),&#xA;                    &quot;pingMs&quot; : 0,&#xA;                    &quot;syncingTo&quot; : &quot;42.159.226.69:27017&quot;&#xA;            },&#xA;            {&#xA;                    &quot;_id&quot; : 1,&#xA;                    &quot;name&quot; : &quot;42.159.225.222:27018&quot;,&#xA;                    &quot;health&quot; : 1,&#xA;                    &quot;state&quot; : 2,&#xA;                    &quot;stateStr&quot; : &quot;SECONDARY&quot;,&#xA;                    &quot;uptime&quot; : 2474006,&#xA;                    &quot;optime&quot; : Timestamp(1476254930, 1),&#xA;                    &quot;optimeDate&quot; : ISODate(&quot;2016-10-12T06:48:50Z&quot;),&#xA;                    &quot;self&quot; : true&#xA;            },&#xA;            {&#xA;                    &quot;_id&quot; : 2,&#xA;                    &quot;name&quot; : &quot;42.159.226.69:27017&quot;,&#xA;                    &quot;health&quot; : 1,&#xA;                    &quot;state&quot; : 1,&#xA;                    &quot;stateStr&quot; : &quot;PRIMARY&quot;,&#xA;                    &quot;uptime&quot; : 2474002,&#xA;                    &quot;optime&quot; : Timestamp(1476254930, 1),&#xA;                    &quot;optimeDate&quot; : ISODate(&quot;2016-10-12T06:48:50Z&quot;),&#xA;                    &quot;lastHeartbeat&quot; : ISODate(&quot;2016-10-12T06:49:32Z&quot;),&#xA;                    &quot;lastHeartbeatRecv&quot; : ISODate(&quot;2016-10-12T06:49:33Z&quot;),&#xA;                    &quot;pingMs&quot; : 2,&#xA;                    &quot;electionTime&quot; : Timestamp(1474819533, 1),&#xA;                    &quot;electionDate&quot; : ISODate(&quot;2016-09-25T16:05:33Z&quot;)&#xA;            }&#xA;    ],&#xA;    &quot;ok&quot; : 1&#xA;}&#xA;SiteCoreDMS:SECONDARY&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="106" LastEditorUserId="104" LastEditDate="2016-10-12T11:07:41.190" LastActivityDate="2016-10-13T15:08:02.547" Title="Sitecore xDB cannot connect to a MongoDB replica set" Tags="|xdb|mongodb|" AnswerCount="3" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="1134" PostTypeId="2" ParentId="1133" CreationDate="2016-10-12T06:11:10.393" Score="4" Body="&lt;p&gt;According to the output of &lt;code&gt;rs.conf()&lt;/code&gt;, you currently have three replica set members: two of them hosted on &lt;code&gt;42.159.225.222&lt;/code&gt;, and another one on &lt;code&gt;42.159.226.69&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to make sure that the Sitecore application has direct access to both of these IP addresses via the ports specified. Even though you only have &lt;code&gt;42.159.225.222&lt;/code&gt; in your connection string, the MongoDB driver may attempt to connect to any server available in the replica set.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-12T06:11:10.393" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1135" PostTypeId="1" AcceptedAnswerId="1136" CreationDate="2016-10-12T06:53:31.577" Score="7" ViewCount="722" Body="&lt;p&gt;When developing sitecore modules, is it recommended to install the different custom files in the &lt;strong&gt;sitecore folder&lt;/strong&gt; or &lt;strong&gt;sitecore modules folder&lt;/strong&gt;? Please see below screenshot:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/co4RT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/co4RT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Actually, I am installing most of my files (aspx, xml, css, js) in the sitecore modules folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that the Sitecore folder is mainly specific to the Sitecore CMS but can I add my custom files in this folder?&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="73" LastEditDate="2016-10-12T08:37:34.540" LastActivityDate="2016-10-12T08:37:34.540" Title="Where should I place my Sitecore Custom Module file assets?" Tags="|module|best-practices|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1136" PostTypeId="2" ParentId="1135" CreationDate="2016-10-12T07:02:24.043" Score="5" Body="&lt;p&gt;Is not a good practice to install in Sitecore folder your custom code. In Sitecore Modules are installed modules like WFFM, EXM , etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also if you override some custom functionality is recommended to add into a **\sitecore\shell\Override** folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to have a separation between your code and Sitecore code. &#xA;  Normally css, js you add into an Assets folder in root folder. &#xA;  Views you need add into Areas folder if you use MVC Areas or into Views folder if you not use Areas. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Layouts, sublayouts you add into Layouts folder but is recommended to have subfolders for different type of sublayouts.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-12T07:02:24.043" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1137" PostTypeId="5" CreationDate="2016-10-12T07:40:43.497" Score="0" Body="&lt;p&gt;Pipelines are one of Sitecore’s essential integration concepts. They are used to extend existing functionality, and to allow custom functionality to be extended in the future. They also provide a level of documentation and transparency by virtue of how they are configured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/pipelines-and-events/pipelines/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/pipelines-and-events/pipelines/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/mvc_and_pipelines&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/mvc_and_pipelines&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T06:51:41.247" LastActivityDate="2018-02-22T06:51:41.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1138" PostTypeId="4" CreationDate="2016-10-12T07:40:43.497" Score="0" Body="Questions about working with all the Sitecore pipelines: custom processors, patching, configuring, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-12T09:37:49.187" LastActivityDate="2016-10-12T09:37:49.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1139" PostTypeId="5" CreationDate="2016-10-12T07:41:47.213" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-12T07:41:47.213" LastActivityDate="2016-10-12T07:41:47.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1140" PostTypeId="4" CreationDate="2016-10-12T07:41:47.213" Score="0" Body="Questions about working with Sitecore templates - base templates, data templates, field sources, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-12T09:37:41.953" LastActivityDate="2016-10-12T09:37:41.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1141" PostTypeId="2" ParentId="1132" CreationDate="2016-10-12T07:42:34.553" Score="1" Body="&lt;p&gt;It seems like your webservers operate behind a load balancer/proxy, SSL certificate is installed only on the load balancer/proxy and communication between load balancer/proxy and Sitecore is plain HTTP. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Client -&gt; HTTPS -&gt; Load Balancer/proxy -&gt; ALWAYS http -&gt; server&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am afraid Sitecore does not completely support this configuration. As far as I remember, some part of Sitecore does use context URL as a basis of generating/modifying URLs. Such configuration was not tested and is not officially supported. In this case, you may experience the following issues:&#xA;You will not be able to open a number of the Sitecore dialogs due to their iframe src value set to http://... .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Always include a server URL setting that cannot be used since it will generate the wrong URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, full SSL appears to be a safe option for now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cliend -&gt; HTTPS -&gt; Proxy -&gt; HTTPS -&gt; Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to do this in IIS directly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following article may be helpful:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening/configuring/increase_login_security&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening/configuring/increase_login_security&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="4050" LastEditDate="2020-01-21T08:09:09.300" LastActivityDate="2020-01-21T08:09:09.300" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1142" PostTypeId="2" ParentId="1121" CreationDate="2016-10-12T07:48:30.220" Score="6" Body="&lt;p&gt;Add a your IP-addresses to Sitecore.Analytics.ExcludeRobots.config. This method does allow the use of single IP addresses, ranges and subnets. Those IP addresses will not be tracked anymore. However, I'm not sure if these settings are applied to existing records in the XDB:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Supported values and formates:&#xA;      IP address, e.g. 10.2.3.4;&#xA;      IP range, e.g. 10.1.2.3 - 10.1.2.30;&#xA;      Subnet, e.g. 10.2.3.*&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you want to remove the interactions based on those IP-addresses from the XDB, please note that you need to write some custom logic. Anders Laub wrote a nice blogpost on this subject: &lt;a href=&quot;https://laubplusco.net/sitecore-dms-visits-specific-ip-addresses/&quot; rel=&quot;noreferrer&quot;&gt;https://laubplusco.net/sitecore-dms-visits-specific-ip-addresses/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The IP-address is stored in the Interactions table (fieldname: IP), but the IP-address stored as a binary object. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;*please note: all IP addresses might be stored as a hash in the XDB&#xA;  about that.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;edit:&#xA;confirmation on the hashed IP addresses by @Matthias Gmur from the Sitecore slack channel:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  ANALYTICS - REDACT IP ADDRESS&#xA;       Determines if the IP addresses that initiated the interaction are redacted when writing to the database.&#xA;       Note: IP addresses are hashed by default. Setting this value to true removes your ability to determine the actual IP address that initiated the interaction.&#xA;       When the setting is enabled, the database stores an empty IP address (0.0.0.0) instead of the actual IP address.&#xA;       Default value: false&#xA; --&amp;gt;&#xA; &amp;lt;setting name=&quot;Analytics.RedactIpAddress&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="71" LastEditorUserId="71" LastEditDate="2016-10-12T08:09:40.210" LastActivityDate="2016-10-12T08:09:40.210" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1143" PostTypeId="5" CreationDate="2016-10-12T07:50:56.593" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-12T07:50:56.593" LastActivityDate="2016-10-12T07:50:56.593" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1144" PostTypeId="4" CreationDate="2016-10-12T07:50:56.593" Score="0" Body="Questions about Sitecore renderings: configuration in Sitecore, coding, usage, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-12T09:37:52.913" LastActivityDate="2016-10-12T09:37:52.913" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1145" PostTypeId="5" CreationDate="2016-10-12T07:51:57.067" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-12T07:51:57.067" LastActivityDate="2016-10-12T07:51:57.067" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1146" PostTypeId="4" CreationDate="2016-10-12T07:51:57.067" Score="0" Body="Questions about workflow in Sitecore: configuring, using, issues, customizing, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-12T09:30:38.170" LastActivityDate="2016-10-12T09:30:38.170" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1147" PostTypeId="2" ParentId="1119" CreationDate="2016-10-12T08:00:52.937" Score="6" Body="&lt;p&gt;There are a number of known issues with the Sitecore Multilist with Search field type especially with Sitecore 8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore provide a workaround with a new Field Type called the AdvancedSearchList. You can download it here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/372032&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/372032&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="222" LastActivityDate="2016-10-12T08:00:52.937" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1148" PostTypeId="2" ParentId="1121" CreationDate="2016-10-12T08:05:08.853" Score="1" Body="&lt;p&gt;The Sitecore.Analytics.ExcludeRobots.config file contains a list of IP addresses and user agents to exclude. If a visitor comes to your website from one of the IP addresses in the exclude list, or is a user agent in the exclude list, then the request to view the page is ignored and not tracked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can edit this list manually by adding the user agents that you want to block under the node and IP addresses under the  node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To filter by user agent:&#xA;Navigate to the Website\App_Config\Include folder and open the Sitecore.Analytics.ExcludeRobots.config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under the  node, enter each user agent that you want to block on a separate line.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&#xA; UserAgent 1.0 UserAgent 2.0 UserAgent 2.0 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To filter by IP address:&#xA;Navigate to the Website\App_Config\Include folder and open the Sitecore.Analytics.ExcludeRobots.config file.&#xA;Under the  node, enter each IP address that you want to block on a separate line.&#xA;For example:&#xA; 10.1.2.3 12.9.2.2 35.2.5.4  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure that IP addresses conform to the following supported formats:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;IP address example 10.2.3.4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;IP range example 10.1.2.3 - 10.1.2.30&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here you find more information: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/robot_detection/configure_the_robot_detection_component#_Excluding_user_agents&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/robot_detection/configure_the_robot_detection_component#_Excluding_user_agents&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-12T08:05:08.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1149" PostTypeId="1" AcceptedAnswerId="1153" CreationDate="2016-10-12T08:06:42.117" Score="6" ViewCount="504" Body="&lt;p&gt;So I'm trying to extend a pipeline (&lt;code&gt;item:saved&lt;/code&gt;), and I need an alert to pop up with the options Yes, No and Cancel. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before SPEAK came along, I would just use some Sheer functionality, like &lt;code&gt;SheerResponse.Alert()&lt;/code&gt;, but I have been led to believe Sheer is not supported in the Experience Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's the proper way of creating this type of alert from codebehind, making sure it works in both Content Editor as well as Experience Editor? I'm using the initial release of Sitecore SXP 8.2&lt;/p&gt;&#xA;" OwnerUserId="115" LastEditorUserId="73" LastEditDate="2016-10-12T08:17:33.613" LastActivityDate="2016-10-12T08:41:23.917" Title="How do I trigger Sitecore SPEAK alerts programatically?" Tags="|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1150" PostTypeId="2" ParentId="1006" CreationDate="2016-10-12T08:22:00.457" Score="9" Body="&lt;p&gt;For those who can't upgrade to 8.2, sitecore support has provided a solution. I'll post the code here as I don't know a better way of sharing the library. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;As a reference&lt;/em&gt;&#xA;Ticket number: 471609 | Sitecore Support - Bug #109428&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code provided contains 2 classes and a javascript change. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;LinkRenderer.cs&lt;/code&gt; overrides default &lt;code&gt;RenderFieldResult&lt;/code&gt; method&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;GetLinkFieldValue.cs&lt;/code&gt; calls method in LinkRenderer.cs&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;\sitecore\shell\client\Sitecore\ExperienceEditor\ExperienceEditor.js&lt;/code&gt; amends method &lt;code&gt;postServerRequest&lt;/code&gt; to encode string.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;LinkRenderer.cs&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class LinkRenderer : Sitecore.Xml.Xsl.LinkRenderer&#xA;{&#xA;    private readonly char[] _delimiter;&#xA;&#xA;    public LinkRenderer(Item item) : base(item)&#xA;    {&#xA;        this._delimiter = new char[]&#xA;        {&#xA;            '=',&#xA;            '&amp;amp;'&#xA;        };&#xA;    }&#xA;&#xA;    public override RenderFieldResult Render()&#xA;    {&#xA;        SafeDictionary&amp;lt;string&amp;gt; safeDictionary = new SafeDictionary&amp;lt;string&amp;gt;();&#xA;        safeDictionary.AddRange(base.Parameters);&#xA;        if (MainUtil.GetBool(safeDictionary[&quot;endlink&quot;], false))&#xA;        {&#xA;            return RenderFieldResult.EndLink;&#xA;        }&#xA;        Set&amp;lt;string&amp;gt; set = Set&amp;lt;string&amp;gt;.Create(new string[]&#xA;        {&#xA;            &quot;field&quot;,&#xA;            &quot;select&quot;,&#xA;            &quot;text&quot;,&#xA;            &quot;haschildren&quot;,&#xA;            &quot;before&quot;,&#xA;            &quot;after&quot;,&#xA;            &quot;enclosingtag&quot;,&#xA;            &quot;fieldname&quot;,&#xA;            &quot;disable-web-editing&quot;&#xA;        });&#xA;        LinkField linkField = base.LinkField;&#xA;        if (linkField != null)&#xA;        {&#xA;            safeDictionary[&quot;title&quot;] = HttpUtility.HtmlAttributeEncode(StringUtil.GetString(new string[]&#xA;            {&#xA;                safeDictionary[&quot;title&quot;],&#xA;                linkField.Title&#xA;            }));&#xA;            safeDictionary[&quot;target&quot;] = StringUtil.GetString(new string[]&#xA;            {&#xA;                safeDictionary[&quot;target&quot;],&#xA;                linkField.Target&#xA;            });&#xA;            safeDictionary[&quot;class&quot;] = StringUtil.GetString(new string[]&#xA;            {&#xA;                safeDictionary[&quot;class&quot;],&#xA;                linkField.Class&#xA;            });&#xA;        }&#xA;        string text = string.Empty;&#xA;        string rawParameters = base.RawParameters;&#xA;        if (!string.IsNullOrEmpty(rawParameters) &amp;amp;&amp;amp; rawParameters.IndexOfAny(this._delimiter) &amp;lt; 0)&#xA;        {&#xA;            text = rawParameters;&#xA;        }&#xA;        if (string.IsNullOrEmpty(text))&#xA;        {&#xA;            Item targetItem = base.TargetItem;&#xA;            string text2 = (targetItem != null) ? targetItem.DisplayName : string.Empty;&#xA;            string text3 = (linkField != null) ? linkField.Text : string.Empty;&#xA;            text = HttpUtility.HtmlAttributeEncode(StringUtil.GetString(new string[]&#xA;            {&#xA;                text,&#xA;                safeDictionary[&quot;text&quot;],&#xA;                text3,&#xA;                text2&#xA;            }));&#xA;        }&#xA;        string url = this.GetUrl(linkField);&#xA;        string linkType;&#xA;        if ((linkType = base.LinkType) != null &amp;amp;&amp;amp; linkType == &quot;javascript&quot;)&#xA;        {&#xA;            safeDictionary[&quot;href&quot;] = &quot;#&quot;;&#xA;            safeDictionary[&quot;onclick&quot;] = StringUtil.GetString(new string[]&#xA;            {&#xA;                safeDictionary[&quot;onclick&quot;],&#xA;                url&#xA;            });&#xA;        }&#xA;        else&#xA;        {&#xA;            safeDictionary[&quot;href&quot;] = HttpUtility.HtmlEncode(StringUtil.GetString(new string[]&#xA;            {&#xA;                safeDictionary[&quot;href&quot;],&#xA;                url&#xA;            }));&#xA;        }&#xA;        StringBuilder stringBuilder = new StringBuilder(&quot;&amp;lt;a&quot;, 47);&#xA;        foreach (KeyValuePair&amp;lt;string, string&amp;gt; current in safeDictionary)&#xA;        {&#xA;            string key = current.Key;&#xA;            string value = current.Value;&#xA;            if (!set.Contains(key.ToLowerInvariant()))&#xA;            {&#xA;                FieldRendererBase.AddAttribute(stringBuilder, key, value);&#xA;            }&#xA;        }&#xA;        stringBuilder.Append('&amp;gt;');&#xA;        if (!MainUtil.GetBool(safeDictionary[&quot;haschildren&quot;], false))&#xA;        {&#xA;            if (string.IsNullOrEmpty(text))&#xA;            {&#xA;                return RenderFieldResult.Empty;&#xA;            }&#xA;            stringBuilder.Append(text);&#xA;        }&#xA;        return new RenderFieldResult&#xA;        {&#xA;            FirstPart = stringBuilder.ToString(),&#xA;            LastPart = &quot;&amp;lt;/a&amp;gt;&quot;&#xA;        };&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;GetLinkFieldValue.cs&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class GetLinkFieldValue : Sitecore.Pipelines.RenderField.GetLinkFieldValue&#xA;{&#xA;    protected override Sitecore.Xml.Xsl.LinkRenderer CreateRenderer(Item item)&#xA;    {&#xA;        return new Sitecore.Support.Xml.Xsl.LinkRenderer(item);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;sitecore\shell\client\Sitecore\ExperienceEditor\ExperienceEditor.js&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;postServerRequest: function (requestType, commandContext, handler, async) {&#xA;  var token = $('input[name=&quot;__RequestVerificationToken&quot;]').val();&#xA;  jQuery.ajax({&#xA;    url: &quot;/-/speak/request/v1/expeditor/&quot; + requestType,&#xA;    data: {&#xA;      __RequestVerificationToken: token,&#xA;      /*Sitecore Support - Bug #109428*/&#xA;      data: jQuery(&quot;&amp;lt;div/&amp;gt;&quot;).text(decodeURIComponent(JSON.stringify(commandContext))).html()&#xA;    },&#xA;    success: handler,&#xA;    type: &quot;POST&quot;,&#xA;    async: async != undefined ? async : false&#xA;  });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Config patch&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;    &#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;renderField&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Support.Pipelines.RenderField.GetLinkFieldValue, Sitecore.Support.109420&quot; patch:instead=&quot;*[@type='Sitecore.Pipelines.RenderField.GetLinkFieldValue, Sitecore.Kernel']&quot;/&amp;gt;&#xA;    &amp;lt;/renderField&amp;gt;&#xA;  &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="88" LastEditorUserId="88" LastEditDate="2016-10-18T08:04:52.313" LastActivityDate="2016-10-18T08:04:52.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1151" PostTypeId="2" ParentId="1107" CreationDate="2016-10-12T08:30:10.410" Score="4" Body="&lt;p&gt;I'm on a proof of concept for the same question at the moment this week.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What i'm doing:&lt;br&gt;&#xA;1.  no caching  for personalisation&lt;br&gt;&#xA;- Set Cache header for all pages ==&gt; Hit from Cloudfront&lt;br&gt;&#xA;- Set No Cache header for pages with personalisation. ==&gt; Miss from Cloudfront&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;(Currently testing)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set a Cookie with the Value of a rule&lt;/li&gt;&#xA;&lt;li&gt;Whitelist that cookie in cloudfront&lt;/li&gt;&#xA;&lt;li&gt;in the mvc:requestbegin pipeline. Ready the cookie value and set the matching value in sitecore.&lt;/li&gt;&#xA;&lt;li&gt;make sure that there are not to many possibilities. Or else it will get to many misses from the cdn.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;With these changes the following page will be served from cloudfront:&lt;br&gt;&#xA;- Pages with no personalisation&lt;br&gt;&#xA;- Pages with a specific rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a whitepaper from Nick Hill that has further information. &lt;a href=&quot;http://blog.boro2g.co.uk/personalization-at-scale-whitepaper/&quot; rel=&quot;nofollow&quot;&gt;http://blog.boro2g.co.uk/personalization-at-scale-whitepaper/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="113" LastActivityDate="2016-10-12T08:30:10.410" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1152" PostTypeId="2" ParentId="1135" CreationDate="2016-10-12T08:34:48.007" Score="4" Body="&lt;p&gt;Unfortunately the guidelines doesn't mention where in the filesystem you're meant to live. I'd say going with &lt;code&gt;/sitecore modules&lt;/code&gt; is probably fine. Make sure you find a suitable location there, and make sure &lt;em&gt;all&lt;/em&gt; of your files live in your selected folder. Don't spread out into multiple root folders and such.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also highly recommend you read through the official &lt;a href=&quot;https://kb.sitecore.net/articles/831724&quot; rel=&quot;nofollow&quot;&gt;Sitecore Module implementation practices&lt;/a&gt; guide, which gives you a load of guidance on how to manage templates, renderings and other Sitecore assets for your module.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-12T08:34:48.007" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1153" PostTypeId="2" ParentId="1149" CreationDate="2016-10-12T08:41:23.917" Score="4" Body="&lt;p&gt;As you already noticed &lt;strong&gt;Experience Editor&lt;/strong&gt; utilizes &lt;strong&gt;SPEAK&lt;/strong&gt;, but &lt;strong&gt;Content Editor&lt;/strong&gt; &quot;is not there yet&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure whether you can have single code to handle both locations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would go partially &lt;strong&gt;SPEAK&lt;/strong&gt; and &lt;strong&gt;Sheer&lt;/strong&gt; but it depends what you want to achieve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Experience Editor you can extend front-end pipeline written in &lt;strong&gt;SPEAK&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(&lt;code&gt;/sitecore/client/Applications/ExperienceEditor/Pipelines/Save&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1dlfg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1dlfg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This how you normally ask user in &lt;strong&gt;Experience Editor&lt;/strong&gt; via &lt;strong&gt;SPEAK&lt;/strong&gt; to confirm something. (This is an example of confirm before you navigate somewhere else and you have unsaved changes)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;  experienceEditor.Dialogs.confirm(TranslationUtil.translateText(TranslationUtil.keys.The_item_has_been_modified), function (isOk) {&#xA;      if (!isOk) {&#xA;          if (onCloseCallback) {&#xA;              return onCloseCallback(isOk);&#xA;          }&#xA;&#xA;          return null;&#xA;      }&#xA;&#xA;      ExperienceEditorContext.instance.disableRedirection = disableRedirection;&#xA;      Sitecore.Commands.Save.execute(ExperienceEditorContext.instance);&#xA;      experienceEditor.Common.addOneTimeEvent(function () {&#xA;          return ExperienceEditorContext.isContentSaved;&#xA;      }, function () {&#xA;          if (onCloseCallback) {&#xA;              return onCloseCallback(isOk);&#xA;          }&#xA;      }, 100, this);&#xA;&#xA;      return null;&#xA;  });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Regarding &lt;strong&gt;Sheer&lt;/strong&gt;, I suppose you already know how to do it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have any additional questions, ask I will try to answer.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-12T08:41:23.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1155" PostTypeId="2" ParentId="408" CreationDate="2016-10-12T10:11:07.267" Score="19" Body="&lt;p&gt;I normally try to split DB upgrading from code upgrading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This allows me to run the DB upgrade process of vanilla Sitecore instances where any customisations won't interfere with the db upgrade process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then upgrade the code as per the SC upgrade guides (and yes this means going through each one). This can take some time because the config changes a lot, my last upgrade from 8.0 to 8.1 u3 had something like 150 pages on config changes to review.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I have upgraded and tested my DB and code locally it is then very easy to roll this out because I only need to perform the DB upgrade in each environment which again is done with vanilla Sitecore instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information on the process can be found here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.glass.lu/Blog/SitecoreUpgrades&quot;&gt;http://www.glass.lu/Blog/SitecoreUpgrades&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="464" LastEditDate="2016-10-12T12:14:36.273" LastActivityDate="2016-10-12T12:14:36.273" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1156" PostTypeId="2" ParentId="258" CreationDate="2016-10-12T10:19:15.747" Score="0" Body="&lt;p&gt;One use case for data providers could when you're creating a module. For instance uCommerce (an e-commerce solution using commerce connect) uses Data providers to make product and catalog data available in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="134" LastActivityDate="2016-10-12T10:19:15.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1157" PostTypeId="2" ParentId="1111" CreationDate="2016-10-12T10:29:19.797" Score="0" Body="&lt;p&gt;You question is not very specific, though you can control extension logic via main web.config if its Sitecore version is &amp;lt; 8.1 or Sitecore.config if its &gt;= 8.1 &#xA;You can disable supporting ashx extensions and force to support only native extensions by altering this section:&#xA; &#xA;        aspx, ashx, asmx&#xA;        &lt;em&gt;&#xA;        &lt;/em&gt;&#xA;        &#xA;        &#xA;      &#xA;and this  should have value=&quot;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In regards to MediaTypes control they are outlined all in  section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All amendments to the logic how media items are handled, you'll have to provide your own  &#xA;There are lots of examples on inet, it depends what exactly you want to achieve, all permanent redirections are implemented in your own MediaProvider.&lt;/p&gt;&#xA;" OwnerUserId="725" LastActivityDate="2016-10-12T10:29:19.797" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1158" PostTypeId="1" AcceptedAnswerId="1177" CreationDate="2016-10-12T10:31:16.650" Score="8" ViewCount="1088" Body="&lt;p&gt;I want to add a search filter which can be used for building search queries in Sitecore as per described in &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/searching/filters_and_operations/the_search_filters&quot; rel=&quot;noreferrer&quot;&gt;the documentation&lt;/a&gt;. The search filter should filter by inherited templates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed the description &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/developing/developing_with_sitecore/search_and_item_buckets/add_new_search_filters_and_alias_filters&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the content tree, navigate to&#xA;/sitecore/system/Settings/Buckets/Search Types. Sitecore recommends&#xA;that you add new search filters in the User Defined folder.&lt;/li&gt;&#xA;&lt;li&gt;Select the User Defined folder, and on the Home tab, in the Insert&#xA;group click Field Search Type. Give the new search type an&#xA;appropriate name. This is the name that users enter in the search&#xA;box to apply the filter. For example: if you name the search type&#xA;Date, the user must type in Date: in the search box to apply the&#xA;filter. The name is case sensitive.&lt;/li&gt;&#xA;&lt;li&gt;In the new search type item, in the Search Type section, in the&#xA;Control Type field select the type of control that is most&#xA;appropriate for your search.&lt;/li&gt;&#xA;&lt;li&gt;In the Display Text field, enter an appropriate text and ensure that&#xA;the wording is consistent with all the other search filters. This&#xA;text is displayed in the drop-down menu when users browse the search&#xA;filters.&lt;/li&gt;&#xA;&lt;li&gt;If you want to apply a custom syntax to the Control Type field to&#xA;create specific output., enter this in the Web Method field. For&#xA;example, if the Control Type field is a calendar, the Web Method&#xA;field can make a request to a web service to tell Sitecore to&#xA;display a calendar control that only allows you to select a date&#xA;from the last 2 calendar years.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;However, the filter doesn't appear when I try to use it:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/6vFR7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6vFR7.png&quot; alt=&quot;No filter named inherit&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see an XHR request to &lt;a href=&quot;https://url/sitecore/shell/Applications/Buckets/ItemBucket.asmx/GetAllSearchFilters&quot; rel=&quot;noreferrer&quot;&gt;https://url/sitecore/shell/Applications/Buckets/ItemBucket.asmx/GetAllSearchFilters&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which returns all the filters in a JSON format, where mine is not included. The full response can be posted per request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The data entered in the Field Type Search item is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Icon: &lt;code&gt;/sitecore/shell/Applications/Buckets/images/text.png&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Name: &lt;code&gt;inherited&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Field: &lt;code&gt;_templatesimplemented&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Control Type: &lt;code&gt;Auto Suggest&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Control Type Parameter: &lt;/li&gt;&#xA;&lt;li&gt;Display Text: &lt;code&gt;Search by Base Template&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Web Method: &lt;code&gt;ItemBucket.asmx/GetTemplates&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Client Side Hook: &lt;code&gt;id&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The question is, what am I missing, to configure a Search Filter?&lt;/p&gt;&#xA;" OwnerUserId="205" LastEditorUserId="73" LastEditDate="2016-10-12T10:32:06.300" LastActivityDate="2016-10-12T13:03:11.897" Title="How do I add a new search filter to use with my Item Buckets?" Tags="|content-search|buckets|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1159" PostTypeId="2" ParentId="1105" CreationDate="2016-10-12T10:33:59.330" Score="4" Body="&lt;p&gt;If you have a global js file of some kind then you should be able to do something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script&amp;gt; &#xA;window.onload = new function () { &#xA; var valSummary = $('.scfValidationSummary'); &#xA; if (valSummary.length &amp;amp;&amp;amp; valSummary.html().trim() != &quot;&quot;) { &#xA;    location.hash = &quot;#error-container&quot;; &#xA; } &#xA;} &#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should scroll the user to the container. You could change the location to go to where you want to though. This would need to run after any WFFM js runs though in order to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We wire up our custom WFFM code using the data attribute on the WFFM form and then hook into the submit event of the form like so which might be another way to fire some js to scroll the user:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var $wffmForm = $('[data-wffm]');&#xA;$wffmForm.on('submit', onSubmit);&#xA;&#xA;function onSubmit(e) {&#xA;  //do stuff here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-12T10:33:59.330" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1160" PostTypeId="1" AcceptedAnswerId="2142" CreationDate="2016-10-12T10:38:24.413" Score="16" ViewCount="476" Body="&lt;p&gt;We are using the WFFM module with a custom save action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, running through the &lt;code&gt;AdaptedResultList&lt;/code&gt; we can access the fields with data. In this field set there is a property called &lt;code&gt;FieldName&lt;/code&gt;. In my developer environment this follows the language the form is submitted in. But in the production environment it takes the language of the last updated version of the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I do to get the form name in a language-consistent way? The overall problem is that the language of &lt;code&gt;FieldName&lt;/code&gt; changes in an unpredictable way.&lt;/p&gt;&#xA;" OwnerUserId="152" LastEditorUserId="152" LastEditDate="2016-10-12T18:38:47.220" LastActivityDate="2016-11-02T16:36:32.213" Title="Web Forms for Marketers and language" Tags="|wffm|multilingual|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="1161" PostTypeId="2" ParentId="1070" CreationDate="2016-10-12T10:38:31.123" Score="1" Body="&lt;p&gt;You have to provide more information, are you creating your own dialog, or you want to change existing dialog functionality, if so you have to change inheritance of existing dialog aspfx file, so it points to your own code functionality.&lt;/p&gt;&#xA;&lt;p&gt;For instance for fileUpload&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page language=&amp;quot;c#&amp;quot; CodeBehind=&amp;quot;Upload.aspx.cs&amp;quot; AutoEventWireup=&amp;quot;false&amp;quot; Inherits=&amp;quot;SitecoreClient.sitecore.shell.Applications.Upload.UploadPage&amp;quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;it has to  be pointing to your project namespace and class.&lt;/p&gt;&#xA;" OwnerUserId="725" LastEditorUserId="605" LastEditDate="2020-12-13T10:46:04.930" LastActivityDate="2020-12-13T10:46:04.930" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="1162" PostTypeId="1" AcceptedAnswerId="1198" CreationDate="2016-10-12T10:41:10.027" Score="11" ViewCount="4537" Body="&lt;p&gt;We are setting up permission for users of our site, and have assigned our users to the roles &lt;code&gt;sitecore\Sitecore Client Authoring&lt;/code&gt; and &lt;code&gt;sitecore\Sitecore Client Designing&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However this does not allow the user to edit the &lt;code&gt;Placeholder&lt;/code&gt; and &lt;code&gt;Data Source&lt;/code&gt; fields of the component as you can see they are greyed out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cvoW5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cvoW5.png&quot; alt=&quot;Fields Greyed out&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What changes do I need to make to make these fields editable?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Full User Roles &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Users &lt;/li&gt;&#xA;&lt;li&gt;sitecore\Author &lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Social Authoring &lt;/li&gt;&#xA;&lt;li&gt;sitecore\Analytics Testing &lt;/li&gt;&#xA;&lt;li&gt;sitecore\Analytics Personalization &lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Authoring &lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Designing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="143" LastEditorUserId="143" LastEditDate="2016-10-12T11:02:03.517" LastActivityDate="2019-11-20T14:52:44.183" Title="What Role or Security Permission is required to edit the Placeholder and Datasource fields of a component?" Tags="|experience-editor|security|permissions|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1163" PostTypeId="2" ParentId="1044" CreationDate="2016-10-12T10:42:10.437" Score="0" Body="&lt;p&gt;This is a bad strategy in overall as a Business Approach, we had the same when I worked on KIA, and we had issues when client could create new content, at the same time we were bringing new changes to the content, which conflicted with their new content created in Production.&#xA;To avoid overriding I had to package up things from Prod, bringing it to Dev and syncing the difference, then redeploying to PreProd with all the changes you've done and validating it, then pushing to Prod.&lt;/p&gt;&#xA;" OwnerUserId="725" LastActivityDate="2016-10-12T10:42:10.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1164" PostTypeId="2" ParentId="1118" CreationDate="2016-10-12T10:42:50.240" Score="5" Body="&lt;p&gt;I wrote the article that you linked to in your question, and my main motivation for writing it was the (current) lack of documentation around this new feature.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Does this work if the data sources are in a different workflow than the page?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The answer is no&lt;/strong&gt;. The workflow command executed on the datasource items is the exact same one as the &quot;parent&quot; item. There is a check in code that checks if the datasource item has a workflow attached to it, and if so if it has a workflow command with the exact same ID as the original. If you have 2 different workflows, even though the command names may match, the IDs will not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your items are in the &lt;strong&gt;same&lt;/strong&gt; workflow but a different workflow state, then it will work.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;What could be done to move everything on the currently visible version of a page, to move it to the final state of the workflow for each data source on the page &amp;amp; the page version itself, regardless of workflow type.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you're using Sitecore 8.2, then provide a new implementation of the Workflow With Datasource command with whatever logic you need:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;commands&amp;gt;&#xA;  &amp;lt;command name=&quot;webedit:workflowwithdatasourceitems&quot; type=&quot;Sitecore.ExperienceEditor.WebEdit.Commands.WorkflowWithDatasourceItems, Sitecore.ExperienceEditor&quot; /&amp;gt;&#xA;&amp;lt;/commands&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you're on an earlier version of Sitecore and want to implement this functionality then my original blog post has links to articles which provide this information. You could take a look at this implementation on &lt;a href=&quot;https://www.linkedin.com/pulse/sitecore-workflow-bundling-jamie-scott&quot; rel=&quot;noreferrer&quot;&gt;Workflow Bundling by Jamie Scott&lt;/a&gt; and change the logic in the &quot;bundling workflow command&quot; to move the items to the final workflow stage. You would obviously want to check that the parent item is also being moved to the final workflow stage before doing the same with the datasources.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This should only approve the version of the page previewing for a particular date, and the referenced data sources as used by renderings on that version of the page.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I don't think any of the modules or the code in Sitecore 8.2 will account for Preview date in the workflow approval. You'll need to do something custom, I'm not even sure the Preview date is passed as a parameter to the workflow either. I'm not aware of being able to approve from the Experience Editor in Preview Mode either, which will only show you a preview of the page of items that &lt;em&gt;have&lt;/em&gt; been approved (since if the item/datasource has not been approved, it will not be published at that date)&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-10-12T10:55:33.137" LastActivityDate="2016-10-12T10:55:33.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1168" PostTypeId="2" ParentId="1158" CreationDate="2016-10-12T11:00:15.690" Score="2" Body="&lt;p&gt;Can you try moving your item to the root folder?&#xA;/sitecore/system/Settings/Buckets/Search Types&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think Sitecore doesn't pick up the ones in the User Defined folder by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tried adding it myself in 8.1 update 3 and I see the search type:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/CBdCs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CBdCs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="483" LastEditDate="2016-10-12T12:23:38.730" LastActivityDate="2016-10-12T12:23:38.730" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1169" PostTypeId="2" ParentId="1070" CreationDate="2016-10-12T11:04:55.780" Score="2" Body="&lt;p&gt;I have figured out what was the issue.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Brief Problem Description&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I have been using the same code as the one for the Sitecore Installation Wizard upload UI. The only modification done in the implementation is that  instead of reading the the &lt;code&gt;ASPX&lt;/code&gt; page, I have created an item which is mapped onto the &lt;code&gt;ASPX&lt;/code&gt; page and also, it should allowed only CSV file to be uploaded instead of Zip file.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The issue was due to the path I had specified in the Frame SRC&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; private void Page_Load(object sender, EventArgs e)&#xA; {&#xA;     this.Upload.Attributes[&amp;quot;src&amp;quot;] = Constants.UploadFileApp + WebUtil.GetQueryString();&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The &lt;code&gt;Constants.UploadFileApp&lt;/code&gt; value is&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;/sitecore/shell/applications/package generator/upload/uploadfile&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I should have use the following path&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;/sitecore/shell/applications/package generator/upload/uploadfile2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Because of this, it causes the Form to redirect to itself hence causing the Error Code 302 as shown in the &lt;strong&gt;Inspect Element Network Tab&lt;/strong&gt; in the question.&lt;/p&gt;&#xA;&lt;p&gt;So, I had only need to change the above code to the one below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; private void Page_Load(object sender, EventArgs e)&#xA; {&#xA;     this.Upload.Attributes[&amp;quot;src&amp;quot;] = Constants.UploadFile2App + WebUtil.GetQueryString();&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;where &lt;code&gt;Constants.UploadFile2App&lt;/code&gt; has the path&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/shell/applications/package generator/upload/uploadfile2&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;PS:Sorry for missing some information in the question&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2020-12-13T10:45:27.190" LastActivityDate="2020-12-13T10:45:27.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1170" PostTypeId="1" AcceptedAnswerId="1172" CreationDate="2016-10-12T11:39:57.020" Score="11" ViewCount="1550" Body="&lt;p&gt;I want to write a script which could potentially clean up a load of unused assets, but I would like it not to trigger events (index rebuilds etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to say &quot;do this silently&quot; in a Powershell script?&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="70" LastEditDate="2016-11-08T18:56:06.733" LastActivityDate="2018-05-15T02:42:39.307" Title="Can you run Sitecore Powershell without triggering Sitecore events?" Tags="|events|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1171" PostTypeId="2" ParentId="1104" CreationDate="2016-10-12T11:50:20.000" Score="5" Body="&lt;p&gt;Based on &lt;a href=&quot;https://www.paragon-inc.com/resources/blog-posts/using_xprofile_data_to_populate_a_wffm_part_1&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blog post&lt;/a&gt; the only valid options are &lt;code&gt;Comment&lt;/code&gt;, &lt;code&gt;Name&lt;/code&gt; and &lt;code&gt;Full Name&lt;/code&gt;. You can try changing your value from &lt;code&gt;User Name&lt;/code&gt; to &lt;code&gt;Full Name&lt;/code&gt; but I'm not sure if it will give you what you need. You may need to create a very simple custom field for this, or alternatively create a custom rule action as per the linked article.&lt;/p&gt;&#xA;" OwnerUserId="148" LastEditorUserId="137" LastEditDate="2017-09-05T15:44:50.507" LastActivityDate="2017-09-05T15:44:50.507" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1172" PostTypeId="2" ParentId="1170" CreationDate="2016-10-12T11:56:46.523" Score="14" Body="&lt;p&gt;This is how you could use the using statement inside Powershell&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function Using-Object&#xA;{&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Parameter(Mandatory = $true)]&#xA;        [AllowEmptyString()]&#xA;        [AllowEmptyCollection()]&#xA;        [AllowNull()]&#xA;        [object]&#xA;        $InputObject,&#xA;&#xA;        [Parameter(Mandatory = $true)]&#xA;        [scriptblock]&#xA;        $ScriptBlock&#xA;    )&#xA;&#xA;    try&#xA;    {&#xA;        .$ScriptBlock&#xA;    }&#xA;    finally&#xA;    {&#xA;        if ($null -ne $InputObject -and $InputObject -is [System.IDisposable])&#xA;        {&#xA;            $InputObject.Dispose()&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;&#xA;Using-Object ($streamWriter = New-Object System.IO.StreamWriter(&quot;$SitecoreDataFolder\newfile.txt&quot;)) {&#xA;    $streamWriter.WriteLine('Line written inside Using block.')&#xA;    $streamWriter&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is how you could disable events in Sitecore &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Using-Object ($ed = New-Object Sitecore.Data.Events.EventDisabler) {&#xA;    # &quot;Disabled&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that a script execution triggers some events in the background (you can observe index rebuild jobs even if you run empty script).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you wrap something with using statement, everything what is inside should work in 'switched context', with all events disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tested it and number of items added to indexing queue is different.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="755" LastEditDate="2016-10-13T11:29:46.080" LastActivityDate="2016-10-13T11:29:46.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1173" PostTypeId="2" ParentId="1170" CreationDate="2016-10-12T12:20:39.187" Score="9" Body="&lt;p&gt;Wrapping your code in a &lt;code&gt;BulkUpdateContext&lt;/code&gt; block as &lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items&quot; rel=&quot;nofollow noreferrer&quot;&gt;mentioned in the Powershell GitBook&lt;/a&gt; will make the tasks more performant and also silence any events or tasks.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Function -Name New-UsingBlock&#xA;&#xA;New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;    # insert cleanup code here...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="148" LastEditorUserId="95" LastEditDate="2018-05-15T02:42:39.307" LastActivityDate="2018-05-15T02:42:39.307" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="1174" PostTypeId="2" ParentId="922" CreationDate="2016-10-12T12:37:53.933" Score="3" Body="&lt;p&gt;Alhough the information from Chris was very useful - and the issue is a registered bug now - I do want to share the workaround that we found. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore content editor, as an admin locate the &lt;code&gt;/settings/Buckets/Item Bucket Settings&lt;/code&gt; item. The first field is &quot;&lt;code&gt;Show Results in&lt;/code&gt;&quot;. Here you can choose how you want items from a bucket search to be displayed in the content editor. The default option is a new tab:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;New tab (default)&lt;/li&gt;&#xA;&lt;li&gt;New editor window : will open the item in a new window within the content editor environment&lt;/li&gt;&#xA;&lt;li&gt;New tab not selected: same as new tab but without setting the selection to it&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/75myY.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/75myY.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this setting is for all buckets in your instance. Our workaround was to change this to &quot;New Content Editor&quot;. The user experience for editing these items in the content editor was slightly changed this way, but the bug was no more.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-12T12:37:53.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1175" PostTypeId="2" ParentId="1106" CreationDate="2016-10-12T12:42:29.587" Score="6" Body="&lt;p&gt;In Sitecore 8.1, the Version property for &lt;code&gt;Sitecore.ContentSearch.SearchTypes.SearchResultItem&lt;/code&gt; extracts the version from the URI set by the &lt;code&gt;_uniqueid&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like that field is not indexed for your documents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could create a custom &lt;code&gt;SearchResultItem&lt;/code&gt; that uses the &lt;code&gt;@fversion24653&lt;/code&gt; field and see how it goes.&lt;/p&gt;&#xA;" OwnerUserId="290" LastEditorUserId="290" LastEditDate="2016-10-12T14:29:59.983" LastActivityDate="2016-10-12T14:29:59.983" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1176" PostTypeId="2" ParentId="818" CreationDate="2016-10-12T12:47:35.693" Score="1" Body="&lt;p&gt;The answer from Alan certainly set me on the right track. The &lt;code&gt;getDependencies&lt;/code&gt; pipeline was indeed the way to go. One more thing to add is a way to customize this per index: you can set in each index definition (and on a global level) if the getDependencies pipeline should be executed. This can be useful to trigger it when needed, but of course if you turn it off it's not only the custom code that gets turned off...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info in &lt;a href=&quot;http://ggullentops.blogspot.be/2016/06/sitecore-index-dependencies.html&quot; rel=&quot;nofollow&quot;&gt;this blog&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: there were some issues with the pipeline in 8.1, but most are fixed in upd3 (&lt;a href=&quot;https://kb.sitecore.net/articles/116076&quot; rel=&quot;nofollow&quot;&gt;https://kb.sitecore.net/articles/116076&lt;/a&gt;).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-12T12:47:35.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1177" PostTypeId="2" ParentId="1158" CreationDate="2016-10-12T13:03:11.897" Score="5" Body="&lt;p&gt;With the working examples from K. Heye and christian-hagelid, I realized that I had an assumption, and had created the Field Search Type in the Core database, where all the items lies as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it works by creating it directly in the master database.&lt;/p&gt;&#xA;" OwnerUserId="205" LastActivityDate="2016-10-12T13:03:11.897" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1178" PostTypeId="1" CreationDate="2016-10-12T13:08:24.770" Score="-7" ViewCount="273" Body="&lt;p&gt;What are the best best practices on scaling sitecore 8 worldwide on Azure?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/scaling_guide_sc70_a4.pdf&quot; rel=&quot;nofollow&quot;&gt;https://sdn.sitecore.net/upload/sitecore7/70/scaling_guide_sc70_a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Bart&lt;/p&gt;&#xA;" OwnerUserId="714" LastActivityDate="2016-10-12T13:12:31.033" Title="best practices in scaling sitecore" Tags="|azure|scaling|" AnswerCount="1" CommentCount="2" ClosedDate="2016-10-12T13:21:08.690" ContentLicense="CC BY-SA 3.0" />
  <row Id="1179" PostTypeId="1" AcceptedAnswerId="1181" CreationDate="2016-10-12T13:08:55.940" Score="7" ViewCount="1081" Body="&lt;p&gt;I'm looking to replicate the SharePoint taxonomy functionality in Sitecore - there is the ability in SharePoint to type a new value in a multivalue field and it would automatically create the new taxonomy value on save. Is there a good way to replicate this functionality in Sitecore? Will this require a custom field?&lt;/p&gt;&#xA;" OwnerUserId="7" LastEditorUserId="73" LastEditDate="2016-10-12T13:12:09.097" LastActivityDate="2016-10-12T13:59:38.453" Title="Multilist Field where users can add new values" Tags="|custom-field|taxonomy|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1180" PostTypeId="2" ParentId="1178" CreationDate="2016-10-12T13:12:31.033" Score="5" Body="&lt;p&gt;I'm assuming that since you've linked the Scaling Guide that you're using VMs in Azure. If the site leans heavily towards consumption-oriented, I would put a number of content delivery servers behind a load balancer in Azure and use the Azure CDN to distribute content worldwide. Make sure that you have the appropriate caching turned on in Sitecore as well and performance/load test your site extensively.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details around Azure CDN here: &lt;a href=&quot;https://azure.microsoft.com/en-us/documentation/articles/cdn-overview/&quot; rel=&quot;noreferrer&quot;&gt;https://azure.microsoft.com/en-us/documentation/articles/cdn-overview/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2016-10-12T13:12:31.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1181" PostTypeId="2" ParentId="1179" CreationDate="2016-10-12T13:15:20.240" Score="8" Body="&lt;p&gt;Yes it will. There are no field types that ship out of the box, that gives you that functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are going to explore making your own customisation for this, I would suggest the &lt;code&gt;Multilist with Search&lt;/code&gt; field is a good place to start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A good place to start could be: &lt;a href=&quot;https://sitecorejunkie.com/2012/12/28/have-a-field-day-with-custom-sitecore-fields/&quot;&gt;Have a Field Day With Custom Sitecore Fields&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-12T13:15:20.240" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1182" PostTypeId="1" AcceptedAnswerId="1186" CreationDate="2016-10-12T13:30:02.487" Score="4" ViewCount="3139" Body="&lt;p&gt;On sitecore 8.2 inital version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am doing the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var myImageItem = (MediaItem) Sitecore.Context.Item.Fields[&quot;MyImageField&quot;].Item;&#xA;if (myImageItem != null)&#xA;{&#xA;    viewModel.ImageAlt = myImageItem.Alt;&#xA;    var url = MediaManager.GetMediaUrl(myImageItem);&#xA;    if (!string.IsNullOrWhiteSpace(url))&#xA;    {&#xA;        viewModel.ImageUrl = url;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The url however is always returning a &lt;code&gt;404 item not found&lt;/code&gt;. The logs show the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;14008 13:40:38 WARN  Request is redirected to document not found page. Requested url: /media/94EF96BAA8214F6D9262C9FCB2137F2C.ashx, User: sitecore\admin, Website: MyWebsite&#xA;&#xA;15432 13:40:58 WARN  Request is redirected to document not found page. Requested url: /media/94EF96BAA8214F6D9262C9FCB2137F2C.ashx, User: sitecore\admin, Website: MyWebsite&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have turned off mediarequest extension default of &lt;code&gt;.ashx&lt;/code&gt; by following instructions on: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-idiosyncrasies-media-urls&quot; rel=&quot;nofollow&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-idiosyncrasies-media-urls&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even with this turned off .ashx media urls still being returned.&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="73" LastEditDate="2016-11-24T17:55:15.073" LastActivityDate="2016-11-24T17:55:15.073" Title="Media Items all return 404" Tags="|configuration|media-library|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="1183" PostTypeId="1" CreationDate="2016-10-12T13:30:07.353" Score="4" ViewCount="976" Body="&lt;p&gt;I have a Sitecore 8 instance with a bucket with aprox. 150K items, and like 200K total.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publishing is working very slow. I mean, really slow, sometimes 5 items per second. I've stripped all code we had on the pipeline and the issue persists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe this may be related with the insertion of items during publish into the Lucene index. I've tested a manual insertion of an item into the index and I can see it takes a long time, up to two or three seconds sometimes:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var contentSearchIndex = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;);&#xA;contentSearchIndex.Refresh((SitecoreIndexableItem)scItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried performance tuning the index with this article, but no luck: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-performance-tuning-part-2&quot; rel=&quot;nofollow&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-performance-tuning-part-2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way of having a fast indexing with a relatively large amount of items? Is there something else that comes to mind that I could try?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a copy of my index config file: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://drive.google.com/file/d/0B2fC8NS-H2h4TG1lcG9CRUlfN3M/view?usp=sharing&quot; rel=&quot;nofollow&quot;&gt;https://drive.google.com/file/d/0B2fC8NS-H2h4TG1lcG9CRUlfN3M/view?usp=sharing&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="462" LastEditorUserId="283" LastEditDate="2016-10-12T14:01:00.493" LastActivityDate="2016-10-12T22:36:05.803" Title="Performance issue when inserting item to Lucene index" Tags="|lucene|indexing|performance-optimization|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="1184" PostTypeId="2" ParentId="1179" CreationDate="2016-10-12T13:31:47.270" Score="3" Body="&lt;p&gt;I've used the &lt;code&gt;Inline Item List field&lt;/code&gt; in the past: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Inline_Item_List_Field.aspx&quot; rel=&quot;nofollow&quot;&gt;https://marketplace.sitecore.net/en/Modules/Inline_Item_List_Field.aspx&lt;/a&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It provides extra buttons to create items from the &lt;code&gt;Multilist&lt;/code&gt; field so that you don't have to leave the item you are editing.  It hasn't been updated in a while so I can't speak to it's compatibility in Sitecore 8+.&lt;/p&gt;&#xA;" OwnerUserId="469" LastEditorUserId="283" LastEditDate="2016-10-12T13:59:38.453" LastActivityDate="2016-10-12T13:59:38.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1185" PostTypeId="2" ParentId="147" CreationDate="2016-10-12T13:35:08.037" Score="2" Body="&lt;p&gt;One way is to use Selenium. They have a &lt;a href=&quot;http://www.seleniumhq.org/docs/appendix_installing_dotnet_driver_client.jsp&quot; rel=&quot;nofollow&quot;&gt;.NET driver&lt;/a&gt; which you can use to write your own script. See the &lt;a href=&quot;http://www.seleniumhq.org/docs/03_webdriver.jsp#introducing-the-selenium-webdriver-api-by-example&quot; rel=&quot;nofollow&quot;&gt;getting started guide&lt;/a&gt; for examples on how to use Selenium. This makes it possible to randomize stuff, fill in and post forms, navigate and so on.&lt;/p&gt;&#xA;" OwnerUserId="114" LastEditorUserId="114" LastEditDate="2016-10-12T14:40:38.950" LastActivityDate="2016-10-12T14:40:38.950" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1186" PostTypeId="2" ParentId="1182" CreationDate="2016-10-12T13:37:17.877" Score="6" Body="&lt;p&gt;Your problem lays in casting to &lt;code&gt;MediaItem&lt;/code&gt; object, you should use &lt;code&gt;ImageField&lt;/code&gt; instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Data.Fields.ImageField myImageItem = (Sitecore.Data.Fields.ImageField)Sitecore.Context.Item.Fields[&quot;MyImageField&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Resources.Media.MediaManager.GetMediaUrl(myImageItem.MediaItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="725" LastEditorUserId="114" LastEditDate="2016-10-12T13:48:48.293" LastActivityDate="2016-10-12T13:48:48.293" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1187" PostTypeId="1" AcceptedAnswerId="1197" CreationDate="2016-10-12T13:38:07.657" Score="7" ViewCount="460" Body="&lt;p&gt;I am working on creating a module that I was hoping to have be installed right thru the Sitecore shell. The deeper I go, the more I realize I will need to make manual changes to the web.config to get this to work. For example this snippet would be needed:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;handlers&amp;gt;&#xA;   &amp;lt;add name=&quot;Nancy&quot; verb=&quot;*&quot; type=&quot;Nancy.Hosting.Aspnet.NancyHttpRequestHandler&quot; path=&quot;/services/*&quot; /&amp;gt;&#xA;&amp;lt;/handlers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The main reason I wanted this as a separate module and not something like a NuGet package is so it can be installed very surgically on target boxes, rather than installing it for the entire codebase and introducing this functionality to all servers including delivery servers (which I don't necessarily want).  I could ultimately abandon my current approach and make this into a web service but holding off on that just yet.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;: is there any way to include any configuration higher than &lt;code&gt;configuration/sitecore&lt;/code&gt; in an install package? Other suggestions welcome. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="73" LastEditDate="2016-12-29T23:06:11.287" LastActivityDate="2016-12-29T23:06:11.287" Title="Update web.config configuration in a Sitecore module" Tags="|configuration|packages|nuget|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1188" PostTypeId="2" ParentId="1182" CreationDate="2016-10-12T13:45:28.807" Score="3" Body="&lt;p&gt;Looking at the error message your media item URLs are being generated as &lt;code&gt;/media&lt;/code&gt;. The default settings in Sitecore 8.2 are to generate with &lt;code&gt;/-/media&lt;/code&gt;. Browse to &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; and check the value of &lt;code&gt;Media.MediaLinkPrefix&lt;/code&gt;. By default it should be empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the media prefix has intentionally been changed the you also need to update the following settings to add your new prefix as the trigger:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;    &#xA;  &amp;lt;settings&amp;gt;&#xA;    &amp;lt;setting name=&quot;Media.MediaLinkPrefix&quot; set:value=&quot;media&quot; /&amp;gt;&#xA;  &amp;lt;/settings&amp;gt;&#xA;&#xA;  &amp;lt;!-- Media handler prefixes --&amp;gt;&#xA;  &amp;lt;customHandlers&amp;gt;&#xA;    &amp;lt;handler patch:before=&quot;*[@trigger='-/media/']&quot; trigger=&quot;media/&quot; handler=&quot;sitecore_media.ashx&quot; /&amp;gt;&#xA;  &amp;lt;/customHandlers&amp;gt;&#xA;&#xA;  &amp;lt;mediaLibrary&amp;gt;&#xA;    &amp;lt;mediaPrefixes&amp;gt;&#xA;      &amp;lt;prefix value=&quot;-/media&quot;/&amp;gt;&#xA;    &amp;lt;/mediaPrefixes&amp;gt;&#xA;  &amp;lt;/mediaLibrary&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the trigger prefix should be unique. This is why Sitecore uses the &lt;code&gt;-/&lt;/code&gt; part of the default prefix. If you have content which matches the prefix trigger then it will match as a media item instead, e.g. &lt;code&gt;/products/media/item/&lt;/code&gt; try to match as a media item. Either ensure the trigger is unique or disallow users creating items with that name.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-10-12T13:50:59.877" LastActivityDate="2016-10-12T13:50:59.877" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1189" PostTypeId="2" ParentId="1187" CreationDate="2016-10-12T13:47:55.307" Score="0" Body="&lt;p&gt;There's not a good way to modify a web.config file directly which is where the &lt;code&gt;&amp;lt;handlers&amp;gt;&lt;/code&gt; tag is going to need to go. The web.config file has the ability to link in external config files but still require an update in the original web.config to the external config file.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2016-10-12T13:47:55.307" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1191" PostTypeId="2" ParentId="147" CreationDate="2016-10-12T13:51:58.443" Score="5" Body="&lt;p&gt;Ran into a similar situation in a project, wanted to just 'smoke test' things towards the end both locally (Resharper test runner) and in CI/deployment (VStest task).  Ended up creating another 'Test' project in the same solution and followed an example Selenium project online: &lt;a href=&quot;https://github.com/atosorigin/SeleniumExample&quot; rel=&quot;nofollow&quot;&gt;https://github.com/atosorigin/SeleniumExample&lt;/a&gt;. From there, I picked out a few pages that were the most likely to fail and wrote tests around them:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;login - does &lt;code&gt;admin/b&lt;/code&gt; auth, does &lt;code&gt;bad/pass&lt;/code&gt; fail&lt;/li&gt;&#xA;&lt;li&gt;search - if I execute &lt;code&gt;*&lt;/code&gt; search, does it return &lt;em&gt;something&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;homepage - does it render after login&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Testing those pages alone were enough for me to verify that things weren't destroyed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: I implied &quot;smoke testing&quot; from the &lt;code&gt;just give it a good shake around the hinges&lt;/code&gt;, but I am just realizing you are asking more about the running footprint of the application itself over a duration of time. So unless you write Selenium tests to execute simultaneous users over an hours time, I don't know that my suggestion will provide you the desired outcome.&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="695" LastEditDate="2016-10-12T17:19:30.547" LastActivityDate="2016-10-12T17:19:30.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1192" PostTypeId="2" ParentId="1187" CreationDate="2016-10-12T13:58:40.000" Score="10" Body="&lt;p&gt;If you are making Web.config changes (which would be required for adding an HTTP handler), I would say that this is &lt;em&gt;not&lt;/em&gt; something that should be just &quot;installed&quot; on your servers. You want to maintain the accuracy of your Web.config in your source, right? I'd also be worried about deploying Web.config changes in such an ad-hoc way (rather than following a structured deployment process).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want CD/CM-specific Web.config changes, the best approach would be to create a build config for each, and use XDT transforms.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-12T13:58:40.000" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1193" PostTypeId="1" AcceptedAnswerId="1370" CreationDate="2016-10-12T14:01:28.787" Score="7" ViewCount="712" Body="&lt;p&gt;I am setting permissions for content editors of a site. The user in question is a member of the following roles:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Users&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Author&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Social Authoring&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Analytics Testing&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Analytics Personalization&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Authoring&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Designing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When this user logs in to Experience Editor and clicks the &lt;code&gt;More&lt;/code&gt; option of a component's properties, the &lt;code&gt;Edit the related item&lt;/code&gt; option is not shown.&lt;br&gt;&#xA;See the screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AoJi4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AoJi4.png&quot; alt=&quot;Component More menu regular user&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if I log in with a user that has the Administrator checkbox set on their &quot;User Profile&quot; then this option is visible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dC2jJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dC2jJ.png&quot; alt=&quot;Component More menu admin user&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What security setting should I change to make the &lt;code&gt;Edit the related item&lt;/code&gt; visible for a non-administrator user?&lt;/p&gt;&#xA;" OwnerUserId="143" LastEditorUserId="4050" LastEditDate="2020-01-21T04:05:44.050" LastActivityDate="2020-01-21T04:05:44.050" Title="How can I make the Edit the related item menu show in Experience Editor?" Tags="|experience-editor|security|permissions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1194" PostTypeId="2" ParentId="1187" CreationDate="2016-10-12T14:01:44.193" Score="2" Body="&lt;p&gt;There is a way to do this. Has nothing to do with Sitecore though; but &lt;code&gt;NuGet&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The snippet you posted; you can place this into a file called &lt;code&gt;web.config.transform&lt;/code&gt;, to have it added to the existing web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While I share some of the concerns raised above; this is definitely something you would want DevOps to know about (use the readme.txt file, for instance) - you asked; and this is how it's done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://docs.nuget.org/ndocs/create-packages/source-and-config-file-transformations&quot; rel=&quot;nofollow&quot;&gt;Source Code and Configuration File Transformations&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-12T14:01:44.193" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1195" PostTypeId="2" ParentId="1193" CreationDate="2016-10-12T14:04:19.690" Score="2" Body="&lt;p&gt;Create them under: /sitecore/content/Applications/WebEdit/Edit Frame Buttons and you'll be able to edit specific section of the component. Its in Core database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To check what permissions navigate to /sitecore/content/Applications/WebEdit, there will be a list of granted permissions. The most granted is Client Developing, the least Authoring.&#xA;Here is the snapshot &lt;a href=&quot;https://i.stack.imgur.com/CDzIn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CDzIn.png&quot; alt=&quot;List of granted roles&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Bear in mind that those roles &lt;a href=&quot;https://i.stack.imgur.com/U7uqq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/U7uqq.png&quot; alt=&quot;List of roles won&amp;#39;t have this button available&quot;&gt;&lt;/a&gt; are restricted to see that button.&lt;/p&gt;&#xA;" OwnerUserId="725" LastEditorUserId="725" LastEditDate="2016-10-12T14:09:33.457" LastActivityDate="2016-10-12T14:09:33.457" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1196" PostTypeId="2" ParentId="1187" CreationDate="2016-10-12T14:08:24.180" Score="2" Body="&lt;p&gt;Instead of including it directly, you can include it as a Post Installation Step as well.&lt;/p&gt;&#xA;" OwnerUserId="616" LastActivityDate="2016-10-12T14:08:24.180" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1197" PostTypeId="2" ParentId="1187" CreationDate="2016-10-12T14:10:12.043" Score="6" Body="&lt;p&gt;Ignoring my NuGet approach above; the only obvious option you have available is a lesser-known feature in Sitecore packages called &quot;poststep&quot;. Essentially you can instruct Sitecore to execute some code, after your package has installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sean Holmesby describes it here: &lt;a href=&quot;http://www.seanholmesby.com/sitecore-upgrade-post-step-scripts/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Upgrade Post Step Scripts&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While the blog post mentions this in regards to &lt;code&gt;.update&lt;/code&gt; packages, this works for all Sitecore packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside your package archive, you'll find the &lt;code&gt;sc_poststep.txt&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/y5odA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/y5odA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Enter a fully qualified &lt;code&gt;Namespace, Assembly&lt;/code&gt; here (I think you can add multiple) and implement the transformation code in a class. Your class needs to implement the &lt;code&gt;IPostStep&lt;/code&gt; interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's clunky, but it's the only option I know of that could achieve what you want.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-12T14:10:12.043" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1198" PostTypeId="2" ParentId="1162" CreationDate="2016-10-12T14:18:23.847" Score="2" Body="&lt;p&gt;I ended up resolving this by adding &lt;code&gt;Read&lt;/code&gt; and &lt;code&gt;Write&lt;/code&gt; permissions for my role on the  &lt;code&gt;/sitecore/templates/System/Layout/Rendering Parameters/Standard Rendering Parameters/__Standard Values&lt;/code&gt; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LpA7b.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LpA7b.png&quot; alt=&quot;Rendering Parameters Permissions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="143" LastActivityDate="2016-10-12T14:18:23.847" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1199" PostTypeId="2" ParentId="1183" CreationDate="2016-10-12T14:20:13.787" Score="5" Body="&lt;p&gt;I think your Lucene index needs a trim. Especially if it hasn't been this slow always, but just gradually started degrading little by little.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since it's not a production server, my first recommendation would be to issue a full Index Rebuild and let it run for however long it needs. If you see a really slow rebuild speed, your problem lies elsewhere unfortunately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also: &lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.MaxMergeMB&quot; value=&quot;512&quot; /&amp;gt;&lt;/code&gt; this setting seems very low to me. I've seen Lucene happily use up 6-8 GB of memory for around 125.000 items. Increasing this to 4 or even 8 GB would be my next visiting point.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-12T14:20:13.787" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1200" PostTypeId="2" ParentId="147" CreationDate="2016-10-12T14:54:36.477" Score="1" Body="&lt;p&gt;There are loads of tools and techniques, it all depends on what you really want to test. &#xA;So stress and load test, to do it properly you'll have to use paid services.&#xA;In regards to functional testing we use Specflow, easy straight forward to use and to write UI acceptance tests.&#xA;In regards performance I use Sitecore tracer and performance monitor, where you can see in details how much time each rendering is using to process. dotPrfile and dotMemory are more designed to identify memory leaks (performance issues) and are usually used, when issue persists on Prod boxes. &#xA;I would advise using SouceLabs for unit testing and UI testing, its great service and isn't too expensive. &lt;/p&gt;&#xA;" OwnerUserId="725" LastActivityDate="2016-10-12T14:54:36.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1201" PostTypeId="1" AcceptedAnswerId="1205" CreationDate="2016-10-12T14:56:41.933" Score="10" ViewCount="888" Body="&lt;p&gt;Is there guidance on sizing the Mongo DB servers when running xDB on premises? I've found some guidance on sizing MongoDB for session state (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/estimate_memory_and_storage_requirements_for_session_state&quot;&gt;link&lt;/a&gt;) but can't find anything on the analytics side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be clear, I'm not looking for &quot;you need XXGB of RAM and XXXGB of disk&quot; but more of what variable go into what sort of formula for sizing. &lt;/p&gt;&#xA;" OwnerUserId="249" LastEditorUserId="73" LastEditDate="2016-10-12T15:49:29.707" LastActivityDate="2018-03-30T22:33:43.830" Title="Sizing MongoDB Servers for xDB" Tags="|xdb|mongodb|" AnswerCount="5" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1202" PostTypeId="2" ParentId="1201" CreationDate="2016-10-12T15:04:12.610" Score="15" Body="&lt;p&gt;Sitecore recommends &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/hardware_guidlines&quot;&gt;here&lt;/a&gt; the minimum hardware for planning an xDB with Session State as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;MongoDB&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2 Collection database (MongoDB) servers&lt;/li&gt;&#xA;&lt;li&gt;4 x CPU E5 2650 v2 processors&lt;/li&gt;&#xA;&lt;li&gt;16GB RAM (the more the better)&lt;/li&gt;&#xA;&lt;li&gt;100GB SSD disk&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In addition to that, I would recommend a separate disk for the Operating System, and leave the 100GB SSD disk just for the collections.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although, MongoDB has math which will drive you to better estimates &lt;a href=&quot;https://docs.mongodb.com/manual/faq/diagnostics/#how-do-i-calculate-how-much-ram-i-need-for-my-application&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The amount of RAM you need depends on several factors, including but not limited to:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The relationship between database storage and working set.&lt;/li&gt;&#xA;&lt;li&gt;The operating system’s cache strategy for LRU (Least Recently Used)&lt;/li&gt;&#xA;&lt;li&gt;The impact of journaling&lt;/li&gt;&#xA;&lt;li&gt;The number or rate of page faults and other MongoDB Cloud Manager gauges to detect when you need more RAM&lt;/li&gt;&#xA;&lt;li&gt;Each database connection thread will need up to 1 MB of RAM.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Please feel free to comment if any clarification or additional question needed.&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="248" LastEditDate="2016-10-12T15:20:45.993" LastActivityDate="2016-10-12T15:20:45.993" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1203" PostTypeId="2" ParentId="1162" CreationDate="2016-10-12T15:08:52.513" Score="6" Body="&lt;p&gt;You have two options here:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore/Designer role has the permissions you need and I'd recommend to use it if you need to edit Data Source and Placeholder.&lt;/li&gt;&#xA;&lt;li&gt;Grant Write access for the &quot;Client Designing&quot; to the /sitecore/templates/System/Layout/Rendering Parameters/Standard Rendering Parameters/__Standard Values item.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But be careful; if one role has access rights but the other doesn't, you won't have access rights to the item until you override access directly to an user of that role.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="288" LastEditDate="2019-11-20T14:52:44.183" LastActivityDate="2019-11-20T14:52:44.183" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1204" PostTypeId="2" ParentId="1201" CreationDate="2016-10-12T15:25:56.933" Score="1" Body="&lt;p&gt;For disk size, this is quite difficult as it is affected by the amount of visits and interactions you have. Hard to give you exact numbers, although you might easily get to some GB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can't give you the magic formula either, but I can give you one advice to keep your needed disk size to a reasonable amount: take a good look at the bots that visit your site, including your own. With &quot;your own&quot;, I mean a site crawler if you are using one or a monitoring tool that checks (visits) your site. Blocking those has saved us several GB's (we forgot this only once...).&#xA;You can patch the &lt;code&gt;Sitecore.Analytics.ExcludeRobots.config&lt;/code&gt; to do this.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-12T15:25:56.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1205" PostTypeId="2" ParentId="1201" CreationDate="2016-10-12T15:46:32.663" Score="9" Body="&lt;p&gt;Nonlinear Digital did a little rule of thumb for 7.5, I guess it still holds true(ish) now - they said:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;As a basic rule of thumb, Sitecore calculates diskspace sizing projections using 5KB per interaction and 2.5KB per identified contact and these two items make up 80% of the diskspace&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if an interaction is essentially a user session you should be able to roughly calculate usage. For example for a (small) site we're launching we roughly figured the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Google Analytics said it had 12,916 visits per month&#xA;With 9,620  unique users&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;5kB x 12,916 = 65MB per month (assuming each visit is an &quot;interaction&quot;)&#xA;+&#xA;2.5kB x 9,620 = 25MB per month (assuming each user gets stored as a new &quot;contact&quot;)&#xA;= 90MB&#xA;* 20%&#xA;= 109 MB&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So around 100MB per month.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is very finger in the air calculation and I've not validated the figures that NonLinear talk about but it is a good start for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/whitepapers/Whitepaper-Planning-your-Sitecore-xDB-infrastructure.aspx&quot;&gt;http://www.nonlinearcreations.com/Digital/how-we-think/whitepapers/Whitepaper-Planning-your-Sitecore-xDB-infrastructure.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="87" LastEditorUserId="87" LastEditDate="2016-10-12T20:10:34.323" LastActivityDate="2016-10-12T20:10:34.323" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1206" PostTypeId="2" ParentId="147" CreationDate="2016-10-12T15:50:50.063" Score="7" Body="&lt;p&gt;I'd recommend learning and using Apache JMeter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes, it's a technically a load testing tool, but in reality it's a highly configurable and very powerful tool to script simple and complex HTTP (and other) requests against one or many destinations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use it for both load and stress testing. You can build up a suite of requests that cover a good representation of your site pages, configure and pass in variables / user logins, etc. and then set it to run with a low thread concurrency level (i.e. only running 1 or 2 requests at a time but over a much longer period of time.).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also worth nothing that each thread can be spun up with a unique session scope and cookie storage, so you can simulate complex site interactions. Or you can choose not to do it and just bombard the site with anonymous requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've used this same process to run extended tests over a weekend to catch memory leaks, very much what you sound like you're looking to do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd suggest avoiding using site-crawlers for this as they'll make it hard to identify what pages are causing the leaks. With something more controlled like JMeter you'd be able to turn on and off tests to isolate to just the requests that cause the leak. Then fix the leak and re-run the exact same tests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Useful links:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jmeter.apache.org/&quot;&gt;JMeter Home&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jmeter-plugins.org/wiki/Start/&quot;&gt;JMeter Plugins&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="399" LastEditorUserId="399" LastEditDate="2016-10-12T16:17:30.407" LastActivityDate="2016-10-12T16:17:30.407" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1207" PostTypeId="1" AcceptedAnswerId="1209" CreationDate="2016-10-12T16:00:59.763" Score="5" ViewCount="238" Body="&lt;p&gt;In multiple Sitecore sites I have implemented a separate SQL database for storing information related to the user profile where one-to-many relationships where concerned. One such example is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UserA has a BMW and Ford&#xA;UserB has a Mercedes, Volvo and Toyota.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These values might appear in the user profile area where the user can add/delete. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a best practice for this type of user profile information that is self-contained in Sitecore that I have overlooked? &lt;/p&gt;&#xA;" OwnerUserId="741" LastEditorUserId="333" LastEditDate="2016-10-12T16:44:32.227" LastActivityDate="2016-10-12T16:44:32.227" Title="Best practices for user profile one-to-many relationships with attributes" Tags="|best-practices|user-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1209" PostTypeId="2" ParentId="1207" CreationDate="2016-10-12T16:04:37.783" Score="4" Body="&lt;p&gt;The best practice is to have everything in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;User profile fields are stored in Core db.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can define &quot;database&quot; in your field source. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will define source of your field like :&#xA;databasename=master&amp;amp;datasource=/sitecore/content/cars&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://sitecorecontextitem.wordpress.com/2014/02/10/working-with-custom-user-profile-fields-in-sitecore/&quot; rel=&quot;nofollow&quot;&gt;https://sitecorecontextitem.wordpress.com/2014/02/10/working-with-custom-user-profile-fields-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2016-10-12T16:06:27.173" LastActivityDate="2016-10-12T16:06:27.173" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1210" PostTypeId="2" ParentId="1000" CreationDate="2016-10-12T16:23:43.460" Score="1" Body="&lt;p&gt;Be sure you install the packages in the order described in the installation guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the looks of the log, you are installing the Sitecore provider, but one of the templates from the framework is not available. This error will occur when you install the Sitecore provider package &lt;em&gt;before&lt;/em&gt; you install the framework package.&lt;/p&gt;&#xA;" OwnerUserId="256" LastActivityDate="2016-10-12T16:23:43.460" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1211" PostTypeId="1" AcceptedAnswerId="1212" CreationDate="2016-10-12T16:40:49.417" Score="34" ViewCount="38647" Body="&lt;p&gt;I have a Sitecore 8.1 instance and we are using Solr 4.10 for search. I followed the Solr installation guide found here - &lt;a href=&quot;https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-developers/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-developers/&lt;/a&gt;.  The instructions there show you how to start the Solr instance manually.  However, I was wondering how to set up Solr as a Windows service so that it runs automatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Corey&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2016-10-12T16:53:00.623" LastActivityDate="2023-06-12T15:45:46.333" Title="How to get Solr to run as a service?" Tags="|solr|" AnswerCount="12" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1212" PostTypeId="2" ParentId="1211" CreationDate="2016-10-12T16:49:55.160" Score="48" Body="&lt;p&gt;One option is to use &lt;code&gt;NSSM&lt;/code&gt; - the &lt;a href=&quot;https://nssm.cc/&quot; rel=&quot;noreferrer&quot;&gt;Non-Sucking Service Manager&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It basically has the ability to install any .exe as a service in Windows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Download it and put it anywhere in your system PATH. Then open up a command prompt, navigate to your SOLR-5.0.0 (as appropriate) directory and issue this command:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;nssm install solr5&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This prompts you to configure your service and get things going.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sxD9Y.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sxD9Y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/&quot; rel=&quot;noreferrer&quot;&gt;How to Run Solr5 as a Service on Windows&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-12T16:49:55.160" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1213" PostTypeId="2" ParentId="1211" CreationDate="2016-10-12T16:57:19.710" Score="7" Body="&lt;p&gt;Corey if you are using Apache Tomcat then you can just set windows to start the service up automatically when the server/machine starts and it should spin up Solr and all work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aWEZO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aWEZO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-- Update --&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With regard to running two instances on the same machine I've done this before so it's definitely possible. I think you need to install Apache again with a named instance like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\&amp;gt; service.bat install SolrTomcat2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in the solr.xml file change the port number:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;hostPort=&quot;9090&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then start the 2nd Tomcat service and run it should spin up a 2nd solr instance on &lt;a href=&quot;http://localhost:9090&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:9090&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-12T17:07:30.123" LastActivityDate="2016-10-12T17:07:30.123" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="1214" PostTypeId="2" ParentId="1211" CreationDate="2016-10-12T16:58:10.103" Score="11" Body="&lt;p&gt;You might consider using the &lt;a href=&quot;https://bitnami.com/stack/solr&quot;&gt;Bitnami Solr Stack&lt;/a&gt;. It's basically an &quot;opinionated&quot; stack if you will, and will help ensure that you retain the same structure and setup regardless of whether you're local or in the cloud. I've not extensively used this on production instances or &quot;at scale&quot;, but it's a quick way to get Solr up and running on Windows locally. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's some &lt;a href=&quot;https://sitecore-community.github.io/docs/search/solr/installing-solr-using-the-bitnami-apache-solr-stack/&quot;&gt;Sitecore Community documentation for reference&lt;/a&gt;. &lt;/p&gt;&#xA;" OwnerUserId="170" LastActivityDate="2016-10-12T16:58:10.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1215" PostTypeId="2" ParentId="1211" CreationDate="2016-10-12T18:05:18.167" Score="3" Body="&lt;p&gt;I had written a step by step post how to run solr as a service using NSSM. Please follow the following &lt;a href=&quot;https://hishaamn.wordpress.com/2016/06/28/sitecore-run-solr-as-a-service/&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt; for more information.&lt;/p&gt;&#xA;&lt;p&gt;In brief, it consists of 7 steps:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install Java Runtime Environment if you do not have it.&lt;/li&gt;&#xA;&lt;li&gt;Add a system environment variable called JAVA_HOME that points to your java installation.&lt;/li&gt;&#xA;&lt;li&gt;Install the NSSM.&lt;/li&gt;&#xA;&lt;li&gt;Create and unzip your Solr Package into C:/solr&lt;/li&gt;&#xA;&lt;li&gt;Open Powershell and use NSSM to set Solr up as a service&lt;/li&gt;&#xA;&lt;li&gt;Set the NSSM Values.&lt;/li&gt;&#xA;&lt;li&gt;Open your services and start the newly created Solr {solr-version} service.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;In the blog post, you will have the different links required to download the files&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-12T19:04:26.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1216" PostTypeId="1" AcceptedAnswerId="1724" CreationDate="2016-10-12T18:05:34.070" Score="9" ViewCount="154" Body="&lt;p&gt;Our problem is that periodically one of the CD servers CPU soars to 100% and IIS needs to be restarted to get it to calm down.  While investigating the logs we found the following two stacktraces:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #97 15:45:40 ERROR Error committing data row Pages.ef42d298-9973-4c98-9457-1ad4c4761749 : Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.&#xA;ManagedPoolThread #97 15:45:40 WARN  Errors while committing data. Retrying...&#xA;System.Exception: Error committing datatable: Pages ---&amp;gt; System.Exception: Commit error: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.&#xA;   at Sitecore.Analytics.Data.DataAccess.DataAdapters.Sql.SqlDataAdapterProvider.Update(DataTable table, UpdateOptions options)&#xA;   at Sitecore.Analytics.Data.DataAccess.DataAdapters.Sql.SqlDataAdapterProvider.Update(DataTable table)&#xA;   at Sitecore.Analytics.Data.DataAccess.DataAdapters.Sql.SqlDataAdapterProvider.Update(DataSet dataSet)&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.CommitDataSet.CommitDataSetPipeline.Run(CommitDataSetArgs args)&#xA;   at Sitecore.Analytics.Data.TrackerChanges.__AW_Flush()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For this particular issue we found this knowledge base article (&lt;a href=&quot;https://kb.sitecore.net/articles/027320&quot;&gt;Concurrency violation issues in DMS&lt;/a&gt;) which indicated that perhaps a visitor had bounced from one of the load-balanced CDs to the other. The load balancer is configured for sticky sessions but the visitor could have transferred for several reasons like one of the cookies expired, one of the CDs was being taken out of the pool temporarily, etc.  Since our scenario lined up with &quot;Scenario 1&quot; in the documentation (Load balancer with 2 or more CDs, and InProc Session State mode), our solution could be to configure a SQLServer based session state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another error we saw at the same time on the same CD was one that is pretty familiar when the CDs aren't configured properly or the load balancer isn't using sticky sessions:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;34320 21:16:21 ERROR Application error.&#xA;Exception: System.Web.HttpException&#xA;Message: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that &amp;lt;machineKey&amp;gt; configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.&#xA;&#xA;See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.&#xA;Source: System.Web&#xA;   at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)&#xA;   at System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState)&#xA;   at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose)&#xA;   at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter2.Deserialize(String serializedState, Purpose purpose)&#xA;   at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter2 formatter, String serializedState, Purpose purpose)&#xA;   at System.Web.UI.HiddenFieldPageStatePersister.Load()&#xA;   at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()&#xA;   at System.Web.UI.Page.LoadAllState()&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest()&#xA;   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)&#xA;   at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;   at ASP._layouts_flm_masterpages_baselayout_aspx.__AW_ProcessRequest(HttpContext )&#xA;   at ASP._layouts_flm_masterpages_baselayout_aspx.ProcessRequest(HttpContext context)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Web.UI.ViewStateException&#xA;Message: Invalid viewstate. &#xA;    Client IP: 10.8.5.172&#xA;    Port: 44240&#xA;    Referer: http://xxxxxxxxxxxxxxxxx/Blog/Default.aspx&#xA;    Path: /Blog/Default.aspx&#xA;    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36&#xA;    ViewState: /wEPDwUKLTkxNzg0OTU0NQ9kFgQCAQ9kFgJmD2QWBgIDDxYCHgRUZXh0BRsgLSBGaW5hbmNpYWwgTGl0ZXJhY3kgTW9udGhkAgUPFgIfAAXFATxtZXRhIG5hbWU9ImtleXdvcmRzIiBjb250ZW50PSJGaW5hbmNpYWwgYmxvZ3MsIGZpbmFuY2lhbCBibG9nLCBmaW5hbmNpYWwgbGl0ZXJhY3kgYmxvZywgZmluYW5jaWFsIHNlcnZpY2VzIGJsb2csIGZpbmFuY2lhbCBzdWNjZXNzIGJsb2csLCBwZXJzb25hbCBidWRnZXRpbmcgYmxvZywgZmluYW5jaWFsIGxpdGVyYWN5IG1vbnRoIGJsb2ciIC8+ZAIHDxYCHwAF7wE8bWV0YSBuYW1lPSJkZXNjcmlwdGlvbiIgY29udGVudD0iRmluYW5jaWFsIExpdGVyYWN5IE1vbnRoIEJsb2cgYWJvdXQgRmluYW5jaWFsIFN1Y2Nlc3MuICBTdGFydGluZyBvbiB0aGUgZmlyc3QgZGF5IG9mIEZpbmFuY2lhbCBMaXRlcmFjeSBNb250aCAoQXByaWwgMSksIEkgd2lsbCB0YWtlIG9uZSBzdGVwIGEgZGF5IHRvIGltcHJvdmUgbXkgZmluYW5jZXMgYW5kIGJsb2cgYWJvdXQgbXkgZXhwZXJpZW5jZS4gIiAvPmQCBRBkZBYCAgMPZBYCAgEPZBYCZg9kFgICAQ9kFgJmD2Q...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Upon inspection though, I confirmed that both CDs used the same MachineKey and so possibly the viewstate was corrupted or the churning CD had a problem validating it. In fact, it could be unrelated, but it was the only other sign we have to follow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the info we have so far, it was determined that we could or should use a SQL Session State server to avoid the DMS concurrency issues when this happens, preventing the endless retries and CPU getting maxed out. We planned to follow the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider#_Deploy_a_SQL&quot;&gt;Walkthrough: Configuring a shared session state database using the SQL Server provider&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, while doing research to do just that, I found information that made my question whether SQL Session State was even an option with our version of Sitecore: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/901069&quot;&gt;ASP.NET Session State support for Sitecore Client&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/561862&quot;&gt;Sitecore DMS errors when using the ASP.NET out-of-process session-state modes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Ultimately the question is...&lt;/strong&gt; What are our options to resolve this issue to properly configure load-balanced content delivery servers with DMS functionality? We need to be able to deploy OS patches, code updates, etc... so there is always the possibility that one server goes down or traffic is transferred to another node.  Also, upgrading to a later version of Sitecore is not really an option at this point since a new site is being built on the recommended version to launch in the coming year and there is no desire to expend a lot of effort on the current solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuration:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;Version:&lt;/em&gt; Sitecore 6.5 Update-1 (rev. 120706)&lt;/li&gt;&#xA;&lt;li&gt;1 Content Management server&lt;/li&gt;&#xA;&lt;li&gt;2 load-balanced Content Delivery servers&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="569" LastEditorUserId="569" LastEditDate="2016-10-12T20:10:25.180" LastActivityDate="2016-10-23T20:45:55.133" Title="Session State options for Sitecore 6.5 Update-1 w/DMS?" Tags="|session-state|dms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1217" PostTypeId="2" ParentId="147" CreationDate="2016-10-12T18:11:29.560" Score="1" Body="&lt;p&gt;Have you tried Selenium? It is easy to use and you can customize your tests if you are looking for specific sections where things may go wrong(like form submitions, 404 links, regression tests not performed properly, etc). &lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-12T18:11:29.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1218" PostTypeId="1" AcceptedAnswerId="1219" CreationDate="2016-10-12T18:39:56.360" Score="10" ViewCount="521" Body="&lt;p&gt;I'm new to Coveo. I'm trying to work out the best way to index wildcard pages. So when you publish a wildcard item, all the corresponding wildcard pages get indexed nicely with their correct URL's.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've achieved this many times before with Lucene and Solr using trickery with custom item crawlers. But I know that Coveo for Sitecore has has bunch of different pipelines for you took hook in to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I feel certain the answer is in there somewhere, but I don't know enough to find it.&lt;/p&gt;&#xA;" OwnerUserId="473" LastEditorUserId="483" LastEditDate="2016-10-12T18:40:53.547" LastActivityDate="2016-10-12T20:45:34.943" Title="Indexing Wildcard Items in Coveo for Sitecore" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1219" PostTypeId="2" ParentId="1218" CreationDate="2016-10-12T19:16:15.450" Score="8" Body="&lt;p&gt;In Coveo for Sitecore you can &lt;a href=&quot;https://developers.coveo.com/display/public/SitecoreV4/Understanding+the+coveoItemProcessingPipeline+Pipeline&quot; rel=&quot;noreferrer&quot;&gt;use the &lt;code&gt;coveoItemProcessingPipeline&lt;/code&gt;&lt;/a&gt; to add other items that should also be indexed. This is similar in concept to the &lt;a href=&quot;http://ggullentops.blogspot.co.uk/2016/06/sitecore-index-dependencies.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore &lt;code&gt;indexing.getDependencies&lt;/code&gt; pipeline&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class IndexWildcardItems : IProcessor&amp;lt;CoveoItemProcessingPipelineArgs&amp;gt;&#xA;{&#xA;    public void Process(CoveoItemProcessingPipelineArgs p_Args)&#xA;    {&#xA;        var indexableItem = p_Args.Item as SitecoreIndexableItem;&#xA;        if (indexableItem != null &amp;amp;&amp;amp; indexableItem.Item != null &amp;amp;&amp;amp; IsCustomWildcardItem(indexableItem.Item))&#xA;        {&#xA;            IEnumerable&amp;lt;Item&amp;gt; wildcards = GetWildcardItems(indexableItem.Item);&#xA;&#xA;            p_Args.OutputItems.AddRange(wildcards.Select(x =&amp;gt; (SitecoreIndexableItem)x));&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And patch the config in:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;coveoItemProcessingPipeline&amp;gt;&#xA;    &amp;lt;processor type=&quot;MySite.Custom.ContentSearch.Processors.IndexWildcardItems, MySite.Custom&quot; /&amp;gt;&#xA;  &amp;lt;/coveoItemProcessingPipeline&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will need to provide the correct logic for &lt;code&gt;IsCustomWildcardItem()&lt;/code&gt; to determine if the current item being indexed is a valid Wildcard item and the logic required for &lt;code&gt;GetWildcardItems(indexableItem.Item)&lt;/code&gt; to return the all the items for this particular wildcard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The items are then added to the indexing queue and will be indexed as normal like any other item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll also need to handle indexing the URLs for your items. The tricky part here is determining which site an item belongs to and how to determine which wildcard an item belongs to. There are so many factors that can affect this, such as your exact set up and content architecture, so is beyond the scope of this answer without a lot more information. By default, Coveo will resolve the &lt;code&gt;ClickUri&lt;/code&gt; field when it is returned by the REST service. This means that if you have your &lt;code&gt;LinkProvider&lt;/code&gt; set up to generate the correct link then the returned URL will be generated correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more information about the &lt;a href=&quot;https://developers.coveo.com/display/public/SitecoreV3/Understanding+the+REST+Endpoint+Pipelines&quot; rel=&quot;noreferrer&quot;&gt;Coveo &lt;code&gt;coveoProcessParsedRestResponse&lt;/code&gt; pipeline&lt;/a&gt; and the &lt;code&gt;ResolveResultClickableUriProcessor&lt;/code&gt; processor which resolves the ClickUri:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;coveoProcessParsedRestResponse patch:source=&quot;Coveo.SearchProvider.Rest.config&quot;&amp;gt;&#xA;  &amp;lt;!--&#xA;    This processor resolves the REST results clickUri field in the context of &#xA;    the current site using the Sitecore LinkManager. &#xA;  --&amp;gt;&#xA;  &amp;lt;processor type=&quot;Coveo.SearchProvider.Rest.Processors.CoveoProcessParsedRestResponse.ResolveResultClickableUriProcessor, Coveo.SearchProvider.Rest&quot;/&amp;gt;&#xA;&amp;lt;/coveoProcessParsedRestResponse&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: The above is true for Coveo version 3, the pipelines and processors involved may be slightly different for Coveo version 4 but the concepts remain the same.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-10-12T20:45:34.943" LastActivityDate="2016-10-12T20:45:34.943" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1220" PostTypeId="1" AcceptedAnswerId="1820" CreationDate="2016-10-12T19:25:56.973" Score="5" ViewCount="313" Body="&lt;p&gt;Having problems when uploading a Sitecore Package from one environment to the next. Both environments have the same version level (Sitecore XP 8.1U3 / EXM 3.3).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Screen error message reads:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   Sitecore.UIUtil.GetBrowserClassString() +347&#xA;   Sitecore.Shell.Controls.Standard.FormPageXmlControl.OnLoad(EventArgs e) +1154&#xA;   System.Web.UI.Control.LoadRecursive() +67&#xA;   System.Web.UI.Control.LoadRecursive() +164&#xA;   System.Web.UI.Control.LoadRecursive() +164&#xA;   System.Web.UI.Control.LoadRecursive() +164&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4497&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore Log Output:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3028 15:10:20 INFO  File has been uploaded: D:\inetpub\wwwroot\Sitecore\Data\packages\ClientMailCoreSpeakApplication.zip&#xA;ManagedPoolThread #5 15:10:25 INFO  Job started: Install&#xA;ManagedPoolThread #5 15:10:25 INFO  Installing package: D:\inetpub\wwwroot\Sitecore\Data\packages\ClientMailCoreSpeakApplication.zip&#xA;ManagedPoolThread #5 15:10:56 INFO  Installation was aborted at entry: items/core/sitecore/client/Applications/Client Mail/{B1F6C86A-4F1D-4A60-8949-EC945ABE0675}/en/1/xml&#xA;ManagedPoolThread #5 15:10:56 INFO  Installation was aborted&#xA;ManagedPoolThread #5 15:10:56 INFO  Job ended: Install (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note that the Sitecore log does NOT show the 500 error displayed to&#xA;  the browser.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KgCe6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KgCe6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Process:&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Upload Package File - Successful.&lt;/li&gt;&#xA;&lt;li&gt;Click through to Name and License Dialog - Successful.&lt;/li&gt;&#xA;&lt;li&gt;Clicking the &lt;strong&gt;Install&lt;/strong&gt; button immediately throws an error.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Package Contains:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Contains Sitecore items meant for the core database to install a new Speak Application.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-12-08T00:52:12.717" LastActivityDate="2017-12-08T00:52:12.717" Title="GetBrowserClassString() Throws Error when installing a package in SXP8.1U3" Tags="|packages|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1221" PostTypeId="1" AcceptedAnswerId="1232" CreationDate="2016-10-12T19:37:44.790" Score="13" ViewCount="2139" Body="&lt;p&gt;I have a requirement in our 8.1 update 2 solution to provide a sorting mechanism for pages based on the number of views. This data lives in the analytics database and I'm looking for a way to retrieve the data without querying the database directly. Is there an API in place out of the box that I can use to get an item's view count?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've verified that the data I need exists in the &lt;code&gt;[Sitecore_Analytics].[dbo].[Fact_PageViews]&lt;/code&gt; table. From a best practices standpoint, what is the best way to retrieve this data and use it in our components?&lt;/p&gt;&#xA;" OwnerUserId="252" LastEditorUserId="10" LastEditDate="2016-10-12T19:52:59.857" LastActivityDate="2016-10-12T21:18:59.703" Title="Sorting Pages by most views" Tags="|xdb|best-practices|sitecore-client|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1222" PostTypeId="1" CreationDate="2016-10-12T19:59:46.400" Score="8" ViewCount="139" Body="&lt;p&gt;I'm trying to optimize package installation process and looking for a solution to create a hash of Sitecore update package that will not take into account attributes of the files added to this package. I do not care about modification dates and file permissions etc. Only content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hash should be based purely on the content of this package, but the problem is that it contains multiple archives in it. Is there any &quot;nice&quot; way to get this hash?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PowerShell &lt;strong&gt;Get-FileHash&lt;/strong&gt; could get a hash of one file content, but not in case of archived folder.&lt;/p&gt;&#xA;" OwnerUserId="646" LastActivityDate="2019-01-30T16:59:04.557" Title="Is there any way to create hash of an update package based on content only?" Tags="|packages|update-packages|" AnswerCount="1" CommentCount="5" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1223" PostTypeId="2" ParentId="1221" CreationDate="2016-10-12T20:05:52.777" Score="3" Body="&lt;p&gt;I'm not sure if that's the best solution, but yes, you can get the information you're looking for using &lt;code&gt;Fact_PageViews&lt;/code&gt; table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use query like that:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;SELECT TOP 10 ItemId, count(*) as c FROM Fact_PageViews GROUP BY ItemId ORDER BY c DESC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or with some more options:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;string query = string.Format(&quot;SELECT TOP {0} ItemId, count(*) as c FROM Fact_PageViews WHERE Date &amp;gt; DATEADD(DAY, -{1}, GETDATE()) GROUP BY ItemId ORDER BY c DESC&quot;, itemsCount, timespan);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-12T20:05:52.777" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1224" PostTypeId="1" AcceptedAnswerId="1229" CreationDate="2016-10-12T20:17:14.833" Score="7" ViewCount="2781" Body="&lt;p&gt;I'm using SXA and have found that while using the Maps and Location Finder component that the utodetect location feature is no longer available for insecure origins.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may see an error such as this in the DevTools console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C1hp8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C1hp8.png&quot; alt=&quot;API feature unavailable&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are some possible approaches to both configuring the HTTPS setup locally, but also for a team of developers?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also noticing that the Chrome browser complains about it too next to the omnibox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lPPvO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lPPvO.png&quot; alt=&quot;Not Secure message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="731" LastEditDate="2018-12-07T19:46:52.713" LastActivityDate="2018-12-07T19:46:52.713" Title="How do you setup your local Sitecore instance to support HTTPS in either a single or multi-tenant configuration?" Tags="|sxa|security|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1225" PostTypeId="1" CreationDate="2016-10-12T20:20:49.797" Score="3" ViewCount="183" Body="&lt;p&gt;My site is hosted in Sitecore 7.2 and we are using DMS for analytics. I tried to fetch count details based on user email who access a particular item which is restricted for one particular group. I got some users which are not belongs to the group. While investigate I found the below steps(I am not sure).&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;SELECT distinct ExternalUser,COUNT(distinct [Pages].visitid),[Pages].visitid&#xA;  FROM [Analytics].[dbo].[Pages]&#xA;  inner join [Analytics].[dbo].Visits on Pages.VisitID = Visits.Visitid and Visits.startdatetime &amp;gt;'10/11/2016'&#xA;  inner join [Analytics].[dbo].Visitors on Visitors.VisitorID = Visits.Visitorid&#xA;  where ItemID = 'Some Item ID' and &#xA;  Visits.[VisitorId] in (SELECT VisitorId&#xA;  FROM [Analytics].[dbo].[Visitors]&#xA;  )&#xA;  group by ExternalUser,[Pages].visitid&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;User logins with the credentials for which the particular page is denied.&lt;/li&gt;&#xA;&lt;li&gt;Visitors table gets updated with this details.&lt;/li&gt;&#xA;&lt;li&gt;Then users logs out and logs in with the email address to which the access is available.&lt;/li&gt;&#xA;&lt;li&gt;Now user can access the page.&lt;/li&gt;&#xA;&lt;li&gt;However the externaluser field is not getting updated in Visitors table.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can anyone let me know if my understanding is correct or not.&lt;/p&gt;&#xA;" OwnerUserId="570" LastEditorUserId="73" LastEditDate="2016-12-03T11:17:24.393" LastActivityDate="2017-02-05T21:24:50.840" Title="ExternalUser field in Sitecore DMS Visitors table" Tags="|sql-database|dms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1226" PostTypeId="2" ParentId="1224" CreationDate="2016-10-12T20:24:33.583" Score="2" Body="&lt;p&gt;You may create your own Self Signed Certificate from IIS as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YTvwh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YTvwh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once it is generated, you need to add the https domain binding to your site as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i0CsB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i0CsB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to select the newly created SSL certificate from the select box. Once this is setup, you need to make sure that the URL being generated is set to HTTPS.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2016-10-12T20:24:33.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1227" PostTypeId="1" AcceptedAnswerId="1234" CreationDate="2016-10-12T20:39:02.260" Score="2" ViewCount="1048" Body="&lt;p&gt;I have a scheduled task in Sitecore and I want to find the timestamp for its past executions. I can find this information in the Sitecore logs by looking to see when the info message gets written like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #3 03:31:12 INFO Starting: &amp;lt;TaskName&amp;gt; (asynchronously)&#xA;ManagedPoolThread #18 03:31:12 INFO Job started: ScheduleCommand '{&amp;lt;ID&amp;gt;}'&#xA;ManagedPoolThread #3 03:31:13 INFO Ended: &amp;lt;TaskName&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works in a sense but it is pretty tedious analyzing logs like this.&#xA;Is this history stored in a database/table anywhere that I can query?&lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-12T20:49:20.157" Title="How can I get a list of execution times for my Sitecore scheduled task?" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1228" PostTypeId="1" CreationDate="2016-10-12T20:40:12.507" Score="9" ViewCount="5418" Body="&lt;p&gt;What is the best way to create many items in bulk under a certain item, using code?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the things to consider in such scenarios?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the pros and cons?&lt;/p&gt;&#xA;" OwnerUserId="747" LastEditorUserId="731" LastEditDate="2018-12-07T19:48:43.213" LastActivityDate="2019-06-25T00:13:23.180" Title="What is the best way to bulk-create items programmatically?" Tags="|sitecore-api|" AnswerCount="3" CommentCount="3" ClosedDate="2016-10-23T15:47:34.373" ContentLicense="CC BY-SA 3.0" />
  <row Id="1229" PostTypeId="2" ParentId="1224" CreationDate="2016-10-12T20:41:40.650" Score="11" Body="&lt;p&gt;This is not a solution I recommend for a production server, but if you need a certificate for a development server, I have a solution for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use use a PowerShell script to create a certificate, and then configure my IIS site to use the certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the script I use. Before running the script you must set the variable &lt;code&gt;$dnsname&lt;/code&gt; to the name of your site.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$dnsname = &quot;aaa&quot;&#xA;$pwd = ConvertTo-SecureString -String &quot;123456&quot; -Force -AsPlainText&#xA;$print = (New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname $dnsname).Thumbprint&#xA;$path = &quot;c:\Windows\temp\cert.pfx&quot;&#xA;Export-PfxCertificate -cert cert:\localMachine\my\$print -FilePath $path -Password $pwd&#xA;$file = ( Get-ChildItem -Path $path )&#xA;$file | Import-PfxCertificate -CertStoreLocation cert:\LocalMachine\Root -Password $pwd&#xA;Remove-Item $path&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After you run the script, you can assign the certificate to your site:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open IIS Manager&lt;/li&gt;&#xA;&lt;li&gt;Select your site&lt;/li&gt;&#xA;&lt;li&gt;Edit bindings for the site&lt;/li&gt;&#xA;&lt;li&gt;Add a new binding. &lt;/li&gt;&#xA;&lt;li&gt;For &lt;strong&gt;type&lt;/strong&gt;, set &lt;code&gt;https&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;li&gt;For &lt;strong&gt;hostname&lt;/strong&gt;, set the value of the &lt;code&gt;$dnsname&lt;/code&gt; variable from the PowerShell script.&lt;/li&gt;&#xA;&lt;li&gt;From the &lt;strong&gt;SSL certificate&lt;/strong&gt; dropdown, select the certificate with the name that matches the hostname.&lt;/li&gt;&#xA;&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt; to save your changes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now you can access your server using your preferred host name without getting any browser errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note: Lest anyone mistake me for a PowerShell guru, I found this script on the internet long ago. I've been using it for years. At this point, I can't remember where I originally got, so unfortunately I cannot give proper credit.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="256" LastEditorUserId="114" LastEditDate="2016-10-13T08:56:06.870" LastActivityDate="2016-10-13T08:56:06.870" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1230" PostTypeId="1" AcceptedAnswerId="1243" CreationDate="2016-10-12T20:45:14.237" Score="14" ViewCount="22953" Body="&lt;p&gt;I have an item in the media library in Sitecore and I want to place a link to that item on the site. How do I properly get the link for that media item?&lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2017-11-09T14:02:45.740" Title="How do you get the link for a media item?" Tags="|media-library|link-manager|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1231" PostTypeId="2" ParentId="1230" CreationDate="2016-10-12T20:45:14.237" Score="4" Body="&lt;p&gt;MediaManager has a GetMediaUrl method that can be used for this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Resources.Media.MediaManager.GetMediaUrl(MediaItem item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sample usage:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;string mediaUrl = Sitecore.StringUtil.EnsurePrefix( '/',&#xA;  Sitecore.Resources.Media.MediaManager.GetMediaUrl(mediaItem));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-12T20:45:14.237" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1232" PostTypeId="2" ParentId="1221" CreationDate="2016-10-12T20:46:29.057" Score="19" Body="&lt;p&gt;Here is how you can do this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Create reporting query item&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create somewhere an item of template &lt;code&gt;/sitecore/templates/System/Analytics/ReportQuery&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example fields configuration:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Write down an item &lt;strong&gt;ID&lt;/strong&gt; somewhere, we will need it later.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pHXm7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pHXm7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Create item based reporting query class&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example code:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: This &lt;code&gt;Constants.ReportingQueries.ItemVisits&lt;/code&gt; is an item ID of your reporting query item, put this into constant or pull from configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public class ExampleVisitsQuery : ItemBasedReportingQuery&#xA;{&#xA;    public ExampleVisitsQuery(ReportDataProviderBase reportProvider = null)&#xA;        : base(Constants.ReportingQueries.ItemVisits, reportProvider)&#xA;    {&#xA;    }&#xA;&#xA;    public ID ItemId { get; set; }&#xA;&#xA;    public long Visits { get; protected set; }&#xA;&#xA;    public override void Execute()&#xA;    {&#xA;        var parameters = new Dictionary&amp;lt;string, object&amp;gt;&#xA;        {&#xA;            {&quot;@ItemId&quot;, ItemId}&#xA;        };&#xA;&#xA;        var dt = this.ExecuteQuery(parameters);&#xA;&#xA;        if (dt != null &amp;amp;&amp;amp; dt.Rows.Count &amp;gt; 0)&#xA;        {&#xA;            var result = dt.Rows[0][&quot;Visits&quot;];&#xA;            if (result != null &amp;amp;&amp;amp; result != DBNull.Value)&#xA;                Visits = (long)dt.Rows[0][&quot;Visits&quot;];&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. Get your data&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is where we get the data.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;var query = new ExampleVisitsQuery (this.ReportDataProvider)&#xA;{&#xA;    ItemId = id&#xA;};&#xA;&#xA;query.Execute();&#xA;&#xA;long itemViews = query.Visits;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&#xA;&lt;code&gt;this.ReportDataProvider&lt;/code&gt; is an instance of &lt;code&gt;ReportDataProviderBase&lt;/code&gt; type. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this can be null&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a output you get number of views.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;4. Sort your data&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you get Visits for all items you can easily sort them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming you have got a list of items ids as an input here is what you can do:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;if (entryIds.Any())&#xA;{&#xA;    var views = new Dictionary&amp;lt;ID, long&amp;gt;();&#xA;&#xA;    foreach (var id in entryIds)&#xA;    {&#xA;        var query = new ExampleVisitsQuery(this.ReportDataProvider)&#xA;        {&#xA;            ItemId = id&#xA;        };&#xA;&#xA;        query.Execute();&#xA;&#xA;        var itemViews = query.Visits;&#xA;&#xA;        if (itemViews &amp;gt; 0)&#xA;            views.Add(id, itemViews);&#xA;    }&#xA;&#xA;    var ids = views.OrderByDescending(x =&amp;gt; x.Value).Take(maxCount).Select(x =&amp;gt; x.Key).ToArray();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;source: &lt;a href=&quot;https://github.com/WeTeam/WeBlog&quot; rel=&quot;noreferrer&quot;&gt;WeBlog&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-12T21:18:59.703" LastActivityDate="2016-10-12T21:18:59.703" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1233" PostTypeId="2" ParentId="1228" CreationDate="2016-10-12T20:47:05.210" Score="22" Body="&lt;p&gt;I have outlined 3 options for you below. Rocks is perhaps the easiest to setup and use but isn't so easy to use on remote environments. SPE is perhaps the most flexible and powerful option. Writing code against the APIs is quick and dirty but gets the job done. So there is no right answer really, it depends on your use-case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1: Sitecore Rocks&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use Sitecore Rocks to do this quite easily:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/44a26c88-83a7-46f6-903c-5c59bcd3d35b/view/Discussions/3&quot; rel=&quot;noreferrer&quot;&gt;https://visualstudiogallery.msdn.microsoft.com/44a26c88-83a7-46f6-903c-5c59bcd3d35b/view/Discussions/3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Install Rocks from the link above and then in the Sitecore Rocks explorer, select the node/item where you want to create your items, bring up the context menu and select &quot;Add&quot; and then &quot;New Item&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/s2sNf.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s2sNf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select the template you want to use and add the details of one or more items like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/R5go7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/R5go7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click ok and Rocks should create them for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2: Sitecore Powershell Extension&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option is Sitecore Powershell Extensions. Install it from here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/S/Sitecore_PowerShell_console.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the following script and run it, it will prompt you for the item and template to use and then create items:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;#This script will create sitecore items based on given count and template&#xA;$InputCount = Show-Input &quot;How many items do you want to create?&quot;&#xA;$InputTemplate = Show-Input &quot;Using which template you want to create item?&quot;&#xA;$getCurrentItem = Get-Item .&#xA;$NewItemPath = $getCurrentItem.FullPath&#xA;$CurrentChildCount = $getCurrentItem.Children.Count+1&#xA;for ($index = $CurrentChildCount; $index -lt $CurrentChildCount+$InputCount; $index++) &#xA;{&#xA;   new-item -Path $NewItemPath -Name $index -type $InputTemplate&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info on how to use this script here: &lt;a href=&quot;http://sitecorejourney.nileshthakkar.in/2015/10/how-to-create-bulk-items-in-sitecore.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecorejourney.nileshthakkar.in/2015/10/how-to-create-bulk-items-in-sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Great GIT Book on SPE here: &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 3: Sitecore APIs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Write some c# code to do this and put it in a page in /sitecore/admin or somewhere else that is secure, add the Sitecore dll/namespace references needed and run it. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (new SecurityDisabler())&#xA;{&#xA;&#xA;  Database masterDb = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;&#xA;  Item parentItem = masterDb.Items[&quot;/sitecore/content/home&quot;];&#xA;&#xA;  TemplateItem myTemplate = masterDb.GetTemplate(&quot;my template&quot;);&#xA;&#xA;  for (int i = 1; i &amp;lt;= 100; i++)&#xA;  {&#xA;    parentItem.Add(&quot;my test item &quot; + i, myTemplate);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should create 100 items for you based on your specific template under the home item. Just change the path to the parent item and the template you want to use and it should work fine. Notice SecurityDisabler is used to allow permissions to create items.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="10" LastEditDate="2016-10-16T16:37:06.773" LastActivityDate="2016-10-16T16:37:06.773" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1234" PostTypeId="2" ParentId="1227" CreationDate="2016-10-12T20:49:20.157" Score="7" Body="&lt;p&gt;You can try the &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_Log_Analyzer.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Log Analyzer&lt;/a&gt;. You can filter by timeframe and add a string qualifier and look for Job started/ended statements in the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HK04A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HK04A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-10-12T20:49:20.157" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1235" PostTypeId="2" ParentId="1228" CreationDate="2016-10-12T21:01:31.707" Score="17" Body="&lt;p&gt;Sitecore PowerShell Extensions provides a great way to create items in bulk.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a simple script.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;foreach($index in 1..10) {&#xA;    $item = New-Item -Path &quot;master:\content\home\sample item$($index)&quot; -ItemType &quot;Sample/Sample Item&quot;&#xA;    $item.Title = &quot;Auto-generated index $($index)&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check out the Gitbook for SPE &lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; for more details.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Pro&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In a few lines of code using the PowerShell syntax and Sitecore API you can do all sorts of things&lt;/li&gt;&#xA;&lt;li&gt;Lots of documentation, videos, and people that know the module&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Con&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Requires the Sitecore PowerShell Extensions module to be installed within the Sitecore instance&lt;/li&gt;&#xA;&lt;li&gt;Requires some familiarity with PowerShell&lt;/li&gt;&#xA;&lt;li&gt;Not too difficult to shoot yourself in the foot. &lt;code&gt;Remove-Item&lt;/code&gt; can wipe out an entire tree.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Update 1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I've created a sample for generating users and items in SPE with the help of &lt;code&gt;Read-Variable&lt;/code&gt;. Check it out &lt;a href=&quot;https://gist.github.com/michaellwest/70a1588edbef7993dacf07eff7e88638&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://gist.githubusercontent.com/michaellwest/70a1588edbef7993dacf07eff7e88638/raw/02527b507d4aa523ca2757efdd085387d4f38a20/bulk-data-generator-2.png&quot; alt=&quot;Demo&quot;&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-06-25T00:13:23.180" LastActivityDate="2019-06-25T00:13:23.180" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="1236" PostTypeId="2" ParentId="1224" CreationDate="2016-10-12T21:04:33.387" Score="2" Body="&lt;p&gt;As an addition to the use of certificates, there's a few infrastructure settings that makes the system easier to manage. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I recommend adding a boolean config setting that will enable/disable the ssl depending on the environment. It helps to test with SSL but it's not always required to go through the SSL setup just to build a feature or configure an additional environment. &lt;/li&gt;&#xA;&lt;li&gt;I would add an attribute to each site node to specify if that site uses SSL. Not all sites may be covered during a license lapse or if they're newly migrated.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="597" LastActivityDate="2016-10-12T21:04:33.387" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1237" PostTypeId="2" ParentId="1201" CreationDate="2016-10-12T21:07:14.373" Score="2" Body="&lt;p&gt;Sitecore's use of Mongo isn't typical so be careful when looking at RAM recommendations for Mongo. My advice is to size your Mongo data servers as you would SQL servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as data growth, every site is different so there isn't an exact formula. However, one I've used in the past is this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Total pageviews / pages per session) * 4kb  = total for number of interactions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Number of unique sessions * 2.5kb = total for contacts&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Over a duration, adding the total for interactions to the total for contacts will give you the amount of disk space you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another consideration when doing these calculations is your data archiving strategy - especially around anonymous users, how long do you keep that data?&lt;/p&gt;&#xA;" OwnerUserId="98" LastEditorUserId="98" LastEditDate="2016-10-13T02:41:41.977" LastActivityDate="2016-10-13T02:41:41.977" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1238" PostTypeId="1" AcceptedAnswerId="1241" CreationDate="2016-10-12T21:08:13.317" Score="4" ViewCount="624" Body="&lt;p&gt;I am trying to create a custom WFFM SaveAction that sends an email, and I would like to still use the Email Editor. The problem is, how do I get the information entered through the editor in my custom SaveAction. If I inherit from SendMail, I can't add the SaveAction to the form. I get in the log: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The constructor parameters may not match or it may be an abstract class.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So I just step back to using ISaveAction, but then I can't access the data from the editor. It seems like I need the IMailSender and IEmailAttributes that SendMail takes, but I can't seem to make that work. How do I access the data from the email editor in a custom SaveAction?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM 8.1&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="137" LastEditDate="2017-04-05T11:14:32.353" LastActivityDate="2017-04-05T11:14:32.353" Title="WFFM Unable to use Email Editor in Custom Send Email action" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1241" PostTypeId="2" ParentId="1238" CreationDate="2016-10-12T21:23:41.353" Score="4" Body="&lt;p&gt;You need to provide the dependencies in config. For example, the out of the box &lt;code&gt;Send Email Message&lt;/code&gt; save action has the following definition in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YmKsY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YmKsY.png&quot; alt=&quot;Send Email Definition&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you check in &lt;code&gt;Sitecore.WFFM.Dependencies.config&lt;/code&gt; you will find a matching definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;wffm&amp;gt;&#xA;    &amp;lt;!--Save actions constructor configuration--&amp;gt;&#xA;    &amp;lt;actions&amp;gt;&#xA;      ...&#xA;      &amp;lt;sendMessage type=&quot;Sitecore.WFFM.Actions.SaveActions.SendMessage, Sitecore.WFFM.Actions&quot;&amp;gt;&#xA;        &amp;lt;param name=&quot;settings&quot; ref=&quot;/sitecore/wffm/settings&quot; /&amp;gt;&#xA;        &amp;lt;param name=&quot;mailSender&quot; ref=&quot;/sitecore/wffm/mailSender&quot; /&amp;gt;&#xA;      &amp;lt;/sendMessage&amp;gt;&#xA;      ...&#xA;    &amp;lt;/actions&amp;gt;&#xA;  &amp;lt;/wffm&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you create a custom save action then create a duplicate of this node and change the &lt;code&gt;type&lt;/code&gt; to your own implementation and change the &lt;code&gt;Factory Object Name&lt;/code&gt; to point to your new config node.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-12T21:23:41.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1242" PostTypeId="2" ParentId="1224" CreationDate="2016-10-12T21:31:31.147" Score="5" Body="&lt;p&gt;You can install a self signed cert as described in other answers here but also there is a new free SSL cert provider called Lets Encrypt: &lt;a href=&quot;https://letsencrypt.org/&quot; rel=&quot;nofollow&quot;&gt;https://letsencrypt.org/&lt;/a&gt;. I believe you can install ssl certs from here wherever you like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rick Strahl has a great post on how to do this easily on Windows using &lt;a href=&quot;https://github.com/Lone-Coder/letsencrypt-win-simple/releases&quot; rel=&quot;nofollow&quot;&gt;letsencrypt-win-simple&lt;/a&gt; in his blow post here: &lt;a href=&quot;https://weblog.west-wind.com/posts/2016/feb/22/using-lets-encrypt-with-iis-on-windows&quot; rel=&quot;nofollow&quot;&gt;https://weblog.west-wind.com/posts/2016/feb/22/using-lets-encrypt-with-iis-on-windows&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In terms of enabling/disabling SSL we handle enforcing HTTPs like so with an IIS rewrite rule and put this in our production and staging configs etc. You could enable this in development environments too if you need to:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;rule name=&quot;HTTP to HTTPS&quot; stopProcessing=&quot;true&quot; xdt:Transform=&quot;InsertBefore(/configuration/system.webServer/rewrite/rules/*[1])&quot;&amp;gt;&#xA;        &amp;lt;match url=&quot;.*&quot; /&amp;gt;&#xA;        &amp;lt;conditions&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;off&quot; ignoreCase=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/conditions&amp;gt;&#xA;        &amp;lt;action type=&quot;Redirect&quot; redirectType=&quot;Permanent&quot; url=&quot;https://{HTTP_HOST}/{R:0}&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastEditorUserId="114" LastEditDate="2016-10-13T08:55:01.057" LastActivityDate="2016-10-13T08:55:01.057" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1243" PostTypeId="2" ParentId="1230" CreationDate="2016-10-12T22:12:28.113" Score="17" Body="&lt;p&gt;This will also fold in protection for the media request:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var theURL = Sitecore.Resources.Media.MediaManager.GetMediaUrl(mediaItem);&#xA;mediaUrl = Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(theURL);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the link to Sitecore documentation that explains about protecting Sitecore media from abuse - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening/configuring/protect_media_request&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_hardening/configuring/protect_media_request&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="365" LastEditorUserId="172" LastEditDate="2017-11-09T14:02:45.740" LastActivityDate="2017-11-09T14:02:45.740" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1244" PostTypeId="2" ParentId="1211" CreationDate="2016-10-12T22:18:39.280" Score="1" Body="&lt;p&gt;This link speaks to this topic: &lt;a href=&quot;http://blog.outerthoughts.com/2013/07/setting-up-apache-solr-on-windows-as-a-service/&quot; rel=&quot;nofollow&quot;&gt;http://blog.outerthoughts.com/2013/07/setting-up-apache-solr-on-windows-as-a-service/&lt;/a&gt; (but note there are typos in the sample script in that link!).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use the prunmgr.exe in that link and name it SolrService.exe and then execute this at the cmd line (assuming R is your installation drive for Solr):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;R:\solr-4.10.4\sitecore\SolrService.exe //IS//SolrService --DisplayName=&quot;Solr Service&quot; --Install=R:\solr-4.10.4\sitecore\SolrService.exe --LogPath=R:\solr-4.10.4\sitecore\logs --LogLevel=Debug --StdOutput=auto --StdError=auto --StartMode=java --StopMode=java --Jvm=auto ++JvmOptions=-Djetty.home=R:\solr-4.10.4\sitecore ++JvmOptions=-DSTOP.PORT=8087 ++JvmOptions=-DSTOP.KEY=stopsolr ++JvmOptions=-Djetty.logs=R:\solr-4.10.4\sitecore\logs ++JvmOptions=-Dorg.eclipse.jetty.util.log.SOURCE=true ++JvmOptions=-XX:MaxPermSize=128M --Classpath=R:\solr-4.10.4\sitecore\start.jar --StartClass=org.eclipse.jetty.start.Main ++StartParams=OPTION=ALL ++StartParams=R:\solr-4.10.4\sitecore\etc\jetty.xml --StopClass=org.eclipse.jetty.start.Main ++StopParams=--stop ++JvmOptions=-Dsolr.solr.home=R:\solr-4.10.4\sitecore\solr --StartPath=R:\solr-4.10.4\sitecore&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-10-12T22:18:39.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1245" PostTypeId="1" AcceptedAnswerId="1246" CreationDate="2016-10-12T22:19:55.723" Score="7" ViewCount="10675" Body="&lt;p&gt;I am creating Solr Sitecore search index. After index was added to Solr and Sitecore configuration was updated to connect to it, I suddenly got yellow screen of death:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Connection error to search provider [Solr] : Unable to connect to&#xA;  [&lt;a href=&quot;http://localhost:8983/solr]&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:8983/solr]&lt;/a&gt;, Core: [mycore]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;With this call stack:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SearchProviderConnectionException: Connection error to search provider [Solr] : Unable to connect to [http://localhost:8983/solr], Core: [mycore]]&#xA;   Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Initialize() +961&#xA;   Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.Initialize() +169&#xA;   Sitecore.ContentSearch.SolrProvider.UnityIntegration.UnitySolrStartUp.Initialize() +1506&#xA;&#xA;[HttpException (0x80004005): Connection error to search provider [Solr] : Unable to connect to [http://localhost:8983/solr], Core: [mycore]]&#xA;   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +540&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +186&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343&#xA;&#xA;[HttpException (0x80004005): Connection error to search provider [Solr] : Unable to connect to [http://localhost:8983/solr], Core: [mycore]]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +539&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +125&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +731&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Checked Sitecore logs. There is another call stack there, but at the end it is the same 404 Solr error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;10832 17:31:14 ERROR Unable to connect to [http://localhost:8983/solr], Core: [mycore]&#xA;Exception: SolrNet.Exceptions.SolrConnectionException&#xA;Message: The remote server returned an error: (404) Not Found.&#xA;Source: SolrNet&#xA;   at SolrNet.Impl.PostSolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&#xA;   at SolrNet.Impl.SolrBasicServer`1.GetSchema()&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Initialize()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (404) Not Found.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at SolrNet.Impl.PostSolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to check that URL in browser everything works fine. Tried all these URLs below and all them returned 200 with expected page or XML data:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://localhost:8983/solr/mycore/select?q=*&amp;amp;rows=1000&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:8983/solr/mycore/select?q=*&amp;amp;rows=1000&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://localhost:8983/solr/#/&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:8983/solr/#/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://localhost:8983/solr/#/mycore&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:8983/solr/#/mycore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="633" LastActivityDate="2018-12-28T18:48:04.200" Title="Unable to connect to [http://localhost:8983/solr], Core: [mycore]" Tags="|solr|content-search|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1246" PostTypeId="2" ParentId="1245" CreationDate="2016-10-12T22:19:55.723" Score="13" Body="&lt;p&gt;After spending some time in Sitecore logs and googling I decided to check Solr logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case they are stored in &lt;code&gt;C:\solr\solr-5.4.1\server\logs\&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That was smart move. I immediately found a clue:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2016-10-12 21:21:34.271 INFO  (qtp7980742-52) [   ]&#xA;  o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores&#xA;  params={core=mycore&amp;amp;action=STATUS&amp;amp;version=2.2} status=0&#xA;  QTime=10  2016-10-12 21:21:34.284 ERROR (qtp7980742-54) [&lt;br&gt;&#xA;  x:mycore] o.a.s.h.a.ShowFileRequestHandler Can not find:&#xA;  schema.xml&#xA;  [C:\solr\solr-5.4.1\server\solr\mycore\conf\schema.xml]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It happened that I copied &lt;code&gt;schema.xml&lt;/code&gt; file to wrong location. After moving it to &lt;code&gt;mycore\conf&lt;/code&gt; and restarting site everything returned back to normal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope Sitecore can make that error message more helpful in next release.&lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-10-12T22:19:55.723" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1247" PostTypeId="1" CreationDate="2016-10-12T22:30:07.003" Score="7" ViewCount="1619" Body="&lt;p&gt;The preview mode loads the page, but it has the SPEAK square just spinning over the top of it with an server error in '/' Application at the top where the ribbon is suppose to be. If I inspect the page and remove the Div tag &quot; the preview loads fine and is functional.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a little bit of the stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Source Error: &#xA;Line 2:  @using Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Chunk&#xA;Line 3:  @model Sitecore.Mvc.Presentation.RenderingModel&#xA;Line 4:  @Html.Sitecore().Controls().Chunk(Model.Rendering)&#xA;Source File: e:\wwwroot\jenkins\Web\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\Chunk\Chunk.cshtml    Line: 4 &#xA;Stack Trace: &#xA;[MissingMethodException: Method not found: 'Boolean System.Web.WebPages.BuildManagerWrapper.IsNonUpdateablePrecompiledApp(System.Web.Hosting.VirtualPathProvider, Microsoft.Internal.Web.Utils.IVirtualPathUtility)'.]&#xA;   System.Web.Mvc.BuildManagerViewEngine.GetPrecompiledNonUpdateable() +0&#xA;   System.Threading.LazyInitializer.EnsureInitializedCore(T&amp;amp; target, Boolean&amp;amp; initialized, Object&amp;amp; syncLock, Func`1 valueFactory) +246&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is a screen shot:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NH00j.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NH00j.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="749" LastEditorUserId="16" LastEditDate="2016-10-12T22:31:28.430" LastActivityDate="2016-10-12T23:53:17.107" Title="Sitecore 8.0 Preview Mode not rendering all the way" Tags="|content-editor|experience-editor|speak|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1248" PostTypeId="2" ParentId="1247" CreationDate="2016-10-12T22:34:08.487" Score="1" Body="&lt;p&gt;&lt;code&gt;[MissingMethodException]&lt;/code&gt; exceptions is nearly &lt;strong&gt;always&lt;/strong&gt; related to your binaries not being the version you expect them to be. Like running &lt;code&gt;sitecore.kernel.dll&lt;/code&gt; for Sitecore 8.1 on an 8.2 site and files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try copying in the complete DLL set from a vanilla archive of the version of Sitecore you're running to your &lt;code&gt;/bin&lt;/code&gt; directory and see if the problem resolves.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-12T22:34:08.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1249" PostTypeId="2" ParentId="1183" CreationDate="2016-10-12T22:36:05.803" Score="1" Body="&lt;p&gt;You could try deleting the Indexes directory and rebuilding all (in case there is some corruption).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know some who disable Lucene indexing entirely during publishing and then do a re-index once all the dust has settled.  Lucene has some cascading actions (Optimize and segment merges) that can be slow, esp if resources are limited.&#xA;You can disable indexing by changing the config settings, or programmatically via:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.ContentSearch.Maintenance.IndexCustodian.PauseIndexing();&#xA;IndexCustodian.ResumeIndexing();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can check the status of indexing with the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IndexCustodian.IsIndexingPaused( ISearchIndex index )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-10-12T22:36:05.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1250" PostTypeId="2" ParentId="1247" CreationDate="2016-10-12T22:43:57.697" Score="6" Body="&lt;p&gt;This is a common issue with the Sitecore Preview mode when the &lt;strong&gt;website&lt;/strong&gt; site definition has gone missing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In versions of Sitecore through 8.0 and lower (I'll edit with exact revision number), the &lt;strong&gt;website&lt;/strong&gt; site definition is hardcoded in the bowels of the Sitecore code, which means if you are trying to remove it, it can cause issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In versions of Sitecore 8.1 and later, this was resolved using a couple different Sitecore settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Two things to check:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Check The Site Definition in the Configuration&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hDXz9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hDXz9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Check Sitecore Settings&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If your version of Sitecore has it, check out these settings:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;  PAGE PREVIEW SITE NAME &#xA;            Specifies the name of the site that is used to generate page previews, for example &quot;website&quot;.&#xA;            If blank, Sitecore uses the value in the Preview.DefaultSite setting.&#xA;            Default value: &quot;&quot; (use the value of the Preview.DefaultSite setting) --&amp;gt;&#xA;&amp;lt;setting name=&quot;PagePreview.SiteName&quot; value=&quot;&quot;/&amp;gt;&#xA;&amp;lt;!--&#xA;  PREVIEW - RESOLVE SITE&#xA;            If false, the Preview.DefaultSite setting specifies the context site to use when a user previews an item.&#xA;            If true, when a user previews an item, Sitecore tries to resolve the root item and the context site based on the current content language&#xA;            and the path to the item. If Sitecore cannot resolve the context site, it uses the site that is specified in the Preview.DefaultSite setting.&#xA;            Default value: false (use the value of the Preview.DefaultSite setting) --&amp;gt;&#xA;&amp;lt;setting name=&quot;Preview.ResolveSite&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If your intention is to get rid of the &lt;strong&gt;website&lt;/strong&gt; defiition, you won't&#xA;  be able to do it until you set these variables (assuming your version&#xA;  of Sitecore supports it.)  If your version of Sitecore doesn't &lt;em&gt;NOT&lt;/em&gt;&#xA;  support it, you will be forced to keep the &lt;strong&gt;website&lt;/strong&gt; active.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-12T23:53:17.107" LastActivityDate="2016-10-12T23:53:17.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1251" PostTypeId="2" ParentId="1230" CreationDate="2016-10-12T22:50:05.340" Score="5" Body="&lt;p&gt;Use this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Data.Fields.ImageField myImageItem = (Sitecore.Data.Fields.ImageField)Sitecore.Context.Item.Fields[&quot;MyImageField&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Resources.Media.MediaManager.GetMediaUrl(myImageItem.MediaItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="725" LastActivityDate="2016-10-12T22:50:05.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1252" PostTypeId="1" AcceptedAnswerId="1255" CreationDate="2016-10-13T00:22:52.997" Score="3" ViewCount="590" Body="&lt;p&gt;When creating buckets, I've always puzzled over one implementation decision from Sitecore in regards to buckets. By default, the bucket parent item is included in the list when you are searching for bucket items. Essentially my question is, WHY? It seems really strange. If I have a a product bucket with a bunch of product items in it, why wold I want to see the product bucket item come up in the results?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm aware that there is a setting to turn this off (&lt;code&gt;BucketConfiguration.ExcludeContextItemFromResult&lt;/code&gt;) but I can't understand why that is set to false by default.&lt;/p&gt;&#xA;" OwnerUserId="148" LastEditorUserId="246" LastEditDate="2016-10-13T00:39:55.327" LastActivityDate="2016-10-13T01:05:01.110" Title="Why is Sitecore including the bucket parent in the search result by default" Tags="|best-practices|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1253" PostTypeId="1" CreationDate="2016-10-13T00:37:32.320" Score="3" ViewCount="855" Body="&lt;p&gt;Images do not appear in &lt;code&gt;Select Media&lt;/code&gt; dialog when I click Browse button in Image field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;HTTP response from ItemWeb API that expected to return Images contains this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;String was not recognized as a valid DateTime.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;There is an associated entry in Log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2724 10:59:23 ERROR [Item Web API] String was not recognized as a valid DateTime.&#xA;Exception: System.FormatException&#xA;Message: String was not recognized as a valid DateTime.&#xA;Source: mscorlib&#xA;   at System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style)&#xA;   at Sitecore.ItemWebApi.Facets.UpdatedFacetProvider.GetFacetValue(String value)&#xA;   at Sitecore.ItemWebApi.Pipelines.Request.Search.GetFacets(IList`1 facetProviders, FacetResults facets)&#xA;   at Sitecore.ItemWebApi.Pipelines.Request.Search.RunSearchPipeline(RequestArgs args, String searchText, String languageName, Boolean showHiddenItems)&#xA;   at Sitecore.ItemWebApi.Pipelines.Request.Search.Process(RequestArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.ItemWebApi.Pipelines.HttpRequest.LaunchRequest.Process(HttpRequestArgs arguments)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have Sitecore instances with the same site in different environments and issue is not reproducible there. One difference between this instance and others is lots of Media Items imported from Sitecore 6.5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas how to fix this issue?&lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="246" LastEditDate="2016-10-13T00:38:58.257" LastActivityDate="2016-10-13T01:19:38.097" Title="&quot;String was not recognized as a valid DateTime&quot; error" Tags="|webapi|migration|serialization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1254" PostTypeId="1" AcceptedAnswerId="1373" CreationDate="2016-10-13T01:02:46.720" Score="4" ViewCount="655" Body="&lt;p&gt;After migrating content from Sitecore 6.5 I see dates staying not in canonical 8+ Sitecore format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some samples (raw values) from my current project:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;20140329T120917&lt;/code&gt; - no &lt;code&gt;Z&lt;/code&gt; at the end&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;20140329T123823:635316935030258782&lt;/code&gt; - no need for so many digits&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;All dates created in Sitecore 8 (I checked &lt;code&gt;Created&lt;/code&gt; and &lt;code&gt;Updated&lt;/code&gt; fields) follow the same &lt;code&gt;yyyyMMddTHHmmssZ&lt;/code&gt; pattern.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to change dates format when content is moved from old Sitecore version to a new one?&lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="180" LastEditDate="2016-10-13T07:02:37.857" LastActivityDate="2016-10-16T12:21:25.257" Title="How to clean up date field values migrated from old Sitecore versions" Tags="|migration|serialization|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1255" PostTypeId="2" ParentId="1252" CreationDate="2016-10-13T01:05:01.110" Score="4" Body="&lt;p&gt;We're definitely in the grey zone here; as not very many people can speculate on the reasoning that took place while this functionality was designed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said; the simpler the explanation the more likely it is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a bucket is created, all that really happens is the &lt;code&gt;IsBucketItemCheckbox&lt;/code&gt; field gets set to &lt;code&gt;checked&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;  using (new EditContext(parameter, SecurityCheck.Disable))&#xA;  {&#xA;    if (!parameter.IsBucketItemCheck())&#xA;      parameter.IsBucketItemCheckBox().Checked = true;&#xA;    Event.RaiseEvent(&quot;item:bucketing:ending&quot;, (object) parameters, (object) this);&#xA;    Log.Info(&quot;Created Bucket Item for &quot; + (object) parameter.ID, (object) this);&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Vce4c.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Vce4c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then; bucket config patches in bucket code to the &lt;code&gt;AddFromTemplateCommand&lt;/code&gt; functionality on a Data Provider level.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;database id=&quot;master&quot;&amp;gt;&#xA;    &amp;lt;Engines.DataEngine.Commands.AddFromTemplatePrototype&amp;gt;&#xA;      &amp;lt;obj type=&quot;Sitecore.Buckets.Commands.AddFromTemplateCommand, Sitecore.Buckets&quot; /&amp;gt;&#xA;    &amp;lt;/Engines.DataEngine.Commands.AddFromTemplatePrototype&amp;gt;&#xA;  &amp;lt;/database&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Jumping through a few hoops and pipelines, essentially Sitecore will check the same checkbox for new items, if the parent item has the checkbox checked.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;buckets.isBucket&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Buckets.Pipelines.BucketStatus.IsBucket.CheckIfItemIsABucket, Sitecore.Buckets&quot;/&amp;gt;&#xA;  &amp;lt;/buckets.isBucket&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the code&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;internal static bool IsBucketItemCheck(this Item item)&#xA;{&#xA;  if (item != null &amp;amp;&amp;amp; item.Fields[Sitecore.Buckets.Util.Constants.IsBucket] != null)&#xA;    return item.Fields[Sitecore.Buckets.Util.Constants.IsBucket].Value.Equals(&quot;1&quot;);&#xA;  return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(item, in this case, is the item the command is being invoked on - which would be the parent Item. Remember, new items are added via &lt;code&gt;parent.Add()&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I believe that's all there is to it. The indexing code for buckets will index all items where the &lt;code&gt;Is Bucket&lt;/code&gt; field is checked and that's why you see your root node in results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unless you disable it, as you mention yourself.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-13T01:05:01.110" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1256" PostTypeId="1" AcceptedAnswerId="1598" CreationDate="2016-10-13T01:14:45.810" Score="7" ViewCount="986" Body="&lt;p&gt;I have a strange situation where I get a 'Item not found' on postback in Experience Editor when I edit an page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The culprit is a controller rendering which has a line of code in to get the current page item using Glass:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContentBase pageHeading = GetDataSourceItem&amp;lt;ContentBase&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On initial load of the page in Experience Editor the Page Heading item is resolved correctly and populated. However after editing the title of the page and saving, if I debug I can see pageHeading has resolved to our custom 404 page - set in: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ItemNotFoundUrl&quot; value=&quot;page-not-found.aspx&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The controller therefore returns the page not found at the bottom of the controller and instead of reloading my current page (with the updated heading) in Experience Editor it loads the page not found page, as pageHeading below has resolved to the page-not-found page:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return PartialView(&quot;~/Views/GoAhead/Partials/_PageHeading.cshtml&quot;, pageHeading);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The other result of this is that the Final Renderings on the page I was editing get blitzed. I have to go and reset the layout on my page to get them back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't figure out what is causing it and annoyingly if I copy the controller rending in Sitecore and point it at the same controller code it works fine. It's just this PageHeading controller rendering that causes this. This suggests the issue is somehow related to the PageHeading controller rendering item and not the code. I've compared it with my copy of the controller rendering item and it seems the same and that works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further info:&lt;/strong&gt; Sitecore 8.1 Update 2, Sitecore MVC, Glass&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="73" LastEditDate="2016-11-02T21:46:30.363" LastActivityDate="2016-11-02T21:46:30.363" Title="Item not found when saving page in Experience Editor" Tags="|experience-editor|presentation|mvc|glass-mapper|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1257" PostTypeId="2" ParentId="1253" CreationDate="2016-10-13T01:19:38.097" Score="5" Body="&lt;p&gt;The issue may be related to &lt;a href=&quot;https://sitecore.stackexchange.com/q/1254/148&quot;&gt;your other question&lt;/a&gt; where it appears that you have some invalid date formats. From the StackTrace it looks like the issue is related to one of the Media facets. I would try disabling the 'Date uploaded' facet under &lt;code&gt;/sitecore/client/Applications/Dialogs/SelectMediaDialog/PageSettings/Facets&lt;/code&gt; from the &lt;strong&gt;Core&lt;/strong&gt; database to see if that removes the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about disabling facets at the bottom of this knowledge base article: &lt;a href=&quot;https://kb.sitecore.net/articles/576214&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/576214&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="148" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-13T01:19:38.097" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1258" PostTypeId="1" AcceptedAnswerId="1268" CreationDate="2016-10-13T02:40:19.837" Score="18" ViewCount="9117" Body="&lt;p&gt;I would like to manually clear the media cache on a production CD instance. Is there a way to clear the cache without causing disruption to the site?&lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="246" LastEditDate="2016-10-13T10:46:07.893" LastActivityDate="2016-10-13T14:52:45.057" Title="How can I safely clear the media cache on a production sitecore CD instance?" Tags="|caching|best-practices|media-library|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1259" PostTypeId="2" ParentId="1258" CreationDate="2016-10-13T02:40:19.837" Score="7" Body="&lt;p&gt;I have just manually deleted the folders under App_Data/MediaCache/[site name] on each CD server. Never seems to have caused disruption since Sitecore will fetch the image from the database again if it does not find a cached version.&lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-13T02:40:19.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1260" PostTypeId="1" AcceptedAnswerId="1265" CreationDate="2016-10-13T02:47:12.983" Score="22" ViewCount="1684" Body="&lt;p&gt;I am referring specifically the Links database, stored in the &quot;Links&quot; table, as defined here: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!-- LINK DATABASE --&amp;gt;&#xA;&amp;lt;LinkDatabase type=&quot;Sitecore.Data.$(database).$(database)LinkDatabase,&#xA;Sitecore.Kernel&quot;&amp;gt;&#xA;  &amp;lt;param connectionStringName=&quot;core&quot; /&amp;gt;&#xA;&amp;lt;/LinkDatabase&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does the site experience performance degradation? Does the site go down? Does nothing interesting happen? What about rebuilding core vs. master vs. web links database?&lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-13T14:43:50.253" Title="What is the impact to a Sitecore instance while rebuilding the links database?" Tags="|indexing|link-database|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1261" PostTypeId="1" AcceptedAnswerId="1263" CreationDate="2016-10-13T03:02:59.853" Score="7" ViewCount="2345" Body="&lt;p&gt;Are there any specific setting changes for IIS specific to Sitecore? Or are general ASP.NET IIS best practices fully applicable to Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="98" LastEditorUserId="73" LastEditDate="2017-06-08T13:42:09.093" LastActivityDate="2017-06-08T13:42:09.093" Title="Are there specific IIS setting recommendations for Sitecore?" Tags="|configuration|iis|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1262" PostTypeId="1" AcceptedAnswerId="1267" CreationDate="2016-10-13T03:14:18.380" Score="-11" ViewCount="823" Body="&lt;p&gt;Actually we were facing some intermittent session timeout and someone has mentioned about Analytics.Robots.SessionTimeout . We fixed our session timeout issue by increasing the above analytics robots session timeout to 30 mins in sync with what we have for normal users session time frame. I want to understand bit more about this analytics robots and how it helps in overall user interaction.&lt;/p&gt;&#xA;" OwnerUserId="102" LastActivityDate="2016-10-13T06:31:31.117" Title="Sitecore xdb robot detection?" Tags="|xdb|session-state|" AnswerCount="1" CommentCount="1" ClosedDate="2016-10-13T07:32:53.013" ContentLicense="CC BY-SA 3.0" />
  <row Id="1263" PostTypeId="2" ParentId="1261" CreationDate="2016-10-13T03:35:40.787" Score="13" Body="&lt;p&gt;I will recommend these specific settings for Sitecore in IIS: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Ensure that Maximum Worker Processes for the Application Pool is set to 1 (under advanced settings)&lt;/li&gt;&#xA;&lt;li&gt;Ensure that Load User Profile settings of the Application Pool is set to &quot;true&quot; (under advanced settings) &lt;/li&gt;&#xA;&lt;li&gt;Ensure anonymous access is denied for:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/App_Config &lt;/li&gt;&#xA;&lt;li&gt;/sitecore/admin&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/debug&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/webservice&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Enable HTTP keep alive&lt;/li&gt;&#xA;&lt;li&gt;Enable static content compression&lt;/li&gt;&#xA;&lt;li&gt;On the CMS server, enable dynamic content compression &lt;/li&gt;&#xA;&lt;li&gt;Disable execute permissions on the upload folder&lt;/li&gt;&#xA;&lt;li&gt;Enable content expiration using HTTP response headers, especially for the /sitecore folder (optional)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For a multisite solution it is recommended to have just one application pool for all websites.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="55" LastEditDate="2016-10-13T06:36:47.033" LastActivityDate="2016-10-13T06:36:47.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1264" PostTypeId="2" ParentId="1260" CreationDate="2016-10-13T03:43:15.227" Score="3" Body="&lt;p&gt;The site should not go down while rebuilding link databases. You may have performance issues if you have configured on the web database to have the links be rebuilt after each publish so you might want to coordenate when these tasks should be performed. Ideally when there is downtime on traffic on the website.&#xA;Have you checked this link?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Links%20Database.aspx&quot; rel=&quot;nofollow&quot;&gt;https://sdn.sitecore.net/Articles/Administration/Links%20Database.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-13T03:43:15.227" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1265" PostTypeId="2" ParentId="1260" CreationDate="2016-10-13T03:43:36.860" Score="12" Body="&lt;p&gt;Sitecore is using link database in order to speed-up resolving of relationships between items (referers/references). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It allows to increase performance of Sitecore client and shouldn't impact site performance on the content delivery. It can impact content delivery performance only if you're using link database in your custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If RebuildLinkDatabase dialog is finished successfully - everything is fine. There are no additional ways to check whether rebuilding was successful. However, rebuilding the link database will produce some load on database, so we would recommend to plan this operation at the time when site load is minimal.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-13T03:43:36.860" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1266" PostTypeId="2" ParentId="1258" CreationDate="2016-10-13T04:37:23.117" Score="19" Body="&lt;p&gt;Other option is to delete from time to time media cache using an schedule agent. Current value is 24 days but if you need to clear more ofen just decrease max age parameter of the last setting (see below settings). It is not recommended to clear media cache very often because you will have some performance impact. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;agent type=&quot;Sitecore.Tasks.CleanupAgent&quot; method=&quot;Run&quot; interval=&quot;01:00:00&quot;&amp;gt;&#xA;    &amp;lt;files hint=&quot;raw:AddCommand&quot;&amp;gt;&#xA;      &amp;lt;remove folder=&quot;$(dataFolder)/audit&quot; pattern=&quot;audit.*.txt&quot; maxCount=&quot;5&quot; minAge=&quot;01:00:00&quot; /&amp;gt;&#xA;      &amp;lt;remove folder=&quot;$(dataFolder)/logs&quot; pattern=&quot;log.*.txt&quot; maxCount=&quot;5&quot; minAge=&quot;01:00:00&quot; /&amp;gt;&#xA;      &amp;lt;remove folder=&quot;$(dataFolder)/viewstate&quot; pattern=&quot;*.txt&quot; maxAge=&quot;01:00:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;remove folder=&quot;/App_Data/MediaCache&quot; pattern=&quot;*.*&quot; maxAge=&quot;24.00:00:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/files&amp;gt;&#xA;  &amp;lt;/agent&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="237" LastEditDate="2016-10-13T07:28:30.673" LastActivityDate="2016-10-13T07:28:30.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1267" PostTypeId="2" ParentId="1262" CreationDate="2016-10-13T06:27:24.617" Score="5" Body="&lt;p&gt;Have you read the documentation of robots detection on the Sitecore doc-Portal?&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/robot_detection/visitor_identification_using_robot_detection&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/robot_detection/visitor_identification_using_robot_detection&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check the &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; cookie. If your users have the &lt;code&gt;IsClassificationGuessed&lt;/code&gt; key set to true, they would be classified as a robot and the session timeout would be reduced to your &lt;code&gt;Analytics.Robots.SessionTimeout&lt;/code&gt; value (default = 1min)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A user could be identified as a robot in following cases: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;the timeout setting comparison javascript would be executed fastet than 30 seconds after document-load (see the doc link above for more details), &lt;/li&gt;&#xA;&lt;li&gt;the user agent is in your &quot;blacklist&quot;,&lt;/li&gt;&#xA;&lt;li&gt;the IP-Address of your user is in your &quot;blacklist&quot;. Robots blacklists are stored under &lt;code&gt;Sitecore.Analytics.ExcludeRobots.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The system can identify your users as a malicious robot (code = 930), as a autodetected robot (code = 925) or as a other robot type (any code value greater than 900).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are able to reproduce/debugging the issue, you can watch the value of &lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.Contact.System.Classification&lt;/code&gt; to see the actual classification of the current user (or made a processor to log the value to your log-system).&lt;/p&gt;&#xA;" OwnerUserId="42" LastEditorUserId="66" LastEditDate="2016-10-13T06:31:31.117" LastActivityDate="2016-10-13T06:31:31.117" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1268" PostTypeId="2" ParentId="1258" CreationDate="2016-10-13T07:16:13.830" Score="18" Body="&lt;p&gt;It is completely safe to just delete the folder /App_data/MediaCache without causing disruption. The minute an image gets called up again, it will be cached again, so no worries about the functionality of your website. We make sure it get's cleaned up every week. &#xA;In addition you can set up a clean up job to do the work for you. Unfortunately the usage of /sitecore/admin/cache.aspx does not clear the mediacache for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have an high performance on your website and do not want to cache your media items at all, you can always set this up in the sitecore.config file&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--  MEDIA - CACHE FOLDER&#xA;        The folder under which media files are cached by the system.&#xA;        Default value: /App_Data/MediaCache&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;Media.CacheFolder&quot; value=&quot;/App_Data/MediaCache&quot; /&amp;gt;&#xA;&amp;lt;!--  MEDIA - CACHING ENABLED&#xA;        Indicates if caching of media files is enabled.&#xA;        Default value: true&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;Media.CachingEnabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In addition, you can use an orchestration tool like puppet to periodically clean up your cache folder based on the timestamp of the files, this way, you don't have to worry about your cached items as they will be cleaned up automatically.&lt;/p&gt;&#xA;" OwnerUserId="755" LastEditorUserId="237" LastEditDate="2016-10-13T07:29:03.827" LastActivityDate="2016-10-13T07:29:03.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1269" PostTypeId="1" AcceptedAnswerId="1271" CreationDate="2016-10-13T08:09:45.517" Score="21" ViewCount="778" Body="&lt;p&gt;In short my question is: Why is a user not added to an engagement plan until the session of a user is timed out?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My setup:&lt;/strong&gt;&#xA;I am running Sitecore 8.1.3 and I have created a simple engagement plan, which simply sends a confirmation mail to a user stating that he has subscribed to a newsletter. It consists of 3 elements:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Initial state with a timeout of 1 minute&lt;/li&gt;&#xA;&lt;li&gt;Condition which is always evaluated to true&lt;/li&gt;&#xA;&lt;li&gt;Action which sends a campaign (EXM) mail to the user&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I add the user to the engagement via a rule action on a goal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The waiting game:&lt;/strong&gt; When the user submits to a newsletter I trigger the goal and from the logs, I can see that the user is added to the engagement plan, however I can't see the user in the Engagement Plan supervisor and no mails are send. Only when the session of the user times out (20 minutes after the last page view), the user is added to the engagement plan, which i can verify by looking at the xDB and using the EA supervisor. Only after I can see that the user is indeed added to the engagement plan, he is process through the plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have I misunderstood something, or are engagement plans not suitable for sending notifications to users immediately? I know that i could simply add an action to the goal that sends an email, but my customer plans to do more elaborate things as part of the sign-up process. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: I know that Sitecore provides a module called &quot;Live session agent&quot;, but I am unsure if that would solve my questions, based on the documentation that Sitecore provided (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Engagement_Automation_Live_Session_Agent.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Engagement_Automation_Live_Session_Agent.aspx&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="758" LastEditorUserId="758" LastEditDate="2016-10-13T08:46:15.160" LastActivityDate="2016-10-13T14:10:20.220" Title="Engagement Plans: Why is a user not added to an engagement plan until the session of a user is timed out?" Tags="|xdb|session-state|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1270" PostTypeId="2" ParentId="1269" CreationDate="2016-10-13T08:20:19.927" Score="4" Body="&lt;p&gt;This is because xDB data is not committed until after the user's session ends.&lt;/p&gt;&#xA;&lt;p&gt;This link contains a little more information on why that is: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Session state is a way of identifying contacts on your website by assigning them a unique session ID and by using cookies. Every time a contact makes a request, such as triggering a campaign or a goal this information is held in session state until the end of session.&lt;/p&gt;&#xA;&lt;p&gt;This means that fewer server trips are needed to write data back and forth to the collection database. Instead, xDB makes one trip at the start of a session to identify the contact and a second at the end to save all the session data back to the collection database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The xDB data is committed in the &lt;code&gt;postSessionEnd&lt;/code&gt; pipeline if I'm not mistaken. There is also the &lt;code&gt;sessionEnd&lt;/code&gt; pipeline which handles some analytics stuff among other things and is run before the &lt;code&gt;postSessionEnd&lt;/code&gt; pipeline (obviously).&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sessionEnd&amp;gt;&#xA;  &amp;lt;!-- ... --&amp;gt;&#xA;  &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.SessionEnd.InitializeTracker, Sitecore.Analytics&amp;quot; patch:source=&amp;quot;Sitecore.Analytics.Tracking.config&amp;quot;/&amp;gt;&#xA;  &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.SessionEnd.RaiseVisitEnd,Sitecore.Analytics&amp;quot; patch:source=&amp;quot;Sitecore.Analytics.config&amp;quot;/&amp;gt;&#xA;&amp;lt;/sessionEnd&amp;gt;&#xA;&amp;lt;postSessionEnd&amp;gt;&#xA;  &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.PostSessionEnd.CommitSession, Sitecore.Analytics&amp;quot; patch:source=&amp;quot;Sitecore.Analytics.Tracking.Database.config&amp;quot;/&amp;gt;&#xA;&amp;lt;/postSessionEnd&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I don't know enough about engagement plans to offer any advice on wether or not it is suited for sending notifications immediately.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-13T08:26:44.483" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1271" PostTypeId="2" ParentId="1269" CreationDate="2016-10-13T08:24:57.190" Score="16" Body="&lt;p&gt;This is because the user is not flushed to MongoDB before SessionEnd. There are various reasons for this&lt;sup&gt;1&lt;/sup&gt;, one being that you want to minimize the writes to MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to do something immediately you can manually flush the user session, but keep in mind that it can have side effects, so consider if it's absolutely required. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can abandon the session like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.EndTracking();&#xA;HttpContext.Current.Session.Abandon();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;sup&gt;1&lt;/sup&gt; There's a bit more to it than just performance. Once you have a user session that contact is locked (to that specific web cluster) for the duration of the session. This mean other server roles will not be able to modify the contact during this period. Consider this scenario: You have a job running on your CM server which synchronises contact information from your CRM system. At the same time the user is browsing the website (on the CD server) and updates her contact info. Sitecore knows how to merge your changes upon flushing the user session, but you have to be aware of this yourself if you create a job which needs to modify the user.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="10" LastEditDate="2016-10-13T14:10:20.220" LastActivityDate="2016-10-13T14:10:20.220" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1272" PostTypeId="2" ParentId="1260" CreationDate="2016-10-13T08:29:55.717" Score="1" Body="&lt;p&gt;Rebuilding link databases wouldn't impact on the performance of the site itself, but it will impact on CM instance, so Content Editors will fill it a bit delayed in actions, it shouldn't impact on CD, because the process will be handled on CM Server anyway. Even if it fails your site shouldn't go down and etc., as what it does it fixes broken links (references to other items), so for instance you've deleted the item and didn't repoint the reference link to another item. &lt;/p&gt;&#xA;" OwnerUserId="725" LastActivityDate="2016-10-13T08:29:55.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1273" PostTypeId="2" ParentId="1269" CreationDate="2016-10-13T08:31:19.323" Score="3" Body="&lt;p&gt;In previous incarnations, when the Experience Platform was the DMS it was all very chatty to the SQL server; for busy sites it really hammered it and we saw a few customers just turn it off.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's matured now and data is flushed through to the xDB in one hit after the users session times ends. Which might be 20 mins, or could be longer if you have a very engaging site!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the short answer is no, you can't rely on it for instant notifications and will probably need a separate solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively in production, I suppose it's worth considering if 20 mins for confirmation of a sign-up is actually a problem; It will be if they need to validate themselves, it won't be if it's just for reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For development purposes as &lt;a href=&quot;https://sitecore.stackexchange.com/users/121/jacob-nielsen&quot;&gt;https://sitecore.stackexchange.com/users/121/jacob-nielsen&lt;/a&gt; mentioned you can flush the session to push the user onto the next step in the journey. Personally I would use this for &lt;em&gt;development&lt;/em&gt; and &lt;em&gt;test&lt;/em&gt; only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/architecture_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/architecture_overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="87" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-13T08:31:19.323" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1274" PostTypeId="2" ParentId="1224" CreationDate="2016-10-13T08:38:27.560" Score="1" Body="&lt;p&gt;A best practice here would be install a local Certificate Authority (CA). If your network has a Windows Domain Controller, I would highly recommend &lt;a href=&quot;https://technet.microsoft.com/en-us/library/cc731564.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Active Directory Certificate Services&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Using such solution will allow you to keep things more organized and automatic, as you won't need to generate a certificate and share across the dev environment as domain-joined machines will automatically trust the certificates.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Benefits&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;Applications supported by AD CS include [...] Secure Socket Layer/Transport Layer Security (SSL/TLS)&amp;quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Certificate enrollment that uses HTTPS protocol&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Certificate enrollment across Active Directory Domain Services (AD DS) forest boundaries&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Improved support for high-volume certificate issuance&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="393" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-13T08:38:27.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1275" PostTypeId="2" ParentId="1211" CreationDate="2016-10-13T08:43:57.900" Score="7" Body="&lt;p&gt;I have Solr as Service running using Bitnami  you can download there here &lt;a href=&quot;https://downloads.bitnami.com/files/solr/bitnami-solr-4.10.3-0-windows-installer.exe&quot; rel=&quot;noreferrer&quot;&gt;https://downloads.bitnami.com/files/solr/bitnami-solr-4.10.3-0-windows-installer.exe&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once installed look in this directory &lt;code&gt;C:\Bitnami\solr-4.10.3-0\apache-solr\scripts&lt;/code&gt; (depends on your install location) you will find a file called &lt;code&gt;serviceinstall.bat&lt;/code&gt;, you can use this batch file to install the Solr Service for Windows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have customized this file to to change my JavaHome to use a 64 bit version of Java so I can increase the Xmx and Xms values to allocate more memory to the Jvm.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My File is here&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@echo off&#xA;rem -- Check if argument is INSTALL or REMOVE&#xA;&#xA;if not &quot;&quot;%1&quot;&quot; == &quot;&quot;INSTALL&quot;&quot; goto remove&#xA;&#xA;&quot;C:\Bitnami\solr-4.10.3-0/apache-solr\scripts\prunsrv.exe&quot; //IS//solr --DisplayName=&quot;solr&quot; --Install=&quot;C:\Bitnami\solr-4.10.3-0/apache-solr\scripts\prunsrv.exe&quot; --LogPath=&quot;C:\Bitnami\solr-4.10.3-0/apache-solr\logs&quot; --LogLevel=Debug --StdOutput=auto --StdError=auto --StartMode=Java --StopMode=Java --Jvm=auto ++JvmOptions=-DSTOP.PORT=8079 ++JvmOptions=-DSTOP.KEY=s3crEt ++JvmOptions=-Djetty.home=&quot;C:\Bitnami\solr-4.10.3-0/apache-solr&quot; ++JvmOptions=-Dsolr.solr.home=&quot;C:\Bitnami\solr-4.10.3-0/apache-solr/solr&quot; --Jvm=auto ++JvmOptions=-Djetty.logs=&quot;C:\Bitnami\solr-4.10.3-0/apache-solr\logs&quot; --JavaHome=&quot;C:\Program Files\Java\jre1.8.0_91&quot; ++JvmOptions=-XX:MaxPermSize=256M ++JvmOptions=-Xms5120M ++JvmOptions=-Xmx5120M --Classpath=&quot;C:\Bitnami\solr-4.10.3-0/apache-solr\lib\*&quot;;&quot;C:\Bitnami\solr-4.10.3-0/apache-solr\start.jar&quot; --StartClass=org.eclipse.jetty.start.Main ++StartParams=&quot;C:\Bitnami\solr-4.10.3-0/apache-solr\etc\jetty.xml&quot; --StopClass=org.eclipse.jetty.start.Main ++StopParams=--stop ++StopParams=-DSTOP.PORT=8079 ++StopParams=-DSTOP.KEY=s3crEt --Startup=auto&#xA;&#xA;net start solr &amp;gt;NUL&#xA;goto end&#xA;&#xA;:remove&#xA;rem -- STOP SERVICE BEFORE REMOVING&#xA;&#xA;net stop solr &amp;gt;NUL&#xA;sc delete solr&#xA;&#xA;&#xA;:end&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you are happy with the contents of the &lt;code&gt;serviceinstall.bat&lt;/code&gt; file, open cmd prompt and navigate to the directory &lt;code&gt;C:\Bitnami\solr-4.10.3-0\apache-solr\scripts&lt;/code&gt; (for my install) and run &lt;code&gt;serviceinstall.bat INSTALL&lt;/code&gt; this will install a new windows service for Solr named Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7OnKo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7OnKo.png&quot; alt=&quot;Solr Windows Service&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then go to your Windows Services and start the newly installed service.&lt;/p&gt;&#xA;" OwnerUserId="143" LastEditorUserId="143" LastEditDate="2016-10-13T13:24:00.740" LastActivityDate="2016-10-13T13:24:00.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1276" PostTypeId="2" ParentId="1261" CreationDate="2016-10-13T08:47:59.037" Score="2" Body="&lt;p&gt;In addition to the answer from @Sitecore Climber, there's another thing you should be aware of:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;IIS and .NET requirements are different based on Sitecore version, and available depending on the Operational System you want to run.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For example&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/65/installation_guide_sc65-a4.pdf&quot; rel=&quot;nofollow&quot;&gt;Sitecore 6.5&lt;/a&gt;, the IIS version should be at least 5.1 with a .NET 3.5 SP1 in place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/75/installation_guide_sc75-a4.pdf&quot; rel=&quot;nofollow&quot;&gt;Sitecore 7.5&lt;/a&gt;, the IIS version should be at least 7.0 with .NET 4.5 in place&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2016-10-13T08:47:59.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1277" PostTypeId="1" AcceptedAnswerId="1280" CreationDate="2016-10-13T08:56:45.570" Score="10" ViewCount="462" Body="&lt;p&gt;In short my question is: Why does it usually take significantly longer than the specified timeout time to progress from one state to another in an engagement plan?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Detailed issue:&lt;/strong&gt; A user has been added to an engagement flow and after the session has ended I can verify it in the EA supervisor and in the xDB. I have a simple engagement plan in which the first step has a timeout of 1 minute. I would expect that this timeout is more or less precise but I usually see that it takes somewhere between 10 and 20 minutes to actually progress to the next state. It eventually progresses which I have verified by using a simple action that sends be a basic mail, but it takes a very long time to do so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; I am using Sitecore 8.1.3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(This question is a follow up question to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1269/engagement-plans-why-is-a-user-not-added-to-an-engagement-plan-until-the-sessio&quot;&gt;Engagement Plans: Why is a user not added to an engagement plan until the session of a user is timed out?&lt;/a&gt; which is concerned with why users are not added to engagement plans until session ends)&lt;/p&gt;&#xA;" OwnerUserId="758" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-14T08:35:21.860" Title="Engagement plans: Progressing from one state to another is taking significantly longer than the specified timeout" Tags="|xdb|session-state|engagement-plans|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1278" PostTypeId="2" ParentId="1245" CreationDate="2016-10-13T09:31:05.527" Score="3" Body="&lt;p&gt;Have you also tried what happened when you restart solr. If you setup the persistence wrong, you will eventually get the same error. &#xA;Let me know if you need aasistance&lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-10-13T09:31:05.527" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1279" PostTypeId="2" ParentId="1201" CreationDate="2016-10-13T10:24:45.387" Score="3" Body="&lt;p&gt;Our best practice is to set up a mongodb replica set consisting of 3 servers (1 primary and 2 secondary). Setting up a cluster of only 2 servers, is not reliable enough as a failover system because it only has majority of 1 (more of that later).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My recommendation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;3 database servers (MongoDB) set-up as a replica set&lt;/li&gt;&#xA;&lt;li&gt;4 x CPU E5 2650 v2 processors&lt;/li&gt;&#xA;&lt;li&gt;8GB RAM &lt;/li&gt;&#xA;&lt;li&gt;100GB HDD (dedicated to db storage)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you have a webshop with 10.000 of visitors every day, you might want to boost up the RAM in your machines, but if this isn't the case, the machines are practically doing nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The HDD depends on which storage mode you are using for your MongoDB. If you use the most compressed storage, you won't need that much storage at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To continue the part I was previously talking about, in a replica set, the MongoDB machines act as a &quot;family&quot;. If a primary wants to resign and wants become a secondary machine, a voting will take place for the other machines about who will become the primary machines. A replica set will always act as a set containing a primary and a secondary machine. If one of these is not present, the replica set will fall apart causing real trouble for your site.&lt;/p&gt;&#xA;" OwnerUserId="755" LastEditorUserId="3467" LastEditDate="2018-03-30T22:33:43.830" LastActivityDate="2018-03-30T22:33:43.830" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1280" PostTypeId="2" ParentId="1277" CreationDate="2016-10-13T11:58:16.600" Score="9" Body="&lt;h1&gt;Automation worker running interval&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The automation worker is the agent that processes automation state changes with a certain interval.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first thing you should check is whether the automation worker is executed frequently enough. The default is to run it every 10 seconds, which is a good value for your needs. The setting is located in the configuration file &lt;em&gt;Sitecore.EngagementAutomation.TimeoutProcessing.config&lt;/em&gt;, under &lt;em&gt;configuration/sitecore/automationWorker/Interval&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;automationWorker type=&quot;Sitecore.Analytics.Automation.AutomationWorker, Sitecore.Analytics.Automation&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;ThreadsCount&amp;gt;1&amp;lt;/ThreadsCount&amp;gt;&#xA;  &amp;lt;Interval&amp;gt;00:00:10&amp;lt;/Interval&amp;gt;&#xA;  &amp;lt;ContactRepository ref=&quot;contactRepository&quot;/&amp;gt;&#xA;&amp;lt;/automationWorker&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure you haven't patched this value to use a longer interval.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Contact locking&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Even though the automation worker runs every 10 seconds, it will only process automation states of unlocked contacts. This may become an issue if a user has a live session on your site—in that case, the corresponding contact's automation states will not be processed until the web session ends.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your particular case, I suspect that a user's session ended and he started a new session with after a short pause of 1 minute or less. This means that, even though the contact was saved to the Collection database and may have been briefly unlocked, the automation worker didn't have a large enough time window to get an exclusive lock. As a result, the contact's engagement plan actions were executed with more than 20 minutes of delay.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please also note that the contact will remain locked as long as there is &lt;em&gt;at least one&lt;/em&gt; live web session of the contact, and then for one extra minute. xDB supports multiple simultaneous contact sessions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state#_Toc396298780&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state#_Toc396298780&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-14T08:35:21.860" LastActivityDate="2016-10-14T08:35:21.860" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1281" PostTypeId="1" AcceptedAnswerId="1285" CreationDate="2016-10-13T12:34:52.453" Score="9" ViewCount="1104" Body="&lt;p&gt;I am working on a template that has a General Link field. When I am trying to set the Insert link with the Sitecore Content Editor I am getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NeV5a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NeV5a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am working on Sitecore 8.0 (rev.150121)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other General link options are working fine:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Insert media link &lt;/li&gt;&#xA;&lt;li&gt;Insert external link &lt;/li&gt;&#xA;&lt;li&gt;Insert anchor &lt;/li&gt;&#xA;&lt;li&gt;Insert email&lt;/li&gt;&#xA;&lt;li&gt;Insert JavaScript&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I added a new field to the same template containing the general link field as well, and it is working fine - even for the Insert link option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When viewing the raw values for the item, I have found that the link had a default value set to &quot;&quot;.  When I removed it and saved it, everything is working fine, the other testing link that I added does not have this default value, and the field on the template itself does not have such a value or any default value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m76Xz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m76Xz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="551" LastEditorUserId="28" LastEditDate="2016-10-13T16:20:21.800" LastActivityDate="2016-10-13T16:20:21.800" Title="Exception thrown when trying to set General Link value" Tags="|content-editor|" AnswerCount="2" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1282" PostTypeId="1" AcceptedAnswerId="1284" CreationDate="2016-10-13T12:50:40.737" Score="35" ViewCount="2295" Body="&lt;p&gt;Let's say you want to temporarily exclude a &lt;strong&gt;.config&lt;/strong&gt; file from being applied as a patch by Sitecore. Normally, you would either:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Delete the file;&lt;/li&gt;&#xA;&lt;li&gt;Or rename it to have an extension different from &lt;strong&gt;.config&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is there any other way of disabling a &lt;strong&gt;.config&lt;/strong&gt; file? I don't want to change the file name or its contents (due to deployment process intricacies).&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2018-03-13T13:21:30.930" Title="Is there a way to disable a config patch file without renaming or deleting it?" Tags="|configuration|" AnswerCount="4" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1283" PostTypeId="2" ParentId="1281" CreationDate="2016-10-13T12:51:09.240" Score="2" Body="&lt;p&gt;It looks like the Hero Link URL field has a standard value associated with it and that is what is causing the default value. Can you check to see if the standard values for that field is correct? You may need to view the raw values on the standard values item to make sure that the &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; tag is not in there. Save the standard values item, create a new item, and see if the new item is still having that error.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2016-10-13T12:51:09.240" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1284" PostTypeId="2" ParentId="1282" CreationDate="2016-10-13T12:55:43.140" Score="76" Body="&lt;p&gt;You can set the &quot;Hidden&quot; file attribute. Sitecore will not patch in any hidden files, even if they have the &lt;strong&gt;.config&lt;/strong&gt; extension. The same is also true for folders, setting the &quot;Hidden&quot; attribute will mean the folder is not processed and the files contained within will not be loaded either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/k16sj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/k16sj.png&quot; alt=&quot;Hidden property&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find the exact code in &lt;code&gt;LoadAutoIncludeFiles()&lt;/code&gt; method in &lt;code&gt;Sitecore.Configuration.ConfigReader&lt;/code&gt; class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected virtual void LoadAutoIncludeFiles(ConfigPatcher patcher, string folder)&#xA;{&#xA;    if (!Directory.Exists(folder))&#xA;      return;&#xA;    foreach (string file in Directory.GetFiles(folder, &quot;*.config&quot;))&#xA;    {&#xA;        if ((File.GetAttributes(file) &amp;amp; FileAttributes.Hidden) == (FileAttributes) 0)&#xA;          patcher.ApplyPatch(file);&#xA;    }&#xA;    foreach (string directory in Directory.GetDirectories(folder))&#xA;    {&#xA;        if ((File.GetAttributes(directory) &amp;amp; FileAttributes.Hidden) == (FileAttributes) 0)&#xA;          this.LoadAutoIncludeFiles(patcher, directory);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NOTE: The above is decompiled code and I have modified it for berevity.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-10-13T15:20:20.560" LastActivityDate="2016-10-13T15:20:20.560" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1285" PostTypeId="2" ParentId="1281" CreationDate="2016-10-13T12:56:28.387" Score="10" Body="&lt;p&gt;The issue you reported was fixed in Sitecore Experience Platform 8.0 rev. 150621 (8.0 Update-4) and you can upgrade your solution to address the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please take a look at the reference number 416281 in Sitecore CMS release notes on for additional details on the fix: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/8%200/Sitecore%20Experience%20Platform%2080%20Update4/Release%20notes&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/8%200/Sitecore%20Experience%20Platform%2080%20Update4/Release%20notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If upgrade is not an option for you, we suggest you implement the following workaround to resolve the issue on your current solution:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Place the attached Sitecore.Support.416281 assembly to the \bin folder of your solution;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open /sitecore/system/Field types/Link Types/General Link item in the Core database;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Clean up its Control field;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Put Sitecore.Support.416281 in the Assembly field and Sitecore.Support.Link in the Class field;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Save changes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please download the assembly : &lt;a href=&quot;https://www.dropbox.com/s/hl7ho6wmnca8u2y/Sitecore.Support.416281.dll?dl=0&quot;&gt;https://www.dropbox.com/s/hl7ho6wmnca8u2y/Sitecore.Support.416281.dll?dl=0&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-13T12:56:28.387" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1286" PostTypeId="2" ParentId="1282" CreationDate="2016-10-13T12:58:26.663" Score="11" Body="&lt;p&gt;You can make your configuration file hidden, which will cause Sitecore to NOT read that configuration file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, don't know how to set the hidden attribute automatically from the deployment process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One option would be, you manually set the file properties to hidden on the server/instance and then stop the already existing file deployment to that certain folder. (But, this will also introduce a problem in case you change any configuration on those files)&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-13T12:58:26.663" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1287" PostTypeId="2" ParentId="1260" CreationDate="2016-10-13T13:31:56.297" Score="2" Body="&lt;p&gt;I see mentions that the links database &quot;speeds up&quot; link resolution, but as far as I know, it is the only way by which item referrers can be resolved (i.e. &quot;who links to this item?&quot;). Item references (i.e. &quot;who does this item link to?&quot;) I suppose could also be resolved by parsing every link field on an item, which is actually what happens during a rebuild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Links Database is used primarily for back-end / administrative functionality in Sitecore. I have used it on the front-end as well (i.e. code called directly or indirectly by a website HTTP request), but I have seen deadlock errors when this is done under load, and Sitecore Support has advised against it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking through the rebuild logic in &lt;code&gt;LinkDatabase&lt;/code&gt; and &lt;code&gt;SqlLinkDatabase&lt;/code&gt;, it appears that the update is done &quot;in place&quot; and does not clear the database first, so any queries against the links database while the rebuild is running should work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the links database resides in core, it does not matter which instance does the rebuild, so I would recommend doing the rebuild from the CM server as to not affect CD performance. That said I have never noticed a performance hit during a rebuild. It's a slow process that I believe would be mostly database bound.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-13T13:31:56.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1288" PostTypeId="1" AcceptedAnswerId="1290" CreationDate="2016-10-13T14:34:20.547" Score="1" ViewCount="391" Body="&lt;p&gt;I am looking to replace the SQL Session Manager that is provided by Sitecore and I wondered if anyone else had worked on Redis session provider for Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2016-10-14T09:35:58.690" Title="Redis Session Manager" Tags="|session-state|" AnswerCount="1" CommentCount="4" ClosedDate="2016-10-13T21:46:04.037" ContentLicense="CC BY-SA 3.0" />
  <row Id="1289" PostTypeId="1" AcceptedAnswerId="1521" CreationDate="2016-10-13T14:36:45.917" Score="6" ViewCount="1502" Body="&lt;p&gt;Anyone know why my Experience Analytics dashboard in Sitecore 8.1 Update-3 would be blank like this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: in the network console for my browser I am seeing the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PWsti.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PWsti.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CdWpG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CdWpG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="104" LastEditDate="2016-10-26T07:39:46.167" LastActivityDate="2016-10-27T02:27:55.033" Title="Why is my Experience Analytics dashboard blank in Sitecore 8.1 Update-3?" Tags="|experience-analytics|" AnswerCount="4" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1290" PostTypeId="2" ParentId="1288" CreationDate="2016-10-13T14:39:56.913" Score="7" Body="&lt;p&gt;Nick Hills started a project to enable Redis session state. You can find the details here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.boro2g.co.uk/sitecore-redis-sessionstate-provider/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.boro2g.co.uk/sitecore-redis-sessionstate-provider/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/boro2g/Sitecore-Redis-Session-Provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/boro2g/Sitecore-Redis-Session-Provider&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It comes with a warning though: it is &lt;strong&gt;not&lt;/strong&gt; supported by Sitecore!&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Context from links above:&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Out the box Sitecore offers 3 options for how to handle session when you setup xDB. One option is to keep things in process (inProc). This is ok for testing in dev but isn’t suitable when you have &gt; 1 front end content delivery nodes as each box wouldn’t be able to share the same information. The other two options are: Sql Server or Mongo. See the docs site for more information on how to configure these 2 approaches.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;I’ve uploaded an early version of a Sitecore Redis SessionProvider to github: &lt;a href=&quot;https://github.com/boro2g/Sitecore-Redis-Session-Provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/boro2g/Sitecore-Redis-Session-Provider&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Conceptually the implementation of Session_End is easy to get your head around – when keys expire you raise up the corresponding events and Sitecore handles the rest. Redis makes this tricky as when keys timeout they don’t raise events and also the data is then gone, so how could it get flushed to xDB?&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;To work around this I’ve combined the logic in the SitecoreSessionStateStoreProvider which gives you the ability to poll the repository, along with some custom keys to manage the concept of expiration.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;By default the asp.net redis implementation creates 3 types of keys:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; DataKey e.g. “{” + applicationName + “_” + id + “}_Data”&#xA; LockKey e.g. “{” + applicationName + “_” + id + “}_Write_Lock”;&#xA; InternalKey e.g. “{” + applicationName + “_” + id + “}_Internal”;&#xA; The new entries will also be:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;&lt;code&gt;_log:&lt;/code&gt; this is a sorted set that keeps a record of all the marker sets&#xA;  TimeoutKey e.g. &lt;code&gt;“{” + applicationName + “_” + id + “}_Timeout” MarkerKey&lt;/code&gt; e.g. &lt;code&gt;yyyy MM dd HH:mm:ss_Marker&lt;/code&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Note, this will contain sets of items (i.e. everything that expires at that time)&#xA;  These new keys are used to store when items are added and updated. They are also then referenced in the callback to validate whether specific entries should expire.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;In the solution there are the implementation details for the provider along with a console app for monitoring a solution.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GL57N.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GL57N.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;console app&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Do let us know how you get on! It’s worth noting this is currently an alpha release that’s undergone basic testing – any feedback / pull-requests would be greatly appreciated.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;FYI If you want to get Redis running locally you can install via chocolatey: &lt;a href=&quot;https://chocolatey.org/packages/redis-64&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://chocolatey.org/packages/redis-64&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="114" LastEditorUserId="283" LastEditDate="2016-10-14T09:35:58.690" LastActivityDate="2016-10-14T09:35:58.690" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1291" PostTypeId="1" AcceptedAnswerId="1382" CreationDate="2016-10-13T14:41:05.170" Score="7" ViewCount="960" Body="&lt;p&gt;I need to call Tracker.Current.Session.Identify(emailAddress) on my Contact in a save action in a WFFM form. However the onSave action is triggered on the CM, where Tracker.Current is null. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a pipeline where I could do this on the CD? &lt;/p&gt;&#xA;" OwnerUserId="767" LastActivityDate="2016-10-14T16:32:09.590" Title="Identify Contact in WFFM action" Tags="|wffm|xdb|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1292" PostTypeId="2" ParentId="1260" CreationDate="2016-10-13T14:43:50.253" Score="8" Body="&lt;p&gt;Rebuilding Link Database updates the Links table in the &quot;core&quot; (default) database based on the selected list of database(s). As mentioned by others, it updates the referrers and references for a particular item in sitecore. The results of this can be seen when you click on Navigate &gt; Links in the ribbon for a particular item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Example: You can see the list of items which are built out of a particular template&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Does the site experience performance degradation?&lt;/strong&gt;&#xA;The Content Delivery environment should not be affected.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Does the site go down?&lt;/strong&gt; - It depends. If any functionality on the site is directly reading data out of links table, there is a chance it can happen when you are rebuilding link database for &quot;web&quot;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;What about rebuilding core vs. master vs. web links database?&lt;/strong&gt;&#xA;Depending on the selected database(s), the Links table with &lt;strong&gt;SourceDatabase&lt;/strong&gt; gets cleared and gets rebuilt.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="406" LastActivityDate="2016-10-13T14:43:50.253" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1293" PostTypeId="2" ParentId="1289" CreationDate="2016-10-13T14:45:37.440" Score="0" Body="&lt;p&gt;I'm guessing you're in Chrome, and on a Sitecore version that requires Microsoft Silverlight. I think you need 8.2 before the requirement for Silverlight goes away.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-13T14:45:37.440" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1294" PostTypeId="2" ParentId="1289" CreationDate="2016-10-13T14:48:12.177" Score="2" Body="&lt;p&gt;There are several reasons why it could be blank:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You just installed the Site, and the agent that aggregates the data has not run yet (it only runs 1 time per day, and does not include the current day's traffic).&lt;/li&gt;&#xA;&lt;li&gt;You have incorrectly configured your separate processing and aggregation server and it's trying to aggregate the wrong data (been there, done that :) ).&lt;/li&gt;&#xA;&lt;li&gt;You don't have MongoDB connections setup correctly, and so you don't have any data coming into your MongoDB. The Processing and Aggregation services look at the records collected in MongoDB. If you don't have any records there, you won't have any data in your aggregation. Check the Interactions Collection in your Analytics Database. If there isn't any data, then something is wrong with your MongoDB setup.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Those are the first three things that I can think of for you to check. What I've done in the past is install a new instance of Sitecore, make sure that the Analytics are working, and then compare configs to see what is different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that this is helpful for you!&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="469" LastEditDate="2016-10-17T03:32:10.870" LastActivityDate="2016-10-17T03:32:10.870" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1295" PostTypeId="2" ParentId="1133" CreationDate="2016-10-13T14:49:50.270" Score="1" Body="&lt;p&gt;First of all, could you check if your mongo processes are running? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A good thing to do is check wether your resultset is working properly. Try to run the following command on the commandline and check the output:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;mongo --eval &quot;db.isMaster()&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should see some output like thus:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;hosts&quot; : [&#xA;            &quot;host1:27017&quot;,&#xA;            &quot;host2:27017&quot;,&#xA;            &quot;host3:27017&quot;&#xA;    ],&#xA;    &quot;setName&quot; : &quot;DSM&quot;,&#xA;    &quot;setVersion&quot; : 3,&#xA;    &quot;ismaster&quot; : true,&#xA;    &quot;secondary&quot; : false,&#xA;    &quot;primary&quot; : &quot;host1&quot;,&#xA;    &quot;me&quot; : &quot;host1&quot;,&#xA;    &quot;electionId&quot; : ObjectId(&quot;7fffffff00000000000001ff&quot;),&#xA;    &quot;maxBsonObjectSize&quot; : 16777216,&#xA;    &quot;maxMessageSizeBytes&quot; : 48000000,&#xA;    &quot;maxWriteBatchSize&quot; : 1000,&#xA;    &quot;localTime&quot; : ISODate(&quot;2016-10-13T14:42:02.398Z&quot;),&#xA;    &quot;maxWireVersion&quot; : 4,&#xA;    &quot;minWireVersion&quot; : 0,&#xA;    &quot;ok&quot; : 1 }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When your output looks like that, you can be sure your resultset is working properly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I that case it could be a simple fix by not writing your connection string with:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;?replicaset=SiteCoreDMS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but instead: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;?replicaSet=SiteCoreDMS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;reviewing the Sitecore connectionstring documentation involving replicasets, i can see the capital S in every string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if this worked out for you!&lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-10-13T14:49:50.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1296" PostTypeId="2" ParentId="1258" CreationDate="2016-10-13T14:52:45.057" Score="2" Body="&lt;p&gt;It shouldn't be a problem deleting it however, the initial load time for each page will increase as it needs to fetch the media items fresh from the server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Usually not a best practice to delete ~/App_Data/MediaCache on the production server during business hours. I would recommend lowering the maxAge in the clean up agent as mentioned above.&lt;/p&gt;&#xA;" OwnerUserId="406" LastActivityDate="2016-10-13T14:52:45.057" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1297" PostTypeId="1" AcceptedAnswerId="1300" CreationDate="2016-10-13T14:55:12.917" Score="12" ViewCount="2498" Body="&lt;p&gt;Is there a way, in one fell swoop, to remove all references to a item? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that it's possible to view a list of referring items from the report but is there anything out-of-box to handle the removal of its attachments in bulk or am I forced to go through the list removing references one at a time? I don't want to delete the item, just its association to other items.&lt;/p&gt;&#xA;" OwnerUserId="509" LastEditorUserId="423" LastEditDate="2017-08-07T19:28:09.767" LastActivityDate="2017-08-07T19:28:09.767" Title="Removing all references to an item using OOTB tools" Tags="|links|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1298" PostTypeId="2" ParentId="1297" CreationDate="2016-10-13T15:01:19.993" Score="4" Body="&lt;p&gt;Tricky answer :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please perform the following steps:&#xA;1. Open the Content Editor application.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Select the item, links on which you want to delete.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Press the delete button in the home tab on the ribbon. The Breaking Links dialog box appears.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Press the Edit Links button. The Edit Links dialog box appears.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Edit Links dialog box you will see the list of all items that reference to this item.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Press the Remove Link button for each item.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Close the Edit Links dialog box by using Ok button.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Close the Breaking Links dialog box by using Cancel button.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In this case you can delete all links to this without deleting the item.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-13T15:01:19.993" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1299" PostTypeId="2" ParentId="1133" CreationDate="2016-10-13T15:08:02.547" Score="3" Body="&lt;p&gt;Your connectionstring shows two different ports for each server, is that correct? Because &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/deploy-replica-set/&quot; rel=&quot;nofollow&quot;&gt;Mongo recommends&lt;/a&gt; keeps on the same port for a Replica Set environment&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In a production, deploy each member of the replica set to its own machine and if possible bind to the standard MongoDB port of 27017&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Also, are you able to connect from one mongo to another? Please see &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/troubleshoot-replica-sets/#replica-set-troubleshooting-check-connection&quot; rel=&quot;nofollow&quot;&gt;the line below&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Server1&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;mongo --host m2.example.net --port 27017&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From Server2&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;mongo --host m1.example.net --port 27017&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please let us know if your results&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2016-10-13T15:08:02.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1300" PostTypeId="2" ParentId="1297" CreationDate="2016-10-13T15:14:03.937" Score="15" Body="&lt;p&gt;Not quite. But here's what I would do.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Serialize your item&lt;/li&gt;&#xA;&lt;li&gt;Delete the original item, instructing Sitecore to delete all references&lt;/li&gt;&#xA;&lt;li&gt;Deserialize your item&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Requires access to the Developer Tab, but is completely OOTB.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aQtIP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aQtIP.png&quot; alt=&quot;Serialize Item&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;EDIT: &lt;strong&gt;updated to include a few additional ways to go about it&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Packager&lt;/h2&gt;&#xA;&lt;p&gt;Doesn't require access to serialization tools.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Package your item&lt;/li&gt;&#xA;&lt;li&gt;Delete the original item, instructing Sitecore to delete all references&lt;/li&gt;&#xA;&lt;li&gt;Install your item package&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Bc83d.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Bc83d.png&quot; alt=&quot;Package Item&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Content Editor&lt;/h2&gt;&#xA;&lt;p&gt;Works, but will give your item a new ID.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Duplicate your item via Content Editor&lt;/li&gt;&#xA;&lt;li&gt;Delete the original item, instructing Sitecore to delete all references&lt;/li&gt;&#xA;&lt;li&gt;Rename your duplicated item back to original name&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C47yu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C47yu.png&quot; alt=&quot;Duplicate Item&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Publish/Transfer&lt;/h2&gt;&#xA;&lt;p&gt;For super users.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Publish your item&lt;/li&gt;&#xA;&lt;li&gt;Delete the original item, instructing Sitecore to delete all references&lt;/li&gt;&#xA;&lt;li&gt;Transfer your item back to master via Content Editor&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J8zUh.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J8zUh.png&quot; alt=&quot;Transfer Item&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-13T15:39:19.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1301" PostTypeId="2" ParentId="182" CreationDate="2016-10-13T15:29:46.960" Score="0" Body="&lt;p&gt;Turns out to be a known Sitecore bug - request patch 81234 for a DLL/config from support.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2016-10-13T15:29:46.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1302" PostTypeId="1" AcceptedAnswerId="1317" CreationDate="2016-10-13T15:44:56.063" Score="7" ViewCount="7072" Body="&lt;p&gt;I am moving indexes from Lucene to Solr. Almost everything is working again, except a few custom indexes that have their own index configuration and had some field added to the fieldMap. Other custom indexes are working. The error I get when starting the site is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[KeyNotFoundException: The given key was not present in the&#xA;  dictionary.]    System.Collections.Generic.Dictionary`2.get_Item(TKey&#xA;  key) +13763335&lt;br&gt;&#xA;  Sitecore.ContentSearch.SolrProvider.SolrFieldMap.AddFieldByFieldName(XmlNode&#xA;  configNode) +618&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TargetInvocationException: Exception has been thrown by the target of&#xA;  an invocation.]    X.X.Web.Global.Application_Error(Object&#xA;  sender, EventArgs e) in&#xA;  ...\Global.asax.cs:76&#xA;  System.Web.HttpApplication.RaiseOnError() +211&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Exception has been thrown by the target&#xA;  of an invocation.]&lt;br&gt;&#xA;  System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext&#xA;  context, HttpApplication app) +544&lt;br&gt;&#xA;  System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers) +186&lt;br&gt;&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&lt;br&gt;&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context) +402&lt;br&gt;&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Exception has been thrown by the target&#xA;  of an invocation.]&lt;br&gt;&#xA;  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +579&lt;br&gt;&#xA;  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)&#xA;  +112    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest&#xA;  wr, HttpContext context) +716&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The index config now:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;indexConfigurations&amp;gt;&#xA;    &amp;lt;CustomIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;&amp;gt;&#xA;      &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;text&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;webshops&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;attributes&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;        &amp;lt;/fieldNames&amp;gt;&#xA;      &amp;lt;/fieldMap&amp;gt;&#xA;      &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        ...&#xA;      &amp;lt;/documentOptions&amp;gt;&#xA;    &amp;lt;/CustomIndexConfiguration&amp;gt;&#xA; &amp;lt;/indexConfigurations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My old Lucene config had a fieldMap like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;text&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;/&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;webshops&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;/&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;attributes&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;&amp;lt;/fieldNames&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am definitely missing something (otherwise I wouldn't get an error). Buy what?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.1-upd3, Solr 4.10.3, Autofac 4.1, ...&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-13T18:16:30.357" LastActivityDate="2016-10-13T21:06:48.397" Title="Adding a field to a custom SOLR index configuration" Tags="|configuration|solr|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1303" PostTypeId="1" AcceptedAnswerId="1305" CreationDate="2016-10-13T16:03:51.690" Score="14" ViewCount="1843" Body="&lt;p&gt;Is there an administration page to view all pipeline processors that are configured in Sitecore and the order in which they will execute? I'm trying to verify that my custom processor is being inserted into the right place in the Sitecore pipeline but I don't see anything in the Sitecore control panel or the start menu on the Sitecore desktop to facilitate this.&lt;/p&gt;&#xA;" OwnerUserId="10" LastActivityDate="2021-05-12T17:27:45.640" Title="Sitecore administration page to view all pipeline processors" Tags="|configuration|pipelines|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1304" PostTypeId="2" ParentId="1303" CreationDate="2016-10-13T16:06:44.800" Score="5" Body="&lt;p&gt;You can use the &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; page to view the generated Sitecore configuration to verify if you're custom pipeline is inserted into the pipeline and it's position of execution.&lt;/p&gt;&#xA;" OwnerUserId="731" LastEditorUserId="10" LastEditDate="2016-10-13T16:42:33.930" LastActivityDate="2016-10-13T16:42:33.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1305" PostTypeId="2" ParentId="1303" CreationDate="2016-10-13T16:08:34.807" Score="17" Body="&lt;p&gt;Yes there is. Depends on your Sitecore version but you can use: &lt;code&gt;/sitecore/admin/pipelines.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Pipeline Profiler page&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Pipeline Profiler page has been in from Sitecore 7 but is disabled by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You enable by renaming the &lt;code&gt;/App_Config/Include/Sitecore.PipelineProfiling.config.disabled&lt;/code&gt; to remove the &lt;code&gt;.disabled&lt;/code&gt; extension and setting the &lt;code&gt;Pipelines.Profiling.Enabled&lt;/code&gt; setting in the file to &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also set &lt;code&gt;Pipelines.Profiling.MeasureCpuTime&lt;/code&gt; setting to true, this gives you additional information.&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="28" LastEditDate="2016-10-13T16:42:03.760" LastActivityDate="2016-10-13T16:42:03.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1306" PostTypeId="2" ParentId="1297" CreationDate="2016-10-13T16:08:52.227" Score="1" Body="&lt;p&gt;You can do it programmatically using this code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Item parentItem = item.Parent;&#xA;using (SecurityHelpers.BuildSecurityDisabler())&#xA;{&#xA;    var itemReferrers = item.GetReferrers();&#xA;    if (itemReferrers != null &amp;amp;&amp;amp; itemReferrers.Any())&#xA;    {&#xA;        foreach (ItemLink link in itemReferrers)&#xA;        {&#xA;            Item linkItem = dbMaster.GetItem(link.SourceItemID.Guid);&#xA;            if (linkItem == null) continue;&#xA;&#xA;            Field field = linkItem.Fields[link.SourceFieldID];&#xA;            if (field == null) continue;&#xA;&#xA;            CustomField customField = FieldTypeManager.GetField(field);&#xA;            if (customField == null) continue;&#xA;&#xA;            linkItem.Editing.BeginEdit();&#xA;            try&#xA;            {&#xA;                customField.RemoveLink(link);&#xA;            }&#xA;            finally&#xA;            {&#xA;                linkItem.Editing.EndEdit();&#xA;            }&#xA;&#xA;            //TODO: PUBLISH linkItem&#xA;        }&#xA;    }&#xA;&#xA;   Sitecore.Globals.LinkDatabase.RemoveReferences(item);&#xA;   item.Delete();&#xA;}&#xA;&#xA;//TODO: Publish parentItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="84" LastEditorUserId="73" LastEditDate="2016-10-13T16:09:55.717" LastActivityDate="2016-10-13T16:09:55.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1307" PostTypeId="2" ParentId="1297" CreationDate="2016-10-13T16:10:01.297" Score="7" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;This doesn't satisfy the out-of-the-box requirement but may prove useful if  that criteria doesn't apply in other situations.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here's a method using Sitecore Powershell Extensions: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:/sitecore/content/path/to/your/item&quot;&#xA;&#xA;$linkDb = [Sitecore.Globals]::LinkDatabase&#xA;&#xA;$links = $linkDb.GetReferrers($item)&#xA;&#xA;foreach($link in $links) {&#xA;    $linkedItem = Get-Item -Path master:\ -ID $link.SourceItemID &#xA;    $itemField = $linkedItem.Fields[$link.SourceFieldID]&#xA;    $field = [Sitecore.Data.Fields.FieldTypeManager]::GetField($itemField)&#xA;&#xA;    $linkedItem.Editing.BeginEdit()&#xA;    $field.RemoveLink($link)&#xA;    $linkedItem.Editing.EndEdit()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This uses the LinkDatabase to iterate over the references to your item, it then gets the field that is referencing the item and calls the &lt;code&gt;RemoveLink&lt;/code&gt; method on it. This is the same underlying method that the Relink dialog uses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Extra credit to Michael West for the basic method as seen in this gist - &lt;a href=&quot;https://gist.github.com/michaellwest/f563b0b3597f6c0a75d6&quot; rel=&quot;nofollow&quot;&gt;https://gist.github.com/michaellwest/f563b0b3597f6c0a75d6&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-13T16:48:34.350" LastActivityDate="2016-10-13T16:48:34.350" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1308" PostTypeId="1" AcceptedAnswerId="1311" CreationDate="2016-10-13T17:27:06.637" Score="6" ViewCount="1203" Body="&lt;p&gt;So, I refactored some code related to my &lt;code&gt;custom facets&lt;/code&gt;.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I pushed it to the stage and it doesn't throw any errors (of course).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I push it to production and it starts throwing this error over and over -- to the point that the Fail protection of IIS kicks in and restarts the app pool.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; 4876 10:35:40 WARN  Overriding expired contact session lock for&#xA;&gt; contact id: a13624a7-bcd0-41ca-93c2-9ba815419464 4876 10:35:40 ERROR&#xA;&gt; Cannot create tracker. Exception: System.ArgumentException Message:&#xA;&gt; Object of type 'System.Runtime.Serialization.TypeLoadExceptionHolder'&#xA;&gt; cannot be converted to type&#xA;&gt; 'Sitecore.Analytics.Model.Framework.IFacet'. Source: mscorlib    at&#xA;&gt; System.RuntimeType.TryChangeType(Object value, Binder binder,&#xA;&gt; CultureInfo culture, Boolean needsSpecialCast)    at&#xA;&gt; System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo&#xA;&gt; culture, BindingFlags invokeAttr)    at&#xA;&gt; System.Reflection.RtFieldInfo.UnsafeSetValue(Object obj, Object value,&#xA;&gt; BindingFlags invokeAttr, Binder binder, CultureInfo culture)    at&#xA;&gt; System.Runtime.Serialization.FormatterServices.SerializationSetValue(MemberInfo&#xA;&gt; fi, Object target, Object value)    at&#xA;&gt; System.Runtime.Serialization.ObjectManager.DoValueTypeFixup(FieldInfo&#xA;&gt; memberToFix, ObjectHolder holder, Object value)    at&#xA;&gt; System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder&#xA;&gt; holder, Boolean bObjectFullyComplete)    at&#xA;&gt; System.Runtime.Serialization.ObjectManager.DoNewlyRegisteredObjectFixups(ObjectHolder&#xA;&gt; holder)    at&#xA;&gt; System.Runtime.Serialization.ObjectManager.RegisterObject(Object obj,&#xA;&gt; Int64 objectID, SerializationInfo info, Int64 idOfContainingObj,&#xA;&gt; MemberInfo member, Int32[] arrayIndex)    at&#xA;&gt; System.Runtime.Serialization.Formatters.Binary.ObjectReader.RegisterObject(Object&#xA;&gt; obj, ParseRecord pr, ParseRecord objectPr, Boolean bIsString)    at&#xA;&gt; System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObjectEnd(ParseRecord&#xA;&gt; pr)    at&#xA;&gt; System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()   &#xA;&gt; at&#xA;&gt; System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler&#xA;&gt; handler, __BinaryParser serParser, Boolean fCheck, Boolean&#xA;&gt; isCrossAppDomain, IMethodCallMessage methodCallMessage)    at&#xA;&gt; System.Web.Util.AltSerialization.ReadValueFromStream(BinaryReader&#xA;&gt; reader)    at&#xA;&gt; System.Web.SessionState.SessionStateItemCollection.ReadValueFromStreamWithAssert()&#xA;&gt; at&#xA;&gt; System.Web.SessionState.SessionStateItemCollection.DeserializeItem(String&#xA;&gt; name, Boolean check)    at&#xA;&gt; System.Web.SessionState.SessionStateItemCollection.get_Item(String&#xA;&gt; name)    at&#xA;&gt; Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateManager.LockAndLoadContact(Guid&#xA;&gt; contactId)    at&#xA;&gt; Sitecore.Analytics.Tracking.ContactManager.TryLoadContact(Guid&#xA;&gt; contactId, Int32 lockDurationMinutes)    at&#xA;&gt; Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact.Process(InitializeTrackerArgs&#xA;&gt; args)    at (Object , Object[] )    at&#xA;&gt; Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;&gt; Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureSessionContextPipeline.Run(InitializeTrackerArgs&#xA;&gt; args)    at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()  &#xA;&gt; at&#xA;&gt; Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs&#xA;&gt; args)    at (Object , Object[] )    at&#xA;&gt; Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;&gt; Sitecore.Analytics.Tracker.Initialize()&#xA;&gt; &#xA;&gt; 4876 10:35:40 ERROR Application error. Exception:&#xA;&gt; System.InvalidOperationException Message: Tracker.Current is not&#xA;&gt; initialized Source: Sitecore.Analytics    at&#xA;&gt; Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs&#xA;&gt; args)    at (Object , Object[] )    at&#xA;&gt; Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;&gt; Sitecore.Analytics.Pipelines.StartAnalytics.StartAnalyticsPipeline.Run()&#xA;&gt; at&#xA;&gt; Sitecore.Mvc.Analytics.Pipelines.MvcEvents.RequestBegin.StartTracking.Process(RequestBeginArgs&#xA;&gt; args)    at (Object , Object[] )    at&#xA;&gt; Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;&gt; Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String&#xA;&gt; pipelineName, TArgs args)    at&#xA;&gt; Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext&#xA;&gt; context, AsyncCallback cb, Object extraData)    at&#xA;&gt; System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;&gt; at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,&#xA;&gt; Boolean&amp; completedSynchronously)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running &lt;code&gt;Sitecore 8.1 Update 2&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="5387" LastEditDate="2019-08-06T06:01:19.477" LastActivityDate="2019-08-06T06:01:19.477" Title="TypeLoadExceptionHolder cannot be converted to type Sitecore.Analytics.Model.Framework.IFacet" Tags="|xdb|serialization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1309" PostTypeId="1" CreationDate="2016-10-13T17:27:20.927" Score="6" ViewCount="601" Body="&lt;p&gt;I am simply trying to open up the page used for rebuilding the reporting server in &lt;code&gt;Sitecore 8.1&lt;/code&gt; - &lt;code&gt;/sitecore/admin/rebuildreportingdb.aspx&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I do that I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt;Could not resolve type name: Sitecore.ExperienceAnalytics.Client.Deployment.SegmentStorageProvider, Sitecore.ExperienceAnalytics.Client (method: Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert))&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From what I can gather that means that either my &lt;code&gt;Sitecore.ExperienceAnalytics.Client&lt;/code&gt; DLL is the wrong version or perhaps the ASPX page itself is not the most up to date version or something. The file version of my DLL is &lt;code&gt;1.2.1.5488&lt;/code&gt;. Any ideas on how to fix this?&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="5387" LastEditDate="2019-08-06T06:00:20.773" LastActivityDate="2019-08-06T06:00:20.773" Title="Why do I get an error when trying to open the Rebuild Reporting Database page in Sitecore 8.1?" Tags="|xdb|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="1310" PostTypeId="1" CreationDate="2016-10-13T18:07:00.943" Score="8" ViewCount="2031" Body="&lt;p&gt;I am installing content under \sitecore\content\home on a fresh install and I am getting the following error. I made sure all the templates needed are in place.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #9 10:57:28 ERROR Installation failed: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:renamed' event.&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args)&#xA;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.SaveItem(Item item)&#xA;   at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent)&#xA;   at Sitecore.Install.Items.ItemInstaller.UpdateItemDefinition(Item targetItem, XmlVersionParser parser)&#xA;   at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp; removeVersions)&#xA;   at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&#xA;   at Sitecore.Install.Items.ItemInstaller.Flush()&#xA;   at Sitecore.Install.Framework.SinkDispatcher.Flush()&#xA;   at Sitecore.Install.Utils.EntrySorter.Flush()&#xA;   at Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink)&#xA;   at Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink)&#xA;   at Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)&#xA;   at Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context)&#xA;   at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.&amp;lt;Install&amp;gt;b__4()&#xA;   at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.CatchExceptions(ThreadStart start)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="146" LastEditorUserId="246" LastEditDate="2016-10-15T05:52:41.723" LastActivityDate="2016-10-15T20:08:47.253" Title="Error installing a content package on a fresh install of Sitecore 8.1 Update 3" Tags="|packages|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1311" PostTypeId="2" ParentId="1308" CreationDate="2016-10-13T18:10:14.620" Score="6" Body="&lt;p&gt;Remove all data from your shared session database and the errors will go away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your custom types have changed, but at the same time, old facet objects remain binary-serialized in your shared session database (as a part of &lt;code&gt;Contact&lt;/code&gt; objects). And so your session store provider cannot deserialize them anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;.NET binary serialization doesn't throw exceptions when an object cannot be deserialized. Instead, it replaces the object with a TypeLoadExceptionHolder instance.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-13T18:26:09.577" LastActivityDate="2016-10-13T18:26:09.577" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1312" PostTypeId="2" ParentId="1310" CreationDate="2016-10-13T18:14:34.070" Score="3" Body="&lt;p&gt;Do you have mongodb installed and its connection strings configured? There is a known issue with package installs not completing when mongodb is not configured for xDB.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-13T18:14:34.070" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1313" PostTypeId="1" AcceptedAnswerId="1351" CreationDate="2016-10-13T18:17:09.320" Score="12" ViewCount="3250" Body="&lt;p&gt;I'm trying to get the Sitecore context using:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;var context = new SitecoreContentContext();&#xA;var item = context.GetItem&amp;lt;Sitecore.Data.Items.Item&amp;gt;(&quot;/sitecore/content/home&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the item assignment throws a Null Exception Error. When I debug the context variable, the property &lt;code&gt;Database&lt;/code&gt; is null. If I set that property to &quot;master&quot; on debug mode, it works. But I don't know why that property null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KXtDR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KXtDR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does any one have any advice?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="771" LastEditorUserId="246" LastEditDate="2016-10-15T05:52:20.387" LastActivityDate="2016-10-15T20:07:58.333" Title="Glass SitecoreContentContext has Database property null" Tags="|glass-mapper|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1314" PostTypeId="2" ParentId="1313" CreationDate="2016-10-13T18:21:42.903" Score="1" Body="&lt;p&gt;Check your item to make sure a version exists in the language you are opening the site in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also make sure the item is published and is in the web database. The fact that you see it in the debug mode shows that its in master but might not be in web.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-13T18:21:42.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1315" PostTypeId="2" ParentId="1310" CreationDate="2016-10-13T18:37:05.590" Score="6" Body="&lt;p&gt;This is due to the Sitecore.Analytics.config. In the config file, you have the handler &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;handler type=&quot;Sitecore.Analytics.Data.Items.ItemEventHandler, Sitecore.Analytics&quot; method=&quot;OnItemSaved&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is triggered when the item is being saved. So, the event &lt;code&gt;item:renamed&lt;/code&gt; will trigger the event &lt;code&gt;item:saved&lt;/code&gt;, hence executing the above handler.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, in order to fix the issue, you need to make sure that mongoDB service is running. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not using the xDB, you need to disable it in the Sitecore.Xdb.config as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And change&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="10" LastEditDate="2016-10-15T20:08:47.253" LastActivityDate="2016-10-15T20:08:47.253" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1316" PostTypeId="2" ParentId="1313" CreationDate="2016-10-13T18:37:31.630" Score="3" Body="&lt;p&gt;This error happens when your code is in an environment that doesn't have a Sitecore context or doesn't have a content database assigned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve this,&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Either move your code to a Sitecore-powered environment (such an MVC controller);&lt;/li&gt;&#xA;&lt;li&gt;Or register the way your code executes in Sitecore (e.g. if it's an .svc service, add &lt;code&gt;svc&lt;/code&gt; to the list of allowed extensions);&lt;/li&gt;&#xA;&lt;li&gt;Or pass in the content database directly:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var context = new SitecoreContentContext(&#xA;    Factory.GetDatabase(&quot;master&quot;),&#xA;    AbstractSitecoreContext.GetContextFromSite())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-13T19:02:47.893" LastActivityDate="2016-10-13T19:02:47.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1317" PostTypeId="2" ParentId="1302" CreationDate="2016-10-13T18:38:55.043" Score="12" Body="&lt;p&gt;I think you may be missing type matches within your field map.&#xA;Try adding this section before your &lt;code&gt;&amp;lt;fieldNames&amp;gt;&lt;/code&gt; section&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;string&quot; type=&quot;System.String&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;&amp;lt;/typeMatches&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I grabbed that from the example &lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt; file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can try referencing the default field map like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="9" LastEditorUserId="73" LastEditDate="2016-10-13T21:06:48.397" LastActivityDate="2016-10-13T21:06:48.397" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1318" PostTypeId="2" ParentId="1291" CreationDate="2016-10-13T18:56:35.873" Score="3" Body="&lt;p&gt;The use of the &lt;strong&gt;Identify()&lt;/strong&gt; method has a very specific use case. It requires that the Page context be present which isn't the case in pipelines, events, handlers, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I've learned is that the Identify method is really only for specifically identifying a contact and setting the analytics cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in your WFFM action, you are probably wanting to do something like add information to a contact or create the contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In those cases, instead of using Identify, I would utilize the &lt;strong&gt;ContactRepository&lt;/strong&gt; class to load/create your contact, setting the identifier as needed, and any other custom facet information that you may have.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, at the end of your WFFM action, on the success page, I would include the email address (assuming that's the identifier) and perform the Identify then, instead of the action.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I'm not in a position where I can attached example code at the moment,&#xA;  this is a mobile answer. However, once I can, I'll whip up an example of creating the contact, setting the identifier, and then saving it.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-13T18:56:35.873" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1319" PostTypeId="2" ParentId="1291" CreationDate="2016-10-13T18:56:53.987" Score="0" Body="&lt;p&gt;The normal process for identifying a contact using WFFM involves the following save actions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create User (In &lt;em&gt;extranet&lt;/em&gt; - This will be skipped if a user already exists - don't worry)&lt;/li&gt;&#xA;&lt;li&gt;User Login (By Email)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Unless there is a particular reason why you need to write custom code - these will identify the contact for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, I'd suggest adding the &lt;em&gt;Update Contact Details&lt;/em&gt; save action to update the xDB contact with any other information you have such as name.&lt;/p&gt;&#xA;" OwnerUserId="421" LastEditorUserId="421" LastEditDate="2016-10-14T12:51:47.150" LastActivityDate="2016-10-14T12:51:47.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1320" PostTypeId="2" ParentId="698" CreationDate="2016-10-13T19:14:39.550" Score="11" Body="&lt;p&gt;There is no difference. They are the same thing. They are both defined in config files, and they both are accessible using the Sitecore search API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It comes down to how the index is used in the system. There are many factors involved: what parts of the system use the index, how long does it take to rebuild the index, how often the index is used, how often the index is rebuilt, is it possible to reliably rebuild the index, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Indexes that appear in the UIs you mentioned have been determined to be &lt;em&gt;safe&lt;/em&gt; to display in those UIs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for how these indexes are used, it depends on the index. It's beyond the scope of this question to describe each index and what it is used for. You can look in the config files to see what each index is built from. You can use a decompiler to see where Sitecore uses each of them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many people are not aware that search indexes provide access to much more than just items in Sitecore databases, or that you can define your own indexes to support your own specific requirements.&lt;/p&gt;&#xA;" OwnerUserId="256" LastActivityDate="2016-10-13T19:14:39.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1321" PostTypeId="1" AcceptedAnswerId="1323" CreationDate="2016-10-13T19:22:07.817" Score="8" ViewCount="318" Body="&lt;p&gt;Does Sitecore support store booleans in a custom facet?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the following &lt;strong&gt;&lt;em&gt;interfaces&lt;/em&gt;&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;using System;&#xA;&#xA;    namespace MySite.Models.Facets&#xA;    {&#xA;        public interface IAdditionalInfoCommunicationElement : IElement&#xA;        {&#xA;            DateTime Sent { get; set; }&#xA;            string ContactType { get; set; }&#xA;            string Message { get; set; }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace MySite.Models.Facets&#xA;{&#xA;&#xA;    public interface IAdditionalInfoFacet : IFacet&#xA;    {&#xA;        string Company { get; set; }&#xA;        string RevenueRange { get; set; }&#xA;        string Industry { get; set; }&#xA;        string SubIndustry { get; set; }&#xA;        IElementCollection&amp;lt;IAdditionalInfoCommunicationElement&amp;gt; Communications { get; }&#xA;        bool OptIn { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;and the following &lt;strong&gt;&lt;em&gt;classes&lt;/em&gt;&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;using System;&#xA;&#xA;namespace MySite.Models.Facets&#xA;{&#xA;    [Serializable]&#xA;    public class AdditionalInfoCommunicationElement: Element, IAdditionalInfoCommunicationElement&#xA;    {&#xA;        private const string FIELD_SENT = &quot;Sent&quot;;&#xA;        private const string FIELD_CONTACT_TYPE = &quot;Contact Type&quot;;&#xA;        private const string FIELD_MESSAGE = &quot;Message&quot;;&#xA;&#xA;        public AdditionalInfoCommunicationElement()&#xA;        {&#xA;            EnsureAttribute&amp;lt;DateTime&amp;gt;(FIELD_SENT);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_CONTACT_TYPE);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_MESSAGE);&#xA;        }&#xA;&#xA;        public DateTime Sent&#xA;        {&#xA;            get { return GetAttribute&amp;lt;DateTime&amp;gt;(FIELD_SENT); }&#xA;            set { SetAttribute(FIELD_SENT, value); }&#xA;        }&#xA;&#xA;        public string ContactType&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_CONTACT_TYPE); }&#xA;            set { SetAttribute(FIELD_CONTACT_TYPE, value); }&#xA;        }&#xA;&#xA;        public string Message&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_MESSAGE); }&#xA;            set { SetAttribute(FIELD_MESSAGE, value); }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;using System;&#xA;namespace MySite.Models.Facets&#xA;{&#xA;    [Serializable]&#xA;    public class AdditionalInfoFacet : Facet, IAdditionalInfoFacet&#xA;    {&#xA;        public const string FACET_NAME = &quot;Company Info&quot;;&#xA;        private const string FIELD_COMPANY = &quot;Company&quot;;&#xA;        private const string FIELD_INDUSTRY = &quot;Industry&quot;;&#xA;        private const string FIELD_SUB_INDUSTRY = &quot;SubIndustry&quot;;&#xA;        private const string FIELD_REVENUE_RANGE = &quot;RevenueRange&quot;;&#xA;        private const string FIELD_OPT_IN = &quot;OptIn&quot;;&#xA;        public AdditionalInfoFacet()&#xA;        {&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_COMPANY);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_INDUSTRY);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_SUB_INDUSTRY);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_REVENUE_RANGE);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_OPT_IN);&#xA;            EnsureCollection&amp;lt;IAdditionalInfoCommunicationElement&amp;gt;(FACET_NAME);&#xA;        }&#xA;        public string Company&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_COMPANY); }&#xA;            set { SetAttribute(FIELD_COMPANY, value); }&#xA;        }&#xA;        public string Industry&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_INDUSTRY); }&#xA;            set { SetAttribute(FIELD_INDUSTRY, value); }&#xA;        }&#xA;        public string SubIndustry&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_SUB_INDUSTRY); }&#xA;            set { SetAttribute(FIELD_SUB_INDUSTRY, value); }&#xA;        }&#xA;        public string RevenueRange&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_REVENUE_RANGE); }&#xA;            set { SetAttribute(FIELD_REVENUE_RANGE, value); }&#xA;        }&#xA;        public IElementCollection&amp;lt;IAdditionalInfoCommunicationElement&amp;gt; Communications&#xA;        {&#xA;            get&#xA;            {&#xA;                return GetCollection&amp;lt;IAdditionalInfoCommunicationElement&amp;gt;(FACET_NAME);&#xA;            }&#xA;        }&#xA;        public bool OptIn&#xA;        {&#xA;            get { return GetAttribute&amp;lt;bool&amp;gt;(FIELD_OPT_IN); }&#xA;            set { SetAttribute(FIELD_OPT_IN, value); }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But the following code snippet:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;if (registration.ForceOptIn == true || registration.ShowOptIn == false || (registration.ShowOptIn == true &amp;amp;&amp;amp; !string.IsNullOrWhiteSpace(registration.OptIn)))&#xA;{&#xA;    additionalInfo.OptIn = true;&#xA;}&#xA;else&#xA;{&#xA;    additionalInfo.OptIn = false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Throws the following error:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; Exception: System.InvalidCastException Message: Unable to cast object&#xA;&gt; of type&#xA;&gt; 'Sitecore.Analytics.Model.Framework.ModelAttributeMember`1[System.String]'&#xA;&gt; to type&#xA;&gt; 'Sitecore.Analytics.Model.Framework.IModelAttributeMember`1[System.Boolean]'.&#xA;&gt; Source: Sitecore.Analytics.Model    at&#xA;&gt; Sitecore.Analytics.Model.Framework.Element.SetAttribute[TValue](String&#xA;&gt; name, TValue value)    at&#xA;&gt; MySite.Analytics.ContactManagement.RegisterContact(Registration&#xA;&gt; registration) in&#xA;&gt; C:\SRC\Main\Sitecore\MySite.Analytics\ContactManagement.cs:line 127&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To me it look like everywhere I reference OptIn I am using a bool, but this error seems to indicate I am using a string somewhere?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running &lt;code&gt;Sitecore 8.1 Update 2&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="5387" LastEditDate="2019-08-06T05:57:10.973" LastActivityDate="2019-08-06T05:57:10.973" Title="How to store booleans in a custom facet?" Tags="|xdb|contact-facets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1322" PostTypeId="1" AcceptedAnswerId="1325" CreationDate="2016-10-13T19:31:06.733" Score="9" ViewCount="307" Body="&lt;p&gt;I have seen that the sitecore xDB allows a user to be identified across browsers. For example, if the user has logged in on Firefox and when he opens Chrome, he is already identified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to know if the shared session can be tested locally. That is on my laptop, trying to reproduce the above example. I have a sitecore v8.1 instance running. I searched almost everywhere on the net but could not find any information. Even the Sitecore documentation it is not so clear.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="71" LastEditDate="2016-10-13T21:03:22.950" LastActivityDate="2016-10-13T21:03:22.950" Title="Sitecore shared session across browsers" Tags="|xdb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1323" PostTypeId="2" ParentId="1321" CreationDate="2016-10-13T19:32:08.157" Score="10" Body="&lt;p&gt;In your &lt;code&gt;AdditionalInfoFacet&lt;/code&gt; constructor, change this line:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;EnsureAttribute&amp;lt;string&amp;gt;(FIELD_OPT_IN);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;EnsureAttribute&amp;lt;bool&amp;gt;(FIELD_OPT_IN);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to register your boolean attribute with the correct type.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-13T19:32:08.157" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1324" PostTypeId="1" CreationDate="2016-10-13T19:39:35.170" Score="5" ViewCount="715" Body="&lt;p&gt;I have the following setup&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;1 CM server &lt;/li&gt;&#xA;&lt;li&gt;1 CD server &lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We have a custom Lucene index that is updating with no problem on our CM server but not on our CD server.   I checked the logs and it doesn't seem to show anything that would be related to this issue.   I also checked that the index was added to the EventQueue table and it is added to this table to run.  The instance names for the StabilitySettings.config are the same.   This was working fine yesterday and suddenly stopped working today and no new code changes were added.  When I check the Crawling log on the CD server I only see the following text&lt;/p&gt;&#xA;&#xA;&lt;p&gt;IndexCustodian. FullRebuild triggered on index {MyIndexName}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't see where it is adding the items or starting and stopping the crawl.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any one have any ideas where I can look at to see what might be happening?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am thinking about copying the index from CM to CD as a temp solution for now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: We applied &lt;code&gt;SwitchMasterToWeb&lt;/code&gt; script and cannot login into CD now. &lt;/p&gt;&#xA;" OwnerUserId="766" LastEditorUserId="633" LastEditDate="2016-10-13T20:18:50.987" LastActivityDate="2016-10-13T20:50:27.370" Title="Issue with CD index not being updated after updating CM for Sitecore 8.1" Tags="|indexing|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1325" PostTypeId="2" ParentId="1322" CreationDate="2016-10-13T19:48:00.903" Score="12" Body="&lt;p&gt;No, it doesn't work this way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/identifying_contacts&quot;&gt;&lt;strong&gt;identification API&lt;/strong&gt;&lt;/a&gt; to tell Sitecore: the current user is &lt;em&gt;this contact&lt;/em&gt;. You would normally use this API when the user logs in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you implement this, the users will log in and thus identify themselves to xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, the user can log in to your site from multiple devices, or in several browsers on the same machine. Later on, even if he's not logged in anymore, xDB will still remember the last associated contact using a custom cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the user opens browser sessions from two or more devices, all simultaneous user sessions will have a common, &lt;em&gt;shared&lt;/em&gt;, session. What this allows you to do is modify the contact in one session and access that changed state in another session simultaneously.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So there is no magical way for Sitecore to know who the user is if there are no identifying cookies in his browser, or e.g. a custom URL argument containing a contact ID. Shared session is about sharing state between multiple parallel sessions. Read more here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-13T19:48:00.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1326" PostTypeId="2" ParentId="1324" CreationDate="2016-10-13T20:12:22.253" Score="-2" Body="&lt;p&gt;Not sure what happened but after doing updating our index the 7th time it started to work correctly.&lt;/p&gt;&#xA;" OwnerUserId="766" LastActivityDate="2016-10-13T20:12:22.253" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1327" PostTypeId="1" CreationDate="2016-10-13T20:14:36.573" Score="22" ViewCount="1437" Body="&lt;p&gt;Normally I use TDS to move Sitecore items from one environment to the next (e.g. dev to QA to stage to prod). For many sites, being able to move items is sufficient. However, some sites have specific roles that need to be moved from environment to environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been serializing and unserializing users and roles and moving those files, but that's an error-prone process. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a method/tool/process to automate moving roles and users between environments?&lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="73" LastEditDate="2016-10-29T00:03:03.753" LastActivityDate="2018-01-17T02:25:33.717" Title="How can I copy roles between environments using TDS?" Tags="|tds|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1328" PostTypeId="2" ParentId="1327" CreationDate="2016-10-13T20:14:36.573" Score="22" Body="&lt;p&gt;TDS 5.1 added the ability to manage roles within TDS. You have to enable management of roles in TDS in the project. This is done by opening the TDS project properties and, on the General Property tab, enabling the &quot;Manage Sitecore Roles in TDS&quot; check box:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zD84P.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zD84P.png&quot; alt=&quot;TDS project settings - General tab - Manage Sitecore Roles in TDS&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you've enabled this, a folder item called &quot;Sitecore Roles&quot; will appear. From there, you can manage roles in much the same way as you can manage items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hedgehog has documented this functionality here: &lt;a href=&quot;https://hedgehogdevelopment.github.io/tds/chapter4.html#sync-sitecore-roles&quot; rel=&quot;noreferrer&quot;&gt;https://hedgehogdevelopment.github.io/tds/chapter4.html#sync-sitecore-roles&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="368" LastEditDate="2017-04-07T14:42:33.417" LastActivityDate="2017-04-07T14:42:33.417" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1329" PostTypeId="1" AcceptedAnswerId="1330" CreationDate="2016-10-13T20:25:12.300" Score="-6" ViewCount="154" Body="&lt;p&gt;This came to my mind after I saw the following question &lt;a href=&quot;https://stackoverflow.com/q/9033/468718&quot;&gt;https://stackoverflow.com/q/9033/468718&lt;/a&gt; and also &lt;a href=&quot;https://stackoverflow.com/questions/tagged/hidden-features&quot;&gt;https://stackoverflow.com/questions/tagged/hidden-features&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We, Sitecore developers know the basics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some even mastered the areas like EXM, WFFM, Workflow, Powershell Extensions, etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But what are the most hidden features or tricks of Sitecore that people barely know it exists in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="2727" LastEditDate="2018-03-15T07:06:50.247" LastActivityDate="2018-03-15T07:06:50.247" Title="Hidden Features of Sitecore CMS?" Tags="|best-practices|" AnswerCount="1" CommentCount="2" ClosedDate="2016-10-13T20:38:01.193" ContentLicense="CC BY-SA 3.0" />
  <row Id="1330" PostTypeId="2" ParentId="1329" CreationDate="2016-10-13T20:34:02.693" Score="0" Body="&lt;p&gt;These are hardly hidden, but maybe lesser known?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;F9 in Content Editor brings up the Site Publish dialog.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Rocks&lt;/li&gt;&#xA;&lt;li&gt;There are so many incredible pages in the Admin folder that can help you debug stuff. ShowConfig.aspx for your compiled Web.Config. Cache.aspx for cache tuning...&lt;/li&gt;&#xA;&lt;li&gt;Developer Center is still in Sitecore 8.x. You can get there by appending &quot;/sitecore/shell/default.aspx?xmlcontrol=IDE&quot; to your Sitecore path.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="553" LastActivityDate="2016-10-13T20:34:02.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1331" PostTypeId="1" AcceptedAnswerId="1395" CreationDate="2016-10-13T20:47:21.083" Score="12" ViewCount="1909" Body="&lt;p&gt;We are setting up multiple Sitecore CM servers.&lt;/p&gt;&#xA;&lt;p&gt;Do we need to do anything more then what is covered in &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;noreferrer&quot;&gt;this&lt;/a&gt; documentation for setting up CMs. The documentation covers just giving each instance of CM a unique name.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;sc8CM1&lt;/p&gt;&#xA;&lt;p&gt;If you have multiple CM servers, give each a unique name, such as:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;sc8CM2&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;sc8CM3&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So what else is there to be aware of, I would particularly be keen to know about:-&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Will the CM systems conflict in anyway?&lt;/li&gt;&#xA;&lt;li&gt;I would like to know if it is preferred to run Tasks from one CM and not both.&lt;/li&gt;&#xA;&lt;li&gt;How do we manage syncing content between the two?&lt;/li&gt;&#xA;&lt;li&gt;I would appreciate any other advice, if I have missed something make me aware.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="428" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-14T20:10:11.833" Title="Setting up multiple CM servers" Tags="|best-practices|scaling|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1332" PostTypeId="2" ParentId="1324" CreationDate="2016-10-13T20:50:27.370" Score="3" Body="&lt;p&gt;I would check to ensure that your CD and CM servers system time are all in sync.  I've seen a difference of just a few seconds cause issues with remote events/event queue.&lt;/p&gt;&#xA;" OwnerUserId="366" LastActivityDate="2016-10-13T20:50:27.370" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1333" PostTypeId="2" ParentId="1282" CreationDate="2016-10-13T21:25:40.320" Score="10" Body="&lt;p&gt;Wrap the context in comment tags.  Or you could drop another patch file in below it to overwrite that patch.   Maybe those are obvious, but figured I would throw them out anyways.&lt;/p&gt;&#xA;" OwnerUserId="776" LastActivityDate="2016-10-13T21:25:40.320" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1334" PostTypeId="1" AcceptedAnswerId="1339" CreationDate="2016-10-13T21:35:43.143" Score="14" ViewCount="1079" Body="&lt;p&gt;I often have issues with sites that have multiple aspect-ratios in renderings which reference a single media item.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example: On a listing page a 1:1 aspect ratio (square) thumbnail is used to list several images, yet on an article detail page that same media item is displayed in a 16:9 (widescreen) aspect ratio across the top of the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The causes issues with content editors who don't carefully crop their source image before upload. Instead they upload a single image which may work for one aspect ratio well, but would be less-than ideal for the square thumbnails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How have you solved this problem in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally you'd have a tool in the Media Library which allowed graphical selection of a focal point in the image and a dynamic image resizing library which attempts to keep that focal point as close to the center of the image throughout all resizes and aspect ratio changes. Bonus points if this tool can automatically make focal point suggestions based on machine learning ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are you using a community module? A third party product? Or do you just rely on consistent aspect ratios and avoid the issue?&lt;/p&gt;&#xA;" OwnerUserId="399" LastEditorUserId="399" LastEditDate="2016-10-14T21:13:40.483" LastActivityDate="2019-05-12T23:14:25.357" Title="Better editorial image manipulation tools in Sitecore CMS" Tags="|media-library|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1335" PostTypeId="5" CreationDate="2016-10-13T21:46:09.370" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-13T21:46:09.370" LastActivityDate="2016-10-13T21:46:09.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1336" PostTypeId="4" CreationDate="2016-10-13T21:46:09.370" Score="0" Body="Questions about benchmarking and analyzing Sitecore performance." OwnerUserId="399" LastEditorUserId="399" LastEditDate="2016-10-13T23:24:04.860" LastActivityDate="2016-10-13T23:24:04.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1337" PostTypeId="1" AcceptedAnswerId="1347" CreationDate="2016-10-13T22:03:02.160" Score="5" ViewCount="359" Body="&lt;p&gt;The Sitecore Pipeline Profiler is disabled by default. What is the performance impact when enabling it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it recommended to only do this in development, or can it be safely run in production?&lt;/p&gt;&#xA;" OwnerUserId="399" LastActivityDate="2016-10-14T07:11:39.203" Title="Is there a downside to enabling the Sitecore Pipeline Profiler?" Tags="|performance-optimization|performance-profiling|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1338" PostTypeId="2" ParentId="1337" CreationDate="2016-10-13T23:09:45.890" Score="4" Body="&lt;p&gt;Depends on what you mean by &quot;safely&quot;. If you are investigating performance issues or metrics on your production environment - go ahead and enable it. It will add overhead, but so will any other form of performance measurement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would not recommend you leave it running indefinitely however. Switch it on to get your data, then switch it off again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Performance impact on most systems is negligible. So unless your server is maxed out and struggling for resource, you should be fine.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-13T23:09:45.890" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1339" PostTypeId="2" ParentId="1334" CreationDate="2016-10-13T23:19:39.013" Score="19" Body="&lt;p&gt;We had exactly this problem to solve on the current project that I'm working on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wanted to use something like this for Umbraco which allows you to set a focus point:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/image-cropper&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/image-cropper&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However unfortunately despite looking extensively I couldn't find anything that had been built already.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple of modules such as this: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Image_Cropper.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Image_Cropper.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/ImageProcessor_Module.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/ImageProcessor_Module.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which I looked at but they don't support setting a focus point unfortunately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in the end we implemented our own getMediaStream pipeline processor using code similar to this excellent post by Anders Laub to center crop the images:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://laubplusco.net/make-sitecore-deliver-images-fits-screen-part-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://laubplusco.net/make-sitecore-deliver-images-fits-screen-part-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As part of this we also implemented support for responsive images with picture element and srcset + similar support for background images too. This means for smaller devices (such as iPhone &amp;amp; iPads) we call the custom media handler with a request for a medium, small image which means smaller file size and a faster experience for the user on smaller screens. We also handle Retina images in this way too. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It outputs markup similar to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;picture&amp;gt;&#xA;&amp;lt;source data-srcset=&quot;https://mysite.com/-/media/group-ima‫ge.jpg?mw=374&amp;amp;amp;mh=238&amp;amp;amp;as=1&amp;amp;amp;centercrop=1, https://mysite.com/-/media/group-image.jpg?mw=561&amp;amp;amp;mh=357&amp;amp;amp;as=1&amp;amp;amp;centercrop=1 2x&quot; media=&quot;(min-width: 800px)&quot; &#xA;srcset=&quot;https://mysite.com/-/media/group-image.jpg?mw=374&amp;amp;amp;mh=238&amp;amp;amp;as=1&amp;amp;amp;centercrop=1, https://mysite.com/-/media/group-image.jpg?mw=561&amp;amp;amp;mh=357&amp;amp;amp;as=1&amp;amp;amp;centercrop=1 2x&quot;&amp;gt;&#xA;&amp;lt;/picture&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also created a focus point setting tool for the content editor, but haven't yet fully tested it so we are using centre crop on it's own currently. Once I complete it, if there is enough demand to do so I'll try and package it up as a module if I can.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;--Update--&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what the focus point selector looks like currently, it's built using SPEAK UI and allows the user to click on the image and stores the x/y of the focus point. This can then be picked up by the image processor and used instead of the centre of the image:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A7Xhl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A7Xhl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyway hopefully this will get you started with things and give you ideas to consider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wasn't allowed to open source this but Saad Khan built something similar which you can find a blog post on here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://inverseproportion.wordpress.com/2017/04/12/image-field-with-focus-cropper-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://inverseproportion.wordpress.com/2017/04/12/image-field-with-focus-cropper-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Pk8c7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Pk8c7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This Module can be found on the marketplace here (and on &lt;a href=&quot;https://github.com/saadahmedkhan/sitecore-fields&quot; rel=&quot;nofollow noreferrer&quot;&gt;Github&lt;/a&gt;):&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/A/Advance_Image_Field.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/A/Advance_Image_Field.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a video on how it works here too: &lt;a href=&quot;https://www.youtube.com/watch?v=JxqHYoASUx0&amp;amp;feature=youtu.be&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=JxqHYoASUx0&amp;amp;feature=youtu.be&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think it works in Sitecore 8 but I'm not sure about Sitecore 9. You may find the code is more up to date on Github.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Another Interesting Article&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This blog post is in Dutch but if you use Google Translate it is a good read and might give you some ideas on how to approach this using SPEAK 3 instead:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.comspace.de/automatisierter-zuschnitt-von-bildern-in-sitecore-mit-ki/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.comspace.de/automatisierter-zuschnitt-von-bildern-in-sitecore-mit-ki/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;BrainJocks also have support for this in their BrainJocks SCORE™ 3.0 product for Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jockstothecore.com/finally-support-for-responsive-images-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jockstothecore.com/finally-support-for-responsive-images-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2019-05-12T23:14:25.357" LastActivityDate="2019-05-12T23:14:25.357" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="1340" PostTypeId="1" AcceptedAnswerId="1344" CreationDate="2016-10-14T01:30:38.720" Score="21" ViewCount="3748" Body="&lt;p&gt;I'm converting a Habitat solution using DLLs checked into source control over to NuGet packages using the Sitecore package source feed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When should I use the packages marked &lt;code&gt;NoReferences&lt;/code&gt; (so that I end up with the exact same project references)? Or those without this suffix that include references to the same plus other DLLs?&lt;/p&gt;&#xA;" OwnerUserId="705" LastEditorUserId="114" LastEditDate="2016-10-14T06:23:09.160" LastActivityDate="2019-02-14T12:21:45.213" Title="When should I use the &quot;NoReferences&quot; NuGet packages?" Tags="|nuget|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1341" PostTypeId="2" ParentId="1124" CreationDate="2016-10-14T02:15:03.910" Score="3" Body="&lt;p&gt;I think Time synchronization is important, but Timezone is not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I see EventQueue timestamps use UTC time, whatever the local time of the system, so long as the clocks are in sync they can all convert to Universal Time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While do agree with @owen-niblock that mixed timezones can easily cause confusion when reviewing logs (as log timestamps are local time), and also cause confusion in custom code, I don't believe it would cause an issue with Sitecore operations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However; if I had such a broad and distributed server setup I'd probably already have them all logging to a central log aggregator which consolidates the logs, makes them searchable, and normalizes the timing.&lt;/p&gt;&#xA;" OwnerUserId="399" LastEditorUserId="399" LastEditDate="2016-10-14T02:23:12.747" LastActivityDate="2016-10-14T02:23:12.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1342" PostTypeId="2" ParentId="1340" CreationDate="2016-10-14T02:30:08.160" Score="2" Body="&lt;p&gt;To ensure you have complete control of the references you use in your solution I would argue you should always use the &lt;code&gt;.NoReferences&lt;/code&gt; packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a good overview of the package source feed and some thoughts on when to use the &lt;code&gt;.NoReferences&lt;/code&gt; suffix in this blog post &lt;a href=&quot;https://jermdavis.wordpress.com/2016/09/05/the-official-sitecore-nuget-feed-is-here/&quot; rel=&quot;nofollow&quot;&gt;https://jermdavis.wordpress.com/2016/09/05/the-official-sitecore-nuget-feed-is-here/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="148" LastActivityDate="2016-10-14T02:30:08.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1343" PostTypeId="2" ParentId="1340" CreationDate="2016-10-14T02:41:57.997" Score="9" Body="&lt;p&gt;The no-references packages allow you to add only the packages you need to your project. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Consider a package that preferences Sitecore.Kernel.  The package may need Sitecore.Kernel, but not any of the packages that Sitecore.Kernel references (such as Newtonsoft). The no-references package allows you to reference only Sitecore.Kernel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using some smaller, more specialized packages, it makes sense to want to use the packages with references (especially for the packages that don't refer to foundational packages like Sitecore.Kernel).&lt;/p&gt;&#xA;" OwnerUserId="256" LastEditorUserId="135" LastEditDate="2016-10-14T06:49:54.327" LastActivityDate="2016-10-14T06:49:54.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1344" PostTypeId="2" ParentId="1340" CreationDate="2016-10-14T03:27:41.870" Score="16" Body="&lt;p&gt;The package &lt;strong&gt;without&lt;/strong&gt; &lt;code&gt;NoReferences&lt;/code&gt; suffix brings dependent Nugets containing  additional DLLs. These DLLs are defined as dependencies in Nuget definition. If you check the dependencies list you will find Sitecore DLLs and third party DLLs like &lt;code&gt;Newtonsoft.Json&lt;/code&gt; or &lt;code&gt;HtmlAgilityPack&lt;/code&gt; in it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The package &lt;strong&gt;with&lt;/strong&gt; &lt;code&gt;NoReferences&lt;/code&gt; suffix does not bring any dependencies. Developer expected to identify and add all required DLLs manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now let's talk about what exactly is included in list of dependencies. The answer why some DLLs are included and others are not becomes clear if you check DLL references in the tool like &lt;code&gt;ILSpy&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are references in &lt;code&gt;Sitecore.ContentSearch.dll&lt;/code&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/27RrQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/27RrQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And these are dependencies of &lt;code&gt;Sitecore.ContentSearch&lt;/code&gt; Nuget package:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/A61n5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A61n5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a clear pattern here. &#xA;The Nuget package includes referenced assemblies as dependencies. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now we can talk about what an assembly reference is and how it works. When our assembly executes its code it often uses types from external assemblies. References are the guidance for .NET to load the assembly that contains the required type. Interestingly, references are not used when an assembly is loaded, but when the code is executed.&#xA;When the referenced assembly is missing, the application may work fine if any types from that assembly are not used at runtime.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From mentioned above you can see that the regular Nuget package is developer's safe harbour and the default choice. It includes all the references required at run-time, so you can execute any code without fear to get &lt;code&gt;Could not load file or assembly&lt;/code&gt; error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;*NoReferences&lt;/code&gt; Nuget package can be used if you want to have full control over what is referenced. You can reduce amount of DLLs in your &lt;code&gt;bin&lt;/code&gt; folder or use some specific dependency version.&lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="55" LastEditDate="2016-10-14T08:08:13.450" LastActivityDate="2016-10-14T08:08:13.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1345" PostTypeId="2" ParentId="305" CreationDate="2016-10-14T05:30:54.117" Score="5" Body="&lt;p&gt;Not to self-promote, but I actually wrote a &lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/june/06/creating-a-multi-root-treelist-field-in-sitecore&quot; rel=&quot;nofollow&quot;&gt;blog post&lt;/a&gt; on how to create a Multi-Root Treelist a little while back, based on Kam's post on multi-root Treelists, enhanced with support for using data source parameters with Sitecore Query and also displaying full item paths next to the item names in the tree. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Implementation:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition to the code, don't forget that you will need to add a new item for the field type under &lt;em&gt;/sitecore/system/Field types/List Types&lt;/em&gt; in the core database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are all the classes and config files that you will need (assuming that you are using Solr; otherwise you may need to update the Custom.FieldTypes.Solr.config to be Lucene-friendly):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;MultiRootTreeList.cs:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// This field type is like a tree list, but you can specify more than one root item to select from&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;remarks&amp;gt;&#xA;/// Credit to Kam Figy for providing the foundation for this solution: http://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field/&#xA;/// &#xA;/// The data source roots are specified using pipe delimiting just like regular Sitecore Query language. This is great when a field needs to allow, for example,&#xA;/// the selection of both videos and photos. &#xA;/// &#xA;/// Note that this solution also requires a config setting to be added for the field type. For example, the following would be added to the the &#xA;/// sitecore/fieldTypes path: &#xA;///&#xA;/// &amp;lt;fieldType name=&quot;Multi-Root Treelist&quot; type=&quot;Sitecore.Data.Fields.MultilistField,Sitecore.Kernel&quot; /&amp;gt; &#xA;///&#xA;/// Additionally, the field type should be added to the ContentSearch configuration, if using ContentSearch&#xA;/// &amp;lt;/remarks&amp;gt;&#xA;public class MultiRootTreeList : TreeList&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Prefix that all Sitecore queries should start with&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    private const string QueryPrefix = &quot;query:&quot;;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Parameter key for the DataSource parameter of the Source field&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    private const string DataSourceParameterKey = &quot;datasource&quot;;&#xA;&#xA;    private string[] _sources;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// The split sources within the &amp;lt;seealso cref=&quot;TreeList.Source&quot;/&amp;gt; property&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public string[] Sources =&amp;gt; _sources ?? (_sources = GetSources());&#xA;&#xA;    private string[] _dataSources;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// The datasources retrieved from the &amp;lt;seealso cref=&quot;Sources&quot;/&amp;gt;&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public string[] DataSources&#xA;    {&#xA;        get&#xA;        {&#xA;            // if we already found the sources, don't do all this cumbersome logic again&#xA;            if (_dataSources != null)&#xA;            {&#xA;                return _dataSources;&#xA;            }&#xA;&#xA;            if (string.IsNullOrEmpty(Source) || global::Sitecore.Context.ContentDatabase == null || ItemID == null)&#xA;            {&#xA;                return (_dataSources = new string[] { });&#xA;            }&#xA;&#xA;            var contextDb = global::Sitecore.Context.ContentDatabase;&#xA;&#xA;            // the current item, from which relatative queries are executed&#xA;            var currentItem = contextDb.GetItem(ItemID);&#xA;&#xA;            return (_dataSources = Sources&#xA;                .Select(source =&amp;gt; GetDatasource(source, currentItem))&#xA;                // decided not to fall back here; if the datasource wasn't found then remove it, rather than show a default node&#xA;                .Where(datasource =&amp;gt; datasource != null)&#xA;                .ToArray());&#xA;        }&#xA;    }&#xA;&#xA;    protected override void OnLoad(EventArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;        // if this is an event, just run the base logic and return&#xA;        if (global::Sitecore.Context.ClientPage.IsEvent)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        base.OnLoad(args);&#xA;&#xA;        // find the existing TreeviewEx that the base OnLoad added, get a ref to its parent, and remove it from controls&#xA;        var existingTreeView = (TreeviewEx)WebUtil.FindControlOfType(this, typeof(TreeviewEx));&#xA;        var treeviewParent = existingTreeView.Parent;&#xA;&#xA;        existingTreeView.Parent.Controls.Clear(); // remove stock treeviewex, we replace with multiroot&#xA;&#xA;        // find the existing DataContext that the base OnLoad added, get a ref to its parent, and remove it from controls&#xA;        var dataContext = (DataContext)WebUtil.FindControlOfType(this, typeof(DataContext));&#xA;        var dataContextParent = dataContext.Parent;&#xA;&#xA;        dataContextParent.Controls.Remove(dataContext); // remove stock datacontext, we parse our own&#xA;&#xA;        // create our MultiRootTreeview to replace the TreeviewEx&#xA;        var impostor = new EnhancedMultiRootTreeview&#xA;        {&#xA;            ID = existingTreeView.ID,&#xA;            DblClick = existingTreeView.DblClick,&#xA;            Enabled = existingTreeView.Enabled,&#xA;            DisplayFieldName = existingTreeView.DisplayFieldName&#xA;        };&#xA;&#xA;        // parse the data source and create appropriate data contexts out of it&#xA;        var dataContexts = ParseDataContexts(dataContext);&#xA;&#xA;        // join the IDs of all of the DataContext objects together, to be added as controls&#xA;        impostor.DataContext = &#xA;            string.Join(&#xA;                &quot;|&quot;, &#xA;                dataContexts&#xA;                    .Select(dc =&amp;gt; dc.ID));&#xA;&#xA;        // add the new DataContext controls into the selection pane&#xA;        foreach (var context in dataContexts)&#xA;        {&#xA;            dataContextParent.Controls.Add(context);&#xA;        }&#xA;&#xA;        // inject our replaced control where the TreeviewEx originally was&#xA;        treeviewParent.Controls.Add(impostor);&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets all of the datasources from the Source field&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    protected virtual string[] GetSources()&#xA;    {&#xA;        if (string.IsNullOrEmpty(Source))&#xA;        {&#xA;            return new string[] {};&#xA;        }&#xA;&#xA;        var datasource = global::Sitecore.StringUtil.ExtractParameter(DataSourceParameterKey, Source).Trim();&#xA;        datasource = string.IsNullOrEmpty(datasource)&#xA;            ? Source&#xA;            : datasource;&#xA;&#xA;        return datasource.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets the item path to the datasource item&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;source&quot;&amp;gt;The source used to find the datasource item&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;currentItem&quot;&amp;gt;The current item&amp;lt;/param&amp;gt;&#xA;    protected virtual string GetDatasource(string source, Item currentItem)&#xA;    {&#xA;        Item datasourceItem = null;&#xA;&#xA;        // if the source is a query then run the query from the current item&#xA;        if (source.StartsWith(QueryPrefix))&#xA;        {&#xA;            try&#xA;            {&#xA;                var results = LookupSources.GetItems(currentItem, source);&#xA;                datasourceItem = results&#xA;                    .FirstOrDefault(item =&amp;gt; item != null);&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Log.Error($&quot;Treelist field failed to execute query: '{source}'&quot;, ex, this);&#xA;            }&#xA;        }&#xA;        // otherwise just get the item specified&#xA;        else&#xA;        {&#xA;            datasourceItem = currentItem.Database.GetItem(source);&#xA;        }&#xA;&#xA;        return datasourceItem?.Paths.FullPath;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Parses multiple source roots into discrete data context controls (e.g. 'dataSource=/sitecore/content|/sitecore/media library')&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;originalDataContext&quot;&amp;gt;The original data context the base control generated. We reuse some of its property values.&amp;lt;/param&amp;gt;&#xA;    protected virtual DataContext[] ParseDataContexts(DataContext originalDataContext)&#xA;    {&#xA;        // if there are multiple roots; otherwise, just use the original datasource (shouldn't happen, but just in case...)&#xA;        return (DataSources.Any() ? DataSources : new ListString(DataSource).AsEnumerable())&#xA;            .Select(datasource =&amp;gt; CreateDataContext(originalDataContext, datasource))&#xA;            .ToArray();&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Creates a DataContext control for a given Sitecore path data source&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    protected virtual DataContext CreateDataContext(DataContext baseDataContext, string dataSource)&#xA;    {&#xA;        var dataContext = new DataContext&#xA;        {&#xA;            ID = GetUniqueID(&quot;D&quot;),&#xA;            Filter = baseDataContext.Filter,&#xA;            DataViewName = &quot;Master&quot;&#xA;        };&#xA;&#xA;        if (!string.IsNullOrEmpty(DatabaseName))&#xA;        {&#xA;            dataContext.Parameters = &quot;databasename=&quot; + DatabaseName;&#xA;        }&#xA;&#xA;        dataContext.Root = dataSource;&#xA;        dataContext.Language = Language.Parse(ItemLanguage);&#xA;&#xA;        return dataContext;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;EnhancedMultiRootTreeView.cs:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class EnhancedMultiRootTreeview : MultiRootTreeview&#xA;{&#xA;    protected override string GetHeaderValue(Item item)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;&#xA;        var nodeTitle = string.IsNullOrEmpty(DisplayFieldName) ? item.DisplayName : item[DisplayFieldName];&#xA;        nodeTitle = string.IsNullOrEmpty(nodeTitle) ? item.DisplayName : nodeTitle;&#xA;        // you can get fancy here and make the format of the nodeTitle manageable in config&#xA;        nodeTitle = $&quot;{nodeTitle}  -  &amp;lt;span&amp;gt;({item.Paths.FullPath})&amp;lt;/span&amp;gt;&quot;;&#xA;&#xA;        return nodeTitle;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Custom.FieldTypes.config:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;fieldTypes&amp;gt;&#xA;      &amp;lt;fieldType name=&quot;Multi-Root Treelist&quot; type=&quot;Sitecore.Data.Fields.MultilistField,Sitecore.Kernel&quot; patch:after=&quot;fieldType[@name='Treelist']&quot; /&amp;gt;&#xA;    &amp;lt;/fieldTypes&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Custom.FieldTypes.Solr.config:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;fieldTypes hint=&quot;raw:AddFieldByFieldTypeName&quot;&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;multi-root treelist&quot;   returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;            &amp;lt;/fieldTypes&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;          &amp;lt;fieldReaders type=&quot;Sitecore.ContentSearch.FieldReaders.FieldReaderMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;mapFieldByTypeName hint=&quot;raw:AddFieldReaderByFieldTypeName&quot;&amp;gt;&#xA;              &amp;lt;fieldReader fieldTypeName=&quot;multi-root treelist&quot;    fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.MultiListFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;            &amp;lt;/mapFieldByTypeName&amp;gt;&#xA;          &amp;lt;/fieldReaders&amp;gt;&#xA;        &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="73" LastEditDate="2016-10-14T09:59:26.050" LastActivityDate="2016-10-14T09:59:26.050" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1346" PostTypeId="2" ParentId="416" CreationDate="2016-10-14T06:59:21.307" Score="1" Body="&lt;p&gt;We were facing the same problem every day because of our nightly release cycle. It seems like our application pool went to sleep and had to be woken up before we could use it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What helped us, was change  a setting in IIS to make to application pool react much faster.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you go to your application pool and right click the particular pool. Choose Advanced settings in the menu.&#xA;A pop-up will appear, under the sub tree Process Model, there is a setting called:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Idle Time-out Action&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Put this to suspend instead of terminate, this should make the response of your site much bigger.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if this helped you out enough.&lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-10-14T06:59:21.307" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1347" PostTypeId="2" ParentId="1337" CreationDate="2016-10-14T07:11:39.203" Score="3" Body="&lt;p&gt;I have tried enabling pipeline profiling in production and there was no noticeable performance penalty, as long as CPU measurements (&lt;code&gt;Pipelines.Profiling.MeasureCpuTime&lt;/code&gt;) were off.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With CPU timings measured, the overall page load time was increased by something like 3% (a rough estimate).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know this is anecdotal evidence, but I don't believe anyone has actually measured what the impact is, since it is so small. Normally, you'd only enable pipeline profiling if there are already performance issues on your website, so this minimal additional slowdown will not be noticeable.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-14T07:11:39.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1348" PostTypeId="2" ParentId="809" CreationDate="2016-10-14T07:11:50.663" Score="11" Body="&lt;p&gt;Sitecore has registered this as a bug and provided a custom &lt;code&gt;SitecoreItemCrawler&lt;/code&gt;. The Sitecore issue number is &lt;code&gt;471497&lt;/code&gt; and the public reference numbers for this issue are &lt;code&gt;124202&lt;/code&gt;, &lt;code&gt;103362&lt;/code&gt;, &lt;code&gt;127177&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="162" LastActivityDate="2016-10-14T07:11:50.663" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1349" PostTypeId="1" AcceptedAnswerId="1350" CreationDate="2016-10-14T08:00:08.400" Score="11" ViewCount="1161" Body="&lt;p&gt;I have several TDS projects in a solution, all of them have the same deployment properties (such as the access GUID, deployment folder), package metadata (author, version, etc.) and validation settings. When I need to change any part of configuration, I have to apply it in every project, one-by-one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to share these settings from a centralized place?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-15T13:49:38.887" Title="How can I share settings between multiple TDS projects?" Tags="|configuration|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1350" PostTypeId="2" ParentId="1349" CreationDate="2016-10-14T08:00:08.400" Score="18" Body="&lt;p&gt;TDS has a feature named &lt;a href=&quot;https://www.hhogdev.com/help/tds/globalconfig&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Global Config File&lt;/strong&gt;&lt;/a&gt; that allows you to define the value of any TDS project setting in a centralized manner.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Setting up the &lt;code&gt;TdsGlobal.config&lt;/code&gt;&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;To start using this feature, right click on the solution and click &quot;Add Global TDS Config file&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rSxgv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rSxgv.png&quot; alt=&quot;Add Global TDS Config file&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TDS will add a new folder to your solution, containing the file &lt;code&gt;TdsGlobal.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1kxzw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1kxzw.png&quot; alt=&quot;TdsGlobal.config&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this file, you will be able to set global settings that will be applied for all TDS projects in your solution. You can also set settings per build configuration. So, for example, release settings can be different from debug settings.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;User configuration&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You can create user settings both for TDS project files (e.g. &lt;code&gt;SomeProject.scproj.user&lt;/code&gt;) and for the global config file (&lt;code&gt;TdsGlobal.config.user&lt;/code&gt;). The order of precedence is the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;TdsGlobal.config.user&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SomeProject.scproj.user&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;TdsGlobal.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SomeProject.scproj&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So if a setting was defined in &lt;code&gt;TdsGlobal.config&lt;/code&gt;, its value can still be overridden on project level (&lt;code&gt;SomeProject.scproj.user&lt;/code&gt;), which in turn can be overridden by &lt;code&gt;TdsGlobal.config.user&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Format of TDS settings&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The format of &lt;code&gt;TdsGlobal.config&lt;/code&gt; matches that of TDS project files. So if you are wondering what the allowed values are for some of the settings, you can first apply the desired setting value in a single project, then open the corresponding &lt;code&gt;.scproj&lt;/code&gt; file and see the value there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t6lVn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t6lVn.png&quot; alt=&quot;Recursive deploy action&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This setting in the UI will be saved as the following XML node:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;RecursiveDeployAction&amp;gt;SitecoreRecycle&amp;lt;/RecursiveDeployAction&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;List of available settings&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;PackageAuthor&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;PackagePublisher&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;PackageVersion&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;PackageReadme&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreAssemblyPath&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;GeneratePackage&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SeperateFilesAndItems&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;PackageExcludeCode&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;AddDateTimeToPackageName&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreWebUrl&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreDeployFolder&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;RecursiveDeployAction&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;InstallSitecoreConnector&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreAccessGuid&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;DisableFileDeployment&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetGenerateNuGetPackage&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetExePath&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetSummary&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetDescription&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetTitle&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetVersion&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetPackageId&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetAuthors&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetProjectUrl&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetTags&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetRequireLicenseAcceptance&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetReleaseNotes&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetLanguage&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetOwners&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetCopyright&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetLicenseUrl&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetIconUrl&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NuGetDependencies&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;EnableValidations&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ValidationSettingsFilePath&lt;/code&gt; &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-15T13:49:38.887" LastActivityDate="2016-10-15T13:49:38.887" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1351" PostTypeId="2" ParentId="1313" CreationDate="2016-10-14T08:44:17.700" Score="9" Body="&lt;p&gt;Is you want to use the database represented by &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; then you should use &lt;code&gt;SitecoreContext&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The service SitecoreContentContext is a wrapper for the database &lt;code&gt;Sitecore.Context.ContentDatabase&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the internal database used by the Glass service is null, you should check the appropriate static property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to wrap a specific  database you should use &lt;code&gt;SitecoreService&lt;/code&gt; e.g: &lt;code&gt;new SitecoreService(&quot;master&quot;)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to just grab a Sitecore Item, as in this code: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var item = context.GetItem&amp;lt;Sitecore.Data.Items.Item&amp;gt;(&quot;/sitecore/content/home&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you are probably better just using the Sitecore Database itself. Use Glass when you are working with models and not raw Sitecore items.&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="464" LastEditDate="2016-10-14T09:26:54.187" LastActivityDate="2016-10-14T09:26:54.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1352" PostTypeId="1" AcceptedAnswerId="1362" CreationDate="2016-10-14T08:46:23.383" Score="14" ViewCount="2711" Body="&lt;p&gt;I have a website that has 2 languages, lets say English (en) and Dutch (nl). Currently the site runs on a single domain, www.x.be. All is fine. But now the customer want to add another domain www.y.com to this site. We can add this domain to IIS and the site definition in Sitecore and it works - but...  the actual requirement is that the site should run on www.x.be in &quot;nl&quot; and on www.y.com in &quot;en&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need this on first request (correct language must be set) and on language switch (all pages have a language selector). On all pages we have canonical urls and also a &lt;code&gt;&amp;lt;link rel=&quot;alternate&quot; ... hreflang=&quot;&quot;&amp;gt;&lt;/code&gt; to point to the other language - all these links must be set right to make sure we have no duplicate content. I would prefer that all the links are set correctly automatically so that we can't make mistakes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And we want to make sure that all requests that have a &quot;bad&quot; language are redirected to the correct domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the redirects I will probably just use the IIS Rewrite module. But how should I do the setup in Sitecore to match a domain to a language? Would a custom link provider be sufficient? And how can I prevent hard-coding language/domain pairs?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-14T17:11:54.513" Title="How to setup single site with one domain per language" Tags="|configuration|multilingual|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1353" PostTypeId="2" ParentId="1352" CreationDate="2016-10-14T09:08:21.607" Score="0" Body="&lt;p&gt;I thought this could be doing using the web.config&#xA;Within this config file you can add a website as follow:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site &#xA;    name=&quot;website&quot; &#xA;    virtualFolder=&quot;/&quot;&#xA;    physicalFolder=&quot;/&quot; &#xA;    rootPath=&quot;/sitecore/content&quot;&#xA;    startItem=&quot;/home&quot;&#xA;    language=&quot;en&quot; &#xA;    database=&quot;web&quot; &#xA;    domain=&quot;extranet&quot; &#xA;    allowDebug=&quot;true&quot; &#xA;    cacheHtml=&quot;true&quot; &#xA;    htmlCacheSize=&quot;10MB&quot; &#xA;    enablePreview=&quot;true&quot;&#xA;    enableDebugger=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you set the language to the correct language correpsonding to the website you want want to pop-up for that website, you should be good to go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a reference article&#xA;&lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Configuring%20Sites%20in%20web,-d-,config%20File.aspx&quot; rel=&quot;nofollow&quot;&gt;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Configuring%20Sites%20in%20web,-d-,config%20File.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this did not work out for you, please let me know.&lt;/p&gt;&#xA;" OwnerUserId="755" LastEditorUserId="10" LastEditDate="2016-10-14T17:11:54.513" LastActivityDate="2016-10-14T17:11:54.513" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1354" PostTypeId="5" CreationDate="2016-10-14T09:11:30.443" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-14T09:11:30.443" LastActivityDate="2016-10-14T09:11:30.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1355" PostTypeId="4" CreationDate="2016-10-14T09:11:30.443" Score="0" Body="Sheer UI, built framework used for creating UI of Sitecore Client. The Sitecore applications, are built using XML Controls." OwnerUserId="283" LastEditorUserId="283" LastEditDate="2016-10-14T11:09:46.997" LastActivityDate="2016-10-14T11:09:46.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1356" PostTypeId="2" ParentId="348" CreationDate="2016-10-14T09:12:24.330" Score="2" Body="&lt;p&gt;Well it depends on which database you are working on. Default a content editor opens an experience editor and page editor on the master database. From there the changes will be saved and published towards the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here you see how that works out:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/PBEaD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PBEaD.png&quot; alt=&quot;Sitecore database setup&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Working directly on the CD web database is not recommended as your change will be overwritten on the next publish action.&lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-10-14T09:12:24.330" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1357" PostTypeId="2" ParentId="1313" CreationDate="2016-10-14T09:22:18.010" Score="1" Body="&lt;p&gt;You can fill up your database variable using the following statement:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Data.DatabasemasterDB = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But i would recommend trying to sort it out like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Item item1 = Sitecore.Context.Database.GetItem(&quot;/sitecore/content/home&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It will then retrieve the designated database out of its context instead of &quot;forcing&quot; to use a specific database. Let e know if this worked out for you.&lt;/p&gt;&#xA;" OwnerUserId="755" LastEditorUserId="10" LastEditDate="2016-10-15T20:07:58.333" LastActivityDate="2016-10-15T20:07:58.333" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1358" PostTypeId="1" AcceptedAnswerId="5777" CreationDate="2016-10-14T09:55:08.360" Score="14" ViewCount="3210" Body="&lt;p&gt;In Sitecore 8.1.3, is it possible to rebuild the analytics index without rebuilding the entire reporting database as specified in &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;noreferrer&quot;&gt;doc.sitecore.net&lt;/a&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an analytics index that is more or less broken, and as far as I know it is not possible to trigger a rebuild of the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/rebuilding-the-sitecore-analytics-index&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/rebuilding-the-sitecore-analytics-index&lt;/a&gt; i can see that there are workaround, but I am worried that it does not take care of everything?&lt;/p&gt;&#xA;" OwnerUserId="758" LastEditorUserId="104" LastEditDate="2016-10-14T10:10:40.767" LastActivityDate="2022-06-17T13:03:04.973" Title="How to rebuild the analytics index without rebuilding the entire reporting database?" Tags="|xdb|indexing|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1359" PostTypeId="1" CreationDate="2016-10-14T10:56:01.270" Score="5" ViewCount="586" Body="&lt;p&gt;I'm using CM and Email dispatcher to send emails. A campaign is about to finish, but the dispatchsummary.aspx on my ED server is showing a running job with no actual emails sent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now this unfinished campaign is effectively blocking the ED from sending more campaigns. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the exm.log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;6100 10:52:52 ERROR Failed to remove contact '{83CC5E55-73EE-488B-9971-43089D4BDC48}' from include list(s)&#xA;  Exception: Sitecore.Modules.EmailCampaign.RecipientCollections.OperationTimeoutException&#xA;  Message: The contact list 'XXX' is locked by another process. The operation could not be completed within the timeout interval 00:00:20.&#xA;  Source: Sitecore.EmailCampaign&#xA;     at Sitecore.Modules.EmailCampaign.ListManager.ContactList.InvokeOperationWithRetry(TimeSpan timeout, TimeSpan retryInterval, Func`1 operation)&#xA;     at Sitecore.Modules.EmailCampaign.ListManager.ContactList.RemoveRecipient(RecipientId recipientId, TimeSpan timeout)&#xA;     at Sitecore.Modules.EmailCampaign.Core.SubscriptionManager.RemoveUserFromList(RecipientId recipientId, ID listId)&#xA;     at Sitecore.EmailCampaign.Cm.Pipelines.SpamComplaintAndBounce.RemoveFromIncludeList.Process(HandleMessageEventPipelineArgs args)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;How can I make the campaign finish so that the ED resumes sending again?&lt;/p&gt;&#xA;" OwnerUserId="767" LastEditorUserId="73" LastEditDate="2016-10-14T23:52:04.907" LastActivityDate="2016-10-14T23:52:04.907" Title="EXM campaign stuck - The contact list 'XXX' is locked by another process" Tags="|exm|" AnswerCount="0" CommentCount="6" ClosedDate="2016-10-19T13:59:33.570" ContentLicense="CC BY-SA 3.0" />
  <row Id="1360" PostTypeId="2" ParentId="1358" CreationDate="2016-10-14T11:03:16.963" Score="2" Body="&lt;p&gt;The second link you described is the way to rebuild the analytics index without rebuilding  the entire reporting database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But why should you not use the rebuild of the reporting database? It is always better to do the entire rebuild and reindex instead of just rebuilding your index. If you have somehow corrupt data in your reporting database, your index will be broken again. For that reason, I would recommend you to just go with the reporting database rebuild.&lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-10-14T11:03:16.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1361" PostTypeId="2" ParentId="1358" CreationDate="2016-10-14T11:25:58.603" Score="19" Body="&lt;h1&gt;Analyzing the proposed approach&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Let's look at the workaround code from the linked article:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;ContentSearchManager.GetIndex(&quot;sitecore_analytics_index&quot;).Reset();&#xA;var poolPath = &quot;aggregationProcessing/processingPools/live&quot;;&#xA;var pool = Factory.CreateObject(poolPath, true) as ProcessingPool;&#xA;var driver = MongoDbDriver.FromConnectionString(&quot;analytics&quot;);&#xA;var visitorData = driver.Interactions.FindAllAs&amp;lt;VisitData&amp;gt;();&#xA;var keys = visitorData.Select(data =&amp;gt; new InteractionKey(data.ContactId, data.InteractionId));&#xA;foreach(var key in keys)&#xA;{&#xA;    var poolItem = new ProcessingPoolItem(key.ToByteArray());&#xA;    pool.Add(poolItem);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;BTW, the correct way to get the analytics index is &lt;code&gt;ContentSearchManager.GetAnalyticsIndex()&lt;/code&gt;&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What this code does is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It empties the Analytics index;&lt;/li&gt;&#xA;&lt;li&gt;It loads all interactions from the Collection database;&lt;/li&gt;&#xA;&lt;li&gt;It adds interaction IDs to the interaction processing pool.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I honestly think that even on a moderately sized instance, this is not the best idea for the following reasons:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It will result in an attempt to re-aggregate all interaction data to the Reporting database. This will most likely result in:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Incorrect reporting numbers;&lt;/li&gt;&#xA;&lt;li&gt;Aggregation exceptions—mainly due to attempts of inserting already records with duplicate IDs to the table &lt;code&gt;Trail_Interactions&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;It will put approximately the same load on your Sitecore installation as a full Reporting DB rebuild. The same aggregation code will have to run, so why not execute it the right way?&lt;/li&gt;&#xA;&lt;li&gt;Adding interactions to the processing pool all at once will be a very heavy task—what if there are hundreds of thousands of visits? This may take quite a while when done from a single machine. On the other hand, xDB has a specialized infrastructure for making this process distributed as a part of the standard rebuild process.&lt;/li&gt;&#xA;&lt;li&gt;While this code is adding interactions to the processing pool, new interactions will occur on the site. You've just cleared the index, but the new website interactions will continue being indexed. Can you guarantee that you won't index something twice, or, on the opposite, miss some interactions? Again, xDB has a specialized &quot;cutoff&quot; mechanism in place to prevent such situations, but only if you stick to the standard rebuild process.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It looks like the approach will actually cover all data. Let's look at how data gets into the index:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;em&gt;Sitecore.ContentSearch.Lucene.Index.Analytics.config&lt;/em&gt;&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_analytics_index&quot; ...&amp;gt;&#xA;  ...&#xA;  &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsVisitCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Visit Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      &amp;lt;ObservableName&amp;gt;VisitAggregationObservable&amp;lt;/ObservableName&amp;gt;&#xA;      ...&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsVisitPageCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Visit Page Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      &amp;lt;ObservableName&amp;gt;VisitPageAggregationObservable&amp;lt;/ObservableName&amp;gt;&#xA;      ...&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsVisitPageEventCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Visit Page Event Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      &amp;lt;ObservableName&amp;gt;VisitPageEventAggregationObservable&amp;lt;/ObservableName&amp;gt;&#xA;      ...&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsContactCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Contact Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      ...&#xA;      &amp;lt;observables hint=&quot;list:AddObservable&quot;&amp;gt;&#xA;        &amp;lt;observable&amp;gt;ContactAggregationObservable&amp;lt;/observable&amp;gt;&#xA;        &amp;lt;observable&amp;gt;ContactChangeObservable&amp;lt;/observable&amp;gt;&#xA;      &amp;lt;/observables&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsContactTagCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Contact Tag Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      ...&#xA;      &amp;lt;observables hint=&quot;list:AddObservable&quot;&amp;gt;&#xA;        &amp;lt;observable&amp;gt;ContactTagAggregationObservable&amp;lt;/observable&amp;gt;&#xA;        &amp;lt;observable&amp;gt;ContactTagChangeObservable&amp;lt;/observable&amp;gt;&#xA;      &amp;lt;/observables&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsAddressCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Address Tag Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      ...&#xA;      &amp;lt;observables hint=&quot;list:AddObservable&quot;&amp;gt;&#xA;        &amp;lt;observable&amp;gt;AddressAggregationObservable&amp;lt;/observable&amp;gt;&#xA;        &amp;lt;observable&amp;gt;AddressChangeObservable&amp;lt;/observable&amp;gt;&#xA;      &amp;lt;/observables&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;  &amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, there are 9 observables defined. The way it works is, these crawlers subscribe to observables' events and add or modify index entries when the events are fired.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The observables are wired to fire as part of the &lt;code&gt;&amp;lt;interactions&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;contacts&amp;gt;&lt;/code&gt; pipelines.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;em&gt;Sitecore.ContentSearch.Analytics.config&lt;/em&gt;&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;interactions&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsVisitAggregator, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;VisitAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsVisitPageAggregator, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;VisitPageAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsVisitPageEventAggregator, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;VisitPageEventAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsContactAggregator, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;ContactAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsContactTagAggregator, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;ContactTagAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsAddressAggregator, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;AddressAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/interactions&amp;gt;&#xA;  &amp;lt;contacts&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.ContactChangeContactAggregator, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;ContactChangeObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.ContactChangeContactTagAggregator, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;ContactTagChangeObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.ContactChangeAddressAggregator, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;AddressChangeObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/contacts&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The processors in the &lt;code&gt;&amp;lt;contacts&amp;gt;&lt;/code&gt; pipeline are only needed for registering &lt;em&gt;changes&lt;/em&gt; in contacts. Initial contact additions are handled via the &lt;code&gt;&amp;lt;interactions&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that it is enough to manually add all interactions to a processing pool, as per the article. Separately adding all contacts to a pool is not required. All indexable data will be obtained solely through the &lt;code&gt;&amp;lt;interactions&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Recommendation&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;So all in all, the proposed approach with reaggregating all interactions will work for updating the index. But it will very likely lead to reporting data inconsistencies, server slowdowns, and log errors. It will not be better performing than the normal Reporting DB rebuild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hence, my recommendation is to stick to Sitecore's recommendations and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;rebuild your Reporting database&lt;/strong&gt;&lt;/a&gt; when you want to rebuild the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully, in the future there will be a better way, but for now, there isn't one.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="272" LastEditDate="2018-03-02T16:02:57.893" LastActivityDate="2018-03-02T16:02:57.893" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1362" PostTypeId="2" ParentId="1352" CreationDate="2016-10-14T11:49:06.780" Score="6" Body="&lt;p&gt;I think you will have to make this functionality yourself. You will most likely have to hook into the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline and also extend and replace the default &lt;code&gt;LinkProvider&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an (untested) example of how this can be approached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Start by hooking into the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline and check if the language matches the language setting on the site definition.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class SiteLanguageProcessor : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        var language = Sitecore.Context.Language;&#xA;        var siteLanguage = Language.Parse(Sitecore.Context.Site.Language);&#xA;&#xA;        // If languages match, don't do anything&#xA;        if (language == siteLanguage)&#xA;            return;&#xA;&#xA;        // TODO: Find correct site for current language and redirect to it&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will take care of redirecting incoming requests to the correct site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next up we need to make sure generated links are also correct. For this we can extend the default &lt;code&gt;LinkProvider&lt;/code&gt; and the &lt;code&gt;LinkBuilder&lt;/code&gt; it uses. Here we can override the &lt;code&gt;ResolveTargetSite(Item)&lt;/code&gt; method. If the site found by the base method doesn't match the requested language then we can go ahead and try to find a matching site.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class SiteLanguageLinkProvider : Sitecore.Links.LinkProvider&#xA;{&#xA;    protected override LinkBuilder CreateLinkBuilder(UrlOptions options)&#xA;    {&#xA;        return new SiteLanguageLinkBuilder(options);&#xA;    }&#xA;}&#xA;&#xA;public class SiteLanguageLinkBuilder : Sitecore.Links.LinkProvider.LinkBuilder&#xA;{&#xA;    private readonly UrlOptions _options;&#xA;&#xA;    public SiteLanguageLinkBuilder(UrlOptions options) : base(options)&#xA;    {&#xA;        _options = options;&#xA;    }&#xA;&#xA;    protected override SiteInfo ResolveTargetSite(Item item)&#xA;    {&#xA;        var targetSite = base.ResolveTargetSite(item);&#xA;        var targetLanguage = Language.Parse(targetSite.Language);&#xA;&#xA;        // Site is correct if language match&#xA;        if (targetLanguage == _options.Language)&#xA;            return targetSite;&#xA;&#xA;        // TODO: Find matching site&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will take care of generating links to the correct site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a config file to patch all this in.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;!-- Change default provider to our custom link provider --&amp;gt;&#xA;    &amp;lt;linkManager set:defaultProvider=&quot;custom&quot;&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;!-- Add our custom link provider - set additional settings to your preferences --&amp;gt;&#xA;        &amp;lt;add name=&quot;custom&quot; type=&quot;YourAssembly.SiteLanguageLinkProvider, YourAssembly&quot;&#xA;              addAspxExtension=&quot;false&quot;&#xA;              alwaysIncludeServerUrl=&quot;false&quot;&#xA;              encodeNames=&quot;true&quot;&#xA;              languageLocation=&quot;filePath&quot;&#xA;              languageEmbedding=&quot;always&quot;&#xA;              lowercaseUrls=&quot;true&quot;&#xA;              shortenUrls=&quot;true&quot;&#xA;              useDisplayName=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;!-- Patch after the language resolver (and after site resolver) --&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourAssembly.SiteLanguageProcessor, YourAssembly&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.LanguageResolver, Sitecore.Kernel'&quot;/&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You then need to have a site definition for each site/language with the &lt;code&gt;language&lt;/code&gt; attribute set to the language supported for that site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; There are actually some settings for site resolving which probably doesn't require you to extend the link provider as long as you make sure to set the &lt;code&gt;targetHostName&lt;/code&gt; attribute on your site definitions.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;  SITE RESOLVING&#xA;            While rendering item links, some items may belong to different site. Setting this to true&#xA;            make LinkManager try to resolve target site in order to use the right host name.&#xA;            Default value: true&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Rendering.SiteResolving&quot; value=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;!--&#xA;  RENDERING - SITE RESOLVING MATCH CURRENT LANGUAGE&#xA;            Affects how cross-site links are rendered when Rendering.SiteResolving is enabled.&#xA;            If true, the link provider will take the language attribute of the site definitions into consideration when resolving&#xA;            which site/hostname to use when rendering a cross-site link.&#xA;            Default value: true&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Rendering.SiteResolvingMatchCurrentLanguage&quot; value=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;!--&#xA;  RENDERING - SITE RESOLVING MATCH CURRENT SITE&#xA;            Affects how cross-site links are rendered when Rendering.SiteResolving is enabled.&#xA;            If true, the link provider will check if the target item is located under the start item for the current site before it&#xA;            tries to find a match in the full list of site definitions. This ensures that when the target item can be resolved using&#xA;            the current site, the target link will not change to a different site/hostname.&#xA;            Default value: true&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Rendering.SiteResolvingMatchCurrentSite&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2016-10-14T12:24:39.560" LastActivityDate="2016-10-14T12:24:39.560" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1363" PostTypeId="2" ParentId="1352" CreationDate="2016-10-14T11:55:51.650" Score="10" Body="&lt;p&gt;To deliver content in different languages per domain you need to create two &lt;code&gt;sites&lt;/code&gt; in config and use &lt;code&gt;language&lt;/code&gt; attribute in site definition. That attribute tells sitecore what language should be used if language is not explicitly defined in request. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site &#xA;  name=&quot;mySite-en&quot; &#xA;  language=&quot;en&quot; &#xA;  hostName=&quot;www.x.com&quot; &#xA;  targetHostName = &quot;www.x.com&quot; /&amp;gt;&#xA;&amp;lt;site &#xA;  name=&quot;mySite-nl&quot; &#xA;  language=&quot;nl&quot; &#xA;  hostName=&quot;www.x.be&quot; &#xA;  targetHostName = &quot;www.x.be&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;hostName&lt;/code&gt; attribute routs requests to particular site. You can have multiple domains here delimited by pipe &lt;code&gt;|&lt;/code&gt; and wildcards.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;targetHostname&lt;/code&gt; attribute used by &lt;code&gt;LinkManager&lt;/code&gt; to generate page links. It is very useful for cross sile references. In that you should define only one domain without wildcards. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code snippet below shows how you can create link from &lt;code&gt;en&lt;/code&gt; site to &lt;code&gt;nl&lt;/code&gt; site:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var urlOptions = UrlOptions.DefaultOptions;&#xA;urlOptions.Site = SiteContext.GetSite(&quot;mySite-nl&quot;)&#xA;var url = LinkManager.GetItemUrl(item, urlOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Canonical Url for sitecore is just another markup element that your page generates and you need to build custom code for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using &lt;code&gt;IIS Redirect&lt;/code&gt; module for missing languages will work, but it will not be manageable. You will have to manually update that rule every time when new page for only one site added. Moreover, for multiple CD instances you have to do it in every server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Much better solution is to have some code in Sitecore where you can detect missing languages and redirect to another site. You need implement it once and it will cover all furure content changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your detection/redirection logic can can be implemented as new processor for &lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&lt;/code&gt; pipeline. You need to add it after &lt;code&gt;ItemResolver&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;&#xA;       type=&quot;MyProcessorType, MyAssembly&quot;&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;   &#xA;  &amp;lt;/httpRequestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-10-14T11:55:51.650" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1364" PostTypeId="1" AcceptedAnswerId="1366" CreationDate="2016-10-14T12:15:32.513" Score="6" ViewCount="5711" Body="&lt;p&gt;I'm looking to setup a environment with 3 MongoDB (1 x Primary and 2 x Secondary nodes) in different regions and wondering if:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is there any recommendations on latency (in ms) limitations for the synchronization of the data?&lt;/li&gt;&#xA;&lt;li&gt;Is there a way to avoid issues due high latency?&lt;/li&gt;&#xA;&lt;li&gt;Best practices are very welcome&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="393" LastEditorUserId="104" LastEditDate="2016-10-14T12:41:09.167" LastActivityDate="2016-11-16T14:25:29.777" Title="What are the best practices for MongoDB replica set latency?" Tags="|performance-optimization|mongodb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1365" PostTypeId="1" AcceptedAnswerId="1369" CreationDate="2016-10-14T12:17:59.300" Score="11" ViewCount="3613" Body="&lt;p&gt;I was reading that Sitecore recommends SSD disks for MongoDB Servers, and I am wondering if&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What are the recommended performance values?&lt;/li&gt;&#xA;&lt;li&gt;Will I have any performance lost if not use SSD?&lt;/li&gt;&#xA;&lt;li&gt;Best practices relation with IOPS&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="393" LastEditorUserId="104" LastEditDate="2016-10-14T12:42:00.617" LastActivityDate="2016-10-14T13:25:16.720" Title="MongoDB disk IOPS" Tags="|performance-optimization|mongodb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1366" PostTypeId="2" ParentId="1364" CreationDate="2016-10-14T12:58:21.827" Score="8" Body="&lt;p&gt;In general, if your data nodes are hosted in different geographical regions, latency between them will be considered high.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Write concern&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;High latency will make the replication process slower, which means that using the write concern of &lt;code&gt;w:1&lt;/code&gt; is highly recommended in order to prevent performance degradation. On the other hand, if the majority of your nodes were hosted in the same data center, you'd be fine with using &lt;code&gt;w: majority&lt;/code&gt;, which would improve your data safety without compromising performance.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Read preference&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Given that you use &lt;code&gt;w:1&lt;/code&gt;, you should use the read preference of &lt;code&gt;primary&lt;/code&gt; or &lt;code&gt;primaryPreferred&lt;/code&gt;. If you allowed reading from the secondaries, there would be no guarantee that the data read is up-to-date, which would lead to errors, such as contact locking inconsistencies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand, if you had low latency between &lt;em&gt;all&lt;/em&gt; replica set nodes, and given that you used &lt;code&gt;w:3&lt;/code&gt; (or whatever your total number of nodes would be), &lt;em&gt;then&lt;/em&gt; you could consider the read preference of &lt;code&gt;secondary&lt;/code&gt;, &lt;code&gt;secondaryPreferred&lt;/code&gt; or &lt;code&gt;nearest&lt;/code&gt;. Although, this would only be recommended in read-heavy environments, which most Sitecore installations are not.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To prevent issues caused by high latency, use the write concern &lt;code&gt;w: 1&lt;/code&gt; and the read preference &lt;code&gt;primary&lt;/code&gt; or &lt;code&gt;primaryPreferred&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Further reading&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/write-concern/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Write concern&lt;/strong&gt;&lt;/a&gt; (MongoDB)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://docs.mongodb.com/v3.2/reference/read-preference/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Read preference&lt;/strong&gt;&lt;/a&gt; (MongoDB)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/mongodb_example_architecture&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;MongoDB example architecture&lt;/strong&gt;&lt;/a&gt; (Sitecore)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-16T14:25:29.777" LastActivityDate="2016-11-16T14:25:29.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1367" PostTypeId="2" ParentId="1365" CreationDate="2016-10-14T13:04:15.650" Score="8" Body="&lt;p&gt;Here's my understanding (from notes taken during a Mongo engagement a while back): for MongoDB, the more RAM the better.  MongoDB performs everything in memory (by default) and flushes it to disk in a separate thread. An SSD drive will speed up the flushing process. Note, unless you force MongoDB to acknowledge writes only after you physically write to a disk, this is not so important – alternatively get more RAM to ensure a minimum of disk activity (besides flushing updates to the disk).  Each connection to the MongoDB database takes up ~1MB of memory. Lots of connections to MongoDB will have a large overhead, so monitor this (use mongostat?).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is from an old whitepaper I have on Mongo tuning:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Disk access patterns in MongoDB do not have sequential properties,&#xA;and as a result, customers may experience substantial performance&#xA;gains by using SSDs. Good results and strong price to performance&#xA;have been observed with SATA SSD and with PCI. &lt;/li&gt;&#xA;&lt;li&gt;Commodity SATA spinning drives are comparable to higher cost spinning drives due to the non-sequential access patterns of MongoDB: rather than spending&#xA;more on expensive spinning drives, that money may be more effectively&#xA;spent on more RAM or SSDs.&lt;/li&gt;&#xA;&lt;li&gt;Another benefit of using SSDs is that they provide a more gradual&#xA;degradation of performance if the working set no longer fits in&#xA;memory.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-10-14T13:04:15.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1368" PostTypeId="2" ParentId="1364" CreationDate="2016-10-14T13:16:00.707" Score="4" Body="&lt;p&gt;To answer your questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Every latency you have, is always too much latency. You would always prefer to not have too much latency. What I would do is set up the replicaset and check which one causes the most latency and the set up that specific note to never becoming the primary. It can still vote but will never have the upper hand in become a primary, therefor causing no trouble.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can never really avoid having latency issues because you are depending on what the datacenter has to offer you. I nice feature is the OPS manager of Mongodb. It will monitor your replicaset and it will gives you information and possible fixes if there are issues. We have a replicaset located in one location, but I figured out the hard way, if the replicaset is not available, your site will continue to work anyway, so no problems for that.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Best practices there are enough. Indeed focus on your Write and Read concerns having them to be the best for your platform. If you never want to lose any data in your replicaset, I would recommend you to use &lt;code&gt;w:majority&lt;/code&gt; Then you will always have the data written the database on  the majority of your replicaset. If you use w:1 it will only be cached in memory and at the fail of an instance, your data will still be lost.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Another advise, when spreading out a replicaset over 2 datacenter ill cause you to have 1 server in 1 datacenter and 2 servers in another datacenter. If the datacenter containing the 2 servers collapses, your single server will never take over your replicaset as it will not get 2 vote to become the primary. If you are really thinking of separating the replicaset over more than 1 datacenter, you should think of more instances or maybe &quot;hidden&quot; instances to make sure your votes are dividend to always reach a majority vote counting.&lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-10-14T13:16:00.707" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1369" PostTypeId="2" ParentId="1365" CreationDate="2016-10-14T13:25:16.720" Score="9" Body="&lt;p&gt;If your throughput consist out of more than 100.000 writes per second, I would recommend you use an SSD. I think you should not overkill your machine. MongoDB cache will only take up to 10% of your available RAM to cache it's write actions. When you use the write concern &lt;code&gt;w:majority&lt;/code&gt; on a replicaset your data will always be present in at least 2 (if you have a majorty of 2) of your MongoDB instaces (on disk). Of course SSD will speed of the writing process, but sitecore analytics is not that having that it really needs to have an SSD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a replicaset not containing an SSD, and our systems are practically doing nothing while still having many visits. Because the aggregation of Sitecore is not realtime but there are jobs scheduled to perform such writings, your Website will never suffer under the circumstances of your replicaset (unless it is unavailable at all..) &#xA;Therefor I would refer to a previously made comment of mine (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1201/sizing-mongodb-servers-for-xdb/1279#1279&quot;&gt;Sizing MongoDB Servers for xDB&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My recommendation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;3 database servers(mongoDB) set-up as a resultset&lt;/li&gt;&#xA;&lt;li&gt;4 x CPU E5 2650 v2 processors&lt;/li&gt;&#xA;&lt;li&gt;8GB RAM&lt;/li&gt;&#xA;&lt;li&gt;100GB HDD (dedicated to db storage)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="755" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-14T13:25:16.720" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1370" PostTypeId="2" ParentId="1193" CreationDate="2016-10-14T13:53:39.287" Score="6" Body="&lt;p&gt;For this menu option to show the user must have read access to the &lt;code&gt;/sitecore/content/Applications/WebEdit/Common Field Buttons/Edit related item&lt;/code&gt; item in the &lt;code&gt;Core&lt;/code&gt; database or be a member of the &lt;code&gt;sitecore\Sitecore Client Designing&lt;/code&gt; Role.&lt;/p&gt;&#xA;" OwnerUserId="143" LastActivityDate="2016-10-14T13:53:39.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1371" PostTypeId="1" AcceptedAnswerId="1583" CreationDate="2016-10-14T14:18:02.430" Score="6" ViewCount="3276" Body="&lt;p&gt;One of our developers is getting this error randomly when perusing through his local development instance in Sitecore 8.1 Update 3 using Chrome. I am not getting the exception at all on my machine on any of the browsers. Is there an known issue with Chrome on certain machines and what may be the cause of this. Seems when he closes browser or shuts down system it seems to alleviate problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BCKmg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BCKmg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="73" LastEditDate="2016-10-15T01:06:25.333" LastActivityDate="2021-09-20T06:10:47.490" Title="The CSRF cookie value did not match the CSRF parameter value exception in Chrome" Tags="|csrf|" AnswerCount="4" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1373" PostTypeId="2" ParentId="1254" CreationDate="2016-10-14T14:31:14.147" Score="8" Body="&lt;p&gt;Here is a prototype for you to test with in your non-production instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore PowerShell Extensions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$items = @(Get-Item -Path &quot;master:\content\home&quot;) + @(Get-ChildItem -Path &quot;master:\content\home&quot;)&#xA;$expression = &quot;\d{8}[T]\d{6}&quot;&#xA;foreach($item in $items) {&#xA;    $item.BeginEdit() | Out-Null&#xA;    if($item.Fields[&quot;__Created&quot;].HasValue -and ($item.Fields[&quot;__Created&quot;].Value -match $expression)) {&#xA;        $item.Fields[&quot;__Created&quot;].Value = $matches[0]&#xA;    }&#xA;&#xA;    if($item.Fields[&quot;__Updated&quot;].HasValue -and ($item.Fields[&quot;__Updated&quot;].Value -match $expression)) {&#xA;        $item.Fields[&quot;__Updated&quot;].Value = $matches[0]&#xA;    }&#xA;    $item.EndEdit() | Out-Null&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code finds the home item and the immediate children, then looks for dates that have values and matches the pattern you specified. I'm accessing the value directly on the field since it gives the raw value (rather than a datetime).&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="10" LastEditDate="2016-10-15T20:14:51.673" LastActivityDate="2016-10-15T20:14:51.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1374" PostTypeId="1" CreationDate="2016-10-14T14:36:52.193" Score="13" ViewCount="7750" Body="&lt;p&gt;I have a task to upload an image into Sitecore's media library programmatically given the url to the image. How would I make this possible?&lt;/p&gt;&#xA;" OwnerUserId="787" LastActivityDate="2018-05-15T02:43:57.930" Title="How to upload an image programmatically from URL" Tags="|media-library|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1375" PostTypeId="2" ParentId="1291" CreationDate="2016-10-14T14:43:55.143" Score="4" Body="&lt;p&gt;I've done this through a custom Save Action for WFFM, not through a pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; &lt;em&gt;The following code is for 8.0, not 8.1.  8.1 changed the method signature for Execute.  You can read more at &lt;a href=&quot;https://citizensitecore.com/2016/02/03/changes-to-wffm-save-actions-in-sitecore-8-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://citizensitecore.com/2016/02/03/changes-to-wffm-save-actions-in-sitecore-8-1/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a save action called &lt;em&gt;IdentifyXdbContact&lt;/em&gt;, implementing &lt;em&gt;ISaveAction&lt;/em&gt; from the &lt;em&gt;Sitecore.Form.Submit&lt;/em&gt; namespace in &lt;em&gt;Sitecore.Forms.Core.dll&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace MyAssembly.Wffm.Actions&#xA;{&#xA;    public class IdentifyXdbContact : ISaveAction&#xA;    {&#xA;      public string FirstNameFormFieldName { get; set; }&#xA;      public string LastNameFormFieldName { get; set; }&#xA;      public string EmailFormFieldName { get; set; }&#xA;&#xA;      public void Execute(ID formid, AdaptedResultList fields, params object[] data)&#xA;      {&#xA;          if (Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.Contact.Identifiers.IdentificationLevel != ContactIdentificationLevel.Known)&#xA;          {&#xA;            var emailField = fields.GetEntryByName(EmailFormFieldName);&#xA;            if (emailField != null)&#xA;            {&#xA;              var emailAddress = emailField.Value;&#xA;              if (!String.IsNullOrEmpty(emailAddress))&#xA;              {&#xA;                  Tracker.Current.Session.Identify(emailAddress);&#xA;                  var emailFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;&#xA;                  if (!emailFacet.Entries.Contains(&quot;Work Email&quot;))&#xA;                  {&#xA;                    var email = emailFacet.Entries.Create(&quot;Work Email&quot;);&#xA;                    email.SmtpAddress = emailAddress;&#xA;                    emailFacet.Preferred = &quot;Work Email&quot;;&#xA;                  }&#xA;&#xA;                  var firstNameField = fields.GetEntryByName(FirstNameFormFieldName);&#xA;                  var lastNameField = fields.GetEntryByName(LastNameFormFieldName);&#xA;                  if (firstNameField != null || lastNameField != null)&#xA;                  {&#xA;                    var firstName = firstNameField.Value ?? String.Empty;&#xA;                    var lastName = lastNameField.Value ?? String.Empty;&#xA;                    var personalInfoFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;                    personalInfoFacet.FirstName = firstName;&#xA;                    personalInfoFacet.Surname = lastName;&#xA;                  }&#xA;              }&#xA;            }&#xA;          }&#xA;      }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, back in Sitecore, I created a new &lt;em&gt;Submit Action&lt;/em&gt; in the &lt;em&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions&lt;/em&gt; folder with the following configuration:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HsGA5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HsGA5.png&quot; alt=&quot;Save Action Configuration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note the Parameters field.  My form has three fields on it: &lt;em&gt;First Name&lt;/em&gt;, &lt;em&gt;Last Name&lt;/em&gt; and &lt;em&gt;Email Address&lt;/em&gt;.  The three items listed in that field correspond as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;PropertyNameInClass&amp;gt;Name Of Field On Form&amp;lt;/PropertyNameInClass&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, on the WFFM form itself, in the Save Actions, I simply select my new Save Action:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5vAyg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5vAyg.png&quot; alt=&quot;Add Save Action to Form&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, when my form is submitted, the information from the form is used to identify the current session, if it's not already identified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since my property names and field names are hardcoded in my save action, this custom action could be improved substantially by creating a new SPEAK interface in the Save Actions dialog (available when clicking on the Edit button) allowing the user to configure which fields go to which property.  &lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2016-10-14T14:43:55.143" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1376" PostTypeId="2" ParentId="1374" CreationDate="2016-10-14T14:45:44.800" Score="6" Body="&lt;p&gt;You need to download the image and use &lt;code&gt;MediaManager.Creator.CreateFromStream&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Resources.Media.MediaManager.Creator.CreateFromStream(ms, fileName, options);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is a nice blog post explaining how to create media item programmatically: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2009/07/09/adding-a-file-to-the-sitecore-media-library-programatically/&quot;&gt;Adding a file to the Sitecore Media Library programatically&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scroll to the bottom to see creating media item from stream.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-14T14:45:44.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1377" PostTypeId="1" AcceptedAnswerId="1398" CreationDate="2016-10-14T15:21:54.637" Score="10" ViewCount="1757" Body="&lt;p&gt;Sitecore flags up empty Alt tags but it still lets users save them without setting the Alt tag. Is there an easy way to enforce that this is done for all new images?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BD8VH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BD8VH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know I could write a custom validator like so: &lt;a href=&quot;https://techmusingz.wordpress.com/2014/11/04/enforce-alt-text-for-image-fields-in-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://techmusingz.wordpress.com/2014/11/04/enforce-alt-text-for-image-fields-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But Ideally I'm looking for a way of doing this out of the box with the rules engine or something like that and prevent users saving/uploading images without Alt text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-- Update --&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One problem I've seen related to this is that the standard image uploader in the media library doesn't allow the user to add alt text during upload and so even with a rule to enforce alt tags on save this doesn't prevent initial alt tags being empty on save.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thankfully I came across this pipeline example which will run on load and add a default alt text based on the image title: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2014/06/18/set-default-alternate-text-on-images-uploaded-to-the-sitecore-media-library/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorejunkie.com/2014/06/18/set-default-alternate-text-on-images-uploaded-to-the-sitecore-media-library/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Neat idea but I haven't implemented it yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further info:&lt;/strong&gt; Sitecore 8.1 Update 2.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-14T16:03:59.853" LastActivityDate="2016-10-15T05:08:46.480" Title="How do I enforce Alt tags on all images in Sitecore" Tags="|media-library|validation|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1378" PostTypeId="2" ParentId="1095" CreationDate="2016-10-14T15:39:56.277" Score="11" Body="&lt;p&gt;The issue was that in my efforts to trim the index of waste, i.e. remove fields that I'm not accessing, I removed a certain &lt;em&gt;special&lt;/em&gt; field (though it is not marked in any way as being important, though by name it makes sense in hindsight).  I removed the &quot;_uniqueid&quot; field from the index configuration.  Specifically here:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fieldMap&amp;gt;&#xA;...&#xA;  &amp;lt;field fieldName=&quot;_uniqueid&quot;            storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;    &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;  &amp;lt;/field&amp;gt;&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I had created a new IndexConfiguration.config file unique to my index.  I tested and I was able to remove all other fields from the index.  Toggling this field on or off reproduced the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the &lt;code&gt;_uniqueid&lt;/code&gt; field omitted from the index configuration, the field will &lt;em&gt;still&lt;/em&gt; appear in the index (via Luke or other means).  Including it in the index configuration will solve this problem.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2017-05-09T17:12:21.020" LastActivityDate="2017-05-09T17:12:21.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1379" PostTypeId="2" ParentId="969" CreationDate="2016-10-14T15:51:59.780" Score="2" Body="&lt;p&gt;First and foremost, WFFM's email editor is really just an RTE field. If your toolbar is missing, but your errors are not related to the issue (doesn't look like they are) then the issue is likely with your Html Editor Profi.e&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Start by verifying that all of the items that should be there are present for the Rich Text Mail profile that is included with WFFM. This profile should be installed at the path &lt;em&gt;/sitecore/system/Settings/Html Editor Profiles/Rich Text Mail&lt;/em&gt;, in the Core database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two ways that you can compare what you find in the Core database with what comes with WFFM:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install the same version of WFFM on a clean Sitecore instance and compare&lt;/li&gt;&#xA;&lt;li&gt;Download a fresh copy of WFFM, unzip and go into the &lt;em&gt;items/core&lt;/em&gt; folder. From there, you can drill down until you find all of the serialized items that you should see in Sitecore. &lt;em&gt;(This route is quicker, but it is easier to miss things)&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have seen similar issues with missing buttons before on projects using TDS/Unicorn, after items in the Rich Text Mail profile have been accidentally deleted from the project. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-14T15:51:59.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1380" PostTypeId="1" AcceptedAnswerId="1381" CreationDate="2016-10-14T16:00:09.047" Score="11" ViewCount="2336" Body="&lt;p&gt;I have problem at hand for which I'm confused about what is the best practice for going after it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have thought to intercept item creation process in Sitecore and read the &lt;code&gt;site&lt;/code&gt; node properties. This idea is similar to what I have read regarding Site specific RTE HTML profiles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also solution should be extensible later to have per site/per language/per template wise workflows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But is there any OOTB functionality for this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not what should be best approach to manage workflow with such cases?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S.: I have seen some projects to follow sprint-wise content workflows but that is not required by us.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We have three types of user roles -  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Global team users&lt;/li&gt;&#xA;&lt;li&gt;Site specific admin users&lt;/li&gt;&#xA;&lt;li&gt;Site specific-language authors&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Problem is for global users and users who are admin for multiple sites. When these users want to approve particular content from workbox and it is difficult for them to find in 1000+ content items in that workflow from all sites and language versions of the sites in workbox.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="246" LastEditDate="2016-10-15T01:44:32.753" LastActivityDate="2017-06-12T20:12:36.413" Title="How to apply Site specific workflow in Sitecore?" Tags="|best-practices|multilingual|templates|workflow|multisite|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1381" PostTypeId="2" ParentId="1380" CreationDate="2016-10-14T16:08:30.180" Score="14" Body="&lt;p&gt;If the workflows are not drastically different, you can achieve 'site-specific' workflow via content security.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1: Workflow security&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a single workflow definition with some generic access roles for each state. Use these only to grant access to the workflow states.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 2: Content security&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a security role for each site and assign it to where the content lives (e.g. sitecore\content\site1, sitecore\content\site2).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 3: Winning!&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Workbox and workflow in general take both workflow state access and content security into account. Users will only see items in the workbox that they have access to for both workflow and content, so users in the same workflow from Site 2 won't see items from Site 1 because they don't have permission to the content in Site 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 4: Advanced Ninja&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might want to do alternate steps for some sites. Maybe a 'approve with business' state that only Site 1 uses. In this case, using actions and state security that require a specific role will allow you to create users for one site that have access to this action while other sites use a different approve action. This allows you to simulate multiple flows within a single workflow state definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Alternate flow&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also have completely separate workflow definitions and create site-specific templates which use different workflows. Suppose you have a 'content page' that is the same in every way between Site 1 and Site 2, but you want different workflows. You create a Site 1 content page template and a Site 2 content page template which inherit all the common presentation details and fields, however you change the default workflow on the site-specific template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll have to play with insert options in this case to restrict which templates are used for which sites. Insert Option rules in the rules engine will help you with this.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update based on edited question&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Handling scenarios when the workbox is too full&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If a user is looking for specific content, the workbox is not the place to do it. The workbox works well for teams who are keeping on top of their content. If you have 1000 items that need to be reviewed, then the Workbox just won't work for you. What if those 1000 items are in the site and language that the user needs to find their particular page? No amount of security or configuration will help that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, I usually suggest using the Gutters in the Content Editor. That way, you can just expand areas of the site and look for the correct icon. I have a quick 25 second video for turning on gutter icons available: &lt;a href=&quot;https://www.youtube.com/watch?v=IkqG3OnTSvA&quot; rel=&quot;noreferrer&quot;&gt;https://www.youtube.com/watch?v=IkqG3OnTSvA&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this way, a user can make a more granular search for what they want and take action on the item.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2016-10-14T21:42:14.737" LastActivityDate="2016-10-14T21:42:14.737" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1382" PostTypeId="2" ParentId="1291" CreationDate="2016-10-14T16:32:09.590" Score="4" Body="&lt;p&gt;To make the save action run on CD, check the Client Action box on the Save Action.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/RRPaS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RRPaS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-14T16:32:09.590" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1383" PostTypeId="2" ParentId="1374" CreationDate="2016-10-14T16:47:24.797" Score="17" Body="&lt;p&gt;There are a couple of steps involved.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download the image from the url via a &lt;code&gt;WebRequest&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Copy the download stream to a &lt;code&gt;MemoryStream&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set up a &lt;code&gt;MediaCreator&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Configure &lt;code&gt;MediaCreatorOptions&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create the &lt;code&gt;MediaItem&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Optionally you also need to consider the context &lt;code&gt;Database&lt;/code&gt; and permissions. In this example I am just uploading to &quot;web&quot; and ignoring security. You will probably want to change this a bit.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;        var webRequest = WebRequest.Create(&quot;http://your-domain/logo.png&quot;);&#xA;        using (var webResponse = webRequest.GetResponse())&#xA;        {&#xA;            using (var stream = webResponse.GetResponseStream())&#xA;            {&#xA;                if (stream != null)&#xA;                {&#xA;                    using (var memoryStream = new MemoryStream())&#xA;                    {&#xA;                        stream.CopyTo(memoryStream);&#xA;&#xA;                        var mediaCreator = new MediaCreator();&#xA;                        var options = new MediaCreatorOptions&#xA;                        {&#xA;                            Versioned = false,&#xA;                            IncludeExtensionInItemName = false,&#xA;                            Database = Factory.GetDatabase(&quot;web&quot;),&#xA;                            Destination = &quot;/sitecore/media library/Files/logo&quot;&#xA;                        };&#xA;&#xA;                        using(new SecurityDisabler())&#xA;                            mediaCreator.CreateFromStream(memoryStream, &quot;logo.png&quot;, options);&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: Copying the stream to a &lt;code&gt;MemoryStream&lt;/code&gt; is required because the &lt;code&gt;MediaCreator&lt;/code&gt; will issue &lt;code&gt;.Seek()&lt;/code&gt; operations on the stream, something which is not supported on a stream you get from a &lt;code&gt;WebRequest&lt;/code&gt; directly.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-14T16:55:31.673" LastActivityDate="2016-10-14T16:55:31.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1384" PostTypeId="1" AcceptedAnswerId="1519" CreationDate="2016-10-14T17:00:24.427" Score="7" ViewCount="2107" Body="&lt;p&gt;I'm getting a strange behaviour when uploading to the media library recently where &#xA;Images upload but the pop-up doesn't close and an error is shown if I look in the network tab. The image actually does upload but with no height/width or alt text:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; [ArgumentException: Parameter is not valid.]   &#xA;&gt; System.Drawing.Image.FromStream(Stream stream, Boolean&#xA;&gt; useEmbeddedColorManagement, Boolean validateImageData) +1545584   &#xA;&gt; Sitecore.Resources.Media.ImageMedia.GetImage() +64   &#xA;&gt; Sitecore.Resources.Media.ImageMedia.UpdateImageMetaData(MediaStream&#xA;&gt; mediaStream) +239   &#xA;&gt; Sitecore.Resources.Media.JpegMedia.UpdateMetaData(MediaStream&#xA;&gt; mediaStream) +63   &#xA;&gt; Sitecore.Resources.Media.MediaCreator.AttachStreamToMediaItem(Stream&#xA;&gt; stream, String itemPath, String fileName, MediaCreatorOptions options)&#xA;&gt; +282    Sitecore.Resources.Media.MediaCreator.CreateFromStream(Stream stream, String filePath, MediaCreatorOptions options) +117   &#xA;&gt; Sitecore.Resources.Media.MediaUploader.UploadToDatabase(List`1 list)&#xA;&gt; +487    Sitecore.Resources.Media.MediaUploader.Upload() +155    Sitecore.Pipelines.Upload.Save.Process(UploadArgs args) +1220&#xA;&gt; &#xA;&gt; &#xA;&gt; [TargetInvocationException: Exception has been thrown by the target of&#xA;&gt; an invocation.]    System.RuntimeMethodHandle.InvokeMethod(Object&#xA;&gt; target, Object[] arguments, Signature sig, Boolean constructor) +0   &#xA;&gt; System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;&gt; Object[] parameters, Object[] arguments) +76   &#xA;&gt; System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;&gt; invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;&gt; +211    System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35   &#xA;&gt; Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args,&#xA;&gt; Pipeline pipeline) +398   &#xA;&gt; Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic)&#xA;&gt; +366    Sitecore.Shell.Applications.FlashUpload.Advanced.UploadTarget.HandleUpload()&#xA;&gt; +1525    Sitecore.Shell.Applications.FlashUpload.Advanced.UploadTarget.OnLoad(EventArgs&#xA;&gt; e) +852    System.Web.UI.Control.LoadRecursive() +71   &#xA;&gt; System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;&gt; includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&gt; +3178&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the call made to the &lt;code&gt;uploadtarget.aspx&lt;/code&gt; page which is returning a &lt;code&gt;500 error&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; sitecore/shell/applications/flashupload/advanced/uploadtarget.aspx?&#xA;&gt; id=%7B487DBAD1-EFC7-4989-B0C1-1DAAAFD923F6%7D&amp;la=en&amp;language=en&amp;vs=1&#xA;&gt; &amp;version=1&amp;database=master&amp;readonly=0&amp;db=master&amp;uploadID=851fea44-50b9-4dc3-8241-4dba5895ffe4&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This has only just started happening and I'm not sure why as the permissions on the folder seem fine and we haven't updated the code that I can think would affect this recently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further info:&lt;/strong&gt; Sitecore 8.1 update 2.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="5387" LastEditDate="2019-08-07T04:20:18.427" LastActivityDate="2019-08-07T04:20:18.427" Title="'Parameter is not valid' error when uploading images in media library" Tags="|media-library|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="1385" PostTypeId="1" AcceptedAnswerId="1387" CreationDate="2016-10-14T18:47:41.423" Score="6" ViewCount="547" Body="&lt;p&gt;I recently upgraded from Sitecore v7.5 to v8.1.  In addition my Solr configuration changed a little.  On v7.5 I only had a single core.  On v8.1 I now have many cores.  After upgrading my search code is not returning any results and I am debugging it.  I am wondering if maybe my code isn't searching the right Solr core.  So I am wondering how the code knows which core to query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a code fragment for my search...&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext()) {&#xA;&#xA;   ... do search stuff&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I create the search context using that code am I telling the code to search through the core named &quot;sitecore_web_index&quot;?  I guess it is unclear to me how the code knows which core to query.&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="10" LastEditDate="2016-10-15T20:13:06.627" LastActivityDate="2016-10-15T20:13:06.627" Title="How to specify Solr core in search code for Sitecore 8.1" Tags="|solr|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1386" PostTypeId="1" AcceptedAnswerId="1393" CreationDate="2016-10-14T18:50:21.713" Score="3" ViewCount="115" Body="&lt;p&gt;I'm trying to upgrade an 8.1 install to 8.2. I've followed the steps in the guide so far, including installing the UpgradeInstallationWizard package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I select the .update package and try to progress to the next step I get this unhelpful error message,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XML Parsing Error: no element found&#xA;Location: http://&amp;lt;mysite&amp;gt;/sitecore/admin/UpdateInstallationWizard.aspx?page=1&#xA;Line Number 1, Column 1:&#xA;^&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The sitecore logs aren't giving me any information on what the problem is. Where can I look to find out why the upgrade installation wizard isn't happy with the .update package I'm trying to install?&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="1671" LastEditDate="2018-04-02T17:30:21.020" LastActivityDate="2018-04-02T17:30:21.020" Title="Update package installation throwing XML Parsing Error: no element found" Tags="|update-packages|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1387" PostTypeId="2" ParentId="1385" CreationDate="2016-10-14T18:53:09.290" Score="9" Body="&lt;p&gt;The indexes are defined in configuration, and the core for that index is specified in that configuration section.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the default 'sitecore_core_index' definition in an OOTB sitecore install (some properties elided for space):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;sitecore_core_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&#xA;        &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the 'core' section, which uses the index id as its value. By default in later versions of sitecore, these indexes will map 1 to 1 with cores, so in this particular case, the 'sitecore_core_index' would be using a core named 'sitecore_core_index'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are free to change this value to anything you'd like - you just need to remember to create the requisite core in SOLR.&lt;/p&gt;&#xA;" OwnerUserId="420" LastEditorUserId="633" LastEditDate="2016-10-14T18:59:25.513" LastActivityDate="2016-10-14T18:59:25.513" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1388" PostTypeId="2" ParentId="1385" CreationDate="2016-10-14T18:57:06.947" Score="1" Body="&lt;p&gt;Core name is defined in index configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;MyIndex&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;core&quot;&amp;gt;MyCore&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot; /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can use &lt;code&gt;$(id)&lt;/code&gt; value if core name and index names are the same.&lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-10-14T18:57:06.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1389" PostTypeId="1" AcceptedAnswerId="1399" CreationDate="2016-10-14T18:58:14.920" Score="13" ViewCount="1958" Body="&lt;p&gt;Has anybody set up Web API 2 Attribute Routing with 8.2 or later? I tried the 'official' route, which is to create a custom pipeline handler to the initialize pipeline that does the registration. I've tried to hook it up with a config as well as using webactivator. I've done something similar to this: &lt;a href=&quot;http://wp-bartbovendeerdtcom.azurewebsites.net/sitecore-8-webapi-v2-mvc-and-attribute-routing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://wp-bartbovendeerdtcom.azurewebsites.net/sitecore-8-webapi-v2-mvc-and-attribute-routing/&lt;/a&gt; - In both cases, I get an error&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;quot;A route named 'MS_attributerouteWebApi' is already in the route collection&amp;quot;. &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I've also used a marketplace module (&lt;a href=&quot;https://marketplace.sitecore.net/Modules/A/Attribute_Routing_Support.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/A/Attribute_Routing_Support.aspx?sc_lang=en&lt;/a&gt;), which is essentially the same thing, but hooked up with a config. All same error.&lt;/p&gt;&#xA;&lt;p&gt;It makes me think that a web api registration is happening somewhere else already in Sitecore registrations, but I'm not sure where. Even if it does, how do I get past this?&lt;/p&gt;&#xA;&lt;p&gt;Ideas?&lt;/p&gt;&#xA;" OwnerUserId="407" LastEditorUserId="1278" LastEditDate="2021-07-26T02:56:51.693" LastActivityDate="2021-07-26T02:59:15.143" Title="Web API 2 Attribute Routing with Sitecore 8.2+" Tags="|webapi|sitecore-services-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="1390" PostTypeId="2" ParentId="1374" CreationDate="2016-10-14T18:58:39.573" Score="3" Body="&lt;p&gt;Also note that if you want to update a media stream for an existing media item (the equivalent of an author using detach/attach using the Sitecore UI). Obtain a reference to the MediaItem and then call:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var media = MediaManager.GetMedia(mediaItem);&#xA;&#xA;media.SetStream(stream, &quot;YourFileExtension&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This can be useful if there are content items linking to the media item and you don't want to break existing links but you do want to modify the content of the media item.&lt;/p&gt;&#xA;" OwnerUserId="759" LastEditorUserId="10" LastEditDate="2016-10-15T20:12:37.927" LastActivityDate="2016-10-15T20:12:37.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1391" PostTypeId="1" AcceptedAnswerId="1394" CreationDate="2016-10-14T19:41:58.697" Score="5" ViewCount="260" Body="&lt;p&gt;I have a scenario, using the free Coveo on-prem server, where I've previously set up a QA Azure VM that works fine with the SQL server, Coveo, and Sitecore all on it. Due to certain external databases we're using, we have to use an Azure VM for SQL, so we're tying out production server that we're setting up into the QA box and making QA into a database server for all intents and purposes. After setting up Sitecore on production CM, I installed Coveo CES 7, the search API, and the Coveo for Sitecore package. Since CES is on the box with CM, everything is set for localhost to the various ports, so theoretically it's self-contained.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I go to Sitecore's control panel to reindex cover_master_index, I get the error below. I'm not sure if this is because the databases for Sitecore are on another server, or if because that other server also has Coveo and there's some kind of interference. The error's rather unhelpful to me, so if anyone has a thought, I'd appreciate it. Thanks.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Index_Update_IndexName=Coveo_master_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Coveo.Framework.Caching.FieldsCacheHandler.Add(IEnumerable`1 p_Entries, String p_DataSourceName)&#xA;   at Coveo.AbstractLayer.FieldManagement.FieldsHandlerUtility.GetCompleteFieldConfigs(String p_IndexName)&#xA;   at Coveo.AbstractLayer.FieldManagement.AdminModuleFieldsHandler.GetSitecoreFields(String p_IndexName, ForeignKeysConfiguration p_ForeignKeysConfiguration)&#xA;   at Coveo.AbstractLayer.FieldManagement.AdminModuleFieldsHandler.UpdateFieldSetAndFields(String p_FieldSetName, String p_IndexName, ForeignKeysConfiguration p_ForeignKeysConfiguration)&#xA;   at Coveo.AbstractLayer.Communication.CES.AdminModule.SetUpRequirements(String p_ServerUrl, String p_TargetSite, Boolean p_ExpandUsers, ForeignKeysConfiguration p_ForeignKeysConfiguration, IList`1 p_RankingIgnoredFields)&#xA;   at Coveo.AbstractLayer.Communication.CES.CESCommunication.InitializeAdminModule()&#xA;   at Coveo.AbstractLayer.Communication.CES.CESCommunication.Initialize()&#xA;   at Coveo.SearchProvider.AbstractProviderUpdateContext..ctor(ISearchIndexSummary p_IndexSummary, IIndexCommunication p_Communication)&#xA;   at Coveo.SearchProvider.ProviderUpdateContext..ctor(ISearchIndex p_Index, IIndexCommunication p_Communication)&#xA;   at Coveo.SearchProvider.ProviderIndex.CreateUpdateContext()&#xA;   at Coveo.SearchProvider.ProviderIndex.&amp;lt;Rebuild&amp;gt;b__3e()&#xA;   at Coveo.SearchProvider.ProviderIndex.TryPerformIndexingOperation(IndexingOptions p_IndexingOptions, Action p_Action)&#xA;   at Coveo.SearchProvider.ProviderIndex.Rebuild()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastActivityDate="2016-10-15T20:11:04.477" Title="Coveo initial reindex throws &quot;object reference&quot; exception" Tags="|coveo|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1392" PostTypeId="2" ParentId="1374" CreationDate="2016-10-14T19:42:45.897" Score="5" Body="&lt;p&gt;There are many great approaches to this as seen by the list of responses to this question. I would however recommend a solution that is very repeatable and perhaps more automated.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore PowerShell Extensions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This approach offers a set of PowerShell commands bundled with the SPE Remoting module.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Script&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Source : https://github.com/SitecorePowerShell/Console/tree/master/Modules&#xA;Import-Module -Name SPE -Force&#xA;&#xA;$props = @{&#xA;    Session = (New-ScriptSession -Username &quot;admin&quot; -Password &quot;b&quot; -ConnectionUri &quot;http://console&quot;)&#xA;    Verbose = $true&#xA;}&#xA;&#xA;# Upload single file&#xA;Get-Item -Path C:\temp\data.xml | Send-RemoteItem @props -RootPath App&#xA;Get-Item -Path C:\temp\data.xml | Send-RemoteItem @props -RootPath Package -Destination &quot;\&quot;&#xA;Get-Item -Path C:\temp\largeimage.jpg | Send-RemoteItem @props -RootPath App -Destination &quot;\upload\images\&quot;&#xA;Get-Item -Path C:\temp\image.png | Send-RemoteItem @props -RootPath Media -Destination &quot;Images/&quot;&#xA;Get-Item -Path C:\temp\image.png | Send-RemoteItem @props -RootPath Media -Destination &quot;/sitecore/media library/Images/image2.png&quot;&#xA;Get-Item -Path C:\temp\cover.jpg | Send-RemoteItem @props -Destination &quot;{04DAD0FD-DB66-4070-881F-17264CA257E1}&quot;&#xA;&#xA;# Upload single file using full qualified path&#xA;Send-RemoteItem @props -Path &quot;C:\temp\data.xml&quot; -Destination &quot;C:\inetpub\wwwroot\Console\Website\upload\data1.xml&quot;&#xA;&#xA;Get-Item -Path C:\temp\data.zip | Send-RemoteItem @props -RootPath App -Destination &quot;\upload&quot;&#xA;&#xA;# Upload multiple files in a flat structure&#xA;Get-ChildItem -Path &quot;C:\temp\&quot; -Filter &quot;*.xml&quot; | Send-RemoteItem -Session $session -RootPath Media -Destination &quot;Files/&quot; -Verbose&#xA;&#xA;# Upload multiple files in a compressed zip to maintain directory structure&#xA;Get-Item -Path C:\temp\Kittens.zip | Send-RemoteItem @props -RootPath Media -Destination &quot;Images/&quot; -SkipExisting&#xA;&#xA;# Close out the existing session&#xA;Stop-ScriptSession -Session $props.Session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Setup&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Check out this &lt;a href=&quot;https://doc.sitecorepowershell.com/remoting&quot; rel=&quot;nofollow noreferrer&quot;&gt;page&lt;/a&gt; in the Gitbook for SPE to see how to get setup and running.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-05-15T02:43:57.930" LastActivityDate="2018-05-15T02:43:57.930" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1393" PostTypeId="2" ParentId="1386" CreationDate="2016-10-14T19:44:56.587" Score="3" Body="&lt;p&gt;Normally, the .update package can be converted to a zip file. You just need to rename the .update to .zip.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once this is done, open the package and see if the items and dlls are present in the sub folders. If you have more .update package inside the package, you can try to unzip the main .update package and the install the sub .update package individually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have errors while installing one of the .update package, it means that this .update package may contain corrupt items.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2016-10-14T19:44:56.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1394" PostTypeId="2" ParentId="1391" CreationDate="2016-10-14T19:50:41.837" Score="5" Body="&lt;p&gt;It looks like you are missing the caches/fieldsCache node in the &lt;code&gt;coveo&lt;/code&gt; node in your &lt;code&gt;Coveo.SearchProvider.config&lt;/code&gt;, as the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;caches&amp;gt;&#xA;  &amp;lt;fieldsCache type=&quot;Coveo.Framework.Caching.FieldsCache, Coveo.Framework&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/caches&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I suspect this error comes from trying to access the field cache that can't be initialized because the node is missing.&lt;/p&gt;&#xA;" OwnerUserId="290" LastEditorUserId="10" LastEditDate="2016-10-15T20:11:04.477" LastActivityDate="2016-10-15T20:11:04.477" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1395" PostTypeId="2" ParentId="1331" CreationDate="2016-10-14T20:04:33.957" Score="4" Body="&lt;p&gt;You will need to have only one database. In other words, if you have 3 CM Servers, all of them should be connected to the same database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For running of tasks, that is, scheduled jobs, you can setup one of your CM server as the job server. All the jobs will be performed only on one server (job server). If you are using the same database, all the CM will have the same content, hence enabling your CM Servers to be in sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, you will need to make use of event queue. So you need to make sure that the event queue setting is set to true in the Sitecore.config file found in the App_Config folder if you are using Sitecore 8 or check in the web.config if you are using Sitecore 6.x to 7.x. You also need to configure your Scalability Setting since you have have one CM Server which will act as the job server. More information on how to setup the Scalability setting can be found at my blogpost &lt;a href=&quot;https://hishaamn.wordpress.com/2016/03/19/sitecore-scalability-setting/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-10-14T20:10:11.833" LastActivityDate="2016-10-14T20:10:11.833" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1396" PostTypeId="1" AcceptedAnswerId="1409" CreationDate="2016-10-14T20:24:41.547" Score="8" ViewCount="1530" Body="&lt;p&gt;This is something that's been bugging me and I was curious to others' solutions. Let's say you have a template that you've done standard values on for the presentation...you pick a layout, put renderings on, put placeholder settings on. Let's say one of these renderings is a sub-layout (in the traditional sense of the word, not an web forms rendering) with placeholders on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to specify the placeholder settings for the sub-layout such that they always stay with the sub-layout? I hate the idea of having to specify all of these placeholder settings on a page template that may or may not use the sub-layout, and I'd hate to always have to specify a template for the sub-layout if all it is is a layout detail (like multiple columns to subdivide a page) and doesn't need a template for data reasons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thoughts? Thanks.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2016-10-19T01:57:03.467" Title="Placeholder settings on sub-renderings" Tags="|placeholders|presentation|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1397" PostTypeId="2" ParentId="1396" CreationDate="2016-10-14T21:08:32.810" Score="1" Body="&lt;p&gt;I'm going to answer my own question, but I'd like to see opinions on whether folks think this might be the answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in this scenario, the rendering that is my sub-layout has no actual data going to it; it's purely a placeholder deal. Think a main layout that has a Bootstrap col-md-12, and I want a sub-layout that has three col-md-4's, with a placeholder in each. So I create the rendering in Sitecore, connect to a CSHTML file with the markup, and in theory I'm done except for &quot;where do I put the placeholder settings?&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So on the layout page connected to the template, we have this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;col-md-12&quot;&amp;gt;&#xA;    @Html.Sitecore().Placeholder(&quot;main&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The placeholder settings for &quot;main&quot; can be assigned as the default key on the placeholder setting itself, as discussed below. Then we have a rendering that consists of the following, with no template required because it's just placeholders:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;col-md-4&quot;&amp;gt;&#xA;    @Html.Sitecore().Placeholder(&quot;main-left&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;div class=&quot;col-md-4&quot;&amp;gt;&#xA;    @Html.Sitecore().Placeholder(&quot;main-center&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;div class=&quot;col-md-4&quot;&amp;gt;&#xA;    @Html.Sitecore().Placeholder(&quot;main-right&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Each of these placeholders would use the same placeholder setting, let's call it &quot;Single Column&quot;. So the question is, where do I assign &quot;Single Column&quot; to affect these three placeholders? With the caveat that this rendering may not be used, and I'd prefer not to junk up my page template with placeholder settings that may never be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't put them on the rendering, that doesn't work correctly. So after spelling the case out above, the thought that came to me is to create a template with no fields, and all it has on it are placeholder settings. I then attach that template to my rendering in the &quot;Data Source&quot; field, so they're always connected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In theory this would work. The one thought that occurs to me as I write this, in the standard values of the template to specify the presentation details, can you specify just the placeholder settings, or does it force you to pick a layout and perhaps a rendering as well? If so, could you create a completely blank layout (I mean a CSHTML file that's totally empty, no markup at all) and then pick some dummy rendering that's connected to an unused placeholder key (so it could never render on the page) just to trick the system?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It sounds like a long way around to achieve the effect, but the ultimate goal is, for these renderings that are nothing more than sub-layouts that contain placeholders, to keep the placeholder settings with the sub-layout, and not &quot;junk up&quot; the page template with placeholder settings/keys it might never use.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2016-10-19T01:57:03.467" LastActivityDate="2016-10-19T01:57:03.467" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="1398" PostTypeId="2" ParentId="1377" CreationDate="2016-10-14T21:20:03.997" Score="13" Body="&lt;p&gt;You are able to set the required validation item rule item to &lt;code&gt;FATAL ERROR&lt;/code&gt; in Sitecore. This is the highest level of validation. This setting prevent the user to save the item with validation error.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-10-15T05:08:46.480" LastActivityDate="2016-10-15T05:08:46.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1399" PostTypeId="2" ParentId="1389" CreationDate="2016-10-14T21:40:23.310" Score="15" Body="&lt;p&gt;This should actually now work out of the box on Sitecore 8.2+ including Sitecore 9 and 10 with no additional code or configuration required.&lt;/p&gt;&#xA;&lt;p&gt;Among the resolved issues from the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;8.2 release notes&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;​Sitecore.Services.Client prevents using Attribute Routing with ASP.NET WebAPI​.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Sitecore is calling the &lt;code&gt;config.MapHttpAttributeRoutes()&lt;/code&gt; from &lt;code&gt;Sitecore.Services.Client&lt;/code&gt; in the &lt;code&gt;initialize&lt;/code&gt; pipeline. This is the one throwing the error you are seeing if you have already called that method in your own startup logic which is run first.&lt;/p&gt;&#xA;&lt;p&gt;You can configure the assemblies is resolves based on the documentation &lt;a href=&quot;https://doc.sitecore.com/en/developers/101/sitecore-experience-manager/assembly-resolver-scanner.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="1278" LastEditDate="2021-07-26T02:59:15.143" LastActivityDate="2021-07-26T02:59:15.143" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1400" PostTypeId="1" AcceptedAnswerId="1407" CreationDate="2016-10-14T21:41:25.277" Score="8" ViewCount="172" Body="&lt;p&gt;I am very familiar with Presentation Details and inheritance, as well as the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/versioned_layouts&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8 documentation on Versioned Layouts&lt;/a&gt;, but I feel like Presentation Details are all too often one of the most fragile pieces of architecture on my sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The loose-coupling challenge is also throwing me. Without using template inheritance, which often means inheriting the Presentation Details of items in other modules, I am having trouble devising a strategy that is easy for the client and our internal teams to maintain. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I am looking for is a Presentation Detail strategy that prevents tight-coupling, keeps overhead low, and provides for easier maintenance. When I say &quot;strategy,&quot; what I mean is a set of rules, like &quot;Always declare on Standard Values. Do not depend on Standard Values inheriting from other Standard Values and instead copy the Presentation Details before modifying.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone developed an effective strategy for Presentation Details that works well the above focuses?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-01-24T19:04:56.173" LastActivityDate="2017-01-24T19:04:56.173" Title="Options for Planning an Effective Presentation Details Strategy" Tags="|best-practices|solution-architecture|presentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1401" PostTypeId="2" ParentId="698" CreationDate="2016-10-14T21:49:42.393" Score="12" Body="&lt;p&gt;&lt;strong&gt;tl;dr&lt;/strong&gt;: If you are on Sitecore 7.0 or newer, you should pretty much always be using ContentSearch indexes. If you are on Sitecore 6.X, you can only use the older &lt;code&gt;Sitecore.Search.Index&lt;/code&gt; indexes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Rebuild Search Indexes&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This page will show indexes that are listed in the &lt;code&gt;/sitecore/search/configuration/indexes&lt;/code&gt; section of the configuration. These indexes typically are of type &lt;code&gt;Sitecore.Search.Index&lt;/code&gt;, an older type of search index available in Sitecore 6.x and earlier. This class hasn't changed substantially between Sitecore 6.6 and Sitecore 8.2. The Sitecore 8.2 build of &lt;code&gt;Sitecore.Kernel&lt;/code&gt; has a &lt;code&gt;[Obsolete(&quot;Must be removed in the next release.&quot;)]&lt;/code&gt; attribute attached to this class. Do not make any new indexes of this type on any site you think may ever be upgraded to Sitecore 8.2 Update-1 or later. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Indexing Manager&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This page will show indexes that are listed in the &lt;code&gt;/sitecore/contentSearch/configuration/indexes&lt;/code&gt; section of the configuration. These indexes will typically be of type &lt;code&gt;Sitecore.ContentSearch.LuceneProvider.LuceneIndex&lt;/code&gt; or &lt;code&gt;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex&lt;/code&gt;. These are the newer style indexes you should be using. Use indexes of these types for all new indexes on Sitecore 7.0 or newer.&lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-14T21:49:42.393" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1402" PostTypeId="1" AcceptedAnswerId="1405" CreationDate="2016-10-14T22:54:32.700" Score="5" ViewCount="744" Body="&lt;p&gt;We have several environments:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Our production / live site.&lt;/li&gt;&#xA;&lt;li&gt;Our staging / QA site.&lt;/li&gt;&#xA;&lt;li&gt;Our development site.&lt;/li&gt;&#xA;&lt;li&gt;Local developer's machines.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I know sitecore supports several ways to publish, including packages and 3rd party tools like TDS, but is there any reason I couldn't (or shouldn't) just configure a publish target for each environment?  When I publish from our development site to our QA site, for instance, I could just publish and check the QA target.&lt;/p&gt;&#xA;" OwnerUserId="163" LastActivityDate="2016-10-15T00:04:16.103" Title="Should I configure multiple publish targets to publish to multiple environments?" Tags="|best-practices|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1404" PostTypeId="2" ParentId="1400" CreationDate="2016-10-15T00:00:24.840" Score="6" Body="&lt;p&gt;One strategy that has served me well is called &lt;a href=&quot;http://www.hhogdev.com/blog/2015/september/sitecore-placeholder-fallback.aspx&quot;&gt;Placeholder Fallback&lt;/a&gt; and was originally blogged by Charlie Turano at Hedgehog. In this strategy, you define your presentation on a parent item and it is inherited on all descendant items that contain a special fallback rendering. This avoids the issue of inheriting presentation from standard values across templates, and is especially useful for global renderings such as headers, footers, navigation, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, your home page's presentation could be defined as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; header / Logo Rendering&#xA; header / Navigation Rendering&#xA; header / Breadcrumb Rendering&#xA; main / ... &#xA; footer / Copyright Rendering&#xA; footer / Footer Navigation Rendering&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While on all sub-page templates, the presentation would look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; main / Fallback Rendering (header)&#xA; main / ...&#xA; main / Fallback Rendering (footer)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In addition to keeping your presentation details lean and centralized, the components defined on the homepage will also support Personalization and Testing across the entire site, which is not possible by default.&lt;/p&gt;&#xA;" OwnerUserId="100" LastActivityDate="2016-10-15T00:00:24.840" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1405" PostTypeId="2" ParentId="1402" CreationDate="2016-10-15T00:01:20.810" Score="7" Body="&lt;p&gt;The answer to your overall question is that you should &lt;strong&gt;&lt;em&gt;not publish across across environments.&lt;/em&gt;&lt;/strong&gt; Can you? Sitecore is so flexible that you can create publishing targets to all kinds of Sitecore databases without Sitecore complaining too much.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, there are a lot of gotchas that fall into play here.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Publishing causes events to fire. You may not want events to fire across environments.&lt;/li&gt;&#xA;&lt;li&gt;Connection Strings become incredibly messy.&lt;/li&gt;&#xA;&lt;li&gt;The differences between environments can become muddled.&lt;/li&gt;&#xA;&lt;li&gt;Caching and Indexing confusion (Thanks Derek!)&lt;/li&gt;&#xA;&lt;li&gt;Event Queue cluttering and confusion&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Environments&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Let's talk about environments. When I refer to an &lt;strong&gt;environment&lt;/strong&gt; I mean:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;All of the instances of Sitecore that make up the collection of code&#xA;  bases and config files that are treated with the same level of&#xA;  consideration and protection.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;For example:&#xA;The &lt;strong&gt;Production&lt;/strong&gt; environment may include:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2 CM servers&lt;/li&gt;&#xA;&lt;li&gt;3 CD servers&lt;/li&gt;&#xA;&lt;li&gt;1 processing server&lt;/li&gt;&#xA;&lt;li&gt;1 reporting server.  &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;All of these servers have share distinct copies of databases (master, web, core, etc). In addition, your backup measures are vast, the servers are protected and security is very important.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But your &lt;strong&gt;QA&lt;/strong&gt; environment may only have 1 server of each above. And if in the middle of an upgrade may be a different version level. And it might not be backed up as much.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Same with your &lt;strong&gt;Dev&lt;/strong&gt; Environment. Rate of change is constant.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;Best Practice&lt;/strong&gt; is that you &lt;strong&gt;&lt;em&gt;don't&lt;/em&gt;&lt;/strong&gt; want to cross streams between these environments using publishing mechanisms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Instead&lt;/em&gt;, proper file and item deployment methodologies should be employed such as:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;TDS or Unicorn item serialization synchronization&lt;/li&gt;&#xA;&lt;li&gt;Configuration file transformation based on environment and role&lt;/li&gt;&#xA;&lt;li&gt;Database backups and restores to lower environments between projects to keep them fresh.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-15T00:04:16.103" LastActivityDate="2016-10-15T00:04:16.103" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1406" PostTypeId="2" ParentId="1371" CreationDate="2016-10-15T01:01:20.963" Score="4" Body="&lt;p&gt;If this is really only happening in Chrome, I would suspect an extension.  Something must be messing with either the CSRF cookie value or the CSRF hidden form field value.  Try it in an incognito window or with extensions disabled.  If the problem goes away, find the bad module via process of elimination.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this can be reproduced in other browsers (most likely by restarting the app pool while using the Sitecore client), then it is likely due to a lack of access to the HKEY_CURRENT_USER registry.  This is where ASP.NET stores the auto-generated machine key.  If it can't store the key, then it will regenerate it each time the app pool restarts and the app won't be able to decrypt token in the hidden CSRF field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Theoretically, you shouldn't see this machine key issue in recent versions of Windows unless you are running the app pool under a custom user account.  On a developer machine, you should just go with Network Service and set Load User Profile to true.  Otherwise, you could set a static machine key in the web.config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some resourses with more info:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://support.microsoft.com/en-us/kb/2915218&quot; rel=&quot;nofollow&quot;&gt;https://support.microsoft.com/en-us/kb/2915218&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://gyorgybalassy.wordpress.com/2013/12/07/how-unique-is-your-machine-key/&quot; rel=&quot;nofollow&quot;&gt;https://gyorgybalassy.wordpress.com/2013/12/07/how-unique-is-your-machine-key/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://blogs.msdn.microsoft.com/webdev/2012/10/23/cryptographic-improvements-in-asp-net-4-5-pt-2/&quot; rel=&quot;nofollow&quot;&gt;https://blogs.msdn.microsoft.com/webdev/2012/10/23/cryptographic-improvements-in-asp-net-4-5-pt-2/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-15T01:01:20.963" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1407" PostTypeId="2" ParentId="1400" CreationDate="2016-10-15T01:55:36.983" Score="3" Body="&lt;p&gt;Start by reading the &lt;a href=&quot;http://helix.sitecore.net/&quot; rel=&quot;nofollow&quot;&gt;Sitecore Helix Documentation&lt;/a&gt;.  The component-based architecture it describes is definitely the way to go.  Most of the accelerators use something like it even if they don't use the Foundation-Feature-Project layers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most of the accelerators also move presentation details away from the template standard values to some extent.  SXA has &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/composite_renderings&quot; rel=&quot;nofollow&quot;&gt;Composite Renderings&lt;/a&gt;, &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing&quot; rel=&quot;nofollow&quot;&gt;Partial Designs&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/page_designs&quot; rel=&quot;nofollow&quot;&gt;Page Designs&lt;/a&gt;.  Other accelerators also use things like the Placeholder Fallback mentioned by Derek or &lt;a href=&quot;http://jockstothecore.com/cascading-mvc-renderings-in-sitecore-7/&quot; rel=&quot;nofollow&quot;&gt;Cascading Renderings&lt;/a&gt;.  There's also my &lt;a href=&quot;http://www.awareweb.com/awareblog/11-5-15-sitecorebaselayouts&quot; rel=&quot;nofollow&quot;&gt;Base Layouts&lt;/a&gt; project (&lt;a href=&quot;https://github.com/BenGGolden/Sitecore.BaseLayouts&quot; rel=&quot;nofollow&quot;&gt;GitHub&lt;/a&gt;) which I have been neglecting lately.  It should go without saying at this point that all of them use &lt;a href=&quot;http://www.techphoria414.com/Blog/2011/August/Dynamic_Placeholder_Keys_Prototype&quot; rel=&quot;nofollow&quot;&gt;Dynamic Placeholders&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-15T01:55:36.983" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1408" PostTypeId="1" AcceptedAnswerId="1410" CreationDate="2016-10-15T02:55:56.943" Score="10" ViewCount="1111" Body="&lt;p&gt;In specific instance, I prefer to make use of rendering parameters when creating a Sitecore rendering.  However, our content authors find it's placement and button description unintuitive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VejTK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VejTK.png&quot; alt=&quot;Edit component properties button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see that these buttons are configured in the &lt;code&gt;core&lt;/code&gt; database at the following path: &lt;code&gt;/sitecore/content/Applications/WebEdit/Default Rendering Buttons&lt;/code&gt;.  Editing the button's &lt;code&gt;Header&lt;/code&gt; field and order in the folder does not appear to affect the display in Experience Editor.  Is there any way to rename the 'Edit component properties' button and move it out of the 'More' dropdown, into the main toolbar?&lt;/p&gt;&#xA;" OwnerUserId="469" LastEditorUserId="469" LastEditDate="2016-10-15T04:31:55.510" LastActivityDate="2016-10-15T05:17:49.850" Title="Move/Rename Experience Editor 'Edit component properties' button" Tags="|experience-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1409" PostTypeId="2" ParentId="1396" CreationDate="2016-10-15T03:10:10.163" Score="6" Body="&lt;p&gt;I think the most common extension is to use the rules engine.  You create a processor for the &lt;code&gt;GetPlaceholderRenderings&lt;/code&gt; pipeline that uses the rules engine to add/remove renderings.  Here are some links to various implementations of the idea.  I'm sure there are more out there too.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/matthewkenny/ConditionalPlaceholderSettings&quot;&gt;https://github.com/matthewkenny/ConditionalPlaceholderSettings&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/williamsk/SitecorePlaceholderSettingsRules&quot;&gt;https://github.com/williamsk/SitecorePlaceholderSettingsRules&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://shanebair.me/2015/09/27/smart-placeholder-settings-how-it-works/&quot;&gt;http://shanebair.me/2015/09/27/smart-placeholder-settings-how-it-works/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://brainjocks.atlassian.net/wiki/display/SDD/Placeholder+Settings+Rules&quot;&gt;https://brainjocks.atlassian.net/wiki/display/SDD/Placeholder+Settings+Rules&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-15T03:10:10.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1410" PostTypeId="2" ParentId="1408" CreationDate="2016-10-15T05:17:49.850" Score="7" Body="&lt;p&gt;As you have already found, that button is defined by the &lt;code&gt;/sitecore/content/Applications/WebEdit/Default Rendering Buttons/Properties&lt;/code&gt; item in the core database.  To make that button appear in the main toolbar, change the Type field so there is no selection rather than the default &lt;code&gt;Common&lt;/code&gt;.  Changing the Header field should modify the text when you have Type set to common.  When it appears in the toolbar, there is no text on the button, but you can change the tooltip field to change what shows when you hover over it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an alternative to globally changing this button, you could also copy the button under the Custom Experience buttons folder, modify it as needed and then select it for only the renderings you really need it on.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-15T05:17:49.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1411" PostTypeId="1" AcceptedAnswerId="1413" CreationDate="2016-10-15T08:32:18.553" Score="24" ViewCount="1268" Body="&lt;p&gt;This is a follow up to &lt;a href=&quot;https://sitecore.stackexchange.com/q/1402/163&quot;&gt;Should I configure multiple publish targets to publish to multiple environments?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that question, I asked if I should define publish targets to publish between environments.  The answer was that that was not best practice.  So, to follow up, &lt;em&gt;when should I define a publish target other than the default &quot;internet&quot; target?&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="163" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2018-05-30T10:22:07.177" Title="When should I define a new publish target?" Tags="|best-practices|publishing|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1412" PostTypeId="2" ParentId="1411" CreationDate="2016-10-15T09:42:03.963" Score="17" Body="&lt;p&gt;You can find a great explanation with examples in this &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-publishing-targets-in-the-sitecore-asp-net-cms&quot;&gt;blog&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A few reasons to define additional publishing targets mentioned there:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Traffic, geographic distribution, redundancy and other scalability &#xA;considerations often demand that customers publish everything to &#xA;multiple publishing targets supporting different banks of content&#xA;delivery servers in a single location or multiple locations. This is &#xA;probably the most common use of publishing targets.&lt;/li&gt;&#xA;&lt;li&gt;Publish to a pre-production publishing target for evaluation before&#xA;go-live. This has some addressable challenges, such as how to publish&#xA;from a non-final workflow state. &lt;/li&gt;&#xA;&lt;li&gt;Publish some of the managed sites to one publishing target and other&#xA;sites to another. This reduces publishing time and database storage,&#xA;but also has disadvantages, such as complicating content sharing, and&#xA;might be hard to integrate with other approaches listed here.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The first 2 examples are the most common. I have seen both working. In case of hosting servers in different distribution centers with their own databases, or in case of using a pre-production environment where people that did not have access to the CM environment could verify changes and approve before the real go-live. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-15T09:42:03.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1413" PostTypeId="2" ParentId="1411" CreationDate="2016-10-15T10:40:32.067" Score="21" Body="&lt;p&gt;Common uses I've seen is to make the following two things easier:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Preview of the site before it's published where users don't have sitecore access. This preview can be used internally in the organisation to see what is about to go live. Good especially if you have limited number of editors; full details here &lt;a href=&quot;http://getfishtank.ca/blog/2-big-improvements-to-publishing-in-sitecore-7&quot;&gt;http://getfishtank.ca/blog/2-big-improvements-to-publishing-in-sitecore-7&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Keeping the site up when deploying: let's say you make breaking content changes - like moving global settings etc. Anything where you need new code and new content to be deployed together. With 2 publishing targets you can drop new code on one CD and publish to one target while keeping old site running on other CD and other target. Once happy you can swap.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="87" LastEditorUserId="87" LastEditDate="2016-10-15T17:16:29.987" LastActivityDate="2016-10-15T17:16:29.987" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1414" PostTypeId="2" ParentId="1310" CreationDate="2016-10-15T12:01:11.600" Score="0" Body="&lt;p&gt;Could be something in the package that's violating the allowed item name in the sitecore config; check out the &lt;strong&gt;ItemNameValidation&lt;/strong&gt; config setting and make it less aggressive, just in case.&lt;/p&gt;&#xA;" OwnerUserId="87" LastActivityDate="2016-10-15T12:01:11.600" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1415" PostTypeId="2" ParentId="1411" CreationDate="2016-10-15T15:33:37.687" Score="14" Body="&lt;p&gt;To make an educated decision, you need to know what publishing does and what it does not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publishing is the process of copying content from one database to another. By default there is one source database - &lt;code&gt;master&lt;/code&gt; and one destination database &lt;code&gt;web&lt;/code&gt;. The &lt;code&gt;web&lt;/code&gt; database is the publishing target.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you publish, Sitecore copies data from 3 tables &lt;code&gt;Items&lt;/code&gt;, &lt;code&gt;VersionedFields&lt;/code&gt;, &lt;code&gt;UnversionedField&lt;/code&gt;. &lt;em&gt;Copy&lt;/em&gt; here is not just moving bytes. It is a sophisticated process that transforms data to the form that works best for delivery. From top of my head the following transformations are performed: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Clones are merged&lt;/li&gt;&#xA;&lt;li&gt;Language fallback fields are materialized&lt;/li&gt;&#xA;&lt;li&gt;Old Item versions are removed so only recent one is kept&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But Sitecore is not just &lt;code&gt;Items&lt;/code&gt; and &lt;code&gt;Fields&lt;/code&gt;. Other important artifacts are &lt;strong&gt;not&lt;/strong&gt; moved when you publish content. What is not included:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;xDB data&lt;/li&gt;&#xA;&lt;li&gt;Sitecore modules, fixes, updates&lt;/li&gt;&#xA;&lt;li&gt;Users and Roles (although permissions are moved as they are stored in Item &lt;code&gt;Security&lt;/code&gt; field)&lt;/li&gt;&#xA;&lt;li&gt;Application Files - configuration, CSS, JS, Razor views and others&lt;/li&gt;&#xA;&lt;li&gt;Application Code &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After content is copied, target Server receives &lt;code&gt;publish:end:remote&lt;/code&gt; event. During this event pipeline Sitecore clears caches for affected items and pushes affected items to Search Indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, publishing is an expensive process. It may be an overkill to use it if you want to have two &lt;strong&gt;always&lt;/strong&gt; synchronized environments. Consider shared database or SQL Replication for that scenario. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Multiple Publishing Targets work best for scenarios when two conditions are met:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore and your App versions are synchronized&lt;/li&gt;&#xA;&lt;li&gt;You need to control over how your content is traveling from one environment to another. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Steve Newstead&lt;/strong&gt; already provided great sample when it make most sense in his &lt;a href=&quot;https://sitecore.stackexchange.com/a/1413/633&quot;&gt;answer&lt;/a&gt;  &lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="633" LastEditDate="2017-10-31T15:22:06.317" LastActivityDate="2017-10-31T15:22:06.317" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1416" PostTypeId="1" AcceptedAnswerId="1417" CreationDate="2016-10-16T09:00:10.910" Score="6" ViewCount="1005" Body="&lt;p&gt;We have a multisite setup, where &lt;code&gt;Shared Content&lt;/code&gt; is stored in a node for each site as a sibling to the site frontpage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- Website 1&#xA;-- Home&#xA;--- Some page&#xA;-- Shared Content&#xA;--- Contacts&#xA;- Website 2&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the above example, how would i use the &lt;code&gt;Contacts&lt;/code&gt; folder as a DataSource Location in a TreeList or Multi List field etc.?&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2016-10-16T09:15:08.323" LastActivityDate="2016-10-16T09:15:08.323" Title="Site-relative datasource locations" Tags="|multisite|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1417" PostTypeId="2" ParentId="1416" CreationDate="2016-10-16T09:12:45.597" Score="12" Body="&lt;p&gt;Would that work for you?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ancestor-or-self::*[@@templateid='{website-root-template-id-here}']/*[@@templateid='{shared-content-template-id-here}']/*[@@templateid='{contacts-node-template-id-here}']&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This'll travel up the content tree to the nearest website root node (from any page) and then down to the respective Contacts node.&lt;/p&gt;&#xA;" OwnerUserId="422" LastActivityDate="2016-10-16T09:12:45.597" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1418" PostTypeId="2" ParentId="1254" CreationDate="2016-10-16T12:21:25.257" Score="2" Body="&lt;p&gt;PSE sounds like a goer, though if you're not comfortable with PowerShell and as it's a migration project which you're going to re-run then you could do something with the rules engine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the 8.x instance when the content item from 6.x saves, have a rule which examine the date fields and change as appropriate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can only find an old cookbook (&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/61/rules_engine_cookbook_sc61_a4.pdf&quot; rel=&quot;nofollow&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/61/rules_engine_cookbook_sc61_a4.pdf&lt;/a&gt;)  on the rules engine as I'm on a train with a dodgy web connection&lt;/p&gt;&#xA;" OwnerUserId="87" LastActivityDate="2016-10-16T12:21:25.257" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1419" PostTypeId="1" AcceptedAnswerId="1422" CreationDate="2016-10-16T12:53:29.800" Score="9" ViewCount="482" Body="&lt;p&gt;Solution can be installed on many environments - QA, Staging, Prod. In every of these environments Sitecore instances have different roles - CD, CM, Job, Publishing and etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should I install Powershell on all these instances if I use SXA?  &lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="70" LastEditDate="2016-11-08T18:56:18.393" LastActivityDate="2016-11-08T18:56:18.393" Title="Where should I install Powershell module for SXA?" Tags="|best-practices|powershell-extensions|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1420" PostTypeId="2" ParentId="1419" CreationDate="2016-10-16T13:03:26.263" Score="1" Body="&lt;p&gt;Yes is mandatory to install Powershell if you want to have all facilities from SXA.&#xA;On the installation guide you wil find: &#xA;Before installing SXA, ensure that you have the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore Experience Platform 8.2 initial release or Sitecore Experience  Platform   8.1 Update-3&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore PowerShell extensions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;o Sitecore XP 8.1 – full 4.1 or later&lt;/p&gt;&#xA;&#xA;&lt;p&gt;o Sitecore XP 8.2 – full 4.1 or later&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example if you create tenants or you want to export site behind is used Powershell.  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-16T13:03:26.263" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1421" PostTypeId="1" AcceptedAnswerId="1460" CreationDate="2016-10-16T14:08:20.697" Score="4" ViewCount="540" Body="&lt;p&gt;In EXM 3.3, for some reason, all of our dispatched emails are getting sent where the images that included in our rich text field (which are all of them) are getting sent as attachments as well as showing up in the email.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This was not the case in  ECM 2.2, and this is an upgraded solution.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is there a setting to change this so that the images are embedded into the email, not sent as attachments?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/L5Eh2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/L5Eh2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="73" LastEditDate="2016-10-16T15:21:00.953" LastActivityDate="2016-10-17T13:13:59.340" Title="EXM Messages sent with images as attachments on version 3.3" Tags="|exm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1422" PostTypeId="2" ParentId="1419" CreationDate="2016-10-16T14:08:58.610" Score="9" Body="&lt;p&gt;SPE is only required for environments that use the Sitecore interface. If you are going to use the Content Editor or Experience Editor then install the module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially only the CM needs SPE. &lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-16T14:08:58.610" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1423" PostTypeId="2" ParentId="1419" CreationDate="2016-10-16T16:37:44.663" Score="5" Body="&lt;p&gt;Currently &lt;strong&gt;Sitecore PowerShell Extensions&lt;/strong&gt; is used in SXA for the following things:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;scaffolding - two dialogs which help you create new tenants and sites (area &lt;strong&gt;Content Editor&lt;/strong&gt;).&lt;/li&gt;&#xA;&lt;li&gt;data clean up script - this is a helper script with integration for Context Menu to help keep data folders clean (area &lt;strong&gt;Content Editor&lt;/strong&gt;).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Although it is requirement your instance will still work fine if you are not going to use script automation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally you should be able to do everything without PowerShell however site scaffolding is too complicated to do it manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Bear in mind that in the future there might appear more integrations with &lt;strong&gt;SPE&lt;/strong&gt; do you should probably monitor those to eliminate possible problems on your instances without module.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-16T16:37:44.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1424" PostTypeId="1" AcceptedAnswerId="1425" CreationDate="2016-10-16T18:16:51.280" Score="10" ViewCount="2299" Body="&lt;p&gt;How do I define DataSource Location for rendering parameters, relative to the context item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When defining a DataSource Location for rendering parameters (Droplink or TreeList etc), using a relative XPath query (&lt;code&gt;./&lt;/code&gt; or &lt;code&gt;ancestor-or-self&lt;/code&gt; etc), it seems that the DataSource Location is relative to the actual rendering item and not the context item. &lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2018-03-08T17:05:03.157" Title="Relative rendering DataSource Locations" Tags="|presentation|datasource|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1425" PostTypeId="2" ParentId="1424" CreationDate="2016-10-16T19:34:15.880" Score="15" Body="&lt;p&gt;DataSource Location inside rendering parameters has different context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could achieve your goal by extending &lt;code&gt;resolveRenderingDatasource&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Allows developers to override the default logic for resolving the data source for renderings. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Pipeline args type is: &lt;code&gt;ResolveRenderingDatasourceArgs&lt;/code&gt; and it contains:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public string Datasource { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find you context item like that:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;Item item = args.CustomData[&quot;contextItem&quot;] as Item ?? Context.Item;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Having raw value of &lt;strong&gt;Datasource field&lt;/strong&gt; (value from Standard Values of your rendering parameters) with your query and &lt;strong&gt;context item&lt;/strong&gt;, you could execute your query to get results in correct context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By reading Datasource property you can access that value from Standard Values before it is resolved by Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can process it and convert to an item ID running query not in &lt;strong&gt;Rendering item&lt;/strong&gt; context (like Sitecore would normally do without your intervention, situation that you described) but in &lt;strong&gt;Context Item&lt;/strong&gt; context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Datasource property in your case contains (relative XPath query (&lt;code&gt;./&lt;/code&gt; or &lt;code&gt;ancestor-or-self&lt;/code&gt; etc))&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-17T08:49:04.043" LastActivityDate="2016-10-17T08:49:04.043" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1426" PostTypeId="1" AcceptedAnswerId="1429" CreationDate="2016-10-17T02:25:15.767" Score="7" ViewCount="1900" Body="&lt;p&gt;I would like to add a button to the Experience Editor ribbon that will open a modal or new window with a set of fields from the context item.  I had some custom code to do this with the old Sheer UI ribbon but would like to implement this within the new Speak UI ribbon.  I have found Sitecore's documentation to create the button: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_experience_editor/customize_the_experience_editor_ribbon#_Create_a_new&quot;&gt;Customize the Experience Editor ribbon&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I'm having a hard time finding a good example of what to perform within the &lt;code&gt;execute&lt;/code&gt; method of my custom javascript.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What javascript would I need to open a window that displays a pre-configured set of fields that exist on the context item?&lt;/p&gt;&#xA;" OwnerUserId="469" LastEditorUserId="73" LastEditDate="2016-10-17T02:49:58.233" LastActivityDate="2016-10-17T06:20:37.457" Title="How do I add a button to the Experience Editor Ribbon?" Tags="|experience-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1427" PostTypeId="1" AcceptedAnswerId="1437" CreationDate="2016-10-17T02:37:29.670" Score="3" ViewCount="299" Body="&lt;p&gt;I created multiple versions for my page. I see only last version in &lt;code&gt;Search Results&lt;/code&gt; SXA component when page is rendered in normal mode (what is expected). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although, when I switch to &lt;code&gt;Preview&lt;/code&gt; mode, all the variants are shown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I filter the data to render only the latest page version in Experince Editor &lt;code&gt;Preview&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reproduced in &lt;code&gt;Sitecore Experience Accelerator 1.1 rev. 161004 for 8.2&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="633" LastEditDate="2016-10-17T02:52:36.890" LastActivityDate="2016-10-17T10:07:42.247" Title="How can I hide old page versions in SXA Search Results in Preview mode?" Tags="|experience-editor|content-search|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1428" PostTypeId="1" AcceptedAnswerId="1431" CreationDate="2016-10-17T03:22:00.503" Score="7" ViewCount="1106" Body="&lt;p&gt;Out of the box SXA &lt;code&gt;Search Results&lt;/code&gt; component shows only page &lt;code&gt;Title&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I customize that component to show page &lt;code&gt;Image&lt;/code&gt; and &lt;code&gt;Description&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-10-18T13:15:09.543" Title="How can I customize Search Result in SXA?" Tags="|content-search|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1429" PostTypeId="2" ParentId="1426" CreationDate="2016-10-17T06:19:44.747" Score="5" Body="&lt;p&gt;Starting with version 8 or 8.1 it was changed how to add a button to experience button.&#xA;  Please follow next link to add new button to experience editor: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://reyrahadian.com/2015/04/15/sitecore-8-adding-edit-meta-data-button-in-experience-editor/&quot; rel=&quot;noreferrer&quot;&gt;http://reyrahadian.com/2015/04/15/sitecore-8-adding-edit-meta-data-button-in-experience-editor/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before it was very simple, you didn't need to add new code for editing hidden field: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.istern.dk/2012/05/21/running-sitecore-field-editor-from-a-command/&quot; rel=&quot;noreferrer&quot;&gt;https://blog.istern.dk/2012/05/21/running-sitecore-field-editor-from-a-command/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-17T06:19:44.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1430" PostTypeId="2" ParentId="1426" CreationDate="2016-10-17T06:20:37.457" Score="3" Body="&lt;p&gt;It sounds like you want to open a Field Editor dialog.  Unfortunately, SPEAK makes this much more complicated than it really should be.  This &lt;a href=&quot;https://blog.istern.dk/2015/03/02/running-sitecore-field-editor-from-a-speak-command-in-sitecore-experience-editor/&quot; rel=&quot;nofollow&quot;&gt;blog post by Thomas Stern&lt;/a&gt; gives all the dirty details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The executive summary is that you need to create a URL for the field editor dialog that has all of the parameters it needs like the list of fields, height, width, title, etc.  While you might be able to hard-code that URL into your JavaScript, it is generally preferable to generate it based on a settings item or as Thomas does by re-purposing a field on the button item.  To do that, you need to create a SPEAK request which will execute a method in a class that you will need to write.  You'll end up with like 4 files and a couple of items just to open a dialog.  Welcome to the world of SPEAK.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-17T06:20:37.457" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1431" PostTypeId="2" ParentId="1428" CreationDate="2016-10-17T07:29:11.477" Score="7" Body="&lt;p&gt;You should use &lt;strong&gt;Rendering variants&lt;/strong&gt; for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you edit the search results rendering properties, there is a field which allows you to select rendering variant. You can choose from the couple of default ones but you can define your own.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to define a variant you have to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Insert new &lt;code&gt;Variant definition&lt;/code&gt; in the &lt;code&gt;Presentation\Rendering Variants\Search results&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Insert two child items of type &lt;code&gt;Field&lt;/code&gt; and name them &lt;code&gt;Image&lt;/code&gt; and &lt;code&gt;Description&lt;/code&gt; (actually you can name them whatever you want but the name is propagated to &lt;strong&gt;Field&lt;/strong&gt; field which is used to identify which field should be used to get the data from)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can read more in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&quot; rel=&quot;nofollow&quot;&gt;documentation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/the_sxa_renderings_and_rendering_variants&quot; rel=&quot;nofollow&quot;&gt;Here&lt;/a&gt; is the list of SXA renderings with information which of them supports component variants&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-10-18T13:15:09.543" LastActivityDate="2016-10-18T13:15:09.543" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1432" PostTypeId="1" AcceptedAnswerId="1433" CreationDate="2016-10-17T07:59:07.227" Score="11" ViewCount="529" Body="&lt;p&gt;Where should environment-specific configs be placed in Helix (Habitat) compliant solution (in the VS solution and the file system), such as connection strings? &lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="2727" LastEditDate="2018-03-02T07:50:31.800" LastActivityDate="2018-03-02T07:50:31.800" Title="Where should environment-specific configs be placed in Helix (Habitat) compliant solution?" Tags="|configuration|helix|best-practices|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1433" PostTypeId="2" ParentId="1432" CreationDate="2016-10-17T08:02:40.677" Score="6" Body="&lt;p&gt;I would say that these are the files specific for the &lt;strong&gt;Project&lt;/strong&gt; layer so they should be placed in a module there. I would expect a project representing a Website there so I would add them in such a project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the Helix docs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Project layer provides the context of the solution. This means the actual cohesive website or channel output from the implementation, such as the page types, layout and graphical design. It is on this layer that all the features of the solution are stitched together into a cohesive solution that fits the requirements.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-17T08:02:40.677" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1435" PostTypeId="1" AcceptedAnswerId="1436" CreationDate="2016-10-17T08:46:33.083" Score="8" ViewCount="734" Body="&lt;p&gt;Currently I am working on the physical view of our Sitecore architecture, part of this view is how we do deployments which cause no downtime for endusers and preferably our content editors. So far, we have automated all of our deployments, because we have 20 different sitecore instances (all existing of 4x CD and multiple CM's) and we have tons of deployments a day. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the CI and automated deployments, our next step is to be able to deliver zero downtime deployments. Multiple strategies have come into my mind and most strategies fit a specific situation, which will work or won't work for different situations, so I am not looking for the one-size-fits-all solution, but for the challenges that we will face.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I've come up with, I can think of the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;User Sessions. Graceful remove CD's from a load balancer &lt;em&gt;or&lt;/em&gt; don't use sticky sessions&lt;/li&gt;&#xA;&lt;li&gt;databases. what data is stored in web/core when someone visits a CD server. Is there any data that is stored? (I know that, for example, userprofiles, passwords, groupmemberships et cetera) are stored in the core database. Are there any queues that I have to take care of?&lt;/li&gt;&#xA;&lt;li&gt;WFFM/other modules -&gt; where do they store data? I believe they use some queues as well?&lt;/li&gt;&#xA;&lt;li&gt;Itemdata: develop defensively, make sure that renderings (and other logic) don't freak out when a field is removed/renamed.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-10-18T01:21:47.063" Title="Most important caveats for continuous delivery and zero downtime" Tags="|best-practices|continuous-delivery|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1436" PostTypeId="2" ParentId="1435" CreationDate="2016-10-17T09:07:59.037" Score="7" Body="&lt;p&gt;Sitecore is a great CMS to use for zero downtime, here are some thoughts:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Have multiple publishing targets&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will solve the issue of fields being renamed etc. Details here &lt;a href=&quot;https://sitecore.stackexchange.com/a/1413/87&quot;&gt;https://sitecore.stackexchange.com/a/1413/87&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;User sessions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally you're going to want to shove the session into the database, perhaps Mongo for the latest versions 8.x onwards or SQL is fine too, then you don't need to worry about sessions getting blown away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However there are some sites where the session has been abused to store all kinds of wonders that stops it serialising to disk. In this scenario you can do two things.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Drain boxes from the load balancer before deployments&lt;/li&gt;&#xA;&lt;li&gt;Use app_offline.htm to get rid of users gracefully &lt;a href=&quot;https://stackoverflow.com/a/1153545/861315&quot;&gt;https://stackoverflow.com/a/1153545/861315&lt;/a&gt; but you will need a way of ensuring your load balancer drops the box out to stop users getting the app_offline.htm&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WFFM&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most modules will use their own databases, so this won't cause you problems&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CM box&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the only sticking point really, unless you have multiple CM servers then there is always going to be a blip here, unless you deploy side by side in IIS and just flip over to serve the new code - for this to work you need to be confident that you can trust your release to be dropping &lt;em&gt;all&lt;/em&gt; code each release (or virtualise the Sitecore folders and just drop production code each time)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Core and Web databases&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are pretty robust and not something you'll need to worry about - or at least nothing I can think of.&lt;/p&gt;&#xA;" OwnerUserId="87" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-17T09:07:59.037" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1437" PostTypeId="2" ParentId="1427" CreationDate="2016-10-17T10:07:42.247" Score="6" Body="&lt;p&gt;The reason you see only the latest version in &lt;strong&gt;normal mode&lt;/strong&gt; is the fact that there is only one version in &lt;strong&gt;web&lt;/strong&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally Search Results rendering returns all versions of your item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is unexpected behaviour and I would consider this as a bug (by default we should get only the latest version, this is the default Sitecore behaviour). &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;SXA&lt;/strong&gt; ticket for that has been created and the issue should be fixed in the next release.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What you can do for now?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This probably won't solve your problem because I don't think that there is a way to select distinct items based on some property within Sitecore search query but you can try.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can filter your searach results with &lt;strong&gt;Search Scope&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to &lt;code&gt;tenant/site/settings/scopes&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create new &lt;code&gt;search scope&lt;/code&gt; item&lt;/li&gt;&#xA;&lt;li&gt;Build Sitecore query to filter you results (in this case I request only items with version number 1)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vtE7K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vtE7K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Assign your &lt;strong&gt;Search Scope&lt;/strong&gt; to &lt;strong&gt;Search Results&lt;/strong&gt; rendering&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YB9T7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YB9T7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-17T10:07:42.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1438" PostTypeId="1" AcceptedAnswerId="1439" CreationDate="2016-10-17T10:13:37.117" Score="36" ViewCount="9879" Body="&lt;p&gt;I know that this the page is called every 15 minutes (by default) by a scheduled task.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.UrlAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;url&quot;&amp;gt;/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA;  &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does it have any other purpose than keeping the application pool from timing out and make sure other scheduled tasks are run?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can the same not be achieved by setting the application pool idle timeout to 0 in IIS?&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2016-10-18T15:27:15.680" Title="What is the purpose of keepalive.aspx?" Tags="|configuration|iis|scheduled-tasks|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1439" PostTypeId="2" ParentId="1438" CreationDate="2016-10-17T10:16:04.030" Score="37" Body="&lt;h1&gt;Purpose of keepalive.aspx&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Here's the full code of the page in Sitecore 8.0:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;%@Page Language=&quot;C#&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Analytics&quot; %&amp;gt;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head id=&quot;Head1&quot; runat=&quot;server&quot; enableviewstate=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;title&amp;gt;Keep Alive&amp;lt;/title&amp;gt;&#xA;  &amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;&#xA;      protected override void OnPreInit(EventArgs e)&#xA;      {&#xA;          Tracker.Enabled = false;&#xA;      }&#xA;&#xA; &amp;lt;/script&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;  &amp;lt;form id=&quot;form1&quot; runat=&quot;server&quot; enableviewstate=&quot;false&quot;&amp;gt;&#xA;    Keep Alive Page&#xA;  &amp;lt;/form&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.2 it's even shorter:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;%@Page Language=&quot;C#&quot; %&amp;gt;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head id=&quot;Head1&quot; runat=&quot;server&quot; enableviewstate=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;title&amp;gt;Keep Alive&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;  &amp;lt;form id=&quot;form1&quot; runat=&quot;server&quot; enableviewstate=&quot;false&quot;&amp;gt;&#xA;    Keep Alive Page&#xA;  &amp;lt;/form&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's pretty clear this page doesn't do anything meaningful—it even has no code behind.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So its purpose, indeed, is to keep the application pool alive.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Extending Sitecore client sessions&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;As &lt;a href=&quot;https://sitecore.stackexchange.com/a/1526/104&quot;&gt;&lt;strong&gt;G Killian has discovered&lt;/strong&gt;&lt;/a&gt;, &#xA;this page is also regularly requested from JavaScript to extend browser sessions of users logged into Sitecore Desktop. Image source requests to this page ensure that the user won't be logged out from Sitecore provided that they keep their browser open. A great find!&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Disabling IIS pool recycling&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Yes, you can (mostly) disable automatic IIS pool recycling, although it is a bit more complex than just removing the idle timeout. See more in this answer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://serverfault.com/a/333948&quot;&gt;https://serverfault.com/a/333948&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe Sitecore included its own keep-alive mechanism because IIS &lt;em&gt;does&lt;/em&gt; recycle apps by default, and Sitecore wanted to override that behavior out of the box.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-18T13:49:57.250" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1440" PostTypeId="2" ParentId="1438" CreationDate="2016-10-17T10:22:25.630" Score="12" Body="&lt;p&gt;Adding to Dmytro's answer - indeed the KeepAlive.aspx serves to keep a heartbeat running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While in most cases this is the equivalent of setting the idle session timeout to 0, there are cases where you could end up with a shutdown of the Asp.Net worker process - idle timeout or keepalive alike.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your worker process may terminate due to a number of reasons, including High Exception Count, Memory problems, Machine.config changes and so on. If this happens, the site will need a kickstart from an external source - as Sitecore won't be alive to keep itself alive. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of this can be found in: &lt;a href=&quot;https://sitecorestuff.wordpress.com/2013/06/28/how-to-keep-alive-your-sitecore-instance-24x7/&quot;&gt;How to keep Alive your Sitecore instance 24X7?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-17T10:22:25.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1441" PostTypeId="2" ParentId="1438" CreationDate="2016-10-17T10:30:50.533" Score="6" Body="&lt;p&gt;This is the reason it's there yes, it is so:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Scheduled tasks run as expected, even when traffic is low / non-existent&lt;/li&gt;&#xA;&lt;li&gt;There is no delay hitting the site if the application pool has recycled - so no building up caches etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Could you achieve the same thing with setting the application pool idle timeout to 0? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Technically,  I suppose you could - I've been having a dig around for best practices on this and opinions are split. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most people say that the timeout is good to prevent:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;leaky applications&lt;/li&gt;&#xA;&lt;li&gt;servers with lots of application pools&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But for Sitecore, the keepalive will force connections to say alive regardless, so it wouldn't solve leaky applications and you're unlikely to have lots of application pools on the production servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd be interested to see other people's answers on this too.&lt;/p&gt;&#xA;" OwnerUserId="87" LastActivityDate="2016-10-17T10:30:50.533" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1442" PostTypeId="1" CreationDate="2016-10-17T11:03:57.017" Score="13" ViewCount="5545" Body="&lt;p&gt;I need to do a full site publish but there could be content, without workflow with changes that can't be published.&#xA;How could I build a &quot;report&quot; with the list of items with changes that would be published with a Site publish.&#xA;To make it &quot;easier&quot; we are still on 6.6&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I have tried the &quot;compare servers&quot; module, but it takes too long and&#xA;end up failing.&lt;/li&gt;&#xA;&lt;li&gt;I'm thinking about Razl, but i'm not sure if it&#xA;Supports 6.6 and gives any sort of report.&lt;/li&gt;&#xA;&lt;li&gt;Would you consider doing it at SQL level? How?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="151" LastEditorUserId="151" LastEditDate="2016-10-17T11:30:11.550" LastActivityDate="2022-05-16T11:10:36.683" Title="How to find out what's pending to be published" Tags="|publishing|reporting|" AnswerCount="5" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1443" PostTypeId="2" ParentId="1442" CreationDate="2016-10-17T11:11:20.497" Score="15" Body="&lt;p&gt;I would go with &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_PowerShell_console.aspx&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt;. It supports your version as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My idea is to run query and process all items you want to check.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the past I used something like this to compare revisions between &lt;strong&gt;master&lt;/strong&gt; and &lt;strong&gt;web&lt;/strong&gt; database:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function RevisionsMatch($itemToCheck){&#xA;    if($(Test-Path &quot;web:$($itemToCheck.Paths.Path)&quot;)){&#xA;        $webItem = Get-Item &quot;web:$($itemToCheck.Paths.Path)&quot; -lang $itemToCheck.Language&#xA;        if($webItem -ne $null)&#xA;        {&#xA;            if($webItem.Fields[&quot;__Revision&quot;].Value -eq $itemToCheck.Fields[&quot;__Revision&quot;].Value){&#xA;                $true&#xA;            }&#xA;        }            &#xA;    }&#xA;    $false&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to use it&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$items = Get-ChildItem -Path &quot;/sitecore/content/Playground&quot; | &#xA;        Where-Object { (RevisionsMatch $_) -eq $false } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As a output you get filtered items that have different revision number in master and web database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to create a fancy report, here some blog post about creating one:&#xA;&lt;a href=&quot;http://blog.najmanowicz.com/2014/10/25/creating-beautiful-sitecore-reports-easily-with-powershell-extensions/&quot;&gt;http://blog.najmanowicz.com/2014/10/25/creating-beautiful-sitecore-reports-easily-with-powershell-extensions/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not able to install any additional module on your instance, you can always output report on some &lt;strong&gt;aspx&lt;/strong&gt; page using the same strategy with comparing revisions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to &lt;strong&gt;exclude&lt;/strong&gt; items with publishing restriction from your results you could write filtering function (it takes an item as input and returns it without any modification if condition are meet, otherwise nothing will be returned)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function ValidatePublishingRestrictions($itemToCheck){&#xA;    if($itemToCheck.'__Never publish' -eq 1){&#xA;        Write-Host &quot;Skipping item [$($itemToCheck.ID)] because of publishing restrictions&quot;&#xA;    }else{&#xA;        $itemToCheck&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$items = Get-ChildItem -Path &quot;/sitecore/content/Playground&quot; | &#xA;        Where-Object { (RevisionsMatch $_) -eq $false } | &#xA;        ForEach-Object { ValidatePublishingRestrictions $_ }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That way you will get only items that can be published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice, I added logging there so you can read which items were excluded:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Skipping item [{F0A490C2-9DF8-47F6-8E94-85713FCAA4CA}] because of publishing restrictions&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-17T15:04:47.653" LastActivityDate="2016-10-17T15:04:47.653" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1444" PostTypeId="1" AcceptedAnswerId="1447" CreationDate="2016-10-17T11:19:25.797" Score="7" ViewCount="692" Body="&lt;p&gt;Assuming we have a sparking new Sitecore installation running, and have already invested in the relevant MongoDB infrastructure to keep the solution running 24x7 and so on - how can I make further use of this infrastructure in my solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I realise that it would probably need to involve something like the &lt;a href=&quot;http://C#%20and%20.NET%20MongoDB%20Driver&quot;&gt;C# and .NET MongoDB Driver&lt;/a&gt; for very low level access to MongoDB, but are there other and more appropriate resources available?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would a &quot;Hello World! from MongoDB&quot; example look, when wired up to a Sitecore solution?  Including registering the necessary Api Controllers and so on?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would involve basic CRUD operations.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-24T10:07:48.903" Title="How can I utilise MongoDB for non-xDB related things in my Sitecore solution?" Tags="|mongodb|webapi|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1445" PostTypeId="1" CreationDate="2016-10-17T11:26:18.793" Score="7" ViewCount="1150" Body="&lt;p&gt;MongoDB 3.2+ offers the option of putting some or all of the structures into an in-memory engine. I was thinking to try out this capability for discardable data such as Sitecore sessions - for which we have no use after the &lt;code&gt;SessionEnd&lt;/code&gt; event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any obvious drawbacks to this approach?   Will this scale properly - e.g. will MongoDB manage redundancy itself in a multi-server/master-slave configuration?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-03-30T22:04:36.197" Title="Can I use the in-memory storage engine for my MongoDB based sessions?" Tags="|mongodb|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1446" PostTypeId="1" CreationDate="2016-10-17T11:38:30.533" Score="5" ViewCount="172" Body="&lt;p&gt;I am tasked with importing a large bulk of transaction data and make it available to my Sitecore solution. We're talking roughly 10 million transaction records that we need to be able to utilise real-time on the site. I've already ruled out importing all of this into a Sitecore Bucket or so; it would add massive overhead to the solution which we don't need right now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have SOLR, MongoDB and MS SQL Server available as our remaining storage options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd like to keep MS SQL server out of the mix for now - and have it focusing on other tasks. But when it comes to MongoDB vs SOLR, it becomes more difficult to see exactly why I would choose one over the other. Looking at &lt;a href=&quot;http://db-engines.com/en/system/MongoDB%3BSolr&quot; rel=&quot;nofollow&quot;&gt;System Properties Comparison MongoDB vs. Solr&lt;/a&gt; - they have most things in common .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are both:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Document Stores (SOLR is a Document Store specialised for searching)&lt;/li&gt;&#xA;&lt;li&gt;Schema-free (we have about 20 different transaction types, more will come)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are a few things MongoDB offers, but none seem relevant to our solution:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;User/Role access rights&lt;/li&gt;&#xA;&lt;li&gt;Immediate Consistency&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So I'm left wondering; why would I choose one over the other?  Are there performance benefits to consider?  (MongoDB being written in C++, SOLR in Java) - scalability concerns?  Anything I've overlooking?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To clarify; I'm looking for the key thing - should one exist - that sets these two technologies apart and would allow me to weigh in one over the other. Or reassurance that in this case, it's a case of tomatoes vs tomatoes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update: Edited to clarify requirements&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We are receiving between 2500 and 3000 new transactions per day&lt;/li&gt;&#xA;&lt;li&gt;99% of our queries will be of the nature &quot;give me all transactions for &lt;code&gt;entity x&lt;/code&gt; between dates &lt;code&gt;start&lt;/code&gt; and &lt;code&gt;end&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;On administrator discretion, a transaction migration can be triggered during the day. It's important that data doesn't go offline while this takes place&lt;/li&gt;&#xA;&lt;li&gt;Data doesn't &lt;em&gt;live&lt;/em&gt; here. It is sourced from elsewhere and worst-case can be re-integrated from ground up in a disaster scenario&lt;/li&gt;&#xA;&lt;li&gt;Migration happens nightly. We don't need a real-time view of transaction data&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-17T17:41:48.160" LastActivityDate="2016-10-17T20:00:11.523" Title="What weighs in when migrating lots of external content to MongoDB and/or SOLR?" Tags="|solr|mongodb|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1447" PostTypeId="2" ParentId="1444" CreationDate="2016-10-17T11:48:17.913" Score="10" Body="&lt;h1&gt;Utilizing data extension points&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The first thing I would consider is whether your data can be stored as part of the standard Sitecore entities.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Contact&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The xDB contact has the following fields where you can store custom data that will be saved to MongoDB:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Facets&lt;/li&gt;&#xA;&lt;li&gt;Attachments&lt;/li&gt;&#xA;&lt;li&gt;Tags&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Interactions&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CustomValues&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you use any of the above, you won't have to implement any MongoDB-specific code, as xDB will store and retrieve data for you.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Raw database access&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;xDB provides the &lt;code&gt;MongoDbDriver&lt;/code&gt; class (located in &lt;code&gt;Sitecore.Analytics.Data.DataAccess.MongoDb&lt;/code&gt;) that allows you to read and write to MongoDB directly. This is a part of the data access layer used by xDB itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's how you use it. First, get an instance of the driver:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var driver = MongoDbDriver.FromConnectionString(&quot;analytics&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also set up your own MongoDB connection string rather than using &lt;code&gt;&quot;analytics&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you get a collection instance:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;MongoDbCollection collection = driver[&quot;YourCollectionName&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since MongoDB is schemaless, you can just work with a non-existing collection. It will be created on first access.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have a collection object, you can do CRUD, as well as some extra data and schema operations.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Fetching data&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;MongoCursor&amp;lt;YourCustomData&amp;gt; cursor =&#xA;    collection.FindAs&amp;lt;YourCustomData&amp;gt;(&#xA;        Query.LTE(&quot;CreatedDate&quot;, DateTime.Now));&#xA;&#xA;IList&amp;lt;YourCustomData&amp;gt; results = cursor.Skip(5).Take(10).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also use lambda expressions to refer to fields:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MongoCursor&amp;lt;YourCustomData&amp;gt; cursor =&#xA;    collection.FindAs&amp;lt;YourCustomData&amp;gt;(&#xA;        Query&amp;lt;YourCustomData&amp;gt;.EQ(_ =&amp;gt; _.SomeField, &quot;FieldValue&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Inserting data&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var data = new YourCustomData { SomeField = &quot;SomeValue&quot; };&#xA;&#xA;collection.Insert(data);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Creating an index&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;collection.EnsureIndex(true, &quot;DataFieldName&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;MongoDbStorage&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you're fine with CRUD only, you can use a convenience wrapper around the &lt;code&gt;MongoDbCollection&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;MongoDbCollection collection = MongoDbDriver.FromConnectionString(connectionStringName)[&quot;CollectionName&quot;];&#xA;&#xA;var storage = new MongoDbStorage&amp;lt;YourCustomData, CustomIdType&amp;gt;(collection);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;MongoDbStorage&lt;/code&gt; has the following methods:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Insert&lt;/li&gt;&#xA;&lt;li&gt;Save&lt;/li&gt;&#xA;&lt;li&gt;Update&lt;/li&gt;&#xA;&lt;li&gt;Delete&lt;/li&gt;&#xA;&lt;li&gt;Load&lt;/li&gt;&#xA;&lt;li&gt;Count&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Registering custom types in the driver&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Note that the driver will serialize/deserialize data for you. But first, you will need to register your types using the helper methods provided by xDB:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;MongoDbObjectMapper.Instance.RegisterModelExtension&amp;lt;YourCustomData&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also specify the collection name to use and the way to get the identifier of your custom objects (that's what will be stored in &lt;a href=&quot;https://docs.mongodb.com/manual/core/document/#the-id-field&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;&lt;code&gt;_id&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;MongoDbObjectMapper.Instance.RegisterModelExtension&amp;lt;YourCustomData, CustomIdType&amp;gt;(&quot;CollectionName&quot;, d =&amp;gt; d.CustomId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Registering custom types is something that should be done once per application lifetime. You can register your types in a static constructor or in a custom &lt;code&gt;initialize&lt;/code&gt; pipeline processor.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-24T10:07:48.903" LastActivityDate="2016-11-24T10:07:48.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1448" PostTypeId="1" AcceptedAnswerId="1449" CreationDate="2016-10-17T11:48:33.840" Score="8" ViewCount="2389" Body="&lt;p&gt;I have a recently upgraded solution, now running on Sitecore 8.1-upd3. Apparently in this version, Sitecore includes a http module to include a X-Frame-Options header, set to &lt;code&gt;SAMEORIGIN&lt;/code&gt;: &lt;code&gt;&amp;lt;add type=&quot;Sitecore.Web.XFrameOptionsHeaderModule, Sitecore.Kernel&quot; name=&quot;SitecoreXFrameOptionsHeaderModule&quot; /&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All very nice, but my customer wants it set to &lt;code&gt;DENY&lt;/code&gt; for the CD servers. I checked the code from the module and the value is rather hardcoded, although there is a check not to overwrite an existing value:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;HttpResponse response = HttpContext.Current.Response;&#xA;if (!Enumerable.All&amp;lt;string&amp;gt;((IEnumerable&amp;lt;string&amp;gt;) response.Headers.AllKeys, (Func&amp;lt;string, bool&amp;gt;) (key =&amp;gt; key != &quot;X-Frame-Options&quot;)) || !(response.ContentType == &quot;text/html&quot;))&#xA;    return;&#xA;response.Headers.Add(&quot;X-Frame-Options&quot;, &quot;SAMEORIGIN&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What would be the best way to set this header to &lt;code&gt;DENY&lt;/code&gt;? (considering maintainability, performance, effort, ...)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-17T11:57:49.493" Title="How to set X-Frame-Options to deny?" Tags="|configuration|iis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1449" PostTypeId="2" ParentId="1448" CreationDate="2016-10-17T11:57:49.493" Score="13" Body="&lt;p&gt;I think your best option (requiring no code or overwrites) would be to configure UrlRewrite to filter out the header. There are already half a dozen reasons why you might have this module installed already on your server - might as well use it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open up UrlRewrite for your site, and click &quot;View Server Variables&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gYXv5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gYXv5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then add your &lt;code&gt;X-Frame-Options&lt;/code&gt; header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then proceed to create an &lt;code&gt;Outbound Rule&lt;/code&gt; where you explicitly rewrite your &lt;code&gt;X-Frame-Options&lt;/code&gt; header to &lt;code&gt;DENY&lt;/code&gt; as required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NNuXu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NNuXu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://blogs.msdn.microsoft.com/varunm/2013/04/23/remove-unwanted-http-response-headers/&quot; rel=&quot;noreferrer&quot;&gt;Remove Unwanted HTTP Response Headers&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-17T11:57:49.493" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1450" PostTypeId="2" ParentId="1444" CreationDate="2016-10-17T12:01:40.423" Score="0" Body="&lt;p&gt;The answer to that would be, of course you can, just make sure you are not overloading your mongoDB cluster with too much reads and writes. Default Sitecore, the mongoDB cluster will not be loaded up that much so it is possible to use it for other appliances as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would even recommend using it rather then setting up a new resultset. &#xA;If you want your cluster to have multiple functions and don't know for sure if this will dangr your base functionality, you can choose a node to have another function. Therefor 1 node will only be used by a single instance/programm/function and will never let your cluster suffer.&lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-10-17T12:01:40.423" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1451" PostTypeId="1" AcceptedAnswerId="1559" CreationDate="2016-10-17T12:07:31.323" Score="5" ViewCount="237" Body="&lt;p&gt;As the question says; do I have any options of setting/defining my own Search- and Request-Handlers for Sitecore ContentSearch, based on the active site?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Skimming through ContentSearch configs, I'm not even sure where the default SearchHandler is defined, much less if there is code anywhere than I can hook into, to control it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario could be; where we have say &lt;code&gt;/products&lt;/code&gt; and &lt;code&gt;/productsinstock&lt;/code&gt; search handlers; where the latter one would - as an example - the following filter added.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;lst name=&quot;appends&quot;&amp;gt;&#xA;  &amp;lt;str name=&quot;fq&quot;&amp;gt;inStock:true&amp;lt;/str&amp;gt;&#xA;&amp;lt;/lst&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-17T15:26:24.330" LastActivityDate="2016-10-18T22:45:10.333" Title="Can I set up Sitecore ContentSearch to use a separate Search- and Requesthandler on SOLR per site?" Tags="|solr|content-search|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1452" PostTypeId="1" AcceptedAnswerId="1458" CreationDate="2016-10-17T12:12:48.793" Score="1" ViewCount="771" Body="&lt;p&gt;I want to query the Final renderings fields for an item in Sitecore directly against the database to check if they have ever had values. I have created the following query but want to be sure it's correct:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;SELECT TOP 1 [Id],&#xA;      [ItemId],&#xA;      [FieldId],&#xA;      [Value],&#xA;      [Created],&#xA;      [Updated],&#xA;      [DAC_Index]&#xA;FROM [VersionedFields]&#xA;WHERE fieldid = '04BF00DB-F5FB-41F7-8AB7-22408372A981'&#xA;AND ItemId = '947EBF93-E9F2-4C12-8BC3-78B75B595428'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My query doesn't return any results for this item but I'm assuming this is because it has never had any renderings added to the page or edited and it is just using the renderings set on the standard values of my page template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I would like to do a similar query for the renderings field but I don't get any results for this either so wanted to be sure this query is also right:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;  SELECT TOP 1 f.[Id],&#xA;     [ItemId],&#xA;     [FieldId],&#xA;     [Value],&#xA;     f.[Created],&#xA;     f.[Updated],&#xA;     f.[DAC_Index],&#xA;     i.Name&#xA; FROM [SharedFields] f&#xA; INNER JOIN [Items] i ON f.itemid = i.id &#xA; WHERE fieldid = 'F1A1FE9E-A60C-4DDB-A3A0-BB5B29FE732E'&#xA; AND ItemId = '947EBF93-E9F2-4C12-8BC3-78B75B595428'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm doing these queries as I want to see if my page item has ever had any renderings set in experience editor in the database backups I have - or if it just has the values from standard values and it's never been updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further Information:&lt;/strong&gt; Sitecore 8.1 update 2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;To be clear the question I need to answer is:&lt;/strong&gt; do these queries confirm my page has never had any updates to the renderings?&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="469" LastEditDate="2016-10-17T13:37:42.690" LastActivityDate="2016-10-17T13:37:42.690" Title="Database Query for Sitecore database final renderings fields" Tags="|sql-database|presentation|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1453" PostTypeId="1" AcceptedAnswerId="1496" CreationDate="2016-10-17T12:17:22.883" Score="5" ViewCount="502" Body="&lt;p&gt;In a multi-language solution, the developers switch back and forth between multiple languages when creating content, testing, etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the developer forgets to change the context language to English, before creating a new template, only a version in the current context language will be created (along with sections, fields, __Standard Values etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to force an English version, when a template (and children) is created?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We are not currently using any language fallback features, so we are not facing any concrete issues. The request is mostly for consistency in the solution.&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2016-10-17T14:11:51.270" LastActivityDate="2018-04-17T15:51:34.453" Title="Force template versions in English" Tags="|multilingual|templates|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1454" PostTypeId="1" AcceptedAnswerId="1456" CreationDate="2016-10-17T12:17:49.983" Score="16" ViewCount="3952" Body="&lt;p&gt;I am using our own &lt;a href=&quot;https://github.com/unic/SitecoreErrorManager&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Error Manager&lt;/a&gt; in a Sitecore 8.2 project. If an item is not found or an error occurs, our error page is called within the current client request. This error handler calls a configured Error content page within Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the introduction of the xDB, a call to this page takes &gt; 10 seconds before the internal request finishes. This happens, because we forward all client cookies to this call, including the Analytics cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the end of this pageload, we see the following in the logfile:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Overriding expired contact session lock for contact id: 41a8f96f-7aa8-413e-9731-eecbb414bd24&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This happens because the user currently has an open request. The nested request runs into the session lock which eventually get released.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question: Is it possible to disable the Tracker for this nested request by request parameter or a cookie or something? It is not neccessary at all. Not forwarding the analytics cookie is my least favorited solution since the request would be tracked with a new visitor session, which fills the contacts with garbage data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to stop the tracking in the Analytics settings of the nested page itself but had no luck with this. The problem still appears.&lt;/p&gt;&#xA;" OwnerUserId="30" LastEditorUserId="73" LastEditDate="2016-10-17T12:29:59.610" LastActivityDate="2016-11-02T07:27:06.293" Title="Disable xDB tracking for single requests" Tags="|xdb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1455" PostTypeId="2" ParentId="1453" CreationDate="2016-10-17T12:25:11.880" Score="3" Body="&lt;p&gt;No. But unless you're using fallback features, it shouldn't be a problem for your solution. See here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/190/are-there-any-issues-with-having-multiple-language-versions-of-templates-and-tem&quot;&gt;Are there any issues with having multiple language versions of templates and template fields?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to remove language versions you don't need, this was answered here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/574/how-to-remove-a-language-version-of-a-data-template&quot;&gt;How to remove a language version of a data template?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-17T12:25:11.880" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1456" PostTypeId="2" ParentId="1454" CreationDate="2016-10-17T12:26:20.450" Score="21" Body="&lt;p&gt;There are a few options that may work for you:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Disable the tracker in code behind&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Set &lt;code&gt;Tracker.Enable&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; in the pre-initialization stage of your page:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected override void OnPreInit(EventArgs e)&#xA;{&#xA;    Sitecore.Analytics.Tracker.Enabled = false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Disable tracking for the page item&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If your error page is represented by a Sitecore item, you can do the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open the Content Editor;&lt;/li&gt;&#xA;&lt;li&gt;Select your error page item in the content tree;&lt;/li&gt;&#xA;&lt;li&gt;Click the button &quot;Attributes&quot; in the ribbon &quot;Analyze&quot;;&lt;/li&gt;&#xA;&lt;li&gt;Go to the &quot;Settings&quot; tab;&lt;/li&gt;&#xA;&lt;li&gt;Check the checkbox &quot;Disable analytics for this page&quot;;&lt;/li&gt;&#xA;&lt;li&gt;Publish.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Disable tracking on the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definition&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Put your error page into a separate site and set the &lt;code&gt;enableTracking&lt;/code&gt; attribute to &lt;code&gt;false&lt;/code&gt; on the site definition.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Disable tracking in a custom &lt;code&gt;&amp;lt;startAnalytics&amp;gt;&lt;/code&gt; processor&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;xDB uses the &lt;code&gt;startAnalytics&lt;/code&gt; pipeline to check whether or not it should be active in the current request. You can add your own processor to this pipeline:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;startAnalytics&amp;gt;&#xA;        &amp;lt;processor&#xA;          type=&quot;Your.Custom.Processor, Your.Assembly&quot;&#xA;          patch:after=&quot;processor[@type='Sitecore.Analytics.Pipelines.StartAnalytics.CheckPreconditions, Sitecore.Analytics']&quot; /&amp;gt;&#xA;      &amp;lt;/startAnalytics&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your custom processor, you'll need to set &lt;code&gt;Tracker.Enabled&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; based on some condition. For example, you can do it if a certain cookie is present or if a custom query string parameter takes a specific value.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-02T07:27:06.293" LastActivityDate="2016-11-02T07:27:06.293" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1457" PostTypeId="2" ParentId="1454" CreationDate="2016-10-17T12:35:59.307" Score="4" Body="&lt;p&gt;I use &lt;code&gt;Tracker.Current.CurrentPage.Cancel();&lt;/code&gt; in code for things like Ajax requests to tell Sitecore to cancel the current request. It might help here as well.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-17T12:35:59.307" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1458" PostTypeId="2" ParentId="1452" CreationDate="2016-10-17T12:57:47.280" Score="2" Body="&lt;p&gt;The above queries are correct for checking for any renderings that have not been set by standard values. For those set my standard values only the queries will return no results. If the page has been edited in content editor or experience editor then results will be returned.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-17T12:57:47.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1460" PostTypeId="2" ParentId="1421" CreationDate="2016-10-17T13:13:59.340" Score="4" Body="&lt;p&gt;Check the root settings of EXM as explained &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/setting_up_exm/the_manager_root/the_manager_root_settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/e8Zsk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/e8Zsk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Embed Images&lt;/code&gt; checkbox controls whether to embed images in the message or to insert links to images. You might need to untick this.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-17T13:13:59.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1461" PostTypeId="2" ParentId="1446" CreationDate="2016-10-17T13:28:27.197" Score="6" Body="&lt;p&gt;Personally I've always seen and treated Solr as a transient index, not a persistent storage solution. Whereas MongoDB has always been treated as a storage solution, and not much of an index. But this is my personal treatment, not saying that Solr can't be used as a persistent store.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to access the data directly as Key/Value pairs and there isn't much querying going on, then I'd say go for MongoDB.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to query the data to retrieve a subset then perhaps I'd lean towards Solr for it's more sophisticated indexing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Multi-lingual data being searched, searching bodies of text data, faceting results? Totally choose Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From personal experience setting up a reliable 3+ server Solr Cloud cluster configuration was pretty challenging at first, and has resulted in many hours of troubleshooting at times when the cluster wasn't performing as well as it should have been (or just randomly failing unexpectedly).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd say that Mongo's clustering / redundancy capabilities are more polished and better documented than Solr, so if operational ease is a factor then perhaps that'd sway you? Mongo you also have better access to official commercial support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an alternative you would probably be best off by combine the two. MongoDB cluster for persistent storage and key-value retrieval, more simplified Solr setup to index and allow fast access via more complex queries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit based on clarifications:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can rebuild the data from an external source and can &lt;em&gt;only&lt;/em&gt; pick one technology, then it sounds like Solr is your choice (for the above reasons). You should make sure to weigh up the pain of re-indexing from scratch as part of a disaster recovery plan to be sure you're comfortable with that operation should some sort of disaster occur, but Solr should be as stable and secure.&lt;/p&gt;&#xA;" OwnerUserId="399" LastEditorUserId="399" LastEditDate="2016-10-17T20:00:11.523" LastActivityDate="2016-10-17T20:00:11.523" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1462" PostTypeId="1" CreationDate="2016-10-17T14:11:48.533" Score="4" ViewCount="693" Body="&lt;p&gt;Has anyone experienced that content editor is able to change only one language (Dutch in this example) but not the English? &lt;br/&gt;&lt;br/&gt;Both languages have more than 5 versions. The strange thing is, when you select the languages on the top right side, English is not even shown. &lt;br/&gt;&lt;br/&gt;The role for content editors is the custom one, since certain items had to be hidden. &lt;/p&gt;&#xA;" OwnerUserId="21" LastActivityDate="2016-10-25T20:33:09.043" Title="Content editors are not able to edit versions of different language Sitecore 7.1" Tags="|content-editor|multilingual|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1463" PostTypeId="2" ParentId="1462" CreationDate="2016-10-17T14:20:28.470" Score="4" Body="&lt;p&gt;You can check access rights for the particular group for the Language on &lt;code&gt;sitecore/system/Languages&lt;/code&gt; children.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SQcKD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SQcKD.png&quot; alt=&quot;Access right for languages&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you remove write access to any of the languages then editors won't be able to edit the language.&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-17T14:20:28.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1464" PostTypeId="2" ParentId="1462" CreationDate="2016-10-17T14:28:14.390" Score="9" Body="&lt;p&gt;Check that the users' Roles have access to the Languages they are attempting to edit. You can do this by opening the Access Viewer, selecting the role, and navigating to System/Languages. Don't just check the &lt;code&gt;Read&lt;/code&gt; and &lt;code&gt;Write&lt;/code&gt; settings, it's the &lt;code&gt;Language Read&lt;/code&gt; and &lt;code&gt;Language Write&lt;/code&gt; settings that control access to Items based on that language. If &lt;code&gt;Language Write&lt;/code&gt; is set to deny, the user will not be able to edit any content in that language. To see those, you will have to click the &lt;code&gt;Columns&lt;/code&gt; button and make sure that they are selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8kgMw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8kgMw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="338" LastEditDate="2016-10-25T20:33:09.043" LastActivityDate="2016-10-25T20:33:09.043" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1465" PostTypeId="1" AcceptedAnswerId="1498" CreationDate="2016-10-17T14:55:53.560" Score="7" ViewCount="387" Body="&lt;p&gt;We have custom facets for contacts and these facets are used for segmentation in lists (&lt;em&gt;segmentation rules defined at '/sitecore/system/Settings/Rules/Definitions/Elements/Segment Builder'&lt;/em&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Segmentation works fine if the condition type inherits &lt;code&gt;TypedQueryableOperatorCondition&amp;lt;T, IndexedContact&amp;gt;&lt;/code&gt; and 'Text' of the condition item contains &lt;code&gt;[operatorid,Operator,,compares to]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now we need segmentation based on a &lt;code&gt;boolean&lt;/code&gt; flag facet, so what I want to do is add this condition and see the text like &lt;strong&gt;&lt;em&gt;where&lt;/em&gt; contact property is true&lt;/strong&gt; without selecting 'compare operation' which is useless here. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The trouble is that Sitecore (v8 upd 4) does not even load the condition class if [operator] phrase is missing in the Text.&lt;/p&gt;&#xA;" OwnerUserId="392" LastEditorUserId="121" LastEditDate="2016-10-17T22:46:25.850" LastActivityDate="2016-10-17T23:20:47.003" Title="Binary rule for list segmentation" Tags="|list-manager|rules-engine|segmentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1466" PostTypeId="2" ParentId="1228" CreationDate="2016-10-17T15:05:29.603" Score="9" Body="&lt;p&gt;Sitecore actually provides an OOTB item generator tool, named &quot;FillDB.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can access this tool by navigating to &lt;em&gt;&lt;a href=&quot;http://yoursite.com/sitecore/admin/filldb.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://yoursite.com/sitecore/admin/filldb.aspx&lt;/a&gt;&lt;/em&gt;. Before you can use the tool, you will have to enable it via the &lt;code&gt;EnableFillDB&lt;/code&gt; config setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ftlde.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ftlde.png&quot; alt=&quot;Screenshot of Tool&amp;#39;s Page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pros&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Tool is OOTB and supported by Sitecore &lt;/li&gt;&#xA;&lt;li&gt;Config setting ensures access is only granted when a developer wants it to be&lt;/li&gt;&#xA;&lt;li&gt;Will auto-populate fields with Loren Ipsum or any other dictionary you provide &lt;/li&gt;&#xA;&lt;li&gt;Can tell tool to auto rebuild indexes upon completion&lt;/li&gt;&#xA;&lt;li&gt;Has cache clearing support&lt;/li&gt;&#xA;&lt;li&gt;Has several other features for fine-tuning your item generation&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cons&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Can forget to disable config setting upon completion&lt;/li&gt;&#xA;&lt;li&gt;SQL prep script needs to be run&lt;/li&gt;&#xA;&lt;li&gt;Does not create any special indexes of generated items to make it easier to delete them all and deleting can be dangerous and time consuming &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additional Considerations:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Not all fields can be prepopulated without custom code (e.g. List fields and reference fields)&lt;/li&gt;&#xA;&lt;li&gt;You must be careful to delete all your sample items before hand-off&lt;/li&gt;&#xA;&lt;li&gt;You must be careful not to delete non-sample items&lt;/li&gt;&#xA;&lt;li&gt;The sample field values may not be meaningful enough or may not have the right format/structure for your solution depending on req's (you may be able to work around this by providing your own words dictionary)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-10-17T15:19:20.883" LastActivityDate="2016-10-17T15:19:20.883" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1467" PostTypeId="2" ParentId="1465" CreationDate="2016-10-17T15:06:20.490" Score="0" Body="&lt;p&gt;You can use &lt;code&gt;Sitecore.Rules.Conditions.WhenCondition&amp;lt;T&amp;gt;&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System;&#xA;using System.Linq.Expressions;&#xA;using Sitecore.Analytics.Rules.SegmentBuilder;&#xA;using Sitecore.ContentSearch.Analytics.Models;&#xA;using Sitecore.ContentSearch.Rules;&#xA;using Sitecore.Rules.Conditions;&#xA;&#xA;public class BooleanCondition&amp;lt;T&amp;gt; : WhenCondition&amp;lt;T&amp;gt;, IQueryableRule&amp;lt;IndexedContact&amp;gt;&#xA;  where T : VisitorRuleContext&amp;lt;IndexedContact&amp;gt;&#xA;{&#xA;    public Expression&amp;lt;Func&amp;lt;IndexedContact, bool&amp;gt;&amp;gt; InitPredicate { protected get; set; }&#xA;    public Expression&amp;lt;Func&amp;lt;IndexedContact, bool&amp;gt;&amp;gt; ResultPredicate { get; protected set; }&#xA;&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        // put your expression here:&#xA;        this.ApplyFilter(ruleContext, c =&amp;gt; true);&#xA;        return true;&#xA;    }&#xA;&#xA;    private void ApplyFilter(T ruleContext, Expression&amp;lt;Func&amp;lt;IndexedContact, bool&amp;gt;&amp;gt; expression)&#xA;    {&#xA;        this.ResultPredicate = (this.InitPredicate ?? ruleContext.Where).And(expression);&#xA;        if (this.InitPredicate != null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        ruleContext.Where = this.ResultPredicate;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastEditorUserId="70" LastEditDate="2016-10-17T15:08:11.793" LastActivityDate="2016-10-17T15:08:11.793" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1468" PostTypeId="1" AcceptedAnswerId="1472" CreationDate="2016-10-17T15:20:31.047" Score="7" ViewCount="313" Body="&lt;p&gt;We are currently running version Sitecore.NET 7.5 (rev. 141003) and would like to upgrade to Sitecore 8.1 Update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does it make sense to do an incremental upgrade in the following order?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore.NET 7.5 (rev. 141003)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.0&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update 1&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update 2&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update 3&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="404" LastActivityDate="2016-10-17T15:38:19.643" Title="Upgrade from 7.5 to 8.1 Update 3" Tags="|upgrade|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1469" PostTypeId="1" AcceptedAnswerId="1470" CreationDate="2016-10-17T15:24:13.197" Score="8" ViewCount="920" Body="&lt;p&gt;This is for &lt;code&gt;Sitecore 8.1 Update 3&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Select Media&lt;/code&gt; dialog that pops up on certain media fields (for example, clicking &lt;code&gt;Browse&lt;/code&gt; on an image field), I want to know where the search facets are defined at. Are they defined within the CMS or in a configuration file? Can you modify the behavior of these facets or create your own?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The search facets I'm specifically interested in are highlighted in the screenshot below:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All image files&lt;/li&gt;&#xA;&lt;li&gt;All video files&lt;/li&gt;&#xA;&lt;li&gt;My images&lt;/li&gt;&#xA;&lt;li&gt;Recently uploaded images&lt;/li&gt;&#xA;&lt;li&gt;Recently uploaded videos&lt;/li&gt;&#xA;&lt;li&gt;Recently uploaded by me&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9n7eF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9n7eF.png&quot; alt=&quot;Select Media Dialog, with highlighted search facets&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="170" LastEditorUserId="5387" LastEditDate="2019-08-07T04:16:13.860" LastActivityDate="2019-08-07T04:16:13.860" Title="In the &quot;Select Media&quot; dialog, where are the search facets defined at in Sitecore?" Tags="|sitecore-client|content-search|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1470" PostTypeId="2" ParentId="1469" CreationDate="2016-10-17T15:24:13.197" Score="10" Body="&lt;p&gt;I've researched this a bit myself and come up with the following answer. If there's a better, more general way of answering this for every dialog, or if anyone has more specific information about how everything is set up please don't hesitate to answer!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As of Sitecore 8.1 Update 3 (I'm not sure how many versions this is applicable for), a certain set of dialoges are defined in the core database under the following location: &lt;code&gt;/sitecore/client/Applications/Dialogs&lt;/code&gt; (Item ID: &lt;code&gt;{648AFADA-20C7-413A-9636-44703A16DFCF}&lt;/code&gt;). Highlighted in the image below is the dialog that I'm specifically asking about: &lt;code&gt;SelectMediaDialog&lt;/code&gt; (Item ID: &lt;code&gt;{ACA0FE9D-0FFD-4043-96DC-B702D1B44F39}&lt;/code&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QKeOy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QKeOy.png&quot; alt=&quot;SelectMediaDialog node in the core database&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under every node that has a template of &lt;code&gt;Speak-DialogPage&lt;/code&gt;, there's a &lt;code&gt;SearchConfigs&lt;/code&gt; folder that resides under each &lt;code&gt;Speak-DialogPage&lt;/code&gt;'s &lt;code&gt;PageSettings&lt;/code&gt; node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jGTeK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jGTeK.png&quot; alt=&quot;SearchConfigs node&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;SearchConfigs&lt;/code&gt; folder contains a set of items that are used to define which search facets are available. The fields on these items are &quot;predefined&quot; and have explicit hardcoded meaning. For example the &lt;code&gt;RecentlyUploadedByMe&lt;/code&gt; item which defines the &lt;code&gt;Recently uploaded by me&lt;/code&gt; facet seen in the first screenshot has the following fields set:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The &lt;code&gt;Base Templates&lt;/code&gt; field defines which templates to search on, and is currently set with all known media types: &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yzDSy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yzDSy.png&quot; alt=&quot;Base Templates field set on the SearchPanel Config item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Certain filters that limit the search to items created by the current user and items created within the last seven days.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QODLw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QODLw.png&quot; alt=&quot;Date and User filters on the SearchPanel Config item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The latter set of &quot;Date&quot; and &quot;User&quot; fields appear to be used by the &lt;code&gt;Sitecore.ItemWebApi.Pipelines.Search.SetSearchParameters&lt;/code&gt; (in &quot;Sitecore.Speak.ItemWebApi.dll&quot;) processor. This processor will check for that particular set fields and then modify the search query in the appropriate fashion. So if you wanted to extend the or modify the available behavior, you'd have to extend the &lt;code&gt;SearchPanel Config&lt;/code&gt; template, create your own processor and then patch it in. Here's the currently decompiled code for the &lt;code&gt;Sitecore.ItemWebApi.Pipelines.Search.SetSearchParameters&lt;/code&gt; processor, so you can see it in action:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public override void Process(SearchArgs args)&#xA;{&#xA;  Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;  Item searchDescriptor = args.SearchDescriptor;&#xA;  if (searchDescriptor == null)&#xA;    return;&#xA;  this.SetTemplateFilter(args);&#xA;  if (searchDescriptor[&quot;UpdatedWithin7Days&quot;] == &quot;1&quot;)&#xA;  {&#xA;    DateTime to = DateTime.UtcNow.AddDays(1.0);&#xA;    DateTime from = DateTime.UtcNow.AddDays(-7.0);&#xA;    args.Queryable = Queryable.Where&amp;lt;ConvertedSearchResultItem&amp;gt;(args.Queryable, (Expression&amp;lt;Func&amp;lt;ConvertedSearchResultItem, bool&amp;gt;&amp;gt;) (i =&amp;gt; MethodExtensions.Between&amp;lt;DateTime&amp;gt;(i.Updated, from, to, Inclusion.Both)));&#xA;  }&#xA;  if (searchDescriptor[&quot;CreatedWithin7Days&quot;] == &quot;1&quot;)&#xA;  {&#xA;    DateTime to = DateTime.UtcNow.AddDays(1.0);&#xA;    DateTime from = DateTime.UtcNow.AddDays(-7.0);&#xA;    args.Queryable = Queryable.Where&amp;lt;ConvertedSearchResultItem&amp;gt;(args.Queryable, (Expression&amp;lt;Func&amp;lt;ConvertedSearchResultItem, bool&amp;gt;&amp;gt;) (i =&amp;gt; MethodExtensions.Between&amp;lt;DateTime&amp;gt;(i.CreatedDate, from, to, Inclusion.Both)));&#xA;  }&#xA;  if (searchDescriptor[&quot;UpdatedByCurrentUser&quot;] == &quot;1&quot;)&#xA;  {&#xA;    string userName = Context.GetUserName().Replace(&quot;\\&quot;, string.Empty);&#xA;    args.Queryable = Queryable.Where&amp;lt;ConvertedSearchResultItem&amp;gt;(args.Queryable, (Expression&amp;lt;Func&amp;lt;ConvertedSearchResultItem, bool&amp;gt;&amp;gt;) (i =&amp;gt; i[&quot;parsedcreatedby&quot;] == userName));&#xA;  }&#xA;  if (!string.IsNullOrEmpty(searchDescriptor[&quot;UpdatedBySpecificUser&quot;]))&#xA;  {&#xA;    string userName = searchDescriptor[&quot;UpdatedBySpecificUser&quot;].Replace(&quot;\\&quot;, string.Empty);&#xA;    args.Queryable = Queryable.Where&amp;lt;ConvertedSearchResultItem&amp;gt;(args.Queryable, (Expression&amp;lt;Func&amp;lt;ConvertedSearchResultItem, bool&amp;gt;&amp;gt;) (i =&amp;gt; i[&quot;parsedcreatedby&quot;] == userName));&#xA;  }&#xA;  if (searchDescriptor[&quot;CreatedByCurrentUser&quot;] == &quot;1&quot;)&#xA;  {&#xA;    string userName = Context.GetUserName().Replace(&quot;\\&quot;, string.Empty);&#xA;    args.Queryable = Queryable.Where&amp;lt;ConvertedSearchResultItem&amp;gt;(args.Queryable, (Expression&amp;lt;Func&amp;lt;ConvertedSearchResultItem, bool&amp;gt;&amp;gt;) (i =&amp;gt; i[&quot;parsedcreatedby&quot;] == userName));&#xA;  }&#xA;  if (!string.IsNullOrEmpty(searchDescriptor[&quot;CreatedBySpecificUser&quot;]))&#xA;  {&#xA;    string userName = searchDescriptor[&quot;CreatedBySpecificUser&quot;].Replace(&quot;\\&quot;, string.Empty);&#xA;    args.Queryable = Queryable.Where&amp;lt;ConvertedSearchResultItem&amp;gt;(args.Queryable, (Expression&amp;lt;Func&amp;lt;ConvertedSearchResultItem, bool&amp;gt;&amp;gt;) (i =&amp;gt; i[&quot;parsedcreatedby&quot;] == userName));&#xA;  }&#xA;  string queryString1 = WebUtil.GetQueryString(&quot;pageSize&quot;, searchDescriptor[&quot;PageSize&quot;]);&#xA;  if (!string.IsNullOrEmpty(queryString1))&#xA;    args.PageSize = MainUtil.GetInt(queryString1, 0);&#xA;  string queryString2 = WebUtil.GetQueryString(&quot;pageIndex&quot;);&#xA;  if (string.IsNullOrEmpty(queryString2))&#xA;    return;&#xA;  args.PageIndex = MainUtil.GetInt(queryString2, 0);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="170" LastActivityDate="2016-10-17T15:24:13.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1471" PostTypeId="2" ParentId="1468" CreationDate="2016-10-17T15:24:24.100" Score="1" Body="&lt;p&gt;Your upgrade path makes sense, but you may be able to skip 8.1.1 and 8.1.2 and go straight to 8.1.3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was just chatting with a colleague about this a couple of days ago, and it may be worth it to consider using the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&quot; rel=&quot;nofollow&quot;&gt;8.2 express upgrade tool&lt;/a&gt; and downgrading a version. The only extra consideration is DB changes between 8.1.3 and 8.2 and if there are any then you can upgrade your DBs with a clean sitecore code base following the upgrade path (which should be faster), and upgrade your code base using the express upgrade and then downgrade a version. All in all, you should be able to save yourself a good chunk of effort.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-17T15:24:24.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1472" PostTypeId="2" ParentId="1468" CreationDate="2016-10-17T15:27:00.260" Score="6" Body="&lt;p&gt;After reviewing Sitecore's upgrade documentation (All 8+ versions are listed here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform.aspx&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform.aspx&lt;/a&gt;. Each page has a link to it's Upgrade Guide which indicates pre-requisites for installation) the upgrades you would need to perform to get to Sitecore 8.1 Update 3 would be:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Upgrade to Sitecore 8.0 Initial Release (rev. 141212)&lt;/li&gt;&#xA;&lt;li&gt;Upgrade to Sitecore 8.1 Initial Release (rev. 151003)&lt;/li&gt;&#xA;&lt;li&gt;Upgrade to Sitecore 8.1 Update 3 (rev. 160519)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;At the time of writing this, Sitecore 8.2 Initial Release (rev. 160729) is the most recent version.  If you were to choose to go to this version,  you could skip Step 3 above and perform the upgrade for Sitecore 8.2 Initial Release, instead.&lt;/p&gt;&#xA;" OwnerUserId="469" LastEditorUserId="469" LastEditDate="2016-10-17T15:38:19.643" LastActivityDate="2016-10-17T15:38:19.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1473" PostTypeId="1" AcceptedAnswerId="1476" CreationDate="2016-10-17T15:34:01.630" Score="6" ViewCount="1672" Body="&lt;p&gt;I have a site that I have upgraded from v7.5 to v8.1.  In addition I have changed from Solr 4.7 to Solr 4.10. In my general search routine I am trying to filter out content items based on Sitecore role membership and which roles have read access to an item and which roles are denied. To accomplish this we have two custom fields in the Solr index. One is called read_roles and one is called denied_roles. For the purposes of this question all that really matters is read_roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The read_roles field in the Solr index looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;read_roles_sm&quot;: [&#xA;          &quot;Emailcampaign\\Common Opt Out&quot;,&#xA;          &quot;Emailcampaign\\Two-Column Message Opted Out&quot;,&#xA;          &quot;extranet\\Anonymous Role&quot;,&#xA;          &quot;extranet\\Approved Role&quot;,&#xA;          &quot;extranet\\DistribA&quot;,&#xA;          &quot;extranet\\DistribB&quot;&#xA;],&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my C# code that does the searching I have a method called ApplySecurityFilter that looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public static IQueryable&amp;lt;T&amp;gt; ApplySecurityFilter&amp;lt;T&amp;gt;(this IQueryable&amp;lt;T&amp;gt; query) where T : SearchResultItem {&#xA;        var userRoles = Sitecore.Context.User.Roles.Select(r =&amp;gt; r.Name);&#xA;&#xA;        var readPredicate = PredicateBuilder.False&amp;lt;T&amp;gt;();&#xA;        readPredicate = userRoles.Aggregate(readPredicate, (current, role) =&amp;gt; current.Or(i =&amp;gt; i[&quot;read_roles&quot;].Contains(role)));&#xA;&#xA;        var denyPredicate = PredicateBuilder.True&amp;lt;T&amp;gt;();&#xA;        denyPredicate = userRoles.Aggregate(denyPredicate, (current, role) =&amp;gt; current.And(i =&amp;gt; !i[&quot;denied_roles&quot;].Contains(role)));&#xA;&#xA;        if (readPredicate.Body.NodeType != System.Linq.Expressions.ExpressionType.Constant) {&#xA;            query = query.Filter(readPredicate);&#xA;        }&#xA;        if (readPredicate.Body.NodeType != System.Linq.Expressions.ExpressionType.Constant) {&#xA;            query = query.Filter(denyPredicate);&#xA;        }&#xA;        return query;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This all works fine in v7.5 with Solr 4.7. The code runs and translates my Linq style query in to a query that Solr can handle. In the end when I look in the log files this is part of the query that gets sent to Solr.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;fq=(((-denied_roles_sm:(*extranet\\Anonymous\ Role*) AND read_roles_sm:(*extranet\\Anonymous\ Role*)) AND _latestversion:(1))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And that works great.  Now when I run the exact same code in v8.1 with Solr 4.10 for some reason the query that gets sent to Solr is slightly different.  It looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;fq=(((-denied_roles_sm:(&quot;\*extranet\\Anonymous\\ Role\*&quot;) AND read_roles_sm:(&quot;\*extranet\\Anonymous\\ Role\*&quot;)) AND _latestversion:(1))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see for some reason the Solr provider seems to have modified the text of the role name that gets sent to Solr. And there are no matches and therefore I get no results returned. I can't figure out why the upgraded version of my site is sending the query to Solr in a slightly different way.  Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="73" LastEditDate="2016-10-17T15:36:21.547" LastActivityDate="2016-11-01T10:09:08.127" Title="Why is Sitecore not sending a correctly formed query to Solr?" Tags="|solr|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1474" PostTypeId="1" AcceptedAnswerId="1475" CreationDate="2016-10-17T16:19:05.800" Score="6" ViewCount="1864" Body="&lt;p&gt;I have a controller rendering which is referenced by the standard values on most of my page templates and I need to substitute it everywhere it is used to use a different controller rendering instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to do this in a safe way without deleting the item. I know I could delete it and then use the Sitecore out of the box 'linke to another item' option that is given in the popup when confirming the delete. However I want to keep my existing item for the time being.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen posts such as this:&#xA;    &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/programmatically-update-layout-details-with-the-sitecore-asp-net-cms&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/programmatically-update-layout-details-with-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I wondered if there is an easier/better/safer way to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I know I need to consider both the Renderings and Final renderings fields as I using Sitecore 8.1 update 2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-- Update --&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional information is that the rendering in question is synced with Unicorn to Staging and Prod so the solution here needs to account for this item existing in other environments. Ideally I'd do it once locally and unicorn would track the changes and push the change out to Staging and Production. One issue though is that we don't have all content locally and we don't sync content with unicorn (just templates, layouts etc).&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-17T16:40:53.807" LastActivityDate="2016-10-17T18:45:20.270" Title="Safely replacing all references to an Rendering with another" Tags="|presentation|" AnswerCount="3" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1475" PostTypeId="2" ParentId="1474" CreationDate="2016-10-17T16:25:06.830" Score="6" Body="&lt;p&gt;There are OOTB options. Take a look at this answer here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1297/removing-all-references-to-an-item-using-ootb-tools&quot;&gt;Removing all references to an item using OOTB tools&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of the proposed answers will require you to (temporarily) delete the item and rely on Sitecore's remapping tool. But you won't lose your rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as safe goes; it's the safest way I can think of. And requires no coding.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-17T16:25:06.830" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1476" PostTypeId="2" ParentId="1473" CreationDate="2016-10-17T17:01:27.683" Score="10" Body="&lt;h1&gt;Making wildcard queries work&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I had exactly the same issue with a custom Lucene query. The fix was to use &lt;code&gt;.MatchWildcard()&lt;/code&gt; instead of &lt;code&gt;.Contains()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, to prevent escaping in both instances, you'd need to replace&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;i[&quot;fieldName&quot;].Contains(role)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;// C# 6&#xA;i[&quot;fieldName&quot;].MatchWildcard($&quot;*{role}*&quot;)&#xA;// C# 5&#xA;i[&quot;fieldName&quot;].MatchWildcard(string.Format(&quot;*{0}*&quot;, role))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;A potentially better approach&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I have doubts as to why you even need a wildcard query. With a wildcard query, by querying &lt;code&gt;*extranet\\Foo*&lt;/code&gt; you will match &lt;code&gt;extranet\\FooBar&lt;/code&gt; as well, which is probably not your intention.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you want to match the exact role names, so &lt;code&gt;Equals()&lt;/code&gt; instead of a wildcard query would work faster and more precisely.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var readPredicate = userRoles.Aggregate(&#xA;    PredicateBuilder.False&amp;lt;T&amp;gt;(),&#xA;    (current, role) =&amp;gt; current.Or(i =&amp;gt; i[&quot;read_roles&quot;].Equals(role)));&#xA;&#xA;var denyPredicate = userRoles.Aggregate(&#xA;    PredicateBuilder.True&amp;lt;T&amp;gt;(),&#xA;    (current, role) =&amp;gt; current.And(i =&amp;gt; !i[&quot;denied_roles&quot;].Equals(role)));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-01T10:09:08.127" LastActivityDate="2016-11-01T10:09:08.127" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1477" PostTypeId="1" AcceptedAnswerId="1614" CreationDate="2016-10-17T17:12:56.123" Score="10" ViewCount="663" Body="&lt;p&gt;I am setting up a custom tab with &lt;code&gt;custom facet&lt;/code&gt; data in the &lt;code&gt;Experience Profile&lt;/code&gt;.   I am successfully returning text values to the screen.&lt;/p&gt;&#xA;&lt;p&gt;Now, I want to populate data into a list control. Are there any examples of this.&lt;/p&gt;&#xA;&lt;p&gt;In my &lt;code&gt;AdditionalInfoPanel&lt;/code&gt;, I have a &lt;code&gt;GenericDataProvider&lt;/code&gt; and a &lt;code&gt;ListControl&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;My list has three columns:&lt;/strong&gt; for Sent, ContactType, and Message.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;My javascript file looks like this:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;define([&amp;quot;sitecore&amp;quot;, &amp;quot;/-/speak/v1/experienceprofile/DataProviderHelper.js&amp;quot;, &amp;quot;/-/speak/v1/experienceprofile/CintelUtl.js&amp;quot;], function (sc, providerHelper, cintelUtil) {&#xA;        var app = sc.Definitions.App.extend({&#xA;            initialized: function () {&#xA;                var localUrl = &amp;quot;/customfields/&amp;quot;;&#xA;                providerHelper.setupHeaders([&#xA;                    { urlKey: localUrl }&#xA;                ]);&#xA;    &#xA;                var url = sc.Contact.baseUrl + localUrl;&#xA;                var communicationData;&#xA;                var $that = this;&#xA;                providerHelper.initProvider(this.AdditionalInfoDataProvider, &amp;quot;&amp;quot;, url, this.AdditionalInfoTabMessageBar);&#xA;                providerHelper.getData(this.AdditionalInfoDataProvider,&#xA;                    $.proxy(function (jsondata) {&#xA;                        cintelUtil.setText($that.CompanyValue, renderUrl(jsondata.Company, jsondata.CompanyUrl), true); /* working correctly */&#xA;                        cintelUtil.setText($that.IndustryValue, jsondata.Industry, true); /* working correctly */&#xA;                        cintelUtil.setText($that.SubIndustryValue, jsondata.SubIndustry, true); /* working correctly */&#xA;                        cintelUtil.setText($that.RevenueRangeValue, jsondata.RevenueRange, true); /* working correctly */&#xA;                        cintelUtil.setText($that.IsKnownExecutiveValue, jsondata.IsKnownExecutive, true); /* working correctly */&#xA;                        cintelUtil.setText($that.IsKnownCustomerValue, jsondata.IsKnownCustomer, true); /* working correctly */&#xA;                        cintelUtil.setText($that.IsKnownBlogUserValue, jsondata.IsKnownBlogUser, true); /* working correctly */&#xA;                        cintelUtil.setText($that.OptInValue, jsondata.OptIn, true); /* working correctly */&#xA;                        communicationData = JSON.stringify(jsondata.Communications);&#xA;                        console.log(communicationData); /* SEE NOTE 1 FOR THIS OUTPUT */&#xA;                        providerHelper.initProvider(this.AdditionalInfoCommunicationDataProvider, &amp;quot;&amp;quot;, url, this.AdditionalInfoCommunicationMessageBar);&#xA;                        providerHelper.getListData(this.AdditionalInfoCommunicationDataProvider, communicationData); /* SEE NOTE 2 FOR ERROR */&#xA;                    }));&#xA;            }&#xA;        });&#xA;    &#xA;        function renderUrl(text, url) {&#xA;            if (url !== null &amp;amp;&amp;amp; url.length &amp;gt; 0)&#xA;            {&#xA;                return &amp;quot;&amp;lt;a href=\&amp;quot;&amp;quot; + url + &amp;quot;\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;&amp;quot; + text + &amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;&#xA;            }&#xA;            else&#xA;            {&#xA;                return text;&#xA;            }&#xA;        }&#xA;    &#xA;        return app;&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;NOTE 1:&lt;/strong&gt; The output of this console.log is:&lt;/p&gt;&#xA;&lt;pre&gt;&#xA;[{&quot;Sent&quot;:&quot;2016-10-18T17:25:36.831Z&quot;,&quot;ContactType&quot;:&quot;Product Information&quot;,&quot;Message&quot;:&quot;Looking to get information about software&quot;,&quot;IsEmpty&quot;:false}]&#xA;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;NOTE 2:&lt;/strong&gt; The resulting error is:&lt;/p&gt;&#xA;&lt;pre&gt;&#xA;caught TypeError: Cannot read property 'set' of undefined / DataProviderHelper.js:74&#xA;&lt;/pre&gt;&#xA;&lt;p&gt;I am trying to figure out how to correctly bind the data in &lt;code&gt;jsondata.Communications&lt;/code&gt; to the ListControl.&lt;/p&gt;&#xA;&lt;p&gt;I am using &lt;code&gt;Sitecore 8.1 Update 2&lt;/code&gt;&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 1:&lt;/strong&gt; Using suggested changes below... this is my JavasScript:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;define([&amp;quot;sitecore&amp;quot;, &amp;quot;/-/speak/v1/experienceprofile/DataProviderHelper.js&amp;quot;, &amp;quot;/-/speak/v1/experienceprofile/CintelUtl.js&amp;quot;], function (sc, providerHelper, cintelUtil) {&#xA;    var app = sc.Definitions.App.extend({&#xA;        initialized: function () {&#xA;            var localUrl = &amp;quot;/customfields/&amp;quot;;&#xA;            providerHelper.setupHeaders([&#xA;                { urlKey: localUrl }&#xA;            ]);&#xA;&#xA;            var url = sc.Contact.baseUrl + localUrl;&#xA;            var communicationData;&#xA;            var $that = this;&#xA;            providerHelper.initProvider(this.AdditionalInfoDataProvider, &amp;quot;&amp;quot;, url, this.AdditionalInfoTabMessageBar);&#xA;            providerHelper.getData(this.AdditionalInfoDataProvider,&#xA;                $.proxy(function (jsondata) {&#xA;                    cintelUtil.setText($that.CompanyValue, renderUrl(jsondata.Company, jsondata.CompanyUrl), true);&#xA;                    cintelUtil.setText($that.IndustryValue, jsondata.Industry, true);&#xA;                    cintelUtil.setText($that.SubIndustryValue, jsondata.SubIndustry, true);&#xA;                    cintelUtil.setText($that.RevenueRangeValue, jsondata.RevenueRange, true);&#xA;                    cintelUtil.setText($that.IsKnownExecutiveValue, convertBooleanToYesNo(jsondata.IsKnownExecutive), true);&#xA;                    cintelUtil.setText($that.IsKnownCustomerValue, convertBooleanToYesNo(jsondata.IsKnownCustomer), true);&#xA;                    cintelUtil.setText($that.IsKnownBlogUserValue, convertBooleanToYesNo(jsondata.IsKnownBlogUser), true);&#xA;                    cintelUtil.setText($that.OptInValue, convertBooleanToYesNo(jsondata.OptIn), true);&#xA;                    console.log(JSON.stringify(jsondata.Communications));&#xA;                    $that.AdditionalInfoCommunicationDataSource.set('items', jsondata.Communications);&#xA;                }));&#xA;        }&#xA;    });&#xA;&#xA;    function renderUrl(text, url) {&#xA;        if (url !== null &amp;amp;&amp;amp; url.length &amp;gt; 1) {&#xA;            return &amp;quot;&amp;lt;a href=\&amp;quot;&amp;quot; + url + &amp;quot;\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;&amp;quot; + text + &amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;&#xA;        }&#xA;        else {&#xA;            return text;&#xA;        }&#xA;    }&#xA;&#xA;    function convertBooleanToYesNo(value) {&#xA;        if (value == 'true' || value == true) {&#xA;            return 'Yes';&#xA;        }&#xA;        else if (value == 'false' || value == false) {&#xA;            return 'No';&#xA;        }&#xA;        else {&#xA;            return value;&#xA;        }&#xA;    }&#xA;&#xA;    return app;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Here you can see the Renderings of my panel:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EP6A2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EP6A2.png&quot; alt=&quot;Renderings&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Here you can see my List binding:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/rS2sh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rS2sh.png&quot; alt=&quot;List binding&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Here you can see a couple of my Column Fields:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/valIX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/valIX.png&quot; alt=&quot;Column fields&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I no longer get an error, but the 'Communications' data is still not loaded in the grid. :-(  Any ideas?&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;p&gt;&lt;strong&gt;CLOSING UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;@gorhal had the solution.  One further step was to ensure the &amp;quot;Items&amp;quot; property of the ListControl was bound to the datasource items: &lt;code&gt;{Binding AdditionalInfoCommunicationDataSource.Items}&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-08-07T04:14:21.670" Title="Example of populating list in experience profile page with JSON data" Tags="|xdb|experience-profile|javascript|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1478" PostTypeId="2" ParentId="1085" CreationDate="2016-10-17T17:30:27.437" Score="0" Body="&lt;p&gt;This magically fixed itself on Friday.   I am not really sure why or how, but I am not complaining.&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2016-10-17T17:30:27.437" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1479" PostTypeId="1" AcceptedAnswerId="1480" CreationDate="2016-10-17T17:46:05.490" Score="11" ViewCount="1673" Body="&lt;p&gt;Sitecore keeps a local copy of the lucene index in the file system of each instance and doesn't support sharing in the indexes between instances. How can I achieve this?&lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="170" LastEditDate="2016-10-17T17:51:42.240" LastActivityDate="2016-10-18T13:42:04.150" Title="How to maintain Sitecore Lucene Indexes in a huge content delivery web farm?" Tags="|lucene|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1480" PostTypeId="2" ParentId="1479" CreationDate="2016-10-17T17:51:08.287" Score="20" Body="&lt;p&gt;You cannot. Lucene is a &quot;local filesystem&quot; technology.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want something that is shared between multiple Content Delivery server instances; you need to switch from Lucene to SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're using the recommended Sitecore ContentSearch APIs this is (mostly) a relatively simple matter of switching your configuration files and setting up the SOLR index properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Benefits of using Solr:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It is heavily optimized for search performance with a powerful query cache.&lt;/li&gt;&#xA;&lt;li&gt;It can handle a large number of documents.&lt;/li&gt;&#xA;&lt;li&gt;There is detailed configuration support for language indexing.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;You can shard indexes across multiple servers.&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;With Solr Cloud you can also split an index across multiple physical locations.&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;From &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/sitecore_search_scaling%20guide_sc7-a4.pdf&quot;&gt;Sitecore Search Scaling Guide&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-17T17:51:08.287" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1481" PostTypeId="2" ParentId="1446" CreationDate="2016-10-17T18:06:36.763" Score="2" Body="&lt;p&gt;I honestly think it doesn't matter which one you use, I'd go with whatever system you're most comfortable developing with. The persistence of the data doesn't matter since you need to be able to re-run a full import anyway, so you can always regenerate it from the source if needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All things being equal (implementation time, performance, hosting cost) I'd lean toward Solr simply because it presents you with more options in the future. You said 99% of your searches will be getting the most recent documents in a timeframe. If to grow your functionality beyond that, you have Solr's text searching, faceting, and boosting capabilities you can take advantage of.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr gives you some out of the box caching too. If you're running the same query over and over again, or querying the same fields over and over again, you'll be able to take advantage of these right away.  Here's a good blog post explaining how they work: &lt;a href=&quot;https://teaspoon-consulting.com/articles/solr-cache-tuning.html&quot; rel=&quot;nofollow&quot;&gt;https://teaspoon-consulting.com/articles/solr-cache-tuning.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-10-17T18:06:36.763" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1482" PostTypeId="1" CreationDate="2016-10-17T18:23:25.467" Score="3" ViewCount="470" Body="&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1 with Solr 4.10 doing a general site search. I have a repeater on my search results page and I am binding the results to that repeater.  For some reason in my QA environment I am getting an error when I try to access searchHit.Document.Paths.  It is always coming back as null. This works fine in my local development environment.  Could it be a configuration problem?  Do I need to re-index?  Here is the code from my repeater. It fails on the IF statement because searchHit.Document.Paths is NULL.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    protected void rptResults_OnItemDataBound(object sender, RepeaterItemEventArgs e) {&#xA;        if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) {&#xA;            var searchHit = (SearchHit&amp;lt;GeneralSearchResultItem&amp;gt;) e.Item.DataItem;&#xA;            var hypItem = (HyperLink) e.Item.FindControl(&quot;hypItem&quot;);&#xA;            var spnIcon = (HtmlGenericControl) e.Item.FindControl(&quot;spnIcon&quot;);&#xA;            var litTitle = (Literal) e.Item.FindControl(&quot;litTitle&quot;);&#xA;            var litDescription = (Literal) e.Item.FindControl(&quot;litDescription&quot;);&#xA;&#xA;            var mediaLibraryRootItem = Sitecore.Context.Database.GetItem(&quot;/sitecore/media library&quot;);&#xA;&#xA;            if (searchHit.Document.Paths.Contains(mediaLibraryRootItem.ID)) {&#xA;                hypItem.NavigateUrl = searchHit.Document.ItemUrl;&#xA;                litTitle.Text = searchHit.Document.MediaTitle;&#xA;                litDescription.Text = TruncateString(searchHit.Document.MediaDescription, 200);&#xA;            }&#xA;            else {&#xA;                hypItem.NavigateUrl = searchHit.Document.ItemUrl;&#xA;                litTitle.Text = searchHit.Document.Title;&#xA;                litDescription.Text = TruncateString(searchHit.Document.Description, 200);&#xA;            }&#xA;&#xA;&#xA;            var iconClass = searchHit.Document.IconClass;&#xA;            if (iconClass != &quot;&quot;) {&#xA;                spnIcon.Attributes[&quot;class&quot;] = &quot;icon &quot; + iconClass;&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="368" LastEditDate="2016-10-17T18:50:34.347" LastActivityDate="2016-10-18T14:14:52.440" Title="Why would SearchResultItem.Paths be null?" Tags="|solr|indexing|content-search|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1483" PostTypeId="2" ParentId="1479" CreationDate="2016-10-17T18:29:25.247" Score="5" Body="&lt;p&gt;I second Mark's answer. In a &quot;huge&quot; content delivery farm you really want to consider a centralized search provider like Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Coveo is another good option as an alternative to Solr.  The starter edition is free, and if your indexes are small enough it may do the job for you with minimal fuss.&#xA;&lt;a href=&quot;http://www.coveo.com/en/solutions/coveo-for-sitecore/download&quot; rel=&quot;noreferrer&quot;&gt;http://www.coveo.com/en/solutions/coveo-for-sitecore/download&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-10-17T18:29:25.247" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1484" PostTypeId="2" ParentId="1474" CreationDate="2016-10-17T18:32:21.597" Score="2" Body="&lt;p&gt;If you have to replace &lt;em&gt;everything&lt;/em&gt;, take the existing rendering and have it point to the new controller class.  Then, create a new rendering using the old controller class and make that available to use in your placeholders.&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-10-17T18:32:21.597" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1485" PostTypeId="2" ParentId="1479" CreationDate="2016-10-17T18:33:10.900" Score="6" Body="&lt;p&gt;another point: if you are leveraging xDB in Sitecore 8.x - and you have a scaled environment, you NEED a Solr index to make sure you have the analytics and list indexes updated on all servers&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2016-10-17T18:33:10.900" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1486" PostTypeId="2" ParentId="1446" CreationDate="2016-10-17T18:38:04.860" Score="2" Body="&lt;p&gt;from a feature perspective - I would say tomato/tomato - but you have more features exposing the inner of the documents as searchable/statistics etc - but it might not be relevant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main advantage of Mongo would be the consistency when you run updates nightly - you can be sure of the distribution. This might be relevant if the data accuracy is very important&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2016-10-17T18:38:04.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1487" PostTypeId="2" ParentId="1438" CreationDate="2016-10-17T18:45:03.010" Score="11" Body="&lt;p&gt;I personally think the KeepAlive page is there for people who don't understand or haven't bothered to tune their IIS application settings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even with the KeepAlive page, if your &lt;a href=&quot;https://weblogs.asp.net/owscott/why-is-the-iis-default-app-pool-recycle-set-to-1740-minutes&quot;&gt;site sits idle for 29 hours&lt;/a&gt; it's going to turn off if you haven't touched those default settings. That may be a problem if you have a Job Server that never fields requests. So, it behooves you to go in there and think about what those switches need to be set to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't think there's any harm in keeping it there, though.&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-10-17T18:45:03.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1488" PostTypeId="2" ParentId="1474" CreationDate="2016-10-17T18:45:20.270" Score="1" Body="&lt;p&gt;You can call me crazy, but this is how I would solve this problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I implemented a solution for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Skip operations in Sitecore. If you need to sync all changes into unicorn eventually and update other environments then do your job there (on the disk not in the databse).&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$OLD_RENDERING_ID = &quot;DCEE78E1-1843-5456-A13A-F10A12191630&quot;&#xA;$NEW_RENDERING_ID = &quot;87182F78-4399-5896-8D59-9D6A45282F8A&quot;&#xA;&#xA;$SERIALIZATION_FOLDER = &quot;c:\your\serialization\&quot;&#xA;&#xA;function Replace-Rendering($item){&#xA;    Write-Host $item&#xA;    $oldValue = [System.IO.File]::ReadAllText($_.FullName)&#xA;    $newValue = $oldValue  -replace $OLD_RENDERING_ID,$NEW_RENDERING_ID&#xA;    [System.IO.File]::WriteAllText($item.FullName, $newValue)&#xA;}&#xA;&#xA;gci -Path $SERIALIZATION_FOLDER -r |&#xA;    ? { $_.Extension -eq &quot;.yml&quot; } |&#xA;    ? { [System.IO.File]::ReadAllText($_.FullName).Contains($OLD_RENDERING_ID) -eq $true } |&#xA;    % { Replace-Rendering $_ }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You don't have to remove old rendering&lt;/li&gt;&#xA;&lt;li&gt;You don't need to care about missing item references in link database if you are using Sitecore relink solution&lt;/li&gt;&#xA;&lt;li&gt;You have got full control. You can see immediately what and where is changed before you change anything in database (dirty state is not in database)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code is not bullet proof. It will probably change the &lt;strong&gt;ID&lt;/strong&gt; on the old &lt;strong&gt;Rendering&lt;/strong&gt; item as well, you can revert changes manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wanted to keep solution as clean as possible thus I skipped unnecessary &lt;code&gt;if&lt;/code&gt;/&lt;code&gt;else&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-17T18:45:20.270" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1489" PostTypeId="2" ParentId="1477" CreationDate="2016-10-17T18:47:46.137" Score="4" Body="&lt;p&gt;I think you will find your answer in &lt;a href=&quot;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blog from Jonathan Robbins&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is quite some code - too much to copy here.&#xA;An overview of what is all in his example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SubPageCode rendering&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;Border&lt;/code&gt; rendering adds a Placeholder for the other renderings.&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;MessageBar&lt;/code&gt; is used to display messages&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;AdvancedExpander&lt;/code&gt; datasources the &lt;code&gt;SampleOrdersAccordion&lt;/code&gt; Item we created earlier. The next four renderings are added to this AdvancedExpander‘s placeholder.&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;ListControl&lt;/code&gt; is responsible for displaying the data&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set the &lt;code&gt;Datasource&lt;/code&gt; the &lt;code&gt;SampleOrders ListControl&lt;/code&gt; item&lt;/li&gt;&#xA;&lt;li&gt;Items field looks at the data provider to know what to display e.g. &lt;code&gt;{Binding SampleOrdersDataProvider.cidata}&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ProgressIndicator&lt;/code&gt; displays a loading indicator for the &lt;code&gt;ListControl&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set it’s &lt;code&gt;Target&lt;/code&gt; property to the &lt;code&gt;Id&lt;/code&gt; of the &lt;code&gt;ListControl&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IsBusy&lt;/code&gt; property is wired to the following &lt;code&gt;GenericDataProvider&lt;/code&gt; e.g. &lt;code&gt;{Binding SampleOrdersDataProvider.IsBusy}&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;Finally it datasourced to the out-of-the-box &lt;code&gt;ProgressIndicator&lt;/code&gt; Item.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;GenericDataProvider&lt;/code&gt; actually holds the data we are loading and displaying. Datasourced to an Item called &lt;code&gt;DataProviderForListControl&lt;/code&gt; – &lt;code&gt;{6CD06869-4264-420C-A161-3220DD3AB7BA}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Border&lt;/code&gt; adds a placeholder for a ‘see more’ button is more data is available than the page size.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;To set this conditional visibility set the &lt;code&gt;IsVisible&lt;/code&gt; field to a property of the &lt;code&gt;DataProvider&lt;/code&gt; denoting if there is more data available than the page – &lt;code&gt;{Binding SampleOrdersDataProvider.HasMoreData}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;Button&lt;/code&gt; facilitates pagination of the data, its &lt;code&gt;Click&lt;/code&gt; event field set to a preexisting JavaScript Method – &lt;code&gt;javascript:app.SampleOrdersDataProvider.nextListData()&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;His result looks like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/jlgFe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jlgFe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="172" LastEditDate="2016-10-20T10:00:45.137" LastActivityDate="2016-10-20T10:00:45.137" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1490" PostTypeId="1" AcceptedAnswerId="2102" CreationDate="2016-10-17T18:53:00.090" Score="6" ViewCount="1571" Body="&lt;p&gt;In this curious case I'm facing here, I'm unable to change any item's Display Name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried changing DisplayName from Ribbon menu, from Appearance section and Sitecore Rocks. I can write new text but after save when item is reloaded it is still old Text in DisplayName. I have tried cache clearing as well.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried lot different of ways to track down if the issue is with Sitecore setup, or My code (like may be events handlers, pipelines, etc), or may be database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally found that issue is with database when i tried this database with clean Sitecore instance pointing it. And I was able reproduce the editing not working anymore in clean Sitecore instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next I'm not sure how to identify what is the issue in this database that I'm unable to edit Display Name only. Rest of the fields I'm able to edit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: Sitecore 7.5 update-2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly help. &lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="423" LastEditDate="2017-08-07T19:47:17.430" LastActivityDate="2017-08-07T19:47:17.430" Title="Unable to change DisplayName of the item" Tags="|content-editor|sql-database|" AnswerCount="1" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="1491" PostTypeId="2" ParentId="1131" CreationDate="2016-10-17T19:36:16.743" Score="3" Body="&lt;p&gt;One key field required for Coveo index was not filled with value in sitecore. Due to this, when coveo indexed, it was unable to form the item url. On analysis, we found this out and reached out to the content author to update the item field values. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We did reindex again and coveo was able to form the correct item url. Thanks everyone for helping.&lt;/p&gt;&#xA;" OwnerUserId="696" LastActivityDate="2016-10-17T19:36:16.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1492" PostTypeId="1" AcceptedAnswerId="1497" CreationDate="2016-10-17T20:45:37.963" Score="9" ViewCount="1118" Body="&lt;p&gt;We're building a multi-language site, focusing on Experience Editor. When browsing to a page that doesn't have a version in the current language, you are given the option to add a language version:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tRSiz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tRSiz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This functionality doesn't appear to extend to any components in use on the page. If I add a rendering and datasource it against an existing component that doesn't have a version for the current language, it is displayed in the fallback language as read-only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only way I can see to add a new language version is to switch to Content Editor, find the component, and then add the new language using the versions drop-down. Is there an easier way of allowing editors to do this without leaving Experience Editor?&lt;/p&gt;&#xA;" OwnerUserId="31" LastEditorUserId="73" LastEditDate="2016-10-17T21:29:35.840" LastActivityDate="2018-01-24T16:05:14.873" Title="Adding a new language version of a component in Experience Editor" Tags="|experience-editor|multilingual|language-fallback|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1493" PostTypeId="1" AcceptedAnswerId="1494" CreationDate="2016-10-17T22:12:55.883" Score="4" ViewCount="1254" Body="&lt;p&gt;I know that when I edit items, I can pass &lt;code&gt;true&lt;/code&gt; to the &lt;code&gt;EndEdit&lt;/code&gt; method to save the item without triggering events/indexing on save. Since I almost always want to edit an item after creating it, it seems silly to me that my item should be indexed twice. How can I make it so that the item is only indexed once, after saving?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T14:54:26.817" LastActivityDate="2017-08-08T14:54:26.817" Title="&quot;Silently&quot; Create Item - Create Item Without Triggering Indexing or other Events" Tags="|indexing|events|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1494" PostTypeId="2" ParentId="1493" CreationDate="2016-10-17T22:12:55.883" Score="9" Body="&lt;p&gt;If you decompile and have a look at the &lt;code&gt;Sitecore.Data.Items.ItemEditing&lt;/code&gt; class, in &lt;em&gt;Sitecore.Kernel&lt;/em&gt;, you will find that all the &lt;code&gt;EndEdit(bool)&lt;/code&gt; method does (and the relevant parts of its overload methods do) is essentially wrap the the call to &lt;code&gt;ItemManager.SaveItem&lt;/code&gt; with an &lt;code&gt;EventDisabler&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To apply the same technique in order to make sure that your new item only indexes once for the entire creation and editing process, instead once for creation and once for editing, you could do the following: &lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (new EventDisabler()) &#xA;{&#xA;    var newItem = parent.Add(name, templateId);&#xA;}&#xA;&#xA;newItem.Editing.BeginEdit();&#xA;newItem.Fields[&quot;Foo&quot;].Value = fooFieldValue;&#xA;newItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem with this solution, however, is that it will disable all events on create, not just indexing events. What if you have &lt;code&gt;item:created&lt;/code&gt; or &lt;code&gt;item:added&lt;/code&gt; events? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An an alternative, you could do the following: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;IndexCustodian.PauseIndexing();&#xA;var newItem = parent.Add(name, templateId);&#xA;IndexCustodian.ResumeIndexing();&#xA;&#xA;newItem.Editing.BeginEdit();&#xA;newItem.Fields[&quot;Foo&quot;].Value = fooFieldValue;&#xA;newItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem here is that when you call &lt;code&gt;PauseIndexing&lt;/code&gt; you are actually pausing indexing for the entire site. Sure, you're doing it for a very short amount of time, but you are still setting yourself up for failure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 3:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another alternative is to try something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (new BulkUpdateContext()) &#xA;{&#xA;    var newItem = parent.Add(name, templateId);&#xA;&#xA;    newItem.Editing.BeginEdit();&#xA;    newItem.Fields[&quot;Foo&quot;].Value = fooFieldValue;&#xA;    newItem.Editing.EndEdit();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should do what you are looking for, except that it won't work as expected if you want to add child/descendant items to your item or one of its descendants (if adding from a branch template) in the same closure. By example, the following will not work as expected, because the parent, &lt;code&gt;newItem&lt;/code&gt;, for the &lt;code&gt;childItem&lt;/code&gt; won't be available when the &lt;code&gt;childItem&lt;/code&gt; is added:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (new BulkUpdateContext()) &#xA;{&#xA;    var newItem = parent.Add(name, templateId);&#xA;&#xA;    newItem.Editing.BeginEdit();&#xA;    newItem.Fields[&quot;Foo&quot;].Value = fooFieldValue;&#xA;    newItem.Editing.EndEdit();&#xA;&#xA;    var newChildItem = newItem.Add(childName, childTemplateId);&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, I don't think there is a way to temporarily disable indexing for a particular item or for an item creation without using one of the above. Hopefully, one of them will fit your needs. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="237" LastEditDate="2016-10-18T06:45:27.350" LastActivityDate="2016-10-18T06:45:27.350" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1496" PostTypeId="2" ParentId="1453" CreationDate="2016-10-17T22:36:28.377" Score="6" Body="&lt;p&gt;In a clean install of Sitecore 8.1 update-3, the templates and their related sections/fields are always created in English, no matter what language the user may be working in from the ribbon:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qgZdW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qgZdW.png&quot; alt=&quot;Template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if your user/developer has changed their language preference in their profile (&lt;code&gt;Control Panel &amp;gt; Region and language options &amp;gt; Display language&lt;/code&gt;) then the template is created if their preference language.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Short Answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The simplest solution is to ensure that the language preference for all your developers/users is English when working with templates.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Long Answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The issue is in the Sitecore Template Builder code itself. If you feel this is a bug then you should report it to Sitecore and ask for a fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My investigation leads me to believe that the issue is in &#xA;&lt;code&gt;\sitecore\shell\Applications\Templates\TemplateBuilder\TemplateBuilder.xml&lt;/code&gt; and it's related &lt;code&gt;CodeBeside&lt;/code&gt; located in &lt;code&gt;Sitecore.Shell.Applications.Templates.TemplateBuilder.TemplateBuilderForm&lt;/code&gt; in &lt;code&gt;Sitecore.Client.dll&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An initial check is made that the user has the correct write permissions to create/edit templates in the language selected from the ribbon, but the sections and fields are created without passing this selected language into account. Instead, all calls are made without any language parameter being passed so it uses &lt;code&gt;Sitecore.Context.Language&lt;/code&gt;, i.e. the user preference language stored in their profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rGxZj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rGxZj.png&quot; alt=&quot;TemplateBuilderForm.cs&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no easy way of overriding the methods you need; &lt;code&gt;Save()&lt;/code&gt;, &lt;code&gt;SaveTemplate()&lt;/code&gt;, &lt;code&gt;SaveSection()&lt;/code&gt; and &lt;code&gt;SaveField()&lt;/code&gt; are all either non-virtual or private static. Wrapping &lt;code&gt;HandleMessage()&lt;/code&gt; in &lt;code&gt;LanguageSwitcher(&quot;en&quot;)&lt;/code&gt; also does not work since the call is initiated with &lt;code&gt;Context.ClientPage.Start()&lt;/code&gt; and the language reverts back to the user preference. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You &lt;em&gt;could&lt;/em&gt; fix it but not cleanly, it means overriding a lot of code which increases the possiblility of issues if you upgrade and Sitecore changes their own internal implementation.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-17T22:36:28.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1497" PostTypeId="2" ParentId="1492" CreationDate="2016-10-17T23:15:30.693" Score="4" Body="&lt;p&gt;You could probably write a custom event handler for the &lt;code&gt;item:versionAdded&lt;/code&gt; event. In the event handler you can extract the item the event was fired for and inspect for any data source items below it in the tree, adding versions to the data source items as you go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just be careful you don't end up in a loop, as saving an item from an event handler will cause event handlers to fire for that item, quite possibly the same event handler again, so you'll need to ensure you've got appropriate guarding on the event handler code, like checking to ensure the target item inherits from some given template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The benefit the event handler has is that it will also work in the Content Editor. Create a new language version of an item in the Content Editor and the event handler is still fired, so you're language versions of the data sources would also be created there.&lt;/p&gt;&#xA;" OwnerUserId="652" LastActivityDate="2016-10-17T23:15:30.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1498" PostTypeId="2" ParentId="1465" CreationDate="2016-10-17T23:20:47.003" Score="1" Body="&lt;p&gt;Disclaimer: I've never actually tried this myself. But looking at the code you're using, there are two base conditions for the conditions you're dealing with. And based on your own statement; it works when you use one of these - you just want to get rid of having to define an operator for your condition.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public abstract class TypedQueryableOperatorCondition&amp;lt;T, TItem&amp;gt; : OperatorCondition&amp;lt;T&amp;gt;, IQueryableRule&amp;lt;TItem&amp;gt; where T : QueryableRuleContext&amp;lt;TItem&amp;gt; where TItem : IObjectIndexers&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public abstract class TypedQueryableStringOperatorCondition&amp;lt;T, TItem&amp;gt; : StringOperatorCondition&amp;lt;T&amp;gt;, IQueryableRule&amp;lt;TItem&amp;gt; where T : QueryableRuleContext&amp;lt;TItem&amp;gt; where TItem : IObjectIndexers&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Both of these are operator based. Now - based on previous experience (and this is where I'm guessing, in fact) - Sitecore will only spawn your Conditions if the class satisfies a certain signature. And given both of the above are operator conditions, none of them will do what you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My proposal would be to create another base class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public abstract class TypedQueryableWhenCondition&amp;lt;T, TItem&amp;gt; : WhenCondition&amp;lt;T&amp;gt;, IQueryableRule&amp;lt;TItem&amp;gt; where T : QueryableRuleContext&amp;lt;TItem&amp;gt; where TItem : IObjectIndexers&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then your concrete class like:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class ContactPropertyCondition&amp;lt;T&amp;gt; : TypedQueryableWhenCondition&amp;lt;T, IndexedContact&amp;gt; where T : VisitorRuleContext&amp;lt;IndexedContact&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should give you the required method signature and with any luck, Sitecore will instantiate it for you.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-17T23:20:47.003" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1499" PostTypeId="2" ParentId="1442" CreationDate="2016-10-17T23:27:57.100" Score="4" Body="&lt;p&gt;It might be worth having a look into the publishing queue. This is the piece that keeps track of every change made in Sitecore and is used by the &quot;Incremental Publish&quot; option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is even an API to use:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;IdList queue = Sitecore.Publishing.PublishManager.GetPublishQueue(startDate, ToDate, Context.CurrentDatabase)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The publish queue will give you a list of the IDs of items which have had a change made during the period provided in the parameters.&lt;/p&gt;&#xA;" OwnerUserId="652" LastEditorUserId="16" LastEditDate="2016-10-20T08:28:46.893" LastActivityDate="2016-10-20T08:28:46.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1500" PostTypeId="2" ParentId="1435" CreationDate="2016-10-18T01:21:47.063" Score="2" Body="&lt;p&gt;For our zero-downtime setup we clone the CD servers, the Web database and the SOLR cores at every production release.  In a cloud setup like Azure this is pretty easy and cheap.  On prem not so much. For efficiency, we don't clone &lt;em&gt;all&lt;/em&gt; the SOLR cores, only the ones containing content in the main Sitecore content tree:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore_web_index_rYYMMDD&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_asset_index_web_rYYMMDD&lt;/li&gt;&#xA;&lt;li&gt;sitecore_fxm_web_index_rYYMMDD&lt;/li&gt;&#xA;&lt;li&gt;social_messages_web_rYYMMDD&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The idea is that you get a complete &lt;a href=&quot;http://martinfowler.com/bliki/BlueGreenDeployment.html&quot; rel=&quot;nofollow&quot;&gt;blue/green&lt;/a&gt; scenario, and you can stand up new functionality that potentially modifies shared templates or components in the DB or indexes without worrying about downstream dependencies in the code, like Glass classes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have automated the application of configuration changes and new hardware creation to make this process as friction-free as possible, but we still need a brief outage of the Auth server whose app pool must be recycled to pickup the new configuration settings, and we need to block publishing to production for about 2-3 hrs while we clone the DBs and indexes (we have very big DBs).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the new equipment is provisioned we perform some smoke testing and can swing the traffic across by modifying the load balancer settings.  Then we remove the old servers and power them down.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should a critical issue be discovered we can easily roll back to a last-known-good state by simply powering up the old servers and swinging the traffic back through the load balancer, which takes about 20 minutes tops.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-10-18T01:21:47.063" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1501" PostTypeId="2" ParentId="1482" CreationDate="2016-10-18T01:49:25.593" Score="0" Body="&lt;p&gt;Since as you say it works on your machine but not on the QA box it does look like environment related(either configurations are not set properly or the value is not being indexed properly. Before you go out comparing configuration files have you tried using an index browser like &lt;a href=&quot;https://code.google.com/archive/p/luke/&quot; rel=&quot;nofollow&quot;&gt;Luke&lt;/a&gt;? with this tool you can easily check what the values are being set on the index for whatever fields you need. If they are properly indexed you know it's not an indexing issue and most likely a misconfiguration between environments. If that's the case I would suggest comparing configs looking for the misconfiguration&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-18T01:49:25.593" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1502" PostTypeId="1" AcceptedAnswerId="1509" CreationDate="2016-10-18T03:05:47.197" Score="3" ViewCount="322" Body="&lt;p&gt;I'm attempting to deploy an 8.2 site to Azure. In the Sitecore Azure tool, when I deploy to the Local Emulator, the web files are partially copied to the package location and the long error below is thrown. xDB Cloud config files are disabled. The deployment to the Azure cloud environment also fails with a &quot;Sitecore.Azure.UI.Pipelines.PreAutomation.CheckHostedService failed&quot; error, but one step at a time. &#xA;I'm running SC 8.2, Azure SDK v. 2.9 (also tried 2.7.1). &#xA;The site runs fine in IIS 8.5.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #10 16:31:01 ERROR Sitecore.Azure.Pipelines.DeployAndRun.DevFabric.CreatePackage,Sitecore.Azure,Process&#xA;  Exception: System.Exception&#xA;  Message: Job started: DevFabricDeploy|xDB Cloud Edition Configuration is failed|Create package is failed|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.NullReferenceException: Object reference not set to an instance of an object.&#xA;     at Sitecore.Azure.Pipelines.CreateAzurePackage.Azure.XDBCloudEditionChanges.Action(RolePipelineArgsBase args)&#xA;     at Sitecore.Azure.Pipelines.BasePipeline.RolePipelineProcessor.Process(RolePipelineArgsBase args)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;     at Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline)&#xA;     at Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic)&#xA;     at Sitecore.Pipelines.Pipeline.Start(String pipelineName, PipelineArgs args, Boolean atomic)&#xA;     at Sitecore.Azure.Pipelines.DeployAndRun.DevFabric.CreatePackage.StartPipeline(AzureRolePipelineArgs args, CreateAzureDeploymentPipelineArgs deploymentArgs)&#xA;     at Sitecore.Azure.Pipelines.BasePipeline.RolePipelineProcessor.Process(RolePipelineArgsBase args)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;     at Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline)&#xA;     at Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic)&#xA;     at Sitecore.Azure.Managers.PipelineJobManager.Worker(Pipeline pipeline, PipelineArgs pipelineArgs)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;     at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.Jobs.Job.ThreadEntry(Object state)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="743" LastEditorUserId="73" LastEditDate="2016-10-18T08:39:47.403" LastActivityDate="2017-06-01T08:43:07.667" Title="Sitecore Azure deployment error - Sitecore.Azure.UI.Pipelines.PreAutomation.CheckHostedService failed" Tags="|deployment|azure|cloud|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1503" PostTypeId="2" ParentId="1479" CreationDate="2016-10-18T03:23:01.177" Score="3" Body="&lt;p&gt;You are asking about managing indexes in &lt;strong&gt;&quot;a huge content delivery web farm&quot;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It could be a huge in two dimensions - vertically and horizontally.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Horizontally means that you have lots of servers. For that case, you got great answer - move index to out-of-the-process service like &lt;code&gt;Solr&lt;/code&gt; or &lt;code&gt;Coveo&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Vertically means that your issue is an index size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That is very typical situation, and it originates from the fact that out-of-the-box Sitecore is configured for usability, not for performance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sitecore_master_index&lt;/code&gt; and &lt;code&gt;sitecore_web_index&lt;/code&gt; are designed for Content Management. These indexes include &lt;strong&gt;all&lt;/strong&gt; versions of &lt;strong&gt;all&lt;/strong&gt; Sitecore items and they used in Item Buckets, Media Selection dialog, Fields with search and etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;CD requirements are different. You do not need all the items. You need only items that user should see as search results. It could be pages, products, articles, sometimes media-items and similar business objects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest way to bust performance of index in CD is to limit number of items in index. In typical case, Index rebuild speed will be at least ten times faster.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update these config sections: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Filter Items by Root Item –&#xA;sitecore/contentSearch/configuration/indexes/index/locations/crawler/Root&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Filter items by Template Type – sitecore/contentSearch/indexConfigurations/yourIndexConfiguration/documentOptions/include&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If that is not enough, try &lt;strong&gt;Domain Indexes&lt;/strong&gt;. With that pattern you build custom indexe for every business domain instead of using standard one. You can find more details in my blog post - &lt;a href=&quot;http://jockstothecore.com/indexing-patterns-in-sitecore/&quot; rel=&quot;nofollow&quot;&gt;Indexing Patterns in Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-10-18T03:23:01.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1504" PostTypeId="2" ParentId="1493" CreationDate="2016-10-18T06:11:00.393" Score="-1" Body="&lt;p&gt;Have you tried to pause indexing for the time of creating and editing item operation?&#xA;Something like this one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;try    &#xA;{&#xA;  Sitecore.ContentSearch.Maintenance.IndexCustodian.PauseIndexing();&#xA;  // your code here&#xA;}&#xA;finally&#xA;{&#xA;  Sitecore.ContentSearch.Maintenance.IndexCustodian.ResumeIndexing()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore might have some logic for analyzing and optimizing data to be indexed.&lt;/p&gt;&#xA;" OwnerUserId="829" LastActivityDate="2016-10-18T06:11:00.393" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1505" PostTypeId="2" ParentId="1492" CreationDate="2016-10-18T06:43:10.110" Score="-4" Body="&lt;p&gt;you should be able to add a new button on the component ribbon that allows you to add a new language version for the current context language. Can't be that hard to realize&lt;/p&gt;&#xA;" OwnerUserId="627" LastActivityDate="2016-10-18T06:43:10.110" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1506" PostTypeId="1" AcceptedAnswerId="1507" CreationDate="2016-10-18T07:11:32.657" Score="7" ViewCount="712" Body="&lt;p&gt;What are the technical vulnerability which are covered by the &lt;a href=&quot;https://kb.sitecore.net/articles/496731&quot;&gt;critical vulnerability (SC2016-001-128003)&lt;/a&gt;? The KB article doesn't cover what the vulnerability is.&lt;/p&gt;&#xA;" OwnerUserId="36" LastActivityDate="2016-10-18T08:01:02.910" Title="Technical vulnerability details on Sitecore critical vulnerability (SC2016-001-128003)" Tags="|security|" AnswerCount="1" CommentCount="6" ClosedDate="2016-10-18T07:53:47.060" ContentLicense="CC BY-SA 3.0" />
  <row Id="1507" PostTypeId="2" ParentId="1506" CreationDate="2016-10-18T07:28:00.853" Score="12" Body="&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I have removed technical details about the vulnerability, since it is still present on many Sitecore installations world-wide.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The Quick-and-Dirty fix&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you want to remove the vulnerability quickly and without restarting your Sitecore instances, just delete &lt;code&gt;PushSession.ashx&lt;/code&gt;—it's used very rarely anyway, and only in multi-cluster setups. You can apply the full fix later.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-18T08:01:02.910" LastActivityDate="2016-10-18T08:01:02.910" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1508" PostTypeId="2" ParentId="1479" CreationDate="2016-10-18T07:39:53.293" Score="0" Body="&lt;p&gt;We use SOLR in our production environment. It removes a lot of load from all the servers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Few learnings from our setup:&#xA;The configuration is quite complex (availability, scalability, index config, which fields, which templates, what to exclude, async or sync update, etc.). &#xA;The out-of-the-box configuration for storing ALL fields in the index for all languages is just not working as it bloats the space and memory needed on the indexing server a lot. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are applying the Domain Indexes pattern as well and a huge Master Index with special tweaks and computed fields for the authoring search. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not an easy topic, so don't underestimate this...&lt;/p&gt;&#xA;" OwnerUserId="667" LastActivityDate="2016-10-18T07:39:53.293" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1509" PostTypeId="2" ParentId="1502" CreationDate="2016-10-18T07:41:08.063" Score="11" Body="&lt;p&gt;The Azure Module has been deprecated from Sitecore 8.2.  We will be updating the module for 8.1 to support; new Azure SQL and SDK and most important change to Redis Cache Session State Provider (as the In-Role Cache service being shut down end of November).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The new Sitecore Cloud offering will be launched with Sitecore 8.2 update 1. Using ARM (Azure Resource Manager) Templates, Azure Web Apps, Application Insights, Azure Search and Redis Cache. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As @BasLijten and @Trayek mention I strongly recommend you to wait on SC 8.2 update 1, it's going to be really cool in the cloud :)&lt;/p&gt;&#xA;" OwnerUserId="685" LastEditorUserId="312" LastEditDate="2017-06-01T08:43:07.667" LastActivityDate="2017-06-01T08:43:07.667" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1510" PostTypeId="1" AcceptedAnswerId="1516" CreationDate="2016-10-18T07:43:15.340" Score="3" ViewCount="184" Body="&lt;p&gt;I'm currently having some issues, while trying to render a sublayout programatically on the server-side. Basically, I want to render a sublayout found on the item myItem, that has a single rendering (sublayout) on it. The criteria is that it should render out correctly for normal mode and Experience Editor mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, this is what I've done:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var builder = new StringBuilder();&#xA;using (StringWriter writer = new StringWriter(builder))      &#xA;using (HtmlTextWriter htmlWriter = new HtmlTextWriter(writer))&#xA;{&#xA;&#xA;    var renderings = myItem.Visualization.GetRenderings(Sitecore.Context.Device, true);&#xA;    foreach (var rendering in renderings)&#xA;    {&#xA;        var renderControl = rendering.GetControl();&#xA;&#xA;        rendering.Settings.DataSource = myItem.Paths.FullPath;&#xA;&#xA;        renderControl.RenderControl(htmlWriter);&#xA;    }&#xA;}&#xA;&#xA;var output = builder.ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Looking at the output, this is empty. I've also tried just to call the &lt;code&gt;RenderControl()&lt;/code&gt; and output it to a string, which is then set to &lt;code&gt;null&lt;/code&gt;. I should also note, that I do have a &lt;code&gt;PageContext&lt;/code&gt; in the control where this code is executed. I can also verify that I can add the &lt;code&gt;renderControl&lt;/code&gt; as a child to a ASP placeholder control, which then renders out correctly - but only for preview mode, since is doesn't render the control out with support for the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing?&lt;/p&gt;&#xA;" OwnerUserId="29" LastEditorUserId="237" LastEditDate="2016-10-18T08:16:00.373" LastActivityDate="2016-10-18T11:29:59.827" Title="Sitecore 8 Webforms - Calling RenderControl() on Sublayout returns null" Tags="|presentation|webforms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1512" PostTypeId="2" ParentId="1510" CreationDate="2016-10-18T08:54:53.990" Score="3" Body="&lt;p&gt;While this is an example of rendering a Controller Rendering, I believe it will help you - the basic principles should be the same. Specifically I think, entering a &lt;code&gt;RenderingContext&lt;/code&gt; is what you might be missing.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public virtual HtmlString RenderItem(string idOrPath, string controller, string action)&#xA;    {&#xA;        Assert.ArgumentNotNullOrEmpty(idOrPath, nameof(idOrPath));&#xA;        Assert.ArgumentNotNullOrEmpty(controller, &quot;controller&quot;);&#xA;        Assert.ArgumentNotNullOrEmpty(action, &quot;action&quot;);&#xA;        var r = new Rendering();&#xA;        r.DataSource = idOrPath;&#xA;&#xA;        return RenderItem(r, controller, action);&#xA;    }&#xA;&#xA;    public virtual HtmlString RenderItem(Rendering rendering, string controller, string action)&#xA;    {&#xA;        Assert.ArgumentNotNull(rendering, nameof(rendering));&#xA;        Assert.ArgumentNotNullOrEmpty(controller, &quot;controller&quot;);&#xA;        Assert.ArgumentNotNullOrEmpty(action, &quot;action&quot;);&#xA;&#xA;        using (RenderingContext.EnterContext(rendering))&#xA;        {&#xA;            var runner = new ControllerRunner(controller, action);&#xA;            var result = runner.Execute();&#xA;            return new HtmlString(result);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-18T08:54:53.990" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1513" PostTypeId="1" AcceptedAnswerId="1515" CreationDate="2016-10-18T09:42:44.920" Score="7" ViewCount="896" Body="&lt;p&gt;What is the impact of enabling &lt;code&gt;Sitecore.Publishing.Recovery.config&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our CM environment consists of load-balanced Azure VMs with Azure PaaS for content delivery.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-10-20T13:33:13.653" Title="What is the impact of enabling Sitecore.Publishing.Recovery.config" Tags="|publishing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1514" PostTypeId="2" ParentId="48" CreationDate="2016-10-18T10:03:40.503" Score="1" Body="&lt;p&gt;I can only speak to the &lt;code&gt;Publishing Service&lt;/code&gt; but it was designed with some of these considerations in mind (although this would require quite a bit of customization as it currently stands!)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the publish starts its builds what is called a &lt;code&gt;manifest&lt;/code&gt;. This contains all the items that are to be created/updated/deleted for a certain publish. You could use the information in the manifest to construct a package of these items and then ship this across to your CD environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the more extreme case, maybe a simpler one would be to move the &lt;code&gt;publishing service&lt;/code&gt; onto the same machine as the sql db (it is very small!). Then all commands are issued from Sitecore via HTTP (if that is better than SQL ports being opened) and all SQL work is done using local connections (with nothing flowing across the network).&lt;/p&gt;&#xA;" OwnerUserId="201" LastActivityDate="2016-10-18T10:03:40.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1515" PostTypeId="2" ParentId="1513" CreationDate="2016-10-18T10:16:44.603" Score="14" Body="&lt;p&gt;With a default install of Sitecore the Publishing runs as a &lt;code&gt;Job&lt;/code&gt;. If IIS or the server is restarted, or the Application Pool for your site is Recycled the publishing task will be terminated, even if the Job did not fully complete. Once your site is brought back online, you would be required to republish in order to complete the operation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Enabling &lt;code&gt;Sitecore.Publishing.Recovery.config&lt;/code&gt; will allow for the Publish resume the Publish when the system restarts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;initialize&lt;/code&gt; pipeline during application starting up is responsible for kicking off  the &lt;code&gt;publishRecovery&lt;/code&gt; pipeline, which in turn restarts the publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are running multiple CMs then presumably you have a dedicated Publishing Instance set up. This file should only be enabled on that server. Also be sure to select the correct type of &lt;code&gt;recoveryStrategy&lt;/code&gt; in the config; &lt;code&gt;FileSystemPublishRecoveryStrategy&lt;/code&gt; which is fine for single instances machines or &lt;code&gt;DatabasePublishRecoveryStrategy&lt;/code&gt; if you need to take multiple instances (including DR for example) into account.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also take note of the following note from the config:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Important: The publishing recovery feature is currently released as an experimental feature. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-18T10:16:44.603" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1516" PostTypeId="2" ParentId="1510" CreationDate="2016-10-18T10:58:49.793" Score="3" Body="&lt;p&gt;I ended up getting it working, but not using the &lt;code&gt;RenderControl()&lt;/code&gt; method. It turns out, that I could just call the &lt;code&gt;GetControl()&lt;/code&gt; to get the control for the sublayout afterall, and append that control to the child controls for the actual view. Moreover, I found that it was necessary to set the datasource, before calling the &lt;code&gt;GetControl()&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var renderings = myItem.Visualization.GetRenderings(Sitecore.Context.Device, true);&#xA;foreach (var rendering in renderings)&#xA;{&#xA;    rendering.Settings.DataSource = myItem.Paths.FullPath;&#xA;&#xA;    Control control = rendering.GetControl();&#xA;    this.Controls.Add(control); // There 'this' refers to the actual View&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="29" LastEditorUserId="73" LastEditDate="2016-10-18T11:29:59.827" LastActivityDate="2016-10-18T11:29:59.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1517" PostTypeId="1" AcceptedAnswerId="6507" CreationDate="2016-10-18T11:27:32.223" Score="11" ViewCount="519" Body="&lt;p&gt;When trying to use &lt;code&gt;@Html.Sitecore().Placeholder()&lt;/code&gt; method on a language versioned fallback item, it yields no results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B7Rul.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B7Rul.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have verified that the context item falls back in Sitecore, and that the &lt;code&gt;@Html.Sitecore().CurrentItem.IsFallback&lt;/code&gt; is true on fallback items, and pointing to the right item with &lt;code&gt;@Html.Sitecore().CurrentItem.IsFallback&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rGVff.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rGVff.png&quot; alt=&quot;Debug info from running instance&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone encountered a similar error, and found a solution?&lt;/p&gt;&#xA;" OwnerUserId="757" LastEditorUserId="423" LastEditDate="2017-03-01T16:08:54.330" LastActivityDate="2017-08-06T15:19:02.000" Title="Language item-fallback error when using Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder method" Tags="|language-fallback|" AnswerCount="1" CommentCount="11" ClosedDate="2017-09-05T13:24:04.427" ContentLicense="CC BY-SA 3.0" />
  <row Id="1518" PostTypeId="1" AcceptedAnswerId="1523" CreationDate="2016-10-18T11:53:39.170" Score="3" ViewCount="547" Body="&lt;p&gt;We are migrating our legacy application in sitecore. We have a large database that we want to reuse in our sitecore application specially dbo.Product table. Product table contains ProductName, ProductID and other foreign key references. We are using buckets for Product creation in sitecore, I want to create all the Products from external database with existing fields(ProductID, ProductName etc) and apply corresponding renderings.There are many child items under each product. What is the best approach to solve this puzzle?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Product Structure :&lt;a href=&quot;https://i.stack.imgur.com/VYPaI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VYPaI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="803" LastEditDate="2016-10-18T12:26:38.233" LastActivityDate="2016-10-18T13:47:22.523" Title="Create bucket items from external database" Tags="|sitecore-client|migration|" AnswerCount="2" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="1519" PostTypeId="2" ParentId="1384" CreationDate="2016-10-18T12:15:31.750" Score="3" Body="&lt;p&gt;After further investigation it turns out this was an issue with a custom pipeline that was being fired and interfering with the upload of images. We added some logic to skip the pipleline during uploads and it is now working fine.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-10-18T12:15:31.750" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1520" PostTypeId="1" AcceptedAnswerId="1533" CreationDate="2016-10-18T13:15:41.533" Score="11" ViewCount="4038" Body="&lt;p&gt;From my knowledge, there is a set of fields that can be rendered out using a &lt;code&gt;FieldRenderer&lt;/code&gt; like text, numbers, dates, etc. Additonally, there are also fields that cannot be rendered out, such as fields that stores ID's or list of ID's, like links, references, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of hard-coding my knowledge, I would like to know if there is a way where I can check if a field (type) has FieldRenderer support, or not (in code). Is this possible?&lt;/p&gt;&#xA;" OwnerUserId="29" LastEditorUserId="246" LastEditDate="2016-10-28T04:00:31.333" LastActivityDate="2016-10-28T04:00:31.333" Title="Which Sitecore fields can be rendered using a FieldRenderer" Tags="|presentation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1521" PostTypeId="2" ParentId="1289" CreationDate="2016-10-18T13:21:19.620" Score="4" Body="&lt;p&gt;It turned out that I just need to clear my browser cache.  Once I did that then the dashboard loaded properly.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-10-18T13:21:19.620" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1522" PostTypeId="2" ParentId="1520" CreationDate="2016-10-18T13:22:24.623" Score="3" Body="&lt;p&gt;As far I know all the fields from bellow images can be rendered with FieldRenderer control. All the fields that can be renderes using sc:Link, sc:Image, sc:Date or sc:Text &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6a9Tu.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6a9Tu.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xZkyK.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xZkyK.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-18T13:22:24.623" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1523" PostTypeId="2" ParentId="1518" CreationDate="2016-10-18T13:24:25.420" Score="1" Body="&lt;p&gt;I would discourage you from copying your items into bucket in this case. According to Sitecore's documentation: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you store items in an item bucket, the parent-to-child relationship between the items is removed, and instead the items are organized in a folder structure according to the date and time they were created. Therefore, the item buckets feature is primarily designed for storing content items that do not need to be stored in a hierarchy.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Your description of a problem states that you do have an important parent-to-child relationshipt. In such a case I would recommend one of the two possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If you have small number of products (I assume 3k is number of all the items including FAQs, newsletters, etc.) you can easily go with importing them as regular items&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you plan to have larger database of products you could add only the products into a bucket and other items (FAQs, newsletters, etc.) as regular items under a separate item and connect them using for example multilist.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Does this approach solves your problem?&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-18T13:24:25.420" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1524" PostTypeId="1" AcceptedAnswerId="1990" CreationDate="2016-10-18T13:25:28.477" Score="7" ViewCount="951" Body="&lt;p&gt;I need to prevent certain roles from publishing sub-items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to hide the 'Sub-items' option in the publish dialog by revoking 'Read' from '/sitecore/system/Settings/Security/Policies/Publish/Can Perform Republish' under Core DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if the last time that user published with the sub-items 'checked' it will still publish with subitems even after revoking the 'Can Perform Republish'. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the option is hidden but its value is still checked!!! Is this expected or is it a bug in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="73" LastEditDate="2016-10-29T00:15:58.017" LastActivityDate="2016-10-31T13:00:41.467" Title="How to revoke publishing of sub-items for a role?" Tags="|publishing|sitecore-client|editor-user-permissions|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1525" PostTypeId="1" CreationDate="2016-10-18T13:28:14.440" Score="7" ViewCount="2184" Body="&lt;p&gt;We have a login/register modal that is being called via javascript on the front end. I created a custom route to point to the right action controller, and it works fine in every environment - except when we try with https. So, &lt;a href=&quot;http://website.com/account/login&quot; rel=&quot;noreferrer&quot;&gt;http://website.com/account/login&lt;/a&gt; works, but &lt;a href=&quot;https://website.com/account/login&quot; rel=&quot;noreferrer&quot;&gt;https://website.com/account/login&lt;/a&gt; throws the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception type: InvalidOperationException     Exception message:&#xA;  Attempt to retrieve context object of type&#xA;  'Sitecore.Mvc.Presentation.RenderingContext' from empty stack.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The line that this error hits on is this (first line in the login controller):&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var datasource = SitecoreContext.GetItem&amp;lt;LoginForm&amp;gt;(RenderingContext.Current.Rendering.DataSource);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's the custom routing in RegisterRoutes.cs:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;RouteTable.Routes.MapRoute(&quot;AccountLogin&quot;, &quot;Account/Login&quot;, &#xA;    new { controller = &quot;Account&quot;, action = &quot;Login&quot; });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.1 rev. 160302.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Edit:&lt;/em&gt;&lt;/strong&gt;&#xA;I should additionally note that this error is happening only after the user submits login information, but that the line this is hitting is not in the HttpPost version of the controller, which makes this mystery extra puzzling!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Order of operations:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Page hits the login controller (non httppost version) and loads the login view with no issues&lt;/li&gt;&#xA;&lt;li&gt;Javascript triggers the modal popup and user fills out login information and clicks the submit button&lt;/li&gt;&#xA;&lt;li&gt;500 error is thrown and returned to the javascript from the non httppost version of the login controller. (I cannot tell at this point if httppost is also getting hit.)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Additonal Edit&lt;/em&gt;&lt;/strong&gt;: Adding javascript and controller action result methods.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Javascript&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    $.ajax({&#xA;        url: $form.attr('action'),&#xA;        type: 'post',&#xA;        dataType: 'json',&#xA;        data: $form.serialize()&#xA;    })&#xA;    .done(function (data) {&#xA;&#xA;      console.log(&quot;data&quot;);&#xA;      console.log(data);&#xA;&#xA;        clearInterval(spinner);&#xA;&#xA;        $self.find(&quot;.spinner&quot;).hide();&#xA;&#xA;        $(&quot;.login-subscribe .tabs .tab:not(.selected) a&quot;).removeClass(&quot;disabled&quot;);&#xA;&#xA;        if ($.isEmptyObject(data)) {&#xA;            window.location.reload();&#xA;            return;&#xA;        }&#xA;&#xA;        if (typeof data !== 'undefined') {&#xA;          if ('userRef' in data) {&#xA;              $('.modal-overlay').hide();&#xA;&#xA;              //success - do stuff&#xA;          }&#xA;&#xA;          if ('errorMsg' in data) {&#xA;              $self.prop(&quot;disabled&quot;, false)&#xA;                    .parent()&#xA;                    .find(&quot;input[required]&quot;)&#xA;                    .addClass(&quot;error&quot;)&#xA;                    .end()&#xA;                    .find(&quot;.errorMsg&quot;)&#xA;                    .html(data.errorMsg)&#xA;                    .show();&#xA;          }&#xA;        }&#xA;    })&#xA;    .fail(function (error) {&#xA;      console.log(&quot;fail&quot;);&#xA;      console.log(error);&#xA;&#xA;        $self.parent()&#xA;              .find(&quot;input[required]&quot;)&#xA;              .addClass(&quot;error&quot;)&#xA;              .end()&#xA;              .find(&quot;.errorMsg&quot;)&#xA;              .show();&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Controller action result methods:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public ActionResult Login()&#xA;    {&#xA;&#xA;&#xA;        var datasource = SitecoreContext.GetItem&amp;lt;LoginForm&amp;gt;(RenderingContext.Current.Rendering.DataSource);&#xA;        if (datasource == null)&#xA;        {&#xA;            return DataSourceNotConfiguredResult;&#xA;        }&#xA;&#xA;        LogInViewModel logInViewModel = new LogInViewModel(datasource);&#xA;&#xA;        return View(Views.LogIn, logInViewModel);&#xA;&#xA;    }&#xA;&#xA;    [HttpPost]&#xA;    public ActionResult Login(string Email, string Password, string RememberMe)&#xA;    {&#xA;&#xA;        if (!string.IsNullOrWhiteSpace(Email) &amp;amp;&amp;amp; !string.IsNullOrWhiteSpace(Password) &amp;amp;&amp;amp;&#xA;            !string.IsNullOrWhiteSpace(RememberMe))&#xA;        {&#xA;            bool rememberMe = false;&#xA;            if (RememberMe.ToLower() == &quot;true&quot;)&#xA;            {&#xA;                rememberMe = true;&#xA;            }&#xA;            Tuple&amp;lt;AccountResultCode, string&amp;gt; loginResult = userAccountUtilities.Login(Email, Password, rememberMe);&#xA;&#xA;&#xA;            if (loginResult.Item1 == AccountResultCode.Success)&#xA;            {&#xA;&#xA;                if (string.IsNullOrWhiteSpace(loginResult.Item2))&#xA;                {&#xA;                    return Content(&quot;{}&quot;, &quot;application/json&quot;);&#xA;                }&#xA;                return Content(loginResult.Item2, &quot;application/json&quot;);&#xA;&#xA;            }&#xA;            else&#xA;            {&#xA;                string errorMsg = ErrorMessaging(loginResult.Item1);&#xA;                errorMsg = &quot;{\&quot;errorMsg\&quot;: \&quot;&quot; + errorMsg.Replace(&quot;\n&quot;, &quot;&quot;).Replace(&quot;\&quot;&quot;, &quot;\\\&quot;&quot;) + &quot;\&quot;}&quot;;&#xA;                return Content(errorMsg, &quot;application/json&quot;);&#xA;&#xA;            }&#xA;&#xA;&#xA;        }&#xA;        return Content(&quot;&quot;);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="18" LastEditorUserId="18" LastEditDate="2016-10-18T14:33:28.423" LastActivityDate="2016-10-18T15:08:02.343" Title="Error when using custom routes with https: &quot;Attempt to retrieve context object of type 'Sitecore.Mvc.Presentation.RenderingContext' from empty stack.&quot;" Tags="|mvc|routing|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1526" PostTypeId="2" ParentId="1438" CreationDate="2016-10-18T13:34:23.303" Score="10" Body="&lt;p&gt;I don't know that your question needs more than 4 answers, maybe you've got what you wanted, but I do have another aspect not previously mentioned :) -- so let me add yet another answer.  The &lt;code&gt;KeepAlive.aspx&lt;/code&gt; page is also used for extending active sessions in the Sitecore Client (and prevent a timeout from spoiling a long duration form edit for a content author, for instance).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I explain this a bit at &quot;Understanding Sitecore Session Timeouts&quot; -- &lt;a href=&quot;https://grantkillian.wordpress.com/2015/03/26/53/&quot; rel=&quot;noreferrer&quot;&gt;https://grantkillian.wordpress.com/2015/03/26/53/&lt;/a&gt; -- but you can see this explicitly if you view the source of &lt;code&gt;sitecore/shell/controls/Sitecore.js&lt;/code&gt; in the &lt;code&gt;scKeepAlive&lt;/code&gt; javascript function (for example, line 1988 in my Sitecore 8.1 rev 151207 install):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;function scKeepAlive() {&#xA;    var img = document.getElementById(&quot;scKeepAlive&quot;);&#xA;    if (img == null) {&#xA;        img = document.createElement(&quot;img&quot;);&#xA;        img.id = &quot;scKeepAlive&quot;;&#xA;        img.width = &quot;1&quot;;&#xA;        img.height = &quot;1&quot;;&#xA;        img.alt = &quot;&quot;;&#xA;        img.style.position = &quot;absolute&quot;;&#xA;        img.style.display = &quot;none&quot;; /* if set to &quot;&quot;, causes scrollbars in firefox */   &#xA;        document.body.appendChild(img);&#xA;    }&#xA;    img.src = &quot;/sitecore/service/keepalive.aspx?ts=&quot; + Math.round(Math.random() * 12361814);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A short while before a session expires this javascript code requests &lt;code&gt;[webroot]/sitecore/service/keepalive.aspx&lt;/code&gt; to extend the session. This is wired up in the &lt;code&gt;scSitecore.prototype.onLoad&lt;/code&gt; function: &lt;code&gt;window.setInterval(scKeepAlive, keepAliveTimeout)&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="365" LastEditorUserId="10" LastEditDate="2016-10-18T15:27:15.680" LastActivityDate="2016-10-18T15:27:15.680" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1527" PostTypeId="2" ParentId="1438" CreationDate="2016-10-18T13:37:52.780" Score="6" Body="&lt;p&gt;Besides what has been mentioned on the other answers it can be useful if you have a load balancer and you want to configure a page where the load balancer can ping sitecore to know if the node is up or not. It can be done with other pages yes but I generally use this one&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-18T13:37:52.780" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1528" PostTypeId="2" ParentId="1479" CreationDate="2016-10-18T13:42:04.150" Score="3" Body="&lt;p&gt;If you decide to stick with Lucene, this post provides information to help you out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.horizontalintegration.com/tag/index-update-strategies/&quot; rel=&quot;nofollow&quot;&gt;Maintaining Lucene Indexes Uptime in Sitecore Production Environments&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It describes the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Use SwitchOnRebuildLuceneIndex to keep a working index while the rebuild is executed in a secondary folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Update your configuration files so that publishing and index rebuilds on a Content Management server trigger rebuilds on Content Delivery servers.&lt;/p&gt;&#xA;" OwnerUserId="242" LastActivityDate="2016-10-18T13:42:04.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1529" PostTypeId="2" ParentId="1518" CreationDate="2016-10-18T13:47:22.523" Score="0" Body="&lt;p&gt;To import the items you could for example create a script using a bit of C# combined with the Sitecore Powershell module. Or you could do it purely in Powershell if you can extract the current data into a CSV. The module comes with a bunch of examples to get you started.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to import the data into a products bucket but still retain the relationship between the product and the child items, then you need to remember to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/search_and_item_buckets/lock_a_parentchild_relationship&quot; rel=&quot;nofollow&quot;&gt;lock the relationship&lt;/a&gt; at the template level.&lt;/p&gt;&#xA;" OwnerUserId="148" LastActivityDate="2016-10-18T13:47:22.523" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1530" PostTypeId="2" ParentId="1525" CreationDate="2016-10-18T13:54:21.530" Score="0" Body="&lt;p&gt;Looks like Form Post is submitting the entire page which intern triggers the all renderings on the page and because Form Post happens outside the Sitecore processing pipeline, it is not able to find the Sitecore rendering context.&lt;/p&gt;&#xA;" OwnerUserId="798" LastActivityDate="2016-10-18T13:54:21.530" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1532" PostTypeId="2" ParentId="1482" CreationDate="2016-10-18T14:14:52.440" Score="2" Body="&lt;p&gt;I rebuilt the index completely and that seems to have fixed the problem.  I am no longer getting the NULL error.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-10-18T14:14:52.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1533" PostTypeId="2" ParentId="1520" CreationDate="2016-10-18T14:32:58.017" Score="8" Body="&lt;p&gt;You could create a function that checks the fieldtypes.. based on the &lt;code&gt;renderField&lt;/code&gt; pipeline, which is executed in the fieldRenderer you should include these types:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;rich text&lt;/li&gt;&#xA;&lt;li&gt;single-line text&lt;/li&gt;&#xA;&lt;li&gt;text&lt;/li&gt;&#xA;&lt;li&gt;image&lt;/li&gt;&#xA;&lt;li&gt;link&lt;/li&gt;&#xA;&lt;li&gt;general link&lt;/li&gt;&#xA;&lt;li&gt;internal link&lt;/li&gt;&#xA;&lt;li&gt;multi-line text&lt;/li&gt;&#xA;&lt;li&gt;memo&lt;/li&gt;&#xA;&lt;li&gt;date&lt;/li&gt;&#xA;&lt;li&gt;datetime&lt;/li&gt;&#xA;&lt;li&gt;word document&lt;/li&gt;&#xA;&lt;li&gt;integer&lt;/li&gt;&#xA;&lt;li&gt;number&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That should be the complete list (on a Sitecore 8.1). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are some surprises in there, like &quot;word document&quot;. But also note that DropList is not in there! (also mentioned &lt;a href=&quot;http://ticdevs.com/developers/field-types/droplist-fields/droplist-properties&quot;&gt;here&lt;/a&gt; that droplist is supported by &lt;code&gt;&amp;lt;sc:text&amp;gt;&lt;/code&gt; but not by the FieldRenderer.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-18T14:32:58.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1534" PostTypeId="2" ParentId="1525" CreationDate="2016-10-18T15:08:02.343" Score="3" Body="&lt;p&gt;The code looks like it should work. I would make the following changes to just make things a bit more robust:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a &lt;code&gt;[HttpGet]&lt;/code&gt; attribute to the &lt;code&gt;Login&lt;/code&gt; action result. It could be that over https the route is hitting the &lt;code&gt;Get&lt;/code&gt; action result first, but because it is not limited to &lt;code&gt;Get&lt;/code&gt; it will accept &lt;code&gt;Post&lt;/code&gt; also.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[HttpGet]&#xA;public ActionResult Login()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Check your &lt;code&gt;$form.attr('action')&lt;/code&gt; value. Make sure that this is either a relative path &lt;code&gt;/Account/Login&lt;/code&gt; or if it includes the scheme (&lt;code&gt;https&lt;/code&gt;/&lt;code&gt;http&lt;/code&gt;), make sure the right one is in there.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-18T15:08:02.343" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1535" PostTypeId="1" CreationDate="2016-10-18T15:14:40.547" Score="8" ViewCount="6125" Body="&lt;p&gt;I am trying to check Read permission for the current user on a specific item like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Data.Database.GetDatabase(&quot;master&quot;)&#xA;    .SelectItems(&quot;/sitecore/content/Settings/Item1&quot;)[0]&#xA;    .Security.CanRead(Sitecore.Context.User)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This always returns true even though the 'Access Viewer' shows revoked 'Read' permission for the same user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The revoking has been done using Roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is wrong with this code?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code is being run from publish:begin event. The Sitecore.Context.User does have the required (logged-in) user.&#xA;I see this on the AccessViewer (I have edited the code to CanWrite()):&#xA;&lt;a href=&quot;https://i.stack.imgur.com/x4M3x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x4M3x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;But both options mentioned in the answers always return True.&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="73" LastEditDate="2016-10-29T00:02:15.987" LastActivityDate="2017-08-23T07:09:50.267" Title="How to check access permissions on items for a user via the Security API?" Tags="|security|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1536" PostTypeId="2" ParentId="1535" CreationDate="2016-10-18T15:20:49.467" Score="4" Body="&lt;p&gt;Can you try :&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Security.Accounts.User user = Sitecore.Security.Accounts.User.FromName(domainUser, false);&#xA;// UserSwitcher allows below code to run under a specific user &#xA;using (new Sitecore.Security.Accounts.UserSwitcher(user))&#xA;{&#xA;   var ReadAccess = item.Access.CanRead();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the definition of method CanRead :&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public virtual bool CanRead()&#xA;{&#xA;    return this.IsAllowed(this._item, AccessRight.ItemRead);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What namespace are you using for your CanRead method because I don't find this method with parameters?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update2&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like you use this method : &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public virtual bool CanRead(Account account)&#xA;{&#xA;    Assert.ArgumentNotNull(account, &quot;account&quot;);&#xA;    return AuthorizationManager.IsAllowed(this._item, AccessRight.ItemRead, account);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;from the class:  Sitecore.Security.AccessControl.ItemSecurity .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please change your code and use my example or Richard example. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="16" LastEditDate="2016-10-18T16:50:26.913" LastActivityDate="2016-10-18T16:50:26.913" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1537" PostTypeId="2" ParentId="1535" CreationDate="2016-10-18T15:28:03.520" Score="13" Body="&lt;p&gt;The code you have posted will &lt;em&gt;always&lt;/em&gt; return true by the nature of how Sitecore security works. If &lt;code&gt;SelectItems()&lt;/code&gt; returns an item, that means the &lt;code&gt;Sitecore.Context.User&lt;/code&gt; can read it. If the current user did not have access to the item, it would return &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you have options depending on your use case. If you just want to restrict the current context users read access to an item, then just set the security on the item, the Sitecore API will do the rest for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to check a users security, then you need to be logged in as someone who &lt;em&gt;has&lt;/em&gt; read access and then use a &lt;code&gt;User&lt;/code&gt; object to check the secuity.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var user = Sitecore.Security.Accounts.User.FromName(domainUser, false);&#xA;var item = Sitecore.Data.Database.GetDatabase(&quot;master&quot;)&#xA;    .SelectItems(&quot;/sitecore/content/Settings/Item1&quot;)[0];&#xA;&#xA;// Option 1, pass in the user&#xA;var readAccess = item.Security.CanRead(user)&#xA;&#xA;// Option 2, use a switcher&#xA;using (new Sitecore.Security.Accounts.UserSwitcher(user))&#xA;{&#xA;   readAccess = item.Access.CanRead();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-18T15:28:03.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1538" PostTypeId="2" ParentId="1230" CreationDate="2016-10-18T15:46:25.923" Score="18" Body="&lt;p&gt;Getting the URL of a &lt;code&gt;MediaItem&lt;/code&gt; is pretty straightforward, you pass the &lt;code&gt;MediaItem&lt;/code&gt; reference to &lt;code&gt;Sitecore.Resources.Media.MediaManager.GetMediaUrl&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var url = MediaManager.GetMediaUrl(mediaItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;GetMediaUrl&lt;/code&gt; takes an optional second parameter of &lt;code&gt;Sitecore.Resources.Media.MediaUrlOptions&lt;/code&gt;, which can be used to add query string parameters to the URL which are useful for a number of dynamic image generation features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the settings that can be changed are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;height&lt;/li&gt;&#xA;&lt;li&gt;width&lt;/li&gt;&#xA;&lt;li&gt;max height&lt;/li&gt;&#xA;&lt;li&gt;max width&lt;/li&gt;&#xA;&lt;li&gt;background color&lt;/li&gt;&#xA;&lt;li&gt;aspect ratio mode&lt;/li&gt;&#xA;&lt;li&gt;scale&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var options = new MediaUrlOptions { Width = 400, Height = 300 };&#xA;var resizedUrl = MediaManager.GetMediaUrl(mediaItem, options);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;If you're using Sitecore 8 or newer, Sitecore has a built-in check to prevent malicious users from requesting lots of image resizing on the server and DDOSing your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make use of this new utility, pass the url returned from &lt;code&gt;MediaManager.GetMediaUrl&lt;/code&gt; to &lt;code&gt;Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var options = new MediaUrlOptions { ... };&#xA;var unsafeUrl = MediaManager.GetMediaUrl(mediaItem, options);&#xA;var url = HashingUtils.ProtectAssetUrl(unsafeUrl);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Lastly, Sitecore's url generation will often include spaces that aren't properly percent encoded. This will cause issues in particular situations, such as assigning a Sitecore url to the &lt;code&gt;[content]&lt;/code&gt; attribute of &lt;code&gt;&amp;lt;meta property=&quot;og:image&quot; content=&quot;...&quot; /&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't seen issues with other characters, so the simplest solution I've found is to just use &lt;code&gt;String.Replace&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var url =&#xA;    MediaManager&#xA;        .GetMediaUrl(mediaItem /*, options */)&#xA;        .Replace(&quot; &quot;, &quot;%20&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;sub&gt;Sitecore does have a large number of encoding bugs, so I wouldn't be surprised if other special characters were found that also needed to be percent encoded.&lt;/sub&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;For convenience, I use an extension method for getting &lt;code&gt;MediaItem&lt;/code&gt; urls:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static class MediaItemExtensions&#xA;{&#xA;  public static string GetUrl(this MediaItem item, MediaUrlOptions options = null)&#xA;  {&#xA;    if (item == null)&#xA;      throw new ArgumentNullException(&quot;item&quot;);&#xA;&#xA;    if (options == null)&#xA;      options = new MediaUrlOptions();&#xA;&#xA;    var url = MediaManager.GetMediaUrl(item, options);&#xA;&#xA;#if SITECORE8&#xA;    url = HashingUtils.ProtectAssetUrl(url);&#xA;#endif&#xA;&#xA;    url = url.Replace(&quot; &quot;, &quot;%20&quot;);&#xA;&#xA;    return url;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which can be used as:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var url = mediaItem.GetUrl(/* options */);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="286" LastEditorUserId="70" LastEditDate="2016-10-28T20:09:43.147" LastActivityDate="2016-10-28T20:09:43.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1539" PostTypeId="2" ParentId="1520" CreationDate="2016-10-18T16:05:34.737" Score="8" Body="&lt;p&gt;Every field can be passed through &lt;code&gt;FieldRenderer&lt;/code&gt;. The &lt;code&gt;&amp;lt;sc:FieldRenderer&amp;gt;&lt;/code&gt; control makes use of the &lt;code&gt;FieldRenderer.Render&lt;/code&gt; static method, which can be used on any field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;FieldRenderer.Render&lt;/code&gt; passes the field through the field rendering pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whether or not the text in a given field is actually transformed by the field rendering pipeline is an entirely different matter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default there are a limited set of field rendering pipeline handlers, but these are completely configurable, so it will depend entirely on whether or not the project you're working on has had its field rendering pipeline customized.&lt;/p&gt;&#xA;" OwnerUserId="286" LastActivityDate="2016-10-18T16:05:34.737" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1540" PostTypeId="1" AcceptedAnswerId="1542" CreationDate="2016-10-18T16:39:02.823" Score="8" ViewCount="439" Body="&lt;p&gt;Sitecore has a number of &lt;code&gt;encodeNameReplacements&lt;/code&gt; in config OOTB, I fully understand what they are and what they do since I have previously &lt;a href=&quot;https://jammykam.wordpress.com/2016/02/29/seo-friendly-urls-pt2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;posted about it&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue we have is we have a number of compressed (software) files, which are of the format &lt;code&gt;filename-something.tar.gz&lt;/code&gt;. By default, when the files are uploaded Sitecore takes only the last part of the file (&lt;code&gt;.gz&lt;/code&gt;) as the extension and then see's the dot in the rest of the filename (&lt;code&gt;filename-something.tar&lt;/code&gt;) and this fails default &lt;code&gt;ItemNameValidation&lt;/code&gt; regex (at this point the file is internally renamed to &lt;code&gt;filenamesomethingtar.gz&lt;/code&gt; instead of a complete failure, but still not acceptable to us). Following a Sitecore Support ticket we updated this setting to allow dots in the filename...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is the &lt;code&gt;encodeNameReplacements&lt;/code&gt; kick in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;encodeNameReplacements&amp;gt;&#xA;  ...&#xA;  &amp;lt;replace mode=&quot;on&quot; find=&quot;.&quot; replaceWith=&quot;,-d-,&quot;/&amp;gt;&#xA;  ...&#xA;&amp;lt;/encodeNameReplacements&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With this in place, the media url is being generated as &lt;code&gt;filename-something,-d-,tar.gz&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could remove this replacement, but is this likely to raise other issues elsewhere in Sitecore backend?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are running Sitecore 8.1 Update-3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I said, I understand &lt;em&gt;how&lt;/em&gt; the encoding and decoding works and the &lt;code&gt;,-d-,&lt;/code&gt; is set by the &lt;code&gt;encodeNameReplacement&lt;/code&gt; setting I mentioned (which also applies to &lt;a href=&quot;http://getfishtank.ca/blog/sitecore-7-2-upgrade-encoding-media-library-item-names&quot; rel=&quot;nofollow noreferrer&quot;&gt;media url generation since Sitecore 7.2&lt;/a&gt;). But some of these values are &lt;a href=&quot;https://stackoverflow.com/questions/1547899/which-characters-make-a-url-invalid&quot;&gt;valid URL characters&lt;/a&gt;. I can only assume they were added for a particular reason in the first place, namely to get around some issues in the back-end system. Removing this setting will require extensive testing of standard Sitecore features which we would like to avoid. I'm confident nothing in our own code will not break, not so much about Sitecore's so am trying to understand this so we can minimize issues.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-18T17:50:15.097" Title="Ramifications of removing encodeNameReplacement for dot (.)" Tags="|media-library|link-manager|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1541" PostTypeId="1" AcceptedAnswerId="1545" CreationDate="2016-10-18T16:53:04.253" Score="2" ViewCount="325" Body="&lt;p&gt;I'm currently trying to install &lt;code&gt;Sitecore 8.1 rev. 160519&lt;/code&gt; using &lt;code&gt;SIM Tool 1.4.0.92 rev 150618&lt;/code&gt; and I'm getting this error message in the logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt;    1 12:48:04,739 ERROR Service WAS was not found on computer '.'.&#xA;System.InvalidOperationException: Service WAS was not found on computer '.'. ---&gt; System.ComponentModel.Win32Exception: The specified service does not exist as an installed service&#xA;   --- End of inner exception stack trace ---&#xA;   at System.ServiceProcess.ServiceController.GenerateNames()&#xA;   at System.ServiceProcess.ServiceController.get_ServiceName()&#xA;   at System.ServiceProcess.ServiceController.GenerateStatus()&#xA;   at System.ServiceProcess.ServiceController.get_Status()&#xA;   at Microsoft.Web.Administration.ServerManager.GetServiceStatus(String serviceName)&#xA;   at Microsoft.Web.Administration.ApplicationPool.get_State()&#xA;   at SIM.Adapters.WebServer.Website.get_ApplicationPoolState()&#xA;   at SIM.Tool.Base.InstanceHelperEx.EnsureAppPoolState(Instance instance, Window mainWindow)&#xA;   at SIM.Tool.Base.InstanceHelperEx.PreheatInstance(Instance instance, Window mainWindow, Boolean ignoreAdvancedSetting)&#xA;   at SIM.Tool.Base.AuthenticationHelper.LoginAsAdmin(Instance instance, Window owner, String pageUrl, String browser)&#xA;   at SIM.Tool.Windows.MainWindowComponents.LoginAdminButton.OnClick(Window mainWindow, Instance instance)&#xA;   at SIM.Tool.Windows.MainWindowHelper.c__DisplayClass2d.b__25(Object param0, RoutedEventArgs param1)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The other symptom is that IIS refuses to start my site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is occurring on a &lt;code&gt;Windows Server 2012 R2&lt;/code&gt; machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone encountered this message before?&lt;/p&gt;&#xA;" OwnerUserId="786" LastEditorUserId="5387" LastEditDate="2019-08-07T04:38:42.557" LastActivityDate="2019-08-07T04:38:42.557" Title="Error when trying to install Sitecore using SIM - &quot;Service WAS was not found on computer&quot;" Tags="|installation|sim|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="1542" PostTypeId="2" ParentId="1540" CreationDate="2016-10-18T17:02:26.083" Score="4" Body="&lt;p&gt;From what I can find - the &lt;code&gt;encodeNameReplacements&lt;/code&gt; are only used in &lt;code&gt;MainUtil.DecodeName&lt;/code&gt;, &lt;code&gt;MainUtil.EncodeName&lt;/code&gt; and &lt;code&gt;MainUtil.EncodePath&lt;/code&gt; - These are used in both resolving url's and building them. So if the encoding is not there or if it encoded to something different it &lt;em&gt;should&lt;/em&gt; still work ok. I could not find anything that explicitly set &lt;code&gt;,-d-,&lt;/code&gt; in the Url. Everything goes through one of those 3 methods.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you go with removing the encoding completely and are running v7.2u1 or earlier, you may need to set the &lt;code&gt;relaxedUrlToFileSystemMapping&lt;/code&gt; attribute to true so that IIS doesn't try to map it to a valid Windows file path. This was updated in v7.2u2 and later.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;httpruntime relaxedUrlToFileSystemMapping=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-18T17:02:26.083" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1543" PostTypeId="1" CreationDate="2016-10-18T17:42:28.783" Score="5" ViewCount="547" Body="&lt;p&gt;We have a need to detect the user location at the Zipcode level and present him with personalized content. We are looking to see if Sitecore GeoIP service with 8.1 supports Zipcode accuracy?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if anyone has worked with GeoIP service at Zipcode and % of accuracy that we get?&lt;/p&gt;&#xA;" OwnerUserId="354" LastEditorUserId="246" LastEditDate="2016-10-18T22:54:40.947" LastActivityDate="2016-10-18T22:54:40.947" Title="Sitecore GeoIP service with zipcode" Tags="|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1544" PostTypeId="2" ParentId="1543" CreationDate="2016-10-18T17:44:51.917" Score="3" Body="&lt;p&gt;The GeoIP service can be made to resolve at zipcode level. That said; you cannot rely on it to personalize your content for your visitor - real time. For that you need to look at other options - like creating your own MaxMind integration or looking at other alternatives.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1026/sitecore-ip-geo-location-service-personalization-with-geo-based-conditions-does&quot;&gt;Sitecore IP Geo location Service-Personalization with Geo-based conditions does not work&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-18T17:44:51.917" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1545" PostTypeId="2" ParentId="1541" CreationDate="2016-10-18T18:48:25.590" Score="5" Body="&lt;p&gt;You're missing Windows Process Activation Service on your computer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check &lt;code&gt;Control Panel &amp;gt; Programs &amp;gt; Programs and Features &amp;gt; Windows Process Activation Service&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details here: &#xA;&lt;a href=&quot;https://serverfault.com/questions/384237/service-was-was-not-found-on-computer&quot;&gt;https://serverfault.com/questions/384237/service-was-was-not-found-on-computer&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2017-04-13T12:14:55.523" LastActivityDate="2016-10-18T18:48:25.590" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1546" PostTypeId="2" ParentId="1524" CreationDate="2016-10-18T19:03:09.267" Score="4" Body="&lt;p&gt;What you are trying to do here is actually better accomplished through &lt;em&gt;Workflow&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;h1&gt;Using Workflow&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove the target users from the &lt;code&gt;Sitecore Client Publishing&lt;/code&gt; role(s).&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add a Workflow Action to the final Workflow step that automatically publishes the Item version that was just finalized.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;An example of this setup is provided in the Workflow included in a new Sitecore installation.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-18T19:03:09.267" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1547" PostTypeId="2" ParentId="1535" CreationDate="2016-10-18T19:56:59.447" Score="7" Body="&lt;p&gt;Thought I would introduce you to something with a change in approach. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore PowerShell Extensions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following returns the security objects associated with an item. No results indicate nothing specified explicitly. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$path = &quot;/sitecore/content/Concentra/DotCom/usa/Home&quot;&#xA;Get-Item -Path $path | Get-ItemAcl&#xA;&#xA;Account                          AccessRight          PermissionType   PropagationType  SecurityPermission&#xA;-------                          -----------          --------------   ---------------  ------------------&#xA;sitecore\michael                 item:read            Access           Entity           AllowAccess&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following returns a true/false value indicating that the user has &lt;code&gt;item:read&lt;/code&gt; access to the item.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$user = &quot;sitecore\michael&quot;&#xA;$path = &quot;/sitecore/content/Concentra/DotCom/usa/Home&quot;&#xA;Test-ItemAcl -Identity $user -Path $path -AccessRight item:read&#xA;True&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Reporting&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;We also have a report in SPE called &lt;em&gt;Items with security for an account&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KalNo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KalNo.png&quot; alt=&quot;Report of items with security&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="10" LastEditDate="2016-10-29T11:45:53.450" LastActivityDate="2016-10-29T11:45:53.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1548" PostTypeId="1" CreationDate="2016-10-18T20:18:16.060" Score="4" ViewCount="1089" Body="&lt;p&gt;I am building a Sitecore 8.1 / Solr 4.10 site. I want to be able to do a general site content query through the web database and only return content items that the current user has permissions to view.  To me this seems like a simple request and should be a no-brainer.  However we never figured this out properly. So we built what seems like a convoluted solution where we have 2 different custom fields in our Solr index - one called read_roles that is a list of all of the roles that have read access to the indexed item.  And another called denied_roles that is a list of all of the roles that do not have read access to the indexed item.  Then in our search method we apply a security filter using the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static IQueryable&amp;lt;T&amp;gt; ApplySecurityFilter&amp;lt;T&amp;gt;(this IQueryable&amp;lt;T&amp;gt; query) where T : SearchResultItem {&#xA;&#xA;    var userRoles = Sitecore.Context.User.Roles.Select(r =&amp;gt; r.Name);&#xA;&#xA;    var readPredicate = PredicateBuilder.False&amp;lt;T&amp;gt;();&#xA;    readPredicate = userRoles.Aggregate(readPredicate, (current, role) =&amp;gt; current.Or(i =&amp;gt; i[&quot;read_roles&quot;].Equals(role)));&#xA;&#xA;    var denyPredicate = PredicateBuilder.True&amp;lt;T&amp;gt;();&#xA;    denyPredicate = userRoles.Aggregate(denyPredicate, (current, role) =&amp;gt; current.And(i =&amp;gt; !i[&quot;denied_roles&quot;].Equals(role)));&#xA;&#xA;    if (readPredicate.Body.NodeType != System.Linq.Expressions.ExpressionType.Constant) {&#xA;        query = query.Filter(readPredicate);&#xA;    }&#xA;    if (readPredicate.Body.NodeType != System.Linq.Expressions.ExpressionType.Constant) {&#xA;        query = query.Filter(denyPredicate);&#xA;    }&#xA;    return query;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This seemed to work in Sitecore v7.5 but now I am having trouble in Sitecore 8.1.  Is there some simpler way of restricting the results in a Solr query to only be items that the current user has read access to?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Corey&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="237" LastEditDate="2016-10-18T20:34:46.547" LastActivityDate="2016-10-18T20:34:46.547" Title="How to query Solr and only return content items that the current user has permissions to view?" Tags="|solr|security|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1549" PostTypeId="2" ParentId="1548" CreationDate="2016-10-18T20:32:34.097" Score="2" Body="&lt;p&gt;If you enable security via the &lt;code&gt;SearchSecurityOptions&lt;/code&gt; in the &lt;code&gt;CreateSearchContext&lt;/code&gt; checking the access rights should be done for you. Although I have heard that the &lt;code&gt;TotalResults&lt;/code&gt; property is not ok when doing is and items are filtered out - also heard that paging might not be accurate. But the result set should be ok. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info also &lt;a href=&quot;https://stackoverflow.com/a/16685195/6144330&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding security information inside the index is tempting but very tricky. Security on an item can be changed in so many ways (user changes role, inheritance is broken on a parent, language security changes...) that it is very difficult to keep all the information up to date (without rebuilding the index each time).&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-18T20:32:34.097" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1550" PostTypeId="1" AcceptedAnswerId="1562" CreationDate="2016-10-18T20:50:25.393" Score="1" ViewCount="267" Body="&lt;p&gt;If I create a Sitecore package for some Dictionary items with Sitecore 7.5, can I import the package to a site running on Sitecore 8.1 Update 3?&lt;/p&gt;&#xA;" OwnerUserId="404" LastActivityDate="2016-10-18T23:16:43.547" Title="Sitecore Package Created on One Version and Imported to a Different Version" Tags="|packages|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1553" PostTypeId="2" ParentId="1550" CreationDate="2016-10-18T21:02:28.677" Score="1" Body="&lt;p&gt;Normally it is possible to import packages from lower versions. An issue could be if you have a field type that was changed, but that should not be the case for dictionary items. So I would go for it.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-18T21:02:28.677" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1554" PostTypeId="1" CreationDate="2016-10-18T21:03:26.777" Score="6" ViewCount="1014" Body="&lt;p&gt;Using Fortis Image.Render, is there a parameter to suppress rendering the Width and Height attributes?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example of the image:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Model.ImageField.Render(new { @class = &quot;my-class-name&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="868" LastEditorUserId="70" LastEditDate="2016-10-18T21:07:42.133" LastActivityDate="2016-10-18T21:07:42.133" Title="Is there a way to supress rendering width and height attribs using Fortis Image.Render?" Tags="|presentation|fortis|razor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1555" PostTypeId="2" ParentId="1554" CreationDate="2016-10-18T21:06:16.700" Score="6" Body="&lt;p&gt;You can't do that out of the box with Fortis because under the hood it is just using the standard Sitecore Field Renderer. This is what is adding the width and height attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a nice solution &lt;a href=&quot;http://www.mikkelhm.dk/archive/removing-width-and-height-tags-from-fieldrenderer-and-scimage/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; that adds a new processor to the &lt;code&gt;RenderField&lt;/code&gt; pipeline that strips out those attributes if a parameter called &lt;code&gt;responsive&lt;/code&gt; is added. With Fortis you would call it like this in your razor view:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Model.ImageField.Render(new { responsive = true })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code for the processor is as follows. It uses a simple regex to remove the width and height attributes from the rendered markup if the &lt;code&gt;responsive&lt;/code&gt; parameter exists. It then removes the &lt;code&gt;responsive&lt;/code&gt; tag that gets added by the field renderer too.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace SitecoreCustomization.Pipelines.RenderField&#xA;{&#xA;    public class GetImageFieldValueResponsive&#xA;    {&#xA;        public void Process(RenderFieldArgs args)&#xA;        {&#xA;            if (args.FieldTypeKey != &quot;image&quot;)&#xA;                return;&#xA;            if (args.Parameters.ContainsKey(&quot;responsive&quot;))&#xA;            {&#xA;                string imageTag = args.Result.FirstPart;&#xA;                imageTag = Regex.Replace(imageTag, @&quot;(&amp;lt;img[^&amp;gt;]*?)\s+height\s*=\s*\S+&quot;, &quot;$1&quot;, RegexOptions.IgnoreCase);&#xA;                imageTag = Regex.Replace(imageTag, @&quot;(&amp;lt;img[^&amp;gt;]*?)\s+width\s*=\s*\S+&quot;, &quot;$1&quot;, RegexOptions.IgnoreCase);&#xA;                imageTag = Regex.Replace(imageTag, @&quot;(&amp;lt;img[^&amp;gt;]*?)\s+responsive\s*=\s*\S+&quot;, &quot;$1&quot;, RegexOptions.IgnoreCase);&#xA;                args.Result.FirstPart = imageTag;&#xA;            }&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can patch it in like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;renderField&amp;gt;&#xA;        &amp;lt;processor &#xA;            patch:after=&quot;*[@type='Sitecore.Pipelines.RenderField.GetImageFieldValue, Sitecore.Kernel']&quot; &#xA;            type=&quot;SitecoreCustomization.Pipelines.RenderField.GetImageFieldValueResponsive, SitecoreCustomization&quot;/&amp;gt;&#xA;      &amp;lt;/renderField&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-18T21:06:16.700" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1556" PostTypeId="1" AcceptedAnswerId="1571" CreationDate="2016-10-18T22:00:32.707" Score="5" ViewCount="2548" Body="&lt;p&gt;I'm experimenting with the new Publish Service in a sandbox environment created with Sitecore Instance Manager. I followed the setup steps and I am able to publish individual items successfully. For example, I blanked out the Default Workflow field on the Sample Item standard values and published it successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a new folder under Home, then tried to fill that folder with items using the FillDb.aspx page. That all worked fine, I got a pile of folders and Sample Items under that new folder.  However, I cannot publish them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried Publish Site, Full Republish from the Publishing Dashboard, and clicking on my new folder and doing Publish Item with Publish Subitems checked.  Neither my new folder or any of the children will publish. The publish jobs show 0 versions published, save the Full Republish which shows ~4600 items. I generated 100,000 items so that number is way low.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what might be going on? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CJSyO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CJSyO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/OyKya.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OyKya.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-10-19T14:08:21.660" Title="Sitecore Publish Service not publishing new items" Tags="|publishing-service|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1557" PostTypeId="1" AcceptedAnswerId="1558" CreationDate="2016-10-18T22:04:02.823" Score="1" ViewCount="1937" Body="&lt;p&gt;I know that there are solutions for this, and I have written some myself, but what I don't understand is why Sitecore doesn't redirect with 404 OOTB for page not found errors. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if there is a reason why Sitecore &lt;s&gt;doesn't fix this&lt;/s&gt; chose to implement it this way and/or if there is any reason why they have patched it?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-10-18T22:30:14.597" LastActivityDate="2016-10-18T22:38:24.607" Title="Why does Sitecore redirect with status code 302 for page not found errors?" Tags="|redirect|" AnswerCount="1" CommentCount="2" ClosedDate="2016-10-19T07:48:27.887" ContentLicense="CC BY-SA 3.0" />
  <row Id="1558" PostTypeId="2" ParentId="1557" CreationDate="2016-10-18T22:13:28.557" Score="3" Body="&lt;p&gt;I'm not sure it's necessarily a case of that they &lt;em&gt;won't&lt;/em&gt; fix it, it's just a case of priority. Like all development projects, they'll have a backlog of issues and features that they want to address, and how they go about prioritising them is up to them. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure of the original decision behind the 302 redirect, and I can't think of a good reason why it should work like how it does. My honest guess would be that it was just built as a straight-forward redirect as a simple development approach, rather than a conscious decision to not account for correct status values. That is pure speculation on my part though. Though I'm supplying this as answer, someone maybe able to offer more insight here, if there is any to be had.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best thing to do would be to make sure they're aware of it as something you'd like to see changed. &lt;a href=&quot;https://sitecorecommunity.uservoice.com/&quot; rel=&quot;nofollow&quot;&gt;Raise it on the UserVoice&lt;/a&gt; and also considering reaching out to support.&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-18T22:38:24.607" LastActivityDate="2016-10-18T22:38:24.607" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1559" PostTypeId="2" ParentId="1451" CreationDate="2016-10-18T22:45:10.333" Score="2" Body="&lt;p&gt;So out of the box it is not possible to use different search handler through Sitecore SOLR content search. Sitecore's SOLR implementation is based on SOLR.NET, which hard codes the search handler to use in the &quot;SolrQueryExecuter&quot; class.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Default Solr query handler&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public static readonly string DefaultHandler = &quot;/select&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The DefaultHandler to use from the SolrQueryExecuter class.&#xA;The original code can be found here.&#xA;&lt;a href=&quot;https://github.com/mausch/SolrNet/blob/master/SolrNet/Impl/SolrQueryExecuter.cs&quot; rel=&quot;nofollow&quot;&gt;https://github.com/mausch/SolrNet/blob/master/SolrNet/Impl/SolrQueryExecuter.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could implement your own executer class an patch it through the SolrNET Startup container you are using. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Register&amp;lt;ISolrQueryExecuter&amp;lt;T&amp;gt;&amp;gt;(c =&amp;gt; new SolrQueryExecuter&amp;lt;T&amp;gt;(c.GetInstance&amp;lt;ISolrAbstractResponseParser&amp;lt;T&amp;gt;&amp;gt;(), connection, c.GetInstance&amp;lt;ISolrQuerySerializer&amp;gt;(), c.GetInstance&amp;lt;ISolrFacetQuerySerializer&amp;gt;(), c.GetInstance&amp;lt;ISolrMoreLikeThisHandlerQueryResultsParser&amp;lt;T&amp;gt;&amp;gt;()));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The initialization code for the default SolrQueryExecuter do in the SolrNET.Startup.Init method.&#xA;The Original code can be found here:&#xA;&lt;a href=&quot;https://github.com/mausch/SolrNet/blob/master/SolrNet/Startup.cs&quot; rel=&quot;nofollow&quot;&gt;https://github.com/mausch/SolrNet/blob/master/SolrNet/Startup.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SolrNET.Startup.Container is a public property, and thus can be altered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However this will not give you the option to choose which one to use on query time.&lt;/p&gt;&#xA;" OwnerUserId="79" LastActivityDate="2016-10-18T22:45:10.333" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1562" PostTypeId="2" ParentId="1550" CreationDate="2016-10-18T23:16:43.547" Score="4" Body="&lt;p&gt;If you are talking about following templates (not any custom that I am not aware of):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Dictionary folder&lt;/strong&gt;: &lt;code&gt;{267D9AC7-5D85-4E9D-AF89-99AB296CC218}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Dictionary entry&lt;/strong&gt;: &lt;code&gt;{6D1CD897-1936-4A3A-A511-289A94C2A7B1}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then the answer is &lt;strong&gt;YES&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In one open source module we haven't change many dictionary items for a long time (5 years already) and everything is fine..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Package structure wasn't changed since &lt;strong&gt;Sitecore 7.5&lt;/strong&gt;  for sure so I don't see any contraindications.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-18T23:16:43.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1564" PostTypeId="1" AcceptedAnswerId="1608" CreationDate="2016-10-18T23:46:42.877" Score="3" ViewCount="278" Body="&lt;p&gt;We're currently trying the integrate the WFFM Save Actions provided in the Dynamics CRM Campaign Integration (2.2) to create a contact, then create an CRM Entity and assign it to the contact. The module appears to provide this option, allowing us to select &quot;Previous Save Action&quot; as the &quot;Use value from&quot; and then selecting the previous save action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However even though the create contact action executes successfully, the create entity step fails with &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;64724 10:28:56 WARN  [WFFM] 'Sitecore.CrmCampaignIntegration.Submit.CreateCrmEntity' does not contain a definition for 'Context'&#xA;Exception: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException&#xA;Message: 'Sitecore.CrmCampaignIntegration.Submit.CreateCrmEntity' does not contain a definition for 'Context'&#xA;Source: Anonymously Hosted DynamicMethods Assembly&#xA;at CallSite.Target(Closure , CallSite , Object )&#xA;at Sitecore.CrmCampaignIntegration.Submit.CreateCrmEntity.GetValue(XCrmField field, AdaptedResultList list)&#xA;at Sitecore.CrmCampaignIntegration.Submit.CreateCrmEntity.SetProperties(ICrmEntity entity, AdaptedResultList fields)&#xA;at Sitecore.CrmCampaignIntegration.Submit.CreateCrmEntity.Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext, Object[] data)&#xA;at Sitecore.Forms.Core.Dependencies.DefaultImplActionExecutor.ExecuteSaving(ID formID, ControlResult[] fields, IActionDefinition[] actionDefinitions, Boolean simpleAdapt, ID sessionID)&#xA;&#xA;64724 10:28:56 WARN  [WFFM] The 'Create CRM Entity[id={2232D4D2-7A72-44AA-A3C2-65F018A9E2B2}]' save action failed: We experienced a technical difficulty while processing your request. Your data may not have been correctly saved.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This issue doesn't occur when I use &quot;CRM&quot; as the field source and select an existing contact. So it seems like the pass through of the previous action doesn't happen, i.e. the Form Context doesn't exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on how to solve this one or work around it?&lt;/p&gt;&#xA;" OwnerUserId="439" LastActivityDate="2016-10-20T03:27:10.543" Title="WFFM Dynamics CRM Campaign Itegration - Chaining save actions" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1565" PostTypeId="2" ParentId="1524" CreationDate="2016-10-19T04:05:40.710" Score="0" Body="&lt;p&gt;This is not possible &quot;out of the box&quot;, in my opinion. Peeking the code that is handling this form wizard &lt;code&gt;Sitecore.Shell.Applications.Dialogs.Publish.PublishForm,Sitecore.Client&lt;/code&gt; there is no option to be dynamic somehow with this checkbox option on the form.&#xA;It means, the only option how to achieve your goal is to make your custom form that will be replacing the original Sitecore's one. Than you can apply your new publish policy for example in the similar manner as Sitecore does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;BTW, I would say this checkbox is showing only in case you have chosen &lt;strong&gt;Publish Item&lt;/strong&gt; option, it's not present in &lt;strong&gt;Publish Site&lt;/strong&gt; by principle. &lt;/p&gt;&#xA;" OwnerUserId="730" LastActivityDate="2016-10-19T04:05:40.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1566" PostTypeId="2" ParentId="1432" CreationDate="2016-10-19T05:27:36.723" Score="4" Body="&lt;p&gt;Be careful about the governance process around environment specific configuration. The Helix documentation contains a whole section around configuration and value scope (&lt;em&gt;which circumstances makes a config value change&lt;/em&gt;) as well as deployment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The files in version control and visual studio are typically maintained in the development process, whereas environment specific configuration should be maintained as part of the deployment process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Output from the development process should be an environment-agnostic, versioned package. This package can then be deployed onto multiple environments and the environment specific configuration then applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you store environment specific configs as part of your solution in version control, you would effectively have to deploy a new version of your solution in case of a change in any environment (dev, test, staging, production).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, the recommendation is to keep only the development environment configuration in version control - as part of each module (or overall configuration in the project layer modules) - and then manage environment-specific configuration as part of the deployment process, e.g. as part of an automated deployment tool like Octopus.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read more in the &lt;a href=&quot;http://helix.sitecore.net/devops/deployment/index.html&quot; rel=&quot;nofollow&quot;&gt;deployment section&lt;/a&gt; in Helix&lt;/p&gt;&#xA;" OwnerUserId="92" LastActivityDate="2016-10-19T05:27:36.723" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1567" PostTypeId="2" ParentId="236" CreationDate="2016-10-19T05:36:42.317" Score="5" Body="&lt;p&gt;When adding a new project, simply create the project &quot;code&quot;, and then rename the project and namespace to your preferred name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check out the following workshop video:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://youtu.be/4lC-SdYh4Xg?list=PL1jJVFm_lGnz0XzXU5uNJSgTGMxNFsOky&quot; rel=&quot;noreferrer&quot;&gt;https://youtu.be/4lC-SdYh4Xg?list=PL1jJVFm_lGnz0XzXU5uNJSgTGMxNFsOky&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Yeoman generators are great for setting up additional parts like the .config, TDS, unit tests etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.npmjs.com/package/generator-prodigious-helix&quot; rel=&quot;noreferrer&quot;&gt;https://www.npmjs.com/package/generator-prodigious-helix&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="92" LastActivityDate="2016-10-19T05:36:42.317" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1568" PostTypeId="1" AcceptedAnswerId="1925" CreationDate="2016-10-19T07:35:45.767" Score="15" ViewCount="4252" Body="&lt;p&gt;As a result of a security audit, we must prevent an attacker from being able to do a &lt;em&gt;cookie replay&lt;/em&gt; attack. Apparently &lt;a href=&quot;https://www.vanstechelman.eu/content/cookie-replay-attacks-in-aspnet-when-using-forms-authentication&quot;&gt;this weakness has been around in the .NET framework for ages&lt;/a&gt;. There is also an old &lt;a href=&quot;https://support.microsoft.com/en-us/kb/900111&quot;&gt;Microsoft Knowledge Base article&lt;/a&gt; on that subject.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In contrast to the workarounds mentioned in the MS KB, the blog post recommends to mitigate this weakness by implementing the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;When signing in, set a boolean session variable to &lt;code&gt;true&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;When signing out, set the session variable to &lt;code&gt;false&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Check the session variable on each request. If the value is &lt;code&gt;false&lt;/code&gt; (or non-existing), return &lt;code&gt;not authenticated&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is this method sufficient to prevent a cookie replay attack? If it is, we would like to implement this in Sitecore in a way that developers don't have to think about it. Our idea is to override Sitecore's &lt;code&gt;FormsAuthenticationProvider&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Override all three &lt;code&gt;Login&lt;/code&gt; methods and initialize the boolean session variable if login succeeded.&lt;/li&gt;&#xA;&lt;li&gt;Override the &lt;code&gt;Logout&lt;/code&gt; method to set the session variable to &lt;code&gt;false&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Override the &lt;code&gt;GetActiveUser&lt;/code&gt; method and take action if the conditions are not met.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But how to override &lt;code&gt;GetActiveUser&lt;/code&gt; exactly? Do we return &lt;code&gt;Context.Domain.GetAnonymousUser() ?? Domain.GetDefaultAnonymousUser()&lt;/code&gt;, like the &lt;code&gt;AuthenticationHelper&lt;/code&gt; class does when there is no valid user?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or is there a better way to transparently implement this in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Relevant information:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Website is only accessible with https&lt;/li&gt;&#xA;&lt;li&gt;Cookies are already flagged as &lt;code&gt;httponly&lt;/code&gt; and &lt;code&gt;secure&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;On log out, we call &lt;code&gt;AuthenticationManager.Logout();&lt;/code&gt; and &lt;code&gt;Session.Clear();&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore v7.2 rev 140314&lt;/li&gt;&#xA;&lt;li&gt;.NET 4.5&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="114" LastEditorUserId="114" LastEditDate="2016-10-19T07:50:39.427" LastActivityDate="2016-10-27T17:37:42.840" Title="How to prevent a cookie replay attack?" Tags="|security|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1569" PostTypeId="2" ParentId="1568" CreationDate="2016-10-19T07:42:15.867" Score="1" Body="&lt;p&gt;I would abandon the session if the variable is not present or false. Sitecore should do the rest. You can also explicitly logout the current user before abandoning the session.&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-10-19T07:42:15.867" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1570" PostTypeId="2" ParentId="1026" CreationDate="2016-10-19T07:46:54.090" Score="6" Body="&lt;p&gt;Sitecore Personalization using GEO IP is not executed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works after i added new rule under (/sitecore/system/Settings/Rules/Definitions/Elements/GeoIP/)to check country with country code not country name as already exists in sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The existing rule:&#xA; &lt;strong&gt;where the country compares to specific country&lt;/strong&gt; did not work properly because the returned value for &quot;Country&quot; from the service is &quot;country code&quot; so it compares country code with country name &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rdvnr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rdvnr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a new rule “CountryCode” to check country with country code under the following path then it works.&#xA;(/sitecore/system/Settings/Rules/Definitions/Elements/GeoIP/CountryCode)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Q4Xuw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q4Xuw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E6HHe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E6HHe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding text from rules for Text and Type properties so that users can copy directly from here.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Text:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where the country [operatorid,StringOperator,,comares to] [value,,,specific country code]&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Type [shared]:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Analytics.Rules.Conditions.CountryCondition,Sitecore.Analytics&lt;/p&gt;&#xA;" OwnerUserId="635" LastEditorUserId="526" LastEditDate="2018-02-05T10:31:22.087" LastActivityDate="2018-02-05T10:31:22.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1571" PostTypeId="2" ParentId="1556" CreationDate="2016-10-19T07:56:03.387" Score="14" Body="&lt;p&gt;The problem here is with FillDB .. it uses quite a rough-and-ready script to make items, and so it generates items that do not have a unique &lt;code&gt;revision&lt;/code&gt; field (it leaves this field blank so it defaults to the Standard Values field - it does this for quite a lot of the &lt;em&gt;standard&lt;/em&gt; fields).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the &lt;code&gt;Publishing Service&lt;/code&gt; to publish an item it &lt;em&gt;must&lt;/em&gt; have a valid &lt;code&gt;revision&lt;/code&gt; field, this is why it is skipping those items. We use the &lt;code&gt;revision&lt;/code&gt; field to track uniqueness of edits to items so we can compare edits of the same version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is happening is that the &lt;code&gt;Publishing Service&lt;/code&gt; will look at the &lt;code&gt;revision&lt;/code&gt; field and see no change (as the Standard Values item has not changed, so its &lt;code&gt;revision&lt;/code&gt; field is still the same) and so thinks there is no work to do and skips the item(s).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are these issues not logged in the publish service log ? If so I will raise this as a bug to provide more user feedback.&lt;/p&gt;&#xA;" OwnerUserId="201" LastEditorUserId="201" LastEditDate="2016-10-19T08:05:48.217" LastActivityDate="2016-10-19T08:05:48.217" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1572" PostTypeId="2" ParentId="408" CreationDate="2016-10-19T09:13:54.273" Score="3" Body="&lt;ol&gt;&#xA;&lt;li&gt;You have to migrate 6.5 to 7.2 through every revision with manual update. You may have a lot of issues to fix, especially if you are using indexes extensively. We did have a lot of issues as we were using indexes at a lot of places.  &lt;/li&gt;&#xA;&lt;li&gt;Use Express tool to migrate from 7.2 to 8.2.   &lt;/li&gt;&#xA;&lt;li&gt;Upgrade the rest of the customization/code through a manual process.    &lt;/li&gt;&#xA;&lt;li&gt;Fix issues Throughout the upgrade process, you either need to freeze content or do the dual content maintenance.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-10-19T09:13:54.273" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1573" PostTypeId="1" AcceptedAnswerId="1574" CreationDate="2016-10-19T09:47:45.290" Score="8" ViewCount="847" Body="&lt;p&gt;We have renderings which have compatible renderings configured. The button in the Experience Editor (Sitecore 8.1 Update-3) shows up on our local development environments and renderings can be replaced without problems. However on our testing environment, the button is gray (disabled). What could be the cause of this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I searched for the command to look in the code what could be the cause of that. I see that it executes &lt;code&gt;chrome:rendering:morph&lt;/code&gt; but I don't find a class which maps to this command. Anyone knows which command this is? It seems that something causes the command to be disabled.&lt;/p&gt;&#xA;" OwnerUserId="162" LastActivityDate="2018-10-31T19:46:36.590" Title="&quot;Replace Rendering&quot; in Experience Editor disabled" Tags="|experience-editor|presentation|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1574" PostTypeId="2" ParentId="1573" CreationDate="2016-10-19T10:01:25.627" Score="12" Body="&lt;p&gt;The replace button doesn't appear on Experience Editor in 2 cases : &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When rendering doesn't have any renderings or sublayouts in Complatible Renderings field. &lt;/li&gt;&#xA;&lt;li&gt;When Renderings or sublayouts are not in Allowed Controls of the Placeholder Settings. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-19T10:01:25.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1575" PostTypeId="1" AcceptedAnswerId="1581" CreationDate="2016-10-19T10:41:16.557" Score="6" ViewCount="480" Body="&lt;p&gt;We are currently trying to improve spam-scores for our customers' email campaigns and have used the tool &lt;a href=&quot;https://www.mail-tester.com/&quot; rel=&quot;noreferrer&quot;&gt;https://www.mail-tester.com/&lt;/a&gt; which states that we are being penalized by not including a &lt;strong&gt;List-Unsubscribe&lt;/strong&gt; header/functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know (or have implemented) functionality to the EXM pipeline that adds the List-Unsubscribe header to emails? Googling and the Sitecore knowledge base has failed me so far.&lt;/p&gt;&#xA;" OwnerUserId="884" LastActivityDate="2017-03-14T14:07:43.110" Title="EXM: Adding &quot;List-Unsubscribe&quot; header to emails" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1576" PostTypeId="1" CreationDate="2016-10-19T10:54:23.880" Score="5" ViewCount="198" Body="&lt;p&gt;Is it possible to share an analytics goal and then filter by device when viewing the report? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are programmatically registering a goal from the website (through webapi) and it's working fine. We now want to allow a mobile app to use the same webapi to register the same user action, hence the same goal. Will we be able to separate/filter by channel when reporting so we to distinguish them?&lt;/p&gt;&#xA;" OwnerUserId="88" LastEditorUserId="104" LastEditDate="2016-10-26T07:40:44.033" LastActivityDate="2018-04-11T10:46:20.647" Title="Filter analytics goal report by device" Tags="|experience-analytics|reporting|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1577" PostTypeId="1" AcceptedAnswerId="1579" CreationDate="2016-10-19T10:59:37.433" Score="6" ViewCount="2431" Body="&lt;p&gt;I wanted to know better way to reset Display Name to empty using PowerShell scripts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have written below script..&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item &quot;/sitecore/content/home&quot;&#xA;$item.Editing.BeginEdit()&#xA;$item[&quot;{B5E02AD9-D56F-4C41-A065-A133DB87BDEB}&quot;] = &quot;&quot;&#xA;$item.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which works but I'm not sure its the correct way or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried something like &lt;code&gt;$item[Sitecore::FieldIDs::DisplayName] = &quot;&quot;&lt;/code&gt; which doesn't work ..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="70" LastEditDate="2016-11-08T18:55:15.083" LastActivityDate="2016-11-08T18:55:15.083" Title="How to reset DisplayName to empty using Sitecore PowerShell Extensions?" Tags="|powershell-extensions|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1578" PostTypeId="2" ParentId="1577" CreationDate="2016-10-19T11:01:44.290" Score="3" Body="&lt;p&gt;Try this:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Reset-ItemField -Item $item -Name &quot;__Display Name&quot; -IncludeStandardFields&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;source: &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Reset-ItemField.html&quot; rel=&quot;nofollow&quot;&gt;Reset-ItemField docs&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-19T11:07:03.623" LastActivityDate="2016-10-19T11:07:03.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1579" PostTypeId="2" ParentId="1577" CreationDate="2016-10-19T11:04:08.883" Score="11" Body="&lt;p&gt;You can use this to set it to empty. With this you don't need to wrap the change with &lt;code&gt;BeginEdit&lt;/code&gt; and &lt;code&gt;EndEdit&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item.&quot;__Display Name&quot; = &quot;&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You only need the quotes here as there is a space in the name, a field without a space can be accessed like so: &lt;code&gt;$item.MyField&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you actually want to reset the field value, rather than explicitly set it as empty, use:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Reset-ItemField -Item $item -IncludeStandardFields -Name &quot;__Display Name&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-19T11:11:10.863" LastActivityDate="2016-10-19T11:11:10.863" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1580" PostTypeId="2" ParentId="1577" CreationDate="2016-10-19T11:04:39.417" Score="2" Body="&lt;p&gt;This should do the trick:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-Item &quot;master:/sitecore/content/home&quot; | Reset-ItemField -IncludeStandardFields -Name &quot;__Display Name&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See reference &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Reset-ItemField.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. The &lt;code&gt;IncludeStandardFields&lt;/code&gt; is needed as this field is a Sitecore standard field.&lt;/p&gt;&#xA;" OwnerUserId="162" LastActivityDate="2016-10-19T11:04:39.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1581" PostTypeId="2" ParentId="1575" CreationDate="2016-10-19T11:55:40.840" Score="3" Body="&lt;p&gt;Assuming you're using EXM 3.3 (or later) this can be done by overriding the dispatchprovider. You'll find this element under /sitecore/exm/eds/dispatchManager in the configuration (Sitecore.EDS.Providers.CustomSMTP.config or Sitecore.EDS.Providers.Dyn.config) e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dispatchManager defaultProvider=&quot;default&quot;&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear /&amp;gt;&#xA;        &amp;lt;add name=&quot;default&quot; type=&quot;Sitecore.EDS.Providers.CustomSmtp.DispatchProvider, Sitecore.EDS.Providers.CustomSmtp&quot;&amp;gt;&#xA;            &amp;lt;param ref=&quot;exm/eds/connectionPool&quot; /&amp;gt;&#xA;            &amp;lt;param ref=&quot;exm/eds/environmentIdentifier&quot; /&amp;gt;&#xA;        &amp;lt;/add&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/dispatchManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll need to override the SetMessageHeaders method e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void SetMessageHeaders(EmailMessage message)&#xA;{&#xA;    base.SetMessageHeaders(message);&#xA;    message.Headers.Set(&quot;Your-Header-Name&quot;, &quot;Your-Value&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In &lt;strong&gt;EXM 3.4&lt;/strong&gt; and later, this configuration element has changed and is now called&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dispatchProvider defaultProvider=&quot;default&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear /&amp;gt;&#xA;            &amp;lt;add name=&quot;default&quot; type=&quot;Sitecore.EDS.Providers.CustomSmtp.DispatchProvider, Sitecore.EDS.Providers.CustomSmtp&quot;&amp;gt;&#xA;                &amp;lt;param ref=&quot;exm/eds/connectionPool&quot; /&amp;gt;&#xA;                &amp;lt;param ref=&quot;exm/eds/environmentIdentifier&quot; /&amp;gt;&#xA;            &amp;lt;/add&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/dispatchProvider&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="121" LastActivityDate="2016-10-19T11:55:40.840" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1582" PostTypeId="1" AcceptedAnswerId="1649" CreationDate="2016-10-19T12:30:41.487" Score="10" ViewCount="211" Body="&lt;p&gt;As you all might know Sitecore issued a critical security hotfix, after applying the fix to our client sites, most of them went down for on average 30 minutes before going back up again, and one of them is still down, does anyone know what is causing this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the Sitecore Logs for one of our sites, and the only exception that caught my eye was the following, but I still doubt that it is the cause:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR SessionEndPipeline failed.&#xA;Exception: System.ArgumentNullException&#xA;Message: Value cannot be null.&#xA;Parameter name: owner&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String     argumentName)&#xA;   at Sitecore.Diagnostics.Log.Warn(String message, Object owner)&#xA;   at Sitecore.WFFM.Core.Extensions.Warn.IsNull(Object obj, String name)&#xA;   at Sitecore.WFFM.Analytics.AnalyticsTracker.RegisterFormDropouts()&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs     args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs     args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs     args)&#xA;   at Sitecore.Pipelines.EndSession.SessionEndPipeline.Run(SessionEndArgs     sessionEndArgs)&#xA;   at Sitecore.Web.Application.RaiseSessionEndEvent(HttpApplication context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="329" LastEditorUserId="73" LastEditDate="2016-10-20T23:09:21.947" LastActivityDate="2016-10-20T23:09:21.947" Title="After applying the Q3 2016 Security Update our sites went down" Tags="|security|performance|" AnswerCount="1" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="1583" PostTypeId="2" ParentId="1371" CreationDate="2016-10-19T13:37:37.110" Score="4" Body="&lt;p&gt;We found that by using an Incognito window in Google Chrome or using Private Browsing Mode in Firefox that this error will go away and we can continue work in Sitecore. Hope this helps others with this issue in the future.&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2016-10-19T13:37:37.110" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1584" PostTypeId="1" AcceptedAnswerId="1585" CreationDate="2016-10-19T13:41:09.123" Score="9" ViewCount="3374" Body="&lt;p&gt;Is there a way in Sitecore Powershell Extensions to create new language versions of a branch in the content tree? I need it to copy exactly the presentation details set on the current language to the new language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found this article &lt;a href=&quot;https://www.cognifide.com/our-blogs/sitecore/quickly-create-new-language-versions-on-your-sitecore-cms/&quot;&gt;https://www.cognifide.com/our-blogs/sitecore/quickly-create-new-language-versions-on-your-sitecore-cms/&lt;/a&gt; so would like to do the same but with SPE.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2020-08-11T06:45:32.373" Title="Create new language version for content branch" Tags="|powershell-extensions|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1585" PostTypeId="2" ParentId="1584" CreationDate="2016-10-19T13:44:30.363" Score="14" Body="&lt;p&gt;There is already one &lt;a href=&quot;http://www.coreblimeysitecore.com/blog/create-language-versions-using-sitecore-powershell/&quot; rel=&quot;nofollow&quot;&gt;blog post&lt;/a&gt; on this topic on Internet&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code snippet from the blog as below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Add-ItemLanguage -Path &quot;master:\sitecore\content&quot; -Language &quot;en&quot; -TargetLanguage &quot;de-DE&quot; -IfExist OverwriteLatest  -IgnoredFields &quot;&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For recursive you can try below PowerShell script&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-ChildItem /sitecore/content/home -Recurse |&#xA;  Where-Object { $_.&quot;TemplateName&quot; = &quot;Sample Item&quot; } |&#xA;  ForEach-Object { Add-ItemLanguage $_ -Language &quot;en&quot; -TargetLanguage &quot;de-DE&quot; -IfExist OverwriteLatest  -IgnoredFields &quot;&quot; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2016-10-21T07:40:20.367" LastActivityDate="2016-10-21T07:40:20.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1586" PostTypeId="1" AcceptedAnswerId="1588" CreationDate="2016-10-19T13:53:05.247" Score="17" ViewCount="1964" Body="&lt;p&gt;In Experience Marketing terms we have something called a &lt;code&gt;Page Event&lt;/code&gt;. &#xA;Sitecore's documentation explain a &lt;code&gt;Page Event&lt;/code&gt; like as such:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Events track visitor activity on a website. Tracking events helps&#xA;  build up a more complete picture of a visitor’s behavior as they&#xA;  navigate your website. You should assign engagement value points to&#xA;  all events to reflect their relative importance to your organization.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Aside from a &lt;code&gt;Page Event&lt;/code&gt; we also have a &lt;code&gt;Goal&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Goals are activities that visitors can perform on your website. You&#xA;  create goals to track and measure how visitors engage with the website&#xA;  and campaigns – both online and offline.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Looking at the &lt;code&gt;Goal&lt;/code&gt; template in Sitecore I noticed two sections - &lt;code&gt;Options&lt;/code&gt; and &lt;code&gt;Experience Profile Options&lt;/code&gt;, with two interesting fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/F6TaC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F6TaC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you create a Goal, uncheck &lt;code&gt;Is Goal&lt;/code&gt; and check &lt;code&gt;Show in Events&lt;/code&gt;, the &lt;code&gt;Goal&lt;/code&gt; behaves just like a &lt;code&gt;Page Event&lt;/code&gt; (correct me if I'm wrong here).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So when and why would you ever use a Page Event?&lt;/strong&gt;&lt;br&gt;&#xA;Both &lt;code&gt;Page Events&lt;/code&gt; and &lt;code&gt;Goals&lt;/code&gt; get an engagement value assigned, both can be assigned to items (pages) and even if you specifically want a &lt;code&gt;Page Event&lt;/code&gt; to be tracked you can still use a &lt;code&gt;Goal&lt;/code&gt; that is configured to act like a &lt;code&gt;Page Event&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="239" LastEditorUserId="246" LastEditDate="2016-10-19T13:59:19.110" LastActivityDate="2020-04-10T14:00:16.903" Title="When would you use a Page Event?" Tags="|experience-profile|marketing-control-panel|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1587" PostTypeId="2" ParentId="1556" CreationDate="2016-10-19T13:58:03.903" Score="4" Body="&lt;p&gt;As Stephen pointed out, it's a shortcoming of the Fill Db tool.  We're hoping to get a fix for this out in the next Sitecore release (but no promises).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the meantime, you can use the following SQL script to 'repair' your Items.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first script will report any Item versions that don't have a revision field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second script will create a revision field for all Items that don't have one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will then allow the Publishing Service to publish all Items correctly.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;-- Report all the Versions that have no revision field&#xA;SELECT detectedVersion.*, revisionBasedVersion.*&#xA;  FROM (&#xA;    SELECT ItemId, Language, Version&#xA;    FROM VersionedFields vf&#xA;    GROUP BY ItemId, Language, Version) AS detectedVersion&#xA;&#xA;LEFT OUTER JOIN (&#xA;    SELECT ItemId, Language, Version&#xA;    FROM VersionedFields&#xA;    WHERE FieldId = '8CDC337E-A112-42FB-BBB4-4143751E123F') revisionBasedVersion&#xA;        ON detectedVersion.ItemId = revisionBasedVersion.ItemId AND&#xA;           detectedVersion.Language = revisionBasedVersion.Language AND&#xA;           detectedVersion.Version = revisionBasedVersion.Version&#xA;&#xA;WHERE revisionBasedVersion.ItemId IS NULL&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;--&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-- Create a revision field for all versions that don't have one&#xA;  INSERT INTO VersionedFields (&#xA;     Id, &#xA;     ItemId, &#xA;     Language, &#xA;     Version, &#xA;     FieldId, &#xA;     Value, &#xA;     Created, &#xA;     Updated)&#xA;  SELECT NEWID(), &#xA;         detectedVersion.ItemId, &#xA;         detectedVersion.Language, &#xA;         detectedVersion.Version, &#xA;         '8CDC337E-A112-42FB-BBB4-4143751E123F', &#xA;         LOWER(CONVERT(NVARCHAR(50), NEWID())),&#xA;         GETDATE(),&#xA;         GETDATE()&#xA;  FROM (&#xA;    SELECT ItemId, Language, Version&#xA;    FROM VersionedFields vf&#xA;    GROUP BY ItemId, Language, Version) AS detectedVersion&#xA;&#xA;    LEFT OUTER JOIN (&#xA;        SELECT ItemId, Language, Version&#xA;        FROM VersionedFields&#xA;        WHERE FieldId = '8CDC337E-A112-42FB-BBB4-4143751E123F') revisionBasedVersion&#xA;            ON detectedVersion.ItemId = revisionBasedVersion.ItemId AND&#xA;               detectedVersion.Language = revisionBasedVersion.Language AND&#xA;               detectedVersion.Version = revisionBasedVersion.Version&#xA;&#xA;  WHERE revisionBasedVersion.ItemId IS NULL&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="588" LastEditorUserId="73" LastEditDate="2016-10-19T14:08:21.660" LastActivityDate="2016-10-19T14:08:21.660" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1588" PostTypeId="2" ParentId="1586" CreationDate="2016-10-19T14:09:18.927" Score="14" Body="&lt;p&gt;It's not so much of a technical difference, as you can see, with a few settings you can get the goal to act just like an event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The difference is more of a conceptual one:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Goals&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Goals are &quot;events&quot; that occur at the end of a key user journey. They offer meaningful insight into how well your site is doing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Examples:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Completing a booking form&lt;/li&gt;&#xA;&lt;li&gt;Registering for the site&lt;/li&gt;&#xA;&lt;li&gt;Requesting a brochure&lt;/li&gt;&#xA;&lt;li&gt;Signing up to the mailing list&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Page Events&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Page events could for absolutely anything you want to track that doesn't necessarily mean a &quot;successful goal&quot; state was reached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Conceptually these are likely less important but also meaningful to track. They are called Page Events as often they related to something the user carried out whilst on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Examples: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A search returned no results&lt;/li&gt;&#xA;&lt;li&gt;The user expanded an accordion option&lt;/li&gt;&#xA;&lt;li&gt;The user canceled the registration dialog&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-19T14:09:18.927" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1589" PostTypeId="1" AcceptedAnswerId="1593" CreationDate="2016-10-19T14:14:40.803" Score="18" ViewCount="1248" Body="&lt;p&gt;Profiles have a &lt;code&gt;Decay rate&lt;/code&gt; field.&lt;br&gt;&#xA;The &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/historical_personalization/contact_behavior_profile&quot; rel=&quot;noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt; explains it as:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;...you can control how long an individual profile or pattern card is&#xA;  relevant to the Contact Behavior Profile by setting the decay rate.&#xA;  The decay rate is a percentage that expresses how relevant the profile&#xA;  will remain over time.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But that is not clear enough for me.  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When is the decay rate actually applied to the Contact Behaviour Profile?  &lt;/li&gt;&#xA;&lt;li&gt;Daily, weekly, monthly? &lt;/li&gt;&#xA;&lt;li&gt;Or is that configurable somewhere?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0CeLG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0CeLG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="239" LastEditorUserId="5387" LastEditDate="2019-08-06T13:26:04.087" LastActivityDate="2019-08-06T13:26:04.087" Title="What does a profile's Decay Rate actually do?" Tags="|xdb|experience-profile|marketing-control-panel|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1590" PostTypeId="1" AcceptedAnswerId="1591" CreationDate="2016-10-19T14:19:48.363" Score="5" ViewCount="557" Body="&lt;p&gt;I want to let the editors change between &lt;code&gt;shared layout&lt;/code&gt; and &lt;code&gt;final layout&lt;/code&gt; in the &lt;code&gt;Experience Editor&lt;/code&gt;, but currently, they can't view that option without adding a new role to them.&lt;br&gt;&#xA;How can I grant access to that part using the security editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; &lt;code&gt;Sitecore 8.1&lt;/code&gt;, they have a custom version of &lt;code&gt;Sitecore Client Authoring&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="892" LastEditorUserId="5387" LastEditDate="2019-08-06T13:25:03.787" LastActivityDate="2019-08-06T13:25:03.787" Title="Where is shared and final layout in the security Editor" Tags="|experience-editor|sitecore-client|editor-user-permissions|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="1591" PostTypeId="2" ParentId="1590" CreationDate="2016-10-19T14:31:54.703" Score="13" Body="&lt;p&gt;The minimal out of the box sitecore role that gives you such capabilities(considering no overrides were done) is &lt;code&gt;sitecore\Sitecore Client Designing&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to assign a role to your own custom role you can give read access over the buttons chunk beneath &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/Chunks/Layout Modes&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the the actual tab sections are located beneath &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Advanced/Layout&lt;/code&gt; where you should assign read permissions if they are not already assigned.&lt;/p&gt;&#xA;" OwnerUserId="127" LastEditorUserId="127" LastEditDate="2016-10-19T14:48:15.150" LastActivityDate="2016-10-19T14:48:15.150" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1592" PostTypeId="1" AcceptedAnswerId="1594" CreationDate="2016-10-19T14:35:13.590" Score="7" ViewCount="1242" Body="&lt;p&gt;I have noticed that clicking the Abort button in the PowerShell ISE doesn't actually cause the background job to terminate. I guess I shouldn't be surprised since arbitrarily terminating a thread that is running unknown code could cause some pretty big problems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it got me wondering...  Does the abort command set some kind of flag that I could check in my script to make it support aborting cleanly?  Or is there some other way to make my scripts support the abort command?&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="28" LastEditDate="2016-10-19T22:07:13.350" LastActivityDate="2016-10-19T22:07:13.350" Title="PowerShell ISE: Function of Abort button?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1593" PostTypeId="2" ParentId="1589" CreationDate="2016-10-19T14:43:55.630" Score="10" Body="&lt;p&gt;&lt;strong&gt;When is the decay rate actually applied to the Contact Behaviour Profile? Daily, weekly, monthly?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to martin miles, and martin davies it is per interaction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is that configurable somewhere?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Martin Miles PDF presentation says &lt;code&gt;at a given rate&lt;/code&gt;, which can be specified using the rules engine. I'll update answer as to how this works, when I get a chance.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A visitor’s behavior profile from their&#xA;  previous visit can now influence&#xA;  personalization rules in their current and&#xA;  future visit.&#xA;  Behavior Profiling are now stored both on&#xA;  the Interaction and Contact.&#xA;  Behavior Profile on the Contact can &lt;code&gt;decay&lt;/code&gt;&#xA;  at a given rate &lt;code&gt;per interaction&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://blog.martinmiles.net/file.axd?file=%2F2016%2F01%2FSitecore%208%201%20Technical%20Presentation.pdf&quot;&gt;Martin Mile Presentation PDF&lt;/a&gt; (page 17)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Profiles items now have a &lt;code&gt;&quot;Decay Rate&quot;&lt;/code&gt; field which specifies the percentage by which a contact's profile score should &lt;code&gt;decrease&lt;/code&gt; at the start of &lt;code&gt;each interaction&lt;/code&gt;. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://sitecoreskills.blogspot.co.uk/2015/10/behavioural-profiling-improvements-in.html&quot;&gt;Martin Davies Blog Post&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="283" LastEditDate="2016-10-19T15:16:54.320" LastActivityDate="2016-10-19T15:16:54.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1594" PostTypeId="2" ParentId="1592" CreationDate="2016-10-19T14:45:44.677" Score="9" Body="&lt;p&gt;After currently executing &quot;line of code&quot; will finish its job then script execution will be immediately suspended once you click &lt;strong&gt;Abort&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you don't have to control execution by your own. What is currently running must finish its work (single instruction, let's say &lt;code&gt;Write-host 'test'&lt;/code&gt;, this cannot be interrupted anywhere between).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is more or less the answer that I got from &lt;a href=&quot;https://sitecore.stackexchange.com/users/202/adam-najmanowicz&quot;&gt;Adam&lt;/a&gt; for the same question I asked him some time ago.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To proof that theory you can check how this script works:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Write-Log &quot;Start!!!&quot;&#xA;Start-Sleep 5&#xA;Write-Log &quot;End!!!&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Results without stopping ISE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #4 16:48:50 INFO  Executing a script in ScriptSession '$scriptSession$|qz15dry1es3umdudogfjfe0d|ISE Editing Session'.&#xA;ManagedPoolThread #4 16:48:50 INFO  Start!!!&#xA;ManagedPoolThread #4 16:48:55 INFO  End!!!&#xA;ManagedPoolThread #4 16:48:55 INFO  The script execution in ScriptSession '$scriptSession$|qz15dry1es3umdudogfjfe0d|ISE Editing Session' completed in 5002 ms.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Results with Abort buttong clicked&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #15 16:48:58 INFO  Executing a script in ScriptSession '$scriptSession$|qz15dry1es3umdudogfjfe0d|ISE Editing Session'.&#xA;ManagedPoolThread #15 16:48:58 INFO  Start!!!&#xA;21564 16:48:58 INFO  Aborting script execution in ScriptSession '$scriptSession$|qz15dry1es3umdudogfjfe0d|ISE Editing Session'.&#xA;ManagedPoolThread #15 16:48:58 INFO  The script execution in ScriptSession '$scriptSession$|qz15dry1es3umdudogfjfe0d|ISE Editing Session' completed in 716 ms.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT: Working with pipes.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;So if my script starts off with a big Get-ChildItem and pipes that to a custom function, there is no way to stop it until that pipeline is complete?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Short answer is:&lt;/strong&gt; you still don't have to do anything additionally. Script will be suspended after the last instruction is executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's take a look on this example.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function Check-Item($i){&#xA;    Write-Log &quot;Checking item: $($i.ID)&quot;&#xA;    Start-Sleep 1&#xA;    $i&#xA;}&#xA;&#xA;Write-Log &quot;Start!!!&quot;&#xA;gci -path &quot;/sitecore/templates/branches&quot; -r | &#xA;    ? { $_.Name.Length -gt 0 } |&#xA;    ? { $_.&quot;__Long description&quot; -ne $null } |&#xA;    ? { Check-Item $_ } |&#xA;    % { Write-Log $_.Name }&#xA;Write-Log &quot;End!!!&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;18608 17:17:19 INFO  The script execution in ScriptSession '$scriptSession$|qz15dry1es3umdudogfjfe0d|ISE Editing Session' completed in 3 ms.&#xA;ManagedPoolThread #11 17:17:19 INFO  Executing a script in ScriptSession '$scriptSession$|qz15dry1es3umdudogfjfe0d|ISE Editing Session'.&#xA;ManagedPoolThread #11 17:17:19 INFO  Start!!!&#xA;ManagedPoolThread #11 17:17:19 INFO  Checking item: {C93C0945-607B-4916-B8D9-FE9F9BA783CA}&#xA;ManagedPoolThread #11 17:17:20 INFO  System&#xA;ManagedPoolThread #11 17:17:20 INFO  Checking item: {3E635C68-A2AA-47CD-A297-7DA9B05D56FE}&#xA;ManagedPoolThread #11 17:17:21 INFO  Analytics&#xA;ManagedPoolThread #11 17:17:21 INFO  Checking item: {07624A03-BB2F-45D8-ABE1-15E2B1705FF3}&#xA;ManagedPoolThread #11 17:17:22 INFO  Profile&#xA;ManagedPoolThread #11 17:17:22 INFO  Checking item: {67759D75-62E4-4945-8199-913BBECD1879}&#xA;ManagedPoolThread #11 17:17:23 INFO  $name&#xA;ManagedPoolThread #11 17:17:23 INFO  Checking item: {8F66D1E0-DEBA-4D68-8713-DD982C1ABDE4}&#xA;ManagedPoolThread #11 17:17:24 INFO  Profile Cards&#xA;ManagedPoolThread #11 17:17:24 INFO  Checking item: {D7192472-9456-4B1A-AE1C-6A904200E561}&#xA;20708 17:17:25 INFO  Aborting script execution in ScriptSession '$scriptSession$|qz15dry1es3umdudogfjfe0d|ISE Editing Session'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Later you will also see error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #5 17:04:34 ERROR Error while executing GetChildItems(string path='master:/sitecore/templates', string recurse='True')&#xA;Exception: System.Management.Automation.PipelineStoppedException&#xA;Message: The pipeline has been stopped.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it is handled in code, just logged.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-19T15:18:34.190" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1595" PostTypeId="2" ParentId="408" CreationDate="2016-10-19T14:56:59.473" Score="5" Body="&lt;p&gt;To inform item 7 in your preparation plan, look at the Sitecore Modules Compatibility Table for Sitecore XP: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/541788&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/541788&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure the modules you are using are compatible with 8.2. In my case, Active Directory isn't supported in 8.2, so we opted to upgrade to 8.1.&lt;/p&gt;&#xA;" OwnerUserId="894" LastActivityDate="2016-10-19T14:56:59.473" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1596" PostTypeId="2" ParentId="1589" CreationDate="2016-10-19T15:00:21.730" Score="8" Body="&lt;p&gt;The Decay rate specifies how relevant the profile will remain over time. It means that visits that was performed in the past will be less relevant than current visit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you want the past visit to be as relevant as current visit you can set the value to 0. Please refer to the following article: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/personalization/contact_behavior_profile&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/personalization/contact_behavior_profile&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also please note that this field is not about a &quot;time&quot;, but about profile &quot;values&quot; between site visits. Please consider reading the &quot;Profile Decay&quot; section of the following article for details: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoreskills.blogspot.com/2015/10/behavioural-profiling-improvements-in.html&quot;&gt;http://sitecoreskills.blogspot.com/2015/10/behavioural-profiling-improvements-in.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-19T15:00:21.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1597" PostTypeId="1" AcceptedAnswerId="1819" CreationDate="2016-10-19T15:11:43.470" Score="24" ViewCount="5661" Body="&lt;p&gt;This is just a general question. Has anyone implemented &lt;a href=&quot;https://www.ampproject.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;AMP&lt;/a&gt; with Sitecore before? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible, how difficult and could you point me in the direction of documentation?&lt;/p&gt;&#xA;" OwnerUserId="892" LastEditorUserId="5387" LastEditDate="2019-12-25T15:42:24.720" LastActivityDate="2020-12-25T06:56:10.227" Title="How do I implement Accelerated Mobile Pages (AMP) with Sitecore?" Tags="|best-practices|presentation|mvc|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="1598" PostTypeId="2" ParentId="1256" CreationDate="2016-10-19T15:26:11.897" Score="10" Body="&lt;p&gt;So it's took me all of yesterday and most of today to figure this out. In the end it was nothing to do with my code or configuration at all. The log files showing some errors were a Red-Herring and leading me in the wrong direction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is a Sitecore bug with 8.1 Update-2 (public reference: 108023).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This blog post was really useful for identifying it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.sitecorecoffee.com/2016/06/issue-with-final-layout-and-experience.html&quot;&gt;http://www.sitecorecoffee.com/2016/06/issue-with-final-layout-and-experience.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can download the Sitecore Hotfix from here: &lt;a href=&quot;http://54.86.191.98/Sitecore108023-RenderingsHotfix.zip&quot;&gt;http://54.86.191.98/Sitecore108023-RenderingsHotfix.zip&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;provided by Thomas Eldblom on Github who got it from Sitecore.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Once I did this my pages saved fine and updated as expected in Experience Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To apply the hotfix just include the dll in the zip folder in your solution and drop the config file in /app_config/ which patches the pipeline in from the dll.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt; &#xA;    &amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&#xA;      &amp;lt;request name=&quot;ExperienceEditor.Save.CallServerSavePipeline&quot; type=&quot;Sitecore.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CallServerSavePipeline, Sitecore.ExperienceEditor.Speak.Ribbon&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CallServerSavePipeline, Sitecore.Support.108023&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/request&amp;gt;&#xA;    &amp;lt;/sitecore.experienceeditor.speak.requests&amp;gt;  &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other errors people may search for are:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;layout for the requested document was not found&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Final renderings lost/erased when saving in Experience Editor&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;There is further information on this here also:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/issues/136&quot;&gt;https://github.com/Sitecore/Habitat/issues/136&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this will help anyone else coming across this issue.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="104" LastEditDate="2016-10-19T19:25:13.723" LastActivityDate="2016-10-19T19:25:13.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1600" PostTypeId="1" AcceptedAnswerId="1838" CreationDate="2016-10-19T17:31:13.833" Score="9" ViewCount="4307" Body="&lt;p&gt;I want to have fields that are rendered as telephone links, e.g. &lt;code&gt;&amp;lt;a href=&quot;tel:12345678&quot;&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I do this by modifying the standard field type, or by creating a new field type? I have tried using an external link and setting the URL to &lt;code&gt;tel:12345646&lt;/code&gt; in the raw values, but it renders as &lt;code&gt;http://tel:12345646&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a blog post by Akshay Sura on how to do it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.akshaysura.com/2015/02/22/add-telephone-link-to-the-general-link-field-type-in-sitecore/&quot; rel=&quot;nofollow&quot;&gt;https://www.akshaysura.com/2015/02/22/add-telephone-link-to-the-general-link-field-type-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it doesn't work for me on Sitecore 8. It seems to work fine in the Content Editor, but breaks in the Experience Editor.&lt;/p&gt;&#xA;" OwnerUserId="88" LastEditorUserId="73" LastEditDate="2016-10-27T23:53:14.260" LastActivityDate="2020-12-10T12:28:20.250" Title="Adding a telephone link (href=tel:) to the general link field type" Tags="|fieldtype|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1601" PostTypeId="1" AcceptedAnswerId="5417" CreationDate="2016-10-19T18:10:47.937" Score="6" ViewCount="173" Body="&lt;p&gt;Putting this question to the Sitecore crowd as it relates to the overall Coveo for Sitecore install, specifically the installation of Coveo Enterprise Search (CES).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to automate the installation of Coveo CES server using the MSI bundled in the EXE provided, as outlined &lt;a href=&quot;https://onlinehelp.coveo.com/en/ces/7.0/administrator/installing_or_updating_ces_silently.htm&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Installing the EXE &lt;em&gt;manually&lt;/em&gt; works, using all of the default options except for enabling the Admin Service, providing the relevant domains, credentials etc, and the admin service certificate is generated successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My issue is that when the same configuration is installed &lt;strong&gt;silently&lt;/strong&gt; via command line, the product and services get installed correctly, but the install fails during creation of the admin certificate.  It appears there is no parameter available to specify the path for the admin certificate generation, but I'm not sure if this is the core issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an additional parameter that is missing from the documentation?  Or is there another workaround available to get this to work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the installation command I'm trying to execute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Coveo Enterprise Search 7.0 x64 (8388).msi&quot; /qn /l* ces.log ADDLOCAL=BaseFeature,VCRedist,CESService,Admin,AdminService,CESConsole ISSITECORE=Yes INSTALLLOCATION=C:\cestest LOGONTYPE=account LOGONACCOUNT_DOMAIN=domain LOGONACCOUNT_USERNAME=coveo LOGONACCOUNT_PASSWORD=xxxxxx USE_ADMIN_SERVICE_SECURITY=Yes ADMINSERVICELOGON_USERNAME=coveoservice ADMINSERVICELOGON_PASSWORD=xxxxxx SKIP_SERVICES_CHECK=Yes&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here are the relevant lines out of the installation log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Action started 12:48:00: CreateShortcuts.&#xA;Action ended 12:48:00: CreateShortcuts. Return value 1.&#xA;Action started 12:48:00: CA_CreateCertificateForAdminService.&#xA;SFXCA: Extracting custom action to temporary directory: C:\WINDOWS\Installer\MSI30DA.tmp-\&#xA;SFXCA: Binding to CLR version v2.0.50727&#xA;Calling custom action ManagedInstallerLib!ManagedInstallerLib.AdminServiceSecurity.CreateCertificateForAdminService&#xA;Generate the self signed certificate.&#xA;Import the certificate into the stores.&#xA;Bind the certificate.&#xA;Exception while securing the Admin Service...&#xA;An exception has occurred at source : mscorlib&#xA;System.FormatException: Input string was not in a correct format.&#xA;   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&amp;amp; number, NumberFormatInfo info, Boolean parseDecimal)&#xA;   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)&#xA;   at ManagedInstallerLib.AdminServiceSecurity.CreateCertificate(Session p_Session)&#xA;Done securing the Admin Service...&#xA;Action ended 12:48:12: CA_CreateCertificateForAdminService. Return value 1.&#xA;Action started 12:48:12: WriteRegistryValues.&#xA;Action ended 12:48:12: WriteRegistryValues. Return value 1.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any pointers would be appreciated!&lt;/p&gt;&#xA;" OwnerUserId="859" LastActivityDate="2017-04-18T19:23:44.007" Title="Coveo for Sitecore CES silent install fails cert generation" Tags="|coveo|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1602" PostTypeId="2" ParentId="1589" CreationDate="2016-10-19T19:16:06.850" Score="9" Body="&lt;p&gt;Decay rate is applied at the beginning of an interaction, after the contact's profile has been loaded.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be specific, it occurs in the &lt;code&gt;ApplyDecay&lt;/code&gt; processor of the &lt;code&gt;intiailizeInteractionProfile&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore reads through every key in every profile one by one and applies the decay rate to the contacts existing scores.&lt;/p&gt;&#xA;" OwnerUserId="473" LastActivityDate="2016-10-19T19:16:06.850" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1603" PostTypeId="2" ParentId="1106" CreationDate="2016-10-19T20:40:13.267" Score="2" Body="&lt;p&gt;So turns out that this issue is a bit more complicated. After troubleshooting for days we figured out that this was a redirection issue. Nothing in the application but its how Coveo 4 handles redirection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CM Site: &lt;a href=&quot;https://cm.mysite.com&quot; rel=&quot;nofollow&quot;&gt;https://cm.mysite.com&lt;/a&gt;&#xA;CES Site: &lt;a href=&quot;http://myCESServer&quot; rel=&quot;nofollow&quot;&gt;http://myCESServer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Coveo 4 on, the server side Linq to Search requests go through the Coveo Search API via a secured POST call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client side js api calls the Coveo Search API using a get call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get can move between https and http without an issue but POST on the other hand cannot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the query was run on the CM server using Linq to Search (&lt;a href=&quot;https://cm.mysite.com/somepagewhichrunsquery&quot; rel=&quot;nofollow&quot;&gt;https://cm.mysite.com/somepagewhichrunsquery&lt;/a&gt;), it generates a post request and (HERE IS WHERE IT GOES WRONG) posts it to the non https version of the url &lt;a href=&quot;http://cm.mysite.com/coveo/rest&quot; rel=&quot;nofollow&quot;&gt;http://cm.mysite.com/coveo/rest&lt;/a&gt; this forces the NLB to push it to https and this causes the search to end up as @uri instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue causes many others. My other ticket related to coveo indexing 1300+ items also suffers from the same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do we fix this?&lt;/strong&gt;&#xA;Well. For us, we needed a hotfix for Coveo July 2016 release since we were already in production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this fix is going to be part of the October 2016 release - which is due to be release in a couple of days.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find the downloads at &lt;a href=&quot;https://developers.coveo.com/display/public/SitecoreV4/Downloads&quot; rel=&quot;nofollow&quot;&gt;https://developers.coveo.com/display/public/SitecoreV4/Downloads&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-19T20:40:13.267" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1604" PostTypeId="2" ParentId="1042" CreationDate="2016-10-19T20:40:39.260" Score="5" Body="&lt;p&gt;So turns out that this issue is a bit more complicated. After troubleshooting for days we figured out that this was a redirection issue. Nothing in the application but its how Coveo 4 handles redirection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CM Site: &lt;a href=&quot;https://cm.mysite.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cm.mysite.com&lt;/a&gt;&#xA;CES Site: &lt;a href=&quot;http://myCESServer&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://myCESServer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Coveo 4 on, the server side Linq to Search requests go through the Coveo Search API via a secured POST call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client side js api calls the Coveo Search API using a get call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get can move between https and http without an issue but POST on the other hand cannot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the query was run on the CM server using Linq to Search (&lt;a href=&quot;https://cm.mysite.com/somepagewhichrunsquery&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cm.mysite.com/somepagewhichrunsquery&lt;/a&gt;), it generates a post request and (HERE IS WHERE IT GOES WRONG) posts it to the non https version of the url &lt;a href=&quot;http://cm.mysite.com/coveo/rest&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://cm.mysite.com/coveo/rest&lt;/a&gt; this forces the NLB to push it to https and this causes the search to end up as @uri instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue causes many others. My other ticket related to coveo indexing 1300+ items also suffers from the same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do we fix this?&lt;/strong&gt;&#xA;Well. For us, we needed a hotfix for Coveo July 2016 release since we were already in production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this fix is going to be part of the October 2016 release - which is due to be release in a couple of days.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find the downloads at &lt;a href=&quot;https://developers.coveo.com/x/voD2AQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;developers.coveo.com/display/public/SitecoreV4/Downloads&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="264" LastEditDate="2017-10-02T14:29:55.770" LastActivityDate="2017-10-02T14:29:55.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1605" PostTypeId="1" AcceptedAnswerId="1627" CreationDate="2016-10-19T21:09:03.103" Score="6" ViewCount="581" Body="&lt;p&gt;So, I upgraded a Sitecore solution from 7.2 to 8.2. All works well, except for the site. I keep on getting the error in my views like the one below: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The model item passed into the dictionary is of type  'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Web.ViewModels.XXXViewModel'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I did update all my Glass Cast references to &lt;code&gt;sitecoreService.Cast&amp;lt;&amp;gt;()&lt;/code&gt;. But still no luck. Did anyone run into this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Glass Mapper (Version 4.2.1.188). &lt;/p&gt;&#xA;" OwnerUserId="259" LastEditorUserId="28" LastEditDate="2016-10-19T21:53:56.400" LastActivityDate="2017-02-06T10:27:56.953" Title="Glass Cast issues after upgrading from Sitecore 7.2 to 8.2" Tags="|mvc|upgrade|glass-mapper|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1606" PostTypeId="2" ParentId="1586" CreationDate="2016-10-19T22:24:49.057" Score="6" Body="&lt;p&gt;To put it simply, a Goal is a kind of Page Event. Page Events are more general. Just take a look at a default Sitecore install at the kinds of things that are registered as events:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Download&lt;/li&gt;&#xA;&lt;li&gt;Login failed&lt;/li&gt;&#xA;&lt;li&gt;Print&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The Page Events are things that happened, but not necessarily a successful event; not necessarily something you wanted the contact to achieve. Whereas a Goal is something of importance to note; something we wanted them to achieve.&lt;/p&gt;&#xA;" OwnerUserId="652" LastActivityDate="2016-10-19T22:24:49.057" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1607" PostTypeId="2" ParentId="408" CreationDate="2016-10-20T01:03:26.407" Score="3" Body="&lt;p&gt;Also know that you will need to upgrade the .NET version to 4.5.2 for all projects. Are you using solr? Then consider upgrading that too. Here is the solr compatibility table and instructions for Solr configuration - &lt;a href=&quot;https://kb.sitecore.net/articles/227897#note2&quot; rel=&quot;nofollow&quot;&gt;https://kb.sitecore.net/articles/227897#note2&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="259" LastActivityDate="2016-10-20T01:03:26.407" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1608" PostTypeId="2" ParentId="1564" CreationDate="2016-10-20T03:27:10.543" Score="5" Body="&lt;p&gt;It looks like there is an issue with the CreateCrmEntity save action. I logged a ticket with Sitecore Support but in the meantime I was able to resolve the issue by adding the Context property to the save action as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class CreateCrmEntity : Sitecore.CrmCampaignIntegration.Submit.CreateCrmEntity&#xA;{&#xA;    public ActionCallContext Context { get; set; }&#xA;&#xA;    public override void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null,&#xA;        params object[] data)&#xA;    {&#xA;        Context = actionCallContext;&#xA;        base.Execute(formId, adaptedFields, actionCallContext);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then update the Assembly and Class fields in the Save Action definition here: &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Create CRM Entity&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="439" LastActivityDate="2016-10-20T03:27:10.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1609" PostTypeId="2" ParentId="1442" CreationDate="2016-10-20T04:18:17.207" Score="0" Body="&lt;p&gt;Depending on your resources and expected results... But in case you strictly rely on the result of such report, I would suggest another scenario:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make a copy of your web database + connect it with Sitecore as a next Publishing target, e.g. &lt;strong&gt;FakeWeb&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Add new logging processor into the &lt;code&gt;publishItem&lt;/code&gt; pipeline to report what was actually done with every single item.  &lt;/li&gt;&#xA;&lt;li&gt;Make your full site publish into the new &lt;strong&gt;FakeWeb&lt;/strong&gt; target and see the result :) .&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The idea of PowerShell script is not bad, but will not provide 100% correct results until you will copy the whole publishing logic into the script. As was already mentioned you have to consider workflow and publishing restrictions. But there is another functionality that can affect the result as well (items removal, moving items, bucket items). Different languages brings the next complexity level as well... &lt;/p&gt;&#xA;" OwnerUserId="730" LastActivityDate="2016-10-20T04:18:17.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1610" PostTypeId="2" ParentId="1442" CreationDate="2016-10-20T06:32:10.887" Score="4" Body="&lt;p&gt;This is very nice solution that I implemented in my project:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the content editor the left margin of the content tree is known as gutter. In this area we can show a icon that can be used to display the status of item i.e published or not published. For this you have to create a Custom GutterRenderer Class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public class PublishStatusGutter : GutterRenderer&#xA;{&#xA;    enum PublishStatus&#xA;    {&#xA;        Published, NeverPublished, Modified&#xA;    }&#xA;&#xA;    private PublishStatus CheckPublishStatusOfItem(Item currentItem)&#xA;    {&#xA;        Database webDB = Factory.GetDatabase(&quot;web&quot;);&#xA;        Item webItem = webDB.GetItem(currentItem.ID);&#xA;&#xA;        if (webItem == null)&#xA;            return PublishStatus.NeverPublished;&#xA;&#xA;        if (currentItem[&quot;__Revision&quot;] != webItem[&quot;__Revision&quot;])&#xA;            return PublishStatus.Modified;&#xA;&#xA;        return PublishStatus.Published;&#xA;    }&#xA;&#xA;    protected override GutterIconDescriptor GetIconDescriptor(Item item)&#xA;    {&#xA;        PublishStatus publishStatus = CheckPublishStatusOfItem(item);&#xA;        if (publishStatus != PublishStatus.Published)&#xA;        {&#xA;            GutterIconDescriptor desc = new GutterIconDescriptor();&#xA;            if (publishStatus == PublishStatus.NeverPublished)&#xA;            {&#xA;                desc.Icon = &quot;your icon&quot;;&#xA;                desc.Tooltip = &quot;tooltip message&quot;;&#xA;            }&#xA;            else&#xA;            {&#xA;                desc.Icon = &quot;your icon&quot;;&#xA;                desc.Tooltip = &quot;your message&quot;;&#xA;            }&#xA;&#xA;            desc.Click = string.Format(&quot;item:load(id={0})&quot;, item.ID);&#xA;&#xA;            return desc;&#xA;        }&#xA;        return null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you will add this class using sitecore rocks then it will automatically add a gutter entry in core database otherwise you have to create a entry on following path: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jzcOB.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jzcOB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now it will show you a icon in gutter for unpublished item. I hope this will help you. Please mark as answer if you found it useful.&lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="16" LastEditDate="2016-10-20T08:28:30.643" LastActivityDate="2016-10-20T08:28:30.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1611" PostTypeId="1" AcceptedAnswerId="1613" CreationDate="2016-10-20T07:07:00.663" Score="20" ViewCount="1659" Body="&lt;p&gt;I'm trying to find a recommendation from Sitecore in terms of configuring Solr for high availability and how to use it properly with Sitecore. Does anybody know where I can find it?&#xA;If not, I'm considering these options, any preference or alternative?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Master-Slave:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Is it still &quot;valid&quot; or is it deprecated since SolrCloud?&#xA;In this case, How should I configure Sitecore on each role to use one server for indexing, and another (load balanced servers) for querying?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Zookeeper:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;How many instances do I really need? I understand (based on &lt;a href=&quot;https://stackoverflow.com/questions/24694296/using-zookeeper-with-solr-but-only-have-2-servers&quot;&gt;this&lt;/a&gt;) that I need 3 Zookeepers minimum to keep the cluster running if one goes down, but apparently they should not be on the same machine as the actual Solr instances meaning I need 5 instances (3 ZK and 2 Solr). And again, Or should I configure Sitecore to use the cluster properly?&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-21T13:06:44.543" Title="Sitecore Content deliveries and Solr with High availability" Tags="|solr|solution-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1613" PostTypeId="2" ParentId="1611" CreationDate="2016-10-20T08:38:32.757" Score="20" Body="&lt;p&gt;We are using Zookeeper with Sitecore 8.1 Update 2, and as per the documentation here: &lt;a href=&quot;https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html&quot; rel=&quot;noreferrer&quot;&gt;https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html&lt;/a&gt; we are using 3 instances. This is the minimum required.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Three ZooKeeper servers is the minimum recommended size for an ensemble, and we also recommend that they run on separate machines.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This works really well for us and ensures no downtime when indexes are being rebuilt.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is an excellent blog post that we followed to set this up:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.chrissulham.com/sitecore-on-solr-cloud-part-2/&quot; rel=&quot;noreferrer&quot;&gt;http://www.chrissulham.com/sitecore-on-solr-cloud-part-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;A note of caution though as pointed out by Grant Killian in the comments below:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: SolrCloud setups are under experimental support starting from&#xA;  Sitecore XP 8.2, meaning some issues are possible. In case of related&#xA;  issues, Sitecore Support will help with troubleshooting, while there&#xA;  is no guarantee that a fix will be available. In earlier versions of&#xA;  Sitecore CMS/XP only standalone Solr setups are supported.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;more info here:&lt;/strong&gt; &lt;a href=&quot;http://kb.sitecore.net/articles/227897&quot; rel=&quot;noreferrer&quot;&gt;kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We carried out the following process to install this on our 3 Solr Search Servers in Production:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download Solr 5.2.1 (i'd recommend Solr 5.1 though as Sitecore support will help with issues for Sc 8.2: &lt;a href=&quot;http://kb.sitecore.net/articles/227897&quot; rel=&quot;noreferrer&quot;&gt;kb.sitecore.net/articles/227897&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Prepare Solr configuration for Sitecore Indexes - Steps 1, 2, 3 and 4.  &lt;/li&gt;&#xA;&lt;li&gt;Configuring ZooKeeper ensemble - Steps 1-5 &lt;/li&gt;&#xA;&lt;li&gt;Configuring SolrCloud with ZooKeeper ensemble - All Steps &lt;/li&gt;&#xA;&lt;li&gt;Upload index configuration into ZooKeeper - All Steps &lt;/li&gt;&#xA;&lt;li&gt;Create collections&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here are some commands you might find useful:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Registering Config:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;zkcli -zkhost localhost:2181 -cmd upconfig -confdir D:\Solr\server\solr\configsets\sitecore_configs\conf -confname scbasic&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Creating a Collection:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;solr create -c sitecore -d D:\Solr\server\solr\configsets\sitecore_configs -n scbasic -shards 1 -replicationFactor 1 -p 8983&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add replica to collection:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://localhost:8983/solr/admin/collections?action=ADDREPLICA&amp;amp;collection=sitecore&amp;amp;shard=shard1&amp;amp;node=172.16.128.32:8983_solr&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Remove replica from collection:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://localhost:8983/solr/admin/collections?action=DELETEREPLICA&amp;amp;collection=collection1&amp;amp;shard=shard1&amp;amp;replica=core_node1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I wrote some PowerShell scripts to do most of the above for me so I could run them on Staging and Production and I found this easier than calling the API manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script loops round an array of the sitecore index names. The Core is created on one of the Solr Servers and then 2 replica cores are created on the other two Solr servers.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SitecoreIndexNames = @('sitecore_core_index', 'sitecore_master_index', 'sitecore_web_index', 'sitecore_analytics_index', 'sitecore_marketing_asset_index_master', 'sitecore_marketing_asset_index_web', 'sitecore_marketingdefinitions_master', 'sitecore_marketingdefinitions_web', 'sitecore_testing_index', 'sitecore_suggested_test_index', 'sitecore_fxm_master_index', 'sitecore_fxm_web_index', 'sitecore_list_index', 'social_messages_master', 'social_messages_web')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here are the key functions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Create-SolrCore($solrBaseUrl, $coreName, $configSet, $solrCollectionName, $solrConfigSetName) {&#xA;        $restUrl = &quot;{0}/admin/collections?action=CREATE&amp;amp;name={1}&amp;amp;property.name={1}&amp;amp;collection={1}&amp;amp;collection.configName={3}&amp;amp;numShards=1&amp;amp;shard=shard1&quot; -f $solrBaseUrl, $coreName, $solrCollectionName, $solrConfigSetName&#xA;&#xA;        Write-Host &quot;adding core: $restUrl&quot;&#xA;        $result1 = Invoke-WebRequest $restUrl -Method GET -UseBasicParsing&#xA;        Write-Host &quot;Created Solr core $coreName.&quot;&#xA;    }&#xA;&#xA;function Create-Replica($solrBaseUrl, $coreName, $configSet, $solrCollectionName, $solrConfigSetName, $replicataIP) {&#xA;    $restReplicaUrl = &quot;{0}/admin/collections?action=ADDREPLICA&amp;amp;collection={1}&amp;amp;property.name={1}&amp;amp;numShards=1&amp;amp;shard=shard1&amp;amp;node={2}&quot; -f $solrBaseUrl, $coreName, $replicataIP&#xA;    Write-Host &quot;adding replica: $restReplicaUrl&quot;&#xA;    $result2 = Invoke-WebRequest $restReplicaUrl -Method GET -UseBasicParsing&#xA;    Write-Host &quot;Created replica for $SolrCollectionName.&quot;&#xA;}&#xA;&#xA;function Create-Replicas($indexNames, $nonSwitchOnRebuildIndexNames, $coreNamePrefix, $baseUrl) {&#xA;&#xA;    $SitecoreIndexNames | % {&#xA;        $index = Convert-SitecoreIndexNameToCoreName($_)&#xA;&#xA;        try {&#xA;            Create-Replica $SolrBaseUrl $index $SolrConfigSetName $SolrCollectionName $SolrConfigSetName $ReplicataIP&#xA;&#xA;        } catch {&#xA;            Write-Warning &quot;Unable to add replica for core $index. $_&quot;&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;&#xA;function Create-SolrCores($indexNames, $nonSwitchOnRebuildIndexNames, $coreNamePrefix, $baseUrl) {&#xA;&#xA;    $SitecoreIndexNames | % {&#xA;        $index = Convert-SitecoreIndexNameToCoreName($_)&#xA;        try {&#xA;            Create-SolrCore $SolrBaseUrl $index $SolrConfigSetName $SolrCollectionName $SolrConfigSetName&#xA;&#xA;        } catch {&#xA;            Write-Warning &quot;Unable to create core for $index index. This probably means it already exists. $_&quot;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I based these on Kam's Solr Cannon Scripts:&#xA;  &lt;a href=&quot;http://kamsar.net/index.php/2016/03/The-Solr-Cannon/&quot; rel=&quot;noreferrer&quot;&gt;http://kamsar.net/index.php/2016/03/The-Solr-Cannon/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Once you have done this you can point Sitecore at the Solr ensemble like so:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;settings&amp;gt;&#xA;            &amp;lt;setting name=&quot;ContentSearch.Solr.ServiceBaseAddress&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;http://{ipofinstance}:8983/solr&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/setting&amp;gt;&#xA;        &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-21T13:06:44.543" LastActivityDate="2016-10-21T13:06:44.543" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1614" PostTypeId="2" ParentId="1477" CreationDate="2016-10-20T09:52:52.793" Score="9" Body="&lt;p&gt;I suggest you use a &lt;code&gt;SearchDataSource&lt;/code&gt; and then bind it to your &lt;code&gt;ListControl&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check this post for binding example:&#xA;&lt;a href=&quot;https://visionsincode.wordpress.com/2016/10/17/put-json-data-in-your-searchdatasource-and-bind-it-to-searchabledroplist-sitecore-speak/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://visionsincode.wordpress.com/2016/10/17/put-json-data-in-your-searchdatasource-and-bind-it-to-searchabledroplist-sitecore-speak/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in your code, if you do this (&lt;code&gt;jsondata.Communications&lt;/code&gt; needs to be an array):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;providerHelper.getData(&#xA;    this.AdditionalInfoDataProvider,&#xA;    $.proxy(function (jsondata) {&#xA;        cintelUtil.setText($that.CompanyValue, renderUrl(jsondata.Company, jsondata.CompanyUrl), true); /* working correctly */&#xA;        cintelUtil.setText($that.IndustryValue, jsondata.Industry, true); /* working correctly */&#xA;        cintelUtil.setText($that.SubIndustryValue, jsondata.SubIndustry, true); /* working correctly */&#xA;        cintelUtil.setText($that.RevenueRangeValue, jsondata.RevenueRange, true); /* working correctly */&#xA;        cintelUtil.setText($that.IsKnownExecutiveValue, jsondata.IsKnownExecutive, true); /* working correctly */&#xA;        cintelUtil.setText($that.IsKnownCustomerValue, jsondata.IsKnownCustomer, true); /* working correctly */&#xA;        cintelUtil.setText($that.IsKnownBlogUserValue, jsondata.IsKnownBlogUser, true); /* working correctly */&#xA;        cintelUtil.setText($that.OptInValue, jsondata.OptIn, true); /* working correctly */&#xA;&#xA;        $that.YourSearchDataSource.set('items', jsondata.Communications);&#xA;&#xA;        providerHelper.initProvider(this.AdditionalInfoCommunicationDataProvider, &quot;&quot;, url, this.AdditionalInfoCommunicationMessageBar);&#xA;    }));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since this is SPEAK version 1 (using set) I think you should do this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;$that.YourSearchDataSource.set('items', jsondata.Communications);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SPEAK2 is so much cleaner, so you can use this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;$that.YourSearchDataSource.Items = jsondata.Communications;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will also need to create column definitions for the list control; here is an example from the &lt;code&gt;LatestVisitors&lt;/code&gt; list on the dashboard in the Experience Profile:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mxEOw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mxEOw.png&quot; alt=&quot;LatestVisitors list&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you will need to create a &lt;code&gt;Columnfield&lt;/code&gt; for each column:&lt;br&gt;&#xA;Sent, ContactType, and Message &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to enter the JSON field name (from the JSON array) in the &lt;code&gt;DataField&lt;/code&gt; on the &lt;code&gt;Columnfield&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8MxzX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8MxzX.png&quot; alt=&quot;Columnfield&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, go to your layout and select your list control to get its properties. Locate the &lt;code&gt;DataSource&lt;/code&gt; attribute and point it to your new &lt;code&gt;ColumnDefinitions&lt;/code&gt; item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TR4Vc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TR4Vc.png&quot; alt=&quot;Speak layout&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That should be it, I hope it will help you :-)&lt;/p&gt;&#xA;" OwnerUserId="22" LastEditorUserId="104" LastEditDate="2016-10-21T06:21:01.607" LastActivityDate="2016-10-21T06:21:01.607" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="1615" PostTypeId="1" AcceptedAnswerId="1618" CreationDate="2016-10-20T09:53:18.537" Score="31" ViewCount="6830" Body="&lt;p&gt;When you publish an item in Sitecore through the &lt;code&gt;Publish item&lt;/code&gt; dialog, you are offered several options. You can choose between &lt;code&gt;Smart publish&lt;/code&gt; or &lt;code&gt;Republish&lt;/code&gt;, you can also choose whether to &lt;code&gt;Publish subitems&lt;/code&gt; or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These options are pretty self-explanatory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, what exactly does the &lt;code&gt;Publish related items&lt;/code&gt; option do?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gLtR9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gLtR9.png&quot; alt=&quot;Publish related items&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="445" LastEditorUserId="5387" LastEditDate="2019-07-31T14:10:40.243" LastActivityDate="2020-05-19T10:11:40.280" Title="What does the &quot;Publish related items&quot; checkbox do in Sitecore?" Tags="|publishing|link-database|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="1616" PostTypeId="2" ParentId="1615" CreationDate="2016-10-20T10:04:05.763" Score="8" Body="&lt;p&gt;Publish related items will do what it says: it will add the &quot;related&quot; items to the list of items the need to be published. Related means can be:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Clone references – items that are clones of the selected item. &lt;/li&gt;&#xA;&lt;li&gt;Media references – media items that are related to the selected item. &lt;/li&gt;&#xA;&lt;li&gt;Alias references – items that are aliases of the selected item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It will publish items related to your &quot;current item&quot; through datasources, links and so on. Remember though that only the actual linked item is published (sometimes people expect the children of the datasource to be published as well).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_an_item_to_your_website&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_an_item_to_your_website&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was introduced because editors &quot;forgot&quot; to publish the content they had created/updated related to the item/page they were on. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-20T10:04:05.763" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1617" PostTypeId="2" ParentId="1615" CreationDate="2016-10-20T10:05:50.270" Score="6" Body="&lt;p&gt;Publish Related Items are:&lt;/p&gt;&#xA;&lt;p&gt;Clone references – items that are clones of the selected item.&lt;/p&gt;&#xA;&lt;p&gt;Media references – media items that are related to the selected item.&lt;/p&gt;&#xA;&lt;p&gt;Alias references – items that are aliases of the selected item.&lt;/p&gt;&#xA;&lt;p&gt;This is lifted from the Sitecore Doc site its near the end.  Here is the link &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_an_item_to_your_website&quot; rel=&quot;noreferrer&quot;&gt;Publish an item to your website&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="892" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-20T10:05:50.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1618" PostTypeId="2" ParentId="1615" CreationDate="2016-10-20T10:07:33.100" Score="45" Body="&lt;h2&gt;Technical details&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Starting from Sitecore 7.2, there is an option to publish an item with &quot;Publish related items&quot; checked. If you do that, the &lt;code&gt;&amp;lt;getItemReferences&amp;gt;&lt;/code&gt; pipeline (defined in Sitecore.config) will be executed to get additional items that are then added to the publishing queue. By default, it returns the following items related to the item being published:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The item's clones (by the &lt;code&gt;AddItemCloneReferences&lt;/code&gt; processor);&lt;/li&gt;&#xA;&lt;li&gt;The media used by the item (by processors &lt;code&gt;AddFileDropAreaMediaReferences&lt;/code&gt; and &lt;code&gt;AddItemLinkReferences&lt;/code&gt;);&lt;/li&gt;&#xA;&lt;li&gt;All items the published item links to (by the &lt;code&gt;AddItemLinkReferences&lt;/code&gt; processor).&lt;/li&gt;&#xA;&lt;li&gt;The item's aliases (by the &lt;code&gt;AddItemAliasReferences&lt;/code&gt; processor).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you wish, you can extend this pipeline by adding your custom &quot;related items&quot; logic as a new processor.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Link database&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Links%20Database.aspx&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;link database&lt;/strong&gt;&lt;/a&gt; needs to be up-to-date in order for this feature to work correctly. So if you have problems with publishing related items, try to rebuild the links DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Items specified as the data source of a rendering component will also be treated as &quot;related&quot;. This is possible because they are also stored in the link database (at least, in the latest versions of Sitecore). Keep in mind that the link database will only contain data source items that are specified directly (e.g. using a path or an item ID). Query-based data sources will not update the link database, and hence, such items will not be published using &quot;Publish related items&quot;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Feature usage&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As an example, this feature may be useful when you are publishing a new page, and you want to make sure that all resources used by that page are also published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publishing related items is only available during an item-level publish, and not during a site-level publish.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Important caveat&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Related items of related items &lt;strong&gt;will not&lt;/strong&gt; be published. This may cause some confusion—see &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2727/&quot;&gt;&lt;strong&gt;this question&lt;/strong&gt;&lt;/a&gt; for an example.&lt;/li&gt;&#xA;&lt;li&gt;When you publish both the subitems and the related items, then all related items of all subitems will also be published. This may significantly increase the amount of items added to the publishing queue, so be mindful of this behavior.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Further reading&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/related-item-publishing-updated&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/related-item-publishing-updated&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_an_item_to_your_website&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_an_item_to_your_website&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://maxslabyak.com/sitecore/publish-related-items-defining-custom-relationships-via-code-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;http://maxslabyak.com/sitecore/publish-related-items-defining-custom-relationships-via-code-sitecore/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-21T15:18:26.553" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1619" PostTypeId="1" CreationDate="2016-10-20T12:56:06.797" Score="4" ViewCount="401" Body="&lt;p&gt;Can people suggest a good way to add views to a project in Visual Studio? The standard MVC way adds scaffolding (Folders named for controllers) and &lt;code&gt;NuGet packages&lt;/code&gt; (MVC, Razor, WebPages, etc...) I'm stuck copying existing views and renaming, or adding a text file and adding the &lt;code&gt;.cshtml&lt;/code&gt; extension. There must be a way to tell Visual Studio to turn off the &lt;code&gt;scaffolding/NuGet&lt;/code&gt; stuff.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="5387" LastEditDate="2019-08-07T04:35:25.177" LastActivityDate="2019-08-07T04:36:05.417" Title="Adding Views - VS Adds Scaffolding and NuGets" Tags="|mvc|visual-studio|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="1620" PostTypeId="2" ParentId="1619" CreationDate="2016-10-20T13:16:25.600" Score="3" Body="&lt;p&gt;If you use the default Web Applications with MVC project template, I'm not sure whether you can turn off this behaviour. However, you could potentially use Sitecore Rocks to create the files for you instead.&lt;/p&gt;&#xA;" OwnerUserId="29" LastActivityDate="2016-10-20T13:16:25.600" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1621" PostTypeId="2" ParentId="1513" CreationDate="2016-10-20T13:33:13.653" Score="6" Body="&lt;p&gt;In the spirit of sharing information, here are two potential issues which could arise from enabling &lt;code&gt;Sitecore.Publishing.Recovery.config&lt;/code&gt; (I will add more info to this answer in time as and when I learn more about it):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If there were a large number of queued publish operations prior to shutdown (which contributed to Sitecore shutting down?) then these would all be resumed when Sitecore re-starts.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When publishing resumes after the re-start, there is no built-in way to see the progress of that publish, or even to be aware of it. This could be handled with a module such as this &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Publish_Viewer.aspx&quot;&gt;https://marketplace.sitecore.net/en/Modules/Publish_Viewer.aspx&lt;/a&gt; or a more basic approach such as this: &lt;a href=&quot;https://briancaos.wordpress.com/2014/11/11/sitecore-job-viewer-see-what-sitecore-is-doing-behind-your-back/&quot;&gt;https://briancaos.wordpress.com/2014/11/11/sitecore-job-viewer-see-what-sitecore-is-doing-behind-your-back/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-10-20T13:33:13.653" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1622" PostTypeId="2" ParentId="1619" CreationDate="2016-10-20T13:47:45.200" Score="9" Body="&lt;p&gt;With &lt;code&gt;MVC 5&lt;/code&gt;, you should have the option to add an &lt;code&gt;MVC 5 View Page&lt;/code&gt;, like so,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/M9br4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M9br4.png&quot; alt=&quot;Add MVC 5 View Page context menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using this option gives you a simple popup to type in a name, then it generates a &lt;code&gt;cshtml&lt;/code&gt; file with no scaffolding.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@{&#xA;    Layout = null;&#xA;}&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&amp;gt;&#xA;    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;div&amp;gt;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alternately, you can select MVC Partial Page which just generates an empty .cshtml file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;MSDN reference:&lt;/strong&gt; &lt;a href=&quot;https://www.asp.net/mvc/overview/getting-started/introduction/adding-a-view&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.asp.net/mvc/overview/getting-started/introduction/adding-a-view&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="5387" LastEditDate="2019-08-07T04:36:05.417" LastActivityDate="2019-08-07T04:36:05.417" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="1623" PostTypeId="2" ParentId="1584" CreationDate="2016-10-20T14:48:14.637" Score="7" Body="&lt;p&gt;Another attempt with creation of new language versions of both items in the branch as well as items referenced through datasources:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;#Delete the following line to perform the operation&#xA;# otherwise it only shows what it will do and not perform any changes&#xA;$WhatIfPreference = $true&#xA;&#xA;function Add-TranslationForItemAndDataSources {&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Item]$Item,&#xA;        [string]$Language,&#xA;        [string]$TargetLanguage&#xA;        )&#xA;&#xA;    # change the -IfExists From &quot;Skip&quot; to &quot;Append&quot; &#xA;    # if you want to create a new version even if it exists&#xA;    Add-ItemLanguage -Item $item -Language $Language -TargetLanguage $TargetLanguage -IfExist Skip&#xA;&#xA;    Get-Rendering -Item $item -FinalLayout -Device (Get-LayoutDevice -Default) | &#xA;        Where-Object { -not [string]::IsNullOrEmpty($_.Datasource)} | &#xA;        ForEach-Object { Get-Item &quot;$($item.Database):&quot; -ID $_.Datasource }&#xA;        Add-ItemLanguage -Item $item -Language $Language -TargetLanguage $TargetLanguage -IfExist Skip&#xA;}&#xA;&#xA;Get-ChildItem master:\content -Recurse |&#xA;  Where-Object { $_.TemplateName -eq &quot;Sample Item&quot; } |&#xA;  ForEach-Object { Add-TranslationForItemAndDataSources -Item $_ -Language &quot;en&quot; -TargetLanguage &quot;de-DE&quot; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="202" LastActivityDate="2016-10-20T14:48:14.637" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1624" PostTypeId="2" ParentId="1589" CreationDate="2016-10-20T14:58:46.317" Score="6" Body="&lt;p&gt;At a higher level, think of decay rate the way that it is used in machine learning. The general idea is that &lt;em&gt;the more recent the information is the more reliable it is&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore, Decay Rate is computed using a half-life formula, where by 1 interaction is equal to 1 unit of time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Real-world Example 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Consider a user browsing to the website of an athletic club that they are considering joining. After a few page views and interactions, this user is personalized and shown content geared towards a &lt;em&gt;prospective member&lt;/em&gt;. The user is engaged and signs up for a membership.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Three weeks later, the user returns to the site. After a few page views and interactions, one might expect that this user would be personalized and shown content geared towards &lt;em&gt;new members&lt;/em&gt;. This is where the Decay Rate comes in. If you are not using decay rates and you do not want to lose the data from your user's past interactions with the site, then from the moment your user returns your site he/she may still be shown &lt;em&gt;prospective member&lt;/em&gt; content. If, however, you set up a decay rate, you don't lose any of that past interaction data and you still account for it in personalization. However the past data is worth less than the new data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Real-world Example 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another example is an e-commence site. Imagine you have a site that sells cellphones. If your visitor comes to the site and searches for phones and clicks on a bunch of the new ones then they are personalized and shown the &lt;em&gt;newest phones&lt;/em&gt;. Assume that your user buys the newest Samsung Galaxy phone and leaves the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When your user returns, do you think your user is still interested in buying a new phone? Maybe, but the user searches for phone accessories. Now, what is the ideal experience to personalize the user with? Should they see iPhone accessories in our personalized advertisement components, or should we remember and account for the fact that on their last visit they looked for the latest tech, bought a new android phone, and chose the manufacturer Samsung? If we account for their previous visit's interactions, we can now show them &lt;em&gt;phone accessories&lt;/em&gt; that best match the other data that we have from their last visit. As such, we may display the latest Samsung Galaxy phone compatible accessories first, followed by the latest in android and universal accessories, then older accessories and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Summing it up:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Decay Rate enables you to control the Rate at which past interactions decrease in value over time, using a basic half-life (1 interaction equals 1 unit of time) formula. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By effectively using Decay Rates, you empower your site to deliver more accurately personalized content, thereby improving engagement scores. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-10-20T16:06:02.493" LastActivityDate="2016-10-20T16:06:02.493" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1625" PostTypeId="1" AcceptedAnswerId="1626" CreationDate="2016-10-20T16:56:03.863" Score="5" ViewCount="19628" Body="&lt;p&gt;I have a Sitecore 8.1 instance using Solr 4.10.  I have a custom field in my Solr index called read_roles. It is a list of Sitecore roles that can read a given item. Here is an example of what that looks like in the index when viewed through the Solr UI.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;read_roles_sm&quot;: [&#xA;          &quot;extranet\\DistribA&quot;,&#xA;          &quot;extranet\\Anonymous Role&quot;,&#xA;          &quot;extranet\\Approved Role&quot; ]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My first question is this: Are these values &lt;em&gt;really&lt;/em&gt; stored with two slashes like that? Or is a slash a special character or something and the Solr UI is adding that in only when it is being displayed on the web page?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have code that adds a security filter to my query that looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public static IQueryable&amp;lt;T&amp;gt; ApplySecurityFilter&amp;lt;T&amp;gt;(this IQueryable&amp;lt;T&amp;gt; query) where T : SearchResultItem {&#xA;&#xA;    var userRoles = Sitecore.Context.User.Roles.Select(r =&amp;gt; r.Name);&#xA;&#xA;    var readPredicate = PredicateBuilder.False&amp;lt;T&amp;gt;();&#xA;    readPredicate = userRoles.Aggregate(readPredicate, (current, role) =&amp;gt; current.Or(i =&amp;gt; i[&quot;read_roles&quot;].Equals(role)));&#xA;&#xA;    var denyPredicate = PredicateBuilder.True&amp;lt;T&amp;gt;();&#xA;    denyPredicate = userRoles.Aggregate(denyPredicate, (current, role) =&amp;gt; current.And(i =&amp;gt; !i[&quot;denied_roles&quot;].Equals(role)));&#xA;&#xA;    if (readPredicate.Body.NodeType != System.Linq.Expressions.ExpressionType.Constant) {&#xA;        query = query.Filter(readPredicate);&#xA;    }&#xA;    if (readPredicate.Body.NodeType != System.Linq.Expressions.ExpressionType.Constant) {&#xA;        query = query.Filter(denyPredicate);&#xA;    }&#xA;    return query;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The idea here is give me all results where at least one of the user's roles is in the read_roles field and none of the user's roles are in the denied_roles field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I seem to be running in to all kinds of problems with slashes and spaces and I don't really understand what is going on here and I don't know how to troubleshoot it.  I believe this code works fine as long as the user does not belong to any roles with a space in them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example. If I am not logged in to the site (anonymous user which belongs to the extranet\Anonymous Role) and I try a search it works properly.  I get the results that I would expect.  And I see this in the Sitecore Search log file as part of the query that was sent to Solr:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;fq=(((-denied_roles_sm:(&quot;extranet\\Anonymous Role&quot;) AND read_roles_sm:(&quot;extranet\\Anonymous Role&quot;))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However if I log in as a user that is part of the extranet\DistribA role I do not get the results I would expect and I see this in the Sitecore Search log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;fq=(((-denied_roles_sm:(extranet\DistribA) AND read_roles_sm:(extranet\DistribA))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I have noticed is that if the role has a space in it then it seems to put quotes around it and also adds a second slash.  But if the role name does not have a space in it then it doesn't do that.  I feel like I am not understanding something fundamental about how Solr handles things like spaces and slashes in queries.  Any help is greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2016-10-21T13:28:18.090" LastActivityDate="2017-01-25T15:33:54.507" Title="How to query Solr with spaces and slashes in the filters?" Tags="|solr|content-search|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1626" PostTypeId="2" ParentId="1625" CreationDate="2016-10-20T17:06:26.587" Score="7" Body="&lt;h1&gt;About spaces and quotes&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If there is no space, then &lt;code&gt;field:foo&lt;/code&gt; treats &lt;code&gt;foo&lt;/code&gt; as a string value. You could write &lt;code&gt;field:&quot;foo&quot;&lt;/code&gt; but you don't have to, since the search term doesn't contain a space.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there is a space included, then quotes are required around the value, otherwise the query won't be parsed correctly: &lt;code&gt;field:&quot;foo bar&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;About backslashes&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Backslashes are not stored like this: &lt;code&gt;\\&lt;/code&gt;. It's just the escaping syntax that is used both in Solr queries and in the JSON representation in the Solr UI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A backslash should actually always be escaped - see this documentation section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Escaping%20Special%20Characters&quot; rel=&quot;nofollow&quot;&gt;http://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Escaping%20Special%20Characters&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think that in case of &lt;code&gt;extranet\DistribA&lt;/code&gt;, Sitecore's query generator has a defect that does not escape it. It's probably related to the fact that there are no quotes around the search term.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Suggested fix&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I suggest that you don't store backslashes in the index so as to overcome this defect. Sanitize your role names to remove the backslash—both when storing the custom field and when querying the index.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-21T13:39:51.150" LastActivityDate="2016-10-21T13:39:51.150" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="1627" PostTypeId="2" ParentId="1605" CreationDate="2016-10-20T17:30:38.983" Score="3" Body="&lt;p&gt;Hetal, I am just going to add it as an answer for potential users to benefit from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It could be one of the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Glass not being installed/configured properly (Glass DLL's or&#xA;configs missing or are of previous versions) &lt;/li&gt;&#xA;&lt;li&gt;The Datasource item is not published (mentioned by Marek)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In your case it was Glass not properly installed in the Models project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-20T17:30:38.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1628" PostTypeId="1" AcceptedAnswerId="1632" CreationDate="2016-10-20T17:34:17.573" Score="10" ViewCount="3190" Body="&lt;p&gt;We are building an infrastructure for xDB internally and our internal network team asked us what would happen if the MongoDB instances were down.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We, of course are deploying MongoDB with Replica set but they want to be sure it will not bring down the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I remember from somewhere that Sitecore will cache the entries locally on the CD instances until the MongoDB comes back online and then once up, it will sync. Is this true?&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="73" LastEditDate="2016-10-20T19:03:53.890" LastActivityDate="2017-10-24T12:43:31.953" Title="What happens when MongoDB is down?" Tags="|mongodb|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1629" PostTypeId="1" AcceptedAnswerId="1631" CreationDate="2016-10-20T17:45:09.893" Score="8" ViewCount="1436" Body="&lt;p&gt;When you are upgrading Sitecore you install an upgrade package using the update installation wizard located here:&#xA;&lt;a href=&quot;http://yourhost/sitecore/admin/UpdateInstallationWizard.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://yourhost/sitecore/admin/UpdateInstallationWizard.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where does it go to when it gets uploaded? I've looked on the file system but didn't find it. I assume it ends up on the database, if so where?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="107" LastEditDate="2017-11-14T15:00:55.120" LastActivityDate="2017-11-14T15:00:55.120" Title="Where do upgrade packages go to when uploaded?" Tags="|upgrade|update-packages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1630" PostTypeId="2" ParentId="1628" CreationDate="2016-10-20T17:46:46.920" Score="2" Body="&lt;p&gt;Below is the 1 main points I know if MongoDb is down, the following occurs&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Package installation will take too much time to install.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;However, it will not bring the site down unless you are querying the MongoDB directly. You may receive error page on the specific page where the query to MongoDB is being executed. Moreover, in order to prevent this, you can make MongoDb run as a service or run it through Sitecore pipeline. Below is the link how you can run MongoDB in Sitecore pipeline&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.istern.dk/2014/10/01/launch-mongo-db-with-sitecore-pipelines/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.istern.dk/2014/10/01/launch-mongo-db-with-sitecore-pipelines/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="2395" LastEditDate="2017-10-24T12:43:31.953" LastActivityDate="2017-10-24T12:43:31.953" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1631" PostTypeId="2" ParentId="1629" CreationDate="2016-10-20T17:48:04.490" Score="14" Body="&lt;p&gt;There is a package directory for the Update Wizard packages at the following path under the site root:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\sitecore\admin\Packages&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="104" LastEditDate="2016-10-20T18:17:58.650" LastActivityDate="2016-10-20T18:17:58.650" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1632" PostTypeId="2" ParentId="1628" CreationDate="2016-10-20T17:51:24.400" Score="15" Body="&lt;p&gt;It's also important to know that while Mongo is not available, analytic data is being collected. Sitecore will store the data to the file system until such time the collection server comes back online. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Akinori Taira @ Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the event that the collections database is unavailable, there is a special ‘Submit Queue’ mechanism that flushes captured data to the local hard drive (the ‘Data\Submit Queue’ folder by default).  When the collections database comes back online, a background worker process submits the data from the ‘Submit Queue’ on disk.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sitecore 7.5 and 8 have a key in the Sitecore.Analytics config that can control Sitecore's behavior if Mongo is unreachable for any reason (best I can tell, this has been removed as of 8.1):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.FailOnDatabaseErrors&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The submit queue is enabled/disabled from the Sitecore.Analytics.Tracking config file's UseSubmitQueue key:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;!--  ANALYTICS USE SUBMIT QUEUE&#xA;        Specifies if the submit queue should be used when the contact or session submit operations cannot access the database.&#xA;        If set to true, the contact or session is queued until the database is backed up (see the &amp;lt;submitQueue&amp;gt; section).&#xA;        Default: true&#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;Analytics.UseSubmitQueue&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The background task that will flush this to Mongo is configured in the Sitecore.Analytics.Tracking.Database.config's SubmitQueue node:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;submitQueue&amp;gt;&#xA;  &amp;lt;backgroundService type=&quot;Sitecore.Analytics.SubmitQueueService, Sitecore.Analytics&quot;&amp;gt;&#xA;    &amp;lt;!-- Service wakeup interval in seconds. --&amp;gt;&#xA;    &amp;lt;Interval&amp;gt;60&amp;lt;/Interval&amp;gt;&#xA;  &amp;lt;/backgroundService&amp;gt;&#xA;&amp;lt;/submitQueue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other reading/Sources:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Climber answered this quite well here: &lt;a href=&quot;https://stackoverflow.com/questions/39153295/in-sitecore-how-to-view-the-content-of-the-submit-queue-file&quot;&gt;https://stackoverflow.com/questions/39153295/in-sitecore-how-to-view-the-content-of-the-submit-queue-file&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And LonghornTaco's great blog post on this subject: &lt;a href=&quot;https://citizensitecore.com/2016/07/01/xdb-session-info-and-mongodb-availability/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://citizensitecore.com/2016/07/01/xdb-session-info-and-mongodb-availability/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="553" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-20T21:34:24.783" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1633" PostTypeId="2" ParentId="1625" CreationDate="2016-10-20T17:57:27.010" Score="3" Body="&lt;p&gt;I think what you may need is a new field type.  The _sm field is a string field in the Solr schema.xml, specifically a multivalued string field. There's no tokenizer specified, so I believe that means it uses the default tokenizer. What you want is the &lt;a href=&quot;https://cwiki.apache.org/confluence/display/solr/Tokenizers#Tokenizers-KeywordTokenizer&quot; rel=&quot;nofollow&quot;&gt;KeywordTokenizerFactory&lt;/a&gt;. The KeywordTokenizerFactory treats the entire value as a literal, so it includes spaces when matching. It's also case sensitive, but you can add a LowerCaseFilterFactory if that's an issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try this in the schema.xml,&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fields&amp;gt;&#xA;    ...    &#xA;        &amp;lt;dynamicField name=&quot;*_sm&quot; type=&quot;string&quot; indexed=&quot;true&quot; stored=&quot;true&quot; multiValued=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;dynamicField name=&quot;*_smnt&quot; type=&quot;string_untokenized&quot; indexed=&quot;true&quot; stored=&quot;true&quot; multiValued=&quot;true&quot; /&amp;gt;&#xA;    ...&#xA;&amp;lt;/fields&amp;gt;&#xA;...&#xA;&amp;lt;types&amp;gt;&#xA;    ...&#xA;    &amp;lt;fieldType name=&quot;string&quot; class=&quot;solr.StrField&quot; sortMissingLast=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;fieldType name=&quot;string_untokenized&quot; class=&quot;solr.TextField&quot; sortMissingLast=&quot;true&quot; &amp;gt;&#xA;        &amp;lt;analyzer&amp;gt;&#xA;            &amp;lt;tokenizer class=&quot;solr.KeywordTokenizerFactory&quot;/&amp;gt;&#xA;            &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&amp;gt;&#xA;        &amp;lt;/analyzer&amp;gt;&#xA;    &amp;lt;/fieldType&amp;gt;&#xA;    ...&#xA;&amp;lt;types&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in your Sitecore Solr config you need to add this field type, like so&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;!-- This element must be first --&amp;gt;&#xA;    &amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;        &amp;lt;typeMatch typeName=&quot;string_multi_untokenized&quot;  type=&quot;System.String&quot;  fieldNameFormat=&quot;{0}_smnt&quot;  settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;/typeMatches&amp;gt;&#xA;    &amp;lt;!-- This allows you to map a field name in Sitecore to the index and store it in the appropriate way --&amp;gt;&#xA;    &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;read_roles&quot;     returnType=&quot;string_multi_untokenized&quot; /&amp;gt;&#xA;    &amp;lt;/fieldNames&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="499" LastEditorUserId="499" LastEditDate="2016-10-20T18:03:13.247" LastActivityDate="2016-10-20T18:03:13.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1634" PostTypeId="2" ParentId="1628" CreationDate="2016-10-20T17:58:09.453" Score="3" Body="&lt;p&gt;If you are about to build a Replica Set based on &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/deploy-replica-set/&quot; rel=&quot;nofollow&quot;&gt;MongoDB recommendations&lt;/a&gt; which says &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Three member replica sets provide enough redundancy to survive most network partitions and other system failures&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The chances to get MongoDB down will be reduced.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, just in case an incident happen, the standard configuration for a Replica Set is to provide &lt;a href=&quot;https://docs.mongodb.com/manual/replication/#redundancy-and-data-availability&quot; rel=&quot;nofollow&quot;&gt;a level of fault tolerance against the loss of a single database server&lt;/a&gt;. And in addition to that, the Secondary will be able to reply the requests until you get the primary back to business.&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2016-10-20T17:58:09.453" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1635" PostTypeId="2" ParentId="1628" CreationDate="2016-10-20T18:05:03.360" Score="10" Body="&lt;p&gt;If the collections database is unavailable, analytics data for a user's session will still be collected and stored in Session.  The problem comes when the session times out and Sitecore attempts to flush that data from Session to the collections database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Akinori Taira, part of the xDB product team:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the event that the collections database is unavailable, there is a special ‘Submit Queue’ mechanism that flushes captured data to the local hard drive (the ‘Data\Submit Queue’ folder by default).  When the collections database comes back online, a background worker process submits the data from the ‘Submit Queue’ on disk.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As with most everything else in Sitecore, this mechanism is controlled by entries, scattered across a few config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.0 (and its updates) there is a setting called Analytics.FailOnDatabaseErrors in Sitecore.Analytics.config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;    &amp;lt;!-- ANALYTICS FAIL ON DATABASE ERRORS&#xA;Note: This is a diagnostics setting that should not be enabled on a live system.&#xA;If set to true, web pages crash and show exception details in case&#xA;an operation cannot access the database.&#xA;If set to false, exceptions are suppressed and logged, and visit data&#xA;is queued until the database is back up. See &amp;lt;submitQueue&amp;gt; section.&#xA;Default: false&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Analytics.FailOnDatabaseErrors&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, in Sitecore 8.1+, the property Analytics.UseSubmitQueue is used from Sitecore.Analytics.Tracking.config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--  ANALYTICS USE SUBMIT QUEUE&#xA;    Specifies if the submit queue should be used when the contact or session submit operations cannot access the database.&#xA;    If set to true, the contact or session is queued until the database is backed up (see the &amp;lt;submitQueue&amp;gt; section).&#xA;    Default: true&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Analytics.UseSubmitQueue&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, from the Sitecore.Analytics.Tracking.config and Sitecore.Analytics.Tracking.Database.config, you get the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;submitQueue&amp;gt;&#xA;    &amp;lt;queue type=&quot;Sitecore.Analytics.Data.DataAccess.SubmitQueue.FileSubmitQueue, Sitecore.Analytics&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;backgroundService type=&quot;Sitecore.Analytics.SubmitQueueService, Sitecore.Analytics&quot;&amp;gt;&#xA;        &amp;lt;!-- Service wakeup interval in seconds. --&amp;gt;&#xA;        &amp;lt;Interval&amp;gt;60&amp;lt;/Interval&amp;gt;&#xA;    &amp;lt;/backgroundService&amp;gt;&#xA;&amp;lt;/submitQueue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have not tested this failover scenario myself yet, so your mileage may vary.&lt;/p&gt;&#xA;" OwnerUserId="226" LastEditorUserId="226" LastEditDate="2016-10-20T18:37:39.667" LastActivityDate="2016-10-20T18:37:39.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1636" PostTypeId="1" CreationDate="2016-10-20T18:30:01.020" Score="8" ViewCount="1255" Body="&lt;p&gt;I have an item that will contain a large number of subitems as direct children, which I would like to give bucketing treatment to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately these items don't have a reasonable way to be grouped in subfolders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a custom rule in Item Bucket Settings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Example Rule&#xA;where the item bucket is based on the [Examples] template&#xA;  and where the new bucketable item is basedon the [Example] template&#xA;create the new folder structure based on the name of the new bucketable item with [0] levels&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Choosing &lt;code&gt;0&lt;/code&gt; levels defaults the bucket path to use the creation date of the item in the default &lt;code&gt;yyyy/MM/dd/HH/mm&lt;/code&gt; format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is there a way to bucket these items without the intermediate folders?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd prefer that they be accessed at &lt;code&gt;http://example.com/examples/example-name&lt;/code&gt; rather than &lt;code&gt;http://example.com/examples/ ... path here ... /example-name&lt;/code&gt;, and I'd rather not need to introduce a &lt;code&gt;*&lt;/code&gt; item just to correct the paths.&lt;/p&gt;&#xA;" OwnerUserId="286" LastEditorUserId="73" LastEditDate="2016-10-20T19:02:15.040" LastActivityDate="2016-10-20T19:25:24.453" Title="Is it possible to create a bucket that doesn't use sub-folder buckets?" Tags="|buckets|" AnswerCount="2" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="1637" PostTypeId="2" ParentId="1636" CreationDate="2016-10-20T18:32:53.687" Score="6" Body="&lt;p&gt;Yes, there is. I wrote a bog post about it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-item-buckets-custom-folders-structure&quot; rel=&quot;noreferrer&quot;&gt;https://www.skillcore.net/sitecore/sitecore-item-buckets-custom-folders-structure&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In shoortcut you need to create action extending &lt;code&gt;RuleAction&amp;lt;T&amp;gt; where T : BucketingRuleContext&lt;/code&gt; and set &lt;code&gt;ruleContext.ResolvedPath&lt;/code&gt; to whatever you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the example of action which adds author user name to the folder structure:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public class AuthorAndCreateDateBasedPath&amp;lt;T&amp;gt; : CreateDateBasedPath&amp;lt;T&amp;gt; where T : BucketingRuleContext&#xA;{&#xA;  public override void Apply(T ruleContext)&#xA;  {&#xA;    base.Apply(ruleContext);&#xA;    if (Sitecore.Context.Data != null &amp;amp;&amp;amp; Sitecore.Context.Data.User != null)&#xA;    {&#xA;      ruleContext.ResolvedPath = &#xA;        Sitecore.Context.Data.User.LocalName + &quot;/&quot; + ruleContext.ResolvedPath;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can create your action in similar way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then we create new Action under &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Bucketing&lt;/code&gt; item and set Text and Title fields like that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JEqJo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JEqJo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2016-10-20T18:35:25.137" LastActivityDate="2016-10-20T18:35:25.137" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="1638" PostTypeId="1" CreationDate="2016-10-20T19:11:30.627" Score="6" ViewCount="402" Body="&lt;p&gt;I have a menu where the submenu area is shown when you hover over the top menu option. The top option is a link field and the submenu is a rich text area. When I hover over the top option the submenu area is shown, but as I move over it the submenu is hidden again. It looks like I cross a  before I get to the menu and thus move off of the part of the page I need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried using a click event on the top level menu to add a class that I can use to show the submenu area. This does work, but removing the class is problematic. If I click anywhere outside of the menu the class should be removed, but not all areas seem to raise the click event. For example, if I click on an editable field somewhere else on the page the submenu stays visible and the edit frame chrome for the field I clicked on becomes visible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some snippets:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;nav id=&quot;main-nav&quot;&amp;gt;&#xA;&amp;lt;ul&amp;gt;&#xA;    &amp;lt;asp:Repeater runat=&quot;server&quot; ID=&quot;repNavigation&quot;&amp;gt;&#xA;        &amp;lt;ItemTemplate&amp;gt;&#xA;            &amp;lt;li class=&quot;top-nav&quot;&amp;gt;&#xA;                &amp;lt;sc:Link runat=&quot;server&quot; ID=&quot;topLink&quot; Field=&quot;Link&quot; &#xA;                    CssClass=&quot;&amp;lt;%# GetTopMenuClass((Item)Container.DataItem) %&amp;gt;&quot;&#xA;                    Item=&quot;&amp;lt;%# (Item) Container.DataItem %&amp;gt;&quot;&amp;gt;&#xA;                    &amp;lt;sc:Text ID=&quot;topLinkTitle&quot; runat=&quot;server&quot; Field=&quot;Menu Title&quot; Item=&quot;&amp;lt;%# (Item) Container.DataItem %&amp;gt;&quot;/&amp;gt;&#xA;                    &amp;lt;div class=&quot;triangle&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;&#xA;                                &amp;lt;/sc:Link&amp;gt;&#xA;                &amp;lt;div class=&quot;submenu&quot;&amp;gt;&#xA;                    &amp;lt;div class=&quot;submenu-content&quot;&amp;gt;&#xA;                        &amp;lt;sc:Text runat=&quot;server&quot; ID=&quot;submenuContent&quot; Field=&quot;Submenu Content&quot; Item=&quot;&amp;lt;%# (Item) Container.DataItem %&amp;gt;&quot;/&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;            &amp;lt;/li&amp;gt;&#xA;        &amp;lt;/ItemTemplate&amp;gt;&#xA;    &amp;lt;/asp:Repeater&amp;gt;&#xA;&amp;lt;/ul&amp;gt;&#xA;&amp;lt;/nav&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Prior to this code that attaches a click function to the html tag I tried code that attached something similar to every tag. It was unsuccessful, functioning as described above. Same as the code below.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;var isEditing = jQuery(&quot;body.page-editor&quot;);&#xA;if (isEditing) {&#xA;    var menuFields = jQuery(&quot;.top-nav&quot;);&#xA;&#xA;    var menuFields = jQuery(&quot;.top-nav a span[contenteditable=true]&quot;);&#xA;    menuFields.click(function () {&#xA;        var p = jQuery(this).closest(&quot;.top-nav&quot;);&#xA;&#xA;        if (p.hasClass(&quot;show-submenu&quot;)) {&#xA;            p.removeClass(&quot;show-submenu&quot;);&#xA;        } else {&#xA;            jQuery(&quot;.top-nav&quot;).removeClass(&quot;show-submenu&quot;);&#xA;            p.addClass(&quot;show-submenu&quot;);&#xA;        }&#xA;    });&#xA;}&#xA;&#xA;jQuery('html').click(function () {&#xA;    jQuery(&quot;.show-submenu&quot;).removeClass(&quot;show-submenu&quot;);&#xA;});&#xA;&#xA;jQuery('.top-nav').click(function (event) {&#xA;    event.stopPropagation();&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="244" LastEditorUserId="73" LastEditDate="2016-10-20T19:15:00.870" LastActivityDate="2016-10-21T14:15:00.757" Title="Is it possible to edit fields in the Page Editor that are shown on hover?" Tags="|experience-editor|javascript|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1639" PostTypeId="2" ParentId="1636" CreationDate="2016-10-20T19:14:43.447" Score="10" Body="&lt;p&gt;This answer does not &lt;em&gt;exactly&lt;/em&gt; match your question, but I believe it matches your requirements based on the comments you have made.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want the Item Bucket search features on the parent item but do not want the child items added into sub folders you can easily add those features to the parent item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that you can view &lt;code&gt;Standard Fields&lt;/code&gt; and find the &lt;code&gt;Editors&lt;/code&gt; field of the parent item. Then you can add the &lt;code&gt;Search&lt;/code&gt; editor to the list and move it to the top so it becomes the default:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jBFsG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jBFsG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have multiple items based off the same template you can also do this on the Standard Values of the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Qofub.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qofub.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you have all the search features and can just add child items as normal.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Edit: &lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To make the sub items hidden then you can set that on the standard values of the templates of the items you add to the parent:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2oD5g.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2oD5g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This items will only be visible if the &lt;code&gt;Hidden Items&lt;/code&gt; checkbox on the View ribbon is ticked:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W9ymB.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W9ymB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-10-20T19:25:24.453" LastActivityDate="2016-10-20T19:25:24.453" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1640" PostTypeId="1" CreationDate="2016-10-20T19:31:56.557" Score="8" ViewCount="2858" Body="&lt;p&gt;I need to programmatically update all of the instances of a particular rendering attached to a Sitecore item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the code I first tried and failed to use:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;foreach (RenderingReference renderingReference in parentRenderingReferences)&#xA;{&#xA;    /* ... unrelated code removed ... */&#xA;    var layoutField = new LayoutField(contentItem.Fields[FieldIDs.LayoutField]);&#xA;    LayoutDefinition layoutDef = LayoutDefinition.Parse(layoutField.Value);&#xA;    DeviceDefinition deviceDef = layoutDef.GetDevice(device.ID.ToString());&#xA;&#xA;    // Update the rendering's datasource&#xA;    RenderingDefinition renderingDefinition =&#xA;        deviceDef.GetRendering(renderingReference.RenderingID);&#xA;    renderingDefinition.Datasource = newDataSourceValue;&#xA;    /* ... unrelated code removed ... */&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using &lt;code&gt;RenderingReference.RenderingID&lt;/code&gt; in the final statement in that code didn't work, as the &lt;code&gt;RenderingID&lt;/code&gt; is the ID of the actual rendering item that lives in /layouts/renderings. So if the item has more than one of the same rendering on a template the code never accesses any renderings after the first instance. I tried using &lt;code&gt;RenderingReference.UniqueID&lt;/code&gt;, which appeared to be what I was looking for  (the ID of the instance of the rendering):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;foreach (RenderingReference renderingReference in parentRenderingReferences)&#xA;{&#xA;    /* ... unrelated code removed ... */&#xA;    var layoutField = new LayoutField(contentItem.Fields[FieldIDs.LayoutField]);&#xA;    LayoutDefinition layoutDef = LayoutDefinition.Parse(layoutField.Value);&#xA;    DeviceDefinition deviceDef = layoutDef.GetDevice(device.ID.ToString());&#xA;&#xA;    // Update the rendering's datasource&#xA;    RenderingDefinition renderingDefinition =&#xA;        deviceDef.GetRendering(renderingReference.UniqueID);&#xA;    renderingDefinition.Datasource = newDataSourceValue;&#xA;    /* ... unrelated code removed ... */&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case, the resulting &lt;code&gt;renderingDefinition&lt;/code&gt; object is null, so that doesn't work either. &lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-20T19:31:56.557" Title="How can you get a unique ID for a rendering on a specific Sitecore item?" Tags="|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1641" PostTypeId="2" ParentId="1640" CreationDate="2016-10-20T19:31:56.557" Score="8" Body="&lt;p&gt;The solution that ended up working for me was to use the &lt;code&gt;DeviceDefinition.GetRenderingByUniqueId&lt;/code&gt; method with the &lt;code&gt;RenderingReference.UniqueID&lt;/code&gt; object:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;foreach (RenderingReference renderingReference in parentRenderingReferences)&#xA;{&#xA;    /* ... unrelated code removed ... */&#xA;    var layoutField = new LayoutField(contentItem.Fields[FieldIDs.LayoutField]);&#xA;    LayoutDefinition layoutDef = LayoutDefinition.Parse(layoutField.Value);&#xA;    DeviceDefinition deviceDef = layoutDef.GetDevice(device.ID.ToString());&#xA;&#xA;    // Update the rendering's datasource&#xA;    RenderingDefinition renderingDefinition =&#xA;        deviceDef.GetRenderingByUniqueId(renderingReference.UniqueID);&#xA;    renderingDefinition.Datasource = newDataSourceValue;&#xA;    /* ... unrelated code removed ... */&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-20T19:31:56.557" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1642" PostTypeId="1" AcceptedAnswerId="1697" CreationDate="2016-10-20T20:50:16.120" Score="4" ViewCount="292" Body="&lt;p&gt;I note that the out of the box tabs of the Experience Profile reference a custom style sheet.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;link href=&quot;/sitecore/shell/client/Applications/ExperienceProfile/Contact/Details/DetailsTab.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&amp;gt;&#xA;&amp;lt;link href=&quot;/sitecore/shell/client/Applications/ExperienceProfile/Contact/Outcomes/Outcomes.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&amp;gt;&#xA;&amp;lt;link href=&quot;/sitecore/shell/client/Applications/ExperienceProfile/Contact/Overview/OverviewTab.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&amp;gt;&#xA;&amp;lt;link href=&quot;/sitecore/shell/client/Applications/ExperienceProfile/Contact/Channels/ChannelsTab.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;etc., etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to assign a style sheet to a custom tab I have added to this page.  Is this possible -- and if so, how?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running Sitecore 8.1 Update 2?&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="73" LastEditDate="2016-10-20T21:34:16.230" LastActivityDate="2016-10-22T19:38:43.940" Title="How can you assign a style sheet to a custom tab in the Experience Profile?" Tags="|experience-profile|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1643" PostTypeId="1" AcceptedAnswerId="1644" CreationDate="2016-10-20T21:24:26.303" Score="10" ViewCount="608" Body="&lt;p&gt;We have a Sitecore site that currently exists in production with a lot of content, on the order of half a million article items and supporting content around those articles. We have to relocate those items to another area in the tree (for business reasons that aren't relevant to the question). The structure of the items will remain the same, we just need to move them to a different area.  The &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; node start paths will be updated to reflect the new path, so no urls will change. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have to get this done as quickly as possible to minimize content authoring downtime. We also need to publish this change, and a full publish takes hours. What's the fastest way to accomplish this?&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="499" LastEditDate="2016-10-20T21:38:57.057" LastActivityDate="2016-10-22T16:53:24.720" Title="What is the fastest way to relocate lots of items in the tree?" Tags="|content-management|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1644" PostTypeId="2" ParentId="1643" CreationDate="2016-10-20T21:29:38.627" Score="14" Body="&lt;p&gt;Move the root item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d50hU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d50hU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lpxhM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lpxhM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/77DHR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/77DHR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT: Included to add this&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And yes, as you point out in comments. Instead of publishing this change, execute this operation in both &quot;master&quot; and &quot;web&quot; (and as needed, if you have more databases in play)&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-20T21:41:14.347" LastActivityDate="2016-10-20T21:41:14.347" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1645" PostTypeId="2" ParentId="70" CreationDate="2016-10-20T21:35:58.800" Score="3" Body="&lt;p&gt;A bit late for this party, but here is what I would suggest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all, you need to create your custom component which will inherit from the Coveo search component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you will add the methods needed for that component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you will bind a click event to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my component look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;Coveo.$(function() {  &#xA;               //I bind to my parent in my constructor, I also assign the underscore template &#xA;                var CustomFacet = (function(_super) {&#xA;                  function CustomFacet(element, options, bindings) {&#xA;                    this.type = 'CustomFacet';&#xA;                    Coveo.Component.bindComponentToElement(element, this);&#xA;                    this.element = element;&#xA;                    this.options = options;&#xA;                    this.bindings = bindings;&#xA;                    this.templateToLoad = Coveo.$(&quot;.custom-facet-values-template&quot;).html();&#xA;                    var _this = this;&#xA;                    //I populate my facet with a GroupByRequest&#xA;                    Coveo.$(this.bindings.searchInterface.element)&#xA;                    .on(Coveo.QueryEvents.buildingQuery, function(e, args){&#xA;                        args.queryBuilder.groupByRequests.push({&quot;field&quot; : &quot;@syssource&quot;, &quot;maximumNumberOfValues&quot;:6,&quot;sortCriteria&quot;:&quot;occurrences&quot;,&quot;injectionDepth&quot;:1000})&#xA;                    })&#xA;&#xA;                       //Then I load the results to my underscore template&#xA;                    .on(Coveo.QueryEvents.querySuccess, function(e, args){&#xA;                        var facetTitle = &quot;Sources&quot;&#xA;                        var facetValues = [];&#xA;                        _.each(args.results.groupByResults, function(groupByResult){&#xA;                            if(groupByResult.field == &quot;syssource&quot;){&#xA;                                facetValues.push(groupByResult.values);&#xA;                            }         &#xA;                        })&#xA;                        var customFacetValues = Coveo.UnderscoreTemplate.fromString(_this.templateToLoad).template;&#xA;                        var templateData = {&#xA;                            facetTitle: facetTitle,&#xA;                            facetValues: facetValues&#xA;                            };&#xA;                            Coveo.$(&quot;.CoveoCustomFacet&quot;).html(customFacetValues(templateData));&#xA;                        })&#xA;                    }&#xA;&#xA;                    //Then my list of custom methods.&#xA;                    // First a click event which will select the source field&#xA;                    CustomFacet.prototype.customFacetClick = function() {&#xA;                        Coveo.$(this.bindings.searchInterface.element)&#xA;                        .on(Coveo.QueryEvents.buildingQuery, function(e, args){&#xA;                            args.queryBuilder.advancedExpression.add('@syssource==&quot;John West Blog&quot;');&#xA;                        })&#xA;&#xA;                        this.bindings.usageAnalytics.logSearchEvent({&#xA;                           //Code to log the name of the event and the metadata&#xA;                        });&#xA;                        //Then also code to update the state and the URL&#xA;&#xA;                        //Then I execute my query &#xA;                        this.bindings.queryController.executeQuery();&#xA;                    }&#xA;&#xA;                    //Add more method, such as facet clear, facet deselect...&#xA;&#xA;                    // Then I register my component&#xA;                    CustomFacet.ID = 'CustomFacet';&#xA;                    Coveo.CoveoJQuery.registerAutoCreateComponent(CustomFacet);&#xA;&#xA;                }(Coveo.Component));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now my underscore template (very simple for now):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;div class=&quot;CoveoCustomFacet&quot;&amp;gt;&#xA;                    &amp;lt;script class=&quot;custom-facet-values-template&quot; type=&quot;text/underscore&quot;&amp;gt;&#xA;                        &amp;lt;div class=&quot;customFacetTitle&quot;&amp;gt;{{= facetTitle}}&amp;lt;/div&amp;gt;&#xA;                        {{ _.each(facetValues[0], function(value){ }}&#xA;                            &amp;lt;div class=&quot;customFacetValue&quot;&amp;gt;{{= value.Value}} {{=value.NumberOfResults}}&amp;lt;/div&amp;gt;&#xA;                        {{ }); }}&#xA;                        &amp;lt;div class=&quot;&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;                    &amp;lt;/script&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And finally my click event:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;Coveo.$('.CoveoCustomFacet').click(function(ev){&#xA;          Coveo.$(ev.currentTarget).coveo('customFacetClick');&#xA;       });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, I am playing with a Coveo object, so I use the Coveo jQuery plugin to call my click method, but I could also use the 'get' method of the Coveo Search Interface: &lt;a href=&quot;https://developers.coveo.com/x/aookAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;developers.coveo.com/display/JsSearchV1/Step+2+-+Interacting+with+the+search+interface+or+components+instance#Step2-Interactingwiththesearchinterfaceorcomponentsinstance-Getacomponentinstance&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sorry I didn't finish all the methods but this might be for another post.&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2017-10-02T13:59:06.553" LastActivityDate="2017-10-02T13:59:06.553" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1646" PostTypeId="2" ParentId="1601" CreationDate="2016-10-20T21:46:06.850" Score="7" Body="&lt;p&gt;Since the silent install documentation has been released, a new option has been added to the installer in order to create a certificate, point 18 of this doc:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://onlinehelp.coveo.com/en/ces/7.0/administrator/installing_ces_on_the_master_server.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://onlinehelp.coveo.com/en/ces/7.0/administrator/installing_ces_on_the_master_server.htm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This does not seem to be in the silent option documentation. I asked Coveo Documentation team to update this doc: &lt;a href=&quot;https://onlinehelp.coveo.com/en/ces/7.0/administrator/installing_or_updating_ces_silently.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://onlinehelp.coveo.com/en/ces/7.0/administrator/installing_or_updating_ces_silently.htm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They will need some time to do so and hopefully answer here once it is done.&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2016-11-25T16:19:33.320" LastActivityDate="2016-11-25T16:19:33.320" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1647" PostTypeId="1" AcceptedAnswerId="5926" CreationDate="2016-10-20T22:22:09.307" Score="8" ViewCount="445" Body="&lt;p&gt;I have seen a lot of good tutorials about how to setup Sitecore to be used in a Docker container. However, this still gives me the problem of configuring the different server roles (i.e. CD, CM, Processing and Aggregation, Reporting) based on my understanding of what should or should not be enabled. I would love to have a place where I could get the &quot;vanilla&quot; Sitecore installs with the proper configs enabled/disabled for each server role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that there is a PowerShell script that I can in theory use to setup an particular server role, but I was wondering what other resources we had that could make this easier. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why I would need this?&lt;/strong&gt;&#xA;Right now I'm looking at upgrading my 8.1 instance to 8.2, and it's looking like it might take as long as 2 months to be sure that I've got all of the configurations done properly. &lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="312" LastEditDate="2017-05-30T15:04:42.090" LastActivityDate="2018-03-28T07:44:32.587" Title="Where can I find Docker Images for the different Sitecore Installs?" Tags="|configuration|docker|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1648" PostTypeId="1" AcceptedAnswerId="1654" CreationDate="2016-10-20T22:47:22.690" Score="10" ViewCount="130" Body="&lt;p&gt;So I've been reading up on &lt;a href=&quot;https://docs.mongodb.com/manual/core/replica-set-architecture-geographically-distributed/&quot;&gt;geographically distributed MongoDB setups&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am juggling around an architectural approach/concept for a project. This is roughly what I am looking at.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A centralised Content Master setup &quot;somewhere&quot; in the Cloud&lt;/li&gt;&#xA;&lt;li&gt;Regional or National Content Delivery servers to&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Keep the CD server as close to the visitor as possible/feasible&lt;/li&gt;&#xA;&lt;li&gt;Allow the CD server to live communicate with regional/national systems&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If I understand the linked article above right; I should be able to set up a three-member replica set in the following manner:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;One MongoDB server on regional/national location/datacenter&lt;/li&gt;&#xA;&lt;li&gt;One MongoDB server in the global location&lt;/li&gt;&#xA;&lt;li&gt;One MongoDB server &quot;somewhere else&quot; in the Cloud&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And by doing so, I ensure (or do my best to) maximum availability and resilience for the setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is this; this all looks fine and well &quot;on paper&quot;. But will it work in real life?  I mean with the potentially massive amount of data being dumped into the local xDB; do I risk that the other 2 members simply never catch up as there isn't enough &quot;bandwidth in the world&quot; to handle the replication?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-21T06:00:07.907" Title="Is it possible to distribute my xDB MongoDB databases over 3 locations?" Tags="|xdb|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1649" PostTypeId="2" ParentId="1582" CreationDate="2016-10-20T23:04:42.030" Score="5" Body="&lt;p&gt;As the comments on the question rightly point out; there could be a number of potential sources for this event that happened to you. As such, I don't know if a real answer could ever be found. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, I will attempt an answer. What you're getting here is just my experience summed up to the best guess I can come up with. I will also provide you means to verify.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the things you said that I will factor in:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;after applying the fix to our client sites&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;How many?   To me, this particular wording suggests to me that you have a medium-to-large client count and potentially all these sites are hosted in an environment you control.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;most of them went down for on average 30 minutes before going back up again&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This tells me it's variable; and site dependent. And in so, we can pretty much already rule out the patch itself - if it was a direct cause of the delay, it would be relatively equal for all sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Applying the patch, however, &lt;em&gt;restarts the application pool&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I checked the Sitecore Logs for one of our sites, and the only exception that caught my eye was the following&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This exception does not seem related to what you're experiencing. And if there are no other log entries as you state, we can conclude the sites weren't &lt;em&gt;mass failing&lt;/em&gt; while this event took place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So with all of these assumptions in place; I think - individually - your client sites are &quot;slow starters&quot;. While there could be any number of reasons for this; more often than not it comes down to sub-optimal information architecture and poorly designed components that query too heavily. Under these conditions, a &quot;1st pagerequest&quot; is usually dis-proportionally slow, subsequent requests are &quot;fine&quot; since Sitecore has now managed to cache all of this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To worsen the problem; you &lt;em&gt;may&lt;/em&gt; have applied the patch rapidly. To all of the sites. All at once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if my line of reasoning above holds true; this now means X number of sites resetting their application pools, performing sub-optimal queries en masse - completely flatlining your underlying SQL servers, not to mention CPU and memory resources of your web servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And under these circumstances; a 30 minute or more recovery time from an application pool reset is entirely likely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To validate if my theory holds true; try resetting the apppool on 1 of your sites. Then time how long it takes for the site to respond. Then reset 2 apppools and time the first site again (after requesting home page on both). If it takes longer than the first time, this would be the smoking gun as they say.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if not; this is the information I believe we'll need - to be able to provide a better answer.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Your hosting/infrastructure setup. VMs?  Shared SQL servers?&lt;/li&gt;&#xA;&lt;li&gt;How many sites were updated and how quickly?&lt;/li&gt;&#xA;&lt;li&gt;&quot;Cold Start&quot; request time for your home page, after an app pool reset&lt;/li&gt;&#xA;&lt;li&gt;Number of items in your &lt;code&gt;[EventQueue]&lt;/code&gt; and &lt;code&gt;[History]&lt;/code&gt; tables&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is the best I can come up with, on the given information. I hope it helps you.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-20T23:04:42.030" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1650" PostTypeId="1" AcceptedAnswerId="1667" CreationDate="2016-10-20T23:24:06.840" Score="9" ViewCount="439" Body="&lt;p&gt;I've got a CM server with &lt;code&gt;Coveo&lt;/code&gt; for Sitecore installed (free edition) and Coveo Enterprise Search on a separate server. I set up Sitecore with Coveo on CM and reindexed relatively quickly. When I set up CD, I have it point to the CM server's implementation and call the search &lt;code&gt;API/admin service/etc&lt;/code&gt; on the CM. I'm running a reindex on CD now to do the initial population, but it's running incredibly slow. Like, I started it two hours ago and it's through 450ish documents of the over 42000 it has to index. And that's just &lt;code&gt;Coveo_master_index&lt;/code&gt;, then I have to do &lt;code&gt;Coveo_web_index&lt;/code&gt;. Is there any way to speed this up, because this is crazy. Thanks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 10/24:&lt;/strong&gt;  I marked an answer on this one because it answered the specific question, but I've got more coming out of the scaling guide, now posted here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1766/getting-coveo-configured-properly&quot;&gt;Getting Coveo configured properly in a CD/CM server setup&lt;/a&gt;. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="5387" LastEditDate="2019-08-07T04:31:27.460" LastActivityDate="2019-08-07T04:31:27.460" Title="Speeding up Coveo reindex" Tags="|coveo|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="1651" PostTypeId="1" AcceptedAnswerId="1653" CreationDate="2016-10-20T23:53:27.507" Score="14" ViewCount="3397" Body="&lt;p&gt;The solution I am currently working on, the team made the decision to use &lt;code&gt;habitats&lt;/code&gt; way of publishing projects in our solutions via &lt;code&gt;gulp&lt;/code&gt; tasks. We are finding out however that periodically when we try to publish to our web-root the files are locked and the whole publish process fails because of this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This causes two problems:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Unclean half publishes&lt;/li&gt;&#xA;&lt;li&gt;Time wasted, waiting to deploy again&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So I want to know a few things:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is there a way to avoid the half publishes or a way to reverse what we have tried to publish?&lt;/li&gt;&#xA;&lt;li&gt;Can we get round this intermittent issue of files being locked by a process?&lt;/li&gt;&#xA;&lt;li&gt;Is this a fix we can do modifying our gulp scripts if not then any other guidance is appreciated.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example lock&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Deploy\Microsoft.Web.Publishing.Deploy.FileSystem.targets(96,5): &#xA;error : Copying file obj\Debug\Package\PackageTmp\bin\roslyn\csc.exe to C:\inetpub\wwwroot\WebSite.local\Website\bin\roslyn\csc.exe failed. &#xA;The process cannot access the file 'C:\inetpub\wwwroot\WebSite.local\Website\bin\roslyn\csc.exe' because it is being used by another process. Error!&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="283" LastEditorUserId="283" LastEditDate="2016-10-21T00:13:35.700" LastActivityDate="2018-03-21T16:52:26.830" Title="Publishing projects fails because of locked files" Tags="|helix|gulp|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1652" PostTypeId="2" ParentId="1651" CreationDate="2016-10-21T00:10:13.177" Score="4" Body="&lt;p&gt;I used Habitat build chain some time ago and had similar issues.&#xA;I am not sure if it solve 100% of our problems but here is what I learned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Locked items&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your references. Exclude unnecessary DLLs from publishing.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unnecessary dlls are those dlls which are present in Sitecore &lt;code&gt;Website/bin&lt;/code&gt; directory by default. You should avoid copying &lt;strong&gt;Sitecore.Kernel.dll&lt;/strong&gt;, &lt;strong&gt;Sitecore.Client.dll&lt;/strong&gt; and so on.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Find potentially broken projects&lt;/li&gt;&#xA;&lt;li&gt;Identify unnecessary referenced dll in your project&lt;/li&gt;&#xA;&lt;li&gt;Right click on it and select &lt;code&gt;Properties&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set &lt;code&gt;Copy Local&lt;/code&gt; property to &lt;strong&gt;False&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I remember that those unnecessary referenced caused some issues while running &lt;strong&gt;Publish Projects&lt;/strong&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unclean half publishes:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the reason why your files might be still unpublished even if you run publish and everything seems to be fine is &lt;strong&gt;Local.pubxml.user&lt;/strong&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to your project folder: &lt;code&gt;c:\proj\src\Foundation\P1\code\Properties\PublishProfiles\&lt;/code&gt;.&#xA;and remove it (there are two files &lt;code&gt;Local.pubxml&lt;/code&gt;, &lt;code&gt;Local.pubxml.user&lt;/code&gt; - first one is fine, second is a temporary file.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it solve at least one of your problems.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-21T00:10:13.177" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1653" PostTypeId="2" ParentId="1651" CreationDate="2016-10-21T00:11:25.343" Score="12" Body="&lt;p&gt;As asked in comments above; normally &lt;code&gt;/bin&lt;/code&gt; files should not be locked for any particular reason (other than when the site is just starting up) - so I'm not entirely sure what's going on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can help you on the intermittent part of your question however; I would just flip the app pool before starting the file publish task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;appcmd recycle apppool /apppool.name&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a few NPM modules that can execute this for you. One would be &lt;a href=&quot;https://www.npmjs.com/package/gulp-run&quot; rel=&quot;noreferrer&quot;&gt;gulp-run&lt;/a&gt;. It would look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;gulp.task('reset-apppool', function() {&#xA;  return run('appcmd recycle apppool /apppool.name').exec()&#xA;    .pipe(gulp.dest('output'));&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT: Updated to include after additional information was added to original question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fact that Roslyn is the locked file, this may actually lead to more of an answer. I suspect Roslyn.exe is busy compiling all of the SPEAK views in your solution (or even just your own .cshtml files) and that is why it is locked at the time you deploy again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I sourced some information from this answer: &lt;a href=&quot;https://stackoverflow.com/a/38309167/81631&quot;&gt;https://stackoverflow.com/a/38309167/81631&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I assume you have the DotNetCompilerPlatform package referenced in your project?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is all true, there are two things I would try next.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Follow the recommendation in the answer - even if I am not entirely sure of the full ramifications of it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To resolve this issue, simply uncheck the &quot;Allow precompiled site to&#xA;  be updatable&quot; option in your publish profile settings. This should&#xA;  pre-compile your views and allow your C# 6.0 (Latest version of Roslyn&#xA;  Compiler) to run like a champ.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;If this doesn't help; possibly your site is spending too much time on recompiling over and over. I recommend adding the &lt;code&gt;optimizeCompilations&lt;/code&gt; attribute to your web.config &lt;code&gt;&amp;lt;compilation&amp;gt;&lt;/code&gt; element.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;compilation debug=&quot;true&quot; optimizeCompilations=&quot;true&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See if that makes the problem go away.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-21T00:25:59.763" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1654" PostTypeId="2" ParentId="1648" CreationDate="2016-10-21T05:03:59.230" Score="9" Body="&lt;h2&gt;Sitecore-specific replica set considerations&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your question is partially answered here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1364/&quot;&gt;What are the best practices for MongoDB replica set latency?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That question discusses how latency affects a replica set and how to set it up properly for xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a short summary, you should set up xDB to only read from the primary node of your replica set. This will ensure that all CD servers see the same consistent data set.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Replica set data synchronization&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Main article: &lt;a href=&quot;https://docs.mongodb.com/v3.2/core/replica-set-sync/_&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.mongodb.com/v3.2/core/replica-set-sync/&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since all of your instances will read and write from the same MongoDB server, replication rates should only bother you in case of a failure. If your primary node fails, you don't want other nodes to be far behind on replication—otherwise, they won't be able to become the new primary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Luckily, that is rarely an issue. Secondary members copy the &lt;a href=&quot;https://docs.mongodb.com/v3.2/core/replica-set-oplog/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;oplog&lt;/strong&gt;&lt;/a&gt; from their sync source (normally, the primary node) and apply these operations in an asynchronous process. Oplog entries are often more lightweight than actual data modifications—think of the size of an update query vs the size of data it modifies. Even if your application mostly creates new data (which is what xDB does), syncs are done in bulks, which means they're more efficient network-wise.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can always &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/troubleshoot-replica-sets/#check-the-replication-lag&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;check&lt;/strong&gt;&lt;/a&gt; how big the lag is between your nodes and take measures, such as ensuring there's enough bandwidth between your servers. But this is almost never an issue. One important thing to consider, though, is whether your primary node's inbound bandwidth is much faster than the outbound bandwidth. This may cause increased replication lag in some situations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a summary, a geographically distributed replica set is a very good idea and is unlikely to give you synchronization problems.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-21T06:00:07.907" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1655" PostTypeId="2" ParentId="1638" CreationDate="2016-10-21T06:52:31.697" Score="1" Body="&lt;p&gt;Your idea can be slightly modified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After clicking on the menu &lt;strong&gt;and&lt;/strong&gt; if the user is in the Experience Editor you can render a button which will allow user to remove the class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively you could controll the submenu with a button (of course visible only in EE) ie. the button could add a class to the submenu and when the author is done remove it and restore normal behaviour.&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-21T06:52:31.697" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1656" PostTypeId="1" CreationDate="2016-10-21T08:18:52.000" Score="9" ViewCount="405" Body="&lt;p&gt;We are able to run the code generation through the Visual Studio IDE (Right click -&gt; Regenerate for all items)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there other options available, such as Project Build targets or an external program that can be run?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason for this is that we have (or will have) many projects within a Helix / Habitat style architecture, and would like to run all the code generation at certain times.&lt;/p&gt;&#xA;" OwnerUserId="348" LastActivityDate="2016-10-21T09:55:22.310" Title="TDS Code Generation - What options do I have to run this away from the IDE?" Tags="|tds|helix|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1657" PostTypeId="2" ParentId="1656" CreationDate="2016-10-21T09:40:50.407" Score="3" Body="&lt;p&gt;Unfortunately, this is not currently possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The explanation is that since MSBuild doesn’t include the T4 processing engine inside its build components, TDS isn’t able to make a call to it during the execution of a build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the main reason why code needs to be generated and checked-in before builds happen.&lt;/p&gt;&#xA;" OwnerUserId="931" LastActivityDate="2016-10-21T09:40:50.407" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1659" PostTypeId="1" CreationDate="2016-10-21T10:07:27.737" Score="7" ViewCount="232" Body="&lt;p&gt;We have a site in production that uses ECM 2.1 (before EXM). The production environment consists of a CM server and 2 CDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is some code running on the CD servers that creates and sends messages using AyncSendingManager. Much the same as this post from briancaos:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2016/03/19/sitecore-exm-send-an-email-from-code/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2016/03/19/sitecore-exm-send-an-email-from-code/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could there potentially be any way to make sure that the message sends from a job on the CM box rather than the CD server or is this impossible?&lt;/p&gt;&#xA;" OwnerUserId="222" LastEditorUserId="121" LastEditDate="2016-10-21T11:59:07.237" LastActivityDate="2016-10-21T12:02:57.987" Title="Is there a way to configure ECM to send a message from a specific server?" Tags="|ecm|scaling|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1660" PostTypeId="2" ParentId="1659" CreationDate="2016-10-21T11:00:02.460" Score="5" Body="&lt;p&gt;I believe it should be possible, by configuring your CM box to act as the &quot;dedicated server&quot; for your setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With reference to this guide - section 3.1.3. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/products/ecm/13/ecm_administrator_and_developer_guide_13-usletter.pdf&quot;&gt;E-Mail Campaign Manager for Sitecore CMS 6.5 - Administrator’s and Developer’s Guide&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I can tell; all you would need to do on your CD server, is remove the &lt;code&gt;&amp;lt;scheduled&amp;gt;&lt;/code&gt; section from your &lt;code&gt;Sitecore.EmailCampaign.config&lt;/code&gt; file. Then on your CM server, tell it that it is the master by adding the address of the CM to the &lt;code&gt;&amp;lt;DedicatedServers&amp;gt;&lt;/code&gt; section of the same config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As best I know; this would make your CM box the point of origin for all ECM messages.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-21T11:00:02.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1661" PostTypeId="1" AcceptedAnswerId="1723" CreationDate="2016-10-21T11:06:18.627" Score="13" ViewCount="874" Body="&lt;p&gt;Sitecore's .config files will sometimes use the &lt;code&gt;ref&lt;/code&gt; attribute for inheriting the current node from an existing configuration node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example from &lt;em&gt;Sitecore.ContentSearch.Solr.Index.Analytics.config&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;&amp;gt;&#xA;  &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;    &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;    ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How does this feature work, exactly? It's clear that you can use XPath to refer to another node, but what does this do under the hood? Will the whole content of the referenced node, along with all attribute values, be (logically) copied into the referrer?&lt;/li&gt;&#xA;&lt;li&gt;Are there any caveats about extending referenced configuration? Like in the example above, &lt;code&gt;&amp;lt;fieldMap&amp;gt;&lt;/code&gt; both refers to an existing node and adds its own children. Will they be merged with the original node's children?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-21T16:21:54.460" LastActivityDate="2016-10-24T13:26:41.977" Title="How does the `ref` attribute work in Sitecore configuration files?" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1663" PostTypeId="1" AcceptedAnswerId="1669" CreationDate="2016-10-21T11:44:42.840" Score="12" ViewCount="1831" Body="&lt;p&gt;I'm migrating my Sitecore DBs from a local installation to Azure PaaS SQL instances using SSMS.  I've successfully migrated Core, Master, Web and, with a small edit, Session.  I'm having problems with the Analytics database.  Even after it fails, Sitecore seems to still work fine with the database, but I'm sure there are unseen consequences.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the Analytics db used for?  Do I need it if I'm using MongoDB for xDB?&lt;/p&gt;&#xA;" OwnerUserId="933" LastEditorUserId="338" LastEditDate="2016-10-25T20:30:37.487" LastActivityDate="2016-10-25T20:30:37.487" Title="What is the purpose of the Analytics DB in Sitecore 8.x?" Tags="|sql-database|azure|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1664" PostTypeId="2" ParentId="1659" CreationDate="2016-10-21T12:02:57.987" Score="4" Body="&lt;p&gt;You could create the email and later scheduled it, instead of sending it.&#xA;As you should have removed the sections that let ECM send scheduled emails from the CD (section 3.4.2 of &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/products/ecm/210/ecm_administrator_and_developer_guide_21-a4.pdf&quot; rel=&quot;nofollow&quot;&gt;this document&lt;/a&gt;), only the CM should handle it.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Please note that on ECM 2.1 having dedicated instances&#xA;  &lt;code&gt;&amp;lt;DedicatedServers&amp;gt;&lt;/code&gt; does not mean that those instances will be the&#xA;  only one sending the emails, but that the role of that instance is&#xA;  dedicated to dispatching emails only (It will process only the&#xA;  sendemail pipeline).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MessageRepository _messageRepository = new MessageRepository();&#xA;Message message = _messageRepository.GetMessage(messageItem.ID.ToString());&#xA;message.ScheduledStartDateTime = DateTime.Now;&#xA;DispatchService ds = new DispatchService(messageRepository, new ABTestRunner(messageRepository), new ScheduledDispatch()))&#xA;ds.Schedule(message);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="151" LastActivityDate="2016-10-21T12:02:57.987" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1665" PostTypeId="1" CreationDate="2016-10-21T12:32:03.740" Score="2" ViewCount="154" Body="&lt;p&gt;After upgrading my site from 7.5 to 8.1 Update 3 and when trying to open Sitecore workbox and clicking on the RSS feeds icon on any workflow; the following error appears: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;4568 2016:10:21 07:06:59 ERROR Application error.&#xA;    Exception: System.InvalidOperationException&#xA;    Message: workflow&#xA;    Source: Sitecore.Kernel&#xA;       at Sitecore.Shell.Feeds.FeedFormatter.WorkflowEventTitleAndCaption(Item item, WorkflowEvent workflowEvent)&#xA;       at Sitecore.Shell.Feeds.FeedTypes.Workflow.BuildSyndicationItem(Item item, WorkflowEvent workflowEvent)&#xA;       at Sitecore.Shell.Feeds.FeedTypes.Workflow.GetSyndicationItems()&#xA;       at Sitecore.Shell.Feeds.FeedTypes.ClientFeed.Render()&#xA;       at Sitecore.Shell.Feeds.FeedRequestHandler.DoProcessRequest(HttpContext context)&#xA;       at Sitecore.Shell.Feeds.FeedRequestHandler.ProcessRequest(HttpContext context)&#xA;       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas of what is the cause of this error? &lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="73" LastEditDate="2019-05-27T09:34:11.747" LastActivityDate="2019-05-27T09:34:11.747" Title="Workbox RSS throws exception after upgrading to 8.1 Update 3" Tags="|workbox|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1666" PostTypeId="2" ParentId="1665" CreationDate="2016-10-21T12:56:33.997" Score="2" Body="&lt;p&gt;While building the RSS workbox, Sitecore uses direct SQL call to the database to get all the items in particular workflow state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then for every item it tries to get workflow state and then it tries to get workflow from that state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like in your database you have corrupted workflow state information - maybe some workflow states are not migrated properly or some workflows?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would start with removing broken links and see where it goes.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-21T12:56:33.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1667" PostTypeId="2" ParentId="1650" CreationDate="2016-10-21T13:14:32.913" Score="7" Body="&lt;p&gt;As JF said in the comments, indexing CD should be avoided at all cost. Also, if you are using several CM, you need to configure them to avoid competition between instances. See: &lt;a href=&quot;https://developers.coveo.com/x/3oAkAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;developers.coveo.com/display/SitecoreV4/Coveo+for+Sitecore+Scaling+Guide&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now indexing slowness can be caused by several factors. First of all, on the Sitecore side:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Heavy processing done by computed fields (avoid web request or queries against the index. Use database calls instead)&lt;/li&gt;&#xA;&lt;li&gt;Heavy processing done by processors on the indexing pipelines.&lt;/li&gt;&#xA;&lt;li&gt;Way too many fields. Coveo will index all the fields on your templates by default. This is fine in a standard environment, but for a large setup, you might want to start including/excluding fields and templates. See: &lt;a href=&quot;https://developers.coveo.com/x/xYEUAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;developers.coveo.com/display/SitecoreV4/Understanding+the+coveoIndexingGetFields+and+coveoIndexingGetTemplates+Pipelines&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;On the Coveo side, ensure that you have the proper hardware : &lt;a href=&quot;https://onlinehelp.coveo.com/en/ces/7.0/administrator/coveo_platform_hardware_and_software_requirements.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://onlinehelp.coveo.com/en/ces/7.0/administrator/coveo_platform_hardware_and_software_requirements.htm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now if you cleared all the points above and you still have slowness, you might want to look at the Sitecore logs or the Coveo Index Logs (CES7/Logs)&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2017-10-02T14:09:49.853" LastActivityDate="2017-10-02T14:09:49.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1668" PostTypeId="2" ParentId="1638" CreationDate="2016-10-21T14:15:00.757" Score="5" Body="&lt;p&gt;For non-rendered fields, or things that are handled via javascript, etc, I use a combination of Edit Frames and EE views. The EE Views let you present the content in a way that can expose content and fields that might not otherwise be easily accessible and Edit frames let you edit fields that aren't rendered or have complex types.&lt;/p&gt;&#xA;" OwnerUserId="238" LastActivityDate="2016-10-21T14:15:00.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1669" PostTypeId="2" ParentId="1663" CreationDate="2016-10-21T14:23:54.253" Score="9" Body="&lt;p&gt;The Analytics DB is used as a reporting database for xDB. MongoDB is the collection database and periodically this is aggregated and stored in the Analytics db (also called the reporting db).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have xDB and Tracking disabled, then you will not need the Analytics DB. IF you are using xDB and want to be able to view all the reports etc... then you will need it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore will work OK either way without it. But you may get errors in your log file if xDB is enabled. The aggregation services will fail, and you will not be able to view the reports properly.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-21T14:23:54.253" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1671" PostTypeId="2" ParentId="1663" CreationDate="2016-10-21T15:19:44.100" Score="5" Body="&lt;p&gt;Just adding to Richard Seal's answer that you can rebuild the contents of the SQL reporting database, as documented &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;As the documentation notes:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The Sitecore Experience Database (xDB) uses two database systems (SQL Server and MongoDB) that need to be kept in sync to provide accurate data for Sitecore reporting applications:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;MongoDB collection database - stores all experience data&lt;/li&gt;&#xA;&lt;li&gt;SQL Server reporting database - stores aggregated reporting data&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Sitecore automatically keeps these databases in sync but there are certain circumstances when you may need to perform a complete rebuild of the reporting database. For example, after you have run the Sitecore Analytics Conversion Tool and have additional historical data that you want to include in your reporting applications. There are also several other &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/reasons_for_rebuilding_the_reporting_database&quot; rel=&quot;noreferrer&quot;&gt;reasons for rebuilding the reporting database&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="247" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-21T15:19:44.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1672" PostTypeId="1" AcceptedAnswerId="1680" CreationDate="2016-10-21T15:31:29.630" Score="12" ViewCount="1030" Body="&lt;p&gt;We have a client that is on 8.1u1 and is using WFFM.  They want to integrate the data collected on the form into Dynamics CRM, however the OOTB save actions for creating entities in the CRM aren't flexible enough.  They have some complex business rules on when to create Contacts, when to create Leads, connecting them to Organizations, etc...  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To date, we have accomplished this with a custom form, but now they want the ability to use that same logic, but create more forms on the fly.  We already have the business logic nicely abstracted and injected into the controller, so I figured I could just wrap that in a Save Action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my question is how can I &quot;inject&quot; the implementation of our business rules into my WFFM save action and reuse that?&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2016-10-21T18:25:15.840" Title="Injecting dependencies into a custom WFFM save action" Tags="|wffm|dependency-injection|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1673" PostTypeId="2" ParentId="1672" CreationDate="2016-10-21T15:43:19.257" Score="1" Body="&lt;p&gt;Had a very similar situation a while ago (just another CRM) and did not have much time (as usual) to get it working. I ended up using a service locator pattern, probably not the most elegant solution but it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the constructor of the save action I resolve the dependencies, in our case using Autofac:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;// Constructor&#xA;public SaveToSomewhere()&#xA;{&#xA;    XFactory = ApplicationContainer.Resolve&amp;lt;IXFactory&amp;gt;();&#xA;    XRepository = ApplicationContainer.Resolve&amp;lt;IXRepository&amp;gt;();&#xA;}&#xA;&#xA;public IXFactory XFactory { get; set; }&#xA;public IXRepository XRepository { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is a solution, but if there are more elegant ones - really injecting instead of resolving - I'd also love to learn those.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-21T15:43:19.257" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1674" PostTypeId="1" CreationDate="2016-10-21T15:59:53.047" Score="6" ViewCount="4060" Body="&lt;p&gt;I have an issue where our custom pipeline which crops images is not running correctly for some images. It was working fine and still seems to work correctly for the existing images but for new images it no longer works correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the parameters we are sending to fire our pipeline:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/-/media/test-image.jpg?mw=660&amp;amp;mh=530&amp;amp;as=1&amp;amp;centercrop=1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It is not cropping new images anymore and if I look at the error in the logs this seems to be falling back to the out of the box image pipeline:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;14028 16:47:19 ERROR Could not run the 'getMediaStream' pipeline for&#xA;  '/sitecore/media library/test-image'. Original media data will be&#xA;  used. Exception: System.ArgumentException Message: Parameter is not&#xA;  valid. Source: System.Drawing    at System.Drawing.Bitmap..ctor(Stream&#xA;  stream)    at&#xA;  Sitecore.Resources.Media.SaveColorProfileProcessor.Process(GetMediaStreamPipelineArgs&#xA;  args)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Resources.Media.Media.GetStreamFromPipeline(MediaOptions&#xA;  options, Boolean&amp;amp; canBeCached)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've looked into it and thought it might be this bug, but it's for an older version of Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/856744&quot; rel=&quot;nofollow&quot;&gt;https://kb.sitecore.net/articles/856744&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorebasics.wordpress.com/2015/11/21/could-not-run-the-getmediastream-pipeline/&quot; rel=&quot;nofollow&quot;&gt;https://sitecorebasics.wordpress.com/2015/11/21/could-not-run-the-getmediastream-pipeline/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also checked the permissions on the images and they seem fine and this issue seems to affect all image types, jpeg, gif, pn etc so I'm a bit stumped what might be causing it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other details:&lt;/strong&gt; We are Running Sitecore 8.1 - update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;--Update--&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've taken a copy of the SaveColorProfileProcessor Pipeline and it is indeed throwing an error when trying to read the properties of the image. I've wrapped it in a try{}catch{} and this is skips over the error and proceeds as expected with other Pipelines and resizes the images correctly. I have opened a ticket with Sitecore Support regarding this and why GetMediaStream() is returning this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'mediaStream.ReadTimeout' threw an exception of type&#xA;  'System.InvalidOperationException'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'll update here further once I know more.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            try&#xA;            {&#xA;                PropertyItem propertyItem =&#xA;                    ((IEnumerable&amp;lt;PropertyItem&amp;gt;) new Bitmap(mediaStream).PropertyItems)&#xA;                        .SingleOrDefault&amp;lt;PropertyItem&amp;gt;((Func&amp;lt;PropertyItem, bool&amp;gt;) (x =&amp;gt; x.Id == 34675));&#xA;                if (propertyItem == null)&#xA;                    return;&#xA;                args.CustomData.Add(&quot;ColorProfile&quot;, (object) propertyItem);&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Log.Error(&quot;Error saving colour profile: &quot; + ex.Message, ex);&#xA;                return;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-10-24T11:33:20.730" LastActivityDate="2016-11-02T17:44:33.347" Title="ERROR Could not run the 'getMediaStream' pipeline for 'x' when loading images" Tags="|pipelines|media-library|" AnswerCount="2" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="1675" PostTypeId="2" ParentId="1661" CreationDate="2016-10-21T16:14:47.463" Score="2" Body="&lt;p&gt;The ref attribute is used to refer to other parts of the configuration using an XPath. If there is a piece on config which is already in place with information needed, instead of repeating it you can refer to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ref object has to map to a property.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-21T16:14:47.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1676" PostTypeId="2" ParentId="1674" CreationDate="2016-10-21T16:41:02.390" Score="5" Body="&lt;p&gt;That processor; the &lt;code&gt;Sitecore.Resources.Media.SaveColorProfileProcessor&lt;/code&gt; seems bugged to me. I know that's not entirely constructive, but I'll exemplify why I believe this to be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your query string contains resizing information. This processor is then tasked with grabbing the color profile for use in resizing later on. In doing this, it opens up a &lt;code&gt;Stream&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/alkj7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/alkj7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which takes you here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zF1Nu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zF1Nu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And ultimately here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3qCQE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3qCQE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now here's the thing. From what I can tell; if your media item isn't in the MediaCache at this point; this method will &lt;strong&gt;run the &lt;code&gt;&amp;lt;getMediaStream&amp;gt;&lt;/code&gt;&lt;/strong&gt; pipeline &lt;strong&gt;again&lt;/strong&gt; to get the stream.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I'm guessing this blows up, as you probably cannot open the &lt;code&gt;Stream&lt;/code&gt; twice or some such.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-21T16:41:02.390" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1677" PostTypeId="1" AcceptedAnswerId="1678" CreationDate="2016-10-21T16:45:41.290" Score="10" ViewCount="1022" Body="&lt;p&gt;We're getting a ton of errors from an RSS page on one of the websites when bots hit it to get/parse RSS:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: Tracker.Current is not initialized&#xA;Source: Sitecore.Analytics&#xA;at Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs args)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Analytics.Pipelines.HttpRequest.StartAnalytics.Process(RenderLayoutArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are thousands of errors in logs. The RSS page is fairly standard - using standard FeedDeliveryLayout.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;c#&quot; EnableSessionState=&quot;false&quot; EnableViewState=&quot;false&quot; Inherits=&quot;Sitecore.Syndication.Web.FeedDeliveryLayout, Sitecore.Kernel&quot; CodePage=&quot;65001&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I disabled analytics a few hours ago for this page by going to Appearance -&gt;Tracking -&gt;Attributes -&gt;Settings -&gt;Disable analytics. There are still errors in the log though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any other settings I need to change to disable analytics for this page? &lt;/p&gt;&#xA;" OwnerUserId="794" LastEditorUserId="73" LastEditDate="2016-10-22T16:04:45.613" LastActivityDate="2016-10-22T18:31:05.077" Title="Tracker.Current is not initialized for RSS page" Tags="|xdb|rss|tracking|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1678" PostTypeId="2" ParentId="1677" CreationDate="2016-10-21T16:55:14.277" Score="7" Body="&lt;p&gt;The reason the tracker is not initialized is because it can't work with session state disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I understand, you don't want this page to be tracked anyway. To ensure that xDB tracking is disabled, just add the following code into the page:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;&#xA;protected override void OnPreInit(EventArgs e)&#xA;{&#xA;    Tracker.Enabled = false;&#xA;}&#xA;&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This way, the &lt;code&gt;startAnalytics&lt;/code&gt; pipeline will be aborted way before the &lt;code&gt;StartTracking&lt;/code&gt; processor, which is where your exceptions occur.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may have to add the following lines at the top of the page:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-aspx prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Analytics&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-21T17:58:59.200" LastActivityDate="2016-10-21T17:58:59.200" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1679" PostTypeId="1" CreationDate="2016-10-21T18:22:57.000" Score="8" ViewCount="2714" Body="&lt;p&gt;I have a Sitecore v8.1 site using Solr 4.10. Here is my index setup.  First I have two custom fields defined in my index defined as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;    &amp;lt;field fieldName=&quot;read_roles&quot; returnType=&quot;stringCollection&quot;&amp;gt;MyAssembly.ReadItemRoles,MyAssembly&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;denied_roles&quot; returnType=&quot;stringCollection&quot;&amp;gt;MyAssembly.DenyReadItemRoles,MyAssembly&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code for ReadItemRoles looks like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class ReadItemRoles : IComputedIndexField&#xA;{&#xA;    public object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        var scIndexable = indexable as SitecoreIndexableItem;&#xA;        var item = (Item)scIndexable;&#xA;        List&amp;lt;string&amp;gt; rolesList = new List&amp;lt;string&amp;gt;();&#xA;        using (new Sitecore.SecurityModel.SecurityEnabler())&#xA;        {&#xA;            var roles = RolesInRolesManager.GetAllRoles();&#xA;            var readRoles = roles.Where(r =&amp;gt; item.Security.CanRead(r));&#xA;            if (readRoles != null &amp;amp;&amp;amp; readRoles.Any())&#xA;            {&#xA;                rolesList = readRoles.Select(r =&amp;gt; r.Name.Replace(@&quot;\&quot;, &quot;|&quot;)).ToList();&#xA;            }&#xA;        }&#xA;        return rolesList;&#xA;    }&#xA;&#xA;    public string FieldName { get; set; }&#xA;    public string ReturnType { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code for DenyReadItemRoles is similar and looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class DenyReadItemRoles : IComputedIndexField&#xA;{&#xA;    public object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        var scIndexable = indexable as SitecoreIndexableItem;&#xA;        var item = (Item)scIndexable;&#xA;        List&amp;lt;string&amp;gt; rolesList = new List&amp;lt;string&amp;gt;();&#xA;        using (new Sitecore.SecurityModel.SecurityEnabler())&#xA;        {&#xA;            var roles = RolesInRolesManager.GetAllRoles();&#xA;            var denyRoles = roles.Where(r =&amp;gt; r.IsDenied(item));&#xA;            if (denyRoles != null &amp;amp;&amp;amp; denyRoles.Any())&#xA;            {&#xA;                rolesList = denyRoles.Select(r =&amp;gt; r.Name.Replace(@&quot;\&quot;, &quot;|&quot;)).ToList();&#xA;            }&#xA;        }&#xA;        if (rolesList.Count == 0)&#xA;        {&#xA;            var denyRoles = new List&amp;lt;string&amp;gt;();&#xA;            denyRoles.Add(&quot;none&quot;);&#xA;            return denyRoles;&#xA;        }&#xA;        return rolesList;&#xA;    }&#xA;&#xA;    public string FieldName { get; set; }&#xA;    public string ReturnType { get; set; }&#xA;}&#xA;&#xA;internal static class SecurityExtensions&#xA;{&#xA;    internal static bool IsDenied(this Role role, Item item)&#xA;    {&#xA;        if (item.Security.CanRead(role)) return false;&#xA;        AccessRuleCollection accessRules = item.Security.GetAccessRules();&#xA;        if (accessRules != null)&#xA;        {&#xA;            foreach (AccessRule rule in accessRules)&#xA;            {&#xA;                if (rule.SecurityPermission == SecurityPermission.DenyAccess &amp;amp;&amp;amp;&#xA;                    rule.AccessRight == AccessRight.ItemRead &amp;amp;&amp;amp; rule.Account == role)&#xA;                {&#xA;                    return true;&#xA;                }&#xA;            }&#xA;        }&#xA;        return (item.Parent == null) ? false : role.IsDenied(item.Parent);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the intent here is that after I index my web database I should have a field for every item called read_roles that has a list of all of the roles that can read that item (with a | character instead of any backslashes).  And I should have a field called denied_roles that has a list of all of the roles that can't read that item.  These lists of roles are stored in a field of type stringCollection in Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I want to apply a security filter to every site search that we do. Basically I want to show all results where at least one of the current user's roles is in the read_roles field and none of the user's roles are in the denied_roles field.  Here is my code to do that:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static IQueryable&amp;lt;T&amp;gt; ApplySecurityFilter&amp;lt;T&amp;gt;(this IQueryable&amp;lt;T&amp;gt; query) where T : SearchResultItem {&#xA;&#xA;    var userRoles = Sitecore.Context.User.Roles.Select(r =&amp;gt; r.Name.Replace(@&quot;\&quot;, &quot;|&quot;));&#xA;&#xA;    var readPredicate = PredicateBuilder.False&amp;lt;T&amp;gt;();&#xA;    readPredicate = userRoles.Aggregate(readPredicate, (current, role) =&amp;gt; current.Or(i =&amp;gt; i[&quot;read_roles&quot;].Equals(role)));&#xA;&#xA;    var denyPredicate = PredicateBuilder.True&amp;lt;T&amp;gt;();&#xA;    denyPredicate = userRoles.Aggregate(denyPredicate, (current, role) =&amp;gt; current.And(i =&amp;gt; !i[&quot;denied_roles&quot;].Equals(role)));&#xA;&#xA;    if (readPredicate.Body.NodeType != System.Linq.Expressions.ExpressionType.Constant) {&#xA;        query = query.Filter(readPredicate);&#xA;    }&#xA;    if (readPredicate.Body.NodeType != System.Linq.Expressions.ExpressionType.Constant) {&#xA;        query = query.Filter(denyPredicate);&#xA;    }&#xA;    return query;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The logic here is that I am getting a list of all of the current user's roles and I am extracting out a list of all of the role names and I am replacing any backslashes with the | character.  Then I am using the OR operator to compare each role name to see if any of them are in the read_roles field.  And I am using the AND operator to make sure none of them are in the denied_roles field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some reason this isn't working and I am having a lot of trouble figuring out why it is failing. The best that I can figure out is that this code seems to be failing when the user belongs to a role that contains a space in it. And only the denied_roles part of the query is failing. I have been troubleshooting this by opening up the Sitecore Search.config file and looking at the query that was sent to Solr. If I manually issue the same query to Solr using the Solr UI I get zero results.  Then if I remove the denied_roles part I get results.  So I am thinking it has something to do with the denied_roles field. But I am really not 100% sure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&#xA;Here is an example of a query that doesn't seem to be working.  I got this from the Sitecore Search.log file.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;?q=(-isstandardvalue_b:(True) AND _language:(en)) AND (_content:(*acrygen*) OR _name:(*acrygen*) OR (short_description_t:(*acrygen*))^5 OR (search_title_t:(*acrygen*))^5)&amp;amp;start=0&amp;amp;rows=10&amp;amp;fl=*,score&#xA;&amp;amp;fq=((((-denied_roles_sm:(&quot;extranet|Anonymous Role&quot;) AND -denied_roles_sm:(&quot;extranet|Approved Role&quot;)) AND (read_roles_sm:(&quot;extranet|Anonymous Role&quot;) OR read_roles_sm:(&quot;extranet|Approved Role&quot;))) AND _latestversion:(1)))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2016-10-21T21:21:38.057" LastActivityDate="2016-10-24T07:00:46.450" Title="How to properly search Solr for any match on one stringCollection field and no matches on a second stringCollection field?" Tags="|solr|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1680" PostTypeId="2" ParentId="1672" CreationDate="2016-10-21T18:25:15.840" Score="13" Body="&lt;p&gt;The WFFM module was significantly re-written in version 8.1+ and allows configuration driven dependency injection out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you take a look at the &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Update Contact Details&lt;/code&gt; Save Action then you will see the following item definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Factory Object Name: /sitecore/wffm/actions/updateContactDetails&#xA;Assembly: [Empty]&#xA;Class: [Empty]&#xA;MVC Type: [Empty]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the &lt;code&gt;Factory Object Name&lt;/code&gt; field is new and in previous versions the other 3 fields would be filled in with the assembly details of the Save Action. Instead, in the latest versions in &lt;strong&gt;Sitecore.WFFM.Dependencies.config&lt;/strong&gt; you will find the following definition:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;wffm&amp;gt;    &#xA;  &amp;lt;actions&amp;gt;&#xA;    ...&#xA;    &amp;lt;updateContactDetails type=&quot;Sitecore.WFFM.Actions.SaveActions.UpdateContactDetails, Sitecore.WFFM.Actions&quot;&amp;gt;&#xA;      &amp;lt;param name=&quot;analyticsTracker&quot; ref=&quot;/sitecore/wffm/analytics/analyticsTracker&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;authentificationManager&quot; ref=&quot;/sitecore/wffm/authentificationManager&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;logger&quot; ref=&quot;/sitecore/wffm/logger&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;facetFactory&quot; ref=&quot;/sitecore/wffm/analytics/facetFactory&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;contactManager&quot; ref=&quot;/sitecore/wffm/analytics/contactManager&quot; /&amp;gt;&#xA;    &amp;lt;/updateContactDetails&amp;gt;&#xA;    ...&#xA;  &amp;lt;/actions&amp;gt;&#xA;&#xA;  &amp;lt;logger type=&quot;Sitecore.Forms.Core.Dependencies.DefaultImplLogger, Sitecore.Forms.Core&quot;/&amp;gt;&#xA;  &amp;lt;authentificationManager type=&quot;Sitecore.Forms.Core.Dependencies.DefaultImplAuthentificationManager, Sitecore.Forms.Core&quot;/&amp;gt;&#xA;  &amp;lt;analytics&amp;gt;&#xA;    &amp;lt;analyticsTracker type=&quot;Sitecore.WFFM.Analytics.Dependencies.DefaultImplAnalyticsTracker, Sitecore.WFFM.Analytics&quot;/&amp;gt;&#xA;    &amp;lt;facetFactory type=&quot;Sitecore.WFFM.Analytics.Dependencies.DefaultImplFacetFactory, Sitecore.WFFM.Analytics&quot;/&amp;gt;&#xA;    &amp;lt;contactManager type=&quot;Sitecore.WFFM.Analytics.Dependencies.ContactManagerWrapper, Sitecore.WFFM.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param name=&quot;contactManager&quot; ref=&quot;/sitecore/tracking/contactManager&quot; /&amp;gt;&#xA;    &amp;lt;/contactManager&amp;gt;&#xA;    ...&#xA;  &amp;lt;/analytics&amp;gt;&#xA;&amp;lt;/wffm&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Save Action accepts these settings as Constructor parameters, the &lt;code&gt;params&lt;/code&gt; defined in config must match those in your code. These will all be wired up automatically by the module.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class UpdateContactDetails : WffmSaveAction&#xA;{&#xA;    private readonly IAnalyticsTracker analyticsTracker;&#xA;    private readonly IAuthentificationManager authentificationManager;&#xA;    private readonly ILogger logger;&#xA;    private readonly IFacetFactory facetFactory;&#xA;    private readonly IContactManager contactManager;&#xA;&#xA;    public string Mapping { get; set; }&#xA;&#xA;    public UpdateContactDetails(IAnalyticsTracker analyticsTracker, IAuthentificationManager authentificationManager, ILogger logger, IFacetFactory facetFactory, IContactManager contactManager)&#xA;    {&#xA;      Assert.IsNotNull((object) analyticsTracker, &quot;analyticsTracker&quot;);&#xA;      ...&#xA;      this.analyticsTracker = analyticsTracker;&#xA;      this.authentificationManager = authentificationManager;&#xA;      this.logger = logger;&#xA;      this.facetFactory = facetFactory;&#xA;      this.contactManager = contactManager;&#xA;    }&#xA;&#xA;    public override void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;    {&#xA;      this.UpdateContact(adaptedFields);&#xA;    }&#xA;&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-21T18:25:15.840" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1681" PostTypeId="1" AcceptedAnswerId="1682" CreationDate="2016-10-21T18:46:25.857" Score="6" ViewCount="757" Body="&lt;p&gt;On one of our developers' local development environment, when he tries to create a new Sitecore package via the package designer, Sitecore shows a blank modal popup when we click &quot;Generate ZIP&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ya2sC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ya2sC.png&quot; alt=&quot;Package Designer with blank modal&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't see any errors in the Sitecore logs or presented on screen. The package designer works properly on other environments, including other developers' local environments. We tried recycling the app pool, resetting IIS, and rebooting the computer, but the issue persists. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.0 rev 150223&lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-21T18:46:25.857" Title="Package Designer shows blank modal window when clicking &quot;Generate ZIP&quot;" Tags="|packages|package-designer|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1682" PostTypeId="2" ParentId="1681" CreationDate="2016-10-21T18:46:25.857" Score="11" Body="&lt;p&gt;When you get seemingly odd behavior like this, it's always a good idea to check the Network tab in Chrome Dev Tools (or Firebug in Firefox or whatever it's called in IE/Edge). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you click the &quot;Generate ZIP&quot; button, the Sitecore client makes a POST request to &lt;code&gt;/sitecore/shell/Applications/Tools/Installer/Designer&lt;/code&gt;. Because nothing was logged to the Sitecore log on the server, I suspected that the response from the server would have some clues. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, the response had a HTTP status code of &lt;code&gt;200 OK&lt;/code&gt;, which threw me off at first. However, inspecting the actual response showed the problem:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;{&#xA;    &quot;commands&quot;: [&#xA;        {&#xA;            &quot;command&quot;: &quot;Alert&quot;,&#xA;            &quot;value&quot;: &quot;Cannot access path 'D:\\site\\web\\Data\\packages'. Please check PackagePath setting in the web.config file.&quot;&#xA;        }&#xA;    ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not sure why Sitecore returns a &lt;code&gt;200 OK&lt;/code&gt; here instead of a &lt;code&gt;500 Server Error&lt;/code&gt;, but that JSON clearly shows the problem in my case. This dev's local environment was missing the data\packages folder. Creating a new packages folder solved the problem (I encouraged the dev to copy a fresh Sitecore installation on top of the existing folders to ensure no other important items were missing.)&lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-21T18:46:25.857" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1683" PostTypeId="2" ParentId="855" CreationDate="2016-10-21T20:30:16.087" Score="2" Body="&lt;p&gt;Short answer, looks like the date formats are hard-coded in Sitecore.Cintel.Client.dll. Looks like you need to write a custom Transformer that uses its own TimeConverter for the views you would like to modify in the Experience Explorer. Here is a &lt;a href=&quot;http://developmentsitecore.blogspot.com/2016/10/custom-sitecore-intel-transformers-to.html&quot; rel=&quot;nofollow&quot;&gt;post&lt;/a&gt; I wrote on how to do just that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S: Just scroll to the bottom to get to the good stuff.&lt;/p&gt;&#xA;" OwnerUserId="936" LastActivityDate="2016-10-21T20:30:16.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1684" PostTypeId="2" ParentId="1679" CreationDate="2016-10-21T21:31:50.983" Score="5" Body="&lt;h2&gt;Tokenization&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I think that this problem is caused by the fact that your role fields are currently tokenized. I know that making the fields &lt;code&gt;UNTOKENIZED&lt;/code&gt; in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1625/&quot;&gt;&lt;strong&gt;your previous question&lt;/strong&gt;&lt;/a&gt; didn't help, but please try once again with the following instructions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, locate you computed fields under &lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&lt;/code&gt; and make sure they are untokenized. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;read_roles&quot; indexType=&quot;UNTOKENIZED&quot; returnType=&quot;stringCollection&quot;&amp;gt;MyAssembly.ReadItemRoles,MyAssembly&amp;lt;/field&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;denied_roles&quot; indexType=&quot;UNTOKENIZED&quot; returnType=&quot;stringCollection&quot;&amp;gt;MyAssembly.DenyReadItemRoles,MyAssembly&amp;lt;/field&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then &lt;strong&gt;also&lt;/strong&gt; add these fields to the &lt;code&gt;&amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&lt;/code&gt; section (which is located under the &lt;code&gt;&amp;lt;fieldMap&amp;gt;&lt;/code&gt; node):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;read_roles&quot; indexType=&quot;UNTOKENIZED&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;denied_roles&quot; indexType=&quot;UNTOKENIZED&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;&amp;lt;/fieldNames&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Rebuild your index and see if the queries work well now.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sanitization&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If the above doesn't help, then try replacing all non-alphanumeric characters with underscores and converting role names to lower case. This is sort of a hack, but at least it will make sure that there are no problems with tokenization and casing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Put this method into a helper class and use it both in your computed fields and in the search query:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private static Regex _regex = new Regex(&quot;[^a-z0-9]+&quot;);&#xA;&#xA;public static string SanitizeRoleName(string roleName)&#xA;{&#xA;  return _regex.Replace(roleName.ToLower(), &quot;_&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-24T07:00:46.450" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1685" PostTypeId="1" AcceptedAnswerId="1694" CreationDate="2016-10-21T22:14:21.427" Score="9" ViewCount="843" Body="&lt;p&gt;In the Sitecore Experience Profile -- on the right side of a contact detail page --- you will see a section labeled Latest Visit.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It has fields for City, Region, Country.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand that if you purchase the Geo Location service from Sitecore this gets filled in.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we want to fill it in with another source of data -- is this possible?  I can't seem to find this visit item exposed anywhere under the contact facets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am utilizing Sitecore 8.1 Update 2.&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="423" LastEditDate="2017-08-08T14:52:51.857" LastActivityDate="2017-08-08T14:52:51.857" Title="Updating latest visit city, region, and country with third party data?" Tags="|xdb|experience-profile|geo-location|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1686" PostTypeId="1" AcceptedAnswerId="1687" CreationDate="2016-10-22T04:48:28.327" Score="8" ViewCount="1781" Body="&lt;p&gt;My UAT logs are filled with the below logs. Could you please direct which area I should start looking to debug this issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WARN  Could not find constructor in ReflectionUtil.CreateObject: Sitecore.Data.SqlServer.SqlServerIDTable. The constructor parameters may not match or it may be an abstract class. Parameter info: Count: 1. Parameter types: System.String&#xA;Heartbeat 04:42:27 &#xA;&#xA;ERROR Exception in alarm clock event subscriber.&#xA;Exception: Sitecore.Exceptions.ConfigurationException&#xA;Message: Could not create instance of type: Sitecore.Data.SqlServer.SqlServerIDTable. No matching constructor was found.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Data.IDTables.IDTable.GetKeys(String prefix)&#xA;   at Sitecore.ListManagement.ContentSearch.Pipelines.Locking.GetLockedLists.GetLockedLists.Process(GetLockedListsArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.ListManagement.ContentSearch.PipelineBasedContactListStore`2.GetLockedListIds()&#xA;   at Sitecore.ListManagement.ListManager`2.GetLockedLists()&#xA;   at Sitecore.ListManagement.Analytics.UnlockContactListsAgent.Execute()&#xA;   at Sitecore.Services.AlarmClock.Heartbeat_Beat(Object sender, EventArgs e)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="106" LastEditorUserId="2727" LastEditDate="2018-03-25T00:26:29.040" LastActivityDate="2018-03-25T00:26:29.040" Title="&quot;Could not create instance of type: Sitecore.Data.SqlServer.SqlServerIDTable. No matching constructor was found&quot; exceptions on Alarm clock event" Tags="|events|list-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1687" PostTypeId="2" ParentId="1686" CreationDate="2016-10-22T06:23:19.750" Score="4" Body="&lt;p&gt;Looks like your UAT is a Content Delivery Server and the List Manager is not disabled on it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Taken from the official &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow&quot;&gt;Sitecore documentation&lt;/a&gt; (this one is for 8.2, but it hasn`t changed much from previous versions)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Note&#xA;You must completely disable List Manager and Path Analyzer on a content delivery server.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you will fix the error by removing the &lt;code&gt;/App_Config/Include/ListManagement&lt;/code&gt;&#xA;folder from the CD server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also it worth taking a look at the config enable/disable excel spreadsheet that Sitecore Provides for each Sitecore Version.&lt;/p&gt;&#xA;" OwnerUserId="127" LastActivityDate="2016-10-22T06:23:19.750" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1688" PostTypeId="2" ParentId="1685" CreationDate="2016-10-22T08:22:26.003" Score="6" Body="&lt;p&gt;I'm sure Pete will elaborate further on this, but to get you going already: the property on the &lt;code&gt;Interaction&lt;/code&gt; is indeed only a getter, but there is a function called &lt;code&gt;SetGeoData&lt;/code&gt;. This would end up in this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Tracker.Current.Interaction.SetGeoData(new WhoIsInformation { City = &quot;&quot;, Country= &quot;&quot;, Region = &quot;&quot; });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Found some code &lt;a href=&quot;https://github.com/edvineshagh/LaunchSitecoreTrafficGen/blob/master/LaunchSitecoreTrafficGen/ContactUpdate.aspx.cs&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; that fills the geo data (amongst others) that you can use as well.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-22T08:22:26.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1689" PostTypeId="1" CreationDate="2016-10-22T11:59:07.620" Score="46" ViewCount="4563" Body="&lt;p&gt;I'm looking to get more involved in the Sitecore community. I'm interested in any local, regional or global Sitecore User Groups, events, online resources, anywhere where the community is active and engaged.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-22T12:04:37.827" LastActivityDate="2020-11-24T10:59:03.553" Title="How can I connect with the Sitecore Community?" Tags="|community|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1690" PostTypeId="2" ParentId="1689" CreationDate="2016-10-22T12:02:47.777" Score="76" Body="&lt;p&gt;Answering as a Community Wiki, aimed at keeping an up-to-date list of current ongoing activities of the Sitecore community in one place.&lt;/p&gt;&#xA;&lt;h1&gt;Online Resources&lt;/h1&gt;&#xA;&lt;h2&gt;Sitecore Chat&lt;/h2&gt;&#xA;&lt;p&gt;Engage with over a 1000 Sitecore users and enthusiasts from around the world in this community hub.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZPF4C.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZPF4C.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Url, Info, &amp;amp; Signup: &lt;a href=&quot;https://www.sitecore.chat/&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.chat/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;Sitecore Stack Exchange&lt;/h2&gt;&#xA;&lt;p&gt;Community driven Q&amp;amp;A site aimed at answering any and all questions you have in relation to Sitecore.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://sitecore.stackexchange.com&quot;&gt;http://sitecore.stackexchange.com&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Info: &lt;a href=&quot;https://sitecore.meta.stackexchange.com/questions/100/new-to-the-beta-this-is-what-were-currently-focusing-on&quot;&gt;New to the beta? This is what we&amp;#39;re currently focusing on&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Signup: Anyone can join / No signup necessary&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;Sitecore Community Portal&lt;/h2&gt;&#xA;&lt;p&gt;Official Sitecore Community Portal.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://community.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Signup: Anyone can join / No signup necessary&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;Sitecore Community Updates Mailing List&lt;/h2&gt;&#xA;&lt;p&gt;The purpose of this signup is to gather the email addresses of Sitecore resources from around the world with only ONE thing in mind: To keep the Sitecore community updated with the community news.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Signup: &lt;a href=&quot;https://www.akshaysura.com/sitecore-community-update-mailing-list/&quot; rel=&quot;noreferrer&quot;&gt;https://www.akshaysura.com/sitecore-community-update-mailing-list/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinator: &lt;a href=&quot;https://twitter.com/akshaysura13&quot; rel=&quot;noreferrer&quot;&gt;@akshaysura13&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;Community Docs&lt;/h2&gt;&#xA;&lt;p&gt;A community-driven collection of developer resources - including blogs, videos, references, and articles.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://sitecore-community.github.io/docs/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore-community.github.io/docs/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Signup: Anyone can join / GITHub account required to participate&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h1&gt;Meet The Community&lt;/h1&gt;&#xA;&lt;p&gt;Meet the people behind the names.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Catching Exceptions&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Watch Catching Exceptions, a video series about software developers. Catch passionate stories, humble beginnings and all around good people.&lt;/li&gt;&#xA;&lt;li&gt;Link: &lt;a href=&quot;http://www.catchingexceptions.net/&quot; rel=&quot;noreferrer&quot;&gt;http://www.catchingexceptions.net/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Youtube: &lt;a href=&quot;https://www.youtube.com/channel/UCfwf3o7zI2B-Ei9OMmHEleA&quot; rel=&quot;noreferrer&quot;&gt;https://www.youtube.com/channel/UCfwf3o7zI2B-Ei9OMmHEleA&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinator: &lt;a href=&quot;https://twitter.com/maaakstiles&quot; rel=&quot;noreferrer&quot;&gt;@maaakstiles&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Core Sampler&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Core Sampler is a podcast that drills into the Sitecore Community to highlight the amazing work folks are doing on the Sitecore platform. Our goal is to bring you information you can use to leverage the investment you’ve made in Sitecore. Whether you are a developer writing custom plugins destined for the marketplace, or a marketer contimplating a new campaign, we aim to cover broad areas of the platform.&lt;/li&gt;&#xA;&lt;li&gt;Website: &lt;a href=&quot;http://coresampler.fm&quot; rel=&quot;noreferrer&quot;&gt;http://coresampler.fm&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;iTunes: &lt;a href=&quot;https://itunes.apple.com/us/podcast/core-sampler/id1150477446?mt=2&quot; rel=&quot;noreferrer&quot;&gt;https://itunes.apple.com/us/podcast/core-sampler/id1150477446?mt=2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Google Play: &lt;a href=&quot;https://play.google.com/music/listen?u=0#/ps/Ivvzoireozeazfnlkh4ezn7dzo4&quot; rel=&quot;noreferrer&quot;&gt;https://play.google.com/music/listen?u=0#/ps/Ivvzoireozeazfnlkh4ezn7dzo4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinator: &lt;a href=&quot;https://twitter.com/DDysart&quot; rel=&quot;noreferrer&quot;&gt;@DDysart&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Get to know an MVP&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A special series on Core Sampler which introduces some Sitecore MVPs. Every MVP answers 4 questions:&#xA;• When did you join the Sitecore Community?&#xA;• What do you find the most appealing in the Sitecore Community?&#xA;• What is your suggestion for someone who would like to be an MVP?&#xA;• What is your message/motivational quote to the Sitecore Community?&lt;/li&gt;&#xA;&lt;li&gt;Website: &lt;a href=&quot;https://coresampler.fm/tags/gettoknowmvp&quot; rel=&quot;noreferrer&quot;&gt;https://coresampler.fm/tags/gettoknowmvp&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Interviews by &lt;a href=&quot;https://twitter.com/VargaT&quot; rel=&quot;noreferrer&quot;&gt;@VargaT&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h1&gt;Sitecore User Groups&lt;/h1&gt;&#xA;&lt;p&gt;Current online directories of Sitecore User Groups:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/323/sitecore-user-group-directory&quot;&gt;Sitecore User Group Directory&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecoreug.org/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreug.org/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.meetup.com/find/?allMeetups=false&amp;amp;keywords=sitecore&amp;amp;radius=Infinity&amp;amp;userFreeform=Bronschhofen%2C%20Switzerland&amp;amp;mcName=Bronschhofen%2C%20CH&amp;amp;lat=47.478607&amp;amp;lon=9.029495&amp;amp;sort=default&quot; rel=&quot;noreferrer&quot;&gt;http://www.MeetUp.com&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.reddit.com/r/sitecore/wiki/user-groups&quot; rel=&quot;noreferrer&quot;&gt;https://www.reddit.com/r/sitecore/wiki/user-groups&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt; Template:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Name&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Description&lt;/li&gt;&#xA;&lt;li&gt;Url&lt;/li&gt;&#xA;&lt;li&gt;Twitter handle&lt;/li&gt;&#xA;&lt;li&gt;Coordinator&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2&gt;Europe / Middle East&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Danish Sitecore Developer Group&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A group for developers working with or interested in Sitecore development and anything related to it.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Danish-Sitecore-Developer-Group/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Danish-Sitecore-Developer-Group/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: unknown&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group France&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group France (SUGF) is a group for developers and marketers&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/fr-FR/Sitecore-User-Group-France/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/fr-FR/Sitecore-User-Group-France/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Nederland&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group Nederland (SUGNL) is in het leven geroepen om het Sitecore platform binnen Nederland nog beter op de kaart te zetten. Het doel is hierbij om ontwikkelaars, marketeers en eindgebruikers die professioneel met Sitecore werken bijeen te brengen en te enthousiasmeren.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://www.sugnl.net/&quot; rel=&quot;noreferrer&quot;&gt;http://www.sugnl.net/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/SUG_NL&quot; rel=&quot;noreferrer&quot;&gt;@SUG_NL&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Bulgaria&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group dedicated to support and grow the developer community in Bulgaria.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://sitecoreug.org/en/usergroups/sitecore-user-group-bulgaria/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreug.org/en/usergroups/sitecore-user-group-bulgaria/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.facebook.com/groups/567189316760062/&quot; rel=&quot;noreferrer&quot;&gt;https://www.facebook.com/groups/567189316760062/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/hashtag/sugbg&quot; rel=&quot;noreferrer&quot;&gt;#SUGBG&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Deutschland&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Gemeinsame Gruppe der Sitecore Usergroup Deutschland. Interessierte und Teilnehmer können sich hier austauschen.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.xing.com/communities/groups/sitecore-usergroup-deutschland-1073727&quot; rel=&quot;noreferrer&quot;&gt;https://www.xing.com/communities/groups/sitecore-usergroup-deutschland-1073727&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/hashtag/sugde&quot; rel=&quot;noreferrer&quot;&gt;#SUGDE&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinator: &lt;a href=&quot;https://twitter.com/_chriswoj&quot; rel=&quot;noreferrer&quot;&gt;@_chriswoj&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Belarus&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore community in Belarus, Minsk aims to bring together professionals who is already working with Sitecore or want to learn about it. This group is open to all developers, marketers and users.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Sitecore-User-Group-Belarus/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Sitecore-User-Group-Belarus/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/hashtag/sugbelarus&quot; rel=&quot;noreferrer&quot;&gt;#sugbelarus&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/SUGBelarus&quot; rel=&quot;noreferrer&quot;&gt;@SUGBelarus&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Schweiz&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Für Sitecore Enthusiasten.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://sugch.github.io/&quot; rel=&quot;noreferrer&quot;&gt;http://sugch.github.io/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/hashtag/sugconeu&quot; rel=&quot;noreferrer&quot;&gt;#SUGCH&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group BeLux&lt;/strong&gt; (Belgium / Luxembourg)&lt;/li&gt;&#xA;&lt;li&gt;A group for and by Sitecore users: developers, end-users, sales reps etc. Our goal is to provide insight into the possibilities and limitations of the Sitecore platform.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://www.meetup.com/Sitecore-User-Group-Belgium/&quot; rel=&quot;noreferrer&quot;&gt;http://www.meetup.com/Sitecore-User-Group-Belgium/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/hashtag/SUGBELUX&quot; rel=&quot;noreferrer&quot;&gt;#SUGBeLux&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Budapest&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The Budapest based  Sitecore User Group meets for networking and learning within Budapest / Hungary. For all the Sitecore users, developers, marketers and professionals who seek to know more about Sitecore. Join us!&lt;/li&gt;&#xA;&lt;li&gt;The meetups take place in Budapest [Hungary]&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Sitecore-User-Group-Budapest/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Sitecore-User-Group-Budapest/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/SUGHungary&quot; rel=&quot;noreferrer&quot;&gt;@SUGHungary&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Poland&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group Poland (SUGPL) it is organization which promotes Sitecore in Poland and abroad, but our main gole is a knowledge sharing.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://sugpl.info&quot; rel=&quot;noreferrer&quot;&gt;http://sugpl.info&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Meetup: &lt;a href=&quot;https://www.meetup.com/Sitecore-User-Group-Poland-SUGPL/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Sitecore-User-Group-Poland-SUGPL/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/sugpoland&quot; rel=&quot;noreferrer&quot;&gt;@SUGPoland&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinators: &lt;a href=&quot;https://twitter.com/sugpoland&quot; rel=&quot;noreferrer&quot;&gt;http://sugpl.info/pl/kontakt/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Czechia &amp;amp; Slovakia&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group Czechia &amp;amp; Slovakia meets for networking and learning within Prague (Czech Republic) / Bratislava (Slovak Republic). This is a group for anyone interested in Sitecore Experience Platform and its tools. All skill levels are welcome. I started this group to meet Sitecore enthusiasts, no matter if you are developer, marketer or business guy. Looking forward to meet you all.&lt;/li&gt;&#xA;&lt;li&gt;The meetups take place in Prague (Czech Republic) or Bratislava (Slovak Republic)&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Sitecore-User-Group-Czechia-Slovakia/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Sitecore-User-Group-Czechia-Slovakia/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group UAE-Dubai&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group UAE is established to share knowledge and inspire Sitecore developers, architects, administrators, designers, business , marketers and managers to avail best offering from Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://www.meetup.com/SUGUAE/&quot; rel=&quot;noreferrer&quot;&gt;http://www.meetup.com/SUGUAE/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/hashtag/SUGUAE&quot; rel=&quot;noreferrer&quot;&gt;#SUGUAE&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/suguae&quot; rel=&quot;noreferrer&quot;&gt;@SUGUAE&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Gothenburg (Sweden)&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group Gothenburg is an open forum where Sitecore developers in the Gothenburg area can meet up for knowledge sharing and networking with peers and Sitecore employees.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Sitecore-User-Group-Gothenburg/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Sitecore-User-Group-Gothenburg/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sitecore User Group United Kingdom&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The UK Sitecore User Group meets on each month for networking and learning. The user group is open to anyone using or considering the Sitecore Experience Platform, or who has an interest in .NET CMS platforms, regardless of technical proficiency. Programmers, marketers, content authors, CMS users and others are all welcome.&lt;/li&gt;&#xA;&lt;li&gt;The UK meetups take place in various locations: London, Bristol, Cardiff, Manchester and Leeds&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://scug.co.uk/&quot; rel=&quot;noreferrer&quot;&gt;https://scug.co.uk/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sitecore User Group India&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group India – SUGIN is a bunch of People for whom Sitecore is a Passion – A cohort coming together with an intention to share their Sitecore knowledge. The process of sharing the knowledge either happens online or offline.&lt;/li&gt;&#xA;&lt;li&gt;So, if you are a novice, an intermediate or an advanced Sitecore developer, whether transitioning or already working on Sitecore technology, SUGIN is the place to come to quench your Sitecore thirst!&lt;/li&gt;&#xA;&lt;li&gt;Do you want to share your Sitecore knowledge and experience, a distinct Sitecore implementation, present a session on this group?, you are most welcome!&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://sugin.in&quot; rel=&quot;noreferrer&quot;&gt;http://sugin.in&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Twitter: &lt;a href=&quot;https://twitter.com/sitecoreugindia&quot; rel=&quot;noreferrer&quot;&gt;@sitecoreugindia&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;more TBD&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;North America&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Portland OR&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The Portland Sitecore CMS User Group meets about once a quarter to discuss all things Sitecore from Marketing/Strategy to Development topics.  This event is hosted in Downtown Portland Oregon.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Sitecore-Portland-Oregon-User-Group/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Sitecore-Portland-Oregon-User-Group/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinator: &lt;a href=&quot;https://twitter.com/sitecore_master&quot; rel=&quot;noreferrer&quot;&gt;@sitecore_master&lt;/a&gt; and &lt;a href=&quot;https://twitter.com/jaxbaxter&quot; rel=&quot;noreferrer&quot;&gt;@jaxbaxter&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;St. Louis Sitecore User Group&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Welcome to the Saint Louis Sitecore User Group Meetup! This group is a place for Sitecore users, prospective users and implementation/technology partners in the St. Louis metro area to share best practices, network, and expand their knowledge of the Sitecore Experience Platform. This group is open to anyone using or considering using Sitecore regardless of technical proficiency.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Saint-Louis-Sitecore-User-Group-Meetup/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Saint-Louis-Sitecore-User-Group-Meetup/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.linkedin.com/groups/2499921&quot; rel=&quot;noreferrer&quot;&gt;https://www.linkedin.com/groups/2499921&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinator: &lt;a href=&quot;https://twitter.com/roundedcube&quot; rel=&quot;noreferrer&quot;&gt;@roundedcube&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Toronto Sitecore User Group&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Please join us at the next Sitecore technical user group and come network with Sitecore employees, your peers, and Sitecore MVPs.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Toronto-Sitecore-User-Group/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Toronto-Sitecore-User-Group/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Quebec&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group Quebec is welcoming everyone working with Sitecore. Developers, marketers, administrators, designers, architects, analysts and much more. People working with .Net, web technologies, other CMS or WCM would also find this group useful to learn more about Sitecore. Our goal is to organize an event every other month.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Sitecore-User-Group-Quebec/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Sitecore-User-Group-Quebec/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://plus.google.com/u/0/107096246413072998291&quot; rel=&quot;noreferrer&quot;&gt;https://plus.google.com/u/0/107096246413072998291&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinator: &lt;a href=&quot;https://twitter.com/jflh&quot; rel=&quot;noreferrer&quot;&gt;@jflh&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group - Montreal&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Welcome to the Sitecore User Group Montreal! Every session is open to developers, marketers, administrators, designers, architects, analysts and anyone interested in web technologies, digital transformation, User experience, Contextual Marketing with Sitecore Experience Platform.&#xA;Stay tuned for our coming session!&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Montreal-Sitecore-User-Group/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Montreal-Sitecore-User-Group/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinators: Isabel Tinoco, Mohamed Krimi, Corina Boland&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group - Minneapolis/St Paul&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The Sitecore User Group – Minneapolis/St. Paul is a collection of marketers and developers from companies, agencies and partners who know, use and love Sitecore. The group gathers in-person for informal, informative sessions of interest to both marketers and developers that focus on new Sitecore features, digital marketing strategies, tech tips, case studies by companies and partner presentations. The gatherings also include networking and socializing opportunities that support the regional Sitecore marketer and developer communities.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/SitecoreUser/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/SitecoreUser/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Atlanta Sitecore User Group&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Focusing on the industry-leading Sitecore CMS platform, the Atlanta Sitecore User Group is a networking group located in the Greater Atlanta area. It aims to provide Sitecore partners, clients, prospects, and developers an opportunity to network with one another, share best practices with the Sitecore platform, and learn more about the tool and the people who are leveraging it. Membership is open to anyone interested in Sitecore Content Management Systems, from all levels of experience.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://www.meetup.com/Atlanta-Sitecore/&quot; rel=&quot;noreferrer&quot;&gt;http://www.meetup.com/Atlanta-Sitecore/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/AtlantaSitecore&quot; rel=&quot;noreferrer&quot;&gt;@AtlantaSitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinators: &lt;a href=&quot;https://twitter.com/MartinREnglish&quot; rel=&quot;noreferrer&quot;&gt;Martin English&lt;/a&gt; and &lt;a href=&quot;https://twitter.com/sitecorey&quot; rel=&quot;noreferrer&quot;&gt;Corey Smith&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Milwaukee Sitecore Developer Meetup&lt;/strong&gt;&#xA;- A developer focused meetup for Sitecore developers in the Southeastern Wisconsin area.&#xA;- Url: &lt;a href=&quot;http://www.meetup.com/Milwaukee-Sitecore-Developers-Meetup/&quot; rel=&quot;noreferrer&quot;&gt;http://www.meetup.com/Milwaukee-Sitecore-Developers-Meetup/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;New England Sitecore User Group&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The New England Sitecore CMS User Group meets on a Wednesday once each month in Boston for networking, learning - and did we mention free pizza and drinks? The user group, led by Sitecore MVP Rick Cabral, is open to anyone using or considering the Sitecore Content Management System, or who has an interest in .NET CMS platforms, regardless of technical proficiency&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://www.meetup.com/Sitecore-User-Group-New-England/&quot; rel=&quot;noreferrer&quot;&gt;http://www.meetup.com/Sitecore-User-Group-New-England/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;New York Metro Sitecore User Group&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The New York Metro Sitecore User Group is built for anyone interested in learning the core staples, as well as cutting edge trends and features of the Sitecore to get the most out of this powerful web content management, digital marketing and customer experience platform. The group regularly meets in NYC, and each speaker-led meeting will cover interesting and informative technical, business, digital marketing and customer experience topics.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/NY-Metro-Sitecore-User-Group/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/NY-Metro-Sitecore-User-Group/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinators: &lt;a href=&quot;https://twitter.com/mickrhm&quot; rel=&quot;noreferrer&quot;&gt;@mickrhm&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Houston Sitecore User Group&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Houston Sitecore User Group - Meets quite regularly.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://houstonsug.com&quot; rel=&quot;noreferrer&quot;&gt;http://houstonsug.com&lt;/a&gt; &lt;a href=&quot;https://www.meetup.com/preview/Houston-Sitecore-User-Group&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/preview/Houston-Sitecore-User-Group&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinators: &lt;a href=&quot;https://twitter.com/davidwalker&quot; rel=&quot;noreferrer&quot;&gt;@DavidWalker&lt;/a&gt; and &lt;a href=&quot;https://twitter.com/wdrake98&quot; rel=&quot;noreferrer&quot;&gt;@wdrake98&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Queen City Sitecore User Group, Manchester, NH&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Queen City Sitecore User Group - Meets once every month.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Queen-City-Sitecore-User-Group&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Queen-City-Sitecore-User-Group&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinators: &lt;a href=&quot;https://twitter.com/mike_i_reynolds&quot; rel=&quot;noreferrer&quot;&gt;@mike_i_reynolds&lt;/a&gt; and &lt;a href=&quot;https://twitter.com/amitabh_tweets&quot; rel=&quot;noreferrer&quot;&gt;Amitabh Vyas&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Seattle Sitecore User Group&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The Seattle Sitecore User Group is a Sitecore networking group covering the Puget Sound area. Membership is open to anyone interested in Sitecore, from all levels of experience and all disciplines.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Sitecore-Seattle-User-Group-Meetup&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Sitecore-Seattle-User-Group-Meetup&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/seattlesitecore&quot; rel=&quot;noreferrer&quot;&gt;@SeattleSitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinators: &lt;a href=&quot;https://twitter.com/sandyfoley&quot; rel=&quot;noreferrer&quot;&gt;@sandyfoley&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;South America&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Brasil&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group - Brasil - Grupo de usuários de Sitecore Experience Platform. Público alvo são Desenvolvedores, Editores de Conteúdo, Profissionais de Marketing, Proprietários de Licensa, entre outros usuários de Sitecore Experience Platform.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/SUG-BR/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/SUG-BR/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinators: rodrigo@peplau.com.br and &lt;a href=&quot;https://twitter.com/diego_a_moretto&quot; rel=&quot;noreferrer&quot;&gt;@diego_a_moretto&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;Asia / Oceania&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sydney Sitecore User Group&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The Sydney Sitecore User Group meets quarterly for networking, learning - and did we mention free pizza and drinks?&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/Sydney-Sitecore-User-Group/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/Sydney-Sitecore-User-Group/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/hashtag/SYDSUG&quot; rel=&quot;noreferrer&quot;&gt;#SYDSUG&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinator: &lt;a href=&quot;https://twitter.com/RichardHauer&quot; rel=&quot;noreferrer&quot;&gt;@RichardHauer&lt;/a&gt; and &lt;a href=&quot;https://twitter.com/mike_i_reynolds&quot; rel=&quot;noreferrer&quot;&gt;@mike_i_reynolds&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Sri Lanka&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore User Group - Sri Lanka is an open discussion forum dedicated to support growing sitecore community in Sri Lanka.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.meetup.com/sugsrilanka/&quot; rel=&quot;noreferrer&quot;&gt;https://www.meetup.com/sugsrilanka/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Facebook: &lt;a href=&quot;https://www.facebook.com/sugsrilanka/&quot; rel=&quot;noreferrer&quot;&gt;https://www.facebook.com/sugsrilanka/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;YouTube: &lt;a href=&quot;https://www.youtube.com/channel/UCOEkI9lPwX8Z6E66bwimr2A&quot; rel=&quot;noreferrer&quot;&gt;https://www.youtube.com/channel/UCOEkI9lPwX8Z6E66bwimr2A&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;E-mail: sugsrilanka@gmail.com&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group Bangalore&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We are here to bring together professionals working on Sitecore to share our knowledge and experiences among each other, and enrich our own knowledge and spread the 'Joy' of Sitecore!&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://sugblr.in/&quot; rel=&quot;noreferrer&quot;&gt;http://sugblr.in/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/sugblr&quot; rel=&quot;noreferrer&quot;&gt;@SUGblr&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h1&gt;Other&lt;/h1&gt;&#xA;&lt;p&gt;Other relevant Sitecore community resources that doesn't fit into the above.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Technical blog feed: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Business and Best Practices blog feed: &lt;a href=&quot;https://www.sitecore.com/knowledge-center/blog&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.com/knowledge-center/blog&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Reddit /r/sitecore: &lt;a href=&quot;https://www.reddit.com/r/sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://www.reddit.com/r/sitecore/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="312" LastEditDate="2020-11-24T10:59:03.553" LastActivityDate="2020-11-24T10:59:03.553" CommentCount="1" CommunityOwnedDate="2016-10-22T12:02:47.777" ContentLicense="CC BY-SA 4.0" />
  <row Id="1691" PostTypeId="1" AcceptedAnswerId="1718" CreationDate="2016-10-22T15:09:56.417" Score="6" ViewCount="2873" Body="&lt;h2&gt;Introduction&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;After implementing private and shared outProc sessions states, I'm receiving the following error. This is a Sitecore 8.1 Update 3 environment. We are using SOLR as our indexer. We are also utilizing EXM.  I decided to implement this when a slew of errors in the Content Delivery servers were indicating locked Contact records by the cluster, even though all of the CD's are in the same &lt;code&gt;Analytics.ClusterName&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Error&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unable to serialize the session state. In 'StateServer' and&#xA;  'SQLServer' mode, ASP.NET will serialize the session state objects,&#xA;  and as a result non-serializable objects or MarshalByRef objects are&#xA;  not permitted. The same restriction applies if similar serialization&#xA;  is done by the custom session state store in 'Custom' mode.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[SerializationException: Type&#xA;  'Sitecore.ContentSearch.SearchTypes.SearchResultItem' in Assembly&#xA;  'Sitecore.ContentSearch, Version=1.0.0.0, Culture=neutral,&#xA;  PublicKeyToken=null' is not marked as serializable.]&lt;br&gt;&#xA;  System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType&#xA;  type) +970&lt;br&gt;&#xA;  System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type&#xA;  type, StreamingContext context) +306&lt;br&gt;&#xA;  System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()&#xA;  +188    System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object&#xA;  obj, ISurrogateSelector surrogateSelector, StreamingContext context,&#xA;  SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,&#xA;  ObjectWriter objectWriter, SerializationBinder binder) +250&lt;br&gt;&#xA;  System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object&#xA;  obj, ISurrogateSelector surrogateSelector, StreamingContext context,&#xA;  SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,&#xA;  ObjectWriter objectWriter, SerializationBinder binder) +96&lt;br&gt;&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object&#xA;  graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)&#xA;  +710    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream&#xA;  serializationStream, Object graph, Header[] headers, Boolean fCheck)&#xA;  +208    System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +2262&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Configuration Settings&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Below are the configurations setup. This is a local environment. My environment is currently setup as a &lt;strong&gt;single instance&lt;/strong&gt;, but with private and shared session state enabled. The intended production environment is a distributed environment.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Content Delivery Web.config&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;mssql&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot; sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;mongo&quot; type=&quot;Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; sessionType=&quot;private&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Content Delivery Sitecore.Analytics.Tracking.config&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sharedSessionState patch:source=&quot;Sitecore.Analytics.Tracking.config&quot; defaultProvider=&quot;mssql&quot;&amp;gt;&#xA;&amp;lt;providers&amp;gt;&#xA;&amp;lt;clear/&amp;gt;&#xA;&amp;lt;add name=&quot;InProc&quot; type=&quot;System.Web.SessionState.InProcSessionStateStore&quot;/&amp;gt;&#xA;&amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;shared&quot; patch:source=&quot;Client.config&quot;/&amp;gt;&#xA;&amp;lt;/providers&amp;gt;&#xA;&amp;lt;manager type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateManager, Sitecore.Analytics&quot;&amp;gt;&#xA;&amp;lt;param desc=&quot;configuration&quot; ref=&quot;tracking/sharedSessionState/config&quot;/&amp;gt;&#xA;&amp;lt;/manager&amp;gt;&#xA;&amp;lt;config type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateConfig, Sitecore.Analytics&quot;&amp;gt;&#xA;&amp;lt;param desc=&quot;maxLockAge&quot;&amp;gt;5000&amp;lt;/param&amp;gt;&#xA;&amp;lt;!--&#xA; If an item in session state is already locked, this parameter is the time in milliseconds that the system is idle before making another attempt to apply a lock. &#xA;--&amp;gt;&#xA;&amp;lt;param desc=&quot;timeoutBetweenLockAttempts&quot;&amp;gt;10&amp;lt;/param&amp;gt;&#xA;&amp;lt;/config&amp;gt;&#xA;&amp;lt;/sharedSessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Intended Environment Setup&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;1 Primary CM Server&lt;/li&gt;&#xA;&lt;li&gt;1 Secondary CM Server / Processing&lt;/li&gt;&#xA;&lt;li&gt;3 Content Delivery Servers, load balanced.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Heavy use of Analytics and xDB Contact Records&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Research Done&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;On Sitecore's &lt;a href=&quot;https://kb.sitecore.net/articles/616431&quot;&gt;Known Issues for Sitecore 8&lt;/a&gt;, there is a mention of what seems to be a similar issue. But they don't list a Public Reference Number.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A number of dialogs could not be opened on Content Management servers&#xA;  with out-of-process session-state configured. This happened because&#xA;  the pipeline arguments were not serialized correctly. This has been&#xA;  fixed to ensure that these dialogs function properly, however please&#xA;  note that other Sitecore functions (in an out-of-process session-state&#xA;  server configuration) may not be supported as a result of this fix.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This looks like a bug in the Sitecore Content Search DLL. Has anyone come across this? I can't imagine that no one else uses OutProc private / sharesession states in a distributed environment. &lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="423" LastEditDate="2017-08-07T19:42:00.493" LastActivityDate="2017-08-07T19:42:00.493" Title="Unable to serialize the session state. Sitecore.ContentSearch.SearchTypes.SearchResultItem" Tags="|configuration|content-search|session-state|scaling|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1693" PostTypeId="2" ParentId="1643" CreationDate="2016-10-22T16:22:01.290" Score="3" Body="&lt;p&gt;Another super fast way to do this is using Sitecore Powershell Extensions found here in the Sitecore Marketplace (&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow&quot;&gt;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&lt;/a&gt;). SPE is now one of the most popular modules for Sitecore. In one line of code you can move one or thousands of items very quickly as in this example below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Move-Item -Path &quot;master:\content\home\sample item\Sample Item 1&quot; -Destination &quot;master:\content\home\sample&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="475" LastActivityDate="2016-10-22T16:22:01.290" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1694" PostTypeId="2" ParentId="1685" CreationDate="2016-10-22T16:35:28.550" Score="6" Body="&lt;h2&gt;Answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It is possible to set this data on your own. It can be done as Gatogordo suggests, using the following code snippet.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Tracker.Current.Session.Interaction.SetGeoData(new WhoIsInformation &#xA;{ City = &quot;Boston&quot;, Country= &quot;US&quot;, Region = &quot;North America&quot; });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, it's important to know how this data is initially collected in an out-of-the-box scenario. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Background Information for Sitecore Version 8+&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Within Sitecore Analytics, if you do a search in your configs for &lt;strong&gt;UpdateGeoIpData&lt;/strong&gt;, you'll find 4 pipelines with a processor to handle retrieving this information.  Each pipeline cares a little differently depending on what's going on. &lt;code&gt;UpdateGeoIpData()&lt;/code&gt; on the &lt;code&gt;Interaction&lt;/code&gt; returns a &lt;code&gt;bool&lt;/code&gt; value depending on the success of gathering GeoIP data.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;p&gt;Those pipelines include:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;commitSession&lt;/strong&gt; &lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.UpdateGeoIpData, Sitecore.Analytics&quot; patch:source=&quot;Sitecore.Analytics.Tracking.Database.config&quot;/&amp;gt;&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This is the last line of defense in the system for making sure that GeoIP data can be recorded.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;createVisit&lt;/strong&gt; &lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CreateVisits.UpdateGeoIpData, Sitecore.Analytics&quot;/&amp;gt;&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This is making sure that the GeoData is set on the Interaction when the visit is first created.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ensureClassification&lt;/strong&gt; &lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.EnsureClassification.UpdateGeoIpData, Sitecore.Analytics&quot;/&amp;gt;&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This processor actually is a precursor processor for other functionality. It's purposes is to set the &lt;code&gt;ShouldClassificationBeGuessed&lt;/code&gt; argument for the continuation of that pipeline. It utilizes &lt;code&gt;!Tracker.Current.Interaction.UpdateGeoIpData();&lt;/code&gt; as it's conditional statement. There is a side effect that in the envent the &lt;code&gt;VisitData.GeoData&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt;, it will go ahead and attempt to set the geographical information. If the GeoData is present, it returns a fast &lt;strong&gt;true&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;startTracking&lt;/strong&gt; &lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.StartTracking.UpdateGeoIpData, Sitecore.Analytics&quot;/&amp;gt;&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This processor initially populates the GeoData inSession Interaction on &lt;code&gt;Tracker.Current.Session&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Specifically, these pipeline processes utilize &lt;code&gt;Session.Interaction.UpdateGeoIpData(Timespan)&lt;/code&gt;.  Also important to note that &lt;strong&gt;Interaction&lt;/strong&gt; is actually based off of &lt;code&gt;CurrentInteraction&lt;/code&gt; which is an abstract class.  There are &lt;strong&gt;&lt;em&gt;four&lt;/em&gt;&lt;/strong&gt; out-of-the-box implementations of this class, of which &lt;code&gt;CurrentVisitContext&lt;/code&gt; is most commonly used:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XuCoc.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XuCoc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unfortunately, &lt;code&gt;CurrentVisitContext&lt;/code&gt; is &lt;strong&gt;&lt;em&gt;NOT&lt;/em&gt;&lt;/strong&gt; a class that can&#xA;  easily be extended or overridden through Sitecore configuration&#xA;  patching.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;A Closer Look at the Start Tracking Processor&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;  public class UpdateGeoIpData : StartTrackingProcessor&#xA;  {&#xA;    public override void Process(StartTrackingArgs args)&#xA;    {&#xA;      Assert.IsNotNull((object) Tracker.Current, &quot;Tracker.Current is not initialized&quot;);&#xA;      Assert.IsNotNull((object) Tracker.Current.Session, &quot;Tracker.Current.Session is not initialized&quot;);&#xA;      if (Tracker.Current.Session.Interaction == null)&#xA;        return;&#xA;      Tracker.Current.Session.Interaction.UpdateGeoIpData();&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice it's a pretty simple processor. There is also an Expiry option for location data. Out of the box, the Expiry is turned off (hence &lt;code&gt;TimeSpan.MaxValue&lt;/code&gt;). However, this is an option.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Rolling Your Own - Overriding Default Functionality&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To override default functionality and seed your own Geographical Data, I would create processors of your own, mimicking the 4 processors mentioned above. This would ensure that your custom implementation is not confused with the out-of-the-box.&lt;/p&gt;&#xA;&#xA;An Example&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;  public class CustomGeoIpData : StartTrackingProcessor&#xA;  {&#xA;    public override void Process(StartTrackingArgs args)&#xA;    {&#xA;      Assert.IsNotNull((object) Tracker.Current, &quot;Tracker.Current is not initialized&quot;);&#xA;      Assert.IsNotNull((object) Tracker.Current.Session, &quot;Tracker.Current.Session is not initialized&quot;);&#xA;      if (Tracker.Current.Session.Interaction == null)&#xA;        return;&#xA;      Tracker.Current.Session.Interaction.SetGeoData(new WhoIsInformation { City = &quot;Boston&quot;, Country= &quot;US&quot;, Region = &quot;North America&quot; });&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By setting it here in &lt;code&gt;startTracking&lt;/code&gt; pipeline or &lt;code&gt;createVisit&lt;/code&gt; pipeline, all other instances, which utilize &lt;code&gt;UpdateGeoIpData()&lt;/code&gt;, will be ignored. This is because the very first thing &lt;code&gt;UpdateGeoIpData()&lt;/code&gt; does is a check to see if VistiData.GeoData is set, which &lt;code&gt;SetGeoData()&lt;/code&gt; does directly.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public override bool UpdateGeoIpData(TimeSpan timeout)&#xA;{&#xA;  VisitData visitData = this.visitData;&#xA;  if (visitData.GeoData != null)&#xA;    return true;&#xA;&#xA;  ...  snipped code ....&#xA;&#xA;  return true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lastly, you can also run &lt;code&gt;SetGeoIpData()&lt;/code&gt; during the course of a visit through code, to overwrite the data previously set.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-22T17:06:49.277" LastActivityDate="2016-10-22T17:06:49.277" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1695" PostTypeId="2" ParentId="1643" CreationDate="2016-10-22T16:53:24.720" Score="1" Body="&lt;p&gt;Fastest way to move large amount of items would be to used /sitecore/admin/dbbrowser.aspx tool which comes default with Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to keep in mind is that, this tool will skip lot of pipeline processors normally executing while doing the same operation using Content Editor.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, you need to find a way to adjust the links in these items, in case you are not moving full root node of the site. (for that, you can write a custom tool to update links as you needed if you have a common pattern)&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-22T16:53:24.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1696" PostTypeId="2" ParentId="1677" CreationDate="2016-10-22T17:38:09.473" Score="3" Body="&lt;p&gt;The &lt;code&gt;Disable Analytics&lt;/code&gt; option on item is used during the Processing/Aggregation activities of Sitecore Analytics, specifically the &lt;strong&gt;processItem&lt;/strong&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processItem patch:source=&quot;Sitecore.Analytics.config&quot;&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.ProcessItem.CollectParameters,Sitecore.Analytics&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.ProcessItem.TriggerCampaigns,Sitecore.Analytics&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.ExperienceExplorer.Business.Pipelines.ProcessItem.InteractionValuePipeline, Sitecore.ExperienceExplorer.Business&quot; patch:source=&quot;Sitecore.ExperienceExplorer.config&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.ProcessItem.RegisterPageEvents,Sitecore.Analytics&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.ExperienceExplorer.Business.Pipelines.ProcessItem.SaveInitialProfilesPipeline, Sitecore.ExperienceExplorer.Business&quot; patch:source=&quot;Sitecore.ExperienceExplorer.config&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.ProcessItem.ProcessProfiles, Sitecore.Analytics&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.ExperienceExplorer.Business.Pipelines.ProcessItem.ProfilesPipeline, Sitecore.ExperienceExplorer.Business&quot; patch:source=&quot;Sitecore.ExperienceExplorer.config&quot;/&amp;gt;&#xA;&amp;lt;/processItem&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The reason you are seeing the error pop-up, even on the default FeedDeliveryLayout is because of the &lt;strong&gt;startAnalytics&lt;/strong&gt; pipeline. As Dmytro points out, manually setting the &lt;code&gt;Tracker.Enable&lt;/code&gt; to false on the layout is a way of telling Sitecore to ignore tracking for that request, which checked in the &lt;code&gt;CheckPreconditions&lt;/code&gt; processor of the same pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Interesting to note, other reasons why this pipeline would not proceed:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Tracker.Enable&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SiteContext&lt;/code&gt; is null&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Context.Page&lt;/code&gt; is null&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;site.Tracking().EnableTracking() is&lt;/code&gt;false`&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;startAnalytics patch:source=&quot;Sitecore.Analytics.Tracking.config&quot;&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.StartAnalytics.CheckPreconditions, Sitecore.Analytics&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.StartAnalytics.CreateTracker, Sitecore.Analytics&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking, Sitecore.Analytics&quot;/&amp;gt;&#xA;&amp;lt;/startAnalytics&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Specifically the &lt;code&gt;StartTracking&lt;/code&gt; processor:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;  public class StartTracking&#xA;  {&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;      Assert.IsNotNull((object) Tracker.Current, &quot;Tracker.Current is not initialized&quot;);&#xA;      Tracker.Current.StartTracking();&#xA;      Log.Debug(&quot;[Analytics]: Start tracking: &quot; + (object)         &#xA;&#xA;      ... code snipped ...&#xA;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Assert is Not Null is throwing the error.  If you wanted to manually fix the way this reports, you could create a custom processor that goes before &lt;code&gt;StartAnalytics&lt;/code&gt;, and instead of doing a &lt;code&gt;Assert.IsNotNull&lt;/code&gt; at the begging, you could check for null, perform a &lt;code&gt;Log.Debug()&lt;/code&gt; signifying that the Tracker is null here, and then gracefully abort out of the pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class CheckNullTracker&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;&#xA;        if (Tracker.Current == null)&#xA;        {&#xA;            Log.Debug(&quot;Tracker.Current is not initialized&quot;);&#xA;            Tracker.Enabled = false;&#xA;            args.AbortPipeline();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The above custom processor is more of a fundamental example. Care&#xA;  should be taken. The &lt;code&gt;Tracker.Current&lt;/code&gt; use case is utilized in a whole&#xA;  bunch of pipeline processors and other areas.  Appropriate uses of Tracker should always include a check to ensure &lt;code&gt;Tracker.Current&lt;/code&gt; is &lt;strong&gt;&lt;em&gt;not&lt;/em&gt;&lt;/strong&gt; &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-22T18:31:05.077" LastActivityDate="2016-10-22T18:31:05.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1697" PostTypeId="2" ParentId="1642" CreationDate="2016-10-22T19:38:43.940" Score="4" Body="&lt;p&gt;Style Sheets are added using SPEAK via Sitecore Rocks in Visual Studio. The point of this answer is not to show you how to install Sitecore Rocks, however, I will should you how to add it.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;h3&gt;BEST PRACTICE&lt;/h3&gt;&#xA;&lt;p&gt;In the Below Examples, we are working with SPEAK UI through&#xA;Sitecore Rocks. This is recommended, as Sitecore's Content Editor does&#xA;not support some of the rendering properties that SPEAK UI requires.&#xA;As such, it is default procedure to always use Sitecore Rocks when&#xA;editing SPEAK applications.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; that we are editing the &lt;strong&gt;CORE&lt;/strong&gt; database, so publishing is&#xA;not needed here.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h3&gt;Step 1 - Find the Experience Profile Contact Page Settings&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LRq9M.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LRq9M.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Step 2 - Add a New Item&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O3GbN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O3GbN.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Step 3 - Search for &lt;strong&gt;Page-Stylesheet-File&lt;/strong&gt;&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qeWqK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qeWqK.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Set a name for the style sheet here.&lt;/p&gt;&#xA;&lt;h3&gt;Step 4 - Set Path to Style Sheet File and Save your Item&lt;/h3&gt;&#xA;&lt;p&gt;Double click on the new item you created (&lt;strong&gt;TestPanelStyle&lt;/strong&gt; in this example)&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xc9Zs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xc9Zs.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: That this is the physical path location under your Website Root.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h3&gt;Step 5 - Save your CSS File in that Physical Path&lt;/h3&gt;&#xA;&lt;h3&gt;Step 6 - Reload Your Experience Profile Page&lt;/h3&gt;&#xA;&lt;p&gt;You'll Notice that your custom CSS Page now shows up.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J0NbI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J0NbI.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Version Differences&lt;/h2&gt;&#xA;&lt;h3&gt;Sitecore 8.0 - Sitecore 8.1 Update 2&lt;/h3&gt;&#xA;&lt;p&gt;Notice that the CSS files are explicit and numerous in SPEAK Applications, as exampled here:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sio3w.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sio3w.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Sitecore 8.1 Update 3&lt;/h3&gt;&#xA;&lt;p&gt;Update 3 Introduces CSS Minification.  The procedure above to add CSS to your Experience Profile Contact Tab is the same, except the resulting source code is the minified CSS.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EQsQ0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EQsQ0.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-22T19:38:43.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1699" PostTypeId="1" AcceptedAnswerId="1702" CreationDate="2016-10-22T21:03:06.300" Score="7" ViewCount="1188" Body="&lt;p&gt;I have created my first report, now I'd like to make it reusable. Is there any way I could read parameters from &quot;somewhere&quot; after the user clicks the report's name? &lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="95" LastEditDate="2016-10-23T01:15:39.297" LastActivityDate="2016-10-23T16:23:38.793" Title="PowerShell Extensions reports: Is it possible to pass / choose parameters?" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1700" PostTypeId="1" AcceptedAnswerId="1703" CreationDate="2016-10-22T21:07:18.490" Score="11" ViewCount="631" Body="&lt;p&gt;First I referenced John West's article on agents &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-all-about-sitecore-scheduling-agents-and-tasks&quot;&gt;here&lt;/a&gt;. He speaks of polling frequencies and intervals but neither there nor other places have I seen a clear guide on the agents that exist and best practices to their settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There have been a number of issues reported both here on the Sitecore Stack Exchange and other places about the event queue filling up and the need to clear it out. As can be seen here on the &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1450&quot;&gt;Sitecore Community site&lt;/a&gt; there are solutions to cleaning out queues, especially when they exceed the recommended 1000 row count.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone point to or provide a table which provides guidance to agent recommended settings from Development to Production?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-10-24T10:17:58.097" Title="How often should agents run to both minimize impact on users and reduce risk of other performance issues?" Tags="|configuration|best-practices|performance-optimization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1701" PostTypeId="1" CreationDate="2016-10-22T22:16:05.053" Score="6" ViewCount="599" Body="&lt;p&gt;I am trying to request a GET using SSC ODataController with Sitecore 8.2 and it keeps throwing a 406 Not Acceptable error.  URL - &lt;a href=&quot;http://sc82/sitecore/ssc/api/example-controller/products&quot;&gt;http://sc82/sitecore/ssc/api/example-controller/products&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the sample ODataController code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; public class ProductsController : ServiceBaseODataController&amp;lt;Product&amp;gt;&#xA; {&#xA;    protected IReadOnlyEntityRepository&amp;lt;Product&amp;gt; ProductRepository { get; private set; }&#xA;&#xA;    public ProductsController(IReadOnlyEntityRepository&amp;lt;Product&amp;gt; repository) : base(repository)&#xA;    {&#xA;    }&#xA;&#xA;    public ProductsController() : this(new ProductRepository())&#xA;    {   &#xA;    }&#xA;&#xA;    public override async Task&amp;lt;IHttpActionResult&amp;gt; Get()&#xA;    {  &#xA;        IQueryable&amp;lt;Product&amp;gt; result = await ProductRepository.GetData();           &#xA;        return Ok(result);    &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if anyone has tried using ODataController with Sitecore 8.2 and faced similar issue.&lt;/p&gt;&#xA;" OwnerUserId="354" LastEditorUserId="237" LastEditDate="2016-10-22T22:28:28.343" LastActivityDate="2016-10-24T22:43:39.213" Title="Sitecore Services Client 8.2 ODataController - 406 Not Acceptable error" Tags="|sitecore-services-client|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1702" PostTypeId="2" ParentId="1699" CreationDate="2016-10-22T22:16:08.330" Score="6" Body="&lt;p&gt;Currently there is no out of the box &quot;settings&quot; stored &quot;somewhere&quot; for SPE 4.1. Every solution is unique so it didn't make sense to build that. You can however create your own setting items and query that using the commands such as &lt;code&gt;Get-Item&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a look at the &lt;em&gt;Authorable Reports&lt;/em&gt; module included. The &lt;em&gt;Index Viewer&lt;/em&gt; contains an example of how to request information from the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gkC6t.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gkC6t.png&quot; alt=&quot;Index Viewer Script&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6F6pz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6F6pz.png&quot; alt=&quot;Index Dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following is a simplified version of the &lt;em&gt;Locked Items&lt;/em&gt; report. Notice the use of the &lt;em&gt;Read-Variable&lt;/em&gt; command.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item -Path master:\content\&#xA;&#xA;$props = @{&#xA;    Title = &quot;Items Locked&quot;&#xA;    Description = &quot;This report will analyse the branch and will tell you which items havehave beenn locked.&quot;&#xA;    Width = 450&#xA;    Height = 300&#xA;    OkButtonName = &quot;Proceed&quot;&#xA;    CancelButtonName = &quot;Abort&quot;&#xA;    Parameters = @(&#xA;        @{ Name = &quot;item&quot;; Title=&quot;Root Item&quot;; Tooltip=&quot;Branch you want to analyse.&quot;}&#xA;    )&#xA;}&#xA;&#xA;$result = Read-Variable @props&#xA;&#xA;if($result -ne &quot;ok&quot;) {&#xA;    Close-Window&#xA;    Exit&#xA;}&#xA;&#xA;$items = Get-ChildItem -Path $item.ProviderPath -Recurse -Version * -Language * | Where-Object { $_.__Lock -and (-not ($_.__Lock -match &quot;&amp;lt;r /&amp;gt;&quot;))}&#xA;&#xA;$items |&#xA;    Show-ListView -PageSize 25 -Property @{Label=&quot;Name&quot;; Expression={$_.DisplayName} },&#xA;        @{Label=&quot;Owner&quot;; Expression={ $_.__Owner} },&#xA;        @{Label=&quot;Locked&quot;; Expression={ ([Sitecore.Data.Fields.LockField]($_.Fields[&quot;__Lock&quot;])).Date} },&#xA;        @{Label=&quot;Locked by&quot;; Expression={$_.Locking.GetOwner() } },&#xA;        @{Label=&quot;Updated&quot;; Expression={$_.__Updated} },&#xA;        @{Label=&quot;Updated by&quot;; Expression={$_.&quot;__Updated by&quot;} },&#xA;        @{Label=&quot;Created&quot;; Expression={$_.__Created} },&#xA;        @{Label=&quot;Created by&quot;; Expression={$_.&quot;__Created by&quot;} },&#xA;        @{Label=&quot;Path&quot;; Expression={$_.ItemPath} }&#xA;&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-10-23T16:10:09.660" LastActivityDate="2016-10-23T16:10:09.660" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1703" PostTypeId="2" ParentId="1700" CreationDate="2016-10-22T22:25:15.780" Score="6" Body="&lt;p&gt;Can't provide you with a list of recommendations for all agents, but as you mentioned the event queue I can give some information on the &lt;code&gt;CleanupEventQueue&lt;/code&gt; task. As we had issues with ever growing event queue tables (as many others probably) we reached out to Sitecore support and together we came up with some patches to the configuration. The idea is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;On Content Management:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Clean the eventqueue very aggressively&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;On Content Delivery:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Poll the eventqueue less aggressively&lt;/li&gt;&#xA;&lt;li&gt;Disable the eventqueue cleaning&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Polling the event queue every 2 minutes means that if the content editor changes a page, it can take up to 2 minutes for the changes to appear on the CD. You should check with your 'customer' if this is a problem and change the value accordingly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The patches would look like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Content Management&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;scheduling&amp;gt;&#xA;    &amp;lt;agent type=&quot;Sitecore.Tasks.CleanupEventQueue, Sitecore.Kernel&quot;&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;interval&quot;&amp;gt;00:30:00&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;DaysToKeep&amp;gt;&#xA;        &amp;lt;patch:delete /&amp;gt;&#xA;      &amp;lt;/DaysToKeep&amp;gt;&#xA;      &amp;lt;IntervalToKeep&amp;gt;01:00:00&amp;lt;/IntervalToKeep&amp;gt;&#xA;    &amp;lt;/agent&amp;gt;&#xA;  &amp;lt;/scheduling&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Content Delivery&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;eventing&amp;gt;&#xA;    &amp;lt;eventQueue&amp;gt;&#xA;      &amp;lt;processingInterval&amp;gt;00:02:00&amp;lt;/processingInterval&amp;gt;&#xA;    &amp;lt;/eventQueue&amp;gt;&#xA;  &amp;lt;/eventing&amp;gt;&#xA;  &amp;lt;scheduling&amp;gt;&#xA;    &amp;lt;agent type=&quot;Sitecore.Tasks.CleanupEventQueue, Sitecore.Kernel&quot;&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;interval&quot;&amp;gt;00:00:00&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/agent&amp;gt;&#xA;  &amp;lt;/scheduling&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Changing to these values did the trick on some of our projects that had eventqueue-issues so they seem to be effective.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: not sure when &lt;code&gt;IntervalToKeep&lt;/code&gt; was introduced exactly - you should check if your Sitecore version supports it. And undoubtedly someone our here does know and can add that information here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: I have no detailed information for the &lt;code&gt;CleanupHistory&lt;/code&gt; and &lt;code&gt;CleanupPublishQueue&lt;/code&gt; but what I normally do is lower the &lt;code&gt;DaysToKeep&lt;/code&gt; for the CleanupPublishQueue (to 1 instead of 30). There is also an interesting &lt;a href=&quot;https://blog.coates.dk/2015/05/27/sitecore-history-table-how-to-control-how-long-the-entries-are-kept/&quot; rel=&quot;nofollow&quot;&gt;blog post&lt;/a&gt; from Alan Coates on the subject, mainly focussing on the &quot;how&quot; though - but including a solution to tweak the CleanupHistory through the &lt;code&gt;EntryLifeTime&lt;/code&gt; setting - which I haven't done myself yet. I do think it's quite hard to give real numbers as this is also determined by your content editors - how often and how much do they edit and publish..&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-24T10:17:58.097" LastActivityDate="2016-10-24T10:17:58.097" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1704" PostTypeId="5" CreationDate="2016-10-22T22:36:08.933" Score="0" Body="&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Services.Client provides a service layer on both the server and the client side of Sitecore applications that you use to develop data-driven applications.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Services.Client is configurable and extendable, and the framework and scaffolding it provides help you create the client-server communication in an application in a consistent way. Sitecore.Services.Client uses the ASP.NET Web API as a foundation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Clients can use the server-side classes to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use SPEAK components.&lt;/li&gt;&#xA;&lt;li&gt;Use client-side JavaScript.&lt;/li&gt;&#xA;&lt;li&gt;Use the Restful API directly.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Services.Client provides two services:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ItemService: this service gives you access to regular Sitecore items.&lt;/li&gt;&#xA;&lt;li&gt;EntityService: this service gives you access to business objects that you define.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-23T00:57:39.980" LastActivityDate="2016-10-23T00:57:39.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1705" PostTypeId="4" CreationDate="2016-10-22T22:36:08.933" Score="0" Body="All questions about the Sitecore.Services.Client. SSC provides a service layer on both the server and the client side of Sitecore applications that you use to develop data-driven applications." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-23T00:57:43.240" LastActivityDate="2016-10-23T00:57:43.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1706" PostTypeId="1" AcceptedAnswerId="1707" CreationDate="2016-10-23T04:12:30.940" Score="4" ViewCount="1696" Body="&lt;p&gt;I am trying to put together a very simple predicate builder - I only have one predicate for now. But as far as I see in the logs, it isn't applying any clauses at all. This is what I have:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;resources_index&quot;).CreateSearchContext())&#xA;{&#xA;    string searchTerm = &quot;press&quot;;&#xA;&#xA;    var filterPredicate = PredicateBuilder.False&amp;lt;ResourceSearchResultItem&amp;gt;();&#xA;&#xA;    string[] terms = searchTerm.Split(' ');&#xA;&#xA;    var termPredicate = PredicateBuilder.False&amp;lt;ResourceSearchResultItem&amp;gt;();&#xA;&#xA;    foreach (string term in terms)&#xA;    {&#xA;        termPredicate = termPredicate.Or(p =&amp;gt; p.BodyContent.Contains(term));&#xA;    }&#xA;&#xA;    filterPredicate.Or(termPredicate);&#xA;&#xA;    IQueryable&amp;lt;ResourceSearchResultItem&amp;gt; query = context.GetQueryable&amp;lt;ResourceSearchResultItem&amp;gt;().Where(filterPredicate);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I do this, the query in the logs is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;34184 00:02:23 INFO  ExecuteQueryAgainstLucene (resources_index): -*:* - Filter : &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's basically applying no filters at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if I use just &lt;strong&gt;termPredicate&lt;/strong&gt; in the &lt;strong&gt;.Where&lt;/strong&gt;, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IQueryable&amp;lt;ResourceSearchResultItem&amp;gt; query = context.GetQueryable&amp;lt;ResourceSearchResultItem&amp;gt;().Where(termPredicate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;...Then the query in the logs is just fine:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;33564 00:08:25 INFO  ExecuteQueryAgainstLucene (resources_index): SpanWildcardQuery(bodycontent:*press*) - Filter : &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Not sure what I am missing. Any help would be appreciated!&lt;/p&gt;&#xA;" OwnerUserId="407" LastEditorUserId="246" LastEditDate="2016-10-23T04:51:00.583" LastActivityDate="2016-10-23T08:05:11.977" Title="PredicateBuilder not adding any filters at all" Tags="|content-search|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1707" PostTypeId="2" ParentId="1706" CreationDate="2016-10-23T05:46:40.363" Score="6" Body="&lt;p&gt;You need to assign the &lt;code&gt;Or&lt;/code&gt; statement to the &lt;code&gt;filterPredicate&lt;/code&gt; because the &lt;code&gt;Or&lt;/code&gt; and other operators return a new expression instead of building upon the current one. You are doing it correctly with the &lt;code&gt;termPredicate&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;filterPredicate = filterPredicate.Or(termPredicate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="114" LastEditorUserId="114" LastEditDate="2016-10-23T08:05:11.977" LastActivityDate="2016-10-23T08:05:11.977" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1708" PostTypeId="2" ParentId="1699" CreationDate="2016-10-23T08:17:11.943" Score="4" Body="&lt;p&gt;The generic way would be to read user input, like Michael suggested.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way that we have used in some circumstances is to move the report script into a reusable function and put in a separate script item under Functions. You can then create light-weight &quot;integration point&quot; script items that import the shared function and call it with different sets of parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a simple example just to illustrate the idea:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Functions / Show-UsersReport&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;function Show-UsersReport {&#xA;    param(&#xA;        [string]$RoleName,&#xA;        [switch]$IncludeAdministrators&#xA;    )&#xA;&#xA;    # Reporting script here...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Toolbox / Show all users&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Import-Function &quot;Show-UsersReport&quot;&#xA;Show-UsersReport -IncludeAdministrators&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Toolbox / Show Authors&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Import-Function &quot;Show-UsersReport&quot;&#xA;Show-UsersReport -RoleName &quot;sitecore\Author&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Toolbox / Show Approvers&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Import-Function &quot;Show-UsersReport&quot;&#xA;Show-UsersReport -RoleName &quot;sitecore\Approver&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is certainly not for every case, but has a few upsides, such as:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Simplifies for users when only a few combinations of parameters are &quot;valid&quot;&lt;/li&gt;&#xA;&lt;li&gt;Allows each use case to have a descriptive name&lt;/li&gt;&#xA;&lt;li&gt;Allows separate security permissions for each integration point&lt;/li&gt;&#xA;&lt;li&gt;Allows separate rules for when each integration point should be visible/enabled (see the Interactive section fields for the script item)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Naturally, it is also possible for an integration point script to ask the user for to input if you need to leave some parameters open.&lt;/p&gt;&#xA;" OwnerUserId="409" LastEditorUserId="10" LastEditDate="2016-10-23T16:23:38.793" LastActivityDate="2016-10-23T16:23:38.793" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1709" PostTypeId="5" CreationDate="2016-10-23T09:18:50.127" Score="0" Body="&lt;p&gt;Sitecore 7.5 introduced &lt;a href=&quot;https://www.mongodb.com/lp/contact/mongodb-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDB&lt;/a&gt; as the main datastore for the Sitecore Experience Database (xDB). Sitecore xDB allows organizations to collect all of their customer interactions from all channels to create a comprehensive, single view of the customer that allows marketers to better optimize the customer experience in real-time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.mongodb.com/what-is-mongodb&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDB&lt;/a&gt; is a highly scalable document-based NoSQL database solution that the Sitecore Experience Database (xDB) uses for the collection database. For more information, see &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/mongodb_considerations&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDB considerations&lt;/a&gt; in the Sitecore documentation.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="3467" LastEditDate="2018-03-31T01:05:41.670" LastActivityDate="2018-03-31T01:05:41.670" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1710" PostTypeId="4" CreationDate="2016-10-23T09:18:50.127" Score="0" Body="All questions related to the use of MongoDB in a Sitecore environment - xDB, sessions, ..." OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-23T11:20:22.050" LastActivityDate="2016-10-23T11:20:22.050" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1711" PostTypeId="5" CreationDate="2016-10-23T09:34:20.453" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-23T09:34:20.453" LastActivityDate="2016-10-23T09:34:20.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1712" PostTypeId="4" CreationDate="2016-10-23T09:34:20.453" Score="0" Body="Question about the installation of Sitecore packages with the Installation Wizard" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-23T11:22:08.973" LastActivityDate="2016-10-23T11:22:08.973" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1713" PostTypeId="5" CreationDate="2016-10-23T09:35:35.463" Score="0" Body="&lt;p&gt;Sitecore update packages are used to upgrade Sitecore between versions, as well as for deploying website changes. Update packages can contain files, binaries, configuration, items and post-deploy actions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update packages are installed using the &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/resources%20misc/tools/update%20installation%20wizard/update_installation_wizard_guide-a4.pdf&quot; rel=&quot;nofollow&quot;&gt;Update Installation Wizard&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They can be created manually or using &lt;a href=&quot;/questions/tagged/tds&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;tds&amp;#39;&quot; rel=&quot;tag&quot;&gt;tds&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-23T15:43:51.887" LastActivityDate="2016-10-23T15:43:51.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1714" PostTypeId="4" CreationDate="2016-10-23T09:35:35.463" Score="0" Body="Questions about Sitecore update packages—installing with Update Installation Wizard and creating with TDS." OwnerUserId="237" LastEditorUserId="104" LastEditDate="2016-10-23T11:38:45.897" LastActivityDate="2016-10-23T11:38:45.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1715" PostTypeId="5" CreationDate="2016-10-23T09:36:35.407" Score="0" Body="&lt;p&gt;You use the Package Designer to create packages with Sitecore items that can be easily transferred, for example from one Sitecore website to another and opened in Sitecore. You can use Package Designer to create or modify packages that could contain dynamically or statically created items, or files. Packages that you create with the Package Designer can also contain security accounts.&lt;/p&gt;&#xA;&lt;p&gt;Sitecore modules are packages. You can use the package to create modules. Some administrators use the packager to install updates to custom code and definition items.&lt;/p&gt;&#xA;&lt;p&gt;Packages can contain serialized Sitecore items, files and security accounts. Sitecore package files have a .zip extension, but the format differs from the standard for zip archives. Packages are also used to install Sitecore modules which introduce additional features to the Sitecore user interface.&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-08-18T10:33:25.953" LastActivityDate="2021-08-18T10:33:25.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1716" PostTypeId="4" CreationDate="2016-10-23T09:36:35.407" Score="0" Body="Question about the creation of Sitecore packages with the Package Designer" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-23T11:22:01.427" LastActivityDate="2016-10-23T11:22:01.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1717" PostTypeId="1" AcceptedAnswerId="1719" CreationDate="2016-10-23T10:31:55.230" Score="5" ViewCount="777" Body="&lt;p&gt;I want to install sitecore 8.2 instance through SIM tool but it's throwing below error &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RC7p0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RC7p0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I copied exe file in repository folder but it's not working. I tried to copy sitecore 8.2 zip file in repository folder but encountered same error. I cleaned up my temp folder as well but same result. &lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="73" LastEditDate="2016-10-23T10:45:38.617" LastActivityDate="2016-10-23T10:51:09.213" Title="SIM tool error installing new sitecore instance" Tags="|sim|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1718" PostTypeId="2" ParentId="1691" CreationDate="2016-10-23T10:32:40.900" Score="10" Body="&lt;h1&gt;Background&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;What the error message means is that an object of type &lt;code&gt;SearchResultItem&lt;/code&gt; could not be serialized as part of a session that is saved to a session store. There are two types of sessions used by Sitecore: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/walkthrough_configuring_a_private_session_state_database_using_the_sql_server_provider&quot;&gt;&lt;strong&gt;private session&lt;/strong&gt;&lt;/a&gt; (a.k.a. ASP.NET session) and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&quot;&gt;&lt;strong&gt;shared session&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;SearchResultItem&lt;/code&gt; is a class that is used to retrieve results when querying indexes through the Sitecore search API. Sitecore does not store these objects in sessions out of the box, which means that some code in your solution does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As your question is described right now, and without going through your code base, it is impossible to provide you with a concrete solution. So here's the general solution:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Do not attempt to put non-serializable objects into session.&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Below you can find some concrete advise on finding the offending code.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Look through all usages of both ASP.NET session API and Sitecore session API&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;See where and how &lt;code&gt;HttpContext.Current.Session&lt;/code&gt; is used;&lt;/li&gt;&#xA;&lt;li&gt;Check if your code uses Sitecore's &lt;code&gt;SharedSessionStateManager&lt;/code&gt; directly;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check if your code attaches any custom objects to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Tracker.Current.Interaction&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;Or &lt;code&gt;Tracker.Current.Session.Interaction&lt;/code&gt;;  &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check if your code attaches any custom objects to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Tracker.Current.Contact&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;Or &lt;code&gt;Tracker.Current.Session.Contact&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The reason you need to check &lt;code&gt;Interaction&lt;/code&gt; and its child objects is because the current interaction is saved to the &lt;em&gt;ASP.NET session&lt;/em&gt; at the end of every request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason you need to check &lt;code&gt;Contact&lt;/code&gt; and its child objects is because the current contact is saved to the &lt;em&gt;Sitecore shared session&lt;/em&gt; at the end of every request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For all of the above instances, verify that no custom objects that may be saved to the session are of class &lt;code&gt;SearchResultItem&lt;/code&gt;, and that no custom objects contain &lt;code&gt;SearchResultItem&lt;/code&gt; objects at any nesting level.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Look through all usages of &lt;code&gt;SearchResultItem&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Perform a solution-wide search for &quot;SearchResultItem&quot; and see where and how it is used. If you see that these objects may be saved into private or shared session, review this approach:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Consider whether you need to store these objects, at all;&lt;/li&gt;&#xA;&lt;li&gt;If you do, then consider storing them elsewhere;&lt;/li&gt;&#xA;&lt;li&gt;If you, for some reason, &lt;em&gt;do&lt;/em&gt; need to store them in the session, then create a custom serializable type that is stored instead of the Sitecore native &lt;code&gt;SearchResultItem&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-23T10:32:40.900" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1719" PostTypeId="2" ParentId="1717" CreationDate="2016-10-23T10:51:09.213" Score="9" Body="&lt;p&gt;SIM only works with &lt;code&gt;ZIP archive of the Sitecore root folder&lt;/code&gt; archives, not with the &lt;code&gt;.EXE&lt;/code&gt; installer versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CJ6F0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CJ6F0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, it relies on the archive name being exactly the same as it is when downloaded directly from Sitecore. So if the 8.2 zip you have has been renamed or altered in any way, SIM will not recognise it.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-23T10:51:09.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1720" PostTypeId="2" ParentId="1700" CreationDate="2016-10-23T13:42:02.813" Score="3" Body="&lt;p&gt;I also cannot provide a direction to a table or list of recommendations, but I use the following rules of thumb for setting frequency:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use production frequency in at least one non-production environment that has high usage so that the team will have an early sign if the frequency is causing an issue.&lt;/li&gt;&#xA;&lt;li&gt;If the business requirement is to have a high level of sync between actions in the CM and display on the CD using remote events (such as publishing) consider using a high frequency setting combined with an event handler that has a small impact and doesn't take long to operate.&lt;/li&gt;&#xA;&lt;li&gt;Never set the frequency lower than the time it takes for the agent to complete it's job. &lt;/li&gt;&#xA;&lt;li&gt;Related: Always add a 'quiet' time buffer into the frequency to ensure that the agent, under regular usage, has some non-running time between executions. &lt;/li&gt;&#xA;&lt;li&gt;Normal running time should be determined against production-type data as most agents are impacted by the size of the data being processed.&lt;/li&gt;&#xA;&lt;li&gt;If agent execution is interfering with system operation on CM, consider moving the execution to a processing instance to allow for dedicated processing (such as aggregation of the collection DB)&lt;/li&gt;&#xA;&lt;li&gt;If agent execution is interfering with system operation on CD, consider disabling the agents if they have no benefit to the CD operation. If they are required for the CD to function, they usually can't be offloaded to processing, so set the frequency to a longer timespan than you would on CM.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-10-23T13:42:02.813" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1721" PostTypeId="1" AcceptedAnswerId="1722" CreationDate="2016-10-23T15:17:22.437" Score="6" ViewCount="886" Body="&lt;p&gt;We are using OIOSAML.NET/dk.Nita for NemLog-in (Danish National Identity Provider) as authentication mechanism for editors. Claims from the federation are mapped to Sitecore users on login, and that part works great.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.1 update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when logging out the user is only logged out from Sitecore when pressing &quot;Logout&quot; in the Sitecore Shell. I have therefore added a pipeline component in the Logout pipeline, where I change the redirect URL by injecting SheerResponse.SetLocation(urlString) into the Pipeline before GotoLogin (and aborting the pipeline). This works great for some pages, like the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class LogoutFlowAdmin : ILogoutFlowAdmin&#xA;{&#xA;    private readonly ISecurityContext _securityContext;&#xA;&#xA;    public LogoutFlowAdmin(ISecurityContext securityContext)&#xA;    {&#xA;        _securityContext = securityContext;&#xA;    }&#xA;&#xA;    public void Process(LogoutArgs args)&#xA;    {&#xA;        args.AbortPipeline();&#xA;        Tracer.Info(&quot;Intercepting call to Sitecore logout. Redirecting to Single Logout instead&quot;);&#xA;&#xA;        var urlString = _securityContext.GetLogoutUrl();&#xA;        SheerResponse.SetLocation(urlString); // only works for non-SPEAK&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, since some pages use the SPEAK logout pipeline, I also need to inject my code here. This part does not include GotoLogin, so I assume the flow is somewhat different. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I debug logout from SPEAK, I can see that my code is hit every time, but adding JavaScript using SheerResponse has no effect. Also I have tried a standard redirect (which of course causes an error when invoked in an Ajax handler), changing the RedirectUrl property of the LogoutArgs, but nothing seems to work for SPEAK logout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One option would be to change the JavaScript that invokes the Ajax handler (Sitecore AuthenticationController) so the line below with &lt;code&gt;window.location&lt;/code&gt; is hardcoded to point to the custom Logout handler, but I would rather not go into that direction.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;jquery&quot;], function (sc, $) {&#xA;sc.Factories.createBaseComponent({&#xA;name: &quot;AccountInformation&quot;,&#xA;base: &quot;ControlBase&quot;,&#xA;selector: &quot;.sc-accountInformation&quot;,&#xA;logout: function (target, event) {&#xA;  event.preventDefault();&#xA;&#xA;  // Disable cache to make sure that URL is always &quot;followed&quot;&#xA;  // and the logout function gets executed on the server&#xA;  var ajaxSettings = {&#xA;    type: &quot;POST&quot;,&#xA;    url: &quot;/sitecore/shell/api/sitecore/Authentication/Logout?sc_database=master&quot;,&#xA;    data: {},&#xA;    cache: false&#xA;  };&#xA;&#xA;  var token = sc.Helpers.antiForgery.getAntiForgeryToken();&#xA;  ajaxSettings.data[token.formKey] = token.value;&#xA;&#xA;  $.ajax(ajaxSettings).done(function (data) {&#xA;    window.location = JSON.parse(data).Redirect; // possible to hack here&#xA;  });&#xA;}&#xA;});&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone have a way to change the URL the editor is redirected to after logout? Preferably in a manner that would be supported by Sitecore, and is sufficiently stable?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update: I have been in contact with Sitecore support, that has informed that this is indeed a bug. It is fixed in 8.2.&lt;/strong&gt; I still need a workaround, until we can upgrade, so any ideas are welcome :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update: Quick fix&lt;/strong&gt;&#xA;I have implemented a temporary workaround in sitecore\shell\client\Business Component Library\Layouts\Renderings\Authentications\AccountInformation\AccountInformation.js where the line with &lt;code&gt;window.location&lt;/code&gt; is hardcoded to redirect to the Single Logout Page, as hinted in the code above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you all for your answers and comments :)&lt;/p&gt;&#xA;" OwnerUserId="182" LastEditorUserId="182" LastEditDate="2016-10-25T09:19:21.010" LastActivityDate="2016-10-26T12:00:33.080" Title="Add custom redirect on SPEAK logout" Tags="|pipelines|speak|javascript|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1722" PostTypeId="2" ParentId="1721" CreationDate="2016-10-23T16:13:46.907" Score="4" Body="&lt;p&gt;&lt;strong&gt;EDIT: Update based on comments&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you check the definition of &lt;code&gt;LogoutArgs&lt;/code&gt; used in the processor, there is a property called &lt;code&gt;RedirectUrl&lt;/code&gt; that is of type: &lt;code&gt;Sitecore.Text.UrlString&lt;/code&gt; - if you set this property in your processor, that should then be processed by the JavaScript section:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;$.ajax(ajaxSettings).done(function (data) {&#xA;  window.location = JSON.parse(data).Redirect; // possible to hack here&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The processor would be:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class LogoutFlowAdmin : ILogoutFlowAdmin&#xA;{&#xA;    private readonly ISecurityContext _securityContext;&#xA;&#xA;    public LogoutFlowAdmin(ISecurityContext securityContext)&#xA;    {&#xA;        _securityContext = securityContext;&#xA;    }&#xA;&#xA;    public void Process(LogoutArgs args)&#xA;    {&#xA;        Tracer.Info(&quot;Intercepting call to Sitecore logout. Redirecting to Single Logout instead&quot;);&#xA;&#xA;        var urlString = _securityContext.GetLogoutUrl();&#xA;        args.RedirectUrl = new UrlString(urlString);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt; Removed the &lt;code&gt;args.AbortPipeline()&lt;/code&gt; so that the pipeline continues and completes the redirect. See comments.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-10-26T12:00:33.080" LastActivityDate="2016-10-26T12:00:33.080" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1723" PostTypeId="2" ParentId="1661" CreationDate="2016-10-23T19:17:47.223" Score="16" Body="&lt;p&gt;The Sitecore XML configuration has some fairly handy things in it, and &lt;code&gt;ref&lt;/code&gt; is one of them.  I spent a bit of time playing around with it some time ago; I think that I can provide an answer, but it's quite a long one so buckle in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With 'how it works'... For fine detail, you can investigate the &lt;code&gt;Factory.CreateObject(XmlNode, string[], bool, IFactoryHelper)&lt;/code&gt; and the &lt;code&gt;Factory.CreateFromReference(XmlNode, string[], bool)&lt;/code&gt; methods, but in a nutshell Sitecore will attempt to construct the object in a few different ways.  One of which is using a given &lt;code&gt;ref&lt;/code&gt; or &lt;code&gt;path&lt;/code&gt; attribute.  Sitecore does not, at any point, actually fiddle with the underlying XML (e.g. by merging or copying it).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you'll likely be aware, Sitecore assigns the properties of the object based on the child nodes present in the XML that identifies the type name.  There are some exceptions to this case, but by and large this holds so long as the &lt;code&gt;hint&lt;/code&gt; attribute is not used.  To provide an example, the following XML (when requested through &lt;code&gt;Factory&lt;/code&gt;) will create an object of type &lt;code&gt;MyType&lt;/code&gt; and then proceed to set the value of the &lt;code&gt;MyProperty&lt;/code&gt; property on that object to &quot;foo&quot;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;someNode type=&quot;MyType, MyAssembly&quot;&amp;gt;&#xA;  &amp;lt;myProperty&amp;gt;foo&amp;lt;/myProperty&amp;gt;&#xA;&amp;lt;/someNode&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The population process described above occurs on two separate occasions: first with properties matching the child nodes present in the &quot;referred&quot; XML, and second with the properties matching child nodes present in the &quot;original&quot; XML.  This is what allows for configuration such as with the Content Search indexes where index configuration can override a &quot;default&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The interesting caveat here, is that because the XML is never merged, the &quot;original&quot; property values take precedence over the &quot;referred&quot; property values when used normally (i.e. set property X to value Y).  This is why you often have to duplicate swathes of the default index configuration if you just want to add a value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A further caveat to the above is: if you're using &lt;code&gt;hint&lt;/code&gt; attributes to call methods then my understanding is that the method will be called for the &quot;referred&quot; XML and then the &quot;original&quot; XML.  I haven't looked too deeply into this - but it makes sense given that it would be tricky to somehow &quot;undo&quot; the unknown effect of a method call.  This is your best bet if you want to &quot;merge&quot; your values, and is probably why it only &quot;sometimes&quot; works if you just add in your changes rather than the full set of default values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In terms of where it can be used, you can only use &lt;code&gt;ref&lt;/code&gt; for XML that governs the instantiation of an object.  Typically this means when you're creating an object for an object's property, or if you're making some top-level XML that you yourself intend to use the &lt;code&gt;Factory&lt;/code&gt; class to instantiate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To clarify the above: you - unfortunately - cannot use it if you're simply constructing an XML-only configuration node and want to reduce repetition, or to copy in commonly used &lt;em&gt;values&lt;/em&gt; for properties (e.g. cache sizes for databases).  You must be creating an object.  I spent quite a bit of time attempting to do this and scratching my head when it didn't work, before digging a bit deeper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A rather trivial point is that the &lt;code&gt;ref&lt;/code&gt; will only be followed once per object.  You cannot use a &lt;code&gt;ref&lt;/code&gt; attribute to point to an element which is in turn another &lt;code&gt;ref&lt;/code&gt;.  Although you can obviously use &lt;code&gt;ref&lt;/code&gt; on properties inside of those objects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully that wasn't a whole lot of TL;DR and it answers your questions enough; if there's something I've missed or any mistakes please let me know.&lt;/p&gt;&#xA;" OwnerUserId="442" LastEditorUserId="442" LastEditDate="2016-10-24T13:26:41.977" LastActivityDate="2016-10-24T13:26:41.977" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1724" PostTypeId="2" ParentId="1216" CreationDate="2016-10-23T20:45:55.133" Score="3" Body="&lt;p&gt;For a 6.5 update 1 using DMS you are unfortunately out of luck.&#xA;In 6.5, you cannot load balance the CM servers (you dont need it but just stated for completeness)&#xA;In 6.5 versions before update 4 you cannot use a shared session for DMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You cannot do much else than recheck the loadbalancer configuration for stickyness.&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2016-10-23T20:45:55.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1725" PostTypeId="2" ParentId="1445" CreationDate="2016-10-23T20:52:49.793" Score="6" Body="&lt;p&gt;Yes - there are several advanced ways this can be used - but as I see it the main drawback will be that you expose yourself to a heavy denial of service attack.&#xA;The in-memory provider will block writes and therefore hinder creations of new sessions if it runs out of memory - so a session flood attack (probably the easiest attack there is) will bring your system down.&lt;/p&gt;&#xA;" OwnerUserId="214" LastEditorUserId="182" LastEditDate="2016-10-26T07:03:50.933" LastActivityDate="2016-10-26T07:03:50.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1726" PostTypeId="2" ParentId="855" CreationDate="2016-10-23T20:56:04.140" Score="2" Body="&lt;p&gt;Experience Profile has a concept of client transformers that modify data before it's displayed. Each page can have its own transformer. The configuration for it is in &lt;em&gt;Sitecore.ExperienceProfile.Client.config&lt;/em&gt;. Specifically in your case you would need to replace the transformer for &lt;em&gt;journey-detail-outcome&lt;/em&gt; view. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Define a time converter and provide your custom date/time formatting.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;class MyTimeConverter : TimeConverter&#xA;{&#xA;    public MyTimeConverter(Sitecore.Cintel.Client.Repository repository, Sitecore.Cintel.Client.ContextUtil contextUtil)&#xA;        : base(repository, contextUtil)&#xA;    {&#xA;    }&#xA;&#xA;    public override string FormatDateTime(DateTime time)&#xA;    {&#xA;        return base.FormatDateTime(time, &quot;dd/MM/yyyy HH:mm:ss&quot;); //can be read from config&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Define a &lt;code&gt;ResultSetExtender&lt;/code&gt; that is used to apply transformations to the data returned by the Experience Profile. Custom time converter is one of the constructor parameters.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyResultSetExtender : ResultSetExtender&#xA;{&#xA;    public MyResultSetExtender() : this(&#xA;        Sitecore.Cintel.Client.ClientFactory.Instance.GetResultSetHelper(),&#xA;        new MyTimeConverter(Sitecore.Cintel.Client.ClientFactory.Instance.GetRepository(), Sitecore.Cintel.Client.ClientFactory.Instance.GetContextUtil()),&#xA;        Sitecore.Cintel.Client.ClientFactory.Instance.GetTextConverter())&#xA;    {         &#xA;    }&#xA;&#xA;    public MyResultSetExtender(&#xA;      Sitecore.Cintel.Client.Transformers.ResultSetHelper resultSetHelper, Sitecore.Cintel.Client.Transformers.TimeConverter timeConverter,&#xA;      Sitecore.Cintel.Client.Transformers.TextConverter textConverter)&#xA;      : base(resultSetHelper, timeConverter, textConverter)&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3) Define an actual transformer for the view and supply the result set extender from the previous step.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyOutcomeTransformer : Sitecore.Cintel.Client.Transformers.Contact.JourneyOutcomeDetailResultTransformer&#xA;{&#xA;    public MyOutcomeTransformer() : base(new MyResultSetExtender()) { }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;4) Patch &lt;em&gt;Sitecore.ExperienceProfile.Client.config&lt;/em&gt;.&lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="104" LastEditDate="2016-10-24T07:06:14.757" LastActivityDate="2016-10-24T07:06:14.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1727" PostTypeId="1" AcceptedAnswerId="1742" CreationDate="2016-10-24T02:10:01.970" Score="4" ViewCount="256" Body="&lt;p&gt;I'm implementing a field based suggestions with a coveosearchbox view. My searchbox is declared like this: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;div class=&quot;CoveoSearchbox form-control&quot;&#xA;         data-auto-focus=&quot;@Model.AutoFocus&quot;&#xA;         data-enable-lowercase-operators=&quot;@Model.EnableLowercaseOperators&quot;&#xA;         data-enable-partial-match=&quot;@Model.EnablePartialMatch&quot;&#xA;         data-partial-match-keywords=&quot;@Model.PartialMatchKeywords&quot;&#xA;         data-partial-match-threshold=&quot;@Model.PartialMatchThreshold&quot;&#xA;         data-enable-question-marks=&quot;@Model.EnableQuestionMarks&quot;&#xA;         data-enable-wildcards=&quot;@Model.EnableWildcards&quot;&#xA;         data-enable-omnibox=&quot;true&quot;&#xA;         data-omnibox-timeout=&quot;@Model.OmniboxTimeout&quot;&#xA;         data-enable-field-addon=&quot;@Model.OmniboxEnableFieldAddon&quot;&#xA;         data-enable-simple-field-addon=&quot;@Model.OmniboxEnableSimpleFieldAddon&quot;&#xA;         data-enable-top-query-addon=&quot;@Model.OmniboxEnableTopQueryAddon&quot;&#xA;         data-enable-reveal-query-suggest-addon=&quot;@Model.OmniboxEnableRevealQuerySuggestAddon&quot;&#xA;         data-enable-query-extension-addon=&quot;@Model.OmniboxEnableQueryExtensionAddon&quot;&amp;gt;&#xA;        &amp;lt;span class=&quot;CoveoFieldSuggestions&quot; data-header-title=&quot;Results&quot; data-field=&quot;@Model.ToCoveoFieldName(&quot;title&quot;)&quot;&amp;gt;&amp;lt;/span&amp;gt;          &#xA;    &amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I start typing on the coveo search box the suggest is not working. The error I get is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;SearchEndpointWithDefaultCallOptions.ts:7 Uncaught (in promise) TypeError: Cannot read property 'options' of undefined(…)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm using Coveo for Sitecore version 4.402 on a Sitecore 8.1 installation. Also on the diagnostics page I see all services as up and running. I'm assuming this is a misconfiguration but I'm not being able to pinpoint which one. any thoughts on what's wrong here?&#xA;thanks&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="10" LastEditDate="2016-10-24T02:31:06.767" LastActivityDate="2016-10-24T11:09:16.640" Title="JS error while implementing suggest with Coveo" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1728" PostTypeId="1" CreationDate="2016-10-24T03:04:27.480" Score="1" ViewCount="1122" Body="&lt;p&gt;This might be an obvious answer. I am setting up an existing site (website link changed, but still should point to the same directory) and I get the following error on the URL &lt;code&gt;notfound?item=%2f&amp;amp;user=sitecore%5cadmin&amp;amp;site=scheduler&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore 8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on what I could of missed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; It turned out to be a hosting issue. Not sure how it still made it into Sitecore, but that is what threw me off.&lt;/p&gt;&#xA;" OwnerUserId="853" LastEditorUserId="104" LastEditDate="2016-12-04T09:31:05.063" LastActivityDate="2016-12-04T09:31:05.063" Title="Sitecore Not Finding Home Page" Tags="|multisite|installation|" AnswerCount="1" CommentCount="2" ClosedDate="2016-12-04T09:31:24.743" ContentLicense="CC BY-SA 3.0" />
  <row Id="1729" PostTypeId="1" AcceptedAnswerId="1730" CreationDate="2016-10-24T05:35:15.350" Score="4" ViewCount="4064" Body="&lt;p&gt;Looks like out of the box prefetch cache setting has item and children set to items which no longer use.  I've gone and added below on both master and web database settings.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt; &#xA;  &amp;lt;cacheSize&amp;gt;500MB&amp;lt;/cacheSize&amp;gt;&#xA;  &amp;lt;item desc=&quot;home&quot;&amp;gt;{4CE08AF0-CB20-40C2-BE74-BF049DE210B2}&amp;lt;/item&amp;gt;&#xA;  &amp;lt;children desc=&quot;main items&quot;&amp;gt;{4CE08AF0-CB20-40C2-BE74-BF049DE210B2}&amp;lt;/children&amp;gt;&#xA;&amp;lt;/prefetch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where item is our Home node for the site. I assume children means prefetch all items underneath home node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Do we need to include both master and web db settings in CMS? Or just master settings in CMS.&lt;/li&gt;&#xA;&lt;li&gt;Do we need to include master and web db settings in CD? Or just Web settings in CD.&lt;/li&gt;&#xA;&lt;li&gt;Where does sitecore stores the cache data for (item cache, data cache and prefetch cache). Wondering if any of them are stored in physical file.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I'm using out of box cache page and also sitecore cache admin module (&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_Cache_Admin.aspx&quot; rel=&quot;nofollow&quot;&gt;https://marketplace.sitecore.net/en/Modules/Sitecore_Cache_Admin.aspx&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page shows prefetch cache data for both web and master. Wondering how this tool gets the data for web db prefetch for scenario where there are multiple CDs. Or is it just getting from CMS server?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;5.When I search for the prefetch item using above mentioned module, I can find it on master prefetch but not on web prefetch. Hence I'm wondering how it shows the prefetch items for Web DB from CMS server.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="237" LastEditDate="2016-10-24T08:45:40.410" LastActivityDate="2021-12-07T16:01:40.073" Title="Sitecore pre-fetch cache setting clarification" Tags="|performance-optimization|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1730" PostTypeId="2" ParentId="1729" CreationDate="2016-10-24T06:24:40.127" Score="8" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Do we need to include both master and web db settings in CMS? Or just master settings in CMS.&lt;/strong&gt;&#xA;Only the &lt;code&gt;master&lt;/code&gt; db will suffice. Web db items are only used when the site is accessed through the front-end which is usually not the case on CMS.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Do we need to include master and web db settings in CD? Or just Web settings in CD.&lt;/strong&gt;&#xA;Only the &lt;code&gt;web&lt;/code&gt; db. The master db is not accessible on CD servers (if configured correctly).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Where does sitecore stores the cache data for (item cache, data cache and prefetch cache). Wondering if any of them are stored in physical file.&lt;/strong&gt;&#xA;They are stored in-memory on the instance, not on disk.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;I'm using out of box cache page and also sitecore cache admin module. The page shows prefetch cache data for both web and master. Wondering how this tool gets the data for web db prefetch for scenario where there are multiple CDs. Or is it just getting from CMS server?&lt;/strong&gt;&#xA;This is configured in the &lt;code&gt;/App_Config/Prefetch/*.config&lt;/code&gt; files. There is one file for each database and one shared file.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here are some helpful resources on prefetch cache:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.cmsbestpractices.com/friday-sitecore-best-practice-configure-prefetch-cache/&quot; rel=&quot;noreferrer&quot;&gt;https://www.cmsbestpractices.com/friday-sitecore-best-practice-configure-prefetch-cache/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_a4.pdf&lt;/a&gt; (old PDF, but still valid for prefetch cache)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="239" LastActivityDate="2016-10-24T06:24:40.127" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="1731" PostTypeId="2" ParentId="1728" CreationDate="2016-10-24T06:29:59.800" Score="9" Body="&lt;p&gt;Your website is not set up correctly in the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; config node of the web.config  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Try to load &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; and search for &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Within &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; look for the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; node that defines your website (this will be the one with the &lt;code&gt;rootPath&lt;/code&gt; attribute pointing to the Sitecore content root item for your site)&lt;/li&gt;&#xA;&lt;li&gt;Verify the &lt;code&gt;hostName&lt;/code&gt; attribute. This should be either the host name you are using to access your website or not defined (in that case it's a wildcard and will listen to all host names). Note that if it's a wildcard, you should set the &lt;code&gt;targetHostName&lt;/code&gt; attribute, otherwise Sitecore doesn't know how to generate links on your site.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If this does not help, you should revise your question and provide us with more details as requested in the comments.&lt;/p&gt;&#xA;" OwnerUserId="239" LastActivityDate="2016-10-24T06:29:59.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1732" PostTypeId="1" AcceptedAnswerId="1733" CreationDate="2016-10-24T08:30:42.253" Score="2" ViewCount="467" Body="&lt;p&gt;Recently I installed the WFFM 8.1 upgrade-3 module in Sitecore (8.1 upgrade-3) on my local machine. When I was trying to open &lt;code&gt;Sitecore/components/website/call to action&lt;/code&gt; it is showing an error like &lt;code&gt;Resource GroupListField is not found Details&lt;/code&gt;.&lt;br&gt;&#xA;How to solve this issue?&#xA; Thanks in Advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xVkYy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xVkYy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="239" LastEditDate="2016-10-24T08:38:24.813" LastActivityDate="2019-08-07T17:50:25.293" Title="How to solve this issue (&quot;Resource GroupListField is not found Details&quot;) in wffm?" Tags="|content-editor|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1733" PostTypeId="2" ParentId="1732" CreationDate="2016-10-24T08:37:43.763" Score="1" Body="&lt;p&gt;This error appear when WFFM modules wasn't intalled correctly or some files are missing. In this case GroupListField.xml was missing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't tell you the reason, you need to investigate logs file from the day you intalled the module. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check if the &lt;code&gt;\sitecore\shell\Applications\Modules\Web Forms for Marketers\Controls\constituent\GroupListField.xml&lt;/code&gt; file exists in your Sitecore instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could compare the file in the module package with file from your installation.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2016-10-24T10:02:02.070" LastActivityDate="2016-10-24T10:02:02.070" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1734" PostTypeId="2" ParentId="1701" CreationDate="2016-10-24T08:41:21.713" Score="2" Body="&lt;p&gt;A client (e.g. your browser) can indicate to the webserver the characteristics of the data it will accept back from the webserver. This is done using 'accept headers' of the following types:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Accept&lt;/strong&gt;: The MIME types accepted by the client. For example, a browser may only accept back types of data (HTML files, GIF files etc.) it knows how to process.&lt;/li&gt;&#xA;&lt;li&gt;Accept-Charset, Accept-Encoding, Accept-Language, Accept-Ranges&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If the Web server detects that the data it wants to return is not acceptable to the client, it returns a header containing the 406 error code&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you test with the browser, the accept header has nothing to do with Sitecore. If your accept header only states text/html, it is normal that the data from your controller is giving a 406 because that is not html. The default accept header in my Chrome for example is &lt;code&gt;&quot;text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8&quot;&lt;/code&gt;. With these values I can retrieve data from controllers without problems. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information on 406 can be found &lt;a href=&quot;http://www.checkupdown.com/status/E406.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; - a complete reference to the accept headers &lt;a href=&quot;https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some possible things to do:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;test with another browser&lt;/li&gt;&#xA;&lt;li&gt;check why your browser is sending just &quot;text/html&quot; as accept header and try to change that&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;An overview of what the default accept headers should be can be found &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-24T08:41:21.713" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1735" PostTypeId="1" AcceptedAnswerId="1768" CreationDate="2016-10-24T09:08:52.597" Score="10" ViewCount="524" Body="&lt;p&gt;Has anyone got any ideas on how to customise the “choose data source dialog” / pipelines; so that only certain items (by tag or otherwise) are available as the selectable data source?&lt;/p&gt;&#xA;" OwnerUserId="92" LastActivityDate="2016-10-24T19:07:50.023" Title="Advanced rendering data source criterias" Tags="|experience-editor|presentation|pipelines|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1736" PostTypeId="1" AcceptedAnswerId="1740" CreationDate="2016-10-24T10:15:15.783" Score="3" ViewCount="733" Body="&lt;p&gt;I have the Weblog module installed on my site. I am now on sitecore 8.1 Update 2.&#xA;Rss Feeds used to work well with old versions of sitecore. Not sure why it isn't working now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used the following site to validate my feed and it is giving me the following errors:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;1- This feed is valid, but interoperability with the widest range of&#xA;  feed readers could be improved by implementing the following&#xA;  recommendations. line 1, column 0: Avoid Namespace Prefix: a10 [help]&#xA;  &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;2- line 1, column 14721: Missing atom:link with rel=&quot;self&quot; [help] ...&#xA;  Nov 2014 14:30:02 -0600&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any idea where I can fix those errors in the RSS feed, or should I update something or write a specific class to overwrite the current one?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your reply is kindly appreciated..&#xA;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="838" LastEditorUserId="237" LastEditDate="2016-10-24T10:21:45.657" LastActivityDate="2016-10-24T22:17:28.600" Title="Rss Feeds - Weblog module - Sitecore 8.1 Update 2" Tags="|rss|weblog|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1737" PostTypeId="1" CreationDate="2016-10-24T10:19:39.177" Score="22" ViewCount="24238" Body="&lt;p&gt;I'm about to start on a Sitecore project in 6-8 weeks time. I have extensive ASP.NET MVC experience (4 years) and know the ins-and-outs of web development fairly well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am scheduled for official Sitecore developer training in 4 weeks. I would like to prepare myself further by learning as much as I can from online, freely available resources.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am aware of the &lt;a href=&quot;https://community.sitecore.net/technical_blogs/&quot;&gt;extensive blogging community that exists&lt;/a&gt;, but most of these blogs are focused at developers with some level of expertise. At this point I am more after resources that focus on learning and training from ground up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where can I go to find information like this?  Any community resources?  E-books?  Webinars?  Youtube tutorials?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also; if anyone can recommend any books I can buy, that would be much appreciated as well.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-11-08T09:31:14.077" LastActivityDate="2023-11-24T01:10:07.283" Title="How can I get started learning Sitecore?" Tags="|community|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1738" PostTypeId="2" ParentId="1737" CreationDate="2016-10-24T10:20:11.337" Score="56" Body="&lt;p&gt;&lt;em&gt;Answering as a community edit; hoping everyone will get engaged in compiling this list.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h1&gt;Trials&lt;/h1&gt;&#xA;&lt;p&gt;Do you want to know more about how to build with Sitecore products? Learn more about the trials Sitecore offers for some of the products in our composable DXP.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://developers.sitecore.com/trials&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.sitecore.com/trials&lt;/a&gt;&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h1&gt;Online Sitecore Learning Resources&lt;/h1&gt;&#xA;&lt;h2&gt;Online Training/E-Learning&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Official Sitecore learning website&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://learning.sitecore.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Learning@Sitecore (learning.sitecore.com)&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Official Sitecore developer documentation&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers&quot; rel=&quot;nofollow noreferrer&quot;&gt;Developers documentation (doc.sitecore.com)&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://helix.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix documentation (helix.sitecore.net)&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.com/docs&quot; rel=&quot;nofollow noreferrer&quot;&gt;JSS Getting Started (jss.sitecore.com)&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;Knowledge Base (kb.sitecore.net)&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/knowledge-center/getting-started&quot; rel=&quot;nofollow noreferrer&quot;&gt;Knowledge Center - Getting Started (sitecore.com)&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://learning.sitecore.com/pathway/boxever-training&quot; rel=&quot;nofollow noreferrer&quot;&gt;Boxever training is free for everyone&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://www.ordercloud.io/learn/ordercloud-basics/architecture&quot; rel=&quot;nofollow noreferrer&quot;&gt;Ordercloud (Four51) you can create a free account and start learning&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;The Unofficial Sitecore 8 Training Webinar Series&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.akshaysura.com/2016/02/03/unofficial-sitecore-8-training-webinar-series-full-curriculum/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.akshaysura.com/2016/02/03/unofficial-sitecore-8-training-webinar-series-full-curriculum/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Coordinator: &lt;a href=&quot;https://twitter.com/akshaysura13&quot; rel=&quot;nofollow noreferrer&quot;&gt;@akshaysura13&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore Community Docs&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Documentation and guides written by the community for developers. This is an open source initiative that the community can edit and contribute back to.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://sitecore-community.github.io/docs/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;The Sitecore Link Project&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;This is the most complete collection of Sitecore references ever to exist, verified and classified for your convenience. It also has a section for the beginners for easier start.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://sitecore.link/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.link/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;You may also subscribe to 300+ RSS feeds of all Sitecore bloggers: &lt;a href=&quot;http://sitecore.link/rss&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.link/rss&lt;/a&gt; so that you'll get updated with dozens of new posts daily.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Learn Sitecore CMS - Jon D Jones&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Tutorials, developers guide, content editors guide, and free video tutorials.&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://www.jondjones.com/learn-sitecore-cms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.jondjones.com/learn-sitecore-cms/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;YouTube&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore's Official Education Channel - Discover Sitecore&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/c/DiscoverSitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/c/DiscoverSitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore Training&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/user/sitecoreceptraining&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/user/sitecoreceptraining&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Friday Sitecore Best Practice&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/user/vasyafomichev&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/user/vasyafomichev&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Thomas Eldblom's Channel - All things Habitat&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCWHYrLQQIx9vaXcqF5UV9Wg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/channel/UCWHYrLQQIx9vaXcqF5UV9Wg&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Dylan Young's Channel - Hands on Sitecore training&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/channel/UC5krmrALirwZibfW9-c2JXw&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/channel/UC5krmrALirwZibfW9-c2JXw&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Short unofficial, ad-hoc, Sitecore SXA tutorials&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCn_P819AlbNv_maQCqrKp4g&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/channel/UCn_P819AlbNv_maQCqrKp4g&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Gopikrishna Gujjula's channel&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/c/GopiGujjula&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/c/GopiGujjula&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore User Group channels&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCn13gdm520Id_8o2rwyOkfQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore User Group Bangalore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;E-books&lt;/h2&gt;&#xA;&lt;p&gt;(note: Don't edit in copyright infringing links to e.g. John West's book here)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Quick-Start Guide to Sitecore DMS success&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://www.awareweb.com/awareblog/11-2-12-dmsebook&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.awareweb.com/awareblog/11-2-12-dmsebook&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sitecore XP: Valtech Insights&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://go.valtech.com/Sitecore-XP-Valtech-Insights.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://go.valtech.com/Sitecore-XP-Valtech-Insights.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;Books / Recommended Reading&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;A List of Books That Every Sitecore Developer Should Read&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;A comprehensive listing by Mike Reynolds&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/mike_i_reynolds&quot; rel=&quot;nofollow noreferrer&quot;&gt;@mike_i_reynolds&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;https://sitecorejunkie.com/2015/06/22/a-list-of-books-that-every-sitecore-developer-should-read/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2015/06/22/a-list-of-books-that-every-sitecore-developer-should-read/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore Developer Bookshelf 2018&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;A comprehensive listing by Peter Prochazka&lt;/li&gt;&#xA;&lt;li&gt;Twitter: &lt;a href=&quot;https://twitter.com/chorpo&quot; rel=&quot;nofollow noreferrer&quot;&gt;@chorpo&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Url: &lt;a href=&quot;http://tothecore.sk/2018/07/23/sitecore-developer-bookshelf-2018&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/07/23/sitecore-developer-bookshelf-2018&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Professional Sitecore 8 Development: A Complete Guide to Solutions and Best Practices&lt;/strong&gt;&#xA;This book is targeted towards both the beginning Sitecore developer with no experience as well as those seasoned Sitecore developers looking to improve the stability, maintainability and quality of their Sitecore solutions.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://rads.stackoverflow.com/amzn/click/com/1484222911&quot; rel=&quot;nofollow noreferrer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.amazon.com/Professional-Sitecore-Development-Solutions-Practices/dp/1484222911&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Practical Sitecore 8 Configuration and Strategy: A User Guide for Sitecore's Content and Marketing Capabilities&lt;/strong&gt;&#xA;This book is targeted towards the marketer looking to get the most out of their investment in the Sitecore platform.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://rads.stackoverflow.com/amzn/click/com/1484212371&quot; rel=&quot;nofollow noreferrer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.amazon.com/Practical-Sitecore-Configuration-Strategy-Capabilities/dp/1484212371&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore Cookbook for Developers: Over 70 incredibly effective and practical recipes to get you up and running with Sitecore development&lt;/strong&gt;&#xA;This book is targeted towards beginner Sitecore developers as well as experienced who want to explore core Sitecore architecture for site development, doing customizations, improving performance, and scalability.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://rads.stackoverflow.com/amzn/click/com/1784396524&quot; rel=&quot;nofollow noreferrer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.amazon.com/Sitecore-Cookbook-Developers-Yogesh-Patel/dp/1784396524/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;Ask questions and Connect with Experts&lt;/h2&gt;&#xA;&lt;p&gt;Obviously, Sitecore Stack Exchange has great materials for getting answers to your questions. Here are some other ways to ask your questions:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Community Forums: &lt;a href=&quot;https://community.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;community.sitecore.net&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Slack chat: &lt;a href=&quot;https://sitecore.chat&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore.chat&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Telegram: &lt;a href=&quot;https://t.me/SitecoreTelegram&quot; rel=&quot;nofollow noreferrer&quot;&gt;t.me/SitecoreTelegram&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h2&gt;Get Sandboxing&lt;/h2&gt;&#xA;&lt;p&gt;Above all, only reading or going through blog or articles won't do it all. Start with a Sitecore Sandbox application and for any of the Sitecore components or modules...integrate them - break them and fix them until you get it right. That has helped me always. I am big fan of Sandbox Apps.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="312" LastEditDate="2023-11-24T01:10:07.283" LastActivityDate="2023-11-24T01:10:07.283" CommentCount="1" CommunityOwnedDate="2016-10-24T10:20:11.337" ContentLicense="CC BY-SA 4.0" />
  <row Id="1739" PostTypeId="1" AcceptedAnswerId="2013" CreationDate="2016-10-24T10:30:07.603" Score="11" ViewCount="22286" Body="&lt;p&gt;I am trying to resolve an implementation via constructor injection, however keep getting the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;An error occurred when trying to create a controller of type 'ApiController'. Make sure that the controller has a parameterless public constructor.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We have a mix application which is running sitecore MVC and WebApi side by side in 8.2.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;MVC resolves dependencies just fine&lt;/li&gt;&#xA;&lt;li&gt;WebApi fails to do so however&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;An example of our &lt;code&gt;InitializeAutofacControllerFactory&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public virtual void Process(PipelineArgs args)&#xA;{&#xA;    var builder = new ContainerBuilder();&#xA;&#xA;    // Register All Controllers In The Current Scope, for WebApi&#xA;    builder.RegisterApiControllers(AppDomain.CurrentDomain.GetAssemblies());&#xA;&#xA;    // Register Modules&#xA;    builder.RegisterModule&amp;lt;ServicesModule&amp;gt;();&#xA;&#xA;    // Register all modules in the data access project&#xA;    builder.RegisterAssemblyModules(typeof(DataAccess.Installer).Assembly);&#xA;&#xA;    // Build The Container&#xA;    var container = builder.Build();&#xA;&#xA;    GlobalConfiguration.Configuration.DependencyResolver = new AutofacWebApiDependencyResolver(container);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;WebApi controller, where resolution is failing:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class ApiController : ServicesApiController&#xA;{&#xA;    private readonly IEntityAccess _entityAccess;&#xA;&#xA;    public ApiController(IEntityAccess entityAccess)&#xA;    {&#xA;        _entityAccess = entityAccess;&#xA;    }&#xA;&#xA;    [HttpGet]&#xA;    public IHttpActionResult Create(string title = null, string description = null)&#xA;    {&#xA;        // we do some stuff here&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Stacktrace&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;{&#xA; &quot;Message&quot;:&quot;An error has occurred.&quot;,&#xA; &quot;ExceptionMessage&quot;:&#xA; &quot;An error occurred when trying to create a controller of type 'ApiController'. Make sure that the controller has a parameterless public constructor.&quot;,&#xA;&#xA; &quot;ExceptionType&quot;:&quot;System.InvalidOperationException&quot;,&#xA; &quot;StackTrace&quot;:&#xA; &quot;at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)\r\n   at System.Web.Http.Controllers.HttpControllerDescriptor.CreateController(HttpRequestMessage request)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext()&quot;,&#xA; &quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&#xA;&#xA; &quot;ExceptionMessage&quot;:&#xA; &quot;Type 'NameSpace.ApiController' does not have a default constructor&quot;,&#xA; &quot;ExceptionType&quot;:&quot;System.ArgumentException&quot;,&quot;StackTrace&quot;:&#xA; &quot;   at System.Linq.Expressions.Expression.New(Type type)\r\n   at System.Web.Http.Internal.TypeActivator.Create[TBase](Type instanceType)\r\n   at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.GetInstanceOrActivator(HttpRequestMessage request, Type controllerType, Func`1&amp;amp; activator)\r\n   at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)&quot;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We've been following this implementation: &lt;a href=&quot;https://github.com/HedgehogDevelopment/sitecore-chained-dependency-resolver/tree/feature-autofac&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/HedgehogDevelopment/sitecore-chained-dependency-resolver/tree/feature-autofac&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Patch&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;     &#xA;        &amp;lt;processor type=&quot; NameSpace.Ioc.Pipelines.InitializeAutofacControllerFactory, NameSpace.Ioc&quot;&#xA;        patch:before=&quot;*[@type='Sitecore.Mvc.Pipelines.Loader.InitializeControllerFactory, Sitecore.Mvc']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OWIN&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure if this is causing it but it has also come to my attention, that we have OWIN setup following similar approach found on: &lt;a href=&quot;https://blog.baslijten.com/how-to-add-federated-authentication-with-sitecore-and-owin/&quot; rel=&quot;noreferrer&quot;&gt;https://blog.baslijten.com/how-to-add-federated-authentication-with-sitecore-and-owin/&lt;/a&gt; to set up OWIN.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trying to get an instance of IAppBuilder in the sitecore pipeline now to make the calls AutoFac recommend for using AutoFac with Owin and WebApi.&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="10" LastEditDate="2016-10-24T18:38:31.567" LastActivityDate="2016-10-31T14:35:39.387" Title="WebApi failing to resolve dependencies" Tags="|webapi|" AnswerCount="4" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1740" PostTypeId="2" ParentId="1736" CreationDate="2016-10-24T10:49:41.650" Score="3" Body="&lt;p&gt;WeBlog utilize standard RSS feed functionality delivered by Sitecore.&lt;/p&gt;&#xA;&lt;p&gt;Take a look at the &lt;strong&gt;RSS feed item&lt;/strong&gt; and its template: &lt;code&gt;/sitecore/templates/System/Feeds/RSS Feed&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;RSS Feed template&lt;/strong&gt; uses default &lt;strong&gt;Feed Delivery Layout&lt;/strong&gt; (&lt;code&gt;/sitecore/layout/Layouts/System/Feed Delivery Layout&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;p&gt;You can find it in your website root: &lt;code&gt;/sitecore/shell/Applications/Feeds/Layouts/FeedDeliveryLayout.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;When you open it there is nothing special there:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;%@ Page Language=&amp;quot;c#&amp;quot; Inherits=&amp;quot;Sitecore.Syndication.Web.FeedDeliveryLayout, Sitecore.Kernel&amp;quot; CodePage=&amp;quot;65001&amp;quot; %&amp;gt;&#xA;&amp;lt;meta http-equiv=&amp;quot;X-Frame-Options&amp;quot; content=&amp;quot;SAMEORIGIN&amp;quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;If you feel you need to overwrite something this is the way to go.&lt;/p&gt;&#xA;&lt;p&gt;You can write your own implementation of&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Syndication.Web.FeedDeliveryLayout, Sitecore.Kernel&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;class and edit the &lt;strong&gt;FeedDeliveryLayout.aspx&lt;/strong&gt; file or create your custom Layout with your own implementation which is more elegant.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;: &lt;em&gt;I think you are using wrong validator&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Are you sure that content returned by &lt;strong&gt;RSS Layout&lt;/strong&gt; is different than previously?&lt;/p&gt;&#xA;&lt;p&gt;I don't think that anything changed in Sitecore code. I compared code of following classes, used to generate RSS (&lt;code&gt;8.1.0.0&lt;/code&gt; vs &lt;code&gt;6.0.0.0&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;FeedDeliveryLayout.cs&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;FeedManager.cs&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;No changes.&lt;/p&gt;&#xA;&lt;p&gt;I think that right now your are trying to validate your feed as &lt;strong&gt;Atom feed&lt;/strong&gt;. (&lt;a href=&quot;https://en.wikipedia.org/wiki/Atom_(standard)&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Atom&lt;/strong&gt;&lt;/a&gt; feed and &lt;a href=&quot;https://en.wikipedia.org/wiki/RSS&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;RSS&lt;/strong&gt;&lt;/a&gt; feed are different formats).&lt;/p&gt;&#xA;&lt;p&gt;Sitecore code:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static string Render(SyndicationFeed feed)&#xA;{&#xA;    Assert.IsNotNull((object) feed, &amp;quot;feed&amp;quot;);&#xA;    StringWriter stringWriter = new StringWriter();&#xA;    XmlWriter writer = (XmlWriter) new XmlTextWriter((TextWriter) stringWriter);&#xA;    feed.GetRss20Formatter().WriteTo(writer);&#xA;    return stringWriter.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;As you can see Sitecore use:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;GetRss20Formatter&lt;/code&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Rss20FeedFormatter Class&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;A class that serializes a SyndicationFeed instance to and from RSS 2.0 format.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Validation &lt;strong&gt;warnings&lt;/strong&gt; are for Atom.&lt;/p&gt;&#xA;&lt;p&gt;You can find out more here:&#xA;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.servicemodel.syndication.syndicationfeed.aspx#Examples&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/system.servicemodel.syndication.syndicationfeed.aspx#Examples&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you really want to switch to &lt;strong&gt;Atom&lt;/strong&gt; format, then writing your own Feed Layout is the only one way&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-24T22:17:28.600" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1742" PostTypeId="2" ParentId="1727" CreationDate="2016-10-24T11:09:16.640" Score="4" Body="&lt;p&gt;When using suggestions, you must also use the &quot;Coveo Search Resources&quot;  component. The &quot;Coveo Search Box Resources&quot; component is too minimal to support suggestions. &lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2016-10-24T11:09:16.640" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1743" PostTypeId="1" CreationDate="2016-10-24T11:14:58.400" Score="6" ViewCount="1154" Body="&lt;p&gt;We have a requirement for setting up a dedicated CM server (CM2) that will handle scheduled publishes. Other publishing jobs the users are doing should be handled on the default CM server (CM1). How can we approach for this?&lt;/p&gt;&#xA;" OwnerUserId="950" LastEditorUserId="104" LastEditDate="2016-10-24T12:22:16.680" LastActivityDate="2016-10-25T06:18:27.117" Title="Dedicated CM server for scheduled publish" Tags="|best-practices|publishing|infrastructure|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1744" PostTypeId="2" ParentId="1743" CreationDate="2016-10-24T11:22:56.777" Score="5" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore Publishing Instance is nothing but a clone instance of Sitecore CM environment.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;On CM server, open \Website\App_Config\Include\Scalability.config file. Update Publish Instance Name as below.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;    &amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;PI-Sitecore&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the value is empty Sitecore will use the instance name by combining the machine name and the IIS Site name. So for the IIS Site Sitecore on the server PI the instance name would become PI-Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just to remember, do not configure above setting on Publish Instance. &#xA;Note: Sitecore allows to add only one publish instance name in this setting.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable EventQueue on both CM and PublishInstance servers. To enable EventQueues, from web.config, find EnableEventQueues setting. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set its value to true. This setting can also be set from \App_Config\Include\ScalabilitySettings.config, which will be given more precedence over web.config settings.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;EnableEventQueues&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;   &#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Disable any scheduled tasks or agents running if not required.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More information you can find &lt;a href=&quot;http://sitecoreblog.patelyogesh.in/2013/10/sitecore-publish-instance.html&quot;&gt;here&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="237" LastEditDate="2016-10-24T11:32:57.007" LastActivityDate="2016-10-24T11:32:57.007" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1745" PostTypeId="1" AcceptedAnswerId="2048" CreationDate="2016-10-24T11:51:57.787" Score="5" ViewCount="1384" Body="&lt;p&gt;When I access Experience Analytics from the Launchpad and click on the goals report, I get a message saying &quot;no data to display&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some searching, it seems that I should deploy marketing definitions (goals) in case I upgraded the site, which is my case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I went to Launchpad -&gt; Control panel -&gt; Analytics -&gt; Deploy Marketing Definitions, then I selected &quot;goals&quot; only and clicked on &quot;Deploy&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is the deployment is still working for 3 or 4 days now, and I can't see issues in the log files, is there a way to know how much time it will take? or how I can know if something wrong is happening?&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="104" LastEditDate="2016-10-31T21:20:31.977" LastActivityDate="2016-11-01T11:57:07.183" Title="Marketing definition deployment takes forever" Tags="|xdb|experience-analytics|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1746" PostTypeId="1" CreationDate="2016-10-24T11:55:21.503" Score="5" ViewCount="874" Body="&lt;p&gt;Is it possible to set restrictive extranet group permissions on a page-level item, and still have that page render, albeit differently, to users without the correct permission i.e. present a call to action. I don't want to redirect the user away to a login page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore's built in handling of this is fairly black and white. It the content user doesn't have item:read permissions, then you are redirected to the login page, or presented the noaccess.aspx page, if you don't have login url set in the site definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the sake of an example, if the item has the extranet/everyone inheritance permission denied, and a specific extranet role granted. This restricts the page appropriately. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because the access is blocked at the 'page level' no amount of SecurityDisabler() within controllers or renderings makes any difference. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't want to use field level permissions, plus in the current scenario the same templates and fields are used for both public and restricted extranet roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&#xA;I don't want to redirect away from the page due to SEO requirements (nothing will be indexed for this page if it redirects anonymous users away) and from a UX perspective it is a better experience to remain on the page.&lt;/p&gt;&#xA;" OwnerUserId="898" LastEditorUserId="73" LastEditDate="2016-10-29T00:01:03.863" LastActivityDate="2016-10-29T00:01:03.863" Title="Securing a page with item permissions without redirecting the user away" Tags="|security|permissions|user-management|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1747" PostTypeId="2" ParentId="1746" CreationDate="2016-10-24T11:59:09.407" Score="7" Body="&lt;p&gt;You will need to use component personalization for this.&lt;br&gt;&#xA;That means all users get access to the page, but on the personalization rules for components you set exceptions based on security.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8phrf.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8phrf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a walkthrough on how to set up component personalization: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="239" LastActivityDate="2016-10-24T11:59:09.407" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1748" PostTypeId="1" AcceptedAnswerId="1782" CreationDate="2016-10-24T12:08:36.257" Score="10" ViewCount="2693" Body="&lt;p&gt;During an upgrade from 6.x to 8.1 we decided to also move the indexes from Lucene to Solr. We ran into quite some troubles, but that is not the question as those are fixed. The &quot;problem&quot; I'm still having is that an index rebuild for sitecore_web_index or sitecore_master_index is taking 5 to 6 hours (on a dedicated dev server). Maybe that is normal for 1 to 1.5M items.. maybe it will go faster on the prod environment. To get it running, we had to put 14GB of memory into the dev server as the initial 7 was not enough. We also had to increase the timeout on the SolrConnection a lot higher than the default (in the Autofac Solr setup). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We do use the index in code to search items based on path, template and or language but have no customizations to these indexes (we have a few custom indexes for those needs). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering however (this is the actual question) if there is a way to get the indexes rebuild faster. Some config changes to Sitecore or Solr maybe, or .. well anything that might help to reduce the time to rebuild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the CD's I do not need the media items in the indexes and apparently I could disable those (which would help - a lot), but what would the side effects be on the CM? Will image fields still work correctly and will I be able to search for a media item? And how do I disable the media items correctly in a default solr config?&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-10-25T07:38:13.847" LastActivityDate="2016-10-25T07:38:13.847" Title="Configuring master and web index for faster rebuild" Tags="|configuration|solr|indexing|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1749" PostTypeId="1" CreationDate="2016-10-19T14:20:56.357" Score="8" ViewCount="4671" Body="&lt;p&gt;We have 3 (near identical) Sitecore sites on a development server and 2 out of the 3 fail to resize the images using the inbuilt Sitecore query string parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example URL:&lt;/strong&gt; &lt;code&gt;/~/media/59274CA8941B4540B7B1A6C0FEAE9F84.ashx?w=300&amp;amp;h=30&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The media image is returned but it fails to resize the image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far I've tried file permissions, &lt;code&gt;config diff (web.config and showconfig.aspx)&lt;/code&gt; but nothing obvious stands out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm thinking its something in IIS but cannot think what. &lt;/p&gt;&#xA;" OwnerDisplayName="Steve Brewer" LastEditorUserId="5387" LastEditDate="2019-08-06T13:24:18.823" LastActivityDate="2020-01-08T11:56:41.603" Title="Sitecore media ashx not resizing the image (version 7.2)" Tags="|best-practices|presentation|media-library|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="1750" PostTypeId="2" ParentId="1749" CreationDate="2016-10-20T04:25:58.557" Score="16" Body="&lt;p&gt;As of Sitecore 7.5+ (applies to the latest 7.2 versions as well), Sitecore introduced a media request protection for image resizing (to make sure an attacker can't overload your server with image resize requests) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case you have two options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a media hash to the resizing requests, like that:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl (&#xA;                           Sitecore.Resources.Media.MediaManager.GetMediaUrl(&#xA;                               myMediaItem,&#xA;                               new MediaUrlOptions()&#xA;                               {&#xA;                                   Language = Context.Language,&#xA;                                   Width = 100,&#xA;                                   Height = 75&#xA;                               }))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Disable media request protection (not recommended)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can find more details in this blog post:&#xA;&lt;a href=&quot;http://kirkegaard-at.blogspot.sg/2015/06/media-hash-and-resizing.html&quot; rel=&quot;noreferrer&quot;&gt;http://kirkegaard-at.blogspot.sg/2015/06/media-hash-and-resizing.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" OwnerDisplayName="adb" LastEditorUserId="73" LastEditDate="2016-10-26T01:55:20.123" LastActivityDate="2016-10-26T01:55:20.123" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1751" PostTypeId="1" AcceptedAnswerId="1806" CreationDate="2016-10-24T13:01:28.203" Score="6" ViewCount="346" Body="&lt;p&gt;I am running a script in Sitecore powershell to find items bases on a regular expression on a custom field ('Subkey'). This script sometimes shows results and sometimes shows 'No items available'. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is this not consistent? And how is this possible? I am running this within the Sitecore ISE&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Write-Host &quot;Begin script&quot;&#xA;&#xA;function Get-InvalidKeysAndSubkeys {&#xA;   #param([string]$label)&#xA;   Get-ChildItem  -Recurse | Where-Object { &#xA;    (&#xA;     ((![string]::IsNullOrEmpty($_.Subkey)) -and ($_.Subkey -match &quot;[^a-zA-Z0-9$ \-_\.!'()]&quot;))       &#xA;     )&#xA;    }&#xA;  }&#xA;$x = Get-InvalidKeysAndSubkeys&#xA;$x | Show-ListView -Property Name,Key,SubKey,Id,ItemPath&#xA;Write-Host &quot;End script&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="924" LastEditorUserId="237" LastEditDate="2016-10-24T13:04:15.660" LastActivityDate="2016-10-25T14:27:40.607" Title="Sitecore ISE powershell inconsistent results" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1752" PostTypeId="2" ParentId="1751" CreationDate="2016-10-24T13:07:32.017" Score="5" Body="&lt;p&gt;You are missing one important parameter (&lt;code&gt;-Path&lt;/code&gt;) when invoking &lt;code&gt;Get-ChildItem&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-ChildItem  -Recurse&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Fix this with something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-ChildItem -Path &quot;/sitecore/content&quot; -Recurse&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you do not define &lt;code&gt;-Path&lt;/code&gt; parameter your context item (start item for getting children) will be taken from item defined here&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8jGw8.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8jGw8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-10-24T13:07:32.017" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1754" PostTypeId="2" ParentId="1743" CreationDate="2016-10-24T13:22:45.187" Score="3" Body="&lt;p&gt;If you have setup 2 CM servers, both will be able to publish. So you need to make sure that they only publish their own jobs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As SitecoreClimber mentioned, you can use the &lt;code&gt;Publishing.PublishingInstance&lt;/code&gt; setting for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at the &lt;code&gt;ScaleabilitySettings.config.example&lt;/code&gt; file included in your Sitecore installation it says this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--  PUBLISHING INSTANCE&#xA;      Assigns the instance name of dedicated Sitecore installation for publishing operations.&#xA;      When empty, all publishing operations are performed on the local installation of Sitecore.&#xA;      Default vaue: (empty)&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So this means that if you only let your content editors log into &lt;code&gt;CM1&lt;/code&gt;, any publish job they run will execute on &lt;code&gt;CM1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you can simple setup a scheduled job to run publishes on &lt;code&gt;CM2&lt;/code&gt;. All jobs that run in the scheduled task on &lt;code&gt;CM2&lt;/code&gt; will execute on &lt;code&gt;CM2&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to make sure that &lt;em&gt;only&lt;/em&gt; &lt;code&gt;CM2&lt;/code&gt; is setup to run the scheduled task that kicks off the scheduled publish.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-24T13:22:45.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1755" PostTypeId="1" CreationDate="2016-10-24T13:24:42.633" Score="6" ViewCount="1089" Body="&lt;p&gt;For example Google Analytics, Adobe Analytics or any other data to make a consolidated data report from Sitecore xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it is feasible, is there any guide on how to feed in data in real time or automatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="722" LastActivityDate="2016-10-24T13:52:38.303" Title="Can we feed external data to xDB?" Tags="|xdb|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1757" PostTypeId="2" ParentId="1755" CreationDate="2016-10-24T13:33:48.513" Score="5" Body="&lt;p&gt;Sitecore has released the Data Exchange Framework. This tool allows you to sync content from third party application. Example:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Read contacts from a CRM and create contacts in xDB&lt;/li&gt;&#xA;&lt;li&gt;Update a contact in CRM using information from a contact in xDB&lt;/li&gt;&#xA;&lt;li&gt;Create items in Sitecore that represent products in a catalog&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So, you can easily use this tool to import your external data to your xDB. You only have to develop the different logic that requires to translate the data from the third party to the template of your new instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the link where you can have the 2 released version:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;V1.0: &lt;a href=&quot;https://dev.sitecore.net/en/Downloads/Data_Exchange_Framework/1x/Data_Exchange_Framework_10.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/en/Downloads/Data_Exchange_Framework/1x/Data_Exchange_Framework_10.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;V1.1: &lt;a href=&quot;https://dev.sitecore.net/en/Downloads/Data_Exchange_Framework/1x/Data_Exchange_Framework_11.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/en/Downloads/Data_Exchange_Framework/1x/Data_Exchange_Framework_11.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the links, Sitecore has already specified the released note, required documentation about the API and so on.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2016-10-24T13:33:48.513" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1758" PostTypeId="1" AcceptedAnswerId="1771" CreationDate="2016-10-24T13:33:54.870" Score="6" ViewCount="1148" Body="&lt;p&gt;I'm using &lt;code&gt;ISitecoreService (Glass.Sitecore.Mapper, Version=2.0.11.0)&lt;/code&gt; to save a glass item defined like this in Sitecore.NET 6.6.0 (rev. 130111):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[SitecoreClass(false,&quot;{3ACCADE1-C482-422C-9A22-3479C661B6AD}&quot;)]&#xA;public partial interface IAnnouncementInfoItem:ISitecoreItem        &#xA;{   &#xA;    [SitecoreField(FieldName = &quot;Announcement Text&quot;,CodeFirst = false)]&#xA;    string AnnouncementText { get; set; }   &#xA;&#xA;    [SitecoreField(FieldName = &quot;Working Groups&quot;,CodeFirst = false)]&#xA;    IEnumerable&amp;lt;Guid&amp;gt; WorkingGroups { get; set; }       &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm running into an issue with the MultiList (mapped as &lt;code&gt;IEnumerable&amp;lt;Guid&amp;gt;&lt;/code&gt;) where each value shows up as &quot;Not in List&quot; even though the value is clearly in the source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Cjce9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cjce9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Guids match up correctly with the items defined in the source. It even finds the names of the values correctly. The only difference I have found between the items saved through &lt;code&gt;SitecoreService&lt;/code&gt; and those saved from Content editor is that the Guids are saved as lowercase values when saved from SitecoreService.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/XuCaG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XuCaG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone ran into this issue before? It seems like there is some case sensitivity happening but not sure if this is a bug in Sitecore, GlassMapper or something else entirely. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When saving the item I'm passing in some text and  a list of Guids:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void SaveAnnouncement(Guid announcementId, string text, IList&amp;lt;Guid&amp;gt; workingGroupIds)&#xA;    {&#xA;        var announcementItem =&#xA;            _srcItem.AnnouncementsFolderItem.GetChildrenOfType&amp;lt;IAnnouncementItem&amp;gt;().FirstOrDefault(c =&amp;gt; c.Id == announcementId);&#xA;        announcementItem.AnnouncementText = text;&#xA;        announcementItem.Name = ItemUtil.ProposeValidItemName(text);&#xA;        announcementItem.WorkingGroups = workingGroupIds ?? new List&amp;lt;Guid&amp;gt;();&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            //wrapper on SitecoreServiceMaster&#xA;            _dependencies.GlassSitecoreServiceManager.Master.Save(item);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="961" LastEditorUserId="10" LastEditDate="2016-10-24T14:30:41.057" LastActivityDate="2016-10-24T15:51:09.920" Title="Glass Sitecore Service save object for multilist resulting in 'Item not in list' warning" Tags="|glass-mapper|sitecore-client|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1759" PostTypeId="2" ParentId="1739" CreationDate="2016-10-24T13:36:02.980" Score="2" Body="&lt;p&gt;There are two typical reasons of such exception - your dependency resolver was overwritten by something (for that case you can try to call the processor a bit later) or configuration does not know about your controllers because auto assembly load did not get you dll (try &lt;code&gt;BuildManager.GetReferencedAssemblies()&lt;/code&gt;)&lt;/p&gt;&#xA;" OwnerUserId="392" LastActivityDate="2016-10-24T13:36:02.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1760" PostTypeId="2" ParentId="1755" CreationDate="2016-10-24T13:52:38.303" Score="6" Body="&lt;p&gt;I think that what you want here is not actually feed data into xDB, but rather export data from xDB, Google Analytics and whatever other analytics you have, and combine it using an external BI tool so it can be analyzed as one set of data.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming your other analytics tools already have options for exporting the data, you only need to export the xDB data.&lt;br&gt;&#xA;This can be achieved with the upcoming xConnect API, which unfortunately is not yet available at this point (not until Sitecore 8.3).&lt;br&gt;&#xA;It will provide you with an oData endpoint that can be used in tools like Tableau and Power BI where you can analyse them.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can't wait until 8.3 then there is a another way, although it's much less user-friendly, the Sitecore Experience Extractor: &lt;a href=&quot;https://github.com/Sitecore/experience-extractor&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/experience-extractor&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That tools allows you to extract data from xDB based on certain criteria which you can then load into an external BI tool, together with your other analytics data, in order to analyse it.&lt;/p&gt;&#xA;" OwnerUserId="239" LastActivityDate="2016-10-24T13:52:38.303" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1761" PostTypeId="1" AcceptedAnswerId="1793" CreationDate="2016-10-24T14:03:53.140" Score="8" ViewCount="1358" Body="&lt;p&gt;In this Sitecore on Azure Migration white paper&#xA;&lt;a href=&quot;http://www.slideshare.net/Jerrynott/azuremigrationwp004&quot; rel=&quot;noreferrer&quot;&gt;http://www.slideshare.net/Jerrynott/azuremigrationwp004&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It mentions on Page 17&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;It should be remembered that general database maintenance is still required.&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Index rebuilds and defragmentation are a standard maintenance task&#xA;  that must be carried out on any database, even Azure SQL databases, as&#xA;  the platform cannot determine whether these tasks are relevant for a&#xA;  given implementation automatically. This is a common cause of Sitecore&#xA;  performance problems. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Create stored procedures to perform routine&#xA;  index maintenance, and use the Azure Scheduling and Automation&#xA;  platform to execute these procedures regularly. Aside from improving&#xA;  database performance, reduced fragmentation also reduces the overall&#xA;  space of the database and therefore reduces the cost.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is this still needed in the latest version of Azure SQL (PAAS)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And are there any examples of this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also found this quote&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://mhwelander.net/2014/09/23/sitecore-azure-for-beginners-part-1-what-is-microsoft-azure/&quot; rel=&quot;noreferrer&quot;&gt;https://mhwelander.net/2014/09/23/sitecore-azure-for-beginners-part-1-what-is-microsoft-azure/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Make sure you understand the limitations of the services that the Sitecore Azure module relies on – for example, SQL Azure has limits on transaction log size, which becomes an problem when attempting to rebuild heavily fragmented indexes.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And am I right thinking that you shouldn't add any custom indexes to a sitecore database, even if Azure SQL recommends for an index to be added? (As these changes won't be supported by Sitecore)&lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2016-10-25T11:39:06.430" Title="Sitecore Azure SQL database maintenance" Tags="|sql-database|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1762" PostTypeId="1" CreationDate="2016-10-24T14:09:14.063" Score="9" ViewCount="3631" Body="&lt;p&gt;We have a site that loads a fair deal of data via web api from inside our own project and have stumbled upon some odd behavior regarding dictionaries. It seems that it more or less randomly succeeds in getting the phrase from the dictionary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One example is a product listing page that fetches &quot;in stock&quot; and &quot;out of stock&quot; dictionaries along with other product information. &#xA;Loading the page for the first time one product would get the &quot;in stock&quot; key instead of the phrase while the rest gets the correct phrase for the same key, reloading the page and a completely random product gets the key and not the phrase while the rest works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the method we are using: Sitecore.Globalization.Translate.Text(&quot;KEY&quot;);&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have tried getting the dictionaries from both static and non-static classes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SC version we are using is 8.1 (rev. 160302)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any tips would be greatly appreciated. This occurs in multiple dev environment as well as on a test server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="962" LastEditorUserId="423" LastEditDate="2017-08-07T19:36:44.580" LastActivityDate="2018-11-26T10:07:54.070" Title="Dictionary, getting key instead of phrase randomly" Tags="|dictionary|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1763" PostTypeId="2" ParentId="1762" CreationDate="2016-10-24T14:14:42.993" Score="7" Body="&lt;p&gt;I have this issue on Sitecore 8.1 Initial Release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix it you need to add on &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt; event a new handler. This is the class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; public class DictionaryCacheClearer&#xA; {&#xA;   /// &amp;lt;summary&amp;gt;&#xA;   /// Clears the whole dictionary domain cache.&#xA;  /// &amp;lt;/summary&amp;gt;&#xA;  /// &amp;lt;param name=&quot;sender&quot;&amp;gt;The sender.&amp;lt;/param&amp;gt;&#xA;  /// &amp;lt;param name=&quot;args&quot;&amp;gt;The &amp;lt;see cref=&quot;EventArgs&quot;/&amp;gt; instance containing the event data.&amp;lt;/param&amp;gt;&#xA;   public void ClearCache(object sender, EventArgs args)&#xA;   {&#xA;     Translate.ResetCache();&#xA;     Log.Info(&quot;Dictionary cleared&quot;, this);&#xA;    }&#xA;   } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt; events you will have:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;     &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;       &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;       &amp;lt;site s=&quot;1&quot;&amp;gt;YourSite&amp;lt;/site&amp;gt;&#xA;       &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;&amp;lt;handler type=&quot;YourNameSpace.DictionaryCacheClearer, YourAssembly&quot; method=&quot;ClearCache&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&#xA;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;   &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;     &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site s=&quot;1&quot;&amp;gt;YourSite&amp;lt;/site&amp;gt;&#xA;     &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;    &amp;lt;handler type=&quot;YourNameSpace.DictionaryCacheClearer, YourAssembly&quot; method=&quot;ClearCache&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other fix you find it here: &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/173&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/173&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="10" LastEditDate="2016-10-24T14:16:28.083" LastActivityDate="2016-10-24T14:16:28.083" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1764" PostTypeId="1" AcceptedAnswerId="1783" CreationDate="2016-10-24T14:19:22.590" Score="8" ViewCount="1763" Body="&lt;p&gt;Experience editor from content tree works fine, i.e. link:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://[myhostname]/?sc_mode=edit&amp;amp;sc_itemid=%7bA072B881-5A9D-4288-A4E1-4F64CD7CFDA3%7d&amp;amp;sc_version=1&amp;amp;sc_lang=en&amp;amp;sc_site=[mysite]&quot; rel=&quot;nofollow&quot;&gt;http://[myhostname]/?sc_mode=edit&amp;amp;sc_itemid=%7bA072B881-5A9D-4288-A4E1-4F64CD7CFDA3%7d&amp;amp;sc_version=1&amp;amp;sc_lang=en&amp;amp;sc_site=[mysite]&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Experience editor button form LaunchPad does not work (getting &lt;strong&gt;&quot;The requested document was not found&quot;&lt;/strong&gt; error) I.e. link &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://[myhostname]/?sc_mode=edit&amp;amp;sc_resolvelanguage=1&quot; rel=&quot;nofollow&quot;&gt;http://[myhostname]/?sc_mode=edit&amp;amp;sc_resolvelanguage=1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If i remove &lt;strong&gt;&lt;em&gt;&amp;amp;sc_resolvelanguage=1&lt;/em&gt;&lt;/strong&gt; from params, it works fine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.NET 8.1 (rev. 160519)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Managed to reproduce it on several projects/environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update to share site config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;mysite&quot; &#xA;    enableTracking=&quot;true&quot; &#xA;    language=&quot;en&quot; virtualFolder=&quot;/&quot;&#xA;    physicalFolder=&quot;/&quot; &#xA;    rootPath=&quot;/sitecore/content/mysite&quot; &#xA;    hostName=&quot;[myhostname]&quot; &#xA;    startItem=&quot;/Home&quot; &#xA;    database=&quot;web&quot; &#xA;    domain=&quot;extranet&quot; &#xA;    allowDebug=&quot;true&quot; &#xA;    cacheHtml=&quot;true&quot; &#xA;    htmlCacheSize=&quot;50MB&quot; &#xA;    registryCacheSize=&quot;0&quot; &#xA;    viewStateCacheSize=&quot;0&quot; &#xA;    xslCacheSize=&quot;25MB&quot; &#xA;    filteredItemsCacheSize=&quot;10MB&quot; &#xA;    enablePreview=&quot;true&quot; &#xA;    enableWebEdit=&quot;true&quot; &#xA;    enableDebugger=&quot;true&quot; &#xA;    disableClientData=&quot;false&quot; &#xA;    cacheRenderingParameters=&quot;true&quot; &#xA;    renderingParametersCacheSize=&quot;10MB&quot; &#xA;    mvcArea=&quot;Public&quot; &#xA;    patch:source=&quot;Z.mysite.SiteDefinition.config&quot;&#xA;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="713" LastEditorUserId="2056" LastEditDate="2018-03-15T09:59:09.820" LastActivityDate="2018-03-15T09:59:09.820" Title="Experience Editor does not work from LaunchPad (if sc_resolvelanguage=1)" Tags="|experience-editor|launchpad|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1765" PostTypeId="1" CreationDate="2016-10-24T14:25:00.047" Score="3" ViewCount="94" Body="&lt;p&gt;Using Sitecore 8.1, we are migrating the site to a different server. During the content freeze there will probably be subscribers and registrations that happen after the database backup and before the database restore. Is it possible to package up the WFFM form captures? I have tested packaging up the forms themselves, but the recorded data is not included. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it's not possible, has anyone solved this in another was aside a second database backup and transfer post launch?&lt;/p&gt;&#xA;" OwnerUserId="433" LastActivityDate="2016-10-24T18:42:13.927" Title="Is it possible to package WFFM form responses?" Tags="|wffm|packages|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1766" PostTypeId="1" AcceptedAnswerId="1769" CreationDate="2016-10-24T14:31:43.437" Score="5" ViewCount="774" Body="&lt;p&gt;My environment scenario is the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Database server&lt;/li&gt;&#xA;&lt;li&gt;CM server with CES 7 (free) installed&lt;/li&gt;&#xA;&lt;li&gt;CD server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I was advised to follow the Coveo scaling guide (&lt;a href=&quot;https://developers.coveo.com/x/3oAkAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;developers.coveo.com/display/public/SitecoreV4/Installing+Coveo+for+Sitecore+in+a+CM+or+CD+Configuration&lt;/a&gt;) for hooking up the CD server such that it doesn't need to be reindexed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, that appears to assume:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) I have a database named &quot;pub&quot; from a Sitecore scaling (which I don't - I use default core, master, web) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) that I have Coveo CES installed on a separate server (I don't but our database server was our QA server and has Sitecore and CES7 on it, but the end goal is to only run the databases there, not Sitecore or Coveo).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So after following the guide as best I can, I have the following issues:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;On CM, if I navigate to [URL]/coveo/rest, I get a 404 error. I looked this issue up and checked what was suggested, but don't see any issues that should be keeping this from working.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;On CD, after I set up the &quot;switch master to web&quot; stuff, I now get a &quot;Precondition failed: The parameter 'p_SearchIndex' must not be null&quot; error when I hit a page with a Sitecore component.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.1 Update 1, with the 222 version of Coveo for Sitecore 4. Any advice on getting my setup tuned properly would be helpful. Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: my CM configs from the Coveo folder are zipped up here: &lt;a href=&quot;https://dl.dropboxusercontent.com/u/1654372/Coveo.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dl.dropboxusercontent.com/u/1654372/Coveo.zip&lt;/a&gt; - and my ShowConfig from my CM is here: &lt;a href=&quot;https://dl.dropboxusercontent.com/u/1654372/ShowConfig.txt&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dl.dropboxusercontent.com/u/1654372/ShowConfig.txt&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="264" LastEditDate="2017-10-02T14:30:03.710" LastActivityDate="2017-10-02T14:30:03.710" Title="Getting Coveo configured properly in a CD/CM server setup" Tags="|coveo|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1767" PostTypeId="2" ParentId="1766" CreationDate="2016-10-24T14:50:53.807" Score="4" Body="&lt;p&gt;Ken, &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You do not need a db names &quot;Pub&quot;, in your case you can substitute &quot;web&quot;. Also this means that you do not need to setup the index for &quot;Pub&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The error on your CM indicates that there is an issue with your coveo install, since /coveo folder gets added to the web root by default.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The CD error could be related to the new index you are trying to add or an invalid install.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So be careful with the switch to master in your case as you do not have pub, substitute with web and do not remove indexes for web.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-10-24T14:50:53.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1768" PostTypeId="2" ParentId="1735" CreationDate="2016-10-24T14:53:00.170" Score="7" Body="&lt;p&gt;Prepare for a huge wall of text here which is not tested, but should work in theory and is a perfect blog post material :) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the easiest way to do this, is to actually act to the unselectable items in the same way that Sitecore reacts to the unselectable templates - i.e. showing a message and telling that this is not a valid choice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the first stop should be &lt;code&gt;GetRenderingDataSource Pipeline&lt;/code&gt; and &lt;code&gt;GetRenderingDataSourceArgs&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create a &lt;code&gt;Custom GetRenderingDataSourceArgs&lt;/code&gt; (inheriting from the existing ones) that will host your custom rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this being applied you need to create a custom processor and plug it in right before &lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.GetRenderingDatasource.GetDialogUrl, Sitecore.Kernel&quot;/&amp;gt;.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here you are going to plug your processor that is going to apply your custom rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next step would be to override the &lt;code&gt;GetDialogUrl processor&lt;/code&gt;, which is going to spawn the window with the rules applied to it. The problem here is that it uses &lt;code&gt;SelectDatasourceOptions&lt;/code&gt; class which is one more point you will need to extend.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in the &lt;code&gt;Custom SelectDatasourceOptions&lt;/code&gt; you need to add a place for your custom rules, override the &lt;code&gt;ToUrlString&lt;/code&gt; method and override the &lt;code&gt;Parse&lt;/code&gt; Method, so it can parse correct parameters to the window.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that you need to go back to the &lt;code&gt;GetDialogUrl Processor&lt;/code&gt; and pass the new parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now we hopefully will have the window opened and the custom rules paramaters are going to be passed, so the next stop would be the &lt;code&gt;SelectRenderingDatasourceForm&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here you will need to have to use your &lt;code&gt;Custom SelectDatasourceOptions&lt;/code&gt; as options. In the parse method (which is actually located in the Property for the Options) I am not 100% sure that you will need to do a new override of the &lt;code&gt;SelectItemOptions.Parse&amp;lt;SelectDatasourceOptions&amp;gt;()&lt;/code&gt;, but it is most likely the case that you will.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In theory now the data which is passed to the dialog should be handled and you are ready to apply the filtering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The final thing that needs to happen is for you to override the &lt;code&gt;IsSelectable&lt;/code&gt; method in which the actual filtering will happen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this makes sense !&lt;/p&gt;&#xA;" OwnerUserId="127" LastEditorUserId="127" LastEditDate="2016-10-24T14:58:12.507" LastActivityDate="2016-10-24T14:58:12.507" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1769" PostTypeId="2" ParentId="1766" CreationDate="2016-10-24T14:56:48.693" Score="4" Body="&lt;p&gt;The URL of the Coveo/Rest extension is set in the Coveo.SearchProvider.Rest.config. Start by validating it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The the site itself is in the Coveo.SearchProvider.config and should look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site patch:before=&quot;*[1]&quot; name=&quot;coveorest&quot; virtualFolder=&quot;/coveo/rest&quot; physicalFolder=&quot;/coveo/rest&quot; enableAnalytics=&quot;false&quot; database=&quot;web&quot; domain=&quot;extranet&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure the virtualfolder and the database are fine. Look at IIS to see if the site was added properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then for your CD error, the switch master to web deletes the Coveo Master Index, if you still have a shell or a master index on your CD, make sure to disable all of this, since you should only be hitting web on the CD.&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="10" LastEditDate="2016-10-24T22:19:26.633" LastActivityDate="2016-10-24T22:19:26.633" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="1770" PostTypeId="1" CreationDate="2016-10-24T15:12:15.573" Score="7" ViewCount="249" Body="&lt;p&gt;When looking at whether Azure premium storage is necessary, IOPS (input/output operations per second) is a good metric/guideline to look at. Does Sitecore provide any recommendations/guidelines as to what range is recommended for content management, content delivery and SQL Servers? Sitecore does provide guidance for Mongo servers, as they are known for needing specific IOP levels. I am looking for specific numbers for the other server roles.&lt;/p&gt;&#xA;" OwnerUserId="98" LastEditorUserId="2395" LastEditDate="2017-10-31T12:51:22.127" LastActivityDate="2017-10-31T12:51:22.127" Title="Sitecore CM/CD/SQL IOPS Guidelines" Tags="|azure|sql-database|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1771" PostTypeId="2" ParentId="1758" CreationDate="2016-10-24T15:51:09.920" Score="4" Body="&lt;p&gt;I had a similar issue and it was originated by the Guids. The multilist fields should store IDs instead of Guids. You can do the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Remove all your selected items and add them manually. &lt;/li&gt;&#xA;&lt;li&gt;Save your changes and verify your raw values are IDs.&lt;/li&gt;&#xA;&lt;li&gt;Debug your solution and you will see that your items will be mapped.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you are adding items programmatically, you should add IDs (new ID(Guid/string))&lt;/p&gt;&#xA;" OwnerUserId="84" LastActivityDate="2016-10-24T15:51:09.920" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1772" PostTypeId="1" AcceptedAnswerId="1776" CreationDate="2016-10-24T17:35:46.523" Score="2" ViewCount="210" Body="&lt;p&gt;I have the following code to reference a custom facet.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var contact = Tracker.Current.Session.Contact;&#xA;IHistoryFacet history = contact.GetFacet&amp;lt;IHistoryFacet&amp;gt;(&quot;History&quot;);&#xA;IHistoryLocationElement historyLocation = history.Locations.Create();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It appears to fail on the last line with an error of: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.Collections.Generic.KeyNotFoundException: The given key was not&#xA;  present in the dictionary.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I do not understand why.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my HistoryFacet.cs file:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;using System;&#xA;&#xA;namespace MySite.Models.Facets&#xA;{&#xA;    [Serializable]&#xA;    public class HistoryFacet : Facet, IHistoryFacet&#xA;    {&#xA;        private const string FACET_NAME = &quot;History&quot;;&#xA;        private const string COLLECTION_CHANGE = &quot;Changes&quot;;&#xA;        private const string COLLECTION_LOCATION = &quot;Locations&quot;;&#xA;&#xA;        public HistoryFacet()&#xA;        {&#xA;            EnsureCollection&amp;lt;IHistoryChangeElement&amp;gt;(COLLECTION_CHANGE);&#xA;            EnsureCollection&amp;lt;IHistoryLocationElement&amp;gt;(COLLECTION_LOCATION);&#xA;        }&#xA;&#xA;        public IElementCollection&amp;lt;IHistoryChangeElement&amp;gt; Changes&#xA;        {&#xA;            get&#xA;            {&#xA;                return GetCollection&amp;lt;IHistoryChangeElement&amp;gt;(FACET_NAME);&#xA;            }&#xA;        }&#xA;&#xA;        public IElementCollection&amp;lt;IHistoryLocationElement&amp;gt; Locations&#xA;        {&#xA;            get&#xA;            {&#xA;                return GetCollection&amp;lt;IHistoryLocationElement&amp;gt;(FACET_NAME);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is my HistoryLocationElement.cs file:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;using System;&#xA;using System.Net;&#xA;&#xA;namespace MySite.Models.Facets&#xA;{&#xA;    [Serializable]&#xA;    public class HistoryLocationElement : Element, IHistoryLocationElement&#xA;    {&#xA;        private const string FIELD_DATE = &quot;Date&quot;;&#xA;        private const string FIELD_IP_ADDRESS = &quot;IP Address&quot;;&#xA;        private const string FIELD_STREET_ADDRESS_LINE_01 = &quot;Street Address Line 1&quot;;&#xA;        private const string FIELD_STREET_ADDRESS_LINE_02 = &quot;Street Address Line 2&quot;;&#xA;        private const string FIELD_STREET_ADDRESS_LINE_03 = &quot;Street Address Line 3&quot;;&#xA;        private const string FIELD_STREET_ADDRESS_LINE_04 = &quot;Street Address Line 4&quot;;&#xA;        private const string FIELD_CITY = &quot;City&quot;;&#xA;        private const string FIELD_METRO_CODE = &quot;Metro Code&quot;;&#xA;        private const string FIELD_REGION = &quot;Region&quot;;&#xA;        private const string FIELD_REGION_CODE = &quot;Region Code&quot;;&#xA;        private const string FIELD_POSTAL_CODE = &quot;Postal Code&quot;;&#xA;        private const string FIELD_COUNTRY = &quot;Country&quot;;&#xA;        private const string FIELD_COUNTRY_CODE = &quot;Country Code&quot;;&#xA;        private const string FIELD_LONGITUDE = &quot;Longitude&quot;;&#xA;        private const string FIELD_LATITUDE = &quot;Latitude&quot;;&#xA;        private const string FIELD_ZENITH = &quot;Zenith&quot;;&#xA;        private const string FIELD_TIMEZONE = &quot;Timezone&quot;;&#xA;&#xA;        public HistoryLocationElement()&#xA;        {&#xA;            EnsureAttribute&amp;lt;DateTime&amp;gt;(FIELD_DATE);&#xA;            EnsureAttribute&amp;lt;IPAddress&amp;gt;(FIELD_IP_ADDRESS);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_STREET_ADDRESS_LINE_01);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_STREET_ADDRESS_LINE_02);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_STREET_ADDRESS_LINE_03);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_STREET_ADDRESS_LINE_04);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_CITY);&#xA;            EnsureAttribute&amp;lt;int&amp;gt;(FIELD_METRO_CODE);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_REGION);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_REGION_CODE);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_POSTAL_CODE);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_COUNTRY);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_COUNTRY_CODE);&#xA;            EnsureAttribute&amp;lt;double&amp;gt;(FIELD_LONGITUDE);&#xA;            EnsureAttribute&amp;lt;double&amp;gt;(FIELD_LATITUDE);&#xA;            EnsureAttribute&amp;lt;double&amp;gt;(FIELD_ZENITH);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(FIELD_TIMEZONE);&#xA;        }&#xA;&#xA;        public DateTime Date&#xA;        {&#xA;            get { return GetAttribute&amp;lt;DateTime&amp;gt;(FIELD_DATE); }&#xA;            set { SetAttribute(FIELD_DATE, value); }&#xA;        }&#xA;        public IPAddress IPAddress&#xA;        {&#xA;            get { return GetAttribute&amp;lt;IPAddress&amp;gt;(FIELD_IP_ADDRESS); }&#xA;            set { SetAttribute(FIELD_IP_ADDRESS, value); }&#xA;        }&#xA;        public string StreetAddressLine01&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_STREET_ADDRESS_LINE_01); }&#xA;            set { SetAttribute(FIELD_STREET_ADDRESS_LINE_01, value); }&#xA;        }&#xA;        public string StreetAddressLine02&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_STREET_ADDRESS_LINE_02); }&#xA;            set { SetAttribute(FIELD_STREET_ADDRESS_LINE_02, value); }&#xA;        }&#xA;        public string StreetAddressLine03&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_STREET_ADDRESS_LINE_03); }&#xA;            set { SetAttribute(FIELD_STREET_ADDRESS_LINE_03, value); }&#xA;        }&#xA;        public string StreetAddressLine04&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_STREET_ADDRESS_LINE_04); }&#xA;            set { SetAttribute(FIELD_STREET_ADDRESS_LINE_04, value); }&#xA;        }&#xA;        public string City&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_CITY); }&#xA;            set { SetAttribute(FIELD_CITY, value); }&#xA;        }&#xA;        public int MetroCode&#xA;        {&#xA;            get { return GetAttribute&amp;lt;int&amp;gt;(FIELD_METRO_CODE); }&#xA;            set { SetAttribute(FIELD_METRO_CODE, value); }&#xA;        }&#xA;        public string Region&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_REGION); }&#xA;            set { SetAttribute(FIELD_REGION, value); }&#xA;        }&#xA;        public string RegionCode&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_REGION_CODE); }&#xA;            set { SetAttribute(FIELD_REGION_CODE, value); }&#xA;        }&#xA;        public string PostalCode&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_POSTAL_CODE); }&#xA;            set { SetAttribute(FIELD_POSTAL_CODE, value); }&#xA;        }&#xA;        public string Country&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_COUNTRY); }&#xA;            set { SetAttribute(FIELD_COUNTRY, value); }&#xA;        }&#xA;        public string CountryCode&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_COUNTRY_CODE); }&#xA;            set { SetAttribute(FIELD_COUNTRY_CODE, value); }&#xA;        }&#xA;        public double Longitude&#xA;        {&#xA;            get { return GetAttribute&amp;lt;double&amp;gt;(FIELD_LONGITUDE); }&#xA;            set { SetAttribute(FIELD_LONGITUDE, value); }&#xA;        }&#xA;        public double Latitude&#xA;        {&#xA;            get { return GetAttribute&amp;lt;double&amp;gt;(FIELD_LATITUDE); }&#xA;            set { SetAttribute(FIELD_LATITUDE, value); }&#xA;        }&#xA;        public double Zenith&#xA;        {&#xA;            get { return GetAttribute&amp;lt;double&amp;gt;(FIELD_ZENITH); }&#xA;            set { SetAttribute(FIELD_ZENITH, value); }&#xA;        }&#xA;        public string Timezone&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(FIELD_TIMEZONE); }&#xA;            set { SetAttribute(FIELD_TIMEZONE, value); }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is my IHistoryFacet.cs file:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace MySite.Models.Facets&#xA;{&#xA;    public interface IHistoryFacet : IFacet&#xA;    {&#xA;        IElementCollection&amp;lt;IHistoryChangeElement&amp;gt; Changes { get; }&#xA;        IElementCollection&amp;lt;IHistoryLocationElement&amp;gt; Locations { get; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is my IHistoryLocationElement.cs file:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;using System;&#xA;using System.Net;&#xA;&#xA;namespace MySite.Models.Facets&#xA;{&#xA;    public interface IHistoryLocationElement : IElement&#xA;    {&#xA;        DateTime Date { get; set; }&#xA;        IPAddress IPAddress { get; set; }&#xA;        string StreetAddressLine01 { get; set; }&#xA;        string StreetAddressLine02 { get; set; }&#xA;        string StreetAddressLine03 { get; set; }&#xA;        string StreetAddressLine04 { get; set; }&#xA;        string City { get; set; }&#xA;        int MetroCode { get; set; }&#xA;        string Region { get; set; }&#xA;        string RegionCode { get; set; }&#xA;        string PostalCode { get; set; }&#xA;        string Country { get; set; }&#xA;        string CountryCode { get; set; }&#xA;        double Longitude { get; set; }&#xA;        double Latitude { get; set; }&#xA;        double Zenith { get; set; }&#xA;        string Timezone { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am not sure what key it is referring to.&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="73" LastEditDate="2016-10-25T20:37:11.800" LastActivityDate="2016-10-25T20:37:11.800" Title="System.Collections.Generic.KeyNotFoundException when calling Create method on Facet" Tags="|contact-facets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1773" PostTypeId="1" AcceptedAnswerId="1788" CreationDate="2016-10-24T17:42:11.347" Score="3" ViewCount="274" Body="&lt;p&gt;I have a situation where I have a template and thus content items of that template whereby the field names seem to have problems in the content editor but not in visual studio. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice below that city and postal code both have 2 colons and postal code is not properly capitalised.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KggZu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KggZu.png&quot; alt=&quot;Content Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But Visual Studio seems to show these field names just fine, and everywhere I look, everything seems fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oqBPY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oqBPY.png&quot; alt=&quot;Visual Studio&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a note, there is no complex template inheritance happening. The template where this occurs is derived only from Standard template and the fields in question are Template fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, I can access the field values using their correct names. One example being &lt;code&gt;item[&quot;Postal Code&quot;]&lt;/code&gt;, but the field name still displays incorrectly in the content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already tried deleting the fields and then re-adding them, and the problem still persists. I also created brand new content items from the template after the changes, and the problem still persists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would and could delete the template and start over, but the template in question has a lot of fields and a lot of validation happening on each field, so I'd rather not restart.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thoughts are appreciated.&lt;/p&gt;&#xA;" OwnerUserId="946" LastEditorUserId="73" LastEditDate="2016-10-27T23:52:49.587" LastActivityDate="2016-10-27T23:52:49.587" Title="Field names in content editor are wrong (multiple colons and no capitalisation) but fine in VS" Tags="|content-editor|templates|visual-studio|" AnswerCount="1" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="1774" PostTypeId="1" CreationDate="2016-10-24T18:13:29.940" Score="6" ViewCount="548" Body="&lt;p&gt;We're having an issue where a user adds a component to a page, and then adds another component to the first component. But when they add the second component the page reloads and since the content wasn't saved after the first component was added neither component shows after the page reloads. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having the content editor save between the two adds solves the issue, however I'd like to stream line the editing experience by saving the layout details when the first component is added, however I'm having trouble finding the correct pipeline to use to do that. Does anyone have experience with something like this?&lt;/p&gt;&#xA;" OwnerUserId="922" LastEditorUserId="66" LastEditDate="2016-10-24T20:22:54.750" LastActivityDate="2023-12-23T13:04:45.567" Title="Component disappears when another component is added and the page was not saved" Tags="|experience-editor|presentation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1775" PostTypeId="1" AcceptedAnswerId="1810" CreationDate="2016-10-24T18:33:11.220" Score="13" ViewCount="3421" Body="&lt;p&gt;What is the difference between &lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditor&lt;/code&gt; and &lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditorEditing&lt;/code&gt;? I've always used &lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditor&lt;/code&gt; in my code, but I've noticed that some frameworks such as Glass Mapper use &lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditorEditing&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditorEditing&lt;/code&gt; sounds like it would only return &lt;code&gt;true&lt;/code&gt; when in the Experience Editor and Edit Mode is enabled, or when Editing is turned on under the view tab; however, I've found that &lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditorEditing&lt;/code&gt; always returns the same value as &lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditor&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="10" LastEditorUserId="338" LastEditDate="2016-10-25T19:51:31.727" LastActivityDate="2016-10-25T19:51:31.727" Title="What is the difference between IsExperienceEditor and IsExperienceEditorEditing" Tags="|best-practices|sitecore-client|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1776" PostTypeId="2" ParentId="1772" CreationDate="2016-10-24T18:33:59.967" Score="4" Body="&lt;p&gt;Your collection getters need to access the actual collections by using proper keys:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public IElementCollection&amp;lt;IHistoryChangeElement&amp;gt; Changes&#xA;{&#xA;    get&#xA;    {&#xA;        return GetCollection&amp;lt;IHistoryChangeElement&amp;gt;(COLLECTION_CHANGE);&#xA;    }&#xA;}&#xA;&#xA;public IElementCollection&amp;lt;IHistoryLocationElement&amp;gt; Locations&#xA;{&#xA;    get&#xA;    {&#xA;        return GetCollection&amp;lt;IHistoryLocationElement&amp;gt;(COLLECTION_LOCATION);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I used &lt;code&gt;COLLECTION_CHANGE&lt;/code&gt; and &lt;code&gt;COLLECTION_LOCATION&lt;/code&gt; instead of &lt;code&gt;FACET_NAME&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those are the keys you used when you &lt;em&gt;ensured&lt;/em&gt; these collections in the constructor:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;EnsureCollection&amp;lt;IHistoryChangeElement&amp;gt;(COLLECTION_CHANGE);&#xA;EnsureCollection&amp;lt;IHistoryLocationElement&amp;gt;(COLLECTION_LOCATION);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So now you should use the same keys to access them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;KeyNotFoundException&lt;/code&gt; is thrown because there are no collections registered in the facet with the key &lt;code&gt;FACET_NAME&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-10-24T18:33:59.967" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1777" PostTypeId="2" ParentId="1775" CreationDate="2016-10-24T18:39:43.603" Score="8" Body="&lt;p&gt;&lt;code&gt;IsExperienceEditorEditing&lt;/code&gt; requires few more checks to be &lt;code&gt;true&lt;/code&gt; to return &lt;code&gt;true&lt;/code&gt; as well. Still in 99% of the standard Sitecore work you can use any of them:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;  /// &amp;lt;summary&amp;gt;&#xA;  /// Gets a value indicating whether this instance is experience editor.&#xA;  /// &amp;lt;/summary&amp;gt;&#xA;  /// &amp;lt;value&amp;gt;&#xA;  ///   &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; if this instance is experience editor; otherwise, &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;.&#xA;  /// &amp;lt;/value&amp;gt;&#xA;  public static bool IsExperienceEditor&#xA;  {&#xA;    get&#xA;    {&#xA;      return Context.Site.DisplayMode == DisplayMode.Edit;&#xA;    }&#xA;  }&#xA;&#xA;  /// &amp;lt;summary&amp;gt;&#xA;  /// Gets a value indicating whether this instance is experience editor editing.&#xA;  /// &amp;lt;/summary&amp;gt;&#xA;  /// &amp;lt;value&amp;gt;&#xA;  ///   &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; if this instance is experience editor editing; otherwise, &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;.&#xA;  /// &amp;lt;/value&amp;gt;&#xA;  public static bool IsExperienceEditorEditing&#xA;  {&#xA;    get&#xA;    {&#xA;      SiteContext site = Context.Site;&#xA;      if (site == null &#xA;            || WebUtil.GetCookieBool(site.GetCookieKey(&quot;sc_navigate&quot;), false) &#xA;            || (!Context.PageMode.IsExperienceEditor &#xA;            || !(WebUtil.GetQueryString(&quot;sc_ce&quot;) != &quot;1&quot;)))&#xA;        return false;&#xA;      return WebUtil.GetQueryString(&quot;sc_webedit&quot;) != &quot;0&quot;;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-10-24T18:39:43.603" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1778" PostTypeId="2" ParentId="1765" CreationDate="2016-10-24T18:42:13.927" Score="3" Body="&lt;p&gt;As Sergeant Sitecore suggested, the WFFM submissions are stored in Mongo. This lead me to discover the reason I wasn't seeing the most up-to-date data was because the analytics database was out of sync with Mongo. Following these steps to rebuild the reporting database fixed my issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So migrating WFFM reports will include migrating Mongo data as well as potentially rebuilding the reporting databases. &lt;/p&gt;&#xA;" OwnerUserId="433" LastActivityDate="2016-10-24T18:42:13.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1779" PostTypeId="1" AcceptedAnswerId="1780" CreationDate="2016-10-24T18:43:39.043" Score="5" ViewCount="327" Body="&lt;p&gt;Anyone know what could be causing this? I'm implementing a field suggest on a CoveoSearchBox and when I test the suggest on every char I enter it is calling the rest call and it shows a JS error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the url it tries to access:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore81/coveo/rest/v2/values?sitecoreItemUri=sitecore%3A%2F%2Fmaster%2F%7B110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9%7D%3Flang%3Den%26ver%3D1&amp;amp;siteName=website&quot;&gt;http://sitecore81/coveo/rest/v2/values?sitecoreItemUri=sitecore%3A%2F%2Fmaster%2F%7B110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9%7D%3Flang%3Den%26ver%3D1&amp;amp;siteName=website&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;&quot;statusCode&quot; : 400,&#xA;&quot;message&quot; : &quot;The parameter is missing: field&quot;,&#xA;&quot;type&quot; : &quot;MissingParameterException&quot;,&#xA;&quot;executionReport&quot; : [ {&#xA;    &quot;children&quot; : [ {&#xA;      &quot;description&quot; : &quot;Perform authentication&quot;,&#xA;      &quot;duration&quot; : 1,&#xA;      &quot;configured&quot; : {&#xA;        &quot;trust&quot; : null,&#xA;        &quot;primary&quot; : [ &quot;SearchToken&quot;, &quot;Windows&quot; ],&#xA;        &quot;secondary&quot; : [ ],&#xA;        &quot;admin&quot; : &quot;NobodyAllowed&quot;,&#xA;        &quot;fallback&quot; : null,&#xA;        &quot;mandatory&quot; : [ ]&#xA;  }, &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is how my searchbox is defined:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;div class=&quot;CoveoSearchbox form-control&quot;&#xA;     data-auto-focus=&quot;@Model.AutoFocus&quot;&#xA;     data-enable-lowercase-operators=&quot;@Model.EnableLowercaseOperators&quot;&#xA;     data-enable-partial-match=&quot;@Model.EnablePartialMatch&quot;&#xA;     data-partial-match-keywords=&quot;@Model.PartialMatchKeywords&quot;&#xA;     data-partial-match-threshold=&quot;@Model.PartialMatchThreshold&quot;&#xA;     data-enable-question-marks=&quot;@Model.EnableQuestionMarks&quot;&#xA;     data-enable-wildcards=&quot;@Model.EnableWildcards&quot;&#xA;     data-enable-omnibox=&quot;true&quot;&#xA;     data-omnibox-timeout=&quot;@Model.OmniboxTimeout&quot;&#xA;     data-enable-field-addon=&quot;@Model.OmniboxEnableFieldAddon&quot;&#xA;     data-enable-simple-field-addon=&quot;@Model.OmniboxEnableSimpleFieldAddon&quot;&#xA;     data-enable-top-query-addon=&quot;@Model.OmniboxEnableTopQueryAddon&quot;&#xA;     data-enable-reveal-query-suggest-addon=&quot;@Model.OmniboxEnableRevealQuerySuggestAddon&quot;&#xA;     data-enable-query-extension-addon=&quot;@Model.OmniboxEnableQueryExtensionAddon&quot;&amp;gt;&#xA;    &amp;lt;span class=&quot;CoveoFieldSuggestions&quot; data-header-title=&quot;Results&quot; data-field=&quot;@Model.ToCoveoFieldName(&quot;title&quot;)&quot;&amp;gt;&amp;lt;/span&amp;gt;          &#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastEditorUserId="237" LastEditDate="2016-10-24T18:55:49.320" LastActivityDate="2017-10-02T14:12:22.907" Title="Suggestion error with Coveo search box" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1780" PostTypeId="2" ParentId="1779" CreationDate="2016-10-24T18:49:57.023" Score="7" Body="&lt;p&gt;Is it possible that the title field is not a facet?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to &lt;a href=&quot;https://developers.coveo.com/x/BoIUAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;developers.coveo.com/display/SitecoreV4/Provide+Query+Suggestions&lt;/a&gt;:&#xA;- The field used for suggestions needs to be a facet field&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2017-10-02T14:12:22.907" LastActivityDate="2017-10-02T14:12:22.907" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1781" PostTypeId="2" ParentId="1735" CreationDate="2016-10-24T18:57:21.833" Score="2" Body="&lt;p&gt;The pipeline that you need to patch is the &lt;code&gt;getRenderingDatasource&lt;/code&gt;. Below is the different steps that you will require to implement a custom rendering datasouce:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Sublayout&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the sublayout, in the Editor Options Section, there is a field called Datasource Location. In this, you can specify the query you want, below is an example of the query:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;query:ancestor-or-self::*[@@templatename='Website']//Catalog Container&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the query above needs to have a template called Website then get the Catalog Container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here, it is where you will insert the logic that you will require to have a custom datasource. As example, the below code will execute and will set the window from where content authors select the item to a specific container. Note that this is dynamic. In other words, let's say you have Site A, B and C and all 3 have a catalog container. The below code will render the datasource and content authors will never be able to select catalog from Site A in Site B or C&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void Process(GetRenderingDatasourceArgs args)&#xA;{&#xA;    Assert.IsNotNull(args, &quot;args&quot;);&#xA;&#xA;    string text = args.RenderingItem[&quot;Datasource Location&quot;]; //Get the value from the field  &#xA;    if (!string.IsNullOrEmpty(text))&#xA;    {&#xA;        if (text.StartsWith(&quot;query:&quot;) &amp;amp;&amp;amp; !string.IsNullOrEmpty(args.ContextItemPath))&#xA;        {&#xA;            var contextItem = args.ContentDatabase.GetItem(args.ContextItemPath);&#xA;&#xA;            if (contextItem != null)&#xA;            {&#xA;                text = text.Remove(0, 6); //remove the query:  &#xA;                var item = contextItem.Axes.SelectSingleItem(text); //Execute the query  &#xA;&#xA;                if (item != null)&#xA;                {&#xA;                    args.DatasourceRoots.Add(item);&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To restrict the content authors from selecting other templates, you can set the &lt;code&gt;Datasource Template&lt;/code&gt;. This allows content authors to select items which are of the same template as specified in the &lt;code&gt;Datasource Template&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. Config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you need to patch the &lt;code&gt;getRenderingDatasource&lt;/code&gt; pipeline. Below is how you will need to patch it&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;getRenderingDatasource&amp;gt;&#xA;    &amp;lt;processor type=&quot;YourNamespaceHere, YourAssemblyName&quot;&#xA;               patch:before=&quot;processor[@type='Sitecore.Pipelines.GetRenderingDatasource.GetDatasourceLocation, Sitecore.Kernel']&quot;/&amp;gt;&#xA;&amp;lt;/getRenderingDatasource&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-10-24T19:07:50.023" LastActivityDate="2016-10-24T19:07:50.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1782" PostTypeId="2" ParentId="1748" CreationDate="2016-10-24T20:20:51.153" Score="3" Body="&lt;p&gt;I answered a similar question with Coveo: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1650/speeding-up-coveo-reindex/1667#1667&quot;&gt;Speeding up Coveo reindex&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am a Coveo guy but eh, indexing is indexing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So as Zachary said in the comments, ensure you do not have any errors and be careful with Computed Fields. I would also add to be careful with anything touching the indexing pipeline, ex: Inbound Filters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr is closer to Coveo than Lucene in it's possibility to scale. If you feel that your indexing is too slow, I would suggest to split your indexes using the crawler root:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/38198334/sitecore-solr-index-configuration-set-different-root-path&quot;&gt;https://stackoverflow.com/questions/38198334/sitecore-solr-index-configuration-set-different-root-path&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way you could rebuild your indexes without large media items. And maybe separate your media library in smaller pieces. You can also scale your Solr using slaves. @Søren Engel from Pentia did a great series of posts about scaling:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://soen.ghost.io/tackling-the-challenges-of-architecting-a-search-indexing-infrastructure-in-sitecore-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://soen.ghost.io/tackling-the-challenges-of-architecting-a-search-indexing-infrastructure-in-sitecore-part-1/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Slaves would get rid of the query load on the indexing server.&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-24T20:47:30.333" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1783" PostTypeId="2" ParentId="1764" CreationDate="2016-10-24T20:33:40.870" Score="9" Body="&lt;p&gt;I'll gather information from the comments and post them as a community wiki since not everyone is reading the comments and answer is always an answer.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;This issue might occur if there are multiple site definitions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Potential reasons:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Accessing sites using different hostname that is defined in the site definition&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Preview.ResolveSite&lt;/code&gt; property in the Sitecore config is set to true&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Preview.DefaultWebsite&lt;/code&gt; property in the Sitecore config is set to the website you are visitinig&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Suggested workaround:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Remove the parameter from query string&lt;/li&gt;&#xA;&lt;li&gt;Set the value of the parameter to 0&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The button is in the &lt;strong&gt;core&lt;/strong&gt; database, in &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons/ContentEditing/ExperienceEditor&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strike&gt;There is an assumption that this might be a Sitecore bug. If you can explain the mechanism of how this parameter work please include information here.&lt;/strike&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore has confirmed this behavior as a bug&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The public reference number for it is 80705.&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-10-25T06:31:17.893" LastActivityDate="2016-10-25T06:31:17.893" CommentCount="2" CommunityOwnedDate="2016-10-24T20:33:40.870" ContentLicense="CC BY-SA 3.0" />
  <row Id="1784" PostTypeId="2" ParentId="1701" CreationDate="2016-10-24T22:43:39.213" Score="4" Body="&lt;p&gt;The pure HTTP GET request to your ProductController, assuming it was registered by the aggregate descriptor as being part of the &lt;code&gt;custom&lt;/code&gt; service, should look something like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;GET /sitecore/api/ssc/aggregate/custom/Products HTTP/1.1&#xA;Host: test.site&#xA;Accept: application/json;&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Via cUrl you would be able to request your Products:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;curl -X GET -H &quot;Accept: application/json;&quot; &quot;http://test.site/sitecore/api/ssc/aggregate/custom/Products&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If in doubt SSC provides a discovery service where you can identiy the aggregate services registered within a website. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;curl -X GET -H &quot;Accept: application/json;&quot; &quot;http://test.site/sitecore/api/ssc/aggregate/&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To retrieve the EDM metadata about your services fire a GET request at the &lt;code&gt;sitecore/api/ssc/aggregate/custom/$metadata&lt;/code&gt; route.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope that helps :)&lt;/p&gt;&#xA;" OwnerUserId="166" LastActivityDate="2016-10-24T22:43:39.213" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1785" PostTypeId="2" ParentId="1748" CreationDate="2016-10-25T02:42:35.180" Score="0" Body="&lt;p&gt;Check my answer to similar question - &lt;a href=&quot;https://sitecore.stackexchange.com/a/1503/633&quot;&gt;https://sitecore.stackexchange.com/a/1503/633&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sitecore_web_index&lt;/code&gt; and &lt;code&gt;sitecore_master_index&lt;/code&gt; stores all the fields, for all the versions for all the items by default. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look at your implementation and decide if you need all that data there. &lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-25T02:42:35.180" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1786" PostTypeId="2" ParentId="1743" CreationDate="2016-10-25T06:18:27.117" Score="1" Body="&lt;p&gt;I can confirm that such approach can be really useful from our experiences. We are using a quite huge infrastructure set-up for our solution: like five independent clusters, every cluster contain one CM for editors and another CM for publishing (+ other service jobs). There is even one global admin (CM) from where the contents are regularly distributed into the regional clusters. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using separate CM instances (publishers) was the only option how we could achieve putting the fresh data into the CD instances relatively fast. Currently, every language is updated 3 times in hour by scheduled publishing jobs. In case we have around 15 languages in one cluster there is no other option than use a separate publishing instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another advantage can be that you can tune-up the publishing instance appropriately (e.g. number of publishing threads, disable analytics, ...).     &lt;/p&gt;&#xA;" OwnerUserId="730" LastActivityDate="2016-10-25T06:18:27.117" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1787" PostTypeId="2" ParentId="1445" CreationDate="2016-10-25T07:13:09.683" Score="2" Body="&lt;p&gt;I think the obvious drawback will be that something will be stored in memory which you will need later on. Because you don't control sitecore, you cannot decide what will be stored in memory there. Therefor the risk will be loosing data in whatever scenario that can happen. But the oplog will keep track of these changes, if you have this configured. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have it configured that nobody can access the mongo cluster from the outside, therefor possible attacks will not cause the cluster to crash and loose data. Also, Sitecore has jobs running to transfer data to the cluster, so there will be no realtime throughput. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But If you have a mongo cluster consisting of at least 3 servers, you will have no issues at all..&lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-10-25T07:13:09.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1788" PostTypeId="2" ParentId="1773" CreationDate="2016-10-25T08:35:00.133" Score="9" Body="&lt;p&gt;It sounds like you have a matching item in /sitecore/System/Dictionary/.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did a quick test by adding a Dictionary item that matches the name of a field and the Content Editor picks it up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rQe6F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rQe6F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jQfhO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jQfhO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="409" LastActivityDate="2016-10-25T08:35:00.133" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1789" PostTypeId="1" AcceptedAnswerId="2004" CreationDate="2016-10-25T09:31:43.030" Score="9" ViewCount="8373" Body="&lt;p&gt;A security audit has been performed for Sitecore setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the issues revealed is about &lt;strong&gt;&quot;HTTP Denial of Service&quot;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Description:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A malicious user with a computer can send a specially crafted sequence&#xA;  of HTTP packets to mount a Denial of service attack on the server.&#xA;  This will result in legitimate users not being able to access the&#xA;  services.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Test findings:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;The website stopped responding during the attack simulation. The auditor simulated the HTTP slow body attack&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Recommendation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer the document in the link to fix the issue. The idea is to configure the HTTP server in a specific manner to time out malicious sessions. &lt;a href=&quot;https://blog.qualys.com/securitylabs/2011/11/02/how-to-protect-against-slow-http-attacks&quot;&gt;https://blog.qualys.com/securitylabs/2011/11/02/how-to-protect-against-slow-http-attacks&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following the link i understand the following settings need to be adjusted for IIS7:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;maxAllowedContentLength&lt;/strong&gt;, &lt;strong&gt;maxQueryString&lt;/strong&gt;, and &lt;strong&gt;maxUrl&lt;/strong&gt; attributes&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;headerLimits&lt;/strong&gt; to configure the type and size of header your web&#xA;server will accept. &lt;/li&gt;&#xA;&lt;li&gt;Tune the &lt;strong&gt;connectionTimeout&lt;/strong&gt;, &lt;strong&gt;headerWaitTimeout&lt;/strong&gt;,&#xA;and &lt;strong&gt;minBytesPerSecond&lt;/strong&gt; attributes of the &lt;code&gt;&amp;lt;limits&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;WebLimits&amp;gt;&lt;/code&gt;&#xA;elements to minimize the impact of slow HTTP attacks&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What are the best practices to configure above variables? What are your recommendations to identify above attributes? Are these changes likely to affect any of the default functionality in Sitecore backend and how can we avoid those?&lt;/p&gt;&#xA;" OwnerUserId="713" LastEditorUserId="135" LastEditDate="2016-10-25T12:42:10.317" LastActivityDate="2016-10-31T11:29:10.913" Title="Best practices for HTTP Denial of Service configuration" Tags="|configuration|best-practices|security|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1790" PostTypeId="2" ParentId="1770" CreationDate="2016-10-25T09:54:02.333" Score="8" Body="&lt;p&gt;I am not aware any IOPS guidelines, but there is a &lt;a href=&quot;https://doc.sitecore.net/~/media/2F3A6E768BEF4100BE934CF74CAD176F.ashx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Experience Platform 8.2 Performance White Paper&lt;/a&gt; where they have made many test and the Premium Storage Account is only mentioned for MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general, your Primary MongoDB takes the biggest hit and needs the fastest drives. Other than that, Sitecore solutions have largely been found to be CPU bound, rather than bound by performance of drives and storage systems.&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2016-10-25T13:00:10.263" LastActivityDate="2016-10-25T13:00:10.263" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1791" PostTypeId="1" AcceptedAnswerId="2002" CreationDate="2016-10-25T10:07:53.233" Score="5" ViewCount="335" Body="&lt;p&gt;I recently upgraded one of our Sitecore sites from 8.0 to 8.1 update 3, which mostly went smoothly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the upgrade, in Experience Editor when adding components, the &quot;Add component&quot; buttons aren't appearing below certain renderings. They appear above the renderings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7mN7v.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7mN7v.png&quot; alt=&quot;Missing button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inspecting in Chrome dev tools shows they missing buttons are there but positioned at &lt;code&gt;top: 0px; left: 0px;&lt;/code&gt; and as such are behind the ribbon bar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cXNFB.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cXNFB.jpg&quot; alt=&quot;Dev Tools position&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This wasn't happening before the upgrade, and doesn't affect all renderings -- but there's nothing unusual about the ones it is affecting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any idea why this might be?&lt;/p&gt;&#xA;" OwnerUserId="56" LastEditorUserId="56" LastEditDate="2016-10-31T10:24:46.263" LastActivityDate="2016-10-31T10:25:43.867" Title="Add Component buttons positioned offscreen after upgrade" Tags="|experience-editor|upgrade|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1792" PostTypeId="1" AcceptedAnswerId="1797" CreationDate="2016-10-25T11:05:07.017" Score="8" ViewCount="710" Body="&lt;p&gt;When using TDS to create delta packages for deployment does it know to delete items? It would appear that items which are deleted in the project aren't included in the delta package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just to clarify using the &lt;a href=&quot;http://www.hhog.com/blog/tds-how-to-delete-items-target-sitecore-instance-tds-update-package/&quot;&gt;child sync options&lt;/a&gt; isn't a solution in this case. The items being deleted reside under the &lt;code&gt;/sitecore/content/Applications&lt;/code&gt; item in the &lt;code&gt;Core&lt;/code&gt; database.&lt;/p&gt;&#xA;" OwnerUserId="720" LastEditorUserId="720" LastEditDate="2016-10-25T11:35:18.433" LastActivityDate="2017-09-29T00:19:07.403" Title="Does TDS know to delete items with delta packages?" Tags="|tds|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1793" PostTypeId="2" ParentId="1761" CreationDate="2016-10-25T11:39:06.430" Score="13" Body="&lt;p&gt;Yes, you definitely still need to perform regular database maintenance.  Especially on Sitecore DBs like Analytics that have a lot of activity and develop index fragmentation quickly.  At least, if you want to maintain performance of your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I should mention, that whitepaper was written &lt;strong&gt;a long&lt;/strong&gt; time ago, and Azure gets updates every month. A number of the suggestions and practices we put into that document have been superseded.  For example, we mostly use SQL Elastic Pools for all non-production databases these days as they are very cost effective compared with standalone DB provisioning.  They can also work for production DBs, but you might want to dedicate performance to your Analytics DB - depending on your workload.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The comment about reduced cost is no longer applicable - SQL DBs now have a capped size based on their performance tier and there is no meter applicable to the actual storage consumed to my knowledge.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Maintenance via Azure Automation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;We have an Azure Automation account that has runbooks that perform these tasks for us.  Runbooks can be scheduled on a timer, or triggered via a webhook.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our runbook looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;workflow Update-SQLIndexRunbook&#xA;{&#xA;    param(&#xA;        [parameter(Mandatory=$True)]&#xA;        [string] $SqlServer,&#xA;&#xA;        [parameter(Mandatory=$True)]&#xA;        [string] $Database,&#xA;&#xA;        [parameter(Mandatory=$True)]&#xA;        [string] $SQLCredentialName,&#xA;&#xA;        [parameter(Mandatory=$False)]&#xA;        [int] $FragPercentage = 20,&#xA;&#xA;        [parameter(Mandatory=$False)]&#xA;        [int] $SqlServerPort = 1433,&#xA;&#xA;        [parameter(Mandatory=$False)]&#xA;        [boolean] $RebuildOffline = $False,&#xA;&#xA;        [parameter(Mandatory=$False)]&#xA;        [string] $Table&#xA;&#xA;    )&#xA;&#xA;    # Get the stored username and password from the Automation credential&#xA;    $SqlCredential = Get-AutomationPSCredential -Name $SQLCredentialName&#xA;    if ($SqlCredential -eq $null)&#xA;    {&#xA;        throw &quot;Could not retrieve '$SQLCredentialName' credential asset. Check that you created this first in the Automation service.&quot;&#xA;    }&#xA;&#xA;    $SqlUsername = $SqlCredential.UserName &#xA;    $SqlPass = $SqlCredential.GetNetworkCredential().Password&#xA;&#xA;    $TableNames = Inlinescript {&#xA;        $db = $Using:Database&#xA;        $frag = $Using:FragPercentage&#xA;&#xA;        # Define the connection to the SQL Database&#xA;        $Conn = New-Object System.Data.SqlClient.SqlConnection(&quot;Server=tcp:$using:SqlServer,$using:SqlServerPort;Database=$using:Database;User ID=$using:SqlUsername;Password=$using:SqlPass;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;&quot;)&#xA;&#xA;        # Open the SQL connection&#xA;        $Conn.Open()&#xA;&#xA;        # SQL command to find tables and their average fragmentation&#xA;        $SQLCommandString = @&quot;&#xA;        SELECT t.Name, MAX(avg_fragmentation_in_percent) MaxFragmentation&#xA;        FROM sys.dm_db_index_physical_stats (&#xA;                DB_ID(N'$db'),&#xA;                OBJECT_ID(0),&#xA;                NULL,&#xA;                NULL,&#xA;                NULL&#xA;            ) a&#xA;            JOIN sys.indexes b ON a.object_id = b.object_id AND a.index_id = b.index_id&#xA;            JOIN sys.tables t on t.object_id = a.object_id&#xA;        WHERE a.avg_fragmentation_in_percent &amp;gt;= $frag&#xA;        GROUP BY t.name;&#xA;&quot;@&#xA;        # Return the tables with their corresponding average fragmentation&#xA;        $Cmd=new-object system.Data.SqlClient.SqlCommand($SQLCommandString, $Conn)&#xA;        $Cmd.CommandTimeout=120&#xA;&#xA;        # Execute the SQL command&#xA;        $FragmentedTable=New-Object system.Data.DataSet&#xA;        $Da=New-Object system.Data.SqlClient.SqlDataAdapter($Cmd)&#xA;        [void]$Da.fill($FragmentedTable)&#xA;&#xA;        # Return the table names that have high fragmentation&#xA;        ForEach ($FragTable in $FragmentedTable.Tables[0])&#xA;        {&#xA;            Write-Verbose (&quot;Table:&quot; + $FragTable.Item(&quot;Name&quot;))&#xA;            Write-Verbose (&quot;Max Index Fragmentation:&quot; + $FragTable.Item(&quot;MaxFragmentation&quot;))&#xA;&#xA;            $FragTable.Item(&quot;Name&quot;)&#xA;        }&#xA;&#xA;        $Conn.Close()&#xA;    }&#xA;&#xA;    # If a specific table was specified, then find this table if it needs to indexed, otherwise&#xA;    # set the TableNames to $null since we shouldn't process any other tables.&#xA;    If ($Table)&#xA;    {&#xA;        Write-Output (&quot;Single Table specified: $Table&quot;)&#xA;        If ($TableNames -contains $Table)&#xA;        {&#xA;            $TableNames = $Table&#xA;        }&#xA;        Else&#xA;        {&#xA;            # Remove other tables since only a specific table was specified.&#xA;            Write-Output (&quot;Table not found: $Table&quot;)&#xA;            $TableNames = $Null&#xA;        }&#xA;    }&#xA;&#xA;    # Iterate through tables with high fragmentation and rebuild indexes&#xA;    ForEach ($TableName in $TableNames)&#xA;    {&#xA;      Write-Output &quot;Creating checkpoint&quot;&#xA;      Checkpoint-Workflow&#xA;      Write-Output &quot;Indexing Table $TableName...&quot;&#xA;&#xA;      InlineScript {&#xA;&#xA;        $SQLCommandString = @&quot;&#xA;        EXEC('ALTER INDEX ALL ON $Using:TableName REBUILD with (ONLINE=ON)')&#xA;&quot;@&#xA;&#xA;        # Define the connection to the SQL Database&#xA;        $Conn = New-Object System.Data.SqlClient.SqlConnection(&quot;Server=tcp:$using:SqlServer,$using:SqlServerPort;Database=$using:Database;User ID=$using:SqlUsername;Password=$using:SqlPass;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;&quot;)&#xA;&#xA;        # Open the SQL connection&#xA;        $Conn.Open()&#xA;&#xA;        # Define the SQL command to run. In this case we are getting the number of rows in the table&#xA;        $Cmd=new-object system.Data.SqlClient.SqlCommand($SQLCommandString, $Conn)&#xA;        # Set the Timeout to be less than 30 minutes since the job will get queued if &amp;gt; 30&#xA;        # Setting to 25 minutes to be safe.&#xA;        $Cmd.CommandTimeout=1500&#xA;&#xA;        # Execute the SQL command&#xA;        Try &#xA;        {&#xA;            $Ds=New-Object system.Data.DataSet&#xA;            $Da=New-Object system.Data.SqlClient.SqlDataAdapter($Cmd)&#xA;            [void]$Da.fill($Ds)&#xA;        }&#xA;        Catch&#xA;        {&#xA;            if (($_.Exception -match &quot;offline&quot;) -and ($Using:RebuildOffline) )&#xA;            {&#xA;                Write-Output (&quot;Building table $Using:TableName offline&quot;)&#xA;                $SQLCommandString = @&quot;&#xA;                EXEC('ALTER INDEX ALL ON $Using:TableName REBUILD')&#xA;&quot;@              &#xA;&#xA;                # Define the SQL command to run. &#xA;                $Cmd=new-object system.Data.SqlClient.SqlCommand($SQLCommandString, $Conn)&#xA;                # Set the Timeout to be less than 30 minutes since the job will get queued if &amp;gt; 30&#xA;                # Setting to 25 minutes to be safe.&#xA;                $Cmd.CommandTimeout=1500&#xA;&#xA;                # Execute the SQL command&#xA;                $Ds=New-Object system.Data.DataSet&#xA;                $Da=New-Object system.Data.SqlClient.SqlDataAdapter($Cmd)&#xA;                [void]$Da.fill($Ds)&#xA;            }&#xA;            Else&#xA;            {&#xA;                # Will catch the exception here so other tables can be processed.&#xA;                Write-Error &quot;Table $Using:TableName could not be indexed. Investigate indexing each index instead of the complete table $_&quot;&#xA;             }&#xA;        }&#xA;        # Close the SQL connection&#xA;        $Conn.Close()&#xA;      }  &#xA;    }&#xA;&#xA;    Write-Output &quot;Finished Indexing&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, this runbook takes a number of parameters.&#xA;The only one worth mentioning is &lt;code&gt;$SQLCredentialName&lt;/code&gt; which refers to the name of a Credential Asset stored in the Automation Account itself.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Suggested Indexes&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In regards to the second part of your question, every team uses the Sitecore DBs a little differently.  SQL Azure monitors the use of the system and the query plans it generates and tries to work out whether the plans could benefit from additional indexes.  When it thinks it has one, it makes the suggestion.  If you elect to implement the suggestion it will run some tests to ensure it has actually made an improvement, and will roll back if it hasn't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We implement almost all the suggestions it offers.  Indexes are generally not material to the operation of a database so they're safe to add, with a few critical exceptions (like clustered and unique indexes).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the most part, as long as your DB tier offers you sufficient storage, we recommend adding any index suggested with either a Medium or High Impact rating.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-10-25T11:39:06.430" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1794" PostTypeId="5" CreationDate="2016-10-25T11:48:37.767" Score="0" Body="&lt;p&gt;Fortis is a framework that allows you to encapsulate parts of the Sitecore API and model your Sitecore templates and fields using interfaces.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2021-09-22T13:45:08.543" LastActivityDate="2021-09-22T13:45:08.543" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1795" PostTypeId="4" CreationDate="2016-10-25T11:48:37.767" Score="0" Body="Questions regarding the Fortis wrapping framework that allows us to to encapsulate parts of the Sitecore API and models.&#xD;&#xA;&#xD;&#xA;http://fortis.ws/" OwnerUserId="720" LastEditorUserId="2727" LastEditDate="2021-09-23T05:09:18.450" LastActivityDate="2021-09-23T05:09:18.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1796" PostTypeId="1" AcceptedAnswerId="1799" CreationDate="2016-10-25T12:07:47.850" Score="6" ViewCount="986" Body="&lt;p&gt;I'm just going through the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/set_up_visual_studio_to_work_with_sitecore_mvc&quot;&gt;Sitecore documentation for setting up a Visual Studio project&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the steps is to update the global.asax file in your solution:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the Visual Solution folder, copy the global.asax file from the Website folder of the Sitecore installation, overwriting the global.asax Visual Studio added when you created the project.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm just wondering why this is necessary? If we delete the global.asax file - will it cause Intellisense issues with VS or something similar? We can use WebActivator to run code on start-up so we don't need to overwrite this file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the global.asax is required fr some reason, could we set it not to publish (e.g. set the Build Action) rather than copying it from Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-10-25T12:30:45.287" Title="Why do we need global.asax in Sitecore VS solution?" Tags="|visual-studio|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1797" PostTypeId="2" ParentId="1792" CreationDate="2016-10-25T12:09:19.410" Score="3" Body="&lt;p&gt;Delta packages are different from normal packages in only one way: instead of including all project items, they include only items that were changed after a certain date. Whether or not an item has changed is determined by taking the value of every item's &lt;code&gt;__Updated&lt;/code&gt; field and comparing it to the date/time you set &lt;a href=&quot;https://www.hhogdev.com/help/tds/propgeneral#DeployItemsChangedAfter&quot; rel=&quot;nofollow noreferrer&quot;&gt;in TDS project settings&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When generating packages, TDS also includes deployment property 'metadata' from ALL items in the project (whether they're included by Delta Packages or not). That metadata tells the update package installer, how to add/remove/update any set of items.&#xA;If an item was removed at some point, then the package won't contain it, however the package may contain it's parent, and the ChildSync deployment property metadata for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, if your project had the parent item, with child sync on, and you deleted that child item from your project, it will be deleted with the install of the package.&#xA;For Delta Packages, this remains the same, even without the parent being part of the delta package (i.e even if itself wasn't updated itself since the delta date that's been set).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to the title of this question, YES, Delta packages can delete items, the exact same way complete packages generated by TDS can delete items.&#xA;To directly answer the bulk of your question: no, without being able to set the child sync options, update packages (delta or complete) can not delete items.The &lt;a href=&quot;https://www.hhogdev.com/help/tds/propbuild#RecursiveDeployAction&quot; rel=&quot;nofollow noreferrer&quot;&gt;recursive deploy action&lt;/a&gt; along with ChildSync is needed for that.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="418" LastEditDate="2017-09-29T00:19:07.403" LastActivityDate="2017-09-29T00:19:07.403" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1798" PostTypeId="2" ParentId="1796" CreationDate="2016-10-25T12:15:25.423" Score="6" Body="&lt;p&gt;A Sitecore solution application needs to inherit from &lt;code&gt;Sitecore.Web.Application&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@Application Language='C#' Inherits=&quot;Sitecore.Web.Application&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Inside the application code; Sitecore manages session events (for xDB and so on).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess, theoretically, you could refactor this into something else or a different approach. I'm not sure what repercussions you risk in doing so, however.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To answer your question about publish; I normally don't include &lt;code&gt;Global.asax&lt;/code&gt; in my solution/project - it therefore isn't a problem when publishing either. Sitecore recommends you develop outside your website root. So in short; if you leave it be, and do not include it in your project, it will not overwrite the default Sitecore one in your target folder.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-25T12:30:04.833" LastActivityDate="2016-10-25T12:30:04.833" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1799" PostTypeId="2" ParentId="1796" CreationDate="2016-10-25T12:19:07.133" Score="11" Body="&lt;p&gt;It's not required to be included or even included and then excluded from publish, it will not cause any issues with Intellisense or any other function of Visual Studio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only reason for including it would be if you need to include some custom code on startup, even then it would be preferable to add a processor to into the &lt;code&gt;initialize&lt;/code&gt; pipeline and run your logic there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you do need to add custom logic that for some reason has to go in &lt;code&gt;Global.asax&lt;/code&gt; the make sure you inherit from &lt;code&gt;Sitecore.Web.Application&lt;/code&gt; as Mark Cassidy has pointed out.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-25T12:19:07.133" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1800" PostTypeId="2" ParentId="1796" CreationDate="2016-10-25T12:30:45.287" Score="0" Body="&lt;p&gt;If you don't intend to work with the global.asax file then I suggest to delete the one Visual Studio created with the solution. No need to include the one from Sitecore&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-10-25T12:30:45.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1801" PostTypeId="1" CreationDate="2016-10-25T12:51:44.550" Score="7" ViewCount="223" Body="&lt;p&gt;Given the answer in the question &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1792/does-tds-know-to-delete-items-with-delta-packages&quot;&gt;here&lt;/a&gt; is it possible to achieve deletions while still using TDS' delta package functionality?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've previously used Sitecore Courier to do delta deploys but this relies on having both sets of serialised files. &lt;/p&gt;&#xA;" OwnerUserId="720" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-26T23:04:22.563" Title="Given TDS delta packages do not track deletions how could this be achieved?" Tags="|tds|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1802" PostTypeId="2" ParentId="606" CreationDate="2016-10-25T13:01:55.310" Score="2" Body="&lt;p&gt;Turns out that this came down to an issue with missing configuration files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I compared my instance against a default installation and noticed the discrepancy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was missing Sitecore.Marketing.Search.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your comments&lt;/p&gt;&#xA;" OwnerUserId="118" LastEditorUserId="118" LastEditDate="2016-10-25T15:35:24.890" LastActivityDate="2016-10-25T15:35:24.890" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1803" PostTypeId="2" ParentId="1789" CreationDate="2016-10-25T13:09:26.537" Score="0" Body="&lt;p&gt;While I'm sure you'll find a combination of these parameters to work, I would suggest at all costs finding a way to secure the content management server behind a VPN or some form of IP-based security first of all. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If they can't reach the server then the attack has been foiled and your system is additionally more secure against brute-force / poor Sitecore passwords.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd be pretty concerned with manipulation of ContentLength, QueryString, and URL properties without extreme testing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know in the past I've had to lengthen timeouts to work-around poorly performing Sitecore 7 installs as some operations can be unavoidably slow, so you probably can't go too low with those timeouts.&lt;/p&gt;&#xA;" OwnerUserId="399" LastActivityDate="2016-10-25T13:09:26.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1804" PostTypeId="2" ParentId="1801" CreationDate="2016-10-25T14:17:40.603" Score="4" Body="&lt;p&gt;As noted elsewhere, this is a limitation of TDS in general, since it has no knowledge of the deleted item once it is no longer in the scproj (TDS Project).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One option would be to place your items into an isolated folder so that you can use Deployment Properties / Recursive Deployment Action to sync children of that folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that's not an option for you, you'll need another deployment step that can actually examine your source history or a previous version of the package to determine removed items, and delete them.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2016-10-25T14:17:40.603" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1805" PostTypeId="2" ParentId="1746" CreationDate="2016-10-25T14:18:10.757" Score="2" Body="&lt;p&gt;Based on your description, I would assume that you have a page that contains a significant amount of content that is visible to anonymous users (and search engines) but you also want to be able to have additional content that is displayed if the user is authenticated.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Differentiate Between URL Security and Content Security&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Given the above scenario, the &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; should be visible to anonymous users. The &lt;code&gt;datasource&lt;/code&gt; Item of any Renderings that would render restricted content should be secured such that it cannot be accessed by users that are not authenticated. &lt;em&gt;This may mean moving restricted content off of your &lt;code&gt;page&lt;/code&gt; Item, but it's probably the easiest scenario to support.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Separating access to the page from access to content displayed on the page allows you to place your login form anywhere you want. In many sites where content is heavily mixed like this, the login form is frequently placed as a static component of your page header, allowing all pages to be login pages.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Build Renderings so that They Only Display if &lt;code&gt;Datasource != null&lt;/code&gt;&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;For renderings that might be supplying restricted content, create a base rendering class (or a base controller class) that outputs nothing if the Datasource Item resolves to null.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;For WebForms Rendering&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyRendering : Sitecore.Web.Ui.WebControl&#xA;{&#xA;  protected void Page_Load(object sender, EventArgs e)&#xA;  {&#xA;    if (this.GetItem == null)&#xA;    {&#xA;      this.Visible = false;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;For WebForms Sublayouts&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MySublayout : UserControl&#xA;{&#xA;  protected void Page_Load(object sender, EventArgs e)&#xA;  {&#xA;    var sublayout = Parent as Sublayout;&#xA;&#xA;    // This assumes DataSource is an ID&#xA;    var item = Sitecore.Context.Database.GetItem(sublayout.DataSource);&#xA;&#xA;    if (item == null)&#xA;    {&#xA;      this.Visible = false;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;For Controllers&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;  if (RenderingContext.Current.Rendering.Item == null)&#xA;  {&#xA;    return new EmptyResult();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Built-in Item security will ensure that secured content is not returned to your renderings unless the user is authenticated. Make sure to set your &lt;code&gt;Vary by Data&lt;/code&gt; and &lt;code&gt;Vary By User&lt;/code&gt; caching parameters!&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="10" LastEditDate="2016-10-25T17:38:38.230" LastActivityDate="2016-10-25T17:38:38.230" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1806" PostTypeId="2" ParentId="1751" CreationDate="2016-10-25T14:27:40.607" Score="3" Body="&lt;p&gt;Turns out the problem was not having a &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;-Language&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;parameter for the Get-ChildItem call. Sometimes it would be evaluated for the correct language and sometimes not. Forcing the language fixed the problem :)&lt;/p&gt;&#xA;" OwnerUserId="924" LastActivityDate="2016-10-25T14:27:40.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1807" PostTypeId="2" ParentId="1775" CreationDate="2016-10-25T14:33:00.600" Score="2" Body="&lt;p&gt;The &lt;code&gt;IsExperienceEditorEditing&lt;/code&gt; flag indicates that the user is actively engaged in changing the Item being edited (either the Item, the Presenatation Details, or one of the Datasource Items on page). There are good reasons to take advantage of this feature:&lt;/p&gt;&#xA;&lt;h1&gt;Show Renderings that Hide if they are Empty&lt;/h1&gt;&#xA;&lt;p&gt;&lt;code&gt;IsExperienceEditorEditing&lt;/code&gt; becomes very useful if you have Rendering behavior where a &lt;code&gt;null&lt;/code&gt; &lt;code&gt;DataSource&lt;/code&gt; causes the Rendering to be hidden. - You can have the otherwise missing Rendering display in the Editor only when it needs to be seen to be edited/moved, etc.&lt;/p&gt;&#xA;&lt;h1&gt;Assist Content Authors with Difficult Renderings&lt;/h1&gt;&#xA;&lt;p&gt;I have also seen people add help text, or modify the markup of the Rendering in this mode to make it easier to edit - A perfect example would be a slide carousel that normally presents one slide at a time, but in &lt;code&gt;IsExperienceEditorEditing&lt;/code&gt; it renders alternative markup that allows for all slides to be seen on page, making it easier to select slide components for editing, or adding new slides, etc.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-25T14:33:00.600" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1808" PostTypeId="2" ParentId="1791" CreationDate="2016-10-25T14:38:21.070" Score="3" Body="&lt;p&gt;It is common for there to be stylesheet and javascript changes with new Sitecore updates. Make sure:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You have cleared your browser cache and any Sitecore cookies.&lt;/li&gt;&#xA;&lt;li&gt;Your deployment method successfully overwrites the /sitecore directory on your web server(s)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The first is usually the fix for content authors. The second is a little harder to track down, but can be determined by grabbing a zip file of the Sitecore website folder off of dev.sitecore.net (make sure you select the correct version) and comparing it with your install.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2016-10-25T14:38:21.070" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1809" PostTypeId="1" AcceptedAnswerId="1812" CreationDate="2016-10-25T14:55:38.523" Score="11" ViewCount="5768" Body="&lt;p&gt;Is the link target dropdown editable somewhere in the Sitecore tree?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a Sitecore v8.0 (rev. 150812) system, when editing a General Link field, the content editor is unable to set the &quot;target&quot; property for the link:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ITY8A.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ITY8A.png&quot; alt=&quot;Content Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the resulting dialog, there is no &quot;none&quot; on the Target drop down:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Daokb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Daokb.png&quot; alt=&quot;Link Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Selecting &quot;Active Browser&quot; and then rendering the field via a standard field renderer:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;foreach (Item menuItem in topMenu.Children)&#xA;{&#xA;    &amp;lt;li&amp;gt;@Html.Sitecore().Field(&quot;Link&quot;, menuItem)&amp;lt;/li&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;results in the following markup:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;a href=&quot;/products&quot; target=&quot;Active Browser&quot;&amp;gt;Products&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm assuming the list of link targets is somewhere core database? I'm able to correct the target by editing the raw values, but want to make sure my content editors don't run into this issue again.&lt;/p&gt;&#xA;" OwnerUserId="249" LastEditorUserId="10" LastEditDate="2016-10-25T15:22:52.307" LastActivityDate="2016-10-25T15:22:52.307" Title="Setting the target on an internal link field" Tags="|content-editor|links|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1810" PostTypeId="2" ParentId="1775" CreationDate="2016-10-25T14:56:36.537" Score="11" Body="&lt;p&gt;Actually, it's relatively straight forward. &lt;code&gt;IsExperienceEditorEditing&lt;/code&gt; is false when you're editing a component - but editing it via &lt;code&gt;Edit Related Item&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added a bit of code to &lt;code&gt;Default Sublayout.ascx&lt;/code&gt; to demonstrate.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.IsExperienceEditor: &amp;lt;%= Sitecore.Context.PageMode.IsExperienceEditor %&amp;gt;&amp;lt;br /&amp;gt;&#xA;.IsExperienceEditorEditing: &amp;lt;%= Sitecore.Context.PageMode.IsExperienceEditorEditing %&amp;gt;&amp;lt;br /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BpENZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BpENZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then go...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QVUQz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QVUQz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And Sitecore opens up like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/f4q0G.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f4q0G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you're meant to use this to render your content &quot;normally&quot; when &lt;code&gt;IsExperienceEditorEditing&lt;/code&gt; is false like this - and render it &quot;context aware&quot; when it's not.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-25T14:56:36.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1811" PostTypeId="2" ParentId="1809" CreationDate="2016-10-25T15:00:35.587" Score="6" Body="&lt;p&gt;This is a know bug, please perform the following steps in the &quot;core&quot; database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Navigate to the &quot;/sitecore/client/Applications/Dialogs/InsertLinkViaTreeDialog/PageSettings/TargetsSearchPanelConfig&quot; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) In the &quot;Root&quot; field of the &quot;Filters&quot; section, specify the &quot;sitecore/client/Business Component Library/System/Texts/Targets&quot; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this change, links should be generated with correct targets.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-25T15:00:35.587" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1812" PostTypeId="2" ParentId="1809" CreationDate="2016-10-25T15:06:55.127" Score="10" Body="&lt;p&gt;This is a known issue with the &lt;code&gt;General Link Field&lt;/code&gt;. To fix it open the &lt;strong&gt;Core&lt;/strong&gt; database and navigate too:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/client/Applications/Dialogs/InsertLinkViaTreeDialog/PageSettings/TargetsSearchPanelConfig&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In there, find the &lt;code&gt;Filters&lt;/code&gt; section and then the &lt;code&gt;Root&lt;/code&gt; field. Change the field to point at: &lt;code&gt;/sitecore/client/Business Component Library/System/Texts/Targets&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LmpJg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LmpJg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you have done this, the list in the &lt;code&gt;General Link Field&lt;/code&gt; will show the values:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Select a target&lt;/li&gt;&#xA;&lt;li&gt;_blank&lt;/li&gt;&#xA;&lt;li&gt;_parent&lt;/li&gt;&#xA;&lt;li&gt;_top&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ea4uG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ea4uG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;em&gt;NOTE&lt;/em&gt; - this will &lt;em&gt;not&lt;/em&gt; fix your existing link fields. You will have to go back and edit the existing fields and select one of the values to remove the &lt;code&gt;Active Browser&lt;/code&gt; target&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-25T15:06:55.127" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1813" PostTypeId="1" AcceptedAnswerId="1816" CreationDate="2016-10-25T15:14:28.317" Score="5" ViewCount="521" Body="&lt;p&gt;In my solution, I have some Computed Index Fields that I need to add that combine the values of fields from templates that belong to multiple Project-layer modules. I am using DI for initializing my Computed Index Fields, all of which inherit an &lt;code&gt;IComputedIndexField&lt;/code&gt; interface. The problem is that I'm not sure where I should put the derived index field types, or how I should properly reference template types that live in multiple Project-layer modules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the best way to do this? Am I totally off base? &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-25T15:42:55.477" Title="Helix and Computed Index Fields with DI" Tags="|indexing|dependency-injection|helix|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1814" PostTypeId="2" ParentId="1813" CreationDate="2016-10-25T15:29:08.803" Score="4" Body="&lt;p&gt;Following the principles found in Helix, you should adhere to the Common Closure Principle:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Classes that change together are packaged together.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This means that you should define the computed index fields in the same place, as to where you define the fields on the Sitecore data templates - such that if the fields changes, your computed index should change together with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have multiple fields defined in your project layers, and you need to use these from multiple places, then you should consider moving these down into lower layers of your architecture, where you can reference them from your upper layers - without violating the Stable Dependency Principle.&lt;/p&gt;&#xA;" OwnerUserId="29" LastActivityDate="2016-10-25T15:29:08.803" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1815" PostTypeId="2" ParentId="1309" CreationDate="2016-10-25T15:40:15.213" Score="2" Body="&lt;p&gt;Whenever dialogs stop working after Sitecore Upgrades, there are two things you should check:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Did you clear your browser cache (&amp;amp; cookies) as requested during the upgrade?&lt;/li&gt;&#xA;&lt;li&gt;Does your deployment process overwrite any files in the &lt;code&gt;/sitecore&lt;/code&gt; folder?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It is extremely common for an upgrade to go smoothly, but for some upgraded files to not make it back into your preferred deployment method. Go to &lt;a href=&quot;http://dev.sitecore.net&quot; rel=&quot;nofollow&quot;&gt;http://dev.sitecore.net&lt;/a&gt; and grab the zipped web root of your target installation version. Compare the files in the zip with your installation folder. Guaranteed you have an incorrect file in &lt;code&gt;/sitecore&lt;/code&gt; or you're overwriting a new &lt;code&gt;/bin&lt;/code&gt; file with an older one from your deployment project.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2016-10-25T15:40:15.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1816" PostTypeId="2" ParentId="1813" CreationDate="2016-10-25T15:42:55.477" Score="4" Body="&lt;p&gt;Based on your comment above. You should move the definitions of those fields from the individual projects into a &quot;Common&quot;  project in the Project Layer - you can then reference that in your individual Project Layer projects to keep the code as is. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can put your computed field into the &quot;Common&quot; project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would only require a small refactor to do this, especially if you already have a Common project as the Habitat solution does.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-25T15:42:55.477" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="1817" PostTypeId="1" CreationDate="2016-10-25T16:12:21.490" Score="12" ViewCount="2197" Body="&lt;p&gt;Every now and then my drive fills up with temp files from SOLR, and I can't figure out why that is happening. Here's what I know:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a 50gb partition and my analytics index has numDocs:43,287,203 and maxDoc:43,316,981. We currently have 15 cores that live on that partition. The analytics index is usually around 30gb but every so often it fills the drive. We restart the SOLR services to dump the temp disk space usage, and that seems to fix the issue. This is a basic install of SOLR (we haven't done any tweaking to the configs). We are on SOLR 5.4.0.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is there a way to limit the merges it makes so it won't eat up my disk space?&lt;/li&gt;&#xA;&lt;li&gt;If not, what are the recommended disk space sizes for these merges? I can get more disk space if I need it, but I need to know how much to ask for.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help!&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="339" LastEditDate="2016-10-25T17:26:58.437" LastActivityDate="2017-10-31T12:51:56.867" Title="How do I limit the size of my SOLR indexes?" Tags="|solr|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1818" PostTypeId="1" AcceptedAnswerId="2104" CreationDate="2016-10-25T16:42:17.063" Score="2" ViewCount="191" Body="&lt;p&gt;I am currently looking into which RSS modules are available for Sitecore. While doing so, I was wondering what the  recommended module(s) are, and what I should be looking out for when deciding which RSS module to use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;:&#xA;I would like to be able to use the module to create both RSS feeds from my own items and have them accessible from the outside, but also consume other RSS feeds from different online sources and present them on different pages in my solution (insertable as a rendering). As for the presentation goes I would like it to be fairly easy to change the look and feel of this, possible without any (or at least minimal) developer involvement. I am using MVC, so the RSS feed module should work with this as well.&lt;/p&gt;&#xA;" OwnerUserId="29" LastEditorUserId="29" LastEditDate="2016-10-25T16:53:15.690" LastActivityDate="2016-11-02T03:44:31.317" Title="Recommendations for RSS modules" Tags="|module|packages|rss|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1819" PostTypeId="2" ParentId="1597" CreationDate="2016-10-25T17:36:21.393" Score="21" Body="&lt;p&gt;Because Sitecore supports server-side responsive rendering, it's very easy to use the Device feature of the CMS to support AMP.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;AMP Layout (using Razor)&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This example is adapted from Google's &lt;a href=&quot;https://www.ampproject.org/docs/get_started/create/basic_markup%20instruction%20page%20here&quot;&gt;example markup&lt;/a&gt; and Razorified:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;html amp lang=&quot;en&quot;&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&quot;utf-8&quot;&amp;gt;&#xA;    &amp;lt;script async src=&quot;https://cdn.ampproject.org/v0.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;title&amp;gt;Hello, AMPs&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link rel=&quot;canonical&quot; href=&quot;@LinkManager.GetItemUrl(RenderingContext.Current.ContextItem)&quot; /&amp;gt;&#xA;    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,minimum-scale=1,initial-scale=1&quot;&amp;gt;&#xA;    &amp;lt;script type=&quot;application/ld+json&quot;&amp;gt;&#xA;      {&#xA;        &quot;@@context&quot;: &quot;http://schema.org&quot;,&#xA;        &quot;@@type&quot;: &quot;NewsArticle&quot;,&#xA;        &quot;headline&quot;: &quot;Open-source framework for publishing content&quot;,&#xA;        &quot;datePublished&quot;: &quot;2015-10-07T12:02:41Z&quot;,&#xA;        &quot;image&quot;: [&#xA;          &quot;logo.jpg&quot;&#xA;        ]&#xA;      }&#xA;    &amp;lt;/script&amp;gt;&#xA;    &amp;lt;style amp-boilerplate&amp;gt;body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}&amp;lt;/style&amp;gt;&amp;lt;noscript&amp;gt;&amp;lt;style amp-boilerplate&amp;gt;body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}&amp;lt;/style&amp;gt;&amp;lt;/noscript&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;h1&amp;gt;@Html.Sitecore().Field(&quot;Your Title Field Name&quot;)&amp;lt;/h1&amp;gt;&#xA;        @Html.Raw(GoogleAmpConverter.Convert(RenderingContext.Current.ContextItem[&quot;ContentFieldName&quot;]))&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the &lt;code&gt;canonical&lt;/code&gt; tag that links back to the Default Device for the context Item. Also note that I'm assuming the field you want to render for body copy is also attached to the context Item. Your needs may be different. Some folks may want to have a very limited &lt;code&gt;Rich Text&lt;/code&gt; field just for AMP output, others may want to try to re-use as much of their current content as possible, which is why we have the next section...&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Rich Text Conversion&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Assuming the page you're trying to AMP-ify is a fairly basic content page, we want to take the normal &lt;code&gt;Rich Text&lt;/code&gt; field that represents the content of the page, and strip it of anything that AMP doesn't like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With &lt;a href=&quot;https://htmlagilitypack.codeplex.com/&quot;&gt;HtmlAgilityPack&lt;/a&gt; and a little patience, you can use a class like the one below to clean up your normal Rich Text field for AMP:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class GoogleAmpConverter&#xA;{&#xA;    private readonly string source;&#xA;&#xA;    public GoogleAmpConverter(string source)&#xA;    {&#xA;        this.source = source;&#xA;    }&#xA;&#xA;    public static string Convert(string source)&#xA;    {&#xA;        var converter = new GoogleAmpConverter(source);&#xA;        return converter.Convert();&#xA;    }&#xA;&#xA;    public string Convert()&#xA;    {&#xA;        var result = ReplaceIframeWithLink(source);&#xA;        result = StripInlineStyles(result);&#xA;        result = ReplaceEmbedWithLink(result);&#xA;        result = UpdateAmpImages(result);&#xA;        return result;&#xA;    }&#xA;&#xA;    private string ReplaceIframeWithLink(string current)&#xA;    {&#xA;        // Uses HtmlAgilityPack (install-package HtmlAgilityPack)&#xA;        var doc = GetHtmlDocument(current);&#xA;        var elements = doc.DocumentNode.Descendants(&quot;iframe&quot;);&#xA;        foreach (var htmlNode in elements)&#xA;        {&#xA;            if (htmlNode.Attributes[&quot;src&quot;] == null) &#xA;            {&#xA;                continue;&#xA;            }&#xA;            var link = htmlNode.Attributes[&quot;src&quot;].Value;&#xA;            var paragraph = doc.CreateElement(&quot;p&quot;);&#xA;            var text = link; // TODO: This might need to be expanded in the future&#xA;            var anchor = doc.CreateElement(&quot;a&quot;);&#xA;            anchor.InnerHtml = text;&#xA;            anchor.Attributes.Add(&quot;href&quot;, link);&#xA;            anchor.Attributes.Add(&quot;title&quot;, text);&#xA;            paragraph.InnerHtml = anchor.OuterHtml;&#xA;&#xA;            var original = htmlNode.OuterHtml;&#xA;            var replacement = paragraph.OuterHtml;&#xA;&#xA;            current = current.Replace(original, replacement);&#xA;        }&#xA;&#xA;        return current;&#xA;    }&#xA;&#xA;    private string StripInlineStyles(string current)&#xA;    {&#xA;        // Uses HtmlAgilityPack (install-package HtmlAgilityPack)&#xA;        var doc = GetHtmlDocument(current);&#xA;        var elements = doc.DocumentNode.Descendants();&#xA;        foreach (var htmlNode in elements)&#xA;        {&#xA;            if (htmlNode.Attributes[&quot;style&quot;] == null)&#xA;            {&#xA;                continue;&#xA;            }&#xA;&#xA;            htmlNode.Attributes.Remove(htmlNode.Attributes[&quot;style&quot;]);&#xA;        }&#xA;&#xA;        var builder = new StringBuilder();&#xA;        var writer = new StringWriter(builder);&#xA;        doc.Save(writer);&#xA;        return builder.ToString();&#xA;    }&#xA;&#xA;    private string ReplaceEmbedWithLink(string current)&#xA;    {&#xA;        // Uses HtmlAgilityPack (install-package HtmlAgilityPack)&#xA;        var doc = GetHtmlDocument(current);&#xA;        var elements = doc.DocumentNode.Descendants(&quot;embed&quot;);&#xA;        foreach (var htmlNode in elements)&#xA;        {&#xA;            if (htmlNode.Attributes[&quot;src&quot;] == null) continue;&#xA;&#xA;            var link = htmlNode.Attributes[&quot;src&quot;].Value;&#xA;            var paragraph = doc.CreateElement(&quot;p&quot;);&#xA;            var anchor = doc.CreateElement(&quot;a&quot;);&#xA;            anchor.InnerHtml = link;&#xA;            anchor.Attributes.Add(&quot;href&quot;, link);&#xA;            anchor.Attributes.Add(&quot;title&quot;, link);&#xA;            paragraph.InnerHtml = anchor.OuterHtml;&#xA;            var original = htmlNode.OuterHtml;&#xA;            var replacement = paragraph.OuterHtml;&#xA;&#xA;            current = current.Replace(original, replacement);&#xA;        }&#xA;&#xA;        return current;&#xA;    }&#xA;&#xA;    private string UpdateAmpImages(string current)&#xA;    {&#xA;        // Uses HtmlAgilityPack (install-package HtmlAgilityPack)&#xA;        var doc = GetHtmlDocument(current);&#xA;        var imageList = doc.DocumentNode.Descendants(&quot;img&quot;);&#xA;&#xA;        const string ampImage = &quot;amp-img&quot;;&#xA;        if (!imageList.Any()) &#xA;        {&#xA;            return current;&#xA;        }&#xA;&#xA;        if (!HtmlNode.ElementsFlags.ContainsKey(&quot;amp-img&quot;))&#xA;        {&#xA;            HtmlNode.ElementsFlags.Add(&quot;amp-img&quot;, HtmlElementFlag.Closed);&#xA;        }&#xA;&#xA;        foreach (var imgTag in imageList)&#xA;        {&#xA;            var original = imgTag.OuterHtml;&#xA;            var replacement = imgTag.Clone();&#xA;            replacement.Name = ampImage;&#xA;            replacement.Attributes.Remove(&quot;caption&quot;);&#xA;            current = current.Replace(original, replacement.OuterHtml);&#xA;        }&#xA;&#xA;        return current;&#xA;    }&#xA;&#xA;    private HtmlDocument GetHtmlDocument(string htmlContent)&#xA;    {&#xA;        var doc = new HtmlDocument&#xA;        {&#xA;            OptionOutputAsXml = true,&#xA;            OptionDefaultStreamEncoding = Encoding.UTF8&#xA;        };&#xA;        doc.LoadHtml(htmlContent);&#xA;&#xA;        return doc;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Disclaimer: This isn't heavily tested, but addresses the main AMP vs. HTML issues you're likely to encounter.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Differentiating your AMP page output from your normal page output&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This is a two-step process.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1: Configure a Sitecore Layout Device for AMP&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Create a new Device and establish a querystring parameter for switching to this device mode:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Gv1Bo.png&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Gv1Bo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also probably get fancy and use agent detection, but I don't think there's a dedicated AMP agent, so it's important to have a way to explicitly differentiate between your default output and your AMP output. Querystrings are your friend.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2: Create a meta tag in your Default Device Layout that references your AMP Device layout for the context Item.&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;link rel=&quot;amphtml&quot; href=&quot;@LinkManager.GetItemUrl(RenderingContext.Current.ContextItem)?google=amp&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Profit!&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that although you could AMP-ify your entire website, it's only supposed to be for newsy-article kind of stuff. Don't expect to be able to include tons of anciliary content, cross-sells or calls to action. This is mostly about goodwill content for mobile users.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="10" LastEditDate="2016-10-26T02:09:42.240" LastActivityDate="2016-10-26T02:09:42.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1820" PostTypeId="2" ParentId="1220" CreationDate="2016-10-25T18:00:44.120" Score="5" Body="&lt;p&gt;Given this works for you on other environments with (presumably) the same code, the problem is most likely somewhere in the databases or files not in version control (including tokenized files). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever I see a &lt;code&gt;NullReferenceException&lt;/code&gt; without any obvious clue as to what was null, I go straight to the source code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.UIUtil.GetBrowserClassString()&lt;/code&gt;, the method throwing the null-ref exception, has the following source code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static string GetBrowserClassString()&#xA;{&#xA;  string str = string.Empty;&#xA;  if (UIUtil.IsIE())&#xA;    str = str + &quot; ie&quot; + &quot; ie&quot; + (object) UIUtil.GetBrowserMajorVersion();&#xA;  else if (UIUtil.IsFirefox())&#xA;    str = str + &quot; ff&quot; + &quot; ff&quot; + (object) Client.Device.Capabilities.Browser.MajorVersion;&#xA;  else if (UIUtil.IsWebkit())&#xA;    str = str + &quot; ff&quot; + &quot; wk&quot; + &quot; wk&quot; + (object) Client.Device.Capabilities.Browser.MajorVersion;&#xA;  return str.Trim();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The most likely part of that code that could reasonably be null (thanks to statics and value types) is &lt;code&gt;Client.Device&lt;/code&gt;. Perhaps you have some site in &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; misconfigured, or one of the devices in &lt;code&gt;/sitecore/layout/devices&lt;/code&gt; is missing or misconfigured (for example, the &lt;code&gt;Capabilities&lt;/code&gt; object might be null if your Sitecore instance has something odd in the &lt;code&gt;Capabilities Type&lt;/code&gt; field). &lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-25T18:00:44.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1821" PostTypeId="1" AcceptedAnswerId="1825" CreationDate="2016-10-25T18:08:41.990" Score="22" ViewCount="5491" Body="&lt;p&gt;For the purpose of this conversation, let's leave URL rewriting that doesn't result in a browser redirect off the table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are a number of URL Redirect scenarios that are regularly encountered for SEO purposes. Which ones should be handled by IIS UrlRewrite and which should be implemented by the Sitecore developer (using off-the-shelf or custom modules)&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Canonical Hostnames ex: &lt;code&gt;mysite.com&lt;/code&gt; 301 to &lt;code&gt;www.mysite.com&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Replacement Hostnames ex: &lt;code&gt;myoldhostname.com&lt;/code&gt; 301 to &lt;code&gt;mynewhostname.com&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Enforcing HTTPS ex: &lt;code&gt;http://host.com&lt;/code&gt; 301 to &lt;code&gt;https://host.com&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Marketing URLs ex: &lt;code&gt;/myshortpath&lt;/code&gt; 301 to &lt;code&gt;/the/actual/path/to/item&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Dead URLs ex: &lt;code&gt;/myoldpage&lt;/code&gt; 301 to &lt;code&gt;/mynewpage&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Relocated Branches ex: &lt;code&gt;/myoldbranch/*&lt;/code&gt; 301 to &lt;code&gt;/mynewbranch/here/*&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;(other scenarios welcome!)&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="73" LastEditDate="2016-11-24T18:07:07.380" LastActivityDate="2016-11-24T18:07:07.380" Title="URL Redirects, When to use Sitecore vs. when to use IIS UrlRewrite Rules" Tags="|best-practices|redirect|seo|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1822" PostTypeId="2" ParentId="1817" CreationDate="2016-10-25T18:10:36.773" Score="8" Body="&lt;p&gt;This can be a number of things, but it sounds like the merge processes might be the thing. Look into this &lt;a href=&quot;https://cwiki.apache.org/confluence/display/solr/IndexConfig+in+SolrConfig&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cwiki.apache.org/confluence/display/solr/IndexConfig+in+SolrConfig&lt;/a&gt; for more information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To limit disk space, you should use very LOW merge factors (segmentsPerTier in tieredmergepolicy - mergefactor in LogByteSizeMergePolicy). It will make indexing slower though (might be tremendously slower). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a growing index, you need more disk space. You need to use some sort of capacity management to foresee growth and align this with document growth and expectations of this to know what to ask for, but with indexes and growing contentsize taken into account, you just need to ask for a lot more than you expected.&lt;/p&gt;&#xA;" OwnerUserId="214" LastEditorUserId="2395" LastEditDate="2017-10-31T12:51:56.867" LastActivityDate="2017-10-31T12:51:56.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1823" PostTypeId="2" ParentId="622" CreationDate="2016-10-25T18:19:54.310" Score="4" Body="&lt;p&gt;There are a number of factors to this. If yoiu want to calculate the MAXIMUM you should allocate to the JVM on a dedicate Solr box running windows, I would say Floor((Machine memory - 1 GB) / 2) is a good approximation.&#xA;THe formular says to leave a Gig of memory for the os - and for the rest leave 50% of the remaining for OS disk file cache and the other 50% for the JVM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I can see in the exception you put in the question, the OOM exception was just due to not having enough memory for the search operation and saving the statistics for it - so not even something which is expected to use a lot of memory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best running scenario would be if you have indexsize+2 GB of memory - meaning you can keep all the index in the JVM memory and some for OS etc. If you have this you can assign more memory to the JVM as the OS disk cache is not important then - but index changes are expensive then.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you have large analytics indexes (sitecore 8+) your memory consumption will rise quite a lot due to a high amount of index writes and commits. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;the golden rule of Solr and memory is &quot;as much as you can afford....&quot;&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2016-10-25T18:19:54.310" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1824" PostTypeId="2" ParentId="1821" CreationDate="2016-10-25T18:24:35.943" Score="9" Body="&lt;p&gt;If it was my decision I would insist that everything that is configured once and you don't plan to change it (like 1, 2 and 3 from your list) always should be set before they even hit Sitecore. IIS UrlRewrite module is one of the options. No points in wasting any IIS resources for them. They won't be changed by authors, editors, marketers or administrators anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the things which can be changed frequently, should go to Sitecore. This way authors/editors/whateverwecallthem can manage urls in one place and adding new rule doesn't require application restart (like it is with web.config changes).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your 4, 5 and 6 doesn't necessarily fit to either of those sets above. There is no one good solution here. You should always think of what is best in your scenario.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="95" LastEditDate="2016-10-26T00:27:34.527" LastActivityDate="2016-10-26T00:27:34.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1825" PostTypeId="2" ParentId="1821" CreationDate="2016-10-25T18:46:53.667" Score="23" Body="&lt;p&gt;Using IIS URL Rewrite (or firewall/load balancer/CDN) is appropriate for all domain-name and protocol changes (i.e. everything to the left of &quot;/&quot;). This covers #1, #2, and #3 from your list. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd argue that Sitecore should be used for any redirect (other than the above redirects) that editors/authors are responsible for. Putting those redirects in Sitecore allows the editors/authors to change the redirects without asking IT/development to make any changes. This covers #4, #5, and #6 in your list. &lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-10-25T18:46:53.667" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1826" PostTypeId="2" ParentId="91" CreationDate="2016-10-25T18:58:15.880" Score="7" Body="&lt;p&gt;Because Sitecore does not provide you the hooks to validate the transaction you're after, your best bet is to hide the security features and manage them in code. Here's a few suggestions that aren't too onerous to implement.&lt;/p&gt;&#xA;&lt;h1&gt;Prerequisite: Lock Sitecore Users out of Security Features&lt;/h1&gt;&#xA;&lt;p&gt;Make sure no one has access to &lt;code&gt;Sitecore Client Securing&lt;/code&gt;&#xA;Make sure no one has the &lt;code&gt;Administer&lt;/code&gt; right on any Items.&lt;/p&gt;&#xA;&lt;h1&gt;Create Security Privileges as part of Item Creation&lt;/h1&gt;&#xA;&lt;p&gt;There are probably some basic conventions to your security scheme. Assuming something Helix/Habitat like, you probably have roles to manage Tenants, Site Groups and Sites.&lt;/p&gt;&#xA;&lt;p&gt;When a new scope object is created (Tenant, Site, etc) consider creating the security roles for it as part of the Item Created process, then assigning the new roles the appropriate rights. This could either be done with an Item Created/Saved rule or a Branch Template. All that's left is to assign users to roles.&lt;/p&gt;&#xA;&lt;h1&gt;Consider some sort of Security Facade&lt;/h1&gt;&#xA;&lt;p&gt;You could create some sort of settings Items that represent actual Security roles and using a system of &lt;code&gt;multilist&lt;/code&gt; fields on Items that need securing, allow content authors to perform security themselves through the facade. On &lt;code&gt;Item:Saved&lt;/code&gt;, you then read these fields and make the necessary changes through the actual Security API.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-25T18:58:15.880" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1830" PostTypeId="2" ParentId="1821" CreationDate="2016-10-26T03:10:04.483" Score="4" Body="&lt;p&gt;As developers, we sometimes too focused on our application and forget about other cool tools we have around us. In your question you are referring to two options - IIS and Sitecore, but there is at least one more. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am talking about network hardware that handles traffic between user and IIS. It is not uncommon to find 'smart' Load Balancer or Firewall that is already implemented as part of the solution and can perform 301 redirects. Ask your IT team if you are not sure. If it is not there yet, you have one more reason to install one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moving 301 redirects away from application is preferable option for me for number of reasons:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In case you have Web Farm (2+ CD servers), implementing rules in IIS will require repeating work on every CD server. With Load Balancer you need to do it only once.&lt;/li&gt;&#xA;&lt;li&gt;URL Redirect module can update web.config file and trigger Sitecore restart and site downtime.&lt;/li&gt;&#xA;&lt;li&gt;Network implementation has much better performance and secutiry. IIS and Sitecore pipelines are designed for more complicated scenarios and not so efficient. &lt;/li&gt;&#xA;&lt;li&gt;Application and Redirects are two separate concerns and splitting them into two independent components make solution more manageable&lt;/li&gt;&#xA;&lt;li&gt;It looks better on deployment diagram :) &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-10-26T03:10:04.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1831" PostTypeId="2" ParentId="1087" CreationDate="2016-10-26T03:15:12.337" Score="9" Body="&lt;p&gt;&lt;strong&gt;NB:&lt;/strong&gt; The following description works for both xDB on-premises as well as xDB Cloud.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore Experience Database aka Sitecore xDB, there are &lt;code&gt;Collection&lt;/code&gt; repository and &lt;code&gt;Reporting&lt;/code&gt; repository.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Collection&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Collection&lt;/code&gt; repository is powered by &lt;a href=&quot;https://www.mongodb.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDB&lt;/a&gt; and includes the following databases:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;analytics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.live&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.history&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.contact&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Reporting&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Reporting&lt;/code&gt; repository is powered by &lt;a href=&quot;https://www.microsoft.com/en-us/sql-server/sql-server-2016&quot; rel=&quot;nofollow noreferrer&quot;&gt;SQL Server&lt;/a&gt; and includes the following databases:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;reporting&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;reporting.secondary&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Processing&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Between those two repositories, Sitecore has &lt;code&gt;Processing&lt;/code&gt; role, which takes raw visitors data, aggregates, processes, &lt;strike&gt;does some magic&lt;/strike&gt; and saves into the &lt;code&gt;Reporting&lt;/code&gt; repository.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Content Delivery&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In front of the &lt;code&gt;Collection&lt;/code&gt; repository, Sitecore has &lt;code&gt;Content Delivery&lt;/code&gt; role (aka &lt;code&gt;CD&lt;/code&gt;), which has direct access to MongoDB databases and it writes all visitors activity in a raw format.   &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Reporting Service&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Behind the &lt;code&gt;Reporting&lt;/code&gt; repository, Sitecore has &lt;code&gt;Reporting Service&lt;/code&gt; role, which has direct access to SQL Server database.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Content Management&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Under the &lt;code&gt;Reporting Service&lt;/code&gt; role, Sitecore has &lt;code&gt;Content Management&lt;/code&gt; role (aka &lt;code&gt;CM&lt;/code&gt;), which sends SQL queries to the &lt;code&gt;Reporting Service&lt;/code&gt; role to execute them against the &lt;code&gt;reporting&lt;/code&gt; SQL Server databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Content Management&lt;/code&gt; role, provides the following apps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Experience Analytics&lt;/li&gt;&#xA;&lt;li&gt;Experience Profile&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Experience Analytics&lt;/code&gt; app takes data from the &lt;code&gt;Collection&lt;/code&gt; repository. While the &lt;code&gt;Experience Profile&lt;/code&gt; app takes data from the &lt;code&gt;Collection&lt;/code&gt; repository.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; I took away the &lt;code&gt;sitecore_analytics_index&lt;/code&gt; search index from the above description to simply it a bit.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Troubleshooting&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Therefore, if the &lt;code&gt;Experience Profile&lt;/code&gt; app doesn't show any data that means something goes wrong in the above sequence, and typical troubleshooting scenario is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Check if the &lt;code&gt;CD&lt;/code&gt; role flushes raw visitors' data into the &lt;code&gt;Collection&lt;/code&gt; repository:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Using &lt;a href=&quot;https://robomongo.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Robomongo&lt;/a&gt; tool, connect to the &lt;code&gt;analytics&lt;/code&gt; database and run the following query against the &lt;code&gt;Interactions&lt;/code&gt; collection to see date time of the last save interaction:&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;db.Interactions.find().sort({SaveDateTime:-1}).limit(1)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;If you can see recently saved documents then go to step #2.&lt;/li&gt;&#xA;&lt;li&gt;If not then check the connection strings to the databases of the &lt;code&gt;Collection&lt;/code&gt; repository, and if your session state provider supports the &lt;code&gt;Session_End&lt;/code&gt; event, because this is when Sitecore starts flushing data.&lt;/li&gt;&#xA;&lt;li&gt;When Sitecore can't flus data, it dumps it in the file system under the &lt;code&gt;\Data\Submit Queue&lt;/code&gt; path.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check if the &lt;code&gt;Processing&lt;/code&gt; role saves cooked date in the &lt;code&gt;Reporting&lt;/code&gt; repository:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Using &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/mt238290.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;SQL Server Management Studio&lt;/a&gt;, connect to the &lt;code&gt;reporting&lt;/code&gt; database and run the following query against the &lt;code&gt;[Trail_Interactions]&lt;/code&gt; table:&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SELECT TOP 1 [Processed] FROM [Trail_Interactions] ORDER BY [Processed] DESC&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;If you can see recently processed interaction then go to step #3.&lt;/li&gt;&#xA;&lt;li&gt;If not then you need to check Sitecore Log files on the &lt;code&gt;Processing&lt;/code&gt; role. Most likely there is an exception(s) that explains why aggregation process fails. However, it's tricky with an xDB Cloud Set, because you don't have an access to it. In this case, I would recommend filing a support ticket to Sitecore.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check if the &lt;code&gt;Content Management&lt;/code&gt; role is configured to talk to the &lt;code&gt;Reporting Service&lt;/code&gt;. The following configuration files must be enabled:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Xdb.Remote.Client.MarketingAssets.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Xdb.Remote.Client.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.PathAnalyzer.RemoteClient.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="973" LastEditorUserId="973" LastEditDate="2017-09-01T19:25:49.773" LastActivityDate="2017-09-01T19:25:49.773" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1833" PostTypeId="1" AcceptedAnswerId="1852" CreationDate="2016-10-26T06:37:50.663" Score="8" ViewCount="1185" Body="&lt;p&gt;I am trying to insert a form into a page via code; however, I can't get it to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the code from this Sitecore article:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/81/using_web_forms/creating_web_forms/insert_a_web_form_directly_on_a_web_page#_Insert_a_web_2&quot;&gt;&lt;strong&gt;Insert a web form directly on a web page&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using Sitecore.Mvc.Presentation;&#xA;&#xA;@{&#xA;    RenderingContext.Current.Rendering.Parameters[&quot;FormId&quot;] = &quot;&amp;lt;id of the form item&amp;gt;&quot;;&#xA;}&#xA;&#xA;@Html.Sitecore().Controller(&quot;Sitecore.Forms.Mvc.Controllers.FormController, Sitecore.Forms.Mvc&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;&amp;lt;id of the form item&amp;gt;&lt;/code&gt; is being replaced with the form's item ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page tries to render the form using the data source of the current rendering instead of the &lt;code&gt;&amp;lt;id of the form item&amp;gt;&lt;/code&gt;. Has anyone else experienced this or solved it?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.1 rev. 160519&lt;/li&gt;&#xA;&lt;li&gt;Web Forms for Marketers 8.1 rev. 160523&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="91" LastEditorUserId="104" LastEditDate="2016-10-26T07:05:57.650" LastActivityDate="2016-10-26T20:36:50.843" Title="Including a WFFM form in a page—how do I specify the form ID from code?" Tags="|wffm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1835" PostTypeId="1" AcceptedAnswerId="1837" CreationDate="2016-10-26T07:28:39.907" Score="8" ViewCount="768" Body="&lt;p&gt;If I need to change a Sitecore user's password, the dialog requires that I submit the old password at the same time. Often I don't know the old password, so within the same dialog I can generate a new one, copy-paste it into the 'old password' field and then set a new password.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These seems like a strange process. What is the rationale to this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EKsd8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EKsd8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="898" LastEditorUserId="755" LastEditDate="2016-10-26T12:59:08.463" LastActivityDate="2016-11-20T04:03:10.277" Title="Why does Sitecore insist on generating a new password to provide the 'old' password, when setting a new password" Tags="|security|account|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1836" PostTypeId="2" ParentId="91" CreationDate="2016-10-26T07:46:21.663" Score="2" Body="&lt;p&gt;The approach to sheerUi seems fine. As an alternative to blocking the save outright and as you say possibly loosing other changes made, you could strip the user-account specific permissions from the inMemoryItem and let the rest go through.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var accessRules = itemInMemory.Security.GetAccessRules();&#xA;foreach (var accessRule in accessRules)&#xA;{&#xA;    if (accessRule.Account.AccountType == AccountType.User)&#xA;    {&#xA;        accessRules.Helper.RemoveWildcardMatches(accessRule.Account);&#xA;    }&#xA;}&#xA;&#xA;// alert sheerUi&#xA;&#xA;// allow save&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="898" LastEditorUserId="10" LastEditDate="2016-10-27T02:29:26.003" LastActivityDate="2016-10-27T02:29:26.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1837" PostTypeId="2" ParentId="1835" CreationDate="2016-10-26T08:00:31.377" Score="7" Body="&lt;p&gt;I don't think there is any specific reason.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My guess would be that it is just because that is how the ASP.NET Membership API is structured. You cannot change the password without knowing the password (which you can by resetting it).&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; var user = Membership.GetUser(username);&#xA; var randomPassword = user.ResetPassword();&#xA; user.ChangePassword(randomPassword, newPassword);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;They should of course easily be able to combine it like above, so it's probably just an oversight on their part.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2016-11-18T09:33:45.887" LastActivityDate="2016-11-18T09:33:45.887" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1838" PostTypeId="2" ParentId="1600" CreationDate="2016-10-26T08:09:26.517" Score="16" Body="&lt;h1&gt;Disclaimer: This Ain't Pretty -- But It Works&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;So after many hours of my nighttime and sleep chewing over this question, I have finally figured out the path. I will warn you, it's not easy. First let's discuss environment. I'm using &lt;strong&gt;Sitecore 8.1 - Update 3&lt;/strong&gt;. For the most part this is a vanilla install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second, there are two sides to Sitecore: &lt;strong&gt;Content Editor&lt;/strong&gt; and &lt;strong&gt;Experience Editor&lt;/strong&gt;.  They are &lt;strong&gt;&lt;em&gt;not&lt;/em&gt;&lt;/strong&gt; the same, though they LOOK like they are. They use different controls but to the everyday developer, it looks like they share the same Field Type.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Step 1 - Follow Akshay's Blog Provided In Question&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In following Akshay's Blog, I was able to get the &lt;strong&gt;Content Editor&lt;/strong&gt; side working, with minimal issues. There were some changes I had to make, so I will list those here:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;TelephoneLink.cs&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System.Collections.Specialized;&#xA;using Sitecore;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Shell.Applications.ContentEditor;&#xA;using Sitecore.Text;&#xA;using Sitecore.Web.UI.Sheer;&#xA;&#xA;namespace SitecoreHacker.Sandbox.Controls&#xA;{&#xA;    public class TelephoneLink : Link&#xA;    {&#xA;        public TelephoneLink()&#xA;        {&#xA;            Class = &quot;scContentControl&quot;;&#xA;            Activation = true;&#xA;        }&#xA;&#xA;        // Handles the message.&#xA;        public override void HandleMessage(Message message)&#xA;        {&#xA;            Assert.ArgumentNotNull(message, &quot;message&quot;);&#xA;            base.HandleMessage(message); //base handles other message requests&#xA;&#xA;            if (message[&quot;id&quot;] != ID)&#xA;                return;&#xA;&#xA;            switch (message.Name)&#xA;            {&#xA;                case &quot;contentlink:telephonelink&quot;:&#xA;                {&#xA;                    var url = new UrlString(UIUtil.GetUri(&quot;control:TelephoneLinkForm&quot;));&#xA;                    Insert(url.ToString(), new NameValueCollection&#xA;                    {&#xA;                        {&#xA;                            &quot;height&quot;,&#xA;                            &quot;425&quot;&#xA;                        }&#xA;                    });&#xA;                    break;&#xA;                }&#xA;                default:&#xA;                {&#xA;                    return;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;TelephoneLinkForm.cs&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System;&#xA;using System.Text.RegularExpressions;&#xA;using Sitecore;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Shell.Applications.Dialogs;&#xA;using Sitecore.Web.UI.HtmlControls;&#xA;using Sitecore.Web.UI.Sheer;&#xA;using Sitecore.Xml;&#xA;&#xA;namespace SitecoreHacker.Sandbox.Controls.Dialogs.TelephoneLink&#xA;{&#xA;    public class TelephoneLinkForm : LinkForm&#xA;    {&#xA;        protected Edit Class;&#xA;        protected Edit Text;&#xA;        protected Edit Title;&#xA;        protected Edit Url;&#xA;&#xA;        private string GetTelephone()&#xA;        {&#xA;            var value = Url.Value;&#xA;            var str = value;&#xA;            if (str.Length &amp;gt; 0)&#xA;            {&#xA;                if (str.IndexOf(&quot;:&quot;, StringComparison.InvariantCulture) &amp;gt;= 0)&#xA;                {&#xA;                    str = str.Substring(str.IndexOf(&quot;:&quot;, StringComparison.InvariantCulture) + 1);&#xA;                }&#xA;                if (!new Regex(@&quot;^(?:\(?)(?&amp;lt;AreaCode&amp;gt;\d{3})(?:[\).\s]?)(?&amp;lt;Prefix&amp;gt;\d{3})(?:[-\.\s]?)(?&amp;lt;Suffix&amp;gt;\d{4})(?!\d)&quot;, RegexOptions.IgnoreCase).IsMatch(str))&#xA;                {&#xA;                    return &quot;__Canceled&quot;;&#xA;                }&#xA;            }&#xA;            if (value.Length &amp;gt; 0 &amp;amp;&amp;amp; value.IndexOf(&quot;:&quot;, StringComparison.InvariantCulture) &amp;lt; 0)&#xA;            {&#xA;                value = string.Concat(&quot;tel:&quot;, value);&#xA;            }&#xA;            return value;&#xA;        }&#xA;&#xA;        protected override void OnLoad(EventArgs e)&#xA;        {&#xA;            Assert.ArgumentNotNull(e, &quot;e&quot;);&#xA;            base.OnLoad(e);&#xA;            if (Context.ClientPage.IsEvent)&#xA;            {&#xA;                return;&#xA;            }&#xA;            var item = LinkAttributes[&quot;url&quot;];&#xA;            if (LinkType != &quot;tel&quot;)&#xA;            {&#xA;                item = string.Empty;&#xA;            }&#xA;            Text.Value = LinkAttributes[&quot;text&quot;];&#xA;            Url.Value = item.Replace(&quot;tel:&quot;, &quot;&quot;);&#xA;            Class.Value = LinkAttributes[&quot;class&quot;];&#xA;            Title.Value = LinkAttributes[&quot;title&quot;];&#xA;        }&#xA;&#xA;        protected override void OnOK(object sender, EventArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(sender, &quot;sender&quot;);&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            var tel = GetTelephone();&#xA;            if (tel == &quot;__Canceled&quot;)&#xA;            {&#xA;                SheerResponse.Alert(&quot;The telephone number is invalid.&quot;);&#xA;                return;&#xA;            }&#xA;            var packet = new Packet(&quot;link&quot;);&#xA;            SetAttribute(packet, &quot;text&quot;, Text);&#xA;            SetAttribute(packet, &quot;linktype&quot;, &quot;tel&quot;);&#xA;            SetAttribute(packet, &quot;url&quot;, tel);&#xA;            SetAttribute(packet, &quot;anchor&quot;, string.Empty);&#xA;            SetAttribute(packet, &quot;title&quot;, Title);&#xA;            SetAttribute(packet, &quot;class&quot;, Class);&#xA;            SheerResponse.SetDialogValue(packet.OuterXml);&#xA;            base.OnOK(sender, args);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Step 2 - Change WebEdit Link In Core&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Find the General Link Field Type and Change the Click to &lt;strong&gt;webedit:edittelephonelink&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QjVgS.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QjVgS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;h1&gt;Responsible Disclosure&lt;/h1&gt;&#xA;  &#xA;  &lt;p&gt;Before going further, a note about responsible disclosure.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;I am aware of my responsibilities as a developer and divulging large&#xA;  amounts of decompiled code on the internet. Therefore, the following&#xA;  code snippets for the rest of this answer have been redacted. &lt;strong&gt;THEY&#xA;  WILL NOT COMPILE&lt;/strong&gt; without first decompiling the original classes and&#xA;  making the changes that I specify. If you need assistance, please&#xA;  contact me directly.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Step 3 - Create TelephoneEditLink.cs&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This is the beginning of the not so pretty. The fact of the matter is&#xA;  I only need to CHANGE one line from the original &lt;strong&gt;EditLink&lt;/strong&gt; class&#xA;  from Sitecore. However, override this class cleanly proved to be a near impossible. So I took the easiest way I knew how. Cut and Paste.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;Original Class: Sitecore.Shell.Applications.WebEdit.Commands.EditLink&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace SitecoreHacker.Sandbox.Commands&#xA;{&#xA;    [Serializable]&#xA;    public class TelephoneEditLink : WebEditLinkCommand&#xA;    {&#xA;        public override void Execute(CommandContext context)&#xA;        {&#xA;&#xA;             ... snip ...  &#xA;&#xA;        }&#xA;&#xA;        protected static void Run(ClientPipelineArgs args)&#xA;        {&#xA;&#xA;            ... snip ...&#xA;&#xA;            if (args.IsPostBack)&#xA;            {&#xA;&#xA;               ... snip ...&#xA;&#xA;            }&#xA;            else&#xA;            {&#xA;                var urlString = new UrlString(Context.Site.XmlControlPage);&#xA;                urlString[&quot;xmlcontrol&quot;] = &quot;SpeakTelephoneLink&quot;;  //THIS IS THE ONE LINE THAT I NEEDED TO CHANGE&#xA;                var urlHandle = new UrlHandle();&#xA;                urlHandle[&quot;va&quot;] = new XmlValue(args.Parameters[&quot;fieldValue&quot;], &quot;link&quot;).ToString();&#xA;                urlHandle.Add(urlString);&#xA;                urlString.Append(&quot;ro&quot;, field.Source);&#xA;                Context.ClientPage.ClientResponse.ShowModalDialog(urlString.ToString(), &quot;550&quot;, &quot;650&quot;, string.Empty, true);&#xA;                args.WaitForPostBack();&#xA;            }&#xA;        }&#xA;&#xA;        private static RenderFieldResult RenderLink(ClientPipelineArgs args)&#xA;        {&#xA;&#xA;           ... snip ...&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;That ONE LINE that we needed to change introduces a NEW Speak Xml&#xA;  Control called &lt;strong&gt;SpeakTelephoneLink&lt;/strong&gt; which is a direct port of the&#xA;  &lt;strong&gt;GeneralLink&lt;/strong&gt; SPEAK Xml Control.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Step 4 - Patch In TelephoneEditLink.cs&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;webedit:edittelephonelink&quot; type=&quot;SitecoreHacker.Sandbox.Commands.TelephoneEditLink, SitecoreHacker.Sandbox&quot; /&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Step 5 - Create the &lt;em&gt;SpeakTelephoneLink.xml&lt;/em&gt; File&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Original File: /sitecore/shell/Applications/Dialogs/GeneralLink/GeneralLink.xml&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You will want to save this file somewhere under &lt;strong&gt;/sitecore/shell/Applications&lt;/strong&gt;. For the purposes of this answer, I am using &lt;strong&gt;/sitecore/shell/Applications/Dialogs/SpeakTelephoneLink/&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;control xmlns:def=&quot;Definition&quot; xmlns=&quot;http://schemas.sitecore.net/Visual-Studio-Intellisense&quot;&amp;gt;&#xA;  &amp;lt;SpeakTelephoneLink&amp;gt;&#xA;    &amp;lt;Stylesheet Src=&quot;/sitecore/shell/Applications/Dialogs/GeneralLink/GeneralLink.css&quot;&amp;gt;&amp;lt;/Stylesheet&amp;gt;&#xA;    &amp;lt;Script Src=&quot;/sitecore/shell/Applications/Dialogs/GeneralLink/GeneralLink.js&quot;&amp;gt;&amp;lt;/Script&amp;gt;&#xA;    &amp;lt;FormDialog Icon=&quot;Network/32x32/link.png&quot; Header=&quot;Insert a link&quot;&#xA;      Text=&quot;Select the link type and specify the appropriate properties.&quot;&#xA;      OKButton=&quot;OK&quot;&amp;gt;&#xA;      &amp;lt;CodeBeside Type=&quot;SitecoreHacker.Sandbox.Controls.Dialogs.SpeakTelephoneLink.SpeakTelephoneLinkForm,SitecoreHacker.Sandbox&quot;/&amp;gt;&#xA;      &amp;lt;DataContext ID=&quot;InternalLinkDataContext&quot; ViewName=&quot;Master&quot;/&amp;gt;&#xA;      &amp;lt;DataContext ID=&quot;MediaLinkDataContext&quot; Root=&quot;{3D6658D8-A0BF-4E75-B3E2-D050FABCF4E1}&quot;/&amp;gt;&#xA;&#xA;      &amp;lt;GridPanel Height=&quot;100%&quot; Width=&quot;100%&quot; VAlign=&quot;top&quot; Fixed=&quot;true&quot; Columns=&quot;3&quot;&amp;gt;&#xA;        &amp;lt;!--Left column--&amp;gt;&#xA;        &amp;lt;Border ID=&quot;Modes&quot; Height=&quot;100%&quot; Class=&quot;left-column&quot; Width=&quot;100%&quot; GridPanel.Height=&quot;100%&quot; GridPanel.Width=&quot;120px&quot;&amp;gt;&#xA;          &amp;lt;!--Internal link--&amp;gt;&#xA;          &amp;lt;Border ID=&quot;Internal&quot; onclick=&quot;javascript:return scForm.invoke('OnModeChange','internal')&quot; Class=&quot;selected&quot;&amp;gt;&#xA;            &amp;lt;a href=&quot;#&quot; class=&quot;mode&quot; onfocus=&quot;this.blur()&quot;&amp;gt;&#xA;              &amp;lt;ThemedImage Class=&quot;mode-icon&quot; Src=&quot;Network/32x32/link.png&quot; /&amp;gt;&#xA;              &amp;lt;div class=&quot;mode-text&quot;&amp;gt;&#xA;                &amp;lt;Literal Text=&quot;Internal Link&quot;/&amp;gt;&#xA;              &amp;lt;/div&amp;gt;&#xA;            &amp;lt;/a&amp;gt;&#xA;          &amp;lt;/Border&amp;gt;&#xA;&#xA;          &amp;lt;!--Media link--&amp;gt;&#xA;          ... snip ...&#xA;&#xA;          &amp;lt;!--External link--&amp;gt;&#xA;&#xA;          ... snip ...&#xA;&#xA;          &amp;lt;!--Telepehone link--&amp;gt;&#xA;          &amp;lt;Border ID=&quot;Telephone&quot;&amp;gt;&#xA;            &amp;lt;a href=&quot;#&quot; class=&quot;mode&quot; onclick=&quot;javascript:return scForm.invoke('OnModeChange','tel')&quot; onfocus=&quot;this.blur()&quot;&amp;gt;&#xA;              &amp;lt;ThemedImage Class=&quot;mode-icon&quot; Src=&quot;Network/32x32/earth.png?overlay=NetworkV2/16x16/link.png&quot; /&amp;gt;&#xA;              &amp;lt;div class=&quot;mode-text&quot;&amp;gt;&#xA;                &amp;lt;Literal Text=&quot;Telephone Link&quot;/&amp;gt;&#xA;              &amp;lt;/div&amp;gt;&#xA;            &amp;lt;/a&amp;gt;&#xA;          &amp;lt;/Border&amp;gt;&#xA;&#xA;          &amp;lt;!--Anchor link--&amp;gt;&#xA;&#xA;          ... snip ...&#xA;&#xA;          &amp;lt;!--Mail link--&amp;gt;&#xA;&#xA;          ... snip ...&#xA;&#xA;&#xA;          &amp;lt;!--Javascript link--&amp;gt;&#xA;&#xA;          ... snip ...&#xA;&#xA;&#xA;        &amp;lt;!--Center column--&amp;gt;&#xA;        &amp;lt;Space GridPanel.Width=&quot;8px&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;!--Right column--&amp;gt;&#xA;        &amp;lt;Border Class=&quot;right-column&quot; Height=&quot;100%&quot; GridPanel.Width=&quot;100%&quot; GridPanel.Height=&quot;100%&quot;&amp;gt;&#xA;          &amp;lt;GridPanel Width=&quot;100%&quot; Height=&quot;100%&quot; ID=&quot;MainGrid&quot;&amp;gt;&#xA;            &amp;lt;Border Class=&quot;section-header&quot; GridPanel.VAlign=&quot;top&quot;&amp;gt;&#xA;              &amp;lt;Literal ID=&quot;SectionHeader&quot; Text=&quot;Select the item that you want to create a link to and specify the appropriate properties.&quot; /&amp;gt;&#xA;            &amp;lt;/Border&amp;gt;&#xA;&#xA;&#xA;          ... snip ...&#xA;&#xA;&#xA;              &amp;lt;Literal Text=&quot;Telephone Number:&quot; GridPanel.NoWrap=&quot;true&quot;/&amp;gt;&#xA;              &amp;lt;Edit Width=&quot;100%&quot; Class=&quot;scQuirksBoxModel&quot; GridPanel.Row.ID=&quot;LinkTelephoneRow&quot; ID=&quot;LinkTelephone&quot;/&amp;gt;&#xA;&#xA;&#xA;          ... snip ...&#xA;&#xA;            &amp;lt;/GridPanel&amp;gt;&#xA;          &amp;lt;/GridPanel&amp;gt;&#xA;        &amp;lt;/Border&amp;gt;&#xA;      &amp;lt;/GridPanel&amp;gt;&#xA;&#xA;      &amp;lt;Button Header=&quot;Upload&quot; ID=&quot;UploadMedia&quot; def:placeholder=&quot;Buttons&quot; Click=&quot;UploadImage&quot;/&amp;gt;&#xA;    &amp;lt;/FormDialog&amp;gt;&#xA;  &amp;lt;/SpeakTelephoneLink&amp;gt;&#xA;&amp;lt;/control&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; the &lt;code&gt;&amp;lt;SpeakTelephoneLink&amp;gt;&lt;/code&gt; that wraps this. This was changed from &lt;code&gt;&amp;lt;GeneralLink&amp;gt;&lt;/code&gt;. Also note the &lt;code&gt;&amp;lt;CodeBeside&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Step 6 - Create the Code Beside: SpeakTelephoneLinkForm.cs&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Original Class: Sitecore.Shell.Applications.Dialogs.GeneralLink.GeneralLinkForm&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace SitecoreHacker.Sandbox.Controls.Dialogs.SpeakTelephoneLink&#xA;{&#xA;    public class SpeakTelephoneLinkForm : LinkForm&#xA;    {&#xA;        ... snip ...&#xA;        protected Edit LinkTelephone;&#xA;&#xA;        private string CurrentMode&#xA;        {&#xA;        ... snip ...&#xA;        }&#xA;&#xA;&#xA;        ... snip ...&#xA;&#xA;&#xA;        protected override void OnOK(object sender, EventArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(sender, &quot;sender&quot;);&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            var packet = new Packet(&quot;link&quot;);&#xA;            SetCommonAttributes(packet);&#xA;            bool flag;&#xA;            switch (CurrentMode)&#xA;            {&#xA;                case &quot;internal&quot;:&#xA;                    flag = SetInternalLinkAttributes(packet);&#xA;                    break;&#xA;                case &quot;media&quot;:&#xA;                    flag = SetMediaLinkAttributes(packet);&#xA;                    break;&#xA;                case &quot;external&quot;:&#xA;                    flag = SetExternalLinkAttributes(packet);&#xA;                    break;&#xA;                case &quot;tel&quot;:&#xA;                    flag = SetTelephoneLinkAttributes(packet);&#xA;                    break;&#xA;                case &quot;mailto&quot;:&#xA;                    flag = SetMailToLinkAttributes(packet);&#xA;                    break;&#xA;                case &quot;anchor&quot;:&#xA;                    flag = SetAnchorLinkAttributes(packet);&#xA;                    break;&#xA;                case &quot;javascript&quot;:&#xA;                    flag = SetJavascriptLinkAttributes(packet);&#xA;                    break;&#xA;                default:&#xA;                    throw new ArgumentException(&quot;Unsupported mode: &quot; + CurrentMode);&#xA;            }&#xA;            if (!flag)&#xA;                return;&#xA;            SheerResponse.SetDialogValue(packet.OuterXml);&#xA;            base.OnOK(sender, args);&#xA;        }&#xA;&#xA;        ... snip ...&#xA;&#xA;        private string GetTelephone()&#xA;        {&#xA;            var value = LinkTelephone.Value;&#xA;            var str = value;&#xA;            if (str.Length &amp;gt; 0)&#xA;            {&#xA;                if (str.IndexOf(&quot;:&quot;, StringComparison.InvariantCulture) &amp;gt;= 0)&#xA;                {&#xA;                    str = str.Substring(str.IndexOf(&quot;:&quot;, StringComparison.InvariantCulture) + 1);&#xA;                }&#xA;                if (&#xA;                    !new Regex(&#xA;                        @&quot;^(?:\(?)(?&amp;lt;AreaCode&amp;gt;\d{3})(?:[\).\s]?)(?&amp;lt;Prefix&amp;gt;\d{3})(?:[-\.\s]?)(?&amp;lt;Suffix&amp;gt;\d{4})(?!\d)&quot;,&#xA;                        RegexOptions.IgnoreCase).IsMatch(str))&#xA;                {&#xA;                    return &quot;__Canceled&quot;;&#xA;                }&#xA;            }&#xA;            if (value.Length &amp;gt; 0 &amp;amp;&amp;amp; value.IndexOf(&quot;:&quot;, StringComparison.InvariantCulture) &amp;lt; 0)&#xA;            {&#xA;                value = string.Concat(&quot;tel:&quot;, value);&#xA;            }&#xA;            return value;&#xA;        }&#xA;&#xA;        private bool SetTelephoneLinkAttributes(Packet packet)&#xA;        {&#xA;            Assert.ArgumentNotNull(packet, &quot;packet&quot;);&#xA;            var tel = GetTelephone();&#xA;            if (tel == &quot;__Canceled&quot;)&#xA;            {&#xA;                SheerResponse.Alert(&quot;The telephone number is invalid.&quot;);&#xA;                return false;&#xA;            }&#xA;            SetAttribute(packet, &quot;url&quot;, tel);&#xA;            SetAttribute(packet, &quot;text&quot;, Text);&#xA;            SetAttribute(packet, &quot;title&quot;, Title);&#xA;            SetAttribute(packet, &quot;class&quot;, Class);&#xA;            return true;&#xA;        }&#xA;&#xA;        private void SetTelephoneLinkControls()&#xA;        {&#xA;            if (LinkType == &quot;tel&quot; &amp;amp;&amp;amp; string.IsNullOrEmpty(Url.Value))&#xA;                LinkTelephone.Value = LinkAttributes[&quot;url&quot;].Replace(&quot;tel:&quot;,&quot;&quot;);&#xA;            ShowContainingRow(LinkTelephone);&#xA;            SectionHeader.Text =&#xA;                Translate.Text(&quot;Specify the Telephone, e.g. 800-555-1212&quot;);&#xA;        }&#xA;&#xA;        ... snip ...&#xA;&#xA;        /// &amp;lt;summary&amp;gt;The set mode specific controls.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;exception cref=&quot;T:System.ArgumentException&quot;&amp;gt;&#xA;        /// &amp;lt;/exception&amp;gt;&#xA;        private void SetModeSpecificControls()&#xA;        {&#xA;            HideContainingRow(TreeviewContainer);&#xA;            MediaPreview.Visible = false;&#xA;            UploadMedia.Visible = false;&#xA;            HideContainingRow(UrlContainer);&#xA;            HideContainingRow(Querystring);&#xA;            HideContainingRow(MailToContainer);&#xA;            HideContainingRow(LinkAnchor);&#xA;            HideContainingRow(JavascriptCode);&#xA;            HideContainingRow(Target);&#xA;            HideContainingRow(CustomTarget);&#xA;            switch (CurrentMode)&#xA;            {&#xA;                case &quot;internal&quot;:&#xA;                    SetInternalLinkContols();&#xA;                    break;&#xA;                case &quot;media&quot;:&#xA;                    SetMediaLinkControls();&#xA;                    break;&#xA;                case &quot;external&quot;:&#xA;                    SetExternalLinkControls();&#xA;                    break;&#xA;                case &quot;tel&quot;:&#xA;                    SetTelephoneLinkControls();&#xA;                    break;&#xA;                case &quot;mailto&quot;:&#xA;                    SetMailLinkControls();&#xA;                    break;&#xA;                case &quot;anchor&quot;:&#xA;                    SetAnchorLinkControls();&#xA;                    break;&#xA;                case &quot;javascript&quot;:&#xA;                    SetJavaScriptLinkControls();&#xA;                    break;&#xA;                default:&#xA;                    throw new ArgumentException(&quot;Unsupported mode: &quot; + CurrentMode);&#xA;            }&#xA;            foreach (Border control in Modes.Controls)&#xA;            {&#xA;                if (control != null)&#xA;                    control.Class = control.ID.ToLowerInvariant() == CurrentMode ? &quot;selected&quot; : string.Empty;&#xA;            }&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Step 7 - Compile and Deploy&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If all things work out, you'll see the Telephone Link option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HvEQn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HvEQn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-26T08:09:26.517" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1840" PostTypeId="2" ParentId="1289" CreationDate="2016-10-26T08:43:57.490" Score="7" Body="&lt;p&gt;When a user browses the site, the session/interaction is tracked in MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a session ends (due to inactivity and controlled by the timeout in the web.config), the commitSession pipeline kicks in and then the aggregation is done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the data is aggregated it is immediately available in the Experience Analytics dashboard. However, Experience Analytics caches the data, so you may have to wait a while before you can see it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can change the cache settings in Sitecore.ExperienceAnalytics.WebAPI.config. The settings you should be looking at are these: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;patch:attribute name=&quot;cacheEnabled&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;setting name=&quot;ExperienceAnalytics.Api.CacheExpiration&quot; value=&quot;00:00:00&quot; /&amp;gt;&#xA;&amp;lt;setting name=&quot;ExperienceAnalytics.InternalCacheExpiration&quot; value=&quot;00:00:00&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; in this example I have effectively disabled the cache. Don't do this in production environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thing which might have an impact on your data is this setting&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;ExperienceAnalytics.Aggregation.SegmentDeployDateOffsetPadding&quot; value=&quot;00:30:00&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in Sitecore.ExperienceAnalytics.Aggregation.config. When you install Sitecore a number of Segments are deployed in the Segments table in the reporting/analytics database. The deploy date of these segments control what data will be aggregated. As an example: If you install Sitecore at 12:00 on the 12th of 2012, any interactions before this time will not be aggregated.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="10" LastEditDate="2016-10-27T02:27:55.033" LastActivityDate="2016-10-27T02:27:55.033" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1841" PostTypeId="1" AcceptedAnswerId="1858" CreationDate="2016-10-26T08:56:55.850" Score="9" ViewCount="586" Body="&lt;p&gt;My Clients Azure PAAS site uses In-role Cache. The caching service faces frequent downtimes due to high CPU Usage. On investigation from Microsoft, it is strongly recommended to move to Redis Cache. But since it doesn't support the session_end event. We want to explore either MongoDb or SQL sessionstate providers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to hear your views on MongoDB session provider (pros &amp;amp; cons) , specifically, Are there any &lt;strong&gt;security&lt;/strong&gt; pitfalls when using MongoDB session providers? Anyone who has experience using both , Please put in your two cents on this.&lt;/p&gt;&#xA;" OwnerUserId="106" LastActivityDate="2016-10-26T12:34:43.300" Title="Sitecore SessionState provider MongoDB or SQL" Tags="|session-state|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1842" PostTypeId="1" CreationDate="2016-10-26T09:23:56.147" Score="4" ViewCount="144" Body="&lt;p&gt;I have seen the &lt;strong&gt;Sitecore Data Exchange Framework&lt;/strong&gt; documentation and it explains very well how to use and implement the tool. It allows you to import data from third party system to sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is, does the Sitecore Data Exchange Framework allows to import presentations also? I know presentation on an item is stored as xml in the Renderings Fields but can I use the Sitecore Data Exchange to import this also?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I have not implement any code right now since I am still in the analysis phase.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the imported content will already be known, for example, the contents to be imported are Articles, I will already know what presentation details needs to be setup on the item. Then we will update the excel file accordingly to have a field for the presentation since some Articles presentation may be slightly different from other Articles. This is why I wanted to know if the rendering field can be modified by the Data Exchange as this field is a Sitecore Standard Field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="73" LastEditDate="2017-02-02T10:59:44.317" LastActivityDate="2017-02-02T10:59:44.317" Title="Can I import presentation details via the Sitecore Data Exchange Framework" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1843" PostTypeId="2" ParentId="1842" CreationDate="2016-10-26T09:35:59.383" Score="3" Body="&lt;p&gt;As the presentation details are stored in fields I wouldn't see why you couldn't use the Sitecore Data Exchange Framework to overwrite them.&#xA;You'll have to create the right mapping to the field. Info about the mapping can be found here: &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.1/getting-started/mapping/index.html&quot; rel=&quot;nofollow&quot;&gt;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.1/getting-started/mapping/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I really doubt that it is a good idea. Can you explain more what the purpose of your import is?&#xA;You'll have presentation details in a 3rd party system?&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2016-10-26T09:35:59.383" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1844" PostTypeId="1" AcceptedAnswerId="1845" CreationDate="2016-10-26T09:39:38.133" Score="5" ViewCount="466" Body="&lt;p&gt;In our site we have some Ajax calls for performance measurements and cookie management. These calls show up in the path analyzer and distort the statistics.&#xA;They are reported as most visited and most efficient category which is, of course, not wat we want to see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the marketing Control Panel you can add filtering rules for each Map, but I'm not sure if that would even work (I could test this of course), but would really like to add some paths to a config file and filter them globally.&#xA;Is there a way to configure this?&lt;/p&gt;&#xA;" OwnerUserId="715" LastActivityDate="2020-01-06T12:18:36.927" Title="Filter pages from Path Analyzer" Tags="|configuration|path-analyzer|" AnswerCount="3" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1845" PostTypeId="2" ParentId="1844" CreationDate="2016-10-26T09:43:36.337" Score="6" Body="&lt;p&gt;Making the assumption that your ajax calls go to some code of your own, you could add &lt;code&gt;Tracker.Current.CurrentPage.Cancel();&lt;/code&gt; to that code to tell Sitecore not to add a record for this interaction. This way your ajax calls will no longer be in the analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a solution for future requests - it does not remove the data that is already in your analytics though.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-26T09:43:36.337" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1846" PostTypeId="2" ParentId="1833" CreationDate="2016-10-26T09:59:41.740" Score="5" Body="&lt;p&gt;From memory there is a discrepancy with the use of the 'formId' parameter vs setting the datasource of the form rendering to the desired form. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe when using MVC you need set the datasource, not the rendering parameter. You can call the wffm rendering as a rendering rather than a controller, which should allow you to do this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Html.Sitecore().Rendering(wffmFormRenderingId, new { DataSource = formId })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="898" LastEditorUserId="10" LastEditDate="2016-10-26T20:36:23.300" LastActivityDate="2016-10-26T20:36:23.300" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1847" PostTypeId="1" AcceptedAnswerId="1848" CreationDate="2016-10-26T10:48:24.997" Score="6" ViewCount="250" Body="&lt;p&gt;We are using Azure with Sitecore 8.0. I want to remove few config files(for e.g-all config files under ListManagement folder) which is already deployed in CD server. &#xA;How to delete/disable config files under ListManagement folder using azure deployment?&lt;/p&gt;&#xA;" OwnerUserId="984" LastActivityDate="2016-10-26T11:47:55.820" Title="How to disable a config file from CD server using Azure Deployment" Tags="|azure|deployment|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1848" PostTypeId="2" ParentId="1847" CreationDate="2016-10-26T11:09:20.597" Score="3" Body="&lt;p&gt;In your System area of the master DB you should have items in roughly this location:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Modules/Azure/&amp;lt;Environment&amp;gt;/&amp;lt;Location&amp;gt;/&amp;lt;Farm&amp;gt;/&amp;lt;WebRole&amp;gt;/&amp;lt;AzureDeployment&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;based on the template &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/templates/Azure/Deployment/Azure Deployment&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the item, go to the &lt;code&gt;Excludes&lt;/code&gt; section. To exclude specific files use the &lt;code&gt;&#xA;Deployment Type Exclude Files&lt;/code&gt; or &lt;code&gt;Exclude Files&lt;/code&gt; fields e.g:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;App_Config\ListManagement\Sitecore.ListManagement.config;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or to exclude an entire directory use &lt;code&gt;Deployment Type Exclude Directories&lt;/code&gt; or &lt;code&gt;Exclude Directories&lt;/code&gt; e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;App_Config\ListManagement;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2016-10-26T11:46:00.280" LastActivityDate="2016-10-26T11:46:00.280" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1849" PostTypeId="2" ParentId="1847" CreationDate="2016-10-26T11:29:50.787" Score="3" Body="&lt;p&gt;We removed the List Management configuration by adding all List Management specific &lt;em&gt;.config&lt;/em&gt; files to our project and replacing the content of the config files with the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="385" LastEditorUserId="104" LastEditDate="2016-10-26T11:47:55.820" LastActivityDate="2016-10-26T11:47:55.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1851" PostTypeId="1" AcceptedAnswerId="1854" CreationDate="2016-10-26T11:57:31.507" Score="16" ViewCount="3581" Body="&lt;p&gt;What is the difference between an update package (with &lt;code&gt;*.update extension&lt;/code&gt;) and a regular package created from the Package Designer in the Sitecore Desktop?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;update packages are typically created from an automated system such as TDS package creator, Sitecore Courrier, etc while zip packages are normally manually created&lt;/li&gt;&#xA;&lt;li&gt;both can contain items as well as files&lt;/li&gt;&#xA;&lt;li&gt;update packages must be installed via &lt;code&gt;/sitecore/admin/UpdateInstallationWizard.aspx&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;zip packages must be installed via Sitecore &lt;code&gt;Desktop &amp;gt; Development Tools &amp;gt; Installation Wizard&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But are there any other technical or &lt;em&gt;&lt;code&gt;semantic&lt;/code&gt;&lt;/em&gt; differences between the two? e.g. should an update package only be used to install &lt;em&gt;&lt;code&gt;updates&lt;/code&gt;&lt;/em&gt; to something, rather than installing a totally new module?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="5387" LastEditDate="2019-08-08T04:31:12.567" LastActivityDate="2020-08-17T11:14:58.073" Title="What are the differences between update and zip packages" Tags="|packages|update-packages|package-designer|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1852" PostTypeId="2" ParentId="1833" CreationDate="2016-10-26T12:05:05.057" Score="6" Body="&lt;p&gt;@Paul George is correct when he says there is a problem with the MVC Form Rendering and it requires a &lt;code&gt;DataSource&lt;/code&gt; instead of a FormID Parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now this causes a big problem, because there is no way of setting DataSource to the &lt;code&gt;@Html.Sitecore.Controller()&lt;/code&gt; Helper Method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only way to solve this is by actually rendering the form with  &lt;code&gt;@Html.Sitecore.Rendering()&lt;/code&gt; which support &lt;code&gt;DataSource&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the code should look like this&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;{F2CCA16D-7524-4E99-8EE0-78FF6394A3B3}&quot;, new { Datasource = &quot;&amp;lt;id of the form item&amp;gt;&quot;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;{F2CCA16D-7524-4E99-8EE0-78FF6394A3B3}&lt;/code&gt; is the ID of the &lt;code&gt;Mvc Form&lt;/code&gt; Controller rendering which is used for inserting forms in placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But after testing this there is actually an exception that there is no &lt;code&gt;UniqueId&lt;/code&gt; set for the Form, so it throws out an exception that the &lt;code&gt;UniqueId&lt;/code&gt; (which is required) is empty. So the actual code that should be used for rendering form in this manner is:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;{F2CCA16D-7524-4E99-8EE0-78FF6394A3B3}&quot;, new { Datasource = &quot;&amp;lt;id of the form item&amp;gt;&quot; , UniqueId = &quot;&amp;lt;unique id of the form rendering&amp;gt;&quot;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't think there is problem setting &lt;code&gt;&amp;lt;unique id of the form rendering&amp;gt;&lt;/code&gt; to some value you manually choose (or generate), but I might be wrong here. I tested a couple of submissions and they passed successfully. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Still as this functionality is obviously not very tested and probably unstable, I think that the best solution for you might be to just add the form the old fashioned way, by inserting it into a placeholder.&lt;/p&gt;&#xA;" OwnerUserId="127" LastEditorUserId="10" LastEditDate="2016-10-26T20:36:50.843" LastActivityDate="2016-10-26T20:36:50.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1853" PostTypeId="2" ParentId="1851" CreationDate="2016-10-26T12:14:45.360" Score="2" Body="&lt;p&gt;With the update installation wizard you can install update packages remotely without direct access to the sitecore server. As it is a standard ASP.NET web application. Besides that you're able to delete files and items with the update wizard.&lt;/p&gt;&#xA;" OwnerUserId="385" LastActivityDate="2016-10-26T12:14:45.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1854" PostTypeId="2" ParentId="1851" CreationDate="2016-10-26T12:15:25.187" Score="16" Body="&lt;h3&gt;Internal File Structure&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A big difference is the internal structure of the &lt;code&gt;.update&lt;/code&gt; package file. If you open up an update package file you will see the following folder structure:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d4fru.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d4fru.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A standard &lt;code&gt;.zip&lt;/code&gt; package does not contain all the folders for added, changed or deleted data. So an update package can do more than a standard zip package. IIRC you can't delete items by installing a zip package.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Installation method&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Also with the update package installation wizard, you get more visibility over what is being installed. You can analyze the package &lt;em&gt;before&lt;/em&gt; installing. It will give you a report to show what is going to be changed and any conflicts that will occur because of the install. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You &lt;em&gt;do not&lt;/em&gt; get the same merge options with an update package tho, so an update package can overwrite your items.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Error Reporting&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The update installation wizard also has better error reporting. On failure you can download details about the error to send to Sitecore support:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ng1ri.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ng1ri.png&quot; alt=&quot;Image from Sitecore Docs&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-26T12:15:25.187" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1855" PostTypeId="2" ParentId="1789" CreationDate="2016-10-26T12:20:53.890" Score="0" Body="&lt;p&gt;Your best bet is to keep the values in a config file instead of keeping them in IIS. If you need to change the values, you simply do them in the web.config&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;httpRuntime maxQueryStringLength=&quot;32768&quot; maxUrlLength=&quot;65536&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;other possibilities as illustrated on microsoft's website:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.iis.net/configreference/system.applicationhost/sites/sitedefaults/limits&quot; rel=&quot;nofollow&quot;&gt;https://www.iis.net/configreference/system.applicationhost/sites/sitedefaults/limits&lt;/a&gt;&#xA;&lt;a href=&quot;https://www.iis.net/configreference/system.applicationhost/weblimits&quot; rel=&quot;nofollow&quot;&gt;https://www.iis.net/configreference/system.applicationhost/weblimits&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="985" LastEditorUserId="10" LastEditDate="2016-10-27T02:26:27.903" LastActivityDate="2016-10-27T02:26:27.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1856" PostTypeId="2" ParentId="1851" CreationDate="2016-10-26T12:22:27.310" Score="1" Body="&lt;p&gt;&lt;strong&gt;Update Package:&lt;/strong&gt; A package used to update Sitecore solutions. Update packages&#xA;contain not only items, files, and metadata but also items or files to be deleted and&#xA;items or files to be changed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, update packages contain information about the&#xA;expected value of fields and hash values for files, making it possible to identify&#xA;potential conflicts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An update package uses the extension &lt;code&gt;.update&lt;/code&gt; to distinguish them&#xA;from regular Sitecore packages. Update packages cannot be installed using the&#xA;Installation Wizard that is available in the Sitecore Desktop. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A &lt;code&gt;.update package&lt;/code&gt; is actually a zip archive, so you can just rename the file from &lt;code&gt;.update to .zip&lt;/code&gt; and you will see it as a zip archive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The zip file contains both content Items and files. The zip file contains 3 folders: Items, files and metadata.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="5387" LastEditDate="2019-08-08T04:31:59.280" LastActivityDate="2019-08-08T04:31:59.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1857" PostTypeId="2" ParentId="1851" CreationDate="2016-10-26T12:25:54.740" Score="0" Body="&lt;p&gt;Aside from what has already been answered here by Richard, the installation process is quite different. Using the .update package you get very useful information on what happens while installing it like files conflicts(for example if someone manually updated one file the installation will flag that this file is different from the one being installed) which is really useful if you are setting up automated deployments.&#xA;Also the Sitecore upgrades are done using the .update package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regular Sitecore packages are useful for things like installing modules for the market place or moving copying items from different instances(which can be done with .update package if you are using TDS for example)&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-10-26T12:25:54.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1858" PostTypeId="2" ParentId="1841" CreationDate="2016-10-26T12:34:43.300" Score="4" Body="&lt;p&gt;We are using MongoDB extensively at present, rather than SQL, for Azure deployments.  The number of MongoDB collections required for Sitecore's xDB means we run our own MongoDB server cluster as it's much more cost-effective than PaaS solutions at the moment, and cheaper than equivalent SQL performance too.  Azure PaaS DocumentDB is billed per-collection and you'll need about 18 of them!  If you have some linux boxes they are very cheap, and you can add as many collections as you want - we have lots of utility stuff in there, as well as ELMAH logging into a &quot;fixed size&quot; collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the gold standard will be to get Redis going, either on the Azure Redis PaaS or on a standalone setup.  Up until recently, the Azure Redis system did not support callbacks for items evicted from the cache (called keyspace notifications in Redis-speak).  This made it clunky to support the OnSessionEnd event that Sitecore attaches its xDB processing tasks to.  The currently available Redis ASPNET Session State provider does &lt;strong&gt;not&lt;/strong&gt; support this critical event.  We use Redis as well as MongoDB, but more for volatile cache and backing APIs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I imagine it won't be too long before someone has a good crack at this.  I've looked into it, and it seems straight-forward enough, I just haven't had the time to string it all together.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Until that's available, the Mongo provider on Ubuntu will perform better for the same price.  There's no special security issues to speak of, as long as you remember to configure user accounts against your MongoDB.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-10-26T12:34:43.300" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1859" PostTypeId="1" AcceptedAnswerId="1863" CreationDate="2016-10-26T12:56:26.327" Score="16" ViewCount="5783" Body="&lt;p&gt;I am working in &lt;code&gt;Sitecore version 7.2&lt;/code&gt; and I was wondering how to get a last publish date for an item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get that any item has date created and date updated but it does not have a property called date published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, in order to get a last published date for an item, is it safe to assume that the &lt;strong&gt;&lt;code&gt;last updated date&lt;/code&gt;&lt;/strong&gt; in the &lt;strong&gt;&lt;code&gt;web database&lt;/code&gt;&lt;/strong&gt; for that particular item is the date the item was last published? Or is there something more elegant?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="403" LastEditorUserId="5387" LastEditDate="2019-08-08T04:29:38.827" LastActivityDate="2022-11-03T12:16:21.973" Title="How to get a 'last publish date' for an item" Tags="|publishing|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1860" PostTypeId="2" ParentId="1835" CreationDate="2016-10-26T13:00:06.400" Score="0" Body="&lt;p&gt;The screen shared for admins as for non-admins. The only difference is that an admin has the option to use the generate button. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a user could only change his password if he's logged on, he could provide the old password. An admin wouldn't know the password and could use the generate button.&lt;/p&gt;&#xA;" OwnerUserId="385" LastEditorUserId="755" LastEditDate="2016-10-26T13:07:15.160" LastActivityDate="2016-10-26T13:07:15.160" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1861" PostTypeId="2" ParentId="1859" CreationDate="2016-10-26T13:02:45.913" Score="0" Body="&lt;p&gt;You cannot get that information out of the box. &#xA;What you could do, is implement a bit of custom code to get the information you are looking for. &#xA;While using code, the following can help you get your result: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Database.Properties.GetLastPublishDate(Database target, Language language)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From here you can decide what to do with it. &lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-10-26T13:02:45.913" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1862" PostTypeId="2" ParentId="48" CreationDate="2016-10-26T13:10:42.150" Score="4" Body="&lt;p&gt;Creating a secure VPN to the CD environment, possibly temporarily for the publish operation would seem like a straightforward way of fulfilling the brief without engineering something new.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously this just swaps a firewall rule for SQL to a firewall rule for VPN, but it's not clear from the question why such restrictions exist.&lt;/p&gt;&#xA;" OwnerUserId="898" LastEditorUserId="898" LastEditDate="2016-10-26T21:56:02.293" LastActivityDate="2016-10-26T21:56:02.293" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1863" PostTypeId="2" ParentId="1859" CreationDate="2016-10-26T13:13:41.853" Score="11" Body="&lt;p&gt;You need to create some custom code to have such a functionality, out of the box Sitecore doesn't have such a functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create a template with two fields : Publishing Date and Publishing By.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create your own class: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; public class UpdatePublishingStatistics : PublishItemProcessor&#xA; {&#xA;    private const string PublishedFieldName = &quot;__Published&quot;;&#xA;    private const string PublishedByFieldName = &quot;__Published By&quot;;&#xA;&#xA;    public override void Process(PublishItemContext context)&#xA;    {&#xA;        SetPublishingStatisticsFields(context);&#xA;    }&#xA;&#xA;    private void SetPublishingStatisticsFields(PublishItemContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        Assert.ArgumentNotNull(context.PublishOptions, &quot;context.PublishOptions&quot;);&#xA;        Assert.ArgumentNotNull(context.PublishOptions.SourceDatabase, &quot;context.PublishOptions.SourceDatabase&quot;);&#xA;        Assert.ArgumentNotNull(context.PublishOptions.TargetDatabase, &quot;context.PublishOptions.TargetDatabase&quot;);&#xA;        Assert.ArgumentCondition(!ID.IsNullOrEmpty(context.ItemId), &quot;context.ItemId&quot;, &quot;context.ItemId must be set!&quot;);&#xA;        Assert.ArgumentNotNull(context.User, &quot;context.User&quot;);&#xA;&#xA;        SetPublishingStatisticsFields(context.PublishOptions.SourceDatabase, context.ItemId, context.User.Name);&#xA;        SetPublishingStatisticsFields(context.PublishOptions.TargetDatabase, context.ItemId, context.User.Name);&#xA;    }&#xA;&#xA;    private void SetPublishingStatisticsFields(Database database, ID itemId, string userName)&#xA;    {&#xA;        Assert.ArgumentNotNull(database, &quot;database&quot;);&#xA;        Item item = TryGetItem(database, itemId);&#xA;&#xA;        if (HasPublishingStatisticsFields(item))&#xA;        {&#xA;            SetPublishingStatisticsFields(item, DateUtil.IsoNow, userName);&#xA;        }&#xA;    }&#xA;&#xA;    private void SetPublishingStatisticsFields(Item item, string isoDateTime, string userName)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;        Assert.ArgumentNotNullOrEmpty(isoDateTime, &quot;isoDateTime&quot;);&#xA;        Assert.ArgumentNotNullOrEmpty(userName, &quot;userName&quot;);&#xA;&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            item.Editing.BeginEdit();&#xA;            item.Fields[PublishedFieldName].Value = DateUtil.IsoNow;&#xA;            item.Fields[PublishedByFieldName].Value = userName;&#xA;            item.Editing.EndEdit();&#xA;        }&#xA;    }&#xA;&#xA;    private Item TryGetItem(Database database, ID itemId)&#xA;    {&#xA;        try&#xA;        {&#xA;            return database.Items[itemId];&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(this.ToString(), ex, this);&#xA;        }&#xA;&#xA;        return null;&#xA;    }&#xA;&#xA;    private static bool HasPublishingStatisticsFields(Item item)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;        return item.Fields[PublishedFieldName] != null&#xA;                &amp;amp;&amp;amp; item.Fields[PublishedByFieldName] != null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add your pipeline : &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA; &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;     &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;publishItem&amp;gt;&#xA;       &amp;lt;processor type=&quot;Sitecore.Sandbox.Pipelines.Publishing.UpdatePublishingStatistics, Sitecore.Sandbox&quot;                     patch:after=&quot;processor[@type='Sitecore.Publishing.Pipelines.PublishItem.UpdateStatistics, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/publishItem&amp;gt;&#xA;     &amp;lt;/pipelines&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA; &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All the informations you can find here :  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2013/01/26/who-just-published-that-log-publishing-statistics-in-the-sitecore-client/&quot;&gt;https://sitecorejunkie.com/2013/01/26/who-just-published-that-log-publishing-statistics-in-the-sitecore-client/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="73" LastEditDate="2016-10-26T13:15:15.613" LastActivityDate="2016-10-26T13:15:15.613" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1864" PostTypeId="1" CreationDate="2016-10-26T13:25:37.540" Score="13" ViewCount="3010" Body="&lt;p&gt;This is a best practices question. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When designing the templates and content tree for a Sitecore installation, what determines whether a given field should be part of the &quot;Page's&quot; fields vs stored on a discrete Item and referenced as a DataSource?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm looking for a list of decision-making concerns, for example - Workflow behavior, or ease of translation.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="73" LastEditDate="2016-10-27T22:27:24.717" LastActivityDate="2018-04-25T16:33:46.737" Title="When to store content on the Context Item vs. a Rendering's Datasource Item" Tags="|best-practices|information-architecture|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1865" PostTypeId="1" CreationDate="2016-10-26T13:27:08.087" Score="1" ViewCount="602" Body="&lt;p&gt;We have a Sitecore 8.1 instance with the latest version of WFFM just installed.  Now I am trying to create a new form and I am getting the following error.  I have no idea at all what this means or how to debug or troubleshoot it.  Any ideas what could be causing this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.]&#xA;   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1596&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +438&#xA;   Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +311&#xA;   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0&#xA;   Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +129&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +266&#xA;   Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +285&#xA;   Sitecore.Data.Managers.ItemProvider.SaveItem(Item item) +291&#xA;   Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult(String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult) +81&#xA;   Sitecore.Data.Managers.PipelineBasedItemProvider.SaveItem(Item item) +230&#xA;   Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +229&#xA;   Sitecore.Forms.Shell.UI.CreateFormWizard.SaveAnalytics(FormItem form, String goalID) +571&#xA;   Sitecore.Forms.Shell.UI.CreateFormWizard.SaveForm() +741&#xA;   Sitecore.Forms.Shell.UI.CreateFormWizard.OnNext(Object sender, EventArgs formEventArgs) +66&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +76&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +193&#xA;   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35&#xA;   Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Object[] parameters) +37&#xA;   Sitecore.Reflection.ReflectionUtil.CallMethod(Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Object[] parameters) +66&#xA;   Sitecore.Web.UI.HtmlControls.Component.HandleMessage(Message message) +298&#xA;   Sitecore.Shell.Framework.Commands.ClientEventCommand.SendEventMessage() +219&#xA;   Sitecore.Shell.Framework.Commands.ClientEventCommand.Execute(CommandContext context) +16&#xA;   Sitecore.Web.UI.Sheer.ClientPage.RaiseEvent() +146&#xA;   Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +593&#xA;   System.Web.UI.Control.PreRenderRecursiveInternal() +113&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297&#xA;&#xA;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34274&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-10-26T13:27:08.087" Title="Error when trying to create a new form using Web Form for Marketers" Tags="|wffm|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1866" PostTypeId="2" ParentId="1835" CreationDate="2016-10-26T13:27:09.233" Score="11" Body="&lt;p&gt;If you are using Sitecore 8.1 Update-2 or newer then there is a new &lt;strong&gt;Security Tools&lt;/strong&gt; admin page that can be found at &lt;code&gt;/sitecore/admin/SecurityTools.aspx&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eTdSV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eTdSV.png&quot; alt=&quot;Security Tools Admin Page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;Reset User Password&lt;/em&gt; wil allow you to reset a users password without first having to generate a random password first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details about this (and other new admin pages) in &lt;a href=&quot;https://jammykam.wordpress.com/2016/08/23/sitecore-admin-pages-cheat-sheet-new-tools/&quot; rel=&quot;noreferrer&quot;&gt;this blog post&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that it is possible to reset the password without knowing the old one, and as Soren Kruse points out in his answer, this is pretty much what Sitecore have done with this new admin page:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;string text1 = this.ResetUserName.Text;&#xA;string text2 = this.ResetUserPassword.Text;&#xA;...&#xA;MembershipUser user = Membership.GetUser(text1);&#xA;string oldPassword = user.ResetPassword();&#xA;if (user.ChangePassword(oldPassword, text2))&#xA;  this.SetSuccessMessage(this.ResultResetPassword, &quot;Password successfully reset for user {0}.&quot;.FormatWith((object) text1));&#xA;   ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-26T13:27:09.233" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1868" PostTypeId="5" CreationDate="2016-10-26T13:32:56.627" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-10-26T13:32:56.627" LastActivityDate="2016-10-26T13:32:56.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1869" PostTypeId="4" CreationDate="2016-10-26T13:32:56.627" Score="0" Body="This question is part of a community series called `Sitecore Basics`. Elementary questions aimed at giving entry level developers and users an opportunity to find entry level questions on their quest to learn Sitecore." OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-26T13:44:59.853" LastActivityDate="2016-10-26T13:44:59.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1870" PostTypeId="1" CreationDate="2016-10-26T13:36:34.550" Score="5" ViewCount="756" Body="&lt;p&gt;Is it possible to generate a Sitecore zip installation package from a TDS project in a Visual Studio solution? Ideally, but not strictly, in a way that could run on a CI server.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-10-28T01:25:35.133" Title="How to generate Sitecore zip package from Visual Studio build process (or TDS)" Tags="|tds|packages|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1872" PostTypeId="1" AcceptedAnswerId="1877" CreationDate="2016-10-26T13:40:06.717" Score="15" ViewCount="14216" Body="&lt;p&gt;In Sitecore, under &lt;code&gt;/sitecore/layouts&lt;/code&gt;, I see the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Layouts&lt;/li&gt;&#xA;&lt;li&gt;Sublayouts&lt;/li&gt;&#xA;&lt;li&gt;Renderings&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What are these, and what makes them different?&lt;/strong&gt;  Are there any other types of layouts?&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-26T14:32:18.730" LastActivityDate="2020-03-06T12:23:01.720" Title="What is the difference between a Layout, Sublayout, and Rendering?" Tags="|presentation|documentation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1874" PostTypeId="1" AcceptedAnswerId="1914" CreationDate="2016-10-26T13:44:41.530" Score="5" ViewCount="6685" Body="&lt;p&gt;In the &lt;code&gt;Sitecore configuration&lt;/code&gt;, I see a lot of different nodes under the &lt;code&gt;&amp;lt;pipelines&amp;gt;&lt;/code&gt; element. I have been through the Sitecore Certification course and don't recall us covering these in detail?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is a pipeline?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Specifically:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What is a pipeline and how do I use one?&lt;/li&gt;&#xA;&lt;li&gt;What are the elements of a pipeline that I need in order to create a pipeline?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="5387" LastEditDate="2019-08-08T04:27:48.667" LastActivityDate="2019-08-08T04:27:48.667" Title="What is a pipeline?" Tags="|configuration|pipelines|documentation|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="1875" PostTypeId="2" ParentId="1874" CreationDate="2016-10-26T13:47:00.813" Score="7" Body="&lt;p&gt;You can read about Pipelines on the Sitecore community docs website: &lt;a href=&quot;http://sitecore-community.github.io/docs/pipelines-and-events/pipelines/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/pipelines-and-events/pipelines/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Pipelines are one of Sitecore’s essential integration concepts. They are used to extend existing functionality, and to allow custom functionality to be extended in the future. They also provide a level of documentation and transparency by virtue of how they are configured.&lt;/p&gt;&#xA;&lt;p&gt;A pipeline is basically a method whose flow is defined using XML.&lt;/p&gt;&#xA;&lt;p&gt;A pipeline consists of a sequence of processors. A processor is a .NET class that implements a method. When a pipeline is invoked, the processors are run in order.&lt;/p&gt;&#xA;&lt;p&gt;Pipelines are used to control most of Sitecore’s functionality. Processes ranging from authentication to request handling to publishing to indexing are all controlled through pipelines.&lt;/p&gt;&#xA;&lt;p&gt;Pipelines are defined in Sitecore.config and in Sitecore patch files.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="14" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-26T14:17:13.870" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1877" PostTypeId="2" ParentId="1872" CreationDate="2016-10-26T13:52:16.037" Score="23" Body="&lt;h2&gt;Layouts&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Provide the outermost HTML structure of a page.&lt;/li&gt;&#xA;&lt;li&gt;There is &lt;strong&gt;one&lt;/strong&gt; layout (per device) per page.&lt;/li&gt;&#xA;&lt;li&gt;Apply to WebForms (.aspx) &lt;strong&gt;and&lt;/strong&gt; MVC (.cshtml)&lt;/li&gt;&#xA;&lt;li&gt;Comprise of Layout definition item and aspx page (WebForms) or cshtml file (MVC)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Sublayouts&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Provide inner HTML structure to a component or structuring element of a page.&lt;/li&gt;&#xA;&lt;li&gt;Apply only to WebForms &lt;/li&gt;&#xA;&lt;li&gt;Comprise of a definition item + .ascx control.&lt;/li&gt;&#xA;&lt;li&gt;Can contain nested Sublayouts within their placeholders&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Renderings&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Provide inner HTML structure to a component or structuring element of a page.&lt;/li&gt;&#xA;&lt;li&gt;Can be used with WebForms (if using XSLT) OR MVC&lt;/li&gt;&#xA;&lt;li&gt;Sitecore MVC uses the following rendering sub-types:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Controller rendering: rendering definition item references a controller and action name&lt;/li&gt;&#xA;&lt;li&gt;View rendering: rendering definition item references a view (cshtml file) and optionally a viewmodel (which in turn references a model type in code)&lt;/li&gt;&#xA;&lt;li&gt;Item rendering: rendering definition item does not reference a controller or a view, instead it serves as a kind of 'placeholder'. The datasource item should have a rendering type associated with it via the __renderers field. Setting the datasource of an item rendering causes Sitecore to look at the datasource item itself to decide which rendering to use.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Comprise of a definition item + .xslt or .cshtml view&lt;/li&gt;&#xA;&lt;li&gt;Can contain nested renderings (or sublayouts [1]) within their placeholders&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;[1] can only contain nested sublayout if xslt rendering within a WebForms solution  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information on MVC-specific aspects can be found here: &lt;a href=&quot;http://www.matthewdresser.com/sitecore/sitecore-mvc-presentation-concepts&quot;&gt;http://www.matthewdresser.com/sitecore/sitecore-mvc-presentation-concepts&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2016-10-26T14:06:39.507" LastActivityDate="2016-10-26T14:06:39.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1879" PostTypeId="2" ParentId="1864" CreationDate="2016-10-26T14:00:44.960" Score="8" Body="&lt;p&gt;Some concerns that I always take in to consideration when designing architecture and templates, and where the content should live.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Reusability&lt;/strong&gt; - Is this content going to be used on more than one page? Some examples such as call to action boxes, focus areas, blurbs, descriptive copy about categories in the site, and so on. If the content is likely to be specific to the page and only the page, I tend to put it on that page's template. If not, I will consider making it a datasouce bound template.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Consideration for the Content Editor&lt;/strong&gt; - How is a content editor going to consider this content? For example, will a content editor want this type of content on every page of this template, or discriminently here and there? When encountering something that may be optional (for a product page, for example, maybe an example video): I'll tend to make that a seperate template databound.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Personalization&lt;/strong&gt; - Is this content likely to be visible/hidden/different based on a personalization facet I'm considering for this site? Perhaps I will hide e-mail sign up content if I know a user is logged in. Making these seperate components will make it easier to customize and replace the individual databound component rather than varying the whole page. (This also should be considered for multivariate testing: much easier to test a databound component than create and manage multiple page tests).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Globalization/Localization/Translation&lt;/strong&gt; - Is this content something I would want different for segments of the population based on language, region or locale? I will usually put that content on it's own template.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Layout Considerations&lt;/strong&gt; - Should the content always be in the same place on every page of that template? Should it take the same format? We sometimes would keep some content in a reusable data template independent of the page to make it easier for content authors to switch compatible renderings on the same content. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is not an exhaustive list, just what I had top of mind! Looking forward to others thoughts here.&lt;/p&gt;&#xA;" OwnerUserId="553" LastEditorUserId="553" LastEditDate="2016-10-26T17:15:36.767" LastActivityDate="2016-10-26T17:15:36.767" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1880" PostTypeId="2" ParentId="1864" CreationDate="2016-10-26T14:01:19.150" Score="-1" Body="&lt;p&gt;The first aspect I would look at is what happens to the content if &lt;strong&gt;only the context item is published&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the field is essential to the context item (eg. article content on the news page or price on the product page), then it should always be published along with the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In other words if the content comes from datasource and only the context item is published does the context item still makes sense?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another case is &lt;strong&gt;reusability&lt;/strong&gt; of the content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously if the content will be reused across the site it makes a good candidate to be stored in the datasource. That way it is possible to avoid content duplication and it helps to manage the content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However there might be a case when the field can be used on a context item and as a datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example if there is a product page, the price of the product belongs to the context item but on the promo box the same product item can be reused as a datasource to keep the content consistent.&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-10-26T14:01:19.150" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1883" PostTypeId="1" AcceptedAnswerId="1887" CreationDate="2016-10-26T14:19:59.473" Score="3" ViewCount="6331" Body="&lt;p&gt;In Sitecore's documentation you encounter terms such as &quot;static binding&quot; and &quot;dynamic binding&quot; of presentation components such as renderings.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What are the differences between static- and dynamic bindings?&lt;/li&gt;&#xA;&lt;li&gt;Why would I use static bindings?&lt;/li&gt;&#xA;&lt;li&gt;Why would I use dynamic bindings?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="29" LastEditorUserId="73" LastEditDate="2018-06-08T08:28:35.527" LastActivityDate="2018-06-08T08:28:35.527" Title="Benefits of static vs dynamic binding of renderings" Tags="|presentation|placeholders|dynamic-placeholder|" AnswerCount="1" CommentCount="2" ClosedDate="2016-10-26T17:43:54.590" ContentLicense="CC BY-SA 3.0" />
  <row Id="1884" PostTypeId="1" AcceptedAnswerId="1891" CreationDate="2016-10-26T14:22:41.213" Score="8" ViewCount="3184" Body="&lt;p&gt;Given that a data template can inherit from other data templates, what happens if the same field name is used in two separate inherited data templates?&lt;/p&gt;&#xA;" OwnerUserId="29" LastEditorUserId="246" LastEditDate="2016-10-26T14:33:10.613" LastActivityDate="2016-10-26T15:23:43.993" Title="What happens if the same field name is used in two separate inherited data templates?" Tags="|templates|documentation|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1885" PostTypeId="2" ParentId="1884" CreationDate="2016-10-26T14:50:03.720" Score="3" Body="&lt;p&gt;It's gonna be two different fields on the resulting item/template because fields are actually Items and technically their Unique ID is Guid, not the Name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. you could have installed a Sitecore to check that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S.S. I have read through the comments of other people and I would agree that there might be unexpected causes if you access your item fields by name in the code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to highlight that this is &lt;strong&gt;not recommended practice&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may want to use some mapping frameworks like &lt;strong&gt;GlassMapper&lt;/strong&gt; to avoid those kind of issues (it maps by fieldId as well)&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2016-10-26T15:23:43.993" LastActivityDate="2016-10-26T15:23:43.993" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1886" PostTypeId="2" ParentId="1739" CreationDate="2016-10-26T15:09:41.023" Score="1" Body="&lt;p&gt;Your problem has to do with the ordering of your registrations.  The &lt;code&gt;IEntityAccess&lt;/code&gt; class must be registered BEFORE the &lt;code&gt;ApiController&lt;/code&gt; classes are registered with Autofac.  Otherwise, it will not resolve the &lt;code&gt;ApiController&lt;/code&gt; constructor correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without the namespaces, I cannot tell you where exactly you should put it, but if you make sure to place your ApiController registration line AFTER the registration that captures the &lt;code&gt;IEntityAccess&lt;/code&gt; class, it should then resolve your &lt;code&gt;ApiController&lt;/code&gt; constructor.&lt;/p&gt;&#xA;" OwnerUserId="925" LastActivityDate="2016-10-26T15:09:41.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1887" PostTypeId="2" ParentId="1883" CreationDate="2016-10-26T15:10:29.260" Score="8" Body="&lt;blockquote&gt;&#xA;&lt;p&gt;What is static- and dynamic bindings in general?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Static binding&lt;/strong&gt; means adding a rendering to a page in a raw way, e.g. in an mvc view:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Html().RenderAction(&amp;quot;Controller&amp;quot;, &amp;quot;Action&amp;quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Essentially, it means that &lt;em&gt;you are not able to change this without editing the code&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Dynamic binding&lt;/strong&gt; means that on a page you will have a placeholder to put your renderings into:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Html().Sitecore().Placeholder(&amp;quot;main&amp;quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;After that in the Content Editor (or Exp Editor) you will be able to &amp;quot;dynamically&amp;quot; add any rendering you like to that &amp;quot;main&amp;quot; placeholder.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;When would I use static bindings, and what are the use cases for doing so?&lt;/p&gt;&#xA;&lt;p&gt;When would I use dynamic bindings, and what are the benefits of this?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;It is generally recommended to use dynamic bindings, because of their flexibility.&lt;/p&gt;&#xA;&lt;p&gt;However you may want to use static bindigs for things like site header rendering, etc (something that should not be removed by editors mistake and is not supposed to be changed)&lt;/p&gt;&#xA;&lt;p&gt;Please refer to the official &lt;strong&gt;Sitecore documentation&lt;/strong&gt; for more info on how this works altogether with layouts, sublayouts and renderings (&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/presentation_component_reference_sc62_a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/presentation_component_reference_sc62_a4.pdf&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-27T14:39:00.213" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1888" PostTypeId="2" ParentId="1884" CreationDate="2016-10-26T15:12:04.467" Score="3" Body="&lt;p&gt;The actual behavior is undefined.  More concretely, two fields with identical names will be rolled up into the field collection of the item, and each can be referenced independently via their unique IDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, many Sitecore systems and APIs use only the field name for referencing fields, so you have no guarantees as to which field will actually be used in any given situation.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, while I have not tested the following scenario, I imagine that any changes to your templates' field section ordering could affect which duplicate field is used when displaying content on the front-end, so you could easily find yourself in strange situations where a simple field re-ordering could change behavior.&lt;/p&gt;&#xA;" OwnerUserId="420" LastActivityDate="2016-10-26T15:12:04.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1890" PostTypeId="2" ParentId="1884" CreationDate="2016-10-26T15:18:02.030" Score="1" Body="&lt;p&gt;I have created &quot;template one&quot; &amp;amp; &quot;template two&quot; which contains a field with same name (i.e. &quot;filedname&quot;)&lt;br&gt;&#xA;Then, &quot;combined template&quot; template is created and &quot;template one&quot; &amp;amp; &quot;template two&quot; are used as base templates for that.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Sd28A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Sd28A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, &quot;combined item&quot; is created under the /home item by using the &quot;combined template&quot;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Orgdy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Orgdy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, both the fields from both base templates exists in the &quot;combined item&quot;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-10-26T15:18:02.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1891" PostTypeId="2" ParentId="1884" CreationDate="2016-10-26T15:18:27.167" Score="12" Body="&lt;p&gt;Sitecore stores fields for templates as individual Items. As they are Items, they have a unique ID that can identify them. When Sitecore stores the values of fields for an item (most commonly in the SQL database), it references them via this unique ID rather than the field name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of this, this means that a Sitecore item can inherit from multiple templates that share the same name for fields of theirs, and it can read / write to each of these fields without conflict. You can even have multiple fields with the same name in the &lt;em&gt;same template&lt;/em&gt;, though this is not advised.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, though there is no conflict there, it is very common for developers to access fields for an item via the name, not by the ID, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; myItem.Editing.BeginEdit();&#xA; myItem[&quot;CommonFieldName&quot;] = &quot;Set this value&quot;;&#xA; myItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So what happens in this case? How does Sitecore know what field to update?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In cases such as this, Sitecore will pick the field based on this order of preference:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If there is a field on the direct template of the item with that name, it is used. The first matching field-name that is sorted highest (e.g. in the highest section and highest within that section) is selected.&lt;/li&gt;&#xA;&lt;li&gt;If not, then it will iterate over the base templates &lt;em&gt;in the order they are set in the BaseTemplates field&lt;/em&gt; and pick the first field with a matching name belonging to one of these templates, using the same sorting logic as above.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This logic is performed by the &lt;code&gt;DoGetField&lt;/code&gt; method of the &lt;code&gt;Template&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to access a specific field, you can use the ID instead:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; myItem.Editing.BeginEdit();&#xA; myItem[&quot;{51F6F1D3-D8C6-427B-ADB8-AA3467B3E8DB}&quot;] = &quot;Set this value&quot;;&#xA; myItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-26T15:18:27.167" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1892" PostTypeId="1" AcceptedAnswerId="1893" CreationDate="2016-10-26T15:33:57.337" Score="3" ViewCount="1011" Body="&lt;p&gt;We've got a sitemap generator class that inherits IHttpHandler. Because this is in a shared project with multiple sites, I want to ensure that when sitemap.xml is called, the correct tree structure is drawn out based on the site I'm visiting. I figure hooking into the Sitecore pipeline is the key, but can someone guide me to the proper one that I'd replace the standard .NET one with? Thanks much.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2016-10-26T16:28:52.743" Title="Using HttpHandler and Sitecore.Context" Tags="|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1893" PostTypeId="2" ParentId="1892" CreationDate="2016-10-26T15:41:53.973" Score="6" Body="&lt;p&gt;To answer your question directly; you would need to get in after the SiteResolver. Since you need to know what site you're on, to deliver your sitemap. It sits near the top in the &lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Pipelines.PreprocessRequest.CheckIgnoreFlag, Sitecore.Kernel&quot; /&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Pipelines.HttpRequest.EnsureServerUrl, Sitecore.Kernel&quot; /&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Pipelines.HttpRequest.StartMeasurements, Sitecore.Kernel&quot; /&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Pipelines.HttpRequest.IgnoreList, Sitecore.Kernel&quot; /&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Pipelines.HttpRequest.SiteResolver, Sitecore.Kernel&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you would not be implementing an IHttpHandler as you suggest, you would instead inherit from &lt;code&gt;Sitecore.Pipelines.HttpRequest.HttpRequestProcessor&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I may; I'd like to add a few architectural considerations to the mix as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be careful not to &quot;render&quot; your sitemap in real time on these requests. It's usually a very &quot;heavy&quot; operation and you open yourself up quite easily to a denial-of-service attack by doing so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead I propose you add sitemap generation as a scheduled task in Sitecore, to regularly (like hourly/daily/as appropriate) generate sitemaps for each site, and the processor in question only concerns itself with streaming back that generated sitemap to the client.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;IHttpHandlers&lt;/code&gt; usually execute before a &lt;code&gt;Sitecore.Context&lt;/code&gt; is established - this is exactly the job of the &lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT: Added based on comments&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Creating the sitemaps in the context of a Scheduled Task, you can indeed implement any class you like. Sitecore, however, expects to find the following method signature on whatever class you implement.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void Execute(Item[] items, Sitecore.Tasks.CommandItem command, Sitecore.Tasks.ScheduleItem schedule)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A good guide for these can be found here: &lt;a href=&quot;http://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&quot; rel=&quot;noreferrer&quot;&gt;How To Create A Sitecore Scheduled Task&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-26T16:28:52.743" LastActivityDate="2016-10-26T16:28:52.743" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1894" PostTypeId="1" AcceptedAnswerId="1900" CreationDate="2016-10-26T15:45:18.940" Score="12" ViewCount="2247" Body="&lt;p&gt;I am trying to patch the initialize pipeline to add a processor. I simply add the following config (obtained from a KB article &lt;a href=&quot;https://kb.sitecore.net/articles/700677&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;) in include folder:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyNamespace.CustomProcessor, MyAssembly&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot;/&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;‌&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It produces the following error even when I hit the show-config page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gm6as.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gm6as.png&quot; alt=&quot;Could not get pipeline: initialize (domain: &quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This patch file also produces same error:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;‌&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The file is located at: \App_Config\Include\Z.Customizations\&#xA;z_InitializePipeline.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no folder after Z.Customization, So based on the answer by @Zachary Kniebel, it should be the last file to be applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something I noticed is that when I move the file to Include folder, the error changes to &lt;code&gt;Could not get pipeline: preprocessRequest (domain: )&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This may be normal since it is not the last file to be processed for sure.&lt;/p&gt;&#xA;" OwnerUserId="352" LastEditorUserId="352" LastEditDate="2016-10-26T16:18:28.057" LastActivityDate="2019-08-08T04:23:22.290" Title="Cannot patch Sitecore initialize pipeline (Sitecore 8.1 Update 3)" Tags="|configuration|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1895" PostTypeId="2" ParentId="1894" CreationDate="2016-10-26T15:48:16.687" Score="5" Body="&lt;p&gt;This is going to sound silly; but rename your config file to zzzz.patch.config - it will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore patches in these configs in a certain order (alphabetically, but that's a simplified explanation). Looks like your config comes in before the Sitecore.MVC.config file, and the patch therefore fails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A more comprehensive explanation of how this works can be found here: &lt;a href=&quot;https://jammykam.wordpress.com/2014/07/18/organising-your-sitecore-patch-include-files/&quot;&gt;Organising your Sitecore Patch Include Files&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-10-26T15:48:16.687" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="1896" PostTypeId="2" ParentId="1052" CreationDate="2016-10-26T15:49:06.233" Score="3" Body="&lt;p&gt;While a lot of the suggestions were helpful, my issue ended up being related to migrating to different servers. Prior to inheriting this website, it appears that the database was consistently backed up and migrated across servers; from local, to staging, to production, and now a new production. The properties table in the core database was storing all instances (CD and CM server names). I ended up deleting all the records in that table. Once that happened, indexing improved. After that I was seeing a few intermittent issues potentially being caused by index locking - so I implemented the Switch on Rebuild strategy. Since making those two tweaks I am no longer experiencing issues.&lt;/p&gt;&#xA;" OwnerUserId="433" LastActivityDate="2016-10-26T15:49:06.233" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1897" PostTypeId="2" ParentId="1894" CreationDate="2016-10-26T15:59:35.087" Score="1" Body="&lt;p&gt;Like @Mark Cassidy said, you need to make sure that your patch is added after all of the other patches, and patch files are added alphabetically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I prefer to put all of my patches into a folder, named &lt;code&gt;zzzPatches&lt;/code&gt;. The reason for this is because while both files and folders are patched in alphabetically, folders are patched in AFTER files. As such, I prefix my folder name with &lt;code&gt;z&lt;/code&gt; to make sure that it is added in after all of the other folders and files. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Take-Aways&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;&lt;code&gt;App_Config\Include&lt;/code&gt;&lt;/em&gt; files are patched alphabetically&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;&lt;code&gt;App_Config\Include&lt;/code&gt;&lt;/em&gt; sub-directories are patched in alphabetically&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;&lt;code&gt;App_Config\Include&lt;/code&gt;&lt;/em&gt; sub-directories are always patched in AFTER files in the same directory&lt;/li&gt;&#xA;&lt;li&gt;Patch file named &quot;zzzPatch.config&quot; will be patched in after all other files in the same directory (so long as they their name comes before &lt;code&gt;zzzPatch&lt;/code&gt; alphabetically)&lt;/li&gt;&#xA;&lt;li&gt;Patch sub-directory named &lt;code&gt;zzzPatches&lt;/code&gt; will be patched in after all files and after all other sub-directories in the same directory (so long as the other sub-directories' names come before &lt;code&gt;zzzPatches&lt;/code&gt; alphabetically)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="5387" LastEditDate="2019-08-08T04:23:22.290" LastActivityDate="2019-08-08T04:23:22.290" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="1898" PostTypeId="1" AcceptedAnswerId="1899" CreationDate="2016-10-26T16:17:59.287" Score="3" ViewCount="310" Body="&lt;p&gt;Let's say I have a template, &lt;em&gt;Template A&lt;/em&gt;, that has a field section, &lt;em&gt;Foo Data&lt;/em&gt;, that contains some fields. If I create another template, &lt;em&gt;Template B&lt;/em&gt;, that inherits &lt;em&gt;Template A&lt;/em&gt; and add a new field, &quot;Bar&quot;, how can I include the new field in the &lt;em&gt;Foo Data&lt;/em&gt; field section from &lt;em&gt;Template A&lt;/em&gt;?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="73" LastEditDate="2016-10-27T23:52:35.197" LastActivityDate="2016-10-27T23:52:35.197" Title="How can I merge field sections across templates in Sitecore" Tags="|templates|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1899" PostTypeId="2" ParentId="1898" CreationDate="2016-10-26T16:17:59.287" Score="5" Body="&lt;p&gt;So long as you name the field section that contains the &quot;Bar&quot; field on &lt;em&gt;Template B&lt;/em&gt; the same as you named the field section on &lt;em&gt;Template A&lt;/em&gt;, &lt;em&gt;Foo Data&lt;/em&gt;, the two field sections will merge.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Template Definitions:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Template A&#xA;  Foo Data&#xA;    Baz           - Single-Line Text&#xA;    Baz Thumbnail - Image&#xA;&#xA;Template B&#xA;  Foo Data&#xA;    Bar           - Single-Line Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;will result in a display like the following on your item instances of the &lt;em&gt;Template B&lt;/em&gt; template, in the Content Editor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-----------------------------------&#xA;Foo Data                         v&#xA;-----------------------------------&#xA;&#xA;Baz&#xA;[SLT Field]&#xA;&#xA;Baz Thumbnail&#xA;[Image Field]&#xA;&#xA;Bar&#xA;[SLT Field]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-26T16:17:59.287" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1900" PostTypeId="2" ParentId="1894" CreationDate="2016-10-26T16:44:46.157" Score="16" Body="&lt;h1&gt;The fix&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;There are invisible characters in the configuration file; this is something that may happen when you copy configuration text directly from a web page. Remove the characters and the issue will be fixed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here they are, at the end of the line:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;/initialize&amp;gt;â€Œ&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can make them visible in different ways, but the easiest that has worked for me was to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the file with Notepad++;&lt;/li&gt;&#xA;&lt;li&gt;Convert the file to ASCII via the menu Encoding –&gt; Encode in ASCII.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Where did they come from?&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Now, let's look into the page where this invisible characters appeared. Here's the relevant part of the source code of the &lt;a href=&quot;https://kb.sitecore.net/articles/700677&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;KB article&lt;/strong&gt;&lt;/a&gt;, as seen through Chrome Dev Tools:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pre class=&quot;prettyprint&quot;&amp;gt;&amp;amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;amp;gt;&#xA;&amp;amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;amp;gt;&#xA;  &amp;amp;lt;sitecore&amp;amp;gt;&#xA;    &amp;amp;lt;pipelines&amp;amp;gt;&#xA;      &amp;amp;lt;initialize&amp;amp;gt;&#xA;        &amp;amp;lt;processor type=&quot;&amp;lt;strong&amp;gt;MyNamespace.RegisterCustomRoute, MyAssembly&amp;lt;/strong&amp;gt;&quot;  patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc'] /&amp;amp;gt;&#xA;      &amp;amp;lt;/initialize&amp;amp;gt;&amp;amp;zwnj;&#xA;    &amp;amp;lt;/pipelines&amp;amp;gt;&#xA;  &amp;amp;lt;/sitecore&amp;amp;gt;&#xA;&amp;amp;lt;/configuration&amp;amp;gt;&amp;lt;/pre&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See it now? It's &lt;code&gt;&amp;amp;zwnj;&lt;/code&gt; - the &lt;a href=&quot;https://en.wikipedia.org/wiki/Zero-width_non-joiner&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;zero-width non-joiner&lt;/strong&gt;&lt;/a&gt; character.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not added there by JavaScript (I checked), which means it was the author of the article who put it there accidentally. Most likely, it's coming from some text editing software.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-31T20:24:50.707" LastActivityDate="2016-10-31T20:24:50.707" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1901" PostTypeId="1" AcceptedAnswerId="1902" CreationDate="2016-10-26T16:49:51.797" Score="12" ViewCount="1767" Body="&lt;p&gt;The title says it all: what is a hook and how does it differ from a pipeline processor? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically, I am looking for the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What is a hook?&lt;/li&gt;&#xA;&lt;li&gt;How/when are hooks triggered?&lt;/li&gt;&#xA;&lt;li&gt;What are hooks used for?&lt;/li&gt;&#xA;&lt;li&gt;How do hooks differ from pipeline processors?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-10-26T19:00:24.940" LastActivityDate="2016-10-26T19:00:24.940" Title="What is a hook and how does it differ from a pipeline processor?" Tags="|pipelines|hooks|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1902" PostTypeId="2" ParentId="1901" CreationDate="2016-10-26T16:49:51.797" Score="13" Body="&lt;p&gt;&lt;strong&gt;Hooks&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A &lt;em&gt;hook&lt;/em&gt; is a mechanism that you can use to run or &quot;register&quot; some logic at initialization time. To create one, you implement the &lt;code&gt;IHook&lt;/code&gt; interface and add the necessary configuration as determined by your implemented hook. Hooks are loaded and executed when the application is initialized, via the &lt;code&gt;Sitecore.Pipelines.Loader.LoadHooks&lt;/code&gt; processor of the &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hooks are typically used for situations when you have some initialization-time logic that needs to be run but doesn't really belong within the &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; pipeline and doesn't depend on a context. For example, Sitecore uses hooks OOTB for health monitoring and memory checking. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hooks are especially useful when you have a recurring task that you want to set up to run on a time interval. For example, if you want to ping a service on a set time interval and you do not require any site or item context then a Hook may be what you need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mike Reynolds has a great &lt;a href=&quot;https://sitecorejunkie.com/2013/01/22/get-hooked-on-hooks-create-a-custom-hook-in-sitecore/&quot;&gt;blog post&lt;/a&gt; describing what a hook is and how you can implement one, and I highly recommend it for additional details. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Hooks vs. Pipeline Processors&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that Hooks are loaded and executed in the &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; pipeline, but they are not processors. Hooks don't require any Sitecore context, and they do not have any arguments. As such, hooks are lighter-weight than processors and thus better suited for smaller tasks that don't depend on a context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-initialization-hooks-in-the-sitecore-asp-net-cms&quot;&gt;blog post&lt;/a&gt; by John West is a good resource for additional information on the differences between a Hook and a Pipeline Processor.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-10-26T16:49:51.797" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1903" PostTypeId="1" AcceptedAnswerId="1928" CreationDate="2016-10-26T16:59:38.753" Score="3" ViewCount="1408" Body="&lt;p&gt;If someone copies HTML from another site (like a title) and pastes it into a single-line text field, is there any way to automatically strip the HTML out? I know with rich text fields there are paste options to do this if you want, but with single-line text it sometimes throws one of those &quot;an error occurred&quot; messages in experience editor (logs come back with &quot;After parsing a value an unexpected character was encountered: O&quot;) and sometimes it just shows the raw HTML instead. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="73" LastEditDate="2016-10-27T23:51:57.407" LastActivityDate="2016-10-27T23:51:57.407" Title="Strip HTML when pasting into single-line text field" Tags="|experience-editor|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1904" PostTypeId="1" CreationDate="2016-10-26T17:21:03.627" Score="5" ViewCount="257" Body="&lt;p&gt;I have implemented Auto-accepting changes for cloned items by following this &lt;a href=&quot;https://kb.sitecore.net/articles/820842&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Knowledge-base article&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I get below error when adding new version from some translation services module working as Sitecore Agent:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Message-Object reference not set to an instance of an object.&#xA;Stack-   at Sitecore.Web.UI.Sheer.ClientPage..ctor()&#xA;   at Sitecore.Context.get_ClientPage()&#xA;   at Sitecore.Data.Clones.FirstVersionAddedNotification.Accept(Item item)&#xA;   at Sitecore.Data.Managers.NotificationManager.DataEngine_AddedVersion(Object sender, ExecutedEventArgs`1 e)&#xA;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;   at Sitecore.Data.Engines.DataCommands.AddVersionCommand.Executed()&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.AddVersion(Item item)&#xA;   at Sitecore.Data.Managers.ItemProvider.AddVersion(Item item, SecurityCheck securityCheck)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Main code snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private bool ShouldAutomaticallyAcceptChanges(Notification notification)&#xA;{             &#xA;  //Accepting notifications based on the setting value&#xA;  return Settings.GetBoolSetting(&quot;Cloning.AcceptChangesAutomatically&quot;, false);&#xA;&#xA;  //Accepting notifications of the specific type&#xA;  //return notification is VersionAddedNotification;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The article has mentioned,&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Implement the ShouldAutomaticallyAcceptChanges method according to&#xA;  your requirements. For example, you may accept all notifications based&#xA;  on your custom web.config setting, or you can check for notifications&#xA;  of a specific type, e.g. VersionAddedNotification&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So Auto Accepting the &lt;code&gt;VersionAddedNotication&lt;/code&gt; fails with above error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How we can achieve this without error? Or may be there something else that I'm missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore 7.5 update-2&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="10" LastEditDate="2016-10-26T20:25:26.733" LastActivityDate="2017-12-22T02:34:41.630" Title="Getting error in Automatically accepting changes for cloned items when adding new versions" Tags="|data-provider|item-clones|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1905" PostTypeId="1" AcceptedAnswerId="1908" CreationDate="2016-10-26T17:49:10.287" Score="4" ViewCount="274" Body="&lt;p&gt;I am building a Sheer UI dialog following examples from the web.  I keep seeing this throughout various examples:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;string controlId = args.Parameters[&quot;controlid&quot;];&#xA;SheerResponse.Eval(&quot;scSetHtmlValue('&quot; + controlId + &quot;', false, true)&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What exactly does this do?&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="29" LastEditDate="2016-10-26T20:24:14.810" LastActivityDate="2016-10-26T20:24:14.810" Title="What is the purpose of scSetHtmlValue?" Tags="|sheer-ui|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1906" PostTypeId="2" ParentId="1870" CreationDate="2016-10-26T17:55:12.673" Score="0" Body="&lt;p&gt;I use a mixture of &lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship&quot; rel=&quot;nofollow&quot;&gt;Sitecore.Ship&lt;/a&gt;, TDS Update Package generation, and CURL to achieve CD from my CI servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any reason why you want a zip package over an update package?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-10-26T17:55:12.673" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1907" PostTypeId="2" ParentId="48" CreationDate="2016-10-26T18:21:37.397" Score="0" Body="&lt;p&gt;About a decade ago, I believe Sitecore's publishing strategies included a web service based scenario, where the Authoring server would talk to the Delivery server via web services, transferring Items that way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rather than mess with extremely finicky file system strategies, I'd strongly consider using the new Restful APIs to achieve something similar. &lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2016-10-26T18:21:37.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1908" PostTypeId="2" ParentId="1905" CreationDate="2016-10-26T18:49:33.697" Score="4" Body="&lt;p&gt;Its a sheer UI functionality that usually used if you are building new custom field and you want that field to have its own edit interface in Page editor, or you want to extend one of default sitecore fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example let say you want to add custom button next to &quot;&lt;strong&gt;Single Text Line&lt;/strong&gt;&quot; field in page editor, that simply &lt;strong&gt;clears&lt;/strong&gt; the content of your field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code would be added to your custom &quot;&lt;strong&gt;Web Edit Command&lt;/strong&gt;&quot; class to do that:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;   //Set Html Value to be empty string&#xA;   SheerResponse.SetAttribute(&quot;scHtmlValue&quot;, &quot;value&quot;, String.Empty);&#xA;   //Set Raw value to empty string&#xA;   SheerResponse.SetAttribute(&quot;scPlainValue&quot;, &quot;value&quot;, String.Empty);&#xA;&#xA;   //This line of code will not save the changed value back into the item (Empty string),&#xA;   // instead it will let page editor know that this field value has bee changed, &#xA;   // and once the user hits save, it will be stored back into the item&#xA;   SheerResponse.Eval(&quot;scSetHtmlValue('&quot; + args.Parameters[&quot;controlid&quot;] + &quot;')&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, as you can see, That function will inform Page editor that a change has been made to this field, And PE will store that change once the user clicks save.&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2016-10-26T20:08:11.920" LastActivityDate="2016-10-26T20:08:11.920" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1909" PostTypeId="1" CreationDate="2016-10-26T21:31:52.603" Score="11" ViewCount="1418" Body="&lt;p&gt;I'm working with a customer right now that has seen their Solr implementation become unstable lately. Based on some initial analysis, signs are pointing towards the analytics index. They've been live with xDB on Sitecore 8 for almost a year now, so this index has grown throughout the year. Currently it contains 25 million documents, and continues to grow. We can throw more memory at the server but that's a short term fix until this index grows beyond the hardware's capacity again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now the analytics index contains 25 million documents, consumes 51818368 of heap space, and is almost 11 GB on disk. The disk size will spike up to 30 GB as it merges, but we have plenty of disk space. RAM is another issue, that is being pushed to the limit. I'm also seeing in the resource monitor that this index is reading &amp;amp; writing at about 14 MB/s to different segments in the core. Nothing else comes anywhere near that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're investigating scalability options for the future, such as sharding with Solr Cloud, but the immediate problem is right now Solr will become unresponsive and needs to be restarted. When Solr fails, Sitecore fails. It's become an almost daily nuisance for the customer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In 8.1 update 3 and 8.2, there is a setting to disable anonymous contact indexing, ContentSearch.Analytics.IndexAnonymousContacts. I think this will go a long way to reducing the pace at which this index grows. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the short term, is there a way to safely reduce the size of this index? Can I run a query against the Solr core to remove these anonymous contacts? Really any advice offered on scaling and maintaining the analytics index would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="131" LastEditDate="2016-10-27T14:54:04.103" LastActivityDate="2016-10-27T14:54:04.103" Title="How can I reduce the size of the analytics index? [alt: Populating the Analytics Index]" Tags="|solr|indexing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1910" PostTypeId="2" ParentId="1801" CreationDate="2016-10-26T23:04:22.563" Score="3" Body="&lt;p&gt;As mentioned in the answer from @techphoria414, the simplest solution is structuring your items in isolated folders and setting the sync settings as well as set the &lt;code&gt;Recursive Deploy Action&lt;/code&gt; in the &lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#build&quot; rel=&quot;nofollow&quot;&gt;Build Tab&lt;/a&gt; to either &lt;em&gt;Delete Sitecore Items not in the Project&lt;/em&gt; or &lt;em&gt;Move Sitecore Items not in the project  to the Sitecore Recycle Bin&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you want to remove a parent folder or you cannot create a custom folder, the items will remain after deployment of the update package. One option is to create a &lt;a href=&quot;http://www.teamdevelopmentforsitecore.com/post-deploy-scripts&quot; rel=&quot;nofollow&quot;&gt;custom Post Deploy Step&lt;/a&gt;. You would need to manually manage the list of items that should be deleted though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are also using &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_PowerShell_console.aspx?sc_lang=en&quot; rel=&quot;nofollow&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt; then you can combine this with a custom Post Deploy step that will run any number of SPE scripts. You can use a script item to delete any items you want:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;$items = @(&#xA;    &quot;master:/{12345678-1234-1234-1234-123456789012}&quot;, &#xA;    &quot;master:/sitecore/path/to/item&quot;,&#xA;    &quot;core:/sitecore/path/to/another/item&quot;&#xA;)&#xA;&#xA;Foreach ($item in $items)&#xA;{&#xA;    if (Test-Path -Path $item) {&#xA;        Write-Log &quot;[TDSPostDeploy::SPE] Deleting item - $item&quot;&#xA;        Remove-Item -Path $item&#xA;    } else {&#xA;        Write-Log &quot;[TDSPostDeploy::SPE] Item does not exist - $item&quot; -Log Warning&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since the scripts are added like any normal Sitecore Item, they can be added to TDS and then removed once they are no longer needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details in this blog post about &lt;a href=&quot;https://jammykam.wordpress.com/2016/09/19/tds-post-deploy-powershell-step/&quot; rel=&quot;nofollow&quot;&gt;TDS Post-Deploy PowerShell Step&lt;/a&gt;. Alternatively, you can create a similar step in C# if you do not have access to SPE, and the items passed in as parameters and the &lt;code&gt;scproj&lt;/code&gt; file can be sourced controlled.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-26T23:04:22.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1911" PostTypeId="2" ParentId="1870" CreationDate="2016-10-26T23:25:29.537" Score="2" Body="&lt;p&gt;I don't think there is a way to create a standard .zip package from within Visual Studio/TDS but you can do that with Sitecore Rocks and there is an example here by Trevor Campbell: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/trevor_campbell/posts/28-days-of-sitecore-rocks-package-creation&quot; rel=&quot;nofollow&quot;&gt;https://community.sitecore.net/technical_blogs/b/trevor_campbell/posts/28-days-of-sitecore-rocks-package-creation&lt;/a&gt;. As seen in your answer to Joe, if that's all the functionality you really need, then that should be all you need to create a package easily from within Visual Studio. You can get Sitecore Rocks by going into Visual Studio and going to Tools--&gt; Extensions and Updates --&gt; Select Online --&gt; Search for Sitecore Rocks. It should be the first selection in the list.&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2016-10-26T23:25:29.537" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1912" PostTypeId="2" ParentId="1909" CreationDate="2016-10-27T03:37:17.243" Score="4" Body="&lt;p&gt;There's no ready-made way to reduce the index - short of rebuilding it without the documents you are trying to exclude.  You're definitely facing a custom task here.  Contacts are indexed by an &quot;observer&quot;.  Unlike a crawler, this attaches itself to events on the contact object and updates trigger writes to the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have built a hack process that loops the contacts and then &quot;touches&quot; (double-entendre intentional) each one in an attempt to rebuild this index when we noticed there were some holes.  The code is shown below - obviously you need to modify the loop to have it skip those contacts you don't want indexed.  If I were you I would set this up on a non-prod machine somewhere are connect it to the production MongoDBs and a completely new SOLR core that you can build without disrupting the production environment.  It will take a looong time to run if you have millions of contacts.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; Buffer=&quot;false&quot; %&amp;gt;&#xA;&#xA;&amp;lt;%@ Import Namespace=&quot;System&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;System.Linq&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;System.Threading&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;MongoDB.Bson&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;MongoDB.Driver&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;MongoDB.Driver.Builders&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Analytics.Aggregation.Pipelines.ContactProcessing&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Analytics.Data&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Data&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Pipelines&quot; %&amp;gt;&#xA;&#xA;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;    public class Contact&#xA;    {&#xA;        public BsonBinaryData _id { set; get; }&#xA;    }&#xA;&#xA;    public void CallMain()&#xA;    {&#xA;        var client = new MongoClient(&quot;mongodb://mongo1.australiaeast.cloudapp.azure.com,mongo2.australiaeast.cloudapp.azure.com,mongo3.australiaeast.cloudapp.azure.com/admin?readPreference=primary&quot;);&#xA;        var db = client.GetServer().GetDatabase(&quot;analytics&quot;);&#xA;        var coll = db.GetCollection&amp;lt;Contact&amp;gt;(&quot;Contacts&quot;);&#xA;&#xA;        var filter = Query.Exists(&quot;Identifiers.Identifier&quot;);&#xA;        var count = 0;&#xA;&#xA;        var cursor = coll.Find(filter);&#xA;        cursor.SetBatchSize(2000);&#xA;        cursor.SetFields(Fields.Include(&quot;_id&quot;));&#xA;&#xA;        Response.Write( &quot;&amp;lt;h2&amp;gt;Total count is: &quot; + cursor.Count() + &quot;&amp;lt;/h2&amp;gt;&quot;);&#xA;        Response.Write( &quot;&amp;lt;h3&amp;gt;Processing started at &quot; + DateTime.Now.ToString() + &quot;&amp;lt;/h3&amp;gt;&quot; );&#xA;&#xA;        foreach(var doc in cursor)&#xA;        {             &#xA;            count++;&#xA;            Response.Write( &quot;&amp;lt;p&amp;gt;&quot; + count + &quot;; &quot; + DateTime.Now.ToString(&quot;HH:mm:ss&quot;) + &quot;&amp;lt;span style='color:silver'&amp;gt;: &quot; + doc._id.AsGuid + &quot;; &quot;);&#xA;            var pipelineArgs = new ContactProcessingArgs(new ID(doc._id.AsGuid), ProcessingReason.Updated);&#xA;&#xA;            try  {&#xA;                CorePipeline.Run(&quot;contacts&quot;, pipelineArgs, &quot;analytics.aggregation&quot;, true);//Pipeline.Start(&quot;analytics.aggregation/contacts&quot;, pipelineArgs);&#xA;            } catch( Exception e ) {&#xA;                Response.Write(&quot;&amp;lt;p&amp;gt;&amp;lt;span style=\&quot;background-color:lemonchiffon;color:darkred;border:1px solid darkred\&quot;&amp;gt;ERROR: &quot; + e.Message + &quot; - &quot;);&#xA;                return;&#xA;            }&#xA;            Response.Write(&quot;contact: &quot; + pipelineArgs.GetContact().Identifiers.Identifier + &quot; - &amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&quot; );&#xA;&#xA;            if ( count % cursor.BatchSize == 0 )&#xA;            {&#xA;                Response.Flush();&#xA;                Thread.Sleep(10);&#xA;            }&#xA;        }&#xA;        Response.Write( &quot;&amp;lt;h3&amp;gt;Processing finished at &quot; + DateTime.Now.ToString() + &quot;&amp;lt;/h3&amp;gt;&quot; );&#xA;    }&#xA;&amp;lt;/script&amp;gt;&#xA;Touching Contacts:&#xA;&amp;lt;% CallMain(); %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Put the above into an ASPX file in the root of the site, then just load the page and watch the magic happen.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-10-27T03:37:17.243" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1913" PostTypeId="2" ParentId="1909" CreationDate="2016-10-27T07:23:17.120" Score="5" Body="&lt;p&gt;In general Solr usage, there are a few things you could do in order to tweak how data is stored in the index. In terms of Sitecore, I am not fully sure if the exact same rules apply, due to the way Sitecore internally might work with the indexes - so you may want to be a bit careful, when trying some of these things out and perform a thorough test for each tweak you apply.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your Solr core for the analytics core, find and open the &lt;code&gt;schema.xml&lt;/code&gt; file. In this file, you could try to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Locate all fields that are being stored and try remove those stored fields from the index. Once done, try to let Sitecore make a query to the Solr index for the data it needs using the contacts API, and verify that it gets correct data back.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add &lt;code&gt;omitNorms=&quot;true&quot;&lt;/code&gt; to text fields that don't need length normalization. From the Solr wiki (&lt;a href=&quot;http://wiki.apache.org/solr/SchemaXml&quot; rel=&quot;nofollow&quot;&gt;http://wiki.apache.org/solr/SchemaXml&lt;/a&gt;): &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Set to true to omit the norms associated with this field (this disables length normalization and index-time boosting for the field, and saves some memory). Only full-text fields or fields that need an index-time boost need norms.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add &lt;code&gt;omitPositions=&quot;true&quot;&lt;/code&gt; to text fields that don't require phrase matching. This might be a bit tricky to test out, since you'd need to know how Sitecore internally works with the given fields.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can see the performance benchmarks found and described in this article &lt;a href=&quot;http://css.dzone.com/news/solr-index-size-analysis&quot; rel=&quot;nofollow&quot;&gt;http://css.dzone.com/news/solr-index-size-analysis&lt;/a&gt;, where omitting the norms and positions shows it will help you save a lot of space in terms of the index size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As said in the beginning of my answer, this may or may not work in terms of the way Sitecore works with the index, but it's worth a try to see if a bit of tweaking can solve your problems, as this is how you could solve the issue when working in a non-Sitecore context.&lt;/p&gt;&#xA;" OwnerUserId="29" LastEditorUserId="104" LastEditDate="2016-10-27T09:00:37.213" LastActivityDate="2016-10-27T09:00:37.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1914" PostTypeId="2" ParentId="1874" CreationDate="2016-10-27T08:56:53.500" Score="6" Body="&lt;p&gt;Pipelines are defined in config. Sitecore's pipelines exist under:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;   &amp;lt;configuration&amp;gt;&#xA;      &amp;lt;pipelines&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Within a pipeline, handlers are processed in the order they are defined in config, the order and position of a handler is relevant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/important-pipelines-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow&quot;&gt;list of available pipelines&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;&amp;lt;httpRequest&amp;gt;&lt;/code&gt; pipeline is perhaps one of the most common to modify. Several of the steps there build the context information (item, site, language etc) that are then available under &lt;code&gt;Sitecore.Context&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Usage of a pipeline involves inserting a handler at an appropriate point in the chain of handlers defined in config. A pipeline handler typically inherits a base class for that pipeline, overrides a method, and interacts with the pipeline args or other classes. In the case of the httprequest pipeline a processor would inherit from the abstract class HttpRequestProcessor and override the method &lt;code&gt;public override void Process(HttpRequestArgs args)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example if you wanted to store the original request url before any possible modification by the LanguageResolver pipeline step, you could add the following, which stores the url in the Context.Items[] dictionary. Within config this handler would be added before LanguageResolver.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public override void Process(HttpRequestArgs args)&#xA;{&#xA;    args.Context.Items[&quot;OriginalRequestUrl&quot;] = args.Context.Request.RawUrl;&#xA;    return;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is also possible to build your own entire pipeline using the same framework for your own purposes, &lt;a href=&quot;https://laubplusco.net/creating-custom-pipeline-in-sitecore/&quot; rel=&quot;nofollow&quot;&gt;this is well described by Anders Laub in this blog post.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also view active pipelines via the special admin page /sitecore/admin/pipelines.aspx&lt;/p&gt;&#xA;" OwnerUserId="898" LastEditorUserId="898" LastEditDate="2016-10-28T16:18:39.090" LastActivityDate="2016-10-28T16:18:39.090" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1915" PostTypeId="1" AcceptedAnswerId="1916" CreationDate="2016-10-27T10:43:21.410" Score="-2" ViewCount="940" Body="&lt;p&gt;I have the following data in MongoDB:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;{  &#xA;  &quot;_id&quot;:BinData(3, &quot;Q6z94uPrW0+IcUnjkwjFCw==&quot;),&#xA;  &quot;_t&quot;:&quot;FormData&quot;,&#xA;  &quot;FormID&quot;:BinData(3, &quot;nMVvjlcHGU68zFBBCeYdsg==&quot;),&#xA;  &quot;ContactId&quot;:BinData(3, &quot;YJYiH5EJO0SPltvqhMrouw==&quot;),&#xA;  &quot;InteractionId&quot;:BinData(3, &quot;ZQ1y+QcNf0qFzVvF6Axu+Q==&quot;),&#xA;  &quot;Timestamp&quot;:  ISODate(&quot;2016-10-25T11:42:57.406  Z&quot;),&#xA;  &quot;Fields&quot;:[  &#xA;    {  &#xA;      &quot;FieldId&quot;:BinData(3, &quot;SFmIPHlDp0y8t3KueJPHDQ==&quot;),&#xA;      &quot;FieldName&quot;:&quot;Tell us a bit about yourself&quot;&#xA;    },&#xA;    {  &#xA;      &quot;FieldId&quot;:BinData(3, &quot;SwTNPjQv80GYm0/Y0ZO/Tg==&quot;),&#xA;      &quot;FieldName&quot;:&quot;Name&quot;,&#xA;      &quot;Value&quot;:&quot;tester&quot;&#xA;    },&#xA;    {  &#xA;      &quot;FieldId&quot;:BinData(3, &quot;a3P3HWsSj0SPXepMcqb5Fw==&quot;),&#xA;      &quot;FieldName&quot;:&quot;Email&quot;,&#xA;      &quot;Value&quot;:&quot;test@yahoo.com&quot;&#xA;    },&#xA;    {  &#xA;      &quot;FieldId&quot;:BinData(3, &quot;TeZGzCvk0Um6Pia1gtZXFQ==&quot;),&#xA;      &quot;FieldName&quot;:&quot;Company Name&quot;,&#xA;      &quot;Value&quot;:&quot;test&quot;&#xA;    },&#xA;    {  &#xA;      &quot;Data&quot;:&quot;multipleline&quot;,&#xA;      &quot;FieldId&quot;:BinData(3, &quot;GdX6eYcN2ka5Crjn2eex/A==&quot;),&#xA;      &quot;FieldName&quot;:&quot;Message&quot;,&#xA;      &quot;Value&quot;:&quot;dont test the tester.&quot;&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can we get this data based on a specific value?&lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="104" LastEditDate="2016-10-27T10:54:34.483" LastActivityDate="2016-10-27T12:23:47.440" Title="How to query form data from mongodb, based on a specific value?" Tags="|wffm|mongodb|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="1916" PostTypeId="2" ParentId="1915" CreationDate="2016-10-27T12:23:47.440" Score="4" Body="&lt;h2&gt;A word on UUIDs&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The &quot;3&quot; part of the BinData field indicates that this is a Legacy UUID.  If you are using a tool like MongoChef you can alter this representation to a .NET-encoded GUID using the &lt;strong&gt;Legacy UUID&lt;/strong&gt; tab in the &lt;strong&gt;Preferences&lt;/strong&gt; dialog, launched from the Edit menu.  Select the entry &lt;code&gt;Legacy .NET/C# Encoding&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should present the value in the form: &lt;code&gt;AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE (.NET UUID)&lt;/code&gt; which will be easier to digest, visually speaking.  The values are equivalent and MongoDB as everything is stored in binary in the end anyway. This is just about how the value is drawn to the screen in the client application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to execute the query using the &lt;code&gt;BinData(3, &quot;&quot;)&lt;/code&gt; notation with a first param of 3 if the field originally contained a .NET Guid.  The value you mentioned for &lt;code&gt;_id&lt;/code&gt; is actually &lt;code&gt;43acfde2-e3eb-5b4f-8871-49e39308c50b&lt;/code&gt; (it's just Base64 encoded).  I can't guarantee that byte order is per the .NET encoding as I got it from &lt;a href=&quot;http://www.fileformat.info/tool/guid-base64.htm&quot; rel=&quot;nofollow&quot;&gt;the FileFormat.info site&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Query Syntax&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;While that's all interesting, I think you're asking about actually querying MongoDB.  This isn't really the place for such a question, but you query it using JSON as follows:&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Search for a record by ID:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Query: &lt;code&gt;{ &quot;_id&quot;: BinData(3, &quot;Q6z94uPrW0+IcUnjkwjFCw==&quot;) }&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Search for a record containing the value 'tester':&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Query: &lt;code&gt;{ &quot;Fields.Value&quot;: &quot;tester&quot; }&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Search for a record where the field 'Name' has the value 'tester':&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Query: &lt;code&gt;{ Fields: { $elemMatch: { &quot;FieldName&quot;: &quot;Name&quot;, &quot;Value&quot;: &quot;tester&quot; } } }&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example the &lt;code&gt;$elemMatch&lt;/code&gt; operator is used to locate any element in the array that matches the provided criteria.  Some incorrect versions of this you might have tried:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;{ &quot;Fields.FieldName&quot;: &quot;Name&quot;, &quot;Fields.Value&quot;: &quot;tester&quot; }&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While similar, this will locate any object containing an element in the Fields array with the FieldName = &quot;Name&quot;, and, with an element in the Fields array with the Value = &quot;tester&quot; - not necessarily in the same child object!  You don't want that as you'll get false positives.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;{ &quot;Fields&quot;: { FieldName: &quot;Name&quot;, Value: &quot;tester&quot; } }&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This version will search for an object where the Fields array contains a sub-document that looks &lt;strong&gt;exactly&lt;/strong&gt; like the one in the query, that is, no additional fields; just &lt;code&gt;FieldName&lt;/code&gt; and &lt;code&gt;Value&lt;/code&gt;.  You don't want that as the sub-document also contains the &lt;code&gt;FieldId&lt;/code&gt; attribute (though you could probably locate this value in Sitecore if you already know the field name to search).&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-10-27T12:23:47.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1918" PostTypeId="1" AcceptedAnswerId="1919" CreationDate="2016-10-27T13:13:21.617" Score="8" ViewCount="1185" Body="&lt;p&gt;I'm building a template and I want to limit the items the authors can select on a TreeListEx field. I know this can be done specifying the datasource as posted &lt;a href=&quot;https://stackoverflow.com/questions/24952880/sitecore-restrict-item-by-data-template-type-on-a-field&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like setting the value on the Source field: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;DataSource=/sitecore/content/home/foo&amp;amp;ExcludeTemplatesForSelection=Bar&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is fine, although you are hard coding a path which might not be desired if the ability to move items is desidered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What if I'm setting an ID on the source field like shown here? How can I limit the selection?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oD3MV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oD3MV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-28T04:10:54.440" Title="Setting up a source using ID and limiting the items you can select. is it possible?" Tags="|templates|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1919" PostTypeId="2" ParentId="1918" CreationDate="2016-10-27T13:21:42.960" Score="11" Body="&lt;p&gt;You can use the ID instead of the path in your initial source:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DataSource={C46A-4...CE}&amp;amp;ExcludeTemplatesForSelection=Bar&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-10-27T13:21:42.960" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1921" PostTypeId="1" AcceptedAnswerId="1923" CreationDate="2016-10-27T14:02:47.620" Score="16" ViewCount="1553" Body="&lt;p&gt;I've been playing with SXA and some of the out of the box renderings and rendering variants that come with it. I understand how to create my own rendering variants, and I understand how to create my own renderings in a traditional Sitecore sense. That said, what I can't quite come around to figuring out is how to create new renderings that are peers with those of SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, what I'm trying to understand is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How do I create new, SXA-enabled components that can be used by my content editors from the toolbar?&lt;/li&gt;&#xA;&lt;li&gt;What considerations do I need to take in to account to make rendering variants for my new rendering?&lt;/li&gt;&#xA;&lt;li&gt;How should I set this up in a solution to stay adherent to Helix principles?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any guidance on these or reading would be helpful; I haven't found much in the SXA documentation.&lt;/p&gt;&#xA;" OwnerUserId="553" LastEditorUserId="553" LastEditDate="2016-10-27T14:08:06.273" LastActivityDate="2016-10-27T14:16:50.917" Title="Creating new renderings that are compatible with SXA" Tags="|best-practices|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1922" PostTypeId="1" CreationDate="2016-10-27T14:16:08.253" Score="7" ViewCount="555" Body="&lt;p&gt;I'm trying to add Parameters to a rendering based on the placeholder it's been inserted into.  I've been trying to handle this using rules (after reading through &lt;a href=&quot;https://trayek.wordpress.com/2013/09/19/changing-placeholders-with-rules/&quot; rel=&quot;nofollow&quot;&gt;this blog post&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I created a new condition (that the Placeholder name matched a given Key) based on the above blog post.&lt;/li&gt;&#xA;&lt;li&gt;Created a new Rule under &lt;code&gt;/sitecore/system/Settings/Rules/Conditional Renderings/Global Rules&lt;/code&gt; which uses the new condition&lt;/li&gt;&#xA;&lt;li&gt;Set the Action for the Rule to be to change the rendering parameters&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, I couldn't get the new rule to work.  I debugged the project and put a breakpoint in the &lt;code&gt;Execute&lt;/code&gt; method of my &lt;code&gt;ConditionalRenderingsRuleContext&lt;/code&gt; class.  Unfortunately, it never gets hit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've since seen &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/mvc_rules_and_personalization&quot; rel=&quot;nofollow&quot;&gt;this post on the Sitecore developers site&lt;/a&gt; which states&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;MVC does not support global conditional rendering rules&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any suggestions on how to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="129" LastEditorUserId="246" LastEditDate="2016-10-28T05:29:09.593" LastActivityDate="2016-10-28T05:30:45.873" Title="Adjust component parameters based on placeholder" Tags="|presentation|placeholders|rules-engine|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1923" PostTypeId="2" ParentId="1921" CreationDate="2016-10-27T14:16:50.917" Score="13" Body="&lt;p&gt;This is what I worked out from playing with SxA:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;For your controller renderings, you need to make sure your controller inherits from &lt;code&gt;Sitecore.XA.Foundation.Mvc.Controllers.StandardController&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure your rendering has a rendering parameters template setup. If you inherit from &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Rendering Variants/Rendering Parameters/IComponentVariant&lt;/code&gt; and &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Presentation/Rendering Parameters/IStyling&lt;/code&gt; you will get the variant and styling options added to the properties of the rendering parameters.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Finally make sure your component is added to the available renderings for your site's presentation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DnZc4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DnZc4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-27T14:16:50.917" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="1924" PostTypeId="2" ParentId="1922" CreationDate="2016-10-27T15:06:08.813" Score="4" Body="&lt;p&gt;You're quite right about why it's not working - MVC renderings don't execute the global conditional rendering rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not something I've had to do, but here's a suggestion. Someone might be able to suggest a better method, but here are a couple of suggestions:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Setting parameters during rendering&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You could look at amending the &lt;code&gt;mvc.renderPlaceholder&lt;/code&gt; pipeline to achieve what you want. The processor &lt;code&gt;Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering&lt;/code&gt; is what retrieves the renderings for a placeholder and calls the &lt;code&gt;mvc.renderRendering&lt;/code&gt; for each. It doesn't pass any placeholder information into this pipeline, so you would need to act here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the method:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected virtual void Render(string placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;{&#xA;    foreach (Rendering rendering in this.GetRenderings(placeholderName, args))&#xA;        PipelineService.Get().RunPipeline&amp;lt;RenderRenderingArgs&amp;gt;(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(rendering, writer));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could extend this processor and override this method with one that executes rules for the rendering. It could then update the &lt;code&gt;rendering&lt;/code&gt; item that gets passed into the pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's worth considering that Sitecore perhaps didn't implement the rules here due to performance issues, so rather than reintroduce global conditional rendering rules across all MVC renderings, you might want to make this a tailored processor that only acts differently for particular renderings. This amended processor could potentially just inject the placeholder name into the rendering parameters, and then the rendering itself could decide how to act upon this.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Setting parameters upon saving&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As an alternative method, though one that depends on the nature of your solution, would it be appropriate to perhaps tackle this problem at the source rather at rendering time?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, when the item is saved you could have an event that is triggered that looks through the placeholders + renderings and injects parameters into the renderings as required, which then get saved into the item. This way the rendering process doesn't need to be changed at all.&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="246" LastEditDate="2016-10-28T05:30:45.873" LastActivityDate="2016-10-28T05:30:45.873" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1925" PostTypeId="2" ParentId="1568" CreationDate="2016-10-27T15:20:24.847" Score="10" Body="&lt;p&gt;It seems I was very close with overriding Sitecore's &lt;code&gt;FormsAuthenticationProvider&lt;/code&gt;. With our first attempt we could successfully prevent cookie replay attacks, but we were unable to access the Sitecore backend! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only &lt;code&gt;GetActiceUser()&lt;/code&gt; is called when signing in to the Sitecore backend, the other methods not at all. So, on recommendation of Sitecore Support, we just call &lt;code&gt;base&lt;/code&gt; when we are on the Sitecore backend.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the custom provider:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using Sitecore;&#xA;using Sitecore.Security.Accounts;&#xA;using Sitecore.Security.Domains;&#xA;&#xA;namespace Custom.Security.Authentication&#xA;{&#xA;    public class CustomFormsAuthenticationProvider : Sitecore.Security.Authentication.FormsAuthenticationProvider&#xA;    {&#xA;        private const string LoggedInSessionKey = &quot;LoggedIn&quot;;&#xA;        private static readonly string[] SitesToSkip = new[] { &quot;shell&quot;, &quot;login&quot;, &quot;admin&quot; };&#xA;&#xA;        public override bool Login(User user)&#xA;        {&#xA;            if (!base.Login(user))&#xA;            {&#xA;                return false;&#xA;            }&#xA;&#xA;            if (IsValidSite())&#xA;            {&#xA;                HttpContext.Current.Session[LoggedInSessionKey] = true;&#xA;            }&#xA;&#xA;            return true;&#xA;        }&#xA;&#xA;        public override bool Login(string userName, bool persistent)&#xA;        {&#xA;            if (!base.Login(userName, persistent))&#xA;            {&#xA;                return false;&#xA;            }&#xA;&#xA;            if (IsValidSite())&#xA;            {&#xA;                HttpContext.Current.Session[LoggedInSessionKey] = true;&#xA;            }&#xA;&#xA;            return true;&#xA;        }&#xA;&#xA;        public override bool Login(string userName, string password, bool persistent)&#xA;        {&#xA;            if (!base.Login(userName, password, persistent))&#xA;            {&#xA;                return false;&#xA;            }&#xA;&#xA;            if (IsValidSite())&#xA;            {&#xA;                HttpContext.Current.Session[LoggedInSessionKey] = true;&#xA;            }&#xA;&#xA;            return true;&#xA;        }&#xA;&#xA;        public override void Logout()&#xA;        {&#xA;            if (HttpContext.Current.Session != null &amp;amp;&amp;amp; HttpContext.Current.Session[LoggedInSessionKey] != null)&#xA;            {&#xA;                HttpContext.Current.Session.Remove(LoggedInSessionKey);&#xA;            }&#xA;&#xA;            base.Logout();&#xA;        }&#xA;&#xA;        public override User GetActiveUser()&#xA;        {&#xA;            if (!IsValidSite() || IsMarkedAsLoggedInOrNoSession())&#xA;            {&#xA;                return base.GetActiveUser();&#xA;            }&#xA;&#xA;            return Context.Domain.GetAnonymousUser() ?? Domain.GetDefaultAnonymousUser();&#xA;        }&#xA;&#xA;        private static bool IsValidSite()&#xA;        {&#xA;            return !SitesToSkip.Contains(Sitecore.Context.GetSiteName(), StringComparer.OrdinalIgnoreCase);&#xA;        }&#xA;&#xA;        public static bool IsMarkedAsLoggedInOrNoSession()&#xA;        {&#xA;            return HttpContext.Current == null&#xA;                || HttpContext.Current.Session == null&#xA;                || HttpContext.Current.Session[LoggedInSessionKey] != null;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Don't forget to let Sitecore know about your custom provider. Change &lt;code&gt;web.config&lt;/code&gt; as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;authentication defaultProvider=&quot;forms&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;clear /&amp;gt;&#xA;    &amp;lt;add name=&quot;forms&quot; type=&quot;Custom.Security.Authentication.CustomFormsAuthenticationProvider, Custom&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/authentication&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All this is wrapped up in a (personal) &lt;a href=&quot;https://thomasddn.blogspot.be/2016/10/easily-prevent-cookie-replay-attacks-in.html&quot; rel=&quot;noreferrer&quot;&gt;blog post on preventing cookie replay attacks in Sitecore&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="114" LastEditorUserId="114" LastEditDate="2016-10-27T17:37:42.840" LastActivityDate="2016-10-27T17:37:42.840" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1926" PostTypeId="1" AcceptedAnswerId="1937" CreationDate="2016-10-27T15:46:29.230" Score="4" ViewCount="584" Body="&lt;p&gt;I have a recently upgraded 8.1 Sitecore instance with EXM 3.3 installed.  When I try to create a new regular Email Campaign I get the following screen. Am I doing something wrong?  Is something not installed correctly or configured correctly?  All I see is Import HTML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1Ogmi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Ogmi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="246" LastEditDate="2016-10-28T02:24:24.973" LastActivityDate="2016-10-28T02:24:24.973" Title="Create Message Options are Blank in EXM" Tags="|exm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1927" PostTypeId="2" ParentId="1903" CreationDate="2016-10-27T15:52:25.800" Score="1" Body="&lt;p&gt;Have you considered hooking into &lt;code&gt;item:saving&lt;/code&gt; Sitecore event? You can retrieve an item being saved and sanitize its fields:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void OnItemSaving(object sender, System.EventArgs args)&#xA;{&#xA;    Item item = Event.ExtractParameter(args, 0) as Item;&#xA;    Error.AssertNotNull(item, &quot;No item in parameters&quot;);&#xA;    //modify item fields as required&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info in John West's post: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-intercepting-item-updates-with-sitecore&quot; rel=&quot;nofollow&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-intercepting-item-updates-with-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="10" LastEditDate="2016-10-27T16:54:36.657" LastActivityDate="2016-10-27T16:54:36.657" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1928" PostTypeId="2" ParentId="1903" CreationDate="2016-10-27T17:55:40.547" Score="4" Body="&lt;p&gt;It looks like you want to directly paste the copied contents in experience editor, unlike RichText Field which provides dialog-popup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your layout, any master rendering page, or any global javascript, try to add this javascript.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;script&amp;gt;&#xA;    document.addEventListener('paste', function (e) {&#xA;        var content = e.clipboardData.getData('text/plain');&#xA;        document.execCommand('insertText', false, content);&#xA;        e.preventDefault();&#xA;        return false;&#xA;    });&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Refresh the page with disabled cache status in browser and test&lt;/p&gt;&#xA;" OwnerUserId="554" LastEditorUserId="554" LastEditDate="2016-10-27T18:03:04.153" LastActivityDate="2016-10-27T18:03:04.153" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1930" PostTypeId="2" ParentId="1739" CreationDate="2016-10-27T18:23:12.757" Score="4" Body="&lt;p&gt;Ran into this exact same issue but with Ninject instead.  From what I could tell it was a conflict of resolution between WebAPI and MVC.  Ultimately I was able to resolve the issue by implementing my own &lt;code&gt;IDependencyResolver&lt;/code&gt; and &lt;code&gt;IDependencyScope&lt;/code&gt; and binding that in the &lt;code&gt;App_Start&lt;/code&gt; (suggested in &lt;a href=&quot;https://stackoverflow.com/questions/20595472/mvc5-web-api-2-and-ninject&quot;&gt;https://stackoverflow.com/questions/20595472/mvc5-web-api-2-and-ninject&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class NinjectDependencyResolver : NinjectDependencyScope, IDependencyResolver&#xA;{&#xA;    private readonly IKernel _kernel;&#xA;    public NinjectDependencyResolver(IKernel kernel) : base(kernel)&#xA;    {&#xA;        _kernel = kernel;&#xA;    }&#xA;    public IDependencyScope BeginScope()&#xA;    {&#xA;        return new NinjectDependencyScope(_kernel.BeginBlock());&#xA;    }&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class NinjectDependencyScope : IDependencyScope&#xA;{&#xA;    private IResolutionRoot _resolver;&#xA;    internal NinjectDependencyScope(IResolutionRoot resolver)&#xA;    {&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in my &lt;code&gt;App_Start //(WebActivatorEx.PreApplicationStartMethod)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static void RegisterNinject(HttpConfiguration configuration) {&#xA;  // Set Web API Resolver&#xA;  configuration.DependencyResolver = new NinjectDependencyResolver(_bootstrapper.Kernel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now this is obviously all in Ninject, you are leveraging Autofac.&#xA;Searching for comparables, I found &lt;a href=&quot;https://stackoverflow.com/questions/26358287/how-do-i-resolve-web-api-controllers-using-autofac-in-a-mixed-web-api-and-mvc-ap&quot;&gt;https://stackoverflow.com/questions/26358287/how-do-i-resolve-web-api-controllers-using-autofac-in-a-mixed-web-api-and-mvc-ap&lt;/a&gt;.  From what I can tell the biggest keys to this post are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure to register the api controllers: &lt;code&gt;builder.RegisterApiControllers(Assembly.GetExecutingAssembly());&lt;/code&gt; which you look to be doing, maybe need to confirm it's the correct assembly.&lt;/li&gt;&#xA;&lt;li&gt;Create your own &lt;code&gt;CustomAutofacWebApiDependencyResolver&lt;/code&gt; that implements the &lt;code&gt;IDependencyResolver&lt;/code&gt; interface.&lt;/li&gt;&#xA;&lt;li&gt;Bind your new resolver (and maybe the MVC resolver as well)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Like so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;//MVC DependencyResolver&#xA;DependencyResolver.SetResolver(new AutofacDependencyResolver(container)); &#xA;&#xA;//WebApi DependencyResolver&#xA;GlobalConfiguration.Configuration.DependencyResolver = &#xA;    new CustomAutofacWebApiDependencyResolver((IContainer)container); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My only other issue getting WebAPI/MVC working inside the constraints of Sitecore (8.0 rev. 151127 to be exact) was getting it to recognize my controllers (and the associated Attribute Routing) at all. It involved swapping out the &lt;code&gt;DefaultHttpControllerSelector&lt;/code&gt; for my own &lt;code&gt;CustomHttpControllerSelector&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;config.Services.Replace(typeof(IHttpControllerSelector), &#xA;    new CustomHttpControllerSelector(config, &#xA;    new NamespaceQualifiedUniqueNameGenerator()));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and using &lt;a href=&quot;https://github.com/Krusen/Sitecore.WebApi/blob/master/Krusen.Sitecore.WebApi/CustomHttpControllerSelector.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; as a template for &lt;code&gt;CustomHttpControllerSelector&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hoping any little bit of this helps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One piece I forgot to add, which is less WebAPI specific and more DI focused, is on &lt;code&gt;App_Start&lt;/code&gt; I iterate thru the types in the assembly and bind all interfaces to a concrete type (in my example, binding all &lt;code&gt;Service&lt;/code&gt; and &lt;code&gt;Repository&lt;/code&gt; classes to their corresponding &lt;code&gt;Interfaces&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var bindings = (from t in serviceAssembly.GetTypes()&#xA;                  where t.IsClass //get all classes&#xA;                  where (t.Name.EndsWith(&quot;Service&quot;) || t.Name.EndsWith(&quot;Repository&quot;))&#xA;                  let interfaces = t.GetInterfaces()&#xA;                  from i in interfaces //get interfaces of all classes&#xA;                  where (i.Name.EndsWith(&quot;Service&quot;) || i.Name.EndsWith(&quot;Repository&quot;))&#xA;                  //Currently only mapping &quot;services&quot; and &quot;repositories&quot;, extend as needed&#xA;                  select new {&#xA;                    ClassType = t,&#xA;                    InterfaceType = i&#xA;                  }).ToDictionary(b =&amp;gt; b.InterfaceType, b =&amp;gt; b.ClassType);&#xA;&#xA;foreach (var binding in bindings) {&#xA;    //kernel.Bind(binding.Key).To(binding.Value).InRequestScope(); //Ninject&#xA;    builder.RegisterType&amp;lt;binding.Key&amp;gt;().As&amp;lt;binding.Value&amp;gt;();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="695" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-10-28T13:46:31.950" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1931" PostTypeId="2" ParentId="1922" CreationDate="2016-10-27T19:02:44.440" Score="3" Body="&lt;p&gt;Just to add onto @Kasaku's response, if you are looking to create a processor for the &lt;code&gt;&amp;lt;renderPlaceholder&amp;gt;&lt;/code&gt; pipeline that will run rules then you will either want to create a new processor to run your rules or extend and replace the OOTB &lt;code&gt;Sitecore.Mvc.Pipelines.Response.RenderPlaceholder&lt;/code&gt; processor. From a performance standpoint, your best bet would be to extend the OOTB processor (rather than make all the same database calls a second time). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your processor could look something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class PerformEnhancedRendering : Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering &#xA;{&#xA;    protected override void Render(string placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;    {&#xA;        var shouldRunRules = ... // do logic to check if you should run rules, here&#xA;&#xA;        if (shouldRunRules)&#xA;        {&#xA;            var ruleFolderId = ... // I recommend that you set this in configuration and then parse it&#xA;            var ruleFolderItem = Sitecore.Context.Database.GetItem(ruleFolderId);&#xA;            if (ruleFolderItem == null) &#xA;            {&#xA;                // null-case logic here&#xA;            }&#xA;&#xA;            var rules = RuleFactory.GetRules&amp;lt;RenderPlaceholderRuleContext&amp;gt;(ruleFolderItem, &quot;Rule&quot;);&#xA;            shouldRunRules = rules != null &amp;amp;&amp;amp; rules.Count &amp;gt; 0;&#xA;        }&#xA;&#xA;        foreach (Rendering rendering in this.GetRenderings(placeholderName, args))&#xA;        {&#xA;            if (shouldRunRules)&#xA;            {                &#xA;                var ruleContext = new RenderPlaceholderRuleContext()&#xA;                {&#xA;                    Rendering = rendering,&#xA;                    PlaceholderName = args.PlaceholderName&#xA;                };&#xA;&#xA;                rules.Run(ruleContext);&#xA;            }&#xA;&#xA;            PipelineService.Get().RunPipeline&amp;lt;RenderRenderingArgs&amp;gt;(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(rendering, writer));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and you would need a &lt;code&gt;RenderPlaceholderRuleContext&lt;/code&gt; class that extends the OOTB &lt;code&gt;RuleContext&lt;/code&gt; class and adds support for the &lt;code&gt;Rendering&lt;/code&gt; and &lt;code&gt;PlaceholderName&lt;/code&gt; properties, so that you can pass them into your rule conditions and actions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;ruleFolderId&lt;/code&gt; is the id of the Rule Folder item in Sitecore, under which you would have a rule context folder containing all of the rule items that you want to run.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="10" LastEditDate="2016-10-27T19:20:47.373" LastActivityDate="2016-10-27T19:20:47.373" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1932" PostTypeId="1" CreationDate="2016-10-27T19:04:36.903" Score="3" ViewCount="209" Body="&lt;p&gt;In &lt;code&gt;Sitecore Rocks&lt;/code&gt; -- when editing &lt;code&gt;ColumnField&lt;/code&gt; -- how do I format the text in a field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, I have data being inserted into the ListControl via a SearchDataSource.   One of the fields is a date field and it is coming through as: &#xA;2016-10-26T03:47:53.259Z&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like it a little cleaner in &lt;code&gt;MM/dd/yyyy hh:mm AM/PM&lt;/code&gt; format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see a field called &lt;code&gt;Formatter&lt;/code&gt; but not sure what I should put in there.  &lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="5387" LastEditDate="2019-08-08T04:21:07.840" LastActivityDate="2019-08-08T04:21:07.840" Title="How do I format the value shown in a ColumnField using Sitecore Rocks?" Tags="|experience-profile|sitecore-rocks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1933" PostTypeId="1" AcceptedAnswerId="1934" CreationDate="2016-10-27T19:06:22.677" Score="5" ViewCount="4631" Body="&lt;p&gt;Here is my scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Bucket of sitecore items of a specific template&lt;/li&gt;&#xA;&lt;li&gt;This template has a field tags(which is a treelist) where you can associate x items there.&#xA;I'm building a query using lucene to retrieve all the items from the index that have the same tags as my current item. How can I do that?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My code is not 100% done because getting this relashionship is not working properly.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(indexName).CreateSearchContext())&#xA;{&#xA;    //Filters related articles&#xA;    var relatedSearchQuery = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;        .Where( item =&amp;gt; item.ItemId != currentArticle.Id.ToID() &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How do I make that relationship as I can't make standard Linq queries at this point?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="73" LastEditDate="2016-10-28T00:24:23.700" LastActivityDate="2016-10-28T00:24:23.700" Title="Help with ContentSearch LINQ query syntax" Tags="|content-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1934" PostTypeId="2" ParentId="1933" CreationDate="2016-10-27T19:36:04.770" Score="11" Body="&lt;p&gt;To be able to search on a field in the Sitecore SearchAPI you need to add that field to a model. So you could create a new class derived from &lt;code&gt;SearchResultItem&lt;/code&gt; and add your tags field in:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MySearchResultItem: SearchResultItem&#xA;{&#xA;    [TypeConverter(typeof (IndexFieldEnumerableConverter))]&#xA;    [IndexField(&quot;tags&quot;)]&#xA;    public IEnumerable&amp;lt;ID&amp;gt; Tags { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm here assuming that your &lt;code&gt;Tags&lt;/code&gt; field is a list type field that stores the Guids of the tags. The &lt;code&gt;IndexField&lt;/code&gt; attribute tells Sitecore what the field name is for this property. The &lt;code&gt;TypeConverter&lt;/code&gt; field tells the API how to convert the value stored in the index to the C# type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you have that you can use it in your Linq query:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(indexName).CreateSearchContext())&#xA;{&#xA;    //Filters related articles&#xA;    var relatedSearchQuery = context.GetQueryable&amp;lt;MySearchResultItem&amp;gt;()&#xA;        .Where(item =&amp;gt; item.ItemId != currentArticle.Id.ToID() &amp;amp;&amp;amp;&#xA;                       item.Tags.Contains(currentArticle.TagId))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here I am assuming a single tag on the current article.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to compare a list with a list it gets a bit more complicated. In that case you need to create a search extension that will build that query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code. I have included the comments in the code to explain what is going on.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static class SearchExtensions&#xA;{&#xA;    public static IQueryable&amp;lt;TSource&amp;gt; ContainsOr&amp;lt;TSource, TKey&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; queryable, Expression&amp;lt;Func&amp;lt;TSource, TKey&amp;gt;&amp;gt; keySelector, IEnumerable values) where TKey : IEnumerable&#xA;    {&#xA;        return Contains(queryable, keySelector, values, true);&#xA;    }&#xA;&#xA;    public static IQueryable&amp;lt;TSource&amp;gt; ContainsAnd&amp;lt;TSource, TKey&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; queryable, Expression&amp;lt;Func&amp;lt;TSource, TKey&amp;gt;&amp;gt; keySelector, IEnumerable values) where TKey : IEnumerable&#xA;    {&#xA;        return Contains(queryable, keySelector, values, false);&#xA;    }&#xA;&#xA;    public static IQueryable&amp;lt;TSource&amp;gt; Contains&amp;lt;TSource, TKey&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; queryable, Expression&amp;lt;Func&amp;lt;TSource, TKey&amp;gt;&amp;gt; keySelector, IEnumerable values, bool orOperator) where TKey : IEnumerable&#xA;    {&#xA;        const string methodName = &quot;Contains&quot;;&#xA;&#xA;        // Ensure the body of the selector is a MemberExpression&#xA;        if (!(keySelector.Body is MemberExpression))&#xA;        {&#xA;            throw new InvalidOperationException(&quot;Expression must be a member expression&quot;);&#xA;        }&#xA;&#xA;        var typeOfTSource = typeof(TSource);&#xA;        var typeOfTKey = typeof(TKey);&#xA;&#xA;        // x&#xA;        var parameter = Expression.Parameter(typeOfTSource);&#xA;&#xA;        // Create the enumerable of constant expressions based off of the values&#xA;        var constants = values.Cast&amp;lt;object&amp;gt;().Select(id =&amp;gt; Expression.Constant(id));&#xA;&#xA;        IEnumerable&amp;lt;MethodCallExpression&amp;gt; expressions = Enumerable.Empty&amp;lt;MethodCallExpression&amp;gt;();&#xA;        /*&#xA;         * Create separate MethodCallExpression objects for each constant expression created&#xA;         *&#xA;         * Each expression will effectively be like running the following;&#xA;         * x =&amp;gt; x.MyIdListField.Contains(AnId)&#xA;         *&#xA;         * Check to see if we can find a method on TKey type which matches the method we want to run.&#xA;         * We do this because not all types use the static IEnumerable extension e.g. the String class&#xA;         * has it's own implementation of .Contains.&#xA;         *&#xA;         * If we can't find a matching method then we try to run the extension method found in Enumerable&#xA;         */&#xA;        if (typeOfTKey.GetMethods().Any(m =&amp;gt; m.Name.Equals(methodName)))&#xA;        {&#xA;            var method = typeOfTKey.GenericTypeArguments.Any() ? typeOfTKey.GetMethod(methodName, typeOfTKey.GenericTypeArguments) : typeOfTKey.GetMethod(methodName);&#xA;&#xA;            /*&#xA;             * instance     -&amp;gt; this would be property we want to run the expession on e.g.&#xA;             *                 IQueryable&amp;lt;MyPocoTemplate&amp;gt;.Where(x =&amp;gt; x.MyIdListField)&#xA;             *                 so keySelector.Body will contain the &quot;x.MyIdListField&quot; which is what we want to run&#xA;             *                 each constant expression against&#xA;             * method       -&amp;gt; the method to run against the instance e.g. &quot;x.MyIdListField.Contains(...)&quot;&#xA;             * arguments    -&amp;gt;&#xA;             *      constant    -&amp;gt;  this is the constant expression (value) to be passed to the method&#xA;             */&#xA;            expressions = constants.Select(constant =&amp;gt; Expression.Call(keySelector.Body, method, constant));&#xA;        }&#xA;        else&#xA;        {&#xA;            /*&#xA;             * type             -&amp;gt;  we need to specify the type which contains the method we want to run&#xA;             * methodName       -&amp;gt;  in this instance we need to specify the Contains method&#xA;             * typeArguments    -&amp;gt;  the type parameter from TKey&#xA;             *                      e.g. if we're passing through IEnumerable&amp;lt;Guid&amp;gt; then this will pass through the Guid type&#xA;             *                      this is because we're effectively running IEnumerable&amp;lt;Guid&amp;gt;.Contains(Guid guid) for each&#xA;             *                      guid in our values object&#xA;             * arguments        -&amp;gt;&#xA;             *      keySelector.Body    -&amp;gt;  this would be property we want to run the expession on e.g.&#xA;             *                              IQueryable&amp;lt;MyPocoTemplate&amp;gt;.Where(x =&amp;gt; x.MyIdListField)&#xA;             *                              so keySelector.Body will contain the &quot;x.MyIdListField&quot; which is what we want to run&#xA;             *                              each constant expression against&#xA;             *      constant            -&amp;gt;  this is the constant expression (value) to be passed to the method&#xA;             */&#xA;            var typeArgs = typeOfTKey.IsArray ? new[] { typeOfTKey.GetElementType() } : typeOfTKey.GenericTypeArguments;&#xA;&#xA;            expressions = constants.Select(constant =&amp;gt; Expression.Call(typeof(Enumerable), methodName, typeArgs, keySelector.Body, constant));&#xA;        }&#xA;&#xA;        /* &#xA;         * Combine all the expressions into one expression so you would end with something like;&#xA;         * &#xA;         * x =&amp;gt; x.MyIdListField.Contains(AnId) OR x.MyIdListField.Contains(AnId) OR x.MyIdListField.Contains(AnId)&#xA;         */&#xA;        var aggregateExpressions = expressions.Select(expression =&amp;gt; (Expression)expression).Aggregate((x, y) =&amp;gt; orOperator ? Expression.OrElse(x, y) : Expression.AndAlso(x, y));&#xA;&#xA;        // Create the Lambda expression which can be passed to the .Where&#xA;        var lambda = Expression.Lambda&amp;lt;Func&amp;lt;TSource, bool&amp;gt;&amp;gt;(aggregateExpressions, parameter);&#xA;&#xA;        return queryable.Where(lambda);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will then allow you to do a &lt;code&gt;.ContainsAnd&lt;/code&gt; or a &lt;code&gt;.ContainsOr&lt;/code&gt; with your lists. &lt;code&gt;ContainsAnd&lt;/code&gt; means that &lt;em&gt;all&lt;/em&gt; entries in the list &lt;em&gt;must&lt;/em&gt; be present in the returned item. &lt;code&gt;ContainsOr&lt;/code&gt; returns items where it contains &lt;em&gt;any&lt;/em&gt; of the ID's in the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So your query would become:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(indexName).CreateSearchContext())&#xA;{&#xA;    //Filters related articles&#xA;    var relatedSearchQuery = context.GetQueryable&amp;lt;MySearchResultItem&amp;gt;()&#xA;        .Where(item =&amp;gt; item.ItemId != currentArticle.Id.ToID())&#xA;        .ContainsAnd(item =&amp;gt; item.Tags, currentArticle.Tags)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;currentArticle.Tags&lt;/code&gt; is an already populated list of ID's.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SearchExtensions code taken from &lt;a href=&quot;https://github.com/Fortis-Collection/fortis/blob/master/src/Fortis/Search/SearchExtensions.cs&quot;&gt;Fortis Search Extensions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-27T19:36:04.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1935" PostTypeId="2" ParentId="1864" CreationDate="2016-10-27T23:24:25.517" Score="12" Body="&lt;p&gt;I could get up on a soap box and speak for days on this. In fact I have. &lt;a href=&quot;http://intothecore.cassidy.dk/2013/08/the-page-template-mistake.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;The Page Template Mistake&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The role of Information Hiding&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The first concern you must address (from my viewpoint) is: You need to separate this decision making from your actual code build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or put differently: &lt;strong&gt;Your components should make as few assumptions about the Information Architecture as possible&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In software engineering this loosely called &lt;a href=&quot;https://en.wikipedia.org/wiki/Information_hiding&quot; rel=&quot;nofollow noreferrer&quot;&gt;Information Hiding&lt;/a&gt;. It's a good practice in software development, and it holds true for your Sitecore solutions as well.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In computer science, information hiding is the principle of&#xA;  segregation of the design decisions in a computer program that are&#xA;  most likely to change, thus protecting other parts of the program from&#xA;  extensive modification if the design decision is changed. The&#xA;  protection involves providing a stable interface which protects the&#xA;  remainder of the program from the implementation (the details that are&#xA;  most likely to change).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Translated into &quot;Sitecore speak&quot;, this means you need to declare an interface between your Sitecore Information Architecture and your component - creating a clear definition of what information is the component is made aware of. Subsequently, everything else is &quot;off limits&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fortunately we have a method for doing exactly that - it's the &lt;strong&gt;Datasource Template&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The shared interface&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;So, we've established that any &lt;em&gt;component&lt;/em&gt; should have a clearly defined &lt;em&gt;interface&lt;/em&gt;. We then connect the two, by setting the &lt;code&gt;Datasource Template&lt;/code&gt; on your rendering item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Datasource Template&lt;/code&gt; looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/orz1T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/orz1T.png&quot; alt=&quot;the MetaHead template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And we reference the template on the MetaHead &lt;code&gt;Rendering&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5yy5P.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5yy5P.png&quot; alt=&quot;the MetaHead rendering&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far so good. You've established a basic &quot;contract&quot; between Sitecore and your component implementation. (As an aside, there &lt;em&gt;are&lt;/em&gt; ways this can be overridden, so it's not a strict &quot;guarantee&quot;. It's usually good enough however.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next step is to use this in your code.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The design pattern&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;One of the oldest principles in Sitecore Information Architecture, is how the code treats the Datasource it is given given. When Sitecore was originally envisioned, I suspect sites were being built primarily using XSLT. As such, it makes sense to pay attention to how the XSLT engine treats a &lt;code&gt;Datasource&lt;/code&gt; sent to a component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We find this in the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/64/presentation_component_xsl_reference_sc62-64-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Presentation Component XSL Reference&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A rendering can retrieve data from its data source item. The $sc_item&#xA;  variable represents the data source item for an XSL rendering. If the&#xA;  developer does not specify a data source item for a rendering, the&#xA;  default data source item is the context item, and $sc_item and&#xA;  $sc_currentitem are the same item.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Translated into technologies we use today, it basically says &lt;strong&gt;if a Datasource has been set, use it. If not, fall back to Context.Item&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before doing anything else, your code should ensure that the item you get from the process above actually implements the template you defined in the contract above. (I know &lt;a href=&quot;http://glass.lu/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Glass Mapper&lt;/a&gt; can do this. It's also what my own &lt;a href=&quot;https://github.com/cassidydotdk/Sitecore.Datalift&quot; rel=&quot;nofollow noreferrer&quot;&gt;Datalift project&lt;/a&gt; is all about.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now implement your component; &lt;em&gt;assume nothing&lt;/em&gt; about data outside your defined component template. No &lt;code&gt;Context.Item&lt;/code&gt;, no &lt;code&gt;Context.Database&lt;/code&gt;, nothing at all. That one item you end up with - will have all of that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I like to call this item your &lt;code&gt;ActionItem&lt;/code&gt;, simply to distinguish it from other terms that are used a bit loosely (like &lt;code&gt;Datasource Item&lt;/code&gt; and &lt;code&gt;Current Item&lt;/code&gt;.)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;ActionItem.Database&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ActionItem.Language&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;and so on. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;You should essentially never need to touch &lt;code&gt;Context.Anything&lt;/code&gt; using this approach.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have now come full circle and I can explain how this relates to your question. (And more importantly, why you shouldn't spend a whole lot of time worrying about exactly this.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Page Templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you follow the above recommendations, you're largely &lt;em&gt;free&lt;/em&gt; of constraints in your Page Templates - and you're also free to change your mind later on. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The role of the Page Template&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;So in your question you specifically ask for, where a &lt;code&gt;field&lt;/code&gt; should live. I say; you don't make these decisions on &lt;code&gt;field&lt;/code&gt; level. You make them on template level. Where each template matches a component. You don't want components cherry picking &lt;code&gt;fields&lt;/code&gt; left, right, and center - you want Information Hiding so the components know nothing that isn't in the contract you've set up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To demonstrate and visualize what I mean, I've set up a few more component templates:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sFlSO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sFlSO.png&quot; alt=&quot;Additional Component Templates&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And to match it, I've added some matching rendering definitions.&#xA;We'll pretend I've coded them as described above ;-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KzowJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KzowJ.png&quot; alt=&quot;Rendering Definitions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And now we're at the key question: &quot;How should I decide, what goes on the Page Templates?&quot;. First, let's make a Page Template called &lt;code&gt;Homepage&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FRreV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FRreV.png&quot; alt=&quot;Homepage template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then say to myself; &quot;Well for this type of page - I will always have at least one of each of my components on the page. (There may be &lt;em&gt;additional&lt;/em&gt; promo spots, but I will always have one.)&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that case, we're good to use our component templates as base templates for our page template. We go to the Template Builder ribbon, select &lt;code&gt;Base templates&lt;/code&gt;, and add all of them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KiHRD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KiHRD.png&quot; alt=&quot;Homepage template with all inheritance&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And - this should come as no surprise - we end up with a Page Template that now has fields, for all of these components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qVMgO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qVMgO.png&quot; alt=&quot;Fields of the Homepage template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And your code will work. Create new instances of this new Page Template, add your components to Presentation Details, and don't set a Datasource for them... everything works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's create another one called &lt;code&gt;Section Page&lt;/code&gt;. This time we're not so sure there's always a Promotion on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vOpom.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vOpom.png&quot; alt=&quot;Section Page template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, we won't use the Promotion template as a base for our Page Template itself. But you can of course, still add a promotion to your Presentation Details and set a Datasource for it. And so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See what I'm getting at?  It doesn't really matter. You can create a hundred Page Templates if you want (you probably shouldn't) - and if there are certain types of pages in your solution that would need to be under Workflow? Well then you make &quot;thick&quot; Page Templates, like I just did here.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have other types of pages that need to be as flexible as possible - an almost blank &quot;canvas&quot; for your editors to roam freely in? Well then make a thin one. Possibly not inheriting from anything other than maybe &lt;code&gt;MetaHead&lt;/code&gt;, &lt;code&gt;Header&lt;/code&gt; and &lt;code&gt;Footer&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Need some pages to enter a translation flow?  Inherit from the components that are part of this flow, and make a Page Template for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My point is; &lt;strong&gt;it doesn't really matter so much&lt;/strong&gt;. As long as you're using solid implementation practices - you can freely mold your Information Architecture to suit your requirements. &lt;strong&gt;And not a single line of code in your solution should need to be changed in this process.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which, I'm guessing, is the primary reason you're asking this question at all.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="3592" LastEditDate="2018-04-25T16:33:46.737" LastActivityDate="2018-04-25T16:33:46.737" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1937" PostTypeId="2" ParentId="1926" CreationDate="2016-10-28T02:06:18.910" Score="4" Body="&lt;p&gt;In EXM, the reason this list is blank is because the &lt;strong&gt;Default&lt;/strong&gt; item for One-Time Messages has not been associated with any Message Templates.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;Background Information&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For Each EXM Manager Root, there are three types of Messages that can be sent out.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;One Time Messages&lt;/li&gt;&#xA;&lt;li&gt;Subscription Messages&lt;/li&gt;&#xA;&lt;li&gt;Triggered Messages&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Under a Single EXM Manager Root, it looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LGrJY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LGrJY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The red arrow is pointing to the &lt;strong&gt;Default&lt;/strong&gt; setting item for the One Time Messages. Open the item up in Content Editor to review settings for this item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of particular interest is the Insert Option field on this item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yS6ol.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yS6ol.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM uses the Insert Options field of this item to store which Message Templates for the specific EXM Manager Root, should display in the Create Screen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the above example, only one message shows up.  When I go to the Create Screen, I see one message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HU7GX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HU7GX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I add a new Message Template (located in the &lt;code&gt;/sitecore/templates/branches&lt;/code&gt; folder:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Q6qZN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q6qZN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The resultant Create Message option dialog looks like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TDTbM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TDTbM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;Why Aren't The Default EXM Insert Options Shown?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For some reason, during the upgrade process, the default message create options were erased from this object. Simply add the default ones back in, if you'd like to use them. You can find them in the branch templates:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4KUK6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4KUK6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;Gotchas&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If dealing with multiple EXM Manager Root's, besure you are adjusting the right manager root, otherwise you'll pull your hair out for 2 hours like I did while writing this answer, just to realize that I had the wrong Manager Root selected in EXM. =) Opps.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-28T02:21:49.497" LastActivityDate="2016-10-28T02:21:49.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1939" PostTypeId="2" ParentId="230" CreationDate="2016-10-28T05:03:54.913" Score="9" Body="&lt;p&gt;It has been determined that List Manager in Sitecore 8.1 is not as efficient as it could be. Sitecore Support KB Reference Number 431777 assists with List Manager issues. With this installed, List Manager seems to function better, albeit still not as fast.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, the answer from Sitecore Support is that List Manager as a product is being overhauled and rewritten. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Speculation is that there may be a List Manager Hotfix/Update out of cycle before Sitecore 8.3 is released, however, normally List Manager is released with updates on the same schedule as the over all product.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;How does this tie into EXM?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;EXM uses all List Manager functions now to manage recipient lists. So if you're struggling with lists like I was, contact Sitecore Support and explain that you need all of the List Manager KB's as well as the EXM 3.3 Hotfix.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2016-10-31T16:48:36.327" LastActivityDate="2016-10-31T16:48:36.327" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1940" PostTypeId="1" CreationDate="2016-10-28T05:08:29.010" Score="4" ViewCount="497" Body="&lt;p&gt;Is there any rule of thumb on the number of caching services to have with Content delivery servers. Like 2 Cache services with 1 CD in Azure PAAS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Asking this question, because one of our clients faces 100% CPU usage on Caching service and Content delivery services, for at least 15-20 minutes after the Sitecore Azure PAAS build completes successfully and web role is started. This issue we are facing after the Client added 2 more Content delivery servers (in anticipation of more site visits) during the festival week in China. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So do we have to increase the Caching service count from current 2 to 4? The only issue is high CPU usage after the build and sites are unavailable for at least 25 minutes after. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, we have 4 CD's but only 2 cache services. I understand that the number of Caching services may be dependent on the No of Site hits and other factors as well. Does Azure support team help clients in issues like these to verify Site installations?&lt;/p&gt;&#xA;" OwnerUserId="106" LastEditorUserId="5387" LastEditDate="2019-08-08T04:19:56.760" LastActivityDate="2019-08-08T04:19:56.760" Title="Sitecore Azure Cachingservices Sizing on Prod Based on number of CD servers" Tags="|caching|azure|performance|" AnswerCount="2" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="1941" PostTypeId="2" ParentId="1932" CreationDate="2016-10-28T05:21:19.440" Score="5" Body="&lt;p&gt;The Formatter field is really only for date formatting, which is good since that is what you are looking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The options for formatting the dates include the following list. Scroll to the bottom to get the full definition and regex treatment applied:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;mmss&lt;/li&gt;&#xA;&lt;li&gt;mss&lt;/li&gt;&#xA;&lt;li&gt;hmm&lt;/li&gt;&#xA;&lt;li&gt;hm&lt;/li&gt;&#xA;&lt;li&gt;ms&lt;/li&gt;&#xA;&lt;li&gt;ampm&lt;/li&gt;&#xA;&lt;li&gt;ap&lt;/li&gt;&#xA;&lt;li&gt;yyyy&lt;/li&gt;&#xA;&lt;li&gt;yy&lt;/li&gt;&#xA;&lt;li&gt;mm&lt;/li&gt;&#xA;&lt;li&gt;m&lt;/li&gt;&#xA;&lt;li&gt;dd&lt;/li&gt;&#xA;&lt;li&gt;d&lt;/li&gt;&#xA;&lt;li&gt;hh&lt;/li&gt;&#xA;&lt;li&gt;h&lt;/li&gt;&#xA;&lt;li&gt;ss&lt;/li&gt;&#xA;&lt;li&gt;s&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h1&gt;Background Information&lt;/h1&gt;&#xA;&#xA;&lt;h2&gt;How is Formatter Handled?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Formatter&lt;/code&gt; field coming out of the &lt;code&gt;ColumnField&lt;/code&gt; item type is used in the &lt;code&gt;ListControl&lt;/code&gt; class as a Backbone &lt;code&gt;data-bind&lt;/code&gt; attribute.  You can see it in action below. The key to note is the &lt;code&gt;formatValue(DataField,formatter)&lt;/code&gt; that is being used.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public virtual string RenderRow()&#xA;{&#xA;  Item dataSource = this.GetDataSource();&#xA;  if (dataSource == null)&#xA;    return string.Empty;&#xA;  StringWriter stringWriter = new StringWriter();&#xA;  HtmlTextWriter output = new HtmlTextWriter((TextWriter) stringWriter);&#xA;  foreach (Item child in dataSource.Children)&#xA;  {&#xA;    string str1 = string.IsNullOrEmpty(child[&quot;ContentAlignment&quot;]) ? string.Empty : &quot; sc-text-align-&quot; + ClientHost.Items.GetItem(child[&quot;ContentAlignment&quot;]).Name.ToLower();&#xA;    output.AddAttribute(HtmlTextWriterAttribute.Class, &quot;ventilate&quot; + str1);&#xA;    output.AddAttribute(&quot;data-sc-important&quot;, &quot;data-sc-important&quot;);&#xA;    string str2;&#xA;    if (string.IsNullOrEmpty(child[&quot;Formatter&quot;]) &amp;amp;&amp;amp; string.IsNullOrEmpty(child[&quot;HTMLTemplate&quot;]))&#xA;    {&#xA;      string str3 = &quot;typeof $data['&quot; + child[&quot;DataField&quot;] + &quot;'] != 'undefined' ? $data['&quot; + child[&quot;DataField&quot;] + &quot;'] : ''&quot;;&#xA;      str2 = string.Format(&quot;{0},{1}&quot;, (object) (&quot;text: &quot; + str3), (object) (&quot;attr: { title: &quot; + str3 + &quot; }&quot;));&#xA;    }&#xA;    else if (string.IsNullOrEmpty(child[&quot;DataField&quot;]) &amp;amp;&amp;amp; !string.IsNullOrEmpty(child[&quot;HTMLTemplate&quot;]))&#xA;      str2 = &quot;html: formatValue('', '&quot; + child[&quot;HTMLTemplate&quot;] + &quot;')&quot;;&#xA;    else&#xA;      str2 = string.Format(&quot;{0},{1}&quot;, (object) (&quot;text: formatValue('&quot; + child[&quot;DataField&quot;] + &quot;', '&quot; + child[&quot;Formatter&quot;] + &quot;')&quot;), (object) (&quot;attr: { title:  formatValue('&quot; + child[&quot;DataField&quot;] + &quot;', '&quot; + child[&quot;Formatter&quot;] + &quot;')}&quot;));&#xA;    ListControl.SetWidthStyle(output, child);&#xA;    output.AddAttribute(&quot;data-bind&quot;, str2);&#xA;    output.RenderBeginTag(HtmlTextWriterTag.Td);&#xA;    output.RenderEndTag();&#xA;  }&#xA;  return stringWriter.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;formatValue(object,format)&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is a Sitecore &lt;code&gt;ListControl.js&lt;/code&gt; Javascript method that is getting passed through the &lt;code&gt;data-bind&lt;/code&gt; attribute listed above and executed on the client side when the List is created and displayed. It appears that &lt;code&gt;formatValue()&lt;/code&gt; really is only meant to handle date formatting. However, as you look at formatValue() method below, you'll note that the &lt;code&gt;dateConverter.toStringWithFormat()&lt;/code&gt; is getting called out of the Sitecore minified Backbone javascript.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;    // apply formating&#xA;    itemModel.viewModel.formatValue = function (name, format) {&#xA;&#xA;      var val = &quot;&quot;;&#xA;&#xA;      //  Checking for this[name]() invokes binding, so make sure this[name] is a function&#xA;      if (typeof this[name] === 'function' &amp;amp;&amp;amp; name != &quot;&quot; &amp;amp;&amp;amp; typeof this[name]() != 'undefined') {&#xA;        val = this[name]();&#xA;      }&#xA;&#xA;      var tempValue = '';&#xA;      var additionalValues;&#xA;      if (this.$formattedFields) {&#xA;        additionalValues = this.$formattedFields();&#xA;      }&#xA;&#xA;     if (format &amp;amp;&amp;amp; format == &quot;short&quot;) {&#xA;       if (additionalValues &amp;amp;&amp;amp; additionalValues[name]) {&#xA;          tempValue = additionalValues[name].shortDateValue;&#xA;          if (tempValue) val = tempValue;&#xA;        }&#xA;      }&#xA;      else if (format &amp;amp;&amp;amp; format == &quot;long&quot;) {&#xA;        if (additionalValues &amp;amp;&amp;amp; additionalValues[name]) {&#xA;          tempValue = additionalValues[name].longDateValue;&#xA;          if (tempValue) val = tempValue;&#xA;        }&#xA;      }&#xA;      else if (format) {&#xA;        var isHtmlTemplate = val == &quot;&quot; &amp;amp;&amp;amp; name == &quot;&quot;;&#xA;        if (isHtmlTemplate) {&#xA;          var viewModel = this;&#xA;          var getValue = function (fieldname) {&#xA;            if (typeof viewModel[fieldname] != &quot;undefined&quot;) {&#xA;              return viewModel[fieldname]();&#xA;            }&#xA;            return undefined;&#xA;          };&#xA;          tempValue = sc.Helpers.string.formatByTemplate(format, getValue);&#xA;&#xA;        } else if (sc.Helpers.date.isISO(val)) {&#xA;          var dateConverter = sc.Converters.get(&quot;date&quot;);&#xA;          tempValue = dateConverter.toStringWithFormat(val, format);&#xA;        }&#xA;        if (tempValue) val = tempValue;&#xA;      }&#xA;&#xA;      return val;&#xA;    };&#xA;    this.collection.add(itemModel);&#xA;  }, this);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;What can I pass into the Formatter Field?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;By looking at the &lt;code&gt;toStringWithFormat&lt;/code&gt; method, you can pretty easily tell what date formatting options you have.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;  toStringWithFormat: function (value, format) {&#xA;    if (Utils.date.isISO(value)) {&#xA;      try {&#xA;        var date = Utils.date.parseISO(value);&#xA;        var formats = {&#xA;          mmss: {&#xA;            expression: &quot;(\\W|^)mm(\\W+s{1,2}\\W|\\W+s{1,2}$)&quot;,&#xA;            value: Utils.date.ensureTwoDigits(date.getUTCMinutes())&#xA;          },&#xA;          mss: {&#xA;            expression: &quot;(\\W|^)m(\\W+s{1,2}\\W|\\W+s{1,2}$)&quot;,&#xA;            value: date.getUTCMinutes().toString(),&#xA;          },&#xA;          hmm: {&#xA;            expression: &quot;(\\Wh{1,2}\\W+|^h{1,2}\\W+)mm(\\W|$)&quot;,&#xA;            value: Utils.date.ensureTwoDigits(date.getUTCMinutes()),&#xA;          },&#xA;          hm: {&#xA;            expression: &quot;(\\Wh{1,2}\\W+|^h{1,2}\\W+)m(\\W|$)&quot;,&#xA;            value: date.getUTCMinutes().toString(),&#xA;          },&#xA;          ms: {&#xA;            expression: &quot;(\\Wss\\W|^ss\\W)00(\\W|$)&quot;,&#xA;            value: Utils.date.ensureTwoDigits(date.getUTCMilliseconds()),&#xA;          },&#xA;          ampm: {&#xA;            expression: &quot;(\\W|^)AM/PM(\\W|$)&quot;,&#xA;            value: ((date.getUTCHours() &amp;gt;= 12) ? &quot;PM&quot; : &quot;AM&quot;),&#xA;          },&#xA;          ap: {&#xA;            expression: &quot;(\\W|^)A/P(\\W|$)&quot;,&#xA;            value: ((date.getUTCHours() &amp;gt;= 12) ? &quot;P&quot; : &quot;A&quot;),&#xA;          },&#xA;          yyyy: {&#xA;            expression: &quot;(\\W|^)yyyy(\\W|$)&quot;,&#xA;            value: date.getUTCFullYear().toString(),&#xA;          },&#xA;          yy: {&#xA;            expression: &quot;(\\W|^)yy(\\W|$)&quot;,&#xA;            value: Utils.date.ensureTwoDigits(date.getUTCFullYear() % 100),&#xA;          },&#xA;          mm: {&#xA;            expression: &quot;(\\W|^)mm(\\W|$)&quot;,&#xA;            value: Utils.date.ensureTwoDigits(date.getUTCMonth() + 1),&#xA;          },&#xA;          m: {&#xA;            expression: &quot;(\\W|^)m(\\W|$)&quot;,&#xA;            value: (date.getUTCMonth()+1).toString(),&#xA;          },&#xA;          dd: {&#xA;            expression: &quot;(\\W|^)dd(\\W|$)&quot;,&#xA;            value: Utils.date.ensureTwoDigits(date.getUTCDate()),&#xA;          },&#xA;          d: {&#xA;            expression: &quot;(\\W|^)d(\\W|$)&quot;,&#xA;            value: date.getUTCDate().toString(),&#xA;          },&#xA;          hh: {&#xA;            expression: &quot;(\\W|^)hh(\\W|$)&quot;,&#xA;            value: Utils.date.ensureTwoDigits(date.getUTCHours()),&#xA;          },&#xA;          h: {&#xA;            expression: &quot;(\\W|^)h(\\W|$)&quot;,&#xA;            value: (date.getUTCHours() &amp;gt; 12) ? (date.getUTCHours() - 12).toString() : ((date.getUTCHours() == 0) ? 12 : date.getUTCHours()).toString(),&#xA;          },&#xA;          ss: {&#xA;            expression: &quot;(\\W|^)ss(\\W|$)&quot;,&#xA;            value: Utils.date.ensureTwoDigits(date.getUTCSeconds()),&#xA;          },&#xA;          s: {&#xA;            expression: &quot;(\\W|^)s(\\W|$)&quot;,&#xA;            value: date.getUTCSeconds().toString()&#xA;          }&#xA;        };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-28T05:21:19.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1942" PostTypeId="2" ParentId="1940" CreationDate="2016-10-28T05:32:06.960" Score="2" Body="&lt;p&gt;My reply does not answer your question directly, because Azure caching is to be defined dynamically according to your load factor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nevertheless, for the high load website I would personally recommend the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Tune your Sitecore &lt;strong&gt;rendering output caches&lt;/strong&gt; as per Sitecore official performance tuning guide (your case is &lt;strong&gt;section 4.4&lt;/strong&gt;, but it always good to get yourself acquainted with all the information) &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/cms_tuning_guide_sc70-72-a4.pdf&quot; rel=&quot;nofollow&quot;&gt;https://sdn.sitecore.net/upload/sitecore7/70/cms_tuning_guide_sc70-72-a4.pdf&lt;/a&gt; ;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Do not deploy your code to all the servers at once. Instead, deploy one by one, to make sure there is at least one alive cluster&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a warmup script which will browse through the website sitemap and fill the sitecore output cache and azure cache for the CD instance that has got an updated code. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I don't have any figures (like % of reduced load), but correctly configured output caching always improves the performance &lt;strong&gt;dramatically&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;p.s. As a general suggestion, I would also recommend you to use the &lt;strong&gt;dotTrace&lt;/strong&gt; profiler to identify places in code, which utilize most of the CPU time and cause the load. This will help you a lot to identify places in your code to optimize and debug. &lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="246" LastEditDate="2016-10-28T05:33:28.393" LastActivityDate="2016-10-28T05:33:28.393" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1945" PostTypeId="1" AcceptedAnswerId="2403" CreationDate="2016-10-28T09:16:37.997" Score="2" ViewCount="589" Body="&lt;p&gt;I've created a custom SPEAK 2.0 dashboard that lists sitecore items for a specific template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This dashboard was created for low level content editors which will only manage (create, edit, delete &amp;amp; publish) those items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to add the following functionality but I'm completely stuck at the moment...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;When you click on an item, it opens the content editor so you can edit it&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Something useful that I already found: setting a HTML template on a DataField as shown by Martina: &lt;a href=&quot;https://mhwelander.net/2014/07/03/speak-for-newbies-part-5-building-a-custom-form-3/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mhwelander.net/2014/07/03/speak-for-newbies-part-5-building-a-custom-form-3/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Locate the HTMLTemplate field and add the following:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;a href=&quot;/sitecore/client/Your Apps/Properties/AddEditProperty?id={{itemId}}&quot;&amp;gt;{{Location}}&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{{Location}} is the name of the field we want to output, and {{itemId}} is a standard token which will be replaced by the ID of the item in the row. Lastly, delete the contents of the DataField field. If you leave this filled in, the contents of the HTMLTemplate will not be output. The ‘Location’ text of each row will now link to the ‘Add/Edit Property’ page.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Reasons for not choosing to create an edit page for the item in SPEAK:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;no default rich text editor (there is a plugin though)&lt;/li&gt;&#xA;&lt;li&gt;no default datepicker field&lt;/li&gt;&#xA;&lt;li&gt;I have no idea on how to handle versioning&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="483" LastEditorUserId="483" LastEditDate="2016-11-09T20:58:19.617" LastActivityDate="2016-11-09T21:08:36.900" Title="How to open the content editor from SPEAK?" Tags="|speak|" AnswerCount="1" CommentCount="3" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1946" PostTypeId="1" AcceptedAnswerId="1948" CreationDate="2016-10-28T10:46:51.523" Score="3" ViewCount="235" Body="&lt;p&gt;I have to bulk-add a large number of users to a role, to this extent I am using the Add-RoleMember cmdlet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I run&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Add-RoleMember -Identity  &quot;&amp;lt;role name&amp;gt;&quot; -Members &quot;name.lastname&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;it works fine, however in our instance the users come from an Okta Membership Provider, where they are identified by their domain\email - such as&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;domain\name.lastname@maildomain.com&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to run&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Add-RoleMember -Identity  &quot;&amp;lt;role name&amp;gt;&quot; -Members &quot;domain\name.lastname@maildomain.com&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am greeted with a:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Error: The name is improperly formatted. &#xA;The name can only contain the following characters: a-z, 0-9, periods, dashes, underscores, backslashes, and spaces.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So there is ABSOLUTELY no way of using Add-RoleMember if my user name contains an @ sign, even though the Role &lt;strong&gt;already&lt;/strong&gt; contains users with such character in the name?&#xA;I surely hope this isn't the case, otherwise I will have to handle everything through code, which means I won't be able to do this until the next deployment.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="73" LastEditDate="2016-10-29T00:00:02.930" LastActivityDate="2016-10-29T00:00:02.930" Title="Cannot add a User to a Role where the User name contains the &quot;@&quot; sign using PSE" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1947" PostTypeId="1" CreationDate="2016-10-28T11:09:17.027" Score="6" ViewCount="2089" Body="&lt;p&gt;I am using Sitecore.NET 7.2 (rev. 140228).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For my project schedule publishing is in place. In weekends I have a separate job which creates over 100k items and this job publishes all the items after creation programmatically. So, I want to stop my regular schedule publishing as my publishing struck as both publishing happening simultaneously in weekend.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone suggests how to stop my schedule publishing only in weekends?&lt;/p&gt;&#xA;" OwnerUserId="953" LastEditorUserId="73" LastEditDate="2016-10-28T11:43:57.617" LastActivityDate="2016-10-28T11:51:00.793" Title="How to stop schedule publishing in weekends?" Tags="|publishing|scheduled-tasks|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1948" PostTypeId="2" ParentId="1946" CreationDate="2016-10-28T11:15:49.777" Score="3" Body="&lt;p&gt;I can confirm this is a bug in the current release of Sitecore Powershell Extensions (4.1). There is some regex that is applied to account names and it looks like it is too restrictive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you have already opened an issue on the project, the bug will be tracked there - &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/731&quot; rel=&quot;nofollow&quot;&gt;https://github.com/SitecorePowerShell/Console/issues/731&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully I can shortly update this answer for future users, to say that the answer here is to upgrade to 4.2.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-28T11:15:49.777" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1949" PostTypeId="2" ParentId="1947" CreationDate="2016-10-28T11:27:40.257" Score="13" Body="&lt;p&gt;This can be achieved by updating your &lt;code&gt;Schedule&lt;/code&gt; field on your task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tQZY0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tQZY0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;127 represents the days of the week, this task is meant to run. This only makes sense if you convert it to binary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;127d = %01111111&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each of the bits represent a day of the week. Like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-SFTWTMS&#xA;01111111&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So to disable the tasks for the weekend, change it to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-SFTWTMS&#xA;00111110&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;%00111110 = 62d&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b5VVV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b5VVV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;http://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to create Sitecore Scheduled Task&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-28T11:33:10.970" LastActivityDate="2016-10-28T11:33:10.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1950" PostTypeId="2" ParentId="1947" CreationDate="2016-10-28T11:48:38.953" Score="6" Body="&lt;p&gt;Disable your default publishing  in web.config&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:00:00&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Override Sitecore.Tasks.PublishAgent&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;agent type=&quot;YourMethod, YourClass&quot; method=&quot;Run&quot; interval=&quot;01:00:00&quot; &amp;gt;&amp;lt;br&amp;gt;&#xA;  &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;target database&quot;&amp;gt;targetDB&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;put your custom conditions in run method &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void Run()&#xA;    {&#xA;        DayOfWeek day = DateTime.Now.DayOfWeek;&#xA;        if (day != DayOfWeek.Saturday &amp;amp;&amp;amp; day != DayOfWeek.Sunday)&#xA;        {&#xA;            this.StartPublish(this._languages);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope it helps!&lt;/p&gt;&#xA;" OwnerUserId="951" LastEditorUserId="73" LastEditDate="2016-10-28T11:51:00.793" LastActivityDate="2016-10-28T11:51:00.793" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1951" PostTypeId="1" AcceptedAnswerId="1957" CreationDate="2016-10-28T12:45:07.020" Score="9" ViewCount="4563" Body="&lt;p&gt;I am trying to get a form in my MVC Controller Rendering to work.&#xA;I have read these posts:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://mhwelander.net/2014/05/30/posting-forms-in-sitecore-mvc-part-2-controller-renderings/&quot; rel=&quot;noreferrer&quot;&gt;https://mhwelander.net/2014/05/30/posting-forms-in-sitecore-mvc-part-2-controller-renderings/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://ctor.io/posting-forms-in-sitecore-controller-renderings-another-perspective/&quot; rel=&quot;noreferrer&quot;&gt;https://ctor.io/posting-forms-in-sitecore-controller-renderings-another-perspective/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried these form options&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My controller&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class VacanciesController : SitecoreController&#xA;{&#xA;    public ActionResult VacancyDetail()&#xA;    {&#xA;        var model = RenderingContext.Current.Rendering.GetRenderingModel&amp;lt;VacancyDetailModel&amp;gt;();&#xA;        var item = Sitecore.Context.Item;&#xA;        return this.View(model);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with this attribute&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public override bool IsValidForRequest(ControllerContext controllerContext, MethodInfo methodInfo)&#xA;{&#xA;    var controller = controllerContext.HttpContext.Request.Form[&quot;fhController&quot;];&#xA;    var action = controllerContext.HttpContext.Request.Form[&quot;fhAction&quot;];&#xA;&#xA;    return !string.IsNullOrWhiteSpace(controller)&#xA;            &amp;amp;&amp;amp; !string.IsNullOrWhiteSpace(action)&#xA;            &amp;amp;&amp;amp; controller == controllerContext.Controller.GetType().Name&#xA;            &amp;amp;&amp;amp; methodInfo.Name == action;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;this is my view form code&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using (Html.BeginForm())&#xA;{                     &#xA;    &amp;lt;button id=&quot;btn-save&quot; class=&quot;btn btn-highlight&quot; type=&quot;submit&quot;&amp;gt;Solliciteer direct empty form&amp;lt;/button&amp;gt;&#xA;    &amp;lt;input type=&quot;hidden&quot; name=&quot;fhController&quot; value=&quot;Vacancies&quot; /&amp;gt;&#xA;    &amp;lt;input type=&quot;hidden&quot; name=&quot;fhAction&quot; value=&quot;VacancyDetail&quot; /&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This seems to work now&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;{&#xA;    @Html.Sitecore().FormHandler(&quot;Vacancies&quot;, &quot;VacancyDetail&quot;)            &#xA;    &amp;lt;button id=&quot;btn-save&quot; class=&quot;btn btn-highlight&quot; type=&quot;submit&quot;&amp;gt;Solliciteer direct routeform&amp;lt;/button&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;this goes to the correct controller and action.&#xA;Bu my RenderingContext.Current.Rendering is null&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using (Html.BeginForm(&quot;VacancyDetail&quot;, &quot;Vacancies&quot;, new { id = &quot;1&quot; }, FormMethod.Post, new { @id = &quot;form1&quot;, @enctype = &quot;multipart/form-data&quot; }))&#xA;{&#xA;    &amp;lt;button id=&quot;btn-save&quot; class=&quot;btn btn-highlight&quot; type=&quot;submit&quot;&amp;gt;Solliciteer direct routeform&amp;lt;/button&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This goes to the correct controller and action. &#xA;But Sitecore.Contect.item is null &amp;amp; RenderingContext.Current.Rendering is null&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the correct way to create a custom form?&lt;/p&gt;&#xA;" OwnerUserId="1009" LastEditorUserId="246" LastEditDate="2016-10-28T17:25:56.177" LastActivityDate="2016-11-01T07:41:01.833" Title="How do I do custom forms in Sitecore MVC?" Tags="|mvc|mvc-forms|" AnswerCount="2" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="1952" PostTypeId="1" CreationDate="2016-10-28T13:33:36.007" Score="3" ViewCount="415" Body="&lt;p&gt;I am using &lt;code&gt;WFFM&lt;/code&gt; webforms rendering with &lt;code&gt;Sitecore 8.1&lt;/code&gt;. I don't want to do a full page reload on form post so added an update panel. The challenge is the update panel is affecting click events of another update panel. Did anyone face similar issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Setup:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore 8.1 with WFFM installed&lt;/li&gt;&#xA;&lt;li&gt;using webforms&lt;/li&gt;&#xA;&lt;li&gt;The layout has &lt;code&gt;&amp;lt;sc:placeholder&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;On the blog landing page added WFFM webform rendering&lt;/li&gt;&#xA;&lt;li&gt;On the same page have one other update panel for loading &lt;code&gt;View More&lt;/code&gt; blogs.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="773" LastEditorUserId="5387" LastEditDate="2019-08-08T04:14:55.610" LastActivityDate="2019-08-08T04:14:55.610" Title="Clicks in one UpdatePanel affects other UpdatePanels on same page" Tags="|wffm|webforms|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="1953" PostTypeId="1" AcceptedAnswerId="1959" CreationDate="2016-10-28T14:03:18.973" Score="8" ViewCount="3483" Body="&lt;p&gt;Sitecore 7.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The text file logging is working fine. But, I would like the logging to go to a SQL Server database so that I can search the data with T-SQL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would I do that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I imagine it would be a change to the web.config file inside the &lt;code&gt;&amp;lt;log4net&amp;gt;&lt;/code&gt; block. And, also an additional connection string.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;log4net&amp;gt;&#xA;&amp;lt;!-- LOGGING SETTINGS&#xA;     The file element defines the location of the log files. This location must&#xA;     be the same as the setting in LogFolder. The file element is a relative or&#xA;     absolute path that always uses slashes (/) as separators. A valid file&#xA;     element for a relative path would be:&#xA;&#xA;       &amp;lt;file value=&quot;/data/logs/log.{date}.{processid}.txt&quot;/&amp;gt;&#xA;&#xA;     A valid element for an absolute path would be:&#xA;&#xA;       &amp;lt;file value=&quot;C:/inetpub/wwwroot/data/logs/log.{date}.{processid}.txt&quot;/&amp;gt;&#xA;&#xA;     The macros supported are:&#xA;&#xA;       {date}: Replaced with the current date (in the format yyyyMMdd)&#xA;       {time}: Replaced with the current time (in the format HHmmss)&#xA;       {processid}: Replaced with the current Windows process id&#xA;&#xA;     For further information refer to the Log4Net documentation.&#xA;--&amp;gt;&#xA;&amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/log.{date}.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;appender name=&quot;WebDAVLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/WebDAV.log.{date}.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;appender name=&quot;SearchLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/Search.log.{date}.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;appender name=&quot;CrawlingLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/Crawling.log.{date}.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;appender name=&quot;PublishingLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/Publishing.log.{date}.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;appender name=&quot;NHibernateLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/NHibernate.log.{date}.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;root&amp;gt;&#xA;  &amp;lt;priority value=&quot;INFO&quot; /&amp;gt;&#xA;  &amp;lt;appender-ref ref=&quot;LogFileAppender&quot; /&amp;gt;&#xA;&amp;lt;/root&amp;gt;&#xA;&amp;lt;logger name=&quot;Sitecore.Diagnostics.WebDAV&quot; additivity=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;  &amp;lt;appender-ref ref=&quot;WebDAVLogFileAppender&quot; /&amp;gt;&#xA;&amp;lt;/logger&amp;gt;&#xA;&amp;lt;logger name=&quot;Sitecore.Diagnostics.Search&quot; additivity=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;  &amp;lt;appender-ref ref=&quot;SearchLogFileAppender&quot; /&amp;gt;&#xA;&amp;lt;/logger&amp;gt;&#xA;&amp;lt;logger name=&quot;Sitecore.Diagnostics.Crawling&quot; additivity=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;  &amp;lt;appender-ref ref=&quot;CrawlingLogFileAppender&quot; /&amp;gt;&#xA;&amp;lt;/logger&amp;gt;&#xA;&amp;lt;logger name=&quot;Sitecore.Diagnostics.Publishing&quot; additivity=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;  &amp;lt;appender-ref ref=&quot;PublishingLogFileAppender&quot; /&amp;gt;&#xA;&amp;lt;/logger&amp;gt;&#xA;&amp;lt;logger name=&quot;NHibernate&quot; additivity=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;level value=&quot;WARN&quot; /&amp;gt;&#xA;  &amp;lt;appender-ref ref=&quot;NHibernateLogFileAppender&quot; /&amp;gt;&#xA;&amp;lt;/logger&amp;gt;&#xA;&amp;lt;logger name=&quot;NHibernate.SQL&quot; additivity=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;level value=&quot;WARN&quot; /&amp;gt;&#xA;  &amp;lt;appender-ref ref=&quot;NHibernateLogFileAppender&quot; /&amp;gt;&#xA;&amp;lt;/logger&amp;gt;&#xA;&amp;lt;/log4net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="73" LastEditDate="2016-10-28T14:10:56.967" LastActivityDate="2016-10-28T14:54:45.133" Title="Sitecore Logging (Log4Net) Log to Database as Well as Text Files" Tags="|sql-database|logging|log4net|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1954" PostTypeId="2" ParentId="1953" CreationDate="2016-10-28T14:08:17.743" Score="8" Body="&lt;p&gt;Yes. You need a new &lt;code&gt;&amp;lt;appender&amp;gt;&lt;/code&gt;. First you need to set up a table to receive the logging information:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;CREATE TABLE [dbo].[Log] (&#xA;    [Id] [int] IDENTITY (1, 1) NOT NULL,&#xA;    [Date] [datetime] NOT NULL,&#xA;    [Thread] [varchar] (255) NOT NULL,&#xA;    [Level] [varchar] (50) NOT NULL,&#xA;    [Logger] [varchar] (255) NOT NULL,&#xA;    [Message] [varchar] (4000) NOT NULL,&#xA;    [Exception] [varchar] (2000) NULL&#xA;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Then set up the &lt;code&gt;&amp;lt;appender&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;appender name=&amp;quot;AdoNetAppender&amp;quot; type=&amp;quot;log4net.Appender.AdoNetAppender&amp;quot;&amp;gt;&#xA;    &amp;lt;bufferSize value=&amp;quot;100&amp;quot; /&amp;gt;&#xA;    &amp;lt;connectionType value=&amp;quot;System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;quot; /&amp;gt;&#xA;    &amp;lt;connectionString value=&amp;quot;data source=[database server];initial catalog=[database name];integrated security=false;persist security info=True;User ID=[user];Password=[password]&amp;quot; /&amp;gt;&#xA;    &amp;lt;commandText value=&amp;quot;INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message],[Exception]) VALUES (@log_date, @thread, @log_level, @logger, @message, @exception)&amp;quot; /&amp;gt;&#xA;    &amp;lt;parameter&amp;gt;&#xA;        &amp;lt;parameterName value=&amp;quot;@log_date&amp;quot; /&amp;gt;&#xA;        &amp;lt;dbType value=&amp;quot;DateTime&amp;quot; /&amp;gt;&#xA;        &amp;lt;layout type=&amp;quot;log4net.Layout.RawTimeStampLayout&amp;quot; /&amp;gt;&#xA;    &amp;lt;/parameter&amp;gt;&#xA;    &amp;lt;parameter&amp;gt;&#xA;        &amp;lt;parameterName value=&amp;quot;@thread&amp;quot; /&amp;gt;&#xA;        &amp;lt;dbType value=&amp;quot;String&amp;quot; /&amp;gt;&#xA;        &amp;lt;size value=&amp;quot;255&amp;quot; /&amp;gt;&#xA;        &amp;lt;layout type=&amp;quot;log4net.Layout.PatternLayout&amp;quot;&amp;gt;&#xA;            &amp;lt;conversionPattern value=&amp;quot;%thread&amp;quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;/parameter&amp;gt;&#xA;    &amp;lt;parameter&amp;gt;&#xA;        &amp;lt;parameterName value=&amp;quot;@log_level&amp;quot; /&amp;gt;&#xA;        &amp;lt;dbType value=&amp;quot;String&amp;quot; /&amp;gt;&#xA;        &amp;lt;size value=&amp;quot;50&amp;quot; /&amp;gt;&#xA;        &amp;lt;layout type=&amp;quot;log4net.Layout.PatternLayout&amp;quot;&amp;gt;&#xA;            &amp;lt;conversionPattern value=&amp;quot;%level&amp;quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;/parameter&amp;gt;&#xA;    &amp;lt;parameter&amp;gt;&#xA;        &amp;lt;parameterName value=&amp;quot;@logger&amp;quot; /&amp;gt;&#xA;        &amp;lt;dbType value=&amp;quot;String&amp;quot; /&amp;gt;&#xA;        &amp;lt;size value=&amp;quot;255&amp;quot; /&amp;gt;&#xA;        &amp;lt;layout type=&amp;quot;log4net.Layout.PatternLayout&amp;quot;&amp;gt;&#xA;            &amp;lt;conversionPattern value=&amp;quot;%logger&amp;quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;/parameter&amp;gt;&#xA;    &amp;lt;parameter&amp;gt;&#xA;        &amp;lt;parameterName value=&amp;quot;@message&amp;quot; /&amp;gt;&#xA;        &amp;lt;dbType value=&amp;quot;String&amp;quot; /&amp;gt;&#xA;        &amp;lt;size value=&amp;quot;4000&amp;quot; /&amp;gt;&#xA;        &amp;lt;layout type=&amp;quot;log4net.Layout.PatternLayout&amp;quot;&amp;gt;&#xA;            &amp;lt;conversionPattern value=&amp;quot;%message&amp;quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;/parameter&amp;gt;&#xA;    &amp;lt;parameter&amp;gt;&#xA;        &amp;lt;parameterName value=&amp;quot;@exception&amp;quot; /&amp;gt;&#xA;        &amp;lt;dbType value=&amp;quot;String&amp;quot; /&amp;gt;&#xA;        &amp;lt;size value=&amp;quot;2000&amp;quot; /&amp;gt;&#xA;        &amp;lt;layout type=&amp;quot;log4net.Layout.ExceptionLayout&amp;quot; /&amp;gt;&#xA;    &amp;lt;/parameter&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;All of this sourced from the &lt;a href=&quot;http://logging.apache.org/log4net/release/config-examples.html#MS%20SQL%20Server&quot; rel=&quot;noreferrer&quot;&gt;original documentation for log4net&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2&gt;Additional information&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/3279524/storing-log4net-messages-in-sql-server&quot;&gt;Storing Log4Net Messages in SQL Server&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/15516578/how-to-use-log4net-utility-for-logging-into-database-using-c-sharp&quot;&gt;How to use Log4Net utility for logging into database using c#&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-28T14:08:17.743" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="1955" PostTypeId="2" ParentId="1953" CreationDate="2016-10-28T14:18:53.287" Score="4" Body="&lt;p&gt;You can start by creating a table for logging, Preferably in  your own separate Database, Then you can update your Log4Net configurations to use the SQL appender, Alex Shyba &lt;a href=&quot;http://sitecoreblog.alexshyba.com/sitecore_logging_write_it_to_sql/&quot; rel=&quot;nofollow&quot;&gt;article&lt;/a&gt; shows how you can do that, Basically you will need the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create Your own Table for logging inside your own Database, Let say &lt;strong&gt;SitecoreSystem&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;CREATE TABLE [dbo].[Log] ( &#xA;[ID] [int] IDENTITY (1, 1) NOT NULL ,&#xA;[Date] [datetime] NOT NULL ,  &#xA;[Thread] [varchar] (255) NOT NULL ,  &#xA;[Level] [varchar] (20) NOT NULL ,  &#xA;[Logger] [varchar] (255) NOT NULL ,  &#xA;[Message] [varchar] (4000) NOT NULL  &#xA;) ON [PRIMARY]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Create your SQL Appender in web.config (or in your Log4Net config):&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;appender name=&quot;SQL_Appender&quot; type=&quot;log4net.Appender.ADONetAppender, Sitecore.Logging&quot;&amp;gt;&#xA;   &amp;lt;param name=&quot;ConnectionType&quot; value=&quot;System.Data.SqlClient.SqlConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; /&amp;gt;&#xA;   &amp;lt;param name=&quot;ConnectionString&quot; value=&quot;user id=***;password=***;Data Source=****;Database=SitecoreSystem&quot; /&amp;gt;&#xA;   &amp;lt;param name=&quot;CommandText&quot; value=&quot;INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message]) VALUES (@log_date, @thread, @log_level, @logger, @message)&quot; /&amp;gt;&#xA;   &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;      &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@log_date&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;DbType&quot; value=&quot;DateTime&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;         &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%d{yyyy'-'MM'-'dd HH':'mm':'ss'.'fff}&quot; /&amp;gt;&#xA;      &amp;lt;/param&amp;gt;&#xA;   &amp;lt;/param&amp;gt;&#xA;   &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;      &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@thread&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;Size&quot; value=&quot;255&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;         &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%t&quot; /&amp;gt;&#xA;      &amp;lt;/param&amp;gt;&#xA;   &amp;lt;/param&amp;gt;&#xA;   &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;      &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@log_level&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;Size&quot; value=&quot;50&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;         &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%p&quot; /&amp;gt;&#xA;      &amp;lt;/param&amp;gt;&#xA;   &amp;lt;/param&amp;gt;&#xA;   &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;      &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@logger&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;Size&quot; value=&quot;255&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;         &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%c&quot; /&amp;gt;&#xA;      &amp;lt;/param&amp;gt;&#xA;   &amp;lt;/param&amp;gt;&#xA;   &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;      &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@message&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;Size&quot; value=&quot;4000&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;         &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%m&quot; /&amp;gt;&#xA;      &amp;lt;/param&amp;gt;&#xA;   &amp;lt;/param&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;In your Log4Net root section, switch the default appender to the new one:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;root&amp;gt;&#xA;  &amp;lt;priority value=&quot;INFO&quot;/&amp;gt;&#xA;  &amp;lt;appender-ref ref=&quot;SQL_Appender&quot; /&amp;gt;  &#xA;  &amp;lt;!--&amp;lt;appender-ref ref=&quot;LogFileAppender&quot;/&amp;gt;--&amp;gt;  &#xA;&amp;lt;/root&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2016-10-28T14:24:12.570" LastActivityDate="2016-10-28T14:24:12.570" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1956" PostTypeId="1" AcceptedAnswerId="1991" CreationDate="2016-10-28T14:29:44.643" Score="9" ViewCount="526" Body="&lt;p&gt;I am currently working on a Proof of Concept using the Data Exchange. I have implemented the demo from the &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.1/getting-started/index.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example is working as expected. However, I need to create subitems based on a Branch Template but I don't know how since I just started working on the Data Exchange Framework.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, in brief, I have a Container in the Sitecore Content Tree. Under the Container, the Data Exchange will create the items. Right now, all items are being created under the container. I need to have the item structure as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HeyNQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HeyNQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone provide a sample code or link to achieve this. I am new to Data Exchange.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-10-30T16:09:40.083" LastActivityDate="2016-10-30T16:26:51.000" Title="Adding Subitems with the Data Exchange Framework" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1957" PostTypeId="2" ParentId="1951" CreationDate="2016-10-28T14:32:05.977" Score="5" Body="&lt;p&gt;I'd say you can either use the first or second approach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm normally using the first approach (the one you got working now) for these sorts of things. What I do is having the same method action defined twice, one for get and one for the post, and in the post version I pass in the &lt;code&gt;ViewModel&lt;/code&gt;, which I then rebuild the same way you are doing it. The action methods should be annotated correctly with the &lt;code&gt;[HttpGet]&lt;/code&gt; and &lt;code&gt;[HttpPost]&lt;/code&gt; attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use &lt;code&gt;Html.BeginForm(controller, controllerAction)&lt;/code&gt;, you will experience that you are being redirected to the controller's URL (like &lt;code&gt;/sitecore/api/{controller}/{action}&lt;/code&gt;), and not the page containing the controller rendering(s), as you'd expect. This is something to keep in mind when doing some sort of model checking, where you want to show the error message in the view, if the model is not valid.&lt;/p&gt;&#xA;" OwnerUserId="29" LastEditorUserId="29" LastEditDate="2016-10-28T14:52:51.437" LastActivityDate="2016-10-28T14:52:51.437" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1958" PostTypeId="1" AcceptedAnswerId="1973" CreationDate="2016-10-28T14:50:10.480" Score="5" ViewCount="546" Body="&lt;p&gt;In a &lt;a href=&quot;https://sitecore.stackexchange.com/q/1901/423&quot;&gt;previous question&lt;/a&gt;, I asked what a hook is and how it differs from a pipeline processor. Now, I'm wondering how it differs from a Scheduled Task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that hooks are for context-agnostic logic and super useful for logic that should be executed repeatedly at defined interval. Isn't that what Scheduled Tasks do, though?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;How are Scheduled Tasks different from Hooks?&lt;/li&gt;&#xA;&lt;li&gt;When would I use a Scheduled Task over a Hook?&lt;/li&gt;&#xA;&lt;li&gt;When would I use a hook over a Scheduled Task?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-10-28T19:36:30.060" Title="How does a Hook differ from a Scheduled Task?" Tags="|scheduled-tasks|hooks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1959" PostTypeId="2" ParentId="1953" CreationDate="2016-10-28T14:54:45.133" Score="3" Body="&lt;p&gt;I talk about this in a series of posts (&lt;a href=&quot;https://grantkillian.wordpress.com/2014/12/26/sitecore-logging-to-the-database-part-1/&quot; rel=&quot;nofollow&quot;&gt;https://grantkillian.wordpress.com/2014/12/26/sitecore-logging-to-the-database-part-1/&lt;/a&gt;, &lt;a href=&quot;https://grantkillian.wordpress.com/2014/12/26/sitecore-logging-to-the-database-part-2-earning-the-good-developer-badge/&quot; rel=&quot;nofollow&quot;&gt;https://grantkillian.wordpress.com/2014/12/26/sitecore-logging-to-the-database-part-2-earning-the-good-developer-badge/&lt;/a&gt;, and &lt;a href=&quot;https://grantkillian.wordpress.com/2014/12/26/sitecore-logging-to-the-database-part-3-the-performance-picture/&quot; rel=&quot;nofollow&quot;&gt;https://grantkillian.wordpress.com/2014/12/26/sitecore-logging-to-the-database-part-3-the-performance-picture/&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other answers here are all good, but for any large Sitecore implementation I would encourage you to look at any performance implications and the asynchronous logging solution.  If you don't want to dig into the async stuff, and last I looked there was some custom development needed to complete that properly for Sitecore, I'd recommend:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use SQL Server stored procedure&lt;/li&gt;&#xA;&lt;li&gt;Tune the Log4Net BufferSize setting&lt;/li&gt;&#xA;&lt;li&gt;Consider data retention as log records could accumulate quickly: do you archive or remove the old data every month?  Be sure to have proper SQL Server maintenance plans etc (&lt;a href=&quot;https://ola.hallengren.com/&quot; rel=&quot;nofollow&quot;&gt;https://ola.hallengren.com/&lt;/a&gt;) to keep the system optimal&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-10-28T14:54:45.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1960" PostTypeId="1" AcceptedAnswerId="1963" CreationDate="2016-10-28T15:17:55.217" Score="9" ViewCount="3429" Body="&lt;p&gt;In performing an audit of Sitecore logs, I came across a slew of Aggregation Errors on the Processing Server all complaining about a &lt;strong&gt;&lt;em&gt;definition not found&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1172 11:08:41 ERROR Aggregation Error&#xA;Exception: System.Exception&#xA;Message: Definition not found: itemId: '{28A4B856-37C1-446C-B0C1-E56F78252AA0}' culture: 'Invariant Language (Invariant Country)' type: 'Sitecore.Marketing.Definitions.Campaigns.ICampaignActivityDefinition'&#xA;Source: Sitecore.ExperienceAnalytics&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(AggregationPipelineArgs args, IEnumerable`1 segments)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.OnProcess(AggregationPipelineArgs args)&#xA;   at Sitecore.Analytics.Aggregation.Pipeline.AggregationProcessor.Process(AggregationPipelineArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Definition not found: itemId: '{28A4B856-37C1-446C-B0C1-E56F78252AA0}' culture: 'Invariant Language (Invariant Country)' type: 'Sitecore.Marketing.Definitions.Campaigns.ICampaignActivityDefinition'&#xA;Source: Sitecore.ExperienceAnalytics&#xA;   at Sitecore.ExperienceAnalytics.Core.Repositories.ClassificationResolver`1.GetClassificationUris(ID itemId)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Dimensions.CampaignFacetBase.HasDimensionKey(IVisitAggregationContext context)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Dimensions.CampaignFacetBase.&amp;lt;GetData&amp;gt;d__3.MoveNext()&#xA;   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(AggregationPipelineArgs args, IEnumerable`1 segments)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Item Guid in Question points to a Campaign Item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pRBSB.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pRBSB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every error in the log seems to point just to this item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone seen this before?&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="104" LastEditDate="2016-10-30T18:03:45.920" LastActivityDate="2018-03-09T01:23:38.547" Title="Definition Not Found in Analytics Aggregation" Tags="|experience-analytics|aggregation|marketing-definitions|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1961" PostTypeId="1" AcceptedAnswerId="1984" CreationDate="2016-10-28T15:19:48.627" Score="11" ViewCount="568" Body="&lt;p&gt;So I've been planning to develop some modules for the community to place in the marketplace but also as code on GitHub that people can extend from.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said that, I'm hoping to develop these modules using the Helix pattern, but I'm running into a question often from an architectural standpoint.  If I develop a &quot;Feature&quot; does it belong in Feature or Foundation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm still fairly new to Helix, this would be an easy question to answer if it was for one of my own projects (it would be Feature), but since this is likely to be something someone else pulls in and potentially extends, wouldn't it make more sense in the Foundation?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="29" LastEditDate="2016-10-28T20:33:22.310" LastActivityDate="2016-10-29T11:52:54.630" Title="Helix Best Practice when developing components for the Marketplace" Tags="|best-practices|helix|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1962" PostTypeId="1" CreationDate="2016-10-28T15:26:34.740" Score="3" ViewCount="328" Body="&lt;p&gt;I need to update my credentials for the various Sitecore websites.  I tried updating my info on &lt;a href=&quot;https://portal.sitecore.net&quot; rel=&quot;nofollow&quot;&gt;https://portal.sitecore.net&lt;/a&gt;, but that seems to have done very little. In a couple of locations, I have seen messages indicating that I should contact &quot;my regional office&quot;, but there is no help provided to find said office.  The main Sitecore site has contacts for sales, but this doesn't seem like something that sales would handle.  Where can I find the contact information for my regional office?&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-31T17:22:05.330" Title="How to find my regional office contact?" Tags="|support|" AnswerCount="3" CommentCount="3" ClosedDate="2016-10-29T09:15:16.490" ContentLicense="CC BY-SA 3.0" />
  <row Id="1963" PostTypeId="2" ParentId="1960" CreationDate="2016-10-28T15:34:00.883" Score="16" Body="&lt;h1&gt;Hot to fix&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In Sitecore, go to Control Panel -&gt; Deploy Marketing Definitions.&lt;/li&gt;&#xA;&lt;li&gt;Select &quot;Campaigns&quot;.&lt;/li&gt;&#xA;&lt;li&gt;Click &quot;Deploy&quot;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WiLem.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WiLem.png&quot; alt=&quot;Deploy marketing definitions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this official documentation page for detailed instructions on deploying marketing definitions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/deploy_marketing_definitions&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/deploy_marketing_definitions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Explanation&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Based on the error you're getting, xDB can't seem to find a definition of a particular campaign activity. Campaign activities are one of many types of marketing definitions; goals and outcomes are other examples. Marketing definitions are stored and retrieved by using repositories which may use different storage types. There are two default repository types that are shipped with Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;item&lt;/code&gt;&lt;/strong&gt; repositories—these work with definition items directly. The default database used is &lt;code&gt;master&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;rdb&lt;/code&gt;&lt;/strong&gt; repositories use the Reporting database. The reason for this is that some server roles (like the Processing server in your case) may not have direct access to the Master database.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;remote&lt;/code&gt;&lt;/strong&gt; repositories are used in environments where the Sitecore instance doesn't have direct access to the Reporting database. To access marketing definitions, &lt;code&gt;remote&lt;/code&gt; repositories will query web services hosted on a remote reporting server.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In Sitecore configuration files, all repository references have the repository path parameterized.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;param&#xA;    desc=&quot;repository&quot;&#xA;    ref=&quot;marketingDefinitions/campaign/repositories/$(marketingDefinitions.repository)&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The value of the &lt;code&gt;$(marketingDefinitions.repository)&lt;/code&gt; parameter is defined in &lt;strong&gt;Sitecore.Analytics.config&lt;/strong&gt; as a variable and defaults to using item repositories:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;marketingDefinitions.repository&quot; value=&quot;item&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This means that by default all marketing definitions will be read directly from items in the Master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Server role specific configs will override this setting. For example, here's an excerpt from &lt;strong&gt;Sitecore.MarketingProcessingRole.config&lt;/strong&gt; in Sitecore 8.2:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;marketingDefinitions.repository&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;rdb&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/sc.variable&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In order for an RDB repository to have up-to-date data, the data needs to be deployed there. Normally, when you create or update a marketing definition in the Master database, it will also be automatically deployed to RDB. But, in case the RDB was unavailable at the time, you will need to redeploy marketing definitions manually. This is exactly what the &quot;Deploy Marketing Definitions&quot; app does—it takes the selected types of marketing definitions from their &lt;code&gt;item&lt;/code&gt; repositories and saves them to all the other repositories.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-31T19:03:18.677" LastActivityDate="2016-10-31T19:03:18.677" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1964" PostTypeId="2" ParentId="1961" CreationDate="2016-10-28T15:52:37.820" Score="7" Body="&lt;p&gt;I think it really depends on your module. So this question could be quite broad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My high level thoughts would be:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Foundation:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Modules that are really CMS based. So a control panel, some admin interface etc...&lt;/li&gt;&#xA;&lt;li&gt;Modules that are for presentation but are not a self contained feature, like the &lt;strong&gt;Sitecore.React&lt;/strong&gt; module&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Look at the category you are going to add your module too, if you are putting it in &lt;em&gt;Administration&lt;/em&gt; its probably a Foundation module&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Feature&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When are creating a Client Feature or something that will be used in presentation it can be harder to place. I would say&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Modules that are self contained and can be used with or without customizing&lt;/li&gt;&#xA;&lt;li&gt;Modules that obey the &lt;strong&gt;Common Closure Principle&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;From the helix docs this means:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This principle ensures that changes in one feature do not cause changes anywhere else, and that features can be added, modified and removed without impacting other features.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So as long as your module obeys that, it can be a feature, otherwise make it a Foundation module.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;What if it crosses over?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;What if your module has sections that are self contained presentation parts, and also shared elements. There is nothing to say you can't have parts of your module that are &lt;strong&gt;Feature&lt;/strong&gt; layer and parts that are &lt;strong&gt;Foundation&lt;/strong&gt; - approach it the same way you would a client solution. &lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-10-28T15:52:37.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1965" PostTypeId="1" AcceptedAnswerId="2033" CreationDate="2016-10-28T16:45:09.343" Score="11" ViewCount="1393" Body="&lt;p&gt;SXA provides the ability to create new tenants on-the-fly. Ideally each tenant would have a unique set of roles such as &lt;em&gt;tenant1\admin&lt;/em&gt; and &lt;em&gt;tenant1\editor&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do you configure roles and domains in Sitecore on-the-fly while also using the configuration patch for the &lt;em&gt;abc&lt;/em&gt; domain? Is there a need for a domain provider that merges the behavior of both the file and config providers?&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Requirements&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Here are the following requirements:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use Microsoft Active Directory for authentication&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Users should login with their domain credentials (i.e. &lt;em&gt;abc\michael.west&lt;/em&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Each tenant should have unique roles managed through Sitecore and not influence the groups found in AD.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The service account for the Sitecore App Pool only has read access to AD.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Only users in a specific group in AD have access to Sitecore.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Configuration&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Here is what I have setup:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created a new AD group called &lt;strong&gt;GRP-Sitecore-Users&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Installed Sitecore AD module. Configuration sample below.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added machine key&lt;/li&gt;&#xA;&lt;li&gt;Added AD membership provider with a custom filter for the &lt;strong&gt;GRP-Sitecore-Users&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Added AD role provider with a custom filter for the &lt;strong&gt;GRP-Sitecore-Users&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Company.Authentication.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;domainManager&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;defaultProvider&quot;&amp;gt;config&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear /&amp;gt;&#xA;        &amp;lt;add name=&quot;file&quot; type=&quot;Sitecore.Security.Domains.ConfigStoreDomainProvider, Sitecore.Kernel&quot; configStoreName=&quot;domains&quot; /&amp;gt;&#xA;        &amp;lt;add name=&quot;config&quot; type=&quot;Sitecore.SecurityModel.ConfigDomainProvider, Sitecore.Kernel&quot; domainList=&quot;domainManager/domains&quot; defaultDomain=&quot;sitecore&quot; /&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;      &amp;lt;!-- Sample for use with config provider above --&amp;gt;&#xA;      &amp;lt;domains&amp;gt;&#xA;        &amp;lt;domain id=&quot;abc&quot; type=&quot;Sitecore.Security.Domains.Domain, Sitecore.Kernel&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;          &amp;lt;ensureAnonymousUser&amp;gt;false&amp;lt;/ensureAnonymousUser&amp;gt;&#xA;        &amp;lt;/domain&amp;gt;&#xA;      &amp;lt;/domains&amp;gt;&#xA;    &amp;lt;/domainManager&amp;gt;&#xA;    &amp;lt;switchingProviders&amp;gt;&#xA;      &amp;lt;membership&amp;gt;&#xA;        &amp;lt;provider providerName=&quot;ad&quot; storeFullNames=&quot;false&quot; wildcard=&quot;*&quot; domains=&quot;abc&quot; /&amp;gt;&#xA;      &amp;lt;/membership&amp;gt;&#xA;      &amp;lt;roleManager&amp;gt;&#xA;        &amp;lt;provider providerName=&quot;ad&quot; storeFullNames=&quot;false&quot; wildcard=&quot;*&quot; domains=&quot;abc&quot; /&amp;gt;&#xA;      &amp;lt;/roleManager&amp;gt;&#xA;      &amp;lt;profile&amp;gt;&#xA;        &amp;lt;provider providerName=&quot;ad&quot; storeFullNames=&quot;false&quot; wildcard=&quot;*&quot; domains=&quot;abc&quot; /&amp;gt;&#xA;      &amp;lt;/profile&amp;gt;&#xA;    &amp;lt;/switchingProviders&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Errors:&#xA;Using the patch for &lt;em&gt;domainManager&lt;/em&gt; I'm unable to use the role manager for creating roles under &lt;em&gt;abc&lt;/em&gt; and unable to use the domain manager for creating new domains.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;When adding a domain&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The ConfigDomainProvider does not support adding domains programmatically. Please edit the config files instead.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;When adding a role under the &lt;em&gt;abc&lt;/em&gt; AD domain&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pXCHO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pXCHO.png&quot; alt=&quot;Error adding role to AD domain&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.2 &lt;s&gt;initial&lt;/s&gt; update 4&lt;/li&gt;&#xA;&lt;li&gt;Active Directory Module 1.3&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This has been working fine for some time now. I've even added the sync of roles using Unicorn.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-11-12T04:33:22.287" LastActivityDate="2017-12-14T15:22:29.263" Title="How do you best manage security domains using SXA with the Active Directory module?" Tags="|configuration|security|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1966" PostTypeId="1" CreationDate="2016-10-28T17:11:40.507" Score="12" ViewCount="831" Body="&lt;p&gt;Would anyone know a way to restrict/allow by role the ability to add a rendering to a placeholder in the Experience Editor?  This is for Sitecore 8.0.&lt;/p&gt;&#xA;" OwnerUserId="868" LastEditorUserId="73" LastEditDate="2016-10-29T00:16:12.837" LastActivityDate="2016-10-29T00:16:12.837" Title="How to Restrict by Role Adding Rendering to Placeholder in Experience Editor" Tags="|experience-editor|editor-user-permissions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1968" PostTypeId="2" ParentId="1966" CreationDate="2016-10-28T17:51:56.263" Score="0" Body="&lt;p&gt;If it is ok to not even display the rendering for that role, it can be sure done using Security Editor of Sitecore. We have done that and it works. But it is not an easy one to manage with conflicting roles and item rights inheritance. An experienced Sitecore Security can easily configure it though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The logic is all renderings are Sitecore items and you can restrict access to any item by user/role permissions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/access_rights/assign_access_rights_to_a_security_account&quot; rel=&quot;nofollow&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/access_rights/assign_access_rights_to_a_security_account&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2016-10-28T17:51:56.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1969" PostTypeId="2" ParentId="1966" CreationDate="2016-10-28T17:55:55.547" Score="4" Body="&lt;p&gt;If you want to restrict access to all renderings selected in the Allowed Controls field of a particular placeholder settings item, you can just restrict read access to the placeholder settings item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are trying to be more selective, you may want to add your own processor for the &lt;code&gt;GetPlaceholderRenderings&lt;/code&gt; pipeline.  You could use the rules engine to make it even more flexible similar to these projects:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/matthewkenny/ConditionalPlaceholderSettings&quot; rel=&quot;nofollow&quot;&gt;https://github.com/matthewkenny/ConditionalPlaceholderSettings&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/williamsk/SitecorePlaceholderSettingsRules&quot; rel=&quot;nofollow&quot;&gt;https://github.com/williamsk/SitecorePlaceholderSettingsRules&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-28T17:55:55.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1970" PostTypeId="2" ParentId="1951" CreationDate="2016-10-28T18:04:36.423" Score="3" Body="&lt;p&gt;The first option is the one I have used mostly. But for some form submissions we wanted to have the page context as we had to pull data source of some other rendering on the page. So, my two cents would be&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Check if you need page context, if so, pass in the page GUID to be handy&lt;/li&gt;&#xA;&lt;li&gt;If possible use MVC Ajax posts to restrict full page reload and exchange only what is required. Even here you can pass the page GUID.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="773" LastEditorUserId="104" LastEditDate="2016-11-01T07:41:01.833" LastActivityDate="2016-11-01T07:41:01.833" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1971" PostTypeId="1" AcceptedAnswerId="1989" CreationDate="2016-10-28T18:05:49.273" Score="5" ViewCount="244" Body="&lt;p&gt;What is the primary difference between the MultipleSitesManager (&lt;a href=&quot;https://github.com/JimmieOverby/MultipleSitesManager&quot; rel=&quot;nofollow&quot;&gt;https://github.com/JimmieOverby/MultipleSitesManager&lt;/a&gt;)  vs. the DynamicSites (&lt;a href=&quot;https://github.com/Vapok/Sitecore.SharedSource.DynamicSites&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Vapok/Sitecore.SharedSource.DynamicSites&lt;/a&gt;) modules?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking for reasons why one may be better than the other for a project with dozens of sites.  Thanks.&lt;/p&gt;&#xA;" OwnerUserId="436" LastEditorUserId="73" LastEditDate="2016-10-29T09:43:03.800" LastActivityDate="2016-10-30T17:39:16.103" Title="Preference of Multi-Site modules" Tags="|module|multisite|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="1972" PostTypeId="2" ParentId="1952" CreationDate="2016-10-28T18:14:48.673" Score="1" Body="&lt;p&gt;Update panels have their UpdateMode property set to Always by default, so they'll fire on any post back, even from another update panel.  You'll want to set it to Conditional. Conditional will update only if a child control or child update panel is the thing triggering the post back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blogs.msdn.microsoft.com/mschray/2013/06/05/update-panel-update-mode-always-vs-conditional-or-why-is-my-ajax-control-losing-focus/&quot; rel=&quot;nofollow&quot;&gt;https://blogs.msdn.microsoft.com/mschray/2013/06/05/update-panel-update-mode-always-vs-conditional-or-why-is-my-ajax-control-losing-focus/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-10-28T18:14:48.673" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1973" PostTypeId="2" ParentId="1958" CreationDate="2016-10-28T19:16:24.340" Score="6" Body="&lt;p&gt;In the previous question you gave an excellent description on what a &lt;strong&gt;Hook&lt;/strong&gt; is.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. How are Scheduled Tasks different from Hooks?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Hooks&lt;/strong&gt; are specific pieces of code that are loaded into the worker process and generally attach to some sort of event that occurs in the system. One of the most common events that Hooks utilize is the &lt;code&gt;HeartBeat&lt;/code&gt; static class which in it's own right runs very similarly to the Scheduler spawning a continuous loop. The Heartbeat events are subscribed to by Hooks through the &lt;code&gt;AlarmClock&lt;/code&gt; class. When the &lt;code&gt;HeartBeat&lt;/code&gt; &lt;em&gt;beats&lt;/em&gt; a tick, if the AlarmClock interval is reached, it invokes all of it's event subscribers by instantiating the class for that beat/interval, executing their delegate method, and then disposing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;Scheduler&lt;/strong&gt; is not much different to some degree from the &lt;code&gt;HeartBeat&lt;/code&gt; static class. It too is a static class that when instantiated, spawns a Worker thread that continuously loops. The biggest difference though is that the Scheduler loads into memory all of the Agent objects together as array and instead of subscribing to events, checks a time interval of each agent. When the time interval has passed, then it executes the agent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other big difference between a &lt;strong&gt;Hook&lt;/strong&gt; and &lt;strong&gt;Scheduled Task/Agent&lt;/strong&gt; is that you have to use the &lt;strong&gt;Agent&lt;/strong&gt; class mechanism in a &lt;strong&gt;Scheduler&lt;/strong&gt; task. A &lt;strong&gt;Hook&lt;/strong&gt; can be any type of custom code, logic, or method and not confined to the rigor of an Agent.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. When would I use a Scheduled Task over a Hook?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Scheduled tasks are meant for small pieces of work that are intended to be executed for a specific purpose and if turned off are not going to hurt or jeopardize the overall function of the product. An example is the &lt;code&gt;CleanupEventQueue&lt;/code&gt; task.  It does one function and gets out. If this function were to be disabled, chance of a major Sitecore malfunction are low.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;3. When would I use a Hook over a Scheduled Task?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When more core, and possibly more important functionality needs to be executed that would not be affected by user intervention. Hooks are separated from the Scheduler configuration and therefore the likely hood of a hook being modified or interfered with by a developer or other factor is much lower. An great example of a hook being chosen over a Scheduled Task is actually the &lt;code&gt;UnlockContactListAgentLoader&lt;/code&gt; Hook.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;hook type=&quot;Sitecore.ListManagement.Analytics.Hooks.UnlockContactListsAgentLoader, Sitecore.ListManagement.Analytics&quot; patch:source=&quot;Sitecore.ListManagement.config&quot;&amp;gt;&#xA;  &amp;lt;param name=&quot;agent&quot; type=&quot;Sitecore.ListManagement.Analytics.UnlockContactListsAgent, Sitecore.ListManagement.Analytics&quot;&amp;gt;&#xA;    &amp;lt;param name=&quot;listManager&quot; ref=&quot;contactListManager&quot; /&amp;gt;&#xA;    &amp;lt;param name=&quot;mapper&quot; type=&quot;Sitecore.ListManagement.ContentSearch.BatchIdMapper, Sitecore.ListManagement.ContentSearch&quot; /&amp;gt;&#xA;    &amp;lt;param name=&quot;operationManager&quot; type=&quot;Sitecore.Analytics.Data.Bulk.Contact.ContactBulkUpdateManager, Sitecore.Analytics&quot; /&amp;gt;&#xA;  &amp;lt;/param&amp;gt;&#xA;  &amp;lt;param name=&quot;interval&quot;&amp;gt;00:00:10&amp;lt;/param&amp;gt;&#xA;&amp;lt;/hook&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here we have a hook that is being initialized, and it's actually creating an Agent Task to run on a specific interval. The reason why Sitecore did this (assumption) is that this is a process that would have detrimental effect if the scheduler was turned off or disabled. If Lists were to be created and not unlocked (&lt;em&gt;There is a side conversation here about a bug that is preventing list from getting unlocked, but that's for another time&lt;/em&gt;) this would pose a significant issue to the operation of Sitecore. Especially if EXM was in play. :wink:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As far as &lt;strong&gt;Hooks&lt;/strong&gt; and &lt;strong&gt;Scheduled Tasks&lt;/strong&gt; are concerned, I see them as cousins in a big family tree. The only difference is that the parents of &lt;strong&gt;Hooks&lt;/strong&gt; are more strict and less likely to be swayed by adolescent rage. Where as &lt;strong&gt;Schedule Tasks&lt;/strong&gt; parents are more laid back and subdue. They probably let the kids play out in less than ideal conditions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To put it in short terms:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it's &lt;strong&gt;&lt;em&gt;important&lt;/em&gt;&lt;/strong&gt; use a Hook.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it's for &lt;strong&gt;&lt;em&gt;convenience&lt;/em&gt;&lt;/strong&gt; use a Scheduled Task.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-28T19:36:30.060" LastActivityDate="2016-10-28T19:36:30.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1974" PostTypeId="1" CreationDate="2016-10-28T19:57:59.353" Score="2" ViewCount="304" Body="&lt;p&gt;It's my understanding that the Sitecore upgrade packages are designed to run against only &lt;code&gt;core&lt;/code&gt; and &lt;code&gt;master&lt;/code&gt; - where changes are published to &lt;code&gt;web&lt;/code&gt;. I need to upgrade 2 additional publishing targets that retain state (I can't just publish from &lt;code&gt;master&lt;/code&gt;). Is there an alternative approach other than running the upgrade multiple times and tricking Sitecore into thinking the additional publishing targets are the &lt;code&gt;master&lt;/code&gt; database?&lt;/p&gt;&#xA;" OwnerUserId="98" LastEditorUserId="5387" LastEditDate="2019-08-08T04:12:01.967" LastActivityDate="2019-08-08T04:12:01.967" Title="Upgrade strategy for multiple publishing targets" Tags="|publishing|upgrade|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="1975" PostTypeId="1" CreationDate="2016-10-28T20:53:07.430" Score="11" ViewCount="4708" Body="&lt;p&gt;I have a scenario where the &lt;code&gt;Add Here&lt;/code&gt; button is not visible for the &lt;code&gt;placeholder&lt;/code&gt; I want to add a component to. I have to select other content in the placeholder and use the &lt;code&gt;Go to parent component&lt;/code&gt; button to navigate back up to my placeholder. At that point, the appropriate &lt;code&gt;Add Here&lt;/code&gt; button is visible and I can add a component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Two notes I think are important, the existing visible items in the placeholder are all at least grandchild descendants of the placeholder in question (they are within other nested placeholders). Also, if I do add a component to the placeholder (a direct child of my placeholder) I at least get an &lt;code&gt;Add Here&lt;/code&gt; button directly above the added component but not between any of the other components that make up the nested placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An image might help explain this better:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b5Aj7.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b5Aj7.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; The placeholder I want to add a component too but essentially, I can't select this placeholder - no &lt;code&gt;Add Here&lt;/code&gt; button shows up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;B:&lt;/strong&gt; Component that is already within the placeholder. It has a placeholder of its own, D.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;C.&lt;/strong&gt; Component that is already within the placeholder. It has a placeholder of its own, E.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add another component to A, I have to select content in D or E and use the &lt;code&gt;Go to parent component&lt;/code&gt; button to navigate back to A. At that point, the &lt;code&gt;Add Here&lt;/code&gt; button shows up and I can add a component to A.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What experience editor magic can I do to get the &lt;code&gt;Add Here&lt;/code&gt; button show up in placeholder A (instead of only placeholders D and E) when the add component button is clicked in the ribbon?&lt;/p&gt;&#xA;" OwnerUserId="1013" LastEditorUserId="5387" LastEditDate="2019-08-08T04:10:56.830" LastActivityDate="2019-08-08T04:10:56.830" Title="Add Here not Visible in Placeholder in Experience Editor" Tags="|experience-editor|placeholders|" AnswerCount="5" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="1976" PostTypeId="2" ParentId="1974" CreationDate="2016-10-28T21:14:49.350" Score="5" Body="&lt;p&gt;I'm not sure if &quot;tricking&quot; sitecore by switching the connection strings for master to the other publishing databases would work, However i would suggest the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In Sitecore Desktop, Switch to one of your publishing databases.&lt;/li&gt;&#xA;&lt;li&gt;Open content editor, then navigate to the items that you don't want to be overwritten by a publish process&lt;/li&gt;&#xA;&lt;li&gt;Click on &quot;&lt;strong&gt;DEVELOPER&lt;/strong&gt;&quot; tab, then click &quot;&lt;strong&gt;Serialize Tree&lt;/strong&gt;&quot;, this will serialize this section on the tree into XML files, which can be found within your &lt;strong&gt;data\serialization[Database name]&lt;/strong&gt; folder, I would back them up before i start the upgrade.&lt;/li&gt;&#xA;&lt;li&gt;Do the same for the other publishing database&lt;/li&gt;&#xA;&lt;li&gt;Install Sitecore upgrade packages for core and master and publish from master to publishing tagets&lt;/li&gt;&#xA;&lt;li&gt;Deserialize the items, by going back to sitecore desktop, and switching to one of the publishing databases.&lt;/li&gt;&#xA;&lt;li&gt;Navigate to the items that you want to restore as it was.&lt;/li&gt;&#xA;&lt;li&gt;Click on &quot;&lt;strong&gt;DEVELOPER&lt;/strong&gt;&quot; tab, then click &quot;&lt;strong&gt;Revert Tree&lt;/strong&gt;&quot;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You should be able to get these items to the previous state before the upgrade was applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2016-10-28T21:14:49.350" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1977" PostTypeId="5" CreationDate="2016-10-29T00:17:22.023" Score="0" Body="" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-29T00:17:22.023" LastActivityDate="2016-10-29T00:17:22.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1978" PostTypeId="4" CreationDate="2016-10-29T00:17:22.023" Score="0" Body="For questions that relate to defining, configuring and/or restrictions permissions of users in the Sitecore client interfaces (Content Editor, Experience Editor, etc.)" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-10-29T00:17:22.023" LastActivityDate="2016-10-29T00:17:22.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1979" PostTypeId="2" ParentId="1962" CreationDate="2016-10-29T02:49:48.697" Score="3" Body="&lt;p&gt;It turns out that this is indeed handled by sales.  It was someone from AM Sales Support at the main Sausalito office that helped me.  I asked the person who helped me what the preferred channel is, but have not yet received a response. I expect that contacting your regional sales office as listed at &lt;a href=&quot;http://www.sitecore.net/en/company/contact-us&quot; rel=&quot;nofollow&quot;&gt;http://www.sitecore.net/en/company/contact-us&lt;/a&gt; will get you in contact with some one who can help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The person that helped me from AM Sales replied and said that, currently, the Chat with Sales feature on the main website is the preferred channel for this sort of request.  She also suggested that there would be some enhancements to the contact methods coming soon.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2016-10-31T17:22:05.330" LastActivityDate="2016-10-31T17:22:05.330" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1980" PostTypeId="1" AcceptedAnswerId="1987" CreationDate="2016-10-29T03:08:07.727" Score="10" ViewCount="1533" Body="&lt;p&gt;I want to pass some arguments to a script block that will be run on a remote Sitecore instance via SPE remoting.  I wrote this script as a test, but it's not working.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$session = New-ScriptSession -ConnectionUri &quot;http://sc81up3&quot; -Username admin -Password b&#xA;Invoke-RemoteScript -Session $session -ScriptBlock { param($name) Write-Output &quot;hi $name&quot; } -Arguments @{&quot;name&quot;=&quot;Ben&quot;}&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This wasn't my first attempt.  I tried, just passing &lt;code&gt;&quot;Ben&quot;&lt;/code&gt; as the &lt;code&gt;Argument&lt;/code&gt; parameter, but that caused an error about not being able to convert a string to a hashtable.  When I pass the hashtable as shown above, I don't get an error, but the output is just &lt;code&gt;hi&lt;/code&gt;, so it seems the value isn't getting passed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the correct way to pass arguments to the script block executed by Invoke-RemoteScript?&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="70" LastEditDate="2016-10-29T03:18:34.977" LastActivityDate="2018-05-15T02:43:21.357" Title="How to pass arguments to SPE's Invoke-RemoteScript" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1981" PostTypeId="2" ParentId="1980" CreationDate="2016-10-29T03:44:47.393" Score="5" Body="&lt;p&gt;I found an example in the comments included in the &lt;code&gt;Invoke-RemoteScript.ps1&lt;/code&gt; script file.  Here is a modified version of my script that outputs &lt;code&gt;hi Ben&lt;/code&gt; as expected:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$session = New-ScriptSession -ConnectionUri &quot;http://sc81up3&quot; -Username admin -Password b&#xA;Invoke-RemoteScript -Session $session -ScriptBlock { Write-Output &quot;hi $($params.name)&quot; } -Arguments @{&quot;name&quot;=&quot;Ben&quot;}&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The hashtable that you pass with &lt;code&gt;-Arguments&lt;/code&gt; is accessible within the script as the properties on the &lt;code&gt;$params&lt;/code&gt; variable.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-10-29T03:44:47.393" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1982" PostTypeId="2" ParentId="1962" CreationDate="2016-10-29T09:15:01.313" Score="4" Body="&lt;p&gt;If you log in to the Partner Network portal at &lt;a href=&quot;http://spn.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://spn.sitecore.net&lt;/a&gt; you can see your regional contact at the top right corner of the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6csh7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6csh7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="239" LastActivityDate="2016-10-29T09:15:01.313" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="1983" PostTypeId="2" ParentId="1962" CreationDate="2016-10-29T09:16:22.743" Score="0" Body="&lt;p&gt;If you are Sitecore Certified and you have linked your Sitecore account with Sitecore Partner then you can easily find this information on Sitecore Partner Portal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Partner URL - &lt;a href=&quot;https://spn.sitecore.net&quot; rel=&quot;nofollow&quot;&gt;https://spn.sitecore.net&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On this site in top-right corner, you find this info in dropdown. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To link Sitecore Portal account with Sitecore Partner you can do it from &lt;a href=&quot;https://portal.sitecore.net&quot; rel=&quot;nofollow&quot;&gt;https://portal.sitecore.net&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2016-10-29T09:16:22.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1984" PostTypeId="2" ParentId="1961" CreationDate="2016-10-29T09:36:56.173" Score="11" Body="&lt;p&gt;Although the &lt;a href=&quot;http://helix.sitecore.net&quot;&gt;Helix documentation&lt;/a&gt; does cover this, I guess it's a big pill to swallow all at once so here are a few simple guidelines to help you on the Helix path:  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Foundation module&lt;/strong&gt;&lt;br&gt;&#xA;This acts as an API to Feature modules.&lt;br&gt;&#xA;The Foundation does not contain any form of presentation!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Feature module&lt;/strong&gt;&lt;br&gt;&#xA;This contains logic and presentation, but never styling.&lt;br&gt;&#xA;So presentation is usually in the form of semantic HTML so it can be styled per Project module.&lt;br&gt;&#xA;Feature modules may reference Foundation modules.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Project module&lt;/strong&gt;&lt;br&gt;&#xA;I guess you would typically not include this in a Marketplace package as this is the site-specific stuff, but you could add a demonstration project, for example to explain how the module could be styled.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In reference to Richard's answer:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Foundation&lt;/strong&gt;&lt;br&gt;&#xA;  Modules that are really CMS based. So a control panel, some admin&#xA;  interface etc..&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Feature&lt;/strong&gt;&lt;br&gt;&#xA;  Modules that obey the Common Closure Principle&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;I do not agree with this;&lt;/strong&gt; The fact that it's a control panel or admin tool does not indicate whether or not the module contains presentation.&lt;br&gt;&#xA;Features do not have to be client (front-end) features!&lt;br&gt;&#xA;You could say that if the module is exposed to a user (whether that is a content editor or a site visitor, doesn't make a difference) it's a &lt;em&gt;Feature&lt;/em&gt; module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, the &lt;em&gt;Common Closure Principle&lt;/em&gt; applies to &lt;strong&gt;all&lt;/strong&gt; the modules in the Helix architecture, not just the Feature modules!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt; Take a look at the MultiSite module in the &lt;a href=&quot;https://github.com/Sitecore/Habitat&quot;&gt;Habitat example&lt;/a&gt;.&lt;br&gt;&#xA;This module is contains both &lt;em&gt;Feature&lt;/em&gt; and &lt;em&gt;Foundation&lt;/em&gt; projects.&lt;br&gt;&#xA;The &lt;em&gt;Feature&lt;/em&gt; project contains the stuff that is exposed to the user.&lt;br&gt;&#xA;The &lt;em&gt;Foundation&lt;/em&gt; project contains the stuff that is used by the &lt;em&gt;Feature&lt;/em&gt; project and may be used by other &lt;em&gt;Feature&lt;/em&gt; projects as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TLDR;&lt;/strong&gt; Your Marketplace module can contain both Feature and Foundation projects. It does not necessarily have to either a Feature or a Foundation project.&lt;/p&gt;&#xA;" OwnerUserId="239" LastEditorUserId="239" LastEditDate="2016-10-29T11:52:54.630" LastActivityDate="2016-10-29T11:52:54.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1985" PostTypeId="1" AcceptedAnswerId="1986" CreationDate="2016-10-29T14:43:35.507" Score="9" ViewCount="96" Body="&lt;p&gt;I'm trying to add a Coveo search box view to my page statically, using &lt;code&gt;@Html.Sitecore().Rendering(&quot;ID OF RENDERING&quot;)&lt;/code&gt;. I created my own copy of the rendering, and also my own copy of the rendering parameters so I could set the ID and search page in the standard values. The resources appear if I add those statically, but the search box view doesn't. The same view does appear if I add it via placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, I add my header/footer statically so users can't remove them. Is there something I'm missing? It seems like this should be a no-brainer.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="70" LastEditDate="2016-10-29T16:31:35.740" LastActivityDate="2016-11-02T16:16:27.350" Title="Add Coveo rendering statically" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1986" PostTypeId="2" ParentId="1985" CreationDate="2016-10-29T15:33:56.833" Score="9" Body="&lt;p&gt;You need to add a datasource for the rendering, with the data using the Coveo Search Box Parameters template. So using the syntax &lt;code&gt;@Html.Sitecore().Rendering(&quot;RENDERING ID&quot;, new { DataSource = &quot;DATASOURCE ID&quot; })&lt;/code&gt; will do it.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="73" LastEditDate="2016-11-02T16:16:27.350" LastActivityDate="2016-11-02T16:16:27.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1987" PostTypeId="2" ParentId="1980" CreationDate="2016-10-29T19:08:09.113" Score="8" Body="&lt;p&gt;The SPE &lt;a href=&quot;https://doc.sitecorepowershell.com/remoting&quot; rel=&quot;nofollow noreferrer&quot;&gt;Gitbook&lt;/a&gt; provides some alternate examples using the &lt;code&gt;$using:VARIABLE&lt;/code&gt; syntax.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following will pass the &lt;code&gt;$data&lt;/code&gt; object into the scriptblock for remote execution.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Module -Name SPE&#xA;$session = New-ScriptSession -Username michael -Password b -ConnectionUri https://spe.dev.local&#xA;&#xA;$data = @{&quot;name&quot;=&quot;Michael&quot;}&#xA;Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;    Write-Output &quot;Hi $(($using:data).name)&quot;&#xA;}&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The current version of the remoting module requires you to wrap the &lt;code&gt;$using:data&lt;/code&gt; in parenthesis if you want to directly access properties. Otherwise assign it to a variable first.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-05-15T02:43:21.357" LastActivityDate="2018-05-15T02:43:21.357" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="1988" PostTypeId="2" ParentId="387" CreationDate="2016-10-30T03:52:59.430" Score="12" Body="&lt;p&gt;&lt;a href=&quot;https://www.geekhive.com/buzz/post/2014/12/how-to-configure-help-text-on-items-in-sitecore-cms/&quot; rel=&quot;noreferrer&quot;&gt;I wrote a &quot;How to&quot; post about this a couple years ago&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select the Field item in Sitecore that you want to add help text to and open the &quot;Help&quot; section (you may need to &lt;a href=&quot;https://www.geekhive.com/buzz/post/2014/11/how-to-view-standard-fields-in-sitecore-cms/&quot; rel=&quot;noreferrer&quot;&gt;toggle visibility on Standard Fields&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;Help Link&lt;/strong&gt; field will be used to provide a clickable link on the field label. I find it really helpful to link fields directly to documentation explaining what the field is used for. This is particularly useful for fields that don't change too often, or are optional.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;Long Description&lt;/strong&gt; field is used to provide a tooltip for the field label. Don't use HTML in this field, it will be escaped in the tooltip.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;Short Description&lt;/strong&gt; field is used to provide the helper text that follows the field. Don't use HTML in this field, it will be escaped when shown in the helper text. Worse yet, it &lt;em&gt;won't&lt;/em&gt; be escaped where it's shown at the top of the Field item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general, avoid &lt;code&gt;&amp;lt;&lt;/code&gt;, &lt;code&gt;&amp;gt;&lt;/code&gt;, &lt;code&gt;&quot;&lt;/code&gt; and &lt;code&gt;&amp;amp;&lt;/code&gt; characters in the help text fields because Sitecore doesn't handle the HTML encoding consistently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Also, don't be fooled by the &quot;Help Texts&quot; dialog if you use the Help button in the ribbon. It's mislabeled. &lt;strong&gt;Long Description is the tooltip, Short description is what follows the field&lt;/strong&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="286" LastActivityDate="2016-10-30T03:52:59.430" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1989" PostTypeId="2" ParentId="1971" CreationDate="2016-10-30T04:42:12.460" Score="6" Body="&lt;p&gt;I've put a lot of thought into how I might go about formulating an answer to this question. If anyone knows me personally, they'll know I'm pretty passionate about things that I care about, and &lt;em&gt;Dynamic Sites Manager&lt;/em&gt; was pretty much the love child between immense frustration about how other Site Managers were going about doing it and the fact that I had a week off of time between Christmas (2014) and New Years (2015).  So it's with that disclaimer that I tried to provide as much objectivity in this answer as possible.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;Birth of Dynamic Sites - Doing Multi-Site the &lt;em&gt;Sitecore&lt;/em&gt; Way!&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I wanted to figure out how Sitecore intended to do multi-site. The goal being, I didn't want to override a SINGLE Sitecore class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the requirements ended up being:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No Class Overrides&lt;/li&gt;&#xA;&lt;li&gt;Must be able to add sites in the Sitecore editor.&lt;/li&gt;&#xA;&lt;li&gt;Must be able to add sites without a worker process recycle&lt;/li&gt;&#xA;&lt;li&gt;Prevent caging people into using a specific templates (as much as possible).&lt;/li&gt;&#xA;&lt;li&gt;Must be fast&lt;/li&gt;&#xA;&lt;li&gt;Must not adjust, muck, or any way alter &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline.&lt;/li&gt;&#xA;&lt;li&gt;It must solve the problem.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And that's exactly what I did. Dynamic Sites adds additional Site Providers to the mix. Executes and respects the &lt;code&gt;ConfigSiteProvider&lt;/code&gt; out of the box, and implements it's own &lt;code&gt;DynamicSiteProvider&lt;/code&gt; class along side of it. The custom provider only cares about it's sites and nothing else.  I also added a &lt;em&gt;switcher&lt;/em&gt; provider that allowed me to combine all of the providers in order to feed the &lt;code&gt;SiteCollection&lt;/code&gt;. I also included some custom Sitecore caching to cache the Sites so that retrieving site information was as fast as possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The end result being that &lt;code&gt;Context.Site&lt;/code&gt; is updated, naturally, without being forced, Sitecore is &lt;em&gt;aware&lt;/em&gt; of all sites (no sites masked), and all sites even had their own Sitecore site caching for things like xsl, html, and data caching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I decided to launch it as a Marketplace Module, provide the Shared Source license for use, and post it on Github.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Was/Is it perfect?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Oh god no. It was a rush job, at least the early iterations of it. As time past, I made small tweaks here and there as bug reports from users using it out in the wild started providing me with information. I tried to respond to all of them posting small updates as fixes were implemented.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Current State of Dynamic Sites&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When Sitecore 8.2 was released, I immediately spent the night updating Dynamic Sites to support 8.2 and went through all of my test cases to ensure it was still functional. More information about this can be found on my blog, &lt;a href=&quot;https://sitecorehacker.com/modules/dynamic-sites-manager/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Hacker&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Future State of Dynamic Sites&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;As much as it needs to be, I will continue to provide updates for the module. I am also working on Version 2.0 which is being completely rewritten to support Helix guidelines. In addition, I am planning on seeing how &lt;em&gt;Dynamic Sites Manager&lt;/em&gt; needs to be adjusted for the Solution Experience Accelerator and taking into account Habitat's multi-site solution. As needed, I will make adjustments.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;How does it differ from Niket's Multiple Site Manager&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Niket took an entirely different approach, but ultimately he tied into the system by overriding the &lt;code&gt;ConfigSiteProvider&lt;/code&gt; with his own class as well as injecting logic into the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline. He does manage to register the site with &lt;code&gt;SiteContextFactory&lt;/code&gt; but does it in a way that requires him to lock down the factory from other threads while he builds the Site context for each site. He does this during the &lt;code&gt;httpBeginRequest&lt;/code&gt; pipeline which means during the first request visit after a restart, Sitecore has to sit there and rebuild the site collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;He also goes through and hard codes some of the default Sitecore sites in order to appropriately order them since &lt;code&gt;scheduler&lt;/code&gt;, &lt;code&gt;system&lt;/code&gt;, and &lt;code&gt;publisher&lt;/code&gt; are all special sites that have to come &lt;strong&gt;AFTER&lt;/strong&gt; custom site definitions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And last, but not least, he updates new sites by &lt;code&gt;touching&lt;/code&gt; the &lt;strong&gt;web.config&lt;/strong&gt; which performs a worker process recycle to restart the Sitecore services. By doing that, the first request of &lt;code&gt;httpBeginRequest&lt;/code&gt; is able to process and create his site definition again. &lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-10-30T17:39:16.103" LastActivityDate="2016-10-30T17:39:16.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1990" PostTypeId="2" ParentId="1524" CreationDate="2016-10-30T10:13:54.470" Score="2" Body="&lt;p&gt;The solution I used was the publishing Roles (as in the description) in addition to a workaround for the bug in Sitecore mentioned above.&#xA;You can find the full solution &lt;a href=&quot;http://www.tanasuk.com/blog/Customizing%20Publishing%20Permissions&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short, the workaround to overcome the bug in Sitecore was to override Sitecore's '&lt;em&gt;PublishForm&lt;/em&gt;' and uncheck the publish with sub-items checkbox by default. So every time the publish dialog is opened the 'Publish with sub-items' checkbox is NOT checked.&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="490" LastEditDate="2016-10-31T13:00:41.467" LastActivityDate="2016-10-31T13:00:41.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1991" PostTypeId="2" ParentId="1956" CreationDate="2016-10-30T16:20:02.330" Score="6" Body="&lt;p&gt;After lot of investigation, I have seen that the Branch Template cannot be used since I get the following error: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Template is invalid (cdbb9572-14b6-4ea2-818e-bb6c15beda94)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason is because of the Add Method from the namespace &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Services.Infrastructure.Sitecore.Data.ItemRepository&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the Code for creating the item:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public Guid Add(ItemCreateRequest request, string databaseName, string language)&#xA;{&#xA;  Database database = ItemRepository.GetDatabase(databaseName);&#xA;  Language language1 = ItemDataBase.GetLanguage(language);&#xA;  Item obj = database.GetItem(request.ParentPath, language1);&#xA;  if (obj == null)&#xA;    throw new ArgumentException(ItemDataBase.InvalidParameterMessage(&quot;Path&quot;, (object) request.ParentPath));&#xA;  TemplateItem template = database.GetTemplate(new ID(request.Template));&#xA;  if (template == null)&#xA;    throw new ArgumentException(ItemDataBase.InvalidParameterMessage(&quot;Template&quot;, (object) request.Template));&#xA;  Item itemToUpdate = obj.Add(request.Name, template);&#xA;  using (new EditContext(itemToUpdate))&#xA;    this.UpdateFields(request.Fields, itemToUpdate);&#xA;  return itemToUpdate.ID.Guid;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above code is used for creating an item from a template and not from a Branch Template. For Branch Template it should have been as below:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private const string _BRANCH_ITEM = &quot;/sitecore/templates/Branches/MyBranches/MyBranch&quot;;&#xA;&#xA;public void Create(Item parent, string name)&#xA;{&#xA;   BranchItem branch = globalDataFolder.Database.GetItem(_BRANCH_ITEM);&#xA;   Assert.IsNotNull(branch, &quot;Could not find Data branch at &quot; + _BRANCH_ITEM);&#xA;   parent.Add(name, branch);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The difference is instead of using &lt;code&gt;TemplateItem&lt;/code&gt;, it need to be changed to &lt;code&gt;BranchItem&lt;/code&gt; in order to create item from Branch Template. Example is taken from Brian Pedersen &lt;a href=&quot;https://www.google.mu/amp/s/briancaos.wordpress.com/2009/12/01/creating-items-from-branches-in-sitecore/amp/?client=safari&quot; rel=&quot;noreferrer&quot;&gt;post&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems that the only way to achieve this is to override the ItemRepository and implement a new method that caters for Branch Template. Maybe, introducing the creation of items from Branch Template in future releases of the Sitecore Data Exchange Framework might be considered.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-10-30T16:26:51.000" LastActivityDate="2016-10-30T16:26:51.000" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1992" PostTypeId="5" CreationDate="2016-10-30T20:21:38.580" Score="0" Body="" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-30T20:21:38.580" LastActivityDate="2016-10-30T20:21:38.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1993" PostTypeId="4" CreationDate="2016-10-30T20:21:38.580" Score="0" Body="Used to tag questions about content and module packages. You can create packages using the Package Designer or Sitecore Rocks." OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-30T20:21:38.580" LastActivityDate="2016-10-30T20:21:38.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1994" PostTypeId="1" AcceptedAnswerId="1996" CreationDate="2016-10-30T21:00:28.697" Score="14" ViewCount="2220" Body="&lt;p&gt;SXA is coming with two predefined themes - &lt;code&gt;Basic&lt;/code&gt; and &lt;code&gt;Wireframe&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are stored in &lt;code&gt;/sitecore/media library/Themes&lt;/code&gt; media folder and cannot be modified in &lt;code&gt;Creative Exchange&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to create custom theme that I can apply to my site? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am thinking about using standard Sitecore &lt;code&gt;Copying&lt;/code&gt; -&gt; &lt;code&gt;Copy To&lt;/code&gt; item menu for &lt;code&gt;Wireframe&lt;/code&gt; theme but would like to hear if there is a better option. &lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-11-04T13:08:10.623" Title="How to create a custom theme in SXA?" Tags="|best-practices|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1995" PostTypeId="1" AcceptedAnswerId="1997" CreationDate="2016-10-30T21:13:45.610" Score="11" ViewCount="1846" Body="&lt;p&gt;Sitecore historically had two options for building reusable page design:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Page Standard Values&lt;/li&gt;&#xA;&lt;li&gt;Branch Template&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Both these options allow to build composition of visual components and later build pages reusing that design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA has its own implementation called &lt;code&gt;Page Design&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In SXA, you work with reusable pieces of content and layout. A page&#xA;  design in SXA is a group of partial layouts that make up the design of&#xA;  a webpage.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;For example, you may need a reusable page structure for a blog page.&#xA;  By creating a page design for a blog, you can create a basic template&#xA;  that content authors can use to create content without having to worry&#xA;  about the design of the page.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What are the benefits of &lt;code&gt;SXA Page Designs&lt;/code&gt; and when should I use each option?&lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-10-30T22:27:43.690" Title="SXA Page Design vs Page Standard Values vs Page Branch Template" Tags="|best-practices|templates|sxa|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1996" PostTypeId="2" ParentId="1994" CreationDate="2016-10-30T21:29:51.790" Score="19" Body="&lt;p&gt;There are two ways of doing that:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;create your theme using &lt;strong&gt;Create new Site dialogue&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;create your theme manually&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Create new Site dialogue&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create New Site dialogue lets you create your own theme.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do it you need to switch to &lt;strong&gt;Theme&lt;/strong&gt; tab and check &lt;strong&gt;Create new theme&lt;/strong&gt; checkbox&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ISaTR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ISaTR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that your site theme will be created somewhere here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/media library/Project/Tenant/Site/My Site Theme&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Create your theme manually&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to do it manually you need to repeat script steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What scaffolding script does is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;create new Theme item&lt;/li&gt;&#xA;&lt;li&gt;assign theme base templates&#xA;&lt;a href=&quot;https://i.stack.imgur.com/83KwZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/83KwZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;copy all content of &lt;strong&gt;Basic&lt;/strong&gt; theme under your new Theme&lt;/li&gt;&#xA;&lt;li&gt;assign your new theme to allowed/compatible themes in your site settings&#xA;You can configure them here:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kh8kg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kh8kg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without that step, your new theme will not appear in any site options, for example here (device to theme mapping)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OW01W.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OW01W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-30T22:15:39.743" LastActivityDate="2016-10-30T22:15:39.743" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="1997" PostTypeId="2" ParentId="1995" CreationDate="2016-10-30T22:14:38.567" Score="17" Body="&lt;p&gt;With &lt;strong&gt;Sitecore Experience Accelerator&lt;/strong&gt; you can forget about previous methods, however, there is nothing that will block you from using them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Before - NO SXA&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;you had to decide how your page will look like before you entered content (because the presentation was stored either on SV or somewhere inside different branches)&lt;/li&gt;&#xA;&lt;li&gt;you couldn't easily switch your presentation once you created your item with predefined presentation details. Option for doing that could be changing the template to use a different one with different presentation or manipulate presentation manually. Not so comfortable if we are talking about thousands of pages.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Now - SXA:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With &lt;strong&gt;SXA&lt;/strong&gt; you can use the same approach, however, what makes it special is the fact that you can treat your items like a data storage and define presentation somewhere else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is it cool?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because when you've got your data and presentation decoupled you can easily change presentation details any time you want (there is so called design to template mapping).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LHn6g.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LHn6g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice that all you need to do is to change the value of a single drop down to change the Design of all pages under your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, you are not forced to define presentation details in one place and data in another. Page designs are sort of set of renderings injected onto your page but are not there in reality. You are able to add your additional renderings even that and page will render merged content at the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are key points: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Advantages:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;flexibility - you can easily switch presentation details without touching templates&lt;/li&gt;&#xA;&lt;li&gt;maintainability - you can build partial designs like normal pages (open Experience Editor and drop renderings), you couldn't manipulate presentation details using previous approaches&lt;/li&gt;&#xA;&lt;li&gt;hierarchy - data templates definition are stored under templates, where designers (presentation designers) should no go to, that's why presentation can be created on so-called &lt;strong&gt;Partial Designs&lt;/strong&gt;, I think it is pretty important to keep things secure.&lt;/li&gt;&#xA;&lt;li&gt;re-usability - as you probably know &lt;strong&gt;page designs&lt;/strong&gt; are build from &lt;strong&gt;partial designs&lt;/strong&gt;. In this case, you can reuse existing presentation parts. Let's say you define single header  &lt;strong&gt;partial design&lt;/strong&gt; and then use it on different designs where content part or footer is different.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-10-30T22:27:43.690" LastActivityDate="2016-10-30T22:27:43.690" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="1998" PostTypeId="1" AcceptedAnswerId="3267" CreationDate="2016-10-31T03:57:13.877" Score="5" ViewCount="297" Body="&lt;p&gt;We are hosting our sites in azure web apps and in process of applying security hardening.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wondering if anyone has already written a patch/transform file for below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1. Deny anonymous users access to key folders&#xA;2. Disable client RSS feeds&#xA;3. Secure the file upload functionality&#xA;4. Improve the security of the website folder&#xA;5. Limit access to certain file types&#xA;7. Protect PhantomJS&#xA;8. Protect media requests&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2016-12-10T16:54:12.557" LastActivityDate="2016-12-10T16:54:12.557" Title="CD security hardening patch/transform" Tags="|security|azure|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="1999" PostTypeId="2" ParentId="586" CreationDate="2016-10-31T09:29:24.580" Score="1" Body="&lt;p&gt;Checked this question with Digizuite as it was indeed an interesting one. As Owen mentions above, they indeed want you to hook into their API and listen for whatever event is relevent for you. They recommend to start a Proof of Concept for this. Key is to use their own API. I got this (high level) info from John Burke-Hansen so you best get in touch with him to work out an approach to this.&lt;/p&gt;&#xA;" OwnerUserId="627" LastActivityDate="2016-10-31T09:29:24.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2000" PostTypeId="1" CreationDate="2016-10-31T09:51:48.573" Score="6" ViewCount="422" Body="&lt;p&gt;In my Sitecore 8.2 installation, i have the following tasks:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+---sitecore&#xA;|   \---system&#xA;|       \---Tasks&#xA;|           \---Schedules&#xA;|               \---Content Testing&#xA;|                   \---Calculate Statistical Relvancy&#xA;|                   \---Rebuild Suggested Tests Index&#xA;|                   \---Suspend Corrupted Tests&#xA;|                   \---Try Finish Test&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since i use Solr for indexing, i'm pretty confident that the &lt;code&gt;Rebuild Suggested Test Index&lt;/code&gt; should only trigger on the Authoring environment and therefore needs to be set to &lt;code&gt;Never Publish&lt;/code&gt;. Does anybody know whether this needs to be done for the other 3 tasks as well? Or does every Delivery server in a scaled environment need to run those 3 tasks?&lt;/p&gt;&#xA;" OwnerUserId="30" LastActivityDate="2016-10-31T10:22:44.333" Title="Do content testing tasks need to run in Delivery environment?" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2001" PostTypeId="2" ParentId="2000" CreationDate="2016-10-31T10:22:44.333" Score="3" Body="&lt;p&gt;Is not needed because I can see Rebuild Suggested Test Index commmand is using sitecore_suggested_test_index index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore search indexes required for different types of servers in a scaled environment can be seen in below picture : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/S89jE.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/S89jE.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/search_and_indexing/indexing/search_indexes_required_in_a_scalable_environment&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/search_and_indexing/indexing/search_indexes_required_in_a_scalable_environment&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-10-31T10:22:44.333" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2002" PostTypeId="2" ParentId="1791" CreationDate="2016-10-31T10:25:43.867" Score="2" Body="&lt;p&gt;This turned out to because of a rendering that's meant to display latest news in the standard values that was producing no markup at all. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Added a quick &lt;code&gt;if (Html.Glass().IsInEditingMode) {...}&lt;/code&gt; check to render something if in editing mode and there aren't any news articles, and all is well with the world. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help anyway :)&lt;/p&gt;&#xA;" OwnerUserId="56" LastActivityDate="2016-10-31T10:25:43.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2003" PostTypeId="1" AcceptedAnswerId="2005" CreationDate="2016-10-31T10:54:18.307" Score="7" ViewCount="1659" Body="&lt;p&gt;I have the following model &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class VacancyDetailModel&#xA;{&#xA;    public HttpPostedFileBase Resume {get;set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is my form.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;@using (Html.BeginForm())&#xA;{&#xA;  &amp;lt;input type=&quot;file&quot; name=&quot;Resume&quot; /&amp;gt;&#xA;  &amp;lt;input type=&quot;hidden&quot; name=&quot;fhController&quot; value=&quot;VacanciesController&quot; /&amp;gt;&#xA;  &amp;lt;input type=&quot;hidden&quot; name=&quot;fhAction&quot; value=&quot;VacancyDetail&quot; /&amp;gt;&#xA;  &amp;lt;button id=&quot;btn-save&quot; class=&quot;btn btn-highlight&quot; type=&quot;submit&quot;&amp;gt;Solliciteer direct empty form&amp;lt;/button&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is my controller&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[HttpPost]     &#xA;//[ValidateFormHandler]       &#xA;public ActionResult VacancyDetail(VacancyDetailModel formModel)&#xA;{&#xA;    return this.View(model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I place a watch on my model, the Resume field is always &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1009" LastEditorUserId="104" LastEditDate="2016-10-31T11:14:53.917" LastActivityDate="2017-05-19T08:44:50.537" Title="Sitecore Custom MVC Form with file upload, file always null" Tags="|mvc|mvc-forms|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2004" PostTypeId="2" ParentId="1789" CreationDate="2016-10-31T11:11:07.810" Score="9" Body="&lt;p&gt;Slow HTTP attacks are denial-of-service (DoS) attacks that rely on the fact that the HTTP protocol, by design, requires a request to be completely received by the server before it is processed. If an HTTP request is not complete, or if the transfer rate is very low, the server keeps its resources busy waiting for the rest of the data. When the server’s concurrent connection pool reaches its maximum, this creates a denial of service. These attacks are problematic because they are easy to execute, i.e. they can be executed with minimal resources from the attacking machine.&lt;/p&gt;&#xA;&lt;p&gt;Microsoft has confirmed the vulnerability in a security bulletin and released software updates. February 2014 Microsoft has released a security bulletin at the following link: &lt;a href=&quot;http://technet.microsoft.com/en-us/security/bulletin/MS14-009&quot; rel=&quot;noreferrer&quot;&gt;MS14-009&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Most enterprise sites/datacenters will have DoS defender specialized&#xA;hardware, firewalls, load balancers, etc. DoS attacks should be&#xA;blocked just while entering your hosting infrastructure not at the end&#xA;when request is being processed by web server.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Below are some configuration recommendations that may help preventing DoS attacks (tested with Sitecore 8.1 rev. 160519). Suggested configuration changes will not guarantee 100% protection. I would rather say it will defend from “junior” attackers with limited resources. Requests from let’s say 10000 different locations that bypass configuration limitations and dynamic IP restrictions will put a lot of stress on your web server and eventually cause denial of service.&lt;/p&gt;&#xA;&lt;h3&gt;Request Limits &lt;code&gt;&amp;lt;requestLimits&amp;gt;&lt;/code&gt;&lt;/h3&gt;&#xA;&lt;p&gt;Requires Request Filtering feature has to be enabled.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Maximum URL length (Bytes)&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default value : 4096&lt;/li&gt;&#xA;&lt;li&gt;Recommended value : 2048&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Maximum query string length (Bytes)&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default value : 2048&lt;/li&gt;&#xA;&lt;li&gt;Recommended value : 1024&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Allow unlisted verbs&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default value : true&lt;/li&gt;&#xA;&lt;li&gt;Recommended value : false (Make sure to configure listed verbs)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;maxAllowedContentLength&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default value : 30000000, which is approximately 28.6MB.&lt;/li&gt;&#xA;&lt;li&gt;Recommended value : Recommended value for Sitecore setup will vary based on requirements to upload media. For CD server such value can be minimized, while for CM server you may want to upload large size files i.e. have value maximized.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Configuration instructions: &lt;a href=&quot;https://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits&quot; rel=&quot;noreferrer&quot;&gt;https://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Website &lt;code&gt;&amp;lt;limits&amp;gt;&lt;/code&gt;&lt;/h3&gt;&#xA;&lt;p&gt;&lt;strong&gt;connectionTimeout&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default value : 00:02:00 (two minutes)&lt;/li&gt;&#xA;&lt;li&gt;Recommended value : 00:00:30&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Configuration instructions: &lt;a href=&quot;https://www.iis.net/configreference/system.applicationhost/sites/sitedefaults/limits&quot; rel=&quot;noreferrer&quot;&gt;https://www.iis.net/configreference/system.applicationhost/sites/sitedefaults/limits&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Application host &lt;code&gt;&amp;lt;webLimits&amp;gt;&lt;/code&gt;&lt;/h3&gt;&#xA;&lt;p&gt;&lt;strong&gt;connectionTimeout&lt;/strong&gt; (Specifies the time that IIS waits before it disconnects a connection considered inactive).&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default value : 00:02:00 (two minutes)&lt;/li&gt;&#xA;&lt;li&gt;Recommended value : 00:00:30&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;headerWaitTimeout&lt;/strong&gt; (Specifies the time that the server waits for all HTTP headers for the request to be received before disconnecting the client.)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default value : 00:00:00 (disabled)&lt;/li&gt;&#xA;&lt;li&gt;Recommended value : 00:00:30&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;minBytesPerSecond&lt;/strong&gt; (Specifies the minimum throughput rate, in bytes, that HTTP.sys enforces when it sends a response to the client. The minBytesPerSecond attribute prevents malicious or malfunctioning software clients from using resources by holding a connection open with minimal data.)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default value : 240 bytes&lt;/li&gt;&#xA;&lt;li&gt;Recommended value : 500 bytes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Configuration instructions:&#xA;&lt;a href=&quot;https://www.iis.net/configreference/system.applicationhost/weblimits&quot; rel=&quot;noreferrer&quot;&gt;https://www.iis.net/configreference/system.applicationhost/weblimits&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Dynamic IP Restrictions&lt;/h3&gt;&#xA;&lt;p&gt;The Dynamic IP Restrictions Extension for IIS provides IT Professionals and Hosters a configurable module that helps mitigate or block Denial of Service Attacks or cracking of passwords through Brute-force by temporarily blocking Internet Protocol (IP) addresses of HTTP clients who follow a pattern that could be conducive to one of such attacks.&#xA;When an attack pattern is detected, the module will place the offending IP in a temporary deny list and will avoid responding to the requests for a predetermined amount of time.&lt;/p&gt;&#xA;&lt;p&gt;Dynamically blocking of requests from IP address based on either of the following criteria:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The number of concurrent requests.&lt;/li&gt;&#xA;&lt;li&gt;The number of requests over a period of time.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Module download and configuration instructions&#xA;&lt;a href=&quot;https://www.iis.net/downloads/microsoft/dynamic-ip-restrictions&quot; rel=&quot;noreferrer&quot;&gt;https://www.iis.net/downloads/microsoft/dynamic-ip-restrictions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="392" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-31T11:29:10.913" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2005" PostTypeId="2" ParentId="2003" CreationDate="2016-10-31T11:28:28.790" Score="7" Body="&lt;p&gt;You need to define your form properly for file uploads to work. The most important part is to set &lt;code&gt;enctype&lt;/code&gt; to &lt;code&gt;multipart/form-data&lt;/code&gt;. Normally, you should use the standard &lt;code&gt;Html.BeginForm&lt;/code&gt; helper:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using (Html.BeginForm(&quot;VacancyDetail&quot;, &quot;VacanciesController&quot;, FormMethod.Post, new { enctype = &quot;multipart/form-data&quot; }))&#xA;{&#xA;  &amp;lt;input type=&quot;file&quot; name=&quot;Resume&quot; /&amp;gt;&#xA;  &amp;lt;button id=&quot;btn-save&quot; class=&quot;btn btn-highlight&quot; type=&quot;submit&quot;&amp;gt;Solliciteer direct empty form&amp;lt;/button&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you, for some reason, can't use a fully parameterized &lt;code&gt;Html.BeginForm&lt;/code&gt;, use raw HTML instead:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;form action=&quot;&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&amp;gt;&#xA;  &amp;lt;input type=&quot;file&quot; name=&quot;Resume&quot; /&amp;gt;&#xA;  &amp;lt;input type=&quot;hidden&quot; name=&quot;fhController&quot; value=&quot;VacanciesController&quot; /&amp;gt;&#xA;  &amp;lt;input type=&quot;hidden&quot; name=&quot;fhAction&quot; value=&quot;VacancyDetail&quot; /&amp;gt;&#xA;  &amp;lt;button id=&quot;btn-save&quot; class=&quot;btn btn-highlight&quot; type=&quot;submit&quot;&amp;gt;Solliciteer direct empty form&amp;lt;/button&amp;gt;&#xA;&amp;lt;/form&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find more examples on the &lt;a href=&quot;http://haacked.com/archive/2010/07/16/uploading-files-with-aspnetmvc.aspx/&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Haacked blog&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-10-31T12:20:39.797" LastActivityDate="2016-10-31T12:20:39.797" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2006" PostTypeId="2" ParentId="2003" CreationDate="2016-10-31T11:29:41.870" Score="2" Body="&lt;p&gt;You need to specify an &lt;code&gt;enctype&lt;/code&gt; of &lt;strong&gt;multipart/form-data&lt;/strong&gt; if your form uses file input types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can either do this manually:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;form action=&quot;&quot; enctype=&quot;multipart/form-data&quot; method=&quot;POST&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or by using the HtmlHelper, but you would need to use the particular overload that allows you to specify HTML attributes:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using (Html.BeginForm(&quot;Action&quot;, &quot;Controller&quot;, FormMethod.Post, new {enctype = &quot;multipart/form-data&quot; })) {&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-10-31T11:29:41.870" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2007" PostTypeId="1" AcceptedAnswerId="2096" CreationDate="2016-10-31T11:31:44.570" Score="12" ViewCount="4145" Body="&lt;p&gt;What are peoples best practices for MongoDB and disaster recovery?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'm interested in is less around resilience (we have replica sets - and are looking at SaaS solutions too) but more around getting the the Mongo service back after data corruption, for example one a pesky developer deletes MongoDB data from production and it replicates around all the nodes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are people architecting their solutions to offer Recovery Point Objectives (RPO) to a similar level as they would with SQL (so down to minutes of data loss of data) perhaps using something like &lt;a href=&quot;https://www.mongodb.com/cloud/atlas/faq#backups&quot; rel=&quot;noreferrer&quot;&gt;Mongo Atlas&lt;/a&gt; for on-premise, or is 24 hours of xDB data being lost considered acceptable - as you might get as default from &lt;a href=&quot;https://www.mongodb.com/cloud/atlas/faq#backups&quot; rel=&quot;noreferrer&quot;&gt;Mlabs&lt;/a&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I appreciate this differs on a customer by customer basis I'm just after a feel of what other partners feel is best practice in this space.&lt;/p&gt;&#xA;" OwnerUserId="87" LastEditorUserId="423" LastEditDate="2017-08-07T19:50:45.393" LastActivityDate="2017-08-07T19:50:45.393" Title="MongoDB and Disaster Recovery" Tags="|best-practices|mongodb|scaling|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2008" PostTypeId="2" ParentId="166" CreationDate="2016-10-31T11:54:14.637" Score="2" Body="&lt;p&gt;Presumably one of your customizations is incorrectly generating urls to, or directly requesting the content node, which has no presentation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One approach could be to add &lt;a href=&quot;http://blog.paulgeorge.co.uk/2015/08/25/improve-your-sitecore-log-with-realtime-output-and-calling-class/&quot; rel=&quot;nofollow&quot;&gt;real-time logging&lt;/a&gt; to the solution and then try to find what generates the requests by accessing the site, backend and front, to visually see any correlation. You could then determine if the request is coming from the browser by checking the network panel, if it's not there, presume it's being requested by the server somehow. Scheduled tasks can do strange things out of normal context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perhaps there is a query or expression somewhere that is failing to find the expected node and ends up pointing to the top level item.&lt;/p&gt;&#xA;" OwnerUserId="898" LastActivityDate="2016-10-31T11:54:14.637" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2009" PostTypeId="1" AcceptedAnswerId="2011" CreationDate="2016-10-31T12:45:43.313" Score="8" ViewCount="1400" Body="&lt;p&gt;I am working on Sitecore.NET 8.1 (rev. 160302), I created a new role and added access rights on several items on it, I also made this role a member of (sitecore\Author), then I created a new user and assigned this new added role to him.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7zhMW.gif&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7zhMW.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I logged in with the new created user and access the content editor I found that the content tree is hidden &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eMHsR.gif&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eMHsR.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and the view tab is not exist on the Ribbon, when I right click on the Ribbon the view is not listed on the options as well so I am not able to show the View tab that contain the &quot;Hidden items&quot; checkbox, so I am able to test that the new added user is now have a privilege on a certain items depend on the roles that was assigned to him, any advise?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;sample of the access rights &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tDoGi.gif&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tDoGi.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="551" LastEditorUserId="551" LastEditDate="2016-10-31T14:07:29.517" LastActivityDate="2019-10-25T00:36:26.470" Title="The content tree is hidden by default for all new users" Tags="|content-tree|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2010" PostTypeId="1" CreationDate="2016-10-31T14:10:08.803" Score="4" ViewCount="87" Body="&lt;p&gt;I have a Sitecore 8.1 Update 3 instance with a fresh install of EXM 3.3.  Everything seems to be set up correctly.  I have set it up so the Newsletter message type is available.  So I can create a new one time message using the Newsletter message type.  However it seems like for some reason Sitecore is not copying over all of the default values for the Newsletter message root whenever I create a new message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I just went in to EXM and created a new Newsletter message called &quot;Test 5&quot;.  If I go to the content tree I notice that there is a message item at the following location:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/content/Email Campaign/Messages/2016/10/12T193103/Test 5&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So that seems correct.  But if I look at the Test 5 item I notice that there is nothing in the Body field. And if I go to &lt;code&gt;/sitecore/content/Email Campaign/Messages/2016/10/12T193103/Test 5/Newsletter Root&lt;/code&gt; and look at the Presentation Details I notice that there is nothing defined there.  It's like for some reason when Sitecore created the Test 5 item it didn't use any of the default values.  Any idea why?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: Also, I looked in my log files and I can't see anything that would explain this.&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="246" LastEditDate="2016-10-31T14:15:12.233" LastActivityDate="2016-10-31T14:57:55.810" Title="New messages in EXM 3.3 don't have default values for some reason?" Tags="|exm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2011" PostTypeId="2" ParentId="2009" CreationDate="2016-10-31T14:16:35.030" Score="8" Body="&lt;p&gt;You can enable the View tab for your role by assigning Read access to the item &lt;code&gt;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/View&lt;/code&gt; in the &lt;strong&gt;core&lt;/strong&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default the &lt;code&gt;sitecore/Author&lt;/code&gt; role has denied access to this tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A separate concern is whether your authors should be able to see this tab.&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="288" LastEditDate="2019-10-25T00:36:26.470" LastActivityDate="2019-10-25T00:36:26.470" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2012" PostTypeId="1" CreationDate="2016-10-31T14:31:27.647" Score="8" ViewCount="898" Body="&lt;p&gt;Question on what is the most common or preferred content tree structure for a multi-region, multi-lingual setup. Our current content tree looks like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MyWebsite.com&#xA;    |&#xA;    |-USA&#xA;    |  |-AboutUs.aspx (en)&#xA;    |&#xA;    |-Europe&#xA;    |  |-AboutUs.aspx (en, fr-fr, de-de)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;One thing to note about the current setup: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Data sources are not being used so the content on the &lt;code&gt;AboutUs.aspx&lt;/code&gt; page under Europe in en can be entirely different than the same page under USA. &lt;/li&gt;&#xA;&lt;li&gt;It is extremely cumbersome to add a new region as the whole content tree for a current region needs to be duplicated and every link updated/changed. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What I am looking for validation on is that a content similar to the following is more standard within Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MyWebsite.com&#xA;    |-AboutUs.aspx (en-us, en-eu, de-de)&#xA;&#xA;Data Sources&#xA;    |-AboutUs (en-us, en-eu, fr-fr, de-de)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this example, we have a single language for each region/language combination. If we wanted to add a new region it would be as simple as adding the supporting language. The data source for the page would be maintained in multiple languages but the visible page would only be available in the published versions of the page. In the above example fr-fr is available in the data source but not on the website. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone has any insight into this it would be great. Thanks!  &lt;/p&gt;&#xA;" OwnerUserId="1019" LastEditorUserId="423" LastEditDate="2017-09-15T14:18:30.827" LastActivityDate="2017-10-29T19:09:56.567" Title="Common structure for multi-region, multi-lingual website setup" Tags="|multilingual|best-practices|content-management|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2013" PostTypeId="2" ParentId="1739" CreationDate="2016-10-31T14:35:39.387" Score="8" Body="&lt;p&gt;The issue is where you're initializing the Web API &lt;code&gt;DependencyResolver&lt;/code&gt; in the Sitecore &lt;code&gt;initialize&lt;/code&gt; pipeline. In Sitecore 8.2, the part of the &lt;code&gt;initialize&lt;/code&gt; pipeline where the MVC and Web API &lt;code&gt;DependencyResolvers&lt;/code&gt; need to be registered is as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8.2 Initialize Pipeline&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;initialize&amp;gt;&#xA;      ...&#xA;      &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeAspNetMvc, Sitecore.Mvc&quot; patch:source=&quot;Sitecore.Mvc.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeGlobalFilters, Sitecore.Mvc&quot; patch:source=&quot;Sitecore.Mvc.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeDependencyResolver, Sitecore.Mvc&quot; patch:source=&quot;Sitecore.Mvc.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeControllerFactory, Sitecore.Mvc&quot; patch:source=&quot;Sitecore.Mvc.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Initialize.InitializeCommandRoute, Sitecore.Speak.Client&quot; patch:source=&quot;Sitecore.Speak.Mvc.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.ContentTesting.Pipelines.Initialize.RegisterContentTestingCommandRoute, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.ContentTesting.Pipelines.Initialize.RegisterWebApiRoutes, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Social.Client.Mvc.Pipelines.Initialize.RegisterSocialArea, Sitecore.Social.Client.Mvc&quot; patch:source=&quot;Sitecore.Social.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc&quot; patch:source=&quot;Sitecore.Mvc.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.FXM.Service.Pipelines.EnableBeaconServiceSessionStateProcessor, Sitecore.FXM.Service&quot; patch:source=&quot;Sitecore.FXM.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Services.Infrastructure.Sitecore.Pipelines.ServicesWebApiInitializer, Sitecore.Services.Infrastructure.Sitecore&quot; patch:source=&quot;Sitecore.Services.Client.config&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.PathAnalyzer.Services.Pipelines.Initialize.WebApiInitializer, Sitecore.PathAnalyzer.Services&quot; patch:source=&quot;Sitecore.PathAnalyzer.Services.config&quot;/&amp;gt;&#xA;      ...&#xA;    &amp;lt;/initialize&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You're currently patching your Web API &lt;code&gt;DependencyResolver&lt;/code&gt; initialization after &lt;code&gt;Sitecore.Mvc.Pipelines.Loader.InitializeControllerFactory&lt;/code&gt;. While that is a perfectly valid place to initialize the MVC &lt;code&gt;DependencyResolver&lt;/code&gt;, it is too early for changes to Web API's configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Web API, you must initialize your &lt;code&gt;DependencyResolver&lt;/code&gt; no sooner than the &lt;code&gt;Sitecore.Services.Infrastructure.Sitecore.Pipelines.ServicesWebApiInitializer&lt;/code&gt; processor, because this processor effectively overwrites the entire &lt;code&gt;GlobalConfiguration.Configuration&lt;/code&gt; registry with a brand new one, erasing most configuration changes you make, including your &lt;code&gt;DependencyResolver&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, if you have xDB enabled, the &lt;code&gt;Sitecore.PathAnalyzer.Services.Pipelines.Initialize.WebApiInitializer&lt;/code&gt; processor overwrites the &lt;code&gt;HttpControllerActivator&lt;/code&gt; for Web API, which could be a breaking change if you choose to customize it in the future. As such, best practice as of Sitecore 8.2 is to make your Web API configuration changes after the &lt;code&gt;Sitecore.PathAnalyzer.Services.Pipelines.Initialize.WebApiInitializer&lt;/code&gt; processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update your patch file as follows and you should be good to go:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Patch&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;     &#xA;        &amp;lt;processor type=&quot; NameSpace.Ioc.Pipelines.InitializeAutofacControllerFactory, NameSpace.Ioc&quot;&#xA;        patch:after=&quot;*[@type='Sitecore.PathAnalyzer.Services.Pipelines.Initialize.WebApiInitializer, Sitecore.PathAnalyzer.Services']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As an aside, if you're going to use the &lt;code&gt;ChainedDependencyResolver&lt;/code&gt;, I recommend that you change your Autofac registration to register only &lt;em&gt;your&lt;/em&gt; Web API &lt;code&gt;Controllers&lt;/code&gt;, not &lt;em&gt;all&lt;/em&gt; &lt;code&gt;Controllers&lt;/code&gt; in the AppDomain. By registering all &lt;code&gt;Controllers&lt;/code&gt; in the AppDomain with the Autofac container, you're effectively defeating the purpose of the &lt;code&gt;ChainedDependencyResolver&lt;/code&gt;, which is to let your &lt;code&gt;DependencyResolver&lt;/code&gt; (&lt;code&gt;AutofacWebApiDependencyResolver&lt;/code&gt;) resolve your services, and let the fallback &lt;code&gt;DependencyResolver&lt;/code&gt; resolve Sitecore's services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Autofac Initializer&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public virtual void Process(PipelineArgs args)&#xA;{&#xA;    var builder = new ContainerBuilder();&#xA;&#xA;    // Register All Controllers In The Current Scope, for WebApi&#xA;    builder.RegisterApiControllers(Assembly.GetExecutingAssembly());&#xA;&#xA;    // Register Modules&#xA;    builder.RegisterModule&amp;lt;ServicesModule&amp;gt;();&#xA;&#xA;    // Register all modules in the data access project&#xA;    builder.RegisterAssemblyModules(typeof(DataAccess.Installer).Assembly);&#xA;&#xA;    // Build The Container&#xA;    var container = builder.Build();&#xA;&#xA;    GlobalConfiguration.Configuration.DependencyResolver = new AutofacWebApiDependencyResolver(container);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="10" LastActivityDate="2016-10-31T14:35:39.387" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2014" PostTypeId="2" ParentId="2012" CreationDate="2016-10-31T14:45:24.587" Score="4" Body="&lt;p&gt;This is a very subjective question as a lot will depend on your requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My general rule is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;If the sitemap for all language versions of the site is the same with maybe a few minor differences, and its only the content that will be translated, maybe a few module differences, then I will use option 2. A single site tree with versions for each language. Adding a new region is simple, but you will have to add language versions for all pages that are needed in that new region. This can be easily scripted with &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow&quot;&gt;Sitecore PowerShell Extentions&lt;/a&gt; tho.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you have &lt;em&gt;any&lt;/em&gt; requirements for language fallback, then same option as above.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If the sitemap for each language varies, e.g the &lt;code&gt;about-us&lt;/code&gt; page is visible in &lt;code&gt;en&lt;/code&gt; but not in &lt;code&gt;es&lt;/code&gt;then separate the site trees in Sitecore. It can make things very confusing for a content editor when there are lots of items that don't have anything to do with the version of the site they are editing.  Adding a region does not have to be a complex task here, you can easily script out adding a new region using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow&quot;&gt;PowerShell&lt;/a&gt;. This is similar to how SXA does it.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are other things you need to think about, are the renderings on each version the same, how are you handling translation (each region has different teams, off site translation service etc...) and then any other requirements from the client. But that is a good base to start from.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-10-31T15:52:43.953" LastActivityDate="2016-10-31T15:52:43.953" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2015" PostTypeId="1" AcceptedAnswerId="2039" CreationDate="2016-10-31T14:50:11.103" Score="7" ViewCount="1050" Body="&lt;p&gt;I'm trying to configure my Sitecore 8.2 instance in a Docker container using Windows Server 2016. I've been able to successfully setup IIS in a Docker container, but am unable to find any containers/layers that contain Windows versions of MongoDB and SOLR, which means that I can't really run Sitecore inside of Docker. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Has anyone else been able to make this happen? &lt;/li&gt;&#xA;&lt;li&gt;Where do I get the Windows versions of those services for Docker?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="339" LastEditorUserId="70" LastEditDate="2016-10-31T15:21:43.347" LastActivityDate="2016-11-05T17:31:06.470" Title="How do I run MongoDB and SOLR Docker images that work with Windows Server 2016?" Tags="|solr|mongodb|docker|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2016" PostTypeId="2" ParentId="2010" CreationDate="2016-10-31T14:57:55.810" Score="3" Body="&lt;p&gt;In EXM, when creating a new message, a series of events fire that affect the message being created.  For instance, setting the Body field to the correct item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These events are configured by enabling the &lt;code&gt;Sitecore.EmailExperience.ContentManagement.config&lt;/code&gt; in the EmailExperience config folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When issues arise with this functionality, it is normally because of a conflict between other events that might be configured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would try disabling any custom events first and see if that solves your issue. If the issue goes away, isolate which custom event is causing the issue and identify whether it's an order of events issue, or some other issue.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-10-31T14:57:55.810" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2017" PostTypeId="2" ParentId="2009" CreationDate="2016-10-31T14:58:48.843" Score="1" Body="&lt;p&gt;Refer to the Roles and Security documentation on Sitecore's site: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/users_roles_and_domains/the_security_roles&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;While it's not entirely clear from the question what your goal is, to grant a user permission to use Content editor and Media Library, they should be assigned the Author role.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Author&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Gives the user access to content in the content tree. This role&#xA;provides access to basic item editing features, such as the Media&#xA;Library and the Content Editor, with a reduced set of tabs on the&#xA;ribbon.&lt;/p&gt;&#xA;&lt;p&gt;This role also has two of the Sitecore Client roles as members, so if&#xA;you assign just this role to a user, the Sitecore Client Authoring and&#xA;Sitecore Client Users roles will be automatically assigned to the&#xA;user.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;To access the View ribbon, they'll need the Sitecore Client Designing role. This role grants other privileges, however, that you may not wish the user to have.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Client Designing&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Gives the user access to Experience Editor&#xA;Design pane features that allow a user to set layout details&#xA;associated with items in the Sitecore client.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Once you've assigned these roles, you still need to set the security access rights on the home item and its descendants, as well as the media library. By default, no roles have write access to the content tree.  You can, for example, grant access to the Home item and its descendants to open up access to the Sitecore Client Authoring role.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4LQXn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4LQXn.png&quot; alt=&quot;Security Editor&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-10-31T14:58:48.843" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2018" PostTypeId="1" AcceptedAnswerId="2019" CreationDate="2016-10-31T15:13:13.597" Score="6" ViewCount="136" Body="&lt;p&gt;I've used &lt;code&gt;Solr&lt;/code&gt; for previous Sitecore projects, but I'm looking at Coveo for my latest project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Similar to the Solr core swap:&lt;/strong&gt; does Coveo provide the ability to rebuild an index, while still maintaining the old version of the index during the rebuild?  &lt;/p&gt;&#xA;" OwnerUserId="421" LastEditorUserId="73" LastEditDate="2019-08-09T09:45:04.177" LastActivityDate="2019-08-09T09:45:04.177" Title="Online index rebuild?" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2019" PostTypeId="2" ParentId="2018" CreationDate="2016-10-31T15:15:45.813" Score="7" Body="&lt;p&gt;Coveo will first add the new items and then send a delete order for the older ones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This mean that you do not need to configure anything in Coveo to be able to query the index while rebuilding.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Versions of Coveo for Sitecore 3.0 prior to December 2014 do not have this feature. Upgrading is the only option.&lt;/p&gt;&#xA;" OwnerUserId="264" LastActivityDate="2016-10-31T15:15:45.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2020" PostTypeId="1" AcceptedAnswerId="2028" CreationDate="2016-10-31T15:20:24.683" Score="9" ViewCount="3054" Body="&lt;p&gt;Is there a way to &lt;code&gt;build&lt;/code&gt; &lt;code&gt;TDS projects&lt;/code&gt; without it trying to deploy anything?  Essentially, I just want to make sure all the files that the &lt;code&gt;scproj&lt;/code&gt; files think should be there are actually checked into source control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are having a fairly consistent issue where certain fields are added to the TDS project but ultimately don't make it into source control. Even with auto-sync enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I enabled the &lt;code&gt;Build&lt;/code&gt; action (and left &lt;code&gt;Deploy&lt;/code&gt; unchecked) on the TDS projects for our CI build configuration, but the build failed with:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Deploy failed. Reason:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Could not find the TDS service located at 'http://local-dev-url/_DEV/TdsService.asmx'. Please verify that the deployment properties for the current configuration are set correctly.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't want it to attempt a deploy, I just want the build to validate the structure of the TDS project and fail if files are missing.&lt;/p&gt;&#xA;" OwnerUserId="226" LastEditorUserId="5387" LastEditDate="2019-08-09T04:53:12.970" LastActivityDate="2022-07-21T12:14:18.033" Title="Can I &quot;build&quot; a TDS project without having it attempt to deploy?" Tags="|tds|continuous-integration|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2021" PostTypeId="2" ParentId="2020" CreationDate="2016-10-31T15:26:15.793" Score="6" Body="&lt;p&gt;In the TDS project properties, in the &lt;code&gt;Build&lt;/code&gt; tab, you can check &lt;strong&gt;Disable file deployment&lt;/strong&gt; and it won't deploy the .Update file on building.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the top of this window is a build configuration drop-down, so you can amend this setting for the particular configuration you use for your CI build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The property goes into the .scproj file as a regular MS Build property, so if you need to do some custom funky logic with your build-server, this is the relevant property:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;PropertyGroup Condition=&quot; '$(Configuration)' == 'Debug' &quot;&amp;gt;&#xA;    ...&#xA;    &amp;lt;DisableFileDeployment&amp;gt;True&amp;lt;/DisableFileDeployment&amp;gt;&#xA;    ...&#xA;&amp;lt;/PropertyGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, this just addresses the deployment of the .update file, which I'm not 100% sure is the issue you are facing. In CI builds, you would usally have the &lt;code&gt;IsDesktopBuild&lt;/code&gt; property set to &lt;em&gt;False&lt;/em&gt; to inform TDS that this is a CI build and therefore it should deploy. To &lt;em&gt;disable&lt;/em&gt; this functionality, you should be able to specify this property and set it to &lt;em&gt;True&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is usually a property you need to explicitly enable however, so I'm really unsure as to why it would automatically try to deploy if you haven't configured this functionality to specifically do so.&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-10-31T16:35:20.613" LastActivityDate="2016-10-31T16:35:20.613" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2022" PostTypeId="2" ParentId="2020" CreationDate="2016-10-31T16:22:35.583" Score="2" Body="&lt;p&gt;Since you are getting an error saying &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find the TDS service located at&#xA;  '&lt;a href=&quot;http://local-dev-url/_DEV/TdsService.asmx&quot; rel=&quot;nofollow&quot;&gt;http://local-dev-url/_DEV/TdsService.asmx&lt;/a&gt;'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This could mean that the Configuration on the your CI build configurations is using &quot;&lt;strong&gt;debug&lt;/strong&gt;&quot; or &quot;&lt;strong&gt;local&lt;/strong&gt;&quot; setting which points to your local website instance, Can you change that to other configuration where you can have your development site settings that the build controller has access to?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, on our Development site, we created a new configuration called &quot;dev&quot; and with TDS properties for that configurations we added our development site details, Like Web URL and Deploy folder. &lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2016-10-31T16:22:35.583" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2023" PostTypeId="1" AcceptedAnswerId="2025" CreationDate="2016-10-31T16:23:58.733" Score="13" ViewCount="1541" Body="&lt;p&gt;A feature requires adding a new connection string. Which should be the way to do this in Helix?&lt;/p&gt;&#xA;" OwnerUserId="414" LastEditorUserId="73" LastEditDate="2016-10-31T16:38:08.490" LastActivityDate="2016-11-01T12:20:52.110" Title="How or where should I add a required connection string for a feature in Helix?" Tags="|configuration|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2024" PostTypeId="2" ParentId="2009" CreationDate="2016-10-31T16:32:28.763" Score="1" Body="&lt;p&gt;I am assuming that you are trying to assign permission to a specific role for specific items. So for example there is a 'legal' division in the company who should only have access to certain items, while rest of the company should not have access.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, the sitecore roles are only meant to grant user access to features of the Content Editor and by default, the sitecore\author role has no write permission on the home node or child nodes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2RmSi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2RmSi.png&quot; alt=&quot;default author role&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is not a good practise to change security settings for pre-defined Sitecore roles, insetead create your own custom role and apply security settings. You need to create a custom role for the content section area or for the division (like legal) and assign that role basic write,create access etc. For example I created a 'division' role which has write, create and rename access. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2Fiee.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2Fiee.png&quot; alt=&quot;custom division role&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then assign sitecore\author and sitecore\division role to the author user within the user manager &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/esf0F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/esf0F.png&quot; alt=&quot;author user with roles&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when you login, you should have edit permission to the item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oJ3B1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oJ3B1.png&quot; alt=&quot;logged in as author&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="318" LastActivityDate="2016-10-31T16:32:28.763" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2025" PostTypeId="2" ParentId="2023" CreationDate="2016-10-31T16:45:38.847" Score="15" Body="&lt;p&gt;You would need to use an XmlTransform to do this. If you look at the Habitat demo site you can see examples of how to do this.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Creating the transform file&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You would add your connection string to a &lt;code&gt;ConnectionStrings.config.transform&lt;/code&gt; file - this can live in your project in the &lt;code&gt;App_Config&lt;/code&gt; folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The file is a standard config transform file. Example:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;connectionStrings xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;    &amp;lt;add name=&quot;MyDB&quot; &#xA;        connectionString=&quot;value for the deployed Web.config file&quot; &#xA;        xdt:Transform=&quot;Insert&quot; /&amp;gt;&#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Merging the transform&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are using the gulp file from the Habitat example, there is already a task that will apply the transforms in the solution:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;04-Apply-Xml-Transform&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you are not using that script, you can do the same thing. It calls MSBuild with an &lt;code&gt;applytransform.targets&lt;/code&gt; file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The targets file contains:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Project ToolsVersion=&quot;14.0&quot; DefaultTargets=&quot;ApplyTransform&quot; xmlns=&quot;http://schemas.microsoft.com/developer/msbuild/2003&quot;&amp;gt;&#xA;  &amp;lt;UsingTask TaskName=&quot;TransformXml&quot; AssemblyFile=&quot;$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(MSBuildToolsVersion)\Web\Microsoft.Web.Publishing.Tasks.dll&quot; /&amp;gt;&#xA;  &amp;lt;Target Name=&quot;ApplyTransform&quot;&amp;gt;&#xA;    &amp;lt;ItemGroup&amp;gt;&#xA;      &amp;lt;Transform Include=&quot;$(TransformFile)&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;ConfigsToTransform Include=&quot;$(FileToTransform)&quot; Condition=&quot;Exists(@(Transform))&quot;&amp;gt;&#xA;        &amp;lt;TransformPath&amp;gt;%(Transform.Identity)&amp;lt;/TransformPath&amp;gt;&#xA;      &amp;lt;/ConfigsToTransform&amp;gt;&#xA;    &amp;lt;/ItemGroup&amp;gt;&#xA;    &amp;lt;Message Text=&quot;@(ConfigsToTransform)&quot;&amp;gt;&amp;lt;/Message&amp;gt;&#xA;    &amp;lt;Message Text=&quot;@(Transform)&quot;&amp;gt;&amp;lt;/Message&amp;gt;&#xA;&#xA;    &amp;lt;TransformXml Source=&quot;$(WebConfigToTransform)\%(ConfigsToTransform.Identity)&quot;&#xA;                  Transform=&quot;%(ConfigsToTransform.TransformPath)&quot;&#xA;                  Destination=&quot;$(WebConfigToTransform)\%(ConfigsToTransform.Identity)&quot;&#xA;                  Condition=&quot;Exists(@(Transform))&quot;/&amp;gt;&#xA;  &amp;lt;/Target&amp;gt;&#xA;&amp;lt;/Project&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you can use the MSBuild command line to use that:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;msbuild applytransforms.xml /t:ApplyTransforms&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More information about how to set this up is here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/dd465326(v=vs.110).aspx&quot; rel=&quot;noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/dd465326(v=vs.110).aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://helix.sitecore.net/principles/configuration/managing-config-files.html#other-config-files&quot; rel=&quot;noreferrer&quot;&gt;http://helix.sitecore.net/principles/configuration/managing-config-files.html#other-config-files&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-11-01T12:20:52.110" LastActivityDate="2016-11-01T12:20:52.110" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2027" PostTypeId="2" ParentId="2015" CreationDate="2016-10-31T17:24:19.223" Score="2" Body="&lt;p&gt;You can find a docker container for mongodb and Solr created by Thomas Stern over at his blog that describes how to use it and get started: &lt;a href=&quot;https://blog.istern.dk/2016/10/04/solr-docker-container-for-sitecore-8-2/&quot; rel=&quot;nofollow&quot;&gt;https://blog.istern.dk/2016/10/04/solr-docker-container-for-sitecore-8-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition you can find the project here at github: &#xA;&lt;a href=&quot;https://github.com/istern/Sitecore-Containers/tree/master/containers/solr/sitecore8.2&quot; rel=&quot;nofollow&quot;&gt;https://github.com/istern/Sitecore-Containers/tree/master/containers/solr/sitecore8.2&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the container image is at dockerhub at: &lt;a href=&quot;https://hub.docker.com/r/istern/solr-sitecore/&quot; rel=&quot;nofollow&quot;&gt;https://hub.docker.com/r/istern/solr-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="29" LastActivityDate="2016-10-31T17:24:19.223" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2028" PostTypeId="2" ParentId="2020" CreationDate="2016-10-31T17:27:16.093" Score="13" Body="&lt;p&gt;I've had this same issue with deployments, the simple fix for us was to set &lt;code&gt;Source Web Project&lt;/code&gt; to &lt;strong&gt;None&lt;/strong&gt; on the &lt;code&gt;General&lt;/code&gt; tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zsLR1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zsLR1.png&quot; alt=&quot;TDS General Tab&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This does mean that TDS will not generate code packages, but we do not use those in our build process, we only use TDS to generate Item packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also leave the &lt;code&gt;Sitecore Web Url&lt;/code&gt; and &lt;code&gt;Sitecore Deploy Folder&lt;/code&gt; empty for Release build:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IYvYQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IYvYQ.png&quot; alt=&quot;Build tab&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-10-31T17:27:16.093" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2029" PostTypeId="1" CreationDate="2016-10-31T17:57:53.957" Score="2" ViewCount="388" Body="&lt;p&gt;I have been doing some reading on Sitecore.Services.Client framework for a project for which I am required to use and consume Sitecore as a data repository. The data in Sitecore will be some Html content blocks as well as some Dictionary items for the pages that are not hosted in Sitecore CMS.&#xA;What are the minimum Sitecore assemblies I should need to reference in my project?&lt;/p&gt;&#xA;" OwnerUserId="259" OwnerDisplayName="Hetal Dave" LastEditorUserId="259" LastEditDate="2016-10-31T18:37:09.723" LastActivityDate="2016-11-01T23:53:53.707" Title="Minimum Sitecore references required to implement an API solution using Sitecore.Services.Client framework?" Tags="|sitecore-services-client|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2030" PostTypeId="2" ParentId="2029" CreationDate="2016-10-31T18:48:46.993" Score="3" Body="&lt;p&gt;As per the Sitecore Nuget feed, &lt;a href=&quot;https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore.Services.Client&quot; rel=&quot;nofollow&quot;&gt;https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore.Services.Client&lt;/a&gt;, these are the required assemblies/frameworks needed by the &lt;code&gt;Sitecore.Services.Client&lt;/code&gt; assembly:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;.NET Framework 4.5 (or higher depending on the Sitecore version being used)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Kernel &lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Services.Core&lt;/li&gt;&#xA;&lt;li&gt;Microsoft.Extensions.DependencyInjection.Abstractions (= 1.0.0)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="29" LastActivityDate="2016-10-31T18:48:46.993" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2031" PostTypeId="2" ParentId="2020" CreationDate="2016-10-31T19:56:44.607" Score="1" Body="&lt;p&gt;If I am doing a 'health check' sort of setup where I want it to compile the items but not deploy them, I typically set up the project to generate a package instead of executing a deployment. In addition, ensure file deploy is disabled and the SitecoreWebUrl is blank will make sure it doesn't reach out to anywhere to do any funny stuff.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-10-31T19:56:44.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2032" PostTypeId="2" ParentId="1745" CreationDate="2016-10-31T21:15:12.070" Score="4" Body="&lt;p&gt;Marketing definitions include things like campaigns, goals, outcomes and assets. You can see them in the Marketing Control Panel:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JfpBi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JfpBi.png&quot; alt=&quot;marketing definitions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll almost never have more than 200 marketing definitions in total—there are a number of predefined campaigns, goals and outcomes, and you can add more custom definitions by hand. Due to the relatively low number of items, their deployment will normally take just a few seconds. If it takes longer than several minutes, something has gone wrong. Check Sitecore logs for errors to see where the problem lies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the deployment process has hung up and you can't see any errors, then you should start from scratch. Restart Sitecore and use the &quot;Deploy marketing definitions&quot; feature once again. Don't worry about data consistency—if a marketing definition has already been deployed, it will simply be overwritten.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To learn more about the mechanics of marketing definition deployment, see this answer:&lt;br&gt;&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/a/1963/104&quot;&gt;https://sitecore.stackexchange.com/a/1963/104&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that to see the complete Experience Analytics reports after you've deployed marketing definitions, you may need to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;rebuild the Reporting database&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-01T08:19:28.290" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2033" PostTypeId="2" ParentId="1965" CreationDate="2016-10-31T21:29:37.227" Score="13" Body="&lt;p&gt;After a nice weekend of trial-and-error with the help of DotPeek, here is what I've come up with. This should be a complete example for use after installing the &lt;strong&gt;Active Directory module&lt;/strong&gt; (using version 1.3 with Sitecore 8.2).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the following code you should now be able to patch domains required when using &lt;code&gt;switchingProviders&lt;/code&gt; as well as add domains through the &lt;strong&gt;Domain Manager&lt;/strong&gt; when needing to add custom domains that align with the tenants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I have seen in products like SXA, you can create roles such as the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;tenant1\Admin&lt;/li&gt;&#xA;&lt;li&gt;tenant1\FrontEnd&lt;/li&gt;&#xA;&lt;li&gt;tenant2\Admin&lt;/li&gt;&#xA;&lt;li&gt;tenant2\FrontEnd&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;DynamicConfigDomainProvider&lt;/strong&gt; - Combines the behaviors of two config providers&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Collections.Specialized;&#xA;using System.Xml;&#xA;using Sitecore.Collections;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.IO;&#xA;using Sitecore.Security.Domains;&#xA;&#xA;namespace Company.Feature.Authentication.Domains&#xA;{&#xA;    public class DynamicConfigDomainProvider : ConfigStoreDomainProvider&#xA;    {&#xA;        private SafeDictionary&amp;lt;string, Domain&amp;gt; _domainsFromList;&#xA;        private readonly object _lock = new object();&#xA;&#xA;        public override void Initialize(string name, NameValueCollection config)&#xA;        {&#xA;            base.Initialize(name, config);&#xA;            RefreshDomainsFromList(config);&#xA;        }&#xA;&#xA;        private void RefreshDomainsFromList(NameValueCollection config)&#xA;        {&#xA;            lock (_lock)&#xA;            {&#xA;                var path = config.Get(&quot;domainList&quot;);&#xA;                Assert.IsNotNullOrEmpty(path, &quot;No valid domainList has been provided in the DynamicConfigDomainProvider configuration.&quot;);&#xA;                var xpath = FileUtil.MakePath(path, &quot;domain&quot;, '/');&#xA;                var domains = new SafeDictionary&amp;lt;string, Domain&amp;gt;(StringComparer.OrdinalIgnoreCase);&#xA;                foreach (XmlNode node in Factory.GetConfigNodes(xpath))&#xA;                {&#xA;                    var domain = ParseDomain(node);&#xA;                    Assert.IsFalse(domains.ContainsKey(domain.Name),&#xA;                        $&quot;Duplicate domain definitions in DynamicConfigDomainProvider configuration. Domain name: {0}&quot;, domain.Name);&#xA;                    domains.Add(domain.Name, domain);&#xA;                }&#xA;&#xA;                Assert.IsTrue(domains.Count &amp;gt; 0,&#xA;                    $&quot;No domains found in the list pointed to in the DynamicConfigDomainProvider configuration ({0}).&quot;, path);&#xA;                _domainsFromList = domains;&#xA;            }&#xA;        }&#xA;&#xA;        private static Domain ParseDomain(XmlNode node)&#xA;        {&#xA;            var domain = Factory.CreateObject(node, true) as Domain;&#xA;            if (domain == null)&#xA;            {&#xA;                throw new InvalidOperationException(&quot;Could not create domain from configuration node: &quot; + node.OuterXml);&#xA;            }&#xA;&#xA;            return domain;&#xA;        }&#xA;&#xA;        public override IEnumerable&amp;lt;Domain&amp;gt; GetDomains()&#xA;        {&#xA;            foreach (var domain in base.GetDomains())&#xA;            {&#xA;                yield return domain;&#xA;            }&#xA;&#xA;            foreach (var domain in _domainsFromList.Values)&#xA;            {&#xA;                yield return domain;&#xA;            }&#xA;        }&#xA;&#xA;        public override Domain GetDomain(string name)&#xA;        {&#xA;            Assert.ArgumentNotNull(name, &quot;name&quot;);&#xA;            lock (_lock)&#xA;            {&#xA;                return base.GetDomain(name) ?? _domainsFromList[name];&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Company.Feature.Authentication.config&lt;/strong&gt; - Patches the LDAP and domain settings&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Authentication.ClientSessionTimeout&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;180&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;setting name=&quot;LDAP.EnableSorting&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;setting name=&quot;LDAP.SortKey&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;samaccountname&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;domainManager&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;defaultProvider&quot;&amp;gt;dynamicConfig&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear /&amp;gt;&#xA;        &amp;lt;add name=&quot;file&quot; type=&quot;Sitecore.Security.Domains.ConfigStoreDomainProvider, Sitecore.Kernel&quot; configStoreName=&quot;domains&quot; /&amp;gt;&#xA;        &amp;lt;add name=&quot;config&quot; type=&quot;Sitecore.SecurityModel.ConfigDomainProvider, Sitecore.Kernel&quot; domainList=&quot;domainManager/domains&quot; defaultDomain=&quot;sitecore&quot; /&amp;gt;&#xA;        &amp;lt;add name=&quot;dynamicConfig&quot; type=&quot;Company.Feature.Authentication.Domains.DynamicConfigDomainProvider, Company.Feature.Authentication&quot; configStoreName=&quot;domains&quot; domainList=&quot;domainManager/domains&quot; /&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;      &amp;lt;domains&amp;gt;&#xA;        &amp;lt;patch:delete /&amp;gt;&#xA;      &amp;lt;/domains&amp;gt;&#xA;      &amp;lt;domains&amp;gt;&#xA;        &amp;lt;domain id=&quot;abc&quot; type=&quot;Sitecore.Security.Domains.Domain, Sitecore.Kernel&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;          &amp;lt;ensureAnonymousUser&amp;gt;false&amp;lt;/ensureAnonymousUser&amp;gt;&#xA;        &amp;lt;/domain&amp;gt;&#xA;      &amp;lt;/domains&amp;gt;&#xA;    &amp;lt;/domainManager&amp;gt;&#xA;    &amp;lt;switchingProviders&amp;gt;&#xA;      &amp;lt;membership&amp;gt;&#xA;        &amp;lt;provider patch:before=&quot;*&quot; providerName=&quot;ad&quot; storeFullNames=&quot;false&quot; wildcard=&quot;*&quot; domains=&quot;abc&quot; /&amp;gt;&#xA;      &amp;lt;/membership&amp;gt;&#xA;      &amp;lt;roleManager&amp;gt;&#xA;        &amp;lt;provider patch:before=&quot;*&quot; providerName=&quot;ad&quot; storeFullNames=&quot;false&quot; wildcard=&quot;*&quot; domains=&quot;abc&quot; /&amp;gt;&#xA;      &amp;lt;/roleManager&amp;gt;&#xA;      &amp;lt;profile&amp;gt;&#xA;        &amp;lt;provider patch:before=&quot;*&quot; providerName=&quot;ad&quot; storeFullNames=&quot;false&quot; wildcard=&quot;*&quot; domains=&quot;abc&quot; /&amp;gt;&#xA;      &amp;lt;/profile&amp;gt;&#xA;    &amp;lt;/switchingProviders&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Web.Common.config&lt;/strong&gt; - Transforms the web.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update : I noticed that the profile &lt;code&gt;defaultProvider&lt;/code&gt; did not have &lt;em&gt;switcher&lt;/em&gt; configured which caused the &quot;FullName&quot; value to be empty when viewing users in the User Manager.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;authentication&amp;gt;&#xA;      &amp;lt;forms xdt:Transform=&quot;Replace&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;.ASPXAUTH&quot; cookieless=&quot;UseCookies&quot; timeout=&quot;180&quot; /&amp;gt;&#xA;    &amp;lt;/authentication&amp;gt;&#xA;    &amp;lt;machineKey xdt:Transform=&quot;Remove&quot; /&amp;gt;&#xA;    &amp;lt;machineKey xdt:Transform=&quot;InsertBefore(/configuration/system.web/membership)&quot; validationKey=&quot;[INSERT_KEY]&quot; validation=&quot;SHA1&quot; decryption=&quot;AES&quot; /&amp;gt;&#xA;    &amp;lt;membership&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;            &amp;lt;add xdt:Transform=&quot;SetAttributes&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;sitecore&quot; realProviderName=&quot;switcher&quot; /&amp;gt;&#xA;            &amp;lt;add xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;ad&quot; type=&quot;LightLDAP.SitecoreADMembershipProvider&quot; connectionStringName=&quot;activedirectory&quot; applicationName=&quot;sitecore&quot; connectionProtection=&quot;Secure&quot; attributeMapUsername=&quot;sAMAccountName&quot; enableSearchMethods=&quot;true&quot; customFilter=&quot;(memberOf=CN=GRP-Sitecore-Users,OU=Groups,OU=Company,DC=abc,DC=company,DC=corp)&quot; /&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/membership&amp;gt;&#xA;    &amp;lt;roleManager&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;            &amp;lt;add xdt:Transform=&quot;SetAttributes&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;sitecore&quot; realProviderName=&quot;switcher&quot; /&amp;gt;&#xA;            &amp;lt;add xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;ad&quot; type=&quot;LightLDAP.SitecoreADRoleProvider&quot; connectionStringName=&quot;activedirectory&quot; applicationName=&quot;sitecore&quot; attributeMapUsername=&quot;sAMAccountName&quot; customFilter=&quot;(memberOf=CN=GRP-Sitecore-Users,OU=Groups,OU=Company,DC=abc,DC=company,DC=corp)&quot; /&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/roleManager&amp;gt;&#xA;    &amp;lt;profile xdt:Transform=&quot;SetAttributes&quot; defaultProvider=&quot;switcher&quot;&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;            &amp;lt;add xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;ad&quot; type=&quot;LightLDAP.SitecoreADProfileProvider&quot; connectionStringName=&quot;activedirectory&quot; applicationName=&quot;sitecore&quot; sitecoreMapDomainName=&quot;abc&quot; /&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/profile&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-12-14T15:22:29.263" LastActivityDate="2017-12-14T15:22:29.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2034" PostTypeId="1" AcceptedAnswerId="2042" CreationDate="2016-10-31T23:46:42.703" Score="9" ViewCount="16025" Body="&lt;p&gt;I am getting this error when trying to rebuild my master index in Solr:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Index_Update_IndexName=sitecore_master_index_solr|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---&amp;gt; System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine&#xA;at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;--- End of inner exception stack trace ---&#xA;at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)&#xA;at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;at SolrNet.Impl.SolrConnection.CopyTo(Stream input, Stream output)&#xA;at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)&#xA;at SolrNet.Impl.SolrBasicServer`1.SendAndParseHeader(ISolrCommand cmd)&#xA;at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)&#xA;at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.Commit()&#xA;at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.PerformRebuild(Boolean resetIndex, Boolean optimizeOnComplete, IndexingOptions indexingOptions, CancellationToken cancellationToken)&#xA;at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Rebuild(Boolean resetIndex, Boolean optimizeOnComplete)&#xA;--- End of inner exception stack trace ---&#xA;at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Solr logs are showing this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;org.apache.solr.common.SolrException: ERROR: [doc=sitecore://master/{bfde3d21-3a67-4938-aa90-33da9caf7bf5}?lang=cs-cz&amp;amp;ver=1] unknown field '__display_name_t_cs' &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="104" LastEditDate="2016-11-01T08:07:23.100" LastActivityDate="2021-05-07T05:45:17.303" Title="Error when rebuilding a Solr index: unknown field '__display_name_t_cs'" Tags="|solr|" AnswerCount="5" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2035" PostTypeId="2" ParentId="2012" CreationDate="2016-11-01T02:56:18.653" Score="7" Body="&lt;p&gt;Although Sitecore has great support for multi-site and multilingual implementation, there is no 'silver bullet' design that works for every situation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below I described four options we use for our sites. Hopefully you can use one of them or build your own.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Separate Site&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MyWebsite.com&#xA;    |-Page1&#xA;    |-Page2 &#xA;MyWebsite.eu&#xA;    |-Page1&#xA;    |-Page2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Every region gets its own web domain and pages. Content can be shared using data sources. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Separate Content&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MyWebsite.com&#xA;    |-us&#xA;       |-Page1&#xA;       |-Page2&#xA;    |-eu&#xA;       |-Page1&#xA;       |-Page2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Similar to previous option, but now regions are separated as subfolders under the same domain.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. Shared Content&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MyWebsite.com&#xA;    |-Page1&#xA;    |-Page2 &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With this option all the pages are shared. Region specific content implemented using personalization rules or custom code.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;4. Mix of Shared and Separate content&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MyWebsite.com&#xA;    |-Page1&#xA;    |-Page2 &#xA;MyWebsite.eu&#xA;    |-Page1&#xA;    |-Page2&#xA;Shared&#xA;    |-SharedSection1&#xA;         |-SharedPage1&#xA;         |-SharedPage2 &#xA;    |-SharedSection2&#xA;         |-SharedPage3&#xA;         |-SharedPage4 &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the most advanced scenario and it combines benefits of previous options.&#xA;Page is accessible only under one site if it is added under site folder. If you want to share the page it should be stored under shared folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That implementation requires some coding:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Link Provider to generate links to shared pages&lt;/li&gt;&#xA;&lt;li&gt;Item Resolver to find shared pages per request (subfolders should help identify if request should be routed to shared folder)&lt;/li&gt;&#xA;&lt;li&gt;Sitemap to generate links to shared pages&lt;/li&gt;&#xA;&lt;li&gt;Canonical Meta Tag to make Google and Bing happy &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As you can see, in all these scenarios language it is not used for splitting content between regions. Language is used only for translation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you you decide to use language for defining regions, remember about potential issues:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Not every combination of languages and regions are supported. You can find yourself building artificial language like Brazilian English (en-BR). That language cannot be parsed by .NET and you will get an error.&lt;/li&gt;&#xA;&lt;li&gt;For cases like Canadian French (fr-CA) and France French (fr-FR) version specific content is not shared. These are formally two different languages and content should be duplicated or you need to implement language fallback.  &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="633" LastEditorUserId="2395" LastEditDate="2017-10-29T19:09:56.567" LastActivityDate="2017-10-29T19:09:56.567" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2036" PostTypeId="1" CreationDate="2016-11-01T04:55:55.140" Score="2" ViewCount="1170" Body="&lt;p&gt;I'm getting an exception after every publish from CM, but the publishing is happening correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.1, Solr Search, and a separate publishing instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vbNbo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vbNbo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1022" LastEditorUserId="104" LastEditDate="2016-11-01T07:32:59.957" LastActivityDate="2016-11-02T01:01:53.087" Title="&quot;An error occurred while publishing&quot;" Tags="|publishing|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2038" PostTypeId="1" AcceptedAnswerId="2046" CreationDate="2016-11-01T07:12:43.817" Score="12" ViewCount="1584" Body="&lt;p&gt;I'm pretty new at Sitecore, so I don't know if this is possible. I am able to log some custom page events (click on an anchor on the client side) in xDB. I can then query this with Robomongo. But besides that I need to create a report that displays this information. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I create a new report in Experience Analytics that accesses the information in MongoDB? I have been trying to pass the MongoDB values to a fact table in the Reporting database, but no luck so far.&lt;/p&gt;&#xA;" OwnerUserId="1023" LastEditorUserId="104" LastEditDate="2016-11-01T07:27:58.383" LastActivityDate="2021-05-24T09:18:08.083" Title="How can I create a custom report in Experience Analytics?" Tags="|xdb|mongodb|experience-analytics|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2039" PostTypeId="2" ParentId="2015" CreationDate="2016-11-01T07:45:24.340" Score="9" Body="&lt;p&gt;You mentioned in comments that you're getting an error—this is because there is no tag in my docker hub repository. I wouldn't know which version of Sitecore latest should be build against: 8.2 or 8.1 update 3, and on the top of that, which version of SolR. So I choose to go with the tag 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you would have to pull it with the following command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;docker pull istern/solr-sitecore:8.2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I will create a latest when I have the time so it is easier to pull, so a big sorry that this wasn't clear from the beginning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now in regards to running the entire Sitecore setup in a Docker container, you would have to switch to using a Windows container. Note that the Solr container I built is a Linux version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to answer the initial question, you would have to install the latest beta of Docker found here, choose &quot;Beta&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.docker.com/docker-for-windows/&quot; rel=&quot;noreferrer&quot;&gt;https://docs.docker.com/docker-for-windows/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure your Docker is using Windows containers, and you are running on windows 10 latest update.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And yes i have a version Sitecore 8.2 running in docker using Lucene, Windows, Mongo, Sql Express 2016.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You cant mix Linux and Windows containers yet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pbering did a post on setting up Docker and Sitecore. You can find it here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://invokecommand.net/posts/sitecore-and-docker-today&quot; rel=&quot;noreferrer&quot;&gt;http://invokecommand.net/posts/sitecore-and-docker-today&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm also working on a post on this but this is still just a work in progress.&#xA;There is a windows mongo image created microsoft see it here&#xA;&lt;a href=&quot;https://hub.docker.com/r/microsoft/sample-mongodb/&quot; rel=&quot;noreferrer&quot;&gt;https://hub.docker.com/r/microsoft/sample-mongodb/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="659" LastEditorUserId="659" LastEditDate="2016-11-01T21:12:51.953" LastActivityDate="2016-11-01T21:12:51.953" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2040" PostTypeId="2" ParentId="2034" CreationDate="2016-11-01T07:50:42.020" Score="2" Body="&lt;p&gt;This is a misconfiguration of the Solr schema.xml like Pete said above and the type and language mapping of Sitecore ContentSearch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you need check the type matches in &#xA;&#xA;either for the master index or probably the defaultSolrIndexConfiguration&#xA;and the schema for having the extensions for your language (cs-cz mapped to prefix _cs in Solr)&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2016-11-01T07:50:42.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2041" PostTypeId="2" ParentId="2015" CreationDate="2016-11-01T07:51:52.330" Score="4" Body="&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;: Mongo has now released official images: &lt;a href=&quot;https://hub.docker.com/_/mongo/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hub.docker.com/_/mongo/&lt;/a&gt;!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I know, no one has created public Windows based images solr yet...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, it should be pretty easy to do. Here are some examples of creating images for traefik/nginx that I created that can help you get started:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;traefik.io on &quot;nanoserver&quot;: &lt;a href=&quot;https://github.com/pbering/Socker/blob/master/docker/traefik-win/Dockerfile&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/pbering/Socker/blob/master/docker/traefik-win/Dockerfile&lt;/a&gt; and &lt;/p&gt;&#xA;&#xA;&lt;p&gt;nginx on &quot;windowsservercore&quot;: &lt;a href=&quot;https://github.com/pbering/SitecoreContainers/blob/master/images/winnginx/Dockerfile&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/pbering/SitecoreContainers/blob/master/images/winnginx/Dockerfile&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="161" LastEditorUserId="161" LastEditDate="2016-11-05T17:31:06.470" LastActivityDate="2016-11-05T17:31:06.470" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2042" PostTypeId="2" ParentId="2034" CreationDate="2016-11-01T08:01:51.233" Score="11" Body="&lt;p&gt;Sitecore stores language-specific text fields in Solr by adding a suffix that corresponds to the locale name. The field for the &lt;code&gt;cs-cz&lt;/code&gt; locale is missing in the index schema, so you'll need to add it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the schema.xml of every Solr index, insert the following node under &lt;code&gt;&amp;lt;fields&amp;gt;&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;dynamicField name=&quot;*_t_cs&quot; type=&quot;text_general&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have any other languages defined in Sitecore, check that their corresponding locale-specific fields are also mapped as dynamic fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information on setting up Solr with Sitecore, check this tutorial:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore-community.github.io/docs/search/solr/Configuring-Solr-for-use-with-Sitecore-8/#optional-development-step&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore-community.github.io/docs/search/solr/Configuring-Solr-for-use-with-Sitecore-8/#optional-development-step&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-01T08:01:51.233" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2043" PostTypeId="1" CreationDate="2016-11-01T08:06:38.300" Score="3" ViewCount="1386" Body="&lt;p&gt;I am getting the following browser error when I try to publish the site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;An error occurred while communicating with the Sitecore server:&#xA;&#xA;Failed to execute 'send' on 'XMLHttpRequest':&#xA;Failed to load 'http://[sitename]/sitecore/shell/Applications/Publish.aspx'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1 Update 3.&lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="104" LastEditDate="2016-11-01T08:12:54.937" LastActivityDate="2016-11-01T08:12:54.937" Title="Failed to execute send on XMLHttpRequest - error while publishing" Tags="|publishing|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2044" PostTypeId="1" AcceptedAnswerId="2140" CreationDate="2016-11-01T08:52:19.713" Score="15" ViewCount="2166" Body="&lt;p&gt;We are facing a problem with sending trigger-emails from EXM. We have created a page with a custom HTML form used for meter readings. The business logic is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The user receives an email with a link to the meter reading page&lt;/li&gt;&#xA;&lt;li&gt;He enters the page&lt;/li&gt;&#xA;&lt;li&gt;He enters data related to the reading, along with the meter reading itself&lt;/li&gt;&#xA;&lt;li&gt;He submits the form&lt;/li&gt;&#xA;&lt;li&gt;An email is triggered to be sent, based on the data he entered in the form&lt;/li&gt;&#xA;&lt;li&gt;He is redirected to a different page with&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The challenge is to get the entered data from the form submission (3 and 4) to be available for EXM when creating the email (5).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have on earlier occasions worked around the problem by saving the form data on the contact in the xDB, and making an assumption that the data is correct when EXM accesses it. In this case we cannot use that approach, because the user might enter multiple meter readings within a short period of time (opening up for challenges with timing, data storage, etc.).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After flushing data to the xDB, we currently use the following line of code to send the email through EXM:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Modules.EmailCampaign.ClientApi&#xA;    .SendStandardMessage(new Guid(MessageId), new XdbContactId(contact.ContactId), true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a better way to trigger the emails using EXM, where it is possible to pass data directly to EXM (i.e. not saving the data to xDB)?&lt;/p&gt;&#xA;" OwnerUserId="463" LastEditorUserId="10" LastEditDate="2016-11-02T17:29:17.887" LastActivityDate="2016-11-03T09:28:04.850" Title="Passing data to emails sent through EXM" Tags="|exm|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2045" PostTypeId="2" ParentId="2044" CreationDate="2016-11-01T10:07:18.593" Score="6" Body="&lt;p&gt;There are several options. One of them is to add a processor to &lt;code&gt;&amp;lt;getXdbContactRecipient&amp;gt;&lt;/code&gt; pipeline defined at 'Include\EmailExperience\Sitecore.EmailExperience.Core.config' and add custom user data there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;public void Process(GetXdbContactRecipientPipelineArgs args)&lt;/code&gt; method you can instantiate class with required custom profile properties e.g.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class ContactInfo : Sitecore.Modules.EmailCampaign.Recipients.Property&#xA;{&#xA;    public string Token { get; set; }&#xA;    public string Title { get; set; }&#xA;    public string Salutation { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and assign it to appropriate property of recipient&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void Process(GetXdbContactRecipientPipelineArgs args)&#xA;{&#xA;    _userService = IoCContainer.GetInstance&amp;lt;IUserService&amp;gt;();&#xA;&#xA;    if (args.IsPropertyRequested&amp;lt;ContactInfo&amp;gt;()) // need to replace our custom token linked to ContactInfo&#xA;    {&#xA;        ContactInfo info = _userService.GetContactInfoByInformationWeHave(); // args.SourceContact can provide you with required information &#xA;        args.TargetRecipient.GetProperties&amp;lt;ContactInfo&amp;gt;().DefaultProperty = info;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;UPD:&#xA;forgot to mention that you will need to extend &lt;code&gt;Sitecore.Modules.EmailCampaign.Core.Personalization.RecipientPropertyTokenMap&lt;/code&gt; (&lt;code&gt;&amp;lt;recipientPropertyTokenMap&lt;/code&gt; in the same config)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;with something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public class ExtendedRecipientPropertyTokenMap : RecipientPropertyTokenMap&#xA;{&#xA;    private static readonly Dictionary&amp;lt;Token, RecipientPropertyTokenBinding&amp;gt; TokenBindings = new[]&#xA;    {&#xA;        RecipientPropertyTokenBinding.Build(new Token(&quot;fullname&quot;), (Expression&amp;lt;Func&amp;lt;PersonalInfo, object&amp;gt;&amp;gt;) (personalInfo =&amp;gt; personalInfo.FullName)),&#xA;        RecipientPropertyTokenBinding.Build(new Token(&quot;name&quot;), (Expression&amp;lt;Func&amp;lt;PersonalInfo, object&amp;gt;&amp;gt;) (personalInfo =&amp;gt; personalInfo.FirstName)),&#xA;        RecipientPropertyTokenBinding.Build(new Token(&quot;salutation&quot;), (Expression&amp;lt;Func&amp;lt;ContactInfo, object&amp;gt;&amp;gt;) (contact =&amp;gt; contact.Salutation)),&#xA;    }&#xA;    .OrderBy(b =&amp;gt; b.Token.Key)&#xA;    .ToDictionary(b =&amp;gt; b.Token, t =&amp;gt; t);&#xA;&#xA;    public override IList&amp;lt;RecipientPropertyTokenBinding&amp;gt; GetTokenBindings()&#xA;    {&#xA;        return TokenBindings.Values.ToList();&#xA;    }&#xA;&#xA;    public override RecipientPropertyTokenBinding GetTokenBinding(Token token)&#xA;    {&#xA;        Assert.ArgumentNotNull(token, &quot;token&quot;);&#xA;        RecipientPropertyTokenBinding propertyTokenBinding;&#xA;        TokenBindings.TryGetValue(token, out propertyTokenBinding);&#xA;        return propertyTokenBinding;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="392" LastEditorUserId="392" LastEditDate="2016-11-01T10:35:55.707" LastActivityDate="2016-11-01T10:35:55.707" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="2046" PostTypeId="2" ParentId="2038" CreationDate="2016-11-01T10:31:47.147" Score="9" Body="&lt;p&gt;Basically, it is a kind of difficult sometimes to query the MongoDB directly, I had a similar scenario and following what I did:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created aggregation processor that will be called when you rebuild the analytics database or when aggregation occurs:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class PageEventProcessor : AggregationProcessor&#xA;{&#xA;    protected override void OnProcess(AggregationPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        var fact = args.GetFact&amp;lt;PageEvent&amp;gt;();&#xA;        foreach (var page in args.Context.Visit.Pages)&#xA;        {&#xA;            try&#xA;            {&#xA;                foreach (var pEvent in page.PageEvents)&#xA;                {&#xA;                    try&#xA;                    {&#xA;                        var eventkey = new PageEventKey&#xA;                        {&#xA;                            EventId = pEvent.PageEventDefinitionId,&#xA;                            Date = args.DateTimeStrategy.Translate(pEvent.DateTime),&#xA;                            ItemId = pEvent.ItemId,&#xA;                            PageId = page.Item.Id&#xA;                        };&#xA;                        var eventValue = new PageEventValue&#xA;                        {&#xA;                            Count = 1&#xA;                        };&#xA;                        fact.Emit(eventkey, eventValue);&#xA;                    }&#xA;                    catch (Exception ex)&#xA;                    {&#xA;&#xA;                    }&#xA;                }&#xA;            } &#xA;            catch(Exception ex)&#xA;            {&#xA;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Classes needed:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class PageEventValue : DictionaryValue&#xA;{&#xA;&#xA;    public int Count { get; set; }&#xA;&#xA;    internal static PageEventValue Reduce(PageEventValue left, PageEventValue right)&#xA;    {&#xA;        var profileValue = new PageEventValue&#xA;        {&#xA;            Count = left.Count + right.Count&#xA;        };&#xA;&#xA;        return profileValue;&#xA;    }&#xA;}&#xA;&#xA;public class PageEvent : Fact&amp;lt;PageEventKey, PageEventValue&amp;gt;&#xA;{&#xA;    public PageEvent() : base(PageEventValue.Reduce)&#xA;    {&#xA;    }&#xA;}&#xA;&#xA;public class PageEventKey : DictionaryKey&#xA;{&#xA;    public Guid EventId { get; set; }&#xA;    public Guid PageId { get; set; }&#xA;    public Guid ItemId { get; set; }&#xA;    public DateTime Date { get; set; }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also you need to include the following configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;group groupName=&quot;analytics.aggregation&quot;&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;interactions&amp;gt;&#xA;            &amp;lt;processor type=&quot;DllName.PageEventProcessor, DllName&quot; /&amp;gt;&#xA;          &amp;lt;/interactions&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this help!&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="28" LastEditDate="2016-11-01T10:40:20.060" LastActivityDate="2016-11-01T10:40:20.060" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2047" PostTypeId="1" CreationDate="2016-11-01T11:55:44.943" Score="5" ViewCount="1168" Body="&lt;p&gt;I am getting the error below when doing a &lt;strong&gt;&quot;Republish All&quot;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did a search in the content editor for &lt;code&gt;7fe5a598-e1c9-42c3-b250-e5b2daa42043&lt;/code&gt; and only found one item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The item is marked as &quot;locked&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I switch the content editor to the &quot;web&quot; database. There are no items found for &lt;code&gt;7fe5a598-e1c9-42c3-b250-e5b2daa42043&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I do a search directly on the [Items] table in the &quot;web&quot; database.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;Select * From [Items] Where [ID] like '7fe5a598-e1c9-42c3-b250-e5b2daa42043'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then one row is found and the item name is the same as the item that I found in the content editor for the master database.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Publish to 'web'|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.Exception: Cannot insert duplicate key row in object 'dbo.Items' with unique index 'ndxID'. The duplicate key value is (7fe5a598-e1c9-42c3-b250-e5b2daa42043).&#xA;The statement has been terminated. ---&amp;gt; System.Data.DataException: Error executing SQL command: INSERT INTO [Items] (&#xA;                        [ID], [Name], [TemplateID], [MasterID], [ParentID], [Created], [Updated]&#xA;                       )&#xA;                       VALUES(&#xA;                        @itemID, @itemName, @templateID, @branchId, @parentID, @now, @now&#xA;                       ) ---&amp;gt; System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.Items' with unique index 'ndxID'. The duplicate key value is (7fe5a598-e1c9-42c3-b250-e5b2daa42043).&#xA;The statement has been terminated.&#xA;   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)&#xA;   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady)&#xA;   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite, SqlDataReader ds)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite)&#xA;   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)&#xA;   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()&#xA;   at Sitecore.Data.DataProviders.Sql.DataProviderCommand.ExecuteNonQuery()&#xA;   --- End of inner exception stack trace ---&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Data.DataProviders.Sql.DataProviderCommand.ExecuteNonQuery()&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;&amp;gt;c__DisplayClass15.&amp;lt;Execute&amp;gt;b__14()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func`1 action, Action recover)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.CreateItem(ID itemID, String itemName, ID templateID, ItemDefinition parent, CallContext context)&#xA;   at Sitecore.Data.DataProviders.DataProvider.CreateItem(ID itemID, String itemName, ID templateID, ItemDefinition parent, CallContext context, DataProviderCollection providers)&#xA;   at Sitecore.Nexus.Data.DataCommands.CreateItemCommand.Execute(ID itemId, String itemName, ID templateId, Item destination)&#xA;   at Sitecore.Data.Engines.DataCommands.CreateItemCommand.DoExecute()&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.CreateItem(String itemName, Item destination, ID templateId, ID newId)&#xA;   at Sitecore.Data.Managers.ItemProvider.CreateItem(String itemName, Item destination, ID templateId, ID newId, SecurityCheck securityCheck)&#xA;   at Sitecore.Data.Managers.ItemManager.CreateItem(String itemName, Item destination, ID templateId, ID newId, SecurityCheck securityCheck)&#xA;   at Sitecore.Publishing.PublishHelper.PublishVersion(Item sourceVersion)&#xA;   at Sitecore.Publishing.Pipelines.PublishItem.PerformAction.ExecuteAction(PublishItemContext context)&#xA;   at Sitecore.Publishing.Pipelines.PublishItem.PerformAction.Process(PublishItemContext context)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Publishing.Pipelines.PublishItem.PublishItemPipeline.Run(PublishItemContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.Process(PublishContext context)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Publishing.Pipelines.Publish.PublishPipeline.Run(PublishContext context)&#xA;   at Sitecore.Publishing.Publisher.PublishWithResult()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="104" LastEditDate="2016-11-01T12:26:41.857" LastActivityDate="2017-11-20T05:55:31.917" Title="Cannot insert duplicate key row in object 'dbo.Items' with unique index 'ndxID'" Tags="|publishing|sql-database|" AnswerCount="0" CommentCount="8" ClosedDate="2017-11-20T14:30:38.547" ContentLicense="CC BY-SA 3.0" />
  <row Id="2048" PostTypeId="2" ParentId="1745" CreationDate="2016-11-01T11:57:07.183" Score="2" Body="&lt;p&gt;I checked the Goal Definitions table and it seems no more updates are coming to this table, I opened a ticket for Sitecore support and the issue is related to a UI bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;following reply from Sitecore support:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue appears when the Deploy button is pressed, but the Taxonomies are not deployed (for example, only Goals are deployed).&#xA;As a result, the processing is finished, but the UI will still display the spinning icon until the window is closed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reference number for the bug is 107306 for more information.&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2016-11-01T11:57:07.183" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2049" PostTypeId="1" AcceptedAnswerId="2057" CreationDate="2016-11-01T12:25:52.557" Score="11" ViewCount="4452" Body="&lt;p&gt;I want to patch the configuration for &lt;code&gt;sharedSessionState&lt;/code&gt; to use MSSQL instead of memory. The default configuration from &lt;code&gt;Sitecore.Analytics.Tracking.config&lt;/code&gt; renders as such:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Analytics.Tracking.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sharedSessionState defaultProvider=&quot;InProc&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;clear/&amp;gt;&#xA;    &amp;lt;add name=&quot;InProc&quot; type=&quot;System.Web.SessionState.InProcSessionStateStore&quot;/&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;  &amp;lt;manager type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateManager, Sitecore.Analytics&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;configuration&quot; ref=&quot;tracking/sharedSessionState/config&quot;/&amp;gt;&#xA;  &amp;lt;/manager&amp;gt;&#xA;  &amp;lt;config type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateConfig, Sitecore.Analytics&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;maxLockAge&quot;&amp;gt;5000&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;timeoutBetweenLockAttempts&quot;&amp;gt;10&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/config&amp;gt;&#xA;&amp;lt;/sharedSessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The goal is to change the &lt;code&gt;defaultProvider&lt;/code&gt; attribute and to replace the &lt;code&gt;InProc&lt;/code&gt; provider. I attempt to do this with the following patch file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;z.Patch.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;tracking&amp;gt;&#xA;      &amp;lt;sharedSessionState defaultProvider=&quot;InProc&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;defaultProvider&quot; value=&quot;mssql&quot; /&amp;gt;&#xA;        &amp;lt;providers patch:instead=&quot;providers&quot;&amp;gt;&#xA;          &amp;lt;clear /&amp;gt;&#xA;          &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;sharedsession&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;shared&quot;/&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;      &amp;lt;/sharedSessionState&amp;gt;&#xA;    &amp;lt;/tracking&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This patch results in the &lt;code&gt;sharedSessionState&lt;/code&gt; correctly changing its &lt;code&gt;defaultProvider&lt;/code&gt;, &lt;em&gt;but the &lt;code&gt;providers&lt;/code&gt; element is completely missing&lt;/em&gt;. At first I thought the patching engine couldn't find the right place to add the element, given that I changed its parent in the same configuration, but fiddling around I discovered that the following patch &lt;strong&gt;does&lt;/strong&gt; include the &lt;code&gt;providers&lt;/code&gt; element correctly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;z.ModifiedPatch.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;tracking&amp;gt;&#xA;      &amp;lt;sharedSessionState defaultProvider=&quot;InProc&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;defaultProvider&quot; value=&quot;mssql&quot; /&amp;gt;&#xA;        &amp;lt;providers customAttribute=&quot;whatever&quot; patch:instead=&quot;providers&quot;&amp;gt;&#xA;          &amp;lt;clear /&amp;gt;&#xA;          &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;sharedsession&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;shared&quot;/&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;      &amp;lt;/sharedSessionState&amp;gt;&#xA;    &amp;lt;/tracking&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only change introduced in this modified patch is the addition of &lt;code&gt;customAttribute=&quot;whatever&quot;&lt;/code&gt; to the &lt;code&gt;providers&lt;/code&gt; element.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is it seemingly not possible replace an element with an attribute-less element? Is there a better work-around in general than to add a bogus attribute?&lt;/p&gt;&#xA;" OwnerUserId="463" LastEditorUserId="104" LastEditDate="2016-11-01T15:49:13.493" LastActivityDate="2016-11-01T17:12:56.753" Title="`patch:instead` removes an element with no attributes" Tags="|configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2050" PostTypeId="1" AcceptedAnswerId="2052" CreationDate="2016-11-01T12:30:51.073" Score="11" ViewCount="362" Body="&lt;p&gt;According to &lt;a href=&quot;https://kb.sitecore.net/articles/886061&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/886061&lt;/a&gt; the AD module does not fully support SSL:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The SitecoreADMembershipProvider provider supports SSL connection. This provider is based on System.Web.Security.ActiveDirectoryMembershipProvider, which provides functionality for SSL connection.&lt;/li&gt;&#xA;&lt;li&gt;The SitecoreADRoleProvider and SitecoreADProfileProvider providers do not support SSL connection. &lt;/li&gt;&#xA;&lt;li&gt;The Directory Notification feature which uses specific connection to the Active Directory domain, also does not support SSL connection.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What functionality would I loose/not work (or what is the only functionality that would work) if I configured the the AD connection over https?&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-11-01T13:07:05.107" Title="AD Module over SSL" Tags="|security|module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2051" PostTypeId="2" ParentId="2049" CreationDate="2016-11-01T12:35:13.517" Score="5" Body="&lt;p&gt;This is happening because of the way you are trying to patch the providers section. If you want to delete the &lt;code&gt;InProc&lt;/code&gt; provider and just add your &lt;code&gt;mssql&lt;/code&gt; one you can do it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;tracking&amp;gt;&#xA;      &amp;lt;sharedSessionState defaultProvider=&quot;InProc&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;defaultProvider&quot; value=&quot;mssql&quot; /&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;          &amp;lt;add name=&quot;InProc&quot; type=&quot;System.Web.SessionState.InProcSessionStateStore&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/add&amp;gt;&#xA;          &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;sharedsession&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;shared&quot;/&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;      &amp;lt;/sharedSessionState&amp;gt;&#xA;    &amp;lt;/tracking&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that we are using &lt;code&gt;patch:delete&lt;/code&gt; to remove the &lt;code&gt;InProc&lt;/code&gt; provider, then just adding the &lt;code&gt;mssql&lt;/code&gt; node into the list will add it to the merged config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT: Added a second option based on OP's comments&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option would be to remove the &lt;code&gt;providers&lt;/code&gt; element completely using &lt;code&gt;patch:delete&lt;/code&gt; and then add it back in. I have used this many times with the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; list in the &lt;code&gt;publish:end&lt;/code&gt; events. The config would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;tracking&amp;gt;&#xA;      &amp;lt;sharedSessionState defaultProvider=&quot;InProc&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;defaultProvider&quot; value=&quot;mssql&quot; /&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;          &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;sharedsession&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;shared&quot;/&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;      &amp;lt;/sharedSessionState&amp;gt;&#xA;    &amp;lt;/tracking&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As for which option you use will depend on how fine grained you want to be when removing child elements. If you want all gone and replaced with your updates, use option 2, if you want to only delete a few, option 1 is the best.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-11-01T12:44:33.693" LastActivityDate="2016-11-01T12:44:33.693" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2052" PostTypeId="2" ParentId="2050" CreationDate="2016-11-01T13:07:05.107" Score="3" Body="&lt;p&gt;You can setup Domain Controller Firewall to accept connections on the 389 port only from the limited IP addresses and this would add an additional level of the security.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please notice that even if we do not use SSL, the connectionProtection=&quot;secure&quot; method allows us to establish the sign-and-seal connection: &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.web.security.activedirectorymembershipprovider.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://msdn.microsoft.com/en-us/library/system.web.security.activedirectorymembershipprovider.aspx&lt;/a&gt; &#xA;SignAndSeal - the connection to the Active Directory server is secured by digitally signing and encrypting each packet sent to the server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How it works: This secure method allows to try to establish SSL connection through the 636 port, and if failed, the sign-and-seal connection established through the default 389 port.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-11-01T13:07:05.107" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2053" PostTypeId="1" AcceptedAnswerId="2056" CreationDate="2016-11-01T13:43:20.910" Score="8" ViewCount="3508" Body="&lt;p&gt;is it possible to configure an auto publish for these scenarios:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;specific sections of the content tree &lt;/li&gt;&#xA;&lt;li&gt;item template&lt;/li&gt;&#xA;&lt;li&gt;specific items&lt;/li&gt;&#xA;&lt;li&gt;auto publish using the publishing restrictions values configured(from and to)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I know we can use publish restrictions but as far as I know it doesn't perform an autopublish itself but configures what the timing you can publish an item(from and to)&#xA;I've ran across some examples where we can configure a publish agent to run on a specific interval. that's fine but this will perform an publish on the whole database. What I'm looking for is ways to publish specifics(like described on the list above), specially configure an auto publish based on the publishing restrictions configured for the item versions.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-11-01T14:37:26.150" Title="Auto publishing for specific items" Tags="|publishing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2054" PostTypeId="2" ParentId="2049" CreationDate="2016-11-01T13:49:53.173" Score="8" Body="&lt;p&gt;You don't need to worry about removing the existing providers, instead just add another one and change the default provider to the new one:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;tracking&amp;gt;&#xA;      &amp;lt;sharedSessionState set:defaultProvider=&quot;mssql&quot;&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;          &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;sharedsession&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;shared&quot;/&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;      &amp;lt;/sharedSessionState&amp;gt;&#xA;    &amp;lt;/tracking&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the above is using &lt;code&gt;set&lt;/code&gt; to change the default provider value, it reads a little cleaner than the &lt;code&gt;patch:attribute&lt;/code&gt; syntax but both do the same thing. You can read more about it in the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/60/include_file_patching_facilities_sc6orlater-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Include File Patching Facilities document&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The merged config will then look like this, all other elements will remain unchanged and Sitecore will use whatever provider is defined as the default:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;tracking&amp;gt;&#xA;  &amp;lt;sharedSessionState defaultProvider=&quot;mssql&quot;&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;      &amp;lt;clear/&amp;gt;&#xA;      &amp;lt;add name=&quot;InProc&quot; type=&quot;System.Web.SessionState.InProcSessionStateStore&quot;/&amp;gt;&#xA;      &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;sharedsession&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;shared&quot;/&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;    ...&#xA;  &amp;lt;/sharedSessionState&amp;gt;&#xA;&amp;lt;/tracking&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-11-01T13:49:53.173" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2055" PostTypeId="2" ParentId="2053" CreationDate="2016-11-01T13:50:59.897" Score="5" Body="&lt;p&gt;Yes you can configure using workflows.&#xA; You can set workflows for your items and on final step you can add a command for autopublishing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use this module : &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Automated_Publisher.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Automated_Publisher.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Automated Publisher module is a module that will automatically generate a Sitecore task to publish an item after its scheduled publication date. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any time an item is saved (programatically or manually), the Automated Publisher will look to see if the item has a future publication date and set up the task accordingly.&#xA; This alleviates the need for a manual publish or the use of blanket publishing tasks on a regular basis. Please note that this utility does not bypass workflow and an item that is not in a finalized state of workflow will not be marked as publishable by Sitecore. Please see the documentation link below for technical details (a single modification to the web.config is required to run the Automated Publisher).&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-11-01T13:50:59.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2056" PostTypeId="2" ParentId="2053" CreationDate="2016-11-01T14:03:34.273" Score="9" Body="&lt;p&gt;As Sitecore Climber mentioned, you could use workflows if you do not need to have a future publish date. Otherwise the Automated Publsiher module might help you, but if you really want something specifically tailored to your needs, it should not be that hard to write that yourself. You could add an agent or use other possible solutions to trigger tasks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a &lt;a href=&quot;http://andreaswijayablog.blogspot.be/2016/10/sitecore-custom-publish-agent-from.html&quot; rel=&quot;noreferrer&quot;&gt;blog post&lt;/a&gt; here describing on how to extend the existing publish agent with extra parameters e.g. a root item path (as you requested). The trick is actually to look at the implementation and extend where needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To give you an idea to build on, if you would like to publish only items from a template you would need to do something like this (untested):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Add a property to pass the template&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private readonly string _template;&#xA;public string Template&#xA;{&#xA;   get&#xA;   {&#xA;     return this._template;&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would pass the template in the config like &lt;code&gt;&amp;lt;param desc=&quot;template&quot;&amp;gt;...&amp;lt;/param&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Add parameter to constructor&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public CustomPublishAgent(string sourceDatabase, string targetDatabase, string mode, string languages, string template)&#xA;{&#xA;   ...&#xA;   this._template = template;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Write a startPublish function to be used in the run method&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private void StartPublish(IEnumerable&amp;lt;language&amp;gt; languages)&#xA;{&#xA;  ....&#xA;  var items = .. // get the items you need based on _template (and other stuff) - preferably use the master index&#xA;  var options = new PublishOptions(database1, database2, PublishMode.SingleItem, languages.FirstOrDefault&amp;lt;language&amp;gt;(), DateTime.Now)&#xA;  foreach (var item in items)&#xA;  {&#xA;    options.RootItem = item;&#xA;    Publisher publisher = new Publisher(options, languages);&#xA;    publisher.PublishAsync();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should be aware that this will start a publish job for each item that is found with you search query. If you want to publish based on several conditions, that will be hard to avoid. But don't do this for too many items at once... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;End by adding your custom agent in a config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;scheduling&amp;gt;&#xA;  &amp;lt;agent type=&quot;YourNameSpace.CustomPublishAgent, YourAssembly&quot; method=&quot;Run&quot; interval=&quot;12:00:00&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;target database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;mode (full or incremental)&quot;&amp;gt;smart&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;languages&quot;&amp;gt;en&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;template&quot;&amp;gt;..&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/agent&amp;gt;&#xA;&amp;lt;/scheduling&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-01T14:37:26.150" LastActivityDate="2016-11-01T14:37:26.150" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2057" PostTypeId="2" ParentId="2049" CreationDate="2016-11-01T15:02:36.737" Score="11" Body="&lt;h1&gt;Explanation&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This is not an expected behavior. This is a defect in the Sitecore XML patching engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the method &lt;code&gt;Sitecore.Xml.Patch.XmlPatchHelper.InsertChild()&lt;/code&gt;, there's the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;case 'i': // this corresponds to patch:instead&#xA;  parent.InsertBefore(child, xmlNode);&#xA;  parent.RemoveChild(xmlNode);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So in your case, the new &lt;code&gt;&amp;lt;providers&amp;gt;&lt;/code&gt; element is first inserted before the existing &lt;code&gt;&amp;lt;providers&amp;gt;&lt;/code&gt; element, and then the old element is removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tricky thing is the implementation of the method &lt;code&gt;XmlNode.InsertBefore(newChild, refChild)&lt;/code&gt;, which is a native XML method in .NET. This method has the following check:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;if (newChild == refChild)&#xA;{&#xA;  return newChild;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So if the inserted node is the same in-memory object as the original node, nothing is going to happen. The new node will not be inserted, which means that the Sitecore code at &lt;code&gt;parent.RemoveChild(xmlNode)&lt;/code&gt; is going to remove the &lt;code&gt;&amp;lt;providers&amp;gt;&lt;/code&gt; node altogether.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I debugged through the Sitecore decompiled code and found that if both the original node and the new node have exactly the same data attributes (or no attributes at all), then &lt;code&gt;object.ReferenceEquals(child, xmlNode)&lt;/code&gt; returns &lt;code&gt;true&lt;/code&gt;. If the attributes differ, then it returns &lt;code&gt;false&lt;/code&gt;, which means they are different objects and the replacement will succeed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's a defect somewhere in &lt;code&gt;XmlPatchHelper&lt;/code&gt; that reuses the existing XML node object instead of creating a new one, which results in nothing being inserted, which in turn means the node being patched will be completely removed. This will only happen when using &lt;code&gt;patch:instead&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have registered this as a bug with Sitecore Support. If you want to track the status of the bug, use the reference number &lt;strong&gt;94066&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Workarounds&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;It seems that currently you have the following options to work around this defect:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Don't delete the existing providers—they won't be used anyway.&lt;/li&gt;&#xA;&lt;li&gt;First delete the whole node using &lt;code&gt;&amp;lt;patch:delete /&amp;gt;&lt;/code&gt; and then add it from scratch.&lt;/li&gt;&#xA;&lt;li&gt;Add a bogus attribute to the patch node so that it differs from the original node.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Hopefully, this will be fixed by Sitecore at some point.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-01T17:12:56.753" LastActivityDate="2016-11-01T17:12:56.753" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2058" PostTypeId="2" ParentId="1974" CreationDate="2016-11-01T15:09:11.630" Score="1" Body="&lt;p&gt;Publishing targets should always be in a state where publishing from master is possible. The Sitecore upgrade makes changes to &lt;code&gt;core&lt;/code&gt; and &lt;code&gt;master&lt;/code&gt; - and changes are then published from master to the publishing targets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If content delivery databases are in a state where publishing isn't possible, you will need to run the Sitecore upgrade against those databases (as if those databases were &lt;code&gt;master&lt;/code&gt;). This is obviously not Sitecore best practices as target databases should always be able to be published to.&lt;/p&gt;&#xA;" OwnerUserId="98" LastActivityDate="2016-11-01T15:09:11.630" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2059" PostTypeId="1" CreationDate="2016-11-01T15:13:36.570" Score="6" ViewCount="1639" Body="&lt;p&gt;I have the following code to return a List of Items in a Lucene index:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public List&amp;lt;Item&amp;gt; GetSearchResults(ISearchIndex index, string searchTerm = &quot;&quot;)&#xA;{&#xA;    var results = new List&amp;lt;Item&amp;gt;();&#xA;&#xA;    using (var searchContext = index.CreateSearchContext())&#xA;    {&#xA;        if (string.IsNullOrWhiteSpace(searchTerm))&#xA;        {&#xA;            results = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Select(n =&amp;gt; n.GetItem()).ToList();&#xA;        }&#xA;        else&#xA;        {&#xA;            searchTerm = searchTerm.Trim().ToLower();&#xA;            results = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                .Where(n =&amp;gt; n.Content.ToLower().Contains(searchTerm) &#xA;                    || n.Url.ToLower().Contains(searchTerm) &#xA;                    || n.Name.ToLower().Contains(searchTerm) &#xA;                    || n.Fields[&quot;tags&quot;].ToString().ToLower().Contains(searchTerm))&#xA;                .Select(n =&amp;gt; n.GetItem())&#xA;                .ToList();&#xA;        }&#xA;    }&#xA;&#xA;    return results;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If &lt;em&gt;searchTerm&lt;/em&gt; is not null or empty I would like to sort by a weighting based on the number of occurrences of the search term.   Is this at all possible?&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="237" LastEditDate="2016-11-02T09:05:09.003" LastActivityDate="2016-11-02T09:05:09.003" Title="Is there a &quot;weighting&quot; involved with Sitecore.ContentSearch.SearchTypes.SearchResultItem?" Tags="|content-search|lucene|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2060" PostTypeId="1" CreationDate="2016-11-01T15:19:38.980" Score="2" ViewCount="350" Body="&lt;p&gt;If I were to delete the data from the analytics index, and then disable the observables declared in the in the crawlers defined here,&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;em&gt;Sitecore.ContentSearch.Lucene.Index.Analytics.config&lt;/em&gt;&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_analytics_index&quot; ...&amp;gt;&#xA;  ...&#xA;  &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsVisitCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Visit Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      &amp;lt;ObservableName&amp;gt;VisitAggregationObservable&amp;lt;/ObservableName&amp;gt;&#xA;      ...&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsVisitPageCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Visit Page Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      &amp;lt;ObservableName&amp;gt;VisitPageAggregationObservable&amp;lt;/ObservableName&amp;gt;&#xA;      ...&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsVisitPageEventCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Visit Page Event Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      &amp;lt;ObservableName&amp;gt;VisitPageEventAggregationObservable&amp;lt;/ObservableName&amp;gt;&#xA;      ...&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsContactCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Contact Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      ...&#xA;      &amp;lt;observables hint=&quot;list:AddObservable&quot;&amp;gt;&#xA;        &amp;lt;observable&amp;gt;ContactAggregationObservable&amp;lt;/observable&amp;gt;&#xA;        &amp;lt;observable&amp;gt;ContactChangeObservable&amp;lt;/observable&amp;gt;&#xA;      &amp;lt;/observables&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsContactTagCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Contact Tag Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      ...&#xA;      &amp;lt;observables hint=&quot;list:AddObservable&quot;&amp;gt;&#xA;        &amp;lt;observable&amp;gt;ContactTagAggregationObservable&amp;lt;/observable&amp;gt;&#xA;        &amp;lt;observable&amp;gt;ContactTagChangeObservable&amp;lt;/observable&amp;gt;&#xA;      &amp;lt;/observables&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.Analytics.Crawlers.AnalyticsAddressCrawler, Sitecore.ContentSearch.Analytics&quot;&amp;gt;&#xA;      &amp;lt;CrawlerName&amp;gt;Lucene Address Tag Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;      ...&#xA;      &amp;lt;observables hint=&quot;list:AddObservable&quot;&amp;gt;&#xA;        &amp;lt;observable&amp;gt;AddressAggregationObservable&amp;lt;/observable&amp;gt;&#xA;        &amp;lt;observable&amp;gt;AddressChangeObservable&amp;lt;/observable&amp;gt;&#xA;      &amp;lt;/observables&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;  &amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;what functionality would be affected in Sitecore?  My understanding is it would only affect reporting and not the actual collection of the analytics data, as that is all collected into the XDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If, after doing this, I re-enabled the observables and initiated a rebuild of the Reporting Database, would we get this data back in the analytics index and the reports would be available again?&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-11-01T19:29:49.533" Title="What are the consequences of disabling the analytics index?" Tags="|reporting|indexing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2061" PostTypeId="2" ParentId="2059" CreationDate="2016-11-01T15:47:19.917" Score="3" Body="&lt;p&gt;Sitecore will indeed sort the results by default on a &quot;Score&quot;, based on the relevance of the hit and calculated by the underlying index - Lucene in your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do think though that you will need to call the GetResults() to get that functionality. So change &lt;code&gt;.Select(n =&amp;gt; n.GetItem())&lt;/code&gt; to &lt;code&gt;GetResults()&lt;/code&gt;. This will give you &lt;code&gt;SearchResults&lt;/code&gt; - return the items based on the &lt;code&gt;hit.Document&lt;/code&gt; in every hit from &lt;code&gt;results.Hits&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your resulting &quot;hit&quot; objects will have a &lt;code&gt;Score&lt;/code&gt; property (float) containing the score value. You could use this property also if you want to use custom sorting and still include the score.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that if you would want to use boosting, that would not work as you are using a &quot;contains&quot; and they do not work &lt;a href=&quot;https://stackoverflow.com/questions/18400798/search-results-sort-order-using-sitecore-7-contentsearch-api&quot;&gt;together&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-01T15:47:19.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2062" PostTypeId="1" AcceptedAnswerId="2218" CreationDate="2016-11-01T15:48:47.183" Score="10" ViewCount="2573" Body="&lt;p&gt;Sitecore does not seem to set the expiry date for the language cookie, Which means it will be stored per &quot;session&quot;, meaning If user switch language on the site then closes the browser and open it again, the language will be set back to the default language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone was able to set the expiry date for the language cookie in sitecore?&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-11-30T19:36:57.887" Title="Setting expiry date for Sitecore Language cookie" Tags="|multilingual|cookies|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2063" PostTypeId="2" ParentId="2059" CreationDate="2016-11-01T15:49:39.783" Score="7" Body="&lt;p&gt;Lucene will automatically apply that kind of weighting. It will give each record a &amp;quot;score&amp;quot; based on how well the document matches the term. A lot will be dependent on how you have crafted your search query of course.&lt;/p&gt;&#xA;&lt;p&gt;You &lt;em&gt;can&lt;/em&gt; influence the score by boosting. This is the how that affects the query:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;h3&gt;Lucene allows influencing search results by &amp;quot;boosting&amp;quot; in more than one level:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Document level boosting - while indexing - by calling&#xA;document.setBoost() before a document is added to the index.&lt;/li&gt;&#xA;&lt;li&gt;Document's Field level boosting - while indexing - by calling&#xA;field.setBoost() before adding a field to the document (and before&#xA;adding the document to the index).&lt;/li&gt;&#xA;&lt;li&gt;Query level boosting - during&#xA;search, by setting a boost on a query clause, calling&#xA;Query.setBoost().&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Indexing time boosts are preprocessed for storage&#xA;efficiency and written to the directory (when writing the document) in&#xA;a single byte (!) as follows: For each field of a document, all boosts&#xA;of that field (i.e. all boosts under the same field name in that doc)&#xA;are multiplied. The result is multiplied by the boost of the document,&#xA;and also multiplied by a &amp;quot;field length norm&amp;quot; value that represents the&#xA;length of that field in that doc (so shorter fields are automatically&#xA;boosted up). The result is decoded as a single byte (with some&#xA;precision loss of course) and stored in the directory. The similarity&#xA;object in effect at indexing computes the length-norm of the field.&lt;/p&gt;&#xA;&lt;p&gt;This composition of 1-byte representation of norms (that is, indexing&#xA;time multiplication of field boosts &amp;amp; doc boost &amp;amp; field-length-norm)&#xA;is nicely described in Fieldable.setBoost().&lt;/p&gt;&#xA;&lt;p&gt;Encoding and decoding of the resulted float norm in a single byte are&#xA;done by the static methods of the class Similarity: encodeNorm() and&#xA;decodeNorm(). Due to loss of precision, it is not guaranteed that&#xA;decode(encode(x)) = x, e.g. decode(encode(0.89)) = 0.75. At scoring&#xA;(search) time, this norm is brought into the score of document as&#xA;norm(t, d), as shown by the formula in Similarity.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://lucene.apache.org/core/3_5_0/scoring.html&quot; rel=&quot;noreferrer&quot;&gt;Source&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Out of the box, Sitecore doesn't apply an index time boosting to your custom fields, so it will just apply a score based on how relevant your searchTerm is to the field. If you wanted to see the score, you can use the &lt;code&gt;.GetResult&lt;/code&gt; method.&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public List&amp;lt;Item&amp;gt; GetSearchResults(ISearchIndex index, string searchTerm = &amp;quot;&amp;quot;)&#xA;{&#xA;    var results = new List&amp;lt;Item&amp;gt;();&#xA;&#xA;    using (var searchContext = index.CreateSearchContext())&#xA;    {&#xA;        if (string.IsNullOrWhiteSpace(searchTerm))&#xA;        {&#xA;            results = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Select(n =&amp;gt; n.GetItem()).ToList();&#xA;        }&#xA;        else&#xA;        {&#xA;            searchTerm = searchTerm.Trim().ToLower();&#xA;            var query = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                .Where(n =&amp;gt; n.Content.ToLower().Contains(searchTerm) &#xA;                    || n.Url.ToLower().Contains(searchTerm) &#xA;                    || n.Name.ToLower().Contains(searchTerm) &#xA;                    || n.Fields[&amp;quot;tags&amp;quot;].ToString().ToLower().Contains(searchTerm));&#xA;                    &#xA;                    &#xA;            var resultsWithScore = query.GetResult();&#xA;            &#xA;            var firstObject = resultsWithScore.FirstOrDefault();&#xA;            var score = firstObject.Score;&#xA;            var firstItem = firstObject.Document;&#xA;&#xA;            results = resultsWithScore.Hits.Select(n =&amp;gt; n.Document.GetItem()).ToList();&#xA;        }&#xA;    }&#xA;&#xA;    return results;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;If you wanted to make &lt;code&gt;Content&lt;/code&gt; have a higher importance than &lt;code&gt;Url&lt;/code&gt; in the search, then you can boost by field at query time:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;            var query = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                .Where(n =&amp;gt; n.Content.ToLower().Contains(searchTerm).Boost(2f) &#xA;                    || n.Url.ToLower().Contains(searchTerm) &#xA;                    || n.Name.ToLower().Contains(searchTerm) &#xA;                    || n.Fields[&amp;quot;tags&amp;quot;].ToString().ToLower().Contains(searchTerm));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You can use all these features to tune your query. For the basic requirement you outlined above, Lucene should handle that without any extra coding.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-01T15:49:39.783" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2064" PostTypeId="2" ParentId="2059" CreationDate="2016-11-01T15:51:38.370" Score="5" Body="&lt;p&gt;This should be done automatically for you. As you are not applying an OrderBy, the results returned will be in the order according to their &quot;Score&quot;, which is the value Lucene assigns to each search result to determine how relevant a result is - the higher the better. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would expect this to already be working in your query, but you may need to call &lt;code&gt;GetResults()&lt;/code&gt; rather than your &lt;code&gt;Select&lt;/code&gt; and then get the items via the &lt;code&gt;Hits&lt;/code&gt; property inside. I do think it &lt;em&gt;should&lt;/em&gt; work without this though.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Scoring background&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In a Lucene search, multiple occurrences of a search term will cause that result to score higher. However, there are other factors that go into Lucene scoring. For example, the shorter a field is with a matching searchTerm, the higher the score - i.e. &lt;em&gt;&quot;searchTerm&quot;&lt;/em&gt; will actually score higher than &lt;em&gt;&quot;searchTerm and also searchTerm but most of all searchTerm.&quot;&lt;/em&gt;. The idea here is that the former is deemed more relevant as it is wholly about the searchTerm.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I strongly recommend when working with search that you take a look at the queries that get logged out into the &lt;code&gt;data/logs/search.log&lt;/code&gt; files. Using a tool such as &lt;a href=&quot;https://code.google.com/archive/p/luke/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Luke&lt;/a&gt; you can load in the Lucene indexes and manually execute the queries to see the results. Luke will give you an explanation for how each score was calculated for each search result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be able to setup an index field that ignores the field-length when indexing data - which is referred to as normalization data. However, looking at the Sitecore code, I think they may have blocked this method off in their field configuration syntax, but I'm not sure.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-11-01T15:51:38.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2065" PostTypeId="2" ParentId="2062" CreationDate="2016-11-01T16:24:03.193" Score="7" Body="&lt;p&gt;I am not sure if there is an easier way to do this. But I've achieved this before by setting a custom language cookie and then set the context language in a HttpRequest pipeline processor based on the value of your custom language cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you switch language on the website then you can just set the value of your own custom language cookie and then you have complete control over its expiry date.&lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2016-11-01T16:24:03.193" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2066" PostTypeId="2" ParentId="2062" CreationDate="2016-11-01T17:23:59.930" Score="2" Body="&lt;p&gt;You will have to do this yourself. When the &lt;code&gt;Language&lt;/code&gt; property of the current &lt;code&gt;Context&lt;/code&gt; is set, Sitecore will store this as a cookie. However these are done via static-methods that can't be overridden.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can either implement your own cookie, as per Jonas' answer, or you could add a pipeline processor that runs at the end of the HttpRequest that overrides the default Sitecore language cookie with the same name and value, but with a customized expiry date.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-11-01T17:23:59.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2067" PostTypeId="1" CreationDate="2016-11-01T17:38:18.890" Score="5" ViewCount="2519" Body="&lt;p&gt;(I'm using Sitecore 8.1 Update 3 with Glass Mapper.Sc version 4.1.1.66)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've run into an issue where some of the properties of a Sitecore item are not being populated in code through Glass Mapper. The values in our Content Base item (Id, Name, Display Name, typical Sitecore fields) seem to be getting populated correctly, but the child item's fields (I'll call it Overview) aren't mapped at all. They're all strings but they all end up null, even though the Content Base's values look to be correct. We also have child class maps working in other areas of the same, so that may not be the cause here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Earlier in this project, we had an issue with Glass Mapper where field names that included spaces were not being read. However, I've made sure to leave out any spaces in field names, but this doesn't solve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another possible contributor to the issue is that we have multiple languages on the site, so it's conceivable that language fallback may be complicating things. However, we have fallback enabled and working properly across the site without issues. (EDIT: I have tried applying the VersionCountDisabler, but that didn't help.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can post code if needed, but for the most part, it's just POCO's and mapping classes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on what other parts I should be looking into?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: Adding code&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mapping class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace TheProject.Sc.Feature.Asset.Model.Configuration&#xA;{&#xA;[ExcludeFromCodeCoverage] &#xA;public class IAssetOverviewModelMap : SitecoreGlassMap&amp;lt;IAssetOverviewModel&amp;gt;&#xA;{&#xA;    public override void Configure()&#xA;    {&#xA;        Map(config =&amp;gt;&#xA;        {&#xA;            ImportMap&amp;lt;IContentBase&amp;gt;();&#xA;            config.AutoMap();&#xA;            config.Field(f =&amp;gt; f.HeaderPrefix).FieldName(&quot;AssetOverviewContentHeaderPrefix&quot;);&#xA;            config.Field(f =&amp;gt; f.MarkUnitUnavailableText).FieldName(&quot;AssetOverviewContentMarkUnitUnavailableText&quot;);&#xA;            config.Field(f =&amp;gt; f.PdfButtonText).FieldName(&quot;AssetOverviewContentPdfButtonText&quot;);&#xA;            config.Field(f =&amp;gt; f.EditRecordButtonText).FieldName(&quot;AssetOverviewContentEditRecordButtonText&quot;);&#xA;            config.Field(f =&amp;gt; f.SaveButtonText).FieldName(&quot;AssetOverviewContentSaveButtonText&quot;);&#xA;        });&#xA;    }&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here's a working mapping, which is called above and does just fine.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace TheProject.Sc.Foundation.Model.Configuration&#xA;{&#xA;   public class IContentBaseMap : SitecoreGlassMap&amp;lt;IContentBase&amp;gt;&#xA;   {&#xA;      public override void Configure()&#xA;      {&#xA;         Map(config =&amp;gt;&#xA;         {&#xA;            config.AutoMap();&#xA;            config.Id(m =&amp;gt; m.Id);&#xA;            config.Info(m =&amp;gt; m.Name).InfoType(SitecoreInfoType.Name);&#xA;            config.Info(m =&amp;gt; m.DisplayName).InfoType(SitecoreInfoType.DisplayName);&#xA;            config.Info(m =&amp;gt; m.Path).InfoType(SitecoreInfoType.Path);&#xA;            config.Info(m =&amp;gt; m.Url).InfoType(SitecoreInfoType.Url);&#xA;            config.Info(m =&amp;gt; m.FullPath).InfoType(SitecoreInfoType.FullPath);&#xA;            config.Info(m =&amp;gt; m.TemplateName).InfoType(SitecoreInfoType.TemplateName);&#xA;            config.Info(m =&amp;gt; m.TemplateId).InfoType(SitecoreInfoType.TemplateId);&#xA;            config.Field(f =&amp;gt; f.Sortorder).FieldName(&quot;__Sortorder&quot;); // This line always returns 0, even when Sortorder is set differently&#xA;         });&#xA;      }&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1027" LastEditorUserId="1027" LastEditDate="2016-11-01T18:13:57.387" LastActivityDate="2016-11-02T13:58:19.363" Title="Glass Mapper not mapping some item properties" Tags="|glass-mapper|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2068" PostTypeId="5" CreationDate="2016-11-01T17:47:48.907" Score="0" Body="" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-01T17:47:48.907" LastActivityDate="2016-11-01T17:47:48.907" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2069" PostTypeId="4" CreationDate="2016-11-01T17:47:48.907" Score="0" Body="Questions related to Sitecore presentation components: layouts, sublayouts, renderings, presentation details, etc." OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-01T17:47:48.907" LastActivityDate="2016-11-01T17:47:48.907" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2070" PostTypeId="1" AcceptedAnswerId="2106" CreationDate="2016-11-01T17:53:43.250" Score="13" ViewCount="1767" Body="&lt;p&gt;I have a Sitecore 8.1 / Solr 4.10 instance.  I know that if I add a new content item or I delete a content item and then publish, that Sitecore is smart enough to do a partial rebuild of the Solr search index and that those items will either be added to or deleted from the Solr index.  But what if I have a content item that is currently published to Web and then I decide to change the publishing restrictions on that item so that it is no longer published?  I see that it does get removed from the Web database, but I also see that it seems to still show up in the Solr Web index. Is Sitecore smart enough to know that in that case it should also remove that item from the Solr Web index?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-11-02T04:30:54.673" Title="If I unpublish an item will Sitecore update the search index?" Tags="|solr|publishing|indexing|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2071" PostTypeId="1" AcceptedAnswerId="2075" CreationDate="2016-11-01T19:14:48.670" Score="6" ViewCount="631" Body="&lt;p&gt;I am currently setting up a production environment and I keep running into exceptions thrown while the site is initializing, due to configuration/patching issues. The fact that I can't load the &lt;em&gt;ShowConfig&lt;/em&gt; is slowing me down and I would be able to troubleshoot and fix these issues a lot faster if I could only see it. Is there any way for me to do this?&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-11-01T21:47:48.270" Title="Is there a way to load the ShowConfig before Sitecore finishes initializing?" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2072" PostTypeId="2" ParentId="2071" CreationDate="2016-11-01T19:18:32.913" Score="7" Body="&lt;p&gt;You can get the value of the fully patched Sitecore config by updating your &lt;em&gt;Global.asax&lt;/em&gt; file to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;%@Application Language='C#' Inherits=&quot;Sitecore.Web.Application&quot; %&amp;gt;&#xA;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;protected void Application_Start()&#xA;{&#xA;    System.IO.File.WriteAllText(&quot;&amp;lt;website_root&amp;gt;\\App_Data\\sitecore.config&quot;, Sitecore.Configuration.Factory.GetConfiguration().OuterXml);&#xA;}&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This tells the application to write the fully patched Sitecore config to the &lt;em&gt;\App_Data&lt;/em&gt; folder of your site's webroot. You can, of course, change this location to one of your choice.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="10" LastEditDate="2016-11-01T21:47:48.270" LastActivityDate="2016-11-01T21:47:48.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2073" PostTypeId="2" ParentId="2060" CreationDate="2016-11-01T19:29:49.533" Score="2" Body="&lt;p&gt;Content delivery should be unaffected, as you stated, unless you're doing something custom and accessing analytics data from front-end code. Reporting could be extremely slow, depending on the quantity of data in your DB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Indexes are generally disposable; they aren't the canonical source of any data. Once you rebuild the index as you describe, the index should be accurately updated for whatever data is in the DB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This post by Adam Conn supports the ability to rebuild the analytics index without losing data: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/rebuilding-the-sitecore-analytics-index&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/rebuilding-the-sitecore-analytics-index&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2016-11-01T19:29:49.533" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2074" PostTypeId="1" AcceptedAnswerId="2079" CreationDate="2016-11-01T19:41:42.960" Score="2" ViewCount="694" Body="&lt;p&gt;There are two attributes in the site definition config XML file that I would like to understand better. If your server (Production) has the content management web site set up separately from the content delivery website, what should the database and content settings be for each of those sites? If your server (Development) only has one single website for both content management and content delivery, what should the database and content settings be in that case?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;MySite&quot;&#xA;            database=&quot;web&quot;&#xA;            content=&quot;web&quot; ... /&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="10" LastEditDate="2016-11-01T21:49:47.780" LastActivityDate="2016-11-02T15:10:13.990" Title="Site Definition XML Attributes for Database and Content" Tags="|configuration|site-configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2075" PostTypeId="2" ParentId="2071" CreationDate="2016-11-01T19:46:19.330" Score="14" Body="&lt;p&gt;You can use the &lt;a href=&quot;https://marketplace.sitecore.net/modules/sitecore_configbuilder.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Config Builder&lt;/a&gt; tool which is available on the Marketplace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xAVwd.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xAVwd.png&quot; alt=&quot;Sitecore Config Builder&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select the &lt;strong&gt;web.config&lt;/strong&gt; for the solution and then choose where to save the resulting merged config file. This is the same result as you would see if you browsed to &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; but it does not require a working Sitecore instance, just the config files. This is extremely useful if you want to see final patched config for a production instance from backups or without having to set it up locally for exmaple.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Config Builder tool is also installed and accessible if you have &lt;a href=&quot;https://marketplace.sitecore.net/modules/sitecore_instance_manager.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Instance Manager&lt;/a&gt; installed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Nlm7i.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Nlm7i.png&quot; alt=&quot;Sitecore Instance Manager&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-11-01T19:52:59.413" LastActivityDate="2016-11-01T19:52:59.413" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2076" PostTypeId="1" AcceptedAnswerId="2080" CreationDate="2016-11-01T19:57:13.027" Score="2" ViewCount="344" Body="&lt;p&gt;The Export Languages feature is working but we would like to include Shared fields, but it doesn't seem as those are included. Is this possible out-of-the-box or is there some type of workaround that we would need to do in order to get those Shared fields included with the export?&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2016-11-01T23:11:54.180" Title="Is there a way to include Shared fields during Export Languages feature in 8+?" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2077" PostTypeId="2" ParentId="2074" CreationDate="2016-11-01T20:04:24.147" Score="0" Body="&lt;p&gt;This depends on your CM/CD configuration, if you are using one web database then you can do the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Your content management (CM) site should use the master database, so in your site definition, you will set database=&quot;master&quot;. &lt;/li&gt;&#xA;&lt;li&gt;You content delivery server (CD) site should use the web database, so in your site definition you will set database=&quot;the web&quot;. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In a development environment, you can set the site database to either of them, when set to master you will browse the site using master database content so you will not need to publish content to web database to see the effect in your site.but still it is better to use web.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more information if you look into the following blog post:&#xA;&lt;a href=&quot;http://sitecoreinfo.blogspot.com/2016/10/sitecore-solution-production-deployment.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Solution Production Deployment&#xA;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2016-11-01T20:04:24.147" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2078" PostTypeId="2" ParentId="2074" CreationDate="2016-11-01T20:24:06.863" Score="0" Body="&lt;p&gt;&lt;code&gt;content&lt;/code&gt; is optional, and I believe it defines the place where content should be edited (e.g., &lt;code&gt;master&lt;/code&gt; database).  I have never found a need to define content explicitly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;database&lt;/code&gt; is the location that the site should use for rendering and delivering content.  &lt;code&gt;database&lt;/code&gt; is typically set to &lt;code&gt;web&lt;/code&gt;, unless you have a specialized need such as a staging site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a production setup, it would depend on your business need.  For instance, you could have a &lt;code&gt;staging&lt;/code&gt; publishing target, and a copy of your site definition which points to this database.  This would allow for a preview site that ties back into workflow so content authors and approvers can &quot;preview&quot; their changes on a live system.  Typically speaking, your content delivery servers should point their &lt;code&gt;database&lt;/code&gt; attribute to &lt;code&gt;web&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For local development, I typically set my site definition's &lt;code&gt;database&lt;/code&gt; to &lt;code&gt;master&lt;/code&gt; to avoid having to publish.&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-11-01T20:24:06.863" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2079" PostTypeId="2" ParentId="2074" CreationDate="2016-11-01T20:52:32.867" Score="2" Body="&lt;p&gt;The Sitecore config contains the following comments about these two attributes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;    content: Database containing items to be edited.          &#xA;    database: Database containing items to be used for rendering the site.&#xA;--&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;content&lt;/strong&gt; attribute defines the database which contains the items that will be edited from within the CMS interface. The default &lt;code&gt;website&lt;/code&gt; entry in the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; section of config &lt;strong&gt;does not&lt;/strong&gt; have this attribute set. Only the &lt;code&gt;shell&lt;/code&gt; and &lt;code&gt;modules_shell&lt;/code&gt; entry have the content attribute set to &lt;strong&gt;master&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;database&lt;/strong&gt; attribute defines the database to use for rendering the site. The default &lt;code&gt;website&lt;/code&gt; entry in the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; section of config has this set to &lt;strong&gt;web&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that different &lt;code&gt;site&lt;/code&gt; entries may have different values set for the &lt;code&gt;database&lt;/code&gt; attribute, for example on the &lt;code&gt;shell&lt;/code&gt; site &lt;code&gt;database=core&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a standard installation, the settings should be as follows for custom &lt;code&gt;site&lt;/code&gt; entries:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Content Management -&lt;/strong&gt; &lt;code&gt;database = web&lt;/code&gt;, &lt;code&gt;content&lt;/code&gt; not set&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Content Delivery-&lt;/strong&gt; &lt;code&gt;database = web&lt;/code&gt;, &lt;code&gt;content&lt;/code&gt; not set&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you have multiple publish targets that different sites could set this to one of the other &quot;web&quot; type databases if different sites need to use different DBs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, if you take a look at &lt;code&gt;/App_Config/Include/LiveMode.config.example&lt;/code&gt; then you will see an example that patches the &lt;code&gt;database&lt;/code&gt; attribute to use &lt;strong&gt;master&lt;/strong&gt;. This allow you to view the items without requiring publish from master to web.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Why does the &lt;code&gt;content&lt;/code&gt; need to be specified&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The reason for the content database attribute and requiring this to be set on the &lt;code&gt;shell&lt;/code&gt; site is when you are editing items from the Content Editor the site context is &lt;code&gt;shell&lt;/code&gt;. The &lt;code&gt;shell&lt;/code&gt; site requires the &lt;code&gt;core&lt;/code&gt; database for all it's settings and configuration&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may often see code which references context database like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Database db = Sitecore.Context.ContentDatabase ?? Sitecore.Context.Database;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is commonly used in code when executing in the content editing interface needs to access items in the master database (or whatever is set as &lt;code&gt;content&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is some more details in this &lt;a href=&quot;https://sdn.sitecore.net/Articles/API/Context%20and%20databases.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;article about Content and Databases&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-11-02T15:10:13.990" LastActivityDate="2016-11-02T15:10:13.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2080" PostTypeId="2" ParentId="2076" CreationDate="2016-11-01T20:52:37.517" Score="5" Body="&lt;p&gt;The Shared fields are understandably not included as they don't need to be translated, as by their nature they are shared across all languages. As the &lt;strong&gt;Export Languages&lt;/strong&gt; feature is to serve translation, it doesn't include them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no out-of-the-box method to enable Shared field exporting in this feature.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Alternatives&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Before looking at a solution. My initial question is to why you would want this feature? If your primary case is just to export the content from Sitecore and you don't need the exact schema offered by Export Languages, then I would look at alternative options such as:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Using serialization to output the items as .item files. OOTB behaviour&lt;/li&gt;&#xA;&lt;li&gt;Using the Sitecore GoodOldWebservice (&lt;code&gt;/sitecore/shell/WebService/service.asmx&lt;/code&gt;) which has a &lt;code&gt;Get XML&lt;/code&gt; method. OOTB behaviour though you'll want an app to connect to the service, such as &lt;a href=&quot;https://www.soapui.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SoapUI&lt;/a&gt;. Note that the XML format is different to that in Export Languages.&lt;/li&gt;&#xA;&lt;li&gt;Looking at modules such as the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/E/Export_Item_Data_Tool10.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Export Item Data module&lt;/a&gt;. Not OOTB behaviour but should require no code.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Editing the Export Languages behaviour&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The functionality that performs this export and the resulting XML schema is particular to this feature and can't be easily extended.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you do indeed want to export all the data in the exact same format as this, your best bet is to decompile the &lt;code&gt;Sitecore.Shell.Applications.Globalization.ExportLanguage.ExportLanguageForm&lt;/code&gt; in the &lt;code&gt;Sitecore.Client&lt;/code&gt; assembly, create a new class from it and alter the behaviour. The part that you would need to change is in the &lt;code&gt;ExportItem&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected void ExportItem(Job job, XmlTextWriter writer, Item item)&#xA;{&#xA;    //... code omitted ...&#xA;&#xA;    foreach (Language language in this._languages)&#xA;    {&#xA;        foreach (Field field in item.Database.GetItem(item.ID, language).Fields)&#xA;        {&#xA;            // This should be replaced with a custom implementation of &#xA;            // ShouldBeTranslated that doesn't check the Shared property&#xA;            if (field.ShouldBeTranslated)&#xA;            {&#xA;                ...&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then edit &lt;code&gt;\sitecore\shell\Applications\Globalization\ExportLanguage\ExportLanguage.xml&lt;/code&gt; to use your replacement form instead by updating the following line to your new class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;WizardForm CodeBeside=&quot;Sitecore.Shell.Applications.Globalization.ExportLanguage.ExportLanguageForm,Sitecore.Client&quot; Submittable=&quot;false&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alternatively you can also just extract the code and run it manually if you don't have a need to replace the regular form's behaviour.&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-11-01T23:11:54.180" LastActivityDate="2016-11-01T23:11:54.180" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2081" PostTypeId="2" ParentId="2067" CreationDate="2016-11-01T20:58:53.837" Score="2" Body="&lt;p&gt;After some experimentation, I found the cause of the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at the IAssetOverviewModelMap code above, you'll see this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;config.Field(f =&amp;gt; f.HeaderPrefix).FieldName(&quot;AssetOverviewContentHeaderPrefix&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The field name seems kinda long, right? We were prepending the category name onto the field name in order to avoid any duplicate names in items since we do a fair amount of inheritance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's where the problem lies. When I removed the &quot;AssetOverviewContent&quot; from the field names, everything worked fine. Based on this, I did some more experimentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found that field names up to 23 characters long worked just fine. 24 or more and they won't map. I have no idea why this number in particular is the limit, but my guess is that there's some other mapping going on somewhere that's hitting a limit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A little more experimentation also found that mapping using FieldId also doesn't work. Guids are going to be more than 23 characters long, so that makes some sense. However, you can't really do a guid in less than 23 characters so I can't confirm.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I may end up looking at the Glass Mapper code sometime soon to see if I can track down the answer. But now that I know there's a problem, I can avoid it.&lt;/p&gt;&#xA;" OwnerUserId="1027" LastActivityDate="2016-11-01T20:58:53.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2082" PostTypeId="1" AcceptedAnswerId="2087" CreationDate="2016-11-01T21:52:06.123" Score="4" ViewCount="880" Body="&lt;p&gt;One of the frequent problems that I have seen with Sitecore is the inability to control the exact time that a scheduled task should run. Since the machine's clock will be far more accurate, what I would like to do is call Sitecore from a Windows Scheduled Task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume that I am going to need to set up a WebApi endpoint for the Windows Task to call, but how do I write/setup a Windows task to call it? Am I able to make the endpoint accept POST requests, or just GET?&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-11-02T03:19:45.010" Title="Executing Sitecore logic from a Windows Scheduled Task" Tags="|webapi|scheduled-tasks|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2084" PostTypeId="1" AcceptedAnswerId="2089" CreationDate="2016-11-01T22:14:11.803" Score="4" ViewCount="453" Body="&lt;p&gt;One of our clients is requiring that we use language-specific sub-domains instead of sub-folders on their multi-lingual site. They know all of the reasons why this shouldn't be done from an SEO perspective, but still want to go this route. Will Sitecore allow this, natively?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Conceptually, they would be looking for something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;website-en&quot; hostname=&quot;examplesite.com&quot; &#xA;    rootPath=&quot;/sitecore/content/sites/example site&quot;&#xA;    startItem=&quot;/home&quot;&#xA;    language=&quot;en&quot;&#xA;    ... /&amp;gt;&#xA;&amp;lt;site name=&quot;website-fr&quot; hostname=&quot;fr.examplesite.com&quot; &#xA;    rootPath=&quot;/sitecore/content/sites/example site&quot;&#xA;    startItem=&quot;/home&quot;&#xA;    language=&quot;fr&quot;&#xA;    ... /&amp;gt;&#xA;&amp;lt;site name=&quot;website-es&quot; hostname=&quot;es.examplesite.com&quot; &#xA;    rootPath=&quot;/sitecore/content/sites/example site&quot;&#xA;    startItem=&quot;/home&quot;&#xA;    language=&quot;es&quot;&#xA;    ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is that I am fairly certain that the above will break the SiteResolver for the Experience Editor and Preview mode. I am currently testing in 8.0.1 and while I don't see any errors, when I open EE/Preview the page always loads in the language on the current URL, rather than the language I was editing in on the previous item or in the Content Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make the Content Author's life easier, I would prefer to work around this with as little effort as possible, due to timeline. Does anyone know how I can get this to work?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="73" LastEditDate="2016-11-02T12:32:18.123" LastActivityDate="2016-11-02T12:32:18.123" Title="Language-specific sub-domain support" Tags="|site-configuration|" AnswerCount="3" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2085" PostTypeId="2" ParentId="2084" CreationDate="2016-11-01T22:36:02.107" Score="2" Body="&lt;p&gt;While the approach in the OP will work, the one problem that you will encounter is that the Content Author will have to log into the same site that they wish to edit if they want to use the Experience Editor or Preview mode without changing the language version being edited every time they go to a page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To avoid this, you could instead configure a single site and customize the way that Sitecore generates links and resolves the requested language to support the language sub-domains. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Site Configuration&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The first thing that you will need to do is configure the site's &lt;code&gt;hostname&lt;/code&gt; to match against the domain and the language sub-domains. To do this, you will want the &lt;code&gt;hostname&lt;/code&gt; of the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; config node to be a regular expression. As such, the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; config node should look something like the below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; hostname=&quot;(www.)?((en|fr|es).)?examplesite.com&quot; &#xA;    rootPath=&quot;/sitecore/content/sites/example site&quot;&#xA;    startItem=&quot;/home&quot;&#xA;    language=&quot;en&quot;&#xA;    ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Generating Language-Specific Links&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You will need to write a custom &lt;code&gt;LinkProvider&lt;/code&gt; in order to generate the correct language-specific links for your page items. Your extended &lt;code&gt;LinkProvider&lt;/code&gt; will need to append the appropriate sub-domain, based on the language. You could also include support for excluding the sub-domain if the language requested is the same as the site's default language. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Resolving the Correct Language&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Lastly, you will need to write a custom &lt;code&gt;LanguageResolver&lt;/code&gt; in order to set the correct &lt;code&gt;Context.Language&lt;/code&gt;, based on the present (or absence of a) language-specific sub-domain. Remember to make your LanguageResolver default to the default language, if no language sub-domain is present.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="10" LastEditDate="2016-11-02T01:10:42.267" LastActivityDate="2016-11-02T01:10:42.267" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2086" PostTypeId="2" ParentId="2082" CreationDate="2016-11-01T22:47:18.930" Score="1" Body="&lt;p&gt;You can decorate your WebApi endpoint method with [HttpPost]. When you post to the WebApi and there's a matching route for your request it will invoke that method. I don't have a code example at hand but I'll see if I can find one. Otherwise have a look here &lt;a href=&quot;https://www.asp.net/web-api/overview/web-api-routing-and-actions/attribute-routing-in-web-api-2&quot; rel=&quot;nofollow&quot;&gt;https://www.asp.net/web-api/overview/web-api-routing-and-actions/attribute-routing-in-web-api-2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said I think the most common way to achieve this is to set a Sitecore scheduled task to run very frequent and then abort the task if the server time is not in your desired time interval. I.e. you would have a configuration item associated with your Sitecore scheduled task and in your task you would check against that configuration item to see if it should be allowed to run. And also check against the scheduled task's time stamp to see when it was last run so it doesn't fire twice within your interval. But if you want to control the exact time, the Windows task/WebApi solution is the way to go. &lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2016-11-01T22:47:18.930" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2087" PostTypeId="2" ParentId="2082" CreationDate="2016-11-01T22:49:52.470" Score="4" Body="&lt;p&gt;The built-in Sitecore scheduler can certainly be frustrating in its limitations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So using a WebApi endpoint that the task can call is certainly one way of doing things.  You should keep security in mind though; if your URL can easily be guessed and doesn't require authentication then anonymous users can potentially trigger it.  You should definitely consider some kind of access control (e.g. credentials, tokens, IP restriction).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have a couple of options for triggering it.  Off the top of my head, you could install a windows port of &lt;code&gt;curl&lt;/code&gt; and use that, you could write your own console application, or you can use PowerShell.  My preference would be the latter.  You can easily create a simple script as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;$url = &quot;http://www.example.com&quot;&#xA;$request = [System.Net.WebRequest]::Create($url)&#xA;$response = $request.GetResponse()&#xA;$response.Close()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you set up the scheduled task to execute your PowerShell script.  That will fire off the request to your server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The thing you need to be careful of with this is that web requests can time out; and this can cause your tasks to register as failed.  You can execute the task on a separate thread, but this means you can no longer return failure codes to the scheduler.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my opinion, a better option would be to use the &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt; module, and then use the &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/remoting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;remoting feature&lt;/a&gt; to connect and invoke your job on the server.  You can then wait on the job, which means that you shouldn't have to work around timeout problems.&lt;/p&gt;&#xA;" OwnerUserId="442" LastEditorUserId="10" LastEditDate="2016-11-02T01:12:26.117" LastActivityDate="2016-11-02T01:12:26.117" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2088" PostTypeId="1" CreationDate="2016-11-01T23:05:14.280" Score="8" ViewCount="1369" Body="&lt;p&gt;One of the things I have to occasionally do as an administrator is unlock items which a user has forgotten to unlock before leaving on vacation. I've been asked if we could create a role which could perform this function (in order to back me up in this area), but which does not have other admin level functions, e.g. user administration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been looking, but not been able to find a way to assign this specific function to a role. Is this possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help!&lt;/p&gt;&#xA;" OwnerUserId="1030" LastActivityDate="2016-11-02T01:55:27.157" Title="Is it possible to assign the ability to unlock multiple users' items to a non-administrator role?" Tags="|role-management|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2089" PostTypeId="2" ParentId="2084" CreationDate="2016-11-01T23:09:39.087" Score="2" Body="&lt;p&gt;I think your original configuration would work OK. I have had a similar setup, albeit in sc 6.5 pre-page editor worthy sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I have just tried this out on a clean install of sc8.2. I setup 3 languages, en, fr-FR and es-ES - the sites resolve as you would expect them to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When logged into the Content Editor, if I select a language, fr-FR for the &lt;code&gt;home&lt;/code&gt; item and then click the &lt;code&gt;Experience Editor&lt;/code&gt; button, it opens the page up with the &lt;code&gt;French&lt;/code&gt; language version selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, once in the Experience Editor, you can click the &lt;code&gt;Versions&lt;/code&gt; tab and change the language from there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some screen shots to demo that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/loINH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/loINH.png&quot; alt=&quot;Select the language in the Content Editor&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/laiEf.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/laiEf.jpg&quot; alt=&quot;Experience Editor opens in the selected language&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ClE65.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ClE65.png&quot; alt=&quot;Change the language in the Experience Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same things worked for the preview mode.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-01T23:09:39.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2090" PostTypeId="2" ParentId="2082" CreationDate="2016-11-01T23:12:36.627" Score="5" Body="&lt;p&gt;Here is a low complexity example using &lt;strong&gt;Sitecore PowerShell Extensions&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that the SPE Remoting Module files are saved to a path configured in &lt;code&gt;$env:PSModulePath&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Save script to desired path:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Module -Name SPE&#xA;$session = New-ScriptSession -Username &quot;admin&quot; -Password &quot;b&quot; -ConnectionUri &quot;http://remotesitecore/&quot;&#xA;Invoke-RemoteScript -ScriptBlock {&#xA;    # See Import-Function and Invoke-Script for more examples&#xA;    Get-ChildItem -Path &quot;master:\&quot; | Measure-Object&#xA;} -Session $session &#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Setup scheduled task:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Start program &lt;code&gt;C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Argument &lt;code&gt;&quot;PATH_TO_SCRIPT\[SCRIPT_NAME].ps1&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can find more details &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/remoting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. We also have a &lt;em&gt;Web API&lt;/em&gt; feature that doesn't require using a password since it relies on what is published. Documentation &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/web-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-11-01T23:16:25.387" LastActivityDate="2016-11-01T23:16:25.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2091" PostTypeId="2" ParentId="2088" CreationDate="2016-11-01T23:23:15.830" Score="1" Body="&lt;p&gt;Unfortunately, I do not believe there is a permission/role that can be assigned to a user to give them this ability. It is build into the special &quot;admin&quot; user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, you could write a script using &lt;a href=&quot;https://www.gitbook.com/book/sitecorepowershell/sitecore-powershell-extensions/details&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt; (SPE) that does this, and give specific users access to run it via a custom button. You could do this by either creating a button that executes a script to unlock all items for all users, all items for the current user, open a SPEAK dialog where the user can select a specific item from the tree to unlock, a specific user to unlock all items for, or for the currently selected item in the content editor. Here are the docs for the &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Unlock-Item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Unlock-item&lt;/a&gt; SPE call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you could also write a custom SPEAK tool for unlocking items using C#. In either scenario, you would selectively give users/roles Read access to the custom button(s) that open(s) or execute(s) the tool. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is worth noting that either option involves you creating a custom button to run your tool, and any user that you give access see the custom button will have access to use the tool.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-02T01:05:18.550" LastActivityDate="2016-11-02T01:05:18.550" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2092" PostTypeId="2" ParentId="2088" CreationDate="2016-11-01T23:35:07.433" Score="4" Body="&lt;p&gt;Assuming you're only interested in shell behaviour, there's a long and a short answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Short answer: no.  The command that executes this functionality (&lt;code&gt;Sitecore.Shell.Framework.Commands.CheckIn&lt;/code&gt;) only allows the unlock action to happen if the user is an administrator or if the user owns the lock.  This is regardless of permissions you set on the button item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Longer answer: yes.  But you need to write your own command to do the unlock.  This is actually quite straight-forward.  You create a new command, register it in configuration, and then replace the command name on the item with your own (or add an extra button).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you do in your command will depend on your Sitecore version.  Offhand, I don't know when the change came in, but I think that the same check present in the command used to be present in the &lt;code&gt;item.Locking.Unlock()&lt;/code&gt; method.  If this doesn't work for you, you can cheat a bit and directly call &lt;code&gt;ReleaseLock()&lt;/code&gt; on the lock field (which you can get by using &lt;code&gt;(LockField)item.Fields[FieldIDs.Lock]&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should make sure that your command performs the necessary security checks for your application; as you probably don't want it to be available to everyone.&lt;/p&gt;&#xA;" OwnerUserId="442" LastActivityDate="2016-11-01T23:35:07.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2093" PostTypeId="2" ParentId="2029" CreationDate="2016-11-01T23:53:53.707" Score="3" Body="&lt;p&gt;You don't need to reference any Sitecore dlls in order to be able to use the Sitecore REST API. These APIs are defined in the &lt;a href=&quot;https://sdn.sitecore.net/Reference/Sitecore%207/Developers%20Guide%20to%20Sitecore%20Services%20Client.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;developer's guide available on SDN&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(This document does not seem to have been ported to doc.sitecore.net yet, so SDN is where you need to get it.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Referencing &lt;code&gt;Sitecore.Services.Core&lt;/code&gt; will give you access to a .NET API, so you aren't working with REST calls directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ironically, you &lt;em&gt;don't&lt;/em&gt; need to reference &lt;code&gt;Sitecore.Services.Client&lt;/code&gt;. That dll is used during installation. It is &lt;em&gt;highly unlikely&lt;/em&gt; you need to reference this assembly in your project.&lt;/p&gt;&#xA;" OwnerUserId="256" LastActivityDate="2016-11-01T23:53:53.707" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2094" PostTypeId="2" ParentId="2036" CreationDate="2016-11-02T01:01:53.087" Score="4" Body="&lt;p&gt;There's a couple clues here that I think I can attempt to provide some troubleshooting steps in order to answer your question. Now, before getting too far along, because the error is occurring in the &lt;code&gt;publish:end&lt;/code&gt; handler all active publishing tasks for the items have already finished which is why it appears the publish was successful.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;A Few Clues&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You mention you have a separate publishing instance, so going on the assumption you've configured the Scaling config.&lt;/li&gt;&#xA;&lt;li&gt;The error details out &lt;code&gt;publish:end&lt;/code&gt; event handler, which indicates that the issue is within that handler.&lt;/li&gt;&#xA;&lt;li&gt;Running Sitecore 8.1 with Solr&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Taking a look at &lt;code&gt;publish:end&lt;/code&gt; Events&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In a default configuration for Sitecore 8.1 Update 3, we have the following event handlers for &lt;code&gt;publish:end&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.RenderingParametersCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot; /&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.ContentSearch.Events.PublishingEventHandler, Sitecore.ContentSearch&quot; method=&quot;OnFullPublishEndHandler&quot; patch:source=&quot;Sitecore.ContentSearch.config&quot; /&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.ContentSearch.Events.PublishingEventHandler, Sitecore.ContentSearch&quot; method=&quot;OnPublishHandler&quot; patch:source=&quot;Sitecore.ContentSearch.config&quot; /&amp;gt;&#xA;  &amp;lt;!-- ACTIVE TEST CACHE CLEARER This event handler clears data from the ActiveTest cache --&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.ContentTesting.Events.ActiveTestCacheClearer, Sitecore.ContentTesting&quot; method=&quot;Process&quot; patch:source=&quot;Sitecore.ContentTesting.config&quot; /&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Social.Client.MessagePosting.Handlers.PublishEndHandler, Sitecore.Social.Client&quot; method=&quot;ClearDbMesageCache&quot; patch:source=&quot;Sitecore.Social.config&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By looking at a default configuration, there are a few places where an error might occur. Again, this is the &lt;strong&gt;&lt;em&gt;default configuration&lt;/em&gt;&lt;/strong&gt; which means the error may be in any kind of custom code that you've created, if you have a custom &lt;code&gt;publish:end&lt;/code&gt; handler. &lt;strong&gt;Going on the assumption you don't.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Things to Verify&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The site(s) listed for the &lt;strong&gt;HtmlCacheClearer&lt;/strong&gt; are accurate to your environment.&lt;/li&gt;&#xA;&lt;li&gt;Is SOLR Running at the configured endpoint?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Other Potential Causes&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Not with &lt;code&gt;publish:end&lt;/code&gt; specifically, but I have seen weirdness out of ContentTesting. There is a ContentTesting event handler in the stock configuration. If you wanted to rule out, you could disable this handler in the &lt;code&gt;Sitecore.ContentTesting.config&lt;/code&gt; file.&lt;/li&gt;&#xA;&lt;li&gt;Are you using Glass?  Glass Mapper for Sitecore has a &lt;code&gt;publish:end&lt;/code&gt; event that clears the Glass Cache. If, for some reason, this cache was unavailable or missing, theoretically it might cause an error.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Need more info?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To troubleshoot this further, you'll want to provide the following information:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Excerpt of Sitecore Log and Publishing Log file during the publish event.&lt;/li&gt;&#xA;&lt;li&gt;Copy of your &lt;code&gt;publish:end&lt;/code&gt; events from &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-11-02T01:01:53.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2095" PostTypeId="2" ParentId="2088" CreationDate="2016-11-02T01:23:51.780" Score="5" Body="&lt;h2&gt;Delegated Administration with SPE&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Let's say for example that you wanted to provide a &lt;em&gt;Context Menu&lt;/em&gt; option for users to unlock items based on the following criteria.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Show&lt;/strong&gt; when User is in the &lt;strong&gt;sitecore\Delegated Admin&lt;/strong&gt; role&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Enable&lt;/strong&gt; when the item is &lt;strong&gt;locked&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In between cooking eggs at home I was able to whip this up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/n7cSE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/n7cSE.png&quot; alt=&quot;Unlock Elevated Context Menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;So here is how I built it.&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new SPE Module with a &lt;strong&gt;Context Menu&lt;/strong&gt; library.&lt;/li&gt;&#xA;&lt;li&gt;Create a new script for unlocking the selected item.&lt;/li&gt;&#xA;&lt;li&gt;Configure a rule for &lt;strong&gt;Show&lt;/strong&gt; and &lt;strong&gt;Enable&lt;/strong&gt; when certain conditions are met.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1Vdaw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Vdaw.png&quot; alt=&quot;Script with Rules&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the user is able to &lt;em&gt;Lock and Edit&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p3I3k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p3I3k.png&quot; alt=&quot;Lock and Edit&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sample script for &lt;em&gt;Unlock Elevated&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item -Path .&#xA;# The user should be one granted the appropriate access.&#xA;$user = Get-User -Id &quot;superuser&quot;&#xA;New-UsingBlock (New-Object Sitecore.Security.Accounts.UserSwitcher $user) {&#xA;    $item | Unlock-Item&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&#xA;This solution may be better suited as a &lt;strong&gt;Ribbon&lt;/strong&gt; command. You can read more about how to do that &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/content-editor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7eBh5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7eBh5.png&quot; alt=&quot;Unlock Elevated Ribbon&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Turns out Richard Seal apparently had the same idea today and hosted &lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/11/01/Right-Click-Unlock-Item-with-Sitecore-PowerShell-Extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-11-02T01:55:27.157" LastActivityDate="2016-11-02T01:55:27.157" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2096" PostTypeId="2" ParentId="2007" CreationDate="2016-11-02T01:38:08.800" Score="7" Body="&lt;p&gt;Currently, for enterprise installations of MongoDB, the &lt;em&gt;Sitecore&lt;/em&gt; Best Practice for Disaster Recovery of Mongo rests solely on the Best Practices of MongoDB specifically and are not entirely different for Sitecore applications.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said... there are some things to consider:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Answering Your Specific Question&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Are people architecting their solutions to offer Recovery Point&#xA;  Objectives (RPO) to a similar level as they would with SQL (so down to&#xA;  minutes of data loss of data) perhaps using something like Mongo Atlas&#xA;  for on-premise, or is 24 hours of xDB data being lost considered&#xA;  acceptable - as you might get as default from Mlabs?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;RPO objectives are going to be tied directly to the amount of data a particular client is storing in xDB. Default configurations, you would probably get away with RPO of an hour or two, if Sitecore Analytics is being utilized lightly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If lots of custom goals, interations, and contact facets are in play and updated frequently, you may need an RPO that is pretty short, down to 15 minutes. I, personally have not implemented an RPO on mongoDB that is that short. Typically I have used 1 hour as the cut off, which is the same as I use for SQL Server full backups. (SQL Server Transaction logs are cut at 15 minutes in high volume content management implementations)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some off the cuff thoughts:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;The Sitecore Reporting Database, which is created through aggregation, has a deep connection to the MongoDB database. If MongoDB goes down, or the collection is deleted, this can cause a disconnect in analytics in the reporting database, which, depending on the severity, may require the reporting database to be rebuilt.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In addition, in the specific event of a collection being deleted, Sitecore/MongoDB will automatically start building upon a NEW collection almost instantaneously. Which may hide any issues with MongoDB until you start clicking around Experience Profile or Experience Analytics.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If MongoDB as a service goes down, the Sitecore Content Delivery servers will cache any interactions and events happening while MongoDB is down, hoping that nothing happens to the Content Delivery servers. AS soon as a MongoDB endpoint is available, Sitecore CD's will flush the cached data received.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The other part of your question is asking about specific tools or services. I don't want this answer to come off as too sales-y and I don't have experience with any third party tools outside of the tools that MongoDB provides.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, the rest of this answer is really going to answer your question about MongoDB best practices in general.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Background Information on MongoDB DR Best Practices&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The architecture of mongodb -&lt;em&gt;at a very high level&lt;/em&gt;- is not unlike that of SQL Server. Both have a file representation of a binary database/collection. Both have processes for backing up/dumping said databases and collections.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So at a high level, you want to make sure that you are performing the same steps for MongoDB that you are for SQL Server.  Also, important to note, that how you go about performing these steps can differ depending on both your version level of MongoDB as well as whether you are using MongoDB Cloud or a MongoDB Instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So then the questions really become, &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;How do you backup MongoDB?&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;How do you restore MongoDB?&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;Are there tools to handle this?&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The answer to all of these questions can be explained in the following list of tools that are available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, MongoDB also has some really great white papers specifically talking about this subject:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://webassets.mongodb.com/_com_assets/collateral/10gen-MongoDB_Operations_Best_Practices.pdf&quot; rel=&quot;noreferrer&quot;&gt;MongoDB Operations Best Practices&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://info-mongodb-com.s3.amazonaws.com/MongoDB-backup-disaster-recovery.pdf&quot; rel=&quot;noreferrer&quot;&gt;Backup and Its Role in Disaster Recovery&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;MongoDB Tools&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;&lt;a href=&quot;https://www.mongodb.com/cloud/cloud-manager/?jmp=docs&quot; rel=&quot;noreferrer&quot;&gt;MongoDB Cloud Manager&lt;/a&gt;&lt;/h3&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;MongoDB Cloud Manager continually backs up MongoDB replica sets and&#xA;  sharded clusters by reading the oplog data from your MongoDB&#xA;  deployment. MongoDB Cloud Manager creates snapshots of your data at&#xA;  set intervals, and can also offer point-in-time recovery of MongoDB&#xA;  replica sets and sharded clusters.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;&lt;a href=&quot;https://www.mongodb.com/products/ops-manager&quot; rel=&quot;noreferrer&quot;&gt;MongoDB Ops Manager&lt;/a&gt;&lt;/h3&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;With Ops Manager, MongoDB subscribers can install and run the same&#xA;  core software that powers MongoDB Cloud Manager on their own&#xA;  infrastructure. Ops Manager is an on-premise solution that has similar&#xA;  functionality to MongoDB Cloud Manager and is available with&#xA;  Enterprise Advanced subscriptions.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Probably the industry standard of managing MongoDB in general, including Disaster Recovery is to utilize the Mongo Ops Manager that is available in &lt;a href=&quot;https://www.mongodb.com/products/mongodb-enterprise-advanced&quot; rel=&quot;noreferrer&quot;&gt;MongoDB Enterprise Advanced&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;a href=&quot;https://docs.mongodb.com/v3.2/core/backups/#back-up-with-mongodump&quot; rel=&quot;noreferrer&quot;&gt;Manual Backup with &lt;code&gt;mongodump&lt;/code&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;mongodump reads data from a MongoDB database and creates high fidelity&#xA;  BSON files which the mongorestore tool can use to populate a MongoDB&#xA;  database. mongodump and mongorestore are simple and efficient tools&#xA;  for backing up and restoring small MongoDB deployments, but are not&#xA;  ideal for capturing backups of larger systems.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;&lt;a href=&quot;https://docs.mongodb.com/v3.2/core/backups/#back-up-by-copying-underlying-data-files&quot; rel=&quot;noreferrer&quot;&gt;Backing Up File System Snapshots&lt;/a&gt;&lt;/h3&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You can create a backup of a MongoDB deployment by making a copy of&#xA;  MongoDB’s underlying data files.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;In Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As you can see, the best practices for protecting MongoDB are not unlike similar procedures that you would use with SQL Server or any other database like collection architecture. More information is readily available at MongoDB's website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the event that you do have to restore a MongoDB to a point in time, validate that aggregation and processing is functioning normally and that no errors are in the Sitecore logs.  If something gets out of sync where there might be more data in the reporting database than in MongoDB, you may be required to rebuild your reporting database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-11-02T01:58:53.830" LastActivityDate="2016-11-02T01:58:53.830" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2097" PostTypeId="2" ParentId="2007" CreationDate="2016-11-02T01:41:23.980" Score="2" Body="&lt;p&gt;I would say it depends on the type of interactions you are capturing and frequency of aggregation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are simply using it for personalization and building a 360 degree customer profile as most people do, you can possibly get away with a couple of cycles of peak traffic (if not more) which may be even more than 24 hrs. Using &quot;Continuous Sync&quot; to keep your reporting DB up to date maybe sufficient in this case. I would recommend looking at new vs returning visitor analytics to define the acceptable number of peak traffic cycles. Another thing to consider here maybe the &quot;Decay Rate&quot; set on your personas.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you are using it for capturing and aggregating more time sensitive interactions such as telemetry data or providing high availability data such as user profile management or low latency requirement such as fraud detection, you will definitely need high availability down to a couple of mins if not even milliseconds in some cases. Here you may need to consider resilience and read and write availability. The good thing about NoSql is the ability to write even if some of clusters become unavailable so you can aggregate later. Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="936" LastActivityDate="2016-11-02T01:41:23.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2098" PostTypeId="1" AcceptedAnswerId="2101" CreationDate="2016-11-02T01:58:03.793" Score="5" ViewCount="1453" Body="&lt;p&gt;I know that this might sound strange but, instead of adding rendering parameters to the different controls/modules on the page, I want to be able to add rendering parameters to the placeholder itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to add a rendering parameter template to the placeholder template [/sitecore/templates/System/Layout/Placeholder] but, if this is the way to do it, I don't understand how to edit the rendering parameters on the page.&lt;/p&gt;&#xA;" OwnerUserId="321" LastActivityDate="2016-11-02T02:37:39.650" Title="Add Rendering parameters to placeholder" Tags="|best-practices|presentation|placeholders|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2099" PostTypeId="2" ParentId="2098" CreationDate="2016-11-02T02:25:14.890" Score="2" Body="&lt;p&gt;I don't think that this is immediately possible without heavy re-architecture of Sitecore's rendering pipelines. That being said, having time, a decompiler, and hacker-ninja skills, anything is possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The rendering of a placeholder is done differently and separately than the rendering of a rendering itself. Taking a quick look at the pipelines available in the Sitecore configuration, it becomes pretty obvious that architecturally changing placeholders in this manner would be pretty involved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, as a rule of thumb, I generally advise people &lt;strong&gt;&lt;em&gt;NOT&lt;/em&gt;&lt;/strong&gt; to muck with System Templates too much (yes I know you can) due to unexpected results. Unless you are able to satisfactorily regression test Sitecore itself, and feel confident in your changes, I generally avoid that area.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But your question begs another question:  &lt;strong&gt;&lt;em&gt;Why?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are you trying to default rendering parameters? In which case, you can utilize the &lt;code&gt;Default Parameters&lt;/code&gt; field to set default values of the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thought I could see is if you have a multitude of components and you want to &quot;lock&quot; in the parameters, it might be possible to hook into the rendering pipeline, and substitute the default parameters for the rendering before it is added.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-11-02T02:25:14.890" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2100" PostTypeId="2" ParentId="2084" CreationDate="2016-11-02T02:32:42.460" Score="2" Body="&lt;p&gt;You can definitely run into trouble with this if you have any code or modules that attempt to resolve the site definition based on the current item (rather than the Site in context).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, you might have a custom workflow action which loads a configuration from the site definition. Since the action executes in the context of the 'shell' site, it needs to use the item going through workflow to determine the site. In your case, the item would resolve to multiple site definitions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need to make sure that any such logic that you have also takes into account the language of the item version in order to find a 'best' match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, you'll likely need to enforce embedded language codes to redirect to your other site definitions. For example, you don't want users to see french content by travelling to 'example.com/fr'. You'll need to make sure that redirects to 'fr.example.com' to ensure your site resolves correctly.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-11-02T02:32:42.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2101" PostTypeId="2" ParentId="2098" CreationDate="2016-11-02T02:37:39.650" Score="6" Body="&lt;p&gt;You can't put rendering parameters on a placeholder, no.  You can put rendering parameters on the rendering that contains the placeholder, though.  And, if needed, you could create a &quot;wrapper rendering&quot; that just contained a placeholder and perhaps a wrapper div on which you could put classes, ids or other attributes to make it easier to style with CSS.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-11-02T02:37:39.650" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2102" PostTypeId="2" ParentId="1490" CreationDate="2016-11-02T03:12:31.893" Score="2" Body="&lt;p&gt;Based on comments, the answer to this question appears to be data issue within the Sitecore Database itself. It appears the issue resolved itself after performing a database restore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, some conjecture on how this might happen:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;If the Display Name field was somehow duplicated indicating that there were two fields with the same Name in the database, but with different Item ID's, I could see how this would possibly happen. But to be honest, I'm having a difficult time replicating a similar scenario.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;A failed upgrade package install which might have left bad item id's in the database.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Index or cache confusion&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Resolution to fix this issue as it stands appears to be to restore the database.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-11-02T03:18:48.253" LastActivityDate="2016-11-02T03:18:48.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2103" PostTypeId="2" ParentId="2082" CreationDate="2016-11-02T03:19:45.010" Score="1" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;How do I write/setup a Windows task to call it?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I would recommend using something like Hangfire. (&lt;a href=&quot;http://hangfire.io&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hangfire.io&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They support a cron-based scheduling for re-occurring tasks. Check their official doc: &lt;a href=&quot;http://docs.hangfire.io/en/latest/background-methods/performing-recurrent-tasks.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://docs.hangfire.io/en/latest/background-methods/performing-recurrent-tasks.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be easily configured for use in the Windows Service. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Am I able to make the endpoint accept POST requests, or just GET?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can configure a standard ASP.net MVC web API 2 for that. It is quite easy with lots of examples from Microsoft. (&lt;a href=&quot;https://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Very important thing is: if you consider using standard MVC routing, make sure that your route doesn't conflict with default Sitecore routes. &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-11-02T03:19:45.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2104" PostTypeId="2" ParentId="1818" CreationDate="2016-11-02T03:44:31.317" Score="2" Body="&lt;p&gt;Gonna take a stab at this. I'm not sure a module is what you're looking for, at least not for recent versions of Sitecore.  At least for providing RSS feeds of Item specific content. Plus, you are really asking for two very different functionalities.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Rendering of Sitecore Specific Content Items as an RSS Feed&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 8, you can use the built in RSS Feed generation utility to create your own RSS feeds of Sitecore based items. There is a &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_content_editor/subscribe_to_a_client_rss_feed&quot; rel=&quot;nofollow noreferrer&quot;&gt;very in-depth walk-through on Sitecore's Documentation Site for this&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Displaying External RSS Feeds as a Rendering Component&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I'm, not sure that there's really any great modules out there on the Marketplace to solve this issue. However, what comes to mind is the uniqueness of how one might present and render the RSS feed would become very dependent on client guidelines and branding requirements.  So, this solution might not be something that works great as a third party module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said that, I think that .NET provides some pretty nifty tools for dealing with external RSS feeds through the &lt;code&gt;System.ServiceModel.Syndication&lt;/code&gt; library. There's a pretty &lt;a href=&quot;https://blogs.msdn.microsoft.com/steveres/2008/01/20/using-syndicationfeed-to-display-photos-from-spaces-live-com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;extensive demo on how to utilize this on MSDN&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think with just a little bit of elbow grease, you can take this example demo and come up with a component to render an external RSS feed. In an MVC scenario, you can seed the model with the data as a collection of SyndicationItem's.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-11-02T03:44:31.317" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2105" PostTypeId="2" ParentId="1309" CreationDate="2016-11-02T04:11:08.283" Score="1" Body="&lt;p&gt;Taking a stab at this...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not resolve type name:&#xA;  Sitecore.ExperienceAnalytics.Client.Deployment.SegmentStorageProvider,&#xA;  Sitecore.ExperienceAnalytics.Client (method:&#xA;  Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode,&#xA;  String[] parameters, Boolean assert))&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is indicating to me that there is a configuration reference trying to point to &lt;strong&gt;Sitecore.ExperienceAnalytics.Client.Deployment.SegmentStorageProvider&lt;/strong&gt;. ( I can hear it now, &lt;em&gt;&quot;Gee... Thanks Mr. Obvious!&quot;&lt;/em&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, this is the wrong class name, which makes me think this may be a botched upgrade or config transform.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll want to take a look at the &lt;code&gt;Sitecore.ExperienceAnalytics.StorageProviders.config&lt;/code&gt; and make sure that &lt;strong&gt;primary&lt;/strong&gt; and &lt;strong&gt;secondary&lt;/strong&gt; Segment Storage Provider types are pointing to &lt;strong&gt;&lt;code&gt;Sitecore.ExperienceAnalytics.Client.Deployment.AggregationSegmentStorageProvider, Sitecore.ExperienceAnalytics.Client&lt;/code&gt;&lt;/strong&gt; (Note: Aggregation in the class name)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should look something like this in &lt;code&gt;showconfig.aspx&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;primarySegmentStorageProvider type=&quot;Sitecore.ExperienceAnalytics.Client.Deployment.AggregationSegmentStorageProvider, Sitecore.ExperienceAnalytics.Client&quot; singleInstance=&quot;true&quot; patch:source=&quot;Sitecore.ExperienceAnalytics.StorageProviders.config&quot;&amp;gt;&#xA;    &amp;lt;param ref=&quot;experienceAnalytics/deployment/services/aggregationSegmentRepository&quot; /&amp;gt;&#xA;    &amp;lt;param ref=&quot;experienceAnalytics/deployment/logger&quot; /&amp;gt;&#xA;  &amp;lt;/primarySegmentStorageProvider&amp;gt;&#xA;  &amp;lt;secondarySegmentStorageProvider type=&quot;Sitecore.ExperienceAnalytics.Client.Deployment.AggregationSegmentStorageProvider, Sitecore.ExperienceAnalytics.Client&quot; singleInstance=&quot;true&quot; patch:source=&quot;Sitecore.ExperienceAnalytics.StorageProviders.config&quot;&amp;gt;&#xA;    &amp;lt;param ref=&quot;experienceAnalytics/deployment/services/secondaryAggregationSegmentRepository&quot; /&amp;gt;&#xA;    &amp;lt;param ref=&quot;experienceAnalytics/deployment/logger&quot; /&amp;gt;&#xA;  &amp;lt;/secondarySegmentStorageProvider&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="104" LastEditDate="2016-11-02T06:33:00.780" LastActivityDate="2016-11-02T06:33:00.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2106" PostTypeId="2" ParentId="2070" CreationDate="2016-11-02T04:30:54.673" Score="13" Body="&lt;p&gt;I did some research and for simple scenario unpublished content is deleted from the index. In my case, it was Lucene, but that shouldn't be really matter because all relevant code is stored in &lt;code&gt;Sitecore.ContentSearch.dll&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Scenario that I executed:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create the Item&lt;/li&gt;&#xA;&lt;li&gt;Publish it&lt;/li&gt;&#xA;&lt;li&gt;In Item Publishing Setting uncheck &lt;code&gt;Publishable&lt;/code&gt; check-box&lt;/li&gt;&#xA;&lt;li&gt;Publish Item again&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Now lets talk about what happens behind the scene when last step from that scenario is executed and how you can trace these actions to see what does not work in your case.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Schedule Publishing&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Publishing Start&lt;/code&gt; event is tracked in &lt;code&gt;Core&lt;/code&gt; database.&lt;/p&gt;&#xA;&lt;p&gt;Checks &lt;code&gt;EventQueue&lt;/code&gt; table in &lt;code&gt;Core&lt;/code&gt; to find recent &lt;code&gt;StartPublishingRemoteEvent&lt;/code&gt; event. I used SQL query below for that:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;SELECT TOP 100 *&#xA;FROM [MySiteSitecore_Core].[dbo].[EventQueue]&#xA;order by Created desc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This is key data from that event:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;InstanceType - Sitecore.Publishing.StartPublishingRemoteEvent, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null&lt;/li&gt;&#xA;&lt;li&gt;InstanceData - {&amp;quot;ClientLanguage&amp;quot;:&amp;quot;en&amp;quot;,&amp;quot;EventName&amp;quot;:&amp;quot;publish:startPublishing&amp;quot;,&amp;quot;Options&amp;quot;:[{&amp;quot;CompareRevisions&amp;quot;:false,&amp;quot;Deep&amp;quot;:false,&amp;quot;FromDate&amp;quot;:&amp;quot;/Date(1478021589129)/&amp;quot;,&amp;quot;LanguageName&amp;quot;:&amp;quot;en&amp;quot;,&amp;quot;Mode&amp;quot;:3,&amp;quot;PublishDate&amp;quot;:&amp;quot;/Date(1478051240384)/&amp;quot;,&amp;quot;PublishRelatedItems&amp;quot;:false,&amp;quot;PublishingTargets&amp;quot;:[&amp;quot;{8E080626-DDC3-4EF4-A1D1-F0BE4A200254}&amp;quot;],&amp;quot;RecoveryId&amp;quot;:&amp;quot;c97366e7-7272-4314-9fa3-66accb915a02&amp;quot;,&amp;quot;RepublishAll&amp;quot;:false,&amp;quot;RootItemId&amp;quot;:&amp;quot;ef9ec5da-53ca-453a-b57f-4b8ff33166c5&amp;quot;,&amp;quot;SourceDatabaseName&amp;quot;:&amp;quot;master&amp;quot;,&amp;quot;TargetDatabaseName&amp;quot;:&amp;quot;web&amp;quot;,&amp;quot;UserName&amp;quot;:&amp;quot;sitecore\admin&amp;quot;}],&amp;quot;PublishingServer&amp;quot;:&amp;quot;DESKTOP-3E7ETU9-Sitecore82&amp;quot;,&amp;quot;StatusHandle&amp;quot;:{&amp;quot;instanceName&amp;quot;:&amp;quot;DESKTOP-3E7ETU9-Sitecore82&amp;quot;,&amp;quot;m_handle&amp;quot;:&amp;quot;83a9d418-514c-45fd-ac44-4d4dbc5ec0e9&amp;quot;},&amp;quot;UserName&amp;quot;:&amp;quot;sitecore\admin&amp;quot;}&lt;/li&gt;&#xA;&lt;li&gt;Created - 2016-11-02 01:47:20.387 (UTC timezone)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;That row contains full definition of publishing process.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Publishing&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Sitecore takes publishing definition from previous steps and based on that definition it finds all the Items to be affected. With that list it executes modifications over these items in &lt;code&gt;Web&lt;/code&gt; database.&lt;/p&gt;&#xA;&lt;p&gt;Traces of these modifications stored in &lt;code&gt;EventQueue&lt;/code&gt; table but in &lt;code&gt;Web&lt;/code&gt; database.&lt;/p&gt;&#xA;&lt;p&gt;We are looking here for &lt;code&gt;DeletedItemRemoteEvent&lt;/code&gt; event.&lt;/p&gt;&#xA;&lt;p&gt;This is what I found in my case:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Instance Type - Sitecore.Data.Eventing.Remote.DeletedItemRemoteEvent, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null&lt;/li&gt;&#xA;&lt;li&gt;InstanceData - {&amp;quot;ItemId&amp;quot;:&amp;quot;ef9ec5da-53ca-453a-b57f-4b8ff33166c5&amp;quot;,&amp;quot;ItemName&amp;quot;:&amp;quot;TestItem&amp;quot;,&amp;quot;LanguageName&amp;quot;:&amp;quot;en&amp;quot;,&amp;quot;TemplateId&amp;quot;:&amp;quot;76036f5e-cbce-46d1-af0a-4143f9b557aa&amp;quot;,&amp;quot;VersionNumber&amp;quot;:1,&amp;quot;ParentId&amp;quot;:&amp;quot;110d559f-dea5-42ea-9c1c-8a5df7e70ef9&amp;quot;}&lt;/li&gt;&#xA;&lt;li&gt;Created - 2016-11-02 01:47:20.860 (UTC timezone)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;With that information Sitecore knows what and how was modified in &lt;code&gt;Web&lt;/code&gt;. There is lots of other events to cover other scenarios. These are events that &lt;code&gt;BaseAsynchronousStrategy&lt;/code&gt; is looking for:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;eventQueueQuery.EventTypes.Add(typeof(RemovedVersionRemoteEvent));&#xA;eventQueueQuery.EventTypes.Add(typeof(SavedItemRemoteEvent));&#xA;eventQueueQuery.EventTypes.Add(typeof(DeletedItemRemoteEvent));&#xA;eventQueueQuery.EventTypes.Add(typeof(MovedItemRemoteEvent));&#xA;eventQueueQuery.EventTypes.Add(typeof(AddedVersionRemoteEvent));&#xA;eventQueueQuery.EventTypes.Add(typeof(CopiedItemRemoteEvent));&#xA;eventQueueQuery.EventTypes.Add(typeof(RestoreItemCompletedEvent));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Index Update&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Sitecore uses &lt;code&gt;OnPublishEndAsynchronousStrategy&lt;/code&gt; to update indexes built on top of &lt;code&gt;Web&lt;/code&gt; database:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;onPublishEndAsync type=&amp;quot;Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;    &amp;lt;param desc=&amp;quot;database&amp;quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;    &amp;lt;CheckForThreshold&amp;gt;true&amp;lt;/CheckForThreshold&amp;gt;&#xA;&amp;lt;/onPublishEndAsync&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;With that strategy, Sitecore constantly compares index last update time-stamp and time-stamp of last event in event queue to detect events happened after index being updated. If such events found, Sitecore checks events queue in &lt;code&gt;Web&lt;/code&gt; database to see what data was modified. Based on these findings, &lt;code&gt;OnPublishEndAsynchronousStrategy&lt;/code&gt; generates list of &lt;code&gt;IndexableInfo&lt;/code&gt; objects and later concrete Index provider (Lucene or Solr) pushes data to the Index.&lt;/p&gt;&#xA;&lt;p&gt;The simplest way to find if that happened is to check &lt;code&gt;Crawling&lt;/code&gt; log. My log contains these entries (set Debug mode in Log config to see all the entries):&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;12792 21:47:21 DEBUG [Index=sitecore_web_index] OnPublishEndAsynchronousStrategy executing.&lt;/p&gt;&#xA;&lt;p&gt;12792 21:47:21 INFO [Index=sitecore_web_index] Updating '1' items from Event Queue.&lt;/p&gt;&#xA;&lt;p&gt;12792 21:47:21 DEBUG IndexCustodian. IncrementalUpdate triggered on index sitecore_web_index. Data=Count=1&lt;/p&gt;&#xA;&lt;p&gt;ManagedPoolThread #16 21:47:21 DEBUG [Index=sitecore_web_index] Committing: Add: 0; Update:0; DeleteUnique: 0; DeleteGroup: 1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;As you can see, Item was deleted. Group is a 'nickname' for Item ID in Content Search world.&lt;/p&gt;&#xA;&lt;p&gt;I am not sure if this will work for all possible scenarios, but you can use this info to troubleshoot your case.&lt;/p&gt;&#xA;&lt;p&gt;P.S. All above was checked in Sitecore 8.2.&lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-02T04:30:54.673" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2107" PostTypeId="2" ParentId="408" CreationDate="2016-11-02T06:00:27.623" Score="1" Body="&lt;p&gt;Migration from 6.5 to 8.2 depends on various parameter as below, considering all these factor your migration strategy may be different&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;your current sitecore architecture&lt;/li&gt;&#xA;&lt;li&gt;Sitecore search lucence,solr,coveo or other?&lt;/li&gt;&#xA;&lt;li&gt;sitecore custom implementation means how much you have customized your existing system, including pipeline customization,WFFM,customization etc&lt;/li&gt;&#xA;&lt;li&gt;Workflow customization, as in new version some workflow pipeline has been changed&lt;/li&gt;&#xA;&lt;li&gt;DMS implementation, as DMS t XDB is against a new chapter of migration&lt;/li&gt;&#xA;&lt;li&gt;Page editor mode?&lt;/li&gt;&#xA;&lt;li&gt;Third party implementation means CRM, Sales force or any other connector implemented in the current system &lt;/li&gt;&#xA;&lt;li&gt;Current technology may be you are using Webform and want to migrate in MVC.&lt;/li&gt;&#xA;&lt;li&gt;Any other custom module installation&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And many more....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also refers some good blog on the same:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good blog by akshay sura:&#xA;&lt;a href=&quot;https://community.sitecore.net/members/akshaysura_5f00_1413267979&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/members/akshaysura_5f00_1413267979&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another good blog by Jan Bluemink&#xA;&lt;a href=&quot;http://sitecore.stockpick.nl/english/upgrade-and-modules.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.stockpick.nl/english/upgrade-and-modules.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2016-11-02T06:00:27.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2108" PostTypeId="1" AcceptedAnswerId="2123" CreationDate="2016-11-02T06:43:39.590" Score="4" ViewCount="2340" Body="&lt;p&gt;I have inherited a Sitecore website with a public class named GatedPageResolver that inherits the Sitecore.Pipelines.HttpRequest.HttpRequestProcessor class and adds code to look for a Boolean check box value on a Sitecore template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The GatedPageResolver is wired into the execution pipeline so that it is called for every HTTP Request.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyCompany.Framework.Pipelines.HttpRequestBegin.GatedPageResolver, MyCompany.Framework&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;/&amp;gt;    &#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, the code does not seem to get called.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have verified the config file code using the Sitecore Config Builder tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something?&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="104" LastEditDate="2016-11-02T13:22:07.527" LastActivityDate="2016-11-02T13:38:11.810" Title="How can I find out why my custom `httpRequestBegin` processor is not executed?" Tags="|configuration|pipelines|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2109" PostTypeId="2" ParentId="2108" CreationDate="2016-11-02T07:01:43.480" Score="2" Body="&lt;p&gt;If this is your complete config file, try to add this at the beginning:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Two another things you could verify:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Can you see the processor in /sitecore/admin/showconfig.aspx? if not, than your patchfile doesn't get loaded&lt;/li&gt;&#xA;&lt;li&gt;You could put a breakpoint at the first line of your code, maybe there is a bug in it, preventing your code from being executed?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="71" LastEditorUserId="104" LastEditDate="2016-11-02T08:06:25.947" LastActivityDate="2016-11-02T08:06:25.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2110" PostTypeId="5" CreationDate="2016-11-02T08:57:20.603" Score="0" Body="&lt;p&gt;To quickly test ContentSearch API with no code deployment, since Sitecore 7.0 and newer you can use the admin tool called LINQ ScratchPad - /sitecore/admin/LinqScratchPad.aspx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would simply adjust the LINQ Query as needed.&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="2395" LastEditDate="2017-11-14T13:05:16.000" LastActivityDate="2017-11-14T13:05:16.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2111" PostTypeId="4" CreationDate="2016-11-02T08:57:20.603" Score="0" Body="Questions about searching (querying) Sitecore projects with the ContentSearch API. Use the Lucene or Solr (or Coveo) tags if the question is specific for any of those technologies.&#xD;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-02T09:19:28.653" LastActivityDate="2016-11-02T09:19:28.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2112" PostTypeId="2" ParentId="2108" CreationDate="2016-11-02T09:09:33.187" Score="2" Body="&lt;p&gt;Are you using Sitecore.MVC?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.MVC.config&lt;/code&gt; patches itself in after the ItemResolver as well, and I'm thinking you may end up &lt;em&gt;after&lt;/em&gt; the MVC patches. And if so, Sitecore might have decided it's an MVC request and aborted this pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.HttpRequest.DisplayFatalErrors, Sitecore.Mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.IgnoreList, Sitecore.Kernel']&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.HttpRequest.TransferRoutedRequest, Sitecore.Mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.HttpRequest.TransferControllerRequest, Sitecore.Mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.LayoutResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.HttpRequest.TransferMvcLayout, Sitecore.Mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.LayoutResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;  &amp;lt;/httpRequestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the processor you need to get in before.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.HttpRequest.TransferRoutedRequest, Sitecore.Mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-02T09:09:33.187" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2114" PostTypeId="1" AcceptedAnswerId="2115" CreationDate="2016-11-02T09:18:51.313" Score="7" ViewCount="697" Body="&lt;p&gt;How does Sitecore classify the site visitors into different online/offline channels? I understand that Sitecore and other Analytics systems use the &lt;strong&gt;ref&lt;/strong&gt; or referral &lt;strong&gt;q&lt;/strong&gt; keyword for this classification. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked into the DetermineInteractionChannel pipeline to understand the underlying algorithm, but I can't answer the below questions.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;What is the algorithm or keywords to differentiate Social channels (Social community, Social mentions, social sponsored posts)?. Is this content managed?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Does Sitecore maintain a dictionary item for this - &lt;code&gt;Tracker.Dictionaries.ReferringSites&lt;/code&gt; or is this from the Marketing Control Panel -&gt; Taxonomy -&gt; Online -&gt; Social?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If the site visitor is referred to Sitecore from a channel that is not available, how does Sitecore handle this? Is this record also classified or is it rejected?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="106" LastEditorUserId="104" LastEditDate="2016-11-02T10:31:32.850" LastActivityDate="2016-11-02T10:32:54.473" Title="Marketing channel and subchannel classification - how does it work?" Tags="|xdb|experience-analytics|marketing-definitions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2115" PostTypeId="2" ParentId="2114" CreationDate="2016-11-02T10:14:23.793" Score="4" Body="&lt;h1&gt;Channel determining logic&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The settings for setting the channel are located in the following configuration file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Include/Channel/Sitecore.Analytics.Channel.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;determineInteractionChannel&lt;/code&gt; pipeline is used to set the channel of the current interaction. It contains four out-of-the-box processors:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;DefaultChannel&lt;/code&gt;—uses the &quot;Direct&quot; channel by default.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ReferringSite&lt;/code&gt;—uses the channel associated with the referring site of the interaction.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SearchKeywords&lt;/code&gt;—uses the &quot;Organic non-branded search&quot; channel if there are any search keywords associated with the interaction. Keywords are taken from the URL of the first request coming from a search engine, e.g. &lt;code&gt;?q=some%20keywords&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;OrganicBranded&lt;/code&gt;—uses the &quot;Organic branded search&quot; channel in case any of the search keywords associated with the interaction are present in the &lt;code&gt;Keywords&lt;/code&gt; field of the item &lt;code&gt;/sitecore/system/Settings/Analytics/Organic Branded Keywords&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Additionally, there's the &lt;code&gt;SetChannel&lt;/code&gt; processor registered in the &lt;code&gt;triggerCampaign&lt;/code&gt; pipeline. This processor will set the interaction's channel to the channel associated with the campaign being triggered.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Answers to your questions&lt;/h1&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;What is the algorithm or keywords to differentiate Social channels (Social community, Social mentions, social sponsored posts)?. Is this content managed?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;These channels will not be set out of the box. To use them, you have two options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Associate a campaign with each of the keywords and trigger it when a user comes from social sites.&lt;/li&gt;&#xA;&lt;li&gt;Create a new &lt;code&gt;determineInteractionChannel&lt;/code&gt; processor that will set the channel according to your custom logic.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Does Sitecore maintain a dictionary item for this - Tracker.Dictionaries.ReferringSites or is this from the Marketing Control Panel -&gt; Taxonomy -&gt; Online -&gt; Social?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This dictionary contains known referring sites that have been used before. The referring sites are stored in MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If the site visitor is referred to Sitecore from a channel that is not available, how does Sitecore handle this? Is this record also classified or is it rejected?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It doesn't work this way. When a visitor comes to the site, the associated channel is determined based on the logic I described above. If the logic cannot infer any channel, it will default to the &quot;Direct&quot; channel.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-02T10:32:54.473" LastActivityDate="2016-11-02T10:32:54.473" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2117" PostTypeId="2" ParentId="478" CreationDate="2016-11-02T10:53:48.827" Score="5" Body="&lt;p&gt;With the help of Sitecore support I managed to resolve this issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue was occurring due to a number of jobs flooding the queue - this was due to the &lt;code&gt;SyncMaster&lt;/code&gt; strategy. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fix was to change the index strategy to &lt;code&gt;intervalAsyncMaster&lt;/code&gt; in the index configuration config &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexUpdateStrategies/intervalAsyncMaster&quot; /&amp;gt; &#xA;  &amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then to turn off the &lt;code&gt;CheckForThreshold&lt;/code&gt; setting in the index default configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;intervalAsyncMaster type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.IntervalAsynchronousStrategy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;      &amp;lt;param desc=&quot;interval&quot;&amp;gt;00:00:05&amp;lt;/param&amp;gt;&#xA;      &amp;lt;!-- Whether or not a full index rebuild should be triggered when the number of items in the history engine exceeds the number specified &#xA;           in ContentSearch.FullRebuildItemCountThreshold. --&amp;gt;&#xA;      &amp;lt;CheckForThreshold&amp;gt;false&amp;lt;/CheckForThreshold&amp;gt;&#xA;    &amp;lt;/intervalAsyncMaster&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="222" LastEditorUserId="222" LastEditDate="2016-11-02T11:10:27.970" LastActivityDate="2016-11-02T11:10:27.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2118" PostTypeId="1" AcceptedAnswerId="2398" CreationDate="2016-11-02T11:00:55.843" Score="4" ViewCount="324" Body="&lt;p&gt;We're using Angular to handle site's front-end, and I'd like to add some events which happen there, like opening &quot;new&quot; pages based on JavaScript to Path Analyzer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how I tried to do it:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var pageEventData = new PageEventData(&quot;Page Visited&quot;, new System.Guid(&quot;7DAF6F40-87EA-4594-B977-4994E5B439D3&quot;))&#xA;{&#xA;    ItemId = new System.Guid(&quot;92B09B21-3B5B-43E3-939D-A1C62779AED9&quot;),&#xA;    Data = title,&#xA;    Text = &quot;page &quot;+ title + &quot; was visited&quot;&#xA;};&#xA;&#xA;Tracker.Current.Session.Interaction.PreviousPage.Register(pageEventData);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(where &quot;7DAF6...&quot; is id of /sitecore/system/Settings/Analytics/Page Events/Page visited event and &quot;92B.. &quot; just a random id of one of the page items I use for testing)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this seems wrong, even though the event actually gets registered to Mongo's db.Interactions table as a PageEvent of 'Page visited' type, I don't see it in Path Analyzer. Is there actually a way to simulate a new page being visited and get a new node to be added to Sitecore's Path Analyzer?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example of what gets registered in the db.interactions table: &lt;a href=&quot;https://gist.github.com/epetrashen/92d2fe0e8b882932e2cf88cebe8868f3&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/epetrashen/92d2fe0e8b882932e2cf88cebe8868f3&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1034" LastEditorUserId="1034" LastEditDate="2016-11-09T09:42:50.060" LastActivityDate="2016-11-09T16:12:41.847" Title="How to get a front-end event to show up in Path Analyzer?" Tags="|events|path-analyzer|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="2119" PostTypeId="2" ParentId="316" CreationDate="2016-11-02T11:44:43.533" Score="6" Body="&lt;p&gt;I'd like to add that &lt;strong&gt;Mobile SDK for Xamarin&lt;/strong&gt; with Sitecore Services Client support have been released. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Available as usual on &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Mobile_SDK_SSC__for_Xamarin/10/Sitecore_Mobile_SDK_SSC_10_for_Xamarin.aspx&quot; rel=&quot;noreferrer&quot;&gt;dev.sitecore.net&lt;/a&gt;, &lt;a href=&quot;https://www.nuget.org/packages/Sitecore.MobileSDK.SSC&quot; rel=&quot;noreferrer&quot;&gt;Nuget&lt;/a&gt;, &lt;a href=&quot;https://components.xamarin.com/view/sitecore.mobilesdk.ssc&quot; rel=&quot;noreferrer&quot;&gt;Xamarin Store&lt;/a&gt;, &lt;a href=&quot;https://github.com/Sitecore/sitecore-mobile-pcl-sdk&quot; rel=&quot;noreferrer&quot;&gt;Github&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="812" LastActivityDate="2016-11-02T11:44:43.533" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2121" PostTypeId="1" CreationDate="2016-11-02T12:57:21.357" Score="17" ViewCount="813" Body="&lt;p&gt;I've ran into a number of different scenarios lately around xDB and data retention and archiving.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;What is the best practice for archiving data in xDB in general? For example, is there a best practice for how long to keep anonymous data? By archiving or outright deleting that data, rebuilding the reporting database will no longer give full historic data, right?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For PHI environments that require 8-10 years of data retention, what is the best practice for archiving that data? Another Mongo instance? Encrypted to disk? How is this accomplished?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="98" LastActivityDate="2016-11-09T20:12:09.930" Title="What are options for archiving xDB data?" Tags="|best-practices|xdb|mongodb|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2122" PostTypeId="1" AcceptedAnswerId="2164" CreationDate="2016-11-02T13:10:24.217" Score="4" ViewCount="330" Body="&lt;p&gt;With the switch to Sitecore 8 we've recently begun using Sitecore Rocks for development.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Rocks adds at least the following files to the site (we're a little backwards still in that our working project directory is currently built on top of the core Sitecore files, but we do at least web publish to a different directory):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Website/sitecore/shell/WebService/Browse.aspx&lt;/li&gt;&#xA;&lt;li&gt;Website/sitecore/shell/WebService/Service2.asmx&lt;/li&gt;&#xA;&lt;li&gt;Website/sitecore/shell/WebService/Sitecore.Rocks.Validation.ashx&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And the following to the project directory:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;*.csproj.sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Since a username is added to the &lt;strong&gt;*.csproj.sitecore&lt;/strong&gt; file I assume that should be excluded, but are there any other Sitecore Rocks-related files that should be excluded from source control?&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2016-11-02T22:32:03.570" Title="How should we update our .gitignore when using Sitecore Rocks?" Tags="|sitecore-rocks|git|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2123" PostTypeId="2" ParentId="2108" CreationDate="2016-11-02T13:13:29.657" Score="9" Body="&lt;p&gt;The usual path I take when approaching these things is to use &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-pipeline-profiling&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;pipeline profiling&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the &lt;code&gt;pipelines.aspx&lt;/code&gt; page and check if your processor is there, at all. If it isn't, you'll need to review your .config patch file.&lt;/li&gt;&#xA;&lt;li&gt;Clear the result set by clicking &quot;Reset&quot;.&lt;/li&gt;&#xA;&lt;li&gt;In another tab, make an HTTP request to a page on your site.&lt;/li&gt;&#xA;&lt;li&gt;Refresh &lt;code&gt;pipelines.aspx&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The above steps will show you which processors were run for a single page request and how many times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check if all processors in the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline have the same execution counts. If some processors have fewer executions, that means that some processor has aborted the pipeline before the execution got to your custom processor. In this case, you'll probably need to insert your processor further up in the pipeline so that it is executed before the aborting processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If all processors were executed the same amount of times (that is greater than zero), that means that your custom processor &lt;strong&gt;was&lt;/strong&gt; executed. Which in turn means that you didn't use a correct way of checking whether it was executed to begin with.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-02T13:38:11.810" LastActivityDate="2016-11-02T13:38:11.810" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2124" PostTypeId="1" AcceptedAnswerId="2197" CreationDate="2016-11-02T13:24:39.153" Score="25" ViewCount="6589" Body="&lt;p&gt;I have a request from a customer to publish (some) content at a very specific time. The content will be generated up front (can be day before, we don't actually know) and will get publish restrictions to make sure it is not published before the actual time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am aware that there is a publish agent that can do this publish, but the problem is that the agent will run every x minutes and if set in minutes the minimum we can set is &quot;1&quot; (and actually client would rather have seconds).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But.. I don't want to set the publish agent interval to 1 minute as I have a strong feeling that this will not benefit the performance of the site. Especially knowing that this &quot;specific time&quot; will only happen 2 to 4 times a year.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on how I can achieve a very punctual (occasional) publish without affecting the site's performance?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-28T20:02:57.520" Title="Publish at very specific time" Tags="|publishing|" AnswerCount="9" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2126" PostTypeId="2" ParentId="2038" CreationDate="2016-11-02T13:42:30.280" Score="3" Body="&lt;p&gt;There's a Sitecore guide on how to create custom reports here:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/creating-a-custom-experience-analytics-report.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/creating-a-custom-experience-analytics-report.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Steps below:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a report page item based on template &lt;code&gt;ExperienceAnalyticsReportPage&lt;/code&gt; under: &lt;code&gt;core/sitecore/client/Applications/ExperienceAnalytics/Dashboard&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Add a chart rendering to the report page item. You can use an existing one (e.g. &lt;code&gt;ExperienceAnalyticsAreaChart&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Add a parameters item to the &lt;code&gt;PageSettings&lt;/code&gt; item and set metric and segments of the chart&lt;/li&gt;&#xA;&lt;li&gt;Set datasource of chart rendering (step 2) to the recently created parameters items&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="88" LastEditorUserId="73" LastEditDate="2021-05-24T09:18:08.083" LastActivityDate="2021-05-24T09:18:08.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2127" PostTypeId="2" ParentId="2124" CreationDate="2016-11-02T13:44:49.327" Score="7" Body="&lt;p&gt;I'm going to say you can't do it with traditional Sitecore publishing (but happy to be corrected). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason being with the best will in the world you can't guarantee 'to the second publishing'; Sitecore is a massive framework and multiple users could be publishing different content at the same time you have no control over the order it will be published in, plus general latency of shifting data between master and web databases will differ depending on how busy the site is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;A possible custom solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said what perhaps you could do something like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use one of the publishing frameworks to publish at a suitable schedule, set your publish date for the item so it publishes ahead of when you want it displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add  a custom publish date field which controls when the page is visible on the web db, check this as the page renders, if the time has passed, show the page; if it's still before the correct time then temp redirect to the home page.&lt;/p&gt;&#xA;" OwnerUserId="87" LastActivityDate="2016-11-02T13:44:49.327" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2128" PostTypeId="2" ParentId="2067" CreationDate="2016-11-02T13:58:19.363" Score="2" Body="&lt;p&gt;Glass doesn't impose any length limitations on field names so I would be surprised if it was this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We normally find that these kinds of intermittent issues are caused because the properties haven't been marked as virtual. If you can post your models as part of the question this will be easy to see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mike&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2016-11-02T13:58:19.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2129" PostTypeId="2" ParentId="2124" CreationDate="2016-11-02T14:04:51.010" Score="17" Body="&lt;p&gt;You could use SiteCron to do this job. &#xA;SiteCron is a scheduling module based on Quartz.NET Job Scheduler. SiteCron can be used to create simple or complex schedules to execute jobs. This functionality is implemented using Quartz’s CronTrigger.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;“Quartz.NET is a pure .NET library written in C# and is a port of very popular open source Java job scheduling framework, Quartz.”&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cron has been around for a long time and is known for its powerful scheduling capabilities. CronTrigger in Quartz is based on the scheduling capabilities of cron and uses “cron expressions” to execute the jobs. Cron expressions specify the condition to fire the job such as execute this job at 8AM each day.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The current implementation of SiteCron only uses CronTrigger functionality of Quartz, which is more useful than the SimpleTrigger. It lets you have a job-firing schedule that recurs based on calendar type scenarios rather than on the exactly specified intervals of SimpleTrigger. The interval based jobs can be run using Sitecore agents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CronTrigger lets you fire jobs based on schedules such as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fire job every friday at 9PM&#xA;Fire job every day at 8AM from monday to thursday&#xA;Fire job every 3 minutes from 2PM to 4PM&#xA;Fire job at 3 pm on monday and wednesday&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some useful links:&#xA;&lt;a href=&quot;https://www.akshaysura.com/video/sitecron-demo/&quot; rel=&quot;noreferrer&quot;&gt;https://www.akshaysura.com/video/sitecron-demo/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.akshaysura.com/2015/06/23/sitecron-sitecore-module-for-your-everyday-scheduling-needs/&quot; rel=&quot;noreferrer&quot;&gt;https://www.akshaysura.com/2015/06/23/sitecron-sitecore-module-for-your-everyday-scheduling-needs/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.akshaysura.com/2015/06/25/smart-and-incremental-publish-using-sitecron-for-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://www.akshaysura.com/2015/06/25/smart-and-incremental-publish-using-sitecron-for-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-11-02T14:04:51.010" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2130" PostTypeId="1" AcceptedAnswerId="2132" CreationDate="2016-11-02T14:18:02.373" Score="3" ViewCount="523" Body="&lt;p&gt;In Sitecore 8.1, opening FormDesigner gives the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[NullReferenceException: Object reference not set to an instance of an&#xA;  object.]&lt;br&gt;&#xA;  Sitecore.Forms.Shell.UI.Controls.FormSettingsDesigner.set_TitleTags(String[]&#xA;  value) +26    Sitecore.Forms.Shell.UI.FormDesigner.LoadControls() +795&#xA;  Sitecore.Forms.Shell.UI.FormDesigner.OnLoad(EventArgs e) +123&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TargetInvocationException: Exception has been thrown by the target of&#xA;  an invocation.]    System.RuntimeMethodHandle.InvokeMethod(Object&#xA;  target, Object[] arguments, Signature sig, Boolean constructor) +0&lt;br&gt;&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments) +128&lt;br&gt;&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;  +146    Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&lt;br&gt;&#xA;  Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +594&lt;br&gt;&#xA;  System.Web.UI.Control.LoadRecursive() +68&lt;br&gt;&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;  +4498&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The form is working fine, I think this is an upgrade issue.&lt;/p&gt;&#xA;" OwnerUserId="1036" LastEditorUserId="408" LastEditDate="2016-11-02T14:55:34.163" LastActivityDate="2016-11-03T07:31:24.750" Title="WFFM FormDesigner error" Tags="|wffm|sitecore-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2132" PostTypeId="2" ParentId="2130" CreationDate="2016-11-02T14:48:06.440" Score="1" Body="&lt;p&gt;Check your Sitecore.Forms.dll version. If you upgraded your Sitecore instance then you also need to upgrade WFFM. Here you can find all WFFM versions - &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx&quot; rel=&quot;nofollow&quot;&gt;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-11-03T07:31:24.750" LastActivityDate="2016-11-03T07:31:24.750" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2133" PostTypeId="1" AcceptedAnswerId="2134" CreationDate="2016-11-02T15:03:18.517" Score="3" ViewCount="2347" Body="&lt;p&gt;I have a rendering that has a Datasource Template of a menu container. When I change the datasource of the rendering, I can create a new Menu Container. But I would also like to add a new menu item to that container via the UI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I imagine its a custom button in the ribbon of the rendering and a Edit Frame for the item properties? Are there any guidelines I could follow to accomplish this?&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="408" LastEditDate="2016-11-02T17:40:02.953" LastActivityDate="2016-11-02T17:40:02.953" Title="Adding a new child item to a datasource for a rendering" Tags="|content-editor|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2134" PostTypeId="2" ParentId="2133" CreationDate="2016-11-02T15:13:34.523" Score="10" Body="&lt;p&gt;There's a straight-forward way to add an Insert button to the Edit Frame of components.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Set Experience Editor Buttons&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore comes with some Custom Experience Buttons which can be added to renderings. To achieve what you want, add the &lt;em&gt;Insert&lt;/em&gt; one to your rendering:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/v5CNG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/v5CNG.png&quot; alt=&quot;Adding Insert button to rendering&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When added, you'll see the icon appear in the Edit Frame of the rendering:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/REWst.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/REWst.png&quot; alt=&quot;Demo of edit frame with insert button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Set the Insert Options&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;When the Insert button is clicked, it triggers a dialog that allows the user to select a template to insert. The templates that are shown are based on the &lt;em&gt;Insert Options&lt;/em&gt; of the datasource template's Standard Values, so you should make sure you add the valid templates there.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-11-02T15:13:34.523" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2135" PostTypeId="2" ParentId="2124" CreationDate="2016-11-02T15:15:48.130" Score="7" Body="&lt;p&gt;We handle publishing items to the minute/second by creating an additional field called &quot;LiveDate&quot;.  What's great about the LiveDate enhancement is that content can get loaded into the site for the future and will only display on the site once the LiveDate criteria is met.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously this takes a little more development to setup correctly, because you need to have logic in place to check the live date to ensure it's met before content displays on the site.  Also it can complicate Html Caching, because typically publishing items to the web database triggers the cache to clear.  But with a LiveDate a publish wouldn't occur because the content already exists in the web database.  To solve that issue, you can use the HtmlCache Clear task to wipe the cache on a timed interval.  Or you could alter the Html Cache settings to also expire the cache on a specific interval.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously if your content needs to be appear at a very specific time, caching the component would present problems still in this scenario.  And it might make sense to avoid using caching on the component.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2016-11-02T15:15:48.130" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2136" PostTypeId="5" CreationDate="2016-11-02T15:43:13.113" Score="0" Body="&lt;p&gt;&lt;a href=&quot;http://vsplugins.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Rocks&lt;/a&gt; is a plugin that allows developers to interact with Sitecore directly from Visual Studio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also a standalone application called Sitecore Rocks Windows that does not require Visual Studio.&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2016-11-02T16:00:59.623" LastActivityDate="2016-11-02T16:00:59.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2137" PostTypeId="4" CreationDate="2016-11-02T15:43:13.113" Score="0" Body="Questions about the Sitecore Rocks Visual Studio plugin, or stand-alone Windows application." OwnerUserId="288" LastEditorUserId="288" LastEditDate="2016-11-02T16:00:56.680" LastActivityDate="2016-11-02T16:00:56.680" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2138" PostTypeId="1" AcceptedAnswerId="2141" CreationDate="2016-11-02T15:58:52.763" Score="3" ViewCount="72" Body="&lt;p&gt;We are not seeing analytics passed through to Coveo Cloud when we run site in &quot;live&quot; mode.  Where the database is set to &quot;master&quot; rather than &quot;web&quot;.&lt;/p&gt;&#xA;" OwnerUserId="498" LastActivityDate="2016-11-02T19:16:35.150" Title="Coveo Cloud Not Registering Analytics when Running In Live Mode" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2139" PostTypeId="1" CreationDate="2016-11-02T16:11:28.960" Score="3" ViewCount="902" Body="&lt;p&gt;I have two templates that look like the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Article&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Title : Single Line&lt;/li&gt;&#xA;&lt;li&gt;Categories : Multilist &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Pulls in Another Item that provides a level of taxonomy to these articles.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Category&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Title : Single Line&lt;/li&gt;&#xA;&lt;li&gt;Description : Multiline&lt;/li&gt;&#xA;&lt;li&gt;Image : Image&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So the issue is that we have a Article where the language context on the page is &lt;code&gt;en-GB&lt;/code&gt;, anything on that page that has items with a version in &lt;code&gt;en-GB&lt;/code&gt; should pull from that language version.  If it doesn't exist in that version it would fall back to &lt;code&gt;en&lt;/code&gt; language (default language on the site).  That all works correctly except when I have a property in Glass Mapper.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if I'm on that page and the language context is &lt;code&gt;en-GB&lt;/code&gt;, but the article falls back (correctly to &lt;code&gt;en&lt;/code&gt;) but there is an &lt;code&gt;en-GB&lt;/code&gt; version of the Category which is a property of Glass Model Article.  Instead of pulling the &lt;code&gt;en-GB&lt;/code&gt; version based on the context of the page, it'll just pull the &lt;code&gt;en&lt;/code&gt; version because the Article fell back to that language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is there a way to fix this in Glass?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h3&gt;Version Information&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.1-2&lt;/li&gt;&#xA;&lt;li&gt;Glass Mapper: 4.0.5.54&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="246" LastEditDate="2016-11-02T17:43:26.397" LastActivityDate="2017-01-01T23:09:12.827" Title="Language Fallback with Glass Mapper" Tags="|glass-mapper|language-fallback|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2140" PostTypeId="2" ParentId="2044" CreationDate="2016-11-02T16:16:03.707" Score="11" Body="&lt;p&gt;&lt;strong&gt;Background information&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The answer depends on your environment configuration. If you have a single server setup (i.e. the server is configured as both CD and CM) the solution is simple (read on), if the server roles are split on multiple servers e.g. one CD server, one CM etc. the solution is a bit more complicated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Modules.EmailCampaign.ClientApi()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is the right entry point for working (programmatically) with EXM. On a scaled environment this ensures that if you call e.g. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Modules.EmailCampaign.ClientApi&#xA;.SendStandardMessage(new Guid(MessageId), new XdbContactId(contact.ContactId), true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;from a CD server, the dispatch will be made from the CM server as the ClientAPI makes a request to the ecmclientservice.asmx (as defined in the connection string, see &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/setting_up_exm/configuration/walkthrough_configuring_the_exm_module_in_a_scaled_environment&quot; rel=&quot;noreferrer&quot;&gt;configuring EXM in a scaled environment&lt;/a&gt;). This is necessary as the CD role is not configured to dispatch, and in most cases you don't want it to be, as this can take up a lot of resources. Unfortunately the ClientAPI does not currently support custom tokens for automated messages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming you have created and activated the following automated (previously known as triggered) message (highlights added for tokens):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OGAg8.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OGAg8.png&quot; alt=&quot;automated message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The method&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Modules.EmailCampaign.Application.EmailDispatch.EmailDispatch.SendTriggered(Guid messageId, RecipientId recipientId, bool usePreferredLanguage = false, IDictionary&amp;lt;string, object&amp;gt; customPersonTokens = null)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;supports exactly what you're trying to do, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var customPersonTokens = new Dictionary&amp;lt;string, object&amp;gt;&#xA;{&#xA;    {&quot;meterreading&quot;, &quot;your reading&quot; }&#xA;};&#xA;SendTriggered(new Guid(MessageId), new XdbContactId(contact.ContactId), true, customPersonTokens);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will apply both the default tokens (e.g. fullname and email) and the custom tokens, in that order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be executed directly on a single server setup, but for the reasons stated above you will need to create an endpoint on the CM server that you can call from the CD server on a scaled setup. The CM server should execute the SendTriggered() message, and the CD server should send the contact id, message id and any custom tokens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Side note about default tokens&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default tokens are defined in &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Modules.EmailCampaign.Core.Personalization.DefaultRecipientPropertyTokenMap()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You are unable to add your own facets to this, but you can replace it with your own implementation by changing the following element in Sitecore.EmailExperience.Core.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;recipientPropertyTokenMap type=&quot;Sitecore.Modules.EmailCampaign.Core.Personalization.DefaultRecipientPropertyTokenMap, Sitecore.EmailCampaign&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2016-11-03T09:28:04.850" LastActivityDate="2016-11-03T09:28:04.850" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2141" PostTypeId="2" ParentId="2138" CreationDate="2016-11-02T16:16:16.323" Score="3" Body="&lt;p&gt;Open the &lt;code&gt;Coveo.SearchProvider.config&lt;/code&gt; and look for the &lt;code&gt;coveoanalytics&lt;/code&gt; tag. check the database attribute and check it's set to master like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site patch:before=&quot;*[1]&quot; name=&quot;coveoanalytics&quot; virtualFolder=&quot;/coveo/rest/v6/analytics&quot; enableTracking=&quot;true&quot; database=&quot;master&quot; domain=&quot;extranet&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can patch it on the &lt;code&gt;Coveo.SearchProvider.Custom.config&lt;/code&gt; file if you don't want to edit the &lt;code&gt;Coveo.SearchProvider.config&lt;/code&gt; file which I recommend you do this way.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2016-11-02T19:16:35.150" LastActivityDate="2016-11-02T19:16:35.150" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2142" PostTypeId="2" ParentId="1160" CreationDate="2016-11-02T16:36:32.213" Score="4" Body="&lt;p&gt;I have seen the same behavior - what I concluded out of some tests is that WFFM is taking the &quot;title&quot; of the field in which the form was first requested. After that, it will stay in that language until the site restarts. WFFM caches some stuff it should not, and I assume this is one of those. We've had other issues with translations in WFFM due to the same phenomenon (in error reporting). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, as that actually could not really be fixed in our version and we could not wait for a patch, we used the fieldID property instead like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var fieldItem = Sitecore.Context.Database.GetItem(new ID(field.FieldID));&#xA;// use fieldItem.Name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We continued with the fieldItem.Name which is the actual name of the field item in Sitecore - this will not change when switching languages.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-02T16:36:32.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2143" PostTypeId="5" CreationDate="2016-11-02T16:59:26.930" Score="0" Body="&lt;p&gt;More information about Razor syntax is available here: &lt;a href=&quot;http://More%20information%20about%20the%20syntax%20is%20available%20here:%20https://www.asp.net/web-pages/overview/getting-started/introducing-razor-syntax-c&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.asp.net/web-pages/overview/getting-started/introducing-razor-syntax-c&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="10" LastEditorUserId="10" LastEditDate="2016-11-02T18:18:56.560" LastActivityDate="2016-11-02T18:18:56.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2144" PostTypeId="4" CreationDate="2016-11-02T16:59:26.930" Score="0" Body="Questions relating to the Razor syntax used in ASP.NET MVC and ASP.NET Web Pages." OwnerUserId="10" LastEditorUserId="10" LastEditDate="2016-11-02T18:18:59.990" LastActivityDate="2016-11-02T18:18:59.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2145" PostTypeId="1" CreationDate="2016-11-02T17:08:51.347" Score="10" ViewCount="8202" Body="&lt;p&gt;How do I increase session timeout for content authors? Authors complain that the default timeout is far too short.&lt;/p&gt;&#xA;" OwnerUserId="98" LastActivityDate="2016-11-02T17:27:41.853" Title="How do I set session timeouts in Sitecore?" Tags="|session-state|content-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2146" PostTypeId="2" ParentId="2145" CreationDate="2016-11-02T17:15:40.187" Score="17" Body="&lt;p&gt;There are potentially 3 places in the &lt;code&gt;web.config&lt;/code&gt; to modify to extend session timeout:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--  AUTHENTICATION CLIENT SESSION TIMEOUT&#xA;    Specifies the number of minutes before Sitecore considers user authentication session tickets as expired.&#xA;    This setting is only relevant for users logging in to Sitecore Client and when the Sitecore license has a limited number&#xA;    of concurrent editors. &#xA;    All expired sessions will automatically be removed when a new user tries to log in and the maximum&#xA;    number of concurrent editors has been reached. &#xA;    The default is 60 minutes (1 hour).&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Authentication.ClientSessionTimeout&quot; value=&quot;180&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And because Sitecore uses the .NET Membership Provider:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--  AUTHENTICATION &#xA;      This section sets the authentication policies of the application. Possible modes are &quot;Windows&quot;, &quot;Forms&quot;, &#xA;      &quot;Passport&quot; and &quot;None&quot;&#xA;--&amp;gt;&#xA;&amp;lt;authentication mode=&quot;None&quot;&amp;gt;&#xA;  &amp;lt;forms name=&quot;.ASPXAUTH&quot; cookieless=&quot;UseCookies&quot; timeout=&quot;180&quot; /&amp;gt;&#xA;&amp;lt;/authentication&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And finally, session state (you shouldn't using out of proc for CM so it should look like this):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--  SESSION STATE SETTINGS&#xA;      By default ASP .NET uses cookies to identify which requests belong to a particular session. &#xA;      If cookies are not available, a session can be tracked by adding a session identifier to the URL. &#xA;      To disable cookies, set sessionState cookieless=&quot;true&quot;.&#xA;&#xA;      Note that Sitecore does not support cookieless sessions&#xA;      &amp;lt;sessionState mode=&quot;StateServer&quot; stateConnectionString=&quot;tcpip=127.0.0.1:42424&quot; sqlConnectionString=&quot;data source=127.0.0.1;user id=sa;password=&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot;/&amp;gt;&#xA;--&amp;gt;&#xA;&amp;lt;sessionState mode=&quot;InProc&quot; stateConnectionString=&quot;tcpip=127.0.0.1:42424&quot; sqlConnectionString=&quot;data source=127.0.0.1;user id=sa;password=&quot; cookieless=&quot;false&quot; timeout=&quot;180&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="98" LastEditorUserId="10" LastEditDate="2016-11-02T17:27:41.853" LastActivityDate="2016-11-02T17:27:41.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2147" PostTypeId="2" ParentId="2124" CreationDate="2016-11-02T17:21:38.750" Score="3" Body="&lt;p&gt;You could use the in-built Sitecore Task Scheduling, this would let you configure an exact time (aka Schedule) for the publish to take place. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only development required would be to create a custom class with a publish method that called the publish through the Sitecore API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Information on how to trigger a publish programatically can be found at &lt;a href=&quot;http://patrickdelancy.com/2015/01/compare-contrast-ways-programmatically-publish-sitecore-items/#.WBsBgfqLRhE&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://patrickdelancy.com/2015/01/compare-contrast-ways-programmatically-publish-sitecore-items/#.WBsBgfqLRhE&lt;/a&gt; or &lt;a href=&quot;https://briancaos.wordpress.com/2011/01/14/create-and-publish-items-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2011/01/14/create-and-publish-items-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this page for information on how to create a Sitecore Scheduled Task &lt;a href=&quot;http://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="445" LastEditorUserId="445" LastEditDate="2016-11-03T09:32:54.617" LastActivityDate="2016-11-03T09:32:54.617" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2148" PostTypeId="2" ParentId="1674" CreationDate="2016-11-02T17:34:50.960" Score="3" Body="&lt;p&gt;Coming back to this after implementing a solution. In the end I had to write a custom pipeline to replace the out of the box one and wrap the call to GetMediaStream as suggested by Mark &amp;amp; Rich. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm still waiting for Sitecore support to come back to me on this and let me know if there is a better solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code in case anyone else needs to do this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomSaveColorProfileProcessor&#xA;{&#xA;    public void Process(GetMediaStreamPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;&#xA;        var imageIsInvalidForProcessing = !args.MediaData.MimeType.StartsWith(&quot;image/&quot;, StringComparison.Ordinal) &#xA;                 || !args.Options.GetTransformationOptions().ContainsResizing() &#xA;                 || MediaManager.Config.GetImageFormat(args.MediaData.Extension, (ImageFormat)null) == null;&#xA;&#xA;        if (imageIsInvalidForProcessing) return;&#xA;&#xA;        using (Stream mediaStream = args.MediaData.MediaItem.GetMediaStream())&#xA;        {&#xA;            try&#xA;            {&#xA;                PropertyItem propertyItem =&#xA;                    ((IEnumerable&amp;lt;PropertyItem&amp;gt;) new Bitmap(mediaStream).PropertyItems)&#xA;                        .SingleOrDefault&amp;lt;PropertyItem&amp;gt;((Func&amp;lt;PropertyItem, bool&amp;gt;) (x =&amp;gt; x.Id == 34675));&#xA;                if (propertyItem == null)&#xA;                    return;&#xA;                args.CustomData.Add(&quot;ColorProfile&quot;, (object) propertyItem);&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Log.Error(&quot;Error saving colour profile: &quot; + ex.Message, ex);&#xA;                return;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I then patched it in-place of the out of the box one like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;getMediaStream&amp;gt;&#xA;            &amp;lt;processor type=&quot;Custom.Sitecore.Extensions.Pipelines.CustomSaveColorProfileProcessor, Custom.Sitecore.Extensions&quot;&#xA;                                         patch:instead=&quot;processor[@type='Sitecore.Resources.Media.SaveColorProfileProcessor, Sitecore.Kernel']&quot;/&amp;gt;&#xA;&amp;lt;/getMediaStream&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-11-02T17:44:33.347" LastActivityDate="2016-11-02T17:44:33.347" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2150" PostTypeId="2" ParentId="2124" CreationDate="2016-11-02T18:06:11.017" Score="15" Body="&lt;p&gt;I spent some time looking into this recently and we decided to use the following module (built by the Hedgehog guys) and it works really well for us so far for scheduling publishing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx?sc_lang=en&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;It supports the following:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Scheduled Publish &lt;/li&gt;&#xA;&lt;li&gt;Scheduled Unpublish&lt;/li&gt;&#xA;&lt;li&gt;Editing of the schedule&lt;/li&gt;&#xA;&lt;li&gt;Validation / Warnings etc&lt;/li&gt;&#xA;&lt;li&gt;Publish options for modes, children, targets etc&lt;/li&gt;&#xA;&lt;li&gt;Notifications on publish to content authors (+ an email set in the settings if you wish)&lt;/li&gt;&#xA;&lt;li&gt;Lots more too&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;When you install it you get some nice new buttons under the publishing tab:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lNt5A.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lNt5A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;You can then click to scheduled a publish like so:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tzQRG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tzQRG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;And view/edit/cancel existing ones:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kLxOF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kLxOF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Documentation can be found here:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/SCScheduledPublishing/tree/master/Documentation&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/HedgehogDevelopment/SCScheduledPublishing/tree/master/Documentation&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We've had no issues with this so far and it seems to work well.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-11-02T18:06:11.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2151" PostTypeId="1" AcceptedAnswerId="2647" CreationDate="2016-11-02T18:24:26.557" Score="9" ViewCount="2234" Body="&lt;p&gt;I have a rendering that has a custom rendering parameters template.  That rendering parameters template contains an image field.  When I add the component to the page, add an image to the field, and try to save the page, I get the following error in the Sitecore log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3200 13:40:13 ERROR After parsing a value an unexpected character was encountered: {. Path 'scLayout', line 1, position 2665.&#xA;Exception: Newtonsoft.Json.JsonReaderException&#xA;Message: After parsing a value an unexpected character was encountered: {. Path 'scLayout', line 1, position 2665.&#xA;Source: Newtonsoft.Json&#xA;   at Newtonsoft.Json.JsonTextReader.ParsePostValue()&#xA;   at Newtonsoft.Json.JsonTextReader.ReadInternal()&#xA;   at Newtonsoft.Json.JsonTextReader.Read()&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)&#xA;   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)&#xA;   at Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs requestArgs)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I debug I get the following error in Visual Studio:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Web.HttpRequestValidationException occurred&#xA;Message: Exception thrown: 'System.Web.HttpRequestValidationException' in System.Web.dll&#xA;Additional information: A potentially dangerous Request.Form value was detected from the client (data=&quot;...und Image=&amp;lt;image mediaid=&quot;{04D...&quot;).&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This seems to suggest that my Rendering Parameter value is not getting properly encoded before posting back to Sitecore.  Is there any way to resolve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is occurring in Sitecore 8.2 Initial Release.&lt;/p&gt;&#xA;" OwnerUserId="469" LastActivityDate="2016-11-17T15:13:58.340" Title="Error in Experience Editor when Saving Rendering with Image Field Rendering Parameter" Tags="|experience-editor|presentation|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2152" PostTypeId="5" CreationDate="2016-11-02T18:31:15.760" Score="0" Body="&lt;p&gt;More information about the ASP.NET Web API framework can be found here: &lt;a href=&quot;https://www.asp.net/web-api&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.asp.net/web-api&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="10" LastEditorUserId="10" LastEditDate="2016-11-02T18:40:15.907" LastActivityDate="2016-11-02T18:40:15.907" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2153" PostTypeId="4" CreationDate="2016-11-02T18:31:15.760" Score="0" Body="For questions related to the ASP.NET Web API framework, whether writing APIs to manage content or functionality in Sitecore, or consuming data from APIs written using Web API (e.g., the Sitecore ItemService)." OwnerUserId="10" LastEditorUserId="10" LastEditDate="2016-11-02T18:40:08.527" LastActivityDate="2016-11-02T18:40:08.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2154" PostTypeId="1" AcceptedAnswerId="2155" CreationDate="2016-11-02T18:42:14.390" Score="6" ViewCount="349" Body="&lt;p&gt;SXA creates two media folders for new tenant:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/keUaZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/keUaZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the purpose of shared folder? &lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-11-02T18:58:05.717" Title="What is the purpose of shared tenant media folder in SXA?" Tags="|media-library|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2155" PostTypeId="2" ParentId="2154" CreationDate="2016-11-02T18:58:05.717" Score="11" Body="&lt;p&gt;&lt;strong&gt;sitecore/media library/Project/New tenant&lt;/strong&gt; - this is media folder created for your project. In this example your project is called &quot;New tenant&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;sitecore/media library/Project/New tenant/shared&lt;/strong&gt; media folder an be used when you have more then one site in the tenant. While using it you can share media across all of the pages within that tenant.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2016-11-02T18:58:05.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2156" PostTypeId="1" AcceptedAnswerId="2157" CreationDate="2016-11-02T19:45:00.863" Score="5" ViewCount="166" Body="&lt;p&gt;We are not seeing click events registering in the Coveo Cloud analytics.  Anyone know what we might be missing?&lt;/p&gt;&#xA;" OwnerUserId="498" LastEditorUserId="171" LastEditDate="2016-11-02T21:33:58.877" LastActivityDate="2017-10-02T14:13:34.207" Title="Coveo Cloud Not Recording Click Through Event in Analytics" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2157" PostTypeId="2" ParentId="2156" CreationDate="2016-11-02T19:46:27.987" Score="5" Body="&lt;p&gt;This is a common issue when removing the CoveoResultLink class from your Result Templates. Here is a Knowledge base article on this issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developers.coveo.com/x/_oX2AQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;developers.coveo.com/display/SupportKB/No+Clicks+in+Coveo+Usage+Analytics&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Coveo JavaScript Framework attach to this HTML Class in order to send the click events. If this class is removed, click events will no longer be registered. Adding multiple classes on a DOM object is not a problem in HTML5, so I would recommend to add your own class if you need to customize the style, but do not remove that base class.&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2017-10-02T14:13:34.207" LastActivityDate="2017-10-02T14:13:34.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2158" PostTypeId="2" ParentId="2151" CreationDate="2016-11-02T19:49:09.207" Score="2" Body="&lt;p&gt;This is a known issue of Sitecore version 8.0 Update-6 (rev. 151127), version 8.0 Update-7 (rev. 160115), version 8.1 Update-1 (rev. 151207), and version 8.2 initial release (rev. 160729) where it fails to save items with a field of type &quot;Rule editor&quot;. It seems you just found another case of that same bug. It makes me think that this bug affect all the fields that store XML in their raw value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem was diagnosed and a workaround was provided in this StackOverflow question: &lt;a href=&quot;https://stackoverflow.com/questions/35029713/save-return-error-in-sitecore-page-editor/35443212#35443212&quot;&gt;https://stackoverflow.com/questions/35029713/save-return-error-in-sitecore-page-editor/35443212#35443212&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="171" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-02T19:49:09.207" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2159" PostTypeId="2" ParentId="2151" CreationDate="2016-11-02T19:57:35.920" Score="2" Body="&lt;p&gt;There are additional issues found with Sitecore Versions 8.1 and 8.2 with regard to SPEAK UI and how markup langugage fields like rich text editors, image fields, and link fields store data that caused numerous issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore issued &lt;strong&gt;Public Reference #88491&lt;/strong&gt; which addresses various issues on Save action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following save actions are adjusted in the ExperienceEditor pipeline as part of the patch:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CheckItemLock&#xA;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CheckRevision&#xA;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.Validators&#xA;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.ValidateFields&#xA;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CheckBaseTemplateFieldChange&#xA;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CheckTemplateFieldChange&#xA;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CheckLinks&#xA;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CallServerSavePipeline&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-11-02T19:57:35.920" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2160" PostTypeId="2" ParentId="2122" CreationDate="2016-11-02T20:40:32.530" Score="0" Body="&lt;p&gt;Why would you add files related to a VS plugin to source control? I would say it is safe to ignore all the files related to Sitecore Rocks. Each developer creates his/her own connection in Sitecore Rocks Explorer which will install the necessary files in their Sitecore instance. This is similar to the service installed by TDS which is also ignored for source control.&lt;/p&gt;&#xA;" OwnerUserId="936" LastActivityDate="2016-11-02T20:40:32.530" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2161" PostTypeId="1" CreationDate="2016-11-02T21:06:18.273" Score="4" ViewCount="1147" Body="&lt;p&gt;I am trying to assign a response filter in the MVC OnActionExecuting event to modify the html outputted by the ActionResult of a Sitecore controller rendering. This works fine with plain MVC.&#xA;However, in Sitecore, assigning a stream to the Response.Filter throws System.Web.HttpException: Filtering is not allowed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone successfully implemented this in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class UpperCaseFilterAttribute : ActionFilterAttribute&#xA;{&#xA;    public override void OnActionExecuting(ActionExecutingContext filterContext)&#xA;    {&#xA;        filterContext.HttpContext.Response.Filter =&#xA;            new UpperCaseFilterStream(filterContext.HttpContext.Response.Filter);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1035" LastEditorUserId="10" LastEditDate="2016-11-03T01:48:36.073" LastActivityDate="2017-05-26T21:55:42.773" Title="Assigning a stream to Response.Filter throws &quot;Filtering is not allowed&quot;" Tags="|mvc|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2162" PostTypeId="2" ParentId="2139" CreationDate="2016-11-02T21:47:57.040" Score="-1" Body="&lt;p&gt;I think this is more of an ItemProvider issue than a GlassMapper issue. You may need to write a custom ItemProvider and override the GetItem methods. Although I haven't worked with the LanguageFallback feature provided in Sitecore 8.1, this is what I had to do working with LanguageFallback module before Sitecore released it's official LanguageFallback with 8.1.&lt;/p&gt;&#xA;" OwnerUserId="936" LastActivityDate="2016-11-02T21:47:57.040" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2163" PostTypeId="2" ParentId="2161" CreationDate="2016-11-02T21:52:43.213" Score="2" Body="&lt;p&gt;This is by design in Sitecore MVC, and Sitecore has provided alternative means to reach the same result. Instead of implementing filtering the standard &quot;MVC way&quot;, you can hook into pipelines that Sitecore will invoke instead.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;mvc.actionExecuting: Before invoking an MVC action method&lt;/li&gt;&#xA;  &lt;li&gt;mvc.actionExecuted: After invoking an MVC action method &lt;/li&gt;&#xA;  &lt;li&gt;mvc.exception: After an unhandled exception in an MVC request&lt;/li&gt;&#xA;  &lt;li&gt;mvc.resultExecuting: Before invoking the ExecuteResult() method of an ActionResult&lt;/li&gt;&#xA;  &lt;li&gt;mvc.resultExecuted: After invoking the ExecuteResult() method of an&#xA;  ActionResult&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;All of these pipelines are empty by default, but defined in &lt;code&gt;Sitecore.Mvc.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional information:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/how-is-sitecore-mvc-different-from-asp-net-mvc&quot; rel=&quot;nofollow noreferrer&quot;&gt;How is Sitecore MVC Different from ASP.NET MVC?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/global-mvc-filters-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;Global MVC Filters in the Sitecore ASP.NET CMS&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/filtering-the-output-stream-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;Filtering the Output Stream with the Sitecore ASP.NET CMS&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-02T21:52:43.213" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2164" PostTypeId="2" ParentId="2122" CreationDate="2016-11-02T22:32:03.570" Score="2" Body="&lt;p&gt;According to the &lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks/tree/master/src/Sitecore.Rocks.Server&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitHub repository for Sitecore.Rocks&lt;/a&gt;, the only files installed into Sitecore by the Sitecore.Rocks extension are these:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Browse.aspx&lt;/li&gt;&#xA;  &lt;li&gt;Service2.asmx&lt;/li&gt;&#xA;  &lt;li&gt;&lt;em&gt;Service2.asmx.cs&lt;/em&gt; (codefile, not deployed)&lt;/li&gt;&#xA;  &lt;li&gt;Sitecore.Rocks.Validation.ashx&lt;/li&gt;&#xA;  &lt;li&gt;&lt;em&gt;Sitecore.Rocks.Validation.ashx.cs&lt;/em&gt; (codefile, not deployed)&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks/tree/master/src/Sitecore.Rocks.Server/sitecore/shell/WebService&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/JakobChristensen/Sitecore.Rocks/tree/master/src/Sitecore.Rocks.Server/sitecore/shell/WebService&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And since the .cs files would be compiled into the DLL itself, that confirms your original assumption about what you need to exclude from source control.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-02T22:32:03.570" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2165" PostTypeId="2" ParentId="2124" CreationDate="2016-11-02T23:52:11.893" Score="1" Body="&lt;p&gt;Another option is to create a custom admin page as 'schedule-publish.aspx' which you can call from standard windows task scheduler.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 1: Create your admin page or publish page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to drop few lines of code on the Page_Load method&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected void Page_Load(object sender, EventArgs e)&#xA;    {&#xA;      try&#xA;        {&#xA;            Database dbSource = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;            Database dbTarget = Sitecore.Configuration.Factory.GetDatabase(&quot;web&quot;);&#xA;&#xA;            Language[] dbLanguages = dbSource.Languages;&#xA;&#xA;            Database[] dbTargets = new Database[] { dbTarget };&#xA;&#xA;            PublishManager.PublishSmart(dbSource, dbTargets, dbLanguages);&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error(ex.Message,ex,this);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Step 2 : Set up windows task following this &lt;a href=&quot;http://www.digitalcitizen.life/how-create-task-basic-task-wizard&quot; rel=&quot;nofollow noreferrer&quot;&gt;post&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;During schedule task setup, following arguments can be used &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In start program &gt; PowerShell.exe&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In additional parameters &gt; Invoke-WebRequest -Uri &lt;a href=&quot;http://myserver/sitecore/admin/schedule-publish.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://myserver/sitecore/admin/schedule-publish.aspx&lt;/a&gt; -Method GET&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details, read &lt;a href=&quot;http://blogs.perficient.com/digitaltransformation/2012/03/09/scheduling-future-item-publishing-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="318" LastEditorUserId="237" LastEditDate="2016-11-03T07:35:25.080" LastActivityDate="2016-11-03T07:35:25.080" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2166" PostTypeId="1" AcceptedAnswerId="2178" CreationDate="2016-11-03T00:13:01.677" Score="1" ViewCount="572" Body="&lt;p&gt;I have a site I'm redesigning into Sitecore. The old URLs are at &lt;code&gt;https://[host]/Old/[path(s)]/Pages/[ID].aspx&lt;/code&gt; and I want them to be translated to &lt;code&gt;https://[host]/Post/[ID]&lt;/code&gt;. I wrote an IIS redirect rule for this that, when I test the URL sample, works to get the &lt;code&gt;[ID]&lt;/code&gt; out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I put the old URL in, though, I get a Sitecore not found message pointing to the old URL, but it drops the .aspx portion and also, if there's a hyphen in the &lt;code&gt;[ID]&lt;/code&gt; it disappears in favor of a space. I did add &quot;/old&quot; URL to the &quot;IgnoreUrlPrefixes&quot; setting in Sitecore, so I thought that would basically keep Sitecore out of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My rule definitions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Requested URL matches the pattern, using regular expressions&lt;/li&gt;&#xA;&lt;li&gt;Pattern: &lt;code&gt;^/(.*)/Pages/(.*).aspx&lt;/code&gt; (the pattern tester in IIS reported success)&lt;/li&gt;&#xA;&lt;li&gt;Action type: Redirect (301), to &lt;code&gt;/Post/{R:2}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any thoughts? Thanks.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2016-11-03T00:33:56.813" LastActivityDate="2016-11-03T10:34:43.773" Title="IIS redirect for legacy URLs - Sitecore interference" Tags="|redirect|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2167" PostTypeId="1" AcceptedAnswerId="2169" CreationDate="2016-11-03T00:40:33.913" Score="7" ViewCount="430" Body="&lt;p&gt;does anyone know what's the use of the publisher site?&#xA;I imagine it has to do with the publishing but I'm not really sure:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;publisher&quot; domain=&quot;sitecore&quot; enableAnalytics=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;thanks&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="10" LastEditDate="2016-11-03T01:45:59.837" LastActivityDate="2016-11-03T03:25:51.383" Title="What's the use of the publisher site?" Tags="|publishing|site-configuration|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2168" PostTypeId="2" ParentId="2167" CreationDate="2016-11-03T02:38:48.187" Score="4" Body="&lt;p&gt;The &lt;code&gt;publisher&lt;/code&gt; site is responsible for actually running the publishing of your content.&lt;/p&gt;&#xA;&lt;h3&gt;Simple Answer&lt;/h3&gt;&#xA;&lt;p&gt;The simplest answer that I can give is that this is one of the ways that Sitecore implements multi-threading/parallel processing in SXP. Since publishing processes in a separate site, you don't have to worry about your publishing operation interfering with the rest of your instance's ability to function.&lt;/p&gt;&#xA;&lt;p&gt;Sitecore actually uses this same technique for its scheduler. The scheduler is another site that is used to run scheduled jobs off in a separate set of threads.&lt;/p&gt;&#xA;&lt;h3&gt;High Level - How publishing works&lt;/h3&gt;&#xA;&lt;p&gt;The way publishing works is that the items to be published are added into a queue that is processed when a publishing operation is triggered. Publishing operations can be triggered from the UI directly, from Workflow, from Scheduled Tasks, or from custom code.&lt;/p&gt;&#xA;&lt;p&gt;Once a publishing operation is triggered, a separate site is used to keep the publishing processing in separate threads from the rest of the site(s) in the environment. This way, your other sites, including your client-facing site (if you have a single-server/stand-along instance) are not (as) affected by the publishing operation.&lt;/p&gt;&#xA;&lt;p&gt;This approach works pretty well and is anecdotal to the way that multiple sites sharing a single Application Pool works. Basically, there are a certain number of threads available up front and those threads are distributed between the various sites that run on the app pool.&lt;/p&gt;&#xA;&lt;h3&gt;The Caveat&lt;/h3&gt;&#xA;&lt;p&gt;If an operation on one site becomes too taxing, it can risk the performance of the other sites. This holds true for both Sitecore sites, including the publisher, and sites that share a single app pool. Sitecore does its best to mitigate this risk and allows you to configure many settings related to thread use, but nothing is perfect.&lt;/p&gt;&#xA;&lt;p&gt;Have you ever wondered why your site sometimes slows down or even locks up when doing a full-site publish operation? Now you know why.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-03T02:49:42.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2169" PostTypeId="2" ParentId="2167" CreationDate="2016-11-03T03:25:51.383" Score="9" Body="&lt;p&gt;The fast answer is that the &lt;code&gt;publisher&lt;/code&gt; site is used for publishing related jobs.  But, you probably already knew that.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why is &lt;code&gt;publisher&lt;/code&gt; used in Publishing?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When one pulls the covers back a little on the Publishing process, it's revealed that Publishing utilizes the &lt;code&gt;JobManager&lt;/code&gt; to manage publish processes. This is to allow for asynchronous processing to occur within the worker process. This allows Sitecore to perform other tasks and still be able to serve up a web request to an incoming http request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To understand why the &lt;code&gt;publisher&lt;/code&gt; site exists is to understand how &lt;code&gt;JobManager&lt;/code&gt; works. JobManager utilizes &lt;code&gt;Sitecore.Context&lt;/code&gt; to build a pseudo Sitecore Context that the job runs as. Part of this sets &lt;code&gt;Context.Site&lt;/code&gt; to a certain site. Essentially providing swim lane for other jobs to process simultaneously. This also allows for priority and preference over other Job tasks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are actually two other sites that spin off Jobs in addition to &lt;code&gt;publisher&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Publisher - For Publishing&lt;/li&gt;&#xA;&lt;li&gt;Scheduler - For Scheduled Task Agents&lt;/li&gt;&#xA;&lt;li&gt;System - For System based jobs.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These sites sit at the bottom of the Site Definition because of how Sitecore's site resolution works with regard to &lt;em&gt;most specific&lt;/em&gt; to &lt;em&gt;least specific&lt;/em&gt; ordering.  That's generally why the &lt;code&gt;website&lt;/code&gt; site is listed last and right before these three classes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Last but not least, &lt;code&gt;JobManager&lt;/code&gt; only allows 1 job per site to run at a time. If you've ever encountered the &lt;code&gt;Publishing: Queued&lt;/code&gt; message, this is because someone else currently has a publish job running. Your publish job has been added into the queue for &lt;code&gt;JobManager&lt;/code&gt; and will be ran, but in a background context that you can't see.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Looking Behind the Curtain&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To see an example of this &lt;code&gt;publisher&lt;/code&gt; site in action, look no further than the &lt;code&gt;Publisher.PublishAsync()&lt;/code&gt; class.  Below you can see how the method is creating &lt;code&gt;JobOptions()&lt;/code&gt; that includes the site to run the Job as.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public virtual Job PublishAsync()&#xA;{&#xA;  this.AssertState();&#xA;  JobOptions options = new JobOptions(this.GetJobName(), &quot;publish&quot;, &quot;publisher&quot;, (object) this, &quot;PublishWithResult&quot;)&#xA;  {&#xA;    ContextUser = Context.User&#xA;  };&#xA;  options.ContextUser = Context.User;&#xA;  options.AfterLife = TimeSpan.FromMinutes(1.0);&#xA;  options.AtomicExecution = true;&#xA;  options.ExecuteInManagedThreadPool = Settings.Publishing.ExecuteInManagedThreadPool;&#xA;  options.CustomData = (object) new PublishStatus();&#xA;  Job job = Context.Job;&#xA;  if (job != null)&#xA;    options.ClientLanguage = job.Options.ClientLanguage;&#xA;  return JobManager.Start(options);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-11-03T03:25:51.383" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2170" PostTypeId="2" ParentId="2166" CreationDate="2016-11-03T03:34:47.623" Score="0" Body="&lt;p&gt;Assuming your web.config has the rewrite rules and is correct.&#xA;It could be because URL Rewrite module isn't installed correctly and not registering the required dlls.&#xA;Maybe try and reinstall the URL Rewrite module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the link for reference if reinstalling the URL Rewrite module didnt work:&#xA;&lt;a href=&quot;https://stackoverflow.com/a/25169995&quot;&gt;https://stackoverflow.com/a/25169995&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="871" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-03T03:34:47.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2171" PostTypeId="1" AcceptedAnswerId="2172" CreationDate="2016-11-03T05:47:41.547" Score="4" ViewCount="167" Body="&lt;p&gt;Is there a way to filter the content editor tree to only display items in the tree if they have Japanese versions?&lt;/p&gt;&#xA;" OwnerUserId="404" LastActivityDate="2016-11-03T13:14:56.493" Title="Filter Content Editor Tree to Only Display Japanese Items" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2172" PostTypeId="2" ParentId="2171" CreationDate="2016-11-03T07:35:05.590" Score="2" Body="&lt;p&gt;Not out of the box. In theory, you will need to override the Content Editor Form. It is found in the following path: &lt;code&gt;website\sitecore\shell\Applications\Layouts\IDE\Editors\Content Editor\IDE Content Editor.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to change the CodeBeside and set it to your custom namespace. I decompiled the code, and if I am not mistaken, you will need to change the following method to accommodate your requirement:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected virtual Sidebar GetSidebar()&#xA;{&#xA;    Sitecore.Shell.Applications.ContentManager.Sidebars.Tree result = new Sitecore.Shell.Applications.ContentManager.Sidebars.Tree();&#xA;    result.ID = &quot;Tree&quot;;&#xA;    result.DataContext = new DataContext()&#xA;    {&#xA;        DataViewName = &quot;Master&quot;&#xA;    };&#xA;    return (Sidebar) Assert.ResultNotNull&amp;lt;Sitecore.Shell.Applications.ContentManager.Sidebars.Tree&amp;gt;(result);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also override the Tree Method to make it take into consideration of the language version you require.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Tree Class, you will need to override the following method to pass the language version.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public virtual string RenderChildNodes(ID parent)&#xA;{&#xA;    Assert.ArgumentNotNull((object) parent, &quot;parent&quot;);&#xA;    Assert.IsNotNull((object) this.FolderItem, &quot;FolderItem&quot;);&#xA;    Item currentItem = this.FolderItem.Database.GetItem(parent, this.FolderItem.Language);&#xA;    HtmlTextWriter output = new HtmlTextWriter((TextWriter) new StringWriter());&#xA;    if (currentItem != null)&#xA;    {&#xA;        foreach (Item filterChild in this.FilterChildren(currentItem))&#xA;        this.RenderTreeNode(output, filterChild, string.Empty, filterChild.ID == this.FolderItem.ID);&#xA;    }&#xA;    return output.InnerWriter.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="469" LastEditDate="2016-11-03T13:14:56.493" LastActivityDate="2016-11-03T13:14:56.493" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2173" PostTypeId="1" CreationDate="2016-11-03T07:49:38.263" Score="5" ViewCount="710" Body="&lt;p&gt;I am creating a custom computed content search field that has one dependency: &lt;code&gt;ISearchSettings&lt;/code&gt;. I'd like it to be injected via constructor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomField : AbstractComputedIndexField&#xA;{&#xA;    private readonly ISearchSettings _searchSettings;&#xA;&#xA;    public CustomField(ISearchSettings searchSettings)&#xA;    {&#xA;        this._searchSettings = searchSettings;&#xA;    }&#xA;&#xA;    public override object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        /* ... */&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I achieve this with Sitecore 8.1?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-03T09:14:48.320" Title="Can I use automatic dependency injection with computed search fields in Sitecore 8.1?" Tags="|content-search|dependency-injection|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2174" PostTypeId="1" CreationDate="2016-11-03T07:50:51.160" Score="1" ViewCount="110" Body="&lt;p&gt;We want to establish a tool (dashboard) that can give us a complete overview of the current state of our solution. Not only the infrastructure and not only the application, but a mixed details of the entire application and solution. I.e. we need values from Azure portal (Database usage), values from Sitecore (CM server load time, CD server load time, Top 10 error logs, Sitecore jobs), and also values from VSTS build (last 5 builds in each environments)&lt;br&gt;&#xA;Please help if you have any ideas.&lt;/p&gt;&#xA;" OwnerUserId="950" LastEditorUserId="73" LastEditDate="2016-12-15T10:12:55.583" LastActivityDate="2016-12-15T10:12:55.583" Title="Sitecore Infrastructure/Application/Solution-Shared Dashboard" Tags="|azure|sitecore-rocks|" AnswerCount="1" CommentCount="0" ClosedDate="2016-11-04T10:19:26.773" ContentLicense="CC BY-SA 3.0" />
  <row Id="2175" PostTypeId="2" ParentId="2173" CreationDate="2016-11-03T09:14:48.320" Score="3" Body="&lt;p&gt;When you add a computed index field to the configuration, the  section uses a certain method to instantiate resulting .Net objects for each computed field type: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As we can see here, the method is the &lt;strong&gt;AddComputedIndexField&lt;/strong&gt; function from the &lt;strong&gt;IDocumentBuilderOptions&lt;/strong&gt; interface. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Depending on your configuration you should either override the Solr or Lucene document builder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All in all they work kinda same. You should override the:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual void AddComputedIndexField(XmlNode configNode)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Inside the &lt;strong&gt;AddComputedIndexField&lt;/strong&gt; method it is calling the &lt;strong&gt;protected static&lt;/strong&gt; &lt;strong&gt;CreateComputedIndexfield&lt;/strong&gt; method that actually creates a field instance. You should probably copy its body (use reflector or dotPeek) and add something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Container.GetInstance(typeName) as IComputedIndexField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in the end instead of standard reflection code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The document builder can be replaced in the index configuration as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;documentOptions type=&quot;TypeName, Assembly&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I haven't tested this approach, but it should work. Please, let me know if it worked for you. &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-11-03T09:14:48.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2176" PostTypeId="1" CreationDate="2016-11-03T09:21:44.040" Score="6" ViewCount="291" Body="&lt;p&gt;Our client uses contact pattern matching and they noticed strange information in the dashboard. Total visits count for the contact (real person) is 157, but several patterns have 'Latest match: -216 visit ago' .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can this happen and what can we do to fix it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yJqLS.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yJqLS.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.0 rev. 151127&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPD: image provided.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="392" LastEditorUserId="2395" LastEditDate="2017-11-08T13:17:58.363" LastActivityDate="2017-11-08T13:17:58.363" Title="Experience profile dashboard - confusing visits count numbers" Tags="|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2177" PostTypeId="2" ParentId="2176" CreationDate="2016-11-03T10:12:59.120" Score="4" Body="&lt;p&gt;The logic of finding how many visits ago a pattern was matched is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find an interaction that matches a pattern by inspecting &lt;code&gt;Profiles&lt;/code&gt; sub-document in &lt;code&gt;Interactions&lt;/code&gt; collection in MongoDB.&lt;/li&gt;&#xA;&lt;li&gt;Subtract interaction index from total visit count of the contact:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Contacts.System.VisitCount - Interactions.ContactVisitIndex&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most likely &lt;code&gt;Contacts.System.VisitCount&lt;/code&gt; field in MongoDB was not incremented when some interactions were saved and the count got out of sync. It might have happened due to an error during aggregation, during contact merge or while performing MongoDB operations.&#xA;AFAIK, you should be able to update VisitCount for the contact and for any related contacts that were created during contact merge.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2016-11-03T10:12:59.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2178" PostTypeId="2" ParentId="2166" CreationDate="2016-11-03T10:34:43.773" Score="4" Body="&lt;p&gt;The matching is done on the path after &lt;code&gt;/&lt;/code&gt;, so your rule should not start with that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try using just &lt;code&gt;^(.*)/Pages/(.*).aspx&lt;/code&gt; instead, or &lt;code&gt;^Old/(.*)/Pages/(.*).aspx&lt;/code&gt; if you need the &lt;code&gt;Old&lt;/code&gt; part there as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you could probably improve the regex a bit by requiring at least one character in the two wildcard groups and by escaping the &lt;code&gt;.&lt;/code&gt; before &lt;code&gt;aspx&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;^Old/(.+)/Pages/(.+)\.aspx&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2016-11-03T10:34:43.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2179" PostTypeId="5" CreationDate="2016-11-03T11:55:02.313" Score="0" Body="" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-03T11:55:02.313" LastActivityDate="2016-11-03T11:55:02.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2180" PostTypeId="4" CreationDate="2016-11-03T11:55:02.313" Score="0" Body="Questions about the Digital Marketing System—the Sitecore marketing platform. If you are using Sitecore 7.5 or later, use the tag `xdb` instead." OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-03T11:55:02.313" LastActivityDate="2016-11-03T11:55:02.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2181" PostTypeId="2" ParentId="2124" CreationDate="2016-11-03T12:07:14.817" Score="4" Body="&lt;p&gt;I have created a blog post on this if helps anyone: &lt;a href=&quot;http://sitecoreblog.tools4geeks.com/Blog/33/Sitecore-publish-at-specific-time&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreblog.tools4geeks.com/Blog/33/Sitecore-publish-at-specific-time&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We faced exact same problem. We don't want to run publish agent on every x number of minutes which triggers cache clear and index rebuild. So, this is what we have done.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;On item save, we check if item has publishing restrictions set.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If item has publishing restrictions. We create two scheduling tasks one &#xA;for start date time and other for end date time. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;This scheduled tasks will be triggered every one minute. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The schedule tasks will trigger the publish only on specific time which was set in the publishing restrictions.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Delete the scheduled task on successful run.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Hope it will help someone.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2016-11-28T19:20:06.213" LastActivityDate="2016-11-28T19:20:06.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2182" PostTypeId="1" CreationDate="2016-11-03T12:58:43.577" Score="3" ViewCount="481" Body="&lt;p&gt;If I set a radio list field as &lt;code&gt;mandatory&lt;/code&gt;, upon submit it does not display any error message if none of the radio options are selected.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same happens for checkbox list. Works fine (showing required field validation message) for other field types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 7.2 + Web Forms for Marketers 2.4 &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore support has confirmed that the missing validation on&#xA;  checkbox/radio lists is a bug. no fix yet though&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone have a solution for this?&lt;/p&gt;&#xA;" OwnerUserId="713" LastEditorUserId="73" LastEditDate="2016-11-07T11:31:00.490" LastActivityDate="2016-11-07T11:31:00.490" Title="WFFM radio list field doesn't fire validation when no radio button value has been selected" Tags="|wffm|" AnswerCount="0" CommentCount="6" ClosedDate="2017-10-01T23:10:31.327" ContentLicense="CC BY-SA 3.0" />
  <row Id="2183" PostTypeId="1" CreationDate="2016-11-03T13:06:03.010" Score="7" ViewCount="1290" Body="&lt;p&gt;We have a clustered setup for 2 CM servers using the Azure Cloud and using InProc session state and LoadBalancer with sticky session enabled. Both the servers are up and running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Developers are getting an &quot;Object Reference not set to an Object&quot; error sometimes when they click on an item in Sitecore tree or do other clicks in the content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the one network which we use to login to Sitecore machines the issue is not happening, but when it comes to developer machine errors are happening.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now we have removed one CM server from load balancer so the LB will only point to one server. we tried this with only one other server also, no issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While going through I found this Error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1112 2016:11:01 06:48:02 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;Source: System.Web&#xA;   at System.Web.UI.Page.HandleError(Exception e)&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest()&#xA;   at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ArgumentNullException&#xA;Message: Value cannot be null.&#xA;Parameter name: inputString&#xA;Source: System.Web&#xA;   at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose)&#xA;   at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState)&#xA;   at XamlPageStatePersister.Load()&#xA;   at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()&#xA;   at System.Web.UI.Page.LoadAllState()&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update:&#xA;Adding some Screenshots&#xA;&lt;a href=&quot;https://i.stack.imgur.com/q4i9l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q4i9l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HcbKN.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HcbKN.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://i.stack.imgur.com/4dhdd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4dhdd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1022" LastEditorUserId="4050" LastEditDate="2019-12-09T03:27:58.570" LastActivityDate="2019-12-09T03:27:58.570" Title="Getting &quot;Object Reference not set to an Object&quot; error for Clustered CM servers" Tags="|content-management|session-state|" AnswerCount="4" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="2184" PostTypeId="1" AcceptedAnswerId="2186" CreationDate="2016-11-03T13:59:22.913" Score="21" ViewCount="15054" Body="&lt;p&gt;We are trying to delete tens of thousands of items in the content tree. However, it is taking a VERY long time to do that. We have tried to delete through the Sitecore Experience Editor and it is timing out. We love Sitecore Powershell Extensions (SPE), and have tried to use the Remove-Item cmdlet and that works but still takes a VERY long time...even overnight. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the fastest way to delete tens of thousands of items from the Sitecore content tree? Your help is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="73" LastEditDate="2016-11-04T06:50:51.480" LastActivityDate="2021-11-18T18:39:05.997" Title="What is the fastest way to delete thousands of items in the content tree?" Tags="|content-editor|" AnswerCount="8" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="2185" PostTypeId="2" ParentId="2184" CreationDate="2016-11-03T14:08:37.993" Score="9" Body="&lt;p&gt;If you are not worried about missing reference for these deleted items, the faster way to do it is by using /sitecore/admin/dbbrowser.aspx tool.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It skips lot of pipeline processors which makes it much faster than deleting from content editor.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="605" LastEditDate="2016-11-03T14:12:49.370" LastActivityDate="2016-11-03T14:12:49.370" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2186" PostTypeId="2" ParentId="2184" CreationDate="2016-11-03T14:20:29.453" Score="30" Body="&lt;p&gt;When I was working on Sitecore 7.2 project long time ago, the fastest way was to serialize the single root item and then clicking &lt;code&gt;Revert Tree&lt;/code&gt; on that item. All the descendants were gone and I had to remove only the last item manually. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It worked in &lt;code&gt;EventDisabler&lt;/code&gt; mode and it was much much faster than deleting items manually.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2016-11-03T14:23:06.047" LastActivityDate="2016-11-03T14:23:06.047" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2187" PostTypeId="1" AcceptedAnswerId="2189" CreationDate="2016-11-03T14:22:55.980" Score="3" ViewCount="267" Body="&lt;p&gt;Sitecore 7.2 cache issue - we have a page that has a document list component on it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page is hit and shows the document list with &lt;code&gt;abc title&lt;/code&gt;, the document in the media library gets updated to &lt;code&gt;123 title&lt;/code&gt; and published. The &lt;code&gt;abc title&lt;/code&gt; will still appear on the page until a shift-refresh is done. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have added meta tags to the layout to try and force (cache-control no-cache etc) but in the chrome dev tools the Status of the request in the Network tab is 304 instead of 200 - after the user does a shift-refresh the status is 200 and the updated doc title is displayed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on how to make Sitecore recognize that a component on the page has been changed and it should be a 200 instead of a 304 or worse case force a 200 status everytime?&lt;/p&gt;&#xA;" OwnerUserId="901" LastEditorUserId="70" LastEditDate="2016-11-03T14:50:47.003" LastActivityDate="2016-11-03T14:50:47.003" Title="Sitecore 7.2 returning 304 Status instead of 200 when a component within a page has been updated" Tags="|caching|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2188" PostTypeId="2" ParentId="2184" CreationDate="2016-11-03T14:24:20.353" Score="3" Body="&lt;p&gt;If your items are spread around the tree, write some code to do it and wrap it in all disablers you can. This &lt;a href=&quot;https://blog.horizontalintegration.com/2016/02/12/disablers-disablers-disablers-disablers-a-lesson-in-mass-sitecore-updates/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt; has some nice info about it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SecurityDisabler will help the process a lot as no security is checked anymore. Disabling all events and index updates will also free a lot of resources for the actual delete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to clear the Sitecore caches and rebuild any indexes that refer to the items that you were updating afterwards as no events or index updates will be done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using (new SecurityDisabler())&#xA;using (new DatabaseCacheDisabler())&#xA;using (new EventDisabler())&#xA;using (new BulkUpdateContext())&#xA;{&#xA;  try&#xA;  {&#xA;    Sitecore.Configuration.Settings.Indexing.Enabled = false;&#xA;&#xA;    // delete items here&#xA;  }&#xA;  finally&#xA;  {&#xA;    Sitecore.Configuration.Settings.Indexing.Enabled = true;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-03T15:08:26.523" LastActivityDate="2016-11-03T15:08:26.523" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2189" PostTypeId="2" ParentId="2187" CreationDate="2016-11-03T14:46:51.383" Score="3" Body="&lt;p&gt;You &lt;em&gt;can&lt;/em&gt; disable browser caching by changing this setting in Sitecore to true:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;DisableBrowserCaching&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;BUT&lt;/strong&gt; that really is not a good move to make, disabling the browser caching on clients will cause a higher load on your servers when most of the time, you don't need to do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you need to do is work out your caching strategy and how long you want things like images to live in the clients browser cache. I normally use a sliding scale based on the age of the content/media item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to keep in mind, &lt;em&gt;once the browser cache has been set, there is nothing you can do about it from the server!!&lt;/em&gt; The user will have to manually clear the browser cache to force an update.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A simple option would be to use the current context item to set the cache headers. Adding this processor to the &lt;code&gt;renderLayout&lt;/code&gt; pipeline will do that:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class BrowserCaching : RenderLayoutProcessor&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Set browser caching headers.&#xA;    /// &#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;    public override void Process(RenderLayoutArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        Profiler.StartOperation(&quot;Update browser caching headers.&quot;);&#xA;        var page = Context.Page;&#xA;        if (page?.Page == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        SetCacheHeaders(page.Page);&#xA;        if (Context.Item != null)&#xA;        {&#xA;            SetUpdateHeaders(Context.Item, page.Page);&#xA;        }&#xA;        Profiler.EndOperation();&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Set caching related headers&#xA;    /// &#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;page&quot;&amp;gt;The page.&amp;lt;/param&amp;gt;&#xA;    private static void SetCacheHeaders(Page page)&#xA;    {&#xA;        if (Context.Site == null &amp;amp;&amp;amp; !Settings.DisableBrowserCaching || Context.Site != null &amp;amp;&amp;amp; !Context.Site.DisableBrowserCaching)&#xA;        {&#xA;            // TODO: Build a sliding scale here based on the age of the Context.Item&#xA;&#xA;            page.Response.Cache.SetMaxAge(new TimeSpan(0, 0, 30));&#xA;            return;&#xA;        }&#xA;        Tracer.Info(&quot;Adding Http headers to disable caching.&quot;);&#xA;        page.Response.Cache.SetNoStore();&#xA;        page.Response.Cache.SetCacheability(HttpCacheability.NoCache);&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Set time-of-last-update headers&#xA;    /// &#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;item&quot;&amp;gt;The item.&amp;lt;/param&amp;gt;&amp;lt;param name=&quot;page&quot;&amp;gt;The page.&amp;lt;/param&amp;gt;&#xA;    private static void SetUpdateHeaders(Item item, Page page)&#xA;    {&#xA;        var date = item.Statistics.Updated;&#xA;        if (date &amp;gt; DateTime.Now)&#xA;        {&#xA;            date = DateTime.Now;&#xA;        }&#xA;        Tracer.Info(&quot;Adding Http header to indicate last modification.&quot;, &quot;Date: &quot; + date + &quot;.&quot;);&#xA;        page.Response.Cache.SetLastModified(date);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code sets the max-age of the response and also sets the last modified date. Browsers should be able to use that to know when to expire the cached copy of the data.  As for the sliding scale, you will need to work out what is best for your implementation. As a baseline, I keep young items, so 2-3 hours old or less at around 60 seconds max-age, and then grow that. If a media item is more than a week old, I'm setting the max age in days rather than seconds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously this example only does the current context item, so pages that have lots of Datasources may need to calculate it from the datasource and for media items you will need to add this to the media request pipelines.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-03T14:46:51.383" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2190" PostTypeId="2" ParentId="2184" CreationDate="2016-11-03T14:58:11.220" Score="25" Body="&lt;p&gt;This is another option you have if you want to use &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt;. Delete the items in a &lt;code&gt;BulkUpdateContext&lt;/code&gt; - this disables events etc... an so makes the delete run a lot faster. To do that in SPE you can use this syntax:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;    Get-Item -Path master:/sitecore/Content/myItem | Remove-Item&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Because this does disable events etc... you will probably need to re-index and run a smart publish once the items are deleted.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="95" LastEditDate="2017-09-15T16:15:39.283" LastActivityDate="2017-09-15T16:15:39.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2191" PostTypeId="1" CreationDate="2016-11-03T15:26:31.803" Score="6" ViewCount="1042" Body="&lt;p&gt;I'm encountering a little issue :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;=&gt; When I export my theme then edit it and then import it back the CSS modifications do not apply in the Experience Editor (event after opening the editor again, iisreset etc...) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;=&gt; But when I publish my website the correct CSS is applied&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked if there was multiple versions of the Stylesheet in the media library but that's not the case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seem that the Experience Editor keeps showing the first version of the theme I imported back and when I use the Export feature it generates a corrupt CSS file containing the following HTML lines at the end :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/Pggy4.png&quot; alt=&quot;Wrong lines[1]&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it seems to be the lastest version of the problematic CSS file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 rev. 160729 and Sitecore Experience Accelerator 1.1 rev. 161004 for 8.2.&lt;/p&gt;&#xA;" OwnerUserId="1051" LastEditorUserId="135" LastEditDate="2019-12-09T03:46:36.760" LastActivityDate="2019-12-09T03:46:36.760" Title="Theme not actualizing in Experience Editor but OK after publishing" Tags="|sxa|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="2194" PostTypeId="2" ParentId="2174" CreationDate="2016-11-03T16:15:44.317" Score="1" Body="&lt;p&gt;I would create a launchpad button to a custom application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;core&lt;/code&gt; database, create an item under &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons&lt;/code&gt;.  You can use normal Sitecore security on this item to control who should and should not have access to this application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the new Launchpad Button, set your Icon and Text appropriately.  For the behavior, set your Link field to something like  &lt;code&gt;/sitecore/shell/applications/custom/solution&lt;/code&gt; (can be any endpoint really) and select OpenIframe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can register a route to listen for &lt;code&gt;/sitecore/shell/application/custom/solution&lt;/code&gt;, and tie that back to a controller and Razer view.  From here it's a matter of developing your application to expose what you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you could use a paid tool like New Relic, and expose it as a launchpad application.&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-11-03T16:15:44.317" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2195" PostTypeId="1" CreationDate="2016-11-03T16:32:30.357" Score="4" ViewCount="469" Body="&lt;p&gt;How can I disable/hide the &quot;Targets&quot; tab of the publishing restrictions dialog for a given role?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Oo7tD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Oo7tD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My role inherits from &lt;code&gt;sitecore\Sitecore Client Publishing&lt;/code&gt; and I found that I can disable publishing restrictions altogether by denying read access of my role (in core DB) to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Publish Restrictions&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Publish Restrictions/Change&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However this now prevents users from controlling publish start/end dates and versions etc.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-11-03T17:26:57.903" Title="Remove the ability of a role to modify publish targets" Tags="|security|role-management|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2196" PostTypeId="2" ParentId="2183" CreationDate="2016-11-03T17:06:52.623" Score="1" Body="&lt;p&gt;View state is stored on disk in the data folder. If you want a user to be able to bounce between severs the view state folder needs to be shared or synced across systems and you will also have to set up a asp.net session state server that they share.  Otherwise every user session will have to pinned to a particular node for the life of the session.&lt;/p&gt;&#xA;" OwnerUserId="601" LastActivityDate="2016-11-03T17:06:52.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2197" PostTypeId="2" ParentId="2124" CreationDate="2016-11-03T17:18:31.953" Score="7" Body="&lt;p&gt;You could use &lt;a href=&quot;http://hangfire.io/&quot; rel=&quot;noreferrer&quot;&gt;HangFire&lt;/a&gt;. Not only does it supports cron based schedules like SiteCron, but it also features &lt;em&gt;delayed&lt;/em&gt; jobs (among other things like a job dashboard, automatic retries, IoC support, support for logging frameworks). Delayed jobs are jobs that will run in the future at an (almost) exact given time.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;// Delayed job example&#xA;var jobId = BackgroundJob.Schedule(() =&amp;gt; Console.WriteLine(&quot;Delayed!&quot;), TimeSpan.FromDays(7));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To publish an item at an exact time, you'll need to let Hangfire know. You can use the &lt;code&gt;item:saved&lt;/code&gt; event for this. When it's an item to be published automatically, pass it to Hangfire like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var jobId = BackgroundJob.Schedule(() =&amp;gt; Custom.Publish(itemId), publishDate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With this in place, your item will get published almost instantly. Default interval to check for scheduled jobs is 15 seconds, but &lt;a href=&quot;http://docs.hangfire.io/en/latest/background-methods/calling-methods-with-delay.html&quot; rel=&quot;noreferrer&quot;&gt;it can be changed&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is still one caveat, though. What if the editor changes the publish date? As I see it, you have two options to handle this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In the &lt;code&gt;Publish&lt;/code&gt; method, check the item's publish date again and see if it's eligible to get published.&lt;/li&gt;&#xA;&lt;li&gt;Save the &lt;code&gt;jobId&lt;/code&gt; in a field of the item (or somewhere with a reference to the item ID). In the &lt;code&gt;item:saved&lt;/code&gt; event, run &lt;code&gt;BackgroundJob.Delete(jobId);&lt;/code&gt; before you schedule it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="114" LastEditorUserId="114" LastEditDate="2016-11-04T08:41:42.283" LastActivityDate="2016-11-04T08:41:42.283" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2198" PostTypeId="2" ParentId="2195" CreationDate="2016-11-03T17:19:25.630" Score="0" Body="&lt;p&gt;I think you can just deny the permission on the &#xA;&lt;code&gt;sitcore/system/publishing targets&lt;/code&gt;.&#xA;This way I thought users could see this screen, but they are not able to access the targets.&lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-11-03T17:19:25.630" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2199" PostTypeId="2" ParentId="2195" CreationDate="2016-11-03T17:26:57.903" Score="3" Body="&lt;p&gt;You cannot disable this via user access. The only way to hide the target tab is to override the sitecore publish restriction UI. I have written an article on how to achieve this. The url is &lt;a href=&quot;https://hishaamn.wordpress.com/2016/04/24/sitecore-custom-publish-restriction/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In brief, you will need to override the Sitecore UI Set Publishing. The path to this xml file is found at &lt;code&gt;Website\sitecore\shell\Applications\Content Manager\Dialogs\Set Publishing&lt;/code&gt;. When overriding the xml file, you will need to copy the Set Publishing.xml to the folder Override found at Website\sitecore\shell\Override.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then override the Onload method to disable the target tab. You can have a logic to disable it if the user is in certain role&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2016-11-03T17:26:57.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2200" PostTypeId="1" CreationDate="2016-11-03T17:37:00.043" Score="9" ViewCount="833" Body="&lt;p&gt;Looking at the log file on our CD server, I noticed that there are loads of warnings getting logged every millisecond for a document not found redirect for the home page of the scheduler website:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;9376 09:20:17 WARN  Request is redirected to document not found page. Requested url: /, User: sitecore\Anonymous, Website: scheduler&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The scheduler is indeed a node of the sites section (this is a multi-site solution), third from the bottom and after all the actual public facing sites but has nothing more than name, domain and enable tracking set to false.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;scheduler&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only way I can even imagine the site getting accessed is by specifying via query string &lt;code&gt;sc_site=scheduler&lt;/code&gt; but that still doesn't explain the frequency that it is getting logged.&lt;/p&gt;&#xA;" OwnerUserId="583" LastEditorUserId="135" LastEditDate="2019-12-09T03:42:49.520" LastActivityDate="2019-12-09T03:42:49.520" Title="How/Why would the scheduler website log attempts to access it's home page?" Tags="|multisite|logging|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2201" PostTypeId="1" AcceptedAnswerId="2203" CreationDate="2016-11-03T18:30:59.650" Score="7" ViewCount="478" Body="&lt;p&gt;My pages have a bit at the top of each with a privacy notification window, that the individual user dismisses with a click. However, this is getting indexed into Coveo and, being at the top, shows as the text for each search item on a result page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The content renders from a particular template/field. Is there a way to exclude either this field, template, or its rendering on the page from Coveo's crawl?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="73" LastEditDate="2016-11-03T22:23:15.647" LastActivityDate="2016-11-03T22:23:15.647" Title="Exclude piece of content from Coveo" Tags="|coveo|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2202" PostTypeId="2" ParentId="2200" CreationDate="2016-11-03T18:35:12.457" Score="10" Body="&lt;p&gt;One thing to be aware of, is that in Sitecore's Site Provider, &lt;em&gt;order of sites&lt;/em&gt; is &lt;strong&gt;incredibly important&lt;/strong&gt;.  If for some reason, your order has become unordered.. and the &lt;code&gt;scheduler&lt;/code&gt; site shows up in the list BEFORE other site definitions, then Sitecore will land on the &lt;code&gt;scheduler&lt;/code&gt; site as the Site for the current Context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore's Site Provider processes sites using a &lt;em&gt;Most Specific&lt;/em&gt; to &lt;em&gt;Least Specific&lt;/em&gt; case.  Because the &lt;code&gt;scheduler&lt;/code&gt; site has the least amount of requirements, if the sites are out of order, it will chose that site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is why &lt;code&gt;scheduler&lt;/code&gt;, &lt;code&gt;publisher&lt;/code&gt;, and &lt;code&gt;system&lt;/code&gt; sites show up &lt;strong&gt;AFTER&lt;/strong&gt; the &lt;code&gt;website&lt;/code&gt; site in a default config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JNTCe.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JNTCe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Things To Check&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Check your &lt;code&gt;ShowConfig.aspx&lt;/code&gt; to see how sites are ordered (if using config patching for Site definition.&lt;/li&gt;&#xA;&lt;li&gt;If using any kind of Multi-site manager or dynamic site module, ensure that your site definitions are putting your site before &lt;code&gt;scheduler&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Check to ensure that all site definitions exist. If there isn't a catch all site like &lt;code&gt;website&lt;/code&gt; that has a empty hostname attribute, then I could also see how a request gets to the &lt;code&gt;scheduler&lt;/code&gt; site. &lt;/li&gt;&#xA;&lt;li&gt;Also check to see if any rogue Scheduler Agents are being processed on the CD. (Likely not, but good to check)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-11-03T18:35:12.457" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2203" PostTypeId="2" ParentId="2201" CreationDate="2016-11-03T19:01:04.797" Score="9" Body="&lt;p&gt;If you are using the &lt;code&gt;HtmlContentInBodyWithRequestsProcessor&lt;/code&gt;, this text is most likely indexed in the content of your page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the September release (4.0.402), Coveo for Sitecore has two new parameters that you can set to ignore parts of your HTML content by adding the StartCommentText and EndCommentText nodes in your configuration: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor type=&quot;Coveo.SearchProvider.Processors.HtmlContentInBodyWithRequestsProcessor, Coveo.SearchProviderBase&quot;&amp;gt;&#xA;    &amp;lt;StartCommentText&amp;gt;BEGIN NOINDEX&amp;lt;/StartCommentText&amp;gt;&#xA;    &amp;lt;EndCommentText&amp;gt;END NOINDEX&amp;lt;/EndCommentText&amp;gt; &#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then add the nodes like so in your HTML page:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!-- BEGIN NOINDEX --&amp;gt;&#xA;&amp;lt;p&amp;gt;This section will not be indexed.&amp;lt;/p&amp;gt;&#xA;&amp;lt;!-- END NOINDEX --&amp;gt;&#xA;&amp;lt;p&amp;gt;This section will be indexed.&amp;lt;/p&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more information, refer to &lt;a href=&quot;https://developers.coveo.com/display/SitecoreV4/Ignoring+Specific+HTML+Sections+from+an+Item+Body&quot; rel=&quot;noreferrer&quot;&gt;this page&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This processor is an implementation of the &lt;a href=&quot;https://github.com/coveo/samples/blob/master/coveo-for-sitecore/processors/CleanHtmlContentInBodyProcessor.cs&quot; rel=&quot;noreferrer&quot;&gt;CleanHtmlContentInBodyProcessor&lt;/a&gt; coded by our Coveo for Sitecore guru @jflheureux. If you are using an earlier version, you can add this processor to your code and reference it in your configuration after the &lt;code&gt;HtmlContentInBodyWithRequestsProcessor&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another solution would be to add conditional rendering for this page section. Coveo for Sitecore uses the &lt;code&gt;Coveo Sitecore Search Provider&lt;/code&gt; user agent. It could be detected and used to hide the sections you don't want to be indexed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A third solution would be to define a special device and layout combination for that user agent, but it requires to duplicate the layouts and controls, and is quite harder to maintain than the other two solutions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps :)&lt;/p&gt;&#xA;" OwnerUserId="290" LastEditorUserId="290" LastEditDate="2016-11-03T20:21:44.740" LastActivityDate="2016-11-03T20:21:44.740" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2204" PostTypeId="2" ParentId="2201" CreationDate="2016-11-03T19:21:28.090" Score="2" Body="&lt;p&gt;I had a similar issue on a project where error messages were being indexed.  I solved the issue by overwriting the visualization field with my own custom computed field that excluded any content I didn't want indexed.  I wasn't using Coveo, but I assume you could do something similar.  You can read about the implementation details here: &lt;a href=&quot;http://jockstothecore.com/searching-page-datasources/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jockstothecore.com/searching-page-datasources/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-11-03T19:21:28.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2205" PostTypeId="1" AcceptedAnswerId="2206" CreationDate="2016-11-03T19:26:40.280" Score="8" ViewCount="365" Body="&lt;p&gt;I have a DAM system that houses thousands of PDFs, and I am using Coveo for my site search.  I want to allow these PDFs to be searchable from my site- how can I get them into an index?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only options I can think of:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;create a data provider and use that for crawling&lt;/li&gt;&#xA;&lt;li&gt;duplicate all the media into my media library to be crawled&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is there a better way?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2017-09-28T01:30:07.377" Title="Crawling external data in Coveo" Tags="|content-search|coveo|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2206" PostTypeId="2" ParentId="2205" CreationDate="2016-11-03T19:47:18.990" Score="8" Body="&lt;p&gt;You can index external sources like blogs etc using Coveo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition to the items of your Sitecore Content Tree, a search interface built upon Coveo for Sitecore components can return results coming from external systems. (i.e. external to Sitecore). There is a specific section in a Coveo Search component that allows you to specify which sources in Coveo Enterprise Search (CES) should feed the search interface with their indexed items. This example will show you how a search interface could mix search results coming from Sitecore and from external web pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would need appropriate licensing depending on if you are using the cloud version or on-prem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The content you are trying to index should be browsable like a blog feed etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developers.coveo.com/x/TYodAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/public/SitecoreV4/Configuring+an+External+Source&lt;/a&gt;&#xA;&lt;a href=&quot;https://developers.coveo.com/x/UIodAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/public/SitecoreV4/Enabling+the+External+Source+in+Sitecore&lt;/a&gt;&#xA;&lt;a href=&quot;https://developers.coveo.com/x/dQHnAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/public/SitecoreV3/Displaying+External+Content+in+a+Search+Interface&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="264" LastEditDate="2017-09-28T01:30:07.377" LastActivityDate="2017-09-28T01:30:07.377" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2207" PostTypeId="1" AcceptedAnswerId="2208" CreationDate="2016-11-03T20:51:07.830" Score="5" ViewCount="2548" Body="&lt;p&gt;I have configured and tuned site caches many times, but I feel like I still don't fully understand what the &lt;code&gt;DisableBrowserCaching&lt;/code&gt; setting does. I have read all of the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;docs&lt;/a&gt; and I have done a little research on the &lt;code&gt;Cache-Control: no-cache, no-store Pragma: no-cache&lt;/code&gt; headers, but it seems like everything I read assumes that I already know what it is that I'm looking to disable caching for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore's documentation states the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When DisableBrowserCaching is true, Sitecore sets the following HTTP headers for each&#xA;  requested item (excluding media items):&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;code&gt;Cache-Control: no-cache, no-store    Pragma: no-cache&lt;/code&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;These HTTP headers instruct Web clients, including edge-caching devices, not to cache the page. Web clients can cache CSS, media, and other resources used by the page&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;From what I can tell, this is saying that media, CSS, JS, etc. will still be cached, but the &quot;page&quot; won't be. What I am struggling to find is confirmation on what exactly the &quot;page&quot; is. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like the &quot;page&quot; is supposed to refer to the actual HTML of the page. This would make sense, since Sitecore defaults &lt;code&gt;DisableBrowserCaching=&quot;true&quot;&lt;/code&gt;, and a Sitecore site doesn't often include pages that have entirely static HTML. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help to clarify this setting for me and maybe provide a situation or two when it would be set to &lt;code&gt;false&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2021-03-30T14:35:43.127" Title="What does the DisableBrowserCaching setting actually disable?" Tags="|caching|settings|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2208" PostTypeId="2" ParentId="2207" CreationDate="2016-11-03T21:10:26.967" Score="7" Body="&lt;p&gt;You have it right, the &lt;strong&gt;Page&lt;/strong&gt; refers to the fully rendered HTML Markup of the page. This would include all renderings on that page that are not ajax'd in after the page load in the browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;media, CSS and JavaScript &lt;em&gt;MAY&lt;/em&gt; still be cached, but it doesn't mean they &lt;em&gt;WILL&lt;/em&gt; be cached. You have to setup the cache control headers for static assets outside of Sitecore. You can do this in IIS via the &lt;code&gt;web.config&lt;/code&gt; file. Add a section under &lt;code&gt;system.webServer&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt; &#xA;    &amp;lt;staticContent&amp;gt;&#xA;       &amp;lt;clientCache cacheControlMode=&quot;UseMaxAge&quot; cacheControlMaxAge=&quot;1.00:00:00&quot; /&amp;gt;&#xA;    &amp;lt;/staticContent&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this example all static files will have a max age response header set to 1 day.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that this only suggests to the browsers how long they should cache the content for. Browsers do always follow it, for example if Chrome has the dev tools open, there is an option to disable the browser caching there.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-03T21:10:26.967" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2209" PostTypeId="1" AcceptedAnswerId="2213" CreationDate="2016-11-03T22:06:23.207" Score="4" ViewCount="6138" Body="&lt;p&gt;I am seeing this strange behavior in sitecore CM. Recently, I am not able to login to sitecore. When I use the correct username and password, sitecore just refreshes and the login page is shown again. Please find the fiddler trace below for the same. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the fiddler logs , it looks like a redirect is causing the issue. I checked the redirect config, but I don’t see any specific entry for sitecore.&#xA;If I give a wrong username and password, error message is thrown as expected. Can you please guide me on this.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/XFd3H.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XFd3H.png&quot; alt=&quot;Fiddler Trace:&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="696" LastEditorUserId="73" LastEditDate="2016-11-03T22:21:49.530" LastActivityDate="2016-12-25T19:00:14.517" Title="Unable to login to sitecore CM" Tags="|content-management|login|" AnswerCount="4" CommentCount="8" ClosedDate="2016-12-26T12:07:47.227" ContentLicense="CC BY-SA 3.0" />
  <row Id="2212" PostTypeId="2" ParentId="2209" CreationDate="2016-11-03T23:18:19.677" Score="0" Body="&lt;p&gt;I saw this behavior once, it turned out that the authentication entry in my Web.config had been changed. I think it had been set to mode=&quot;Forms&quot;, which Sitecore doesn't like.&lt;/p&gt;&#xA;" OwnerUserId="1056" LastActivityDate="2016-11-03T23:18:19.677" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2213" PostTypeId="2" ParentId="2209" CreationDate="2016-11-03T23:33:12.423" Score="6" Body="&lt;p&gt;One reason for this behavior may be having an &lt;code&gt;httpCookies domain&lt;/code&gt; setting in web.config that doesn't match the domain you are using to login to the Sitecore client, or having &lt;code&gt;httpCookies requireSSL&lt;/code&gt; set to true while login in on http instead of https.&lt;/p&gt;&#xA;" OwnerUserId="1035" LastEditorUserId="1035" LastEditDate="2016-11-03T23:39:01.233" LastActivityDate="2016-11-03T23:39:01.233" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2214" PostTypeId="1" AcceptedAnswerId="2215" CreationDate="2016-11-04T00:23:24.633" Score="4" ViewCount="176" Body="&lt;p&gt;I am planning to move existing Sitecore 7.2 website into azure. I have read several blogs and most of them are about cloud service. Can we deploy Sitecore 7.2 using Azure Web App service?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any consideration we need to take in account?&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2016-11-16T02:18:15.557" Title="How to deploy Sitecore 7.2 Using Azure Web Apps" Tags="|azure|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2215" PostTypeId="2" ParentId="2214" CreationDate="2016-11-04T01:01:24.897" Score="3" Body="&lt;p&gt;It's not officially supported, but I can tell you that it does work :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are some circumstances with scaling the system to multiple instances that can run into trouble based on the way that the instances share file-system resources (Lucene doesn't like that) but if you have Solr - which you should on any scale-out model anyway - it should be ok.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've run 7.2, 7.5, and 8 on Web Apps for ages without any specific issues that we're aware of.  Just be aware, since it is not officially supported, if you run into an issue and you contact support about it, they may not be willing to fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FWIW, since your Sitecore licenses probably only entitle you to a fixed number of CD servers, there's little advantage to using Web Apps anyway.  They are almost exactly the same price as VMs.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-11-04T01:01:24.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2216" PostTypeId="1" CreationDate="2016-11-04T01:10:27.240" Score="8" ViewCount="722" Body="&lt;p&gt;Typically, during the start of a new session, Sitecore uses an agent to asynchronously lookup the geo data of the visitor - but this means that geo-based personalization isn't available on the first page load. How do change this default Sitecore behavior to do the lookup before the first page load? What are the performance ramifications?&lt;/p&gt;&#xA;" OwnerUserId="98" LastActivityDate="2016-11-04T04:51:54.227" Title="How can I personalize based on geolocation for first page load?" Tags="|personalization|geo-location|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2217" PostTypeId="2" ParentId="799" CreationDate="2016-11-04T01:14:59.043" Score="3" Body="&lt;p&gt;Instead of diving straight into personas, you may consider first setting up goals and engagement values for the most important pages on your site - then personalizing based on those. Sitecore recommends this approach because it is much easier to get started and to see fast results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4rGfV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4rGfV.png&quot; alt=&quot;Walk before you run Sitecore graphic&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="98" LastActivityDate="2016-11-04T01:14:59.043" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2218" PostTypeId="2" ParentId="2062" CreationDate="2016-11-04T02:07:43.720" Score="6" Body="&lt;p&gt;There is no out of the box way to do this, you need to customize &lt;code&gt;Sitecore.Context.SetLanguage&lt;/code&gt; function as &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Sets the current language.&#xA;/// This to extend the sitecore default SetLanguage behavior by adding expiration date for the language cookie&#xA;/// &amp;lt;/summary&amp;gt;&#xA;&#xA;/// &amp;lt;param name=&quot;language&quot;&amp;gt;The language.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;persistent&quot;&amp;gt;if set to &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt;, the value will be persisted (in a cookie).&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;ExpirationDate&quot;&amp;gt;The cookie expiration date, presistent should be set to &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; too &amp;lt;/param&amp;gt;&#xA;&#xA;public static void SetLanguage(Language language, bool persistent, DateTime ExpirationDate)&#xA;        {&#xA;            Assert.ArgumentNotNull(language, &quot;language&quot;);&#xA;            Context.Items[&quot;sc_Language&quot;] = language;&#xA;&#xA;            if (!persistent)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            SiteContext site = Context.Site;&#xA;&#xA;            if (site != null)&#xA;            {&#xA;                string cookieKey = site.GetCookieKey(&quot;lang&quot;);&#xA;&#xA;                if (WebUtil.GetCookieValue(cookieKey) != language.Name)&#xA;                {&#xA;                    WebUtil.SetCookieValue(cookieKey, language.Name, ExpirationDate);&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I added more details at my blog :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://alkouki.blogspot.com/2016/11/extend-sitecorecontextsetlanguage-to.html&quot; rel=&quot;noreferrer&quot;&gt;http://alkouki.blogspot.com/2016/11/extend-sitecorecontextsetlanguage-to.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1057" LastEditorUserId="73" LastEditDate="2016-11-04T06:40:53.493" LastActivityDate="2016-11-04T06:40:53.493" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2219" PostTypeId="1" AcceptedAnswerId="2223" CreationDate="2016-11-04T04:20:51.740" Score="6" ViewCount="1977" Body="&lt;p&gt;I'm creating a small POC to learning  Sitecore personalization, and I'm trying to create contacts.&#xA;I have a register form  where I will create extranet users and login form. &#xA;The experience profile page always showing anonymous even I login also.&#xA;Then I try to identify contacts using this code after login code.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.Identify(UserName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I can see the current contact by&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Contact.Identifiers.Identifier&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I look into  experience profile it is showing as &quot;unknown&quot; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How this contacts make work?&#xA;Is there any detailed documentation available for it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version : Sitecore.NET 8.2 (rev. 160729)&lt;/p&gt;&#xA;" OwnerUserId="1022" LastEditorUserId="73" LastEditDate="2016-11-08T11:22:11.257" LastActivityDate="2016-11-08T11:22:11.257" Title="Experience Profile always shows anonymous or unknown as Name" Tags="|experience-analytics|experience-profile|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2220" PostTypeId="2" ParentId="2216" CreationDate="2016-11-04T04:43:00.270" Score="8" Body="&lt;p&gt;The geo lookup isn't fast enough to work for a first page.  It's not even really worth trying.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you &lt;em&gt;must&lt;/em&gt; have it, you can hook into the GeoIP lookup service directly, or you can ajax in your content, to give the service a change to lookup the IP without destroying the user experience.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some CDNs (like Akamai) can add headers to requests that will identify the geo location of the visitor - you can personalise on that more reliably than the ip lookup in most cases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're looking to do language switching, consider using the &lt;code&gt;Accept-Language&lt;/code&gt; header instead.  This tells you the language of the browser, which is better than assuming language based on location (if I travel to Japan I still view the web in English).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course you can also fall back to HTML5 geolocation and combine that with AJAX.  It's probably more reliable than the GeoIP anyway.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-11-04T04:43:00.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2221" PostTypeId="2" ParentId="799" CreationDate="2016-11-04T04:47:33.950" Score="12" Body="&lt;p&gt;Working with personas, profiles, and patterns take a lot of planning, a lot. But I understand where you are trying to get your feet wet, in the nice warm water of Sitecore XP. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;@sestocker is right that you do need to think about goals and the engagement value (EV), but your question was directly related to personalization based on the users' site behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first level of planning is this: at a very high level, pick a specific section of your site that you feel you can clearly define into a profile, and then into a set of profile keys. When I talk about this, I usually resort to talking about Jets because we can all get our hands on the Sitecore Jets demo. The Jets demo has two profiles that are configured, but let's use the &quot;Visit Profile&quot; as an example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9s8Jz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9s8Jz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are talking about vacations trips, and designing profiles that could clearly define the user's experience for each one of those trips. These are Profile Keys.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then they take the Profile Keys and define Profile Cards, which ranks on a defined scale how much a trip would fit into each one of these groups. It's a way of defining a set of profiles as a group, not one by one on each page, which would take forever to do. This is important to understand because a trip is unlikely be only for family, or only for business. It would be heavily family-based, with nice amenities for couples, and very few resources for business. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/81hJa.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/81hJa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the image above, we see the Business profile card. The Business profile is defined as great for Business (5 on a scale of 1-5), good for Duration (4) and a moderate Nightlife (2). It has no Family benefits (0) and is not good for Couples (1). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We do this over and over again, for a few defined profile cards that we can clearly outline our pages/products/news/etc as. Again, this takes planning and a good understanding of what you want your web site user to do. Where are you trying to get them to go? What are you trying to make them do?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the work in profile keys and profile cards is just for score keeping. Where the rubber hits the road is in pattern cards. Pattern cards is where we define our web user, based on the things they are doing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wYNcx.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wYNcx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pattern cards are similar to profile cards in that you have selectors that rank your profiles on a defined scale (1-10 now). But this time it's about an aggregation of points, not a value you are assigning to the user. Let's say a user visits a page with business value of 5, family 2, duration 3, then visits a page with a business 5, family 1, duration 2. They have now accumulated a score of busines 10, family 3, duration 5. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore takes this information and tries to match it to one of your pattern cards. You are trying to identify if the user is looking at business trips, or shopping for a trip that is family-based. Not because they told you, but becasue they are looking at pages that you have defined and scored. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you can personalize content for your web user when you select the rule &quot;when the current visit matches the &lt;em&gt;specific&lt;/em&gt; pattern card in the &lt;em&gt;specific&lt;/em&gt; profile&quot; in the personalization rules window.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xKsy5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xKsy5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also see your top pattern hits on the dashboard for the Experience Analytics. Also check out Pattern Matches under the audience menu in Experience Analytics. It has tons of info.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gsLIO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gsLIO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Again, it takes a lot of planning to get this right, and effectively define what the client is looking to accomplish, plus mix in the goals, events, outcomes, and EV as well. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-04T04:47:33.950" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2222" PostTypeId="2" ParentId="2216" CreationDate="2016-11-04T04:51:54.227" Score="5" Body="&lt;p&gt;Sitecore has a fix for this, but it has the drawback of possibly slowing your site down. With this KB you can specify the time in seconds you are willing to wait for the GeoIP lookup to get in sync with the fist page load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/320734&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/320734&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-04T04:51:54.227" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2223" PostTypeId="2" ParentId="2219" CreationDate="2016-11-04T04:58:34.793" Score="7" Body="&lt;p&gt;Not sure what version of Sitecore you are on, but this is a bit of code from the Sitecore Launch site. It identifies the user and adds the out of the box xDB facets. This is Sitecore 8.1.0.151207.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public static void SetVisitTagsOnLogin(string domainUser, bool IsNewUser)&#xA;    {&#xA;     string name = Sitecore.Context.User.Profile.FullName;&#xA;     if (name == String.Empty) name = Sitecore.Context.User.LocalName;&#xA;     Tracker.Current.Contact.Tags.Add(&quot;Username&quot;, domainUser);&#xA;     Tracker.Current.Contact.Tags.Add(&quot;Full name&quot;, name);&#xA;&#xA;     Tracker.Current.Contact.Identifiers.AuthenticationLevel = AuthenticationLevel.PasswordValidated;&#xA;     Tracker.Current.Session.Identify(domainUser);&#xA;&#xA;     if (IsNewUser)&#xA;     {&#xA;      IContactPersonalInfo personalFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;      personalFacet.FirstName = GetFirstName(name);&#xA;      personalFacet.Surname = GetSurName(name);&#xA;&#xA;      IContactEmailAddresses addressesFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;      IEmailAddress address;&#xA;      if (!addressesFacet.Entries.Contains(&quot;work_email&quot;))&#xA;      {&#xA;       address = addressesFacet.Entries.Create(&quot;work_email&quot;);&#xA;       address.SmtpAddress = GetEmailAddressFromUser(domainUser);&#xA;       addressesFacet.Preferred = &quot;work_email&quot;;&#xA;      }&#xA;     }   &#xA;    }&#xA;&#xA;    private static string GetFirstName(string fullname)&#xA;        {&#xA;         if (fullname.Contains(' '))&#xA;          return fullname.Substring(0, fullname.IndexOf(&quot; &quot;));&#xA;&#xA;         return fullname;&#xA;        }&#xA;&#xA;        private static string GetSurName(string fullname)&#xA;        {&#xA;         if (fullname.Contains(' '))&#xA;          return fullname.Substring(fullname.IndexOf(&quot; &quot;) + 1);&#xA;&#xA;         return String.Empty;&#xA;        }&#xA;&#xA;        private static string GetEmailAddressFromUser(string username)&#xA;        {&#xA;         if (username.Contains('\\'))&#xA;          return username.Substring(username.IndexOf(&quot;\\&quot;) + 1);&#xA;&#xA;         return String.Empty;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2016-11-04T11:10:10.557" LastActivityDate="2016-11-04T11:10:10.557" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2224" PostTypeId="2" ParentId="2183" CreationDate="2016-11-04T05:06:37.283" Score="0" Body="&lt;p&gt;If you enable sticky sessions on your load balancer, this issue will go away. Like Joe Bissol said, it is trying to pull the view state off of the disk for the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using a load balancer, it is best to enable sticky sessions and moving the sessions out of inProc and into SQL on the Sitecore database or another common SQL server between all of the CD servers.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-04T05:06:37.283" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2225" PostTypeId="1" CreationDate="2016-11-04T05:19:02.803" Score="3" ViewCount="561" Body="&lt;p&gt;I am working on a marketplace package that services some analytics data via MVC controllers. But when testing I am finding several implementations of DI that cause my route to fail on the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the errors is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ExceptionWrapper: The controller for path '/apis/v1/VisitorDetails' was not found or does not implement IController.]&#xA;&#xA;[ControllerCreationException: Could not create controller: 'Visitor'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From one of Sean Holmesby's post, it looks like the DI is not letting my controller register correctly. But with his answer, I have no ability nor want to modify the websites DependencyResolver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.seanholmesby.com/safe-dependency-injection-for-mvc-and-webapi-within-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.seanholmesby.com/safe-dependency-injection-for-mvc-and-webapi-within-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am registering the routes via the Initialize pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class RegisterCustomRoute : Sitecore.Mvc.Pipelines.Loader.InitializeRoutes&#xA;{&#xA;    private const string BASE_ROUTE = &quot;apis&quot;;&#xA;    private const string API_VERSION = &quot;/v1&quot;;&#xA;&#xA;    public override void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapRoute(&#xA;            &quot;VisitorData&quot;,&#xA;            BASE_ROUTE + API_VERSION + &quot;/VisitorDetails&quot;,&#xA;            new { controller = &quot;Visitor&quot;, action = &quot;VisitorDetailsJson&quot; });&#xA;&#xA;        RouteTable.Routes.MapRoute(&#xA;            &quot;ClearVisitorSession&quot;,&#xA;            BASE_ROUTE + API_VERSION + &quot;/ClearVisitorSession&quot;,&#xA;            new { controller = &quot;Visitor&quot;, action = &quot;ClearVisitorSession&quot; });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a way to make my MVC route work consistently, or should I move the route inside sitecore or just stay away from routes in marketplace packages?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: Added pipeline config and controller.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Bonfire.Analytics.Dto.Pipelines.Initialize.RegisterCustomRoute, Bonfire.Analytics.Dto&quot;&#xA;                   patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot;/&amp;gt;&#xA;    &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is the controller. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class VisitorController : Controller&#xA;{&#xA;    [HttpGet]&#xA;    public JsonResult VisitorDetailsJson()&#xA;    {&#xA;        var vi = new VisitorInfo();&#xA;        var trackerDto = vi.GetTrackerDto();&#xA;&#xA;        return Json(trackerDto, JsonRequestBehavior.AllowGet);&#xA;    }&#xA;&#xA;    [HttpGet]&#xA;    public JsonResult ClearVisitorSession()&#xA;    {&#xA;        Session.Abandon();&#xA;&#xA;        return Json(&quot;Session Cleared&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="423" LastEditDate="2017-08-08T14:50:43.810" LastActivityDate="2017-08-08T14:50:43.810" Title="Custom route for MVC controller in a market place package is not working" Tags="|mvc|routing|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2226" PostTypeId="1" CreationDate="2016-11-04T06:04:25.510" Score="5" ViewCount="894" Body="&lt;p&gt;I have a situation where i need to map a source url with out query string parameters to a internal destination url with query string, Lets say &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;/pag1&lt;/strong&gt; to &lt;strong&gt;/page2?Id=1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;is this possible? it work if i insert external link but not with internal, I have tried to modify the raw value of the link but with no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using IIS rewrite module is not an option as the content editor needs to change the maps frequently in Sitecore, without deploying a config change or recycling the app pool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They update a .csv that contains the mapping, then run a command  which reads the .csv file entries, parse them, and create a corresponding mapping item in sitecore.&lt;/p&gt;&#xA;" OwnerUserId="546" LastEditorUserId="73" LastEditDate="2016-11-24T18:06:58.037" LastActivityDate="2016-11-24T18:06:58.037" Title="Sitecore Url Rewrite Module map source url with out query string parameters to destination url with query string parameters" Tags="|url-rewrite|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2227" PostTypeId="2" ParentId="2226" CreationDate="2016-11-04T06:57:26.187" Score="6" Body="&lt;p&gt;This is possible with the IIS rewrite module. This example comes from the Microsoft iis.net site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;to rewrite &lt;strong&gt;&lt;a href=&quot;http://localhost/pag342&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost/pag342&lt;/a&gt;&lt;/strong&gt;&#xA;to: &lt;strong&gt;&lt;a href=&quot;http://localhost/page2?id=342&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost/page2?id=342&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you would need find a pattern by using a regular expression &#xA;&lt;code&gt;(^pag/([0-9]+)&lt;/code&gt; (this finds 342) and redirect it using an action:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;page2?id={R:1}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A detailed guide on &lt;em&gt;exactly&lt;/em&gt; your problem can be found here: &lt;a href=&quot;https://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-11-04T06:57:26.187" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2229" PostTypeId="1" AcceptedAnswerId="2231" CreationDate="2016-11-04T13:21:29.827" Score="9" ViewCount="1443" Body="&lt;p&gt;When using the native Sitecore Dependency Injection I have 2 abstrations:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;IService&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IExtendedService&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I want them both to be registered to same singleton instance of a &lt;code&gt;ServiceImplementation&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I register the implementation with my IoC Container to do that?&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="70" LastEditDate="2016-11-04T14:32:30.127" LastActivityDate="2016-11-04T14:32:30.127" Title="Sitecore Dependency Injection - register two abstractions to same singleton instance of an implementation" Tags="|dependency-injection|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2230" PostTypeId="2" ParentId="2229" CreationDate="2016-11-04T13:22:23.257" Score="5" Body="&lt;p&gt;You should be able to register the two interfaces to the same singleton instance implementation, but only in code, not in config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ServiceImplementation impl = new ServiceImplementation();&#xA;serviceCollection.AddSingleton&amp;lt;IService&amp;gt;(provider =&amp;gt; impl);&#xA;serviceCollection.AddSingleton&amp;lt;IExtendedService&amp;gt;(provider =&amp;gt; impl);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This kinda sucks because you're newing up the singleton instance here....but it'll work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I originally attempted this in config, however this &lt;strong&gt;DOES NOT WORK&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;            &amp;lt;register &#xA;                serviceType=&quot;MyContracts.MyNamespace.IService, MyContracts&quot; &#xA;                implementationType=&quot;MyProject.MyNamespace.ServiceImplementation, MyProject&quot; &#xA;                lifetime=&quot;Transient&quot; /&amp;gt;&#xA;            &amp;lt;register serviceType=&quot;MyContracts.MyNamespace.IExtendedService, MyContracts&quot; &#xA;                implementationType=&quot;MyProject.MyNamespace.ServiceImplementation, MyProject&quot; &#xA;                lifetime=&quot;Transient&quot; /&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="418" LastEditorUserId="418" LastEditDate="2016-11-04T14:11:57.500" LastActivityDate="2016-11-04T14:11:57.500" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2231" PostTypeId="2" ParentId="2229" CreationDate="2016-11-04T13:23:02.137" Score="15" Body="&lt;h2&gt;Same instance for multiple services&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I believe this can only be achieved with code registration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var implementation = new ServiceImplementation();&#xA;&#xA;serviceCollection.AddSingleton&amp;lt;IService&amp;gt;(provider =&amp;gt; implementation);&#xA;serviceCollection.AddSingleton&amp;lt;IExtendedService&amp;gt;(provider =&amp;gt; implementation);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In case &lt;code&gt;ServiceImplementation&lt;/code&gt; has its own dependencies, you will need to instantiate it from the container as well. Here's a trick you can use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddSingleton&amp;lt;IService, ServiceImplementation&amp;gt;();&#xA;serviceCollection.AddSingleton&amp;lt;IExtendedService&amp;gt;(&#xA;    provider =&amp;gt; (ServiceImplementation)provider.GetService(typeof(IService)));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Below you can find more general details that I typed in before fully understanding the question :)&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;XML registration&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you're using XML registration, just add a .config patch file with the following contents:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;      &amp;lt;register&#xA;        serviceType=&quot;[Namespace].IService, [Assembly]&quot;&#xA;        implementationType=&quot;[Namespace].ServiceImplementation, [Assembly]&quot;&#xA;        lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;      &amp;lt;register&#xA;        serviceType=&quot;[Namespace].IExtendedService, [Assembly]&quot;&#xA;        implementationType=&quot;[Namespace].ServiceImplementation, [Assembly]&quot;&#xA;        lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Code registration&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You should use Sitecore &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/#Configurators&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;configurators&lt;/strong&gt;&lt;/a&gt; to register dependencies from code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are many available registration methods. Here's an example with a singleton dependency:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddSingleton&amp;lt;IExtendedService, ServiceImplementation&amp;gt;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A transient example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddTransient&amp;lt;IService&amp;gt;(provider =&amp;gt; new ServiceImplementation());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To see the complete list of available registration methods, decompile the class &lt;code&gt;ServiceCollectionServiceExtensions&lt;/code&gt; in the assembly &lt;code&gt;Microsoft.Extensions.DependencyInjection.Abstractions&lt;/code&gt;. The main variations are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;AddTransient&amp;lt;...&amp;gt;(...)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;AddScoped&amp;lt;...&amp;gt;(...)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;AddSingleton&amp;lt;...&amp;gt;(...)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Add(Type, Type, ServiceLifetime)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Add(Type, Func&amp;lt;IServiceProvider, object&amp;gt;, ServiceLifetime)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Dependency lifetime&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Regardles of which registration method you choose, remember to specify an appropriate lifetime scope. The supported options are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Singleton&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Scoped&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Transient&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Further reading&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://docs.asp.net/en/latest/mvc/controllers/dependency-injection.html&quot; rel=&quot;noreferrer&quot;&gt;https://docs.asp.net/en/latest/mvc/controllers/dependency-injection.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;noreferrer&quot;&gt;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-04T13:42:48.180" LastActivityDate="2016-11-04T13:42:48.180" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2232" PostTypeId="1" AcceptedAnswerId="2233" CreationDate="2016-11-04T14:04:10.867" Score="10" ViewCount="1397" Body="&lt;p&gt;The goal is to create a new section in the toolbox. I created a new &lt;strong&gt;Available Renderings&lt;/strong&gt; item called Custom, and I've added two new renderings, &lt;strong&gt;News and Author&lt;/strong&gt;. &#xA;When I go to the toolbox instead of one new section called Custom with two renderings in it, I get two new sections, named News and Author, each with one rendering of the same name in it. Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="856" LastEditorUserId="2727" LastEditDate="2018-02-04T11:00:55.940" LastActivityDate="2019-08-09T06:46:30.550" Title="Adding new section in SXA toolbox" Tags="|sxa|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2233" PostTypeId="2" ParentId="2232" CreationDate="2016-11-04T14:08:54.057" Score="13" Body="&lt;p&gt;Toolbox displays renderings in a way how they are organised in &lt;strong&gt;Renderings&lt;/strong&gt; content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Available Renderings&lt;/strong&gt; plays a role of filter only. Those items define which renderings should be added to a toolbox but do not define a way how they are organised. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case you've got one of your renderings under &lt;code&gt;Renderings/../News&lt;/code&gt; folder and one under &lt;code&gt;Renderings/../Author&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See how all other renderings are organised into folder categories under renderings&#xA;&lt;a href=&quot;https://i.stack.imgur.com/iNbSe.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iNbSe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All sections in the toolbox are sorted alphabetically then.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to add a new section in SxA toolbox&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To summarise and make things easier for others, here are steps that you need to perform if you want to add an extra section into Toolbox.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a folder with &lt;strong&gt;Section name&lt;/strong&gt; and put your renderings there.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JkTu1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JkTu1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add New Available Renderings item and assign your renderings to it (you can use existing one as well as those plays filtering role only)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/E8Pmv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E8Pmv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Results&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5YLWT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5YLWT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-11-04T14:20:42.983" LastActivityDate="2016-11-04T14:20:42.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2234" PostTypeId="1" AcceptedAnswerId="2235" CreationDate="2016-11-04T14:23:42.863" Score="6" ViewCount="995" Body="&lt;p&gt;Below is the Sitecore tree structure in my project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uf4If.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uf4If.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click on any item in the media library(for e.g. here Test1 item). I'm unable to see the entire content tree. Refer below image for the issue that I'm facing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5qH7K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5qH7K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone help provide a solution for this issue?&lt;/p&gt;&#xA;" OwnerUserId="952" LastEditorUserId="5387" LastEditDate="2019-08-09T06:45:59.433" LastActivityDate="2019-08-09T06:45:59.433" Title="Unable to see entire Sitecore content tree on selecting any media library item" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2235" PostTypeId="2" ParentId="2234" CreationDate="2016-11-04T14:27:11.357" Score="10" Body="&lt;p&gt;Click on the Sitecore Icon present on the top left in &lt;strong&gt;Content Editor&lt;/strong&gt;&#xA;then navigate to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Application options ▶ View(2nd tab) ▶ Check the &lt;code&gt;Show Entire Content Tree&lt;/code&gt; check box.&lt;/p&gt;&#xA;" OwnerUserId="951" LastEditorUserId="16" LastEditDate="2016-11-04T19:33:15.650" LastActivityDate="2016-11-04T19:33:15.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2236" PostTypeId="1" AcceptedAnswerId="2238" CreationDate="2016-11-04T14:32:24.313" Score="6" ViewCount="323" Body="&lt;p&gt;I'm trying to do something and I'm not sure it is possible.  We are using results suggestions as described in the link below.  And I want to have it match partial words without requiring a wild card.  So for example if I type &quot;tick&quot; it would be the same as if I typed &quot;tick*&quot; and it would suggest results with the word &quot;ticket&quot; in it.  Is this possible?&#xA;&lt;a href=&quot;https://developers.coveo.com/x/CIIUAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/public/SitecoreV4/Provide+Result+Suggestions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example on that link suggests this would work but it doesn't seem to in Coveo 450 for Sitecore using Pro Cloud&lt;/p&gt;&#xA;" OwnerUserId="498" LastEditorUserId="264" LastEditDate="2017-10-02T14:29:59.670" LastActivityDate="2017-10-02T14:29:59.670" Title="Is it possible to have Automatic Partial Match for Result Suggestions in Coveo Cloud?" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2238" PostTypeId="2" ParentId="2236" CreationDate="2016-11-04T14:41:24.333" Score="7" Body="&lt;p&gt;From my testing, it does it by default. So I followed this page: &lt;a href=&quot;https://developers.coveo.com/x/CIIUAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;developers.coveo.com/display/SitecoreV4/Provide+Result+Suggestions&lt;/a&gt; and I added the &quot;Coveo Search Resources&quot;, &quot;Coveo Search Box&quot; and &quot;Coveo Omnibox Result List&quot; to my header. I now have suggestions on everything within my index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Side Note : The suggestions, when clicked, will open the result itself, it will not redirect me to the search page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tested just typing &quot;ar&quot; and it suggested &lt;strong&gt;Ar&lt;/strong&gt;ticle , &lt;strong&gt;Ar&lt;/strong&gt;ticle Group, Gloss&lt;strong&gt;ar&lt;/strong&gt;y and more.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it what you are seeing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;* UPDATE *&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made a mistake in my original answer, I was using field-based &lt;strong&gt;query&lt;/strong&gt; suggestions : &lt;a href=&quot;https://developers.coveo.com/x/BoIUAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/SitecoreV4/Provide+Query+Suggestions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To have the same query completion behavior with the OmniboxResultList (Results Suggestions) is not possible without adding a wildcard, since it does a full query against the index, while query suggestions does a field listing call: &lt;a href=&quot;https://developers.coveo.com/x/lQEv&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/SearchREST/Listing+Values+of+a+Field&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So is there a workaround? Yes!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;BE WARNED! This workaround will require you to map the title of your items as a facet. Facets require more computing than standard fields, so a facet with a high number of values is not recommended for large index. If you use this workaround for a few hundreds/thousands items, fine, but not for millions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way it work on our pages such as the &lt;a href=&quot;https://onlinehelp.coveo.com/en/home.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;online help&lt;/a&gt; is by doing a field-based query with a custom onSelect event, which looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;$('#searchBox').coveo('initSearchbox', MySearchBoxComponent, {&#xA;    FieldSuggestions: {&#xA;        omniboxSuggestionOptions: {&#xA;            onSelect: function (valueSelected, populateOmniBoxEventArgs) {&#xA;                populateOmniBoxEventArgs.closeOmnibox();&#xA;                // When a value is selected, query the index for the result list&#xA;                Coveo.SearchEndpoint.endpoints[&quot;default&quot;]&#xA;                    .search({&#xA;                    q: '@systitle==&quot;' + valueSelected + '&quot;',&#xA;                    aq: SuggestionScope&#xA;                    })&#xA;                    .done(function (results) {&#xA;                        var foundResult = Coveo._.find(results.results, function(result){&#xA;                                return valueSelected == result.raw.systitle;&#xA;                            });&#xA;                        if(foundResult) {&#xA;                            logCustomEvent('pageNav', 'omniboxTitleSuggestion', uaToken, foundResult.Title, foundResult.clickUri);                                  &#xA;                            window.location = foundResult.clickUri;&#xA;                        } else {&#xA;                            logger.warn(&quot;Selected suggested result,&quot; + valueSelected + &quot; , not found.&quot;);&#xA;                        }&#xA;                    })&#xA;            },&#xA;            queryOverride: SuggestionScope&#xA;        }&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;* UPDATE 2 *&lt;/strong&gt;&#xA;My original code was using the Coveo JavaScript framework standalone, here is the new code in Coveo for Sitecore using MVC&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;    Coveo.$(function () {&#xA;        var searchbox = Coveo.$('#@Model.SearchboxId');&#xA;            if (typeof(CoveoForSitecore) !== 'undefined') {&#xA;                CoveoForSitecore.componentsOptions = @(Html.Raw(Model.GetJavaScriptInitializationOptions()));&#xA;&#xA;                //Here is the part where I access the suggestions of my search box&#xA;                CoveoForSitecore.componentsOptions.FieldsSuggestions = { &#xA;                    omniboxSuggestionOptions: {&#xA;                    //This queryOverride is optional, you can use it to filter the suggestions&#xA;                        queryOverride: '@Model.ToCoveoFieldName(&quot;haslayout&quot;)==&quot;1&quot;',&#xA;                        //The onSelect function is the one we want to override in order to open the suggestion &#xA;                        onSelect: function (valueSelected, populateOmniBoxEventArgs) {&#xA;                            populateOmniBoxEventArgs.closeOmnibox();&#xA;                            //This is the core of the code, you will launch a new query to find the value selected in the suggestion and open it directly&#xA;                            Coveo.SearchEndpoint.endpoints[&quot;default&quot;]&#xA;                                .search({&#xA;                                    q: '@Model.ToCoveoFieldName(&quot;title&quot;)' + '==&quot;' + valueSelected + '&quot;'&#xA;                                })&#xA;                                .done(function (results) {&#xA;                                    var foundResult = Coveo._.find(results.results, function(result){&#xA;                                            return valueSelected == result.raw.systitle;&#xA;                                        });&#xA;                                    if(foundResult) {&#xA;                                    // This logCustomEvent is optional but should be used in order to track in the Usage Analytics&#xA;                                        logCustomEvent('enter the name of the event');                                  &#xA;                                        window.location = foundResult.clickUri;&#xA;                                    } else {&#xA;                                        logger.warn(&quot;Selected suggested result,&quot; + valueSelected + &quot; , not found.&quot;);&#xA;                                    }&#xA;                                })&#xA;                        }&#xA;                    }   &#xA;                }          &#xA;&#xA;                searchbox.coveoForSitecore('initSearchbox', CoveoForSitecore.componentsOptions);&#xA;&#xA;            } else {&#xA;                searchbox.coveo('initSearchbox',&#xA;                                '@Model.GetSearchPageUrl()');&#xA;            }&#xA;            searchbox.find(&quot;.CoveoSearchbox input&quot;).attr(&quot;placeholder&quot;, '@Model.SearchboxPlaceholderText');&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So what it does is offering query suggestions, but instead of redirecting to the result page, it queries the index and redirects to the most relevant result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information on the PopulateOmnibox function: &lt;a href=&quot;https://developers.coveo.com/x/U4GfAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/JsSearchV1/Providing+Suggestions+for+the+Omnibox&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2017-10-02T14:25:48.643" LastActivityDate="2017-10-02T14:25:48.643" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2239" PostTypeId="1" AcceptedAnswerId="4532" CreationDate="2016-11-04T15:22:38.197" Score="13" ViewCount="2037" Body="&lt;p&gt;We have noticed that our MongoDB's are growing steadily. Which is an obvious result of just capturing all kinds of user interactions.&#xA;However, we can't have the xDB grow infinitely... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't seem to find any config in Sitecore that provides the means to clean up on the collected MongoDB information, provide a TTL for xDB data or anything of that kind.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, data is growing way faster than expected since a lot of bot analytics are also captured as the filtering done by ootb Sitecore is not sufficient.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any general approaches or advice on how to handle this? Because we can hardly pitch this to our customers and inform them that the MongoDB size will keep increasing over time (or their subscription will). And old collected analytics data (older than 2years) is simply not relevant enough anymore. Or should become achievable.&lt;/p&gt;&#xA;" OwnerUserId="627" LastEditorUserId="4050" LastEditDate="2019-12-09T03:28:31.603" LastActivityDate="2019-12-09T03:28:31.603" Title="MongoDB historical data and data truncation" Tags="|xdb|mongodb|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="2240" PostTypeId="2" ParentId="2226" CreationDate="2016-11-04T18:33:08.017" Score="0" Body="&lt;p&gt;There is this Sitecore module for URL Rewrite &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Url_Rewrite.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/Url_Rewrite.aspx&lt;/a&gt; that should do a good job for you. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And also editors have access to edit the rules, as every setting is inside Sitecore as an Item. Plus this: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In addition to adding Site specific redirect capabilities, I have&#xA;  modeled the data structure to closely match the functionality of&#xA;  Microsoft's IIS Url Rewrite plugin.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So you should be able to have a rule that covers your needs.&lt;/p&gt;&#xA;" OwnerUserId="447" LastActivityDate="2016-11-04T18:33:08.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2241" PostTypeId="2" ParentId="2184" CreationDate="2016-11-04T18:44:06.993" Score="0" Body="&lt;p&gt;I was recently in the situation to delete lots of item from different places from a Sitecore solution v8.1u3 and I have used Sitecore Rock. &#xA;I've used it in 2 ways: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Directly in the content tree of the Sitecore Rocks, just make a delete on the contextual menu when you right click on the items. &lt;/li&gt;&#xA;&lt;li&gt;Or use Sitecore Query inside Sitecore Rocks. &lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks/blob/master/docs/QueryAnalyzer/QueryAnalyzerSamples.md#delete-statements&quot; rel=&quot;nofollow noreferrer&quot;&gt;Example of delete queries&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Option #1 is slow, but option #2 was quite satisfactory for me. But I was in my development environment.&lt;/p&gt;&#xA;" OwnerUserId="447" LastEditorUserId="288" LastEditDate="2018-04-09T17:24:39.270" LastActivityDate="2018-04-09T17:24:39.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2242" PostTypeId="1" CreationDate="2016-11-05T15:38:16.920" Score="7" ViewCount="470" Body="&lt;p&gt;So at the company I work, we've always stored the Sitecore instance that we are developing (for the site we are building) in source control.  In this instance, we use TFS for source control. (Though I doubt it matters much if it's Git or TFS)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I've been building a few components for the market place and I've found that not committing the Sitecore instance into source control, is actually a lot easier and theoretically allows me to build my component to work with multiple versions of Sitecore (by firing up different versions using SIM).  But does this only make sense when developing components?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, how would I ensure each developer is using the correct version of Sitecore when testing their code that matches the Sitecore version of the client (if I'm not forcing them to use a specific version using source control)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, how would this work with automated deployments? Would I just use the SIM to fire up the specific version of Sitecore from scratch each time and then install/publish the site on top of that fresh instance?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do you handle Sitecore support fixes in that scenario? Would we need to store those in the Web project? If that's the case, wouldn't those cause issues if we started working with a newer version of Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="4050" LastEditDate="2019-12-09T03:28:09.930" LastActivityDate="2019-12-09T03:28:09.930" Title="What's the Best Practice for Storing Sitecore in the Solution?" Tags="|best-practices|solution-architecture|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="2243" PostTypeId="1" AcceptedAnswerId="2256" CreationDate="2016-11-05T16:01:19.003" Score="3" ViewCount="1416" Body="&lt;p&gt;I have installed a fresh Sitecore 8.2 and deployed the solution built on 8.1 u2 on top of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have updated all dll references beforehand to point to Sitecore NuGet for 8.2 version and updated &lt;code&gt;web.config&lt;/code&gt; in the source control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site starts ok but i don't find any analytics data. I can see the visits in Experience Profile, but analytics dashboard is blank.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running SOLR as a content search provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see lots of exceptions like this in the log:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;9552 16:45:13 ERROR Aggregation Error&#xA;Exception: System.InvalidOperationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: Sitecore.ExperienceAnalytics.Aggregation&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(AggregationPipelineArgs args, IEnumerable`1 segments)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.OnProcess(AggregationPipelineArgs args)&#xA;   at Sitecore.Analytics.Aggregation.Pipeline.AggregationProcessor.Process(AggregationPipelineArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject[T](XmlNode configNode)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.AggregationContainer.Repositories.&amp;lt;.cctor&amp;gt;b__1()&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.get_Dimension()&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.GetData(IVisitAggregationContext context)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(AggregationPipelineArgs args, IEnumerable`1 segments)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.TypeLoadException&#xA;Message: Could not load type 'Sitecore.ExperienceAnalytics.Aggregation.Dimensions.DimensionBase' from assembly 'Sitecore.ExperienceAnalytics, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'.&#xA;Source: mscorlib&#xA;   at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)&#xA;   at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)&#xA;   at Sitecore.Reflection.ReflectionUtil.CreateObject(String assembly, String className, Object[] parameters)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Repositories.DimensionConfigReader.CreateDimensionFromConfig(XmlElement childNode)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Repositories.DimensionConfigReader.LoadDimensionsFromConfig(String pathToConfigNode)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Actually I tried dis-assembling that dll and that type exists.&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="2727" LastEditDate="2018-02-09T08:34:22.740" LastActivityDate="2018-02-09T08:34:22.740" Title="Experience Analytics exception after upgrade to Sitecore 8.2 from 8.1 update 2" Tags="|experience-analytics|upgrade|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2244" PostTypeId="1" AcceptedAnswerId="2999" CreationDate="2016-11-05T17:50:36.287" Score="7" ViewCount="2379" Body="&lt;p&gt;I have a requirement to implement google-like 'Did you mean?' functionalities. If user make a mistake in typing then I've to show 'Did you mean &lt;code&gt;[correct search term]&lt;/code&gt;'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way in sitecore to implement this?&lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="773" LastEditDate="2016-11-30T13:33:19.047" LastActivityDate="2016-11-30T14:15:34.650" Title="How to implement 'Did you mean?' - spell checker functionality like google in Sitecore using Lucene/Solr?" Tags="|solr|content-search|lucene|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2245" PostTypeId="2" ParentId="2243" CreationDate="2016-11-05T18:23:12.690" Score="2" Body="&lt;p&gt;I have figured out that is related to EXM aggregation. so there is EXM 3.3.0 If i disable these configs: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Website\App_Config\Include\EmailExperience\Sitecore.EmailExp‌​erience.ExperienceAn‌​alytics.Aggregation.‌​config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Website\App_Config\Include\EmailExperience\Sitecore.EmailExp‌​erience.ExperienceAn‌​alytics.Reduce.confi‌​g&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see no exceptions.. Something is wrong around EXM... &#xA;I also tried to install clean sitecore 8.2 and EXM on it - same error so nothing related to my code.&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2016-11-05T18:23:12.690" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="2246" PostTypeId="2" ParentId="2242" CreationDate="2016-11-06T00:12:55.787" Score="3" Body="&lt;p&gt;This question is quite broad as there are many aspects to it. Here is my perspective of this subject.&#xA;should you add Sitecore files to source control?&#xA;Only those that are needed for the build to run and that may be changed as part of the development of your website.&#xA;For example you may want to add Sitecore dlls because they are referenced so if you are working with multiple developers they need to build as well so those are needed for your website to run properly. &#xA;What about files that are just part of the sitecore package and not planned to be customized? Those I would leave off.&#xA;There are a few reasons why. If you decide to upgrade Sitecore and all the Sitecore files are in source control the upgrade will be painfull.&#xA;Also why add to source control something that is not going to change at all? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same goes for Sitecore items. If you are using a tool like TDS for example, you don't need to add to TDS all items for your content tree. If you do that the sync process will be slow. what do you do? you add only the ones that are part of the development itself and folks should have on their dbs to run the application properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you also asked &quot;how would I ensure each developer is using the correct version of Sitecore when testing their code that matches the Sitecore version of the client?&quot;&#xA;There are a few ways you can do that such as stablishing a process to the developers like working on separate branches for each versions. Using publishing mechanisms to publish your components codes to each sitecore instance so you can test, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;that's my 2 cents&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-11-06T00:12:55.787" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2247" PostTypeId="1" CreationDate="2016-11-05T19:58:40.420" Score="2" ViewCount="210" Body="&lt;p&gt;I have a Sitecore Adaptive Images module in one of our Sitecore applications. I just finished upgrading it from 7.2 to 8.2. I am now doing some fine-tuning. I see the error below in the log. How can I fix this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;13320 15:15:36 ERROR Error loading hook: &#xA;Exception: System.NotSupportedException&#xA;Message: Specified method is not supported.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Resources.Media.MediaManager.set_Provider(MediaProvider value)&#xA;   at SitecoreAdaptiveImages.AdaptiveImagesMediaProviderHook.Initialize() in C:\Projects\OmniHotels\Source\C2\Upgrade-branch\SitecoreAdaptiveImages\AdaptiveImagesMediaProviderHook.cs:line 9&#xA;   at Sitecore.Events.Hooks.HookManager.LoadAll()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is complaining about this line in the code for the hook. How do I fix it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Y4qiU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y4qiU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="259" OwnerDisplayName="Hetal Dave" LastEditorUserId="5387" LastEditDate="2019-08-09T06:44:57.100" LastActivityDate="2019-08-09T06:44:57.100" Title="Error in SitecoreAdaptiveImages module after upgrading to 8.2" Tags="|media-library|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2248" PostTypeId="2" ParentId="2247" CreationDate="2016-11-06T01:01:57.010" Score="3" Body="&lt;p&gt;Thanks to a post by @jammykam saved me. Here is the post : &lt;a href=&quot;https://jammykam.wordpress.com/2015/12/03/sitecore-media-library-in-azure-cloud-storage-part-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2015/12/03/sitecore-media-library-in-azure-cloud-storage-part-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All I had to do was change the config file. I commented out the hook and add a patch for medialibrary. See the screenshot below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought it would be better to post my finding, as someone else who have the Adaptive Images module installed and upgrading to Sitecore 8.2 could run into same issue and get help from here. :) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lc8GK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lc8GK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="259" OwnerDisplayName="Hetal Dave" LastActivityDate="2016-11-06T01:01:57.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2249" PostTypeId="2" ParentId="2242" CreationDate="2016-11-06T12:37:40.153" Score="4" Body="&lt;p&gt;I think that the best practice is not to store Sitecore in your source control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So your source control should contain only files that are relative to your solution and on build process you deliver your codebase and files to Sitecore instance directory which is not part of your source control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So from my point of view:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;do not store sitecore files &lt;/li&gt;&#xA;&lt;li&gt;do not store/modify original Sitecore configs, use include patches in your custom config files&lt;/li&gt;&#xA;&lt;li&gt;you may keep web.config if you have something custom in it&lt;/li&gt;&#xA;&lt;li&gt;Reference only required minimum of Sitecore dlls into your projects. For Sitecore 8.2, use the Sitecore nuget feed&lt;/li&gt;&#xA;&lt;li&gt;you may include default Sitecore items if you changed them (actually, avoid that situations)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That approach also simplifies the future Sitecore upgrades so you don't need to sync new version of Sitecore files to your repository.&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2016-11-06T12:37:40.153" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2250" PostTypeId="2" ParentId="1975" CreationDate="2016-11-06T14:19:10.070" Score="2" Body="&lt;p&gt;I once faced a similar issue where the 'Add Here' was not visible for a component (I can't remember whether it was the top-most one or the out-most one).&#xA;I had to add an empty div in the containing view where the main placeholder was declared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in your case, component A is rendered in placeholder Z for example. Placeholder Z was created/declared inside a view that contained nothing except the declaration of the placeholder. I had to add an empty div around this placeholder declaration which fixed it for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Before fix:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-default prettyprint-override&quot;&gt;&lt;code&gt;@Html.Sitecore().Placeholder(&quot;...&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;After fix:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-default prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;div&amp;gt;&#xA;@Html.Sitecore().Placeholder(&quot;...&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I really hope this your case!&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="10" LastEditDate="2016-11-06T15:39:20.070" LastActivityDate="2016-11-06T15:39:20.070" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2251" PostTypeId="2" ParentId="2209" CreationDate="2016-11-06T14:22:23.427" Score="0" Body="&lt;p&gt;This happened to me once on Chrome so I moved to another browser which worked fine (firefox). I later learned that clearing the cookies (and maybe cache on Chrome) could fix the problem.&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2016-11-06T14:22:23.427" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2252" PostTypeId="1" AcceptedAnswerId="2253" CreationDate="2016-11-06T16:41:58.293" Score="6" ViewCount="1060" Body="&lt;p&gt;I would like to execute an a rule (condition and action) when a user clicks a link in an EXM email.  The ability to trigger a goal would also be acceptable.  This seems like a simple request, but nothing I try seems to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each message gets an engagement plan, but EXM puts users directly into the Clicked Through state via the API so I don't think you can immediately execute actions as it enters that state.  Each message also gets a campaign, but it does not appear that you can execute a rule or register a goal when that campaign is triggered.  You can assign a user to an engagement plan state when a campaign is triggered, but this has the same problem as the engagement plan above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something?  I am using Sitecore 8.1 update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To clarify, I am looking for a solution that does not require custom code.  It seems to me that this should be standard functionality.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2016-11-06T19:06:35.773" LastActivityDate="2016-11-06T20:02:32.160" Title="How do I execute an action when a user clicks a link in an EXM email?" Tags="|exm|rules-engine|engagement-plans|goals|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2253" PostTypeId="2" ParentId="2252" CreationDate="2016-11-06T17:52:54.260" Score="6" Body="&lt;p&gt;I think the part you might be missing is that actual action of clicking a link in an EXM sent email message is that the link goes to a page that sits outside of the Sitecore item structure.  That page is &lt;code&gt;\sitecore\RedirectUrl.aspx&lt;/code&gt;.  Because that's the case, there isn't an item in Sitecore that allows you to tap into that action through the Sitecore UI, instead, EXM runs the pipeline &lt;code&gt;&amp;lt;redirectUrl&amp;gt;&lt;/code&gt; which triggers the campaign and sets the Engagement Plan state to &lt;code&gt;Clicked Through Message&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can register conditions and actions &lt;em&gt;after the fact&lt;/em&gt; by modifying the EXM Engagement Automation plan, as shown in &lt;strong&gt;Part #1&lt;/strong&gt; below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you are looking to register conditions and actions before or in tandem with the &lt;code&gt;Clicked Through Message&lt;/code&gt; state, then I think creating a custom processor will most likely be required, as show in &lt;strong&gt;Part #2&lt;/strong&gt; below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. Using Sitecore Engagement Automation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Every time a new EXM Message is created, a &lt;strong&gt;Campaign&lt;/strong&gt; and &lt;strong&gt;Engagement Plan&lt;/strong&gt; are created specific to the message that is being created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically, the &lt;strong&gt;Engagement Plan&lt;/strong&gt; is copied from the Standard Message Plan that is located in &lt;code&gt;/sitecore/system/Marketing Control Panel/Engagement Plans/Email Campaign/Standard/Message Plan&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/G2ftM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G2ftM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a state in this engagement plan called &lt;strong&gt;Clicked Through Message&lt;/strong&gt; that contains a couple of out of the box conditions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Valuable Visit&lt;/li&gt;&#xA;&lt;li&gt;Visited One Page&lt;/li&gt;&#xA;&lt;li&gt;Visit Had No Value&lt;/li&gt;&#xA;&lt;li&gt;In Not Email Click Handler Session&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Out of the box, there are no actions assigned to these conditions. However, if you have custom actions that you want to fire, you can adjust this standard Message Plan to add in your own Conditions and associated Actions following the &lt;strong&gt;Clicked Through Message&lt;/strong&gt; state.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. Programmatically - Creating a Pipeline Processor&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are running a distributed environment (meaning you have Content Delivery servers in play, among other possible servers) you will want to make sure that the &lt;code&gt;Sitecore.EmailExperience.ContentDelivery.config&lt;/code&gt; is enabled on the Content Delivery role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside this config, you will find the &lt;code&gt;&amp;lt;redirectUrl&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;!-- REDIRECT URL PIPELINE&#xA;     This pipeline is executed when Email Experience Manager receives a request to redirect&#xA;     a page request from an email link to the correct destination page.&#xA;  --&amp;gt;&#xA;  &amp;lt;redirectUrl&amp;gt;&#xA;    &amp;lt;!-- Retrieves the message item associated with the redirect event. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.GetMessage, Sitecore.EmailCampaign.Cd&quot;/&amp;gt;&#xA;    &amp;lt;!-- Determines whether the link provided in the request is a reference to a page on the local web site. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CheckInternalLink, Sitecore.EmailCampaign.Cd&quot; /&amp;gt;&#xA;    &amp;lt;!-- Constructs the URL to redirect the request to. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.SetRedirectToUrl, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;queryStringEncryption&quot; ref=&quot;queryStringEncryption&quot; /&amp;gt;&#xA;      &amp;lt;internalCarryoverFields hint=&quot;list:AddInternalCarryoverField&quot;&amp;gt;&#xA;        &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.MessageId']/@value&quot; /&amp;gt;&#xA;          &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/carryoverField&amp;gt;&#xA;        &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.AnalyticsContactId']/@value&quot; /&amp;gt;&#xA;          &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/carryoverField&amp;gt;&#xA;        &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.Campaign']/@value&quot; /&amp;gt;&#xA;          &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/carryoverField&amp;gt;&#xA;      &amp;lt;/internalCarryoverFields&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;!-- Registers the link click event in emailEventStorage and attaches the result to the pipeline argument. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.RegisterMessageEvent, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;eventStorage&quot; ref=&quot;emailEventStorage&quot; /&amp;gt;&#xA;      &amp;lt;param desc=&quot;duplicateProtectionIntervalSecs&quot; ref=&quot;settings/setting[@name='EXM.DuplicateProtectionInterval']/@value&quot; /&amp;gt;&#xA;      &amp;lt;param desc=&quot;logger&quot; ref=&quot;exmLogger&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;!-- Registers custom page events. Internal page references matching the IgnoredUrlPattern will not add the event. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.RegisterPageEvents, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;      &amp;lt;EventName&amp;gt;Click Email Link&amp;lt;/EventName&amp;gt;&#xA;      &amp;lt;FirstEventName&amp;gt;First Click Email Link&amp;lt;/FirstEventName&amp;gt;&#xA;      &amp;lt;IgnoredUrlPattern&amp;gt;.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*&amp;lt;/IgnoredUrlPattern&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;!-- Triggers the campaign associated with the email message. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.TriggerCampaign, Sitecore.EmailCampaign.Cd&quot; /&amp;gt;&#xA;    &amp;lt;!-- Marks the current session as an email click session. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.MarkAsEmailClickSession, Sitecore.EmailCampaign.Cd&quot; /&amp;gt;&#xA;    &amp;lt;!-- Identifies the xDB contact related to the event in the xDB tracker. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.IdentifyContact, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;logger&quot; ref=&quot;exmLogger&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;!-- Moves the identified contact to the Clicked state in the engagement plan of the email message. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.MoveContactToEmailClickedState, Sitecore.EmailCampaign.Cd&quot; /&amp;gt;&#xA;    &amp;lt;!-- Updates the classification of the identified contact if it is currently greater than a given threshold. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.UpdateContactClassification, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;      &amp;lt;LowerClassificationThreshold&amp;gt;900&amp;lt;/LowerClassificationThreshold&amp;gt;&#xA;      &amp;lt;NewClassification&amp;gt;0&amp;lt;/NewClassification&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;!-- Resets the email bounce counter of the identified contact to zero. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.ResetContactEmailBounceCount, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;      &amp;lt;EmailAddressesFacetName ref=&quot;model/entities/contact/facets/facet[@name='Emails']/@name&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;!-- Sets the channel id of the current visit according to the campaign activity associated with the email message. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.SetVisitChannelId, Sitecore.EmailCampaign.Cd&quot; /&amp;gt;&#xA;    &amp;lt;!-- Sets the language of the current visit according to the language of the email sent to the current recipient. --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.SetVisitLanguage, Sitecore.EmailCampaign.Cd&quot; /&amp;gt;&#xA;  &amp;lt;/redirectUrl&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have additional actions that you want to happen during the &lt;strong&gt;Click Email Link&lt;/strong&gt; event, you can do so by adding a custom processor to this pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll most likely want to place your custom processor somewhere after &lt;code&gt;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.RegisterPageEvents&lt;/code&gt; or &lt;code&gt;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.TriggerCampaign&lt;/code&gt; processors.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-11-06T20:02:32.160" LastActivityDate="2016-11-06T20:02:32.160" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2254" PostTypeId="2" ParentId="2242" CreationDate="2016-11-06T18:59:17.850" Score="5" Body="&lt;ul&gt;&#xA;&lt;li&gt;You should start with a blank web application solution with no /sitecore files at all. If you need to add a file or modify a sitcore file, build the folder structure in your project so on deployment, it will overwrite the existing sitecore file.&lt;/li&gt;&#xA;&lt;li&gt;All Sitecore config changes should be in the solution, in a /App_Confif/Include/z_[Client] folder.&lt;/li&gt;&#xA;&lt;li&gt;All your dlls for Sitecore should come from the official sitecore &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&quot; rel=&quot;noreferrer&quot;&gt;NuGet feed&lt;/a&gt; where you specify the sitecore version, not using &quot;latest&quot; in NuGet.&lt;/li&gt;&#xA;&lt;li&gt;Your web.config should be an out of the box Sitecore web.config and use transforms to make the web.config into what it needs to be on the build.&lt;/li&gt;&#xA;&lt;li&gt;You should develop with in the &lt;a href=&quot;http://helix.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;Helix guidelines&lt;/a&gt; for your project structure. &lt;/li&gt;&#xA;&lt;li&gt;All Sitecore item changes should be tracking in your choice of serialization software. Whether its &lt;a href=&quot;http://www.teamdevelopmentforsitecore.com/&quot; rel=&quot;noreferrer&quot;&gt;TDS&lt;/a&gt; or &lt;a href=&quot;https://github.com/kamsar/Unicorn&quot; rel=&quot;noreferrer&quot;&gt;Unicorn&lt;/a&gt;. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My litmus test is if I can create a site with a Sim tool and deploy my project code and items, does my site work? In some situations, we pull production/stage content from Sitecore &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;using PowerShell&lt;/a&gt;, copy the package to a Nuget server and deploy it to development/CI with PowerShell. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To create a site, I have used Sim tools with the command line or this &lt;a href=&quot;https://github.com/patrickperrone/Sitecore-PowerShell-Installer&quot; rel=&quot;noreferrer&quot;&gt;Powershell script&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are not alone in your frustration. I have run into several clients who have the entier Sitecore web site in their solution. Deployments and upgrades are always very difficult. But if you design a solution that includes no actual Sitecore files and can be deployed to a blank site via CI. Then you will be in great shape.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-06T18:59:17.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2255" PostTypeId="2" ParentId="2239" CreationDate="2016-11-06T19:12:11.710" Score="6" Body="&lt;p&gt;Grant Killian wrote &lt;a href=&quot;https://grantkillian.wordpress.com/2016/08/11/sitecore-and-ttl-index-heresy-for-mongodb/&quot; rel=&quot;noreferrer&quot;&gt;on his blog&lt;/a&gt; about using MongoDB TTL (Time to Live) Indexes to continuously purge xDB data based on an interval.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The crux of the post that pertains to this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;MongoDB supports “Time to Live (TTL) Indexes” which purge data based&#xA;  on time rules.  Data older than 1 week, for example, could&#xA;  automatically be removed with this index type.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;...snip...&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;While pursuing this effort on behalf of session state management, I&#xA;  realized this could be an intriguing solution to data retention&#xA;  challenges with Sitecore’s xDB.  Using MongoDB TTL indexes for the xDB&#xA;  collections would prevent that data from growing out of control.  Set&#xA;  a TTL value of 180 days, for example, and make use of just the most&#xA;  recent 6 months of user activity as part of content personalization,&#xA;  profiling, etc.  Of course, one sacrifices the value of the old data&#xA;  if one expires it after a set time.  Remember, I’m acknowledging this&#xA;  is heresy!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-11-06T19:12:11.710" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2256" PostTypeId="2" ParentId="2243" CreationDate="2016-11-06T19:22:44.777" Score="2" Body="&lt;p&gt;EXM 3.3 does not run on Sitecore 8.2, so it makes sense that it's causing aggregation problems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM 3.3 only runs on Sitecore 8.1 update 3 (rev. 160519).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM 3.4 runs on Sitecore 8.2 (rev. 160729).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are always able to see which Sitecore version is required by a specific version of EXM on the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Email Experience Manager download page&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2016-11-06T19:22:44.777" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2257" PostTypeId="1" AcceptedAnswerId="2258" CreationDate="2016-11-06T19:45:51.387" Score="7" ViewCount="4106" Body="&lt;p&gt;On plain Sitecore 8.2 instance with WFFM on it I see next messages in the log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;11404 20:29:34 INFO  [Experience Analytics]: Request: &lt;a href=&quot;http://host.name/sitecore/api/ao/aggregates/all/7A9A483F195D4F96AD88473CD6854C4F/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;keyTop=5&amp;amp;keyOrderBy=visits-Asc&amp;amp;dateFrom=06-08-2016&amp;amp;dateTo=06-11-2016&amp;amp;keyGrouping=by-key&quot; rel=&quot;noreferrer&quot;&gt;http://host.name/sitecore/api/ao/aggregates/all/7A9A483F195D4F96AD88473CD6854C4F/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;keyTop=5&amp;amp;keyOrderBy=visits-Asc&amp;amp;dateFrom=06-08-2016&amp;amp;dateTo=06-11-2016&amp;amp;keyGrouping=by-key&lt;/a&gt; returned messages.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I open that URL, I see the following JSON:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;{&#xA;    message: &quot;An error has occurred.&quot;,&#xA;    exceptionMessage: &quot;The required anti-forgery form field &quot;__RequestVerificationToken&quot; is not present.&quot;,&#xA;    exceptionType: &quot;System.Web.Mvc.HttpAntiForgeryException&quot;,&#xA;    stackTrace: &quot; at &#xA;        System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken) at &#xA;        System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext) at Sitecore.Web.Http.Filters.ValidateHttpAntiForgeryTokenAttribute.OnAuthorization(HttpActionContext actionContext)&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What does that affect? How we can fix that?&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="104" LastEditDate="2016-11-07T09:25:14.560" LastActivityDate="2016-11-08T13:02:10.220" Title="Sitecore 8.2 Experience Analytics error: &quot;anti-forgery form field is not present&quot;" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2258" PostTypeId="2" ParentId="2257" CreationDate="2016-11-06T20:34:57.210" Score="9" Body="&lt;h2&gt;Explaining the log message&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;11404 20:29:34 INFO  [Experience Analytics]: Request: &lt;a href=&quot;http://host.name/sitecore/api/ao/aggregates/all/7A9A483F195D4F96AD88473CD6854C4F/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;keyTop=5&amp;amp;keyOrderBy=visits-Asc&amp;amp;dateFrom=06-08-2016&amp;amp;dateTo=06-11-2016&amp;amp;keyGrouping=by-key&quot; rel=&quot;noreferrer&quot;&gt;http://host.name/sitecore/api/ao/aggregates/all/7A9A483F195D4F96AD88473CD6854C4F/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;keyTop=5&amp;amp;keyOrderBy=visits-Asc&amp;amp;dateFrom=06-08-2016&amp;amp;dateTo=06-11-2016&amp;amp;keyGrouping=by-key&lt;/a&gt; returned messages.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is not an error, this is just an &lt;code&gt;INFO&lt;/code&gt; log message saying that the API at the given URL has been accessed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not something to be concerned about. You're only seeing this message because the Sitecore log level is set up low enough. You can &lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Logging/&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;change your log level&lt;/strong&gt;&lt;/a&gt; to &lt;code&gt;WARN&lt;/code&gt; or &lt;code&gt;ERROR&lt;/code&gt; if you don't want the log to be overly verbose.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Explaining the anti-forgery field error&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Experience Analytics seems to be using ASP.NET MVC for its RESTful API. It uses &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.web.mvc.htmlhelper.antiforgerytoken(v=vs.118).aspx&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;anti-forgery tokens&lt;/strong&gt;&lt;/a&gt; to prevent &lt;a href=&quot;https://en.wikipedia.org/wiki/Cross-site_request_forgery&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;CSRF attacks&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only the Experience Analytics application should access these API endpoints. You are not supposed to access them directly from the browser—it's not going to work since your request does not include an anti-forgery token. So receiving that error is in fact intended behavior.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Conclusion&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You shouldn't worry because of the messages you're seeing.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-08T13:02:10.220" LastActivityDate="2016-11-08T13:02:10.220" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2259" PostTypeId="1" AcceptedAnswerId="2261" CreationDate="2016-11-06T20:42:19.913" Score="6" ViewCount="2704" Body="&lt;p&gt;I recently configured a CD and CM environment, where the CD's are isolated from the CM environment on their own machine.  Is there a way to tell via the logs that the Html Cache has been cleared when I do a publish on the CM environment that affects the web database for the CD environment?  Obviously I could just check via testing of the website, but that could be misleading.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2016-11-07T04:45:20.243" Title="How can I know that the Html Cache on the CD is Cleared on Publish" Tags="|caching|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2260" PostTypeId="2" ParentId="2259" CreationDate="2016-11-06T23:22:30.037" Score="2" Body="&lt;p&gt;Add a comment into your html template (ascx/cshtml) containing the date. The comment will contain the time the component was cached.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-11-06T23:22:30.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2261" PostTypeId="2" ParentId="2259" CreationDate="2016-11-07T00:13:16.170" Score="15" Body="&lt;p&gt;Just for clarification of how HTML cache works, the remote CD servers need to know about the CM server publish event. That setting is EnableEventQueues. If it is set to true on the remote server, the remote listen for the CM end:publish event. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;EnableEventQueues&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then on the CM server you need to make sure the publish:end event has the HtmlCacheClearer (method = ClearCache) handler. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA; &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;  &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;  &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;  &amp;lt;/sites&amp;gt;&#xA; &amp;lt;/handler&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally in the log you can look for this log. It is the cache being cleared from the event end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;16812 19:06:53 INFO  Job started: Publish&#xA;15296 19:06:53 INFO  Job started: Publish to 'web'&#xA;15296 19:06:57 INFO  HtmlCacheClearer clearing HTML caches for all sites (2).&#xA;15296 19:06:57 INFO  HtmlCacheClearer done.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last thing I will mention is that in some of the times when I needed info like this, on renderings that I have cached. I use this code to push all this cache info for the rendering into a HTML comment. This is written at the time the rendering was created and is stored in the cached HTML.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;    CacheKey = @Html.Sitecore().CurrentRendering.Caching.CacheKey&#xA;    Cachable = @Html.Sitecore().CurrentRendering.Caching.Cacheable&#xA;    Timeout = @Html.Sitecore().CurrentRendering.Caching.Timeout&#xA;    VaryByData = @Html.Sitecore().CurrentRendering.Caching.VaryByData&#xA;    VaryByDevice = @Html.Sitecore().CurrentRendering.Caching.VaryByDevice&#xA;    VaryByLogin = @Html.Sitecore().CurrentRendering.Caching.VaryByLogin&#xA;    VaryByParameters = @Html.Sitecore().CurrentRendering.Caching.VaryByParameters&#xA;    VaryByQueryString = @Html.Sitecore().CurrentRendering.Caching.VaryByQueryString&#xA;    VaryByUser = @Html.Sitecore().CurrentRendering.Caching.VaryByUser&#xA;    Time = @System.DateTime.Now.ToShortDateString() - @System.DateTime.Now.ToLongTimeString()&#xA;--&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="10" LastEditDate="2016-11-07T04:45:20.243" LastActivityDate="2016-11-07T04:45:20.243" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2262" PostTypeId="1" CreationDate="2016-11-07T08:09:19.203" Score="1" ViewCount="952" Body="&lt;p&gt;I read data from mongodb and export it to .csv, then save it to my local folder (file path =&quot;F:\report.csv&quot;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click the download button in the Sitecore interface it should be downloaded from the local file path. How do I do that?&lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="73" LastEditDate="2017-08-03T13:26:23.777" LastActivityDate="2017-08-03T13:26:23.777" Title="How do I download a file from a local folder" Tags="|sitecore-client|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2263" PostTypeId="2" ParentId="2262" CreationDate="2016-11-07T09:30:03.897" Score="5" Body="&lt;p&gt;With that assumption that you are triggering an implementation of a Sitecore Command (by inheriting from &lt;code&gt;Sitecore.Shell.Framework.Commands.Command&lt;/code&gt;), you can trigger a download in the Content Editor using the &lt;code&gt;SheerResponse&lt;/code&gt; utility class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;SheerResponse.Download(localPathToYourFile);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-11-07T09:30:03.897" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2264" PostTypeId="1" AcceptedAnswerId="2288" CreationDate="2016-11-07T10:40:25.637" Score="4" ViewCount="356" Body="&lt;p&gt;This page describes how to customize the content tree: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/content_authoring/the_editing_tools/the_content_editor/customize_the_content_editor#_Customize_the_content_1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/content_authoring/the_editing_tools/the_content_editor/customize_the_content_editor#_Customize_the_content_1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can hide the Content tree, Entire tree, Hidden items, Standard fields, Raw values and Buckets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I configure these for a specific role?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a new user gets created with that specific role, by default I want him to have the 'Entire tree' disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My guess is to override a Pipeline somewhere...&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="483" LastEditDate="2016-11-07T11:52:13.653" LastActivityDate="2016-11-07T21:24:36.090" Title="How can I control GUI defaults in the Content Editor for specific user roles?" Tags="|content-editor|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2265" PostTypeId="1" AcceptedAnswerId="2267" CreationDate="2016-11-07T11:13:09.213" Score="4" ViewCount="1143" Body="&lt;p&gt;The Language 'Danish:dansk' exist with version on certain items but it is not added/defined under System(Sitecore/System/Languages/).&#xA;How is this Language added and how can I resolve/restrict such kind of issues?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BYFLj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BYFLj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1049" LastEditDate="2016-11-07T15:37:50.850" LastActivityDate="2017-11-29T23:51:50.887" Title="Undefined Language versions appearing on Sitecore Items" Tags="|sitecore-client|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2266" PostTypeId="1" CreationDate="2016-11-07T11:13:24.833" Score="13" ViewCount="4668" Body="&lt;p&gt;We are planning on changing from Lucene to Solr due to number of items and because we have more than one CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the steps needed to migrate default lucene indexes to Solr? Is it just a matter of enabling all &lt;code&gt;.Solr.config&lt;/code&gt; files or will we need to do much more than that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We also have one custom lucene index we use on the site to query items. Is it a massive job to migrate this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Using Sitecore 8.1&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="88" LastActivityDate="2016-11-08T03:09:11.943" Title="How to switch Lucene to Solr" Tags="|solr|indexing|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2267" PostTypeId="2" ParentId="2265" CreationDate="2016-11-07T11:19:30.520" Score="8" Body="&lt;p&gt;The language version is probably there by the default installation of Sitecore. They add a few language versions by default, even though the language itself is not listed under &lt;code&gt;/sitecore/system/languages&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt; installed, you can remove the language with the following command:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Remove-ItemLanguage -Path master:\content\home -Language &quot;da&quot; -Recurse&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will remove all &lt;code&gt;da&lt;/code&gt; versions under &lt;code&gt;/sitecore/content/home&lt;/code&gt;. Adjust path or language (e.g. da-DK) if necessary.&lt;/p&gt;&#xA;" OwnerUserId="114" LastActivityDate="2016-11-07T11:19:30.520" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2268" PostTypeId="2" ParentId="2265" CreationDate="2016-11-07T11:29:01.350" Score="0" Body="&lt;p&gt;This is restricted by default. To control what languages your editors can use, you do this by restricting read-access for the items under the Languages node you show in your picture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Administrator users will be able to add any language versions to your items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example you picture is part of Sitecore's default installation. Out-of-the-box. It is not an indication that anything in your setup is wrong.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-07T11:29:01.350" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2269" PostTypeId="2" ParentId="2266" CreationDate="2016-11-07T12:10:23.760" Score="6" Body="&lt;p&gt;It depends on your solution, but there are some other steps that you might need to take. I recently did the same and, we had to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;do the standard solr setup (install, create cores, disable Lucene.config and enable Solr.config files, ...)&lt;/li&gt;&#xA;&lt;li&gt;make solr work with Autofac4, which was already in the project&lt;/li&gt;&#xA;&lt;li&gt;update all custom index configs (there were quite some changes here)&lt;/li&gt;&#xA;&lt;li&gt;rewrite some queries as some fields had changed in the custom configs (due to &#xA;the fact that Solr seemed to handle them differently) &lt;/li&gt;&#xA;&lt;li&gt;as some characters were escaped wrongly, write an escape function (and call support who have a patch now - ref. nr. 131992)&lt;/li&gt;&#xA;&lt;li&gt;rewrite another query which had performance issues now (the query had to return a lot of results and that went smoother on our Lucene somehow)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Planning on writing a blog on the experience, but didn't find the time yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it might be some more work, but it could go all smoothly. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-07T12:10:23.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2271" PostTypeId="1" AcceptedAnswerId="2272" CreationDate="2016-11-07T13:50:16.267" Score="11" ViewCount="4187" Body="&lt;p&gt;I'm just mapping out some caching for a module which loads data from an external SQL database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to cache the results of methods for a configured amount of time but if the data is reimported on the CM I want to clear the cache on the CDs (as well as the CM).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd planned on using a named Sitecore cache (I have some code I've used before which will do nicely for this).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is:&#xA;How after the data import routine do I tell the CD servers that the named cache is invalid?&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-11-07T15:00:34.427" Title="Clearing CD cache in code from the CM" Tags="|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2272" PostTypeId="2" ParentId="2271" CreationDate="2016-11-07T14:32:32.130" Score="17" Body="&lt;p&gt;I would use a remote event that can be raised on the CM server and subscribed to by the CD servers. When the event is raised, an event handler can execute on the CD servers clearing the cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the mechanism used by the &lt;code&gt;HtmlCacheClearer&lt;/code&gt; handler that comes with Sitecore, you can see how it is setup in the default &lt;code&gt;Sitecore.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;publish:end&lt;/code&gt; event is raised on the local environment when publishing ends (i.e. the CM server), and the &lt;code&gt;publish:end:remote&lt;/code&gt; event is raised on remote environments (i.e. the CD servers).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is fairly straight-forward to setup but requires a bit of boilerplate code. It makes use of two mechanisms in Sitecore: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Event Raising / Handling, which allows you to configure code that subscribes to an event and executes when that event is raised.&lt;/li&gt;&#xA;&lt;li&gt;The Event Queue, which allows for events to be raised on one machine and handled by another.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You are able to create your own custom events in Sitecore just by adding them to configuration. First of all, you can define your new event and your cache clearing class in configuration like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;event name=&quot;dataimport:complete&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;MyProject.DataImporter.CacheClearer, MyProject.DataImporter&quot; method=&quot;ClearCache&quot; /&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;    &amp;lt;event name=&quot;dataimport:complete:remote&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;MyProject.DataImporter.CacheClearer, MyProject.DataImporter&quot; method=&quot;ClearCache&quot; /&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;        &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this example, I have left out the implementation of &lt;code&gt;MyProject.DataImporter.CacheClearer&lt;/code&gt;, but it is here that you would perform the functionality for clearing your cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have this, raising this event can be done through code, which you can do once your import is complete. The following code will raise both the local event as well as the remote one:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;// Raise the local event&#xA;Event.RaiseEvent(&quot;dataimporter:complete&quot;);&#xA;&#xA;// Add some data to the Event Queue, which will be consumed by other instances and then raised as events on those instances.&#xA;Sitecore.Eventing.EventManager.QueueEvent&amp;lt;DataImportCompleteEvent&amp;gt;(new DataImportCompleteEvent());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case, &lt;code&gt;DataImportCompleteEvent&lt;/code&gt; is simply an empty class and used as a means of a class for the remove instance to listen to. You can also use this class and add parameters to it if you want data to be passed to the remote instances as part of the event. I will not add that to this example to keep it simple.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The remote event doesn't fire automatically without further setup. You will also need to write some code that tells each instance to listen out for events of the &lt;code&gt;DataImportCompleteEvent&lt;/code&gt; class and raise the &lt;code&gt;dataimporter:complete:remote&lt;/code&gt; event locally on that machine.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class DataImportEventHandler&#xA;{&#xA;  public virtual void Initialize(PipelineArgs args)&#xA;  {&#xA;    var action = new Action&amp;lt;DataImportCompleteEvent&amp;gt;(RaiseRemoteEvent);&#xA;    Sitecore.Eventing.EventManager.Subscribe&amp;lt;DataImportCompleteEvent&amp;gt;(action);&#xA;  }&#xA;  private void RaiseRemoteEvent(DataImportCompleteEvent myEvent)&#xA;  {&#xA;    Sitecore.Events.Event.RaiseEvent(&quot;dataimporter:complete:remote&quot;);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To make sure this code is executed at startup, you can add a processor to the initialize pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyProject.DataImporter.DataImportEventHandler, MyProject&quot; method=&quot;Initialize&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Sitecore community documentation also contains an example that is similar to this, and may provide assistance if you want to add parameters to your event - &lt;a href=&quot;http://sitecore-community.github.io/docs/pipelines-and-events/events/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecore-community.github.io/docs/pipelines-and-events/events/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2016-11-07T15:00:34.427" LastActivityDate="2016-11-07T15:00:34.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2273" PostTypeId="2" ParentId="2271" CreationDate="2016-11-07T14:32:32.540" Score="3" Body="&lt;p&gt;As you are mentioning data in an external database, have you considered SqlCacheDependency? I've used this in a few occasions when caching data related to a (custom) SQL database was involved. You can find some info on &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ms178604.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;msdn&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Using SQL cache dependency, you could cache your information&#xA;  and create a dependency on a database table or row change. When the&#xA;  data changes—and only then—the cache items based on that data are&#xA;  invalidated and removed from the cache. The next time you request that&#xA;  item from the cache, if it is not in the cache, you can re-add the&#xA;  updated version to the cache and be assured that you have the latest&#xA;  data.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have used this mostly in a scenario where I keep a separate table that has timestamps indicating the latest data change. Whenever I want to clear caches, I update the timestamp. All servers (that registered themselves) get notified and will clear their cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This solution is outside Sitecore, but available in asp.net and sql. Worked perfectly for me a few times already.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-07T14:32:32.540" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2275" PostTypeId="1" AcceptedAnswerId="2281" CreationDate="2016-11-07T14:43:48.873" Score="2" ViewCount="1081" Body="&lt;p&gt;I recently installed Sitecore Sidekick and I am now trying to pull content from Production environment to my Dev environment. It is a Sitecore 7.2 installation instance. when I try to pull content from production, I am getting the following error. I did some initial troubleshooting and found that there is no such physical path in the my website folder as mentioned in the error below. Anything I am missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K7vi2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K7vi2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="259" LastEditorUserId="70" LastEditDate="2018-05-03T17:16:48.710" LastActivityDate="2018-05-03T17:16:48.710" Title="Error on Sitecore Sidekick Content Migrator" Tags="|sitecore-sidekick|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2276" PostTypeId="1" AcceptedAnswerId="2285" CreationDate="2016-11-07T15:33:00.850" Score="1" ViewCount="621" Body="&lt;p&gt;I'm trying to set an icon for an item in &lt;code&gt;Sitecore 8.2&lt;/code&gt;. When I click the &lt;code&gt;More Icons&lt;/code&gt; button, I get the error message below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wumb8.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wumb8.gif&quot; alt=&quot;More Icons&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;The parameter is not valid.&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.ArgumentException: Parameter is not valid.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ovqht.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ovqht.gif&quot; alt=&quot;Sitecore error message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's strange is that I have this site deployed to another environment and it's working fine there.  It's only giving me this error on my local development machine.  I think it might be a corrupt cached image file that's causing the error, but I don't know how to clear that cache out.&lt;/p&gt;&#xA;" OwnerUserId="933" LastEditorUserId="5387" LastEditDate="2019-08-09T06:41:17.237" LastActivityDate="2019-08-09T06:41:17.237" Title="Parameter is not valid when trying to select item icon" Tags="|content-editor|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="2277" PostTypeId="2" ParentId="2266" CreationDate="2016-11-07T15:33:04.460" Score="3" Body="&lt;p&gt;To enable Solr for Sitecore, you'll need to perform the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install the correct version of Solr for your version of Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Modify the default Solr schema file using the Sitecore schema tool. (You may also need to make manual changes here, too.)&lt;/li&gt;&#xA;&lt;li&gt;Enable Solr term support&lt;/li&gt;&#xA;&lt;li&gt;Configure an IOC container, if needed. (Recent versions of Sitecore have a default IOC container included already)&lt;/li&gt;&#xA;&lt;li&gt;Disable all the Lucene config files for Solr files instead&lt;/li&gt;&#xA;&lt;li&gt;Rebuild you indexes&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Sitecore now has several documentation articles posted online for Lucene to Solr conversion. There are also lots of other blog posts describing the process. See:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/using_solr_or_lucene&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/using_solr_or_lucene&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/walkthrough_setting_up_solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/walkthrough_setting_up_solr&lt;/a&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;And the older Sitecore community article: &lt;a href=&quot;https://sitecore-community.github.io/docs/search/solr/Configuring-Solr-for-use-with-Sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore-community.github.io/docs/search/solr/Configuring-Solr-for-use-with-Sitecore-8/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;For a more automated approach check out Solr Cannon: &lt;a href=&quot;https://gist.github.com/kamsar/ef8811bd458603f1e808&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/kamsar/ef8811bd458603f1e808&lt;/a&gt; &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1071" LastActivityDate="2016-11-07T15:33:04.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2278" PostTypeId="2" ParentId="2244" CreationDate="2016-11-07T15:55:08.203" Score="0" Body="&lt;p&gt;It sounds like you need the SpellChecker package. There are versions of this module for both Lucene and Solr, as well as .NET ports for Lucene.Net (which is what Sitecore uses). Make sure you get the version of the plugin appropriate for the version of Lucene / Solr you are using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that when dealing with Lucene or Solr, there exists a large community of developers across both Java and Windows platforms. Most search related questions are not particular to Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, see:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/348093/did-you-mean-feature-in-lucene-net&quot;&gt;https://stackoverflow.com/questions/348093/did-you-mean-feature-in-lucene-net&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1071" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-07T15:55:08.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2279" PostTypeId="1" AcceptedAnswerId="2287" CreationDate="2016-11-07T17:33:27.143" Score="6" ViewCount="226" Body="&lt;p&gt;We have implemented a &lt;code&gt;global Coveo search box&lt;/code&gt;, in our global header on our site that drives to our search page. This appears on our search page as well. Both the search box on the search page and the global search box use this for suggested results: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developers.coveo.com/x/CIIUAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/public/SitecoreV4/Provide+Result+Suggestions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, on our search page, we now get a &lt;strong&gt;JavaScript error&lt;/strong&gt; on the page.&#xA;&lt;code&gt;Uncaught TypeError: Cannot read property 'addEventListener' of null(…)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I remove the &lt;code&gt;Coveo Omnibox Result List View&lt;/code&gt; from the global search box on the page it works fine again.&lt;/p&gt;&#xA;" OwnerUserId="498" LastEditorUserId="5387" LastEditDate="2019-08-09T06:39:06.327" LastActivityDate="2019-08-09T06:39:06.327" Title="Multiple Search Fields on the Same Page with Suggested Results" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2280" PostTypeId="2" ParentId="2266" CreationDate="2016-11-07T17:41:18.957" Score="14" Body="&lt;p&gt;As others have said here there are a number of steps to do this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install Solr&lt;/li&gt;&#xA;&lt;li&gt;Generate an XML Schema for Solr &lt;/li&gt;&#xA;&lt;li&gt;Enable Solr term support&lt;/li&gt;&#xA;&lt;li&gt;Verify that Solr is running correctly&lt;/li&gt;&#xA;&lt;li&gt;Create Solr cores&lt;/li&gt;&#xA;&lt;li&gt;Configure an IOC Container&lt;/li&gt;&#xA;&lt;li&gt;Configure Sitecore to work with Solr&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the search Indexes&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This official Sitecore documentation covers most of this fairly well: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up__maintaining/search_and_indexing/walkthrough_setting_up_solr&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up__maintaining/search_and_indexing/walkthrough_setting_up_solr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I'm going to pick up on the more complex/time consuming ones of these and break them down for you.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Install Java, Tomcat &amp;amp; Solr&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are some other ways to do this such as using bitnami, but here is the full manual install process using Apache Tomcat.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install Java &lt;a href=&quot;https://java.com/en/download/&quot; rel=&quot;noreferrer&quot;&gt;https://java.com/en/download/&lt;/a&gt; (if it isn't already&#xA;installed - &lt;a href=&quot;https://www.java.com/en/download/installed.jsp&quot; rel=&quot;noreferrer&quot;&gt;https://www.java.com/en/download/installed.jsp&lt;/a&gt;) &lt;/li&gt;&#xA;&lt;li&gt;Download the Solr 4.1.0 windows zip from&#xA;&lt;a href=&quot;http://lucene.apache.org/solr/downloads.html&quot; rel=&quot;noreferrer&quot;&gt;http://lucene.apache.org/solr/downloads.html&lt;/a&gt;.  &lt;/li&gt;&#xA;&lt;li&gt;Extract the zip and find the \dist folder in the extracted solr-4.1.0 directory. Rename  the solr-4.1.0.war to solr.war and copy the file to the Tomcat’s \webapps folder. e.g: C:\Program Files\Apache Software&#xA;Foundation\Tomcat 8.0\webapps. &lt;/li&gt;&#xA;&lt;li&gt;Create an empty Solr home folder to&#xA;hold all Solr instances. For example, C:\solr. &lt;/li&gt;&#xA;&lt;li&gt;Find the \example\solr folder in the extracted solr-4.1.0 directory. Copy the&#xA;contents of \example\solr to the empty Solr home folder you just&#xA;created in step &lt;/li&gt;&#xA;&lt;li&gt;Copy the jar files from \solr-4.1.0\dist to&#xA;Tomcat’s \lib folder. e.g: C:\Program Files\Apache Software&#xA;Foundation\Tomcat 8.0\lib. &lt;/li&gt;&#xA;&lt;li&gt;Set the home directory for Solr in&#xA;Tomcat. By adding a new Java option with the Monitor Tomcat program.&#xA;e.g -Dsolr.solr.home=C:\solr  &lt;/li&gt;&#xA;&lt;li&gt;Stop and Restart Tomcat. &lt;/li&gt;&#xA;&lt;li&gt;Check you new&#xA;instance of Solr is running by going here:&#xA;&lt;a href=&quot;http://localhost:8080/solr&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:8080/solr&lt;/a&gt; &lt;/li&gt;&#xA;&lt;li&gt;If it isn't running properly check the&#xA;Catalina logs.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Configure Sitecore to work with Solr&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;One of the steps that takes the longest is switching all the configs to use Solr. There is a Powershell script below that will do this for you:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;    Function Set-SCSearchProvider {&#xA;    $rootPath = Read-Host &quot;What is the path of your Sitecore instance's website folder?&quot;;&#xA;    $choice = Read-Host &quot;(L)ucene or (S)olr?&quot;;&#xA;&#xA;&#xA;    $validInput = $true;&#xA;    #test that path is valid&#xA;    If (!(Test-Path -Path $rootPath))&#xA;    {&#xA;        Write-Host &quot;The supplied path was invalid or inaccessible.&quot; -ForegroundColor Red;&#xA;        $validInput = $false;&#xA;    }&#xA;    #test that choice is valid&#xA;    ElseIf (($choice -ne &quot;L&quot;) -and ($choice -ne &quot;S&quot;))&#xA;    {&#xA;        Write-Host &quot;You must choose L or S.&quot; -ForegroundColor Red;&#xA;        $validInput = $false;&#xA;    }&#xA;&#xA;&#xA;    If ($validInput)&#xA;    {&#xA;        If (($choice -eq &quot;L&quot;))&#xA;        {&#xA;            Write-Host &quot;Set to Lucene.&quot; -ForegroundColor Yellow;&#xA;            $selectedProvider = &quot;Lucene&quot;;&#xA;            $deselectedProvider = &quot;Solr&quot;;&#xA;        }&#xA;        ElseIf (($choice -eq &quot;S&quot;))&#xA;        {&#xA;            Write-Host &quot;Set to Solr.&quot; -ForegroundColor Yellow;&#xA;            $selectedProvider = &quot;Solr&quot;;&#xA;            $deselectedProvider = &quot;Lucene&quot;;&#xA;        }&#xA;&#xA;        #enumerate all config files to be enabled&#xA;        $filter = &quot;*&quot; + $selectedProvider + &quot;*.config*&quot;;&#xA;        $filesToEnable = Get-ChildItem -Recurse -File -Path $rootPath -Filter $filter;&#xA;        foreach ($file in $filesToEnable)&#xA;        {&#xA;            Write-Host $file.Name;&#xA;            if (($file.Extension -ne &quot;.config&quot;))&#xA;            {&#xA;                $newFileName = [io.path]::GetFileNameWithoutExtension($file.FullName);&#xA;                $newFile = Rename-Item -Path $file.FullName -NewName $newFileName -PassThru;&#xA;                Write-Host &quot;-&amp;gt; &quot; $newFile.Name -ForegroundColor Green;&#xA;            }&#xA;        }&#xA;&#xA;        #enumerate all config files to be disabled&#xA;        $filter = &quot;*&quot; + $deselectedProvider + &quot;*.config*&quot;;&#xA;        $filesToDisable = Get-ChildItem -Recurse -File -Path $rootPath -Filter $filter;&#xA;        foreach ($file in $filesToDisable)&#xA;        {&#xA;            Write-Host $file.Name;&#xA;            if ($file.Extension -eq &quot;.config&quot;)&#xA;            {&#xA;                $newFileName = $file.Name + &quot;.disabled&quot;;&#xA;                $newFile = Rename-Item -Path $file.FullName -NewName $newFileName -PassThru;&#xA;                Write-Host &quot;-&amp;gt; &quot; $newFile.Name -ForegroundColor Green;&#xA;            }&#xA;        }&#xA;    } }&#xA;&#xA;Set-SCSearchProvider&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Originally from here:&#xA;  &lt;a href=&quot;https://gist.github.com/patrickperrone/59b8745ee8b8ff9045b5&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/patrickperrone/59b8745ee8b8ff9045b5&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is a really quick way of renaming your configs. We use this during deployments also from Octopus.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There is a great guide for more info on setting up Solr here:&#xA;  &lt;a href=&quot;https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-developers/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-developers/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;With regard to your custom index. Migrating the index to Solr should work but as mentioned above it depends on the kind of queries you are doing, you may need to refactor some of your code/config after migration. We have 3 or 4 custom Solr indexes and they work fine.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="10" LastEditDate="2016-11-07T18:42:40.497" LastActivityDate="2016-11-07T18:42:40.497" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2281" PostTypeId="2" ParentId="2275" CreationDate="2016-11-07T18:03:22.203" Score="4" Body="&lt;p&gt;As mentioned above by Kasaku you need to install the Sidekick module in all environments in order to be able to connect to the service from dev.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do this by either:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Installing the Marketplace module in each environment: &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Install Sidekick via NuGet and deploying the following files to each environment:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install Sidekick via NuGet&#xA;  &lt;a href=&quot;https://www.nuget.org/packages/SitecoreSidekickCore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nuget.org/packages/SitecoreSidekickCore/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Package SitecoreSidekickCore&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Ensure any updates to these config files are included in your deployment:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;zSCS.config &lt;/li&gt;&#xA;&lt;li&gt;zSCS.Aduitlog.config &lt;/li&gt;&#xA;&lt;li&gt;zSCS.ContentMigrator.config&lt;/li&gt;&#xA;&lt;li&gt;zSCS.Editingcontext.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-11-07T18:03:22.203" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2282" PostTypeId="1" AcceptedAnswerId="2284" CreationDate="2016-11-07T18:15:14.803" Score="7" ViewCount="1785" Body="&lt;p&gt;We have Sitecore pulling user information out of Active Directory, and since a chunk of these are marked as disabled (University setting, and a chunk of our students get accounts for the time they're here), it results in a lot of extra results when searching for some common names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore User Manager, is it possible to hide disabled users?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="73" LastEditDate="2016-11-07T18:39:31.620" LastActivityDate="2016-11-23T20:02:01.580" Title="Can I hide disabled users in the User Manager?" Tags="|user-management|active-directory-module|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2283" PostTypeId="2" ParentId="2282" CreationDate="2016-11-07T18:29:33.000" Score="0" Body="&lt;p&gt;Looks like there is no way to do this without modifying some logic. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;One way to do it would be:&lt;/strong&gt;&lt;br&gt;&#xA;The User Manager dialog requests a list of users from the &lt;code&gt;UserProvider&lt;/code&gt; which can be configured with a &lt;code&gt;web.config&lt;/code&gt; patch:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;userManager defaultProvider=&quot;default&quot; enabled=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;clear/&amp;gt;&#xA;    &amp;lt;add name=&quot;default&quot; type=&quot;Sitecore.Security.Accounts.UserProvider, Sitecore.Kernel&quot;/&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/userManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then create your own class that overrides from &lt;code&gt;UserProvider&lt;/code&gt; and override the &lt;code&gt;GetAllUsers()&lt;/code&gt; method to only return users that are not disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that for not-administrators that can view the User Manager, Sitecore is calling another piece of logic (something like &lt;code&gt;DomainProvider&lt;/code&gt;) to get the users, so you also might want to tap into that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Another way to filter the user manager list:&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://sitecorecontextitem.wordpress.com/2014/03/14/sitecore-user-manager-filter-users-by-profile-type/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorecontextitem.wordpress.com/2014/03/14/sitecore-user-manager-filter-users-by-profile-type/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="239" LastEditorUserId="73" LastEditDate="2016-11-07T18:40:09.943" LastActivityDate="2016-11-07T18:40:09.943" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2284" PostTypeId="2" ParentId="2282" CreationDate="2016-11-07T18:31:32.587" Score="11" Body="&lt;p&gt;I propose hiding users through the use of filtering in the membership provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Consider using the &lt;strong&gt;customFilter&lt;/strong&gt; attribute used by the Active Directory membership and role providers. Examples shown below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Active Directory supports the following filter for excluding disabled users:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;(!(UserAccountControl:1.2.840.113556.1.4.803:=2))&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details &lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/5392.active-directory-ldap-syntax-filters.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; on filters supported by Microsoft Active Directory; no guarantees that the AD module will recognize them all.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;customFilter&lt;/strong&gt; attribute is documented in the AD module docs but there are not too many examples on how to do this in production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to get the filtering of disabled users working today. Thanks for the idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use these filters in your web.config. Users which require access to Sitecore are added to the &lt;strong&gt;GRP-Sitecore-Users&lt;/strong&gt; group in Active Directory. To keep things simple, this &lt;em&gt;tracking&lt;/em&gt; group limits who appears in &lt;strong&gt;User Manager&lt;/strong&gt;; the remaining access is configure in Sitecore on an individual user basis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SitecoreADMembershipProvider Custom Filter:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;(&amp;amp;amp;(memberOf=CN=GRP-Sitecore-Users,OU=Groups,OU=Company,DC=chs,DC=company,DC=corp)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SitecoreADRoleProvider Custom Filter:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;(&amp;amp;amp;(objectCategory=group)(memberOf=CN=GRP-Sitecore-Users,OU=Groups,OU=Company,DC=chs,DC=company,DC=corp)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Complete Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A complete example demonstrating settings with the Active Directory module can be found &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1965/how-do-you-best-manage-security-domains-using-sxa-with-the-active-directory-modu/2033#2033&quot;&gt;here&lt;/a&gt;. The only part missing is the &lt;em&gt;disabled&lt;/em&gt; filter.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-23T20:02:01.580" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2285" PostTypeId="2" ParentId="2276" CreationDate="2016-11-07T19:44:24.217" Score="2" Body="&lt;p&gt;Apparently the problem was not in the IconCache folder, but rather the temp folder.  I deleted everything from temp and it fixed the problem.&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2016-11-07T19:44:24.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2286" PostTypeId="1" CreationDate="2016-11-07T20:20:02.687" Score="3" ViewCount="210" Body="&lt;p&gt;Our setup is like this - &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;layout&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;left side placeholder&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;left component 1&lt;/li&gt;&#xA;&lt;li&gt;left component 2&lt;/li&gt;&#xA;&lt;li&gt;left component 3&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;right side placeholder&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;component 2&lt;/li&gt;&#xA;&lt;li&gt;component 3&lt;/li&gt;&#xA;&lt;li&gt;component 1 (added onto standard values)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The components on the left side are added fine in the order they are added. The components on the right side, are not added in the order they are supposed to be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the above example, component 1 is added to the standard values of the template. When I go to a item created based on this template and try to add component 2 in the experience editor, after component 1, using the 'Add here' button, it adds it to the correct position, but when I hit save, the component jumps to the first position. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any subsequent components that I try to add after component 1, get added above the component 1 and that ordering is fine except that component 1 is at the bottom of the list. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked into the final renderings or the page item, and this is what it shows - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r xmlns:p=&quot;p&quot; xmlns:s=&quot;s&quot; p:p=&quot;1&quot;&amp;gt;&#xA;    &amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;&amp;gt;&#xA;        &amp;lt;r uid=&quot;{08D37535-C300-4842-8B91-63F645E4DEFC}&quot;&amp;gt;&#xA;            &amp;lt;p:d /&amp;gt;&#xA;        &amp;lt;/r&amp;gt;        &#xA;        &amp;lt;r uid=&quot;{8E09205A-3722-4307-84C9-9BA9B0DBCB46}&quot; p:before=&quot;r[@uid='{E9C82680-4384-44AE-BE78-A05042D44DC4}']&quot; s:ds=&quot;{60AD1737-26CB-4694-A452-23DE8F6F5550}&quot; s:id=&quot;{50D7380B-6D62-469D-94A6-F761D1CCABB3}&quot; s:par=&quot;&quot; s:ph=&quot;/content&quot; /&amp;gt;&#xA;        &amp;lt;r uid=&quot;{E9C82680-4384-44AE-BE78-A05042D44DC4}&quot; p:before=&quot;r[@uid='{90B0191D-835E-4A94-BE09-404DDE50C21B}']&quot; s:ds=&quot;{7B573C37-2442-4F23-B41E-32B278BDF0F0}&quot; s:id=&quot;{50D7380B-6D62-469D-94A6-F761D1CCABB3}&quot; s:par=&quot;&quot; s:ph=&quot;/content&quot; /&amp;gt;&#xA;        &amp;lt;r uid=&quot;{90B0191D-835E-4A94-BE09-404DDE50C21B}&quot; p:before=&quot;r[@uid='{ECBE3572-71BA-4811-ADBC-5BC4F1163C85}']&quot; s:ds=&quot;{7B573C37-2442-4F23-B41E-32B278BDF0F0}&quot; s:id=&quot;{50D7380B-6D62-469D-94A6-F761D1CCABB3}&quot; s:par=&quot;&quot; s:ph=&quot;/content&quot; /&amp;gt;&#xA;    &amp;lt;/d&amp;gt;&#xA;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The third  element is component 1 and the ph:before its pointing to is actually pointing to a left side component 2 . I don't think this was ever touched or modified intentionally by someone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: I checked the standard values and there is no ph:before in the Shared Layout for component 1. It gets added after I another component on the right side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced this issue before? Any thoughts on where to look?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1073" LastEditorUserId="1073" LastEditDate="2016-11-07T21:11:03.110" LastActivityDate="2016-11-07T21:11:03.110" Title="Sitecore components added in random order" Tags="|experience-editor|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2287" PostTypeId="2" ParentId="2279" CreationDate="2016-11-07T21:17:45.247" Score="5" Body="&lt;p&gt;Well, you just found a new bug in Coveo for Sitecore 4.0.450!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is caused by a new fix that was introduced in the October version. It looks for an &lt;code&gt;input&lt;/code&gt; in all &lt;code&gt;.CoveoSearchbox&lt;/code&gt;es to bind an event when the &lt;code&gt;CoveoForSitecoreOmniboxResultList&lt;/code&gt; component is added. However, the input is not &lt;em&gt;yet&lt;/em&gt; loaded, because the Search page loads &lt;em&gt;after&lt;/em&gt; the &lt;code&gt;CoveoForSitecoreOmniboxResultList&lt;/code&gt; component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have managed to come up with a quick &lt;strong&gt;workaround&lt;/strong&gt; that will fix your problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the following &lt;code&gt;input&lt;/code&gt; tag like this in your &lt;strong&gt;SearchView.cshtml&lt;/strong&gt; file: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;div class=&quot;CoveoSearchbox CoveoSearchPageSearchbox&quot; ... &amp;gt;&#xA;    &amp;lt;input style=&quot;display:none&quot;&amp;gt;&amp;lt;/input&amp;gt; &amp;lt;!-- This line here --&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The bug will be fixed in the next version :)&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2016-11-07T21:17:45.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2288" PostTypeId="2" ParentId="2264" CreationDate="2016-11-07T21:24:36.090" Score="4" Body="&lt;p&gt;Write an event handler or pipeline processor and place inside following code:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Context.User.IsInRole(&quot;sitecore\\ROLE_NAME&quot;))&#xA;{&#xA;    Sitecore.Shell.UserOptions.View.ShowEntireTree = false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will basically disable the &lt;strong&gt;EntireTree&lt;/strong&gt; for your current user if he belongs to role &lt;code&gt;ROLE_NAME&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest to add this into some event, however this is your choice when and how often you need to revalidate it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would avoid anything that influence normal user experience, which is for instance: &lt;code&gt;httpRequestBegin&lt;/code&gt;. So concentrate on pipelines/events that are used by logged users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;You can find some examples and POC below:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EVENT HANLDER&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuration:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;events&amp;gt;&#xA;            &amp;lt;event name=&quot;security:loggedIn&quot;&amp;gt;&#xA;                &amp;lt;handler type=&quot;Sitecore.Playground.EventHandlers.DisableEntireTree, Sitecore.Playground&quot; method=&quot;DisableEntireTreeMethod&quot; /&amp;gt;&#xA;            &amp;lt;/event&amp;gt;&#xA;        &amp;lt;/events&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code: &#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Playground.EventHandlers&#xA;{&#xA;    public class DisableEntireTree&#xA;    {&#xA;        public void DisableEntireTreeMethod(object sender, EventArgs args)&#xA;        {&#xA;            if (Context.User.IsInRole(&quot;sitecore\\Experience Explorer&quot;))&#xA;            {&#xA;                UserOptions.View.ShowEntireTree = false;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I tested it with &lt;strong&gt;item:saved&lt;/strong&gt; event, everything worked fine but this not what you probably want.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;PIPELINE PROCESSOR:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;renderContentEditor&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Playground.Pipelines.RenderContentEditor.DisableEntireTree, Sitecore.Playground&quot; /&amp;gt;&#xA;            &amp;lt;/renderContentEditor&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;namespace Sitecore.Playground.Pipelines.RenderContentEditor&#xA;{&#xA;    public class DisableEntireTree&#xA;    {&#xA;        public void Process(RenderContentEditorArgs args)&#xA;        {&#xA;            if (Context.User.IsInRole(&quot;sitecore\\Experience Explorer&quot;))&#xA;            {&#xA;                UserOptions.View.ShowEntireTree = false;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Works &lt;strong&gt;almost&lt;/strong&gt; fine. During first load value in ribbon is changed but tree needs reload. Find your best match.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-07T21:24:36.090" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2290" PostTypeId="1" AcceptedAnswerId="2293" CreationDate="2016-11-07T22:31:40.433" Score="4" ViewCount="585" Body="&lt;p&gt;I'm trying to insert a form using the &quot;Form Wrapper&quot; rendering of Sitecore Experience Accelerator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I installed WFFM, created a form, inserted a form wrapper in a page within Site Experience Accelerator and I associated my form as associated content but nothing shows up. The area stays empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions would be really appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1051" LastEditorUserId="633" LastEditDate="2016-11-08T03:18:13.980" LastActivityDate="2016-11-08T03:18:13.980" Title="Form not showing up using Sitecore Experience Accelerator" Tags="|wffm|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2291" PostTypeId="1" AcceptedAnswerId="2298" CreationDate="2016-11-07T22:32:05.063" Score="5" ViewCount="390" Body="&lt;p&gt;I am seeing the following error in the logs for the CM I am setting up for one of our clients, in preparation for launch of their Sitecore 8.1u2 site:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Logged Error:&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;4972 16:30:56 ERROR Sitecore.Analytics.Tracker Cannot start analytics Tracker&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Stack trace:&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Exception: System.Web.HttpException&#xA;Message: The session ID is longer than the maximum limit of 80 characters. Session ID=DictionaryDataReferringSiteDatacm.myclientsname.clientabbrev-prd-cm1.mydelphic.com&#xA;Source: System.Web&#xA;   at System.Web.SessionState.SessionIDManager.CheckIdLength(String id, Boolean throwOnFail)&#xA;   at System.Web.SessionState.InProcSessionStateStore.DoGet(HttpContext context, String id, Boolean exclusive, Boolean&amp;amp; locked, TimeSpan&amp;amp; lockAge, Object&amp;amp; lockId, SessionStateActions&amp;amp; actionFlags)&#xA;   at System.Web.SessionState.InProcSessionStateStore.GetItem(HttpContext context, String id, Boolean&amp;amp; locked, TimeSpan&amp;amp; lockAge, Object&amp;amp; lockId, SessionStateActions&amp;amp; actionFlags)&#xA;   at Sitecore.Analytics.Data.Dictionaries.DictionaryData.Session.SessionDictionaryData.LoadAs[T](Object key)&#xA;   at Sitecore.Analytics.Data.Dictionaries.TrackingDictionary`2.Get(TKey key, LookupStrategy strategy)&#xA;   at Sitecore.Analytics.Pipelines.TrafficTypes.ReferringSite.Process(TrafficTypeArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.TrafficTypes.TrafficTypePipeline.Run(TrafficTypeArgs args)&#xA;   at Sitecore.Analytics.Pipelines.CreateVisits.SetTrafficType.Process(CreateVisitArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.CreateVisits.CreateVisitPipeline.Run(CreateVisitArgs args)&#xA;   at Sitecore.Analytics.Tracking.StandardSession.CreateInteraction(HttpContextBase httpContext)&#xA;   at Sitecore.Analytics.Pipelines.InitializeTracker.CreateVisit.Process(InitializeTrackerArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.InitializeTracker.InitializeTrackerPipeline.Run(InitializeTrackerArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.StartTracking.StartTrackingPipeline.Run(StartTrackingArgs args)&#xA;   at Sitecore.Analytics.DefaultTracker.StartTracking()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error is basically telling me that the &lt;code&gt;Session ID&lt;/code&gt; that was supplied, &lt;code&gt;DictionaryDataReferringSiteDatacm.myclientsname.clientabbrev-prd-cm1.mydelphic.com&lt;/code&gt; (note that while the Session ID I am showing you is not the real one, I did make sure that it is the same length and structure as the real one), is longer than the 80-character maximum.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Observations:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I can see that the length of the Session ID is, in fact, longer than 80 characters. I did a little digging and found the &lt;code&gt;Sitecore.FXM.Pipelines.ChooseSessionIdManager.FXMSessionIdManagerProcessor&lt;/code&gt; processor of the &lt;code&gt;&amp;lt;getSessionIdManager&amp;gt;&lt;/code&gt; pipeline, but I'm not using FXM, so I want to use the default &lt;code&gt;SessionIDManager&lt;/code&gt;. Aside from adding my own processor to this pipeline, I don't see any way to control the Session ID value, beyond changing the host name of the site, since the host name is being included in the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Questions:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Is anyone else familiar with this error and how to fix it? Is there another way, beyond changing the host name of the site? Should this issue even be relevant for a CM instance?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="104" LastEditDate="2016-11-08T07:45:14.490" LastActivityDate="2016-11-08T07:45:14.490" Title="Exception on a CM server: The session ID is longer than the maximum limit" Tags="|xdb|session-state|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2293" PostTypeId="2" ParentId="2290" CreationDate="2016-11-07T23:05:29.000" Score="2" Body="&lt;h2&gt;Introduction&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Forms Wrapper&lt;/strong&gt; rendering is nothing more than a wrapper for &lt;strong&gt;WFFM&lt;/strong&gt;. It just needs to display a placeholder where you normally put your forms (this done this way to provide additional styling abilities for forms).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How to add a WFFM form with SXA&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is how you should add &lt;strong&gt;Web Forms for Marketers Forms&lt;/strong&gt; with &lt;strong&gt;Sitecore Experience Accelerator&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open your page&lt;/li&gt;&#xA;&lt;li&gt;Add &lt;strong&gt;Forms Wrapper&lt;/strong&gt; rendering &lt;code&gt;Forms-&amp;gt;Forms Wrapper&lt;/code&gt; (now you should see additional section in Toolbox called &lt;strong&gt;WEB FORMS FOR MARKETERS&lt;/strong&gt;)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Pdm8j.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Pdm8j.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Drag &lt;strong&gt;Mvc Form&lt;/strong&gt; (&lt;code&gt;WEB FORMS FOR MARKETERS-&amp;gt;Mvc Form&lt;/code&gt;) rendering inside &lt;strong&gt;Forms Wrapper&lt;/strong&gt;  (notice placeholder path on the right side of the screenshot)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZP9JK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZP9JK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Starting from this step everything is the same as in vanilla &lt;strong&gt;WFFM&lt;/strong&gt;. So just create a blank form or insert existing one.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V82yJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V82yJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After I selected one of the existing forms (Demo form) here is what I see:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RBj2Q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RBj2Q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-11-07T23:13:12.923" LastActivityDate="2016-11-07T23:13:12.923" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2294" PostTypeId="1" AcceptedAnswerId="2304" CreationDate="2016-11-08T00:42:25.110" Score="27" ViewCount="1843" Body="&lt;p&gt;Currently I do not personally know any Sitecore MVP's or employees to recommend me for this honor.  I feel like I've given back to the community (although I'm looking to expand this even further in 2017).  There's probably a lot of developers in the same boat as me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How might someone like me get recommended for consideration towards becoming a Sitecore MVP?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="312" LastEditDate="2018-11-07T08:46:11.310" LastActivityDate="2020-11-04T12:41:21.783" Title="How to be Recommended to be a Sitecore MVP?" Tags="|community|mvp|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2295" PostTypeId="2" ParentId="2294" CreationDate="2016-11-08T03:00:14.443" Score="9" Body="&lt;p&gt;The request to become an MVP is organic. If you participate in the community, blog on Sitecore, come to the user groups (maybe do a talk or two). Then you will meet the other MVP's or employees who can support you in your endeavor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The community is open, friendly and welcoming. Reach out to a few of the MVPs on Twitter and see if they can help you. But be prepared that your involvement in the community should be apparent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-08T03:00:14.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2296" PostTypeId="2" ParentId="2266" CreationDate="2016-11-08T03:09:11.943" Score="3" Body="&lt;p&gt;Just wanted to add to this discussion by posting that I wrote a little PowerShell to help you with adding the cores via the API. Makes it a lot easier that adding each one, one by one. You can edit the path to the cores and data files in the script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;AddCores.ps1&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Add-Core([string]$coreName)&#xA;{&#xA;    try {$request = &quot;http://localhost:8983/solr/admin/cores?action=CREATE&amp;amp;name={0}&amp;amp;instanceDir=C:\Bitnami\solr-5.4.1-0\apache-solr\solr\{0}&amp;amp;config=solrconfig.xml&amp;amp;schema=schema.xml&amp;amp;dataDir=data&quot; -f $coreName} catch {}&#xA;    echo $request &#xA;&#xA;    $response = Invoke-RestMethod $request&#xA;}&#xA;&#xA;$cores = @(&#xA;&quot;bonfire_configs&quot;,&#xA;&quot;sitecore_analytics_index&quot;,&#xA;&quot;sitecore_analytics_index_rebuild&quot;,&#xA;&quot;sitecore_core_index&quot;,&#xA;&quot;sitecore_core_indexMainAlias&quot;,&#xA;&quot;sitecore_core_indexMainAlias_rebuild&quot;,&#xA;&quot;sitecore_core_index_rebuild&quot;,&#xA;&quot;sitecore_fxm_master_index&quot;,&#xA;&quot;sitecore_fxm_master_index_rebuild&quot;,&#xA;&quot;sitecore_fxm_web_index&quot;,&#xA;&quot;sitecore_fxm_web_index_rebuild&quot;,&#xA;&quot;sitecore_list_index&quot;,&#xA;&quot;sitecore_list_index_rebuild&quot;,&#xA;&quot;sitecore_marketingdefinitions_master&quot;,&#xA;&quot;sitecore_marketingdefinitions_master_rebuild&quot;,&#xA;&quot;sitecore_marketingdefinitions_web&quot;,&#xA;&quot;sitecore_marketingdefinitions_web_rebuild&quot;,&#xA;&quot;sitecore_marketing_asset_index_master&quot;,&#xA;&quot;sitecore_marketing_asset_index_master_rebuild&quot;,&#xA;&quot;sitecore_marketing_asset_index_web&quot;,&#xA;&quot;sitecore_marketing_asset_index_web_rebuild&quot;,&#xA;&quot;sitecore_master_index&quot;,&#xA;&quot;sitecore_master_indexMainAlias&quot;,&#xA;&quot;sitecore_master_indexMainAlias_rebuild&quot;,&#xA;&quot;sitecore_master_index_rebuild&quot;,&#xA;&quot;sitecore_suggested_test_index&quot;,&#xA;&quot;sitecore_suggested_test_index_rebuild&quot;,&#xA;&quot;sitecore_testing_index&quot;,&#xA;&quot;sitecore_testing_index_rebuild&quot;,&#xA;&quot;sitecore_web_index&quot;,&#xA;&quot;sitecore_web_indexMainAlias&quot;,&#xA;&quot;sitecore_web_indexMainAlias_rebuild&quot;,&#xA;&quot;sitecore_web_index_rebuild&quot;,&#xA;&quot;social_messages_master&quot;,&#xA;&quot;social_messages_master_rebuild&quot;,&#xA;&quot;social_messages_web&quot;,&#xA;&quot;social_messages_web_rebuild&quot;&#xA;)&#xA;&#xA; foreach ($core in $cores) {&#xA;   Add-Core -coreName $core&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-08T03:09:11.943" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2297" PostTypeId="1" CreationDate="2016-11-08T05:29:07.587" Score="3" ViewCount="738" Body="&lt;p&gt;Is there any way to restrict a sitecore user to edit only final layout? &#xA;they still should be able to view the shared layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried doing below changes through role manager.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;switched to core db&lt;/li&gt;&#xA;&lt;li&gt;opened role manager and selected a custom role&lt;/li&gt;&#xA;&lt;li&gt;opened security editor&lt;/li&gt;&#xA;&lt;li&gt;navigated to /sitecore/content/Applications/WebEdit/Ribbons/Chunks/Layout Modes/&lt;/li&gt;&#xA;&lt;li&gt;Did changes as per below pic.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/76Sfk.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/76Sfk.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Still i see the users assigned to that role has access to edit shared layout.&#xA;Any suggestions on what i am missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, the custom role above is member of sitecore/designer and sitecore/author role.&lt;/p&gt;&#xA;" OwnerUserId="951" LastEditorUserId="73" LastEditDate="2019-08-09T09:44:47.617" LastActivityDate="2019-08-09T09:44:47.617" Title="How to put restriction on Sitecore user to edit only final layout" Tags="|user-management|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="2298" PostTypeId="2" ParentId="2291" CreationDate="2016-11-08T07:17:57.007" Score="3" Body="&lt;h2&gt;Defect explanation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The problem is not the &lt;code&gt;SessionIDManager&lt;/code&gt;. It enforces a &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.web.sessionstate.sessionidmanager.sessionidmaxlength%28v=vs.100%29.aspx?f=255&amp;amp;MSPPError=-2147217396&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;maximum ID length of 80 characters&lt;/strong&gt;&lt;/a&gt; and you shouldn't attempt to overcome this limitation, since some session state providers may rely on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The actual problem is Sitecore's current implementation of &lt;code&gt;SessionDictionaryData&lt;/code&gt;. In Sitecore 8.0, this class used to store a dictionary object in the current &lt;em&gt;private&lt;/em&gt; session and accessed the whole dictionary using a constant session key. In Sitecore 8.1, this was changed and every dictionary entry is now stored as a separate &lt;strong&gt;session&lt;/strong&gt; (a &lt;em&gt;shared&lt;/em&gt; session, to be precise). This was probably done for the sake of easy per-entry expiration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look at this (reformatted) line of code from &lt;code&gt;SessionDictionaryData.LoadAs&amp;lt;T&amp;gt;(object key)&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SessionStateStoreData sessionStateStoreData =&#xA;    this.provider.GetItem(&#xA;        this.HttpContext,&#xA;        &quot;DictionaryData&quot; + typeof (T).Name + key,&#xA;        out locked,&#xA;        out lockAge,&#xA;        out lockId,&#xA;        out actions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The session ID is formed by concatenating:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;&quot;DictionaryData&quot;&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;The type name of the object being stored—in your case, &lt;code&gt;ReferringSiteData&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;The dictionary key—in this instance, it's the name of the referring site.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;There is no restriction on the length of the key here. So there will always be a possibility for a referring site name to be too long to be stored in this dictionary. Until this defect is fixed, that is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your scenario, the referring site name was the domain name of the CM. Changing the domain name will only help with your current situation; other referring sites on the web can still have long domain names.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Solutions&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;1. Workaround&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Well, first of all, this will very rarely be an issue in production. Domain names that long are pretty uncommon, so most users will never experience this error. Using a shorter domain name for your CM will &quot;solve&quot; the error in your environment.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;2. Use another dictionary implementation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The current dictionary is injected from the configuration. It is obtained via the &lt;code&gt;getDictionaryDataStorage&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Analytics.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;getDictionaryDataStorage&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Data.Dictionaries.DictionaryData.Xdb.GetDictionaryDataProcessor, Sitecore.Analytics&quot; /&amp;gt;&#xA;&amp;lt;/getDictionaryDataStorage&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Analytics.Tracking.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;getDictionaryDataStorage&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Data.Dictionaries.DictionaryData.Session.GetDictionaryDataProcessor, Sitecore.Analytics&quot; patch:before=&quot;processor[@type='Sitecore.Analytics.Data.Dictionaries.DictionaryData.Xdb.GetDictionaryDataProcessor, Sitecore.Analytics']&quot; &amp;gt;&#xA;    &amp;lt;DictionaryData type=&quot;Sitecore.Analytics.Data.Dictionaries.DictionaryData.Session.SessionDictionaryData, Sitecore.Analytics&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;configuration&quot; ref=&quot;tracking/sharedSessionState/config&quot; /&amp;gt;&#xA;    &amp;lt;/DictionaryData&amp;gt;&#xA;  &amp;lt;/processor&amp;gt;&#xA;&amp;lt;/getDictionaryDataStorage&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can just remove the second processor (that uses &lt;code&gt;SessionDictionaryData&lt;/code&gt;) and then xDB will default to using a &lt;code&gt;MongoDbDictionary&lt;/code&gt; instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't want your dictionary data to be stored in MongoDB, you can also implement your own dictionary and inject it using the &lt;code&gt;getDictionaryDataStorage&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;3. Wait for an official fix&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I registered this bug with Sitecore Support. I'll update this answer if they get back to me with a hotfix.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-08T07:17:57.007" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2299" PostTypeId="2" ParentId="2297" CreationDate="2016-11-08T08:15:58.847" Score="2" Body="&lt;p&gt;One solution to achieve the desired functionality you can override the &lt;code&gt;Sitecore.Shell.Applications.ContentManager.Dialogs.LayoutDetails.LayoutDetailsForm&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example of how to do this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create an assembly with the class that has the same code as defined in the &lt;code&gt;LayoutDetailsForm&lt;/code&gt; class.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the following code to the end of the &lt;code&gt;OnLoad&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   if (Sitecore.Context.User.IsInRole(&quot;yourrole&quot;))&#xA;   {&#xA;      LayoutPanel.Visible = false;&#xA;   }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Build the assembly and add it to the &lt;code&gt;\bin&lt;/code&gt; folder.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the &lt;code&gt;\Website\sitecore\shell\Applications\Content Manager\Dialogs\LayoutDetails\LayoutDetails.xml&lt;/code&gt; file and &lt;strong&gt;replace the following line:&lt;/strong&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;CodeBeside Type=&quot;Sitecore.Shell.Applications.ContentManager.Dialogs.LayoutDetails.LayoutDetailsForm,Sitecore.Client&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;With this line:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;CodeBeside Type=&quot;MyNamespace.LayoutDetailsForm,MyAssembly&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After performing these changes the content of the &lt;code&gt;Shared Layout&lt;/code&gt; tab will be hidden depending on user role.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="5387" LastEditDate="2019-08-09T06:27:17.437" LastActivityDate="2019-08-09T06:27:17.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2300" PostTypeId="2" ParentId="2297" CreationDate="2016-11-08T08:29:34.480" Score="2" Body="&lt;p&gt;Show &lt;code&gt;Field Read&lt;/code&gt; &lt;code&gt;Field Write&lt;/code&gt; columns in security editor, navigate to &lt;strong&gt;/sitecore/templates/System/Templates/Sections/Layout/Layout/__Renderings&lt;/strong&gt; item and deny field write.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZZzhd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZZzhd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="392" LastEditorUserId="5387" LastEditDate="2019-08-09T06:20:04.420" LastActivityDate="2019-08-09T06:20:04.420" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="2301" PostTypeId="2" ParentId="2294" CreationDate="2016-11-08T09:00:16.133" Score="30" Body="&lt;h1&gt;The focus on recommendations&lt;/h1&gt;&#xA;&lt;p&gt;First of all; &lt;em&gt;don't worry too much about recommendations&lt;/em&gt;. They matter, but they are not the do-all end-all defining thing that makes you an MVP or not. While I can't speak for all of the internal processes that take place in Sitecore when MVPs are evaluated, I feel fairly confident the recommendation system helps &amp;quot;tip the scale&amp;quot; for candidates that end up in a bit of a grey zone. You cannot rely on recommendations alone to make it through.&lt;/p&gt;&#xA;&lt;h1&gt;Focus on your community work&lt;/h1&gt;&#xA;&lt;p&gt;If you feel you've put in the time and you should be considered for nomination; by all means let Sitecore know about it. And keep focusing on your community work. Don't show up after being almost invisible for a year, in November and start Tweeting like a maniac ;-)&lt;/p&gt;&#xA;&lt;h1&gt;How do I nominate myself?&lt;/h1&gt;&#xA;&lt;p&gt;The application process changed for MVP 2019, and you can no longer nominate yourself. You must get at least one recommendation from an existing MVP or Sitecore employee. You will, receive an email with a link to apply once they have recommended you.&lt;/p&gt;&#xA;&lt;p&gt;You can read more about the application process &lt;a href=&quot;https://sitecore.stackexchange.com/a/8678/135&quot;&gt;in this answer&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h1&gt;How can I introduce myself to the community?&lt;/h1&gt;&#xA;&lt;p&gt;The Sitecore social sphere is growing ever faster, and while Sitecore does keep track of what goes on in the community - it is unlikely they will know everything you've been up to during the year. Until you tell them :-)&lt;/p&gt;&#xA;&lt;p&gt;For this reason there is a new Forum on &lt;a href=&quot;https://community.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Community&lt;/a&gt; where you can &lt;a href=&quot;https://community.sitecore.net/general/f/52/t/11257&quot; rel=&quot;noreferrer&quot;&gt;Introduce Yourself&lt;/a&gt;. Please use this as an opportunity raise awareness of your Community Contribution.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="312" LastEditDate="2020-11-04T12:41:21.783" LastActivityDate="2020-11-04T12:41:21.783" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2302" PostTypeId="5" CreationDate="2016-11-08T09:01:42.247" Score="0" Body="&lt;p&gt;The Sitecore Community is a place to interact with IT Pros, Developers and end-users along with Sitecore.&lt;/p&gt;&#xA;&lt;h3&gt;Where Sitecorians hang out:&lt;/h3&gt;&#xA;&lt;p&gt;&lt;strong&gt;Slack&lt;/strong&gt;: Talk to other Sitecore enthusiasts, share ideas, or get answers to your questions. Join the group by registering here: &lt;a href=&quot;https://sitecore.chat/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.chat/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Stack Exchange&lt;/strong&gt;: Join more than 4000 daily active users on this community-driven platform. Sign up here: &lt;a href=&quot;https://sitecore.stackexchange.com&quot;&gt;https://sitecore.stackexchange.com&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Official Sitecore Forums:&lt;/strong&gt; Connect with thousands of Sitecore developers and users, ask questions, or join the discussions. Start a discussion: &lt;a href=&quot;https://community.sitecore.com/community&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.com/community&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;There are more cool Sitecore groups where the community is active and engaged. Connect with the community to find answers, ask questions, build skills, and accelerate your digital transformation with Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="4817" LastEditDate="2022-11-07T06:53:52.297" LastActivityDate="2022-11-07T06:53:52.297" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2303" PostTypeId="4" CreationDate="2016-11-08T09:01:42.247" Score="0" Body="Questions about the Sitecore community in general. How to get involved, how things work, how to get involved in community open source projects and so on. Anything that concerns you, as a member of our community." OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-11-08T09:01:42.247" LastActivityDate="2016-11-08T09:01:42.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2304" PostTypeId="2" ParentId="2294" CreationDate="2016-11-08T09:40:22.260" Score="38" Body="&lt;p&gt;Make sure you have enough quality content online and use social channels to share your thoughts: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;on Twitter use #Sitecore &lt;a href=&quot;https://twitter.com/search?q=%23sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://twitter.com/search?q=%23sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;on LinkedIn join the appropriate groups&#xA;&lt;a href=&quot;https://www.linkedin.com/vsearch/g?type=groups&amp;amp;keywords=sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.linkedin.com/vsearch/g?type=groups&amp;amp;keywords=sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;on Facebook use the Sitecore group &lt;a href=&quot;https://www.facebook.com/groups/6932529533/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.facebook.com/groups/6932529533/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;you can request your blog to be added to the &lt;a href=&quot;http://feeds.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Blog Feed&lt;/a&gt;&#xA;&lt;a href=&quot;https://community.sitecore.net/general/f/11/t/4183&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/general/f/11/t/4183&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Also offline contribution matters, so participate conferences, user groups and other events. These events can also help you meet Sitecore employees or MVPs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recommendation is not everything, but it is always good that someone feels that your contribution is worthwhile, so make sure to have at least one! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; As of Nov 2018 the recommendation can be sent after logging in to the MVP Application area for current MVPs. Sitecore employees have an internal form to submit recommendations.&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2018-11-12T18:18:59.160" LastActivityDate="2018-11-12T18:18:59.160" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="2305" PostTypeId="1" AcceptedAnswerId="2311" CreationDate="2016-11-08T10:29:17.397" Score="21" ViewCount="6910" Body="&lt;p&gt;We noticed the &lt;code&gt;Application_Start&lt;/code&gt; in the &lt;code&gt;Global asax&lt;/code&gt; is no longer hit after the upgrade to &lt;code&gt;Sitecore 8.2&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have an idea what may have caused this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My global.asax.cs:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class Global : Sitecore.Web.Application&#xA;{&#xA;    protected void Application_Start()&#xA;    {&#xA;        // some code&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Global.asax:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;%@ Application Codebehind=&quot;Global.asax.cs&quot; Inherits=&quot;[namespace].Global&quot; Language=&quot;C#&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to be sure the Application_Start is not hit I did a few tests:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added a System.Diagnostics.Debugger.Break();&lt;/li&gt;&#xA;&lt;li&gt;Edited the Global.asax file while the debugger was attached&lt;/li&gt;&#xA;&lt;li&gt;Threw an exception&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;None of the above were successful. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The target &lt;code&gt;framework is set to 4.6&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="628" LastEditorUserId="5387" LastEditDate="2019-08-09T06:19:22.990" LastActivityDate="2019-08-09T06:19:22.990" Title="Global.asax Application_Start not hit after upgrade to Sitecore 8.2" Tags="|application|" AnswerCount="3" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="2306" PostTypeId="1" CreationDate="2016-11-08T10:42:31.977" Score="1" ViewCount="712" Body="&lt;p&gt;I have got concerns raised by the 2 teams (to work in the same time) that multi site configuration may not be a solution for them. We want to have different sites working in the same instance of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example: &#xA;In the situation when we have multi site &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; configured (Let's assume SiteDefinition.config or &lt;a href=&quot;https://github.com/Vapok/Sitecore.SharedSource.DynamicSites&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dynamic Sites Manager for Sitecore&lt;/a&gt;) and &lt;strong&gt;Web A&lt;/strong&gt; has to use &lt;strong&gt;Membership provider &quot;One&quot;&lt;/strong&gt; and &lt;strong&gt;Web B&lt;/strong&gt; has to use &lt;strong&gt;Membership provider &quot;Two&quot;&lt;/strong&gt; what is the best way to handle this situation? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And what is the other risk from having 2 teams working in 2 different web projects in the same Sitecore instance?&lt;/p&gt;&#xA;" OwnerUserId="722" LastActivityDate="2016-11-08T12:11:38.433" Title="How to separate site configurations among managed multi sites" Tags="|multisite|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2307" PostTypeId="2" ParentId="2306" CreationDate="2016-11-08T10:52:07.203" Score="6" Body="&lt;p&gt;Working multiple teams in one Sitecore solution is a question of discipline and organisation. By organisation I primarily mean how and where assets for the sites are stored and organised.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To start with your example however; different sites needing different membership providers. You don't actually map sites directly to a provider, you map them to a default &lt;code&gt;domain&lt;/code&gt;. &lt;code&gt;Extranet&lt;/code&gt; by default, but this can be changed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;sitea&quot; domain=&quot;domaina&quot; ... /&amp;gt;&#xA;&amp;lt;site name=&quot;siteb&quot; domain=&quot;domainb&quot; ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And each membership provider in your solution would be set up, to deliver these new domains to your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for how to organise yourselves; I recommend following the guidelines laid out in the Helix architecture recommendations. Specifically the section named &lt;a href=&quot;http://helix.sitecore.net/principles/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Patterns, Principles and Conventions&lt;/a&gt; that directly discusses everything related to multi-tenant implementations, file structure, organising Sitecore content, security setup and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mee1t.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mee1t.png&quot; alt=&quot;Helix Recommendations&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short. Yes, there are some more things to consider when working multiple teams in the same solution, but it is definitely doable and done by many teams around the world every day.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Breaking up your solution into two separate Sitecore instances has the added implication of needing a whole new set of licenses. One set for each site. Depending on your customer, this might not be an option at all.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-08T10:52:07.203" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2308" PostTypeId="1" CreationDate="2016-11-08T11:17:14.500" Score="4" ViewCount="120" Body="&lt;p&gt;We have a TMG ( Forefront Threat Management Gateway ) Login form and we need to Add FXM to that Login Form. The intention of this is to enable Sitecore editors to embed Sitecore content to the place holders of the Login form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added the Beacon script to the Login form but when I try to connect it through Experience Editor &lt;strong&gt;I get the following error:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Could not validate beacon script - The remote server returned an error: (401) Unauthorized*.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The beacon script is placed in the login page itself so, theoretically no need to login to the site to read the beacon so I'm worried about this error and clueless.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; TMG is a secure web Gateway where we can provide Authentications to the sites by using login forms. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore Version 8.1&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1077" LastEditorUserId="5387" LastEditDate="2019-08-09T06:17:45.943" LastActivityDate="2019-08-09T06:17:45.943" Title="How do I Add FXM to the Login Form for Forefront Threat Management Gateway?" Tags="|fxm|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="2309" PostTypeId="2" ParentId="2306" CreationDate="2016-11-08T12:11:38.433" Score="2" Body="&lt;p&gt;As Mark said it's completely possible, but there are a number of aspects Top Sitecore development that can cause issues if the disciplines is not strictly enforced.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For one, there's many &quot;shared&quot; components that people like to modify, think about DI, rendering pipelines, Link Manager, error pages, etc. Then there's the dependent assemblies, remember that both code bases will be listed into a single appdomain so it's necessary to carefully manage the versions of libraries like Facebook, NewtosoftJson, MVC, and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, while most areas and functions can be divided into folders to allow separation between the teams, there are some areas around personalisation and reporting where that doesn't apply, so you need to manually manage security in this area. We have a Content Editor Warning that prevents editing items that weren't created by someone in the same group as you, then we have role groups for each agency. These can be applied to various sections of the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly be careful with aliases, since they apply across domains.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hth&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-11-08T12:11:38.433" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2311" PostTypeId="2" ParentId="2305" CreationDate="2016-11-08T13:25:53.347" Score="25" Body="&lt;p&gt;It is best practice to not modify the global.asax file. Best to use the Sitecore pipelines to accomplish the same task. This allows you to follow Helix more closely and makes upgrading the site simpler.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Mvc;&#xA;using System.Web.Routing;&#xA;using Sitecore.Pipelines;&#xA;&#xA;namespace YourApp.Pipelines.Initialize&#xA;{&#xA;    public class RegisterApiRoutes : Sitecore.Mvc.Pipelines.Loader.InitializeRoutes&#xA;    {&#xA;        public override void Process(PipelineArgs args)&#xA;        {&#xA;           // app start here&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then your config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;initialize&amp;gt;&#xA;    &amp;lt;processor type=&quot;YourApp.Pipelines.Initialize.RegisterApiRoutes, YourApp&quot; /&amp;gt;&#xA;  &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other Global.asax functions &lt;a href=&quot;https://laubplusco.net/global-asax-sitecore-pipelines/&quot;&gt;https://laubplusco.net/global-asax-sitecore-pipelines/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-08T13:25:53.347" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2312" PostTypeId="1" AcceptedAnswerId="2317" CreationDate="2016-11-08T13:47:06.003" Score="6" ViewCount="4477" Body="&lt;p&gt;I have a requirement where I need to display &quot;Title&quot; field value of the items in the DropLink field instead of the item display names. How do I do it?&lt;/p&gt;&#xA;" OwnerUserId="955" LastActivityDate="2019-08-09T06:15:30.147" Title="Display field value in Drop Link field" Tags="|fieldtype|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2313" PostTypeId="2" ParentId="2312" CreationDate="2016-11-08T13:53:29.597" Score="9" Body="&lt;p&gt;You can do this, but you would then change the behaviour of &lt;strong&gt;all&lt;/strong&gt; your DropLink fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Switch to the &quot;core&quot; database and navigate to &lt;code&gt;/sitecore/system/Field types/Link Types/Droplink&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add &lt;code&gt;FieldName=Title&lt;/code&gt; to &lt;code&gt;Parameters&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CtcQA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CtcQA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't want this to be the default for ALL your Droplink fields, I suggest you make a Duplicate of this field type and update your templates as required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional reading: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/display-a-field-value-in-a-droplink-with-the-sitecore-asp-net-cms&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/display-a-field-value-in-a-droplink-with-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-08T13:53:29.597" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2314" PostTypeId="1" CreationDate="2016-11-08T13:57:41.963" Score="4" ViewCount="801" Body="&lt;p&gt;I'm trying to use Async tasks in my custom web api calls in Sitecore. I've successfully followed this article &lt;a href=&quot;http://www.agehrke.com/2015/08/web-api-controller-in-sitecore-8/#comment-18861&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.agehrke.com/2015/08/web-api-controller-in-sitecore-8/#comment-18861&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I'm afraid to enable UseTaskFriendlySynchronizationContext. Has anyone tried this? Could there be side effects? &lt;/p&gt;&#xA;" OwnerUserId="767" LastActivityDate="2017-01-07T15:10:38.647" Title="UseTaskFriendlySynchronizationContext in WebApi calls" Tags="|webapi|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2315" PostTypeId="1" AcceptedAnswerId="2321" CreationDate="2016-11-08T14:10:39.180" Score="6" ViewCount="3544" Body="&lt;p&gt;I'm working on integrating a previously built Sitecore solution (web project as well as TDS items) into the current Sitecore solution we are building. I've been working through a variety of Application errors that have sprung up during this migration, but I seem to be stuck on this one related to Glassmapper. The application is throwing a NullReferenceException at the following line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string.IsNullOrEmpty(Model.BackgroundImage) ? &quot;bg-primary-dark&quot; : string.Empty)&quot; style=&quot;background-image: url('@Model.BackgroundImage.Src')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I step through using the debugger, I can see that Model.BackgroundImage is null. However, the ID in the Model is set to the appropriate Sitecore item. So it seems as though Glassmapper is finding the item, but not resolving the fields correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the Model itself. It was working without error before I began trying to integrate the old Sitecore solution:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Glass.Mapper.Sc.Configuration.Attributes;&#xA;&#xA;namespace Site.Models&#xA;{&#xA;    [SitecoreType(AutoMap=true, TemplateId= &quot;{5DADD454-BB7D-46A4-AF64-0C169DBDAF79}&quot;)]&#xA;    public class HomePageHero : GlassBase, IHomePageHero&#xA;    {&#xA;        public new static string ModelTemplateId { get { return &quot;{5DADD454-BB7D-46A4-AF64-0C169DBDAF79}&quot;; } }&#xA;&#xA;        public virtual string FirstTextLine { get; set; }&#xA;&#xA;        public virtual string SecondTextLine { get; set; }&#xA;&#xA;        public virtual string ThirdTextLine { get; set; }&#xA;&#xA;        public virtual Glass.Mapper.Sc.Fields.Image BackgroundImage { get; set; }&#xA;&#xA;        public virtual Glass.Mapper.Sc.Fields.Link ButtonLink { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this is how I'm inheriting the Model in the .cshtml file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;HomePageHero&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone have an idea of what might be going on here? &lt;/p&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2023-10-13T08:53:14.383" Title="Glassmapper fields displaying null despite correct item ID" Tags="|glass-mapper|" AnswerCount="3" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="2317" PostTypeId="2" ParentId="2312" CreationDate="2016-11-08T14:18:34.697" Score="6" Body="&lt;p&gt;1) Create a custom drop link field in the core database. In a newly created field, make control field empty. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Include the following code in your project and give the assembly name and class name of the following code in a newly created custom drop link field item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FieldDropLink : Sitecore.Shell.Applications.ContentEditor.LookupEx&#xA;{&#xA;&#xA;    protected override string GetItemHeader(Sitecore.Data.Items.Item item)&#xA;    {&#xA;        if (string.IsNullOrEmpty(this.FieldName)&#xA;          || item[this.FieldName].StartsWith(&quot;@&quot;,StringComparison.OrdinalIgnoreCase)) // don't impact default usage&#xA;        {&#xA;            return base.GetItemHeader(item);&#xA;        }&#xA;&#xA;        if (string.IsNullOrEmpty(item[this.FieldName]))&#xA;        {&#xA;            return item.DisplayName;&#xA;        }&#xA;&#xA;        return item[this.FieldName];&#xA;    }&#xA;&#xA;    protected override void OnPreRender(EventArgs e)&#xA;    {&#xA;        base.OnPreRender(e);&#xA;&#xA;        if (String.IsNullOrEmpty(this.Source)&#xA;          || !this.Source.Contains(&quot;=&quot;))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        NameValueCollection args = Sitecore.Web.WebUtil.ParseUrlParameters(&#xA;          this.Source);&#xA;&#xA;        if (!String.IsNullOrEmpty(args[&quot;field&quot;]))&#xA;        {&#xA;            this.FieldName = args[&quot;field&quot;];&#xA;        }&#xA;&#xA;        this.Source = args[&quot;source&quot;] == null ? String.Empty : args[&quot;source&quot;];&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3) Select newly created drop link in your template and give your datasource followed by &lt;code&gt;&amp;amp;field=yourfiledname&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt; &lt;code&gt;source=/sitecore/content/home&amp;amp;field=title&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="951" LastEditorUserId="5387" LastEditDate="2019-08-09T06:15:30.147" LastActivityDate="2019-08-09T06:15:30.147" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2318" PostTypeId="2" ParentId="2305" CreationDate="2016-11-08T14:23:38.200" Score="28" Body="&lt;p&gt;The &lt;code&gt;Application_Start&lt;/code&gt; method of &lt;code&gt;Sitecore.Web.Application&lt;/code&gt; has been made internal in 8.2 which is why you cannot override it and your method is not being hit.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;internal void Application_Start(object sender, EventArgs args)&#xA;{&#xA;    ServiceLocator.MakeReadonly();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will have to use the &lt;code&gt;initialize&lt;/code&gt; pipeline as mentioned by &lt;a href=&quot;https://sitecore.stackexchange.com/a/2311/55&quot;&gt;dnstommy&lt;/a&gt;, which is also best practice.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-08T14:27:09.320" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2319" PostTypeId="1" CreationDate="2016-11-08T14:45:26.463" Score="6" ViewCount="1341" Body="&lt;p&gt;We encountered something strange with the renderings.&#xA;We have a form with 4 steps. All the 4 steps have the same template, but they all have different renderings. For steps 1 to 3, the renderings are loaded correctly (even in the CM the renderings are visible in the correct order in the presentation details). But for step 4 We get that not Layout was specified and no renderings are specified. Now the strange part starts, if we enable the &quot;raw values&quot; we get the following XMLs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1 to 3 (working perfectly):&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-XML prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;r xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; &amp;gt;&#xA;    &amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot; l=&quot;{6D2049B2-34CE-4653-BEC9-206860EB9857}&quot;&amp;gt;&#xA;        &amp;lt;r id=&quot;{CA8A09FA-6353-4CBF-94DB-92CD68D163B0}&quot; ph=&quot;local-belgium-main&quot; uid=&quot;{FD256D71-16B6-449E-8C08-42BFE2A6CD4B}&quot; /&amp;gt;&#xA;        &amp;lt;r ds=&quot;&quot; id=&quot;{BC464D77-8FB4-410C-A46D-8F2171DF18C7}&quot; par=&quot;&quot; ph=&quot;local-belgium-constrained&quot; uid=&quot;{8C90ABF4-FFAA-4050-B099-F71C8D61C15C}&quot; /&amp;gt;&#xA;        &amp;lt;r ds=&quot;{39ECF3E9-B19B-41A7-8A6F-59F0DBDB728E}&quot; id=&quot;{966998AF-44C5-4FF4-A3BA-DDEC8DE7076C}&quot; par=&quot;&quot; ph=&quot;local-belgium-constrained&quot; uid=&quot;{BACB3C74-CFF4-4495-91F4-E12043B04D58}&quot; /&amp;gt;&#xA;        &amp;lt;r ds=&quot;&quot; id=&quot;{E095D3B6-E620-450D-A225-961BE12283EF}&quot; par=&quot;&quot; ph=&quot;local-belgium-constrained&quot; uid=&quot;{A1FFA733-32C9-480F-BE2E-38352D99E0B9}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{5A0E0EFE-21D4-4194-A772-90E88085B7AA}&quot; ph=&quot;local-belgium-constrained&quot; uid=&quot;{BC2CCD71-A242-463D-8231-9C75A90EC61E}&quot; /&amp;gt;&#xA;        &amp;lt;r ds=&quot;{82E0C067-87BD-47C8-B419-E0D66923C2A8}&quot; id=&quot;{55CBED47-26DF-4AEE-9FBA-82A5ADB5B9AD}&quot; par=&quot;&quot; ph=&quot;local-belgium-left&quot; uid=&quot;{FBFFDFFB-B753-47DA-829A-C284B9AAF49C}&quot; /&amp;gt;&#xA;        &amp;lt;r ds=&quot;{1CA34AA9-905A-492A-AAAD-291C2546BEE1}&quot; id=&quot;{A62834D4-B607-42D5-9F90-FEFB715006B1}&quot; par=&quot;&quot; ph=&quot;local-belgium-left&quot; uid=&quot;{CE158AFF-9B73-4A41-95D9-46A48E0125DD}&quot; /&amp;gt;&#xA;    &amp;lt;/d&amp;gt;&#xA;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 4 (NOT WORKING):&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r  xmlns:p=&quot;p&quot; xmlns:s=&quot;s&quot; p:p=&quot;1&quot;&amp;gt;&#xA;    &amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;&amp;gt;&#xA;        &amp;lt;r uid=&quot;{A676EFBC-370E-46B7-B5F9-94D47D9093AC}&quot;&amp;gt;&#xA;            &amp;lt;p:d /&amp;gt;&#xA;        &amp;lt;/r&amp;gt;&amp;lt;r uid=&quot;{4DA8179B-5CCC-4114-A322-F1C8AB41D955}&quot;&amp;gt;&#xA;            &amp;lt;p:d /&amp;gt;&#xA;        &amp;lt;/r&amp;gt;&amp;lt;r uid=&quot;{FD256D71-16B6-449E-8C08-42BFE2A6CD4B}&quot; p:before=&quot;*&quot; s:id=&quot;{CA8A09FA-6353-4CBF-94DB-92CD68D163B0}&quot; s:ph=&quot;local-belgium-main&quot; /&amp;gt;&#xA;        &amp;lt;r uid=&quot;{8C90ABF4-FFAA-4050-B099-F71C8D61C15C}&quot; p:after=&quot;r[@uid='{FD256D71-16B6-449E-8C08-42BFE2A6CD4B}']&quot; s:ds=&quot;&quot; s:id=&quot;{BC464D77-8FB4-410C-A46D-8F2171DF18C7}&quot; s:par=&quot;&quot; s:ph=&quot;local-belgium-constrained&quot; /&amp;gt;&#xA;        &amp;lt;r uid=&quot;{A1FFA733-32C9-480F-BE2E-38352D99E0B9}&quot; p:after=&quot;r[@uid='{8C90ABF4-FFAA-4050-B099-F71C8D61C15C}']&quot; s:ds=&quot;&quot; s:id=&quot;{E095D3B6-E620-450D-A225-961BE12283EF}&quot; s:par=&quot;&quot; s:ph=&quot;local-belgium-constrained&quot; /&amp;gt;&#xA;        &amp;lt;r uid=&quot;{CE158AFF-9B73-4A41-95D9-46A48E0125DD}&quot; p:after=&quot;*[1=2]&quot; s:ds=&quot;{BAFB7E03-2E60-4677-80BC-CF2CE2D48923}&quot; s:id=&quot;{D51D5868-8695-49EE-A63B-9CCBA46633DB}&quot; s:par=&quot;&quot; s:ph=&quot;local-belgium-constrained&quot; /&amp;gt;&#xA;    &amp;lt;/d&amp;gt;&#xA;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, the XML is differently formatted. Is there something we can do to fix this? or do we manually need to adapt the faulty XML?&lt;/p&gt;&#xA;" OwnerUserId="1081" LastEditorUserId="5387" LastEditDate="2019-12-10T05:27:52.610" LastActivityDate="2019-12-10T05:27:52.610" Title="Renderings xml seems to be suddenly broken" Tags="|presentation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2320" PostTypeId="2" ParentId="2315" CreationDate="2016-11-08T14:50:18.050" Score="1" Body="&lt;h1&gt;Does the item exist in the requested language?&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;What you're experiencing happens when you are trying to convert an &lt;code&gt;Item&lt;/code&gt; to a Glass object, when that &lt;code&gt;Item&lt;/code&gt; is does not have a version in the current context language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass objects are usually instantiated in &lt;code&gt;Glass.Mapper.Sc.SitecoreService&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public object CreateType(Type type, Item item, bool isLazy, bool inferType, Dictionary&amp;lt;string, object&amp;gt; parameters, params object[] constructorParameters)&#xA;{&#xA;    if (item == null || item.Versions.Count == 0 &amp;amp;&amp;amp; Utilities.DoVersionCheck(this.Config))&#xA;        return (object) null;&#xA;&#xA;    if (constructorParameters != null &amp;amp;&amp;amp; constructorParameters.Length &amp;gt; 10)&#xA;        throw new NotSupportedException(&quot;Maximum number of constructor parameters is 10&quot;);&#xA;&#xA;    SitecoreTypeCreationContext typeCreationContext = new SitecoreTypeCreationContext();&#xA;&#xA;    // Creation context setup omitted ...&#xA;    return this.InstantiateObject((AbstractTypeCreationContext) typeCreationContext);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore able to resolve the &lt;code&gt;Item&lt;/code&gt; even if it does not exist in the language (with a lot of &lt;code&gt;null&lt;/code&gt; fields) - which is useful for shared fields - but when casting  the item to a Glass object, GlassMapper checks whether a version of the item exists in the current language, and if it does not, the cast will return &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="463" LastEditorUserId="469" LastEditDate="2016-11-08T18:54:37.993" LastActivityDate="2016-11-08T18:54:37.993" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2321" PostTypeId="2" ParentId="2315" CreationDate="2016-11-08T15:01:07.893" Score="7" Body="&lt;p&gt;The problem could be that you use &lt;code&gt;AutoMapping&lt;/code&gt;. If the field names are not exactly the same as the property names then Glass can't solve these. I would try to use &lt;code&gt;[SitecoreField(&quot;First Text Line&quot;)]&lt;/code&gt; attribute for &lt;code&gt;FirstTextLine&lt;/code&gt; property, if your field name in Sitecore is &lt;code&gt;First Text Line&lt;/code&gt;. Here is the documentation about &lt;code&gt;AutoMap&lt;/code&gt; - &lt;a href=&quot;http://www.glass.lu/Blog/AutoMapping&quot; rel=&quot;noreferrer&quot;&gt;http://www.glass.lu/Blog/AutoMapping&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-11-08T15:01:07.893" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2322" PostTypeId="1" AcceptedAnswerId="2326" CreationDate="2016-11-08T15:05:25.847" Score="11" ViewCount="3203" Body="&lt;p&gt;As a test, I wanted to create a rendering for an SXA site. It had to be added to the toolbox and have a controller, model, and view. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1921/creating-new-renderings-that-are-compatible-with-sxa&quot;&gt;Creating new renderings that are compatible with SXA&lt;/a&gt; and now I am somehow confused as in that answer only the controller and rendering parameters are mentioned and I remember this slide from the Sitecore Symposium:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dx8Mg.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dx8Mg.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here they also mentioned:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;adding a div to my view&lt;/li&gt;&#xA;&lt;li&gt;implementing IRenderingModelBase for the model&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So now my questions are:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Do I need to do add this div to the view and what if I don't?&lt;/li&gt;&#xA;&lt;li&gt;Do I need to implement that interface and what will I benefit (or what will I miss if I don't)?&lt;/li&gt;&#xA;&lt;li&gt;If I have a custom model that implements this interface, what is the best way to fill all the properties involved? I found a &lt;code&gt;GetModel()&lt;/code&gt; in the controller and a &lt;code&gt;ModelRepository&lt;/code&gt; that might help but then I need to copy the values..&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="237" LastEditorUserId="5387" LastEditDate="2019-08-09T06:11:12.043" LastActivityDate="2019-08-09T06:11:12.043" Title="Create controller rendering in SXA" Tags="|mvc|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2323" PostTypeId="2" ParentId="2297" CreationDate="2016-11-08T15:20:43.460" Score="2" Body="&lt;p&gt;&lt;strong&gt;Updated Response&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After looking into more details, your issue can be addressed by updating the &lt;em&gt;RenderingLayoutGridBuilder&lt;/em&gt; method located inside &lt;strong&gt;Sitecore.Shell.Applications.ContentManager.Dialogs.LayoutDetails.LayoutDetailsForm&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a copy of LayoutDetailsForm.cs class in your local assembly.&lt;/li&gt;&#xA;&lt;li&gt;Add logic to the method RenderLayoutGridBuilder in such a way that EditRenderingClick and OpenDeviceClick are set to &lt;strong&gt;string.Empty&lt;/strong&gt; for users in a specific role.&lt;/li&gt;&#xA;&lt;li&gt;You also need to make sure the layoutValue is for shared layout renderings.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;private void RenderLayoutGridBuilder(string layoutValue, Control renderingContainer)&#xA;{&#xA;    string str = renderingContainer.ID + &quot;LayoutGrid&quot;;&#xA;    LayoutGridBuilder builder = new LayoutGridBuilder {&#xA;        ID = str,&#xA;        Value = layoutValue,&#xA;        EditRenderingClick = &quot;EditRendering(\&quot;$Device\&quot;, \&quot;$Index\&quot;)&quot;, &#xA;        EditPlaceholderClick = &quot;EditPlaceholder(\&quot;$Device\&quot;, \&quot;$UniqueID\&quot;)&quot;,&#xA;        OpenDeviceClick = &quot;OpenDevice(\&quot;$Device\&quot;)&quot;,&#xA;        CopyToClick = &quot;CopyDevice(\&quot;$Device\&quot;)&quot;&#xA;    };&#xA;    renderingContainer.Controls.Clear();&#xA;    builder.BuildGrid(renderingContainer);&#xA;    if (Context.ClientPage.IsEvent)&#xA;    {&#xA;        SheerResponse.SetOuterHtml(renderingContainer.ID, renderingContainer);&#xA;        SheerResponse.Eval(&quot;if (!scForm.browser.isIE) { scForm.browser.initializeFixsizeElements(); }&quot;);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rqx62.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rqx62.png&quot; alt=&quot;No option to edit or open renderings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="406" LastEditorUserId="406" LastEditDate="2016-11-14T16:14:18.980" LastActivityDate="2016-11-14T16:14:18.980" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2325" PostTypeId="2" ParentId="2322" CreationDate="2016-11-08T15:38:56.677" Score="1" Body="&lt;p&gt;This is an incomplete answer to start the discussion, but just from what I've found:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The div and the &lt;code&gt;@Model.CssClasses.Aggregate()&lt;/code&gt; seems to add all of the classes for variants, grid sizing, and other options selected in experience editor to the rendered HTML. I think it would be wise to make sure that's there, from my experimentation, but I have successfully added other renderings I've created before to a page in SXA without this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, when rendered with a carousel with a full bleed image in it, vs the view code:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1RH3D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1RH3D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The interface, decompiled, shows these properties:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IRenderingModelBase&#xA;{&#xA;  // Properties&#xA;  IEnumerable&amp;lt;string&amp;gt; CssClasses { get; set; }&#xA;  Item DataSourceItem { get; set; }&#xA;  string HeadingTag { get; set; }&#xA;  bool IsControlEditable { get; set; }&#xA;  bool IsEdit { get; set; }&#xA;  Item Item { get; set; }&#xA;  MvcHtmlString MessageEditHere { get; set; }&#xA;  MvcHtmlString MessageIsEmpty { get; set; }&#xA;  Item PageItem { get; set; }&#xA;  IRendering Rendering { get; set; }&#xA;  RenderingWebEditingParams RenderingWebEditingParams { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Some of those feel obvious, but again, not sure what you're gaining with some of them, either.&lt;/p&gt;&#xA;" OwnerUserId="553" LastEditorUserId="70" LastEditDate="2016-11-08T16:26:15.080" LastActivityDate="2016-11-08T16:26:15.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2326" PostTypeId="2" ParentId="2322" CreationDate="2016-11-08T15:39:29.037" Score="16" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You should. Here are few things that you should know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without this &lt;code&gt;div&lt;/code&gt; element your rendering will not be SXA compliant. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you decide to skip it you will lose following features/abilities:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;your rendering will not be able to use &quot;SXA styles&quot;. This &lt;code&gt;div&lt;/code&gt; is the main wrapper and inside &lt;code&gt;class&lt;/code&gt; attribute other classes which can be specified in Rendering Parameters will be injected (if your rendering parameters inherit from &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Presentation/Rendering Parameters/IStyling&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;your rendering will not be recognised by &lt;strong&gt;Creative Exchange&lt;/strong&gt;. Bear in mind that if you are going to allow designers to export your theme someone can add additional CSS classes and &lt;strong&gt;CE&lt;/strong&gt; will not be able to import it then. &lt;/li&gt;&#xA;&lt;li&gt;if you decide to write a rendering with JS logic it is easier to register your JS logic (&lt;code&gt;XA.register('accordions', XA.component.accordions);&lt;/code&gt;). You don't have to worry about loading order. You just implement 'interface' and your rendering will be initialized when it will be possible.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You don't have to. I would say you will never implement this interface directly. What you can do is to use existing &lt;code&gt;RenderingModelBase&lt;/code&gt; which implements &lt;code&gt;IRenderingModelBase&lt;/code&gt; and derive from it. This is how it should be done and how it is done in &lt;strong&gt;SXA&lt;/strong&gt;. To see whare are the benefits of using that model base class go to &lt;strong&gt;Appendix 1&lt;/strong&gt;  to learn more.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;See how it is filled in &lt;code&gt;FacebookCommentsRepository&lt;/code&gt;. There is &lt;code&gt;FillBaseProperties(model);&lt;/code&gt; method which comes from &lt;code&gt;Sitecore.XA.Foundation.Mvc.Repositories.Base.ModelRepository&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public override IRenderingModelBase GetModel()&#xA;{&#xA;    FacebookCommentsRenderingModel model = new FacebookCommentsRenderingModel();&#xA;    FillBaseProperties(model);&#xA;    model.DataHref = GetDataHref();&#xA;    model.PostsCount = GetPostsCount();&#xA;    model.ColorScheme = GetColorScheme();&#xA;    return model;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is how the new simple model could look like. As you can see it derive from &lt;code&gt;RenderingModelBase&lt;/code&gt; and decorate type with 3 tiny properties.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class FacebookCommentsRenderingModel : RenderingModelBase&#xA;{&#xA;    public string DataHref { get; set; }&#xA;    public string PostsCount { get; set; }&#xA;    public string ColorScheme { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Appendix 1&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;RenderingModelBase&lt;/code&gt; class contains:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public Item Item { get; set; }&#xA;public Item PageItem { get; set; }&#xA;public IRendering Rendering { get; set; }&#xA;public Item DataSourceItem { set; get; }&#xA;public IEnumerable&amp;lt;string&amp;gt; CssClasses { get; set; }&#xA;public MvcHtmlString MessageEditHere { get; set; }&#xA;public MvcHtmlString MessageIsEmpty { get; set; }&#xA;public string HeadingTag { get; set; }&#xA;public bool IsControlEditable { get; set; }&#xA;public bool IsEdit { get; set; }&#xA;public RenderingWebEditingParams RenderingWebEditingParams { get; set; }&#xA;public Dictionary&amp;lt;string, List&amp;lt;string&amp;gt;&amp;gt; Attributes { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I will not describe every property, but some interesting are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;IsEditable&lt;/code&gt; - invokes &lt;code&gt;getControlEditability&lt;/code&gt; pipeline and determine whether your control can be editable. Used to display rendering in a different way in different context&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;MessageEditHere&lt;/code&gt; - this is an auto-formatted string that can be returned to indicate that rendering should be edited &lt;strong&gt;HERE&lt;/strong&gt;. Sometimes your rendering may return nothing due to lack of data source or some data. This is s string that should be displayed to make rendering still visible on the page&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;MessageIsEmpty&lt;/code&gt;- this is auto formatted string that can be returned to indicate that rendering has no data source&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;CssClasses&lt;/code&gt; - collection of css classess which I described in &lt;strong&gt;(1)&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;Rendering&lt;/code&gt; - your current rendering item&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;DataSourceItem&lt;/code&gt; - automatically resolved data source item of your rendering (&lt;code&gt;Datasource&lt;/code&gt; from rendering parameters)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-11-10T21:57:18.927" LastActivityDate="2016-11-10T21:57:18.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2329" PostTypeId="1" AcceptedAnswerId="2341" CreationDate="2016-11-08T16:27:00.100" Score="4" ViewCount="147" Body="&lt;p&gt;I am not sure if anyone ran into this issue before:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have an in house built tool to deploy code from the build server to specified destinations. Mongo &lt;code&gt;reports/Custom Analytics&lt;/code&gt; is not working whenever we deploy code to the server and every time this happens &lt;code&gt;IISReset&lt;/code&gt; fixes the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Notes:&lt;/strong&gt; When we deploy the code we &lt;em&gt;do not&lt;/em&gt; deploy &lt;code&gt;Sitecore/App_Config&lt;/code&gt; or any Sitecore specific files but we do deploy &lt;code&gt;application/project&lt;/code&gt; related files(layouts, sub layouts, .dlls) and also &lt;code&gt;web config&lt;/code&gt;, &lt;code&gt;global.asax&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to fix this issue other than resetting IIS?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AZyyw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AZyyw.png&quot; alt=&quot;Analytics Console Log&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="706" LastEditorUserId="5387" LastEditDate="2019-08-09T06:10:22.710" LastActivityDate="2019-08-09T06:10:22.710" Title="Analytics Stops upon Code Deployment" Tags="|mongodb|sitecore-client|experience-analytics|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="2330" PostTypeId="1" AcceptedAnswerId="2332" CreationDate="2016-11-08T16:35:45.540" Score="3" ViewCount="744" Body="&lt;p&gt;I have a CD environment in a two-CD cluster running Sitecore 8.1u2, and today I noticed that my CD2 environment is not writing to its logs, even though it is running exactly as expected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I verified the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CD1 and the CM are all writing to their logs, as expected&lt;/li&gt;&#xA;&lt;li&gt;The site is still running and I do not have any relevant errors in the Event Viewer&lt;/li&gt;&#xA;&lt;li&gt;Permissions have been assigned correctly (triple-checked and had a peer verify, as well)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The Data folder is configured correctly and is not being overridden &lt;em&gt;(in response to @OwenNiblock's comments)&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;LogFileAppender&lt;/code&gt; is set to the correct path &lt;em&gt;(in response to @DerekC's answer)&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I feel like I'm going crazy and that there is something ridiculously simple that I'm missing. Does anyone know what could cause logs to suddenly stop writing without error, and know how to fix it?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="70" LastEditDate="2016-11-08T18:53:55.190" LastActivityDate="2016-11-08T18:53:55.190" Title="One CD in Two-CD Cluster Not Writing Logs" Tags="|logging|content-delivery|load-balancer|" AnswerCount="2" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="2331" PostTypeId="2" ParentId="2330" CreationDate="2016-11-08T16:44:03.330" Score="1" Body="&lt;p&gt;Some other things worth checking in your configs via /sitecore/admin/showconfig.aspx:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Data Folder is set properly:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;dataFolder&quot; value=&quot;C:\inetpub\wwwroot\sxa82\Data&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check the appender node to make sure the path is correctly compiling to the right path: &#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA; &amp;lt;file value=&quot;C:\\inetpub\\wwwroot\\sxa82\\Data/logs/log.{date}.txt&quot;/&amp;gt;&#xA; &amp;lt;appendToFile value=&quot;true&quot;/&amp;gt;&#xA; &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;  &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot;/&amp;gt;&#xA; &amp;lt;/layout&amp;gt;&#xA; &amp;lt;encoding value=&quot;utf-8&quot;/&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="553" LastActivityDate="2016-11-08T16:44:03.330" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2332" PostTypeId="2" ParentId="2330" CreationDate="2016-11-08T16:59:12.153" Score="2" Body="&lt;p&gt;@Gatogordo's &quot;try turning it off and back on&quot; suggestion did the trick. I found John West's &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-logging-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;All About Logging with Sitecore ASP.NET CMS&lt;/a&gt; blog post, which led me to an old SDN article, aptly named &lt;a href=&quot;https://sdn.sitecore.net/Scrapbook/Wake%20up%20log%20files.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Wake up log files&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The article poses the following problem:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Occasionally after application restart log files are not working. How can I fix this without making a second restart?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As a solution, the article instructs you to create an ASPX file with the following contents: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; %&amp;gt;&#xA;&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;&#xA;&#xA;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;    protected void Page_Load(object sender, EventArgs e)&#xA;    {&#xA;        log4net.LogManager.ResetConfiguration();&#xA;        log4net.Config.DOMConfigurator.Configure();&#xA;    }&#xA;&amp;lt;/script&amp;gt;&#xA;&#xA;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &amp;gt;&#xA;&amp;lt;head runat=&quot;server&quot;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Log wake up&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;Done.&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What this is doing is reloading the log4net configuration, essentially &lt;em&gt;turning it off and back on again.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added this to my site root, hit it from the browser and behold! I had log files! Thanks @Gatogordo!&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-11-08T16:59:12.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2333" PostTypeId="1" AcceptedAnswerId="2335" CreationDate="2016-11-08T17:16:16.750" Score="1" ViewCount="537" Body="&lt;p&gt;I've just installed a fresh &lt;code&gt;Sitecore 8.1 Update-2&lt;/code&gt; instance on my dev machine for a client and I'm getting the following warning on the Home item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Required license is missing.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;You require one of the following licenses to use the Sitecore Commerce Connect module. 'Sitecore.Commerce.Connect' or 'Sitecore.Commerce.ConnectPartner'&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm using the client's license for this install and we are not using the Sitecore Commerce Connect module on their site. Why is this message popping up and how do I suppress it?&lt;/p&gt;&#xA;" OwnerUserId="10" LastEditorUserId="5387" LastEditDate="2019-08-09T06:07:29.080" LastActivityDate="2019-08-09T06:08:41.110" Title="Sitecore Commerce Connect Module License Missing on Fresh Install" Tags="|installation|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2334" PostTypeId="2" ParentId="2333" CreationDate="2016-11-08T17:17:47.173" Score="6" Body="&lt;p&gt;There are 2 configs that start with &lt;code&gt;Sitecore.Commerce.xxxx&lt;/code&gt; in the &lt;code&gt;\App_Config\Include folder&lt;/code&gt; out of the box. If you aren't using the Commerce components, these can be safely disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The file names are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore.Commerce.config&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Commerce.ExperienceProfile.ReportingServer.config&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To disable these files, simply append the &lt;code&gt;.disabled&lt;/code&gt; extension after &lt;code&gt;.config&lt;/code&gt;. The config processor will now ignore those files and they can be re-enabled if needed in the future.&lt;/p&gt;&#xA;" OwnerUserId="252" LastEditorUserId="5387" LastEditDate="2019-08-09T06:04:54.833" LastActivityDate="2019-08-09T06:04:54.833" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="2335" PostTypeId="2" ParentId="2333" CreationDate="2016-11-08T17:19:58.433" Score="2" Body="&lt;p&gt;If you do not have keys for the &lt;code&gt;Sitecore.Commerce.Connect&lt;/code&gt; or &lt;code&gt;Sitecore.Commerce.ConnectPartner&lt;/code&gt; modules in your license file, the following message may be displayed above the &lt;code&gt;Quick Info&lt;/code&gt; section when opening the Content Editor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;You require one of the following licenses to use the Sitecore Commerce Connect module.&#xA;`Sitecore.Commerce.Connect` or `Sitecore.Commerce.ConnectPartner`&#xA;These license keys are not included by default.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix the issue, put the &lt;a href=&quot;https://kb.sitecore.net/~/media/597E7A6CF7194F518F5E25145748B9D1.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Support.105037.config&lt;/a&gt; file into the \App_Config\Include folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/852031&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/852031&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="5387" LastEditDate="2019-08-09T06:08:41.110" LastActivityDate="2019-08-09T06:08:41.110" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="2336" PostTypeId="1" CreationDate="2016-11-08T17:29:32.010" Score="12" ViewCount="2809" Body="&lt;p&gt;On the CM server, all jobs are getting queued, after the following jobs appear in a running state:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/G7i3y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G7i3y.png&quot; alt=&quot;Running jobs before queue explodes&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UpdateIndex_filesystem                              Indexing    Running False   08.11.2016 15:43:19 0   &#xA;UpdateIndex_web2                                    Indexing    Running False   08.11.2016 15:43:19 0   &#xA;UpdateIndex_web                                     Indexing    Running False   08.11.2016 15:43:19 0   &#xA;UpdateIndex_master                                  Indexing    Running False   08.11.2016 15:43:19 0   &#xA;Sitecore.Tasks.TaskDatabaseAgent                    schedule    Running False   08.11.2016 15:48:13 0   &#xA;UpdateIndex_filesystem                              Indexing    Running False   08.11.2016 15:43:19 0   &#xA;UpdateIndex_core                                    Indexing    Running False   08.11.2016 15:43:19 0&#xA;Index_Update_IndexName=sitecore_analytics_index     Indexing    Running False   08.11.2016 15:40:18 0   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After an AppPool recycle it takes about 15 to 30 minutes until the same problem happens again. The Sitecore log- and crawling.log-file, as well as the Solr logging monitor (/solr/#/~logging) are not giving any indication of an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because it is always the sitecore_analytics_index update job, which is getting started first, i assume it could be an issue with a corrupt solr index. But the index looks good in the Solr Core Admin. It could also be anything with the UpdateIndex_filesystem, which i don't know where this one comes from. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already checked permission issues with Process Monitor according to the following post, but nothing helped: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/478/sitecore-index-update-jobs-getting-stuck&quot;&gt;Sitecore index update jobs getting stuck&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced the same issue? Any recommendations on further investigation are very welcome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update: Edited 14/11/16 10:38 am.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what i already did, during investigation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Changed syncMaster index update strategy to &lt;strong&gt;intervalAsyncMaster&lt;/strong&gt; for&#xA;all custom master indexes and sitecore master indexes&lt;/li&gt;&#xA;&lt;li&gt;Set the &lt;strong&gt;Indexing.UpdateInterval&lt;/strong&gt; setting's value to &quot;00:00:00&quot; to disable updates for the legacy search indexes&lt;/li&gt;&#xA;&lt;li&gt;Removed the &lt;code&gt;&amp;lt;exclude hint=&quot;list:AddExcludedTemplate&quot;&amp;gt;&lt;/code&gt; node from the&#xA;defaultSolrIndexConfiguration, which lead to the crawling log&#xA;warnings: &lt;em&gt;WARN  You have specified both IncludeTemplates and ExcludeTemplates. This logic is not supported. Exclude templates will be ignored.&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set the &lt;strong&gt;intervalAsyncMaster&lt;/strong&gt; update strategy's &lt;strong&gt;interval&lt;/strong&gt; to &quot;00:01:00&quot;&lt;/li&gt;&#xA;&lt;li&gt;Set the intervalAsyncMaster update strategy's &lt;code&gt;&amp;lt;CheckForThreshold&amp;gt;&lt;/code&gt; to&#xA;&lt;strong&gt;false&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Added a &lt;em&gt;&lt;/em&gt; for each index with a&#xA;SolrDocumentSizeCommitPolicy of maximum 1MB&lt;/li&gt;&#xA;&lt;li&gt;Removed index update strategies in SwitchMasterToWeb.config for the&#xA;CD environments&lt;/li&gt;&#xA;&lt;li&gt;Cleaned the Sitecore_master DB's EventQueue and validated that the&#xA;&quot;Sitecore.Tasks.CleanupEventQueue&quot; agent's IntervalToKeep is set&#xA;(01:30:00).&lt;/li&gt;&#xA;&lt;li&gt;Truncated the Sitecore_master DB's PublishQueue and set&#xA;&quot;Sitecore.Tasks.CleanupPublishQueue&quot; agent's property DaysToKeep to 2&#xA;days.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Sadly, we're still facing the issue. The running job queue is a lot shorter than before, because of the new index update strategies, but the indexing jobs are still getting stuck in a running state and are blocking the job queue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe there is a relation to new added Languages. We went up from 19 Languages to 39. This means a lot more items are getting indexed. All Solr cores together are using ~11GB disk space. Solr Logging isn't showing any errors or warnings and Dashboard is looking fine as well:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Physical Memory: 3.85 / 32 GB (12%) &lt;/li&gt;&#xA;&lt;li&gt;Swap Space: 4.8 / 36.75 GB   (11.1%)&lt;/li&gt;&#xA;&lt;li&gt;JVM-Memory: 781.83 MB / 1.92 GB (39.8%)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Solr looks healthy to me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update: Edited 24/11/16 11:20 am.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I finally solved the issue with a new setup of the website including physically web root, IIS-website and application pool as well as setting the AppPool permissions. I suspect wrong configured AppPool user permissions on some files in the web root, which could have happened during the manual deployment process or a broken AppPool with corrupted userprofiles/accounts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Conclusion:&#xA;Using automated deployments is going to avoid such issues - saving time and nerves. At least the Solr indexing configurations have been improved ;)&lt;/p&gt;&#xA;" OwnerUserId="126" LastEditorUserId="135" LastEditDate="2019-12-10T16:59:20.570" LastActivityDate="2019-12-10T16:59:20.570" Title="Indexing jobs queued" Tags="|solr|indexing|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2337" PostTypeId="1" CreationDate="2016-11-08T17:29:36.673" Score="4" ViewCount="333" Body="&lt;p&gt;I have a Sitecore 8.1 / Solr 4.10 solution.  I am noticing that with a complex Linq query that includes a lot of parentheses that sometimes Solr returns no results.  But if I remove the parentheses and submit the query to Solr manually then the query works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the original query from the Sitecore Search.log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8124 12:12:30 INFO  Serialized Query - ?q=*:*&amp;amp;start=0&amp;amp;rows=20&amp;amp;fl=*,score&amp;amp;fq=(((read_roles_sm:(extranet_anonymous_role) AND -denied_roles_sm:(extranet_anonymous_role)) AND (_path:(f0a12cf0ac2840619048797a1b893e00) AND (-_templatename:(*folder*) AND (((-sanitizedpath_s:(*_safety_data_sheets*) AND -sanitizedpath_s:(*_msds_files*)) AND -sanitizedpath_s:(*_some_new_path*)) AND -sanitizedpath_s:(*_f\(x\)*))))) AND _language:(en))&amp;amp;fq=_indexname:(sitecore_web_index)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That query returns no results.  But if I remove the parentheses and submit this query it works.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/select?q=*:*&amp;amp;start=0&amp;amp;rows=20&amp;amp;fl=*,score&amp;amp;fq=read_roles_sm:(extranet_anonymous_role)%20AND%20-denied_roles_sm:(extranet_anonymous_role)%20AND%20_path:(f0a12cf0ac2840619048797a1b893e00)%20AND%20-_templatename:(*folder*)%20AND%20-sanitizedpath_s:(*_safety_data_sheets*)%20AND%20-sanitizedpath_s:(*_msds_files*)%20AND%20-sanitizedpath_s:(*_some_new_path*)%20AND%20-sanitizedpath_s:(*_f\(x\)*)%20AND%20_language:(en)&amp;amp;fq=_indexname:(sitecore_web_index)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-11-10T15:37:00.597" Title="Trouble with Sitecore Linq to Solr and parentheses" Tags="|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2338" PostTypeId="2" ParentId="1975" CreationDate="2016-11-08T18:25:54.123" Score="6" Body="&lt;p&gt;Sitecore really should ship with some CSS to make sure that placeholders don't shrink to 0px width.  I've had this numerous times, and you can't click on something that's 0px wide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try adding this to your site's css&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.scEmptyPlaceholder { min-width: 100px;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="426" LastActivityDate="2016-11-08T18:25:54.123" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2341" PostTypeId="2" ParentId="2329" CreationDate="2016-11-08T19:11:59.380" Score="2" Body="&lt;p&gt;When it comes to deployment practices, most of the time when deploying code, the worker process is going to recycle itself in order to pick up the changes that it detected. In some cases, this recycle can cause problems. With that in mind, it is generally a best practice manually recycle the app pool as part of the deployment process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most of the MongoDB related activities are performed through agents that have to subscribe to the Heartbeat event. Based on what you're saying, it sounds like enough of the app-pool is being changed (DLL's) to cause the app pool to send a SIGHUP to the application without fully restarting the app pool. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When this happens, the Heartbeat is turned off, resulting in hooks and scheduled agents to stop running. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Restarting/recycling the app pool in IIS fixes the issue. Check your logs after a deployment to see if you get the &quot;Hosting environment shutdown&quot; message, but no actual recycle.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-11-08T19:11:59.380" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2342" PostTypeId="1" AcceptedAnswerId="2346" CreationDate="2016-11-08T19:25:24.577" Score="4" ViewCount="415" Body="&lt;p&gt;I have an item (in a bucket) that I cannot find in the Coveo indexes. I can find the item in my master and web databases no problem, but when I go to the CES 7 admin panel (this is a free on-prem edition) and search my indexes for the item name, I get no results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made a small change to the item and saved/published, and in the indexing manager I see a change to the time, but I don't see a status change when I go back to the index status page in the Index - Sources and Collections window - it says the last operation was &quot;rebuild&quot; source over a week ago. I would think this would show the incremental change I made.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also confirmed the published date/unpublished date aren't preventing it from being published. I don't see anything in the log that screams &quot;problem&quot; either, so I'm now lost in the woods. Does anyone have a gumdrop trail to help? :)&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="28" LastEditDate="2016-11-08T19:56:58.527" LastActivityDate="2017-10-02T14:28:15.280" Title="Content missing from Coveo indexes" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2343" PostTypeId="1" CreationDate="2016-11-08T19:25:50.853" Score="4" ViewCount="974" Body="&lt;p&gt;Is there a way to get Sitecore to accept the SSL cert or are we required to disable HTTPS on those directories?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #14 12:46:43 ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx)&#xA;Exception: System.Net.WebException&#xA;Message: The underlying connection was closed: An unexpected error occurred on a send.&#xA;Source: System&#xA;   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&amp;amp; request)&#xA;   at System.Net.WebClient.DownloadData(Uri address)&#xA;   at Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection headers)&#xA;   at Sitecore.Tasks.UrlAgent.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.IO.IOException&#xA;Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.&#xA;Source: System&#xA;   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)&#xA;   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)&#xA;   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&#xA;   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)&#xA;   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;   at System.Net.ConnectStream.WriteHeaders(Boolean async)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: An existing connection was forcibly closed by the remote host&#xA;Source: System&#xA;   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="689" LastEditorUserId="2727" LastEditDate="2018-03-02T07:49:59.660" LastActivityDate="2018-03-02T07:49:59.660" Title="How does one get the keepalive.aspx to work over SSL?" Tags="|configuration|security|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2344" PostTypeId="2" ParentId="2343" CreationDate="2016-11-08T19:36:26.637" Score="4" Body="&lt;p&gt;I've had success in the past by fully-qualifying the UrlAgent's parameter with the full host name, though I'm not familiar with the specific error you're displaying.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.UrlAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA; &amp;lt;param desc=&quot;url&quot;&amp;gt;https://www.myapplication.com/sitecore/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA; &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="553" LastActivityDate="2016-11-08T19:36:26.637" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2345" PostTypeId="1" AcceptedAnswerId="2347" CreationDate="2016-11-08T19:43:01.123" Score="5" ViewCount="9426" Body="&lt;p&gt;Hopefully a simple question - is there any kind of ready-made audit log built into Sitecore so I can see who edited content when? I know without versioning the content, the last updated date/user would likely keep overwriting itself, but even knowing who was the last to do something with an item would be useful data. The History table might give some useful info perhaps but I’m not sure. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="-1" LastEditDate="2019-09-13T13:27:43.690" LastActivityDate="2019-09-13T13:27:43.690" Title="Audit log for seeing who updated content when" Tags="|content-management|" AnswerCount="4" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2346" PostTypeId="2" ParentId="2342" CreationDate="2016-11-08T19:43:42.723" Score="5" Body="&lt;p&gt;If this is version 4, make sure that the item is within the scope of your crawler: &lt;a href=&quot;https://developers.coveo.com/x/kIQkAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/SitecoreV4/Changing+the+Crawling+Root+of+an+Index&lt;/a&gt;&#xA;The crawler scope by default will only include Media Library &gt;&gt; Files and Sitecore &gt;&gt; Content. If your bucket is outside of this path, you need to change the crawler's scope.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, if you are using Inbound Filtering in the indexing pipeline, make sure it is not removing your item. Sitecore Inbound filtering will affect all indexes, including Coveo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, since this is an On-Premises index, keep an eye on the RabbitMQ queues when rebuilding: &lt;a href=&quot;https://developers.coveo.com/x/IQHvAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/SitecoreV4/Accessing+the+RabbitMQ+Management+Console+-+On-Premises&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you are logged in, navigate to the Queue tab to see the status of your queues. If you see remaining documents in your queues, then you have a problem. You can get the messages by using the GetMessage section of that tab. The Get Message will do a &quot;pop&quot; action in the queue, which will allow you to see the message, but will also remove it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And also keep an eye in the CES Console when rebuilding, the error might not show on the Sitecore side, but could show in Coveo: &lt;a href=&quot;https://onlinehelp.coveo.com/en/ces/7.0/administrator/using_the_ces_console.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://onlinehelp.coveo.com/en/ces/7.0/administrator/using_the_ces_console.htm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For larger items, messages going through the queue is a simple reference to the Sitecore item, which means that Coveo will need to ping Sitecore back. It is possible that Coveo could be unable to reach certain items, the console will tell you. &lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2017-10-02T14:28:15.280" LastActivityDate="2017-10-02T14:28:15.280" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2347" PostTypeId="2" ParentId="2345" CreationDate="2016-11-08T19:47:24.700" Score="7" Body="&lt;p&gt;Audit information is available in the logs, and I thought there was a way to isolate them in a separate log file by changing log4net settings. But you could also use the Audit Trail module from the marketplace: &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Audit_Trail.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecore_Audit_Trail.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Helps you to answer following questions:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Who did change? &lt;/li&gt;&#xA;  &lt;li&gt;When it happened? &lt;/li&gt;&#xA;  &lt;li&gt;What all actions happened on aparticular day?  &lt;/li&gt;&#xA;  &lt;li&gt;...&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-08T19:47:24.700" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2348" PostTypeId="1" AcceptedAnswerId="2350" CreationDate="2016-11-08T20:04:04.910" Score="0" ViewCount="121" Body="&lt;p&gt;I noticed a strange difference between our Production and QA Sitecore websites that was deliberately done by our Sitecore vendor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;SiteDefinition.config&lt;/code&gt; file, the site block is changed to MyCompanyName.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why would this be different? Can I change the one on QA to match Production or will that break something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QA:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;events&amp;gt;&#xA;  &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;      &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;MyCompanyName&amp;lt;/site&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;  &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;      &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;MyCompanyName&amp;lt;/site&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;&amp;lt;/events&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;PROD:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;events&amp;gt;&#xA;  &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;      &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;MyCompanyName&amp;gt;MyCompanyName&amp;lt;/MyCompanyName&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;  &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;      &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;MyCompanyName&amp;gt;MyCompanyName&amp;lt;/MyCompanyName&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;&amp;lt;/events&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="5387" LastEditDate="2019-08-12T04:33:47.107" LastActivityDate="2019-08-12T04:33:47.107" Title="SiteDefinition Config Events - Site Changed to MyCompanyName" Tags="|events|site-configuration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="2349" PostTypeId="1" AcceptedAnswerId="2351" CreationDate="2016-11-08T20:10:15.717" Score="6" ViewCount="1446" Body="&lt;p&gt;I got a request from one of our international content owners where they wanted a site in anglicized English but for a country that does not have a pre-set for English. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case it would be an anglicized English site for Saudi Arabia - &lt;code&gt;en-SA&lt;/code&gt;. When I choose the the &lt;em&gt;Add a new language&lt;/em&gt; option, I specify the language &lt;code&gt;en&lt;/code&gt; and the country &lt;code&gt;SA&lt;/code&gt; but I am then confronted with the error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The name &quot;en-SA&quot; is not a valid or supported culture identifier.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Do I need to do this another way or is it just not possible? I've never had to do this, but it seems that this is exactly why the option to specify a language and country is an option of this dialogue. &lt;/p&gt;&#xA;" OwnerUserId="583" LastEditorUserId="423" LastEditDate="2017-08-07T19:35:59.130" LastActivityDate="2017-08-07T19:35:59.130" Title="Adding a new language option that is not predefined?" Tags="|multilingual|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2350" PostTypeId="2" ParentId="2348" CreationDate="2016-11-08T20:14:01.083" Score="5" Body="&lt;p&gt;This works because of the way that &lt;code&gt;HtmlCacheClear&lt;/code&gt; processes the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you take a peek into the code for &lt;code&gt;HtmlCacheClearer.ClearCache()&lt;/code&gt; method, you'll see that it's iterating through the list of sites in a basic &lt;code&gt;for()&lt;/code&gt; loop.  Therefore, the element name of the list item makes no difference whatsoever.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for how it changed to &lt;strong&gt;MyCompanyName&lt;/strong&gt; in prod, I have no idea.  Bad transform file? Either way, it doesn't matter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will be safe changing it on QA.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;Clears the cache.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;sender&quot;&amp;gt;The sender.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;public void ClearCache(object sender, EventArgs args)&#xA;{&#xA;&#xA;   ...&#xA;&#xA;  for (int index = 0; index &amp;lt; this._sites.Count; ++index)&#xA;  {&#xA;    string siteName = this._sites[index] as string;&#xA;&#xA;   ...&#xA;&#xA;  }&#xA;   ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-11-08T20:24:43.693" LastActivityDate="2016-11-08T20:24:43.693" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2351" PostTypeId="2" ParentId="2349" CreationDate="2016-11-08T20:19:29.267" Score="4" Body="&lt;p&gt;This is a limitation of ASP.NET, which is what Sitecore uses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need code to register new culture/language combinations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Marketplace module that will help you: &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Custom_Language_Registration.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Custom_Language_Registration.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need to remember to install the custom language on each machine running Sitecore (every CM and CD in development and production).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Demonstration of module: &lt;a href=&quot;http://www.bugdebugzone.com/2013/12/adding-custom-language-code-in-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.bugdebugzone.com/2013/12/adding-custom-language-code-in-sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code wise, if you don't want to install a module (tool) for this, here's a snippet that does the same thing.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private static void RegisterCulture(string cultureCode, string cultureName, string baseCultureCode)&#xA;{&#xA;    var ci = new CultureInfo(baseCultureCode);&#xA;    var ri = new RegionInfo(ci.Name);&#xA;    var builder = new CultureAndRegionInfoBuilder(cultureCode, CultureAndRegionModifiers.None);&#xA;    builder.LoadDataFromCultureInfo(ci);&#xA;    builder.LoadDataFromRegionInfo(ri);&#xA;&#xA;    builder.CultureEnglishName = cultureName;&#xA;    builder.CultureNativeName = cultureName;&#xA;&#xA;    try&#xA;    {&#xA;        builder.Register();&#xA;    }&#xA;    catch (InvalidOperationException)&#xA;    {&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sourced from here: &lt;a href=&quot;https://stackoverflow.com/questions/15336263/asp-net-mvc-registering-custom-culture-and-internationalization&quot;&gt;https://stackoverflow.com/questions/15336263/asp-net-mvc-registering-custom-culture-and-internationalization&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-08T20:45:59.093" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2352" PostTypeId="2" ParentId="2345" CreationDate="2016-11-08T20:21:48.493" Score="4" Body="&lt;p&gt;The log file does contain audit entries, they are a bit hard to see by looking at the log files directly. You can use the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_Log_Analyzer.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Log Analyzer&lt;/a&gt; from the Sitecore Market place to make it easier to see the audit logs. Once you load in your log folder there is a tab that displays all audit entries:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pdXho.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pdXho.png&quot; alt=&quot;Sitecore Log Analyzer - Audit Info&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That will give you &lt;em&gt;some&lt;/em&gt; information, although its still not easy to find everything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are looking for something better, I highly recomend &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Sidekick&lt;/a&gt;. This module comes with an audit logger that has a lot more features than the standard Sitecore logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also it has a very nice user interface to view the contents of the audit log from within the Sitecore dashboard, so you don't have to download the log files use RDP to access them. Have a look here for a deeper guide on using it: &lt;a href=&quot;https://jeffdarchuk.com/2016/10/17/sitecore-sidekick-audit-logger/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffdarchuk.com/2016/10/17/sitecore-sidekick-audit-logger/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-08T20:21:48.493" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2353" PostTypeId="1" AcceptedAnswerId="2354" CreationDate="2016-11-08T20:45:55.573" Score="9" ViewCount="988" Body="&lt;p&gt;Is there a recommended approach to creating a Search Results in SXA that have different renderings for different content types? The use case would be something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are 3 content types,&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Page - default from SXA with Title and Content fields&lt;/li&gt;&#xA;&lt;li&gt;News - inherits from Page, adds Published Date datetime field &lt;/li&gt;&#xA;&lt;li&gt;Author - inherits from Page, adds Profile Picture image field&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There is a single site wide search page, the result set could contain all the above item types. Using Rendering Variants, all the fields, from all the templates can be listed under a new variant, however this adds some constraints to how you can order all of the fields, as well as becoming confusing if when trying to figure out which field is for which template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have built similar functionality outside of the SXA context which usually ends up having some sort of TemplateID/TemplateName to Controller/View/Model mapping, either in Sitecore or Config files.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, I'd like the results page to use as much of the out-of-the-box SXA search components as possible.&lt;/p&gt;&#xA;" OwnerUserId="856" LastEditorUserId="2727" LastEditDate="2018-02-21T01:00:04.827" LastActivityDate="2018-02-21T01:00:04.827" Title="SXA Search Results Different Rendering Variants per Template" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2354" PostTypeId="2" ParentId="2353" CreationDate="2016-11-08T20:57:16.560" Score="8" Body="&lt;p&gt;At the moment &lt;strong&gt;SXA&lt;/strong&gt; doesn't support such kinds of mapping. I would recommend to go with Rendering Variants. You can create one rendering variant which will have following fields:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Title&lt;/li&gt;&#xA;&lt;li&gt;Content&lt;/li&gt;&#xA;&lt;li&gt;Published Date&lt;/li&gt;&#xA;&lt;li&gt;Profile Picture&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Rendering variants won't render fields which don't exist so &lt;code&gt;Published Date&lt;/code&gt; and &lt;code&gt;Profile Picture&lt;/code&gt; will be only shown if items of &lt;strong&gt;News&lt;/strong&gt; or &lt;strong&gt;Author&lt;/strong&gt; templates will be found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding sorting:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;you can choose default sort order in the Search Results rendering properties&lt;/li&gt;&#xA;&lt;li&gt;add Sort Results component which can be configured to use pre-defined sorting options which are stored here: &lt;code&gt;SITE/Data/Search/Sort Results&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastEditorUserId="16" LastEditDate="2016-11-08T21:13:59.820" LastActivityDate="2016-11-08T21:13:59.820" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2355" PostTypeId="1" AcceptedAnswerId="2361" CreationDate="2016-11-08T21:25:06.627" Score="10" ViewCount="2942" Body="&lt;p&gt;This is pretty much a duplicate from Alex's question on &lt;a href=&quot;https://stackoverflow.com/questions/4034546/how-much-do-you-let-sitecore-or-other-cmss-manage&quot;&gt;stack overflow&lt;/a&gt;, but I was wondering if there had been any developments in the 6 years since that question was asked...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a need to store user-generated content - images and files.  One approach was documented by &lt;a href=&quot;https://sitecore.unic.com/2015/07/16/user-generated-content-in-a-security-hardened-environment&quot; rel=&quot;nofollow noreferrer&quot;&gt;Kevin Brechbühl here&lt;/a&gt; based on a presentation from Martina.  However, on the surface, this feels hacky.  Full disclosure, I have not actually tried this yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another approach would be to simply store user-generated content in a separate database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How are others handling user-generated content?&lt;/p&gt;&#xA;" OwnerUserId="226" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-09T16:50:17.870" Title="Options for handling user-generated content" Tags="|best-practices|content-management|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2356" PostTypeId="2" ParentId="2319" CreationDate="2016-11-08T21:26:11.480" Score="1" Body="&lt;p&gt;I've seen issues like this where content sync strategies have mangled presentation (or left devices which don't exist within the presentation hidden and difficult to locate).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend following these steps:&#xA;1. Copy the raw presentation to Notepad++ for safekeeping.&#xA;2. Reset the item to standard values (assuming resetting the content won't be too much of a pain - &lt;a href=&quot;http://firebreaksice.com/how-to-reset-individual-sitecore-fields-to-standard-values/&quot; rel=&quot;nofollow noreferrer&quot;&gt;or you might be able to reset individual fields although it's not something I've done&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then take a look at the raw value - if it still looks weird the issue might lie on your __Standard Values on the template. I would advise clearing out the presentation on this field and rebuild it - you should be able to completely empty out the raw value of this field and then rebuild it using the Presentation UI dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the problem doesn't lie on the template - you can do the same on the content item (clear out the presentation and rebuild it).&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-11-08T21:26:11.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2357" PostTypeId="1" AcceptedAnswerId="2359" CreationDate="2016-11-08T22:26:02.910" Score="3" ViewCount="853" Body="&lt;p&gt;I have created a new SXA site (using Sitecore Experience Accelerator 1.1 rev. 161004 for 8.2.zip) and I've created several different pages (inside of Content Editor). I'm trying to use the Navigation component to provide a sub-navigation menu. So I go to the &lt;strong&gt;Control Properties&lt;/strong&gt;, and go to the &lt;strong&gt;Navigation Settings&lt;/strong&gt; to select a Start Page. When I click on the down arrow to select my start page, none of the pages show up underneath my &lt;strong&gt;Home&lt;/strong&gt; node. Here's what I'm seeing:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1THM8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1THM8.png&quot; alt=&quot;Missing Web Pages&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is there some kind of security that I bypassed when creating those pages in content editor?&lt;/li&gt;&#xA;&lt;li&gt;How can I get any pages to show up underneath the Home node?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="339" LastEditorUserId="339" LastEditDate="2016-11-08T23:02:51.223" LastActivityDate="2020-04-23T05:58:29.343" Title="Why can't I select a page in my website when using SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2358" PostTypeId="2" ParentId="2355" CreationDate="2016-11-08T22:42:18.200" Score="0" Body="&lt;p&gt;It's not clear from your question whether your requirement is for just images and files or content, images and files - I'm going to assume just images and files :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think to fully answer this question you'd need to know more about the context. Some important questions you might need to ask yourself:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Does is make sense to treat the images and files as part of your Sitecore content in some way?&lt;/li&gt;&#xA;&lt;li&gt;What is the content going to be used for and where?&lt;/li&gt;&#xA;&lt;li&gt;Will uploaded files need to be scanned for viruses?&lt;/li&gt;&#xA;&lt;li&gt;Do you need workflow on the uploaded assets?&lt;/li&gt;&#xA;&lt;li&gt;What sort of load on these assets are you expecting?&lt;/li&gt;&#xA;&lt;li&gt;How big are they going to be?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Without knowing your exact requirements, I would recommend using some sort of CDN for uploading and serving assets rather than content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you require something &quot;behind the firewall&quot;, you could look at the various DAM options out there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On one project I've worked on, they had a company CDN and it was a requirement that this was used for storing assets so it may be that there's something you can leverage within the business already.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, if virus scanning is a concern, you should investigate getting an isolated server for handling and checking files before they're served up by your website etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think Kevin's approach is sound for content itself but there's a lot more to think about for images and files. If you need both - perhaps a combined approach would be the way to go.&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-11-08T22:42:18.200" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2359" PostTypeId="2" ParentId="2357" CreationDate="2016-11-08T22:52:33.230" Score="5" Body="&lt;h3&gt;Answer 1&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;No there is no security. You did everything fine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Explanation&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you open following item: &lt;code&gt;/sitecore/templates/Feature/Experience Accelerator/Navigation/Rendering Parameters/Navigation/Navigation Settings/NavigationRoot&lt;/code&gt; you will notice that inside &lt;strong&gt;Source&lt;/strong&gt; field there is following token &lt;code&gt;query:$home&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This token should be resolved to start item of your site. Nothing else special here, standard Droptree field with dynamic source&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Answer 2&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;My theory is that you created your site on &lt;strong&gt;SXA 1.0&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There was an issue in site scaffolding and not all fields were populated correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to your &lt;strong&gt;site definition&lt;/strong&gt; item (&lt;code&gt;/sitecore/content/Group/Tenant/site/Settings/Site Grouping/site&lt;/code&gt;) and make sure that &lt;strong&gt;Start Item&lt;/strong&gt; field is set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YhcPr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YhcPr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suppose that in your case it is not, thus you can see not &lt;strong&gt;your Home&lt;/strong&gt; item but &lt;strong&gt;default Sitecore Home item&lt;/strong&gt; because &lt;code&gt;$home&lt;/code&gt; token in Navigation Rendering Parameters  was incorrectly resolved. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also notice that by looking at the &lt;strong&gt;Home&lt;/strong&gt; item icon as well. &lt;strong&gt;SXA&lt;/strong&gt; home template icon is slightly different.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Closing Words&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In &lt;strong&gt;SXA 1.1&lt;/strong&gt; this issue has been resolved and you no longer need to define &lt;strong&gt;Star Item&lt;/strong&gt; manually.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Additional solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This solution is for people who could not solve their issue with the solution provided above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is some rare case when, even if you have got everything configured properly your site is resolved incorrectly, thus some functionalities might not work as expected (navigation is a great example).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do I know if I am experiencing that extra case&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming that you configured everything like I described above and you open a page using &lt;strong&gt;Experience Editor&lt;/strong&gt; button from &lt;strong&gt;Content Editor&lt;/strong&gt; and gets &lt;code&gt;sc_site&lt;/code&gt; query parameter with &lt;strong&gt;website&lt;/strong&gt; value or value different than your site definition item name then you've got a problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to mitigate this:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To mitigate that issue you have to reconfigure standard Sitecore website a little bit. What we want is &lt;strong&gt;rootPath&lt;/strong&gt; property cannot be a substring of any other &lt;strong&gt;SXA&lt;/strong&gt; based sites &lt;strong&gt;rootPath&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default value is&lt;code&gt;rootPath=&quot;/sitecore/content&quot;&lt;/code&gt; and we need to make it more unique, for example &lt;code&gt;rootPath=&quot;/sitecore/content/default&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you have to create any item under &lt;code&gt;/sitecore/content&lt;/code&gt; and move  default Sitecore Home item there.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Summary&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is a workaround for a small issue that we've found with @keith-vanderveen in site info resolution logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue should be fixed in the next release of &lt;strong&gt;SXA&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Affected versions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA 1.0, SXA 1.1&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-11-10T00:01:10.410" LastActivityDate="2016-11-10T00:01:10.410" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="2361" PostTypeId="2" ParentId="2355" CreationDate="2016-11-09T02:28:12.550" Score="17" Body="&lt;h3&gt;Things to keep in mind&lt;/h3&gt;&#xA;&lt;p&gt;Whenever you have a site with user-generated content, you need to make sure that you keep the following in mind:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Security is both more important and more difficult&lt;/li&gt;&#xA;&lt;li&gt;If storing user-generated media, performance can be a major factor, depending on the media that you are storing, how you store it, and how media-intensive the site is&lt;/li&gt;&#xA;&lt;li&gt;If storing complex objects then custom Sitecore User Profiles are not for you, since all properties must be serializable and you really don't want to slow this down&lt;/li&gt;&#xA;&lt;li&gt;In a scaled environment, you have no access to the Master database (I know that you know this, especially given the post that you linked to, but I have to say it)&lt;/li&gt;&#xA;&lt;li&gt;CDNs are your friend, can be used for all sorts of media, and you can easily throw caches in front of them&lt;/li&gt;&#xA;&lt;li&gt;Using an external database does not prevent you from using Sitecore's HTML Caching on renderings that display the UGC (which means that you can cache the UGC with Sitecore)&lt;/li&gt;&#xA;&lt;li&gt;If you need a GUI to view, edit or moderate the UGC then you will need to factor that into deciding whether or not to use a third-party tool, an extra web database or a custom SQL database&lt;/li&gt;&#xA;&lt;li&gt;If your UGC is a user blog, forum, etc. then you're not in the wrong place, but you might benefit from some of the third-party tools out there, like Telligent, that are designed for these relatively consistent data structures&lt;/li&gt;&#xA;&lt;li&gt;If your UGC is multi-lingual then you increase the complexity of a custom SQL database architecture, and may dramatically increase the overall effort required to build the code, database, and/or a user-generated content GUI&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3&gt;When Should I use a Sitecore database for UGC?&lt;/h3&gt;&#xA;&lt;p&gt;I would use a Sitecore database for large quantities of hierarchical UGC. As an example, if your UGC is for something like a user-blog or a forum, provided that a paid tool like Telligent isn't an option, a Sitecore database may be a good candidate. The hierarchical structure and the ability of the content authors to examine and/or moderate content in the additional database would make good use of Sitecore's tools, and would save you a sizable amount of effort.&lt;/p&gt;&#xA;&lt;h3&gt;When shoudn't I use a Sitecore database for UGC?&lt;/h3&gt;&#xA;&lt;p&gt;As a general rule, it is my opinion that if the content isn't going to be hierarchical then you shouldn't try to make it fit into Sitecore.&lt;/p&gt;&#xA;&lt;p&gt;Remember that Sitecore is an enterprise-level CMS and its databases are designed to hold pretty much any data, so long as the data is structured appropriately. Sitecore is great with caching and all the performance voodoo, but it is still has a lot of overhead. You can create a SQL database to store UGC for a user and throw a cache in front of it and you will not only still be able to use Sitecore's HTML Caching, but your database will likely be a lot smaller, simpler and more performant than a Sitecore database.&lt;/p&gt;&#xA;&lt;h3&gt;How should I store my UGC if I am not using a Sitecore database?&lt;/h3&gt;&#xA;&lt;p&gt;First, CDNs are your friend. Use them for all your media. You can add all sorts of caching between them and your application, and you can store references to them (e.g. image URLs, etc.) in your custom database or User Profiles. I cannot recommend CDNs strongly enough.&lt;/p&gt;&#xA;&lt;p&gt;Second, Entity Framework and SQL are great if you have a lot of data to store, or if you have to store complex objects. EF is great for performance too, you can use Linq with it OOTB, and the sky is the limit with your data structures so you can make it suit your needs. There are, however, three problems with making your own SQL database to hold your data:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It can take time to come up with the right database architecture&lt;/li&gt;&#xA;&lt;li&gt;Making changes to tables later on isn't always as straight-forward as you might think&lt;/li&gt;&#xA;&lt;li&gt;If you need a GUI for your authors to edit, review or moderate the UGC then you will have to create it from scratch&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Third, try to store as little data in custom Sitecore User Profile properties as possible. Remember that User Profiles are serialized and deserialized, so loading them up with large amounts of information and heavy objects will have a noticeable impact on performance. I recommend storing only something like the associated user ID from the custom database in the user's profile.&lt;/p&gt;&#xA;&lt;p&gt;Fourth, if your solution is multi-lingual and you go with a custom database then be sure to make your language fallback consistent, reusable, overridable, simple, and easily controllable. I have seen the treatment of multi-lingual UGC make or break the implementation more often than I have seen anything else do so.&lt;/p&gt;&#xA;&lt;h3&gt;What should my custom database look like?&lt;/h3&gt;&#xA;&lt;p&gt;Your custom database can take many forms, depending on your implementation. In the spirit of re-usability, whenever I have a very large quantity of widely varied UGC to store, I prefer to use a flexible database architecture similar to the following (examples provided):&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;User (ID, Username)&#xA;|- jsmith&#xA;|- bjordan&#xA;&#xA;ContentTypes (ID, Name)&#xA;|- Text&#xA;|- Rich Text&#xA;|- Media Reference&#xA;|- Numeric&#xA;|- Sitecore Reference&#xA;|- Sitecore Delimited Reference&#xA;&#xA;ContentFieldDefinitions (ID, Name, ContentType)&#xA;|- Address, Text&#xA;|- Age, Numeric&#xA;|- Profile Photo, Media Reference&#xA;&#xA;ContentFields (ID, DefinitionID, UserID)&#xA;|- Address&#xA;|- Age&#xA;|- Profile Photo&#xA;&#xA;Languages (ID, Name, Code)&#xA;|- English, &amp;quot;en&amp;quot;&#xA;|- French (France), &amp;quot;fr-fr&amp;quot;&#xA;|- Spanish (Mexico), &amp;quot;es-mx&amp;quot;&#xA;&#xA;ContentFieldValues (ID, FieldID, LanguageID)&#xA;|- &amp;quot;John Smith&amp;quot;&#xA;|- &amp;quot;110 Core Site Ln&amp;quot;&#xA;|- &amp;quot;13&amp;quot;&#xA;|- &amp;quot;Esto es un ejemplo&amp;quot;&#xA;|- &amp;quot;http://cdn.mydomain.com/images/someimage.png&amp;quot;&#xA;|- &amp;quot;{B07D2864-0A7A-4AC1-B729-89D44FABBFE9}&amp;quot;&#xA;|- &amp;quot;{966FA00C-9AD2-44F9-AB44-0DA65B94FB27}|{075701C7-2558-40B2-AC16-CFE930F9C65C}&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Basically, I use a very loose structure, similar to Sitecore's own (though mine is flat, while Sitecore's is hierarchical), which supports pretty much any type of UGC, regardless of complexity level or language-specific content. This flexible architecture saves me a lot of effort in my implementations and makes the solution pretty easy to extend and maintain, but it costs me in performance and database readability without a GUI.&lt;/p&gt;&#xA;&lt;p&gt;For those implementations that store a smaller quantity of varied UGC types, I tend to create a more tailored and specific database architecture. This saves me on performance and readability, but costs me in effort, extensibility and maintainability. As effort is often a major factor, I tend to only go this route if performance is a serious concern, or if the data being stored is relatively simple. Note that following this path for multi-lingual content can be a path to the &amp;quot;dark side&amp;quot; if you are not careful. Avoid writing the same multilingual support code, tables and columns over and over again.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-09T16:50:17.870" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2362" PostTypeId="1" AcceptedAnswerId="2474" CreationDate="2016-11-09T02:32:10.567" Score="6" ViewCount="1606" Body="&lt;p&gt;When I build my page in SXA I use components like &lt;code&gt;Rich Text&lt;/code&gt; to implement page elements. Content I entered is stored in component data-source on page level. &#xA;This is exactly what typical content author need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If several of my pages share common design, SXA recommends to use Partial Designs. &#xA;I tried to use it and discovered that components moved to &lt;code&gt;Partial Design&lt;/code&gt; are not editable on page level anymore and cannot have page specific content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess that is fine for &lt;code&gt;*Reusable&lt;/code&gt; components, but for regular components it looks strange. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I use Partial Designs and have page specific &lt;code&gt;Rich Text&lt;/code&gt; content in that design?   &lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-11-11T02:45:16.857" Title="Does SXA support page specific content with Partial Design?" Tags="|best-practices|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2363" PostTypeId="1" AcceptedAnswerId="2368" CreationDate="2016-11-09T02:54:35.267" Score="4" ViewCount="837" Body="&lt;p&gt;Im trying to add  Seo friendly pagination. This means I need two tags in the head section (For example if I was on page 2)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;prev&quot; href=&quot;myurl?page=1&quot; /&amp;gt;&#xA;&amp;lt;link rel=&quot;next&quot; href=&quot;myurl?page=3&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But my pagination is part of a controller rendering. So I cant figure out how to update these tags from the controller. I need to hide the prev tag on the first page and hide the next tag on the last page. I need to hide both if the results only end up being one page. Some of my paging is server side, and some is client side. Regardless I can really only see how to do this with Javascript. The place where I know the current page and the if I am on the last page is in the controller which does not seem to have access to the head tag. I could have it be its own rendering tied to a page, but that means the page needs to know it has some sort of paged control on it, and I still down see how to know which page its on at any given time. I can get the current page from the query string, but that doesnt help to know if its the last page or not.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="73" LastEditDate="2016-11-09T08:41:50.820" LastActivityDate="2016-11-09T08:41:50.820" Title="SEO pagination - how to update the head tag from a controller rendering" Tags="|mvc|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2364" PostTypeId="2" ParentId="2362" CreationDate="2016-11-09T04:08:23.887" Score="4" Body="&lt;p&gt;Yes, page specific content is supported with &lt;strong&gt;Partial Design&lt;/strong&gt;s. You will want to add a component to the &lt;strong&gt;Partial Design&lt;/strong&gt; called a &lt;em&gt;Container&lt;/em&gt;. This will allow you to drop whatever reusable or non-reusable component to the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you add a non-reusable component you'll see the &lt;em&gt;Data&lt;/em&gt; element be created as a child of the page instance.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-11-09T04:20:11.100" LastActivityDate="2016-11-09T04:20:11.100" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2365" PostTypeId="1" AcceptedAnswerId="2366" CreationDate="2016-11-09T07:29:54.827" Score="5" ViewCount="684" Body="&lt;p&gt;I have created a custom comment template with two field - Comments and Author Name. I marked both the fields validation as Required.&#xA;I applied this custom comment template to my workflow and this workflow is applied to template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So when I submitting his workflow items, my custom window is displaying. If I am not entering any values in this custom comment window fields, Sitecore give me message box as &quot;Some of the fields in this item contain critical errors. Are you sure you want to save this item?&quot; as below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6E8s6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6E8s6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is that how can I change this message to some custom message?&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2022-10-06T14:55:50.483" Title="How to show custom message while submitting workflow comment window?" Tags="|sitecore-client|workflow|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2366" PostTypeId="2" ParentId="2365" CreationDate="2016-11-09T08:11:21.737" Score="5" Body="&lt;p&gt;It is a dictionary item in &lt;code&gt;core&lt;/code&gt; database. So go to the &lt;code&gt;core&lt;/code&gt;, open &lt;code&gt;Content Editor&lt;/code&gt;. Search for this item: &lt;code&gt;/sitecore/system/Dictionary/S/Some of the fields in this item contain critical errors   Are you sure you want to save this item&lt;/code&gt;. Here you can set the &lt;code&gt;Phrase&lt;/code&gt; to your language.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-11-09T08:11:21.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2367" PostTypeId="2" ParentId="2363" CreationDate="2016-11-09T08:21:47.077" Score="0" Body="&lt;p&gt;I don't have a clear answer, as too many details are lacking, but I would do the following: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a PageNavigationManager, which handles the logic to determine on what page you are. Based on this info, you can render prev/next. &lt;/li&gt;&#xA;&lt;li&gt;Create two renderings: one for the article/other info that you want to show. I &lt;em&gt;assume&lt;/em&gt; that you need the pagination info on that rendering as well. The other one will be purely used to render the link tags in the head&lt;/li&gt;&#xA;&lt;li&gt;done&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-11-09T08:21:47.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2368" PostTypeId="2" ParentId="2363" CreationDate="2016-11-09T08:41:12.677" Score="5" Body="&lt;p&gt;First off, you need to control the execution order of your controller renderings. You need the controller that renders the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; element to render &lt;em&gt;after&lt;/em&gt; the controller &quot;which knows about paging&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way to achieve this, is using a setup like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@{&#xA;    Layout = null;&#xA;&#xA;    HtmlString main = Html.Sitecore().Placeholder(&quot;MAIN&quot;);&#xA;    HtmlString head = Html.Sitecore().Placeholder(&quot;HEAD&quot;);&#xA;}&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;title&amp;gt;@Html.Sitecore().Field(&quot;title&quot;, new { DisableWebEdit = true })&amp;lt;/title&amp;gt;&#xA;    @head&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;h1&amp;gt;@Html.Sitecore().Field(&quot;title&quot;)&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Cross component comms layout&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;div&amp;gt;&#xA;        @main&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using this technique, everything in the &quot;MAIN&quot; placeholder executes before anything in the &quot;HEAD&quot; placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you can, in your controller that knows paging, leave a &quot;breadcrumb&quot; for your &quot;HEAD&quot; controller (to write &quot;prev&quot; and &quot;next&quot; links) to pick up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpContext.Current.Items[&quot;prevUrl&quot;] = &quot;myurl?page=1&quot;;&#xA;HttpContext.Current.Items[&quot;nextUrl&quot;] = &quot;myurl?page=3&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Jeremy Davis wrote up a full example of this in his blog, when we last had a discussion on how to achieve this on Slack. &lt;a href=&quot;https://jermdavis.wordpress.com/2016/04/04/getting-mvc-components-to-communicate/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Getting MVC Components to Communicate&lt;/a&gt;. It even uses pagination as an example.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-09T08:41:12.677" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2369" PostTypeId="1" CreationDate="2016-11-09T09:12:44.490" Score="1" ViewCount="644" Body="&lt;p&gt;How to hide the field in Sitecore WFFM 8.1 upgrade 3? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to send the values to hidden fields programatically in C#?&lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="73" LastEditDate="2018-03-02T12:41:48.313" LastActivityDate="2018-03-02T12:41:48.313" Title="How to hide a field in Sitecore WFFM" Tags="|wffm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2370" PostTypeId="1" CreationDate="2016-11-09T09:14:12.107" Score="9" ViewCount="1501" Body="&lt;p&gt;I have an issue that Lucene indexes are not updated or properly created on the content delivery server after a rebuild of the indexes on the content management server or after an item publish. The version I am using is Sitecore 8.1 rev. 151207 and I followed the documentation listed on &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/xdb/configuring_servers/configure_a_content_delivery_server&lt;/a&gt; to configure the content delivery server. As you would have guessed, Sitecore access is completely blocked on the CD server meaning a rebuild is not possible on that particular server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the following situation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Databases&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;core&lt;/li&gt;&#xA;&lt;li&gt;master&lt;/li&gt;&#xA;&lt;li&gt;web (serves as the primary database for the content management server)&lt;/li&gt;&#xA;&lt;li&gt;pub (serves as the primary database for the content delivery server and a publishing target is defined for this database)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Servers&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content delivery which fetches data from the pub database&lt;/li&gt;&#xA;&lt;li&gt;Content management which uses all other databases to administer Sitecore, but also functions as a staging environment and fetches data from the web database&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Index configuration CM&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Web lucene index is not disabled since the site is being used as a staging environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Index configuration CD&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Added additional Lucene index configuration files for the pub database. Secondly disabled all the web index configuration files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could someone point me in the right direction on how to set up the Lucene index configuration on both CM and CD servers regarding my setup with the 'web' and 'pub' databases? Secondly can someone explain the mechanism how indexes are actually being updated on the content delivery server when content is updated on the content management server?&lt;/p&gt;&#xA;" OwnerUserId="1089" LastActivityDate="2016-11-09T19:48:45.260" Title="Content delivery setup - Lucene indexes" Tags="|configuration|lucene|content-management|content-delivery|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2371" PostTypeId="2" ParentId="2369" CreationDate="2016-11-09T09:29:11.107" Score="1" Body="&lt;p&gt;Create a custom field like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class MyHiddenField : Sitecore.Forms.Mvc.ViewModels.Fields.SingleLineTextField&#xA;    {&#xA;        public override void Initialize()&#xA;        {&#xA;            Visible = false;&#xA;            Value = &quot;myvalue&quot;;&#xA;            base.Initialize();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you override the &lt;code&gt;SingleLineTextField&lt;/code&gt; and:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;set the &lt;code&gt;Visible&lt;/code&gt; property to false&lt;/li&gt;&#xA;&lt;li&gt;assign the &lt;code&gt;Value&lt;/code&gt; property to .. whatever you want&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-09T09:29:11.107" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2372" PostTypeId="1" CreationDate="2016-11-09T09:30:00.757" Score="-3" ViewCount="360" Body="&lt;p&gt;In my code I have an anchor tag which has an external link or a backend function is called as the href value.&#xA;How to convert that to RenderLink?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example I have the following code in which I am calling a function &lt;code&gt;GetShareLink&lt;/code&gt; from backend.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;&amp;lt;%=GetShareLink(items)%&amp;gt;&quot; target=&quot;_blank&quot;&amp;gt;&#xA;    &amp;lt;i class=&quot;icon &amp;lt;%=GetClass(items.Icon.ToString()) %&amp;gt;&quot;&amp;gt;&amp;lt;/i&amp;gt;&#xA;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Same goes to image tag also. How to use RenderImage here?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;./static/img/content-text/optional_links.png&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="957" LastEditorUserId="70" LastEditDate="2016-11-09T13:53:07.887" LastActivityDate="2016-12-07T10:56:57.643" Title="Change anchor tag and img tag to RenderLink and RenderImage respectively" Tags="|glass-mapper|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2373" PostTypeId="1" AcceptedAnswerId="2384" CreationDate="2016-11-09T09:34:56.990" Score="3" ViewCount="2362" Body="&lt;p&gt;I'm trying to figure out when the temp folder gets cleaned.&#xA;Talking about this setting in &lt;code&gt;Sitecore.Config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  `&amp;lt;sc.variable name=&quot;tempFolder&quot; value=&quot;/temp&quot;/&amp;gt;`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From what I found, there is a &lt;code&gt;CleanupAgent&lt;/code&gt; in &lt;code&gt;Sitecore.config&lt;/code&gt; defined for clearing the diagnostics folder in temp. But I haven't found anything that clears other folders or files in the temp folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt; they don't get deleted?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Folder examples are:&lt;/strong&gt; __UpgradeHistory, IconCache, Install&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Agent to clean up work files --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.CleanupAgent&quot; method=&quot;Run&quot; interval=&quot;06:00:00&quot;&amp;gt;&#xA;  &amp;lt;!-- Specifies files to be cleaned up.&#xA;         If rolling=&quot;true&quot;, [minCount] and [maxCount] will be ignored.&#xA;         [minAge] and [maxAge] must be specified as [days.]hh:mm:ss. The default value&#xA;         of [minAge] is 30 minutes.&#xA;         [strategy]: number of files within hour, day, week, month, year&#xA;         [recursive=true|false]: descend folders?&#xA;    --&amp;gt;&#xA;  &amp;lt;files hint=&quot;raw:AddCommand&quot;&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/logs&quot; pattern=&quot;*log.*.txt&quot; maxAge=&quot;30.00:00:00&quot;/&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/viewstate&quot; pattern=&quot;*.txt&quot; maxAge=&quot;2.00:00:00&quot; recursive=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/Dashboard reports&quot; pattern=&quot;*.*&quot; maxAge=&quot;2.00:00:00&quot; recursive=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(tempFolder)/diagnostics&quot; pattern=&quot;*.*&quot; maxAge=&quot;00:10:00&quot; recursive=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;remove folder=&quot;/App_Data/MediaCache&quot; pattern=&quot;*.*&quot; maxAge=&quot;90.00:00:00&quot; recursive=&quot;true&quot;/&amp;gt;&#xA;  &amp;lt;/files&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there an overview of when what gets deleted/invalidated in the temp folder?&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="5387" LastEditDate="2019-08-12T04:31:20.580" LastActivityDate="2019-08-12T04:31:20.580" Title="When is the website's temp folder cleaned?" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2384" PostTypeId="2" ParentId="2373" CreationDate="2016-11-09T10:53:24.147" Score="10" Body="&lt;p&gt;The folders you mention will not get cleared automatically.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reason been that, for example __UpgradeHistory is created when you run an sitecore upgrade and it contains all the valuable information (results, errors, packages, etc) about upgrades. These information is useful when you try to debug upgrade issues (ex: sitecore support sometimes ask for these forlders when you raise an issue with upgrades)  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want these folders to be cleaned, you have to delete them manually.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-11-09T10:53:24.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2386" PostTypeId="1" CreationDate="2016-11-09T13:00:34.547" Score="3" ViewCount="2077" Body="&lt;p&gt;I have &lt;code&gt;Editable&lt;/code&gt; check-box checked at all the required places and have related settings. The problem appears when clicked on &lt;code&gt;Add to here&lt;/code&gt; button and it pops up &lt;code&gt;Select a Rendering&lt;/code&gt; empty window. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fCx76.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fCx76.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have spent hours to figure this out but still no luck. Looking forward to your thoughts on this. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="744" LastEditorUserId="5387" LastEditDate="2019-08-12T04:29:22.280" LastActivityDate="2019-08-12T04:29:22.280" Title="Add to here button does not show allowed controls" Tags="|experience-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="2387" PostTypeId="2" ParentId="2386" CreationDate="2016-11-09T13:11:41.190" Score="5" Body="&lt;p&gt;You must have a &lt;code&gt;Placeholder Settings&lt;/code&gt; item that has Renderings selected in the Allowed Controls field.  The selected &lt;code&gt;Renderings&lt;/code&gt; must also be marked as &lt;code&gt;Editable&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Placeholder Settings&lt;/code&gt; item must have the placeholder name in the &lt;code&gt;Placeholder Key&lt;/code&gt; field or assigned to the placeholder name in the Presentation on the &lt;code&gt;__Standard Values&lt;/code&gt; of the page template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Dynamic Placeholders&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using a Dynamic Placeholder implementation, make sure it has properly implemented it's own version of the &lt;code&gt;GetAllowedRenderings&lt;/code&gt; pipeline processor.  This pipeline processor (found in the &lt;code&gt;GetPlaceholderRenderings&lt;/code&gt; portion of the pipeline) is responsible for building the list of Renderings to display when clicking the &quot;Add to here&quot; button in Experience Editor.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, for instance, if we have a custom processor called &lt;code&gt;GetDynamicKeyAllowedRenderings&lt;/code&gt; , the processor code may look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GetDynamicKeyAllowedRenderings : GetAllowedRenderings&#xA;{&#xA;    public new void Process(GetPlaceholderRenderingsArgs args)&#xA;    {&#xA;        Item placeholderSettingsItem = null&#xA;        // Figure out if this is a dynamic placeholder &#xA;        // and get the proper placeholder settings item from Sitecore.&#xA;        ....&#xA;&#xA;        List&amp;lt;Item&amp;gt; allowedRenderings = null;&#xA;        if (placeholderSettingsItem != null)&#xA;        {&#xA;            bool flag;&#xA;            args.HasPlaceholderSettings = true;&#xA;            // Get the list of allowed renderings for this placeholder&#xA;            allowedRenderings = GetRenderings(placeholderSettingsItem , out flag);&#xA;            if (flag)&#xA;            {&#xA;                args.CustomData[&quot;allowedControlsSpecified&quot;] = true;&#xA;                // If GetRenderings returns a list of renderings to display, this must be set to false.  &#xA;                // If set to true, the Allowed Renderings pane will always show the tree view.&#xA;                args.Options.ShowTree = false;&#xA;            }&#xA;        }&#xA;&#xA;        if (allowedRenderings == null) return;&#xA;&#xA;        if (args.PlaceholderRenderings == null)&#xA;        {&#xA;            args.PlaceholderRenderings = new List&amp;lt;Item&amp;gt;();&#xA;        }&#xA;        args.PlaceholderRenderings.AddRange(allowedRenderings);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The key to the code above, is to set &lt;code&gt;args.Options.ShowTree = true&lt;/code&gt; if there are renderings to display.  If this remains &lt;code&gt;false&lt;/code&gt;, it will always show the tree view (as seen in the screenshot in the question).&lt;/p&gt;&#xA;" OwnerUserId="469" LastEditorUserId="469" LastEditDate="2016-11-10T16:01:39.113" LastActivityDate="2016-11-10T16:01:39.113" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2388" PostTypeId="2" ParentId="2386" CreationDate="2016-11-09T13:25:03.723" Score="2" Body="&lt;p&gt;The only way for you to get the allowed renderings to show on the pop-up is setting them into placeholder settings. &#xA;Placeholder settings is a way for you to tell Sitecore what are the allowed renderings a content author can pick when adding a component to a page. to do that you need to create a new placeholder settings under Layouts/Placeholder Settings and select on the Allowed Controls field which ones are allowed for that placeholder.&#xA;you need also to make sure that the key field on the placeholder settings is consistent with the one you are using as well as you need to set on the renderings whether they are Editable. To do that open the rendering under Layouts/Rendering/The path to your rendering and select the rendering. Look for the field Editable and make sure that it is checked.&#xA;More on placeholder settings &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/installing/selecting_placeholders_shown_in_the_placeholder_list&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-11-09T13:25:03.723" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2389" PostTypeId="1" AcceptedAnswerId="2393" CreationDate="2016-11-09T14:05:55.440" Score="5" ViewCount="1364" Body="&lt;p&gt;I was playing around with the ootb search components in SXA and I got some results so yes, it's working. But now I wanted to know what was all included in the searchable content (apparently computed in a SxaContent field) and noticed that content from a reusable RT field was included. Cool. When I update the RT value, the index seems to follow as I can find my new content. But when I add the RT to another page, that page is not found as well. So now I have 2 (related, so bundled) questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What is included in the &quot;searchable content&quot; of a page in a default sxa setup? And can this be customized? And do I need to do something in a custom component to add (or remove) the data in the search results?&lt;/li&gt;&#xA;&lt;li&gt;How is the index updated? As mentioned, I noticed that a reusable data item change seemed to affect the pages the component was on, which is cool. But when adding a component to a page, that extra text was not found in the index. So, how does the index know what to update and is it possible that some data might be missed?  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-09T14:45:30.993" Title="Search component in SXA" Tags="|content-search|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2390" PostTypeId="2" ParentId="2372" CreationDate="2016-11-09T14:07:35.307" Score="1" Body="&lt;p&gt;Both RenderLink and RenderImage work exclusively with Sitecore items and their fields. What you're trying to achieve is not possible using these methods.&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-11-09T14:07:35.307" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2391" PostTypeId="1" AcceptedAnswerId="2394" CreationDate="2016-11-09T14:18:21.627" Score="-4" ViewCount="356" Body="&lt;p&gt;How to populate droplist field option using fastquery and option should be based on language wise?&lt;/p&gt;&#xA;" OwnerUserId="1093" LastActivityDate="2016-11-09T14:37:33.483" Title="How to populate droplist field option using fastquery and option should be based on language-wise" Tags="|wffm|multisite|" AnswerCount="1" CommentCount="1" ClosedDate="2016-11-10T10:47:52.117" ContentLicense="CC BY-SA 3.0" />
  <row Id="2392" PostTypeId="2" ParentId="2370" CreationDate="2016-11-09T14:28:46.217" Score="8" Body="&lt;p&gt;The main thing you need to set up is the Instance Names in your &lt;code&gt;ScalabilitySettings.config&lt;/code&gt; file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The names can be anything they just need to be consistent between the CM and CD. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can leave these blank and Sitecore will create it's own unique names which can cause issues if you switch IIS sites, so it's safer if you create the names yourself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the CD server, change these settings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;MyCDServer1&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;  &amp;lt;!--  PUBLISHING INSTANCE&#xA;        Assigns the instance name of dedicated Sitecore installation for publishing operations.&#xA;        When empty, all publishing operations are performed on the local installation of Sitecore.&#xA;        Default vaue: (empty)&#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;MyCMServer&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the CM Server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;MyCMServer&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;  &amp;lt;!--  PUBLISHING INSTANCE&#xA;        Assigns the instance name of dedicated Sitecore installation for publishing operations.&#xA;        When empty, all publishing operations are performed on the local installation of Sitecore.&#xA;        Default vaue: (empty)&#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;MyCMServer&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also make sure  EnableEventQueues setting is set to true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this in place, In basic terms (With default settings), if a publish is performed on the CM box the CM box will trigger a  &lt;code&gt;publish:end:remote&lt;/code&gt; event - this will get added to the EventQueue table in the database (In your case the pub database). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will then in turn trigger the OnPublishEndAsync index update strategy which will add the new items to the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to do a complete rebuild of the content delivery indexes you need to add the strategy - Remote Rebuild in your index configuration&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;&#xA;            &amp;lt;!- Existing Strategy  here --&amp;gt;                  &#xA;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexUpdateStrategies/remoteRebuild&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="222" LastActivityDate="2016-11-09T14:28:46.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2393" PostTypeId="2" ParentId="2389" CreationDate="2016-11-09T14:37:16.160" Score="3" Body="&lt;p&gt;&lt;strong&gt;1)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sxacontent&lt;/code&gt; is a computed field with following implementation &lt;code&gt;Sitecore.XA.Foundation.Search.ComputedFields.AggregatedContent&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you open it you will see for example this piece of code. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;if (item.Paths.IsMediaItem)&#xA;{&#xA;    return _mediaContentExtractor.ComputeFieldValue(indexable);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Media items are handled different.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;if (!item.IsPageItem() &amp;amp;&amp;amp; !IsPoi.Verify(item))&#xA;{&#xA;    return null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Only items under you &lt;strong&gt;Start Item&lt;/strong&gt; (by default Home item will be indexed) and Items with certain &lt;strong&gt;POI&lt;/strong&gt; fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can provide your own implementation by overwriting following config node (example for Solr)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;sxacontent&quot; returnType=&quot;textCollection&quot; type=&quot;Sitecore.XA.Foundation.Search.ComputedFields.AggregatedContent, Sitecore.XA.Foundation.Search&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2)&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Index is updated like in vanilla Sitecore. SXA does not provide additional triggers, except additional processor &lt;code&gt;GetDatasourceDependencies&lt;/code&gt; in &lt;code&gt;indexing.getDependencies&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might be right. I would need to perform test for different scenarios to verify this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Implementation provides fields indexing for Data items once index rebuild is triggered for your page item but it will be skipped once you touch data item. &#xA;But there is that additional processor for adding referenced items (data items) so everything should be fine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you could provide exact steps to reproduce I will be able to verify it and report as a bug.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-11-09T14:45:30.993" LastActivityDate="2016-11-09T14:45:30.993" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2394" PostTypeId="2" ParentId="2391" CreationDate="2016-11-09T14:37:33.483" Score="1" Body="&lt;p&gt;Sitecore Fast Query does not support language filtering.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Fast query does not account for the context language (results include items with versions that match the query in any language)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-09T14:37:33.483" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2395" PostTypeId="1" AcceptedAnswerId="2397" CreationDate="2016-11-09T15:49:44.570" Score="3" ViewCount="195" Body="&lt;p&gt;I am getting several exceptions on the CMS Master server, such as the one shown below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #17 2016:10:25 08:23:54 ERROR Synchronization context can not be created for &quot;media library&quot; integration config data source item.&#xA;Exception: System.Exception&#xA;Message: Item &quot;/sitecore/media library&quot; does not contain IntegrationConfigData field.&#xA;Source: Sitecore.Sharepoint.Data.Providers&#xA;   at Sitecore.Sharepoint.Data.Providers.IntegrationConfig.IntegrationConfigDataProvider.ValidateIntegrationItem(Item targetIntegrationItem)&#xA;   at Sitecore.Sharepoint.Data.Providers.IntegrationConfig.IntegrationConfigDataProvider.GetFromItem(Item sourceIntegrationItem)&#xA;   at Sitecore.Sharepoint.Data.Providers.SynchContext.Initialize()&#xA;   at Sitecore.Sharepoint.Data.Providers.SharepointProvider.ProcessTree(ProcessIntegrationItemsOptions processIntegrationItemsOptions, Item integrationConfigDataSource)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Sitecore CMS is version 7.0  I have separate Master Server and Content Delivery servers configured as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have SharePoint integration with Sitecore setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what could be wrong with my configuration?&lt;/p&gt;&#xA;" OwnerUserId="608" LastActivityDate="2016-11-09T16:03:48.293" Title="Item '/sitecore/media library' does not contain IntegrationConfigData field" Tags="|site-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2396" PostTypeId="2" ParentId="2121" CreationDate="2016-11-09T15:52:03.990" Score="3" Body="&lt;p&gt;What you could consider:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is always possible to rebuild the reporting database if your mongodb data does not get corrupt. Therefor you can choose to keep a copy (or compressed archive) of your data in another location. For the searches that I did, there is no best practice from sitecore yet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could consider installing the mongodb ops manager who will keep the backups for you. I personally think you can easily store 10 year of data in mongodb as long as your infrastructure is capable of doing that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe in future releases there will be features who will assist you, by doing this for you. Keep on hoping. &lt;/p&gt;&#xA;" OwnerUserId="755" LastActivityDate="2016-11-09T15:52:03.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2397" PostTypeId="2" ParentId="2395" CreationDate="2016-11-09T16:03:48.293" Score="3" Body="&lt;p&gt;As a first port of call, I would try reinstalling the SharePoint module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the &lt;a href=&quot;https://www.google.co.uk/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0ahUKEwi054Hbg5zQAhUHLsAKHdOKCKQQFggeMAA&amp;amp;url=https%3A%2F%2Fdev.sitecore.net%2F~%2Fmedia%2FAB096C2A149342538194D3572AAD8071.ashx&amp;amp;usg=AFQjCNGQko-p2JTdK8f0eIO-Tbcbnc6OtQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;docs&lt;/a&gt; I would check that the &quot;Sharepoint Integration Configuration&quot; template exists:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To integrate SharePoint lists with the Sitecore content tree or the&#xA;  Media Library use the SharePoint Integration wizard to create a&#xA;  SharePoint integration definition item based on the SharePoint&#xA;  Integration Configuration template. You can find the SharePoint&#xA;  Integration Configuration template at the following location:&#xA;  /sitecore/templates/Sharepoint/Item Level Integration/Sharepoint&#xA;  Integration Configuration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It sounds like the field referenced should exist on the items being called. Check that this field exists - I believe it's needed for Item Level Configuration:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;SPIF determines which configuration to use using the following&#xA;  prioritization:&#xA;  1. It checks whether there is an alternative configuration. For item-level integration, the configuration is in the Integration&#xA;  Configuration Data field of the Integration Definition item. For more&#xA;  information about configuration for item-level integration, see&#xA;  section Editing the XML in a SharePoint Integration Definition Item.&#xA;  2. If there are no alternative configuration details, SPIF checks for predefined configuration details in the sharepoint.config file.&#xA;  3. If there are no predefined configuration details, it uses the default configuration details.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Also, can you open the Sharepoint Integration Wizard? From there you should be able to check that you don't have incorrectly assigned templates and field mappings.&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-11-09T16:03:48.293" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2398" PostTypeId="2" ParentId="2118" CreationDate="2016-11-09T16:12:41.847" Score="2" Body="&lt;p&gt;I have managed to solve this I think. In Mongo's &lt;code&gt;dbo.interactions&lt;/code&gt; pages are stored in a nested array, and page events are stored as a nested array within each page. Apparently, my mistake was that I've been expecting PageEvents of &quot;Page visited&quot; type to be represented in Path Analyzer as nodes, but what actually gets displayed there are Pages themselves.&lt;br&gt;&#xA;So now each time a front-end event I'm interested in happens, I'm using a fake page that is &quot;visited&quot; and edit its &lt;code&gt;Tracker.Current.CurrentPage.Url.Path&lt;/code&gt; and &lt;code&gt;Tracker.Current.CurrentPage.Item.Id&lt;/code&gt; so that it looks like another item (my JavaScript-based page) was being visited. Which is clumsy but hey, it works! :)&lt;/p&gt;&#xA;" OwnerUserId="1034" LastActivityDate="2016-11-09T16:12:41.847" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2399" PostTypeId="1" AcceptedAnswerId="2420" CreationDate="2016-11-09T18:57:54.227" Score="6" ViewCount="2399" Body="&lt;p&gt;Does anyone know how delete/remove a xDB Contact programmatically in Sitecore (8.1+), which also ensures a correct (re)-indexing? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or, is there another strategy? Such as scrambling the identifier? - or - merging it into void?&lt;/p&gt;&#xA;" OwnerUserId="1096" LastEditorUserId="104" LastEditDate="2016-11-18T07:16:55.377" LastActivityDate="2016-11-18T07:16:55.377" Title="How to delete a Contact programmatically in xDB" Tags="|xdb|indexing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2400" PostTypeId="2" ParentId="2370" CreationDate="2016-11-09T19:48:45.260" Score="1" Body="&lt;p&gt;If you configure your lucene index to use the &amp;quot;RebuildAfterFullPublish&amp;quot; strategy, then per the Sitecore document.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/index_update_strategies&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/index_update_strategies&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;During initialization, this strategy subscribes to the OnFullPublishEnd event and it triggers a full index rebuild.&lt;/p&gt;&#xA;&lt;p&gt;In a distributed environment, the index rebuild is triggered on all&#xA;remote servers where this strategy is configured. In this case, you&#xA;must enable the event queue.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&amp;quot;sitecore_index&amp;quot; type=&amp;quot;Sitecore.ContentSearch.LuceneProvider.&#xA;          LuceneIndex, Sitecore.ContentSearch.LuceneProvider&amp;quot;&amp;gt;&#xA;   &amp;lt;param desc=&amp;quot;name&amp;quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;   &amp;lt;param desc=&amp;quot;folder&amp;quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;   &amp;lt;strategies hint=&amp;quot;list:AddStrategy&amp;quot;&amp;gt;&#xA;      &amp;lt;strategy ref=&amp;quot;contentSearch/indexUpdateStrategies/rebuildAfterFullPublish&amp;quot; /&amp;gt;&#xA;   &amp;lt;/strategies&amp;gt;&#xA;   &amp;lt;Analyzer ref=&amp;quot;search/analyzer&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-09T19:48:45.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2401" PostTypeId="1" CreationDate="2016-11-09T20:04:00.083" Score="6" ViewCount="340" Body="&lt;p&gt;When creating a page test in Sitecore Experience Optimization you can as test objective choose to connect either one specific goal or all your goals (trailing value/visit). Do any of you know about a possibility or work around to connect two specific goals to a page test in the Experience Optimization? &lt;/p&gt;&#xA;" OwnerUserId="330" LastActivityDate="2016-11-11T06:47:09.080" Title="How can I connect two goals to a page test?" Tags="|content-testing|goals|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2402" PostTypeId="2" ParentId="2121" CreationDate="2016-11-09T20:12:09.930" Score="4" Body="&lt;p&gt;MongoDB supports TTL indexes so you could, for example, configure xDB data retention of 6 months (or however long you'd like).  The duration would depend on what all you're doing with the xDB data.  I talk about this at &lt;a href=&quot;https://grantkillian.wordpress.com/2016/08/11/sitecore-and-ttl-index-heresy-for-mongodb/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://grantkillian.wordpress.com/2016/08/11/sitecore-and-ttl-index-heresy-for-mongodb/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TTL indexes for MongoDB are documented at &lt;a href=&quot;https://docs.mongodb.com/manual/core/index-ttl/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.mongodb.com/manual/core/index-ttl/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2016-11-09T20:12:09.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2403" PostTypeId="2" ParentId="1945" CreationDate="2016-11-09T21:08:36.900" Score="3" Body="&lt;p&gt;If you know what is the &lt;strong&gt;ID&lt;/strong&gt; of an item you click on you can simply redirect user using this url: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://domain/sitecore/shell/Applications/Content%20Editor.a‌​spx?sc_bw=1&amp;amp;fo=ID&lt;/code&gt;, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;where &#xA;&lt;strong&gt;ID&lt;/strong&gt; value in a query string is an id of an item you want to open&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for example: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://domain/sitecore/shell/Applications/Content%20Editor.a‌​spx?sc_bw=1&amp;amp;fo={3C1715FE-6A13-4FCF-845F-DE308BA9741D}&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-09T21:08:36.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2404" PostTypeId="1" CreationDate="2016-11-09T21:30:20.940" Score="10" ViewCount="1533" Body="&lt;p&gt;We are soon going be pulling thousands of items from a PROD instance back into a QA Environment. These packages have thousands of items and take a VERY long time to install, sometimes even beyond 8 hours to install into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is, is there a way to speed up the installation of these packages OR is there a better way to bring these items down from our PROD instance back into our QA instance faster than a package?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking to see what the community thinks is the fastest &amp;amp; most efficient way and we will heavily explore that option.&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2016-11-09T21:46:12.963" Title="What is the most efficient &amp; fastest way to speed up the installation of packages with thousands of items?" Tags="|packages|installation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2405" PostTypeId="2" ParentId="2404" CreationDate="2016-11-09T21:38:21.277" Score="3" Body="&lt;p&gt;I've used Unicorn to manage very large content transfers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had a situation where we needed to move gigabytes of (mostly) media data, but also thousands of articles. Serializing the whole thing with Unicorn took an almost insignificant amount of time. Then we zipped the whole thing up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reverse; move the whole thing to local environment; sync the Unicorn configurations involved - pretty much as fast as can be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unicorn syncs with events disabled by default. I don't think you can get much faster than this.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-09T21:38:21.277" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2406" PostTypeId="2" ParentId="2404" CreationDate="2016-11-09T21:38:31.207" Score="10" Body="&lt;p&gt;To pull content from a PROD instance back to a QA instance I would highly recommend using &lt;a href=&quot;https://jeffdarchuk.com/2016/10/24/sitecore-sidekick-content-migrator/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Sidekick - Content Migrator&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This tool uses &lt;a href=&quot;https://github.com/kamsar/Rainbow&quot; rel=&quot;noreferrer&quot;&gt;Rainbow Serialization&lt;/a&gt; under the hood to quickly migrate content from one Sitecore database to another. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Jeffs blog:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Content Migrator will move content in a multi-threaded way.  The system is designed to be as fast as the Sitecore Item API can go.  When the operation starts it spins up two separate thread pools, one for transmission of serialized item data from the remote server and another to ingest that data into Sitecore.  Since the inhibiting factor here is the rate in which Sitecore can write item data to the database you can virtually eliminate the penalty of pulling items over the network in most cases (the obvious exceptions being transmission over a slow connection).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;A test was done for speed vs a standard Sitecore Package. The migration and package contained 24k items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The results were:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content migrator: 41 seconds&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Package Install: 70 minutes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So it is a much faster option than standard Sitecore packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cons: You would have to install Sidekick on both PROD and QA servers, I don't really view this as a con because its a great tool, but for some this could cause a problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xlJoq.gif&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xlJoq.gif&quot; alt=&quot;Content Migrator&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-11-09T21:46:12.963" LastActivityDate="2016-11-09T21:46:12.963" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2407" PostTypeId="2" ParentId="2404" CreationDate="2016-11-09T21:39:08.140" Score="6" Body="&lt;p&gt;Make a copy of databases you need to port items from and restore them on your QA instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will lose time only for transferring the database from one server to another.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did it many times and I can recommend this approach. No modules, no additional setup needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure if this fits your needs. In my case there were no differences between production and qa databases so I could do it like that.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-09T21:39:08.140" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2408" PostTypeId="1" CreationDate="2016-11-10T00:03:23.307" Score="0" ViewCount="536" Body="&lt;p&gt;Has anyone seen this error before? The Azure deployment don't create the database instance on Azure.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;AMDatabase 'web': Access to SQL Azure service management is unavailable, '&#xA;AMDatabase 'master': Access to SQL Azure service management is unavailable&#xA;AMDatabase 'core': Access to SQL Azure service management is unavailable, &#xA;&#xA;11/10/2016, dd:MM:YYYY Staging [S] Sitecore.Azure.Pipelines.Automation.Azure.SqlAzureDatabaseServer failed System.ApplicationException: &#xA;Staging [S] Sitecore.Azure.Pipelines.Automation.Azure.SqlAzureDatabaseServer failed ---&amp;gt; &#xA;System.ApplicationException: Sitecore.Azure.Pipelines.Automation.Azure.SqlAzureDatabaseServer is failed ---&amp;gt; &#xA;Sitecore.Azure.Exceptions.**ManagementApiRequestException**: REST REQUEST FAILED : &#xA;Request: https://management.database.windows.net:8443/DUMMY/services/sqlservers/servers Server response = **40677** &#xA;The operation for the request uri 'https://management.database.windows.net:8443/DUMMY/services/sqlservers/servers' was not found. &#xA;To continue, please provide a valid request uri. 16 1 ---&amp;gt; System.Net.WebException: The remote server returned an error: (404) Not Found. &#xA;at System.Net.HttpWebRequest.GetResponse() at Sitecore.Azure.Managers.HttpGatewayManager.GetHttpResponse(String uri, String httpMethod, String versionXMsVersion, String body) --- &#xA;End of inner exception stack trace --- at Sitecore.Azure.Managers.HttpGatewayManager.GetHttpResponse(String uri, String httpMethod, String versionXMsVersion, &#xA;String body) at Sitecore.Azure.Providers.AzureSQL.AzureSqlProvider.CreateDataBaseServer(String subscriptionID, String location, String userID, String password) &#xA;at Sitecore.Azure.Managers.AzureManagers.AzureSqlManager.CreateDataBaseServer(String subscriptionID, AzureSqlDatabase database, String login, String password) &#xA;at Sitecore.Azure.Managers.AzureManagers.AzureSqlManager.CreateDataBaseServer(AzureSqlDatabase azureSqlDatabase, String login, String password) &#xA;at Sitecore.Azure.Pipelines.Automation.Azure.SqlAzureDatabaseServer.ResolveServer(AzureSqlDatabase azureSqlDb, List`1 resolvedServers, Dictionary`2 preferServer) &#xA;at Sitecore.Azure.Pipelines.Automation.Azure.SqlAzureDatabaseServer.Action(RolePipelineArgsBase args) at Sitecore.Azure.Pipelines.BasePipeline.RolePipelineProcessor.Process(RolePipelineArgsBase args) --- &#xA;End of inner exception stack trace --- --- End of inner exception stack trace ---&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="714" LastEditorUserId="73" LastEditDate="2016-12-10T16:50:25.397" LastActivityDate="2017-02-09T13:18:58.553" Title="Sitecore Azure deployment failure" Tags="|azure|deployment|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2409" PostTypeId="1" AcceptedAnswerId="2470" CreationDate="2016-11-10T01:54:12.633" Score="2" ViewCount="292" Body="&lt;p&gt;I am playing with SXA Creative Exchange and discovered that it exports only images stored in &lt;code&gt;Theme&lt;/code&gt; media folder. That is fine for prototyping, when page is created by designer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In real sites, Content Authors do not want to mix design and content assets. They build pages using real content and still want to use Creative Exchange to apply styles. When such pages are exported, they do not look nice and design can be broken.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can SXA export images referenced by components if they are stored in different folder to keep page layout?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: let me clarify with screenshot what is Exported what is not in my case:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HbYAN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HbYAN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not want keep all my Images in &lt;code&gt;theme&lt;/code&gt; folder. &lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="633" LastEditDate="2016-11-10T17:03:30.377" LastActivityDate="2016-11-11T00:19:02.397" Title="Can I export content images with SXA Creative Exchange?" Tags="|sxa|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2410" PostTypeId="1" CreationDate="2016-11-10T02:02:19.800" Score="0" ViewCount="5272" Body="&lt;p&gt;I'm running a publish on the content tree of my sitecore instance and at some point the publish crashes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an easy way of knowing which item is causing the problem? &#xA;I don't see on the logs the item ID at any point...&#xA;here is the exception I get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;10336 17:56:05 ERROR An error during Publish Pipeline Process Queue execution.&#xA;Exception: System.AggregateException&#xA;Message: One or more exceptions occurred while processing the subscribers to the 'item:deleted' event.&#xA;Source: Sitecore.Kernel&#xA;at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;at Sitecore.Data.Engines.DataEngine.DeleteItem(Item item)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.DeleteItem(Item item, SecurityCheck securityCheck)&#xA;at Sitecore.Nexus.Data.DataCommands.DeleteItemCommand.(Item )&#xA;at Sitecore.Nexus.Data.DataCommands.DeleteItemCommand.DeleteItem(Item , Boolean )&#xA;at Sitecore.Nexus.Data.DataCommands.DeleteItemCommand.Execute(Item , ID )&#xA;at Sitecore.Data.Engines.DataCommands.DeleteItemCommand.DoExecute()&#xA;at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;at Sitecore.Data.Engines.DataEngine.DeleteItem(Item item)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.DeleteItem(Item item, SecurityCheck securityCheck)&#xA;at Sitecore.Nexus.Data.DataCommands.DeleteItemCommand.(Item )&#xA;at Sitecore.Nexus.Data.DataCommands.DeleteItemCommand.DeleteItem(Item , Boolean )&#xA;at Sitecore.Nexus.Data.DataCommands.DeleteItemCommand.Execute(Item , ID )&#xA;at Sitecore.Data.Engines.DataCommands.DeleteItemCommand.DoExecute()&#xA;at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;at Sitecore.Data.Engines.DataEngine.DeleteItem(Item item)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.DeleteItem(Item item, SecurityCheck securityCheck)&#xA;at Sitecore.Nexus.Data.DataCommands.DeleteItemCommand.(Item )&#xA;at Sitecore.Nexus.Data.DataCommands.DeleteItemCommand.DeleteItem(Item , Boolean )&#xA;at Sitecore.Nexus.Data.DataCommands.DeleteItemCommand.Execute(Item , ID )&#xA;at Sitecore.Data.Engines.DataCommands.DeleteItemCommand.DoExecute()&#xA;at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;at Sitecore.Data.Engines.DataEngine.DeleteItem(Item item)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.DeleteItem(Item item, SecurityCheck securityCheck)&#xA;at Sitecore.Publishing.PublishHelper.DeleteTargetItem(ID itemId)&#xA;at Sitecore.Publishing.Pipelines.PublishItem.PerformAction.ExecuteAction(PublishItemContext context)&#xA;at Sitecore.Publishing.Pipelines.PublishItem.PerformAction.Process(PublishItemContext context)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Publishing.Pipelines.PublishItem.PublishItemPipeline.Run(PublishItemContext context)&#xA;at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context, List`1&amp;amp; referrers, List`1&amp;amp; children)&#xA;at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.Process(PublishContext context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastEditorUserId="2727" LastEditDate="2018-03-23T10:06:38.493" LastActivityDate="2018-03-23T10:06:38.493" Title="Exceptions occurred while processing the subscribers to the 'item:deleted' event during Publishing..How can I know on which item it is failing?" Tags="|publishing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2412" PostTypeId="1" AcceptedAnswerId="2446" CreationDate="2016-11-10T03:18:43.783" Score="1" ViewCount="957" Body="&lt;p&gt;I am building styles for my component using SXA Creative Exchange. For that steps below were executed:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Export page with component using &lt;em&gt;Agency drop (preview mode, importable)&lt;/em&gt; mode&lt;/li&gt;&#xA;&lt;li&gt;Add &lt;code&gt;my-test-style&lt;/code&gt; class to promo component - &lt;code&gt;&amp;lt;div class=&quot;component promo ... add-your-css-classes-here my-test-style&quot;&amp;gt;...&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add that class to webedit.css &lt;code&gt;.my-test-style {background: green}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Checked style in offline design. It looks good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that package imported back to Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore I see my style available for Promo component and it is selected in component properties, but my CSS changes are not imported.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I doing something wrong or Creative Exchange does not import CSS changes into Sitecore? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After reading the answers, I see where my mistake is coming from. Initially I assumed that CSSs in Theme folder belong to Base scheme and all modifications should go into webedit.css. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in reality CSS files in Theme folder belong to actual theme and modifications  should be made right there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything works as expected after I added my styles to the bottom of &lt;code&gt;-\media\Project\Sxa-Demo-Tenant\SXA-Demo-Site\SXA-Demo-Theme\styles\component-promo.css&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt; .promo.my-test-style {&#xA;    background: green&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="633" LastEditorUserId="633" LastEditDate="2016-11-13T15:46:31.840" LastActivityDate="2016-11-13T15:46:31.840" Title="CSS changes are not Imported into Sitecore with SXA Creative Exchange" Tags="|sxa|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2413" PostTypeId="1" AcceptedAnswerId="2425" CreationDate="2016-11-10T04:41:47.257" Score="3" ViewCount="1119" Body="&lt;p&gt;We are migrating the site from Java Vignette platform to sitecore. And we have redirect requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like most of the Java URL seems to have dot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;portal/site/template.oldRegisteration&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to use 301Redirect Module (&lt;a href=&quot;https://github.com/thecadams/301RedirectModule&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/thecadams/301RedirectModule&lt;/a&gt;). However, it isn't working (keeps getting 404 status code) for any source URL which has dot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone faced this issue and somehow resolved?&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="70" LastEditDate="2016-11-14T20:00:15.887" LastActivityDate="2016-11-14T20:00:15.887" Title="301RedirectModule isn't working for URL with dot file name" Tags="|redirect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2414" PostTypeId="2" ParentId="2413" CreationDate="2016-11-10T05:59:37.973" Score="5" Body="&lt;p&gt;This is generally caused by IIS configuration. By default IIS assumes that any file extension not already registered (.aspx, .ashx etc.) is a static file. It will try and locate that file and as its not actually a file you'll get a 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to configure IIS to pass these kinds of requests through to your Sitecore instance. Once configured the URL re-writer can action the item.&lt;/p&gt;&#xA;" OwnerUserId="751" LastActivityDate="2016-11-10T05:59:37.973" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2415" PostTypeId="1" AcceptedAnswerId="2480" CreationDate="2016-11-10T06:40:13.300" Score="9" ViewCount="2662" Body="&lt;p&gt;I would like to delete the Home from master database. I can delete without any problem but I saw for example references in site configurations. Is there any other places where should I remove the references?&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-11-10T06:49:50.780" LastActivityDate="2017-07-06T13:22:20.203" Title="How should I remove the default Home item?" Tags="|content-editor|site-configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2416" PostTypeId="1" CreationDate="2016-11-10T07:01:06.500" Score="5" ViewCount="3039" Body="&lt;p&gt;We have 11 client Sites hosted on Azure PAAS setup with SQL on standard S2 tier. We also have planned to remove Inrole cache and Implement SQLSession Cache on these Production servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For all 11 sites , we expect 300-500 concurrent users per site. Is there any formula to calculate if the S2 tier is sufficient for this user load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also , is there any documentation on the Max concurrent workers/Max concurrent sessions for Sitecore 8.0, this information would help us understand if the S2 tier will be sufficient for the given user load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Azure documentation for S2 plan&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Max concurrent workers - 120&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Max concurrent sessions - 1200&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="106" LastEditorUserId="73" LastEditDate="2018-07-17T13:51:26.840" LastActivityDate="2018-07-17T13:51:26.840" Title="Max concurrent workers/Max concurrent sessions" Tags="|azure|sql-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2417" PostTypeId="2" ParentId="2408" CreationDate="2016-11-10T07:02:11.833" Score="1" Body="&lt;p&gt;It looks like Azure platform issue. I would check on Azure status portal if they've reported anny issue on the Azure SQL service. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also try to deploy Sitecore using different resource group ID (deployment ID). Resource groups, sql servers identifiers are global, even if you remove whole resource group it's still present in the Azure for some time until it will be completely removed. So there might me some problems if you are removing whole resource group or SQL server and right after that you try to deploy using the same ID. But I don't know if that's your case.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2016-11-10T07:02:11.833" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2418" PostTypeId="2" ParentId="2415" CreationDate="2016-11-10T07:10:06.083" Score="8" Body="&lt;p&gt;It is safe to delete the default Home item. I have done so on many projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only place where you need to update the reference is the default site definition:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site &#xA;  name=&quot;website&quot;&#xA;  ...&#xA;  rootPath=&quot;/sitecore/content&quot;&#xA;  startItem=&quot;/home&quot;&#xA;  ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Some system sites, such as &quot;shell&quot; and &quot;modules_website&quot;, also have references to the Home item. In most cases they won't be used, but it's still best to change them to point to an existing item.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-10T11:39:56.840" LastActivityDate="2016-11-10T11:39:56.840" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2420" PostTypeId="2" ParentId="2399" CreationDate="2016-11-10T08:06:47.553" Score="8" Body="&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Analytics.Data.DataAccess.DataAdapterManager.Provider.DeleteContact(new ID(contactId));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After that you might run the following to update the index:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;var index = Sitecore.ContentSearch.ContentSearchManager.GetAnalyticsIndex();&#xA;index.Refresh();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But note that it is time and resource consuming.&lt;/p&gt;&#xA;" OwnerUserId="392" LastEditorUserId="463" LastEditDate="2016-11-17T14:27:32.810" LastActivityDate="2016-11-17T14:27:32.810" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2421" PostTypeId="5" CreationDate="2016-11-10T08:26:08.730" Score="0" Body="&lt;p&gt;Sitecore Experience Analytics contains dashboards and tools, that let you view detailed data about your website's visitors in real time. You can use these reports to give your sales team relevant information about visitors to your website, which they can use to refine campaigns and optimize conversion rates. Users can identify patterns and trends in experience data collected from their websites and potentially other external data sources.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/about/experience_analytics_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/about/experience_analytics_overview&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_experience_analytics_reports_relevant_for_marketers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_experience_analytics_reports_relevant_for_marketers&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/products/sitecore-experience-platform/customer-intelligence/customer-analytics&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/products/sitecore-experience-platform/customer-intelligence/customer-analytics&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-13T22:10:00.697" LastActivityDate="2018-02-13T22:10:00.697" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2422" PostTypeId="4" CreationDate="2016-11-10T08:26:08.730" Score="0" Body="Sitecore Experience Analytics contains dashboards and tools, that let you view detailed data about your website's visitors in real time. You can use these reports to give your sales team relevant information about visitors to your website, which they can use to refine campaigns and optimize conversion rates. Users can identify patterns and trends in experience data collected from their websites and potentially other external data sources." OwnerUserId="330" LastEditorUserId="330" LastEditDate="2016-11-10T10:43:44.643" LastActivityDate="2016-11-10T10:43:44.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2423" PostTypeId="5" CreationDate="2016-11-10T08:44:53.097" Score="0" Body="&lt;p&gt;The Federated Experience Manager (FXM) is an application that allows you add Sitecore content on external non-Sitecore websites and the track visitor interactions and generate analytics information. You can use FXM to implement personalization rules, create goals and events, and implement content profiling on an external website. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also implement rules that include non-Sitecore sites in engagement plans, as well as track traffic from the external website in Experience Analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/the_federated_experience_manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/the_federated_experience_manager&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/a_functional_overview_of_fxm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/a_functional_overview_of_fxm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/products/sitecore-experience-platform/cross-channel-delivery/fxm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/products/sitecore-experience-platform/cross-channel-delivery/fxm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/using_fxm/add_an_external_website_in_fxm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/using_fxm/add_an_external_website_in_fxm&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T08:10:36.877" LastActivityDate="2018-02-14T08:10:36.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2424" PostTypeId="4" CreationDate="2016-11-10T08:44:53.097" Score="0" Body="The Federated Experience Manager (FXM) enables you to track visitor interactions and generate analytics information on external, non-Sitecore websites from within Sitecore.&#xD;&#xA;You can use FXM to implement personalization rules, create goals and events, implement content profiling on an external website and enroll in engagement plans. &#xD;&#xA;To enable FXM functionality, a JavaScript tag is added to the external websites." OwnerUserId="330" LastEditorUserId="330" LastEditDate="2016-11-10T10:43:51.500" LastActivityDate="2016-11-10T10:43:51.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2425" PostTypeId="2" ParentId="2413" CreationDate="2016-11-10T09:16:43.997" Score="5" Body="&lt;p&gt;The issue is the request is not being processed by Sitecore, since it is seeing &lt;code&gt;.oldRegistration&lt;/code&gt; as file extension and it has not been configured as an allowed extension. You need to add all the extensions that you want processed, since the module works integrates in the Sitecore pipelines:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;preprocessRequest&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;Allowed extensions (comma separated)&quot;&amp;gt;aspx, ashx, asmx, oldRegisteration&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/preprocessRequest&amp;gt;      &#xA;    &amp;lt;/pipelines&amp;gt;    &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the above is in the &lt;code&gt;preprocessRequest&lt;/code&gt; so is very early in the pipeline process. Also be aware that configuring and allowing too many extensions will cause Sitecore to process them and may have a negative impact on performance. It's worth considering the use of the &lt;a href=&quot;https://www.iis.net/downloads/microsoft/url-rewrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;IIS URL Rewrite module&lt;/a&gt; for &quot;static redirects&quot;, i.e. one's that do not need to be configured by users, since it works at an IIS level before any request to your application is made.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-11-10T10:56:03.433" LastActivityDate="2016-11-10T10:56:03.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2426" PostTypeId="1" CreationDate="2016-11-10T10:00:35.760" Score="4" ViewCount="570" Body="&lt;p&gt;I am getting several exceptions on the &lt;strong&gt;CMS Master&lt;/strong&gt; server, such as the one shown below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #12 00:08:09 ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx)&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (503) Server Unavailable.&#xA;Source: System&#xA;   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&amp;amp; request)&#xA;   at System.Net.WebClient.DownloadData(Uri address)&#xA;   at Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection headers)&#xA;   at Sitecore.Tasks.UrlAgent.Run()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Sitecore CMS is version 7.0  I have separate Master Server and Content Delivery servers configured as well. &#xA;This error &lt;strong&gt;does not&lt;/strong&gt; occur within the &lt;strong&gt;Content Delivery&lt;/strong&gt; servers &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what could be be causing this?&lt;/p&gt;&#xA;" OwnerUserId="608" LastEditorUserId="2727" LastEditDate="2018-03-15T08:53:32.883" LastActivityDate="2018-08-28T03:29:03.567" Title="Several errors in Sitecore Master server keepalive.aspx - The remote server returned an error: (503) Server Unavailable" Tags="|configuration|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2427" PostTypeId="2" ParentId="2426" CreationDate="2016-11-10T10:03:29.110" Score="1" Body="&lt;p&gt;You need to add localhost as a binding and scheduled the UrlAgent to use the localhost address.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-11-10T10:03:29.110" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2428" PostTypeId="1" AcceptedAnswerId="4262" CreationDate="2016-11-10T10:14:40.493" Score="6" ViewCount="1143" Body="&lt;p&gt;The page crashes and gives&#xA; &quot;Length cannot be less than zero.&quot; when i insert a Sitecore link in the RTE. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It happens as soon as you visit the specefic page on the site. The error is not thrown when you are browsing the page from the Experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced this kind of behaviour before? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Stack trace&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ArgumentOutOfRangeException: Length cannot be less than zero.&#xA;Parameter name: length]&#xA;   System.String.Substring(Int32 startIndex, Int32 length) +14415580&#xA;   Sitecore.Pipelines.RenderField.ProtectedImageLinkRenderer.ReplaceReference(String tagHtml, String urlAttribute) +300&#xA;   Sitecore.Pipelines.RenderField.ProtectedImageLinkRenderer.HashReferences(String renderedText, String tagName, String urlAttribute) +802&#xA;   Sitecore.Pipelines.RenderField.ProtectedImageLinkRenderer.Process(RenderFieldArgs args) +121&#xA;   (Object , Object[] ) +71&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Web.UI.WebControls.FieldRenderer.RenderField() +942&#xA;   Sitecore.Web.UI.WebControls.FieldControl.DoRender(HtmlTextWriter output) +255&#xA;   Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output) +345&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   Sitecore.Web.UI.WebControls.Sublayout.DoRender(HtmlTextWriter output) +49&#xA;   Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output) +345&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   Sitecore.Web.UI.WebControls.Placeholder.DoRender(HtmlTextWriter output) +134&#xA;   Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output) +345&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   Sitecore.Web.UI.WebControls.Sublayout.DoRender(HtmlTextWriter output) +49&#xA;   Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output) +345&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   Sitecore.Web.UI.WebControls.Placeholder.DoRender(HtmlTextWriter output) +134&#xA;   Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output) +345&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   Sitecore.Web.UI.WebControls.Sublayout.DoRender(HtmlTextWriter output) +49&#xA;   Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output) +345&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   Sitecore.Web.UI.WebControls.Placeholder.DoRender(HtmlTextWriter output) +134&#xA;   Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output) +345&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11868329&#xA;   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +47&#xA;   Sitecore.Web.FormAdapter.Render(HtmlTextWriter writer) +76&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +116&#xA;   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +50&#xA;   ASP.layouts_linak_site_linak_html_body_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\28c1c560\ff0e1871\App_Web_iitpqjv4.0.cs:0&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +263&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   Sitecore.Web.UI.WebControls.Sublayout.DoRender(HtmlTextWriter output) +49&#xA;   Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output) +345&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   System.Web.UI.Page.Render(HtmlTextWriter writer) +39&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3499&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1103" LastEditorUserId="1103" LastEditDate="2016-11-10T10:23:29.390" LastActivityDate="2017-03-01T14:22:46.797" Title="Length cannot be less than zero. When using sitecore link in richtext edtior" Tags="|richtext-editor|" AnswerCount="1" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="2429" PostTypeId="1" AcceptedAnswerId="2431" CreationDate="2016-11-10T10:36:52.023" Score="4" ViewCount="1272" Body="&lt;p&gt;In SXA we have components like the Rich Text component that have a version with a local datasource and a reusable version that gets a datasource from a global (site) folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This all works fine and I can see local data folders being created and text items appearing in the global site data folders under &quot;Texts&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I understand correctly the only real difference between the two versions of the RichText component is on creation - the local one doesn't ask anything and creates a local data item, the reusable one does ask for a datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is: how can I use this behavior in my custom rendering? What are the steps I need to take to have a local and reusable version of my custom control?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2021-01-08T13:08:47.133" Title="SXA and local vs reusable datasources in a custom control" Tags="|sxa|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2430" PostTypeId="2" ParentId="2415" CreationDate="2016-11-10T10:51:23.047" Score="3" Body="&lt;p&gt;You need to check the default site definition and your custom site definition nodes in the config file. It must not include &lt;strong&gt;/home&lt;/strong&gt; path as  &lt;em&gt;start path&lt;/em&gt; and &lt;strong&gt;master&lt;/strong&gt; as a &lt;em&gt;database&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You don't need to care about &lt;em&gt;modules_website&lt;/em&gt; as it is not using the &lt;em&gt;Master&lt;/em&gt; database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And regarding the &lt;strong&gt;Sitecore.UIUtil.GetHomeItem&lt;/strong&gt; method, it won't create any issue. If it can't find the path &lt;em&gt;/sitecore/content/Home&lt;/em&gt; it will return the Item till &lt;em&gt;/sitecore/content&lt;/em&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1105" LastActivityDate="2016-11-10T10:51:23.047" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2431" PostTypeId="2" ParentId="2429" CreationDate="2016-11-10T10:51:39.410" Score="5" Body="&lt;p&gt;If you will open for example &lt;code&gt;Sitecore.XA.Feature.PageContent.config&lt;/code&gt; you will see there &lt;code&gt;&amp;lt;autoDatasourceRenderings&amp;gt;&lt;/code&gt; section.&lt;/p&gt;&#xA;&lt;p&gt;You can use that section and put there your rendering ID - this will automatically create data source for you.&lt;/p&gt;&#xA;&lt;p&gt;When local data source will be created, the Data Source field inside of your rendering properties should have something like this: &lt;code&gt;local:/Data/Text 1&lt;/code&gt;. And under your page item there should be:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/noaG1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/noaG1.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;: In the newer versions of SXA we started to use &amp;quot;Other properties&amp;quot; field in the Experience Accelerator section of the rendering item (it is no longer in the config files):&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fLL2p.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fLL2p.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2021-01-08T13:08:47.133" LastActivityDate="2021-01-08T13:08:47.133" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="2432" PostTypeId="2" ParentId="2416" CreationDate="2016-11-10T10:54:02.873" Score="5" Body="&lt;p&gt;There's no formula, because the workload is as much a function of your code as it is about the number of concurrent users. If you are using caching properly an S will be sufficient for &quot;web&quot; but not &quot;master&quot;. If you have a logged-in area you will load up &quot;core&quot; as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My suggestion is to start with S3 for master and web, and monitor the DTU, CPU, IO and connection telemetry during peak operation, and during publishing. There's graphs in the portal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you rarely hit 60-70% then turn it down to S2. There's a big drop to S1 stop don't be tempted by that. Remember you can change these scales in about an hour with virtually no disruption to traffic. Write a powershell script and run it on a timer to scale up/down at 2am or whenever your site is quiet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; Forgot to mention that at the moment all our deployments are done with SQL Elastic Pools instead of individual databases.  This has the advantage that you can 'thinly provision' resources to the environment, knowing that while individual databases require burst capacity, they don't all need it at the same time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our current starting setup is a Standard 100 eDTU pool for non-production (including Core/Master/Web/Analytics) and Premium 125 eDTU pool for production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm still on the fence on whether a P125 is better than a S200 for 40% extra cost, but 35% less eDTU. We're still evaluating that.  The main difference is that with the Standard pool each individual DB is capped to 100 eDTU, which is not the case on the Premium tier.&lt;/p&gt;&#xA;" OwnerUserId="131" LastEditorUserId="131" LastEditDate="2016-11-11T02:19:44.827" LastActivityDate="2016-11-11T02:19:44.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2433" PostTypeId="2" ParentId="2416" CreationDate="2016-11-10T11:03:03.780" Score="4" Body="&lt;p&gt;I had the same question when started to deploy a client using Azure SQL and I couldn't find any formula to guide me the number of max concurrent workers and sessions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also wrote a &lt;a href=&quot;https://sitecoresysadmin.wordpress.com/2016/06/01/sitecore-databases-using-azure-sql/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post sharing my experience using Azure SQL&lt;/a&gt;, and at that time &lt;a href=&quot;https://kb.sitecore.net/articles/777703&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore recommendation&lt;/a&gt; said:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;It is recommended to use at least the Standard S3 Azure SQL tier on any production systems&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So, in production environment please go forward since beginning with Standard S3 tier.&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2016-11-10T11:03:03.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2434" PostTypeId="1" AcceptedAnswerId="2445" CreationDate="2016-11-10T11:12:39.743" Score="5" ViewCount="437" Body="&lt;p&gt;In our project, we are using Brightcove videos, currently brightcove media framework supports only Lucene. But we need to use Solr for the site search, and other functionalities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do we enable both the searches? What are all the configurations need to be enabled on the CM &amp;amp; CD servers.&lt;/p&gt;&#xA;" OwnerUserId="1003" LastEditorUserId="73" LastEditDate="2016-11-10T15:06:37.140" LastActivityDate="2016-11-10T15:06:37.140" Title="How to use both Lucene &amp; Solr with Brightcove?" Tags="|solr|content-search|lucene|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2435" PostTypeId="2" ParentId="2408" CreationDate="2016-11-10T11:20:15.517" Score="1" Body="&lt;p&gt;I would suggest you to check the &lt;a href=&quot;https://azure.microsoft.com/en-us/status/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Microsoft Azure Service Dashboard&lt;/a&gt; for any known outages that occurred during the time which the errors were reported by the application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And as a second suggestion, to check the &lt;a href=&quot;https://azure.microsoft.com/en-us/documentation/articles/sql-database-configure-firewall-settings/&quot; rel=&quot;nofollow noreferrer&quot;&gt;firewall rules settings&lt;/a&gt; of your Azure SQL environment by following the steps below&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Assuming you are connected to the Azure Portal&lt;/li&gt;&#xA;&lt;li&gt;On the default blade, look for SQL Servers&lt;/li&gt;&#xA;&lt;li&gt;On the SQL servers blade, find the server on which you want to check the firewall rules&lt;/li&gt;&#xA;&lt;li&gt;On the Settings blade, click Firewall&lt;/li&gt;&#xA;&lt;li&gt;Check if you need to add a client IP or if the &lt;strong&gt;Allow access to Azure Services&lt;/strong&gt; is OFF by mistake&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="393" LastActivityDate="2016-11-10T11:20:15.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2436" PostTypeId="1" CreationDate="2016-11-10T11:45:13.517" Score="5" ViewCount="312" Body="&lt;p&gt;If Sitecore workbox contains more than 10 items, then it start to show paging in the Draft/Awaiting Approval Section in bottom as highlighted with red rectangle in below image &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/73LbA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/73LbA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do anybody know how to avoid paging and show all items on Draft/Awaiting Approval Section in workbox?&lt;/p&gt;&#xA;" OwnerUserId="930" LastEditorUserId="73" LastEditDate="2019-05-27T09:33:52.613" LastActivityDate="2019-05-27T09:33:52.613" Title="How to avoid paging in Sitecore Workbox" Tags="|workbox|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2437" PostTypeId="2" ParentId="2410" CreationDate="2016-11-10T11:57:52.457" Score="1" Body="&lt;p&gt;Its very generic message and very difficult to point out the exact item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However you can use below tricks to identify it &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You can write your own event and override pipeline for publishing.&#xA;Now publish each item programatically within TRY block. Within catch&#xA;block you should log the item detail.  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can check [PublishQueue] table in SQL server&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="930" LastActivityDate="2016-11-10T11:57:52.457" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2438" PostTypeId="2" ParentId="2436" CreationDate="2016-11-10T12:01:33.533" Score="7" Body="&lt;p&gt;The simplest option would be to set the 'Items per page' to a higher value (you can choose 10, 25, 50, 100 or All)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could potentially set that as the standard by running something like &lt;code&gt;Registry.SetInt(&quot;Current_User/Workbox/Page Size&quot;, 50);&lt;/code&gt; when someone logs in or opens the workbox, as that's the setting Sitecore checks when loading up the panel. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(PS. 999999 seems to be the value for 'All')&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&#xA;Keep in mind this might affect the load time for the workbox if someone has a lot of items in the workbox&lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2016-11-10T12:01:33.533" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2439" PostTypeId="1" AcceptedAnswerId="2463" CreationDate="2016-11-10T12:14:49.877" Score="6" ViewCount="1631" Body="&lt;p&gt;In a legacy project, there's code that retrieves items like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var context = SitecoreContext.GetFromHttpContext();&#xA;context.GetItem&amp;lt;Item&amp;gt;(itemId, Language.Current);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For several types of items, this results in a &lt;code&gt;NullReferenceException&lt;/code&gt; with the following stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Glass.Mapper.AbstractService.RunConfigurationPipeline(AbstractTypeCreationContext abstractTypeCreationContext)&#xA;Glass.Mapper.AbstractService.InstantiateObject(AbstractTypeCreationContext abstractTypeCreationContext)&#xA;Glass.Mapper.Sc.SitecoreService.CreateType(Type type, Item item, Boolean isLazy, Boolean inferType, Dictionary`2 parameters, Object[] constructorParameters)&#xA;Glass.Mapper.Sc.SitecoreService.CreateType(Item item, Boolean isLazy, Boolean inferType, Object[] constructorParameters)&#xA;Glass.Mapper.Sc.SitecoreService.CreateType(Item item, Boolean isLazy, Boolean inferType)&#xA;... soluction code here ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;According to the registered Glass issues I have found, this happens when caching is enabled and referenced item collections are loaded lazily:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/issues/169&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/issues/169&lt;/a&gt;&#xA;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/issues/247&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/issues/247&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use TDS code generation to create Glass models.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Caching is enabled globally in &lt;code&gt;Glass.Mapper.Sc.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Glass.Mapper.Sc.Caching.Enabled&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We cannot disable caching, as it improves performance. But I think it wouldn't affect us much if we disabled lazy loading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like lazy loading is enabled by default for all models, unless specified otherwise with Glass model attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is is possible to disable lazy loading globally? Or is there a better way to solve the errors we're getting?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass version is 4.0.5.54.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-10T12:44:47.720" LastActivityDate="2016-11-10T20:38:30.930" Title="Can I globally disable lazy loading in Glass Mapper?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2440" PostTypeId="1" AcceptedAnswerId="2441" CreationDate="2016-11-10T12:19:03.307" Score="3" ViewCount="3511" Body="&lt;p&gt;I have a LandingPageResolver that inherits from HttpRequestProcessor. From here I am pulling the current request url from HttpContext. I'd like to get the full request url including language code. However HttpContext.Current.Request.Url &lt;strong&gt;doesn't&lt;/strong&gt; return url with language code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ex:&#xA;Request from browser: &lt;a href=&quot;http://domain.com/nl&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://domain.com/nl&lt;/a&gt;&#xA;HttpContext.Current.Request.Url : &lt;a href=&quot;http://domain.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://domain.com/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="707" LastActivityDate="2016-11-10T12:42:57.490" Title="HttpContext.Current.Request.Url doesn't return language code" Tags="|pipelines|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2441" PostTypeId="2" ParentId="2440" CreationDate="2016-11-10T12:41:51.837" Score="10" Body="&lt;p&gt;This is because Sitecore strips it out of the URL once it identifies it as a valid language code. It happens here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.PreprocessRequest.StripLanguage, Sitecore.Kernel&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which is a processor in the &lt;code&gt;&amp;lt;preprocessRequest&amp;gt;&lt;/code&gt; pipeline, which runs before the &lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&lt;/code&gt; pipeline that you have hooked in to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code in question looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  Language language = StripLanguage.ExtractLanguage(args.Context.Request);&#xA;  if (language == (Language) null)&#xA;    return;&#xA;  Context.Language = language;&#xA;  Context.Data.FilePathLanguage = language;&#xA;  StripLanguage.RewriteUrl(args.Context, language);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Depending on what you are trying to do; you should probably just check for the &quot;base&quot; url (without the language qualifier) and then in your Landing Page Resolver check the value of &lt;code&gt;Context.Data.FilePathLanguage&lt;/code&gt;. If this returns non NULL you will know that a language code was part of the URL and has been removed by the &lt;code&gt;StripLanguageProcessor&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-10T12:41:51.837" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2442" PostTypeId="2" ParentId="2440" CreationDate="2016-11-10T12:42:57.490" Score="3" Body="&lt;p&gt;The language is removed in the URL in the &lt;code&gt;preprocessRequest&lt;/code&gt; pipeline and is controlled by the setting &lt;code&gt;Languages.AlwaysStripLanguage&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;  LANGUAGES ALWAYS STRIP LANGUAGE&#xA;        This setting specifies if the StripLanguage processor in the &amp;lt;preprocessRequest&amp;gt; pipeline will parse and remove languages from&#xA;        the URL, even when the languageEmbedding attribute of the linkProvider is set to &quot;never&quot;. You should only change this setting &#xA;        to &quot;false&quot; if the default behavior causes problems in your solution.&#xA;        Default value: true &#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Languages.AlwaysStripLanguage&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I believe you should be able to use &lt;code&gt;HttpContext.Current.Request.RawUrl&lt;/code&gt; for the full URL including the language part. However, I do remember something about it not matching &lt;code&gt;Request.Url&lt;/code&gt; completely - you might have to experiment a bit with this or turn off the setting mentioned above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also check &lt;code&gt;Sitecore.Context.Data.FilePathLanguage&lt;/code&gt; to get the language stripped from the URL if any.&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2016-11-10T12:42:57.490" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2445" PostTypeId="2" ParentId="2434" CreationDate="2016-11-10T14:31:40.607" Score="7" Body="&lt;p&gt;Depending on your Sitecore version, you can have both Solr and Lucene enabled at the same time. Each index configuration will define which provider is used. I have done this in v8.0+&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to make sure that both the &lt;code&gt;Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config&lt;/code&gt; and &lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt; files are enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then for your indexes that need to use Lucene, the config should set the type to the Lucene provider:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;mediaframework_web_index&quot; &#xA;       type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;  ...&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For any indexes that you want to store in Solr, set it to the Solr provider:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_core_index&quot; &#xA;       type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    ...&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore will create the index objects in code based on the type specified, so both will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Caveats:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can't store the same index in both Solr and Lucene, the indexes must be unique&lt;/li&gt;&#xA;&lt;li&gt;If you have Lucene indexes on the CD servers, you may run into problems with getting the indexes updated. Normally only the CM server would kick off the indexing in a SOLR environment as the indexes are shared across servers. But Lucene are local, so you would have to enable the index updating on the CD servers too, this could cause a &lt;em&gt;lot&lt;/em&gt; of needless index updates in SOLR. - if you are only using the media framework index for CM data, then it may not be an issue.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It may be better to convert the media framework to use a SOLR index. It should be possible to do this by changing the index config.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-10T14:31:40.607" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2446" PostTypeId="2" ParentId="2412" CreationDate="2016-11-10T15:13:52.390" Score="2" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BjNlW.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BjNlW.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;The new styles need to go in either main.css or the related component css. &#xA;i dont believe the web-edit.css should be edited at all. see the tree above and the styles directory - this is where css changes need to go. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you exported with a site theme, you should have a project directory within the media directory. if you exported with just the wireframe theme, then I am not sure best way to create a theme. I believe you are supposed to duplicate the wireframe theme, rename and customize there and that new theme will get added on import. However, I have not yet tested this - the documentation is very sparse in this regard. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone please confirm whether this is correct?&lt;/p&gt;&#xA;" OwnerUserId="1012" LastEditorUserId="1012" LastEditDate="2016-11-10T15:28:00.927" LastActivityDate="2016-11-10T15:28:00.927" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2447" PostTypeId="1" AcceptedAnswerId="2460" CreationDate="2016-11-10T15:22:50.597" Score="4" ViewCount="419" Body="&lt;p&gt;I am trying to sync TDS with sitecore items but TDS sync always shows that Items are different even after updataing my sitecore items from project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a solution for same?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using 5.1.0.17 version of TDS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the how it looks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ehfos.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ehfos.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1107" LastEditorUserId="1107" LastEditDate="2016-11-10T15:46:53.197" LastActivityDate="2016-11-10T22:14:10.190" Title="TDS sync always shows Items are different even after updataing" Tags="|tds|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2448" PostTypeId="1" CreationDate="2016-11-10T15:30:21.747" Score="6" ViewCount="1170" Body="&lt;p&gt;We are in process of upgrading incrementally from 7.5 to 8.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After upgrading from 7.5 to 8.0. When we try to access the content editor, index manager we get the below error. Please see screenshots and log files attached. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load type 'Sitecore.Shell.Applications.WebEdit.Commands.WebEditCommand' from assembly 'Sitecore.Client, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xf50q.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xf50q.png&quot; alt=&quot;Upgrade Errror&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1108" LastEditorUserId="172" LastEditDate="2016-11-10T19:07:12.013" LastActivityDate="2017-08-03T06:30:54.050" Title="Error in loading WebEditCommand after upgrade from 7.5 to 8.0" Tags="|upgrade|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2449" PostTypeId="2" ParentId="2448" CreationDate="2016-11-10T15:35:00.647" Score="2" Body="&lt;p&gt;You should verify if the dll's in your bin folder are the ones from the Sitecore version you are on (8.0). Errors like this happen very often and are almost always caused by dll's in the bin folder that are still from the old Sitecore version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Download the zip of a clean Sitecore with the exact version you are on. Unzip and compare the dll's in the bin with your bin. You can do the compare manually (can, but won't) or use any compare tool you are used to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you find any inconsistencies, overwrite the dll in your bin folder with the one from the clean Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, make sure that if you deploy to your environment no dll's are overwritten again. Check your references (or update if using Nuget - which you should) and sometimes it is also needed to clean (delete) all bin and obj folders hanging around in your projects.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-10T16:31:19.123" LastActivityDate="2016-11-10T16:31:19.123" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2450" PostTypeId="2" ParentId="2337" CreationDate="2016-11-10T15:37:00.597" Score="1" Body="&lt;p&gt;The solution was to use the Sitecore Support binary #398622 as explained in &lt;a href=&quot;https://stackoverflow.com/questions/31458086/how-do-i-control-the-priority-of-nested-queries-in-sitecore-contentsearch-with-t&quot;&gt;https://stackoverflow.com/questions/31458086/how-do-i-control-the-priority-of-nested-queries-in-sitecore-contentsearch-with-t&lt;/a&gt;. Once I did that the problems went away.&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-10T15:37:00.597" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2451" PostTypeId="2" ParentId="2409" CreationDate="2016-11-10T15:39:17.470" Score="-1" Body="&lt;p&gt;if images are added in the prototyping they will get exported with that theme. &#xA;see the images folder in the tree right above scripts. with exception of page and home index.html files, my understanding is that all other customizations need to happen within the themes directory with the exception of base themes which should never be modified. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is NOT CORRECT, please provide some helpful feedback as the documentation is completely lacking and this answer is based on actual testing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/j68TA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/j68TA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1012" LastEditorUserId="1012" LastEditDate="2016-11-10T16:38:22.737" LastActivityDate="2016-11-10T16:38:22.737" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2452" PostTypeId="2" ParentId="2448" CreationDate="2016-11-10T15:58:15.253" Score="1" Body="&lt;p&gt;Use &lt;a href=&quot;http://www.scootersoftware.com/download.php&quot; rel=&quot;nofollow noreferrer&quot;&gt;Beyond Compare&lt;/a&gt; to compare your bin folder to an out of the 8.0 bin folder. I think you have some dlls that are wrong, but named the same. You should also compare the /sitecore folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When upgrading, I generally like to install a new Sitecore site and deploy the upgraded codebase into it. It helps to lower the risk of errors like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The dlls that are wrong may be coming from your deployment. So they were right, but a deployment overwrote them. In development, you should use the new Sitecore NuGet server. &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&lt;/a&gt;. This will help to ensure you have the correct dlls throughout the deployment process.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-10T15:58:15.253" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2453" PostTypeId="1" AcceptedAnswerId="2505" CreationDate="2016-11-10T16:26:22.213" Score="8" ViewCount="1192" Body="&lt;p&gt;I have the following model&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;namespace Ignition.Foundation.Core.Models.BaseModels&#xA;{&#xA;    public interface INeedsChildren : IModelBase&#xA;    {&#xA;        IEnumerable&amp;lt;IModelBase&amp;gt; BaseChildren { get; set; }&#xA;    }&#xA;}&#xA;public interface IPage :  IMetadata, INavigation, ITaxonomy, INeedsChildren, IModelBaseWithMetadata, INeedsParent     {   }&#xA;&#xA;public interface IIgnitionPage : IPage  {   }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using AttributeMapping, the BaseChildren had the [SitecoreChildren] attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an &lt;strong&gt;&lt;code&gt;IPage&lt;/code&gt;&lt;/strong&gt; model that implemented &lt;strong&gt;&lt;code&gt;INeedsChildren&lt;/code&gt;&lt;/strong&gt;, and that was in turn implemented by &lt;strong&gt;&lt;code&gt;IIgnitionPage&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using Attribute mapping, this worked as expected, and when I got a page reference I had the children.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Fluent mapping, I have the following mappers:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Glass.Mapper.Sc.Maps;&#xA;using Ignition.Foundation.Core.Contracts;&#xA;using Ignition.Foundation.Core.Models.BaseModels;&#xA;namespace Ignition.Foundation.Core.Installers.Mappers&#xA;{&#xA;    public class NeedsChildrenMap : SitecoreGlassMap&amp;lt;INeedsChildren&amp;gt;, IGlassSettingsConsumer&#xA;    {&#xA;        public override void Configure()&#xA;        {&#xA;            Map(x =&amp;gt;&#xA;            {&#xA;                x.AutoMap().Cachable();&#xA;                ImportMap&amp;lt;IModelBase&amp;gt;();&#xA;                x.TemplateId(SettingsFactory.GetSitecoreSetting(&quot;Ignition.Map.Id.ModelBase&quot;));&#xA;                x.Children(a =&amp;gt; a.BaseChildren).InferType();&#xA;            });&#xA;        }&#xA;&#xA;        public ISitecoreSettingsFactory SettingsFactory { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the IgnitionPageMapper&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class IgnitionPageMapper : SitecoreGlassMap&amp;lt;IIgnitionPage&amp;gt;, IGlassSettingsConsumer&#xA;    {&#xA;        public override void Configure()&#xA;        {&#xA;            Map(x =&amp;gt;&#xA;            {&#xA;                ImportMap&amp;lt;IPage&amp;gt;();&#xA;                x.AutoMap().Cachable();&#xA;                x.TemplateId(SettingsFactory.GetSitecoreSetting(&quot;Ignition.Feature.Core.Map.Id.IgnitionPage&quot;));&#xA;            });&#xA;        }&#xA;        public ISitecoreSettingsFactory SettingsFactory { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the Page Mapper&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageMapper : SitecoreGlassMap&amp;lt;IPage&amp;gt;, IGlassSettingsConsumer&#xA;    {&#xA;        public override void Configure()&#xA;        {&#xA;            Map(x =&amp;gt;&#xA;            {&#xA;                ImportMap&amp;lt;IMetadata&amp;gt;();&#xA;                ImportMap&amp;lt;INavigation&amp;gt;();&#xA;                ImportMap&amp;lt;ITaxonomy&amp;gt;();&#xA;                ImportMap&amp;lt;INeedsChildren&amp;gt;();&#xA;                ImportMap&amp;lt;INeedsParent&amp;gt;();&#xA;                ImportMap&amp;lt;IModelBaseWithMetadata&amp;gt;();&#xA;                x.AutoMap().Cachable();&#xA;                x.TemplateId(SettingsFactory.GetSitecoreSetting(&quot;Ignition.Map.Id.Page&quot;));&#xA;            });&#xA;        }&#xA;        public ISitecoreSettingsFactory SettingsFactory { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once I use Fluent mapping, I no longer get BaseChildren of my items. I DO get Parent however, and it is wired up the same way. Am I missing something here, or is this a bug in Glass? &lt;/p&gt;&#xA;" OwnerUserId="238" LastEditorUserId="70" LastEditDate="2016-11-10T16:36:53.413" LastActivityDate="2017-10-02T14:18:14.963" Title="Glass Mapper - fluent vs attribute mapping; difference in behavior between inherited SitecoreChildren field" Tags="|glass-mapper|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2454" PostTypeId="1" AcceptedAnswerId="2468" CreationDate="2016-11-10T16:32:16.473" Score="5" ViewCount="412" Body="&lt;p&gt;For custom renderings that are compatible with SXA, should we always use Controller Renderings?  My understanding is that you &lt;strong&gt;must&lt;/strong&gt; use a controller that inherits from SXA's StandardController or VariantsController.&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-11-10T21:51:47.330" Title="Custom Renderings in SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2455" PostTypeId="1" AcceptedAnswerId="2472" CreationDate="2016-11-10T16:33:43.007" Score="3" ViewCount="1640" Body="&lt;p&gt;I have a page that I've used partial designs to create a consistent header and footer for all pages across my site. Now I'm trying to figure out how to have different types of content in my &quot;main&quot; section. I see the &lt;strong&gt;Page Content&lt;/strong&gt; type in the list of components, but I can't figure out how to use it. Every time I try to use it, all I get for a rendering is the word &lt;em&gt;Content Field&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the purpose of this Page Content, and how can I use it?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-11-11T01:51:00.277" Title="How can I use the Page Content type in SXA?" Tags="|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2456" PostTypeId="1" AcceptedAnswerId="2465" CreationDate="2016-11-10T16:34:25.927" Score="20" ViewCount="8064" Body="&lt;p&gt;In SXA's out of the box renderings, I see datasource locations that look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:$site/*[@@name='Data']/*[@@templatename='Custom Folder']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is &lt;code&gt;$site&lt;/code&gt; the only token supported here?  Can I inject my own tokens?&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="70" LastEditDate="2016-11-10T16:39:31.620" LastActivityDate="2022-07-16T23:08:14.767" Title="Query Tokens in SXA" Tags="|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2457" PostTypeId="1" CreationDate="2016-11-10T16:38:10.977" Score="2" ViewCount="450" Body="&lt;p&gt;To add a custom rendering that uses rendering parameters, I saw a blurb on a slide deck that mentioned:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Parameters template should implement IStyling (and optionally IComponentVariant)&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;IStyling&lt;/code&gt; sounds like an interface in C#.  This means that I need to create a custom class that implements &lt;code&gt;IStyling&lt;/code&gt;, right?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the Sitecore portion, does my template need to inherit anything special inside of the SXA framework?  Also- how do I tie the two together using &lt;code&gt;RenderingModelBase&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone could post an example, that would be awesome!&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="70" LastEditDate="2016-11-10T16:41:37.293" LastActivityDate="2016-11-10T16:41:37.293" Title="Custom Rendering Parameters in SXA" Tags="|sxa|" AnswerCount="0" CommentCount="1" ClosedDate="2016-11-11T07:50:17.410" ContentLicense="CC BY-SA 3.0" />
  <row Id="2458" PostTypeId="2" ParentId="2455" CreationDate="2016-11-10T16:40:37.483" Score="0" Body="&lt;p&gt;I think what you want to do is create a page template for each &quot;type&quot; of content page (e.g., blogs, products, news, etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add a custom page template, you can create a template for your Project that inherits from your Page Template (or from the SXA template that it inherits from).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, I would create a global header and footer partial, and then a partial for each type of page that you want.  You can assign those to page designs for each type of page across your site.&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-11-10T16:40:37.483" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2459" PostTypeId="2" ParentId="2455" CreationDate="2016-11-10T16:45:27.197" Score="0" Body="&lt;p&gt;The Page Content type in the list of Components in a plain SXA setup will output the &lt;code&gt;Content&lt;/code&gt; field of your current item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can adapt it with variant to show more fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Haven't tested this myself, but in the &quot;Rendering Variants&quot; you can find a &lt;code&gt;Page Content&lt;/code&gt; item. I assume you could add variant there to include some additional fields in the &lt;code&gt;Page Content&lt;/code&gt; component. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/k088k.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/k088k.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-10T16:45:27.197" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2460" PostTypeId="2" ParentId="2447" CreationDate="2016-11-10T17:13:48.297" Score="7" Body="&lt;p&gt;The issue is the &lt;code&gt;created&lt;/code&gt; field, which was added in Sitecore 8.1.3 and the earlier version of TDS are not able to handle this field correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should upgrade to the a newer version of TDS, 5.5.0.14 or higher, and it should resolve the issue after you re-synchronise.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Fixed issue with Sitecore 8 update 3 &quot;created&quot; property in the .item file&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can get the latest version of TDS and see the release notes here:&#xA;&lt;a href=&quot;http://www.teamdevelopmentforsitecore.com/Download&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.teamdevelopmentforsitecore.com/Download&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is more details about this issue in this blog post:&#xA;&lt;a href=&quot;http://www.rockpapersitecore.com/2016/08/26/tds-sync-issues-with-8-1-update-3/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.rockpapersitecore.com/2016/08/26/tds-sync-issues-with-8-1-update-3/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-11-10T22:14:10.190" LastActivityDate="2016-11-10T22:14:10.190" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2461" PostTypeId="1" AcceptedAnswerId="2467" CreationDate="2016-11-10T17:38:17.770" Score="2" ViewCount="444" Body="&lt;p&gt;I've got an RSS feed that has rich text in it's feed (i.e. paragraph markup, links, etc.) and when the feed is displayed on my website, the markup is not being rendered. &lt;a href=&quot;https://i.stack.imgur.com/iSti2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iSti2.png&quot; alt=&quot;Example of markup not being rendered&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the &lt;strong&gt;Basic&lt;/strong&gt; theme in SXA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I fix this?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-11-10T21:13:55.063" Title="How do I get rich text to show up correctly in RSS Feed item in SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2462" PostTypeId="1" AcceptedAnswerId="2466" CreationDate="2016-11-10T17:56:23.423" Score="5" ViewCount="1064" Body="&lt;p&gt;I've been designing my new SXA site on my desktop computer. On a whim I decided to see what my new site design would look like on a mobile device, and I was very disappointed. The site simply shrunk down instead of rearranging itself as I had expected. Here's what my site looks like on the desktop:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nod2c.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nod2c.jpg&quot; alt=&quot;Desktop view of site&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what the site looks like on an iPhone 5:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/7QxAC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7QxAC.png&quot; alt=&quot;Mobile view of site&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was expecting the site to break at certain points and rearrange automatically in the same way that Bootstrap does. I am using the &lt;strong&gt;basic&lt;/strong&gt; theme. I thought that SXA automatically made my site responsive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing to make my site mobile responsive? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the wireframe of the same page:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KFC5f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KFC5f.png&quot; alt=&quot;Desktop Wireframe&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what the mobile wireframes look like. I put some big arrows showing where I expected the columns to wrap, but they didn't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PKmI1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PKmI1.png&quot; alt=&quot;Mobile Wireframe&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what it looks like on an actual mobile device:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/s4pPP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s4pPP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="339" LastEditDate="2016-11-10T21:05:44.787" LastActivityDate="2016-11-10T21:25:42.873" Title="Responsive Design in SXA" Tags="|sxa|mobile|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2463" PostTypeId="2" ParentId="2439" CreationDate="2016-11-10T18:23:11.687" Score="5" Body="&lt;p&gt;No, there's not a setting to disable lazy loading globally. However, it is possible to disable lazy loading on all of your models' properties with some custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Eager-Loading Attribute Configuration Loader&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a custom attribute configuration loader that will iterate over all the attribute configurations in your assemblies and disable lazy loading for any of your model properties that support lazy loading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;IsLazy&lt;/code&gt; property is not implemented on a common &lt;code&gt;AbstractPropertyConfiguration&lt;/code&gt; class, but rather separately on several different implementations (e.g., &lt;code&gt;ChildrenConfiguration&lt;/code&gt;, &lt;code&gt;LinkedConfiguration&lt;/code&gt;), so we have to resort to reflection to force &lt;code&gt;IsLazy&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; on the properties that support it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class EagerLoadingSitecoreAttributeConfigurationLoader : IConfigurationLoader&#xA;{&#xA;  private const string IsLazyPropertyName = &quot;IsLazy&quot;;&#xA;  private readonly SitecoreAttributeConfigurationLoader _attributeConfigLoader;&#xA;&#xA;  public IEnumerable&amp;lt;string&amp;gt; AllowedNamespaces &#xA;  { &#xA;    get { return _attributeConfigLoader.AllowedNamespaces; }&#xA;    set { _attributeConfigLoader.AllowedNamespaces = value; }&#xA;  }&#xA;&#xA;  public EagerLoadingSitecoreAttributeConfigurationLoader(params string[] assemblies)&#xA;  {&#xA;    _attributeConfigLoader = new SitecoreAttributeConfigurationLoader(assemblies);&#xA;  }&#xA;&#xA;  public IEnumerable&amp;lt;AbstractTypeConfiguration&amp;gt; Load()&#xA;  {&#xA;    var configurations = _attributeConfigLoader.Load().ToArray();&#xA;    ForceEagerLoading(configurations);&#xA;    return configurations;&#xA;  }&#xA;&#xA;  private static void ForceEagerLoading(IEnumerable&amp;lt;AbstractTypeConfiguration&amp;gt; configurations)&#xA;  {&#xA;    foreach (var propertyConfig in configurations.SelectMany(c =&amp;gt; c.Properties))&#xA;    {&#xA;      var isLazyProperties = propertyConfig.GetType().GetProperties().Where(IsIsLazyProperty);&#xA;      foreach (var isLazyProperty in isLazyProperties)&#xA;      {&#xA;        isLazyProperty.SetValue(propertyConfig, false);&#xA;      }&#xA;    }&#xA;  }&#xA;&#xA;  private static bool IsIsLazyProperty(PropertyInfo propertyInfo)&#xA;  {&#xA;    return propertyInfo.CanWrite&#xA;           &amp;amp;&amp;amp; propertyInfo.PropertyType == typeof(bool)&#xA;           &amp;amp;&amp;amp; string.Equals(propertyInfo.Name, IsLazyPropertyName, StringComparison.InvariantCultureIgnoreCase);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;GlassMapperScCustom.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update the &lt;code&gt;GlassLoaders&lt;/code&gt; method in &lt;code&gt;GlassMapperScCustom&lt;/code&gt; to use the new &lt;code&gt;EagerLoadingSitecoreAttributeConfigurationLoader&lt;/code&gt; instead of &lt;code&gt;SitecoreAttributeConfigurationLoader&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class GlassMapperScCustom&#xA;{&#xA;  ...&#xA;&#xA;  public static IConfigurationLoader[] GlassLoaders()&#xA;  {&#xA;    return new IConfigurationLoader[]&#xA;    {&#xA;        new EagerLoadingSitecoreAttributeConfigurationLoader(&quot;CompanyName.Assembly1&quot;),&#xA;        new EagerLoadingSitecoreAttributeConfigurationLoader(&quot;CompanyName.Assembly2&quot;),&#xA;        new EagerLoadingSitecoreAttributeConfigurationLoader(&quot;CompanyName.Assembly3&quot;)&#xA;    };&#xA;  }&#xA;&#xA;  ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will not disable lazy loading from the &lt;code&gt;SitecoreService&lt;/code&gt; or &lt;code&gt;SitecoreContext&lt;/code&gt;. Anywhere that the &lt;code&gt;SitecoreService&lt;/code&gt; or &lt;code&gt;SitecoreContext&lt;/code&gt; are being used in your code to create or retrieve items with &lt;code&gt;isLazy&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt; will still use lazy loading. For that level of control you will have to update to Glass Mapper 4.2.0.184 or greater and implement your own &lt;code&gt;SitecoreContext&lt;/code&gt; as far as I know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, this code has not been tested in production so I make no claims about what it'll do to performance :). You can use this to see if it resolves your errors.&lt;/p&gt;&#xA;" OwnerUserId="10" LastEditorUserId="10" LastEditDate="2016-11-10T20:38:30.930" LastActivityDate="2016-11-10T20:38:30.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2464" PostTypeId="2" ParentId="2448" CreationDate="2016-11-10T19:33:59.330" Score="3" Body="&lt;p&gt;We recently faced a similar issue, it was caused by one of our custom commands we had, which was inheriting this type '&lt;strong&gt;Sitecore.Shell.Applications.WebEdit.Commands.WebEditCommand, Sitecore.Client&lt;/strong&gt;',  We got rid of it as we didnt need it and it fixed the issue, Or you can update your custom command to inherit the class from the new assembly in &lt;strong&gt;Sitecore.ExperienceEditor&lt;/strong&gt; assembly (Same class name and namespace)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note, that there is a chance that you have a custom module (marketplace module) installed which still uses the old WebEditCommand, Try disabling all modules you have and see which one is causing this.&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2016-11-11T14:01:06.200" LastActivityDate="2016-11-11T14:01:06.200" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2465" PostTypeId="2" ParentId="2456" CreationDate="2016-11-10T20:46:47.517" Score="27" Body="&lt;h2&gt;SXA tokens&lt;/h2&gt;&#xA;&lt;p&gt;There are other tokens as well:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;$compatibleThemes&lt;/code&gt; - path to all themese&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$theme&lt;/code&gt; - currently used theme&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$pageDesigns&lt;/code&gt; - root of page designs&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$partialDesigns&lt;/code&gt; - root of partial designs&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$currenttemplate&lt;/code&gt; - name of the current template&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$tenant&lt;/code&gt; - path to the current tenant&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$site&lt;/code&gt; - path to the current site&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$home&lt;/code&gt; - path to the current site start item (Home)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$linkableHomes&lt;/code&gt; - paths home items from linkable sites (see &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/adjust-link-settings-to-enable-cross-site-linking.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;cross-site linking&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$templates&lt;/code&gt; - path to the current sitetemplates&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$siteMedia&lt;/code&gt; - path to Virtual Media folder located under site&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$sharedSites&lt;/code&gt; - for multiroot fields, resovles shared site for current tenant.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$rvSystemTemplates&lt;/code&gt; - returns list of templates defined in a configuration. Those template are used to feed &lt;code&gt;AllowedInTemplates&lt;/code&gt; field for rendering variants.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$xaRichTextProfile&lt;/code&gt; - returns &lt;code&gt;XA.Foundation.Editing.DefaultRichTextProfile&lt;/code&gt; setting value.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;Introduced with 10.2&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;$sitelang&lt;/code&gt; - the context site language.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$lang&lt;/code&gt; - the context language.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$vf&lt;/code&gt; - the virtual folder for the context site.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;How to define custom tokens&lt;/h3&gt;&#xA;&lt;p&gt;You can define your own tokens by adding an additional processor to &lt;code&gt;resolveTokens&lt;/code&gt; pipeline&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="95" LastEditDate="2022-07-16T23:08:14.767" LastActivityDate="2022-07-16T23:08:14.767" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2466" PostTypeId="2" ParentId="2462" CreationDate="2016-11-10T21:13:50.777" Score="5" Body="&lt;p&gt;It appears your Meta Viewport may not be configured correctly, if you are seeing responsive behavior in the browser but not on a mobile device.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try setting the &lt;em&gt;Viewport&lt;/em&gt; field on &lt;em&gt;/sitecore/content/[Tenant]/[Market]/Presentation/Designs&lt;/em&gt; to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;width=device-width, initial-scale=1.0, user-scalable=no&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;... and don't forget to publish it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The path above is actually based on Zen Garden. It's changed to the Theme in SXA as pointed out by Alan. The theme is either &lt;em&gt;/sitecore/media library/Themes/Theme&lt;/em&gt; for default themes, or &lt;em&gt;/sitecore/media library/Project/Tenant/site/Theme&lt;/em&gt; for client themes.&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2016-11-10T21:25:42.873" LastActivityDate="2016-11-10T21:25:42.873" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2467" PostTypeId="2" ParentId="2461" CreationDate="2016-11-10T21:13:55.063" Score="3" Body="&lt;p&gt;This component uses external source. The problem here is that raw value from the source is displayed instead of HTML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To change the way external content is displayed follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find following view file &lt;code&gt;Website\Views\Feed\Feed.cshtml&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open file with your favourite text editor&lt;/li&gt;&#xA;&lt;li&gt;Find following line&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;p class=&quot;feed-description&quot;&amp;gt;&#xA;    @item.Description&#xA;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Change it to:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;p class=&quot;feed-description&quot;&amp;gt;&#xA;    @{&#xA;        var description = new HtmlString(item.Description);&#xA;    }&#xA;    @description                            &#xA;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-10T21:13:55.063" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2468" PostTypeId="2" ParentId="2454" CreationDate="2016-11-10T21:51:47.330" Score="4" Body="&lt;p&gt;You don't have to but it is easier right now as there are only &lt;code&gt;Controller Renderings&lt;/code&gt; in &lt;strong&gt;SXA&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We did not create any &lt;code&gt;View Renderings&lt;/code&gt; so it is not standardised and SXA does not provide any base classes for solutions based on &lt;code&gt;View Rendering&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is probably an area for improvement that &lt;strong&gt;SXA&lt;/strong&gt; team could work on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course if you manage to restore all required features on you &lt;code&gt;View Rendering&lt;/code&gt; you can use them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The most important part of each component is the following piece of code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;div class=&quot;component NAME @Model.CssClasses.Aggregate()&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Consequences of skipping that part can be found here: &lt;a href=&quot;https://sitecore.stackexchange.com/a/2326/16&quot;&gt;https://sitecore.stackexchange.com/a/2326/16&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-10T21:51:47.330" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2470" PostTypeId="2" ParentId="2409" CreationDate="2016-11-11T00:19:02.397" Score="2" Body="&lt;p&gt;The short answer for you question is &lt;strong&gt;YES&lt;/strong&gt; but for SXA &lt;strong&gt;1.0&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the screenshot, I can see that you are using &lt;strong&gt;1.1&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to reproduce your scenario and I was able to reproduce the same behaviour. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried it on &lt;strong&gt;1.0&lt;/strong&gt; as well and it does not occur on initial release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my opinion, this is a regression and should be reported to Sitecore Support if you wish get some support package (if it will be possible).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@michael-west wrote that it works fine on his machine. I'm assuming that he is using &lt;strong&gt;1.0&lt;/strong&gt;, if not then it is interesting why it is working for him.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-11T00:19:02.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2472" PostTypeId="2" ParentId="2455" CreationDate="2016-11-11T01:51:00.277" Score="7" Body="&lt;p&gt;I will try to answer your main question and few that you asked in comments.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;What is the purpose of this Page Content, and how can I use it?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Before that lets clarify what variants are&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Variants:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Page Content is one of the simplest renderings in SXA (in terms of complexity).&#xA;Without variants it would be a rendering which displays a single field (same like basic rendering which displays page title). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding variants to a renderings change it in a way you can dynamically choose which fields should be used to display the content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So instead of creating different components which are the same but displays different fields (content or title for example) you can have one with variants. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Yes. We could live without Title or Page Content rendering in SXA because both are working the same.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Page Content rendering&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think this is a key point here. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;It displays fields which are present on your context item. Your current page is holding data for Page Content so there is no mapping needed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h1&gt;Examples&lt;/h1&gt;&#xA;&#xA;&lt;h3&gt;Scenario 1: single field&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I don't have any page designs. I want to put renderings directly on a page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My page template has following specification: contains single field &lt;code&gt;Content&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I create a new item under home using my &lt;strong&gt;Page Template&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Fill field Title with some text&lt;/li&gt;&#xA;&lt;li&gt;Open newly created Page and drop Page Content rendering&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Select default variant &lt;strong&gt;Content&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you will see that the rendering will display single field from your page named &lt;strong&gt;Content&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Scenario 2: multiple fields&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I don't have any page designs. I want to put renderings directly on a page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My page template has following specification: contains fields &lt;code&gt;Title&lt;/code&gt;, &lt;code&gt;Content&lt;/code&gt;, &lt;code&gt;Image&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I create a new item under home using my &lt;strong&gt;Page Template&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Fill field Title with some text&lt;/li&gt;&#xA;&lt;li&gt;Fill field Content with some text&lt;/li&gt;&#xA;&lt;li&gt;Fill field Image with some image&lt;/li&gt;&#xA;&lt;li&gt;Open newly created Page and drop Page Content rendering&lt;/li&gt;&#xA;&lt;li&gt;Create new Rendering Variant, configure it to display &lt;code&gt;Title&lt;/code&gt;, &lt;code&gt;Content&lt;/code&gt;, &lt;code&gt;Image&lt;/code&gt; fields and assign this to your Page Content (see screenshot below)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lare1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lare1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you will see that the rendering will display multiple fields from your page in a way you defined it in your Variant Definition. You can change the order of fields, change tags, add prefix, suffix, nest fields in some divs and so on.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Scenario 3: using page content on partial design&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Like you already noticed when you use Page Content on partial design the only thing you see is &lt;code&gt;Content field&lt;/code&gt; (see example for multiple fields).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/s6mqi.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s6mqi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is totally normal. We call it &lt;strong&gt;mock values&lt;/strong&gt; for partial designs. You already know where the Page Content gets the fields from (from the context item). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you are editing partial design you are currently on an item which does not contain any of your fields, so there is nothing to display.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use this partial design with page content on it on any page where fields are present you will see them rendered.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Different types of content in my &quot;main&quot; section.&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Let's say you have &lt;code&gt;footer&lt;/code&gt;, &lt;code&gt;header&lt;/code&gt; partial designs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You want to use &lt;code&gt;footer&lt;/code&gt; and &lt;code&gt;header&lt;/code&gt; on every page but have different center section (different &lt;code&gt;main&lt;/code&gt;) for different page types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to define different partial designs and create different page designs then for different page templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;News Page Design, which consists&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;header&lt;/code&gt; partial design&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;main with news fields&lt;/code&gt; partial design&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;footer&lt;/code&gt; partial design&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Blog Post Design, which consists&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;header&lt;/code&gt; partial design&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;main with blog post fields&lt;/code&gt; partial design&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;footer&lt;/code&gt; partial design&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Then you will have to map different designs to different page types:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RMJl8.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RMJl8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From now each of your page will share the same parts like: &lt;code&gt;footer&lt;/code&gt;, &lt;code&gt;header&lt;/code&gt; but will have different &lt;code&gt;main&lt;/code&gt; depending on template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it helps&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-11T01:51:00.277" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2473" PostTypeId="1" CreationDate="2016-11-11T02:01:13.607" Score="4" ViewCount="303" Body="&lt;p&gt;If I want my custom feature to be install-able whenever a new tenant or site is created, what are the steps?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is creating an item of type &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Scaffolding/Roots/SiteSetupRoot&lt;/code&gt; or  &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Scaffolding/Roots/TenantSetupRoot&lt;/code&gt; under &lt;code&gt;/sitecore/system/Settings/Feature/Experience Accelerator&lt;/code&gt; enough?  Do these custom SetupRoot's need to be registered anywhere?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-11-11T02:54:47.300" Title="Adding a custom feature to SXA scaffolding" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2474" PostTypeId="2" ParentId="2362" CreationDate="2016-11-11T02:45:16.857" Score="6" Body="&lt;p&gt;If you want to skip adding rendering to an empty &lt;strong&gt;Container&lt;/strong&gt; each time you add a new page try this trick.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Put &lt;strong&gt;Rich Text&lt;/strong&gt; on your Partial design&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now open its rendering parameters and see what is in &lt;code&gt;Data Source&lt;/code&gt; field.&#xA;There should be something like this: &lt;code&gt;local:/Data/Text&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now let's change it to: &lt;code&gt;page:/Data/Text&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;From now when you open your page where you currently using this design you will notice that you can edit this &lt;strong&gt;Rich Text&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T9WLo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T9WLo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Make sure that you have recreated proper Data folder structure with Text item under your page&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fPOpH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fPOpH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From now you can edit &lt;strong&gt;Rich Text&lt;/strong&gt; which is located on a Partial design (in a single place) but at the same time, you are able to edit content separately for different pages as data source is stored under Page Data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, this solution is not perfect because you have to add datasource items manually. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be solved!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a Branch with your Page and create predefined Page Data folder structure with all needed datasources for renderings which are defined on a partial design, then add it as an Insert Option. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The advantage of this solution is fact that this rendering is available for editing but could not be removed from the page.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-11T02:45:16.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2475" PostTypeId="2" ParentId="2473" CreationDate="2016-11-11T02:54:47.300" Score="3" Body="&lt;p&gt;No, all you need to do is to create &lt;code&gt;SiteSetupRoot&lt;/code&gt;/&lt;code&gt;TenantSetupRoot&lt;/code&gt; somewhere under:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/system/Settings/Feature&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/system/Settings/Foundation&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Script is smart enough to find everything located there and your feature will be then displayed in a dialog:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Feature Definition&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9kHUc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9kHUc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;New Site - features list&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/p2beC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p2beC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-11T02:54:47.300" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2476" PostTypeId="1" AcceptedAnswerId="2564" CreationDate="2016-11-11T03:48:16.857" Score="5" ViewCount="757" Body="&lt;p&gt;I've been looking over several sites and guides on Coveo's site, but I'm trying to get together a &quot;definitive&quot; answer that has everything needed. I'm trying to designate one of my custom fields as a sortable field, then change the sort order of my search results to use this field. This is using Coveo for Sitecore 4.0 (CES 7 on-prem).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Coveo.SearchProvider.Custom.config&lt;/code&gt; file, I added this line to designate my field as sortable: &lt;code&gt;&amp;lt;fieldType settingType=&quot;Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework&quot; fieldName=&quot;DC Date&quot; isSortable=&quot;true&quot; sitecoreFormat=&quot;yyyyMMddTHHmmZ&quot;/&amp;gt;&lt;/code&gt; - this was from &lt;a href=&quot;https://developers.coveo.com/x/kIcdAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/SitecoreV4/Making+a+Sitecore+Field+Sortable&lt;/a&gt;. I then rebuilt my indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my CSHTML file, in the &lt;code&gt;Coveo.QueryEvents.buildingQuery&lt;/code&gt; call where I build my query, I added this line: &lt;code&gt;args.queryBuilder.sortCriteria = &quot;@Model.ToCoveoFieldName(&quot;DC Date&quot;) descending&quot;;&lt;/code&gt; - this was from &lt;a href=&quot;https://answers.coveo.com/questions/5745/how-to-sort-by-publishing-date&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://answers.coveo.com/questions/5745/how-to-sort-by-publishing-date&lt;/a&gt;, but the person setting it up is using a built-in Sitecore field it seems, and there didn't seem to be a final resolution to &quot;did that work.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked the Coveo sources for an answer but I'm not finding anything concrete, especially on the &lt;code&gt;sortCriteria&lt;/code&gt; syntax or if it should be used in &lt;code&gt;buildingQuery&lt;/code&gt; or in another method. I don't want it to be a default sort overall in Coveo, and I don't intend it to be part of a sorting component...this is for a specific implementation of the search view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for any help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: Here's my rendering parameter setup (see comments):&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pysRv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pysRv.png&quot; alt=&quot;Rendering Parameters&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="264" LastEditDate="2017-10-02T14:29:50.510" LastActivityDate="2017-10-02T14:30:10.253" Title="Custom field date sort in Coveo" Tags="|coveo|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2477" PostTypeId="2" ParentId="2401" CreationDate="2016-11-11T06:47:09.080" Score="3" Body="&lt;p&gt;If you go to your page test definition in the content editor under &lt;code&gt;/sitecore/system/Marketing Control Panel/Test Lab&lt;/code&gt; after the draft has been saved, you can see that there is a Conversion field that allows you to select multiple goals.  However, the Winner Strategy that is provided out-of-the-box, &lt;code&gt;Sitecore.ContentTesting.Analytics.WinnerStrategies.TestObjectiveBasedStrategy&lt;/code&gt; only uses the first selection.  You would need to create a class that implements &lt;code&gt;Sitecore.ContentTesting.Analytics.WinnerStrategies.IWinnerStrategy&lt;/code&gt; and add another &lt;code&gt;Test Winner Strategy&lt;/code&gt;item under &lt;code&gt;/sitecore/system/Settings/Content Testing/Test Winner Strategies&lt;/code&gt;.  You could then select that strategy on your test.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the actual implementation of the strategy could be rather complicated. It will be different depending on if you want the user to achieve both goals, if achieving either is sufficient, if you wanted to use the values assigned to the goals, etc.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-11-11T06:47:09.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2480" PostTypeId="2" ParentId="2415" CreationDate="2016-11-11T09:17:10.957" Score="2" Body="&lt;p&gt;I would like to answer my own question because I found out and tested the exact answer. Of course thank you for the answers. So here is the patch configuration what I used to remove all references to the default Home item from the default Sitecore configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;        &amp;lt;setting name=&quot;DefaultItem&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;        &amp;lt;site name=&quot;shell&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;startItem&quot;&amp;gt;/&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;contentStartItem&quot;&amp;gt;/&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/site&amp;gt;&#xA;        &amp;lt;site name=&quot;modules_website&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;startItem&quot;&amp;gt;/&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/site&amp;gt;&#xA;        &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;startItem&quot;&amp;gt;/&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-11-11T11:00:05.340" LastActivityDate="2016-11-11T11:00:05.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2481" PostTypeId="2" ParentId="2183" CreationDate="2016-11-11T09:48:58.280" Score="0" Body="&lt;p&gt;Is this happening always or is there a pattern identified? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When this happens, if you refresh the whole browser and retry does it work? Assuming session renewal here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It could be that the session is expired and system is not able to pull the ViewState of that Session?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Check the app pool recycle timing. Move it to specific time like 3 AM in the morning or so and check if it resolves the issue&lt;/li&gt;&#xA;&lt;li&gt;verify if your load balancer session timeout is not less than your app session timeout&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="773" LastActivityDate="2016-11-11T09:48:58.280" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2482" PostTypeId="1" AcceptedAnswerId="2484" CreationDate="2016-11-11T10:48:05.977" Score="5" ViewCount="2594" Body="&lt;p&gt;I'm struggling to get the Sitecore item url from indexing, the &lt;strong&gt;SearchResultItem.url&lt;/strong&gt; is always &lt;strong&gt;null&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried creating a &lt;strong&gt;ComputedField&lt;/strong&gt; but I'm not getting the correct url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With &#xA;&lt;code&gt;Sitecore.Links.UrlOptions urlOptions = new Sitecore.Links.UrlOptions();&#xA;urlOptions.SiteResolving = false;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get &lt;strong&gt;/en/site1/Home/section/subsection/article-name&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With  &lt;code&gt;urlOptions.SiteResolving = true;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get &lt;strong&gt;://test.local/en/section/subsection/article-name&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I just get &lt;strong&gt;/en/section/subsection/article-name&lt;/strong&gt; or how can I use &lt;strong&gt;://test.local/en/section/subsection/article-name&lt;/strong&gt; in razor view?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a multi-site configuration.&lt;/p&gt;&#xA;" OwnerUserId="40" LastActivityDate="2016-11-11T11:53:55.980" Title="Lucene indexing item url" Tags="|indexing|lucene|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2483" PostTypeId="2" ParentId="2336" CreationDate="2016-11-11T11:06:59.383" Score="2" Body="&lt;p&gt;Check your Event Queue in Master and Web databases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It surely would have thousands of records. When there are a lot of event queue entries, the ManagedPoolThreads will get busy with background jobs and other jobs like indexing will be hung up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good to take a full backup of your databases, truncate the EventQueue table and check if it works.  &lt;/p&gt;&#xA;" OwnerUserId="616" LastActivityDate="2016-11-11T11:06:59.383" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2484" PostTypeId="2" ParentId="2482" CreationDate="2016-11-11T11:38:08.823" Score="6" Body="&lt;p&gt;I believe the issue is that the indexing runs without a &lt;code&gt;HttpContext&lt;/code&gt; and not in the correct site context either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The missing site context is why you have to use &lt;code&gt;SiteResolving = true&lt;/code&gt; as otherwhise it doesn't know the site and have to use the full path (i.e. &lt;code&gt;/en/site1/Home/...&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The missing &lt;code&gt;HttpContext&lt;/code&gt; means it cannot determine the protocol/scheme (as there is no request). If you set that on your site definitions (as mentioned by  &lt;a href=&quot;https://sitecore.stackexchange.com/users/88/josedbaez&quot;&gt;josedbaez&lt;/a&gt;) it should show up when using &lt;code&gt;SiteResolving = true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;site1&quot; scheme=&quot;http&quot; ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;An alternative is to just get the actual item from the database via the &lt;code&gt;SearchResultItem&lt;/code&gt; and get the link from that where you need it.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var item = searchResultItem.GetItem();&#xA;var url = LinkManager.GetItemUrl(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Of course this might not be the best solution if you need to filter on this or are showing a lot of items.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-11T11:43:16.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2485" PostTypeId="1" AcceptedAnswerId="2489" CreationDate="2016-11-11T11:42:04.807" Score="5" ViewCount="395" Body="&lt;p&gt;Is there any way I can disable Workflow email notifications completely, from within the CMS itself?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As in; without say disabling SMTP settings.&lt;/p&gt;&#xA;" OwnerUserId="608" LastEditorUserId="2727" LastEditDate="2018-03-15T08:53:07.327" LastActivityDate="2018-03-15T08:53:07.327" Title="How can I disable Workflow email notifications completely on the CMS?" Tags="|sitecore-client|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2486" PostTypeId="2" ParentId="2482" CreationDate="2016-11-11T11:43:26.097" Score="2" Body="&lt;p&gt;You could use the &lt;strong&gt;LinkManager.GetItemUrl&lt;/strong&gt; to generate the url on the item you got from the SearchResult:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LinkManager.GetItemUrl(yourSearchResultItem.GetItem());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will use the DefaultUrlOptions which are defined in the &lt;code&gt;linkManager&lt;/code&gt; section in &lt;code&gt;Sitecore.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Depending on the number of items you are getting back from those searches, it may be benificial to use a &lt;strong&gt;ComputedField&lt;/strong&gt; like you described.&lt;br&gt;&#xA;I don't know which options you set exactly at the moment. But best practice is to use the DefaultUrlOptions and modify the parameter(s) that you want for the specific purpose.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Links.UrlOptions urlOptions = LinkManager.GetDefaultUrlOptions(); &#xA;urlOptions.AlwaysIncludeServerUrl = false; &#xA;LinkManager.GetItemUrl(item, urlOptions);`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is a good read about LinkProviders in multi-site environments:&lt;a href=&quot;https://jammykam.wordpress.com/2015/02/03/site-specific-link-provider-for-multi-site-implementation-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2015/02/03/site-specific-link-provider-for-multi-site-implementation-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2016-11-11T11:43:26.097" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2487" PostTypeId="1" CreationDate="2016-11-11T11:51:10.097" Score="1" ViewCount="330" Body="&lt;p&gt;I have customized my workbox, showing filtered items and its works perfectly. However I am unable to change number of items showing in Draft and Awaiting Aproval header as highlighted with red box in below image&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rN9A0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rN9A0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do anybody know how to change this total items number in Draft and Awaiting Approval header in workbox? &lt;/p&gt;&#xA;" OwnerUserId="930" LastEditorUserId="73" LastEditDate="2019-05-27T09:35:10.827" LastActivityDate="2019-05-27T09:35:10.827" Title="How to change total items number in Draft and Awaiting Approval header in workbox" Tags="|workbox|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2488" PostTypeId="2" ParentId="2482" CreationDate="2016-11-11T11:53:55.980" Score="6" Body="&lt;p&gt;It's worth bearing in mind that you'll always have the ID of the item in the Index, so you would still be able to generate a URL at runtime once you have your search result. This may also be preferable on cutting down the complexity of your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, to address your question:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With Lucene, the URL should be populated by default in the index. However I believe this only works for the default &quot;website&quot; site. This is the code that Sitecore uses for the &lt;code&gt;SearchResultItem.Url&lt;/code&gt; property which is connected to the &lt;code&gt;urllink&lt;/code&gt; field in the index:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class UrlLink : AbstractComputedIndexField&#xA;  {&#xA;    public override object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;      Item item = (Item) (indexable as SitecoreIndexableItem);&#xA;&#xA;      if (item == null)&#xA;        return (object) null;&#xA;&#xA;      if (item.Paths.IsMediaItem)&#xA;        return (object) MediaManager.GetMediaUrl((MediaItem) item);&#xA;&#xA;      UrlOptions defaultUrlOptions = LinkManager.GetDefaultUrlOptions();&#xA;      defaultUrlOptions.Site = SiteContextFactory.GetSiteContext(&quot;website&quot;);&#xA;&#xA;      return (object) LinkManager.GetItemUrl(item, defaultUrlOptions);&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, the site context of &quot;website&quot; is hardcoded in. For items in that website, the URL should be fine. Other sites will be incorrect however and result in URLs such as &lt;code&gt;/en/sitename/Home...&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are in a multi-site environment (and your question suggests you are), you will need an alternate method that determines what is the correct Site based on the item, and then sets that &lt;code&gt;.Site&lt;/code&gt; in the URL options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use an extension method such as this for getting the site based on an item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static SiteInfo GetSite(this Item item)&#xA;{&#xA;    var siteInfoList = Sitecore.Configuration.Factory.GetSiteInfoList();&#xA;&#xA;    SiteInfo currentSiteinfo = null;&#xA;    var matchLength = 0;&#xA;    foreach (var siteInfo in siteInfoList)&#xA;    {&#xA;        if (item.Paths.FullPath.StartsWith(siteInfo.RootPath, StringComparison.OrdinalIgnoreCase) &amp;amp;&amp;amp; siteInfo.RootPath.Length &amp;gt; matchLength)&#xA;        {&#xA;            matchLength = siteInfo.RootPath.Length;&#xA;            currentSiteinfo = siteInfo;&#xA;        }&#xA;    }&#xA;&#xA;    return currentSiteinfo;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Combined with the above, this would allow you to update your computed index field with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;defaultUrlOptions.Site = new SiteContext(item.GetSite());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Credit for the extension method goes to zhankezk in the answer to this StackOverflow question - &lt;a href=&quot;https://stackoverflow.com/questions/14200864/how-to-find-out-with-which-sitecore-site-an-item-is-associated&quot;&gt;https://stackoverflow.com/questions/14200864/how-to-find-out-with-which-sitecore-site-an-item-is-associated&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-11T11:53:55.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2489" PostTypeId="2" ParentId="2485" CreationDate="2016-11-11T13:13:51.603" Score="8" Body="&lt;p&gt;Well the first thought that comes to mind is the deletion of the E-mail Action Item, found in the System/Workflows area of the content tree.  It would appear under the workflow that you currently have running and under specific workflow states.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also optionally just remove the To field, so it wouldn't send it anywhere, but that might be what you were referring to above as an SMTP setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thought, some people extend the Email Action with custom logic.  If you have done this, you could also create a setting that wraps the logic, that if the setting is set to false (not to send), it would not send these e-mails.  That may be the best option especially if you want to disable e-mails only for specific environments.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2016-11-11T13:13:51.603" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2490" PostTypeId="1" AcceptedAnswerId="2494" CreationDate="2016-11-11T13:36:08.767" Score="5" ViewCount="360" Body="&lt;p&gt;So whenever I start a new project using the SIM or even a manual installation, I find myself having to remove a bunch of Sitecore Sample data from the Sitecore Master database.  Is there a way to automatically remove this data?  So that you can start from a blank install each time.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-09-02T17:45:01.560" Title="How to Start from a Blank Slate with SIM" Tags="|sim|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2491" PostTypeId="1" CreationDate="2016-11-11T13:48:16.233" Score="6" ViewCount="511" Body="&lt;p&gt;I am looking for a flexible way of sorting the results from a search in a Habitat structured solution. I tried different approaches but couldn't find one that doesn't need a hardcoding way of doing things.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say I have to sort by some types like 'Date' and 'Title', both can be ascendant and descendant. Since a solution contains multiple page types, like News, Events, Articles, Publications, each of this could have its own project in solution and has its own fields in Sitecore to sort on, example on News you would have 'Date', on Events would be 'Start Date', on Articles could be 'Updated Date' on Publications could be 'Release Date' and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking for a way I could define these in that specific project, and then by using the Foundation.Indexing project to dynamically sort each depending on type and on sort params I send.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am doing this on a Sitecore Habitat structure and trying to make it flexible enough so if I add later new projects I don't need to modify the actual search but extend it in the added project. I have tried different ways of doing it but haven't managed so far without having to hardcode some field names or instances that would make me do changes each time I add new projects to the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone has any idea how could this be done in a nice and flexible way let me know. I am eager to find out if anyone ever tried something like this on Habitat and managed to have it done in a good pro way.&lt;/p&gt;&#xA;" OwnerUserId="141" LastEditorUserId="172" LastEditDate="2016-11-14T11:35:37.447" LastActivityDate="2016-11-15T08:52:17.133" Title="Flexible way of sorting search results in a Habitat solution" Tags="|helix|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2492" PostTypeId="1" AcceptedAnswerId="2495" CreationDate="2016-11-11T13:53:42.153" Score="3" ViewCount="3886" Body="&lt;p&gt;I'm trying to pass some data into a ControllerRendering from a Razor view.  I tried to pass it along as an object:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model SBJSitecore82.Areas.Editorial.Models.ViewModels.IssueSectionViewModel[]&#xA;&#xA;@foreach (var issueSection in Model)&#xA;{&#xA;    @Html.Sitecore().ControllerRendering(&quot;Module&quot;, &quot;IssueSection&quot;, new { area = &quot;Editorial&quot;, issueSectionViewModel = issueSection })&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By in my controller, the object properties are always null, even though they are not null in the Razor view where it called the ControllerRendering.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult IssueSection(IssueSectionViewModel issueSectionViewModel)&#xA;{&#xA;    return View(issueSectionViewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I decided to try to pass the object using the Datasource attribute in the Razor view:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model SBJSitecore82.Areas.Editorial.Models.ViewModels.IssueSectionViewModel[]&#xA;&#xA;@foreach (var issueSection in Model)&#xA;{&#xA;    @Html.Sitecore().ControllerRendering(&quot;Module&quot;, &quot;IssueSection&quot;, new { area = &quot;Editorial&quot;, Datasource = issueSection })&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But that just passes a string into the &lt;code&gt;RenderingContext.Current.Rendering.Datasource&lt;/code&gt; property. I saw an example where someone passed an ID into the Datasource and I presume they just did a GetItem with that ID.  I could do the same, but that seems inefficient when I have a dozen of these items to process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the question is, how can I pass these objects over, or can I?  Or should I just pass the ID over and retrieve the items?&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2016-11-11T15:36:51.590" Title="Pass objects into ControllerRendering" Tags="|mvc|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2493" PostTypeId="2" ParentId="2410" CreationDate="2016-11-11T14:18:47.753" Score="3" Body="&lt;p&gt;In order to know which item is causing this issue, you will need to hook into the event &lt;code&gt;publish:itemProcessing&lt;/code&gt;. I have a blog that I have written to know what items have already been published. The link is &lt;a href=&quot;https://hishaamn.wordpress.com/2016/04/07/sitecore-incremental-publish-summary/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is a code snippet that allows you to know how to retrieve the item&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void OnItemProcessed(object sender, EventArgs args)&#xA;{&#xA;    var itemArgs = args as ItemProcessedEventArgs;&#xA;&#xA;    if (itemArgs != null)&#xA;    {&#xA;        var publishContext = itemArgs.Context.PublishContext;&#xA;&#xA;        if (itemArgs.Context.PublishOptions.Mode == PublishMode.Incremental)&#xA;        {&#xA;            var processedItems = publishContext.ProcessedItems;&#xA;&#xA;            var itemsToProcess = PublishQueue.GetPublishQueue(itemArgs.Context.PublishOptions).Count();&#xA;&#xA;            var totalItems = Math.Pow(itemArgs.Context.PublishContext.Languages.Count(), 2) +&#xA;                         (itemArgs.Context.PublishContext.Languages.Count() * itemsToProcess);&#xA;&#xA;            foreach (var processedItem in processedItems)&#xA;            {&#xA;                var item = Factory.GetDatabase(&quot;master&quot;).Items.GetItem(new ID(processedItem));&#xA;&#xA;                if (item != null)&#xA;                {&#xA;                    var publishedItems = new PublishedItemEntity&#xA;                    {&#xA;                        ItemId = item.ID,&#xA;                        ItemName = item.DisplayName,&#xA;                        ItemPath = item.Paths.ContentPath&#xA;                    };&#xA;                }                &#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since I have updated the tool on Sitecore Marketplace which is still in review phase, please check my &lt;a href=&quot;https://github.com/hishaamn/SitecorePublishSummary&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitHub Repository&lt;/a&gt; for the code and there is a Sitecore Package of the tool.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-11-11T14:28:04.650" LastActivityDate="2016-11-11T14:28:04.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2494" PostTypeId="2" ParentId="2490" CreationDate="2016-11-11T14:22:54.313" Score="4" Body="&lt;h3&gt;Option 1&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;SIM uses a zip archive of the Sitecore root folder, so a simple way to do this would be to take the version of Sitecore you want to setup, install that with the basic options. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next open up Sitecore and delete all the sample content you do not want. Open SQL Server Management Studio and &lt;em&gt;detach&lt;/em&gt; the &lt;strong&gt;Core&lt;/strong&gt; &amp;amp; &lt;strong&gt;Master&lt;/strong&gt; databases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, locate the original zip file containing the Sitecore root folder for your version and unzip it. It will contain 3 folders:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\Data&#xA;\Databases&#xA;\Website&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Databases&lt;/code&gt; folder contains the detached MDF and LDF files, so add your updated database files and then re-zip the archive with the same name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when you install that version, it will be using the updated databases with the sample data removed.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 2&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Make Sitecore PowerShell Extensions part of the default options for installing and write a script that will remove all the sample data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To remove an item you can get it by ID and call the &lt;code&gt;Remove-Item&lt;/code&gt; cmdlet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item master: -ID &quot;{your-guid-here}&quot; | Remove-Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So get all the paths or ID's of the sample items and create a script to remove them all, run that script once the install is complete.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-11T14:22:54.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2495" PostTypeId="2" ParentId="2492" CreationDate="2016-11-11T15:02:36.833" Score="7" Body="&lt;p&gt;The problem here is that a controller rendering in the Sitecore world is not the same as a Controller action result in standard MVC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you can't pass data through in the same way without custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From your example, it looks like all you really need to do is use an &lt;code&gt;@Html.Partial&lt;/code&gt; to render your other razor view and pass the data through like that. Your controller action is not doing anything with the data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You're razor would become:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model SBJSitecore82.Areas.Editorial.Models.ViewModels.IssueSectionViewModel[]&#xA;&#xA;@foreach (var issueSection in Model)&#xA;{&#xA;    @Html.Partial(&quot;~/viewpath/IssueSection&quot;, issueSection)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I do this a lot for renderings where I have a section that is either in a loop or a small view that can be used in multiple other views.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-11T15:02:36.833" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2496" PostTypeId="2" ParentId="2492" CreationDate="2016-11-11T15:07:17.450" Score="8" Body="&lt;p&gt;The reason your model isn't being populated is because &lt;code&gt;@Html.Sitecore().ControllerRendering(&quot;Module&quot;, &quot;IssueSection&quot;, new { area = &quot;Editorial&quot;, issueSectionViewModel = issueSection })&lt;/code&gt; puts the properties of your anonymous object into the properties dictionary for the controller rendering you're calling, not route data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The built-in MVC model binders only look at things in the current request (e.g., query parameters, body, route data) to build up action parameters, not rendering properties. You would have to write a custom model binder to do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think Richard's approach will best meet your needs, but if you have some requirement that you need to call the Sitecore rendering pipeline, you can pass your model like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-default prettyprint-override&quot;&gt;&lt;code&gt;@model SBJSitecore82.Areas.Editorial.Models.ViewModels.IssueSectionViewModel[]&#xA;&#xA;@foreach (var issueSection in Model)&#xA;{&#xA;    @Html.Sitecore().ControllerRendering(&quot;Module&quot;, &quot;IssueSection&quot;, new { area = &quot;Editorial&quot;, issueSection.Property1, issueSection.Property2, issueSection.Property3 })&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller Action&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult IssueSection()&#xA;{&#xA;  var rendering = RenderingContext.Current.Rendering;&#xA;&#xA;  var issueSectionViewModel = new IssueSectionViewModel&#xA;  {&#xA;    Property1 = rendering[nameof(IssueSectionViewModel.Property1)],&#xA;    Property2 = rendering[nameof(IssueSectionViewModel.Property2)],&#xA;    Property3 = rendering[nameof(IssueSectionViewModel.Property3)],&#xA;  };&#xA;&#xA;  return View(issueSectionViewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the rendering properties dictionary only stores &lt;code&gt;string&lt;/code&gt; values, so you will have to manually cast other property types (e.g., &lt;code&gt;int&lt;/code&gt;, &lt;code&gt;bool&lt;/code&gt;, etc.). &lt;/p&gt;&#xA;" OwnerUserId="10" LastEditorUserId="10" LastEditDate="2016-11-11T15:36:51.590" LastActivityDate="2016-11-11T15:36:51.590" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2497" PostTypeId="1" AcceptedAnswerId="2517" CreationDate="2016-11-11T15:21:20.027" Score="2" ViewCount="361" Body="&lt;p&gt;We are using this to provide suggested results on our search view page.&#xA;&lt;a href=&quot;https://developers.coveo.com/x/CIIUAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/SitecoreV4/Provide+Result+Suggestions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However the results provided are returning a URL that has an extra value in it that is not the correct path to the item returned.  We are also using the suggested results tied to Search Box View and there the URL is correct.  Anyone have any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Correct URL from the Search Box View Suggest results &#xA;&lt;a href=&quot;https://server/en/locations/item&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://server/en/locations/item&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Incorrect URL from the Search View page.  Note it is adding our &quot;home&quot; node in to the url.&#xA;&lt;a href=&quot;https://server/en/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://server/en/&lt;/a&gt;&lt;strong&gt;home&lt;/strong&gt;/locations/item&lt;/p&gt;&#xA;" OwnerUserId="498" LastEditorUserId="264" LastEditDate="2017-10-02T17:59:43.220" LastActivityDate="2017-10-02T17:59:43.220" Title="Coveo Suggested Results Returning the Wrong URL on Search View" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2498" PostTypeId="1" AcceptedAnswerId="2500" CreationDate="2016-11-11T16:30:43.573" Score="6" ViewCount="1184" Body="&lt;p&gt;I know that logs have the following levels from lowest to highest:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;DEBUG &lt;/li&gt;&#xA;&lt;li&gt;INFO &lt;/li&gt;&#xA;&lt;li&gt;WARN &lt;/li&gt;&#xA;&lt;li&gt;ERROR &lt;/li&gt;&#xA;&lt;li&gt;FATAL&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And that the &lt;code&gt;&amp;lt;priority&amp;gt;&lt;/code&gt; of each log sets the minimum log level for messages that will be written to the log, i.e. only messages at that level or higher will be written to the log.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A while back, I worked on a project for a client in which the previous agency split each of the CM logs into three: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Detail.{logName}.txt &amp;nbsp; &amp;nbsp; &lt;em&gt;(DEBUG, INFO)&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Warn.{logName}.txt &amp;nbsp; &amp;nbsp; &lt;em&gt;(WARN)&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Error.{logName}.txt &amp;nbsp; &amp;nbsp; &lt;em&gt;(ERROR, FATAL)&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I can't seem to find the project in my archives, and as far as I can tell, there doesn't appear to be a way to set both a &quot;maximum priority&quot; for logs, natively, though this would be great for debugging. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't want to reinvent the wheel, so does any one know if I'm missing something simple? Thanks!&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-11T21:46:52.610" LastActivityDate="2016-11-11T21:46:52.610" Title="How can I split logs by log level/priority" Tags="|logging|log4net|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2499" PostTypeId="2" ParentId="2498" CreationDate="2016-11-11T16:32:35.093" Score="1" Body="&lt;p&gt;If it is just dev machine, I use SIM Log analyzer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Kocmd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Kocmd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2016-11-11T16:32:35.093" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2500" PostTypeId="2" ParentId="2498" CreationDate="2016-11-11T16:43:05.393" Score="12" Body="&lt;p&gt;In log4net you can use a filter on the level in your appender like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;threshold value=&quot;DEBUG&quot;/&amp;gt;&#xA;&amp;lt;filter type=&quot;log4net.Filter.LevelRangeFilter&quot;&amp;gt;&#xA;  &amp;lt;levelMin value=&quot;DEBUG&quot; /&amp;gt;&#xA;  &amp;lt;levelMax value=&quot;INFO&quot; /&amp;gt;&#xA;&amp;lt;/filter&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Not sure whether the syntax in Sitecore will be the same as I didn't test it. The threshold value specifies that all messages below the indicated level are ignored by this fileAppender - not sure that you need this on top of the filter but that is how I read it should be done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using this, you could create all the appenders you need based on the levels you want, and add multiple appenders to the loggers you want to split and have splitted log files.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-11T16:43:05.393" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2501" PostTypeId="2" ParentId="2490" CreationDate="2016-11-11T17:42:35.470" Score="2" Body="&lt;p&gt;I'd suggest your &quot;blank slate&quot; need not be so blank at all. So I'm guessing here; but after cleaning out the items and templates you mention, wouldn't you normally proceed to set up a set of folders and items - which remain much the same for any solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even if you don't; I would propose you solve what you're trying to achieve here using Unicorn. Basic principle would be this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install your vanilla version using SIM&lt;/li&gt;&#xA;&lt;li&gt;Set up Unicorn for the solution, call the configuration something like &quot;Clean&quot;&lt;/li&gt;&#xA;&lt;li&gt;Add all of the target areas e.g. &lt;code&gt;\sitecore\templates\sample&lt;/code&gt; and so on to Uncicorn configuration&lt;/li&gt;&#xA;&lt;li&gt;Initialise Unicorn (Serialize All).&lt;/li&gt;&#xA;&lt;li&gt;Proceed to delete and remove all the sample items&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now you have a root Unicorn folder, with your &quot;Clean&quot; configuration root folder, and all of the empty root folders of the configuration. Zip that up or copy it somewhere along with your &quot;Clean&quot; config. Next time, all you need to do is drop Unicorn into your solution with your config, run &quot;sync&quot; and voila.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now for just &quot;cleaning out&quot; sample stuff, this method is likely a bit overkill. But assuming that:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You use Unicorn for your projects&lt;/li&gt;&#xA;&lt;li&gt;You have additional steps you always take, after cleaning out sample items&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Then just expand upon the steps above. You'll end up having a Unicorn configuration, your preferred &quot;startup items&quot; all set up. Saves a lot of initial time.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-11T17:42:35.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2502" PostTypeId="1" AcceptedAnswerId="2503" CreationDate="2016-11-11T17:59:23.287" Score="1" ViewCount="312" Body="&lt;p&gt;We got a build that has WFFM implementation and in a few forms we have been seeing some scripts being added to the end of the form. On all forms we see that the form doesn't load properly:&#xA;I have been looking to see if I can find where it's been defined. Anyone know where I should be looking for?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E3uUV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E3uUV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-11-11T18:15:15.970" Title="Scripts getting added to my form with WFFM causing it to break" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2503" PostTypeId="2" ParentId="2502" CreationDate="2016-11-11T18:15:15.970" Score="1" Body="&lt;p&gt;You will find the code rendering those &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tags in &lt;code&gt;\Views\Form\index.cshtml&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@Html.RenderScripts(requirejs)&#xA;@Html.RenderScripts(main)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Removing these might break wffm ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-11T18:15:15.970" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2504" PostTypeId="1" AcceptedAnswerId="2506" CreationDate="2016-11-11T18:38:30.290" Score="2" ViewCount="427" Body="&lt;p&gt;I'm trying to use WFFM to create a user registration form for my site. I've created a custom domain to put the users in, and added a few fields to a custom user profile. Then I created my form and hooked up the &quot;create new user&quot; save action. In the &quot;additional user properties&quot; section, I see the User Profile section, but the dropdown for User Profile fields aren't my fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to do the mapping I want to do? I know through the API and a custom form I can do it easily, but we'll be doing internationalization with this site, and we're already using WFFM, so I thought I'd take advantage of built-in capabilities where possible.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="73" LastEditDate="2016-11-11T18:51:21.867" LastActivityDate="2017-03-12T13:30:54.637" Title="Using WFFM to create a user to a custom user profile" Tags="|wffm|user-management|user-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2505" PostTypeId="2" ParentId="2453" CreationDate="2016-11-11T19:09:57.127" Score="5" Body="&lt;p&gt;So after discussing with Nathanael Mann, it appears that this is indeed a defect in the Mapping code in Glass and not an issue with the implementation. I'll be adding a defect on the Github page and closing this question with this answer.&lt;/p&gt;&#xA;" OwnerUserId="238" LastActivityDate="2016-11-11T19:09:57.127" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2506" PostTypeId="2" ParentId="2504" CreationDate="2016-11-11T19:43:15.310" Score="1" Body="&lt;p&gt;In the &lt;code&gt;system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Create User&lt;/code&gt; item, there's a parameter for DefaultProfileItemId. This is set to the profile ID to use. To connect to your own, either change this value, or duplicate the action so the default &quot;Create User&quot; action isn't changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There does appear to be an issue though, as I did this but it didn't switch in the form designer to use my user profile, even though I changed the parameter. I've got a query into Sitecore support about it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: Sitecore support said &quot;Please try setting your custom user profile in the User Profile field of your form item. I tried this locally and the custom profile fields appeared in the Create User action editor.&quot; - this worked.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2017-03-12T13:30:54.637" LastActivityDate="2017-03-12T13:30:54.637" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2507" PostTypeId="1" CreationDate="2016-11-11T20:05:30.530" Score="7" ViewCount="923" Body="&lt;p&gt;Sitecore XP version &lt;code&gt;8.0&lt;/code&gt;, &lt;code&gt;8.1&lt;/code&gt; and &lt;code&gt;8.2&lt;/code&gt; comes with following MongoDB databases:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;analytics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.live&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.history&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.contact&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What is the purpose of the &lt;code&gt;tracking.live&lt;/code&gt; database in MongoDB?&lt;/p&gt;&#xA;" OwnerUserId="973" LastEditorUserId="973" LastEditDate="2016-11-12T04:28:43.027" LastActivityDate="2016-11-12T04:28:43.027" Title="What is the purpose of the 'tracking.live' MongoDB database?" Tags="|xdb|aggregation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2508" PostTypeId="2" ParentId="2507" CreationDate="2016-11-11T20:05:30.530" Score="11" Body="&lt;h2&gt;Tracking Live&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;tracking.live&lt;/code&gt; database is used by two entities:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;Task Storage&lt;/em&gt; (defined in &lt;code&gt;Sitecore.Analytics.Processing.config&lt;/code&gt; file)&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;Live Processing Pool&lt;/em&gt; (defined in &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.ProcessingPools.config&lt;/code&gt; file)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Task Storage&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Works with the &lt;code&gt;TaskQueue&lt;/code&gt; collection that is defined in the &lt;code&gt;tracking.live&lt;/code&gt; database. Deferent Sitecore roles can add new tasks to collection and get tasks from collection. Task storage is used by the &lt;em&gt;Task Queue&lt;/em&gt;. The queue is used by the &lt;em&gt;Task Manager&lt;/em&gt;. The &lt;em&gt;Processing / Aggregation&lt;/em&gt; role runs the &lt;em&gt;Task Agent&lt;/em&gt; (defined in &lt;code&gt;Sitecore.Analytics.Processing.config&lt;/code&gt; file). The agent gets tasks from the &lt;em&gt;Task Manager&lt;/em&gt; and executes them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tasks are added to queue by various parts of the system when processing of large amounts of data is necessary (removing contacts from automation states, setting timeout date of automation state, updating classification of location, etc). Custom code can also schedule tasks to be processed by the &lt;em&gt;Processing / Aggregation&lt;/em&gt; role, which typically sits on a dedicated server.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Live Processing Pool&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Works with the &lt;code&gt;ProcessingPool&lt;/code&gt; collection that is defined in the &lt;code&gt;tracking.live&lt;/code&gt; database too. Whenever a new session is flushed (on the &lt;code&gt;Session_End&lt;/code&gt; event) to the &lt;code&gt;analytics&lt;/code&gt; database, the &lt;code&gt;Sitecore.Analytics.Aggregation.CommitSession.ProcessingPoolAdd&lt;/code&gt; processor (defined in the &lt;code&gt;submitSessionContext&lt;/code&gt; pipeline) adds a new work item with an interaction ID to the live processing pool for the future processing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The live processing pool is referenced by the &lt;em&gt;Live Interaction Aggregation Context&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.config&lt;/code&gt; file), where the context is used by the &lt;em&gt;Interaction Aggregator&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt; file).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;Processing / Aggregation&lt;/em&gt; role runs the aggregator. It gets work items from the live processing pool through &lt;em&gt;Aggregation Context&lt;/em&gt;. Each work item is processed by calling the &lt;code&gt;analytics.aggregation/interactions&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;Live Interaction Aggregation Context&lt;/em&gt; is also referenced by the &lt;em&gt;Interaction Work Dispatcher&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt; file). The dispatcher is used by the &lt;em&gt;Aggregation Cleanup&lt;/em&gt; and &lt;em&gt;Aggregation Recovery&lt;/em&gt; agents (both defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt; file).&lt;/p&gt;&#xA;" OwnerUserId="973" LastEditorUserId="973" LastEditDate="2016-11-11T21:21:16.147" LastActivityDate="2016-11-11T21:21:16.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2509" PostTypeId="1" AcceptedAnswerId="2510" CreationDate="2016-11-11T20:07:47.950" Score="3" ViewCount="198" Body="&lt;p&gt;For creative exchange exports and imports, is it possible to use a pre-processor such as sass or less?  Is exporting and importing css files the only option?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-11-11T20:17:38.100" Title="SXA with Preprocessors?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2510" PostTypeId="2" ParentId="2509" CreationDate="2016-11-11T20:17:38.100" Score="3" Body="&lt;p&gt;At the moment Creative Exchange is only working with CSS files. You can create separate folder inside of your theme (on the same level as Scripts and Styles folders) called for example Sass. &#xA;Then content of that folder should be exported too by Creative Exchange. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But&lt;/strong&gt; - SASS/LESS files won't be processed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding Michael West question: It will be possible in next version of Creative Exchange which is coming soon. Next version will bring lot of new pipelines in different parts of export and import process. Full control and lot of customization possibilities! So it will be easy to implement that.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2016-11-11T20:17:38.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2511" PostTypeId="1" CreationDate="2016-11-11T21:36:29.773" Score="3" ViewCount="681" Body="&lt;p&gt;Sitecore XP version &lt;code&gt;8.0&lt;/code&gt;, &lt;code&gt;8.1&lt;/code&gt; and &lt;code&gt;8.2&lt;/code&gt; comes with following MongoDB databases:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;analytics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.live&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.history&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.contact&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What is the purpose of the &lt;code&gt;tracking.history&lt;/code&gt; database in MongoDB?&lt;/p&gt;&#xA;" OwnerUserId="973" LastEditorUserId="973" LastEditDate="2016-11-12T04:28:29.090" LastActivityDate="2016-11-12T04:28:29.090" Title="What is the purpose of the 'tracking.history' MongoDB database?" Tags="|xdb|aggregation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2512" PostTypeId="2" ParentId="2511" CreationDate="2016-11-11T21:38:08.270" Score="5" Body="&lt;h2&gt;Tracking History&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;tracking.history&lt;/code&gt; database is used by one entity only:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;History Processing Pool&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.ProcessingPools.config&lt;/code&gt; file).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;History Processing Pool&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;It works with the &lt;code&gt;ProcessingPool&lt;/code&gt; collection that is defined in the &lt;code&gt;tracking.history&lt;/code&gt; database. During aggregation of a history data (rebuild of the &lt;code&gt;reporting&lt;/code&gt; SQL database aka RDB) this pool is populated with the work items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;History Processing Pool&lt;/em&gt; is referenced by two entities: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;History Task Manager&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.ProcessingPools.config&lt;/code&gt; file)&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;History Interaction Aggregation Context&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.config&lt;/code&gt; file)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;History Task Manager&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;It manages all tasks related to aggregation of history data, and is used by various agents that are responsible for history data aggregation (rebuild of the &lt;code&gt;reporting&lt;/code&gt; database). &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;History Interaction Aggregation context&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;It is referenced by the &lt;em&gt;Interaction Work Dispatcher&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt; file), where the dispatcher is used by the &lt;em&gt;Aggregation Cleanup&lt;/em&gt; and &lt;em&gt;Aggregation Recovery&lt;/em&gt; agents (both defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt; file).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, both the &lt;em&gt;History Interaction Aggregation Context&lt;/em&gt; and &lt;em&gt;History Task Manager&lt;/em&gt; are used by the &lt;em&gt;History Worker&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt; file). The worker runs by the &lt;em&gt;Processing / Aggregation&lt;/em&gt; role. It gets work items from the history processing pool using the &lt;em&gt;History Task Manager&lt;/em&gt;. Each work item is processed by calling the &lt;code&gt;analytics.aggregation/interactions&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-11-11T21:38:08.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2514" PostTypeId="1" AcceptedAnswerId="2523" CreationDate="2016-11-11T21:53:48.163" Score="1" ViewCount="857" Body="&lt;p&gt;I am trying to get Tomcat 8 / Solr 4.10 running as a Windows service for my Sitecore installation.  I am following the steps outlined here: &lt;a href=&quot;http://www.ansoncheunghk.info/article/5-steps-install-multiple-apache-tomcat-instance-windows&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.ansoncheunghk.info/article/5-steps-install-multiple-apache-tomcat-instance-windows&lt;/a&gt;.  I have the service installed and running fine.  I changed some of the port values because this is actually a second instance of Tomcat on the box.  When I try to open up the Solr UI at &lt;a href=&quot;http://localhost:8984/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8984/solr&lt;/a&gt; I get the following error message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to&#xA;  init failure: Could not load config file&#xA;  S:\solr410\solr410\example\solr\collection1\solrconfig.xml&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When I set up the service these are the Java options I used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-Dcatalina.home=S:\Tomcat&#xA;-Dcatalina.base=S:\Tomcat&#xA;-Djava.endorsed.dirs=S:\Tomcat\endorsed&#xA;-Djava.io.tmpdir=S:\Tomcat\temp&#xA;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager&#xA;-Djava.util.logging.config.file=S:\Tomcat\conf\logging.properties&#xA;-Dsolr.solr.home=S:\solr410\solr410\example\solr&#xA;-Djava.net.preferIPv4Stack=true&#xA;-Djava.net.preferIPv4Addresses=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, I followed the instructions found here for setting up my Solr cores: &lt;a href=&quot;https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-developers/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-developers/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of my cores are located at &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;S:\solr410\solr410\example\solr&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;.  But for some reason it is complaining that it can't find the solrconfig.xml for the first core.  I get the feeling that somehow I need to edit a config file or something so that it knows where to find the cores or the config files.  I'm not completely sure.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-11-12T04:12:36.153" Title="Can't seem to get Tomcat 8 / Solr 4.10 running as a service" Tags="|solr|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2515" PostTypeId="2" ParentId="2514" CreationDate="2016-11-11T22:03:05.160" Score="0" Body="&lt;p&gt;This is my goto ref for running it as a service: ** Install Solr as a service on Windows: &lt;a href=&quot;http://blog.outerthoughts.com/2013/07/setting-up-apache-solr-on-windows-as-a-service/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.outerthoughts.com/2013/07/setting-up-apache-solr-on-windows-as-a-service/&lt;/a&gt; (note there are errors in their sample script, though!)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the exact cmd that I've used recently for some dev Solr 4.10 environments (SolrService is the renamed prunsrv.exe, so use what you like for it):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;R:\solr-4.10.4\sitecore\SolrService.exe //IS//SolrService --DisplayName=&quot;Solr Service&quot; --Install=R:\solr-4.10.4\sitecore\SolrService.exe --LogPath=R:\solr-4.10.4\sitecore\logs --LogLevel=Debug --StdOutput=auto --StdError=auto --StartMode=java --StopMode=java --Jvm=auto ++JvmOptions=-Djetty.home=R:\solr-4.10.4\sitecore ++JvmOptions=-DSTOP.PORT=8087 ++JvmOptions=-DSTOP.KEY=stopsolr ++JvmOptions=-Djetty.logs=R:\solr-4.10.4\sitecore\logs ++JvmOptions=-Dorg.eclipse.jetty.util.log.SOURCE=true ++JvmOptions=-XX:MaxPermSize=128M --Classpath=R:\solr-4.10.4\sitecore\start.jar --StartClass=org.eclipse.jetty.start.Main ++StartParams=OPTION=ALL ++StartParams=R:\solr-4.10.4\sitecore\etc\jetty.xml --StopClass=org.eclipse.jetty.start.Main ++StopParams=--stop ++JvmOptions=-Dsolr.solr.home=R:\solr-4.10.4\sitecore\solr --StartPath=R:\solr-4.10.4\sitecore&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="365" LastEditorUserId="70" LastEditDate="2016-11-11T22:09:27.120" LastActivityDate="2016-11-11T22:09:27.120" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2516" PostTypeId="1" AcceptedAnswerId="3654" CreationDate="2016-11-11T22:23:48.500" Score="4" ViewCount="3005" Body="&lt;p&gt;I am running a JMeter test to create 10 different contacts in xDB. I can see them in xDB but when I come to Experience Profile dashboard I can see only 3 known records from JMeter and rest are all '&lt;strong&gt;anonymous&lt;/strong&gt;' (old records).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Any idea why would it show only 3 known records and not the other 7? &lt;br/&gt;&lt;/li&gt;&#xA;&lt;li&gt;Is there a way I can change the the xProfile dashboard to see more records? I think the default value is 20.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Appreciate any help/pointers.&lt;/p&gt;&#xA;" OwnerUserId="354" LastEditorUserId="70" LastEditDate="2016-11-14T05:29:12.393" LastActivityDate="2017-01-03T16:51:02.893" Title="Experience Profile not showing all Contacts" Tags="|xdb|experience-analytics|experience-profile|" AnswerCount="3" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2517" PostTypeId="2" ParentId="2497" CreationDate="2016-11-11T22:35:15.863" Score="2" Body="&lt;p&gt;Hum, I believe there might be an error in the documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;{{-ClickUri}}&quot; class=&quot;title open-link&quot;&amp;gt;{{-Title}}&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Should be this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;{{-clickUri}}&quot; class=&quot;title open-link&quot;&amp;gt;{{-Title}}&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The slight difference is the &quot;c&quot; of click uri. The ClickUri is what is in the index. When a result is returned, Coveo for Sitecore uses the REST Endpoint Pipeline to add a new clickUri attribute which is the original ClickUri adjusted to the context of the site. For more information on the clickUri vs ClickUri, please read:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developers.coveo.com/x/2ADvAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/SitecoreV4/Understanding+How+The+ClickableUri+Value+Is+Computed&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TLDR: Change the ClickUri to clickUri in the result template of the Coveo Result list.&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2017-10-02T14:31:34.827" LastActivityDate="2017-10-02T14:31:34.827" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2518" PostTypeId="1" AcceptedAnswerId="2521" CreationDate="2016-11-11T23:18:01.213" Score="11" ViewCount="1881" Body="&lt;p&gt;When using the client's Sitecore license, if the client reaches the maximum number of Concurrent Users they are directed to a page where they can either &lt;em&gt;exit&lt;/em&gt;, &lt;em&gt;add users&lt;/em&gt; or &lt;em&gt;kick off a user&lt;/em&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T6J9I.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T6J9I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;Add users&quot; option (formerly &quot;Boost users&quot;), grants the ability to temporarily add more concurrent users. When a user selects this option, the user is redirected to the following page where they can enter the number of concurrent users to temporarily add to the license:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C8Dog.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C8Dog.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Questions&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Looking at &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/login/kick_off_or_add_a_user#_Increase_the_number&quot; rel=&quot;noreferrer&quot;&gt;Sitecore's documentation&lt;/a&gt;, I don't see anything that explains what the actual effects of &quot;boosting&quot; concurrent users are. Specifically, I am looking for the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What is the maximum number of users that you can boost the site by?&lt;/li&gt;&#xA;&lt;li&gt;How long does the boost remain in effect, i.e. what is the duration of time that &quot;temporarily&quot; describes?&lt;/li&gt;&#xA;&lt;li&gt;How often can this feature be used?&lt;/li&gt;&#xA;&lt;li&gt;Is there any additional charge to the client for using this feature?&lt;/li&gt;&#xA;&lt;li&gt;Are their any negative side-effects to be aware of when using this feature?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;&lt;strong&gt;&lt;em&gt;Side-note:&lt;/strong&gt; I apologize for not simply testing this feature myself, but I am hesitent to play around with a client's Sitecore license. Rather than ask support, I thought this would be good information to make available to the community. Cheers :)&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-12T00:33:47.640" LastActivityDate="2016-11-12T01:23:57.497" Title="What are the limits and effects of Boosting Sitecore Users" Tags="|concurrent-users|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2519" PostTypeId="1" CreationDate="2016-11-11T23:30:43.190" Score="0" ViewCount="58" Body="&lt;p&gt;I need to implement something similar to Amazon's product suggestions on the product details page. For example, if I am on a product details page of item A, I need to display &quot;People also viewed the following products&quot; section which list Items X , Y, Z&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the products in Sitecore as Items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I implement this feature using xDb? I need to track every user's activity and recommend top 5 products based on the current product that the user is viewing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="600" LastActivityDate="2016-11-12T01:13:23.123" Title="How to implement &quot;People also viewed the following products...&quot; feature?" Tags="|xdb|" AnswerCount="0" CommentCount="0" FavoriteCount="0" ClosedDate="2016-11-12T01:41:09.957" ContentLicense="CC BY-SA 3.0" />
  <row Id="2520" PostTypeId="2" ParentId="767" CreationDate="2016-11-12T01:13:23.123" Score="1" Body="&lt;p&gt;The first step in this journey will be to get this data into Mongo as the user visits your product detail pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First create a facet to hold the products your user is looking at.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace YourApp.Analytics.Interfaces.Entries&#xA;{&#xA;    public interface IElementProductInfo : IElement, IValidatable&#xA;    {&#xA;        string ProductId { get; set; }&#xA;        string Category { get; set; }&#xA;        string SubCategory { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need to create a new container to hold the facets. Using IElementDictionary makes this a one to many facet in the contact record.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace YourApp.Analytics.Interfaces.Entries&#xA;{&#xA;    public interface IProductInfos : IFacet, IElement, IValidatable&#xA;    {&#xA;        IElementDictionary&amp;lt;IElementProductInfo&amp;gt; Entries { get; }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you need to make a concrete serializable class of your ProductInfo class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace YourApp.Analytics.Models.Generated&#xA;{&#xA;    [Serializable]&#xA;    internal class ElementProductInfo : Element, IElementProductInfo, IElement, IValidatable&#xA;    {&#xA;        private const string productId = &quot;productId&quot;;&#xA;        private const string category = &quot;category&quot;;&#xA;        private const string subCategory = &quot;subCategory&quot;;&#xA;&#xA;        public ElementCustomerLookup()&#xA;        {&#xA;            base.EnsureAttribute&amp;lt;string&amp;gt;(productId);&#xA;            base.EnsureAttribute&amp;lt;string&amp;gt;(category);&#xA;            base.EnsureAttribute&amp;lt;string&amp;gt;(subCategory);&#xA;        }&#xA;&#xA;        public string ProductId&#xA;        {&#xA;            get { return base.GetAttribute&amp;lt;string&amp;gt;(productId); }&#xA;            set { base.SetAttribute&amp;lt;string&amp;gt;(productId, value); }&#xA;        }&#xA;&#xA;        public string Category&#xA;        {&#xA;            get { return base.GetAttribute&amp;lt;string&amp;gt;(category); }&#xA;            set { base.SetAttribute&amp;lt;string&amp;gt;(category, value); }&#xA;        }&#xA;&#xA;        public string SubCategory&#xA;        {&#xA;            get { return base.GetAttribute&amp;lt;string&amp;gt;(subCategory); }&#xA;            set { base.SetAttribute&amp;lt;string&amp;gt;(subCategory, value); }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now create a concrete class for your entities interface.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace YourApp.Analytics.Models.Generated&#xA;{&#xA;    [Serializable]&#xA;    internal class ProductInfos: Facet, IProductInfos, IFacet, IElement, IValidatable&#xA;    {&#xA;&#xA;        private const string ENTRIES = &quot;Entries&quot;;&#xA;&#xA;        public IElementDictionary&amp;lt;IElementProductInfo&amp;gt; Entries&#xA;        {&#xA;            get&#xA;            {&#xA;                return base.GetDictionary&amp;lt;IElementProductInfo&amp;gt;(&quot;Entries&quot;);&#xA;            }&#xA;        }&#xA;&#xA;        public ProductInfos()&#xA;        {&#xA;            base.EnsureDictionary&amp;lt;IElementProductInfo&amp;gt;(&quot;Entries&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finially lets bring it all together in a config file. This will register your classes as facets and make them available for use in Mongo.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;model&amp;gt;&#xA;      &amp;lt;elements&amp;gt;&#xA;        &amp;lt;element interface=&quot;YourApp.Analytics.Interfaces.Entries.IProductInfos, YourApp.Analytics&quot; implementation=&quot;YourApp.Analytics.Models.Generated.ProductInfos, YourApp.Analytics&quot; /&amp;gt;&#xA;        &amp;lt;element interface=&quot;YourApp.Analytics.Interfaces.Entries.IElementProductInfo, YourApp.Analytics&quot; implementation=&quot;YourApp.Analytics.Models.Generated.ElementProductInfo, YourApp.Analytics&quot; /&amp;gt;&#xA;      &amp;lt;/elements&amp;gt;&#xA;      &amp;lt;entities&amp;gt;&#xA;        &amp;lt;contact&amp;gt;&#xA;          &amp;lt;facets&amp;gt;&#xA;            &amp;lt;facet name=&quot;ProductInformation&quot; contract=&quot;YourApp.Analytics.Interfaces.Entries.IProductInfos, YourApp.Analytics&quot; /&amp;gt;&#xA;          &amp;lt;/facets&amp;gt;&#xA;        &amp;lt;/contact&amp;gt;&#xA;      &amp;lt;/entities&amp;gt;&#xA;    &amp;lt;/model&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The last bit it getting the data in Mongo is to add it to a users tracker.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var productInformationFacet = Tracker.Current.Contact.GetFacet&amp;lt;IProductInfos&amp;gt;(&quot;ProductInformation&quot;);&#xA;if (!productInformationFacet.Entries.Contains(&quot;YourProductId&quot;))&#xA;{&#xA;    var customer = productInformationFacet.Entries.Create(&quot;YourProductId&quot;);&#xA;&#xA;    customer.ProductId = &quot;YourProductId&quot;;&#xA;    customer.Category = &quot;YourCategory&quot;;&#xA;    customer.SubCategory = &quot;YourSubCategory&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your next step will be to aggregate up your data with your own BI logic. probably filtering on other products with the same category within a certain time frame. You will want to add a Processor to the analytics indexer. You can find a good example of that here. &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2038/how-can-i-create-a-custom-report-in-experience-analytics&quot;&gt;How can I create a custom report in Experience Analytics?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-12T01:13:23.123" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2521" PostTypeId="2" ParentId="2518" CreationDate="2016-11-12T01:23:57.497" Score="8" Body="&lt;p&gt;It lasts 24 hours, no charge and the only side effect is that a salesman will be calling to sell you more licenses. I have never tried to use it too many times, so I am not sure how many times you can use it before you get denied. I have never been denied using it.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-12T01:23:57.497" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2523" PostTypeId="2" ParentId="2514" CreationDate="2016-11-12T04:12:36.153" Score="3" Body="&lt;p&gt;You can download and install SOLR like a service using &lt;a href=&quot;https://nssm.cc/download&quot; rel=&quot;nofollow noreferrer&quot;&gt;NSSM&lt;/a&gt; ( Non Sucking Service Manager) This example is using SOLR 5 but it wasn't a problem to install SOLR 4.10 like a service.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, extract Solr 5 and NSSM to the following path on your file system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1  C:\Program Files\solr-5.0.0&#xA;2. C:\Program Files\nssm&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SETTING UP SOLR AS A SERVICE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the command line, type the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;c:\Program Files\nssm\win64\nssm&quot; install solr5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fill out the path to the solr.cmd script, and the startup directory should be filled in automatically. Don’t forget to input the -f (foreground) parameter so that NSSM can kill it when it needs to be stopped or restarted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z9Bx4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z9Bx4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following step is optional, but I prefer having a clean and descriptive name in my Windows Service Manager. Under the details tab, fill out the Display name and Description.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UfGsA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UfGsA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Details tab for NSSM service installer for setting up Solr 5 as a service on Microsoft Windows&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click on Install service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pq9Vf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pq9Vf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check that the service is running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IqSD5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IqSD5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Microsoft Windows Component Services Running Solr 5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to your favorite web browser and make sure Solr 5 is up and running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr 5 running as a service on Microsoft Windows &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sAq5l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sAq5l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-11-12T04:12:36.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2524" PostTypeId="1" CreationDate="2016-11-12T04:26:49.683" Score="2" ViewCount="339" Body="&lt;p&gt;Sitecore XP version &lt;code&gt;8.0&lt;/code&gt;, &lt;code&gt;8.1&lt;/code&gt; and &lt;code&gt;8.2&lt;/code&gt; comes with following MongoDB databases:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;analytics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.live&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.history&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tracking.contact&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What is the purpose of the `tracking.contact' database in MongoDB?&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-11-12T04:26:49.683" Title="What is the purpose of the 'tracking.contact' MongoDB database?" Tags="|xdb|aggregation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2525" PostTypeId="2" ParentId="2524" CreationDate="2016-11-12T04:26:49.683" Score="6" Body="&lt;h2&gt;Tracking Contact&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;tracking.contact&lt;/code&gt;database is used by one entity only:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;Contact Processing Pool&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.ProcessingPools.config&lt;/code&gt; file).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Contact Processing Pool&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;It works with the &lt;code&gt;ProcessingPool&lt;/code&gt; collection  that is defined in the &lt;code&gt;tracking.contact&lt;/code&gt; database. Whenever a contact is changed (created, updated or became obsolete), a new work item with a Contact ID is added to the contact processing pool for future processing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;Processing / Aggregation&lt;/em&gt; role runs the &lt;em&gt;Contact Processing&lt;/em&gt; agent (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt; file). The agent uses the &lt;em&gt;Contact Work Dispatcher&lt;/em&gt; (defined in the &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt; file) to get work items from the contact processing pool. Each work item is processed by calling the &lt;code&gt;analytics.aggregation/contacts&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-11-12T04:26:49.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2526" PostTypeId="1" AcceptedAnswerId="2527" CreationDate="2016-11-12T16:09:19.680" Score="1" ViewCount="1278" Body="&lt;p&gt;Any idea why my master and web index only have the &quot;en&quot; language versions of items in my 4 language site?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where are languages for the crawler configured?&lt;/p&gt;&#xA;" OwnerUserId="1079" LastActivityDate="2016-11-14T08:17:40.043" Title="Why does my Solr index only contain English language versions? Sitecore 8u4" Tags="|solr|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2527" PostTypeId="2" ParentId="2526" CreationDate="2016-11-12T16:55:56.217" Score="3" Body="&lt;p&gt;The languages are specified in the &lt;code&gt;schema.xml&lt;/code&gt; file. Please look in yours and make sure you see this section.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;dynamicField name=&quot;*_t&quot; type=&quot;text_general&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_en&quot; type=&quot;text_general&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_ar&quot; type=&quot;text_ar&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_bg&quot; type=&quot;text_bg&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_ca&quot; type=&quot;text_ca&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_cz&quot; type=&quot;text_cz&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_da&quot; type=&quot;text_da&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_de&quot; type=&quot;text_de&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_el&quot; type=&quot;text_el&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_es&quot; type=&quot;text_es&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_eu&quot; type=&quot;text_eu&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_fa&quot; type=&quot;text_fa&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_fi&quot; type=&quot;text_fi&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_fr&quot; type=&quot;text_fr&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_ga&quot; type=&quot;text_ga&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_gl&quot; type=&quot;text_gl&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_hi&quot; type=&quot;text_hi&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_hu&quot; type=&quot;text_hu&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_hy&quot; type=&quot;text_hy&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_id&quot; type=&quot;text_id&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_it&quot; type=&quot;text_it&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_ja&quot; type=&quot;text_ja&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_lv&quot; type=&quot;text_lv&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_nl&quot; type=&quot;text_nl&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_no&quot; type=&quot;text_no&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_pt&quot; type=&quot;text_pt&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_ro&quot; type=&quot;text_ro&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_ru&quot; type=&quot;text_ru&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_sv&quot; type=&quot;text_sv&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_th&quot; type=&quot;text_th&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_tr&quot; type=&quot;text_tr&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_t_zh&quot; type=&quot;text_zh&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then to filter on the language inherit a new &lt;code&gt;ResultItem&lt;/code&gt; from the class &lt;code&gt;SearchResultItem&lt;/code&gt;, adding this code.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; [IndexField(&quot;_language&quot;)]&#xA; public string Language { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your search query you can then filter on the language.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;);&#xA;using (var context = index.CreateSearchContext())&#xA;{&#xA;     var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(i =&amp;gt; i.Name.Contains(&quot;search&quot;)).Filter(i =&amp;gt; i.Language == &quot;en&quot;);&#xA;     query = query.Page(1, 20);&#xA;     var results = query.GetResults();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="114" LastEditDate="2016-11-14T08:17:40.043" LastActivityDate="2016-11-14T08:17:40.043" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="2528" PostTypeId="1" AcceptedAnswerId="2529" CreationDate="2016-11-12T17:20:18.553" Score="2" ViewCount="1002" Body="&lt;p&gt;I had removed the default home node, and created new home item. After this change, Experience Editor navigation stopped working(it is throwing &quot;The layout for the requested document was not found&quot; exception). How to point the experience button to new home node?&lt;/p&gt;&#xA;" OwnerUserId="1003" LastEditorUserId="73" LastEditDate="2016-11-12T19:33:40.953" LastActivityDate="2016-11-15T20:42:02.607" Title="Experience Editor stopped working after removing default Home node" Tags="|configuration|experience-editor|site-configuration|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2529" PostTypeId="2" ParentId="2528" CreationDate="2016-11-12T18:04:31.193" Score="3" Body="&lt;p&gt;The Experience Editor starts on the home page of your current site. Based on the &lt;code&gt;startItem&lt;/code&gt; from the  node for the current site.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;rootPath=&quot;/sitecore/content/sites/company&quot; startItem=&quot;/Home&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you go into Desktop &gt; Content Editor &gt; click on your new home node. Then Publish tab &gt; Experience Editor. Does the editor work? Your item just isn't editable because it doesn't have a layout on it. If you fix that, it will work as expected.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-12T18:04:31.193" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2530" PostTypeId="1" AcceptedAnswerId="2582" CreationDate="2016-11-12T22:53:43.617" Score="12" ViewCount="2635" Body="&lt;p&gt;I am doing an upgrade from 7.5 to 8.1-Update 3. I have gotten to the end and just finished the final upgrade to get to 8.1-Update 3.  Now I am trying to rebuild the reporting database.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I open the &lt;code&gt;/sitecore/admin/RebuildReportingDB.aspx&lt;/code&gt; page and I click the Start button.  The Process State changes to &lt;strong&gt;&quot;StoppingDataRecording&quot;&lt;/strong&gt; and then just sits there.  It has been running for like 15 minutes and hasn't changed.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my local testing environment when I ran this, it changed very quickly to the desired &lt;strong&gt;&quot;WaitingToReceiveData&quot;&lt;/strong&gt; state.  I am not sure why it is taking so long.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked in my browser console on the Network tab and I so see that the browser is issuing calls to &lt;code&gt;ScriptResource.axd&lt;/code&gt; every few seconds and getting responses back with a 200 status.  So that seems OK.  I don't see any errors anywhere in my logs.  For this server we are using a hosted version of MongoDB instead of a local version and this is our production database which has a LOT of data.  Would that make this process take a real long time?  Basically I am just sitting here watching the screen waiting for it to change and I have no idea if it ever will.  Has anyone else ever had this issue where the Rebuild Reporting Database screen seems to be stuck?&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="70" LastEditDate="2016-11-14T05:26:57.657" LastActivityDate="2016-12-21T03:12:04.493" Title="When rebuilding the reporting database stuck on StoppingDataRecording" Tags="|experience-analytics|reporting|" AnswerCount="2" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="2532" PostTypeId="2" ParentId="2490" CreationDate="2016-11-13T17:58:28.320" Score="6" Body="&lt;p&gt;There are no steps in SIM to clean the default items from the install of Sitecore. You can create a package containing a Post Deploy Step that will delete any items you wish though and add this as a Custom Package in SIM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create the following Post Deploy Step:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Install.Framework;&#xA;using Sitecore.Web;&#xA;using System.Collections.Specialized;&#xA;&#xA;namespace Sitecore.CleanSlate&#xA;{&#xA;    public class PostStepDelete : IPostStep&#xA;    {&#xA;        public void Run(ITaskOutput output, NameValueCollection metaData)&#xA;        {&#xA;            var parameters = WebUtil.ParseParameters(metaData[&quot;Attributes&quot;], '|');&#xA;&#xA;            Database db = Factory.GetDatabase(parameters[&quot;database&quot;]);&#xA;            string[] items = parameters[&quot;items&quot;].Split(',');&#xA;&#xA;            foreach (var i in items)&#xA;            {&#xA;                Item item = db.GetItem(i);&#xA;                if (item != null)&#xA;                {&#xA;                    Log.Info(&quot;Post Install Delete : &quot; + item.Paths.FullPath, this);&#xA;                    item.Delete();&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then create a package using the &lt;strong&gt;Package Designer&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;From the ribbon, select &lt;code&gt;Files statically&lt;/code&gt; and add the DLL containing the Post Deploy step&lt;/li&gt;&#xA;&lt;li&gt;From the &lt;strong&gt;System&lt;/strong&gt; section, enter the details of the Post Deploy step, e.g. &lt;code&gt;Sitecore.CleanSlate.PostStepDelete, Sitecore.CleanSlate&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add the database and items to delete as attributes, e.g.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;database&lt;/code&gt; : &lt;code&gt;master&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;items&lt;/code&gt; : &lt;code&gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9},{4D8A1C4D-1351-4DD1-A502-0660F01FEDC7},{14030E9F-CE92-49C6-AD87-7D49B50E42EA},{1936B96E-DA1F-4A3A-8AAF-8C46268E2D84},{9EB73C4C-1AF7-47C7-85B8-93E08176D4D2},{CE4ADCFB-7990-4980-83FB-A00C1E3673DB},{885B8314-7D8C-4CBB-8000-01421EA8F406},{8AE1C245-A4FA-46AE-9B35-4FBC15F63169},{73BAECEB-744D-4D4A-A7A5-7A935638643F},{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Generate the package zip&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When installing Sitecore using SIM, on the &lt;em&gt;Custom Packages&lt;/em&gt; step &lt;em&gt;Add Package&lt;/em&gt; and select the zip that was generated earlier and then continue the install as normal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KlR0n.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KlR0n.png&quot; alt=&quot;Sitecore CleanSlate&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not a SIM specific package, installing it via the Sitecore Installation Wizard will also produce the same result.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What does this delete?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The package has been tested with Sitecore 8.1.3 and 8.2 but it should work with most versions of Sitecore since the item guids should be the same across all versions but please verify if you're on a different version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The guids specified as the items in the attributes relate to the following items:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-tex prettyprint-override&quot;&gt;&lt;code&gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}    // /sitecore/content/Home&#xA;{4D8A1C4D-1351-4DD1-A502-0660F01FEDC7}    // /sitecore/media library/Default Website&#xA;{14030E9F-CE92-49C6-AD87-7D49B50E42EA}    // /sitecore/layout/Layouts/Sample Layout&#xA;{1936B96E-DA1F-4A3A-8AAF-8C46268E2D84}    // /sitecore/layout/Renderings/Sample&#xA;{9EB73C4C-1AF7-47C7-85B8-93E08176D4D2}    // /sitecore/layout/Sublayouts/Sample Datasource Sublayout&#xA;{CE4ADCFB-7990-4980-83FB-A00C1E3673DB}    // /sitecore/layout/Sublayouts/Sample Inner Sublayout&#xA;{885B8314-7D8C-4CBB-8000-01421EA8F406}    // /sitecore/layout/Sublayouts/Sample Sublayout&#xA;{8AE1C245-A4FA-46AE-9B35-4FBC15F63169}    // /sitecore/layout/Placeholder Settings/content&#xA;{73BAECEB-744D-4D4A-A7A5-7A935638643F}    // /sitecore/templates/Sample&#xA;{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}    // /sitecore/system/Workflows/Sample Workflow&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add or remove items as required.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Package Download&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can download the package containing the above from here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/jammykam/Sitecore.CleanSlate/tree/master/Module&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/jammykam/Sitecore.CleanSlate/tree/master/Module&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you wish to edit the list of items, then open &lt;strong&gt;Sitecore.CleanSlate-1.0.0.zip&lt;/strong&gt; package using an archive tool like &lt;a href=&quot;http://www.7-zip.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;7zip&lt;/a&gt;, extract &lt;code&gt;Sitecore CleanSlate.zip\package.zip\metadata\items&lt;/code&gt; file, edit using a text editor and then replace the modified file into the archive.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-09-02T17:45:01.560" LastActivityDate="2017-09-02T17:45:01.560" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2533" PostTypeId="2" ParentId="2487" CreationDate="2016-11-13T18:42:54.717" Score="2" Body="&lt;p&gt;The place you are looking for is in the &lt;code&gt;Sitecore.Client.dll&lt;/code&gt; as pointed out by Koen Heye. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The class &lt;code&gt;Sitecore.Shell.Applications.Workbox.WorkboxForm&lt;/code&gt; contains a method called &lt;strong&gt;DisplayStates&lt;/strong&gt; which formats the state &lt;strong&gt;DisplayName&lt;/strong&gt; and count of items in the workflow with that state.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-11-13T18:42:54.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2535" PostTypeId="2" ParentId="2491" CreationDate="2016-11-14T03:07:24.507" Score="0" Body="&lt;p&gt;I am not quite sure about Habitat itself, but assuming you have sort of generic search service, you can do something like that (method signature is simplified):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public IQueryable&amp;lt;TResult&amp;gt; Search&amp;lt;TResult, TOrderKey&amp;gt;(string q, Expression&amp;lt;Func&amp;lt;TResult, TOrderKey&amp;gt;&amp;gt; order, bool desc = true)&#xA;        {&#xA;            // searching, getting IQueryable&#xA;            // the below is under the search context as well&#xA;            if (order != null)&#xA;                queryableResult = desc ? queryableResult.OrderByDescending(order) : queryableResult.OrderBy(order);&#xA;&#xA;            //close the search context and return&#xA;            return queryableResult;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can call it from your code like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var results = this.SearchService.Search&amp;lt;TMyResultItem, DateTime&amp;gt;(&quot;test query&quot;, (x) =&amp;gt; x.Date, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Assuming that &lt;strong&gt;TMyResultItem&lt;/strong&gt; contains a &lt;strong&gt;Date&lt;/strong&gt; field of the &lt;strong&gt;DateTime&lt;/strong&gt; type. &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-11-14T03:07:24.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2536" PostTypeId="1" AcceptedAnswerId="2537" CreationDate="2016-11-14T09:22:17.180" Score="5" ViewCount="1165" Body="&lt;p&gt;The customer has an existing Sitecore media library of roughly 18GB and wants to migrate this toa new sitecore site. However, because of the size, creating export packages or serializing items, creates problems.&#xA;Do you know of any other practical way, than just creating multible smaller export packages, to migrate such a large media library?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Yes, DAM for Sitecore will be installed later on, but for now we need to migrate the data)&lt;/p&gt;&#xA;" OwnerUserId="537" LastActivityDate="2023-04-13T19:16:28.453" Title="Migrating a large media library" Tags="|media-library|migration|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2537" PostTypeId="2" ParentId="2536" CreationDate="2016-11-14T09:32:10.107" Score="4" Body="&lt;p&gt;There is a quite elegant solution proposed in the sitecore community. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, what you have to do is that you need to attach your &quot;&lt;strong&gt;old&lt;/strong&gt;&quot; master database to the &quot;&lt;strong&gt;new&lt;/strong&gt;&quot; sitecore instance as another db, e.g. &quot;&lt;strong&gt;master2&lt;/strong&gt;&quot; and then write a simple code to create items/copy the blobs over to the &quot;&lt;strong&gt;new&lt;/strong&gt;&quot; sitecore master database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a good POC/instruction article about it:&#xA;&lt;a href=&quot;https://pageditor.wordpress.com/2015/10/28/automated-migration-of-content-items-from-sitecore-6-5-to-sitecore-8-1/&quot; rel=&quot;noreferrer&quot;&gt;https://pageditor.wordpress.com/2015/10/28/automated-migration-of-content-items-from-sitecore-6-5-to-sitecore-8-1/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please take the following into consideration:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Disable indexing&lt;/strong&gt;, otherwise it will take ages to migrate all the stuff. Dont forget to re-enable and rebuild indexes after import is over.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Disable events&lt;/strong&gt; while importing and do a republish after it is finished.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-11-14T09:32:10.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2538" PostTypeId="1" AcceptedAnswerId="2539" CreationDate="2016-11-14T09:45:25.333" Score="6" ViewCount="1366" Body="&lt;p&gt;I managed to create a &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2322/create-controller-rendering-in-sxa&quot;&gt;custom rendering&lt;/a&gt; in SXA by inheriting my controller from the &lt;code&gt;StandardController&lt;/code&gt; (and some other things). But now I would like to create a component that has the ability to work with variants. I saw that there is a &lt;code&gt;VariantsController&lt;/code&gt;, so I assume that my first step is to use that as base for my custom controller, but what are the other steps I need to take to have 2 variants of my rendering? And what are the options in my view with these variants - what can be altered?&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-14T10:24:34.543" Title="Create a custom SXA rendering with variants" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2539" PostTypeId="2" ParentId="2538" CreationDate="2016-11-14T10:18:34.903" Score="6" Body="&lt;p&gt;Yes, you should inherit from &lt;code&gt;VariantsController&lt;/code&gt;. It's very small and all what it's doing is providing &lt;code&gt;VariantsRepository&lt;/code&gt; (in SXA almost all of logic is placed inside of repositories). It got all what you need to enable your rendering using Rendering Variants. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the steps you be as follow:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your rendering parameters template should inherit from IComponentVariant&#xA;&lt;a href=&quot;https://i.stack.imgur.com/V2uyr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V2uyr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Your repository should inherit from VariantsRepository&lt;/li&gt;&#xA;&lt;li&gt;Your model which you push to your view should inherit from VariantsRenderingModel&lt;/li&gt;&#xA;&lt;li&gt;Render content using SXA helpers &lt;code&gt;@Html.RenderingVariants().RenderVariant()&lt;/code&gt;. You can take a look at views of Page Content or Title renderings which are quite simple.    &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2016-11-14T10:24:34.543" LastActivityDate="2016-11-14T10:24:34.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2540" PostTypeId="1" AcceptedAnswerId="2550" CreationDate="2016-11-14T10:42:39.413" Score="1" ViewCount="1324" Body="&lt;p&gt;I'm getting the error &lt;code&gt;The definition manager is in read only mode in this environment&lt;/code&gt; when triggering &quot;Deploy Marketing definitions&quot; from control panel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I enable &quot;write mode?&quot; on CM server? And how often are we supposed to deploy definitions? Shouldn't this happen automatically?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Config definition (from showconfig.aspx)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;goal definitionInterface=&quot;Sitecore.Marketing.Definitions.Goals.IGoalDefinition, Sitecore.Marketing&quot;&amp;gt;&#xA;&amp;lt;definitionManager type=&quot;Sitecore.Marketing.Definitions.Goals.GoalDefinitionManager, Sitecore.Marketing&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;config&amp;gt;   &#xA;        &amp;lt;customTaxonomyFieldMappings patch:source=&quot;Sitecore.Marketing.config&quot;&amp;gt;                &#xA;            &amp;lt;mapping fieldId=&quot;{E7B5C821-A54C-4264-9C06-C6EBDBFCD6B8}&quot; taxonomyRootId=&quot;{13D17E8A-FED4-4799-8DEF-05E9691A3E15}&quot; /&amp;gt;&#xA;            &amp;lt;mapping fieldId=&quot;{B3D6C41E-E37B-48AB-B8EC-13DCA18CE729}&quot; taxonomyRootId=&quot;{7DE5CC49-D985-49E1-AC61-663A1411AE42}&quot; /&amp;gt;&#xA;            &amp;lt;mapping fieldId=&quot;{781346DF-7E91-42F1-BA62-A63572520850}&quot; taxonomyRootId=&quot;{D7D814A0-294D-444C-BED0-EEAEA7CD5A27}&quot; /&amp;gt;&#xA;        &amp;lt;/customTaxonomyFieldMappings&amp;gt;&#xA;&#xA;        &amp;lt;knownTaxonomyFieldMappings patch:source=&quot;Sitecore.Marketing.config&quot;&amp;gt;            &#xA;            &amp;lt;mapping fieldId=&quot;{8B553339-088A-4CFA-AB21-B8D0B8C0B77D}&quot; taxonomyRootId=&quot;{733CECC5-1A6D-4C81-8267-D52A80349EE4}&quot; /&amp;gt;&#xA;        &amp;lt;/knownTaxonomyFieldMappings&amp;gt;&#xA;        &amp;lt;activationFeed patch:source=&quot;Sitecore.MarketingProcessingRole.config&quot; /&amp;gt;&#xA;    &amp;lt;/config&amp;gt;&#xA;    &amp;lt;param desc=&quot;repository&quot; ref=&quot;marketingDefinitions/goal/repositories/rdb&quot; patch:source=&quot;Sitecore.Marketing.config&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;classificationResolver&quot; type=&quot;Sitecore.Marketing.Definitions.DefaultClassificationResolver, Sitecore.Marketing&quot; patch:source=&quot;Sitecore.Marketing.config&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;definitionFieldLabelResolver&quot; type=&quot;Sitecore.Marketing.Definitions.ItemBasedDefinitionFieldLabelResolver, Sitecore.Marketing&quot; patch:source=&quot;Sitecore.Marketing.config&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;databaseName&quot; ref=&quot;marketingDefinitions/itemRepositoriesDatabase&quot; /&amp;gt;&#xA;    &amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;searchProvider&quot; patch:source=&quot;Sitecore.Marketing.config&quot; ref=&quot;marketingDefinitions/goal/searchProviders/notSupported&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;isReadOnly&quot; type=&quot;System.Boolean&quot; factoryMethod=&quot;Parse&quot; arg0=&quot;true&quot; patch:source=&quot;Sitecore.Marketing.config&quot; /&amp;gt;&#xA;&amp;lt;/definitionManager&amp;gt;&#xA;&amp;lt;repositories&amp;gt;&#xA;    &amp;lt;rdb type=&quot;Sitecore.Analytics.Reporting.DefinitionData.Marketing.GoalDefinitionRdbRepository, Sitecore.Analytics&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;reporting&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;cache&quot; type=&quot;Sitecore.Analytics.Reporting.DefinitionData.Marketing.RdbCache.DefinitionCache`1[[Sitecore.Marketing.Definitions.Goals.Data.GoalDefinitionRecord, Sitecore.Marketing]], Sitecore.Analytics&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;marketing.rdb.goal&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;maxSize&quot;&amp;gt;20MB&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;availableCulturesCache&quot; type=&quot;Sitecore.Analytics.Reporting.DefinitionData.Marketing.RdbCache.Cache`2[[Sitecore.Data.ID, Sitecore.Kernel],[System.Collections.Generic.IReadOnlyList`1[[System.Globalization.CultureInfo]]]], Sitecore.Analytics&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;marketing.rdb.goal.cultures&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;maxSize&quot;&amp;gt;20MB&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/param&amp;gt;&#xA;    &amp;lt;/rdb&amp;gt;&#xA;    &amp;lt;item type=&quot;Sitecore.Marketing.Definitions.Goals.Data.ItemDb.GoalDefinitionItemRepository, Sitecore.Marketing&quot; singleInstance=&quot;true&quot; patch:source=&quot;Sitecore.Marketing.config&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;databaseName&quot; ref=&quot;marketingDefinitions/itemRepositoriesDatabase&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;assumeActive&quot; type=&quot;System.Boolean&quot; factoryMethod=&quot;Parse&quot; arg0=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;/item&amp;gt;&#xA;&amp;lt;/repositories&amp;gt;&#xA;&amp;lt;searchProviders patch:source=&quot;Sitecore.Marketing.config&quot;&amp;gt;&#xA;    &amp;lt;notSupported type=&quot;Sitecore.Marketing.Search.NotSupportedSearchProvider`1[[Sitecore.Marketing.Definitions.Goals.IGoalDefinition, Sitecore.Marketing]], Sitecore.Marketing&quot; /&amp;gt;&#xA;&amp;lt;/searchProviders&amp;gt;&#xA;&amp;lt;/goal&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Full exception:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at Sitecore.Mvc.Controllers.SitecoreActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.&amp;lt;&amp;gt;c__DisplayClass22.&amp;lt;BeginExecuteCore&amp;gt;b__1e()&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.&amp;lt;.cctor&amp;gt;b__0(IAsyncResult asyncResult, Action action)&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) &#xA;&#xA;Nested Exception Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: mscorlib&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;   at Sitecore.Analytics.Reporting.DefinitionData.Marketing.Deployment.DeploymentManager.DeployAll[TDefinitionInterface](CultureInfo culture)&#xA;   at Sitecore.Shell.Client.Applications.Marketing.Utilities.DeployMarketingDefinitions.DeployMarketingDefinitionsController.DeployDefinitionTypes(String[] definitionTypes)&#xA;   at Sitecore.Shell.Client.Applications.Marketing.Utilities.DeployMarketingDefinitions.DeployMarketingDefinitionsController.DeployDefinitions(String definitionTypes, Boolean publishTaxonomies)&#xA;   at lambda_method(Closure , ControllerBase , Object[] )&#xA;   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.ControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass15.&amp;lt;InvokeActionMethodWithFilters&amp;gt;b__12()&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&amp;gt; Nested Exception&#xA;Exception: System.NotSupportedException&#xA;Message: The definition manager is in read only mode in this environment.&#xA;Source: Sitecore.Marketing&#xA;   at Sitecore.Marketing.Definitions.DefinitionManagerBase`1.EnsureWriteIsEnabled()&#xA;   at Sitecore.Marketing.Definitions.DefinitionManagerBase`1.Save[TRecord](TDefinition definition, Boolean activate, IDefinitionRepository`1 repository, Action`2 setCustomFields)&#xA;   at Sitecore.Marketing.Definitions.Goals.GoalDefinitionManager.SaveAsync(IGoalDefinition definition, Boolean activate)&#xA;   at Sitecore.Analytics.Reporting.DefinitionData.Marketing.Deployment.DeploymentManager.&amp;lt;DeployAllAsync&amp;gt;d__d`1.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="88" LastEditorUserId="88" LastEditDate="2016-11-14T12:04:16.930" LastActivityDate="2016-11-14T12:48:08.157" Title="Can't deploy marketing definitions, &quot;definition manager is in read only mode&quot;" Tags="|xdb|experience-analytics|marketing-definitions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2543" PostTypeId="2" ParentId="125" CreationDate="2016-11-14T11:09:26.773" Score="1" Body="&lt;p&gt;The above answers didn't help me here. When I reflected out &lt;code&gt;IsPageEditor&lt;/code&gt; for 4.2.188 it still used &lt;code&gt;IsPageEditor&lt;/code&gt; not &lt;code&gt;IsExperienceEditor&lt;/code&gt;. Looking at the source code it seems to depend on how the assembly is built:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Utilities : Mapper.Utilities&#xA;{&#xA;&#xA;    public static bool IsPageEditor&#xA;    {&#xA;        get&#xA;        {&#xA;#if SC82&#xA;            return Sitecore.Context.PageMode.IsExperienceEditor;&#xA;#else&#xA;            return Sitecore.Context.PageMode.IsPageEditor;&#xA;#endif&#xA;        }&#xA;    }&#xA;    public static bool IsPageEditorEditing&#xA;    {&#xA;        get&#xA;        {&#xA;#if SC82&#xA;            return Sitecore.Context.PageMode.IsExperienceEditorEditing;&#xA;#else&#xA;            return Sitecore.Context.PageMode.IsPageEditorEditing;&#xA;#endif&#xA;        }&#xA;    }&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/F28dM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F28dM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's unclear from the NuGet package what version each build is for. When I upgraded from &lt;code&gt;4.2.188&lt;/code&gt; to &lt;code&gt;4.2.189&lt;/code&gt; the assembly contained the correct version. Making my think that this is built for SC 8.2 as opposed to 8.1. Bascially it looks like a build mistake to me.&lt;/p&gt;&#xA;" OwnerDisplayName="user1101" LastActivityDate="2016-11-14T11:09:26.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2544" PostTypeId="1" AcceptedAnswerId="2566" CreationDate="2016-11-14T11:25:36.487" Score="6" ViewCount="4949" Body="&lt;p&gt;We are building a very transnational membership portal on sitecore platform. So Rendering output caching is not a good option for us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per this htm-caching guideline (&lt;a href=&quot;https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching&quot; rel=&quot;noreferrer&quot;&gt;https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching&lt;/a&gt;), we would like all the static contents such as JS, CSS, Images etc to be cached by both user browser as well as CDN. This means setting the cache-control as public, max-age: 1 week and appropriate ETAG).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the same time there will be static user specific PDF files which should be set as Private ,max-age:0,no-store).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a best way to configure above using sitecore (configuration or custom code or module)?&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2016-11-14T19:44:56.410" Title="Sitecore Implementation - HTML Cache Control Setting options" Tags="|caching|performance-optimization|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2545" PostTypeId="1" AcceptedAnswerId="2552" CreationDate="2016-11-14T11:33:27.583" Score="6" ViewCount="873" Body="&lt;p&gt;In the Helix/Habitat style, I have a solution with many 'web projects'. So if using octopus Deploy / Octopack, should I have a package for each Web project in my solution? If so, how/where does each package get deployed? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do the contents of different src web projects end up merged to one target site? &lt;/p&gt;&#xA;" OwnerUserId="1124" LastEditorUserId="73" LastEditDate="2016-11-14T12:43:54.207" LastActivityDate="2016-11-14T13:37:05.640" Title="How do I configure Octopus Octopack to deploy my Helix/Habitat projects?" Tags="|helix|deployment|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2546" PostTypeId="1" CreationDate="2016-11-14T11:33:56.027" Score="3" ViewCount="467" Body="&lt;p&gt;for some reason the first request for every single pages on our site is pretty slow. 2nd hit and subsequent are good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thinking of applying a patch for CD per below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;cacheSize&amp;gt;500MB&amp;lt;/cacheSize&amp;gt;&#xA;&#xA;  &amp;lt;template desc=&quot;mysitetemplate&quot;&amp;gt;{xxxxxxxx-8F46-4948-AE74-DA5B6B5AFA86}&amp;lt;/template&amp;gt;&#xA;&#xA;  &amp;lt;template desc=&quot;mysiteLayout&quot;&amp;gt;{xxxxxx-64EE-4919-9D41-02FD40FD1466}&amp;lt;/template&amp;gt;&#xA;&#xA;  &amp;lt;item desc=&quot;mySiteHome&quot;&amp;gt;{xxxxxx-DEA5-42EA-9C1C-8A5DF7E70EF9}&amp;lt;/item&amp;gt;&#xA;  &amp;lt;children desc=&quot;mySiteMainIems&quot;&amp;gt;{xxxxxxxx-DEA5-42EA-9C1C-8A5DF7E70EF9}&amp;lt;/children&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So that all the relevant items that uses layouts, templates defined above are prefetched. Also the home and its children as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a good approach, has anyone done this before and faced any issues /worked well?&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2016-11-14T11:58:22.843" LastActivityDate="2016-11-14T19:13:16.103" Title="Can prefetch caching help me solve, first page request for every page is slow?" Tags="|performance-optimization|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2547" PostTypeId="2" ParentId="2546" CreationDate="2016-11-14T11:39:09.207" Score="2" Body="&lt;p&gt;I have done it before and its good to cache frequently used items. One thing to note is application start time increases with size of prefetch catch i.e when you reset app pool it might take more time depending on size of cache.&lt;/p&gt;&#xA;" OwnerUserId="1025" LastActivityDate="2016-11-14T11:39:09.207" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2548" PostTypeId="1" AcceptedAnswerId="2553" CreationDate="2016-11-14T11:56:48.523" Score="5" ViewCount="1237" Body="&lt;p&gt;Currently, when a logged in user tries to access a page that they do not have permission to (because they don't have a certain role), Sitecore seems to redirect the user to the login page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is obviously confusing to the user as they are already logged in - I'd like to show a 401 page instead. &lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2016-11-14T13:49:11.277" Title="How to return 401 page instead of login page when logged in user doesn't have permission" Tags="|mvc|security|permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2550" PostTypeId="2" ParentId="2540" CreationDate="2016-11-14T12:48:08.157" Score="6" Body="&lt;h2&gt;Background&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Under &lt;code&gt;sitecore/marketingDefinitions/goal/definitionManager&lt;/code&gt;, you have the following parameter configured:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;param desc=&quot;isReadOnly&quot; type=&quot;System.Boolean&quot; factoryMethod=&quot;Parse&quot; arg0=&quot;true&quot; patch:source=&quot;Sitecore.Marketing.config&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This means that the definition manager is configured to be read-only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the original text of this node in &lt;strong&gt;&lt;em&gt;Sitecore.Marketing.config&lt;/em&gt;&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;param desc=&quot;isReadOnly&quot; type=&quot;System.Boolean&quot; factoryMethod=&quot;Parse&quot; arg0=&quot;$(marketingDefinitions.isReadOnly)&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, the value of this parameter is taken from &lt;code&gt;marketingDefinitions.isReadOnly&lt;/code&gt;—a Sitecore configuration variable. This variable is defined in the same file and by default it's set to false:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;marketingDefinitions.isReadOnly&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This variable can be set to true in certain environments. Here's a list of predefined configs where this value is changed to &lt;code&gt;true&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.MarketingCD.config.disabled&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.MarketingProcessingRole.config.disabled&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.MarketingReportingRole.config.disabled&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Xdb.Remote.Server.config.disabled&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Make sure that the configuration of your CM server is correct. It shouldn't be configured as a processing or a CD server. The variable &lt;code&gt;marketingDefinitions.isReadOnly&lt;/code&gt; needs to be set to &lt;code&gt;false&lt;/code&gt;, the same as it is out of the box.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-14T12:48:08.157" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2551" PostTypeId="1" CreationDate="2016-11-14T13:23:57.987" Score="2" ViewCount="1934" Body="&lt;p&gt;We are using Web forms and would like to know if we could reuse/enable Sitecore's built in Anti CSRF token mechanism for the website instead of limiting it's scope to Sitecore itself.. &#xA;I couldn't find any setting in Sitecore.Anticsrf.config file..&lt;/p&gt;&#xA;" OwnerUserId="706" LastActivityDate="2016-11-15T12:52:34.840" Title="Sitecore Anti Csrf Cookie" Tags="|security|site-configuration|csrf|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2552" PostTypeId="2" ParentId="2545" CreationDate="2016-11-14T13:37:05.640" Score="4" Body="&lt;p&gt;If your multisite Habitat solution is using a single IIS site, per the current license model. Then all the web projects (Feature/Foundation/Project) are batched into a single package. That is how we are currently doing it. We are publishing all the files to a single temp location, similar to a deployment. Then we deploy all the yml files and folder structure for Unicorn into its own folder. Finally packaging that up into a NuGet package for deployment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the Habitat solution, you can see that the CI script runs through all the projects gathering all the files into a single package. &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/gulpfile-ci.js#L60&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/gulpfile-ci.js#L60&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;gulp.task(&quot;CI-Enumerate-Files&quot;, function () {&#xA;    var packageFiles = [];&#xA;    config.websiteRoot = websiteRootBackup;&#xA;&#xA;    return gulp.src(path.resolve(&quot;./temp&quot;) + &quot;/**/*.*&quot;, { base: &quot;temp&quot;, read: false })&#xA;      .pipe(foreach(function (stream, file) {&#xA;          var item = &quot;/&quot; + file.relative.replace(/\\/g, &quot;/&quot;);&#xA;          console.log(&quot;Added to the package:&quot; + item);&#xA;          packageFiles.push(item);&#xA;          return stream;&#xA;      })).pipe(gutil.buffer(function () {&#xA;          xmlpoke(&quot;./package.xml&quot;, function (xml) {&#xA;              for (var idx in packageFiles) {&#xA;                  xml.add(&quot;project/Sources/xfiles/Entries/x-item&quot;, packageFiles[idx]);&#xA;              }&#xA;          });&#xA;      }));&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you solution is using multiple IIS sites, then you are going to want to package up all the assets into separate NuGet packages so that you can deploy to each site separately. This would include all Features and Foundation as well as the IIS sites project project(s).&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-14T13:37:05.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2553" PostTypeId="2" ParentId="2548" CreationDate="2016-11-14T13:49:11.277" Score="9" Body="&lt;h3&gt;Background&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When the &lt;code&gt;ItemResolver&lt;/code&gt; processor executes, it determines the context item for the request based on the current URL. Additionally, it also performs a security check to see if the current user can access that item. If they can't, the context item is cleared and a &lt;code&gt;PermissionDenied&lt;/code&gt; property on &lt;code&gt;HttpRequestArgs&lt;/code&gt; is set to &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the &lt;code&gt;ExecuteRequest&lt;/code&gt; processor executes, the &lt;code&gt;PermissionDenied&lt;/code&gt; property is inspected and this is where Sitecore decides to redirect the user to the login page if one has been specified for the site. It does not determine if the user is already logged in or not when doing so, hence your problem.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Solution&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can achieve what you want by adding a pipeline step in-between the &lt;code&gt;ItemResolver&lt;/code&gt; and &lt;code&gt;ExecuteRequest&lt;/code&gt; processors in the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class PermissionDeniedResolver : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;&#xA;        if (args.PermissionDenied &amp;amp;&amp;amp; UserIsLoggedIn(Sitecore.Context.User)&#xA;        {&#xA;            // Redirect to your permission denied page here&#xA;        }&#xA;    }&#xA;&#xA;    private bool UserIsLoggedIn(Account user)&#xA;    {&#xA;        // Perform your logged in test here, e.g:&#xA;        return user.IsAuthenticated;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This can then be patched to execute after the Item resolver:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor type=&quot;MyProject.Pipelines.HttpRequest.PermissionDeniedResolver, MyProject&quot;&#xA;patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-11-14T13:49:11.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2554" PostTypeId="1" AcceptedAnswerId="2561" CreationDate="2016-11-14T14:00:39.853" Score="4" ViewCount="2012" Body="&lt;p&gt;I have a situation where I need to obtain a link to the item at my site to use it in an e-mail notification. I currently do it like this: &lt;code&gt;var baseUrl = new Uri(Sitecore.Globals.ServerUrl);&lt;/code&gt;.&lt;br&gt;&#xA;This method works for my local site instance, which has the following bindings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;Type | Host name | port&#xA;http |    foo    | 80 &#xA;https|    foo    | 443&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I go to &lt;a href=&quot;https://foo/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://foo/&lt;/a&gt;, trigger my e-mail notification and the link I get in the e-mail is &quot;&lt;a href=&quot;https://foo/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://foo/&lt;/a&gt;&quot;, so all is well. When debugging, &lt;code&gt;Sitecore.Globals.ServerUrl&lt;/code&gt; contains &quot;&lt;a href=&quot;https://foo:443&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://foo:443&lt;/a&gt;&quot;.&lt;br&gt;&lt;br&gt;&#xA;However, our shared sandbox site is configured to be used as &lt;a href=&quot;https://foo.bar:44305&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://foo.bar:44305&lt;/a&gt;. The bindings there are as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;Type | Host name | port&#xA;http |    foo    | 80 &#xA;https|    foo    | 443&#xA;https|           | 8082&#xA;http |           | 8081&#xA;https|           | 44301&#xA;https|           | 44305&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and while I use &lt;a href=&quot;https://foo.bar:44305&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://foo.bar:44305&lt;/a&gt; to trigger e-mail to be sent, I receive &quot;&lt;a href=&quot;https://foo.bar:8081&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://foo.bar:8081&lt;/a&gt;&quot; in my e-mails.&lt;br&gt;&lt;br&gt;&#xA;If I add an extra binding &lt;pre&gt;&amp;lt;... &gt;&#xA;https|    foo    | 40443&lt;/pre&gt; to my local instance, I start getting &quot;&lt;a href=&quot;https://foo:40443&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://foo:40443&lt;/a&gt;&quot; in the e-mails while triggering them from plain &lt;a href=&quot;https://foo&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://foo&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The alternative we tried is hard-coding the link to be used in &lt;code&gt;Web.config&lt;/code&gt;. which obviously works, but the link is not resolved dynamically, so we have to always keep this in mind to change it before deploying to production, etc.&lt;br&gt;&lt;br&gt;&#xA;Is there actually a way to do this properly without hard-coding or messing up the bindings? I'm also very curious why &lt;code&gt;Sitecore.Globals.ServerUrl&lt;/code&gt; contains a seemingly random binding port.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;b&gt;Update:&lt;/b&gt; per @RichardSeal's advice I also tried to get this link via &lt;code&gt;Sitecore.Links.LinkManager&lt;/code&gt;:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var options = LinkManager.GetDefaultUrlOptions();&#xA;options.AlwaysIncludeServerUrl = true;&#xA;var url = Sitecore.Links.LinkManager.GetItemUrl(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case I obtain a relative url, not a full url, i.e: &lt;code&gt;/en/sitecore/shell/foo/home/lookbook/sales/list&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1034" LastEditorUserId="1034" LastEditDate="2016-11-14T16:12:32.407" LastActivityDate="2016-11-22T09:03:59.887" Title="Obtaining a site url with correct binding port dynamically" Tags="|site-configuration|links|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="2555" PostTypeId="1" AcceptedAnswerId="2557" CreationDate="2016-11-14T14:05:09.173" Score="8" ViewCount="712" Body="&lt;p&gt;It looks like &lt;strong&gt;Multilist With Search&lt;/strong&gt; does not work in rendering parameters. No items loaded in list even for very simple query. Is it intentional behavior or there is a way to configure it correctly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1, 8.2&lt;/p&gt;&#xA;" OwnerUserId="392" LastEditorUserId="483" LastEditDate="2016-11-14T20:04:54.977" LastActivityDate="2017-03-08T00:35:28.797" Title="Multilist With Search in Rendering Parameters is empty" Tags="|presentation|fieldtype|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2556" PostTypeId="2" ParentId="2491" CreationDate="2016-11-14T14:19:57.003" Score="2" Body="&lt;p&gt;I think you need to put your base abstract search class to foundation project. then add implementation of this abstract class to feature project and override methods which you need. in your case just add some method which will complete ordering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you use base habitat (helix implementation example) search service you can see example of filtering in NewsRespository.&#xA;Search Service return ISearchResults which contain collection of ISearchResult. So I can not see any generic methods in this process.&#xA;You can not set up flexible ordering (x =&gt; x.Date or x =&gt; x.Title) without using directly types. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My suggestion updates existing search service to using generic or cast search service results to necessary types in repository layer then ordering by field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;do not forget that habitat just an example using &lt;a href=&quot;http://helix.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix&lt;/a&gt; principles.&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="1008" LastEditDate="2016-11-15T08:52:17.133" LastActivityDate="2016-11-15T08:52:17.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2557" PostTypeId="2" ParentId="2555" CreationDate="2016-11-14T14:33:56.540" Score="12" Body="&lt;p&gt;This is a known bug at Sitecore. We had the same problem and created a Sitecore ticket. Please use the reference number 106439 if you contact them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the solution though:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I was able to reproduce the described behavior in my own environment and have registered this as a bug in the current version of Sitecore.&lt;br&gt;&#xA;  As a workaround for the issue, please perform the following steps:&lt;br&gt;&#xA;  1. Navigate to the &lt;strong&gt;\sitecore\shell\Controls\BucketList&lt;/strong&gt; folder and back up the default BucketList.js file.&lt;br&gt;&#xA;  2. Place the attached BucketList.js file instead.&lt;br&gt;&#xA;  3. Clear browser caches.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And here is the contents of the BucketList.js file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var Sitecore = Sitecore || {};&#xA;&#xA;Sitecore.InitBucketList = function (id, clientId, pageNumber, searchHandlerUrl, filter, databaseUrlParameter, typeToSearchString, of, enableSetStartLocation) {&#xA;var self = {};&#xA;&#xA;self.id = id;&#xA;self.clientId = clientId;&#xA;self.pageNumber = pageNumber;&#xA;self.searchHandlerUrl = searchHandlerUrl;&#xA;self.filter = filter;&#xA;self.databaseUrlParameter = databaseUrlParameter;&#xA;self.typeToSearchString = typeToSearchString;&#xA;self.of = of;&#xA;self.enableSetStartLocation = (enableSetStartLocation.toLowerCase() === 'true');&#xA;&#xA;self.currentPage = 1;&#xA;self.selectedId = '';&#xA;&#xA;self.doneTypingInterval = 2000; //time in ms, 2 second for example&#xA;&#xA;/*self.contentLanguage = $('scLanguage').value;*/&#xA;&#xA;self.contentLanguage = $('ContentEditorForm').lang;&#xA;&#xA;var typingTimer;&#xA;&#xA;self.format = function (template) {&#xA;    var args = arguments;&#xA;    return template.replace(/\{(\d+)\}/g, function (m, n) { return args[parseInt(n) + 1]; });&#xA;};&#xA;&#xA;// Sends 'GET' request to url specified by parameter&#xA;// and apply success handler to multilist element&#xA;self.sendRequest = function (url, data, multilist) {&#xA;    new Ajax.Request(url,&#xA;        {&#xA;            method: 'POST',&#xA;            parameters: data,&#xA;            onSuccess: new self.SuccessHandler(multilist)&#xA;        });&#xA;};&#xA;&#xA;// Cunstructor for request success handler&#xA;self.SuccessHandler = function (multilist) {&#xA;    return function (request) {&#xA;        var response = eval(request.responseText);&#xA;        multilist.options.length = 0;&#xA;        multilist.removeClassName('loadingItems');&#xA;&#xA;        var itemIdsHash = {};&#xA;        var reducedItems = [];&#xA;        var i;&#xA;        var item;&#xA;        for (i = 0; i &amp;lt; response.items.length; i++) {&#xA;            item = response.items[i];&#xA;&#xA;            if (!itemIdsHash[item.ItemId]) {&#xA;                itemIdsHash[item.ItemId] = true;&#xA;                reducedItems[reducedItems.length] = item;&#xA;            }&#xA;        }&#xA;&#xA;        for (i = 0; i &amp;lt; reducedItems.length; i++) {&#xA;            item = reducedItems[i];&#xA;            multilist.options[multilist.options.length] = new Option((item.DisplayName || item.Name) + ' (' + item.TemplateName + (item.Bucket &amp;amp;&amp;amp; (' - ' + item.Bucket)) + ')', item.ItemId);&#xA;        }&#xA;&#xA;        self.pageNumber = response.PageNumbers;&#xA;        self.currentPage = response.CurrentPage;&#xA;        $('pageNumber' + self.clientId).innerHTML = self.format(self.of, self.currentPage, self.pageNumber);&#xA;    };&#xA;};&#xA;&#xA;// Return id of selected item&#xA;self.getSelectedItemId = function (controlSuffix) {&#xA;    var all = scForm.browser.getControl(self.id + controlSuffix);&#xA;&#xA;    for (var n = 0; n &amp;lt; all.options.length; n++) {&#xA;        var option = all.options[n];&#xA;&#xA;        if (option.selected) {&#xA;            return option.value;&#xA;        }&#xA;    }&#xA;&#xA;    return null;&#xA;};&#xA;&#xA;self.onFilterFocus = function (filterBox) {&#xA;    if (filterBox.value == self.typeToSearchString) {&#xA;        filterBox.value = '';&#xA;    }&#xA;&#xA;    filterBox.addClassName('active').removeClassName('inactive');&#xA;};&#xA;&#xA;self.onFilterBlur = function (filterBox) {&#xA;    if (!filterBox.value) {&#xA;        filterBox.value = self.typeToSearchString;&#xA;    }&#xA;&#xA;    filterBox.removeClassName('active').addClassName('inactive');&#xA;};&#xA;&#xA;self.moveToCurrentPage = function () {&#xA;    var filterBox = document.getElementById('filterBox' + self.clientId);&#xA;    var filterValue = (filterBox.value &amp;amp;&amp;amp; filterBox.value != self.typeToSearchString) ? filterBox.value : '*';&#xA;&#xA;    var multilist = $(self.clientId + '_unselected').addClassName('loadingItems');&#xA;    var savedStr = encodeURIComponent(filterValue);&#xA;    var filterString = self.enableSetStartLocation ? self.getOverrideString('%2Blocation=') : self.filter;&#xA;    var selectedIdsFilter = self.getSelectedIdsFilter();&#xA;&#xA;    self.sendRequest(self.searchHandlerUrl, 'fromBucketListField=' + savedStr + &quot;&amp;amp;&quot; + filterString.replace(/\+/g, &quot;%2B&quot;) + selectedIdsFilter + '&amp;amp;pageNumber=' + self.currentPage + self.databaseUrlParameter + '&amp;amp;scLanguage=' + self.contentLanguage, multilist);&#xA;};&#xA;&#xA;// Replaces overrideKey value in filter by value from ovverrideInput&#xA;self.getOverrideString = function (overrideKey) {&#xA;    var overrideInput = document.getElementById('locationOverride' + self.clientId);&#xA;&#xA;    if (!overrideInput || !overrideInput.value.length &amp;gt; 0) {&#xA;        return self.filter;&#xA;    }&#xA;&#xA;    var replaceStartIndex = self.filter.indexOf(overrideKey);&#xA;&#xA;    if (!~replaceStartIndex) {&#xA;        return self.filter;&#xA;    }&#xA;&#xA;    var replaceEndIndex = self.filter.indexOf('&amp;amp;', replaceStartIndex + 1);&#xA;&#xA;    if (!~replaceEndIndex) {&#xA;        replaceEndIndex = self.filter.length;&#xA;    }&#xA;&#xA;    var stringToReplace = self.filter.substring(replaceStartIndex, replaceEndIndex);&#xA;&#xA;    return self.filter.replace(stringToReplace, overrideKey + overrideInput.value);&#xA;};&#xA;&#xA;self.getSelectedIdsFilter = function() {&#xA;    return [].slice.call($(self.clientId + '_selected').options, 0)&#xA;        .map(function(option) { return &quot;&amp;amp;-id=&quot; + option.value })&#xA;        .join('');&#xA;};&#xA;&#xA;self.initEventHandlers = function () {&#xA;    $('filterBox' + self.clientId).observe('focus', function () {&#xA;        self.onFilterFocus($('filterBox' + self.clientId));&#xA;    });&#xA;&#xA;    $('filterBox' + self.clientId).observe('blur', function () {&#xA;        self.onFilterBlur($('filterBox' + self.clientId));&#xA;    });&#xA;&#xA;    $('filterBox' + self.clientId).observe('keyup', function () {&#xA;        typingTimer = setTimeout(function () { self.currentPage = 1; self.moveToCurrentPage(); }, self.doneTypingInterval);&#xA;    });&#xA;&#xA;    $('filterBox' + self.clientId).observe('keydown', function () {&#xA;        clearTimeout(typingTimer);&#xA;    });&#xA;&#xA;    $('next' + self.clientId).observe('click', function () {&#xA;        if (self.currentPage + 1 &amp;lt;= self.pageNumber) {&#xA;            self.currentPage++;&#xA;            self.moveToCurrentPage();&#xA;        }&#xA;    });&#xA;&#xA;    $('prev' + self.clientId).observe('click', function () {&#xA;        if (self.currentPage &amp;gt; 1) {&#xA;            self.currentPage--;&#xA;            self.moveToCurrentPage();&#xA;        }&#xA;    });&#xA;&#xA;    $(self.id + '_unselected').observe('dblclick', function () {&#xA;        scContent.multilistMoveRight(self.id);&#xA;    });&#xA;&#xA;    $(self.id + '_selected').observe('dblclick', function () {&#xA;        scContent.multilistMoveLeft(self.id);&#xA;    });&#xA;&#xA;    $(self.id + '_unselected').observe('click', function () {&#xA;        self.selectedId = self.getSelectedItemId('_unselected');&#xA;    });&#xA;&#xA;    $(self.id + '_selected').observe('click', function () {&#xA;        self.selectedId = self.getSelectedItemId('_selected');&#xA;    });&#xA;&#xA;    $('btnRight' + self.id).observe('click', function () {&#xA;        scContent.multilistMoveRight(self.id);&#xA;    });&#xA;&#xA;    $('btnLeft' + self.id).observe('click', function () {&#xA;        scContent.multilistMoveLeft(self.id);&#xA;    });&#xA;&#xA;    $('refresh' + self.clientId).observe('click', function () {&#xA;        self.currentPage = 1;&#xA;        self.moveToCurrentPage();&#xA;    });&#xA;&#xA;    $('goto' + self.clientId).observe('click', function () {&#xA;        scForm.postRequest('', '', '', 'contenteditor:launchtab(url=' + self.selectedId + ', la=' + self.contentLanguage + ')');&#xA;        return false;&#xA;    });&#xA;};&#xA;&#xA;var pageNumberElement = $('pageNumber' + self.clientId);&#xA;if (pageNumberElement) {&#xA;    pageNumberElement.innerHTML = self.format(self.of, self.currentPage, self.pageNumber);&#xA;    self.initEventHandlers();&#xA;    self.moveToCurrentPage();&#xA;}&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="483" LastActivityDate="2016-11-14T14:33:56.540" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2558" PostTypeId="1" CreationDate="2016-11-14T16:11:11.597" Score="0" ViewCount="87" Body="&lt;p&gt;While I have used Sitecore for several years now, I am relatively new to xDB.   About a month or so ago, I finally got xDB configured and am capturing data complete with some custom facet data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the facets we capture is the visitors industry.   I would like to start grouping folks based on what industry they selected and display different content to them.   I believe the first step to this is to configure a Persona -- such as Manufacturer or Retailer.   Is this correct?   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so, is there a good step by step guide for doing so?  The profile key template seems to just be focused on scores, not values of fields, so maybe I am looking in the complete wrong place.&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2016-11-14T17:35:46.240" Title="Configuring a persona?" Tags="|xdb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2559" PostTypeId="2" ParentId="2558" CreationDate="2016-11-14T16:55:44.340" Score="3" Body="&lt;p&gt;You don't necessarily need to implement Persona's to achieve this. You could implement a custom rule to check the value stored on the facet and react accordingly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then implement your custom rule and display differing components dependent on the outcome of the rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorecommerce.wordpress.com/2016/10/24/create-and-configure-xdb-custom-facet/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorecommerce.wordpress.com/2016/10/24/create-and-configure-xdb-custom-facet/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/using-custom-contact-data-part-3-rules&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/using-custom-contact-data-part-3-rules&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Persona's would make sense if you needed to display particular content on a combination of different user behaviours.&lt;/p&gt;&#xA;" OwnerUserId="118" LastActivityDate="2016-11-14T16:55:44.340" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2560" PostTypeId="2" ParentId="2516" CreationDate="2016-11-14T16:58:50.377" Score="1" Body="&lt;p&gt;Is your JMeter Script running from a single machine ? If you don't clear your cookies between runs then the traffic from your JMeter script may be being detected as the same user and combined together&lt;/p&gt;&#xA;" OwnerUserId="118" LastActivityDate="2016-11-14T16:58:50.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2561" PostTypeId="2" ParentId="2554" CreationDate="2016-11-14T17:14:39.807" Score="5" Body="&lt;p&gt;&lt;code&gt;Sitecore.Globals.ServerUrl&lt;/code&gt; is set in the &lt;code&gt;Globals.Load&lt;/code&gt; function by calling &lt;code&gt;WebUtil.GetServerUrl(HttpContext.Current.Request.Url, false)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code for that is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string GetServerUrl(Uri url, bool forcePort)&#xA;{&#xA;    if (url == (Uri) null)&#xA;        return string.Empty;&#xA;    string scheme = url.Scheme;&#xA;    string host = url.Host;&#xA;    string @string = url.Port.ToString();&#xA;    string str = string.Format(&quot;{0}://{1}&quot;, (object) scheme, (object) host);&#xA;    if (forcePort || @string != &quot;80&quot;)&#xA;        str += string.Format(&quot;:{0}&quot;, (object) @string);&#xA;    return str;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the ports are getting added because &lt;code&gt;GetServerUrl&lt;/code&gt; adds the port any time the &lt;code&gt;Uri.Port&lt;/code&gt; value is not &lt;code&gt;80&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make the &lt;code&gt;LinkManager&lt;/code&gt; work, you need to make sure that in your site definition you have both the &lt;code&gt;targetHostName&lt;/code&gt; and &lt;code&gt;scheme&lt;/code&gt; set correctly. These can be setup in your standard deployment process:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;sites&amp;gt;&#xA;            &amp;lt;site name=&quot;foo&quot; patch:before=&quot;site[@name='website']&quot;&#xA;                  host=&quot;foo.com|other.foo.com&quot;&#xA;                  ... other settings ...&#xA;                  targetHostName=&quot;foo.com&quot;&#xA;                  scheme=&quot;https&quot;&#xA;                  /&amp;gt;&#xA;        &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With those set, calling the &lt;code&gt;LinkManager&lt;/code&gt; with &lt;code&gt;AlwaysIncludeServerUrl&lt;/code&gt; set to true in the options should give you:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;https://foo.com/en/path/to/your/page&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-14T17:14:39.807" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2562" PostTypeId="2" ParentId="2558" CreationDate="2016-11-14T17:35:46.240" Score="1" Body="&lt;p&gt;If you are wanting to trigger a user to go into a persona automatically, you can do it with the code below. You need to create a profile, profile key and a persona that has a level set for your profile key. Then you can register a hit to the profile high enough to trigger the persona.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to call the profile by name. I have not found a way to call it by ID other that calling the item and getting the name from the profile item.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;profile is the profile &lt;/li&gt;&#xA;&lt;li&gt;profileitem is the profile key&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;code&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var profile = Tracker.Current.Interaction.Profiles[Constants.Items.Profiles.Industry.Name];&#xA;var scores = new Dictionary&amp;lt;string, float&amp;gt; { { profileItem.Name, 10 } };&#xA;&#xA;profile.Score(scores);&#xA;profile.UpdatePattern();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For just how to make profiles and scoring working, see my answer here &lt;a href=&quot;https://sitecore.stackexchange.com/questions/799/behavioral-personalization/2221#2221&quot;&gt;Behavioral personalization?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-14T17:35:46.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2563" PostTypeId="1" AcceptedAnswerId="2567" CreationDate="2016-11-14T18:10:28.270" Score="3" ViewCount="688" Body="&lt;p&gt;We are using out of the box item name functionality in Sitecore. We are also using $name to add that to the title of the page. Our client would like to have the following happen. They would like to create an item and add the title of the item as-is in the name dialog that shows up. They would then like the proper alphabets/numbers and hyphens automatically created in the item name and the title copied as is to the title field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is anything like this possible? I haven't seen any code examples/samples for this kind of functionality. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1073" LastEditorUserId="423" LastEditDate="2017-08-08T14:22:27.020" LastActivityDate="2017-08-08T14:22:27.020" Title="Manipulate item name on create" Tags="|sitecore-client|pipelines|events|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2564" PostTypeId="2" ParentId="2476" CreationDate="2016-11-14T19:09:20.983" Score="2" Body="&lt;p&gt;By default, a date or numeric field is always sortable and facet in a Coveo index. You shouldn't have to specify the field in the field map to be able to use it to sort.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first thing to check to troubleshoot is the type of the field in your Coveo index to ensure it is really indexed as a Datetime field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, if you intend this sort to be the default for that specific result list, you should set the default sort field directly on your &quot;Coveo Search&quot; component (see Default Sort Options in &lt;a href=&quot;https://developers.coveo.com/x/PgHvAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/SitecoreV4/Search+Component+Properties&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this configuration, the &quot;Date&quot; sort type always use the modified date of the Coveo indexed documents. If you want to sort by another date, you need to choose &quot;Field&quot; in the sort type dropdown and then select the custom date field you want to sort with.&lt;/p&gt;&#xA;" OwnerUserId="171" LastEditorUserId="264" LastEditDate="2017-10-02T14:30:10.253" LastActivityDate="2017-10-02T14:30:10.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2565" PostTypeId="2" ParentId="2546" CreationDate="2016-11-14T19:13:16.103" Score="3" Body="&lt;p&gt;The Second request being served well is for the reason it is returned from Sitecore caches - Item Cache or even HTML Cache, if that is configured for the rendering.&#xA;Adding to Prefetch Cache might help, and you can check whether the required item is returned from cache or not, using &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Cache_Admin.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Cache Admin marketplace module&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, If your first request is taking long time to load the page, I would suggest you to check in code - lets say a Custom pipeline or processor - which is called on every request. Or say, a rendering which is added in the main Default Layout of your website. If you are using something like say ShareThis component, its good to add it as ASYNC on page, and it doesn't add up to the page load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS: A Strong Advice: Please do not hide code issues using cache, you might be able to shoo it away for now, but it will reappear sometime in future and with a problem bigger in size.&lt;/p&gt;&#xA;" OwnerUserId="616" LastActivityDate="2016-11-14T19:13:16.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2566" PostTypeId="2" ParentId="2544" CreationDate="2016-11-14T19:44:56.410" Score="9" Body="&lt;p&gt;Sitecore comes with out of the box possibilities to configure media caching.&lt;br&gt;&#xA;Have a look at the Sitecore.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  MEDIA RESPONSE - CACHEABILITY&#xA;        The &amp;lt;see cref=&quot;HttpCacheability&quot;&amp;gt;cacheability&amp;lt;/see&amp;gt; to use in media response headers.&#xA;        Possible values: NoCache, Private, Public, Server, ServerAndNoCache, ServerAndPrivate&#xA;        Default value: private&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;MediaResponse.Cacheability&quot; value=&quot;private&quot;/&amp;gt;&#xA;&amp;lt;!--  MEDIA RESPONSE - CacheExtensions&#xA;        The &amp;lt;see cref=&quot;HttpCachePolicy.AppendCacheExtension&quot;&amp;gt;cache extension(s)&amp;lt;/see&amp;gt; to use in media response headers.&#xA;        Default value: &quot;&quot;&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;MediaResponse.CacheExtensions&quot; value=&quot;&quot;/&amp;gt;&#xA;&amp;lt;!--  MEDIA RESPONSE - MAX AGE&#xA;        The &amp;lt;see cref=&quot;HttpCachePolicy.SetMaxAge&quot;&amp;gt;max age&amp;lt;/see&amp;gt; to use in media response headers.&#xA;        Set it to &quot;00:00:00&quot; to omit this header.&#xA;        Default value: 7.00:00:00 (seven days)&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;MediaResponse.MaxAge&quot; value=&quot;7.00:00:00&quot;/&amp;gt;&#xA;&amp;lt;!--  MEDIA RESPONSE - SLIDING EXPIRATION&#xA;        The &amp;lt;see cref=&quot;HttpCachePolicy.SetSlidingExpiration&quot;&amp;gt;sliding expiration&amp;lt;/see&amp;gt; to use in media response headers.&#xA;        Set it to &quot;&quot; to omit this header. To include it, use &quot;true&quot; or &quot;false&quot;.&#xA;        Default value: &quot;&quot;&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;MediaResponse.SlidingExpiration&quot; value=&quot;&quot;/&amp;gt;&#xA;&amp;lt;!--  MEDIA RESPONSE - VARY HEADER&#xA;        Specifies the value for the Vary HTTP header to use in media response headers.&#xA;        Set it to &quot;&quot; to omit this header.&#xA;        Default value: &quot;&quot;&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;MediaResponse.VaryHeader&quot; value=&quot;&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These are used in the &lt;code&gt;MediaRequestHandler&lt;/code&gt;. Check the &lt;code&gt;handlers&lt;/code&gt; section of your Web.config file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;Sitecore.Resources.Media.MediaRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.MediaRequestHandler&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want the static user specific PDF files set up correctly, you would need to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Not change the MediaResponse.Cacheability since it is already set to private&lt;/li&gt;&#xA;&lt;li&gt;Set the MediaResponse.MaxAge to 00:00:00.&lt;/li&gt;&#xA;&lt;li&gt;No-store should also already be present due to the setting &lt;code&gt;DisableBrowserCaching&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  DISABLE BROWSER CACHING&#xA;      If true, all pages will have:&#xA;        Cache-Control: no-cache, no-store&#xA;        Pragma: no-cache&#xA;      in the http header&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;DisableBrowserCaching&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;You can modify the &lt;code&gt;MediaRequestHandler&lt;/code&gt; to tailor it more to your needs. For example: only logged in users to a specific domain can download media files.&#xA;Read this blog for some more information: &lt;a href=&quot;http://www.doodle.co.uk/blogs/2015/03/03/restricting-access-to-sitecore-media-items&quot; rel=&quot;noreferrer&quot;&gt;http://www.doodle.co.uk/blogs/2015/03/03/restricting-access-to-sitecore-media-items&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2016-11-14T19:44:56.410" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2567" PostTypeId="2" ParentId="2563" CreationDate="2016-11-14T20:58:48.467" Score="4" Body="&lt;p&gt;Well you could extend the &lt;code&gt;item:added&lt;/code&gt; event to then take the item name and update the title to have a formatted item name minus all the special characters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would need to do a check to ensure the item that you are adding has a field called &lt;code&gt;Title&lt;/code&gt; or else it would fail.  This probably isn't the most efficient and elegant solution because you are basically calling this code on every item add event.  You could alternatively choose extend the custom standard values tokens, such as &lt;code&gt;$id&lt;/code&gt; or &lt;code&gt;$parentname&lt;/code&gt; and create your own called &lt;code&gt;$nameclean&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To extend this token replacement, you would patch the Setting &lt;code&gt;MasterVariablesReplacer&lt;/code&gt; and set it to a class that you'll create that will just extend from the existing &lt;code&gt;Sitecore.Data.MasterVariablesReplacer, Sitecore.Kernel.dll&lt;/code&gt;.  If you decompile the Sitecore.Kernel.dll you can see the original source to that dll.  Then you can add an additional line to replace this new custom token that you created.  Then all you would need to do is add to the Title field for your Template, to the StandardValues &lt;code&gt;$nameclean&lt;/code&gt;, and when your item is created from this template it will generate the name you seek.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2016-11-14T20:58:48.467" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2568" PostTypeId="2" ParentId="2551" CreationDate="2016-11-14T21:29:58.007" Score="1" Body="&lt;p&gt;Unfortunately you can't reuse it. It is only for the Content Management server. For Content Editor, Experience Editor and etc... I suggest to you to use another solution for that. For example this one - &lt;a href=&quot;https://anticsrf.codeplex.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://anticsrf.codeplex.com&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;AntiCSRF makes it easier for ASP.NET developers to guard themselves against Cross Site Request Forgery. You'll no longer have to manually add and check protection tokens to protected yourself against CSRF attacks.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-11-15T12:52:34.840" LastActivityDate="2016-11-15T12:52:34.840" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2569" PostTypeId="1" AcceptedAnswerId="2570" CreationDate="2016-11-15T00:14:47.450" Score="4" ViewCount="1555" Body="&lt;p&gt;I've created a custom template that links to the author of an article that I'm publishing. Whenever I render that variant, I get the Sitecore Item ID instead of the text of that link. I'd like to do this without any coding (I'm trying to use SXA as much as I can OOB), but if there's not a way, then a coded solution would be OK. Here's how my Author field is setup:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/MwIiW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MwIiW.png&quot; alt=&quot;Author Configuration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my Variant Configuration:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9oRUn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9oRUn.png&quot; alt=&quot;Variant Configuration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what the rendered version looks like:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Mo5Bx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Mo5Bx.png&quot; alt=&quot;Variant Display&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What do I need to do in order to display the sitecore item instead of the ID?&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="16" LastEditDate="2016-11-15T08:03:04.973" LastActivityDate="2016-11-15T08:03:04.973" Title="How to display linked item's fields with rendering variants using SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2570" PostTypeId="2" ParentId="2569" CreationDate="2016-11-15T01:07:08.903" Score="7" Body="&lt;p&gt;That's because your &lt;strong&gt;Author&lt;/strong&gt; field (defined on a page template) is a &lt;em&gt;link&lt;/em&gt; type and what you are displaying right now is a raw field value (which in your case is a guid).&lt;/p&gt;&#xA;&lt;p&gt;This is normal and expected. To fulfil your requirements you need to create so called 'pass through field' or field reference.&lt;/p&gt;&#xA;&lt;p&gt;Instead of creating &lt;code&gt;VariantField&lt;/code&gt; with &lt;strong&gt;Author&lt;/strong&gt; value in &lt;code&gt;FieldName&lt;/code&gt; field, create a &lt;code&gt;VariantReference&lt;/code&gt; with &lt;strong&gt;Author&lt;/strong&gt; value in &lt;code&gt;PassThroughField&lt;/code&gt; field.&lt;/p&gt;&#xA;&lt;p&gt;Then underneath create the variant structure to display fields from linked author item.&lt;/p&gt;&#xA;&lt;p&gt;Your variant definition item could look like this.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1NxnO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1NxnO.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;To summarize&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Title&lt;/code&gt; and &lt;code&gt;Image&lt;/code&gt; under variant definition node displays fields from the page you are currently on but &lt;code&gt;Name&lt;/code&gt;, &lt;code&gt;Profile Picture&lt;/code&gt;, &lt;code&gt;Short Bio&lt;/code&gt; displays fields from different item (linked author item).&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-15T01:17:39.793" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2571" PostTypeId="1" CreationDate="2016-11-15T08:21:00.600" Score="1" ViewCount="183" Body="&lt;p&gt;Sitecore 8.0 (150812)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like move rendering button in the Experience Editor isn't working for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/R08jA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/R08jA.jpg&quot; alt=&quot;1 step&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9HaLG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9HaLG.png&quot; alt=&quot;step 2&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cmF89.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cmF89.png&quot; alt=&quot;step3&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xNrik.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xNrik.png&quot; alt=&quot;step 4&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/RhzBs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RhzBs.png&quot; alt=&quot;step 5&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="483" LastEditDate="2016-11-15T08:28:09.400" LastActivityDate="2016-11-15T08:28:09.400" Title="Move renderings issue" Tags="|experience-editor|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2572" PostTypeId="1" AcceptedAnswerId="2573" CreationDate="2016-11-15T09:24:52.770" Score="3" ViewCount="1984" Body="&lt;p&gt;We want to move from http to https. Therefore we need a list of all external links in order to determine which ones have to be changes if external content is embedded. How can this be accomplished?&lt;/p&gt;&#xA;" OwnerUserId="1129" LastActivityDate="2016-11-15T10:02:06.270" Title="How to get a list of all external links" Tags="|links|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2573" PostTypeId="2" ParentId="2572" CreationDate="2016-11-15T09:35:54.560" Score="7" Body="&lt;h3&gt;Solution 1. SPE&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I recommend using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt; for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example code snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$fields = &quot;Content&quot;, &quot;Title&quot;&#xA;$startPath = &quot;/sitecore/content/Playground/Playground/int/Home&quot;&#xA;$phrase = &quot;http&quot;&#xA;&#xA;function Item-Report($i){&#xA;    $fields | % {&#xA;        if($i.Fields[$_] -ne $null -and $i.Fields[$_].Value.Contains($phrase) -eq $true){&#xA;            Write-Host $i.Paths.Path  &quot;[&quot; $_ &quot;]&quot;&#xA;        }        &#xA;    }&#xA;}&#xA;&#xA;Get-ChildItem -Path $startPath -Recurse | % { Item-Report $_ }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;$fields&lt;/code&gt; - defines list of fields that should be checked.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$startPath&lt;/code&gt; - this is start path. Root of all items you want to check&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$phrase&lt;/code&gt; - text you want to search in all fields&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If needed you can use Regex instead of basic &lt;code&gt;Contains&lt;/code&gt; (note that url can be &lt;strong&gt;http&lt;/strong&gt; or &lt;strong&gt;https&lt;/strong&gt;), this is just an example code snippet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can invoke &lt;code&gt;Replace&lt;/code&gt;, editing each field so you don't have to do it manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to install additional module if you haven't it already&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Solution 2. SQL&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can try to get report using &lt;strong&gt;SQL Queries&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;SELECT TOP 1000 [Id]&#xA;    ,[ItemId]&#xA;    ,[FieldId]&#xA;    ,[Value]&#xA;    ,[Created]&#xA;    ,[Updated]&#xA;    ,[DAC_Index]&#xA;FROM [sxa_sitecore_master].[dbo].[VersionedFields]&#xA;WHERE FieldId in ('8DBAF611-51C6-4A44-A0DB-92C3DC6DDAC9', '{D81F4C5A-71D0-497E-9612-CFC960165412}') &#xA;AND Value LIKE '%http%'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Depending how you store your data you should check other fields as well.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;[sxa_sitecore_master].[dbo].[SharedFields]&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[sxa_sitecore_master].[dbo].[UnversionedFields]&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Very fast, no additional modules needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can easily get a report but writing an &lt;code&gt;UPDATE&lt;/code&gt; command could be hard and risky. I would not do it.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-11-15T10:02:06.270" LastActivityDate="2016-11-15T10:02:06.270" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2574" PostTypeId="1" AcceptedAnswerId="2576" CreationDate="2016-11-15T10:36:14.723" Score="6" ViewCount="681" Body="&lt;p&gt;I'm trying to get my feet wet in Sitecore Powershell.&#xA;I need to list renderings on a list of items. Some of the script works, like getting the items and outputting the name, but when calling &lt;code&gt;Get-Rendering&lt;/code&gt; or &lt;code&gt;Get-LayoutDevice&lt;/code&gt; i always get the error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Current Sitecore database cannot be established, current location is not within a Sitecore content tree.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Google offers no help. What am I doing wrong? The script I am buildling on currently looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$pages = get-item master:/content/MySite/articles | get-childitem -Recurse | where-object { $_.TemplateName -match &quot;Article&quot; }&#xA;$device = Get-LayoutDevice -Default&#xA;&#xA;foreach($page in $pages){&#xA;    write-host $page.name&#xA;    Get-Rendering -Item $page -Device $device    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="537" LastEditorUserId="73" LastEditDate="2016-11-15T10:57:46.253" LastActivityDate="2016-11-15T11:41:30.200" Title="Getting &quot;Current Sitecore database cannot be established&quot; using Sitecore Powershell Extensions" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2575" PostTypeId="1" CreationDate="2016-11-15T10:39:39.480" Score="4" ViewCount="534" Body="&lt;p&gt;We are preparing a Sitecore upgrade and looking into Azure Search for indexing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone tell me if Azure Search can be comined with on premises hosting? Or do you need to host Sitecore in Azure to use Azure search?&lt;/p&gt;&#xA;" OwnerUserId="1132" LastEditorUserId="73" LastEditDate="2016-11-15T10:58:40.687" LastActivityDate="2016-11-15T19:56:02.597" Title="Can Azure Search be combined with on premises Sitecore hosting?" Tags="|indexing|upgrade|azure-search|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2576" PostTypeId="2" ParentId="2574" CreationDate="2016-11-15T11:37:09.100" Score="11" Body="&lt;p&gt;SPE loses Sitecore context if &lt;code&gt;/sitecore/content/home&lt;/code&gt; item is not present and falls back to Windows context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To force it to use the master database set the location at the top of your script:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Set-Location master:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also set the context from the ISE window from the ribbon:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6ato7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6ato7.png&quot; alt=&quot;ISE Set Context&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/729&quot; rel=&quot;noreferrer&quot;&gt;raised as an issue&lt;/a&gt; on Github and has been fixed in SPE 4.2 so that the context falls back to &lt;code&gt;/sitecore/content&lt;/code&gt; instead.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-11-15T11:41:30.200" LastActivityDate="2016-11-15T11:41:30.200" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2577" PostTypeId="2" ParentId="2575" CreationDate="2016-11-15T12:53:49.273" Score="4" Body="&lt;p&gt;Yes, you can use an external index provider by implementing a custom search provider to use in place of the standard Lucene or Solr indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is made possible by Sitecore providing a number of interfaces and base-classes that developers can extend if they want to create their own provider, allowing you in theory to create any kind of index you like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means you can use Azure Search regardless of the fact you are hosting on-premise.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, in the case of Azure Search, someone has already gone to the trouble of already creating a search provider for it that is compatible with Sitecore 8.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code is hosted here - &lt;a href=&quot;https://github.com/jscott1277/SitecoreAzureSearchProvider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/jscott1277/SitecoreAzureSearchProvider&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also on the Sitecore Marketplace - &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Azure_Search_Provider.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecore_Azure_Search_Provider.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The developer has published two blog posts on the approach they took to creating this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.linkedin.com/pulse/sitecore-81-azure-search-provider-part-1-indexing-jamie-scott&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.linkedin.com/pulse/sitecore-81-azure-search-provider-part-1-indexing-jamie-scott&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.linkedin.com/pulse/sitecore-81-azure-search-provider-part-2-searching-jamie-scott&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.linkedin.com/pulse/sitecore-81-azure-search-provider-part-2-searching-jamie-scott&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-11-15T12:53:49.273" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2578" PostTypeId="1" CreationDate="2016-11-15T14:28:19.937" Score="3" ViewCount="170" Body="&lt;p&gt;We have configured Sitecore security on items for the roles and seeing the sensitive data in the browser logs. We have a custom error page which interrogates the return codes(403/404/ or any other) and redirect to an item.&#xA;For Ex: &#xA;Assume two roles : Admin and customer. &lt;br/&gt;&#xA;&lt;br/&gt;If there are two items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item1 - Admin and Customer have read access&lt;br/&gt;&#xA;Item2 - Only Admin has access&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When customer tries to access Item2 then Sitecore is redirecting to 403 as expected and the browser url is &lt;a href=&quot;https://mywebsite.com/error.aspx?code=403&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mywebsite.com/error.aspx?code=403&lt;/a&gt;. However when I see the browser network tab I see this : &lt;a href=&quot;https://mywebsite.com/error.aspx?code=403&amp;amp;&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mywebsite.com/error.aspx?code=403&amp;amp;&lt;/a&gt;&lt;strong&gt;item&lt;/strong&gt;=2fitemname&amp;amp;&lt;strong&gt;user&lt;/strong&gt;=username&amp;amp;&lt;strong&gt;site&lt;/strong&gt;=sitename &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to hide the highlighted information(item/user/site)? &lt;/p&gt;&#xA;" OwnerUserId="706" LastActivityDate="2016-11-16T18:11:11.963" Title="Any known way to hide Sitecore sensitive data" Tags="|security|role-management|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2579" PostTypeId="1" CreationDate="2016-11-15T14:33:24.150" Score="2" ViewCount="12160" Body="&lt;p&gt;I am trying to install a Sitecore site on a QA server and I am getting a very strange error that I can't figure out.  Basically what I did was first a clean install of Sitecore 8.1.  I verified that was working.  Then I simply copied all of our custom code in to the site. This includes all of our renderings, all of our custom DLLs and our custom config files.  Sort of the normal stuff you would expect when deploying custom code for a Sitecore instance.  Our site also has a custom Global.asax that inherits from some custom code of ours.  So when I try to open up the site I see the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Parser Error&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An error occurred during the parsing of a resource&#xA;  required to service this request. Please review the following specific&#xA;  parse error details and modify your source file appropriately. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Parser Error Message: Could not load type 'MyProject.Web.Global'.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Line 1:  &amp;lt;%@ Application Codebehind=&quot;Global.asax.cs&quot;&#xA;  Inherits=&quot;MyProject.Web.Global&quot; Language=&quot;C#&quot; %&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source File: /global.asax    Line: 1 &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Version Information: Microsoft .NET Framework Version:4.0.30319;&#xA;  ASP.NET Version:4.0.30319.34274&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;For some reason it seems like .NET can't find the assembly for my project which is definitely in the BIN folder like it should be.  I have Googled this and found all kinds of solutions that just say things like &quot;try re-copying all of your code&quot;.  I have done that a number of times with no luck.  I feel like I must be missing something very basic.  Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-11-15T16:42:21.880" Title="Strange &quot;Could not load type&quot; error in Global.asax" Tags="|deployment|installation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2580" PostTypeId="1" CreationDate="2016-11-15T14:41:22.733" Score="3" ViewCount="1171" Body="&lt;p&gt;We are getting a weird issue on CM environment.(Sitecore 8.1 update 2)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pages works fine when direct url is used, but error comes when we try login to sitecore&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;AppPool recycle solves the issue&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Access to the path 'c:\inetpub\wwwroot\cm-prod.npower.com-2016.11.9.1-deployments-2086\sitecore modules\debug' is denied&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Log shows above error and some of the times it also shows&#xA; &lt;strong&gt;Access to the path 'C:\inetpub\wwwroot\cm-prod.npower.com-2016.11.9.1-Deployments-2086\sitemaps\' is denied.&lt;/strong&gt; &#xA;along with above error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought to be permission related issue but folder is not at all there and the issue gets resolved after app pool recycle.&#xA;Issue comes once in a while (intermittent) but when issue start coming it stays there till app pool is recycled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;App pool identity is set to default app Pool idetity and all folder are set as modify access to IUSR_MachineName&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;snap of error given below&lt;a href=&quot;https://i.stack.imgur.com/mHpi7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mHpi7.png&quot; alt=&quot;snap image&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Ading stack trace as I captured it as image when error occured.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/FjPWL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FjPWL.png&quot; alt=&quot;Stack tracce&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Full stack trace given below&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;________________________________________&#xA;Access to the path 'c:\inetpub\wwwroot\cm--2016.11.9\sitecore modules\debug' is denied.&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.UnauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\cm--2016.11.9\sitecore modules\debug' is denied. &#xA;&#xA;ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via &amp;lt;identity impersonate=&quot;true&quot;/&amp;gt;, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. &#xA;&#xA;To grant ASP.NET access to a file, right-click the file in File Explorer, choose &quot;Properties&quot; and select the Security tab. Click &quot;Add&quot; to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.&#xA;&#xA;Source Error: &#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;[UnauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\cm--2016.11.9\sitecore modules\debug' is denied.]&#xA;   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +636&#xA;   System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) +1349&#xA;   System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) +73&#xA;   Sitecore.Web.UI.XmlControls.FolderControlSource.GetDebugFolder() +61&#xA;   Sitecore.Web.UI.XmlControls.FolderControlSource.AssemblyResolve(Object sender, ResolveEventArgs args) +79&#xA;   System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName) +195&#xA;&#xA;[FileLoadException: Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Access is denied.]&#xA;   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) +0&#xA;   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp;amp; stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) +106&#xA;   System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp;amp; stackMark) +62&#xA;   System.Type.GetType(String typeName) +42&#xA;   System.Web.Helpers.Claims.ClaimsIdentityConverter.GetDefaultConverters() +123&#xA;   System.Web.Helpers.Claims.ClaimsIdentityConverter..cctor() +126&#xA;&#xA;[TypeInitializationException: The type initializer for 'System.Web.Helpers.Claims.ClaimsIdentityConverter' threw an exception.]&#xA;   System.Web.Helpers.AntiForgery.CreateSingletonAntiForgeryWorker() +168&#xA;   System.Web.Helpers.AntiForgery..cctor() +15&#xA;&#xA;[TypeInitializationException: The type initializer for 'System.Web.Helpers.AntiForgery' threw an exception.]&#xA;   System.Web.Helpers.AntiForgery.GetHtml() +63&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.PageExtender.RibbonWebControl.DoRender(HtmlTextWriter output) +832&#xA;   Sitecore.Web.UI.WebControl.RenderAsText() +227&#xA;   Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.SpeakRibbon.RenderPageEditorSpeakExtender.Render(TextWriter writer) +116&#xA;  Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderPageExtendersProcessor.Process(RenderPageExtendersArgs args) +65&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +184&#xA;   Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.GetExtendersHtml() +158&#xA;   Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.get_ExtendersHtml() +31&#xA;   Sitecore.Mvc.ExperienceEditor.Pipelines.Request.RequestEnd.AddPageExtenders.Process(RequestEndArgs args) +200&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +184&#xA;   Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result) +135&#xA;   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +399&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +137&#xA;&#xA;________________________________________&#xA;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="493" LastEditorUserId="106" LastEditDate="2018-09-24T09:56:10.323" LastActivityDate="2018-09-24T09:56:10.323" Title="Sitecore 8.1 update 2 on Azure environment gives &quot;Access denied for debug folder of path /sitecore module/debug&quot; when trying to login" Tags="|azure|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="2581" PostTypeId="1" CreationDate="2016-11-15T14:46:10.950" Score="2" ViewCount="646" Body="&lt;p&gt;Scenario: In Sitecore Experience platform (8.1+) we have a xProfile/Contact, with zero-to-many Sitecore Certifications relation, as an example &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The contact Arthur Dent has over the years has earned three Sitecore certifications. In Sitecore his contact profile is therefore represented as follows: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Contact, [Arthur Dent, identifier: arthur@milliways.com] &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Cerificate 1, [Sitecore XP 8 Website Development, WDN, 2016]    &lt;/li&gt;&#xA;&lt;li&gt;Cerificate 2, [Sitecore Context Marketing Fundamentals, CMF, 2015]     &lt;/li&gt;&#xA;&lt;li&gt;Cerificate 3, [Sitecore OMS 1.1 .NET Developer, OMS, 2013]&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The datamodel should be used for creating a Segmented list using List Manager, i.e. from using the custom condition: &quot;where the contact has earned a &lt;em&gt;WDN&lt;/em&gt; certificate wihtin &lt;em&gt;2016&lt;/em&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Behind this rule, we are planning on using the Lucene/Solr index to ensure performance and compliancy. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question: What are the recommended practices for indexing/representing/querying relational (one-to-many) data in Lucene/Solr?&lt;/p&gt;&#xA;" OwnerUserId="1096" LastEditorUserId="104" LastEditDate="2016-11-24T16:23:10.977" LastActivityDate="2016-11-24T16:23:10.977" Title="Representing relational data in Lucene/Solr index for Segmented lists" Tags="|solr|indexing|list-manager|contact-facets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2582" PostTypeId="2" ParentId="2530" CreationDate="2016-11-15T15:28:56.467" Score="14" Body="&lt;p&gt;I figured out the problem.  Turns out I had &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt; and &lt;code&gt;Sitecore.Analytics.Processing.Services.config&lt;/code&gt; files disabled.  I had disabled them during the install of another module and never re-enabled them.  Once I re-enabled them then the reporting database rebuild worked fine.&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="10" LastEditDate="2016-12-21T03:12:04.493" LastActivityDate="2016-12-21T03:12:04.493" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2583" PostTypeId="2" ParentId="2580" CreationDate="2016-11-15T15:35:40.563" Score="1" Body="&lt;p&gt;I believe that method instigates the following pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;speak.client.initialize.layout&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Web.Pipelines.InitializeSpeakLayout.CheckUserAccess, Sitecore.Speak.Client&quot; /&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Web.Pipelines.InitializeSpeakLayout.SetDisplayMode, Sitecore.Speak.Client&quot; /&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Web.Pipelines.InitializeSpeakLayout.SetAntiForgeryToken, Sitecore.Speak.Client&quot; /&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Web.Pipelines.InitializeSpeakLayout.DisableAnalytics, Sitecore.Speak.Client&quot; /&amp;gt;&#xA;&amp;lt;/speak.client.initialize.layout&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could check that this hasn't been customized (it's normally found in Sitecore.Speak.config).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the code in those pipelines - if it's not custom code it'll be trying to write the AntiForgeryToken in that folder (it must be the default folder set when you create a new StringWriter).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd log this as an issue with Sitecore and create those folders in the interim.&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-11-15T15:35:40.563" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2584" PostTypeId="1" AcceptedAnswerId="2585" CreationDate="2016-11-15T16:06:01.760" Score="4" ViewCount="2347" Body="&lt;p&gt;I'm trying to figure out of this is even possible, and if so, how to go about it.&#xA;I have a requirement that URLs be localized to the target language, but that the items are common and translated. ex:&#xA;the item at &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/Content/Home/About/ContactUs&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;would be reachable at:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;www.example.ca/About/ContactUs&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for the en variant, but the french translation could have a URL along the lines of:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;www.example.ca/Sur/ContactezNous&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this even possible?  Have you tackled it yourself?  What was your approach?&lt;/p&gt;&#xA;" OwnerUserId="19" LastEditorUserId="70" LastEditDate="2016-11-15T16:17:23.923" LastActivityDate="2018-05-02T11:39:18.760" Title="Can I create and resolve URLs in the language of the current locale?" Tags="|multilingual|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2585" PostTypeId="2" ParentId="2584" CreationDate="2016-11-15T16:12:12.000" Score="6" Body="&lt;p&gt;This is ootb functionality if you use the display names. First of all, set the display names of the items (like displayname &quot;Sur&quot; for the &quot;about&quot; item in French).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then patch the LinkManager settings like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;linkManager&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;sitecore&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;useDisplayName&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/add&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will tell Sitecore to use the display names when creating urls, resulting in the behavior you requested.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore will be able to resolve the url's as long as the language is known and set to the one needed for your request. As that might not always be the case, the best thing to do is to add the language to the url - this will result in &lt;code&gt;www.example.ca/en/About/ContactUs&lt;/code&gt; and &lt;code&gt;www.example.ca/fr/Sur/ContactezNous&lt;/code&gt;. To do this, set the languageEmbedding parameter to always by adding this line in the config above:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;          &amp;lt;patch:attribute name=&quot;languageEmbedding&quot;&amp;gt;always&amp;lt;/patch:attribute&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-15T17:24:11.950" LastActivityDate="2016-11-15T17:24:11.950" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2587" PostTypeId="1" CreationDate="2016-11-15T16:41:23.463" Score="0" ViewCount="120" Body="&lt;p&gt;I upgraded my dev instance from Sitecore 8.1 Update 2, to Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It indicated that my upgrade was successful.   But now I get this error message when I try to access my site or after login to the admin:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Attempt by method 'Glass.Mapper.Sc.Utilities.get_IsPageEditor()' to&#xA;  access method 'Sitecore.Context+PageMode.get_IsPageEditor()' failed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Looking in the bin folder it appears that the site currently has the DLLs for:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Glass.Mapper: 4.2.3.190 &lt;/li&gt;&#xA;&lt;li&gt;Glass.Mapper.Sc: 4.2.3.190&lt;/li&gt;&#xA;&lt;li&gt;Glass.Mapper.Sc.Mvc: 4.2.3.190 &lt;/li&gt;&#xA;&lt;li&gt;Glass.Mapper.Sc.CastleWindsor.dll:&#xA;3.5.3.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Are these correct?  :-(&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="1025" LastEditDate="2016-11-15T21:22:01.607" LastActivityDate="2016-11-15T21:22:01.607" Title="Glassmapper Error after upgrade to Sitecore 8.2" Tags="|glass-mapper|upgrade|" AnswerCount="0" CommentCount="3" ClosedDate="2016-11-16T08:34:14.903" ContentLicense="CC BY-SA 3.0" />
  <row Id="2588" PostTypeId="2" ParentId="2579" CreationDate="2016-11-15T16:42:21.880" Score="1" Body="&lt;p&gt;Thanks to Justin Laster and Marek Musielak I figured it out.  Yes my Global class did inherit from Sitecore.ContentSearch.SolrProvider.UnityIntegration.UnityApplication.  And I went and got the Solr Support zip file for 8.1 from Sitecore and copied them in to the BIN folder, and then it worked.  So I think I must have had an older list of Solr support files in my BIN folder.  So now it is working.  Thanks so much.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-11-15T16:42:21.880" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2589" PostTypeId="1" AcceptedAnswerId="2592" CreationDate="2016-11-15T17:11:56.810" Score="9" ViewCount="2201" Body="&lt;p&gt;One of our clients has a large multi-site solution, with 3 sites that have about 100k+ pages each. All three sites have about 3/4 of their contained pages in bucketed items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To generate the sitemaps for this site, I can think of the following options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Generate each sitemap on publish end for each site that had items published&lt;/li&gt;&#xA;&lt;li&gt;Update sitemap for each item that has been published (add/delete/rename/no change) once the item finished publishing&lt;/li&gt;&#xA;&lt;li&gt;Update each sitemap on manual trigger&lt;/li&gt;&#xA;&lt;li&gt;Update each sitemap via a scheduled task&lt;/li&gt;&#xA;&lt;li&gt;Generate each sitemap at runtime and cache&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I don't think the options that happen after publish are super feasible - the site is pretty big and that adds a lot of weight to publish. Plus, coding in the &quot;add/delete/rename/no change&quot; logic for updating a sitemap just seems like way more effort than it should be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried to go the route of generating the sitemap at runtime and caching it, but we started getting sporadic 504 errors on some of the &quot;first loads&quot; because of timeouts while the sitemap was trying to generate. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am leaning towards the scheduler route. Does anyone have any other implementations that they have done for situations like this that may be better?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Update:&lt;/strong&gt; please note that I am really looking for code-solutions, rather than modules. However, if you want to link to a module and provide a suggestion based on a highlighted bit of code from the module's implementation that that is more than welcome!&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-15T17:40:13.090" LastActivityDate="2016-11-15T19:49:52.417" Title="Options for sitemap generation on larger solutions" Tags="|multisite|sitemap|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2590" PostTypeId="2" ParentId="2589" CreationDate="2016-11-15T17:24:36.107" Score="4" Body="&lt;p&gt;Have you tried the &lt;a href=&quot;https://marketplace.sitecore.net/Modules/U/Ultimate_Sitemap_XML.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Ultimate Sitemap module&lt;/a&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if you can schedule tasks for it out of the box to be honest. But I think you can get that with the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Automated_Publisher.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Automated publisher module&lt;/a&gt; as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I myself have tried the Ultimate Sitemap module and liked it to perform tasks like you described.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-11-15T17:24:36.107" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2591" PostTypeId="2" ParentId="2580" CreationDate="2016-11-15T19:44:33.220" Score="3" Body="&lt;p&gt;If you are using the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Azure.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Azure&lt;/a&gt; module for deploying Sitecore solution to Platform-as-a-Service (PaaS) environment (&lt;a href=&quot;https://azure.microsoft.com/en-us/services/cloud-services/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Cloud Services&lt;/a&gt;), then the reason of the issue is due to incorrect script that sets permission in the file system:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/077317&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/077317&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-11-15T19:44:33.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2592" PostTypeId="2" ParentId="2589" CreationDate="2016-11-15T19:49:52.417" Score="8" Body="&lt;p&gt;I have done this before by using a custom handler to provide the sitemap. In the handler I used the SearchAPI to pull a list of all items that are derived from a &lt;code&gt;_Sitemap&lt;/code&gt; template and that have the field in that template (&lt;code&gt;Hide from Sitemap&lt;/code&gt;) set to false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The output of the handler is stored in the Sitecore HtmlCache, so on a publish the cache is cleared and the next time the sitemap is requested it updates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a really rough example of how it can work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SitemapHandler : IHttpHandler&#xA;{&#xA;    private readonly Stack&amp;lt;SitemapNode&amp;gt; siteNodes = new Stack&amp;lt;SitemapNode&amp;gt;(); &#xA;&#xA;    public void ProcessRequest(HttpContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        if (this.DoProcessRequest(context))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        context.Response.StatusCode = 404;&#xA;        context.Response.ContentType = &quot;text/html&quot;;&#xA;    }&#xA;&#xA;    private bool DoProcessRequest(HttpContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)context, &quot;context&quot;);&#xA;&#xA;        var htmlCache = CacheManager.GetHtmlCache(Sitecore.Context.Site);&#xA;        var cacheKey = $&quot;{Sitecore.Context.Site.Name}__sitemap&quot;;&#xA;        var xml = htmlCache?.GetHtml(cacheKey) ?? string.Empty;&#xA;&#xA;&#xA;        if (string.IsNullOrWhiteSpace(xml))&#xA;        {&#xA;            var sitemapNodes = this.GetSitemapNodes(); // this gets all the items from Sitecore that need to go into the sitemap &#xA;            xml = this.GetSitemapDocument(sitemapNodes);&#xA;            htmlCache?.SetHtml(cacheKey, xml);&#xA;        }&#xA;&#xA;        context.Response.Write(xml);&#xA;        context.Response.StatusCode = 200;&#xA;        context.Response.ContentType = &quot;text/xml&quot;;&#xA;&#xA;        return true;&#xA;    }&#xA;&#xA;    public string GetSitemapDocument(IEnumerable&amp;lt;SitemapNode&amp;gt; sitemapNodes)&#xA;    {&#xA;        XNamespace xmlns = &quot;http://www.sitemaps.org/schemas/sitemap/0.9&quot;;&#xA;&#xA;        var root = new XElement(xmlns + &quot;urlset&quot;);&#xA;&#xA;        foreach (var sitemapNode in sitemapNodes)&#xA;        {&#xA;            var urlElement = new XElement(xmlns + &quot;url&quot;, new XElement(xmlns + &quot;loc&quot;, Uri.EscapeUriString(sitemapNode.Url)), sitemapNode.LastModified == null ? null : new XElement(xmlns + &quot;lastmod&quot;, sitemapNode.LastModified.Value.ToLocalTime().ToString(&quot;yyyy-MM-ddTHH:mm:sszzz&quot;)), sitemapNode.Frequency == null ? null : new XElement(xmlns + &quot;changefreq&quot;, sitemapNode.Frequency.Value.ToString().ToLowerInvariant()), sitemapNode.Priority == null ? null : new XElement(xmlns + &quot;priority&quot;, sitemapNode.Priority.Value.ToString(&quot;F1&quot;, CultureInfo.InvariantCulture)));&#xA;            root.Add(urlElement);&#xA;        }&#xA;        var document = new XDocument(root);&#xA;        return document.ToString();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To get that responding when you hit &lt;code&gt;/sitemap.xml&lt;/code&gt; you can just add it to the custom handlers in the sitecore config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;customHandlers&amp;gt;&#xA;            &amp;lt;handler trigger=&quot;sitemap.xml&quot; handler=&quot;sitemap.ashx&quot; /&amp;gt;&#xA;        &amp;lt;/customHandlers&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then add the handler to the web.config in &lt;code&gt;system.webServer&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;SitemapXml&quot; path=&quot;sitemap.ashx&quot; verb=&quot;GET&quot; type=&quot;MyProject.Handlers.SitemapHandler&quot; preCondition=&quot;integratedMode,runtimeVersionv4.0&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You are still going to get a big hit for a large site on an uncached sitemap tho. This was used for a smaller site that updated the content a lot, there were multiple sitemaps specific for news articles and videos, so it needed to be updated often.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could run this on a scheduled task or as an async job post publish.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-15T19:49:52.417" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2593" PostTypeId="2" ParentId="2575" CreationDate="2016-11-15T19:56:02.597" Score="2" Body="&lt;p&gt;Sitecore already uses &lt;a href=&quot;https://azure.microsoft.com/en-us/services/search/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Search&lt;/a&gt; service for hosting the &lt;code&gt;sitecore_analytics_index&lt;/code&gt; as a part of the &lt;a href=&quot;https://doc.sitecore.net/xdb_cloud/20/working_with_xdb_cloud/xdb_cloud_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore xDB Cloud&lt;/a&gt; hosting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Future updates of Sitecore XP 8.2 will come with Azure Search provider out of the box and will bring support for content indexes such as &lt;code&gt;sitecore_core_index&lt;/code&gt;, &lt;code&gt;sitecore_master_index&lt;/code&gt;, &lt;code&gt;sitecore_web_index&lt;/code&gt;, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stay tune.&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-11-15T19:56:02.597" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2594" PostTypeId="1" AcceptedAnswerId="2602" CreationDate="2016-11-15T20:13:02.547" Score="2" ViewCount="1442" Body="&lt;p&gt;Unicorn version 3.2.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue I am having is that in several environments when I update a item that is being controlled by Unicorn, it is updating the yml file on disk. The expected behavior is to only update the yml files when I perform a serialization. Coworkers have suggested that I am missing a config setting that makes this an option. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it the expected behavior for yml files to be updated with transparent sync off? And how can I turn this feature off.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-15T23:08:53.160" Title="Unicorn writing to disk with Transparent Sync off" Tags="|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2595" PostTypeId="2" ParentId="2528" CreationDate="2016-11-15T20:42:02.607" Score="0" Body="&lt;p&gt;I would suggest to you to check these answer here - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2415/how-should-i-remove-the-default-home-item&quot;&gt;How should I remove the default Home item?&lt;/a&gt;. It shows what you should change if you remove the  default Home item from master and web database.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-15T20:42:02.607" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2596" PostTypeId="1" CreationDate="2016-11-15T20:50:46.923" Score="2" ViewCount="91" Body="&lt;p&gt;In my attempt to customize error pages, I have overridden the settings for ItemNotFoundUrl, LinkItemNotFoundUrl, and LayoutNotFoundUrl to point to a page in sitecore; /errors/ContentNotFound.  The page exists and renders when I navigate to it, but when I try to trigger it with a bad path I get this instead:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TjI9f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TjI9f.png&quot; alt=&quot;Server Error in Application&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;When I use a static page for the setting, I get its content.  Can I not use a Sitecore hosted page as the target for these *NotFound conditions?&lt;/p&gt;&#xA;" OwnerUserId="19" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-24T17:54:38.173" Title="Can I point ItemNotFoundUrl at sitecore content?" Tags="|configuration|" AnswerCount="0" CommentCount="0" FavoriteCount="0" ClosedDate="2016-11-16T08:34:33.233" ContentLicense="CC BY-SA 3.0" />
  <row Id="2597" PostTypeId="2" ParentId="221" CreationDate="2016-11-15T21:35:44.010" Score="9" Body="&lt;p&gt;You can, but not by just putting the links in the settings. I'm afraid it's a bit more work but luckily it has been done before and shared. One example can be found in this &lt;a href=&quot;https://laubplusco.net/handling-404-sitecore-avoid-302-redirects/&quot; rel=&quot;noreferrer&quot;&gt;blog&lt;/a&gt; by Anders Laub but there are many other examples out there - although it always comes down to the same principle: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When an item is not found by the ItemResolver or if the current item does not have a layout then we would like the response to have status code 404 and we want to show a nice looking page which the editors can control for each site in a solution.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To achieve this, you need to implement a &lt;code&gt;HttpRequestProcessor&lt;/code&gt; and place it in the &lt;code&gt;HttpRequestBegin&lt;/code&gt; pipeline after the &lt;code&gt;ItemResolver&lt;/code&gt;. In the processor you can check your context (item, ...) - for performance it is important to exit as soon as possible. If you detect an &quot;error&quot; you can set the context item to a desired one showing the error.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="70" LastEditDate="2016-11-15T22:03:56.847" LastActivityDate="2016-11-15T22:03:56.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2598" PostTypeId="1" AcceptedAnswerId="2599" CreationDate="2016-11-15T22:00:27.317" Score="3" ViewCount="1493" Body="&lt;p&gt;Getting Following Exception in CD Server where Xdb is enabled and rest all configs are disabled. Master Database has been turned to Pub Database(Live Database).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3248 21:44:46 ERROR Error loading hook: &amp;lt;hook          type=&quot;Sitecore.ContentSearch.Hooks.Initializer, Sitecore.ContentSearch&quot; patch:source=&quot;Sitecore.ContentSearch.config&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; /&amp;gt;&#xA;        Exception: System.InvalidOperationException&#xA;    Message: Could not find configuration node: marketingDefinitionSearch/indexConfigurations/marketingDefinitionLuceneIndexConfiguration&#xA;    Source: Sitecore.Kernel&#xA;       at Sitecore.Configuration.DefaultFactory.GetConfigNode(String xpath, Boolean assert)&#xA;       at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;       at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;       at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;       at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;       at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;       at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)&#xA;       at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;       at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;       at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;       at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)&#xA;       at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;       at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;       at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;       at Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration()&#xA;       at Sitecore.ContentSearch.Hooks.Initializer.Initialize()&#xA;       at Sitecore.Events.Hooks.HookManager.LoadAll()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Though this is background error from log and I don't see any visible implication of this as of now. Any clue why it is so. You can find the showconfig output &lt;a href=&quot;https://1drv.ms/f/s!AjgrI9CsuLVVkCRviwrYe0iSynzB&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="227" LastActivityDate="2016-11-15T22:10:45.207" Title="Could not find configuration node: marketingDefinitionSearch/indexConfigurations/marketingDefinitionLuceneIndexConfiguration" Tags="|xdb|content-search|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2599" PostTypeId="2" ParentId="2598" CreationDate="2016-11-15T22:10:45.207" Score="2" Body="&lt;p&gt;It looks like you're missing &lt;code&gt;Sitecore.Marketing.Lucene.IndexConfiguration.config&lt;/code&gt; from the &lt;code&gt;App_Config&lt;/code&gt; directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copy this file from the clean Sitecore install.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-11-15T22:10:45.207" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2600" PostTypeId="2" ParentId="2594" CreationDate="2016-11-15T22:37:39.723" Score="2" Body="&lt;p&gt;&lt;code&gt;Transparent sync&lt;/code&gt; is about reading the serialized items from the drive and updating them in Sitecore tree without manual triggers. It's not about serializing items back to the drive. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read more about transparent sync in article: &lt;a href=&quot;http://kamsar.net/index.php/2015/10/Unicorn-Introducing-Transparent-Sync/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Introducing Transparent Sync in Unicorn 3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want your item not to be serialized every time something has been changed, just exclude this item from you unicorn serialization config. &lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-11-15T22:37:39.723" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2601" PostTypeId="1" AcceptedAnswerId="2607" CreationDate="2016-11-15T22:54:28.777" Score="3" ViewCount="1685" Body="&lt;p&gt;I did a &quot;roll my own&quot; implementation of Geo IP Location, instead of paying for the Sitecore one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My data is getting recorded.  I can see it under each contacts profile details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I go into the Experience Analytics Dashboard &gt; Audience &gt; Locations the Country and Region show only [unknown country] and [unknown region]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The city is filled out just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am guessing this is because country and region are being expected in some specific format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here we see country &lt;em&gt;is recorded&lt;/em&gt; for contacts.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vTXmh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vTXmh.png&quot; alt=&quot;Country is recorded&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But here, we see that all countries show up as unknown.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9iKBt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9iKBt.png&quot; alt=&quot;All countries shown up as unknown&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;UPDATE: This is my implementation code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Newtonsoft.Json;&#xA;using Sitecore;&#xA;using Sitecore.Analytics.Lookups;&#xA;using Sitecore.Analytics.Model;&#xA;using Sitecore.Diagnostics;&#xA;using System;&#xA;using System.Net;&#xA;&#xA;&#xA;namespace MySite.Analytics&#xA;{&#xA;    public class IPLookupProvider : LookupProviderBase&#xA;    {&#xA;        [UsedImplicitly]&#xA;        public override WhoIsInformation GetInformationByIp(string ipAddress)&#xA;        {&#xA;            WhoIsInformation whois = new WhoIsInformation();&#xA;            if (!string.IsNullOrWhiteSpace(ipAddress))&#xA;            {&#xA;                try&#xA;                {&#xA;                    if (Location.IsPrivateIP(ipAddress) == false)&#xA;                    {&#xA;&#xA;                        Uri geoLocationServiceUrl = new Uri(&quot;https://freegeoip.net/json/&quot; + ipAddress);&#xA;                        WebClient client = new WebClient();&#xA;                        var serviceResponse = client.DownloadString(geoLocationServiceUrl);&#xA;                        dynamic serviceData = JsonConvert.DeserializeObject(serviceResponse);&#xA;&#xA;                        whois.City = serviceData.city ?? string.Empty;&#xA;                        whois.MetroCode = serviceData.metro_code.ToString() ?? string.Empty;&#xA;                        whois.Region = serviceData.region_name ?? string.Empty;&#xA;                        whois.PostalCode = serviceData.zip_code ?? string.Empty;&#xA;                        whois.Country = serviceData.country_name ?? string.Empty;&#xA;                        whois.Latitude = serviceData.latitude ?? 0;&#xA;                        whois.Longitude = serviceData.longitude ?? 0;&#xA;                    }&#xA;                }&#xA;                catch (Exception ex)&#xA;                {&#xA;                    Log.Error(&quot;JDA.Analytics.IPLookupProvider.GetInformationByIp: &quot; + ex.StackTrace.ToString(), ex, &quot;Location&quot;);&#xA;                }&#xA;            }&#xA;            return whois;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And my patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;lookupManager&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;defaultProvider&quot;&amp;gt;custom&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;custom&quot; type=&quot;MySite.Analytics.IPLookupProvider, MySite.Analytics&quot;/&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/lookupManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I look in Mongo it appears that all the Country, Region, etc. fields are &#xA;&quot;N/A&quot;.   But if I look at the details for the Contact they are populated. &lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="369" LastEditDate="2016-11-17T20:44:45.170" LastActivityDate="2016-11-17T20:44:45.170" Title="unknown country and unknown region in Sitecore Experience Analytics" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2602" PostTypeId="2" ParentId="2594" CreationDate="2016-11-15T23:08:53.160" Score="6" Body="&lt;p&gt;Transparent Sync is off by default and something you deliberately enable. With Transparent Sync, for items controlled by Unicorn it &lt;strong&gt;bypasses the Sitecore database completely&lt;/strong&gt;. In effect, the filesystem &lt;strong&gt;becomes&lt;/strong&gt; the item data-store.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In regular Unicorn usage, you still use the Sitecore databases, but any items controlled by Unicorn (i.e. specified in a configuration) are &lt;em&gt;additionally&lt;/em&gt; serialized to the filesystem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In environments where you don't want Unicorn to maintain serialized items on disk, you can remove / disable the &lt;code&gt;Unicorn.DataProvider.config&lt;/code&gt; file. This still allows you to use the UI to deserialize items from the filesystem, but it won't update the filesystem as items are edited in that environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a typical scenario, you would have the DataProviders enabled on your development machines so that you can keep the filesystem in-sync with the items as you edit them, and then commit those serialized items to source control. Your other environments, such as production, would have the DataProviders disabled as you would only want to deploy the changes up to them, and not be interested in tracking the changes after that.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-11-15T23:08:53.160" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2603" PostTypeId="2" ParentId="2214" CreationDate="2016-11-16T02:18:15.557" Score="0" Body="&lt;p&gt;As Richard said, Sitecore doesn't officially support &lt;a href=&quot;https://azure.microsoft.com/en-us/services/app-service/web/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure App Service&lt;/a&gt; (Web Apps) yet, but you can run Sitecore on it with some caveats.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check this article:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/olegburov/Sitecore-Azure-Content/blob/master/articles/how-to-deploy-sitecore-81-solution-to-microsoft-azure-web-app-using-visual-studio.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/olegburov/Sitecore-Azure-Content/blob/master/articles/how-to-deploy-sitecore-81-solution-to-microsoft-azure-web-app-using-visual-studio.md&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would recommend start looking to version 8.2 of Sitecore XP, where Azure Web Apps support is coming.&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-11-16T02:18:15.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2604" PostTypeId="2" ParentId="1940" CreationDate="2016-11-16T02:34:03.627" Score="2" Body="&lt;p&gt;Microsoft is going to &lt;a href=&quot;https://azure.microsoft.com/en-us/blog/azure-managed-cache-and-in-role-cache-services-to-be-retired-on-11-30-2016/&quot; rel=&quot;nofollow noreferrer&quot;&gt;retire Azure In-Role Cache&lt;/a&gt; on 30-Nov-2016, which Sitecore Azure module uses as a storage for session data. It's recommended upgrading the module to the latest version of &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Azure/80/Sitecore_Azure_80_Update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;8.0 rev. 161110&lt;/a&gt; or &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Azure/Sitecore_Azure_81/Sitecore_Azure_81_Update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;8.1 rev.161109&lt;/a&gt; and start utilizing the &lt;a href=&quot;https://azure.microsoft.com/en-us/services/cache/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Redis Cache&lt;/a&gt; with Sitecore Redis Session State provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details, see the following article:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/013487&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/013487&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-11-16T02:34:03.627" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2605" PostTypeId="1" AcceptedAnswerId="2606" CreationDate="2016-11-16T03:24:34.683" Score="5" ViewCount="891" Body="&lt;p&gt;I need to run specific agents on demand. When I try to create a new instance of the agent using PowerShell's &lt;code&gt;New-Object&lt;/code&gt; command it doesn't seem to work right.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2022-07-20T17:31:24.297" Title="How do you programmatically run a Sitecore agent using Sitecore PowerShell Extensions?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2606" PostTypeId="2" ParentId="2605" CreationDate="2016-11-16T03:24:34.683" Score="8" Body="&lt;p&gt;Here are a few examples I was able to figure out today. I welcome any recommendations on a better way to do this.&lt;/p&gt;&#xA;&lt;p&gt;Each example loops through the list of agents in the configuration then creates and starts a new job. Using the &lt;strong&gt;Sitecore Configuration Factory&lt;/strong&gt;, agents are instantiated and applied as options to a new &lt;strong&gt;Sitecore Job&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;h3&gt;CleanupAgent&lt;/h3&gt;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;foreach($node in [Sitecore.Configuration.Factory]::GetConfigNodes(&amp;quot;scheduling/agent&amp;quot;) | Where-Object { $_.Type -like &amp;quot;Sitecore.Tasks.CleanupAgent&amp;quot;}) {&#xA;    $obj = [Sitecore.Configuration.Factory]::CreateObject($node, $true)&#xA;    $name = [Sitecore.Xml.XmlUtil]::GetAttribute(&amp;quot;type&amp;quot;, $node)&#xA;    $method = [Sitecore.Xml.XmlUtil]::GetAttribute(&amp;quot;method&amp;quot;, $node)&#xA;    $options = New-Object Sitecore.Jobs.JobOptions $name, &amp;quot;&amp;quot;, &amp;quot;&amp;quot;, $obj, $method&#xA;    $options.AtomicExecution = $true&#xA;    $options.SiteName = &amp;quot;scheduler&amp;quot;&#xA;    [Sitecore.Jobs.JobManager]::Start($options)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;CleanupPublishQueue, CleanupEventQueue, CleanupHistory&lt;/h3&gt;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;foreach($node in [Sitecore.Configuration.Factory]::GetConfigNodes(&amp;quot;scheduling/agent&amp;quot;) | Where-Object { $_.Type -like &amp;quot;*CleanupPublishQueue*&amp;quot; -or $_.Type -like &amp;quot;*CleanupEventQueue*&amp;quot; -or $_.Type -like &amp;quot;*CleanupHistory*&amp;quot;}) {&#xA;    $obj = [Sitecore.Configuration.Factory]::CreateObject($node, $true)&#xA;    $name = [Sitecore.Xml.XmlUtil]::GetAttribute(&amp;quot;type&amp;quot;, $node)&#xA;    $method = [Sitecore.Xml.XmlUtil]::GetAttribute(&amp;quot;method&amp;quot;, $node)&#xA;    $options = New-Object Sitecore.Jobs.JobOptions $name, &amp;quot;&amp;quot;, &amp;quot;&amp;quot;, $obj, $method&#xA;    $options.AtomicExecution = $true&#xA;    $options.SiteName = &amp;quot;website&amp;quot;&#xA;    [Sitecore.Jobs.JobManager]::Start($options)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For newer versions of Sitecore (not sure when it changed but experienced an issue on 10.2), the &lt;code&gt;JobOptions&lt;/code&gt; class name has changed.&lt;/p&gt;&#xA;&lt;p&gt;Change &lt;code&gt;Sitecore.Jobs.JobOptions&lt;/code&gt; to &lt;code&gt;Sitecore.Jobs.DefaultJobOptions&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="-1" LastEditDate="2022-07-20T17:31:24.297" LastActivityDate="2022-07-20T17:31:24.297" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2607" PostTypeId="2" ParentId="2601" CreationDate="2016-11-16T04:54:36.860" Score="3" Body="&lt;p&gt;Here is my roll you own provider. I have tested this in 8.0 and 8.1.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   public class IPLookupProvider : LookupProviderBase&#xA;    {&#xA;        [UsedImplicitly]&#xA;        public override WhoIsInformation GetInformationByIp(string ip)&#xA;        {&#xA;            Assert.ArgumentNotNull(ip, &quot;ip&quot;);&#xA;            WhoIsInformation whoIsInformation = new WhoIsInformation();&#xA;&#xA;            Log.Info(&quot;Looking up IP &quot; + ip, &quot;WhoIsInformation&quot;);&#xA;&#xA;            try&#xA;            {&#xA;                string text = RequestIPData(ip);&#xA;                var matchCollection = Regex.Matches(text, &quot;(?&amp;lt;=^|,)(\\\&quot;[^\\\&quot;]*\\\&quot;|[^,]*)&quot;);&#xA;&#xA;                if (text.IndexOf(&quot;IP_NOT_FOUND&quot;, StringComparison.Ordinal) &amp;gt;= 0)&#xA;                {&#xA;                    return ContactLocation.CreateUnknown();&#xA;                }&#xA;&#xA;&#xA;                string[] array = kickfireFormat.Split(',');&#xA;                if (matchCollection.Count == 0)&#xA;                {&#xA;&#xA;                    throw new Exception(&quot;Unexpected format. Cannot parse the IP lookup response for IP address: {0}{1}{2}&quot;.FormatWith(ip, Environment.NewLine, text));&#xA;                }&#xA;&#xA;                Log.Info(&quot;IP info is &quot; + text, &quot;WhoIsInformation&quot;);&#xA;&#xA;                var model = JsonConvert.DeserializeObject&amp;lt;IpLookup.RootObject&amp;gt;(text);&#xA;&#xA;                if (model != null&#xA;                    &amp;amp;&amp;amp; model.status == &quot;success&quot;)&#xA;                {&#xA;                    double latitude = 0;&#xA;                    double longitude = 0;&#xA;&#xA;                    whoIsInformation.BusinessName = model.data.name;&#xA;                    whoIsInformation.City = model.data.city;&#xA;                    whoIsInformation.Country = model.data.country;&#xA;                    double.TryParse(model.data.latitude, out latitude);&#xA;                    double.TryParse(model.data.longitude, out longitude);&#xA;&#xA;                    whoIsInformation.Latitude = latitude;&#xA;                    whoIsInformation.Longitude = longitude;&#xA;&#xA;                    whoIsInformation.Region = model.data.region;&#xA;&#xA;                }&#xA;&#xA;                Log.Info(&quot;Model was successful.&quot; + whoIsInformation.BusinessName + &quot;-&quot; + whoIsInformation.City, &quot;WhoIsInformation&quot;);&#xA;&#xA;            }&#xA;            catch (Exception exception)&#xA;            {&#xA;                Logging.Helpers.Logging.LogError(exception.StackTrace, exception);&#xA;            }&#xA;            return whoIsInformation;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The RequestIP data looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{  &#xA;   &quot;status&quot;:&quot;success&quot;,&#xA;   &quot;result&quot;:1,&#xA;   &quot;data&quot;:{  &#xA;      &quot;name&quot;:&quot;Vodafone GmbH&quot;,&#xA;      &quot;city&quot;:&quot;Disteln&quot;,&#xA;      &quot;region&quot;:&quot;Nordrhein-Westfalen&quot;,&#xA;      &quot;countryShort&quot;:&quot;DE&quot;,&#xA;      &quot;country&quot;:&quot;Germany&quot;,&#xA;      &quot;latitude&quot;:&quot;51.606010&quot;,&#xA;      &quot;longitude&quot;:&quot;7.149110&quot;&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;lookupManager&amp;gt;&#xA;      &amp;lt;x:attribute name=&quot;defaultProvider&quot;&amp;gt;bonfire&amp;lt;/x:attribute&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;bonfire&quot; type=&quot;YourApp.IPLookupProvider, YourApp&quot;/&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/lookupManager&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also have you looking in Mongo to see if you country is there and valid? Its in the GeoIP table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AwSl4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AwSl4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-16T04:54:36.860" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2608" PostTypeId="1" AcceptedAnswerId="2638" CreationDate="2016-11-16T05:52:37.083" Score="1" ViewCount="133" Body="&lt;p&gt;When I try to create a custom rule and pass field name, I get &#xA;Instance property 'textField' is not defined for type 'Sitecore.ContentSearch.SearchTypes.SearchResultItem' exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how my query expression is set.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public Expression GetQueryExpression(ConditionContext p_Context)&#xA;    {&#xA;        Expression readNameProperty = Expression.Property(p_Context.ParameterExpression, &quot;textField&quot;);&#xA;        Expression standardValuesConstant = Expression.Constant(&quot;somevalue&quot;);&#xA;&#xA;        return Expression.Equal(readNameProperty, standardValuesConstant);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="73" LastEditDate="2016-11-16T13:29:19.057" LastActivityDate="2017-09-28T01:30:00.407" Title="How to set a item field as ParameterExpression in Coveo" Tags="|content-search|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2609" PostTypeId="1" CreationDate="2016-11-16T09:55:12.873" Score="6" ViewCount="512" Body="&lt;p&gt;This is Sitecore 8.2 initial release. Im logged in as Admin, same result on items that has workflows or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't set publish restrictions as show in image. The warning shows and the version handling isn't working. Why can't I modify the item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore displays a warning: &lt;code&gt;You cannot change publish restrictions as you cannot modify the item.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the affected item there are two visible warnings:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You must lock this item before you can edit it&lt;/li&gt;&#xA;&lt;li&gt;This item is controlled by Unicorn&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If I lock the item it just creates a new version of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ulklv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ulklv.png&quot; alt=&quot;Publish restriction image&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="756" LastEditorUserId="66" LastEditDate="2016-11-16T11:34:26.180" LastActivityDate="2017-05-24T12:01:25.527" Title="Unable to change publishing settings as admin" Tags="|publishing|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2610" PostTypeId="2" ParentId="2609" CreationDate="2016-11-16T10:01:04.443" Score="7" Body="&lt;p&gt;This might happen if the item is protected. You can verify this by clicking on an item in the content editor. You will see an information about item being protected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T3CIu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T3CIu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are an admin you can unprotect the item and then be able to modify publish settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further reading: &lt;a href=&quot;http://contenttree.blogspot.com/2008/02/hiding-and-protecting-items.html&quot; rel=&quot;noreferrer&quot;&gt;http://contenttree.blogspot.com/2008/02/hiding-and-protecting-items.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2016-11-16T10:01:04.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2611" PostTypeId="2" ParentId="2609" CreationDate="2016-11-16T10:09:37.717" Score="5" Body="&lt;p&gt;While Szymon's answer could be the cause, another possibility is that the item is actually locked by someone else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XSamd.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XSamd.png&quot; alt=&quot;Logged in as admin, but item locked by someone else&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2016-11-16T10:09:37.717" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2612" PostTypeId="1" AcceptedAnswerId="2792" CreationDate="2016-11-16T10:25:58.937" Score="1" ViewCount="113" Body="&lt;p&gt;Which Sitecore and Azure SDK version supports swap option as shown in the screenshot below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HYPCZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HYPCZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="106" LastEditorUserId="605" LastEditDate="2016-11-23T14:35:36.213" LastActivityDate="2016-12-23T17:22:51.783" Title="Sitecore Azure - Swap option" Tags="|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2613" PostTypeId="1" AcceptedAnswerId="2616" CreationDate="2016-11-16T10:53:00.400" Score="8" ViewCount="923" Body="&lt;p&gt;We see performance issue on CM server. Content editor is very slow periodically and resource monitor shows that HDD is busy - reading and writing sitecore_analytics_index files nearly 50% of the time. We have around 1 million contacts in xDB. Can Lucene handle it or we have to use Solr?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.0u3&lt;/p&gt;&#xA;" OwnerUserId="392" LastEditorUserId="104" LastEditDate="2016-11-16T12:22:12.473" LastActivityDate="2016-11-16T17:01:19.770" Title="Lucene analytics index constantly loads HDD" Tags="|xdb|lucene|performance-optimization|indexing|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2615" PostTypeId="2" ParentId="2613" CreationDate="2016-11-16T12:35:49.347" Score="5" Body="&lt;p&gt;The general reasons for using &lt;strong&gt;Solr&lt;/strong&gt; instead of &lt;strong&gt;Lucene&lt;/strong&gt; are:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you need to index large numbers of items (&lt;strong&gt;50,000&lt;/strong&gt; and up), Solr performs better, so in your case you have to use SOLR &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr is more robust. If your site depends on search as the primary interface, consider using Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use multiple content delivery servers (or plan to do so later), use Solr. Solr works automatically in such an environment. You could use Lucene, but you have to make sure that indexes are synchronized across servers yourself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should therefore use Solr if you plan to scale your site (have a distributed setup with multiple servers).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More informations you find here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/using_solr_or_lucene&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/using_solr_or_lucene&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-11-16T12:35:49.347" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2616" PostTypeId="2" ParentId="2613" CreationDate="2016-11-16T12:35:59.057" Score="9" Body="&lt;p&gt;The &lt;code&gt;sitecore_analytics_index&lt;/code&gt; stores information about interactions, contacts, and some other xDB entities. The more data you collect, the bigger the index will grow. The more visits you have in a given time period, the more frequent index reads and writes will be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whether or not you should switch from Lucene to Solr depends on whether the high hard disk activity is a problem for you. If you believe that the performance of your CM is slowed down because of this Lucene index, then you should definitely try to migrate the index to a Solr instance hosted on a separate server. This will certainly take the burden off the CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Switching to Solr is not necessarily the only solution. Sure, the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/using_solr_or_lucene&quot; rel=&quot;nofollow noreferrer&quot;&gt;official documentation&lt;/a&gt; says you should upgrade if you have more than 50k documents in the index. But you can also try to switch from a spinning disc HDD to an SSD—this will make disk reads and writes much faster.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-16T12:35:59.057" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2617" PostTypeId="1" AcceptedAnswerId="2646" CreationDate="2016-11-16T16:01:05.983" Score="1" ViewCount="456" Body="&lt;p&gt;When I'm opening one form of my build that runs with WFFM this is the error I get:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Could not find configuration node: wffm/modelFactory&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;anyone know what this error is all about? where is this configuration set?&#xA;thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: Sitecore 8.0 rev 160115&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM: 8.0 151127&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2016-11-16T16:47:41.103" LastActivityDate="2016-11-17T15:32:00.473" Title="WFFM error on a form page" Tags="|wffm|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2618" PostTypeId="1" AcceptedAnswerId="2621" CreationDate="2016-11-16T16:36:38.607" Score="11" ViewCount="1303" Body="&lt;p&gt;I want to restrict which components can be used within a placeholder when using the Sitecore Experience Accelerator module. Normally, I'd use placeholder settings to do this, but it doesn't seem to work in SXA 1.1. Is there an alternative approach to limit what content editors can add to a placeholder? Is this a bug?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried associating the placeholder setting at the page design and at the partial design level, but it doesn't work in either place -- I still get the full list of SXA renderings.&lt;/p&gt;&#xA;" OwnerUserId="1071" LastActivityDate="2017-06-28T14:16:54.743" Title="What do you use instead of placeholder settings in SXA?" Tags="|sxa|placeholders|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2619" PostTypeId="2" ParentId="2613" CreationDate="2016-11-16T17:01:19.770" Score="4" Body="&lt;p&gt;The Analytics index can cripple Solr too, I've seen this in production environments. You want to pay special attention to the memory settings for Solr and the JVM and make sure you have enough disk capacity and RAM to handle it as it grows. As merges take place, the analytics index of ~1 million documents can grow up to 20 GB in size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may not be enough to just switch to Solr, you may need to consider Solr Cloud and sharding the analytics index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an alternate solution, if you can upgrade to Sitecore 8.2, consider the ContentSearch.Analytics.IndexAnonymousContacts setting. Turning this to false will greatly reduce the size of your analytics index, as well as the resource load it puts on your server. That may be cheaper/faster than switching to Solr. This blog post has more details: &lt;a href=&quot;http://sitecoreart.martinrayenglish.com/2016/10/taming-your-sitecore-analytics-index-by.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreart.martinrayenglish.com/2016/10/taming-your-sitecore-analytics-index-by.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-11-16T17:01:19.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2620" PostTypeId="1" CreationDate="2016-11-16T17:09:54.120" Score="11" ViewCount="1152" Body="&lt;p&gt;I am running into issue while using worflow in the site over HTTPS. When Item is either approved or rejected basically page refreshes and in the console i get error like &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Mixed Content: The page at '&lt;a href=&quot;https://site/sitecore/shell/default.aspx?sc_lang=en&quot; rel=&quot;noreferrer&quot;&gt;https://site/sitecore/shell/default.aspx?sc_lang=en&lt;/a&gt;' was loaded over HTTPS, but requested an insecure resource '&lt;a href=&quot;http://site//sitecore/shell/default.aspx?xmlcontrol=Workbox&amp;amp;mo=preview&amp;amp;reload=1&amp;amp;&quot; rel=&quot;noreferrer&quot;&gt;http://site//sitecore/shell/default.aspx?xmlcontrol=Workbox&amp;amp;mo=preview&amp;amp;reload=1&amp;amp;&lt;/a&gt;{190B1C84-F1BE-47ED-AA41-F42193D9C8FC}=0&amp;amp;{46DA5376-10DC-4B66-B464-AFDAA29DE84F}=0&amp;amp;{FCA998C5-0CC3-4F91-94D8-0A4E6CAECE88}=0'. This request has been blocked; the content must be served over HTTPS.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;By the way we are using Sitecore.NET 8.1 (rev. 160519)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found same issue &lt;a href=&quot;https://stackoverflow.com/questions/39208813/sitecore-mixed-content-error-for-workflow&quot;&gt;at&lt;/a&gt; with no answers.&lt;/p&gt;&#xA;" OwnerUserId="1107" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2018-02-27T16:44:00.317" Title="Sitecore Mixed Content error for workflow" Tags="|workflow|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2621" PostTypeId="2" ParentId="2618" CreationDate="2016-11-16T17:12:05.120" Score="15" Body="&lt;p&gt;&lt;strong&gt;Sitecore Experience Accelerator&lt;/strong&gt; uses a different approach for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can define your access rights  for each rendering/group of renderings by changing the access rights to &lt;strong&gt;Available Renderings&lt;/strong&gt; items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do it follow these steps&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Navigate to &lt;strong&gt;Available Renderings&lt;/strong&gt; node (&lt;code&gt;/sitecore/content/Tenant/Site/Presentation/Available Renderings&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Pick item which represents a group of renderings you want to limit&lt;/li&gt;&#xA;&lt;li&gt;Assign security rights (for example set &lt;code&gt;Read&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; for certain group or user)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After that, when you log in with your user you will see that the Toolbox contains only available renderings (I set &lt;code&gt;Read&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; for all items under &lt;strong&gt;Available Renderings&lt;/strong&gt;, except &lt;strong&gt;Media&lt;/strong&gt; and &lt;strong&gt;Page Content&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zmlup.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zmlup.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This differs from standard &lt;code&gt;Allowed Controls&lt;/code&gt; approach. Due to the nature of dynamic placehcolders, you can set renderings availability per site not per placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA 1.4 brings placeholders settings back!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read more &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/set_placeholder_restrictions&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-06-28T14:16:54.743" LastActivityDate="2017-06-28T14:16:54.743" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2622" PostTypeId="1" AcceptedAnswerId="2625" CreationDate="2016-11-16T18:07:24.167" Score="4" ViewCount="1514" Body="&lt;p&gt;I believe that the default value for the MaxWorkerThreads is 20. In order to increase the number of concurrent user requests that can be processed, this needs to be increased from its default value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering what is the optimum range for this setting? Does that range change on number of cores that are available? Also, is there a particular value above which increasing the number of threads won't really matter?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read this post &lt;a href=&quot;https://forums.asp.net/t/1299590.aspx?Why+maxWorkerThreads+100+and+minFreeThreads+88+is+suggested+&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://forums.asp.net/t/1299590.aspx?Why+maxWorkerThreads+100+and+minFreeThreads+88+is+suggested+&lt;/a&gt; about increasing threads in ASP.net and it sounds like they point towards it being 100. Does that hold good here?&lt;/p&gt;&#xA;" OwnerUserId="403" LastEditorUserId="73" LastEditDate="2016-11-16T20:52:01.513" LastActivityDate="2022-07-17T21:03:27.297" Title="What is the optimum value (or range) for MaxWorkerThreads sitecore setting?" Tags="|site-configuration|settings|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2624" PostTypeId="2" ParentId="2578" CreationDate="2016-11-16T18:11:11.963" Score="6" Body="&lt;p&gt;I was able to find the processor(&lt;code&gt;Sitecore.Pipelines.HttpRequest.ExecuteRequest&lt;/code&gt; in &lt;code&gt;Sitecore.Kernel&lt;/code&gt;) which adds these query strings and they are not configurable. To fix the issue I created a new class(&lt;code&gt;CustomExecureRequest&lt;/code&gt;) and copied the processor and removed the query strings from &lt;code&gt;HandleSiteAccessDenied&lt;/code&gt;, &lt;code&gt;HandleItemNotFound&lt;/code&gt; and other methods. &#xA;I then created a patch xml file inside include folder similar to below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;processor patch:instead=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel']&quot; type=&quot;YOUR CUSTOM CLASS TYPE, YOUR ASSEMBLY NAME&quot; /&amp;gt;&#xA;    &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this helps some one!&lt;/p&gt;&#xA;" OwnerUserId="706" LastActivityDate="2016-11-16T18:11:11.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2625" PostTypeId="2" ParentId="2622" CreationDate="2016-11-16T18:26:09.877" Score="5" Body="&lt;p&gt;I once had to tune a server with Sitecore because we did get a lot of requests and couldn't add more servers (for several reasons). I used this &lt;a href=&quot;https://web.archive.org/web/20210115155440/http://geekswithblogs.net/StuartBrierley/archive/2009/09/30/tuning-iis---machine.config-settings.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt; as a resource, and although it is a few years old it helped me get a significant amount of extra requests handled on the same infrastructure and code.&lt;/p&gt;&#xA;&lt;p&gt;To answer to the &lt;code&gt;MaxWorkerThreads&lt;/code&gt;, I did indeed put that at 100. But I also tweaked other settings like the &lt;code&gt;maxconnection&lt;/code&gt;, &lt;code&gt;minWorkerThreads&lt;/code&gt; and &lt;code&gt;minFreeThreads&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Note that some of those settings are automatically multiplied by the number of CPUs and some are not.&lt;/p&gt;&#xA;&lt;p&gt;When you want to tweak these settings, you could follow the basic recommendations as in the blog, but it's better to read the explanation and decide what to do based on your specific project. Example: we had lots of requests from our code to an external webservice - so we added the address of that service in the maxconnections settings allowing the application to have more connections simultaneously to the service.&lt;/p&gt;&#xA;&lt;p&gt;One more advice: monitor your application to see if you actually need this. Can your server handle more requests/threads/...? And do it again after you made changes. There are several counters available to see what your IIS is doing (not only CPU, but also requests handled/queued/... and so on).&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="1542" LastEditDate="2022-07-17T21:03:27.297" LastActivityDate="2022-07-17T21:03:27.297" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="2626" PostTypeId="1" CreationDate="2016-11-16T21:37:45.813" Score="11" ViewCount="1018" Body="&lt;p&gt;I'm working on a project in which we are upgrading an instance of Sitecore from &lt;em&gt;v6.6 to v8.1&lt;/em&gt;.  The original code built on top of &lt;em&gt;v6.6&lt;/em&gt; is directly accessing the &lt;code&gt;Sitecore.Data&lt;/code&gt; API (as opposed to Glass Mapper or some other common ORM).  I found one strange behavior post-upgrade tied to this snippet of code.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var value = item[&amp;quot;Name&amp;quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The field in question was defined by a custom template/field simply named &amp;quot;&lt;em&gt;Name&lt;/em&gt;&amp;quot;.  This is not related to the standard field Name which is actually, to the best of my knowledge, stored as &amp;quot;&lt;em&gt;__Name&lt;/em&gt;&amp;quot;.  From what I could find while running a debugger, the API returns null even though the item in question has a value for that field.  In the same debugger session, I explored the contents of the &lt;code&gt;item.Fields&lt;/code&gt; collection and there was no entry for &amp;quot;Name&amp;quot;.  There were, however, entries for other fields defined by that template.  It's as if Sitecore skipped that specific field.&lt;/p&gt;&#xA;&lt;p&gt;Meanwhile, if I tried to retrieve that field's value via the field definition's GUID, it actually returned the value I was looking for:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var value = item[&amp;quot;{64CC3858-18DA-43DA-A7AE-86C1DDEC316D}&amp;quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I can live with this workaround.  But for future reference and possibly the benefits of others, are there known field names that should never be used because Sitecore won't retrieve them through normal means?  In other words, are there &amp;quot;reserved&amp;quot; field names?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: As it turns out, this ended up being a publishing issue.  I don't know how but the field section to which the field in question was a child didn't have any versions and, thus, Sitecore skipped it during publishing.  Once I added an English version to that item and republished the entire template, the field and its appropriate value were available from both &lt;code&gt;item[&amp;quot;Name&amp;quot;]&lt;/code&gt; and &lt;code&gt;item.Fields[&amp;quot;Name&amp;quot;]&lt;/code&gt;.  It is strange that using the GUID was a valid workaround in this situation since the field definition item didn't appear to exist in the web database.&lt;/p&gt;&#xA;&lt;p&gt;Thanks everyone for your help!&lt;/p&gt;&#xA;" OwnerUserId="1144" LastEditorUserId="4817" LastEditDate="2022-10-23T06:07:34.960" LastActivityDate="2022-10-23T06:07:34.960" Title="Are there any specific reserved field names that shouldn't be used in Sitecore?" Tags="|best-practices|upgrade|" AnswerCount="3" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2628" PostTypeId="2" ParentId="2626" CreationDate="2016-11-16T22:53:03.913" Score="10" Body="&lt;p&gt;There definitely are reserved field names. Any field on the &lt;strong&gt;Standard Template&lt;/strong&gt; should not be used. I would also recommend you use an &lt;strong&gt;Id&lt;/strong&gt; where possible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see the use of this pattern in the &lt;em&gt;Sitecore.Kernel.dll&lt;/em&gt; where fields found in the &lt;strong&gt;FieldIDs&lt;/strong&gt; class are used when accessing standard Sitecore fields. The use of the &lt;strong&gt;Id&lt;/strong&gt; will of course be fast as well as future proof.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DMsKv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DMsKv.png&quot; alt=&quot;Example from DotPeek&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/22817722/sitecore-field-ids-vs-field-names&quot;&gt;This&lt;/a&gt; SO question also contains several answers recommending the use of IDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;John also has a good explanation &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-standard-template-fields&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; about how the Standard Template is composed.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-16T22:53:03.913" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2629" PostTypeId="1" AcceptedAnswerId="2634" CreationDate="2016-11-16T23:25:58.693" Score="-2" ViewCount="187" Body="&lt;p&gt;I am interested in using Path Analyzer. I was told that we can use, a tracking pixel (script) on our none Sitecore sites, however, I am not finding any documentation about this. Please point me in the right direction. -JMT&lt;/p&gt;&#xA;" OwnerUserId="1145" LastActivityDate="2016-11-17T07:30:01.090" Title="Path Analyzer Tracking Pixel" Tags="|tracking|path-analyzer|" AnswerCount="1" CommentCount="3" ClosedDate="2016-11-22T08:38:47.543" ContentLicense="CC BY-SA 3.0" />
  <row Id="2630" PostTypeId="1" AcceptedAnswerId="2631" CreationDate="2016-11-17T00:01:54.980" Score="3" ViewCount="3117" Body="&lt;p&gt;I have created a new theme in my SXA website (by duplicating the Basic Theme) and I have been able to switch to the new theme in Experience Editor. I've decided to add a background image to the body of my site. So I exported the site using the &lt;strong&gt;Agency Drop mode&lt;/strong&gt;, opened up the ZIP file, and I made the following modifications:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a new CSS file that contains my new CSS class.&lt;/li&gt;&#xA;&lt;li&gt;Added a reference to my new CSS file on line 9. &lt;/li&gt;&#xA;&lt;li&gt;On line 17 of the index.html file, I found the &quot;add-your-css-classes-here&quot; text for the &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag and added my CSS class there.&lt;/li&gt;&#xA;&lt;li&gt;Added my image to the Media/images folder&lt;/li&gt;&#xA;&lt;li&gt;Verified my new CSS changes looked as I wanted them to by loading &lt;code&gt;index.html&lt;/code&gt; in my browser.&lt;/li&gt;&#xA;&lt;li&gt;Uploaded the file back to the SXA server and successfully imported the theme.&lt;/li&gt;&#xA;&lt;li&gt;Tried to preview the changes on my page. I didn't see any differences.&lt;/li&gt;&#xA;&lt;li&gt;Exported the site again, hoping to see my changes. The only change that I saw was the new image. My new CSS file and modifications to the index.html file did not work.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I'm sure that there is something simple that I'm missing, but I can't figure out how to create my theme. The 3 questions that I have are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What is the best practice for adding custom CSS to a theme?&lt;/li&gt;&#xA;&lt;li&gt;How do I use the &quot;Add-your-css-classes-here&quot;?&lt;/li&gt;&#xA;&lt;li&gt;What css files would I use to modify site-wide settings, such as an image in the body of the page?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-11-19T04:24:24.427" Title="How do I get my custom css class to show up in SXA?" Tags="|best-practices|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2631" PostTypeId="2" ParentId="2630" CreationDate="2016-11-17T06:43:05.990" Score="3" Body="&lt;p&gt;&lt;strong&gt;What is the best practice for adding custom CSS to a theme?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It depends on your theme structure but you can either edit existing file or create new one. Changes in existing file should update it in the Sitecore and new file should be imported. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do I use the &quot;Add-your-css-classes-here&quot;?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add your custom css classes after that text (&lt;em&gt;add-your-css-classes-here&lt;/em&gt; will be removed by Creative Exchange in the import process) or instead of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What css files would I use to modify site-wide settings, such as an image in the body of the page?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That completely depends on your theme structure and it's up to you. I would create one global css file for such classes. And have separate ones for specific pages. But there won't be anything wrong in having one well structured css file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding your problem - were there any messages/warning/errors in the import status dialog?&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2016-11-17T06:43:05.990" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2632" PostTypeId="2" ParentId="2626" CreationDate="2016-11-17T06:58:28.437" Score="0" Body="&lt;p&gt;If you want to retrieve all the fields when running the item.Fields, you need to call following command before that.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Item.Fields.ReadAll();&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This will instruct sitecore to take all the fields in the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think following link explains the same senario you are facing&#xA;&lt;a href=&quot;http://sitecoresolution.blogspot.com/2016/07/How-to-Read-all-fields-from-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoresolution.blogspot.com/2016/07/How-to-Read-all-fields-from-sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-11-17T06:58:28.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2633" PostTypeId="1" CreationDate="2016-11-17T07:29:03.523" Score="3" ViewCount="191" Body="&lt;p&gt;I am using Sitecore.NET 8.1 rev. 151003. On top of it I am installing Web Forms for Marketers 8.1 rev. 151008&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As that is working perfectly with Webforms it doesn't with MVC 5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I submit a simple form then it shows me success message and the whole page loads within the same page. It means that it returns full page in the form section and I end up with my website design distorted with 2 headers, 2 footers etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I have problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I prevent WFFM from returning the whole page in the form area.&lt;/p&gt;&#xA;" OwnerUserId="1146" LastEditorUserId="70" LastEditDate="2016-11-17T13:38:22.607" LastActivityDate="2016-11-17T15:31:32.007" Title="Sitecore 8.1 WFFM rev. 151008 does not work with MVC" Tags="|wffm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2634" PostTypeId="2" ParentId="2629" CreationDate="2016-11-17T07:30:01.090" Score="0" Body="&lt;p&gt;Have a look at the Federated eXperience Manager: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/a_functional_overview_of_fxm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/a_functional_overview_of_fxm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FXM allows you to capture visitor information across sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You must add a JavaScript tag to every page though.&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2016-11-17T07:30:01.090" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2635" PostTypeId="2" ParentId="2626" CreationDate="2016-11-17T07:53:45.707" Score="4" Body="&lt;p&gt;@Chris Elston, This looks like a issue with field name? I tried to mimic your scenario. My setup is on Sitecore 8.2. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Updated the sample item 'Title' field to 'Name'&lt;/li&gt;&#xA;&lt;li&gt;Did a Smart Publish on Home item along with related items option selected&lt;/li&gt;&#xA;&lt;li&gt;Debugged the code&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vWV8o.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vWV8o.png&quot; alt=&quot;Name field accessed from Item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to see the field value. If you are not able to see the field itself under all fields, I doubt&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;it could be that template field is not published&lt;/li&gt;&#xA;&lt;li&gt;or the item version being accessed doesn't have the field&lt;/li&gt;&#xA;&lt;li&gt;the field display name is set as &quot;Name&quot; but the item name is something else. In this case the assessor with &quot;ID&quot; will work.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;check @Mark Cassidy response &lt;a href=&quot;https://stackoverflow.com/a/26630052/5532726&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To support the 3rd point above, see below images&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Field item with different displayname from item name&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qYcdg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qYcdg.png&quot; alt=&quot;field item with different displayname from item name&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Access field by item name - No Value&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3MaGX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3MaGX.png&quot; alt=&quot;Access field by item name - No Value&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Access field by item id - Has value&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/XIcqs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XIcqs.png&quot; alt=&quot;Access field by item id - Has value&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="773" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-17T08:18:37.190" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2636" PostTypeId="2" ParentId="2620" CreationDate="2016-11-17T08:21:09.563" Score="4" Body="&lt;p&gt;To stop your site from serving mixed content, you will need to ensure that HTTPS is used for all pages. How exactly you achieve this is up to you; there are several existing approaches that you can apply separately or together:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add &lt;code&gt;scheme=&quot;https&quot;&lt;/code&gt; to all site definitions.&lt;/li&gt;&#xA;&lt;li&gt;You may need to add &lt;code&gt;port=&quot;443&quot;&lt;/code&gt; to your site definitions as well, but then you'll probably want to &lt;a href=&quot;http://blogs.perficient.com/microsoft/2016/06/sitecore-remove-port-443-from-sitecore-generated-https-urls/&quot; rel=&quot;nofollow noreferrer&quot;&gt;remove the port 443 from Sitecore-generated URLs&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Create a &lt;a href=&quot;https://laubplusco.net/https-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;custom &lt;code&gt;HttpRequestProcessor&lt;/code&gt;&lt;/a&gt; that will redirect all HTTP requests to use HTTPS.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.baslijten.com/another-look-at-url-redirects-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Use the IIS URL Rewrite module&lt;/a&gt; to achieve the same goal. There are many articles on the web that show how you can do this specifically to rewrite HTTP to HTTPS—e.g. &lt;a href=&quot;https://blogs.msdn.microsoft.com/kaushal/2013/05/22/http-to-https-redirects-on-iis-7-x-and-higher/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;1&lt;/strong&gt;&lt;/a&gt;, &lt;a href=&quot;https://www.sslshopper.com/iis7-redirect-http-to-https.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;2&lt;/strong&gt;&lt;/a&gt;, &lt;a href=&quot;http://www.jppinto.com/2010/03/automatically-redirect-http-requests-to-https-on-iis7-using-url-rewrite-2-0/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;3&lt;/strong&gt;&lt;/a&gt;, &lt;a href=&quot;https://blogs.technet.microsoft.com/dawiese/2016/06/07/redirect-from-http-to-https-using-the-iis-url-rewrite-module/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;4&lt;/strong&gt;&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-17T08:21:09.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2638" PostTypeId="2" ParentId="2608" CreationDate="2016-11-17T08:38:48.163" Score="5" Body="&lt;p&gt;By using &lt;code&gt;Expression.Property(...)&lt;/code&gt; you are trying to access a &lt;code&gt;Property&lt;/code&gt; with the name &lt;code&gt;textField&lt;/code&gt; on the &lt;code&gt;SearchResultItem&lt;/code&gt;, which corresponds to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SearchResultItem.textField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To get a field value you instead need to use the indexer on &lt;code&gt;SearchResultItem&lt;/code&gt; which corresponds to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SearchResultItem['textField']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't know much about Coveo, but I found &lt;a href=&quot;https://developers.coveo.com/x/8IMkAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating a Custom Rule Condition for Coveo for Sitecore&lt;/a&gt; in their developer guide which explains it pretty well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a bit complicated to do this, so in the guide they have made a method for just that: &lt;code&gt;GetFieldIndexerExpression(...)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Gets the &amp;lt;see cref=&quot;Expression&quot;/&amp;gt; that will invoke the indexer for the field &amp;lt;paramref name=&quot;p_FieldName&quot;/&amp;gt;.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;remarks&amp;gt;The indexer must be called as a method, not as a property.&amp;lt;/remarks&amp;gt;&#xA;/// &amp;lt;param name=&quot;p_Instance&quot;&amp;gt;The parameter instance of the Linq expression. This is the part of the Linq expression before the &amp;lt;c&amp;gt;=&amp;gt;&amp;lt;/c&amp;gt; symbol.&#xA;///   &amp;lt;example&amp;gt;item =&amp;gt; item[&quot;fieldName&quot;]&amp;lt;/example&amp;gt;&#xA;/// &amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;p_FieldName&quot;&amp;gt;The field name to reference in the indexer.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;The &amp;lt;see cref=&quot;Expression&quot;/&amp;gt; that will invoke the field indexer when executed.&amp;lt;/returns&amp;gt;&#xA;Expression GetFieldIndexerExpression(ParameterExpression p_Instance, string p_FieldName)&#xA;{&#xA;    string indexerPropertyName = &quot;Item&quot;;&#xA;    // By default the indexer corresponds to the &quot;Item&quot; property, but one can change it.&#xA;    // In order to find the name, if modified, we must search for DefaultMemberAttribute attribute.&#xA;    // Fortunately, only one indexer name can be defined.&#xA;    object[] attributes = p_Instance.Type.GetCustomAttributes(typeof(DefaultMemberAttribute), true);&#xA;    if (attributes.Any()) {&#xA;        indexerPropertyName = (attributes[0] as DefaultMemberAttribute).MemberName;&#xA;    }&#xA;&#xA;    PropertyInfo indexerProperty = p_Instance.Type.GetProperty(indexerPropertyName,&#xA;                                                               new Type[] { typeof(string) });&#xA;    MethodInfo indexerGetMethod = indexerProperty.GetMethod;&#xA;&#xA;    Expression callIndexerExpression = Expression.Call(p_Instance,&#xA;                                                       indexerGetMethod,&#xA;                                                       Expression.Constant(p_FieldName));&#xA;    return callIndexerExpression;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You then use it instead of &lt;code&gt;Expression.Property(...)&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public Expression GetQueryExpression(ConditionContext p_Context)&#xA;{&#xA;    Expression readNameProperty = GetFieldIndexerExpression(p_Context.ParameterExpression, &quot;textField&quot;);&#xA;    Expression standardValuesConstant = Expression.Constant(&quot;somevalue&quot;);&#xA;&#xA;    return Expression.Equal(readNameProperty, standardValuesConstant);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With this it should now work correctly.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="264" LastEditDate="2017-09-28T01:30:00.407" LastActivityDate="2017-09-28T01:30:00.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2639" PostTypeId="1" AcceptedAnswerId="2640" CreationDate="2016-11-17T08:46:47.063" Score="3" ViewCount="2669" Body="&lt;p&gt;I am trying to complete login redirect functionality. I prohibited read/write access for default/anonymous for mysite.org/security-page and added NoAccessUrl &lt;code&gt;&amp;lt;setting name=&quot;NoAccessUrl&quot; value=&quot;/login&quot; /&amp;gt;&lt;/code&gt;setting. When user visit this page I have an error:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TWyYk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TWyYk.png&quot; alt=&quot;error&quot;&gt;&lt;/a&gt;&#xA;The same error occurs when trying redirect to /404 page.&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="1008" LastEditDate="2016-11-17T08:58:05.483" LastActivityDate="2016-11-17T12:33:02.753" Title="Error executing child request during redirect" Tags="|configuration|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2640" PostTypeId="2" ParentId="2639" CreationDate="2016-11-17T08:50:42.413" Score="2" Body="&lt;p&gt;This issue can be caused by modified setting&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;RequestErrors.UseServerSideRedirect&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;which is &lt;code&gt;false&lt;/code&gt; by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to notes in config file &lt;em&gt;If true, Sitecore will use Server.Transfer instead of Response.Redirect&lt;/em&gt;. But Server.Transfer is not good option for regular login page redirect because:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;ASP.NET does not verify that the current user is authorized to view the resource delivered by the Transfer method.&lt;/em&gt;  (&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/y4k58xk7.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/y4k58xk7.aspx&lt;/a&gt;).&lt;/p&gt;&#xA;" OwnerUserId="392" LastEditorUserId="392" LastEditDate="2016-11-17T12:33:02.753" LastActivityDate="2016-11-17T12:33:02.753" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2642" PostTypeId="1" AcceptedAnswerId="2644" CreationDate="2016-11-17T12:59:51.827" Score="6" ViewCount="1374" Body="&lt;p&gt;I'm creating a contact programmatically (outside of a user context) and saving it to the xDB usnig the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void EnsureUser(string email)&#xA;{&#xA;    var contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;    var contact = contactManager.CreateContact(Guid.NewGuid());&#xA;    contact.Identifiers.Identifier = email;&#xA;    // Set some other data on the contact&#xA;    contactManager.SaveAndReleaseContactToXdb(contact);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I would like to ensure that&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;if a user with the supplied email already exists, the newly created contact is merged with the existing one, and&lt;/li&gt;&#xA;&lt;li&gt;the contact should be marked as a &quot;known&quot; contact in xDB&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Normally I would use &lt;code&gt;Tracker.Current.Session.Identify()&lt;/code&gt; to achieve this, but since I am not in a user context I cannot use the &lt;code&gt;Tracker&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a different way to identify a contact and start a merge process?&lt;/p&gt;&#xA;" OwnerUserId="463" LastActivityDate="2016-11-17T14:25:34.680" Title="Identify contact without using Tracker.Current.Session.Identify()" Tags="|xdb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2643" PostTypeId="1" CreationDate="2016-11-17T13:20:02.983" Score="2" ViewCount="803" Body="&lt;p&gt;I am working on a search functionality to return items with certain template, location of the folder to look for in, and has the item name:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var predicate = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;&#xA;using (var context = ContentSearchManager.GetIndex(GetSiteIndexName()).CreateSearchContext())&#xA;{&#xA;    ID recruitersBioBlocksFolderId = new ID(EmbraceGuids.RecruitersBioBlocksFolderId);&#xA;    ID recruiterTemplateId = new ID(EmbraceGuids.RecruiterContentBlockTemplateID);&#xA;&#xA;    if (!string.IsNullOrEmpty(recruiter))&#xA;    {&#xA;        predicate = predicate.And(x =&amp;gt; x.TemplateId == recruiterTemplateId);&#xA;        predicate = predicate.And(x =&amp;gt; x.Paths.Contains(recruitersBioBlocksFolderId));&#xA;        predicate = predicate.And(x =&amp;gt; x.Name.Contains(recruiter));&#xA;    }&#xA;&#xA;    var queryable = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(predicate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It was working fine before adding the last predicate:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;predicate = predicate.And(x =&amp;gt; x.Name.Contains(recruiter));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, when I add the previous predicate to search for the item name with string i pass to this function, it doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea why isn't it working?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="838" LastEditorUserId="2727" LastEditDate="2018-02-28T11:20:39.927" LastActivityDate="2018-02-28T11:20:39.927" Title="Content Search Functionality Not Working" Tags="|content-search|lucene|" AnswerCount="0" CommentCount="13" ClosedDate="2018-02-28T11:50:27.937" ContentLicense="CC BY-SA 3.0" />
  <row Id="2644" PostTypeId="2" ParentId="2642" CreationDate="2016-11-17T13:30:43.127" Score="5" Body="&lt;p&gt;Below is what I believe the proper way of doing this. Note that, since you're not in the context of a live session, some Sitecore mechanisms (such as cross-cluster session migration) aren't available to you. Hence, you must guard against edge cases, particularly when the contact with given identifier already exists and is currently locked by another process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the contact you're creating doesn't exist in xDB yet, there's no need for an actual merge. What you need to do is get the existing contact and update its fields.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void EnsureUser(string email)&#xA;{&#xA;    LeaseOwner leaseOwner = new LeaseOwner(&quot;YOUR_WORKER_NAME&quot;, LeaseOwnerType.OutOfRequestWorker);&#xA;&#xA;    ContactRepositoryBase contactRepository = Factory.CreateObject(&quot;contactRepository&quot;, true) as ContactRepositoryBase;&#xA;&#xA;    // Attempt to obtain an exclusive lock on an existing contact in xDB.&#xA;    LockAttemptResult&amp;lt;Contact&amp;gt; lockResult = contactRepository.TryLoadContact(email, leaseOwner, TimeSpan.FromMinutes(1));&#xA;&#xA;    Contact contact = null;&#xA;&#xA;    if (lockResult.Status == LockAttemptStatus.AlreadyLocked)&#xA;    {&#xA;        // Another worker or a live web session has an exclusive lock on the contact.&#xA;        // You can't use this contact right now. It's up to you what to do in this case.&#xA;        /* ... */&#xA;    }&#xA;    else if (lockResult.Status == LockAttemptStatus.DatabaseUnavailable)&#xA;    {&#xA;        // Database is down. Try to handle this gracefully.&#xA;        /* ... */&#xA;    }&#xA;    else if (lockResult.Status == LockAttemptStatus.NotFound)&#xA;    {&#xA;        // A contact with the given identifier doesn't exist.&#xA;        // Just create a new contact object.&#xA;        contact = contactRepository.CreateContact(Guid.NewGuid());&#xA;&#xA;        // Identify it.&#xA;        contact.Identifiers.Identifier = email;&#xA;&#xA;        // And make it known.&#xA;        contact.Identifiers.IdentificationLevel = Sitecore.Analytics.Model.ContactIdentificationLevel.Known;&#xA;    }&#xA;    else&#xA;    {&#xA;        // We successfull locked an existing contact.&#xA;        contact = lockResult.Object;&#xA;    }&#xA;&#xA;    // Set some other data on the contact:&#xA;    /* ... */&#xA;&#xA;    // Save the contact and release the lock.&#xA;    if (contact != null)&#xA;    {&#xA;        var options = new ContactSaveOptions(release: true, owner: leaseOwner);&#xA;        contactRepository.SaveContact(contact, options);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that instead of the Contact Manager, I used the Contact Repository in the above code, since it works directly with the xDB storage. The Contact Manager in your sample code queries and saves contacts in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state#_Toc396298780&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Shared Session&lt;/strong&gt;&lt;/a&gt; first, and only then accesses xDB via the underlying Contact Repository.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-17T14:25:34.680" LastActivityDate="2016-11-17T14:25:34.680" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2645" PostTypeId="1" CreationDate="2016-11-17T14:10:37.110" Score="3" ViewCount="705" Body="&lt;p&gt;How do I index related or linked items in a certain page and then use UnderscoreJS and OOTB Coveo features to display those items underneath the parent page in the results?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bJ7bh.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bJ7bh.jpg&quot; alt=&quot;Example of related or linked files&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1137" LastEditorUserId="423" LastEditDate="2016-11-18T21:42:47.253" LastActivityDate="2016-11-18T21:42:47.253" Title="How to index related (or linked) items in a page using Coveo and display them in the search results?" Tags="|coveo|" AnswerCount="2" CommentCount="2" ClosedDate="2016-11-18T12:14:26.017" ContentLicense="CC BY-SA 3.0" />
  <row Id="2646" PostTypeId="2" ParentId="2617" CreationDate="2016-11-17T14:58:55.690" Score="1" Body="&lt;p&gt;Looking at the default config for &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers/Web_Forms_for_Marketers_80/Web_Forms_for_Marketers_80_Update_6.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;that version of WFFMs&lt;/a&gt; that node is not in the config (the wffm node is there but I can't see the modelFactory).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Gatogordo suggests this node exists in previous versions of WFFMs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;wffm&amp;gt;&#xA;  &amp;lt;formProcessors&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Forms.Mvc.Processors.SitecoreFormProcessor, Sitecore.Forms.Mvc&quot;/&amp;gt;&#xA;  &amp;lt;/formProcessors&amp;gt;&#xA;&#xA;  &amp;lt;modelFactory type=&quot;Sitecore.Forms.Mvc.Data.ModelFactory, Sitecore.Forms.Mvc&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;param name=&quot;renderingContext&quot; ref=&quot;wffm/renderingContext&quot;/&amp;gt;&#xA;  &amp;lt;/modelFactory&amp;gt;&#xA;&#xA;  &amp;lt;renderingContext type=&quot;Sitecore.Forms.Mvc.Data.Wrappers.WrappedRenderingContext, Sitecore.Forms.Mvc&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;&#xA;  &amp;lt;formDataManager type=&quot;Sitecore.Forms.Mvc.Data.FormDataManager, Sitecore.Forms.Mvc&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;param name=&quot;processorFactory&quot; ref=&quot;wffm/formProcessorsFactory&quot;/&amp;gt;&#xA;  &amp;lt;/formDataManager&amp;gt;&#xA;&#xA;  &amp;lt;formProcessorsFactory type=&quot;Sitecore.Forms.Mvc.Data.SitecoreProcessorFactory, Sitecore.Forms.Mvc&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;/wffm&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So either your DLLs are old and expecting old config - or the installer is wrong and this config needs to be present in Sitecore.Forms.Mvc.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would redownload the installation package from the link above, unpack it and compare the DLL versions against your bin folder, also look for extra DLLs perhaps. If they all look correct, try adding that config node back in and see if it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be worth logging this with Sitecore as well if the config on the installation package is incorrect.&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="428" LastEditDate="2016-11-17T15:32:00.473" LastActivityDate="2016-11-17T15:32:00.473" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2647" PostTypeId="2" ParentId="2151" CreationDate="2016-11-17T15:04:13.087" Score="4" Body="&lt;p&gt;This has been acknowledged as a bug in this version of Sitecore (v8.2 Initial Release).  The issue will occur for any field type, used in a Rendering Parameters template, whose value contains XML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution provided by Sitecore Support is to update the &lt;code&gt;postServerRequest&lt;/code&gt; function in the &lt;code&gt;\sitecore\shell\client\Sitecore\ExperienceEditor\ExperienceEditor.js&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Original Code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;postServerRequest: function (requestType, commandContext, handler, async) {&#xA;    var token = $('input[name=&quot;__RequestVerificationToken&quot;]').val();&#xA;    jQuery.ajax({&#xA;        url: &quot;/-/speak/request/v1/expeditor/&quot; + requestType,&#xA;        data: {&#xA;            __RequestVerificationToken: token,&#xA;            data: unescape(JSON.stringify(commandContext))&#xA;        },&#xA;        success: handler,&#xA;        type: &quot;POST&quot;,&#xA;        async: async != undefined ? async : false&#xA;    });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Updated Code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;postServerRequest: function (requestType, commandContext, handler, async) {&#xA;    var token = $('input[name=&quot;__RequestVerificationToken&quot;]').val();&#xA;&#xA;    var ajaxData = unescape(JSON.stringify(commandContext));&#xA;    if (commandContext &amp;amp;&amp;amp; commandContext.scLayout){&#xA;        var obj = JSON.parse(commandContext.scLayout);&#xA;        if (obj &amp;amp;&amp;amp; obj.r &amp;amp;&amp;amp; obj.r.d &amp;amp;&amp;amp; obj.r.d.forEach){&#xA;            obj.r.d.forEach(function(x,y){&#xA;                if (x.r &amp;amp;&amp;amp; x.r.forEach) {&#xA;                    x.r.forEach(function(a,z){&#xA;                        var val = a[&quot;@par&quot;];&#xA;                        if (val &amp;amp;&amp;amp; val.length &amp;gt; 0){&#xA;                            ajaxData = ajaxData.replace(unescape(val), val);&#xA;                        }                       &#xA;                    });&#xA;                }&#xA;            });&#xA;        }&#xA;    }&#xA;&#xA;    jQuery.ajax({&#xA;        url: &quot;/-/speak/request/v1/expeditor/&quot; + requestType,&#xA;        data: {&#xA;            __RequestVerificationToken: token,&#xA;            data: ajaxData&#xA;        },&#xA;        success: handler,&#xA;        type: &quot;POST&quot;,&#xA;        async: async != undefined ? async : false&#xA;    });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The public reference number given to this bug report is &lt;strong&gt;88222&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="469" LastEditorUserId="469" LastEditDate="2016-11-17T15:13:58.340" LastActivityDate="2016-11-17T15:13:58.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2648" PostTypeId="2" ParentId="2399" CreationDate="2016-11-17T15:23:15.543" Score="14" Body="&lt;h1&gt;Do not delete contacts&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Simply deleting a contact is a bad idea. It doesn't take into account so many entities that are related to the contact! Here's a very incomplete list of things to consider:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The contact's interactions will remain in the xDB. They'll continue to be associated with the non-existing contact, which may result in run-time errors.&lt;/li&gt;&#xA;&lt;li&gt;The aggregated data in the RDB will not get updated. This will especially be a problem if you mass-delete contacts.&lt;/li&gt;&#xA;&lt;li&gt;If the contact was merged with another contact before, the old contact record will now contain a broken link. If something in the system attempts to get the old contact by ID, normally that would result in a &quot;redirect&quot; to the new contact. Now this will lead to an exception.&lt;/li&gt;&#xA;&lt;li&gt;The Analytics index will still store information about the contact. Doing &lt;code&gt;index.Refresh();&lt;/code&gt; will &lt;strong&gt;NOT&lt;/strong&gt; remove the contact from the index.&lt;/li&gt;&#xA;&lt;li&gt;If the contact has a live session on the site, then when the session ends it will be recreated.&lt;/li&gt;&#xA;&lt;li&gt;The numerous applications and workers that may be using the contact at the time of deletion will crash.&lt;/li&gt;&#xA;&lt;li&gt;The contact processing pools may still have references to the contact.&lt;/li&gt;&#xA;&lt;li&gt;Etc, etc, etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;All in all, it's virtually impossible to clean up every single link to the contact. So sooner or later there will be errors and you won't have any idea where they are coming from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Do not delete contacts.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Alternatives&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Do not delete contacts.&lt;/strong&gt; Really, just don't. Consider why you want to do it and you'll most likely find there's no reason to.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1) Make the contact anonymous&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you want to &quot;unregister&quot; a contact, you can always remove its identifier and make it anonymous:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactRepositoryBase contactRepository = Factory.CreateObject(&quot;contactRepository&quot;, true) as ContactRepositoryBase;&#xA;&#xA;LeaseOwner leaseOwner = new LeaseOwner(&quot;YOUR_WORKER_NAME&quot;, LeaseOwnerType.OutOfRequestWorker);&#xA;LockAttemptResult&amp;lt;Contact&amp;gt; lockResult = contactRepository.TryLoadContact(email, leaseOwner, TimeSpan.FromMinutes(1));&#xA;&#xA;Contact contact = lockResult.Object;&#xA;&#xA;if (lockResult.Status == LockAttemptStatus.Success)&#xA;{&#xA;    // Make the contact anonymous.&#xA;    contact.Identifiers.Identifier = null;&#xA;    contact.Identifiers.IdentificationLevel = ContactIdentificationLevel.Anonymous;&#xA;&#xA;    // Save and release the contact.&#xA;    var options = new ContactSaveOptions(release: true, owner: leaseOwner);&#xA;    contactRepository.SaveContact(contact, options);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;2) Reduce the size of the Analytics index.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If your Analytics index grows too large, consider upgrading to Sitecore 8.1 Update 3 or Sitecore 8.2. There's a setting named &lt;a href=&quot;http://sitecoreart.martinrayenglish.com/2016/10/taming-your-sitecore-analytics-index-by.html&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;&lt;code&gt;ContentSearch.Analytics.IndexAnonymousContacts&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt; that will greatly reduce the amount of indexed contacts.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;3) Obsolete the contact&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you really want to make it seem like the contact doesn't exist anymore, here's what you can do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Model;&#xA;using Sitecore.Analytics.Data.DataAccess;&#xA;&#xA;// ...&#xA;&#xA;ContactRepositoryBase contactRepository = Factory.CreateObject(&quot;contactRepository&quot;, true) as ContactRepositoryBase;&#xA;&#xA;LeaseOwner leaseOwner = new LeaseOwner(&quot;YOUR_WORKER_NAME&quot;, LeaseOwnerType.OutOfRequestWorker);&#xA;&#xA;contactRepository.ObsoleteContact(obsoleteContactId, leaseOwner, successorContactId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;successorContactId&lt;/code&gt; should contain an ID of an existing contact. The contact with &lt;code&gt;obsoleteContactId&lt;/code&gt; will be &quot;merged&quot; into the the successor contact. The benefit of this approach is that the obsolete contact will be scheduled for processing as obsoleted which should remove it from the Analytics index and (hopefully) properly update the RDB statistics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Do not delete contacts.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-17T15:43:23.683" LastActivityDate="2016-11-17T15:43:23.683" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2649" PostTypeId="2" ParentId="2633" CreationDate="2016-11-17T15:31:32.007" Score="3" Body="&lt;p&gt;We had the same issue and we could solve it to switch off the &lt;code&gt;Is Ajax Mvc Form&lt;/code&gt; on the form items in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZCaR8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZCaR8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-11-17T15:31:32.007" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2650" PostTypeId="1" AcceptedAnswerId="2651" CreationDate="2016-11-17T15:52:31.213" Score="3" ViewCount="1673" Body="&lt;ol&gt;&#xA;&lt;li&gt;Republish All Items (Completed with no errors)&lt;/li&gt;&#xA;&lt;li&gt;Rebuild Indexes Using Control Panel (Completed with no errors)&lt;/li&gt;&#xA;&lt;li&gt;Inspect Data/indexes directory. (Date modified is from over a month ago)&lt;/li&gt;&#xA;&lt;li&gt;Verified correct Data Folder.&lt;/li&gt;&#xA;&lt;li&gt;Cleaned out the History, PublishQueue and EventQueue tables.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Indexing is not working on my QA environment. It is using a backup from PROD which works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have 1 CM server and 2 CD servers. The indexes are working on the 1 CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RzqUy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RzqUy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the relevent XML from sitecore/contentSearch/configuration/indexes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;ac_products_master_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot; patch:source=&quot;xActiveCommerce.ContentSearch.config&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;          &amp;lt;productCategoryStrategy type=&quot;ActiveCommerce.ContentSearch.Maintenance.Strategies.ProductCategorySynchronousStrategy, ActiveCommerce.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;contentDatabase&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;            &amp;lt;listening hint=&quot;list:AddPublishDatabase&quot;&amp;gt;&#xA;              &amp;lt;web&amp;gt;web&amp;lt;/web&amp;gt;&#xA;            &amp;lt;/listening&amp;gt;&#xA;          &amp;lt;/productCategoryStrategy&amp;gt;&#xA;          &amp;lt;variableProductStrategy type=&quot;ActiveCommerce.ContentSearch.Maintenance.Strategies.VariableProductSynchronousStrategy, ActiveCommerce.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;contentDatabase&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;          &amp;lt;/variableProductStrategy&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;          &amp;lt;/policies&amp;gt;&#xA;        &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;ActiveCommerce.ContentSearch.Crawlers.ProductCrawler, ActiveCommerce.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/commerce/products&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;      &amp;lt;index id=&quot;ac_products_web_index&quot; patch:source=&quot;xActiveCommerce.ContentSearch.config&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.SwitchOnRebuildLuceneIndex,Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;          &amp;lt;prodCatOnPublishEndAsync type=&quot;ActiveCommerce.ContentSearch.Maintenance.Strategies.ProductCategoryOnPublishEndStrategy, ActiveCommerce.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;          &amp;lt;/prodCatOnPublishEndAsync&amp;gt;&#xA;          &amp;lt;variableProdOnPublishEndAsync type=&quot;ActiveCommerce.ContentSearch.Maintenance.Strategies.VariableProductOnPublishEndStrategy, ActiveCommerce.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;          &amp;lt;/variableProdOnPublishEndAsync&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;          &amp;lt;/policies&amp;gt;&#xA;        &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;ActiveCommerce.ContentSearch.Crawlers.ProductCrawler, ActiveCommerce.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/commerce/products&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the remoteRebuild key:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;remoteRebuild type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.RemoteRebuildStrategy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After adding XML keys for a remoteRebuild strategy. It seems like CD2 is getting indexed, but CD1 is not. The following error is showing in the CD1 logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;9796 2016:11:17 20:03:45 FATAL [Index=ac_products_web_index] RemoteRebuildStrategy skipped. Full Rebuild was not detected.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The next thing I tried was rebuilding the index from the developer tab. And, CD1 was successfully indexed. (&lt;a href=&quot;http://www.bv02.com/rebuilding-the-search-index-on-remote-servers-with-sitecore-7/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.bv02.com/rebuilding-the-search-index-on-remote-servers-with-sitecore-7/&lt;/a&gt;) It seems that a full rebuild is not initiated from the control panel, but it is initiated from the developer tab.&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2016-11-17T21:30:52.083" LastActivityDate="2016-11-17T21:58:24.997" Title="Remote CD Indexing Not Working" Tags="|indexing|lucene|" AnswerCount="2" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="2651" PostTypeId="2" ParentId="2650" CreationDate="2016-11-17T16:56:56.287" Score="4" Body="&lt;p&gt;You need to use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/remoteRebuild&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;strategy after your&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is needed if you have separated CM and CD servers. Because you do the pulbish on CM and it does not know about these by default. You need to also add this strategy to your CD servers.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-11-17T18:22:44.187" LastActivityDate="2016-11-17T18:22:44.187" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="2652" PostTypeId="1" CreationDate="2016-11-17T19:01:02.883" Score="3" ViewCount="1723" Body="&lt;p&gt;301 Redirect Module is not working in pdf to pdf redirect, did anyone face this problem yet?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ex - abc.com/.../xyz.pdf to abc.com/.../cdc.pdf&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone has any idea?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or is it possible that it is the problem of ~ sign?&lt;/p&gt;&#xA;" OwnerUserId="251" LastActivityDate="2016-11-17T19:13:23.687" Title="301 Redirect Module is not working in pdf to pdf redirect" Tags="|media-library|module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2653" PostTypeId="2" ParentId="2652" CreationDate="2016-11-17T19:04:28.303" Score="1" Body="&lt;p&gt;Make sure that you have added the &quot;pdf&quot; extension to the list of &quot;Allowed Extensions&quot; for the &lt;code&gt;FilterUrlExtensions&lt;/code&gt; processor of the &lt;code&gt;&amp;lt;preprocessRequest&amp;gt;&lt;/code&gt; pipeline. If you don't do this, Sitecore will not handle requests for PDF files, as the PDF extension is not allowed by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add &quot;pdf&quot; to the list of allowed extensions via the following patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;preprocessRequest&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;Allowed extensions (comma separated)&quot;&amp;gt;aspx, ashx, asmx, axd, pdf&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;/preprocessRequest&amp;gt;&#xA;  &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I helped a coworker with the same issue two days ago, and his solution used dashes (-) instead of tildes for media paths. He was able to resolve the issue with the above patch file, alone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also helped a user on the Sitecore Community site with this same issue, yesterday. In his case, the above patch file, alone, didn't solve the issue, but once he remove the tilde (~) from the target URL it worked. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-17T19:13:23.687" LastActivityDate="2016-11-17T19:13:23.687" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2654" PostTypeId="2" ParentId="2645" CreationDate="2016-11-17T19:18:43.827" Score="-1" Body="&lt;p&gt;Try creating a computed field for PDF and Word documents as shown here &lt;a href=&quot;https://developers.coveo.com/display/public/SitecoreV4/Creating+a+Computed+Field+for+a+Referenced+Item&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/public/SitecoreV4/Creating+a+Computed+Field+for+a+Referenced+Item&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can access the field property in the results template and will also be able to format/massage the clickuri for these documents.&lt;/p&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2016-11-17T19:18:43.827" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2655" PostTypeId="1" AcceptedAnswerId="2657" CreationDate="2016-11-17T19:53:31.417" Score="3" ViewCount="74" Body="&lt;p&gt;Alright, I will just dive into explaining the situation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a page, we have a component called the &lt;code&gt;Help Message&lt;/code&gt;.  This component will render above most of the content and continue to show until the message expires (whether its thru un-publishing or some field driven expiration).  The user (which will be logged in) also has the ability to click a &lt;code&gt;Don't show this anymore&lt;/code&gt; button which will make the message hide/not render until a new message is published.  Initially I thought storing this as a &lt;code&gt;PageEvent&lt;/code&gt; and leveraging &lt;code&gt;Personalization&lt;/code&gt; to hide the message was the right path, but (and I could be completely wrong) from what I can tell &lt;code&gt;PageEvents&lt;/code&gt; are within the context of a &lt;code&gt;Session&lt;/code&gt;.  I want to be sure that if I go to another browser or come back 3 months from now, I will not see the message. I have also considered programmatically adding a &lt;code&gt;bool|timestamp&lt;/code&gt; as a custom property on the user itself, but I feel there has to be a more Sitecore-idiomatic way to achieve this.  I am hoping someone here can give me a nudge in the right direction, Thanks!&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="695" LastEditDate="2016-11-17T20:05:22.733" LastActivityDate="2016-11-17T20:10:37.660" Title="Storing a user interaction with a page outside of session" Tags="|personalization|user-profile|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2656" PostTypeId="2" ParentId="2645" CreationDate="2016-11-17T20:05:28.607" Score="6" Body="&lt;p&gt;The result your are trying to achieve is called folding. It needs a few fields with special values to link parent and child results together. It also needs UI components to alter the search query and display the results. All of this is supported by the Coveo index, Search API and JavaScript Search Framework.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, have a look at the &lt;a href=&quot;https://developers.coveo.com/display/SearchREST/Result+Folding&quot; rel=&quot;noreferrer&quot;&gt;required fields&lt;/a&gt;. If your related items are also Sitecore items, you will need to code your own Sitecore Computed Index Fields to fill those field values with the required information. If your related items are in an external system, it will be harder for you to fill the fields but doable. You will need to ensure your Coveo for Sitecore edition supports the type of external source you need. Enterprise editions include the Connector Framework (on-premises) or Push API (Cloud) for you to develop connectivity if no out of the box Coveo connector exists for your repository.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, you will need to add a &lt;a href=&quot;https://coveo.github.io/search-ui/components/folding.html&quot; rel=&quot;noreferrer&quot;&gt;Folding&lt;/a&gt; component in your search interface to alter the search query. And finally, a &lt;a href=&quot;https://coveo.github.io/search-ui/components/resultfolding.html&quot; rel=&quot;noreferrer&quot;&gt;ResultFolding&lt;/a&gt; component in your result templates to display the pages and their media library items together.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While not Coveo for Sitecore specific, this &lt;a href=&quot;http://source.coveo.com/2014/09/30/grouping-related-search-results/&quot; rel=&quot;noreferrer&quot;&gt;blog post&lt;/a&gt; explains the process from A to Z.&lt;/p&gt;&#xA;" OwnerUserId="171" LastEditorUserId="171" LastEditDate="2016-11-17T20:58:18.187" LastActivityDate="2016-11-17T20:58:18.187" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2657" PostTypeId="2" ParentId="2655" CreationDate="2016-11-17T20:10:37.660" Score="2" Body="&lt;p&gt;You can use MongoDB to achieve what you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just create a custom facet (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation: Create a custom contact facet&lt;/a&gt;) and store the information whether user chose to never show the message again inside the facet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That will make sure you can access this information every time user logs in again, even if they use different browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And yes, you can use personalization for showing/hiding the component later.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-11-17T20:10:37.660" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2658" PostTypeId="1" AcceptedAnswerId="2665" CreationDate="2016-11-17T20:36:07.807" Score="1" ViewCount="2046" Body="&lt;p&gt;I have reviewed the &lt;a href=&quot;https://doc.sitecorepowershell.com/remoting&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitBook&lt;/a&gt; and the two blog articles (&lt;a href=&quot;http://blog.najmanowicz.com/2014/10/10/sitecore-powershell-extensions-remoting/&quot; rel=&quot;nofollow noreferrer&quot;&gt;original&lt;/a&gt; and &lt;a href=&quot;http://michaellwest.blogspot.com/2015/07/sitecore-powershell-extensions-remoting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;v2&lt;/a&gt;) about remoting with SPE, but I've not been successful in executing any commands.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example script I've been trying to get to work:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$session = New-ScriptSession -Username admin -Password b -ConnectionUri http://local.sitecore&#xA;Invoke-RemoteScript -Session $session -ScriptBlock { Get-Item &quot;master:\content\Home&quot; }&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The script runs without an error, but no text is output.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Things I've tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have run this same script (&lt;code&gt;Get-Item &quot;master:\content\Home&quot;&lt;/code&gt;) in the PowerShell Console inside SPE in Sitecore and I get a result.&lt;/li&gt;&#xA;&lt;li&gt;I have changed the &lt;code&gt;-ConnectionUri&lt;/code&gt; to gibberish and confirmed that I do get an error if the URL is incorrect (&lt;code&gt;New-WebServiceProxy : The remote name could not be resolved&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;I have changed the username and password, too, but I do not receive an error if they are incorrect.&lt;/li&gt;&#xA;&lt;li&gt;I have run &lt;code&gt;Invoke-RemoteScript&lt;/code&gt; without a session object (passing in the session parameters to that command) and also do not get an output.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I feel like I'm missing something simple. Anyone have any ideas?&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="95" LastEditDate="2018-05-15T02:40:33.963" LastActivityDate="2018-05-15T02:40:33.963" Title="How to connect to a Sitecore instance with Windows PowerShell?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2659" PostTypeId="1" CreationDate="2016-11-17T20:39:38.387" Score="2" ViewCount="707" Body="&lt;p&gt;I have a Sitecore 8.1 CD server. I have a page where a user can create a new shipping address and save it back to the Master database.  I am using Glass Mapper for this.  Here is my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Models.sitecore.templates.myProject.Non_Page_Templates.Address newAddress = new Models.sitecore.templates.&#xA;    myProject.Non_Page_Templates.Address&#xA;{&#xA;    ItemName = Utility.GetValidSitecoreItemName(user.Profile.UserName + &quot;-&quot; + address.Address1),&#xA;    First_Name = address.FirstName,&#xA;    Middle_Name = address.MiddleName,&#xA;    Last_Name = address.LastName,&#xA;    Company = address.Organization,&#xA;    Phone = address.PhoneNumber,&#xA;    Phone_Extension = address.PhoneExtension,&#xA;    Address_1 = address.Address1,&#xA;    Address_2 = address.Address2,&#xA;    City = address.City,&#xA;    State = address.State,&#xA;    Zip_Code = address.Zip,&#xA;    Country = address.Country&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to run this on a CD server I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Glass.Mapper.MapperException: Failed to find configuration for parent&#xA;  item type Sitecore.Data.Items.Item ---&gt; System.NullReferenceException:&#xA;  Object reference not set to an instance of an object.    at&#xA;  System.Object.GetType()    at&#xA;  Glass.Mapper.Context.GetTypeConfiguration[T](Object obj, Boolean&#xA;  doNotLoad, Boolean checkBase)    at&#xA;  Glass.Mapper.Sc.SitecoreService.Create[T,TK](TK parent, T newItem,&#xA;  Boolean updateStatistics, Boolean silent)    --- End of inner&#xA;  exception stack trace ---    at&#xA;  Glass.Mapper.Sc.SitecoreService.Create[T,TK](TK parent, T newItem,&#xA;  Boolean updateStatistics, Boolean silent)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My guess is that something I did when configuring the server as a CD server is causing this. I followed all of the instructions for removing access to the Master database.  But I need access to the Master database because I do have some code here and there that adds content items to the Master database (placing orders and stuff).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I'm not 100% entirely sure exactly what I need to re-enable on a CD server to give me full access to Master.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&#xA;Here is the LinkDatabase section of my configuration&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  LINK DATABASE  --&amp;gt;&#xA;&amp;lt;LinkDatabase type=&quot;Sitecore.Data.SqlServer.SqlServerLinkDatabase, Sitecore.Kernel&quot;&amp;gt;&#xA;&amp;lt;param connectionStringName=&quot;core&quot;/&amp;gt;&#xA;&amp;lt;/LinkDatabase&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2016-11-17T21:55:18.657" LastActivityDate="2016-11-17T21:57:40.637" Title="Trouble creating content item using Glass Mapper on a CD server" Tags="|glass-mapper|content-delivery|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2660" PostTypeId="2" ParentId="2659" CreationDate="2016-11-17T20:47:38.220" Score="1" Body="&lt;p&gt;If you are on a CD server, then your website should not have access to the &lt;code&gt;master&lt;/code&gt; database and all configuration references to it should have been removed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are you sure that you need to save this back to the &lt;code&gt;master&lt;/code&gt; database? From the description of your scenario, it sounds like a better course of action may be to save the shipping address to a custom user profile property. User profile properties are serialized and stored in the &lt;code&gt;core&lt;/code&gt; database, which both your CM and CD servers should share. This, of course, has the added benefit of tying the shipping address directly to the user who created and saved it.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;If you still want to connect your CD to the &lt;code&gt;master&lt;/code&gt; database...&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The first thing that you are going to need to do is restore your &lt;code&gt;master&lt;/code&gt; connection string. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Depending on your implementation, you may or may not need access to ContentSearch indexes for master or web. If you are using Lucene for master and Solr for web, you're out of luck on this one. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also depending on your implementation, you may need some marketing indexes. The same considerations apply here, as applied to ContentSearch indexes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, you will need to comment out or delete the following from your SwitchMasterToWeb.config, in order to restore your &lt;code&gt;/sitecore/IDTable&lt;/code&gt; settings  to accessing the ID table for &lt;code&gt;master&lt;/code&gt;, you can either point to &lt;code&gt;master&lt;/code&gt; (since you are giving your site access to the &lt;code&gt;master&lt;/code&gt; database already) or to &lt;code&gt;core&lt;/code&gt; (since &lt;code&gt;core&lt;/code&gt; is shared by both CM and CD, thus this will keep both in sync with one another):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;IDTable&amp;gt;&#xA;  &amp;lt;param connectionStringName=&quot;master&quot; set:connectionStringName=&quot;core&quot; /&amp;gt;&#xA;&amp;lt;/IDTable&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally, if you changed your &lt;code&gt;/sitecore/LinkDatabase&lt;/code&gt; settings to point at the &lt;code&gt;web&lt;/code&gt; database instead of &lt;code&gt;core&lt;/code&gt;, try changing that setting back to &lt;code&gt;core&lt;/code&gt;. This should keep your &lt;code&gt;web&lt;/code&gt; database links in sync with your &lt;code&gt;master&lt;/code&gt; database. You can do this by adding the following patch.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;LinkDatabase type=&quot;Sitecore.Data.$(database).$(database)LinkDatabase, Sitecore.Kernel&quot;&amp;gt;&#xA;    &amp;lt;param patch:instead=&quot;*[@connectionStringName='web']&quot; connectionStringName=&quot;core&quot; /&amp;gt;&#xA;  &amp;lt;/LinkDatabase&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only other thing that you may or may not need to do, based on your implementation, is restore setting specific to modules or other features that your solution requires. I don't see any indication from the error that you need any of those, so I'll just leave it at that ;)&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-17T21:57:40.637" LastActivityDate="2016-11-17T21:57:40.637" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="2661" PostTypeId="1" CreationDate="2016-11-17T20:48:16.503" Score="0" ViewCount="194" Body="&lt;p&gt;I have a Sitecore 8.1 instance that was upgraded from v7.5.  We are using hosted Mongo at ObjectRocket.  I don't remember during the upgrade process any step that told me I was supposed to add a connection string for the tracking_contact database in Mongo.  Now I am getting the following error in my log files:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #4 13:43:59 ERROR Unable to connect to server&#xA;  iad1-mongos0.objectrocket.com:12345: Invalid credential for database&#xA;  'tracking_contact'..&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Plus when I look in my Mongo db hosted at ObjectRocket I don't even see any tracking_contact database.  Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-11-17T22:45:55.017" Title="Error message - unable to connect to tracking_contact on a CD server" Tags="|mongodb|" AnswerCount="1" CommentCount="5" ClosedDate="2016-11-19T12:00:41.480" ContentLicense="CC BY-SA 3.0" />
  <row Id="2662" PostTypeId="2" ParentId="2659" CreationDate="2016-11-17T20:55:01.123" Score="1" Body="&lt;p&gt;My suspicion is if you removed access to the &lt;code&gt;master&lt;/code&gt; database on the CD server, that also included removing any references to it (connection strings, &lt;code&gt;&amp;lt;database&amp;gt;&lt;/code&gt; elements, etc.). If that's the case, then if your code is trying to reference that database, it will fail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What does your code look like at the line that causes the error? My guess is it's something like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var service = new SitecoreService(&quot;master&quot;);&#xA;service.Save(newAddress);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That would fail if there is no corresponding &lt;code&gt;&amp;lt;database name=&quot;master&quot;&amp;gt;&lt;/code&gt; in the Sitecore configs.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2016-11-17T20:55:01.123" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2664" PostTypeId="1" CreationDate="2016-11-17T21:54:09.403" Score="6" ViewCount="108" Body="&lt;p&gt;In the Security Editor, I can set Read, Write, Delete, etc. permissions on an item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone tell me the difference between Read and Visibility permissions? What's the proper use of Visibility?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jsuxR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jsuxR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.0 rev 150121&lt;/p&gt;&#xA;" OwnerUserId="1013" LastEditorUserId="1013" LastEditDate="2016-11-17T22:54:22.070" LastActivityDate="2016-11-18T14:29:34.670" Title="Sitecore 8 Security Editor - Read vs Visibility" Tags="|editor-user-permissions|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="2665" PostTypeId="2" ParentId="2658" CreationDate="2016-11-17T21:57:22.997" Score="4" Body="&lt;p&gt;I solved it. I was missing a couple of key configuration steps:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. Enable the remoting service in the SPE config&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In my &lt;code&gt;App_Config\Include\Cognified.PowerShell.config&lt;/code&gt; file, I noticed the following (unrelated elements removed for brevity):&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;powershell&amp;gt;&#xA;      &amp;lt;services&amp;gt;&#xA;        &amp;lt;remoting enabled=&quot;false&quot;&amp;gt;&#xA;          &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;add Permission=&quot;Allow&quot; IdentityType=&quot;Role&quot; Identity=&quot;sitecore\PowerShell Extensions Remoting&quot; /&amp;gt;&#xA;            &amp;lt;!-- example to disable specific user from an endpoint: --&amp;gt;&#xA;            &amp;lt;!--add Permission=&quot;Deny&quot; IdentityType=&quot;User&quot; Identity=&quot;sitecore\admin&quot; /--&amp;gt;&#xA;          &amp;lt;/authorization&amp;gt;&#xA;        &amp;lt;/remoting&amp;gt;&#xA;      &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/powershell&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Changing that &lt;code&gt;enabled=&quot;false&quot;&lt;/code&gt; to an &lt;code&gt;enabled=&quot;true&quot;&lt;/code&gt; enabled the service. To do that, I added the following patch config file:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;powershell&amp;gt;&#xA;      &amp;lt;services&amp;gt;&#xA;        &amp;lt;remoting enabled=&quot;true&quot; patch:instead=&quot;remoting&quot;&amp;gt;&#xA;          &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;add Permission=&quot;Allow&quot; IdentityType=&quot;Role&quot; Identity=&quot;sitecore\PowerShell Extensions Remoting&quot; /&amp;gt;&#xA;          &amp;lt;/authorization&amp;gt;&#xA;        &amp;lt;/remoting&amp;gt;&#xA;      &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/powershell&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;2. Give access to remote Sitecore users&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Add Sitecore users to the &lt;code&gt;sitecore\PowerShell Extensions Remoting&lt;/code&gt; role in User Manager.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2016-11-17T21:57:22.997" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2666" PostTypeId="2" ParentId="2650" CreationDate="2016-11-17T21:58:24.997" Score="1" Body="&lt;p&gt;You question is more focused on the indexing occurring rather than the strategy used. &#xA;I believe this issue is best addressed by the configuration outlined in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2370/content-delivery-setup-lucene-indexes/2392#2392&quot;&gt;Content delivery setup - Lucene indexes&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-17T21:58:24.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2667" PostTypeId="2" ParentId="2661" CreationDate="2016-11-17T22:45:55.017" Score="2" Body="&lt;p&gt;I figured out the answer.  Embarrassingly enough the answer is that the user I created in the Mongo db was named incorrectly.  Once I renamed it, everything worked properly and Sitecore created the necessary collections.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-11-17T22:45:55.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2668" PostTypeId="1" AcceptedAnswerId="2680" CreationDate="2016-11-17T23:08:45.810" Score="2" ViewCount="122" Body="&lt;p&gt;I did a ham-handed way of building my own facets and resetting the query, by doing this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Coveo.$('#search').off(Coveo.QueryEvents.buildingQuery)&#xA;Coveo.$('#search').on(Coveo.QueryEvents.buildingQuery, createQuery)&#xA;Coveo.$('#search').coveo('executeQuery');&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &quot;createQuery&quot; is my query that sets up all of the search criteria. The catch seems to be that when I do this, it knocks out pagination...I see the paging, but clicking a page number or the arrow to move forward just causes the section to fade out and in without changing pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I either rebind pagination, or is there a way to quickly reset this to requery Coveo (call my &quot;createQuery&quot; function) without doing off/on?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2016-11-18T13:26:39.810" Title="Paging no longer works after off/on to redo &quot;buildingQuery&quot;" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2669" PostTypeId="1" AcceptedAnswerId="2725" CreationDate="2016-11-18T06:15:34.057" Score="2" ViewCount="407" Body="&lt;p&gt;Using Coveo cloud (Coveo for Sitecore 4.0.450.0), the rebuilding of just coveo_web and coveo_master indexes takes too long. Once all items are added, the Indexing Manager dialog is stuck for over an hour spinning. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the status I see on the index in coveo cloud:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Performing rebuild&#xA; Started an hour ago - No items processed &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is what is see in Indexing manager:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Rebuilding...&#xA;Job running: Index_Update_IndexName=Coveo_master_index&#xA;[Items Added to Index: 6278]&#xA;&#xA;Job running: Index_Update_IndexName=Coveo_web_index&#xA;[Items Added to Index: 6277]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've already opened up ports as described here: &lt;a href=&quot;https://onlinehelp.coveo.com/en/cloud/granting_the_coveo_cloud_platform_access_to_your_on-premises_ces_index.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://onlinehelp.coveo.com/en/cloud/granting_the_coveo_cloud_platform_access_to_your_on-premises_ces_index.htm&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2016-11-21T13:32:44.890" Title="Coveo cloud indexing too slow" Tags="|coveo|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2670" PostTypeId="2" ParentId="2581" CreationDate="2016-11-18T07:57:14.867" Score="1" Body="&lt;p&gt;First of all, I don't think it matters whether or not data complies to the &lt;a href=&quot;https://en.wikipedia.org/wiki/Relational_model&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;relational model&lt;/strong&gt;&lt;/a&gt;. What you need here is just a list of passed certifications associated with a contact record.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In terms of Solr and Lucene, every contact should be represented by a separate document in the index. The list of certification IDs should be stored in a field that you'll be able to query later.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Luckily, Sitecore has a predefined way of achieving this. You don't even have to use a custom index. Instead, you can store custom fields in the contact documents of the &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/introducing-the-sitecore-analytics-index&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Analytics Index&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. Define a custom contact facet&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Certifications should be represented by contact facets—the out-of-the-box storage for custom contact data. Follow this official documentation page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up__maintaining/xdb/contacts/create_a_custom_contact_facet&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Create a custom contact facet&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. Index your custom facet&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You'll need to implement a custom &lt;code&gt;contactindexable.loadfields&lt;/code&gt; pipeline processor and inherit it from &lt;code&gt;ContactIndexableLoadFieldsProcessor&lt;/code&gt;. You'll be able to add custom data fields to the index. You'll also need to configure the custom field to be stored in the Analytics index—I suggest that you define an index field &lt;code&gt;contact.Certifications&lt;/code&gt; with &lt;code&gt;type=&quot;System.GUID&quot;&lt;/code&gt;. Follow this guide for more details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/index_custom_contact_facets&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Index custom contact facets&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an approximate implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class IndexCertifications : ContactIndexableLoadFieldsProcessor&#xA;{&#xA;    protected override IEnumerable&amp;lt;IIndexableDataField&amp;gt; GetFields(ContactIndexableLoadFieldsPipelineArgs args)&#xA;    {&#xA;        var fields = new List&amp;lt;IIndexableDataField&amp;gt;();&#xA;&#xA;        var certifications = // get the list of certifications&#xA;&#xA;        foreach (var certification in certifications)&#xA;        {&#xA;            fields.Add(new IndexableDataField&amp;lt;Guid&amp;gt;(&quot;contact.Certifications&quot;, certification.Id));&#xA;        }&#xA;&#xA;        return fields;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that, since Lucene and Solr allow to store several values in the same field, in the code above I am returning multiple field objects with the same name.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;3. Query the Analytics index&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To be able to query your custom field, you first need to extend the class &lt;code&gt;Sitecore.ContentSearch.Analytics.Models.IndexedContact&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BrandIndexedContact : IndexedContact&#xA;{&#xA;    [IndexField(&quot;contact.Certifications&quot;)]&#xA;    public Guid Certifications { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can query it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ISearchIndex index = ContentSearchManager.GetAnalyticsIndex();&#xA;&#xA;using (IProviderSearchContext context = index.CreateSearchContext())&#xA;{&#xA;    var certificationId = new Guid(&quot;{certification-id-here}&quot;);&#xA;&#xA;    IQueryable&amp;lt;BrandIndexedContact&amp;gt; query =&#xA;        context.GetQueryable&amp;lt;BrandIndexedContact&amp;gt;()&#xA;            .Where(_ =&amp;gt; _.Certifications == certificationId);&#xA;&#xA;    SearchResults&amp;lt;BrandIndexedContact&amp;gt; results = query.GetResults();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-18T08:24:08.033" LastActivityDate="2016-11-18T08:24:08.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2671" PostTypeId="1" AcceptedAnswerId="2672" CreationDate="2016-11-18T09:23:58.323" Score="7" ViewCount="2886" Body="&lt;p&gt;I am working on forgot password functionality.&#xA;I use default sitecore user provider. How I can update user password programmatically?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to change password by manipulation with object of Sitecore.Security.Accounts.User class?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="1008" LastEditDate="2016-11-18T23:17:33.660" LastActivityDate="2020-09-10T23:55:07.150" Title="Update user password programmatically" Tags="|security|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2672" PostTypeId="2" ParentId="2671" CreationDate="2016-11-18T09:31:18.553" Score="10" Body="&lt;p&gt;As you can't get the old password, you should use the reset functionality:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var user = System.Web.Security.Membership.GetUser(@&amp;quot;domain\username&amp;quot;);&#xA;var oldPassword = user.ResetPassword();&#xA;var newPassword = &amp;quot;Mynewstrongpassword1!&amp;quot;;&#xA;user.ChangePassword(oldPassword, newPassword);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;To change the password, you need to work with the Membership user. But as Dražen mentioned, you can get use the &lt;code&gt;Name&lt;/code&gt; property of the &lt;code&gt;Sitecore.Security.Accounts.User&lt;/code&gt; object in the &lt;code&gt;GetUser&lt;/code&gt; method.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="95" LastEditDate="2020-09-10T23:55:07.150" LastActivityDate="2020-09-10T23:55:07.150" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="2674" PostTypeId="1" AcceptedAnswerId="2675" CreationDate="2016-11-18T10:06:01.317" Score="3" ViewCount="1922" Body="&lt;p&gt;I am working on forgot password functionality. I send email with link which contain special token to user to change password. This token is stored in Sitecore.Security.Accounts.User like custom property.&#xA;Is it possible to get user by custom token field?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastActivityDate="2016-11-18T10:38:22.063" Title="Get user by custom property" Tags="|security|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2675" PostTypeId="2" ParentId="2674" CreationDate="2016-11-18T10:19:54.180" Score="2" Body="&lt;p&gt;No, it's not possible to get user by custom token field in Sitecore OOTB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have 2 options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Special token containing encrypted user name. User uses link, user name is decrypted. You get user by username and checks if the whole token is same as what was in the url. Simple and fast.&lt;/li&gt;&#xA;&lt;li&gt;When user uses url with token, you retrieve ALL the users and finds the one you're interested in by comparing custom property. I don't like it but if you can't change how the token is generated, this can be the only option.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-11-18T10:19:54.180" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2676" PostTypeId="2" ParentId="2674" CreationDate="2016-11-18T10:22:44.063" Score="0" Body="&lt;p&gt;You should be able to get it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;UserManager.GetUsers().Where(u =&amp;gt; u.Profile.GetCustomProperty(&quot;--customPropertyName--&quot;).Equals(&quot;--value--&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which is actually the 2nd option Marek mentioned. You are getting all users and filtering on that list. Not sure what this would do with a lot of users.. haven't done this myself.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-18T10:22:44.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2677" PostTypeId="2" ParentId="2674" CreationDate="2016-11-18T10:38:22.063" Score="0" Body="&lt;p&gt;Technically it is possible to query on a custom property as the other answers have pointed out. However, I would not loop over all users. Maybe you don't have a lot of users right now, but looping over all users is just not future proof.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative could be to keep some kind of an index in a custom table which has the username and the token linked to each other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On &lt;code&gt;user:created&lt;/code&gt;, &lt;code&gt;user:updated&lt;/code&gt; and &lt;code&gt;user:deleted&lt;/code&gt; (and their &lt;code&gt;:remote&lt;/code&gt; relatives) you update the custom table accordingly. When you need to process the link with the token, you query the custom table for the token and load the Sitecore user by name.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Security.Accounts.User.FromName(username, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="114" LastActivityDate="2016-11-18T10:38:22.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2678" PostTypeId="1" AcceptedAnswerId="2682" CreationDate="2016-11-18T11:34:36.703" Score="8" ViewCount="997" Body="&lt;p&gt;I'm getting below error when trying to build package using Sitecore Rocks. While building package it takes some time so the connection is getting timed out.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The request channel timed out while waiting for a reply after 00:00:59.9909995. Increase the timeout value passed to the request or increase the SendTimeout value on the Binding. localhost/.../service2.asmx has exceeded the allotted timeout of 00:00:59:998000&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have tried updating &lt;code&gt;compilation&lt;/code&gt; to &lt;code&gt;debug=&quot;true&quot;&lt;/code&gt; and also tried updating timeout attributes on &lt;code&gt;SitecoreApplicationCenter&lt;/code&gt; under &lt;code&gt;&amp;lt;system.serviceModel&amp;gt;&lt;/code&gt; thinking it will work but still I get timeout.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="73" LastEditDate="2016-11-19T02:59:20.880" LastActivityDate="2016-11-19T02:59:20.880" Title="How to increase request timeout for rocks connection?" Tags="|packages|sitecore-rocks|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2679" PostTypeId="2" ParentId="2678" CreationDate="2016-11-18T11:50:40.703" Score="1" Body="&lt;p&gt;You can lookup the configuration here: C:\Users\USERNAME\AppData\Local\Sitecore\Sitecore.Rocks\Connections&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-11-18T11:50:40.703" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2680" PostTypeId="2" ParentId="2668" CreationDate="2016-11-18T13:26:39.810" Score="3" Body="&lt;p&gt;Calling &lt;code&gt;Coveo.$('#search').off(Coveo.QueryEvents.buildingQuery)&lt;/code&gt; not only removes your event, but &lt;em&gt;every other event bound to&lt;/em&gt; &lt;code&gt;buildingQuery&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at &lt;a href=&quot;https://github.com/coveo/search-ui/blob/master/src/ui/Pager/Pager.ts#L216&quot; rel=&quot;nofollow noreferrer&quot;&gt;the Pager code&lt;/a&gt; in the &lt;code&gt;coveo-search-ui&lt;/code&gt;, its &lt;code&gt;buildingQuery&lt;/code&gt; event updates the query like so:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;data.queryBuilder.firstResult = eventArgs.first;&#xA;data.queryBuilder.numberOfResults = eventArgs.count;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If this event is not triggered, &lt;code&gt;firstResult&lt;/code&gt; and &lt;code&gt;numberOfResults&lt;/code&gt; would not be updated, thus stalling the pager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I really think you should &lt;em&gt;not&lt;/em&gt; call &lt;code&gt;.off(Coveo.QueryEvents.buildingQuery)&lt;/code&gt; as I suspect it will disable every other events that were bound to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would instead suggest to bind your &lt;code&gt;buildingQuery&lt;/code&gt; event once in your component initialization. If you needed that &lt;code&gt;.off&lt;/code&gt; to temporarily disable your &lt;code&gt;buildingQuery&lt;/code&gt;, put this condition directly in your &lt;code&gt;createQuery&lt;/code&gt; instead to add your own information to the query &lt;em&gt;only&lt;/em&gt; when needed.&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2016-11-18T13:26:39.810" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2681" PostTypeId="1" AcceptedAnswerId="2875" CreationDate="2016-11-18T13:44:27.597" Score="8" ViewCount="1066" Body="&lt;p&gt;I've got a Sitecore Rule, based on &#xA;&lt;code&gt;WhenCondition&amp;lt;T&amp;gt; where T : RuleContext&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to use dependency injection on a sitecore rule?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently having to use service locator pattern within&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;protected override bool Execute(T ruleContext)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;:/&lt;/p&gt;&#xA;&#xA;&lt;p&gt;//Clarification//&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is for Sitecore 8.1 update 3,&#xA;but I'd be interested to know if was possible in future versions also.&lt;/p&gt;&#xA;" OwnerUserId="388" LastEditorUserId="388" LastEditDate="2016-11-18T13:57:23.820" LastActivityDate="2016-11-25T15:04:02.950" Title="Dependency Injection for a Sitecore Rule" Tags="|dependency-injection|rules-engine|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2682" PostTypeId="2" ParentId="2678" CreationDate="2016-11-18T13:49:16.440" Score="6" Body="&lt;p&gt;You can find the connection xml under&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\Users\Administrator\AppData\Local\Sitecore\Sitecore.Rocks.VisualStudio\Connections&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Open the xml file and edit the timeout attributes as needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cFxhY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cFxhY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;binding hostName=&quot;sc81&quot; useWindowsAuth=&quot;false&quot;&#xA;userName=&quot;sitecore\admin&quot; password=&quot;b21d95ba8b8afb0d&quot; &#xA;dataService=&quot;Hard Rock Web Service&quot;&#xA;webRootPath=&quot;E:\SC81\Website&quot;     &#xA;description=&quot;&quot; isRemoteSitecore=&quot;false&quot; &#xA;automaticallyUpdate=&quot;true&quot; isHidden=&quot;false&quot;&#xA;hostNameComparisonMode=&quot;StrongWildcard&quot; &#xA;receiveTimeout=&quot;00:10:00&quot; &#xA;sendTimeout=&quot;00:01:00&quot; &#xA;openTimeout=&quot;00:01:00&quot; &#xA;closeTimeout=&quot;00:01:00&quot; &#xA;maxReceivedMessageSize=&quot;16777216&quot; maxBufferSize=&quot;16777216&quot; maxBufferPoolSize=&quot;524288&quot; maxStringContentLength=&quot;16777216&quot; transferMode=&quot;Buffered&quot; messageEncoding=&quot;Text&quot; textEncoding=&quot;utf-8&quot; bypassProxyOnLocal=&quot;false&quot; useDefaultWebProxy=&quot;true&quot; proxyAddress=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="773" LastActivityDate="2016-11-18T13:49:16.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2683" PostTypeId="1" AcceptedAnswerId="2686" CreationDate="2016-11-18T14:14:48.320" Score="6" ViewCount="5636" Body="&lt;p&gt;How should I approach getting serialized items into source control? I have Unicorn sync down to my &lt;code&gt;~/App_Data/serialization/&lt;/code&gt; so auto-publish does the deed, but how do you get changes if you're developing outside the web root?  I am currently using a gulp script to look out for changes to YML files and pull them back, but I wanted to make sure I wasn't missing something.&lt;/p&gt;&#xA;" OwnerUserId="457" LastEditorUserId="237" LastEditDate="2016-11-18T14:22:03.620" LastActivityDate="2016-11-18T15:14:38.913" Title="Unicorn Serialized Files to Source Control?" Tags="|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2684" PostTypeId="2" ParentId="2664" CreationDate="2016-11-18T14:29:34.670" Score="2" Body="&lt;p&gt;As pointed out by @michaelwest in the comments, this turned out to be a custom access right added to our solution. I need to dig into how we are using it but I think it is what @sandbeck is describing above - hiding an item from the user but allowing the application to still use it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the comments!&lt;/p&gt;&#xA;" OwnerUserId="1013" LastActivityDate="2016-11-18T14:29:34.670" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2685" PostTypeId="2" ParentId="2683" CreationDate="2016-11-18T14:31:42.763" Score="2" Body="&lt;p&gt;The files can be serialized to anywhere on disk, and you're not limited to the folder of the Sitecore installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this in mind, it's easy to add another configuration file on development machines that overrides the root folder with a folder directly in your source. I find this a much easier method than relying on another task that has to keep two folders in-sync. Additionally, pulling and syncing changes to Sitecore becomes very easy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unicorn in fact comes with an example configuration file included for achieving just this, you just need to remove the .example extension:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unicorn.CustomSerializationFolder.config.example&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;    This is an example of how to configure Unicorn to override the location on disk to store the serialized items.&#xA;&#xA;    If used, this should be present on all environments where Unicorn is active (usually all but CD).&#xA;--&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;            &amp;lt;defaults&amp;gt;&#xA;                &amp;lt;!--&#xA;                    VERY IMPORTANT: THIS CONFIG MUST LOAD AFTER THE REGULAR UNICORN CONFIGURATIONS&#xA;                    Sitecore config patch files load in alphabetical order, followed by folders.&#xA;                    So either place this in App_Config/Include/Unicorn, or a folder that loads after that like 'zSite'&#xA;&#xA;                    The target data store is where we write serialized items to, use this patch to alter where items are serialized to and from.&#xA;&#xA;                    Note the target data store's rootPath can be any of:&#xA;                    Absolute filesystem path, e.g. c:\foo\bar&#xA;                    Web-root-relative path, e.g. ~/data/serialization or ~/../out-of-root-serialization&#xA;                    Data-folder-relative path, e.g. $(dataFolder)\serializedItems&#xA;&#xA;                    DO NOT SHARE A ROOT PATH BETWEEN CONFIGURATIONS (at least if you're using SFS).&#xA;                    They can clobber each other's folders. You may inject the name of the current&#xA;                    configuration as a variable with $(configurationName).&#xA;&#xA;                    The data cache uses a memory cache to store serialized items read from disk. It&#xA;                    is recommended if using transparent syncing for performance. It's not really&#xA;                    needed otherwise.&#xA;                    --&amp;gt;&#xA;                &amp;lt;targetDataStore type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot;&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;physicalRootPath&quot;&amp;gt;c:\path-to-source\Unicorn\$(configurationName)&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/targetDataStore&amp;gt;&#xA;            &amp;lt;/defaults&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have a setup where all developers have their source folder in the same location, you can keep this file in source and just make sure it isn't included in deployments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you each use different working folders for your source, you can omit the file from source control completely and make sure that the developers add it to their deployed sites locally. If you are using git for source control, you can even have it in source control but ask git to not track any further changes to the file, so devs don't accidentally commit the file back in with changes.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2016-11-18T14:31:42.763" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2686" PostTypeId="2" ParentId="2683" CreationDate="2016-11-18T15:14:38.913" Score="18" Body="&lt;p&gt;This is an alternative method to @Kasaku's answer - it effectively gives the same result but &lt;em&gt;can&lt;/em&gt; be a little more flexible, especially if you are following &lt;a href=&quot;http://helix.sitecore.net&quot;&gt;Helix&lt;/a&gt; guidelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of patching the &lt;code&gt;physicalRootPath&lt;/code&gt; in the &lt;code&gt;targetDataStore&lt;/code&gt; for the &lt;code&gt;defaults&lt;/code&gt;, you can also do this in each configuration file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So that you only have one place to put the full path, create a &lt;code&gt;zDeveloper.config&lt;/code&gt; file. In that add a new variable called &lt;code&gt;sourceFolder&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;C:\projects\myproject\src&quot; /&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can use that in your serialization configs. For example, here is a config for the Habitat Accounts feature:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;      &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;configuration name=&quot;Feature.Accounts&quot; description=&quot;Feature Accounts&quot; dependencies=&quot;Foundation.Serialization,Foundation.Assets&quot; patch:after=&quot;configuration[@name='Foundation.Serialization']&quot;&amp;gt;&#xA;          &amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\feature\accounts\serialization&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; useDataCache=&quot;false&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Accounts.Templates&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/Feature/Accounts&quot; /&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Accounts.Renderings&quot; database=&quot;master&quot; path=&quot;/sitecore/layout/renderings/Feature/Accounts&quot; /&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Accounts.Core.Templates&quot; database=&quot;core&quot; path=&quot;/sitecore/templates/Feature/Accounts&quot; /&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Accounts.Media&quot; database=&quot;master&quot; path=&quot;/sitecore/media library/Feature/Accounts&quot; /&amp;gt;&#xA;          &amp;lt;/predicate&amp;gt;&#xA;          &amp;lt;roleDataStore type=&quot;Unicorn.Roles.Data.FilesystemRoleDataStore, Unicorn.Roles&quot; physicalRootPath=&quot;$(sourceFolder)\feature\accounts\serialization\Feature.Accounts.Roles&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;          &amp;lt;rolePredicate type=&quot;Unicorn.Roles.RolePredicates.ConfigurationRolePredicate, Unicorn.Roles&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;include domain=&quot;modules&quot; pattern=&quot;^Feature Accounts .*$&quot; /&amp;gt;&#xA;          &amp;lt;/rolePredicate&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/configurations&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that the &lt;code&gt;targetDataStore&lt;/code&gt; is overwritten:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\feature\accounts\serialization&quot; ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using this method, each of your Foundation, Feature and Project layers can have their Unicorn files in their own folder - keeping the Helix pattern. It's still all under the source folder in your repo, so you have no issues with source control.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-18T15:14:38.913" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2687" PostTypeId="1" CreationDate="2016-11-18T15:27:52.593" Score="0" ViewCount="785" Body="&lt;p&gt;I'm playing around with Unicorn and Transparent Sync.  I've found it is pretty awesome, but I had some questions on best practices.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Getting mixed signals for production use.  I like the idea of templates/renderings being file deploys instead of having to run a separate sync or powershell command.&lt;/li&gt;&#xA;&lt;li&gt;Is there any way to publish automatically to the 'web' DB?  I know it can on sync operations, but obviously with Transparent Sync enabled, those events do not get triggered (unless I'm missing something).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I've looked to find these answers, but I assume I just must be missing it.&lt;/p&gt;&#xA;" OwnerUserId="457" LastActivityDate="2017-04-20T23:17:57.357" Title="Unicorn Transparent Sync Publish" Tags="|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2688" PostTypeId="1" AcceptedAnswerId="2698" CreationDate="2016-11-18T21:29:20.073" Score="4" ViewCount="2514" Body="&lt;p&gt;I'm adding a new button to the Sitecore rich text editor. I've used this link as a &lt;a href=&quot;http://sitecoreblog.blogspot.com.br/2012/10/add-custom-button-in-rich-text-editor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;reference&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'm trying to do is have a button just like &quot;Insert Sitecore Media&quot; where when I click it I can add an image, but that image I want to add some inline styling to it(not something a content author will do but something I'll get done programmatically). If anyone have done something similar let me know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So here's what I have done:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have created the button on the core db with the click value as InsertFloatMedia&lt;/li&gt;&#xA;&lt;li&gt;Within &lt;code&gt;/sitecore/shell/contros/rich text editor/&lt;/code&gt; I have created a folder InsertFloatMedia&lt;/li&gt;&#xA;&lt;li&gt;Within that folder I copied and renamed the InsertFloatMedia.js and InsertFloatMedia.xml&lt;/li&gt;&#xA;&lt;li&gt;I have tried to reproduce the same xml described on the example I mentioned just changing what needed for InsertFloatMedia&lt;/li&gt;&#xA;&lt;li&gt;Have created a class and referenced it on the xml(this class is identical to the example)&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;have changed the Rich Text Commands.js and added this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-javascript prettyprint-override&quot;&gt;&lt;code&gt;RadEditorCommandList[&quot;InsertFloatMedia&quot;] = function (commandName, editor, args) {&#xA;    var d = Telerik.Web.UI.Editor.CommandList._getLinkArgument(editor);&#xA;    Telerik.Web.UI.Editor.CommandList._getDialogArguments(d, &quot;A&quot;, editor, &quot;DocumentManager&quot;);&#xA;&#xA;    //Retrieve the html selected in the editor&#xA;    var html = editor.getSelectionHtml();&#xA;&#xA;    scEditor = editor;&#xA;&#xA;    //Call your custom dialog box&#xA;    editor.showExternalDialog(&#xA;        &quot;/sitecore/shell/default.aspx?xmlcontrol=RichText.InsertFloatMedia&amp;amp;la=&quot; + scLanguage,&#xA;        null, //argument&#xA;        500, //Height&#xA;        180, //Width&#xA;        scInsertFloatMediaCallback, //callback&#xA;        null, // callback args&#xA;        &quot;InsertFloatMedia&quot;,&#xA;        true, //modal&#xA;        Telerik.Web.UI.WindowBehaviors.Close, // behaviors&#xA;        false, //showStatusBar&#xA;        false //showTitleBar&#xA;    );&#xA;};&#xA;&#xA;//The function called when the user close the dialog&#xA;function scInsertFloatMediaCallback(sender, returnValue) {&#xA;    if (!returnValue) {&#xA;        return;&#xA;    }&#xA;&#xA;    //You may retreive some code from your returnValue&#xA;&#xA;    //For the example I add Hello and my return value in the Rich Text&#xA;    scEditor.pasteHtml(&quot;Hello &quot; + returnValue.text, &quot;DocumentManager&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;THE ERROR&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I try to execute this opening the RTE and clicking on the button a blank pupup shows up. &#xA;inspecting the url of the iframe it looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mtBef.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mtBef.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the image I see the page is empty(look at the body tag)&#xA;If I inspect the src for out of the box ones when I click, they show properly.&#xA;Anyone know what I'm doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="73" LastEditDate="2016-11-19T11:48:28.920" LastActivityDate="2016-11-19T11:48:28.920" Title="Adding a new button on the Sitecore rich text editor is not working" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2689" PostTypeId="1" CreationDate="2016-11-18T21:38:04.500" Score="2" ViewCount="1093" Body="&lt;p&gt;I'm looking for an Sitecore e-commerce solution that can read pricing/inventory information out of SAP. Has anyone done this before or know of a platform that can support this kind of integration natively?&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2016-12-19T11:58:34.743" Title="Are there Sitecore e-commerce solutions that have native integration with SAP?" Tags="|integration|sitecore-commerce|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2690" PostTypeId="1" AcceptedAnswerId="2776" CreationDate="2016-11-18T22:39:51.417" Score="5" ViewCount="988" Body="&lt;p&gt;I've got a new install of Sitecore 8.2 with the SXA add-on configured, and I'm trying to add a map component to my page. When I add it, I get the following error:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/o4ZiG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o4ZiG.png&quot; alt=&quot;Google Maps Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked at the console, and it is complaining about not having an API key set. I went ahead and got an API key from Google, but now I can't figure out where to put it so that SXA/Sitecore will use it while it's generating the map.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get the map to show up correctly in SXA?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2018-09-07T08:50:02.477" Title="How do I get the map component to work in SXA?" Tags="|sxa|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2691" PostTypeId="2" ParentId="2671" CreationDate="2016-11-18T23:41:33.770" Score="2" Body="&lt;p&gt;There is a way in case you need to build User Management tools for an internal support team. Let's say an admin needs to reset a password for a Content Author you can take advantage of &lt;strong&gt;Sitecore PowerShell Extensions&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Set-UserPassword&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Set-UserPassword -Identity michael -NewPassword pass123 -OldPassword b&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-11-18T23:41:33.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2692" PostTypeId="1" CreationDate="2016-11-19T04:11:54.347" Score="0" ViewCount="353" Body="&lt;p&gt;With Creative Exchange styles can be edited in Components or in Page &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Components works fine out of the box. New styles are added to Sitecore and assigned to components after import as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Page body is not so easy. I added style to the page, but nothing was changed in Sitecore after importing package with that style. My changes are just ignored. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I do to import custom style added to &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag in SXA?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using SXA v1.1 &lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="633" LastEditDate="2016-11-19T04:33:27.133" LastActivityDate="2016-11-19T04:33:27.133" Title="Creative Exchange does not import page &lt;body&gt; style in SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2693" PostTypeId="2" ParentId="2692" CreationDate="2016-11-19T04:11:54.347" Score="2" Body="&lt;p&gt;Styles from &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag added to Sitecore &lt;code&gt;Body Css Style&lt;/code&gt; page field after import. That field is defined by its ID in SXA code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static readonly ID BodyCssClass = new ID(&quot;{D4952280-2D7D-4BF4-A99A-EA36DAD0F0A7}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Body Css Style&lt;/code&gt; field belongs to &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Theming/_Styleable&lt;/code&gt; template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is, SXA pages are not inherited from that template after site is scaffolded.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix that, you need to open &lt;code&gt;Page&lt;/code&gt; template for your tenant - &lt;code&gt;/sitecore/templates/Project/My Tenant/Page&lt;/code&gt; and add &lt;code&gt;_Styleable&lt;/code&gt; to &lt;code&gt;Base templates&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that is done, reimport Creative Exchange package and you style will appear in &lt;code&gt;Body Css Style&lt;/code&gt; field.&lt;/p&gt;&#xA;" OwnerUserId="633" LastActivityDate="2016-11-19T04:11:54.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2694" PostTypeId="2" ParentId="2630" CreationDate="2016-11-19T04:24:24.427" Score="2" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;What is the best practice for adding custom CSS to a theme?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;SXA structures CSS files per component. So, if you style is component specific (and majority of your CSS should be) you need to create one file per component. Give this file the same name as your component have with &lt;code&gt;component-&lt;/code&gt; preffix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For global styles you can extend existing &lt;code&gt;main.css&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In both these cases, your CSS files should be located in &lt;code&gt;-\media\Project\SXA-Tenant\SXA-Site\SXA-Theme\styles&lt;/code&gt; folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Files from this folder are imported back into Sitecore, added as media resources and rendered in &lt;code&gt;MVC Layout&lt;/code&gt; using &lt;code&gt;AssetLinksGenerator.GenerateLinks&lt;/code&gt; method. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That method internally executes &lt;code&gt;assetService&lt;/code&gt; pipeline. You can add your processor into it to implement custom logic. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;How do I use the &quot;Add-your-css-classes-here&quot;?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You should add your custom class after &lt;code&gt;add-your-css-classes-here&lt;/code&gt; keywords inside &lt;code&gt;class&lt;/code&gt; attribute. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That part works out of the box for components. After you Import your design back to Sitecore two things happen: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your class registered as SXA style for current site. You can find it in &lt;code&gt;/sitecore/content/Sxa Tenant/SXA  Site/Presentation/Styles&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Style is assigned to Component.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Import for &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt;  styles does not work with default scaffolding in SXA 1.1. I created separate post describing little tweak that solves that issue - &lt;a href=&quot;https://sitecore.stackexchange.com/a/2693/633&quot;&gt;https://sitecore.stackexchange.com/a/2693/633&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;What css files would I use to modify site-wide settings, such as an&#xA;  image in the body of the page?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As I mentioned above you can extend existing &lt;code&gt;main.css&lt;/code&gt;. &lt;/p&gt;&#xA;" OwnerUserId="633" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-19T04:24:24.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2696" PostTypeId="1" CreationDate="2016-11-19T06:21:28.250" Score="7" ViewCount="764" Body="&lt;p&gt;I'm using Stackexchange.Redis for Redis cache on Azure with Glass mapper and Sitecore 8.1 - For Glass mapper implementation I'm using interfaces as models and maps configuration to get the data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the issue is that for Redis provider to work we should pass the object as serializable which can only happen in classes but I'm using interfaces as model with glass mapper. If I use classes as model and serialize it my redis implementation works just fine but then I'll be limited to have multiple inheritence in my template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone please suggest how to use Glass Mapper interfaces to be pushed into Redis cache or any work around for this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the error I'm getting while serializing the Interface:&#xA;Type &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'System.Linq.Enumerable+WhereSelectEnumerableIterator`2[[Sitecore.Data.Templates.Template,&#xA;  Sitecore.Kernel, Version=8.1.0.0, Culture=neutral,&#xA;  PublicKeyToken=null],[System.Guid, mscorlib, Version=4.0.0.0,&#xA;  Culture=neutral, PublicKeyToken=b77a5c561934e089]]' in Assembly&#xA;  'System.Core, Version=4.0.0.0, Culture=neutral,&#xA;  PublicKeyToken=b77a5c561934e089' is not marked as serializable.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at&#xA;  System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType&#xA;  type)    at&#xA;  System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type&#xA;  type, StreamingContext context)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()&#xA;  at&#xA;  System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object&#xA;  obj, ISurrogateSelector surrogateSelector, StreamingContext context,&#xA;  SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,&#xA;  ObjectWriter objectWriter, SerializationBinder binder)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo&#xA;  objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArrayMember(WriteObjectInfo&#xA;  objectInfo, NameInfo arrayElemTypeNameInfo, Object data)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArray(WriteObjectInfo&#xA;  objectInfo, NameInfo memberNameInfo, WriteObjectInfo memberObjectInfo)&#xA;  at&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo&#xA;  objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object&#xA;  graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)&lt;br&gt;&#xA;  at&#xA;  System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream&#xA;  serializationStream, Object graph, Header[] headers, Boolean fCheck)&lt;br&gt;&#xA;  at&#xA;  System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream&#xA;  serializationStream, Object graph)    at&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class SampleItemMap : SitecoreGlassMap&amp;lt;ISampleItem&amp;gt;&#xA;{&#xA;&#xA;    public override void Configure()&#xA;    {&#xA;        Map(x =&amp;gt;&#xA;        {&#xA;            ImportMap&amp;lt;IGlassBase&amp;gt;();&#xA;            x.TemplateId(&quot;{21AB47FD-F264-48B4-ABF4-1FF5B10FB4A4}&quot;);&#xA;            x.Cachable();&#xA;            x.AutoMap();&#xA;        });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the Interface for Handling the Default SampleItem template is as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public interface ISampleItem : IGlassBase&#xA; {&#xA;    string Title { get; set; }&#xA;&#xA;    string Text { get; set; }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="206" LastEditorUserId="206" LastEditDate="2016-12-01T15:08:55.223" LastActivityDate="2019-03-06T08:08:43.490" Title="Redis Cache with Glass mapper interfaces in Sitecore 8.1 and above" Tags="|glass-mapper|caching|redis|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2697" PostTypeId="2" ParentId="2681" CreationDate="2016-11-19T08:09:39.440" Score="1" Body="&lt;p&gt;Unfortunately no, in my opinion. At the moment you can only use for &lt;code&gt;events&lt;/code&gt; and &lt;code&gt;pipelines&lt;/code&gt;. Like described here - &lt;a href=&quot;https://stackoverflow.com/questions/38133076/sitecore-inject-dependency-into-sitecore-components&quot;&gt;https://stackoverflow.com/questions/38133076/sitecore-inject-dependency-into-sitecore-components&lt;/a&gt;. What you could use is resolve the dependency via property in your rule class. Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyRule  &#xA;{  &#xA;    public virtual IMyDependency MyDependency  &#xA;    {  &#xA;        get { return IocContainer.Resolve&amp;lt;IMyDependency&amp;gt;(); }  &#xA;    }  &#xA;}  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is not the most elegant way but it works. If it is virtual then you can also mock this property in your tests.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-24T12:48:13.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2698" PostTypeId="2" ParentId="2688" CreationDate="2016-11-19T09:32:34.113" Score="4" Body="&lt;p&gt;I was able to reproduce it and got a solution.&#xA;You are probably missing one small thing.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Open new tab: &#xA;&lt;code&gt;http://domain/sitecore/shell/default.aspx?xmlcontrol=RichText.InsertFloatImage&amp;amp;la=en&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Right now it will be empty.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Located the &lt;strong&gt;InsertFloatImage.xml&lt;/strong&gt; file and open it&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure you have changed &lt;code&gt;RichText.InsertImage&lt;/code&gt; node to &lt;code&gt;RichText.InsertFloatImage&lt;/code&gt;, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;control xmlns:def=&quot;Definition&quot; xmlns=&quot;http://schemas.sitecore.net/Visual-Studio-Intellisense&quot;&amp;gt;&#xA;    &amp;lt;RichText.InsertFloatImage&amp;gt;&#xA;        &amp;lt;FormDialog Header=&quot;Insert Float Media Item&quot; Text=&quot;Navigate to or search for the image or media file that you want to insert.&quot; OKButton=&quot;Insert&quot;&amp;gt;&#xA;            &amp;lt;!--control code --&amp;gt;&#xA;        &amp;lt;/FormDialog&amp;gt;&#xA;    &amp;lt;/RichText.InsertFloatImage&amp;gt;&#xA;&amp;lt;/control&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Restart your application&lt;/strong&gt; (this is super important! You have to do this to clean cache in Sitecore)&lt;/li&gt;&#xA;&lt;li&gt;Go back to: &lt;code&gt;http://domain/sitecore/shell/default.aspx?xmlcontrol=RichText.InsertFloatImage&amp;amp;la=en&lt;/code&gt; and refresh the page.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Done.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you should see your custom dialog.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/QDNI8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QDNI8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I was able to display my custom dialog (changed title) and after I clicked &lt;strong&gt;Insert&lt;/strong&gt; I was able to hit the js breakpoint .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lldkX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lldkX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-19T09:32:34.113" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2699" PostTypeId="2" ParentId="2689" CreationDate="2016-11-19T11:47:27.133" Score="3" Body="&lt;p&gt;It depends.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you'll need to look into writing integration code for this, as there would rarely be &lt;em&gt;anything&lt;/em&gt; that completely OOTB connects two systems like these. So something like &lt;a href=&quot;http://www.sitecore.net/products/sitecore-experience-platform/cross-channel-delivery/commerce&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Commerce Connect&lt;/a&gt; linked to &lt;a href=&quot;http://help.sap.com/bods&quot; rel=&quot;nofollow noreferrer&quot;&gt;SAP Data Services&lt;/a&gt; / &lt;a href=&quot;https://archive.sap.com/discussions/thread/3929684&quot; rel=&quot;nofollow noreferrer&quot;&gt;OData (discussed here)&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said; if by chance your client is using &lt;a href=&quot;https://www.hybris.com/en/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SAP Hybris&lt;/a&gt;, there does seem to be a tool on the market that might be of use. &lt;a href=&quot;https://www.epam.com/ideas/brochures/epam-sitecore-commerce-sap-hybris-connector&quot; rel=&quot;nofollow noreferrer&quot;&gt;EPAM Sitecore Commerce + SAP Hybris Connector&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-19T11:47:27.133" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2701" PostTypeId="1" AcceptedAnswerId="2702" CreationDate="2016-11-19T15:37:44.993" Score="4" ViewCount="445" Body="&lt;p&gt;I've defined a new facet Price in &lt;code&gt;/sitecore/system/Settings/Buckets/Facets&lt;/code&gt; but it does not show up in the Field dropdown when I try to add a &lt;code&gt;Coveo Range Facet View&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can only see 2 fields in the dropdown as opposed to 10+ fields that are defined in &lt;code&gt;/sitecore/system/Settings/Buckets/Facets&lt;/code&gt; folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've already rebuilt the coveo indexes multiple times.&#xA;The Price field does show up in regular &lt;code&gt;Coveo Facet View&lt;/code&gt;'s dropdown. &#xA;Is there anything else I need to do?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: seeing this warning in logs, WARN  The item with ID 'Price' could not be found. The item ID will be returned instead of the list value.&lt;/p&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="1128" LastEditDate="2016-11-20T20:33:17.147" LastActivityDate="2016-11-20T20:33:17.147" Title="Field not showing up in coveo range facet dropdown" Tags="|content-search|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2702" PostTypeId="2" ParentId="2701" CreationDate="2016-11-20T02:16:39.717" Score="2" Body="&lt;p&gt;I have seen a similar behaviour and the reason was that the the type of the field I had set on my /buckets/facets was not compatible with the type of the facet I was using.&#xA;What's the type your field is getting indexed as?&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-11-20T02:16:39.717" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2703" PostTypeId="2" ParentId="2687" CreationDate="2016-11-20T02:57:20.750" Score="0" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Getting mixed signals for production use. I like the idea of templates/renderings being file deploys instead of having to run a separate sync or powershell command.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Can you clarify what you mean? In general, you always have to trigger external task somehow, it will be either gulp or powershell script. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, it is possible to create a sitecore scheduled task to check if files were updated and run the Unicorn sync, but I don't think that it is good idea for production server. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Is there any way to publish automatically to the 'web' DB? I know it can on sync operations, but obviously with Transparent Sync enabled, those events do not get triggered (unless I'm missing something).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You need to create a custom web service (either asmx or mvc route,&#xA;etc) on the sitecore side that will trigger the publish and a&#xA;customized task to trigger this service after the deployment/unicorn&#xA;sync is done&lt;/li&gt;&#xA;&lt;li&gt;Or you can use &lt;a href=&quot;https://sitecorebasics.wordpress.com/2011/05/17/basics-of-sitecore-scheduled-publishing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore publish agent&lt;/a&gt; &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="982" LastEditorDisplayName="user62" LastEditDate="2017-04-20T23:17:57.357" LastActivityDate="2017-04-20T23:17:57.357" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2704" PostTypeId="2" ParentId="1835" CreationDate="2016-11-20T04:03:10.277" Score="1" Body="&lt;p&gt;The Asp.net Membership API uses a method called &lt;em&gt;ChangePassword&lt;/em&gt;, hence the need for the old password. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Resetting a password would then look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;string username = &quot;username&quot;;&#xA;string password = &quot;newpassword&quot;;&#xA;MembershipUser mu = Membership.GetUser(username);&#xA;mu.ChangePassword(mu.ResetPassword(), password);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In case you have &lt;strong&gt;Sitecore PowerShell Extensions&lt;/strong&gt; installed you can set a new password without knowing the old.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following assigns a new password to three users.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;&quot;michael&quot;,&quot;adam&quot;,&quot;mike&quot; | Set-UserPassword -NewPassword b -Reset&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See the SPE help for &lt;strong&gt;Set-User&lt;/strong&gt; &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Set-UserPassword.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-11-20T04:03:10.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2705" PostTypeId="1" CreationDate="2016-11-20T13:18:48.440" Score="2" ViewCount="1750" Body="&lt;p&gt;I got a question from a client asking if we can enable/disable caching at a page level in Sitecore, I know we can do it for single renders/ but I couldn't find anything about enabling/disabling caching for a certain page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="329" LastActivityDate="2016-11-21T01:58:00.503" Title="Can we enable/disable caching at a page level in sitecore" Tags="|caching|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2706" PostTypeId="2" ParentId="2705" CreationDate="2016-11-20T16:47:06.980" Score="1" Body="&lt;p&gt;You can achieve this by setting the caching programmatically. Please read my post &lt;a href=&quot;https://hishaamn.wordpress.com/2016/09/25/add-sitecore-caching-programmatically/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; how to set the caching via code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In brief, you need to hook into the rendering pipeline, know which page is being rendered, then set your caching accordingly on the main div to cache all the inner components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt; &lt;strong&gt;1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even if you are using webforms or renderings, the page will consist of different components. You may have a component on the page that you need to put in cache which regroups all the inner components. Then either programmatically or via the presentation details, if you cache the main components all the inner ones will be cached.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-11-20T19:07:09.653" LastActivityDate="2016-11-20T19:07:09.653" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2707" PostTypeId="2" ParentId="2705" CreationDate="2016-11-20T17:08:02.837" Score="1" Body="&lt;p&gt;Assuming you are using Sitecore MVC renderings, the following example will disable caching of all renderings on the page , You can use the following example, by first extending your page template and adding a checkbox field to it, Name it &quot;&lt;strong&gt;Disable Caching&lt;/strong&gt;&quot;, Then you need to override &quot;&lt;strong&gt;Sitecore.Mvc.Pipelines.Response.RenderRendering.SetCacheability&lt;/strong&gt;&quot; processor as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace Sitecore.SharedResources.Pipelines.Rendering&#xA;{&#xA;    public class SetCacheability : Sitecore.Mvc.Pipelines.Response.RenderRendering.SetCacheability&#xA;    {&#xA;        protected override bool IsCacheable(Sitecore.Mvc.Presentation.Rendering rendering, Sitecore.Mvc.Pipelines.Response.RenderRendering.RenderRenderingArgs args)&#xA;        {&#xA;            if (Sitecore.Context.Item != null &amp;amp;&amp;amp;!String.IsNullOrEmpty(Sitecore.Context.Item[&quot;Disable Caching&quot;])&#xA;                &amp;amp;&amp;amp; Sitecore.Context.Item[&quot;Disable Caching&quot;] == &quot;1&quot;)&#xA;            {&#xA;                return false;&#xA;            }&#xA;            return base.IsCacheable(rendering, args);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need to add the patch config file :&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.renderRendering&amp;gt;&#xA;        &amp;lt;processor patch:instead=&quot;processor[@type='Sitecore.Mvc.Pipelines.Response.RenderRendering.SetCacheability, Sitecore.Mvc']&quot;&#xA;          type=&quot;Sitecore.SharedResources.Pipelines.Rendering.SetCacheability, [YOUR ASSEMBLY NAME]&quot;/&amp;gt;&#xA;      &amp;lt;/mvc.renderRendering&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2016-11-21T01:58:00.503" LastActivityDate="2016-11-21T01:58:00.503" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2708" PostTypeId="1" AcceptedAnswerId="2730" CreationDate="2016-11-21T00:55:58.507" Score="7" ViewCount="1347" Body="&lt;p&gt;I am using Castle.Windsor on my project which based on Helix principle. Where the best place to initialize IoC in Helix?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where I should register container? Foundation/Project layer(Common project or for each project in project layer)&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="1008" LastEditDate="2016-11-21T06:39:30.477" LastActivityDate="2016-11-21T15:08:24.607" Title="IoC in Helix architicture" Tags="|helix|dependency-injection|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2709" PostTypeId="1" CreationDate="2016-11-21T01:36:06.113" Score="4" ViewCount="599" Body="&lt;p&gt;I am working on Helix based project. This one is multi-site project. The html for same features different so I've decided to move views to project layer to support html difference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it allowed to move views to project layer? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What the consequences might be?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="73" LastEditDate="2016-12-26T15:48:53.313" LastActivityDate="2016-12-26T15:48:53.313" Title="Helix. Moving views to Project layer" Tags="|helix|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2710" PostTypeId="1" CreationDate="2016-11-21T02:17:55.307" Score="6" ViewCount="337" Body="&lt;p&gt;I am working on Helix based project.&#xA;I've already implemented Foundation.Indexing project and also I've implemented news search and blog search based on Foundation.Indexing. Now I am working on site content search. I have a small specific in this easy functionality. I need to render search result text depend on item result template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (itemResult.TemplateId == NewsTemplateId) &#xA;{ then render &quot;Hello this is news&quot; }&#xA;else if (itemResult.TemplateId == BlogTemplateId)&#xA;{ then render &quot;Hello this is blog&quot; }&#xA;else &#xA;{ render item[&quot;BodyText&quot;] }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Following Helix principles: references between features are not allowed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How I can handle without breaking the principles?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="135" LastEditDate="2020-10-11T14:04:36.040" LastActivityDate="2024-03-25T00:03:00.360" Title="Content search related to feature" Tags="|helix|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2712" PostTypeId="1" AcceptedAnswerId="2714" CreationDate="2016-11-21T04:58:17.473" Score="0" ViewCount="6739" Body="&lt;p&gt;We have simple code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string returnUrl = &quot;/sitecore/content/;&#xA;WebUtil.Redirect(returnUrl);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, the the last line above seems to throw an exception below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6156 2016:11:18 06:41:01 ERROR Application error.&#xA;Exception: System.Web.HttpException&#xA;Message: Cannot redirect after HTTP headers have been sent.&#xA;Source: System.Web&#xA;   at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)&#xA;   at Sitecore.Web.WebUtil.Redirect(String path)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea what could be throwing this excpetion?&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2016-11-21T06:53:31.017" Title="WebUtil.Redirect - Cannot redirect after HTTP headers have been sent" Tags="|redirect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2713" PostTypeId="2" ParentId="2710" CreationDate="2016-11-21T05:43:02.550" Score="0" Body="&lt;p&gt;Actually you are breaking a more important principle of not hard-coding stuff.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It can be easily fixed by adding a new template called i.e. &lt;strong&gt;SearchPreviewable&lt;/strong&gt; with the field &lt;strong&gt;Preview Text&lt;/strong&gt; and inherit your news/blog/etc templates from the &lt;strong&gt;SearchPreviewable&lt;/strong&gt; template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you will only need to do something like this in your code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; render item[&quot;Preview Text&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Without any template comparison needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case you still want to use the &quot;&lt;strong&gt;BodyText&lt;/strong&gt;&quot; in some cases, you should leave only one comparison statement:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (itemResult.TemplateId == SearchPreviewableTemplateId) &#xA;{ then render item[&quot;Preview Text&quot;] }&#xA;else &#xA;{ render item[&quot;BodyText&quot;] }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2016-11-21T09:34:09.543" LastActivityDate="2016-11-21T09:34:09.543" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2714" PostTypeId="2" ParentId="2712" CreationDate="2016-11-21T06:53:31.017" Score="2" Body="&lt;p&gt;This exception can happen in at least 2 cases:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;There is already a redirect that has been initiated earlier during the page request.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Your application wrote other headers to the response before &lt;code&gt;WebUtil.Redirect&lt;/code&gt; was called.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In both cases, you should get a clue about what's happening by setting a breakpoint on the line with &lt;code&gt;WebUtil.Redirect&lt;/code&gt; and looking at the values stored in &lt;code&gt;Response.Headers&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there's already a redirect header, the best thing to do is make sure your redirection logic is consolidated in one place—then there won't be room for such errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can't control previous redirects, then you can guard against them:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!Response.IsRequestBeingRedirected)&#xA;{&#xA;    string returnUrl = &quot;/sitecore/content/&quot;;&#xA;    WebUtil.Redirect(returnUrl);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-21T06:53:31.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2715" PostTypeId="1" CreationDate="2016-11-21T07:03:36.597" Score="0" ViewCount="152" Body="&lt;p&gt;I have tried to upgrade 8.0 to 8.1 but its giving me an error: &quot;The layout for the requested document was not found&quot;. I have rechecked all the steps mentioned in the upgrade guide, and everything is correct, but I'm still getting the error. How do I solve this?&lt;/p&gt;&#xA;" OwnerUserId="1160" LastEditorUserId="104" LastEditDate="2016-11-21T07:54:16.347" LastActivityDate="2016-11-21T07:54:16.347" Title="Error when upgrading Sitecore 8.0 (150121) to Sitecore 8.1" Tags="|upgrade|" AnswerCount="1" CommentCount="1" ClosedDate="2016-11-21T11:02:35.837" ContentLicense="CC BY-SA 3.0" />
  <row Id="2716" PostTypeId="1" AcceptedAnswerId="2719" CreationDate="2016-11-21T07:35:51.947" Score="1" ViewCount="118" Body="&lt;p&gt;I have requirement i.e. I have some protected languages like de-DE (German), when user browsing these language ex: &lt;a href=&quot;http://www.xyz.com/de-DE&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.xyz.com/de-DE&lt;/a&gt; then he must redirect to login page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please let me know where to which is best pipeline to add this code. I am trying to add the code using &lt;code&gt;Sitecore.Pipelines.RenderLayout.SecurityCheck&lt;/code&gt;. &lt;/p&gt;&#xA;" OwnerUserId="1116" LastEditorUserId="16" LastEditDate="2016-11-21T08:08:30.803" LastActivityDate="2016-11-21T10:28:22.893" Title="protected languages -&gt; Redirection" Tags="|security|login|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2717" PostTypeId="2" ParentId="2715" CreationDate="2016-11-21T07:43:14.990" Score="1" Body="&lt;p&gt;We had the same error after upgrading from 8.0 to 8.1. All you should have to do is select a layout in the home item. For some reason that gets lost with an upgrade.&lt;/p&gt;&#xA;" OwnerUserId="364" LastActivityDate="2016-11-21T07:43:14.990" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2719" PostTypeId="2" ParentId="2716" CreationDate="2016-11-21T09:03:40.537" Score="2" Body="&lt;p&gt;You should check the language as soon as possible - so I would do it in the HTTPRequestBegin pipeline at the languageResolver.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.HttpRequest.LanguageResolver, Sitecore.Kernel&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is depending on what action your site should take, offcourse. But it sounds like, it should change to a different language.&lt;/p&gt;&#xA;" OwnerUserId="327" LastActivityDate="2016-11-21T09:03:40.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2720" PostTypeId="1" AcceptedAnswerId="2759" CreationDate="2016-11-21T09:48:05.237" Score="1" ViewCount="92" Body="&lt;p&gt;Does anyone has any idea on when there would be a PXM Indesign connector for Indesign CC 2017 available? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've noticed after an update that the plugin for 2015 did not work on 2017 and I had to reinstall the Indesign CC 2015 version (next to the updated one) to keep on using the plugin.&lt;/p&gt;&#xA;" OwnerUserId="1161" LastEditorUserId="73" LastEditDate="2016-11-21T10:57:26.053" LastActivityDate="2016-11-22T14:33:38.130" Title="Availability of PXM Indesign connector for Indesign CC 2017?" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2721" PostTypeId="2" ParentId="2716" CreationDate="2016-11-21T10:28:22.893" Score="0" Body="&lt;p&gt;If you define a different website for the German language (targeting the same content tree of course) then you can secure it easily through configuration and let Sitecore worry about anything further.&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-11-21T10:28:22.893" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2722" PostTypeId="1" AcceptedAnswerId="2830" CreationDate="2016-11-21T10:52:00.990" Score="3" ViewCount="793" Body="&lt;p&gt;is it possible to build a custom condition for the segment builder that receives an EXM campaign as parameter / context? How?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to find contacts where a specific facet has the same value as a field of the email, but I don't know how to pass the email as context when EXM uses the list, nor even if it's possible.&#xA;Any idea or starting point?&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2016-11-24T10:07:33.813" Title="How to build a condition for segment builder based on a EXM campaign" Tags="|exm|segmentation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2724" PostTypeId="2" ParentId="2722" CreationDate="2016-11-21T12:35:20.273" Score="0" Body="&lt;p&gt;Not sure how you would do it, in the segment builder. But you could use an engagement plan to do this. Dump all users into first state of your engagement plan, and do a rule that always evaluate, where you check the specific value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can trigger an email campagin on the result state. Not sure if that is what you are looking for :)&lt;/p&gt;&#xA;" OwnerUserId="327" LastActivityDate="2016-11-21T12:35:20.273" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2725" PostTypeId="2" ParentId="2669" CreationDate="2016-11-21T13:32:44.890" Score="1" Body="&lt;p&gt;The &lt;code&gt;Committed Documents&lt;/code&gt; step in Coveo for Sitecore (referred to as &lt;code&gt;Waiting for documents to be searchable...&lt;/code&gt; in the documentation) is simply querying the index to notify you when your documents are &lt;em&gt;really&lt;/em&gt; accessible from a search page. 10/sec with 7k documents looks OK to me, but it looks like this step is not the one that is taking all of that &quot;over an hour&quot; time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspect the &lt;code&gt;Deleted Documents&lt;/code&gt; step to be the culprit since it is usually the longest part in the indexing &lt;em&gt;validation&lt;/em&gt; process. It validates that the old documents are deleted from the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't mind waiting for that visual feedback, you can simply close the dialog and your documents will be available at a later time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This slowest part could not be improved before because of technical issues, though the next Coveo for Sitecore version will contain such improvement to the process and should handle better the case you are currently experiencing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also try to rebuild one index at a time instead, or re-index small parts of the tree, it can only help :)&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2016-11-21T13:32:44.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2727" PostTypeId="1" AcceptedAnswerId="2731" CreationDate="2016-11-21T14:20:32.293" Score="13" ViewCount="2492" Body="&lt;p&gt;Sitecore 8.1 update 2: Our content authors noticed that in a certain constellation newly uploaded images would not get published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the content author is in Experience Editor, adds a component which is saved as a data source below page (&lt;strong&gt;content page -&gt; local content -&gt; data source item with image field&lt;/strong&gt;), uploads an image, links it in component and publishes the whole page, with options sub items and related items.&#xA;There are no workflows yet so nothing should get lost, right? :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyways. Everything is published (or in web database) except the image. If the component has a text field that is published as well. &#xA;But when I publish the &quot;local content&quot; folder separately below the content page in content editor then the image will get published. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could reproduce this issue in a vanilla version with the sample rendering and was wondering if this is by design or if it is a bug?&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Update&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Correct answer&lt;/strong&gt; to the question is of course Dmytro Shevchenko's. &#xA;&lt;strong&gt;A fix&lt;/strong&gt; to the problem is in my answer.&lt;/p&gt;&#xA;" OwnerUserId="364" LastEditorUserId="364" LastEditDate="2016-11-24T13:18:52.700" LastActivityDate="2016-11-24T13:18:52.700" Title="Image not published in data source item (Sitecore 8.1)" Tags="|publishing|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2728" PostTypeId="2" ParentId="2696" CreationDate="2016-11-21T14:30:06.077" Score="2" Body="&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the updated stack trace, this actually looks like an issue with serializing an IEnumerable property exposed on one of your glass models (whether directly on your primary model, or indirectly as a child item's properties).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing you can try to do is to replace all of your &lt;code&gt;IEnumerable&amp;lt;T&amp;gt;&lt;/code&gt; definitions with a concrete collection type, like &lt;code&gt;List&amp;lt;T&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Caveat Emptor:&lt;/strong&gt; I have not tried this myself, but...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Caching interface-based proxies should &lt;em&gt;in theory&lt;/em&gt; work&lt;/strong&gt; (&lt;a href=&quot;https://github.com/castleproject/Core/blob/master/docs/dynamicproxy-serializable-types.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;see this reference&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The interface-based models are backed by a dynamic proxy class, and Castle (the parent project of DynamicProxy) has ensured that proxies are serializable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;However&lt;/strong&gt;, if this is not working for you &lt;em&gt;currently&lt;/em&gt;, it's entirely possible that this is a bug in Glass Mapper.  I say this because even though the primary interceptor used in Glass Mapper (&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper/Pipelines/ObjectConstruction/Tasks/CreateInterface/InterfacePropertyInterceptor.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;source here&lt;/a&gt;) is marked as [Serializable], the &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper/Pipelines/ObjectConstruction/Tasks/CreateInterface/CreateInterfaceProxyHook.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;ProxyHook is not&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this seems like the problem to you, I would recommend opening an issue in GitHub to let Mike know.&lt;/p&gt;&#xA;" OwnerUserId="420" LastEditorUserId="420" LastEditDate="2016-11-30T17:22:32.687" LastActivityDate="2016-11-30T17:22:32.687" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="2729" PostTypeId="2" ParentId="2727" CreationDate="2016-11-21T14:39:04.120" Score="-1" Body="&lt;p&gt;&lt;code&gt;Related Items&lt;/code&gt; means only for the selected item. So if you click on the datasource item and publish that then the image will be published. Here is the exact definition from Sitecore (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_an_item_to_your_website&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publish_an_item_to_your_website&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To publish all the related items to the selected item, select Publish&#xA;  related items. Related items can be:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Clone references – items that are clones of the &lt;strong&gt;selected item&lt;/strong&gt;.&lt;/li&gt;&#xA;  &lt;li&gt;Media references – media items that are related to the &lt;strong&gt;selected item&lt;/strong&gt;.&lt;/li&gt;&#xA;  &lt;li&gt;Alias references – items that are aliases of the &lt;strong&gt;selected item&lt;/strong&gt;.&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-11-21T14:39:04.120" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2730" PostTypeId="2" ParentId="2708" CreationDate="2016-11-21T14:49:33.327" Score="7" Body="&lt;p&gt;I wrote a blog post on this &lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/09/17/Habitat-Dependency-Injection-with-Sitecore-8-2/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; - here are the cliff notes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm going to assume Sitecore 8.2 for the version here, but the process is pretty much the same for earlier versions too, there would be some small tweaks. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Registering your own IoC Container&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you want to use your own container with 8.2 instead of the Sitecore out of the box one, or if this is pre 8.2 you should create a new custom pipeline for it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new Foundation project, I called it &lt;code&gt;Sitecore.Foundation.DependencyInjection&lt;/code&gt;, then create a new pipeline. I have called the pipeline &lt;code&gt;IntializeDependencyInjection&lt;/code&gt; - this can be kicked off in the &lt;code&gt;initialize&lt;/code&gt; pipeline. Patch it before the &lt;code&gt;InitializeControllerFactory&lt;/code&gt; in 8.2&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Foundation.DependencyInjection.Pipelines.Initialize.InitializeDependencyInjection, Sitecore.Foundation.DependencyInjection&quot;&#xA;                patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeControllerFactory, Sitecore.Mvc']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The pipeline makes use of the &lt;code&gt;IServiceCollection&lt;/code&gt; interface from the new MS DI Abstractions. This allows us to register our dependencies in the collection from our projects &lt;em&gt;without&lt;/em&gt; having to put a dependency on the container in the projects. It also means we stick closer to the &lt;strong&gt;CompositionRoot&lt;/strong&gt; pattern for registering the dependencies.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;InitialiseDependencyInjection Pipeline&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The pipeline needs custom args to pass the &lt;code&gt;IServiceCollection&lt;/code&gt; around:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Foundation.DependencyInjection.Pipelines.InitializeDepdencyInjection&#xA;{&#xA;  using Microsoft.Extensions.DependencyInjection;&#xA;  using Sitecore.Pipelines;&#xA;  public class InitializeDependencyInjectionArgs : PipelineArgs&#xA;  {&#xA;    public IServiceCollection ServiceCollection { get; set; }&#xA;    public InitializeDependencyInjectionArgs(IServiceCollection serviceCollection)&#xA;    {&#xA;      this.ServiceCollection = serviceCollection;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now run the pipeline and pass the args around. Once the pipeline has finished, you will have a populated collection of registrations. So you need to run through that and register each one with your container. It looks like CastleWindsor has a conforming container so you can populate the container with the &lt;code&gt;IServiceCollection&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Foundation.DependencyInjection.Pipelines.Initialize&#xA;{&#xA;  using System;&#xA;  using System.Collections.Generic;&#xA;  using System.Linq;&#xA;  using System.Web.Mvc;&#xA;  using Microsoft.Extensions.DependencyInjection;&#xA;  using SimpleInjector;&#xA;  using SimpleInjector.Integration.Web.Mvc;&#xA;  using Sitecore.Diagnostics;&#xA;  using Sitecore.Foundation.DependencyInjection.Pipelines.InitializeDepdencyInjection;&#xA;  using Sitecore.Pipelines;&#xA;  public class IntializeDependencyInjection&#xA;  {&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;      Log.Info(&quot;Start dependency injection initialization&quot;, this);&#xA;      var serviceCollection = new ServiceCollection();&#xA;&#xA;      // start the pipeline to register all dependencies&#xA;      var dependencyInjectionArgs = new InitializeDependencyInjectionArgs(serviceCollection);&#xA;      CorePipeline.Run(&quot;initializeDependencyInjection&quot;, dependencyInjectionArgs);&#xA;&#xA;      var container = new WindsorContainer();&#xA;      WindsorRegistration.Populate(container, services, app.ApplicationServices);&#xA;      var sp = container.Resolve&amp;lt;IServiceProvider&amp;gt;();&#xA;&#xA;      // TODO: Set the ASP.NET dependency resolver&#xA;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NOTE* this part is untested and you still have to set the dependency resolver - I'm not familiar with how to do that using CastleWindsor.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Register Your Dependencies in each Feature&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Finally you need to add processors to the pipeline to register your dependencies for the features. Create a new processor, call it &lt;code&gt;RegisterServices&lt;/code&gt;, use the &lt;code&gt;InitializeDependencyInjectionArgs&lt;/code&gt; that you created above:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterServices&#xA;{&#xA;    public void Process(InitializeDependencyInjectionArgs args)&#xA;    {&#xA;        args.ServiceCollection.AddTransient&amp;lt;IAccountRepository, AccountRepository&amp;gt;();&#xA;        // TODO: Add any other registrations here&#xA;        args.ServiceCollection.AddMvcControllersInCurrentAssembly();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then register your dependencies for that feature - you would create one of these for each feature/foundation or even project that you have in your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the processor to your feature/foundation projects config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initializeDependencyInjection&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Feature.Accounts.Pipelines.InitializeDependencyInjection.RegisterServices, Sitecore.Feature.Accounts&quot; /&amp;gt;&#xA;      &amp;lt;/initializeDependencyInjection&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the cliff notes turned into a bit of a long post, but that should give you a good place to start.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="420" LastEditDate="2016-11-21T15:08:24.607" LastActivityDate="2016-11-21T15:08:24.607" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2731" PostTypeId="2" ParentId="2727" CreationDate="2016-11-21T14:58:24.127" Score="13" Body="&lt;p&gt;When publishing with subitems and related items, there are two important aspects to keep in mind:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;related items of subitems &lt;strong&gt;will&lt;/strong&gt; be published;&lt;/li&gt;&#xA;&lt;li&gt;related items of related items &lt;strong&gt;will not&lt;/strong&gt; be published.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Comparing two publishing scenarios&lt;/h2&gt;&#xA;&lt;p&gt;Let's consider the relationships between your items:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Home&#xA;  A (page item) -----------------------+&#xA;    B (local content)                  |&#xA;      C (data source item)  &amp;lt;--(link)--+&#xA;                       |&#xA;Media library          |&#xA;  D (image) &amp;lt;--(link)--+&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Item &lt;strong&gt;C&lt;/strong&gt; (data source item) will be considered both a related item and a subitem of item &lt;strong&gt;A&lt;/strong&gt; (page item).&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;When you publish item &lt;strong&gt;A&lt;/strong&gt;, Sitecore will first publish all related items, including item &lt;strong&gt;C&lt;/strong&gt;. The image item &lt;strong&gt;D&lt;/strong&gt; will be treated as a related item of a related item, and hence will not be published.&lt;/p&gt;&#xA;&lt;p&gt;Even though item &lt;strong&gt;C&lt;/strong&gt; is also a subitem of item &lt;strong&gt;A&lt;/strong&gt;, it will be skipped when iterating over &lt;strong&gt;A&lt;/strong&gt;'s subitems, as it will have been published already.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When you publish item &lt;strong&gt;B&lt;/strong&gt; directly, item &lt;strong&gt;C&lt;/strong&gt; will be published as its subitem. So all related items of &lt;strong&gt;C&lt;/strong&gt;, including item &lt;strong&gt;D&lt;/strong&gt;, will be published in this scenario.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Conclusion&lt;/h2&gt;&#xA;&lt;p&gt;This behavior is &lt;em&gt;kind of&lt;/em&gt; by design, but I would consider it a bug. In my opinion, Sitecore should change this behavior to always publish all related items of subitems, even if a certain subitem has already been published in the ongoing publishing process.&lt;/p&gt;&#xA;&lt;p&gt;If you decide to submit this as a bug to Sitecore, please leave a comment here with the bug's reference number.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-21T15:47:11.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2732" PostTypeId="1" AcceptedAnswerId="3051" CreationDate="2016-11-21T14:59:34.370" Score="2" ViewCount="1090" Body="&lt;p&gt;I created a Sitecore Package. I tested the package in a test environment and it worked fine. But, in the client's environment, one of the items in the package fails with this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #14 08:04:33 ERROR Error installing items/master/sitecore/templates/User Defined/Pages/Contact Us Form Page/{13B87AC4-38BD-43C6-A5D7-FCB1D081533F}/en/1/xml &#xA;Exception: System.NullReferenceException &#xA;Message: Object reference not set to an instance of an object. &#xA;Source: Sitecore.Kernel &#xA;at Sitecore.Install.Items.ItemInstaller.VersionInstaller.InstallVersion(Item version) &#xA;at Sitecore.Install.Items.ItemInstaller.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) &#xA;at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) &#xA;&#xA;ManagedPoolThread #14 08:04:46 ERROR Installation failed: System.NullReferenceException: Object reference not set to an instance of an object. &#xA;at Sitecore.Install.Items.ItemInstaller.VersionInstaller.InstallVersion(Item version) &#xA;at Sitecore.Install.Items.ItemInstaller.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) &#xA;at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) &#xA;at Sitecore.Install.Items.ItemInstaller.Flush() &#xA;at Sitecore.Install.Framework.SinkDispatcher.Flush() &#xA;at Sitecore.Install.Utils.EntrySorter.Flush() &#xA;at Sitecore.Install.Framework.EntryBuilder.Flush() &#xA;at Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) &#xA;at Sitecore.Install.Installer.InstallPackage(String path, Boolean  registerInstallation, ISource`1 source, IProcessingContext context) &#xA;at Sitecore.Install.Installer.InstallPackage(String path, ISource`1 source,   IProcessingContext context) &#xA;at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.&amp;lt;Install&amp;gt;b__4() &#xA;at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.CatchExceptions(ThreadStart start) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it seems like a version failed, but the item only has one version in the source instance of Sitecore. I am not sure why this failed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a posted a package with the item in question here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.dropbox.com/sh/uzxls6mv68evoce/AAAkbtK8YAXi6QUWdlk28869a?dl=0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.dropbox.com/sh/uzxls6mv68evoce/AAAkbtK8YAXi6QUWdlk28869a?dl=0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It has nothing to do with this particular item. I tried removing the item from the package and re-importing and I just get the same error on a different item.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="73" LastEditDate="2016-11-21T21:40:19.520" LastActivityDate="2016-12-01T18:49:57.673" Title="Package Installation Error - Install Version Null Reference Exception" Tags="|packages|" AnswerCount="2" CommentCount="8" ClosedDate="2016-12-01T19:01:05.110" ContentLicense="CC BY-SA 3.0" />
  <row Id="2733" PostTypeId="1" CreationDate="2016-11-21T15:49:21.580" Score="2" ViewCount="403" Body="&lt;p&gt;I have tried to solve this problem, but I'm putting question here to understand this Cloned Item problem properly and fix it in best possible way out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alright so I have few Clone Items in this website out of which this one culprit is not showing Original Item's field value in Sitecore Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Clone Item, I have tried to workaround this problem by doing 'remove version' and then doing 'add version' still its takes (restores) the previous values somehow. My thinking was if I do 'remove version' on Clone Item it should clear the overridden values on Clone Item for particular Language version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Ribbon menu, when I go to &quot;Versions &gt; Reset&quot; it doesn't shows &lt;code&gt;[original value]&lt;/code&gt; next to concerned field names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c5iwc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c5iwc.png&quot; alt=&quot;From Ribbon menu &amp;quot;Versions &amp;gt; Reset&amp;quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S: This Original Item and Clone Item both exists in multiple languages, I'm trying to restore field value inheritance within particular language version only. It seems to me for other languages field value inheritance is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since remove version is not removing the overridden values from Clone Item as I have observed the value come back as soon as I add new version on Clone Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my questions in this relation are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Why does &lt;code&gt;Remove version&lt;/code&gt; doesn't clear the overridden values from Clone Item per Language version?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;How I can clean overridden values in Clone Item within Language version without doing &lt;code&gt;Reset&lt;/code&gt; on fields and If I have to go for &lt;code&gt;Reset&lt;/code&gt; command, will that affect other Language versions of Cloned Item?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;&lt;strong&gt;Update 1&lt;/strong&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have observed that after I &lt;code&gt;remove version&lt;/code&gt; on Clone Item's Language version, nothing is returned in SQL in &lt;code&gt;UnversionedFields&lt;/code&gt; and &lt;code&gt;VersionedFields&lt;/code&gt; for this Item/per Field/per Language. However when I execute &lt;code&gt;add version&lt;/code&gt; somehow Sitecore brings back the data in these tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please can anyone tell why its like this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 7.5 update-2&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2017-03-31T17:35:32.863" LastActivityDate="2017-03-31T17:35:32.863" Title="How I can clean overridden values in Clone Items within Language version?" Tags="|multilingual|versions|item-clones|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2735" PostTypeId="1" AcceptedAnswerId="2739" CreationDate="2016-11-21T18:26:17.673" Score="4" ViewCount="2565" Body="&lt;p&gt;I wanted to ask for some advice on the best way to proceed with hreflang tags on a sitecore site. Currently, we have an English only site but we will be launching 11 more language sites localized in the local language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our site is currently set up like www.abccompany.com/en. The other language sites will follow the same style like www.abccompany.com/fr for French, www.abccompany.com/de for German and so on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When dealing with hreflang tags, there are some options but we are not sure the best way to proceed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I copied the options directly from this page from Google Webmasters forum &lt;a href=&quot;https://support.google.com/webmasters/answer/189077?hl=en&amp;amp;ref_topic=2370587&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    HTML link element in header. In the HTML &amp;lt;head&amp;gt; section of                      http://www.example.com/, add a link element pointing to the Spanish version of       that webpage at http://es.example.com/, like this:&#xA;&amp;lt;link rel=&quot;alternate&quot; hreflang=&quot;es&quot; href=&quot;http://es.example.com/&quot; /&amp;gt;&#xA;&#xA;HTTP header. If you publish non-HTML files (like PDFs), you can use an HTTP header to indicate a different language version of a URL:&#xA;Link: &amp;lt;http://es.example.com/&amp;gt;; rel=&quot;alternate&quot;; hreflang=&quot;es&quot;&#xA;&#xA;To specify multiple hreflang values in a Link HTTP header, separate the values with commas like so:&#xA;Link: &amp;lt;http://es.example.com/&amp;gt;; rel=&quot;alternate&quot;; hreflang=&quot;es&quot;,&amp;lt;http://de.example.com/&amp;gt;; rel=&quot;alternate&quot;; hreflang=&quot;de&quot;&#xA;&#xA;Sitemap. Instead of using markup, you can submit language version information in a Sitemap. ([more info here][2])&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We also have a store site that is located on a subdomain like this:  store.abccompany.com. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We know that there is a sitemap module that could be used for creating Option #3 above which is the sitemap.xml file but in your opinion with dealing with Sitecore sites, which would you recommend? Setting up the html link element in the header and do an HTML header for PDFs (Options #1 &amp;amp;2) or go with a sitemap module to add the hreflangs in the actual sitemap.xml file?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance for any insight you can give on the topic.&lt;/p&gt;&#xA;" OwnerUserId="586" LastEditorUserId="586" LastEditDate="2016-11-22T15:41:00.743" LastActivityDate="2016-11-22T15:41:00.743" Title="Advice on hreflang usage in page html vs. using in sitemap.xml file" Tags="|sitemap|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2736" PostTypeId="2" ParentId="2735" CreationDate="2016-11-21T18:44:57.687" Score="1" Body="&lt;p&gt;Having done this in the past for a customer, we implemented a small bit of code on the layout that would find all versions published in other languages and build out link attributes in the header, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;link rel=&quot;alternate&quot; hreflang=&quot;nl-NL&quot; href=&quot;http://www.mycompany.nl/company/careers&quot; /&amp;gt;&#xA; &amp;lt;link rel=&quot;alternate&quot; hreflang=&quot;pt-BR&quot; href=&quot;http://www.mycompany.com.br/company/careers&quot; /&amp;gt;&#xA; &amp;lt;link rel=&quot;alternate&quot; hreflang=&quot;ja-JP&quot; href=&quot;http://www.mycompany.jp/company/careers&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can't share the code, but we went with this approach as it would generate on every page, even those not in the sitemap.xml file, and would always be up to date if a page was recently published or unpublished in one locale. The code looked for all versions and rendered the version code and item URL for that particular locale using the site defined root URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This worked fine for the customer and had no measurable performance implications.&lt;/p&gt;&#xA;" OwnerUserId="553" LastActivityDate="2016-11-21T18:44:57.687" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2737" PostTypeId="2" ParentId="2722" CreationDate="2016-11-21T18:53:15.803" Score="3" Body="&lt;p&gt;Yes, you can.&lt;br&gt;&#xA;However, it's not documented (as far as I know), so it will require some digging.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Conditions for the segment builder use the analytic index (either Lucene or SOLR) to filter the data.&lt;br&gt;&#xA;So a requirement of a custom condition is that the data you are using to filter, exists in the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a piece of example code that let's you create a segment with one contact that has a specific ID:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Linq.Expressions;&#xA;using Sitecore.Analytics.Rules.SegmentBuilder;&#xA;using Sitecore.ContentSearch.Analytics.Models;&#xA;using Sitecore.ContentSearch.Rules.Conditions;&#xA;&#xA;public class XDbContactIdCondition&amp;lt;T&amp;gt; : TypedQueryableStringOperatorCondition&amp;lt;T, IndexedContact&amp;gt; &#xA;    where T : VisitorRuleContext&amp;lt;IndexedContact&amp;gt;&#xA;{&#xA;    public XDbContactIdCondition()&#xA;    {&#xA;        this.OperatorId = &quot;{10537C58-1684-4CAB-B4C0-40C10907CE31}&quot;; // The ID of the &quot;string operator is equal to&quot; item&#xA;    }&#xA;&#xA;    protected override Expression&amp;lt;Func&amp;lt;IndexedContact, bool&amp;gt;&amp;gt; GetResultPredicate(T ruleContext)&#xA;    {&#xA;        return this.GetCompareExpression((IndexedContact c) =&amp;gt; c[&quot;_uniqueid&quot;], string.Concat(&quot;contact|&quot;, this.Value));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is just one simple example and it if you need to find out more, I recommend you take a decompiler (dotPeek, Reflector, etc.) and dive into the Sitecore binaries looking for segmentation code belonging to the List Manager. That's how I figured this out a while back.&lt;/p&gt;&#xA;" OwnerUserId="239" LastActivityDate="2016-11-21T18:53:15.803" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2738" PostTypeId="2" ParentId="2727" CreationDate="2016-11-21T20:21:35.690" Score="6" Body="&lt;p&gt;What Dmytro said is correct, Sitecore will only look at referenced items one level deep when publishing related items. What you need to do is have it also consider media items linked on those related items, then you'll catch the media items on your data sources. You can accomplish this if you override the logic that publishes the related items in the  pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look at the class Sitecore.Publishing.Pipelines.GetItemReferences.AddItemLinkReferences. You can reflect on this class and replace it in the pipeline with your own class that adds the logic to crawl the media items.  For example, create a new class by copying what's in AddItemLinkReferences, then add this step when it's adding the linked items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;  foreach (Item obj in itemLinkArray.Select(link =&amp;gt; link.GetTargetItem()).Where(relatedItem =&amp;gt; relatedItem != null))&#xA;  {&#xA;    list.AddRange(PublishQueue.GetParents(obj));&#xA;    list.Add(obj);&#xA;    // This will look at the item's links looking for media items.&#xA;    list.AddRange(GetLinkedMediaItems(obj));&#xA;  }&#xA;  return list.Distinct(new ItemIdComparer());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then add this method,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual List&amp;lt;Item&amp;gt; GetLinkedMediaItems(Item item)&#xA;{&#xA;  List&amp;lt;Item&amp;gt; mediaList = new List&amp;lt;Item&amp;gt;();&#xA;  ItemLink[] itemLinkArray = item.Links.GetValidLinks()&#xA;    .Where(link =&amp;gt; item.Database.Name.Equals(link.TargetDatabaseName, StringComparison.OrdinalIgnoreCase))&#xA;    .ToArray();&#xA;  foreach (ItemLink link in itemLinkArray)&#xA;  {&#xA;    try&#xA;    {&#xA;      Item target = link.GetTargetItem();       &#xA;      if (target == null || !target.Paths.IsMediaItem) &#xA;        continue;&#xA;      // add parent media items or folders&#xA;      Item parent = target.Parent;&#xA;      while(parent != null &amp;amp;&amp;amp; parent.ID != ItemIDs.MediaLibraryRoot)&#xA;      {&#xA;        mediaList.Insert(0, parent);&#xA;        parent = parent.Parent;&#xA;      }&#xA;      mediaList.Add(target);&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;      Log.Error(&quot;Error publishing reference link related media items&quot;, ex, typeof(AddItemAndMediaLinkReferences));&#xA;    }&#xA;  }&#xA;  return mediaList;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the config to include it in your publish pipeline,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getItemReferences&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.SharedSource.Pipelines.Publish.AddItemAndMediaLinkReferences, Sitecore.SharedSource&quot;&#xA;                   patch:instead=&quot;processor[@type='Sitecore.Publishing.Pipelines.GetItemReferences.AddItemLinkReferences, Sitecore.Kernel']&quot;/&amp;gt;&#xA;      &amp;lt;/getItemReferences&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your problem inspired me to write a blog post about it: &lt;a href=&quot;http://www.chrissulham.com/publish-sitecore-media-items-on-referenced-datasources/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.chrissulham.com/publish-sitecore-media-items-on-referenced-datasources/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="499" LastEditDate="2016-11-22T14:12:58.290" LastActivityDate="2016-11-22T14:12:58.290" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2739" PostTypeId="2" ParentId="2735" CreationDate="2016-11-21T20:43:34.913" Score="4" Body="&lt;p&gt;We have done this for several clients.  I have added the alternate tags to the sitemap but that caused the sitemap to be too large and I didn't want to create multiple sitemaps.  So we added the tag in the header.  Then created a sitemap of just the English content because English was the default language.  This way Google will be able to get to all the links in the sitemap and then the alternate tags on the page will be crawled as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tags are similar&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;alternate&quot; href=&quot;https://www.company.com/de/john-doe/&quot; hreflang=&quot;de&quot; /&amp;gt;&amp;lt;br&amp;gt;&#xA;&amp;lt;link rel=&quot;alternate&quot; href=&quot;https://www.company.com/fr/john-doe/&quot; hreflang=&quot;fr&quot; /&amp;gt;&amp;lt;br&amp;gt;&#xA;&amp;lt;link rel=&quot;alternate&quot; href=&quot;https://www.company.com/es/john-doe/&quot; hreflang=&quot;es&quot; /&amp;gt;&amp;lt;br&amp;gt;&#xA;&amp;lt;link rel=&quot;alternate&quot; href=&quot;https://www.company.com/zh-CHS/john-doe/&quot; hreflang=&quot;zh-Hans&quot; /&amp;gt;&amp;lt;br&amp;gt;&#xA;&amp;lt;link rel=&quot;alternate&quot; href=&quot;https://www.company.com/en/john-doe/&quot; hreflang=&quot;en&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the language code doesn't include the region.  Only use the region if you are going to have the same language different based on region.  Example French in Canada fr-ca or French in France fr-fr.  If the same everywhere just use fr.&#xA;Also include all the languages including the one you are currently on.  Very important is to make sure the lang attribute on the HTML tag is correct for the language you are viewing the site in.  If not set Google will try and interpret the language from the content on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you have everything set up you can view any issue or how Google is viewing the tags by going to the Google Search Console and International Targeting.  It will give you a count of what it found and some details on issues that you may need to resolve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some good pages to find more information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://support.google.com/webmasters/answer/189077&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.google.com/webmasters/answer/189077&lt;/a&gt; &#xA;&lt;a href=&quot;https://support.google.com/webmasters/answer/2620865&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.google.com/webmasters/answer/2620865&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1165" LastEditorUserId="73" LastEditDate="2016-11-21T21:39:51.437" LastActivityDate="2016-11-21T21:39:51.437" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2740" PostTypeId="2" ParentId="2732" CreationDate="2016-11-22T03:05:15.997" Score="1" Body="&lt;p&gt;The package appears to be corrupt.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main zip validates fine, but if you test the &lt;code&gt;package.zip&lt;/code&gt; embedded in the archive, it reports as corrupt.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NfWKh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NfWKh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bjfd9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bjfd9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-22T03:05:15.997" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2741" PostTypeId="2" ParentId="2554" CreationDate="2016-11-22T09:03:59.887" Score="2" Body="&lt;p&gt;I ended up using config transformation, having different site urls for local build, qa build and production in my &lt;code&gt;Sitecore.config&lt;/code&gt;, &lt;code&gt;Sitecore.QA.config&lt;/code&gt;, etc.&lt;/p&gt;&#xA;" OwnerUserId="1034" LastActivityDate="2016-11-22T09:03:59.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2742" PostTypeId="1" AcceptedAnswerId="2743" CreationDate="2016-11-22T09:31:21.747" Score="2" ViewCount="281" Body="&lt;p&gt;I'm writing some code to migrate items using the &lt;code&gt;ItemManager.AddFromTemplate&lt;/code&gt; method. I'm wondering how to set what language the item created from that method is created in. &#xA;Does it default to the language set in the sites node in config?&lt;/p&gt;&#xA;" OwnerUserId="537" LastEditorUserId="16" LastEditDate="2016-11-22T09:33:32.623" LastActivityDate="2016-11-22T09:39:10.353" Title="ItemManager.AddFromTemplate. How to set language used" Tags="|multilingual|migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2743" PostTypeId="2" ParentId="2742" CreationDate="2016-11-22T09:34:07.237" Score="3" Body="&lt;p&gt;&lt;code&gt;ItemManager.AddFromTemplate&lt;/code&gt; method uses your current language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can wrap your code into &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;Language lang = Language.Parse(&quot;your-lang-name&quot;);&#xA;using (new LanguageSwitcher(lang))&#xA;{&#xA;    ItemManager.AddFromTemplate...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;if you want to change the new item language.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2016-11-22T09:39:10.353" LastActivityDate="2016-11-22T09:39:10.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2744" PostTypeId="1" AcceptedAnswerId="2789" CreationDate="2016-11-22T10:13:51.720" Score="1" ViewCount="2612" Body="&lt;p&gt;I have problems with login using the default admin user. it wont let me login using &lt;code&gt;/sitecore/admin/login.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I login to the launchpad, I just get this  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jzQHj.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jzQHj.jpg&quot; alt=&quot;Error Page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It worked as expected after the clean install. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now the customer has changed the hostname, and the admin user is no longer working? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The user is still in core db, with &lt;code&gt;isApproved = true, isLockedOut = false, IsAnonymous = false&lt;/code&gt;. The &lt;code&gt;password&lt;/code&gt; is still &lt;code&gt;b&lt;/code&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am i missing?&lt;/p&gt;&#xA;" OwnerUserId="566" LastEditorUserId="172" LastEditDate="2016-11-22T13:46:45.597" LastActivityDate="2016-11-23T20:29:34.583" Title="default admin user not working" Tags="|security|admin-pages|" AnswerCount="3" CommentCount="2" ClosedDate="2016-11-24T11:54:17.757" ContentLicense="CC BY-SA 3.0" />
  <row Id="2745" PostTypeId="1" AcceptedAnswerId="2749" CreationDate="2016-11-22T10:21:28.947" Score="3" ViewCount="900" Body="&lt;p&gt;The layout of our website has been completely overhauled. The old placeholders didn't make sense anymore, so they aren't used in the new layouts. As a result, most content pages are now empty. All pages still have controls set up in the presentation details, they are just not shown since they are mapped to old placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I need to do is go through all pages, take all controls mapped to non-existing placeholders in their current page layout, and move them to the &quot;content&quot; placeholder. This way, content editors will be able to see these controls in the Experience Editor and move them to other placeholders on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that some pages have already been worked on, so the controls that are mapped to valid placeholders should stay where they are.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an automated way of doing this? An SPE script, perhaps?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-23T10:17:09.760" Title="How can I migrate all controls on all pages to a certain placeholder?" Tags="|presentation|powershell-extensions|automation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2746" PostTypeId="2" ParentId="2744" CreationDate="2016-11-22T10:29:57.430" Score="1" Body="&lt;p&gt;I doubt this has anything to do with your admin user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You say the host name has been changed. Likely you have a &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definition for your site that sits in a wrong place in the order of sites that serve up Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;sites&amp;gt;&#xA;    &amp;lt;site name=&quot;shell&quot; virtualFolder=&quot;/sitecore/shell&quot; physicalFolder=&quot;/sitecore/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/login&quot; content=&quot;master&quot; contentStartItem=&quot;/Home&quot; enableWorkflow=&quot;true&quot; enableTracking=&quot;false&quot; analyticsDefinitions=&quot;content&quot; xmlControlPage=&quot;/sitecore/shell/default.aspx&quot; browserTitle=&quot;Sitecore&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;15MB&quot; viewStateCacheSize=&quot;1MB&quot; xslCacheSize=&quot;25MB&quot; disableBrowserCaching=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;site name=&quot;login&quot; virtualFolder=&quot;/sitecore/login&quot; physicalFolder=&quot;/sitecore/login&quot; enableTracking=&quot;false&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; disableXmlControls=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;site name=&quot;admin&quot; virtualFolder=&quot;/sitecore/admin&quot; physicalFolder=&quot;/sitecore/admin&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/admin/login.aspx&quot; /&amp;gt;&#xA;    &amp;lt;site name=&quot;service&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/sitecore/service&quot; physicalFolder=&quot;/sitecore/service&quot; /&amp;gt;&#xA;    &amp;lt;site name=&quot;modules_shell&quot; virtualFolder=&quot;/sitecore modules/shell&quot; physicalFolder=&quot;/sitecore modules/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; content=&quot;master&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;site name=&quot;modules_website&quot; virtualFolder=&quot;/sitecore modules/web&quot; physicalFolder=&quot;/sitecore modules/web&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;site name=&quot;website&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; /&amp;gt;&#xA;    &amp;lt;site name=&quot;scheduler&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot; /&amp;gt;&#xA;    &amp;lt;site name=&quot;system&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot; /&amp;gt;&#xA;    &amp;lt;site name=&quot;publisher&quot; domain=&quot;sitecore&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to make sure, your custom site definition (the one you just changed the host name for) comes &lt;strong&gt;after&lt;/strong&gt; the Sitecore sites (&quot;shell&quot;, &quot;login&quot;, &quot;admin&quot;, &quot;service&quot;, &quot;modules_shell&quot; and &quot;modules_website&quot;).  Otherwise your site will try to process the login request and ultimately fail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How have you changed your site definitions after the working vanilla install?  Normal procedure is to patch in new sites just before the &quot;website&quot; site definition.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;site name=&quot;custom&quot; patch:before=&quot;site[@name='website']&quot;&#xA;        hostName=&quot;customhost&quot;&#xA;        virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot;&#xA;        rootPath=&quot;/sitecore/content/custom&quot;&#xA;        startItem=&quot;/home&quot;&#xA;        database=&quot;web&quot;&#xA;        domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;50MB&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-11-22T11:23:20.243" LastActivityDate="2016-11-22T11:23:20.243" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2747" PostTypeId="2" ParentId="2745" CreationDate="2016-11-22T10:32:03.247" Score="4" Body="&lt;p&gt;Yes, you could use this script.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path '/sitecore/content/Home/SomeItem'&#xA;&#xA;Get-Rendering -Item $item | Foreach-Object { &#xA;   $_.Placeholder = &quot;content&quot;; &#xA;   Set-Rendering -Item $item -Instance $_&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The second line is the important part. It takes each rendering and sets the placeholder key to &quot;content&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See for review: &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Set-Rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Set-Rendering.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edited: Update multiple items with a given placeholder key&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$startPath = &quot;/sitecore/content/Home&quot;&#xA;$oldPlaceholder = &quot;some_placeholder&quot;&#xA;$newPlaceholder = &quot;content&quot;&#xA;&#xA;Get-ChildItem -Path $startPath -Recurse | ForEach-Object { &#xA;   $item = $_;&#xA;&#xA;   Get-Rendering -Item $item -PlaceHolder $oldPlaceholder | Foreach-Object { &#xA;      $_.Placeholder = $newPlaceholder; &#xA;      Set-Rendering -Item $item -Instance $_&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="581" LastEditorUserId="581" LastEditDate="2016-11-23T10:17:09.760" LastActivityDate="2016-11-23T10:17:09.760" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2749" PostTypeId="2" ParentId="2745" CreationDate="2016-11-22T10:57:38.890" Score="3" Body="&lt;p&gt;We had to do a similar job a while ago. We decided not to go for SPE this time as there was quite some logic involved in the placeholder replacement - we decided to write a custom page that starts a job in a long-running thread (as we had to go over a lot of items). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume you know how to loop over all (needed) items, so I'll cover 1 item.&#xA;For the replacement itself we had 2 options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;use the &lt;code&gt;item.Visualization.GetRenderings&lt;/code&gt;, loop over all renderings and set the &lt;code&gt;Placeholder&lt;/code&gt; value to &quot;content&quot; (if needed)&lt;/li&gt;&#xA;&lt;li&gt;edit the &lt;code&gt;__Renderings&lt;/code&gt; field of your item straight away (the placeholder names are in the xml as strings, so you could replace them)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We edited the __Renderings field (because we could and it saved us a loop).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will only work if you know which placeholders to replace and which to keep. If you don't and need to get the available placeholders first (available is not same as used - &quot;used&quot; placeholders is easy to get from all renderings), your code would become a lot more difficult.. there is a blog &lt;a href=&quot;https://briancaos.wordpress.com/2013/12/17/get-sitecore-placeholders-and-rendering-hierarchy-from-a-sitecore-item/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; that describes how you could do that but I never tried it (and it seems to be webforms).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would do it this way, add logging so you know what is happening ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-22T10:57:38.890" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2750" PostTypeId="1" AcceptedAnswerId="2752" CreationDate="2016-11-22T12:04:20.247" Score="3" ViewCount="1304" Body="&lt;p&gt;We have implemented a custom device &lt;code&gt;tablet&lt;/code&gt; in Sitecore, and to test it we wish to render the website as if that device was in use. How do we accomplish that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.1&lt;/p&gt;&#xA;" OwnerUserId="463" LastEditorUserId="73" LastEditDate="2016-11-22T13:41:54.183" LastActivityDate="2016-11-22T14:43:23.257" Title="Is it possible to show the website for a given device?" Tags="|presentation|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2751" PostTypeId="2" ParentId="2750" CreationDate="2016-11-22T12:04:20.247" Score="2" Body="&lt;p&gt;You can switch the device manually using the built-in query-parameter &lt;code&gt;sc_device&lt;/code&gt; in the url, followed by the name or ID of the device:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;http://local.mysite.com?sc_device=tablet&#xA;&#xA;http://local.mysite.com?sc_device={eb148a0f-220d-45dd-91fe-03b835e7e887}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="463" LastActivityDate="2016-11-22T12:04:20.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2752" PostTypeId="2" ParentId="2750" CreationDate="2016-11-22T12:13:33.720" Score="8" Body="&lt;p&gt;The Experience Editor (previously &lt;em&gt;Page Editor&lt;/em&gt;) allows you to switch between devices. Also for the Preview mode.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Ribbon &gt; Experience &gt; Click on current device &gt; Select preferred device&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qFE2W.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qFE2W.png&quot; alt=&quot;Screenshot - Ribbon &amp;gt; Experience &amp;gt; Click on current device &amp;gt; Select preferred device&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="581" LastEditorUserId="172" LastEditDate="2016-11-22T13:57:30.080" LastActivityDate="2016-11-22T13:57:30.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2753" PostTypeId="2" ParentId="2709" CreationDate="2016-11-22T13:41:21.657" Score="2" Body="&lt;p&gt;Well there's probably a few approaches you could take with this.  Ideally with a Helix pattern, you would build for example a blog that would exist within a feature module.  If there's a project specific variation, moving the views to the project could present some challenges depending on how the renderings are defined.  If you created View Renderings to represent your views, you would have multiple listings in the layout section of the same rendering.  &lt;code&gt;Ex. Blog Listing - Site A &amp;amp; Blog Listing - Site B&lt;/code&gt;.  I would avoid that.  Alternatively if you were using a controller rendering, yes you could only have one rendering definition, but then your controller would need to render the correct view depending on the site.  So you would need to make the Controller's more intelligent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also go a different approach, if you wanted to keep everything in one layer.  You could build another feature/foundation element that could handle rendering variations.  It would be like taking some of the implementation ideas from SxA, where they use rendering variants that allows you to have one rendering that for example is a blog listing display, but with the concept of a rendering variation, you could vary the rendering html (and fields used) for your rendering depending on the site it's on.  And this would allow you to eliminate the need for multiple views per site.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2016-11-22T13:41:21.657" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2754" PostTypeId="1" AcceptedAnswerId="2758" CreationDate="2016-11-22T13:53:52.470" Score="6" ViewCount="5150" Body="&lt;p&gt;This should be super simple but for some reason I can't get it to work.&#xA;I am writing code for migrating data and the items has several versions in both English and Swedish. For some reason I cannot get Sitecore to create a version in English. I'm obviously doing something wrong. I'm not able to track down what is causing it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the &lt;code&gt;migratedItem&lt;/code&gt; is the item I just migrated in Swedish and that I want to add a English version too.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item englishItemVersion;&#xA;try&#xA;{&#xA;   using (new LanguageSwitcher(&quot;en&quot;))&#xA;   {&#xA;      englishItemVersion = migratedItem.Versions.AddVersion();                    &#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="537" LastEditorUserId="172" LastEditDate="2016-11-22T14:05:38.660" LastActivityDate="2016-11-22T15:59:53.453" Title="Create a new version of item, in different language" Tags="|multilingual|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2755" PostTypeId="2" ParentId="2754" CreationDate="2016-11-22T13:57:25.067" Score="4" Body="&lt;p&gt;Try something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;// get the item in en language - you should get the item but versions count should be 0&#xA;Item enItem = migratedItem.Database.GetItem(migratedItem.ID, enLanguage);&#xA;&#xA;// edit the item and create a version&#xA;enItem.Editing.BeginEdit();&#xA;enItem.Versions.AddVersion();&#xA;enItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-11-22T13:57:25.067" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2756" PostTypeId="2" ParentId="2750" CreationDate="2016-11-22T14:16:17.050" Score="2" Body="&lt;p&gt;You can also use the &lt;strong&gt;Device Simulator&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Switch to &lt;strong&gt;Preview&lt;/strong&gt; mode, then from the &lt;code&gt;View&lt;/code&gt; ribbon the &lt;code&gt;Simulator&lt;/code&gt; button will be enabled and you can preview the page with a different device.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NyfVU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NyfVU.png&quot; alt=&quot;Device Simulator&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is paricularly useful if you are using Responsive Web Designs. If you are using a custom device you may also have to switch the &lt;code&gt;Device&lt;/code&gt; as suggested in the other answers.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-11-22T14:16:17.050" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2757" PostTypeId="2" ParentId="2750" CreationDate="2016-11-22T14:27:22.423" Score="0" Body="&lt;p&gt;You can use two things:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If its only about testing the device detection&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Change the device parameters in URL manually or use Sitecore ribbon menu with steps mentioned by @Dražen&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you want to test the device resolution and do click-thru testing&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/preview_a_webpage&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Device Simulator&lt;/a&gt;, you can use it to preview the website on some predefined devices resolutions. Here is the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/preview_a_webpage&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation link&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZHCIS.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZHCIS.jpg&quot; alt=&quot;Sitecore Device Simulator&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have heard about Sitecore's AppCenter &lt;code&gt;Page Preview Services&lt;/code&gt; and &lt;code&gt;Device Detection Services&lt;/code&gt; but I don't have anything yet to share on that part.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2016-11-22T14:43:23.257" LastActivityDate="2016-11-22T14:43:23.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2758" PostTypeId="2" ParentId="2754" CreationDate="2016-11-22T14:32:59.313" Score="4" Body="&lt;p&gt;In your code, I can see that you are trying to add a new version of the item in the &lt;em&gt;context&lt;/em&gt; language, as opposed to the language of the actual item. Remember that each instance of a Sitecore item is actually only a single language version of the item. Don't believe me? Have a look at your &lt;code&gt;item.ItemUri&lt;/code&gt; and see for yourself! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to add a new language version to an item, the first thing that you need to do is get the item in the language that you wish to add a new version for. As such, if your code had been the following, it would have worked:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new LanguageSwitcher(&quot;en&quot;))&#xA;{&#xA;   var migratedItem = Sitecore.Context.Database.GetItem(migratedItemId);&#xA;   englishItemVersion = migratedItem.Versions.AddVersion();                    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Of course, you can still do the above without a Switcher, if you want to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var migratedItem = Sitecore.Context.Database.GetItem(migratedItemId, &quot;en&quot;);&#xA;englishItemVersion = migratedItem.Versions.AddVersion();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-22T15:59:53.453" LastActivityDate="2016-11-22T15:59:53.453" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2759" PostTypeId="2" ParentId="2720" CreationDate="2016-11-22T14:33:38.130" Score="1" Body="&lt;p&gt;The product team is working on the compatibility with Sitecore 8.2 first. That is expected in January.  CC2017 connectors are slated shortly after that, but no firm timeline.  From SC product team.&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2016-11-22T14:33:38.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2760" PostTypeId="1" AcceptedAnswerId="2761" CreationDate="2016-11-22T14:36:46.420" Score="0" ViewCount="89" Body="&lt;p&gt;A new requirement came up that an item of a certain template should be automatically approved and a different email should be sent out &lt;strong&gt;IF&lt;/strong&gt; the item has previous versions that have been approved in the past.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a custom &lt;strong&gt;Workflow Action&lt;/strong&gt; under the &lt;strong&gt;Draft Workflow State&lt;/strong&gt; that does this logic and when appropriate places the item into an &lt;strong&gt;AutoApproved Workflow State&lt;/strong&gt; and the actions under this state will send an email and then place the item into the &lt;strong&gt;Approved State&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is the code works but after the path is done of sending the email and setting it to the &lt;strong&gt;Approved State&lt;/strong&gt;, the rest of the Actions under the &lt;strong&gt;Draft Workflow State&lt;/strong&gt; still continue, meaning an email is sent to the appropriate approvers and the item is then put into &lt;strong&gt;Awaiting Approval State&lt;/strong&gt;. Making the auto approve steps moot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to abort the current workflow path and put an item on a different workflow path? Right now it seems I can only send the item on a different workflow path but when it is done with it's journey it picks back up on the original workflow path.&lt;/p&gt;&#xA;" OwnerUserId="901" LastEditorUserId="73" LastEditDate="2016-11-22T14:51:24.483" LastActivityDate="2016-11-22T14:51:24.483" Title="Workflow Routing Possibilities" Tags="|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2761" PostTypeId="2" ParentId="2760" CreationDate="2016-11-22T14:49:10.147" Score="1" Body="&lt;p&gt;Have you considered putting a custom action at the end of your primary workflow that will change the item's workflow after the first approval? This would allow you to maintain a separate workflow definition for these auto-approvals. Here's an idea of the flow:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Item of 'certain template' enters normal workflow for first time.&lt;/li&gt;&#xA;&lt;li&gt;Item is approved through normal workflow to final state.&lt;/li&gt;&#xA;&lt;li&gt;Custom action triggers to change item to final state of 'Auto Approve' workflow.&lt;/li&gt;&#xA;&lt;li&gt;Next author edit triggers new version in 'Auto Approve' workflow.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In this way, you won't have any conflicts with other actions from your normal workflow definition.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-11-22T14:49:10.147" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2762" PostTypeId="1" CreationDate="2016-11-22T15:41:18.240" Score="4" ViewCount="783" Body="&lt;p&gt;I have a site that was recently upgraded from v7.5 to v8.1.  When I click on Federated Experience Manager from the launchpad the page opens but I get the little Sitecore spinning square.  Nothing ever loads.  When I look in the logs I see an error that seems to indicate an indexing issue.  My guess is that the main page of FXM first reads an index or something.  Here is the error message in the log file.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.InvalidOperationException Message:&#xA;  [Index=sitecore_fxm_domains_web, Crawler=SitecoreItemCrawler,&#xA;  Database=web] Root item could not be found: /sitecore/system/Marketing&#xA;  Control Panel/fxm/. Source: Sitecore.ContentSearch    at&#xA;  Sitecore.ContentSearch.SitecoreItemCrawler.get_RootItem()    at&#xA;  Sitecore.ContentSearch.SitecoreItemCrawler.IsAncestorOf(Item item)&lt;br&gt;&#xA;  at&#xA;  Sitecore.ContentSearch.SitecoreItemCrawler.IsExcludedFromIndex(IIndexableUniqueId&#xA;  indexableUniqueId, IndexEntryOperationContext operationContext,&#xA;  Boolean checkLocation)    at&#xA;  Sitecore.ContentSearch.SitecoreItemCrawler.Update(IProviderUpdateContext&#xA;  context, IIndexableUniqueId indexableUniqueId,&#xA;  IndexEntryOperationContext operationContext, IndexingOptions&#xA;  indexingOptions)    at&#xA;  Sitecore.ContentSearch.AbstractSearchIndex.&amp;lt;&gt;c__DisplayClass16.b__10(IndexableInfo&#xA;  info, ParallelLoopState parallelLoopState)    at&#xA;  System.Threading.Tasks.Parallel.&amp;lt;&gt;c__DisplayClassf`1.b__c()&#xA;  at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&lt;br&gt;&#xA;  at&#xA;  System.Threading.Tasks.Task.&amp;lt;&gt;c__DisplayClass11.b__10(Object&#xA;  param0)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It seems to be saying that it can't find the FXM root item: &lt;code&gt;/sitecore/system/Marketing Control Panel/fxm/&lt;/code&gt;.  Although when I look in my content editor that item is clearly there.  I do notice that in my content tree the name of the item is capitalized &lt;code&gt;FXM&lt;/code&gt; instead of all lower case &lt;code&gt;fxm&lt;/code&gt;. Would that make a difference?  I also notice that my Solr indexes for FXM (master and web) have nothing in them at all.  Is that normal if you haven't set anything up yet for FXM?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&#xA;In addition when I look in the browser console when trying to load FXM I see the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Uncaught Failed to data-bind: ProgressIndicator -&lt;br&gt;&#xA;  TypeError: Cannot read&#xA;  property 'attributes' of undefined - sitecore-1.0.2.js:2092&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2016-11-22T16:12:27.917" LastActivityDate="2016-11-30T19:41:58.900" Title="Federated Experience Manager (FXM) won't start" Tags="|fxm|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2763" PostTypeId="1" AcceptedAnswerId="2831" CreationDate="2016-11-22T15:50:32.147" Score="5" ViewCount="3723" Body="&lt;p&gt;We have a separate job for publishing items with some logic. We need to prevent users from accidentally clicking on Publish Site, &lt;strong&gt;even Administrators&lt;/strong&gt;.&#xA;The regular revoking of 'Publish' item in Core DB doesn't work for Admin.&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="73" LastEditDate="2016-11-22T17:51:44.743" LastActivityDate="2017-12-07T21:32:05.230" Title="How to prevent Site Publishing for everyone?" Tags="|publishing|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2764" PostTypeId="1" AcceptedAnswerId="2801" CreationDate="2016-11-22T16:00:34.583" Score="2" ViewCount="317" Body="&lt;p&gt;Currently Coveo is returning zero results. When I looked into Admin interface, I see all documents now say &lt;code&gt;You do not have the permissions to view the document properties&lt;/code&gt;. Earlier this was not the case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only difference I see is, we now have workflow/security roles applied on items. Although site is still accessible to anonymous user, only content editing security rules applied. Coveo indexing still uses admin login to index item as per configuration settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to troubleshoot this? Things I've tried so far:&#xA;- Updated security cache&#xA;- Deleted indexes and rebuild again from scratch&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Coveo for Sitecore 3.0 and CES 7.0 8388 with Sitecore 8.1 update 3.&lt;/p&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="73" LastEditDate="2016-11-22T17:53:29.050" LastActivityDate="2016-11-23T16:27:19.020" Title="Coveo permission error - &quot;You do not have the permissions to view the document properties&quot;" Tags="|coveo|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2765" PostTypeId="2" ParentId="2744" CreationDate="2016-11-22T16:03:50.913" Score="0" Body="&lt;p&gt;Most probably with the host name the &lt;code&gt;wwwroot&lt;/code&gt; folder path would have also changed and some of the files in the &quot;sitecore&quot; folder would be missing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try replacing the &lt;code&gt;sitecore&lt;/code&gt; folder (&lt;code&gt;C:\inetpub\wwwroot\yourSitecore\Website\sitecore&lt;/code&gt;) with the one working properly  or from the installable archives. If this doesn't work try verifying the files in App_Config folder.&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="70" LastEditDate="2016-11-22T17:01:47.890" LastActivityDate="2016-11-22T17:01:47.890" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2766" PostTypeId="2" ParentId="2763" CreationDate="2016-11-22T16:17:44.750" Score="2" Body="&lt;p&gt;Delete the &quot;Publish Site&quot; item under &quot;/sitecore/content/Applications/Content Editor/Menues/Publish&quot; in core DB&lt;/p&gt;&#xA;" OwnerUserId="1025" LastActivityDate="2016-11-22T16:17:44.750" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2767" PostTypeId="2" ParentId="2763" CreationDate="2016-11-22T16:20:58.723" Score="4" Body="&lt;p&gt;You can't hide much for admin users, I would take 2 steps to prevent this happening:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Don't let &lt;em&gt;anyone&lt;/em&gt; login as an admin user. Create &quot;CMS Administrator&quot; accounts that have all the access you would need and only ever login to an admin account when there is no other option.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The publish buttons in the CMS that allow a full publish run through the command &lt;code&gt;system:publish&lt;/code&gt;. That is defined in the &lt;code&gt;Commands.config&lt;/code&gt; as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you want to permanently disable the buttons you could override that command so that it doesn't do anything on running the command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT: New option based on comments&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;The publish dialog is in &lt;code&gt;/sitecore/shell/Applications/Dialogs/Publish/Publish.xml&lt;/code&gt; - it uses &lt;code&gt;Sitecore.Shell.Applications.Dialogs.Publish.PublishForm,Sitecore.Client&lt;/code&gt; as the code behind. You could disable the publish buttons in the SheerUI and add some text to inform the user that publishing manually is restricted.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-11-22T17:00:02.487" LastActivityDate="2016-11-22T17:00:02.487" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2768" PostTypeId="1" AcceptedAnswerId="2769" CreationDate="2016-11-22T16:28:17.280" Score="2" ViewCount="447" Body="&lt;p&gt;Has anyone deployed a site with a default language other than English? That is, just the language w/o the region. I've only ever seen &lt;code&gt;/en&lt;/code&gt; and all other languages appear to need language AND a region. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have multiple localised sites but would like to have a site that is the language ONLY (or country ONLY). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, we have three sites translated into Arabic. But our regional contact would like these to be English by default with the option to choose Arabic. A simple solution to this would be to have a single Arabic site that these country sites can link to - &lt;code&gt;www.oursite.com/ar&lt;/code&gt; - is this doable? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even Microsoft has specified in the past that language without country or region is valid:&#xA;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo(vs.71).aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo(vs.71).aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've already explored having English versions of these sites but &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2349/adding-a-new-language-option-that-is-not-predefined&quot;&gt;as we discovered&lt;/a&gt;, this isn't an easy task since there are no pre-defined language options for these Arabic-speaking countries. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One other idea we had was specifying a region such as the Middle East or Latin America as a site for the entire region with individual countries added as needed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like Apple does something this for the Latin America region by having a Spanish site for all of Latin America:&#xA;&lt;a href=&quot;http://www.apple.com/la/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.apple.com/la/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It also has an English version for this entire region:&#xA;&lt;a href=&quot;http://www.apple.com/lae/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.apple.com/lae/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="583" LastEditorUserId="423" LastEditDate="2017-08-07T19:35:44.913" LastActivityDate="2017-08-07T19:35:44.913" Title="Can a site's default language be something other than English, without specifying a region?" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2769" PostTypeId="2" ParentId="2768" CreationDate="2016-11-22T16:37:33.350" Score="8" Body="&lt;p&gt;This is possible - when creating a language you don't need to specify the region. &#xA;You can pick a language, Sitecore will fill the region but you may clear it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mmoAE.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mmoAE.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When doing so, you will end with a language list similar to this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/s0Wwy.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s0Wwy.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-22T16:51:01.653" LastActivityDate="2016-11-22T16:51:01.653" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2770" PostTypeId="1" CreationDate="2016-11-22T18:40:55.640" Score="1" ViewCount="1268" Body="&lt;p&gt;I'm getting the following message when uploading a file to the Media Library:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The file &quot;xxxx.jpg&quot; is too big to be uploaded.&#xA;The maximum size of a file that can be uploaded is -205,824 bytes.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried to max every setting on the web.config, but I have the same result:&#xA;&lt;a href=&quot;https://blog.horizontalintegration.com/2012/04/20/sitecore-media-library-upload-errors/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.horizontalintegration.com/2012/04/20/sitecore-media-library-upload-errors/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What strikes me is where is that negative value coming from?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've decompiled the dll where this error is being thrown:&#xA;Sitecore.Shell.Applications.FlashUpload.Simple.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error is being thrown here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;long databaseUploadSize = Settings.Upload.MaximumDatabaseUploadSize;&#xA;if ((long) num &amp;gt; databaseUploadSize)&#xA;{&#xA;    string text = Translate.Text(&quot;The file \&quot;{0}\&quot; is too big to be uploaded.\n\nThe maximum size of a file that can be uploaded is {1}.&quot;, (object) filename, (object) MainUtil.FormatSize(databaseUploadSize));&#xA;    this.WarningMessage = text;&#xA;    SheerResponse.Alert(text);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Apparently there is something wrong when Sitecore tries to read the Media settings. I've tried to modify them but no luck. It seems they are being read from somewhere else or it is not being able to read them from the config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;databaseUploadSize has a negative number.&lt;/p&gt;&#xA;" OwnerUserId="462" LastEditorUserId="462" LastEditDate="2016-11-23T14:22:22.603" LastActivityDate="2016-11-23T14:22:54.533" Title="Error when uploading a file to the media library" Tags="|media-library|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2771" PostTypeId="1" CreationDate="2016-11-22T19:04:45.120" Score="3" ViewCount="606" Body="&lt;p&gt;I have seen in SXA that when I add a rendering to the page, it automatically creates a datasource item for the rendering when it adds it to the page. This helps the user not have to create a datasource item each time the rendering is added. Is there a simple way to accomplish this? &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-22T20:52:39.503" Title="Create datasource when a rendering is added to the page" Tags="|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2772" PostTypeId="1" AcceptedAnswerId="3050" CreationDate="2016-11-22T19:47:03.510" Score="7" ViewCount="7274" Body="&lt;p&gt;I'm upgrading sitecore from 8.0 update 3 to update 7. I have already used this package while upgrading locally with no issues.&#xA;when I install this package(Sitecore 8.0 rev. 160115.update) using the update installation wizard page on a QA server two strange things happen:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;When it's 10% of processing it starts taking a few seconds to process each item(it's almost 7240 items to process) so this is taking hours to process a package that I already installed locally and it took a few minutes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;At some point it timeouts out. &#xA;I guess the timeout one has to do with this slowness in processing so I guess the question here is how do we increase the timeout in this case?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Also the CPU on the server is not reaching 10% of usage while processing the package. Anyone know possible reasons for both cases?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the log for when the installer times out (didn't find anything useful on it :|) :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #3 01:03:13 INFO  Job ended: Core_Database_Agent (units processed: )&#xA;&#xA;ManagedPoolThread #16 01:03:13 INFO  Job started: Master_Database_Agent&#xA;&#xA;ManagedPoolThread #16 01:03:13 INFO  Scheduling.DatabaseAgent started. Database: master&#xA;&#xA;ManagedPoolThread #16 01:03:13 INFO  Examining schedules (count: 4)&#xA;&#xA;ManagedPoolThread #16 01:03:13 INFO  Starting: __Task Schedule&#xA;&#xA;ManagedPoolThread #16 01:03:13 INFO  Ended: __Task Schedule&#xA;&#xA;ManagedPoolThread #16 01:03:13 INFO  Not due: Calculate Statistical Relevancy&#xA;&#xA;ManagedPoolThread #16 01:03:13 INFO  Not due: Rebuild Suggested Tests Index&#xA;&#xA;ManagedPoolThread #16 01:03:13 INFO  Not due: Try Finish Test&#xA;&#xA;ManagedPoolThread #16 01:03:13 INFO  Job ended: Master_Database_Agent (units processed: 4)&#xA;&#xA;4328 01:06:21 ERROR Application error.&#xA;&#xA;Exception: System.Web.HttpException&#xA;Message: Request timed out.&#xA;&#xA;5876 01:11:20 INFO  HttpModule is being initialized&#xA;&#xA;4216 01:11:20 INFO  HttpModule is being initialized&#xA;&#xA;Heartbeat 01:13:05 INFO  Health.PrivateBytes: 0&#xA;&#xA;Heartbeat 01:13:05 INFO  Health.CacheInstances: 117&#xA;&#xA;Heartbeat 01:13:05 INFO  Health.CacheTotalCount: 38,989&#xA;&#xA;Heartbeat 01:13:05 INFO  Health.CacheTotalSize: 90,721,502&#xA;&#xA;Heartbeat 01:13:05 INFO  Health.Counter(w3wp, Process\Private Byte&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RAM is around 35% of usage. Also the server which is running sql server has low cpu and memory usage while the installation happens.&#xA;XDB has been disabled as well&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After increasing the ping as suggested by Hishaam it timed out &#xA;here is the logs of when it happened:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #13 12:38:22 INFO  Job started:&#xA;  Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;  ManagedPoolThread #13 12:38:22 INFO  Job ended:&#xA;  Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units&#xA;  processed: ) 6100 12:38:28 ERROR Application error. Exception:&#xA;  System.Web.HttpException Message: Request timed out.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #19 12:38:32 INFO  Job started:&#xA;  Sitecore.ListManagement.Analytics.UnlockContactListsAgent&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Complete log &lt;a href=&quot;https://xcentium-my.sharepoint.com/personal/diego_moretto_xcentium_com/_layouts/15/guestaccess.aspx?guestaccesstoken=crbPWxjt323oaot2rIqPCZwpPN2CAXo707UN9Ld89fY%3D&amp;amp;docid=0e2beb42cd47e4b549109612191c15054&amp;amp;rev=1&amp;amp;expiration=2016-11-28T18%3A03%3A09.000Z&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 4&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When it throws the timeout exception I noticed that right about it there is this message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception details: System.Exception: History path is not set at&#xA;  Sitecore.Update.InstallUpdatePackage.SaveInstallationMessages() at&#xA;  Sitecore.Update.InstallUpdatePackage.Install() at&#xA;  Sitecore.Update.InstallUpdatePackage.InstallPackage(MetadataView view)&#xA;  at Sitecore.Update.InstallUpdatePackage.OnLoad(EventArgs e)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;One interesting thing is that there is a link to download the log errors and when I hover it I see it pointing to a directory that does not exist(I'm within the server). &#xA;But if I got to the &lt;code&gt;website/temp/__UpgradeHistory/Upgrade_Failutre_dateoftoday&lt;/code&gt;, I see a folder with two files: 1 is the log of all items processed and the other one is a &lt;code&gt;message.xml&lt;/code&gt; which is empty. &#xA;Decompiling the &lt;code&gt;Sitecure.Update.dll&lt;/code&gt; this is what it looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string SaveInstallationMessages()&#xA;{&#xA;    string installationHistoryRoot = base.InstallationHistoryRoot;&#xA;    bool flag = this.EnsureHistoryPath(ref installationHistoryRoot);&#xA;    string str = Path.Combine(installationHistoryRoot, &quot;messages.xml&quot;);&#xA;    FileUtil.EnsureFolder(str);&#xA;    using (FileStream fileStream = File.Create(str))&#xA;    {&#xA;        (new XmlEntrySerializer()).Serialize(this.logMessages, fileStream);&#xA;    }&#xA;    if (!flag)&#xA;    {&#xA;        throw new Exception(&quot;History path is not set&quot;);&#xA;    }&#xA;    return str;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone see this? The file gets generated but without messages. maybe it has to do with the whole problem.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="605" LastEditDate="2017-07-13T09:51:24.953" LastActivityDate="2017-07-13T09:51:24.953" Title="Problems while installing an update package" Tags="|upgrade|update-packages|" AnswerCount="8" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="2773" PostTypeId="2" ParentId="2771" CreationDate="2016-11-22T20:52:39.503" Score="4" Body="&lt;p&gt;A pretty simple solution would be to replace the OOTB &lt;code&gt;webedit:addrendering&lt;/code&gt; command with your own custom command that automatically creates a datasource item at the specified datasource location. The command you are replacing is the below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;webedit:addrendering&quot; type=&quot;Sitecore.Shell.Applications.WebEdit.Commands.AddRendering, Sitecore.ExperienceEditor&quot; patch:source=&quot;Sitecore.ExperienceEditor.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Some considerations:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You will want to prevent the Select Rendering Datasource dialog from popping up, since the datasource will have already been created&lt;/li&gt;&#xA;&lt;li&gt;To support multi-location Datasource Location field values, you may want to default your rendering to use the first specified location&lt;/li&gt;&#xA;&lt;li&gt;Anytime you use this command, you are forcing the author to create a new datasource without giving them the option to reuse an existing one, so you may want a way to turn that off or to limit your command to only run its custom logic for certain renderings. &lt;/li&gt;&#xA;&lt;li&gt;You may need to create a cleanup task for unused datasource items that were auto-created but never used, in case authors add renderings and then decide to change the datasource to an existing one&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-11-22T20:52:39.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2774" PostTypeId="1" AcceptedAnswerId="2775" CreationDate="2016-11-22T21:54:56.333" Score="3" ViewCount="1427" Body="&lt;p&gt;I've got my content in my website, ready to be styled by my designer. The first thing that they want to do is make the menu take up the full width of the screen. The appears to be something in the 960 grid that keeps the page from consuming the full width of the available screen real estate. Here's an example of what my page currently looks like:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/oc6s6.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oc6s6.jpg&quot; alt=&quot;Webpage not taking full width&quot;&gt;&lt;/a&gt;&#xA;(The background is white, but if you click on the image, you can see that the webpage is not using the full width of the screen.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My designer told me that they could fix it, but that they would have to override some of the built-in CSS classes that come with the 960 grid, or that I'd have to put the content that I want to be &quot;full-width&quot; outside of the standard &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; containers (i.e.&lt;code&gt;&amp;lt;div id=&quot;header&quot;&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;div id=&quot;main&quot;&amp;gt;&lt;/code&gt;). I can't find a way to put my components outside of the main &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; containers, and I'm not sure that it using SXA the right way, even if I could do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How are we supposed to allow for a component to span the full width of the screen?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-11-22T22:04:25.243" Title="How can I make a component take up the full width of the screen?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2775" PostTypeId="2" ParentId="2774" CreationDate="2016-11-22T21:59:18.790" Score="4" Body="&lt;p&gt;Find your theme item (&lt;code&gt;/sitecore/media library/Project/Tenant/Site/Site Theme&lt;/code&gt;) and check following check boxes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Rof6g.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Rof6g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will add following css classes to the page body element:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;header-wide&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;content-wide&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;footer-wide&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;so your &lt;strong&gt;footer&lt;/strong&gt;, &lt;strong&gt;header&lt;/strong&gt;, &lt;strong&gt;content&lt;/strong&gt; placeholders will have full width.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-11-22T22:04:25.243" LastActivityDate="2016-11-22T22:04:25.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2776" PostTypeId="2" ParentId="2690" CreationDate="2016-11-22T22:01:47.390" Score="5" Body="&lt;p&gt;The first thing that you need to do is to go into the &lt;strong&gt;Maps Provider&lt;/strong&gt; for your website. You can find that under the &lt;strong&gt;Settings&lt;/strong&gt; node in the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tHBvQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tHBvQ.png&quot; alt=&quot;Where the maps provider settings live&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you click on the &lt;strong&gt;Maps Provider&lt;/strong&gt; node, you will see a screen that looks something like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/gff12.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gff12.png&quot; alt=&quot;Where you enter your maps key&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to enter your Google Maps API Key into that box, save the item, and you'll instantly be able to render the maps.&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-11-22T22:01:47.390" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2777" PostTypeId="1" CreationDate="2016-11-22T22:19:00.290" Score="4" ViewCount="645" Body="&lt;p&gt;We have an issue with resizing images where the old dimensions are getting cached--I think in Glass' lambda cache.  I'm trying to figure out how to clear it once we update an image. The cached value has persisted across multiple app pool recycles, recompiles, and iisresets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So say we have an image that's 1400x700 pixels. We get a new source image that's a more reasonable 500x250, so we go into the media library and attach the new version. This updates the Height and Width fields on the Sitecore item as expected. We publish the new image and view the page to discover it now has a black box around it. The image is the new 500x250 version, but the cached lambda expression is still passing the old dimensions to the .ashx.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;RenderImage&lt;/code&gt; call was originally in the format &lt;code&gt;RenderImage(x =&amp;gt; c.CurrentItem.Image, ...)&lt;/code&gt;, which we then changed to &lt;code&gt;RenderImage(x =&amp;gt; Model.CurrentItem.Image, ...)&lt;/code&gt; and then &lt;code&gt;RenderImage(Model.CurrentItem, x =&amp;gt; x.Image)&lt;/code&gt;. All three exhibited the same behavior, even with an &lt;code&gt;iisreset&lt;/code&gt; in between.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried disabling the cache per Mike Edwards' answer here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/769/disabling-the-glass-lambda-cache&quot;&gt;Disabling the Glass lambda cache&lt;/a&gt;. Which, of course, makes me wonder if it's the lambda cache at all, although I'm at a complete loss for another explanation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1.&lt;/p&gt;&#xA;" OwnerUserId="1164" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-23T14:57:45.143" Title="How to clear Glass lambda cache?" Tags="|glass-mapper|caching|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2778" PostTypeId="1" AcceptedAnswerId="2782" CreationDate="2016-11-22T22:20:35.063" Score="1" ViewCount="1693" Body="&lt;p&gt;I'm investigating multiple solutions for being able to dynamically build a page using multiple blocks of HTML, and other non-structural content. I'm trying to optimise the editing experience and minimise any creation of superfluous Items in the tree. My more general question this and other approaches to this problem can be found here: &lt;a href=&quot;https://sitecore.stackexchange.com/q/2821/1173&quot;&gt;What is the recommended pattern for dynamic paragraph systems in Sitecore?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm currently looking into versioned rendering parameters, but I'm not able to find any documentation on &lt;em&gt;in place&lt;/em&gt; editing of those parameters on the page. Ideally, I'd like to use the Rich Text Editor in place, just like the field editing experience. Having a dialog would a less desirable fallback.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if this is possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-24T02:49:06.300" Title="Inline editing of rendering parameters in Experience Editor" Tags="|experience-editor|presentation|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2779" PostTypeId="1" AcceptedAnswerId="2780" CreationDate="2016-11-22T23:35:05.253" Score="-2" ViewCount="503" Body="&lt;p&gt;I have a requirement to play audio files on my website. I need to use a custom player (called by JavaScript) in order to make that happen. I don't see any way to create a component that allows me to push out custom javascript.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a pre-built component that allows me to insert a custom javascript/player? If not, what is the recommended way to create this in code? &lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-11-22T23:51:59.467" Title="How do I embed a custom audio player on my SXA website?" Tags="|sxa|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2780" PostTypeId="2" ParentId="2779" CreationDate="2016-11-22T23:44:28.747" Score="2" Body="&lt;p&gt;You could use &lt;strong&gt;Plain HTML&lt;/strong&gt; rendering for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example datasource content:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q4B6T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q4B6T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/s56tQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s56tQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Summary:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is the easiest way to inject small js parts (I would not call this elegant way). However if you want make true rendering you should consider creating it from the beginning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good start is to take a look how &lt;strong&gt;Facebook Comments&lt;/strong&gt; and &lt;strong&gt;Disqus&lt;/strong&gt; renderings were implemented.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are already few answers which covers renderings:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2232/adding-new-section-in-sxa-toolbox&quot;&gt;Adding new section in SxA toolbox&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2322/create-controller-rendering-in-sxa&quot;&gt;Create controller rendering in SXA&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Anyway, creating rendering with that specific requirements is not necessary &lt;strong&gt;SXA&lt;/strong&gt; related. &lt;strong&gt;SXA&lt;/strong&gt; doesn't blocks you from using your standard approaches. I would say it is easier as you already have theming in place where you can add css and js files.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-22T23:51:59.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2782" PostTypeId="2" ParentId="2778" CreationDate="2016-11-23T05:08:41.037" Score="7" Body="&lt;p&gt;Rendering parameters are stored in Sitecore as a query string eg:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;param1=value1&amp;amp;param2=value2 etc....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this query string is stored as an attribute on an XML node in the &lt;code&gt;__Renderings&lt;/code&gt; or &lt;code&gt;__Final Renderings&lt;/code&gt; field on the context item, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r uid=&quot;{91C058E4-4307-4391-98B2-A7629FF9C729}&quot; &#xA;   p:before=&quot;r[@uid='{6717EAA7-0931-46D9-8E89-21678756C012}']&quot; &#xA;   s:id=&quot;{2152C804-3AD4-44B4-BC3E-9215018C8B17}&quot; &#xA;   s:par=&quot;Advert Placement=%7B6F568FE1-FBD3-4685-B133-4EFACC0192FE%7D&quot;&#xA;   s:ph=&quot;main&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Because of this, it makes it not a good place for fields like a Rich Text field. It really should be limited to simple fields/links etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is not a good idea to store page or module content in those fields either. You will not be able to reuse the content anywhere else. It would &lt;em&gt;only&lt;/em&gt; be available to that one component. Also if you removed the component, the content would get removed also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can already edit the rendering parameters via the &lt;code&gt;Edit Component Properties&lt;/code&gt; dialog - so your fall back is in place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be able to edit the parameters in line, you would have to add elements to your markup when &lt;code&gt;PageMode.IsExperienceEditor&lt;/code&gt; is true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would then also need to hook into the save button in the Experience Editor and use the values in your custom fields to build a query string and store that in the &lt;code&gt;__Final Renderings&lt;/code&gt; field of the current context item against the correct component XML node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From a content editors POV, I would say it makes more sense keeping the rendering parameters on the component properties dialog and not using many at all. For me, rendering parameters should &lt;em&gt;only&lt;/em&gt; be used to define unique presentation variants for the component being added to the page and not have anything to do with the content being rendered.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-23T05:08:41.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2783" PostTypeId="2" ParentId="2727" CreationDate="2016-11-23T08:26:41.643" Score="5" Body="&lt;p&gt;I decided to contact Sitecore support. They are tracking this behavior as feature by design but opened a wish / feature request ticket for an option with deep publishing with related items. &lt;strong&gt;Reference number: 95121&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since I mentioned this post, they basically told me the same Dmytro Shevchenko had already stated in his answer and that Chris Sulham's fix tackles a slightly different task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So they supplied an official sample fix, but mentioned it is not deeply tested.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Support:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create your custom processor based on the Sitecore.Publishing.Pipelines.GetItemReferences.AddItemLinkReferences one (i.e. copy sources of processor).&lt;/li&gt;&#xA;&lt;li&gt;Modify the GetReferences() method so that it would recursively process reference references if item is being referenced by the Renderings field (i.e. reference is a data source item).&lt;/li&gt;&#xA;&lt;li&gt;Replace predefined processor with your custom one.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Code Sample:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Comparers;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Links;&#xA;using Sitecore.Publishing;&#xA;using Sitecore.Publishing.Pipelines.GetItemReferences;&#xA;using Sitecore.Publishing.Pipelines.Publish;&#xA;using Sitecore.Publishing.Pipelines.PublishItem;&#xA;&#xA;namespace Sitecore.Example&#xA;{&#xA;  public class AddItemLinkReferences : GetItemReferencesProcessor&#xA;  {&#xA;    //Support&#xA;    private static readonly ID RenderingsFieldId = new ID(&quot;{F1A1FE9E-A60C-4DDB-A3A0-BB5B29FE732E}&quot;);&#xA;    private static readonly ID FinalRenderingsFieldId = new ID(&quot;{04BF00DB-F5FB-41F7-8AB7-22408372A981}&quot;);&#xA;&#xA;    //Support&#xA;    private struct ReferenceInfo&#xA;    {&#xA;      public ReferenceInfo(Item referencedItem, ID sourceFieldId)&#xA;    : this()&#xA;      {&#xA;        ReferencedItem = referencedItem;&#xA;        SourceFieldId = sourceFieldId;&#xA;      }&#xA;&#xA;      public Item ReferencedItem { get; private set; }&#xA;      public ID SourceFieldId { get; private set; }&#xA;    }&#xA;&#xA;    protected override List&amp;lt;Item&amp;gt; GetItemReferences(PublishItemContext context)&#xA;    {&#xA;      Assert.ArgumentNotNull((object)context, &quot;context&quot;);&#xA;      List&amp;lt;Item&amp;gt; list = new List&amp;lt;Item&amp;gt;();&#xA;      if (context.PublishOptions.Mode != PublishMode.SingleItem)&#xA;        return list;&#xA;      switch (context.Action)&#xA;      {&#xA;        case PublishAction.PublishSharedFields:&#xA;          Item sourceItem = context.PublishHelper.GetSourceItem(context.ItemId);&#xA;          if (sourceItem == null)&#xA;            return list;&#xA;          list.AddRange(this.GetReferences(sourceItem, true, new HashSet&amp;lt;ID&amp;gt;()));&#xA;          break;&#xA;        case PublishAction.PublishVersion:&#xA;          Item versionToPublish = context.VersionToPublish;&#xA;          if (versionToPublish == null)&#xA;            return list;&#xA;          list.AddRange(this.GetReferences(versionToPublish, false, new HashSet&amp;lt;ID&amp;gt;()));&#xA;          break;&#xA;        default:&#xA;          return list;&#xA;      }&#xA;      return list;&#xA;    }&#xA;&#xA;    private IEnumerable&amp;lt;Item&amp;gt; GetReferences(Item item, bool sharedOnly, HashSet&amp;lt;ID&amp;gt; processedItems)&#xA;    {&#xA;      Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;&#xA;      processedItems.Add(item.ID);&#xA;      List&amp;lt;Item&amp;gt; resultReferences = new List&amp;lt;Item&amp;gt;();&#xA;      ItemLink[] references = item.Links.GetValidLinks().Where(link =&amp;gt; item.Database.Name.Equals(link.TargetDatabaseName, StringComparison.OrdinalIgnoreCase)).ToArray();&#xA;&#xA;      if (sharedOnly)&#xA;        references = references.Where(reference =&amp;gt;&#xA;        {&#xA;          Item sourceItem = reference.GetSourceItem();&#xA;          if (sourceItem == null)&#xA;            return false;&#xA;          if (!ID.IsNullOrEmpty(reference.SourceFieldID))&#xA;            return sourceItem.Fields[reference.SourceFieldID].Shared;&#xA;          return true;&#xA;        }).ToArray();&#xA;&#xA;      foreach (var refItem in references.Select(link =&amp;gt; new ReferenceInfo(link.GetTargetItem(), link.SourceFieldID)).Where(refInfo =&amp;gt; refInfo.ReferencedItem != null))&#xA;      {&#xA;        //Support. Here we recursively add reference if wasn't added before and if referenced by the __Renderings field.&#xA;        if ((refItem.SourceFieldId == RenderingsFieldId || refItem.SourceFieldId == FinalRenderingsFieldId)  &amp;amp;&amp;amp; !processedItems.Contains(refItem.ReferencedItem.ID))&#xA;        {&#xA;          resultReferences.AddRange(this.GetReferences(refItem.ReferencedItem, sharedOnly, processedItems));&#xA;        }&#xA;&#xA;        resultReferences.AddRange(PublishQueue.GetParents(refItem.ReferencedItem));&#xA;        resultReferences.Add(refItem.ReferencedItem);&#xA;      }&#xA;      return resultReferences.Distinct(new ItemIdComparer());&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="364" LastEditorUserId="364" LastEditDate="2016-11-24T12:45:09.417" LastActivityDate="2016-11-24T12:45:09.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2784" PostTypeId="1" CreationDate="2016-11-23T11:09:56.733" Score="2" ViewCount="2000" Body="&lt;p&gt;I'm exploring EXM 3.4 on an 8.2 rev. 160729 instance and for a simple test mail I imported an existing CSV file which threw constantly an error about an empty listId. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I manually created a new list and created a contact in the ListManager application. Now the list is being built but never completing. The message it displays is 'Currently building list. Contacts will be viewable when complete&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Please note that this list is currently being built and is locked.&#xA;Please note that contacts in the list are currently being indexed, so not all contacts are available to view at this time. 1 out of 1 contacts are currently indexed.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas where it might be stuck? I don't see anything special in the log files.&lt;/p&gt;&#xA;" OwnerUserId="581" LastEditorUserId="104" LastEditDate="2016-11-23T11:42:11.453" LastActivityDate="2016-11-23T14:06:16.193" Title="Building contact list does not complete" Tags="|list-manager|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="2785" PostTypeId="2" ParentId="2772" CreationDate="2016-11-23T13:23:35.907" Score="4" Body="&lt;p&gt;The problem is with IIS application pool setting “Ping Maximum Response Time” which is the time in seconds the worker process is given to respond to health monitoring ping. After 5 missed responses the work process is timed out and causes the exception&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Web.HttpException&#xA;Message: Request timed out.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are 2 solutions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set ping enabled to false&lt;/li&gt;&#xA;&lt;li&gt;Set the Ping Maximum Response Time (seconds) to a large value&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Q8eig.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q8eig.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see the following &lt;a href=&quot;https://blog.coates.dk/2014/12/02/system-web-httpexception-request-timed-out-installing-sitecore-cms-7-1-rev-130926-update-package/&quot; rel=&quot;nofollow noreferrer&quot;&gt;post&lt;/a&gt; for more info.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main reason the timeout occurs is because the update package is installing both items and files, which reset the app pool. Due to this, Sitecore has to initialize its different pipelines, agents and also the Experience Editor. Moreover, since the introduction of the SPEAK UI, this also contributes in the time taken for Sitecore to be up and running.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2016-11-23T16:01:35.453" LastActivityDate="2016-11-23T16:01:35.453" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="2786" PostTypeId="2" ParentId="2784" CreationDate="2016-11-23T14:06:16.193" Score="4" Body="&lt;p&gt;I can tell you that List Manager has issues. There is a Hot Fix for List Manager that assists with many of these issues, but the one I'm thinking of is for EXM 3.3.  I would be surprised if Sitecore support didn't have a hotfix for 3 4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would log a Sitecore Ticket and ask if there is a fix for EXM 3.4 that is similar to hotfix EXM 3.3 135707.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Reasons why the list gets stuck&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Large lists over 200K recipients take hours to complete. It actually takes only about an hour or two to actually get to the point where the list is indexed (assuming nneu@acr.org usable by EXM) But a bug in Sitecore  (assuming for now) either doesn't update the count appropriately (an index 0 vs 1 issue maybe) or the last step is extremely inefficient. &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;If during the list creation process, Sitecore restarts, there is no restart logic built into List Manager for picking the creation of a list back up. And the list stays &quot;locked&quot; forever.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can fix this by using raw values in Content Editor to empty the Bulk Operation Field, and then setting the Recipients field equal to the number indexed, which is showing in the list (in List manager).&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Benefits of the Hotfix&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Provides ability to disable list locking. This can improve the overall experience of List Manager &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Numerous bug fixes to EXM.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Better memory utilization of List Manager.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;List Completion Issue is still Open&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;My ticket to Support for why this process takes so long is still open. Once I know of a resolution or have a reference number, I'll edit this answer.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-11-23T14:06:16.193" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2787" PostTypeId="2" ParentId="2770" CreationDate="2016-11-23T14:22:54.533" Score="1" Body="&lt;p&gt;Found the issue.&#xA;httpRuntime maxRequestLength=&quot;&lt;strong&gt;2147483647&lt;/strong&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That value should be set on Kb and not bytes, and Sitecore is doing the following calculation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public static long EffectiveMaxRequestLengthBytes&#xA;  {&#xA;    get&#xA;    {&#xA;      return (long) ((Settings.Runtime.MaxRequestLength - 200) * 1024);&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public static long MaximumDatabaseUploadSize&#xA;  {&#xA;    get&#xA;    {&#xA;      return Math.Min(Settings.Media.MaxSizeInDatabase, Settings.Runtime.EffectiveMaxRequestLengthBytes);&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="462" LastActivityDate="2016-11-23T14:22:54.533" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2788" PostTypeId="1" AcceptedAnswerId="3014" CreationDate="2016-11-23T14:23:50.793" Score="1" ViewCount="1438" Body="&lt;p&gt;I have a series of Infographic Items being added to a Infographic Container. The Infographic Container Model is as follows and works just fine:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyNamespace&#xA;{&#xA;    [SitecoreType(AutoMap = true)]&#xA;    public class InfographicContainerViewModel : BaseTemplateViewModel&#xA;    {&#xA;        public virtual string InfographicTitle { get; set; }&#xA;&#xA;        public virtual string Description { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For my Infographic Item Model I've done essentially the same thing, but the fields are always mapping to null. Stepping through the debugger, I can see that the item itself is being mapped to correctly (Correct IDs, name, ect.) and the item is in the correct language. My first ideas were to add in the Template ID to the SitecoreType attribute and place the names of the fields in the SitecoreField attributes, but neither resulted in a correct mapping. Here is my Infographic Item Model as it stands now: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyNamespace    {&#xA;    [SitecoreType(TemplateId = &quot;{5E6DF63A-0327-4587-8E72-AB35A7184200}&quot;, AutoMap = true)]&#xA;    public class InfographicItemViewModel : BaseTemplateViewModel&#xA;    {&#xA;&#xA;        [SitecoreField(&quot;ItemTitle&quot;)]&#xA;        public virtual string ItemTitle { get; set; }&#xA;&#xA;        [SitecoreField(&quot;ExpandedTitle&quot;)]&#xA;        public virtual string ExpandedTitle { get; set; }&#xA;&#xA;        [SitecoreField(&quot;ExpandedDescription&quot;)]&#xA;        public virtual string ExpandedDescription { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is a screenshot of the debugger where you can see the fields mapping to null: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OvYja.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OvYja.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is a screenshot of the template as it exists in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JH2Oc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JH2Oc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CQMl4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CQMl4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Does anyone know what could be going on here? &lt;/p&gt;&#xA;" OwnerUserId="1080" LastEditorUserId="73" LastEditDate="2016-12-01T11:03:15.737" LastActivityDate="2016-12-01T11:03:15.737" Title="Glassmapper Fields always map to NULL for one model" Tags="|glass-mapper|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2789" PostTypeId="2" ParentId="2744" CreationDate="2016-11-23T14:49:27.713" Score="0" Body="&lt;p&gt;Verify that your authentication mode is configured properly :)&#xA;After helping him I can verify that the authentication provider was set to windwos and not Forms, after switching back to Forms it worked againg&lt;/p&gt;&#xA;" OwnerUserId="659" LastEditorUserId="659" LastEditDate="2016-11-23T20:29:34.583" LastActivityDate="2016-11-23T20:29:34.583" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2790" PostTypeId="2" ParentId="2777" CreationDate="2016-11-23T14:57:45.143" Score="2" Body="&lt;p&gt;This looks like a &lt;strong&gt;Sitecore Media Cache&lt;/strong&gt; issue, and not a Glass.Mapper issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason I say this is that the Glass.Mapper expression cache cannot persist between application recycles, as the cache is &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/8f4506a14b7c1cd3f9179ed6459741c73fa7ea1a/Source/Glass.Mapper.Sc/GlassHtml.cs#L55&quot; rel=&quot;nofollow noreferrer&quot;&gt;stored in an in-memory dictionary&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, the Sitecore Media Cache is stored on disk, so those entries can persist for a while (and by default, it looks like they &lt;a href=&quot;http://sitecoreblog.patelyogesh.in/2014/04/how-sitecore-media-cache-is-works.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;last for 90 days before being cleaned up&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My recommendation&lt;/strong&gt; would be to clear out the media cache, (located here Website\App_Data\MediaCache\) and see if that solves your issue.&lt;/p&gt;&#xA;" OwnerUserId="420" LastActivityDate="2016-11-23T14:57:45.143" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2791" PostTypeId="1" AcceptedAnswerId="2815" CreationDate="2016-11-23T15:34:45.743" Score="4" ViewCount="911" Body="&lt;p&gt;Is there no standard way to incorporate/ consider a template's standard values when creating a Glassmapper model programmatically? This is all I can find online, but it seems that you have to rename an object just to consider standard values: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/26674102/how-to-apply-standard-values-to-an-item-created-with-glass-mapper&quot;&gt;https://stackoverflow.com/questions/26674102/how-to-apply-standard-values-to-an-item-created-with-glass-mapper&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1177" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-23T21:34:18.003" Title="Creating Glassmapper Models Programmatically with Standard Values" Tags="|best-practices|mvc|glass-mapper|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2792" PostTypeId="2" ParentId="2612" CreationDate="2016-11-23T15:48:02.457" Score="2" Body="&lt;p&gt;This is something I have been using since Sitecore Azure version 2 at least. It's my understanding that having a production and a staging slots is one of the original features of Azure Cloud services.&#xA;So even without having tested all of them I'm going to say: It's available on all Sitecore Azure versions.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2016-11-23T15:48:02.457" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2793" PostTypeId="2" ParentId="2709" CreationDate="2016-11-23T15:58:34.153" Score="2" Body="&lt;p&gt;One approach you could take, if you are using MVC, is an approach we used to take in multisite a few years ago. You can create a new View Engine for MVC and make it check for Project sites first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;~/Views/Project/CompanyABC/{1}/{0}.cshtml&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it doesn't find it, then just resort back to the default feature location. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't have access to that code anymore, but its very similar to these examples. Make sure you do not use Application_Start as it is private in Sitecore 8.2. Use the Initialization pipeline instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.martywoods.nl/organize-mvc-views-like-sitecore-renderings/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.martywoods.nl/organize-mvc-views-like-sitecore-renderings/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://beendaved.blogspot.com/2015/03/organizing-views-in-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://beendaved.blogspot.com/2015/03/organizing-views-in-sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-23T15:58:34.153" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2794" PostTypeId="1" AcceptedAnswerId="2837" CreationDate="2016-11-23T16:02:26.073" Score="6" ViewCount="1420" Body="&lt;p&gt;Is there a way to rename the Sitecore cookie &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt;?  &lt;a href=&quot;https://wappalyzer.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Wappalyzer&lt;/a&gt; &lt;a href=&quot;https://github.com/AliasIO/Wappalyzer/blob/67bda26ebdc2e501132cafb2906a016bca8a497b/src/apps.json#L6579&quot; rel=&quot;nofollow noreferrer&quot;&gt;identifies&lt;/a&gt; a Sitecore site via this cookie, and we would like to stop it from doing so, whilst retaining the behaviour associated with the cookie.&lt;/p&gt;&#xA;" OwnerUserId="1092" LastActivityDate="2016-12-06T19:11:07.167" Title="Rename SC_ANALYTICS_GLOBAL_COOKIE" Tags="|configuration|cookies|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2795" PostTypeId="1" CreationDate="2016-11-23T16:16:53.873" Score="2" ViewCount="4711" Body="&lt;p&gt;I'm looking for best practices to implement a Controller Rendering using glass mapper and TDS code-generation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've read and liked this approach &lt;a href=&quot;https://www.akshaysura.com/2016/08/01/tihidi-implement-a-simple-controller-rendering-in-sitecore-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.akshaysura.com/2016/08/01/tihidi-implement-a-simple-controller-rendering-in-sitecore-mvc/&lt;/a&gt; but I'm wondering if GlassController has a native way to access the rendering context as Sitecore API does with &lt;code&gt;RenderingContext.Current.Rendering.Item&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How are others creating the Controller Renderings using glass?&lt;/p&gt;&#xA;" OwnerUserId="57" LastEditorUserId="73" LastEditDate="2016-11-23T19:05:34.090" LastActivityDate="2016-11-23T21:54:51.927" Title="Best practice for implementing a controller rendering using GlassController" Tags="|best-practices|glass-mapper|tds|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2796" PostTypeId="2" ParentId="2794" CreationDate="2016-11-23T16:18:27.817" Score="2" Body="&lt;p&gt;I don't think this is possible without custom code. The string appears hardcoded twice in sitecore libraries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Analytics.dll&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace Sitecore.Analytics.Web&#xA;{&#xA;  public class ContactKeyCookie&#xA;  {&#xA;    private const string AnalyticsGlobalCookieName = &quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;;&#xA;    .....&#xA;    .....&#xA;  }      &#xA;}  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="88" LastEditorUserId="88" LastEditDate="2016-12-06T19:11:07.167" LastActivityDate="2016-12-06T19:11:07.167" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2797" PostTypeId="1" AcceptedAnswerId="2799" CreationDate="2016-11-23T16:19:10.073" Score="3" ViewCount="543" Body="&lt;p&gt;I have an extranet where, by default, I've denied permissions to the whole tree to the anonymous account to ensure a login. One of the subitems is content only for staff who have access, rather than general members. However, people can be assigned to both the Member and Staff roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my item, I've got Members denied access and Staff granted access, which means if you're assigned to both, you're denied access. Is there any way to invert this, or another way of doing the permissions to accomplish the goal? I would think this a common scenario...&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2016-11-23T16:28:08.833" Title="Security setup - member of two roles with different access" Tags="|security|role-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2798" PostTypeId="2" ParentId="2794" CreationDate="2016-11-23T16:19:14.403" Score="5" Body="&lt;p&gt;Unfortunately, there is not a way to do this. Have a look at the &lt;code&gt;Sitecore.Analytics.Web.ContactKeyCookie&lt;/code&gt; class. You will find the following constant there:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;private const string AnalyticsGlobalCookieName = &amp;quot;SC_ANALYTICS_GLOBAL_COOKIE&amp;quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The above means that the cookie name is hard-coded into Sitecore and cannot be changed.&lt;/p&gt;&#xA;&lt;p&gt;In addition to the above, note also that this text is also hard-coded in all of the following locations (excluding locations where the constant is used) in the assemblies included natively in Sitecore 8.1u2:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qYjeh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qYjeh.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;My thoughts&lt;/h3&gt;&#xA;&lt;p&gt;IMHO, this is something that should be changed in the Sitecore code-base, as security could be improved by changing the cookie name in a way that prevents people from seeing that the site is a Sitecore site (which I assume is the reason why you want to do this).&lt;/p&gt;&#xA;&lt;h3&gt;Next Steps&lt;/h3&gt;&#xA;&lt;p&gt;I recommend that you file a Sitecore Support ticket for this issue. At least put it on their radar and explain the security hardening benefits to the system if they include support for this. They may give you a patch, and may even add this change to a future release.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-23T16:24:30.087" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2799" PostTypeId="2" ParentId="2797" CreationDate="2016-11-23T16:22:47.340" Score="1" Body="&lt;p&gt;You should try to avoid denying access (just because of the fact that deny gets preference over all) - it's not a good practice. It's better to break the inheritance to remove access. This way, your &quot;grant&quot; will work again as there is no &quot;deny&quot; anymore to remove it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more information &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/access_rights/assigning_access_rights&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; and specifically on the use of &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/access_rights/the_inheritance_access_right&quot; rel=&quot;nofollow noreferrer&quot;&gt;inheritance here&lt;/a&gt;. That last page should be very interesting for your case as it covers that (and similar) scenario's with examples.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-23T16:28:08.833" LastActivityDate="2016-11-23T16:28:08.833" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2800" PostTypeId="1" CreationDate="2016-11-23T16:26:51.827" Score="2" ViewCount="834" Body="&lt;p&gt;I have a general link field where the value is still inside when I look at the raw value but the field seems to be empty and has to be cleared before it is editable again. How do I fix that and what is causing this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1 rev 151207 and the value of the link is: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link text=&quot;Link to Service&quot; linktype=&quot;internal&quot; class=&quot;&quot; title=&quot;&quot; target=&quot;&quot; querystring=&quot;&quot; id=&quot;{FBCDB96C-7896-401B-A77F-0B5201FBCD91}&quot; anchor=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that this is not a broken link. In the Content Editor, the value is fine but in the Experience Editor when you open the fields for editing the link is empty. If I go back to the content editor and look at the raw values for the field I can see the above.&lt;/p&gt;&#xA;" OwnerUserId="1178" LastEditorUserId="423" LastEditDate="2017-07-07T16:03:32.620" LastActivityDate="2017-07-07T16:03:32.620" Title="General Link - Raw Value inside but not editable in Field" Tags="|content-editor|links|" AnswerCount="0" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="2801" PostTypeId="2" ParentId="2764" CreationDate="2016-11-23T16:27:19.020" Score="2" Body="&lt;p&gt;I see two problems in your question.&#xA;First of all, you do not have any results on your search. In order to tackle this, you will need to solve your second problem, which is being able to see the document's properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To see documents properties, you will need to give yourself &quot;Index Browser - Full Access&quot; Permissions. You can do this in the the Coveo Administration Tools (CES7) by default on [coveoserver]:8081. Simply navigate to Configuration &gt;&gt; Security &gt;&gt; Roles. Then select your user and give the Full Access permission.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information, please read: &lt;a href=&quot;https://onlinehelp.coveo.com/en/ces/7.0/administrator/about_administration_roles.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://onlinehelp.coveo.com/en/ces/7.0/administrator/about_administration_roles.htm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, a quick search on search.coveo.com would have told you everything: &lt;a href=&quot;https://search.coveo.com/#q=you%20do%20not%20have%20permission&amp;amp;sort=relevancy&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://search.coveo.com/#q=you%20do%20not%20have%20permission&amp;amp;sort=relevancy&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now that this is solved, you will be able to see the permissions tab in the detail section of your document in the Index Browser, with this, you will be able to know who has access to your document.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the query side, use the &lt;a href=&quot;https://onlinehelp.coveo.com/en/ces/7.0/administrator/using_the_ces_console.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;CES Console&lt;/a&gt; to view the permissions on the user at query time, then compare with the information you have on the document in the index browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now a common issue is when no permissions are applied on the documents, this is a normal behavior of Coveo when it encounters a failure while refreshing the securities. It will simply deny everyone to avoid a security leak. &#xA;What kind of failure you will ask? &#xA;Well a security cache refresh failure is a common one. The cache refreshes by default every day at midnight server time. You can manually refresh it to test : &lt;a href=&quot;https://onlinehelp.coveo.com/en/ces/7.0/administrator/refreshing_security_caches.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://onlinehelp.coveo.com/en/ces/7.0/administrator/refreshing_security_caches.htm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep the good old CES Console open during the refresh an you will see the errors in bright red. From there you should be able to see the cause of your issue.&lt;/p&gt;&#xA;" OwnerUserId="264" LastActivityDate="2016-11-23T16:27:19.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2802" PostTypeId="1" AcceptedAnswerId="2804" CreationDate="2016-11-23T16:50:21.750" Score="2" ViewCount="205" Body="&lt;p&gt;I have Windows Authentication on the IIS of sitecore site (for limited external access). Coveo is running remotely on another server. When trying to run Coveo diagnostic tool, I see the 401 error in Coveo Security Service.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Net.WebException: The remote server returned an error: (401) Unauthorized.&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at Coveo.SearchProvider.Applications.StateVerifier.&amp;lt;&amp;gt;c__DisplayClass16.&amp;lt;GetWebServiceState&amp;gt;b__15()&#xA;   at Coveo.SearchProvider.Applications.BaseVerifier.VerifyComponent(Func`1 p_VerifyMethod, String p_ComponentName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried to follow this other &lt;a href=&quot;https://answers.coveo.com/questions/1776/basic-authentication-on-top-of-sitecore-causes-coveo-security-service-401-error&quot; rel=&quot;nofollow noreferrer&quot;&gt;post&lt;/a&gt; on how to configure this but I am running into same issue. The CES service is running on an AD account (domain/username) that has access to sitecore site's IIS. I am able to login using the same AD account.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what else I should be configuring to make this work?&lt;/p&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="1128" LastEditDate="2016-11-23T20:02:55.113" LastActivityDate="2016-11-23T20:02:55.113" Title="Coveo with windows authentication on sitecore site" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2803" PostTypeId="2" ParentId="2795" CreationDate="2016-11-23T16:55:29.337" Score="3" Body="&lt;p&gt;In the example below, I am using DI to new up all the Glass Mapper glasses. We are using SitecoreContext and GlasHtml in our repositories to do the work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private readonly ICartRepository _cartRepository;&#xA;&#xA;public CartController(ICartRepository cartRepository)&#xA;{&#xA;        _cartRepository = cartRepository;&#xA;}&#xA;&#xA;public ActionResult MiniCart()&#xA;{&#xA;      try&#xA;      {&#xA;          var model = _cartRepository.GetHeaderMiniCart();&#xA;&#xA;          return View(model);&#xA;      }&#xA;      catch (Exception e)&#xA;      {&#xA;          return IsPageEditorEditing ? ErrorView(e) : View(new MiniCart());&#xA;      }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Repository&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private readonly ISitecoreContext _sitecoreContext;&#xA;private readonly IGlassHtml _glassHtml;&#xA;private readonly IRenderingService _renderingService;&#xA;&#xA;public CartRepository(ISitecoreContext sitecoreContext, IGlassHtml glassHtml, IRenderingService renderingService)&#xA;{&#xA;      _sitecoreContext = sitecoreContext;&#xA;      _glassHtml = glassHtml;&#xA;      _renderingService = renderingService;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Data function, returns editable HTML so we can edit it as if it were a rendering model. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public MiniCart GetHeaderMiniCart()&#xA;{&#xA;        var model = renderingService.GetGlassModelFromDataSource&amp;lt;Header&amp;gt;();&#xA;&#xA;        return new MiniCart&#xA;        {&#xA;            Icon = _glassHtml.Editable(model, x =&amp;gt; x.CartImage),&#xA;            Link = _glassHtml.Editable(model, x =&amp;gt; x.CartButtonLink),&#xA;            Count = 2&#xA;        };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Render Service Helper interface and class.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IRenderingService&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Get a glass model from the item data source&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;typeparam name=&quot;T&quot;&amp;gt;&amp;lt;/typeparam&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;T&amp;lt;/returns&amp;gt;&#xA;    T GetGlassModelFromDataSource&amp;lt;T&amp;gt;() where T : GlassBase;&#xA;}&#xA;&#xA;&#xA;public class RenderingService : IRenderingService&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Get a glass model from the item data source&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;typeparam name=&quot;T&quot;&amp;gt;&amp;lt;/typeparam&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;T&amp;lt;/returns&amp;gt;&#xA;    public T GetGlassModelFromDataSource&amp;lt;T&amp;gt;() where T : GlassBase&#xA;    {&#xA;        if (string.IsNullOrEmpty(RenderingContext.Current.Rendering.DataSource))&#xA;        {&#xA;            throw new MissingMemberException(&quot;A rendering must have a datasource.&quot;);&#xA;        }&#xA;&#xA;        return RenderingContext.Current.Rendering.Item.GlassCast&amp;lt;T&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The model&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MiniCart&#xA;{&#xA;     public string Icon {get; set;}&#xA;     public string Link {get; set;}&#xA;     public int Count {get; set;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in the view&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model MiniCart&#xA;&#xA;My Link @Html.Raw(Model.Link)&#xA;My Icon @Html.Raw(Model.Icon)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2016-11-23T17:32:50.537" LastActivityDate="2016-11-23T17:32:50.537" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2804" PostTypeId="2" ParentId="2802" CreationDate="2016-11-23T16:57:26.770" Score="2" Body="&lt;p&gt;You can follow the steps on this &lt;a href=&quot;http://www.nonlinearcreations.com.br/Digital/how-we-think/articles/2016/07/How-to-configure-Coveo-for-Sitecore-to-avoid-401-unauthorized-error-messages.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;. But basically this is what you need to do:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to IIS, and open the Sitecore site.  Browse the folders and select Coveo’s main folder. With the Coveo folder selected, click Authentication on the right side. Choose Windows Authentication and select disable, then choose Anonymous and select enable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go back to the left panel, navigate to modules &gt; Web &gt; Coveo folder &#xA;And do the same thing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should take care of your issue&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-11-23T16:57:26.770" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2805" PostTypeId="1" CreationDate="2016-11-23T18:37:05.687" Score="3" ViewCount="158" Body="&lt;p&gt;During log-file investigation I've found a big difference between the IIS-log and the interactions collection in MongoDB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've started to log the &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; within IIS and extract the values. The cookie in IIS-log looks like this: &lt;strong&gt;SC_ANALYTICS_GLOBAL_COOKIE=fe33e963e81f43eb8a578fe40690e80d|True&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For visitors with a cookie, Sitecore was able to start the tracking. The cookie-value is the ContactID value of a MongoDB interaction.&#xA;Then I run a query against the MongoDB to check for the cookie-value. The query looks like this:&#xA;&lt;strong&gt;db.Interactions.find({&quot;ContactId&quot; : CSUUID(&quot;fe33e963e81f43eb8a578fe40690e80d&quot;)})&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I can only find interaction entries for just 30% of all the cookie-values from the IIS log! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something prevents Sitecore from saving all sessions to MongoDB. The problematic requests are not from any bot. Within Sitecore debug-level log, I can see the tracking starts but now an entry for serializing to MongoDB after session expiration.&lt;/p&gt;&#xA;" OwnerUserId="437" LastEditorUserId="5387" LastEditDate="2019-08-12T05:03:10.530" LastActivityDate="2019-08-12T05:03:10.530" Title="Difference between IIS requests and interactions in MongoDB" Tags="|xdb|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="2806" PostTypeId="1" AcceptedAnswerId="2818" CreationDate="2016-11-23T18:55:22.237" Score="3" ViewCount="2417" Body="&lt;p&gt;We are in the beginning stages of a site and so there is very little custom code introduced at this point.  I've noticed that images are not being resized properly.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I originally thought the hash was not being applied properly, but that turned out to not be the case.  I've tested this in two ways:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Disabled Media Request Protection&lt;/li&gt;&#xA;&lt;li&gt;Altered a generated URL&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After disabling Media Request Protection, I assumed I could simply alter an image by appending h or w to the query string as such:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://URL/-/media/Home-Page/images/careers-icon.ashx?h=200&amp;amp;mh=175&amp;amp;mw=175&amp;amp;w=175&amp;amp;hash=BAB30E6E5E518F898DFE7D3C726658814B46BA46&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://URL/-/media/Home-Page/images/careers-icon.ashx?h=200&amp;amp;mh=175&amp;amp;mw=175&amp;amp;w=175&amp;amp;hash=BAB30E6E5E518F898DFE7D3C726658814B46BA46&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the image is not resized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I leave Media Request Protection turned on and modify a URL, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://URL/-/media/Home-Page/images/careers-icon.ashx?h=200&amp;amp;mh=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://URL/-/media/Home-Page/images/careers-icon.ashx?h=200&amp;amp;mh=&lt;/a&gt;&lt;strong&gt;10&lt;/strong&gt;&amp;amp;mw=175&amp;amp;w=175&amp;amp;hash=BAB30E6E5E518F898DFE7D3C726658814B46BA46&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I receive the proper log message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6720 12:46:46 ERROR MediaRequestProtection: An invalid/missing hash value was encountered. The expected hash value: AE578A561DA323EEC4F7324CB154DBB9BA6B8924. Media URL: /-/media/Home-Page/images/careers-icon.ashx?h=200&amp;amp;mh=10&amp;amp;mw=175&amp;amp;w=175&amp;amp;hash=BAB30E6E5E518F898DFE7D3C726658814B46BA46, Referring URL: (empty)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, I've also tried setting the max width and max height attributes as well, to no avail.  Is this a known bug in our Sitecore version?  As stated, this is a pretty vanilla install at this point.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2016-11-23T22:32:58.263" Title="Image Not Being Resized Properly (Sitecore 8.1 rev 160519)" Tags="|media-library|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2807" PostTypeId="1" AcceptedAnswerId="2809" CreationDate="2016-11-23T19:11:10.613" Score="5" ViewCount="957" Body="&lt;p&gt;Normally we do things like &lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditorEditing&lt;/code&gt; to detect if the experience editor is running.  I want to do something similar, but detect if the live site is running instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found &lt;code&gt;Sitecore.Context.PageMode.IsNormal&lt;/code&gt;, but this also returns true from within Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's the best way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-11-23T20:05:50.777" Title="Most reliable way to detect if running in live site?" Tags="|best-practices|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2809" PostTypeId="2" ParentId="2807" CreationDate="2016-11-23T20:05:50.777" Score="5" Body="&lt;p&gt;You could do something like the following: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.PageMode.IsNormal &amp;amp;&amp;amp; Sitecore.Context.Site.Name == &quot;website&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Obviously, you would want to replace &lt;code&gt;&quot;website&quot;&lt;/code&gt; with the name of the site that you are looking for, if different. You could, of course, enhance this solution to support comparing the sites in another way, as well or you could invert the solution by saying:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.PageMode.IsNormal &amp;amp;&amp;amp; Sitecore.Context.Site.Name != &quot;shell&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will resolve the issue you described, by returning &lt;code&gt;false&lt;/code&gt; if in the Content Editor, but the better solution would be to match directly against the site you are looking for, if possible. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-11-23T20:05:50.777" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2810" PostTypeId="1" AcceptedAnswerId="2820" CreationDate="2016-11-23T20:07:05.353" Score="2" ViewCount="818" Body="&lt;p&gt;I have Windows Authentication on the IIS of sitecore site (for limited external access). Coveo is running remotely on another server. When trying to access item binary data &lt;code&gt;p_Args.CoveoItem.BinaryData&lt;/code&gt; from &lt;code&gt;&amp;lt;coveoPostItemProcessingPipeline&amp;gt;&lt;/code&gt; I get 401 error. Is there a way to pass credential when accessing this item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error thrown my processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #10 17:35:49 ERROR An exception occurred while trying to fetch the HTML content of the document http://ca.site.com/en/page-to-index.&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (401) Unauthorized.&#xA;Source: System&#xA;at System.Net.HttpWebRequest.GetResponse()&#xA;at&#xA;Coveo.SearchProvider.Processors.HtmlItemContentFetcher.FetchItemContent(String p_Url)&#xA;at&#xA;Coveo.SearchProvider.Processors.HtmlContentInBodyWithRequestsProcessor.Process(CoveoPostItemProcessingPipelineArgs p_Args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="2727" LastEditDate="2018-04-03T06:12:55.630" LastActivityDate="2018-04-03T06:12:55.630" Title="&quot;The remote server returned an error: (401) Unauthorized&quot; Error while accessing item binary data in Coveo with Windows Auth" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2811" PostTypeId="1" AcceptedAnswerId="2889" CreationDate="2016-11-23T20:29:12.450" Score="4" ViewCount="914" Body="&lt;p&gt;I often use the &lt;code&gt;inherits&lt;/code&gt; attribute of the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; configuration node to make one site inherit another. Today, another SSE question made me ask myself how I can check to see if the context site inherits a specific site. I tried to find something in the Sitecore API for this but came up empty. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if there is a way to check if a site inherits another, aside from directly grabbing the Node from configuration and checking the attribute manually?&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-11-27T13:45:24.050" Title="How to Check Site Configuration Inheritance" Tags="|configuration|multisite|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2812" PostTypeId="1" CreationDate="2016-11-23T20:32:17.237" Score="4" ViewCount="1201" Body="&lt;p&gt;The out of the box Telerik RTE in Sitecore has been around a long time and served us well. But there are many options out there like Redactor. Has anyone implemented another more modern RTE in Sitecore? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Telerik is .NET so it has the ability to extract the HTML from the editor on save. Not sure the way forward on a JS only. Seems like I would have to write an API that the save event could post to. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-23T09:44:07.413" Title="Rich Text Editor options" Tags="|presentation|" AnswerCount="2" CommentCount="2" ClosedDate="2017-05-23T09:49:20.687" ContentLicense="CC BY-SA 3.0" />
  <row Id="2813" PostTypeId="2" ParentId="2811" CreationDate="2016-11-23T20:58:23.893" Score="2" Body="&lt;p&gt;There is no API for this. Inheritance information is not preserved after parsing configuration files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Sitecore.Sites.ConfigSiteProvider&lt;/code&gt;, here's the method that deals with site inheritance:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void ResolveInheritance(SiteCollection sites, SafeDictionary&amp;lt;string, Site&amp;gt; siteDictionary)&#xA;{&#xA;  foreach (Site site in (Collection&amp;lt;Site&amp;gt;) sites)&#xA;  {&#xA;    if (!string.IsNullOrEmpty(site.Properties[&quot;inherits&quot;]))&#xA;    {&#xA;      this.AddInheritedProperties(site, siteDictionary);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here's the decompiled code of &lt;code&gt;AddInheritedProperties&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void AddInheritedProperties(Site site, SafeDictionary&amp;lt;string, Site&amp;gt; siteDictionary)&#xA;{&#xA;  string index = site.Properties[&quot;inherits&quot;];&#xA;  Site site1 = siteDictionary[index];&#xA;  Assert.IsNotNull((object) site1, &quot;Could not find base site '{0}' for site '{1}'.&quot;, new object[2] { index, site.Name });&#xA;&#xA;  foreach (KeyValuePair&amp;lt;string, string&amp;gt; property in (SafeDictionary&amp;lt;string, string&amp;gt;) site1.Properties)&#xA;  {&#xA;    if (!site.Properties.ContainsKey(property.Key))&#xA;    {&#xA;      site.Properties[property.Key] = property.Value;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, it just copies all properties from the original site definition to the inherited one. Inheritance metadata is not preserved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a conclusion, if you need to know site inheritance in your code, you'll have to parse Sitecore configuration manually.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-23T21:00:00.327" LastActivityDate="2016-11-23T21:00:00.327" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2814" PostTypeId="2" ParentId="2812" CreationDate="2016-11-23T21:08:04.947" Score="-2" Body="&lt;p&gt;Sitecore RTE can not be replaced by another control . Sitecore is using Telerik controls by its foundation and it's not possible by just writing API or patching any code by Config file . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it's possible to use same Telerik control with the numbers of customization. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To extend feature of rich text you need to make change default.aspx which can be found (/Sitecore/Shell/controls/Rich Text Editor/default.aspx)&#xA;For Example : &#xA;This is the daualt entry for richtext control sitecore in default.aspx &lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;p&gt;You can add your extensions here by replacing or adding custom JS .&lt;/p&gt;&#xA;" OwnerUserId="486" LastActivityDate="2016-11-23T21:08:04.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2815" PostTypeId="2" ParentId="2791" CreationDate="2016-11-23T21:34:18.003" Score="0" Body="&#xA;&#xA;&lt;p&gt;When you create the item directly from the model GlassMapper has no way of knowing if the values of the item's properties are to be overwritten by the standard values or if you intended them to be null/empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you want is to first create the item by specifying a parent and a name for the new item.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var itemName = &quot;My new item&quot;;&#xA;var item = SitecoreContext.Create&amp;lt;IItem, IParentItem&amp;gt;(parent, itemName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The model of the new item is the first type parameter. The template for the new item is also inferred from this type parameter (&lt;code&gt;IItem&lt;/code&gt; in this case) assuming it has been mapped correctly specifying its template ID (or branch ID) - otherwise you will get an exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This new item will now have any standard values set and you can change any values as you please and then save those changes.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;item.SomeProperty = &quot;Some value&quot;;&#xA;SitecoreContext.Save(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastActivityDate="2016-11-23T21:34:18.003" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2816" PostTypeId="2" ParentId="2795" CreationDate="2016-11-23T21:54:51.927" Score="4" Body="&#xA;&#xA;&lt;p&gt;If your controller inherits fromt the &lt;code&gt;GlassController&amp;lt;T&amp;gt;&lt;/code&gt; then you have access to several properties and methods to access either the context item or the datasource item.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Item ContextItem&#xA;Item DataSourceItem&#xA;Item LayoutItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ContextItem&lt;/code&gt; just returns &lt;code&gt;Sitecore.Context.Item&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;DataSourceItem&lt;/code&gt; returns the specified data source item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;LayoutItem&lt;/code&gt; returns the data source item if it isn't null, otherwise the context item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Besides those you have the following matching methods and properties. The properties casts to the type parameter specified in &lt;code&gt;GlassController&amp;lt;T&amp;gt;&lt;/code&gt; while you can specify the type for the methods.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;// Properties&#xA;T Context&#xA;T DataSource&#xA;T Layout&#xA;&#xA;// Methods&#xA;T GetContextItem&amp;lt;T&amp;gt;()&#xA;T GetDataSourceItem&amp;lt;T&amp;gt;()&#xA;T GetLayoutItem&amp;lt;T&amp;gt;()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;GlassController&amp;lt;T&amp;gt;&lt;/code&gt; also has a &lt;code&gt;RenderingContextWrapper&lt;/code&gt; property where you have access to the current data source value and rendering parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You of course also have access to the &lt;code&gt;SitecoreContext&lt;/code&gt; property.&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2016-11-23T21:54:51.927" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2817" PostTypeId="1" AcceptedAnswerId="2819" CreationDate="2016-11-23T22:10:28.767" Score="2" ViewCount="545" Body="&lt;p&gt;Is it possible to use workflow to control which publishing targets an item can be published to? I guess you could write a custom workflow action which would programmatically alter the publish targets, but is there some built-in way, or perhaps a better solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, I would like a &lt;code&gt;preview&lt;/code&gt; workflow state which would allow publishers to the &lt;code&gt;web DB&lt;/code&gt; and then a &lt;code&gt;final&lt;/code&gt; state which allows publishing to the &lt;code&gt;webCD DB&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="5387" LastEditDate="2019-08-12T05:01:24.497" LastActivityDate="2019-08-12T05:01:24.497" Title="How to use workflow to control which targets an item is publishable to" Tags="|publishing|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2818" PostTypeId="2" ParentId="2806" CreationDate="2016-11-23T22:32:58.263" Score="1" Body="&lt;p&gt;The MediaRequestProtection is there for good reason - so I would go out of your way to ensure that it's used (otherwise your site is vulnerable to an attack vector).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The media protection uses the width, height and other properties to calculate the hash (so they're tied to the hash you have) so it's not a surprise that modifying the URL doesn't work. You need to generate the whole URL in code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RenderImage is Glass I think? You can add width and height etc using the Glass mapper method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@RenderImage(x=&amp;gt;x.Image, new {w = 50, width=50}, outputHeightWidth:true)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more details about GlassMapper's parameters &lt;a href=&quot;http://glass.lu/Mapper/Sc/Tutorials/Tutorial22&quot; rel=&quot;nofollow noreferrer&quot;&gt;see here&lt;/a&gt; - if GlassMapper isn't generating your hash - check you're on the latest version and then let the guys at GM know :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a chance that (with MediaRequestProtection disabled) - the image is already cached on your machine from looking at it with MRP enabled? I would try it without the hash value at all when you're testing with MRP disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default - the following parameters are protected (so you can't change them without regenerating the hash:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;protectedMediaQueryParameters&amp;gt;&#xA;      &amp;lt;parameter description=&quot;width&quot; name=&quot;w&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;height&quot; name=&quot;h&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;max width&quot; name=&quot;mw&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;max height&quot; name=&quot;mh&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;scale&quot; name=&quot;sc&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;allow stretch&quot; name=&quot;as&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;background color&quot; name=&quot;bc&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;database name&quot; name=&quot;db&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;ignore aspect ratio&quot; name=&quot;iar&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;language code&quot; name=&quot;la&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;thumbnail&quot; name=&quot;thn&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;version number&quot; name=&quot;vs&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;content database&quot; name=&quot;sc_content&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;content language name&quot; name=&quot;sc_lang&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;context site&quot; name=&quot;sc_site&quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&quot;grayscale filter&quot; name=&quot;gray&quot;/&amp;gt;&#xA;    &amp;lt;/protectedMediaQueryParameters&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There's some information about how you can generate a new hash on this &lt;a href=&quot;http://www.seanholmesby.com/images-not-resizing-in-sitecore-7-5-sitecore-8-0/&quot; rel=&quot;nofollow noreferrer&quot;&gt;useful blog post.&lt;/a&gt; Notably:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;in C# code, you can use HashingUtils.ProtectAssetUrl(url) to get the&#xA;  full media URL with hash included.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-11-23T22:32:58.263" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2819" PostTypeId="2" ParentId="2817" CreationDate="2016-11-23T22:49:01.013" Score="3" Body="&lt;p&gt;I believe that this has been possible out of the box since Sitecore 7.2 (I've seen it in use but never implemented it myself).&lt;/p&gt;&#xA;&lt;p&gt;The Sitecore article for this for Sitecore 7.2 &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/out-of-the-box-support-for-pre-production-publishing&quot; rel=&quot;nofollow noreferrer&quot;&gt;is here&lt;/a&gt; - a more up to date version &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/walkthrough_publishing_items_to_a_preview_publishing_target&quot; rel=&quot;nofollow noreferrer&quot;&gt;can be found here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Notably:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;A workflow state definition item has a 'Preview publishing targets' field, designating the targets an item may be published to before the final state&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If no publishing targets are selected, items in the state cannot be&#xA;published ahead of the final state.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Publishing targets have a new 'Preview publishing target' checkbox.&#xA;Items checked with this will be available as options in the workflow&#xA;state (default unchecked)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If an item is not in the final workflow state but is in a state which&#xA;has one or more preview publishing targets set, the editor warning&#xA;informs the user what targets the item may be published to.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="428" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-23T22:49:01.013" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2820" PostTypeId="2" ParentId="2810" CreationDate="2016-11-24T01:48:09.240" Score="1" Body="&lt;p&gt;I ended up doing the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a separate IIS site pointing to original site's directory. &lt;/li&gt;&#xA;&lt;li&gt;Allow anonymous access on it&lt;/li&gt;&#xA;&lt;li&gt;Update &lt;code&gt;ServerUrl&lt;/code&gt; path in &lt;code&gt;Coveo.SerchProvider.config&lt;/code&gt; to new site&lt;/li&gt;&#xA;&lt;li&gt;Set hostname on the server appropriately&lt;/li&gt;&#xA;&lt;li&gt;On CES server, added hostname for new site&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;With this when indexing, Coveo is able to bypass authentication on sitecore instance by hitting the 2nd site. And since they share same DBs and files, it seems to be indexing correctly.&lt;/p&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2016-11-24T01:48:09.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2821" PostTypeId="1" AcceptedAnswerId="4261" CreationDate="2016-11-24T02:47:26.887" Score="9" ViewCount="568" Body="&lt;p&gt;It's not at all uncommon to have an article page designed that is intended to be dynamically formed from a number of components:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rich text&amp;gt;&#xA;&amp;lt;left image with additional comment&amp;gt;&#xA;&amp;lt;rich text&amp;gt;&#xA;&amp;lt;image gallery&amp;gt;&#xA;&amp;lt;rich text&amp;gt;&#xA;... etc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The gallery might be reusable, and thus point to an existing item, but the rich text certainly is not intended to be. This can't be approached out of the box, since the rich text field needs to render a field, so each instance will simply render the same text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the recommended pattern to achieve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see three possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Create a data source item for each component&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This can be done out of the box if the author creates the data source items manually, but doing so is so arduous that it's no longer worth using the Experience Editor at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's possible to automate this, which is effectively what Adobe Experience Manager does, but in Sitecore it involves custom code to dynamically create the item when a rendering is added to the page. There's also no way to skip the &quot;select data source&quot; dialog, so the editing experience is disjointed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having implemented this method, I can also vouch for it being particularly painful with regard to workflow and publishing since the state of each data source needs to be kept in sync with the page.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Allow selection of renderings within the Rich Text Editor&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This method was outlined by &lt;a href=&quot;https://sitecorejohn.wordpress.com/2010/04/28/embed-renderings-maps-media-etc-in-sitecore-rich-text-editor-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;John West back in 2010&lt;/a&gt; and involves using custom pipelines to include renderings embedded within a Rich Text Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd say this approach would take a fair amount of work to get right to avoid the WYSYWG editor accidentally allowing, for example, a rendering inside a &lt;code&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Considering there has been not much discussion of this method since that blog post, and John takes pains to state that it's not supported, it's safe to assume that this is not considered best practice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are almost no upsides to this approach.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Include the rich text as a Rendering Parameter&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In this approach the rich text is kept in a rendering parameter via a Rendering Parameter Template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is, more or less, how Umbraco 7 solves this problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In theory this could work, since Final Layout in SC8+ is versioned so it can be localised. It makes it impossible to share the content elsewhere, and may require index customisations, but those might be acceptable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/2782/1173&quot;&gt;Richard Seal recommends against this approach in my question around this approach.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Restrict the UX&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is the &quot;Sitecore can't do that&quot; option. Obviously not ideal, since people pay for expensive CMSs so they can have flexible control over their site's content.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2017-08-01T00:21:54.490" LastActivityDate="2017-08-01T00:21:54.490" Title="What is the recommended pattern for dynamic paragraph systems in Sitecore?" Tags="|experience-editor|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2822" PostTypeId="1" AcceptedAnswerId="2824" CreationDate="2016-11-24T04:09:15.740" Score="3" ViewCount="3402" Body="&lt;p&gt;I got a scenario where I have different layouts Layout1, Layout2, so on...I have a renderings which is shared among this layouts. &#xA;Layout1- Rendering -R1&#xA;Layout2-Rendering-R1&#xA;and so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I have situation where I want to identify the layout name or details within this rendering R1. I know this is not good idea still is there any way to refer the details of layout within renderings. &lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="2727" LastEditDate="2018-03-15T08:53:28.687" LastActivityDate="2018-03-15T08:53:28.687" Title="Is there a way to identify current layout details with renderings?" Tags="|presentation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2823" PostTypeId="1" CreationDate="2016-11-24T06:41:55.987" Score="2" ViewCount="1111" Body="&lt;p&gt;Currently I have Sitecore 8.0 Update-1 and I want it to upgrade to 8.2. &#xA;So as per the 8.2 upgrade guide, prerequisites for running this update is Sitecore 8.1 rev. 151003 (Initial Release) or later.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I first decide to upgrade my current Sitecore 8.0 to 8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the 8.1 upgrade guide, I have started to install the &lt;strong&gt;Sitecore Update Installation Wizard 1.0.0 rev.150930&lt;/strong&gt; but this update installation wizard never ends. I have tried 3 times. One wizard took more than 24 hrs but it never ends.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am following the upgrade guide (Sitecore 8.1) step by step but still facing this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me on this.&lt;/p&gt;&#xA;" OwnerUserId="1160" LastEditorUserId="2727" LastEditDate="2018-03-03T20:00:55.450" LastActivityDate="2019-08-12T05:00:11.453" Title="Sitecore Update Installation Wizard never ends" Tags="|upgrade|" AnswerCount="6" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2824" PostTypeId="2" ParentId="2822" CreationDate="2016-11-24T07:36:38.560" Score="6" Body="&lt;p&gt;If I understood your question right, you want to handle a particular rendering R1 based on the underlying Sitecore layout selected for the page item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The below screenshot shows how to get the layout information from the current rendering:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BNsjP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BNsjP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a code sample that gets the current layout name:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid layoutId = Sitecore.Mvc.Presentation.RenderingContext.CurrentOrNull.Rendering.LayoutId;&#xA;Item item = Context.Database.GetItem(new ID(layoutId));&#xA;string layoutName = item[&quot;Name&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="773" LastEditorUserId="104" LastEditDate="2016-11-24T09:48:52.227" LastActivityDate="2016-11-24T09:48:52.227" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2825" PostTypeId="2" ParentId="2823" CreationDate="2016-11-24T08:04:24.210" Score="0" Body="&lt;p&gt;If you do not find an error in the &lt;code&gt;Website \ temp \ __ UpgradeHistory&lt;/code&gt;, try first upgrade to a higher version of 8.0.x and after then try an upgrade to version 8.1.x.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have solved the same problem in one of our customers, where we have upgraded to version 8.0-update5 and after then we upgraded to version 8.1.x.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not quite sure, but maybe it will help you too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards, Jiri Semrad&lt;/p&gt;&#xA;" OwnerUserId="1130" LastEditorUserId="5387" LastEditDate="2019-08-12T05:00:11.453" LastActivityDate="2019-08-12T05:00:11.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2826" PostTypeId="2" ParentId="2822" CreationDate="2016-11-24T08:32:00.773" Score="7" Body="&lt;p&gt;You can access the layout in your code by using &lt;code&gt;Sitecore.Context.Item.Visualization.Layout&lt;/code&gt; (example for context item). This will give you a &lt;code&gt;LayoutItem&lt;/code&gt; that gives you access to the name, physical file, ...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-24T08:32:00.773" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2827" PostTypeId="2" ParentId="2772" CreationDate="2016-11-24T09:07:59.953" Score="4" Body="&lt;p&gt;I've &lt;a href=&quot;https://sitecorelogy.com/2016/08/13/tip-increase-the-timeout-before-installing-update-file-in-updateinstallationwizard-page/&quot; rel=&quot;nofollow noreferrer&quot;&gt;found&lt;/a&gt; some different steps if you would like to try&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Use a different browser&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://varunvns.wordpress.com/2012/06/18/some-findings-while-sitecore-version-upgrade/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Always install upgrade package in Firefox rather than IE&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://sitecorebasics.wordpress.com/2012/02/26/browser-timeout-error-while-doing-sitecore-version-upgrade/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Yes, we know you are an engineer and you need logical justification for the same&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://kiranpatils.wordpress.com/2012/02/26/long-running-processes-and-browser-timeout-issue-mainly-internet-explorer/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Don’t worry we have a logical justification for you — posted on my another blog - Long-running processes and browser timeout issue (mainly Internet Explorer&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Modification on Web.config / Sitecore.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In web.config&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Change httpRuntime executionTimeout to 1800 seconds&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;httpRuntime maxRequestLength=&quot;512000&quot; executionTimeout=&quot;18000&quot; enableKernelOutputCache=&quot;false&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Increase ASXAUTH timeout to 180 minutes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;forms name=&quot;.ASPXAUTH&quot; cookieless=&quot;UseCookies&quot; timeout=&quot;180&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Adjust sessionState timeout to 180 minutes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;sessionState mode=&quot;InProc&quot; cookieless=&quot;false&quot; timeout=&quot;180&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In Sitecore.config&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set Authentication.ClientSessionTimeout to 180 minutes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;setting name=&quot;Authentication.ClientSessionTimeout&quot; value=&quot;180&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please don't forget to backup your configuration before doing it and to revert it back after complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://varunvns.wordpress.com/2012/06/18/some-findings-while-sitecore-version-upgrade/&quot; rel=&quot;nofollow noreferrer&quot;&gt;3. Change the values of DefaultSQLTimeout and DataProviderTimeout&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In web.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;setting name=”DefaultSQLTimeout” value=”00:30:00″&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;setting name=”DataProviderTimeout” value=”00:30:00″&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please don't forget to backup your configuration before doing it and to revert it back after complete.&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="393" LastEditDate="2016-11-24T09:20:21.490" LastActivityDate="2016-11-24T09:20:21.490" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2828" PostTypeId="1" CreationDate="2016-11-24T09:18:20.000" Score="2" ViewCount="4291" Body="&lt;p&gt;I am getting values based on formId in MongoDB using the following query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.FormData.find({FormID:new BinData(3,&quot;nMVvjlcHGU68zFBBCeYdsg==&quot;)})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It works in the MongoDB command prompt only. How can I write the query for getting the values from MongoDB based on a form ID in C#?&lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="104" LastEditDate="2016-11-24T10:06:15.060" LastActivityDate="2016-11-24T16:19:11.080" Title="How to get values from MongoDb based on an ID using a C# LINQ query?" Tags="|mongodb|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2829" PostTypeId="2" ParentId="2828" CreationDate="2016-11-24T10:03:18.753" Score="1" Body="&lt;p&gt;I have described how to work with MongoDB in Sitecore in &lt;a href=&quot;https://sitecore.stackexchange.com/a/1447/104&quot;&gt;&lt;strong&gt;this answer&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Querying&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Applying it for your case, the code will be similar to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MongoDbDriver driver = MongoDbDriver.FromConnectionString(&quot;analytics&quot;);&#xA;MongoDbCollection collection = driver[&quot;FormData&quot;];&#xA;&#xA;Guid formId = new Guid(&quot;insert-some-guid-here&quot;);&#xA;&#xA;MongoCursor&amp;lt;FormData&amp;gt; cursor =&#xA;    collection.FindAs&amp;lt;FormData&amp;gt;(&#xA;        Query&amp;lt;FormData&amp;gt;.EQ(_ =&amp;gt; _.FormID, formId));&#xA;&#xA;IList&amp;lt;FormData&amp;gt; results = cursor.ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I'm using a &lt;code&gt;System.Guid&lt;/code&gt; object to define the form ID. You should not use binary IDs in C# code.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Data mapping&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The C# driver can automatically map data to strongly-typed models. I assume that the collection you're using in your question contains WFFM data. If that is the case, all you'll need to do is use WFFM's data class &lt;code&gt;FormData&lt;/code&gt;. It's already registered in the driver, so just reference &lt;code&gt;Sitecore.WFFM.Abstractions.dll&lt;/code&gt; in your project and add the following directive in the beginning of your C# file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.WFFM.Abstractions.Analytics;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-24T16:19:11.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2830" PostTypeId="2" ParentId="2722" CreationDate="2016-11-24T10:07:33.813" Score="0" Body="&lt;p&gt;After a lot or research and getting in contact with Sitecore, I have concluded that EXM doesn't add anything to the list / segment builder, meaning that it's not possible to get the &quot;current email&quot; from the context when the list is being filtered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My goal can be achieved by handling the list and conditions by code. We must set the value for the condition with custom code; Based on our workflow, we'll do it at email creation, but I guess it could be done on email save, to keep it up to date.&#xA;The value could be the actual email (as @ruud suggested), or the values we want to pick from the email, it depends on where we want to put the logic, but I prefer the actual values to keep the condition agnostic of the email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This solution is not as &quot;clean and dynamic&quot; as I would, but&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2016-11-24T10:07:33.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2831" PostTypeId="2" ParentId="2763" CreationDate="2016-11-24T10:43:36.243" Score="5" Body="&lt;p&gt;I created a custom Sitecore command to provide more flexible option for this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked into the Sitecore code related to system:publish command which was associated with this &quot;Site publish&quot; menu item and adjust it to support few options which can be changed using config setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically this will provide you with a Sitecore setting which you can adjust by changing config include file, with options to  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Run the default sitecore publishing operation&lt;/li&gt;&#xA;&lt;li&gt;Display a warning message and ignore the publishing&lt;/li&gt;&#xA;&lt;li&gt;Hide the menu item from Content Editor&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Configuration file looks as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command type=&quot;SitecoreFootsteps.Modules.CustomEditorFullPublishOption.CustomCommand.CustomFullPublish,SitecoreFootsteps.Modules.CustomEditorFullPublishOption&quot; name=&quot;scfootsteps:customfullpublish&quot;/&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!-- values : &#xA;        enabled : works as default sitecore publishing&#xA;        disabled : display warning message and doesn't trigger publishing&#xA;        hidden : hide the full publish option&#xA;        --&amp;gt;&#xA;      &amp;lt;setting name=&quot;SitecoreFootsteps.EditorFullPublishOption&quot; value=&quot;enabled&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, if you set the above setting to &quot;hidden&quot;, Content Editor &quot;Site publish&quot; option will get hidden  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lscDv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lscDv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if you set the setting to &quot;disabled&quot;, Content Editor will display &quot;Site publish&quot; option but will return a warning message once clicked and just ignore the publish operation.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d56j2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d56j2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can take a look at the code from following url&#xA;&lt;a href=&quot;https://github.com/chaturangar/sitecore-footsteps/blob/master/SitecoreFootsteps.Modules/SitecoreFootsteps.Modules.CustomEditorFullPublishOption/CustomCommand/CustomFullPublish.cs&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/chaturangar/sitecore-footsteps/blob/master/SitecoreFootsteps.Modules/SitecoreFootsteps.Modules.CustomEditorFullPublishOption/CustomCommand/CustomFullPublish.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that code, just only adjust few places including hiding and displaying message depending on the custom config setting introduced above.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details from my blog post &lt;a href=&quot;https://sitecorefootsteps.blogspot.com/2016/11/custom-sitecore-command-to-disable-or.html&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorefootsteps.blogspot.com/2016/11/custom-sitecore-command-to-disable-or.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-11-24T10:43:36.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2832" PostTypeId="1" AcceptedAnswerId="2834" CreationDate="2016-11-24T11:12:05.533" Score="3" ViewCount="241" Body="&lt;p&gt;I have some code which stores custom URLs in the IDTable.&#xA;I am experiencing an issue with a site using the Greek language (el-GR) when part of the URL contains Greek characters e.g. &lt;code&gt;χρώμα&lt;/code&gt;. My code contains the following where the variable key contains the string &quot;χρώμα&quot;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IDTableProvider provider = GetProvider();&#xA;var entry = new IDTableEntry(prefix, key, id, parentID, customData);&#xA;provider.Add(entry);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When reading the IDTable entry back out of the table I get &quot;???µa&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked at the code in dotPeek and found that Sitecore is doing a regular insert from the add method, so I tried doing something directly in SSMS:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UPDATE [dbo].[IDTable]&#xA;SET [Key] = 'χρώμα'&#xA;WHERE ID = '{205DBEAC-B679-4CC8-804C-90AF6201EDB2}'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I got the same result, so the issue must be in SQL Server. I noticed that the field type is &lt;code&gt;varchar(255)&lt;/code&gt; rather than nvarchar(255) which I'm assuming is the reason for the problem. Is there any way to work around this limitation, perhaps encoding the string before saving/adding to the IDTable?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="70" LastEditDate="2018-05-03T17:16:14.727" LastActivityDate="2018-05-03T17:16:14.727" Title="Storing URLs with greek characters in the IDTable" Tags="|multilingual|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2833" PostTypeId="1" AcceptedAnswerId="3013" CreationDate="2016-11-24T11:33:02.933" Score="8" ViewCount="4194" Body="&lt;p&gt;I have the following exception appearing in my log files at a rate of 2-3 per second.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Cannot finish Analytics page tracking&#xA;Exception: Sitecore.Analytics.Exceptions.ContactLockException&#xA;Message: Failed to extend contact lease for contact c276821d-a524-419c-8bb5-7a952d1bb319&#xA;Source: Sitecore.Analytics&#xA;   at Sitecore.Analytics.Tracking.ContactManager.SaveAndReleaseContact(Contact contact)&#xA;   at Sitecore.Analytics.Pipelines.EndAnalytics.ReleaseContact.Process(PipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.EndAnalytics.EndAnalyticsPipeline.Run()&#xA;   at Sitecore.Analytics.Pipelines.HttpRequest.EndAnalytics.Process(HttpRequestArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The contact &lt;code&gt;Guid&lt;/code&gt; is the same every time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found a &lt;a href=&quot;https://briancaos.wordpress.com/2015/07/02/sitecore-8-and-tracker-current-session-identify-overriding-expired-contact-session-lock-for-contact-id/&quot;&gt;blog post&lt;/a&gt; that describes a similar error, but we're not calling &lt;code&gt;Tracker&lt;/code&gt; (or any &lt;code&gt;Sitecore.Analytics&lt;/code&gt; code) explicitly in our solution. &lt;/p&gt;&#xA;" OwnerUserId="634" LastEditorUserId="73" LastEditDate="2018-11-27T09:18:21.877" LastActivityDate="2018-11-27T09:18:21.877" Title="Cannot finish Analytics page tracking" Tags="|xdb|logging|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="2834" PostTypeId="2" ParentId="2832" CreationDate="2016-11-24T11:44:14.343" Score="3" Body="&lt;p&gt;The obvious answer would be, to just update the field to NVARCHAR - from an application layer perspective, nothing in Sitecore should really care about this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said; I understand the reasons for not wanting to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your alternative then, becomes to convert in and out of Unicode when adding and getting keys. There are a number of ways to achieve this; I propose BASE64.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Encode&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string Base64Encode(string plainText) {&#xA;  var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText);&#xA;  return System.Convert.ToBase64String(plainTextBytes);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Decode&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string Base64Decode(string base64EncodedData) {&#xA;  var base64EncodedBytes = System.Convert.FromBase64String(base64EncodedData);&#xA;  return System.Text.Encoding.UTF8.GetString(base64EncodedBytes);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you would then need to update your code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IDTableProvider provider = GetProvider();&#xA;var entry = new IDTableEntry(prefix, Base64Encode(key), id, parentID, customData);&#xA;provider.Add(entry);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And also when getting, obviously.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Base64 snippet sourced here: &lt;a href=&quot;https://stackoverflow.com/questions/11743160/how-do-i-encode-and-decode-a-base64-string&quot;&gt;https://stackoverflow.com/questions/11743160/how-do-i-encode-and-decode-a-base64-string&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;edited to add&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could of course write your own version of &lt;code&gt;Sitecore.Data.SqlServer.SqlServerIDTable&lt;/code&gt; and configure it here. I've never done it, and it seems way too much work for what it would be worth.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;IDTable type=&quot;Sitecore.Data.$(database).$(database)IDTable, Sitecore.Kernel&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;param connectionStringName=&quot;master&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;cacheSize&quot;&amp;gt;2500KB&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/IDTable&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would need to override the following methods:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;public override void Add(IDTableEntry entry)&lt;/li&gt;&#xA;&lt;li&gt;public override void Add(IDTableEntry entry)&lt;/li&gt;&#xA;&lt;li&gt;public override IDTableEntry GetID(string prefix, string key)&lt;/li&gt;&#xA;&lt;li&gt;public override IDTableEntry[] GetKeys(string prefix, ID id)&lt;/li&gt;&#xA;&lt;li&gt;public override IDTableEntry[] GetKeys(string prefix)&lt;/li&gt;&#xA;&lt;li&gt;public override void Remove(string prefix, string key)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Doesn't seem worth it, in my opinion.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-24T11:49:51.510" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2835" PostTypeId="1" CreationDate="2016-11-24T12:00:42.820" Score="4" ViewCount="1040" Body="&lt;p&gt;I'm getting lots and lots of &lt;code&gt;System.ComponentModel.Win32Exception&lt;/code&gt;, &lt;code&gt;Data.SqlClient.SqlException&lt;/code&gt; in my production CM sitecore log. Some times when use content editor or experience editor this error is coming in the browser also. After a refresh I am able to continue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 Update 2&#xA;SQL Azure Paas&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the log entries are.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;7088 2016:11:24 11:45:09 ERROR Application error.&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No such host is known.)&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)&#xA;   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.Open()&#xA;   at Sitecore.Data.DataProviders.Sql.DataProviderCommand..ctor(IDbCommand command, DataProviderTransaction transaction, Boolean openConnection)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;&amp;gt;c__DisplayClass4.&amp;lt;CreateCommand&amp;gt;b__3()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func`1 action, Action recover)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;&amp;gt;c__DisplayClass12.&amp;lt;CreateReader&amp;gt;b__10()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func`1 action, Action recover)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateReader(String sql, Object[] parameters)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.GetChildIdsByName(String childName, ID parentId)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.DataProvider.ResolvePath(String itemPath, CallContext context, DataProviderCollection providers)&#xA;   at Sitecore.Nexus.Data.DataCommands.ResolvePathCommand.Execute(String , Database )&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Managers.ItemProvider.GetItem(String itemPath, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;   at Sitecore.ContentTesting.Pipelines.ItemProvider.GetItem.GetItemUnderTestProcessor.Process(GetItemArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.ItemManager.GetItem(String itemPath, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;   at Sitecore.Data.AliasResolver.get_Item(String alias)&#xA;   at Sitecore.Pipelines.HttpRequest.AliasResolver.Process(HttpRequestArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Nexus.Web.HttpModule.(Object , EventArgs )&#xA;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ComponentModel.Win32Exception&#xA;Message: No such host is known&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another One is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;12404 2016:11:24 11:41:53 ERROR Application error.&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)&#xA;   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.Open()&#xA;   at Sitecore.Data.DataProviders.Sql.DataProviderCommand..ctor(IDbCommand command, DataProviderTransaction transaction, Boolean openConnection)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;&amp;gt;c__DisplayClass4.&amp;lt;CreateCommand&amp;gt;b__3()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func`1 action, Action recover)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;&amp;gt;c__DisplayClass12.&amp;lt;CreateReader&amp;gt;b__10()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func`1 action, Action recover)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateReader(String sql, Object[] parameters)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.GetChildIdsByName(String childName, ID parentId)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;   at Sitecore.Data.DataProviders.DataProvider.ResolvePath(String itemPath, CallContext context, DataProviderCollection providers)&#xA;   at Sitecore.Nexus.Data.DataCommands.ResolvePathCommand.Execute(String , Database )&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Managers.ItemProvider.GetItem(String itemPath, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;   at Sitecore.ContentTesting.Pipelines.ItemProvider.GetItem.GetItemUnderTestProcessor.Process(GetItemArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.ItemManager.GetItem(String itemPath, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;   at Sitecore.Data.AliasResolver.get_Item(String alias)&#xA;   at Sitecore.Pipelines.HttpRequest.AliasResolver.Process(HttpRequestArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Nexus.Web.HttpModule.(Object , EventArgs )&#xA;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ComponentModel.Win32Exception&#xA;Message: The network path was not found&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Snap of error from browser(This happens very rarely).&#xA;&lt;a href=&quot;https://i.stack.imgur.com/0SJdH.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0SJdH.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qHwII.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qHwII.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1022" LastEditorUserId="73" LastEditDate="2016-11-24T17:48:25.090" LastActivityDate="2016-12-25T03:22:07.113" Title="Getting lots of System.ComponentModel.Win32Exception in the log" Tags="|sql-database|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2836" PostTypeId="1" AcceptedAnswerId="2838" CreationDate="2016-11-24T13:13:40.270" Score="4" ViewCount="344" Body="&lt;p&gt;I know WFFM can save data internally, but I need to post data to a third party provider, does WFFM support this out of the box, or do you need to extend WFFM? Are there any concerns with WFFM and posting to an external system?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2016-11-24T14:04:14.223" Title="With WFFM can you post to an external url?" Tags="|wffm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2837" PostTypeId="2" ParentId="2794" CreationDate="2016-11-24T13:19:36.997" Score="12" Body="&lt;p&gt;With no obvious way of making Sitecore do our bidding, and me not finding any IIS configuration way of achieving this - I opt for a third solution. Enter a &lt;code&gt;HttpModule&lt;/code&gt; to achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Function is fairly simple. Outgoing, any SC_ANALYTICS_GLOBAL_COOKIE will get removed and our own MY_COOKIE added, with the same value. Ingoing, any incoming MY_COOKIE will result in a SC_ANALYTICS_GLOBAL_COOKIE getting added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Website.CookieRenamer&#xA;{&#xA;    public class CookieRenamerModule : IHttpModule&#xA;    {&#xA;        public void Init(HttpApplication context)&#xA;        {&#xA;            context.BeginRequest += Context_BeginRequest;&#xA;            context.PostRequestHandlerExecute += Context_PostRequestHandlerExecute;&#xA;        }&#xA;&#xA;        public void Dispose()&#xA;        {&#xA;        }&#xA;&#xA;        private void Context_BeginRequest(object sender, EventArgs e)&#xA;        {&#xA;            var application = (HttpApplication) sender;&#xA;            var context = application.Context;&#xA;            var trackingCookie = context.Request.Cookies[&quot;MY_COOKIE&quot;];&#xA;            if (trackingCookie != null)&#xA;                WebUtil.SetCookieValue(&quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;, trackingCookie.Value);&#xA;        }&#xA;&#xA;        private void Context_PostRequestHandlerExecute(object sender, EventArgs e)&#xA;        {&#xA;            var application = (HttpApplication) sender;&#xA;            var context = application.Context;&#xA;            var trackingCookie = context.Response.Cookies[&quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;];&#xA;            if (trackingCookie != null)&#xA;            {&#xA;                WebUtil.SetCookieValue(&quot;MY_COOKIE&quot;, trackingCookie.Value);&#xA;                context.Response.Cookies.Remove(&quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It gets configured in the &lt;code&gt;&amp;lt;system.webServer&amp;gt;&lt;/code&gt; section of &lt;code&gt;Web.config&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add type=&quot;Website.CookieRenamer.CookieRenamerModule, Website&quot; name=&quot;CookieRenamer&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the desired end result comes out like this. Rename cookie as appropriate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/McCxl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/McCxl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-11-24T13:19:36.997" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="2838" PostTypeId="2" ParentId="2836" CreationDate="2016-11-24T13:58:22.460" Score="8" Body="&lt;p&gt;No, Sitecore doesn't provide it out of the box, but it's designed to be extended for this purpose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I usually use save actions to send data to third parties:&#xA;It's pretty simple, as wffm gives you the values of the form, and you just has to implement you logic there.&#xA;You can find out how &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/81/working_with_actions_and_validations/save_actions/create_a_new_save_action&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;&#xA;You need to create a class that implements  ISaveAction. The entry point will be the method Execute.&#xA;Then create an item under System/Modules/Web Forms for Marketers/Settings/Actions/Save Actions and add the class and dll&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Usually, I check:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Can I make it asynchronous? I don't want the users to be waiting for the third party.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Do I need to support errors? In this case, it must be syncronous and handle error messages.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Do I need to interact with the third party with different calls? I try to use it for simple calls, if we have to implement several calls or a lot of logic, I just get the values in the actions and queue it to be processeed somewhere else.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="151" LastEditorUserId="151" LastEditDate="2016-11-24T14:04:14.223" LastActivityDate="2016-11-24T14:04:14.223" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2840" PostTypeId="2" ParentId="2763" CreationDate="2016-11-24T16:50:53.800" Score="1" Body="&lt;p&gt;You can also check the Publishing Restriction module to restrict bulk publish operation, like if you want to restrict the user to publish home node, Media library etc which contains complete tree, then you can use this module..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Publishing_Restriction.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecore_Publishing_Restriction.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2016-11-24T16:50:53.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2841" PostTypeId="2" ParentId="2835" CreationDate="2016-11-24T17:11:05.003" Score="1" Body="&lt;p&gt;I have seen SQL Azure Paas having intermittent issues. Check the database from the portal. If the issues persist, raise a support ticket with Microsoft. The last time it happened to me, the database was able to recover itself before the engineer manage to get any actions but was able to confirm the problem and the fact that SQL Azure switched to another instance automatically when it noticed the issue.&#xA;This point is useful because you can prove (To your boss or client) where the issue was and the fact that it is fixed)&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2016-11-24T17:11:05.003" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2842" PostTypeId="1" AcceptedAnswerId="3008" CreationDate="2016-11-24T18:56:51.320" Score="0" ViewCount="299" Body="&lt;p&gt;I'm currently following the configuration guide for Crm Connect v1.1 and the instructions seem to cover connecting to a web based instance of Dynamics but not an on premise instance via AD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following link runs through setting the connection string&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://integrationsdn.sitecore.net/DynamicsCrmConnect/v1.1/getting-started/add-crm-connection-string.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://integrationsdn.sitecore.net/DynamicsCrmConnect/v1.1/getting-started/add-crm-connection-string.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've set my connection string accordingly and now have&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;connectionString=&quot;url=http://{server_ip}:{port}/XRMServices/2011/Organization.svc;Domain={AD_Domain};user id={username};password={password};authentication type=2&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When testing the connection string, I receive the following error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The request for security token could not be satisfied because authentication failed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The previous documentation on CRM Connect indicated that the authentication type for AD should be 0, but this goes against the recommendation in the docs (and doesn't work anyway)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have an example of a connection string that works for CrmConnect 1.1 when connecting via AD ?&lt;/p&gt;&#xA;" OwnerUserId="118" LastActivityDate="2016-11-30T17:07:01.137" Title="Sitecore CRM Connect 1.1 Issues connecting to MS Dynamics" Tags="|configuration|" AnswerCount="2" CommentCount="3" ClosedDate="2016-11-30T17:10:31.510" ContentLicense="CC BY-SA 3.0" />
  <row Id="2843" PostTypeId="1" AcceptedAnswerId="2844" CreationDate="2016-11-24T21:16:07.060" Score="4" ViewCount="6474" Body="&lt;p&gt;I'm writing an SPE script and am looping over my site nodes. For each site node, I want to check if a particular descendant exists and if not then create it. I have the list of top-level nodes, but cannot figure out how to query each of those nodes for a descendant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I was writing in regular query syntax, I could write something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var sites = database.SelectItems(&quot;fast:/sitecore/content/Master/*[@@templatename='Website']&quot;);&#xA;foreach (var site in sites)&#xA;{&#xA;    var settingsItem = site.Axes.SelectItem(&quot;descendant::*[@@templatename='Settings']&quot;);&#xA;    //now check if SettingsItem is null, if so create etc&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I have in my SPE script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#get the list of top-level site nodes&#xA;$sites = Get-Item master: -Query &quot;fast:/sitecore/content/Master//*[@@templatename='Website']&quot;;&#xA;foreach ($site in $sites)&#xA;{&#xA;    # get descendant of each $site item that inherits from &quot;Settings&quot; template &#xA;    $settings = ???&#xA;    if ($settings == null) {&#xA;        #create settings item etc...&#xA;    }   &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2016-11-24T22:17:26.480" LastActivityDate="2016-11-25T06:14:34.703" Title="Sitecore PowerShell Extensions get descendant of an item using a template" Tags="|powershell-extensions|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2844" PostTypeId="2" ParentId="2843" CreationDate="2016-11-24T21:41:06.543" Score="4" Body="&lt;p&gt;In your code, &lt;code&gt;$site&lt;/code&gt; will be of the type &lt;code&gt;Sitecore.Data.Items.BaseItem&lt;/code&gt;, so it has all the standard API available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can achieve the desired behavior like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$settings =&#xA;    $site.Axes.GetDescendants() |&#xA;        ? { $_.TemplateName -eq &quot;Settings&quot; } |&#xA;        select -first 1&#xA;&#xA;if($settings -eq $null) {&#xA;    # create settings etc&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If performance is important for you, you can use &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/developer/using%20sitecore%20fast%20query/using%20sitecore%20fast%20query001.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Fast Query&lt;/strong&gt;&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$query = &quot;fast:&quot; + $site.Paths.Path + &quot;//*[@@templateid='{your-template-id-here}']&quot;&#xA;&#xA;$settings = Get-Item master: -Query $query | select -first 1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I used the ID of the template instead of its name. This reduces the need for SQL joins and makes the query much faster.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-25T06:14:34.703" LastActivityDate="2016-11-25T06:14:34.703" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2845" PostTypeId="2" ParentId="2843" CreationDate="2016-11-24T21:59:46.543" Score="2" Body="&lt;p&gt;Try this snippet.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# get descendant of each $site item that inherits from &quot;Settings&quot; template &#xA;# $site = gi .&#xA;$settingsBase = &quot;{6669DC16-F106-44B5-96BE-7A31AE82B5B5}&quot;&#xA;$settingItems= Get-ChildItem -Path $site.Paths.Path | Where-Object { &#xA;    [Sitecore.Data.Managers.TemplateManager]::GetTemplate($_).InheritsFrom($settingsBase) &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$settingsBase&lt;/code&gt; is a base settings template &lt;strong&gt;ID&lt;/strong&gt; or base settings template &lt;strong&gt;Name&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be careful. If you have multiple settings it will return an array, so select single (first element) you can use&#xA;&lt;code&gt;$settingItems | select -First 1&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-11-24T22:09:03.710" LastActivityDate="2016-11-24T22:09:03.710" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2846" PostTypeId="2" ParentId="2843" CreationDate="2016-11-24T22:10:38.893" Score="0" Body="&lt;p&gt;Dmytro Shevchenko's answer did what was needed, but the &lt;code&gt;Axes.GetDescendants()&lt;/code&gt; call will, as the name suggests, retrieve all items which is a pretty expensive operation. The code below seems to work ok:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$settings = $site.Axes.SelectSingleItem(&quot;descendant::*[@@templatename='Settings']&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-11-24T22:10:38.893" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2847" PostTypeId="1" AcceptedAnswerId="2848" CreationDate="2016-11-24T22:26:38.150" Score="3" ViewCount="1117" Body="&lt;p&gt;I have really given it a go before I posted here, but I am trying to turn on the Index Viewer for SPE. The gitbook doco says it exists, shows it not being in the menu, but no info on how to put it in the menu. Can someone lead me in the right direction to enable it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/modules/integration-points/toolbox&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/modules/integration-points/toolbox&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2018-05-15T03:03:32.093" LastActivityDate="2018-05-15T03:03:32.093" Title="Turning on Index Viewer for SPE" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="2848" PostTypeId="2" ParentId="2847" CreationDate="2016-11-24T22:33:27.583" Score="6" Body="&lt;p&gt;Reports are not a part of default &lt;strong&gt;SPE&lt;/strong&gt; module package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get it:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;go to marketplace &#xA;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_PowerShell_console.aspx?sc_lang=en&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Powershell Extensions module&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;download: &#xA;&lt;strong&gt;Authorable Reports for SPE 4.2&lt;/strong&gt; (assuming you are using &lt;strong&gt;SPE 4.2&lt;/strong&gt;)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Once you install this package you will see additional button in the &lt;strong&gt;PowerShell Toolbox&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PAXEN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PAXEN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find more info about this feature in this video: &lt;a href=&quot;https://youtu.be/6n7pShsFHLY?t=9m24s&quot; rel=&quot;noreferrer&quot;&gt;Unofficial Sitecore 8 Training Webinar Series - Session 5&lt;/a&gt;, where Michael West describes what you can do with that and why this is not a part of default package.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-11-24T22:41:09.140" LastActivityDate="2016-11-24T22:41:09.140" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2849" PostTypeId="1" CreationDate="2016-11-24T23:03:33.640" Score="0" ViewCount="675" Body="&lt;p&gt;We have a requirement to log all the errors/warnings on to Azure Blog Storage in JSON format (with specific structure) including the sitecore generated ones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will enable us to use any third party log analyzer such as sumo logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had a look at this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1953/sitecore-logging-log4net-log-to-database-as-well-as-text-files&quot;&gt;Sitecore Logging (Log4Net) Log to Database as Well as Text Files&lt;/a&gt; which is specific to SQL Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would be good if you could share the solutions that's been implemented in production as there were performance issues with storing logs on to blog storage a while ago (2 years).&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-26T20:56:23.060" Title="Sitecore Logging into azure blog storage in JSON format" Tags="|azure|logging|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2850" PostTypeId="1" AcceptedAnswerId="2916" CreationDate="2016-11-25T01:53:55.470" Score="4" ViewCount="1886" Body="&lt;p&gt;Context Item- mypage&lt;br&gt;&#xA;-- Presentation&lt;br&gt;&#xA;----Controller Rendering -R1 with datasource value -D1&lt;br&gt;&#xA;-----R1- Personalize Content.D2  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I refer both these data content and get it rendered in given page context? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if queries or require more explanation.&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="73" LastEditDate="2018-04-03T09:40:55.497" LastActivityDate="2018-04-03T09:40:55.497" Title="Is it possible to fetch datasource and personalized content of context item?" Tags="|personalization|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2851" PostTypeId="1" AcceptedAnswerId="2854" CreationDate="2016-11-25T02:13:48.517" Score="1" ViewCount="151" Body="&lt;p&gt;Is there any direction sitecore going to support documentdb as analytics database platform and go away from mongodb?&lt;/p&gt;&#xA;" OwnerUserId="102" LastActivityDate="2016-11-25T04:48:08.760" Title="Documentdb in sitecore future release as xdb and analytics database" Tags="|xdb|" AnswerCount="1" CommentCount="1" ClosedDate="2016-11-25T06:25:21.570" ContentLicense="CC BY-SA 3.0" />
  <row Id="2852" PostTypeId="2" ParentId="2772" CreationDate="2016-11-25T02:23:01.540" Score="0" Body="&lt;p&gt;Sometimes packages fail when they try to install files. Try following&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rename .update file to .zip&lt;br&gt;&#xA;Unzip&lt;br&gt;&#xA;Remove files folder from unzip folder&lt;br&gt;&#xA;Zip again&lt;br&gt;&#xA;Rename the .zip to .update&lt;br&gt;&#xA;Install again&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For files, we can manually copy them once instsll success&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="383" LastEditDate="2016-11-25T13:43:59.507" LastActivityDate="2016-11-25T13:43:59.507" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2853" PostTypeId="1" AcceptedAnswerId="2855" CreationDate="2016-11-25T04:45:55.480" Score="5" ViewCount="944" Body="&lt;p&gt;I'm trying to logout the current visitor/contact from the website. What I want to achieve is to save all the current information into xDB and then let the visitor to continue on the website as Anonymous. What are the steps to achieve this? &lt;/p&gt;&#xA;" OwnerUserId="321" LastActivityDate="2016-11-25T07:54:20.307" Title="Sitecore xDB logout contact and continue browsing as anonymous" Tags="|xdb|session-state|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2854" PostTypeId="2" ParentId="2851" CreationDate="2016-11-25T04:48:08.760" Score="-1" Body="&lt;p&gt;As the relationship between Microsoft and Sitecore gets closer and closer, I think its definitely in the road map. The first person I heard about doing it was Sitecore George. &lt;a href=&quot;https://twitter.com/sitecoregeorge/status/784151818385457152&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://twitter.com/sitecoregeorge/status/784151818385457152&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blogs.perficient.com/microsoft/2016/10/using-azure-documentdb-with-sitecore-xdb/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.perficient.com/microsoft/2016/10/using-azure-documentdb-with-sitecore-xdb/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think its definitely in the future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some bits for you to try&#xA;&lt;a href=&quot;https://github.com/mathieu-benoit/azure-documentdb-for-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mathieu-benoit/azure-documentdb-for-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-25T04:48:08.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2855" PostTypeId="2" ParentId="2853" CreationDate="2016-11-25T06:49:39.300" Score="4" Body="&lt;p&gt;&lt;strong&gt;DISCLAIMER&lt;/strong&gt;: This is possible, yet untested and is a very non-standard way of using xDB. It may potentially lead to strange errors and you'll have no idea where they are coming from or how to fix them. Use at your own risk.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;End the session&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;First, you'll need to end the current session:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Session.Abandon();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will make ASP.NET start from scratch by allocating a new session on the user's next request. The current session will be ended and the current interaction will be saved to the collection DB.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Unlock the contact&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Note that, although the xDB contact will be saved to the xDB after the previous step, it will not be immediately unlocked in the collection database. There will be a certain time period before the xDB shared session expires. If you want that to happen immediately, try using the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid contactId = Tracker.Current.Contact.ContactId;&#xA;&#xA;// ... defer ...&#xA;&#xA;ContactManager contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;contactManager.SaveAndReleaseContactToXdb(contactId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure that you don't execute this code directly in a page request, as xDB's request and session end pipelines will expect the contact to still be present in the shared session. So, to be on the safe side, you'll need to defer the execution of &lt;code&gt;SaveAndReleaseContactToXdb&lt;/code&gt; until ~30 seconds later.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Unset the contact cookie&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Finally, you'll need to make sure that the user is not recognized as the same contact on the next request. The recognition is done based on the cookie &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; that holds, among other values, the ID of the contact. You can invalidate this cookie by setting its expiration date in the past:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpCookie contactCookie = new HttpCookie(&quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;);&#xA;contactCookie.Expires = DateTime.Now.AddDays(-1);&#xA;Response.Cookies.Add(contactCookie);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-25T07:54:20.307" LastActivityDate="2016-11-25T07:54:20.307" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2856" PostTypeId="1" AcceptedAnswerId="2857" CreationDate="2016-11-25T07:10:34.410" Score="2" ViewCount="231" Body="&lt;p&gt;Currently, I have &lt;code&gt;Sitecore 8.0(update 1)&lt;/code&gt; site and I want it to upgrade it to update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am following the 8.0 Update-2 Upgrade Guide. In this guide, there is a step of &lt;code&gt;Apply the configuration file changes described in Sitecore 8.0 rev. 150223 (Update-2) Configuration File Changes document&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Except following this step(making changes in the config file as per Configuration File Changes document) can we just replace config files with the files which we get from &lt;code&gt;Config Files for Sitecore XP 8 Update2.zip&lt;/code&gt; folder from &#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_update2.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1160" LastEditorUserId="5387" LastEditDate="2019-08-12T04:57:33.040" LastActivityDate="2019-08-12T04:57:33.040" Title="Config files change while upgrade sitecore 8.0" Tags="|configuration|upgrade|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2857" PostTypeId="2" ParentId="2856" CreationDate="2016-11-25T07:26:34.353" Score="3" Body="&lt;p&gt;If you haven't made any changes to the default config files (which you shouldn't - patch them with your own configs instead), then yes, that should be fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changes to &lt;code&gt;Web.config&lt;/code&gt; would probably still have to be done manually, as you usually make some changes to that file depending on your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With upgrades I like to just delete the whole &lt;code&gt;App_Config/Include&lt;/code&gt; folder and add all the configs from a clean Sitecore install. This way you also get rid any files that should be delete, if any, and start clean. Then deploy/publish your solution afterwards.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2016-11-25T07:52:24.067" LastActivityDate="2016-11-25T07:52:24.067" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2858" PostTypeId="2" ParentId="2856" CreationDate="2016-11-25T07:26:51.737" Score="1" Body="&lt;p&gt;I would say that totally depends on your solution. Did you ever change anything in one of these current configuration files? The reason why the instructions tell you to modify the local configuration files manually is because of possible changes to them. Sitecore could easily include the web.config or any other configuration file in the automated upgrade process but they definitely don't want to risk to overwrite anything that could harm your solution.&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-11-25T07:26:51.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2859" PostTypeId="1" AcceptedAnswerId="2860" CreationDate="2016-11-25T09:00:28.570" Score="3" ViewCount="2977" Body="&lt;p&gt;How can I register a service with &quot;PerWebRequest&quot; lifetime using the native Sitecore DI? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can imagine I need to play around the &lt;code&gt;Scoped&lt;/code&gt; lifetime and set the default scope to Web Request somehow? Did anyone try to do that?&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="104" LastEditDate="2016-11-25T10:27:51.747" LastActivityDate="2016-11-25T10:27:51.747" Title="Sitecore Dependency Injection - Registering services with the lifetime of a web request" Tags="|dependency-injection|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2860" PostTypeId="2" ParentId="2859" CreationDate="2016-11-25T09:37:16.717" Score="4" Body="&lt;h2&gt;The default scope&lt;/h2&gt;&#xA;&lt;p&gt;With Microsoft DI, the &lt;code&gt;Scoped&lt;/code&gt; lifetime will default to a request scope in ASP.NET.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection#service-lifetimes-and-registration-options&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection#service-lifetimes-and-registration-options&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;h3&gt;Scoped&lt;/h3&gt;&#xA;&lt;p&gt;Scoped lifetime services are created once per request.&lt;/p&gt;&#xA;&lt;p&gt;...&lt;/p&gt;&#xA;&lt;p&gt;Scoped objects are the same within a request, but different across different requests&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Sitecore reinforces this behavior in a custom HTTP module defined in the &lt;em&gt;Web.config&lt;/em&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add type=&amp;quot;Sitecore.DependencyInjection.SitecorePerRequestScopeModule, Sitecore.Kernel&amp;quot; name=&amp;quot;SitecorePerRequestScopeModule&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So the biggest scope in Sitecore is a request scope. That is the scope used by &lt;code&gt;Sitecore.DependencyInjection.ServiceLocator&lt;/code&gt; and by &lt;code&gt;Scoped&lt;/code&gt; services injected into your controllers and processors.&lt;/p&gt;&#xA;&lt;h2&gt;Custom scopes&lt;/h2&gt;&#xA;&lt;p&gt;If you wish, you can manually define smaller scopes:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.DependencyInjection;&#xA;&#xA;// ...&#xA;&#xA;IServiceScopeFactory scopeFactory =&#xA;    ServiceLocator.ServiceProvider.GetService&amp;lt;IServiceScopeFactory&amp;gt;();&#xA;&#xA;using (IServiceScope scope = scopeFactory.CreateScope())&#xA;{&#xA;    // request and use services here using scope.ServiceProvider&#xA;    ISomeContract service = scope.ServiceProvider.GetService&amp;lt;ISomeContract&amp;gt;();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The &lt;code&gt;IDisposable.Dispose()&lt;/code&gt; method ends the scope lifetime. Once &lt;code&gt;Dispose()&lt;/code&gt; is called, any scoped services that have been resolved from &lt;code&gt;scope.ServiceProvider&lt;/code&gt; will be disposed.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-25T10:20:43.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2861" PostTypeId="2" ParentId="2859" CreationDate="2016-11-25T10:00:57.837" Score="0" Body="&lt;p&gt;the answer above is abount correct. I also figured out that Sitecore 8.2 adds default hanhdel for &lt;code&gt;request scope&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add type=&quot;Sitecore.DependencyInjection.SitecorePerRequestScopeModule, Sitecore.Kernel&quot; name=&quot;SitecorePerRequestScopeModule&quot; /&amp;gt;&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also the registration in the container for the scope:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.DependencyInjection.ISitecoreServiceLocatorScope, Sitecore.Kernel&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe replaing that registration we can set our custom scope.&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2016-11-25T10:00:57.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2862" PostTypeId="1" CreationDate="2016-11-25T10:05:11.530" Score="4" ViewCount="592" Body="&lt;p&gt;I'm having trouble finding a good way to determine the Access Rights for a given role. Is there a easy way to get a list of items, that a given role have been granted access to, without iterating the entire content tree?&lt;/p&gt;&#xA;" OwnerUserId="480" LastActivityDate="2016-11-25T13:32:16.853" Title="Determine Access rights for a role" Tags="|security|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2863" PostTypeId="2" ParentId="2862" CreationDate="2016-11-25T10:32:24.893" Score="3" Body="&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_PowerShell_console.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt; comes with a script which will return you all the items with security information on them. You can filter the data to specific path and select one account you are interested in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5Hdao.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5Hdao.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will get the information in form of a report.  You can also have a sneak peak into the script which should be in &lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/Content Reports/Reports/Content Audit/Items with security for an account&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Get-ItemAcl.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;More information about the cmdlets&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case you would like to do this programmatically you can execute SQL query on the database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT * FROM [Sitecore_master].[dbo].[SharedFields] where fieldid = '{DEC8D2D5-E3CF-48B6-A653-8E69E2716641}'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="66" LastEditorUserId="66" LastEditDate="2016-11-25T13:32:16.853" LastActivityDate="2016-11-25T13:32:16.853" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2864" PostTypeId="1" AcceptedAnswerId="2902" CreationDate="2016-11-25T12:17:06.690" Score="8" ViewCount="823" Body="&lt;p&gt;For usability issues I would like to show in the Experience Editor (Sitecore 8.1 rev. 151207) if the User is currently working in the Shared or Final Layout because it is only visible in the Presentation Menu which layout is selected at the moment. Is there a easy way to get the value which is obviously available in the ribbon?&lt;/p&gt;&#xA;" OwnerUserId="1178" LastActivityDate="2017-03-16T16:33:56.400" Title="Show Info is Shared or Final Layout in The Experience Editor on the Site" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2865" PostTypeId="1" AcceptedAnswerId="2870" CreationDate="2016-11-25T12:17:55.577" Score="2" ViewCount="387" Body="&lt;p&gt;The name of my client's company contains an ampersand, they use &lt;code&gt;EXM&lt;/code&gt; for an email campaign. The issue they are having is that the ampersand appears as &lt;code&gt;&amp;amp;amp;&lt;/code&gt;  instead of &amp;amp;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tries to enter the following in the subject line field of EXM:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tom &amp;amp; Jerry  &lt;br /&gt;&#xA;Tom &lt;code&gt;&amp;amp;amp;&lt;/code&gt; Jerry&lt;br /&gt;&#xA;Tom &lt;code&gt;%26&lt;/code&gt; Jerry&lt;br /&gt;&#xA;Tom &lt;code&gt;&amp;amp;amp;#38&lt;/code&gt;  Jerry&lt;br /&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;all render as: Tom &lt;code&gt;&amp;amp;amp;&lt;/code&gt; Jerry&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea?&lt;/p&gt;&#xA;" OwnerUserId="870" LastEditorUserId="5387" LastEditDate="2019-08-12T04:56:06.697" LastActivityDate="2019-08-12T04:56:06.697" Title="Ampersand in email subject line appears encoded" Tags="|exm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="2866" PostTypeId="1" AcceptedAnswerId="2868" CreationDate="2016-11-25T12:38:49.050" Score="1" ViewCount="787" Body="&lt;p&gt;I have a script which loops over different sites in a Sitecore instance. For each site some tasks are done, such as creating and moving items. How can I set the language context for these operations based on the language set in the config for the current site (if this is not feasible, I would settle for using the language of the current item).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$sites = Get-Item master: -Query &quot;fast:/sitecore/content/Master//*[@@templatename='Website']&quot;;&#xA;foreach ($site in $sites) {&#xA;    #determine the correct language of the $site item based off the sites configuration setting&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-11-25T13:19:57.413" Title="Sitecore PowerShell Extensions switch context language based on site context language" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2867" PostTypeId="1" AcceptedAnswerId="2873" CreationDate="2016-11-25T13:14:43.767" Score="0" ViewCount="128" Body="&lt;p&gt;We are using MSSQL db for all the databases(core,master,web) in sitecore, but I can see the ConnectionStringOracle.Config is enabled by default in App_config folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore 8.1 Update-2&#xA;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;connectionStrings&amp;gt;&#xA;  &amp;lt;!-- &#xA;    Sitecore connection strings.&#xA;    All database connections for Sitecore are configured here.&#xA;  --&amp;gt;&#xA;  &amp;lt;add name=&quot;core&quot; connectionString=&quot;user id=sccore;password=sccore;Data Source=XE&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;master&quot; connectionString=&quot;user id=scmaster;password=scmaster;Data Source=XE&quot;/&amp;gt;&#xA;  &amp;lt;add name=&quot;web&quot; connectionString=&quot;user id=scweb;password=scweb;Data Source=XE&quot;/&amp;gt;&#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there any purpose for this and if we leave this like this will there be any issue?&lt;/p&gt;&#xA;" OwnerUserId="1022" LastActivityDate="2016-11-25T14:14:34.213" Title="Why ConnectionStringOracle.Config Enable by default in sitecore" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2868" PostTypeId="2" ParentId="2866" CreationDate="2016-11-25T13:14:52.670" Score="3" Body="&lt;p&gt;If all of your sites point to different items, here's what you can do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$sitePath = $site.Paths.FullPath.Trim().ToLower()&#xA;&#xA;$siteInfo =&#xA;    [Sitecore.Configuration.Factory]::GetSiteInfoList() |&#xA;        ? { ($_.RootPath.Length -gt 0) -and $sitePath -eq ($_.RootPath + $_.StartItem).ToLower() } |&#xA;        select -first 1&#xA;&#xA;if($siteInfo -ne $null) {&#xA;    $language = $siteInfo.Language&#xA;    # ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If your &lt;code&gt;$site&lt;/code&gt; items can have multiple site definitions bound to them, then you have to use the language of the item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$language = $site.Language.Name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-25T13:19:57.413" LastActivityDate="2016-11-25T13:19:57.413" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2869" PostTypeId="2" ParentId="2867" CreationDate="2016-11-25T13:17:58.197" Score="2" Body="&lt;p&gt;Yes, but by default Sitecore targets specifically the general ConnectionStrings.config file. Review your web.config file to be sure.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;connectionStrings configSource=&quot;App_Config\ConnectionStrings.config&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-11-25T13:17:58.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2870" PostTypeId="2" ParentId="2865" CreationDate="2016-11-25T13:41:05.593" Score="1" Body="&lt;p&gt;This is a known issue and it was fixed in version 3.3 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check the release note of EXM 3.3 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Email%20Experience%20Manager/Email%20Experience%20Manager%2033/Email%20Experience%20Manager%2033%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email%20Experience%20Manager/Email%20Experience%20Manager%2033/Email%20Experience%20Manager%2033%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tokens are encoded in email subject. (75647)&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2016-11-26T10:23:50.843" LastActivityDate="2016-11-26T10:23:50.843" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2871" PostTypeId="2" ParentId="820" CreationDate="2016-11-25T13:56:19.177" Score="3" Body="&lt;p&gt;In the SQL based versions of Sitecore (i.e. 7.2 and lower) the Dropout reports were available from the WFFM Form Reports section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IZlOI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IZlOI.png&quot; alt=&quot;WFFM Reports&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately on the xDB/Mongo verions of Sitecore (7.5 onwards) this report does not exist and there is no out of the box solution available to view this data, even in the latest version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The form dropout data &lt;strong&gt;is captured&lt;/strong&gt;, assuming you have &lt;code&gt;Enable Form Dropout Tracking&lt;/code&gt; checked then you can see in the Network tab of your browser the data is being recorded when a user moves away from a field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jmhHH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jmhHH.png&quot; alt=&quot;WFFM Dropout AJAX Calls&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The data is saved to MongoDB but there are no reports to retrieve this information back unfortunately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if there any APIs available to retrieve this data, but you would write some queries over Mongo but you would have to create something custom (also also worry about bridging field information from Sitecore).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only other alternative is to contact Sitecore Support and request this feature is added back in.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-11-25T13:56:19.177" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2872" PostTypeId="1" CreationDate="2016-11-25T14:10:51.887" Score="3" ViewCount="1875" Body="&lt;p&gt;I am accessing Sitecore from staging and configured a schedule task.&#xA;Staging has the following databases configured:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;master, web --&amp;gt; for staging&#xA;live --&amp;gt; db for cd1/cd2 server.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The scheduled task is working on staging but not on cd1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I solve this?&lt;/p&gt;&#xA;" OwnerUserId="1187" LastEditorUserId="104" LastEditDate="2016-11-25T14:18:54.987" LastActivityDate="2016-11-25T14:18:54.987" Title="Sitecore Scheduled Task not working on a CD server" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2873" PostTypeId="2" ParentId="2867" CreationDate="2016-11-25T14:14:34.213" Score="5" Body="&lt;p&gt;The purpose of this file is allow clients who are operating on Oracle to have a default installation file for connecting to these databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unlike Sitecore 'Include' patch files, it does not need to be disabled/enabled because it's use is driven by the reference in the Web.config file (as mentioned by @Dražen Janjiček). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There will be no issue if you leave this file in your App_Config folder, unless you update the Web.config file to point at it. &lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-11-25T14:14:34.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2874" PostTypeId="2" ParentId="2872" CreationDate="2016-11-25T14:15:33.830" Score="7" Body="&lt;p&gt;This is a normal behaviour in Sitecore, you need to add agents for schedule task on CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add in your config files : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;&amp;lt;!-- adjust the value according related infrastructure --&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;     &amp;lt;scheduling&amp;gt;&#xA;        &amp;lt;agent name=&quot;Web_Database_Agent&quot; type=&quot;Sitecore.Tasks.DatabaseAgent&quot; method=&quot;Run&quot; interval=&quot;24:00:00&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;schedule root&quot;&amp;gt;/sitecore/system/tasks/schedules&amp;lt;/param&amp;gt;&#xA;            &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;        &amp;lt;/agent&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-11-25T14:15:33.830" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2875" PostTypeId="2" ParentId="2681" CreationDate="2016-11-25T15:04:02.950" Score="3" Body="&lt;p&gt;I do not know of any version of Sitecore that supports Dependency Injection for Rules out of the box.  Using dotPeek against 8.2 Sitecore.Kernel.dll it looks like you can override the default RuleFactory but you cannot in earlier versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My suggestion would be to use the Service Locator pattern and overload the constructor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class AccountHasProduct&amp;lt;T&amp;gt; : WhenCondition&amp;lt;T&amp;gt;&#xA;    where T : RuleContext&#xA; {&#xA;    [NotNull]&#xA;    private readonly ICustomerContextFactory _customerContextFactory;&#xA;&#xA;    public AccountHasProduct()&#xA;        : this(null)&#xA;    {}&#xA;&#xA;    public AccountHasProduct([CanBeNull] ICustomerContextFactory customerContextFactory)&#xA;    {&#xA;        _customerContextFactory = customerContextFactory ?? Ioc.Resolve&amp;lt;ICustomerContextFactory&amp;gt;();&#xA;    }&#xA;    ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;** Important note: Rule objects are NOT transient, meaning they are pulled across requests so whatever you inject must NOT have user/session/request specific state.&lt;/p&gt;&#xA;" OwnerUserId="601" LastActivityDate="2016-11-25T15:04:02.950" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2876" PostTypeId="1" AcceptedAnswerId="2884" CreationDate="2016-11-25T19:10:41.833" Score="2" ViewCount="1055" Body="&lt;p&gt;When duplicating an item in the content tree, a modal box appears to define the &lt;code&gt;Name&lt;/code&gt; of the new item. From my experience, the text typed in this box is set as the &lt;code&gt;Name&lt;/code&gt; of the new item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I've recently saw instances identical to mine where the duplicate item had the same text as the original item in the content tree. The only difference being the text between brackets (&lt;code&gt;[]&lt;/code&gt;) in the right panel. This is confusing to users as they are not sure which item to choose from the content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The setup I am using is &lt;code&gt;Sitecore 8.0 Update-5 + Launch Sitecore 8012 WebForms&lt;/code&gt;. This is the same setup on which I've seen the display name behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can explain this behavior of the duplicate item command?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT/solution:&lt;/strong&gt; I was confused between the &lt;code&gt;Name&lt;/code&gt; and the &lt;code&gt;Display Name&lt;/code&gt; at the time of asking the question. I edited the original question for clarity. It included the following sentence originally:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I've recently saw instances identical to mine where the name of the item stayed the same as the original item and the display name was set to what was entered in the dialog box.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It turns out the &lt;code&gt;Name&lt;/code&gt; was really set to what the user entered in the dialog box. The name of the item is displayed between brackets in the right panel when selecting an item from the content tree. What was identical between the 2 items is really the &lt;code&gt;Display Name&lt;/code&gt;, displayed in the content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see in the accepted answer, the reason for the different behavior is that I did not have a &lt;code&gt;Display Name&lt;/code&gt; on the original item but the other people had one.&lt;/p&gt;&#xA;" OwnerUserId="171" LastEditorUserId="5387" LastEditDate="2019-08-12T04:47:08.377" LastActivityDate="2019-08-12T04:47:08.377" Title="Duplicating an item sets the name but display name stays the same" Tags="|content-editor|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="2877" PostTypeId="2" ParentId="2876" CreationDate="2016-11-25T19:27:04.070" Score="2" Body="&lt;p&gt;You can check it on item:copied and fix it. You can change the checks to meet your goals.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemEventHandler&#xA;{&#xA;    protected void SetNameToDisplayName(object sender, EventArgs args)&#xA;    {&#xA;        var copiedItem = (Item)Event.ExtractParameter(args, 1);&#xA;&#xA;        if (copiedItem.Database.Name != &quot;master&quot;&#xA;            || !copiedItem.Paths.Path.StartsWith(&quot;/sitecore/content/&quot;)&#xA;            || copiedItem.Appearance.DisplayName == copiedItem.Name)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        copiedItem.Editing.BeginEdit();&#xA;        try&#xA;        {&#xA;            copiedItem.Appearance.DisplayName = copiedItem.Name;&#xA;        }&#xA;        finally&#xA;        {&#xA;            copiedItem.Editing.EndEdit();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;item:copied&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Foundation.Presentation.EventHandler.ItemEventHandler, Sitecore.Foundation.Presentation&quot; method=&quot;SetNameToDisplayName&quot;&amp;gt;&#xA;          &amp;lt;patch:insert/&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2016-11-25T19:57:50.447" LastActivityDate="2016-11-25T19:57:50.447" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2878" PostTypeId="2" ParentId="2772" CreationDate="2016-11-25T23:10:37.413" Score="4" Body="&lt;p&gt;Typically when I run a Sitecore upgrade I'll attach the databases to a clean install of the old version and run the update package on that clean install. That will get the new content into your databases, then you can copy the new files in whatever way is most convenient for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This doesn't solve the problem directly but it's a decent workaround. Like I mentioned, this is how I usually execute upgrades. It keeps your custom stuff from interfering and generally goes faster.&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-11-25T23:10:37.413" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2879" PostTypeId="1" AcceptedAnswerId="2881" CreationDate="2016-11-25T23:22:06.750" Score="8" ViewCount="8272" Body="&lt;p&gt;I'm trying to find the correct approach to begin unit testing the piece of code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NameUtility&#xA;{&#xA;    private readonly string _folder = Settings.GetSetting(&quot;FolderId&quot;);&#xA;    public ISitecoreDatabase Database {get;set;} = new SitecoreDatabase();&#xA;&#xA;    public virtual Path FindById(long Id)&#xA;    {&#xA;        var folder = Database.GetItem(new ID(_folder));&#xA;        var items = folder.GetChildren().Select(child =&amp;gt; child.GlassCast&amp;lt;Path&amp;gt;());&#xA;        return paths.SingleOrDefault(path =&amp;gt; path.PathId == Id);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm quite new to unit testing so I chose the simplest utility I could find in order to test. This is the start of what my unit test looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[TestFixture]&#xA;public class NameUtilityTests&#xA;{&#xA;    [Test]&#xA;    public void FindById_WithId_ReturnsPath()&#xA;    {&#xA;        var nameUtility = new NameUtility();&#xA;        nameUtility.Database = new FakeSitecoreDatabase();&#xA;&#xA;        var path = nameUtility.FindById(1);&#xA;&#xA;        Assert.AreEqual(1, path.PathId);&#xA;    }&#xA;&#xA;    internal class FakeSitecoreDatabase : ISitecoreDatabase&#xA;    {&#xA;        public Item GetItem(ID id)&#xA;        {&#xA;            throw new System.NotImplementedException();&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;//Code below is from the Code Under Test assembly.&#xA;public interface ISitecoreDatabase&#xA;{&#xA;    Item GetItem(ID id);&#xA;}&#xA;&#xA;public class SitecoreDatabase : ISitecoreDatabase&#xA;{&#xA;    private readonly Database _database;&#xA;&#xA;    public SitecoreDatabase()&#xA;    {&#xA;        _database = Sitecore.Context.Database;&#xA;    }&#xA;&#xA;    public SitecoreDatabase(Database database)&#xA;    {&#xA;        _database = database;&#xA;    }&#xA;&#xA;    public Item GetItem(ID id)&#xA;    {&#xA;        return _database.GetItem(id);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I have a couple of questions and I'll explain my thought process first. &lt;code&gt;FindById&lt;/code&gt; currently depends on &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; which wouldn't work for Unit Tests so we've used SitecoreFakeDb instead. I haven't implemented the GetItem method, but the idea would be that I setup an instance of SitecoreFakeDb with the item(s) and then the CUT should be able to fetch the item by id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) However to test this code I need to be able to substitute Sitecore.Context.Database with an instance of the FakeDb. For this, I've created &lt;code&gt;ISitecoreDatabase&lt;/code&gt; and then it has methods like &lt;code&gt;GetItem()&lt;/code&gt; and all its overloads that the default (actual) Sitecore db would implement as well as the FakeDb. Wouldn't this begin to get out of control as far as how many methods that interface would have?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) When asserting against the final object, in this case I'm asserting that the object returned has a field with the same Id as what I expect. Is this a valid approach, or is the better approach to compare the entire actual object with an expected object?&lt;/p&gt;&#xA;" OwnerUserId="1188" LastActivityDate="2016-11-26T08:13:01.750" Title="How to get started with Sitecore Unit Testing with SitecoreFakeDb" Tags="|unit-testing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2880" PostTypeId="1" AcceptedAnswerId="2883" CreationDate="2016-11-26T00:14:19.923" Score="3" ViewCount="1019" Body="&lt;p&gt;I am developing a dynamic calendar application within a Sitecore instance, and the User case would be..&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Creation of Event (from and Event Template),&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Choose multiple dates, and multiple sessions on that date from within the creation of that Event item.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My question is simply...&#xA;  Using an Event Template, is it even possible to create multiple and even dynamic fields for the Content Author to choose from ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(I am mostly looking to learn if Sitecore has the capacity and if so how)&lt;/p&gt;&#xA;" OwnerUserId="1191" LastActivityDate="2016-11-26T08:35:52.367" Title="Sitecore 8 is it possible to have multiple/dynamic fields in one template" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2881" PostTypeId="2" ParentId="2879" CreationDate="2016-11-26T01:39:08.163" Score="13" Body="&lt;h2&gt;Answers&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1)&lt;/strong&gt; Yes, that will get out of control.&#xA;You are actually implementing your own implementation for faking the Sitecore database. There already exists a solution for this: &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/sergeyshushlyapin/Sitecore.FakeDb&lt;/a&gt;.&lt;br&gt;&#xA;I really recommend using this.&#xA;From the github page:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This is the unit testing framework for Sitecore that enables creation and manipulation of Sitecore content in memory. It is designed to minimize efforts for the test content initialization keeping focus on the minimal test data rather than comprehensive content tree representation.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;edit: added extra information on how FakeDb works:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;FakeDb substitutes Sitecore providers with fake &quot;in-memory&quot; providers &lt;strong&gt;to avoid calls to database or configuration&lt;/strong&gt;. The providers do not replicate real Sitecore behavior, but are used mainly as stubs with minimal logic. They can be replaced with mocks in unit tests using the provider switchers.&lt;br&gt;&#xA;So you can just write your code like you want it to. And don't have to implement an interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2)&lt;/strong&gt; Your assert is ok. I don't know what type PathId is. If it is an int then its definitely ok.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Important note&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You are using a Setting called &lt;code&gt;FolderId&lt;/code&gt;. For your unit tests to work you must either:&lt;br&gt;&#xA;1) add your configuration to the App_Config folder of your unit test project which could be a hassle to maintain configs in your actual website project and your unit test project.&lt;br&gt;&#xA;2) mock the setting as shown in the code example below.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;General tips:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When Unit Testing for Sitecore, I would recommend starting with these packages to make your life a little bit easier:  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;FluentAssertions (.NET extension methods)&lt;/li&gt;&#xA;&lt;li&gt;XUnit (Unit testing tool)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.FakeDB. Please note that when using FakeDB, you'll need to apply a license.xml file: &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Installation&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Installation&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The listed packages can all be installed through Nuget.&lt;br&gt;&#xA;Also, instead of referencing Sitecore dll files directly, you could use Nuget to fetch the package with the depenencies you need.&lt;br&gt;&#xA;You can read more about this on the Sitecore Documentation site: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I create my unit tests with the AAA pattern:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Arrange: setup, initialize everything&lt;/li&gt;&#xA;&lt;li&gt;Act: invoke method(s)&lt;/li&gt;&#xA;&lt;li&gt;Assert: validate result&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Example code&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NameUtility&#xA;{&#xA;    private readonly string _folder = Settings.GetSetting(&quot;FolderId&quot;);&#xA;&#xA;    public virtual Path FindById(long id)&#xA;    {&#xA;        var folder = Database.GetItem(new ID(_folder));&#xA;        var paths = folder.GetChildren().Select(child =&amp;gt; child.GlassCast&amp;lt;Path&amp;gt;());&#xA;        return paths.SingleOrDefault(path =&amp;gt; path.PathId == id);&#xA;    }&#xA;}&#xA;&#xA;[TestClass]&#xA;public class NameUtilityTests&#xA;{&#xA;    //XUnit Fact attribute&#xA;    [Fact]&#xA;    public void FindById_WithId_ReturnsPath()&#xA;    {&#xA;        //Create your database for the test with the Sitecore.FakeDb.Db class&#xA;        using (var db = new Db&#xA;        {&#xA;            //Arrange&#xA;            //create an item with a name (and optionally an id and template id)&#xA;            new DbItem(&quot;FolderName&quot;)&#xA;            { &#xA;                //you can set specific fields for the item, all values are strings.&#xA;                //You'll need to set the PathId here!&#xA;                { &quot;Title&quot;, &quot;Testing the Id&quot; },&#xA;                { &quot;PathId&quot;, &quot;123456789&quot; }&#xA;            }&#xA;        })&#xA;        {&#xA;            //Setup configuration&#xA;            db.Configuration.Settings[&quot;FolderId&quot;] = Guid.NewGuid().ToString();&#xA;            //Create instance&#xA;            var sut = new NameUtility();&#xA;            //Act&#xA;            sut.FindById(123456789);&#xA;            //Assert&#xA;            Xunit.Assert.Equal(sut.PathId, 123456789);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Possible additional improvements&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;rename method to FindByPathId: you are searching by PathId, not just an id&lt;/li&gt;&#xA;&lt;li&gt;folder variable could be null and your code will fail when calling GetChildren. You can write a unit test for this.&lt;/li&gt;&#xA;&lt;li&gt;SingleOrDefault could return null. You can write a unit test for this.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="483" LastEditDate="2016-11-26T08:13:01.750" LastActivityDate="2016-11-26T08:13:01.750" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2883" PostTypeId="2" ParentId="2880" CreationDate="2016-11-26T08:35:52.367" Score="5" Body="&lt;p&gt;In Sitecore, the best fit for your requirements would be to use item hierarchies.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Define 3 data templates: Event, Event Date and Event Session.&lt;/li&gt;&#xA;&lt;li&gt;Restrict what can be inserted under items of each template. Under an Event, you'd only want to insert Event Date items. Under an Even Date, only Event Session items. This can be restricted using Insert Options on each template's Standard Values.&lt;/li&gt;&#xA;&lt;li&gt;The Event rendering you'll create should take an Event item as its data source. You'll be able to traverse the item hierarchy and display the event, it's dates, and all sessions. You can also make all of their fields editable in the Experience Editor.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;As a result, content authors will be able to create events with multiple dates, with multiple sessions in each date. &lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-26T08:35:52.367" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2884" PostTypeId="2" ParentId="2876" CreationDate="2016-11-26T16:06:30.200" Score="2" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;However, I've recently saw instances identical to mine where the name&#xA;  of the item stayed the same as the original item and the display name&#xA;  was set to what was entered in the dialog box. This is confusing to&#xA;  users as they then have 2 items with the same name.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;from the above text you have mention in your question, what I understand was you are expecting Content Editor Tree should display the Name of the item. But, by default it is displaying the &quot;Display Name&quot; of the item if it exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for example, when I enter a display name to my home item, it will look like below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0YFt9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0YFt9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when a duplicate item is created, the Name entry box value will be used as Item Name of new Item. &quot;Display Name&quot; of the new item will remain same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RecWH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RecWH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that the issue you are taking about ??&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2016-11-26T16:06:30.200" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2885" PostTypeId="2" ParentId="2849" CreationDate="2016-11-26T20:56:23.060" Score="3" Body="&lt;p&gt;You can try using the following project with your Sitecore solution.&#xA;&lt;a href=&quot;https://github.com/olegburov/Sitecore-Azure-Diagnostics/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/olegburov/Sitecore-Azure-Diagnostics/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It adds a custom logger to log4net, which writes Sitecore's diagnostic data into &lt;a href=&quot;https://azure.microsoft.com/en-us/services/storage/blobs/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Blob Storage&lt;/a&gt; using &lt;a href=&quot;https://blogs.msdn.microsoft.com/windowsazurestorage/2015/04/13/introducing-azure-storage-append-blob/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Append Blob&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option is to upgrade to the latest and greatest Sitecore XP 8.2 Update-1, where a new logger powered by &lt;a href=&quot;https://azure.microsoft.com/en-us/services/application-insights/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Application Insights&lt;/a&gt; comes out of the box.&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-11-26T20:56:23.060" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2886" PostTypeId="2" ParentId="2294" CreationDate="2016-11-26T22:11:09.383" Score="3" Body="&lt;p&gt;You have been getting some great advice. I will completely agree that the recommendations are not the end all, be all. I have several friends that are MVPs. Their recommendation to me has been to not focus on the status but to focus on strong deliverables, speaking engagements and community.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do have a few more words of encouragement for you. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that the closest Sitecore User Group to you is Orlando. I encourage you to start a local Sitecore User Group in Palm Beach. To start a User Group, contact Sitecore, they will get you on your way. If you need some help with it, reach out to me. I can get you on your way with it. I can also give you some help with general User Group stuff as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other thing would be is to speak at local user groups, even if they are not Sitecore. User Groups are always looking for speakers. You can be creative with how you integrate Sitecore with a non-Sitecore group. For example, a did a talk on Full Stack development, and discussed Full Stack development and how it affects Sitecore. &lt;/p&gt;&#xA;" OwnerUserId="1192" LastActivityDate="2016-11-26T22:11:09.383" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2888" PostTypeId="2" ParentId="2336" CreationDate="2016-11-26T23:30:35.783" Score="3" Body="&lt;p&gt;I just wanted to add this for how I solve the security issues @guschi had. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Download &lt;a href=&quot;https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Process Monitor&lt;/a&gt; from the Microsoft web site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you get it open, add the rule &lt;code&gt;Result&lt;/code&gt; - &lt;code&gt;Contains&lt;/code&gt; - &lt;code&gt;access&lt;/code&gt;. This will only capture access denied hits. Eliminating all the other chatter from the drives. Be sure to click the Add button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ASmQO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ASmQO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then with the app open, uncheck the boxes for registry, network and services. This will leave only file system turned on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AstYv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AstYv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when you try and run your index, you should see the access denieds piling up. If you open one, on the second tab you can see the user and the service that is causing the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ghbin.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ghbin.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-26T23:30:35.783" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2889" PostTypeId="2" ParentId="2811" CreationDate="2016-11-27T01:49:03.400" Score="4" Body="&lt;p&gt;Here is a low complexity way of checking using &lt;strong&gt;Sitecore PowerShell Extensions&lt;/strong&gt;. The solution is not very polished, but gets the job done.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;First I wrote a script to check inheritance and saved it to a script library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;X-Demo/Content Editor/Context Menu/Check Inheritance&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Close-Window&#xA;function Get-SiteConfiguration {&#xA;    param(&#xA;        [string]$Name&#xA;    )&#xA;&#xA;    [Sitecore.Sites.SiteManager]::GetSite($Name).Properties&#xA;}&#xA;&#xA;function Get-SiteName {&#xA;    param(&#xA;        [item]$Item&#xA;    )&#xA;&#xA;    $itemName = $Item.Name&#xA;    [Sitecore.Configuration.Factory]::GetSiteInfoList() | &#xA;        Where-Object { $_.RootPath -eq &quot;/sitecore/content&quot; -and $_.StartItem -eq &quot;/$($itemName)&quot; }&#xA;}&#xA;&#xA;$sites = Get-SiteName -Item (Get-Item -Path .)&#xA;$inheritedName = $null&#xA;$siteName = $null&#xA;foreach($site in $sites) {&#xA;    $siteName = $site.Name&#xA;    $siteConfig = Get-SiteConfiguration -Name $site.Name&#xA;    foreach($setting in $siteConfig) {&#xA;        if($setting.Key -eq &quot;inherits&quot;) {&#xA;            $inheritedName = $setting.Value&#xA;            break&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;if($inheritedName) {&#xA;    Show-Alert &quot;The item has a parent site of '$($siteName)' which inherits from '$($inheritedName)'.&quot;&#xA;} else {&#xA;    Show-Alert &quot;The item has a parent site of '$($siteName)'.&quot;    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Second I added a simple rule so the check only works when you select the home item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SJPSQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SJPSQ.png&quot; alt=&quot;Script rule&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when I see this context menu script and alert message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W7iGx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W7iGx.png&quot; alt=&quot;Context Menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Checking&lt;/strong&gt; &lt;em&gt;/homeinherited&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7XBQS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7XBQS.png&quot; alt=&quot;Inherited site&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Checking&lt;/strong&gt; &lt;em&gt;/home&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/juMqx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/juMqx.png&quot; alt=&quot;Non-inherited site&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perhaps not the most elegant solution, but for zero downtime and in the time it took to eat a bowl of cereal it gets the job done; looking for an icon may have taken all night though. This solution is essentially what Dmytro suggested but without the need to deploy compiled code on the server.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-11-27T01:49:03.400" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2890" PostTypeId="1" CreationDate="2016-11-27T09:48:31.410" Score="2" ViewCount="6254" Body="&lt;p&gt;I am receiving the following error using Glass Mapper&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Collections.Generic.KeyNotFoundException : The given key was not present in the dictionary.&#xA;   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)&#xA;   at Glass.Mapper.AbstractService..ctor(String contextName)&#xA;   at Glass.Mapper.Sc.SitecoreService..ctor(Database database, String contextName)&#xA;   at Glass.Mapper.Sc.ItemExtensions.GlassCast[T](Item item, Boolean isLazy, Boolean inferType)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here are the details of my configuration. I'm using a unit test project that has the same Glass Mapper version installed as the project it tests. My &lt;code&gt;GlassMapperScCustom.cs&lt;/code&gt; in the Unit Test Project is below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public static class GlassMapperScCustom&#xA;    {&#xA;        public static void CastleConfig(IWindsorContainer container)&#xA;        {&#xA;            var config = new Config();&#xA;&#xA;            container.Install(new SitecoreInstaller(config));&#xA;        }&#xA;&#xA;        public static IConfigurationLoader[] GlassLoaders()&#xA;        {&#xA;            return new IConfigurationLoader[] { };&#xA;        }&#xA;        public static void PostLoad()&#xA;        {&#xA;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally, I have &lt;code&gt;GlassMapper.Sc.Mvc.config&lt;/code&gt; in the &lt;code&gt;App_Config&lt;/code&gt; folder and that is the only one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The exception above occurs when the Code Under Test (CUT) calls the following line:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var paths = pathFolder.GetChildren().Select(child =&amp;gt; child.GlassCast&amp;lt;Path&amp;gt;());&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on what I've searched online, I need to be able to set the SitecoreContext in order for GlassMapper to work correctly. How and where would I do that; in the unit test project or the CUT project? Or is this some other issue entirely?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the Glass Mapper versions:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;Glass.Mapper&quot; version=&quot;3.0.13.25&quot; targetFramework=&quot;net461&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Glass.Mapper.Sc&quot; version=&quot;3.2.2.45&quot; targetFramework=&quot;net461&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Glass.Mapper.Sc.CastleWindsor&quot; version=&quot;3.2.1.23&quot; targetFramework=&quot;net461&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Glass.Mapper.Sc.Mvc-5&quot; version=&quot;3.2.1.42&quot; targetFramework=&quot;net461&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1188" LastEditorUserId="5387" LastEditDate="2019-08-12T04:43:56.983" LastActivityDate="2019-08-12T04:43:56.983" Title="Glass Mapper set Sitecore Context" Tags="|glass-mapper|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="2891" PostTypeId="1" CreationDate="2016-11-27T13:25:57.057" Score="8" ViewCount="8036" Body="&lt;p&gt;Trying to set datasource for a treelist field in Sitecore. Need to set two different folders as path. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DataSource=/sitecore/content/home/folder1|/sitecore/content/home/folder2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It does not work, it sets home node as starting path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also tried IncludeTemplatesForSelection=template1,template2&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Datasource=/sitecore/content/home&amp;amp;IncludeTemplatesForSelection=template1,template2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1193" LastActivityDate="2023-05-07T05:15:19.417" Title="Set sitecore treelist datasource from multiple paths" Tags="|datasource|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2892" PostTypeId="2" ParentId="2811" CreationDate="2016-11-27T13:45:24.050" Score="3" Body="&lt;p&gt;You can check the site properties:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var site = Sitecore.Context.Site;&#xA;// or site = Sitecore.Configuration.Factory.GetSite(&quot;mywebsite&quot;);&#xA;&#xA;string inherits = site.Properties[&quot;inherits&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the site has been configured with the &lt;code&gt;inherits&lt;/code&gt; property then the return value will be the name of the website set, otherwise the value will be null.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-11-27T13:45:24.050" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2893" PostTypeId="2" ParentId="2890" CreationDate="2016-11-27T13:59:33.293" Score="4" Body="&lt;h2&gt;Unit testing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your question says that your tests are unit tests, so first I'll talk about a proper unit testing approach. Such tests should be run in isolation, meaning that your module shouldn't rely on data coming from a Sitecore database. You should provide mocks for all data consumed by code under test.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make this possible, you'll need to ensure that the module does not rely on static context. Instead, it should employ Dependency Injection to obtain dependencies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, the module should be injected with &lt;code&gt;Glass.Mapper.Sc.ISitecoreContext&lt;/code&gt; and use it for all Glass operations. Here's an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SomeModule&#xA;{&#xA;    private readonly ISitecoreContext _sitecoreContext;&#xA;&#xA;    public SomeModule(ISitecoreContext context)&#xA;    {&#xA;        this._sitecoreContext = context;&#xA;    }&#xA;&#xA;    public void SomeMethod()&#xA;    {&#xA;        // ...&#xA;        IEnumerable&amp;lt;Item&amp;gt; pathItems = ...;&#xA;        var paths = pathItems.Select(child =&amp;gt; this._sitecoreContext.Cast&amp;lt;Path&amp;gt;(child));&#xA;        // ...&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in the Unit test code you will instantiate the module with a mock implementation of &lt;code&gt;ISitecoreContext&lt;/code&gt; passed into its constructor. You can either create your own mock implementation (it's pretty easy), or you can use mocking frameworks, such as &lt;a href=&quot;https://nsubstitute.github.io/&quot; rel=&quot;nofollow noreferrer&quot;&gt;NSubstitute&lt;/a&gt;, &lt;a href=&quot;https://github.com/moq/moq4&quot; rel=&quot;nofollow noreferrer&quot;&gt;Moq&lt;/a&gt;, &lt;a href=&quot;https://github.com/FakeItEasy/FakeItEasy&quot; rel=&quot;nofollow noreferrer&quot;&gt;FakeItEasy&lt;/a&gt; or &lt;a href=&quot;https://www.hibernatingrhinos.com/oss/rhino-mocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rhino Mocks&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Integration testing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Tests that actually get data from an external storage are not considered unit tests, they are called integration tests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make tests run outside of a Sitecore page context, you will need to manually create some dependencies, such as the Glass &lt;code&gt;ISitecoreContext&lt;/code&gt;, and pass them into the module being tested. This means you should &lt;em&gt;still&lt;/em&gt; apply exactly the same approach (as if you were unit testing) to the design of &lt;code&gt;SomeModule&lt;/code&gt;—it should accept &lt;code&gt;ISitecoreContext&lt;/code&gt; as a constructor argument and use it for accessing Sitecore data. The only difference will be that your test code will inject a real context instance into the module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's how you can do it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Prepare the environment&#xA;if (Glass.Mapper.Context.Default == null)&#xA;{&#xA;    var config = new Glass.Mapper.Sc.Config();&#xA;    var dependencyResolver = new Glass.Mapper.Sc.IoC.DependencyResolver(config);&#xA;    Glass.Mapper.Context.Create(dependencyResolver, &quot;Default&quot;, true);&#xA;}&#xA;&#xA;// Create the Sitecore context&#xA;Database db = Factory.GetDatabase(&quot;master&quot;);&#xA;var sitecoreContext = new SitecoreContext(db);&#xA;&#xA;// Instantiate the module and use it&#xA;var module = new SomeModule(sitecoreContext);&#xA;module.SomeMethod();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-27T13:59:33.293" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2894" PostTypeId="1" CreationDate="2016-11-27T14:30:54.403" Score="8" ViewCount="5683" Body="&lt;p&gt;So I have renderings that depend on specific CSS or specifically Javascript.  Do you load the same Javascript on all pages even if the Javascript is for a specific page/rendering, or do you pull in the resource dependencies a different way? What if you want the page to bundle and minify all the javascript/css, would you use the same method?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="423" LastEditDate="2017-08-07T19:27:53.183" LastActivityDate="2017-08-07T19:27:53.183" Title="How to Render Javascript per page or component?" Tags="|mvc|javascript|css|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2895" PostTypeId="2" ParentId="2891" CreationDate="2016-11-27T14:33:14.420" Score="6" Body="&lt;p&gt;I can think of two options to solve your issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create some custom code to make a &quot;query&quot; possible together in the datasource. Luckily for you that is already been done and well &lt;a href=&quot;https://jammykam.wordpress.com/2016/01/06/specifying-query-and-parameters-for-sitecore-treelist-field-source/&quot; rel=&quot;noreferrer&quot;&gt;documented&lt;/a&gt;. Unfortunately as Jammykam correctly pointed out, this won't completely fix your as the &lt;code&gt;TreeList&lt;/code&gt; can only accept one parent node. So this would actually come down to a complex version of option2. You could however try to write your own field (based upon a treelist), but that might take some more customization. But you're lucky again! There is another Kam, and he shared some code to do exactly that: a &lt;a href=&quot;http://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field/&quot; rel=&quot;noreferrer&quot;&gt;multi-root treelist&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Use the ootb options, with one path but by using the &lt;code&gt;IncludeTemplatesForDisplay&lt;/code&gt; and &lt;code&gt;IncludeTemplatesForSelection&lt;/code&gt;. This might get a good result, but it depends on the templates used in folder1 and folder2. Assuming your template1 and template2 are used for folder1 and folder2 (and no others on that level), you could set &lt;code&gt;Datasource=/sitecore/content/home&amp;amp;IncludeTemplatesForDisplay=template1,template2,datasourcetemplate&amp;amp;IncludeTemplatesForSelection=datasourcetemplate&lt;/code&gt;. Note that I included datasourcetemplate (the template of the source you want to be selected) in templates to display and to select (to make them visible and selectable).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Remark: option &quot;1&quot; was edited after jammykam's comments (thx for the&#xA;  correction). I'll kept part of the text to make the comments not&#xA;  completely weird. And then shifted the solution from one kam to the&#xA;  other :)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-11-27T19:44:59.053" LastActivityDate="2016-11-27T19:44:59.053" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2896" PostTypeId="2" ParentId="2894" CreationDate="2016-11-27T15:02:02.407" Score="4" Body="&lt;p&gt;This might be an opinion based question.. but I'll give the approach I usually take.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general I would keep all css and javascript bundled and minified together. This means visitors will load some extra (and maybe unneeded) bytes at the first request, but each following request can use the cached version as it will be the same for all pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why this approach:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;bundling them all will keep the amount of requests low - which is a good thing&lt;/li&gt;&#xA;&lt;li&gt;keeping the file identical over all pages makes best use of caching for your visitors&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There is a situation where I would create an extra javascript (and maybe css) file though - could be based on a rendering. When you have an application in your website that requires a lot of javascript -which is not needed everywhere- I would put that javascript in another file and have the rendering add it to the page. Again though, bundled and minified to get one extra file only. This way, the visitor still gets the general file and the extra one is added, creating one extra request (which is again cached). &#xA;Why? Sometimes you have a website that has a lot of pages and just one section with an application that requires a whole lot of javascript. In that case it can be useful not to have everyone load that javascript (or css) immediately. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, it's an exercise that probably has no exact best solution. Minifying your files is always a must - but finding the best balance between a least amount of request, using the browser caches and not loading too much unnecessary data is no exact science. As said, I tend to lean towards less requests and much browser cache usage.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-27T15:02:02.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2897" PostTypeId="1" AcceptedAnswerId="2898" CreationDate="2016-11-27T18:26:15.443" Score="3" ViewCount="158" Body="&lt;p&gt;How to get grouped results with &lt;code&gt;SearchBoxView&lt;/code&gt; and &lt;code&gt;OmniboxResultListView&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added those 2 components on the page along with &lt;code&gt;SearchViewResources&lt;/code&gt; and was able to get results as I type in &lt;code&gt;SearchBoxView&lt;/code&gt;. Now I need to get these results grouped by template so that I can style them accordingly in &lt;code&gt;OmniboxResultsView&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've looked into &lt;code&gt;Folding&lt;/code&gt; but I am confused as to how to use it with &lt;code&gt;OmniboxResultsView&lt;/code&gt;. Any tips or examples will be really helpful.&lt;/p&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="135" LastEditDate="2019-12-22T19:54:48.947" LastActivityDate="2019-12-22T19:54:48.947" Title="Group results using OmniboxResultsView" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2898" PostTypeId="2" ParentId="2897" CreationDate="2016-11-27T19:29:32.590" Score="6" Body="&lt;p&gt;Coveo does not offer grouped search results. It offers facets to drill down search results. Folding is used when you have a parent and child search results (model/variants, email thread, business/locations...) which is not your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Coveo is a relevance platform. Coveo believes the most relevant information will be returned in the first 3 search results, whatever its template, type or source. This, of course, requires proper indexing with the content of the documents. It can also require a few query ranking expressions (QRE) to boost the content you want to highlight if it's not returned first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have your index in Coveo Cloud, you should really use Coveo Reveal Automatic Relevance Tuning (ART) feature which will automatically boost/insert search results based on previous visitors' successful searches. This basically eliminates the need to manually analyze click-through rate, click rank, queries without results and queries without clicks and manually adjust the indexing/boosting from time to time. It learns from previous visitors and improves the relevancy of search results for future visitors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I failed to convince you against separating the result templates and you really  really need to do it, you can do it with multiple Omnibox Result List components. Each will filter the results on a specific template and ask for fewer results (e.g.: 3 each). But then, each time a user types in the search box, multiple queries will be triggered. It will perform slower, will put more load on your index (may need more resources if you are on-premises) and will use your monthly query limit faster.&lt;/p&gt;&#xA;" OwnerUserId="171" LastEditorUserId="4050" LastEditDate="2019-12-20T09:14:59.243" LastActivityDate="2019-12-20T09:14:59.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2899" PostTypeId="2" ParentId="2894" CreationDate="2016-11-27T20:54:51.890" Score="9" Body="&lt;p&gt;An alternative to @Gatogordo's option is to use a modular approach to JavaScript using something like &lt;a href=&quot;http://requirejs.org/&quot;&gt;requirejs&lt;/a&gt;. I wrote a post about &lt;a href=&quot;http://www.sitecorenutsbolts.net/2014/11/03/Using-Require-to-Organize-Your-Sitecore-Javascript/&quot;&gt;using requirejs to organize your js with Sitecore&lt;/a&gt; a while a go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The basics are:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Setup RequireJS&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Setup require, this uses a pretty standard require config. The &lt;code&gt;main.js&lt;/code&gt; can be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;require.config({&#xA;  baseUrl: &quot;/assets/js&quot;,&#xA;  paths: {&#xA;    jquery: &quot;vendor/jquery.min&quot;,&#xA;    &quot;jquery.migrate&quot;: &quot;vendor/migrate&quot;,&#xA;    &quot;jquery.mobile.events&quot;: &quot;vendor/mobile.events&quot;,&#xA;    &quot;jquery.royalslider&quot;: &quot;vendor/jquery.royalslider&quot;,&#xA;  },&#xA;  shim: {&#xA;    &quot;jquery.migrate&quot;: {&#xA;      deps: [&quot;jquery&quot;]&#xA;    },&#xA;    &quot;jquery.mobile.events&quot;: {&#xA;      deps: [&quot;jquery&quot;]&#xA;    },&#xA;    &quot;jquery.royalslider&quot;: {&#xA;      deps: [&quot;jquery&quot;]&#xA;    },&#xA;  }&#xA;});&#xA;// Now run any initialization javascript for the site:&#xA;require([&quot;jquery&quot;], function($) {&#xA;    // Init code here&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here I have added some dependencies that were used on my project. You can customize those dependencies as you need too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now add the script to the &lt;em&gt;top&lt;/em&gt; of your layout. Its important that its at the top. Note this will &lt;em&gt;not&lt;/em&gt; cause blocking because of the nature of how requirejs loads the js files async.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;script src=&quot;path-to-requirejs-main-file/require.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;script src=&quot;/assets/js/main.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can create your components by creating a require AMD module. The basics for a require module is that you define the dependencies and return the function. E.g:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;jquery&quot;, &quot;jquery.royalslider&quot;, &quot;jquery.mobile.events&quot;], function($) {&#xA;  var BasicSlider;&#xA;  return BasicSlider = (function() {&#xA;    function BasicSlider(options) {&#xA;      this.options = options;&#xA;      this.options = $.extend({}, this.defaults, this.options);&#xA;      this.initSlider();&#xA;    }&#xA;    DetailCarousel.prototype.defaults = {&#xA;      element: &quot;#basicSlider&quot;,&#xA;    };&#xA;    DetailCarousel.prototype.initSlider = function() {&#xA;        // TODO: Initialise the slider here&#xA;    };&#xA;    return DetailCarousel;&#xA;  })();&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now in your razor script for your Sitecore rendering you can simple require that module in:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;div class=&quot;slider&quot;&amp;gt;&amp;lt;!-- Slider Html Structure Here --&amp;gt;&amp;lt;/div&amp;gt;&#xA;&amp;lt;pre&amp;gt;&#xA;&amp;lt;script&amp;gt;&#xA;require([&quot;jquery&quot;, &quot;modules/slider&quot;], function($, Slider){&#xA;    new Slider({&#xA;        element: '.slider'&#xA;    });&#xA;});&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Pros/Cons of this method&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The main benefits of this method are that your js is loaded modularly, just like your Sitecore components are. Only the JS needed for the particular page is downloaded to the client, so it &lt;em&gt;can&lt;/em&gt; save some bandwidth and some processing on the browser as it doesn't need to parse anything that is not being used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Http 1.1 this method can be problematic. If you have lots of modules, you &lt;em&gt;can&lt;/em&gt; get delays while the files are downloaded the first time. With Http/2 this is not so much of an issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RequireJS is not the only JavaScript module loader out there. In ES6 modules are becoming part of the language and there are pros/cons to each module loader so you would have to work out what works best for your project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information on why AMD Modules are good, look here &lt;a href=&quot;http://requirejs.org/docs/whyamd.html&quot;&gt;Why AMD?&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Should you use it?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;TLDR; If you have a small site with minimal JavaScript - webpack it all into a single file and minify that. If you have a large complex site with many JS modules, RequireJS can make maintaining and writing the client side much easier.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-27T20:54:51.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2900" PostTypeId="1" AcceptedAnswerId="2901" CreationDate="2016-11-27T21:19:09.593" Score="3" ViewCount="959" Body="&lt;p&gt;I have a very basic question and only because I haven't been able to find any reference or source for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore, how can I &lt;strong&gt;programmatically&lt;/strong&gt; get the last run date/time of a job that is configured in the web.config or another config file? I had opened another question like this 2-3 years ago but the suggestions there don't really provide any help. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or guidance is appreciated!&lt;/p&gt;&#xA;" OwnerUserId="1073" LastEditorUserId="1073" LastEditDate="2016-11-27T21:23:08.070" LastActivityDate="2016-11-27T21:45:10.923" Title="Get last time job ran date/time" Tags="|logging|scheduled-tasks|" AnswerCount="1" CommentCount="6" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2901" PostTypeId="2" ParentId="2900" CreationDate="2016-11-27T21:45:10.923" Score="4" Body="&lt;p&gt;You cannot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When Sitecore executes any job, it runs &lt;code&gt;&amp;lt;job&amp;gt;&lt;/code&gt; pipeline defined in &lt;code&gt;Sitecore.config&lt;/code&gt; (or &lt;code&gt;web.config&lt;/code&gt; in older versions). This pipeline has &lt;code&gt;SignalStart&lt;/code&gt; and &lt;code&gt;SignalEnd&lt;/code&gt; processors, but the only thing they do is logging the information that job started or finished:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public static void SignalStart(JobArgs args)&#xA;{&#xA;  Job job = args.Job;&#xA;  job.Status.LogInfo(&quot;Job started: {0}&quot;, job.Name);&#xA;}&#xA;&#xA;public static void SignalEnd(JobArgs args)&#xA;{&#xA;  Job job = args.Job;&#xA;  string str = string.Empty;&#xA;  if (job.Status.Processed &amp;gt; 0L)&#xA;    str = job.Status.Processed.ToString();&#xA;  job.Status.LogInfo(&quot;Job ended: {0} (units processed: {1})&quot;, job.Name, str);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can do what you need manually by analyzing the log files (see &lt;a href=&quot;https://sitecore.stackexchange.com/a/1234/277&quot;&gt;https://sitecore.stackexchange.com/a/1234/277&lt;/a&gt; ) or you can add your own custom processors to the pipeline mentioned above and store this information in some other place / database / whatever suits you best.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-27T21:45:10.923" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2902" PostTypeId="2" ParentId="2864" CreationDate="2016-11-27T22:29:31.320" Score="6" Body="&lt;p&gt;There is already a notification bar show in &lt;code&gt;Experience Editor&lt;/code&gt; mode when editing the &lt;strong&gt;Shared Layout&lt;/strong&gt; of the page, but you have to select the &lt;strong&gt;Presentation&lt;/strong&gt; tab before the notification will show.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In any case, you can use the &lt;code&gt;IsEditAllVersionsTicked()&lt;/code&gt; helper available in &lt;code&gt;Sitecore.ExperienceEditor.Utils.WebUtility&lt;/code&gt; to return whether Shared Layout is being edited.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Custom Editor Notification&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can create a custom editor notification to always show the current layout mode, similar to the existing notification:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using Sitecore.ExperienceEditor.Utils;&#xA;using Sitecore.Globalization;&#xA;using Sitecore.Pipelines.GetPageEditorNotifications;&#xA;&#xA;namespace MyProject.CMS.Custom.Pipelines&#xA;{&#xA;    public class GetPageEditorNotifications : GetPageEditorNotificationsProcessor&#xA;    {&#xA;        public override void Process(GetPageEditorNotificationsArgs arguments)&#xA;        {&#xA;            Assert.ArgumentNotNull(arguments, &quot;arguments&quot;);&#xA;            if (arguments.ContextItem == null) return;&#xA;&#xA;            bool editingSharedVersion = WebUtility.IsEditAllVersionsTicked();&#xA;&#xA;            if (editingSharedVersion)&#xA;            {&#xA;                arguments.Notifications.Add(new PageEditorNotification(Translate.Text(&quot;You are editing the SHARED layout of this page. All the changes you make to the shared layout will be applied to all versions of this page in every language.&quot;),&#xA;                    PageEditorNotificationType.Warning));&#xA;            }&#xA;            else&#xA;            {&#xA;                arguments.Notifications.Add(new PageEditorNotification(Translate.Text(&quot;You are editing the FINAL layout of this page. Any changes you make to the final layout will only be applied to the current version of this page in the current language.&quot;),&#xA;                    PageEditorNotificationType.Information));&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch this into your config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;getPageEditorNotifications&amp;gt;&#xA;    &amp;lt;processor type=&quot;MyProject.CMS.Custom.Pipelines.GetPageEditorNotifications, MyProject.CMS.Custom&quot; /&amp;gt;&#xA;  &amp;lt;/getPageEditorNotifications&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l5R96.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l5R96.png&quot; alt=&quot;Shared Layout Warning&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GsJkw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GsJkw.png&quot; alt=&quot;Final Layout Info&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Removing Existing Editor Notification&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You need to deal with the existing rendering information bar displayed for Shared Layout. You can do this by editing &lt;code&gt;/sitecore/shell/client/Sitecore/ExperienceEditor/Commands/SelectLayout.js&lt;/code&gt; and updating the canExecute method to return false:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;canExecute: function (context) {&#xA;  return false;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alternatively, override the pipeline responsible for checking the Layout mode when switching to the tab and set the return value to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&#xA;  &amp;lt;request name=&quot;ExperienceEditor.IsEditAllVersionsTicked&quot; type=&quot;Sitecore.ExperienceEditor.Speak.Ribbon.Requests.Common.IsEditAllVersionsTicked, Sitecore.ExperienceEditor.Speak.Ribbon&quot; /&amp;gt;&#xA;  ...&#xA;&amp;lt;/sitecore.experienceeditor.speak.requests&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-03-16T16:33:56.400" LastActivityDate="2017-03-16T16:33:56.400" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2903" PostTypeId="2" ParentId="2894" CreationDate="2016-11-27T22:51:42.830" Score="3" Body="&lt;p&gt;Sitecore Habitat solution might have what you are looking for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pipeline:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For each rendering you specify a js/css asset or a line of script. In the mvc.getPageRendering pipeline it gathers up all the necessary js/cs for all the renderings on the page.&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Pipelines/GetPageRendering/AddAssets.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Pipelines/GetPageRendering/AddAssets.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddAssets : GetPageRenderingProcessor&#xA;  {&#xA;    private IList&amp;lt;Asset&amp;gt; _siteAssets;&#xA;&#xA;    private IList&amp;lt;Asset&amp;gt; SiteAssets =&amp;gt; this._siteAssets ?? (this._siteAssets = new List&amp;lt;Asset&amp;gt;());&#xA;&#xA;    public void AddAsset(XmlNode node)&#xA;    {&#xA;      var asset = AssetRepository.Current.CreateFromConfiguration(node);&#xA;      if (asset != null)&#xA;      {&#xA;        this.SiteAssets.Add(asset);&#xA;      }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.getPageRendering&amp;gt;&#xA;        &amp;lt;processor&#xA;          patch:before=&quot;*[@type='Sitecore.Mvc.Pipelines.Response.GetPageRendering.GetLayoutRendering, Sitecore.Mvc']&quot;&#xA;          type=&quot;Sitecore.Foundation.Assets.Pipelines.GetPageRendering.AddAssets, Sitecore.Foundation.Assets&quot;&amp;gt;&#xA;          &amp;lt;siteAssets hint=&quot;raw:AddAsset&quot;&amp;gt;&#xA;          &amp;lt;/siteAssets&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/mvc.getPageRendering&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;RenderAssetService:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then the RenderAssetService puts it all on the page.&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/4433c9572e0ec1630ed1c5cc08dbdf2ee023b54e/src/Foundation/Assets/code/Services/RenderAssetsService.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/4433c9572e0ec1630ed1c5cc08dbdf2ee023b54e/src/Foundation/Assets/code/Services/RenderAssetsService.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RenderAssetService for example.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RenderAssetsService&#xA;  {&#xA;    private static RenderAssetsService _current;&#xA;    public static RenderAssetsService Current =&amp;gt; _current ?? (_current = new RenderAssetsService());&#xA;&#xA;    public HtmlString RenderScript(ScriptLocation location)&#xA;    {&#xA;      var sb = new StringBuilder();&#xA;      var assets = AssetRepository.Current.Items.Where(asset =&amp;gt; (asset.Type == AssetType.JavaScript || asset.Type == AssetType.Raw) &amp;amp;&amp;amp; asset.Location == location &amp;amp;&amp;amp; this.IsForContextSite(asset));&#xA;      foreach (var item in assets)&#xA;      {&#xA;        if (!string.IsNullOrEmpty(item.File))&#xA;        {&#xA;          sb.AppendFormat(&quot;&amp;lt;script src=\&quot;{0}\&quot;&amp;gt;&amp;lt;/script&amp;gt;&quot;, item.File).AppendLine();&#xA;        }&#xA;        else if (!string.IsNullOrEmpty(item.Inline))&#xA;        {&#xA;          if (item.Type == AssetType.Raw)&#xA;          {&#xA;            sb.AppendLine(HttpUtility.HtmlDecode(item.Inline));&#xA;          }&#xA;          else&#xA;          {&#xA;            sb.AppendLine(&quot;&amp;lt;script&amp;gt;\njQuery(document).ready(function() {&quot;);&#xA;            sb.AppendLine(item.Inline);&#xA;            sb.AppendLine(&quot;});\n&amp;lt;/script&amp;gt;&quot;);&#xA;          }&#xA;        }&#xA;      }&#xA;      return new HtmlString(sb.ToString());&#xA;    }&#xA;&#xA;    public HtmlString RenderStyles()&#xA;    {&#xA;      var sb = new StringBuilder();&#xA;      foreach (var item in AssetRepository.Current.Items.Where(asset =&amp;gt; asset.Type == AssetType.Css &amp;amp;&amp;amp; this.IsForContextSite(asset)))&#xA;      {&#xA;        if (!string.IsNullOrEmpty(item.File))&#xA;        {&#xA;          sb.AppendFormat(&quot;&amp;lt;link href=\&quot;{0}\&quot; rel=\&quot;stylesheet\&quot; /&amp;gt;&quot;, item.File).AppendLine();&#xA;        }&#xA;        else if (!string.IsNullOrEmpty(item.Inline))&#xA;        {&#xA;          sb.AppendLine(&quot;&amp;lt;style type=\&quot;text/css\&quot;&amp;gt;&quot;);&#xA;          sb.AppendLine(item.Inline);&#xA;          sb.AppendLine(&quot;&amp;lt;/style&amp;gt;&quot;);&#xA;        }&#xA;      }&#xA;&#xA;      return new HtmlString(sb.ToString());&#xA;    }&#xA;&#xA;    private bool IsForContextSite(Asset asset)&#xA;    {&#xA;      if (asset.Site == null)&#xA;        return true;&#xA;&#xA;      foreach (var part in asset.Site.Split(new[] {'|'}, StringSplitOptions.RemoveEmptyEntries))&#xA;      {&#xA;        var siteWildcard = part.Trim().ToLowerInvariant();&#xA;        if (siteWildcard == &quot;*&quot; || Context.Site.Name.Equals(siteWildcard, StringComparison.InvariantCultureIgnoreCase))&#xA;          return true;&#xA;      }&#xA;      return false;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Rendering&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the default.cshtml, using the rendering service, the js/css is added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In head tag&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@RenderAssetsService.Current.RenderScript(ScriptLocation.Head)&#xA;@RenderAssetsService.Current.RenderStyles()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;End of body tag&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@RenderAssetsService.Current.RenderScript(ScriptLocation.Body)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2016-11-27T22:59:28.150" LastActivityDate="2016-11-27T22:59:28.150" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2904" PostTypeId="2" ParentId="276" CreationDate="2016-11-28T01:01:01.003" Score="2" Body="&lt;p&gt;To add to Anicho's answer, if you correct the configuration any existing locked sessions will throw errors until the current lease expires. To speed this up, you can execute the following against your analytics database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.getCollection('Contacts').update(&#xA;    { &quot;$and&quot;: [ &#xA;        { &quot;Lease.Owner.Type&quot; :  {$eq:0} }, &#xA;        { &quot;Lease.Owner.Identifier&quot; :  {$exists: false} } &#xA;    ]},&#xA;    { $set: { &quot;Lease&quot; : null } },&#xA;    { multi: true }&#xA;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will drop any leases that were owned by a web cluster but don't have an identifier. Run this after you change the config (and before if you really want to minimise errors)&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2016-11-28T01:01:01.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2905" PostTypeId="1" AcceptedAnswerId="2913" CreationDate="2016-11-28T04:44:21.607" Score="5" ViewCount="1129" Body="&lt;p&gt;I have created a template with multi list type field. I have create a branch template to enforce child element to this multi list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have set data source query:./* to populate children in this multi list field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My requirement is when I create content from branch template the child element should appear in selected list box (right side box).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to do this?&lt;/p&gt;&#xA;" OwnerUserId="1186" LastEditorUserId="73" LastEditDate="2016-11-28T14:59:00.267" LastActivityDate="2016-11-28T14:59:00.267" Title="Pre-selected multi list fields in Branch Templates" Tags="|content-editor|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2906" PostTypeId="2" ParentId="2687" CreationDate="2016-11-28T04:46:41.210" Score="1" Body="&lt;p&gt;The problem that you have with Transparent sync in production is that the file system becomes the source of record for your data. This is an issue because it bypasses functionality in Sitecore related to syncing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Kam;'s article&#xA;&lt;a href=&quot;http://kamsar.net/index.php/2015/10/Unicorn-Introducing-Transparent-Sync/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://kamsar.net/index.php/2015/10/Unicorn-Introducing-Transparent-Sync/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Because Transparent Sync bypasses the normal sync process, transparent&#xA;  sync also bypasses anything that is hooked to sync. This would include&#xA;  things like custom evaluators (like NewItemsOnlyEvaluator) and the&#xA;  sync event pipelines. If you are relying on these customizations, turn&#xA;  transparent sync off for the configurations that use them.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Transparent Sync is great for development because as soon as you pull your update from source control, its automatically synced into your dev environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently when I use Unicorn in production, I turn off the Unicorn data providers, forcing me to use /Unicorn.aspx and syncing the deployment to Sitecore. I do this with a transformation to my Unicorn.config release file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;dataProviders xdt:Transform=&quot;RemoveAll&quot;&amp;gt;&#xA;&#xA;    &amp;lt;/dataProviders&amp;gt;&#xA;    &amp;lt;databases xdt:Transform=&quot;RemoveAll&quot;&amp;gt;&#xA;&#xA;    &amp;lt;/databases&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-11-28T04:46:41.210" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2908" PostTypeId="2" ParentId="2905" CreationDate="2016-11-28T06:27:35.087" Score="0" Body="&lt;p&gt;If I am understanding right you are looking to have the child elements of a specific item preselected when you create the list.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item    &#xA;|_Subitem    &#xA;|_Subitem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and your list on item will automatically have both Subitems selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main issue I see with this is that the Item when created would have 0 children and so nothing to preselect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want it to automatically select a subitem when created then you will need to look into a custom pipeline process on item creation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something that would check the parent item if it matches a specific template and then add the id of the current item to the field on the parent item.&lt;/p&gt;&#xA;" OwnerUserId="1195" LastActivityDate="2016-11-28T06:27:35.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2910" PostTypeId="1" AcceptedAnswerId="2911" CreationDate="2016-11-28T08:33:01.953" Score="6" ViewCount="1153" Body="&lt;p&gt;I am using the &lt;code&gt;File&lt;/code&gt; field type to allow a content editor to upload a new file, or select an existing file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wish to restrict where a file can be chosen from, so I have set the datasource of the field to a folder in my Media Library:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DataSource=/sitecore/Media Library/Images/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, when I click &lt;code&gt;Open File&lt;/code&gt; on a content item, I get the error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zNP8k.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zNP8k.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I specify a 'start folder' for the File control to point at? &#xA;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1106" LastEditorUserId="73" LastEditDate="2016-11-28T12:11:36.147" LastActivityDate="2016-11-28T12:11:36.147" Title="Set File datasource property to restrict start folder" Tags="|content-editor|fieldtype|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2911" PostTypeId="2" ParentId="2910" CreationDate="2016-11-28T08:55:27.363" Score="11" Body="&lt;p&gt;You don't need to set in this way DataSource,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you just need to set DataSource on template field to : media library path (ex: &quot;/sitecore/media library/Images/Social/Connector&quot;) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SdoG6.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SdoG6.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you will open you will see : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ayj5h.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ayj5h.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One small issue that I remarked is Search tab is before Browse tab. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2016-11-28T11:58:24.427" LastActivityDate="2016-11-28T11:58:24.427" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2912" PostTypeId="2" ParentId="2910" CreationDate="2016-11-28T09:02:00.777" Score="4" Body="&lt;p&gt;The &quot;DataSource&quot; is only for selection fields (Droplist, treelist and so on) - other field types only support a path, like Sitecore Climber writes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further explanations are available in the Data definition cook book (old, but still relevant :))&#xA;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/datadefinitioncookbook-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/datadefinitioncookbook-a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="327" LastActivityDate="2016-11-28T09:02:00.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2913" PostTypeId="2" ParentId="2905" CreationDate="2016-11-28T09:31:23.013" Score="6" Body="&lt;h1&gt;The Problem&lt;/h1&gt;&#xA;&lt;p&gt;You cannot. Not out of the box at least.&lt;/p&gt;&#xA;&lt;p&gt;What happens is; your branch template looks like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Branch Root (ID1)&#xA;|_Subitem (ID 2)&#xA;|_Subitem (ID 3)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And on the Branch Item, you select 1 or more of the Subitems. This means, on Branch Item, the Multilist field holds &lt;code&gt;ID 2&lt;/code&gt; and &lt;code&gt;ID 3&lt;/code&gt; as value.&lt;/p&gt;&#xA;&lt;p&gt;Now you go and create content based on this Branch. Your new content will get created, and look like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Concrete Item (ID4)&#xA;|_Subitem (ID 5)&#xA;|_Subitem (ID 6)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;But - and here's the kicker - The Multilist field will &lt;em&gt;still&lt;/em&gt; hold &lt;code&gt;ID 2&lt;/code&gt; and &lt;code&gt;ID 3&lt;/code&gt; as value.&lt;/p&gt;&#xA;&lt;p&gt;Sitecore does not remap internal references on this field (or any) when creating the branch.&lt;/p&gt;&#xA;&lt;p&gt;The Sitecore &amp;quot;out of the box&amp;quot; story ends here.&lt;/p&gt;&#xA;&lt;h1&gt;The Solution&lt;/h1&gt;&#xA;&lt;p&gt;To solve it, you need a job that replaces references when creating items based off of Branch Templates. And you only want references replaced, when the items being referenced are within scope of the Branch Template items themselves.&lt;/p&gt;&#xA;&lt;p&gt;Fortunately, this is what Alen Pelin's SmartCommands does (reference: &lt;a href=&quot;https://bitbucket.org/sitecore/sitecore-smart-commands&quot; rel=&quot;noreferrer&quot;&gt;https://bitbucket.org/sitecore/sitecore-smart-commands&lt;/a&gt;) - except these only work for Copy, Clone and Duplicate. They can be extended however.&lt;/p&gt;&#xA;&lt;h2&gt;Set it up&lt;/h2&gt;&#xA;&lt;p&gt;Create a file, &lt;code&gt;BranchCommand.config&lt;/code&gt; and place it in &lt;code&gt;App_Config\Include&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&amp;quot;item:added&amp;quot;&amp;gt;&#xA;        &amp;lt;handler type=&amp;quot;Website.Events.ItemAdded.UpdateLinks, Website&amp;quot; method=&amp;quot;OnItemAdded&amp;quot;&amp;gt;&#xA;          &amp;lt;param desc=&amp;quot;async&amp;quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Then some code to bind this event into SmartCommands (you must have the SmartCommand code in your project as well, download from above).&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;UpdateLinks.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class UpdateLinks&#xA;{&#xA;    private readonly bool isAsync;&#xA;&#xA;    public UpdateLinks()&#xA;    {&#xA;        isAsync = false;&#xA;    }&#xA;&#xA;    public UpdateLinks([NotNull] string async)&#xA;    {&#xA;        Assert.ArgumentNotNull(async, &amp;quot;async&amp;quot;);&#xA;&#xA;        isAsync = string.Equals(async, &amp;quot;true&amp;quot;, StringComparison.OrdinalIgnoreCase);&#xA;    }&#xA;&#xA;    [UsedImplicitly]&#xA;    public void OnItemAdded([CanBeNull] object sender, [NotNull] EventArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &amp;quot;args&amp;quot;);&#xA;&#xA;        var contentItem = Event.ExtractParameter(args, 0) as Item;&#xA;        Assert.IsNotNull(contentItem, &amp;quot;targetItem&amp;quot;);&#xA;&#xA;        var branchItem = contentItem.Branch;&#xA;        if (branchItem == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var item = branchItem.InnerItem;&#xA;        Assert.IsTrue(item.Children.Count == 1, &amp;quot;branch item structure is corrupted: {0}&amp;quot;.FormatWith(AuditFormatter.FormatItem(item)));&#xA;&#xA;&#xA;        var branch = item.Children[0];&#xA;        if (isAsync)&#xA;        {&#xA;            ReferenceReplacementJob.StartAsync(branch, contentItem);&#xA;        }&#xA;        else&#xA;        {&#xA;            ReferenceReplacementJob.Start(branch, contentItem);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And from here, the SmartCommands &lt;code&gt;ReferenceReplacementJob&lt;/code&gt; takes care of the rest. The code for that and the rest of SmartCommands would be too extensive to include here. &lt;a href=&quot;https://bitbucket.org/sitecore/sitecore-smart-commands/src/78cada25dba9dafc44306db180c61bdc2ce7b4bb/Sitecore.SmartCommands/Jobs/ReferenceReplacementJob.cs?at=master&amp;amp;fileviewer=file-view-default&quot; rel=&quot;noreferrer&quot;&gt;Source for ReferenceReplacementJob&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I've used exactly this approach on a number of production solutions - it is tested and it does work as expected - but it &lt;em&gt;will&lt;/em&gt; require some elbow grease to get working in your solution.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-28T09:43:55.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2914" PostTypeId="1" AcceptedAnswerId="2915" CreationDate="2016-11-22T17:54:59.407" Score="3" ViewCount="449" Body="&lt;p&gt;I am looking for translation features in Sitecore. Does Sitecore provide translation support out of box? &#xA;I saw translate button in version tab but not sure what does it do.&lt;/p&gt;&#xA;" OwnerUserId="1209" OwnerDisplayName="Anurag Dixit" LastEditorUserId="237" LastEditDate="2016-11-28T09:52:44.373" LastActivityDate="2016-11-28T09:52:44.373" Title="Default translation support in Sitecore" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2915" PostTypeId="2" ParentId="2914" CreationDate="2016-11-22T18:00:40.047" Score="4" Body="&lt;p&gt;Sitecore does not provide any translation support out of box. You can use probably use ClayTablet (&lt;a href=&quot;http://www.clay-tablet.com/products/cms-connectors/sitecore&quot; rel=&quot;noreferrer&quot;&gt;http://www.clay-tablet.com/products/cms-connectors/sitecore&lt;/a&gt;) or GlobalLink (&lt;a href=&quot;http://www.translations.com/globallink/&quot; rel=&quot;noreferrer&quot;&gt;http://www.translations.com/globallink/&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The translate button is to help you when you enter field values for a different language. It provides one field for current language and one for reference (e.g. english).&lt;/p&gt;&#xA;" OwnerUserId="607" OwnerDisplayName="Rohit Chopra" LastActivityDate="2016-11-22T20:25:32.203" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2916" PostTypeId="2" ParentId="2850" CreationDate="2016-11-28T10:29:00.583" Score="3" Body="&lt;p&gt;By the time the below code is accessed in Controller/View Rendering, any personlization rules are applied.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;So, the &lt;code&gt;DataSource&lt;/code&gt; and &lt;code&gt;Item&lt;/code&gt; properties point to the the datasource are the personalized ones configured for the rule that is applied. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.DataSource&#xA;Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.Item  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below code shows how to get the RuleList xml and pull the default DataSource out of it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string text = rendering.Properties[&quot;RenderingXml&quot;];&#xA;  if (string.IsNullOrEmpty(text))&#xA;   {&#xA;     var renderingReference =  &#xA;     new RenderingReference(XmlExtensions.ToXmlNode(XElement.Parse(text)), &amp;lt;contextlanguage&amp;gt;, &amp;lt;contextdatabase&amp;gt;);&#xA;&#xA;     var DefaultDataSource = renderingreference.Settings.DataSource;&#xA;   }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/etF9k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/etF9k.png&quot; alt=&quot;Rendering xml with personalization rules&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the Rendering reference is obtained, the default datasource can be pulled from its &lt;code&gt;Settings.DataSource&lt;/code&gt; property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gzODH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gzODH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The order of DataSource for the rendering will be  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;DataSource selected in the Action section of Rule that is applied  &lt;/li&gt;&#xA;  &lt;li&gt;The order of Default DataSource will be  &#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;DS selected in the Action section  &lt;/li&gt;&#xA;  &lt;li&gt;If Action Section is empty, then DS selected from Rendering Parameters  &lt;/li&gt;&#xA;  &lt;li&gt;If none of them are set then &lt;code&gt;RenderingReference.Settings.DataSource&lt;/code&gt; is empty. But the actual Rendering DataSource set to PageItem&lt;/li&gt;&#xA;  &lt;/ul&gt;&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="773" LastEditorUserId="773" LastEditDate="2016-11-28T17:26:42.737" LastActivityDate="2016-11-28T17:26:42.737" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2917" PostTypeId="2" ParentId="2842" CreationDate="2016-11-28T13:00:12.747" Score="1" Body="&lt;p&gt;Can you try this format of connection string.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;dynamicsCRM&quot; connectionString=&quot;Url=[crm url you connected to crm]; Username=[email you connected to crm]; Password=[password you connected to crm];&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I do not use &quot;XRMServices/2011/Organization.svc&quot;.&#xA;Here is my. Tested. Works well.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;dynamicsCRM&quot; connectionString=&quot;Url=https://sitecoretest9.crm4.dynamics.com; Username=[my email]; Password=[my password];&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastActivityDate="2016-11-28T13:00:12.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2918" PostTypeId="2" ParentId="2294" CreationDate="2016-11-28T14:51:32.133" Score="0" Body="&lt;p&gt;Most of the answers are correct above and i am probably replying late. &#xA;You don't need really need to know an existing MVP face to face, a LinkedIn connection or twitter will do for you. The 'should have' is you put all answers to nomination questions in a word file and share that file to existing MVPs on social media. The must have is the contribution to Sitecore community made in this year and visible passion for it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have above things mentioned i don't think any right thinking MVP will deny you right of recommendation, please send me your credentials in word file and i will recommend based on that.&lt;/p&gt;&#xA;" OwnerUserId="227" LastActivityDate="2016-11-28T14:51:32.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2919" PostTypeId="1" AcceptedAnswerId="2927" CreationDate="2016-11-28T15:50:58.993" Score="10" ViewCount="4228" Body="&lt;p&gt;In a project, I have been working on before we had a solution in which when a content editor created a page of a certain type a &lt;code&gt;Components&lt;/code&gt; folder was created and the renderings of that page would create their data sources in that folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt; I have a &lt;code&gt;news page&lt;/code&gt; type containing a &lt;code&gt;news details&lt;/code&gt; rendering. When I create a News page called &lt;code&gt;News&lt;/code&gt; the following structure would be created.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Content&#xA;|--News  &#xA;   |--Components  &#xA;      |--News Details  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this something that can be done using the presentation details of the standard values of the page type? Or do I really need to use branches here (not what I remember)&lt;/p&gt;&#xA;" OwnerUserId="924" LastEditorUserId="5387" LastEditDate="2019-08-12T04:40:24.057" LastActivityDate="2019-08-12T04:40:24.057" Title="Automatically creating data sources for renderings on a new page" Tags="|datasource|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="2920" PostTypeId="2" ParentId="2919" CreationDate="2016-11-28T16:01:08.137" Score="3" Body="&lt;p&gt;This is a feature that's been kicking around the Sitecore community for a while now. To get the feature you're asking for, creating the /Components folder automatically as a subitem of the page you're working on, you need to modify the Layout field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CreateContentFolder&#xA;{&#xA;    protected const string CONTENT_FOLDER_TEMPLATE_PARAM = &quot;contentFolderTemplate&quot;;&#xA;&#xA;    public void Process(GetRenderingDatasourceArgs args)&#xA;    {&#xA;        Assert.IsNotNull(args, &quot;args&quot;);&#xA;        Sitecore.Data.Items.RenderingItem rendering = new Sitecore.Data.Items.RenderingItem(args.RenderingItem);&#xA;        UrlString urlString = new UrlString(rendering.Parameters);&#xA;        var contentFolder = urlString.Parameters[CONTENT_FOLDER_TEMPLATE_PARAM];&#xA;        if (string.IsNullOrEmpty(contentFolder))&#xA;        {&#xA;            // Set the content folder to the common folder template&#xA;            contentFolder = &quot;{A87A00B1-E6DB-45AB-8B54-636FEC3B5523}&quot;;&#xA;        }&#xA;        if (!ID.IsID(contentFolder))&#xA;        {&#xA;            Log.Warn(&#xA;                string.Format(&quot;{0} for Rendering {1} contains improperly formatted ID: {2}&quot;, CONTENT_FOLDER_TEMPLATE_PARAM,&#xA;                              args.RenderingItem.Name, contentFolder), this);&#xA;            return;&#xA;        }&#xA;&#xA;        string text = args.RenderingItem[&quot;Datasource Location&quot;];&#xA;        if (!string.IsNullOrEmpty(text))&#xA;        {&#xA;            if (text.StartsWith(&quot;./&quot;) &amp;amp;&amp;amp; !string.IsNullOrEmpty(args.ContextItemPath))&#xA;            {&#xA;                var itemPath = args.ContextItemPath + text.Remove(0, 1);&#xA;                var item = args.ContentDatabase.GetItem(itemPath);&#xA;                var contextItem = args.ContentDatabase.GetItem(args.ContextItemPath);&#xA;                if (item == null &amp;amp;&amp;amp; contextItem != null)&#xA;                {&#xA;                    // split the path on '/' characters and create nested folders as needed.&#xA;                    string itemName = text.Remove(0, 2);&#xA;                    string[] itemNames = itemName.Split('/');&#xA;                    var currentItem = contextItem;&#xA;                    foreach (string name in itemNames)&#xA;                    {&#xA;                        if (string.IsNullOrEmpty(name))&#xA;                        {&#xA;                            // sanity check&#xA;                            continue;&#xA;                        }&#xA;                        // try to get the item at this level&#xA;                        item = args.ContentDatabase.GetItem(string.Format(&quot;{0}/{1}&quot;, currentItem.Paths.FullPath, name));&#xA;                        // if it doesn't exist create it.&#xA;                        if (item == null)&#xA;                        {&#xA;                            //if we create an item in the current site context, the WebEditRibbonForm will see an ItemSaved event and think it needs to reload the page&#xA;                            using (new SiteContextSwitcher(SiteContextFactory.GetSiteContext(&quot;system&quot;)))&#xA;                            {&#xA;                                item = currentItem.Add(name, new TemplateID(ID.Parse(contentFolder)));&#xA;                            }&#xA;                        }&#xA;                        // Either way set current item to the item for the next iteration&#xA;                        currentItem = item;&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll need to add this into the GetRenderingDatasource pipeline like so,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;getRenderingDatasource&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.SharedSource.PageEditor.CustomSitecore.Pipeline.GetRenderingDatasource.CreateContentFolder, Sitecore.SharedSource.PageEditor&quot; &#xA;        patch:before=&quot;processor[@type='Sitecore.Pipelines.GetRenderingDatasource.GetDatasourceLocation, Sitecore.Kernel']&quot;/&amp;gt;&#xA;&amp;lt;/getRenderingDatasource&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To use the feature, you need to designate the datasource path as a relative path. This code expects it to start with './'. So, ./Components/News Details, in your example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was built against and older version of Sitecore, 6.6 I believe, but you should be able to pull this code as a starting point to implement it against your solution.&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="499" LastEditDate="2016-11-28T19:31:11.697" LastActivityDate="2016-11-28T19:31:11.697" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2921" PostTypeId="2" ParentId="2919" CreationDate="2016-11-28T16:56:38.917" Score="3" Body="&lt;p&gt;I think that the most flexible way to achieve what you want is to use a branch along with the &lt;a href=&quot;https://bitbucket.org/sitecore/sitecore-smart-commands&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Smart Commands&lt;/a&gt; module.  This module updates links when copying, duplicating, or creating from a template so that references to sub items correctly point to the new copies of those items after the the operation is completed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your case, as long as the presentation details are set up on the branch, the new page will have its datasource set correctly as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that if your solution is using relative datasource locations, that they may not work correctly when you edit your branch template item directly.  What I have done in the past is to set up one page manually with the components folder and datasources. Then create a branch, but delete the $name item under it.  Then copy the manually created page down under the branch item and rename it to $name and go through the fields and replace the values with tokens as appropriate.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-11-28T16:56:38.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2922" PostTypeId="2" ParentId="2124" CreationDate="2016-11-28T20:02:57.520" Score="2" Body="&lt;p&gt;Aside from all the options already outlined here I suggest the Automated Publisher module available on market place &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Automated_Publisher.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With it you can create an item an use the publish restrictions to set when it should be published from and to. With that in place it will create a task which will take care of publishing and unpublishing as per the configurations. I've used myself and recommend&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-11-28T20:02:57.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2923" PostTypeId="1" AcceptedAnswerId="2924" CreationDate="2016-11-28T20:29:59.760" Score="7" ViewCount="929" Body="&lt;p&gt;In Recycle Bin, the user (not super admin) can see all deleted items by other users. It should be shown only deleted items by him/her. (I guess it is already sitecore's default setting)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The user has general member of default sitecore roles and there is no special events regarding this Recycle Bin. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any idea about how I can figure out?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xVt4x.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xVt4x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="554" LastActivityDate="2016-11-28T20:51:04.377" Title="Recycle Bin shows all deleted items" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2924" PostTypeId="2" ParentId="2923" CreationDate="2016-11-28T20:48:06.160" Score="7" Body="&lt;p&gt;This is a bug in the current version of Sitecore (8.2). You can contact Sitecore Support with the reference number 127149 and get a patch that fixes this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This happens when users are not in the &lt;strong&gt;sitecore&lt;/strong&gt; domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The bug exists in &lt;code&gt;Sitecore.Data.Archiving.SqlArchive&lt;/code&gt; in &lt;code&gt;Sitecore.Kernel&lt;/code&gt;. The issue is in the &lt;code&gt;GetEntryCount(User)&lt;/code&gt; method which does not have a check on the &lt;code&gt;Recycly Bin/Can See All Items&lt;/code&gt; policy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;sitecore\Everyone&lt;/code&gt; role is denied access to the policy, but users with another domain than &lt;strong&gt;sitecore&lt;/strong&gt; is not a member of this role and can therefore see all items.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2016-11-28T20:51:04.377" LastActivityDate="2016-11-28T20:51:04.377" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2926" PostTypeId="1" CreationDate="2016-11-28T23:00:59.807" Score="2" ViewCount="2049" Body="&lt;p&gt;Using the remoting capabilities in &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt;, I'm trying to execute some PowerShell remotely and ensure that any errors that occur display in the local console. How can I do that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what I have:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module -Name SPE&#xA;&#xA;$session = New-ScriptSession -Username &quot;admin&quot; -Password &quot;b&quot; -ConnectionUri &quot;http://sitecore.local&quot;&#xA;$jobId = Invoke-RemoteScript -Session $session -AsJob -ScriptBlock { &#xA;    $templatesPath = &quot;master:/sitecore/content/data/tempdata&quot;&#xA;&#xA;    if (Test-Path $templatesPath) {&#xA;        if ((Get-Item $templatesPath).HasChildren -eq &quot;True&quot;) {&#xA;            $children = Get-ChildItem $templatesPath&#xA;            foreach ($childItem in $children) {&#xA;                &quot;Deleting temp content at $($childItem.FullPath)&quot;&#xA;&#xA;                # I recognize this next line does not work&#xA;                # It's wrong on purpose to test what happens when an error occurs&#xA;                Remove-Item &quot;$($childItem.FullPath)&quot; -Force -Recurse&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;Wait-RemoteScriptSession -Session $session -Id $jobId -Delay 1 -Verbose&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I check the logs after execution I see that an error occurred, but I don't see the error in the console where I executed the script.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-12-28T20:41:28.643" Title="Displaying Errors from Sitecore PowerShell Using Remoting" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2927" PostTypeId="2" ParentId="2919" CreationDate="2016-11-28T23:36:00.303" Score="9" Body="&lt;p&gt;To answer your question: branch templates are the way to go, here. However, branch templates, alone will not give you all you need. I have actually written a rule to provide this &amp;quot;branch preset&amp;quot; functionality, and it is currently in use on a Production site.&lt;/p&gt;&#xA;&lt;h3&gt;Branch Presets&lt;/h3&gt;&#xA;&lt;p&gt;The term Branch presets refers to creating a branch template with the purpose of storing a reusable presentation configuration, complete with datasources that may or may not live within the branch itself.&lt;/p&gt;&#xA;&lt;h3&gt;What Sitecore Does and Does not Provide&lt;/h3&gt;&#xA;&lt;p&gt;Sitecore only provides support for using branch templates to create the item hierarchy. This means that you can use Sitecore OOTB tools alone to create your datasource items. However, Sitecore does not &amp;quot;relink&amp;quot; your datasources for you. What does this mean? Consider the following example:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Branches&#xA;|--News                # Has 'News Detail' rendering &#xA;   |--Components  &#xA;      |--News Details  # Datasource of 'News Detail' rendering&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;In this example, if we have only OOTB functionality, when we add an instance of this branch template, we will get the following result:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Content&#xA;|--News                # 'News Detail' rendering datasource: branches/news/components/news details&#xA;   |--Components  &#xA;      |--News Details  # NOT datasource of 'News Detail' rendering&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Notice that the problem here is that the &lt;code&gt;News Detail&lt;/code&gt; rendering is still pointing at the &lt;code&gt;News Details&lt;/code&gt; component in the Branch definition, not the instance of the branch. As such, we need to write some logic of our own to relink any datasources that live within the branch, itself.&lt;/p&gt;&#xA;&lt;h3&gt;Relinking Datasources&lt;/h3&gt;&#xA;&lt;p&gt;As before, in order for our branch presets to work, we need to write some logic to &amp;quot;relink&amp;quot; the datasources for any renderings on items in the branch that point to other items in the same branch. These datasources should be relinked to point at the items in the &lt;em&gt;branch instance&lt;/em&gt; that correspond to the datasource items in the &lt;em&gt;branch definition&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;h3&gt;Triggering our Custom Logic&lt;/h3&gt;&#xA;&lt;p&gt;Triggering our custom logic is not as straightforward as you might think. Unfortunately, the &lt;code&gt;item:added&lt;/code&gt; event has technically been deprecated and the &lt;code&gt;item:created&lt;/code&gt; event is raised before create item's &amp;quot;master&amp;quot; (the reference to its branch template) has been set. We also don't want to pollute our &lt;code&gt;item:saved&lt;/code&gt; and &lt;code&gt;item:saving&lt;/code&gt; events, since these can have a big impact on performance. Fortunately, however, Sitecore's new item provider pipelines give us an excellent mechanism by which to trigger our logic: the &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline differs from the &lt;code&gt;&amp;lt;uiAddFromTemplate&amp;gt;&lt;/code&gt; pipeline in that the &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline is called whenever an item is created, regardless of whether or not is created in the UI or where from in the UI.&lt;/p&gt;&#xA;&lt;p&gt;Note that the &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline &lt;strong&gt;only runs once when adding an item from a branch template&lt;/strong&gt; rather than running once for each item in the branch. As such, we will want to recurse over the sub-items of our &amp;quot;item&amp;quot; (branch instance root) being added and relink the datasources for each.&lt;/p&gt;&#xA;&lt;h3&gt;Executing our Logic&lt;/h3&gt;&#xA;&lt;p&gt;So we now know where, what and why, but we now need to figure out &amp;quot;how&amp;quot;. Anyone who knows me at all will know what I'm about to suggest: the Rules Engine!&lt;/p&gt;&#xA;&lt;p&gt;The Rules Engine is an awesome mechanism that provides not only a highly extensible and flexible solution, but also one that is maintainable and low-effort to implement and add to. Sales-pitch, done - here is what you want to do:&lt;/p&gt;&#xA;&lt;p&gt;You are going to want to first write some conditions to check to see if the item was created from a branch template. Be sure &lt;strong&gt;not&lt;/strong&gt; to add conditions to only call your logic in the &lt;code&gt;content&lt;/code&gt; section of the tree. If you do, you will not be able to support branch templates that include instances of other branch templates.&lt;/p&gt;&#xA;&lt;p&gt;The next thing that you will want to do is write an action to relink the branch datasources for item and its descendants. You can use string comparison on the relative paths from the &lt;em&gt;datasource instance root&lt;/em&gt; to the relative paths from the &lt;em&gt;datasource definition root&lt;/em&gt; to figure out which item linked to which. The only down-side is that this doesn't support items with duplicate names (which you really should try to avoid, anyway).&lt;/p&gt;&#xA;&lt;h3&gt;Enough Chat! Let's Code!&lt;/h3&gt;&#xA;&lt;p&gt;Full disclosure, all of the code, below, will work, but this is a pretty complex feature and I can't put the entire CSPROJ into this solution. As such, I am highlighting the important parts and providing you a &lt;a href=&quot;https://bitbucket.org/zkniebel/sitecore-rules-library&quot; rel=&quot;noreferrer&quot;&gt;link to a working repo&lt;/a&gt; that includes this rule. The repo also includes a TDS project that has all of the items necessary to run the solution. I most recently testing this in an 8.1u2 solution.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Configuration: Calling the Trigger&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;    &#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;group name=&amp;quot;itemProvider&amp;quot; groupName=&amp;quot;itemProvider&amp;quot;&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;addFromTemplate&amp;gt;&#xA;            &amp;lt;processor mode=&amp;quot;on&amp;quot; type=&amp;quot;Delphic.Platform.Sc.Rules.Processors.AddFromTemplate.AddFromTemplateRulesProcessor, Delphic.Platform.Sc.Rules&amp;quot;&amp;gt;&#xA;              &amp;lt;ruleFolderId&amp;gt;92F757EA-FB27-466C-937A-D44755BBBE7D&amp;lt;/ruleFolderId&amp;gt;&#xA;            &amp;lt;/processor&amp;gt;&#xA;          &amp;lt;/addFromTemplate&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Trigger: &lt;code&gt;AddFromTemplate&lt;/code&gt; Processor&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Delphic.Platform.Sc.Rules.Contexts;&#xA;using Sitecore;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Pipelines.ItemProvider.AddFromTemplate;&#xA;using Sitecore.Web.UI.Sheer;&#xA;&#xA;namespace Delphic.Platform.Sc.Rules.Processors.AddFromTemplate&#xA;{&#xA;    public class AddFromTemplateRulesProcessor : AddFromTemplateProcessor&#xA;    {&#xA;        #region Public Properties&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets or sets the rule folder id.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        [CanBeNull]&#xA;        [UsedImplicitly]&#xA;        public string RuleFolderId { get; set; }&#xA;&#xA;        #endregion&#xA;&#xA;        #region Public Methods and Operators&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Processes the specified upload arguments.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;args&amp;quot;&amp;gt;&#xA;        /// The arguments.&#xA;        /// &amp;lt;/param&amp;gt;&#xA;        public override void Process([NotNull] AddFromTemplateArgs args)&#xA;        {&#xA;            // this is managed in configuration (runIfAborted=true would have to be set to override the value)&#xA;            if (args.Aborted)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            Assert.IsNotNull(args.FallbackProvider, &amp;quot;FallbackProvider is null&amp;quot;);&#xA;&#xA;            try&#xA;            {&#xA;                var item = args.FallbackProvider.AddFromTemplate(args.ItemName, args.TemplateId, args.Destination, args.NewId);&#xA;                if (item == null)&#xA;                {&#xA;                    return;&#xA;                }&#xA;&#xA;                args.ProcessorItem = args.Result = item;&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Log.Error(&amp;quot;AddFromTemplateRulesProcessor failed. Removing partially created item if it exists.&amp;quot;, ex, this);&#xA;&#xA;                var item = args.Destination.Database.GetItem(args.NewId);&#xA;                item?.Delete();&#xA;&#xA;                throw;&#xA;            }&#xA;&#xA;            ID id;&#xA;            if (string.IsNullOrWhiteSpace(RuleFolderId)&#xA;                || !Settings.Rules.ItemEventHandlers.RulesSupported(args.Destination.Database)&#xA;                || !ID.TryParse(RuleFolderId, out id))&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            var ruleContext = new PipelineArgsRuleContext&amp;lt;AddFromTemplateArgs&amp;gt;(args);&#xA;&#xA;            RuleManager.RunRules(ruleContext, id);&#xA;        }&#xA;&#xA;        #endregion&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;em&gt;Note that I route all of my rules through a &lt;code&gt;RuleManager&lt;/code&gt; class to centralize logging/error-handling logic. (Credit to Matt Gramolini and Juozas &amp;quot;Jimbo&amp;quot; Baltika for their contributions to this structure and the code).&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Action 1: Relink Datasources for Item:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System.Runtime.InteropServices;&#xA;using Delphic.Platform.Sc.Rules.Actions.Base;&#xA;using Delphic.Platform.Sc.Rules.Utils;&#xA;using Sitecore;&#xA;using Sitecore.Rules;&#xA;&#xA;namespace Delphic.Platform.Sc.Rules.Actions.BranchDatasources&#xA;{&#xA;    [UsedImplicitly]&#xA;    [Guid(&amp;quot;4B439446-C6FD-4635-8282-147CA80A4CA5&amp;quot;)]&#xA;    public sealed class RelinkItemBranchDatasources&amp;lt;TRuleContext&amp;gt; : RuleAction&amp;lt;TRuleContext&amp;gt;&#xA;        where TRuleContext : RuleContext&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// The apply rule.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;ruleContext&amp;quot;&amp;gt;&#xA;        /// The rule context.&#xA;        /// &amp;lt;/param&amp;gt;&#xA;        protected override void ApplyRule(TRuleContext ruleContext)&#xA;        {&#xA;            BranchDatasourceUtils.RelinkDatasourcesInBranchInstance(ruleContext.Item);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Action 2: Relink Datasources for Descendants:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System.Runtime.InteropServices;&#xA;using Delphic.Platform.Sc.Rules.Actions.Base;&#xA;using Delphic.Platform.Sc.Rules.Utils;&#xA;using Sitecore;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Rules;&#xA;&#xA;namespace Delphic.Platform.Sc.Rules.Actions.BranchDatasources&#xA;{&#xA;    [UsedImplicitly]&#xA;    [Guid(&amp;quot;8E804F7A-77FF-4074-9BAC-7EEE0CFA89C6&amp;quot;)]&#xA;    public sealed class RelinkDescendantsAndSelfBranchDatasources&amp;lt;TRuleContext&amp;gt; : RuleAction&amp;lt;TRuleContext&amp;gt;&#xA;        where TRuleContext : RuleContext&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// The apply rule.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;ruleContext&amp;quot;&amp;gt;&#xA;        /// The rule context.&#xA;        /// &amp;lt;/param&amp;gt;&#xA;        protected override void ApplyRule(TRuleContext ruleContext)&#xA;        {&#xA;            BranchDatasourceUtils.RelinkDatasourcesInBranchInstance(ruleContext.Item, true);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;BranchDatasourceUtils:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Layouts;&#xA;using Sitecore.StringExtensions;&#xA;&#xA;namespace Delphic.Platform.Sc.Rules.Utils&#xA;{&#xA;    public class BranchDatasourceUtils&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Utility method for relinking branch datasources&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        public static void RelinkDatasourcesInBranchInstance(Item item, bool descendants = false)&#xA;        {&#xA;            RelinkDatasourcesForItemInBranchInstance(item, item);&#xA;&#xA;            if (!descendants)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            foreach (var descendant in item.Axes.GetDescendants())&#xA;            {&#xA;                RelinkDatasourcesForItemInBranchInstance(descendant, item);&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Utility method for relinking datasources for an item within a branch instance&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;remarks&amp;gt;&#xA;        /// Adapted from original code, written by Kam Figy: &#xA;        /// https://github.com/kamsar/BranchPresets/blob/master/BranchPresets/AddFromBranchPreset.cs&#xA;        /// &amp;lt;/remarks&amp;gt;&#xA;        public static void RelinkDatasourcesForItemInBranchInstance(Item item, Item instanceRoot)&#xA;        {&#xA;            Action&amp;lt;RenderingDefinition&amp;gt; relinkRenderingDatasource =&#xA;                rendering =&amp;gt;&#xA;                    RelinkRenderingDatasourceForItemInBranch(item, instanceRoot, rendering);&#xA;&#xA;            LayoutUtils.ApplyActionToAllRenderings(item, relinkRenderingDatasource);&#xA;        }&#xA;&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Utility method for relinking the datasource for the supplied rendering on an item in the branch instance&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;remarks&amp;gt;&#xA;        /// Adapted from original code, written by Kam Figy: &#xA;        /// https://github.com/kamsar/BranchPresets/blob/master/BranchPresets/AddFromBranchPreset.cs&#xA;        /// &amp;lt;/remarks&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;item&amp;quot;&amp;gt;Item that contains the rendering&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;instanceRoot&amp;quot;&amp;gt;Root item of the branch instance&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;rendering&amp;quot;&amp;gt;Rendering to be relinked&amp;lt;/param&amp;gt;&#xA;        public static void RelinkRenderingDatasourceForItemInBranch(Item item, Item instanceRoot, RenderingDefinition rendering)&#xA;        {&#xA;            var branchBasePath = item.Branch.InnerItem.Paths.FullPath;&#xA;&#xA;            if (string.IsNullOrWhiteSpace(rendering.Datasource))&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            var database = item.Database;&#xA;&#xA;            // note: queries and multiple item datasources are not supported&#xA;            var renderingTargetItem = database.GetItem(rendering.Datasource);&#xA;&#xA;            Assert.IsNotNull(&#xA;                renderingTargetItem,&#xA;                &amp;quot;Error while expanding branch template rendering datasources: data source {0} was not resolvable.&amp;quot;&#xA;                    .FormatWith(rendering.Datasource));&#xA;&#xA;            // if there was no valid target item OR the target item is not a child of the branch template we skip out&#xA;            if (renderingTargetItem == null ||&#xA;                !renderingTargetItem.Paths.FullPath.StartsWith(branchBasePath, StringComparison.OrdinalIgnoreCase))&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            // get the path relative to the branch item&#xA;            var relativeRenderingPath =&#xA;                renderingTargetItem.Paths.FullPath.Substring(branchBasePath.Length);&#xA;            &#xA;            // replace $name Sitecore tokens in path&#xA;            relativeRenderingPath = relativeRenderingPath&#xA;                .Replace(&amp;quot;$name&amp;quot;, instanceRoot.Name);&#xA;&#xA;            var newTargetPath = instanceRoot.Parent.Paths.FullPath + relativeRenderingPath;&#xA;            var newTargetItem = database.GetItem(newTargetPath);&#xA;&#xA;            // if the target item was a valid under branch item, but the same relative path does not exist under the branch instance&#xA;            // we set the datasource to something invalid to avoid any potential unintentional edits of a shared data source item&#xA;            rendering.Datasource = newTargetItem?.ID.ToString() ?? &amp;quot;INVALID_BRANCH_SUBITEM_ID&amp;quot;;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;LayoutUtils:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using Sitecore;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Fields;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Layouts;&#xA;using Sitecore.SecurityModel;&#xA;&#xA;namespace Delphic.Platform.Sc.Rules.Utils&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Layout Utilities class&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;remarks&amp;gt;&#xA;    /// Adapted from original code, written by Kam Figy: &#xA;    /// https://github.com/kamsar/BranchPresets/blob/master/BranchPresets/AddFromBranchPreset.cs&#xA;    /// &amp;lt;/remarks&amp;gt;&#xA;    public static class LayoutUtils&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        ///     Invokes Action on all Renderings on item&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        public static void ApplyActionToAllRenderings(Item item, Action&amp;lt;RenderingDefinition&amp;gt; action)&#xA;        {&#xA;            ApplyActionToAllSharedRenderings(item, action);&#xA;            ApplyActionToAllFinalRenderings(item, action);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        ///     Invokes Action on all Shared Renderings on item&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        public static void ApplyActionToAllSharedRenderings(Item item, Action&amp;lt;RenderingDefinition&amp;gt; action)&#xA;        {&#xA;            ApplyActionToLayoutField(item, FieldIDs.LayoutField, action);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        ///     Invokes Action on all Final Renderings on item&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        public static void ApplyActionToAllFinalRenderings(Item item, Action&amp;lt;RenderingDefinition&amp;gt; action)&#xA;        {&#xA;            ApplyActionToLayoutField(item, FieldIDs.FinalLayoutField, action);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        ///     Invokes Action on all Final Renderings on item&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        private static void ApplyActionToLayoutField(Item item, ID fieldId, Action&amp;lt;RenderingDefinition&amp;gt; action)&#xA;        {&#xA;            var currentLayoutXml = LayoutField.GetFieldValue(item.Fields[fieldId]);&#xA;            if (string.IsNullOrEmpty(currentLayoutXml))&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            var newXml = ApplyActionToLayoutXml(currentLayoutXml, action);&#xA;            if (newXml == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            using (new SecurityDisabler())&#xA;            {&#xA;                using (new EditContext(item))&#xA;                {&#xA;                    // NOTE: when dealing with layouts its important to get and set the field value with LayoutField.Get/SetFieldValue()&#xA;                    // if you fail to do this you will not process layout deltas correctly and may instead override all fields (breaking full inheritance), &#xA;                    // or attempt to get the layout definition for a delta value, which will result in your wiping the layout details when they get saved.&#xA;                    LayoutField.SetFieldValue(item.Fields[fieldId], newXml);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        private static string ApplyActionToLayoutXml(string xml, Action&amp;lt;RenderingDefinition&amp;gt; action)&#xA;        {&#xA;            var layout = LayoutDefinition.Parse(xml);&#xA;&#xA;            // normalize the output in case of any minor XML differences (spaces, etc)&#xA;            xml = layout.ToXml(); &#xA;&#xA;            // loop over devices in the rendering&#xA;            for (var deviceIndex = layout.Devices.Count - 1; deviceIndex &amp;gt;= 0; deviceIndex--)&#xA;            {&#xA;                var device = layout.Devices[deviceIndex] as DeviceDefinition;&#xA;                if (device == null)&#xA;                {&#xA;                    continue;&#xA;                }&#xA;&#xA;                // loop over renderings within the device&#xA;                for (var renderingIndex = device.Renderings.Count - 1; renderingIndex &amp;gt;= 0; renderingIndex--)&#xA;                {&#xA;                    var rendering = device.Renderings[renderingIndex] as RenderingDefinition;&#xA;                    if (rendering == null)&#xA;                    {&#xA;                        continue;&#xA;                    }&#xA;&#xA;                    // run the action on the rendering&#xA;                    action(rendering);&#xA;                }&#xA;            }&#xA;&#xA;            var layoutXml = layout.ToXml();&#xA;&#xA;            // save a modified layout value if necessary&#xA;            return layoutXml != xml ? layoutXml : null;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-11-28T23:52:05.883" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2928" PostTypeId="2" ParentId="2926" CreationDate="2016-11-29T02:31:54.887" Score="4" Body="&lt;p&gt;Dan, a very good question. Bringing back error messages through the SPE Remoting is quite tricky because of the way PowerShell handles streams of data. Script output is handled one way, and errors (or informational messages) are handled in a different way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some possible ways for you to troubleshoot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; Run script without the use of asynchronous jobs. If the script turns fairly quickly then it won't be an issue in your testing. Running as a scheduled task, however, may be more suitable for async jobs. The &lt;strong&gt;ErrorRecord&lt;/strong&gt; object is returned in the output.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Module -Name SPE&#xA;&#xA;$session = New-ScriptSession -Username michael -Password b -ConnectionUri http://spe&#xA;Invoke-RemoteScript -Session $session -ScriptBlock { &#xA;    $templatesPath = &quot;master:/sitecore/content/pathdoesnotactuallyexist&quot;&#xA;    Remove-Item &quot;$($templatesPath)&quot;-Force -ParameterDoesNotActuallyExist&#xA;}&#xA;&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using the above example you will see this in the Windows PowerShell ISE (remotely).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ohjT2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ohjT2.png&quot; alt=&quot;ISE error message without async job&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you may be thinking, &lt;em&gt;&quot;Well what if the job does take a while to run?&quot;&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; Run script asynchronously. A string version of the error is returned.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Module -Name SPE&#xA;&#xA;$session = New-ScriptSession -Username michael -Password b -ConnectionUri http://spe&#xA;$jobId = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;    try {&#xA;        $templatesPath = &quot;master:/sitecore/content/pathdoesnotactuallyexist&quot;&#xA;        Remove-Item &quot;$($templatesPath)&quot;-Force -ParameterDoesNotActuallyExist&#xA;    } catch {&#xA;        $_&#xA;    }&#xA;} -AsJob&#xA;&#xA;Wait-RemoteScriptSession -Session $session -Id $jobId -Delay 1&#xA;&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using the above example you will see this int he Windows PowerShell ISE (remotely).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Gia7e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Gia7e.png&quot; alt=&quot;ISE error message with async job&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This currently looks a little less polished but still gets the job done.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you desire for your script to return an error message for commands that normally continue, add &lt;code&gt;$ErrorActionPreference = &quot;Stop&quot;&lt;/code&gt; in your &lt;code&gt;ScriptBlock&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; Run script asynchronously and stop on any error.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Module -Name SPE&#xA;&#xA;$session = New-ScriptSession -Username michael -Password b -ConnectionUri http://spe&#xA;$jobId = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;    $ErrorActionPreference = &quot;Stop&quot;&#xA;    try {&#xA;        $templatesPath = &quot;master:/sitecore/content/pathdoesnotactuallyexist&quot;&#xA;        Get-Item &quot;$($templatesPath)&quot;-Force&#xA;    } catch {&#xA;        $_&#xA;    }&#xA;} -AsJob&#xA;&#xA;Wait-RemoteScriptSession -Session $session -Id $jobId -Delay 1&#xA;&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oj6GW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oj6GW.png&quot; alt=&quot;Error on Get-Item command&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update 2&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Version 4.4.1+ should include support for Write-Verbose and other &lt;code&gt;Write-&lt;/code&gt; commands.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about it &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/824&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oczmT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oczmT.png&quot; alt=&quot;Streams&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-12-28T20:41:28.643" LastActivityDate="2019-12-28T20:41:28.643" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="2929" PostTypeId="1" AcceptedAnswerId="2947" CreationDate="2016-11-29T06:38:11.143" Score="10" ViewCount="25091" Body="&lt;p&gt;We have upgraded our platform to Sitecore 8.2 recently and in the preview we are getting below error. We disabled all glass mapper related config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;No parameterless constructor defined for this object.&#xA;&#xA;Description: An unhandled exception occurred. &#xA;&#xA;Exception Details: System.MissingMethodException: No parameterless constructor defined for this object.&#xA;&#xA;Stack Trace: &#xA;&#xA;[MissingMethodException: No parameterless constructor defined for this object.]&#xA;   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck) +0&#xA;   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark) +113&#xA;   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark) +206&#xA;   System.Activator.CreateInstance(Type type, Boolean nonPublic) +83&#xA;   System.Activator.CreateInstance(Type type) +11&#xA;   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +55&#xA;&#xA;[InvalidOperationException: An error occurred when trying to create a controller of type 'xxxxxxxxx.xxxxxxxxx.Website.Controllers.HomeController'. Make sure that the controller has a parameterless public constructor.]&#xA;   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +178&#xA;   System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +76&#xA;   System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +88&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateControllerInstance(RequestContext requestContext, String controllerName) +184&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName) +68&#xA;&#xA;[ControllerCreationException: Could not create controller: 'Home'. &#xA;The context item is: '/sitecore/content/xxxxxxxxx/xxxxxxxxx-xxxxxxxxx-brand/xxxxxxxxx-xxxxxxxxx/home'. &#xA;The current route url is: '{*pathInfo}'. This is the default Sitecore route which is set up in the 'InitializeRoutes' processor of the 'initialize' pipeline. ]&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName) +121&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.CreateControllerUsingFactory() +53&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.CreateController() +5&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.GetController() +17&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.Execute() +36&#xA;   Sitecore.Mvc.Presentation.ControllerRenderer.Render(TextWriter writer) +95&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +15&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +52&#xA;   (Object , Object[] ) +59&#xA;   Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters) +36&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +162&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +18&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args) +18&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +138&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.RunRenderRenderingPipeline(Rendering rendering, TextWriter writer) +77&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.&amp;lt;.ctor&amp;gt;b__0(Rendering rendering, StringWriter writer) +5&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.RenderRendering(Rendering rendering) +42&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Rendering(String pathOrId, Object parameters) +92&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Rendering(String pathOrId) +12&#xA;   ASP._Page_Views_xxxxxxxxx_xxxxxxxxx_xxxxxxxxx_Corporate_xxxxxxxxx_xxxxxxxxx_Layouts_LayoutMain_cshtml.Execute() in c:\inetpub\wwwroot\LeicaLocal8.1\Website\Views\xxxxxxxxx\xxxxxxxxx xxxxxxxxx Corporate\xxxxxxxxx xxxxxxxxx\Layouts\LayoutMain.cshtml:7&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +105&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90&#xA;   System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +234&#xA;   System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107&#xA;   System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) +280&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +91&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +244&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/Views/xxxxxxxxx/xxxxxxxxx xxxxxxxxx Corporate/xxxxxxxxx xxxxxxxxx/Layouts/LayoutMain.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +513&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +15&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +52&#xA;   (Object , Object[] ) +59&#xA;   Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters) +36&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +162&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +18&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args) +18&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +138&#xA;   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +216&#xA;   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +291&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +56&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +52&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass2b.&amp;lt;BeginInvokeAction&amp;gt;b__1c() +173&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult) +36&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1108" LastEditorUserId="312" LastEditDate="2019-10-07T18:06:47.110" LastActivityDate="2022-10-06T15:14:37.907" Title="&quot;No parameterless constructor defined for this object&quot; after upgrade to Sitecore 8.2" Tags="|upgrade|dependency-injection|" AnswerCount="4" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="2930" PostTypeId="1" CreationDate="2016-11-29T08:53:33.713" Score="10" ViewCount="1220" Body="&lt;p&gt;I need to cut rich text field value to render only 100 first symbols and '...' at the end. The issue is rich text field value looks like&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;&amp;lt;strong style=&quot;background-color: #ffffff; margin: 0px; padding: 0px; text-align: justify;&quot;&amp;gt;Lorem Ipsum&amp;lt;/strong&amp;gt;&amp;lt;span style=&quot;background-color: #ffffff; text-align: justify;&quot;&amp;gt;&amp;amp;nbsp;is&amp;lt;em&amp;gt;&amp;lt;strong&amp;gt; simply dummy text of the printin&amp;lt;/strong&amp;gt;&amp;lt;/em&amp;gt;g and typesettin&amp;lt;a href=&quot;http://https://sitecore.stackexchange.com/&quot;&amp;gt;g indust&amp;lt;/a&amp;gt;ry. Lorem Ipsu&amp;lt;em&amp;gt;&amp;lt;strong&amp;gt;m has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It &amp;lt;/strong&amp;gt;&amp;lt;/em&amp;gt;has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum&amp;lt;/span&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So if I use a simple substring function I will have &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;&amp;lt;strong style=&quot;background-color: #ffffff; margin: 0px; padding: 0px; text-align: justify;&quot;&amp;gt;Lorem I&#xA;  &lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;=&gt; &#xA;Lorem I&lt;/p&gt;&#xA;&#xA;&lt;p&gt;instead of &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;&amp;lt;strong style=&quot;background-color: #ffffff; margin: 0px; padding: 0px; text-align: justify;&quot;&amp;gt;Lorem Ipsum&amp;lt;/strong&amp;gt;&amp;lt;span style=&quot;background-color: #ffffff; text-align: justify;&quot;&amp;gt;&amp;amp;nbsp;is&amp;lt;em&amp;gt;&amp;lt;strong&amp;gt; simply dummy text of the printin&amp;lt;/strong&amp;gt;&amp;lt;/em&amp;gt;g and typesettin&amp;lt;a href=&quot;http://https://sitecore.stackexchange.com/&quot;&amp;gt;g indust&amp;lt;/a&amp;gt;ry. Lorem Ipsu&amp;lt;em&amp;gt;&amp;lt;strong&amp;gt;m has been the&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;=&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lorem Ipsum&amp;nbsp;is&lt;em&gt;&lt;strong&gt; simply dummy text of the printin&lt;/strong&gt;&lt;/em&gt;g and typesettin&lt;a href=&quot;http://https://sitecore.stackexchange.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;g indust&lt;/a&gt;ry. Lorem Ipsum has been the&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably sitecore libraries has a functionality to complete it?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-20T17:45:30.667" Title="display only 100 symbols from rich text" Tags="|richtext-editor|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2931" PostTypeId="2" ParentId="2930" CreationDate="2016-11-29T08:59:45.930" Score="0" Body="&lt;p&gt;No Sitecore doesn't have anything like this out of the box. I usually try to avoid things like this because truncating HTML output (what the RTE holds) can (visually) break your page. If you need to do this on overview pages or teaser blocks then it's better to have an additional plain-text field, e.g. multi-line text.&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-11-29T08:59:45.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2932" PostTypeId="2" ParentId="2930" CreationDate="2016-11-29T09:00:10.097" Score="7" Body="&lt;p&gt;Yes, there is. Go with &lt;code&gt;HtmlAgilityPack.dll&lt;/code&gt;. It's already there with your Sitecore site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See here for details: &lt;a href=&quot;https://stackoverflow.com/a/13794743/157833&quot;&gt;HtmlAgilityPack substring of all by length&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mark commented that this is a link only answer, so I'll copy the code from the linked SO question. Please be aware that it's not my code and all the credits go to Serge Belov&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public string TrimRichText(string input, int maxLength)&#xA;{&#xA;    var doc = new HtmlDocument();&#xA;    doc.LoadHtml(input);&#xA;&#xA;    // Get text nodes with the appropriate running total&#xA;    var acc = 0;&#xA;    var nodes = doc.DocumentNode&#xA;        .Descendants()&#xA;        .Where(n =&amp;gt; n.NodeType == HtmlNodeType.Text &amp;amp;&amp;amp; n.InnerText.Trim().Length &amp;gt; 0)&#xA;        .Select(n =&amp;gt;&#xA;        {&#xA;            var length = n.InnerText.Trim().Length;&#xA;            acc += length;&#xA;            return new { Node = n, TotalLength = acc, NodeLength = length };&#xA;        })&#xA;        .TakeWhile(n =&amp;gt; (n.TotalLength - n.NodeLength) &amp;lt; maxLength)&#xA;        .ToList();&#xA;&#xA;    // Select element nodes we intend to keep&#xA;    var nodesToKeep = nodes&#xA;        .SelectMany(n =&amp;gt; n.Node.AncestorsAndSelf()&#xA;            .Where(m =&amp;gt; m.NodeType == HtmlNodeType.Element));&#xA;&#xA;    // Select and remove element nodes we don't need&#xA;    var nodesToDrop = doc.DocumentNode&#xA;        .Descendants()&#xA;        .Where(m =&amp;gt; m.NodeType == HtmlNodeType.Element)&#xA;        .Except(nodesToKeep)&#xA;        .ToList();&#xA;&#xA;    foreach (var r in nodesToDrop)&#xA;        r.Remove();&#xA;&#xA;    // Shorten the last node as required&#xA;    var lastNode = nodes.Last();&#xA;    var lastNodeText = lastNode.Node;&#xA;    var text = lastNodeText.InnerText.Trim().Substring(0,&#xA;            lastNode.NodeLength - lastNode.TotalLength + maxLength);&#xA;    lastNodeText&#xA;        .ParentNode&#xA;        .ReplaceChild(HtmlNode.CreateNode(text), lastNodeText);&#xA;&#xA;    return doc.DocumentNode.OuterHtml;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-11-30T07:48:18.913" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2933" PostTypeId="2" ParentId="2930" CreationDate="2016-11-29T09:11:10.993" Score="10" Body="&lt;p&gt;This problem is best addressed with CSS, where you are trying to control the size of a rendered string, because 100 characters measures a different length depending on what characters they contain. Trite example: 100 x &lt;code&gt;i&lt;/code&gt; is a very different size to 100 x &lt;code&gt;W&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the event you're actually doing a &quot;more&quot; break, the best thing is to get content authors to place an HTML comment into the text to identify the appropriate place to break. I believe this technique is used widely in blogging systems like WordPress. A simple example is &lt;code&gt;&amp;lt;!-- #More --&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Truncating the text is fraught with danger. Using the HtmlAgilityPack for this is only going to double your pain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: use the RadEditor snippet functionality to make it easier for authors!&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-11-29T09:11:10.993" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2935" PostTypeId="1" AcceptedAnswerId="2937" CreationDate="2016-11-29T10:19:33.510" Score="3" ViewCount="807" Body="&lt;p&gt;I've found the necessary answer on my question. But answer provide the name of sitecore support dll. How I can download necessary files if I know support dll name?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastActivityDate="2017-09-19T17:20:56.417" Title="How to download support dll" Tags="|support|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2937" PostTypeId="2" ParentId="2935" CreationDate="2016-11-29T10:26:52.153" Score="7" Body="&lt;p&gt;You can try searching for it here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The dll will have a reference number associated with it Sitecore.Support.xxxxx.dll.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example: &lt;a href=&quot;https://kb.sitecore.net/SearchResults#term=442487&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/SearchResults#term=442487&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can't find it just raise a ticket with Sitecore and they will provide you with the dll.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also recently released is this Github project containing source code for support fixes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/SitecoreSupport&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="222" LastEditorUserId="222" LastEditDate="2016-12-06T09:03:38.757" LastActivityDate="2016-12-06T09:03:38.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2939" PostTypeId="1" AcceptedAnswerId="2941" CreationDate="2016-11-29T10:58:09.500" Score="6" ViewCount="367" Body="&lt;p&gt;I have recently applied for Sitecore MVP nominations 2017. When i looked at my confirmation email, I found I made a mistake.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is there a way to edit it?&lt;/li&gt;&#xA;&lt;li&gt;Is it better to reapply for the MVP nominations?&lt;/li&gt;&#xA;&lt;li&gt;Is reapplying going to affect in any negative way?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any suggestions are appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="312" LastEditDate="2018-11-07T10:09:54.433" LastActivityDate="2018-11-12T18:14:27.323" Title="How to edit Sitecore MVP nomination?" Tags="|community|mvp|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2940" PostTypeId="2" ParentId="2939" CreationDate="2016-11-29T11:01:01.407" Score="0" Body="&lt;p&gt;I would simply reply on the confirmation and explain your situation. Don't think you'll get any penalties if you complete your nomination before November 30th. Just don't re-apply as this will cause lots of confusion.&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-11-29T11:01:01.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2941" PostTypeId="2" ParentId="2939" CreationDate="2016-11-29T11:01:48.550" Score="16" Body="&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; as of Nov 2018 the MVP applications can be saved and edited on the form before finally submitting the information.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;There is no way to edit your nomination and please do not reapply. You can email your problem to mvp-program@sitecore.net and the team there would be really happy to help you.&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2018-11-12T18:14:27.323" LastActivityDate="2018-11-12T18:14:27.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="2942" PostTypeId="1" AcceptedAnswerId="2943" CreationDate="2016-11-29T11:21:08.813" Score="2" ViewCount="297" Body="&lt;p&gt;I have a setup with two CM servers (I know, 3 would be better...) and want to designate one as the publishing/task server. I have read this question and answer &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1331/setting-up-multiple-cm-servers&quot;&gt;Setting up multiple CM servers&lt;/a&gt; but my scenario is slightly different in that the CM servers use DFS to synch the file systems. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Must I disable DFS and use different configs for each server, or is it possible to use the same config on both servers (they are named CM01 and CM02):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM02&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-11-29T12:19:30.673" Title="Configuring multiple CM servers with DFS synchronisation" Tags="|publishing|scaling|load-balancer|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2943" PostTypeId="2" ParentId="2942" CreationDate="2016-11-29T12:19:30.673" Score="1" Body="&lt;p&gt;There is no need to disable the DFS. Because the Job Server (publishing/task) will mainly deals with Sitecore Items while the DFS is used for the files synchronization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to keep in mind is that when using the DFS, you will have a master server along with slave servers. So, file deployment should be performed on the Master Server so that it gets synchronized on the slave servers.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2016-11-29T12:19:30.673" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2944" PostTypeId="1" AcceptedAnswerId="2946" CreationDate="2016-11-29T12:34:21.293" Score="1" ViewCount="395" Body="&lt;p&gt;I'm creating a condition for the segment builder inheriting from &lt;code&gt;TypedQueryableStringOperatorCondition&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm overriding the method &lt;code&gt;GetResultPredicate&lt;/code&gt; to apply my filter like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return base.GetCompareExpression((IndexedContact c) =&amp;gt; c[&quot;contact.myfield&quot;], &quot;myvalue&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is translated into the following query:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;contact.myfield:myvalue&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So good so far, but if the value I'm looking for has more than one word or pipe to split terms it adds double quotes to the query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return base.GetCompareExpression((IndexedContact c) =&amp;gt; c[&quot;contact.myfield&quot;], &quot;my value&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is translated into the following query:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;contact.myfield:&quot;my value&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In my case the query I'm trying to get is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;contact.myfield:my value&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To get result containing &quot;my&quot; or &quot;value&quot;&#xA;I have tried using the Operator contains, but it has been translated into a massive &lt;code&gt;spanNear([SpanWildcardQuery&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea how to achieve the query:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;contact.myfield:my value&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Trying to make it easier or clearer what I'm really trying to do is to find contacts containing any of the &quot;words&quot; in that field. It's fine If I have to change the approach.&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="70" LastEditDate="2016-11-29T13:00:35.420" LastActivityDate="2016-11-29T13:13:17.073" Title="How to avoid double quotes for is equal to when using segment builder" Tags="|content-search|segmentation|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2945" PostTypeId="1" AcceptedAnswerId="2949" CreationDate="2016-11-29T12:49:45.437" Score="3" ViewCount="544" Body="&lt;p&gt;I've installed Coveo (pro cloud edition with the October 2016 package), and after installation I went and changed the farm name and Sitecore account it was using (the account I switched to is still an administrator account). When I tried to access the diagnostic page, I got a YSOD message with &quot;No SecurityProviderConversionHelper found for index: Coveo_master_index.&quot; Looking around, I thought it could be because I hadn't kicked off an initial index yet, but when I go to the indexing manager, I get the same error. I don't see this message around the developer or answers sites on Coveo, so assistance appreciated.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2016-11-29T15:04:46.267" Title="Coveo error when accessing index manager: No SecurityProviderConversionHelper found for index: Coveo_master_index" Tags="|coveo|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2946" PostTypeId="2" ParentId="2944" CreationDate="2016-11-29T12:58:42.270" Score="1" Body="&lt;p&gt;What you need is an &quot;or&quot;-based expression that has a separate condition for every search term:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.ContentSearch.Linq.Utilities;&#xA;&#xA;// ...&#xA;&#xA;IEnumerable&amp;lt;string&amp;gt; keywords = new string[] { &quot;my&quot;, &quot;value&quot; };&#xA;&#xA;Expression&amp;lt;Func&amp;lt;IndexedContact, bool&amp;gt;&amp;gt; keywordsPredicate =&#xA;    keywords.Aggregate(&#xA;        PredicateBuilder.False&amp;lt;IndexedContact&amp;gt;(),&#xA;            (current, keyword) =&amp;gt; current.Or(&#xA;                c =&amp;gt; base.GetCompareExpression(c[&quot;contact.myfield&quot;], keyword)));&#xA;&#xA;return keywordsPredicate;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please note that &lt;code&gt;GetCompareExpression()&lt;/code&gt; may return different operators. It's up to you what to do when the operator is not &quot;equals&quot;.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-29T13:13:17.073" LastActivityDate="2016-11-29T13:13:17.073" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2947" PostTypeId="2" ParentId="2929" CreationDate="2016-11-29T13:41:11.427" Score="10" Body="&lt;p&gt;The reason you are getting &lt;code&gt;No parameterless constructor&lt;/code&gt; error is because Sitecore cannot create an instance of your controller that takes parameters. Without dependency injection working correctly, Sitecore is looking for a controller that takes not inputs like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult MyController()&#xA;{&#xA;   //stuff&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What you do have is one that takes parameters, like a service or a repository.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private readonly IAccountService _accountService;&#xA;&#xA;public ActionResult MyController(IAccountService accountService)&#xA;{&#xA;    _accountService = accountService;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your IoC container is responsible for resolving these input parameters for Sitecore, but that seems to not be working now in your solution. Which IoC container you are using is not known yet, but in Sitecore 8.2 an IoC container is available by default. You may consider making the investment to move to that to resolve your issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;noreferrer&quot;&gt;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/09/17/Habitat-Dependency-Injection-with-Sitecore-8-2/&quot; rel=&quot;noreferrer&quot;&gt;http://www.sitecorenutsbolts.net/2016/09/17/Habitat-Dependency-Injection-with-Sitecore-8-2/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2016-11-29T14:49:30.203" LastActivityDate="2016-11-29T14:49:30.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2948" PostTypeId="2" ParentId="2945" CreationDate="2016-11-29T14:33:00.900" Score="0" Body="&lt;p&gt;Did you synchronize after you changed the farm name? You could also do a reindex or a publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I recommend you making sure the configs look good, followed by doing a security cache flush and synchronize.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2016-11-29T14:33:00.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2949" PostTypeId="2" ParentId="2945" CreationDate="2016-11-29T15:04:46.267" Score="2" Body="&lt;p&gt;It is a bug introduced with the October package (4.0.450) happening when upgrading and changing the Sitecore account. We are looking for solutions on our side.&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2016-11-29T15:04:46.267" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2950" PostTypeId="1" CreationDate="2016-11-29T15:12:37.543" Score="3" ViewCount="545" Body="&lt;p&gt;I am looking for a way to restrict MIME Types on files uploaded through a WFFM form. What I am really hoping for is a way to control the allowed MIME Types using the rules engine. Even if the solution doesn't use the rules engine, it may still help and is still welcome. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; We are using our own custom File Upload field that inherits from the OOTB one. I would prefer to not have to rewrite or modify this field for this solution to work, but I will if I absolutely must.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1u2 and WFFM 8.1.160304 in an MVC solution.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:47:21.923" LastActivityDate="2017-09-15T13:47:21.923" Title="How do I restrict mime types on files uploaded through a WFFM form in MVC?" Tags="|wffm|mvc|rules-engine|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2952" PostTypeId="1" CreationDate="2016-11-29T15:42:39.927" Score="10" ViewCount="4415" Body="&lt;p&gt;I've ran publish process and forgot to uncheck republish checkbox. Now I need to wait while publishing finish.&#xA;How I can stop publish process without recycling app pool?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="1008" LastEditDate="2016-11-29T16:02:03.677" LastActivityDate="2017-02-23T22:02:22.067" Title="How to stop an active publishing process without recycling app pool" Tags="|publishing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2954" PostTypeId="2" ParentId="2952" CreationDate="2016-11-29T15:47:58.633" Score="2" Body="&lt;p&gt;Unfortunately, Sitecore Client does not have such feature like to view and terminate current running task. The only way would be recycle Sitecore's Application Pool to stop publishing process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Sitecore Marketplace, I found the Advanced Publish Dialog shared source module supports canceling currently running publishing job:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Advanced_Publish_Dialog.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Advanced_Publish_Dialog.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is this module is old, I am not sure if it works on new versions of Sitecore&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-11-29T15:47:58.633" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2955" PostTypeId="1" AcceptedAnswerId="2956" CreationDate="2016-11-29T15:58:51.503" Score="7" ViewCount="1276" Body="&lt;p&gt;We need to apply attributes to rendered links conditionally.  For example, if an internal link points to a specific template, add an attribute to the rendered anchor tag.  Our initial efforts have focused on the &lt;code&gt;&amp;lt;renderField&amp;gt;&lt;/code&gt; pipeline.  We have patched in a processor attempted to modify the &lt;code&gt;args.RenderParameters&lt;/code&gt;, but so far we're out of luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately, this is so that we can open certain links with modal windows.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-01-06T00:05:19.337" Title="Adding Attributes to Rendered Link Programmatically" Tags="|renderfield|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2956" PostTypeId="2" ParentId="2955" CreationDate="2016-11-29T16:10:19.007" Score="9" Body="&lt;p&gt;We have just recently implemented a solution for this, to handle links to a specific template (Modal) differently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We created a custom renderField pipeline processor like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Pipelines&#xA;{&#xA;    public class RenderModalLink&#xA;    {&#xA;        public void Process(RenderFieldArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;            if (Sitecore.Context.Site.DisplayMode == Sitecore.Sites.DisplayMode.Edit)&#xA;                return;&#xA;&#xA;            var field = Sitecore.Data.Fields.FieldTypeManager.GetField(args.GetField());&#xA;&#xA;            // Is it a linkField&#xA;            if (field is LinkField)&#xA;            {&#xA;                // Explicit cast required for some reason&#xA;                LinkField linkField = (LinkField) field;&#xA;&#xA;                // Check if link is&#xA;                if (linkField.LinkType.ToLower() == &quot;internal&quot;)&#xA;                {&#xA;                    // Check if field has a value&#xA;                    if (linkField.TargetItem == null)&#xA;                        return;&#xA;&#xA;                    // Check if target item derives modal template (Synthesis)&#xA;                    var modal = linkField.TargetItem.As&amp;lt;IModalItem&amp;gt;();&#xA;&#xA;                    if (modal != null)&#xA;                    {&#xA;&#xA;                        // Add your custom parameters (HTML attributes) here&#xA;                        args.Parameters.Add(&quot;data-modal&quot;, linkField.GetFriendlyUrl());&#xA;                        args.Parameters.Add(&quot;href&quot;, &quot;javascript:void(0);&quot;);&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and patched it in after the SetParameters processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;renderField&amp;gt;&#xA;  &amp;lt;processor type=&quot;Pipelines.RenderModalLink&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.RenderField.SetParameters, Sitecore.Kernel']&quot;/&amp;gt;&#xA;&amp;lt;/renderField&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2016-11-29T16:22:30.150" LastActivityDate="2016-11-29T16:22:30.150" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2957" PostTypeId="1" AcceptedAnswerId="2963" CreationDate="2016-11-29T16:56:15.180" Score="2" ViewCount="385" Body="&lt;p&gt;I am using &lt;code&gt;Coveo for Sitecore 4 450 build&lt;/code&gt;. Noticing this error only on few environments. I looked up there is no &lt;code&gt;CleanUpIndexAfterRebuildException&lt;/code&gt; entry in the coveo configs. Any ideas on how I can troubleshoot this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Index_Update_IndexName=Coveo_master_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; Coveo.CloudPlatformClient.Exceptions.CleanUpIndexAfterRebuildException: An error occurred while querying documents to delete. ---&amp;gt; Coveo.Framework.Utils.Rest.HttpClientException: Failed to obtain resource located at 'http://devsite/coveo/rest?pipeline='.&#xA;[BEGIN RESPONSE BODY]{&quot;message&quot;:&quot;The remote name could not be resolved: 'platform.cloud.coveo.com'&quot;,&quot;errorCode&quot;:&quot;NameResolutionFailure&quot;}[END RESPONSE BODY] ---&amp;gt; System.Net.WebException: The remote server returned an error: (503) Server Unavailable.&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;at Coveo.Framework.Utils.Rest.HttpClient.ExecuteRequest(String p_Url, Func`2 p_CreateRequest, Int64 p_CallId)&#xA;--- End of inner exception stack trace ---&#xA;at Coveo.Framework.Utils.Rest.HttpClient.HandleResponseException(WebException p_Exception, String p_Url, Int64 p_CallId)&#xA;at Coveo.Framework.Utils.Rest.HttpClient.ExecuteRequest(String p_Url, Func`2 p_CreateRequest, Int64 p_CallId)&#xA;at Coveo.Framework.Utils.Rest.HttpClient.PostRaw(String p_Url, String p_Body)&#xA;at Coveo.Framework.Utils.Rest.HttpClient.Post(String p_Url, String p_Body)&#xA;at Coveo.SearchServiceProvider.Rest.SearchQueryHelper.ExecuteQuery(QueryParams p_QueryParams, String p_Username)&#xA;at Coveo.CloudPlatformClient.CleanUpAfterRebuild.CleanUpIndexAfterRebuildPerformer.ExecuteQuery(QueryParams p_QueryParams, String p_Username)&#xA;--- End of inner exception stack trace ---&#xA;at Coveo.CloudPlatformClient.CleanUpAfterRebuild.CleanUpIndexAfterRebuildPerformer.ExecuteQuery(QueryParams p_QueryParams, String p_Username)&#xA;at Coveo.CloudPlatformClient.CleanUpAfterRebuild.CleanUpIndexAfterRebuildPerformer.QueryForDocumentToDelete(QueryParams p_QueryParams, String p_Username)&#xA;at Coveo.CloudPlatformClient.CleanUpAfterRebuild.CleanUpIndexAfterRebuildPerformer.ExecuteCleanUp(String p_SourceName, DateTime p_LastRebuildDate, String p_Username, ICloudPlatformClient p_CloudPlatformClient, IManagedThreadPool p_ManagedThreadPool, HashSet`1 p_IndexedDocuments)&#xA;at Coveo.CloudPlatformClient.DocumentManagement.CloudPlatformDocumentsHandler.ProcessStopRebuild(RebuildContext p_Context)&#xA;at Coveo.CloudPlatformClient.DocumentManagement.CloudPlatformDocumentsHandler.StopRebuild(RebuildContext p_Context)&#xA;at Coveo.CloudPlatformClient.DocumentManagement.CloudPlatformDocumentIndexer.StopRebuild(RebuildContext p_Context)&#xA;at Coveo.CloudPlatformClient.Communication.CloudPlatformCommunication.StopRebuild(RebuildContext p_Context)&#xA;at Coveo.SearchProvider.ProviderIndexBase.PerformRebuild(IProviderUpdateContext p_Context, Action`1 p_CrawlerAction)&#xA;at Coveo.SearchProvider.ProviderIndexBase.Rebuild(IndexingOptions p_IndexingOptions, IProviderUpdateContext p_Context, Action`1 p_CrawlerAction)&#xA;at Coveo.SearchProvider.ProviderIndex.TryPerformIndexingOperation(IndexingOptions p_IndexingOptions, Action p_Action)&#xA;at Coveo.SearchProvider.ProviderIndex.Rebuild()&#xA;--- End of inner exception stack trace ---&#xA;at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="2727" LastEditDate="2018-03-29T18:08:55.740" LastActivityDate="2018-03-29T18:08:55.740" Title="Coveo cloud indexing error with &quot;NameResolutionFailure&quot; error code" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2958" PostTypeId="1" AcceptedAnswerId="2960" CreationDate="2016-11-29T16:58:27.037" Score="2" ViewCount="987" Body="&lt;p&gt;I'd use the API if having the choice, but right now I don't have the time for a learning curve, so I'm doing direct:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UPDATE       VersionedFields&#xA;SET Value = 'Hypothesis Testing' &#xA;WHERE Id =  'B8B9465E-1FB9-4717-BE14-0524DA1B4630'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in preparation for bigger batching to come.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However the change is not showing on the page, after browser reload and browser cache clearing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;No &quot;Publishing&quot; action is involved because the test site points on the Master database (so from &quot;Content Editor&quot; a simple Save is enough to show the change instantly on the Web site pointing on Master). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also when I open a fresh /sitecore &quot;Content Editor&quot; after a SQL direct &lt;code&gt;UPDATE&lt;/code&gt;, this is still the old value from before my UPDATE that shows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I know that it's not reading directly from the DB even when starting a new Editing session, but from some cache. I had tried a:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/Sitecore =&amp;gt; Control Panel =&amp;gt; Database =&amp;gt; &quot;Rebuild search indexes&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;on my local box, but it had done just bubbles. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I must not be very far and will continue to search for answers, but in the meantime if one knows how to trigger the DB change to finally show on the page, I'll take that!&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="73" LastEditDate="2016-11-29T21:40:10.047" LastActivityDate="2016-11-29T21:40:10.047" Title="Direct SQL INSERT/UPDATE not showing on Web page" Tags="|sql-database|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2960" PostTypeId="2" ParentId="2958" CreationDate="2016-11-29T17:20:01.293" Score="4" Body="&lt;p&gt;As already mentioned, and you are probably aware, what you are doing is really not a good way to edit data. But to fix your issue now: Sitecore does cache data. So you will need to clear those caches to see your changes. You can use &lt;code&gt;../sitecore/admin/cache.aspx&lt;/code&gt; to clear caches. Or restart your site to clear everything ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-29T17:20:01.293" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2961" PostTypeId="1" AcceptedAnswerId="3088" CreationDate="2016-11-29T17:41:09.380" Score="2" ViewCount="1277" Body="&lt;p&gt;Validation errors are not appearing in the experience editor for our shared QA environment. I have a content item that is identical in both environments (I packaged it up to make sure). On my local developer environment, I see the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4kVJ1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4kVJ1.png&quot; alt=&quot;Error bar and error outline&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, on the shared QA environment, I see this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5VIdS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5VIdS.png&quot; alt=&quot;No errors&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I pointed my local connection strings to the shared QA environment to see if everything still worked. The validation errors no longer displayed on my local environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To me, this indicates the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It is &lt;strong&gt;not&lt;/strong&gt; likely a config issue&lt;/li&gt;&#xA;&lt;li&gt;It is &lt;strong&gt;not&lt;/strong&gt; likely an environment-specific issue&lt;/li&gt;&#xA;&lt;li&gt;It is likely a database/content issue&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I did the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Compared the validation rules on the fields across, and they're both the same. &lt;/li&gt;&#xA;&lt;li&gt;Compared workflows and the user's security rights/roles. &lt;/li&gt;&#xA;&lt;li&gt;Confirmed the validation in the content editor works fine on both environments.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I want the validation errors to display on all environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sitecore 8.1 rev. 151207&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: It turns out 1 user (mine) can see validation, but nobody else can. I tested between two admin accounts. All security permissions are the same between them. I serialized both users and saw this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TseFj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TseFj.png&quot; alt=&quot;Serialized&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspect the blue box is why I can see validation but they cannot.&lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="4" LastEditDate="2016-12-02T16:11:36.927" LastActivityDate="2016-12-02T16:18:36.667" Title="Validation Errors Not Showing Up in Experience Editor" Tags="|experience-editor|validation|" AnswerCount="3" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="2962" PostTypeId="2" ParentId="2961" CreationDate="2016-11-29T18:24:35.673" Score="4" Body="&lt;p&gt;There may be different reasons for this behavior.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Suppressed validation rules&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the Content Editor.&lt;/li&gt;&#xA;&lt;li&gt;In the ribbon tab &quot;View&quot;, make sure that the &quot;Standard fields&quot; checkbox is checked.&lt;/li&gt;&#xA;&lt;li&gt;Open the &lt;code&gt;__Standard Values&lt;/code&gt; item of the template used by the item.&lt;/li&gt;&#xA;&lt;li&gt;Find the field &quot;Suppressed validation rules&quot; in the section &quot;Validation Rules&quot;.&lt;/li&gt;&#xA;&lt;li&gt;Clear the value of the field.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This will revert the suppression of your validation rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about this functionality here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-cms-6-4-suppress-validation-rules&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-cms-6-4-suppress-validation-rules&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Missing definitions of custom validation rules&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In case you have custom validation rules, they must be deployed on all environments. Otherwise, validation will fail.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-29T18:41:42.453" LastActivityDate="2016-11-29T18:41:42.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2963" PostTypeId="2" ParentId="2957" CreationDate="2016-11-29T18:37:53.670" Score="3" Body="&lt;p&gt;With this error in the stack trace &lt;code&gt;&quot;The remote name could not be resolved: 'platform.cloud.coveo.com'&quot;,&quot;errorCode&quot;:&quot;NameResolutionFailure&quot;&lt;/code&gt;, it looks like your Sitecore instance can't communicate with Coveo Cloud.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have you tried accessing this URL directly from a browser in this same instance?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should probably check if there are any errors in the Coveo Diagnostic Page, accessible from &lt;code&gt;YOUR_SITECORE_INSTANCE/sitecore%20modules/Web/Coveo/Admin/CoveoDiagnosticPage.aspx&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2016-11-29T18:37:53.670" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2964" PostTypeId="2" ParentId="2961" CreationDate="2016-11-29T19:13:55.760" Score="2" Body="&lt;p&gt;Off the top of my head, there are a few reasons why different core databases might cause this issue (assuming there's nothing useful in the logs):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The user you're using to access the page doesn't have access rights to the rules or something else required for this functionality. It's possible that your users are slightly different or that the security set on the rules in each master database are slightly different.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There's something missing from the core databases that's needed.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reason 1&lt;/strong&gt;&#xA;To check the rules, point to the qa databases (including core), look at the roles and user associated with the user you're logging in as when this occurs in the access viewer to see whether they have access to the rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reason 2&lt;/strong&gt;&#xA;You could try serialising both core databases and doing a diff, maybe it'll be obvious. Or if you have TDS or Unicorn you could try doing it with those. It could be that the two environments are too different for this to work but it's worth a try!&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-11-29T19:13:55.760" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2965" PostTypeId="1" CreationDate="2016-11-29T20:08:17.157" Score="6" ViewCount="2370" Body="&lt;p&gt;I would like to add a new admin page that will only be available to users logged into the Sitecore admin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess the page is supposed to inherit from &lt;code&gt;Sitecore.sitecore.admin.AdminPage&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And, then call the &lt;code&gt;CheckSecurity&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void OnInit(EventArgs e)&#xA;{&#xA;    this.CheckSecurity(false);&#xA;    base.OnInit(e);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this basically all I need to know to get this to work?&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="70" LastEditDate="2016-11-29T20:48:01.637" LastActivityDate="2016-11-29T21:38:49.747" Title="Creating a Custom Sitecore Admin Page to Create a Report" Tags="|admin-pages|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2966" PostTypeId="1" AcceptedAnswerId="2986" CreationDate="2016-11-29T20:21:54.230" Score="6" ViewCount="1684" Body="&lt;p&gt;I would like to capture more log info from Sitecore Logging. Changes such as what exactly was edited, what text changes were added or removed. Which images were added and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone done anything like this already? I found an article &lt;a href=&quot;http://info.exsquared.com/ex-squared-blog/logging-changes-in-sitecore-made-by-content-authors&quot; rel=&quot;noreferrer&quot;&gt;http://info.exsquared.com/ex-squared-blog/logging-changes-in-sitecore-made-by-content-authors&lt;/a&gt; but it is not working properly. The &lt;code&gt;AssemblyInfo.cs&lt;/code&gt; file is the problem I think.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any help would be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="73" LastEditDate="2016-11-29T21:37:59.613" LastActivityDate="2016-11-30T21:31:54.420" Title="Logging Changes in Sitecore 8.1 Made by Content Authors" Tags="|logging|log4net|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2967" PostTypeId="2" ParentId="2966" CreationDate="2016-11-29T20:28:17.413" Score="7" Body="&lt;p&gt;Sounds like you need &lt;a href=&quot;https://jeffdarchuk.com/2016/10/17/sitecore-sidekick-audit-logger/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Sidekick Audit Logger&lt;/a&gt; - its a package you can install and provides much more detailed audit logging than the standard log files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can search the log:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/N0haK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N0haK.png&quot; alt=&quot;Search the audit log&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search by item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QX9PI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QX9PI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and in the results you can see the details of the changes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m2uSg.gif&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m2uSg.gif&quot; alt=&quot;Edit changes&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should give you most of what you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT: Installation Instructions Added&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest way to install without the Sitecore package from the market place, would be to add the &lt;a href=&quot;https://www.nuget.org/packages/SitecoreSidekickCore&quot; rel=&quot;noreferrer&quot;&gt;NuGet Package&lt;/a&gt; to your project. When you deploy your project all the Sidekick binaries and content would be deployed also. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Package SitecoreSidekickCore&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The first time that your application starts after Sidekick is installed, Sidekick will create all the Desktop icons it needs for you to run the application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Doing it this way also means that you can customize the configuration. You may want to change some of the default options listed here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;scsRegister&amp;gt;&#xA;    &amp;lt;processor type=&quot;ScsAuditLog.AuditLogHandler, ScsAuditLog&quot;&amp;gt;&#xA;        &amp;lt;!-- 0 for indefinately -1 for no backup--&amp;gt;&#xA;        &amp;lt;param name=&quot;keepBackups&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- 0 for indefinately--&amp;gt;&#xA;        &amp;lt;param name=&quot;keepRecords&quot;&amp;gt;3&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- leave blank for any role, seperate multiple roles by | character --&amp;gt;&#xA;        &amp;lt;param name=&quot;roles&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- set to &quot;true&quot; to only allow admins--&amp;gt;&#xA;        &amp;lt;param name=&quot;isAdmin&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- leave blank for any users, seperate multiple users by | character --&amp;gt;&#xA;        &amp;lt;param name=&quot;users&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        &amp;lt;events hint=&quot;raw:AddEventProcessor&quot;&amp;gt;&#xA;            &amp;lt;onSaved type=&quot;ScsAuditLog.Pipelines.OnSave, ScsAuditLog&quot; color=&quot;blue&quot; id=&quot;0&quot; label=&quot;Item was saved&quot; event=&quot;item:saved&quot; /&amp;gt;&#xA;            &amp;lt;onSaved type=&quot;ScsAuditLog.Pipelines.OnMoved, ScsAuditLog&quot; color=&quot;brown&quot; id=&quot;1&quot; label=&quot;Item was moved&quot; event=&quot;item:moved&quot; /&amp;gt;&#xA;            &amp;lt;onSaved type=&quot;ScsAuditLog.Pipelines.OnDeleted, ScsAuditLog&quot; color=&quot;red&quot; id=&quot;2&quot; label=&quot;Item was deleted&quot; event=&quot;item:deleting&quot; /&amp;gt;&#xA;            &amp;lt;onSaved type=&quot;ScsAuditLog.Pipelines.OnRename, ScsAuditLog&quot; color=&quot;orange&quot; id=&quot;3&quot; label=&quot;Item was renamed&quot; event=&quot;item:renamed&quot; /&amp;gt;&#xA;            &amp;lt;onSaved type=&quot;ScsAuditLog.Pipelines.OnCreated, ScsAuditLog&quot; color=&quot;green&quot; id=&quot;4&quot; label=&quot;Item was created&quot; event=&quot;item:created&quot; /&amp;gt;&#xA;            &amp;lt;onSaved type=&quot;ScsAuditLog.Pipelines.GeneralEvent, ScsAuditLog&quot; color=&quot;#dd33ff&quot; id=&quot;7&quot; label=&quot;Item was unlocked&quot; event=&quot;item:unlocked&quot; /&amp;gt;&#xA;            &amp;lt;onSaved type=&quot;ScsAuditLog.Pipelines.GeneralEvent, ScsAuditLog&quot; color=&quot;#aaaaff&quot; id=&quot;8&quot; label=&quot;Item was locked&quot; event=&quot;item:locked&quot; /&amp;gt;&#xA;        &amp;lt;/events&amp;gt;&#xA;        &amp;lt;customEvents hint=&quot;raw:RegisterCustomEventType&quot;&amp;gt;&#xA;            &amp;lt;publish color=&quot;purple&quot; id=&quot;5&quot; label=&quot;Publish Initiated&quot; /&amp;gt;&#xA;            &amp;lt;!--&amp;lt;publish color=&quot;#eee&quot; id=&quot;6&quot; label=&quot;Item Published&quot; /&amp;gt;--&amp;gt;&#xA;        &amp;lt;/customEvents&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;&amp;lt;/scsRegister&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-11-30T21:31:54.420" LastActivityDate="2016-11-30T21:31:54.420" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="2968" PostTypeId="2" ParentId="2965" CreationDate="2016-11-29T20:42:43.630" Score="2" Body="&lt;p&gt;This should be pretty much all you &lt;em&gt;need&lt;/em&gt;, less the ASPX that inherits that class, and with the added caveat that &lt;strong&gt;&lt;em&gt;this solution will only work for users that are &lt;strike&gt;either&lt;/strike&gt; administrators&lt;strike&gt; or have the 'Developer' role&lt;/strike&gt;.&lt;/em&gt;&lt;/strong&gt; Note that you will likely still want to follow the Security Hardening best practices and move your &quot;admin page&quot; into the &lt;code&gt;&amp;lt;webroot&amp;gt;/sitecore/admin&lt;/code&gt; folder, as described in greater detail, at the end of this post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on your updated question, it sounds like you are now looking for an admin page that all users can log into, so I'm not sure if the solution that you mentioned is actually the solution that you are looking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; Based on your latest updates, you are now passing &lt;code&gt;false&lt;/code&gt; to the &lt;code&gt;CheckSecurity(...)&lt;/code&gt; method which tells the page to &lt;strong&gt;&lt;em&gt;only&lt;/em&gt;&lt;/strong&gt; allow administrators to log into the page, whether or not they are members of the 'Developer' role. I have included a screenshot of the defintion of this method and its overload, below. Again, I'm not sure that this is what you are looking for, based on the wording of your question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;What the &lt;code&gt;Sitecore.sitecore.admin.AdminPage&lt;/code&gt; does&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;What your solution will do is make the page &quot;gated&quot;, i.e. one will have to be a user that is either an administrator or a member of the &quot;Developer&quot; role (if you pass &lt;code&gt;true&lt;/code&gt; to the &lt;code&gt;CheckSecurity()&lt;/code&gt; method) in order to access the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, here is the code for the &lt;code&gt;CheckSecurity&lt;/code&gt; method (and its overload) in the &lt;code&gt;Sitecore.sitecore.admin.AdminPage&lt;/code&gt; class:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KwHx3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KwHx3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your ASPX file should include a typical page directive that inherits the class that you created that inherits &lt;code&gt;Sitecore.sitecore.admin.AdminPage&lt;/code&gt;. The directive would look something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Inherits=&quot;MyNamespace.MyClass&quot; ... %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;What I think you are looking for...&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Based on the wording of your question, what I think you are looking to do is create a page that is accessible via login for all users with access to log into the Sitecore Client. If this is the case, you can always mimic what Sitecore does with &lt;code&gt;Sitecore.sitecore.admin.AdminPage&lt;/code&gt; by creating your own backing class with a custom &lt;code&gt;CheckSecurity&lt;/code&gt; method that allows all enabled users that are members of the &lt;code&gt;sitecore&lt;/code&gt; security domain. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do this by creating a class similar to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class GatedToolPage : Page&#xA;  {    &#xA;    protected void CheckSecurity()&#xA;    {&#xA;      if (Context.User.Domain == &quot;sitecore&quot;)&#xA;        return;&#xA;      SiteContext site = Context.Site;&#xA;      if (site == null)&#xA;        return;&#xA;      this.Response.Redirect(string.Format(&quot;{0}?returnUrl={1}&quot;, (object) site.LoginPage, (object) HttpUtility.UrlEncode(this.Request.Url.PathAndQuery)));&#xA;    }&#xA;&#xA;    protected override void OnPreRender(EventArgs e)&#xA;    {&#xA;      base.OnPreRender(e);&#xA;      this.Response.AddHeader(&quot;X-Frame-Options&quot;, &quot;SAMEORIGIN&quot;);&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would then have all of your custom admin pages that should be accessible to all users with a valid Sitecore Client login inherit this new class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Security Hardening&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The only thing that remains is that you will likely want to put this ASPX page in your &lt;code&gt;&amp;lt;webroot&amp;gt;/sitecore/admin&lt;/code&gt; folder. I would do this regardless of whether you use the OOTB &lt;code&gt;AdminPage&lt;/code&gt; class or write your own. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is a Sitecore securities &quot;best practice&quot; to put custom admin pages in your &lt;code&gt;&amp;lt;webroot&amp;gt;/sitecore/admin&lt;/code&gt; folder. This will enable you to control the access-control restrictions for the new admin page at the folder level, giving this page the same access-control restrictions as the other pages in the same folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above security step will save you time, effort, and ensures that the instructions in the security hardening guides are still applicable to ALL admin pages, including your custom ones.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-29T21:38:49.747" LastActivityDate="2016-11-29T21:38:49.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2969" PostTypeId="2" ParentId="2965" CreationDate="2016-11-29T20:44:46.803" Score="4" Body="&lt;p&gt;The boolean for the CheckSecurity method will specify whether or not to allow users of the Developer role access (or not). If 'false' (as shown) only admin users can get through.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also recommend that you place this physically inside the /sitecore/admin folder to take advantage of any hardening you might have configured on your servers to prevent access to the admin pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you choose to do in another location, you should make sure that the same hardening rules are applied to your custom location.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2016-11-29T20:44:46.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2970" PostTypeId="2" ParentId="1998" CreationDate="2016-11-29T20:54:00.557" Score="3" Body="&lt;p&gt;In Azure App Service there is not much you can do about some of these recommendations, it being a fully hosted service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might find Grant Killian's Unified Security Hardening script handy but most of it, as I said, may not work in App Service: &lt;a href=&quot;https://grantkillian.wordpress.com/2016/08/15/unified-security-hardening-script-for-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://grantkillian.wordpress.com/2016/08/15/unified-security-hardening-script-for-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2016-11-29T20:54:00.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2971" PostTypeId="1" AcceptedAnswerId="2972" CreationDate="2016-11-29T21:05:40.753" Score="2" ViewCount="81" Body="&lt;p&gt;I have code that gets the AccessRules for a workflow state. My local dev environment has a role called &quot;sitecore\ABC Admin&quot; this role only exists on my local environment. We have our workflow items in a TDS project and deployed out to the other environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In QA when calling GetAccessRules an AccessRule of type AccountType.Role with an Account.Name of &quot;sitecore\ABC Admin&quot; is getting returned - causing us to have to add code that checks to see if the role exists first before continuing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the question is - where do I find what AccessRules exist in Content Editor for a user so I can to try and remove this phantom Role?&lt;/p&gt;&#xA;" OwnerUserId="901" LastEditorUserId="432" LastEditDate="2016-11-29T21:09:46.277" LastActivityDate="2016-11-29T21:38:54.807" Title="workflowState.Security.GetAccessRules() returns a Security Role that shouldn't exist" Tags="|security|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2972" PostTypeId="2" ParentId="2971" CreationDate="2016-11-29T21:38:54.807" Score="4" Body="&lt;p&gt;&lt;strong&gt;Security&lt;/strong&gt; is stored on the content items themselves so it's likely that when you deployed the workflow items through TDS to your QA environment, those items contain, in plain text, the names of the Security Roles that you configured on them in your &lt;strong&gt;DEV&lt;/strong&gt; environment, even though the actual &lt;strong&gt;Security Roles&lt;/strong&gt; haven't been created in your &lt;strong&gt;QA&lt;/strong&gt; &lt;strong&gt;Core&lt;/strong&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To see this, you can go to the workflow items in question, turn on &lt;strong&gt;Standard Fields&lt;/strong&gt; and expand the &lt;strong&gt;Security&lt;/strong&gt; section of fields.  There, you should see the name of the &lt;strong&gt;Security Roles&lt;/strong&gt; in question.&lt;/p&gt;&#xA;" OwnerUserId="38" LastActivityDate="2016-11-29T21:38:54.807" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2973" PostTypeId="1" AcceptedAnswerId="2976" CreationDate="2016-11-29T22:06:54.030" Score="8" ViewCount="2777" Body="&lt;p&gt;I am trying to create my first SXA compatible component, and I can't seem to get everything setup quite right. I decompiled the Maps component, and am using it as my guide. I understand that I need to use an MVC pattern, and so here's what I've got.&#xA;Here's my controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class OoyalaController : StandardController&#xA;{&#xA;    private readonly IOoyalaRepository _repository;&#xA;    public OoyalaController(IOoyalaRepository repository)&#xA;    {&#xA;        _repository = repository;&#xA;    }&#xA;&#xA;    protected override object GetModel()&#xA;    {&#xA;        return _repository.GetModel();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's my Interface:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IOoyalaRepository : IModelRepository&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here's my repository class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class OoyalaComponentRepository: ModelRepository, IOoyalaRepository&#xA;{&#xA;    public override IRenderingModelBase GetModel()&#xA;    {&#xA;        OoyalaComponentModel model = new OoyalaComponentModel();&#xA;        FillBaseProperties(model);&#xA;        return model;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, here's my model class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class OoyalaComponentModel : RenderingModelBase&#xA;{&#xA;    public string MediaID { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've got my .cshtml looking like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@model Components.Models.OoyalaComponentModel&#xA;&#xA;&amp;lt;div class=&quot;component simple-component @Model.CssClasses.Aggregate()&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;        &amp;lt;h1&amp;gt;You are on @Model.MediaID page&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my content editor view, I believe I have the new rendering added to the right category and setup in the same way that the Map component is setup, as you can see in this screenshot:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2pFLg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2pFLg.png&quot; alt=&quot;Ooyala Rendering&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also setup the Parameters template to include the IComponentVariant and Styling base templates:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/xq9VF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xq9VF.png&quot; alt=&quot;Parameters template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I seem to be missing something, however, as whenever I try to add my component to the page, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: An error occurred when trying to create a controller of type 'Components.Controllers.OoyalaController'. Make sure that the controller has a parameterless public constructor.&#xA;Source: System.Web.Mvc&#xA;   at System.Web.Mvc.DefaultControllerFactory.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType)&#xA;   at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)&#xA;   at Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.MissingMethodException&#xA;Message: No parameterless constructor defined for this object.&#xA;Source: mscorlib&#xA;   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&#xA;   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark)&#xA;   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&#xA;   at System.Activator.CreateInstance(Type type)&#xA;   at System.Web.Mvc.DefaultControllerFactory.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I understand that the system is looking for a parameterless constructor, however, the map component doesn't have a parameterless constructor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What do I have configured/coded incorrectly?&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="237" LastEditDate="2016-11-29T23:06:31.293" LastActivityDate="2017-01-12T13:17:06.747" Title="SXA custom component looking for parameterless constructor" Tags="|sxa|dependency-injection|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2974" PostTypeId="2" ParentId="2973" CreationDate="2016-11-29T22:10:27.900" Score="1" Body="&lt;p&gt;The problem is that you don't have a parameterless constructor for your controller. It's not the component that is the issue. The code is expecting to be able to instantiate your controller without parameters, but because you defined a constructor for your controller that &lt;em&gt;does have&lt;/em&gt; a parameter you now need to explicitly define a parameterless constructor, as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing your controller to the following help to highlight the issue by induction:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class OoyalaController : StandardController&#xA;{&#xA;    private readonly IOoyalaRepository _repository;&#xA;&#xA;    public OoyalaController(IOoyalaRepository repository)&#xA;    {&#xA;        _repository = repository;&#xA;    }&#xA;&#xA;    public OoyalaController()&#xA;    {&#xA;       ...instantiate your Repository here, or resolve it or...&#xA;    }&#xA;&#xA;    // as mentioned in comments, need to instantiate the Repository or this will fail&#xA;    protected override object GetModel()&#xA;    {&#xA;        return _repository.GetModel();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To verify that this resolves your issue, try changing the parameterless constructor to the following &lt;strong&gt;temporarily:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public OoyalaController()&#xA;    {&#xA;       _repository = new OoyalaRepository(); // replace with actual constructor, if different&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So long as the above works, we can verify that this controller was your issue. The next thing to do is fix your IoC issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned by @RichardSeal, you should not &lt;code&gt;Service Locate&lt;/code&gt; (I previously used this as a DI example, even though Service Locator is not a(n) (anti-)pattern that I recommend for use), but rather you should be using IoC to register your controller, so that your code can instantiate it with parameters. I won't repeat his answer here, but the first thing that you should do is remove the new parameterless constructor from your controller and register the class per Richard or Alan's solution.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-30T00:14:54.303" LastActivityDate="2016-11-30T00:14:54.303" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2975" PostTypeId="2" ParentId="2973" CreationDate="2016-11-29T22:16:49.663" Score="2" Body="&lt;p&gt;A quick fix could be to do this (using ServiceLocator as SXA does in the StandardController):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private readonly IOoyalaRepository _repository;&#xA;public OoyalaController()&#xA;{&#xA;    _repository = ServiceLocator.Current.Resolve&amp;lt;IOoyalaRepository&amp;gt;();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For now I have no answer to why the maps controller does work with a constructor with parameters...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-11-29T22:16:49.663" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2976" PostTypeId="2" ParentId="2973" CreationDate="2016-11-29T23:25:13.493" Score="11" Body="&lt;p&gt;To inject something via constructor or get types with Service Locator you need to register your services first.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class RegisterOoyalaServices : IocProcessor&#xA;{&#xA;    public override void Process(IocArgs args)&#xA;    {&#xA;        args.ServiceCollection.AddTransient&amp;lt;IOoyalaRepository, OoyalaComponentRepository&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;ioc&amp;gt;&#xA;    &amp;lt;processor type=&quot;NAMESPACE.RegisterOoyalaServices, NAMESPACE&quot; /&amp;gt;&#xA;  &amp;lt;/ioc&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will have to reference following DLLs:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.XA.Foundation.IoC&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Microsoft.Extensions.DependencyInjection&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Microsoft.Extensions.DependencyInjection.Abstractions&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-29T23:25:13.493" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2977" PostTypeId="2" ParentId="2973" CreationDate="2016-11-29T23:31:18.720" Score="6" Body="&lt;p&gt;Ok - please don't use &lt;code&gt;ServiceLocator&lt;/code&gt; to &quot;fix&quot; this issue. The problem looks to be because you have not registered your &lt;code&gt;OoyalaController&lt;/code&gt; with your IoC container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using the standard Sitecore 8.2 container you can do this by creating a configurator for your project. You should also register your dependencies that the controller is requesting.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.DependencyInjection;&#xA;&#xA;namespace MyProject&#xA;{&#xA;    public class MyConfiguratorClass : IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            serviceCollection.AddScoped&amp;lt;OoyalaController&amp;gt;();&#xA;            serviceCollection.AddTransient&amp;lt;IOoyalaRepository, OoyalaComponentRepository&amp;gt;();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Register the configurator in your config like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;            &amp;lt;configurator type=&quot;MyProject.MyConfiguratorClass, MyProject&quot; /&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That will enable the IoC Container to resolve the dependencies for the controller when it is created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check out this pose on &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;noreferrer&quot;&gt;Dependency Injection in Sitecore 8.2&lt;/a&gt; by Kam - there are some more details there about how to register &lt;em&gt;all&lt;/em&gt; controllers in your project in a single call to make it easier.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-11-29T23:31:18.720" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2978" PostTypeId="2" ParentId="2930" CreationDate="2016-11-29T23:36:26.640" Score="4" Body="&lt;p&gt;&lt;code&gt;HtmlAgilityPack.dll&lt;/code&gt; is used. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Renderer&#xA;      {&#xA;        public string DoRender(HtmlDocument document, int length)&#xA;        {&#xA;          int totalLength = 0;&#xA;          int i = 0;&#xA;          foreach (var htmlNode in document.DocumentNode.Descendants())&#xA;          {&#xA;            i++;&#xA;            if (htmlNode.NodeType != HtmlNodeType.Text)&#xA;            {&#xA;              continue;&#xA;            }&#xA;            totalLength += htmlNode.InnerText.Length;&#xA;            if (totalLength &amp;gt;= length)&#xA;            {&#xA;              int diff = totalLength - length;&#xA;              htmlNode.InnerHtml = htmlNode.InnerText.Substring(0, htmlNode.InnerText.Length - diff);&#xA;              //remove redundant elements&#xA;              var htmlNodes = document.DocumentNode.Descendants().Skip(i).ToList();&#xA;              foreach (var node in htmlNodes)&#xA;              {&#xA;                node.Remove();&#xA;              }&#xA;              break;&#xA;            }&#xA;          }&#xA;          return document.DocumentNode.OuterHtml;&#xA;        }&#xA;      }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Test:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RendererTests&#xA;  {&#xA;    [Theory()]&#xA;    [InlineData(22, &quot;&amp;lt;p&amp;gt;Lorem ipsum &amp;lt;span&amp;gt;werwerc &amp;lt;i&amp;gt;sdf&amp;lt;/i&amp;gt; sdf&amp;lt;/span&amp;gt; &amp;lt;b&amp;gt;Lorem&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&quot;, &quot;&amp;lt;p&amp;gt;Lorem ipsum &amp;lt;span&amp;gt;werwerc &amp;lt;i&amp;gt;sd&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&quot;)]&#xA;    [InlineData(30, &quot;&amp;lt;p&amp;gt;Lorem ipsum &amp;lt;span&amp;gt;werwerc &amp;lt;i&amp;gt;sdf&amp;lt;/i&amp;gt; sdf&amp;lt;/span&amp;gt; &amp;lt;b&amp;gt;Lorem&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&quot;, &quot;&amp;lt;p&amp;gt;Lorem ipsum &amp;lt;span&amp;gt;werwerc &amp;lt;i&amp;gt;sdf&amp;lt;/i&amp;gt; sdf&amp;lt;/span&amp;gt; &amp;lt;b&amp;gt;Lo&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&quot;)]&#xA;    public void DoRenderTest(int length, string input, string output)&#xA;    {&#xA;      var renderer = new Renderer();&#xA;      var doc = new HtmlDocument();&#xA;      doc.LoadHtml(input);&#xA;&#xA;      var doRender = renderer.DoRender(doc, length);&#xA;      Assert.Equal(output, doRender);&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastActivityDate="2016-11-29T23:36:26.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2980" PostTypeId="2" ParentId="2950" CreationDate="2016-11-30T01:33:25.030" Score="3" Body="&lt;p&gt;I know that you are looking for a way to do it via the Rules Engine. However, you can do it with a custom field validator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can restrict the MIME types that are passed to the custom validator through a parameter named &lt;code&gt;MimeTypesNotAllowed&lt;/code&gt;, and these are injected into a property of the same name and map them in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look at &lt;a href=&quot;https://sitecorejunkie.com/2014/04/06/restrict-certain-files-from-being-attached-to-web-forms-for-marketers-forms-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2014/04/06/restrict-certain-files-from-being-attached-to-web-forms-for-marketers-forms-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1192" LastActivityDate="2016-11-30T01:33:25.030" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="2981" PostTypeId="1" AcceptedAnswerId="2984" CreationDate="2016-11-30T02:40:41.903" Score="1" ViewCount="734" Body="&lt;p&gt;We want to bind current visitor profile with Sitecore contact. We want to do whenever user enters his or her email id in newsletter form or contact us form or registration form. This is to create know experience profile. Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="1209" LastEditorUserId="237" LastEditDate="2016-11-30T08:27:27.390" LastActivityDate="2019-01-03T15:40:32.337" Title="Bind current visitor with Sitecore contact" Tags="|experience-analytics|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2982" PostTypeId="2" ParentId="2981" CreationDate="2016-11-30T02:50:47.143" Score="1" Body="&lt;p&gt;Yes, it can be done through identifying contact. You can access this method using the following path:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Analytics.Tracker.Current.Session.Identify (identifier)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Identifiers can be user login name, email id etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can refer to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/xdb_configuration/identifying_contacts&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/xdb_configuration/identifying_contacts&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-11-30T02:50:47.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2983" PostTypeId="1" CreationDate="2016-11-30T04:02:36.923" Score="2" ViewCount="103" Body="&lt;p&gt;We are working on for creating mobile app for one of the client and we have started evaluating it. It is on sitecore 7.0. We ant to use Xamarin. Does Xamarin supports this version of Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="1209" LastActivityDate="2016-12-01T12:59:58.047" Title="Xamarin support for early version of Sitecore" Tags="|xamarin|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2984" PostTypeId="2" ParentId="2981" CreationDate="2016-11-30T05:03:14.220" Score="8" Body="&lt;p&gt;From the Sitecore Launch site. You can use the email address or the domain\username as inputs for for Tracker.Current.Session.Identify(domainUser); This will link the current contact with the sitecore user.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;SC 8.x&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void SetVisitTagsOnLogin(string domainUser, bool IsNewUser)&#xA;{&#xA;   string name = Sitecore.Context.User.Profile.FullName;&#xA;   if (name == String.Empty) name = Sitecore.Context.User.LocalName;&#xA;   Tracker.Current.Contact.Tags.Add(&quot;Username&quot;, domainUser);&#xA;   Tracker.Current.Contact.Tags.Add(&quot;Full name&quot;, name);&#xA;&#xA;   Tracker.Current.Contact.Identifiers.AuthenticationLevel = AuthenticationLevel.PasswordValidated;&#xA;   Tracker.Current.Session.Identify(domainUser);&#xA;&#xA;   if (IsNewUser)&#xA;   {&#xA;     IContactPersonalInfo personalFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;     personalFacet.FirstName = GetFirstName(name);&#xA;     personalFacet.Surname = GetSurName(name);&#xA;&#xA;     IContactEmailAddresses addressesFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;     IEmailAddress address;&#xA;     if (!addressesFacet.Entries.Contains(&quot;work_email&quot;))&#xA;     {&#xA;        address = addressesFacet.Entries.Create(&quot;work_email&quot;);&#xA;        address.SmtpAddress = GetEmailAddressFromUser(domainUser);&#xA;        addressesFacet.Preferred = &quot;work_email&quot;;&#xA;     }&#xA;   }   &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;SC 9.x&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactReference = _contactIdentificationRepository.GetContactReference();&#xA;&#xA;using (var client = _contactIdentificationRepository.CreateContext())&#xA;{&#xA;    // we can have 1 to many facets&#xA;    // PersonalInformation.DefaultFacetKey&#xA;    // EmailAddressList.DefaultFacetKey&#xA;    // Avatar.DefaultFacetKey&#xA;    // PhoneNumberList.DefaultFacetKey&#xA;    // AddressList.DefaultFacetKey&#xA;    // plus custom ones&#xA;    var facets = new List&amp;lt;string&amp;gt; { PersonalInformation.DefaultFacetKey };&#xA;&#xA;    // get the contact&#xA;    var contact = client.Get(contactReference, new ContactExpandOptions(facets.ToArray()));&#xA;&#xA;    // pull the facet from the contact (if it exists)&#xA;    var facet = contact.GetFacet&amp;lt;PersonalInformation&amp;gt;(PersonalInformation.DefaultFacetKey);&#xA;&#xA;    // if it exists, change it, else make a new one&#xA;    if (facet != null)&#xA;    {&#xA;        facet.FirstName = $&quot;Jimmy&quot;;&#xA;        facet.LastName = $&quot;McSitecore&quot;;&#xA;&#xA;        // set the facet on the client connection&#xA;        client.SetFacet(contact, PersonalInformation.DefaultFacetKey, facet);&#xA;    }&#xA;    else&#xA;    {&#xA;        // make a new one&#xA;        var personalInfoFacet = new PersonalInformation()&#xA;        {&#xA;            FirstName = &quot;Jimmy&quot;,&#xA;            LastName = &quot;McSitecore&quot;&#xA;        };&#xA;&#xA;        // set the facet on the client connection&#xA;        client.SetFacet(contact, PersonalInformation.DefaultFacetKey, personalInfoFacet);&#xA;    }&#xA;&#xA;    if (contact != null)&#xA;    {&#xA;        // submit the changes to xConnect&#xA;        client.Submit();&#xA;&#xA;        // reset the contact&#xA;        _contactIdentificationRepository.Manager.RemoveFromSession(Analytics.Tracker.Current.Contact.ContactId);&#xA;        Analytics.Tracker.Current.Session.Contact = _contactIdentificationRepository.Manager.LoadContact(Analytics.Tracker.Current.Contact.ContactId);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;my contact repo&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Linq;&#xA;using Sitecore.Analytics;&#xA;using Sitecore.Analytics.Model;&#xA;using Sitecore.Analytics.Tracking;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Client.Configuration;&#xA;&#xA;namespace Sitecore.Foundation.Accounts.Repositories&#xA;{&#xA;    public class ContactIdentificationRepository&#xA;    {&#xA;        private readonly ContactManager contactManager;&#xA;&#xA;        public ContactManager Manager =&amp;gt; contactManager;&#xA;&#xA;        public ContactIdentificationRepository()&#xA;        {&#xA;            contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;        }&#xA;&#xA;        public IdentifiedContactReference GetContactReference()&#xA;        {&#xA;            // get the contact id from the current contact&#xA;            var id = GetContactId();&#xA;&#xA;            // if the contact is new or has no identifiers&#xA;            var anon = Tracker.Current.Contact.IsNew || Tracker.Current.Contact.Identifiers.Count == 0;&#xA;&#xA;            // if the user is anon, get the xD.Tracker identifier, else get the one we found&#xA;            return anon&#xA;                ? new IdentifiedContactReference(Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource, Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;))&#xA;                : new IdentifiedContactReference(id.Source, id.Identifier);&#xA;        }&#xA;&#xA;        public Analytics.Model.Entities.ContactIdentifier GetContactId()&#xA;        {&#xA;            if (Tracker.Current?.Contact == null)&#xA;            {&#xA;                return null;&#xA;            }&#xA;            if (Tracker.Current.Contact.IsNew)&#xA;            {&#xA;                // write the contact to xConnect so we can work with it&#xA;                this.SaveContact();&#xA;            }&#xA;&#xA;            return Tracker.Current.Contact.Identifiers.FirstOrDefault();&#xA;        }&#xA;&#xA;        public void SaveContact()&#xA;        {&#xA;            // we need the contract to be saved to xConnect. It is only in session now&#xA;            Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;            this.contactManager.SaveContactToCollectionDb(Tracker.Current.Contact);&#xA;        }&#xA;&#xA;        public IXdbContext CreateContext()&#xA;        {&#xA;            return SitecoreXConnectClientConfiguration.GetClient();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-01-03T15:40:32.337" LastActivityDate="2019-01-03T15:40:32.337" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="2985" PostTypeId="2" ParentId="2983" CreationDate="2016-11-30T05:21:47.110" Score="2" Body="&lt;p&gt;Mobile SDK for Xamarin supports Sitecore starts from the Sitecore CMS 6.6 SP1  version. Additionally, you need to install Sitecore Item Web API module v1.2 or later on the Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also For iOS and Android application development using the Xamarin platform, you also need:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Xamarin Studio 5.5.4 or later installed &lt;/li&gt;&#xA;&lt;li&gt;A Xamarin license&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can get more information on following. &lt;a href=&quot;https://doc.sitecore.net/mobile_sdk_for_xamarin/web_api_10/mobile_sdk_installation_and_configuration/requirements_for_the_sitecore_mobile_sdk&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/mobile_sdk_for_xamarin/web_api_10/mobile_sdk_installation_and_configuration/requirements_for_the_sitecore_mobile_sdk&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more documentation, please look at &lt;a href=&quot;https://doc.sitecore.net/mobile_sdk_for_xamarin&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/mobile_sdk_for_xamarin&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-11-30T05:21:47.110" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2986" PostTypeId="2" ParentId="2966" CreationDate="2016-11-30T05:54:25.893" Score="6" Body="&lt;p&gt;With this solution, it will create a new log file call audit.{date}.log and log any change the users make to the content. To achieve this, the pipeline subscribes the audit class to the item:creating, saving, deleting, copying, moving, renamed, sortorderchanged, templatechanged and itemProcessed events. Each time one of these events is triggered, a new log will be logged to the audit log describing the change. It details what field has changed, by who, and when. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The logs look like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;24320 00:40:07 INFO  (sitecore\admin): DELETE: master:/sitecore/content/Sites/Bonfire/Settings/Authors/test, language: en, version: 1, id: {25FBDA3C-1B2A-46C2-A1C6-0DE06F44CFE4}&#xA;2316 00:41:26 INFO  (sitecore\admin): SAVE: master:/sitecore/content/Sites/Bonfire/Settings/Authors/Chris Auer, language: en, version: 1, id: {F808FA41-3483-4334-8DF1-CB1AD1079F56}&#xA;2316 00:41:26 INFO  (sitecore\admin): ** [Author Image]&#xA;2316 00:41:26 INFO  (sitecore\admin):    -&amp;gt; New: &amp;lt;image mediaid=&quot;{C6888F94-FB48-493B-9399-83871CAF5446}&quot; /&amp;gt;&#xA;2316 00:41:26 INFO  (sitecore\admin):    -&amp;gt; Old: &amp;lt;image mediaid=&quot;{C1838093-8EFD-4204-A665-7A700EBBBA62}&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This code was taken from the blog post &lt;a href=&quot;http://info.exsquared.com/ex-squared-blog/logging-changes-in-sitecore-made-by-content-authors#audit_code&quot; rel=&quot;noreferrer&quot;&gt;http://info.exsquared.com/ex-squared-blog/logging-changes-in-sitecore-made-by-content-authors#audit_code&lt;/a&gt;. I changed it a little bit because I wanted to use config files for consistency and not the AssemblyInfo class.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;The code&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Events;&#xA;using Sitecore.Data.Events;&#xA;using Sitecore.Pipelines;&#xA;using Sitecore.SecurityModel;&#xA;&#xA;namespace Custom.Diagnostics&#xA;{&#xA;    public class Audit : Sitecore.Mvc.Pipelines.Loader.InitializeRoutes&#xA;    {&#xA;&#xA;        #region Configuration Entries&#xA;        // The master switch for allowing auditing; To disable Sitecore item auditing add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.Enabled&quot; value=&quot;false&quot;/&amp;gt;&#xA;        private static readonly bool _auditingEnabled = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.Enabled&quot;, true);&#xA;&#xA;        // Boolean indication if this is a content authoring server (CAS) - which uses the master database.  Content delivery servers use the web database...&#xA;        private static readonly bool _isCAS = Sitecore.Sites.SiteManager.GetSite(&quot;website&quot;).Properties[&quot;database&quot;].ToLower() == &quot;master&quot;;&#xA;&#xA;        // To prevent duplicate item names via the shell editor (UI) add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;PreventDuplicateItemNames&quot; value=&quot;true&quot;/&amp;gt;&#xA;        // Both auditing, and auditing created items must be enabled...&#xA;        private static readonly bool _preventDuplicateNames = Sitecore.Configuration.Settings.GetBoolSetting(&quot;PreventDuplicateItemNames&quot;, false);&#xA;&#xA;        // To disable auditing item creations, add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.ItemCreating&quot; value=&quot;false&quot;/&amp;gt;&#xA;        private static readonly bool _auditItemCreating = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.ItemCreating&quot;, true);&#xA;&#xA;        // To disable auditing changes to items, add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.ItemSaving&quot; value=&quot;false&quot;/&amp;gt;&#xA;        private static readonly bool _auditItemSaving = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.ItemSaving&quot;, true);&#xA;&#xA;        // To disable auditing item deletions, add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.ItemDeleting&quot; value=&quot;false&quot;/&amp;gt;&#xA;        private static readonly bool _auditItemDeleting = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.ItemDeleting&quot;, true);&#xA;&#xA;        // To disable auditing copying items, add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.ItemCopying&quot; value=&quot;false&quot;/&amp;gt;&#xA;        private static readonly bool _auditItemCopying = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.ItemCopying&quot;, true);&#xA;&#xA;        // To disable auditing item moves, add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.ItemMoving&quot; value=&quot;false&quot;/&amp;gt;&#xA;        private static readonly bool _auditItemMoving = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.ItemMoving&quot;, true);&#xA;&#xA;        // To disable auditing renaming of items, add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.ItemRenamed&quot; value=&quot;false&quot;/&amp;gt;&#xA;        private static readonly bool _auditItemRenamed = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.ItemRenamed&quot;, true);&#xA;&#xA;        // To enable auditing item sort order changes, add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.ItemSortOrderChanged&quot; value=&quot;true&quot;/&amp;gt;&#xA;        private static readonly bool _auditItemSortOrderChanged = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.ItemSortOrderChanged&quot;, false);&#xA;&#xA;        // To disable auditing item template changes, add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.ItemTemplateChanged&quot; value=&quot;false&quot;/&amp;gt;&#xA;        private static readonly bool _auditItemTemplateChanged = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.ItemTemplateChanged&quot;, true);&#xA;&#xA;        // To enable auditing item publish processed events, add the following to &amp;lt;settings&amp;gt; section within a patch config: &amp;lt;setting name=&quot;Audit.ItemPublished&quot; value=&quot;true&quot;/&amp;gt;&#xA;        private static readonly bool _auditItemPublished = Sitecore.Configuration.Settings.GetBoolSetting(&quot;Audit.ItemPublished&quot;, false);&#xA;&#xA;        #endregion&#xA;&#xA;&#xA;        private static log4net.ILog _log = Sitecore.Diagnostics.LoggerFactory.GetLogger(&quot;Sitecore.Diagnostics.Auditing&quot;);&#xA;&#xA;        public override void Process(PipelineArgs args)&#xA;        {&#xA;            OnStart();&#xA;        }&#xA;&#xA;        public void Log(string message)&#xA;        {&#xA;            if (_log == null)&#xA;                Sitecore.Diagnostics.Log.Audit(message, this);&#xA;            else&#xA;            {&#xA;                string user = (Sitecore.Context.User == null) ? &quot;extranet\\Anonymous&quot; : Sitecore.Context.User.Name;&#xA;                _log.Info(string.Format(&quot;({0}): {1}&quot;, user, message));&#xA;            }&#xA;        }&#xA;&#xA;&#xA;        public static void OnStart()&#xA;        {&#xA;               //if (_isCAS &amp;amp;&amp;amp; _auditingEnabled)&#xA;               //{&#xA;                var handler = new Audit();&#xA;                if (_auditItemCreating) Sitecore.Events.Event.Subscribe(&quot;item:creating&quot;, new EventHandler(handler.OnItemCreating));&#xA;                if (_auditItemSaving) Sitecore.Events.Event.Subscribe(&quot;item:saving&quot;, new EventHandler(handler.OnItemSaving));&#xA;                if (_auditItemDeleting) Sitecore.Events.Event.Subscribe(&quot;item:deleting&quot;, new EventHandler(handler.OnItemDeleting));&#xA;&#xA;                if (_auditItemCopying) Sitecore.Events.Event.Subscribe(&quot;item:copying&quot;, new EventHandler(handler.OnItemCopying));&#xA;                if (_auditItemMoving) Sitecore.Events.Event.Subscribe(&quot;item:moving&quot;, new EventHandler(handler.OnItemMoving));&#xA;                if (_auditItemRenamed) Sitecore.Events.Event.Subscribe(&quot;item:renamed&quot;, new EventHandler(handler.OnItemRenamed));&#xA;                if (_auditItemSortOrderChanged) Sitecore.Events.Event.Subscribe(&quot;item:sortorderchanged&quot;, new EventHandler(handler.OnItemSortOrderChanged));&#xA;                if (_auditItemTemplateChanged) Sitecore.Events.Event.Subscribe(&quot;item:templateChanged&quot;, new EventHandler(handler.OnItemTemplateChanged));&#xA;&#xA;                if (_auditItemPublished) Sitecore.Events.Event.Subscribe(&quot;publish:itemProcessed&quot;, new EventHandler(handler.OnItemPublished));&#xA;&#xA;               //}&#xA;&#xA;        }&#xA;&#xA;        protected void OnItemPublished(object sender, EventArgs args)&#xA;        {&#xA;            Assert.IsTrue(args != null, &quot;args != null&quot;);&#xA;            if (args != null &amp;amp;&amp;amp; args is Sitecore.Publishing.Pipelines.PublishItem.ItemProcessedEventArgs &amp;amp;&amp;amp; _auditItemPublished)&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    Sitecore.Publishing.Pipelines.PublishItem.PublishItemContext context = (args as Sitecore.Publishing.Pipelines.PublishItem.ItemProcessedEventArgs).Context;&#xA;&#xA;                    if (context.Result.Operation == Sitecore.Publishing.PublishOperation.Skipped)&#xA;                    {&#xA;                        try&#xA;                        {&#xA;                            // If we skipped publishing this item, we only care about logging why if we deliberately tried to republish this item...&#xA;                            if (!context.PublishOptions.CompareRevisions &amp;amp;&amp;amp; context.PublishOptions.RootItem.ID == context.ItemId)&#xA;                            {&#xA;                                if (context.PublishHelper.SourceItemExists(context.ItemId))&#xA;                                {&#xA;                                    Item sourceItem = context.PublishHelper.GetSourceItem(context.ItemId);&#xA;                                    Log(string.Format(&quot;PUBLISH [{0}]: {1}&quot;, context.Result.Operation, AuditFormatter.FormatItem(sourceItem)));&#xA;                                }&#xA;                                else&#xA;                                {&#xA;                                    Log(string.Format(&quot;PUBLISH [{0}]: {1}&quot;, context.Result.Operation, context.ItemId.ToString()));&#xA;                                }&#xA;                                Log(string.Format(&quot;** {0}&quot;, context.Result.Explanation));&#xA;                            }&#xA;                        }&#xA;                        catch (Exception)&#xA;                        {&#xA;                            // We don't need to log - we were skipping this item from getting published anyway&#xA;                        }&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        if (context.PublishHelper.SourceItemExists(context.ItemId))&#xA;                        {&#xA;                            Item sourceItem = context.PublishHelper.GetSourceItem(context.ItemId);&#xA;                            Log(string.Format(&quot;PUBLISH [{0}]: {1}&quot;, context.Result.Operation, AuditFormatter.FormatItem(sourceItem)));&#xA;                        }&#xA;                        else&#xA;                        {&#xA;                            Log(string.Format(&quot;PUBLISH [{0}]: {1}, msg: {2}&quot;, context.Result.Operation, context.ItemId.ToString(), context.Result.Explanation));&#xA;                        }&#xA;                    }&#xA;&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Responds to Sitecore new item creation, cloning an item, and duplicating an item (either via the UI or API)&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;Param index 0 contains the ItemCreatingEventArgs: Contains item ID, name, master and template IDs, parent item&amp;lt;/param&amp;gt;&#xA;        protected void OnItemCreating(object sender, EventArgs args)&#xA;        {&#xA;            Assert.IsTrue(args != null, &quot;args != null&quot;);&#xA;            if (args != null &amp;amp;&amp;amp; _auditItemCreating)&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    ItemCreatingEventArgs arg = Event.ExtractParameter(args, 0) as ItemCreatingEventArgs;&#xA;                    Assert.IsTrue(arg != null, &quot;arg != null&quot;);&#xA;&#xA;                    if ((arg != null) &amp;amp;&amp;amp; (Sitecore.Context.Site.Name == &quot;shell&quot;) &amp;amp;&amp;amp; (_preventDuplicateNames))&#xA;                    {&#xA;                        foreach (Item currentItem in arg.Parent.GetChildren())&#xA;                        {&#xA;                            if ((arg.ItemName.Replace(' ', '-').ToLower() == currentItem.Name.ToLower()) &amp;amp;&amp;amp; (arg.ItemId != currentItem.ID))&#xA;                            {&#xA;                                arg.Cancel = true;&#xA;                                Sitecore.Context.ClientPage.ClientResponse.Alert(&quot;Name \&quot;&quot; + currentItem.Name + &quot;\&quot; is already in use. Please use another name for the item.&quot;);&#xA;                                return;&#xA;                            }&#xA;                        }&#xA;                    }&#xA;&#xA;                    if (arg != null &amp;amp;&amp;amp; ShouldAudit(arg.Parent))&#xA;                    {&#xA;                        Item t = arg.Parent.Database.Items[arg.TemplateId];&#xA;                        string templateName = t != null ? t.Name : arg.TemplateId.ToString();&#xA;&#xA;                        Log(string.Format(&quot;CREATE: {0}:{1}/{2}, id: {3}, template: {4}&quot;, arg.Parent.Database.Name, arg.Parent.Paths.Path, arg.ItemName, arg.ItemId.ToString(), templateName));&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Responds to Sitecore item deletions&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;Param index 0 contains the Item being deleted&amp;lt;/param&amp;gt;&#xA;        protected void OnItemDeleting(object sender, EventArgs args)&#xA;        {&#xA;            Assert.IsTrue(args != null, &quot;args != null&quot;);&#xA;            if (args != null &amp;amp;&amp;amp; _auditItemDeleting)&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    Item item = Event.ExtractParameter(args, 0) as Item;&#xA;                    Assert.IsTrue(item != null, &quot;item != null&quot;);&#xA;&#xA;                    if (item != null &amp;amp;&amp;amp; ShouldAudit(item))&#xA;                    {&#xA;                        Log(string.Format(&quot;DELETE: {0}&quot;, AuditFormatter.FormatItem(item)));&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Responds to Sitecore item updates&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;Param index 0 contains the Item being saved&amp;lt;/param&amp;gt;&#xA;        protected void OnItemSaving(object sender, EventArgs args)&#xA;        {&#xA;            Assert.IsTrue(args != null, &quot;args != null&quot;);&#xA;            if (args != null &amp;amp;&amp;amp; _auditItemSaving)&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    Item item = Event.ExtractParameter(args, 0) as Item;&#xA;                    Assert.IsTrue(item != null, &quot;item != null&quot;);&#xA;&#xA;                    if (item != null &amp;amp;&amp;amp; ShouldAudit(item))&#xA;                    {&#xA;                        Item originalItem = item.Database.GetItem(item.ID, item.Language, item.Version);&#xA;&#xA;                        var differences = FindDifferences(item, originalItem);&#xA;&#xA;                        if (differences.Any())&#xA;                        {&#xA;                            TimeSpan createdTS = item.Statistics.Updated - item.Statistics.Created;&#xA;                            TimeSpan sinceLastSave = item.Statistics.Updated - originalItem.Statistics.Updated;&#xA;&#xA;                            if (createdTS.TotalSeconds &amp;gt; 2 &amp;amp;&amp;amp; sinceLastSave.TotalSeconds &amp;gt; 2)&#xA;                                Log(string.Format(&quot;SAVE: {0}&quot;, AuditFormatter.FormatItem(item)));&#xA;&#xA;                            foreach (string f in differences)&#xA;                            {&#xA;                                if (string.IsNullOrWhiteSpace(originalItem[f]))&#xA;                                    Log(string.Format(&quot;** [{0}]: {1}&quot;, item.Fields[f].DisplayName, item[f]));&#xA;                                else if (originalItem[f].Length &amp;lt;= 40 &amp;amp;&amp;amp; item[f].Length &amp;lt;= 40)&#xA;                                    Log(string.Format(&quot;** [{0}]: {1}, old: {2}&quot;, item.Fields[f].DisplayName, item[f], originalItem[f]));&#xA;                                else&#xA;                                {&#xA;                                    Log(string.Format(&quot;** [{0}]&quot;, item.Fields[f].DisplayName));&#xA;                                    Log(string.Format(&quot;   -&amp;gt; New: {0}&quot;, item[f]));&#xA;                                    Log(string.Format(&quot;   -&amp;gt; Old: {0}&quot;, originalItem[f]));&#xA;                                }&#xA;                            }&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Find non-system fields that have changed&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;newItem&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;originalItem&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        private static List&amp;lt;string&amp;gt; FindDifferences(Item newItem, Item originalItem)&#xA;        {&#xA;            newItem.Fields.ReadAll();&#xA;&#xA;            IEnumerable&amp;lt;string&amp;gt; fieldNames = newItem.Fields.Select(f =&amp;gt; f.Name).Where(name =&amp;gt; !name.StartsWith(&quot;__&quot;));&#xA;&#xA;            return fieldNames&#xA;              .Where(fieldName =&amp;gt; newItem[fieldName] != originalItem[fieldName] &amp;amp;&amp;amp; originalItem.Fields[fieldName] != null &amp;amp;&amp;amp; newItem.Fields[fieldName].ID == originalItem.Fields[fieldName].ID)&#xA;              .ToList();&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Retrieve the current workflow state for the Sitecore item&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;item&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        private static string GetWorkflowState(Item item)&#xA;        {&#xA;            Sitecore.Workflows.WorkflowInfo info = item.Database.DataManager.GetWorkflowInfo(item);&#xA;            return (info != null) ? info.StateID : String.Empty;&#xA;        }&#xA;&#xA;        private static bool ShouldAudit(Item item)&#xA;        {&#xA;            return item.Database.Name.ToLower() == &quot;master&quot;;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Responds to Sitecore item copying&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;&#xA;        /// Param index 0 contains the Item being copied,&#xA;        /// Param index 1 contains the Item Copy destination,&#xA;        /// Param index 2 contains the Result item name,&#xA;        /// Param index 3 contains the Result item ID,&#xA;        /// Param index 4 contains the boolean indication whether it is a recursive copy (including children) or not&#xA;        /// &amp;lt;/param&amp;gt;&#xA;        protected void OnItemCopying(object sender, EventArgs args)&#xA;        {&#xA;            Assert.IsTrue(args != null, &quot;args != null&quot;);&#xA;            if (args != null &amp;amp;&amp;amp; _auditItemCopying)&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    Item item = Event.ExtractParameter(args, 0) as Item;&#xA;                    Assert.IsTrue(item != null, &quot;item != null&quot;);&#xA;&#xA;                    if (item != null &amp;amp;&amp;amp; ShouldAudit(item))&#xA;                    {&#xA;                        Item destination = Event.ExtractParameter(args, 1) as Item;&#xA;                        string itemName = Event.ExtractParameter(args, 2) as string;&#xA;                        Sitecore.Data.ID itemID = Event.ExtractParameter(args, 3) as Sitecore.Data.ID;&#xA;                        bool recursive = (bool)Event.ExtractParameter(args, 4);&#xA;&#xA;                        if (item.Parent.Paths.Path == destination.Paths.Path &amp;amp;&amp;amp; item.Name != itemName)&#xA;                            Log(string.Format(&quot;DUPLICATE: {0}:{1}, destination: {2}/{3}, id: {4}{5}&quot;, item.Database.Name, item.Paths.Path, destination.Paths.Path, itemName, itemID.ToString(), item.Children.Count == 0 ? string.Empty : string.Format(&quot; recursive: {0}&quot;, recursive.ToString())));&#xA;                        else&#xA;                            Log(string.Format(&quot;COPY: {0}:{1}, destination: {2}/{3}, id: {4}{5}&quot;, item.Database.Name, item.Paths.Path, destination.Paths.Path, itemName, itemID.ToString(), item.Children.Count == 0 ? string.Empty : string.Format(&quot; recursive: {0}&quot;, recursive.ToString())));&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Responds to Sitecore item moving&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;&#xA;        /// Param index 0 contains the Item being moved,&#xA;        /// Param index 1 contains the ID of the old parent,&#xA;        /// Param index 2 contains the ID of the new parent&#xA;        /// &amp;lt;/param&amp;gt;&#xA;        protected void OnItemMoving(object sender, EventArgs args)&#xA;        {&#xA;            Assert.IsTrue(args != null, &quot;args != null&quot;);&#xA;            if (args != null &amp;amp;&amp;amp; _auditItemMoving)&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    Item item = Event.ExtractParameter(args, 0) as Item;&#xA;                    Assert.IsTrue(item != null, &quot;item != null&quot;);&#xA;&#xA;                    if (ShouldAudit(item))&#xA;                    {&#xA;                        Sitecore.Data.ID oldParentID = Event.ExtractParameter(args, 1) as Sitecore.Data.ID;&#xA;                        Sitecore.Data.ID newParentID = Event.ExtractParameter(args, 2) as Sitecore.Data.ID;&#xA;                        Item oldParent = item.Database.Items[oldParentID];&#xA;                        Item newParent = item.Database.Items[newParentID];&#xA;&#xA;                        if (item != null &amp;amp;&amp;amp; oldParent != null &amp;amp;&amp;amp; newParent != null &amp;amp;&amp;amp; oldParent.ID != newParent.ID)&#xA;                        {&#xA;                            Log(string.Format(&quot;MOVE: [{0}] from: {1}:{2} to: {3}:{4}&quot;, item.Name, oldParent.Database.Name, oldParent.Paths.Path, newParent.Database.Name, newParent.Paths.Path));&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Responds to Sitecore item rename&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;&#xA;        /// Param index 0 contains the result Item,&#xA;        /// Param index 1 contains the Item name prior to being renamed&#xA;        /// &amp;lt;/param&amp;gt;&#xA;        protected void OnItemRenamed(object sender, EventArgs args)&#xA;        {&#xA;            Assert.IsTrue(args != null, &quot;args != null&quot;);&#xA;            if (args != null &amp;amp;&amp;amp; _auditItemRenamed)&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    Item item = Event.ExtractParameter(args, 0) as Item;&#xA;                    string itemNameBeforeRename = Event.ExtractParameter(args, 1) as string;&#xA;&#xA;                    Assert.IsTrue(item != null, &quot;item != null&quot;);&#xA;&#xA;                    if (item != null &amp;amp;&amp;amp; itemNameBeforeRename != item.Name &amp;amp;&amp;amp; ShouldAudit(item))&#xA;                    {&#xA;                        Log(string.Format(&quot;RENAME: {0}:{1}/{2}, as: {3}&quot;, item.Database.Name, item.Parent.Paths.Path, itemNameBeforeRename, item.Name));&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Responds to Sitecore item sort order changed&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;&#xA;        /// Param index 0 contains the sorted Item,&#xA;        /// Param index 1 contains the Old sortorder value (string)&#xA;        /// &amp;lt;/param&amp;gt;&#xA;        protected void OnItemSortOrderChanged(object sender, EventArgs args)&#xA;        {&#xA;            Assert.IsTrue(args != null, &quot;args != null&quot;);&#xA;            if (args != null &amp;amp;&amp;amp; _auditItemSortOrderChanged)&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    Item item = Event.ExtractParameter(args, 0) as Item;&#xA;                    string oldSortOrder = Event.ExtractParameter(args, 1) as string;&#xA;&#xA;                    Assert.IsTrue(item != null, &quot;item != null&quot;);&#xA;&#xA;                    if (item != null &amp;amp;&amp;amp; ShouldAudit(item))&#xA;                    {&#xA;                        Log(string.Format(&quot;SORT: {0}:{1}, new: {2}, old: {3}&quot;, item.Database.Name, item.Paths.Path, item.Appearance.Sortorder, oldSortOrder));&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Responds to Sitecore item template changed&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;&#xA;        /// Param index 0 contains the ID of the item being changed,&#xA;        /// Param index 1 contains the Instance of the datamanager class handling the template&#xA;        /// &amp;lt;/param&amp;gt;&#xA;        protected void OnItemTemplateChanged(object sender, EventArgs args)&#xA;        {&#xA;            Assert.IsTrue(args != null, &quot;args != null&quot;);&#xA;            if (args != null &amp;amp;&amp;amp; _auditItemDeleting)&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    Item item = Event.ExtractParameter(args, 0) as Item;&#xA;                    Sitecore.Data.Templates.TemplateChangeList change = Event.ExtractParameter(args, 1) as Sitecore.Data.Templates.TemplateChangeList;&#xA;&#xA;                    Assert.IsTrue(item != null, &quot;item != null&quot;);&#xA;&#xA;                    if (item != null &amp;amp;&amp;amp; ShouldAudit(item) &amp;amp;&amp;amp; change.Target.ID != change.Source.ID)&#xA;                    {&#xA;                        Log(string.Format(&quot;TEMPLATE CHANGE: {0}:{1}, target: {2}, source: {3}&quot;, item.Database.Name, item.Paths.Path, change.Target.Name, change.Source.Name));&#xA;                        foreach (Sitecore.Data.Templates.TemplateChangeList.TemplateChange c in change.Changes)&#xA;                        {&#xA;                            if (c.Action == Sitecore.Data.Templates.TemplateChangeAction.DeleteField)&#xA;                                Log(string.Format(&quot;** {0}: {1}&quot;, c.Action, c.SourceField.Name));&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The config&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Custom.Diagnostics.Audit, Sitecore.Foundation.Logging&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Sitecore.config change&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This change needs to be applied to the  section of the sitecore.config file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;AuditLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/audit.log.{date}.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;logger name=&quot;Sitecore.Diagnostics.Auditing&quot; additivity=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;  &amp;lt;appender-ref ref=&quot;AuditLogFileAppender&quot; /&amp;gt;&#xA;&amp;lt;/logger&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2016-11-30T06:37:08.720" LastActivityDate="2016-11-30T06:37:08.720" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="2987" PostTypeId="1" AcceptedAnswerId="2988" CreationDate="2016-11-30T06:38:46.237" Score="3" ViewCount="1071" Body="&lt;p&gt;I'm tracking visitors information into my mongoDB and I can identify them as contacts (through the email). I'm now trying to have a login (with password) area where users can login and see some information. I'm not clear how can I do this? Can I still use my mongoDB Contact or is this different? &lt;/p&gt;&#xA;" OwnerUserId="321" LastActivityDate="2016-11-30T07:08:15.607" Title="How can I use xDB contact to login users?" Tags="|xdb|login|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2988" PostTypeId="2" ParentId="2987" CreationDate="2016-11-30T06:53:15.490" Score="5" Body="&lt;p&gt;Once you log the user in, you can process some out of the box Sitecore facets or your custom ones.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Setting the user's info in xDB&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;[AllowAnonymous]&#xA;public ActionResult Login(LoginModel model, string returnUrl)&#xA;{&#xA;  if (ModelState.IsValid)&#xA;  {&#xA;    Sitecore.Security.Domains.Domain domain = Sitecore.Context.Domain;&#xA;    string domainUser = domain.Name + @&quot;\&quot; + model.UserName;&#xA;    if (Sitecore.Security.Authentication.AuthenticationManager.Login(domainUser, model.Password, model.RememberMe))&#xA;    {&#xA;      AnalyticsHelper.SetVisitTagsOnLogin(domainUser, false);&#xA;      return RedirectToLocal(returnUrl);&#xA;    }&#xA;  }&#xA;&#xA;  // If we got this far, something failed, redisplay form&#xA;  ModelState.AddModelError(&quot;&quot;, &quot;The user name or password provided is incorrect.&quot;);&#xA;  return View(model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A helper function to assign the user's data to the xDB facets.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void SetVisitTagsOnLogin(string domainUser, bool IsNewUser)&#xA;{&#xA;    string name = Sitecore.Context.User.Profile.FullName;&#xA;    if (name == String.Empty) name = Sitecore.Context.User.LocalName;&#xA;    Tracker.Current.Contact.Tags.Add(&quot;Username&quot;, domainUser);&#xA;    Tracker.Current.Contact.Tags.Add(&quot;Full name&quot;, name);&#xA;&#xA;    Tracker.Current.Contact.Identifiers.AuthenticationLevel = AuthenticationLevel.PasswordValidated;&#xA;    Tracker.Current.Session.Identify(domainUser);&#xA;&#xA;    if (IsNewUser)&#xA;    {&#xA;        IContactPersonalInfo personalFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;        personalFacet.FirstName = GetFirstName(name);&#xA;        personalFacet.Surname = GetSurName(name);&#xA;&#xA;        IContactEmailAddresses addressesFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;        IEmailAddress address;&#xA;        if (!addressesFacet.Entries.Contains(&quot;work_email&quot;))&#xA;        {&#xA;            address = addressesFacet.Entries.Create(&quot;work_email&quot;);&#xA;            address.SmtpAddress = GetEmailAddressFromUser(domainUser);&#xA;            addressesFacet.Preferred = &quot;work_email&quot;;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Getting the user's info out of xDB&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The benefit of xDB is that all the user's facet data is on there current contact object. Just call for the facet to get the data. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contact = Tracker.Current.Contact;&#xA;var emailAddresses = contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Personal&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find some more information about getting the facet data here.&#xA;&lt;a href=&quot;http://sitecore-community.github.io/docs/xDB/contact-facets/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/xDB/contact-facets/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As described on this page, &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/identifying_contacts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/identifying_contacts&lt;/a&gt;. The domain user in the code above can be:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A user login name &lt;/li&gt;&#xA;&lt;li&gt;A user ID in a security system &lt;/li&gt;&#xA;&lt;li&gt;An email address&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2016-11-30T07:08:15.607" LastActivityDate="2016-11-30T07:08:15.607" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="2989" PostTypeId="2" ParentId="2973" CreationDate="2016-11-30T07:16:16.467" Score="0" Body="&lt;p&gt;Just to summarize the discussion - you don't need to register controllers in the SXA container. Just like Alan mention above they will be automatically resolved by ExperienceAcceleratorDependencyResolver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But please remember to register all of the services which you want to inject into your controller!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest usage of &lt;code&gt;ServiceLocator&lt;/code&gt; just in the places where constructor injection isn't possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@Richard Seal: Thanks to SXA you are able to use Dependency Injection also on Sitecore 8.1! &#xA;(we are using .NET Core container, just like in the 8.2)&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2016-11-30T07:16:16.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2990" PostTypeId="1" CreationDate="2016-11-30T07:48:31.423" Score="7" ViewCount="2265" Body="&lt;p&gt;Our customer had a request for possibility to copy or duplicate an item without a previous language versions. Only the latest versions have to be created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check my solution on &lt;a href=&quot;http://sitecore-masters.com/en/2016/11/28/duplicate-item-without-previous-versions&quot; rel=&quot;noreferrer&quot;&gt;http://sitecore-masters.com/en/2016/11/28/duplicate-item-without-previous-versions&lt;/a&gt;. Do you know any other solution?&lt;/p&gt;&#xA;" OwnerUserId="1198" LastEditorUserId="731" LastEditDate="2018-12-07T19:48:23.413" LastActivityDate="2018-12-07T19:48:23.413" Title="How to duplicate or copy item only with the latest language versions?" Tags="|commands|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2991" PostTypeId="2" ParentId="2990" CreationDate="2016-11-30T08:22:00.050" Score="2" Body="&lt;p&gt;You can use for your requirement this module: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Smart_Tools_Add_Version_and_Copy_Content.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Smart_Tools_Add_Version_and_Copy_Content.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a. It adds a new version to the selected destination language version.&#xA;If you have 3 versions it's adding just the last one. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;b. It copies the content from the source language (context item) to all selected destination language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;c. It has the option of including the child items as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nehemiahj.com/2013/10/smart-tools-1-add-version-and-copy.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nehemiahj.com/2013/10/smart-tools-1-add-version-and-copy.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-11-30T08:22:00.050" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="2992" PostTypeId="2" ParentId="2772" CreationDate="2016-11-30T09:52:38.230" Score="3" Body="&lt;p&gt;I'm guessing, based on your edits and the other responses, that you're issue lies in indexing - and that you're probably using Solr (where maybe you had Lucene in your local test).  There's several configuration setups that trigger synchronous indexing during package installs, and these manifest as slow throughput without obvious load on either the DB or Sitecore machines (cause it's the indexing server crapping out).  I guess Solr because you mentioned there's no obvious CPU load on the local Sitecore box - I wonder if you also checked network performance and/or disk I/O as these can be other culprits?  Assuming those are all OK, my thoughts turn to the indexing subsystem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's a few things you can do to improve throughput when installing packages (both update and regular Sitecore packages) - from my bag of tricks...&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Disable indexing - I have a patch file that sets all the update strategies to &quot;manual&quot;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;    &amp;lt;manual ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot; patch:instead=&quot;*[1]&quot; /&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is really a failsafe to prevent indexing being triggered by the update of items, and to prevent timed refreshed from stealing process time.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Disable the history engine - the history engine logs changes to items for use with incremental publishing.  This means every item update is really 2 updates.  Not good for performance, but worse than that, the history tables can get really big if you don't do periodic full or incremental publishes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;databases&amp;gt;&#xA;    &amp;lt;database id=&quot;core&quot;&amp;gt;&#xA;        &amp;lt;Engines.HistoryEngine.Storage&amp;gt;&amp;lt;patch:delete /&amp;gt;&amp;lt;/Engines.HistoryEngine.Storage&amp;gt;&#xA;        &amp;lt;Engines.HistoryEngine.SaveDotNetCallStack&amp;gt;&amp;lt;patch:delete /&amp;gt;&amp;lt;/Engines.HistoryEngine.SaveDotNetCallStack&amp;gt;&#xA;    &amp;lt;/database&amp;gt;&#xA;    &amp;lt;database id=&quot;master&quot;&amp;gt;&#xA;        &amp;lt;Engines.HistoryEngine.Storage&amp;gt;&amp;lt;patch:delete /&amp;gt;&amp;lt;/Engines.HistoryEngine.Storage&amp;gt;&#xA;        &amp;lt;Engines.HistoryEngine.SaveDotNetCallStack&amp;gt;&amp;lt;patch:delete /&amp;gt;&amp;lt;/Engines.HistoryEngine.SaveDotNetCallStack&amp;gt;&#xA;    &amp;lt;/database&amp;gt;&#xA;&amp;lt;/databases&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Turn off App Pool recycles on config changes - this means Sitecore will not be able to trigger an app pool recycle by &quot;touching&quot; the web.config - you have to do it manually, but now you have the power!&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove the indexing events on &lt;code&gt;packageinstall:items:ended&lt;/code&gt; - again, you need to rebuild indexes manually, but you can do it when you're finished rather than letting Sitecore decide to launch jobs for you in the background.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;events&amp;gt;&#xA;    &amp;lt;event name=&quot;packageinstall:items:ended&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.ContentSearch.Events.PackagingEventHandler, Sitecore.ContentSearch&quot; method=&quot;OnPackageInstallItemsEndHandler&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;&amp;lt;/events&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Disable counters - be honest, you're not using them anyway&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;    &amp;lt;setting name=&quot;Counters.Enabled&quot; set:value=&quot;false&quot; /&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;6&quot;&gt;&#xA;&lt;li&gt;Related to indexing and history, disable the threshold checks - these escalate partial index rebuilds to full rebuilds when the number of items in the history table gets over a certain level; I'm not sure about the thinking here - may be a performance tradeoff.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;contentSearch&amp;gt;&#xA;    &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;indexUpdateStrategies&amp;gt;&#xA;            &amp;lt;onPublishEndAsyncWeb type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;                &amp;lt;CheckForThreshold&amp;gt;False&amp;lt;/CheckForThreshold&amp;gt;&#xA;            &amp;lt;/onPublishEndAsyncWeb&amp;gt;&#xA;        &amp;lt;/indexUpdateStrategies&amp;gt;&#xA;    &amp;lt;/indexConfigurations&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That's just an example - you obviously don't have to do this if you've set all your index strategies to manual.  We use this configuration all the time, because our authors rarely use full-site or incremental publishing.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-11-30T09:52:38.230" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="2993" PostTypeId="1" AcceptedAnswerId="2996" CreationDate="2016-11-30T12:06:04.037" Score="10" ViewCount="1171" Body="&lt;p&gt;We had an issue recently where the Solr search servers went down and it took the site down too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to handle this gracefully and keep the site up but just return an error message when the user tries to use the site search or other functionality that requires Search?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore seems to check connectivity to Solr pretty early on and bomb out if it can't connect to one or more indexes. &lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-12-02T12:46:55.253" Title="Gracefully handle Solr search connectivity issues" Tags="|solr|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2994" PostTypeId="1" CreationDate="2016-11-30T12:55:21.423" Score="3" ViewCount="347" Body="&lt;p&gt;&lt;strong&gt;Scenario:&lt;/strong&gt; I'm on a page in Experience Editor. The page consists of some components in them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; I press &quot;Lock and edit&quot; in the notifications.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; I now edit in a component on the page and save.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A new version is added to the &lt;strong&gt;&lt;em&gt;component &amp;amp; page&lt;/em&gt;&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now both the old and the new version of the page point to the new version of the component. Which isn't the result I'm expecting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why does version 1 of the &lt;strong&gt;&lt;em&gt;page&lt;/em&gt;&lt;/strong&gt; have version 2 of the component?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I want is versions of the &lt;strong&gt;&lt;em&gt;page&lt;/em&gt;&lt;/strong&gt; to remember what versions they had of their renderings data source.&lt;/p&gt;&#xA;" OwnerUserId="756" LastEditorUserId="4050" LastEditDate="2019-12-29T06:39:32.020" LastActivityDate="2020-01-08T15:24:49.577" Title="Versioning of associated content, Sitecore 8.2 initial" Tags="|versions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="2995" PostTypeId="2" ParentId="2994" CreationDate="2016-11-30T13:15:32.953" Score="-2" Body="&lt;p&gt;This seems to be standard behavior for Sitecore.  Having said that, there is a setting called &lt;strong&gt;WebEdit.EditAllVersions&lt;/strong&gt;.  By default, it is set to &lt;strong&gt;true&lt;/strong&gt;.  I've not experimented with changing this to false but you could try that.  The comments for this setting read:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;  WEB EDIT ALL VERSIONS&#xA;            Allows switch to the shared layout of the page.&#xA;            Default value: true&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;WebEdit.EditAllVersions&quot; value=&quot;true&quot; patch:source=&quot;Sitecore.ExperienceEditor.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This might be related to the issue you're experiencing.&lt;/p&gt;&#xA;" OwnerUserId="38" LastActivityDate="2016-11-30T13:15:32.953" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2996" PostTypeId="2" ParentId="2993" CreationDate="2016-11-30T13:19:50.343" Score="14" Body="&lt;p&gt;There is. Sitecore has open sourced a patch to fix this. The code is on github, you'll need to download it and build the patch against your version of Sitecore. You may need to adjust the code to work with different releases. For example, I had to install this on a 7.x instance and it required some code changes to build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/andrew-at-sitecore/Sitecore.Support.391039&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/andrew-at-sitecore/Sitecore.Support.391039&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically what this does is wrap all the Solr stuff in checks to a monitor class, and logs errors if Solr is unavailable rather than throwing exceptions. This will work on CD servers if your code handles empty search results gracefully. It will not help the Sitecore backend, that will still break if Solr is down.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a blog post about it here: &lt;a href=&quot;http://www.chrissulham.com/keep-sitecore-online-when-solr-fails/&quot; rel=&quot;noreferrer&quot;&gt;http://www.chrissulham.com/keep-sitecore-online-when-solr-fails/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2016-11-30T13:19:50.343" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="2997" PostTypeId="1" CreationDate="2016-11-29T02:28:56.533" Score="2" ViewCount="586" Body="&lt;p&gt;In the Content Editor, on the Review tab, in the Workflow group. The Check In button name and icon is not showing, but the button itself is clickable and appends description. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JeDaC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JeDaC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1217" OwnerDisplayName="MC Amil" LastEditorUserId="73" LastEditDate="2016-11-30T13:55:28.387" LastActivityDate="2016-11-30T13:55:28.387" Title="Missing Check In button name and icon in Review Tab (Sitecore 8.2)" Tags="|sitecore-client|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="2998" PostTypeId="2" ParentId="2997" CreationDate="2016-11-29T06:05:59.553" Score="1" Body="&lt;p&gt;&lt;strong&gt;EDIT 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code that Render the &lt;code&gt;Check In&lt;/code&gt; button:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void RenderCheckIn(Item item)&#xA;{&#xA;  Assert.ArgumentNotNull((object) item, &quot;item&quot;);&#xA;  string str1 = Translate.Text(&quot;Check In&quot;);&#xA;  string str2 = &quot;Office/16x16/check.png&quot;;&#xA;  Item checkInItem = this.GetCheckInItem();&#xA;  if (checkInItem != null)&#xA;  {&#xA;    str1 = checkInItem[&quot;Phrase&quot;];&#xA;    str2 = checkInItem.Appearance.Icon;&#xA;  }&#xA;  MenuItem menuItem = new MenuItem();&#xA;  this.Options.Controls.Add((System.Web.UI.Control) menuItem);&#xA;  menuItem.Header = str1;&#xA;  menuItem.Icon = str2;&#xA;  menuItem.Click = &quot;item:checkin&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What it does, it fetch the item from the Core Database at the following path:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Settings/Workflow/Check In&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, you need to make sure that the Check In Item has a value from the field &lt;code&gt;Phrase&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally, the icons are retrieved from the cache. Go to the path &lt;code&gt;Website/temp/IconCache/office/16x16&lt;/code&gt; and see if the &lt;code&gt;check.png&lt;/code&gt; is present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a screenshot of the Inspect Tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KqABh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KqABh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to inspect the element and see if the &lt;code&gt;src&lt;/code&gt; has the path. Below is the icon that needs to be present in the cache folder:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EoAOd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EoAOd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may copy the image and save it to the path &lt;code&gt;Website/temp/IconCache/office/16x16&lt;/code&gt; under the name of &lt;code&gt;check.png&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" OwnerDisplayName="Hishaam Namooya" LastActivityDate="2016-11-29T08:06:18.263" CommentCount="16" ContentLicense="CC BY-SA 3.0" />
  <row Id="2999" PostTypeId="2" ParentId="2244" CreationDate="2016-11-30T14:15:34.650" Score="2" Body="&lt;p&gt;We can achieve this using spellcheck dictionary.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a composite tokenized index field using custom n-gram analyzer with help of ShingleFilter.&lt;/li&gt;&#xA;&lt;li&gt;Create a custom spellcheck dictionary.&lt;/li&gt;&#xA;&lt;li&gt;Get suggested words from the dictionary.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For achieving this in Sitecore using Lucene, download the available source code for &lt;strong&gt;&quot;Sitecore Cookbook for Developers&quot;&lt;/strong&gt; from -&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/PacktPublishing/Sitecore-Cookbook-For-Developers/tree/master/Chapter%209/7.%20Correcting%20a%20search%20with%20did%20you%20mean&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/PacktPublishing/Sitecore-Cookbook-For-Developers/tree/master/Chapter%209/7.%20Correcting%20a%20search%20with%20did%20you%20mean&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2016-11-30T14:15:34.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3000" PostTypeId="1" CreationDate="2016-11-30T04:31:31.887" Score="0" ViewCount="288" Body="&lt;p&gt;I'm working with news items. &#xA;On a home page, I need to display a list of news items that link to news pages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My content tree looks like&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Home Page&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;News&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;News 1 Page&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Shared Content&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;News&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;News 1 Content&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;With News 1 Page using News 1 Content as its Datasource etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's all fine but on my home page, I also have a news listing control which has Shared Content/News as its data source. That displays correctly but I then need to link to the actual page in News and I don't have that link in the Datasource and don't know what the URL is. I want to link from the news snippet on the home page to the news page related to that news content. I'm using View Renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So firstly does that tree look good to you? And secondly, how can I get a link to a news page from that news listing on the home page?&lt;/p&gt;&#xA;" OwnerUserId="1347" OwnerDisplayName="Steve Ward" LastEditorDisplayName="user62" LastEditDate="2017-04-05T12:12:44.397" LastActivityDate="2017-04-05T12:12:44.397" Title="Sitecore 8.0 Content Tree structure" Tags="|information-architecture|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3001" PostTypeId="2" ParentId="3000" CreationDate="2016-11-30T09:46:01.077" Score="0" Body="&lt;p&gt;Tree looks good to me. If i was you i would keep Shared content on the same level of Home and News as sub level to Home&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SharedContent&lt;/li&gt;&#xA;&lt;li&gt;Home&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;News&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;From home page on news listing control instead of pointing datasource to shared content/News why don't you try pointing to News? In such case you can know the news url's and even datasources(News 1 Content) associated with them.&lt;/p&gt;&#xA;" OwnerUserId="1045" OwnerDisplayName="Dheeraj Palagiri" LastActivityDate="2016-11-30T10:10:10.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3002" PostTypeId="1" CreationDate="2016-11-30T14:19:26.693" Score="1" ViewCount="201" Body="&lt;p&gt;I know how to add additional buttons to the WebEdit Toolbar for Rich Text fields when in Page Editor (chromecontrol.js _maxToolbarCommands for lenght, fieldchrometype.js for additional case statement for handleMessage) but I am not sure what command to use to do something similar to the &quot;Hyperlink Manager&quot; button that is available in the RTE when in Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Direction or link to a blog post would be appreciated - my googling came up empty but I can't be the first person that needs to give the business user the ability to link to an external link from Page Editor.&lt;/p&gt;&#xA;" OwnerUserId="901" LastActivityDate="2016-11-30T14:19:26.693" Title="WebEdit Button for External Link? (Sitecore 7.2)" Tags="|richtext-editor|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3003" PostTypeId="1" AcceptedAnswerId="3294" CreationDate="2016-11-30T14:47:59.913" Score="4" ViewCount="372" Body="&lt;p&gt;Context:&#xA;The Properties database table contains rows beginning with EQSTAMP which contain the instance names of the CM and CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our master db we only have a reference to the CM server instance.&#xA;In our web db we have references to the CM and both CD server instances.&#xA;In our core db we only have a reference to the CM server instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am led to believe that remote events are only processed when the instance name does not match the instance name of the server that the event is being executed on, and also the WFFM relies on the eventqueue within the core db in order to transfer form submissions from the website to the CM WFFM database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it would appear that I am missing rows from the properties table.&#xA;If I remove rows from the properties table locally the appropriate rows are re-added straight away, but on higher environments (staging and production) these rows are not being added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am replicating the core dbs between CM and CDs using merge replication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&#xA;1) is this the expected behaviour considering my local env is a single server and my higher envs are separate servers for CM and CDs?&#xA;2) why are the instance names not being added to the properties table in my staging &amp;amp; production environments?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have noticed that user account changes are reflected across CM and CDs, but WFFM form submissions not being saved to the SQL db on production (although they are on staging).&lt;/p&gt;&#xA;" OwnerUserId="639" LastEditorUserId="73" LastEditDate="2016-11-30T14:48:39.440" LastActivityDate="2016-12-12T22:40:44.140" Title="Missing EventQueue entry from Properties table?" Tags="|event-queue|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="3004" PostTypeId="1" AcceptedAnswerId="3011" CreationDate="2016-11-30T15:19:37.657" Score="3" ViewCount="2164" Body="&lt;p&gt;When we unit test we often need to change some Sitecore configuration for the tests. For example, we may have the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;configuration&amp;gt;&#xA;    &amp;lt;someNode name=&quot;myService&quot;&amp;gt;http://myservice:1234/endpoint&amp;lt;/someNode&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;mySftp&quot; value=&quot;sftp://mysftp:21/&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and we may need to change it to the following when running our unit tests:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;configuration&amp;gt;&#xA;    &amp;lt;someNode name=&quot;myservice&quot;&amp;gt;http://test.myservice:1234/endpoint&amp;lt;/someNode&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;mySftp&quot; value=&quot;sftp://test.mysftp:21/&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I had previously been handling these changes by using different build configurations with config transforms. The problem with this is that I prefer to run my unit tests across both DEBUG and RELEASE mode, since the optimizations when building in RELEASE mode (shouldn't but) can cause errors in some code. I could work around this by customizing my targets and making two build configurations for unit tests, &lt;code&gt;unitdebug&lt;/code&gt; and &lt;code&gt;unitrelease&lt;/code&gt;, but this seems kind of hacky and I'm sure there are better solutions out there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm wondering what techniques other people are using for handling these changes when running unit tests. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Partial answers are totally acceptable for this one. I expect that there may be different techniques for different kinds of settings. Getting a bunch of ideas together that I and others can pick and choose from will make a great reference for the community! Of course, I will accept the answer that works best in the most cases :)&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-11-30T15:27:36.957" LastActivityDate="2021-10-07T02:50:08.200" Title="Technique for changing Sitecore configuration for unit tests" Tags="|configuration|unit-testing|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3005" PostTypeId="2" ParentId="3004" CreationDate="2016-11-30T15:30:56.600" Score="7" Body="&lt;p&gt;I abstract out the configuration in to one (usually one but could more if it's a large project) Class with a corresponding Interface. Then rather than changing the config - I inject a mocked Interface with the config defined so that the unit test tests the functionality I'm after.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ModuleConfiguration : IModuleConfiguration&#xA;    {&#xA;        public string MySetting&#xA;        {&#xA;            get&#xA;            {&#xA;                return Settings.GetSetting(&quot;MySetting&quot;,&#xA;                    &quot;MyDefaultValue&quot;);&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I try my hardest not to muddy the water with Sitecore API functionality mixed in with other functional stuff so I'd have some sort of manager class to abstract away any Sitecore specific functionality and then probably not worry too much about Unit testing Sitecore API stuff specifically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the past, when I've wanted to do integration tests with specific Sitecore API functionality - I've used an approach similar to &lt;a href=&quot;http://getfishtank.ca/blog/unit-testing-in-sitecore-with-context-and-app-config&quot; rel=&quot;noreferrer&quot;&gt;this one&lt;/a&gt; where you use app.config to define the configuration for the tests to run. That allows you to have separate config for your tests compared to your Website project.&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2016-11-30T15:30:56.600" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3006" PostTypeId="2" ParentId="3004" CreationDate="2016-11-30T16:02:52.843" Score="2" Body="&lt;p&gt;Recently, I have started using the &lt;code&gt;SettingsSwitcher&lt;/code&gt; for mocking Sitecore &lt;code&gt;&amp;lt;setting&amp;gt;&lt;/code&gt; values. I configure all of the mocked values in the constructor of a &lt;code&gt;TestRunner&lt;/code&gt; class that I initialize before running any unit tests. The class is an &lt;code&gt;IDisposable&lt;/code&gt; that I dispose of after the tests complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the example in the OP, the &lt;code&gt;setting[@name='mySftp']&lt;/code&gt; has the value &lt;code&gt;sftp://mysftp:21/&lt;/code&gt; but when unit testing this value should be changed to &lt;code&gt;sftp://test.mysftp:21/&lt;/code&gt;. In order to do this, I would do the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TestRunner : IDisposable&#xA;{&#xA;    private SettingsSwitcher _settingsSwitcher;    &#xA;&#xA;    public TestRunner()&#xA;    {&#xA;        _settingsSwitcher = new SettingsSwitcher(&quot;mySftp&quot;, &quot;sftp://test.mysftp:21/&quot;);&#xA;&#xA;        // ...continue calling SettingsSwitcher constructor for additional settings...&#xA;&#xA;        // note that you don't have to keep setting the value of _settingsSwitcher after it has been initialized once&#xA;        new SettingsSwitcher(&quot;settingName&quot;, &quot;settingTestValue&quot;);&#xA;    }&#xA;&#xA;    public void Dispose() &#xA;    {&#xA;        if (_settingsSwitcher != null) &#xA;        {&#xA;            _settingsSwitcher.Dispose();   &#xA;        }&#xA;    }&#xA;}  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, this approach doesn't work for other Sitecore config node types, including custom ones, but it works well for the settings. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-11-30T16:02:52.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3007" PostTypeId="1" AcceptedAnswerId="3274" CreationDate="2016-11-30T16:39:48.520" Score="2" ViewCount="2264" Body="&lt;p&gt;I have an item with 6 controls in the layout details. When I publish, only 1  control in the layout details is being published. I want all the layout details controls to be published, but I cannot figure out why the other 5 controls are not being published to the web database. All of the layouts and templates have been verified to exist in the web database. I have tried publishing multiple times and a successful publish is always indicated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 7.5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Publish Settings:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sH41l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sH41l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Master Database:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YqhT4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YqhT4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Web Database (After Publish):&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZrmEI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZrmEI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here is some of the logging information:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;7436 16:56:54 INFO  [Publishing]: Starting to process 1 publishing options&#xA;7436 16:56:54 INFO  [PublishOptions]: root:{C0DBB99F-72DA-4B56-A0AF-9A7DE9BEC070}, language:en, targets:Internet, database:web, mode:SingleItem, smart:True children:True, related:True&#xA;7888 16:56:54 WARN  DeepItemPublish detected. PublishContext was overridden with DisableDatabaseCaches=True.&#xA;7888 16:56:54 INFO  Starting [Publishing] - ProcessQueue&#xA;7888 17:02:58 INFO  Finished [Publishing] - ProcessQueue in 364401 ms&#xA;7888 17:02:58 INFO  Publish Mode : SingleItem&#xA;7888 17:02:59 INFO  Created : 0&#xA;7888 17:02:59 INFO  Updated : 29&#xA;7888 17:02:59 INFO  Deleted : 1&#xA;7888 17:02:59 INFO  Skipped : 775318&#xA;4820 17:04:13 INFO  [Publishing]: Starting to process 1 publishing options&#xA;4820 17:04:13 INFO  [PublishOptions]: root:{5FF2C731-384D-4420-801C-CE7DD046AACC}, language:en, targets:Internet, database:web, mode:SingleItem, smart:False children:True, related:True&#xA;7412 17:04:13 WARN  DeepItemPublish detected. PublishContext was overridden with DisableDatabaseCaches=True.&#xA;7412 17:04:13 INFO  Starting [Publishing] - ProcessQueue&#xA;7412 17:05:28 INFO  Finished [Publishing] - ProcessQueue in 74978 ms&#xA;7412 17:05:28 INFO  Publish Mode : SingleItem&#xA;7412 17:05:28 INFO  Created : 0&#xA;7412 17:05:28 INFO  Updated : 794&#xA;7412 17:05:28 INFO  Deleted : 0&#xA;7412 17:05:28 INFO  Skipped : 0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Raw Values for Renderings on Master:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r xmlns:p=&quot;p&quot; xmlns:s=&quot;s&quot; p:p=&quot;1&quot;&amp;gt;&#xA;&#xA;&amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;&amp;gt;   the default layout&#xA;&#xA;&amp;lt;r uid=&quot;{618896CE-55C4-44C4-B4DF-C6718361821E}&quot;&amp;gt;  not found&#xA;&amp;lt;p:d /&amp;gt;&#xA;&amp;lt;/r&amp;gt;      &#xA;&#xA;&amp;lt;r uid=&quot;{F87FA886-A693-49F2-B989-806830B9379B}&quot;  not found&#xA;&#xA;p:before=&quot;r[@uid='{CD25EEB7-729D-4EB2-9423-99EF7DEA7CE0}']&quot; not found&#xA;&#xA;s:id=&quot;{75C72E54-0D18-4BED-877B-8BE79992D12D}&quot; this is found Channel Partner Listing&#xA;&#xA;s:ph=&quot;Inner Content&quot; /&amp;gt;&#xA;&amp;lt;/d&amp;gt;&#xA;&#xA;&amp;lt;d id=&quot;{207131FA-F6B2-4488-BCB3-3BF70100B9B8}&quot;&amp;gt;  app center placeholder&#xA;&#xA;&amp;lt;r uid=&quot;{9D07FE7B-AB06-496F-AF3B-F02D185E289C}&quot;&amp;gt; not found&#xA;&#xA;&amp;lt;p:d /&amp;gt;&#xA;&#xA;&amp;lt;/r&amp;gt;&#xA;&#xA;&amp;lt;r uid=&quot;{ED82E2E5-E7E0-4F43-A875-DA36D3DB9509}&quot; not found&#xA;&#xA;p:before=&quot;r[@uid='{09539080-F041-4C45-95D3-99F2B070BE40}']&quot; not found&#xA;&#xA;&#xA;s:id=&quot;{043679EC-6A0E-4BE1-9CEB-2A09AFDC5844}&quot; mobile channel partner listing&#xA;&#xA;s:ph=&quot;Inner Content&quot; /&amp;gt;&#xA;&#xA;&amp;lt;/d&amp;gt;&#xA;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2016-12-08T15:04:17.357" LastActivityDate="2017-01-02T13:42:46.803" Title="Layout Details Not Being Published" Tags="|publishing|" AnswerCount="3" CommentCount="18" ContentLicense="CC BY-SA 3.0" />
  <row Id="3008" PostTypeId="2" ParentId="2842" CreationDate="2016-11-30T17:07:01.137" Score="1" Body="&lt;p&gt;Thanks for the answers. Turns out the issue was down to configuration on the Dynamics side. I tried with a free trial of Dynamics 365 and was able to connect successfully with the connection string I displayed originally&lt;/p&gt;&#xA;" OwnerUserId="118" LastActivityDate="2016-11-30T17:07:01.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3009" PostTypeId="2" ParentId="3000" CreationDate="2016-11-30T17:37:15.207" Score="2" Body="&lt;p&gt;From what I understand, your content tree looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore&#xA;|_Content&#xA;  |_Home&#xA;  | |_News&#xA;  |   |_News1 Page&#xA;  |_SharedContent&#xA;   |_News&#xA;     |_News1 Content&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This &lt;strong&gt;&lt;em&gt;can&lt;/em&gt;&lt;/strong&gt; be a viable way to organise things, but I would only go this route &lt;strong&gt;&lt;em&gt;if you really need to&lt;/em&gt;&lt;/strong&gt; and get some real benefit from doing so i.e. if you have a multi-site solution and need to share those articles between the sites (in that case, you would still have some SEO considerations regarding duplicate content which would need to be addressed).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to ask yourself: &lt;strong&gt;&lt;em&gt;What is the actual benefit of splitting the news article content between the news pages and the news SharedContent items?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under this architecture, you have two basic options: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Store a link to the pages within the SharedContent items. You could maybe auto-populate / auto-update this link from a save action of a specific template type, however you still have to contend with the scenario of having multiple pages linking to the same SharedContent item&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Perform some kind of query to determine the page items which link to your SharedContent items - this will be SLOW!&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My opinion is that neither of the above options are particularly nice and that you should try to keep things simple and structure your content as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore&#xA;|_Content&#xA;  |_Home&#xA;    |_News&#xA;      |_News1 Page&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-11-30T17:37:15.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3010" PostTypeId="2" ParentId="3007" CreationDate="2016-11-30T18:08:40.773" Score="2" Body="&lt;h1&gt;Bug with item clones&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If any of the involved items are virtual items, then what you're seeing is a known defect. See the following Knowledge Base article for a fix:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://kb.sitecore.net/articles/490254&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://kb.sitecore.net/articles/490254&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Unpublished items&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This sometimes happens due to the fact that some of the related items (such as rendering definitions, layout definitions, templates, placeholder settings, etc.) don't exist in the language you're publishing in.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Fixes&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There are 2 ways to fix this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add English versions of those items unavailable in English&lt;/li&gt;&#xA;&lt;li&gt;Or perform the publish in all languages&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Under the hood&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;What I believe happens: the value of the &lt;code&gt;__Layout&lt;/code&gt; field does get published. This field only contains IDs of the layout(s) and renderings, as well as placeholder keys. When you open the item's Presentaion Details dialog, Sitecore will try to get the items that represent the layout definition and rendering definitions. It cannot find them (as they haven't been published), so it has no way of showing and using them.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-11-30T18:58:09.277" LastActivityDate="2016-11-30T18:58:09.277" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3011" PostTypeId="2" ParentId="3004" CreationDate="2016-11-30T18:19:42.180" Score="4" Body="&lt;p&gt;Assuming that you are using FakeDB for your Unit Tests you can simply change settings on the fly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See example:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (Db fakeDb = new Db())&#xA;{&#xA;    fakeDb.Configuration.Settings[&quot;SettingName&quot;] = &quot;SettingValue&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-11-30T18:19:42.180" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3012" PostTypeId="1" CreationDate="2016-11-30T18:23:40.373" Score="7" ViewCount="509" Body="&lt;p&gt;We are having some performance issue when setting Datasources and Linking items in Sitecore 8.2.  The test server just hangs when trying to expand a node in the dialog box.  The CPU spikes to 100% and the Memory just keeps climbing until it reaches 100% as well.  It runs like this for 5 – 10 minutes and eventually the server just kills the IIS process.  I do not have this problem on my local development machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I’m pretty sure this is related to Facets.  The reason is what I’m seeing in the search logs.  Here are the entries in the search log once I try to expand a node when picking a Datasource:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Local machine:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;19052 10:58:04 INFO  Facet Search Query : +_datasource:sitecore +(+_latestversion:1 +_path:11111111111111111111111111111111)&#xA;19052 10:58:04 INFO  Facet Search Index : sitecore_master_index&#xA;19052 10:58:04 INFO  GetFacets : _templatename : +_datasource:sitecore +(+_latestversion:1 +_path:11111111111111111111111111111111) Filters: &#xA;19052 10:58:04 INFO  GetFacets : culture : +_datasource:sitecore +(+_latestversion:1 +_path:11111111111111111111111111111111) Filters: &#xA;19052 10:58:05 INFO  GetFacets : parsedcreatedby : +_datasource:sitecore +(+_latestversion:1 +_path:11111111111111111111111111111111) Filters: &#xA;19052 10:58:05 INFO  Facet Search Took : 336ms&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Test CMS Server: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3916 09:35:15 INFO  Facet Search Query : +_datasource:sitecore +(+_latestversion:1 +_path:11111111111111111111111111111111)&#xA;3916 09:35:15 INFO  Facet Search Index : sitecore_master_index&#xA;3916 09:35:15 INFO  GetFacets : _templatename : +_datasource:sitecore +(+_latestversion:1 +_path:11111111111111111111111111111111) Filters: &#xA;3916 09:35:16 INFO  GetFacets : culture : +_datasource:sitecore +(+_latestversion:1 +_path:11111111111111111111111111111111) Filters: &#xA;3916 09:35:16 INFO  GetFacets : parsedcreatedby : +_datasource:sitecore +(+_latestversion:1 +_path:11111111111111111111111111111111) Filters: &#xA;3916 09:35:17 INFO  GetFacets : __smallcreateddate : +_datasource:sitecore +(+_latestversion:1 +_path:11111111111111111111111111111111) Filters:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice how my local machine is not using &lt;code&gt;__smallcreateddate&lt;/code&gt; as a Facet.  Also notice that the test server never gets an entry related to how long the Facet search took.  I found this article that I thought might fix the issue &lt;a href=&quot;https://kb.sitecore.net/articles/576214&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/576214&lt;/a&gt;.  I did find and disable the Facet on the &lt;code&gt;/sitecore/system/Settings/Buckets/Facets/Create Date Author&lt;/code&gt; item.  I did this in both the Master and Core DBs and then published the folder.  None of this seems to have helped.  I still see these facets being used.&lt;/p&gt;&#xA;" OwnerUserId="1213" LastEditorUserId="104" LastEditDate="2017-04-16T17:11:43.007" LastActivityDate="2017-04-16T17:11:43.007" Title="Performance Issue With Facets" Tags="|indexing|performance|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3013" PostTypeId="2" ParentId="2833" CreationDate="2016-11-30T18:35:43.583" Score="8" Body="&lt;h2&gt;Configuring a dedicated Content Management server&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Normally, pure CM servers should not read and write interactions and contacts in the collection database. See this official documentation page for more information:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure a content management server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest fix for you would be to disable the &lt;code&gt;Sitecore.Analytics.Tracking.Database.config&lt;/code&gt;. In any case, make sure to follow the configuration documentation to the letter.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Combined server roles&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your CM can also be combined with another server role. In that case, keep in mind that if the CM doesn't share session databases with your CDs, then it must be considered a part of a separate cluster. This means that it should have the setting &lt;code&gt;Analytics.ClusterName&lt;/code&gt; set to a different value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further reading:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server#_Changes_to_configuration_1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure a content delivery server&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/server_considerations/clustered_server_environments&quot; rel=&quot;nofollow noreferrer&quot;&gt;Clustered server environments&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="442" LastEditDate="2017-11-14T13:03:35.600" LastActivityDate="2017-11-14T13:03:35.600" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3014" PostTypeId="2" ParentId="2788" CreationDate="2016-11-30T19:25:06.090" Score="3" Body="&lt;p&gt;I eventually found the source of the mapping problem. I was unaware that we were using a GlassMapper extension that automatically handles spaces in fields names. For example: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual string ItemTitle { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Would automatically try to map to the field Item Title. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By naming my fields without spaces in my template I inadvertently broke the logic in the GlassMapper extension so the fields were never able to resolve correctly. By changing the fields in my template to add spaces, I fixed the issue.&lt;/p&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2016-11-30T19:25:06.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3015" PostTypeId="1" AcceptedAnswerId="3086" CreationDate="2016-11-30T19:41:20.837" Score="3" ViewCount="243" Body="&lt;p&gt;Sitecore 8.1 (160302)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a client using Sitecore FXM to export HTML/JS/CSS to an external site in order to preserve the same experience outside of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;experience&quot; itself is mostly the header and footer, which contains site navigation and a &lt;a href=&quot;https://developers.coveo.com/x/KokkAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;Coveo for Sitecore Search Box component&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The search box works well within Sitecore, but on the external site, the search box is not even appearing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I validated that:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All the JS dependencies are loaded&lt;/li&gt;&#xA;&lt;li&gt;All the CSS is loaded&lt;/li&gt;&#xA;&lt;li&gt;The HTML is loaded&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What I realized is that not all the HTML is renderred, actually is seems like the Razor-inserted HTML is not done properly. By adding the HTML directly in the Chrome console, I managed to re-create my search box, but obviously, the JavaScript events were not attached to it, so the box was useless.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Coveo will build an array of components when the page load, and then init these components in order for them to be usable. It seems like that init is never done in this case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now here is where I am heading: Is it possible that FXM might not always respect the hierarchy of execution when exporting to an external website?&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2017-10-02T14:32:49.363" LastActivityDate="2017-10-02T14:32:49.363" Title="Sitecore FXM with Coveo, dynamic html does not seem to render" Tags="|coveo|javascript|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3016" PostTypeId="2" ParentId="2762" CreationDate="2016-11-30T19:41:58.900" Score="4" Body="&lt;p&gt;It turns out that there is a bug in Sitecore related to EXM and FXM files on the same instance.  Sitecore Support pointed me to the following hotfix package that fixed the problem I was having: &lt;a href=&quot;https://dl.sitecore.net/hotfix/Sitecore%20CMS%208.1%20rev.%20160519%20Hotfix%20119569-1.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dl.sitecore.net/hotfix/Sitecore%20CMS%208.1%20rev.%20160519%20Hotfix%20119569-1.zip&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-11-30T19:41:58.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3017" PostTypeId="2" ParentId="2733" CreationDate="2016-11-30T19:43:23.503" Score="1" Body="&lt;p&gt;The most likely reason for this is that the clone item is not a clone anymore. It could have been uncloned, which would lead to the behavior you're seeing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A clone item can be uncloned:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If someone has used the &quot;Unclone&quot; feature on the &quot;Configure&quot; ribbon tab;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If someone has removed a version of the original item. A quote from &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/cloning__versioning/the_impact_of_versions_on_clones&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Removing a version of the original item that has clones&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;All the clone versions that are linked to that specific version of the original item are uncloned.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;This means that these versions of the clone are turned into regular items that no longer inherit any values from the original item.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-11-30T19:43:23.503" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3018" PostTypeId="2" ParentId="2891" CreationDate="2016-11-30T20:29:08.400" Score="2" Body="&lt;p&gt;I actually wrote a &lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/june/06/creating-a-multi-root-treelist-field-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt; on this same issue a while back, and my solution combines both &lt;a href=&quot;https://jammykam.wordpress.com/2016/01/06/specifying-query-and-parameters-for-sitecore-treelist-field-source/&quot; rel=&quot;nofollow noreferrer&quot;&gt;JammyKam's&lt;/a&gt; and &lt;a href=&quot;http://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Kamsar's&lt;/a&gt; solutions (the ones linked to in @Gatogordo's post) and implements exactly what you are looking for and more.&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;Note that I am currently using the code in my post on a production site.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Overview&lt;/h3&gt;&#xA;&lt;p&gt;Sitecore's Treelist field is an excellent way to select items that live under a common root node, but it doesn't support multiple roots. To support multiple roots, you will need to create your own field type.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/june/06/creating-a-multi-root-treelist-field-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;My post&lt;/a&gt; will show you how, and includes support for Datasource Parameters (Include/Exclude from Template/Display, etc.) and also adds support for using Datasource Parameters with Sitecore Query (which isn't supported OOTB). It even allows you to mix and match query and non-query datasources, e.g. &lt;code&gt;/sitecore/content/home/foo/bar|query:./[@@templateid='{...}]&lt;/code&gt;. In addition, it will also show you how you can override the display of the field to show the path to each item in the selection pane, in order to better support multiple roots with the same name without confusing the content authors.&lt;/p&gt;&#xA;&lt;h3&gt;Considerations&lt;/h3&gt;&#xA;&lt;p&gt;Before you start developing, there are a few things that you need to consider:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If you're displaying multiple roots then you need to customize the&#xA;view so that the content author can see the paths to the elements.&#xA;Since roots may have the same name, the name of the root may not be&#xA;meaningful enough.&lt;/li&gt;&#xA;&lt;li&gt;The default Treelist shows the root /Sitecore&#xA;node if the root was not found. However, since we're going to be&#xA;showing multiple roots, it's likely better to instead hide the node&#xA;if the root was not found.&lt;/li&gt;&#xA;&lt;li&gt;If you're planning to use this on a&#xA;solution with content search and you want to index this field type,&#xA;you will need to add it to your index configuration.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3&gt;Details&lt;/h3&gt;&#xA;&lt;p&gt;My post is too long to repeat everything here, but basically what you need to do is override the logic for parsing the datasource and applying the datasource parameters, and then use a derived version of the &lt;code&gt;MultiRootTreeview&lt;/code&gt; class to render the field. See &lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/june/06/creating-a-multi-root-treelist-field-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;my post&lt;/a&gt; for more details, the code, and thorough explanations of the different pieces that need customization.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1233" LastEditDate="2023-05-06T07:22:04.907" LastActivityDate="2023-05-06T07:22:04.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3019" PostTypeId="1" AcceptedAnswerId="3021" CreationDate="2016-11-30T21:11:05.163" Score="3" ViewCount="1877" Body="&lt;p&gt;&lt;strong&gt;How can I change the &quot;where the site name compares to value&quot; personalization rule so that &quot;value&quot; is a list of Sites driven by my configuration?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a website in multiple languages with multiple hostnames.  Each hostname corresponds to a different country and different site definition within my configuration (but each site points to the same place in the content tree).  I have named my sites after countries, so:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;mysite.com resolves to the &quot;United States&quot; site&lt;/li&gt;&#xA;&lt;li&gt;mysite.co.uk resolves to the &quot;Great Britain&quot; site&lt;/li&gt;&#xA;&lt;li&gt;mysite.ca resolves to the &quot;Canada&quot; site&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What I am looking for is a way to change the &quot;where the current web site name compares to value&quot; to allow for a Dropdown List of &quot;United States&quot;, &quot;Great Britain&quot;, and &quot;Canada&quot; rather than a raw text field.&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-12-01T22:16:42.960" Title="Customizing the Personalization Rules" Tags="|personalization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3020" PostTypeId="2" ParentId="3019" CreationDate="2016-11-30T21:53:28.490" Score="3" Body="&lt;p&gt;I would not change the existing condition.  Instead I would implement a custom condition that functions as you'd like.  The following blog post explains in detail how to create a custom condition.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://www.sundoginteractive.com/blog/how-to-customize-personalization-rules-in-sitecore-8&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sundoginteractive.com/blog/how-to-customize-personalization-rules-in-sitecore-8&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The condition you are going to copy is located here:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Visit/Site Name&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You'll need to accomplish every step described in the blog post but the main thing you need to do to display a drop-down to the Marketer instead of a text box is to configure your custom condition with the following syntax:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where the country name [operatorid,StringOperator,,compares to]&#xA;  &lt;strong&gt;[value,Tree,root=[[full Sitecore path to an item in your Sitecore tree&#xA;  that contains country items]]&lt;/strong&gt;,specific country]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What exposes the drop-down GUI instead of the textbox GUI is the &lt;strong&gt;Tree&lt;/strong&gt; and &lt;strong&gt;root&lt;/strong&gt; elements in the second half of the statement above.&lt;/p&gt;&#xA;" OwnerUserId="38" LastActivityDate="2016-11-30T21:53:28.490" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3021" PostTypeId="2" ParentId="3019" CreationDate="2016-11-30T21:57:24.243" Score="11" Body="&lt;ol&gt;&#xA;&lt;li&gt;Copy the &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/System/Web&#xA;Site Name&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Put &#xA;&lt;code&gt;where the current web site name [operatorid,StringOperator,,compares to] [Value,Tree,root=/sitecore/system/Settings/Rules/Definitions/Elements/System/Copy of Web Site Name/Sites, value]&lt;/code&gt; into the &lt;code&gt;Text&lt;/code&gt; field of &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/System/Web Site Name&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Implement your custom condition which can resolve the item by ID because by default WebSiteNameCondition expects your site name as a string&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Rules;&#xA;using Sitecore.Sites;&#xA;&#xA;namespace MyProject.SiteConditions&#xA;{&#xA;    public class WebSiteNameCondition&amp;lt;T&amp;gt; : Sitecore.Rules.Conditions.SiteConditions.WebSiteNameCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;    {&#xA;        protected override bool Execute(T ruleContext)&#xA;        {&#xA;            Assert.ArgumentNotNull(ruleContext, &quot;ruleContext&quot;);&#xA;            if (string.IsNullOrEmpty(base.Value))&#xA;            {&#xA;                return false;&#xA;            }&#xA;&#xA;            var siteItem = Context.Database.GetItem(base.Value);&#xA;            if (siteItem == null)&#xA;            {&#xA;                return false;&#xA;            }&#xA;&#xA;            var siteName = siteItem[&quot;YourSiteField&quot;];&#xA;&#xA;            SiteContext site = Context.Site;&#xA;            if (site == null)&#xA;            {&#xA;                return false;&#xA;            }&#xA;            else&#xA;            {&#xA;                return this.Compare(site.Name, siteName);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Put your implementation path to the &lt;code&gt;Type&lt;/code&gt; field, in this case it is &lt;code&gt;MyProject.SiteConditions.WebSiteNameCondition,MyProject&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Result&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can select your website as an item in &lt;strong&gt;Rule Set Editor&lt;/strong&gt; when you are using this newly created rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cEAZN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cEAZN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest you to also read the following article to understand what are these 4 parameters for - &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_what39s_new/posts/creating-custom-conditions-part-1&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_what39s_new/posts/creating-custom-conditions-part-1&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-12-01T22:16:42.960" LastActivityDate="2016-12-01T22:16:42.960" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3023" PostTypeId="1" CreationDate="2016-12-01T03:41:59.957" Score="2" ViewCount="348" Body="&lt;p&gt;On Edit mode, I want to add a video from Global reference. After adding the rendering module, and selecting the video, when the page reloads, the rendering module was added but it's not displaying the video. I'm new to Sitecore, please bear with me. Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1217" LastActivityDate="2016-12-01T10:55:05.167" Title="Rendering Module not displaying video (Sitecore 8.2)" Tags="|sitecore-client|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3024" PostTypeId="1" AcceptedAnswerId="3029" CreationDate="2016-12-01T06:15:56.313" Score="6" ViewCount="440" Body="&lt;p&gt;I have applied for Sitecore MVP through my Gmail account as I have most of accounts, including the Sitecore Developer Network, the rest of the community site and others link to my Gmail account. But some MVP has recommended me through my official email ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what should I do? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should I forward the recommendation confirmation email which I have received on my official ID to mvp-program@sitecore.net. I can copy the Gmail ID also when I forward the recommendation confirmation email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest for best move forward.&lt;/p&gt;&#xA;" OwnerUserId="607" LastEditorUserId="312" LastEditDate="2018-11-07T10:10:34.833" LastActivityDate="2018-11-07T10:10:34.833" Title="What to do if I received the Sitecore MVP recommendations on my office email id and not on the email ID applied through?" Tags="|community|mvp|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3025" PostTypeId="2" ParentId="3024" CreationDate="2016-12-01T06:21:19.790" Score="6" Body="&lt;p&gt;In a previous post (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2939/how-to-edit-sitecore-mvp-nomination/2941#2941&quot;&gt;How to edit Sitecore MVP nomination&lt;/a&gt;)  Tamas Varga wrote to write a email to mvp-program@sitecore.net . I guess in your case you need to do same thing.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-01T06:21:19.790" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3026" PostTypeId="2" ParentId="3024" CreationDate="2016-12-01T06:59:38.443" Score="3" Body="&lt;p&gt;I have the same situation. They said to me this is no issue, all nominations and recommendations are matched manually and they would handle it. Just to be sure, you can reply to the notification mail which you received after submitting your nomination.&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2016-12-01T06:59:38.443" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3027" PostTypeId="2" ParentId="2772" CreationDate="2016-12-01T07:23:51.890" Score="1" Body="&lt;p&gt;You could do what Sitecore support would do in these scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use a tool like dotMemory- &lt;a href=&quot;https://www.jetbrains.com/dotmemory/features/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.jetbrains.com/dotmemory/features/&lt;/a&gt; to get a memory dump.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More tools here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/488758&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/488758&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a snapshot of the W3WP process while you are installing the package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Analyse the results - this will give you some area to focus in in your debuging and you'll be able to find out what triggers your long running process.&lt;/p&gt;&#xA;" OwnerUserId="222" LastActivityDate="2016-12-01T07:23:51.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3028" PostTypeId="1" AcceptedAnswerId="3032" CreationDate="2016-12-01T07:40:46.903" Score="13" ViewCount="278" Body="&lt;p&gt;I can use some advice on an interesting architectural challenge for an organization in the travel industry :-) Sorry for the long read...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The situation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The company has multiple brands that are all migrating towards Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Information on countries/regions/cities/accommodations/trips is stored in a custom developed Product Management System (PMS)&lt;/li&gt;&#xA;&lt;li&gt;The database contains 100k+ accommodations currently but is expected to grow over time (1 million is not unthinkable) &lt;/li&gt;&#xA;&lt;li&gt;They use the PMS to enrich information received from multiple third-party feeds. Think texts, (hotel) images, key/value pairs, properties and so on.&lt;/li&gt;&#xA;&lt;li&gt;The PMS contains brand-specific information as the accompanying content/images for label A can differ from label B for the same accommodation&lt;/li&gt;&#xA;&lt;li&gt;Not all accommodations/trips are available for all brands&lt;/li&gt;&#xA;&lt;li&gt;PMS data is stored in an MS SQL database&lt;/li&gt;&#xA;&lt;li&gt;The PMS offers an API that can be called to retrieve data&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have done quite some research and have also read this article (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/258/what-are-some-appropriate-uses-for-sitecore-data-providers/271&quot;&gt;What are some appropriate uses for Sitecore Data Providers?&lt;/a&gt;) extensively.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Initially, the client had the plan to keep Sitecore 'dumb' in the sense that they planned to use wildcard pages in Sitecore for countries/regions/cities/accos that directly interact with the PMS API to retrieve the content. As you can imagine this could lead to a lot of inflexibility on the Sitecore end: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No specific presentation details for individual pages, so workarounds are required for deviations from the generic wildcard presentation details (also for optimization/personalization)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Analytics is also a potential drawback. I'm not sure about the experience profile, but for one I know that the Path Analyzer does not handle wildcard items correctly&lt;/li&gt;&#xA;&lt;li&gt;SEO: this is very important for the client. Using wildcard items this should be taken care of in the PMS, which is currently not supported&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are three high-level approaches here IMO, with potentially a lot of hybrid variants in between.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Keep the wildcard setup, but take measures to counterfeit the inflexibility. Create custom rules that interact with the PMS API to support deviations/personalization on the generic presentation details;&lt;/li&gt;&#xA;&lt;li&gt;Implement a custom data provider&lt;/li&gt;&#xA;&lt;li&gt;Use the Data Exchange Framework to map/transform/synchronize data from PMS to Sitecore items&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Internally we have a discussion mainly between options 1 and 3. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option 1 would be the easiest to implement. But I'm questioning if this is a sound solution in the long run. Potentially you would have a single accommodation wildcard item with loads and loads of personalization rules. It seems unmanageable from my perspective.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we would choose option 3, other questions arise. How are we going to map PMS to Sitecore? As I said, the company has multiple brands. The approach I'm thinking about now is to create a specific Data Exchange Framework implementation for each of the brands. While highly similar, it allows to prepare the data in exactly the correct format for use within the brand websites. So I would extract only the data relevant for the specific brand, and transform and map it directly to the page structure required for the specific brand.  As I mentioned, it would require to sync a lot of data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other options we thought about:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;A hybrid solution where we would create the countries/regions/cities manually in Sitecore, and use a wildcard accommodation item below it. The idea is that most deviations from the generic presentation details would be on the country/region/city level and not so much on specific accommodation level. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use option 1, but create specific items for every personalization rule below the wildcard accommodation item. This would require some customizations, but ultimately you would have a list of deviations/personalization rules under the generic accommodation item. Easier to manage, since it would also become possible to use the publication mechanism and publish/unpublish dates&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'd love to get some feedback from you guys. How would you handle this?&lt;/p&gt;&#xA;" OwnerUserId="534" LastEditorUserId="4050" LastEditDate="2019-12-29T06:39:49.617" LastActivityDate="2019-12-29T06:39:49.617" Title="Integration with custom-built Product Management System" Tags="|information-architecture|integration|data-exchange-framework|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="3029" PostTypeId="2" ParentId="3024" CreationDate="2016-12-01T09:09:53.007" Score="17" Body="&lt;p&gt;&lt;strong&gt;Every Sitecore MVP related questions can be sent to the MVP team: mvp-program@sitecore.net&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Follow the updates of the review and selection process on our Twitter &lt;a href=&quot;https://twitter.com/SitecoreMVP&quot;&gt;https://twitter.com/SitecoreMVP&lt;/a&gt;&lt;/em&gt; &lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2016-12-01T09:09:53.007" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3030" PostTypeId="2" ParentId="3028" CreationDate="2016-12-01T09:28:39.303" Score="4" Body="&lt;p&gt;Did some consultancy a few years ago in the travel business - they pushed their data into Sitecore but I'm quite sure they would never do that again.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would try to go for a hybrid solution where you store some information in Sitecore and keep some (or a lot) in the PMS only. To decide what to sync I would consider:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;try to keep as much &quot;pages&quot; as possible in Sitecore, as that will be easier on analytics, SEO, customization, ...&lt;/li&gt;&#xA;&lt;li&gt;do not store data that often changes in Sitecore (you really don't want to sync lots of data)&lt;/li&gt;&#xA;&lt;li&gt;remember that you can easily combine an item in Sitecore (used as &quot;page&quot;) with data from PMS: store only the minimal and necessary information on your Sitecore item and fetch the rest from the PMS (what this &quot;minimal&quot; is should be part of your analysis - hard to tell without all information)&lt;/li&gt;&#xA;&lt;li&gt;definitely try to avoid copying images from your PMS into Sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;p.s.: make good use of your indexes ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Edit&lt;/em&gt;:&#xA;In theory Sitecore should be able to handle that much (1M) items. But that is theory - in a real world, keeping those items in sync will be very hard. So it actually depends on how volatile that data is. I would never store any texts or so about the acco's in Sitecore, you need your PMS and indexes for that. It could be an option to store acco's as item if you can only store a reference to the data (some id from PMS or so) and the list of acco's is easy to sync (syncing would then just mean deleting/adding items, you really don't want to sync content changes). And use indexes.. I remember that travel queries could become quite complex so a simple Sitecore index might not even be sufficient.&#xA;That's why I like Mark's last line: Sitecore will be a layer to help you with the site front, your SEO, ... but the &quot;real stuff&quot; should be elsewhere.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-12-01T11:30:46.933" LastActivityDate="2016-12-01T11:30:46.933" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3031" PostTypeId="2" ParentId="3028" CreationDate="2016-12-01T09:45:56.697" Score="2" Body="&lt;p&gt;I have done some similar solutions in the past – and I would suggest that you integrate the data into Sitecore, but create a custom Sitecore DB (without publishing) to hold the data. Also consider using a “brand” field on templates, to filter which brands has access to certain items, so you enable the solution to share content/products between the different brands. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For live updating stuff like availability or stock, you could implement a strategy pattern, that based on were the user is in the funnel, could implement more aggressive calls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;•   Browsing the website – use last updated stock from Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;•   Adding to basket (or viewing the product) – If stock &gt; 3 use from Sitecore else do live lookup&lt;/p&gt;&#xA;&#xA;&lt;p&gt;•   Checkout – Live lookup&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can do wonders in improving response time, and also ensures that the site works, even if the PMS is unavailable for a period of time.&lt;/p&gt;&#xA;" OwnerUserId="327" LastActivityDate="2016-12-01T09:45:56.697" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3032" PostTypeId="2" ParentId="3028" CreationDate="2016-12-01T10:47:50.243" Score="8" Body="&lt;p&gt;While a very detailed question, there are still quite many &quot;it depends&quot; open ends. I'm going to make some assumptions based on experience, and give you my view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll start by &lt;em&gt;shaking the box&lt;/em&gt; to try and do some outside thinking ;-)&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Shaking the box&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You don't really want to do page level personalisation on 100k scaling to 1m product pages. You want to do it on persona, brand and hotel meta data.&lt;/li&gt;&#xA;&lt;li&gt;Neither the CMS nor the PMS can do this without search technology&lt;/li&gt;&#xA;&lt;li&gt;Your url structure, something like &lt;code&gt;/brand/hotels/europe/greece/rhodos/la-vida-loca&lt;/code&gt; is better suited as a search than a hierarchy. Why?  because&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/brand/hotels/europe/greece/all-inclusive/rhodos/la-vida-loca&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;The fourth option&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In your above 3, I say none of them really fits. When your product reaches the desired maturity in your PMS, I would ship it off to SOLR. SOLR scales and can handle your traffic load. You're going to need search technology anyway to serve the CMS needs for searching as well. And it can resolve your URL query at a speed that Sitecore could live with.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Optionally you could sync in these products via the Data Exchange Framework, and then use Sitecore Content Search to build the SOLR index. But don't do this unless you have specific reason to. In many cases this approach is a little bit like crossing the river to get water.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A more likely candidate, is to sync in surrounding meta data around products. That would be &lt;code&gt;brand&lt;/code&gt;, &lt;code&gt;region&lt;/code&gt;, &lt;code&gt;country&lt;/code&gt; information. I would sync in these in their entirety. Use whatever &lt;code&gt;url key&lt;/code&gt; is defined in the PMS and store it on the items you create.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finding relevant hotels then becomes a matter of constructing a query based on these &lt;code&gt;url keys&lt;/code&gt;. Like &lt;code&gt;q?brand:brand-urlkey-from-field and region:region-urlkey-from-field and so-on-and-so-forth&lt;/code&gt;. This query mechanic will also serve your need for pagination, filtering and facetting - something I assume you need but your question does not mention.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the above, you could also use Sitecore ContentSearch LINQ query searching if you must.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;What's left out&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In the above, I offer no solution for filtering out unavailable properties. Or not specifically. Since this information updates in near real-time, you should be looking at some form of distributed memory cache technology to keep this cached. Then inject the filter whenever you display search results. I would need more detail on how you have this data available today to offer up a better solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also don't mention the actual product page. This is where you need to tweak a bit. Let's assume your canonical url ends up like this: &lt;code&gt;/brand/hotels/la-vida-loca-27122&lt;/code&gt;. If your product item was in Sitecore, it would be a matter for the url resolver code to parse the url into the component search query, find the matching Sitecore item (based on the response from SOLR) and set the &lt;code&gt;Context.Item&lt;/code&gt;. If the products are &lt;em&gt;not&lt;/em&gt; in Sitecore, little changes. Likely you would want different layout per brand and possibly per region and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make this a problem for the Rules Engine.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;where brand is brand a&#xA;  and country is greece&#xA;&#xA;set product-page to /brand a/product page&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Closing thoughts&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make current search query available as &lt;code&gt;ISearchContext&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Use this to build basic Rules Engine conditions&lt;/li&gt;&#xA;&lt;li&gt;Make current product available as &lt;code&gt;IContextProduct&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Use this to build basic Rules Engine conditions&lt;/li&gt;&#xA;&lt;li&gt;Use both of the above to achieve personalisation scenarios&lt;/li&gt;&#xA;&lt;li&gt;Abstract your search implementation&lt;/li&gt;&#xA;&lt;li&gt;Don't try too hard to put Sitecore at the center of the world in this setup. It doesn't naturally fit.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-12-01T11:22:29.937" LastActivityDate="2016-12-01T11:22:29.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3033" PostTypeId="2" ParentId="3023" CreationDate="2016-12-01T10:55:05.167" Score="2" Body="&lt;p&gt;It might be perfectly normal that the video does not show while you have Sitecore in edit mode. Sitecore manipulates the page to achieve the in-line editing experience and this might or might not be compatible with the video player in use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After adding your video module, save your changes. Then try switching to the more compatible &quot;preview&quot; mode and check your results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nT5P4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nT5P4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info on basic editing experience here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/preview_a_webpage&quot; rel=&quot;nofollow noreferrer&quot;&gt;Preview a webpage&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-12-01T10:55:05.167" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3034" PostTypeId="1" CreationDate="2016-12-01T11:41:53.040" Score="1" ViewCount="1796" Body="&lt;p&gt;I am using Sitecore.ContentSearch library (lucene index). How can I randomize search results before getting results? I have more than 10000 items so I do not want to upload all results to memory and after randomize collection. Also it should support paging.&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="73" LastEditDate="2016-12-02T09:45:05.227" LastActivityDate="2022-01-18T06:36:27.047" Title="How to randomize search results" Tags="|content-search|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3035" PostTypeId="2" ParentId="3034" CreationDate="2016-12-01T11:51:44.843" Score="3" Body="&lt;p&gt;I don't think you can achieve this via Sitecore ContentSearch API. But Lucene/SOLR does have the ability for dynamic randomised sort fields.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;types&amp;gt;&#xA;  ...&#xA;  &amp;lt;fieldType name=&quot;random&quot; class=&quot;solr.RandomSortField&quot; /&amp;gt;&#xA;  ... &#xA; &amp;lt;/types&amp;gt;&#xA; &amp;lt;fields&amp;gt;&#xA;  ...&#xA;  &amp;lt;dynamicField name=&quot;random*&quot; type=&quot;random&quot; indexed=&quot;true&quot; stored=&quot;false&quot;/&amp;gt;&#xA;  ...&#xA; &amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The idea being, you then add &lt;code&gt;sort=random_your-seed&lt;/code&gt; to the query, and will get search results back in random order. As long as the seed stays the same, your order will be the same (allowing for paging). When you then generate a new search, just generate a new seed key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://lucene.apache.org/solr/6_3_0/solr-core/org/apache/solr/schema/RandomSortField.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/6_3_0/solr-core/org/apache/solr/schema/RandomSortField.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/25234102/solr-return-random-results-sort-by-random&quot;&gt;https://stackoverflow.com/questions/25234102/solr-return-random-results-sort-by-random&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.tremend.com/2007/05/17/a-z-0-9-custom-sorting-in-lucene/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.tremend.com/2007/05/17/a-z-0-9-custom-sorting-in-lucene/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-01T11:58:28.040" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3036" PostTypeId="1" AcceptedAnswerId="3037" CreationDate="2016-12-01T08:19:19.293" Score="3" ViewCount="1990" Body="&lt;p&gt;I'm going to do some customization with the Rich Text Editor in my sitecore instance I'd like to add another font style in it. Base on what I've read so far I should edit the toolsfile.xml. Reference below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/functionality/toolbars/using-toolsfile.xml&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/functionality/toolbars/using-toolsfile.xml&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've already added the font name in the file but I want to know how will it read the font that I added? Do I need to put the font file somewhere in my instance?&lt;/p&gt;&#xA;" OwnerUserId="3507" OwnerDisplayName="Jay" LastEditorUserId="73" LastEditDate="2016-12-01T18:18:09.463" LastActivityDate="2018-05-13T19:49:44.477" Title="Sitecore RTE add new font style" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3037" PostTypeId="2" ParentId="3036" CreationDate="2016-12-01T09:53:19.120" Score="8" Body="&lt;p&gt;If you need to add new fonts you can add them in the RTE Profile in the &lt;code&gt;core&lt;/code&gt; database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LQMLw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LQMLw.png&quot; alt=&quot;Full RTE Profile&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this is the &lt;code&gt;Rich Text Full&lt;/code&gt; profile, by default Sitecore is configured to use the &lt;code&gt;Rich Text Default&lt;/code&gt; profile:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;HtmlEditor.DefaultProfile&quot; value=&quot;/sitecore/system/Settings/Html Editor Profiles/Rich Text Default&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I would recommend that you do not use font styles in RTE, it will make your life more tough in the long term and is not best practice. If the business decides to change the default font then you will have to mnaully go through content and change them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead use CSS styles and set the font to use in that stlye declaration. You can link a CSS Stylesheet to the RTE and add your custom styles in there so users can select them. Either update the default css files or link to a custom stylesheet and update the setting in config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;WebStylesheet&quot; value=&quot;/default.css&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The users will be able to select the styles in RTE then:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HXuZn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HXuZn.png&quot; alt=&quot;RTE CSS Styles&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" OwnerDisplayName="jammykam" LastEditorUserId="135" LastEditDate="2016-12-01T13:32:15.047" LastActivityDate="2016-12-01T13:32:15.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3038" PostTypeId="1" AcceptedAnswerId="3056" CreationDate="2016-12-01T12:52:43.407" Score="10" ViewCount="743" Body="&lt;p&gt;We have a (mvc) solution based on Helix principles that has a breadcrumb feature. So far, all worked fine and there were no dependencies to any other module. Now we added a new feature (blog) that has a few wildcards. The logic for the wildcards is in the feature as it should. But the breadcrumb for all the url's matching a wildcard is the same - which is logical and understandable but not what we want. The breadcrumb should be able to show the correct data, but only our blog feature knows what that is. Linking from breadcrumb to blog would be the worst idea ever, so that is no option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I'm looking for ideas on how to solve this.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One possibility that crossed our minds was to create some sort of WildcardContext in the Foundation. The blog feature could add a processor that stores the necessary data in that context. The breadcrumb could read that data while rendering. Would this be a reasonable way to handle this? Or are there (better) alternatives?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-08-30T01:51:12.160" Title="Helix, breadcrumbs and wildcards" Tags="|helix|solution-architecture|wildcards|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3039" PostTypeId="2" ParentId="2983" CreationDate="2016-12-01T12:59:58.047" Score="4" Body="&lt;p&gt;I agree with the answer provided above except for the part that you need a Xamarin license. Xamarin is now free and is a built-in installation available for Visual Studio 2015 Community Edition (or you can also download for free Xamarin for Visual Studio 2013).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Working with Xamarin and Sitecore might seem a bit tricky for the first time. You may find some useful information in this blog post: &lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2016/10/Getting-started-with-Sitecore-Mobile-SDK-and-Xamarin.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Getting started with Xamarin and Sitecore Mobile SDK&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2016-12-01T12:59:58.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3041" PostTypeId="1" AcceptedAnswerId="3049" CreationDate="2016-12-01T14:40:43.263" Score="6" ViewCount="4294" Body="&lt;p&gt;I have a rendering that can be placed in one of 3 placeholders.  However, I need to make some changes to the rendering based on which placeholder it appears in.  The changes aren't extensive enough to create 3 different renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 w/ MVC.&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2016-12-01T18:37:44.393" Title="Change rendering parameters based on placeholder" Tags="|placeholders|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3042" PostTypeId="2" ParentId="3041" CreationDate="2016-12-01T14:45:02.157" Score="1" Body="&lt;h2&gt;Appearance-only changes&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can go with style changes only. First, in every place where you define a placeholder, you can add a wrapper with a certain class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;section class=&quot;placeholder1-wrapper&quot;&amp;gt;&#xA;    @Html.Sitecore().Placeholder(&quot;placeholder1&quot;)&#xA;&amp;lt;/section&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then apply styles to the elements in your rendering only if it is contained in that placeholder:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt;.placeholder1-wrapper .some-rendering-class {&#xA;    color: red;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Generic code-level approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;With this approach, keep in mind that modifying standard templates is not a good practice. This example uses the standard template for the sake of simplicity, but a better approach would be to make your custom placeholder settings template and put its items into a separate folder.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Edit the template &lt;code&gt;/sitecore/templates/System/Layout/Placeholder&lt;/code&gt; to add a custom field that would store a setting you'll get later.&lt;/li&gt;&#xA;&lt;li&gt;Create a placeholder setting item under &lt;code&gt;/sitecore/layout/Placeholder Settings/&lt;/code&gt; for each one of your placeholders and set the custom field to some value.&lt;/li&gt;&#xA;&lt;li&gt;Use the following code to get the setting value:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;string placeholderName = RenderingContext.Current.Rendering.Placeholder.Split('/').Last();&#xA;string query = $&quot;fast:/sitecore/layout/Placeholder Settings//*[@@templateid='{{5C547D4E-7111-4995-95B0-6B561751BF2E}}' and @@name='{placeholderName}']&quot;;&#xA;Item placeholder = Context.Database.SelectSingleItem(query);&#xA;string settingValue = placeholder[&quot;CustomPlaceholderSetting&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-01T15:20:19.290" LastActivityDate="2016-12-01T15:20:19.290" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3043" PostTypeId="2" ParentId="3041" CreationDate="2016-12-01T14:50:15.060" Score="4" Body="&lt;p&gt;You can reach your placeholder like this: &lt;code&gt;RenderingContext.Current.Rendering.Placeholder&lt;/code&gt;.  It's a string.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (RenderingContext.Current.Rendering.Placeholder == &quot;main&quot;)&#xA;   do stuff;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-12-01T14:50:15.060" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3044" PostTypeId="1" AcceptedAnswerId="3045" CreationDate="2016-12-01T15:21:06.460" Score="4" ViewCount="1054" Body="&lt;p&gt;Presently I'm working on Sitecore 8.1 Update-1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have enabled Item-level language fallback on &lt;code&gt;shell&lt;/code&gt; and &lt;code&gt;website&lt;/code&gt; as suggested on &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/language_fallback/setting_up/configure_language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure language fallback - Sitecore Documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems after this we need to go to each template and enable the Item-level language fallback. It involves generating &lt;code&gt;__Standard Values&lt;/code&gt; if its not there and then manually change the flag for item fallback &lt;em&gt;[screenshot below]&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Tg74X.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Tg74X.png&quot; alt=&quot;Enable Item Fallback&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have found this Sitecore PowerShell script on this &lt;a href=&quot;http://www.nttdatasitecore.com/Blog/2016/October/Enabling-Item-Level-Language-Fallback-Powershell-Script&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt; which switches the Item-level fallback flag but here I will also require to generate &lt;code&gt;__Standard Values&lt;/code&gt; on template.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;(Get-Item master: -Query &quot;/sitecore/templates//*[@@name='__Standard Values']&quot;)| ForEach-Object {&#xA;&#xA;    $_.Editing.BeginEdit()&#xA;    $_.Fields[&quot;__Enable item fallback&quot;].Value = &quot;1&quot;;&#xA;    $_.Editing.EndEdit()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm trying on optimizing this process since same process has to be followed on multiple environments. How one can go for this with minimum impact/steps?&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2016-12-01T20:50:04.457" LastActivityDate="2016-12-01T20:50:04.457" Title="How to Enable Item-level language fallback on all templates in Sitecore 8.x" Tags="|powershell-extensions|language-fallback|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3045" PostTypeId="2" ParentId="3044" CreationDate="2016-12-01T16:11:14.797" Score="7" Body="&lt;p&gt;I think that scripting this task is the way to go in your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the script below doesn't update &lt;em&gt;all&lt;/em&gt; templates' standard values, but only for templates under &lt;code&gt;User Defined&lt;/code&gt;. If that doesn't suit you, feel free to adjust the path.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$templates =&#xA;    Get-ChildItem 'master:/sitecore/templates/User Defined' -Recurse |&#xA;    ? { $_.TemplateId -eq '{AB86861A-6030-46C5-B394-E8F99E8B87DB}' }&#xA;&#xA;foreach($template in $templates) {&#xA;&#xA;    $standardValuesPath = &quot;master:$($template.FullPath)/__Standard Values&quot;&#xA;&#xA;    if(Test-Path $standardValuesPath) {&#xA;        $standardValues = Get-Item $standardValuesPath&#xA;    } else {&#xA;        $standardValues = New-Item -Path $standardValuesPath -Type $template.ID&#xA;        $template.'__Standard values' = $standardValues.ID&#xA;    }&#xA;&#xA;    $standardValues.'__Enable item fallback' = $true&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-01T16:11:14.797" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3046" PostTypeId="1" AcceptedAnswerId="3052" CreationDate="2016-12-01T16:29:36.963" Score="9" ViewCount="1311" Body="&lt;p&gt;We're on Sitecore 8.2.&lt;br&gt;&#xA;We have recently moved from Sitecore 6.6 to 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In Sitecore 6.6&lt;/strong&gt;, if the parent item is marked as &quot;Never publish&quot; I get a warning in Content Editor on that item saying &quot;This item will never be published because its &quot;Publishable&quot; option is disabled.&quot;.&lt;br&gt;&#xA;I also get a warning on all of its descendants, saying &quot;If you publish now, the selected version will not be visible on the Web site. No other version will be published.&quot;. Descendant item does not have &quot;Never publish&quot; marked, but I'm still getting a warning because one of its ascendants up the tree has &quot;Never publish&quot; marked. And that's fine, I really like that feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, &lt;strong&gt;in Sitecore 8.2&lt;/strong&gt; I'm getting the warning only on the parent item. There is no warning on its descendants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 6.6 I found that &lt;code&gt;Sitecore.Pipelines.GetContentEditorWarnings.VersionPublishingRestricted&lt;/code&gt; is responsible for generating that message and I can see that at one point it calls &lt;code&gt;obj.Publishing.IsPublishable(now, true);&lt;/code&gt;. The second parameter &quot;true&quot; causes that function to check if ancestors are publishable too, which is a desired functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I look at &lt;code&gt;VersionPublishingRestricted&lt;/code&gt; pipeline in Sitecore 8.2 I see it's very different and can't really be compared directly to 6.6 code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 processor looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Pipelines.GetContentEditorWarnings&#xA;{&#xA;  public class VersionPublishingRestricted&#xA;  {&#xA;    public void Process(GetContentEditorWarningsArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;      Item obj = args.Item;&#xA;      if (obj == null || PublishingInformationBuilder.GetPublishingInformation(obj, PublishingInformationLevel.Item).OfType&amp;lt;Sitecore.Publishing.Explanations.Error&amp;gt;().Any&amp;lt;Sitecore.Publishing.Explanations.Error&amp;gt;() || obj.Versions.GetVersions(false).Length == 0)&#xA;        return;&#xA;      Sitecore.Publishing.Explanations.Error[] array = PublishingInformationBuilder.GetPublishingInformation(obj, PublishingInformationLevel.Version).OfType&amp;lt;Sitecore.Publishing.Explanations.Error&amp;gt;().ToArray&amp;lt;Sitecore.Publishing.Explanations.Error&amp;gt;();&#xA;      Sitecore.Publishing.Explanations.Error error1 = ((IEnumerable&amp;lt;Sitecore.Publishing.Explanations.Error&amp;gt;) array).FirstOrDefault&amp;lt;Sitecore.Publishing.Explanations.Error&amp;gt;();&#xA;      if (error1 == null)&#xA;        return;&#xA;      GetContentEditorWarningsArgs.ContentEditorWarning warning = args.Add();&#xA;      warning.Title = error1.Message;&#xA;      warning.Text = error1.Remarks;&#xA;      VersionNotInFinalWorkflowStepError error2 = error1 as VersionNotInFinalWorkflowStepError;&#xA;      bool flag = false;&#xA;      if (error2 == null)&#xA;      {&#xA;        flag = true;&#xA;        error2 = array.OfType&amp;lt;VersionNotInFinalWorkflowStepError&amp;gt;().FirstOrDefault&amp;lt;VersionNotInFinalWorkflowStepError&amp;gt;();&#xA;      }&#xA;      if (error2 == null)&#xA;        return;&#xA;      if (flag &amp;amp;&amp;amp; error2.Remarks != null &amp;amp;&amp;amp; (warning.Text != null &amp;amp;&amp;amp; warning.Text.IndexOf(error2.Remarks, StringComparison.InvariantCultureIgnoreCase) &amp;lt; 0))&#xA;      {&#xA;        GetContentEditorWarningsArgs.ContentEditorWarning contentEditorWarning = warning;&#xA;        string str = contentEditorWarning.Text + &quot; &quot; + error2.Remarks;&#xA;        contentEditorWarning.Text = str;&#xA;      }&#xA;      this.AddOptions(warning, error2);&#xA;    }&#xA;&#xA;    private void AddOptions(GetContentEditorWarningsArgs.ContentEditorWarning warning, VersionNotInFinalWorkflowStepError error)&#xA;    {&#xA;      foreach (string header in (IEnumerable&amp;lt;string&amp;gt;) error.TargetsList.OrderBy&amp;lt;string, string&amp;gt;((Func&amp;lt;string, string&amp;gt;) (x =&amp;gt; x), (IComparer&amp;lt;string&amp;gt;) StringComparer.InvariantCultureIgnoreCase))&#xA;        warning.AddOption(header);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can see it's calling &lt;code&gt;PublishingInformationBuilder.GetPublishingInformation&lt;/code&gt; two times. First it calls it inside IF, to see if there are any errors at all, and the second time it calls it to fetch the array of errors.&lt;br&gt;&#xA;The difference is that the first time it's sending &lt;code&gt;PublishingInformationLevel.Item&lt;/code&gt; as parameter value, and the second time it's sending &lt;code&gt;PublishingInformationLevel.Version&lt;/code&gt;.&lt;br&gt;&#xA;When I go to the source of &lt;code&gt;PublishingInformationBuilder.GetPublishingInformation&lt;/code&gt; I can see that if it's called for the &lt;code&gt;Version&lt;/code&gt; then it actually has a code for checking ancestors (it calls &lt;code&gt;version.Publishing.IsPublishable(utcNow, true);&lt;/code&gt;), and if it's called for the &lt;code&gt;Item&lt;/code&gt; then it doesn't do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I suspect that this might be a bug, that &lt;code&gt;PublishingInformationBuilder.GetPublishingInformation&lt;/code&gt; should be called with &lt;code&gt;PublishingInformationLevel.Version&lt;/code&gt; both times in this pipeline processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My next step will be to copy that standard processor into my own processor and try to fix the bug, but I just wanted to first see if anyone here has encountered this and perhaps already has a fix for it.&lt;/p&gt;&#xA;" OwnerUserId="378" LastEditorUserId="73" LastEditDate="2016-12-01T18:17:11.593" LastActivityDate="2016-12-01T21:58:58.503" Title="Not publishable warning on descendant items" Tags="|content-editor|publishing|" AnswerCount="1" CommentCount="3" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3047" PostTypeId="2" ParentId="3044" CreationDate="2016-12-01T17:20:05.927" Score="3" Body="&lt;p&gt;I face similar situation before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I approached this way:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I inherit all my templates from &quot;content&quot; template, which is a custom empty template inherited from sitecore standard Template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For me enabling item level fallback on &quot;content&quot; template __standardValues worked.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2016-12-01T17:40:13.410" LastActivityDate="2016-12-01T17:40:13.410" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3048" PostTypeId="2" ParentId="3041" CreationDate="2016-12-01T17:27:48.027" Score="2" Body="&lt;p&gt;This might be overkill if you only need this functionality for one rendering, but it could give you the flexibility you seem to be looking for.  The idea would be to extend renderings to have default personalization rules that apply to all instances of that rendering.  Please note that I haven't actually tested this, it's just a concept.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a template that inherits from Controller rendering.  Add a Rules field and point the source field at /sitecore/system/Settings/Rules/Conditional Renderings.&lt;/li&gt;&#xA;&lt;li&gt;Create a processor for the &lt;code&gt;getRenderingRules&lt;/code&gt; pipeline that looks something like this:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddFromRenderingDefinition : GetRenderingRulesProcessor&#xA;{&#xA;    public override void Process(GetRenderingRulesArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;        var renderingItem = args.RenderingReference.RenderingItem;&#xA;        var rulesField = renderingItem.InnerItem.Fields[&quot;Personalization Rules&quot;];&#xA;        if (rulesField != null)&#xA;        {&#xA;            var rules = RuleFactory.GetRules&amp;lt;ConditionalRenderingsRuleContext&amp;gt;(rulesField);&#xA;            args.RuleList.AddRange(rules.Rules);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Patch it in:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getRenderingRules&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyProject.AddFromRenderingDefinition, MyProject&quot; patch:after=&quot;processor[@type='Sitecore.Analytics.Pipelines.GetRenderingRules.FromRendering, Sitecore.Analytics']&quot;/&amp;gt;&#xA;      &amp;lt;/getRenderingRules&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Create a custom condition class to check if the rendering is in a particular placeholder like this:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public class InPlaceholderCondition&amp;lt;T&amp;gt; : StringOperatorCondition&amp;lt;T&amp;gt; where T : ConditionalRenderingsRuleContext&#xA;{&#xA;    public string Placeholder { get; set; }&#xA;&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        Assert.ArgumentNotNull(ruleContext, nameof(ruleContext));&#xA;        return Placeholder != null &amp;amp;&amp;amp; Compare(ruleContext.Reference.Placeholder, Placeholder);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Insert a Condition item under /sitecore/system/Settings/Rules/Definitions/Elements/Conditional Renderings and set the Type to the signature of your condition class and the Text to something like this: &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;where the placeholder [operatorid,StringOperator,,compares to] [Placeholder,,,value]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;6&quot;&gt;&#xA;&lt;li&gt;Change the template on your Controller rendering items to the one created in step 1 and add your new condition and the Set parameters action, which should already be available.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2016-12-01T17:45:32.403" LastActivityDate="2016-12-01T17:45:32.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3049" PostTypeId="2" ParentId="3041" CreationDate="2016-12-01T18:37:44.393" Score="5" Body="&lt;p&gt;You can make use of the &lt;code&gt;Parameters&lt;/code&gt; field on the View/Controller Rendering templates to pass in some additional values and then use these in your View/Controller to then run whatever logic you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You still need to create 3 Rendering definition Items in Sitecore, but they can all point to the same View/Controller, but with the different parameters updated. On the View Rendering/Controller Rendering, set the &lt;code&gt;Parameters&lt;/code&gt; field as required, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Parameters:&lt;/code&gt; &lt;code&gt;CssClass=special-highlighting&amp;amp;ExtendedInfo=true&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in your code you can access these parameters:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Glass.Mapper.Sc.Web.Mvc&#xA;@using Sitecore&#xA;@using Sitecore.Mvc.Presentation&#xA;@model MyProject.Data.Interfaces.IGenericContent&#xA;&#xA;@{&#xA;    RenderingParameters parameters = Sitecore.Mvc.Presentation.RenderingContext.CurrentOrNull.Rendering.Parameters;&#xA;    string cssClass = StringUtil.GetString((object) parameters[&quot;CssClass&quot;], &quot;default-class&quot;);&#xA;    bool showExtendedInfo = MainUtil.GetBool(parameters[&quot;ExtendedInfo&quot;], false);&#xA;}&#xA;&#xA;&amp;lt;div class=&quot;row @cssClass&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;large-12 columns&quot;&amp;gt;&#xA;        &amp;lt;h2&amp;gt;@Html.Glass().Editable(Model, x =&amp;gt; x.Title)&amp;lt;/h2&amp;gt;&#xA;        @Html.Glass().Editable(Model, x =&amp;gt; x.Text)&#xA;&#xA;        @if (showExtendedInfo)&#xA;        {&#xA;            @Html.Glass().RenderImage(Model, x =&amp;gt; x.Image)&#xA;        }&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(The above example is using Glass Mapper, but it is not a requirement.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code is using Sitecore Helpers to set a default value if none has been set in the &lt;code&gt;Parameters&lt;/code&gt; field. You can do something similar from your Controller as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you have 3 different Rendering Item definitions, you can restrict which rendering can be used in specific placeholders using Allowed Control restrictions.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-12-01T18:37:44.393" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3050" PostTypeId="2" ParentId="2772" CreationDate="2016-12-01T18:49:47.363" Score="1" Body="&lt;p&gt;The root cause of the timeout was infrastructure related.&#xA;At this moment the IT team within the client is working to pinpoint exactly what the problem was. SQL server was having difficulties to communicate well with the sitecore QA server(not yet sure why maybe firewall rules) but installing sql server within the QA server and running the upgrade package it took 10 minutes and completed without problems.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-12-01T18:49:47.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3051" PostTypeId="2" ParentId="2732" CreationDate="2016-12-01T18:49:57.673" Score="0" Body="&lt;p&gt;It turns out this had to do with Indexing. Go figure. The index database and the OnPublishEndAsync were pointing to different databases.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2016-12-01T18:49:57.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3052" PostTypeId="2" ParentId="3046" CreationDate="2016-12-01T19:49:44.213" Score="2" Body="&lt;p&gt;Upon further research I found that the problem is not in the value of parameter (&lt;code&gt;Item&lt;/code&gt; vs &lt;code&gt;Version&lt;/code&gt;). The code in &lt;code&gt;VersionPublishingRestricted&lt;/code&gt; class is perfectly okay. It first checks if there are warnings on item level, and if there aren't any then it goes on to check the version level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my opinion, one other pipeline (&lt;code&gt;Sitecore.Pipelines.GetContentEditorWarnings.ItemPublishingRestricted&lt;/code&gt;) should be displaying warnings on items whose ancestors are not publishable. But, that pipeline looks only at that particular item and doesn't look up the tree, so it looks like in Sitecore 8.2 they have given up on those warnings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My answer to this problem is creating a custom pipeline processor that handles the situation where item itself is publishable but one of its ancestors is not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Publishing.Explanations;&#xA;using Sitecore.Publishing.PublishingInformation;&#xA;using System.Linq;&#xA;using Sitecore.Pipelines.GetContentEditorWarnings;&#xA;&#xA;namespace ABC.Sitecore.Website.Pipelines.GetContentEditorWarnings&#xA;{&#xA;    public class ItemPublishingRestrictedOnAncestor&#xA;    {&#xA;        public void Process(GetContentEditorWarningsArgs args)&#xA;        {&#xA;            Item obj = args.Item;&#xA;            if (obj == null || PublishingInformationBuilder.GetPublishingInformation(obj, PublishingInformationLevel.Item).OfType&amp;lt;Error&amp;gt;().Any&amp;lt;Error&amp;gt;())&#xA;            {&#xA;                // A call to PublishingInformationBuilder.GetPublishingInformation is needed because that is the area covered by standard ItemPublishingRestricted processor.&#xA;                // So, if that processor will display a warning that the item is not publishable then we don't have to go on and do our processing.&#xA;                return;&#xA;            }&#xA;            DateTime utcNow = DateTime.UtcNow;&#xA;            // IsPublishable with second parameter &quot;true&quot; will go up the tree and check if all ancestors of this item are publishable.&#xA;            if (!obj.Publishing.IsPublishable(utcNow, true))&#xA;                args.Add(&quot;This item will not be published because \&quot;Publishable\&quot; option is disabled on one of parent items.&quot;, string.Empty);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the config file (e.g. App_Config\Include\ItemPublishingRestrictedOnAncestorPipeline.config):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getContentEditorWarnings&amp;gt;&#xA;        &amp;lt;processor type=&quot;ABC.Sitecore.Website.Pipelines.GetContentEditorWarnings.ItemPublishingRestrictedOnAncestor, ABC.Sitecore.Website&quot; /&amp;gt;&#xA;      &amp;lt;/getContentEditorWarnings&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="378" LastEditorUserId="378" LastEditDate="2016-12-01T21:58:58.503" LastActivityDate="2016-12-01T21:58:58.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3053" PostTypeId="2" ParentId="3044" CreationDate="2016-12-01T20:10:44.127" Score="1" Body="&lt;p&gt;I'm posting this as one of the possibility, To update the Default Value on Sitecore field definition of &lt;code&gt;__Enable item fallback&lt;/code&gt; located here - &lt;code&gt;/sitecore/templates/System/Templates/Sections/Advanced/Advanced/__Enable item fallback&lt;/code&gt; &lt;em&gt;[screenshot below]&lt;/em&gt; as I wanted Item-level fallback to happen for all items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7nlst.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7nlst.png&quot; alt=&quot;__Enable item fallback&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: It is Sitecore best practice that we better not update system templates.&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2016-12-01T20:10:44.127" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3054" PostTypeId="1" AcceptedAnswerId="3057" CreationDate="2016-12-01T20:26:39.777" Score="11" ViewCount="2900" Body="&lt;p&gt;What I am trying to do is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;get or create a contact in xDB by identifier &lt;/li&gt;&#xA;&lt;li&gt;update its facets&lt;/li&gt;&#xA;&lt;li&gt;save the contact to xdb (not to session)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am running Sitecore 8.2 and I am using this extended contact repository &lt;a href=&quot;https://briancaos.wordpress.com/2015/10/09/sitecore-contacts-create-and-save-contacts-directly-to-and-from-xdb-mongodb/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2015/10/09/sitecore-contacts-create-and-save-contacts-directly-to-and-from-xdb-mongodb/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trying to debug..&#xA;after this code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Contact createdContact = CreateContact(userName, contactRepository);&#xA;contactManager.FlushContactToXdb(createdContact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;when calling &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Contact contact = contactRepository.LoadContactReadOnly(userName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the contact is always null. Also nothing flushes to mongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;methods &lt;code&gt;contactManager.FlushToXdb(contact)&lt;/code&gt; or &lt;code&gt;contactManager.SaveAndReleaseContactToXdb(contact)&lt;/code&gt; simply don't flush anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can be wrong?&#xA;I can confirm that this code worked fine on Sitecore 8.1 update 2&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2016-12-09T00:40:49.517" Title="How to create or update list of contacts in xdb?" Tags="|xdb|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3055" PostTypeId="2" ParentId="2772" CreationDate="2016-12-01T21:37:34.063" Score="1" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Based on your numerous updates and provided information, I have&#xA;  concluded that that issue at hand is most definitely something to do&#xA;  with infrastructure as I alluded to in my comment above.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;Things to Check&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I would advise checking the firewall to ensure communication with the SQL server&lt;/li&gt;&#xA;&lt;li&gt;If the SQL server resides remotely, try installing it locally to see if that resolves external factors (assuming your IT department doesn't complain).&lt;/li&gt;&#xA;&lt;li&gt;Use the Control Panel ODBC utility to test SQL Server connection on port 1433 (or custom sql port).&lt;/li&gt;&#xA;&lt;li&gt;Check user permissions on Sitecore folder structure.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Good Luck!&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-12-01T21:37:34.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3056" PostTypeId="2" ParentId="3038" CreationDate="2016-12-01T21:49:25.243" Score="6" Body="&lt;p&gt;In my attempt to follow the Helix design principles as closely as possible, the issue of &lt;strong&gt;Feature-to-Feature&lt;/strong&gt; module references has come up quite a bit and still remains a bit fuzzy to me.&lt;/p&gt;&#xA;&lt;p&gt;According to the &lt;a href=&quot;http://helix.sitecore.net/principles/templates/references.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix Documentation&lt;/a&gt;, these types of references appear to be permitted in some cases, but are generally discoraged.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;A templates class should never define constants for templates that are not created in the module itself. If a module needs to reference a template or field in another module, &lt;strong&gt;it should reference the Templates struct in that module&lt;/strong&gt; ...&#xA;The practice of referencing different fields across modules by their shared name – an equivalence to duck typing – &lt;strong&gt;is discouraged&lt;/strong&gt; ... If modules need to share data, consider using design patterns such as providers or pipelines to allow one feature to inject content into another feature.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h3&gt;Foundation Providers/Pipelines&lt;/h3&gt;&#xA;&lt;p&gt;The examples of using providers or piplines are pretty limited. The only real example I could find in Habitat was in &lt;code&gt;Feature.Search&lt;/code&gt;, which calls upon &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Indexing/code/Repositories/SearchServiceRepository.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;SearchServiceRepository&lt;/code&gt;&lt;/a&gt; from &lt;code&gt;Foundation.Indexing&lt;/code&gt;, which in turn determines what fields are included in the serach as well as how to format results based on &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Feature/News/code/Indexing/NewsIndexContentProvider.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;IndexContentProviderBase&lt;/code&gt;&lt;/a&gt; implementations within each feature.&lt;/p&gt;&#xA;&lt;p&gt;This is a rather complex approach that is probably overkill for something as simple as a rendering breadcrumbs for wildcard items or when &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2710/helix-content-search-related-to-feature&quot;&gt;fields from other Features are required&lt;/a&gt;, and this probably explains why Habitat has a &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Feature/Metadata/code/Views/Metadata/PageMetadata.cshtml&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;//TODO&lt;/code&gt;&lt;/a&gt; for falling back to Title / DisplayName fields in &lt;code&gt;Feature.Metadata&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Following the &lt;code&gt;Foundation.Indexing&lt;/code&gt; example in Habitat, you would register a provider or pipeline, from the feature layer, that returns a piece of formatted text when certain conditions are met. For example, this provider/pipeline could have an &lt;code&gt;IsValid()&lt;/code&gt; method that determines that it should be used when the context item is a wildcard item (ex: &lt;code&gt;Context.Item.Name == &amp;quot;*&amp;quot;&lt;/code&gt;) or when the context item is derived from a Blog template.&lt;/p&gt;&#xA;&lt;p&gt;Since it would be possible for multiple providers/pipelines to be considered valid, I perfer using pipeliens over providers, because you can control the order of how pipelines are executed more easily, and they lend themselves combining values from multiple features. Lastly, the Foundation module would be responsible for running the pipeline (or determining the correct provider), and it can be called from your Breadcrumb feature.&lt;/p&gt;&#xA;&lt;h3&gt;&amp;quot;Project&amp;quot; Features&lt;/h3&gt;&#xA;&lt;p&gt;The idea here is to move your Breadcrumb rendering and related business logic to the Project layer, thus making it a pseudo-feature that is project specific. In the project layer, it can safely make a reference to any Features it needs (in your case, &lt;code&gt;Feature.Blog&lt;/code&gt;). Some may feel that this goes against the definitons of a Project and Feature module, however, for simple logic such as Breadcrumbs, it may be acceptable.&lt;/p&gt;&#xA;&lt;h3&gt;Screw it, just make the reference&lt;/h3&gt;&#xA;&lt;p&gt;At the end of the day, we are talking about a single reference, so you may determine that re-architecting your solution to avoid referencing a single field from another feature may be overkill. Hopefully there will be more examples around this issue and clearer definitions in the future so that these references can be avoided.&lt;/p&gt;&#xA;" OwnerUserId="100" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-01T21:56:18.220" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3057" PostTypeId="2" ParentId="3054" CreationDate="2016-12-01T22:00:36.537" Score="7" Body="&lt;p&gt;I don't see a reason to use the Contact Manager—it works with the Shared Session and only then with the Collection Database. Just using the Contact Repository should be enough in your case, as it reads and writes data directly from the Collection DB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void SetContactData(string username)&#xA;{&#xA;    LeaseOwner leaseOwner = new LeaseOwner(&quot;YOUR_WORKER_NAME&quot;, LeaseOwnerType.OutOfRequestWorker);&#xA;&#xA;    ContactRepositoryBase contactRepository = Factory.CreateObject(&quot;contactRepository&quot;, true) as ContactRepositoryBase;&#xA;&#xA;    // Attempt to obtain an exclusive lock on an existing contact in xDB.&#xA;    LockAttemptResult&amp;lt;Contact&amp;gt; lockResult = contactRepository.TryLoadContact(username, leaseOwner, TimeSpan.FromMinutes(1));&#xA;&#xA;    Contact contact = null;&#xA;&#xA;    if (lockResult.Status == LockAttemptStatus.AlreadyLocked)&#xA;    {&#xA;        // Another worker or a live web session has an exclusive lock on the contact.&#xA;        // You can't use this contact right now. It's up to you what to do in this case.&#xA;        /* ... */&#xA;    }&#xA;    else if (lockResult.Status == LockAttemptStatus.DatabaseUnavailable)&#xA;    {&#xA;        // Database is down. Try to handle this gracefully.&#xA;        /* ... */&#xA;    }&#xA;    else if (lockResult.Status == LockAttemptStatus.NotFound)&#xA;    {&#xA;        // A contact with the given identifier doesn't exist.&#xA;        // Just create a new contact object.&#xA;        contact = contactRepository.CreateContact(Guid.NewGuid());&#xA;&#xA;        // Identify it.&#xA;        contact.Identifiers.Identifier = username;&#xA;&#xA;        // And make it known.&#xA;        contact.Identifiers.IdentificationLevel = Sitecore.Analytics.Model.ContactIdentificationLevel.Known;&#xA;    }&#xA;    else&#xA;    {&#xA;        // We successfull locked an existing contact.&#xA;        contact = lockResult.Object;&#xA;    }&#xA;&#xA;    // Set some contact facets:&#xA;    /* ... */&#xA;&#xA;    // Save the contact and release the lock.&#xA;    if (contact != null)&#xA;    {&#xA;        var options = new ContactSaveOptions(release: true, owner: leaseOwner);&#xA;        contactRepository.SaveContact(contact, options);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that there are some edge cases that you should decide yourself how to handle. I left comments in the code above.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-01T22:00:36.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3058" PostTypeId="2" ParentId="3054" CreationDate="2016-12-01T22:01:09.170" Score="6" Body="&#xA;&#xA;&lt;h1&gt;Immediate Answer&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;While I have never used the Extended Contact Repository you linked, I have it on good authority that the methods &lt;code&gt;FlushToXdb()&lt;/code&gt; and &lt;code&gt;SaveAndReleaseContacttoXdb()&lt;/code&gt; are not the methods you want to use in Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe the method you want to call is &lt;code&gt;ContactManager.SaveAndReleaseContact(updatedContact);&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Background Info on modifying and creating Contacts&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Here is my full example, which works, again, not using the Extended Contact Repository:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Referencing Repository and Manager&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is used in the below examples where &lt;code&gt;XdbContactRepository&lt;/code&gt; and &lt;code&gt;XdbContactManager&lt;/code&gt; are used. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;For full explanation, I've created a Factory for Contacts, that has an&#xA;  XdbContactFactory, so that in the event Sitecore changes up contacts&#xA;  again, I can just create a new factory and it'll work. I didn't expose the whole factory below. Just the relevant pieces.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    private ContactManager _manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;    private ContactRepository _repository = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepository;&#xA;&#xA;    public ContactManager XdbContactManager&#xA;    {&#xA;        get { return _manager; }&#xA;    }&#xA;&#xA;    public ContactRepository XdbContactRepository&#xA;    {&#xA;        get { return _repository; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Creating/Loading the Contact&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public override Contact GetXdbContact(string identifier)&#xA;    {&#xA;        var contact = XdbContactRepository.LoadContactReadOnly(identifier);&#xA;&#xA;        if (contact != null) return contact;&#xA;&#xA;        var leaseOwner = new LeaseOwner(GetType()  + Guid.NewGuid().ToString(),LeaseOwnerType.OutOfRequestWorker);&#xA;&#xA;        contact = XdbContactRepository.CreateContact(Guid.NewGuid());&#xA;&#xA;        if (contact == null) return null;&#xA;&#xA;        contact.Identifiers.Identifier = identifier;&#xA;&#xA;        //Setting these values allows processing and aggregation to process this contact without erroring.&#xA;        contact.System.Value = 0;&#xA;        contact.System.VisitCount = 0;&#xA;&#xA;        //MAKE OTHER Contact Changes here too if you need to on Create.&#xA;&#xA;        XdbContactRepository.SaveContact(contact, new ContactSaveOptions(true,leaseOwner));&#xA;&#xA;        return contact;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Modifing the Contact&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;        //Above Method&#xA;        var currentContact = GetXdbContact(contactIfo.EmailAddress);&#xA;&#xA;        if (currentContact == null)&#xA;            return;&#xA;&#xA;        var lockResult = XdbContactManager.TryLoadContact(currentContact.ContactId);&#xA;&#xA;        Contact updatedContact = currentContact;&#xA;&#xA;        switch (lockResult.Status)&#xA;        {&#xA;            case LockAttemptStatus.Success:&#xA;                var lockedContact = lockResult.Object;&#xA;                lockedContact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;                updatedContact = SomeCustomMethod(lockedContact);  //this method should do work on lockedContact and return lockedContact.  this then saves it as updatedContact.&#xA;                break;&#xA;            case LockAttemptStatus.NotFound:&#xA;                updatedContact = currentContact;&#xA;                break;&#xA;            default:&#xA;                var exception = new Exception(GetType() + &quot; Contact could not be locked - &quot; + currentContact.ContactId);&#xA;                Logger.Error(string.Format(&quot;[{1}:SaveContactInfoToXdb] Can't Lock or Find xDB Contact {0}&quot;, currentContact.ContactId, GetType()), exception);&#xA;                break;&#xA;        }&#xA;&#xA;        //Save Contact Information - This is the ContactManager method to use&#xA;        XdbContactManager.SaveAndReleaseContact(updatedContact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Contact Factets&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have found it WAY easier to create extension methods for accessing Contact facets.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;    public static IEmailAddress GetPreferredEmailAddress(this Contact contact)&#xA;    {&#xA;        var emailFacet = contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;        if (emailFacet.IsEmpty) return null;&#xA;&#xA;        var preferredEmail = emailFacet.Entries[emailFacet.Preferred];&#xA;        return preferredEmail.IsEmpty ? null : preferredEmail;&#xA;    }&#xA;&#xA;    public static IMarketingData GetMarketingData(this Contact contact)&#xA;    {&#xA;        // THIS IS A CUSTOM FACET THAT I CREATED FOR DEMO PURPOSE&#xA;        var marketingFacet = contact.GetFacet&amp;lt;IMarketingData&amp;gt;(&quot;Marketing Data&quot;);&#xA;        return marketingFacet;&#xA;    }&#xA;&#xA;    public static IContactPersonalInfo GetPersonalProfile(this Contact contact)&#xA;    {&#xA;        var facet = contact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;        return facet;&#xA;    }&#xA;&#xA;    public static IContactAddresses GetAddressProfile(this Contact contact)&#xA;    {&#xA;        var facet = contact.GetFacet&amp;lt;IContactAddresses&amp;gt;(&quot;Addresses&quot;);&#xA;        return facet;&#xA;    }&#xA;&#xA;    public static IContactEmailAddresses GetEmailsProfile(this Contact contact)&#xA;    {&#xA;        var facet = contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;        return facet;&#xA;    }&#xA;&#xA;    public static IContactPhoneNumbers GetPhoneProfile(this Contact contact)&#xA;    {&#xA;        var facet = contact.GetFacet&amp;lt;IContactPhoneNumbers&amp;gt;(&quot;Phone Numbers&quot;);&#xA;        return facet;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-12-09T00:40:49.517" LastActivityDate="2016-12-09T00:40:49.517" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3059" PostTypeId="1" AcceptedAnswerId="3070" CreationDate="2016-12-01T22:14:08.640" Score="8" ViewCount="1668" Body="&lt;p&gt;The Sitecore ContentSearch Linq API provides several methods that can be used to search against string fields in different ways:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Like&lt;/li&gt;&#xA;&lt;li&gt;Matches&lt;/li&gt;&#xA;&lt;li&gt;MatchWildcard&lt;/li&gt;&#xA;&lt;li&gt;Contains&lt;/li&gt;&#xA;&lt;li&gt;StartsWith/EndsWith&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;From the &lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/developing/developing%20with%20sitecore/search%20and%20item%20buckets/linq%20to%20sitecore&quot; rel=&quot;noreferrer&quot;&gt;doc site&lt;/a&gt; I have been able to get a vague sense of the purpose for each and I have successfully used some of these in the past, but I have not found a clear comparison anywhere.  When should I use each of these methods? Is there a significant difference in performance between any of them? Is there any notable difference in how they behave with different search providers?&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-12-05T08:07:25.267" Title="In the ContentSearch Linq API what is the difference between the different string matching methods?" Tags="|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3060" PostTypeId="2" ParentId="2990" CreationDate="2016-12-02T00:03:30.637" Score="3" Body="&lt;p&gt;Here is an another example. What I am not happy that reflection and message collection are being used. But it can be as workaround for quick solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;custom:CopyLatestVersionTo&quot; type=&quot;Sitecore.CopyTo.CopyLatestVersionTo, Sitecore.CopyTo&quot; /&amp;gt;&#xA;  &amp;lt;/commands&amp;gt;&#xA;  &amp;lt;processors&amp;gt;&#xA;      &amp;lt;uiCopyItems&amp;gt;&#xA;          &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.CopyTo.Pipelines.CopyLatestTo, Sitecore.CopyTo&quot; method=&quot;OnlyLatestVersion&quot; patch:after=&quot;processor[@type='Sitecore.Shell.Framework.Pipelines.CopyItems,Sitecore.Kernel'][@method='Execute']&quot; /&amp;gt;&#xA;      &amp;lt;/uiCopyItems&amp;gt;&#xA;  &amp;lt;/processors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;public class CopyLatestVersionTo : Sitecore.Shell.Framework.Commands.CopyTo&#xA;{&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        var args = new CopyItemsArgs();&#xA;        var instance = Activator.CreateInstance(typeof(Sitecore.Shell.Framework.Items));&#xA;        var methodInfos = new List&amp;lt;MethodInfo&amp;gt;(instance.GetType().GetMethods(BindingFlags.Static | BindingFlags.NonPublic));&#xA;        var method = methodInfos.FirstOrDefault(m =&amp;gt; m.Name == &quot;Start&quot; &amp;amp;&amp;amp; m.GetParameters().Length == 4);&#xA;        args.AddMessage(&quot;command:copylatest&quot;);&#xA;        method.Invoke(instance, new object[] {&quot;uiCopyItems&quot;, args, context.Items[0].Database, context.Items});&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class CopyLatestTo&#xA;  {&#xA;    protected virtual void OnlyLatestVersion(CopyItemsArgs args)&#xA;    {&#xA;      var pipelineMessages = args.GetMessages(PipelineMessageFilter.Informations);&#xA;      if (pipelineMessages != null &amp;amp;&amp;amp; pipelineMessages.Any(m=&amp;gt;m.Text == &quot;command:copylatest&quot;))&#xA;      {&#xA;        var copies = args.Copies;&#xA;        foreach (var copy in copies)&#xA;        {&#xA;          var currentVersion = copy.Versions.GetLatestVersion();&#xA;          foreach (var itemVersion in copy.Versions.GetVersions(true))&#xA;          {&#xA;            if (!itemVersion.Version.Number.Equals(currentVersion.Version.Number))&#xA;            {&#xA;              itemVersion.Versions.RemoveVersion();&#xA;            }&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Menu Item:&#xA;&quot;/sitecore/content/Applications/Content Editor/Context Menues/Default/Copying/Copy Latest To&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qqv8A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qqv8A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/X3R2S.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/X3R2S.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Em3iD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Em3iD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2016-12-02T00:03:30.637" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3063" PostTypeId="2" ParentId="2823" CreationDate="2016-12-02T02:10:09.843" Score="2" Body="&lt;p&gt;Do you have xDB enabled? If yes, make sure Mongo Daemon Service is running. And check in the Sitecore data/logs for any MongoDB exceptions. I have run into this issue in past and turned out that Mongo Daemon wasnt running and that was causing interruptions in installing Sitecore updates/packages.&lt;/p&gt;&#xA;" OwnerUserId="1199" LastActivityDate="2016-12-02T02:10:09.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3064" PostTypeId="2" ParentId="2823" CreationDate="2016-12-02T02:21:50.530" Score="0" Body="&lt;p&gt;I have seen this issue too. When I installed it, it would not stop spinning but the logs showed that the installation was complete. In my case I just refreshed the page and confirmed that the installation succeeded which was the case&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-12-02T02:21:50.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3066" PostTypeId="1" CreationDate="2016-12-02T08:16:32.030" Score="3" ViewCount="962" Body="&lt;p&gt;To achieve better performance of website, I have browsed some of the web sites and observed that by updating following settings in Sitecore.config we will achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By doing following changes, will there any effect in website, effect means: even after uploading new images, old images will display on website from cache like that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help in this..&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;DisableBrowserCaching&quot; value=&quot;false&quot;/&amp;gt; &amp;lt;!-- Initially&#xA;    it will be true --&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;MediaResponse.Cacheability&quot;&#xA;    value=&quot;public&quot;/&amp;gt; &amp;lt;!-- Initially it will be private --&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Adding Etags in web.config&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpProtocol&amp;gt;&#xA;  &amp;lt;customHeaders&amp;gt;&#xA;    &amp;lt;remove name=&quot;cacheControlHeader&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;ETag&quot; value=&quot;&amp;amp;quot;&amp;amp;quot;&quot; /&amp;gt;&#xA;  &amp;lt;/customHeaders&amp;gt;&#xA;&amp;lt;/httpProtocol&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1116" LastEditorUserId="73" LastEditDate="2016-12-02T08:37:16.233" LastActivityDate="2016-12-02T08:50:55.253" Title="MediaResponse.Cacheability and DisableBrowserCaching" Tags="|caching|settings|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3067" PostTypeId="2" ParentId="3066" CreationDate="2016-12-02T08:36:51.270" Score="1" Body="&lt;p&gt;Your question about DisableBrowserCaching has a very good answer here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2207/what-does-the-disablebrowsercaching-setting-actually-disable/2208&quot;&gt;What does the DisableBrowserCaching setting actually disable?&lt;/a&gt;. As you will read there, some effects might occur, depending on how your site is setup. Personally, I would not recommend this unless your site is very static (but then, why did you spend money on Sitecore?).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The MediaResponse setting is explained &lt;a href=&quot;http://sitecoreblog.patelyogesh.in/2013/11/sitecore-media-and-browser-cache.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. This one will only affect your images and can be altered. Your new images will still appear, old images will come from cache, .. There could be an issue if you &quot;alter&quot; an image (meaning: change an image without altering the name). As your url doesn't change, your cache will not know the image was changed. But I don't think many editors actually do that.. the will mostly create new images.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-02T08:36:51.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3068" PostTypeId="1" CreationDate="2016-12-02T08:36:58.993" Score="7" ViewCount="1040" Body="&lt;p&gt;First project using Helix coming up. In our previous project we've used HTTP/2 on the CDN, so we have adopted a lot of new best practices.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the most important new best practices in HTTP/2 is that number of requests is no longer an issue. Instead of bundling all components styles and scripts into one big &lt;code&gt;styles.css&lt;/code&gt; and &lt;code&gt;scripts.js&lt;/code&gt; we only include the styles and scripts that are needed to support the components that are present on the current page. This results in lighter page weight (which is good) and more requests (which is no longer an issue).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the last project we have used what Kern Herskind called &quot;inside out rendering&quot; (&lt;a href=&quot;http://herskind.co.uk/blog/sitecore/2014/11/off-piste-with-sitecore-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://herskind.co.uk/blog/sitecore/2014/11/off-piste-with-sitecore-mvc/&lt;/a&gt;) to place the components scripts and styles inside &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; or before &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With that approach, a sample component looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- language: html --&amp;gt;&#xA;@model Sitecore.Mvc.Presentation.RenderingModel&#xA;&#xA;@{&#xA;    Section.AddHead(&quot;&amp;lt;link rel='stylesheet' href='&quot; + @GulpAsset.GetSrc(&quot;components/headerComponent.css&quot;) + &quot;' /&amp;gt;&quot;);&#xA;    Section.AddBeforeBodyEnds(&quot;&amp;lt;script src='&quot; + @GulpAsset.GetSrc(&quot;components/headerComponent.js&quot;) + &quot;' &amp;gt;&amp;lt;/script&amp;gt;&quot;);&#xA;}&#xA;&#xA;&amp;lt;header class=&quot;headerComponent&quot;&amp;gt;&#xA;   [a lot of HTML]&#xA;&amp;lt;/header&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A page where several components are included would render like this. The thing to note here is that stylesheets renders inside the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;-element and scripts are rendered just before &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt;. Just like it should.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- language: html --&amp;gt;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&quot;utf-8&quot; /&amp;gt;&#xA;    &amp;lt;title&amp;gt;About us&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;//cdn.customer.com/ui/css/headerComponent-[hash].css&quot; /&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;//cdn.customer.com/ui/css/mainNavigationComponent-[hash].css&quot; /&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;//cdn.customer.com/ui/css/editorialComponent-[hash].css&quot; /&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;//cdn.customer.com/ui/css/footerComponent-[hash].css&quot; /&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;&#xA;    &amp;lt;header class=&quot;headerCoponent&quot;&amp;gt;&#xA;        This is the header component&#xA;    &amp;lt;/header&amp;gt;&#xA;&#xA;    &amp;lt;nav class=&quot;mainNavigationComponent&quot;&amp;gt;&#xA;        &amp;lt;ul&amp;gt;&#xA;            &amp;lt;li&amp;gt;&amp;lt;a href=&quot;/home&quot;&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;            &amp;lt;li&amp;gt;&amp;lt;a href=&quot;/about&quot;&amp;gt;About&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;/ul&amp;gt;&#xA;    &amp;lt;/nav&amp;gt;&#xA;&#xA;    &amp;lt;div class=&quot;editorialComponent&quot;&amp;gt;&#xA;        &amp;lt;h1&amp;gt;This is an amazing page&amp;lt;/h1&amp;gt;&#xA;        &amp;lt;p&amp;gt;Bacon ipsum dolor amet beef ribs tenderloin chuck short ribs sirloin, picanha porchetta ham.&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;footer class=&quot;footerComponent&quot;&amp;gt;&#xA;        Some footer content&#xA;    &amp;lt;/footer&amp;gt;&#xA;&#xA;    &amp;lt;script src=&quot;//cdn.customer.com/ui/js/headerComponent-[hash].js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;//cdn.customer.com/ui/js/mainNavigationComponent-[hash].js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;//cdn.customer.com/ui/js/editorialComponent-[hash].js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;//cdn.customer.com/ui/js/footerComponent-[hash].js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The benefits from doing like this is that a cshtml view, its styles and scripts are very closely tied together, both via file names/namespace and sitecore wise. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you include the component on a page you can be confident that the styles and scripts will follow. One huge disadvantage is that this approach does not work with Sitecore HTML cache. The second time a user requests this page with Sitecore HTML cache enabled the scripts and styles won't render. So that &quot;kinda sucks&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This boils down to: Is there a better way to solve this using Helix principles? How do I link in the components JS and CSS inside the .cshtml and at the same time being able to use the Sitecore HTML cache?&lt;/p&gt;&#xA;" OwnerUserId="1224" LastEditorUserId="1224" LastEditDate="2016-12-02T10:29:04.410" LastActivityDate="2016-12-02T12:14:46.307" Title="Sitecore component CSS and script handling in an HTTP/2 environment" Tags="|mvc|helix|javascript|css|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3069" PostTypeId="2" ParentId="3066" CreationDate="2016-12-02T08:50:55.253" Score="2" Body="&lt;p&gt;To ensure that new images are served, and not old ones from cache, you &quot;cache bust&quot; the images to include a revision parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new class, inheriting from the old one and append the revision or the modified date:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Resources.Media;&#xA;&#xA;namespace MyProject.CMS.Custom.Media&#xA;{&#xA;    public class MediaProvider: Sitecore.Resources.Media.MediaProvider&#xA;    {&#xA;        public override string GetMediaUrl(MediaItem item)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)item, &quot;item&quot;);&#xA;            return this.GetMediaUrl(item, MediaUrlOptions.Empty);&#xA;        }&#xA;&#xA;        public override string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;        {&#xA;            Assert.ArgumentNotNull((object) item, &quot;item&quot;);&#xA;            Assert.ArgumentNotNull((object) options, &quot;options&quot;);&#xA;&#xA;            string mediaURL = base.GetMediaUrl(item, options);&#xA;&#xA;            mediaURL = Sitecore.Web.WebUtil.AddQueryString(mediaURL, new string[] {&quot;revision&quot;, ((Item)item).Statistics.Revision });&#xA;            //OR&#xA;            mediaURL = Sitecore.Web.WebUtil.AddQueryString(mediaURL, new string[] {&quot;modified&quot;, ((Item)item).Statistics.Updated.ToString(&quot;yyyyMMddHHmmss&quot;) });&#xA;&#xA;            return mediaURL;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update the config to point to your new class.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;mediaLibrary&amp;gt;&#xA;  &amp;lt;mediaProvider&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;MyProject.CMS.Custom.Media.MediaProvider, MyProject.CMS.Custom&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/mediaProvider&amp;gt;&#xA;&amp;lt;/mediaLibrary&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As @Gatogordo mentions in his answer, you should leave &lt;code&gt;DisableBrowserCaching=true&lt;/code&gt; especially if you have dynamic pages which should always be served from the server. Make sure you have the cache settings configured on the controls in Sitecore so server side caching is optimal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;MediaResponse.Cacheability&lt;/code&gt; will depend on whether you are using any content delivery networks, but generally &lt;code&gt;public&lt;/code&gt; is a fairly safe configuration for optimal caching downstream. Combined with the code above, any updates to media should be reflected to the user without any issues.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-12-02T08:50:55.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3070" PostTypeId="2" ParentId="3059" CreationDate="2016-12-02T09:26:26.330" Score="7" Body="&lt;p&gt;This answer is for Lucene, but as Solr is based un Lucene I'm expecting to have very similar result on it&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Like: This one does a fuzzy search. It gets the top terms most similar to the term you introduced and then gives you the documents containing these terms. The similarity can be adjusted. It is based on the Damerau-Levenshtein (optimal string alignment) algorithm. This is is a heavy operation, but it safe to be executed. It's translated to: &lt;code&gt;fieldname:value~0.5&lt;/code&gt; (The number represent how similar the terms are, from 0 to 1)&lt;/li&gt;&#xA;&lt;li&gt;Matches: It expects a regular expresion instead of a term to match documents. If you use &quot;plain text&quot; it performs like &quot;equals&quot;.&lt;/li&gt;&#xA;&lt;li&gt;MatchWildcard: It looks for terms containing the referenced text, then it creates a query for any of the terms found. I discourage this method as it usually triggers a &quot;too many clauses&quot; exception. Let's say it translate each word found in the whole index for that field into o field == word 1 or filed==word2, etc. By default Lucene only support 1024 clauses. It can be modified in the config file, but it will affect performance. By default, I recomend the like search to return more related result and with a safe execution than this one. The query is translated to &lt;code&gt;field:*text*&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Contains: It performs a matchwildcard&lt;/li&gt;&#xA;&lt;li&gt;StartsWith/EndsWith: It's like the matchwildcard but only at the beginning or end of the term: The query is translated to &lt;code&gt;field:*value&lt;/code&gt; / &lt;code&gt;field:value*&lt;/code&gt;As terms are index alphabetically based on each character from start to end, &quot;starts with&quot; performs much better as it can identify the terms easily within the index while &quot;Ends with&quot; forces Lucene to transverse the whole term set to identify those &quot;matching terms&quot;.&lt;/li&gt;&#xA;&lt;li&gt;Equals: This is the basic search and is term based. It will return only documents with the whole &quot;word&quot;. The query is translated to: &lt;code&gt;field:value&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="151" LastEditorUserId="151" LastEditDate="2016-12-05T08:07:25.267" LastActivityDate="2016-12-05T08:07:25.267" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3072" PostTypeId="1" CreationDate="2016-12-01T18:58:05.060" Score="6" ViewCount="468" Body="&lt;p&gt;I'm trying to show personalized banners on an external site using Sitecore FXM. The ext. site has 3 pages - Home, Services &amp;amp; Feedback. The banner is to be shown on Home page.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Conditions:&lt;/strong&gt;&lt;br&gt;&#xA;If user has visited Home page for the first time - Show banner1&lt;br&gt;&#xA;If user has visited Services and Feedback pages - Show banner2 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Things I have performed in sitecore:&lt;/strong&gt;&lt;br&gt;&#xA;Created 2 page filters - &lt;em&gt;services &amp;amp; feedback&lt;/em&gt;.&lt;br&gt;&#xA;Created 2 respective goals - &lt;em&gt;visited services &amp;amp; visited feedback&lt;/em&gt;. These do not have any rules. Just plain goals.&lt;br&gt;&#xA;Assigned goal to respective page filter using Manage FXM functions.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Personalization rules for the banner rendering:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Rule 1:&lt;/strong&gt;  (show banner2 if true)&lt;br&gt;&#xA;   where &lt;em&gt;visited services&lt;/em&gt; is triggered&#xA;  in past or current interaction and the elapsed days &lt;em&gt;is less than or&#xA;  equal to 30&lt;/em&gt; and the interactions &lt;em&gt;is greater than or equal to 0&lt;/em&gt;.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;and where &lt;em&gt;visited feedback&lt;/em&gt; is triggered in past or current&#xA;  interaction and the elapsed days &lt;em&gt;is less than or equal to 30&lt;/em&gt; and the&#xA;  interactions &lt;em&gt;is greater than or equal to 0&lt;/em&gt;.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; (show banner1 if Rule1 is false)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;&#xA;In the ext. site, it always renders banner1. But if for rule 1 , if I just apply one condition (&lt;em&gt;visited services&lt;/em&gt;), and then from home page, visit services page and back to home, it shows banner 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where am i going wrong. Will multiple goals in a condition not work. Is there any other way.&lt;br&gt;&#xA;It would be much easier writing a code in a controller rendering, but did not find any helpful information about how we can track if a user has achieved a goal, using code.  I'm a beginner and like to stay away from decompiling yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="1233" OwnerDisplayName="Qwerty" LastEditorUserId="73" LastEditDate="2016-12-02T10:12:07.777" LastActivityDate="2019-02-19T00:07:49.110" Title="Goal combinations not working in Sitecore" Tags="|xdb|fxm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3075" PostTypeId="2" ParentId="3068" CreationDate="2016-12-02T11:01:40.070" Score="1" Body="&lt;p&gt;I found some time ago a solution for this (In my case it was webforms). Instead of adding the references to css and js in the &quot;view&quot; the trick was to put this on a pipeline which is always executed.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution involves creating new &quot;decoration attributes&quot; where you can set the css and js required. Add those attribute in your &quot;views&quot; and then hook into the pipeline and add the references at this point.&#xA;&lt;a href=&quot;https://www.captechconsulting.com/blogs/adding-script-and-stylesheets-to-renderings-in-a-sitecore-mvc-site&quot; rel=&quot;nofollow noreferrer&quot;&gt;This&lt;/a&gt; link seems to do this with MVC&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2016-12-02T11:01:40.070" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3076" PostTypeId="1" CreationDate="2016-12-02T11:03:42.793" Score="-3" ViewCount="90" Body="&lt;p&gt;We are in the starting stage of the project. The requirement is to develop the different functionalities in parallel. Few of the basic modules are&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Login&lt;/li&gt;&#xA;&lt;li&gt;Search&lt;/li&gt;&#xA;&lt;li&gt;View details etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now the problem is, client is not finalized the requirement on the Login, so they want us to start with the &lt;strong&gt;Search&lt;/strong&gt; functionalities. As per the design, during login, profile will be set in the sitecore(using profile provider) and some of the profile values needs to be used in the &lt;strong&gt;Search&lt;/strong&gt; functionality. As customer asked us to start with Search, these profiles will not  be available in the sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are having hard time thinking how we will be able to implement this. &#xA;Also, customer wants have that functionality before implementing the Login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone please en-light us on the approach that we have to taken.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we cannot deliver in that way we can go back and tell them. For that i need some strong points. &lt;/p&gt;&#xA;" OwnerUserId="711" LastEditorUserId="70" LastEditDate="2017-04-28T15:01:50.157" LastActivityDate="2017-04-28T15:01:50.157" Title="Functionalities to develop in Sitecore page" Tags="|content-search|" AnswerCount="1" CommentCount="1" ClosedDate="2017-04-28T18:46:27.280" ContentLicense="CC BY-SA 3.0" />
  <row Id="3077" PostTypeId="2" ParentId="3076" CreationDate="2016-12-02T11:21:28.347" Score="2" Body="&lt;p&gt;You need to implement strict OO design principles in order to isolate the different problems. If you create the necessary “hooks”, you can later expand on the functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, you know you need something like a &lt;strong&gt;BaseUserSearchProfile&lt;/strong&gt; that can be feed to your search implementation, even though you don’t know the exact content you can still model this behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, you could create an “Anonymous” user in Sitecore, that you automatically log in via your own login pipeline, when a user visits – you extent the user with the &lt;strong&gt;BaseUserSearchProfile&lt;/strong&gt; to emulate the final setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means, that your code is ready to be expanded with profiles when you know what to react to – and the known search features can be implemented - it would be the same for all visitors, until login page is developed.&lt;/p&gt;&#xA;" OwnerUserId="327" LastActivityDate="2016-12-02T11:21:28.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3079" PostTypeId="2" ParentId="2993" CreationDate="2016-12-02T12:46:55.253" Score="2" Body="&lt;p&gt;We applied this support patch and to add to Chris Answer - as you master indexes shouldn't be available on your CD servers you will likely need to patch this in with two different config patch files on your CD and CA servers otherwise you will get an error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CD:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;      &#xA;        &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;!--search index connection failure patch (Sitecore.Support.391039)--&amp;gt;&#xA;      &amp;lt;configuration&amp;gt;&#xA;        &amp;lt;indexes&amp;gt;&#xA;           &amp;lt;index id=&quot;sitecore_analytics_index&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_core_index&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_marketing_asset_index_web&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_marketingdefinitions_web&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_fxm_web_index&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;social_messages_web&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CA:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;    &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;        &amp;lt;sitecore&amp;gt;      &#xA;            &amp;lt;contentSearch&amp;gt;&#xA;          &amp;lt;!--search index connection failure patch (Sitecore.Support.391039)--&amp;gt;&#xA;          &amp;lt;configuration&amp;gt;&#xA;            &amp;lt;indexes&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_analytics_index&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_core_index&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_master_index&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_marketing_asset_index_master&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_marketing_asset_index_web&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_marketingdefinitions_master&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_marketingdefinitions_web&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_testing_index&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_suggested_test_index&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_fxm_master_index&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_fxm_web_index&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_list_index&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;social_messages_master&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;social_messages_web&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.Support.391039&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;            &amp;lt;/indexes&amp;gt;&#xA;          &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;/contentSearch&amp;gt;&#xA;        &amp;lt;/sitecore&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-12-02T12:46:55.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3081" PostTypeId="1" CreationDate="2016-12-02T13:38:28.587" Score="3" ViewCount="181" Body="&lt;p&gt;So I have a Rendering, it takes a data source, but there is a requirement to schedule a specific data source item to show up for that rendering between a given time frame.  Is that possible within Sitecore?  I know you could use the personalization rules engine to achieve something similar, but it's not as intuitive as I would like.  Is there any other options?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2016-12-02T15:46:52.530" Title="Schedule Items to display in Rendering Datasource" Tags="|presentation|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3082" PostTypeId="2" ParentId="2823" CreationDate="2016-12-02T13:54:41.780" Score="3" Body="&lt;p&gt;As Hdvti mentioned I've seen this when you have xDB enabled. As a workaround disable it in short term using the following patch file and then re-move the patch file after you have installed any modules:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;settings&amp;gt;&#xA;            &amp;lt;setting name=&quot;Xdb.Enabled&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;false&quot; /&amp;gt;&#xA;            &amp;lt;/setting&amp;gt;&#xA;            &amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;false&quot; /&amp;gt;&#xA;            &amp;lt;/setting&amp;gt;&#xA;        &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-12-02T13:54:41.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3083" PostTypeId="2" ParentId="3081" CreationDate="2016-12-02T14:10:37.873" Score="2" Body="&lt;p&gt;You can use item versions and publishing restrictions.&#xA;With publishing restrictions you can set a time frame(start and end) for when and item version is active&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-12-02T14:10:37.873" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3084" PostTypeId="2" ParentId="2823" CreationDate="2016-12-02T14:42:54.703" Score="0" Body="&lt;p&gt;I faced similar issue before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case giving application pool user permissions to Data folder fixed it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case its trying to create packages folder in data folder and failing.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2016-12-02T14:42:54.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3085" PostTypeId="2" ParentId="3081" CreationDate="2016-12-02T15:14:03.203" Score="2" Body="&lt;p&gt;Unlike the renderings, your &lt;code&gt;final renderings&lt;/code&gt; (available in 8+) are not shared, so it should be possible to use those and create another version with the specific datasource (the guid of the datasource is part of your rendering field value). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can schedule that version to show for a given time frame. Don't forget that you need the publishing agent if you want it all to happen automatically ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-12-02T15:14:03.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3086" PostTypeId="2" ParentId="3015" CreationDate="2016-12-02T15:22:21.463" Score="4" Body="&lt;p&gt;Simon,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found an answer. There is an FXM variant of $(document).ready (more details &lt;a href=&quot;https://asmagin.com/2016/06/15/document-ready-for-sitecore-fxm/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So solution is to customize SearchBoxView and substitute existed inline js code with FXM-aware js code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;&#xA;    if (typeof (SCBeacon) != 'undefined' &amp;amp;&amp;amp; SCBeacon &amp;amp;&amp;amp; SCBeacon.push) {&#xA;        // Sitecore FXM SearchBoxView load on ready event&#xA;        SCBeacon.push([&quot;ready&quot;, initCoveoSearchBox]);&#xA;    }&#xA;    else {&#xA;        // Sitecore SearchBoxView ioad&#xA;        Coveo.$(function () {&#xA;            initCoveoSearchBox();&#xA;        });&#xA;    }&#xA;&#xA;    function initCoveoSearchBox()&#xA;    {&#xA;        // original inline js code&#xA;    }&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1216" LastActivityDate="2016-12-02T15:22:21.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3087" PostTypeId="2" ParentId="3081" CreationDate="2016-12-02T15:46:52.530" Score="0" Body="&lt;p&gt;While @Diego answer works, publish restrictions doesn't perform automatic publish when the date comes. Content authors need to perform the publish (unless you have automatic publish setup) action before the scheduled date.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default we have few Date conditions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KEUd2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KEUd2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but if you would like to change the datasource between specific timeframes you can use some custom rule as below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used something similar to below previously for overcoming the problem&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class NowBetweenCondition&amp;lt;T&amp;gt; : WhenCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;      {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets or sets the UTC start date.&#xA;        /// &#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &#xA;        /// &amp;lt;value&amp;gt;&#xA;        /// The UTC start date.&#xA;        /// &amp;lt;/value&amp;gt;&#xA;        public string StartDate{ get; set; }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets or sets the UTC end date.&#xA;        /// &#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &#xA;        /// &amp;lt;value&amp;gt;&#xA;        /// The UTC end date.&#xA;        /// &amp;lt;/value&amp;gt;&#xA;        public string EndDate{ get; set; }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Executes the specified rule context.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;ruleContext&quot;&amp;gt;The rule context.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&#xA;        /// &amp;lt;c&amp;gt;True&amp;lt;/c&amp;gt;, if the condition succeeds, otherwise &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;.&#xA;        /// &amp;lt;/returns&amp;gt;&#xA;        protected override bool Execute(T ruleContext)&#xA;        {&#xA;          DateTime utcNow = DateTimeProvider.GetUtcNow();&#xA;          DateTime dateTimeStart = DateUtil.ParseDateTime(this.StartDate, DateTime.MaxValue);&#xA;          DateTime dateTimeEnd = DateUtil.ParseDateTime(this.EndDate, DateTime.MaxValue);&#xA;          if (dateTimeStart.Kind != DateTimeKind.Utc || dateTimeEnd.Kind != DateTimeKind.Utc)&#xA;            Log.Warn(&quot;&amp;lt;yournamespace&amp;gt;.NowBetweenCondition&amp;lt;T&amp;gt; expects UTC date, but date with different kind has been assigned to StartDate: &quot; + this.StartDate + &quot;or EndDate: &quot;+ this.EndDate, (object) this);&#xA;          return utcNow &amp;gt; dateTimeStart &amp;amp;&amp;amp; utcNow &amp;lt; dateTimeEnd;&#xA;        }&#xA;      }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Validate the inputs properly to avoid surprises.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new rule in master db under &lt;code&gt;system/settings/rules/definitions/elements&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/npY82.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/npY82.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2016-12-02T15:46:52.530" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3088" PostTypeId="2" ParentId="2961" CreationDate="2016-12-02T16:18:36.667" Score="7" Body="&lt;p&gt;Apparently there's a checkbox. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sQ8WS.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sQ8WS.png&quot; alt=&quot;Checkbox&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4" LastActivityDate="2016-12-02T16:18:36.667" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3089" PostTypeId="1" AcceptedAnswerId="3099" CreationDate="2016-12-02T16:23:28.723" Score="1" ViewCount="478" Body="&lt;p&gt;For Sitecore Azure (up to 8.1) how are the hostnames configured for Azure PaaS CD environments? Is this something which happens automatically based on settings found in Sitecore.config/Web.config?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-12-03T00:20:46.277" Title="Hostname bindings for IIS in Sitecore Azure PaaS" Tags="|azure|iis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3090" PostTypeId="1" AcceptedAnswerId="3103" CreationDate="2016-12-02T16:40:50.697" Score="5" ViewCount="1009" Body="&lt;p&gt;I recently discovered a checkbox on the &quot;View&quot; ribbon of the Experience Editor in Sitecore 8.1. This checkbox is used to display validation errors, but it is not checked by default. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OwF2Z.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OwF2Z.png&quot; alt=&quot;Checkbox&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would I go about enforcing the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The checkbox is checked by default&lt;/li&gt;&#xA;&lt;li&gt;The checkbox cannot be unchecked (my thinking is to just deny the read/write permission for this button. I just need to make sure it's checked first).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4" LastActivityDate="2017-09-23T03:19:25.173" Title="Set Default Value of Ribbon Checkbox" Tags="|experience-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3092" PostTypeId="2" ParentId="3090" CreationDate="2016-12-02T17:15:12.347" Score="5" Body="&lt;p&gt;Go to core db. Find the:&#xA;&quot;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/View/Capabilities/Field validation&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you can see the &quot;webedit:hidecontrol&quot; is used.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;webedit:hidecontrol&quot; type=&quot;Sitecore.ExperienceEditor.WebEdit.Commands.HideControl, Sitecore.ExperienceEditor&quot; /&amp;gt;&#xA;&#xA;[Serializable]&#xA;public class HideControl : WebEditCommand&#xA;{&#xA;    // Methods&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;    }&#xA;&#xA;    public override CommandState QueryState(CommandContext context) =&amp;gt; &#xA;        CommandState.Hidden;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add your own command and update the method &lt;code&gt;QueryState&lt;/code&gt; with &lt;code&gt;CommandState.Enabled&lt;/code&gt; or &lt;code&gt;CommandState.Down&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it helps.&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2016-12-02T17:20:57.783" LastActivityDate="2016-12-02T17:20:57.783" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3093" PostTypeId="1" CreationDate="2016-12-02T17:40:10.423" Score="1" ViewCount="836" Body="&lt;p&gt;I'm having an issue creating an item remotely using the item web API. Having tried several permutations of what is in the documentation, I am repeatedly seeing the following in logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Invalid item ID in query string: undefined&#xA;WARN  Context item not resolved.&#xA;WARN  Cannot resolve the scope because the item set is empty.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I assume it's referring to the parent item, but I get the same errors regardless if I'm using the path as below, sc_itemid, or query to the same path. Here's the code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  var request = WebRequest.CreateHttp(&#xA;        string.Format(&#xA;               &quot;http://sandbox.local/-/item/v1/sitecore/content/home?name={0}&amp;amp;template={1}&amp;amp;sc_database=master&quot;,&#xA;               HttpUtility.UrlEncode(&quot;testfromapi&quot;),&#xA;               HttpUtility.UrlEncode(&quot;{54045564-B0E6-4F76-9653-C8F08812D77A}&quot;)));&#xA;&#xA;        request.Headers.Add(&quot;X-Scitemwebapi-Username&quot;, &quot;sitecore\\admin&quot;);&#xA;        request.Headers.Add(&quot;X-Scitemwebapi-Password&quot;, &quot;b&quot;);&#xA;        request.ContentType = &quot;application/x-www-form-urlencoded&quot;;&#xA;        request.Method = &quot;POST&quot;;&#xA;        request.ContentLength = 0;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any obvious missteps here? TIA!&lt;/p&gt;&#xA;" OwnerUserId="221" LastEditorUserId="423" LastEditDate="2017-08-08T14:28:46.370" LastActivityDate="2017-08-08T14:28:46.370" Title="Sitecore Item Web API error - Invalid item ID in query string" Tags="|sitecore-services-client|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3094" PostTypeId="1" CreationDate="2016-12-02T17:41:46.513" Score="7" ViewCount="504" Body="&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have an upcoming multi-site project, in which our client would like us to implement a &quot;restricted&quot; SSO wherein the users of &lt;em&gt;mainsite.com&lt;/em&gt; that have been given access to &lt;em&gt;employees.mainsite.com&lt;/em&gt; will only have to log into one of the two sites to be logged into both. Note that all users must first become members of &lt;em&gt;mainsite.com&lt;/em&gt; before they can be given access to &lt;em&gt;employees.mainsite.com&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most of the SSO has been worked out, and I am planning to use the same domain for users of both sites. Since all users would be created on &lt;em&gt;mainsite.com&lt;/em&gt; first, I would simply use a security Role on the &lt;code&gt;employees&lt;/code&gt; domain to allow access to the &lt;em&gt;employees.mainsite.com&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I can assign roles from different domains to a user, but are there any negatives of doing this? Also, if a user with a given role is meant to have access to a site with a different security domain, are there any special security or configuration concerns that I should be aware of?&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-12-12T18:12:46.840" Title="How to best use Roles and Domains with Multi-site SSO" Tags="|security|multisite|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3095" PostTypeId="1" AcceptedAnswerId="3096" CreationDate="2016-12-02T18:22:00.430" Score="2" ViewCount="409" Body="&lt;p&gt;When you right-click in the left gutter of the Content Tree in the Content Editor, a really handy context menu appears with some &quot;command shortcuts&quot; (for lack of a better term). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9wDt4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9wDt4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know where in the core database the &quot;buttons&quot; for this context menu are controlled? &lt;em&gt;Bonus points to anyone who can also tell me the real name for this thing, because I can't seem to find it anywhere.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-12-02T18:30:00.950" LastActivityDate="2016-12-03T21:51:21.317" Title="Where can I customize the content tree gutter flyout/context menu?" Tags="|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3096" PostTypeId="2" ParentId="3095" CreationDate="2016-12-02T18:26:36.440" Score="3" Body="&lt;p&gt;You can add stuff here: &lt;code&gt;/sitecore/content/Applications/Content Editor/Context Menues/Default&lt;/code&gt; and seeing the path I would assume it is called a &quot;Context Menu&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After your command and screenshot: you'll need to go here in the core database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Applications/Content Editor/Gutters&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Apparently they are just called &quot;Gutters&quot;. All existing ones have that name also in their namespace.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-12-02T18:36:08.240" LastActivityDate="2016-12-02T18:36:08.240" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3097" PostTypeId="1" AcceptedAnswerId="3098" CreationDate="2016-12-02T18:54:31.620" Score="4" ViewCount="1237" Body="&lt;p&gt;We want to create multiple Sitecore security domains for different groups and their users. Can you advice as how to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="1226" LastActivityDate="2016-12-05T09:50:21.753" Title="How to create multiple Sitecore Security Domain" Tags="|security|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3098" PostTypeId="2" ParentId="3097" CreationDate="2016-12-02T19:11:02.997" Score="11" Body="&lt;p&gt;You can use the Domain Manager within Sitecore to create new security domains. From the Sitecore Desktop:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Start &amp;gt; Security Tools &amp;gt; Domain Manager&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9xAtW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9xAtW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From there, you can setup your Sitecore Roles specifing your new domains, then assign users to the Domain Role.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2016-12-02T19:11:02.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3099" PostTypeId="2" ParentId="3089" CreationDate="2016-12-03T00:20:46.277" Score="0" Body="&lt;p&gt;You need to configure the hostnames in the portal (or via PowerShell) first. This will involve a DNS validation step so you will need access to your DNS provider as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You only need hostnames in the Sitecore Config if your system needs to differentiate site content between several domain names. If it's just the one, you only need to configure the Azure website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS Azure Website-grade PaaS is only officially supported from 8.2.1  Be careful when running multiple instances as there are Sitecore components that use the file system for storage and Azure PaaS had a shared filesystem across instances.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-12-03T00:20:46.277" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3100" PostTypeId="1" AcceptedAnswerId="3117" CreationDate="2016-12-03T05:09:01.587" Score="2" ViewCount="137" Body="&lt;p&gt;Using Coveo UI's &lt;code&gt;SearchView.cshtml&lt;/code&gt;, Is there a way in Coveo to pin external items into results list in certain order? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically I am trying to insert ads between search results list. I have &lt;code&gt;n&lt;/code&gt; no. of ads that need to go between every 4 non-ad result item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any pointers on the best approach to this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: I am trying to use &lt;code&gt;CoveoProcessParsedRestResponseArgs&lt;/code&gt; to insert ads into the &lt;code&gt;ResultsRespnse&lt;/code&gt; object. The challenge I see is, it does not give me the search result page or &lt;code&gt;firstResultIndex&lt;/code&gt; in the response to accurately insert ads on subsequent pages. Is there any other pipeline processor that I need to use?&lt;/p&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="1128" LastEditDate="2016-12-03T22:15:08.317" LastActivityDate="2017-10-02T14:50:11.907" Title="Coveo pin items between results" Tags="|coveo|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3101" PostTypeId="1" CreationDate="2016-12-03T11:09:47.700" Score="1" ViewCount="675" Body="&lt;p&gt;We are using Web Form for Marketers in &lt;code&gt;Sitecore 7.2 with MVC&lt;/code&gt;. We are using one field of the form to show thank you message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;p&amp;gt; Thanks for Submission &amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt; You have successfully subscribed to our news letter&amp;lt;/p&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it shows a message like follows&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&amp;lt;div class=&amp;quot;wfm-thank-you&amp;quot;&amp;gt; &amp;lt;p&amp;gt;Thanks For&#xA;  Submission&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;You have successfully subscribed to our&#xA;  newsletter&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It shows HTML tags with a message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anu suggestion will be helpful.&lt;/p&gt;&#xA;" OwnerUserId="1226" LastEditorUserId="5387" LastEditDate="2019-08-12T05:18:02.973" LastActivityDate="2019-08-12T05:18:02.973" Title="Confirmation message in WFFM in Sitecore" Tags="|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3102" PostTypeId="2" ParentId="3101" CreationDate="2016-12-03T12:01:27.813" Score="2" Body="&lt;p&gt;WFFM does not provide this functionality by default in this version. It allows outputting only plain text. I would suggest to use 'Redirect' success form action.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-12-03T12:01:27.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3103" PostTypeId="2" ParentId="3090" CreationDate="2016-12-03T13:20:54.047" Score="8" Body="&lt;p&gt;The value of the checkbox is set on a per user basis and stored against their profile (which means it is remembered across sessions and browsers/computers).&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Force Field Validation to be Enabled&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To force this checkbox to be enabled, you can set it against the user profile when they log in.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using Sitecore.Pipelines.LoggedIn;&#xA;using Sitecore.Security.Accounts;&#xA;using Sitecore.Web.UI.HtmlControls;&#xA;&#xA;namespace MyProject.CMS.Pipelines.LoggedIn&#xA;{&#xA;    public class UserLoggedIn&#xA;    {&#xA;        public void Process(LoggedInArgs args)&#xA;        {&#xA;            User user = User.FromName(args.Username, true);&#xA;            Assert.IsNotNull(user, &quot;user&quot;);&#xA;            Registry.SetValue(&quot;/Current_User/Page Editor/Capability/FieldsValidation&quot;, &quot;on&quot;);&#xA;            // Sitecore.ExperienceEditor.Constants.CheckboxTickedRegistryValue can also be used &#xA;            // as a constant to &quot;on&quot; but you'll need to add a reference to the DLL&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then patch this into the &lt;code&gt;loggedin&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;processors&amp;gt;&#xA;    &amp;lt;loggedin&amp;gt;&#xA;      &amp;lt;processor mode=&quot;on&quot; type=&quot;MyProject.CMS.Pipelines.LoggedIn.UserLoggedIn, MyProject.CMS&quot; /&amp;gt; &#xA;    &amp;lt;/loggedin&amp;gt;&#xA;  &amp;lt;/processors&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Force Checkbox to be Disabled&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Edit the JS file located in &lt;code&gt;/sitecore/shell/client/Sitecore/ExperienceEditor/Commands/EnableFieldsValidation.js&lt;/code&gt; and update the &lt;code&gt;canExecute&lt;/code&gt; function to return &lt;code&gt;false&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;canExecute: function (context) {&#xA;  return false;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The checkbox should now appear checked and not changeable. You may have to force refresh the browser cache to pick up the updated JS file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hSRDn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hSRDn.png&quot; alt=&quot;Field Validation&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="1436" LastEditDate="2017-09-23T03:19:25.173" LastActivityDate="2017-09-23T03:19:25.173" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3104" PostTypeId="2" ParentId="3097" CreationDate="2016-12-03T13:32:43.707" Score="20" Body="&lt;p&gt;Editing the domains through the &lt;code&gt;Domain Manager&lt;/code&gt; tool will cause &lt;code&gt;\App_Config\Security\Domains.config&lt;/code&gt; to be updated with the added details. If you are updating this tool then make sure you include this in your project or copy it across to the other environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, the domains node is not patchable with Sitecore config overrides since it sits outside the &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node. You can however use a different &lt;code&gt;domainManager&lt;/code&gt; which will use config and allow your domains to be patched like any other Sitecore config section.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;domainManager defaultProvider=&quot;file&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;defaultProvider&quot;&amp;gt;config&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/domainManager&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then patch in whatever domains you want:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;domainManager&amp;gt;&#xA;            &amp;lt;domains&amp;gt;&#xA;                &amp;lt;domain id=&quot;MyCustomNewDomain1&quot; type=&quot;Sitecore.Security.Domains.Domain, Sitecore.Kernel&quot;&amp;gt;&#xA;                    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;                    &amp;lt;ensureAnonymousUser&amp;gt;false&amp;lt;/ensureAnonymousUser&amp;gt;&#xA;                &amp;lt;/domain&amp;gt;&#xA;                &amp;lt;domain id=&quot;MyCustomNewDomain2&quot; type=&quot;Sitecore.Security.Domains.Domain, Sitecore.Kernel&quot;&amp;gt;&#xA;                    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;                    &amp;lt;ensureAnonymousUser&amp;gt;false&amp;lt;/ensureAnonymousUser&amp;gt;&#xA;                &amp;lt;/domain&amp;gt;&#xA;            &amp;lt;/domains&amp;gt;&#xA;        &amp;lt;/domainManager&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more about this in &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Configuring-domains-from-patch-files/&quot; rel=&quot;noreferrer&quot;&gt;Configuring domains from patch files&lt;/a&gt; post by Kam Figy.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-12-05T09:50:21.753" LastActivityDate="2016-12-05T09:50:21.753" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3105" PostTypeId="2" ParentId="3095" CreationDate="2016-12-03T21:51:21.317" Score="2" Body="&lt;p&gt;&lt;strong&gt;Sitecore PowerShell Extensions&lt;/strong&gt; provides the ability to add commands to the &quot;Gutter&quot;. Here is an excerpt from the &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/content-editor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;book&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Gutter integration allows for full flexibility of adding a gutter element.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Begin by adding a new script to the Gutters library.&lt;/li&gt;&#xA;&lt;li&gt;Edit the script to create a new instance of &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.Gutters.GutterIconDescriptor&lt;/code&gt; if the right conditions are met.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set the Icon, Tooltip, and Click properties.&lt;/li&gt;&#xA;&lt;li&gt;Return the gutter object&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the gutter integration from within the ISE.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Settings tab&lt;/li&gt;&#xA;&lt;li&gt;Integration chunk&lt;/li&gt;&#xA;&lt;li&gt;Sync Library with Content Editor Gutter command&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Examples included in the following modules&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Publishing Status Gutter&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qtWzm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qtWzm.png&quot; alt=&quot;Publishing Status&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2016-12-03T21:51:21.317" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3108" PostTypeId="1" AcceptedAnswerId="3131" CreationDate="2016-12-05T08:28:01.677" Score="3" ViewCount="528" Body="&lt;p&gt;I  have a requirement where I need t convert the data in to sitecore items. Each data has its own language content. so I want to move the data from source to sitecore as shown in the below&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;create sitecore items with language versions&lt;/li&gt;&#xA;&lt;li&gt;update those items frequently&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Any reference or code sample to insert the sitecore items with language versions?&lt;/p&gt;&#xA;" OwnerUserId="1205" LastActivityDate="2018-03-19T18:20:05.227" Title="How to add sitecore items with different language version by using Data Exchange framework" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3109" PostTypeId="1" CreationDate="2016-12-05T08:29:19.923" Score="5" ViewCount="8418" Body="&lt;p&gt;Using Sitecore 8.2  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have multiple MVC projects in a VS Solution. For each project, I remove the &lt;em&gt;RouteConfig.cs&lt;/em&gt;, but for one, I forgot and clicked on publish. (I'm not sure if thats the reason for the error).    &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the page thows this error - &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The controller for path '/en/home' was not found or does not implement&#xA;  IController.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I removed the &lt;em&gt;RouteConfig.cs&lt;/em&gt; and published again but no luck. Also, none of the MVC projects have Global.asax included.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried giving the full path in controller rendering.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Controller: Sitecore.Feature.Teasers.Controllers.TeasersController, Sitecore.Feature.Teasers  &#xA;Controller Action: RenderTeaser&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TeasersController.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.Teasers.Controllers&#xA;{&#xA;    public class TeasersController : SitecoreController&#xA;    {&#xA;        // GET: Teasers&#xA;        public ActionResult RenderTeaser()&#xA;        {&#xA;            IEnumerable&amp;lt;Item&amp;gt; teasers = GetTeasers();&#xA;            return View(&quot;~/Views/Teasers/Teasers.cshtml&quot;, teasers);&#xA;        }        &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I fix this. Thank you.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2017-03-06T23:15:39.557" LastActivityDate="2019-10-07T12:00:08.003" Title="Error with controller rendering - &quot;does not implement IController&quot;" Tags="|mvc|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3110" PostTypeId="2" ParentId="3109" CreationDate="2016-12-05T09:29:47.037" Score="0" Body="&lt;p&gt;Looks like the dlls are in the temporary cache. Simply try an IIS recycle or reset. And check.&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2016-12-05T09:29:47.037" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3112" PostTypeId="1" AcceptedAnswerId="3113" CreationDate="2016-12-05T11:32:21.540" Score="2" ViewCount="481" Body="&lt;p&gt;I have created a custom field type and it's working good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the screenshot of how its looks in core database. All i filled in for template field type Template is Assembly and Class fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5khKM.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5khKM.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the screenshot of sitecore's default date field type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hShXs.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hShXs.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like you see the difference, i am not using &quot;Control&quot; field for my custom field type and sitecore default field is not using Assembly and Class fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my questions are&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;what's the use of &quot;Control&quot; Field?&lt;/li&gt;&#xA;&lt;li&gt;How sitecore default date field  working with out &quot;Assembly&quot; and &quot;Class&quot; fields?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2016-12-05T12:20:20.157" LastActivityDate="2016-12-05T12:20:20.157" Title="Template field type - Control" Tags="|configuration|sitecore-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3113" PostTypeId="2" ParentId="3112" CreationDate="2016-12-05T12:07:15.347" Score="4" Body="&lt;p&gt;In Sitecore configuration you can find &lt;code&gt;&amp;lt;controlSources&amp;gt;&lt;/code&gt; section. It contains all the namespaces Sitecore parses when it looks for &lt;code&gt;content:ClassName&lt;/code&gt; in a field definition (like &lt;code&gt;Date&lt;/code&gt; in your example).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why Sitecore finds &lt;code&gt;Sitecore.Web.UI.WebControls.Date&lt;/code&gt; class and uses it for the &lt;code&gt;DateTime&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One good example of how this can be extended is in &lt;code&gt;Sitecore.Buckets.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;controlSources&amp;gt;&#xA;  &amp;lt;source mode=&quot;on&quot; prefix=&quot;contentExtension&quot; namespace=&quot;Sitecore.Buckets.FieldTypes&quot; assembly=&quot;Sitecore.Buckets&quot; /&amp;gt;&#xA;  &amp;lt;source mode=&quot;on&quot; namespace=&quot;Sitecore.Buckets.Controls&quot; assembly=&quot;Sitecore.Buckets&quot;/&amp;gt;&#xA;&amp;lt;/controlSources&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;prefix=&quot;contentExtension&quot;&lt;/code&gt; part says that field definition will have another prefix instead of the default &lt;code&gt;content&lt;/code&gt;. So if you check &lt;code&gt;Multlilist with Search&lt;/code&gt; field, you will see there &lt;code&gt;contentExtension:BucketList&lt;/code&gt; value of the &lt;code&gt;Control&lt;/code&gt; field.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2016-12-05T12:12:51.623" LastActivityDate="2016-12-05T12:12:51.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3114" PostTypeId="2" ParentId="3100" CreationDate="2016-12-05T13:48:55.903" Score="0" Body="&lt;p&gt;I managed to do this by combining &lt;code&gt;CoveoProcessParsedRestResponseArgs&lt;/code&gt; and underscore template on UI. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically I added a new property &lt;code&gt;Ads&lt;/code&gt; to &lt;code&gt;SearchResult&lt;/code&gt; item using the &lt;code&gt;CoveoProcessParsedRestResponseArgs&lt;/code&gt; pipeline, which contains all ads collection (lucky for me there are only about 10) and then on the UI wrote logic on how to specify placeholders for what position to display them.&lt;/p&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2016-12-05T13:48:55.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3116" PostTypeId="1" AcceptedAnswerId="3118" CreationDate="2016-12-05T14:08:44.050" Score="5" ViewCount="1276" Body="&lt;p&gt;I wanted to create a report on particular page events. In Sitecore 7.2 we had a &lt;code&gt;PageEvents&lt;/code&gt; table; in Sitecore 8 xDB, this table seems to be missing from the Reporting DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the &lt;code&gt;Interactions&lt;/code&gt; collections in MongoDB, and each interaction has a page associated and every page has various page events. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As specified in documentation, reporting should come from the Reporting DB. Are we missing the &lt;code&gt;PageEvents&lt;/code&gt; table in Reporting DB?&lt;/p&gt;&#xA;" OwnerUserId="1234" LastEditorUserId="104" LastEditDate="2016-12-05T15:06:13.990" LastActivityDate="2016-12-05T15:06:13.990" Title="How can I create a custom Page Events report in Sitecore 8?" Tags="|xdb|mongodb|reporting|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3117" PostTypeId="2" ParentId="3100" CreationDate="2016-12-05T14:24:39.190" Score="0" Body="&lt;p&gt;I see two valid approaches for this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Inject &quot;fake results&quot; that correspond to ads and add an underscore template to match those results, either using a server-side &lt;a href=&quot;https://developers.coveo.com/x/HAHvAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;preprocessing&lt;/a&gt; or client-side &lt;a href=&quot;https://coveo.github.io/search-ui/classes/queryevents.html#preprocessresults&quot; rel=&quot;nofollow noreferrer&quot;&gt;PreprocessResults&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Client-side, using a simple underscore trick that does not mess with the results at all. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Here is a quick example I came up with for the second scenario:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script class=&quot;result-template&quot; type=&quot;text/underscore&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;coveo-result-frame&quot;&amp;gt;&#xA;        {{ if(index % 4 == 0) { }}&#xA;            &amp;lt;div class=&quot;coveo-result-row my-ad-row&quot;&amp;gt;&#xA;                 Here is my AD&#xA;            &amp;lt;/div&amp;gt;&#xA;        {{ } }}&#xA;        ... // Your normal result template&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I then added this style here to make it look like a real result:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt;.my-ad-row {&#xA;    padding: 0px 0px 20px 0px;&#xA;    border-bottom: 1px solid #BCC3CA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is what it looks like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Un56R.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Un56R.png&quot; alt=&quot;Ad within Coveo results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="290" LastEditorUserId="264" LastEditDate="2017-10-02T14:50:11.907" LastActivityDate="2017-10-02T14:50:11.907" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3118" PostTypeId="2" ParentId="3116" CreationDate="2016-12-05T14:29:10.210" Score="1" Body="&lt;p&gt;The only place I can see page events for SC8 is in the &lt;code&gt;Fact_Conversions&lt;/code&gt; table. There is a field &lt;code&gt;GoalId&lt;/code&gt; that has a foreign key to the &lt;code&gt;PageEventDefinitions&lt;/code&gt; table. All the triggered page events should be stored in there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sYS1w.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sYS1w.png&quot; alt=&quot;Fact_Conversions table definition&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that 2 things have to happen for it to get there. First the data must be written to MongoDb once the users session ends. Also the aggregation service needs to run to aggregate all the Mongo data into the reporting DB.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-12-05T14:29:10.210" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3120" PostTypeId="2" ParentId="3116" CreationDate="2016-12-05T14:48:05.867" Score="1" Body="&lt;p&gt;The ways in which data is stored and accessed have changed drastically between DMS (up to Sitecore 7.2) and xDB (Sitecore 7.5 and onward).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In 7.2, all collected and reporting data was stored in the &lt;code&gt;Analytics&lt;/code&gt; database in SQL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In xDB, collected data is stored in the Collection database (MongoDB), while reporting data is &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/processing_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;processed&lt;/strong&gt;&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/reporting_database_reference&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;stored&lt;/strong&gt;&lt;/a&gt; in the Reporting database (SQL Server). Data in the Reporting DB is actually stored in two different ways:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Fact and Dimension tables (used by older reports):&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Fact_*&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Keywords&lt;/code&gt;, &lt;code&gt;Contacts&lt;/code&gt;, &lt;code&gt;Languages&lt;/code&gt;, etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Dimensions, segments and metrics (used by &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing__reporting/analytics/experience_analytics_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Experience Analytics&lt;/strong&gt;&lt;/a&gt;):&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;DimensionKeys&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Segments&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SegmentRecords&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SegmentRecordsReduced&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Fact_SegmentMetrics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Fact_SegmentMetricsReduced&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The Experience Analytics tables store (among other types of data) page event data as segments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to create a custom Experience Analytics report, you'll want to use the data in the Experience Analytics tables. You may need to create custom aggregation logic for your data, but keep in mind that these tables, most likely, already store all the data you need. So you'll just need to create custom filters and segments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To create a custom Experience Analytics report, follow the guidelines from the official Sitecore documentation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/analyzing%20%20reporting/analytics/configuring/walkthrough%20%20creating%20an%20experience%20analytics%20report&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating an Experience Analytics report&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing__reporting/analytics/configuring/create_a_custom_report_filter_and_segment&quot; rel=&quot;nofollow noreferrer&quot;&gt;Create a custom report filter and segment&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-05T15:00:21.347" LastActivityDate="2016-12-05T15:00:21.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3121" PostTypeId="1" AcceptedAnswerId="5462" CreationDate="2016-12-05T14:56:31.090" Score="12" ViewCount="258" Body="&lt;p&gt;Similar to the situation described &lt;a href=&quot;https://sitecore.stackexchange.com/q/2993/423&quot;&gt;in this post regarding Solr&lt;/a&gt;, we recently had an issue in which our connection attempts to the xDB Cloud 2.0 service were adding hundreds of megabytes of 504 errors to the logs, crippling the site with timeout errors all over the place and effectively taking the site down until an app pool recycle was manually performed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am currently discussing the issue with Sitecore support, in order to ensure that nothing on our end caused this, but this seems highly unlikely since the issue occurred on both CD servers at the same time. In either case, I would like to know if there is a way to ensure that the site remains stable in the event of xDB timeout errors. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At this point, my only real guess at how this could be done is to control the amount of time between connection attempts. Does anyone know if this could be done or any other (perhaps better) ways of doing this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;&lt;em&gt;Version info: Sitecore 8.1u2, xDB Cloud 2.0&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-04-21T22:08:36.047" Title="Gracefully Handle xDB Cloud 2.0 Connectivity Issues - Controlling connection timeout" Tags="|xdb|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3122" PostTypeId="1" AcceptedAnswerId="3127" CreationDate="2016-12-05T14:58:18.283" Score="0" ViewCount="1548" Body="&lt;p&gt;When I click on &quot;Lock and Edit&quot; I am getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Object reference not set to an instance of an object.&#xA;&#xA;&#xA;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;Sitecore.Shell.Framework.Commands.CheckOut.Execute(CommandContext context) +297&#xA;   Sitecore.Shell.Framework.Dispatcher.Dispatch(Message message, CommandContext context) +209&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.HandleMessage(Message message) +1713&#xA;   Sitecore.Shell.Framework.Commands.MessageCommand.Execute(CommandContext context) +152&#xA;   Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +547&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +25&#xA;   System.Web.UI.Control.PreRenderRecursiveInternal() +113&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastActivityDate="2016-12-05T20:26:45.843" Title="Lock and Edit - Object reference not set to an instance of an object" Tags="|content-editor|workflow|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3123" PostTypeId="1" AcceptedAnswerId="3124" CreationDate="2016-12-05T16:34:11.223" Score="2" ViewCount="145" Body="&lt;p&gt;I am setting up a search page, but I'm getting an error when hitting save on the tab component, after adding a filtering rule. If I remove the rule, it saves fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The rule is simple. just filter by a particular template type:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EPkiP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EPkiP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When saving the page in experience editor (not when clicking OK to the dialog) I see:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TFmxE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TFmxE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the Sitecore log, I can see the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;27008 16:28:37 ERROR After parsing a value an unexpected character was encountered: {. Path 'scLayout', line 2, position 14.&#xA;Exception: Newtonsoft.Json.JsonReaderException&#xA;Message: After parsing a value an unexpected character was encountered: {. Path 'scLayout', line 2, position 14.&#xA;Source: Newtonsoft.Json&#xA;   at Newtonsoft.Json.JsonTextReader.ParsePostValue()&#xA;   at Newtonsoft.Json.JsonTextReader.ReadInternal()&#xA;   at Newtonsoft.Json.JsonTextReader.Read()&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)&#xA;   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)&#xA;   at Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs requestArgs)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it seems like something in the rule cannot be parsed as JSON?&lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="5387" LastEditDate="2019-08-12T05:15:55.757" LastActivityDate="2019-08-12T05:15:55.757" Title="Error saving search page after adding filter rule to tab" Tags="|coveo|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="3124" PostTypeId="2" ParentId="3123" CreationDate="2016-12-05T16:42:49.080" Score="5" Body="&lt;p&gt;I think you have run into a Known Issue with Sitecore. With 8.0 update 6 and 7, 8.1 update 1, and 8.2, there is an issue that prevents pages with rules from being saved in the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a workaround, where you can edit and save the rules in the &lt;strong&gt;Presentation&lt;/strong&gt; &gt; &lt;strong&gt;Details&lt;/strong&gt; section, or remove all of your rules before saving.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a link to the &lt;a href=&quot;https://developers.coveo.com/pages/viewpage.action?pageId=33587260&quot; rel=&quot;noreferrer&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this was of help!&lt;/p&gt;&#xA;" OwnerUserId="298" LastActivityDate="2016-12-05T16:42:49.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3125" PostTypeId="1" CreationDate="2016-12-05T18:05:27.880" Score="3" ViewCount="713" Body="&lt;p&gt;I have created a computed index field for our custom Lucene search index, and I have noticed that the contents do not get automatically added to the &quot;_content&quot; field in Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to be able to search &quot;_content&quot; and find results that match any field including my computed index field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've read that I can add my computed field as part of &quot;_content&quot; just by naming it _content in the config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;_content&quot;&amp;gt;Project.Domain.Search.ComputedFields.PageTaxonomies, Project.Domain&amp;lt;/field&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would like to boost any search results where the search terms are found in PageTaxonomies. But where can I apply the boost for this field if the field has the same name as _content?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help appreciated!&lt;/p&gt;&#xA;" OwnerUserId="1236" LastActivityDate="2016-12-05T18:41:24.327" Title="Boosting a computed index field in _content" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3126" PostTypeId="2" ParentId="3125" CreationDate="2016-12-05T18:41:24.327" Score="6" Body="&lt;p&gt;I would use a different field for your computed field, so it's easier to boost. if this is not possible, you'll have to use some tricks, as you can't distinguish the values coming from a different field.&lt;/p&gt;&#xA;&lt;h2&gt;The trick: Add a token to your value so you can identify and boost it&lt;/h2&gt;&#xA;&lt;p&gt;Assuming that for some reason you need the original value of your taxonomy, add a duplicated value to your value with a special token, then boost the search for that term:&#xA;Let's say that your computer field now returns &amp;quot;taxonomy1&amp;quot;; modify your code to return &amp;quot;taxonomy1|mytokentaxonomy1&amp;quot;&#xA;On your search, add an &amp;quot;or&amp;quot; with the &amp;quot;extra&amp;quot; value.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var queryPredicate = PredicateBuilder.True&amp;lt;SearchResult&amp;gt;();&#xA;queryPredicate = queryPredicate.And(i =&amp;gt;&#xA;                            i.YourField.Equals(&amp;quot;taxonomy1&amp;quot;) || i.YourField.Equals(&amp;quot;mytokentaxonomy1&amp;quot;).Boost(50));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This way, you are sure that the value you are generating with your computed field is boosted.&#xA;If you don't need the original value, you can just use the special value.&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-05T18:41:24.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3127" PostTypeId="2" ParentId="3122" CreationDate="2016-12-05T20:26:45.843" Score="1" Body="&lt;p&gt;The error was fixed by adding a green check box for the &quot;Workflow State Write&quot; permission for each of the Writable workflow steps.&lt;/p&gt;&#xA;" OwnerUserId="404" LastActivityDate="2016-12-05T20:26:45.843" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3128" PostTypeId="1" AcceptedAnswerId="3129" CreationDate="2016-12-05T22:24:54.060" Score="0" ViewCount="211" Body="&lt;p&gt;For a long time, Sitecore has included support for using Oracle for the Core DB and to be honest I pretty much ignored it and just assumed that Sitecore supports Oracle simply for cross-platform compatibility. I am no longer satisfied with my unfounded answer, since I cannot find any corroborating (or dissenting) information online, and would like to find out if anyone actually knows of a reason why I would want to use Oracle for the Core DBs?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:48:07.593" LastActivityDate="2017-09-14T17:48:07.593" Title="Why would I want to use Oracle for the Core DBs?" Tags="|oracle|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3129" PostTypeId="2" ParentId="3128" CreationDate="2016-12-05T22:53:57.597" Score="5" Body="&lt;p&gt;Up until Sitecore 7.2, it was possible to use Oracle instead of SQL Server as a fully supported and alternative database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details in the &lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Compatibility Matrix&lt;/a&gt;. The databases were included as part of the regular zip of the webroot which could be download from &lt;a href=&quot;https://sdn.sitecore.net/default.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/default.aspx&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Oracle is not supported in Sitecore 8.0 or 8.1, but it is supported again in 8.2 when run in CMS only mode. In this case, Core Databases (master, web, core) are available as a separate download.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you intend to use Oracle for the Core db, please download the following file and check the installation guide for instructions on how to install and configure Oracle.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My guess if your confusion is around the wording on the download page, between  Sitecore.Core database and &quot;Core databases required to run Sitecore&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, if you check a default installation of Sitecore 8.2 and &lt;code&gt;\App_Config\ConnectionStringsOracle.config&lt;/code&gt; file then you will find &lt;code&gt;core&lt;/code&gt;, &lt;code&gt;master&lt;/code&gt; and &lt;code&gt;web&lt;/code&gt; connectionstrings specified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your question is &quot;Why would anyone want to use Oracle instead of SQL Server&quot; in general, then this is the wrong place and would be entirely opinion based.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-12-05T22:53:57.597" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3130" PostTypeId="1" AcceptedAnswerId="3149" CreationDate="2016-12-05T23:34:57.733" Score="3" ViewCount="117" Body="&lt;p&gt;Currently all Coveo UI components are initialized through Experience Editor. Setting their appropriate properties. Is there a way to initialize them through code? Example &lt;code&gt;CoveoSortFieldView.cshtml&lt;/code&gt; and &lt;code&gt;CoveoFacetView.cshtml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to reference them in code and load a perticular facet instead of going through EE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Coveo for Sitecore 4.&lt;/p&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2018-06-11T22:24:48.773" Title="Coveo initialize components via code" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3131" PostTypeId="2" ParentId="3108" CreationDate="2016-12-06T00:29:27.477" Score="3" Body="&lt;p&gt;Try this.&#xA;Add references: &#xA;&lt;code&gt;Sitecore.DataExchange.Local&lt;/code&gt;,&lt;code&gt;Sitecore.Services.Core&lt;/code&gt;,&lt;code&gt;Sitecore.Services.Infrastructure&lt;/code&gt;, &lt;code&gt;Sitecore.Services.Infrastructure.Sitecore&lt;/code&gt;.&#xA;&lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a custom repository class based on &lt;code&gt;InProcItemModelRepository&lt;/code&gt;.&#xA;&lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomRepository : InProcItemModelRepository&#xA;  {&#xA;    public override Guid Create(string itemName, Guid templateId, Guid parentId, string language)&#xA;    {&#xA;      var parentItem = base.Get(parentId);&#xA;      if (parentItem == null)&#xA;      {&#xA;        return Guid.Empty;&#xA;      }&#xA;      var path = parentItem[ItemModel.ItemPath].ToString();&#xA;      //&#xA;      var itemModel = new ItemModel();&#xA;      itemModel[ItemModel.ItemName] = itemName;&#xA;      itemModel[ItemModel.TemplateID] = templateId.ToString();&#xA;      var handler = base.HandlerProvider.GetHandler&amp;lt;CreateItemHandler&amp;gt;();&#xA;      var command = new CreateItemCommand&#xA;      {&#xA;        ItemModel = itemModel,&#xA;        Path = path,&#xA;        Language = language&#xA;&#xA;      };&#xA;      var response = handler.Handle(command) as CreateItemResponse;&#xA;      return response.ItemId;&#xA;    }&#xA;&#xA;    public override bool Update(Guid id, ItemModel itemModel, string language, int version)&#xA;    {&#xA;      var handler = base.HandlerProvider.GetHandler&amp;lt;UpdateItemHandler&amp;gt;();&#xA;      var command = new UpdateItemCommand&#xA;      {&#xA;        Id = id,&#xA;        Database = base.DatabaseName,&#xA;        ItemModel = itemModel,&#xA;        Language = language,&#xA;        Version = version.ToString()&#xA;      };&#xA;      handler.Handle(command);&#xA;      return true;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add you config. You need replace repository with your custom.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;dataExchange&amp;gt;&#xA;            &amp;lt;itemModelRepository type=&quot;Custom.DataExchange.CustomRepository, Custom.DataExchange&quot;, patch:instead=&quot;processor[@type='Sitecore.DataExchange.Local.Repositories.InProcItemModelRepository, Sitecore.DataExchange.Local']&quot;&amp;gt;&#xA;                &amp;lt;databaseName&amp;gt;master&amp;lt;/databaseName&amp;gt;&#xA;            &amp;lt;/itemModelRepository&amp;gt;&#xA;        &amp;lt;/dataExchange&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var repo = (CustomRepository)DataExchange.Context.ItemModelRepository;&#xA;var templateId = new Guid(&quot;{A0691A54-6175-4C10-9E10-9A1FA0134517}&quot;);&#xA;var parentId = new Guid(&quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;);&#xA;var itemId = repo.Create(&quot;My Product&quot;, templateId, parentId, &quot;de&quot;);&#xA;repo.Update(itemId, new ItemModel() { { &quot;ProductName&quot;, &quot;My Product Name&quot; } }, &quot;de&quot;, 1);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastEditorUserId="1436" LastEditDate="2018-03-19T18:20:05.227" LastActivityDate="2018-03-19T18:20:05.227" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3132" PostTypeId="1" AcceptedAnswerId="3133" CreationDate="2016-12-06T01:39:59.807" Score="-1" ViewCount="172" Body="&lt;p&gt;I want to configure my Link Manager to utilize the Display Name field when generating URLs, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;linkManager&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;sitecore&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;useDisplayName&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/add&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, that Display Name field is down in the standard fields and hard to manage from an authoring point of view.  I'd like to move it up higher in my page templates.  Is this possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, can I configure the link manager to use my own custom field instead?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2016-12-06T01:56:08.290" Title="Is it possible to move &quot;Display name&quot; out of standard fields?" Tags="|link-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3133" PostTypeId="2" ParentId="3132" CreationDate="2016-12-06T01:54:17.187" Score="3" Body="&lt;p&gt;I feel like you may be switched around in your thinking.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The display name field is used to when you view the item in sitecore you are able to have it look better compared to the actual item name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to have urls created to look a certain way, it would be best to use the item name when you create the item to be the url you want and then fill out the display name so it looks better in the content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can edit the display name using the tab on the content editor. &lt;a href=&quot;https://i.stack.imgur.com/oVvTX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oVvTX.png&quot; alt=&quot;Display Name and Rename button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1195" LastEditorUserId="1195" LastEditDate="2016-12-06T01:56:08.290" LastActivityDate="2016-12-06T01:56:08.290" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3134" PostTypeId="1" AcceptedAnswerId="3139" CreationDate="2016-12-06T06:32:28.143" Score="6" ViewCount="996" Body="&lt;p&gt;I have a computed field with &lt;code&gt;returnType=&quot;stringCollection&quot;&lt;/code&gt;, which I am using via a search result model that looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MySearchResultItem : SearchResultItem&#xA;{&#xA;    // ...other properties...&#xA;&#xA;    [IndexField(&quot;aliases&quot;)]&#xA;    public string[] Aliases {get; set;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My search code needs to find results that have aliases beginning with a given letter (or any digit if the input is &lt;code&gt;#&lt;/code&gt;).  Here's what it looks like now:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var pattern = (letter == &quot;#&quot; ? &quot;[0-9]&quot; : letter) + &quot;.*&quot;;&#xA;var predicate = PredicateBuilder.True&amp;lt;MySearchResultItem&amp;gt;();&#xA;// ...other clauses...&#xA;predicate = predicate.And(r =&amp;gt; r.Aliases.Any(a =&amp;gt; a.Matches(pattern));&#xA;var results = context.GetQueryable&amp;lt;MySearchResult&amp;gt;().Where(predicate).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Originally, I had the Aliases property as an &lt;code&gt;IEnumberable&amp;lt;string&amp;gt;&lt;/code&gt;, but I got an error that said it must be an array.  After changing it to an array, I get an exception like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;[ArgumentException: Static method requires null instance, non-static method requires non-null instance.&#xA;Parameter name: instance]&#xA;   System.Linq.Expressions.Expression.ValidateStaticOrInstanceMethod(Expression instance, MethodInfo method) +5862475&#xA;   System.Linq.Expressions.Expression.Call(Expression instance, MethodInfo method, IEnumerable`1 arguments) +69&#xA;   Sitecore.ContentSearch.Linq.Parsing.ExpressionParser.VisitLinqEnumerableAnyMethod(MethodCallExpression methodCall) +573&#xA;   Sitecore.ContentSearch.Linq.Parsing.ExpressionParser.Visit(Expression expression) +186&#xA;   ...&#xA;   System.Linq.Enumerable.ToList(IEnumerable`1 source) +70&#xA;   ... my code ...&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I doing something wrong, or is this kind of query just not supported by the API?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this isn't supported, is there another way to get there?  Changing it from Matches to StartsWith(letter) gets rid of the error, but I would need to add 10 StartsWith clauses for the digit case and apparently &lt;a href=&quot;/a/3070/153&quot;&gt;StartsWith isn't &quot;safe&quot;&lt;/a&gt; to begin with.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-12-06T12:50:27.957" Title="How to query for regEx matches in any value in a stringCollection field?" Tags="|content-search|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3136" PostTypeId="1" AcceptedAnswerId="3142" CreationDate="2016-12-06T10:10:26.910" Score="3" ViewCount="498" Body="&lt;p&gt;When I am importing contacts (within a scheduled job, which is our of request) I want to check few business conditions and if contact matches the condition, I want to trigger a goal for the contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The goal will execute rule action on enrolling the contact in the engagement flow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that possible and how to do that?&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="915" LastEditDate="2016-12-06T10:45:00.833" LastActivityDate="2016-12-06T12:45:24.380" Title="How to trigger a goal programmatically out of web request?" Tags="|xdb|goals|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3137" PostTypeId="1" AcceptedAnswerId="3152" CreationDate="2016-12-06T10:29:25.320" Score="-1" ViewCount="6663" Body="&lt;p&gt;In a sitecore mvc project created a .cshtml as mainlayout with the following code in it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@using Sitecore.Mvc.Presentation&#xA;&#xA;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;project.MVC.Models.Shared.IPageBase&amp;gt;&#xA;&#xA;@{&#xA;    Layout = null;&#xA;}&#xA;&#xA;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&amp;gt;&#xA;    &amp;lt;title&amp;gt;SampleLayout&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;div&amp;gt; &#xA;        &amp;lt;h1&amp;gt;Hello World&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I assigned this as mainlayout to one of the item in Sitecore and previewed it.&#xA;Following is the error displayed:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Project.MVC.Models.Shared.IPageBase'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="949" LastEditorUserId="277" LastEditDate="2016-12-06T10:36:40.807" LastActivityDate="2016-12-06T17:25:28.913" Title="The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but it requires model another model in project" Tags="|sitecore-client|mvc|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3138" PostTypeId="2" ParentId="3137" CreationDate="2016-12-06T10:31:36.933" Score="2" Body="&lt;p&gt;while you are inheriting from GlassView you need to do like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;Interface name or Class name&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your case you need to do like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;Project.MVC.Models.Shared.IPageBase&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you are in old version of GlassMapper earlier to Glass V4 you need to specify the Model in your sitecore layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rSCL2.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rSCL2.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2016-12-06T10:44:56.253" LastActivityDate="2016-12-06T10:44:56.253" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3139" PostTypeId="2" ParentId="3134" CreationDate="2016-12-06T10:55:27.847" Score="6" Body="&lt;p&gt;When working with &lt;code&gt;stringCollection&lt;/code&gt; fields, you can declare them in the model simply as &lt;code&gt;string&lt;/code&gt;. When you apply any filtering logic to such a field, that logic will be treated as &lt;code&gt;.Any()&lt;/code&gt;, meaning that the filter needs to apply to at least one string in the collection. This is in a way similar to how tokenized fields work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Define your field in the model like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;aliases&quot;)]&#xA;public string Aliases { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then filter like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;predicate = predicate.And(r =&amp;gt; r.Aliases.Matches(pattern));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-06T12:50:27.957" LastActivityDate="2016-12-06T12:50:27.957" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3140" PostTypeId="1" AcceptedAnswerId="3141" CreationDate="2016-12-06T11:09:38.397" Score="4" ViewCount="568" Body="&lt;p&gt;I am trying to patch my sitecore instance by following the sitecore knowledge base article &lt;a href=&quot;https://kb.sitecore.net/articles/039942&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/039942&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am on sitecore 8.1 update 3 and could not able to do below step as i cannot find that in web.config file?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit the web.config file and locate this line within the '/configuration/system.web/httpHandlers' node&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_icon.ashx&quot; type=&quot;Sitecore.Resources.IconRequestHandler, Sitecore.Kernel&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any suggestions are appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="73" LastEditDate="2016-12-06T11:16:06.257" LastActivityDate="2016-12-06T18:08:01.173" Title="Patching security vulnerability SC2016-002-136135 for versions 7.2 and above" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3141" PostTypeId="2" ParentId="3140" CreationDate="2016-12-06T11:13:52.763" Score="7" Body="&lt;p&gt;You are probably running the site in integrated mode. This means you don't need the /configuration/system.web part, which is for classic mode. If it is not there, you can ignore that step.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-12-06T11:13:52.763" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3142" PostTypeId="2" ParentId="3136" CreationDate="2016-12-06T11:26:09.787" Score="2" Body="&lt;p&gt;Goal registration heavily relies on the current session. I am not aware of a good way to properly register a goal outside of actual session, page, and request being available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To enroll a contact into a specific state in an engagement plan, you can try using this API:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Automation;&#xA;&#xA;// ...&#xA;&#xA;bool success = AutomationContactManager.AddContact(&#xA;    contactId,&#xA;    automationStateId,&#xA;    new Dictionary&amp;lt;string, object&amp;gt;());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This method will return false in the following cases:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The contact with given ID does not exist;&lt;/li&gt;&#xA;&lt;li&gt;The database is unavailable;&lt;/li&gt;&#xA;&lt;li&gt;The contact is locked by another process;&lt;/li&gt;&#xA;&lt;li&gt;The contact is already in the given state;&lt;/li&gt;&#xA;&lt;li&gt;The given automation state does not exist;&lt;/li&gt;&#xA;&lt;li&gt;An exception occurs (it will be logged).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To check if a contact is already enrolled in a certain plan, you can use the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Contact contact = ...&#xA;var manager = AutomationStateManager.Create(contact);&#xA;bool isInPlan = manager.IsInEngagementPlan(planId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-06T12:45:24.380" LastActivityDate="2016-12-06T12:45:24.380" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3143" PostTypeId="2" ParentId="3140" CreationDate="2016-12-06T11:28:40.853" Score="9" Body="&lt;p&gt;The &lt;code&gt;httpModules&lt;/code&gt; and &lt;code&gt;httpHandlers&lt;/code&gt; sections were removed from the default &lt;code&gt;web.config&lt;/code&gt; in Sitecore 8.1 Initial Release. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/Sitecore%2081/Sitecore%20Experience%20Platform%2081%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The outdated sections &lt;code&gt;&amp;lt;httpModules&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;httpHandlers&amp;gt;&lt;/code&gt; have been removed from the Web.config file. (437095)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sitecore recommends you run the site in Integrated mode and is the default installation mode when using the Sitecore installer or SIM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The step you mentioned is only valid for older Sitecore installations, you can ignore it for Sitecore 8.1 and above.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-12-06T18:08:01.173" LastActivityDate="2016-12-06T18:08:01.173" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3144" PostTypeId="1" CreationDate="2016-12-06T12:29:42.763" Score="3" ViewCount="982" Body="&lt;p&gt;I have Web Forms for Marketers 8.2 rev. 160801. On my local machine.&#xA;I've created simple form and assigned an action 'Send Email Message' on submit.&#xA;Form can be successfully submitted, but &lt;strong&gt;no emails sent&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My parameters for 'Send Email Message' are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Host&amp;gt;smtp.mingo.local&amp;lt;/Host&amp;gt;&amp;lt;port&amp;gt;25&amp;lt;/port&amp;gt;&amp;lt;From&amp;gt;noreply@mingo.com&amp;lt;/From&amp;gt;&amp;lt;IsBodyHtml&amp;gt;true&amp;lt;/IsBodyHtml&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.net&amp;gt;&#xA;    &amp;lt;mailSettings&amp;gt;&#xA;      &amp;lt;smtp deliveryMethod=&quot;Network&quot; from=&quot;noreply@mingo.com&quot;&amp;gt;&#xA;        &amp;lt;network host=&quot;smtp.mingo.local&quot; port=&quot;25&quot; defaultCredentials=&quot;false&quot;/&amp;gt;&#xA;      &amp;lt;/smtp&amp;gt;&#xA;    &amp;lt;/mailSettings&amp;gt;&#xA;    &amp;lt;defaultProxy enabled=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/system.net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;smtp.mingo.local on port 25 is working. I've checked with Telnet. It responds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I have following in logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #17 2016:12:06 11:03:49 ERROR Exception in task&#xA;  Exception: System.Net.Mail.SmtpException Message: Failure sending&#xA;  mail. Source: System    at System.Net.Mail.SmtpClient.Send(MailMessage&#xA;  message)    at Sitecore.Tasks.EmailReminderTask.SendReminder(Item&#xA;  item)    at Sitecore.Tasks.EmailReminderTask.SendReminder()    at&#xA;  Sitecore.Tasks.TaskDatabaseAgent.Run()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Net.WebException Message: Unable to connect to the&#xA;  remote server Source: System    at&#xA;  System.Net.ServicePoint.GetConnection(PooledStream PooledStream,&#xA;  Object owner, Boolean async, IPAddress&amp;amp; address, Socket&amp;amp; abortSocket,&#xA;  Socket&amp;amp; abortSocket6)    at System.Net.PooledStream.Activate(Object&#xA;  owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)    at&#xA;  System.Net.ConnectionPool.GetConnection(Object owningObject,&#xA;  GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)    at&#xA;  System.Net.Mail.SmtpConnection.GetConnection(ServicePoint&#xA;  servicePoint)    at System.Net.Mail.SmtpClient.Send(MailMessage&#xA;  message)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Net.Sockets.SocketException Message: An attempt was&#xA;  made to access a socket in a way forbidden by its access permissions&#xA;  xx.xx.xx.xx:25 Source: System    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,&#xA;  SocketAddress socketAddress)    at&#xA;  System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,&#xA;  Socket s4, Socket s6, Socket&amp;amp; socket, IPAddress&amp;amp; address,&#xA;  ConnectSocketState state, IAsyncResult asyncResult, Exception&amp;amp;&#xA;  exception)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anybody knows what can be an issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What did I miss?&lt;/p&gt;&#xA;" OwnerUserId="1240" LastActivityDate="2017-04-12T04:41:36.180" Title="WFFM: Unable to connect to the remote server" Tags="|wffm|" AnswerCount="1" CommentCount="7" ClosedDate="2017-04-13T09:40:43.547" ContentLicense="CC BY-SA 3.0" />
  <row Id="3145" PostTypeId="2" ParentId="3144" CreationDate="2016-12-06T12:33:26.413" Score="0" Body="&lt;p&gt;Did you set these configurations directly on the web.config?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you should be using the host and authentication tags on the Sitecore.config file like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Host&amp;gt;smtp-mail.outlook.com&amp;lt;/Host&amp;gt;&amp;lt;Port&amp;gt;587&amp;lt;/Port&amp;gt;&amp;lt;EnableSsl&amp;gt;true&amp;lt;/EnableSsl&amp;gt;&amp;lt;Login&amp;gt;sitecore@outlook.com&amp;lt;/Login&amp;gt;&amp;lt;Password&amp;gt;xyz1234&amp;lt;Password&amp;gt;&amp;lt;IsBodyHtml&amp;gt;true&amp;lt;/IsBodyHtml&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;you can check how to configure smtp for WFFM &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/save_actions/specify_different_smtp_settings_for_the_send_email_message_save_action&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2016-12-06T12:33:26.413" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3149" PostTypeId="2" ParentId="3130" CreationDate="2016-12-06T13:27:00.557" Score="5" Body="&lt;p&gt;Yes you can. You can simply use a reference to the rendering. Be aware that you will also need to pass a datasource reference with the rendering for the options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Create a parameters item which you will use as a datasource, the template of these items is in the template/coveomodule folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- Pass the refference of the rendering and your datasource item in your code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example for the search box in a cshtml header:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- The resources first --&amp;gt;&#xA;@Html.Sitecore().Rendering(&quot;{id-of-the-search-box-resources}&quot;)&#xA;&amp;lt;!-- Then the search box item --&amp;gt;&#xA;@Html.Sitecore().Rendering(&quot;{id-of-the-search-box-view-rendering}&quot;, new { DataSource = &quot;{parameters-item-of-the-search-box-view}&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="264" LastActivityDate="2016-12-06T13:27:00.557" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3150" PostTypeId="1" AcceptedAnswerId="3160" CreationDate="2016-12-06T15:30:03.430" Score="10" ViewCount="1709" Body="&lt;p&gt;On &lt;a href=&quot;http://dev.sitecore.net&quot;&gt;http://dev.sitecore.net&lt;/a&gt; Sitecore has released the Sitecore 8.2 Update-1 version. This now supports Azure PaaS. However, I can not find an installation guide for an Azure PaaS setup. Anybody know if this is available?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, when I download the &quot;WebDeploy package for XP0 / Single Instance configuration&quot;, this doesn't seem to be the same as a 'normal' webdeploy package I can create from Visual Studio. The content of the files do not have not the same structure. Is this a 'special' webdeploy package?&lt;/p&gt;&#xA;" OwnerUserId="1009" LastEditorUserId="171" LastEditDate="2016-12-06T19:33:38.507" LastActivityDate="2016-12-07T08:04:49.730" Title="How to install Sitecore 8.2u1 on Azure PaaS" Tags="|azure|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3151" PostTypeId="1" AcceptedAnswerId="3178" CreationDate="2016-12-06T16:23:55.347" Score="2" ViewCount="1109" Body="&lt;p&gt;We have a multi-site instance of Sitecore 8.2 and we have patched the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; section to include each site. This all seems fine and every site can be accessed by its unique domain/subdomain. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Curiously, one of the sites will resolve fine (it's home page), but when we try to access Sitecore, instead of loading the login page, we get a 404 page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the config line for a site that works - &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore login page is reachable&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note I only changed the hostnames to generic values (e.g site1 and oursite.com):&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site patch:after=&quot;*[@name='modules_website']&quot;&#xA;    name=&quot;site1_authoring&quot;&#xA;    targetHostName=&quot;authoring.site1.oursite.com&quot;&#xA;    hostName=&quot;authoring.site1.oursite.com&quot;&#xA;    virtualFolder=&quot;/&quot;&#xA;    physicalFolder=&quot;/&quot;&#xA;    rootPath=&quot;/sitecore/content&quot;&#xA;    startItem=&quot;/Sites/site1&quot;&#xA;    database=&quot;web&quot;&#xA;    enableAnalytics=&quot;false&quot;&#xA;    domain=&quot;extranet&quot;&#xA;    allowDebug=&quot;true&quot;&#xA;    cacheHtml=&quot;true&quot;&#xA;    htmlCacheSize=&quot;100MB&quot;&#xA;    registryCacheSize=&quot;0&quot;&#xA;    viewStateCacheSize=&quot;0&quot;&#xA;    xslCacheSize=&quot;5MB&quot;&#xA;    filteredItemsCacheSize=&quot;2MB&quot;&#xA;    enablePreview=&quot;true&quot;&#xA;    enableWebEdit=&quot;true&quot;&#xA;    enableDebugger=&quot;true&quot;&#xA;    disableClientData=&quot;false&quot;&#xA;    forceSSL=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here's the config line for the site that does not work - &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;CANNOT access Sitecore login page&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note I only changed the hostnames to generic values (e.g site2 and oursite.com):&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site patch:after=&quot;*[@name='modules_website']&quot;&#xA;    name=&quot;site2_authoring&quot;&#xA;    targetHostName=&quot;authoring.site2.oursite.com&quot;&#xA;    hostName=&quot;authoring.site2.oursite.com&quot;&#xA;    virtualFolder=&quot;/&quot;&#xA;    physicalFolder=&quot;/&quot;&#xA;    rootPath=&quot;/sitecore/content/Sites/site2&quot;&#xA;    startItem=&quot;/Home&quot;&#xA;    database=&quot;web&quot;&#xA;    domain=&quot;extranet&quot;&#xA;    enableAnalytics=&quot;false&quot;&#xA;    allowDebug=&quot;true&quot;&#xA;    cacheHtml=&quot;true&quot;&#xA;    htmlCacheSize=&quot;100MB&quot;&#xA;    registryCacheSize=&quot;0&quot;&#xA;    viewStateCacheSize=&quot;0&quot;&#xA;    xslCacheSize=&quot;5MB&quot;&#xA;    filteredItemsCacheSize=&quot;2MB&quot;&#xA;    enablePreview=&quot;true&quot;&#xA;    enableWebEdit=&quot;true&quot;&#xA;    enableDebugger=&quot;true&quot;&#xA;    disableClientData=&quot;false&quot;&#xA;    forceSSL=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When trying to access the Sitecore login on the second site via:&#xA;&lt;code&gt;http://authoring.site2.oursite.com/Sitecore/login&lt;/code&gt;, we get the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://authoring.site2.oursite.com/error/pagenotfound?item=&amp;amp;user=sitecore%5cAnonymous&amp;amp;site=login&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not seeing anything significant in the site config definitions? &lt;/p&gt;&#xA;" OwnerUserId="583" LastEditorUserId="408" LastEditDate="2016-12-06T18:17:47.727" LastActivityDate="2016-12-07T15:49:31.507" Title="Accessing Sitecore Login from each site in a multi-site setup fails (404 page not found) for only one site" Tags="|sitecore-client|site-configuration|multisite|" AnswerCount="2" CommentCount="4" ClosedDate="2016-12-08T08:59:27.703" ContentLicense="CC BY-SA 3.0" />
  <row Id="3152" PostTypeId="2" ParentId="3137" CreationDate="2016-12-06T17:25:28.913" Score="0" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Disclaimer: I work with Indra and helped him solve the problem. Adding the answer with other issues that were resolved.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Dheeraj answer was right to the question. But unfortunately it opened up a new issue called &lt;code&gt;key not found&lt;/code&gt; exception using Glass Mappper. This was because the model properties and item fields were not matching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After ignoring the properties to AutoMap, faced another issue. This time it is with the &lt;code&gt;Glass.Mapper.Sc.Start.Config&lt;/code&gt; file. The namespace mentioned for the &lt;code&gt;App_Start&lt;/code&gt; method was not pointing to the project namespace. So, corrected it and everything started working properly.&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2016-12-06T17:25:28.913" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3153" PostTypeId="1" AcceptedAnswerId="3156" CreationDate="2016-12-06T18:15:25.723" Score="5" ViewCount="5102" Body="&lt;p&gt;Is there any easier way of creating read-only fields for all users except admin, not by setting permissions on every user or by creating a role and assigning it to every user/group?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2016-12-06T19:36:09.353" Title="Make text field readonly" Tags="|sitecore-client|permissions|editor-user-permissions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3155" PostTypeId="2" ParentId="387" CreationDate="2016-12-06T18:36:08.560" Score="2" Body="&lt;p&gt;In additon to above answers:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add help text to template fields by clicking on the &lt;code&gt;Ribbon -&amp;gt; Configure - &amp;gt; Help&lt;/code&gt; which will open a popup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kM4kQ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kM4kQ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2016-12-06T18:36:08.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3156" PostTypeId="2" ParentId="3153" CreationDate="2016-12-06T19:12:42.640" Score="10" Body="&lt;h1&gt;Modifying raw security values&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the Content Editor&lt;/li&gt;&#xA;&lt;li&gt;Locate the item that represents the template field&lt;/li&gt;&#xA;&lt;li&gt;On the View tab in the Ribbon, make sure the following checkboxes are checked:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Standard fields&lt;/li&gt;&#xA;&lt;li&gt;Raw values&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Go to the Security section&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Insert the following text into the Security field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ar|sitecore\Everyone|pe|-field:write|&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Save the item.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z0ejH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z0ejH.png&quot; alt=&quot;Security setting&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will make the field read-only for all Sitecore users except the administrators. This is because Sitecore administrators can &lt;em&gt;always&lt;/em&gt; edit all fields, regardless of security.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: if you want this to apply to users in all domains, use the following value:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;ar|Everyone|pe|-field:write|pd|-field:write|&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h1&gt;Using the Security Editor&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You can also deny access to this field via the Security Editor UI. Just make sure that the &quot;Field Write&quot; column is shown by checking it in the Columns dialog in the Security Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9XWcv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9XWcv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-06T19:36:09.353" LastActivityDate="2016-12-06T19:36:09.353" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3157" PostTypeId="1" CreationDate="2016-12-06T21:30:34.703" Score="4" ViewCount="138" Body="&lt;p&gt;I'd like to override Placeholder method &lt;code&gt;@Html.Sitecore().Placeholder(&quot;keyName&quot;)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to achieve special behaviour to update CustomData (Editable checkbox in Placeholder item) value. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Eventhough Placeholder item sets editable as true, specific users would not be able to edit Custom Data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my code, but doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomPlaceholder : SitecoreHelper&#xA;{&#xA;    public CustomPlaceholder(System.Web.Mvc.HtmlHelper htmlHelper)&#xA;        : base(htmlHelper)&#xA;    {}&#xA;&#xA;    public override HtmlString Placeholder(string placeholderName)&#xA;    {&#xA;        Sitecore.Diagnostics.Assert.ArgumentNotNull(placeholderName, &quot;placeholderName&quot;);&#xA;        using (Sitecore.Mvc.Common.ContextService.Get().Push(this.HtmlHelper.ViewContext))&#xA;        {&#xA;            var stringWriter = new System.IO.StringWriter();&#xA;            var args = new Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.RenderPlaceholderArgs(placeholderName, stringWriter, this.CurrentRendering);&#xA;&#xA;            //if (user belongs to LimitedContent role) {&#xA;            //    args.CustomData[&quot;editable&quot;] = false;&#xA;            //} else {&#xA;            //    args.CustomData[&quot;editable&quot;] = true;&#xA;            //}&#xA;&#xA;            return new HtmlString(stringWriter.ToString());&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="554" LastEditorUserId="2056" LastEditDate="2018-03-31T09:39:23.090" LastActivityDate="2018-03-31T09:39:23.090" Title="Restricting access to Placeholder CustomData" Tags="|placeholders|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3158" PostTypeId="1" AcceptedAnswerId="3182" CreationDate="2016-12-06T21:43:05.287" Score="5" ViewCount="771" Body="&lt;p&gt;I am implementing a Single sign on solution for a client. It is required if a user is logged in for one of the two sitecore sites, he/she will be logged in for the other.&lt;br/&gt;&#xA;The first instance is 6.5.0 (rev. 121009) the second is 8.1 (rev. 160519). They share the same domain so they can share the cookies. I made the configuration of membership, roles,profile point to the same db.  &lt;br/&gt;&#xA;The issue I am having right now is Sitecore 8.1 depends on another cookie called sitecore_userticket that is generated differently in 6.5. I was able to share the sitecore_userticket cookie across subdomains using this solution &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1241&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/1241&lt;/a&gt;  but the problem that the cookie content is different across the versions  remains&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So currently if a user is authenticated first in Sitecore 8.1, he is authenticated in 6.5, while if he is authenticated first in sitecore 6.5, he is not authenticated in 8.1.&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any code I can use in Sitecore 6.5 to generate the expected cookie for Sitecore 8.1?&lt;/p&gt;&#xA;" OwnerUserId="454" LastActivityDate="2016-12-09T03:17:45.987" Title="sitecore_userticket cookie generated differently across Sitecore versions" Tags="|cookies|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3159" PostTypeId="2" ParentId="183" CreationDate="2016-12-06T22:41:15.707" Score="-1" Body="&lt;p&gt;For performance reasons, interaction details (like page events) are only loaded when needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Play around with the following in order to load historical data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactRepository = Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepository;&#xA;var interactions = contactRepository.LoadHistoricalInteractions(arg.Session.Contact.ContactId, 10);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="256" LastActivityDate="2016-12-06T22:41:15.707" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3160" PostTypeId="2" ParentId="3150" CreationDate="2016-12-06T23:44:56.683" Score="9" Body="&lt;p&gt;There are two ways to get &lt;em&gt;Sitecore on Azure&lt;/em&gt; deployed in Azure PaaS. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Using custom built ARM Templates (See blogs suggested by Dmytro in Question comments)&lt;/li&gt;&#xA;&lt;li&gt;Installing from Azure Marketplace (the focus of this answer)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Installing Sitecore 8.2 Update-1 Azure PaaS from Marketplace&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The easiest and fastest method for getting Sitecore 8.2 Update-1 up and running in Azure PaaS is to install it from the Azure Marketplace.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Doing a search on the Azure Marketplace for &lt;strong&gt;sitecore&lt;/strong&gt; will reveal the Sitecore option.&lt;/li&gt;&#xA;&lt;li&gt;Press &lt;strong&gt;&lt;em&gt;Next&lt;/em&gt;&lt;/strong&gt; and then fill out the handful of variables (usernames, instance names, passwords, etc.)&lt;/li&gt;&#xA;&lt;li&gt;Provide a Sitecore license. (Required. Can be client or partner license)&lt;/li&gt;&#xA;&lt;li&gt;Setup takes about 25 minutes to complete Azure deployment.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Once Deployment is Complete&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Once the Azure Deployment is complete, a series of items in the Resource Group will be created for you:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;1 Content Delivery WebApp (Including the App Service)&lt;/li&gt;&#xA;&lt;li&gt;1 Content Management WebApp (Including the App Service)&lt;/li&gt;&#xA;&lt;li&gt;1 Instance of Azure Search WebApp&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Out of the &quot;box&quot;, Sitecore on Azure PaaS comes preconfigured with Azure Search as the default search index mechanism. SOLR can be used instead through configuration change if you'd like to use SOLR instead. Lucene is NOT available as an indexing option when using Azure WebApps.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;1 Instance of Redis Cache WebApp&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This is used for Session Management&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;2 Instances of Azure SQL Server (PaaS)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;One for CM Role, and One for CD Role&lt;/li&gt;&#xA;&lt;li&gt;CM Role SQL Server contains Master and Core&lt;/li&gt;&#xA;&lt;li&gt;CD Role SQL Server contains Web&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Application Insights for the Solution&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Things to Know&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;xDB is disabled by default in the &lt;em&gt;Sitecore on Azure&lt;/em&gt; PaaS WebApp deployment for Sitecore 8.2. Update-1. &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If you want to use xDB, you must bring your own MongoDB, either through using a Virtual Machine added to the resource group, ObjectRocket, or some other hosted MongoDB solution.&lt;/li&gt;&#xA;&lt;li&gt;xDB Cloud Support is not currently supported (as of the time of this answer). Slated for Q1/Q2 2017 release.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Product Module Support coming soon.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Currently SxA, ExM, PxM, and xDB Cloud are not supported on Azure WebApp Azure Marketplace deployment. Most modules will be updated sometime in the 2017 timeframe.&lt;/li&gt;&#xA;&lt;li&gt;If you need to use any one of these modules, you will need to use Azure IaaS VM or Cloud Services deployment until PaaS support is released.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;The old &lt;strong&gt;&lt;em&gt;Azure Module&lt;/em&gt;&lt;/strong&gt;, affectionately known as &lt;em&gt;Sitecore Azure&lt;/em&gt; has been discontinued as of Sitecore 8.2 and will not be supported. Using custom ARM Templates to deploy a custom solution or the Azure Marketplace to deploy is the way going forward to have &lt;em&gt;Sitecore on Azure&lt;/em&gt; PaaS.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Available Sitecore Configurations&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Currently, only &lt;strong&gt;xM1&lt;/strong&gt; is available through Azure Marketplace as of the release of Sitecore 8.2 Update-1. Sitecore has stated that support for xM1-5 and xP1-5 through the Marketplace will be coming in Q1/Q2 of 2017.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-12-07T08:04:49.730" LastActivityDate="2016-12-07T08:04:49.730" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3161" PostTypeId="2" ParentId="3151" CreationDate="2016-12-07T00:19:53.437" Score="3" Body="&lt;p&gt;The clue here suggests that the login site is resolving correctly. The error message is forwarding to the pagenotfound using the site context of &lt;strong&gt;login&lt;/strong&gt;. This tells me that the SiteResolver is picking up the correct site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something else is going on preventing access to the login page.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Things to Check:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure something funky isn't going on in IIS preventing access to the file structure of /sitecore/login for that domain.&lt;/li&gt;&#xA;&lt;li&gt;Try clearing cookies, cache, or using Incognito to make sure there isn't some strange cookie getting in the way.&lt;/li&gt;&#xA;&lt;li&gt;Ensure that your site definitions are properly ordered:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Order Includes:&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;shell&lt;/li&gt;&#xA;&lt;li&gt;login&lt;/li&gt;&#xA;&lt;li&gt;admin&lt;/li&gt;&#xA;&lt;li&gt;service&lt;/li&gt;&#xA;&lt;li&gt;modules_shell&lt;/li&gt;&#xA;&lt;li&gt;modules_website&lt;/li&gt;&#xA;&lt;li&gt;SITE DEFINITIONS HERE&lt;/li&gt;&#xA;&lt;li&gt;scheduler&lt;/li&gt;&#xA;&lt;li&gt;system&lt;/li&gt;&#xA;&lt;li&gt;publisher&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-12-07T00:19:53.437" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3162" PostTypeId="1" AcceptedAnswerId="3173" CreationDate="2016-12-07T03:09:13.640" Score="2" ViewCount="318" Body="&lt;p&gt;Is there a way to get Coveo equivalent field name helper such as &lt;code&gt;ToCoveoFieldName&lt;/code&gt; in &lt;code&gt;CoveoProcessParsedRestResponseArgs&lt;/code&gt; pipeline code? Basically I am trying to see if a property of &lt;code&gt;SearchResult&lt;/code&gt; item is of certain value and based on it create a new property.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var db = NewStuff();&#xA;&#xA;foreach (SearchResult result in response.Results)&#xA;{&#xA;    result[&quot;isNew&quot;] = &quot;201612&quot; == result.Raw[&quot;fyearandmonth11031&quot;].ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The field &lt;code&gt;fyearandmonth11031&lt;/code&gt; needs to be translated from Sitecore field (&lt;code&gt;YearAndMonth&lt;/code&gt;) to a Coveo field name.&lt;/p&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="104" LastEditDate="2016-12-07T08:57:24.477" LastActivityDate="2020-02-07T18:50:49.790" Title="Using ToCoveoFieldName in backend" Tags="|coveo|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3164" PostTypeId="2" ParentId="151" CreationDate="2016-12-07T10:47:53.443" Score="8" Body="&lt;p&gt;Looks like &lt;code&gt;SitecoreContext.GetFromHttpContext()&lt;/code&gt; is obsolete. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The recommend way  is &lt;code&gt;SitecoreContextFactory.Default.GetSitecoreContext()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My preferred way is &lt;code&gt;new SitecoreContext()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So casting can be done like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var model = SitecoreContextFactory.Default.GetSitecoreContext().Cast&amp;lt;T&amp;gt;(item);&#xA;var model = new SitecoreContext().Cast&amp;lt;T&amp;gt;(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2016-12-07T10:47:53.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3166" PostTypeId="1" AcceptedAnswerId="3169" CreationDate="2016-12-07T11:11:06.227" Score="4" ViewCount="1089" Body="&lt;p&gt;I've upgraded my solution from sitecore 8.1 Update 1 to Sitecore 8.2 initial release. After finishing the upgrade, and configuration changes, I opened the launchpad to rebuild Quick Search Index, I couldn't find this option in the launchpad under the database section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what might be the issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This step is mentioned in Post-Upgrade steps in section &lt;code&gt;1.3.4&lt;/code&gt; of &lt;a href=&quot;https://dev.sitecore.net/~/media/80F3ABB82AB44D6AA5722F6B654CF2A8.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Upgrade Guide&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/74VPL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/74VPL.png&quot; alt=&quot;Quick Search Index&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="838" LastEditorUserId="172" LastEditDate="2016-12-07T12:33:54.837" LastActivityDate="2016-12-08T08:04:30.387" Title="How do I rebuild the Quick Search Index in Sitecore 8.2?" Tags="|sitecore-client|indexing|upgrade|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3167" PostTypeId="2" ParentId="3166" CreationDate="2016-12-07T11:22:08.500" Score="3" Body="&lt;p&gt;&lt;strong&gt;Search indexes&lt;/strong&gt; are the old kind of indexes that became obsoleted recently. Sitecore functionality is now using &lt;strong&gt;Content Search indexes&lt;/strong&gt; instead. Hence, you don't see the &quot;Rebuild search indexes&quot; option in the Control Panel anymore. Indexing -&gt; Indexing Manager is the application that should be used to rebuild all indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Quick search index was the old &lt;strong&gt;Search index&lt;/strong&gt; used by the search box at the bottom of Sitecore Desktop (a.k.a. &quot;Quick Search&quot;). In Sitecore 8.2, this feature uses the following &lt;strong&gt;Content Search indexes&lt;/strong&gt; instead:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_core_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_master_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_web_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can rebuild these indexes using the Indexing Manager found in the Control Panel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a conclusion, the Sitecore 8.2 Upgrade Guide is incorrect, as it includes an old step that you don't need to perform anymore.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-08T08:04:30.387" LastActivityDate="2016-12-08T08:04:30.387" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3169" PostTypeId="2" ParentId="3166" CreationDate="2016-12-07T12:06:06.447" Score="8" Body="&lt;p&gt;The system index from &lt;code&gt;&amp;lt;search&amp;gt;&lt;/code&gt; node was marked &lt;code&gt;Obsolete&lt;/code&gt; in config (SC8.1.3) and completely removed in Sitecore 8.2 Initial Release.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;search&amp;gt;&#xA;  &amp;lt;!-- Obsolete: the API that uses this section is obsolete. Please, use Sitecore.ContentSearch to configure your indexes. --&amp;gt;&#xA;  &amp;lt;configuration type=&quot;Sitecore.Search.SearchConfiguration, Sitecore.Kernel&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;system&quot; type=&quot;Sitecore.Search.Index, Sitecore.Kernel&quot;&amp;gt;&#xA;      ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This index relates to the &quot;Quick Search Index&quot; and it has therefore also been removed from &lt;code&gt;Control Panel &amp;gt; Database &amp;gt; Rebuild search indexes&lt;/code&gt; and from  &lt;strong&gt;Sitecore.config&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/698/what-is-the-difference-between-an-index-and-a-search-index&quot;&gt;previous question&lt;/a&gt; if you want to find details on the difference between the indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following the clarification in the question from @HarshBaid, the documentation for the upgrade guide is incorrect and as @Gatogordo's comment points out it is registered as a bug. You should still rebuild the indexes for the &lt;strong&gt;Master&lt;/strong&gt; and &lt;strong&gt;Core&lt;/strong&gt; databases from &lt;code&gt;Control Panel &amp;gt; Indexing &amp;gt; Indexing Manager&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-07T12:36:45.273" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3170" PostTypeId="1" AcceptedAnswerId="3171" CreationDate="2016-12-07T12:52:09.503" Score="4" ViewCount="574" Body="&lt;p&gt;I need to know if the goal was ever registered on the contact in its any visit on any interaction. How can I do that?&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2016-12-07T13:04:42.847" Title="How to check if a Goal with specific ID has been ever registered for the contact?" Tags="|xdb|goals|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3171" PostTypeId="2" ParentId="3170" CreationDate="2016-12-07T13:04:42.847" Score="4" Body="&lt;h2&gt;Slow approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You could load all previous visits using this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IEnumerable&amp;lt;IInteractionData&amp;gt; visits = Tracker.Current.Contact.LoadHistorycalData(visitsToLoad);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you could check every page of every visit and see if the goal was triggered. This would not perform well though.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Fast approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You should use the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/historical_personalization/key_behavior_cache&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Key Behavior Cache&lt;/strong&gt;&lt;/a&gt; which contains (a configurable amount of) goals, events, campaigns etc. that have been triggered by contacts, even in previous visits.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid goalId = // your goal ID&#xA;KeyBehaviorCache cache = Sitecore.Analytics.Tracker.Current.Contact.GetKeyBehaviorCache();&#xA;bool goalTriggered = cache.Goals.Any(_ =&amp;gt; _.Id == goalId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that the Key Behavior Cache contains a limited number of entries. So you should make sure it's tuned for your needs. See this documentation page for more information:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/historical_personalization/the_key_behavior_cache_settings_pipelines_and_methods&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;The Key Behavior Cache settings, pipelines, and methods&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-07T13:04:42.847" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3172" PostTypeId="1" AcceptedAnswerId="3174" CreationDate="2016-12-07T13:24:12.657" Score="2" ViewCount="876" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wlKgk.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wlKgk.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it adding/deleting a language from control panel is same as adding/deleting in content editor &lt;code&gt;/sitecore/system/Languages&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2016-12-07T13:50:43.877" LastActivityDate="2016-12-07T14:23:48.530" Title="Adding/deleting languages from control panel" Tags="|configuration|sitecore-client|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3173" PostTypeId="2" ParentId="3162" CreationDate="2016-12-07T13:24:29.257" Score="4" Body="&lt;p&gt;What you are looking for is most likely &lt;code&gt;IFieldNameTranslator&lt;/code&gt;. You need a &lt;code&gt;SitecoreHelper&lt;/code&gt; to get an instance for a specific index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the pipeline can be run without a context, you have to validate whether the CurrentContextItem is null before trying to convert it in an indexable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following code should work for your use case:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;ISitecoreHelper sitecoreHelper = new SitecoreHelper();&#xA;IFieldHelper translator = new FieldHelper();&#xA;if (p_Args.CurrentContextItem != null) {&#xA;    bool usePrefix = false;&#xA;    IIndexable indexable = p_Args.CurrentContextItem.ToIndexable();&#xA;    ISearchIndex index = m_SitecoreHelper.GetSearchIndex(indexable);&#xA;    IFieldNameTranslator translator = m_SitecoreHelper.GetFieldNameTranslator(index);&#xA;    string translatedField = translator.ToCoveoFieldName(indexable, &quot;field&quot;, usePrefix);&#xA;    // Use that translated field here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="290" LastEditorUserId="290" LastEditDate="2016-12-07T14:08:25.813" LastActivityDate="2016-12-07T14:08:25.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3174" PostTypeId="2" ParentId="3172" CreationDate="2016-12-07T14:23:48.530" Score="5" Body="&lt;h3&gt;TL/DR;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There is no difference&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Long version:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is the code that gets executed when you use the &lt;code&gt;Delete Language&lt;/code&gt; option from the control panel:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  protected void Delete()&#xA;  {&#xA;    Job job = Context.Job;&#xA;    Assert.IsNotNull((object) job, &quot;Job is null&quot;);&#xA;    Database database = Factory.GetDatabase(this._databaseName);&#xA;    Assert.IsNotNull((object) database, &quot;Database&quot;);&#xA;    try&#xA;    {&#xA;      foreach (Language language in this._languages)&#xA;      {&#xA;        ID languageItemId = LanguageManager.GetLanguageItemId(language, database);&#xA;        Item obj = database.GetItem(languageItemId);&#xA;        Assert.IsNotNull((object) obj, &quot;Item is null: /sitecore/system/languages/{0}&quot;, (object) language.Name);&#xA;        if (Settings.RecycleBinActive)&#xA;        {&#xA;          Log.Audit((object) this, &quot;Recycle Language: {0}&quot;, new string[1]{ language.Name });&#xA;          obj.Recycle();&#xA;        }&#xA;        else&#xA;        {&#xA;          Log.Audit((object) this, &quot;Delete Language: {0}&quot;, new string[1]{ language.Name });&#xA;          obj.Delete();&#xA;        }&#xA;      }&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;      job.Status.Failed = true;&#xA;      job.Status.Messages.Add(ex.ToString());&#xA;    }&#xA;    job.Status.State = JobState.Finished;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, ultimately it does the same thing as removing the language item would. There is some extra logging around it, and it has a nice form for you to select the language to delete first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code is not run within any disablers so all the same &lt;code&gt;item:deleted&lt;/code&gt; events and &lt;code&gt;item:deleting&lt;/code&gt; events would run in the same way.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-12-07T14:23:48.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3175" PostTypeId="1" CreationDate="2016-12-07T14:24:43.053" Score="2" ViewCount="882" Body="&lt;p&gt;I am trying to rebuild the search indexes through index manager, as an admin user. I am working on a Sitecore 8.0 instance from another developer, and I am not super familiar with Sitecore, myself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried following the instructions below to rebuild the indexes: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Log in to the Sitecore Desktop. &lt;/li&gt;&#xA;&lt;li&gt;Open the Control Panel. &lt;/li&gt;&#xA;&lt;li&gt;Click Indexing and then click Indexing Manager. &lt;/li&gt;&#xA;&lt;li&gt;In the wizard select the indexes you want to rebuild &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The problem is that I am not able to see the &quot;Indexing&quot; section in control panel. Can anyone help me out?&lt;/p&gt;&#xA;" OwnerUserId="722" LastEditorUserId="135" LastEditDate="2016-12-07T17:42:09.413" LastActivityDate="2017-03-06T11:52:21.500" Title="Indexing section is disappeared from control panel" Tags="|configuration|coveo|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="3176" PostTypeId="1" AcceptedAnswerId="3204" CreationDate="2016-12-07T14:36:41.527" Score="2" ViewCount="1700" Body="&lt;p&gt;I have a custom field with two menu items, of which one of them opens a (sheer) dialog. But I need the value from other fields of the item in my dialog. However, I cannot find any reference to the original item. There is only some reference FIELD123456, which I cannot connect to an item or field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone a clue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the code of custom Field Type&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using SC = Sitecore;&#xA;using SC_Diagnostics = Sitecore.Diagnostics;&#xA;using SC_Web = Sitecore.Web;&#xA;using SC_Shell_Applications_ContentEditor = Sitecore.Shell.Applications.ContentEditor;&#xA;&#xA;namespace My.Feature.ImageCropper.FieldTypes&#xA;{&#xA;    using System.Diagnostics.CodeAnalysis;&#xA;    using System.Web.UI;&#xA;    using System.Web.UI.WebControls;&#xA;&#xA;    [ExcludeFromCodeCoverage]&#xA;    public class ImageCropperField : SC_Shell_Shell_Applications_ContentEditor.Text,&#xA;        SC_Shell_Applications_ContentEditor.IContentField&#xA;    {&#xA;        protected override void Render(HtmlTextWriter output)&#xA;        {&#xA;            //cannot find any reference to item in base  :-((&#xA;&#xA;            SC_Diagnostics.Assert.ArgumentNotNull(output, nameof(output));&#xA;            base.Render(output);&#xA;        }&#xA;&#xA;        public string GetValue() {return Value; }&#xA;        public void SetValue(string value) { Value = value; } &#xA;&#xA;        public override void HandleMessage(SC_Web.UI.Sheer.Message message)&#xA;        {&#xA;            //cannot find any reference to item in this or message :-((&#xA;&#xA;            if (message[&quot;id&quot;] != ID || string.IsNullOrWhiteSpace(message.Name))&#xA;                return;&#xA;&#xA;            switch (message.Name)&#xA;            {&#xA;                case &quot;imagecropper:cropImage&quot;:                    &#xA;                    SC.Context.ClientPage.Start(this, &quot;CropImage&quot;);&#xA;                    return;&#xA;                case &quot;imagecropper:resetImage&quot;:&#xA;                    SC.Context.ClientPage.Start(this, &quot;ResetImage&quot;);&#xA;                    return;&#xA;            }&#xA;&#xA;            if (Value.Length &amp;gt; 0) &#xA;                SetModified();&#xA;&#xA;            Value = string.Empty;&#xA;        }&#xA;&#xA;        protected void CropImage(SC_Web.UI.Sheer.ClientPipelineArgs args)&#xA;        {&#xA;            //cannot find any reference to item in this or args  :-((&#xA;&#xA;            if (args.IsPostBack)&#xA;            {&#xA;                if (args.HasResult &amp;amp;&amp;amp; Value.Equals(args.Result) == false)&#xA;                {&#xA;                    SetModified();&#xA;                    SetValue(args.Result);&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                //show popup&#xA;                var url = SC.UIUtil.GetUri(&quot;control:ImageCropperDialog&quot;);&#xA;&#xA;                var value = GetValue();&#xA;                if (!string.IsNullOrEmpty(value))&#xA;                {&#xA;                    url = $&quot;{url}&amp;amp;{value}&quot;;&#xA;                }&#xA;&#xA;                SC_Web.UI.Sheer.SheerResponse.ShowModalDialog(url, &quot;800&quot;, &quot;600&quot;, &quot;&quot;, true, &quot;800&quot;, &quot;600&quot;, false);&#xA;                args.WaitForPostBack();&#xA;            }&#xA;        }&#xA;&#xA;        protected void ResetImage(SC_Web.UI.Sheer.ClientPipelineArgs args)&#xA;        {&#xA;            SetValue(string.Empty);&#xA;            SetModified();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, the field inherits from Text and IContentField. All properties and methods are returning values to the control itself, the Home item (based on query string) or the Content Manager item in the core database (which is the context. I tried them all including:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.GetContentItemFromQueryString() &#xA;this.GetContextItem();&#xA;this.GetItem();&#xA;this.GetItemFromQueryString();&#xA;this.TemplateControl.ID;&#xA;this.UniqueID;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The this.ItemId property is not present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So.... is there another way to get the ID of the item where this field is used in?&lt;/p&gt;&#xA;" OwnerUserId="836" LastEditorUserId="836" LastEditDate="2016-12-08T12:20:26.563" LastActivityDate="2016-12-09T15:21:33.077" Title="Custom field with (sheer) dialog. How to get data from other fields in the item" Tags="|sheer-ui|custom-field|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3178" PostTypeId="2" ParentId="3151" CreationDate="2016-12-07T15:49:31.507" Score="0" Body="&lt;p&gt;If you find that something like this is happening and the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; configuration seems valid, consider, as I eventually did, that all sites are pointing to the same server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I pinged the working sites, I saw that they all had the same IP but the site throwing the 404 was pointing to a different IP, and therefore a different server altogether; one that did not have the Sitecore login folder as TRNKTMS alluded to. &lt;/p&gt;&#xA;" OwnerUserId="583" LastActivityDate="2016-12-07T15:49:31.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3179" PostTypeId="1" AcceptedAnswerId="3193" CreationDate="2016-12-07T18:00:12.463" Score="4" ViewCount="538" Body="&lt;p&gt;Text area should not restrict to input unlimited character. But even i set empty in maximum length property of multiple text field, it took data-val-length-max=&quot;10000&quot;? Can any one help asap to fix this?&lt;/p&gt;&#xA;" OwnerUserId="1093" LastEditorUserId="73" LastEditDate="2016-12-08T10:49:07.167" LastActivityDate="2016-12-08T12:14:06.443" Title="WFFM unlimited text area input field?" Tags="|wffm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3180" PostTypeId="1" AcceptedAnswerId="3183" CreationDate="2016-12-07T18:47:24.153" Score="4" ViewCount="10380" Body="&lt;p&gt;I'm using the following query as a Source for my Droplink field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;query:fast:/sitecore/content/Home/AboutPages//*[@@templateid!='{41BF6376-A2D4-4CF1-80C5-223067C84811}']&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My intention is for this query to grab all of the pages directly under AboutPages but exclude everything in Content folders on all levels (These content folders have a template ID of {41BF6376-A2D4-4CF1-80C5-223067C84811}). Is there a way to restrict this query to all page items aside from items located within Content folders? As of now, I'm not grabbing the Content folders themselves but I am grabbing all of the child items under these folders which I do not want to include. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an additional note, I cannot simply grab all pages under AboutPages by template ID because the pages themselves may have different templates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 2:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a quick example I could have the following page structure:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;About Pages&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Page 1 (Template ID = &quot;{53BC28A6-0A7D-4CDD-A53E-7AB78A20B5AF}&quot;)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content Folder&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Accordion&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Page 2 (Template ID = &quot;{81C65AE0-5BBB-4A99-BC7F-BCA463AFEE06}&quot;)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Page 3 (Template ID = &quot;{881959CF-3617-4D36-9389-0DB2CA382F9A}&quot;)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content Folder&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Carousel&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Content Folder&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I need the query to return Page 1, Page 2, and Page 3 while excluding items in the content folder (Accordion, Carousel). My best guess for how to do this now is to find the template IDs of all possible pages and include those in the query but I was hoping for a more elegant solution. &lt;/p&gt;&#xA;" OwnerUserId="1080" LastEditorUserId="5387" LastEditDate="2019-08-12T05:12:15.380" LastActivityDate="2020-03-24T10:26:25.310" Title="Using Sitecore fast:query to grab all items under a specified page excluding items in a specific folder" Tags="|datasource|sitecore-query|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="3181" PostTypeId="2" ParentId="3180" CreationDate="2016-12-07T19:10:44.937" Score="3" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;I need the query to return Page 1, Page 2, and Page 3 while excluding items in the content folder (Accordion, Carousel). My best guess for how to do this now is to find the template IDs of all possible pages and include those in the query but I was hoping for a more elegant solution.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You are correct, using the Sitecore Query notation, you cannot exclude items based on their parent; you would have to do what you mentioned which is add all of the Template IDs that you &lt;em&gt;do&lt;/em&gt; want to include.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you could implement a custom source for your droplink field.  Here's a blog post that does just that - &lt;a href=&quot;https://ctor.io/dynamic-field-sources-with-getlookupsourceitems-pipeline/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ctor.io/dynamic-field-sources-with-getlookupsourceitems-pipeline/&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;getLookupSourceItems&lt;/strong&gt; pipeline used in that blog post lets you build a custom query for your field so in your &lt;strong&gt;GetDataSource&lt;/strong&gt; method, you could, for example, find all templates that inherit a &quot;base page&quot; template and then build your query using those ID's.  That way, you don't have to manage this manually in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="38" LastEditorUserId="38" LastEditDate="2016-12-07T20:41:05.610" LastActivityDate="2016-12-07T20:41:05.610" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3182" PostTypeId="2" ParentId="3158" CreationDate="2016-12-07T19:23:12.627" Score="1" Body="&lt;p&gt;Thanks to Hishaam Namooya who gave me the idea to the solution in his comment. Instead of creating the new ticket in the new version. I will make every version responsible for its own ticket cookie creation. The .aspxauth cookie is already shared between the 2 sitecore instances of different version. So I can check the user from there and call the code to create the ticket for the user. &lt;br&gt;&#xA;As a modification to the cross domain solution for sitecore ticket cookie in the Global.asax &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1241&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void Application_EndRequest(object sender, EventArgs e)&#xA;{&#xA;    var authCookie = HttpContext.Current.Response.Cookies[&quot;sitecore_userticket&quot;];&#xA;&#xA;&#xA;    if (!Request.IsAuthenticated || authCookie == null)&#xA;    {&#xA;        // when checking response cookies, cookie is created if not exists, so delete now&#xA;        HttpContext.Current.Response.Cookies.Remove(&quot;sitecore_userticket&quot;);&#xA;        return;&#xA;    }&#xA;&#xA;    //we don't need to make it cross domain as it will be different for every instance &#xA;    //due to version differences.&#xA;    //create the ticket cookie. Every Sitecore instance will generate it the way it expects.&#xA;    authCookie.Value = TicketManager.CreateTicket(HttpContext.Current.User.Identity.Name, string.Empty);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code must be in both sitecore instances Global.asax files&lt;/p&gt;&#xA;" OwnerUserId="454" LastEditorUserId="454" LastEditDate="2016-12-09T03:17:45.987" LastActivityDate="2016-12-09T03:17:45.987" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3183" PostTypeId="2" ParentId="3180" CreationDate="2016-12-07T20:51:20.093" Score="2" Body="&lt;p&gt;Would it be an option to change the field type to a TreeList, allowing you to use the parameterized datasource syntax? This way you can set the datasource to &quot;About Pages&quot; and use the &lt;code&gt;ExcludeItemsForDisplay&lt;/code&gt; to filter out the &quot;Content Folder&quot; items (and their children). Note that you must use the template name in this syntax, not the id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in the end something like this: &lt;code&gt;Datasource=/sitecore/content/.../About Pages&amp;amp;ExcludeTemplatesForDisplay=ContentFolderTemplate&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This would achieve what you want from the source point of view, but it will allow your editors to select more than one item. If that is an issue you could add validation on the field - a regex like &lt;code&gt;^({[^}]+}|?){0,1}$&lt;/code&gt; should limit it to 0 or 1 selected item (guid).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Might not be the perfect solution as it changes the behavior for your editors but it is an option without custom code.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-12-07T20:51:20.093" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3184" PostTypeId="1" AcceptedAnswerId="3232" CreationDate="2016-12-07T20:55:56.823" Score="2" ViewCount="1109" Body="&lt;p&gt;ClientApi does not send email to a few email ids and sends to a few randomly on email signup. Could the opt-out list play any role here? We are on &lt;code&gt;Sitecore8.1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also the &lt;code&gt;Sitecore.EmailExperience.ContentManagement.Config&lt;/code&gt; has &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;StandardMessages.DefaultGlobalOptOutList&quot;          value=&quot;/sitecore/system/List Manager/All Lists/E-mail Campaign     Manager/System/Common Global Opt-out&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't see any records on this list.  How am I supposed to know if people that unsubscribe made an entry in an opt-out list? And if yes if they subscribe again they will never receive an email since they are in the opt-out list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where do I check records in an opt-out list?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I see &lt;strong&gt;Error in Exm Log:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;19012 10:19:51 INFO  Registered email: eservices@email.gocollette.com&#xA;15688 10:19:51 DEBUG Message 'US DTC 64UJR Newsletter Signup Email': Recipient is skipped. **No email address was associated with recipient 'xdb:ca19b013-255b-4ec7-a0ae-4586fe3496ec'.**&#xA;ManagedPoolThread #7 10:19:51 INFO  Dispatch Message (US DTC 64UJR Newsletter Signup Email): Started&#xA;  Message Id:      {218AE469-3025-4AE3-AB07-C9E52BD68403}&#xA;  Message Path:    /sitecore/content/Home/Email Campaign/Messages/Triggered Emails/Triggered Emails 2016/US DTC 64UJR Newsletter Signup Email&#xA;  Included Recipient Lists: &#xA;  Excluded Recipient Lists: &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is the value shown a contact Id? Also when I checked the MongoDB Collection contacts, the id seems to be encrypted but I queried using email id and that had an entry. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;_id: &quot;E7AZylslx06grkWG/jSW7A==&quot;&#xA; System: {&quot;VisitCount&quot;:0,&quot;Value&quot;:0}&#xA; Identifiers:&#xA; Identifier: &quot;testing@gmail.com&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Not sure why this error is occurring.&lt;/p&gt;&#xA;" OwnerUserId="1234" LastEditorUserId="5387" LastEditorDisplayName="user62" LastEditDate="2019-08-12T05:11:28.677" LastActivityDate="2019-08-12T05:11:28.677" Title="Triggered email not sent to few people" Tags="|exm|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="3185" PostTypeId="2" ParentId="3184" CreationDate="2016-12-07T21:39:52.800" Score="0" Body="&lt;h3&gt;Use List Manager&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;From Sitecore Launchpad, click &lt;strong&gt;List Manager&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Click on &quot;Contact Lists&quot; from left menu.&lt;/li&gt;&#xA;&lt;li&gt;Search for your Contact List, the Opt Out list.&lt;/li&gt;&#xA;&lt;li&gt;Click on the list.&lt;/li&gt;&#xA;&lt;li&gt;Do a search for the email address in the list.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;There appears to be an bug in List Manager where it doesn't accurately match strings, so I generally use partial strings.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="246" LastActivityDate="2016-12-07T21:39:52.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3186" PostTypeId="1" AcceptedAnswerId="3192" CreationDate="2016-12-07T23:04:11.757" Score="5" ViewCount="1039" Body="&lt;p&gt;8.2 update 0. I have changed session to be 1 minute instead of the default 20 minutes. When I log into the site, in incognito, surf around and close the browser. No contact is ever created in the Mongo analytics database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nnuPT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nnuPT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look in the logs, there is nothing before or after the profile is created to identify any issues. I have installed a profile viewer and can verify that a profile is being created and has custom facets. I just can get it to write the contact to Mongo when the session is closed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried several different browers on and off server.  &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="982" LastEditDate="2017-03-13T11:05:38.220" LastActivityDate="2017-03-13T11:07:02.000" Title="No contact created in MongoDB when session is closed" Tags="|xdb|experience-analytics|mongodb|" AnswerCount="4" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3187" PostTypeId="1" CreationDate="2016-12-08T02:25:26.027" Score="3" ViewCount="354" Body="&lt;p&gt;Noticed that after standing up 8.2 updates 1 on Web App, the following folders and files are not there anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Folder:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Media Cache&lt;/li&gt;&#xA;&lt;li&gt;Submit Queue&lt;/li&gt;&#xA;&lt;li&gt;MediaIndexing&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Files:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Log files are missing ( I'm aware that log details appear on app insight, but is it possible to dump the log files on to azure blob storage?)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Curious to understand how Sitecore has tackled the Web App single file share issue.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="5387" LastEditDate="2019-08-12T05:09:49.913" LastActivityDate="2019-08-12T05:09:49.913" Title="Sitecore 8.2 Update 1 folder and files gone missing" Tags="|azure|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="3188" PostTypeId="1" CreationDate="2016-12-08T03:47:24.397" Score="3" ViewCount="750" Body="&lt;p&gt;We need to create workflow Approver Role without write access right.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are trying to setup the roles for workflow. This has four states.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Designer State  - First or draft State&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reviewer State       - Intermediate State&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publish State - Intermediate State&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Approved - Final with auto publish state&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have created three custom roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Designer - This will create and edit item and send it for review.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reviewer-  This will approve and send the item to publisher or reject to designer. This user is only for approving but not for anything purpose (e.g. editing, creating etc.).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publisher-  Can publish the item as well as create/edit item or send it to next state. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now problem is that this does not show the items in workbox for reviewer role user without write access for editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can we do for reviewer role?&lt;/p&gt;&#xA;" OwnerUserId="1259" LastActivityDate="2016-12-08T04:09:22.160" Title="Need to create Workflow Approver Role without write access right" Tags="|workflow|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3189" PostTypeId="2" ParentId="3188" CreationDate="2016-12-08T04:09:22.160" Score="3" Body="&lt;p&gt;It is expected behavior. If you are changing workflow, it actually means editing the item. So for Reviewer role you need to have&lt;/p&gt;&#xA;&#xA;&lt;p&gt;'workflowCommand:execute' access right for appropriate workflow state;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;'item:write' to be able changing the workflow which in fact actually editing the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may try restricting access for Reviewer role to buttons, which allow items editing. you may try restricting Read access rights to the following items with subitems (core database):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Applications/Content Editor/Context Menues&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Home&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Publish&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Versions&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Configure&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Presentation&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Security&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/My&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Developer&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Write&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Proofing&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Locks&#xA;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Schedule&#xA;/sitecore/content/Applications/Content Editor/Menues/Versions&#xA;/sitecore/system/Settings/Workflow/Check in&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally, you may try controlling Ribbon buttons visibility via the  pipeline in the web.config file.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-12-08T04:09:22.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3190" PostTypeId="1" CreationDate="2016-12-08T05:14:44.070" Score="2" ViewCount="457" Body="&lt;p&gt;We are setting up Sitecore Commerce with Sitecore 8.1 using a CM + CD Server on Azure and experiencing the below error in our logs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some reason on the CM server we are receiving the following error every 10 seconds with the same guids each time&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see it somehow relates to a duplicate key error index but in similar examples online ContactId: BinData actually has a guid as well i.e. ContactId: BinData(3, 8610726C96B0D4499D41A8041F4138BC)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;ManagedPoolThread #16 14:34:18 ERROR&lt;/strong&gt; An invalid contact transition document related to contact {7794159B-9876-473D-94D6-9595E8330D0E} was found in the AutomationStates collection. The document was ignored.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;ManagedPoolThread #16 14:34:18 WARN&lt;/strong&gt;  HasEmptyCartCondition could not find cart.  ShopName: Elle, UserId: {7794159B-9876-473D-94D6-9595E8330D0E}, ExternalId: {b3277b55-ada4-407b-a2cd-a9bb0886441b}&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;ManagedPoolThread #16 14:34:18 WARN&lt;/strong&gt;  SetCartStatusAction could not find cart.  ShopName: Elle, UserId: {7794159B-9876-473D-94D6-9595E8330D0E}, ExternalId: {b3277b55-ada4-407b-a2cd-a9bb0886441b}&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;ManagedPoolThread #16 14:34:18 WARN&lt;/strong&gt;  TriggerCartAbandonedOutcome could not find cart.  ShopName: Elle, UserId: {7794159B-9876-473D-94D6-9595E8330D0E}, ExternalId: {b3277b55-ada4-407b-a2cd-a9bb0886441b}&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;ManagedPoolThread #16 14:34:18 WARN&lt;/strong&gt;  Automation context generation 1 could not be saved for contact 7794159b-9876-473d-94d6-9595e8330d0e. This automation context has already been saved.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Exception: MongoDB.Driver.MongoDuplicateKeyException&lt;/strong&gt;&#xA;  Message: WriteConcern detected an error ''. (Response was { &quot;err&quot; : &quot;E11000 duplicate key error index: analytics.AutomationStates.$&lt;em&gt;id&lt;/em&gt;  dup key: { : { ContactId: BinData, Generation: 1 } }&quot;, &quot;code&quot; : 11000, &quot;n&quot; : 0, &quot;connectionId&quot; : 19499, &quot;ok&quot; : 1.0 }).&#xA;  Source: MongoDB.Driver&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at MongoDB.Driver.Operations.WriteOpcodeOperationBase.ReadWriteConcernResult(MongoConnection connection, SendMessageWithWriteConcernResult sendMessageResult)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at MongoDB.Driver.Operations.InsertOpcodeOperation.Execute(MongoConnection connection)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at MongoDB.Driver.MongoCollection.InsertBatch(Type nominalType, IEnumerable documents, MongoInsertOptions options)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at MongoDB.Driver.MongoCollection.Insert(Type nominalType, Object document, MongoInsertOptions options)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.&amp;lt;&gt;c__DisplayClass32.b__31()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.Execute(Action action, ExceptionBehavior exceptionBehavior)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.Insert(Object value)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Analytics.Automation.Data.MongoDbAutomationProvider.SaveAutomationContext(AutomationContext modifiedAutomationContext)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="91" LastActivityDate="2016-12-08T05:14:44.070" Title="Sitecore Commerce CM Server MongoDB.Driver.MongoDuplicateKeyException" Tags="|xdb|mongodb|sitecore-commerce|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3191" PostTypeId="2" ParentId="3187" CreationDate="2016-12-08T08:41:50.850" Score="3" Body="&lt;p&gt;As dnstommy mentions in the comments, you should be able to find your data folder on the showconfig page. The Data folder is now (by default at least) under the webroot/App_Data folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure when the Application Insights wouldn't be enough for the log files, but if you want to query the log files in more detail, on the Application Insights there's an 'Analytics' button as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KuSnl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KuSnl.png&quot; alt=&quot;Analytics button in Application Insights&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That will open a new window where you can write a query such as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;traces&#xA;| where severityLevel == 3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That particular query will get you all entries in your log files that are logged as &lt;code&gt;ERROR&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a blog post which mentions some other cool things we can do with Application Insights and Sitecore's performance stats as well &lt;a href=&quot;https://trayek.wordpress.com/2016/12/07/application-insights-for-sitecore-or-where-have-my-logfiles-gone/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2016-12-08T08:41:50.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3192" PostTypeId="2" ParentId="3186" CreationDate="2016-12-08T08:44:05.970" Score="11" Body="&lt;p&gt;I know you have already found the exact solution for your particular case. Still, I'm going to list the steps I normally take when troubleshooting data saving issues in xDB. Hopefully, this can help others in the future.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Ensure the &lt;code&gt;analytics&lt;/code&gt; connection string is set up properly in the &lt;strong&gt;&lt;em&gt;ConnectionStrings.config&lt;/em&gt;&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Make sure that you have a valid xDB license. You can see the list of available licenses in the Control Panel &gt; Administration &gt; Installed licenses. &quot;Sitecore.xDB.base&quot; should be present there.&lt;/li&gt;&#xA;&lt;li&gt;Make sure that xDB and its tracking subsystem are enabled. The settings &lt;code&gt;Xdb.Enabled&lt;/code&gt; and &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; should be set to &lt;code&gt;true&lt;/code&gt; when you open this page: &lt;code&gt;/sitecore/admin/ShowConfig.aspx&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;The configuration file &lt;code&gt;Sitecore.Analytics.Tracking.Database.config&lt;/code&gt; should be enabled.&lt;/li&gt;&#xA;&lt;li&gt;Enable tracking on your site definition by setting &lt;code&gt;enableTracking&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; for your site in the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; section.&lt;/li&gt;&#xA;&lt;li&gt;Try making several page requests instead of just one before letting the session expire.&lt;/li&gt;&#xA;&lt;li&gt;Ensure that all of your layout pages contain the &lt;code&gt;VisitorIdentification&lt;/code&gt; control in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; section.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In MVC layouts, use &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;in ASP.NET WebForms layouts, use &lt;code&gt;&amp;lt;sc:VisitorIdentification runat=&quot;server&quot; /&amp;gt;&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Try disabling robot detection by setting both &lt;code&gt;Analytics.Robots.IgnoreRobots&lt;/code&gt; and &lt;code&gt;Analytics.AutoDetectBots&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;. The original values for these settings are located in the &lt;strong&gt;&lt;em&gt;Sitecore.Analytics.Tracking.config&lt;/em&gt;&lt;/strong&gt;. If interactions are saved after this, it means your visitors were recognized as robots.&lt;/li&gt;&#xA;&lt;li&gt;If nothing helps, go through the steps listed in the article &lt;a href=&quot;https://kb.sitecore.net/articles/977445&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Troubleshooting xDB data issues&lt;/strong&gt;&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-08T08:54:20.380" LastActivityDate="2016-12-08T08:54:20.380" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3193" PostTypeId="2" ParentId="3179" CreationDate="2016-12-08T10:10:49.277" Score="2" Body="&lt;h2&gt;Explanation&lt;/h2&gt;&#xA;&lt;p&gt;The following view is used for the Text Area: &lt;code&gt;webroot\Views\Form\EditorTemplates\MultipleLineTextField.cshtml&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;As I can see here it uses the &lt;code&gt;Sitecore.Forms.Mvc.ViewModels.Fields.MultipleLineTextField&lt;/code&gt; model which is inherited from &lt;code&gt;Sitecore.Forms.Mvc.ViewModels.Fields.SingleLineTextField&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This &lt;code&gt;SingleLineTextField&lt;/code&gt; class has a property &lt;code&gt;MaxLength&lt;/code&gt; with the &lt;code&gt;DefaultValue(256)&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class SingleLineTextField : ValuedFieldViewModel&amp;lt;string&amp;gt;&#xA;{&#xA;    [DefaultValue(256)]&#xA;    public int MaxLength { get; set; }&#xA;&#xA;    [DefaultValue(0)]&#xA;    public int MinLength { get; set; }&#xA;&#xA;    [DynamicStringLength(&amp;quot;MinLength&amp;quot;, &amp;quot;MaxLength&amp;quot;, ErrorMessage = &amp;quot;The field {0} must be a string with a minimum length of {1} and a maximum length of {2}.&amp;quot;)]&#xA;    [DataType(DataType.Text)]&#xA;    public override string Value { get; set; }&#xA;&#xA;    public override void Initialize()&#xA;    {&#xA;        if (this.MaxLength != 0)&#xA;        return;&#xA;        this.MaxLength = 256;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;That means you have to create your own model which does not have this MaxLength property.&lt;/p&gt;&#xA;&lt;h2&gt;Solution&lt;/h2&gt;&#xA;&lt;p&gt;Let's create your own model without maxlength.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System.ComponentModel;&#xA;using System.ComponentModel.DataAnnotations;&#xA;using Sitecore.Forms.Mvc.Validators;&#xA;using Sitecore.Forms.Mvc.ViewModels;&#xA;&#xA;namespace MyProject.Forms.Mvc.ViewModels.Fields&#xA;{&#xA;    public class MultipleLineTextFieldWithoutMax : ValuedFieldViewModel&amp;lt;string&amp;gt;&#xA;    {&#xA;        public int Rows { get; set; }&#xA;&#xA;        public int Columns { get; set; }&#xA;&#xA;        public override string ResultParameters&#xA;        {&#xA;            get&#xA;            {&#xA;                return &amp;quot;multipleline&amp;quot;;&#xA;            }&#xA;        }&#xA;&#xA;        [DefaultValue(0)]&#xA;        public int MinLength { get; set; }&#xA;&#xA;        [DynamicStringLength(&amp;quot;MinLength&amp;quot;, &amp;quot;MaxLength&amp;quot;, ErrorMessage = &amp;quot;The field {0} must be a string with a minimum length of {1}.&amp;quot;)]&#xA;        [DataType(DataType.MultilineText)]&#xA;        public override string Value { get; set; }&#xA;&#xA;        public MultipleLineTextFieldWithoutMax()&#xA;        {&#xA;            this.Rows = 4;&#xA;            this.Columns = 1;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Copy the &lt;code&gt;webroot\Views\Form\EditorTemplates\MultipleLineTextField.cshtml&lt;/code&gt; view, let's call it &lt;code&gt;MultipleLineTextFieldWithoutMax.cshtml&lt;/code&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Forms.Mvc.Html&#xA;@model MyProject.Forms.Mvc.ViewModels.Fields.MultipleLineTextFieldWithoutMax&#xA;&#xA;@using (Html.BeginField())&#xA;{&#xA;    @Html.TextAreaFor(x =&amp;gt; Model.Value, Model.Rows, Model.Columns, new { @class = &amp;quot;form-control&amp;quot;})&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Copy the &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Multiple-Line Text&lt;/code&gt; and use your new model there&#xA;&lt;a href=&quot;https://i.stack.imgur.com/5GU4j.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5GU4j.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Be careful whenever you do an update because it can be changed!&lt;/h3&gt;&#xA;&lt;p&gt;The WFFM version in this solution is &lt;strong&gt;8.1 rev 151217&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-08T10:31:21.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3194" PostTypeId="2" ParentId="3179" CreationDate="2016-12-08T12:14:06.443" Score="3" Body="&lt;p&gt;As you can see from the answer from @TRNKTMS the &lt;code&gt;MaxLength&lt;/code&gt; property is of type &lt;code&gt;int&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easy solution is to set the Maximum Length to a (much) higher value, anything up to &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.int32.maxvalue%28v=vs.110%29.aspx?f=255&amp;amp;MSPPError=-2147217396&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Int32.MaxValue&lt;/code&gt;&lt;/a&gt;, i.e. 2,147,483,647.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not strictly unlimited, but for a lot of practical purposes it is and should be more than sufficient...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But this is not a good idea though&lt;/strong&gt;, you really don't want to set it that high. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given that 1 ASCII character = 1 byte, therefore 2,147,483,647 characters of text = 2,147,483,647 bytes, or approx &lt;strong&gt;2 GB&lt;/strong&gt; of data. This is data that will have to be transferred from the client browser to the server, and then onto whatever storage systems, emails or whatever save actions you have configured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also bear in mind that &lt;code&gt;&amp;lt;requestLimits maxAllowedContentLength&lt;/code&gt; in config is set to 500MB by default in Sitecore, you would also have to increase this value. I would recommend against this on a CD server for security reasons (and would highly recommend setting it to a much lower value on the CD servers anyway).&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-12-08T12:14:06.443" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3195" PostTypeId="1" CreationDate="2016-12-08T12:19:45.290" Score="0" ViewCount="3066" Body="&lt;p&gt;I have an issue while previewing particular items. I am seeing the following error in the log files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;668 08:30:06 ERROR Bad JSON escape sequence: \A. Path 'ribbonUrl', line 1, position 290.&#xA;Exception: Newtonsoft.Json.JsonReaderException&#xA;Message: Bad JSON escape sequence: \A. Path 'ribbonUrl', line 1, position 290.&#xA;Source: Newtonsoft.Json&#xA;   at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)&#xA;   at Newtonsoft.Json.JsonTextReader.ParseString(Char quote)&#xA;   at Newtonsoft.Json.JsonTextReader.ParseValue()&#xA;   at Newtonsoft.Json.JsonTextReader.ReadInternal()&#xA;   at Newtonsoft.Json.JsonTextReader.Read()&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)&#xA;   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)&#xA;   at Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs requestArgs)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.1 Update 1.&lt;/p&gt;&#xA;" OwnerUserId="1116" LastEditorUserId="104" LastEditDate="2016-12-08T12:32:33.210" LastActivityDate="2016-12-08T14:53:00.170" Title="&quot;Bad JSON escape sequence&quot; errors logged when opening a page in Preview mode" Tags="|sitecore-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3196" PostTypeId="2" ParentId="3176" CreationDate="2016-12-08T12:34:19.163" Score="3" Body="&lt;p&gt;&quot;Magic&quot; ;-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Declare a public property; &lt;code&gt;public string ItemID { get; set;}&lt;/code&gt;. Sitecore will populate this property by Reflection. You can then do normal &lt;code&gt;.GetItem()&lt;/code&gt; operations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Caveat&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If multiple fields are currently being edited on the item in the Content Editor and those changes &lt;em&gt;have not been saved&lt;/em&gt; yet - you won't see them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://stackoverflow.com/questions/8148279/how-to-get-a-reference-to-the-currently-edited-item-when-inside-a-custom-field-i&quot;&gt;https://stackoverflow.com/questions/8148279/how-to-get-a-reference-to-the-currently-edited-item-when-inside-a-custom-field-i&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-08T12:34:19.163" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3197" PostTypeId="2" ParentId="3195" CreationDate="2016-12-08T12:36:44.537" Score="3" Body="&lt;p&gt;This is a known issue in Sitecore 8 (as of Update-6) and Sitecore 8.1 (initial release). Making changes and clicking save will result in an error on the page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bo956.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bo956.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and an error in the log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;54740 09:13:53 ERROR Bad JSON escape sequence: \a. Path 'r.d.r[22].rls.ruleset.rule[0].conditions.condition.@value', line 156, position 44.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This has to do with using rules which contain a &quot;\&quot; character in a condition's value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the workaround from Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the &lt;code&gt;\Website\sitecore\shell\client\Sitecore\ExperienceEditor\Commands\Save.js&lt;/code&gt; file.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Replace the following line in the execute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function (context) function: &#xA;    context.currentContext.scLayout = Sitecore.ExperienceEditor.Web.encodeHtml(window.parent.document.getElementById(&quot;scLayout&quot;).value);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;context.currentContext.scLayout = Sitecore.ExperienceEditor.Web.encodeHtml(window.parent.document.getElementById(&quot;scLayout&quot;).value.replace(/\\/g, '\\\\'));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For 8.1, the fix is slightly different, replacing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;context.currentContext.scLayout = ExperienceEditor.Web.encodeHtml(window.parent.document.getElementById(&quot;scLayout&quot;).value);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;context.currentContext.scLayout = ExperienceEditor.Web.encodeHtml(window.parent.document.getElementById(&quot;scLayout&quot;).value.replace(/\\/g, '\\\\'));&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Save these changes and close the file.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Clear your browser cache.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To track the future status of this Sitecore bug, please use the reference number 55394. More information about Sitecore public reference numbers can be found here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The source : &lt;a href=&quot;https://help.activecommerce.com/hc/en-us/articles/206474105--An-error-occurred-Bad-JSON-escape-sequence-in-Sitecore-8-x-Experience-Editor-Error&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://help.activecommerce.com/hc/en-us/articles/206474105--An-error-occurred-Bad-JSON-escape-sequence-in-Sitecore-8-x-Experience-Editor-Error&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="70" LastEditDate="2016-12-08T14:53:00.170" LastActivityDate="2016-12-08T14:53:00.170" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3198" PostTypeId="1" CreationDate="2016-12-08T13:15:45.427" Score="0" ViewCount="2035" Body="&lt;p&gt;I'm using Sitecore 8.2 with MVC, and want to know the correct way to make a &lt;code&gt;select&lt;/code&gt; element editable in Experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following the instructions &lt;a href=&quot;https://visionsincode.wordpress.com/2015/01/08/how-to-use-editframe-in-sitecore-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;created a custom button &quot;Edit City&quot; in core database, but it isn't showing up in Editor when this rendering is selected. The binding works fine in preview mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the page is opened in Exp.Editor, there are 10 rows (I have 10 cities) under that dropdown, that say {&quot;commands&quot;:[{&quot;click::&quot;chrome:common:edititem.....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Followed these steps to render the element.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;controller:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult RenderCitySelector()    &#xA;{    &#xA;  IEnumerable&amp;lt;Item&amp;gt; cities = ItemExtensions.GetDatasource().Children;&#xA;  return View(&quot;~/Views/cities.cshtml&quot;, cities);    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model IEnumerable&amp;lt;Item&amp;gt;&#xA;&#xA;using (Html.BeginEditFrame(Html.Sitecore().CurrentRendering.DataSource, &#xA;&quot;/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Custom Buttons/Edit City&quot;))    &#xA;{    &#xA;  &amp;lt;select id=&quot;ddlCity&quot;&amp;gt;    &#xA;  @if (Sitecore.Context.PageMode.IsExperienceEditorEditing)    &#xA;  {    &#xA;    foreach (Item city in Model)    &#xA;    {    &#xA;      &amp;lt;option value=&quot;@Html.Sitecore().Field(Templates.Fields.CityCode, city)&quot;&amp;gt;&#xA;      @Html.Sitecore().Field(Templates.Fields.CityName, city)&#xA;      &amp;lt;/option&amp;gt;   &#xA;    }    &#xA;  }    &#xA;  else&#xA;  {    &#xA;   foreach (Item city in Model)&#xA;   {    &#xA;    &amp;lt;option value=&quot;@city.Fields[Templates.Fields.CityCode].Value&quot;&amp;gt;&#xA;    @city.Fields[Templates.Fields.Cityname].Value&#xA;    &amp;lt;/option&amp;gt;&#xA;   }    &#xA;  }    &#xA;&amp;lt;/select&amp;gt;    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2016-12-08T14:04:59.360" Title="How to edit a html select element in Experience editor - MVC" Tags="|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3199" PostTypeId="1" AcceptedAnswerId="3201" CreationDate="2016-12-08T13:53:04.727" Score="1" ViewCount="679" Body="&lt;p&gt;I'm building a Sitecore powershell script where I'm using Read-Variable to read a few fields. I have added the &lt;code&gt;Mandatory=$true&lt;/code&gt; on all of them and it only works for single-line fields but not for droptree ones. Anyone know how I can make it mandatory?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my script:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item master:\content\home &#xA;$result = Read-Variable -Parameters `    @{ Name = &quot;token&quot;; Value=&quot;Token&quot;; Title=&quot;Value to be replaced&quot;; Tooltip=&quot;Value to be replaced&quot;; Placeholder=&quot;Inform what text you want to replace&quot;; Mandatory=$true},&#xA;@{ Name = &quot;replaceWith&quot;; Value=&quot;Replace With&quot;; Title=&quot;New value&quot;; Tooltip=&quot;New Value&quot;; Placeholder=&quot;Inform the new value&quot;; Mandatory=$true}, &#xA;@{ Name = &quot;item&quot;; Title=&quot;Select the root item. It will apply to all it's descendants&quot;; Root=&quot;/sitecore/content/&quot;; Mandatory=$true} `&#xA;-Description &quot;This Dialog shows less editors, it doesn't need tabs as there is less of the edited variables&quot; `&#xA;-Title &quot;Initialise various variable types (without tabs)&quot; -Width 500 -Height 480 -OkButtonName &quot;Proceed&quot; -CancelButtonName &quot;Abort&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastEditorUserId="16" LastEditDate="2016-12-08T14:01:03.417" LastActivityDate="2016-12-09T07:04:03.293" Title="Mandatory fields with SPE" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3200" PostTypeId="2" ParentId="3180" CreationDate="2016-12-08T13:56:02.790" Score="1" Body="&lt;p&gt;I do believe that, in the long term, you should use one of the other answers posted. But as a quick fix, here's what you can do:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make sure that all templates that you want to be included in your Droplink field have the same prefix or suffix, e.g. &lt;code&gt;Page&lt;/code&gt;. So your templates would be called like this:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;ContactsPage&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;About Page&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Testimonials Page&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Build your query to include items based on the suffix in their template name:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;fast:/sitecore/content/Home/AboutPages//*[@@templatename = '%Page']&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This will exclude any item that doesn't represent a page.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-08T13:56:02.790" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3201" PostTypeId="2" ParentId="3199" CreationDate="2016-12-08T14:00:47.177" Score="4" Body="&lt;h2&gt;TL;DR&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You are not using &lt;strong&gt;DropTree&lt;/strong&gt; but &lt;strong&gt;DropLink&lt;/strong&gt;. I don't think you can set null value for &lt;strong&gt;DropLink&lt;/strong&gt; type. It has always some value (clearing it on client side input won't change anything)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Read more because there is a solution for that&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why Mandatory is not working&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Mandatory field should work fine anyway. The reason your value for &lt;code&gt;$item&lt;/code&gt; variable is never null/empty is fact that you are assigning default value at the beginning&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item master:\content\home &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Change it to &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = $null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in your initial implementation and you will see that validation with &lt;code&gt;Mandatory&lt;/code&gt; parameter work, though this field will not be &lt;strong&gt;DropLink&lt;/strong&gt; anymore, it is &lt;code&gt;SingleLineText&lt;/code&gt; now (I am not sure, maybe we should report this to SPE team?). &#xA;&lt;a href=&quot;https://i.stack.imgur.com/YwKHS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YwKHS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How to solve the problem&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Default field used in you case is &lt;strong&gt;DropLink&lt;/strong&gt;. We have to declare that we want to use &lt;strong&gt;DropTree&lt;/strong&gt; explicitly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Steps:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add Additional parameter &lt;code&gt;editor=&quot;DropTree&quot;&lt;/code&gt; to your item variable&lt;/li&gt;&#xA;&lt;li&gt;Switch &lt;code&gt;Root&lt;/code&gt; parameter name to &lt;code&gt;Source&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;From now on you can set empty value for your item selector.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Complete example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example you can see how to use &lt;code&gt;Mandatory&lt;/code&gt; parameter and &lt;code&gt;-Validator&lt;/code&gt; switch at the same time.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item &quot;master:\content\home&quot;&#xA;$item = $null&#xA;$result = Read-Variable -Parameters `&#xA;    @{ Name = &quot;token&quot;; Value = &quot;Token&quot;; Title = &quot;Value to be replaced&quot;; Tooltip = &quot;Value to be replaced&quot;; Placeholder = &quot;Inform what text you want to replace&quot;; Mandatory = $true },&#xA;    @{ Name = &quot;replaceWith&quot;; Value = &quot;Replace With&quot;; Title = &quot;New value&quot;; Tooltip = &quot;New Value&quot;; Placeholder = &quot;Inform the new value&quot;; Mandatory = $true },`&#xA;    @{ Name = &quot;item&quot;; editor=&quot;DropTree&quot;;Title = &quot;Select the root item. It will apply to all it's descendants&quot;; Root = &quot;/sitecore/content/&quot;; Mandatory = $true  } `&#xA;    -Description &quot;This Dialog shows less editors, it doesn't need tabs as there is less of the edited variables&quot; `&#xA;    -Title &quot;Initialise various variable types (without tabs)&quot; -Width 500 -Height 480 `&#xA;    -OkButtonName &quot;Proceed&quot; -CancelButtonName &quot;Abort&quot; `&#xA;    -Validator {&#xA;        $itemVariable = $variables.item.Value&#xA;        if ($itemVariable.ID -eq &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;)&#xA;        {&#xA;            $variables.item.Error = &quot;Please select different root item&quot;&#xA;        }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Q2OfJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q2OfJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Summary&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Validator feature is available for SPE 4.2+&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Links&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;More info about Validator:&#xA;&lt;a href=&quot;https://gist.github.com/AdamNaj/37ad58e1a9350604e4815ca586acf39e&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/AdamNaj/37ad58e1a9350604e4815ca586acf39e&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;ReadVariable documentation:&#xA;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Read-Variable.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Read-Variable.html&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-12-09T07:04:03.293" LastActivityDate="2016-12-09T07:04:03.293" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3202" PostTypeId="1" AcceptedAnswerId="3205" CreationDate="2016-12-08T14:04:16.990" Score="7" ViewCount="1250" Body="&lt;p&gt;Which purposes can be reached by using final layout in template standard values?&#xA;What are advantages and disadvantages to use final layout in template standard values?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastActivityDate="2016-12-08T14:58:29.077" Title="Template standard values final layout" Tags="|best-practices|presentation|templates|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3203" PostTypeId="2" ParentId="3198" CreationDate="2016-12-08T14:04:59.360" Score="1" Body="&lt;p&gt;This should go into comment, but cannot suggest code in comment, so writing as an answer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you try below? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model IEnumerable&amp;lt;Sitecore.Data.Items.Item&amp;gt;&#xA;&#xA;@if (!Sitecore.Context.PageMode.IsNormal)&#xA;{&#xA;    using (Html.BeginEditFrame(Html.Sitecore().CurrentRendering.DataSource,&#xA;        &quot;/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Custom Buttons/Edit City&quot;))&#xA;    {&#xA;        foreach (Item city in Model)&#xA;        {&#xA;           EditCity : @Html.Sitecore().Field(Templates.Fields.CityName, city)&#xA;        }&#xA;    }&#xA;}&#xA;else&#xA;{&#xA;    foreach (Item city in Model)&#xA;    {&#xA;        &amp;lt;select id=&quot;ddlCity&quot;&amp;gt;&#xA;            &amp;lt;option value=&quot;@city.Fields[Templates.Fields.CityCode].Value&quot;&amp;gt;&#xA;                @city.Fields[Templates.Fields.Cityname].Value&#xA;            &amp;lt;/option&amp;gt;&#xA;            }&#xA;&#xA;        &amp;lt;/select&amp;gt;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2016-12-08T14:04:59.360" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3204" PostTypeId="2" ParentId="3176" CreationDate="2016-12-08T14:07:21.577" Score="2" Body="&lt;p&gt;Using the &quot;Magic&quot; Mark mentioned it works. However, to get the ItemId and the Source into the dialog, use the last answer as described in this article: &lt;a href=&quot;https://stackoverflow.com/questions/8148279/how-to-get-a-reference-to-the-currently-edited-item-when-inside-a-custom-field-i&quot;&gt;https://stackoverflow.com/questions/8148279/how-to-get-a-reference-to-the-currently-edited-item-when-inside-a-custom-field-i&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The full class looks now like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using Sitecore.Shell.Applications.ContentEditor;&#xA;&#xA;namespace My.Feature.ImageCropper.FieldTypes&#xA;{&#xA;    using System;&#xA;    using System.Collections.Generic;&#xA;    using System.Diagnostics.CodeAnalysis;&#xA;    using System.Web.UI;&#xA;&#xA;    [ExcludeFromCodeCoverage]&#xA;    public class ImageCropperField : Text, IContentField&#xA;    {&#xA;        #region Reflection&#xA;        public string ItemId&#xA;        {&#xA;            get&#xA;            {&#xA;                return base.GetViewStateString(&quot;ItemId&quot;);&#xA;            }&#xA;            set&#xA;            {&#xA;                Assert.ArgumentNotNullOrEmpty(value, &quot;value&quot;);&#xA;                base.SetViewStateString(&quot;ItemId&quot;, value);&#xA;            }&#xA;        }&#xA;        public string Source&#xA;        {&#xA;            get&#xA;            {&#xA;                return base.GetViewStateString(&quot;Source&quot;);&#xA;            }&#xA;            set&#xA;            {&#xA;                Assert.ArgumentNotNullOrEmpty(value, &quot;value&quot;);&#xA;                base.SetViewStateString(&quot;Source&quot;, value);&#xA;            }&#xA;        }&#xA;        #endregion&#xA;&#xA;        #region IContentfield implementation&#xA;        public string GetValue() { return Value; }&#xA;        public void SetValue(string value) { Value = value; }&#xA;        #endregion&#xA;&#xA;        #region Text base class overrides&#xA;        protected override void Render(HtmlTextWriter output)&#xA;        {&#xA;            Assert.ArgumentNotNull(output, nameof(output));&#xA;            base.Render(output);&#xA;        }&#xA;        #endregion&#xA;&#xA;        #region Message handler&#xA;        public override void HandleMessage(Sitecore.Web.UI.Sheer.Message message)&#xA;        {&#xA;            if (message[&quot;id&quot;] != ID || string.IsNullOrWhiteSpace(message.Name))&#xA;                return;&#xA;&#xA;            switch (message.Name)&#xA;            {&#xA;                case &quot;imagecropper:cropImage&quot;:                    &#xA;                    Sitecore.Context.ClientPage.Start(this, &quot;CropImage&quot;);&#xA;                    return;&#xA;                case &quot;imagecropper:resetImage&quot;:&#xA;                    Sitecore.Context.ClientPage.Start(this, &quot;ResetImage&quot;);&#xA;                    return;&#xA;            }&#xA;&#xA;            if (Value.Length &amp;gt; 0)&#xA;                SetModified();&#xA;&#xA;            Value = string.Empty;&#xA;        }&#xA;&#xA;        protected void CropImage(Sitecore.Web.UI.Sheer.ClientPipelineArgs args)&#xA;        {&#xA;            if (args.IsPostBack)&#xA;            {&#xA;                if (args.HasResult &amp;amp;&amp;amp; Value.Equals(args.Result) == false)&#xA;                {&#xA;                    SetModified();&#xA;                    SetValue(args.Result);&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                string url = Sitecore.UIUtil.GetUri(&quot;control:ImageCropperDialog&quot;);&#xA;                string v = GetValue();&#xA;                string i = this.ItemId;&#xA;                string s = this.Source;&#xA;&#xA;                if (!string.IsNullOrEmpty(i))&#xA;                {&#xA;                    url = $&quot;{url}&amp;amp;itemid={i}&amp;amp;{s}&amp;amp;{v}&quot;;&#xA;&#xA;                    if (!string.IsNullOrEmpty(s))&#xA;                    {&#xA;                        url = $&quot;{url}&amp;amp;{s}&quot;;&#xA;                        if (!string.IsNullOrEmpty(v))&#xA;                        {&#xA;                            url = $&quot;{url}&amp;amp;{v}&quot;;&#xA;                        }&#xA;&#xA;                        Sitecore.Web.UI.Sheer.SheerResponse.ShowModalDialog(url, &quot;800&quot;, &quot;600&quot;, &quot;&quot;, true, &quot;800&quot;, &quot;600&quot;, false);&#xA;                        args.WaitForPostBack();&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        Sitecore.Web.UI.Sheer.SheerResponse.Alert(&quot;The options for cropping the image are not set properly&quot;);&#xA;                    }&#xA;                }&#xA;                else&#xA;                {&#xA;                    Sitecore.Web.UI.Sheer.SheerResponse.Alert(&quot;A reference to the item could not be set&quot;);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        protected void ResetImage(Sitecore.Web.UI.Sheer.ClientPipelineArgs args)&#xA;        {&#xA;            SetValue(string.Empty);&#xA;            SetModified();&#xA;        }&#xA;        #endregion&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="836" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-09T15:21:33.077" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3205" PostTypeId="2" ParentId="3202" CreationDate="2016-12-08T14:10:21.167" Score="5" Body="&lt;p&gt;This is really an opinion based answer, but the only advantage I see is the ability to have different presentation per language variant on the standard values of the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This could have potential side effects tho, it would not always be obvious that each language variant had different presentation and I think this would be a rare case and could probably be handled better with personalization rule on the shared layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would probably make it a rule to &lt;em&gt;not&lt;/em&gt; use the final layout on the standard values of a template.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-12-08T14:43:48.953" LastActivityDate="2016-12-08T14:43:48.953" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3206" PostTypeId="1" AcceptedAnswerId="3208" CreationDate="2016-12-08T14:10:28.617" Score="6" ViewCount="3562" Body="&lt;p&gt;We are running Sitecore 8.0 and Solr 4.10.3. I'm trying to get text search working where if I search for play, player and plays are also returned in the search results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't find reference on how to achieve this. The current search that I have configured just does a straight text lookup and only returns results with play.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to create a analyzer in Solr with one of the stemming algorithms to achieve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using the contains function to run the text search in Sitecore search api.&lt;/p&gt;&#xA;" OwnerUserId="1073" LastActivityDate="2016-12-08T14:18:25.747" Title="Solr search with stemming" Tags="|content-search|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3207" PostTypeId="2" ParentId="3206" CreationDate="2016-12-08T14:14:56.180" Score="3" Body="&lt;p&gt;Sure, you could use stemming. But as the simplest approach, you can go with a wildcard query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (IProviderSearchContext context = ...)&#xA;{&#xA;  var searchTerm = &quot;play&quot;;&#xA;&#xA;  var query =&#xA;    context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;      .Where(_ =&amp;gt; _.FieldName.MatchWildcard(searchTerm + &quot;*&quot;));&#xA;&#xA;  SearchResults&amp;lt;SearchResultItem&amp;gt; results = query.GetResults();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure to sanitize the search term beforehand.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-08T14:16:03.547" LastActivityDate="2016-12-08T14:16:03.547" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3208" PostTypeId="2" ParentId="3206" CreationDate="2016-12-08T14:17:27.010" Score="7" Body="&lt;p&gt;You can do this on the SOLR configuration site. To setup stemming in SOLR you just need to set the tokenizer and analyzer for the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example. Say you have a field in your template called &lt;code&gt;Body Text&lt;/code&gt; - rather than use the dynamic SOLR field, you can add this to your &lt;code&gt;schema.xml&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field name=&quot;body_text&quot; type=&quot;text_stem&quot; indexed=&quot;true&quot; stored=&quot;true&quot; multiValued=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now we just need to define the field type in the schema and set the tokenizer and filter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;text_stem&quot;&amp;gt;&#xA;    &amp;lt;analyzer&amp;gt;&#xA;        &amp;lt;tokenizer class=&quot;solr.WhitespaceTokenizerFactory&quot;/&amp;gt;&#xA;        &amp;lt;filter class=&quot;solr.SnowballPorterFilterFactory&quot;/&amp;gt;&#xA;    &amp;lt;/analyzer&amp;gt;&#xA;&amp;lt;/fieldType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What do these do:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;solr.WhitespaceTokenizerFactory&lt;/strong&gt; - this will break up the sentences into words using whitespace as the delimeter&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;solr.SnowballPorterFilterFactory&lt;/strong&gt; - will apply a stemming algorithm to each work or token. There are a number of stemming algorithms, this example uses the &lt;code&gt;Snowball Porter&lt;/code&gt; one. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For more examples look at &lt;a href=&quot;http://thinknook.com/keyword-stemming-and-lemmatisation-with-apache-solr-2013-08-02/&quot; rel=&quot;noreferrer&quot;&gt;Keyword Stemming and Lemmatisation with SOLR&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-12-08T14:17:27.010" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3210" PostTypeId="2" ParentId="3186" CreationDate="2016-12-08T14:30:29.067" Score="4" Body="&lt;p&gt;Ensure the &lt;a href=&quot;https://stackoverflow.com/questions/30120608/is-html-sitecore-visitoridentification-required-with-sitecore-8-mvc&quot;&gt;VisitorIdentification&lt;/a&gt; code is available on the layout.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().VisitorIdentification()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, if it helps, the contact creation logic is executed in the below pipeline processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ensureSessionContext&amp;gt;&#xA;...&#xA;  &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.EnsureSessionContext.CreateContact, Sitecore.Analytics&quot;&amp;gt;&#xA;    &amp;lt;ContactManager ref=&quot;tracking/contactManager&quot; /&amp;gt;&#xA;  &amp;lt;/processor&amp;gt;&#xA;...&#xA;&amp;lt;/ensureSessionContext&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="773" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-08T14:35:43.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3211" PostTypeId="1" CreationDate="2016-12-08T14:48:21.413" Score="4" ViewCount="791" Body="&lt;p&gt;Can anyone shed some light on why I am seeing numerous entries for [unknown page] in the Experience Analytics -&gt; Behavior -&gt; Pages -&gt; Entry pages/Exit Pages reports? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q1cNE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q1cNE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to track down what is causing so many [unknown page] entries in the reports and I'm not sure where to start.&lt;/p&gt;&#xA;" OwnerUserId="252" LastEditorUserId="252" LastEditDate="2016-12-08T14:53:38.837" LastActivityDate="2016-12-08T15:21:23.737" Title="Experience Analytics Entry/Exit pages display [unknown page]" Tags="|experience-analytics|reporting|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="3212" PostTypeId="2" ParentId="3211" CreationDate="2016-12-08T14:54:35.743" Score="6" Body="&lt;p&gt;The &lt;strong&gt;[Unknown page]&lt;/strong&gt; entries may appear due to following reasons:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Items may have been deleted which were already tracked.&lt;/li&gt;&#xA;&lt;li&gt;Pages are opened and tracked which are not Sitecore items e.g. You created a test.aspx page in root folder and open it, This page does not have a corresponding item in Sitecore and will show as Unknown.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can check URLs and Names of these pages in &quot;Page URLs&quot; section in Behavior tab.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-12-08T14:54:35.743" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3213" PostTypeId="2" ParentId="3202" CreationDate="2016-12-08T14:58:29.077" Score="3" Body="&lt;p&gt;It really depends on the requirements.&lt;/p&gt;&#xA;&lt;h3&gt;Worth to use when...&lt;/h3&gt;&#xA;&lt;p&gt;you have for example a page template, let's call it &lt;code&gt;Article Page&lt;/code&gt; and you have a multi language site (english and german).&lt;/p&gt;&#xA;&lt;p&gt;If the english page should look different (order of the renderings or totally different renderings) like the german in most cases or even every case when authors create a new &lt;code&gt;Article Page&lt;/code&gt; then it makes sense to use Final Layouts for Standard Values.&lt;/p&gt;&#xA;&lt;p&gt;Let's define the Renderings. A rendering could be also a &amp;quot;layout&amp;quot; which use only placeholders, for example:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rendering 1: Sidebar and MainContent (english)&lt;/li&gt;&#xA;&lt;li&gt;Rendering 2: MainContent and Sidebar (german)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I would not say to use just maybe in rare cases.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-08T14:58:29.077" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3214" PostTypeId="2" ParentId="3007" CreationDate="2016-12-08T15:01:13.817" Score="1" Body="&lt;p&gt;@ADH as a response to your comment on my previous suggestion...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The raw values in the rendering field in the web database will show item ID's of all related renderings and datasources. In later versions of Sitecore you would have been able to publish the item and checking &quot;publish related items&quot;. Since you don't have that option I would write down all those ID's in that field, go back to the master database and identify the items with these ID's. Publish all of them one by one and see if they appear in the web database. Once all related items are published you should be able to see the rendering on your page. &lt;/p&gt;&#xA;" OwnerUserId="1026" LastEditorUserId="1026" LastEditDate="2016-12-08T15:02:14.983" LastActivityDate="2016-12-08T15:02:14.983" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="3215" PostTypeId="2" ParentId="3211" CreationDate="2016-12-08T15:08:42.617" Score="3" Body="&lt;p&gt;Tracked pages have an &lt;code&gt;ItemId&lt;/code&gt; field that is saved to the Collection database. During the generation of reports, all information about the page will be fetched from the corresponding Sitecore item. In case there is no associated item in the content tree, &lt;code&gt;[unknown page]&lt;/code&gt; will be shown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will become a problem when you are tracking page hits that don't have a Sitecore item associated with them. If you have such a page tracked, there are two options for improving the reports:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Don't track the page&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I've described the various ways to prevent a page from being tracked. See this post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/1456/104&quot;&gt;https://sitecore.stackexchange.com/a/1456/104&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Override item information&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can track custom pages and override the item and URL information for the page hit. You can do that by including the following in the code of your page:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.CurrentPage.SetItemProperties(itemId, &quot;en&quot;, itemVersion);&#xA;Tracker.Current.CurrentPage.SetUrl(&quot;/some/url&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-08T15:21:23.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3216" PostTypeId="1" CreationDate="2016-12-08T16:31:22.880" Score="2" ViewCount="212" Body="&lt;p&gt;I am hoping someone can lead me in the right direction. I am trying to create an A/B content test. I have a page which has a carousel (a rendering) that has a data source which points to folder that contains many individual carousel items. Each carousel item has a few fields: image, heading, sub heading, and link. What I am trying to do via an A/B test is swap between 2 different images on one of the carousel items. All of the blogs that I have read seem to test content when the content is part of a page template and not a piece of content rendered via a component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a few issues that come up when creating my test:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first issue is once I create the content test I cannot get back to it. If I try to load it from &quot;Experience Optimization&quot; I get a 404 which makes sense I guess because the test item is not a page, it's a piece of content on a component of the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second issue, if you ignore the first issue, is the page never serves up variants of the content. It always shows the latest version of the content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I must be doing something wrong because having an A/B test which swaps out an image in a carousel seems like it shouldn't be this difficult. I have tried using the Sample Workflow with the &quot;Approve with Test&quot; with no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can get it to work if I create a component test but I don't like having to create a clone or a copy of all of the items just to make a change to one of them. Seems overkill to me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To summarize, I want to have one of my carousel slides have two versions which it serves up via a test within Sitecore. Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried on Sitecore 8.1 and 8.2.&lt;/p&gt;&#xA;" OwnerUserId="210" LastEditorUserId="104" LastEditDate="2016-12-08T16:50:12.257" LastActivityDate="2017-02-04T14:50:24.643" Title="Creating a content test for a nested component doesn't work as expected" Tags="|content-testing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3217" PostTypeId="1" AcceptedAnswerId="3249" CreationDate="2016-12-08T17:02:19.313" Score="1" ViewCount="333" Body="&lt;p&gt;We are working on upgrading to EXM 3.3 from 3.2.  On my local sandbox, after performing the upgrade, everything appears to be good except for the fact that when I go to view a message from the manager screen, the page that loads is mostly blank displaying only the Back arrow button, empty drop down, language drop down, Save button and the Email campaign info label and table.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of the javascript and css files referenced by the &lt;code&gt;/root/sitecore/client/Applications/ECM/Pages/Messages/Subscription?id=[guid]&amp;amp;sc_speakcontentlang=en&lt;/code&gt; appear to load correctly, however, I do see this error in the javascript console:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;GlobalValidationService.js:2 Uncaught TypeError: Validation.create is not a function(…)(anonymous function) @ GlobalValidationService.js:2execCb @ require.js:1650check @ require.js:866(anonymous function) @ require.js:1113(anonymous function) @ require.js:132(anonymous function) @ require.js:1156each @ require.js:57emit @ require.js:1155check @ require.js:917enable @ require.js:1143init @ require.js:774callGetModule @ require.js:1170completeLoad @ require.js:1544onScriptLoad @ require.js:1671&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RIgJw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RIgJw.png&quot; alt=&quot;EXM 3.2 Empty Message View&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have checked the log files and have not been able to find anything pertaining to this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Environment Details:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 (rev. 160519)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additional Notes:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a new Sitecore instance is installed with EXM 3.3, it works until we sync and publish our Sitecore content and our Visual Studio project.  However, deleting our custom assets (js, css files) doesn't appear to affect any change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This problem appears to affect both pre-existing e-mails AND e-mails created after the upgrade.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the suggestions, I have tried copying all of the files in /sitecore and /sitecore_modules out of the package and into the site and it does not fix the problem.&lt;/p&gt;&#xA;" OwnerUserId="925" LastEditorUserId="925" LastEditDate="2016-12-09T15:53:15.997" LastActivityDate="2016-12-09T16:57:49.660" Title="How can I fix EXM 3.3 upgrade causing message view to fail and be mostly blank?" Tags="|upgrade|exm|" AnswerCount="1" CommentCount="16" ContentLicense="CC BY-SA 3.0" />
  <row Id="3218" PostTypeId="1" AcceptedAnswerId="3716" CreationDate="2016-12-08T17:24:46.243" Score="2" ViewCount="679" Body="&lt;p&gt;This is the behaviour in sitecore8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As shared Layout is a shared field i thought the value of shared layout will be same for all item languages and versions. &#xA;But i found its not if we set different final layout in the __standardValues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All i have changed in Danish language is moving &quot;Sample Rendering&quot; to the middle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I feel its better to demonstrate with a video. &#xA;Video Link: &lt;a href=&quot;http://www.screencast.com/t/Iye0s1eN&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.screencast.com/t/Iye0s1eN&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this the expected behaviour, if yes how can shared field can have different values?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Raw values of Renderings field on both English and Danish are same. Its just happening only on the UI looks like.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2016-12-09T10:12:28.750" LastActivityDate="2017-01-09T14:20:06.090" Title="Shared layout has different values in different languages" Tags="|presentation|sitecore-client|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3219" PostTypeId="1" CreationDate="2016-12-08T17:37:30.797" Score="0" ViewCount="290" Body="&lt;p&gt;In my local sitecore, I am implementing language fallback in Multisite Manager (&lt;em&gt;I have multiple sites in an instance&lt;/em&gt;). I have added     &lt;code&gt;enableItemLanguageFallback&lt;/code&gt; attribute for one site node in multisite Manager.&#xA;I am able to achieve fallback successfully for that particular site. I haven't changed anything on &lt;code&gt;Sitecore.LanguageFallback.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I implemented same for higher environment, i am not able to achieve above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is, whether enabling fallback in &lt;code&gt;Sitecore.LanguageFallback.config&lt;/code&gt; is required or not?&lt;/p&gt;&#xA;" OwnerUserId="1263" LastActivityDate="2016-12-08T17:56:57.253" Title="Language fallback configure" Tags="|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3220" PostTypeId="2" ParentId="3219" CreationDate="2016-12-08T17:44:23.037" Score="3" Body="&lt;p&gt;If you want to enable language fallback. Yes, below configuration needs to be set. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It can be set in Sitecore.LanguageFallback.config or on &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; nodes in Sitecore.config. Both are same. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But its recommended using patch files for any modifications.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;shell&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;  &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;if you have site 2 you need to add:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;site2&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the official sitecore documentation on language-fallback: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/language_fallback/language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/language_fallback/language_fallback&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2016-12-08T17:56:57.253" LastActivityDate="2016-12-08T17:56:57.253" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3221" PostTypeId="1" AcceptedAnswerId="3229" CreationDate="2016-12-08T18:26:03.657" Score="3" ViewCount="2738" Body="&lt;p&gt;I am trying to enable item level language fallback to all items in my website. The below code snippet is taken for editing an standard field and checking whether the field got edited or not.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Lang = &quot;en&quot;;&#xA;$path = &quot;master:\content\Sites\TEST&quot;;&#xA;[int]$count1 = 0;&#xA;Get-ChildItem $path -recurse -Language $Lang | ForEach-Object {&#xA;$field = $_.Fields[&quot;__Enable Item Fallback&quot;];&#xA;if ($field -ne $null) {&#xA;    $_.Editing.BeginEdit()&#xA;    $field.Value = &quot;1&quot;;&#xA;if ($_.Editing.EndEdit()) {&#xA;    $count1++;&#xA;  }&#xA; }&#xA;}&#xA;Write-Host $count1 &quot;items modified&quot; -f Red;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I see console,&lt;code&gt;Editing.EndEdit()&lt;/code&gt; always returns a boolean value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that a correct way to use &lt;code&gt;Editing.EndEdit()&lt;/code&gt; along with if?&lt;/p&gt;&#xA;" OwnerUserId="1263" LastActivityDate="2016-12-09T13:24:48.453" Title="EndEdit() and boolean response" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3222" PostTypeId="1" AcceptedAnswerId="3226" CreationDate="2016-12-08T19:16:43.593" Score="4" ViewCount="2057" Body="&lt;p&gt;I have a detail page that takes a query-string argument called CID and uses that CID to get a record from a SQL database. The sitecore/site/cacheHtml attribute is set to true. We want to keep caching enabled for the other pages in the site, but after I load this detail page once, it does not matter what CID I send to it, it always loads the first one that was sent. If I clear the cache using sitecore/admin/cache.aspx, it will load a new page. But, then that new page is cached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 7.5 right now. We will be upgrading to 8.1 in a month or so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This question has been asked here: &lt;a href=&quot;https://stackoverflow.com/questions/6263747/disable-sitecores-html-cache-for-one-item&quot;&gt;https://stackoverflow.com/questions/6263747/disable-sitecores-html-cache-for-one-item&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, this group gets a lot more traffic and I thought it would be useful to ask here.&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-08T21:44:45.820" Title="How to Disable Cache for One Page" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3223" PostTypeId="2" ParentId="2184" CreationDate="2016-12-08T19:21:25.067" Score="0" Body="&lt;p&gt;Not tested, but we can try with taking a package of parent item/node alone(&lt;em&gt;one single item&lt;/em&gt;), and installing the same package with &lt;code&gt;Overwrite&lt;/code&gt; option when asked for.&lt;/p&gt;&#xA;" OwnerUserId="1263" LastActivityDate="2016-12-08T19:21:25.067" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3224" PostTypeId="1" CreationDate="2016-12-08T19:40:03.787" Score="4" ViewCount="371" Body="&lt;p&gt;If an item has a version in multiple languages I want lucene to return results with the different language versions. If I specify in the query x.Language==&quot;zh-CN&quot; then I get results for that language. If I don't specify a language in the query I only get &quot;en&quot; language items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it not possible to get lucene to return multiple language versions for the same item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The gist of the query is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var languagePredicate = PredicateBuilder.True&amp;lt;T&amp;gt;();&#xA;var currentLanguage = Sitecore.Context.Language != null ? Sitecore.Context.Language.Name : DefaultLanguageName;&#xA;&#xA;languagePredicate = languagePredicate.And(x =&amp;gt; x.Language == currentLanguage || x.Language == &quot;en&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The rest of the query varies but doesn't contain any further language constraints.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the below is the search query being executed by Sitecore requested by Jason Bert.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;10832 10:49:57 INFO  ExecuteQueryAgainstLucene (sitecore_web_index): +(_language:zh-cn _language:en) +(+(+(+(+(+(+_path:6231de254dbc4b3e80562d337422aacc +_template:fe11c5a4bf2640808b2e8defc53c782a) +SpanWildcardQuery(videochannels:&lt;em&gt;445106304c474f9aa474adfd428143de&lt;/em&gt;)) +SpanWildcardQuery(relatedfixtures:&lt;em&gt;e09af397a63f425798f263ee06b97687&lt;/em&gt;)) +excludefromavtv:0) +publicationdate:{00010101t000000000z TO &lt;em&gt;]) +publicationdate:[&lt;/em&gt; TO 20170106t104957807z}) - Filter : &lt;/p&gt;&#xA;" OwnerUserId="1264" LastEditorUserId="1264" LastEditDate="2017-01-05T10:51:50.823" LastActivityDate="2017-01-05T10:51:50.823" Title="Lucene LINQ queries only returning one language version of an item" Tags="|multilingual|lucene|" AnswerCount="0" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="3225" PostTypeId="1" AcceptedAnswerId="3228" CreationDate="2016-12-08T20:20:05.623" Score="-1" ViewCount="77" Body="&lt;p&gt;We are working on personalize the content based on Geo location. We have requirement not to show specific content for some locations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any rules or any other ways available to exclude any specific location for some content(e.g. Country, State, City etc.)?&lt;/p&gt;&#xA;" OwnerUserId="1259" LastActivityDate="2016-12-08T21:21:20.560" Title="Specific Rules to exclude Geo Locations" Tags="|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3226" PostTypeId="2" ParentId="3222" CreationDate="2016-12-08T20:43:17.943" Score="7" Body="&lt;p&gt;Rather than disable the HTML cache for that page, why not use the &lt;code&gt;Vary by Query String&lt;/code&gt; option on your query-string-dependent renderings? I wrote &lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/july/21/getting-started-with-sitecore-html-caching&quot; rel=&quot;nofollow noreferrer&quot;&gt;an article&lt;/a&gt; that should help get you started, but the below should cover the basic overview of what you would be doing.&lt;/p&gt;&#xA;&lt;h3&gt;The 'Vary by' Cache Options&lt;/h3&gt;&#xA;&lt;p&gt;Sitecore includes support for varying HTML Cached copies of a rendering and/or rendering instance by numerous parameters, including the current value of the request query string. You can find these options in the &amp;quot;Caching&amp;quot; settings field section, along with the &lt;code&gt;Cacheable&lt;/code&gt; option that tells Sitecore that it should cache your rendering, in the first place. Note that like the &lt;code&gt;Cacheable&lt;/code&gt; checkbox, you can specify these options either on the rendering item itself (applies globally) or on a specific control in Presentation Details (applies only for that instance).&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hYBel.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hYBel.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Checking one or more of these options on a rendering that you have specified as &amp;quot;Cacheable&amp;quot; tells Sitecore that it should modify the rendering or rendering instance's (depending on whether you set it on the rendering item or on the control in the presentation details, respectively) cache key based on the options that you selected. This allows you to cache renderings with varied display based on datasource, query string, user authentication state, etc.&lt;/p&gt;&#xA;&lt;p&gt;The following table lists and describes all of the OOTB 'Vary by' options that are available to you:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GDL8u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GDL8u.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;The 'Vary by Query String' Option&lt;/h3&gt;&#xA;&lt;p&gt;One of the options that you have available to you is the &lt;code&gt;Vary by Query String&lt;/code&gt; option. This option will cache a separate copy of the rendering for each unique combination (order doesn't matter) of query string parameters (keys and values) that are supplied in the request.&lt;/p&gt;&#xA;&lt;p&gt;For example, if I set an instance of &lt;em&gt;RenderingA&lt;/em&gt; on page &lt;code&gt;http://domain.com/mypage&lt;/code&gt; to be &lt;code&gt;Cacheable&lt;/code&gt; and to &lt;code&gt;Vary by Query String&lt;/code&gt; then the following will hold true:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;   Request: http://domain.com/mypage?hello=world&#xA;      + added copy of RenderingA to cache&#xA;   Request: http://domain.com/mypage&#xA;      + added copy of RenderingA to cache&#xA;   Request: http://domain.com/mypage?hello=foo&#xA;      + added copy of RenderingA to cache&#xA;   Request: http://domain.com/mypage?bar=baz&#xA;      + added copy of RenderingA to cache&#xA;   Request: http://domain.com/mypage?bar=baz&amp;amp;hello=world&#xA;      + added copy of RenderingA to cache&#xA;   Request: http://domain.com/mypage?hello=world&amp;amp;bar=baz&#xA;      = read RenderingA from cache&#xA;   Request: http://domain.com/mypage&#xA;      = read RenderingA from cache&#xA;   Request: http://domain.com/mypage?hello=world&#xA;      = read RenderingA from cache&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;Which Renderings to Set 'Vary by' Options for&lt;/h3&gt;&#xA;&lt;p&gt;Try not to abuse these options &lt;em&gt;too&lt;/em&gt; much, in that you should avoid using them in situations where they aren't relevant. You don't want to cache more copies of your renderings than you need, or else that defeats the purpose. In the case of varying your caching by query string, just like with front-end files and browser caching even a meaningless extra query string parameter will cause an extra copy of the rendering to be cached.&lt;/p&gt;&#xA;&lt;p&gt;You shouldn't be setting your 'Vary by' options for &lt;em&gt;all&lt;/em&gt; renderings but rather just the rendering(s) that your options apply to. For example, if you are caching your header and your header is the same on every page but the display of &lt;em&gt;Rendering A&lt;/em&gt; changes based on the query string parameters then you should just be using your 'Vary by Query String' option on &lt;em&gt;Rendering A&lt;/em&gt;. Since the header never changes, there is no point in caching multiple copies of it.&lt;/p&gt;&#xA;&lt;p&gt;In your case, if you only have one rendering that changes its output based on the query-string, then that should be the only rendering that you set &lt;code&gt;Vary by Query String&lt;/code&gt; for, if you want to have the most optimal performance.&lt;/p&gt;&#xA;&lt;h3&gt;Where to set Your 'Vary by' Options&lt;/h3&gt;&#xA;&lt;p&gt;You can set your 'Vary by' options on either the rendering item itself or in the presentation details of the specific page item. The difference is that setting the 'Vary by' options on the rendering item will set the cache key for all instances of that rendering to vary by your settings (in this case the query string). In contrast, setting your 'Vary by' options on the control in the presentation details of the specific page item will set it only for that one instance of the control and will not affect any other instances of that control.&lt;/p&gt;&#xA;&lt;p&gt;In case you are having trouble to find where these options can be set in Presentation Details, the following screenshot may be able to help:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sJw1X.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sJw1X.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;More information:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/july/21/getting-started-with-sitecore-html-caching&quot; rel=&quot;nofollow noreferrer&quot;&gt;Blog post&lt;/a&gt; I wrote for getting started with HTML Caching&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://i.stack.imgur.com/GDL8u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;Another blog post&lt;/a&gt; on the subject that I used as a reference when writing my post and which helped me get started with HTML Caching too&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-08T21:44:45.820" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3227" PostTypeId="1" AcceptedAnswerId="3235" CreationDate="2016-12-08T21:12:12.193" Score="3" ViewCount="467" Body="&lt;p&gt;I've got authentication set up on certain pages of my website, with anonymous access denied. For regular items/pages, this works like regular forms authentication as you'd expect - click a link or go to the page, you're sent to the login page with a returnUrl query string to send you back where you started after.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This doesn't appear to be the case for media items, though. If I add a link to a similarly-protected media item in a rich text editor, for example, and I click the link, I'm taken to the login page as expected, but no returnUrl property is added on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this normal behavior in Sitecore, or can it be altered to provide the returnUrl for media items? This is Sitecore 8.1 Update 2, if that comes into play as a later fix.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-01-05T04:32:00.823" Title="No returnUrl property for secured media links" Tags="|security|media-library|links|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3228" PostTypeId="2" ParentId="3225" CreationDate="2016-12-08T21:21:20.560" Score="0" Body="&lt;p&gt;Sitecore has several rules available for setting up personalization based on geo information (e.g. City, Country, Region, ...). You can read all about it &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/ip_geolocation/getting_started_with_sitecore_ip_geolocation_service#_Personalize_site_pages&quot; rel=&quot;nofollow noreferrer&quot;&gt;here on the doc site&lt;/a&gt;. With those rules and the personalization functionality to hide components this is possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure to read this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1026/sitecore-ip-geo-location-service-personalization-with-geo-based-conditions-does/1053&quot;&gt;thread&lt;/a&gt; as well though.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-12-08T21:21:20.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3229" PostTypeId="2" ParentId="3221" CreationDate="2016-12-08T21:42:09.857" Score="3" Body="&lt;h2&gt;Editing item fields&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;First of all, yes, the way you're using &lt;code&gt;BeginEdit()&lt;/code&gt; and &lt;code&gt;EndEdit()&lt;/code&gt; is okay. Checking the returned value of &lt;code&gt;EndEdit()&lt;/code&gt; doesn't make much sense though. This method always returns &lt;code&gt;true&lt;/code&gt; if at least one field of the item has been modified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a better way to update fields. Sitecore PowerShell Extensions generate properties for all item fields. You use them like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item.'Field Name With Spaces' = 'some value'&#xA;$item.AnotherField = 'some other value'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Internally, SPE will take care of putting the item in and out of the editing mode. So using these properties will make your code much more concise.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's how the code should look in your case:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-ChildItem $path -Recurse -Language $Lang | % {&#xA;    $_.'__Enable item fallback' = $true&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Enabling item-level language fallback&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The way you approached enabling language fallback on all items will work... until you create new items and forget to enable the fallback for those items. There are better approaches.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Enable language fallback on all templates&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can set the &lt;code&gt;__Enable item fallback&lt;/code&gt; field on the Standard Values for all of your item templates:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$templates =&#xA;    Get-ChildItem 'master:/sitecore/templates/User Defined' -Recurse |&#xA;    ? { $_.TemplateId -eq '{AB86861A-6030-46C5-B394-E8F99E8B87DB}' }&#xA;&#xA;foreach($template in $templates) {&#xA;&#xA;    $standardValuesPath = &quot;master:$($template.FullPath)/__Standard Values&quot;&#xA;&#xA;    if(Test-Path $standardValuesPath) {&#xA;        $standardValues = Get-Item $standardValuesPath&#xA;    } else {&#xA;        $standardValues = New-Item -Path $standardValuesPath -Type $template.ID&#xA;        $template.'__Standard values' = $standardValues.ID&#xA;    }&#xA;&#xA;    $standardValues.'__Enable item fallback' = $true&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will ensure that language fallback is enabled both for existing items and for all new items you may create in the future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the script above will create a &lt;code&gt;__Standard values&lt;/code&gt; item if it doesn't exist in a template.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Enable language fallback on the root template&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If all of your content templates inherit from the same base template, it is enough to manually set the &quot;Enable language fallback&quot; checkbox on the Standard Values item of that template. This value will be inherited by Standard Values of all descendant templates, and hence, by all items of those templates.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-09T08:14:43.543" LastActivityDate="2016-12-09T08:14:43.543" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3230" PostTypeId="1" CreationDate="2016-12-09T01:18:27.473" Score="2" ViewCount="157" Body="&lt;p&gt;What is the best approach for setting up a goal to measure the success of a component test within Sitecore? Let's say I have two components in my test and they have a different colored button. I have both buttons linking to the same page so how can I tell what button was clicked more (what variant was more successful for my test)? Do I need the buttons to link to different pages (just a copy of the original page) with separate goals? Also, how can I differentiate clicks from my test vs someone just visiting the page? &lt;/p&gt;&#xA;" OwnerUserId="210" LastActivityDate="2017-06-30T06:10:30.537" Title="Multivariant tests goals vs a page visit" Tags="|content-testing|" AnswerCount="1" CommentCount="5" ClosedDate="2017-06-30T08:45:42.987" ContentLicense="CC BY-SA 3.0" />
  <row Id="3231" PostTypeId="2" ParentId="3221" CreationDate="2016-12-09T05:33:22.893" Score="6" Body="&lt;p&gt;Perhaps I can help add some clarity in the use of &lt;code&gt;BeginEdit&lt;/code&gt; and &lt;code&gt;EndEdit&lt;/code&gt; while using &lt;strong&gt;Sitecore PowerShell Extensions&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In most situations you do not need to use either of those while editing an item field through SPE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following example demonstrates how to list out all of the available properties for an item. Methods and properties have been excluded from the example for clarity.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-Item -Path &quot;master:\content\home&quot; | Get-Member&#xA;&#xA;   TypeName: Sitecore.Data.Items.Item&#xA;&#xA;Name                                MemberType            Definition&#xA;----                                ----------            ----------&#xA;BeginEdit                           Method                void BeginEdit()&#xA;ChangeTemplate                      Method                void ChangeTemplate(Sitecore.Data.Items.TemplateItem template)&#xA;EndEdit                             Method                bool EndEdit()&#xA;ToString                            Method                string ToString()&#xA;PSChildName                         NoteProperty          string PSChildName=Home&#xA;PSDrive                             NoteProperty          PSDriveInfo PSDrive=master&#xA;PSIsContainer                       NoteProperty          bool PSIsContainer=True&#xA;PSParentPath                        NoteProperty          string PSParentPath=CmsItemProvider::master:\content&#xA;PSPath                              NoteProperty          string PSPath=CmsItemProvider::master:\content\Home&#xA;PSProvider                          NoteProperty          ProviderInfo PSProvider=CmsItemProvider&#xA;Item                                ParameterizedProperty string Item(string fieldName) {get;set;}, string Item(int index) {get;set;}, string Item(Sitecore.Data.ID fieldID) {get;set;}&#xA;ID                                  Property              Sitecore.Data.ID ID {get;}&#xA;Locking                             Property              Sitecore.Data.Locking.ItemLocking Locking {get;}&#xA;Name                                Property              string Name {get;set;}&#xA;Template                            Property              Sitecore.Data.Items.TemplateItem Template {get;}&#xA;TemplateID                          Property              Sitecore.Data.ID TemplateID {get;set;}&#xA;TemplateName                        Property              string TemplateName {get;}&#xA;ContentPath                         ScriptProperty        System.Object ContentPath {get=$this.Paths.ContentPath;}&#xA;FullPath                            ScriptProperty        System.Object FullPath {get=$this.Paths.FullPath;}&#xA;ItemPath                            ScriptProperty        System.Object ItemPath {get=$this.Paths.Path;}&#xA;MediaPath                           ScriptProperty        System.Object MediaPath {get=$this.Paths.MediaPath;}&#xA;ProviderPath                        ScriptProperty        System.Object ProviderPath {get=[Cognifide.PowerShell.Core.Utility.PathUtilities]::GetProviderPath($this);}&#xA;Text                                ScriptProperty        System.Object Text {get=$this[&quot;{A60ACD61-A6DB-4182-8329-C957982CEC74}&quot;];set=[Cognifide.PowerShell.Core.Extensions.ItemShellExtensions]::Modify($this, &quot;{A60ACD61-A6DB-4182-8329-C9...&#xA;Title                               ScriptProperty        System.Object Title {get=$this[&quot;{75577384-3C97-45DA-A847-81B00500E250}&quot;];set=[Cognifide.PowerShell.Core.Extensions.ItemShellExtensions]::Modify($this, &quot;{75577384-3C97-45DA-A847-8...&#xA;__Archive date                      ScriptProperty        System.Object __Archive date {get=[Sitecore.DateUtil]::IsoDateToDateTime($this[&quot;{56C15C6D-FD5A-40CA-BB37-64CEEC6A9BD5}&quot;]);set=[Cognifide.PowerShell.Core.Extensions.ItemShellExten...&#xA;__Archive Version date              ScriptProperty        System.Object __Archive Version date {get=[Sitecore.DateUtil]::IsoDateToDateTime($this[&quot;{1D99005E-65CA-45CA-9D9A-FD7016E23F1E}&quot;]);set=[Cognifide.PowerShell.Core.Extensions.ItemSh...&#xA;__Boost                             ScriptProperty        System.Object __Boost {get=$this[&quot;{93D1B217-B8F4-462E-BABF-68298C9CE667}&quot;];set=[Cognifide.PowerShell.Core.Extensions.ItemShellExtensions]::Modify($this, &quot;{93D1B217-B8F4-462E-BABF...&#xA;__Boosting Rules                    ScriptProperty        System.Object __Boosting Rules {get=$this[&quot;{8C181989-2794-4B28-8EE4-6BB5CB928DC2}&quot;];set=[Cognifide.PowerShell.Core.Extensions.ItemShellExtensions]::Modify($this, &quot;{8C181989-2794-...&#xA;__Bucket Parent Reference           ScriptProperty        System.Object __Bucket Parent Reference {get=$this[&quot;{9DAFCA1D-D618-4616-86B8-A8ACD6B28A63}&quot;];set=[Cognifide.PowerShell.Core.Extensions.ItemShellExtensions]::Modify($this, &quot;{9DAFC...&#xA;__Enable item fallback              ScriptProperty        System.Object __Enable item fallback {get=$this[&quot;{FD4E2050-186C-4375-8B99-E8A85DD7436E}&quot;];set=[Cognifide.PowerShell.Core.Extensions.ItemShellExtensions]::Modify($this, &quot;{FD4E2050...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see above, &lt;code&gt;ScriptProperty&lt;/code&gt; is a generated property on the object by SPE with a &lt;em&gt;Getter/Setter&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Check out the book for more in-depth details on &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/working-with-items.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;working with items&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following assigns an image to the Image field. SPE is smart enough to know that the &lt;em&gt;logo&lt;/em&gt; is a &lt;code&gt;MediaItem&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;(Get-Item master:/content/home).Image = Get-Item 'master:\media library\logo'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Both examples do not require the use of &lt;code&gt;BeginEdit&lt;/code&gt; and &lt;code&gt;EndEdit&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Regarding the question you have for the &lt;code&gt;boolean&lt;/code&gt; value returned with &lt;code&gt;EndEdit&lt;/code&gt;: methods that return a value can be suppressed using &lt;code&gt;Out-Null&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following does not use the generated properties provided by SPE; the &lt;code&gt;item&lt;/code&gt; must therefore be in an editing mode before modification. Use the &lt;code&gt;BulkUpdateContext&lt;/code&gt; to speed things up.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;    foreach($item in Get-ChildItem -Path &quot;master:\content\home&quot;) {&#xA;        $item.Editing.BeginEdit()&#xA;        $item[&quot;Title&quot;] = &quot;Sample Item&quot;&#xA;        $item[&quot;Text&quot;] = &quot;Sample Item&quot;&#xA;        $item.Editing.EndEdit() | Out-Null&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;So in conclusion, consider the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If writing &lt;code&gt;$item[&quot;FIELDNAME&quot;]&lt;/code&gt; and &lt;code&gt;$item.Fields[&quot;FIELDNAME&quot;]&lt;/code&gt; &lt;strong&gt;use&lt;/strong&gt; &lt;code&gt;BeginEdit&lt;/code&gt; and &lt;code&gt;EndEdit&lt;/code&gt; to place in editing mode; SPE &lt;strong&gt;does not&lt;/strong&gt; automatically call them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If writing &lt;code&gt;$item.&quot;FIELDNAME&quot;&lt;/code&gt; &lt;strong&gt;don't use&lt;/strong&gt; &lt;code&gt;BeginEdit&lt;/code&gt; and &lt;code&gt;EndEdit&lt;/code&gt; because it's automatic and the &lt;code&gt;Edit&lt;/code&gt; commands are called internally by SPE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try not to blend the syntax of the two above if possible. Favor the use of automatic variables as it makes the script easier to read. Performance may not come in to play unless editing many fields at a time, at which point the &lt;code&gt;BulkUpdateContext&lt;/code&gt; should be considered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the example from Dmytro a property is generated for &lt;em&gt;__Enable item fallback&lt;/em&gt;. When SPE tries to modify the value it internally detects that it's a &lt;code&gt;boolean&lt;/code&gt; and sets a &quot;1&quot; or &quot;0&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;__Enable item fallback {&#xA;get=$this[&quot;{FD4E2050-186C-4375-8B99-E8A85DD7436E}&quot;];&#xA;set=[Cognifide.PowerShell.Core.Extensions.ItemShellExtensions]::Modify($this, &quot;{FD4E2050-186C-4375-8B99-E8A85DD7436E}&quot;, $Args );;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2016-12-09T13:24:48.453" LastActivityDate="2016-12-09T13:24:48.453" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3232" PostTypeId="2" ParentId="3184" CreationDate="2016-12-09T09:03:48.303" Score="5" Body="&lt;p&gt;EXM requires an email to be associated with the contact. The contact has to be an xDB contact. Starting from EXM 3.1, Sitecore users are no longer supported.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default the contact should look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;_id&quot; : LUUID(&quot;84ad2c30-71b9-a445-a424-a597867876b8&quot;),&#xA;    &quot;Identifiers&quot; : {&#xA;        &quot;IdentificationLevel&quot; : 2,&#xA;        &quot;Identifier&quot; : &quot;test@somedomain.net&quot;&#xA;    },&#xA;    &quot;Tags&quot; : {&#xA;        &quot;Entries&quot; : {&#xA;            &quot;ContactLists&quot; : {&#xA;                &quot;Values&quot; : {&#xA;                    &quot;0&quot; : {&#xA;                        &quot;Value&quot; : &quot;{D4DFC0A6-071E-46D8-B32A-2858D9FCFD7C}&quot;,&#xA;                        &quot;DateTime&quot; : ISODate(&quot;2016-12-08T11:32:59.787Z&quot;)&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    },&#xA;    &quot;Personal&quot; : {&#xA;        &quot;FirstName&quot; : &quot;FirstName&quot;,&#xA;        &quot;Surname&quot; : &quot;Surname&quot;&#xA;    },&#xA;    &quot;Emails&quot; : {&#xA;        &quot;Preferred&quot; : &quot;Preferred&quot;,&#xA;        &quot;Entries&quot; : {&#xA;            &quot;Preferred&quot; : {&#xA;                &quot;SmtpAddress&quot; : &quot;test@somedomain.net&quot;&#xA;            }&#xA;        }&#xA;    },&#xA;    &quot;Lease&quot; : null,&#xA;    &quot;System&quot; : {&#xA;        &quot;VisitCount&quot; : 2,&#xA;        &quot;Value&quot; : 0&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the &lt;strong&gt;Emails&lt;/strong&gt; facet. By default the &lt;strong&gt;Preferred&lt;/strong&gt; email of this facet is used. This is loaded in the &lt;strong&gt;AssignEmailProperties&lt;/strong&gt; pipeline processor of the &lt;strong&gt;getXdbContactRecipient&lt;/strong&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error message you're seeing in the log file is logged specifically when this processor hasn't loaded the email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is possible to change how the email is retrieved, but in your case the problem is most likely that there's no email address associated at all, and not that you've got it stored in a different facet.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2016-12-09T10:01:11.900" LastActivityDate="2016-12-09T10:01:11.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3233" PostTypeId="1" AcceptedAnswerId="3237" CreationDate="2016-12-09T10:08:32.670" Score="7" ViewCount="1383" Body="&lt;p&gt;I am trying to update the contact facet properties using next code (trimmed example)...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;&#xA;Contact contact = null;&#xA;var lockResult = contactManager.TryLoadContact(contactId);&#xA;&#xA;switch (lockResult.Status)&#xA;{&#xA;    case LockAttemptStatus.Success:&#xA;        contact = lockResult.Object;&#xA;        contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;    default:&#xA;        contact = null;&#xA;}&#xA;&#xA;if (contact != null)&#xA;{&#xA;    // update contact properties.&#xA;&#xA;    contactManager.SaveAndReleaseContact(contact);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While I am doing this, the contact is in active engagement flow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After I updated the contact and the method &lt;code&gt;contactManager.SaveAndReleaseContact(contact)&lt;/code&gt; was called, I am trying to execute a trigger in the engagement flow for this contact.&#xA;And it does not work because the contact is still locked.&#xA;I can see log message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ERROR Sitecore.Analytics.Automation.AutomationContactManager: Cannot obtain lock on contact: 64dec422-f08d-4932-8369-7313d60b530f. Status: AlreadyLocked&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the question is.. how to make sure the contact is successfully released?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can also see there are overloads for &lt;code&gt;TryLoadContact&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;contactManager.TryLoadContact(Guid contactId);&#xA;contactManager.TryLoadContact(Guid contactId, bool exclusive);&#xA;contactManager.TryLoadContact(Guid contactId, int lockDurationMinutes);&#xA;contactManager.TryLoadContact(Guid contactId, int lockDurationMinutes, bool exclusive);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what the &lt;code&gt;bool exclusive&lt;/code&gt; means and the &lt;code&gt;int lockDurationMinutes&lt;/code&gt;?&#xA;that &lt;code&gt;int lockDurationMinutes&lt;/code&gt; - will it release the lock once the specified minutes passed?&#xA;how and when we can use the &lt;code&gt;bool exclusive&lt;/code&gt; option?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to release the contact on demand?&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="915" LastEditDate="2016-12-09T10:43:10.147" LastActivityDate="2016-12-09T11:13:17.490" Title="Contact locking options" Tags="|xdb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3235" PostTypeId="2" ParentId="3227" CreationDate="2016-12-09T10:26:46.873" Score="0" Body="&lt;p&gt;Looks like this is sitecore's normal behaviour.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the nice article which solves your issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.doodle.co.uk/blogs/2015/03/03/restricting-access-to-sitecore-media-items&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.doodle.co.uk/blogs/2015/03/03/restricting-access-to-sitecore-media-items&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;summary:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Setting up &lt;code&gt;&amp;lt;setting name=&quot;Authentication.SaveRawUrl&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;creating a new media Request handler that inherits from MediaRequestHandler&lt;/li&gt;&#xA;&lt;li&gt;updating web.config to say sitecore use the new request handler rather than the sitecore's default one.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2016-12-09T10:26:46.873" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3237" PostTypeId="2" ParentId="3233" CreationDate="2016-12-09T10:59:43.707" Score="12" Body="&lt;h1&gt;Mechanics of the Contact Manager&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You are using the &lt;code&gt;ContactManager&lt;/code&gt; class. Underneath, it uses two storage types:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;ContactRepository&lt;/code&gt; which works with the Collection database;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SharedSessionStateManager&lt;/code&gt; which works with the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state#_Toc396298780&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Shared Session&lt;/strong&gt;&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When you call &lt;code&gt;.TryLoadContact(contactId)&lt;/code&gt;, the contact is locked in the Collection DB and loaded into the Shared Session. It is then also locked in the Shared Session so that your current thread can work with the contact exclusively.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next time you call &lt;code&gt;.TryLoadContact(contactId)&lt;/code&gt;, the contact will be locked and loaded from the Shared Session without querying the Collection DB (where it is already locked to the current web cluster).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you call &lt;code&gt;.SaveAndReleaseContact(contact)&lt;/code&gt;, the contact is released in the Shared Session, so other threads and members of the web cluster can use it. It is &lt;strong&gt;not&lt;/strong&gt; released in the Collection DB though - it remains locked until the Shared Session expires.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The correct way to release a contact&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you want the contact to be unlocked in the Collection DB (via the underlying Contact Repository), the method you should call instead is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;contactManager.SaveAndReleaseContactToXdb(contact.ContactID);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This method will remove the contact from the Shared Session, then save and unlock it in the Collection Database. Note that a call to this method will force the &lt;code&gt;SaveAndReleaseContact&lt;/code&gt; to be called first.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The overrides of &lt;code&gt;TryLoadContact&lt;/code&gt;&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;contactManager.TryLoadContact(Guid contactId);&#xA;contactManager.TryLoadContact(Guid contactId, bool exclusive);&#xA;contactManager.TryLoadContact(Guid contactId, int lockDurationMinutes);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above three methods all end up calling this method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;contactManager.TryLoadContact(Guid contactId, int lockDurationMinutes, bool exclusive);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;exclusive&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;exclusive&lt;/code&gt; argument defaults to &lt;code&gt;true&lt;/code&gt; if unspecified. This argument defines whether to lock the contact in the Shared Session exclusively. If it's set to &lt;code&gt;true&lt;/code&gt;, that means you intend to change the contact. This means that other threads will have to wait before they can get the contact from the Shared Session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that, using the above methods, the contact will always be locked in the Collection DB. If you want to read a contact from the Collection DB without obtaining an exclusive lock, you should use another method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;contactManager.LoadContactReadOnly(Guid contactId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;lockDurationMinutes&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This argument defaults to (roughly) the length of the current private (ASP.NET) session + 1 minute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It determines for how many minutes the contact should stay locked in the Collection DB.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-09T11:13:17.490" LastActivityDate="2016-12-09T11:13:17.490" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3238" PostTypeId="2" ParentId="3218" CreationDate="2016-12-09T11:18:57.323" Score="1" Body="&lt;p&gt;You should raise this as a bug with Sitecore. Since the raw values are correct the bug must be in the Sitecore pipeline that resolves the renderings and the order of those renderings. But it would be interesting to see if it is only happening in the Sitecore UI or if it also affects the actual order of the renderings when you publish the page. I would expect the latter and that they use the same pipeline to resolve the renderings. In any case it should be sent to Sitecore Support.&lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2016-12-09T11:18:57.323" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3239" PostTypeId="1" AcceptedAnswerId="3241" CreationDate="2016-12-09T13:28:50.017" Score="2" ViewCount="1063" Body="&lt;p&gt;I would like to change the logic of the image hashing. Because our &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt; parameters directly in the url. As I checked the &lt;code&gt;HashingUtils&lt;/code&gt; class it does not look to easy to change without any risk because it can be used any other assemblies and I already found 3 places where it is used in the Sitecore.Kernel assembly. The problem is that the default implementation only deal with querystring parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example the url should like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/images/{22EB368A-4AD3-48C8-B1EB-1BC14DE0F7BF}-200-100.jpg?hash=AE8EB10933E68E98C9C65324F9CDF0FA2D3AEBAA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I would like to generate the hash from the part of the url. In this case from &lt;code&gt;200&lt;/code&gt; and &lt;code&gt;100&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already implemented a custom MediaProvider which is resolving the media item by ID, width and height. Actually the resolving done by a composite key &lt;code&gt;[ID]-[width]-[height]&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2016-12-09T13:59:49.163" LastActivityDate="2016-12-09T14:19:56.930" Title="Change the logic of hashing the images" Tags="|media-library|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3241" PostTypeId="2" ParentId="3239" CreationDate="2016-12-09T14:11:04.110" Score="5" Body="&lt;h1&gt;Solution&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;HashingUtils.ProtectAssetUrl(string url)&lt;/code&gt; and &lt;code&gt;HashingUtils.GetAssetUrlHash(string url)&lt;/code&gt; take the full URL path into account when generating the hash. So there are no adjustments in the algorithm that you need to make.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just use this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string imageUrl = // get the URL&#xA;imageUrl = HashingUtils.ProtectAssetUrl(imageUrl);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is all you need to generate a URL with an added hash value.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h1&gt;Proof&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Here's the (reformatted) source code of &lt;code&gt;HashingUtils.GetAssetUrlHash()&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string GetAssetUrlHash(string url)&#xA;{&#xA;    url = url.ToLowerInvariant();&#xA;&#xA;    UrlString urlString = new UrlString(url);&#xA;&#xA;    if (!HashingUtils.Proxy.IsMediaUrl(url))&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;&#xA;    Uri result;&#xA;    string urlPath = (Uri.TryCreate(url, UriKind.Absolute, out result) ? result.LocalPath : urlString.Path).TrimStart('/');&#xA;&#xA;    StringBuilder stringBuilder = new StringBuilder();&#xA;&#xA;    stringBuilder.Append(string.Format(&quot;{0}?&quot;, urlPath));&#xA;&#xA;    for (int i = 0; i &amp;lt; MediaManager.Config.RequestProtection.QueryParametersToProtect.Count; i++)&#xA;    {&#xA;        stringBuilder.Append(&#xA;            string.Format(&#xA;                &quot;{0}={1}&quot;,&#xA;                MediaManager.Config.RequestProtection.QueryParametersToProtect[i],&#xA;                urlString.Parameters[MediaManager.Config.RequestProtection.QueryParametersToProtect[i]]));&#xA;&#xA;        if (i &amp;lt; MediaManager.Config.RequestProtection.QueryParametersToProtect.Count - 1)&#xA;        {&#xA;            stringBuilder.Append(&quot;&amp;amp;&quot;);&#xA;        }&#xA;    }&#xA;&#xA;    return HashingUtils.ComputeHash(stringBuilder.ToString());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, the URL path &lt;em&gt;is&lt;/em&gt; used when creating the hash. It's appended to the &lt;code&gt;stringBuilder&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;stringBuilder.Append(string.Format(&quot;{0}?&quot;, urlPath));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;urlPath&lt;/code&gt; here will be equal to &lt;code&gt;/images/{22EB368A-4AD3-48C8-B1EB-1BC14DE0F7BF}-200-100.jpg&lt;/code&gt; in your example.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-09T14:19:56.930" LastActivityDate="2016-12-09T14:19:56.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3242" PostTypeId="1" AcceptedAnswerId="3243" CreationDate="2016-12-09T14:43:07.353" Score="2" ViewCount="1055" Body="&lt;p&gt;I have a site that has been upgraded from 7.5 to 8.1 and currently I'm on production deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used a new SQL reporting database and MongoDB collections.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that the campaigns hadn't been records if I accessed the Sitecore Analytics and checked the reports related to campaigns I can't see any data, In addition, the personalization rules based on campaigns are not working too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to redeploy marketing definitions from the control panel and I got the following error in log files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #11 2016:12:09 08:19:52 ERROR Exception&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;Nested Exception&#xA;Exception: System.NotImplementedException&#xA;Message: Rdb Taxonomy repositories do not support data export.&#xA;Source: Sitecore.Analytics&#xA;   at Sitecore.Analytics.Reporting.DefinitionData.Taxonomy.RdbTaxonomyRepository.GetAll(ID rootId)&#xA;   at Sitecore.Analytics.Reporting.DefinitionData.Taxonomy.Deployment.DeployManager.DeployAsync(ID rootId)&#xA;   at Sitecore.Analytics.Reporting.DefinitionData.Taxonomy.Deployment.DeployManager.Deploy(ID rootId)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="2727" LastEditDate="2018-04-02T13:26:06.443" LastActivityDate="2018-04-02T13:26:06.443" Title="Deploy Marketing Definitions Error &quot;Rdb Taxonomy repositories do not support data export&quot;" Tags="|xdb|configuration|marketing-definitions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3243" PostTypeId="2" ParentId="3242" CreationDate="2016-12-09T15:19:48.533" Score="4" Body="&lt;p&gt;Marketing definitions, such as campaigns, are stored and retrieved by using repositories, which may use different storage types. There are three repository types that are shipped with Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;item&lt;/code&gt;&lt;/strong&gt; repositories—these work with definition items directly in the content tree. The default database used is &lt;code&gt;master&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;rdb&lt;/code&gt;&lt;/strong&gt; repositories use the Reporting database. The reason for this is that some server roles (like the Processing role) may not have direct access to the Master database.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;remote&lt;/code&gt;&lt;/strong&gt; repositories are used in environments where the Sitecore instance doesn't have direct access to the Reporting database. To access marketing definitions, &lt;code&gt;remote&lt;/code&gt; repositories will query web services hosted on a remote reporting server.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I believe that your server is currently misconfigured to use &lt;strong&gt;&lt;code&gt;rdb&lt;/code&gt;&lt;/strong&gt; repositories for everything. The default repository for reading data on a CM server should be &lt;strong&gt;&lt;code&gt;item&lt;/code&gt;&lt;/strong&gt;, not &lt;strong&gt;&lt;code&gt;rdb&lt;/code&gt;&lt;/strong&gt;. Deploying marketing definitions from RDB to RDB wouldn't even make sense. Which is why you're seeing the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the default repositories are &lt;strong&gt;&lt;code&gt;item&lt;/code&gt;&lt;/strong&gt;, your configuration must have been patched to change it to &lt;strong&gt;&lt;code&gt;rdb&lt;/code&gt;&lt;/strong&gt;. You can easily verify that by opening &lt;code&gt;/sitecore/admin/ShowConfig.aspx&lt;/code&gt; and finding the following node under &lt;code&gt;sitecore/marketingDefinitions&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;marketingDefinitions.repository&quot; value=&quot;rdb&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This node will also contain a &lt;code&gt;patch:source&lt;/code&gt; attribute saying which .config file patched it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are several OOTB patch files that may have changed this variable:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.MarketingProcessingRole.config.disabled&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.MarketingReportingRole.config.disabled&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Xdb.Remote.Server.config.disabled&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If any of these files are not disabled, disable them. This will switch the variable &lt;code&gt;marketingDefinitions.repository&lt;/code&gt; back to using &lt;strong&gt;&lt;code&gt;item&lt;/code&gt;&lt;/strong&gt; as its value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To prevent configuration mistakes in the future, make sure to follow the server role documentation to the letter:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/xdb/configuring_servers/configuring_servers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/xdb/configuring_servers/configuring_servers&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-09T15:19:48.533" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3244" PostTypeId="1" AcceptedAnswerId="3255" CreationDate="2016-12-09T16:10:05.273" Score="7" ViewCount="4209" Body="&lt;p&gt;I am trying to create an an extension method to get all children of a derived type. This would be an extension method on my base glass item. But it returns &lt;code&gt;null&lt;/code&gt;. Here is my method:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I register my types for preload like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var attributes = new AttributeConfigurationLoader(&quot;DD.Domain&quot;);&#xA;return new IConfigurationLoader[]{ attributes };  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My base glass item has a &lt;code&gt;Children&lt;/code&gt; property like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(AutoMap = true)]&#xA;public partial interface IBaseGlassItem : ISitecoreItem&#xA;{&#xA;    [SitecoreChildren(InferType = true)]&#xA;    IEnumerable&amp;lt;IBaseGlassItem&amp;gt; Children { get; }&#xA;}&#xA;&#xA;public partial interface ISitecoreItem&#xA;{&#xA;    [SitecoreId]&#xA;    ID ID { get; set; }&#xA;    [SitecoreInfo(SitecoreInfoType.TemplateId)]&#xA;    ID TemplateID { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I try to get some items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static IEnumerable&amp;lt;TChild&amp;gt; GetChildrenDerivedFrom&amp;lt;TChild&amp;gt;(this IBaseGlassItem item, ID templateId)&#xA;         where TChild : class, IBaseGlassItem&#xA;    {           &#xA;        var children = item.Children.Where(c =&amp;gt; c.IsDerived(templateId)).OfType&amp;lt;TChild&amp;gt;();&#xA;        return children;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is my type that I am actually trying to get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(AutoMap = true, TemplateId = PromotionOrEventDetailsFieldsConstants.TemplateIdString)]&#xA;public interface IPromotionOrEventDetailFields : IBaseGlassItem&#xA;{&#xA;    [SitecoreField]&#xA;    Image Image { get; set; }&#xA;&#xA;    [SitecoreField]&#xA;    string HoverText { get; set; }&#xA;&#xA;    [SitecoreField]&#xA;    string ShortTitle { get; set; }&#xA;&#xA;    [SitecoreField]&#xA;    string Caption { get; set; }&#xA;&#xA;    [SitecoreField]&#xA;    Item ColorTheme { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But this never works because the &lt;code&gt;.OfType&amp;lt;Tchild&amp;gt;&lt;/code&gt; ends up returning &lt;code&gt;null&lt;/code&gt; because it thinks the children are of type &lt;code&gt;IBaseGlassItem&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspect that maybe my types are not registered but how can I confirm this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I figured out how to view what Glass Mapper has registered, and that is not the problem. My item is registered.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2016-12-09T18:08:39.070" LastActivityDate="2016-12-09T18:29:03.757" Title="Glass Mapper Get Children Derived From Type" Tags="|glass-mapper|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3245" PostTypeId="2" ParentId="3244" CreationDate="2016-12-09T16:16:44.783" Score="3" Body="&lt;p&gt;In the line where you're returning a &lt;strong&gt;new IConfigurationLoader&lt;/strong&gt;, you're not adding the &lt;strong&gt;attributes&lt;/strong&gt; variable to the array:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var attributes = new AttributeConfigurationLoader(&quot;DD.Domain&quot;);&#xA;return new IConfigurationLoader[]{};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update the return line to this and it should work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return new IConfigurationLoader[]{ attributes };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="38" LastActivityDate="2016-12-09T16:16:44.783" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3246" PostTypeId="2" ParentId="3244" CreationDate="2016-12-09T16:20:14.473" Score="0" Body="&lt;h3&gt;Things to Confirm First&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Make sure that on all your glass interfaces that inherit your &lt;code&gt;IBaseGlassItem&lt;/code&gt; type you specify the &lt;code&gt;TemplateID&lt;/code&gt; parameter of the &lt;code&gt;[SitecoreType(...)]&lt;/code&gt; attribute (used to decorate the type itself). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also make sure that you specify the glass interface's &lt;code&gt;TemplateID&lt;/code&gt; property (you can call it something else, if you want to) and decorate it with the &lt;code&gt;[SitecoreInfo(SitecoreInfoType.TemplateId)]&lt;/code&gt; on your &lt;code&gt;IBaseGlassItem&lt;/code&gt;, as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without these changes, your container will not be able to infer the type of your model, thus making the &lt;code&gt;inferType&lt;/code&gt; parameter into a proverbial paperweight. This is because Glass.Mapper must be able to compare the &lt;code&gt;TemplateID&lt;/code&gt; of the &quot;item proxy&quot; that is being cast to &lt;code&gt;IBaseGlassItem&lt;/code&gt; with the types that Castle Windsor registered on &lt;code&gt;App_Start&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Listing Registered Types with Castle Windsor&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;While I have not done this myself, if you are using Castle Windsor with Glass.Mapper then the following code (copied from &lt;a href=&quot;https://stackoverflow.com/a/1550903/1506793&quot;&gt;this post&lt;/a&gt;) may work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IWindsorContainer container = ...&#xA;&#xA;foreach (var handler in container.Kernel.GetAssignableHandlers(typeof(object))) {&#xA;    Console.WriteLine(&quot;{0} {1}&quot;, &#xA;       handler.ComponentModel.Service, &#xA;       handler.ComponentModel.Implementation);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Listing Registered Types with Unity&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you are using Unity with Glass.Mapper, then &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/dn507416%28v=pandp.30%29.aspx?f=255&amp;amp;MSPPError=-2147217396&quot; rel=&quot;nofollow noreferrer&quot;&gt;this page&lt;/a&gt; of the Unity MSDN documentation may have what you are looking for. The relevant code is this example method on the page for writing information for all registrations to the &lt;code&gt;Console&lt;/code&gt; (which you would probably just change to &lt;code&gt;Log.Audit&lt;/code&gt; and trim the logged information to be more specific to your needs):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;void DisplayContainerRegistrations(IUnityContainer theContainer)&#xA;{&#xA;    string regName, regType, mapTo, lifetime;&#xA;    Console.WriteLine(&quot;Container has {0} Registrations:&quot;,&#xA;            theContainer.Registrations.Count());&#xA;&#xA;    foreach (ContainerRegistration item in theContainer.Registrations)&#xA;    {&#xA;        regType = item.RegisteredType.Name;&#xA;        mapTo = item.MappedToType.Name;&#xA;        regName = item.Name ?? &quot;[default]&quot;;&#xA;        lifetime = item.LifetimeManagerType.Name;&#xA;&#xA;        if (mapTo != regType)&#xA;        {&#xA;            mapTo = &quot; -&amp;gt; &quot; + mapTo;&#xA;        }&#xA;        else&#xA;        {&#xA;            mapTo = string.Empty;&#xA;        }&#xA;&#xA;        lifetime = lifetime.Substring(0, lifetime.Length - &quot;LifetimeManager&quot;.Length);&#xA;&#xA;        Console.WriteLine(&quot;+ {0}{1}  '{2}'  {3}&quot;, regType, mapTo, regName, lifetime);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-09T17:41:29.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3247" PostTypeId="1" AcceptedAnswerId="3264" CreationDate="2016-12-09T16:28:41.530" Score="1" ViewCount="680" Body="&lt;p&gt;I have recently upgraded to Sitecore 8.2 initial release from Sitecore 8.1 Update 2. I was looking for an upgrade for the Weblog module for sitecore 8.2 as there are lots of changes happened and the weblog doesn't work anymore. Any idea if there is an upgrade or a new weblog module i can use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="838" LastEditorUserId="73" LastEditDate="2016-12-09T18:14:07.477" LastActivityDate="2016-12-10T10:39:43.143" Title="Weblog Module for Sitecore 8.2 initial release" Tags="|weblog|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3248" PostTypeId="2" ParentId="3094" CreationDate="2016-12-09T16:37:22.463" Score="4" Body="&lt;p&gt;Admittedly I'm not entirely sure what you're aiming for, but some general points that may be relevant:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Administration within a sitecore security domain.&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you want to allow each domain to administer itself without being able to interact with other domain roles, you may need them to be separate. If using locally managed domains, An admin of a domain can manage users within that domain only and assign roles from that domain. They can't see roles or users from other domains.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Global roles&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Global roles are useful when you want an a role that &lt;em&gt;is&lt;/em&gt; visible to all security domains. They are defined in &lt;code&gt;\App_Config\Security\GlobalRoles.config&lt;/code&gt;. If you are carefully limiting roles that can be assigned within a domain, something you may want to do is to remove the default global roles so that only the roles you create within a domain are visible.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I know that I can assign roles from different domains to a user, but are there any negatives of doing this?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If using locally managed domains I think only a real admin can do this, unless the roles are defined as Global Roles. If you want to safely delegate role assignments to user admins, then you either need to make the global roles or use roles within each domain.&lt;/p&gt;&#xA;" OwnerUserId="898" LastEditorUserId="898" LastEditDate="2016-12-12T18:12:46.840" LastActivityDate="2016-12-12T18:12:46.840" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3249" PostTypeId="2" ParentId="3217" CreationDate="2016-12-09T16:46:13.533" Score="3" Body="&lt;p&gt;A lot of changes was made to the EXM UI between 3.2 and 3.3. Your problem is that the Validation.js was moved from the /sitecore/shell/client/Applications/ECM/EmailCampaign.Client‌​/Component/ folder to the /sitecore/shell/client/Applications/ECM/EmailCampaign.Client/Component/Validation folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;These changes should have been automatically applied during the upgrade (I'm looking at the 3.2 -&gt; 3.3 upgrade package right now, and the definitions are correct), so for some reason your upgrade didn't make all of the changes. You can pretty easily fix this problem by removing the old Validation.js and adding the new Validation.js, but I'd be vary of doing that without fully understanding what other (if any) changes have not been applied. I suggest creating a clean EXM 3.3 install and diff'ing with your upgrade installation, looking for any differences.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2016-12-09T16:57:49.660" LastActivityDate="2016-12-09T16:57:49.660" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3250" PostTypeId="1" AcceptedAnswerId="3252" CreationDate="2016-12-09T17:19:56.267" Score="6" ViewCount="284" Body="&lt;p&gt;Typical usage of search api uses a using statement to dispose of the search context.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; using (var context = ContentSearchManager.GetIndex(_indexName).CreateSearchContext())&#xA; {&#xA;     var hits = context.GetQueryable&amp;lt;SearchResult&amp;gt;();&#xA;     return hits;&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This runs into a problem with hits.result or lucene reader being disposed  before it can be used by the calling method. This may be more likely if creating a search service rather than calling this (for example) within an MVC controller.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Often this disposal problem is addressed by calling ToList() creating an &lt;code&gt;IEnumerable&amp;lt;SearchResult&amp;gt;&lt;/code&gt; and returning that instead.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return hits.ToList()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By doing this, we loose hits.GetResults() and the properties within - &lt;code&gt;Hits&lt;/code&gt;, &lt;code&gt;TotalSearchResults&lt;/code&gt; and &lt;code&gt;Facets&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative approach mentioned is to use a single search context that is not disposed and instead reused across the application. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Question&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is using a single, reused context a good approach?&lt;/li&gt;&#xA;&lt;li&gt;Are there any&#xA;pitfalls?&lt;/li&gt;&#xA;&lt;li&gt;Are there any good code examples of doing this, possibly&#xA;with a dependency injection framework handling a singleton.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="898" LastActivityDate="2016-12-09T18:06:16.150" Title="Singleton search context for search api" Tags="|content-search|lucene|dependency-injection|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3251" PostTypeId="1" AcceptedAnswerId="3253" CreationDate="2016-12-09T17:35:31.223" Score="6" ViewCount="657" Body="&lt;p&gt;I created several custom tags in my TagRepository folder that work great, but when I look at them in a bucket they display as GUIDs.  After some research, I implemented a computed index field that displays the tags as their actual text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the problem I am running into is the fact that the computed index field  delimits spaces as separate tags (for example &quot;Evening MBA&quot; gets rendered as &quot;Evening&quot; and &quot;MBA&quot; separately).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Supposedly a Lucene analyzer should be able to fix this but it doesn't seem to work and I'm not seeing any relevant errors in my Sitecore logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My included config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultLuceneIndexConfiguration&amp;gt;&#xA;          &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;tagsfacet&quot; storageType=&quot;yes&quot; indexType=&quot;untokenized&quot; returnType=&quot;string&quot;&amp;gt;WSB.CMS.Utilities.ComputedIndexFields, WSB.CMS.Utilities&amp;lt;/field&amp;gt;&#xA;          &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;fieldMap&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;tagsfacet&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;Analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;        &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Computed Index Field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class ComputedIndexFields : IComputedIndexField&#xA;    {&#xA;        public string FieldName { get; set; }&#xA;        public string ReturnType { get; set; }&#xA;&#xA;        private static readonly ID Semantics = new ID(&quot;{A14F1B0C-4384-49EC-8790-28A440F3670C}&quot;);&#xA;&#xA;        public object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;            var indexableItem = indexable as SitecoreIndexableItem;         &#xA;&#xA;            return indexableItem == null ? null : indexableItem.Item.GetMultiListValues(Semantics).Select(tag =&amp;gt; tag.DisplayName).ToList();&#xA;        }&#xA;    }&#xA;&#xA;    public static class HelperMethods&#xA;    {&#xA;        public static IEnumerable&amp;lt;Item&amp;gt; GetMultiListValues(this Item item, ID fieldId)&#xA;        {&#xA;            return (new MultilistField(item.Fields[fieldId])).GetItems();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1269" LastEditorUserId="420" LastEditDate="2016-12-09T19:07:39.787" LastActivityDate="2018-01-23T17:56:40.350" Title="Display custom bucket tags by name instead of GUID Sitecore 8.1" Tags="|lucene|buckets|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3252" PostTypeId="2" ParentId="3250" CreationDate="2016-12-09T18:06:16.150" Score="7" Body="&lt;h2&gt;Is using a single, reused context a good approach?&lt;/h2&gt;&#xA;&lt;p&gt;Yes. It is the recommended approach.&lt;/p&gt;&#xA;&lt;h2&gt;Are there any pitfalls?&lt;/h2&gt;&#xA;&lt;p&gt;Yes. New documents added to your indexes will not show, until you re-open a new Search Context. So you may need to tie in your SearchContext to index update events.&lt;/p&gt;&#xA;&lt;h2&gt;Are there any good code examples of doing this, possibly with a dependency injection framework handling a singleton.&lt;/h2&gt;&#xA;&lt;p&gt;Because of the pitfalls, setting this up in a DI Singleton is probably not a good idea. For an on-source reference and explanation, see &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-patterns-for-global-search-context-reuse&quot; rel=&quot;noreferrer&quot;&gt;Sitecore 7 Patterns for Global Search Context Reuse&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-09T18:06:16.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3253" PostTypeId="2" ParentId="3251" CreationDate="2016-12-09T18:14:16.987" Score="6" Body="&lt;p&gt;Your field is configured &lt;code&gt;TOKENIZED&lt;/code&gt;, change it to &lt;code&gt;UNTOKENIZED&lt;/code&gt; so that the values are not split when stored in the index.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;tagsfacet&quot; indexType=&quot;UNTOKENIZED&quot; ...&amp;gt;&#xA;  ....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-12-09T18:14:16.987" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3254" PostTypeId="1" AcceptedAnswerId="3372" CreationDate="2016-12-09T18:23:55.820" Score="4" ViewCount="1467" Body="&lt;p&gt;I got the following error in the log files of my upgraded site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2628 2016:12:09 13:07:13 ERROR Media request analytics failed&#xA;Exception: System.InvalidOperationException&#xA;Message: Tracker.Current.Session.Interaction is not initialized&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.IsNotNull(Object value, String message)&#xA;   at Sitecore.Analytics.Media.MediaRequestEventHandler.OnMediaRequest(Object sender, EventArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas what is the cause of this?&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2016-12-15T00:07:12.447" Title="Media Request Analytics Failed" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3255" PostTypeId="2" ParentId="3244" CreationDate="2016-12-09T18:29:03.757" Score="0" Body="&lt;p&gt;My problem is not solved, but technically I figured out the answer to my question, which was how to view what is registered by Glass.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In GlassMapperSc.cs, which comes with Glass MApper, you can view the GlassContext and peruse the TypeConfigurations property to view what is registered.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2016-12-09T18:29:03.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3256" PostTypeId="2" ParentId="3247" CreationDate="2016-12-09T19:20:50.260" Score="0" Body="&lt;p&gt;I'm sure it's getting worked on, but no release date has been announced as far as I know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module is open source (&lt;a href=&quot;https://github.com/WeTeam/WeBlog&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/WeTeam/WeBlog&lt;/a&gt;) so you could fork the project and fix the issues/bugs when running on Sitecore 8.2 to get you by for now. I would at least file bugs for issues you have run into so they can be tracked. &lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2016-12-09T19:20:50.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3257" PostTypeId="2" ParentId="3251" CreationDate="2016-12-09T20:33:16.933" Score="2" Body="&lt;p&gt;Assuming that your original issue was the fact that your facet was displayed as guid instead of a more readable name, I might have an answer to that problem instead of your question. There is a setting in Sitecore called &lt;code&gt;ResolveFacetValueToFriendlyName&lt;/code&gt; which is false by default, but enabling it tells Sitecore to try to resolve the guids in facets:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA; RESOLVE FACET VALUE TO FRIENDLY NAME&#xA;   If you are storing a field in the index that is being faceted on, it may be stored as an ID. This Setting&#xA;   when set to true, will try and resolve this to the friendly item name instead. &#xA;&#xA;   USAGE: In an environment with huge amounts of items (e.g. 1 Million), this will not scale properly.           &#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;BucketConfiguration.ResolveFacetValueToFriendlyName&quot; value=&quot;false&quot; patch:source=&quot;Sitecore.Buckets.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A good explanation with screenshots can be found here: &lt;a href=&quot;http://techitpro.com/uncategorized/sitecore-faceting-list-and-link-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://techitpro.com/uncategorized/sitecore-faceting-list-and-link-fields/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="228" LastEditDate="2018-01-23T17:56:40.350" LastActivityDate="2018-01-23T17:56:40.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3258" PostTypeId="1" AcceptedAnswerId="3265" CreationDate="2016-12-09T21:32:33.313" Score="5" ViewCount="1551" Body="&lt;p&gt;On a clean install of Sitecore 8.2.1 with EXM 3.4 installed, we're receiving a message of &quot;A serious error occurred please contact the administrator&quot; when attempting to add an Included List in the Recipients section of a new Email Experience Manager campaign.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HvAt2.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HvAt2.jpg&quot; alt=&quot;EXM error message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the EXM log we see this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;6988 10:58:45 ERROR Empty strings are not allowed.&#xA;Parameter name: listId&#xA;Exception: System.ArgumentException&#xA;Message: Empty strings are not allowed.&#xA;Parameter name: listId&#xA;Source: Sitecore.Kernel&#xA;at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)&#xA;       at Sitecore.ListManagement.ListManager'2.FindById(String listId)&#xA;       at Sitecore.Modules.EmailCampaign.RecipientManager.GetGlobalOptOutRecipients()&#xA;       at Sitecore.Modules.EmailCampaign.RecipientManager.GetTargetRecipientCountFromGlobalOptOutList()&#xA;      at Sitecore.Modules.EmailCampaign.Core.MessageStateInfo.get_NumSubscribersFromGlobalOptOutList()&#xA;   at Sitecore.EmailCampaign.Server.Services.MessageInfoService.GetRecipientsFromGlobalOptOutList(MessageStateInfo info)&#xA;   at System.Linq.Enumerable.WhereSelectListIterator'2.MoveNext()&#xA;   at System.Linq.Enumerable.WhereSelectEnumerableIterator'2.MoveNext()&#xA;   at System.Collections.Generic.List'1..ctor(IEnumerable'1 collection)&#xA;   at System.Linq.Enumerable.ToList[TSource](IEnumerable'1 source)&#xA;   at Sitecore.EmailCampaign.Server.Controllers.MessageInfo.MessageInfoController.MessageInfo(MessageInfoContext data)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1270" LastEditorUserId="104" LastEditDate="2016-12-10T14:10:26.200" LastActivityDate="2016-12-10T14:10:26.200" Title="EXM error: Empty strings are not allowed. Parameter name: listId" Tags="|exm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3259" PostTypeId="1" AcceptedAnswerId="3260" CreationDate="2016-12-09T22:51:40.187" Score="2" ViewCount="663" Body="&lt;p&gt;We are planning to build a site from scratch on Sitecore &lt;code&gt;8.2 update 1&lt;/code&gt; and are struggling to decide between Azure PaaS and IaaS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While we are excited about PaaS, we feel organization wise, we are not ready to dive into PaaS just yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming there is an opportunity to move to PaaS in future, is the path to developing Sitecore sites same for both IaaS and PaaS? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How easy or difficult would it be to move an existing site written in &lt;code&gt;8.2 update 1&lt;/code&gt; non-Azure to Azure PaaS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any architecture guidelines we need to follow so that future PaaS migration is possible?&lt;/p&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2017-02-21T14:52:23.537" Title="Migrating to Azure PaaS" Tags="|azure|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3260" PostTypeId="2" ParentId="3259" CreationDate="2016-12-09T23:25:51.000" Score="6" Body="&lt;p&gt;Saying &quot;I'm not ready for PaaS&quot; is like saying &quot;I'm not ready to get my electricity from a hole in the wall, we want to see all the Tesla coils actually &lt;em&gt;generating&lt;/em&gt; the electricity so we can be sure it's real electricity. We need to control how often the coils are cleaned.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Azure PaaS is just IIS without all the Windows bits accessible.  If you're making a website, why do you care about the O/S hosting the web server?  The world has been using PaaS web servers in the form of cPanel for an eon from every small hosting shop anywhere.  This is not cutting edge stuff.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The good news is that you can build your site with almost no consideration for PaaS or Iaas (remember PaaS is just someone else's computer) as they are really just both IIS in the end.  There are a few platform considerations you need to make if you plan to scale your environment, though.  When you need to go to 2 instances, you need to treat it like 2 servers behind a load balancer with a shared file system (can you guess why? 'cause that's what it is). In this setup Solr is better than Lucene, Redis/Mongo session is better than InProc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The remaining considerations (like the Sitecore &quot;data&quot; folder handling) should be managed through the platform itself.  I haven't had a close look at 8.2.1 yet but I'm reliably informed the last few bit that caused complications have been re-engineered to cope properly.  Either way, adding the &lt;code&gt;{COMPUTERNAME}&lt;/code&gt; into file system paths will usually suffice to keep instances from tripping over each other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd suggest running your CM on a single instance though, unless you have &lt;em&gt;very&lt;/em&gt; heavy publishing needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget that you can attach a debugger to a PaaS IIS just like you can with a VM.  What else does the VM really give you that you can't give up?  There's so many good reasons to go Paas:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Automatic backups&lt;/li&gt;&#xA;&lt;li&gt;Multiple deployment slots&lt;/li&gt;&#xA;&lt;li&gt;Fast scaling&lt;/li&gt;&#xA;&lt;li&gt;No more Windows updates&lt;/li&gt;&#xA;&lt;li&gt;No O/S &quot;hardening&quot;&lt;/li&gt;&#xA;&lt;li&gt;Minimal attack surface&lt;/li&gt;&#xA;&lt;li&gt;No more infrastructure to configure and maintain&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;NICs&lt;/li&gt;&#xA;&lt;li&gt;Firewalls / Network security groups&lt;/li&gt;&#xA;&lt;li&gt;Virtual networks&lt;/li&gt;&#xA;&lt;li&gt;Disks &amp;amp; disk space management&lt;/li&gt;&#xA;&lt;li&gt;Swap space&lt;/li&gt;&#xA;&lt;li&gt;Memory management&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What's not to like?&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-12-09T23:25:51.000" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3261" PostTypeId="1" AcceptedAnswerId="3280" CreationDate="2016-12-10T02:17:55.313" Score="2" ViewCount="450" Body="&lt;p&gt;I am implementing custom xDB facets in Sitecore 8.1-3. I have a facet called &quot;Marketing Data&quot;. Most of the elements of &quot;Marketing Data&quot; are simple strings. I also have an element called &quot;Shipping Addresses&quot; that is a list of &quot;Address&quot; elements. It is unclear to me how to add a new element to the list.  I see that the IElementCollection class has a Create method, but no Add method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Marketing Data facet interface looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IMarketingData : IFacet&#xA;{&#xA;    string Organization { get; set; }&#xA;    string Industries { get; set; }&#xA;    string ProductTypes { get; set; }&#xA;    IElementCollection&amp;lt;IAddress&amp;gt; ShippingAddresses { get; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The implementation of Marketing Data looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;public class MarketingData : Facet, IMarketingData&#xA;{&#xA;    private const string ORGANIZATION = &quot;Organization&quot;;&#xA;    private const string INDUSTRIES = &quot;Industries&quot;;&#xA;    private const string SHIPPINGADDRESSES = &quot;ShippingAddresses&quot;;&#xA;    private const string PRODUCTTYPES = &quot;ProductTypes&quot;;&#xA;&#xA;    public string Organization&#xA;    {&#xA;        get { return GetAttribute&amp;lt;string&amp;gt;(ORGANIZATION); }&#xA;        set { SetAttribute(ORGANIZATION, value); }&#xA;    }&#xA;&#xA;    public string Industries&#xA;    {&#xA;        get { return GetAttribute&amp;lt;string&amp;gt;(INDUSTRIES); }&#xA;        set { SetAttribute(INDUSTRIES, value); }&#xA;    }&#xA;&#xA;    public IElementCollection&amp;lt;IAddress&amp;gt; ShippingAddresses&#xA;    {&#xA;        get { return GetCollection&amp;lt;IAddress&amp;gt;(SHIPPINGADDRESSES); }&#xA;    }&#xA;&#xA;    public string ProductTypes&#xA;    {&#xA;        get { return GetAttribute&amp;lt;string&amp;gt;(PRODUCTTYPES); }&#xA;        set { SetAttribute(PRODUCTTYPES, value); }&#xA;    }&#xA;&#xA;    public MarketingData()&#xA;    {&#xA;        EnsureAttribute&amp;lt;string&amp;gt;(ORGANIZATION);&#xA;        EnsureAttribute&amp;lt;string&amp;gt;(INDUSTRIES);&#xA;        EnsureCollection&amp;lt;IAddress&amp;gt;(SHIPPINGADDRESSES);&#xA;        EnsureAttribute&amp;lt;string&amp;gt;(PRODUCTTYPES);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The interface for my address facet looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IAddress : IElement&#xA;{&#xA;    Guid Id { get; set; }&#xA;    string Company { get; set; }&#xA;    string Address1 { get; set; }&#xA;    string Address2 { get; set; }&#xA;    string City { get; set; }&#xA;    string Country { get; set; }&#xA;    string State { get; set; }&#xA;    string PostalCode { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I have code where I want to add a new address to an existing contact. It looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...code to get a contact from xDB and put it in lockedContact variable...&#xA;&#xA;var marketingInfo = lockedContact.GetFacet&amp;lt;IMarketingData&amp;gt;(&quot;Marketing Data&quot;);&#xA;&#xA;marketingInfo.Organization = txtOrganization.Text;&#xA;marketingInfo.Industries = txtIndustries.Text;&#xA;marketingInfo.ProductTypes = txtProductTypes.Text;&#xA;&#xA;var newAddress = marketingInfo.ShippingAddresses.Create(); //Fails here&#xA;newAddress.Address1 = txtAddress1.Text;&#xA;newAddress.Address2 = txtAddress2.Text;&#xA;newAddress.City = txtCity.Text;&#xA;newAddress.State = txtState.Text;&#xA;newAddress.Country = txtCountry.Text;&#xA;newAddress.PostalCode = txtPostalCode.Text;&#xA;newAddress.Company = txtCompany.Text;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I using the Create method correctly? It doesn't seem like there is any way to pass an object in to the Create method so I am unsure how I would set the different address properties.&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2016-12-10T16:14:42.027" LastActivityDate="2016-12-12T15:32:00.303" Title="How to add a custom xDB facet to an IElementCollection facet" Tags="|xdb|contact-facets|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3262" PostTypeId="1" CreationDate="2016-12-10T02:44:21.740" Score="1" ViewCount="6347" Body="&lt;p&gt;In my code, I'm trying to access the root path for the current site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say I'm accessing my website &lt;code&gt;http://mywebsite&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the site definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site&#xA;  patch:before=&quot;site[@name='website']&quot;&#xA;  name=&quot;SomeSite&quot;&#xA;  hostName=&quot;mywebsite&quot;&#xA;  rootPath=&quot;/sitecore/content/Somesite&quot;&#xA;  startItem=&quot;/home&quot;&#xA;  database=&quot;master&quot;&#xA;  loginPage=&quot;/login&quot;&#xA;  ...&#xA;  /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to get the root path, all methods I've tried return &lt;code&gt;/sitecore/content&lt;/code&gt;. What I want to get is &lt;code&gt;/sitecore/content/Somesite&lt;/code&gt;, which is what I've specified on the site definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Context.Site.RootPath&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;foreach(var site in Sitecore.Configuration.Factory.GetSiteInfoList())&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Context.Site.ContentStartPath&lt;/code&gt; (which returns &lt;code&gt;null&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is there something I'm missing, like passing the current hostname or something that can pick the complete root path?&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="104" LastEditDate="2016-12-10T16:12:20.437" LastActivityDate="2016-12-10T16:12:20.437" Title="Unable to get the correct `rootPath` from Sitecore.Context.Site" Tags="|configuration|site-configuration|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3263" PostTypeId="2" ParentId="3262" CreationDate="2016-12-10T03:31:44.880" Score="3" Body="&lt;p&gt;Here's how I solved the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, I created a helper method &lt;code&gt;GetSiteContext&lt;/code&gt; that returns a &lt;code&gt;SiteContext&lt;/code&gt; object based on a URL. This helper method iterates through all configured sites and tries to match them to the host name of the URL. If no site matches, the context of the &lt;code&gt;website&lt;/code&gt; is returned.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static SiteContext GetSiteContext(Uri requestUrl)&#xA;{&#xA;    Assert.ArgumentNotNull(requestUrl, &quot;requestUrl&quot;);&#xA;    string requestHostName = requestUrl.Host;&#xA;&#xA;    foreach (SiteInfo siteInfo in Factory.GetSiteInfoList())&#xA;    {&#xA;        if (IsMatch(requestHostName, siteInfo.HostName) || IsMatch(requestHostName, siteInfo.TargetHostName))&#xA;        {&#xA;            return new SiteContext(siteInfo);&#xA;        }&#xA;    }&#xA;&#xA;    return SiteContext.GetSite(&quot;website&quot;);&#xA;}&#xA;&#xA;private static bool IsMatch(string input, string wildcardPattern)&#xA;{&#xA;    if (string.IsNullOrWhiteSpace(input) || string.IsNullOrWhiteSpace(wildcardPattern))&#xA;    {&#xA;        return false;&#xA;    }&#xA;&#xA;    string regexPattern = WildcardToRegex(wildcardPattern);&#xA;    return Regex.IsMatch(input, regexPattern, RegexOptions.IgnoreCase);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can see a usage example below. In this code, I am obtaining a site context based on the current request URL.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var siteContext = GetSiteContext(HttpContext.Current.Request.Url);&#xA;Item item;&#xA;&#xA;if (siteContext != null)&#xA;{&#xA;     item = DatabaseProvider.MasterDatabase.GetItem(siteContext.RootPath + siteContext.StartItem);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Articles that helped me in resolving the issue:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://reasoncodeexample.com/2014/10/24/resolving-the-sitecontext-by-url/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://reasoncodeexample.com/2014/10/24/resolving-the-sitecontext-by-url/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2016/05/30/sitecore-get-host-name-from-a-different-context/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2016/05/30/sitecore-get-host-name-from-a-different-context/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://firebreaksice.com/sitecore-context-site-resolution/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://firebreaksice.com/sitecore-context-site-resolution/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://soen.ghost.io/sitecore-sitecontext-and-contextdatabase-oh-my/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://soen.ghost.io/sitecore-sitecontext-and-contextdatabase-oh-my/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://ctor.io/correctly-switching-sitecore-contextes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ctor.io/correctly-switching-sitecore-contextes/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="102" LastEditorUserId="104" LastEditDate="2016-12-10T16:00:57.483" LastActivityDate="2016-12-10T16:00:57.483" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3264" PostTypeId="2" ParentId="3247" CreationDate="2016-12-10T10:39:43.143" Score="4" Body="&lt;p&gt;Latest released version was &lt;strong&gt;WeBlog 2.4&lt;/strong&gt; which supports &lt;strong&gt;Sitecore 7.0, 7.2, 7.5, 8.0&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Versions for &lt;strong&gt;8.1&lt;/strong&gt; and &lt;strong&gt;8.2&lt;/strong&gt; were not released yet, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once we release it you will find packages here: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Marketplace:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/W/WeBlog.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/W/WeBlog.aspx?sc_lang=en&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Github repository:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://github.com/WeTeam/WeBlog/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/WeTeam/WeBlog/releases&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We are currently testing release packages and everything looks promising.&#xA;We need to close all these &lt;a href=&quot;https://github.com/WeTeam/WeBlog/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22release+3.0%22&quot; rel=&quot;nofollow noreferrer&quot;&gt;issues&lt;/a&gt; before the release. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cannot say anything more regarding ETA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our plan is to support every version starting from Sitecore &lt;strong&gt;7.2&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some packages might appear earlier than the other.&#xA;The highest priority have versions &lt;strong&gt;8.1&lt;/strong&gt; and &lt;strong&gt;8.2&lt;/strong&gt; &lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-12-10T10:39:43.143" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="3265" PostTypeId="2" ParentId="3258" CreationDate="2016-12-10T14:00:25.747" Score="12" Body="&lt;p&gt;Your problem is that the default settings i.e. the manager root has not been created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to the EXM dashboard, click the Default Settings button and enter the details. The settings are explained &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/setting_up_exm/the_exm_default_settings&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When creating the manager root, a Global Opt-Out list is created. This list does not exist in your environment, which is why you're seeing the error.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2016-12-10T14:00:25.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3266" PostTypeId="1" AcceptedAnswerId="3271" CreationDate="2016-12-10T16:23:21.020" Score="2" ViewCount="1430" Body="&lt;p&gt;After installing Sitecore and adding my existing working project, I am getting an error when I select the site Home item from the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The stack trace is as below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Method not found: 'Sitecore.Caching.Cache Sitecore.Caching.CustomCache.get_InnerCache()'.&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.MissingMethodException: Method not found: 'Sitecore.Caching.Cache Sitecore.Caching.CustomCache.get_InnerCache()'.&#xA;&#xA;Stack Trace: &#xA;&#xA;[MissingMethodException: Method not found: 'Sitecore.Caching.Cache Sitecore.Caching.CustomCache.get_InnerCache()'.]&#xA;   Sitecore.Social.MessagePosting.Cache.MessagesByContainerCache.ContainsKey(MessagesByContainerCacheKey key) +0&#xA;   Sitecore.Social.MessageBusinessManager.SearchMessagesByContainer(String container) +131&#xA;   Sitecore.Social.MessageBusinessManager.GetMessagesCount(String container) +16&#xA;   Sitecore.Social.Client.MessagePosting.Commands.SocialCenter.RunGetHeader(CommandContext context, String header) +342&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.FillParamsFromCommand(CommandContext commandContext, RibbonCommandParams ribbonCommandParams) +94&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.GetCommandParameters(Item controlItem, CommandContext commandContext) +79&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderLargeButton(HtmlTextWriter output, Item button, CommandContext commandContext) +78&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter output, Item button, CommandContext commandContext) +440&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext) +343&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual, String id) +244&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual) +161&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunks(HtmlTextWriter output, Item strip, CommandContext commandContext, Boolean isContextual) +449&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item ribbon, Boolean isContextual, ListString visibleStripList) +1807&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item defaultRibbon, Item contextualRibbon, ListString visibleStripList) +162&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.Render(HtmlTextWriter output) +800&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   Sitecore.Web.HtmlUtil.RenderControl(Control ctl) +80&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateRibbon(Item folder, Boolean isCurrentItemChanged, Boolean showEditor) +502&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update() +600&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e) +172&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;   Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +143&#xA;   System.Web.UI.Control.PreRenderRecursiveInternal() +107&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7675&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="306" LastEditorUserId="104" LastEditDate="2016-12-13T07:50:48.030" LastActivityDate="2016-12-13T07:50:48.030" Title="Sitecore 8.2 Update 1 error: Method not found: Sitecore.Caching.CustomCache.get_InnerCache()" Tags="|sitecore-client|upgrade|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3267" PostTypeId="2" ParentId="1998" CreationDate="2016-12-10T16:50:34.243" Score="3" Body="&lt;p&gt;with the release of Sitecore 8.2, Sitecore added a lot of hardening in their packages. after downloading the the toolkit, you can find all hardenings in  the cargopayload folder: all the enabled/disabled patchfiles and the transformations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Download the toolkit at: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit/1x/Sitecore_Azure_Toolkit_100.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit/1x/Sitecore_Azure_Toolkit_100.aspx&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-12-10T16:50:34.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3268" PostTypeId="1" CreationDate="2016-12-10T18:06:12.543" Score="3" ViewCount="290" Body="&lt;p&gt;We have our xDB setup on one of our server and we are now migrating to xDB cloud. We have just taken xDB cloud subscription. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please suggest the tool to migrate the content?&lt;/p&gt;&#xA;" OwnerUserId="1226" LastEditorUserId="104" LastEditDate="2016-12-12T12:17:22.767" LastActivityDate="2017-11-10T10:40:51.837" Title="Migrating xDB data to cloud" Tags="|xdb|cloud|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3270" PostTypeId="2" ParentId="3268" CreationDate="2016-12-11T15:29:30.403" Score="1" Body="&lt;p&gt;I'm not aware of any Sitecore specific tools that will help migrating to the cloud. Instead, look at MongoDb migration &quot;tools&quot;. The easiest would be to do a backup/restore similar to SQL.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;mongodump --db newdb --out /var/backups/mongobackups/`date +&quot;%m-%d-%y&quot;`&#xA;&#xA;mongorestore --db newdb --drop /var/backups/mongobackups/12-11-16/newdb/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would reach out to Sitecore to see whether they can execute the restore for you.&lt;/p&gt;&#xA;" OwnerUserId="98" LastActivityDate="2016-12-11T15:29:30.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3271" PostTypeId="2" ParentId="3266" CreationDate="2016-12-12T02:25:47.337" Score="3" Body="&lt;p&gt;You have dlls that are old and new in your bin directory. Back up your bin folder of your current site. Then open the Sitecore zip file for 8.2 rev  161115. Copy all the dlls from the bin folder in the zip into your bin folder and test. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;How the dlls got there&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You should check your deployments for this site to make sure that old dlls are not coming from development. Also use &lt;a href=&quot;https://jermdavis.wordpress.com/2016/09/05/the-official-sitecore-nuget-feed-is-here/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's nuget&lt;/a&gt; for your references in Visual studio. This will help keep them are the right and specific versions. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you have custom caching code written, you will need to update it to&#xA;  the new code.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://breaksitecoreblog.wordpress.com/2016/09/06/sitecore-8-2-cache-changes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://breaksitecoreblog.wordpress.com/2016/09/06/sitecore-8-2-cache-changes/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Changes in 8.2&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Taken from this post (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/199/sitecore-caching-customcache-changes-with-8-2&quot;&gt;Sitecore.Caching.CustomCache changes with 8.2&lt;/a&gt;) &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;The &lt;code&gt;CacheManager&lt;/code&gt; has now been abstracted to a &lt;code&gt;BaseCacheManager&lt;/code&gt;, in line with many of the other Dependency Injection changes in 8.2.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The &lt;code&gt;Cache&lt;/code&gt; class has been abstracted to an &lt;code&gt;ICache&lt;/code&gt;, allowing for other cache implementations in the future (e.g. Redis).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Statics on the &lt;code&gt;Cache&lt;/code&gt; class for finding/creating a cache are no longer present -- you must utilize the &lt;code&gt;CacheManager&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;The base cache implementation can now estimate object sizes itself, and all size arguments have been eliminated from the Add overloads on the cache. So above in your question, you can simply eliminate your third argument. The event handler it is looking for in your compiler error is an optional callback for when the object is removed from the cache.&lt;/li&gt;&#xA;&lt;li&gt;If you really want to handle the size calculation yourself, there is the an &lt;code&gt;ICacheSizeCalculationStrategy&lt;/code&gt;, which is set on a property of &lt;code&gt;Cache&amp;lt;T&amp;gt;&lt;/code&gt;, but the setter appears to be private at this time. You would need to provide your own &lt;code&gt;ICache&lt;/code&gt; implementation. But this really is overkill -- in most production deployments you'll be disabling cache size limitations anyway.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-12T02:25:47.337" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3272" PostTypeId="1" AcceptedAnswerId="3273" CreationDate="2016-12-12T08:00:18.633" Score="6" ViewCount="1637" Body="&lt;p&gt;Just wondering if I use glass mapper or any DI framwork then will I need to implement in each project separetly? otherwise  if I create a separate project for DI or Glassmapper and add the reference in each habitat project then i guess it will break the habitat rule which says keep the module separate.﻿&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2016-12-12T13:12:43.507" Title="Sitecore Habitat with Glass Mapper" Tags="|glass-mapper|helix|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3273" PostTypeId="2" ParentId="3272" CreationDate="2016-12-12T08:26:06.193" Score="9" Body="&lt;p&gt;You can put it to the Foundation layer. Any project in any layer can have references to the Foundation layer. Also, a Foundation project can have references to another Foundation project, but you need to follow this rule:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unlike the Feature layer, there is no strict convention on dependencies between modules in the foundation layer. This means that one Foundation layer module can depend on another Foundation layer module in the solution – as long as they rely on the basic principles on component architecture such as the Acyclic Dependencies Principle and the Stable Abstractions Principle:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &#xA;&lt;a href=&quot;http://helix.sitecore.net/principles/architecture-principles/layers.html#foundation-layer&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;Helix principles&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do not forget that Habitat is just an example of how Helix principles should be applied.&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="104" LastEditDate="2016-12-12T08:53:55.600" LastActivityDate="2016-12-12T08:53:55.600" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3274" PostTypeId="2" ParentId="3007" CreationDate="2016-12-12T09:58:21.297" Score="2" Body="&lt;p&gt;Have you published Layouts and templates to web? &#xA;Can you try publishing /Layouts &amp;amp; /templates separately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you don't have related layout items published to web database, page item's presentation details will not show in Sitecore Content Editor (UI tool) interfaces in web. But, when you check raw values of that field, you can see the reference values in the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you publish the Layout items, page item's presentation details will start to appear in content editor.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="939" LastEditDate="2017-01-02T13:42:46.803" LastActivityDate="2017-01-02T13:42:46.803" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3275" PostTypeId="1" AcceptedAnswerId="3278" CreationDate="2016-12-12T10:28:54.983" Score="2" ViewCount="933" Body="&lt;p&gt;I am adding a new version of an item in a different language. This works fine.&#xA;Them I am setting the field values on the new version, but those values are not saved. The code is basically (simplified):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item englishItemVersion = _newDatabase.GetItem(swedishItem.ID, englishLanguage).Versions.AddVersion();&#xA;englishItemVersion.Editing.BeginEdit();&#xA;englishItemVersion.Fields[{guid}].Value = “my English title”;&#xA;englishItemVersion.Editing.EndEdit(false, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When i debug the code, all the fields on the new itemversion is set, but as soon as the code hits EndEdit(false, true);, all the values in the fields disappear. Why is that?&lt;/p&gt;&#xA;" OwnerUserId="537" LastEditorUserId="423" LastEditDate="2017-08-08T14:49:46.233" LastActivityDate="2017-11-21T21:20:28.490" Title="Item.Versions.AddVersion() - fields not being saved" Tags="|multilingual|versions|sitecore-api|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3277" PostTypeId="2" ParentId="3268" CreationDate="2016-12-12T12:15:45.537" Score="5" Body="&lt;p&gt;Here's a list of services that xDB Cloud officially provides:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/042722&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;xDB Cloud - Service Catalog and Policies&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, there's nothing about importing data to the cloud. Only an export option:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;xDB Set export&lt;/strong&gt; | Customers can obtain an export/backup of their collectionsDB data&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Having personally spoken with xDB Cloud technicians, I understand that they &lt;em&gt;may&lt;/em&gt; in some cases restore your MongoDB backup for you, but that is not something they normally do. So you'll need to contact your &lt;a href=&quot;http://www.sitecore.net/company/contact-us&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;regional sales department&lt;/strong&gt;&lt;/a&gt; and/or &lt;a href=&quot;https://support.sitecore.net/helpdesk/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Sitecore Support&lt;/strong&gt;&lt;/a&gt; to see if this will be possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that if you have any xDB-related customizations in your solution, they will not be supported in xDB cloud. This concerns custom segments, facets, etc. that you may have been using on premise.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-12T12:15:45.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3278" PostTypeId="2" ParentId="3275" CreationDate="2016-12-12T13:04:49.103" Score="2" Body="&lt;p&gt;So the problem was in the .EndEdit() call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By calling &lt;code&gt;.EndEdit(false, true)&lt;/code&gt; you are essentially telling Sitecore two things:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Do not update revision, revision date and so on. In other words, try and &quot;hide&quot; that the update took place&lt;/li&gt;&#xA;&lt;li&gt;Disable events for this update&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So basically you did pretty much everything you could, to try and hide the fact that you were adding versions and adding fields, to your surroundings. Including Content Editor, which would then not get notified that item changes took place. Caches would not get invalidated. And so on.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-12-12T13:04:49.103" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3280" PostTypeId="2" ParentId="3261" CreationDate="2016-12-12T15:32:00.303" Score="4" Body="&lt;p&gt;You need to register &lt;code&gt;Address&lt;/code&gt; as your &lt;code&gt;IAddress&lt;/code&gt; implementation in Sitecore configuration. You can see how it is done in &lt;strong&gt;&lt;em&gt;Sitecore.Analytics.Model.config&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, you'd have a patch file along the lines of:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;model&amp;gt;&#xA;      &amp;lt;elements&amp;gt;&#xA;        &amp;lt;element&#xA;          interface=&quot;SomeNamespace.IAddress, SomeAssembly&quot;&#xA;          implementation=&quot;SomeNamespace.Address, SomeAssembly&quot; /&amp;gt;&#xA;      &amp;lt;/elements&amp;gt;&#xA;    &amp;lt;/model&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-12T15:32:00.303" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3281" PostTypeId="1" AcceptedAnswerId="3283" CreationDate="2016-12-12T16:29:26.073" Score="6" ViewCount="357" Body="&lt;p&gt;I have managed to hide all ribbon strips by right clicking on ribbon and un checking them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have zero strips now, on the ribbon and so, ribbon is hidden. I cannot able to get them back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GEdZE.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GEdZE.jpg&quot; alt=&quot;Content editor with out ribbon&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Application Pool Recycle&lt;/li&gt;&#xA;&lt;li&gt;Reset to default settings in control panel&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Could anyone have suggestions on how to get back the ribbon in sitecore8.2&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2016-12-12T21:27:14.007" Title="Unhide Ribbon strips" Tags="|configuration|content-editor|sitecore-client|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3282" PostTypeId="1" CreationDate="2016-12-12T16:37:21.030" Score="8" ViewCount="11044" Body="&lt;p&gt;We are having an issue where queries are too big so we get error &lt;code&gt;414 (Request-URI Too Long)&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I can see, sitecore sends a &lt;code&gt;GET&lt;/code&gt; request with the query to the server. Is there a way to switch this so it sends a &lt;code&gt;POST&lt;/code&gt; request instead? If not, how do you usually handle big queries in SOLR?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS: we tried modifying the &lt;code&gt;requestBufferSize&lt;/code&gt; in jetty.xml and still didn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Using bitnami solr 4.10.3 and Sitecore 8.1 update 1&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="88" LastEditorUserId="88" LastEditDate="2016-12-12T19:03:30.257" LastActivityDate="2020-09-24T10:53:11.517" Title="Solr query length limit" Tags="|solr|" AnswerCount="5" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3283" PostTypeId="2" ParentId="3281" CreationDate="2016-12-12T17:06:40.883" Score="6" Body="&lt;p&gt;This is likely a bug in Sitecore 8.2, as earlier versions of Sitecore 8 prevent you from removing the last strip from the ribbon, as can be see in the following screenshot:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w8LCw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w8LCw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Resolving the Issue&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I suggest that you try to work around the issue by opening up Chrome Dev Tools (via F12 in your chrome browser) or Firebug (or whatever Mozilla calls it these days; via F12 in FireFox), and search for the (div) element with &lt;code&gt;id=&quot;Ribbon&quot;&lt;/code&gt;. If it is there, update it so that it has a reasonable &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt; and make sure that it is set to &lt;code&gt;display: block&lt;/code&gt; (all via CSS), in order to make it visible. Then &lt;em&gt;right-click&lt;/em&gt; the element and the Context Menu should appear, allowing you to add back one or more ribbon strips.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are unable to find the (div) element with &lt;code&gt;id=&quot;Ribbon&quot;&lt;/code&gt; then try doing the same thing for the (div) element with &lt;code&gt;id=&quot;RibbonPanel&quot;&lt;/code&gt;. That one should render no matter what (even if it isn't displaying, due to content/CSS/etc). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you still cannot fix the issue, try going into the User Manager, selecting your user and clicking the &quot;Reset Settings&quot; button. I have not tested this one myself, but it may work, as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9P9bo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9P9bo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-12-12T21:27:14.007" LastActivityDate="2016-12-12T21:27:14.007" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3284" PostTypeId="1" AcceptedAnswerId="3285" CreationDate="2016-12-12T19:04:09.627" Score="8" ViewCount="24245" Body="&lt;p&gt;I have always used &quot;Network Service&quot; as the application pool identity for Sitecore since 6.0 through 8.1 and never had any problems. A co-worker stated recently that the &quot;AppPoolIdentity&quot; is the recommended version for 7+. What is the recommended identity?&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2016-12-12T19:26:45.567" Title="What is the recommended application pool identity to use for Sitecore?" Tags="|iis|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3285" PostTypeId="2" ParentId="3284" CreationDate="2016-12-12T19:10:58.880" Score="10" Body="&lt;p&gt;You can use either, but I recommend &lt;code&gt;ApplicationPoolIdentity&lt;/code&gt; whenever possible. TBH, your question really isn't Sitecore-specific, but the below info should help to get you started.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Application Pool Identity vs NETWORK SERVICE&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The security of &lt;code&gt;ApplicationPoolIdentity&lt;/code&gt; will always be greater than or equal to that of &lt;code&gt;NETWORK SERVICE&lt;/code&gt;, given that the same access rights are applied to both. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using &lt;code&gt;AppPoolIdentity&lt;/code&gt;, you have a separate identity (security account) for each app pool. This means that you can control the services and securities for your application pool, specifically, agnostic of any other application pools or services. In other words, if you have multiple services and/or applications then &lt;code&gt;ApplicationPoolIdentity&lt;/code&gt; is more secure, otherwise it is pretty much the same, though &lt;code&gt;ApplicationPoolIdentity&lt;/code&gt; is more extensible (and a bit easier to read in Windows Event Logs, IMHO).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In contrast, &lt;code&gt;NETWORK SERVICE&lt;/code&gt; can be used for any/all of your services, i.e. it can be used by more than one without issue. While this sounds like a nice feature that might save you some time, this actually means that if you use it your securities cannot be controlled on a service-by-service or application-by-application basis. All services and/or applications that use &lt;code&gt;NETWORK SERVICE&lt;/code&gt; will have the same permissions, which can be a pretty big security risk.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Food for Thought&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Imagine that you use &lt;code&gt;NETWORK SERVICE&lt;/code&gt; on your site and you also happen to use &lt;code&gt;NETWORK SERVICE&lt;/code&gt; on an IIS-based service that a &lt;em&gt;hacker&lt;/em&gt; manages to break into. Imagine that the hack allows the hacker to access the server's file system. Because you used &lt;code&gt;NETWORK SERVICE&lt;/code&gt; for the application pool's security account, the hacker now has access to your site's folder and to anything that your site had access too. Now, the hacker can not only gain access to your site's ConnectionStrings and web.config, but also to things in your System folder (since Sitecore requires access to some of the System folders), your databases (since they have your ConnectionStrings), and beyond!&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;More information&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This &lt;a href=&quot;https://www.iis.net/learn/manage/configuring-security/application-pool-identities&quot; rel=&quot;noreferrer&quot;&gt;post from iis.net&lt;/a&gt; gives a good description of the different security accounts that you can use and their similarities/differences.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-12-12T19:26:45.567" LastActivityDate="2016-12-12T19:26:45.567" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3286" PostTypeId="2" ParentId="3284" CreationDate="2016-12-12T19:18:22.640" Score="3" Body="&lt;p&gt;From the installation guide I can see Sitecore recommend  &lt;strong&gt;ApplicationPoolIdentity&lt;/strong&gt; or &lt;strong&gt;NetworkService&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see: &lt;a href=&quot;https://dev.sitecore.net/~/media/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_0/Non-secure/Installation-Guide-SC80-A4.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/~/media/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_0/Non-secure/Installation-Guide-SC80-A4.ashx&lt;/a&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/0aebg.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0aebg.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;on &lt;strong&gt;chapter 4.3 Configuring the IIS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about Application Pool Identities : &lt;a href=&quot;https://www.iis.net/learn/manage/configuring-security/application-pool-identities&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.iis.net/learn/manage/configuring-security/application-pool-identities&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-12-12T19:18:22.640" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3287" PostTypeId="1" AcceptedAnswerId="3317" CreationDate="2016-12-12T19:37:57.703" Score="6" ViewCount="800" Body="&lt;p&gt;There is a Desktop Layout (Desktop.aspx) with several controls (Figure 1 and Figure 3). One of the controls called &quot;Two Column Big Left&quot; (TwoColumnBigLeft.ascx) has three placeholders (Inner Content Top, Left, Right). Then, there are six controls added to the three placeholders on the &quot;Two Column Big Left&quot; control. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Page Title (Inner Content Top)&#xA;Generic Body Content (Left)&#xA;Video Carousel (Left)&#xA;Capability Accordian (Left)&#xA;Generic Callout (Right)&#xA;Generic Callout (Right)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting warnings in Debug mode (Figure 2) and caching is not working correctly (it is supposed to vary by data on the &quot;Playbook Playlist&quot; control, but it is cached permanently). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this considered a correct way to configure the Presentation Details? What do I need to do to get rid of the warnings? Do the placeholders all need to be on Desktop.aspx? Or, maybe the TwoColumnBigLeft.ascx page needs to be included on the Desktop.aspx page directly in the code (not through Sitecore presentation details)? Should I create a second version of the Desktop.aspx page to use for this page?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other than the caching problem, the page looks fine in the web browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Figure 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Q6Q9l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q6Q9l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Figure 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/j22kB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/j22kB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Figure 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oStg5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oStg5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2016-12-12T22:01:39.250" LastActivityDate="2016-12-13T13:06:36.287" Title="Warning: A rendering was not used on the page. The placeholder &quot;xxxxxx&quot; was not found" Tags="|presentation|caching|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3289" PostTypeId="2" ParentId="3268" CreationDate="2016-12-12T19:51:45.660" Score="1" Body="&lt;p&gt;Sitecore won't take your mongodump from on-premises and restore them on top of MonogoDB instance that is a part of Sitecore xDB Cloud hosting offering. However, you can directly connect to databases in MongoDB. Which means, technically you can move all data from the &lt;code&gt;analytics&lt;/code&gt;, &lt;code&gt;tracking.contact&lt;/code&gt; etc. databases from your MongoDB on-premises to MongoDB in the cloud. Then you must run &lt;a href=&quot;https://doc.sitecore.net/cloud/81/xdb_cloud/customizing/rest_api_reference_for_the_xdb_cloud_service#_Trigger_history_processing&quot; rel=&quot;nofollow noreferrer&quot;&gt;History Processing&lt;/a&gt; operation to rebuild the &lt;code&gt;reporting&lt;/code&gt; database in SQL Server.&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-12-12T19:51:45.660" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3290" PostTypeId="1" AcceptedAnswerId="3293" CreationDate="2016-12-12T21:00:08.427" Score="4" ViewCount="597" Body="&lt;p&gt;Looking in the User Manager, I see a &quot;Reset Settings&quot; button under the &quot;Change Password&quot; button in the ribbon, and I cannot find any information online (docs or blog posts) on what it actually does. Can anyone describe the functionality of this button?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WmqFS.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WmqFS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am on Sitecore 8.1.2, but this button has been around for quite a while.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-12-13T12:22:05.627" Title="What Does the &quot;Reset Settings&quot; button in the User Manager do?" Tags="|sitecore-client|user-management|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3291" PostTypeId="1" AcceptedAnswerId="3310" CreationDate="2016-12-12T21:01:09.880" Score="4" ViewCount="1049" Body="&lt;p&gt;While setting up an instance of the Habitat demo site, I have followed all the steps as in the past but when the Sync Unicorn Gulp task begins, it exits with the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not instantiate event handler. Type: Sitecore.ContentSearch.Events.PackagingEventHandler. Method: OnPackageInstallStartingRemoteHandler (method: Sitecore.Events.Event.GetConfigSubscribers()).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I thought maybe there was a problem with one of the resources used in the setup or even the clean instance of Sitecore. Since I get this same error when I try to log into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be sure, I deleted the Sitecore instance for the Habitat solution and re-deployed with Sitecore SIM. I verified that I could see the default Sitecore home page and also logged in successfully. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before proceeding, I made sure to have the latest of the following installed:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Node/NPM (6.9.2 and 3.10.9)&lt;/li&gt;&#xA;&lt;li&gt;Bower (1.8.0)&lt;/li&gt;&#xA;&lt;li&gt;Gulp (3.9.1)&lt;/li&gt;&#xA;&lt;li&gt;Web Essentials 2015.3&lt;/li&gt;&#xA;&lt;li&gt;Bundler &amp;amp; Minifier&lt;/li&gt;&#xA;&lt;li&gt;Web Compiler&lt;/li&gt;&#xA;&lt;li&gt;EditorConfig&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I ran &lt;code&gt;npm install&lt;/code&gt; at the root from an elevated command prompt without error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then opened Visual Studion as an administrator and ran the default task in Task Runner Explorer for the Solution 'Habitat' and watched it proceed without an errors through the first 4 tasks:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Copy-Sitecore-License&lt;/li&gt;&#xA;&lt;li&gt;Nuget-Restore&lt;/li&gt;&#xA;&lt;li&gt;Publish-All-Projects&lt;/li&gt;&#xA;&lt;li&gt;Apply-Xml-Transform&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When it comes time to run the Sync-Unicorn task, the console displays the error message, which is also displayed when I try to log into Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure how diagnose this error or where to look next. &lt;/p&gt;&#xA;" OwnerUserId="583" LastEditorUserId="247" LastEditDate="2017-04-16T16:48:41.160" LastActivityDate="2017-10-10T06:57:39.793" Title="Error setting up Habitat instance of Sitecore with &quot;Could not instantiate event handler.&quot; error" Tags="|unicorn|gulp|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3292" PostTypeId="2" ParentId="3290" CreationDate="2016-12-12T21:14:03.613" Score="2" Body="&lt;p&gt;The &quot;Reset Settings&quot; button in the User Manager calls the &lt;code&gt;usermanager:resetsettings&lt;/code&gt; command, which in turn executes the &lt;code&gt;Sitecore.Shell.Framework.Commands.UserManager.ResetSettings&lt;/code&gt; command class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On confirmation (&quot;[Yes, I want to reset the settings of the user]&quot;), the command loops through all of the custom properties of the &lt;code&gt;UserProfile&lt;/code&gt; of the selected user with property names that start with &lt;code&gt;/{username}/&lt;/code&gt; (where {username} is the user's &lt;code&gt;UserName&lt;/code&gt;), clearing each as it goes, and then ultimately saves the profile and refreshes the User Manager. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;(Credit to Vlad Iobagiu for this detail)&lt;/em&gt; The custom properties that this button is meant to clear are properties that Sitecore uses to manage things like dialog size, pre-selected control options, and other user settings for the Sitecore client. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the &lt;code&gt;usermanager:resetsettings&lt;/code&gt; command can reset multiple users at the same time. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-12-12T21:24:31.603" LastActivityDate="2016-12-12T21:24:31.603" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3293" PostTypeId="2" ParentId="3290" CreationDate="2016-12-12T21:14:41.347" Score="4" Body="&lt;p&gt;This code is execute when you click this button : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;public class ResetSettings : Command, ISupportsContinuation&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Executes the command in the specified context.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;context&quot;&amp;gt;The context.&amp;lt;/param&amp;gt;&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        string text = context.Parameters[&quot;username&quot;];&#xA;        if (!ValidationHelper.ValidateUserWithMessage(text))&#xA;        {&#xA;            return;&#xA;        }&#xA;        System.Collections.Specialized.NameValueCollection nameValueCollection = new System.Collections.Specialized.NameValueCollection();&#xA;        nameValueCollection[&quot;username&quot;] = text;&#xA;        ClientPipelineArgs args = new ClientPipelineArgs(nameValueCollection);&#xA;        ContinuationManager.Current.Start(this, &quot;Run&quot;, args);&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Runs the pipeline.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;The args.&amp;lt;/param&amp;gt;&#xA;    protected void Run(ClientPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        ListString listString = new ListString(args.Parameters[&quot;username&quot;]);&#xA;        if (args.IsPostBack)&#xA;        {&#xA;            if (args.Result == &quot;yes&quot;)&#xA;            {&#xA;                foreach (string current in listString)&#xA;                {&#xA;                    User user = User.FromName(current, true);&#xA;                    Assert.IsNotNull(user, typeof(User));&#xA;                    UserProfile profile = user.Profile;&#xA;                    List&amp;lt;string&amp;gt; customPropertyNames = profile.GetCustomPropertyNames();&#xA;                    string value = &quot;/&quot; + current + &quot;/&quot;;&#xA;                    foreach (string current2 in customPropertyNames)&#xA;                    {&#xA;                        if (current2.StartsWith(value, StringComparison.InvariantCultureIgnoreCase))&#xA;                        {&#xA;                            profile.RemoveCustomProperty(current2);&#xA;                        }&#xA;                    }&#xA;                    profile.Save();&#xA;                    RegistryCache registryCache = CacheManager.GetRegistryCache(Context.Site);&#xA;                    if (registryCache != null)&#xA;                    {&#xA;                        registryCache.Clear();&#xA;                    }&#xA;                    Log.Audit(this, &quot;Reset settings: {0}&quot;, new string[]&#xA;                    {&#xA;                        user.Name&#xA;                    });&#xA;                }&#xA;                AjaxScriptManager.Current.Dispatch(&quot;usermanager:refresh&quot;);&#xA;                return;&#xA;            }&#xA;        }&#xA;        else&#xA;        {&#xA;            if (listString.Count == 1)&#xA;            {&#xA;                User user2 = User.FromName(listString[0], true);&#xA;                Assert.IsNotNull(user2, typeof(User));&#xA;                SheerResponse.Confirm(Translate.Text(&quot;Are you sure you want to reset the settings of {0}?&quot;, new object[]&#xA;                {&#xA;                    user2.GetLocalName()&#xA;                }));&#xA;            }&#xA;            else&#xA;            {&#xA;                SheerResponse.Confirm(Translate.Text(&quot;Are you sure you want to reset the settings of these {0} users?&quot;, new object[]&#xA;                {&#xA;                    listString.Count&#xA;                }));&#xA;            }&#xA;            args.WaitForPostBack();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reset should remove only custom information like size of the dialogs or preselect options in some controls. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:  You click on right corner Show Database Name for an editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gysX9.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gysX9.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you press Reset Settings for that editor, Database Name will be reset and will not be shown on the bottom right corner.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2016-12-13T12:22:05.627" LastActivityDate="2016-12-13T12:22:05.627" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3294" PostTypeId="2" ParentId="3003" CreationDate="2016-12-12T22:40:44.140" Score="1" Body="&lt;p&gt;transpires that contrary to previous advise from sitecore support that you should be replicating the properties table, as otherwise the CM and CD servers have no knowledge of each others event queues.&#xA;seems to me that by doing this you are potentially replicating the properties table before the event has actually been processed but i'm led to believe that the instancename ensures this will always work.&#xA;i'm still have issues regarding wffm remote events firing, but at least i now know why my properties table was missing those rows&lt;/p&gt;&#xA;" OwnerUserId="639" LastActivityDate="2016-12-12T22:40:44.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3295" PostTypeId="1" AcceptedAnswerId="3303" CreationDate="2016-12-13T00:11:38.463" Score="3" ViewCount="153" Body="&lt;p&gt;Using Coveo UI and infinite scroll. How can we return user back to same place in search result list? Ex: user scrolls through the results and clicks on a result item to view the article. Is there a way to return the user to same place in search result on click &lt;code&gt;Back button&lt;/code&gt; or a &lt;code&gt;hard link&lt;/code&gt; to position on the page?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I notice as we scroll the result list, url is not updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion on how to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2016-12-13T04:57:11.400" Title="Coveo UI return to result list" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3296" PostTypeId="1" AcceptedAnswerId="3297" CreationDate="2016-12-13T01:40:31.203" Score="8" ViewCount="495" Body="&lt;p&gt;Sitecore has provisioned xDB Cloud Set for me. How can I get connection strings and/or endpoints of my xDB Cloud Set?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I want to connect to databases in MongoDB using &lt;a href=&quot;https://robomongo.org/&quot; rel=&quot;noreferrer&quot;&gt;Robomongo&lt;/a&gt; tool.&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2017-04-04T22:44:00.390" Title="How to get connection strings / endpoints of my xDB Cloud Set" Tags="|xdb|cloud|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3297" PostTypeId="2" ParentId="3296" CreationDate="2016-12-13T01:40:31.203" Score="9" Body="&lt;p&gt;To get connection strings and/or endpoints of xDB Cloud Set that is based on Sitecore xDB Cloud services &lt;code&gt;v1.0&lt;/code&gt; or &lt;code&gt;v2.0&lt;/code&gt;, you have to perform the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get the &lt;em&gt;Sitecore Nexus Auth&lt;/em&gt; key to talk to xDB Cloud services.&lt;/li&gt;&#xA;&lt;li&gt;Get the &lt;em&gt;Deployment ID&lt;/em&gt; of xDB Set you are interested in.&lt;/li&gt;&#xA;&lt;li&gt;Get a list of endpoints for the specified xDB Set.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Sitecore Nexus Auth Key&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To get the key, call the &lt;a href=&quot;https://doc.sitecore.net/cloud/81/xdb_cloud/customizing/rest_api_reference_for_the_xdb_cloud_service#_SSO_Encode_Sitecore&quot; rel=&quot;noreferrer&quot;&gt;SSO Encode Sitecore License&lt;/a&gt; REST API:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Request&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;POST https://gateway-sso-scs.cloud.sitecore.net/api/License/Encode&#xA;Content-Type: application/xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Request Headers&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Content-Type&lt;/code&gt; is used to declare the general type of data. Set this header to &lt;strong&gt;application/xml&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Request Body&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The body of the request contains sitecore license file:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;http://www.sitecore.net/licenseviewer/license.xsl&quot;?&amp;gt;&#xA;&amp;lt;signedlicense id=&quot;[sitecore license id]&quot;&amp;gt; &#xA;...&#xA;  &amp;lt;Signature&amp;gt;...&amp;lt;/Signature&amp;gt;&#xA;...&#xA;&amp;lt;/signedlicense&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Response&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Status code 200 (OK) is returned for a successful response with the following JSON document in the body:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;{&#xA;  &quot;Key&quot;: &quot;X-ScS-Nexus-Auth&quot;,&#xA;  &quot;Value&quot;: &quot;[sitecore nexus key]&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h3&gt;2. Sitecore Deployment ID&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To get a list of all provisioned xDB Sets, call the &lt;a href=&quot;https://doc.sitecore.net/cloud/81/xdb_cloud/customizing/rest_api_reference_for_the_xdb_cloud_service#_List_xDB_sets&quot; rel=&quot;noreferrer&quot;&gt;List xDB Sets&lt;/a&gt; REST API.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Request&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;GET https://gateway-xdb-scs.cloud.sitecore.net/api/xdb/[sitecore license id]&#xA;X-ScS-Nexus-Auth: [sitecore nexus key]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Request Headers&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;X-ScS-Nexus-Auth&lt;/code&gt; is used to authenticate the request to Sitecore xDB Cloud service. It is a string value, unique to your Sitecore License ID.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Request Body&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;None. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Response&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Status code 200 (OK) is returned for a successful response with the following JSON document in the body:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;[&#xA;  {&#xA;    &quot;DeploymentId&quot;: &quot;My-xDB-Cloud-Prod&quot;&#xA;  },&#xA;  {&#xA;    &quot;DeploymentId&quot;: &quot;My-xDB-Cloud-NonProd&quot;&#xA;  }&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h3&gt;3. Sitecore xDB Set Endpoints&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To get a list of all endpoints of the specified xDB Set, call the following REST API, which is undocumented. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This REST API is exactly the same thing that Sitecore xDB Cloud Client&#xA;  calls for xDB Cloud 1.0 if you examine the &lt;code&gt;Sitecore.Cloud.Xdb&lt;/code&gt;&#xA;  assembly using such tool as &lt;a href=&quot;http://www.red-gate.com/products/dotnet-development/reflector/&quot; rel=&quot;noreferrer&quot;&gt;.NET Reflector&lt;/a&gt; or &lt;a href=&quot;https://www.jetbrains.com/decompiler/&quot; rel=&quot;noreferrer&quot;&gt;dotPeek&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;Request&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;GET https://discovery-xdb-cloud.sitecore.net/xdb/set/[sitecore license id]?DeploymentId=[xdb cloud deployment id]&#xA;X-ScS-Nexus-Auth: [sitecore nexus key]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Request Headers&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;X-ScS-Nexus-Auth&lt;/code&gt; is used to authenticate the request to Sitecore xDB Cloud service. It is a string value, unique to your Sitecore License ID.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Request Body&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;None. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Response&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Status code 200 (OK) is returned for a successful response with the following JSON document in the body:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt;{&#xA;  &quot;LicenseId&quot;: &quot;[sitecore license id]&quot;,&#xA;  &quot;DeploymentId&quot;: &quot;[sitecore xdb cloud deployment id]&quot;,&#xA;  &quot;XdbConnectionStrings&quot;: {&#xA;    &quot;analytics&quot;: &quot;mongodb://[user-name]:[password]@[host1]:[port1],[host2]:[port2]/[guid]-Analytics?ssl=true;replicaSet=[hostX];connectTimeout=1m;maxIdleTime=1m;socketTimeout=1m&quot;,&#xA;    &quot;tracking.live&quot;: &quot;mongodb://[user-name]:[password]@[host1]:[port1],[host2]:[port2]/[guid]-TrackingLive?ssl=true;replicaSet=[hostX];connectTimeout=1m;maxIdleTime=1m;socketTimeout=1m&quot;,&#xA;    &quot;tracking.history&quot;: &quot;mongodb://[user-name]:[password]@[host1]:[port1],[host2]:[port2]/[guid]-TrackingHistory?ssl=true;replicaSet=[hostX];connectTimeout=1m;maxIdleTime=1m;socketTimeout=1m&quot;,&#xA;    &quot;tracking.contact&quot;: &quot;mongodb://[user-name]:[password]@[host1]:[port1],[host2]:[port2]/[guid]-TrackingContact?ssl=true;replicaSet=[hostX];connectTimeout=1m;maxIdleTime=1m;socketTimeout=1m&quot;&#xA;  },&#xA;  &quot;ReportingServiceUri&quot;: &quot;https://Reporting-[deployment type]-[guid]-[location]-Xdb-Sc.cloudapp.net&quot;,&#xA;  &quot;DeploymentType&quot;: &quot;[Prod | NonProd]&quot;,&#xA;  &quot;SitecoreVersion&quot;: &quot;[sitecore experience platform version]&quot;,&#xA;  &quot;Location&quot;: &quot;[West US | North Europe | Japan East | Australia Southeast]&quot;,&#xA;  &quot;Indexes&quot;: {&#xA;    &quot;sitecore-analytics-cloud-index&quot;: {&#xA;      &quot;Name&quot;: &quot;[guid]-analyticsindex&quot;,&#xA;      &quot;BaseUrl&quot;: &quot;https://[search service name].search.windows.net/indexes&quot;,&#xA;      &quot;QueryKey&quot;: &quot;[query key]&quot;,&#xA;      &quot;ApiVersion&quot;: &quot;2015-02-28&quot;&#xA;    }&#xA;  },&#xA;  &quot;XdbCloudVersion&quot;: &quot;[1.0 | 2.0]&quot;,&#xA;  &quot;ReportingServiceCertificate&quot;: &quot;[certificate thumbprint]&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="973" LastActivityDate="2016-12-13T01:40:31.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3298" PostTypeId="1" CreationDate="2016-12-13T03:01:04.267" Score="3" ViewCount="650" Body="&lt;p&gt;We are still using an old version (&lt;code&gt;6.6&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;p&gt;We have multiple publishing targets (one is a web and the other production) and there is one specific language (Spanish 'es') item we have made publishable to web target by selecting the web target check box in the publishing section.&lt;/p&gt;&#xA;&lt;p&gt;When we publish the Spanish item, the Spanish language gets published to web target only. But now we added the version of any item in Spanish and publish it to all targets in all languages, the item version in Spanish also gets published to all targets including production even though the Spanish language is not available on the production target, because this is restricted. I have verified this item by switching to that target database. I thought that if we don't have language in one target then the language version of the item would not be published.&lt;/p&gt;&#xA;&lt;p&gt;Are we thinking right?&lt;/p&gt;&#xA;" OwnerUserId="1276" LastEditorUserId="251" LastEditDate="2022-01-06T11:48:56.090" LastActivityDate="2022-01-06T11:48:56.090" Title="Publishing restriction according to language and target" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3299" PostTypeId="2" ParentId="3298" CreationDate="2016-12-13T03:12:54.750" Score="2" Body="&lt;p&gt;It is an expected behavior. Sitecore uses publish targets field to determine if the item need to be published to some target, however publishing target field is shared so you can't specify publishing targets depends on language version. And you can select specific language and specific target only in Publish dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can customize publishing process, in case to add additional field to a publish target item and restrict some languages. &lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-12-13T03:12:54.750" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3300" PostTypeId="1" AcceptedAnswerId="3344" CreationDate="2016-12-13T03:18:40.823" Score="3" ViewCount="949" Body="&lt;p&gt;I'm trying to package a Sitecore solution and followed the instructions mentioned in the following URLs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/cloud/working_with_sitecore_azure/configuring_sitecore_azure/getting_started_with_sitecore_azure_toolkit?roles=developer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/cloud/working_with_sitecore_azure/configuring_sitecore_azure/getting_started_with_sitecore_azure_toolkit?roles=developer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/cloud/working_with_sitecore_azure/configuring_sitecore_azure/package_a_sitecore_solution_for_the_azure_app_service?roles=developer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/cloud/working_with_sitecore_azure/configuring_sitecore_azure/package_a_sitecore_solution_for_the_azure_app_service?roles=developer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have PowerShell (5.0). I have also updated Azure PowerShell Module 3.1.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the command &lt;code&gt;Start-SitecoreAzurePackaging&lt;/code&gt; with all the options specified in the Sitecore documentation, I get the following error.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The term 'New-SCWebDeployPackage' is not recognized as the name of a&#xA;  cmdlet, function, script file, or operable program. Check the spelling&#xA;  of the name, or if a path was included, verify that the path is&#xA;  correct and try again.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Am I missing something?&lt;/p&gt;&#xA;" OwnerUserId="1277" LastEditorUserId="10" LastEditDate="2016-12-13T16:14:13.283" LastActivityDate="2018-01-03T03:29:58.947" Title="New-SCWebDeployPackage is not recognized" Tags="|azure|powershell|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3301" PostTypeId="1" CreationDate="2016-12-13T04:20:45.843" Score="5" ViewCount="3320" Body="&lt;p&gt;We are implementing editframe in sitecore MVC to make treelist field editable (List of address) in experience editor. We have created the Edit button for field in sitecore &lt;/p&gt;&#xA;&#xA;&lt;p&gt;core DB and add the field name which need to edit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Custom Frame Buttons/Treelist Field&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want to implement Editframe for a field of the type &quot;treelist&quot; in MVC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you give us some code or steps on how to implement it?&lt;/p&gt;&#xA;" OwnerUserId="1276" LastActivityDate="2016-12-13T04:58:09.313" Title="Sitecore MVC - Edit Frame for treelist field" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3302" PostTypeId="1" AcceptedAnswerId="3322" CreationDate="2016-12-13T04:48:12.447" Score="5" ViewCount="1657" Body="&lt;p&gt;We are in process of migrating the Java Vigenette CMS on to sitecore platform.  One of the thing that current content authors have been doing is below for short lived sites:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get the zipped HTML site from Digital Agencies.&lt;/li&gt;&#xA;&lt;li&gt;Content authors then simply extract it on CMS and site is up and running. (with no developer involvement)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We had a look at sitecore experience accelerator, which isn't going to fit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are thinking of simply unzipping the file on to media library and do and redirect setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone got better idea/experience?&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="70" LastEditDate="2018-05-03T17:15:35.217" LastActivityDate="2018-05-03T17:15:35.217" Title="Run HTML site from Media Library" Tags="|media-library|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3303" PostTypeId="2" ParentId="3295" CreationDate="2016-12-13T04:57:11.400" Score="3" Body="&lt;p&gt;You can write some JavaScript to update the URL as you scroll. You'll also want to update the Coveo Search Results component to have an anchor at each result that corresponds to the URL change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, you can have an anchor on the 25th result called #result25. The JavaScript would set your URL with location.hash based on some calculations fired off by the scroll event. When you click on the result, your URL should be something like /results#result25. When you go back in your browser, it should take you back to that anchor.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2016-12-13T04:57:11.400" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3304" PostTypeId="2" ParentId="3301" CreationDate="2016-12-13T04:58:09.313" Score="8" Body="&lt;p&gt;Stiecore have a few ways to enable content editing in the Experience Editor. This is not specific to treelist field but can be used for other fields as well like multi list etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As alternative to Edit Frames the similar functionality can be implemented quite simply with the help of Custom Experience Buttons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use standard Sample Item template, item based on this template and standard Sample Rendering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The steps required to take to enable editing a tree list field in the Content Editor are following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Log in to Sitecore Desktop, switch to &quot;core&quot; database;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Under /sitecore/content/Applications/WebEdit/Custom Experience Buttons create an item based on /sitecore/templates/System/WebEdit/field Editor Button. Name it &quot;Edit List&quot;. This button will be referenced by a rendering later;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Fill in the fields of the newly created item: Header - &quot;Edit Address&quot;, Fields - pipe-separated list of... - &quot;Address&quot;, Tooltip - &quot;Click to edit Address list&quot; and choose an icon for the item;&lt;/li&gt;&#xA;&lt;li&gt;Save changes;&lt;/li&gt;&#xA;&lt;li&gt;Switch to &quot;master&quot; database;&lt;/li&gt;&#xA;&lt;li&gt;Add a tree list field to the /sitecore/templates/Sample/Sample Item template, name it &quot;Address&quot;;&lt;/li&gt;&#xA;&lt;li&gt;Open /sitecore/layout/Renderings/Sample/Sample Rendering item;&lt;/li&gt;&#xA;&lt;li&gt;Navigate to Experience Editor Buttons section;&lt;/li&gt;&#xA;&lt;li&gt;Add &quot;Edit List&quot; button to the right side of the Experience Editor buttons section;&lt;/li&gt;&#xA;&lt;li&gt;Save changes.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now, when you try to open /sitecore/content/Home item in the Experience Editor, you will notice an additional button when you click on the Sample Rendering area. When you click it, a window with &quot;Address&quot; field will be opened and enabled for editing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This approach does not require writing any code, thus it's quite convenient to use it with different types of complex fields.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-12-13T04:58:09.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3305" PostTypeId="1" AcceptedAnswerId="3306" CreationDate="2016-12-13T07:04:52.163" Score="7" ViewCount="201" Body="&lt;p&gt;The &lt;a href=&quot;https://kb.sitecore.net/articles/496731&quot; rel=&quot;noreferrer&quot;&gt;article&lt;/a&gt; says only Initial Release of 8.2 is affected but doesn't say Update 1 is not vulnerable.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2016-12-13T07:17:55.820" Title="Do I need to apply SC2016-001-128003 to 8.2 Update-1?" Tags="|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3306" PostTypeId="2" ParentId="3305" CreationDate="2016-12-13T07:11:10.790" Score="6" Body="&lt;p&gt;Update 1 has that security issue fixed by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.2 Update 1, a list of allowed serializable types is included out of the box. You can find the list in the configuration file &lt;em&gt;Sitecore.&lt;strong&gt;Analytics&lt;/strong&gt;.SessionSerialization.config&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the &lt;a href=&quot;https://kb.sitecore.net/articles/496731&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;security patch SC2016-001-128003&lt;/strong&gt;&lt;/a&gt; had the allowed types configured in the configuration file &lt;em&gt;Sitecore.SessionSerialization.config&lt;/em&gt; instead (without the &lt;strong&gt;&lt;em&gt;Analytics&lt;/em&gt;&lt;/strong&gt; suffix). So if you upgrade your instance to 8.2 Update 1 from an earlier version with the patch applied, you will need to make sure the following files are removed from your solution:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;\App_Config\Include\Sitecore.SessionSerialization.config&lt;/li&gt;&#xA;&lt;li&gt;\bin\Sitecore.SessionSerialization.dll&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As well as that the following file is updated with the 8.2u1 version:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;\sitecore\service\Analytics\Session\PushSession.ashx&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-13T07:17:55.820" LastActivityDate="2016-12-13T07:17:55.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3307" PostTypeId="2" ParentId="3300" CreationDate="2016-12-13T07:35:16.303" Score="2" Body="&lt;p&gt;I faced the same problem. Probably it has to do with your scriptroot: in the psm1 that you imported, there is a line that loads the assembly with some more cmdlets, one them being the New-SCWebDeployPackage:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Import-Module &quot;$PSScriptRoot\Sitecore.Cloud.Cmdlets.dll&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;you could try to manually import that module.&lt;/p&gt;&#xA;" OwnerUserId="71" LastEditorUserId="10" LastEditDate="2016-12-13T16:14:44.117" LastActivityDate="2016-12-13T16:14:44.117" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3308" PostTypeId="2" ParentId="3302" CreationDate="2016-12-13T08:01:30.473" Score="2" Body="&lt;p&gt;I would create a template for it, which only contains one &lt;code&gt;Rich Text&lt;/code&gt; field and then render this field into the layout. In the HTML view of the &lt;code&gt;Rich Text&lt;/code&gt; field they can copy/paste the HTML from the agency. To enable javacript in &lt;code&gt;Rich Text&lt;/code&gt; fields you need to enable it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;HtmlEditor.RemoveScripts&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-12-13T08:01:30.473" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3309" PostTypeId="1" CreationDate="2016-12-13T08:18:35.740" Score="1" ViewCount="520" Body="&lt;p&gt;My site is upgraded from 7.5 to 8.1, I deployed my site on the CM enviroment and now the export form data to excel for any WFFM form is not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The request:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://MySite/api/sitecore/ExportFormData/Download?file=C:\inetpub\wwwroot\MySite\website\temp\i0r0xknb.ssw&amp;amp;format=1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;returns a 404 not found response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same functionality is working fine on my development environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Ideas what cause this error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T1JMZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T1JMZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="2727" LastEditDate="2018-10-28T06:30:50.440" LastActivityDate="2018-10-28T06:30:50.440" Title="Export form data to excel is not working on newly upgraded site" Tags="|wffm|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="3310" PostTypeId="2" ParentId="3291" CreationDate="2016-12-13T09:35:27.887" Score="7" Body="&lt;p&gt;There is a mismatch between your Sitecore binaries and Sitecore configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;OnPackageInstallStartingRemoteHandler&lt;/code&gt; method was only added to &lt;code&gt;PackagingEventHandler&lt;/code&gt; in Sitecore 8.2 Update 1. It didn't exist yet in 8.2 Initial Release. Which means you have 8.2 (or earlier) binaries with 8.2 Update 1 configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What happens, most likely, is that you are using Habitat that targets Sitecore 8.2 Initial Release (as it says on the &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Getting Started page&lt;/strong&gt;&lt;/a&gt;) with a Sitecore instance based on Sitecore 8.2 Update 1. Habitat will deploy the binaries it targets during the build, so your 8.2u1 dlls are overwritten with 8.2 dlls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Install Sitecore 8.2 Initial Release instead of 8.2u1 and the issue will be fixed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Always check that the version of Habitat you pulled is using the correct version of Sitecore, as they are both continually getting updated. For example, it currently requires Sitecore 8.2 Update 4 - including Web Forms for Marketers Update 4 (rev 170518).&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="2395" LastEditDate="2017-10-10T06:57:39.793" LastActivityDate="2017-10-10T06:57:39.793" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3311" PostTypeId="1" CreationDate="2016-12-13T11:33:34.693" Score="1" ViewCount="1808" Body="&lt;p&gt;I have created the ipagebase model.and its is used being in the mainlayout as &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@using Glass.Mapper.Sc.Web.Mvc&#xA;@inherits GlassView&amp;lt;Project.MVC.Models.Shared.IPageBase&amp;gt;&#xA;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0&quot; /&amp;gt;&#xA;    &amp;lt;meta name=&quot;title&quot; content=&quot;@Model.PageTitle&quot; /&amp;gt;&#xA;    &amp;lt;meta name=&quot;description&quot; content=@Model.MetaDescription /&amp;gt;&#xA;    &amp;lt;meta name=&quot;Keywords&quot; content=@Model.MetaKeywords /&amp;gt;&#xA;    &amp;lt;meta property=&quot;og:title&quot; content=@Model.OpenGraphTitle /&amp;gt;&#xA;    &amp;lt;meta property=&quot;og:description&quot; content=@Model.OpenGraphDescription /&amp;gt;&#xA;    &amp;lt;meta property=&quot;og:type&quot; content=&quot;website&quot; /&amp;gt;&#xA;    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&amp;gt;&#xA;    &amp;lt;title&amp;gt;SampleLayout&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;div&amp;gt; &#xA;        &amp;lt;h1&amp;gt;Hello World&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The model is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class IPageBase&#xA;{&#xA;    [SitecoreField(&quot;PageTitle&quot;)]&#xA;    public string PageTitle { get; set; }&#xA;&#xA;    [SitecoreField(&quot;BrowserTitle&quot;)]&#xA;    public string BrowserTitle { get; set; }&#xA;&#xA;    // public virtual bool ShowInNavigation { get; set; }&#xA;&#xA;    [SitecoreField(&quot;MetaTitle&quot;)]&#xA;    public string MetaTitle { get; set; }&#xA;&#xA;    [SitecoreField(&quot;MetaKeywords&quot;)]&#xA;    public string MetaKeywords { get; set; }&#xA;&#xA;    [SitecoreField(&quot;MetaDescription&quot;)]&#xA;    public string MetaDescription { get; set; }&#xA;&#xA;    [SitecoreField(&quot;OpenGraphTitle&quot;)]&#xA;    public string OpenGraphTitle { get; set; }&#xA;&#xA;    [SitecoreField(&quot;OpenGraphDescription&quot;)]&#xA;    public string OpenGraphDescription { get; set; }&#xA;&#xA;    [SitecoreField(&quot;OpenGraphImage&quot;)]&#xA;    public Image OpenGraphImage { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when i am trying to see the preview it.following error is displayed.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[Sitecore.Data.Items.Item]', but it requires model another model in project&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;How do I resolve this issue? &lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="70" LastEditDate="2016-12-13T13:35:56.110" LastActivityDate="2017-01-06T15:45:26.557" Title="The model item passed into the dictionary is of type 'System.Collections.Generic.List[Sitecore.Data.Items.Item]',but it requires another model" Tags="|sitecore-client|mvc|glass-mapper|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3316" PostTypeId="1" AcceptedAnswerId="3352" CreationDate="2016-12-13T13:00:28.553" Score="3" ViewCount="133" Body="&lt;p&gt;I have a Coveo search view I've customized to show content based on the page you're on matching to whether that value is in a multilist field in Sitecore. The server environment is on-prem CES 7 free version, using version 222 of the Coveo for Sitecore and associated API/CES/etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my query header:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;aq:((@syssource==(&quot;Coveo_web_index&quot;) NOT @ftemplateid72783==(&quot;adb6ca4f-03ef-4f47-b9ac-9ce2ba53ff97&quot;,&quot;fe5dd826-48c6-436d-b87a-7c4210c7413b&quot;))) (@fhaslayout72783 == &quot;1&quot; AND @fz95xpath72783 == &quot;6377c5571646415ab4922f0f02830104&quot; AND @falltemplates72783 == &quot;9b610063e99f40b6afd5402f5cfaf2d2&quot;) (@fcommittees72783 == &quot;1c631b4a5c0342f996d56bd7fb6ed81a&quot;)&#xA;cq:(@fz95xlanguage72783==&quot;en&quot; @fz95xlatestversion72783==&quot;1&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This query returns no results. I went into the Coveo console and found one of the documents that's supposed to be in this result set, so I know it's in the specified index. The item has no security on it. I looked up the fields that are specified in the query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@ftemplateid72783 - ca328a29-fbe3-41fc-afc0-​dbf8602823e8&#xA;@fhaslayout72783 - 1&#xA;@fz95xpath72783 - 11111111111111111111111111111111;​0de95ae441ab4d019eb067441b7c2450;​4c5e4cfbe30b446e917024609ce91722;​4a7bb7ee89fb4e02896bfb4e27d1ba57;​6377c5571646415ab4922f0f02830104;​777fdec3a8da45759797983b9f77f49c;​f7e17f6a646d4bc68b6a4f1abb3fdb0c;​8e30e4b87e2b405eb7d53922c6c9318d&#xA;@falltemplates72783 - ca328a29fbe341fcafc0dbf8602823e8;​9b610063e99f40b6afd5402f5cfaf2d2&#xA;@fcommittees72783 - 897ad68518d1427c81d5070dfef1869a;​1c631b4a5c0342f996d56bd7fb6ed81a&#xA;@fz95xlanguage72783 - en&#xA;@fz95xlatestversion72783 - 1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it looks like the content matches the criteria, which leaves me perplexed as to why it's not working right. The folks using the system have said if only one item is selected in the list, it appears to work fine, so is there a different syntax in the &lt;code&gt;buildingQuery&lt;/code&gt; statement that I need other than &lt;code&gt;args.queryBuilder.advancedExpression.add('@Model.ToCoveoFieldName(&quot;Committees&quot;) == &quot;' + pageId + '&quot;');&lt;/code&gt;? I was going with that because it worked for the path and &quot;all templates&quot; parameters.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2016-12-14T12:44:03.387" Title="Content does not show in Coveo despite matching criteria" Tags="|coveo|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="3317" PostTypeId="2" ParentId="3287" CreationDate="2016-12-13T13:06:36.287" Score="3" Body="&lt;p&gt;There's an entry for this in the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/60/presentation_component_troubleshooting_sc60-64-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore presentation component troubleshooting guide&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;It's this section:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;If layout details indicate that the layout engine should bind a&#xA;control to a placeholder, but the layout engine cannot locate a&#xA;placeholder with that key in the layouts and sublayouts already&#xA;processed, the layout engine does not create an error visible to the&#xA;browser. Instead, the layout engine writes warning messages such as&#xA;the following to the page trace visible in the Sitecore browser-based&#xA;debugger:&lt;/p&gt;&#xA;&lt;p&gt;Warning&lt;/p&gt;&#xA;&lt;p&gt;A rendering was not used on the page&lt;/p&gt;&#xA;&lt;p&gt;The placeholder was not found&lt;/p&gt;&#xA;&lt;p&gt;If you locate any of these warning messages in the page&#xA;trace, confirm that the sublayouts and renderings in layout details&#xA;for the item specify placeholder keys that exist in the layout and&#xA;sublayouts specified. Ensure that placeholder settings list controls&#xA;in component nesting order. For example, a sublayout containing a&#xA;placeholder should appear before the controls that bind to that&#xA;placeholder. Ensure that fully qualified placeholder keys reflect the&#xA;correct placeholder nesting order.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;It sounds like this is a common issue - if you look in your placeholder settings, check that you have the correct placeholder controls and that they are in nested order (so make sure your 3 inner placeholders are below their parent placeholder).&lt;/p&gt;&#xA;&lt;p&gt;If that isn't what's wrong - you could also try using fully qualified placeholder names (e.g. instead of &amp;quot;Right&amp;quot; use &amp;quot;/Content/Right&amp;quot;).&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-13T13:06:36.287" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3318" PostTypeId="1" AcceptedAnswerId="3334" CreationDate="2016-12-13T13:20:34.487" Score="4" ViewCount="1314" Body="&lt;p&gt;Let's say I have several custom templates in my solution that are managed via a TDS project. There's also code generation set up that creates strongly-typed Glass models based on &lt;a href=&quot;https://github.com/HedgehogDevelopment/tds-codegen/blob/master/Sitecore.Master/Code%20Generation%20Templates/GlassV3Item.tt&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;GlassV3Item.tt&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to be able to add custom &lt;code&gt;[SitecoreField]&lt;/code&gt; attribute values for some of my template fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, one of the fields is generated like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(SomeTemplateConstants.TagsFieldName)]&#xA;IEnumerable&amp;lt;ITag&amp;gt; Tags { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to disable lazy loading for this field, so that it's generated like this instead:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(SomeTemplateConstants.TagsFieldName, Setting = SitecoreFieldSettings.DontLoadLazily)]&#xA;IEnumerable&amp;lt;ITag&amp;gt; Tags { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'd like this custom field setting to be configurable via the TDS project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I achieve this?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-13T18:01:34.537" Title="How can I add custom attribute values to my Glass models generated by TDS?" Tags="|glass-mapper|tds|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3319" PostTypeId="1" AcceptedAnswerId="3320" CreationDate="2016-12-13T13:21:04.970" Score="4" ViewCount="836" Body="&lt;p&gt;In our Sitecore 8.1-3 solution I have created a custom xDB facet with a few different elements. When users log in to our site we call &lt;code&gt;Tracker.Current.Session.Identify(emailAddress);&lt;/code&gt; to properly identify them. I believe that what happens when we identify a user is that Sitecore gets a copy of their current Contact data and puts it in session. (I may be wrong about this)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then later on our site if a user does certain things we have some custom code that updates some data in their xDB Contact record.  The code that we use to update their xDB Contact record looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;&#xA;var lockResult = manager.TryLoadContact(_contact.ContactId);&#xA;&#xA;switch (lockResult.Status)&#xA;{&#xA;    case LockAttemptStatus.Success:&#xA;        var lockedContact = lockResult.Object;&#xA;        lockedContact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;&#xA;        //Update the contact&#xA;&#xA;        //Marketing Info&#xA;        var marketingInfo = lockedContact.GetFacet&amp;lt;IMarketingData&amp;gt;(&quot;Marketing Data&quot;);&#xA;&#xA;        marketingInfo.Organization = txtOrganization.Text;&#xA;        marketingInfo.Industries = txtIndustries.Text;&#xA;        marketingInfo.ProductTypes = txtProductTypes.Text;&#xA;&#xA;        manager.SaveAndReleaseContactToXdb(lockedContact);&#xA;&#xA;        break;&#xA;    case LockAttemptStatus.NotFound:&#xA;        Log.Info(&quot;LockAttempStatus.NotFound&quot;, this);&#xA;        break;&#xA;    default:&#xA;        Log.Info(&quot;Contact could not be locked&quot;, this);&#xA;        break;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So when that code runs it immediately updates the contact record in xDB.  I have used RoboMongo to verify this.  However what I have noticed is that if I let the user's session expire that the contact record in xDB seems to revert back to the data that was there before.  I am guessing that Sitecore keeps a copy of the contact record in session and when the session expires it writes it back to xDB and overwrites the changes that my code made.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to prevent this?  I am thinking that maybe there is some way after the &lt;code&gt;manager.SaveAndReleaseContactToXdb&lt;/code&gt; line of code that I could update the contact data stored in session so that it now has the updated data.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-12-13T13:44:15.707" Title="Why are custom xDB facets being overwritten on session end?" Tags="|xdb|contact-facets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3320" PostTypeId="2" ParentId="3319" CreationDate="2016-12-13T13:26:10.580" Score="8" Body="&lt;h2&gt;The solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are sure that the contact currently has a session on the site, then you should &lt;strong&gt;NOT&lt;/strong&gt; release it to the Collection Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, you should use this method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;manager.SaveAndReleaseContact(lockedContact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will save the contact data back to the Shared Session. All data will be saved to the Collection Database at the end of the session.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Background&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ContactManager&lt;/code&gt; class uses two storage types underneath:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;ContactRepository&lt;/code&gt; which works directly with the Collection database;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SharedSessionStateManager&lt;/code&gt; which works with the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state#_Toc396298780&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Shared Session&lt;/strong&gt;&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When you call &lt;code&gt;.TryLoadContact(contactId)&lt;/code&gt; and the contact &lt;em&gt;does not&lt;/em&gt; have a live session, then the contact will be locked in the Collection DB and loaded into the Shared Session. It is then also locked in the Shared Session so that your current thread can work with the contact exclusively.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you call &lt;code&gt;.TryLoadContact(contactId)&lt;/code&gt; and the contact &lt;em&gt;does&lt;/em&gt; have a live session in the same cluster, that means that the contact is already present in the Shared Session (and is locked in the Collection Database). The contact will be locked and loaded from the Shared Session without querying the Collection DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At this point, regardless of where the contact was loaded from, it is now in the Shared Session and locked to your thread. You can now update contact data before releasing it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you call &lt;code&gt;.SaveAndReleaseContact(contact)&lt;/code&gt;, the contact is released in the Shared Session, so other threads and members of the web cluster can use it. It is &lt;strong&gt;not&lt;/strong&gt; released in the Collection DB yet - it remains in the Shared Session until it expires.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you call &lt;code&gt;.SaveAndReleaseContactToXdb(contact)&lt;/code&gt;, it will be saved and unlocked in the Collection Database. This is not what you want in your scenario, because the web instance should be able to continue working with the contact. This method does &lt;strong&gt;NOT&lt;/strong&gt; remove the contact from the Shared Session, so xDB will assume it still has a lock on the contact. This is why it simply overwrites the data at the end of the session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that there is another override of the last method: &lt;code&gt;.SaveAndReleaseContactToXdb(contactId)&lt;/code&gt;, which takes a contact ID instead of a contact object. The important difference is that this method &lt;strong&gt;WILL&lt;/strong&gt; remove the contact from the Shared Session before saving it to xDB.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Choosing between the available ways of accessing the contact&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If you are in a page request, you should access the current contact via &lt;code&gt;Tracker.Current.Contact&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If your code is not in a page request, but the user may have a live session, use the &lt;code&gt;ContactManager&lt;/code&gt; with the methods described above.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If the contact is not in a live session right now, you should use &lt;code&gt;ContactRepository&lt;/code&gt;. See an example on how to use it &lt;a href=&quot;https://sitecore.stackexchange.com/a/3057/104&quot;&gt;&lt;strong&gt;here&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-13T13:44:15.707" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3321" PostTypeId="1" AcceptedAnswerId="3325" CreationDate="2016-12-13T13:30:07.407" Score="3" ViewCount="175" Body="&lt;p&gt;I'm trying to use &lt;a href=&quot;https://github.com/adamconn/sitecore-linqpad&quot; rel=&quot;nofollow noreferrer&quot;&gt;LinqPad Driver for Sitecore&lt;/a&gt; with &lt;a href=&quot;https://www.linqpad.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;LinqPad&lt;/a&gt; application by connecting to Local Sitecore (version 8.1 Update-1).&lt;/p&gt;&#xA;&lt;p&gt;However I'm getting below error when trying to test connection.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Test Connection to Sitecore&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Connection settings are valid for 8.1.0.151207.&lt;/p&gt;&#xA;&lt;p&gt;This version of Sitecore is not supported by the currently selected&#xA;IAppConfigReader class.&lt;/p&gt;&#xA;&lt;p&gt;This means that config changes implemented by the IAppConfigReader may&#xA;conflict with your version of Sitecore. This will not affect the&#xA;Sitecore server, but it may prevent LINQPad from being able to&#xA;properly communicate with the Sitecore server.&lt;/p&gt;&#xA;&lt;p&gt;If you experience problems you may need to implement a new&#xA;IAppConfigReader or extend the one currently being used.&#xA;&lt;em&gt;[added screenshot below for the same]&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7zh6j.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7zh6j.png&quot; alt=&quot;Error in LinqPad Driver for Sitecore&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;How to resolve this warning message?&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="-1" LastEditorDisplayName="user62" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-01-27T23:08:28.600" Title="How to resolve this error when using 'LinqPad Driver for Sitecore' with Sitecore 8.1?" Tags="|configuration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3322" PostTypeId="2" ParentId="3302" CreationDate="2016-12-13T13:47:54.007" Score="6" Body="&lt;p&gt;This can a tricky situation with a lot of possible soltuions, and I have had to work through this several times before, myself. SXA definitely isn't right for this solution, but one of the below might be.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Pre-Implementation Considerations&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Will the client want/need to modify the HTML in the Content Editor, i.e. will they need to modify it on their own&lt;/li&gt;&#xA;&lt;li&gt;Does the client have experience with HTML, where they can control their HTML as needed, or will an RTE be required?&lt;/li&gt;&#xA;&lt;li&gt;Will you need to content manage any of the page around the HTML, i.e. will you be using a Sitecore controlled header or footer, etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;To RTE or Not to RTE&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Sitecore Rich Text Editor is great...until it isn't. First off, you should only consider using it if you are going to manage other content on the page. Don't use an RTE for the entire page. From the standpoint of content entry and formatting rich text content, Sitecore's implementation of the Telerik editor does a pretty decent job and even lets you add your own HTML. If you client will need to modify the HTML on their own but doesn't have the HTML knowledge to do this without a GUI then the RTE is going to have to suffice. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, Sitecore's RTE also has &lt;em&gt;many&lt;/em&gt; problems for managing HTML content. First off, the RTE will change your HTML as it sees fit, in order to best approximate what it &lt;em&gt;thinks&lt;/em&gt; your editors want. This means that if you have scripts that are dependent on the HTML then you risk those scripts breaking, you could risk your styles being broken or CSS bugs being introduced, and so on. Basically, this works well for a well-defined and bounded section of content being managed for a page with a consistent overall design and structure, but it doesn't work all that well for an &lt;em&gt;entire&lt;/em&gt; page being managed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To @TamasTarnok's point, yes, disabling scripts in your RTE field is a possibility, but it wouldn't be my recommended approach since you can't disable scripts for just those fields that you want to use to store the HTML content of a page. Rather, you have to disable the scripts for &lt;em&gt;all&lt;/em&gt; fields. There is a reason why Sitecore disables scripts in this field by default. If you can avoid it, I wouldn't change it. If, however, your client does need the ability to modify the HTML content on their own and cannot do so without an RTE GUI then this option is worth consideration.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The Multiline Text Field Type&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The Multiline Text field type would be my recommended approach, if you plan to content manage other components on the page. As with the RTE, don't use an MLT for an entire page. It is meant specifically for what you are looking to do: managing raw HTML/script markup. This field will work great OOTB with no additional modifications, so long as your client either doesn't need to modify the HTML content on their own or else knows HTML well enough to modify the content without a GUI. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this approach, you are guaranteed that the HTML content you enter in the field will not be modified or manipulated and will be exactly what renders out on the front-end. Additionally, you don't have to make a solution wide change that affects all of your site's RTE fields.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;File-System Based Solutions&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you aren't going to be content managing (i.e. controlling components, like the header, footer, etc.) any of the page around the HTML (which I think is the case for your solution) then I would go with a file-system based solution. The idea here is that you already have the HTML files and all you really need to do is upload them to your web root. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would create a custom admin tool for your Content Authors to upload the files and store them at the desired path. You could even manage the unzipping of the files for only a few minutes (or seconds, if you don't need to look up the &lt;code&gt;System.IO.Compression&lt;/code&gt; namespace) of additional effort. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be sure to keep the following in mind:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If they need to be able to delete HTML files, they should have a mechanism to do that (can simply allow them to specify a path to an HTML file in the root and delete the file at that path)&lt;/li&gt;&#xA;&lt;li&gt;You may want to have a warning display if they try to overwrite an existing file&lt;/li&gt;&#xA;&lt;li&gt;If they need to be able to modify the HTML/content at will themselves, and uploading new files to overwrite the old ones isn't a feasible option then this might not be the way to go&lt;/li&gt;&#xA;&lt;li&gt;If you have scaled environment with separated CM and CD servers, you will need to set up a sync process or have your file upload copy the files to the CD server(s) as well (or something similar)&lt;/li&gt;&#xA;&lt;li&gt;If you want to support publishing, you will also need a custom mechanism to do so, as well&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-12-13T14:37:56.493" LastActivityDate="2016-12-13T14:37:56.493" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3323" PostTypeId="1" AcceptedAnswerId="3324" CreationDate="2016-12-13T13:52:55.100" Score="5" ViewCount="1234" Body="&lt;p&gt;I want to upgrade a Sitecore environment ( 8.0 Update 2 to 8.2 Update 1 ).&#xA;I recently went to a general Sitecore Presentation and there they mentioned that i could use a new Upgrade tool.&#xA;I found this page &quot; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool/&lt;/a&gt; &quot; where they mention a tool to upgrade from Sitecore 7.2 to 8.2. But it can only be done from Sitecore 7.2 with this tool it seems.&#xA;There's also for some reason a empty section about a newer version of the upgrade tool ? ( might be what i'm looking for but there is no information on it now ).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am i looking at the wrong tool, do you know about an other way to upgrade my Sitecore version. ( Or do i not need an upgrade tool at all for this specific upgrade ? I've never done any Sitecore upgrade at this point )&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any feedback and comments are welcome.&lt;/p&gt;&#xA;" OwnerUserId="1281" LastEditorUserId="1281" LastEditDate="2016-12-13T14:03:02.273" LastActivityDate="2016-12-13T14:03:02.273" Title="Best way to upgrade from Sitecore 8.0 Update 2 to 8.2 Update 1" Tags="|upgrade|migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3324" PostTypeId="2" ParentId="3323" CreationDate="2016-12-13T14:00:43.677" Score="6" Body="&lt;p&gt;The tool currently only supports upgrading from 7.2. You'll have 2 options when it comes to upgrading:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Follow the standard upgrade process from Sitecore. You'll need to upgrade in order, so you'll need to follow the upgrade process to go from 8.0 update 2 to 8.1, then from 8.1 to 8.2&lt;/li&gt;&#xA;&lt;li&gt;Stand up a new 8.2 instance, then migrate you current code and content from your 8.0 instance to the new 8.2 instance.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="731" LastActivityDate="2016-12-13T14:00:43.677" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3325" PostTypeId="2" ParentId="3321" CreationDate="2016-12-13T14:04:24.903" Score="2" Body="&lt;p&gt;If you look at the source on GitHub - the &lt;code&gt;Sitecore8AppConfigReader.cs&lt;/code&gt; file, it does a simple check on the version number:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override bool IsSupportedVersion(Version version)&#xA;{&#xA;    if (version == null) { return false; }&#xA;    var min = new Version(&quot;8.0&quot;);&#xA;    var max = new Version(&quot;8.1&quot;);&#xA;    if (version.CompareTo(min) != -1 &amp;amp;&amp;amp; version.CompareTo(max) == -1)&#xA;    {&#xA;        return true;&#xA;    }&#xA;    return base.IsSupportedVersion(version);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So if you want the message to stop, you would need to fork the code and update that class. Obviously you should test that the config reader for 8.2 is still compatible. If not, you will need to create your own config reader for 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should still be compatible, so you do have the option of ignoring he message if you just want to wait for Adam to update the source. &lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-12-13T14:04:24.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3326" PostTypeId="1" AcceptedAnswerId="3495" CreationDate="2016-12-13T14:17:55.790" Score="5" ViewCount="318" Body="&lt;p&gt;I am using Sitecore 8.2 in a Helix configuration and added some custom chrome placeholder styling that I found in the Professional Sitecore 8 Development book. The code works in that I can now see the custom chrome styling, but I am now receiving XHTML validation errors, whereas I wasn't getting these errors before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zudoE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zudoE.png&quot; alt=&quot;XHTML errors&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read that HTML5 tags may cause this kind of XHTML error, but the HTML5 tags I'm currently using were not causing this error before I added the chrome styling. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also searched for the rendering IDs named in each error in the page source and they were each referring to the &lt;code&gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;/code&gt; block that I believe contains the Json for each placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if the  tag is not XHTML compliant? If it is, what can I do about this error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: I've also discovered that when I check the Validation tool in the Home tab in the Proofing section from XP Editor, I have numerous warnings like &quot;Warning: Could not find schema information for the element 'html'.&quot; and for every other common html tag. &lt;/p&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="1133" LastEditDate="2016-12-13T17:06:00.053" LastActivityDate="2016-12-20T16:22:57.453" Title="Custom chrome styling causing XHTML validation issue" Tags="|placeholders|" AnswerCount="2" CommentCount="2" ClosedDate="2016-12-20T21:00:36.567" ContentLicense="CC BY-SA 3.0" />
  <row Id="3327" PostTypeId="1" AcceptedAnswerId="3328" CreationDate="2016-12-13T14:42:25.837" Score="5" ViewCount="424" Body="&lt;p&gt;Following steps in this &lt;a href=&quot;https://doc.sitecore.net/cloud/working_with_sitecore_azure/configuring_sitecore_azure/deploy_a_new_sitecore_environment_to_azure_app_service&quot; rel=&quot;noreferrer&quot;&gt;link&lt;/a&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I uploaded the standard Sitecore 8.2 rev. 161115 (WDP XP0 package).zip to a newly created azure storage file share and used the link with the SAS token in it in the parameters json (link below altered to prevent package being available to the public).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://XXXXXXXstorage.file.core.windows.net/wdp/Sitecore%208.2%20rev.%20161115%20(WDP%20XP0%20package).zip?st=2016-12-13T13%3A48%3A00Z&amp;amp;se=2020-12-14T13%3A48%3A00Z&amp;amp;sp=rl&amp;amp;sv=2015-12-11&amp;amp;sr=f&amp;amp;sig=y48hyhmQc9B2alOAve%2BfFLEdO9ETXyMfwmR%2FNDj8XSE%3D&quot; rel=&quot;noreferrer&quot;&gt;https://XXXXXXXstorage.file.core.windows.net/wdp/Sitecore%208.2%20rev.%20161115%20(WDP%20XP0%20package).zip?st=2016-12-13T13%3A48%3A00Z&amp;amp;se=2020-12-14T13%3A48%3A00Z&amp;amp;sp=rl&amp;amp;sv=2015-12-11&amp;amp;sr=f&amp;amp;sig=y48hyhmQc9B2alOAve%2BfFLEdO9ETXyMfwmR%2FNDj8XSE%3D&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get the error message below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a newly created azure trial with the $200 credit. I would appreciate it if someone can let me know if anything in the log jumps out at them.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-AzureRmResourceGroupDeployment : 8:16:20 AM - Resource Microsoft.Web/sites/extensions 'xp0-dev-single/MSDeploy' failed with message '{&#xA;  &quot;status&quot;: &quot;failed&quot;,&#xA;  &quot;error&quot;: {&#xA;    &quot;code&quot;: &quot;ResourceDeploymentFailure&quot;,&#xA;    &quot;message&quot;: &quot;The resource operation completed with terminal provisioning state 'failed'.&quot;,&#xA;    &quot;details&quot;: [&#xA;      {&#xA;        &quot;code&quot;: &quot;Failed&quot;,&#xA;        &quot;message&quot;: &quot;AppGallery Deploy Failed: 'Microsoft.WindowsAzure.Storage.StorageException: Blob type of the blob reference doesn't match blob type of the blob. ---&amp;amp;amp;gt; &#xA;System.InvalidOperationException: Blob type of the blob reference doesn't match blob type of the blob.\r\n   at &#xA;Microsoft.WindowsAzure.Storage.Blob.CloudBlob.UpdateAfterFetchAttributes(BlobAttributes blobAttributes, HttpWebResponse response, Boolean ignoreMD5)\r\n   at &#xA;Microsoft.WindowsAzure.Storage.Blob.CloudBlob.&amp;amp;amp;lt;&amp;amp;amp;gt;c__DisplayClass18.&amp;amp;amp;lt;FetchAttributesImpl&amp;amp;amp;gt;b__17(RESTCommand`1 cmd, HttpWebResponse resp, Exception ex, &#xA;OperationContext ctx)\r\n   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)\r\n   --- End &#xA;of inner exception stack trace ---\r\n   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext &#xA;operationContext)\r\n   at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.IsPremiumApp()\r\n   at &#xA;Microsoft.Web.Deployment.WebApi.DeploymentController.CheckCanDeployIfAppIsPremium(AppGalleryPackageInfo packageInfo, Boolean&amp;amp;amp;amp; isPremium)\r\nRequest &#xA;Information\r\nRequestID:a1fdaf21-001a-0135-0c4b-559fec000000\r\nRequestDate:Tue, 13 Dec 2016 14:15:56 GMT\r\nStatusMessage:OK\r\n'\r\nFailed to download package.\r\nAppGallery Deploy &#xA;Failed: 'Microsoft.WindowsAzure.Storage.StorageException: Blob type of the blob reference doesn't match blob type of the blob. ---&amp;amp;gt; System.InvalidOperationException: Blob type of the blob &#xA;reference doesn't match blob type of the blob.\r\n   at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.UpdateAfterFetchAttributes(BlobAttributes blobAttributes, HttpWebResponse response, &#xA;Boolean ignoreMD5)\r\n   at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.&amp;amp;lt;&amp;amp;gt;c__DisplayClass14.&amp;amp;lt;GetBlobImpl&amp;amp;gt;b__11(RESTCommand`1 cmd, HttpWebResponse resp, Exception ex, &#xA;OperationContext ctx)\r\n   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndGetResponse[T](IAsyncResult getResponseResult)\r\n   --- End of inner exception stack trace ---\r\n   &#xA;at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndExecuteAsync[T](IAsyncResult result)\r\n   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 &#xA;endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at &#xA;System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at &#xA;Microsoft.Web.Deployment.WebApi.AppGalleryPackage.&amp;amp;lt;Download&amp;amp;gt;d__a.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at &#xA;System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at &#xA;Microsoft.Web.Deployment.WebApi.AppGalleryPackage.&amp;amp;lt;Download&amp;amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at &#xA;System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at &#xA;Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt;DownloadAndDeployPackage&amp;amp;gt;d__d.MoveNext()\r\nRequest &#xA;Information\r\nRequestID:a1fdaf25-001a-0135-0d4b-559fec000000\r\nRequestDate:Tue, 13 Dec 2016 14:15:57 GMT\r\nStatusMessage:OK\r\n'&quot;&#xA;      }&#xA;    ]&#xA;  }&#xA;}'&#xA;At C:\Projects\GitHub\Sitecore.Azure\Cloud.Services.Provisioning.SDK\tools\Sitecore.Cloud.Cmdlets.psm1:78 char:31&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&#xA;New-AzureRmResourceGroupDeployment : 8:16:20 AM - AppGallery Deploy Failed: 'Microsoft.WindowsAzure.Storage.StorageException: Blob type of the blob reference doesn't match blob type of the &#xA;blob. ---&amp;amp;amp;gt; System.InvalidOperationException: Blob type of the blob reference doesn't match blob type of the blob.&#xA;   at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.UpdateAfterFetchAttributes(BlobAttributes blobAttributes, HttpWebResponse response, Boolean ignoreMD5)&#xA;   at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.&amp;amp;amp;lt;&amp;amp;amp;gt;c__DisplayClass18.&amp;amp;amp;lt;FetchAttributesImpl&amp;amp;amp;gt;b__17(RESTCommand`1 cmd, HttpWebResponse resp, Exception ex, &#xA;OperationContext ctx)&#xA;   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)&#xA;   --- End of inner exception stack trace ---&#xA;   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)&#xA;   at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.IsPremiumApp()&#xA;   at Microsoft.Web.Deployment.WebApi.DeploymentController.CheckCanDeployIfAppIsPremium(AppGalleryPackageInfo packageInfo, Boolean&amp;amp;amp;amp; isPremium)&#xA;Request Information&#xA;RequestID:a1fdaf21-001a-0135-0c4b-559fec000000&#xA;RequestDate:Tue, 13 Dec 2016 14:15:56 GMT&#xA;StatusMessage:OK&#xA;'&#xA;Failed to download package.&#xA;AppGallery Deploy Failed: 'Microsoft.WindowsAzure.Storage.StorageException: Blob type of the blob reference doesn't match blob type of the blob. ---&amp;amp;gt; System.InvalidOperationException: &#xA;Blob type of the blob reference doesn't match blob type of the blob.&#xA;   at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.UpdateAfterFetchAttributes(BlobAttributes blobAttributes, HttpWebResponse response, Boolean ignoreMD5)&#xA;   at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.&amp;amp;lt;&amp;amp;gt;c__DisplayClass14.&amp;amp;lt;GetBlobImpl&amp;amp;gt;b__11(RESTCommand`1 cmd, HttpWebResponse resp, Exception ex, OperationContext ctx)&#xA;   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndGetResponse[T](IAsyncResult getResponseResult)&#xA;   --- End of inner exception stack trace ---&#xA;   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndExecuteAsync[T](IAsyncResult result)&#xA;   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.&amp;amp;lt;Download&amp;amp;gt;d__a.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.&amp;amp;lt;Download&amp;amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt;DownloadAndDeployPackage&amp;amp;gt;d__d.MoveNext()&#xA;Request Information&#xA;RequestID:a1fdaf25-001a-0135-0d4b-559fec000000&#xA;RequestDate:Tue, 13 Dec 2016 14:15:57 GMT&#xA;StatusMessage:OK&#xA;'&#xA;At C:\Projects\GitHub\Sitecore.Azure\Cloud.Services.Provisioning.SDK\tools\Sitecore.Cloud.Cmdlets.psm1:78 char:31&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&#xA;New-AzureRmResourceGroupDeployment : 8:16:20 AM - Template output evaluation skipped: at least one resource deployment operation failed. Please list deployment operations for details. Please &#xA;see https://aka.ms/arm-debug for usage details.&#xA;At C:\Projects\GitHub\Sitecore.Azure\Cloud.Services.Provisioning.SDK\tools\Sitecore.Cloud.Cmdlets.psm1:78 char:31&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&#xA;New-AzureRmResourceGroupDeployment : 8:16:20 AM - Template output evaluation skipped: at least one resource deployment operation failed. Please list deployment operations for details. Please &#xA;see https://aka.ms/arm-debug for usage details.&#xA;At C:\Projects\GitHub\Sitecore.Azure\Cloud.Services.Provisioning.SDK\tools\Sitecore.Cloud.Cmdlets.psm1:78 char:31&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="901" LastActivityDate="2016-12-13T14:48:48.757" Title="Deploy a new Sitecore environment to Azure App Service" Tags="|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3328" PostTypeId="2" ParentId="3327" CreationDate="2016-12-13T14:48:48.757" Score="8" Body="&lt;p&gt;Unlike the Sitecore XP1 and XM1 packages, the XP0 package contains a zip inside the zip.&#xA;You need to unpack that zip to your hard drive first (so it directly has the Content folder, and other files directly inside it), then upload it to your BlobStorage. Use the link of that blob in your ARM template parameters, and the install should work fine.&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2016-12-13T14:48:48.757" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3329" PostTypeId="1" CreationDate="2016-12-13T15:52:47.700" Score="6" ViewCount="390" Body="&lt;p&gt;We are building a landing page which only consists of loosely coupled renderings in an atomic design. The first rendering is usually a &quot;Hero&quot; component but not always. The Hero component can potentially be present multiple times on the landing page as it is a loosely coupled rendering that can be used on other pages as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to stick a h1 tag on the landing page, but because the page itself is empty and it only consists of one placeholder and loosely coupled renderings I am not sure where to put it. All the renderings that make up the landing page have images on them and I want to wrap one of these images in a h1 tag and give the image an alt-text. According to people who know more about SEO than me that is an acceptable way of doing it. The design does not allow for a visible h1-text and I cannot just hide a h1 tag through CSS as search engines would punish the website for doing that, so it needs to be displayed in an image alt tag wrapped in a h1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I need to ensure that the h1-tag is displayed once and only once per landing page, but it doesn't matter where it is placed as long as it is present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Surely, this is a very common scenario when working with loosely coupled components, so I am curious to know how other people have solved this problem?&lt;/p&gt;&#xA;" OwnerUserId="1026" LastEditorUserId="1026" LastEditDate="2016-12-14T16:14:52.303" LastActivityDate="2016-12-14T17:52:30.000" Title="One H1 tag on a landing page built by loosely coupled renderings" Tags="|seo|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="3330" PostTypeId="2" ParentId="3326" CreationDate="2016-12-13T16:28:14.867" Score="1" Body="&lt;p&gt;This error is detected by Sitecore Javascript code when it is unable to handle tags that are received from server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is that modern browsers are &quot;too smart&quot; that if they receive wrong XHTML document, e.g. nested P tags:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;&#xA;   text &amp;lt;p&amp;gt;another text&amp;lt;/p&amp;gt;&#xA;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then then will transfer them into two tags on same level:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;text&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;another text&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It causes Sitecore JavaScript code inability to find proper element near CODE tag. And I am not sure if it is possible to fix it from Sitecore side. Check places near mentioned  tags on similar problems, refer to &lt;a href=&quot;https://kb.sitecore.net/articles/365101&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/365101&lt;/a&gt;. Do not use browser developer tools as they show already modified HTML.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2016-12-13T16:28:14.867" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3331" PostTypeId="2" ParentId="3318" CreationDate="2016-12-13T16:59:51.210" Score="1" Body="&lt;p&gt;1) Extend /sitecore/templates/System/Templates/Template field {455A3E98-A627-4B40-8035-E683A0331AC7} with your field, e.g. checkbox &quot;Not lazy&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Change T4 template(line 119) to use this property for generation different code              &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;#if(GetValue(field.SitecoreFields, &quot;Not lazy&quot;)){#&amp;gt;&#xA;    [SitecoreField(&amp;lt;#= AsInterfaceName(template.Name) #&amp;gt;Constants.&amp;lt;#=GetPropertyName(field) #&amp;gt;FieldName), Setting = SitecoreFieldSettings.DontLoadLazily]&#xA;    &amp;lt;#}#&amp;gt;&#xA;    &amp;lt;#else{#&amp;gt;&#xA;    [SitecoreField(&amp;lt;#= AsInterfaceName(template.Name) #&amp;gt;Constants.&amp;lt;#=GetPropertyName(field) #&amp;gt;FieldName)]&#xA;    &amp;lt;#}#&amp;gt;&#xA;    public virtual &amp;lt;#=GetGlassFieldType(field)#&amp;gt; &amp;lt;#= GetPropertyName(field) #&amp;gt;  {get; set;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I know that it is not too cool to change Sitecore system items, but I don't see another way to do it. Probably also you could try to use &quot;Custom Data&quot; property in VS(but it seems that it could require modification of TDS code that call T4 template execution).&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2016-12-13T16:59:51.210" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3332" PostTypeId="1" AcceptedAnswerId="3333" CreationDate="2016-12-13T17:12:42.803" Score="3" ViewCount="119" Body="&lt;p&gt;Due to a recent mishap, our client is requesting that when a Content Author tries to edit an item we first check to see if the item is used as a datasource for any items that the Content Author does not have permission to edit, and deny editing (write/delete/rename) permissions if so. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know a good way to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note: I added my working idea as a possible solution, but I'm not super happy with it right now. It's a lot of effort and I am very concerned about the performance toll that it will take.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Sitecore Architecture&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore architecture at a site level, there are two locations where I store rendering datasources:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Page Content Library (PCL):&lt;/strong&gt; under the &lt;em&gt;page item&lt;/em&gt;; page-specific datasources that are not used by any other page&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Shared Content Library (SCL):&lt;/strong&gt; under the &lt;em&gt;site item&lt;/em&gt;; site-specific datasources that can be shared by renderings on multiple pages&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Visual Example of the Issue&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Consider the following Sitecore tree structure:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;|- MySite&#xA;|--+- Global Settings&#xA;|--+- Shared Content Library&#xA;|--|--+- Banners&#xA;|--|--+- Headlines&#xA;|--|--+- Callouts&#xA;|--|--|--+- My Shared Callout       * Dynamically deny permissions to this item&#xA;|--|--+- ...&#xA;|--+- Home                          * &quot;My Shared Callout&quot; used; no edit permissions&#xA;|--|--+- Page Content Library &#xA;|--|--|--+- Banners&#xA;|--|--|--+- Headlines&#xA;|--|--|--+- Callouts&#xA;|--|--|--+- ...&#xA;|--|--+- About                      * shared datasource used; has edit permissions&#xA;|--|--|--+- Page Content Library&#xA;|--|--|--|--+- Banners&#xA;|--|--|--|--+- Headlines&#xA;|--|--|--|--+- Callouts&#xA;|--|--|--|--+- ...&#xA;|--|--+--+- ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the &lt;em&gt;callout component&lt;/em&gt;, &quot;My Shared Callout&quot;, is shared by a rendering on both the &lt;code&gt;Home&lt;/code&gt; page item and the &lt;code&gt;About&lt;/code&gt; page item. Note also that in this example, the specific content author &lt;em&gt;doesn't&lt;/em&gt; have permission to edit the &lt;code&gt;Home&lt;/code&gt; page item but &lt;em&gt;does&lt;/em&gt; have permission to edit the &lt;code&gt;About&lt;/code&gt; page item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example, in order to allow the Content Author to edit all of the content for the &lt;code&gt;About&lt;/code&gt; item, he must have permission to edit shared datasource content in the &lt;code&gt;Shared Content Library&lt;/code&gt;. However, if a particular datasource is used by a rendering on a page item that the Content Author &lt;em&gt;doesn't&lt;/em&gt; jave permission to edit, then this would mean that the Content Author could edit content for a page that (s)he does not have permission to edit. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-12-13T17:44:52.413" LastActivityDate="2016-12-13T17:44:52.413" Title="Dynamic User Permissions for Shared Datasource Items" Tags="|editor-user-permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3333" PostTypeId="2" ParentId="3332" CreationDate="2016-12-13T17:43:22.727" Score="2" Body="&lt;p&gt;One possible solution is to create a rule that runs either on:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;item:open&lt;/code&gt; &lt;em&gt;if user shouldn't be able to read the item if denied editing access&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;item:lock&lt;/code&gt; &lt;em&gt;if user shouldn't be able to lock and edit if denied editing access&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;item:saving&lt;/code&gt; &lt;em&gt;allow user to make changes but not save if denied editing access&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The rule's condition and action logic would read similar to the following (shortened for readability on SSE)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;when current item is descendant of item with the Shared Content Library template &#xA;    and when current user does not have write access to all uses of current item&#xA;Deny user access to item and display &quot;Editing permission denied...&quot; message&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In order to do this, you would need the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Event Handler to run the rule&lt;/li&gt;&#xA;&lt;li&gt;Rule Settings items (with necessary rule context folders, definitions, tag(s), element folders, etc.)&lt;/li&gt;&#xA;&lt;li&gt;Custom condition to check ancestors of the current item to see if any are &quot;Shared Content Library&quot; items&lt;/li&gt;&#xA;&lt;li&gt;Custom condition to check datasource dependencies of the current item to see there are any that the user doesn't have access to. There are many ways to do this: you could use a &lt;a href=&quot;https://sitecore.stackexchange.com/q/677/423&quot;&gt;powershell script&lt;/a&gt;; you could run the &lt;code&gt;Sitecore.ContentSearch.Pipelines.GetDependencies&lt;/code&gt; pipeline (depending on your implementation and version); etc.&lt;/li&gt;&#xA;&lt;li&gt;Custom action that calls a command to display an error message to the author that explains why they cannot edit the item&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Performance Consideration&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The biggest problem is that this could &lt;em&gt;seriously&lt;/em&gt; slow down the Sitecore Client and heavily impact the Content Authoring experience, so you should should strongly consider caching the output of each of the custom conditions.   &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-13T17:43:22.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3334" PostTypeId="2" ParentId="3318" CreationDate="2016-12-13T17:55:31.623" Score="8" Body="&lt;p&gt;You can update the &lt;strong&gt;GlassV3Item.tt&lt;/strong&gt; file and make use of the &lt;code&gt;Custom Data&lt;/code&gt; property in TDS to set whether a field should not be lazy loaded.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's add some comments to keep this clean. Add this near the top of the file with the rest of the setting comments (&lt;a href=&quot;https://github.com/HedgehogDevelopment/tds-codegen/blob/master/Sitecore.Master/Code%20Generation%20Templates/GlassV3Item.tt#L38&quot; rel=&quot;noreferrer&quot;&gt;Line 38&lt;/a&gt; on clean tt file)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/*&#xA;dontloadlazy=true&#xA;    Sets the field setting to DontLoadLazily&#xA;*/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add a new method to the end of the file which will check whether the field has the above property set on it in TDS (&lt;a href=&quot;https://github.com/HedgehogDevelopment/tds-codegen/blob/master/Sitecore.Master/Code%20Generation%20Templates/GlassV3Item.tt#L240&quot; rel=&quot;noreferrer&quot;&gt;Line 240&lt;/a&gt; on a clean file):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static string GetGlassFieldLoadLazily(SitecoreField field)&#xA;{   &#xA;    string loadLazy = GetCustomProperty(field.Data, &quot;dontloadlazy&quot;);&#xA;    bool isDontLoadLazy;&#xA;    bool.TryParse(loadLazy, out isDontLoadLazy);&#xA;&#xA;    if (isDontLoadLazy)&#xA;        return &quot;, Setting = SitecoreFieldSettings.DontLoadLazily&quot;;&#xA;&#xA;    return string.Empty;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next update the code generation to reference your method and pass through the field settings:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/tds-codegen/blob/master/Sitecore.Master/Code%20Generation%20Templates/GlassV3Item.tt#L75&quot; rel=&quot;noreferrer&quot;&gt;Line 75&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[SitecoreField(&amp;lt;#= AsInterfaceName(template.Name) #&amp;gt;Constants.&amp;lt;#= GetPropertyName(field) #&amp;gt;FieldName &amp;lt;#= GetGlassFieldLoadLazily(field) #&amp;gt;)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/tds-codegen/blob/master/Sitecore.Master/Code%20Generation%20Templates/GlassV3Item.tt#L119&quot; rel=&quot;noreferrer&quot;&gt;Line 119&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[SitecoreField(&amp;lt;#= AsInterfaceName(template.Name) #&amp;gt;Constants.&amp;lt;#= GetPropertyName(field) #&amp;gt;FieldName &amp;lt;#= GetGlassFieldLoadLazily(field) #&amp;gt;)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For every field which you wish the setting to apply to, update the properties for that field in TDS and set &lt;strong&gt;dontloadlazy=true&lt;/strong&gt; in &lt;code&gt;Custom Data&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oRJkv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oRJkv.png&quot; alt=&quot;TDS Don&amp;#39;t Lazily Load&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Generate the code for your project and then property will now be added to the generated code.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-12-13T18:01:34.537" LastActivityDate="2016-12-13T18:01:34.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3335" PostTypeId="1" AcceptedAnswerId="3410" CreationDate="2016-12-13T20:03:11.760" Score="6" ViewCount="315" Body="&lt;p&gt;I have a function to fill in a user's first name, last name and email address when they are logged into our web site. But, now that we have translated our pages into dozens of languages, a bug has come up. When the field name is translated from English, it is not found and the field is not populated. Other than adding each of the foreign languages to the conditional statement, is there a way to fix this bug by using the item name instead of the title?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void FillInUserData(Control control)&#xA;{&#xA;    foreach (Control child in control.Controls)&#xA;    {&#xA;        if (child is BaseControl)&#xA;        {&#xA;            if (child is InputControl)&#xA;            {&#xA;                InputControl field = (InputControl)child;&#xA;&#xA;                if (field.Title.Equals(&quot;Email Address&quot;))&#xA;                {&#xA;                    field.Text = UserSession.EmailAddress;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UhQhZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UhQhZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="423" LastEditDate="2017-08-08T14:49:21.987" LastActivityDate="2017-08-08T14:49:21.987" Title="Filling In WFFM Form Field When Field Title Is Translated" Tags="|wffm|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3336" PostTypeId="5" CreationDate="2016-12-13T21:23:36.730" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2016-12-13T21:23:36.730" LastActivityDate="2016-12-13T21:23:36.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3337" PostTypeId="4" CreationDate="2016-12-13T21:23:36.730" Score="0" Body="FakeDb is an open source unit testing framework for Sitecore that enables creation and manipulation of Sitecore content in memory." OwnerUserId="272" LastEditorUserId="272" LastEditDate="2016-12-13T22:35:24.237" LastActivityDate="2016-12-13T22:35:24.237" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3338" PostTypeId="1" AcceptedAnswerId="3339" CreationDate="2016-12-13T23:35:40.510" Score="6" ViewCount="1081" Body="&lt;p&gt;We have a case where we need to notify approvers when a page is sent for approval. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the notification email, I want to include a link so that the approvers can go directly to the page in the Sitecore Experience Editor (version 8.1-Update 1). If they are not logged in, they should naturally get the login form and then be redirect the the requested page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have done something similar before with the &lt;strong&gt;Content Editor&lt;/strong&gt; using a URL on the format:&lt;br/&gt;&#xA;&lt;em&gt;{cmsHost}/sitecore/shell/Applications/Content%20Editor.aspx?id={itemID}&amp;amp;fo={itemID}&amp;amp;la={itemLanguage}&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the user is not logged in, they are redirected to &lt;em&gt;/sitecore/login&lt;/em&gt; with a &lt;em&gt;returnUrl&lt;/em&gt; parameter that points to my link. After logging in, the user is automatically redirected to the correct page in the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the &lt;strong&gt;Experience Editor&lt;/strong&gt;, I tried to use the URL format:&lt;br/&gt;&#xA;&lt;em&gt;{cmsHost}/?sc_itemid={itemID}&amp;amp;sc_lang={itemLanguage}&amp;amp;sc_version={itemVersion}&amp;amp;sc_mode={mode}&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works fine when the user is logged in, but when the user is not logged in, the request is simply redirected to &lt;em&gt;/sitecore/login&lt;/em&gt; without the &lt;em&gt;returnUrl&lt;/em&gt; parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some digging it looks like the returnUrl is added specifically in the Content Editor code (and a few other applications), but there is no such logic in the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did find a configuration setting called &lt;code&gt;Authentication.SaveRawUrl&lt;/code&gt; that felt promising:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Specifies whether the original request URL is passed to the login page&#xA;  (saved in 'url' query string parameter).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Setting this to &lt;code&gt;true&lt;/code&gt; did indeed add a &lt;em&gt;url&lt;/em&gt; parameter when Sitecore redirects the user to the login page. However, there are a few issues:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;There is no built-in support for actually redirecting the user after logging in (like for the &lt;em&gt;returnUrl&lt;/em&gt; parameter). &lt;/li&gt;&#xA;&lt;li&gt;Linking to the Content Editor will redirect to the login form with both the &lt;em&gt;returnUrl&lt;/em&gt; and the &lt;em&gt;url&lt;/em&gt; parameters.&lt;/li&gt;&#xA;&lt;li&gt;The url is also encoded twice for some reason (I'm guessing this is a bug?).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I can see a few different possible work-arounds, but non is very appealing:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Write another processor for redirecting after login (using the &lt;em&gt;url&lt;/em&gt; parameter)&lt;/li&gt;&#xA;&lt;li&gt;Patching or rewriting the &lt;code&gt;SaveRawUrl&lt;/code&gt; functionality to set the &lt;em&gt;returnUrl&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Linking to a custom handler that checks if the user is logged in and redirects accordingly&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Quite frankly this feels like a fairly standard feature that should work uniformly out-of-the-box?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is there a preferred way of doing this sort of external deep links to the Experience Editor?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="409" LastEditorUserId="409" LastEditDate="2016-12-14T00:05:55.213" LastActivityDate="2019-09-12T12:40:42.303" Title="How to deep link into Experience Editor so that user is redirected after login?" Tags="|links|redirect|login|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3339" PostTypeId="2" ParentId="3338" CreationDate="2016-12-14T00:16:12.033" Score="10" Body="&lt;p&gt;Instead of linking to an item with an &lt;code&gt;id&lt;/code&gt; parameter, instead link to the full item URL with &lt;code&gt;sc_mode=edit&lt;/code&gt; parameter set, e.g. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{cmsHost}/path/to/item-page?sc_lang={itemLanguage}&amp;amp;sc_version={itemVersion}&amp;amp;sc_mode=edit&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The user will be redirected to the login page with the correct &lt;code&gt;returnUrl&lt;/code&gt; parameter and then correctly redirected back to the item in Experience Editor mode after successfully logging in.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2016-12-14T00:23:35.590" LastActivityDate="2016-12-14T00:23:35.590" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3340" PostTypeId="1" CreationDate="2016-12-14T04:05:09.727" Score="5" ViewCount="1806" Body="&lt;p&gt;We have items which are associated with worfklow. This workflow has different states like draft, reviewed, approved. Whenever it is moved to next state, we enter the comments. We need to get all these comments whenever item is published and then we have to send it through email. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some way to get all the workflow comments for item?&lt;/p&gt;&#xA;" OwnerUserId="1259" LastActivityDate="2019-03-12T15:33:29.517" Title="How to get workflow comments?" Tags="|workflow|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3341" PostTypeId="2" ParentId="3340" CreationDate="2016-12-14T04:24:19.827" Score="10" Body="&lt;p&gt;Using the code below, you can get comments from all workflow states of any particular item version:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Workflows.WorkflowEvent[] workflowHistory =&#xA;  Database.WorkflowProvider&#xA;    .GetWorkflow(item)&#xA;    .GetHistory(item);&#xA;&#xA;string workflowComments = &quot;&quot;;&#xA;&#xA;foreach (Sitecore.Workflows.WorkflowEvent work in workflowHistory)&#xA;{&#xA;   workflowComments += string.Join(&quot;,&quot;, work.CommentFields[&quot;Comments&quot;]) + &quot; &quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I am not using &lt;code&gt;work.Text&lt;/code&gt;, as that field is obsolete. &lt;code&gt;work.CommentFields&lt;/code&gt; should be used instead. This new property has added so that you can extend it to add additional fields for custom comment data.&lt;/p&gt;&#xA;" OwnerUserId="607" LastEditorUserId="104" LastEditDate="2016-12-14T08:40:35.903" LastActivityDate="2016-12-14T08:40:35.903" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3342" PostTypeId="2" ParentId="3340" CreationDate="2016-12-14T05:10:19.103" Score="8" Body="&lt;p&gt;You can always use &lt;strong&gt;Sitecore PowerShell Extensions&lt;/strong&gt; if you would like to generate reports or build a UI around the history data.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:&quot; -Id &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;&#xA;&#xA;$db = Get-Database -Name &quot;master&quot;&#xA;$workflowProvider = $db.WorkflowProvider&#xA;&#xA;foreach($version in $item.Versions.GetVersions()) {&#xA;    $workflowEvents = $workflowProvider.HistoryStore.GetHistory($version)&#xA;    foreach($workflowEvent in $workflowEvents) {&#xA;        &quot;[$($workflowEvent.Date)] ($($workflowEvent.User)) $(($workflowEvent.Text -replace '(\r|\n)',''))&quot;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[12/14/2016 04:27:55] (sitecore\editor-eddie) Here are some comments.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[12/14/2016 04:39:55] (sitecore\approver-amie) Please try again! &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[12/14/2016 04:40:13] (sitecore\editor-eddie) How about this?I tried hard.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;With more recent versions of SPE (5.0) you should see a report for &quot;Recent workflow history&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Iouhs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Iouhs.png&quot; alt=&quot;Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-03-12T15:33:29.517" LastActivityDate="2019-03-12T15:33:29.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3343" PostTypeId="1" AcceptedAnswerId="3400" CreationDate="2016-12-14T05:21:36.330" Score="2" ViewCount="842" Body="&lt;p&gt;I've created a custom workflow .As per workflow when it is in final state, the workflow will not kick off unless user create a new version and clicks on edit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is there a way to enable auto version creation on click of&#xA;Review-Edit? &lt;/li&gt;&#xA;&lt;li&gt;Also I m looking at option to enforce auto creation&#xA;irrespective of user role. I want this auto creation should be&#xA;implied to administrator or any logged in user to cms system.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Any help. Let me know if any clarification required.&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="2727" LastEditDate="2018-03-15T08:53:38.623" LastActivityDate="2018-03-15T08:53:38.623" Title="How to enable auto versioning on review-edit button?" Tags="|workflow|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3344" PostTypeId="2" ParentId="3300" CreationDate="2016-12-14T07:20:43.467" Score="10" Body="&lt;p&gt;'New-SCWebDeployPackage' cmdlet will be available after importing assembly &lt;strong&gt;Sitecore.Cloud.Cmdlets.dll&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, loading an assembly from a network path in PowerShell console is disabled, It can be enabled by creating two PowerShell configuration files:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.config   &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe.config&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;  &amp;lt;configuration&amp;gt;&#xA;    &amp;lt;runtime&amp;gt;&#xA;      &amp;lt;loadFromRemoteSources enabled=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;/runtime&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Open new PowerShell console window and import module:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-ps prettyprint-override&quot;&gt;&lt;code&gt;Import-Module &quot;$PSScriptRoot\Sitecore.Cloud.Cmdlets.dll&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1288" LastEditorUserId="237" LastEditDate="2016-12-14T09:48:12.103" LastActivityDate="2016-12-14T09:48:12.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3345" PostTypeId="2" ParentId="3335" CreationDate="2016-12-14T08:08:44.837" Score="1" Body="&lt;p&gt;I would create a new WFFM field in Sitecore and then you have the full control of this field and it's not hacky.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1. Backend implementation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Here is the implementation which renders the user email into a div element.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Form.Core.Controls.Data;&#xA;using Sitecore.Form.Web.UI.Controls;&#xA;using Sitecore.Web.UI.HtmlControls;&#xA;&#xA;namespace MyProject.WFFM.Fields&#xA;{&#xA;    public class UserDataEmailField : BaseControl&#xA;    {&#xA;        private Panel container = new Panel();&#xA;&#xA;        public override ControlResult Result&#xA;        {&#xA;            get&#xA;            {&#xA;                var item = Sitecore.Context.Database.GetItem(this.FieldID);&#xA;                return new ControlResult(item.Name, Sitecore.Context.User.Profile.Email, string.Empty);&#xA;            }&#xA;        }&#xA;&#xA;        protected override void OnInit(EventArgs e)&#xA;        {&#xA;            this.Controls.AddAt(0, this.container);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;2. WFFM field item in Sitecore&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Then you need to create the new WFFM field item in Sitecore like the following.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oY7Vb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oY7Vb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you are done with this you can use this new field on your forms.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-12-14T08:08:44.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3346" PostTypeId="2" ParentId="3335" CreationDate="2016-12-14T09:03:44.143" Score="2" Body="&lt;p&gt;If you are trying to fill the field based on the current user, why not use the rules engine instead? There are default rules available, &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/using_web_forms/creating_web_forms/create_a_field_rule_in_the_rule_set_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;documented here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On your field, edit the rule. You can select condition(s) based on users (from a certain domain, or whatever you need) and add as action the &quot;Use the default value from user profile specific field&quot;. This reads the value of the specific parameter in the user profile of the current website visitor and makes it the current field value. As this rule is set on the field, you'll have no more trouble with translations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What condition you should use, depends on the requirements. But the &quot;Security&quot; section in the rules is a good starting point. You can verify if the current user is anonymous (or not), whether he is in a domain or role, ... In your case that could be a not-anonymous user in thee extranet domain.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-12-14T19:16:52.527" LastActivityDate="2016-12-14T19:16:52.527" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3347" PostTypeId="1" CreationDate="2016-12-14T09:59:02.173" Score="5" ViewCount="849" Body="&lt;p&gt;A customer of ours asked if it is possible to fix the account they are using in the sitecore backend (Experience Editor, Centent ediror, Media library, ...) to only the master database.&#xA;Our accounts should still be able to access the web, but theirs shouldn't&lt;/p&gt;&#xA;" OwnerUserId="440" LastEditorUserId="73" LastEditDate="2016-12-14T10:06:24.957" LastActivityDate="2016-12-16T12:15:38.173" Title="Disable database switching in sitecore backend" Tags="|content-editor|experience-editor|permissions|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3348" PostTypeId="5" CreationDate="2016-12-14T10:11:12.577" Score="0" Body="&lt;p&gt;Sitecore is offering multiple ways to deploy a solution. Microsoft Azure is one of these deployment solutions. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Faster time to market for digital marketers&lt;/li&gt;&#xA;&lt;li&gt;Familiarity, speed, and scale for IT&lt;/li&gt;&#xA;&lt;li&gt;Delivering results for businesses&lt;/li&gt;&#xA;&lt;li&gt;Sitecore managed cloud&lt;/li&gt;&#xA;&lt;li&gt;Sitecore managed cloud premium&lt;/li&gt;&#xA;&lt;li&gt;ARM Templates&lt;/li&gt;&#xA;&lt;li&gt;Azure Marketplace&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/getting-started/deployment/sitecore-cloud&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/getting-started/deployment/sitecore-cloud&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/getting-started/deployment/sitecore-cloud&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/getting-started/deployment/sitecore-cloud&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="2948" LastEditDate="2018-06-12T12:51:53.043" LastActivityDate="2018-06-12T12:51:53.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3349" PostTypeId="4" CreationDate="2016-12-14T10:11:12.577" Score="0" Body="Microsoft Azure is a cloud computing service created by Microsoft for building, testing, deploying, and managing applications and services through a global network of Microsoft-managed data centers. Use this tag for all the Microsoft Azure related questions." OwnerUserId="312" LastEditorUserId="2727" LastEditDate="2019-01-08T09:37:57.773" LastActivityDate="2019-01-08T09:37:57.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3350" PostTypeId="1" AcceptedAnswerId="3390" CreationDate="2016-12-14T10:22:35.503" Score="13" ViewCount="173" Body="&lt;p&gt;I am trying to place a WFFM form on 3rd party(HTML) site using FXM. The form is getting rendered successfully on 3rd party site. However, the form submission is not working properly. Upon submit, it is being redirected to the beacon URL(&lt;code&gt;.../sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/...&lt;/code&gt;), which is resulting some JSON. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also it is posting to &lt;code&gt;/sitecore modules/web/Web Forms for Marketers/Tracking.aspx&lt;/code&gt; (For validations and etc) on 3rd party site and is returning a 404. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across this issue?&lt;/p&gt;&#xA;" OwnerUserId="1289" LastEditorUserId="70" LastEditDate="2016-12-14T13:55:01.330" LastActivityDate="2016-12-15T13:51:16.687" Title="WFFM form through FXM" Tags="|wffm|fxm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3351" PostTypeId="2" ParentId="3329" CreationDate="2016-12-14T11:59:39.190" Score="3" Body="&lt;p&gt;The solution I am currently considering is to have a h1-text on the landing page Sitecore &lt;em&gt;item&lt;/em&gt; itself. When the components are rendered the Hero controller will take this h1-text, wrap the Hero image in a h1 tag and use the h1-text as the Hero image alt tag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before doing this it will check to see if there are any other Hero renderings present on the page. If there are and if this Hero rendering are higher up in the stack then it won't render the h1 around the Hero and it won't change the alt-text of the image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the original question I said that a Hero rendering would not always be present on the landing page. But I could use the same approach in the other renderings as well, so the controller of each rendering will scan to see if an eligible h1 rendering has already been added and if so just do nothing. Otherwise it would wrap the image of the eligible h1 rendering in a h1 tag and set the alt-tag of the image to the h1-text. This would ensure that a h1 tag is always present on a landing page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may be a bit of a complicated solution, but as I said I cannot have h1 tags hidden by CSS or have a h1 tag visible on the page.&lt;/p&gt;&#xA;" OwnerUserId="1026" LastEditorUserId="1026" LastEditDate="2016-12-14T12:23:32.830" LastActivityDate="2016-12-14T12:23:32.830" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3352" PostTypeId="2" ParentId="3316" CreationDate="2016-12-14T12:44:03.387" Score="2" Body="&lt;p&gt;&lt;code&gt;@fcommittees72783&lt;/code&gt; should be a multi-value field because it contains values separated by semicolons (&lt;code&gt;897ad68518d1427c81d5070dfef1869a;​1c631b4a5c0342f996d56bd7fb6ed81a&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If a field with semicolons is not multi-value, the index will take that field as a standard string field, not returning results when the document matches only one of those values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To set this flag, get in the &lt;code&gt;Coveo.SearchProvider.Custom.config&lt;/code&gt; and add the following line in the &lt;code&gt;defaultIndexConfiguration&lt;/code&gt; node:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldMap type=&quot;Coveo.SearchProvider.CoveoFieldMap, Coveo.SearchProvider&quot;&amp;gt;&#xA;  &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;      &amp;lt;fieldType fieldName=&quot;committees&quot; isMultiValue=&quot;true&quot; settingType=&quot;Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework&quot; /&amp;gt;&#xA;  &amp;lt;/fieldNames&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(You can also add it directly in your &lt;code&gt;Coveo.SearchProvider.Config&lt;/code&gt;, but it might get overwritten when updating)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, your other fields &lt;code&gt;fz95xpath72783&lt;/code&gt; and &lt;code&gt;falltemplates72783&lt;/code&gt; are already defined as multi-value fields in the fieldMap OOTB.&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2016-12-14T12:44:03.387" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3353" PostTypeId="1" CreationDate="2016-12-14T13:04:01.080" Score="2" ViewCount="535" Body="&lt;p&gt;There are many articles how to create your own logger and save a log file into a separate folder. I need something else.&#xA;My items represent the processors. It means I can click the button on the ribbon and run associated process by item id. Here is what I want to get.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When process is started, the new log file should be created where file name is \Data\logs[customfolder][itemid][timestamp].txt&lt;/li&gt;&#xA;&lt;li&gt;Even process is finished and I run it again a new log file should be created.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Do you have an idea or solution how to implement it?&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2016-12-14T13:56:44.543" LastActivityDate="2019-09-04T13:40:47.277" Title="Sitecore Custom Logger where each item represents its own log file" Tags="|logging|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3354" PostTypeId="2" ParentId="3353" CreationDate="2016-12-14T14:00:44.317" Score="5" Body="&lt;p&gt;As Sitecore logging is just a wrapper on top of log4net, you should create an appender (and maybe logger) in your code (assuming that the &quot;processor&quot; you mention is some custom code). I found this solution on &lt;a href=&quot;https://stackoverflow.com/questions/19833362/how-to-add-log4net-appender-in-runtime&quot;&gt;stackoverflow&lt;/a&gt;, but didn't test it myself. It is using the log4net api to create a &lt;code&gt;FileAppender&lt;/code&gt; and set its properties. After creating the appender, you must add it to the logger you want to use for writing logs.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-14T14:00:44.317" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3355" PostTypeId="1" AcceptedAnswerId="3359" CreationDate="2016-12-14T14:54:29.740" Score="4" ViewCount="1927" Body="&lt;p&gt;We are using sitecore wildcard pages of 2 level down.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Products&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;productId*(wildcard item)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;productName*(wildcard item)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We don't have products in sitecore repository. Its coming from 3rd party API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, from URL : &lt;a href=&quot;http://localhost/products/234/productName&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost/products/234/productName&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Context Item is there an easier way to get &quot;234&quot; other than myself manipulating url string to get 234.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;wondering whether sitecore has stored this information some where in context &lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="73" LastEditDate="2016-12-14T15:16:09.513" LastActivityDate="2016-12-15T17:47:45.297" Title="Getting Id from wildcard page urls" Tags="|wildcards|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3356" PostTypeId="2" ParentId="226" CreationDate="2016-12-14T14:57:34.670" Score="1" Body="&lt;p&gt;We are using SlowCheetah for adjusting config files per target environment. This is helpful for connection string, solr indexes, etc. One additional note on using SlowCheetah that we initially struggled with--if your Visual Studio solution is over top of the IIS site, then all *.config file in App_Config\Include will get included when Sitecore starts, causing errors when you try to start your site. Sitecore ignores hidden files, so you must mark each of your transform configs as hidden in the file system (which doesn't seem to affect Visual Studio) to get your local Sitecore instance to run properly.&lt;/p&gt;&#xA;" OwnerUserId="599" LastActivityDate="2016-12-14T14:57:34.670" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3357" PostTypeId="2" ParentId="3355" CreationDate="2016-12-14T15:27:59.047" Score="3" Body="&lt;p&gt;It does not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While the URL parsing mechanism in Sitecore can get very cryptical at times, it basically happens like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Split up the URL, breaking on '/'&lt;/li&gt;&#xA;&lt;li&gt;Recursively do GetItem/GetChild on each URL part&lt;/li&gt;&#xA;&lt;li&gt;Return last item in chain&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;(note, this is a very simplified model).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Resolving Wildcards is something that is baked in deep into Sitecore's DataEngine. So deep it even takes you into the Nexus.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return Nexus.DataApi.ResolvePath(this.ItemPath, this.Database);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Essentially out of reach for code analysers and reflection tools. But it's there, one could sort of make it out in earlier builds of Sitecore. These days, all you get is an interface definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TL;DR - no. Sitecore does not store it, as in most cases Sitecore isn't even aware that it is resolving a Wildcard.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-12-14T15:27:59.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3358" PostTypeId="1" AcceptedAnswerId="3361" CreationDate="2016-12-14T15:28:26.313" Score="1" ViewCount="215" Body="&lt;p&gt;Is it possible to limit the &lt;em&gt;sitecore\Sitecore Client Account Managing&lt;/em&gt; role? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our client has a team that manages security accounts on their site and they are requesting a &quot;limited&quot; &lt;em&gt;sitecore\Sitecore Client Account Managing&lt;/em&gt; role that would limit the user to managing roles only (i.e. not access rights), and if possible only certain roles. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this isn't possible, we can create a custom admin tool for this. I'd just rather support the built in GUIs than my own, if possible.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-12-14T16:52:17.723" Title="Is it possible to limit the &quot;sitecore\Sitecore Client Account Managing&quot; role?" Tags="|editor-user-permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3359" PostTypeId="2" ParentId="3355" CreationDate="2016-12-14T15:54:03.560" Score="8" Body="&lt;h2&gt;Background&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The thing to keep in mind is that wildcard items are just regular items. When Sitecore resolves the item to use in a page request, if the URL looks like a path, Sitecore will descend through that path in the content tree until it finds the right item. The only thing special about wildcard items is that they will match any value for the corresponding portion of the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifying a path in the URL is not the only way to render an item. For example, in your case, instead of using this URL:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;http://localhost/products/234/productName&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could access the same item like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;http://localhost/?sc_item={product-wildcard-item-id-here}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could also extend, or even completely override Sitecore's path resolution logic by implementing custom &lt;code&gt;&amp;lt;getItem&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;resolvePath&amp;gt;&lt;/code&gt; pipeline processors. Then you'd be able to access the same item based on an arbitrary URL, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;http://localhost/product-234-productName&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For these reasons, Sitecore context is very decoupled from the algorithms of path resolution.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are no built-in means of getting wildcard parameter values from the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Luckily, it's very easy to do this manually:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;int segmentCount = this.Request.Url.Segments.Count();&#xA;var productId = this.Request.Url.Segments[segmentCount-2].Replace(&quot;/&quot;, string.Empty);&#xA;var productName = this.Request.Url.Segments[segmentCount-1].Replace(&quot;/&quot;, string.Empty);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With some sanitization and error handling added, this is the way to go for you.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="1045" LastEditDate="2016-12-15T17:47:45.297" LastActivityDate="2016-12-15T17:47:45.297" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3360" PostTypeId="1" AcceptedAnswerId="3369" CreationDate="2016-12-14T16:50:58.957" Score="5" ViewCount="3980" Body="&lt;p&gt;My question is the same as previously asked &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3832&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; with no answer. We have a bunch of page templates with same header/footer, etc. The idea was to create a base template which would contain all of the renderings related to header and footer, and for all of the pages to inherit from this template dynamically, but I ran into some issues with the implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I.e. I created the required base template &lt;strong&gt;A&lt;/strong&gt; which contains rendering &lt;strong&gt;a&lt;/strong&gt; in the presentation details of its Standard Values item. Then this template &lt;strong&gt;B&lt;/strong&gt; inherits from &lt;strong&gt;A&lt;/strong&gt; and includes an additional rendering &lt;strong&gt;b&lt;/strong&gt; (also in the presentation details of its Standard Values item). I expect pages based on &lt;strong&gt;B&lt;/strong&gt; to contain both &lt;strong&gt;a&lt;/strong&gt; and &lt;strong&gt;b&lt;/strong&gt;'s content. However, when I edit &lt;strong&gt;A&lt;/strong&gt;, i.e remove &lt;strong&gt;a&lt;/strong&gt; or change its settings, there's no changes in &lt;strong&gt;B&lt;/strong&gt; (unless I regenerate the presentation details of &lt;strong&gt;B&lt;/strong&gt;'s Standard Values item, which is something I want to avoid as it also purges &lt;strong&gt;b&lt;/strong&gt; and all its configuration). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to make this inheritance relationship more dynamic? or maybe altogether a better approach to template inheritance?&lt;/p&gt;&#xA;" OwnerUserId="1034" LastActivityDate="2018-07-26T06:58:15.037" Title="Inheritance between templates" Tags="|presentation|templates|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3361" PostTypeId="2" ParentId="3358" CreationDate="2016-12-14T16:52:17.723" Score="5" Body="&lt;p&gt;You can do this by changing the security on the application in the core database. The Role Manager located here: &lt;code&gt;/sitecore/content/Applications/Security/Role Manager&lt;/code&gt;. The default security on it has &lt;code&gt;/sitecore/content/Applications/Security/Role Manager&lt;/code&gt; with read permission:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/20EZj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/20EZj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could add a new role that only has read permissions for this application and not any of the other security applications, or you could remove read access from the &lt;code&gt;Sitecore Client Account Managing&lt;/code&gt; role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for only managing certain roles, that would have to be done via a custom application, there is nothing out of the box that will do that AFAIK.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-12-14T16:52:17.723" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3362" PostTypeId="1" AcceptedAnswerId="3366" CreationDate="2016-12-14T16:58:58.153" Score="4" ViewCount="1202" Body="&lt;p&gt;The tree structure is as below, and was built so, according to the navigation menu UI design:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore&#xA;-content&#xA;--Website&#xA;---groceries&#xA;----fruits (this is just a folder and not a page)&#xA;-----apple&#xA;---electronics (this is just a folder and not a page)&#xA;----radio&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The current URLs are:&lt;br&gt;&#xA;www.example.com/groceries/fruits/apple&lt;br&gt;&#xA;www.example.com/electronics/radio&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the recommended SEO URLs are&lt;br&gt;&#xA;www.example.com/fruits/apple&lt;br&gt;&#xA;www.example.com/electronics/radio&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, when end user browses www.example.com/groceries, it should redirect to   www.example.com/fruits/apple &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no consistent pattern compared to the Menu and how the SEO URLs should be.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to know the procedure/approach to achieve this kind of URL mapping.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using Sitecore 8.2 with MVC&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2016-12-15T09:28:29.550" LastActivityDate="2016-12-15T09:28:29.550" Title="Creating seo friendly URLs" Tags="|seo|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3363" PostTypeId="1" AcceptedAnswerId="3365" CreationDate="2016-12-14T17:27:59.040" Score="0" ViewCount="62" Body="&lt;p&gt;What &lt;code&gt;commitment period&lt;/code&gt; means in Sitecore IP Geolocation Service?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it auto-renew or manually need to renew?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do they send email alerts, when the lookups are exhausted or when commitment period is over?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to look about this in Sitecore documentation &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/ip_geolocation/setting_up_sitecore_ip_geolocation&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; but it seems not much information is available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 7.5 update-2 if that matters.&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2016-12-14T17:48:12.203" Title="What does 'commitment period' mean in Sitecore IP Geolocation Service?" Tags="|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3364" PostTypeId="2" ParentId="3329" CreationDate="2016-12-14T17:45:52.973" Score="2" Body="&lt;p&gt;This is an alternative to the approach you already posted.  Keep the approach to the markup that you planned on using with the &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; wrapped around an &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; with its &lt;code&gt;alt&lt;/code&gt; attribute set based on a field on the page item.  The difference comes in how you determine if you need to add the &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; and set the &lt;code&gt;alt&lt;/code&gt; attribute or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rather than scanning the layout field, you could just have a property on your controllers something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected bool PageHeaderAdded&#xA;{&#xA;    get { return (bool?)HttpContext.Items[&quot;PageHeaderAdded&quot;] ?? false; }&#xA;    set { HttpContext.Items[&quot;PageHeaderAdded&quot;] = value; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;HttpContext.Items&lt;/code&gt; collection is request-scoped storage.  So check the property, if it is false, add your &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; and set your &lt;code&gt;alt&lt;/code&gt; attribute, then set the property to true.  The next controller on the page will find that property set to true, so it can render normally.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2016-12-14T17:52:30.000" LastActivityDate="2016-12-14T17:52:30.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3365" PostTypeId="2" ParentId="3363" CreationDate="2016-12-14T17:48:12.203" Score="0" Body="&lt;p&gt;On App Center documentation I found : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Start Date of the Commitment Period&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you sign up for a commitment period, you must pay for the remainder of the current month plus&#xA;the selected commitment period.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you sign up for 10,000 emails with a three months commitment on August 15th, you&#xA;must pay for the remaining 16 days of August plus the three months of September, October, and November.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The total number of emails available in that period is 35,161 emails — equivalent to the remaining 16&#xA;days of August — 5,161 emails, plus 10,000 emails per month for September, October, and November.&#xA;The following 3 months will be at the normal price and volume. The renewal period starts on&#xA;December 1st — this is also known as the renewal date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;&#xA;If you only want to pay for the commitment period, you must sign up on the last day of the previous&#xA;month. For example, if you only want to pay for September, October, and November, you must sign up on August 31.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/products/sac/getting_started_with_sitecore_app_center_20-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sdn5/products/sac/getting_started_with_sitecore_app_center_20-a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My recommendation is to contact a sale guy from your region. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-12-14T17:48:12.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3366" PostTypeId="2" ParentId="3362" CreationDate="2016-12-14T18:28:43.587" Score="8" Body="&lt;p&gt;The simplest way would be to separate the navigation from the content structure. So create your navigation to work from a Datasource root item that defines how your nav is built. Each item can then contain fields for the text and link. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then build your content tree as you want your Url's to be set. So your content tree would then look something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore&#xA;-content&#xA;--Website&#xA;// this is your datasource content&#xA;---Local Content&#xA;----Navigation&#xA;-----groceries&#xA;------fruits (this is just a folder and not a page)&#xA;-------apple&#xA;-----electronics (this is just a folder and not a page)&#xA;------radio&#xA;// these are your page items&#xA;---fruits&#xA;-----apple&#xA;---electronics (this is just a folder and not a page)&#xA;-----radio&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now your navigation hierarchy does not have to follow your page/url structure. This is a common way to build site navigation.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-12-14T18:28:43.587" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3367" PostTypeId="1" AcceptedAnswerId="4007" CreationDate="2016-12-14T18:54:07.443" Score="4" ViewCount="266" Body="&lt;p&gt;I have removed &lt;em&gt;Read&lt;/em&gt; access to some items for certain a &lt;em&gt;Role&lt;/em&gt;. The problem is that I can still see the items that I removed access to in the tree, when logging in as a (non-admin) user with the role that I denied &lt;em&gt;Read&lt;/em&gt; access on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NJr3n.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NJr3n.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click on the item that I removed &lt;em&gt;Read&lt;/em&gt; access to, I get a &quot;selecting item could not be found&quot; error message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4Arkp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4Arkp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the users on this site are only allowed access to a specific sub-tree/set of pages, which makes the display of these items without read access and the popup message pretty jarring. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way for me to exclude items that the current user does not have &lt;em&gt;Read&lt;/em&gt; access to from display in the Content Tree?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I did not &lt;em&gt;explicitly&lt;/em&gt; deny &lt;em&gt;Read&lt;/em&gt; access to the items, but rather removed the existing read access from inheritance, so that the access is denied, by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;&lt;strong&gt;Version Used:&lt;/strong&gt; Sitecore 8.1.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Before you mark this as a duplicate, please note...&lt;/strong&gt; I have read &lt;a href=&quot;https://sitecore.stackexchange.com/q/396/423&quot;&gt;this similar post&lt;/a&gt; but the only answer does not support multiple roles, where one (with read access) should see the items in the tree and another (without read access) should not. Based on the comments on the &lt;a href=&quot;https://sitecore.stackexchange.com/a/398/423&quot;&gt;one answer&lt;/a&gt; provided, I believe that the question was originally asked differently and then clarified to be similar to mine, which may have resulted in less attention and fewer answers being posted.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-01-24T17:09:00.753" Title="Can I exclude items that the current user doesn't have Read access to from display in the Content Tree?" Tags="|editor-user-permissions|" AnswerCount="1" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="3368" PostTypeId="1" AcceptedAnswerId="3370" CreationDate="2016-12-14T21:38:11.657" Score="2" ViewCount="2859" Body="&lt;p&gt;I have a Sitecore 8.1 Update-3 solution. We have some simple ASPX files that we are trying to use as part of a Facebook application. Apparently the Facebook application displays the pages in an iFrame. And apparently somehow our pages are getting the X-Frame-Options: SAMEORIGIN header added to the response.  I cannot figure out where that is coming from.  And because of that header these pages cannot be displayed in a Facebook iFrame.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know why this is happening?  Is this a Sitecore issue?  Or is it something deep in IIS or the machine config or something?  It is driving me crazy. I have been able to go in to IIS and add a second X-Frame-Options header with the value of &quot;ALLOW_FROM &lt;a href=&quot;https://facebook.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://facebook.com&lt;/a&gt;&quot;.  But that doesn't solve the problem. That just creates 2 headers and it still won't display the page in an iFrame.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't figure out if this is a Sitecore problem or an IIS problem.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-12-14T22:06:35.287" Title="Does Sitecore add X-Frame-Options: SAMEORIGIN?" Tags="|configuration|iis|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3369" PostTypeId="2" ParentId="3360" CreationDate="2016-12-14T21:41:58.653" Score="2" Body="&lt;p&gt;Because Sitecore templates can inherit from multiple base templates, layout deltas cannot be used in a sensible way as they can be between a template and a page item.  So Sitecore lets a standard value come through a base template, but I'm not sure how it chooses which value to use if more than one base template standard values has their own presentation settings.  If you edit the presentation settings on a template, it first copies the value that it is inheriting and breaks the association to the standard value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This problem has been addressed in several different ways.  The Sitecore Experience Accellerator has &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/composite_renderings&quot; rel=&quot;nofollow noreferrer&quot;&gt;Composite Renderings&lt;/a&gt;, &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/page_designs&quot; rel=&quot;nofollow noreferrer&quot;&gt;Partial Designs and Page Designs&lt;/a&gt;. Other accellerators have implemented &lt;a href=&quot;http://www.hhogdev.com/blog/2015/september/sitecore-placeholder-fallback.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Placeholder Fallback&lt;/a&gt;.  I created a &lt;a href=&quot;https://github.com/BenGGolden/Sitecore.BaseLayouts&quot; rel=&quot;nofollow noreferrer&quot;&gt;project&lt;/a&gt; called &lt;a href=&quot;http://www.awareweb.com/awareblog/11-5-15-sitecorebaselayouts&quot; rel=&quot;nofollow noreferrer&quot;&gt;Base Layouts&lt;/a&gt;.  The common theme with all of these different solutions is that presentation settings are moved away from the template standard values.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="206" LastEditDate="2018-07-26T06:58:15.037" LastActivityDate="2018-07-26T06:58:15.037" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="3370" PostTypeId="2" ParentId="3368" CreationDate="2016-12-14T21:55:35.953" Score="11" Body="&lt;p&gt;It's added by an HttpModule.  In the &lt;code&gt;system.webServer/modules&lt;/code&gt; section of the web.config.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;add type=&quot;Sitecore.Web.XFrameOptionsHeaderModule, Sitecore.Kernel&quot; name=&quot;SitecoreXFrameOptionsHeaderModule&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Interestingly, this is appears to be new to 8.1 update 3, but it is not mentioned in the release notes.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2016-12-14T22:06:35.287" LastActivityDate="2016-12-14T22:06:35.287" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3371" PostTypeId="1" AcceptedAnswerId="3378" CreationDate="2016-12-14T23:19:13.780" Score="9" ViewCount="8328" Body="&lt;p&gt;I am trying to modify the output name that is defined by appender in &quot;Sitecore.config&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;file value=&quot;$(dataFolder)/logs/log.{date}.txt&quot;/&amp;gt;&lt;/code&gt; specifically &lt;code&gt;{date}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every time I start a new instance of Sitecore, during the same day it creates a new file with different processID. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;example:&#xA;log.20161214.txt&#xA;log.20161214.123456.txt&#xA;log.20161214.484151.txt&#xA;log.20161214.789914.txt&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to have all the logs for that one day to be in one &lt;code&gt;&quot;log.yyyDDmm.txt&quot;&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to modify a log4net output? Or maybe there is another solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="135" LastEditDate="2016-12-15T10:03:21.750" LastActivityDate="2017-03-07T21:33:19.623" Title="Change the name of the output log file" Tags="|logging|log4net|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3372" PostTypeId="2" ParentId="3254" CreationDate="2016-12-15T00:07:12.447" Score="3" Body="&lt;p&gt;We ran into the same issue on our CM server (Sitecore 8.1 Update 3, robot detection disabled) and found we had to do the following as detailed on a different documentation page &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/disable_robot_detection_on_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/disable_robot_detection_on_a_content_management_server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;modules&amp;gt;&#xA;      &amp;lt;add type=&quot;Sitecore.Analytics.RobotDetection.Media.MediaRequestSessionModule, Sitecore.Analytics.RobotDetection&quot; name=&quot;MediaRequestSessionModule&quot; /&amp;gt;&#xA;    &amp;lt;/modules&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;modules&amp;gt;&#xA;      &amp;lt;add type=&quot;Sitecore.Analytics.Media.MediaRequestSessionModule, Sitecore.Analytics&quot; name=&quot;MediaRequestSessionModule&quot; /&amp;gt;&#xA;    &amp;lt;/modules&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="439" LastActivityDate="2016-12-15T00:07:12.447" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3373" PostTypeId="1" CreationDate="2016-12-15T00:22:29.480" Score="3" ViewCount="311" Body="&lt;p&gt;Stood up the 8.2 Update 1 environment. However I'm getting the error below when trying to install the update package generated by TDS. Works fine locally but not in Azure Web Apps.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Value cannot be null.&#xA;Parameter name: control&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.ArgumentNullException: Value cannot be null.&#xA;Parameter name: control&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[ArgumentNullException: Value cannot be null.&#xA;Parameter name: control]&#xA;   System.Web.UI.ClientScriptManager.GetPostBackEventReference(Control control, String argument, Boolean forUrl, Boolean registerForEventValidation) +2866706&#xA;   Sitecore.Update.Wizard.ProcessUpdatePackage.OnLoad(EventArgs e) +92&#xA;   System.Web.UI.Control.LoadRecursive() +59&#xA;   System.Web.UI.Control.LoadRecursive() +131&#xA;   System.Web.UI.Control.LoadRecursive() +131&#xA;   System.Web.UI.Control.LoadRecursive() +131&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And when I try to install update packages via sitecore.ship curl.exe I get below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;curl.exe -i --connect-timeout 300 --max-time 1200 --insecure&#xA;  --show-error --silent --form &quot;path=@E:\agent_work\37\b_Packages\mypackage.Master.update&quot;&#xA;  &lt;a href=&quot;https://mysite/services/package/install/fileupload&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mysite/services/package/install/fileupload&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;body bgcolor=&quot;white&quot;&amp;gt;&#xA;&#xA;            &amp;lt;span&amp;gt;&amp;lt;H1&amp;gt;Server Error in '/' Application.&amp;lt;hr width=100% size=1 color=silver&amp;gt;&amp;lt;/H1&amp;gt;&#xA;&#xA;            &amp;lt;h2&amp;gt; &amp;lt;i&amp;gt;Value cannot be null.&amp;lt;br&amp;gt;Parameter name: path&amp;lt;/i&amp;gt; &amp;lt;/h2&amp;gt;&amp;lt;/span&amp;gt;&#xA;&#xA;            &amp;lt;font face=&quot;Arial, Helvetica, Geneva, SunSans-Regular, sans-serif &quot;&amp;gt;&#xA;&#xA;            &amp;lt;b&amp;gt; Description: &amp;lt;/b&amp;gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for mo&#xA;re information about the error and where it originated in the code.&#xA;&#xA;            &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;b&amp;gt; Exception Details: &amp;lt;/b&amp;gt;System.ArgumentNullException: Value cannot be null.&amp;lt;br&amp;gt;Parameter name: path&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;b&amp;gt;Source Error:&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;table width=100% bgcolor=&quot;#ffffcc&quot;&amp;gt;&#xA;               &amp;lt;tr&amp;gt;&#xA;                  &amp;lt;td&amp;gt;&#xA;                      &amp;lt;code&amp;gt;&#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception c&#xA;an be identified using the exception stack trace below.&amp;lt;/code&amp;gt;&#xA;&#xA;                  &amp;lt;/td&amp;gt;&#xA;               &amp;lt;/tr&amp;gt;&#xA;            &amp;lt;/table&amp;gt;&#xA;&#xA;            &amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;b&amp;gt;Stack Trace:&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;table width=100% bgcolor=&quot;#ffffcc&quot;&amp;gt;&#xA;               &amp;lt;tr&amp;gt;&#xA;                  &amp;lt;td&amp;gt;&#xA;                      &amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&#xA;&#xA;[ArgumentNullException: Value cannot be null.&#xA;Parameter name: path]&#xA;   System.IO.File.Delete(String path) +12218112&#xA;   Sitecore.Ship.Infrastructure.IO.TempPackager.Dispose() +7&#xA;   Sitecore.Ship.AspNet.Package.InstallUploadPackageCommand.HandleRequest(HttpContextBase context) +307&#xA;   Sitecore.Ship.AspNet.Package.InstallPackageCommand.HandleRequest(HttpContextBase context) +258&#xA;   Sitecore.Ship.AspNet.AboutCommand.HandleRequest(HttpContextBase context) +197&#xA;   Sitecore.Ship.AspNet.SitecoreShipHttpHandler.ProcessRequest(HttpContextBase context) +13&#xA;   Sitecore.Ship.AspNet.BaseHttpHandler.ProcessRequest(HttpContext context) +176&#xA;   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +188&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp;amp; completedSynchronously) +69&#xA;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Found the culprit:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;tempFolder&quot; value=&quot;d:\local\temp&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I change to &lt;code&gt;&amp;lt;sc.variable name=&quot;tempFolder&quot; value=&quot;/temp&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note sure whether this fix is good/bad. I think sitecore's solution to web app common file share issue is to store media cache / submit queue etc to d:\local.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea?&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="135" LastEditDate="2016-12-15T10:02:24.973" LastActivityDate="2016-12-15T10:02:24.973" Title="UpdateInstallationWizard.aspx and/or sitecore.ship isn't working" Tags="|packages|sitecore-ship|" AnswerCount="0" CommentCount="2" ClosedDate="2016-12-19T01:48:10.270" ContentLicense="CC BY-SA 3.0" />
  <row Id="3374" PostTypeId="1" CreationDate="2016-12-15T03:57:53.283" Score="0" ViewCount="323" Body="&lt;p&gt;We are using WFFM (v 2.4) with MVC on Sitecore 8. We have created a form in WFFM which has three fields Name, Email and State. State field is a DropList type field.&#xA;The problem which we are facing is that whenever we save the state field values, it is giving values like type name like 'System.Collections.Generic.List'. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure what is the problem. Can you please suggest the way?&lt;/p&gt;&#xA;" OwnerUserId="1226" LastActivityDate="2016-12-15T04:15:22.503" Title="Droplist issue in WFFM" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3375" PostTypeId="2" ParentId="3374" CreationDate="2016-12-15T04:15:22.503" Score="1" Body="&lt;p&gt;This is known issue and is reported way back in the last year. You may also be getting incorrect values in the message text, when using list field values in the Send Email Message save action if you are using it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get the resolution from &lt;a href=&quot;https://kb.sitecore.net/articles/311218&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/311218&lt;/a&gt;. Please try to use solution given in this article.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-12-15T04:15:22.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3376" PostTypeId="2" ParentId="3371" CreationDate="2016-12-15T05:36:54.010" Score="2" Body="&lt;p&gt;You can use the &lt;code&gt;log4net.Appender.FileAppender&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;FileAppender&quot; type=&quot;log4net.Appender.FileAppender&quot;&amp;gt;&#xA;    &amp;lt;file value=&quot;log-file.txt&quot; /&amp;gt;&#xA;    &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;        &amp;lt;conversionPattern value=&quot;%date [%thread] %-5level %logger [%property{NDC}] - %message%newline&quot; /&amp;gt;&#xA;    &amp;lt;/layout&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For Minimal locking with FileAppender you can use something like below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;FileAppender&quot; type=&quot;log4net.Appender.FileAppender&quot;&amp;gt;&#xA;    &amp;lt;file value=&quot;${TMP}\log-file.txt&quot; /&amp;gt;&#xA;    &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;lockingModel type=&quot;log4net.Appender.FileAppender+MinimalLock&quot; /&amp;gt;&#xA;    &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;        &amp;lt;conversionPattern value=&quot;%date [%thread] %-5level %logger [%property{NDC}] - %message%newline&quot; /&amp;gt;&#xA;    &amp;lt;/layout&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And as a suggestion, RollingFileAppender works better for most scenarios. If your requirement is to have unified view of all log files for a particular category you can try &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_Log_Analyzer.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Log Analyzer&lt;/a&gt; module from marketplace&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And to know more on what other appenders are available check this &lt;a href=&quot;https://logging.apache.org/log4net/release/config-examples.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;link from log4net&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2016-12-15T05:36:54.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3377" PostTypeId="2" ParentId="3362" CreationDate="2016-12-15T06:25:06.060" Score="0" Body="&lt;p&gt;If you don't want to change your content tree, then an alternate way is to define &#xA;site configuration and set startItem accordingly. For your example, site configuration can have something like below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;    &#xA;      &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;site patch:before=&quot;*[@name='website']&quot;&#xA;        name=&quot;example&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot;&#xA;        startItem=&quot;/Website&quot; database=&quot;web&quot; domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot;&#xA;        viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot;&#xA;        renderingParametersCacheSize=&quot;10MB&quot; /&amp;gt;&#xA;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2016-12-15T06:25:06.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3378" PostTypeId="2" ParentId="3371" CreationDate="2016-12-15T09:06:48.490" Score="16" Body="&lt;p&gt;You can use a &lt;code&gt;RollingFileAppender&lt;/code&gt; instead of the default Sitecore one and configure it to roll by date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find samples in the &lt;a href=&quot;https://logging.apache.org/log4net/release/config-examples.html#rollingfileappender&quot; rel=&quot;noreferrer&quot;&gt;log4net config examples section&lt;/a&gt; of the documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically with Sitecore, change the appender(s) to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.RollingFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/log&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;rollingStyle value=&quot;Date&quot; /&amp;gt;&#xA;  &amp;lt;maxSizeRollBackups value=&quot;30&quot; /&amp;gt;&#xA;  &amp;lt;datePattern value=&quot;.yyyyMMdd'.txt'&quot; /&amp;gt;&#xA;  &amp;lt;staticLogFileName value=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;file&lt;/code&gt; : The name of the file to log to. Note that we supplement this using below settings.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;rollingStyle&lt;/code&gt; : The format to roll each file on. This causes a new file to be generated per day.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;datePattern&lt;/code&gt; : The suffix to add to the file each time it is rolled. Note that the file extension is included here in single quotes. See this &lt;a href=&quot;https://stackoverflow.com/a/8255588/661447&quot;&gt;previous answer&lt;/a&gt; for more details.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;staticLogFileName&lt;/code&gt; : If set to true then the latest log file will always have the same name, but note that due to your &lt;code&gt;file&lt;/code&gt; value there is no file suffix so the would just be called &lt;strong&gt;log&lt;/strong&gt; with the above settings.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The files will now be generated in format &lt;strong&gt;log.yyyMMdd.txt&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-15T09:06:48.490" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3379" PostTypeId="2" ParentId="3347" CreationDate="2016-12-15T09:49:13.277" Score="2" Body="&lt;p&gt;Long shot.. can you try disabling access to below item in core db for the user role and verify if this solves your problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rzsEX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rzsEX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2016-12-15T09:49:13.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3380" PostTypeId="1" AcceptedAnswerId="3386" CreationDate="2016-12-15T09:49:54.403" Score="2" ViewCount="888" Body="&lt;p&gt;I'm rebuilding the reporting database after completing upgrade from 7.5 to 8.1 update 1 according to the following documentation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After a while of clicking on &quot;Start&quot; button on sitecore/admin/RebuildReportingDB.aspx the rebuild completed,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My issue that I'm using custom aggregator processors to pull data from MongoDB and add these data to custom SQL tables in the reporting database and when checking these tables they have data less than the data in the primary reporting database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the log files and there are no errors related, Is there any setting that should be added, Is there a time interval that should be set other than the time interval for clearing secondary database tables? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following are more details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm tracing page events like click on a banner rendering, this is saved to MongoDB, then I'm using the following to get these data into SQL:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageEventProcessor : AggregationProcessor&#xA;{&#xA;    protected override void OnProcess(AggregationPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        try&#xA;        {&#xA;            var fact = args.GetFact&amp;lt;PageEvent&amp;gt;();&#xA;            foreach (var page in args.Context.Visit.Pages)&#xA;            {&#xA;                foreach (var pEvent in page.PageEvents)&#xA;                {&#xA;                    var eventkey = new PageEventKey&#xA;                    {&#xA;                        EventId = pEvent.PageEventDefinitionId,&#xA;                        Date = args.DateTimeStrategy.Translate(pEvent.DateTime),&#xA;                        ItemId = pEvent.ItemId,&#xA;                        PageId = page.Item.Id&#xA;                    };&#xA;                    var eventValue = new PageEventValue&#xA;                    {&#xA;                        Count = 1&#xA;                    };&#xA;                    fact.Emit(eventkey, eventValue);&#xA;                }&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(&quot;Error in PageEventProcessor.OnProcess&quot;, ex, this);&#xA;        }&#xA;        Log.Info(&quot;PageEventProcessor.OnProcess - end&quot;, this);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Following are the table schema in SQL:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CREATE TABLE [dbo].[Fact_PageEvent](&#xA;[Date] [smalldatetime] NOT NULL,&#xA;[EventId] [uniqueidentifier] NOT NULL,&#xA;[PageId] [uniqueidentifier] NOT NULL,&#xA;[ItemId] [uniqueidentifier] NOT NULL,&#xA;[Count] [int] NOT NULL)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In addition in the secondary database table I have 181 record while in the old database I have more thank 16000 record!&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="200" LastEditDate="2016-12-15T10:23:41.360" LastActivityDate="2016-12-15T13:22:44.517" Title="Rebuild Reporting Database with Custom Aggregation Processors" Tags="|xdb|aggregation|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3381" PostTypeId="2" ParentId="3380" CreationDate="2016-12-15T10:24:19.283" Score="0" Body="&lt;p&gt;You may need to check the [DeployDate] from  [Segments] table as for the default processors to pull MongoDB to SQL server you need to try the following if you have missing data in SQL server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open the reporting database using the SQL Management Studio and run the following query:&#xA;SELECT * FROM [Segments]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Comment the reporting.secondary connection string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Open the sitecore/admin/redeploymarketingdata.aspx page and click the Redeploy Segments button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Open the reporting database using SQL Management studio and run the following query:&#xA;UPDATE [dbo].[Segments]&#xA;SET &#xA;[DeployDate] = '2001-08-05 08:44:45.500'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Segments are used while aggregating the data for the Experience Analytics application. If the interaction.SaveDateTime &amp;lt;= segment.DeployDate, the interaction won't be aggregated (That's why we need to change the deploy date manually). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Uncomment the reporting.secondary connection string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) Rebuild the reporting database.&lt;/p&gt;&#xA;" OwnerUserId="635" LastActivityDate="2016-12-15T10:24:19.283" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3382" PostTypeId="1" AcceptedAnswerId="3394" CreationDate="2016-12-15T12:27:22.843" Score="2" ViewCount="601" Body="&lt;pre&gt;&lt;code&gt;db.Add(new DbTemplate(&quot;t1&quot;, t1_TemplateId));&#xA;db.Add(new DbTemplate(&quot;T&quot;, T_TemplateId)&#xA;        {&#xA;            BaseIDs = new[] { t1_TemplateId}&#xA;        });&#xA;&#xA;db.Add(new DbItem(&quot;root&quot;)&#xA;{&#xA;    new DbItem(&quot;child1&quot;)&#xA;    {&#xA;        new DbItem(&quot;siteRoot&quot;)&#xA;        {&#xA;            new DbItem(&quot;Home&quot;)&#xA;            {&#xA;                new DbItem(&quot;Article&quot;)&#xA;            },&#xA;            new DbItem(&quot;Data&quot;)&#xA;            {&#xA;                new DbItem(&quot;theItem&quot;, ID.NewID, T_TemplateId)&#xA;                {&#xA;                    new DbLinkField(&quot;theField&quot;)&#xA;                    {&#xA;                        Anchor = &quot;anchor&quot;,&#xA;                        Class = &quot;class&quot;,&#xA;                        LinkType = &quot;linktype&quot;,&#xA;                        QueryString = &quot;querystring&quot;,&#xA;                        Target = &quot;target&quot;,&#xA;                        TargetID = targetid,&#xA;                        Text = &quot;text&quot;,&#xA;                        Title = &quot;title&quot;,&#xA;                        Url = &quot;url&quot;,&#xA;                    },&#xA;                    new DbLinkField(&quot;otherfield&quot;)&#xA;                }&#xA;            }&#xA;&#xA;        }&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then I try to get the values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item theItem = db.GetItem(&quot;/sitecore/content/root/child1/siteRoot/Data/theItem&quot;);&#xA;LinkField theField = theItem.Fields[&quot;theField&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All attributes defined are missing...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="414" LastEditorUserId="414" LastEditDate="2016-12-15T14:29:14.200" LastActivityDate="2016-12-15T15:08:39.393" Title="Problem retrieving FakeDb DbLinkField attributes" Tags="|unit-testing|fakedb|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3383" PostTypeId="2" ParentId="3382" CreationDate="2016-12-15T12:45:27.920" Score="0" Body="&lt;p&gt;For me the following code is working, maybe the Db context is missing in your code?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var db = new Db&#xA;{&#xA;    new DbItem(&quot;theItem&quot;, ID.NewID)&#xA;    {&#xA;        new DbLinkField(&quot;theField&quot;)&#xA;        {&#xA;            Anchor = &quot;anchor&quot;,&#xA;            Class = &quot;class&quot;,&#xA;            LinkType = &quot;linktype&quot;,&#xA;            QueryString = &quot;querystring&quot;,&#xA;            Target = &quot;target&quot;,&#xA;            TargetID = ID.NewID,&#xA;            Text = &quot;text&quot;,&#xA;            Title = &quot;title&quot;,&#xA;            Url = &quot;url&quot;,&#xA;        }&#xA;    }&#xA;})&#xA;{&#xA;    var item = db.GetItem(&quot;/sitecore/content/theItem&quot;);&#xA;    LinkField field = item.Fields[&quot;theField&quot;];&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-12-15T12:45:27.920" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3384" PostTypeId="2" ParentId="3382" CreationDate="2016-12-15T12:46:43.567" Score="0" Body="&lt;p&gt;May sound like a silly question, but have you added your item to the fake db? The code below is working fine on my end:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var item = new Sitecore.FakeDb.DbItem(&quot;theItem&quot;, ID.NewID, ID.NewID);&#xA;var field = new Sitecore.FakeDb.DbLinkField(&quot;theField&quot;)&#xA;{&#xA;    Anchor = &quot;anchor&quot;,&#xA;    Class = &quot;class&quot;,&#xA;    LinkType = &quot;linktype&quot;,&#xA;    QueryString = &quot;querystring&quot;,&#xA;    Target = &quot;target&quot;,&#xA;    TargetID = ID.NewID,&#xA;    Text = &quot;text&quot;,&#xA;    Title = &quot;title&quot;,&#xA;    Url = &quot;url&quot;,&#xA;};&#xA;&#xA;item.Add(field);&#xA;&#xA;var db = new Sitecore.FakeDb.Db(&quot;web&quot;);&#xA;db.Add(item);&#xA;&#xA;var fakeItem = db.GetItem(&quot;/sitecore/content/theItem&quot;);&#xA;LinkField theField = fakeItem.Fields[&quot;theField&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2016-12-15T12:46:43.567" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3385" PostTypeId="1" AcceptedAnswerId="3388" CreationDate="2016-12-15T13:12:15.843" Score="4" ViewCount="1190" Body="&lt;p&gt;We have updated our base solution which just contains a few example renderings from Sitecore 8.1 to 8.2. Note: we are still using VS 2013, but I don't think this should be any problem?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have updated the references and I think I've tried just about everything in terms of removing and re-adding references, deleting readding and updating Nuget packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my Views whenever I use Glass Mapper editable e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Editable(Model.DataItemModel, x=&amp;gt;x.HeaderText)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm getting &lt;code&gt;x=&amp;gt;x.HeaderText&lt;/code&gt; underlined with this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error   4   Cannot convert lambda expression to type&#xA;'System.Linq.Expressions.Expression&amp;lt;System.Func&amp;lt;Project.Entities.HeaderSettings,object&amp;gt;&amp;gt;'&#xA;because it is not a delegate&#xA;type    c:\Projects\SitecoreMVC\Code\SitecoreMVC\Project.Web\Views\Shared\_Header.cshtml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can't figure out what has changed. Can anyone help?&lt;/p&gt;&#xA;" OwnerUserId="1236" LastEditorUserId="104" LastEditDate="2016-12-15T13:24:08.993" LastActivityDate="2016-12-15T14:10:15.197" Title="Glass Mapper problem with solution upgraded from Sitecore 8.1 to 8.2" Tags="|glass-mapper|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3386" PostTypeId="2" ParentId="3380" CreationDate="2016-12-15T13:22:44.517" Score="2" Body="&lt;p&gt;Following what I found and based on my problem has been solved:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After double check the error log, I found the following error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #19 2016:12:15 02:14:48 ERROR Cannot parse the time interval specified in the 'IntervalTokeep' option to the desired format 'hh:mm:ss' for the CleanupEventQueue agent. The value specified in the DaysToKeep option will be used instead – the specified value is '1' days. The specified value in the IntervalToKeep option is ''.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which is according to the following, is a Sitecore bug: &#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1636&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/1636&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I updated my configuration a little as mentioned in the following:&#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/373&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/9/t/373&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I have more than 34000 record in the mentioned table.&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2016-12-15T13:22:44.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3387" PostTypeId="1" AcceptedAnswerId="3391" CreationDate="2016-12-15T13:35:52.813" Score="11" ViewCount="6866" Body="&lt;p&gt;I've recently deployed a SC 8.1 update 3 site to production (seperate CM and CD) and on the CD side I'm getting this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;No route in the route table matches the supplied values. &#xA;  Description: An unhandled exception occurred. &#xA;&#xA; Exception Details: System.InvalidOperationException: No route in the route table matches the supplied values.&#xA;&#xA;Source Error: &#xA;&#xA;Line 14:     &amp;lt;meta charset=&quot;utf-8&quot; /&amp;gt;&#xA;Line 15:     &amp;lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=Edge,chrome=1&quot; /&amp;gt;&#xA;Line 16:     @Html.Action(&quot;Metadata&quot;, &quot;Metadata&quot;)&#xA;Line 17:     &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&amp;gt;&#xA;Line 18:     &amp;lt;!-- END: Meta Data --&amp;gt;&#xA;&#xA;&#xA; Source File:  D:\Apps\Sitecore\Website\Views\Website\Layouts\Default.cshtml    Line:  16 &#xA;&#xA;Stack Trace: &#xA;&#xA;[InvalidOperationException: No route in the route table matches the supplied values.]&#xA;   System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) +651&#xA;   System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) +114&#xA;   ASP._Page_Views_Website_Layouts_Default_cshtml.Execute() in D:\Apps\Sitecore\Website\Views\Website\Layouts\Default.cshtml:16&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +137&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Why isn't the Sitecore MVC routing picking this up? (I'm not using any custom routings btw.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't come across this in any other environments (dev/test/qa) and I'm currently pulling my hairs out why this is happening. I've spent the last day looking into differences between the environments but I think I'm staring myself blind on this one.&lt;/p&gt;&#xA;" OwnerUserId="260" LastActivityDate="2016-12-15T14:04:21.970" Title="InvalidOperationException: No route in the route table matches the supplied values" Tags="|mvc|routing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3388" PostTypeId="2" ParentId="3385" CreationDate="2016-12-15T13:42:07.747" Score="4" Body="&lt;p&gt;This error (as well as many other errors) happens because of a mismatch between the used and the targeted versions of ASP.NET MVC binaries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 uses version &lt;strong&gt;&lt;code&gt;5.2.3.0&lt;/code&gt;&lt;/strong&gt; of the following assemblies:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;System.Web.Mvc&lt;/li&gt;&#xA;&lt;li&gt;System.Web.Http&lt;/li&gt;&#xA;&lt;li&gt;System.Web.Http.WebHost&lt;/li&gt;&#xA;&lt;li&gt;System.Net.Http.Formatting&lt;/li&gt;&#xA;&lt;li&gt;System.Web.Http.Cors&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You need to make sure that you have the version &lt;strong&gt;&lt;code&gt;5.2.3.0&lt;/code&gt;&lt;/strong&gt; of these assemblies:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;for corresponding DLLs residing in your &lt;code&gt;bin&lt;/code&gt; folder&lt;/li&gt;&#xA;&lt;li&gt;in &lt;strong&gt;&lt;em&gt;Web.config&lt;/em&gt;&lt;/strong&gt; under &lt;code&gt;configuration&lt;/code&gt; &gt; &lt;code&gt;system.web&lt;/code&gt; &gt; &lt;code&gt;compilation&lt;/code&gt; &gt; &lt;code&gt;assemblies&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;in the redirects in &lt;strong&gt;&lt;em&gt;Web.config&lt;/em&gt;&lt;/strong&gt; under &lt;code&gt;configuration&lt;/code&gt; &gt; &lt;code&gt;runtime&lt;/code&gt; &gt; &lt;code&gt;assemblyBinding&lt;/code&gt;, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&quot;System.Web.Mvc&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&quot;1.0.0.0-5.2.3.0&quot; newVersion=&quot;5.2.3.0&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;in installed NuGet packages&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;in references of all of your Sitecore projects&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;in &lt;strong&gt;&lt;em&gt;Web.config&lt;/em&gt;&lt;/strong&gt; files (if you have any) under &lt;code&gt;/Views&lt;/code&gt; and &lt;code&gt;/Areas/*/Views&lt;/code&gt;, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;host factoryType=&quot;System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;&#xA;...&#xA;&#xA;&amp;lt;pages&#xA;    validateRequest=&quot;false&quot;&#xA;    pageParserFilterType=&quot;System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&#xA;    pageBaseType=&quot;System.Web.Mvc.ViewPage, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&#xA;    userControlBaseType=&quot;System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&amp;gt;&#xA;  &amp;lt;controls&amp;gt;&#xA;    &amp;lt;add assembly=&quot;System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; namespace=&quot;System.Web.Mvc&quot; tagPrefix=&quot;mvc&quot; /&amp;gt;&#xA;  &amp;lt;/controls&amp;gt;&#xA;&amp;lt;/pages&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You also need to ensure that the target framework in all of your projects, as well as in &lt;strong&gt;&lt;em&gt;Web.config&lt;/em&gt;&lt;/strong&gt;, is set to &lt;strong&gt;&lt;code&gt;4.5.2&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error should be fixed after you perform the steps above.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-15T14:10:15.197" LastActivityDate="2016-12-15T14:10:15.197" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3390" PostTypeId="2" ParentId="3350" CreationDate="2016-12-15T13:51:16.687" Score="6" Body="&lt;p&gt;Be sure to use the MVC Form rendering rather than the Web Forms version, which is just named Form.  The Web Forms version of the rendering is not supported for use with FXM.  See the documentation: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/using_web_forms/creating_web_forms/add_an_mvc_form_to_an_external_website_with_fxm&quot; rel=&quot;noreferrer&quot;&gt;Add an MVC form to an external website with FXM&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2016-12-15T13:51:16.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3391" PostTypeId="2" ParentId="3387" CreationDate="2016-12-15T13:58:32.160" Score="8" Body="&lt;p&gt;Methods like &lt;code&gt;@Html.Action()&lt;/code&gt;, &lt;code&gt;@Html.RenderAction&lt;/code&gt; etc. apparently requires a route with the &lt;code&gt;{controller}/{action}&lt;/code&gt; pattern (even though it isn't actually relevant from what I can see). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The config file &lt;code&gt;Sitecore.Speak.Mvc.config&lt;/code&gt; contains such a route. Although the route is Sitecore specific it does contain the &lt;code&gt;{controller}/{route}&lt;/code&gt; pattern. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the &lt;code&gt;Sitecore.Speak.Mvc.config&lt;/code&gt; should be disabled on CD, Processing and Reporting servers (according to Sitecore's &lt;strong&gt;Config Enable-Disable&lt;/strong&gt; documents).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve the problem you should be able to just add a bogus route to the route table manually (like in a standard ASP.NET MVC solution) containing the &lt;code&gt;{controller}/{action}&lt;/code&gt; pattern. Just make sure it is something that would otherwise never get matched by a real URL on your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like this (in the &lt;code&gt;initialize&lt;/code&gt; pipeline):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;RouteTable.Routes.MapRoute(&#xA;    &quot;Bogus-Required-Route&quot;,&#xA;    &quot;bogus-required-route/{controller}/{action}&quot;,&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2016-12-15T14:04:21.970" LastActivityDate="2016-12-15T14:04:21.970" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3393" PostTypeId="1" AcceptedAnswerId="3406" CreationDate="2016-12-15T14:54:34.650" Score="3" ViewCount="1684" Body="&lt;p&gt;This question is related to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/226/what-is-the-best-practice-for-managing-web-config-changes-in-a-solution&quot;&gt;this&lt;/a&gt; but not exactly the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From sitecore's recommendation its not good to modify the actual config files and always do it by patching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to add a new hander which i cannot do it from patches as it should be added in web.config?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add verb=&quot;*&quot; path=&quot;project_sitemap.ashx&quot; type=&quot;Project.Web.Handlers.Sitemap, Project.Web&quot; name=&quot;project_sitemap&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can i add above line to &lt;code&gt;&amp;lt;handlers&amp;gt;&lt;/code&gt; section with out modifying the default's sitecore web.config file. As this web.config file might be different in new version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version: 8.1 update 3&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-15T21:06:02.073" Title="Adding new sitecore handler to web.config" Tags="|configuration|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3394" PostTypeId="2" ParentId="3382" CreationDate="2016-12-15T15:08:39.393" Score="3" Body="&lt;p&gt;Ok I finally found my mistake. Since I am using DbTemplates, the DbLinkField needs to be added to the template first.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Add(new DbTemplate(&quot;t1&quot;, t1_TemplateId)){&#xA;    new DbLinkfield(&quot;theField&quot;)&#xA;});&#xA;db.Add(new DbTemplate(&quot;T&quot;, T_TemplateId)&#xA;{&#xA;    BaseIDs = new[] { t1_TemplateId}&#xA;});&#xA;&#xA;db.Add(new DbItem(&quot;root&quot;)&#xA;{&#xA;    new DbItem(&quot;child1&quot;)&#xA;    {&#xA;        new DbItem(&quot;siteRoot&quot;)&#xA;        {&#xA;            new DbItem(&quot;Home&quot;)&#xA;            {&#xA;                new DbItem(&quot;Article&quot;)&#xA;            },&#xA;            new DbItem(&quot;Data&quot;)&#xA;            {&#xA;                new DbItem(&quot;theItem&quot;, ID.NewID, T_TemplateId)&#xA;                {&#xA;                    new DbLinkField(&quot;theField&quot;)&#xA;                    {&#xA;                        Anchor = &quot;anchor&quot;,&#xA;                        Class = &quot;class&quot;,&#xA;                        LinkType = &quot;linktype&quot;,&#xA;                        QueryString = &quot;querystring&quot;,&#xA;                        Target = &quot;target&quot;,&#xA;                        TargetID = targetid,&#xA;                        Text = &quot;text&quot;,&#xA;                        Title = &quot;title&quot;,&#xA;                        Url = &quot;url&quot;,&#xA;                    },&#xA;                    new DbLinkField(&quot;otherfield&quot;)&#xA;                }&#xA;            }&#xA;&#xA;        }&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="414" LastActivityDate="2016-12-15T15:08:39.393" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3395" PostTypeId="2" ParentId="3393" CreationDate="2016-12-15T15:13:27.563" Score="3" Body="&lt;p&gt;you just need to create a patch file that adds an entry to the &lt;code&gt;&amp;lt;customHandlers&amp;gt;&lt;/code&gt; section. Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;customHandlers&amp;gt;&#xA;            &amp;lt;handler trigger=&quot;-/sitemap/&quot; handler=&quot;project_sitemap.ashx&quot; /&amp;gt;&#xA;        &amp;lt;/customHandlers&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add that to your include folder and the part you already have to your web.config. There is no way to avoid changing the web.config file as you have to add it to the &lt;code&gt;system.webServer&lt;/code&gt; section in there.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-12-15T15:13:27.563" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3396" PostTypeId="1" AcceptedAnswerId="3464" CreationDate="2016-12-15T15:52:55.347" Score="2" ViewCount="2248" Body="&lt;p&gt;If image field is null or empty &lt;code&gt;@RenderImage&lt;/code&gt; does not render the &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; attribute. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to tell GlassMapper's &lt;code&gt;@RenderImage&lt;/code&gt; to use default placeholder image if no image exists or comes from sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we set this configuration sitewide?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2016-12-21T11:00:30.553" Title="GlassMapper Render Image with placeholder image" Tags="|glass-mapper|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3397" PostTypeId="1" AcceptedAnswerId="3401" CreationDate="2016-12-15T16:09:20.217" Score="8" ViewCount="530" Body="&lt;p&gt;I'm wondering about a certain Sitecore Upgrade strategy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems like i have 2 options to upgrade:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Perform all the upgrade actions manually ( at the very least time-intensive )&lt;/li&gt;&#xA;&lt;li&gt;Create a new instance and migrate the data from one instance to an other.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I've been told that the second option can hold some unforeseen consequences because of the different designs of the db tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My idea: ( Take best of both worlds ? )&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Copy current databases&lt;/li&gt;&#xA;&lt;li&gt;Apply sql changes described in the upgrade manuals ( CMSxx_BeforeInstall.sql )&lt;/li&gt;&#xA;&lt;li&gt;Create a new Sitecore instance ( with the new version ) and hook it up with the newly changed database tables.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Any comments and feedback are more than welcome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: In this case i want to upgrade from Sitecore 8.0 Update 2 to Sitecore 8.2 Update 1&lt;/p&gt;&#xA;" OwnerUserId="1281" LastEditorUserId="1281" LastEditDate="2016-12-16T13:11:11.273" LastActivityDate="2016-12-16T13:11:11.273" Title="Possible Upgrade Strategy" Tags="|upgrade|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3398" PostTypeId="1" CreationDate="2016-12-15T16:48:38.837" Score="8" ViewCount="1907" Body="&lt;p&gt;(I'm using Sitecore 8.1 Update 3 with Glass Mapper.Sc version 4.1.1.66)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to get items to be created in Sitecore through Glass Mapper. We can get content items just fine right now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I try to save, I get this error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Item does not have a Template ID or Branch ID.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have verified that object is code has a Template Id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what our property map looks like for the base item (where TempalteID resides):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public override void Configure()&#xA;  {&#xA;     Map(config =&amp;gt;&#xA;     {&#xA;        config.AutoMap();&#xA;        config.Id(m =&amp;gt; m.Id);&#xA;        config.Info(m =&amp;gt; m.Name).InfoType(SitecoreInfoType.Name);&#xA;        config.Info(m =&amp;gt; m.DisplayName).InfoType(SitecoreInfoType.DisplayName);&#xA;        config.Info(m =&amp;gt; m.Path).InfoType(SitecoreInfoType.Path);&#xA;        config.Info(m =&amp;gt; m.Url).InfoType(SitecoreInfoType.Url);&#xA;        config.Info(m =&amp;gt; m.FullPath).InfoType(SitecoreInfoType.FullPath);&#xA;        config.Info(m =&amp;gt; m.TemplateName).InfoType(SitecoreInfoType.TemplateName);&#xA;        config.Info(m =&amp;gt; m.TemplateId).InfoType(SitecoreInfoType.TemplateId);&#xA;        config.Field(f =&amp;gt; f.Sortorder).FieldName(&quot;__Sortorder&quot;);&#xA;     });&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's what the call to Create looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        using (new SecurityDisabler())&#xA;        {&#xA;            resultItem = _sitecoreContext.Create(parentItem, contentItem, true, false);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas why I'm getting that error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: Here's the interface with the templateid attribute.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{DAF085E8-602E-43A6-8299-038FF171349F}&quot;)]&#xA;public interface IAssetUgcImageModel : IAssetUgcMediaModel&#xA;{&#xA;    string Alt { get; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1027" LastEditorUserId="10" LastEditDate="2016-12-18T16:58:40.930" LastActivityDate="2016-12-18T16:58:40.930" Title="Glass Mapper Item Creation issue" Tags="|glass-mapper|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3399" PostTypeId="2" ParentId="3396" CreationDate="2016-12-15T16:53:33.797" Score="4" Body="&lt;p&gt;It is not possible &quot;out-of-the-box&quot; as far as I am aware. And instead of creating a new version of the @RenderImage method to allow this, I would do this check in your model before you hand it over to your view. If you are using a controller rendering, I would do something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (model.MyImage == null)&#xA;{&#xA;    model.MyImage = new Image()&#xA;    {&#xA;        Src = &quot;/mydefaultImage.jpg&quot;, &#xA;        Alt = string.Empty&#xA;    };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could probably wrap your &lt;code&gt;SitecoreContext.GetItem&amp;lt;T&amp;gt;&lt;/code&gt; and apply this to all Glass.Mapper.Sc.Fields.Image's in your model if you want to use the same default image in all of your models.&lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2016-12-15T16:53:33.797" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3400" PostTypeId="2" ParentId="3343" CreationDate="2016-12-15T17:21:15.673" Score="1" Body="&lt;p&gt;There is a command &quot;item:checkout&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;item:checkout&quot; type=&quot;type=Sitecore.Shell.Framework.Commands.CheckOut,Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Use patch instead to override the command.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;item:checkout&quot; type=&quot;Sitecore.Custom.Commands.MyCheckOutCommand, Sitecore.Custom&quot; patch:instead=&quot;command[@type='type=Sitecore.Shell.Framework.Commands.CheckOut,Sitecore.Kernel']&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is a command. Try something the same.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [Serializable]&#xA;public class MyCheckOutCommand : Sitecore.Shell.Framework.Commands.CheckOut&#xA;{&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        var item = context.Items[0];&#xA;        Database db = item.Database;&#xA;        IWorkflow workflow = db.WorkflowProvider.GetWorkflow(item);&#xA;        WorkflowState state = workflow.GetState(item);&#xA;&#xA;        if (Sitecore.Context.User.IsInRole(&quot;[roleName]&quot;) &amp;amp;&amp;amp; workflow.WorkflowID == &quot;[WorkflowID]&quot; &amp;amp;&amp;amp; state.StateID == &quot;[StateID]&quot;)&#xA;        {&#xA;            item.Versions.AddVersion();&#xA;        }&#xA;        base.Execute(context);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastActivityDate="2016-12-15T17:21:15.673" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3401" PostTypeId="2" ParentId="3397" CreationDate="2016-12-15T18:19:44.823" Score="9" Body="&lt;p&gt;Your idea is similar to the way that I used to perform upgrades before TDS. The below is the strategy that I used to use, which I call the &amp;quot;Hybrid-Clean Upgrade Strategy&amp;quot;:&lt;/p&gt;&#xA;&lt;h2&gt;Hybrid-Clean Upgrade Strategy&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Identify your upgrade path (all the versions that you will need to &amp;quot;pass through&amp;quot; as you iteratively upgrade to your target version) and set your current solution (everything but your databases) aside for later&lt;/li&gt;&#xA;&lt;li&gt;Back up your databases with a unique name that includes the Sitecore version (don't overwrite existing backups)&lt;/li&gt;&#xA;&lt;li&gt;Download a clean instance of the current Sitecore version in your upgrade path (the one your instance is currently on) and install it on your machine&lt;/li&gt;&#xA;&lt;li&gt;Set the clean databases for the downloaded instance aside, back up the clean instance's configs to a zip (with a name containing the Sitecore version) and connect your existing databases to the clean instance&lt;/li&gt;&#xA;&lt;li&gt;Install the Sitecore update package to update to the next version in your upgrade path on your newly set up instance (clean instance connecting to your existing databases). You can skip all manual steps for the file system, configuration, etc., except for those that require database schema changes, database script executions and/or other content changes that will be stored in the database&lt;/li&gt;&#xA;&lt;li&gt;Delete the newly upgraded instance's website, keeping only the clean databases (set aside for later), the backed up clean configs (set aside for later), and your existing databases&lt;/li&gt;&#xA;&lt;li&gt;Repeat steps 2-6 until your existing databases have been upgraded to the target version&lt;/li&gt;&#xA;&lt;li&gt;At this point, you should have a clean copy of the databases for each instance in your upgrade path, as well as your existing databases (now upgraded to the target version), and backups of them from each step along the way. Set your existing (upgraded) databases aside for later, along with their backups (don't delete the backups until you are finished and certain that the entire upgrade was successful)&lt;/li&gt;&#xA;&lt;li&gt;Back up the current state of your solution to a zip with the Sitecore version number in the name, and/or commit its current state to a source control repository/branch with the Sitecore version number in the commit comment (or tag name, etc. - just make sure you can identify the Sitecore version at each revision)&lt;/li&gt;&#xA;&lt;li&gt;Now go back to your solution and connect it to the &lt;em&gt;clean&lt;/em&gt; Sitecore databases (the ones you set aside, earlier) for the version that it is currently on&lt;/li&gt;&#xA;&lt;li&gt;Install the update package to upgrade your solution to the next version in your upgrade path&lt;/li&gt;&#xA;&lt;li&gt;Follow all of the manual steps, except for those that involve database schema changes, database script executions, or other content changes that will be preserved in the database&lt;/li&gt;&#xA;&lt;li&gt;Now compare the configs in your solution to the clean configs for the new current version (I recommend either &lt;a href=&quot;http://kdiff3.sourceforge.net/&quot; rel=&quot;noreferrer&quot;&gt;KDiff3&lt;/a&gt; or &lt;a href=&quot;http://winmerge.org/?lang=en&quot; rel=&quot;noreferrer&quot;&gt;WinMerge&lt;/a&gt;, but you can use whichever diff-viewer your heart desires). Make sure that everything matches up with what you would expect to see. If anything is awry, fix and test before continuing&lt;/li&gt;&#xA;&lt;li&gt;Repeat steps 9-13 until your solution has been upgraded to the target version&lt;/li&gt;&#xA;&lt;li&gt;Connect your upgraded solution to your upgraded databases, both of which should be at the targeted version&lt;/li&gt;&#xA;&lt;li&gt;Test, test and test some more!&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3&gt;What you should end up with&lt;/h3&gt;&#xA;&lt;p&gt;At this point, you should have all of the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Upgraded solution&lt;/li&gt;&#xA;&lt;li&gt;Upgraded databases&lt;/li&gt;&#xA;&lt;li&gt;Backup of upgraded solution for each version in upgrade path&lt;/li&gt;&#xA;&lt;li&gt;Backup of upgraded databases for each version in upgrade path&lt;/li&gt;&#xA;&lt;li&gt;Copy of clean configs for each version in upgrade path&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;Testing&lt;/h3&gt;&#xA;&lt;p&gt;Given what you have at the end, you can now test to make sure that your solution is working in the target version and if not you can test each version that you upgraded to in the upgrade path to find out where things went wrong and fix them for each subsequent version.&lt;/p&gt;&#xA;&lt;p&gt;If desired, you can optionally modify the strategy and run both the database and solution upgrades at the same time, reconnect them after each version upgrade and test before upgrading to the next version. I usually don't do this, unless something went wrong (which is rare), in which case I simulate this with my backups.&lt;/p&gt;&#xA;&lt;h3&gt;Pros&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Speed:&lt;/strong&gt; because either the databases or the website is always clean, each update packages installs a bit quicker than it would otherwise (though still slower than a fully-clean instance). You can start the upgrade for the databases while you set up the upgrade for the solution, so that they both run at the same time. Depending on the complexities of your databases and your solution, you may want to alternate which you do first, based on the amount of time each takes&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Reduced errors:&lt;/strong&gt; since either the databases or the website is always clean, you have less errors on each update to go through, and there are also less errors thrown by Sitecore for things that it didn't expect/doesn't recognize&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Upgrade record:&lt;/strong&gt; you have a historical record of the upgrade process and the state of your solution at each step along the way. You can stand up an instance of the historical state of your site at any version in the upgrade path that you might need, on demand with little to no effort.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;Cons&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;At the end of the day, you are still running each update package twice&lt;/li&gt;&#xA;&lt;li&gt;Requires more hard-drive space&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;br/&gt;&#xA;&lt;h2&gt;Improving the Hybrid-Clean Upgrade Strategy with TDS&lt;/h2&gt;&#xA;&lt;p&gt;When performing a Sitecore upgrade using the &lt;em&gt;Hybrid-Clean Upgrade Strategy&lt;/em&gt; TDS can cut the time and effort required for the upgrade down by almost half!&lt;/p&gt;&#xA;&lt;h3&gt;Changes to the Upgrade Strategy&lt;/h3&gt;&#xA;&lt;p&gt;If you have TDS, you can ignore the entire database side of the upgrade and simply serialize your existing (old) Sitecore databases using TDS and then deserialize them into a clean copy of the databases for your targeted version of Sitecore.&lt;/p&gt;&#xA;&lt;h3&gt;Changes to Testing Procedures&lt;/h3&gt;&#xA;&lt;p&gt;If you want to test at each step along the way, or if you need to roll back to retest at a particular version in your upgrade path, don't fret about not having copies of the databases at those versions! TDS can help with that too! All you would need to do is the same thing that you are planning to do at the end of the upgrade: attach a clean copy of the databases at the desired version, point TDS at them and deserialize your site tree into those databases. You should now be ready for testing.&lt;/p&gt;&#xA;&lt;h3&gt;Additional Considerations&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If you are using Sitecore membership then you may need to come up with an upgrade/migration strategy for users, which may mean running the upgrade with clean &lt;code&gt;master&lt;/code&gt; and &lt;code&gt;web&lt;/code&gt; databases but your existing &lt;code&gt;core&lt;/code&gt; database&lt;/li&gt;&#xA;&lt;li&gt;If you are using analytics then you may need to come up with an analytics upgrade/migration strategy&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-15T19:43:12.223" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3402" PostTypeId="1" CreationDate="2016-12-15T18:22:12.683" Score="5" ViewCount="66" Body="&lt;p&gt;I am trying to create a rule for a WFFM email address field to populate the field with the logged in users email address. But, I am not sure what rule to use or if any of the rules will work at all for the way we have our security set-up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Active Directory Federated Identity for the log in process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is some sample C# code that sets the logged in user's email address to a UserSession class:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Base Session Class:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public abstract class BaseSession &#xA;{&#xA;    protected static bool ContainsKey(String paramName) {&#xA;    bool res = false;&#xA;    try {&#xA;             if (HttpContext.Current.Session[paramName] != null)&#xA;                res = true;&#xA;        }&#xA;        catch { res = false; }&#xA;    return res;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;User Session Class:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class UserSession : BaseSession&#xA;{&#xA;    public static string EmailAddress&#xA;    {&#xA;        get&#xA;        {&#xA;            if (ContainsKey(RootItems.Keys.EmailAddress))&#xA;            {&#xA;                return HttpContext.Current.Session[RootItems.Keys.EmailAddress] as string;&#xA;            }&#xA;            return null;&#xA;        }&#xA;        set&#xA;        {&#xA;            HttpContext.Current.Session[RootItems.Keys.EmailAddress] = value;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Setting the Email Address to the UserSession Class:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.IdentityModel.Services;&#xA;using System.IdentityModel.Tokens;&#xA;using System.Security.Claims;&#xA;&#xA;SessionSecurityToken sessionToken = null;&#xA;FederatedAuthentication.SessionAuthenticationModule.TryReadSessionTokenFromCookie(out sessionToken);&#xA;FederatedAuthentication.SessionAuthenticationModule.AuthenticateSessionSecurityToken(sessionToken, true);&#xA;ClaimsPrincipal claimsPrincipal = sessionToken.ClaimsPrincipal;&#xA;&#xA;foreach (var varClaims in claimsPrincipal.Claims)&#xA;{&#xA;    if (varClaims.Type.Contains(&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&quot;))&#xA;        UserSession.EmailAddress = varClaims.Value;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Not Sure Which Security Rule to Choose:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EQ67k.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EQ67k.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2016-12-15T18:46:34.763" LastActivityDate="2016-12-15T18:46:34.763" Title="WFFM - Rule Set Editor - Active Directory Federated Identity" Tags="|wffm|rules-engine|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3403" PostTypeId="1" CreationDate="2016-12-15T19:24:46.627" Score="3" ViewCount="1694" Body="&lt;p&gt;For as long as I can remember, my rich text editor hasn't worked. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Nxwv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Nxwv.png&quot; alt=&quot;rich text error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At this point I'm not sure whether it's a security issue or a web config issue, but the problem does affect all sites under the same project if that's any help. I am logged in as admin and this is local development. I just tested it in production, and the error does not occur there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, my gut tells me that it's some type of a file issue. But any direction is appreciated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what the log spits out:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;5916 12:40:17 ERROR Application error.&#xA;  Exception: System.Web.HttpUnhandledException&#xA;  Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;  Source: System.Web&#xA;     at System.Web.UI.Page.HandleError(Exception e)&#xA;     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoin&#xA;  t, Boolean includeStagesAfterAsyncPoint)&#xA;     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, B&#xA;  oolean includeStagesAfterAsyncPoint)&#xA;     at System.Web.UI.Page.ProcessRequest()&#xA;     at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;     at ASP.sitecore_shell_controls_rich_text_editor_editorpage_aspx.ProcessReques&#xA;  t(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Tempor&#xA;  ary ASP.NET Files\root\f5fafede\75924706\App_Web_4an5wvrc.3.cs:line 0&#xA;     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplica&#xA;  tion.IExecutionStep.Execute()&#xA;     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; compl&#xA;  etedSynchronously)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.NullReferenceException&#xA;  Message: Object reference not set to an instance of an object.&#xA;  Source: Sitecore.Client&#xA;     at Sitecore.Shell.Controls.RichTextEditor.EditorPage.OnLoad(EventArgs e)&#xA;     at System.Web.UI.Control.LoadRecursive()&#xA;     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoin&#xA;  t, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;5916 12:40:17 ERROR Error Url: http:/site.com/sitecore/shell/Controls/Rich&#xA;  %20Text%20Editor/EditorPage.aspx?da=core&amp;amp;id=%7B04733BD9-54B4-45F2-8661-EF964BCAA&#xA;  7E6%7D&amp;amp;ed=FIELD98016355&amp;amp;vs&amp;amp;la=en&amp;amp;fld=%7B217FDF39-763D-4E3D-8193-B8929DF02D00%7D&amp;amp;&#xA;  so&amp;amp;di=0&amp;amp;hdl=H98016451&amp;amp;mo&amp;amp;pe=0&amp;amp;fbd=1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In my web.config, I have the default text editor defined as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;HtmlEditor.DefaultProfile&quot; value=&quot;/sitecore/system/Settings/Html Editor Profiles/Rich Text Default&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which should be the default value. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look in the core db content editor, the tree does appear to expand as referenced and the files look as though they are all there  (specifically the &lt;code&gt;/sitecore/system/Settings/Html Editor Profiles/Rich Text Default&lt;/code&gt; folder).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers.&lt;/p&gt;&#xA;" OwnerUserId="946" LastEditorUserId="946" LastEditDate="2016-12-15T20:28:00.843" LastActivityDate="2017-04-19T18:28:51.470" Title="Rich Text Editor &quot;Object reference not set to an instance of an object.&quot; and internal server error thrown" Tags="|richtext-editor|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="3404" PostTypeId="2" ParentId="3397" CreationDate="2016-12-15T19:43:18.380" Score="2" Body="&lt;p&gt;There isn`t a single right answer for this. Upgrading Sitecore can be a time consuming activity and depending on the version jump you are facing and the timeline of your project sometimes you can't just upgrade every single update from your current to the latest.&#xA;There is a related post answered with some insights on approaches you can take &lt;a href=&quot;https://sitecore.stackexchange.com/questions/408/whats-the-best-migration-strategy-for-6-5-to-8-2/462#462&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Personally I would recommend trying to follow the Sitecore's upgraded path because you will stay(or should stay) out of unexpected issues and you have a guideline to follow. If that's not an option Zachary made some very good points on the hybrid approach&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-15T19:43:18.380" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3405" PostTypeId="1" AcceptedAnswerId="3451" CreationDate="2016-12-15T19:56:24.123" Score="5" ViewCount="4033" Body="&lt;p&gt;I am working on a Sitecore 8.1 site. I was given a zipped package with the Website folder in it and I am trying to get it set-up on our Development server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The website itself works fine and I can log into the Sitecore admin where I can view the Sitecore Experience Platform home page. The problem is that clicking on any of the following Sitecore applications results in a &lt;code&gt;Server Error in '/' Application&lt;/code&gt; with the exception described below:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content Editor&lt;/li&gt;&#xA;&lt;li&gt;Experience Editor&lt;/li&gt;&#xA;&lt;li&gt;Media Library&lt;/li&gt;&#xA;&lt;li&gt;Workbox&lt;/li&gt;&#xA;&lt;li&gt;Recycle Bin&lt;/li&gt;&#xA;&lt;li&gt;Access Viewer&lt;/li&gt;&#xA;&lt;li&gt;Domain Manager&lt;/li&gt;&#xA;&lt;li&gt;User Manager&lt;/li&gt;&#xA;&lt;li&gt;Security Editor&lt;/li&gt;&#xA;&lt;li&gt;Role Manager&lt;/li&gt;&#xA;&lt;li&gt;Desktop&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Exception Details:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.TypeLoadException: Could not load type 'Sitecore.Shell.Applications.WebEdit.Commands.WebEditCommand' from assembly 'Sitecore.Client, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Stack Trace:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[TypeLoadException: Could not load type 'Sitecore.Shell.Applications.WebEdit.Commands.WebEditCommand' from assembly 'Sitecore.Client, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null'.]&#xA;   System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type) +0&#xA;   System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) +60&#xA;   Sitecore.Reflection.ReflectionUtil.CreateObject(String assembly, String className, Object[] parameters) +64&#xA;   Sitecore.Shell.Framework.Commands.CommandManager.ReadCommands() +662&#xA;   Sitecore.Shell.Framework.Commands.CommandManager..cctor() +68&#xA;&#xA;[TypeInitializationException: The type initializer for 'Sitecore.Shell.Framework.Commands.CommandManager' threw an exception.]&#xA;   Sitecore.Shell.Framework.Commands.CommandManager.GetCommand(String name) +0&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.FillParamsFromCommand(CommandContext commandContext, RibbonCommandParams ribbonCommandParams) +62&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.GetCommandParameters(Item controlItem, CommandContext commandContext) +79&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderLargeButton(HtmlTextWriter output, Item button, CommandContext commandContext) +78&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter output, Item button, CommandContext commandContext) +398&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext) +345&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual, String id) +244&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual) +161&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunks(HtmlTextWriter output, Item strip, CommandContext commandContext, Boolean isContextual) +421&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item ribbon, Boolean isContextual, ListString visibleStripList) +1917&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item defaultRibbon, Item contextualRibbon, ListString visibleStripList) +162&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.Render(HtmlTextWriter output) +800&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11828405&#xA;   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +47&#xA;   Sitecore.Web.FormAdapter.Render(HtmlTextWriter writer) +76&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +116&#xA;   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +50&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +47&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160&#xA;   System.Web.UI.Page.Render(HtmlTextWriter writer) +39&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8921&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastEditorUserId="423" LastEditDate="2016-12-15T20:28:00.540" LastActivityDate="2017-10-06T14:10:23.777" Title="Could not load type 'Sitecore.Shell.Applications.WebEdit.Commands.WebEditCommand'" Tags="|content-editor|experience-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3406" PostTypeId="2" ParentId="3393" CreationDate="2016-12-15T20:06:44.357" Score="4" Body="&lt;p&gt;While you cannot avoid changing the actual &lt;em&gt;web.config&lt;/em&gt; file that will appear in the published &lt;em&gt;/website&lt;/em&gt; folder of your site, you can make it so that you do not actually change the OOTB &lt;em&gt;web.config&lt;/em&gt; file provided by Sitecore in your solution, by using config &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/dd465326%28v=vs.110%29.aspx?f=255&amp;amp;MSPPError=-2147217396&quot; rel=&quot;nofollow noreferrer&quot;&gt;XDT Transforms&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If your goal is maintainability, and &lt;em&gt;upgradability&lt;/em&gt; then this is the option for you.&lt;/p&gt;&#xA;&lt;h3&gt;Using XDT Transforms to insert your new handler&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Include a copy of the OOTB &lt;em&gt;web.config&lt;/em&gt; file in your solution (which you could optionally make into a read-only file or just mandate that developers shouldn't change it).&lt;/li&gt;&#xA;&lt;li&gt;Add a transform file for the &lt;em&gt;web.config&lt;/em&gt; file, which you can optionally nest under the &lt;em&gt;web.config&lt;/em&gt; (e.g. &lt;em&gt;web.transformed.config&lt;/em&gt;; some versions of VS require extensions to nest files with expand/collapse, e.g. the &lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5&quot; rel=&quot;nofollow noreferrer&quot;&gt;SlowCheetah&lt;/a&gt; extension, but that is OOS for this post).&lt;/li&gt;&#xA;&lt;li&gt;Set your transform files to actually transform on build (using VS build configurations, SlowCheetah, build events, or any number of other options) or on deployment to your build server (e.g. TeamCity) as a custom build step&lt;/li&gt;&#xA;&lt;li&gt;Add the necessary configuration to your nested transform file, including your new handler, with the necessary XDT Transform(s)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Your config transform (e.g. &lt;em&gt;web.transformed.config&lt;/em&gt;) for this change would probably look something like the below (untested):&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&#xA;  &amp;lt;configuration xmlns:xdt=&amp;quot;http://schemas.microsoft.com/XML-Document-Transform&amp;quot;&amp;gt;&#xA;    &amp;lt;system.webServer&amp;gt;&#xA;      &amp;lt;handlers&amp;gt;&#xA;        &amp;lt;add verb=&amp;quot;*&amp;quot; path=&amp;quot;project_sitemap.ashx&amp;quot; type=&amp;quot;Project.Web.Handlers.Sitemap, Project.Web&amp;quot; name=&amp;quot;project_sitemap&amp;quot; xdt:Transform=&amp;quot;Insert&amp;quot; /&amp;gt;&#xA;      &amp;lt;/handlers&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Note that in the above, I used &lt;code&gt;xdt:Transform=&amp;quot;Insert&amp;quot;&lt;/code&gt; to add the new handler into the config.&lt;/p&gt;&#xA;&lt;h3&gt;Transform Strategizing&lt;/h3&gt;&#xA;&lt;p&gt;There are multiple ways to organize and execute your config transforms, and the strategy that you choose should help you determine how to name your transform files and what to include in each.&lt;/p&gt;&#xA;&lt;p&gt;OOTB, Visual Studio supports transforms applied on build for each build configuration. The default build configurations for each solution in VS are &lt;code&gt;DEBUG&lt;/code&gt; and &lt;code&gt;RELEASE&lt;/code&gt;. You can add &lt;em&gt;web.DEBUG.config&lt;/em&gt; and &lt;em&gt;web.RELEASE.config&lt;/em&gt; transforms to be executed on build for the corresponding build configuration (i.e. if building in &lt;code&gt;DEBUG&lt;/code&gt; mode then the &lt;em&gt;web.DEBUG.config&lt;/em&gt; transform will be applied, where as if building in &lt;code&gt;RELEASE&lt;/code&gt; mode then the &lt;em&gt;web.RELEASE.config&lt;/em&gt; transform will be applied).&lt;/p&gt;&#xA;&lt;p&gt;In contrast, Sitecore's config-patching feature is an example of a custom transform strategy that is executed on application start up. Conceptually, you could create a similar strategy that runs on build for all build configurations, wherein all configs that are configured as transforms would execute on build, regardless of naming, and you could use the names to identify the contents of the transform file rather than the build configuration that the transform file is applied for.&lt;/p&gt;&#xA;&lt;p&gt;The sky is the limit with XDT Transforms, so start simple and figure out which strategy is best for you.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-15T21:06:02.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3407" PostTypeId="2" ParentId="3398" CreationDate="2016-12-15T20:21:35.890" Score="6" Body="&lt;p&gt;I was able to figure this one out, with the help of Tamás Tárnok above. The solution was to add &lt;code&gt;[SitecoreType(TemplateId = &quot;Your_Sitecore_Template_Id&quot;)]&lt;/code&gt; to the implemented class. More information is below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/18974495/glass-mapper-and-creating-sitecore-items-using-interfaces&quot;&gt;https://stackoverflow.com/questions/18974495/glass-mapper-and-creating-sitecore-items-using-interfaces&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1027" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-18T16:58:00.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3408" PostTypeId="1" AcceptedAnswerId="3409" CreationDate="2016-12-15T20:28:56.577" Score="6" ViewCount="1304" Body="&lt;p&gt;We have two sites www.site1.com and www.site2.com. We are having problem when trying to create cross site relative links in RTE field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example. In RTE field of site2 site, if we insert a relative link of an item related to site1 site, it doesn’t resolve the proper URL according to site1 URL customization. For example, item having Physical Path as Sitecore/Home/Site1/Global Content/Profiles/A/Adam, is being resolved as www.site1.com/adam. But when we use this item in site2 as a relative link it doesn’t resolve the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In config, we also have configured two different sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest what can be possible issue?&lt;/p&gt;&#xA;" OwnerUserId="1297" LastEditorUserId="423" LastEditDate="2016-12-15T21:13:09.640" LastActivityDate="2017-07-28T17:37:03.273" Title="Cross-site links not resolving correctly in RTE fields on multi-site environment" Tags="|multisite|links|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3409" PostTypeId="2" ParentId="3408" CreationDate="2016-12-15T20:39:43.030" Score="14" Body="&lt;p&gt;This is a pretty common business-case in Sitecore multi-site projects, and fortunately there is pretty good support for cross-site links OOTB. If what you need isn't available OOTB or if it isn't working the way that you want then it's pretty straight-forward and low-effort to customize the solution to your needs. See below for details:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Enabling &lt;code&gt;SiteResolving&lt;/code&gt; for your Solution&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Make sure that in your config, you have the &lt;code&gt;Rendering.SiteResolving&lt;/code&gt; setting enabled. It should look like the below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Rendering.SiteResolving&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This setting tells Sitecore that it should try to resolve the correct site for the links that you enter, including in the RTE fields. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Matching and Resolving &lt;code&gt;hostName&lt;/code&gt; and &lt;code&gt;targetHostName&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In addition, if you are doing any wildcard (*) or pipe (|) matches on the &lt;code&gt;hostName&lt;/code&gt; attributes of your &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; configuration nodes, then make sure that you specify the &lt;code&gt;targetHostName&lt;/code&gt; of each site, or else Sitecore will not be able to resolve the correct host name (without the asterisk wildcard) to add to the link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, you might have something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;site1&quot; hostName=&quot;*site1.com&quot; targetHostName=&quot;www.site1.com&quot; ... /&amp;gt;&#xA;&amp;lt;site name=&quot;site2&quot; hostName=&quot;www.site2.com|site2.com&quot; targetHostName=&quot;www.site1.com&quot; ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Forcing the &lt;code&gt;LinkProvider&lt;/code&gt; to Respect &lt;code&gt;Rendering.SiteResolving&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Note that in some cases, Sitecore may not respect the value of the &lt;code&gt;Rendering.SiteResolving&lt;/code&gt; setting, and may require modifications to the &lt;code&gt;LinkProvider&lt;/code&gt; in order to get it working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, the following (untested) code from Paul Martin's blog post (linked below) can be used to force the &lt;code&gt;LinkProvider&lt;/code&gt; to respect the &lt;code&gt;SiteResolving&lt;/code&gt; setting for all &lt;code&gt;GetItemUrl&lt;/code&gt; calls:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LinkProvider : Sitecore.Links.LinkProvider&#xA;{     &#xA;    public override string GetItemUrl(Item item, UrlOptions options) &#xA;    {     &#xA;        string itemUrl;&#xA;&#xA;        //other code    &#xA;&#xA;        options.SiteResolving = Sitecore.Configuration.Settings.Rendering.SiteResolving;&#xA;&#xA;        itemUrl = base.GetItemUrl(item, options);&#xA;&#xA;        //other code&#xA;&#xA;        return itemUrl;     &#xA;    }     &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Additional Information&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-multisite-part-4-cross-site-links&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Multisite, Part 4: Cross-Site Links&lt;/a&gt; by John West&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2012/03/28/sitecore-links-in-multisite-solutions-siteresolving/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore links in multisite solutions - SiteResolving&lt;/a&gt; by Brian Pedersen&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorepm.wordpress.com/2010/08/04/using-cross-site-links-dynamic-links/&quot; rel=&quot;noreferrer&quot;&gt;Using cross site links.. aka dynamic links (part 1)&lt;/a&gt; by Paul Martin&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-28T17:37:03.273" LastActivityDate="2017-07-28T17:37:03.273" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3410" PostTypeId="2" ParentId="3335" CreationDate="2016-12-15T21:45:42.637" Score="1" Body="&lt;pre&gt;&lt;code&gt;private void FillInUserData(Control control)&#xA;{&#xA;    foreach (Control child in control.Controls)&#xA;    {&#xA;        if (child is BaseControl)&#xA;        {&#xA;            if (child is InputControl)&#xA;            {&#xA;                InputControl field = (InputControl)child;&#xA;&#xA;                if (((BaseControl)child).ControlName.Equals(&quot;Email Address&quot;))&#xA;                    field.Text = UserSession.EmailAddress;&#xA;            }&#xA;        }&#xA;    }&#xA;}    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I figured this syntax out by debugging:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/exQMO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/exQMO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastActivityDate="2016-12-15T21:45:42.637" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3411" PostTypeId="2" ParentId="3405" CreationDate="2016-12-16T03:15:42.360" Score="4" Body="&lt;p&gt;This is either a bad config or a bad dll. And by bad I mean wrong version. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Backup your bin directory.&lt;/li&gt;&#xA;&lt;li&gt;Open the file sitecore\shell\sitecore.version.xml to find the real version that you are expected to be running.&lt;/li&gt;&#xA;&lt;li&gt;Download the proper Sitecore.zip file for the version from step 2. &lt;/li&gt;&#xA;&lt;li&gt;Copy the bin folder from the zip and overwrite your existing bin directory and test.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If that doesn't resolve the problem, follow these steps.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download &lt;a href=&quot;https://www.scootersoftware.com/download.php&quot; rel=&quot;nofollow noreferrer&quot;&gt;Beyond Compare&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Open the zip file from from above and extract the App_Config folder. &lt;/li&gt;&#xA;&lt;li&gt;Use beyond compare and compare the extracted App_Config folder and one from your website. There will be difference depending on how diciplined your team is about using patch files. But you should be able to see config files that are missing or are wildly different.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you find that the issue is dlls, you should check your deployments for this site to make sure that bad dlls are not coming from development. Also use &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's NuGet&lt;/a&gt; for your references in Visual studio. This will help keep them are the right and specific versions.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="288" LastEditDate="2017-10-06T14:10:23.777" LastActivityDate="2017-10-06T14:10:23.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3412" PostTypeId="1" CreationDate="2016-12-16T03:59:58.927" Score="3" ViewCount="1407" Body="&lt;p&gt;We have created an item resolver to maintain Sitecore path on our way.  We have inherited  &lt;code&gt;LinkProvider&lt;/code&gt; to override &lt;code&gt;GetItemUrl&lt;/code&gt; method like the below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LinkProvider : Sitecore.Links.LinkProvider&#xA;    {&#xA;        public override string GetItemUrl(Item item, UrlOptions options)&#xA;        {&#xA;           //Some Code Implementation&#xA;&#xA;            return base.GetItemUrl(item, options);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have added our own config file with name custom_config.config in include folder but we are unable to use our own override method. I checked showconfig.aspx also, but this is showing me the OOTB &lt;code&gt;LinkProvider&lt;/code&gt; type &lt;code&gt;Sitecore.Providers.LinkProvider&lt;/code&gt; instead of the one which we have created.&lt;/p&gt;&#xA;" OwnerUserId="1297" LastEditorUserId="423" LastEditDate="2016-12-16T04:18:08.997" LastActivityDate="2016-12-16T05:56:05.313" Title="Custom Link Provider is not overriding" Tags="|links|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3413" PostTypeId="2" ParentId="3412" CreationDate="2016-12-16T04:17:28.027" Score="4" Body="&lt;p&gt;Please verify that your patch file is patching correctly. Since you do not see it in your showconfig.aspx, most likely your patch file is not configured correctly.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;linkManager&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;sitecore&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitemap.Custom.CustomLinkProvider,Sitemap.Custom&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/add&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-12-16T04:17:28.027" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3414" PostTypeId="2" ParentId="3412" CreationDate="2016-12-16T04:18:56.860" Score="2" Body="&lt;p&gt;Also to note that Sitecore first processes include files directly inside the App_Config/Includes folder in alphabetical order (technically, the order returned by the Directory.GetFiles() method) and then process folders inside App_Config/Includes folder in alphabetical order and files inside those folders. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to use a include file(i.e. custom_config.config) to override something in another include file(i.e. sitecore.config), the name of the overriding file should sort after the name of the overridden file. So rename custom_config.config to appear after sitecore.config to resolve the same. You can use something like z_custom_config.config so that it will appear after sitecore.config. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We usually create our own folder to contain custom config files as recommended practice. This is to ensure that your custom config file is always included.&lt;/p&gt;&#xA;" OwnerUserId="607" LastEditorUserId="383" LastEditDate="2016-12-16T05:56:05.313" LastActivityDate="2016-12-16T05:56:05.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3415" PostTypeId="1" CreationDate="2016-12-16T07:30:57.553" Score="6" ViewCount="21793" Body="&lt;p&gt;I am using Sitecore 8.2 with MVC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to perform a page redirect, but my code isn't working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm calling an MVC controller action method from JavaScript using a jQuery AJAX call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The method is hit and the related items are also present in the content tree. But nothing happens. The current page remains and no redirection occurs. Also, there are no errors or messages in the browser console.  &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Controller method:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult RedirectPage(string currentItemGuid)&#xA;{&#xA;  Item pageItem = Sitecore.Context.Database.GetItem(currentItemGuid);&#xA;&#xA;  if (pageItem != null)&#xA;  {&#xA;    string pageURL = Sitecore.Links.LinkManager.GetItemUrl(pageItem);&#xA;    //pageURL = /products/radio&#xA;    string newURL = pageURL + &quot;-type&quot;;&#xA;    //newURL = /products/radio-type. This item is present in the content tree in the same folder structure.&#xA;    return Redirect(&quot;~&quot; + newURL);&#xA;  }&#xA;  else&#xA;  {&#xA;    return new EmptyResult();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;JavaScript:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(function () {        &#xA;  $(&quot;.ddlProducts&quot;).change(function () {            &#xA;    $.ajax({&#xA;      url: &quot;api/sitecore/Products/RedirectPage&quot;,&#xA;      type: &quot;POST&quot;,&#xA;      data: { currentItemGuid: '{100-100-100}'},&#xA;      context: this,&#xA;      success: function (data) {                &#xA;          console.log(&quot;success&quot;, data);&#xA;      },&#xA;      error: function (data) {&#xA;          console.log(&quot;error&quot;, data);&#xA;      }&#xA;    });&#xA;  });&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="104" LastEditDate="2016-12-16T11:54:30.037" LastActivityDate="2016-12-16T11:54:30.037" Title="Redirecting to another item in an AJAX request" Tags="|mvc|redirect|" AnswerCount="1" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="3416" PostTypeId="2" ParentId="549" CreationDate="2016-12-16T08:03:09.687" Score="1" Body="&lt;p&gt;Issue was caused by an &lt;code&gt;replacer&lt;/code&gt; being &lt;code&gt;mode=&quot;on&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;replacer mode=&quot;on&quot; id=&quot;publish&quot; type=&quot;Sitecore.Text.Replacer, Sitecore.Kernel&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;changing this setting to &lt;code&gt;mode=&quot;off&quot;&lt;/code&gt; fixes the issue:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;replacer mode=&quot;off&quot; id=&quot;publish&quot; type=&quot;Sitecore.Text.Replacer, Sitecore.Kernel&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="480" LastEditorUserId="172" LastEditDate="2016-12-16T12:34:10.987" LastActivityDate="2016-12-16T12:34:10.987" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3417" PostTypeId="2" ParentId="3415" CreationDate="2016-12-16T08:36:08.440" Score="6" Body="&lt;p&gt;The problem here is that 301/302 redirects are handled by the browser (or more specifically, by the &lt;code&gt;XMLHttpRequest&lt;/code&gt; object) &lt;em&gt;transparently&lt;/em&gt;. This means that your &lt;code&gt;success&lt;/code&gt; handler will be called only when the browser issues a second request and loads the page it was &lt;em&gt;redirected to&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you should not attempt to use redirect response codes in AJAX calls. Instead, I suggest that you return a custom object containing the redirect URL:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return Json(new { redirectUrl = someUrl });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then manually redirect using JavaScript:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$.ajax({&#xA;    url: &quot;/api/sitecore/Products/RedirectPage&quot;,&#xA;    type: &quot;POST&quot;,&#xA;    data: { currentItemGuid: '{100-100-100}'},&#xA;    context: this,&#xA;    dataType: &quot;json&quot;, // this is important&#xA;    success: function (data) {                &#xA;        if(data.redirectUrl) {&#xA;            window.location.href = data.redirectUrl;&#xA;        }&#xA;    },&#xA;    ...&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-16T08:41:36.103" LastActivityDate="2016-12-16T08:41:36.103" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3418" PostTypeId="1" CreationDate="2016-12-16T09:23:42.173" Score="5" ViewCount="487" Body="&lt;p&gt;I am implementing a custom validator for WFFM, to do so I followed the Sitecore documentation: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/walkthrough_create_and_assign_a_custom_fieldtype_validator&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/walkthrough_create_and_assign_a_custom_fieldtype_validator&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Valdation field, located at: /sitecore/system/Modules/Web Forms for Marketers/Settings/Validation/Key validator&#xA;&lt;a href=&quot;https://i.stack.imgur.com/skk0e.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/skk0e.png&quot; alt=&quot;Form designer - Valdation field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class KeyValidator : FormCustomValidator&#xA;{&#xA;    public KeyValidator()&#xA;    {&#xA;        ServerValidate += OnKeyValidate;&#xA;    }&#xA;&#xA;    private void OnKeyValidate(object source, ServerValidateEventArgs args)&#xA;    {&#xA;        // some validation here...&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Assigned to &quot;Single-Line Text&quot; field&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4KC1Y.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4KC1Y.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&#xA;However the new custom validator does not appear in the form designer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/42yXa.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/42yXa.png&quot; alt=&quot;Form designer - Valdation field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="628" LastActivityDate="2017-01-15T11:09:40.733" Title="WFFM: Custom validator does not appear (Sitecore 8.1 Update 1)" Tags="|wffm|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3419" PostTypeId="1" AcceptedAnswerId="3422" CreationDate="2016-12-16T09:40:20.893" Score="23" ViewCount="7853" Body="&lt;p&gt;In the Control Panel, there is a &quot;Clean up databases&quot; button. How does it work? What operations are carried out during a database cleanup?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kt6JO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kt6JO.png&quot; alt=&quot;Sitecore Control Panel and Clean up databases button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="104" LastEditDate="2016-12-16T10:36:22.227" LastActivityDate="2016-12-16T10:57:16.463" Title="How does the &quot;Clean up databases&quot; feature work?" Tags="|sql-database|settings|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3420" PostTypeId="2" ParentId="3419" CreationDate="2016-12-16T09:58:08.073" Score="14" Body="&lt;p&gt;Typically, a cleanup operation will remove data in invalid languages and items in orphaned trees. That means: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;all invalid language data (i.e. data for which the language does not exist) will be removed;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;all field data for non-existing items will be removed;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;orphaned items from the database will be removed;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;all caches will be cleared.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update :&lt;/strong&gt; &#xA;This code is triggered on last versions  : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     public override bool CleanupDatabase(CallContext context)&#xA;      {&#xA;       this.CleanupCyclicDependences();&#xA;       this.CleanupInvalidLanguageData();&#xA;       this.CleanupFields(context);&#xA;       this.CleanupOrphans();&#xA;       this.CleanupBlobs(context);&#xA;       this.CleanupOrphanFields(context);&#xA;       this.RebuildDescendants();&#xA;       CacheManager.ClearAllCaches();&#xA;       return true;&#xA;      }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2016-12-16T10:57:16.463" LastActivityDate="2016-12-16T10:57:16.463" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3421" PostTypeId="2" ParentId="3418" CreationDate="2016-12-16T10:09:57.660" Score="1" Body="&lt;p&gt;&lt;strong&gt;Field type validator:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;When you assign validations to a field, the changes you have made to the field affect all the forms on your website that use it. In addition to the default validations, you can also create your own custom field-type validations.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;What you did, is the validation for the Field Type not for a specific form. You can create predefined validations which is documented here - &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/set_up_and_create_a_formspecific_field_validation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/set_up_and_create_a_formspecific_field_validation&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Unfortunately this only allows you to put there regular expressions.&lt;/p&gt;&#xA;&lt;h3&gt;Suggested solution&lt;/h3&gt;&#xA;&lt;p&gt;I would create form verification which is called when the user submit the form.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UqSj8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UqSj8.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;After you created the new Form Verification item you can select this on the form.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9O6cL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9O6cL.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The implementation should look like something like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyProject&#xA;{&#xA;    public class KeyValidator : WffmCheckAction&#xA;    {&#xA;        public override void Execute(ID formid, IEnumerable&amp;lt;ControlResult&amp;gt; fields, ActionCallContext actionCallContext = null)&#xA;        {&#xA;            // here is your validation&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-16T10:38:18.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3422" PostTypeId="2" ParentId="3419" CreationDate="2016-12-16T10:38:45.553" Score="31" Body="&lt;p&gt;In a Sitecore 8, this will:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Cleanup CyclicDependences (items that couldn't be removed by CleanupOrphans because they have a parent but are not in the item tree)&lt;/li&gt;&#xA;&lt;li&gt;Cleanup InvalidLanguageData (remove all data from items in languages that are not defined as a valid language in the Sitecore system)&lt;/li&gt;&#xA;&lt;li&gt;Cleanup Fields (delete data from fields -SharedFields, UnversionedFields, VersionedFields- that have no related item anymore)&lt;/li&gt;&#xA;&lt;li&gt;Cleanup Orphans (delete items that have no parent anymore)&lt;/li&gt;&#xA;&lt;li&gt;Cleanup Blobs (delete blob fields that have no related field)&lt;/li&gt;&#xA;&lt;li&gt;Cleanup OrphanFields (clean the field data from the orphans removed in 4)&lt;/li&gt;&#xA;&lt;li&gt;RebuildDescendants&lt;/li&gt;&#xA;&lt;li&gt;Clear All Caches&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Might be a few things less in older versions, although I don't think it has changed a lot.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-12-16T10:38:45.553" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3423" PostTypeId="1" AcceptedAnswerId="3433" CreationDate="2016-12-16T11:04:02.427" Score="5" ViewCount="303" Body="&lt;p&gt;While reading &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3419/how-does-the-clean-up-databases-feature-work&quot;&gt;&lt;strong&gt;this&lt;/strong&gt;&lt;/a&gt; thread, I investigated if &quot;cleanup databases&quot; will trigger serialization  process. I checked log files and nothing related to serialization is logged?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@Dmytro suggested that Sitecore never triggers serialization process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does that mean someone who is using Unicorn will get those orphan trees and items back in the next sync? Is it better to reserialize in unicorn.aspx every time we did a database cleanup?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or does Unicorn pick up the database cleanup task and reserialize automatically?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-01-03T15:18:47.690" Title="Does Unicorn pick up database cleanup process and reserialize?" Tags="|unicorn|serialization|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3424" PostTypeId="2" ParentId="3347" CreationDate="2016-12-16T12:15:38.173" Score="1" Body="&lt;p&gt;I have followed the following steps to remove database switcher for particular account.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Login to Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Go to the desktop. Select core database. &lt;/li&gt;&#xA;&lt;li&gt;Go back to Launchpad.&lt;/li&gt;&#xA;&lt;li&gt;Go to Security Editor.&lt;/li&gt;&#xA;&lt;li&gt;Select the appropriate account on top.&lt;/li&gt;&#xA;&lt;li&gt;In content tree, go to content-&gt;Applications-&gt;Desktop-&gt;Tray-&gt;Database&lt;/li&gt;&#xA;&lt;li&gt;Select Denied access (x) on read.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It will remove the database switcher for a particular account while it will show for other accounts.&#xA;Look at the screenshot below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qBaOV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qBaOV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-12-16T12:15:38.173" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3425" PostTypeId="1" AcceptedAnswerId="3440" CreationDate="2016-12-16T13:50:51.460" Score="9" ViewCount="337" Body="&lt;p&gt;I am having this weird issue with lockResult.object carrying null/empty value for the &quot;identifier&quot; property. Though the lockedResult returns with &quot;success&quot; status and the contact has the identifier value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var currentContact = GetXdbContact(Email);&#xA;if (currentContact == null)&#xA;    return;&#xA;&#xA;var lockResult = XdbContactManager.TryLoadContact(currentContact.ContactId);&#xA;Contact updatedContact = currentContact;&#xA;switch (lockResult.Status)&#xA;{&#xA;    case LockAttemptStatus.Success:&#xA;        var lockedContact = lockResult.Object;&#xA;        lockedContact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;        updatedContact = UpdateContact(lockedContact);  //my custom method&#xA;        break;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private Contact GetXdbContact(string Email)&#xA;{&#xA;    var contact = _repository.LoadContactReadOnly(Email);&#xA;&#xA;    if (contact != null) return contact;&#xA;&#xA;    //If null, Identify the current session contact&#xA;    contact = Tracker.Current.Session.Contact;&#xA;    Tracker.Current.Session.Identify(Email);&#xA;&#xA;    if (contact == null) return null;&#xA;&#xA;    contact.Identifiers.AuthenticationLevel = AuthenticationLevel.None;&#xA;    contact.System.Classification = 0;&#xA;    contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;    contact.Identifiers.IdentificationLevel = ContactIdentificationLevel.Known;&#xA;    contact.Identifiers.Identifier = Email;&#xA;    contact.System.OverrideClassification = 0;&#xA;    contact.System.Value = 0;&#xA;    contact.System.VisitCount = 0;&#xA;    return contact;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, I noticed this is only happening every time I deploy binaries to website root and try to create a contact. Subsequent contacts creation is not having this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any pointers on why the identifier property is empty?&lt;/p&gt;&#xA;" OwnerUserId="354" LastEditorUserId="104" LastEditDate="2016-12-16T14:40:03.580" LastActivityDate="2016-12-16T20:25:44.960" Title="xDB lockedResult object has an empty identifier" Tags="|xdb|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="3426" PostTypeId="1" AcceptedAnswerId="3432" CreationDate="2016-12-16T14:48:43.723" Score="8" ViewCount="985" Body="&lt;p&gt;I am working on migrating an existing solution to Helix conventions. The existing solution has TDS projects for Master, Content and Media. How do I set up TDS projects in the newly refactored solution following Helix conventions?&lt;/p&gt;&#xA;" OwnerUserId="1301" LastActivityDate="2016-12-16T15:47:55.170" Title="How to create TDS projects in Helix setup?" Tags="|helix|tds|multisite|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3427" PostTypeId="1" CreationDate="2016-12-16T14:55:27.893" Score="1" ViewCount="122" Body="&lt;p&gt;I'm using MiniProfiler in a Sitecore project. I've set up MiniProfiler to ignore a bunch of sitecore specific paths, including &lt;code&gt;/sitecore/&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I left the page open for a while and after refreshing I see a bunch of entries on &lt;code&gt;/sitecore/service/keepalive.aspx&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H5JLp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H5JLp.png&quot; alt=&quot;screenshot of miniprofiler showing /sitecore/service/keepalive.aspx entries&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get MiniProfiler to ignore &lt;code&gt;/sitecore/service/keepalive.aspx&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I test that it's being ignored properly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, here's the relevant part of the &lt;code&gt;Global.asax.cs&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;protected void Application_Start(object sender, EventArgs e)&#xA;{&#xA;    InitMiniProfilerSettings();&#xA;}&#xA;&#xA;protected void Application_BeginRequest(object sender, EventArgs e)&#xA;{&#xA;    MiniProfiler.Start();&#xA;}&#xA;&#xA;protected void Application_EndRequest(object sender, EventArgs e)&#xA;{&#xA;    MiniProfiler.Stop();&#xA;}&#xA;&#xA;private static void InitMiniProfilerSettings()&#xA;{&#xA;    MiniProfiler.Settings.IgnoredPaths =&#xA;        MiniProfiler.Settings.IgnoredPaths&#xA;            .Append(&#xA;                &quot;WebResource.axd&quot;,&#xA;                &quot;/Styles/&quot;,&#xA;                &quot;.axd&quot;,&#xA;                &quot;.xml&quot;,&#xA;                &quot;.mp3&quot;,&#xA;                &quot;.flv&quot;,&#xA;                &quot;.js&quot;,&#xA;                &quot;.css&quot;,&#xA;                &quot;.gif&quot;,&#xA;                &quot;.png&quot;,&#xA;                &quot;.jpg&quot;,&#xA;                &quot;.woff&quot;,&#xA;                &quot;.ttf&quot;,&#xA;                &quot;sc_mode=edit&quot;,&#xA;                &quot;~/media&quot;,&#xA;                &quot;-/media&quot;,&#xA;                &quot;~/icon&quot;,&#xA;                &quot;/sitecore/&quot;&#xA;            )&#xA;            .ToArray();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;sub&gt;&lt;code&gt;Append&lt;/code&gt; is an extension method that concatenates the parameters on the provided enumerable.&lt;/sub&gt;&lt;/p&gt;&#xA;" OwnerUserId="286" LastEditorUserId="70" LastEditDate="2018-05-03T17:12:16.657" LastActivityDate="2018-05-03T17:12:16.657" Title="How to ignore (and test) /sitecore/service/keepalive.aspx in MiniProfiler" Tags="|performance-profiling|" AnswerCount="0" CommentCount="5" ClosedDate="2016-12-16T15:21:18.300" ContentLicense="CC BY-SA 3.0" />
  <row Id="3428" PostTypeId="1" AcceptedAnswerId="3438" CreationDate="2016-12-16T15:18:42.577" Score="5" ViewCount="780" Body="&lt;p&gt;We have a Sitecore 8.1 Update-3 instance.  We have created custom xDB facets.  We have a modal pop-up screen that a user can use to update their custom information.  This pop-up screen uses web service calls to pass the information back to the server to be saved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't figure out how to properly save the xDB data in the web service. I believe under normal conditions (like in code behind) if the current user is logged in then my code should update Tracker.Current.Contact with the information.  That way all of the contact info will be saved to xDB when the user's session ends. But since this code is running in a web service it doesn't have any access to Tracker.Current.Contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could save it directly to xDB using custom code.  But that won't work because I believe that when the person's session ends then the system will write their Tracker.Current.Contact to xDB and it will overwrite the previously saved information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how would I save this info to the person's contact record properly from a web service?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2016-12-16T19:24:14.950" Title="How to update a user's xDB contact in a web service call?" Tags="|xdb|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3429" PostTypeId="1" AcceptedAnswerId="3469" CreationDate="2016-12-16T15:35:05.200" Score="5" ViewCount="360" Body="&lt;p&gt;When browsing through the Habitat solution, I noticed that every project in the solution has a csproj.sitecore file (I assume this is for Sitecore Rocks?). So where we have &lt;code&gt;Sitecore.Feature.Media.csproj&lt;/code&gt; we also have &lt;code&gt;Sitecore.Feature.Media.csproj.sitecore&lt;/code&gt; this is repeated for every project in the solution as far as I can tell. This seems a bit unnecessary and is annoying when you want to change it to use a different connection as you then get prompted for every single project in the solution. Surely just one connection is enough?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2016-12-20T18:25:14.937" Title="Why does the Habitat sample solution have a Sitecore rocks connection for each project" Tags="|helix|sitecore-rocks|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3430" PostTypeId="2" ParentId="3428" CreationDate="2016-12-16T15:37:11.563" Score="2" Body="&lt;p&gt;I would recommend using a normal MVC controller (Not API controller). The MVC controller will see the user as the normal user via the tracker cookie in their browser. Then just set their details.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;public JsonResult SetUserContact(UserInfo userInfo)&#xA;{&#xA;    IContactPersonalInfo personalFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;    personalFacet.FirstName = UserInfo.FirstName;&#xA;    personalFacet.Surname = UserInfo.LastName;&#xA;&#xA;    IContactEmailAddresses addressesFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;    IEmailAddress address;&#xA;    if (!addressesFacet.Entries.Contains(&quot;work_email&quot;))&#xA;    {&#xA;        address = addressesFacet.Entries.Create(&quot;work_email&quot;);&#xA;        address.SmtpAddress = UserInfo.Email;&#xA;        addressesFacet.Preferred = &quot;work_email&quot;;&#xA;    }    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-12-16T15:37:11.563" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3431" PostTypeId="2" ParentId="3428" CreationDate="2016-12-16T15:41:25.920" Score="2" Body="&lt;p&gt;You can use &lt;code&gt;ContactManager&lt;/code&gt; for that, something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;&#xA;var lockAttemptResult = contactManager.TryLoadContact(contact.ContactId);&#xA;&#xA;   if(lockAttemptResult.Status == LockAttemptStatus.Success)&#xA;   {&#xA;          var lockedContact = lockAttemptResult.Object;&#xA;&#xA;          // edit contact&#xA;&#xA;          manager.FlushContactToXdb(contact);&#xA;          manager.SaveAndReleaseContactToXdb(contact);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but with such approach you will have to solve contact locking and session update. It is better to use regular controller and edit session contact.&lt;/p&gt;&#xA;" OwnerUserId="392" LastActivityDate="2016-12-16T15:41:25.920" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3432" PostTypeId="2" ParentId="3426" CreationDate="2016-12-16T15:47:55.170" Score="5" Body="&lt;p&gt;I tried to find a commit when Habitat when it used to be TDS (&lt;a href=&quot;https://github.com/Sitecore/Habitat&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/Habitat&lt;/a&gt;) to no avail. But what you want to do is create a TDS project for each Feature/Foundation/Project. In the same way that their is a Unicorn serialization folder for each Feature/Foundation/Project, you would do the same TDS. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-12-16T15:47:55.170" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3433" PostTypeId="2" ParentId="3423" CreationDate="2016-12-16T16:11:37.520" Score="6" Body="&lt;p&gt;I asked &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2594/unicorn-writing-to-disk-with-transparent-sync-off&quot;&gt;a similar question&lt;/a&gt; a little while back, about the interop between Sitecore and Unicorn on disk files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have &lt;code&gt;Transparent-Sync&lt;/code&gt; on or have your &lt;code&gt;Unicorn.DataProvider.config&lt;/code&gt; file configured, then there is a direct relation between Sitecore and the Unicorn serialization files on disk. If you update an item, in a part of Sitecore that is tracked, the changes will be written to disk. If you are not running &lt;code&gt;Transparent Sync&lt;/code&gt; or have your &lt;code&gt;Unicorn.DataProvider.config&lt;/code&gt; configured (in production scenario). When you run unicorn.aspx again, it move those items to the recycle bin, if they are new. And put them back, if they still exist on disk. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that helps.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-16T16:11:37.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3434" PostTypeId="1" AcceptedAnswerId="3435" CreationDate="2016-12-16T16:46:02.300" Score="4" ViewCount="1319" Body="&lt;p&gt;I just upgraded our Sitecore &lt;strong&gt;8.1&lt;/strong&gt; Update 2 install to Sitecore &lt;strong&gt;8.2&lt;/strong&gt; Update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our solution has utilized MVC bundling since we implemented it a year ago.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now -- after the upgrade -- bundling no longer works correctly.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;The following Nuget packages are installed:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Antlr 3.5.0.2 &lt;/li&gt;&#xA;&lt;li&gt;Newtonsoft.Json 9.0.2-beta1&lt;/li&gt;&#xA;&lt;li&gt;Microsoft.Web.Infrastructure 1.0.0&lt;/li&gt;&#xA;&lt;li&gt;Microsoft.AspNet.Web.Optimization 1.1.3&lt;/li&gt;&#xA;&lt;li&gt;WebGrease 1.6.0&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The namespaces in my Global.asax and Global.asax.cs match.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the head of my layout I have: &lt;code&gt;@Styles.Render(&quot;~/bundles/css&quot;)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In my &lt;em&gt;App_Start/BundleConfig.cs&lt;/em&gt; I have:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;bundles.Add(new StyleBundle(&quot;~/bundles/css&quot;).Include(&#xA;    &quot;~/assets/css/bootstrap.css&quot;,&#xA;    &quot;~/assets/css/bootstrap-select.css&quot;,&#xA;    &quot;~/assets/css/font-awesome.css&quot;,&#xA;    &quot;~/assets/css/slick.css&quot;,&#xA;    &quot;~/assets/css/app.css&quot;,&#xA;    &quot;~/assets/css/back-to-top.css&quot;&#xA;));&#xA;&#xA;bundles.Add(new ScriptBundle(&quot;~/bundles/js&quot;).Include(&#xA;    &quot;~/assets/js/navigation.js&quot;,&#xA;    &quot;~/assets/js/bootstrap.js&quot;,&#xA;    &quot;~/assets/js/bootstrap-select.js&quot;,&#xA;    &quot;~/assets/js/handlebars.js&quot;,&#xA;    &quot;~/assets/js/moment-with-locales.js&quot;,&#xA;    &quot;~/assets/js/lodash.js&quot;,&#xA;    &quot;~/assets/js/slick.js&quot;,&#xA;    &quot;~/assets/js/jquery.browser.js&quot;,&#xA;    &quot;~/assets/js/jquery.onmutate.js&quot;,&#xA;    &quot;~/assets/js/js.cookie.js&quot;,&#xA;    &quot;~/assets/js/main.js&quot;,&#xA;    &quot;~/assets/js/jquery.validate*&quot;,&#xA;    &quot;~/assets/js/marketo.js&quot;,&#xA;    &quot;~/assets/js/back-to-top.js&quot;&#xA;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I view source I see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no ?v=somerandomstring like one would normally see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same thing occurs on my JS bundle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I add &lt;code&gt;BundleTable.EnableOptimizations = false;&lt;/code&gt; to the end BundleConfig.cs file it has zero effect.   The same link gets written into the HTML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is driving me nuts.   Did something in 8.2 break bundling?&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;UPDATE:  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Removing the following from the Global.asax.cs file breaks the site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void Application_BeginRequest()&#xA;{&#xA;    Context.Items[&quot;Disable&quot;] = new VersionCountDisabler();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My guess is that it is expected code and that my patch is not working / in the right place:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;processor type=&quot;MySite.Presentation.Pipelines.HttpRequestBegin, MySite.Presentation&quot; patch:before=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel']&quot; /&amp;gt;&#xA;&amp;lt;/httpRequestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="369" LastEditorUserId="369" LastEditDate="2016-12-19T16:21:24.380" LastActivityDate="2017-07-14T11:59:18.617" Title="Is there something in Sitecore 8.2 that breaks bundling?" Tags="|bundling|" AnswerCount="1" CommentCount="10" ClosedDate="2016-12-19T13:35:18.720" ContentLicense="CC BY-SA 3.0" />
  <row Id="3435" PostTypeId="2" ParentId="3434" CreationDate="2016-12-16T16:55:58.747" Score="4" Body="&lt;p&gt;Global.asax is private in 8.2. You will need to move your global.asax code to an initialization pipeline. Thats why your app_start code isn't running.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace YourApp&#xA;{&#xA;    public class Initialize&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            // app start here&#xA;            AreaRegistration.RegisterAllAreas();&#xA;            BundleConfig.RegisterBundles(BundleTable.Bundles);&#xA;            if (!Tracker.IsActive)&#xA;            {&#xA;                Tracker.StartTracking();&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    public class VersionCount : HttpRequestProcessor&#xA;    {&#xA;        public override void Process(HttpRequestArgs args)&#xA;        {&#xA;            args.Context.Items[&quot;Disable&quot;] = new VersionCountDisabler();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then your config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourApp.Pipelines.Initialize.YourAppStart, YourApp&quot;&#xA;                  patch:before=&quot;processor[@type='Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&#xA;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourApp.Pipelines.Initialize.VersionCount, YourApp&quot;&#xA;                    patch:before=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other Global.asax functions &lt;a href=&quot;https://laubplusco.net/global-asax-sitecore-pipelines/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://laubplusco.net/global-asax-sitecore-pipelines/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="2095" LastEditDate="2017-07-14T11:59:18.617" LastActivityDate="2017-07-14T11:59:18.617" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="3436" PostTypeId="1" CreationDate="2016-12-16T18:39:33.323" Score="5" ViewCount="862" Body="&lt;p&gt;Sitecore content editor is displaying raw values of only some fields even though &lt;code&gt;Raw values&lt;/code&gt; is &lt;strong&gt;not&lt;/strong&gt; checked. This happening on only certain fields such as &lt;code&gt;Final rendering, Workflow, States and Default workflow&lt;/code&gt;. Other fields seems to be displaying normal rendered value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Functionality wise there are no broken links or rendering. I can go to the page and it renders and behave as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on how to troubleshoot this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c4ARX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c4ARX.png&quot; alt=&quot;raw values instead of rendering&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="1128" LastEditDate="2016-12-16T18:50:29.890" LastActivityDate="2017-01-29T18:41:14.633" Title="Raw field values in content editor" Tags="|content-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3437" PostTypeId="1" AcceptedAnswerId="3444" CreationDate="2016-12-16T19:18:33.640" Score="5" ViewCount="420" Body="&lt;p&gt;We are developing a Sitecore application and might need to install some Sitecore shared modules as we move forward. How best I should integrate the source code of these modules if needed? Do I create a separate project for each of these modules under Feature folder?  &lt;/p&gt;&#xA;" OwnerUserId="1301" LastEditorUserId="2727" LastEditDate="2018-03-03T15:06:31.957" LastActivityDate="2018-03-03T15:06:31.957" Title="How to integrate Sitecore Modules in Helix setup?" Tags="|helix|module|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3438" PostTypeId="2" ParentId="3428" CreationDate="2016-12-16T19:18:45.363" Score="5" Body="&lt;p&gt;Since you are sure that the contact is currently in a session, you should not read or write anything directly to and from the Collection Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should use the &lt;code&gt;ContactManager&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactManager contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;&#xA;LockAttemptResult&amp;lt;Contact&amp;gt; lockAttemptResult = contactManager.TryLoadContact(contactId);&#xA;&#xA;// the lock attempt will always be successful, no need to check the status&#xA;&#xA;Contact contact = lockAttemptResult.Object;&#xA;&#xA;// ... update the facets&#xA;&#xA;contactManager.SaveAndReleaseContact(contact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The method &lt;code&gt;SaveAndReleaseContact&lt;/code&gt; will release the contact back to the Shared Session. It will be saved to the Collection Database at the end of the session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that when you call &lt;code&gt;contactManager.TryLoadContact(...)&lt;/code&gt;, the method can only return an unsuccessful lock attempt when the contact is not in the Shared Session and it's being locked in the Collection DB. This is not the case here. Since the contact is already in the Shared Session, it will be successfully returned. If it's currently locked in the Shared Session by another thread, your current thread will just wait until it's released, and you'll be able to work with the contact.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-16T19:24:14.950" LastActivityDate="2016-12-16T19:24:14.950" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3439" PostTypeId="1" AcceptedAnswerId="3709" CreationDate="2016-12-16T19:51:08.493" Score="8" ViewCount="2320" Body="&lt;p&gt;I'm trying to setup Castle Windsor for Dependency Injection in Sitecore 8.2 Solution which is using Glass Mapper v4. As noted, Castle Windsor is no longer part of Glass Mapper, and thus not included. I added it manually, and have setup the Installer, the Windsor Controller Factory, and the Pipeline Initializer for Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Windsor Controller Factory:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Web.Plumbing&#xA;{&#xA;    public class WindsorControllerFactory : DefaultControllerFactory&#xA;    {&#xA;        private readonly IKernel kernel;&#xA;&#xA;        public WindsorControllerFactory(IKernel kernel)&#xA;        {&#xA;            this.kernel = kernel;&#xA;        }&#xA;&#xA;        public override void ReleaseController(IController controller)&#xA;        {&#xA;            kernel.ReleaseComponent(controller);&#xA;        }&#xA;&#xA;&#xA;        protected override IController GetControllerInstance(RequestContext requestContext, Type controllerType)&#xA;        {&#xA;            if (controllerType == null)&#xA;            {&#xA;                throw new HttpException(404, string.Format(&quot;The controller for path '{0}' could not be found.&quot;, requestContext.HttpContext.Request.Path));&#xA;            }&#xA;            return (IController)kernel.Resolve(controllerType);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Installer:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Web.Installers&#xA;{&#xA;    public class ControllersInstaller : IWindsorInstaller&#xA;    {&#xA;        public void Install(IWindsorContainer container, IConfigurationStore store)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Info(&quot;Windsor installer got registered&quot;, this);&#xA;&#xA;            container.Register(Classes.FromThisAssembly().BasedOn&amp;lt;IController&amp;gt;().LifestyleTransient());&#xA;&#xA;            container.Register(Component.For&amp;lt;IService&amp;gt;().ImplementedBy&amp;lt;CommonService&amp;gt;());&#xA;&#xA;        }&#xA;&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Pipeline to Initialize:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Web.Pipelines&#xA;{&#xA;    public class InitializeWindsorControllerFactory&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            IWindsorContainer container = new WindsorContainer().Install(FromAssembly.This());&#xA;            IControllerFactory controllerFactory = new WindsorControllerFactory(container.Kernel);&#xA;            SitecoreControllerFactory sitecoreControllerFactory = new SitecoreControllerFactory(controllerFactory);&#xA;            System.Web.Mvc.ControllerBuilder.Current.SetControllerFactory(sitecoreControllerFactory);&#xA;        }&#xA;&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;And finally, the config to add to pipeline&lt;/strong&gt; &lt;em&gt;(I just incidentally used glass mapper's patch file to see if it would work)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;    &#xA;        &#xA;            &#xA;                &#xA;        &#xA;            &#xA;        &#xA;    &#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My Controller is setup as such:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Web.Areas.CastleTest.Controllers&#xA;{&#xA;    public class TestController : Controller&#xA;    {&#xA;        ISitecoreContext _context;&#xA;        ISitecoreService _master;&#xA;        IService _service;&#xA;&#xA;        public ActionResult Index()&#xA;        {&#xA;            return View();&#xA;        }&#xA;&#xA;        public TestController(IService srv, ISitecoreContext context, ISitecoreService service)&#xA;        {&#xA;            _service = srv;&#xA;            _context = context;&#xA;            _master = service;&#xA;        }&#xA;&#xA;&#xA;&#xA;&#xA;        public ActionResult CtrlTest()&#xA;        {&#xA;            var model = _context.GetItem&amp;lt;TestTemplate&amp;gt;(RenderingContext.CurrentOrNull.Rendering.DataSource);&#xA;&#xA;            return View(model);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The files are definitely getting patched, and the controller factory is definitely getting initialized. The error I am getting is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[MissingMethodException: Constructor on type 'Web.Areas.CastleTest.Controllers.TestController' not found.]&#xA;   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp;amp; stackMark) +1481&#xA;   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +191&#xA;   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +27&#xA;   Sitecore.Mvc.Helpers.TypeHelper.CreateObject(Type type, Object[] parameters) +44&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateControllerInstance(RequestContext requestContext, String controllerName) +213&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName) +96&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have the feeling that Sitecore is not using WindsorControllerFactory to resolve the controllers. I know there are other ways to replace the default DI container in 8.2, but I need to use the pipeline for now, because I am really trying to debug this for another solution.&lt;/p&gt;&#xA;" OwnerUserId="407" LastActivityDate="2017-01-07T19:39:10.937" Title="Castle Windsor on Sitecore 8.2 using Glass Mapper v4" Tags="|glass-mapper|dependency-injection|pipelines|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3440" PostTypeId="2" ParentId="3425" CreationDate="2016-12-16T20:25:44.960" Score="3" Body="&lt;h2&gt;Analysis and explanation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are several scenarios that may occur in the code you have posted. Below, I will only analyze the scenario that will lead to the problem you are experiencing.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Contact &lt;strong&gt;A&lt;/strong&gt; is found in the Collection database by its email address:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contact = _repository.LoadContactReadOnly(Email);&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;It is returned from the method &lt;code&gt;GetXdbContact&lt;/code&gt; and saved to the variable &lt;code&gt;currentContact&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Contact &lt;strong&gt;B&lt;/strong&gt; is loaded by its ID. It is then available as &lt;code&gt;lockResult.Object&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;lockResult = XdbContactManager.TryLoadContact(currentContact.ContactId);&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;As you can see, it is very possible that you can load two different contacts: one by its Email, the other by its ID. While contact &lt;strong&gt;A&lt;/strong&gt; is guaranteed to have an identifier (that's how you found it), contact &lt;strong&gt;B&lt;/strong&gt; may well be unidentified. Obviously, the two contacts in this scenario will be completely unrelated to each other.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Suggested solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From your code, I can deduce that you are trying to update some contact fields without knowing whether the contact currently has a live session. I propose the following approach to this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, create a method that updates a given contact's fields, and does nothing else. We'll use this method to work with contacts that come from the session, from the tracker, or from the database.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void UpdateContactData(Contact contact)&#xA;{&#xA;    // set contact fields, facets, etc.&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, in a more or less reliable way, you can use the following method to find the contact by its identifier, update its fields, and put it back to whatever storage we found it in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;void UpdateContact(string identifier, Action&amp;lt;Contact&amp;gt; updateMethod)&#xA;{&#xA;    var contactRepository = (ContactRepositoryBase)Factory.CreateObject(&quot;contactRepository&quot;, true);&#xA;    var sharedSessionManager = (SharedSessionStateManager)Factory.CreateObject(&quot;tracking/sharedSessionState/manager&quot;, true)&#xA;&#xA;    if (Tracker.Current.Contact != null &amp;amp;&amp;amp; Tracker.Current.Contact.Identifiers.Identifier == identifier)&#xA;    {&#xA;        // The current contact is the one we need to update.&#xA;        updateMethod(Tracker.Current.Contact);&#xA;    }&#xA;    else&#xA;    {&#xA;        // Find out if a contact with the given identifier exists in the database.&#xA;        Contact databaseContact = contactRepository.LoadContactReadOnly(identifier);&#xA;&#xA;        if (databaseContact != null)&#xA;        {&#xA;            Guid contactId = databaseContact.ContactId;&#xA;&#xA;            // Try to load the contact from the Shared Session.&#xA;            Contact sessionContact = sharedSessionManager.LockAndLoadContact(contactId);&#xA;&#xA;            if (sessionContact != null)&#xA;            {&#xA;                // Update this contact and release it back to the Shared Session.&#xA;                updateMethod(sessionContact);&#xA;&#xA;                sharedSessionManager.SaveAndReleaseContact(sessionContact);&#xA;            }&#xA;            else&#xA;            {&#xA;                // In this branch, we know that the contact we need exists in the database, but it's not locked by our cluster.&#xA;                // We'll try to lock it and update its data.&#xA;                LeaseOwner leaseOwner = new LeaseOwner(&quot;SOME_UNIQUE_WORKER_NAME&quot;, LeaseOwnerType.OutOfRequestWorker);&#xA;                LockAttemptResult&amp;lt;Contact&amp;gt; lockResult = contactRepository.TryLoadContact(identifier, leaseOwner, TimeSpan.FromMinutes(1));&#xA;&#xA;                if (lockResult.Status == LockAttemptStatus.Success)&#xA;                {&#xA;                    // Update the contact and release it to the Collection DB.&#xA;                    updateMethod(lockResult.Object);&#xA;&#xA;                    var options = new ContactSaveOptions(release: true, owner: leaseOwner);&#xA;                    contactRepository.SaveContact(lockResult.Object, options);&#xA;                }&#xA;                else&#xA;                {&#xA;                    // Log the inability to lock the contact.&#xA;                    // Decide what else you want to do in that case.&#xA;                }&#xA;            }&#xA;        }&#xA;        else&#xA;        {&#xA;            // In this branch, we know that the contact with the provided identifier does not exist yet.&#xA;            // You will have to decide what to do in that case. Below is an example where you identify the current contact.&#xA;&#xA;            Tracker.Current.Session.Identify(identifier);&#xA;            updateMethod(Tracker.Current.Contact);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's how you can use this method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string identifier = &quot;some.contact@identifier.com&quot;;&#xA;&#xA;UpdateContact(identifier, UpdateContactData);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-16T20:25:44.960" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3441" PostTypeId="2" ParentId="3437" CreationDate="2016-12-16T21:39:21.683" Score="1" Body="&lt;p&gt;I would say that modules by itself should follow Helix principles. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would not try to make them Helix compatible without any reason.&#xA;What is the profit of doing it in your case?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Personally, I don't see any value in moving items in content while the code is not respecting Helix principles. Messing with modules items/code will only make things harder when the time for an upgrade will come.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-12-16T21:39:21.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3442" PostTypeId="1" AcceptedAnswerId="3443" CreationDate="2016-12-16T22:09:34.023" Score="2" ViewCount="240" Body="&lt;p&gt;I have a client who would like to use spanish language urls.  In other words they would like to have www.mydomain.com/los-miembros for the spanish version of www.mydomain.com/members.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have guidance as to how to accomplish this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2.1&lt;/p&gt;&#xA;" OwnerUserId="426" LastActivityDate="2016-12-16T22:57:27.520" Title="Spanish Language Text In Url" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ClosedDate="2016-12-17T01:18:15.497" ContentLicense="CC BY-SA 3.0" />
  <row Id="3443" PostTypeId="2" ParentId="3442" CreationDate="2016-12-16T22:52:10.213" Score="3" Body="&lt;p&gt;Set the &lt;code&gt;useDisplayName&lt;/code&gt; attribute on your Link Provider to true.  Then you can translate the display names for you items.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;linkManager&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;sitecore&quot; set:useDisplayName=&quot;true&quot;/&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This was also answered on SO by jammykam: &lt;a href=&quot;https://stackoverflow.com/a/36941965/2911685&quot;&gt;https://stackoverflow.com/a/36941965/2911685&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-16T22:57:27.520" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3444" PostTypeId="2" ParentId="3437" CreationDate="2016-12-16T22:55:59.517" Score="4" Body="&lt;p&gt;It depend on modules usage. For examples: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) if you need to set up Wildcard module:&lt;br&gt;&#xA;   In this way if you have for example breadcrumb feature or for example some   search feature should return wildcard specified url you might be able to add your module references to the feature. So in this case the good place would be the foundation layer. Because of direction of dependencies in Helix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) If you need to set up WFFM module:&lt;br&gt;&#xA;   This is the same like we have for wildcard module. You can have some feature which contain a big form. As well as for wilcard module the best place for WFFM would be the foundation layer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same for the EXM module. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So as you can see if you need to extend Sitecore Module functionality or use Sitecore Module in another Helix-modules the best way to put it to foundation layer. I think it makes sense because this is something stable and do not depend on another Helix-modules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check it for Habitat here: &lt;a href=&quot;http://habitat.sitecore.net/Modules/Foundation/Sitecore-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat foundation layer&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1008" LastActivityDate="2016-12-16T22:55:59.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3445" PostTypeId="1" AcceptedAnswerId="3446" CreationDate="2016-12-16T23:07:03.500" Score="7" ViewCount="7438" Body="&lt;p&gt;In the Control Panel, there is a &quot;Rebuild link database&quot; button. How does it work? What operations are carried out during a link database rebuild?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RH84D.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RH84D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="73" LastEditDate="2016-12-16T23:41:35.853" LastActivityDate="2020-07-09T06:23:44.673" Title="How does the “Rebuild link database” feature work?" Tags="|link-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3446" PostTypeId="2" ParentId="3445" CreationDate="2016-12-16T23:27:35.570" Score="10" Body="&lt;p&gt;Retrieved from the SDN &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Links%20Database.aspx&quot; rel=&quot;noreferrer&quot;&gt;site&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the Links Database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Sitecore maintains a table named Links in the database specified in the LinkDatabase section of web.config.  This table provides a logical links database for all other databases – the links tables in the other databases are empty by default.  Data is exposed through the Sitecore.Links.ItemLink class.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;No matter how many databases are processed to create the links database, all entries are stored in a single table in the database&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The rebuild process will essentially update those records. &lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-07-13T12:25:36.900" LastActivityDate="2017-07-13T12:25:36.900" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3447" PostTypeId="1" AcceptedAnswerId="3457" CreationDate="2016-12-17T04:43:24.700" Score="17" ViewCount="5252" Body="&lt;p&gt;I'm aware of and have successfully used the AD module for numerous Sitecore implementations but I have a requirement to support SAML so that a non-AD based authentication provider can be used. Does Sitecore support SAML? If not, are there modules that would allow me to connect to various SSO providers?&lt;/p&gt;&#xA;" OwnerUserId="98" LastActivityDate="2018-08-28T08:01:02.033" Title="Does Sitecore support SAML?" Tags="|security|authentication|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3449" PostTypeId="2" ParentId="3403" CreationDate="2016-12-17T11:02:17.467" Score="1" Body="&lt;p&gt;I have compared your rich text editor request with my local setup. It seems the Sitecore path is missing in the request that you have mentioned. Your request:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http:/site.com/sitecore/shell/Controls/Rich %20Text%20Editor/EditorPage.aspx?da=core&amp;amp;id=%7B04733BD9-54B4-45F2-8661-EF964BCAA 7E6%7D&amp;amp;ed=FIELD98016355&amp;amp;vs&amp;amp;la=en&amp;amp;fld=%7B217FDF39-763D-4E3D-8193-B8929DF02D00%7D&amp;amp; so&amp;amp;di=0&amp;amp;hdl=H98016451&amp;amp;mo&amp;amp;pe=0&amp;amp;fbd=&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My rich text editor's request captured through Fiddler (notice the path):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http:/localstepup/sitecore/shell/Controls/Rich%20Text%20Editor/EditorPage.aspx?da=core&amp;amp;id=%7B110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9%7D&amp;amp;ed=FIELD23519447&amp;amp;vs&amp;amp;la=en&amp;amp;fld=%7BA60ACD61-A6DB-4182-8329-C957982CEC74%7D&amp;amp;so**=%2Fsitecore%2Fsystem%2FSettings%2FHtml%20Editor%20Profiles%2FRich%20Text%20Default**&amp;amp;di=0&amp;amp;hdl=H23519458&amp;amp;mo&amp;amp;pe=0&amp;amp;fbd=1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="891" LastEditorUserId="121" LastEditDate="2016-12-17T20:37:22.577" LastActivityDate="2016-12-17T20:37:22.577" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3450" PostTypeId="1" AcceptedAnswerId="3770" CreationDate="2016-12-17T15:01:04.357" Score="6" ViewCount="2587" Body="&lt;p&gt;In Sitecore habitat project, I am running task '05-Sync-Unicorn' in VS task running explorer but it does nothing and just displays &quot;Starting '05-Sync-Unicorn'&quot; in console (even doesn't produce any error in console). &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What can be the possible reasons?&lt;/li&gt;&#xA;&lt;li&gt;Where can I see GULP tasks log in VS?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="247" LastEditDate="2017-04-16T16:49:11.383" LastActivityDate="2017-04-16T16:49:11.383" Title="Sitecore Habitat - GULP is not running sync unicorn task and neither giving any error" Tags="|unicorn|gulp|habitat|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="3451" PostTypeId="2" ParentId="3405" CreationDate="2016-12-17T19:28:59.147" Score="8" Body="&lt;p&gt;I think you should Try disabling .config file of any additional modules in your Sitecore instance. Since it's possible that some module is built by old &lt;code&gt;WebEditCommand&lt;/code&gt; which was in &lt;code&gt;Sitecore.Client.dll&lt;/code&gt; whereas in Sitecore 8 it's moved in &lt;code&gt;Sitecore.ExperienceEditor.dll&lt;/code&gt; as suggested here &lt;a href=&quot;https://sitecore.stackexchange.com/a/2464/172&quot;&gt;https://sitecore.stackexchange.com/a/2464/172&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-17T19:28:59.147" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3452" PostTypeId="2" ParentId="3447" CreationDate="2016-12-18T00:15:18.987" Score="12" Body="&lt;p&gt;It might. There is a company claiming to have an option for it, but there is no direct download link and no way to easily verify the claim.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.ssoeasy.com/sitecore-sso/&quot; rel=&quot;noreferrer&quot;&gt;https://www.ssoeasy.com/sitecore-sso/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That said; you might be better off, going through something like Gigya. Not only will you get SAML, but Gigya opens up for a host of other authentication modes and options. And there is a tested and supported Gigya module for Sitecore. This also satisfies your requirement for a module that allows you to connect to various SSO providers.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/G/GigyaSitecore_Connector.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/G/GigyaSitecore_Connector.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am not too familiar with the specifics of SAML myself, but here is the main entry point to Gigya/SAML documentation to give you an overview.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://developers.gigya.com/display/GD/SAML&quot; rel=&quot;noreferrer&quot;&gt;http://developers.gigya.com/display/GD/SAML&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-12-18T00:15:18.987" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3453" PostTypeId="1" AcceptedAnswerId="3473" CreationDate="2016-12-18T10:30:40.983" Score="5" ViewCount="2004" Body="&lt;p&gt;I am done with unicorn sync using gulp task provided in Sitecore habitat sample project. I need some clarification on below points.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;As per my understating, if transparent Sync is enabled then auto sync (filesystem to sitecore) will happen but not auto serialization (Sitecore to filesystem). Is this possible to auto serialize too?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If I create a new item in Sitecore, will transparent Sync delete that item in sync process as it wont be available in file system till I serialize because the disk is considered the master at all times?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In sync process performed by gulp task in habitat sample project, it has synced the items in master and web both databases. Can I stop syncing to web automatically as I would prefer to publish in web database using Sitecore publish?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="73" LastEditDate="2016-12-18T10:45:14.837" LastActivityDate="2016-12-19T20:06:44.340" Title="Using Unicorn Transparent Sync" Tags="|helix|unicorn|gulp|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3454" PostTypeId="1" AcceptedAnswerId="3456" CreationDate="2016-12-18T12:44:22.627" Score="6" ViewCount="899" Body="&lt;p&gt;I have upgraded my Sitecore solution from 7.5 to 8.1 update 1. When trying to rebuild the Reporting database, I am getting the following error in the log files:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;7084 2016:12:18 05:26:24 ERROR Exception when executing agent aggregation/rebuildAgent&#xA;Exception: System.InvalidOperationException&#xA;Message: Cannot initialize when there is work to do&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.IsFalse(Boolean condition, String message)&#xA;   at Sitecore.Analytics.RangeScheduler.MongoDbRangeMap.Initialize(Guid left, Guid right, Int64 count)&#xA;   at Sitecore.Analytics.Automation.Aggregation.Data.Processing.AutomationHistoryAggregatorManager.Start(List`1 targetProvidersConfigPaths)&#xA;   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()&#xA;   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&#xA;   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)&#xA;   at Sitecore.Analytics.Aggregation.History.ReportingStorageManager.ProcessRebuild()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas how to solve this?&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="104" LastEditDate="2016-12-21T09:13:59.087" LastActivityDate="2016-12-21T12:48:33.617" Title="Error when rebuilding the Reporting database: &quot;Cannot initialize when there is work to do&quot;" Tags="|xdb|aggregation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3456" PostTypeId="2" ParentId="3454" CreationDate="2016-12-18T19:19:39.523" Score="4" Body="&lt;p&gt;This error means there is some unfinished work remaining from previous rebuilds or other data processing operations. There are two ways to fix this:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Cautious approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The cleanest way is to investigate your logs for errors that prevent the work from being completed. If you find anything, please create a separate question, since it'll be about a concrete data processing issue in your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you fix the issues, the work will be finished and you'll be able to run a Reporting DB rebuild.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Radical approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you can't find any issues with data processing, or if don't care about any unfinished data processing work -&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Back up the MongoDB database corresponding to the &lt;code&gt;analytics&lt;/code&gt; connection string in your &lt;code&gt;ConnectionStrings.config&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Drop the &lt;code&gt;RangeMaps&lt;/code&gt; collection if it exists:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;If you have a standalone database instance, just call this command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.RangeMaps.drop()&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If the &lt;code&gt;RangeMaps&lt;/code&gt; collection is sharded, you'll need to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9845&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;unshard&lt;/strong&gt;&lt;/a&gt; it before dropping.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Drop all &lt;code&gt;Range_*&lt;/code&gt; collections in the same way as you dropped &lt;code&gt;RangeMaps&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Drop the &lt;code&gt;AutomationRanges&lt;/code&gt; collection.&lt;/li&gt;&#xA;&lt;li&gt;Drop the &lt;code&gt;HistoryTasks&lt;/code&gt; collection.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-21T12:48:33.617" LastActivityDate="2016-12-21T12:48:33.617" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3457" PostTypeId="2" ParentId="3447" CreationDate="2016-12-18T19:55:00.547" Score="17" Body="&lt;p&gt;This will be natively supported in Sitecore 9.0, according to the public roadmaps. For now a solution might be to use this module: &lt;a href=&quot;https://github.com/BasLijten/SitecoreFederatedLogin&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/BasLijten/SitecoreFederatedLogin&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See my blog on how to achieve this with Sitecore 9.0: &lt;a href=&quot;https://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I explained completely how this works in my blogpost on federated authentication for Sitecore 8.x: &lt;a href=&quot;https://blog.baslijten.com/how-to-add-federated-authentication-with-sitecore-and-owin/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.baslijten.com/how-to-add-federated-authentication-with-sitecore-and-owin/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="71" LastEditorUserId="71" LastEditDate="2018-08-28T08:01:02.033" LastActivityDate="2018-08-28T08:01:02.033" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="3458" PostTypeId="2" ParentId="3453" CreationDate="2016-12-18T21:05:17.430" Score="4" Body="&lt;p&gt;With transparent sync, the file system becomes the record for Sitecore. It treats the file system like the master database. For items and children that are monitored by transparent sync, if you create an item, TS will add it to the file system. If you delete an item from disk, it will be deleted from Sitecore. If you delete an item from Sitecore, it gets deleted from disk. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The file system becomes the same thing as the database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per Kam's link. &lt;a href=&quot;http://kamsar.net/index.php/2015/10/Unicorn-Introducing-Transparent-Sync/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://kamsar.net/index.php/2015/10/Unicorn-Introducing-Transparent-Sync/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Transparent Sync enables Unicorn to sync serialized items in real time, completely automatically. It does this by using its data provider to directly read the serialized items and inject them into the Sitecore content tree. The items on disk are the items in Sitecore: it bypasses the database entirely for transparently synced items. Changes made on disk update nearly instantly in the Sitecore editing interfaces.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="432" LastActivityDate="2016-12-18T21:05:17.430" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="3459" PostTypeId="1" AcceptedAnswerId="3467" CreationDate="2016-12-18T21:30:07.507" Score="3" ViewCount="398" Body="&lt;p&gt;I am trying to override the &lt;code&gt;numberOfResults&lt;/code&gt; property in Coveo Search UI before initializing, but doesn't seem to take affect. What could I be doing wrong?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Coveo.$('#@Model.Id').on(&quot;buildingQuery&quot;, function(e, args) {&#xA; if(overrideNumberOfResults){&#xA;  args.queryBuilder.numberOfResults= 40;&#xA;  console.log(args.queryBuilder); //shows correct value of 40&#xA; }&#xA;}).coveoForSitecore(&quot;init&quot;, CoveoForSitecore.componentsOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Incorrect value when sent to service call. Shows 20 instead of 40.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7zEep.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7zEep.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="73" LastEditDate="2016-12-19T01:37:40.663" LastActivityDate="2017-10-02T14:50:40.577" Title="CoveoForSitecore how to override numberOfResults property" Tags="|coveo|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3461" PostTypeId="1" AcceptedAnswerId="3462" CreationDate="2016-12-19T05:33:31.460" Score="7" ViewCount="552" Body="&lt;p&gt;I am trying to configure listing component for example Event list of SXA with pagination, but I am unable to understand the usage of signature field.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;List Signature - Signature is used to pair list with pagination component&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What is this field used for?&lt;/p&gt;&#xA;" OwnerUserId="1306" LastEditorUserId="70" LastEditDate="2016-12-19T13:51:59.810" LastActivityDate="2016-12-19T13:51:59.810" Title="How to set signature field in pagination &amp; listing components of SXA?" Tags="|configuration|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3462" PostTypeId="2" ParentId="3461" CreationDate="2016-12-19T07:34:32.530" Score="3" Body="&lt;p&gt;If you want to use &lt;strong&gt;Pagination&lt;/strong&gt; with &lt;strong&gt;Page List&lt;/strong&gt; or any other &lt;strong&gt;Paginable&lt;/strong&gt; rendering:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;EventList&lt;/li&gt;&#xA;&lt;li&gt;FileList&lt;/li&gt;&#xA;&lt;li&gt;PageList&lt;/li&gt;&#xA;&lt;li&gt;EventCalendar&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;simply parse selected rendering with &lt;strong&gt;List Signature&lt;/strong&gt; rendering parameter&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mCOyH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mCOyH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SXA 1.1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems right now Pagination rendering works with Page List only so you cannot use it with different renderings (I've got errors on my instance).&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2016-12-19T08:45:30.667" LastActivityDate="2016-12-19T08:45:30.667" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3463" PostTypeId="1" AcceptedAnswerId="3471" CreationDate="2016-12-19T10:03:13.920" Score="13" ViewCount="560" Body="&lt;p&gt;Is it possible to change how TDS decides which items should be added to a TDS Delta Package? At the moment TDS looks at the Updated date of the item but we would like to be able to supply a manifest of items to TDS based on source control check-ins or other criteria. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone customised TDS in this way?&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-04-05T13:44:34.713" Title="Custom TDS Delta Packages" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3464" PostTypeId="2" ParentId="3396" CreationDate="2016-12-19T11:26:32.177" Score="3" Body="&lt;p&gt;An alternative would be a custom Data Mapper that replaces the standard SitecoreFieldImageMapper. You could then set a default image for every empty field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I think that a custom extension to GlassHtml, e.g RenderImageWithPlaceholder, would be a better solution.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2016-12-19T11:26:32.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3466" PostTypeId="1" CreationDate="2016-12-19T12:19:34.190" Score="1" ViewCount="267" Body="&lt;p&gt;In Solr GUI I am seeing that when I am in the  analyzer tab, it is removing stop words and returning results. But when I try to retrieve same result using the Sitecore search API it is not removing stop words and returning results. &#xA;Could someone please assist me in how I can return results with Sitecore api which removes stop words?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is my api call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ISearchIndex searchIndex = ContentSearchManager.GetIndex(IndexName);&#xA;IProviderSearchContext searchContext = searchIndex.CreateSearchContext();&#xA;filteredItem = searchContext.GetQueryable&amp;lt;SearchResult&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1308" LastEditorUserId="1671" LastEditDate="2019-03-28T16:17:34.380" LastActivityDate="2024-01-02T17:05:00.517" Title="How to use Sitecore API to return result which removes Solr stopwords?" Tags="|solr|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="3467" PostTypeId="2" ParentId="3459" CreationDate="2016-12-19T12:44:41.890" Score="3" Body="&lt;p&gt;Since the Pager listens to the &lt;code&gt;buildingQuery&lt;/code&gt; event (&lt;a href=&quot;https://developers.coveo.com/x/bYGfAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;according to this&lt;/a&gt;), it is probably the one overriding the query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try setting it in the &lt;code&gt;doneBuildingQuery&lt;/code&gt; event instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, if you &lt;em&gt;don't&lt;/em&gt; want a dynamic number of results and only want to set a result per page different from the OOTB offering, you can set it in the &lt;a href=&quot;https://developers.coveo.com/x/PgHvAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;Coveo Search component properties&lt;/a&gt; with the &lt;code&gt;Number of results per page&lt;/code&gt; property in the &lt;code&gt;Paging&lt;/code&gt; section. It can also &lt;a href=&quot;https://coveo.github.io/search-ui/components/searchinterface.html#options.resultsperpage&quot; rel=&quot;nofollow noreferrer&quot;&gt;be set directly in the markup&lt;/a&gt; of the &lt;code&gt;CoveoSearchInterface&lt;/code&gt; using &lt;code&gt;data-results-per-page='10'&lt;/code&gt;, but this approach that would require you to &lt;a href=&quot;https://developers.coveo.com/x/qADvAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;duplicate the search component&lt;/a&gt; since you are modifying the file and don't want your changes to be overridden. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, it might not be the case, but if you are trying to create your own &lt;a href=&quot;https://coveo.github.io/search-ui/components/resultsperpage.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;ResultPerPage component&lt;/a&gt;, Coveo for Sitecore started bundling one OOTB with the 4.0.450 version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Simply add this tag in your CoveoSearchInterface:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;CoveoResultsPerPage&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="290" LastEditorUserId="264" LastEditDate="2017-10-02T14:50:40.577" LastActivityDate="2017-10-02T14:50:40.577" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3468" PostTypeId="1" CreationDate="2016-12-19T13:05:01.603" Score="6" ViewCount="1239" Body="&lt;p&gt;When running any page in Experience Editor or Preview, Sitecore never finishes loading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've recently upgraded from Sitecore 7.2 to 8.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;sc-progressindicator-inner&lt;/code&gt; (which is visible in the image below) doesn't go away. And everything on the page is unclickable. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lvZRp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lvZRp.png&quot; alt=&quot;loader&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing that Sitecore doesn't finish loading it's scripts. I only get this error in the Console log:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WwMCz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WwMCz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Google Chrome, the old 7.2 version still works in the same browser. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what prevents the scripts from loading?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm sorry I can't give more details but that's the problem, I have nothing else to go on myself.&lt;/p&gt;&#xA;" OwnerUserId="756" LastEditorUserId="70" LastEditDate="2016-12-19T13:51:11.333" LastActivityDate="2017-03-22T22:12:13.090" Title="Experience editor/Preview doesn't load Scripts. Sitecore 8.2" Tags="|experience-editor|speak|" AnswerCount="1" CommentCount="4" ClosedDate="2017-03-22T22:20:50.183" ContentLicense="CC BY-SA 3.0" />
  <row Id="3469" PostTypeId="2" ParentId="3429" CreationDate="2016-12-19T13:39:40.537" Score="6" Body="&lt;p&gt;This is actually done by design. If you read &lt;a href=&quot;http://helix.sitecore.net/principles/visual-studio/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/visual-studio/index.html&lt;/a&gt;. You will see that by having one Sitecore Rocks reference, it would create one huge reference, not allowing for the projects to be opened separately. This goes against the approach that Habitat is promoting of &quot;your architecture should always have higher priority than any tools or technology&quot;. If we were to take the Habitat design approach and implement it into a large scale enterprise environment, with 60 modules, Visual Studio solution would become sluggish. Habitat is promoting separation of concerns into groupings of business functions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve your specific need of connecting to the full Sitecore instance in a single instance Sitecore Rocks connection, you can still do that while leaving the other csproj.sitecore files in tact.&lt;/p&gt;&#xA;" OwnerUserId="1192" LastEditorUserId="1192" LastEditDate="2016-12-20T18:25:14.937" LastActivityDate="2016-12-20T18:25:14.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3471" PostTypeId="2" ParentId="3463" CreationDate="2016-12-19T15:21:58.587" Score="16" Body="&lt;p&gt;In your project, override the behavior of the follow MSBuild task.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Target Name=&quot;GetCullItemsFromProjectParameters&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By default, this is what TDS is doing (as seen in the .targets file)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;CullItemsFromProjectClass Condition=&quot; '$(IncludeItemsChangedAfter)' != ''&quot;&amp;gt;HedgehogDevelopment.SitecoreProject.Tasks.Filters.CullItemsFromProjectByUpdateDate, HedgehogDevelopment.SitecoreProject.Tasks&amp;lt;/CullItemsFromProjectClass&amp;gt;&#xA;&amp;lt;CullItemsFromProjectParameters&amp;gt;$(IncludeItemsChangedAfter)&amp;lt;/CullItemsFromProjectParameters&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Override this with your own functionality that implements&#xA;'True' CI with Delta packages would mean extracting the list of .item files that were edited in your branch since the cutoff for the last deployment.&#xA;This would have to include all items edited before the last deployment....but were added, edited or merged into the branch since that last cutoff.&#xA;You might need to:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;pre-build a list that connects to source control and extracts the list of these files&lt;/li&gt;&#xA;&lt;li&gt;in your item culling code, read from that list, and only include them in the delta package&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;An example of how I've done this for Git can be found here:-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.seanholmesby.com/true-delta-deploys-with-tds-classic/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.seanholmesby.com/true-delta-deploys-with-tds-classic/&lt;/a&gt;&#xA;&lt;a href=&quot;https://github.com/SaintSkeeta/TDS.BuildExtensions.GitDeltaDeploy&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SaintSkeeta/TDS.BuildExtensions.GitDeltaDeploy&lt;/a&gt;&#xA;&lt;a href=&quot;https://www.nuget.org/packages/Hedgehog.TDS.BuildExtensions.GitDeltaDeploy&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nuget.org/packages/Hedgehog.TDS.BuildExtensions.GitDeltaDeploy&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="418" LastEditorUserId="418" LastEditDate="2017-04-05T13:44:34.713" LastActivityDate="2017-04-05T13:44:34.713" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3472" PostTypeId="1" AcceptedAnswerId="3494" CreationDate="2016-12-19T16:27:59.307" Score="7" ViewCount="321" Body="&lt;p&gt;I have been going through the book Professional Sitecore 8 Development by Phil Wicklund and Jason Wilkerson. The book has been very helpful to me but I've got an issue I haven't been able to figure out. In Chapter 11, I've followed the section on Customizing Rendering in the Experience Editor. The code given in the book works, in that I can see the new custom renderings. However Sitecore's JavaScript validation has been throwing XHTML errors for each of my placeholders. After researching and debugging for a while, I found that this is because the GetEnd() method that contains the closing &lt;code&gt;&amp;lt;/div&amp;gt;&lt;/code&gt; tags executes between the closing &lt;code&gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;/code&gt; blocks for the rendering and the placeholder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my main layout:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html lang=&quot;@Sitecore.Context.Language.CultureInfo.TwoLetterISOLanguageName&quot;&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;/Content/foundation.sitecoreextensions.css&quot;/&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body class=&quot;@(Sitecore.Context.PageMode.IsExperienceEditor ? &quot;edit-mode&quot; : string.Empty)&quot;&amp;gt;&#xA;    &amp;lt;header&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;header&quot;)&#xA;    &amp;lt;/header&amp;gt;&#xA;    &amp;lt;main&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;main&quot;)&#xA;    &amp;lt;/main&amp;gt;&#xA;    &amp;lt;footer&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;footer&quot;)&#xA;    &amp;lt;/footer&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is where the custom rendering HTML is added:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Mvc.ExperienceEditor.Presentation;&#xA;&#xA;namespace Foundation.SitecoreExtensions.RenderingWrapper.Markers&#xA;{&#xA;    public class EditorComponentRenderingMarker : IMarker&#xA;    {&#xA;        private readonly string _componentName;&#xA;&#xA;        public EditorComponentRenderingMarker(string componentName)&#xA;        {&#xA;            _componentName = componentName;&#xA;        }&#xA;        public string GetStart()&#xA;        {&#xA;            const string formatString = &quot;&amp;lt;div class=\&quot;component-wrapper {0}\&quot;&amp;gt;&amp;lt;span class=\&quot;wrapper-header\&quot;&amp;gt;{1}&amp;lt;/span&amp;gt;&amp;lt;div class=\&quot;component-content clearfix\&quot;&amp;gt;&quot;;&#xA;            return string.Format(formatString, _componentName.Replace(&quot; &quot;, string.Empty), _componentName);&#xA;        }&#xA;        public string GetEnd()&#xA;        {&#xA;            return &quot;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&quot;;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And last of all, this is what the rendered HTML looks like, as seen from Developer Tools in FireFox: (just the header component, for brevity)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;header&amp;gt;&#xA;    &amp;lt;code type=&quot;text/sitecore&quot; chrometype=&quot;placeholder&quot; kind=&quot;open&quot; id=&quot;header&quot; key=&quot;header&quot; class=&quot;scpm&quot; data-selectable=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;!-- JSON that Sitecore injected --&amp;gt;    &amp;lt;/code&amp;gt;&#xA;    &amp;lt;code type=&quot;text/sitecore&quot; chrometype=&quot;rendering&quot; kind=&quot;open&quot; hintname=&quot;Header&quot; id=&quot;r_76115221D7FF46D7AAB859A209E1C829&quot; class=&quot;scpm&quot; data-selectable=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;!-- JSON that Sitecore injected --&amp;gt;    &amp;lt;/code&amp;gt;&#xA;    &amp;lt;div class=&quot;component-wrapper Header scEnabledChrome&quot; sc-part-of=&quot;placeholder rendering&quot;&amp;gt;&#xA;        &amp;lt;span class=&quot;wrapper-header&quot;&amp;gt;Header&amp;lt;/span&amp;gt;&#xA;        &amp;lt;div class=&quot;component-content clearfix&quot;&amp;gt;&#xA;            &amp;lt;div&amp;gt;&#xA;                &amp;lt;!-- My Rendering --&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;code type=&quot;text/sitecore&quot; id=&quot;scEnclosingTag_r_&quot; chrometype=&quot;rendering&quot; kind=&quot;close&quot; hintkey=&quot;Header&quot; class=&quot;scpm&quot;&amp;gt;&amp;lt;/code&amp;gt;&#xA;        &amp;lt;/div&amp;gt; &amp;lt;!-- this div needs to come before the preceding code block --&amp;gt;&#xA;    &amp;lt;/div&amp;gt; &amp;lt;!-- this div as well --&amp;gt;&#xA;    &amp;lt;code type=&quot;text/sitecore&quot; id=&quot;scEnclosingTag_&quot; chrometype=&quot;placeholder&quot; kind=&quot;close&quot; hintname=&quot;header&quot; class=&quot;scpm&quot;&amp;gt;&amp;lt;/code&amp;gt;&#xA;&amp;lt;/header&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see here, the closing &lt;code&gt;&amp;lt;/div&amp;gt;&lt;/code&gt; blocks are added between the final two &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt; blocks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe GetEnd() is behaving exactly as it should in that it executes right after the component is rendered, so it makes sense that it comes right after the &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt; block that marks the end of the rendering. However, I don't understand why Sitecore's JavaScript validation throws an error for this. When I modify the HTML from developer tools and move the closing rendering &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt; block just after the two closing &lt;code&gt;&amp;lt;/div&amp;gt;&lt;/code&gt; tags, the error no longer occurs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure how to fix this error. Is it an error with Sitecore's validation? Or should I put the closing &lt;code&gt;&amp;lt;/div&amp;gt;&lt;/code&gt; tags somewhere else?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the method to add my rendering. It includes adding to RenderRendering's disposal list.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Foundation.SitecoreExtensions.RenderingWrapper.Markers;&#xA;using Sitecore;&#xA;using Sitecore.Mvc.ExperienceEditor.Presentation;&#xA;using Sitecore.Mvc.Pipelines.Response.RenderRendering;&#xA;&#xA;namespace Foundation.SitecoreExtensions.RenderingWrapper&#xA;{&#xA;    public class AddEditorRenderingWrapper : RenderRenderingProcessor&#xA;    {&#xA;        public override void Process(RenderRenderingArgs args)&#xA;        {&#xA;            if (args.Rendered || Context.Site == null || !Context.PageMode.IsExperienceEditorEditing || args.Rendering.RenderingType == &quot;Layout&quot;)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            var marker = GetMarker(args);&#xA;            if (marker == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            args.Disposables.Add(new EditorRenderingWrapper(args.Writer, marker));&#xA;        }&#xA;&#xA;        private static IMarker GetMarker(RenderRenderingArgs args)&#xA;        {&#xA;            IMarker marker = null;&#xA;            var renderingItem = args.Rendering.RenderingItem;&#xA;&#xA;            if (renderingItem != null)&#xA;            {&#xA;                marker = new EditorComponentRenderingMarker(renderingItem.Name);&#xA;            }&#xA;&#xA;            return marker;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;EditorRenderingWrapper&lt;/code&gt; is simply a class that inherits from Sitecore.Mvc.ExperienceEditor.Presentation.Wrapper and does not add any new code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And &lt;code&gt;Disposables&lt;/code&gt; comes from Sitecore.Mvc.Pipelines.MvcPipelineArgs.Disposables&lt;/p&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="1133" LastEditDate="2016-12-20T14:32:19.177" LastActivityDate="2017-04-06T11:29:10.513" Title="Error Related to GetEnd() Method in a Custom Rendering Wrapper - Sitecore 8.2" Tags="|presentation|helix|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3473" PostTypeId="2" ParentId="3453" CreationDate="2016-12-19T20:06:44.340" Score="2" Body="&lt;p&gt;Conclusion:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Unicorn data provider is responsible to read/write to file system.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If transparent sync is ON then sync (file system to Sitecore) will happen automatically.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In transparent sync, for items controlled by Unicorn it bypasses the Sitecore database completely. It means file system is treated like the master database.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore to file system (serialization) will be automatic even if transparent sync is OFF.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Difference in serialization when transparent is sync is OFF and ON  is when transparent sync is OFF then we still use the Sitecore databases and unicorn additionally serialized the items to the file system and when transparent sync is ON then item will be directly written to file system as file system behaves as master db.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;To stop auto sync, we can remove or disable the Unicorn.DataProvider.config file. This still allows us to use the UI to de-serialize items (Sitecore to file system).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2016-12-19T20:06:44.340" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3474" PostTypeId="1" CreationDate="2016-12-19T22:06:23.073" Score="6" ViewCount="193" Body="&lt;p&gt;8.1 won't let us log back in. While attempting to delete a node with ~16k sub-items we couldn't tell whether 8.1 was frozen or still trying to delete. We restarted site/app pool &amp;amp; now can't log in. We get to the login screen but get a server error after the login. Any help/recs are appreciated!&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Stack trace:&#xA;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   Cognifide.PowerShell.Core.Extensions.ItemExtensions.InheritsFrom(Item item, ID templateID) +89&#xA;   Cognifide.PowerShell.Core.Extensions.ItemExtensions.IsPowerShellModule(Item item) +105&#xA;   Cognifide.PowerShell.Core.Modules.ModuleManager.EnumerateLibraries(Item library, List`1 dbModules) +217&#xA;   Cognifide.PowerShell.Core.Modules.ModuleManager.GetDbModules(String database) +305&#xA;   Cognifide.PowerShell.Core.Modules.ModuleManager.get_Modules() +245&#xA;   Cognifide.PowerShell.Core.Modules.ModuleManager.GetFeatureRoots(String featureName) +119&#xA;   Cognifide.PowerShell.Integrations.Pipelines.PipelineProcessor`1.Process(TPipelineArgs args) +134&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="934" LastEditorUserId="73" LastEditDate="2016-12-22T12:04:59.353" LastActivityDate="2016-12-22T12:04:59.353" Title="8.1 stopped working after content node deletion. NullReferenceException, Powershell Pipeline Issue?" Tags="|powershell-extensions|login|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="3476" PostTypeId="2" ParentId="2530" CreationDate="2016-12-19T23:05:11.480" Score="4" Body="&lt;p&gt;According to the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;Official Sitecore Documentation&lt;/a&gt;, there is a note that reads &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You can only run the RebuildReportingDB.aspx and&#xA;  RedeployMarketingData.aspx pages from a content management server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, in a distributed environment, where you have the content management and processing/aggregation servers separated, you should not be running this on the content management server. This process should be run on your processing/aggregation server. As soon as I moved the rebuilding process to my processing and aggregation server, I was able to get past the initial step in this process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I believe that you only need to copy the data, and not the structure (as was talked about in the comments on the OP). Here's what my SQL Scripts look like to make that happen (I hope that this is helpful for someone):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;INSERT INTO Sitecore_reporting_secondary.dbo.CampaignActivityDefinitions&#xA;SELECT [Id]&#xA;      ,[Version]&#xA;      ,[Language]&#xA;      ,[IsActive]&#xA;      ,[Data]&#xA;  FROM [Sitecore_reporting].[dbo].[CampaignActivityDefinitions]&#xA;&#xA;INSERT INTO Sitecore_reporting_secondary.dbo.GoalDefinitions&#xA;SELECT [Id]&#xA;      ,[Language]&#xA;      ,[Version]&#xA;      ,[IsActive]&#xA;      ,[Data]&#xA;  FROM [Sitecore_reporting].[dbo].[GoalDefinitions]&#xA;&#xA;INSERT INTO Sitecore_reporting_secondary.dbo.OutcomeDefinitions&#xA;SELECT [Id]&#xA;      ,[Language]&#xA;      ,[Version]&#xA;      ,[IsActive]&#xA;      ,[Data]&#xA;  FROM [Sitecore_reporting].[dbo].[OutcomeDefinitions]&#xA;INSERT INTO Sitecore_reporting_secondary.dbo.MarketingAssetDefinitions&#xA;SELECT [Id]&#xA;      ,[Language]&#xA;      ,[Version]&#xA;      ,[IsActive]&#xA;      ,[Data]&#xA;  FROM [Sitecore_reporting].[dbo].[MarketingAssetDefinitions]&#xA;&#xA;INSERT INTO Sitecore_reporting_secondary.dbo.Taxonomy_TaxonEntity&#xA;SELECT [Id]&#xA;      ,[ParentId]&#xA;      ,[TaxonomyId]&#xA;      ,[Type]&#xA;      ,[Uri]&#xA;      ,[IsDeleted]&#xA;  FROM [Sitecore_reporting].[dbo].[Taxonomy_TaxonEntity]&#xA;&#xA;INSERT INTO Sitecore_reporting_secondary.dbo.Taxonomy_TaxonEntityFieldDefinition&#xA;SELECT [Id]&#xA;      ,[Name]&#xA;      ,[IsLanguageInvariant]&#xA;  FROM [Sitecore_reporting].[dbo].[Taxonomy_TaxonEntityFieldDefinition]&#xA;&#xA;INSERT INTO Sitecore_reporting_secondary.dbo.Taxonomy_TaxonEntityFieldValue&#xA;SELECT [TaxonId]&#xA;      ,[FieldId]&#xA;      ,[LanguageCode]&#xA;      ,[FieldValue]&#xA;  FROM [Sitecore_reporting].[dbo].[Taxonomy_TaxonEntityFieldValue]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-12-19T23:05:11.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3477" PostTypeId="1" AcceptedAnswerId="3485" CreationDate="2016-12-20T01:15:58.230" Score="9" ViewCount="2207" Body="&lt;p&gt;I have a &lt;code&gt;Sitecore 8.1 WFFM&lt;/code&gt; form in an MVC form rendering, with a save action that takes a few seconds to complete. After submitting the form, the user just sees the form page they submitted with no message to show that it is processing, until the server finishes the save actions and redirects to the success page or shows the success message. This seems to be the same regardless of whether the &lt;code&gt;Is Ajax Mvc Form&lt;/code&gt; checkbox is selected or not for the WFFM form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During this wait the user might try resubmitting the form again, which I need to prevent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example code for a slow save action is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    using System;&#xA;    using System.Configuration;&#xA;    using Sitecore.Data;&#xA;    using Sitecore.WFFM.Abstractions.Actions;&#xA;    using Sitecore.WFFM.Actions.Base;&#xA;&#xA;    namespace Sitecore.Custom.Forms.SaveActions&#xA;    {&#xA;        public class SlowSaveAction : WffmSaveAction&#xA;        {&#xA;            public override void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;            {&#xA;                System.Threading.Thread.Sleep(8000);&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried editing the default &lt;code&gt;FormViewModel.cshtml&lt;/code&gt; with javascript to disable the submit button after the form is submitted (which works in pre-mvc versions of WFFM), but because the mvc form is dynamically reloaded after clicking submit, the button is immediately reset to enabled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also looked in the &lt;code&gt;Sitecore.Forms.Mvc.ViewModels.FormViewModel&lt;/code&gt; model for any value that might identify that the form is submitted and validation passed, but couldn't find anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some way to disable the submit button whilst the form is processing? Or perhaps as an alternative, hide the button and show a 'processing' message?&lt;/p&gt;&#xA;" OwnerUserId="1314" LastEditorUserId="1671" LastEditDate="2018-04-04T12:38:17.503" LastActivityDate="2020-02-06T17:52:51.527" Title="Disable submit button on MVC form that has slow action" Tags="|wffm|mvc|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3478" PostTypeId="1" CreationDate="2016-12-20T03:49:43.477" Score="3" ViewCount="401" Body="&lt;p&gt;We need to apply the workflow on media items. We are having one problem is that whenever a media item is uploaded in media library, versions are created for all the languages which we have added in language section and the items also show up in workflow for each version language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to change this behavior?&lt;/p&gt;&#xA;" OwnerUserId="1297" LastActivityDate="2016-12-20T03:58:19.047" Title="Multiple media items getting created in languages" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3479" PostTypeId="2" ParentId="3478" CreationDate="2016-12-20T03:58:19.047" Score="3" Body="&lt;p&gt;Please configure the following setting which by default is false. You need to set it true.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.UploadAsVersionableByDefault&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you set it to true, item will be created only in one default language version. This media item will use a versioned template /sitecore/templates/System/Media/Versioned/File template and if it is false, then it will use /Sitecore/templates/System/Media/Unversioned/File template and create media Item in all those languages which exist under /Sitecore/system/languages.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-12-20T03:58:19.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3480" PostTypeId="1" AcceptedAnswerId="3499" CreationDate="2016-12-20T06:44:07.377" Score="8" ViewCount="1486" Body="&lt;p&gt;I have custom search Index(SOLR) which has two root locations defined, one points to /home node and another points to repository(videos), we also have indexing strategy(onPublishEndAsync) in place.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA; &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;    &amp;lt;Root&amp;gt;path to home node&amp;lt;/Root&amp;gt;&#xA; &amp;lt;/crawler&amp;gt;&#xA; &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;    &amp;lt;Root&amp;gt;path to repository items&amp;lt;/Root&amp;gt;&#xA; &amp;lt;/crawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Problem which i am observing is- item from the second root location is not getting indexed(in this case repository items), if i move this to first, it index the repository items and not items under home node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if i rebuild the index manually from indexing manager, everything works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have thoughts here? what is missing here to make sure indexing strategy works with multiple roots as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using &lt;strong&gt;Sitecore 8.1 (rev. 160302)&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1003" LastEditorUserId="1003" LastEditDate="2016-12-20T08:45:49.220" LastActivityDate="2016-12-20T19:14:45.710" Title="Issue with multiple crawlers on Solr custom search index" Tags="|solr|indexing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3482" PostTypeId="1" AcceptedAnswerId="3524" CreationDate="2016-12-20T07:39:51.410" Score="11" ViewCount="3191" Body="&lt;p&gt;I have a drop tree and my client wants to be able to have the possibility to choose from two folders. We have a multi site and the structure looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site 1&#xA;  Data&#xA;    FolderHeWantsToChose&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site 2&#xA;  Data&#xA;    FolderHeWantsToChose&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;datasource=/sitecore/content/Site 1/Data/FolderHeWantsToChose&amp;amp;&#xA;datasource=/sitecore/content/Site 2/Data/FolderHeWantsToChose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Site 1/Data/FolderHeWantsToChose|/sitecore/content/Site 2/Data/FolderHeWantsToChose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ancestor::*[@@templatename='Site']/Data/FolderHeWantsToChose/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but I can't find any good query to display only the folders and not the whole Sitecore tree.&lt;/p&gt;&#xA;" OwnerUserId="1318" LastEditorUserId="1318" LastEditDate="2016-12-22T09:22:16.643" LastActivityDate="2016-12-22T09:27:45.750" Title="Droptree with multiple datasources" Tags="|sitecore-client|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3483" PostTypeId="2" ParentId="3480" CreationDate="2016-12-20T08:04:09.073" Score="2" Body="&lt;p&gt;I've encountered the same problem a few weeks ago for &lt;strong&gt;Sitecore 8.1&lt;/strong&gt; (&lt;a href=&quot;https://github.com/WeTeam/WeBlog/pull/216&quot; rel=&quot;nofollow noreferrer&quot;&gt;public repo link&lt;/a&gt;) and Lucene configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Starting from the update &lt;strong&gt;160302&lt;/strong&gt; different behaviour for multiple index crawlers can be observed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For &lt;strong&gt;Sitecore 8.1 rev. 151207&lt;/strong&gt; everything worked fine, right now, if you have multiple crawlers defined, only first is fired.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've decompiled sources and observed that there are some changes that can cause such a behaviour.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Workaround&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We've solved the issue by creating separate indexes for each database (one for &lt;strong&gt;master&lt;/strong&gt; and one for &lt;strong&gt;web&lt;/strong&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is something you can do I highly recommend that (none of default Sitecore configs has multiple crawlers defined so it is probably safer to go this way)&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2016-12-20T08:04:09.073" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3485" PostTypeId="2" ParentId="3477" CreationDate="2016-12-20T12:57:22.033" Score="5" Body="&lt;p&gt;I think it is still better to do via Javascript. You should be able to disable(hide button) on submit.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;mvc form is dynamically reloaded after clicking submit, the button is&#xA;  immediately reset to enabled&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I was not able to find JS code (wffm.js) that immediately reset button to enabled. Form is dynamically changed only on formSubmitError and formSubmitSuccess&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$scw('#' + targetId).html(res);&#xA;$scw('#' + targetId).html(xhr.responseText);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It means that button could be enabled only when you receive response from server(form actions either succeed or failed).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But there is present code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;e.preventDefault()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;that could block execution of your JS code that makes button disabled. If my assumption is right you should force your code to be executed before WFFM submit event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a last resort WFFM scripts are not uglified and minimized, so you can easily modify them. Scripts are located here: &lt;em&gt;sitecore modules\Web\Web Forms for Marketers\mvc\wffm.js&lt;/em&gt;. But you should remember about your modification when you will update WFFM module.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2016-12-20T12:57:22.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3486" PostTypeId="2" ParentId="230" CreationDate="2016-12-20T13:33:05.773" Score="0" Body="&lt;p&gt;We've just gone through this whole process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case we had an implementation of Lucene indexing rather than the Solr method (multi server set up). &#xA;We also found we had a rather large bottleneck in our SQL and MongoDB. They just couldn't process the data that was getting thrown at them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before implementing Solr, and upgrading our MongoDB and SQL servers (they were Azure hosted VM's):-&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Emails dispatched at 1-2 emails per second&lt;/li&gt;&#xA;&lt;li&gt;Indexing of lists would take &gt;1hr for list of 10,000 contacts.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Since implementing these changes:-&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Emails dispatch at 30 emails p/s &lt;/li&gt;&#xA;&lt;li&gt;Lists of 100,000 index in around 4 minutes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Our azure server upgrades were purely additional iOPS and faster discs rather than more processing power or RAM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also an hotfix from Sitecore that stops list locking - but emails will still only send to the people so far indexed.&lt;/p&gt;&#xA;" OwnerUserId="1317" LastActivityDate="2016-12-20T13:33:05.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3487" PostTypeId="2" ParentId="3472" CreationDate="2016-12-20T13:50:15.057" Score="5" Body="&lt;p&gt;The problem is that your wrapper conflicts with Sitecore Experience Editor wrappers.(refer to Sitecore.MvcExperienceEditor.config)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are 2 additional processors that add its own wrappers:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Mvc.ExperienceEditor.Pipelines.Response.RenderPlaceholder.AddWrapper&#xA;Sitecore.Mvc.ExperienceEditor.Pipelines.Response.RenderRendering.AddWrapper&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;They are responsible for adding &lt;code&gt;&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;/code&gt; tags that identifies start and end of placeholders and renderings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;GetEnd()&lt;/code&gt; method is executed on wrapper disposing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;void IDisposable.Dispose()&#xA;{&#xA;  if (this.disposer.Disposed)&#xA;  {&#xA;    return;&#xA;  }&#xA;  this.writer.Write(this.marker.GetEnd());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For some reason disposing is called in wrong order. Your wrapper is disposed after Sitecore Experience Editor RenderRendering wrapper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You don't specified your code that adds your wrapper, but I think there should be something similar to Experience Editor wrapper:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;int num = args.Disposables.FindIndex((IDisposable x) =&amp;gt; x.GetType() == typeof(Wrapper));&#xA;if (num &amp;lt; 0)&#xA;{&#xA;    num = 0;&#xA;}&#xA;args.Disposables.Insert(num, new Wrapper(args.Writer, marker));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can try to change &lt;code&gt;num&lt;/code&gt; variable to insert wrappers in correct order. If it doesn't help I would suggest incorporate your wrapper with Experience Editor Rendering wrapper to achieve HTML code that is suitable for Experience Editor.  &lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2016-12-20T13:50:15.057" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3488" PostTypeId="1" AcceptedAnswerId="3490" CreationDate="2016-12-20T13:54:41.083" Score="7" ViewCount="4551" Body="&lt;p&gt;This is my first time with Dynamic Placeholders and I am unable to find any related tutorial.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have installed the nuget package mentioned in the Fortis Site&lt;br&gt;&#xA;&lt;a href=&quot;https://www.nuget.org/packages/DynamicPlaceholders.Mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nuget.org/packages/DynamicPlaceholders.Mvc/&lt;/a&gt;&lt;br&gt;&#xA; and trying to render a component as&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().DynamicPlaceholder(&quot;section&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The component does not render on page and there are no errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I just say:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Placeholder(&quot;section&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;it works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apart from installing the package, should anything else be done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using &lt;code&gt;Sitecore 8.2&lt;/code&gt; with MVC&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Fortis way seems complex. So, I have deleted the Fortis dll references and installed the package from the Marketplace. When browsing the page in preview mode, the error is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Mvc.Helpers.SitecoreHelper' does not contain a definition for 'DynamicPlaceholder&#xA;and no extension method 'DynamicPlaceholder' accepting a first argument of    &#xA;type 'Sitecore.Mvc.Helpers.SitecoreHelper' could be found (are you missing &#xA;a using directive or an assembly reference?)'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="2056" LastEditDate="2018-03-08T09:47:09.230" LastActivityDate="2018-03-08T09:47:09.230" Title="How to use Dynamic Placeholders" Tags="|mvc|dynamic-placeholder|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3489" PostTypeId="2" ParentId="3482" CreationDate="2016-12-20T14:05:56.937" Score="4" Body="&lt;p&gt;I just copy the answer from this blogpost - &lt;a href=&quot;http://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore itself provides a MultiRootTreeList control that is used for rendering the insert data source item dialog (which supports multiple roots).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Implementation (&lt;a href=&quot;https://gist.github.com/kamsar/33d1245ffdb630b1f126&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/kamsar/33d1245ffdb630b1f126&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Linq;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Globalization;&#xA;using Sitecore.Shell.Applications.ContentEditor;&#xA;using Sitecore.Text;&#xA;using Sitecore.Web;&#xA;using Sitecore.Web.UI.HtmlControls;&#xA;using Sitecore.Web.UI.WebControls;&#xA;&#xA;namespace Kamsar.FieldTypes&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// This field type is like a tree list, but you can specify more than one root item to select from (for example, videos or photos)&#xA;    /// The data source roots are specified using pipe delimiting just like regular Sitecore Query language&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class MultiRootTreeList : TreeList&#xA;    {&#xA;        protected override void OnLoad(EventArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            base.OnLoad(args);&#xA;&#xA;            if (!Sitecore.Context.ClientPage.IsEvent)&#xA;            {&#xA;                // find the existing TreeviewEx that the base OnLoad added, get a ref to its parent, and remove it from controls&#xA;                var existingTreeView = (TreeviewEx)WebUtil.FindControlOfType(this, typeof(TreeviewEx));&#xA;                var treeviewParent = existingTreeView.Parent;&#xA;&#xA;                existingTreeView.Parent.Controls.Clear(); // remove stock treeviewex, we replace with multiroot&#xA;&#xA;                // find the existing DataContext that the base OnLoad added, get a ref to its parent, and remove it from controls&#xA;                var dataContext = (DataContext)WebUtil.FindControlOfType(this, typeof(DataContext));&#xA;                var dataContextParent = dataContext.Parent;&#xA;&#xA;                dataContextParent.Controls.Remove(dataContext); // remove stock datacontext, we parse our own&#xA;&#xA;                // create our MultiRootTreeview to replace the TreeviewEx&#xA;                var impostor = new Sitecore.Web.UI.WebControls.MultiRootTreeview();&#xA;                impostor.ID = existingTreeView.ID;&#xA;                impostor.DblClick = existingTreeView.DblClick;&#xA;                impostor.Enabled = existingTreeView.Enabled;&#xA;                impostor.DisplayFieldName = existingTreeView.DisplayFieldName;&#xA;&#xA;                // parse the data source and create appropriate data contexts out of it&#xA;                var dataContexts = ParseDataContexts(dataContext);&#xA;&#xA;                impostor.DataContext = string.Join(&quot;|&quot;, dataContexts.Select(x =&amp;gt; x.ID));&#xA;                foreach(var context in dataContexts) dataContextParent.Controls.Add(context);&#xA;&#xA;                // inject our replaced control where the TreeviewEx originally was&#xA;                treeviewParent.Controls.Add(impostor);&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Parses multiple source roots into discrete data context controls (e.g. 'dataSource=/sitecore/content|/sitecore/media library')&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;originalDataContext&quot;&amp;gt;The original data context the base control generated. We reuse some of its property values.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        protected virtual DataContext[] ParseDataContexts(DataContext originalDataContext)&#xA;        {&#xA;            return new ListString(DataSource).Select(x =&amp;gt; CreateDataContext(originalDataContext, x)).ToArray();&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Creates a DataContext control for a given Sitecore path data source&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        protected virtual DataContext CreateDataContext(DataContext baseDataContext, string dataSource)&#xA;        {&#xA;            DataContext dataContext = new DataContext();&#xA;            dataContext.ID = GetUniqueID(&quot;D&quot;);&#xA;            dataContext.Filter = baseDataContext.Filter;&#xA;            dataContext.DataViewName = &quot;Master&quot;;&#xA;            if (!string.IsNullOrEmpty(DatabaseName))&#xA;            {&#xA;                dataContext.Parameters = &quot;databasename=&quot; + DatabaseName;&#xA;            }&#xA;            dataContext.Root = dataSource;&#xA;            dataContext.Language = Language.Parse(ItemLanguage);&#xA;&#xA;            return dataContext;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastActivityDate="2016-12-20T14:05:56.937" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3490" PostTypeId="2" ParentId="3488" CreationDate="2016-12-20T14:14:33.713" Score="8" Body="&lt;p&gt;It sounds like you have added the component to a placeholder key called &lt;code&gt;section&lt;/code&gt; - with dynamic placeholders there will be an extra bit of data appended to that. Depending on the version of dynamic placeholders you have installed, that data changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have installed the &lt;a href=&quot;http://fortis.ws/fortis-collection/dynamic-placeholders/&quot; rel=&quot;noreferrer&quot;&gt;Fortis Dynamic Placeholders&lt;/a&gt; - this appends the guid of the unique rendering Id to the place holder, so your placeholder key would be something like &lt;code&gt;section-21ec20203aea1069a2dd08002b30309d&lt;/code&gt; - the best way to use this is to add components via the Experience Editor, that way the key is automatically worked out by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have the the version from the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/I/Integrated_Dynamic_Placeholders.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Market Place&lt;/a&gt; - this uses numbers appended to the key. So the first &lt;code&gt;section&lt;/code&gt; would just be called &lt;code&gt;section&lt;/code&gt;, any subsequent placeholders using he same key would be &lt;code&gt;section_2&lt;/code&gt;, &lt;code&gt;section_3&lt;/code&gt; etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your component is being hidden because with the dynamic placeholder, the key of &lt;code&gt;section&lt;/code&gt; on its own does not exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update: How to add via the Content Editor&lt;/strong&gt;&#xA;For the Fortis implementation, to add renderings via the content editor requires you to go into the raw values of the &lt;code&gt;__Renderings&lt;/code&gt; or &lt;code&gt;__Final Renderings&lt;/code&gt; fields. In there will be the Xml that defines the layout. Find the rendering that contains your dynamic placeholder and then in the xml look for the &lt;code&gt;uid&lt;/code&gt; of that rendering, that is the Guid that is appended.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r id=&quot;{C4BD2E61-3025-4F88-9F7D-677086C576BA}&quot; ph=&quot;header&quot; uid=&quot;{8ED804CF-8F60-452C-A88B-4EEEB0145793}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now when you add a rendering, append that guid to the placeholder key. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative would be to add a rendering via the experience editor and then look at the placeholder key for that rendering, copy that and use it when adding more renderings.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2016-12-20T14:35:54.567" LastActivityDate="2016-12-20T14:35:54.567" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3491" PostTypeId="1" AcceptedAnswerId="3492" CreationDate="2016-12-20T15:15:10.857" Score="3" ViewCount="1152" Body="&lt;p&gt;This is my first time with Dynamic Placeholders and having a hard time getting started.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have installed the package from here&lt;br&gt;&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/I/Integrated_Dynamic_Placeholders.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/I/Integrated_Dynamic_Placeholders.aspx&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;and trying to render a component as&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().DynamicPlaceholder(&quot;section&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When browsing the page in preview mode, the error is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Sitecore.Mvc.Helpers.SitecoreHelper' does not contain a definition for 'DynamicPlaceholder and   &#xA;  no extension method 'DynamicPlaceholder' accepting a first argument of    &#xA;  type 'Sitecore.Mvc.Helpers.SitecoreHelper' could be found (are you missing &#xA;   a using directive or an assembly reference?)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I just say, &lt;code&gt;@Html.Sitecore().Placeholder(&quot;section&quot;)&lt;/code&gt;, it works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 with MVC&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLUTION:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Patrick Barron's answer worked. There are two parts to it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the /Views/web.config include the namespace  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add namespace=&quot;SitecoreExperienced.SitecoreControls&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;, and in the content editor, when adding the controls, append &quot;_scexp1&quot; to the placeholder name. eg:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1st Rendering: widgets&lt;br&gt;&#xA;Placeholder key : section&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2nd Rendering: banner&lt;br&gt;&#xA;Placeholders : section_scexp1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3rd Rendering: banner&lt;br&gt;&#xA;Placeholders : section_scexp2&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2016-12-21T11:14:28.247" LastActivityDate="2016-12-21T11:14:28.247" Title="Dynamic Placeholders marketplace module throws method definition error" Tags="|mvc|dynamic-placeholder|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3492" PostTypeId="2" ParentId="3491" CreationDate="2016-12-20T15:32:57.227" Score="3" Body="&lt;p&gt;From the error message, it sounds like the DLL for the Dynamic Placeholder isn't a known reference for your views. You'll want to add the following line to your &lt;code&gt;/Views/Web.config&lt;/code&gt; file in your view folder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add namespace=&quot;SitecoreExperienced.SitecoreControls&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To should look something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web.webPages.razor&amp;gt;&#xA;&amp;lt;host factoryType=&quot;System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;&amp;lt;pages pageBaseType=&quot;System.Web.Mvc.WebViewPage&quot;&amp;gt;&#xA;  &amp;lt;namespaces&amp;gt;&#xA;    &amp;lt;add namespace=&quot;System.Web.Mvc&quot; /&amp;gt;&#xA;    &amp;lt;add namespace=&quot;System.Web.Mvc.Ajax&quot; /&amp;gt;&#xA;    &amp;lt;add namespace=&quot;System.Web.Mvc.Html&quot; /&amp;gt;&#xA;    &amp;lt;add namespace=&quot;System.Web.Routing&quot; /&amp;gt;&#xA;    &amp;lt;add namespace=&quot;Sitecore.Globalization&quot;/&amp;gt;&#xA;    &amp;lt;add namespace=&quot;Sitecore.Mvc&quot; /&amp;gt;&#xA;    &amp;lt;add namespace=&quot;Sitecore.Mvc.Presentation&quot; /&amp;gt;&#xA;    &amp;lt;add namespace=&quot;System.Web.Routing&quot; /&amp;gt;&#xA;    &amp;lt;add namespace=&quot;SitecoreExperienced.SitecoreControls&quot; /&amp;gt;&#xA;  &amp;lt;/namespaces&amp;gt;&#xA;&amp;lt;/pages&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2016-12-20T15:32:57.227" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3493" PostTypeId="1" CreationDate="2016-12-20T15:36:29.600" Score="6" ViewCount="748" Body="&lt;p&gt;Sitecore logs are showing lot of these messages:  WARN  The current user cannot be resolved from the authentication cookie. The cookie will be removed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Ex:&#xA;    Line 556: 1820 07:14:48 WARN  The current user cannot be resolved from the authentication cookie. The cookie will be removed.&#xA;    Line 1680: 6612 08:02:06 WARN  The current user cannot be resolved from the authentication cookie. The cookie will be removed.&#xA;    Line 1681: 6916 08:02:06 WARN  The current user cannot be resolved from the authentication cookie. The cookie will be removed.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We are using mixed authentication : Asp net membership provider + Sitecore virtual user. We recently upgraded from Sitecore 7.2 to Sitecore.NET 8.1 (rev. 160519) and are using Mongo DB as well for gathering Analytics data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions to identify the issue? I verified on the server and there aren't any app pool recycles when this happened. &lt;/p&gt;&#xA;" OwnerUserId="706" LastActivityDate="2016-12-24T22:32:21.153" Title="Sitecore Logs shows The current user cannot be resolved from the authentication cookie" Tags="|security|authentication|" AnswerCount="1" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="3494" PostTypeId="2" ParentId="3472" CreationDate="2016-12-20T16:20:17.497" Score="2" Body="&lt;p&gt;@Anton pointed me in the direction I needed to go. Long story short, as I was implementing his method and stepping through the code in the debugger, I discovered a typo in my code. After fixing it, Sitecore no longer throws an XHTML validation error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for the details, when following the book mentioned above, I created 4 classes. &#xA;3 rendering wrapper classes:&#xA;EditorRenderingWrapper.cs&#xA;AddEditorRenderingWrapper.cs&#xA;EndEditorRenderingWrapper.cs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And 1 marker class:&#xA;EditorComponentRenderingMarker.cs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I posted the code for the EditorComponentRenderingMarker and AddEditorRenderingWrapper classes above. The EditorRenderingWrapper is a wrapper class and just extends the base Wrapper class. It doesn't add any new code, so I didn't post it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the culprit was in the 4th class, the EndEditorRenderingWrapper class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Linq;&#xA;using Sitecore.Mvc.Pipelines.Response.RenderRendering;&#xA;&#xA;namespace BankDelen.Cadelam.Foundation.SitecoreExtensions.RenderingWrapper&#xA;{&#xA;    public class EndEditorRenderingWrapper : RenderRenderingProcessor&#xA;    {&#xA;        public override void Process(RenderRenderingArgs args)&#xA;        {&#xA;            foreach (IDisposable wrapper in args.Disposables.OfType&amp;lt;EditorRenderingWrapper&amp;gt;())&#xA;            {&#xA;                wrapper.Dispose();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My typo was in the foreach statement. I had accidentally originally written &lt;code&gt;args.Disposables.OfType&amp;lt;EndEditorRenderingWrapper&amp;gt;())&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;OfType&amp;lt;T&amp;gt;()&lt;/code&gt; method was checking &lt;strong&gt;End&lt;/strong&gt;EditorRenderingWrapper instead of EditorRenderingWrapper and &lt;code&gt;wrapper.Dispose()&lt;/code&gt; was never being hit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A big thanks to @Anton for helping to improve my understanding of how Sitecore works and helping me find this problem.&lt;/p&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="1133" LastEditDate="2017-04-06T11:29:10.513" LastActivityDate="2017-04-06T11:29:10.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3495" PostTypeId="2" ParentId="3326" CreationDate="2016-12-20T16:22:57.453" Score="0" Body="&lt;p&gt;The problem ended up being a typo in my class that disposes the rendering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The full answer can be seen here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3472/error-related-to-getend-method-in-a-custom-rendering-wrapper-sitecore-8-2&quot;&gt;Error Related to GetEnd() Method in a Custom Rendering Wrapper - Sitecore 8.2&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-20T16:22:57.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3496" PostTypeId="2" ParentId="2930" CreationDate="2016-12-20T17:45:30.667" Score="1" Body="&lt;p&gt;Against all provided solutions there is one more: usage of &lt;a href=&quot;http://dotdotdot.frebsite.nl/&quot; rel=&quot;nofollow noreferrer&quot;&gt;jQuery.dotdotdot&lt;/a&gt; plugin. It is easy in use and configurable enough to fit your needs.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(document).ready(function() {&#xA;    $(&quot;#wrapper&quot;).dotdotdot({&#xA;        /*  The text to add as ellipsis. */&#xA;        ellipsis    : '... ',&#xA;        /*  How to cut off the text/html: 'word'/'letter'/'children' */&#xA;        wrap        : 'word',&#xA;        /*  Wrap-option fallback to 'letter' for long words */&#xA;        fallbackToLetter: true,&#xA;        /*  jQuery-selector for the element to keep and put after the ellipsis. */&#xA;        after       : null,&#xA;        /*  Whether to update the ellipsis: true/'window' */&#xA;        watch       : false,&#xA;        /*  Optionally set a max-height, can be a number or function.&#xA;            If null, the height will be measured. */&#xA;        height      : null,&#xA;        /*  Deviation for the height-option. */&#xA;        tolerance   : 0,&#xA;        /*  Callback function that is fired after the ellipsis is added,&#xA;            receives two parameters: isTruncated(boolean), orgContent(string). */&#xA;        callback    : function( isTruncated, orgContent ) {},&#xA;        lastCharacter   : {&#xA;            /*  Remove these characters from the end of the truncated text. */&#xA;            remove      : [ ' ', ',', ';', '.', '!', '?' ],&#xA;            /*  Don't add an ellipsis if this array contains &#xA;                the last character of the truncated text. */&#xA;            noEllipsis  : []&#xA;        }&#xA;    });&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;P.S. don't forget to wrap this JS code to be executed only in normal mode.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2016-12-20T17:45:30.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3497" PostTypeId="1" AcceptedAnswerId="3506" CreationDate="2016-12-20T18:04:44.860" Score="7" ViewCount="386" Body="&lt;p&gt;I am using Media Framework 2.0 with Sitecore 8.0. I have been able to generate a flash player with the Media Framework API. This is the code - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.MarkupType = Sitecore.MediaFramework.Pipelines.MediaGenerateMarkup.MarkupType.Frame;&#xA;                    Sitecore.MediaFramework.Brightcove.Players.BrightcovePlayerMarkupGenerator generator = new Sitecore.MediaFramework.Brightcove.Players.BrightcovePlayerMarkupGenerator();&#xA;                    Sitecore.MediaFramework.Pipelines.MediaGenerateMarkup.MediaGenerateMarkupPipeline.Run(args);&#xA;                    return args.Result.Html;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I'm not able to generate the HTML5 player using this code. This only works for Flash based players but not HTML5. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way in the MediaFramework API to accomplish this or will I have to roll my own code to do that?&lt;/p&gt;&#xA;" OwnerUserId="1073" LastEditorUserId="423" LastEditDate="2017-09-14T17:50:00.453" LastActivityDate="2017-09-14T17:50:00.453" Title="MediaFramework - Brightcove HTML 5 Player" Tags="|brightcove|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3498" PostTypeId="1" CreationDate="2016-12-20T19:10:52.563" Score="4" ViewCount="516" Body="&lt;p&gt;My network guys have started asking me about a sudden spike in network traffic that they noticed. For the past 4 days I have had about 5 terabytes go between my 3 CD servers and my 1 CM server, which is significantly more than I've ever seen before. I'm on Sitecore 8.1 Original release (and have been on this release since April of this year). At the same time my SOLR disk space requirements have significantly increased, causing me to request extra disk space 2 times in that same time frame. My SOLR Server is on the same machine as my CM server, and my analytics SOLR index has grown very large as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure where to start looking to troubleshoot this kind of issue. There haven't been exceptions to be logged, there is just a lot more traffic than I was expecting. Our website traffic has not went up significantly in the last week, so I don't think that this is &quot;normal&quot; traffic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I start troubleshooting this issue?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-12-21T17:12:39.240" Title="How to figure out why I have a sudden spike in traffic between CM and CD servers" Tags="|xdb|solr|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3499" PostTypeId="2" ParentId="3480" CreationDate="2016-12-20T19:14:45.710" Score="7" Body="&lt;p&gt;We had the exact same issue as well with Lucene indexes.  Sitecore was able to provide a patch for the SitecoreItemCrawler class.  It doesn't appear to be on their Github so I can't link it but ask for support DLL 108165.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is fixed in Sitecore 8.2 Update 1&lt;/p&gt;&#xA;" OwnerUserId="32" LastActivityDate="2016-12-20T19:14:45.710" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3500" PostTypeId="1" AcceptedAnswerId="3501" CreationDate="2016-12-20T21:58:45.220" Score="4" ViewCount="287" Body="&lt;p&gt;Can anyone know how I can remove &quot;EDIT&quot; button in Navigation Bar?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/64Oa3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/64Oa3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The navigation check-box fires the command &quot;webedit:ToggleTreecrumb&quot;. Is there any way to deny &quot;READ&quot; access on this &quot;EDIT&quot; button? Any easiest way??&lt;/p&gt;&#xA;" OwnerUserId="554" LastEditorUserId="423" LastEditDate="2017-09-14T17:50:54.527" LastActivityDate="2017-09-14T17:50:54.527" Title="Remove EDIT button in Navigation Bar" Tags="|experience-editor|editor-user-permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3501" PostTypeId="2" ParentId="3500" CreationDate="2016-12-20T22:33:52.560" Score="8" Body="&lt;p&gt;I believe the item you're looking for is here:&#xA;&lt;code&gt;/sitecore/system/Settings/Security/Policies/Page Editor/Navigation bar/Can Edit&lt;/code&gt; in the &lt;code&gt;core&lt;/code&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, the &lt;code&gt;Sitecore Limited Page Editor&lt;/code&gt; or &lt;code&gt;Sitecore Minimal Page Editor&lt;/code&gt; roles seem to deny read privileges to that button.&lt;/p&gt;&#xA;" OwnerUserId="436" LastEditorUserId="436" LastEditDate="2016-12-20T22:50:39.430" LastActivityDate="2016-12-20T22:50:39.430" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3502" PostTypeId="1" CreationDate="2016-12-21T04:51:57.847" Score="7" ViewCount="874" Body="&lt;p&gt;We need some specific customization to hide a specific field for a specific language. like hiding Title field for English language but not for Spanish etc. Please suggest a any way to do this.&lt;/p&gt;&#xA;" OwnerUserId="1259" LastActivityDate="2016-12-21T08:02:40.803" Title="Hiding Specific Fields for Specific Language in Content Editor" Tags="|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3503" PostTypeId="2" ParentId="3502" CreationDate="2016-12-21T05:07:52.507" Score="7" Body="&lt;p&gt;You need to override &lt;code&gt;CanShowField&lt;/code&gt; method of &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.Pipelines.GetContentEditorFields.GetFields&lt;/code&gt; class so that it returns &lt;code&gt;false&lt;/code&gt; for specific fields when Content Language is &lt;code&gt;English&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is you can create class something like follows. You can add additional criteria like checking for particular template.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GetFields : Sitecore.Shell.Applications.ContentEditor.Pipelines.GetContentEditorFields.GetFields&#xA;{&#xA;    protected override bool CanShowField(Sitecore.Data.Fields.Field field, TemplateField templateField)&#xA;    {&#xA;        if (field.Name == &quot;Title&quot; &amp;amp;&amp;amp; field.Language == Sitecore.Globalization.Language.Parse(&quot;es-Es&quot;))&#xA;        {&#xA;            return false;&#xA;        }&#xA;&#xA;        return base.CanShowField(field, templateField);&#xA;    }   &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After that you should apply patch to include your custom class. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;getContentEditorFields&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Shell.Applications.ContentEditor.Pipelines.GetContentEditorFields.GetFields, Sitecore.Client&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;YourClass, YourAssembly&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;&amp;lt;/getContentEditorFields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="607" LastEditorUserId="172" LastEditDate="2016-12-21T08:02:40.803" LastActivityDate="2016-12-21T08:02:40.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3504" PostTypeId="2" ParentId="3502" CreationDate="2016-12-21T05:37:40.760" Score="-2" Body="&lt;p&gt;There are some blogs available for the same customization as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2013/11/04/choose-template-fields-to-display-in-the-sitecore-content-editor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2013/11/04/choose-template-fields-to-display-in-the-sitecore-content-editor/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2014/04/24/hiding-content-editor-fields-depending-on-selected-values/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2014/04/24/hiding-content-editor-fields-depending-on-selected-values/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://andyuzick.arke.com/2013/07/Hiding-fields-in-the-Content-Editor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://andyuzick.arke.com/2013/07/Hiding-fields-in-the-Content-Editor.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://blog.boro2g.co.uk/hide-fields-on-specific-sitecore-items/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.boro2g.co.uk/hide-fields-on-specific-sitecore-items/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also check the below marketplace module as well:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Hide_Field_Template_Extension.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Hide_Field_Template_Extension.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2016-12-21T05:37:40.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3505" PostTypeId="1" AcceptedAnswerId="3546" CreationDate="2016-12-21T08:26:33.447" Score="3" ViewCount="111" Body="&lt;p&gt;I'm trying to setup a uCommerce for Sitecore  for the first time. But I'm getting a NullReferenceException - so I suspect I've done something wrong, or am missing an installation step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I did was:&#xA;I've installed a fresh &lt;strong&gt;Sitecore 8.1&lt;/strong&gt; installation, then installed &lt;strong&gt;uCommerce (7.3.1.1634)&lt;/strong&gt; developer license as a package via Sitecore Instance Manager. (I've also tried installing the package myself)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigating into the administration interface --&gt; Commerce Settings (uCommerce).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I expand the Stores node, uCommerce.dk node, and go to the uCommerce node in the default installation content&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, if I try to fill out the display name in the English tab, and save my ProductCatalog I get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   UCommerce.EntitiesV2.Factories.ProductCatalogFactory.AddDefaults(ProductCatalog productCatalog, ProductCatalogGroup productCatalogGroup) +131&#xA;   UCommerce.Presentation.Presenters.Catalog.EditProductCatalogPresenter.View_Save(Object sender, EntityCommandEventArgs`1 e) +703&#xA;   UCommerce.Web.UI.Catalog.EditProductCatalog.OnSave(Object sender, EventArgs e) +124&#xA;   System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +143&#xA;   System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +185&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1734&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried to publish the site and rebuild indexes, but it didn't fix the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried to create my own ProductCatalog and my own Store in various combinations; and that goes well. &lt;em&gt;But&lt;/em&gt; if I try to update the name of my ProductCatalog, I get the same exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(the uCommerce Admin interface to illustrate)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TkWXO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TkWXO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: For some reason it looks like the admin page does not get the QueryString value it requires, but it doesn't fail on the demo site, so it looks like possible the demo build does not match the developer license version.&lt;/p&gt;&#xA;" OwnerUserId="827" LastEditorUserId="423" LastEditDate="2017-09-14T17:46:18.230" LastActivityDate="2017-09-14T17:46:18.230" Title="Sitecore/uCommerce NullReferenceException in ProductCatalogFactory" Tags="|ucommerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3506" PostTypeId="2" ParentId="3497" CreationDate="2016-12-21T09:27:25.407" Score="5" Body="&lt;p&gt;There is a brightcove patch configuration file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.MediaFramework.Services.Brightcove.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Review current configuration for &lt;code&gt;&amp;lt;playerMarkupGenerators&amp;gt;&lt;/code&gt; You will find:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;playerMarkupGenerators&amp;gt;&#xA;    &amp;lt;add name=&quot;brightcove_video&quot; templateId=&quot;{6A5C6835-6E11-4602-A11D-B626E9255397}&quot; type=&quot;Sitecore.MediaFramework.Brightcove.Players.BrightcovePlayerMarkupGenerator,Sitecore.MediaFramework.Brightcove&quot;&amp;gt;&#xA;      &amp;lt;analyticsScriptUrl&amp;gt;/sitecore modules/Web/MediaFramework/js/Analytics/brightcove.js&amp;lt;/analyticsScriptUrl&amp;gt;&#xA;      &amp;lt;scriptUrl&amp;gt;http://admin.brightcove.com/js/BrightcoveExperiences.js&amp;lt;/scriptUrl&amp;gt;&#xA;      &amp;lt;parameters hint=&quot;raw:AddParameter&quot;&amp;gt;&#xA;        &amp;lt;param name=&quot;isVid&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;isUI&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;dynamicStreaming&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;includeAPI&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;htmlFallback&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;templateReadyHandler&quot; value=&quot;brightcoveListener.onTemplateReady&quot;/&amp;gt;&#xA;      &amp;lt;/parameters&amp;gt;&#xA;    &amp;lt;/add&amp;gt;&#xA;    &amp;lt;add name=&quot;brightcove_playlist&quot; templateId=&quot;{0E24292F-D7A5-4BA2-BCA0-CD5F14A89634}&quot; type=&quot;Sitecore.MediaFramework.Brightcove.Players.BrightcovePlayerMarkupGenerator,Sitecore.MediaFramework.Brightcove&quot;&amp;gt;&#xA;      &amp;lt;analyticsScriptUrl&amp;gt;/sitecore modules/Web/MediaFramework/js/Analytics/brightcove.js&amp;lt;/analyticsScriptUrl&amp;gt;&#xA;      &amp;lt;scriptUrl&amp;gt;http://admin.brightcove.com/js/BrightcoveExperiences.js&amp;lt;/scriptUrl&amp;gt;&#xA;      &amp;lt;parameters hint=&quot;raw:AddParameter&quot;&amp;gt;&#xA;        &amp;lt;param name=&quot;isVid&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;isUI&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;dynamicStreaming&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;includeAPI&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;htmlFallback&quot; value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;param name=&quot;templateReadyHandler&quot; value=&quot;brightcoveListener.onTemplateReady&quot;/&amp;gt;&#xA;      &amp;lt;/parameters&amp;gt;&#xA;    &amp;lt;/add&amp;gt;&#xA;  &amp;lt;/playerMarkupGenerators&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see you can change/remove/add some parameters to generate markup.&#xA;Try to play with some parameters. As I found here &lt;a href=&quot;https://stackoverflow.com/questions/8229621/html5-video-with-brightcove&quot;&gt;https://stackoverflow.com/questions/8229621/html5-video-with-brightcove&lt;/a&gt;&#xA;you just need to add&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;param name=&quot;forceHTML&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had not chance to test it. Sorry. Maybe you also need to remove/update some default parameters.&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2016-12-21T15:53:07.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3508" PostTypeId="2" ParentId="3396" CreationDate="2016-12-21T11:00:30.553" Score="0" Body="&lt;p&gt;This is how i solved this, for future reference:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Created an extension method for &lt;code&gt;Glass.Mapper.Sc.Fields.Image&lt;/code&gt; which returns default image placeholder if image field is Null or empty.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public static Image GetDefaultPlacholderImage(this Image image)&#xA;    {&#xA;        if (string.IsNullOrEmpty(image?.Src))&#xA;        {&#xA;            return new Image { Src = Core.Constants.Constants.PlaceholderImagePath, Alt = string.Empty };&#xA;        }&#xA;        return image;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In cshtml:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@RenderImage(child, x =&amp;gt; x.ListingDetailsImage.GetDefaultPlacholderImage())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2016-12-21T11:00:30.553" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3509" PostTypeId="1" AcceptedAnswerId="3510" CreationDate="2016-12-21T15:23:32.367" Score="7" ViewCount="3456" Body="&lt;p&gt;We have different CM and CD servers&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am generating files on &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt; events. Files will be generated in the website-Root/Dictionary Folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What files? - We are going through each sites dictionary folder and creating JSON files with dictionary key value pairs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am clear on how its generating files on the Content Management server Data folder. As the publish event happened on this server. We are not really worried about performance impact on CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;what i am not clear is how the content delivery network is picking up this publish event (may be some how &lt;code&gt;publish:end:remote&lt;/code&gt; event is letting the CD server know) and generating these files?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there going to be any performance impact on the content delivery server?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2016-12-22T00:13:58.190" LastActivityDate="2016-12-22T00:13:58.190" Title="How do publish end remote events work" Tags="|publishing|performance-optimization|publishing-targets|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3510" PostTypeId="2" ParentId="3509" CreationDate="2016-12-21T15:32:38.393" Score="10" Body="&lt;p&gt;When &lt;code&gt;publish:end:remote&lt;/code&gt; event is raised, there is an entry created in the core database &lt;code&gt;EventQueue&lt;/code&gt; table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the servers (including CD servers) check that table and executes all the handlers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In terms of performance impact, it all depends on the code which generates the files.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2016-12-21T15:32:38.393" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3511" PostTypeId="2" ParentId="3509" CreationDate="2016-12-21T15:34:53.770" Score="14" Body="&lt;p&gt;The communication between the Content Delivery and Content Management box is handled through the Event Queue.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your Content Management instance triggers an event (i.e.: &quot;publish:end:remote&quot;)&lt;/li&gt;&#xA;&lt;li&gt;This event is added to the EventQueue table in the database that is targeted by the event. for the &quot;publish:end:remote&quot; event is usually the &quot;web&quot; database unless you've specified custom publishing targets/databases&lt;/li&gt;&#xA;&lt;li&gt;Every 2 seconds, your CD instance poll the EventQueue table in the database where they retrieve content. If they find an event queued up in the EventQueue table, they attemp to handle it through the handler for the &quot;website&quot; site.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The interval at which you Content Delivery instance poll the EventQueue is configurable in the &lt;code&gt;sitecore.config&lt;/code&gt; file under the &lt;code&gt;/sitecore/eventQueue/processingInterval&lt;/code&gt; node&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2016-12-21T15:34:53.770" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3512" PostTypeId="2" ParentId="221" CreationDate="2016-12-21T16:20:30.873" Score="4" Body="&lt;p&gt;Here is the Sitecore module, if it helps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/H/Handling_Custom_404_page_in_Multilingual_Environment.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/H/Handling_Custom_404_page_in_Multilingual_Environment.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have written a blog post on this, might be useful for someone in future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.navavayas.com/blog/better-way-of-handling-sitecore-404-pages/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.navavayas.com/blog/better-way-of-handling-sitecore-404-pages/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The approach i have taken is :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add a processor after &lt;code&gt;HttpRequest.ItemResolver&lt;/code&gt; on &lt;code&gt;HttpRequestBegin&lt;/code&gt; pipeline.&lt;/li&gt;&#xA;&lt;li&gt;Find if context item is null, if null set 404 content page as context item.&lt;/li&gt;&#xA;&lt;li&gt;Add another processor in the pipeline &lt;code&gt;httpRequestEnd&lt;/code&gt; after &lt;code&gt;EndDiagnostics&lt;/code&gt; processor to set the 404 status code for not found Item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;With this approach, we don't need to set 404 status code on Renderings. As we are setting it at the end of &quot;httpRequestEnd&quot; pipeline. /404 page returns 200 status code as this page suppose to return 200 status code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;works in multi-site/multi-language environment. &lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2018-11-27T10:37:02.147" LastActivityDate="2018-11-27T10:37:02.147" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="3513" PostTypeId="1" CreationDate="2016-12-21T16:37:18.593" Score="7" ViewCount="1232" Body="&lt;p&gt;I have set up some Sitecore extranet users (8.1.160519). I am using MVC AntiForgeryTokens for some posts. The problem is with the login form explicitly. When I am developing I am logged in as Admin and as one of my extrant users. If I log in as the Admin first, then try to login as my extranet user I get: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The provided anti-forgery token was meant for user &quot;sitecore\admin&quot;, but the current user is &quot;extranet\eschofer&quot;.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am tempted to turn off the AntiForgeryToken for the login form, but would prefer to try and mitigate this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already tried setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;AntiForgeryConfig.SuppressIdentityHeuristicChecks = true;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am not sure I have this in the correct place in the Pipeline but at least right now it has no effect. Here is where it currently exists in the initialize pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;initialize&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel&quot;&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.Initialize.ShowXdbInfo, Sitecore.Analytics&quot; patch:source=&quot;Sitecore.Xdb.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.ShowHistory, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.SetGlobals, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Eventing.Remote.RemoteEventMap, Sitecore.Kernel&quot; method=&quot;InitializeFromPipeline&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.LoadHooks, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.InitializeManagers, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.InitializeScheduler, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.InitializeHeartbeat, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.InitializeAgilityPack, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;!-- Processor checks the WebDAV feature configuration on first start. --&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.CheckWebDAVConfiguration, Sitecore.Kernel&quot; patch:source=&quot;Sitecore.WebDAV.config&quot; /&amp;gt;&#xA;&#xA;###### HERE IS MY PATCH FILE ########    &#xA;&#xA;&amp;lt;processor type=&quot;DD.Framework.Pipelines.Initialize.InitializeAntiForgeryTokens, DD.Framework&quot; patch:source=&quot;Delphic.InitializeAntiForgeryToken.config&quot; /&amp;gt;   &#xA;&#xA;#######################################&#xA;&amp;lt;!--&#xA;Replaces the default MediaManager.Cache implementation with one that optimizes images on the way to cache&#xA;--&amp;gt;&#xA;&amp;lt;processor type=&quot;Dianoga.Pipelines.Initialize.MediaCacheReplacer, Dianoga&quot; patch:source=&quot;Dianoga.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;DelawareNorth.App_Start.GlassMapperSc, DelawareNorth&quot; patch:source=&quot;Glass.Mapper.Sc.Start.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.Loader.InitializeAutomation,Sitecore.Analytics.Automation&quot; patch:source=&quot;Sitecore.Analytics.Automation.TimeoutProcessing.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Analytics.Outcome.Pipelines.Initialize.RegisterDataModelExtensions, Sitecore.Analytics.Outcome&quot; patch:source=&quot;Sitecore.Analytics.Outcome.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Analytics.Automation.Pipelines.Initialize.RegisterDataModelExtensions, Sitecore.Analytics.Automation.MongoDB&quot; patch:source=&quot;Sitecore.Analytics.Processing.Aggregation.ProcessingPools.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.Loader.InitializeTracking, Sitecore.Analytics&quot; patch:source=&quot;Sitecore.Analytics.Tracking.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.Loader.InitializeAnalytics, Sitecore.Analytics&quot; patch:source=&quot;Sitecore.Analytics.Tracking.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Apps.TagInjection.Loader.TagInjectionInitializer, Sitecore.Apps.TagInjection&quot; patch:source=&quot;Sitecore.Apps.TagInjection.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Commerce.Pipelines.RegisterConnectTypesWithMongo, Sitecore.Commerce&quot; patch:source=&quot;Sitecore.Commerce.config&quot; /&amp;gt;&#xA;&amp;lt;!--&#xA;DUMP CONFIGURATION FILES Dumps the specified configuration files and allows you to monitor all the changes that are made to the configuration files. Supported child nodes: DumpFolder: The path to the root folder where the config file dump is stored. Each config file dump is stored in a folder or a zip archive. The name of the folder or zip archive has the following format: {date}.{time}. Default value: $(dataFolder)/diagnostics/configuration_history Zip: Boolean value that determines whether each dump should be zipped. Default value: true files: Contains &amp;lt;file&amp;gt; nodes where the &quot;path&quot; attribute value is the path to the configuration file or the folder that should be dumped.&#xA;--&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.DumpConfigurationFiles, Sitecore.Kernel&quot; patch:source=&quot;Sitecore.Diagnostics.config&quot;&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.InitializeJSNLog, Sitecore.Kernel&quot; patch:source=&quot;Sitecore.JSNLog.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeGlobalFilters, Sitecore.Mvc&quot; patch:source=&quot;Sitecore.Mvc.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeControllerFactory, Sitecore.Mvc&quot; patch:source=&quot;Sitecore.Mvc.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Initialize.InitializeCommandRoute, Sitecore.Speak.Mvc&quot; patch:source=&quot;Sitecore.Speak.Mvc.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.ContentTesting.Pipelines.Initialize.RegisterWebApiRoutes, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.config&quot; /&amp;gt;&#xA;&amp;lt;!-- Processor initializes the &quot;Social&quot; MVC area. --&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Social.Client.Mvc.Pipelines.Initialize.RegisterSocialArea, Sitecore.Social.Client.Mvc&quot; patch:source=&quot;Sitecore.Social.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc&quot; patch:source=&quot;Sitecore.Mvc.config&quot; /&amp;gt;&#xA;&amp;lt;!--&#xA;One-time run code that synchronizes a segment if it's workflow state is 'Deployed' but non-existent in db, with DeployDate = UTC.NOW&#xA;--&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsProcessor, Sitecore.ExperienceAnalytics.Client&quot; patch:source=&quot;Sitecore.ExperienceAnalytics.Client.config&quot;&amp;gt;&#xA;&amp;lt;!-- Initializing Experience Analytics Web API --&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.ExperienceAnalytics.Api.Pipelines.Initialize.WebApiInitializer, Sitecore.ExperienceAnalytics&quot; patch:source=&quot;Sitecore.ExperienceAnalytics.WebAPI.config&quot;&amp;gt;&#xA; &amp;lt;!-- Creates client specific http endpoints. --&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Cintel.Client.Initialization.InitializeRoutes, Sitecore.Cintel.Client&quot; patch:source=&quot;Sitecore.ExperienceProfile.Client.config&quot; /&amp;gt;&#xA;&amp;lt;!-- Creates a set of http endpoints that expose functionality of Experience Profile. --&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Cintel.Endpoint.Plumbing.InitializeRoutes, Sitecore.Cintel&quot; patch:source=&quot;Sitecore.ExperienceProfile.config&quot; /&amp;gt;&#xA;&amp;lt;!--&#xA;Maps a specific route for the Beacon Service to allow session state to be enabled as the DMS relies upon the existence of a session.&#xA;--&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.FXM.Service.Pipelines.EnableBeaconServiceSessionStateProcessor, Sitecore.FXM.Service&quot; patch:source=&quot;Sitecore.FXM.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Delphic.Sitecore.Particle.Pipeline.ParticleStart, Delphic.Sitecore.Particle&quot; patch:source=&quot;Particle.config&quot; /&amp;gt;&#xA;&amp;lt;!-- Processor maps remote events. --&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Social.Client.Pipelines.Initialize.RemoteEventMap, Sitecore.Social.Client&quot; patch:source=&quot;Sitecore.Social.config&quot; /&amp;gt;&#xA;&amp;lt;/initialize&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="341" LastEditorUserId="73" LastEditDate="2016-12-21T18:29:56.470" LastActivityDate="2016-12-21T18:29:56.470" Title="AntiForgery Tokens and Sitecore Development" Tags="|security|mvc|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3514" PostTypeId="2" ParentId="3498" CreationDate="2016-12-21T17:12:39.240" Score="3" Body="&lt;p&gt;Thank you everyone for your help! Here's what my process ended up looking like. I hope that it will help others:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I checked the Sitecore Search log, and found that I was getting the same query running multiple times in each second. &lt;/li&gt;&#xA;&lt;li&gt;I then checked my Sitecore (regular) log file and found out that I was getting between 2 and 4 visitors &lt;strong&gt;per second&lt;/strong&gt; to my website (I had some extra logging that helped me identify that).&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Next, I checked my SOLR logs and discovered that my Analytics index was getting hit pretty hard. I was getting the following warning messages:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[sitecore_analytics_index] PERFORMANCE WARNING: Overlapping onDeckSearchers=2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[sitecore_analytics_index] Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This told me that my SOLR server wasn't able to keep up with the amount of traffic that we were throwing at it.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Finally, I went and looked at my IIS logs and discovered that our on-premise Google Search Appliance was getting stuck on indexing a single page of our website.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So, after I excluded that one page from the GSA's indexing, the traffic went back down to what it should have been.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple of important take-aways for me, and I hope that this will be helpful to others:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When you see a lot of traffic on your site, check the Sitecore Search log. It may be able to provide you with some insight into what is going on.&lt;/li&gt;&#xA;&lt;li&gt;When your SOLR server suddenly starts acting like it's under a lot more load, it probably is. Don't assume that there is something wrong with your SOLR server configuration.&lt;/li&gt;&#xA;&lt;li&gt;If you are seeing a lot more traffic to your site, but you are not seeing any increase in your analytics numbers, that could be because there is a robot hitting your site. Sitecore filters the robots out of the numbers. However, the Analytics index still records/processes those because of how Sitecore figures out if a website user is a robot or not.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-12-21T17:12:39.240" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3515" PostTypeId="2" ParentId="3513" CreationDate="2016-12-21T17:20:02.940" Score="7" Body="&lt;p&gt;Use two browsers: when logged in as sitecore\admin and extranet\xxx might break other things as well. Use a chrome-browser and incognito window to truly have a visitor experience. This is better from a security perspective as well.&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2016-12-21T17:20:02.940" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3516" PostTypeId="2" ParentId="3474" CreationDate="2016-12-21T22:18:31.127" Score="3" Body="&lt;h2&gt;Answer Based on Comment Thread&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Based on your Stack Trace, it appears that while some content items were deleted, potentially, other items needed for the successful operation of the sitecore Powershell Extension module were also removed inadvertently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Disabling the module, should make the error go away.  If that is the case, you might try reinstalling the Powershell Module to see if any items that it needs were accidently removed.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Bulk Deleting of Items&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Anytime I am in the process of deleting a bulk sum of items like this, I always make an effort to take a backup of the master and/or web database so that in the event of an issue like this, I can restore to a functional database, and reassess what I'm asking Sitecore to delete. In this case, it seems that it was just the removal of something that Powershell is expecting. However, in your mind, if you are &lt;em&gt;just removing content items&lt;/em&gt; it's clear to me that something else was deleted.  That begs the question, what else might have been deleted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Rule of Thumb:&lt;/strong&gt; Always have backups handy. =)&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2016-12-22T03:19:51.220" LastActivityDate="2016-12-22T03:19:51.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3517" PostTypeId="1" CreationDate="2016-12-22T06:04:44.690" Score="3" ViewCount="1155" Body="&lt;p&gt;We have created an alias item from /sitecore/templates/System/Alias. We need to use different url for different languages. To do this we have made &quot;Linked item&quot; item not shared. but it is picking the link from English version item only even for other languages also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please suggest what can be the possible reason and solution?&lt;/p&gt;&#xA;" OwnerUserId="1276" LastActivityDate="2016-12-22T21:06:08.307" Title="Alias are not coming from language specific item version" Tags="|links|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3518" PostTypeId="2" ParentId="3517" CreationDate="2016-12-22T06:11:12.427" Score="4" Body="&lt;p&gt;You need to extend Sitecore.Data.AliasResolver class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to modify just this method in this class: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual LinkField this[string alias]&#xA;    {&#xA;        get&#xA;        {&#xA;            Error.AssertString(alias, &quot;alias&quot;, true);&#xA;            if (alias.Length &amp;gt; 0)&#xA;            {&#xA;                Item item = ItemManager.GetItem(FileUtil.MakePath(&quot;/sitecore/system/aliases&quot;, alias, '/'), Language.Invariant, Version.First, this.m_database, SecurityCheck.Disable);&#xA;                if (item != null)&#xA;                {&#xA;                    return item.Fields[&quot;linked item&quot;];&#xA;                }&#xA;            }&#xA;            return null;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please modify this line : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Item item = ItemManager.GetItem(FileUtil.MakePath(&quot;/sitecore/system/aliases&quot;, alias, '/'), Sitecore.Context.Language, Version.First, this.m_database, SecurityCheck.Disable);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After you need to extend Sitecore.Pipelines.HttpRequest.AliasResolver . You need to override entire class because it has &lt;strong&gt;ProcessItem&lt;/strong&gt; and &lt;strong&gt;ProcessExternalUrl&lt;/strong&gt; private methods. In this methods you need to use your custom alias resolver not the default Sitecore AliasResolver class.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2016-12-22T06:18:18.620" LastActivityDate="2016-12-22T06:18:18.620" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3519" PostTypeId="2" ParentId="3517" CreationDate="2016-12-22T06:20:02.010" Score="4" Body="&lt;p&gt;Here is an explanation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reason:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;'Linked item' field of the 'Alias' template was designed to be shared in all languages. For this, the invariant language is used to retrieve alias items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make the 'Linked item' field unshared (versioned or unversioned) requires some changes in AliasResolver pipeline in addition to make it not shared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make changes, you need to execute following steps to resolve your issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create your own implementation of AliasReolver pipeline that handles the issue of invariant language. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Following is the default implementation of ProcessItem. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private bool ProcessItem(HttpRequestArgs args)&#xA;        {&#xA;            ID targetID = Context.Database.Aliases.GetTargetID(args.LocalPath);&#xA;            if (!targetID.IsNull)&#xA;            {&#xA;                Item item = args.GetItem(targetID);&#xA;                if (item != null)&#xA;                {&#xA;                    this.ProcessItem(args, item);&#xA;                }&#xA;                return true;&#xA;            }&#xA;            Tracer.Error(&quot;An alias for \&quot;&quot; + args.LocalPath + &quot;\&quot; exists, but points to a non-existing item.&quot;);&#xA;            return false;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to change the implementation to get the right targetID based on language.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, I have modified default implementation to an extent, I have copied the complete default implementation of AliasResolver and changed ProcessItem to get right language item version. You may need to alter this implementation according to your alias path or better way. It is an idea as we have also encountered this problem in past.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    using Sitecore;&#xA;    using Sitecore.Configuration;&#xA;    using Sitecore.Data;&#xA;    using Sitecore.Data.Items;&#xA;    using Sitecore.Diagnostics;&#xA;    using System;&#xA;    using Sitecore.Data.Fields;&#xA;    using Sitecore.Data.Managers;&#xA;    using Sitecore.Globalization;&#xA;    using Sitecore.IO;&#xA;    using Sitecore.SecurityModel;&#xA;    using Sitecore.Web;&#xA;    using System.Reflection;&#xA;&#xA;public class AliasResolver : HttpRequestProcessor&#xA;    {&#xA;        public override void Process(HttpRequestArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            if (!Settings.AliasesActive)&#xA;            {&#xA;                Tracer.Warning(&quot;Aliases are not active.&quot;);&#xA;            }&#xA;            else&#xA;            {&#xA;                Database database = Context.Database;&#xA;                if (database == null)&#xA;                {&#xA;                    Tracer.Warning(&quot;There is no context database in AliasResover.&quot;);&#xA;                }&#xA;                else&#xA;                {&#xA;                    Profiler.StartOperation(&quot;Resolve alias.&quot;);&#xA;                    if (database.Aliases.Exists(args.LocalPath) &amp;amp;&amp;amp; !this.ProcessItem(args))&#xA;                    {&#xA;                        this.ProcessExternalUrl(args);&#xA;                    }&#xA;                    Profiler.EndOperation();&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        private void ProcessExternalUrl(HttpRequestArgs args)&#xA;        {&#xA;            string targetUrl = Context.Database.Aliases.GetTargetUrl(args.LocalPath);&#xA;            if (targetUrl.Length &amp;gt; 0)&#xA;            {&#xA;                this.ProcessExternalUrl(targetUrl);&#xA;            }&#xA;        }&#xA;&#xA;        private void ProcessExternalUrl(string path)&#xA;        {&#xA;            if (Context.Page.FilePath.Length &amp;lt;= 0)&#xA;            {&#xA;                Context.Page.FilePath = path;&#xA;            }&#xA;        }&#xA;&#xA;        private bool ProcessItem(HttpRequestArgs args)&#xA;        {&#xA;            //ID targetID = Context.Database.Aliases.GetTargetID(args.LocalPath);&#xA;&#xA;            Item item = ItemManager.GetItem(FileUtil.MakePath(&quot;/sitecore/system/aliases&quot;, args.LocalPath, '/'), Sitecore.Context.Language, Sitecore.Data.Version.First, &#xA;&#xA;Context.Database, SecurityCheck.Disable);&#xA;&#xA;            LinkField field = item.Fields[&quot;Linked Item&quot;];&#xA;            ID targetID = field.TargetItem.ID;&#xA;&#xA;            if (!targetID.IsNull)&#xA;            {&#xA;                Item target = args.GetItem(targetID);&#xA;                if (target != null)&#xA;                {&#xA;                    this.ProcessItem(args, target);&#xA;                }&#xA;                return true;&#xA;            }&#xA;            Tracer.Error(&quot;An alias for \&quot;&quot; + args.LocalPath + &quot;\&quot; exists, but points to a non-existing item.&quot;);&#xA;            return false;&#xA;        }&#xA;&#xA;        private void ProcessItem(HttpRequestArgs args, Item target)&#xA;        {&#xA;            if (Context.Item == null)&#xA;            {&#xA;                Context.Item = target;&#xA;                Tracer.Info(string.Concat(new object[] { &quot;Using alias for \&quot;&quot;, args.LocalPath, &quot;\&quot; which points to \&quot;&quot;, target.ID, &quot;\&quot;&quot; }));&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Patch your class with default one and insert a new line that reference your custom AliasResolver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Hope it works for you.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-12-22T06:20:02.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3520" PostTypeId="1" AcceptedAnswerId="3523" CreationDate="2016-12-22T07:09:49.547" Score="-2" ViewCount="531" Body="&lt;p&gt;I am running Sitecore 8.0 on my development machine but I am not seeing the ribbon in the Content Editor anymore. I haven't made any drastic changes to my environment in the last week, except minor code changes to layouts/renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm also not seeing any Javascript errors in Fiddler or Chrome console. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is not with collapsed ribbon either. The ribbon appears with full height and width but doesn't show anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone seen this before?&lt;/p&gt;&#xA;" OwnerUserId="1073" LastEditorUserId="1073" LastEditDate="2016-12-22T15:30:32.523" LastActivityDate="2016-12-22T19:10:38.927" Title="Sitecore ribbon doesn't show up" Tags="|content-editor|ribbon|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="3521" PostTypeId="1" AcceptedAnswerId="3579" CreationDate="2016-12-22T07:40:10.050" Score="3" ViewCount="1002" Body="&lt;p&gt;I have some fields hidden [required fields] in WFFM forms based on checkbox selection. My requirement is it should allow forms to submit while those fields hidden.If it should validate required field if those field display. My jquery validation js file have default setting ignore:hidden option. But still while submit it refreshing my page and not submitting and validating those hidden field and shows error message. Can you please guide how to solve this problem. I am using sitecore 8 WFFM update 4.&lt;/p&gt;&#xA;" OwnerUserId="1093" LastEditorUserId="2890" LastEditDate="2018-02-14T18:38:29.790" LastActivityDate="2018-02-14T18:38:29.790" Title="Disable validation in WFFM forms, if required fields are in hidden mode" Tags="|wffm|validation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3522" PostTypeId="2" ParentId="3520" CreationDate="2016-12-22T07:52:34.297" Score="-1" Body="&lt;p&gt;Please check toggle ribbon at right side&lt;a href=&quot;https://i.stack.imgur.com/bsIrs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bsIrs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2016-12-22T07:52:34.297" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3523" PostTypeId="2" ParentId="3520" CreationDate="2016-12-22T08:58:17.130" Score="0" Body="&lt;p&gt;if your ribbon is still not displayed with 'toggle', you have to check the 'sc_lang' querystring in the URL. it should '?sc_lang=en' by default.&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2016-12-22T08:58:17.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3524" PostTypeId="2" ParentId="3482" CreationDate="2016-12-22T09:27:45.750" Score="5" Body="&lt;p&gt;As far I see you have 2 sites with same structure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On your Datasource you make a small mistake, your query must be :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;query:./ancestor-or-self::*[@@templatename='Site']/Data/FolderHeWantsToChose&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A droptree is pointing to an item not to childs of an item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see Datasource Properies of class Sitecore.Shell.Applications.ContentEditor.Tree (this is used for Droptree) : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public string Source&#xA;    {&#xA;        get&#xA;        {&#xA;            return StringUtil.GetString(new string[]&#xA;            {&#xA;                this._source&#xA;            });&#xA;        }&#xA;        set&#xA;        {&#xA;            Assert.ArgumentNotNull(value, &quot;value&quot;);&#xA;            if (!value.StartsWith(&quot;query:&quot;, StringComparison.InvariantCulture))&#xA;            {&#xA;                this._source = value;&#xA;                return;&#xA;            }&#xA;            Item item = Client.ContentDatabase.GetItem(this.ItemID);&#xA;            if (item == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;            Item item2 = item.Axes.SelectSingleItem(value.Substring(&quot;query:&quot;.Length));&#xA;            if (item2 == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;            this._source = item2.ID.ToString();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2016-12-22T09:27:45.750" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3525" PostTypeId="1" AcceptedAnswerId="3526" CreationDate="2016-12-22T10:11:56.277" Score="3" ViewCount="1258" Body="&lt;p&gt;For testing purposes we would like to create publish and remove some items in Sitecore using a remote testing- client in C#. Sitecore.Services.Client api seems the most logical way to create and delete items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But how can I publish an item remotely?&lt;/p&gt;&#xA;" OwnerUserId="924" LastEditorUserId="73" LastEditDate="2017-02-10T23:14:36.040" LastActivityDate="2019-07-09T14:19:59.310" Title="publish item remotely using c#" Tags="|webapi|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3526" PostTypeId="2" ParentId="3525" CreationDate="2016-12-22T10:26:51.413" Score="3" Body="&lt;p&gt;An easy option would be to create your own webapi controller and create an action that does the publish, using the Sitecore API: &lt;code&gt;Sitecore.Publishing.PublishManager.PublishItem(...)&lt;/code&gt; You can pass the item id as a parameter and fetch it from the master database. Other options for the Publish function can be parameterized as well, depending on how flexible you want/need it.&lt;/p&gt;&#xA;&lt;p&gt;Just be careful that not everyone can start publishing your items, think about security ;)&lt;/p&gt;&#xA;&lt;p&gt;As you are using the SSC, it should be possible to add custom actions to it: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/use_the_restful_api_for_the_entityservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/use_the_restful_api_for_the_entityservice&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Edit: apparently Mike Robbins already blogged on how to add a custom action to your SSC: &lt;a href=&quot;https://mikerobbins.co.uk/2015/03/20/sitecore-entity-service-ssc-custom-controller-action/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mikerobbins.co.uk/2015/03/20/sitecore-entity-service-ssc-custom-controller-action/&lt;/a&gt; - so you can create a custom action and use the Publish method from the Sitecore API in it.&lt;/p&gt;&#xA;&lt;p&gt;Some info from the blog:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Entity Service is very flexible allowing you to extend the service&#xA;controller with additional actions. To add an additional action it is&#xA;as simple as adding a new function to the service controller, and&#xA;decorating it with an ActionName and the action type such as HttpGet&lt;/p&gt;&#xA;&lt;p&gt;If you like the repository pattern that Sitecore have put in place&#xA;with Entity Service using the IRepository interface&#xA;and rather keep all the logic of my controller in a single place (in&#xA;the repository): update the repository to include the extra functional&#xA;we want to add to the Entity Service.&lt;/p&gt;&#xA;&lt;p&gt;With custom controller actions in Entity Service, the routing is&#xA;configured to respond to&#xA;{Controller-Namespace}/{Controller}/{ID}/{CustomActionName}. If you do&#xA;not include in an ID  in the URL, Entity Service will not resolve to&#xA;your custom controller action. Uou can then call your controller by&#xA;using the prefixed of “/sitecore/api/ssc”.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-22T12:54:00.987" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3527" PostTypeId="1" CreationDate="2016-12-22T14:34:07.510" Score="4" ViewCount="356" Body="&lt;p&gt;Before, we would use the site health in the analytics area to check 404 error reports. This has been removed in 8.2, so what is the expected way to get this information?&lt;/p&gt;&#xA;" OwnerUserId="348" LastActivityDate="2016-12-28T11:45:50.107" Title="Sitecore 404 reporting in 8.2" Tags="|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3528" PostTypeId="1" AcceptedAnswerId="3529" CreationDate="2016-12-22T14:40:49.510" Score="8" ViewCount="1820" Body="&lt;p&gt;I am trying to add a new component into a sitecore page using the Experience Editor. I want my component to read from a datasource item. I want to be able to create content items (as datasource) from the experience editor, however the 'Create New Content' is disabled, why is that?&#xA;Sitecore 8.1 Update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dp3ne.png&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dp3ne.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2016-12-22T15:02:19.823" Title="Why is 'Create New Content' disabled" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3529" PostTypeId="2" ParentId="3528" CreationDate="2016-12-22T14:56:20.913" Score="10" Body="&lt;p&gt;This is normal behaviour if you didn't set Datasource Template for your rendering. If you don't set the template is it normal to not enable that button because you don't know what kind of template your component support like a datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check this link to find more information : &lt;a href=&quot;https://varunvns.wordpress.com/2015/04/28/page-editor-experience-set-the-datasource-template-for-the-presentation-component/&quot;&gt;https://varunvns.wordpress.com/2015/04/28/page-editor-experience-set-the-datasource-template-for-the-presentation-component/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2016-12-22T15:02:19.823" LastActivityDate="2016-12-22T15:02:19.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3531" PostTypeId="1" CreationDate="2016-12-22T15:04:15.433" Score="0" ViewCount="519" Body="&lt;p&gt;I may have been out of Web Forms for two long. I need to implement dynamic placeholders for web forms. I am trying to use &lt;a href=&quot;http://fortis.ws/fortis-collection/dynamic-placeholders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Fortis'&lt;/a&gt; version of it, but it has very little documentation around it. The MVC side works great.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone give me some information on how to implement it with web forms?&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-01-05T04:00:39.120" Title="Form Dynamic Placeholder use" Tags="|dynamic-placeholder|fortis|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3532" PostTypeId="1" CreationDate="2016-12-22T17:06:07.497" Score="10" ViewCount="1206" Body="&lt;p&gt;I am getting this error when trying to access a Sitecore website. Here's a screenshot of the complete error message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1kocG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1kocG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It probably has to do with configuring Solr to work with Sitecore. Does anyone have any idea what the source of the problem might be?&lt;/p&gt;&#xA;" OwnerUserId="1327" LastActivityDate="2017-10-26T20:06:23.350" Title="SearchConfiguration is not configured correctly. ContentSearchConfiguration was expected but System.String was returned" Tags="|configuration|solr|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3533" PostTypeId="2" ParentId="3532" CreationDate="2016-12-22T17:30:44.983" Score="7" Body="&lt;p&gt;I'm not sure what version of Sitecore you are using but have you checked the following steps?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;All Lucene config files (&lt;code&gt;Sitecore.ContentSearch.Lucene.*&lt;/code&gt;) have been renamed to .disabled in wwwroot\\App_Config\Include.&lt;/li&gt;&#xA;&lt;li&gt;All Solr configs are enabled, those that follow this pattern: &lt;code&gt;Sitecore.ContentSearch.Solr.*&lt;/code&gt; (there is a good script for this here: &lt;a href=&quot;https://gist.github.com/patrickperrone/59b8745ee8b8ff9045b5&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/patrickperrone/59b8745ee8b8ff9045b5&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;You have set the value of &lt;code&gt;ContentSearch.Solr.ServiceBaseAddress&lt;/code&gt; and &lt;code&gt;ContentSearch.Provider&lt;/code&gt; is set to &lt;code&gt;&quot;Solr&quot;&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;You have set the Solr processor to &lt;code&gt;&quot;Sitecore.ContentSearch.SolrProvider.CastleWindsorIntegration.WindsorInitializeSolrProvider&quot;&lt;/code&gt; here: &lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Rebuild your indexes&lt;/li&gt;&#xA;&lt;li&gt;Check your custom indexes and custom search index configuration &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;More info here:&lt;/strong&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/walkthrough_setting_up_solr#_Configuring_Sitecore_to&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/walkthrough_setting_up_solr#_Configuring_Sitecore_to&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is also a bit out of date for the latest version of Sitecore but is a nice walk-through:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://born4joy.wordpress.com/2015/09/03/installation-and-configuration-of-solr-for-sitecore-8/&quot; rel=&quot;noreferrer&quot;&gt;https://born4joy.wordpress.com/2015/09/03/installation-and-configuration-of-solr-for-sitecore-8/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One other thing worth checking is how you are configuring your IOC for Solr, it can be done like so in the Global.asax:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Application Language=’C#’ Inherits=”Sitecore.ContentSearch.SolrProvider.CastleWindsorIntegration.WindsorApplication” %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In our 8.1 site We are doing this via WebActivatorEx instead but it does the same thing.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2016-12-22T17:39:50.820" LastActivityDate="2016-12-22T17:39:50.820" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3535" PostTypeId="2" ParentId="3517" CreationDate="2016-12-22T19:14:40.430" Score="0" Body="&lt;p&gt;Please take the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create the item in specific language in which you want to point&#xA;through the aliases&lt;/li&gt;&#xA;&lt;li&gt;Also create the alias in the specific language also. By default it will get created in en-US but please create in specific language&#xA;instead of all English language&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="814" LastEditorUserId="237" LastEditDate="2016-12-22T21:06:08.307" LastActivityDate="2016-12-22T21:06:08.307" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3536" PostTypeId="1" AcceptedAnswerId="3545" CreationDate="2016-12-22T20:26:04.013" Score="6" ViewCount="558" Body="&lt;p&gt;I have changed update strategy for Master database to be &quot;manual&quot; rather than &quot;sync&quot;, which to my understanding should not update &quot;master&quot; when data changes in master database. I can see in crawling log that strategy is initiated properly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;[Index=sitecore_master_index] Initializing ManualStrategy. Index will have to be rebuilt manually&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I can see in the logs the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Starting update of index for the database 'master' (6 pending).&#xA;Update of index for the database 'master' done.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something or that's something normal?&lt;/p&gt;&#xA;" OwnerUserId="1329" LastActivityDate="2020-01-20T20:34:06.227" Title="Master index updated even though manual strategy is set" Tags="|solr|content-search|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3537" PostTypeId="1" CreationDate="2016-12-22T23:00:42.967" Score="6" ViewCount="315" Body="&lt;p&gt;I'm trying to install SIM 14. 160526 Update-3. When I run the wizard it gets to the &quot;File System Permissions&quot; screen and it says &quot;Make sure the NETWORK SERVICE user account has full access to the following folder: c:\inetpub\wwwroot&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NETWORK SERVICE does have Full access to c:\inetpub\wwwroot but when I click on &quot;Next&quot; it says I probably don't have proper permissions set and to click on &quot;Grant&quot;. When I click on &quot;Grant&quot; two popups appear. One says &quot;Applying security changes&quot; and has a progress bar and another says &quot;Permissions were successfully set&quot;. It's weird that they both come up at exactly the same time. If I click OK on the &quot;Permissions were successfully set&quot; dialog box, the two dialogs disappear but then when I'm back where I started. I click &quot;Next&quot; I get the same message that I probably don't have proper permissions set etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody know how to resolve this? I have Sitecore 8.2 and I have a two-VM server setup. One with SQL Server 2014 on which I installed sitecore DB and another VM for the sitecore website. I am installing SIM on the sitecore website VM. I saw some posts where it said this is really a SQL Server permissions problem. The connection string the wizard is picking up is correct and I tried running SQL Server logged on as NETWORK SERVICE, Local Service and the Domain Administrator account but none made any difference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd really appreciate any help with this!&lt;/p&gt;&#xA;" OwnerUserId="1328" LastActivityDate="2016-12-29T10:53:00.777" Title="Trying to Install SIM 1.4 rev 160526 Update 3" Tags="|sim|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3538" PostTypeId="2" ParentId="3537" CreationDate="2016-12-23T02:17:14.323" Score="2" Body="&lt;p&gt;Since you are installing this on two separate VMs you have two options. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) If the VMs are in the same domain, you must grant the NetworkService of the computer running SIM access the VMs and run the MSSQLSERVER Service as NetworkService on the computer running SIM. I do not recommend this because you are giving a system account access across servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) The better solution is to change the permissions that the website and SQL are running under. To do this, you will need to change it under Advanced Settings under SIM.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HYdxw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HYdxw.png&quot; alt=&quot;Sitecore SIM Configuration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select Advanced Settings&#xA;Under Advanced Settings, you can configure several options. Take a look at &quot;Core/Install/WebServer/Identity&quot;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZVCx5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZVCx5.png&quot; alt=&quot;Sitecore SIM Advanced Configuration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more on advanced configuration of SIM here &lt;a href=&quot;https://github.com/sitecore/sitecore-instance-manager/wiki/Advanced&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sitecore/sitecore-instance-manager/wiki/Advanced&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1192" LastEditorUserId="1192" LastEditDate="2016-12-23T14:09:26.383" LastActivityDate="2016-12-23T14:09:26.383" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3539" PostTypeId="2" ParentId="3537" CreationDate="2016-12-23T05:48:26.397" Score="0" Body="&lt;p&gt;Instead of using &quot;Grant&quot; button, please give manual permission to the folder &quot;c:\inetpub\wwwroot&quot;. If you have already tried this then try mapping instances root folder (in SIM settings) to a different location.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2016-12-23T05:48:26.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3540" PostTypeId="1" CreationDate="2016-12-23T07:41:09.113" Score="5" ViewCount="1323" Body="&lt;p&gt;I am doing project in Sitecore MVC. For every view rendering we are giving one data source for model reference but I need to get the field values from multiple items. So can we design the view renderings with multiple data sources?&lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="1192" LastEditDate="2017-01-03T08:11:02.677" LastActivityDate="2017-01-03T08:11:02.677" Title="Can we design the View renderings with multiple data sources?" Tags="|mvc|datasource|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3541" PostTypeId="2" ParentId="3540" CreationDate="2016-12-23T09:09:22.937" Score="3" Body="&lt;p&gt;You are able to use &lt;a href=&quot;https://sitecorecorner.com/2014/07/25/sitecore-parameter-templates/&quot; rel=&quot;nofollow noreferrer&quot;&gt;parameter templates&lt;/a&gt; and specify as much datasource as you need:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new template that uses “/System/Layout/Rendering Parameters/Standard Rendering Parameters” as a base template.&lt;/li&gt;&#xA;&lt;li&gt;Create the template fields (Datasource 2, Datasource 3, etc.) the same way you will do with any normal template. By using Standard Rendering Parameters as a base you wouldn't lose any of the Standard Template behavior your are used to.&lt;/li&gt;&#xA;&lt;li&gt;Attach your new template by using the “Parameters Template” field on your Sublayout.&lt;/li&gt;&#xA;&lt;li&gt;To add some data you just need to add the View rendering to the presentation details and edit its settings.&lt;/li&gt;&#xA;&lt;li&gt;Change your view code to handle multiple templates&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="666" LastActivityDate="2016-12-23T09:09:22.937" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3542" PostTypeId="2" ParentId="3540" CreationDate="2016-12-23T10:02:24.047" Score="10" Body="&lt;p&gt;You could create a new template to create datasource items that bundle your &quot;multiple items&quot; (in separate link type fields, or with a multi-select type field - as you want). This way you are able to set one item as datasource and find all your items on that single datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The benefit of keeping the datasource approach is that datasources can be personalized, unlike rendering parameters. You could also use shared fields if you want, re-use the bundles, ...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2016-12-23T10:02:24.047" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3544" PostTypeId="2" ParentId="3536" CreationDate="2016-12-23T11:08:31.827" Score="2" Body="&lt;p&gt;I have changed my local instance's master index strategy &amp;amp; even I see similar logs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;DATETIME&amp;gt; INFO  HttpModule is being initialized&#xA;ManagedPoolThread &amp;lt;DATETIME&amp;gt; INFO  Starting update of index for the database 'master' (3 pending).&#xA;ManagedPoolThread &amp;lt;DATETIME&amp;gt; INFO  Update of index for the database 'master' done.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I went ahead &amp;amp; tried to search the recently added item from the content editor, the item didn't turn up :)&#xA;I probably think that's the normal behavior &amp;amp; doesn't mean that indexing is actually done for the item that has been added recently. Sitecore by default logs an entry that it processed the strategy that has been configured &amp;amp; doesn't actually index the item :)&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="4539" LastEditDate="2020-01-20T20:34:06.227" LastActivityDate="2020-01-20T20:34:06.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3545" PostTypeId="2" ParentId="3536" CreationDate="2016-12-23T11:14:32.353" Score="4" Body="&lt;p&gt;You are mixing a &lt;strong&gt;Content Search&lt;/strong&gt; index (which indeed you have disabled) with legacy &lt;strong&gt;Sitecore.Search&lt;/strong&gt; database indexes which apparently are still working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to disable Sitecore Legacy indexes you should set the following setting values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Indexing.UpdateInterval&quot; value=&quot;00:00:00&quot;/&amp;gt;&#xA;&amp;lt;setting name=&quot;Indexing.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also you have to remove &lt;code&gt;&amp;lt;indexes&amp;gt;&lt;/code&gt; definitions for each &lt;code&gt;&amp;lt;database&amp;gt;&lt;/code&gt; definition. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It can be done by removing &lt;strong&gt;master&lt;/strong&gt; and &lt;strong&gt;core&lt;/strong&gt; nodes from index locations under the &lt;code&gt;/configuration/sitecore/search/configuration/indexes/index/locations&lt;/code&gt; node in the &lt;strong&gt;Sitecore.config&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-12-23T11:14:32.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3546" PostTypeId="2" ParentId="3505" CreationDate="2016-12-23T12:02:59.630" Score="1" Body="&lt;p&gt;According to feedback from uCommerce forum, this seem to be a known bug which will be fixed in a release January '17&lt;/p&gt;&#xA;" OwnerUserId="827" LastActivityDate="2016-12-23T12:02:59.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3547" PostTypeId="2" ParentId="3537" CreationDate="2016-12-23T14:33:23.890" Score="0" Body="&lt;p&gt;Had the same issue while installing SIM on vm.&#xA;Make sure that you run installer with administrator privileges and your user has the permission to do so&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-12-23T14:33:23.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3548" PostTypeId="1" CreationDate="2016-12-23T15:25:52.020" Score="10" ViewCount="4978" Body="&lt;p&gt;I use sitecore 8.2 and I can't understand the purpose of the &quot;Data source&quot; field on the &quot;View rendering&quot; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems that datasource works only when I statically specify it inside the cshtml file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;/sitecore/layout/renderings/jobs/footercontent&quot;, new {DataSource = &quot;/sitecore/content/Global/Footer&quot;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But if I define the datasource in the &quot;Data source&quot; filed of the view rendering then it stops working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XKrk0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XKrk0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;/sitecore/layout/renderings/jobs/footercontent&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From your experience, why could it happen?&#xA;Shouldn't it work when I dynamically bind the datasource in the &quot;Content Editor&quot;?&lt;/p&gt;&#xA;" OwnerUserId="1331" LastActivityDate="2018-11-15T11:31:05.723" Title="Dynamic data source of the view rendering is not working in sitecore 8.2" Tags="|presentation|datasource|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3549" PostTypeId="2" ParentId="3548" CreationDate="2016-12-23T16:02:53.297" Score="0" Body="&lt;p&gt;When your view rendering is part of your item's presentation then I don't think so you want to explicitly mention data source in cshtml file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might be aware that request could follow in below sequence when view rendering is concerned &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(After HttpRequstPipeline) --&gt; sitecore item (with presentation details) --&gt; sitecore's view rendering --&gt; MVC area 's view rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it clarifies :)&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="2962" LastEditDate="2018-11-15T11:31:05.723" LastActivityDate="2018-11-15T11:31:05.723" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3550" PostTypeId="2" ParentId="3548" CreationDate="2016-12-24T00:55:46.630" Score="0" Body="&lt;p&gt;If you are setting this on the view rendering I'm not sure Sitecore will pick that up by default. I think it will use the page content item as the datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe you need to use something like &lt;code&gt;RenderingContext.Current.Rendering.Item&lt;/code&gt; when calling @Html.Sitecore().Rendering in order to pass the data source you have configured in Sitecore into your rendering.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2016-12-24T00:55:46.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3551" PostTypeId="2" ParentId="2812" CreationDate="2016-12-24T00:55:50.897" Score="1" Body="&lt;p&gt;I'm not sure you could easily just change the Rich Text editor controls with a different editor, but an option you could use would be to create a new custom field, you could call it &quot;Rich Text (Editor Type)&quot; and then when you are configuring the Custom Fields rendering, you could have it pull in a different editor instead of the default telerik editor.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2016-12-24T00:55:50.897" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3552" PostTypeId="2" ParentId="3548" CreationDate="2016-12-24T05:16:31.043" Score="3" Body="&lt;p&gt;You can do it using next code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;       @Html.Sitecore().Rendering(&quot;{240A3624-8600-4A7B-8C07-5846A673F1F0}&quot;, new&#xA;                           {&#xA;                               DataSource = &quot;{7CB5F3A9-F301-44C0-AB73-7A19837DA01C}&quot;&#xA;                           })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;First time is checking if the Rendering has a definition item and it set a datasource if it has a definition item.&#xA;  After it verifies if has a Parameter in the .cshtml and if exist then it override the definition item.&lt;br&gt;&#xA;  Bellow code is used when you use .Rendering helper method &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  protected virtual Rendering GetRendering(string renderingType, object parameters, params string[] defaultValues)&#xA;    {&#xA;        Rendering rendering = new Rendering();&#xA;        rendering.RenderingType = renderingType;&#xA;        for (int i = 0; i &amp;lt; defaultValues.Length - 1; i += 2)&#xA;        {&#xA;            rendering[defaultValues[i]] = defaultValues[i + 1];&#xA;        }&#xA;        if (rendering.RenderingItem != null)&#xA;        {&#xA;            Item innerItem = rendering.RenderingItem.InnerItem;&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;Cacheable&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;Cache_Timeout&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;Cache_VaryByData&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;Cache_VaryByDevice&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;Cache_VaryByLogin&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;CacheKey&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;Cache_VaryByParameters&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;Cache_VaryByQueryString&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;Cache_VaryByUser&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;DataSource&quot;);&#xA;            this.CopyPropertyFromDefinitionItem(rendering, innerItem, &quot;Model&quot;);&#xA;        }&#xA;        if (parameters != null)&#xA;        {&#xA;            Dictionary&amp;lt;string, object&amp;gt; properties = TypeHelper.GetProperties(parameters);&#xA;            properties.Each(delegate(KeyValuePair&amp;lt;string, object&amp;gt; pair)&#xA;            {&#xA;                rendering.Properties[pair.Key] = pair.Value.ValueOrDefault((object o) =&amp;gt; o.ToString());&#xA;            });&#xA;        }&#xA;        return rendering;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried on Sitecore 8.2.1 and it works as expected for me. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2016-12-24T10:25:26.867" LastActivityDate="2016-12-24T10:25:26.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3553" PostTypeId="2" ParentId="3537" CreationDate="2016-12-24T09:13:05.733" Score="0" Body="&lt;p&gt;SIM doesn't​ support distributed installations as far as i'm aware. It has to find SQL Server running in the same machine in order to be able to attach the databases.&#xA;The message is confusing but it is not necessary about rights on that folder as seems to be your case, but rights on SQL&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2016-12-24T09:13:05.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3554" PostTypeId="2" ParentId="3493" CreationDate="2016-12-24T22:32:21.153" Score="2" Body="&lt;p&gt;I've seen this error when logged in to the Sitecore backoffice and then attempting to log into the site as a front-end member in the same browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't believe Sitecore can handle this situation gracefully by default and logs this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Haven't looked at the core code but likely this is likely due to multiple identities on the same auth ticket and Sitecore blindly grabbing the first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you confirm if this is your scenario? Or do you see this error when logging in on separate browsers too?&lt;/p&gt;&#xA;" OwnerUserId="1245" LastActivityDate="2016-12-24T22:32:21.153" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3555" PostTypeId="2" ParentId="2209" CreationDate="2016-12-24T22:42:53.357" Score="0" Body="&lt;p&gt;Not sure if this qualifies as a new answer I apologies but the following things  are possibilities to check... If mentioned before, at least consolidated here.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Clear cookies/ try new browser&lt;/li&gt;&#xA;&lt;li&gt;Disable any redirect to rewrite rules in your web config.&lt;/li&gt;&#xA;&lt;li&gt;Disable any error page logic &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When this has happened to me in the past its been one of the three above that gets me back in business.&lt;/p&gt;&#xA;" OwnerUserId="1245" LastActivityDate="2016-12-24T22:42:53.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3558" PostTypeId="1" AcceptedAnswerId="3562" CreationDate="2016-12-26T06:24:59.840" Score="6" ViewCount="1729" Body="&lt;p&gt;The below query fails and throws exception. &#xA;&lt;code&gt;/sitecore/content/Abcdef/Sites/WXYZ/MNO/Application Contexts/Connect On Demand/Sections/Self Service/*&lt;/code&gt;&#xA;returns &quot;::&quot; expected at position 92.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;where as I am getting results if the query &#xA;&lt;code&gt;/sitecore/content/Abcdef/Sites/WXYZ/MNO/Application Contexts/Connect On Demand/Sections/*&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1333" LastEditorUserId="73" LastEditDate="2016-12-26T15:50:56.680" LastActivityDate="2017-01-05T06:58:56.513" Title="Sitecore Query fails - &quot;::&quot; expected at position 92" Tags="|sitecore-query|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3559" PostTypeId="2" ParentId="3558" CreationDate="2016-12-26T07:17:35.313" Score="3" Body="&lt;p&gt;Can you try this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/content/Abcdef/Sites/WXYZ/MNO/Application Contexts/Connect On Demand/Sections/#Self Service#/*&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which handles escape sequence i.e. space in itemname&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="891" LastEditDate="2016-12-26T07:48:15.273" LastActivityDate="2016-12-26T07:48:15.273" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3560" PostTypeId="2" ParentId="3558" CreationDate="2016-12-26T08:11:41.803" Score="2" Body="&lt;p&gt;Each item that takes part in a query path and has a space(s) should be wrapped in ##.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Abcdef/Sites/WXYZ/MNO/#Application Contexts#/#Connect On Demand#/Sections/#Self Service#/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2016-12-26T08:21:24.440" LastActivityDate="2016-12-26T08:21:24.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3561" PostTypeId="2" ParentId="3548" CreationDate="2016-12-26T09:18:32.557" Score="0" Body="&lt;p&gt;You can either use a rendering as dynamic rendering or static rendering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using rendering as static rendering then you will also need to define data source statically like in your example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@Html.Sitecore().Rendering(&quot;/sitecore/layout/renderings/jobs/footercontent&quot;, new {DataSource = &quot;/sitecore/content/Global/Footer&quot;})&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you want to supply data source through datasource field then you will also need to give placeholder name in other field and use the rendering dynamically like.&#xA;@Html.Sitecore().Placeholder(&quot;MyPlaceholder&quot;)&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2016-12-26T09:18:32.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3562" PostTypeId="2" ParentId="3558" CreationDate="2016-12-26T11:57:16.197" Score="13" Body="&lt;h1&gt;The problem&lt;/h1&gt;&#xA;&lt;p&gt;You are running into one of many inherent problems with using Sitecore Query. The problem is; &lt;code&gt;self&lt;/code&gt; is a reserved word - and therefore /&lt;strong&gt;Self&lt;/strong&gt; Service/ fails.&lt;/p&gt;&#xA;&lt;h1&gt;Workarounds&lt;/h1&gt;&#xA;&lt;p&gt;Now in this instance you can (probably) work around it using some of the suggestions already given. Escape the query like &lt;code&gt;.../#Self Service#/&lt;/code&gt; - but this will only work if you plan to be using a static query where you know the full path in advance.&lt;/p&gt;&#xA;&lt;p&gt;A way around this limitation would be to reconstruct the query like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/*[@'name='Abcdef']/*[@@name='Sites']/etc etc etc/*[@@name='Self Service']/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;But it's not pretty.&lt;/p&gt;&#xA;&lt;h1&gt;Alternative Solution&lt;/h1&gt;&#xA;&lt;p&gt;Or in the case of your example query, replace the Sitecore Query call entirely, with a call to &lt;code&gt;.GetItem(&amp;quot;/sitecore/content/Abcdef/Sites/WXYZ/MNO/Application Contexts/Connect On Demand/Sections/Self Service&amp;quot;)&lt;/code&gt; and &lt;code&gt;.GetChildren()&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h1&gt;References&lt;/h1&gt;&#xA;&lt;p&gt;Reserved words in Sitecore Query:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ancestor&lt;/li&gt;&#xA;&lt;li&gt;and&lt;/li&gt;&#xA;&lt;li&gt;child&lt;/li&gt;&#xA;&lt;li&gt;descendant&lt;/li&gt;&#xA;&lt;li&gt;div&lt;/li&gt;&#xA;&lt;li&gt;false&lt;/li&gt;&#xA;&lt;li&gt;following&lt;/li&gt;&#xA;&lt;li&gt;mod&lt;/li&gt;&#xA;&lt;li&gt;or&lt;/li&gt;&#xA;&lt;li&gt;parent&lt;/li&gt;&#xA;&lt;li&gt;preceding&lt;/li&gt;&#xA;&lt;li&gt;self&lt;/li&gt;&#xA;&lt;li&gt;true&lt;/li&gt;&#xA;&lt;li&gt;xor&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Links:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/3687405/escaping-reserved-words&quot;&gt;https://stackoverflow.com/questions/3687405/escaping-reserved-words&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2016-12-26T11:57:16.197" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3564" PostTypeId="1" CreationDate="2016-12-27T07:39:38.890" Score="8" ViewCount="1005" Body="&lt;p&gt;This is possibly not sitecore related, but since it is a sitecore setup, I'm counting on your expertise&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a strange event happening on one of our clients website&#xA;The website goes down for about an 25 mins every night&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No error's in the sitecore logs at that time&lt;/li&gt;&#xA;&lt;li&gt;The worker process is running since we have events in the logs during the outage like the cacheclearer and index job.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;IIS logs however show a gap during that time:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2016-12-27 02:13:04 10.69.2.5 GET /SomeUrl&#xA;#Software: Microsoft Internet Information Services 7.5&#xA;#Version: 1.0&#xA;#Date: 2016-12-27 02:37:25&#xA;#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken&#xA;2016-12-27 02:37:25 10.69.2.5 GET /SomeUrl&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So my questions are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Any Idea what causes IIS to write a log header line in the middle of the log?&lt;/li&gt;&#xA;&lt;li&gt;If it is a recycle, they why does Sitecore keep running?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="440" LastEditorUserId="73" LastEditDate="2016-12-27T09:53:25.347" LastActivityDate="2017-05-28T22:56:13.277" Title="Sitecore daily outages" Tags="|iis|" AnswerCount="1" CommentCount="11" ClosedDate="2017-05-29T06:33:46.777" ContentLicense="CC BY-SA 3.0" />
  <row Id="3566" PostTypeId="1" AcceptedAnswerId="3567" CreationDate="2016-12-27T13:28:42.927" Score="4" ViewCount="441" Body="&lt;p&gt;In Habitat sample project meta renderings and few similar sort of renderings have been used as dynamic rendering. Shouldn't such renderings be used as static rendering in layout? Is there any specific reasons/benefits to use these renderings as dynamic renderings. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="73" LastEditDate="2016-12-27T16:17:23.457" LastActivityDate="2016-12-27T16:18:39.740" Title="Dynamic vs. Static Renderings in Habitat project" Tags="|presentation|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3567" PostTypeId="2" ParentId="3566" CreationDate="2016-12-27T13:57:09.207" Score="7" Body="&lt;p&gt;This is done in accordance with &lt;a href=&quot;/questions/tagged/helix&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;helix&amp;#39;&quot; rel=&quot;tag&quot;&gt;helix&lt;/a&gt; architectural principles. It states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Avoid statically binding renderings in sub-layouts, but rather bind&#xA;  all renderings to layouts via layout definitions and placeholders.&lt;/strong&gt;&#xA;  Static binding will make the page and solution structure less flexible&#xA;  and introduces multiple maintenance methodologies. Although you might&#xA;  end up with longer lists of renderings in your layout definitions, the&#xA;  centralised Page Type templates (see Template types) and single layout&#xA;  management methodology will prove more maintainable and flexible in&#xA;  the long run.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://helix.sitecore.net/principles/layout/layouts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/layout/layouts.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2016-12-27T16:18:39.740" LastActivityDate="2016-12-27T16:18:39.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3568" PostTypeId="1" AcceptedAnswerId="3569" CreationDate="2016-12-27T18:06:36.657" Score="3" ViewCount="218" Body="&lt;p&gt;In Sitecore 8.1 with an older version of GlassMapper, I had implemented the following code to implement Patial Language Fallback:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/elizabeth_spranzani/posts/partial-language-fallback-and-glass-mapper-v3&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/elizabeth_spranzani/posts/partial-language-fallback-and-glass-mapper-v3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am now upgrading to Sitecore 8.2 Update 1 and GlassMapper 4.3. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am attempting to refactor the code for the changes to pipeline in GlassMapper 4.3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before we had some logic similar to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (scContext.Item == null)&#xA;{&#xA;    args.AbortPipeline();&#xA;    return;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It appears that AbortPipeline is no longer available. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it no longer needed due to the change in the way pipelines are handled or is there another method?&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2016-12-28T04:17:40.510" Title="AbortPipeline() in GlassMapper 4.3.0.280?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3569" PostTypeId="2" ParentId="3568" CreationDate="2016-12-27T19:58:53.890" Score="4" Body="&lt;p&gt;They have refactored the way pipelines work in the 4.3. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Quote from the release notes:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Normally you can just override the &lt;strong&gt;Execute&lt;/strong&gt; method and when you are ready to call the next task in the pipeline you simple call &lt;strong&gt;base.Execute&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Any tasks that you have already created pre version 4.3 will need to&#xA;  be updated to work with this approach.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So basically, you have to call &lt;strong&gt;base.Execute&lt;/strong&gt; every time you want to continue the pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that in order to abort it you just don't call the &lt;strong&gt;base.Execute&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check the release notes here&#xA;&lt;a href=&quot;http://www.glass.lu/Blog/Release4-3&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/Blog/Release4-3&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-12-27T19:58:53.890" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3570" PostTypeId="1" CreationDate="2016-12-27T21:04:13.580" Score="5" ViewCount="345" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SGj87.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SGj87.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When selecting the action Send Email Campaign Message for an engagement plan in design phase, the dialog box opened up, contains all Email Campaign managers for all sites, &lt;strong&gt;but does not include emails created under it&lt;/strong&gt;. It only shows redirects in email campaign manager. Not sure why this is not working in Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I set the data I see here? &#xA;The Engagement Automation Action: Send Email Campaign message&#xA;has a Editor Url that gets its dialog with options the value is as shown below&#xA;&lt;a href=&quot;http://sitecore/shell/default.aspx?xmlcontrol=EmailCampaign.SelectStandardMessage&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore/shell/default.aspx?xmlcontrol=EmailCampaign.SelectStandardMessage&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was not able to find the control. Don't know how to solve this. Not able to send any emails as an engagement action.&lt;/p&gt;&#xA;" OwnerUserId="1234" LastEditorDisplayName="user62" LastEditDate="2017-04-17T17:48:16.390" LastActivityDate="2017-04-17T17:48:16.390" Title="Cannot send emails as an Engagement Action" Tags="|exm|engagement-plans|" AnswerCount="2" CommentCount="3" ClosedDate="2017-04-18T11:49:00.483" ContentLicense="CC BY-SA 3.0" />
  <row Id="3573" PostTypeId="1" AcceptedAnswerId="3574" CreationDate="2016-12-28T08:41:10.230" Score="-5" ViewCount="1336" Body="&lt;p&gt;[![Ideal Session Timeout in Powershell console][1]][1]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IFsPP.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IFsPP.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I have noticed this few times before &amp;amp; I have intentionally recreated today to confirm on how console would respond when there is a session timeout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other dialogs, windows or applications/modules in Sitecore would redirect to login page when we have session timeout case &amp;amp; I was expecting similar behavior with PowerShell console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please correct me if I am missing or misconception on this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI: I have explicitly set SessionState timeout to 1 min :(&#xA;*Does this behavior applies to Powershell ISE ?&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="70" LastEditDate="2019-03-19T16:46:18.547" LastActivityDate="2019-03-19T16:46:18.547" Title="Session Timeout in sitecore powershell" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="3574" PostTypeId="2" ParentId="3573" CreationDate="2016-12-28T10:12:27.967" Score="3" Body="&lt;p&gt;This is expected behaviour.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Powershell Console is designed, so that it can operate and &quot;reconnect&quot; to sessions that have otherwise timed out.  It is not directly linked to your Sitecore Desktop session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(I'm not a guru when it comes to SPE, but that's how I read it).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;http://blog.najmanowicz.com/2014/10/26/sitecore-powershell-extensions-persistent-sessions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.najmanowicz.com/2014/10/26/sitecore-powershell-extensions-persistent-sessions/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where it states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This is because the Console enables you to keep continuity between the&#xA;  commands you execute and in fact is handled completely differently&#xA;  than the other interactions – through a web service.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="73" LastActivityDate="2016-12-28T10:12:27.967" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3575" PostTypeId="2" ParentId="3527" CreationDate="2016-12-28T11:45:50.107" Score="2" Body="&lt;p&gt;In terms of what we are supposed to do now, I'm not sure. &#xA;As for the Site Health, it's still there but it has been hidden. There is a tutorial on how to get it back. &#xA;&lt;a href=&quot;http://blogs.benjaminvidal.net/posts/2015/enabling-engagement-analytics-in-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blogs.benjaminvidal.net/posts/2015/enabling-engagement-analytics-in-sitecore-8/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And also, how to trigger the 404 reporting&#xA;&lt;a href=&quot;http://blogs.benjaminvidal.net/posts/2015/sitecore8-site-health-reports-not-found-urls-report/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blogs.benjaminvidal.net/posts/2015/sitecore8-site-health-reports-not-found-urls-report/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="348" LastActivityDate="2016-12-28T11:45:50.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3577" PostTypeId="1" AcceptedAnswerId="3582" CreationDate="2016-12-28T16:02:26.970" Score="10" ViewCount="563" Body="&lt;p&gt;I am using Sitecore.NET 8.1 (rev. 160519) + Web Forms for Marketers 8.1.rev. 160523. I created a sample form with 12 sections and 1 single-line text field in each section (total: 12 text-box fields).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I am debugging the list of field/value in a custom Save Action in &quot;AdaptedResultList&quot;, the field value of second Section's field + field value of eleventh section's field is getting replaced with value of 12th section's field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I keep sections upto only 10 then I am perfectly getting the value .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is Sitecore WFFM restricted up to 10 sections?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Not Working If :-   Working If :- &#xA;Sec 1 :- Field 1    Sec 1 :- Field 1&#xA;Sec 2 :- Field 2    Sec 2 :- Field 2&#xA;Sec 3 :- Field 3    Sec 3 :- Field 3&#xA;Sec 4 :- Field 4    Sec 4 :- Field 4&#xA;Sec 5 :- Field 5    Sec 5 :- Field 5&#xA;Sec 6 :- Field 6    Sec 6 :- Field 6&#xA;Sec 7 :- Field 7    Sec 7 :- Field 7&#xA;Sec 8 :- Field 8    Sec 8 :- Field 8&#xA;Sec 9 :- Field 9    Sec 9 :- Field 9&#xA;Sec 10:- Field 10   Sec 10:- Field 10,Field 11,Field 12&#xA;Sec 11 :- Field 11  &#xA;Sec 12 :- Field 12 &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="237" LastEditDate="2016-12-28T20:19:51.003" LastActivityDate="2016-12-29T08:03:03.290" Title="Are sections inside Sitecore Webforms for Marketers restricted to 10?" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3578" PostTypeId="1" AcceptedAnswerId="3580" CreationDate="2016-12-28T16:13:29.647" Score="5" ViewCount="984" Body="&lt;p&gt;We have a multi server environment with 2 CM and 4 CD servers.&#xA;We are working on Sitecore 8.1 Update3 and WFFM for 8.1 update 3.&lt;/p&gt;&#xA;&lt;p&gt;The issue we are facing is related to the WFFM File Upload control not working on the CD servers.&lt;/p&gt;&#xA;&lt;p&gt;The custom Save Action code is calling Execute method but the CD servers are actually not able to read the Uploaded File. I checked in the CM server and the uploaded file is actually saved in the Master Database, but the CD servers are unable to process the request since the files are not getting saved in the Web database.&lt;/p&gt;&#xA;&lt;p&gt;Currently, we are receiving error message stating –&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;6024 15:07:07 INFO  AUDIT (extranet\Anonymous): [WFFM] Form&#xA;{604586CC-BA15-4B08-9C09-599E6F61EA77} is saving to db&lt;/p&gt;&#xA;&lt;p&gt;6024 15:07:07&#xA;WARN  [WFFM] Index was outside the bounds of the array. Exception:&#xA;System.IndexOutOfRangeException Message: Index was outside the bounds&#xA;of the array. Source: TW.Web    at&#xA;TW.Web.WffmForm.SupplierContact.Execute(ID formId, AdaptedResultList&#xA;adaptedFields, ActionCallContext actionCallContext, Object[] data)&lt;br /&gt;&#xA;at&#xA;Sitecore.Forms.Core.Dependencies.DefaultImplActionExecutor.ExecuteSaving(ID&#xA;formID, ControlResult[] fields, IActionDefinition[] actionDefinitions,&#xA;Boolean simpleAdapt, ID sessionID)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Can any one please help me in making the config updates that is responsible for the CD servers to read the Uploaded WFFM Files.&lt;/p&gt;&#xA;&lt;p&gt;I have already made all the updates available on the WFFM installtion guide for multi server setup.&lt;/p&gt;&#xA;" OwnerUserId="1339" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-03-28T08:48:52.710" Title="Sitecore - WFFM - File Upload not working in CD enviornment" Tags="|wffm|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3579" PostTypeId="2" ParentId="3521" CreationDate="2016-12-28T16:16:07.773" Score="3" Body="&lt;p&gt;Currently in WFFM, this is not possible without custom JavaScript. You will need to disable validation on the fields you want to validate. Then write custom client side validation when the field is visible.&lt;/p&gt;&#xA;" OwnerUserId="1192" LastActivityDate="2016-12-28T16:16:07.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3580" PostTypeId="2" ParentId="3578" CreationDate="2016-12-28T16:36:19.493" Score="4" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;The custom Save Action code is calling Execute method but the CD&#xA;  servers are actually not able to read the Uploaded File. I checked in&#xA;  the CM server and the uploaded file is actually saved in the Master&#xA;  Database, but the CD servers are unable to process the request since&#xA;  the files are not getting saved in the Web database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Make sure of two things:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Media is stored in database (not as files) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) You publish the file from master to web after upload OR save it to both databases&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-12-28T16:36:19.493" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3581" PostTypeId="1" AcceptedAnswerId="3589" CreationDate="2016-12-28T20:06:09.837" Score="5" ViewCount="7867" Body="&lt;p&gt;I have two renderings. Let's call them &lt;code&gt;Form Block&lt;/code&gt; and &lt;code&gt;Complete Form&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Complete Form&lt;/code&gt; has a placeholder on it that can contain &lt;code&gt;Form Block&lt;/code&gt;s. &lt;code&gt;Form Block&lt;/code&gt;s have a placeholder that can contain other components that make up the form.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;But here's the complicated part&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I want content editors to add components to &lt;code&gt;Form Block&lt;/code&gt;s using the Experience Editor, directly on the &lt;code&gt;Form Block&lt;/code&gt; (in other words, not on the page that contains the &lt;code&gt;Form Block&lt;/code&gt;). For this reason, there are presentation details set on the &lt;code&gt;Form Block&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I render the &lt;code&gt;Complete Form&lt;/code&gt; (with its list of &lt;code&gt;Form Block&lt;/code&gt;s), &lt;strong&gt;I want to get the rendered output of the &lt;code&gt;Form Block&lt;/code&gt; using its presentation details&lt;/strong&gt;, not the presentation details set on the &lt;code&gt;Complete Form&lt;/code&gt; for it.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Let me try to explain with some code&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When we render a &lt;code&gt;Complete Form&lt;/code&gt;, one or more &lt;code&gt;Form Blocks&lt;/code&gt; may get rendered. For each one, the &lt;code&gt;FormBlock&lt;/code&gt; controller action gets called:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// FormBlock controller rendering action&#xA;public ActionResult FormBlock()&#xA;{&#xA;    var dataSource = this.GetDataSourceItem&amp;lt;IFormBlock&amp;gt;();&#xA;&#xA;    var dataSourceItem = SitecoreContext.ResolveItem(dataSource);&#xA;    var currentDevice = Sitecore.Context.Device;&#xA;    var renderings = dataSourceItem.Visualization.GetRenderings(currentDevice, false);&#xA;&#xA;    var stringBuilder = new StringBuilder();&#xA;    foreach (var rendering in renderings)&#xA;    {&#xA;        // TODO: Render the rendering&#xA;    }&#xA;&#xA;    return View(&quot;RawOutput&quot;, stringBuilder.ToString());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2016-12-29T16:42:11.390" Title="How to render an MVC rendering in code" Tags="|presentation|mvc|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3582" PostTypeId="2" ParentId="3577" CreationDate="2016-12-28T20:16:50.400" Score="9" Body="&lt;p&gt;This is a known defect. You should request hotfix &lt;strong&gt;434449&lt;/strong&gt; from Sitecore Support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or just follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download the hotfix DLL:&lt;br&gt;&#xA;a) For Sitecore 8.0: &lt;a href=&quot;https://1drv.ms/u/s!Ajr_7Ne_eB0ula4h5lUvo8Cuemmeog&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Sitecore.Support.434449.dll&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&#xA;b) For Sitecore 8.1 Update 2 or later: &lt;a href=&quot;https://1drv.ms/u/s!Ajr_7Ne_eB0ul6Fo7DW2D83ESQiVrQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Sitecore.Support.434449.81.dll&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Put the DLL to your website's &lt;code&gt;bin&lt;/code&gt; folder.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a &lt;code&gt;.config&lt;/code&gt; patch under &lt;code&gt;App_Config/Include/zzz&lt;/code&gt;.&lt;br&gt;&#xA;a) If you have Sitecore 8.0, put the following content in the patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor&#xA;          type=&quot;Sitecore.Support.Forms.Mvc.Pipelines.AddCustomMetadataProvider, Sitecore.Support.434449&quot;&#xA;          patch:instead=&quot;*[@type='Sitecore.Forms.Mvc.Pipelines.AddCustomMetadataProvider, Sitecore.Forms.Mvc']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;b) For Sitecore 8.1 Update 2 or later:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor&#xA;          type=&quot;Sitecore.Support.Forms.Mvc.Pipelines.Initialize.AddCustomMetadataProvider, Sitecore.Support.434449.81&quot;&#xA;          patch:instead=&quot;*[@type='Sitecore.Forms.Mvc.Pipelines.Initialize.AddCustomMetadataProvider, Sitecore.Forms.Mvc']&quot;&amp;gt;&#xA;          &amp;lt;param name=&quot;perRequestStorage&quot; ref=&quot;/sitecore/wffm/data/perRequestStorage&quot; /&amp;gt;&#xA;          &amp;lt;param name=&quot;corePipeline&quot; ref=&quot;/sitecore/wffm/corePipelineWrapper&quot; /&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://sitecorelogy.com/2016/07/19/fixed-sitecore-wffm-creates-a-duplicate-field-section-upon-submission-when-exceeded-to-10-sections/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorelogy.com/2016/07/19/fixed-sitecore-wffm-creates-a-duplicate-field-section-upon-submission-when-exceeded-to-10-sections/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-29T08:03:03.290" LastActivityDate="2016-12-29T08:03:03.290" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3583" PostTypeId="2" ParentId="3581" CreationDate="2016-12-28T20:58:18.570" Score="5" Body="&lt;p&gt;Sitecore MVC have 2 types of renderings: View Rendering, Controller Action Rendering. To be simple - controller action is only some logic that fill data to model and transfer it to view. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use Razor view engine to render rendering view:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string RenderRazorViewToString(string viewName, object model)&#xA;{&#xA;  ViewData.Model = model;&#xA;  using (var sw = new StringWriter())&#xA;  {&#xA;    var viewResult = ViewEngines.Engines.FindPartialView(ControllerContext,&#xA;                                                             viewName);&#xA;    var viewContext = new ViewContext(ControllerContext, viewResult.View,&#xA;                                 ViewData, TempData, sw);&#xA;    viewResult.View.Render(viewContext, sw);&#xA;    viewResult.ViewEngine.ReleaseView(ControllerContext, viewResult.View);&#xA;    return sw.GetStringBuilder().ToString();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To render Controller Action Rendering you can use same code, but return model that is filled by your logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to use Sitecore rendering view engine wrapper and render View Rendering(or Controller Action Rendering) go through all Sitecore processors (e.g. GlassMapper get model, render other renderings in placeholders) - it is much more complex. You can take a look on &lt;a href=&quot;https://github.com/Antonytm/Sitecore.Mvc.Extension/blob/master/Sitecore.Mvc.Extension/Pipelines/GetAjaxLayoutRendering.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;this example&lt;/a&gt;. It was done &lt;a href=&quot;http://sitecorevn.blogspot.com/2014/09/ajax-lazy-loading-with-sitecore-mvc.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;to render one rendering and transfer it via AJAX&lt;/a&gt; and don't lose personalization, rendering parameters, datasource, nested renderings in placeholders:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (rendering != null)&#xA;{&#xA;    args.PageDefinition.Renderings.Remove(rendering);&#xA;    //Put this rendering into ajax layout  &#xA;    rendering.Placeholder = Constants.Strings.AjaxPlaceholderKey;&#xA;&#xA;    rendering.LayoutId = new Guid(Constants.IDs.AjaxEmptyLayout);&#xA;    var layout = renderings.First(x =&amp;gt; x.RenderingType == &quot;Layout&quot;);&#xA;    if (layout != null)&#xA;    {&#xA;      args.PageDefinition.Renderings.Remove(layout);&#xA;      for ( int i=0; i&amp;lt; args.PageDefinition.Renderings.Count; i++)&#xA;      {&#xA;        args.PageDefinition.Renderings[i].Placeholder =&#xA;          args.PageDefinition.Renderings[i].Placeholder.Split('/').Last();&#xA;        args.PageDefinition.Renderings[i].LayoutId =&#xA;          new Guid(Constants.IDs.AjaxEmptyLayout);&#xA;      }&#xA;      layout.LayoutId = new Guid(Constants.IDs.AjaxEmptyLayout);&#xA;      var getRedererArgs = new GetRendererArgs(new Rendering());&#xA;      getRedererArgs.LayoutItem =&#xA;        Sitecore.Context.Database.GetItem(Constants.IDs.AjaxEmptyLayout);&#xA;&#xA;      if (rendering.Renderer is Sitecore.Mvc.Presentation.ControllerRenderer)&#xA;      {&#xA;        RouteValueDictionary routeValueDictionary = new RouteValueDictionary();&#xA;        foreach (var key in  HttpContext.Current.Request.QueryString.AllKeys.Select(x=&amp;gt; x.ToString()))&#xA;        {&#xA;          routeValueDictionary.Add(key, HttpContext.Current.Request.QueryString[key]);&#xA;        }&#xA;        ((Presentation.ControllerRenderer)rendering.Renderer).routeValueDictionary = routeValueDictionary;&#xA;      }&#xA;      layout.Renderer = PipelineService.Get().RunPipeline&amp;lt;GetRendererArgs, Renderer&amp;gt;(PipelineNames.GetRenderer, getRedererArgs, a =&amp;gt; a.Result);&#xA;&#xA;      args.PageDefinition.Renderings.Add(layout);&#xA;      args.PageDefinition.Renderings.Add(rendering);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can adopt this code to be used not inside ActionResult, but not via Sitecore processor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I think that  you can take a look on Sitecore FxM implementation as there is used same approach (code via ILSpy reflector):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string GetRenderingHtml(Guid id, string uniqueId, string placeholder, string dataSource = &quot;&quot;)&#xA;{&#xA;    RenderingItem item = RenderingItem.GetItem(new ID(id), this.sitecoreContext.Database.Database, false);&#xA;    if (item == null)&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;    if (string.IsNullOrEmpty(placeholder))&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;    if (string.IsNullOrEmpty(uniqueId))&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;    string[] array = placeholder.TrimStart(new char[]&#xA;    {&#xA;        '/'&#xA;    }).Split(new char[]&#xA;    {&#xA;        '/'&#xA;    });&#xA;    if (array.Length &amp;lt;= 0)&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;    string text = array[0];&#xA;    if (this.sitecoreContext.Database.GetItem(text) == null)&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;    string result;&#xA;    try&#xA;    {&#xA;        if (item.IsMvcRendering())&#xA;        {&#xA;            result = this.GenerateRenderingHtml(id, uniqueId, placeholder, text, dataSource);&#xA;        }&#xA;        else&#xA;        {&#xA;            result = this.GenerateSublayoutHtml(id, uniqueId, placeholder, text, dataSource);&#xA;        }&#xA;    }&#xA;    catch (ItemNotFoundException ex)&#xA;    {&#xA;        throw this.HandleError(ex);&#xA;    }&#xA;    catch (Exception ex2)&#xA;    {&#xA;        throw this.HandleError(ex2);&#xA;    }&#xA;    return result;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Conclusion, there are two ways:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make your views simpler(render from model, don't use a lot of&#xA;Sitecore extensions) to have ability to use Razor rendering view&#xA;engine. &lt;/li&gt;&#xA;&lt;li&gt;Write your own code, you have as examples 2 implementations(GitHub&#xA;or Sitecore Federated Experience Manager). Your solution will be complex, but will be suitable almost for every rendering.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="666" LastActivityDate="2016-12-28T20:58:18.570" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3584" PostTypeId="2" ParentId="3570" CreationDate="2016-12-28T21:06:17.420" Score="4" Body="&lt;p&gt;Use reflector to look into &lt;code&gt;OnLoad&lt;/code&gt; implementation of &lt;em&gt;SelectStandardMessage Action Dialog&lt;/em&gt; (&lt;code&gt;Sitecore.Modules.EmailCampaign.UI.Dialogs.ActionDialogs, SelectStandardMessage, Sitecore.EmailCampaign&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure what code is inside your version(could differs from one revision to another). Mine is only for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void OnLoad(System.EventArgs e)&#xA;{&#xA;    if (!Context.ClientPage.IsEvent)&#xA;    {&#xA;        this.MessageTree.RootItems = (&#xA;            from managerRoot in Factory.Instance.GetManagerRoots()&#xA;            select managerRoot.InnerItem.ID.ToString()).ToList&amp;lt;string&amp;gt;();&#xA;        this.MessageTree.ExcludeTemplatesForProcess.AddRange(new string[]&#xA;        {&#xA;            &quot;{EFC3A4B6-6C05-45F4-8220-2D0291359DD5}&quot;,&#xA;            &quot;{FE8D604D-26F6-426D-A3E2-E4EDFF091B47}&quot;&#xA;        });&#xA;        this.MessageTree.ItemFilterForProcess = new System.Func&amp;lt;Item, bool&amp;gt;(SelectStandardMessage.CheckMessageType);&#xA;        this.MessageTree.ExcludeTemplatesForDisplay.AddRange(new string[]&#xA;        {&#xA;            &quot;{D8AD4B81-9269-4868-949F-37D1C28687E5}&quot;,&#xA;            &quot;{69474581-3668-4FED-B0F0-0B88C2532CAE}&quot;,&#xA;            TemplateIDs.Folder.ToString()&#xA;        });&#xA;        this.MessageTree.IncludeTemplatesForSelection.Add(&quot;{A0EA9681-5C86-43AB-80F7-C522DADF6F12}&quot;);&#xA;        this.MessageTree.StopTemplates.Add(&quot;{A0EA9681-5C86-43AB-80F7-C522DADF6F12}&quot;);&#xA;        this.MessageTree.InitTree();&#xA;        string text = this.IsAutomationRequest ? base.GetParameterValueByKey(&quot;StandardMessageId&quot;, null) : WebUtil.GetQueryString(&quot;selItem&quot;);&#xA;        if (!string.IsNullOrEmpty(text))&#xA;        {&#xA;            this.SetSelectedMessageNode(text);&#xA;        }&#xA;    }&#xA;    base.OnLoad(e);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you will review &lt;code&gt;OnLoad&lt;/code&gt; implementation you will get answer what templates are included, what templates are excluded.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2016-12-28T21:06:17.420" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3585" PostTypeId="2" ParentId="3537" CreationDate="2016-12-29T10:53:00.777" Score="0" Body="&lt;p&gt;Try this:&#xA;Change SQL Server service setting to login as the Network Service and re-start the service.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TT5Zg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TT5Zg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click the Grant button again on installation wizard. &lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2016-12-29T10:53:00.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3586" PostTypeId="1" AcceptedAnswerId="3587" CreationDate="2016-12-29T14:03:56.770" Score="7" ViewCount="212" Body="&lt;p&gt;I want to design a page where a user is taken to once they land on the site for the first time and they can select their country/language there, which gets stored as a cookie. After, the user is redirected back to the site. What are some possible approaches to handling this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought about setting the &quot;country selection&quot; page as the default page in configuration file, and check whether the cookie is there before everything is loaded -&gt; redirect to regular &quot;home&quot; if yes, but this does not cover the case where the user comes from google/gets link from outside (would it maybe make sense to create an item renderer for this?) Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1034" LastActivityDate="2016-12-29T14:17:34.477" Title="Country selection page implementation" Tags="|site-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3587" PostTypeId="2" ParentId="3586" CreationDate="2016-12-29T14:17:34.477" Score="6" Body="&lt;p&gt;Here's how I would approach this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Define a rendering that shows an overlay on any page it's included in.&lt;/li&gt;&#xA;&lt;li&gt;When a user selects a country via this rendering:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Send an AJAX request to the server;&lt;/li&gt;&#xA;&lt;li&gt;Take any actions needed based on the user's selection;&lt;/li&gt;&#xA;&lt;li&gt;Add a cookie to the user's browser indicating that a country has been chosen;&lt;/li&gt;&#xA;&lt;li&gt;Hide the overlay.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Include this component as a part of every layout. Only render it in case the cookie is not set.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This way, you don't need a separate page and redirection logic. Country selection will be (conditionally) shown on every page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An additional benefit of this approach is that you can use the same component to allow users to &lt;em&gt;change&lt;/em&gt; their country, if that ever becomes a requirement.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2016-12-29T14:17:34.477" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3588" PostTypeId="1" AcceptedAnswerId="3591" CreationDate="2016-12-29T15:47:29.647" Score="10" ViewCount="1024" Body="&lt;p&gt;I am facing the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Cannot create tracker.&#xA;  Exception: System.IndexOutOfRangeException&#xA;  Message: Index was outside the bounds of the array.&#xA;  Source: mscorlib&#xA;  at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)&#xA;  at Sitecore.Analytics.Model.Framework.ModelFactory.GetConcreteType(Type elementType)&#xA;  at Sitecore.Analytics.Model.Framework.ModelFactory.CreateElement(Type elementType)&#xA;  at Sitecore.Analytics.Model.Framework.ModelFactory.CreateFacet(Type facetType)&#xA;  at Sitecore.Analytics.Model.Framework.Faceted.AddFacet(String name, Type type)&#xA;  at Sitecore.Analytics.Model.Framework.ModelFactory.CreateContact(ID id, IReadOnlyDictionary`2 facets)&#xA;  at Sitecore.Analytics.Data.ContactFactory.Create(ID id)&#xA;  at Sitecore.Analytics.Data.ContactRepository.CreateContact(ID id)&#xA;  at Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact.Process(InitializeTrackerArgs args)&#xA;  at (Object , Object[] )&#xA;  at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;  at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureSessionContextPipeline.Run(InitializeTrackerArgs args)&#xA;  at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()&#xA;  at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)&#xA;  at (Object , Object[] )&#xA;  at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;  at Sitecore.Analytics.Tracker.Initialize()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Per &lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/1195&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;this post&lt;/strong&gt;&lt;/a&gt; I verified that we have those config values present in our solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Still, randomly I get this error on one of the CD servers and not on all. Any idea why?&lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorUserId="104" LastEditDate="2016-12-30T10:48:09.823" LastActivityDate="2017-01-03T15:07:15.650" Title="&quot;Cannot create tracker&quot; exception thrown from ModelFactory" Tags="|xdb|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3589" PostTypeId="2" ParentId="3581" CreationDate="2016-12-29T16:42:11.390" Score="6" Body="&lt;p&gt;I solved this in two ways. Depending on your needs, one may be more suitable.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The Simpler Way&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As was pointed out to me by &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3581/how-to-render-an-mvc-rendering-in-code/3583?noredirect=1#comment5641_3581&quot;&gt;Mark Cassidy's comment&lt;/a&gt;, replacing the standard Item Rendering behavior would meet the requirement, and not require a controller rendering or any of my original code. See the solution here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.cmsbestpractices.com/sitecore-item-rendering-best-practice/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.cmsbestpractices.com/sitecore-item-rendering-best-practice/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;For More Customization&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The disadvantage of the first approach is that it exposes the Experience Editor features of all the controls on the &lt;code&gt;Form Block&lt;/code&gt;, too, which we don't want; we want to prevent people from editing &lt;code&gt;Form Block&lt;/code&gt;s when they've been added to another page. To solve this issue, I updated my controller method as follows. The pertinent code was found by decompiling Sitecore DLLs.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// FormBlock controller rendering action&#xA;public ActionResult FormBlock()&#xA;{&#xA;    var dataSource = this.GetDataSourceItem&amp;lt;IFormBlock&amp;gt;();&#xA;&#xA;    var dataSourceItem = SitecoreContext.ResolveItem(dataSource);&#xA;    var currentDevice = Sitecore.Context.Device;&#xA;&#xA;    XmlNode deviceNode = new LayoutField(dataSourceItem).GetDeviceNode(currentDevice);&#xA;&#xA;    var stringBuilder = new StringBuilder();&#xA;    if (deviceNode != null &amp;amp;&amp;amp; deviceNode.HasChildNodes)&#xA;    {&#xA;        SiteContext siteContext = SiteContext.GetSite(Sitecore.Context.Site.Name);&#xA;        siteContext.SetDisplayMode(DisplayMode.Normal, DisplayModeDuration.Temporary);&#xA;        using (new SiteContextSwitcher(siteContext))&#xA;        {&#xA;            var parser = new XmlBasedRenderingParser();&#xA;            foreach (XmlNode renderingNode in deviceNode.ChildNodes)&#xA;            {&#xA;                Sitecore.Mvc.Presentation.Rendering rendering = parser.Parse(XElement.Parse(renderingNode.OuterXml), false);&#xA;&#xA;                var renderingArgs = new RenderRenderingArgs(rendering, new StringWriter(stringBuilder));&#xA;&#xA;                CorePipeline.Run(&quot;mvc.renderRendering&quot;, renderingArgs);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    return Content(stringBuilder.ToString());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-29T16:42:11.390" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3590" PostTypeId="1" AcceptedAnswerId="3593" CreationDate="2016-12-29T17:00:12.513" Score="4" ViewCount="173" Body="&lt;p&gt;Our Google Search Appliance is going crazy, reindexing each of our pages several times a day. The Google support specialist asked us if our pages were being generated dynamically or not. I know that each page in Sitecore is created dynamically from a template. However, what I don't know is &lt;strong&gt;when&lt;/strong&gt; that page is created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is each content page created at publish time, or is it created when a visitor requests the page? &lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-12-29T18:21:49.900" Title="When are Sitecore Pages created?" Tags="|presentation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3591" PostTypeId="2" ParentId="3588" CreationDate="2016-12-29T17:21:54.093" Score="10" Body="&lt;p&gt;This is a known bug in Sitecore. Use &lt;a href=&quot;https://kb.sitecore.net/articles/032518&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;this fix&lt;/strong&gt;&lt;/a&gt; to solve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To track the status of this bug with Sitecore Support, you can use the reference number &lt;strong&gt;95735&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Explanation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;ModelFactory&lt;/code&gt; class uses a static dictionary under the cover. It stores a mapping of model interfaces to their implementation types, as defined in the configuration (see &lt;em&gt;Sitecore.Analytics.Model.config&lt;/em&gt;). This dictionary is purely an optimization—it helps not to read the configuration every time.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class ModelFactory&#xA;{&#xA;    private static readonly IDictionary&amp;lt;Type, Type&amp;gt; typeMap = new Dictionary&amp;lt;Type, Type&amp;gt;();&#xA;&#xA;    // ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since this dictionary is static, it can be accessed by several threads simultaneously. The &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/xfhwa508(v=vs.110).aspx&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;&lt;code&gt;Dictionary&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt; class is not meant to be used concurrently, which is why its &lt;code&gt;Insert&lt;/code&gt; method throws the obscure error you're seeing. This happens when two threads insert a new entry at the same time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should be fixed by either respecting concurrency in the &lt;code&gt;ModelFactory&lt;/code&gt; class (e.g. apply locks), or by using a &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/dd287191(v=vs.110).aspx&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;&lt;code&gt;ConcurrentDictionary&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt; instead. The fix I linked at the top substitutes the dictionary with a concurrent dictionary.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2016-12-30T14:09:32.323" LastActivityDate="2016-12-30T14:09:32.323" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3592" PostTypeId="2" ParentId="3570" CreationDate="2016-12-29T17:24:08.110" Score="0" Body="&lt;p&gt;There was problem with my master db locally. We had recently been through an upgrade and i guess there is change in templates and status fields for emails. On pulling latest master db from prod solved the problem.&lt;/p&gt;&#xA;" OwnerUserId="1234" LastActivityDate="2016-12-29T17:24:08.110" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3593" PostTypeId="2" ParentId="3590" CreationDate="2016-12-29T17:41:53.390" Score="7" Body="&lt;p&gt;Pages are &quot;Created&quot; when a user requests that page, but that doesn't mean that the content is &lt;em&gt;new&lt;/em&gt; each time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can setup caching on your renderings to limit the load on the server each time a page is requested.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the Google Search Appliance it is probably looking for last updated and cache control headers to check if the page has been modified and needs to be reindexed. For this you will need to decide what content on the page you want the crawler to care about and then make sure that when it changes, you update the last modified date. Also you should make sure that any cache control headers sent in the response have an appropriate expiry date/time on them. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your response is set to not cache, then everytime the crawler hits the page, it could see it as &quot;updated&quot; and re-index it.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2016-12-29T17:41:53.390" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3594" PostTypeId="2" ParentId="3590" CreationDate="2016-12-29T18:21:49.900" Score="3" Body="&lt;p&gt;Just to add onto what @RichardSeal said, &quot;pages are 'created' when a user requests that page&quot; because all &quot;pages&quot; managed in Sitecore are virtual.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you publish, Sitecore simply promotes your content from &quot;master&quot; to &quot;web&quot; (think &quot;authoring&quot; to &quot;live&quot;) by copying your content from the master database to the web database (or whatever name you gave your publishing target). There aren't any behind-the-scenes file-creation operations performed that create ASPX files, directory hierarchies (site structure), etc. As such, when a user requests a page, Sitecore resolves the URL and finds the item that would exist at the requested path, then uses the item's Presentation Details to render the HTML for that &quot;page&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Richard described, you can set up caching on your renderings to help optimize this process and improve performance to prevent slow load times from holding up 3rd party crawlers. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2016-12-29T18:21:49.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3595" PostTypeId="1" AcceptedAnswerId="3596" CreationDate="2016-12-29T20:10:29.607" Score="5" ViewCount="669" Body="&lt;p&gt;I created a custom Field in &lt;code&gt;/sitecore/system/Field types/User Defined&lt;/code&gt;, called &lt;code&gt;Role Selector&lt;/code&gt;. It inherits from a class called &lt;code&gt;MultilistExBase&lt;/code&gt; (which I have brought into the project thanks to &lt;a href=&quot;http://sitecoreblog.bltogspot.com/2012_04_01_archive.html&quot; rel=&quot;noreferrer&quot;&gt;this post&lt;/a&gt;) which itself extends &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.MultilistEx&lt;/code&gt;.  As soon as I create the field in the &lt;code&gt;Core&lt;/code&gt;, that new field shows up in the list of available fields. But when I go to actually set the field on an instance of said template, it displays a textbox instead of a &lt;code&gt;Multilist&lt;/code&gt;, with no errors.  I have tried both defining the &lt;code&gt;Assembly/Class&lt;/code&gt; for the field type and &lt;code&gt;controlPrefix:RoleSelector&lt;/code&gt; with no success.  I have also combed through the logs and found nothing as well.  This project instance is Sitecore 8.0 (rev. 151127).&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2016-12-29T20:10:29.607" Title="Issue with Custom Field Type not rendering in Shell" Tags="|custom-field|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3596" PostTypeId="2" ParentId="3595" CreationDate="2016-12-29T20:10:29.607" Score="9" Body="&lt;p&gt;After copying &lt;code&gt;/sitecore/system/Field types/List Types/Multilist&lt;/code&gt; from &lt;code&gt;List Type&lt;/code&gt; to the &lt;code&gt;/sitecore/system/Field types/User Defined&lt;/code&gt; and renaming, I went over to &lt;code&gt;Master&lt;/code&gt;, updated the template to the newly copied &lt;code&gt;Multilist&lt;/code&gt; field type.  It still did not work, only showing a basic textbox, no error on screen or in the logs.  That then led me to check the &lt;code&gt;/sitecore/system/Field types/User Defined&lt;/code&gt; folder, only to find it was not a &lt;code&gt;Common/Folder&lt;/code&gt; template type at all, but instead a &lt;code&gt;/sitecore/templates/System/Node&lt;/code&gt; template type.  I then changed the template type in the &lt;code&gt;Configure&lt;/code&gt; tab on &lt;code&gt;User Defined&lt;/code&gt; to &lt;code&gt;Common/Folder&lt;/code&gt; in &lt;code&gt;Core&lt;/code&gt;, went back over to &lt;code&gt;Master&lt;/code&gt; and the field started working immediately.  I can only assume at this point that &lt;code&gt;User Defined&lt;/code&gt; item was cast as a &lt;code&gt;Node&lt;/code&gt; due to some template type mismatch when I imported it from an 8.1 Sitecore instance.  I am somewhat curious as to why it failed so silently, and why the field type did indeed show up in the list, but the control rendering did not as much as even hit a breakpoint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: After verifying your custom field is indeed set up correctly (&lt;code&gt;Assembly/Class&lt;/code&gt; or &lt;code&gt;controlPrefix:ControlClass&lt;/code&gt;) and are &lt;em&gt;still&lt;/em&gt; having issues with it rendering at all, verify that the parent &lt;code&gt;Folder&lt;/code&gt; type is indeed a &lt;code&gt;Common/Folder&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2016-12-29T20:10:29.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3597" PostTypeId="1" CreationDate="2016-12-29T22:11:10.430" Score="2" ViewCount="2649" Body="&lt;p&gt;I just upgraded a test instance of my sitecore server to 8.2 (original release) from 8.1 (original release). I've followed all of the steps in the upgrade document, and now as I'm doing some manual testing, I've hit this error. I have a not-upgraded test environment that is working fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Summary&lt;/code&gt; method that the .NET code is looking for is a partial HTML file that exists in the correct place in my file structure (I didn't change it when I upgraded), but now it's not finding the file. I did add a non-partial version of the file (using Summary.cshtml instead of _Summary.cshtml), however, that didn't get me anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I go about figuring out how to fix this issue?&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="1192" LastEditDate="2016-12-30T19:58:54.527" LastActivityDate="2016-12-30T19:58:54.527" Title="A public action method 'Summary' was not found on controller 'myControllerName'" Tags="|mvc|upgrade|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3599" PostTypeId="1" AcceptedAnswerId="3600" CreationDate="2016-12-30T00:01:43.737" Score="7" ViewCount="1156" Body="&lt;p&gt;I'm working on a new Sitecore 8.1 dev/uat/production infrastructure. We would like to reduce our possible attack surface and have a hardened installation from the start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the Sitecore requirements is obviously IIS and the Web Server role! However I can't find any details about the features required for IIS. This either means that the defaults are necessary or perhaps it hasn't been deeply considered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Which role services are necessary for Sitecore to operate correctly?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="705" LastActivityDate="2016-12-30T04:27:43.107" Title="Which IIS role services are required for Sitecore?" Tags="|iis|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3600" PostTypeId="2" ParentId="3599" CreationDate="2016-12-30T04:27:43.107" Score="10" Body="&lt;p&gt;I don't have a definitive list anywhere, and without actually attempting to remove each service one at a time until it breaks, here is the list of role services we use on a &quot;locked down&quot; Content Delivery environment (no Sitecore shell):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[X] Web Server (IIS)                                    Web-Server&#xA;    [X] Web Server                                      Web-WebServer&#xA;        [X] Common HTTP Features                        Web-Common-Http&#xA;            [X] Default Document                        Web-Default-Doc&#xA;            [ ] Directory Browsing                      Web-Dir-Browsing&#xA;            [X] HTTP Errors                             Web-Http-Errors&#xA;            [X] Static Content                          Web-Static-Content&#xA;            [X] HTTP Redirection                        Web-Http-Redirect&#xA;            [ ] WebDAV Publishing                       Web-DAV-Publishing&#xA;        [X] Health and Diagnostics                      Web-Health&#xA;            [X] HTTP Logging                            Web-Http-Logging&#xA;            [ ] Custom Logging                          Web-Custom-Logging&#xA;            [X] Logging Tools                           Web-Log-Libraries&#xA;            [ ] ODBC Logging                            Web-ODBC-Logging&#xA;            [X] Request Monitor                         Web-Request-Monitor&#xA;            [X] Tracing                                 Web-Http-Tracing&#xA;        [X] Performance                                 Web-Performance&#xA;            [X] Static Content Compression              Web-Stat-Compression&#xA;            [X] Dynamic Content Compression             Web-Dyn-Compression&#xA;        [X] Security                                    Web-Security&#xA;            [X] Request Filtering                       Web-Filtering&#xA;            [X] Basic Authentication                    Web-Basic-Auth&#xA;            [ ] Centralized SSL Certificate Support     Web-CertProvider&#xA;            [ ] Client Certificate Mapping Authentic... Web-Client-Auth&#xA;            [ ] Digest Authentication                   Web-Digest-Auth&#xA;            [ ] IIS Client Certificate Mapping Authe... Web-Cert-Auth&#xA;            [ ] IP and Domain Restrictions              Web-IP-Security&#xA;            [ ] URL Authorization                       Web-Url-Auth&#xA;            [ ] Windows Authentication                  Web-Windows-Auth&#xA;        [X] Application Development                     Web-App-Dev&#xA;            [ ] .NET Extensibility 3.5                  Web-Net-Ext&#xA;            [X] .NET Extensibility 4.5                  Web-Net-Ext45&#xA;            [X] Application Initialization              Web-AppInit&#xA;            [ ] ASP                                     Web-ASP&#xA;            [ ] ASP.NET 3.5                             Web-Asp-Net&#xA;            [X] ASP.NET 4.5                             Web-Asp-Net45&#xA;            [ ] CGI                                     Web-CGI&#xA;            [X] ISAPI Extensions                        Web-ISAPI-Ext&#xA;            [X] ISAPI Filters                           Web-ISAPI-Filter&#xA;            [X] Server Side Includes                    Web-Includes&#xA;            [X] WebSocket Protocol                      Web-WebSockets&#xA;    [ ] FTP Server                                      Web-Ftp-Server&#xA;        [ ] FTP Service                                 Web-Ftp-Service&#xA;        [ ] FTP Extensibility                           Web-Ftp-Ext&#xA;    [X] Management Tools                                Web-Mgmt-Tools&#xA;        [X] IIS Management Console                      Web-Mgmt-Console&#xA;        [ ] IIS 6 Management Compatibility              Web-Mgmt-Compat&#xA;            [ ] IIS 6 Metabase Compatibility            Web-Metabase&#xA;            [ ] IIS 6 Management Console                Web-Lgcy-Mgmt-Console&#xA;            [ ] IIS 6 Scripting Tools                   Web-Lgcy-Scripting&#xA;            [ ] IIS 6 WMI Compatibility                 Web-WMI&#xA;        [ ] IIS Management Scripts and Tools            Web-Scripting-Tools&#xA;        [ ] Management Service                          Web-Mgmt-Service&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Obviously your requirements will vary depending on your setup.  If I had to guess at a minimum, I would go for the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[X] Web Server (IIS)                                    Web-Server&#xA;    [X] Web Server                                      Web-WebServer&#xA;        [X] Common HTTP Features                        Web-Common-Http&#xA;            [X] Default Document                        Web-Default-Doc&#xA;            [ ] Directory Browsing                      Web-Dir-Browsing&#xA;            [X] HTTP Errors                             Web-Http-Errors&#xA;            [X] Static Content                          Web-Static-Content&#xA;            [ ] HTTP Redirection                        Web-Http-Redirect&#xA;            [ ] WebDAV Publishing                       Web-DAV-Publishing&#xA;        [X] Health and Diagnostics                      Web-Health&#xA;            [X] HTTP Logging                            Web-Http-Logging&#xA;            [ ] Custom Logging                          Web-Custom-Logging&#xA;            [X] Logging Tools                           Web-Log-Libraries&#xA;            [ ] ODBC Logging                            Web-ODBC-Logging&#xA;            [ ] Request Monitor                         Web-Request-Monitor&#xA;            [ ] Tracing                                 Web-Http-Tracing&#xA;        [ ] Performance                                 Web-Performance&#xA;            [ ] Static Content Compression              Web-Stat-Compression&#xA;            [ ] Dynamic Content Compression             Web-Dyn-Compression&#xA;        [ ] Security                                    Web-Security&#xA;            [ ] Request Filtering                       Web-Filtering&#xA;            [ ] Basic Authentication                    Web-Basic-Auth&#xA;            [ ] Centralized SSL Certificate Support     Web-CertProvider&#xA;            [ ] Client Certificate Mapping Authentic... Web-Client-Auth&#xA;            [ ] Digest Authentication                   Web-Digest-Auth&#xA;            [ ] IIS Client Certificate Mapping Authe... Web-Cert-Auth&#xA;            [ ] IP and Domain Restrictions              Web-IP-Security&#xA;            [ ] URL Authorization                       Web-Url-Auth&#xA;            [ ] Windows Authentication                  Web-Windows-Auth&#xA;        [X] Application Development                     Web-App-Dev&#xA;            [ ] .NET Extensibility 3.5                  Web-Net-Ext&#xA;            [X] .NET Extensibility 4.5                  Web-Net-Ext45&#xA;            [ ] Application Initialization              Web-AppInit&#xA;            [ ] ASP                                     Web-ASP&#xA;            [ ] ASP.NET 3.5                             Web-Asp-Net&#xA;            [X] ASP.NET 4.5                             Web-Asp-Net45&#xA;            [ ] CGI                                     Web-CGI&#xA;            [ ] ISAPI Extensions                        Web-ISAPI-Ext&#xA;            [ ] ISAPI Filters                           Web-ISAPI-Filter&#xA;            [ ] Server Side Includes                    Web-Includes&#xA;            [ ] WebSocket Protocol                      Web-WebSockets&#xA;    [ ] FTP Server                                      Web-Ftp-Server&#xA;        [ ] FTP Service                                 Web-Ftp-Service&#xA;        [ ] FTP Extensibility                           Web-Ftp-Ext&#xA;    [X] Management Tools                                Web-Mgmt-Tools&#xA;        [X] IIS Management Console                      Web-Mgmt-Console&#xA;        [ ] IIS 6 Management Compatibility              Web-Mgmt-Compat&#xA;            [ ] IIS 6 Metabase Compatibility            Web-Metabase&#xA;            [ ] IIS 6 Management Console                Web-Lgcy-Mgmt-Console&#xA;            [ ] IIS 6 Scripting Tools                   Web-Lgcy-Scripting&#xA;            [ ] IIS 6 WMI Compatibility                 Web-WMI&#xA;        [ ] IIS Management Scripts and Tools            Web-Scripting-Tools&#xA;        [ ] Management Service                          Web-Mgmt-Service&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;PS. You can get/set these through the &lt;code&gt;Get-WindowsFeature&lt;/code&gt; and &lt;code&gt;Add-WindowsFeature&lt;/code&gt; PowerShell commands from an elevated prompt.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2016-12-30T04:27:43.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3601" PostTypeId="2" ParentId="3578" CreationDate="2016-12-30T05:37:00.990" Score="1" Body="&lt;p&gt;Did you enable this option in save action which is meant to perform actons in CD server.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/GJYBz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GJYBz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2016-12-30T05:37:00.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3603" PostTypeId="2" ParentId="3578" CreationDate="2016-12-30T09:54:21.960" Score="0" Body="&lt;p&gt;Further to Balaji's answer, this is documented in &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/products/web_forms2/web_forms_for_marketers_v2_reference_usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;this WFFM reference&lt;/a&gt; :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Client Action — is used only in the staging environment. If this check box is clear, this Save Action is transferred from the Slave to the Master server and performed there. If this check box is selected, the Save Action is performed on the Slave server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In the absence of that option, I'd imagine it is trying to access the master db and related dependancies (indexes, etc). The error message you provided seems likely to be related to that missing config.&lt;/p&gt;&#xA;" OwnerUserId="898" LastEditorUserId="73" LastEditDate="2017-03-28T08:48:52.710" LastActivityDate="2017-03-28T08:48:52.710" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3604" PostTypeId="1" CreationDate="2016-12-30T15:38:03.307" Score="5" ViewCount="1056" Body="&lt;p&gt;We are having one problem to hide access to Template Manager, security editor and access Viewer option for a user with sitecore Administrator Role. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this we denied read access for only select user with Administrator Role for to hide. But it is not working.&lt;/p&gt;&#xA;" OwnerUserId="1209" LastEditorUserId="73" LastEditDate="2016-12-30T16:03:09.520" LastActivityDate="2016-12-30T16:03:09.520" Title="Restricting access for Sitecore Administrator" Tags="|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3605" PostTypeId="2" ParentId="3604" CreationDate="2016-12-30T15:42:41.160" Score="8" Body="&lt;p&gt;&quot;Administrator&quot; users cannot be denied anything. They have access to everything by design. If you want to restrict access you'll need to add your user(s) to a custom role: define your own role (how-to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/users_roles_and_domains/create_and_set_up_a_role&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;) and set the desired security on that role (by adding it to other roles and by denying access to items - preferably by breaking the inheritance).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An overview of the available security roles is available &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;. You can use those to get the base of your custom role.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2016-12-30T15:48:46.630" LastActivityDate="2016-12-30T15:48:46.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3606" PostTypeId="2" ParentId="3604" CreationDate="2016-12-30T15:42:45.020" Score="7" Body="&lt;p&gt;Security restrictions are never applied to users that a marked as administrators. If you really need to achieve the desired behavior then you should not make the user as the administrator, and assign all necessary roles and deny necessary rights.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2016-12-30T15:42:45.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3607" PostTypeId="1" AcceptedAnswerId="3609" CreationDate="2016-12-30T16:34:20.697" Score="5" ViewCount="466" Body="&lt;p&gt;On our Sitecore 8.1 site, we had a new content author role setup for the French-Canada culture. The problem is that if I log in as a user with this role and navigate to the Content Editor, I see all fields in compare/translate mode (see the screenshot, below).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qFVbL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qFVbL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the &lt;em&gt;versions&lt;/em&gt; tab, in an attempt to disable the compare/translate mode, but I do not see the &lt;em&gt;Translate&lt;/em&gt; button there (see the screenshot, below).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mUvss.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mUvss.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please let me know how to fix this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that we are using Claytablet integration for translations. &lt;/p&gt;&#xA;" OwnerUserId="696" LastEditorUserId="423" LastEditDate="2017-08-07T19:35:36.143" LastActivityDate="2017-08-07T19:35:36.143" Title="Content Author sees compare mode of the item fields always" Tags="|content-editor|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3609" PostTypeId="2" ParentId="3607" CreationDate="2016-12-30T16:52:35.567" Score="7" Body="&lt;p&gt;You are correct that the &lt;em&gt;Translate&lt;/em&gt; button is what you are looking for. Since you are not seeing it when logged in with your user with the new role, your new role likely does not have the necessary &lt;em&gt;sitecore/Sitecore Client Translating&lt;/em&gt; role that is required in order to see the button. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Quick Fix&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Try logging in as an &lt;em&gt;administrator&lt;/em&gt; and see if the button will display for you. If so, temporarily add the &lt;em&gt;sitecore/Sitecore Client Translating&lt;/em&gt; role to the user that is experiencing the issue, then log in with the user with the new role, navigate to the Content Editor and click the &lt;em&gt;Translate&lt;/em&gt; button to disable the duplicate display. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Further Investigation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If the above quick-fix doesn't do the trick, try the below to further investigate the issue. Note that for each of the below, you will (at the very least) need some familiarity with the &lt;em&gt;Access Viewer&lt;/em&gt; (see &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/the_security_tools&quot; rel=&quot;noreferrer&quot;&gt;official docs&lt;/a&gt;) and with how Sitecore calculates access rights for a security account on an item (see &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/access_rights/assigning_access_rights&quot; rel=&quot;noreferrer&quot;&gt;official docs&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Investigating the Translate Chunk of the Ribbon&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In your screenshot, you are missing the entire &lt;em&gt;Translate&lt;/em&gt; chunk of the ribbon, not just the &lt;em&gt;Translate&lt;/em&gt; button itself. As such, we start by first investigating the &lt;em&gt;Translate&lt;/em&gt; chunk of the ribbon. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Log into Sitecore as an &lt;em&gt;administrator&lt;/em&gt;, switch to the &lt;em&gt;Core&lt;/em&gt; database, navigate to the Content Editor and traverse the tree until you find the &lt;em&gt;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Translate&lt;/em&gt; item. This item represents the &lt;em&gt;Translate&lt;/em&gt; chunk that (should) display in your Ribbon. Click on the &lt;em&gt;Security&lt;/em&gt; tab, then click the &lt;em&gt;Details&lt;/em&gt; button in the &lt;em&gt;Security&lt;/em&gt; chunk of the ribbon (see the screenshot below). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JcQvo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JcQvo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the resulting window, note the security permissions that have been assigned for this item (see the sceenshot, below). Note that the security permissions that have been assigned reflect the security permissions assigned directly (not accounting for inherited security settings) to the entire &lt;em&gt;Translate&lt;/em&gt; chunk in the ribbon. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2f88b.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2f88b.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The security settings above are the OOTB settings for Sitecore 8.1 (I checked each version). If your security settings are different, either change them by clicking on the &lt;em&gt;Assign&lt;/em&gt; button (next to the &lt;em&gt;Details&lt;/em&gt; button in &lt;em&gt;Security&lt;/em&gt; tab's ribbon) or use information gained to help you figure out which security account you should assign (even temporarily, if necessary) to your test user or new role in order to fix the issue. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Investigating the Translate Button&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you are unable to find any differences on the &lt;em&gt;Translate&lt;/em&gt; chunk's item, try looking at the security settings for the &lt;em&gt;Translate&lt;/em&gt; button's item, &lt;em&gt;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Translate/Translate&lt;/em&gt;. If you are still unable to find the source of your issue, try opening up the Access Viewer (while still in the &lt;em&gt;Core&lt;/em&gt; database) and looking there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will want to select the role or test user experiencing the issue via the &lt;em&gt;Account&lt;/em&gt; button or &lt;em&gt;Roles and users&lt;/em&gt; quick selection box at the top left, and then drill down to the &lt;em&gt;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Translate/Translate&lt;/em&gt; item (see screenshot, below). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7LS3G.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7LS3G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be sure to look at the security settings along the way, or click on the &lt;em&gt;Read&lt;/em&gt; access right of the desired item to see which security settings in the ancestry impacted the final result (see screenshot, below).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sJRxp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sJRxp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore Support&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Whether or not the above helps you, this issue is worthy of a Sitecore Support ticket, since the duplicated field view really shouldn't display for users without the &lt;em&gt;sitecore/Sitecore Client Translating&lt;/em&gt; role. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the above does not work for you, I would definitely file a Sitecore Support ticket and let them know the issue, what you did to try to investigate and resolve it, and work with them to investigate the issue further. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Additional References&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;noreferrer&quot;&gt;Built-in Sitecore Security Roles (Official Documentation)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/access_rights/assigning_access_rights&quot; rel=&quot;noreferrer&quot;&gt;Assigning Access Rights and How Access is Calculated (Official Documentation)&lt;/a&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/the_security_tools&quot; rel=&quot;noreferrer&quot;&gt;Security Tools (Official Documentation)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/access_rights/the_access_rights&quot; rel=&quot;noreferrer&quot;&gt;Access Rights (Official Documentation)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/security_and_administration/access_rights/the_inheritance_access_right&quot; rel=&quot;noreferrer&quot;&gt;Inheritance Access Right (Official Documentation)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2016-12-30T17:33:11.210" LastActivityDate="2016-12-30T17:33:11.210" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3610" PostTypeId="2" ParentId="3436" CreationDate="2016-12-30T18:06:46.073" Score="1" Body="&lt;p&gt;It seems like some default Sitecore templates have been changed or accidentally misconfigured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Double check &lt;code&gt;/sitecore/templates/System/Templates/Sections/Layout&lt;/code&gt; and &lt;code&gt;/sitecore/templates/System/Templates/Sections/Workflow&lt;/code&gt; between a clean/working install of Sitecore and our own instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the templates are different then change them to match, or if you think there may be other templates also affected then package up entire sections of the tree and override in your corrupted version. You should not lose any content that way (but always take backups first).&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-12-30T18:06:46.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3611" PostTypeId="1" AcceptedAnswerId="3612" CreationDate="2016-12-30T18:07:43.313" Score="0" ViewCount="509" Body="&lt;p&gt;I want to create a custom field to be indexed in Lucene that has the children of the item being indexed. Is there an easy way to do this that I am overlooking?&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2016-12-30T18:29:52.637" Title="Custom Lucene Index Field with Children" Tags="|indexing|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3612" PostTypeId="2" ParentId="3611" CreationDate="2016-12-30T18:29:52.637" Score="5" Body="&lt;p&gt;According to your requirement, you should look into creating a custom &lt;strong&gt;computed index field&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This community article by John West describes the process of adding a custom computed field in details: &#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-computed-index-fields&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-computed-index-fields&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, all you have to do is to define a computed index field, with your custom logic in the &lt;code&gt;ComputeFieldValue&lt;/code&gt; method (in your case -&gt; iterate through item's children and collect all you need, e.g. names, etc.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;The above article gives an example for Sitecore 7+, but in Sitecore 8+ the process is not very different&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-12-30T18:29:52.637" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3613" PostTypeId="2" ParentId="3597" CreationDate="2016-12-30T18:54:41.983" Score="1" Body="&lt;p&gt;So after much research, and pouring over my code, I realized that I had a compilation error that happened when I had merged my branch from the &lt;code&gt;master&lt;/code&gt; branch in our source code repository. What that translated to was that my CSHTML files were expecting some code that didn't exist in my compiled DLL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem didn't show up in my sandbox because I didn't have the most recent database changes in my local sandbox, but my test environment did.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the answer was to simply &lt;strong&gt;compile all of my code&lt;/strong&gt; and &lt;strong&gt;make sure that I have the most recent copy of the Master database in my sandbox.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that other people will be able to learn from this!&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2016-12-30T18:54:41.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3614" PostTypeId="1" AcceptedAnswerId="3616" CreationDate="2016-12-30T19:44:46.877" Score="5" ViewCount="3444" Body="&lt;p&gt;In my GlassMapper model I'm getting the children of the current page using the following declaration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IEnumerable&amp;lt;BasePage&amp;gt; Subpages =&amp;gt; GetChildren&amp;lt;BasePage&amp;gt;(TemplateId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a similar method I could use to get the properties of the parent of the current page into a BasePage model? I can use the template ID of this item to get the Sitecore.Data.Items.Item parent of the page, but when I have this item I've been unable to convert it back into the BasePage model. &lt;/p&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2016-12-30T20:14:04.263" Title="GlassMapper Parent Item" Tags="|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3615" PostTypeId="2" ParentId="3614" CreationDate="2016-12-30T19:57:01.027" Score="1" Body="&lt;p&gt;This is what I've come up with up to this point. It's working for me, but I'm unsure if there is a more direct way to grab the parent item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual BasePage getParent()&#xA;{&#xA;    ISitecoreContext context = SitecoreContext.GetFromHttpContext();&#xA;    return context.Cast&amp;lt;BasePage&amp;gt;(Sitecore.Context.Database.GetItem(this.Id.ToString()).Parent);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2016-12-30T19:57:01.027" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3616" PostTypeId="2" ParentId="3614" CreationDate="2016-12-30T20:14:04.263" Score="12" Body="&lt;p&gt;You can use the &lt;code&gt;[SitecoreParent]&lt;/code&gt; attribute for that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreParent]&#xA;public virtual BasePage Parent { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is also mentioned in the Tutorial 17 (&lt;a href=&quot;http://www.glass.lu/mapper/sc/tutorials/tutorial17&quot; rel=&quot;noreferrer&quot;&gt;http://www.glass.lu/mapper/sc/tutorials/tutorial17&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2016-12-30T20:14:04.263" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3617" PostTypeId="1" AcceptedAnswerId="3621" CreationDate="2016-12-31T07:10:53.890" Score="4" ViewCount="784" Body="&lt;p&gt;I changed content in one field in ContentEditor and then shifted to web database. Here I could see content change is not available which is fine because I haven't yet published but when I browsed the website that content change is being displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How is it possible even I didn't publish that item. Is there any way to debug this behavior?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 01/01/17&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following is multisite configuration at my laptop&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;SitecoreStaging&quot; database=&quot;master&quot; hostname=&quot;staging.sitecorewebsite.com&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; ...&#xA;&amp;lt;site name=&quot;SitecoreLive&quot; database=&quot;web&quot; hostname=&quot;www.sitecorewebsite.com&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; ...&#xA;&amp;lt;site name=&quot;website&quot; database=&quot;web&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Binding&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T6TJm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T6TJm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;hosts entry&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;127.0.0.1   sitecorewebsite&lt;/p&gt;&#xA;&#xA;&lt;p&gt;127.0.0.1   www.sitecorewebsite.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;127.0.0.1   staging.sitecorewebsite.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now in this case If I browse all these mentioned URLs content only displayed from master DB even if for two website database attribute is set to &quot;master&quot;&#xA;But If I remove other and keep only &quot;sitecorewebsite&quot; configuration then I can see web content i.e. not from master which is correct. Looks like I am missing something. &lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="1349" LastEditDate="2017-01-02T04:22:05.387" LastActivityDate="2017-01-05T03:20:06.653" Title="How content changed in ContentEditor is being displayed in website even item not published" Tags="|content-editor|sitecore-client|publishing|sql-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3619" PostTypeId="2" ParentId="3617" CreationDate="2016-12-31T10:38:40.807" Score="2" Body="&lt;p&gt;Your site might be running in live mode:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In Sitecore, you can run a website directly from the Master database –&#xA;  this is referred to as running in live mode. Running in live mode&#xA;  eliminates the need to publish content and is similar to viewing a&#xA;  website in the Preview client.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This would explain why you don't see the new value in the web database, but do see it when just browsing the site. Check the &quot;database&quot; setting of your site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; database=&quot;master&quot; ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With a debugger your could also see what the context database is on your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info in this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/333/what-is-sitecore-live-mode&quot;&gt;question&lt;/a&gt; (with answers).&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2016-12-31T10:38:40.807" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3620" PostTypeId="2" ParentId="3548" CreationDate="2016-12-31T14:21:49.587" Score="5" Body="&lt;p&gt;When you specify the datasource in the &lt;code&gt;Data Source&lt;/code&gt; field of the Rendering item definition, you effectively set the &quot;default datasource&quot; for that component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you do not specify the &lt;code&gt;Data Source&lt;/code&gt; in &lt;strong&gt;Control Properties&lt;/strong&gt; in &lt;em&gt;Experience Editor&lt;/em&gt; mode (or &lt;strong&gt;Presentation Details&lt;/strong&gt; in &lt;em&gt;Content Editor&lt;/em&gt;) then the datasource you specified on the Rendering item definition will be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's also worth noting that if you set the datasource on the Rendering item then the &lt;code&gt;Select the Associated Content&lt;/code&gt; dialog &lt;a href=&quot;https://jammykam.wordpress.com/2015/03/17/prompt-user-to-selectcreate-datasource-item-when-inserting-rendering-via-page-editor/&quot; rel=&quot;noreferrer&quot;&gt;will not appear when you add a component to a page&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But setting the &quot;default datasource&quot; this way is the same whether you dynamically or statically bind your components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since your static binding is pointing to a Sitecore Rendering definition item, it should use this datasource. It works as expected (and like in your example) in Sitecore 8.1 Update-3 but this looks like a bug in Sitecore 8.2, or at least a breaking change. I would raise a ticket with Sitecore Support and have them investigate/fix this.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2016-12-31T14:21:49.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3621" PostTypeId="2" ParentId="3617" CreationDate="2016-12-31T17:49:24.787" Score="0" Body="&lt;p&gt;There are several reasons why this could happen. Since you do not see it in the web database, we can rule out auto-publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check these just to make sure they are not the root cause&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You could be referencing the master database directly &lt;code&gt;Sitecore.Data.Database master = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;)&lt;/code&gt; Unlikely since you stated the item is not published.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore could be in Live Mode There is an patch file included in &lt;code&gt;App_Config/Include&lt;/code&gt; named &lt;code&gt;LiveMode.config.example&lt;/code&gt; Make sure it is not enabled&lt;/li&gt;&#xA;&lt;li&gt;Make sure that the &lt;code&gt;master&lt;/code&gt; database was selected and not the &lt;code&gt;web&lt;/code&gt; database&#xA;&lt;a href=&quot;https://i.stack.imgur.com/iGqpQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iGqpQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Multi-Site Configuration Edits&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To properly configure multi-sites please on the SDN &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites.aspx&lt;/a&gt;. You don't have access to the SDN. Also read John Wests blog &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-multisite-part-1-iis-challenges&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-multisite-part-1-iis-challenges&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1192" LastEditorUserId="1192" LastEditDate="2017-01-05T03:20:06.653" LastActivityDate="2017-01-05T03:20:06.653" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3622" PostTypeId="2" ParentId="3230" CreationDate="2017-01-01T02:05:32.880" Score="0" Body="&lt;p&gt;Leave it as a single page with a goal associated. Then...&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a new version of the component with the second color (if you are an admin user create a new version of the page first to ensure you trigger draft workflow state)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Submit through workflow&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Approver should choose &quot;approve with test&quot; to trigger mvt dialog.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Follow prompts to create the test of the two buttons.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Edit: just noticed sestocker gave the same basic info in comments.  If he can create an answer rather than comment give him the credit as he was first.&lt;/p&gt;&#xA;" OwnerUserId="1245" LastActivityDate="2017-01-01T02:05:32.880" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3623" PostTypeId="1" CreationDate="2017-01-01T13:24:18.823" Score="21" ViewCount="1723" Body="&lt;p&gt;The general trend these days is to limit the number of projects in a visual studio solution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://ayende.com/blog/3158/the-two-project-solution&quot; rel=&quot;nofollow noreferrer&quot;&gt;The two project solution&lt;/a&gt;&#xA;&lt;a href=&quot;https://lostechies.com/chadmyers/2008/07/16/project-anti-pattern-many-projects-in-a-visual-studio-solution-file/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Project antipattern&lt;/a&gt;&#xA;&lt;a href=&quot;https://codurance.com/2015/03/23/multiple-projects-in-visual-studio/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Multiple projects considered harmful&lt;/a&gt;&#xA;&lt;a href=&quot;https://lostechies.com/jimmybogard/2012/08/30/evolutionary-project-structure/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Evolutionary project structure&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The helix documentation and Habitat are implemented with many many projects in the solution. This to me seems like a serious code smell. If I were to implement a Helix solution with a limited number of projects, how minimal could I go?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think I would start with 4: Project, Foundation, Features and Tests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would I lose by not having 65 different projects? Or what do I gain by having them? If it's only organizational, then easy peasy. What dependency control is achieved with many projects? Maybe I'm missing something, but at this point, the pain seems to far outweigh the benefits.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="4050" LastEditDate="2020-01-20T20:35:09.050" LastActivityDate="2020-01-20T20:35:09.050" Title="Sitecore Helix/Habitat and Visual Studio structure" Tags="|helix|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="3624" PostTypeId="1" AcceptedAnswerId="3807" CreationDate="2017-01-01T20:04:34.640" Score="3" ViewCount="446" Body="&lt;p&gt;I upgraded WFFM to 8.2 initial release. After applying all changes, when I open the form I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could not create instance of the Sitecore.Forms.Core.Handlers.FormDataHandler class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception Details: System.Exception: Could not create instance of the Sitecore.Forms.Core.Handlers.FormDataHandler class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source Error: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;[Exception: Could not create instance of the Sitecore.Forms.Core.Handlers.FormDataHandler class.]&#xA;   Sitecore.WFFM.Abstractions.Dependencies.DependenciesManager.Resolve(String path) +263&#xA;   Sitecore.Form.Core.Ascx.Controls.SimpleForm..ctor() +26&#xA;   Sitecore.Form.Web.UI.Controls.SitecoreSimpleForm..ctor(Item item) +21&#xA;   Sitecore.Form.Core.Renderings.FormRender.OnInit(EventArgs e) +349&#xA;   System.Web.UI.Control.InitRecursive(Control namingContainer) +166&#xA;   System.Web.UI.Control.InitRecursive(Control namingContainer) +379&#xA;   System.Web.UI.Control.InitRecursive(Control namingContainer) +379&#xA;   System.Web.UI.Control.InitRecursive(Control namingContainer) +379&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1839&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1087.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what would be the issue or is something missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="838" LastActivityDate="2017-01-15T17:09:32.447" Title="WFFM sitecore 8.2 initial release on Content Delivery Server" Tags="|wffm|sitecore-client|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3625" PostTypeId="1" AcceptedAnswerId="3626" CreationDate="2017-01-02T07:09:20.490" Score="9" ViewCount="925" Body="&lt;p&gt;I'm trying to save some information into SQL through WFFm's Save action &amp;amp; couldnt get it right :(&#xA;i have configured wffm connection string as&#xA;&lt;a href=&quot;https://i.stack.imgur.com/R6U2c.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/R6U2c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;May i know what is the default connectiostring name for WFFM ? is it 'wffm' or 'wfm'&#xA;Some analysis from my end:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.WFFM.Dependencies.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6PNQq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6PNQq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Forms.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RSpjN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RSpjN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="408" LastEditDate="2017-01-02T09:08:54.207" LastActivityDate="2017-01-02T09:08:54.207" Title="WFFM Connection String name" Tags="|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3626" PostTypeId="2" ParentId="3625" CreationDate="2017-01-02T08:48:59.157" Score="9" Body="&lt;p&gt;Regarding to the following blogpost (&lt;a href=&quot;https://citizensitecore.com/2016/05/11/wffm-and-cms-only-mode-in-sitecore-8-1/&quot; rel=&quot;noreferrer&quot;&gt;https://citizensitecore.com/2016/05/11/wffm-and-cms-only-mode-in-sitecore-8-1/&lt;/a&gt;) by default Sitecore saves the WFFM form values in MongoDB after Sitecore 8.0 version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default connectionStringName is &lt;code&gt;wfm&lt;/code&gt;. To make this work on CMS-Only instance you need to overwrite the &lt;code&gt;connectionStringName&lt;/code&gt; in the &lt;code&gt;sqlFormsDataProvider&lt;/code&gt; in Sitecore.WFFM.Dependencies.config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution step by step&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;First, you need to take the empty &lt;code&gt;Sitecore_Wffm&lt;/code&gt; SQL database that was placed in the %webroot%/Data folder and attach it to your SQL&#xA;  Server.&lt;/li&gt;&#xA;  &lt;li&gt;Next, you must add a new connection string in &lt;code&gt;App_Config/ConnectionStrings.config&lt;/code&gt; for this database. &lt;code&gt;&amp;lt;add&#xA;  name=&quot;wfm&quot; connectionString=&quot;insert connection string here&quot; /&amp;gt;&lt;/code&gt; Yes,&#xA;  the name of this connection string should be wfm.  In&#xA;  Sitecore.Forms.config, there is a &lt;code&gt;WFM.ConnectionString&lt;/code&gt; setting that&#xA;  specifies the name of the connection string to use.  It is wfm out of&#xA;  the box.&#xA;  **For the record, while this step isn’t in the installation guide for 8.1-compliant versions of WFFM, I have seen it in official documentation somewhere, I just can’t seem to recall where.  And if&#xA;  it’s that difficult to find, it’s a problem.&lt;/li&gt;&#xA;  &lt;li&gt;Finally, in Sitecore.WFFM.Dependencies.config, in the /sitecore/wffm/analytics node, there is an element called&#xA;  &lt;code&gt;&amp;lt;formsDataProvider&amp;gt;&lt;/code&gt;.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;  &#xA;  &lt;p&gt;Update this connection string name to match what is in&#xA;  &lt;code&gt;Sitecore.Forms.config&lt;/code&gt; and you should be golden!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-01-02T08:55:32.330" LastActivityDate="2017-01-02T08:55:32.330" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3628" PostTypeId="1" CreationDate="2017-01-02T11:50:55.160" Score="6" ViewCount="434" Body="&lt;p&gt;Sitecore healthcheck.aspx checks connection to all DBs mentioned in connectionString.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to test &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If analytics data being captured or not in MongoDB replication set&lt;/li&gt;&#xA;&lt;li&gt;Processing Server working properly by testing MongoDB data being pushed to  SQL Analytics DB or not.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;I dont want to test those by altering timeout in configuration file as it is Live environment.&lt;/em&gt;&#xA;What is the best possible way to test above scenarios in Sitecore 8.1 Update 2&lt;/p&gt;&#xA;" OwnerUserId="493" LastActivityDate="2017-03-04T04:17:18.577" Title="Sitecore 8.1 update 2 production health check" Tags="|xdb|mongodb|health-monitor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3629" PostTypeId="1" AcceptedAnswerId="3630" CreationDate="2017-01-02T13:59:27.587" Score="0" ViewCount="2298" Body="&lt;p&gt;Here is my scenario:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have made a few changes to a Sitecore template and I decided those changes are no longer needed. I need to restore it to its previous state(fields have been deleted and new ones added).&#xA;So I have undone the changes to the YML using the repository(git showed the new changes so I undid them). If I check the YML file on the file system it is correct as it should. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I sync or reserialize the changes I did are still there.&#xA;I know that re-serializing should take whatever is on the file system and update the content tree according to the file system correct? &#xA;What am I missing here? why does reserializing unicorn is not getting rid of the changes I did?&lt;br&gt;&lt;br&gt;&#xA;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 1&lt;/strong&gt; - I removed then unnecessary configuration entries. Leaving just the one with the path to the one I'm trying to make it work. BUT I noticed one thing. When I sync I'm not seeing that path on the list of processed items that explains it. But when I reserialize it does process it. any ideas why the sync is not processing but reserializing is?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;!--Create a patch file on your local to update this setting--&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;C:\myprojectfolder\serialization&quot; /&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;      &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;configuration name=&quot;My Project&quot; description=&quot;My Project&quot; &amp;gt;&#xA;          &amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\foundation&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; useDataCache=&quot;false&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;            &#xA;            &amp;lt;include name=&quot;MyProject.Templates.UserDefined&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/User Defined&quot; /&amp;gt;&#xA;          &amp;lt;/predicate&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/configurations&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastEditorUserId="4050" LastEditDate="2020-01-21T03:25:38.610" LastActivityDate="2020-01-21T03:25:38.610" Title="Re-serializing on unicorn is not undoing changes" Tags="|unicorn|serialization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3630" PostTypeId="2" ParentId="3629" CreationDate="2017-01-02T14:15:01.793" Score="4" Body="&lt;p&gt;Actually; Reserialize means &quot;Delete local files and take whatever is in Sitecore and serialize that to local files&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sounds to me like you may have been getting the terms mixed up. If you want to set Sitecore back to where it was; checkout the branch at the commit you want to roll back to and issue a Sync (&lt;em&gt;not&lt;/em&gt; Reserialize).&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-02T14:15:01.793" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="3631" PostTypeId="2" ParentId="3624" CreationDate="2017-01-02T16:18:51.373" Score="0" Body="&lt;p&gt;It seems DependencyPathAttribute's Path is empty from your exception log &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Are you missing any CD environment specific config/patch up ?&#xA;2.Also please make sure 'Sitecore.WFFM.Dependencies.config' is enabled.&#xA;3.From 8.1+ versions WFFM allows configuration driven dependency injection i.e. Constructor parameters can be handled through the params defined in config &#xA;. More details here please&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1672/injecting-dependencies-into-a-custom-wffm-save-action&quot;&gt;Injecting dependencies into a custom WFFM save action&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please specific your old WFFM version.&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-01-02T16:18:51.373" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3633" PostTypeId="2" ParentId="3623" CreationDate="2017-01-03T03:13:55.837" Score="21" Body="&lt;p&gt;From a architectural point of view there is no reason not to have everything in a single project. This will certainly make load and build times quicker - if that is the aim.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason for splitting up modules into projects is to clearly define boundaries for modules so that dependencies are as visible as possible, which increases productivity, reduces cost of maintenance and simplifies extensibility.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In other words: if you are comfortable with having your development team managing cross-module dependencies within a single Visual Studio project there is no reason to split up into several projects. &lt;a href=&quot;http://www.hhog.com/blog/sitecore-helix-fxcop-rules/&quot; rel=&quot;noreferrer&quot;&gt;There are even tools&lt;/a&gt; which can help you control the module dependencies in solutions with fewer projects.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Projects Define Boundaries&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;However, you should keep in mind that your project lives beyond the initial development phase - and most often beyond your and the initial development team's involvement. In a typical application lifecycle, the technical debt, dependency creep and other productivity decreasing factors happens in the delivery and maintenance phases. The ambitions of clean code and architecture often crumbles with deadlines, team handovers and quick patches. Solution structure is there to define the architecture - both in the short and long run. Defining boundaries as clearly as possible is very helpful in making sure your architecture stays clean.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend watching Anders Laubs talk from the Helix workshop at Symposium 2016 which covers boundaries and why we need them: &lt;a href=&quot;https://youtu.be/C1OvZOVYous?t=14m38s&quot; rel=&quot;noreferrer&quot;&gt;https://youtu.be/C1OvZOVYous?t=14m38s&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="92" LastActivityDate="2017-01-03T03:13:55.837" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3634" PostTypeId="2" ParentId="3628" CreationDate="2017-01-03T03:33:50.247" Score="2" Body="&lt;p&gt;One possible way of checking off both these items is to look at the MongoDB database &lt;code&gt;tracking_live&lt;/code&gt; which has a collection called &lt;code&gt;ProcessingPool&lt;/code&gt;.  When sessions are ended, or various other activities encountered, Sitecore uses this collection to specify work for the processing server to do. When the processing server is running it will poll this collection and remove work items as they are completed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you monitor the state of this collection over the course of 30s by requesting all the data every 5s, you should be able see items being added and removed.  Ideally the 'natural state' of this collection is zero items (as Sitecore Processing server has processed all the items).  If there are a large number of items, your processing server isn't processing.  If nothing goes in, your Sitecore CDs are probably not closing sessions out properly.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-01-03T03:33:50.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3635" PostTypeId="1" CreationDate="2017-01-03T04:32:23.233" Score="4" ViewCount="627" Body="&lt;p&gt;I'm using Lucene for Search in Load balanced environment. Indexes are working fine, but sometimes index is updating in only one of the servers. If we rebuild the index manually then its showing proper results. I'm using &lt;code&gt;PublishEnd&lt;/code&gt; strategy and Sitecore is configured to use &lt;code&gt;SwitchOnRebuildLuceneIndex&lt;/code&gt; index type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have 1 CM, 2 CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest best approach to deal with Lucene in Multi-server environment.&lt;/p&gt;&#xA;" OwnerUserId="1155" LastEditorUserId="172" LastEditDate="2017-01-04T10:33:00.677" LastActivityDate="2017-01-04T10:33:00.677" Title="Lucene search in load balance environment is not showing proper results" Tags="|lucene|indexing|content-management|content-delivery|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3636" PostTypeId="2" ParentId="3012" CreationDate="2017-01-03T05:01:44.177" Score="1" Body="&lt;p&gt;you may need to migrate from lucene to solr. If you have more than 50K items to index then solr recommanded as best practice. analytics index causes to hike CPU utilization. Please turn off sitecore_analytics_index if you are not using analytics.&lt;/p&gt;&#xA;" OwnerUserId="1155" LastActivityDate="2017-01-03T05:01:44.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3637" PostTypeId="1" CreationDate="2017-01-03T05:06:12.040" Score="0" ViewCount="104" Body="&lt;p&gt;Has anybody seen this behaviour before... I add a RTE (via a rendering with a local datasource) to a page via Experience Editor...  edit the text, add some text and styling etc.  Save... all ok&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a list (ordered list for example), then save... saves fine but I now can't access the field via the EE... clicking on it selects only the container, not the actual field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?  Smells like a bug to me...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SC 8.1.151003&lt;/p&gt;&#xA;" OwnerUserId="111" LastActivityDate="2017-01-03T08:03:38.970" Title="SC 8 Experience Editor RTE breaks when it has a list in it" Tags="|experience-editor|richtext-editor|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3639" PostTypeId="2" ParentId="3635" CreationDate="2017-01-03T06:51:29.190" Score="4" Body="&lt;p&gt;The best way to fix this would be to move to SOLR - really its the safest way to ensure that the index is the same for all delivery servers. On top of that you get additional things like the query cache, better language indexing and better scalability with Solr Cloud.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you absolutely &lt;em&gt;must&lt;/em&gt; stay with Lucene, you could setup the CM server to build the &lt;code&gt;sitecore_web_index&lt;/code&gt; on publish end, and then run a job/process to copy the index files from the CM server to the CD servers. This would make sure that all the CD servers had the updated index at the same time. Obviously, you would want to set all the indexes to manual updates on the delivery servers.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-01-03T06:51:29.190" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3645" PostTypeId="1" CreationDate="2017-01-03T08:16:59.210" Score="7" ViewCount="2147" Body="&lt;p&gt;Is there a way that for certain URLs (like /blog/*) to load the content from other server, i.e implementing a reverse proxy?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We were able to do this with a normal site (non Sitecore) but when Sitecore is present it seems that the URL rules from our web.config or &lt;a href=&quot;http://www.helicontech.com/isapi_rewrite/&quot; rel=&quot;noreferrer&quot;&gt;http://www.helicontech.com/isapi_rewrite/&lt;/a&gt; are ignored and the rules from Sitecore take precedence and when accessing the URL instead of getting the content from the other site (i.e. reverse proxy working) we get the Sitecore 404 page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do this with Sitecore? Maybe set thing up in a way that for certain URL patterns Sitecore is bypassed and the web.config and/or Helicon module rules are executed instead (which have support for reverse proxy)?&lt;/p&gt;&#xA;" OwnerUserId="1351" LastEditorUserId="104" LastEditDate="2017-01-03T08:25:41.827" LastActivityDate="2023-03-27T14:45:14.160" Title="How to setup a Reverse proxy with Sitecore?" Tags="|configuration|redirect|url-rewrite|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3647" PostTypeId="1" AcceptedAnswerId="3648" CreationDate="2017-01-03T11:03:29.243" Score="2" ViewCount="1308" Body="&lt;p&gt;We're thinking of following the Helix guidelines accordingly:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;1 Foundation module called &quot;Favicon&quot; that will be used in multiple websites in the same Sitecore instance&lt;/li&gt;&#xA;&lt;li&gt;This feature is a field on the Home item, and is defined in a template that will be inherited by all websites&lt;/li&gt;&#xA;&lt;li&gt;Each website would need to set (override) it's source separately (to the right folder in the Media Library) so that in the content editor the right folder is shown to select the image&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;How should we do this, without having to duplicate the &quot;Favicon&quot; feature for each site (essentially the Template that will be inherited)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2uym7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2uym7.png&quot; alt=&quot;Screenshot of the field which source needs to be site specificly overriden&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is currently on Sitecore 7.0 (but with a planned upgrade to 8.2 in the near future, unfortunately after the go live of this specific website).&lt;/p&gt;&#xA;" OwnerUserId="845" LastEditorUserId="845" LastEditDate="2017-01-03T13:16:48.703" LastActivityDate="2017-01-03T13:16:48.703" Title="How to use a Helix feature for multiple sites with specific template source settings per site?" Tags="|mvc|helix|templates|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3648" PostTypeId="2" ParentId="3647" CreationDate="2017-01-03T12:45:21.940" Score="8" Body="&lt;p&gt;You're going about it wrong. Or - I should say - not in accordance with Helix principles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First and foremost, your idea of a common base template to be used on all websites is not recommended practice.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What Helix Documentation States&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The architecture does not have the concept of a single common base&#xA;  template across all templates – which is a practice that is commonly&#xA;  discouraged as it will often lead to bloated items with unnecessary&#xA;  fields.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://helix.sitecore.net/principles/templates/inheritance.html#inheritance&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/templates/inheritance.html#inheritance&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you should be doing instead, is something like the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set up your &quot;Favicon&quot; as a Feature or Foundation. You have it as a Foundation module, which will be fine.&lt;/li&gt;&#xA;&lt;li&gt;That will, in turn, give you a &quot;Favicon&quot; template. In Helix terminology, this is an &lt;code&gt;Interface Template&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Defines an interface for solution logic to work against, for example&#xA;  by defining the fields that are used by a module’s logic or by simply&#xA;  being a template in the template inheritance hierarchy of an item. Can&#xA;  also be referred to as a base template.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://helix.sitecore.net/principles/templates/template-types.html#template-types&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/templates/template-types.html#template-types&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, for your individual websites - these are &lt;code&gt;Projects&lt;/code&gt; in Helix terms. Projects hold &lt;code&gt;Page Templates&lt;/code&gt; (and only &lt;code&gt;Projects&lt;/code&gt; do this).  So you can define a Home &lt;code&gt;Page Template&lt;/code&gt; for each of your sites, have it inherit from your Favicon Foundation &lt;code&gt;Interface Template&lt;/code&gt; and define a separate source on the &lt;code&gt;Page Template&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Helix documentation describes this as:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To add editor managed settings to the site, modules should define&#xA;  templates which can be added as base templates to the site root item&#xA;  for the project layer module, or add settings items inside the site&#xA;  hierarchy.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://helix.sitecore.net/principles/multi-site/sites.html#sites&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/multi-site/sites.html#sites&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Make your Favicon Foundation module. Use the Interface Template you defined, and inherit from it on your individual Project Home Page templates. Alternatively, create a &lt;em&gt;settings folder&lt;/em&gt; for each site, and place an item (Favicon Settings, for example) for each of the sites in the &lt;em&gt;settings folder&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you need to override the field on the template level (not just a default value), the option with the &lt;em&gt;settings folder&lt;/em&gt; is best suited for your particular scenario.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-03T12:45:21.940" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3651" PostTypeId="2" ParentId="3423" CreationDate="2017-01-03T15:18:47.690" Score="2" Body="&lt;p&gt;Cleanup databases triggers a cleanup of the SQL tables, not of content items' effective data. Serialized item state should be unaffected by a cleanup.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-01-03T15:18:47.690" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3652" PostTypeId="2" ParentId="3645" CreationDate="2017-01-03T15:21:30.027" Score="9" Body="&lt;p&gt;We faced the same issue about a month ago.&#xA;You can use the following rewrite rule.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;rewrite&amp;gt;&#xA;      &amp;lt;rules&amp;gt;&#xA;        &amp;lt;rule name=&amp;quot;Blog rewrite&amp;quot; enabled=&amp;quot;true&amp;quot; &amp;gt;&#xA;          &amp;lt;match url=&amp;quot;^blog/(.*)$&amp;quot; /&amp;gt;&#xA;          &amp;lt;action type=&amp;quot;Rewrite&amp;quot; url=&amp;quot;http://your.other.domain/{R:0}&amp;quot; /&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;      &amp;lt;/rules&amp;gt;&#xA;    &amp;lt;/rewrite&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;We also had to ignore the route for the blog because of MVC route resolving.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Routing;&#xA;using Sitecore.Mvc.Pipelines.Loader;&#xA;using Sitecore.Pipelines;&#xA;&#xA;&#xA;namespace MyProject&#xA;{&#xA;    public class RegisterRoutes : InitializeRoutes&#xA;    {&#xA;        public override void Process(PipelineArgs args)&#xA;        {&#xA;            RouteTable.Routes.Ignore(&amp;quot;blog/{*pathInfo}&amp;quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Related config:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&amp;quot;MyProject.RegisterRoutes, MyProject&amp;quot; patch:before=&amp;quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&amp;quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2023-03-27T14:45:14.160" LastActivityDate="2023-03-27T14:45:14.160" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3654" PostTypeId="2" ParentId="2516" CreationDate="2017-01-03T16:51:02.893" Score="2" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Did you try refreshing your reporting database? &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt; &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;sometime you see contacts in XDB but its not present in your SQL analytics database and thats when you may need to refresh the reporting DB so that all entries are updated in the reporting DB&lt;/p&gt;&#xA;" OwnerUserId="1341" LastActivityDate="2017-01-03T16:51:02.893" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3655" PostTypeId="1" AcceptedAnswerId="3659" CreationDate="2017-01-03T20:18:51.537" Score="1" ViewCount="539" Body="&lt;p&gt;In Sitecore 8.1-3 whenever I go in to the Experience Profile and select a contact and view either the Overview tab or the Profiling tab I see the following error on the screen: &quot;There is no row at position 0&quot;.  What does this mean?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this posting - &lt;a href=&quot;https://stackoverflow.com/questions/28783328/sitecore-8-revision-150121-analytics-mongodb-error-there-is-no-row-at-pos&quot;&gt;https://stackoverflow.com/questions/28783328/sitecore-8-revision-150121-analytics-mongodb-error-there-is-no-row-at-pos&lt;/a&gt; - but that is not really helpful.  It seems to say that this is just a coding bug. Does that mean it can safely be ignored?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: adding log info&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look in the Sitecore logs I see the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3836 14:13:51 INFO  Experience Profile view profile-pattern-matches called&#xA;3836 14:13:51 ERROR There is no row at position 0.&#xA;Exception: System.IndexOutOfRangeException&#xA;Message: There is no row at position 0.&#xA;Source: System.Data&#xA;   at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)&#xA;   at System.Data.DataRowCollection.get_Item(Int32 index)&#xA;   at Sitecore.Cintel.Reporting.Contact.ProfileInfo.Processors.FindBestPatternMatchAndApplyToProfileInfo.ApplyPatternToOneProfile(ReportProcessorArgs args, DataRow profileRow)&#xA;   at Sitecore.Cintel.Reporting.Contact.ProfileInfo.Processors.FindBestPatternMatchAndApplyToProfileInfo.ApplyPatternsToResultTable(ReportProcessorArgs args, DataTable resultTable)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Cintel.Reporting.PipelineViewProvider.GenerateContactView(ViewParameters viewParameters)&#xA;   at Sitecore.Cintel.Endpoint.IntelController.Get(ViewParameters viewParams, Guid contactId, String viewId, String id)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-01-03T21:50:11.437" Title="In Experience Profile - there is no row at position 0 error" Tags="|experience-profile|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3656" PostTypeId="1" AcceptedAnswerId="3657" CreationDate="2017-01-03T20:23:15.670" Score="2" ViewCount="169" Body="&lt;p&gt;We have a Sitecore 8.1-3 instance. We have it running in production and it is recording visit information in Mongo.  We have set up Profiles and Profile Keys in the Marketing Control Panel.  However whenever we go to Experience Profile and click on a contact and then click on the Profiling tab we never see any data.  All we see is &quot;No profile data available&quot; - for all contacts.  Shouldn't there be data showing on this tab?  I can't seem to find any Sitecore documentation that explains what should be showing up on this tab and also how to configure Sitecore properly so that data shows up here.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2020-01-05T10:46:27.150" Title="What data is supposed to be displayed on the Experience Profile - Profiling tab?" Tags="|experience-profile|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3657" PostTypeId="2" ParentId="3656" CreationDate="2017-01-03T21:42:55.450" Score="-1" Body="&lt;p&gt;The &lt;strong&gt;Profiling&lt;/strong&gt; tab displays data connected to the user profiles / pattern cards / personas, which you should define in the CMS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, refer to the &quot;Profiling&quot; section of the documentation: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/content_profiles&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/content_profiles&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-01-03T21:42:55.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3658" PostTypeId="2" ParentId="3655" CreationDate="2017-01-03T21:46:32.093" Score="2" Body="&lt;p&gt;I believe I figured out the problem.  We had not set up any Profile Cards or Pattern Cards.  And so I think the system was displaying that error because it was expecting to find Profile or Pattern Cards.  Once I added a Profile Card and a Pattern Card the error went away.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2017-01-03T21:46:32.093" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3659" PostTypeId="2" ParentId="3655" CreationDate="2017-01-03T21:50:11.437" Score="2" Body="&lt;p&gt;This error happens because there are no pattern and profile cards. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is fixed in the 8.2 Initial release (release notes):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Experience Profile    The error: &quot;There is no row at position 0&quot; appears&#xA;  in the Experience Profile for contacts with personal info and when&#xA;  there are no pattern cards.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a workaround, you can just add one pattern and profile card&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-01-03T21:50:11.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3660" PostTypeId="1" AcceptedAnswerId="3692" CreationDate="2017-01-04T02:39:57.317" Score="3" ViewCount="83" Body="&lt;p&gt;I need your help!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone gotten the Lucene Spatial Search Support module to work in 8.1 that can provide me a tip or hint. From my research, and what I have done to this point, it should be working but it's not bringing back any results. Here is what I have done:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I brought down the code from GitHub to my local, and upgraded the .dlls for 8.1 rev. 160302. Got it building and then took those .dll's and brought them over to my solution. Now when I publish they are going over just fine to my Website folder. I then modified my &quot;locations&quot; index to include the  and  sections along with this change to the index assembly:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;locations&quot; type=&quot;Sitecore.ContentSearch.Spatial.Provider.Lucene.LuceneIndexWithSpatial, Sitecore.ContentSearch.Spatial&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It seems that I have it all in place and working correctly, and there are no errors even when debugging through the code but still no results. Does anyone have a working solution for this in 8.1 that can guide me on &#xA;where something might be misconfigured or not setup properly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed all the directions and steps below to get to this point. Any help is appreciated!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/494/lucene-spatial-search-with-sitecore-8-2&quot;&gt;Lucene spatial search with sitecore 8.2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.sitecorecoding.com/2014/11/Sitecore-ContentSearch-With-Spatial-Search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecorecoding.com/2014/11/Sitecore-ContentSearch-With-Spatial-Search.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-01-05T15:49:37.140" Title="Lucene Spatial Search Support Module Not Working with 8.1" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3661" PostTypeId="1" AcceptedAnswerId="3662" CreationDate="2017-01-04T02:49:44.543" Score="3" ViewCount="544" Body="&lt;p&gt;Html caches in Sitecore are cleared on publish however there is a &lt;code&gt;HtmlCacheClearAgent&lt;/code&gt; which you can run to periodically clear the caches as well. This agent is disabled by default. When is it appropriate/advisable to enable the HtmlCacheClearAgent?&lt;/p&gt;&#xA;" OwnerUserId="148" LastActivityDate="2017-01-08T15:43:05.013" Title="When should the HtmlCacheClearAgent be enabled?" Tags="|caching|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3662" PostTypeId="2" ParentId="3661" CreationDate="2017-01-04T03:28:55.777" Score="7" Body="&lt;p&gt;The cache is typically cleared when publishing, which would happen frequent enough for you to not enable this agent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Imagine a case where you don't want the cache to be cleared, perhaps due to the fact there is a ton of content getting published and you don't want it to refresh every single time an item changes. You could then use this to refresh it once a night to limit the impact to the users.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-01-04T03:28:55.777" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3666" PostTypeId="1" CreationDate="2017-01-04T10:56:12.510" Score="15" ViewCount="9551" Body="&lt;p&gt;I am getting below error in logs and none of the interaction data is collected in mongoDB also.&#xA;Verified with &lt;a href=&quot;https://stackoverflow.com/questions/34083886/xdb-not-storing-any-interactions/34085142&quot;&gt;Post&lt;/a&gt; looks everything Ok in my solution. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Cannot create tracker.&#xA;    Exception: System.InvalidOperationException&#xA;    Message: session is not initialized&#xA;    Source: Sitecore.Analytics&#xA;       at Sitecore.Analytics.Data.HttpSessionContextManager.GetSession()&#xA;       at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureContext.Process(InitializeTrackerArgs args)&#xA;       at (Object , Object[] )&#xA;       at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;       at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureSessionContextPipeline.Run(InitializeTrackerArgs args)&#xA;       at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()&#xA;       at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)&#xA;       at (Object , Object[] )&#xA;       at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;       at Sitecore.Analytics.Tracker.Initialize()&#xA;&#xA;&#xA;  [1]: https://stackoverflow.com/questions/34083886/xdb-not-storing-any-interactions/34085142&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another error in log related to analytics I can see is below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3608 07:08:13 ERROR Media request analytics failed&#xA;Exception: System.InvalidOperationException&#xA;Message: Tracker.Current is not initialized&#xA;Source: Sitecore.Analytics&#xA;   at Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.StartAnalytics.StartAnalyticsPipeline.Run()&#xA;   at Sitecore.Analytics.Media.MediaRequestEventHandler.StartTracking()&#xA;   at Sitecore.Analytics.Media.MediaRequestEventHandler.OnMediaRequest(Object sender, EventArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="493" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-02-13T06:06:06.063" Title="ERROR: Cannot create tracker (Message:session is not initialized) Sitecore 8.1 update 2" Tags="|xdb|mongodb|" AnswerCount="3" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="3668" PostTypeId="1" AcceptedAnswerId="3676" CreationDate="2017-01-04T13:27:50.327" Score="7" ViewCount="464" Body="&lt;p&gt;In Sitecore 8.1-3 when we go to Experience Profile and do a simple search sometimes (not all the time) we get zero results when we know that there are entries in the index and we see a message that just says &quot;An error has occurred&quot;. I have looked in all of the log files and I don't see any error messages anywhere.  Any ideas?  Below is a screen shot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EoSQK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EoSQK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: adding more info.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using SOLR 4.10. I looked in the browser console and I do see an error. It says that there is a 500 Internal Server Error when I attempt this search. And the URL that it shows is this: &lt;code&gt;/sitecore/api/ao/v1/contacts/search?&amp;amp;pageNumber=1&amp;amp;sort=visitCount%20desc&amp;amp;match=don&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked in Event Viewer and I can't seem to find any error that matches this. So I'm not sure why it is having issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: The very strange thing here is that I only get this error for certain queries. As an example, if I search for &quot;day&quot; then I don't get any errors and the results return normally.  However if I search for &quot;don&quot; then I get an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE2: I was able to look in my browser console and find more information about the exception.  Here is the full exception information:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;Message&quot;: &quot;An error has occurred.&quot;,&#xA;  &quot;ExceptionMessage&quot;: &quot;The added or subtracted value results in an un-representable DateTime.\r\nParameter name: value&quot;,&#xA;  &quot;ExceptionType&quot;: &quot;System.ArgumentOutOfRangeException&quot;,&#xA;  &quot;StackTrace&quot;: &quot;   at System.DateTime.AddTicks(Int64 value)\r\n   at Sitecore.Cintel.Client.Transformers.TimeConverter.FormatDateTime(DateTime time, String format)\r\n   at Sitecore.Cintel.Client.Transformers.Contact.ContactSearchResultTransformer.ExtendResult(IContactSearchResult result, DateTime nowTime)\r\n   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n   at Sitecore.Cintel.Client.Transformers.Contact.ContactSearchResultTransformer.Transform(ResultSet`1 resultSet)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&amp;gt;c__DisplayClass10.&amp;lt;GetExecutor&amp;gt;b__9(Object instance, Object[] methodParameters)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.&amp;lt;InvokeActionAsyncCore&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext()&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="2727" LastEditDate="2018-04-02T12:48:23.400" LastActivityDate="2018-08-02T11:05:12.103" Title="Experience Profile search - System.ArgumentOutOfRangeException errir" Tags="|solr|content-search|experience-profile|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="3669" PostTypeId="2" ParentId="3531" CreationDate="2017-01-04T14:17:16.243" Score="5" Body="&lt;p&gt;It is possible to use the Fortis Dyanmic Placeholders in Web Forms however you'll need to create your own method of generating the placeholder ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The MVC implementation is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static HtmlString DynamicPlaceholder(this SitecoreHelper helper, string placeholderName)&#xA;{&#xA;    var placeholder = PlaceholdersContext.Add(placeholderName, RenderingContext.Current.Rendering.UniqueId);&#xA;&#xA;    return helper.Placeholder(placeholder);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;True Clarity wrote a &lt;a href=&quot;https://blog.trueclarity.co.uk/2012/06/19/dynamic-placeholder-keys-in-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;blog post&lt;/a&gt; on how to implement a dynamic placeholder control for Web Forms. Below is an adapted version that should work with the Fortis Dynamic Placeholder library.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DynamicPlaceholder : WebControl, IExpandable&#xA;{&#xA;    private string key = Placeholder.DefaultPlaceholderKey;&#xA;&#xA;    public string Key&#xA;    {&#xA;        get { return _key; }&#xA;        set { _key = value; }&#xA;    }&#xA;&#xA;    protected override void CreateChildControls()&#xA;    {&#xA;        var parentRendering = this.Parent as Sublayout;&#xA;&#xA;        if (parentRendering == null)&#xA;        {&#xA;            // Problem - parent control isn't a Sublayout (why?)&#xA;        }&#xA;&#xA;        var renderingId = parentRendering.ID&#xA;        var dynamicKey = PlaceholdersContext.Add(placeholderName, renderingId);&#xA;        var placeholder = new Placeholder();&#xA;&#xA;        placeholder.Key = dynamicKey;&#xA;&#xA;        this.Controls.Add(placeholder);&#xA;        placeholder.Expand();&#xA;    }&#xA;&#xA;    protected override void DoRender(HtmlTextWriter output)&#xA;    {&#xA;        base.RenderChildren(output);&#xA;    }&#xA;&#xA;    public void Expand()&#xA;    {&#xA;        this.EnsureChildControls();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Please note that I haven't tested the above at all and I've just written it :).&lt;/strong&gt; It's likely it may need tweaking but I think the general approach is there. I hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="720" LastActivityDate="2017-01-04T14:17:16.243" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3670" PostTypeId="2" ParentId="3661" CreationDate="2017-01-04T14:36:39.987" Score="5" Body="&lt;p&gt;I have seen uses for the HtmlCacheClearAgent when Sitecore is serving up a lot of 'unpublished' content such as data from an external database or API. There may be changes in that external source that need to be rendered and since no Sitecore content was changed there may be no publishing actions occurring.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this scenario, you could use an HtmlCacheClearAgent to ensure that the data displayed is at a specific interval of freshness. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, this should only be used if a large portion of the system is being driven this way. Otherwise, you would be better off looking at something at the rendering level (perhaps disabling cache on the rendering) to make sure the data is fresh.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-01-04T14:36:39.987" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3671" PostTypeId="2" ParentId="3666" CreationDate="2017-01-04T15:33:35.047" Score="8" Body="&lt;p&gt;I have experienced both of the errors that you mention in an 8.1.2 instance - sometimes together and other times separately. The below are the most common causes and solutions for these issues, in my experience. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that it is possible for you to have more than one of these issues at a time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Tracking and xDB Disabled...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Tracker.Current is not initialized&lt;/code&gt; error most commonly occurs when you have xDB or Tracking disabled. Open your ShowConfig and verify that the &lt;code&gt;Xdb.Enabled&lt;/code&gt; setting and the &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; are set to &lt;code&gt;true&lt;/code&gt;, and ensure the &lt;code&gt;enableTracking=&quot;true&quot;&lt;/code&gt; on your &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; configuration node. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I am including this information as it may help others, but is most likely not the cause of your issue, since you also have &lt;code&gt;session is not initialized&lt;/code&gt; error. However, if you do not get the &lt;code&gt;session is not initialized&lt;/code&gt; error on your CM, this could be the cause of the issue on that instance and a different issue may exist on your CDs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Initialize Pipeline Errors or Aborts...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that you don't have any errors or aborts in your initialize pipeline processors. If you do, this could be preventing the pipeline from reaching the &lt;code&gt;Sitecore.Analytics...&lt;/code&gt; processors that initialize your &lt;code&gt;Tracker&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Session State Configuration is incorrect...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue is sometimes caused by a error in Session State configuration, causing &lt;code&gt;Session&lt;/code&gt; to be null and/or keeping it from being initialized. If this issue is happening on your CDs only, make sure that your CDs are correctly configured to use Shared Session State, and that there are no issues with your configuration (the most common issue I see is pointing your session provider at the wrong connection string name). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;If you are using xDB Cloud...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using xDB Cloud, reach out to Sitecore support and make sure that everything is associated properly with the license that you are using. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen this error occur when an instance is configured to use xDB Cloud but the license on the server is not the one authorized for the xDB Cloud account. In other words, if your client purchased xDB Cloud but you have your Partner License up on the site or if there is a problem with your client's license then this error can occur. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can sometimes identify this error by looking in your logs and checking for the &quot;Valid xDB license present&quot; message on initialize. However, if your license has an xDB Cloud license associated with it (which all up-to-date partner licenses should) then you will see this message, whether or not your license is associated with the same xDB Cloud account as you are connecting to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;If you are not using xDB Cloud...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not using xDB Cloud but you are using a separate Reporting instance, be sure that you are able to connect to it as expected. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-01-04T15:57:51.880" LastActivityDate="2017-01-04T15:57:51.880" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3672" PostTypeId="1" AcceptedAnswerId="3675" CreationDate="2017-01-04T16:44:06.773" Score="1" ViewCount="394" Body="&lt;p&gt;I have setup secondary analytics db and trying to rebuild reporting database by going to &lt;code&gt;&quot;sitecore/admin/RebuildReportingDB.aspx&quot;&lt;/code&gt;. However when I open &lt;code&gt;&quot;RebuildReportingDB.aspx&quot;&lt;/code&gt; I am getting below error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore8.1 update3&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[RequiredObjectIsNullException: RebuildTaskDataProvider]&lt;br&gt;&#xA;  Sitecore.Analytics.Aggregation.History.ReportingStorageManager.GetRebuildStatus()&#xA;  +98    ASP.sitecore_admin_rebuildreportingdb_aspx.OnPreLoad(EventArgs e) +77    System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;  +2982&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1025" LastEditorUserId="2727" LastEditDate="2018-03-23T10:06:41.420" LastActivityDate="2018-03-23T10:06:41.420" Title="RequiredObjectIsNullException while rebuilding the reporting database - RebuildTaskDataProvider" Tags="|xdb|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3673" PostTypeId="1" AcceptedAnswerId="3694" CreationDate="2017-01-04T16:53:40.437" Score="11" ViewCount="2263" Body="&lt;p&gt;Anyone know if there is any easy way of making a dictionary item editable in experience editor could be using glass or not?&#xA;I've seen some examples where custom pipelines have been built but wondering if there is any easier way.&#xA;thanks&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-01-06T12:48:18.487" Title="Dictionary items editable in experience editor?" Tags="|experience-editor|dictionary|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="3674" PostTypeId="2" ParentId="3673" CreationDate="2017-01-04T16:57:32.963" Score="4" Body="&lt;h3&gt;Using the Sitecore Dictionary&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, custom pipelines and the like are really the only way to go for this on, AFAIK. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Globalization.Translate&lt;/code&gt;, the method for rendering out a dictionary item's value, does not run through the Field Render pipeline. As such, custom logic must be written to allow editing of the dictionary item in the Experience Editor and to actually manage the saving of the value.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Writing a Custom Sitecore Dictionary&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;An alternative option, though it doesn't directly answer your question, would be to create your own custom Sitecore dictionary. You would create the necessary templates, and you could write a custom MvcHelper (or control, if using webforms) to retrieve and render the value of the item by name, path, etc. Basically, you could either write access logic to mimic the OOTB Sitecore Dictionary, or you could write your own, more robust access logic. This would allow you to render your dictionary item field values the same way as you would fields of other items, thus making it possible to edit them in the Experience Editor with the same requirements and limitations as any other item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;IMHO, the biggest negative is that you would lose the benefit of Sitecore's Dictionary caching, but you could always add your own caching to help speed things along. An alternative to implementing custom caching could be to create a rendering specifically for Dictionary entries. Your custom MvcHelper/Control would then be responsible for rendering the component with the appropriate Dictionary entry as its datasource. You could then enable HTML caching for the site, set the rendering to &lt;code&gt;Cacheable&lt;/code&gt; and set its caching to &lt;code&gt;Vary by data&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-01-04T17:38:35.650" LastActivityDate="2017-01-04T17:38:35.650" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3675" PostTypeId="2" ParentId="3672" CreationDate="2017-01-04T18:56:19.070" Score="2" Body="&lt;p&gt;After spending sometime I have noticed that I made a mistake(tags were not closed properly) while updating &quot;TimeToClearStorage&quot; setting in Sitecore.Analytics.Processing.Aggregation.config which broke the config so &quot;RebuildReportingDB.aspx&quot; was throwing above error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For rebuilding reporting database Sitecore recommends to create a fresh analytic DB (reporting.secondary) and copy few tables from existing analytic DB to fresh DB during the rebuilding process. Also recommends to increase &quot;TimeToClearStorage&quot; to  ensure that you allow more time for the clear storage process while these tables are being copied. Find more information here &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So while updating the setting I added&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TimeToClearStorage&amp;gt;0.00:01:00&amp;lt;/TimeToClearStorage&#xA;instead of&#xA;&amp;lt;TimeToClearStorage&amp;gt;0.00:01:00&amp;lt;/TimeToClearStorage&amp;gt;&#xA;Notice missing '&amp;lt;' and '&amp;gt;' for tag.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1025" LastEditorUserId="1025" LastEditDate="2017-01-04T23:08:53.060" LastActivityDate="2017-01-04T23:08:53.060" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3676" PostTypeId="2" ParentId="3668" CreationDate="2017-01-04T20:13:21.773" Score="6" Body="&lt;h2&gt;Main Issue&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This issue here is because of a negative offset in your Timezone. If you are based on a timezone that is negative offset to GMT (AKA all of the North and South Americas) then this is a bug that affects you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To test this issue yourself, change your timezone to a POSITIVE offset (Like +4 HOURS GMT) and then rerun your Search in Experience Profile.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The solution is found in Sitecore Support Public Reference Number 74085.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Put the attached Sitecore.Support.74085.dll assembly into the \bin folder.&lt;/li&gt;&#xA;&lt;li&gt;Put the attached Sitecore.Support.74085.config file into the \App_Config\Include\ExperienceProfile folder.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Support Github page for this fix, including the download zip can be found here: &lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.74085/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sitecoresupport/Sitecore.Support.74085/releases&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, download the fix files directly here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://drive.google.com/file/d/0B5XGFatSH0t3VWpNeFFsaGktV00/view?usp=sharing%20&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Support.74085.dll&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://drive.google.com/file/d/0B5XGFatSH0t3bDRBTVltZE5nbFE/view?usp=sharing&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Support.74085.config&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="3968" LastEditDate="2018-08-02T11:05:12.103" LastActivityDate="2018-08-02T11:05:12.103" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="3677" PostTypeId="1" CreationDate="2017-01-04T23:04:07.740" Score="3" ViewCount="592" Body="&lt;p&gt;I am trying to upgrade my Sitecore installation from 8.1 original release to 8.2 original release. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've successfully upgraded my CM instance, and so now I'm trying to do the same thing for my CD instance. I've downloaded the Upgrade Guide from &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;the Sitecore documentation site&lt;/a&gt;, and I've gotten to step 1.2.3, where I upgrade the update installation wizard. It says to log into the CD instance and then run the Update Installation Wizard package.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9QHlj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9QHlj.png&quot; alt=&quot;Instruction Snippet&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So as soon as I try to log into my CD instance, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FA3t2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FA3t2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At this point, I realize that of course I can't log into the CD instance of Sitecore, because I've disabled that functionality. My understanding is that is standard functionality to not allow CD instances to be logged into and have access to the desktop, as it could be a security risk if someone were to gain access to a login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, while I can temporarily allow access to the desktop for my test servers, I'm not sure that is such a good idea for running this on wizard on my &lt;strong&gt;Production&lt;/strong&gt; CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the proper way to upgrade my CD instance?&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="1671" LastEditDate="2018-06-29T13:47:45.193" LastActivityDate="2018-06-29T13:47:45.193" Title="Requested document was not found when trying to upgrade Sitecore CD" Tags="|upgrade|content-delivery|" AnswerCount="0" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="3678" PostTypeId="2" ParentId="3531" CreationDate="2017-01-05T04:00:39.120" Score="1" Body="&lt;p&gt;I did something similar to what Jason mentioned to get it working. I created a project with Unicorn items and working examples. You can find that project here. &lt;a href=&quot;https://github.com/dnstommy/DynamicPlaceholders.Webforms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/dnstommy/DynamicPlaceholders.Webforms/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code that worked for me is as follows. It uses Dynamic keys for the placeholder keys and Fortis for all the saving and compitable rending switching.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PlaceholderControl : WebControl, IExpandable&#xA;{&#xA;    private string _key = Placeholder.DefaultPlaceholderKey;&#xA;    private Placeholder _placeholder;&#xA;&#xA;    public string Key&#xA;    {&#xA;        get&#xA;        {&#xA;            return _key;&#xA;        }&#xA;        set&#xA;        {&#xA;            _key = value.ToLower();&#xA;        }&#xA;    }&#xA;&#xA;    protected string DynamicKey&#xA;    {&#xA;        get&#xA;        {&#xA;            if (DynamicKey1 != null)&#xA;            {&#xA;                return DynamicKey1;&#xA;            }&#xA;            DynamicKey1 = _key;&#xA;            var stack = Switcher&amp;lt;Placeholder, PlaceholderSwitcher&amp;gt;.GetStack(false);&#xA;            var current = stack.Peek();&#xA;            var renderings = Sitecore.Context.Page.Renderings.Where(rendering =&amp;gt; (rendering.Placeholder == current.ContextKey || rendering.Placeholder == current.Key) &amp;amp;&amp;amp; rendering.AddedToPage);&#xA;            var renderingReferences = renderings as RenderingReference[] ?? renderings.ToArray();&#xA;            if (!renderingReferences.Any()) return DynamicKey1;&#xA;            {&#xA;                var rendering = renderingReferences.Last();&#xA;                DynamicKey1 = rendering.UniqueId;&#xA;            }&#xA;            return DynamicKey1;&#xA;        }&#xA;    }&#xA;&#xA;    public string DynamicKey1 { get; set; }&#xA;&#xA;    protected override void CreateChildControls()&#xA;    {&#xA;        Sitecore.Diagnostics.Tracer.Debug(&quot;DynamicKeyPlaceholder: Adding dynamic placeholder with Key &quot; + DynamicKey);&#xA;        _placeholder = new Placeholder { Key = PlaceholdersContext.Add(Key, Guid.Parse(DynamicKey)) };&#xA;        Controls.Add(_placeholder);&#xA;        _placeholder.Expand();&#xA;    }&#xA;&#xA;    protected override void DoRender(HtmlTextWriter output)&#xA;    {&#xA;        RenderChildren(output);&#xA;    }&#xA;&#xA;    public void Expand()&#xA;    {&#xA;        EnsureChildControls();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-01-05T04:00:39.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3681" PostTypeId="2" ParentId="3558" CreationDate="2017-01-05T06:58:56.513" Score="2" Body="&lt;p&gt;I was able to resolve this issue and identify a workaournd. &#xA;I was using the Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;).SelectItems(query)&#xA;This doesnt work if we have Sitecore reserved words. &#xA;In my case I need only one item and I changed my code to use&#xA;Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;).GetItem()&#xA;and it works.&lt;/p&gt;&#xA;" OwnerUserId="1333" LastActivityDate="2017-01-05T06:58:56.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3682" PostTypeId="1" AcceptedAnswerId="3703" CreationDate="2017-01-05T07:49:46.410" Score="3" ViewCount="230" Body="&lt;p&gt;We have Sitecore 8.2. In the Sitecore_reporting database in SQL server, there is this &lt;em&gt;Fact_PageViewsByLanguage&lt;/em&gt; table with these columns:  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SiteNameId &lt;/li&gt;&#xA;&lt;li&gt;LanguageId &lt;/li&gt;&#xA;&lt;li&gt;Views &lt;/li&gt;&#xA;&lt;li&gt;Visits &lt;/li&gt;&#xA;&lt;li&gt;Value  &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is there a document where I can find information about these columns. I am looking for the following info:&lt;br&gt;&#xA;1. What is the difference between the &lt;em&gt;Views&lt;/em&gt; &amp;amp; the &lt;em&gt;Visits&lt;/em&gt; column.&lt;br&gt;&#xA;2. For few records, the value for &lt;em&gt;Visits&lt;/em&gt; is 0, but there are some Views for it. How come?&lt;br&gt;&#xA;3. If I need to get the popular pages, I need to be looking at &lt;code&gt;SUM(Views)&lt;/code&gt;&amp;amp; not &lt;em&gt;Visits&lt;/em&gt;. Am I right?&lt;br&gt;&#xA;4.  What does the &lt;em&gt;Value&lt;/em&gt; column contain.&lt;br&gt;&#xA;5. The &lt;em&gt;SiteNameId&lt;/em&gt; and &lt;em&gt;LanguageId&lt;/em&gt; has values which are not GUIDs like - (-1811310475, -1743424285). How can I map them to the required Sitename or language.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-01-09T03:44:46.737" LastActivityDate="2017-01-09T03:44:46.737" Title="Fact_PageViewsByLanguage table information" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3684" PostTypeId="2" ParentId="2580" CreationDate="2017-01-05T10:43:20.400" Score="0" Body="&lt;p&gt;Adding correct user(IIS user) permission to website folder as per Sitecore document solved this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;- This answer has been added to solve this issue. Still I am clue less on why an AppPool recycle was able to solve the issue.&lt;/p&gt;&#xA;" OwnerUserId="493" LastActivityDate="2017-01-05T10:43:20.400" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3686" PostTypeId="2" ParentId="3282" CreationDate="2017-01-05T11:37:58.157" Score="1" Body="&lt;p&gt;Without rewriting a lot of the Sitecore implementation you won't be able to switch to POST (this is really unfortunate).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With regards to the buffer size, I believe you're using the wrong parameter. Try increasing the &lt;a href=&quot;https://wiki.apache.org/solr/SolrJetty#Long_HTTP_GET_Query_URLs&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;headerBufferSize&lt;/code&gt;&lt;/a&gt;. Increasing the buffer size will solve your problems right now but isn't really a scalable solution as it's linear in that you're just increasing memory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you've already mentioned you're looking to reduce the size of the query which is what I would suggest. Depending on what you're doing, you could look to store reduced length values that you can query against.&lt;/p&gt;&#xA;" OwnerUserId="720" LastActivityDate="2017-01-05T11:37:58.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3687" PostTypeId="2" ParentId="3216" CreationDate="2017-01-05T13:00:44.367" Score="1" Body="&lt;p&gt;For your scenario, unfortunately, the answer is that you should use a component test. This does involve duplicating the datasource item (and any other items you want to change related to it).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Page test&lt;/strong&gt; - usually used for when you move components about or change them on the page&#xA;&lt;strong&gt;Component test&lt;/strong&gt; - usually used when you're testing the content of a component (which is your case)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It sounds like the component test you set up is working. While this may not be a solution for you, I would suggest reworking the component itself. Rather than having a carousel component which then generates the slide markup and points to an item which then points to the slide items. Make each slide a component which can be placed in the carousel via a placeholder. This way you can run component tests directly on each slide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With regards to the page test you set up, it could be that you need to publish the relevant items. Creating a test doesn't do any publishing (you think it would).&lt;/p&gt;&#xA;" OwnerUserId="720" LastActivityDate="2017-01-05T13:00:44.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3688" PostTypeId="1" AcceptedAnswerId="3741" CreationDate="2017-01-05T13:23:25.480" Score="2" ViewCount="845" Body="&lt;p&gt;I am facing a weird issue with WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have used WFFM module for contact us page in website.&#xA;In the form i have few required fields which i marked as required using WFFM.&#xA;Most of the time form validation works.But after few hours same page gives exception. This issue comes in some regular intervals( like 1-2 day)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The immediate fix which i am doing is the reset IIS or recycle app pool.&#xA;sometimes reset IIS not works in that case i have to do a reset IIS+ web.config modification(any kind of modification).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any permanent Fix for this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1(update 1) + supported WFFM&#xA;also, Language fallback is enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am sensing this issue is related to Cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the exception details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GXCfZ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GXCfZ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if anyone has solution for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="951" LastActivityDate="2017-01-11T10:31:35.597" Title="WFFM error :Empty strings are not allowed.Parameter name: errorMessage" Tags="|wffm|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3689" PostTypeId="1" AcceptedAnswerId="3696" CreationDate="2017-01-05T13:28:52.550" Score="6" ViewCount="2375" Body="&lt;p&gt;The instance name is &lt;code&gt;mysite.org&lt;/code&gt; and I have used the Facebook share button. The site is not a public URL yet. The goal points to the related goal is set to 10.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the issues:  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;In preview mode, the facebook button is visible, clicking on which the login dialog appears. But when I publish the page, this button is not rendered.  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In preview mode, when I click on share and log in with facebook credentials, the Likes number increased to 1 from 0. But nothing came up on my facebook page. Is it because mysite.org is not a public URL?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I want to check the goals/points achieved, but in Content Editor - Analyze &gt; reports, the value is 0. Should this not be 10 or more (as I have been trying more than once.)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;How Can I check the triggered goals (in Mongo or SQL) . Using Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MwBf4.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MwBf4.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-07-10T12:40:47.967" Title="How to view triggered goals" Tags="|xdb|experience-analytics|goals|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3692" PostTypeId="2" ParentId="3660" CreationDate="2017-01-05T15:49:37.140" Score="1" Body="&lt;p&gt;Turned out that by working with Ahmed Okour on this issue, I was missing this one line of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/spatialLuceneIndexConfiguration&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to replace this line of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Basically, the wrong index configuration was being called upon. This is the correct index configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;spatialLuceneIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot;  type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;          &amp;lt;documentBuilderType&amp;gt;Sitecore.ContentSearch.Spatial.Indexing.LuceneSpatialDocumentBuilder, Sitecore.ContentSearch.Spatial&amp;lt;/documentBuilderType&amp;gt;&#xA;        &amp;lt;/spatialLuceneIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, it's working and I am getting correct results back. Happy coding!&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2017-01-05T15:49:37.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3694" PostTypeId="2" ParentId="3673" CreationDate="2017-01-05T16:58:27.247" Score="9" Body="&lt;p&gt;As jammykam has said above I'm not aware of any OOTB way of doing this, despite dictionaries being part of Sitecore for quite some time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I spoke to a friend who has implemented this and I thought they wrote something from scratch, but apparently they based it on the blogpost above mentioned by Sitecore Climber: &lt;a href=&quot;http://jockstothecore.com/editable-dictionary-items-2/&quot; rel=&quot;noreferrer&quot;&gt;http://jockstothecore.com/editable-dictionary-items-2/&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure of the changes that were made to the code for the project they used it on (or if they will be able to share it) but reading over that blog post it is definitively a good start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;A few things to consider here though:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;This blog post is a prototype solution and so will need some refactoring and testing.&lt;/li&gt;&#xA;&lt;li&gt;The dictionary item returned to the Experience Editor may be a fallback dictionary instead of a domain dictionary if you have fall-back enabled (this may cause you permissions problems or editors some confusion)&lt;/li&gt;&#xA;&lt;li&gt;You may need to do some work around clearing the dictionary cache after saving and publishing to see dictionary changes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other Options:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is another idea here from Murali Tiruppathi that is less complex. It came from the original SDN forum post that lead to the jockstothecore blog post above being written (&lt;a href=&quot;https://sdn.sitecore.net/Forum/ShowPost.aspx?PostID=71225&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/Forum/ShowPost.aspx?PostID=71225&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally you do a sitecore translate for example: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Sitecore.Globalization.Translate.Text(&quot;EmailForm.Validation.CCBCC&quot;) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can encapsulate the Translate to a custom class which might look like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class CustomTranslate &#xA;{    &#xA;    public static string Text(string key) &#xA;    { &#xA;        if (Sitecore.Context.PageMode.IsPageEditorEditing) &#xA;        { &#xA;            Item currentItem = Context.Database.GetItem(ResourcesController.ItemLookUp()[key]); &#xA;            if (currentItem != null) &#xA;            { &#xA;                return FieldRenderer.Render(currentItem, &quot;Phrase&quot;); &#xA;            } &#xA;        }&#xA;&#xA;        return Sitecore.Globalization.Translate.Text(key); &#xA;    } &#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;CustomTranslate.Text&lt;/code&gt; returns a &lt;code&gt;FieldRenderer&lt;/code&gt; in PageEdit mode else returns the &lt;code&gt;Sitecore.Globalization.Translate.Text&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in your code you can refer the translations as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@CustomTranslate.Text(&quot;EmailForm.Validation.CCBCC&quot;) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Lookup can be a dictionary of Key and Item ID:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class ResourceController &#xA;{ &#xA;&#xA;    public static Dictionary ItemLookUp() &#xA;    {       &#xA;        ///get dictionary path..etc.. code not included &#xA;&#xA;        Sitecore.Data.Items.Item[] items = Sitecore.Context.Database.SelectItems(&quot;fast:&quot; + dictionaryPath + &quot;//*[@@templateid='{6D1CD897-1936-4A3A-A511-289A94C2A7B1}']&quot;); &#xA;        items.All(y =&amp;gt; { resourceDictionary.Add(y[&quot;Key&quot;], y.ID.Guid.ToString()); return true;} &#xA;&#xA;        return resourceDictionary;      &#xA;    } &#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Again this code will likely need some refactoring, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.PageMode.IsPageEditorEditing&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Should now be this in 8+:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.PageMode.IsExperienceEditorEditing&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Doing this via Pipelines is probably a nicer and cleaner way of doing this though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I get chance to use this on the current project I'm on i'll try and share the production ready code. We already have a custom translate class in place to handle empty or missing dictionary items gracefully so Murali's approach would be easier for us to implement.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="135" LastEditDate="2017-01-06T12:48:18.487" LastActivityDate="2017-01-06T12:48:18.487" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3695" PostTypeId="1" CreationDate="2017-01-05T19:15:29.140" Score="0" ViewCount="1366" Body="&lt;p&gt;I'm encountering a bug that injects break tags into my single-line text fields after saving. We are working in Sitecore 8.1 Update 1 and using GlassMapper to render fields. When I enter text into the component, everything looks fine:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OxsA1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OxsA1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I delete the text in the input area using the backspace key, instead of [No text in field] displaying, I get empty whitespace:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/obzhE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/obzhE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought somehow there was still a break tag or whitespace character in the box, however checking the HTML there was nothing in the span tag for the input:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;span class=&quot;scWebEditInput scEnabledChrome&quot; id=&quot;fld_1E94649685104A9AAC2CFB1EC424D8D1_A03773D2427E4231992E62F0A2EB97C0_en_1_943d2feea2f3494f969d854e31a32bc3_8019_edit&quot; contenteditable=&quot;true&quot; sc-part-of=&quot;field&quot; scdefaulttext=&quot;[No text in field]&quot; scfieldtype=&quot;single-line text&quot; sc_parameters=&quot;prevent-line-break=true&quot;&amp;gt;&amp;lt;/span&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, once I save the page with the empty box, break tags appear in the input: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dKIvW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dKIvW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code for the example component I've used but this is happening in other Single-Line Text fields as well:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Code.GlassMapper&#xA;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;Code.ViewModels.GeneralText&amp;gt;&#xA;&#xA;&amp;lt;div class=&quot;row margin-bottom-10 generalText&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;col-sm-12&quot;&amp;gt;&#xA;        @if(Sitecore.Context.PageMode.IsExperienceEditor || !Model.Title.IsEmpty()){&#xA;            &amp;lt;h3&amp;gt;@Editable(x =&amp;gt; x.Title)&amp;lt;/h3&amp;gt;&#xA;        }&#xA;        @Editable(x =&amp;gt; x.Text)&#xA;&#xA;        @if (Model.Button != null || Sitecore.Context.PageMode.IsExperienceEditorEditing) {&#xA;            &amp;lt;p class=&quot;margin-left-0 margin-top-0&quot;&amp;gt;&#xA;                @Editable(x =&amp;gt; x.Button, GlassHelpers.AddCssClassParameter(&quot;btn-u btn-u-small&quot;)) &amp;lt;span class=&quot;small&quot;&amp;gt;@(Sitecore.Context.PageMode.IsExperienceEditorEditing ? &quot; (button)&quot; : &quot;&quot;)&amp;lt;/span&amp;gt;&#xA;&amp;lt;/p&amp;gt;&#xA;        }&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've checked the Standard Values template and there is no break tag there. I'm unsure of where this tag is originating from and why it only appears to be an issue in IE/Safari. Has anyone experienced this issue before? Any ideas on where to go with this? Thanks for the help!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I originally couldn't see this but when I hit 'Edit as HTML' on the span tag in the debugger I found a break tag in it. It appears as though the second the text is removed from the input, the break tag appears in the HTML instead of [No text in field].&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;span class=&quot;scWebEditInput scEnabledChrome&quot; id=&quot;fld_1E94649685104A9AAC2CFB1EC424D8D1_A03773D2427E4231992E62F0A2EB97C0_en_1_943d2feea2f3494f969d854e31a32bc3_8019_edit&quot; contenteditable=&quot;true&quot; sc-part-of=&quot;field&quot; scdefaulttext=&quot;[No text in field]&quot; scfieldtype=&quot;single-line text&quot; sc_parameters=&quot;prevent-line-break=true&quot;&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1080" LastEditorUserId="1080" LastEditDate="2017-01-05T19:47:47.403" LastActivityDate="2017-01-05T19:47:47.403" Title="Single-Line Text &lt;br&gt; Tag Bug" Tags="|glass-mapper|text-field|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3696" PostTypeId="2" ParentId="3689" CreationDate="2017-01-05T21:36:42.637" Score="5" Body="&lt;p&gt;You can see it 2 different ways : &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If it is pagebased goal then goto that item in sitecore and then click analyze panel and then click on reports and select page - goals and events&lt;/li&gt;&#xA;&lt;li&gt;By going to the analytics dashboard --&gt; Conversions --&gt; goals (below screenshot) and then browse the individual goal by click on that goal (blue bar in graph) (so under exp analytics it should read something like Dashboard --&gt; Goals --&gt; Goal)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5HvrW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5HvrW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorUserId="1833" LastEditDate="2017-07-10T12:40:47.967" LastActivityDate="2017-07-10T12:40:47.967" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3698" PostTypeId="1" AcceptedAnswerId="3699" CreationDate="2017-01-06T01:28:56.143" Score="4" ViewCount="336" Body="&lt;p&gt;This error is showing up in my Sitecore error logs 5,611 times a day. Any thoughts on how to fix it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 7.5&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;464 2017:01:05 00:00:00 ERROR Cannot process 'ProcessSubscriptions' processor because of internal error&#xA;Exception: System.ArgumentException&#xA;Message: The parameter 'address' cannot be an empty string.&#xA;Parameter name: address&#xA;Source: System&#xA;   at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)&#xA;   at Sitecore.Analytics.Pipelines.CommitSession.ProcessSubscriptions.Process(CommitSessionPipelineArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastActivityDate="2017-01-20T15:22:18.277" Title="Cannot process 'ProcessSubscriptions' processor because of internal error" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3699" PostTypeId="2" ParentId="3698" CreationDate="2017-01-06T06:22:27.743" Score="2" Body="&lt;p&gt;This error appears because you have not filled the below setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;setting name=&quot;Analytics.EMailFromAddress&quot; value=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in Sitecore.Analytics.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, check if in the web.config file the &quot;MailServer&quot; setting is filled in with an address of your SMTP server as well as the &quot;MailServerUserName&quot;, &quot;MailServerPassword&quot; and &quot;MailServerPort&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the ProcessSubscriptions processor you have next code that use &lt;strong&gt;Analytics.EMailFromAddress&lt;/strong&gt; setting :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class ProcessSubscriptions : CommitSessionProcessor&#xA;  {&#xA;    public override void Process(CommitSessionPipelineArgs args)&#xA;    {&#xA;        try&#xA;        {&#xA;            Assert.IsNotNull(args.Session, &quot;Tracker.Current.Session is not initialized&quot;);&#xA;            ISmtpClient smtpClient = (Factory.CreateObject(&quot;emailprovider&quot;, false) as ISmtpClient) ?? new SmtpClientWrapper();&#xA;            Session session = args.Session;&#xA;            CurrentInteraction interaction = session.Interaction;&#xA;            Assert.IsNotNull(interaction, &quot;visit&quot;);&#xA;            interaction.UpdateLocationReference();&#xA;            if (!interaction.LocationId.HasValue)&#xA;            {&#xA;                Log.Debug(&quot;[Analytics]: The CommitSession pipeline, ProcessSubscriptions - Location id IS NUll, the processing is terminated&quot;, this);&#xA;            }&#xA;            else&#xA;            {&#xA;                LocationData locationData = Tracker.Dictionaries.Locations.Get(interaction.LocationId.Value, LookupStrategy.Default);&#xA;                if (locationData == null || !locationData.Subscriptions.Any&amp;lt;string&amp;gt;())&#xA;                {&#xA;                    Log.Debug(&quot;[Analytics]: The CommitSession pipeline, ProcessSubscriptions is skipped - there is no subscriptions for location id: &quot; + interaction.LocationId.Value, this);&#xA;                }&#xA;                else&#xA;                {&#xA;                    HtmlTextWriter htmlTextWriter = new HtmlTextWriter(new System.IO.StringWriter());&#xA;                    htmlTextWriter.Write(&quot;&amp;lt;html&amp;gt;&quot;);&#xA;                    htmlTextWriter.Write(&quot;&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;&quot;);&#xA;                    htmlTextWriter.Write(&quot;&amp;lt;body&amp;gt;&quot;);&#xA;                    ProcessSubscriptions.RenderSummary(htmlTextWriter, session);&#xA;                    ProcessSubscriptions.RenderSessionTrail(htmlTextWriter, interaction);&#xA;                    ProcessSubscriptions.RenderSessionLink(htmlTextWriter, interaction);&#xA;                    ProcessSubscriptions.RenderUnsubscribeLink(htmlTextWriter, interaction);&#xA;                    htmlTextWriter.Write(&quot;&amp;lt;/body&amp;gt;&quot;);&#xA;                    htmlTextWriter.Write(&quot;&amp;lt;/html&amp;gt;&quot;);&#xA;                    MailAddress from = new MailAddress(AnalyticsSettings.EmailFromAddress);&#xA;                    MailMessage mailMessage = new MailMessage&#xA;                    {&#xA;                        From = from,&#xA;                        Subject = string.Concat(new object[]&#xA;                        {&#xA;                            &quot;[Sitecore Analytics] &quot;,&#xA;                            interaction.GeoData.BusinessName,&#xA;                            &quot; visited the site at &quot;,&#xA;                            DateUtil.ToServerTime(interaction.StartDateTime),&#xA;                            &quot;.&quot;&#xA;                        }),&#xA;                        Body = htmlTextWriter.InnerWriter.ToString(),&#xA;                        BodyEncoding = System.Text.Encoding.UTF8,&#xA;                        IsBodyHtml = true&#xA;                    };&#xA;                    foreach (string current in locationData.Subscriptions)&#xA;                    {&#xA;                        mailMessage.Bcc.Add(current);&#xA;                    }&#xA;                    try&#xA;                    {&#xA;                        smtpClient.Send(mailMessage);&#xA;                    }&#xA;                    catch (System.Exception exception)&#xA;                    {&#xA;                        Log.Error(&quot;Failed to send subscription notification&quot;, exception, typeof(ProcessSubscriptions));&#xA;                    }&#xA;                    Log.Info(&quot;SubscriptionTask done.&quot;, this);&#xA;                }&#xA;            }&#xA;        }&#xA;        catch (System.Exception exception2)&#xA;        {&#xA;            Log.Error(&quot;Cannot process 'ProcessSubscriptions' processor because of internal error&quot;, exception2, this);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="404" LastEditDate="2017-01-20T15:22:18.277" LastActivityDate="2017-01-20T15:22:18.277" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3700" PostTypeId="1" CreationDate="2017-01-06T07:25:41.413" Score="2" ViewCount="1394" Body="&lt;p&gt;We are programmatically creating items and using Solr indexes so we want to disable solr indexing whenever we create an item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried following code to disable during item creation &lt;code&gt;Item.Add()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Configuration.Settings.Indexing.Enabled = false;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it does not stop indexing and still happen in Solr. What can be the possible reason?&lt;/p&gt;&#xA;" OwnerUserId="1259" LastEditorUserId="70" LastEditDate="2017-01-06T15:36:09.433" LastActivityDate="2017-01-06T15:36:09.433" Title="Programmatically stopping Solr Indexing" Tags="|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3701" PostTypeId="2" ParentId="3700" CreationDate="2017-01-06T07:29:24.460" Score="5" Body="&lt;p&gt;You can do in next way : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IndexCustodian.PauseIndexing();&#xA;  // Create items, etc &#xA;  // Enable indexing again. &#xA;IndexCustodian.ResumeIndexing();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-01-06T07:29:24.460" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3702" PostTypeId="2" ParentId="3700" CreationDate="2017-01-06T07:29:35.613" Score="6" Body="&lt;p&gt;Code which you have used, it works only for &quot;old&quot; indexes, but not for the Sitecore 7 indexes. I am sure you must be using old one. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should try to disable/enable indexing as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.ContentSearch.Maintenance.IndexCustodian.PauseIndexing();&#xA;// Add code to create item&#xA;IndexCustodian.ResumeIndexing();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also add check whether indexing is currently paused or not with the use of the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IndexCustodian.IsIndexingPaused(ISearchIndex index )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="607" LastEditorUserId="982" LastEditDate="2017-01-06T07:54:23.803" LastActivityDate="2017-01-06T07:54:23.803" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3703" PostTypeId="2" ParentId="3682" CreationDate="2017-01-06T14:21:00.670" Score="4" Body="&lt;p&gt;The documentation for this table can be found here &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/reporting_database_reference&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/platform/reporting_database_reference&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not totally clear from the descriptions but:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Views&lt;/strong&gt; The total number of times the page was viewed.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Visits&lt;/strong&gt; The number of interactions which included a view of the page.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I would presume that the interaction refers to a registered xDB interaction. See:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/interactions/register_interactions_using_the_interaction_registry&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/interactions/register_interactions_using_the_interaction_registry&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;An interaction is the exchange of communication and commitment between&#xA;  a contact and an organization that takes place through one or more&#xA;  channels. The interaction registry is a service that enables you to&#xA;  register or create an interaction that you have tracked in Sitecore or&#xA;  in a non-Sitecore environment in the Experience Database (xDB).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So I deduce that you can record &quot;something happening&quot; which leads to a View being recorded. So if you're not capturing all of the possible interactions that can trigger a View - you'd expect these values to be different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you're correct in your assumption for question &lt;strong&gt;3&lt;/strong&gt; - Views is what you're after here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question &lt;strong&gt;4&lt;/strong&gt; is also answered in the doc:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Value&lt;/strong&gt; The amount of engagement value accumulated for interactions which included a view of this page.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The &quot;LanguageId&quot; and &quot;SiteNameId&quot; refer to other tables in the reporting database (check the foreign keys to see the link). Languages and SiteNames respectfully. Both have an ID and a varchar name column. Check the values you're recording in these tables and that should help answer your final question.&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="428" LastEditDate="2017-01-06T14:28:46.697" LastActivityDate="2017-01-06T14:28:46.697" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3704" PostTypeId="1" AcceptedAnswerId="3707" CreationDate="2017-01-06T14:55:50.583" Score="3" ViewCount="290" Body="&lt;p&gt;How can we replace the existing membership provider in Sitecore with an OAuth- based provider (like stormpath.com)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further details:&lt;/strong&gt;&#xA;We are designing a solution in which the external users are stored in an external system instead of the build-in membership database. The authentication is to be handled via stormpath (stormpath.com) using the OAuth token-based authentication they provide, but we are unsure how to change the default membership provider in Sitecore to use the OAuth methods provided by Stormpath (or similar OAuth-provider).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions on how to solve this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have played around with the VirtualLogin feature of Sitecore, which in combination with custom login/logout methods could be used to some extend. However, this introduces an additional authentication cookie instead of the JWT-token issued by the OAuth provider (as far as we can see).&lt;/p&gt;&#xA;" OwnerUserId="758" LastActivityDate="2017-01-06T20:47:41.720" Title="How to use the Stormpath (or similar) OAuth provider to authenticate external users?" Tags="|login|authentication|membership-provider|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3707" PostTypeId="2" ParentId="3704" CreationDate="2017-01-06T20:47:41.720" Score="0" Body="&lt;p&gt;If there is not already a Sitecore Module that handles the specific OAuth provider, you can manually setup it up by:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Redirect the user to the oAuth2 authentication screen&lt;/li&gt;&#xA;&lt;li&gt;Have the ID provider (IDP) validate and authenticate the user&lt;/li&gt;&#xA;&lt;li&gt;The ID provider will return back to Sitecore an authorization token,&#xA;most likely containing a list of claims&lt;/li&gt;&#xA;&lt;li&gt;In code (potentially in a custom HttpBeginRequest pipeline processor)&#xA;log the user in as a Virtual User, then assign predefined Sitecore roles to the virtual user based on mapping the claims provided from the IDP to the user&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-01-06T20:47:41.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3708" PostTypeId="1" AcceptedAnswerId="3928" CreationDate="2017-01-06T23:53:04.490" Score="0" ViewCount="636" Body="&lt;p&gt;I had a functioning copy of Sitecore 8.1 Original release and I've been able to upgrade my CM, CD, Reporting, and Processing/Aggregation servers so that I don't get any obvious errors. However, now that I'm playing around a little bit in the CM instance, I'm getting some errors that I didn't see before. Right now whenever I try to view details of one of my anonymous users, I get a screen with a few errors. The screen looks like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/FpTss.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FpTss.png&quot; alt=&quot;Generic Error List&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Being the clever person that I am, I decided to investigate the sitecore logs, which give me this very helpful information:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8468 16:46:24 ERROR The remote server returned an error: (404) Not Found.&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (404) Not Found.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at Sitecore.Analytics.Reporting.Datasources.Remote.RemoteReportDataSourceProxy.GetData(ReportDataQuery query)&#xA;   at Sitecore.Analytics.Reporting.ReportDataProvider.ExecuteQueryWithCache(ReportDataQuery query, ReportDataSource dataSource, CachingPolicy cachingPolicy)&#xA;   at Sitecore.Analytics.Reporting.ReportDataProvider.GetData(String dataSourceName, ReportDataQuery query, CachingPolicy cachingPolicy)&#xA;   at Sitecore.Cintel.Reporting.Processors.ExecuteReportingServerDatasourceQuery.CollectReportingServerData(ViewParameters viewParameters)&#xA;   at Sitecore.Cintel.Reporting.Processors.ExecuteReportingServerDatasourceQuery.Process(ReportProcessorArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Cintel.Reporting.PipelineViewProvider.GenerateContactView(ViewParameters viewParameters)&#xA;   at Sitecore.Cintel.Endpoint.IntelController.Get(ViewParameters viewParams, Guid contactId, String viewId, String id)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I decide to try to figure out what the URLs are that are being asked for, and so I investigate the JavaScript Console and find that these requests are being made using AJAX:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://MyCMServerURL/sitecore/api/ao/v1/contacts/b8a06f4c-a784-48cb-9d86-b6a2e0133974/intel/best-pattern-matches?&amp;amp;pageSize=3&amp;amp;pageNumber=1&#xA;&#xA;http://MyCMServerURL/sitecore/api/ao/v1/contacts/b8a06f4c-a784-48cb-9d86-b6a2e0133974/intel/latest-events?&amp;amp;pageSize=1000000&amp;amp;pageNumber=1&#xA;&#xA;http://MyCMServerURL/sitecore/api/ao/v1/contacts/b8a06f4c-a784-48cb-9d86-b6a2e0133974/intel/recent-campaigns?&amp;amp;pageSize=3&amp;amp;pageNumber=1&#xA;&#xA;http://MyCMServerURL/sitecore/api/ao/v1/contacts/b8a06f4c-a784-48cb-9d86-b6a2e0133974/intel/journey?&amp;amp;pageSize=2000&#xA;&#xA;http://MyCMServerURL/sitecore/api/ao/v1/contacts/b8a06f4c-a784-48cb-9d86-b6a2e0133974/intel/latest-statistics?&amp;amp;pageSize=1&amp;amp;pageNumber=1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have no idea what these URLs are supposed to point to, so I'm not sure how to proceed. The stack trace isn't very helpful for helping to figure out what my next steps should be. The URLs look properly formed, but the links don't lead to anywhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I start figuring out what the problem is?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&#xA;Using the hints from the comments, I double-checked my settings in the &lt;code&gt;Sitecore.Xedb.Remote.Client.config&lt;/code&gt; file and that was pointing to my Reporting server. Just for fun, I changed the IP address to a non-existent server, and got the same results. I also tried to navigate to this URL&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://MyReportingServerURL/sitecore/api/ao/v1/contacts/b8a06f4c-a784-48cb-9d86-b6a2e0133974/intel/latest-statistics?&amp;amp;pageSize=1&amp;amp;pageNumber=1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;instead of&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://MyCMServerURL/sitecore/api/ao/v1/contacts/b8a06f4c-a784-48cb-9d86-b6a2e0133974/intel/latest-statistics?&amp;amp;pageSize=1&amp;amp;pageNumber=1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I was able to get valid information back from the browser. It would appear that everything is &lt;em&gt;almost&lt;/em&gt; configured correctly, but maybe there is a new/changed setting that I've missed. I'd love to get some additional insight into what I might be missing. Thank you!&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="339" LastEditDate="2017-01-09T16:03:49.827" LastActivityDate="2017-01-19T16:00:49.690" Title="404 errors in Experience Profile after upgrading to 8.2" Tags="|upgrade|experience-profile|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3709" PostTypeId="2" ParentId="3439" CreationDate="2017-01-07T19:39:10.937" Score="2" Body="&lt;p&gt;@phani was right in his comment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore 8.1 + the &lt;code&gt;Dependency Resolver&lt;/code&gt; is used instead of the controller factory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, basically you have to set the &lt;strong&gt;Default dependency resolver&lt;/strong&gt; to be the one using castle container. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how you define the &lt;em&gt;Castle Dependency Resolver&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class WindsorDependencyResolver : IDependencyResolver&#xA;{&#xA;    private readonly IWindsorContainer container;&#xA;&#xA;    public WindsorDependencyResolver(IWindsorContainer container)&#xA;    {&#xA;        this.container = container;&#xA;    }&#xA;&#xA;    public object GetService(Type serviceType)&#xA;    {&#xA;        return container.Kernel.HasComponent(serviceType) ? container.Resolve(serviceType) : null;&#xA;    }&#xA;&#xA;    public IEnumerable&amp;lt;object&amp;gt; GetServices(Type serviceType)&#xA;    {&#xA;        return container.Kernel.HasComponent(serviceType) ? container.ResolveAll(serviceType).Cast&amp;lt;object&amp;gt;() : new object[]{};&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After that, you should register your dependency resolver like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Web.Http.GlobalConfiguration.Configuration.DependencyResolver = &#xA;                                    new WindsorDependencyResolver(container);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should work.&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-01-07T19:39:10.937" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3710" PostTypeId="1" AcceptedAnswerId="3900" CreationDate="2017-01-07T20:32:23.110" Score="3" ViewCount="338" Body="&lt;p&gt;We're using Sitecore authentication with a custom membership/roles database that's hooked into Sitecore with its own domain. We imported a ton of legacy data, and due to the number of documents, we put what normally would go in the media library into a folder in the Windows tree for the site, so they're accessible. We need to secure these now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do this without having to import the lot into Sitecore? Like, using impersonation somehow to do it? Or is it better to bite the bullet and bring them all into Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-01-18T18:46:05.830" Title="Using Sitecore authentication on external folders in IIS" Tags="|security|media-library|authentication|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3711" PostTypeId="2" ParentId="2319" CreationDate="2017-01-08T15:09:21.927" Score="0" Body="&lt;p&gt;What I can see the schema of step 4 is different from that of step 1 to 3. Put the same xmlns.xsd schema to step4 with Id and ds in the same way in the raw value. &lt;/p&gt;&#xA;" OwnerUserId="1377" LastActivityDate="2017-01-08T15:09:21.927" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3712" PostTypeId="2" ParentId="3661" CreationDate="2017-01-08T15:43:05.013" Score="0" Body="&lt;p&gt;HTML cache get cleared automatically when publishing get completed.&#xA;HtmlCacheClearAgent is disabled by default but when the cached data is large and you want to clear it on specific time to maintain the performance, you need to enable it.&lt;/p&gt;&#xA;" OwnerUserId="1377" LastActivityDate="2017-01-08T15:43:05.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3714" PostTypeId="1" CreationDate="2017-01-09T10:22:08.593" Score="0" ViewCount="455" Body="&lt;p&gt;I am trying to Unit Test precompiled Views, generated by RazorGenerator, that inherit from GlassView, based on this article:&#xA;&lt;a href=&quot;http://blog.davidebbo.com/2011/06/unit-test-your-mvc-views-using-razor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.davidebbo.com/2011/06/unit-test-your-mvc-views-using-razor.html&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a model using the answer from:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/24658121/issue-unit-testing-sitecore-and-glass-with-nunit&quot;&gt;https://stackoverflow.com/questions/24658121/issue-unit-testing-sitecore-and-glass-with-nunit&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Instantiate the view directly. &#xA;var view = new _Views_Components_QuickAction_cshtml();&#xA;&#xA;//Instantiate a TDS Code Generated Glass Model&#xA;var model =  new QuickActionDatasource()&#xA;{&#xA;     Icon= new IconAnimated(),&#xA;     Link = new Link()&#xA;     {&#xA;         Text = &quot;Link Text&quot;&#xA;     }&#xA; };&#xA;&#xA; // Build a Glass model to pass to View - this works if you're intention is to test the model&#xA; ISitecoreService service = Substitute.For&amp;lt;ISitecoreService&amp;gt;();&#xA; service.GetItem&amp;lt;QuickActionDatasource&amp;gt;(Guid.Empty).Returns(model);&#xA; var result = service.GetItem&amp;lt;QuickActionDatasource&amp;gt;(Guid.Empty);&#xA;&#xA;//Use Razor&#xA;HtmlDocument doc = view.RenderAsHtml(result);&#xA;&#xA;// Use the HtmlAgilityPack object model to verify the view.&#xA;HtmlNode node = doc.DocumentNode.Element(&quot;.quickaction&quot;);&#xA;Assert.IsNotNull(node);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Currently this fails on GlassView in the InitHelpers method, on the call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SitecoreContextFactory.Default.GetSitecoreContext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Specific error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;throw new NotSupportedException(&quot;Sitecore Context Requires a Glass Context&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When it can't create a Context object from the GlassContextProvider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the best way to have the IntiHelper method initialize NSubstitute objects (i.e. an ISitecoreContextFactory), so that I can fake rendering? Can I substitute a GlassContext to pass through the MVC View rendering process?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having the Views precompiled highlights Code Generation issues thrown at runtime. The Views are rendered via a Sitecore ViewRenderings, and are essentailly 'dumb' Presentation components with a datasource.&lt;/p&gt;&#xA;" OwnerUserId="1380" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-01-09T14:52:45.850" Title="Precompiled Views, generated by RazorGenerator, inherited from GlassView, being Unit Tested" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3715" PostTypeId="2" ParentId="3714" CreationDate="2017-01-09T10:25:46.797" Score="1" Body="&lt;p&gt;I would mock ISitecoreContextFactory and the return a mocked ISitecoreContext and see if this solves your problem. You might have further issues if you are using Glass HtmlHelpers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;TBH I am not sure how easy unit testing the views will be with Glass since this is something we never considered being a requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can set the default static for the SitecoreContextFactory &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/IoC/SitecoreContextFactory.cs#L12&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/IoC/SitecoreContextFactory.cs#L12&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="464" LastEditDate="2017-01-09T14:52:45.850" LastActivityDate="2017-01-09T14:52:45.850" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3716" PostTypeId="2" ParentId="3218" CreationDate="2017-01-09T14:00:13.490" Score="2" Body="&lt;p&gt;For future reference - below is the response from sitecore support.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I have created an Info Request to our Product team regarding this behavior.&#xA;  The Product team has confirmed that the current behavior in Sitecore is by design according to this article:&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/versioned_layouts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/versioned_layouts&lt;/a&gt; &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Let me explain why this behavior is by design.&#xA;  When you enable ‘Raw value’ you can see that __Renderings field is the same in different languages, as this field is really shared.&#xA;  But when you open Presentation&gt;Details&gt;Shared Layout you can see that ‘Shared Layout’ is different in different languages. This happens because ‘Shared Layout’ is a dynamic field and created by the following scheme: Standard Values Shared + Standard Values Final.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Also, you can look at the following Release Notes and the article, which describes the order of applying the versioned layouts.&#xA;  &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/8%200/Sitecore%20Experience%20Platform%208%200/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/8%200/Sitecore%20Experience%20Platform%208%200/Release%20Notes&lt;/a&gt;.&#xA;  &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/versioned_layouts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/versioned_layouts&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;As I understand directly the name ‘Shared Layout’ is confusing you. According to this, I have registered the wish that renames ‘Shared Layout’ to ‘Default Layout’.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;To track the future status of this wish, please use the reference number 141479. More information about public reference numbers can be found here:&#xA;  &lt;a href=&quot;https://kb.sitecore.net/articles/853187&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/853187&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So this means we can actually have different shared layout for different languages if we set final layout in standard values.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2017-01-09T14:20:06.090" LastActivityDate="2017-01-09T14:20:06.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3717" PostTypeId="1" AcceptedAnswerId="3751" CreationDate="2017-01-09T14:33:49.503" Score="0" ViewCount="1847" Body="&lt;p&gt;We're using Sitecore 8.1 Update 2 and have an issue where there is an instance where we have are a few hundred items under a single Parent item in our site. These child items show fine in the Content Editor Treeview, if a little slow to load them. I know best practice is to limit this to 100-200 items, it is however usable without converting the parent item to a Bucket. Re-architecting the structure at this stage isn't really an option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However when using the Link Browser it shows the parent item but won't let me browse the child items. I get this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR: No data from server&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Update - here is a screenshot showing the parent item high-lighted&#xA;  with a red circle and the children failing to load.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0Riun.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0Riun.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a hard limit on the number of items that the Link Browser support? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Eventually I want to convert these to a bucket but I'm looking for an interim solution in the short term.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="423" LastEditDate="2017-08-08T14:21:18.743" LastActivityDate="2017-08-08T14:21:18.743" Title="Link Browser doesn't show all child items from Tree?" Tags="|sitecore-client|links|buckets|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="3718" PostTypeId="1" CreationDate="2017-01-09T16:23:52.507" Score="4" ViewCount="626" Body="&lt;p&gt;I have a template that maps to the following Glass model.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(AutoMap = true)]&#xA;public class MyGlassModel&#xA;{&#xA;    private Link link;&#xA;&#xA;    public virtual Guid Id { get; set; }&#xA;    public virtual Link Link&#xA;    {&#xA;        get { return link; }&#xA;        set { link = AddDocumentParameter(value); }&#xA;    }&#xA;&#xA;    [SitecoreField(&amp;quot;Link text&amp;quot;)]&#xA;    public virtual string LinkText { get; set; }&#xA;&#xA;    public virtual Guid Document { get; set; }&#xA;&#xA;    private  Link AddDocumentParameter(Link link)&#xA;    {&#xA;        if (!link.HasValue())&#xA;        {&#xA;            return link;&#xA;        }&#xA;        if (link.Query.Contains(&amp;quot;doc&amp;quot;))&#xA;        {&#xA;            return link;&#xA;        }&#xA;        if (link.Query.Length != 0)&#xA;        {&#xA;            link.Query += &amp;quot;&amp;amp;&amp;quot;;&#xA;        }&#xA;        link.Query += $&amp;quot;doc={Document}&amp;quot;;&#xA;        return link;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Everything is mapped well, and the doc-parameter is added to the Query property of the Link. Though when I render the link in my view, it's not added.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MxpNO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MxpNO.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;My view code:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;@inherits GlassView&amp;lt;MyGlassModel&amp;gt;&#xA;&amp;lt;div class=&amp;quot;btn-row&amp;quot;&amp;gt;&#xA;    @using (BeginRenderLink(cta =&amp;gt; cta.Link, isEditable: true, attributes: new { @class = &amp;quot;btn btn-primary&amp;quot; }))&#xA;    {&#xA;        @Editable(cta =&amp;gt; cta.LinkText)&#xA;    }&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This is what is being rendered though.&lt;br /&gt;&#xA;&lt;code&gt;&amp;lt;a class=&amp;quot;btn btn-primary scEnabledChrome&amp;quot; href=&amp;quot;/nl?test=test&amp;quot; sc-part-of=&amp;quot;field&amp;quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Why is this, and how can I add the doc-parameter?&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;p&gt;Edit: This does seem to work, but not in the Experience Editor.&lt;br /&gt;&#xA;See &lt;code&gt;&amp;lt;a href=&amp;quot;/nl?test=test&amp;amp;doc=e39a4342-a209-423a-be1a-0578ec947dff&amp;quot; class=&amp;quot;btn btn-primary&amp;quot;&amp;gt;test&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;br /&gt;&#xA;I guess my question now is, why does this not work in the Experience editor?&lt;/p&gt;&#xA;" OwnerUserId="630" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-03-11T18:37:16.667" Title="Extra query parameter is ignore when rendering Glass Link" Tags="|mvc|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3720" PostTypeId="1" AcceptedAnswerId="4396" CreationDate="2017-01-09T18:59:28.797" Score="4" ViewCount="756" Body="&lt;p&gt;Working with multi-site single instance Sitecore 8.1 U3 solution and WFFM of the same version, I have a page at &lt;code&gt;https://site//contact-us/&lt;/code&gt; which contains an enquiry form configured to redirect to a success page upon submitting. The success page is located underneath the form page. i.e:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Form page location: &lt;code&gt;sitecore/content/site/home/contactus&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Success page location: &lt;code&gt;sitecore/content/site/home/contactus/thankyou&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Form location: &lt;code&gt;sitecore/system/modules/Web Forms for Marketers/site/form&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;However the current behaviour is when the submit button is clicked the form page reloads, there is a delay for a good few seconds, then the success page is loaded. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the log of the browser console upon submitting the form: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Navigated to https://site//contact-us/&#xA;Navigated to https://site//Contact-us/Thank-You&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea what's the reason behind this reload? &lt;/p&gt;&#xA;" OwnerUserId="324" LastEditorUserId="324" LastEditDate="2017-01-09T19:13:22.173" LastActivityDate="2017-02-14T12:04:51.940" Title="WFFM form reloads form page upon successAction before redirecting to success page" Tags="|wffm|multisite|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="3721" PostTypeId="1" CreationDate="2017-01-09T19:08:23.877" Score="6" ViewCount="1759" Body="&lt;p&gt;I have a Sitecore item that has presentation details (&quot;&lt;em&gt;MainPage&lt;/em&gt;&quot;). Within those details is a component that also has presentation details (&quot;&lt;em&gt;PageSlide&quot;).&lt;/em&gt; I cannot get Sitecore to display the presentation details from &lt;em&gt;PageSlide&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The idea is that the page can have multiple slides. Each of the slides has its own unique presentation details, and some items are part of a placeholder inside of &lt;em&gt;PageSlide&lt;/em&gt; but not in &lt;em&gt;MainPage&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the details for &lt;em&gt;MainPage&lt;/em&gt;. (The layout is set, as are the necessary placeholders. I will eventually add more slides.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hXdMx.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hXdMx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here are the details for &lt;em&gt;PageSlide&lt;/em&gt;. &lt;em&gt;FlexColumn&lt;/em&gt; is a DIV with a placeholder inside.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ha7j7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ha7j7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Assigning each slide to a singular placeholder in &lt;em&gt;MainPage&lt;/em&gt;. This only renders the slide, but not the slide's presentation details.&lt;/li&gt;&#xA;&lt;li&gt;Assigning each slide to it's own placeholder in &lt;em&gt;MainPage&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Using Item Renderings, add code to loop through the renderings in &lt;em&gt;PageSlide&lt;/em&gt; and render them manually. (Note, this works to display the items as long as they are independent and consecutive. &lt;em&gt;FlexColumn&lt;/em&gt; is completely rendered, and the &lt;em&gt;RichTextContent&lt;/em&gt; items are placed on the page after the &lt;em&gt;FlexColumn&lt;/em&gt;'s div has closed. )&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (RenderingReference rendering in context.GetItem&amp;lt;Item&amp;gt;(Model.Id).Visualization.GetRenderings(Sitecore.Context.Device, true)&#xA;{&#xA;    if (!string.IsNullOrWhiteSpace(rendering.Settings.DataSource))&#xA;    {&#xA;        @Html.Sitecore().ItemRendering(rendering.Settings.DataSource);&#xA;    }&#xA;    else&#xA;    {&#xA;        @Html.Sitecore().Rendering(rendering.RenderingID.ToString(), new { DataSource = rendering.Settings.DataSource });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(Note: I am using Glass Mapper, but it's not a requirement.)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Looping through the presentation details of &lt;em&gt;MainPage&lt;/em&gt; and assigning the slides to a partial view with a content item as the model. (This does not work, because the presentation details are not pulled in.)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    IEnumerable&amp;lt;RenderingReference&amp;gt; renderings = Sitecore.Context.Item.Visualization.GetRenderings(Sitecore.Context.Device, true).Where(x =&amp;gt; x.RenderingItem.Name == IPageSlideConstants.TemplateName);&#xA;    foreach (RenderingReference reference in renderings) &#xA;    {&#xA;        PageSlide confSlide = context.GetItem&amp;lt;PageSlide&amp;gt;(reference.Settings.DataSource);&#xA;        @Html.Partial(&quot;~/Views/renderings/Components/PageSlide.cshtml&quot;, confSlide)&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Two things I haven't looked into yet:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Altering the pipelines.&lt;/li&gt;&#xA;&lt;li&gt;AJAX to display each slide as it's needed, into it's own DIV. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is there another way to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: It appears there is a Html.Sitecore().ChildRenderings() method in the developer's reference guide, but I can't find any information on how to use it. I have added it to the view for the main page as well as in the slide, but nothing has changed.&lt;/p&gt;&#xA;" OwnerUserId="1381" LastEditorUserId="1381" LastEditDate="2017-01-09T20:58:49.680" LastActivityDate="2017-03-12T10:03:06.690" Title="How do I display a child's presentation details? (Nested presentation details)" Tags="|presentation|mvc|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3724" PostTypeId="2" ParentId="3721" CreationDate="2017-01-09T22:24:55.520" Score="1" Body="&lt;p&gt;I believe a lot of the heavy lifting for what you're trying to do has already been done by the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/C/Composite_components.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;composite component module&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's information about the module on &lt;a href=&quot;http://www.chrisvandesteeg.nl/2015/11/03/sitecore-composite-components/&quot; rel=&quot;nofollow noreferrer&quot;&gt;the author's blog&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Composite components lets you design components in the Sitecore Experience Editor and have those components be placed as a whole on a page.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You may be able to use this module in it's native form to do what you want. If not, &lt;a href=&quot;https://github.com/csteeg/BoC.Sitecore.CompositeComponents&quot; rel=&quot;nofollow noreferrer&quot;&gt;it's open source&lt;/a&gt; so you should be able to see how they're tackling the issue.&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2017-01-09T22:24:55.520" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3725" PostTypeId="1" CreationDate="2017-01-10T08:21:35.203" Score="3" ViewCount="2391" Body="&lt;p&gt;I have a page whose menu bar loads fine when previewed by clicking &lt;em&gt;Presentation &gt; Preview&lt;/em&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When previewed by clicking &lt;em&gt;Publish &gt; Preview&lt;/em&gt;, the site's menu bar is overlapped by Sitecore menu.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix that, I want to add a &lt;code&gt;margin-top&lt;/code&gt; css property for the menu bar when it is being previewed using &lt;em&gt;Publish &gt; Preview&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do that, as for both the methods, the page mode is &lt;code&gt;Sitecore.Context.PageMode.IsPreview&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2021-05-04T06:50:50.043" Title="How to check the preview mode" Tags="|presentation|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3726" PostTypeId="1" AcceptedAnswerId="7026" CreationDate="2017-01-10T09:07:44.297" Score="2" ViewCount="883" Body="&lt;p&gt;This is using 8.1 Update 2 with multi-lingual/fallback. I've been installing packages to make updates from our local environment to our QA server. Somewhere along the line, it started to create what I'd call phantom versions. For example, in one language the version dropdown looks like it's at version 5, but when you click on the version dropdown to look at them, it only shows version 1 (which is all there should be). The publishing viewer also doesn't show multiple versions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, it's giving the &quot;If you publish now, the selected version will not be visible on the Web site because it has been replaced by an older version.&quot; message, but when I look online, neither case suggested is happening...there's no workflow and the publish isn't set to never publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems like somewhere in here, the version counting got completely messed up, but I'm at a total loss as to why or how to fix it. I tried deleting affected items and reinstalling them via package, but it goes back to the same version number it was at before. Any help would be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-08-08T17:24:45.867" Title="Sitecore versioning appears incorrect after package install" Tags="|packages|language-fallback|versions|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3727" PostTypeId="2" ParentId="3725" CreationDate="2017-01-10T09:08:21.387" Score="2" Body="&lt;p&gt;Presentation-preview is designed for Content Editor Users, Publish-preview - for Page Editor users. &#xA;This is the main concept difference, in my opinion. Technically they use different engines: the presentation-preview uses the one inherited from old 5.3/6.0-6.3 versions, and the publish-preview uses Page Editor Engine invented in 6.4 versions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publish -&gt; Preview also provides other options such as allowing you to choose the device while previewing.&#xA;On the other hand, Presentation -&gt; Preview uses the first device that has &quot;Default&quot; field checked under the /sitecore/layout/devices item &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my suggestion is to forget to use Presententation -&gt; Preview , recommended practice in Sitecore is to use Experience Editor not Content Editor for editing pages.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-01-10T09:08:21.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3728" PostTypeId="2" ParentId="3725" CreationDate="2017-01-10T09:46:17.483" Score="1" Body="&lt;p&gt;Presentation Tab Preview runs in the context of your &quot;website&quot; site &amp;amp; Preview from Publish runs based on your site definition &amp;amp; hostname entry. Also you can check the URL triggered while accessing like below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Presentation Tab: http://?&lt;strong&gt;sc_site=website&lt;/strong&gt;&amp;amp;sc_lang&amp;amp;sc_mode=preview&#xA;Publish Tab:  http://?sc_itemid=&amp;amp;sc_mode=preview&amp;amp;sc_lang=&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-01-10T09:46:17.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3729" PostTypeId="2" ParentId="3725" CreationDate="2017-01-10T10:31:10.360" Score="0" Body="&lt;p&gt;The &lt;code&gt;Request.Url&lt;/code&gt; looks like below if you are in presentation-&gt;preview&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://hostname/en?uri=sitecore://master/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hostname/en?uri=sitecore://master/&lt;/a&gt;{ID}?lang=en-GB&amp;amp;ver=8&amp;amp;sc_site=website&amp;amp;sc_lang=en-GB&amp;amp;sc_mode=preview&amp;amp;sc_duration=temporary&amp;amp;sc_device={ID}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Request.Url&lt;/code&gt; looks like below if you are in publish-&gt;preview&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://hostname/?sc_itemid=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hostname/?sc_itemid=&lt;/a&gt;{ID}&amp;amp;sc_mode=preview&amp;amp;sc_lang=en-GB&amp;amp;sc_site=website&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;the main difference i spot is &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;uri=sitecore&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;based on that we can find whether we are in presentation preview or publish preview&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var previewtype = Sitecore.Context.PageMode.IsPreview ? Request.Url.PathAndQuery.Contains(&quot;uri=sitecore&quot;) ? &quot;presentation-preview&quot; : &quot;publish-preview&quot; : &quot;not-previewMode&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2017-01-10T11:01:01.653" LastActivityDate="2017-01-10T11:01:01.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3730" PostTypeId="1" AcceptedAnswerId="3732" CreationDate="2017-01-10T12:33:26.673" Score="2" ViewCount="184" Body="&lt;p&gt;I have a Sitecore 6.4 website that has Sitecore LDAP Module &quot;LightLDAP.dll&quot;, This website needs to be upgraded to Sitecore 8.2, My question is: Is the Sitecore LDAP Module compatible with Sitecore 8.2? &lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2017-01-10T12:37:40.980" Title="Sitecore LDAP Module Compatibility" Tags="|module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3731" PostTypeId="2" ParentId="3726" CreationDate="2017-01-10T12:34:37.467" Score="0" Body="&lt;p&gt;There are a few possible causes I can think of:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Web database&lt;/strong&gt;. If you accidentally switched to the Web database, you'll only see one version, but it will be the latest.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Version archiving&lt;/strong&gt;. If you have a module that is doing any type of trimming on the data, it would archive older versions and keep newer ones. This could lead to the scenario you are seeing, depending on the configuration you have for the module.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Item package installation&lt;/strong&gt;. I haven't seen this in a while, but I have seen that if only a particular version was packaged up from another environment, it kept that version number when imported into another environment. So if you grabbed v5, it would be called v5 in the new environment, even though it's the first version in that new environment, because of how it is serialized.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-01-10T12:34:37.467" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3732" PostTypeId="2" ParentId="3730" CreationDate="2017-01-10T12:37:40.980" Score="3" Body="&lt;p&gt;The version of the LightLDAP you have is likely not compatible. You'll need to make sure you upgrade your module to version 1.3 which is compatible with Sitecore 8.2. It can be downloaded here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Active_Directory/1_3/Active_Directory_1_3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Active_Directory/1_3/Active_Directory_1_3.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-01-10T12:37:40.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3733" PostTypeId="1" AcceptedAnswerId="3735" CreationDate="2017-01-10T17:35:30.237" Score="5" ViewCount="213" Body="&lt;p&gt;I'm trying to extend the experience analytics filters component by adding new custom filters that will be used for my custom reports, my question is: How I can create a textbox field using the following class?:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.ExperienceAnalytics.Client.RenderingHelper&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I can find methods to create different controls but I can't find a method create a text field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following is an example of creating combo box with two buttons:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;helper.MakeComboBox(&quot;EventTypeComboBox&quot;, controlsRow, options ?? new List&amp;lt;ComboBoxItem&amp;gt;()&#xA;                                   {&#xA;                                       new ComboBoxItem()&#xA;                                   });&#xA;&#xA;&#xA;helper.MakeButton(&quot;SubmitButton&quot;, controlsRow, Globals.System.Texts.Apply.Guid.ToString(), &quot;Primary&quot;);&#xA;helper.MakeButton(&quot;ResetButton&quot;, controlsRow, Globals.System.Texts.RevertFiltersToStandard.Guid.ToString());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any Ideas?&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2017-01-11T14:11:48.687" Title="Extending Sitecore Experience Analytics Filters" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3734" PostTypeId="2" ParentId="3718" CreationDate="2017-01-10T18:01:10.487" Score="1" Body="&lt;p&gt;I ran into a similar issue and brought it up with Sitecore Support. According to them there was a bug with the save functionality for links that had querystring parameters.&#xA;I was provided a patch and have not had an issue since.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Sitecore support: &quot;&lt;em&gt;When a link with ampersands is saved in Experience Editor, the ampersands in the raw value of the field are not encoded. This causes an error when the Insert Link dialog is opened again for this link (both in Content and Experience Editor).&lt;/em&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They provided reference number 87963 to track this issue but I have not looked into it to see if it's been included in newer releases. I was working with 8.1 update 2 (160302) at the time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would reach out to support and reference 87963 to see if they can provide a patch for your version, if it is the same issue.&lt;/p&gt;&#xA;" OwnerUserId="252" LastActivityDate="2017-01-10T18:01:10.487" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3735" PostTypeId="2" ParentId="3733" CreationDate="2017-01-10T21:21:41.337" Score="0" Body="&lt;h2&gt;Rendering text&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Try using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;helper.MakeText(&#xA;    string controlId, string parent, string text,&#xA;    TextType textType = TextType.Text, string isVisible = &quot;True&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;TextType enum is defined as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; enum TextType&#xA;  {&#xA;    Text, Label, HelpLabel, LargeLabel, Value,&#xA;    LargeValue, LargeTitle, Title, SmallTitle,  Divider&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can play around with different types of text to create different labels/titles/etc. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Rendering text box&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;From Mohammed's comment&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I managed to do it by the following code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string str = renderingId + &quot;EventTopic&quot;; &#xA;this.Html.Sitecore().AddContentToPlaceholder(controlsRow + &quot;.Content&quot;, &#xA;this.Html.Sitecore().Controls().Rendering(this.Html, &#xA;    &quot;{57F86E9A-1844-45CE-BF8A-62900AE17A92}&quot;, str, &quot;&quot;, null)&#xA;    .ToHtmlString())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Generic helper&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If that doesn't fit your requirement you can always use a generic method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;helper.CreateRenderingAt(&#xA;        string renderindItemId, string controlId, &#xA;        string parent, object parameters = null, &#xA;        string datasource = &quot;&quot;, string contentPlaceholder = &quot;.Content&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;renderindItemId&lt;/strong&gt; parameter is an ID of the actual rendering from the component library (from &lt;strong&gt;CORE&lt;/strong&gt; database) that you want to be rendered. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you want to render the text using the generic method, it would look like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;helper.CreateRenderingAt(Globals.Bcl.Renderings.Common.Text, &#xA;    controlId, parent, (object) new&#xA;      {&#xA;        TextType = textType,&#xA;        Text = text,&#xA;        IsVisible = isVisible&#xA;      }, &quot;&quot;, &quot;.Content&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In that method call the &lt;strong&gt;Globals.Bcl.Renderings.Common.Text&lt;/strong&gt; constant value is &lt;strong&gt;{7717EB6C-9F90-4C58-826D-5E87722A0318}&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;More&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;You can always decompile the &lt;code&gt;Sitecore.ExperienceAnalytics.Client.dll&lt;/code&gt; to find  more clues on how they render different components.&lt;/em&gt; &lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2017-01-11T14:11:48.687" LastActivityDate="2017-01-11T14:11:48.687" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3736" PostTypeId="1" AcceptedAnswerId="4065" CreationDate="2017-01-11T02:53:39.133" Score="1" ViewCount="581" Body="&lt;p&gt;I generated an update installation wizard package from TDS containing my content, core db, and architecture (templates, etc). Syncing back and forth locally, I don't have any issues with how anything looks. However, this evening I deployed the UIW package to a server, and when I looked at some of the items, it was duplicating the rendering calls in the shared and/or final layouts. It definitely did not match up to what I had in source control or in my local environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're using multi-lingual with language fallback, but I don't know why that would be causing an issue. This is with Sitecore 8.1 Update 2 and TDS 5.0.15.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me clarify the issue, since the comments so far seem geared toward items with different IDs. The actual renderings aren't duplicating, but some of the entries in the Shared or Final Layouts for the page layout are duplicating.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, we have a carousel container and two carousel slides locally, checked into TDS. We generate the update install package. When it's run on the server, there are now two carousel containers and four carousel slides. It's not consistently happening with every rendering listed in the layout, but they're exact duplicates down to placeholder and datasource.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2017-01-11T22:58:20.003" LastActivityDate="2018-03-13T19:19:33.590" Title="Update installation wizard package causing duplicate renderings in item?" Tags="|tds|update-packages|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3737" PostTypeId="1" CreationDate="2017-01-11T04:24:09.017" Score="2" ViewCount="188" Body="&lt;p&gt;Does data that is added to an unidentified contact (and therefore saved in xDB) get restored upon future visits?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently working on a site that &lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) has no forms &lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) doesn't not currently have a need for identifying contacts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to store some information about previous visits in the Contact record for use on later visits. Do I need to do anything different given I'm never going to identify this contact?&lt;/p&gt;&#xA;" OwnerUserId="249" LastActivityDate="2017-01-14T13:24:45.867" Title="Does an Anonymous xDB Contact facet data get restored for new sessions?" Tags="|xdb|contact-facets|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3739" PostTypeId="2" ParentId="3721" CreationDate="2017-01-11T07:28:04.573" Score="2" Body="&lt;p&gt;&lt;a href=&quot;https://jeffdarchuk.com/2015/10/18/render-item-to-string-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Jeff Darchuk&lt;/a&gt; wrote a blog post describing how to render a Sitecore item to a string. The blog post provides all relevant copy-paste ready code. With this approach, you can retrieve the &lt;code&gt;PageSlide&lt;/code&gt; item from the rendering data source, and render the item directly in your parent view:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Raw(PageSlideItem.Render())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;His solution is to create a new temporary item context, extract the layout details, and utilize Sitecores standard pipelines to render the item into a string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First step is to create a new temporary &lt;code&gt;ItemDefinitionContext&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageRenderItemDefinitionContext&#xA;{&#xA;    public static PageRenderItemDefinitionContext Current =&amp;gt; ContextService.Get().GetCurrent&amp;lt;PageRenderItemDefinitionContext&amp;gt;();&#xA;&#xA;    public static PageRenderItemDefinitionContext CurrentOrNull =&amp;gt; ContextService.Get().GetCurrentOrDefault&amp;lt;PageRenderItemDefinitionContext&amp;gt;();&#xA;&#xA;    public PageDefinition Definition { get; private set; }&#xA;    public Item Item { get; private set; }&#xA;    public DisplayMode PageMode { get; set; }&#xA;&#xA;    public PageRenderItemDefinitionContext(PageDefinition pageDefinition, Item item, DisplayMode exteriorDisplayMode)&#xA;    {&#xA;        Assert.ArgumentNotNull(pageDefinition, nameof(pageDefinition));&#xA;        Assert.ArgumentNotNull(item, nameof(item));&#xA;&#xA;        Definition = pageDefinition;&#xA;        Item = item;&#xA;        PageMode = exteriorDisplayMode;&#xA;    }&#xA;&#xA;    public static IDisposable Enter(PageRenderItemDefinitionContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        return ContextService.Get().Push(context);&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next, override the &lt;code&gt;PerformRendering&lt;/code&gt; pipeline processor to use the new &lt;code&gt;PageRenderItemDefinitionContext&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class PerformItemRendering : PerformRendering&#xA;{&#xA;    public static readonly string ItemRenderingKey = Guid.NewGuid().ToString();&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Render step, except it temporarily abandons the placeholder context to render a seperate item, after which it puts the context back&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;placeholderName&quot;&amp;gt;Placeholder to render&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;writer&quot;&amp;gt;writer to render to&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    protected override void Render(string placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;    {&#xA;        if (PageRenderItemDefinitionContext.CurrentOrNull != null)&#xA;            args.PageContext.PageDefinition = PageRenderItemDefinitionContext.Current.Definition;&#xA;&#xA;        if (placeholderName != ItemRenderingKey)&#xA;        {&#xA;            base.Render(placeholderName, writer, args);&#xA;            return;&#xA;        }&#xA;&#xA;        Stack&amp;lt;PlaceholderContext&amp;gt; previousContext = new Stack&amp;lt;PlaceholderContext&amp;gt;();&#xA;        while (PlaceholderContext.CurrentOrNull != null)&#xA;        {&#xA;            previousContext.Push(PlaceholderContext.Current);&#xA;            PlaceholderContext.Exit();&#xA;        }&#xA;&#xA;        try&#xA;        {&#xA;            PipelineService.Get().RunPipeline(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(args.PageContext.PageDefinition.Renderings.First(x =&amp;gt; x.Placeholder.IsWhiteSpaceOrNull()), writer));&#xA;        }&#xA;        finally&#xA;        {&#xA;            while (PlaceholderContext.CurrentOrNull != null)&#xA;                PlaceholderContext.Exit();&#xA;&#xA;            while (previousContext.Any())&#xA;            {&#xA;                PlaceholderContext.Enter(previousContext.Pop());&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch in the pipeline processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.renderPlaceholder&amp;gt;&#xA;        &amp;lt;processor patch:instead=&quot;processor[@type='Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering, Sitecore.Mvc']&quot; type=&quot;Namespace.Pipelines.Mvc.RenderPlaceholder.PerformRendering, Assembly&quot; /&amp;gt;&#xA;      &amp;lt;/mvc.renderPlaceholder&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, wire it all up as a new &lt;code&gt;ItemRenderer&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Renders an item's layout to a string or TextWriter.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public class ItemRenderer&#xA;{&#xA;    public Item Item { get; set; }&#xA;&#xA;    public ItemRenderer(Item item)&#xA;    {&#xA;        Item = item;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Renders an item with a layout defined to a string for MVC&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;HTML of item&amp;lt;/returns&amp;gt;&#xA;    public virtual string Render()&#xA;    {&#xA;        using (TextWriter tw = new StringWriter())&#xA;        {&#xA;            Render(tw);&#xA;&#xA;            return tw.ToString();&#xA;        }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Renders an item with a layout defined to a string for MVC&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;HTML of item&amp;lt;/returns&amp;gt;&#xA;    public virtual void Render(TextWriter writer)&#xA;    {&#xA;        var originalDisplayMode = Context.Site.DisplayMode;&#xA;&#xA;        // keep a copy of the renderings we start with.&#xA;        // running the renderPlaceholder pipeline (which runs renderRendering) will overwrite these&#xA;        // and we need to set them back how they were when we're done rendering the xBlock&#xA;        var originalRenderingDefinitionContext = RenderingContext.CurrentOrNull?.PageContext?.PageDefinition;&#xA;&#xA;        try&#xA;        {&#xA;            // prevents editing the snippet in context, so you cannot mistakenly change something shared by mistake&#xA;            if (Context.PageMode.IsExperienceEditorEditing || Context.PageMode.IsPreview)&#xA;            {&#xA;                Context.Site.SetDisplayMode(DisplayMode.Normal, DisplayModeDuration.Temporary);&#xA;            }&#xA;&#xA;            var pageDef = new PageDefinition&#xA;            {&#xA;                Renderings = new List&amp;lt;Rendering&amp;gt;()&#xA;            };&#xA;&#xA;            //Extracts the item's layout XML, then parses all of the renderings out of it.&#xA;            pageDef.Renderings.AddRange(GetRenderings(GetLayoutFromItem()));&#xA;&#xA;            // Uncovers the main layout rendering&#xA;            var pageRenderingArgs = new GetPageRenderingArgs(pageDef);&#xA;            PipelineService.Get().RunPipeline(&quot;mvc.getPageRendering&quot;, pageRenderingArgs);&#xA;&#xA;            //Renders all placeholders for the layout rendering, which would be the entire page&#xA;            var renderPlaceholderArgs = new RenderPlaceholderArgs(PerformItemRendering.ItemRenderingKey, writer, pageRenderingArgs.Result)&#xA;            {&#xA;                PageContext = new PageContext&#xA;                {&#xA;                    PageDefinition = pageDef&#xA;                }&#xA;            };&#xA;&#xA;            using (PageRenderItemDefinitionContext.Enter(new PageRenderItemDefinitionContext(pageDef, Item, originalDisplayMode)))&#xA;            {&#xA;                PipelineService.Get().RunPipeline(&quot;mvc.renderPlaceholder&quot;, renderPlaceholderArgs);&#xA;            }&#xA;        }&#xA;        catch (Exception e)&#xA;        {&#xA;            Log.Error(&quot;There was a problem rendering an item to string&quot;, e, this);&#xA;            if (originalDisplayMode == DisplayMode.Edit || originalDisplayMode == DisplayMode.Preview)&#xA;            {&#xA;                writer.Write($&quot;&amp;lt;p class=\&quot;edit-only\&quot;&amp;gt;Error occurred while rendering {Item.Paths.FullPath}: {e.Message}&amp;lt;br&amp;gt;For error details, &amp;lt;a href=\&quot;{LinkManager.GetItemUrl(Item)}\&quot; onclick=\&quot;window.open(this.href); return false;\&quot;&amp;gt;visit the target page&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&quot;);&#xA;            }&#xA;        }&#xA;        finally&#xA;        {&#xA;            // replace the renderings in the current context with the ones that existed before we ran our sideline renderPlaceholder&#xA;            // because they have been overwritten with the xBlock's renderings at this point&#xA;            if (originalRenderingDefinitionContext != null)&#xA;            {&#xA;                RenderingContext.CurrentOrNull.PageContext.PageDefinition = originalRenderingDefinitionContext;&#xA;            }&#xA;&#xA;            Context.Site.SetDisplayMode(originalDisplayMode, DisplayModeDuration.Temporary);&#xA;        }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets the layout XML from the item&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;xml of the layout definition&amp;lt;/returns&amp;gt;&#xA;    protected virtual XElement GetLayoutFromItem()&#xA;    {&#xA;        Field innerField = new LayoutField(Item).InnerField;&#xA;&#xA;        if (innerField == null)&#xA;            return null;&#xA;&#xA;        string fieldValue = LayoutField.GetFieldValue(innerField);&#xA;&#xA;        if (fieldValue.IsWhiteSpaceOrNull())&#xA;            return null;&#xA;&#xA;        return XDocument.Parse(fieldValue).Root;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets the rendering out of the xml node and injects some values in&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;renderingNode&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;deviceId&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;layoutId&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;renderingType&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;parser&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;MVC rendering&amp;lt;/returns&amp;gt;&#xA;    protected virtual Rendering GetRendering(XElement renderingNode, Guid deviceId, Guid layoutId, string renderingType, XmlBasedRenderingParser parser)&#xA;    {&#xA;        Rendering rendering = parser.Parse(renderingNode, false);&#xA;        rendering.DeviceId = deviceId;&#xA;        rendering.LayoutId = layoutId;&#xA;        if (renderingType != null)&#xA;            rendering.RenderingType = renderingType;&#xA;&#xA;        // if the xBlock is rendering in the context of another page, renderings with no data source should be repointed to the xBlock page item&#xA;        // as opposed to the context page item&#xA;        if (string.IsNullOrWhiteSpace(rendering.DataSource)) rendering.DataSource = Item.ID.ToString();&#xA;&#xA;        return rendering;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Get all renderings out of the layout definition&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;layoutDefinition&quot;&amp;gt;xml of the layout definition&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;list of renderings&amp;lt;/returns&amp;gt;&#xA;    protected virtual IEnumerable&amp;lt;Rendering&amp;gt; GetRenderings(XElement layoutDefinition)&#xA;    {&#xA;        XmlBasedRenderingParser parser = MvcSettings.GetRegisteredObject&amp;lt;XmlBasedRenderingParser&amp;gt;();&#xA;        foreach (XElement xelement in layoutDefinition.Elements(&quot;d&quot;))&#xA;        {&#xA;            Guid deviceId = xelement.GetAttributeValueOrEmpty(&quot;id&quot;).ToGuid();&#xA;            Guid layoutId = xelement.GetAttributeValueOrEmpty(&quot;l&quot;).ToGuid();&#xA;&#xA;            yield return GetRendering(xelement, deviceId, layoutId, &quot;Layout&quot;, parser);&#xA;&#xA;            foreach (XElement renderingNode in xelement.Elements(&quot;r&quot;))&#xA;                yield return GetRendering(renderingNode, deviceId, layoutId, renderingNode.Name.LocalName, parser);&#xA;        }&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, using the &lt;code&gt;ItemRenderer&lt;/code&gt;, you can render the item to a string. To ease the usage, you can add an extension method to &lt;code&gt;Item&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Renders an item with a layout definition to a string&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;item&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;Rendered output for the item&amp;lt;/returns&amp;gt;&#xA;public static string Render(this Item item)&#xA;{&#xA;    return new ItemRenderer(item).Render();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that this approach requires the rendered item to have a stripped down layout assigned, so that only the actual content is rendered (i.e. without html, head, body tags).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Placeholder(&quot;content&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To add Experience Editor support, switch on PageMode to add containing HTML-tags:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Sitecore.Context.PageMode.IsExperienceEditor || Sitecore.Context.PageMode.IsPreview)&#xA;{&#xA;    &amp;lt;!DOCTYPE html&amp;gt;&#xA;    &amp;lt;html lang=&quot;da&quot;&amp;gt;&#xA;    &amp;lt;head&amp;gt;&#xA;        &amp;lt;!-- Header content here --&amp;gt;&#xA;    &amp;lt;/head&amp;gt;&#xA;    &amp;lt;body&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;content&quot;)&#xA;    &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;}&#xA;else&#xA;{&#xA;    @Html.Sitecore().Placeholder(&quot;content&quot;)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2017-03-12T10:03:06.690" LastActivityDate="2017-03-12T10:03:06.690" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3741" PostTypeId="2" ParentId="3688" CreationDate="2017-01-11T10:31:35.597" Score="4" Body="&lt;p&gt;As language fallback is enabled, I assume you have a multilingual solution. Please read &lt;a href=&quot;http://ggullentops.blogspot.be/2016/02/translating-wffm-mvc-server-error.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; to set multilingual error messages. As you will read, error messages are cached indeed and maybe you get an empty value when someone fills the form first in a language that has no error message set. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting the language fallback on the error message fields (located in &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Meta data/Mvc Validation Error Messages&lt;/code&gt;) should fix it as well as that would lead to a version of your error messages is all languages.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-01-11T10:31:35.597" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3743" PostTypeId="1" CreationDate="2017-01-11T10:47:06.457" Score="0" ViewCount="445" Body="&lt;p&gt;Looking into some existing code that uses the Sitecore NVelocity implementation.&#xA;Anyone with some experience on this?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;string Header = VelocityHelper.Evaluate(VContext, SpecificEnum.Header, &quot;SpecificHeader&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;classnames and variables were chosen for sport :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A good link to some insightfull documentation would be very much welcomed :)&lt;/p&gt;&#xA;" OwnerUserId="627" LastEditorUserId="16" LastEditDate="2017-01-11T16:00:25.360" LastActivityDate="2017-05-12T16:25:46.080" Title="Sitecore NVelocity implementation" Tags="|presentation|" AnswerCount="2" CommentCount="0" ClosedDate="2017-05-23T12:05:26.563" ContentLicense="CC BY-SA 3.0" />
  <row Id="3744" PostTypeId="2" ParentId="3736" CreationDate="2017-01-11T11:16:37.083" Score="0" Body="&lt;p&gt;The main reason why you will have duplicate renderings is that the Item ID is different. The ID from your local instance is different from the one on the Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Compare the IDs of the renderings and delete the appropriate one so that during next deployment, there is no duplication again.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-01-11T11:16:37.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3745" PostTypeId="2" ParentId="3743" CreationDate="2017-01-11T12:10:23.207" Score="1" Body="&lt;p&gt;The Evaluate method processes the velocity template and returns the rendering result.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string Evaluate(VelocityContext context, string template, string logName)&#xA;  {&#xA;     StringWriter result = new StringWriter();&#xA;     Velocity.Evaluate(context, result, logName, template);&#xA;     return result.GetStringBuilder().ToString();&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is the description of its parameters:  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;context - Populated velocity context;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Template - Velocity template to process &#xA;logName - Name that will be used to log the event&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/Articles/API/Using%20NVelocity/Set%20Default%20Date.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/Articles/API/Using%20NVelocity/Set%20Default%20Date.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Method with 4 parameters has next definition. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;evaluate( Context context, Writer out, String logTag, String instring )&#xA;&#xA;evaluate( Context context, Writer writer, String logTag, InputStream instream )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These methods will render the input, in either the form of String or InputStream to an output Writer, using a Context that you provide. This is a very convenienient method to use for token replacement of strings, or if you keep 'templates' of VTL-containing content in a place like a database or other non-file storage, or simply generate such dynamically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://velocity.apache.org/engine/1.7/developer-guide.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://velocity.apache.org/engine/1.7/developer-guide.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-01-11T12:10:23.207" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3747" PostTypeId="1" CreationDate="2017-01-11T14:31:39.983" Score="2" ViewCount="440" Body="&lt;p&gt;I'm working on a Sitecore website where author should be able to add components based on rows and columns. (Just like in Habitat).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the markup was simple, like this:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;row&quot;&amp;gt;&#xA; &amp;lt;div class=&quot;col-md-6&quot;&amp;gt;...&amp;lt;/div&amp;gt;&#xA; &amp;lt;div class=&quot;col-md-6&quot;&amp;gt;...&amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;my rendering with dynamic placeholders will be :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;row&quot;&amp;gt;&#xA; &amp;lt;div class=&quot;col-md-6&quot;&amp;gt;&#xA;  @Html.Sitecore().DynamicPlaceholder(&quot;col-wide-1&quot;)&#xA; &amp;lt;/div&amp;gt;&#xA; &amp;lt;div class=&quot;col-md-6&quot;&amp;gt;&#xA;  @Html.Sitecore().DynamicPlaceholder(&quot;col-wide-2&quot;)&#xA; &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But what if the markup is :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;row&quot;&amp;gt;&#xA; &amp;lt;div class=&quot;col-lg-6 col-md-6 col-sm-6&quot;&amp;gt;...&amp;lt;/div&amp;gt;&#xA; &amp;lt;div class=&quot;col-lg-6 col-md-6 col-sm-6&quot;&amp;gt;...&amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On what width should I base my placeholder naming on - md/lg/sm?&lt;br&gt;&#xA;Please also consider, different lg/sm/md widths for a &lt;code&gt;div&lt;/code&gt;. For making it simple, I put the width as 6 for all devices.&lt;br&gt;&#xA;Thank you.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-01-23T05:54:38.890" LastActivityDate="2017-01-23T05:54:38.890" Title="How to name dynamic placeholders if they are based on bootstrap column widths" Tags="|presentation|helix|placeholders|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3748" PostTypeId="1" AcceptedAnswerId="3754" CreationDate="2017-01-11T15:19:37.247" Score="0" ViewCount="144" Body="&lt;p&gt;I am trying a search in Experience Profile in Sitecore 8.1-3 with Solr 4.10 as the search provider.  I am noticing that sometimes it returns results that don't seem to match the search query at all.  For example - if I search for John Doe in the search bar, here is the query that I see in the search log file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;?q=(type_t:(contact) AND (contact.fullname_t:(John Doe~0.5) OR contact.emails_sm:(John Doe~0.5)))&amp;amp;start=0&amp;amp;rows=100&amp;amp;fl=*,score&amp;amp;fq=_indexname:(sitecore_analytics_index)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when I run that query manually through the Solr interface I get back results that don't seem to match at all.  I'm not sure what the ~0.5 part of the query is.  Is that some sort of fuzzy match or something?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2017-01-11T19:40:49.950" Title="Why does the search in Experience Profile return non-matches?" Tags="|solr|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3749" PostTypeId="2" ParentId="3747" CreationDate="2017-01-11T16:30:39.207" Score="5" Body="&lt;p&gt;Your placeholder keys should not depend on your markup at all.  They should be based on something more abstract like how the placeholder is intended to be used.  You should also consider how you want to manage the placeholder settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the case of a bootstrap grid, you could use the concept column width to control which renderings are allowed in different placeholders.  However, if all of your components are fluid, specifying a width might not have value for you.  In that case, you could just use &lt;code&gt;col-1&lt;/code&gt;, &lt;code&gt;col-2&lt;/code&gt;, etc.  This would decrease the number of placeholder setting items you need to maintain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also want the consider the usage of the parent rendering.  For example, if you need to restrict certain renderings to a footer, you could use a key like &lt;code&gt;footer-1&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2017-01-11T16:30:39.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3750" PostTypeId="1" AcceptedAnswerId="3753" CreationDate="2017-01-11T17:27:01.790" Score="3" ViewCount="1516" Body="&lt;p&gt;I am using regular ContentSearch API in front of &lt;code&gt;Coveo for Sitecore 3&lt;/code&gt; (not using Coveo UI). I am trying to boost keywords in &lt;code&gt;Title&lt;/code&gt; and &lt;code&gt;Subtitle&lt;/code&gt; fields to have higher weights compared to page &lt;code&gt;Content&lt;/code&gt;. Unfortunately my current approach does not seem to work. Ideally I would like to see results that has keywords match in Title field to show up on top of search results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another way to weigh certain fields over others in Coveo and ContentSearch?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private Expression&amp;lt;Func&amp;lt;T, bool&amp;gt;&amp;gt; GetPredicate&amp;lt;T&amp;gt;(string criteria, string location, string language) where T : SearchResultItem&#xA;    {&#xA;        var predicate = PredicateBuilder.True&amp;lt;T&amp;gt;();&#xA;        predicate = predicate.And(&#xA;            x =&amp;gt; x.Language == language);&#xA;&#xA;        predicate = predicate.And(&#xA;            x =&amp;gt; x.Path.Contains(location));&#xA;&#xA;        predicate = predicate.And(&#xA;            x =&amp;gt; x.TemplateId == TemplateIds.ArticlePageTemplateId&#xA;              || x.TemplateId == TemplateIds.GroupPageTemplateId);&#xA;&#xA;        var termPredicate = PredicateBuilder.True&amp;lt;T&amp;gt;();&#xA;        foreach (var term in criteria.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries))&#xA;        {&#xA;            termPredicate = termPredicate.And(p =&amp;gt; p.Content.Contains(term)&#xA;            || p[&quot;Title&quot;].Contains(term).Boost(3f)&#xA;            || p[&quot;Subtitle&quot;].Contains(term).Boost(2f));&#xA;        }&#xA;        predicate = predicate.And(termPredicate);&#xA;&#xA;        return predicate;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2017-10-02T14:50:34.503" Title="How to apply query boost on certain fields" Tags="|coveo|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3751" PostTypeId="2" ParentId="3717" CreationDate="2017-01-11T18:07:32.153" Score="6" Body="&lt;p&gt;I figured this out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made the update to change the value of LinkDatabase.MaximumBatchSize to 1000 as suggested and it didn't work.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;        &amp;lt;setting name=&quot;LinkDatabase.MaximumBatchSize&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;1000&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I then looked at the console in more detail in Chrome and saw this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Error during serialization or deserialization using the JSON&#xA;  JavaScriptSerializer. The length of the string exceeds the value set&#xA;  on the maxJsonLength property.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;After some Googling I found I can update this via the web.config like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web.extensions xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;        &amp;lt;scripting&amp;gt;&#xA;            &amp;lt;webServices&amp;gt;&#xA;                &amp;lt;jsonSerialization maxJsonLength=&quot;2147483647&quot;/&amp;gt;&#xA;            &amp;lt;/webServices&amp;gt;&#xA;        &amp;lt;/scripting&amp;gt;&#xA;&amp;lt;/system.web.extensions&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Again this didn't work :-(. I think the Json Serialization code ignores this setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I came across this Blog Post by Dirk Schäfauer:&#xA;&lt;a href=&quot;https://seitenkern.com/2014/03/28/sitecore-7-mvc-json-serialization-and-maxjsonlength/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://seitenkern.com/2014/03/28/sitecore-7-mvc-json-serialization-and-maxjsonlength/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This post says I need A custom JsonSerializer, a PreprocessRequest Pipeline and .config to patch in my pipeline. This code is outdated for 8.1 though so I've updated it below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;JsonSerializer:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace SitecoreContrib.Serialization&#xA; {&#xA;      public class LargeJsonSerializer : ISerializer&#xA;    {&#xA;        public string SerializedDataMediaType&#xA;        {&#xA;            get { return &quot;application/json&quot;; }&#xA;        }&#xA;&#xA;        public string Serialize(object value)&#xA;        {&#xA;            Assert.ArgumentNotNull(value, &quot;value&quot;);&#xA;            var scriptSerializer = new JavaScriptSerializer { MaxJsonLength = 2097152 };&#xA;            var setting = Settings.GetSetting(&quot;JsonSerialization.MaxLength&quot;);&#xA;            int result;&#xA;            if (!string.IsNullOrEmpty(setting) &amp;amp;&amp;amp; !scriptSerializer.MaxJsonLength.ToString(CultureInfo.InvariantCulture).Equals(setting, StringComparison.InvariantCultureIgnoreCase) &amp;amp;&amp;amp; int.TryParse(setting, out result))&#xA;            {&#xA;                scriptSerializer.MaxJsonLength = result;&#xA;            }&#xA;            return scriptSerializer.Serialize(value);&#xA;        }&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pipeline:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace SitecoreContrib.Serialization.Pipelines.PreprocessRequest&#xA;{&#xA;      public class RewriteUrlForLargeJsonResponse : RewriteUrl&#xA;    {&#xA;        public override void Process(PreprocessRequestArgs arguments)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)arguments, &quot;arguments&quot;);&#xA;            try&#xA;            {&#xA;                string localPath = arguments.Context.Request.Url.LocalPath;&#xA;                if (!localPath.StartsWith(&quot;/-/item/&quot;))&#xA;                    return;&#xA;                Sc.ItemWebApi.Context.Current = new Sc.ItemWebApi.Context&#xA;                {&#xA;                    Serializer = (ISerializer)new LargeJsonSerializer(),&#xA;                    Version = GetVersion(localPath),&#xA;                    ResponseOutputBuilder = new ResponseOutputBuilder()&#xA;                };&#xA;                Rewrite(arguments.Context);&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Logger.Error(ex);&#xA;            }&#xA;        }&#xA;&#xA;        private static int GetVersion(string path)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)path, &quot;path&quot;);&#xA;            string str = path.TrimStart('/').Split('/')[2];&#xA;            Assert.IsTrue(str.StartsWith(&quot;v&quot;), &quot;Version token is wrong.&quot;);&#xA;            int result;&#xA;            Assert.IsTrue(int.TryParse(str.Replace(&quot;v&quot;, string.Empty), out result), &quot;Version not recognized.&quot;);&#xA;            return result;&#xA;        }&#xA;&#xA;        private static void Rewrite(HttpContext context)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)context, &quot;context&quot;);&#xA;            Uri url = context.Request.Url;&#xA;            string[] strArray1 = url.LocalPath.TrimStart('/').Split('/');&#xA;            int length = strArray1.Length - 3;&#xA;            string[] strArray2 = new string[length];&#xA;            Array.Copy((Array)strArray1, 3, (Array)strArray2, 0, length);&#xA;            string str1 = string.Format(&quot;/{0}&quot;, (object)string.Join(&quot;/&quot;, strArray2));&#xA;            string str2 = url.Query.TrimStart('?');&#xA;            WebUtil.RewriteUrl(new UrlString&#xA;            {&#xA;                Path = str1,&#xA;                Query = str2&#xA;            }.ToString());&#xA;        }&#xA;    }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Config:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;preprocessRequest&amp;gt;&#xA;        &amp;lt;processor type=&quot;SitecoreContrib.Serialization.Pipelines.PreprocessRequest.RewriteUrlForLargeJsonResponse, SitecoreContrib.Serialization&quot; patch:instead=&quot;*[@type='Sitecore.ItemWebApi.Pipelines.PreprocessRequest.RewriteUrl, Sitecore.ItemWebApi']&quot; /&amp;gt;&#xA;      &amp;lt;/preprocessRequest&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!-- JsonSerialization.MaxLength&#xA;           Specifies the maximum length of JSON strings which can be serialized by the JsonSerializer.&#xA;           Value is specified in bytes. Default value: 2097152 (2 MB)&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;JsonSerialization.MaxLength&quot; value=&quot;2147483647&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thats it, this should work well and load large json datasets for you when you have lots of sub-items.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-03-14T00:32:47.920" LastActivityDate="2017-03-14T00:32:47.920" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3752" PostTypeId="2" ParentId="3750" CreationDate="2017-01-11T18:22:54.707" Score="1" Body="&lt;p&gt;Sitecore's LINQ &lt;code&gt;.Contains&lt;/code&gt; method translates to a &lt;code&gt;WildcardQuery&lt;/code&gt;, which &lt;strong&gt;can't be boosted&lt;/strong&gt; in native Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check the Lucene.Net question here: &lt;a href=&quot;https://stackoverflow.com/questions/10352404/lucene-net-boost-not-working-when-using-wildcard&quot;&gt;https://stackoverflow.com/questions/10352404/lucene-net-boost-not-working-when-using-wildcard&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Sitecore depends on the Lucene.Net, wildcard queries boosting won't work here. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, boosing still works on &lt;strong&gt;exact matches&lt;/strong&gt;, like &lt;code&gt;Equals&lt;/code&gt;, etc.&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-01-11T18:22:54.707" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3753" PostTypeId="2" ParentId="3750" CreationDate="2017-01-11T19:23:08.767" Score="2" Body="&lt;p&gt;Coveo should support &lt;code&gt;.Boost()&lt;/code&gt; like Lucene as mentioned in the &lt;a href=&quot;https://developers.coveo.com/x/aADnAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;supported LINQ operators&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not know if this applies to your use case, but it is worth noting that Coveo for Sitecore ships with a specific &lt;a href=&quot;https://developers.coveo.com/x/XwHnAQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;CoveoBoost&lt;/a&gt; extension that supports boosting results according to fields like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;queryable.CoveoBoost(item =&amp;gt; item.Field == &quot;value&quot; || item.Field2 == &quot;value2&quot;, 200)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that your number should be high enough, we consider around 100 to be a &quot;great boost&quot;, so you should probably try with higher numbers too.&lt;/p&gt;&#xA;" OwnerUserId="290" LastEditorUserId="264" LastEditDate="2017-10-02T14:50:34.503" LastActivityDate="2017-10-02T14:50:34.503" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3754" PostTypeId="2" ParentId="3748" CreationDate="2017-01-11T19:40:49.950" Score="1" Body="&lt;p&gt;This is a fuzzy query where &lt;code&gt;0.5&lt;/code&gt; is similarity index&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The similarity measurement is based on the &lt;code&gt;Damerau-Levenshtein&lt;/code&gt; (optimal string alignment) algorithm. Sometimes you may get unexpected results in that case. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In your case&lt;/strong&gt;, I believe that you are getting unexpected results because ~0.5 similarity applies to both terms &lt;code&gt;John&lt;/code&gt; and &lt;code&gt;Doe&lt;/code&gt;. &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-01-11T19:40:49.950" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3755" PostTypeId="1" CreationDate="2017-01-11T21:57:37.480" Score="3" ViewCount="828" Body="&lt;p&gt;We have a link like this in the RTE: &lt;a href=&quot;http://xyzcompany.com/-/media/xyz/PDFs/71-43444_xyz_guide.pdf#page=13?la=en&amp;amp;hash=8993E559F610238AA496E3A5EE4ACD388E231211&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xyzcompany.com/-/media/xyz/PDFs/71-43444_xyz_guide.pdf#page=13?la=en&amp;amp;hash=8993E559F610238AA496E3A5EE4ACD388E231211&lt;/a&gt; when it is rendered out. However, the actual link looks like this in the RTE: &lt;a href=&quot;http://xyzcompany.com/-/media/xyz/PDFs/71-43444_xyz_guide.pdf#page=13&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xyzcompany.com/-/media/xyz/PDFs/71-43444_xyz_guide.pdf#page=13&lt;/a&gt;. Sitecore is adding the language and hash values. Is there a .config setting I can change to stop internal PDF links from being rendered with the extra attributes/values or am I going to have to put together a custom MediaProvider to make this functionality happen? I need everything, and including, the &quot;?&quot; to be gone when rendered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update: It seems it is an issue with where the Sitecore Link control is inserting anchor tags. It is inserting the anchor tag in front of the query parameter which is causing the anchor to fail. We think the root cause is that we need the Link control to insert anchor tags after the query parameters. Has anyone encountered before or is this considered at this point a Sitecore bug?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="423" LastEditDate="2017-01-26T23:25:04.920" LastActivityDate="2017-01-26T23:25:04.920" Title="What is the easiest way to remove the language and hash from PDF links in Sitecore RTE in 8.1?" Tags="|media-library|links|richtext-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3756" PostTypeId="1" AcceptedAnswerId="3758" CreationDate="2017-01-11T23:07:42.500" Score="0" ViewCount="339" Body="&lt;p&gt;I'm using several multi-list fields in my searches, and they work great to say &quot;field = value&quot; and it finds a matching value in the list. What I need now, though, is to check if the value I'm looking for is the only one in the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: a multi-list of states. In the usual scenario, I want to check if Virginia has been selected. In this new scenario, I want to check if the list contains Virginia ONLY...if Maryland is also selected, for example, then the result would not be returned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a length value that could be checked to find out how many selections are in the field? Then it'd be easy to say &quot;AND length = 1&quot; in addition to my standard query.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-01-12T01:29:41.750" Title="Coveo multi-list - find if field has only one value" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3757" PostTypeId="2" ParentId="3755" CreationDate="2017-01-12T01:06:02.633" Score="1" Body="&lt;p&gt;You should be able to do this by modifying the link manager settings like so to set languageEmbedding=&quot;never&quot;. You can also set any of the other values if you wish as show below. This is a patch file to make upgrades easier:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;linkManager&amp;gt;&#xA;            &amp;lt;providers&amp;gt;&#xA;                &amp;lt;add name=&quot;sitecore&quot;&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;lowercaseUrls&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;addAspxExtension&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;languageEmbedding&quot;&amp;gt;never&amp;lt;/patch:attribute&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;alwaysIncludeServerUrl&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;useDisplayName&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/add&amp;gt;&#xA;            &amp;lt;/providers&amp;gt;&#xA;        &amp;lt;/linkManager&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If this doesn't work you can instead create your own Link provider class and patch this in instead.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-01-12T01:06:02.633" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3758" PostTypeId="2" ParentId="3756" CreationDate="2017-01-12T01:29:41.750" Score="1" Body="&lt;p&gt;There is no search operator to query the number of values in a multi value field in a Coveo index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your query only contains one value for a given multi value field, it would be possible to achieve your goal with another field containing the same values but not configured as a multi value field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exemple for a query @multivaluefield==&quot;virginia&quot; AND @normalfield==&quot;virginia&quot;.&#xA;If @multivaluefield and @normalfield values are &quot;virginia&quot;, the document will be returned.&#xA;However, if their values are &quot;virginia;maryland&quot;, the query on @multivaluefield will return the document but the query on @normalfield will filter it out as the field doesn't contain only &quot;virginia&quot;.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2017-01-12T01:29:41.750" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3759" PostTypeId="1" CreationDate="2017-01-12T05:01:48.473" Score="10" ViewCount="317" Body="&lt;p&gt;I am trying to display submitted form records on a custom SPEAK reporting page.&lt;/p&gt;&#xA;&lt;p&gt;I can use the &lt;strong&gt;FormResponsesDataSource&lt;/strong&gt; rendering to get the submitted records related to a given form.&lt;/p&gt;&#xA;&lt;p&gt;Now I need to display them in as a &lt;code&gt;list/table&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Is there any default &lt;code&gt;Rendering&lt;/code&gt; that can be used to display above retrieving &lt;code&gt;WFFM Form&lt;/code&gt; Response data?&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="5774" LastEditDate="2021-06-15T12:24:37.533" LastActivityDate="2021-06-15T12:24:37.533" Title="Custom WFFM Speak Reporting Page" Tags="|wffm|reporting|speak|" AnswerCount="0" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3760" PostTypeId="1" AcceptedAnswerId="3761" CreationDate="2017-01-12T06:16:10.877" Score="5" ViewCount="10319" Body="&lt;p&gt;We have a 2 step workflow i.e draft and final.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We notice the warning message below on any item when trying to edit&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;If you publish now, the selected version will not be visible on the Web site because it has been replaced by an older version.&#xA;Version 1 will be published instead.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Do we need to worry about this warning?&lt;/li&gt;&#xA;&lt;li&gt;is there any fix we could apply to stop this warning?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2017-01-12T07:04:38.773" Title="the selected version will not be visible on the Web site because it has been replaced by an older version" Tags="|security|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3761" PostTypeId="2" ParentId="3760" CreationDate="2017-01-12T07:04:38.773" Score="12" Body="&lt;p&gt;Check if Version 2 of your item in &quot;final&quot; workflow state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not an error. This is a functionality of Sitecore. When the current item version you are working on does not satisfy the requirement to publish (ex: item version is not in the final workflow state, item version is set to never publish, item version have publish time set, etc), this warning will be displayed.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-01-12T07:04:38.773" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3762" PostTypeId="1" CreationDate="2017-01-12T07:06:55.980" Score="7" ViewCount="3532" Body="&lt;p&gt;I'm using dynamic placeholders in the views, and there are nested views.&lt;br&gt;&#xA;When giving the placeholder path for a rendering (in &lt;em&gt;Presentation &gt; Details&lt;/em&gt;),&lt;br&gt;&#xA;the path should be - &lt;em&gt;main-placeholder/sub-placeholder&lt;/em&gt;. But it doesn't render anything in that way. When given only the &lt;em&gt;sub-placeholder&lt;/em&gt;, it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 MVC  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are my class and views:  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;HTMLHelperExtensions.cs:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class HTMLHelperExtensions&#xA;    {&#xA;        public static HtmlString DynamicPlaceholder(this SitecoreHelper mySCHelper, string placeholderName)&#xA;        {&#xA;            string dynamicKey = GetDynamicKey(placeholderName);&#xA;&#xA;            if (!string.IsNullOrWhiteSpace(dynamicKey))&#xA;                placeholderName = dynamicKey;&#xA;&#xA;            IDisposable disposable = PlaceholderContext.Enter(new PlaceholderContext(placeholderName));&#xA;            return mySCHelper.Placeholder(placeholderName);&#xA;        }&#xA;&#xA;        private static string GetDynamicKey(string placeHolderName)&#xA;        {&#xA;            bool needIncrement = false;&#xA;            int incrementStep = 0;&#xA;            IEnumerable&amp;lt;PlaceholderContext&amp;gt; myPlaceholders = ContextService.Get().GetInstances&amp;lt;PlaceholderContext&amp;gt;();&#xA;&#xA;            foreach (PlaceholderContext myPHContext in myPlaceholders)&#xA;            {&#xA;                if (myPHContext.PlaceholderName == placeHolderName || myPHContext.PlaceholderName.StartsWith(placeHolderName + &quot;_&quot;))&#xA;                {&#xA;                    needIncrement = true;&#xA;                    incrementStep++;&#xA;                }&#xA;            }&#xA;&#xA;            if (needIncrement)&#xA;                placeHolderName += &quot;_&quot; + incrementStep.ToString();&#xA;&#xA;            return placeHolderName;&#xA;        }&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;default.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;body&amp;gt;&#xA; @Html.Sitecore.Placeholder(&quot;page-content&quot;)&#xA;&amp;lt;/body&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Section Centered.cshtml&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;section&amp;gt;&#xA;    &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;        @Html.Sitecore().DynamicPlaceholder(&quot;section-centered&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/section&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2 Column 6-6.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//this should come inside &quot;section-centered&quot;&#xA;&amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;col-lg-6 col-md-6 col-sm-6&quot;&amp;gt;&#xA;        @Html.Sitecore().DynamicPlaceholder(&quot;col-wide-1&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;col-lg-6 col-md-6 col-sm-6&quot;&amp;gt;&#xA;        @Html.Sitecore().DynamicPlaceholder(&quot;col-wide-2&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The content is rendered, when I give the placeholders as this:&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/jQcHz.jpg&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jQcHz.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I give the placeholders like this:&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/799XV.jpg&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/799XV.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;it only renders...  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;section&amp;gt;&#xA;    &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;        ::before&#xA;        ::after&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/section&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you see, the &lt;code&gt;Article&lt;/code&gt; is not rendered. I would like to give the nested paths as it would make sense. Where am i going wrong.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-01-23T16:24:17.343" Title="How to have nested placeholders when using dynamic placeholders" Tags="|placeholders|dynamic-placeholder|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3764" PostTypeId="2" ParentId="2973" CreationDate="2017-01-12T09:43:52.700" Score="-1" Body="&lt;p&gt;I think the following statement will work out best for you:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;_repository = ServiceLocator.Current.Resolve&amp;lt;ISimpleComponentRepository &amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1379" LastEditorUserId="755" LastEditDate="2017-01-12T13:17:06.747" LastActivityDate="2017-01-12T13:17:06.747" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3765" PostTypeId="1" CreationDate="2017-01-12T09:55:42.750" Score="7" ViewCount="3104" Body="&lt;p&gt;Does anybody have any experience with Web API and Sitecore? I've got a custom database for data not managed by Sitecore, but will be presented alongside Sitecore data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The API calls work fine when called directly, but after publishing with the Sitecore site, the site won't load and gives an error saying:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;The object has not yet been initialized. Ensure that&#xA;  HttpConfiguration.EnsureInitialized() is called in the application's&#xA;  startup code after all other initialization code.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've tried adding EnsureInitialized() to the startup code, like it says, but it gives the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My API is not calling any Sitecore data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a RegisterRoutes class to Sitecore.Pipelines and patched Sitecore with RegisterRoutes.config after Sitecore.Pipelines.Loader.EnsureAnonymousUsers&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My relevant files are as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;WebApiConfig.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Net.Http.Formatting;&#xA;using System.Web.Http;&#xA;&#xA;namespace Feature.DataAPI&#xA;{&#xA;    public static class WebApiConfig&#xA;    {&#xA;        public static void Register(HttpConfiguration config)&#xA;        {&#xA;            // Web API configuration and services&#xA;&#xA;            // This block of code sets the application to emit json globally by default&#xA;            GlobalConfiguration.Configuration.Formatters.JsonFormatter.MediaTypeMappings.Add(&#xA;                new RequestHeaderMapping(&quot;Accept&quot;, &quot;text/html&quot;, StringComparison.InvariantCultureIgnoreCase, true,&#xA;                    &quot;application/json&quot;));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Global.asax.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Http;&#xA;&#xA;namespace Feature.DataAPI&#xA;{&#xA;    public class WebApiApplication : System.Web.HttpApplication&#xA;    {&#xA;        protected void Application_Start()&#xA;        {&#xA;            GlobalConfiguration.Configure(WebApiConfig.Register);&#xA;&#xA;            // This block of code is to handle a circular reference error when serializing the json output&#xA;            GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings.ReferenceLoopHandling =&#xA;                Newtonsoft.Json.ReferenceLoopHandling.Ignore;&#xA;&#xA;            GlobalConfiguration.Configuration.EnsureInitialized();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;RegisterRoutes.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines;&#xA;using System.Web.Http;&#xA;using System.Web.Http.Routing;&#xA;&#xA;namespace Feature.DataAPI.Pipelines&#xA;{    &#xA;    public class RegisterRoutes&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            GlobalConfiguration.Configure(Configure);&#xA;        }&#xA;&#xA;        private static void Configure(HttpConfiguration configuration)&#xA;        {   &#xA;            configuration.Routes.Add(&quot;API&quot;, new HttpRoute(&quot;sitecore/api/{controller}/{id}&quot;));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;RegisterRoutes.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Feature.DataAPI.Pipelines.RegisterRoutes,Feature.DataAPI&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After following @Andrey's advice, I have made some progress and am now getting this error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The controller for path '/dataapi/Product/1' was not found or does&#xA;  not implement IController.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So at least Sitecore is finding it now. I read in this blog &lt;a href=&quot;http://jcardy.co.uk/asp-net-webapi-error-the-controller-for-path-was-not-found-or-does-not-implement-icontroller/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; that Sitecore is throwing an error because it is expecting IController whereas Web API implements ApiController instead. It suggests modifying the order of registrations in the Application_Start, but I can no longer modify this file in Sitecore 8.2 as stated by Soren. So, do I have to alter where the processor is patched in the RegisterRoutes.config file? If so, where should it be placed instead?&lt;/p&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="1133" LastEditDate="2017-01-12T13:52:48.850" LastActivityDate="2017-01-12T13:52:48.850" Title="Sitecore 8.2 with Web API 2" Tags="|pipelines|webapi|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3766" PostTypeId="2" ParentId="3765" CreationDate="2017-01-12T10:11:05.697" Score="5" Body="&lt;p&gt;I think you need to move the stuff in your &lt;code&gt;WebApiApplication.Application_Start&lt;/code&gt; method to the &lt;code&gt;initialize&lt;/code&gt; pipeline like you are doing with the &lt;code&gt;RegisterRoutes&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.2 (or somewhere around there) they made &lt;code&gt;Application_Start&lt;/code&gt; internal so you can't override it anymore. I've been told this has been marked as a bug at Sitecore and I supposed it will be fixed in a later release, but it hasn't as of 8.2 Update-2. &lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2017-01-12T10:11:05.697" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3767" PostTypeId="2" ParentId="3765" CreationDate="2017-01-12T10:12:18.197" Score="2" Body="&lt;p&gt;Sitecore has its own &lt;code&gt;Global.asax&lt;/code&gt; which type is &lt;code&gt;Sitecore.Web.Application&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your example, it looks like you override the default sitecore global.asax and this causes conflicts/issues. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to eliminate conflicts, you should start from deriving your application class from the Sitecore Application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, please use this technique to register custom routes instead: &lt;a href=&quot;https://kb.sitecore.net/articles/700677&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/700677&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-01-12T10:12:18.197" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="3768" PostTypeId="2" ParentId="3743" CreationDate="2017-01-12T13:19:59.337" Score="0" Body="&lt;p&gt;Here's an implementation I use in one of our API's.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual string MergeTemplate(string template, IDictionary&amp;lt;string, object&amp;gt; data)&#xA;    {&#xA;        Assert.ArgumentNotNullOrEmpty(template, nameof(template));&#xA;        Assert.ArgumentNotNull(data, nameof(data));&#xA;&#xA;        try&#xA;        {&#xA;            Velocity.Init();&#xA;            VelocityContext context = new VelocityContext();&#xA;&#xA;            foreach (string key in data.Keys)&#xA;            {&#xA;                context.Put(key, data[key]);&#xA;            }&#xA;&#xA;            return VelocityHelper.Evaluate(context, template, Guid.NewGuid().ToString());&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error($&quot;Failed to merge the e-mail template: {Environment.NewLine}{template}&quot;, ex, this);&#xA;        }&#xA;&#xA;        return template;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You pass in the template as string (containing the tokens to replace or logic to execute) and a dictionary where the key equals the token in the template and the object the actual object that's going to do something. &lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2017-01-12T13:19:59.337" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3770" PostTypeId="2" ParentId="3450" CreationDate="2017-01-12T14:07:02.203" Score="2" Body="&lt;p&gt;Even I faced similar issue..The task would start and hang up with the below message&#xA;Starting '05 Sync Unicorn'..&#xA;As mentioned above , along with MicroCHAP.dll, I had to unblock other two files (Sync and Unicorn ) to resolve the issue.&lt;/p&gt;&#xA;" OwnerUserId="1389" LastActivityDate="2017-01-12T14:07:02.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3771" PostTypeId="1" AcceptedAnswerId="3772" CreationDate="2017-01-12T14:14:47.860" Score="2" ViewCount="1148" Body="&lt;p&gt;I have small issue with search results where its showing duplicate items because it has different version created and sometimes it only shows default language version. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code i have is as per below, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below method returns IQueryable&amp;lt;&gt; &#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return context.GetQueryable&amp;lt;SearchResult&amp;gt;().Where(item =&amp;gt; item[&quot;Enable&quot;] = &quot;1&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After I get the results I can see different version of each item, later on i do filtering/sorting as per below,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;results.AddRange(query.Where(item =&amp;gt; item.Title.Equals(&quot;keywordinput&quot;))&#xA;    .OrderByDescending(item =&amp;gt; item.SortOrder)&#xA;    .ThenBy(item =&amp;gt; item.DateTime));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Soon as i use the linq, it's only showing default language not based on context language. I've tried applying language when running &lt;code&gt;GetQueryable&amp;lt;&amp;gt;&lt;/code&gt; but then I only get item that has language but I would also like to display other items  that don't have language i.e. the default language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way I can do this?  for example suppose i have &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item1 has two version en and us &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item2 has only one version en &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if someone search &quot;item&quot; then im expecting two results to be displayed&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item1 - us version&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item2 - en version &lt;/p&gt;&#xA;" OwnerUserId="1054" LastEditorUserId="73" LastEditDate="2017-08-03T13:25:47.447" LastActivityDate="2017-08-03T13:25:47.447" Title="Perform multi-language search sitecore" Tags="|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3772" PostTypeId="2" ParentId="3771" CreationDate="2017-01-12T15:28:04.297" Score="2" Body="&lt;p&gt;If your solution relies on Sitecore’s content search and you want to use language fallback, you must set up the particular search index to handle item- or field-level fallback. You'll want to patch in the config updates to each index you need the functionality for then perform a full rebuild.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_master_index&quot; …&amp;gt;&#xA;…&#xA;   &amp;lt;enableItemLanguageFallback&amp;gt;true&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;   &amp;lt;enableFieldLanguageFallback&amp;gt;true&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;…&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more information you can read the Sitecore documentation &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/language_fallback/setting_up/configure_language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/language_fallback/setting_up/configure_language_fallback&lt;/a&gt; for the feature.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-01-12T15:28:04.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3773" PostTypeId="2" ParentId="3771" CreationDate="2017-01-12T15:32:21.113" Score="0" Body="&lt;h2&gt;Languages&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can modify your query adding a language parameter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// This can be also defined somewhere in config, etc.&#xA;var defaultLang = &quot;en&quot;&#xA;&#xA;var contextLang = Sitecore.Context.Language != null ? &#xA;        Sitecore.Context.Language.Name : DefaultLanguageName;&#xA;&#xA;query.Where(item =&amp;gt; item.Title.Equals(&quot;keywordinput&quot;) &#xA;        &amp;amp;&amp;amp; (item.Language == contextLang || item.Language == defaultLang));&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also use the predicate builder to make sure the queries are more readable.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;Versions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In order to achieve that you can use the inbound/outbound filter. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, refer to the &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-inbound-and-outbound-filter-pipelines&quot; rel=&quot;nofollow noreferrer&quot;&gt;doc&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that doesn't help, you can define a new field on the indexable:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(“_latestversion”)]&#xA;public bool IsLatestVersion { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then use the following condition in your query: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.Where(item =&amp;gt; item.IsLatestVersion)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2017-01-12T15:38:00.327" LastActivityDate="2017-01-12T15:38:00.327" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3774" PostTypeId="1" AcceptedAnswerId="3775" CreationDate="2017-01-12T16:16:54.270" Score="1" ViewCount="2058" Body="&lt;p&gt;We have a Rich Text field where we are storing our email's html.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i try to save the item, i ended up with validation error like &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The field &quot;EmailBody&quot; contains (or lacks) some formatting attributes which can cause unexpected results in some browsers (such as Internet Explorer, Firefox, or Safari). &#xA;  For more information about the specific issue detected, use to the Validation command in the Proofing group on the Review tab.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;when i checked by clicking on validation button the error is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Field must be a valid XHtml document &#xA;  Error: The element 'div' in namespace '&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;'&#xA;  has invalid child element 'meta' in namespace&#xA;  '&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;'. List of possible elements expected:&#xA;  'p, h1, h2, h3, h4, h5, h6, div, ul, ol, dl, pre, hr, blockquote,&#xA;  address, fieldset, table, form, a, br, span, bdo, map, object, img,&#xA;  tt, i, b, big, small, em, strong, dfn, code, q, samp, kbd, var, cite,&#xA;  abbr, acronym, sub, sup, input, select, textarea, label, button,&#xA;  noscript, ins, del, script' in namespace&#xA;  '&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;'. [2, 4]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I want to suppress that error on specific field(&quot;EmailBody&quot;) not a global change for rich text field, how can i achieve this?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2017-01-12T16:42:42.173" LastActivityDate="2019-12-04T11:48:10.357" Title="Remove 'Is valid XHtml' validation rule for Rich Text field" Tags="|sitecore-client|richtext-editor|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3775" PostTypeId="2" ParentId="3774" CreationDate="2017-01-12T16:23:51.703" Score="5" Body="&lt;p&gt;You can remove the rule validation on the Global Rules item &lt;code&gt;/sitecore/system/Settings/Validation Rules/Global Rules&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll want to remove the rule from the &lt;code&gt;Validate Button&lt;/code&gt;, and &lt;code&gt;Validate Button&lt;/code&gt; fields of the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oq4x2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oq4x2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are field specific rule items that you can update to remove the  &lt;code&gt;Is XHtml&lt;/code&gt; if needed. The Rich Text field is located at &lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Types/Rich Text&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="731" LastEditorUserId="731" LastEditDate="2017-01-12T16:58:01.957" LastActivityDate="2017-01-12T16:58:01.957" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3777" PostTypeId="2" ParentId="3736" CreationDate="2017-01-13T02:54:55.647" Score="2" Body="&lt;p&gt;I suspect that you have a field that holds certain XML twice (i.e the definition of a carousel slide actually exists in two fields on the server). And maybe one of the four fields that it calculates the entire layout from is difference between your local environment and the server environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Renderings are calculated via deltas, and it's a combination of deltas from:- &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the Template Standard Values -&gt; &lt;code&gt;__Renderings&lt;/code&gt; field &lt;/li&gt;&#xA;&lt;li&gt;the Template Standard Values -&gt; &lt;code&gt;__Final Renderings&lt;/code&gt; field&lt;/li&gt;&#xA;&lt;li&gt;the Content Item -&gt; &lt;code&gt;__Renderings&lt;/code&gt; field&lt;/li&gt;&#xA;&lt;li&gt;the Content Items -&gt; &lt;code&gt;__Final Renderings&lt;/code&gt; field&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Can you check the Raw values of each of these? Put the XML into a text editor, and search for a data source item's id, of a rendering that you know is duplicated. You can then find where the XML exists in each of the fields.&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2017-01-13T02:54:55.647" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3778" PostTypeId="2" ParentId="2319" CreationDate="2017-01-13T03:49:56.530" Score="4" Body="&lt;p&gt;The values in Steps 1-3 is a straight value...meaning it is NOT a delta value. Therefore you will be getting exactly what the renderings referenced here specify on the item, and NOTHING will come from the Standard Values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 4 IS a delta value (notice the &lt;code&gt;xmlns:p=&quot;p&quot; xmlns:s=&quot;s&quot;&lt;/code&gt;, and most of the parameters are preceded with a &lt;code&gt;s:&lt;/code&gt;.&#xA;So for this item, you will get what the Standard Values renderings state, with it modified by this delta value on top. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to check this XML against the raw values of the Standard Values field to see what it's doing.&#xA;For example, I can see that it is deleting (&lt;code&gt;&amp;lt;p:d /&amp;gt;&lt;/code&gt;) whatever rendering has &lt;code&gt;uid=&quot;{A676EFBC-370E-46B7-B5F9-94D47D9093AC}&quot;&lt;/code&gt;. Same with &lt;code&gt;uid=&quot;{4DA8179B-5CCC-4114-A322-F1C8AB41D955}&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2017-01-13T03:49:56.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3779" PostTypeId="2" ParentId="571" CreationDate="2017-01-13T09:16:22.417" Score="1" Body="&lt;p&gt;Just a thought... Add a hidden textbox as described in the blog post and populate/clear it when the checked state of the checkbox changes. The other way around, check the checkbox if the hidden textbox isn't empty.&lt;/p&gt;&#xA;" OwnerUserId="581" LastActivityDate="2017-01-13T09:16:22.417" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3780" PostTypeId="1" AcceptedAnswerId="3790" CreationDate="2017-01-13T11:01:03.410" Score="6" ViewCount="127" Body="&lt;p&gt;For one of our implementations we came up with the (relatively simple) following requirement:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Let's show a &lt;strong&gt;'Other people also viewed'&lt;/strong&gt; kind of functional block on&#xA;  our content / product and other page (where relevant).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This block should leverage the analytics information collected from previous users and visitors. As this is basically a part of the functionality that the &lt;code&gt;Path Analyzer&lt;/code&gt; holds, worst case I need to dive into that code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had hoped to find some actual examples, API information but seem to find very little to nothing on this topic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As XConnect will handle this type of requests against the Analytics reporting and MongoDB in my opinion, it might very well be that this information gets obsolete very quickly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What is best used to retrieve information out of the Sitecore Analytics at this point? API or custom written queries?&lt;/li&gt;&#xA;&lt;li&gt;Anyone who can guide me to some good documentation anywhere?&lt;/li&gt;&#xA;&lt;li&gt;Actual examples or ideas to implement the requirement listed above would obviously be welcome.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;PS, Sitecore version 8 and onwards.&lt;/p&gt;&#xA;" OwnerUserId="627" LastEditorUserId="73" LastEditDate="2017-01-13T13:09:24.513" LastActivityDate="2017-01-13T19:20:59.873" Title="Analytics information to leverage site behavior" Tags="|xdb|experience-analytics|path-analyzer|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3781" PostTypeId="1" AcceptedAnswerId="3800" CreationDate="2017-01-13T13:32:55.127" Score="1" ViewCount="361" Body="&lt;p&gt;We recently upgraded from Sitecore 8.1u1 to Sitecore 8.2u2 and noticed that  the general link field dialog &quot;&lt;strong&gt;InsertLinkViaTreeDialog&lt;/strong&gt;&quot; has a different structure now. We had a custom field that was populated by the &quot;&lt;strong&gt;InsertLinkButtonRuleDefinition&lt;/strong&gt;&quot; Rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now &quot;InsertLinkButtonRuleDefinition&quot; is missing and I can't figure out how the fields are populated. Can someone help please?&lt;/p&gt;&#xA;" OwnerUserId="364" LastEditorUserId="16" LastEditDate="2017-01-14T10:44:02.363" LastActivityDate="2017-01-14T11:05:34.903" Title="General Link Dialog &quot;InsertLinkViaTreeDialog&quot; misses InsertLinkRules after Upgrade to 8.2u2" Tags="|rules-engine|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3782" PostTypeId="1" AcceptedAnswerId="3783" CreationDate="2017-01-13T15:12:17.317" Score="5" ViewCount="272" Body="&lt;p&gt;A coworker of mine just asked me if we should make the connection string read only to the web database, on the CD server. I have never seen it done before when hardening the CD servers, but its an interesting question. My first thought it that you couldn't because of the CD server being able to update the Event Queue information. But has anyone ever tried to harden the connection string for the web database on the CD server?&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-01-13T15:14:05.293" Title="Read only CD server web DB connection string" Tags="|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3783" PostTypeId="2" ParentId="3782" CreationDate="2017-01-13T15:14:05.293" Score="8" Body="&lt;p&gt;No, you don't want to make the connection string Read Only. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason behind his is that the EventQueue table is actually written to by the CD server when doing tasks. There are a number of processes that occur on the CD server that perform writes to the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yeah, we've tried to harden it to readonly in the past (not for version 8, but for an earlier version of Sitecore) and it worked, but we started noticing that content wouldn't get updated appropriately, and then the eventqueue/history table would grow really large and not be maintained appropriately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wouldn't suggest it.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-01-13T15:14:05.293" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3784" PostTypeId="1" AcceptedAnswerId="3789" CreationDate="2017-01-13T15:31:29.797" Score="0" ViewCount="154" Body="&lt;p&gt;My client is on a Sitecore 8.1.2 site in MVC and while reviewing the Path Analyzer I noticed a View Model type name was showing up in one of my funnels. Does anyone know why this might happen, whether this is an indication of an issue and if there is any way to prevent this from happening? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; I was looking through the code-base and found that there is an &lt;code&gt;HttpPost&lt;/code&gt; action named &lt;code&gt;BuildSearchResultsViewModel&lt;/code&gt; that I expect could be the culprit. This action (which should probably be renamed) is called via on search button click. While I know that action routes really are paths, this doesn't really have any meaning to the client. Is there a way to selectively hide these entries from the path analyzer or to create a more meaningful label for them (e.g. &quot;Search Button Click&quot;)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1VEVv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1VEVv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We do not have any custom reporting/analytics code running on that page that would cause it to show up, as far as I know. If there is any specific configuration or code that would be relevant for this issue that I am not aware of then please let me know and I will update my post. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-01-13T17:03:46.400" LastActivityDate="2017-01-13T19:23:33.073" Title="Why am I seeing a view model type name in Path Analyzer funnel" Tags="|path-analyzer|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3789" PostTypeId="2" ParentId="3784" CreationDate="2017-01-13T19:00:15.270" Score="1" Body="&lt;p&gt;In order to ignore your custom ajax response you can cancel the request tracking in your controller action code:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Tracker.Current.CurrentPage.Cancel()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is to be used when you need to cancel a &lt;em&gt;single&lt;/em&gt; request tracking.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: It will work for future paths/requests only. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to remove the current irrelevant records, you will probably need to lookup mongodb for tracking history, remove unnecessary records and rebuild your reporting db.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: check this post for different cancellation techniques as well: &lt;a href=&quot;https://sitecore.stackexchange.com/a/1456/982&quot;&gt;https://sitecore.stackexchange.com/a/1456/982&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-01-13T19:23:33.073" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3790" PostTypeId="2" ParentId="3780" CreationDate="2017-01-13T19:20:59.873" Score="1" Body="&lt;p&gt;This answer is not an implementation of your requirement, but rather a direction of where to start from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have disassembled the &lt;code&gt;Sitecore.PathAnalyzer.Services.dll&lt;/code&gt; assembly and found that there are basically two services used in the &lt;code&gt;PathsController&lt;/code&gt; for building the path:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ITreeService _treeService;&#xA;IPathSetBuilder _pathSetBuilder;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And they are used as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public PathSet Get(PathRequest request)&#xA;    {&#xA;      NodeAdapter tree = this._treeService.GetTree((TreeRequest) request);&#xA;      return this._pathSetBuilder.Build(request.ItemId.Value, tree);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below are the essential parts of the &lt;code&gt;PathRequest&lt;/code&gt; parameters that you will require to pass to the &lt;strong&gt;TreeService&lt;/strong&gt; and &lt;strong&gt;PathSetBuilder&lt;/strong&gt; in order to build a path:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;new PathRequest {&#xA;    ItemId = this is an id of the context item for your query&#xA;    TreeDefinitionId = this is a map definition item, &#xA;                    i.e. {68E713D8-A382-4378-8FB0-9D7F7AD14B25} is All Site Experience&#xA;    StartDate = Start date to aggregate data from&#xA;    EndDate = End date&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;This is just to give a basic idea of using the path analyzer's api&lt;/li&gt;&#xA;&lt;li&gt;You can study the parameters better by checking your chrome console for &lt;code&gt;{root}/sitecore/api/PathAnalyzer/{Controller}&lt;/code&gt; calls while navigating through different paths.&lt;/li&gt;&#xA;&lt;li&gt;In order to get more clues on how everything is coupled together or answer more specific questions, I believe that you would need to decompile the above mentioned dll.&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;Last but not the least&lt;/em&gt;. Make sure that you introduce some &lt;strong&gt;strong caching&lt;/strong&gt; on this, because those queries might get too heavy.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-01-13T19:20:59.873" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3791" PostTypeId="1" CreationDate="2017-01-13T19:22:24.223" Score="5" ViewCount="486" Body="&lt;p&gt;My client needs a site which can sustain load of 3 million views a day. &#xA;We asked them if they know, what a spike per second would look like but they do not know the answer to that. They said from 3 million view in a day we can assume there would be a spike where they may get close to 2.5 million hit in a second. And we need to consider this threshold level. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We currently load tested our site and it can sustain 200 request/second, so ofcourse this is huge request, but wanted to know or confirm few things?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) if i add those many CD servers (my approx calculation says i may need to add 10 more CD servers at-least). Do i need to consider the CM to be load balanced or not?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) I am already using akamai and SC caching. What other things i can do to improve performance?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Contents will be entered by 30-40 content authors every 15 minutes during that time frame, so what is the best strategy i need to consider?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) I have load balanced SOLR and Mongo already, do i need to scale those too?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) Can Sitecore really handle this much load?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apologies if this is not right forum to ask such question, i would be happy to ask somewhere else or reach out someone. I am trying to get in touch with Sitecore with same questions but thought to ask to community if someone were needed to implement support this type of request in past. &lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorUserId="2727" LastEditDate="2018-03-14T17:16:23.860" LastActivityDate="2018-03-14T17:16:23.860" Title="Sitecore infrastructure question" Tags="|performance|infrastructure|load-balancer|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3792" PostTypeId="2" ParentId="3791" CreationDate="2017-01-13T20:18:10.010" Score="1" Body="&lt;p&gt;Load of each Sitecore implementation is unique depending on how it is designed, caching, components, etc..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This question is also opinion based, IMHO. However, I do want to advice you to reach out to your regional Sitecore sales rep. in addition to Sitecore support, which you already have!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will also need to take into consideration your licensing model. Adding CD servers are typically different than CM servers in your license agreement. You will also want to ensure they are prod licenses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore's documentation for clustering environments is located here &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/clustered_server_environments&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/clustered_server_environments&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit: I did want to answer your questions though!&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;No, you do not need to worry about load balancing the CM servers.&lt;/li&gt;&#xA;&lt;li&gt;In addition to Akamai, ensure you are you are using minification, inspect your logs for load times, check caching for areas of improvement, and look for areas to use CDN servers&lt;/li&gt;&#xA;&lt;li&gt;For 30-40 content authors entering content every 15 minutes, evaluate your workflow for optimization. When load balancing CM servers, use sticky sessions.&lt;/li&gt;&#xA;&lt;li&gt;When load balancing SOLR and Mongo, you do what to scale those. Scaling strategies for SOLR and Mongo should be evaluated for best practices.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore can easily handle this much load. Sitecore is an enterprise solution that serves some of the largest Fortune 50 customer facing businesses. With the proper architecture, Sitecore can be implemented to exponential growth.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1192" LastEditorUserId="1192" LastEditDate="2017-01-15T17:13:22.537" LastActivityDate="2017-01-15T17:13:22.537" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3793" PostTypeId="1" AcceptedAnswerId="3797" CreationDate="2017-01-13T21:33:37.157" Score="4" ViewCount="1555" Body="&lt;p&gt;I'm working on an instance that has a custom redirect engine built in. I've been tasked to write a report that can show the redirect items' Sitecore path with the &quot;redirect from&quot; and &quot;redirect to&quot; fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are 4 flavors of these redirects and the &quot;redirect to&quot; field has 3 different names across those 4 templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my report, I am attempting to display those three field values in one column. The idea being that if I just concatenate those values together, 1 will have a value and 2 will be null.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Get-PathFromId($item) {&#xA;   $myItem = Get-Item master: -ID $item&#xA;   $itemPath = $myItem.Paths.Path&#xA;   $itemPath&#xA;}&#xA;&#xA;function Get-TemplateName($template) {&#xA;   $templateItem = Get-Item master: -ID $template.id&#xA;   $templateName = $templateItem.DisplayName&#xA;   $templateName&#xA;}&#xA;&#xA;#get all redirects of each type&#xA;$items = Get-Item master: -Query &quot;/sitecore/content//*[@@templatename='Internal Redirect Rule']&quot;&#xA;$items += Get-Item master: -Query &quot;/sitecore/content//*[@@templatename='External Redirect Rule']&quot;&#xA;$items += Get-Item master: -Query &quot;/sitecore/content//*[@@templatename='Redirect Rule']&quot;&#xA;$items += Get-Item master: -Query &quot;/sitecore/content//*[@@templatename='Route Redirect Rule']&quot;&#xA;&#xA;$props = @{&#xA;    InfoTitle = &quot;Redirects&quot;&#xA;    InfoDescription = &quot;Lists all redirects for each region.&quot;&#xA;    PageSize = 100&#xA;}&#xA;&#xA;$items |&#xA;    Show-ListView @props -Property @{Label=&quot;Path&quot;; Expression={$_.ItemPath} },&#xA;    @{Label=&quot;Redirect From&quot;; Expression={$_.Fields[&quot;Source URL&quot;]} },&#xA;    @{Label=&quot;Redirect To&quot;; Expression={ Get-PathFromId($_.Fields[&quot;Target Page&quot;]) + $_.Fields[&quot;Target Url&quot;] + Get-PathFromId($_.Fields[&quot;Parent Item&quot;]) } },&#xA;    @{Label=&quot;Internal Target&quot;; Expression={ Get-PathFromId($_.Fields[&quot;Target Page&quot;]) } },&#xA;    @{Label=&quot;External Target&quot;; Expression={ $_.Fields[&quot;Target Url&quot;] } },&#xA;    @{Label=&quot;Route Redirect&quot;; Expression={ Get-PathFromId($_.Fields[&quot;Parent Item&quot;]) } }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I'm seeing is that the column where I am expecting concatenated values :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{Label=&quot;Redirect To&quot;; Expression={ Get-PathFromId($_.Fields[&quot;Target Page&quot;]) + $_.Fields[&quot;Target Url&quot;] + Get-PathFromId($_.Fields[&quot;Parent Item&quot;]) } }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;only returns the value from the &quot;Target Page&quot; field. Any values present in the other two fields are never displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I display the values individually (for now I've added them individually as the last three columns) they display values as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm pretty green with SPE - this has to be something I don't understand about concatenation and/or calling that internal Get-PathFromId function within my concatenation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After working through possible solutions from Michael West and Alan Płócieniak, it seems that my issue is caused by calling the Get-PathFromId method from within my expression. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using this expression without the method calls:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{Label=&quot;Redirect To&quot;; Expression={ $_.Fields[&quot;Target Page&quot;].Value, $_.Fields[&quot;Target Url&quot;].Value, $_.Fields[&quot;Parent Item&quot;].Value } }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;results in a fully populated column but the &quot;Target Page&quot; and &quot;Parent Item&quot; fields are drop links. Having the Sitecore Item Id in the report is not very useful for the intended audience.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe there is a different way to get the Paths.Path from that value?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update #2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adam Płócieniak's solution ended up working great but I also had to fix the Get-PathFromId method to check null values. Some null values were wreaking havoc apparently but weren't throwing an error. I updated that method to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Get-PathFromId($item) {&#xA;    $itemPath = &quot;&quot;&#xA;&#xA;    if($item -ne $null) {&#xA;        $myItem = Get-Item master: -ID $item&#xA;&#xA;        if ($myItem -ne $null) {&#xA;            $itemPath = $myItem.Paths.Path&#xA;        }&#xA;    }&#xA;&#xA;    $itemPath&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1013" LastEditorUserId="1013" LastEditDate="2017-01-16T16:39:33.227" LastActivityDate="2017-01-16T16:39:33.227" Title="Powershell Extensions - Concatenating Values in Show-ListView" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3794" PostTypeId="2" ParentId="3791" CreationDate="2017-01-13T22:15:41.280" Score="5" Body="&lt;p&gt;You're going to need a more than 10 servers to do 2M hits per second.  Assuming each page is 100 hits, you need to serve 20k pages each second. Caching strategies will be critical. MongoDB is going to log gigs each day. IIS logs will be 10's of gigs each day. Disk speed will be critical. Akamai will be needed for all static assets. You need to limit personalisation to the minimum, or use asynchronous strategies like FXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've seen 2CPU+14GB RAM machines do 50-60 pages per second with a lot of tuning and custom xDB VisitorIdentification tags. Maybe an 8-way gets 150/sec. You need probably 25x 8-way machines. Autoscale won't react fast enough but you can probably schedule in some scaling to save money.  Put big Redis caches in too and share across all machines in the stack to reduce DB load as much as possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Akamai is going to cost a bomb too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Dedicate a CM to a group of 20 authors. Load balancing CMs doesn't work that well.l&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get SOLR Cloud onto maybe 6 machines and MongoDB on 6 for starters, SSDs, and set the Mongo primary to be an 8-way with a big SSD RAID and as many IOPS as you can get.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or... turf all synchronous personalisation and serve from cache/Akamai.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my kinda problem!&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-01-13T22:15:41.280" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3795" PostTypeId="1" AcceptedAnswerId="3796" CreationDate="2017-01-13T22:35:22.813" Score="1" ViewCount="421" Body="&lt;p&gt;All the images/resources for only a given template (say X) are stored in azure. While all other images are still stored in Sitecore Media Library. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a user navigates to an item of template X in sitecore content tree, how can I tell sitecore to show the product image from Azure instead of Sql? Also, when the user is on an item of different template (not from template X) I still need the image from SQL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to have multiple media providers(sql and azure) and tell sitecore to bring data from different providers based on template of current item? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or can we extend the default image type and add a new checkbox in the image type data type which says &quot;Read from Azure&quot; and use that to identify where to get the image from?&lt;/p&gt;&#xA;" OwnerUserId="600" LastActivityDate="2017-01-13T22:51:14.397" Title="Custom Media Provider for Azure" Tags="|media-library|azure|data-provider|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3796" PostTypeId="2" ParentId="3795" CreationDate="2017-01-13T22:51:14.397" Score="2" Body="&lt;p&gt;You can do this by overriding Sitecore.Resources.Media.MediaProvider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the GetMediaUrl you'll have access to the MediaItem to check the template or a field. You can then return either the base.GetMediaUrl (i.e. the Sitecore one) or build and return an Azure CDN link to the image/resource.&lt;/p&gt;&#xA;" OwnerUserId="32" LastActivityDate="2017-01-13T22:51:14.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3797" PostTypeId="2" ParentId="3793" CreationDate="2017-01-14T10:06:41.600" Score="4" Body="&lt;h2&gt;Solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Surround each of your expression part with &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;&quot;$(EXPRESSION_HERE)&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Before:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;@{Label=&quot;Redirect To&quot;; Expression={ Get-PathFromId($_.Fields[&quot;Target Page&quot;]) + $_.Fields[&quot;Target Url&quot;] + Get-PathFromId($_.Fields[&quot;Parent Item&quot;]) } }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;After:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;@{Label=&quot;Redirect To&quot;; Expression={ &quot;$(Get-PathFromId($_.Fields[&quot;Target Page&quot;]))&quot; + &quot;$($_.Fields[&quot;Target Url&quot;])&quot; + &quot;$(Get-PathFromId($_.Fields[&quot;Parent Item&quot;]))&quot; } }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Additional info&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This trick is very useful if you want to include some more complicated expression inside your string. See following example.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item =  Get-Item .&#xA;&#xA;Write-Host &quot;My path is $item.Paths.Path&quot;&#xA;Write-Host &quot;My path is $($item.Paths.Path)&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Output:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;My path is Sitecore.Data.Items.Item.Paths.Path&#xA;My path is /sitecore/content/Home&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-01-14T10:12:55.640" LastActivityDate="2017-01-14T10:12:55.640" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3798" PostTypeId="1" CreationDate="2017-01-14T10:33:51.813" Score="2" ViewCount="1149" Body="&lt;p&gt;We need to grant access to languages based on role (ex. the role for English and Spanish language) so that user with these roles will have access to specific languages.&lt;/p&gt;&#xA;" OwnerUserId="1297" LastActivityDate="2022-06-28T05:49:35.620" Title="Language based roles" Tags="|security|role-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3799" PostTypeId="2" ParentId="3798" CreationDate="2017-01-14T10:40:04.717" Score="3" Body="&lt;p&gt;There two special access permissions for languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Language Read and Language Write. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To see them in the Security Editor/Access Viewer click Columns and then tick them in the list. Then you can set security permissions per language items (below /sitecore/system/languages/).&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-01-14T10:40:04.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3800" PostTypeId="2" ParentId="3781" CreationDate="2017-01-14T11:05:34.903" Score="2" Body="&lt;h2&gt;Sitecore 8.2u1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Previously &lt;code&gt;InsertLinkButton&lt;/code&gt; values were populated with &lt;code&gt;InsertLinkButtonRule&lt;/code&gt; (rule item id: &lt;code&gt;{CEDD4633-193B-4D79-8DCC-C49B3C8D0F53}&lt;/code&gt;). Where &lt;strong&gt;TargetControl&lt;/strong&gt; of this rule is &lt;code&gt;InsertLinkButton&lt;/code&gt; and &lt;strong&gt;Trigger&lt;/strong&gt; &lt;code&gt;click&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xwSPH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xwSPH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Action ID is &lt;code&gt;{D4BA15D6-263A-43E6-93DD-CE9E41C7D8E4}&lt;/code&gt; and it still exists in &lt;strong&gt;Sitecore 8.2u2&lt;/strong&gt; (&lt;code&gt;/sitecore/client/Business Component Library/version 1/Layouts/Renderings/Resources/Rule/Rules/Actions/MakeInternalLinkFromTreeView&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you can use it if you want. I am not sure how your custom field works.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore 8.2u2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Now there is no &lt;code&gt;InsertLinkButtonRule&lt;/code&gt; rule which would populate button values. Instead, values are filled in JS.&#xA;If you open the &lt;code&gt;InsertLinkButton&lt;/code&gt; button definition you will notice that click property (previously empty) now has following value in it:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-javascript prettyprint-override&quot;&gt;&lt;code&gt;javascript:app.insertInternalLinkResult()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you need to find a JS file. When you open &lt;strong&gt;PageCode&lt;/strong&gt; rendering you will notice a path to the JS file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/v2Lm6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/v2Lm6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you open this file with a text editor you can see that there is an additional function called &lt;code&gt;insertInternalLinkResult&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code fragment:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  var itemLink = _.template(template, {&#xA;    displayText: htmlEncode(targetDisplayTextID.get(&quot;text&quot;)),&#xA;    alternateText: htmlEncode(targetAltTextID.get(&quot;text&quot;)),&#xA;    itemId: targetControlID.get(&quot;selectedItemId&quot;),&#xA;    queryString: htmlEncode(targetQueryID.get(&quot;text&quot;)),&#xA;    target: targetWindowValue,&#xA;    styleClass: htmlEncode(targetStyleID.get(&quot;text&quot;)),&#xA;    path: path,&#xA;    anchor: htmlEncode(anchor.get(&quot;text&quot;))&#xA;  });&#xA;&#xA;  return this.closeDialog(itemLink);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope it helps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;p.s.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=JakobChristensen.SitecoreRocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Rocks&lt;/a&gt; to analyse the dialog structure.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-01-14T11:05:34.903" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3801" PostTypeId="2" ParentId="3737" CreationDate="2017-01-14T13:24:45.867" Score="4" Body="&lt;p&gt;Anonymous visitor xDB data is stored according to the cookie guid that was placed on the visitors computer as &lt;code&gt;SC_ANALYTICS_GLOBLE_COOKIE&lt;/code&gt;.  As long as the user doesn't clear his cookies, subsequent visits/interactions will be tracked to that anonymous visitor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the event that the user does self identify in some capacity, running &lt;code&gt;Tracker.Current.Session.Identify (identifier)&lt;/code&gt; will take the current anonymous visitor record and merge it into a Known visitor record that can be recalled using the Identify method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At any point cookies are cleared before the Identify method can be executed, the visitor will recieve a new guid, and thus the old interactions tracked by the old cookie guid will no longer be associated to the new visitor guid. This means that those old interactions will not be merged to the known visitor contact when &lt;code&gt;Identify ()&lt;/code&gt; is ran.  While these interactions are still in xDB and can be used for analytics, they are lost to being able to be associated to a known contact.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-01-14T13:24:45.867" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3802" PostTypeId="2" ParentId="3793" CreationDate="2017-01-14T16:33:09.817" Score="1" Body="&lt;p&gt;Another option you can consider is to use the &lt;code&gt;Value&lt;/code&gt; property on the returned field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; Access a field value using the &lt;code&gt;Value&lt;/code&gt; property.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{Label=&quot;Redirect To&quot;; Expression={ Get-PathFromId($_.Fields[&quot;Target Page&quot;]) + $_.Fields[&quot;Target Url&quot;].Value + Get-PathFromId($_.Fields[&quot;Parent Item&quot;]) } }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More on accessing fields &lt;a href=&quot;http://seankearney.com/post/Getting-a-Sitecore-field-value&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In doing more research, the same behavior can be experienced with the &lt;code&gt;Select-Object&lt;/code&gt; command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following returns no combined results.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items | Select-Object @{&quot;n&quot;=&quot;Combined&quot;;e={$_.Fields[&quot;Title&quot;] + $_.Fields[&quot;Title&quot;] }}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following returns combined results.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items | Select-Object @{&quot;n&quot;=&quot;Combined&quot;;e={$_.Fields[&quot;Title&quot;].Value + $_.Fields[&quot;Title&quot;].Value }}&#xA;&#xA;Combined&#xA;---------&#xA;Sitecore Experience PlatformSitecore Experience Platform&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The same as above but with a function call.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items | Select-Object @{&quot;n&quot;=&quot;Combined&quot;;e={(Get-PathFromId($_.Fields[&quot;Target Page&quot;])) + $_.Fields[&quot;Title&quot;].Value}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-01-14T17:35:33.137" LastActivityDate="2017-01-14T17:35:33.137" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3803" PostTypeId="1" AcceptedAnswerId="3804" CreationDate="2017-01-15T00:17:08.723" Score="5" ViewCount="1198" Body="&lt;p&gt;In my instance of Sitecore 7.5, no Save Actions are being executed for WFFM.  This is not related to custom save actions- no save actions are executing, even the default ones.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tested by completely breaking the &lt;code&gt;&amp;lt;successAction&amp;gt;&lt;/code&gt; pipeline in &lt;em&gt;Sitecore.Forms.config&lt;/em&gt;.  I added a processor with a namespace/assembly that is blatantly wrong, yet no matter what I do, I always receive the Success Message on the form.  I have tried with numerous default actions.  I've also gone so far as to brick the namespaces on those actions, and yet I still receive the success message- so clearly it is completely bypassing them.  I reverted all code and configs to the native Sitecore install and a WFFM install.  I pushed the required DLLs from my solution to get the site up and running- no other modules or 3rd party code is running.  &lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-01-15T20:59:56.177" Title="Web Forms For Marketers Save Actions Not Executing" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3804" PostTypeId="2" ParentId="3803" CreationDate="2017-01-15T00:17:08.723" Score="11" Body="&lt;p&gt;After pulling out my non-existant hair, I decided to decompile the &lt;em&gt;Sitecore.Forms.Core.dll&lt;/em&gt;.  Lowe and behold, there is a check in &lt;code&gt;FormsHandler.cs&lt;/code&gt; if the site is not in &lt;code&gt;DisplayMode.Normal&lt;/code&gt; to ignore all save actions.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our particular case, the entire site is hidden behind the Sitecore login, therefore to test, it is our common practice to login to Sitecore, then preview the site.  &lt;em&gt;Previewing&lt;/em&gt; the site sets this flag to &lt;code&gt;DisplayMode.Preview&lt;/code&gt;, thus causing all save actions to be ignored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Appending &lt;code&gt;sc_mode=normal&lt;/code&gt; to the query string properly sets the flag to &lt;code&gt;DisplayMode.Normal&lt;/code&gt; and allows all save actions to execute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found no other posts about this anywhere, hopefully this helps someone some day.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2017-01-15T20:59:56.177" LastActivityDate="2017-01-15T20:59:56.177" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3806" PostTypeId="1" AcceptedAnswerId="4043" CreationDate="2017-01-15T16:32:57.457" Score="2" ViewCount="780" Body="&lt;p&gt;I have followed the steps to install the publishing service on my sitecore 8.2 initial release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked the status of the publishing service and it gives me a 0 status which means that it has been installed correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, after i installed the publishing service module and added the connection string to the include folder to override the url, when i open the publishing dashboard from the launchpad, it looks corrupted:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HsQ38.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HsQ38.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and when i click on publish item from the content editor, it gives me the following popup:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4u4Vx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4u4Vx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;following are the errors showing in the developer tool:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EZjCb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EZjCb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what did I miss?&lt;/p&gt;&#xA;" OwnerUserId="838" LastEditorUserId="73" LastEditDate="2017-01-27T00:07:44.163" LastActivityDate="2017-07-03T07:28:15.480" Title="Publishing Service Dashboard not showing correctly" Tags="|sitecore-client|publishing-service|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3807" PostTypeId="2" ParentId="3624" CreationDate="2017-01-15T17:09:32.447" Score="1" Body="&lt;p&gt;Sitecore.Marketing.config file was missing in the include folder of the content delivery server..when i added it, everything worked fine!&lt;/p&gt;&#xA;" OwnerUserId="838" LastActivityDate="2017-01-15T17:09:32.447" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3808" PostTypeId="1" CreationDate="2017-01-16T06:30:22.133" Score="5" ViewCount="3466" Body="&lt;p&gt;Having a problem on a fresh Habitat setup... followed all steps, publish projects etc, but now I'm getting this error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Access to the path '$(sourceFolder)\feature\accounts\serialization' is denied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried setting permissions on that folder, giving Everyone full access, but it doesn't make a difference.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using latest version as of yesterday. Sitecore was working fine before publishing foundation projects. Have not yet run Unicorn Sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the full error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Access to the path '$(sourceFolder)\feature\accounts\serialization' is denied.&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.UnauthorizedAccessException: Access to the path '$(sourceFolder)\feature\accounts\serialization' is denied. &#xA;&#xA;ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via &amp;lt;identity impersonate=&quot;true&quot;/&amp;gt;, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. &#xA;&#xA;To grant ASP.NET access to a file, right-click the file in File Explorer, choose &quot;Properties&quot; and select the Security tab. Click &quot;Add&quot; to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.&#xA;&#xA;Source Error: &#xA;&#xA;&#xA;Line 103:    public Job StartRebuildAnalyticsIndexJob()&#xA;Line 104:    {&#xA;Line 105:      var options = new Sitecore.Jobs.JobOptions(&quot;Rebuild analytics index&quot;, &quot;Indexing job&quot;, &quot;shell&quot;, this, &quot;RebuildAnalyticsIndex&quot;);&#xA;Line 106:      return Sitecore.Jobs.JobManager.Start(options);&#xA;Line 107:    }&#xA;&#xA;Source File: C:\DATA\Latrobe.Sc\git\sitecore\src\foundation\Installer\code\MongoRestore\MongoRestoreService.cs    Line: 105 &#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[UnauthorizedAccessException: Access to the path '$(sourceFolder)\feature\accounts\serialization' is denied.]&#xA;   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +419&#xA;   System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) +1438&#xA;   System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) +73&#xA;   Rainbow.Storage.SerializationFileSystemDataStore.InitializeRootPath(String rootPath) +313&#xA;   Rainbow.Storage.SerializationFileSystemDataStore..ctor(String physicalRootPath, Boolean useDataCache, ITreeRootFactory rootFactory, ISerializationFormatter formatter) +233&#xA;   lambda_method(Closure , Object[] ) +246&#xA;   Unicorn.Configuration.MicroConfiguration.Activate(Type type, KeyValuePair`2[] unmappedConstructorParameters) +826&#xA;   Unicorn.Configuration.&amp;lt;&amp;gt;c__DisplayClass7_0`1.&amp;lt;RegisterExpectedConfigType&amp;gt;b__2() +38&#xA;   System.Lazy`1.CreateValue() +709&#xA;   System.Lazy`1.LazyInitValue() +191&#xA;   Unicorn.Data.ConfigurationDataStore.RegisterForChanges(Action`2 actionOnChange) +19&#xA;   Unicorn.Data.DataProvider.UnicornDataProvider..ctor(ITargetDataStore targetDataStore, ISourceDataStore sourceDataStore, IPredicate predicate, IFieldFilter fieldFilter, IUnicornDataProviderLogger logger, IUnicornDataProviderConfiguration dataProviderConfiguration, ISyncConfiguration syncConfiguration, PredicateRootPathResolver rootPathResolver) +547&#xA;   lambda_method(Closure , Object[] ) +391&#xA;   Unicorn.Configuration.MicroConfiguration.Activate(Type type, KeyValuePair`2[] unmappedConstructorParameters) +826&#xA;   Unicorn.Configuration.MicroConfiguration.Resolve() +118&#xA;   System.Linq.WhereSelectArrayIterator`2.MoveNext() +102&#xA;   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +148&#xA;   System.Linq.Enumerable.ToArray(IEnumerable`1 source) +106&#xA;   Unicorn.Data.DataProvider.UnicornSqlServerDataProvider..ctor(String connectionString) +232&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +329&#xA;   Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters) +119&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +119&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +165&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +619&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +170&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +118&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +932&#xA;   Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +560&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +322&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +619&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabase(String name, Boolean assert) +157&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabase(String name) +55&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabases() +121&#xA;   Sitecore.Data.Managers.LanguageProvider.InitializeEventHandlers() +73&#xA;   Sitecore.Data.Managers.LanguageProvider..ctor() +225&#xA;   Sitecore.DependencyInjection.DefaultSitecoreServicesConfigurator.&amp;lt;.cctor&amp;gt;b__a(IServiceProvider p) +31&#xA;   Microsoft.Extensions.DependencyInjection.ScopedCallSite.Invoke(ServiceProvider provider) +117&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider) +117&#xA;   Microsoft.Extensions.DependencyInjection.ScopedCallSite.Invoke(ServiceProvider provider) +117&#xA;   Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) +100&#xA;   Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider) +59&#xA;   System.Lazy`1.CreateValue() +709&#xA;   System.Lazy`1.LazyInitValue() +191&#xA;   Sitecore.Globalization.Language.TryParse(String name, Language&amp;amp; result) +139&#xA;   Sitecore.Globalization.Language.Parse(String name) +63&#xA;   Sitecore.Jobs.JobOptions..ctor(String jobName, String category, String siteName, Object obj, String methodName, Object[] parameters) +593&#xA;   Sitecore.Jobs.JobOptions..ctor(String jobName, String category, String siteName, Object obj, String methodName) +66&#xA;   Sitecore.Foundation.Installer.MongoRestore.MongoRestoreService.StartRebuildAnalyticsIndexJob() in C:\DATA\Latrobe.Sc\git\sitecore\src\foundation\Installer\code\MongoRestore\MongoRestoreService.cs:105&#xA;   Sitecore.Foundation.Installer.MongoRestore.MongoRestoreProcessor.Process(PipelineArgs args) in C:\DATA\Latrobe.Sc\git\sitecore\src\foundation\Installer\code\MongoRestore\MongoRestoreProcessor.cs:30&#xA;   (Object , Object[] ) +170&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +259&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +704&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +618&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343&#xA;&#xA;[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +539&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +125&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +731&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="111" LastEditorUserId="73" LastEditDate="2017-04-18T11:50:09.177" LastActivityDate="2017-06-17T12:37:13.200" Title="Helix Install Issue - Permissions on serialization folder" Tags="|habitat|" AnswerCount="3" CommentCount="1" ClosedDate="2017-06-17T12:38:10.010" ContentLicense="CC BY-SA 3.0" />
  <row Id="3809" PostTypeId="1" AcceptedAnswerId="3818" CreationDate="2017-01-16T07:22:14.187" Score="4" ViewCount="1156" Body="&lt;p&gt;Need your help in filtering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have documents tagged to categories as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;d1 tagged to  1 ,3 &amp;amp;  4&#xA;and &#xA;d2 = 2 ,6 &amp;amp; 7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to output as below:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;User selects category 1 and 2 and then click search.Result will be d1&#xA;and d2&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;3 =&gt; d1&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;7 =&gt; d2&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;3,6 =&gt;d1 ,d2&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;5 =&gt; nothing&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;With respect to implementation, I have a parameter named filter whose value will be comma seperated category (i.e the one selected by user in the ui Eg: 1,2) and I have a field exposed for each doecument as 1,2 (i.e comma seperated categories to which they are tagged)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So now how can I get all documents corresponsing to the filter selected (passed as a parameter) by the end user?&lt;/p&gt;&#xA;" OwnerUserId="740" LastEditorUserId="982" LastEditDate="2017-01-16T10:24:20.010" LastActivityDate="2017-01-16T10:40:54.307" Title="Filtering with Solr in Sitecore 8" Tags="|solr|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3810" PostTypeId="2" ParentId="3808" CreationDate="2017-01-16T07:57:05.383" Score="0" Body="&lt;p&gt;It seems that Sitecore variable &lt;code&gt;sourceFolder&lt;/code&gt; is not set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you've copied following config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Project/Habitat/code/App_Config/Include/Project/z.Habitat.DevSettings.config&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/src/Project/Habitat/code/App_Config/Include/Project/z.Habitat.DevSettings.config&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;with your path to the &lt;em&gt;src&lt;/em&gt; folder of Habitat repository.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;c:\my_repos\Habitat\src&quot; /&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-01-16T07:57:05.383" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3811" PostTypeId="2" ParentId="3808" CreationDate="2017-01-16T08:05:24.120" Score="2" Body="&lt;p&gt;Can you please check whether you have a &quot;z.Habitat.DevSettings.config&quot; in the App_Config/Include/Foundation folder? If not you should have a config file that contains the sourceFolder variable setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sitecore variable should be set like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;C:\projects\Habitat\src&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That variable is used in the serialization path. So you need to change the value to your own src location off course ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;sourceFolder&quot; Sitecore variable should be visible in the    &lt;a href=&quot;http://yoursitename/sitecore/admin/ShowConfig.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://yoursitename/sitecore/admin/ShowConfig.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1391" LastActivityDate="2017-01-16T08:05:24.120" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3813" PostTypeId="1" AcceptedAnswerId="3817" CreationDate="2017-01-16T10:15:54.647" Score="7" ViewCount="5811" Body="&lt;p&gt;I need to get list of items that were published but I don't know where to get it...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created publish:end handler &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnPubEnd(object sender, EventArgs args)&#xA;        {&#xA;            var sitecoreEventArgs = ((SitecoreEventArgs) args);&#xA;            var item = Event.ExtractParameter(args, 0);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but it is no  data about it in SitecoreEventArgs&lt;/p&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2020-06-28T21:37:19.663" Title="How to get list of items that were published?" Tags="|publishing|" AnswerCount="5" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3814" PostTypeId="1" AcceptedAnswerId="3815" CreationDate="2017-01-16T10:28:04.657" Score="9" ViewCount="268" Body="&lt;p&gt;We have number of article pages in our site. I am trying to create article RSS feed specifically for Facebook Instant Articles consumption.&#xA;As per their &lt;a href=&quot;https://developers.facebook.com/docs/instant-articles/publishing/setup-rss-feed&quot; rel=&quot;noreferrer&quot;&gt;documentation&lt;/a&gt;, each item in feed should have number of elements, among them, there is one &amp;lt;&lt;em&gt;guid&lt;/em&gt;&gt; element (&lt;em&gt;A string that provides a unique identifier for this article in your feed.&lt;/em&gt;), Is it ok to pass Article Page Item Id for &amp;lt;&lt;em&gt;guid&lt;/em&gt;&gt; element? or do i need to send a randomly generated guid?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the security risks, if we expose Sitecore Item Guids?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had already asked the same question in sitecore-chat slack channel, but the question was lost with other conversations. Any help would be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1003" LastActivityDate="2017-01-16T10:32:31.653" Title="Do we have any security risk for exposing page Item GUID?" Tags="|security|rss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3815" PostTypeId="2" ParentId="3814" CreationDate="2017-01-16T10:32:31.653" Score="4" Body="&lt;p&gt;There is no risk.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore clean installation items are well know to every Sitecore develop (or at least easily accessible ;) ), like &lt;code&gt;/sitecore&lt;/code&gt; node guid is &lt;code&gt;{11111111-1111-1111-1111-111111111111}&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming that your solution is safe, you can expose all your item guids without any risk.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-01-16T10:32:31.653" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3816" PostTypeId="2" ParentId="3813" CreationDate="2017-01-16T10:38:21.060" Score="1" Body="&lt;p&gt;As an example for quick solution you can use &lt;code&gt;publish:itemProcessed&lt;/code&gt; but you can operate only with one item per time. In this case you need to develop your custom storage and accumulate published items and clean it up by some criteria.&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2017-01-16T10:38:21.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3817" PostTypeId="2" ParentId="3813" CreationDate="2017-01-16T10:40:06.633" Score="9" Body="&lt;p&gt;The publish:end event will be triggered once at the end when all items have been published and therefore does not contain the list of all the items. &#xA;If you are interested in collect information about the item you published you need to implement a handler in the publish:itemProcessed&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;event name=&quot;publish:itemProcessed&quot;&amp;gt;&#xA;   &amp;lt;handler &#xA;   type=&quot;My.Assembly.Namespace.ItemProcessedProcessor, My.Assembly&quot;&#xA;method=&quot;ItemProcessed&quot;&amp;gt;&#xA;   &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is your code for the processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Data;&#xA;using Sitecore.Publishing.Pipelines.PublishItem;&#xA;&#xA;namespace My.Assembly.Namespace&#xA;{&#xA;  public class ItemProcessedProcessor&#xA;    {&#xA;&#xA;&#xA;    public void ItemProcessed(object sender, EventArgs args)&#xA;    {&#xA;        ItemProcessedEventArgs itemProcessedEventArgs = args as ItemProcessedEventArgs;&#xA;        PublishItemContext context = itemProcessedEventArgs != null ? itemProcessedEventArgs.Context : null;&#xA;&#xA;        // your logic here&#xA;&#xA;    }&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-01-16T10:40:06.633" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3818" PostTypeId="2" ParentId="3809" CreationDate="2017-01-16T10:40:54.307" Score="2" Body="&lt;p&gt;I assume you have created multilist field on documents and data-source of the multilist field is Category items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now if you select 1,3 and 4 categories into mulitlist of document 1 and 2 ,6 &amp;amp; 7 categories for document d2 multilist field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the front end you have checkboxes or any other thing for select categories now if you are selecting 1 and 2 then both document will show right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is the requirement then you can handle this by creating predicate builder and you can pass pipe separated categories into predicate builder as below code - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var builder = PredicateBuilder.True();&#xA;//Filter with TemplateId&#xA;builder = builder.And(i =&amp;gt; i.TemplateId == [TemplateId]);&#xA;&#xA;//Created new builder for Category items and added again into main builder&#xA;if (!string.IsNullOrEmpty(Categorys))&#xA;{   var Categorybuilder = PredicateBuilder.False();&#xA;    var CategoryItems = Categorys.Split('|');&#xA;    foreach (var Category in CategoryItems)&#xA;    {&#xA;        var ct = Sitecore.ContentSearch.Utilities.IdHelper.NormalizeGuid(Categorys, true);&#xA;        Categorybuilder = Categorybuilder.Or(i =&amp;gt; i.Category.Contains(ct));&#xA;    }&#xA;    builder = builder.And(Categorybuilder);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now pass this builder to search results query as below - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var results=context.GetQueryable().Where(builder).Select(i =&amp;gt; (Item)i.GetItem()).ToList()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That way you can get the document values with OR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details you can also have a look my post  - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nttdatasitecore.com/Blog/2016/September/Sitecore-Lucene-Search-filtering-with-Predicate-Builder&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nttdatasitecore.com/Blog/2016/September/Sitecore-Lucene-Search-filtering-with-Predicate-Builder&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this post I have written same scenario with multiple filters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if something is not clear to you.&lt;/p&gt;&#xA;" OwnerUserId="361" LastActivityDate="2017-01-16T10:40:54.307" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3819" PostTypeId="1" CreationDate="2017-01-16T10:41:05.843" Score="4" ViewCount="88" Body="&lt;p&gt;I am experiencing weird behavior on engagement plan.&#xA;We are running Sitecore 8.2 initial release.&#xA;If I open the plan in &quot;supervisor&quot; mode I can see the overview on how much contacts are in each plan state. It says there are 120 contacts in my state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xEUgt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xEUgt.png&quot; alt=&quot;Overview&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if I click on that state to see contacts I see only 64 contacts which is correct number. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/9IkZy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9IkZy.png&quot; alt=&quot;view contacts in state&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also total number of contacts in the plan is about 340 but it tells 532.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I have a question.. How come that happens and is there a way to fix it?&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2017-01-16T15:35:26.957" Title="Statistics overview for engagement plan shows wrong numbers" Tags="|xdb|engagement-plans|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3820" PostTypeId="2" ParentId="3813" CreationDate="2017-01-16T10:45:32.917" Score="1" Body="&lt;p&gt;You can patch up your logic in 'Publish' Pipeline to get the items published.&#xA;Also get 'lastpublished date' &amp;amp; compare it with published items to fetch the new items that are published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please take care of&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your sitecore version as publishing feature in 8.2 started using publishing service, if 8.2 i think you might change your approach on this.&lt;/li&gt;&#xA;&lt;li&gt;I would recommend to make publish light weight &amp;amp; think about someother alternates to achieve this if possible. &#xA;As you might be aware 'publish' is the long time process &amp;amp; we have to think before extending it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-01-16T10:45:32.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3821" PostTypeId="2" ParentId="3532" CreationDate="2017-01-16T12:42:23.960" Score="4" Body="&lt;p&gt;I have faced same issue and resolved by disabled all lucene indexes and enabling all solr indexed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please dont go by filename to disable the indexes. first enable lucene and go to index manager and note down all index names then disable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case, I have missed mediaframework_brightcove index because it doesn't have name with lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Enable all Solr indexes.&lt;/p&gt;&#xA;" OwnerUserId="1155" LastActivityDate="2017-01-16T12:42:23.960" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3822" PostTypeId="1" AcceptedAnswerId="3823" CreationDate="2017-01-13T14:58:04.737" Score="5" ViewCount="347" Body="&lt;p&gt;Is it possible find out who changed sitecore password through sitecore logs or db ?&lt;/p&gt;&#xA;" OwnerUserId="1324" OwnerDisplayName="Arbejdsglæde" LastEditorUserId="73" LastEditDate="2017-01-16T14:39:36.270" LastActivityDate="2017-01-16T14:49:21.920" Title="Could it possible to find out who changed sitecore password through sitecore logs or db?" Tags="|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3823" PostTypeId="2" ParentId="3822" CreationDate="2017-01-16T14:49:21.920" Score="5" Body="&lt;p&gt;Not after-the-fact. I just tried logging into a vanilla Sitecore 8.2u2 instance as admin and changed the password. The only AUDIT message in the logs (where you would normally expect these events to be registered) was this one.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;14264 15:41:03 INFO  AUDIT (sitecore\admin): Login&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It is possible that if you installed something like the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/A/Advanced_System_Reporter.aspx&quot; rel=&quot;noreferrer&quot;&gt;Advanced System Reporter&lt;/a&gt;, you would be able to get more detailed information on what your users were up to. But this would not apply retroactively on what has already transpired.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would take the issue to Sitecore Support; I feel a change password event is worthy of an AUDIT log entry out of the box.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-16T14:49:21.920" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3824" PostTypeId="1" CreationDate="2017-01-16T15:27:03.797" Score="1" ViewCount="62" Body="&lt;p&gt;Recently our client content author was trying to do the below steps and am not sure if the problems are actual problems or that's how SC related publish should work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Heres what our Content Author is trying to do.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Upload image to the media library&lt;/li&gt;&#xA;&lt;li&gt;Create a new hero slide (data) &gt; add new image &amp;amp; title &gt; Save.&lt;/li&gt;&#xA;&lt;li&gt;Create a new hero slider (module) &gt; add the newly created hero slide item (from step 1) &gt; Save.&lt;/li&gt;&#xA;&lt;li&gt;ON any page, I change home hero slider in presentation details to the new hero slider module (step 2)  &gt; Save&lt;/li&gt;&#xA;&lt;li&gt;Go to publish, preview &gt; No image appears  &lt;strong&gt;this is problem #1&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have both checkboxes checked for related items and subitems &gt; The related items do not get published.&#xA;i.e. if I publish my page then I would assume that it will publish the image which I had uploaded and the slider's slide (step 1) which I used on the page. &#xA;But my image does not get published.&#xA;&lt;strong&gt;This is problem #2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are on SC 8.1 Update 3, with load-balanced CDs, Mongo and SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This question is different then below  &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1615/what-does-the-publish-related-items-checkbox-do-in-sitecore&quot;&gt;What does the &amp;quot;Publish related items&amp;quot; checkbox do in Sitecore?&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is different because &#xA;A) I am not sure why the image won't appear in preview mode? If I click edit mode then only I can see the image in experience editor.&#xA;B) Even if I see the image in edit mode and I try to save and publish it doesn't show me the image in the Experience Editor preview mode or in the cd sites.&#xA;C) It could be a configuration issue or it could be the false expectation from CA. AS they are uploading an image first then they are creating a slide and using that image in a slide. And that slide is being used on a page's module. So not sure if publishing a page can take care of Hero slider, hero slide and its newly uploaded image. &#xA;d) If I upload the image directly while creating slide it works as expected. i.e. I create a new slide and then upload image using media field on the slide item and then I use that slide on page's hero slider and save page I can see image in the edit and preview mode of Experience Editor and on upon publishing I can see the image on the CD and CM sites as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that helps. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Mrunal &lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorUserId="4050" LastEditDate="2019-12-28T13:20:13.257" LastActivityDate="2019-12-28T13:20:13.257" Title="How related publish works?" Tags="|content-editor|publishing|" AnswerCount="0" CommentCount="5" ClosedDate="2017-01-16T15:28:33.307" ContentLicense="CC BY-SA 4.0" />
  <row Id="3825" PostTypeId="2" ParentId="3819" CreationDate="2017-01-16T15:35:26.957" Score="2" Body="&lt;p&gt;I am not 100% sure of this, but I believe what you are experiencing is because of the way xDB handles &lt;em&gt;identified&lt;/em&gt; and &lt;em&gt;unidentified&lt;/em&gt; contacts.&lt;/p&gt;&#xA;&lt;p&gt;From &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/contacts/identifying_contacts&quot; rel=&quot;nofollow noreferrer&quot;&gt;Identifying Contacts&lt;/a&gt;, we learn:&lt;/p&gt;&#xA;&lt;h2&gt;Unidentified Contacts&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Every time a contact uses a device to interact with your website xDB&#xA;creates a new contact record. New contacts enter the system as&#xA;unidentified contacts because the only information collected at this&#xA;point relates to the browser or device used. This is not enough to&#xA;identify an individual across multiple devices.&lt;/p&gt;&#xA;&lt;p&gt;Contacts are connected to the devices they have been using but remain&#xA;unidentified in the system until they provide a valid identifier.&#xA;Clearing cookies in the browser breaks the connection between the&#xA;contact and the device.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;And then&lt;/p&gt;&#xA;&lt;h2&gt;Identified Contacts&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Depending on your requirements, there are different identification&#xA;strategies that you can implement to identify contacts across their&#xA;devices. For example:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Introduce a login form.&lt;/li&gt;&#xA;&lt;li&gt;Connect to contacts using their given email address or phone number and SMS authentication. These all require you to integrate with the Sitecore platform calling the Identify() API call when applicable.&lt;/li&gt;&#xA;&lt;li&gt;Email Experience Manager (EXM) and the Web Forms&#xA;for Marketers (WFFM) modules integrate with Sitecore to identify&#xA;contacts when they open email links or complete a web form.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;All&#xA;contact information, as well as an identified contact's history, can&#xA;be accessed across multiple devices. When a contact identifies&#xA;themselves using a particular device or browser, Sitecore stores the&#xA;connection details and, by default, retains this association for the&#xA;subsequent sessions that follow.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So to point this to what you are experiencing, I believe you may have 120 contacts in total, 64 of which are identified - and only the identified ones make sense to pull up in a report.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-01-16T15:35:26.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3826" PostTypeId="1" AcceptedAnswerId="4238" CreationDate="2017-01-16T15:36:29.853" Score="7" ViewCount="2637" Body="&lt;p&gt;My goal is to automatically set the datasource of a rendering when an certain rendering is added to the page in the Experience Editor. Since the datasource item is created when the user adds a rendering, I cannot set a static datasource path on the rendering itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently I have the following partial solution:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(GetRenderingDatasourceArgs args)&#xA;    {&#xA;        if (args == null)&#xA;        {&#xA;            throw new ArgumentNullException(nameof(args));&#xA;        }&#xA;&#xA;       // ... some code to: &#xA;       // - detect whether a datasource item should be created&#xA;       // - create datasource item&#xA;       // ...&#xA;&#xA;       // set CurrentDatasource to the path of the newly added datasource item        &#xA;       args.CurrentDatasource = datasourceItem.Paths.FullPath;&#xA;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This pipeline is patched before: Sitecore.Pipelines.GetRenderingDatasource.CheckDialogState, Sitecore.Kernel&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This results in the datasource item being created correctly and prefilled in the &quot;Select the Associated Content&quot;-dialog. However, I would like to skip this dialog and set the datasource of the rendering on the page immediately to the item I just created. Any suggestions how I can achieve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The dialog:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W5wps.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W5wps.png&quot; alt=&quot;Select the Associated Content dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="628" LastEditorUserId="237" LastEditDate="2017-02-06T16:32:13.047" LastActivityDate="2017-02-06T16:32:13.047" Title="Automatically set datasource when adding a rendering to a page" Tags="|sitecore-client|experience-editor|pipelines|datasource|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3827" PostTypeId="2" ParentId="3826" CreationDate="2017-01-16T15:42:15.310" Score="3" Body="&lt;h1&gt;The &amp;quot;No Code&amp;quot; approach&lt;/h1&gt;&#xA;&lt;p&gt;You can control the dialogue that pops up after adding a rendering. Navigate to your rendering and find the &amp;quot;Open Properties after Add&amp;quot; field. Set it to &amp;quot;No&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/42wx4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/42wx4.png&quot; alt=&quot;Open Properties after Add&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Sitecore should not be popping up any property dialogues with this set.&lt;/p&gt;&#xA;&lt;p&gt;If you want to avoid Sitecore popping the &amp;quot;Select Associated Content&amp;quot; dialogue, the only obvious way to do it is to not tell Sitecore about the expected template type for the rendering. E.g. clearing the &amp;quot;Datasource Template&amp;quot; field.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fpRLC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fpRLC.png&quot; alt=&quot;Datasource Template&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h1&gt;A bit of code&lt;/h1&gt;&#xA;&lt;p&gt;You're on the right track with your code. You're patching in before the &lt;code&gt;CheckDialogState&lt;/code&gt; processor. A deeper look at how it works:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public void Process(GetRenderingDatasourceArgs args)&#xA;{&#xA;  Assert.IsNotNull((object) args, &amp;quot;args&amp;quot;);&#xA;  string str = args.RenderingItem[&amp;quot;data source&amp;quot;];&#xA;  bool flag = !string.IsNullOrEmpty(str);&#xA;  if (string.IsNullOrEmpty(args.CurrentDatasource) &amp;amp;&amp;amp; !this.IsCurrentRenderingContextItem(args))&#xA;    args.CurrentDatasource = str;&#xA;  if ((!flag || args.ShowDialogIfDatasourceSetOnRenderingItem) &amp;amp;&amp;amp; args.DatasourceRoots.Count != 0)&#xA;    return;&#xA;  args.AbortPipeline();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The thing to note here is, that it calls &lt;code&gt;args.AbortPipeline()&lt;/code&gt; if it decides, no dialogue should be shown. I think you need to add that to your code snippet above, after having set the datasource you require on &lt;code&gt;args.CurrentDatasource&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-01-16T16:20:27.300" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3830" PostTypeId="2" ParentId="3813" CreationDate="2017-01-16T16:28:59.800" Score="2" Body="&lt;p&gt;Sitecore publishing log is way more complete and durable, but if you don't have a processor logging this for you -- in a pinch -- I've made use of this SQL query to the EventQueue to get a handle on what's been recently published:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT Created as [Publish Timestamp]&#xA;            , Username as [Initiator]&#xA;            , CAST(SUBSTRING(HASHBYTES('SHA1', UserName),1,3) as bigint)  as [Hashed Initiator]&#xA;            , IIF(CHARINDEX('&quot;TargetDatabaseName&quot;:&quot;web&quot;', InstanceData)&amp;gt;0,'1','0') AS [To web]&#xA;            , IIF(CHARINDEX('&quot;TargetDatabaseName&quot;:&quot;ProdRegion1web&quot;', InstanceData)&amp;gt;0,'1','0') AS [To Region1]&#xA;            , IIF(CHARINDEX('&quot;TargetDatabaseName&quot;:&quot;ProdRegion2web&quot;', InstanceData)&amp;gt;0,'1','0') AS [To Region2]&#xA;            , IIF(CHARINDEX('&quot;TargetDatabaseName&quot;:&quot;ProdRegion3web&quot;', InstanceData)&amp;gt;0,'1','0') AS [To Region3]&#xA;            , (LEN(InstanceData) - LEN(REPLACE(InstanceData, '&quot;LanguageName&quot;', ''))) / LEN('&quot;LanguageName&quot;') as [# of Langs] --this is an ugly proxy for how heavy a publish is&#xA;            , InstanceData AS [Raw Data]&#xA;        FROM EventQueue&#xA;        WHERE EventType LIKE 'Sitecore.Publishing.StartPublishingRemoteEvent%'&#xA;        ORDER BY Created DESC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Depending on your EventQueue data retention rules, this may or may not be useful.&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2017-01-16T16:28:59.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3831" PostTypeId="1" AcceptedAnswerId="3832" CreationDate="2017-01-16T17:26:58.240" Score="3" ViewCount="1467" Body="&lt;p&gt;I updated the Glass Mapper version for our Sitecore 8.2 project from version 4.0.1.8 to version 4.3.4.196.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After upgrading Sitecore is still running, but our websites are throwing exceptions:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Model too deep. Potential lazy loading loop&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I added the &lt;code&gt;Cacheable&lt;/code&gt; property to the Models and I also had the &lt;code&gt;Setting = SitecoreFieldSettings.DontLoadLazily&lt;/code&gt; on the Fields from before the upgrade. But no result, it keeps throwing this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My model structure has not changed, anyone any idea what is going on? Or maybe that &lt;code&gt;ModelDepthCheck&lt;/code&gt; can be disabled?&lt;/p&gt;&#xA;" OwnerUserId="136" LastEditorUserId="73" LastEditDate="2017-01-16T17:45:26.823" LastActivityDate="2017-01-16T17:45:26.823" Title="Glass Mapper Model too deep. Potential lazy loading loop exception after upgrading to version 4.3.4.196" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3832" PostTypeId="2" ParentId="3831" CreationDate="2017-01-16T17:43:38.040" Score="7" Body="&lt;p&gt;Please see the release notes for 4.3 which explain how to remove the depth check:&#xA;&lt;a href=&quot;http://www.glass.lu/Blog/Release4-3&quot; rel=&quot;noreferrer&quot;&gt;http://www.glass.lu/Blog/Release4-3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The depth check is designed to capture models where lazy loading is disabled but a loop might have been caused which would result in a stack overflow. However some models maybe deep enough anyway to cause the depth check to fire. Currently it is set to a depth of 8. &lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-01-16T17:43:38.040" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3833" PostTypeId="1" AcceptedAnswerId="14757" CreationDate="2017-01-16T18:35:55.910" Score="15" ViewCount="12544" Body="&lt;p&gt;On Content Authoring servers, you can go to the control panel and view this page to see the compiled Sitecore config: &lt;code&gt;/sitecore/admin/ShowConfig.aspx&lt;/code&gt;. &#xA;It's also possible to do this via Sitecore Rocks. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I don't know a way of doing this on Content Delivery servers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone suggest, how can we verify config settings on Content Delivery server?&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="2727" LastEditDate="2018-02-04T11:00:29.647" LastActivityDate="2023-10-13T11:16:09.413" Title="Viewing the compiled Sitecore config on Content Delivery?" Tags="|configuration|site-configuration|content-delivery|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3835" PostTypeId="2" ParentId="3833" CreationDate="2017-01-16T18:48:29.777" Score="0" Body="&lt;p&gt;you should be able to see it in the CD nodes as well. If you can't see is because most likely there is a permission restricting it as per the recommendations on the Sitecore scaling guide(making it to throw a 403 forbidden error). If that's your case you can change the permissions on IIS on the folder sitecore/admin and set it to &lt;em&gt;Anonymous&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-01-16T18:48:29.777" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3836" PostTypeId="1" CreationDate="2017-01-16T19:21:57.373" Score="0" ViewCount="661" Body="&lt;p&gt;I have a Sitecore 8.1-3 instance that uses Solr.  I recently had to go and fix some mongo data in the Contact collection that was incorrect.  I wrote a script that fixed the data errors.  I am wondering if the Sitecore analytics index will eventually figure this out and update the index.  Right now when I do a search in the Experience Profile I am still seeing the old data.  I know that you can re-index the analytics database by completely rebuilding the reporting database.  I really don't want to do that unless absolutely necessary.  I am hoping that Sitecore has some automated way that the analytics index eventually fixes itself. Anyone know?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2017-01-16T21:11:49.963" Title="Will the analytics index eventually update?" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="2" ClosedDate="2017-01-17T19:00:36.570" ContentLicense="CC BY-SA 3.0" />
  <row Id="3837" PostTypeId="2" ParentId="3836" CreationDate="2017-01-16T19:37:36.350" Score="0" Body="&lt;p&gt;The Reporting Database, analytics index, and Mongo, all share a special relationship.  they require all three repositories of data to be insync.  for the most part, analytics database is kept up to date during processing tasks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, once contact data and interaction data has been processed, in most cases, processing won't reprocess that information. a good example of this is if data is removed from xDB (mongo). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;in the event that any one of these three repositories get out of sync with each other, the best way to &quot;fix&quot; it, is to rebuild the reporting database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;Full walk through of rebuilding the reporting database can be found here.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Otherwise, there is no concrete way to update the analytics index or reporting databse. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Expanding Further&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;After talking with Corey on Slack, his exact issue is that he updated facet information, like names, in MongoDB directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, without rebuilding the reporting database, you can write code that utilizes &lt;code&gt;ContactRepository&lt;/code&gt; and &lt;code&gt;ContentSearch&lt;/code&gt; to systematically update the Contact record, performing a &lt;code&gt;SaveAndFlushToXdb()&lt;/code&gt; method. This will execute the appropriate processing tasks to update both the analytics index as well as reporting databse.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-01-16T21:11:49.963" LastActivityDate="2017-01-16T21:11:49.963" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3839" PostTypeId="1" AcceptedAnswerId="3842" CreationDate="2017-01-16T21:57:10.050" Score="0" ViewCount="1609" Body="&lt;p&gt;Another issue with Habitat install... getting this error when trying to log into Sitecore (after entering credentials).  No idea what it's about, any clues?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    contextDatabase&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.InvalidOperationException: contextDatabase&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[InvalidOperationException: contextDatabase]&#xA;   Sitecore.Forms.Core.Dependencies.DefaultImplItemRepository..ctor(Database contextDatabase, Database masterDatabase) +103&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +407&#xA;   Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters) +119&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +119&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +165&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +619&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +170&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +118&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +110&#xA;   Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert) +163&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +105&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +165&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +619&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +170&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +118&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +110&#xA;   Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert) +163&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +105&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +165&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert) +68&#xA;   Sitecore.Events.EventSubscribers.Add(String eventName, XmlNode configNode) +545&#xA;   Sitecore.Events.Event.GetConfigSubscribers() +564&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +373&#xA;   Sitecore.Data.DataProviders.Sql.SqlDataProvider.SetProperty(String parameterName, String value, CallContext context) +274&#xA;   Sitecore.Data.DataProviders.DataProvider.SetProperty(String name, String value, CallContext context, DataProviderCollection providers) +124&#xA;   Sitecore.Data.DataManager.SetProperty(String name, String value) +116&#xA;   Sitecore.Web.Authentication.DefaultTicketManager.CreateTicket(String userName, String startUrl, Boolean persist) +441&#xA;   Sitecore.Pipelines.LoggedIn.Ticket.Process(LoggedInArgs args) +57&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;   Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;   Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline) +313&#xA;   Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic) +176&#xA;   Sitecore.Pipelines.Pipeline.Start(String pipelineName, PipelineArgs args, Boolean atomic) +89&#xA;   Sitecore.sitecore.login.Default.LoggedIn() +135&#xA;   Sitecore.sitecore.login.Default.LoginClicked(Object sender, EventArgs e) +76&#xA;   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +11802193&#xA;   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +150&#xA;   System.Web.UI.&amp;lt;ProcessRequestMainAsync&amp;gt;d__523.MoveNext() +7568&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="111" LastEditorUserId="247" LastEditDate="2017-04-16T16:48:54.230" LastActivityDate="2017-04-16T16:48:54.230" Title="Habitat Install Issue - System.InvalidOperationException: contextDatabase" Tags="|habitat|" AnswerCount="1" CommentCount="1" ClosedDate="2017-01-17T14:38:12.103" ContentLicense="CC BY-SA 3.0" />
  <row Id="3840" PostTypeId="1" AcceptedAnswerId="3867" CreationDate="2017-01-16T22:04:59.163" Score="1" ViewCount="1111" Body="&lt;p&gt;I want to schedule content sync from Prod to QA and DEV environment so while doing search I found following post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/2438&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/2438&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I do have further queries on this. Please suggest.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Do we need license for target server also ( QA &amp;amp; DEV ) also OR only once license is required from where( Prod ) we are actually sending content.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;As we know we can run script( Razl.exe /script:&quot;c:\Site Migration\Razl.xml&quot; ) manually from cmd command but is there any way we can schedule weekly basis.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="73" LastEditDate="2017-01-16T22:16:10.807" LastActivityDate="2017-01-17T19:30:04.923" Title="Sitecore item auto sync from Prod to DEV &amp; QA environment" Tags="|sitecore-client|" AnswerCount="2" CommentCount="3" ClosedDate="2017-01-17T19:40:20.357" ContentLicense="CC BY-SA 3.0" />
  <row Id="3841" PostTypeId="2" ParentId="3808" CreationDate="2017-01-17T03:19:54.570" Score="0" Body="&lt;p&gt;So We've resolved this issue... pretty sure it was caused by a duplicate z.Habitat.DevSettings.config file - this happened as I duplicated the Sitecore.Habitat.Website project, and included it's config file... I'm pretty sure that's what caused this issue.  Definitely something to watch out for in future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the tips everyone.&lt;/p&gt;&#xA;" OwnerUserId="111" LastActivityDate="2017-01-17T03:19:54.570" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3842" PostTypeId="2" ParentId="3839" CreationDate="2017-01-17T03:25:50.813" Score="2" Body="&lt;p&gt;The cause of this was using the incorrect version of Sitecore with Habitat. I used Sitecore 8.2 Update 2 instead of Update 1.  Reverting back to Update 1` resolved the issue.. &lt;/p&gt;&#xA;" OwnerUserId="111" LastActivityDate="2017-01-17T03:25:50.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3843" PostTypeId="1" AcceptedAnswerId="3848" CreationDate="2017-01-17T03:54:05.973" Score="13" ViewCount="1008" Body="&lt;p&gt;I'm curious when the Sitecore MVPs will be announced and for those of you that are currently MVP's, how were you notified in the past? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore reach out to you directly?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="982" LastEditDate="2017-01-17T11:48:45.277" LastActivityDate="2018-11-07T09:59:03.680" Title="When are the Sitecore MVPs announced? How are MVPs typically notified?" Tags="|community|mvp|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3844" PostTypeId="1" AcceptedAnswerId="4032" CreationDate="2017-01-17T04:02:36.957" Score="1" ViewCount="1200" Body="&lt;p&gt;I am trying to convert the base Sitecore indexes from Lucene to Solr.  I am using Sitecore 8.1 Update 3.  I have 2 custom indexes that are still going to use Lucene for the time being so I still need the Lucene Default Index configuration enabled.  Sitecore support confirmed this is allowed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have configured Solr, generated the schemas for these indexes, have all the cores setup in the admin for Solr.  I am able to Rebuild all of the indexes using the Index Manager. My issue is that when I try to go in the content editor for example I get the following exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Xml.XmlException&#xA;Message: Data at the root level is invalid. Line 1, position 1.&#xA;Source: System.Xml&#xA;   at System.Xml.XmlTextReaderImpl.Throw(Exception e)&#xA;   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()&#xA;   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()&#xA;   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)&#xA;   at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)&#xA;   at SolrNet.Impl.SolrQueryExecuter`1.Execute(ISolrQuery q, QueryOptions options)&#xA;   at Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1.Execute(SolrCompositeQuery compositeQuery, Type resultType)&#xA;   at Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1.FindElements[TElement](SolrCompositeQuery compositeQuery)&#xA;   at Sitecore.ContentSearch.Linq.Parsing.GenericQueryable`2.GetEnumerator()&#xA;   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xA;   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)&#xA;   at Sitecore.ContentTesting.ContentSearch.TestingSearch.GetAllTests()&#xA;   at Sitecore.ContentTesting.Pipelines.GetContentEditorWarnings.GetContentTestingWarnings.AddSuspendedTestWarning(GetContentEditorWarningsArgs args)&#xA;   at Sitecore.ContentTesting.Pipelines.GetContentEditorWarnings.GetContentTestingWarnings.Process(GetContentEditorWarningsArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Shell.Applications.ContentManager.Editor.GetWarnings(Boolean hasSections)&#xA;   at Sitecore.Shell.Applications.ContentManager.Editor.Render(RenderContentEditorArgs args, Control parent)&#xA;   at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.RenderEditor(Item item, Item root, Control parent, Boolean showEditor)&#xA;   at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateEditor(Item folder, Item root, Boolean showEditor)&#xA;   at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update()&#xA;   at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am trying to pull this apart in the code, but am not having much luck at the moment.  It seems strange that I can rebuild the index, but they various pieces in the Shell can't seem to use it.&lt;/p&gt;&#xA;" OwnerUserId="1400" LastEditorUserId="16" LastEditDate="2017-01-17T07:16:44.450" LastActivityDate="2017-01-30T21:04:30.067" Title="Issue with Sitecore Solr indexes Sitecore 8.1 Update 3" Tags="|solr|content-search|lucene|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3845" PostTypeId="2" ParentId="3843" CreationDate="2017-01-17T05:28:05.643" Score="3" Body="&lt;p&gt;On the last year MVPs were announced at beginning of February. Last years was an official press release on Sitecore website but all MVP received an email few days before official press release.  &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-01-17T05:28:05.643" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3846" PostTypeId="1" CreationDate="2017-01-17T11:16:25.733" Score="0" ViewCount="3111" Body="&lt;p&gt;While upgrading sitecore 8.0 to 8.1. I have follow all the steps of upgrade guide. then i got the error  &quot;Required license is missing: Runtime&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;License file is the same as i have used in sitecore 8.0 and at the same place(Data folder).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me on this.&lt;/p&gt;&#xA;" OwnerUserId="1160" LastEditorUserId="2727" LastEditDate="2018-03-03T15:06:28.807" LastActivityDate="2018-03-03T15:06:28.807" Title="Sitecore Upgrade from 8.0 to 8.1 issue: Required license is missing: Runtime" Tags="|upgrade|site-configuration|licensing|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3847" PostTypeId="2" ParentId="3846" CreationDate="2017-01-17T11:52:02.117" Score="4" Body="&lt;p&gt;The path to your license file is set incorrectly. The default value of the license file setting in config is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;LicenseFile&quot; value=&quot;$(dataFolder)/license.xml&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have not change this, then most likely the issue is the &lt;code&gt;dataFolder&lt;/code&gt; variable is not set correctly. Use a patch config set to update it to match the folder path your website is deployed to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;dataFolder&quot;&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;C:\Inetpub\wwwroot\my-project-location\Data&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/sc.variable&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The reason for the failure in your upgrade, at a guess, is that the &lt;code&gt;dataFolder&lt;/code&gt; variable was updated directly in the &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; section of &lt;strong&gt;web.config&lt;/strong&gt; before, and when you upgrade to Sitecore 8.1 this has been moved to separate &lt;strong&gt;/App_Config/Sitecore.config&lt;/strong&gt; file and therefore you lost your old setting. It's always best to use config patches to override Sitecore settings.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-01-17T11:52:02.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3848" PostTypeId="2" ParentId="3843" CreationDate="2017-01-17T11:59:52.407" Score="29" Body="&lt;p&gt;If you look at &lt;a href=&quot;https://mvp.sitecore.com/become-an-mvp&quot; rel=&quot;noreferrer&quot;&gt;the official MVP website&lt;/a&gt; you can see the question about the timeline there:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;What is the timeline of the selection process?&lt;/strong&gt; &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The nomination is open during November for the exact dates please&#xA;  follow &lt;a href=&quot;https://twitter.com/SitecoreMVP&quot; rel=&quot;noreferrer&quot;&gt;https://twitter.com/SitecoreMVP&lt;/a&gt;. We will review all the&#xA;  nominations and recommendations during December and we will finalize&#xA;  the award winners early January. The announcement of the Sitecore MVP&#xA;  Awards will be by the end of January.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The press release is scheduled for the 31st January and every nominee will get an email couple of days before the announcement even if not awarded.&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2018-11-07T09:59:03.680" LastActivityDate="2018-11-07T09:59:03.680" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="3849" PostTypeId="2" ParentId="3101" CreationDate="2017-01-17T12:03:40.737" Score="7" Body="&lt;p&gt;I already had the same issue and following how you I solved it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to the following file path:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;..\Website\Views\Form\EditorTemplates\FormModel.cshtml&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update the following lines:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Model.SuccessSubmit)&#xA;{&#xA;    @Html.Raw(!string.IsNullOrEmpty(Model.SuccessMessage) ? Model.SuccessMessage : Translate.Text(&quot;Default success message.&quot;))&#xA;    //@Html.Encode(!string.IsNullOrEmpty(Model.SuccessMessage) ? Model.SuccessMessage : Translate.Text(&quot;Default success message.&quot;))&#xA;    return;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="200" LastActivityDate="2017-01-17T12:03:40.737" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3851" PostTypeId="1" AcceptedAnswerId="3852" CreationDate="2017-01-17T12:26:24.597" Score="6" ViewCount="2741" Body="&lt;p&gt;I found a similar question, but could not find out what I need from &lt;a href=&quot;https://stackoverflow.com/questions/16361506/sitecore-handle-500-errors-separately-per-site-in-multisite-setup&quot;&gt;there&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to achieve a language-specific, content manageable, friendly error message page for 500 status code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I have done so far is: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added a new processor in &lt;code&gt;httpRequestEnd&lt;/code&gt; pipeline after &lt;code&gt;Sitecore.Pipelines.HttpRequest.EndDiagnostics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Finding if there is any internal server error.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If there is, getting error Item from sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Handle500Erros : HttpRequestProcessor&#xA;{&#xA;public override void Process(HttpRequestArgs args)&#xA;{&#xA;&#xA;    if (args?.Context?.Response.StatusCode == (int)HttpStatusCode.InternalServerError)&#xA;    {&#xA;        var errorPageItem =&#xA;        Sitecore.Context.Database.GetItem(string.Concat(Sitecore.Context.Site.StartPath, Settings.ErrorPage));&#xA;        if (errorPageItem!= null &amp;amp;&amp;amp; Sitecore.Context.Item.ID!= errorPageItem.ID)&#xA;        {&#xA;            Sitecore.Context.Item = errorPageItem;&#xA;            //var htmlForErrorPageForSpecificlanguage = GetHtmlforErrorItem&#xA;            // set response html to htmlForErrorPageForSpecificlanguage&#xA;        }&#xA;    }&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Let's assume my error Item name in sitecore is 500Error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now my question is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How to get Html for the error sitecore Item?&lt;/li&gt;&#xA;&lt;li&gt;How to write that to response, seems like &lt;code&gt;args.Context.Response&lt;/code&gt; is readonly?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So if some error comes up at 500Error item I am just skipping this step, so there won't be any infinite loops happening.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I over complicating? is there a better way to do this?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="423" LastEditDate="2017-06-22T14:16:13.500" LastActivityDate="2020-02-05T03:58:50.073" Title="Handling 500 errors in sitecore multi site multi language environment" Tags="|configuration|" AnswerCount="2" CommentCount="4" ClosedDate="2020-02-05T09:28:20.383" ContentLicense="CC BY-SA 3.0" />
  <row Id="3852" PostTypeId="2" ParentId="3851" CreationDate="2017-01-17T12:31:26.273" Score="10" Body="&lt;p&gt;You want to use a static html page for this as otherwise you could end up in an endless loop.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do this in your web.config like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;customErrors mode=&quot;RemoteOnly&quot; xdt:Transform=&quot;Replace&quot;&amp;gt;&#xA;   &amp;lt;error redirect=&quot;/error.html&quot; statusCode=&quot;500&quot; /&amp;gt;&#xA;&amp;lt;/customErrors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then add a rewrite rule for each site to actually load a different static page for each site from a folder in your solution like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;rule name=&quot;Server Error Rule&quot; stopProcessing=&quot;true&quot; enabled=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;.*&quot; /&amp;gt;&#xA;      &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{URL}&quot; pattern=&quot;^/error.html$&quot; /&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;^(admin|www).(mysite1|mysite2|mysite3)?.*.(com|co.uk)&quot; /&amp;gt;&#xA;      &amp;lt;/conditions&amp;gt;&#xA;      &amp;lt;action type=&quot;Rewrite&quot; url=&quot;/errors/{C:2}.html&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will not be able to show info regarding the Sitecore item or other things that caused issues using this approach but I think it is risky to do so in case of Database connectivity issues and so forth. You would instead look at your Sitecore log files to find out what caused the problem.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-01-17T12:36:32.820" LastActivityDate="2017-01-17T12:36:32.820" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3853" PostTypeId="1" AcceptedAnswerId="3854" CreationDate="2017-01-17T14:28:09.377" Score="2" ViewCount="1432" Body="&lt;p&gt;I have an Sitecore (v8.1) Event and method that processing this event but &lt;code&gt;Sitecore.Context&lt;/code&gt; is not available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am try to use call SiteContextSwitcher but it does't help.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SiteContext siteContext = SiteContext.GetSite(site);&#xA;                using (new SiteContextSwitcher(siteContext))&#xA;                {&#xA;                    Sitecore.Context.SetActiveSite(site);&#xA;                    ....&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is the best option to get context in event ?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="1324" LastEditDate="2017-01-17T14:31:48.390" LastActivityDate="2017-01-17T15:02:07.630" Title="Sitecore Context at Event Method" Tags="|events|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3854" PostTypeId="2" ParentId="3853" CreationDate="2017-01-17T14:33:08.397" Score="3" Body="&lt;p&gt;You can do it in the next way: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;First take the current item when the event was triggered &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item item = Event.ExtractParameter(args, 0) as Item;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Get the current site of the item : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Web.SiteInfo siteInfo = Sitecore.Configuration.Factory.GetSiteInfoList()&#xA;.FirstOrDefault(x =&amp;gt; item.Paths.FullPath.StartsWith(x.RootPath));&#xA;&#xA;var siteContext=Sitecore.Configuration.Factory.GetSite(siteInfo.Name)&#xA;using (new SiteContextSwitcher(siteContext))&#xA;        {&#xA;           //your logic &#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-01-17T14:44:44.230" LastActivityDate="2017-01-17T14:44:44.230" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3855" PostTypeId="1" AcceptedAnswerId="3858" CreationDate="2017-01-17T14:38:39.923" Score="2" ViewCount="4438" Body="&lt;p&gt;Using Sitecore 8.2 and the content tree looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore&#xA;|_Content&#xA;  |_Home&#xA;    |_Products&#xA;      |_Product 1&#xA;      |_Product 2&#xA;    |_Services&#xA;      |_Service 1&#xA;      |_Service 2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The items &lt;code&gt;Products&lt;/code&gt; &amp;amp; &lt;code&gt;Services&lt;/code&gt; are of the same template which has a treelist field. The items that can be selected from the treelist should be the children of that Menu item.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For eg: For &lt;code&gt;Products&lt;/code&gt;, author should see only Product 1, 2 in its tree list.  Similarly, for &lt;code&gt;Services&lt;/code&gt;, he should see only Service 1, 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I write a query for the children path, in the template itself to achieve this.  For now I'm doing these for each item at item level.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;fast:/sitecore/content/home/products/*  &#xA;fast:/sitecore/content/home/services/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="423" LastEditDate="2017-09-15T13:51:06.093" LastActivityDate="2017-09-15T13:51:06.093" Title="Get Current Item children by fast query" Tags="|sitecore-query|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3856" PostTypeId="2" ParentId="3853" CreationDate="2017-01-17T14:40:44.937" Score="2" Body="&lt;p&gt;similar to @sitecoreClimbers answer. I have written an extension method for item to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get Item from Event arguments:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var item = (Item)Event.ExtractParameter(args, 0);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Extension method of item to get siteInfo:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static SiteInfo GetSiteInfo(this Item item)&#xA;    {&#xA;        var siteInfoList = Factory.GetSiteInfoList();&#xA;&#xA;        SiteInfo currentSiteinfo = null;&#xA;        var matchLength = 0;&#xA;        foreach (var siteInfo in siteInfoList)&#xA;        {&#xA;            if (!item.Paths.FullPath.StartsWith(siteInfo.RootPath, StringComparison.OrdinalIgnoreCase) || siteInfo.RootPath.Length &amp;lt;= matchLength)&#xA;                continue;&#xA;            matchLength = siteInfo.RootPath.Length;&#xA;            currentSiteinfo = siteInfo;&#xA;        }&#xA;        return currentSiteinfo;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Setting site context:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var context = Sitecore.Configuration.Factory.GetSite(item.GetSiteInfo().Name);&#xA;    context.SetActiveSite(item.GetSiteInfo().Name);&#xA;    using (new SiteContextSwitcher(context.Site))&#xA;    {&#xA;        //Logic&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2017-01-17T15:02:07.630" LastActivityDate="2017-01-17T15:02:07.630" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3858" PostTypeId="2" ParentId="3855" CreationDate="2017-01-17T15:13:24.360" Score="9" Body="&lt;p&gt;In theory the correct syntax is &lt;code&gt;query:.&lt;/code&gt; (&lt;code&gt;.&lt;/code&gt; being self) but &lt;a href=&quot;https://community.sitecore.net/developers/f/8/p/271/1101#1101&quot; rel=&quot;noreferrer&quot;&gt;there is a bug&lt;/a&gt; which means it does not work as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend not using &lt;code&gt;fast:&lt;/code&gt; for performance reasons, instead set the Source of your Treelist field to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:self::&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will select the current item as the root of the Treelist field.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-01-17T15:13:24.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3859" PostTypeId="2" ParentId="3840" CreationDate="2017-01-17T15:36:53.690" Score="1" Body="&lt;p&gt;In light of what jammykam is saying above another option is Sitecore Sidekick's content migrator:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jeffdarchuk.com/2016/10/24/sitecore-sidekick-content-migrator/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffdarchuk.com/2016/10/24/sitecore-sidekick-content-migrator/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a free open source angular module that is installed in Sitecore. We're using it and it works really well to sync content down from Prod to Dev and Staging etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ooGLI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ooGLI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the moment I don't think it supports a scheduled auto-migration but I've messaged Jeff Darchuk to ask if this is possible in future versions as it's something I'd be really interested in also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either way it would be good to re-word your question so it's not multiple questions in one.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-01-17T15:36:53.690" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3860" PostTypeId="1" CreationDate="2017-01-17T15:40:04.160" Score="1" ViewCount="1169" Body="&lt;p&gt;I'm using the Sitecore URL Rewrite Module found here: &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Url_Rewrite.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/Url_Rewrite.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module allows you to create redirect items. The redirect items have the fields Path and Target. The Path field (Single-Line Text) specifies the path to redirect and the Target field (General Link) is the location to redirect to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've used the Target field to insert an internal link to the Home page with the query string &lt;code&gt;sc_lang=test&lt;/code&gt;, but the query string is never appended to the redirect URL. Does anyone know, if this is an existing bug with the package? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried writing out the query string as &lt;code&gt;sc_lang=%3Dtest&lt;/code&gt; but that did not work as well. I believe the query string is never being read from the link field in the package code, but I was curious, if anyone else had experienced this issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4yCty.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4yCty.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1080" LastEditorUserId="2727" LastEditDate="2018-02-04T11:00:44.733" LastActivityDate="2018-02-04T11:00:44.733" Title="Sitecore URL Rewrite Module not working with query string" Tags="|url-rewrite|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="3862" PostTypeId="1" AcceptedAnswerId="10235" CreationDate="2017-01-17T17:27:49.757" Score="2" ViewCount="713" Body="&lt;p&gt;I'm looking to increase the security of my SOLR environment and wonder how Sitecore will handle with it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I saw a possibility to use SSL and I guess it would be simply replace HTTP to HTTPS where I point SOLR server on Sitecore, but if I use another way to secure like Basic Authentication, how Sitecore will connect to SOLR? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I'm looking for advises in how to harden Solr if possible.&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="73" LastEditDate="2017-01-17T17:36:15.900" LastActivityDate="2018-02-16T22:40:08.640" Title="Increasing SOLR security (hardening), and how Sitecore will handle with it?" Tags="|solr|security|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3863" PostTypeId="1" AcceptedAnswerId="3864" CreationDate="2017-01-17T17:29:59.140" Score="2" ViewCount="462" Body="&lt;p&gt;Currently, I have 3 servers running MongoDB 3.0 as part of a Replica Set, and no security is applied. To connect I simple use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;mongodb://m01,m02,m03/analytics?replicaSet=rs0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is it possible create users and roles that will be able to connect, read &amp;amp; write in MongoDB to increase security?&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="393" LastEditDate="2017-01-17T17:53:18.507" LastActivityDate="2018-03-30T20:28:37.333" Title="How to secure MongoDB replica set environment?" Tags="|security|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3864" PostTypeId="2" ParentId="3863" CreationDate="2017-01-17T18:02:42.180" Score="3" Body="&lt;p&gt;You'll want to follow the &lt;a href=&quot;https://docs.mongodb.com/manual/administration/security-checklist/&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDB security best practices&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Enable Access Control and Enforce Authentication - You can use the default MongoDB authentication mechanism or an existing external framework. Authentication requires that all clients and servers provide valid credentials before they can connect to the system.&lt;/li&gt;&#xA;&lt;li&gt;Configure Role-Based Access Control - Create a user administrator first, then create additional users. Create a unique MongoDB user for each person and application that accesses the system. Create roles that define the exact access a set of users needs. Follow a principle of least privilege. Then create users and assign them only the roles they need to perform their operations.&lt;/li&gt;&#xA;&lt;li&gt;Encrypt Communication - Configure MongoDB to use TLS/SSL for all incoming and outgoing connections.&lt;/li&gt;&#xA;&lt;li&gt;Limit Network Exposure - Ensure that MongoDB runs in a trusted network environment and limit the interfaces on which MongoDB instances listen for incoming connections. Allow only trusted clients to access the network interfaces and ports on which MongoDB instances are available.&lt;/li&gt;&#xA;&lt;li&gt;Audit System Activity - Track access and changes to database configurations and data. Using Enterprise edition includes a system auditing facility that can record system events&lt;/li&gt;&#xA;&lt;li&gt;Encrypt and Protect Data - Configure the encrypted storage engine, or use application-level or 3rd party storage encryption.&lt;/li&gt;&#xA;&lt;li&gt;Run MongoDB with a Dedicated User - Run MongoDB processes with a dedicated operating system user account. Ensure that the account has permissions to access data but no unnecessary permissions.&lt;/li&gt;&#xA;&lt;li&gt;Run MongoDB with Secure Configuration Options - Disable server-side scripting if you are not using it. Do not enable the following, all of which enable the web server interface: &lt;code&gt;net.http.enabled&lt;/code&gt;, &lt;code&gt;net.http.JSONPEnabled&lt;/code&gt;, and &lt;code&gt;net.http.RESTInterfaceEnabled&lt;/code&gt;. Keep input validation enabled.&lt;/li&gt;&#xA;&lt;li&gt;Don’t Ignore Security Best Practices - Review the &lt;a href=&quot;https://docs.mongodb.com/manual/security/&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDB Security documentation&lt;/a&gt; to make sure you are following the best practices.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="731" LastEditorUserId="3467" LastEditDate="2018-03-30T20:28:37.333" LastActivityDate="2018-03-30T20:28:37.333" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3865" PostTypeId="2" ParentId="3846" CreationDate="2017-01-17T18:34:28.777" Score="0" Body="&lt;p&gt;@jammykam 's answer contains all the information about where you can find the dataFolder setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition to that, you can use &lt;em&gt;Sitecore ConfigBuilder&lt;/em&gt; tool to build the showconfig output or web.config output.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/modules/sitecore_configbuilder.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/modules/sitecore_configbuilder.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Main advantage of this tool is,&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;your website does not have to be running to generate the config files&lt;/li&gt;&#xA;&lt;li&gt;can be use to generate full web.config output (not only showconfig output -- i.e. not only /configurations/sitecore section)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-01-17T18:34:28.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3866" PostTypeId="1" CreationDate="2017-01-17T18:59:04.037" Score="2" ViewCount="635" Body="&lt;p&gt;I have a Sitecore 8.1-3 instance using Solr 4.10.  I just finished rebuilding the reporting database following the Sitecore instructions.  I am noticing that there are contacts that I know are in mongo that are not showing up in the Experience Profile search and also not anywhere in the Sitecore analytics index in Solr.  From doing a little investigating I am noticing that it seems like the contacts that do not show up in the index also have no interactions in the Interactions collection in mongo.  Is there something during the rebuilding of the reporting database that requires that each contact has at least one interaction in the Interactions collection in mongo or they won't be added to the analytics index?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2017-01-17T18:59:04.037" Title="Why are contacts not showing up in analytics index after rebuilding reporting database?" Tags="|xdb|experience-analytics|reporting|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3867" PostTypeId="2" ParentId="3840" CreationDate="2017-01-17T19:30:04.923" Score="3" Body="&lt;p&gt;RAZL licensing is best handled through Hedgehog's sales team (sales@hhogdev.com).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe that the licensing depends on where the instance of Razl is installed. i.e You could run it from your own machine, and have connections to PROD, QA and DEV, but make the execution of the script run from your own machine running your own license. However this means all transfers are across the wire....whereas if it were running on one of the servers, you might find some performance boost.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for running locally, you also still maintain usage of Razl's UI for:-&#xA; - comparison&#xA; - filtering&#xA; - link-navigating&#xA; - granular copy controls&#xA; - and script-generation capabilities&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On top of that, for the case you mention, consistent content migration is best done with Razl's History Syncing (&lt;a href=&quot;https://www.youtube.com/watch?v=TRAWCvtsavg&amp;amp;list=PLb9QmtmxCbhm5RnL42g1Trmr9-z_ZP40J&amp;amp;index=11&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=TRAWCvtsavg&amp;amp;list=PLb9QmtmxCbhm5RnL42g1Trmr9-z_ZP40J&amp;amp;index=11&lt;/a&gt;) which is also available in your scripts (and probably what you should be using for a scheduled weekly-sync).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To setup a scheduled weekly sync, create a Windows task that executes weekly, running &lt;code&gt;Razl.exe /script:&quot;c:\Site Migration\Razl.xml&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2017-01-17T19:30:04.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3868" PostTypeId="1" AcceptedAnswerId="3870" CreationDate="2017-01-17T19:36:52.763" Score="4" ViewCount="1643" Body="&lt;p&gt;Every BasePage template I have has a general link field that needs its value to be set to itself by default, with the ability to change it. Is there anyway to do this on the standard values of the item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: This means full use of standard values, updating as well as creation of the item.&lt;/p&gt;&#xA;" OwnerUserId="1177" LastEditorUserId="1177" LastEditDate="2017-01-17T20:25:23.363" LastActivityDate="2017-01-19T08:50:00.773" Title="Sitecore General Link linking to itself (internal item) by default" Tags="|best-practices|templates|links|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3869" PostTypeId="2" ParentId="3868" CreationDate="2017-01-17T20:05:21.800" Score="6" Body="&lt;p&gt;Try putting the below in the standard value's raw values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link text=&quot;link text&quot; linktype=&quot;internal&quot; class=&quot;&quot; title=&quot;&quot; &#xA;                target=&quot;&quot; querystring=&quot;&quot; id=&quot;$id&quot; anchor=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-01-17T20:05:21.800" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3870" PostTypeId="2" ParentId="3868" CreationDate="2017-01-17T20:13:40.247" Score="2" Body="&lt;p&gt;&lt;strong&gt;1. Implement a custom token&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can try to implement a custom token for that if you want to go on the safe way. &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/add-custom-standard-values-tokens-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; is a great post how you can implement that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Implement a custom field&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Possible solution could to use a custom field which is inherited from the default General Link field. Which is returning back the current item if it is empty. &lt;a href=&quot;https://www.sitecore.net/company/blog/474/creating-a-custom-sitecore-field-4246&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; you can find how to implement a custom field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can implement your own class, the following implementation is just a prototype but I think you need something similar.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using Sitecore.Shell.Applications.ContentEditor;&#xA;&#xA;&#xA;namespace YourProject&#xA;{&#xA;    public class LinkWithDefault : Link&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// This is copied from Sitecore.Shell.Applications.ContentEditor.Link&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        private XmlValue XmlValue&#xA;        {&#xA;            get&#xA;            {&#xA;                return new XmlValue(GetViewStateString(&quot;XmlValue&quot;), &quot;link&quot;);&#xA;            }&#xA;            set&#xA;            {&#xA;                Assert.ArgumentNotNull(value, &quot;value&quot;);&#xA;                this.SetViewStateString(&quot;XmlValue&quot;, value.ToString());&#xA;            }&#xA;        }&#xA;&#xA;        public override string GetValue()&#xA;        {&#xA;            var xmlValue = this.XmlValue;&#xA;            if (!string.IsNullOrWhiteSpace(xmlValue.ToString()))&#xA;            {&#xA;                return xmlValue.ToString();&#xA;            }&#xA;&#xA;            xmlValue.SetAttribute(&quot;id&quot;, Sitecore.Context.Item.ID.ToString());&#xA;            return xmlValue.ToString();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To include this as a new custom field you can follow the instructions here: &lt;a href=&quot;https://www.sitecore.net/company/blog/474/creating-a-custom-sitecore-field-4246&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.net/company/blog/474/creating-a-custom-sitecore-field-4246&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-01-19T08:50:00.773" LastActivityDate="2017-01-19T08:50:00.773" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3871" PostTypeId="1" AcceptedAnswerId="3872" CreationDate="2017-01-17T20:25:14.620" Score="0" ViewCount="192" Body="&lt;p&gt;I've added some computed fields so I did the necessary re-indexing. Along the way, though, I noticed that a couple of the &quot;default&quot; Coveo fields (that is, field definitions in Coveo.SearchProvider.config that ship with Coveo for Sitecore) are no longer filling with data for my content, specifically &quot;alltemplates&quot; and &quot;site&quot;. This is with CES 7 on-premesis, June release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the moment, I'm using Coveo_master_index. If I go to Index in the admin portal, choose my index, click Fields on the left, click Manage Field Sets, then choose Field Sets for Coveo_master_index, I can still see the fields listed. But if I then go to the Content section, click Index Browser, and search for a piece of content by name, when I look at the field list neither &quot;alltemplates&quot; nor &quot;site&quot; are present anymore. I first noticed it because my queries use &quot;alltemplates&quot; to ensure the result set is using a specific base template, and during the process none of them returned data; as soon as I removed the &quot;alltemplates&quot; part of the query, the data showed up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't modified the Coveo.SearchProvider.config file, and my new computed fields are in a separate patch config that fires after all the other Coveo ones. To add to the oddness of this, if I comment out my computed field definitions from my patch config and re-index, &quot;alltemplates&quot; and &quot;site&quot; come back into play. Is there some maximum number of fields that can be in play at once or something?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-01-17T20:39:23.033" Title="After reindex, some base Coveo-defined fields missing from content" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3872" PostTypeId="2" ParentId="3871" CreationDate="2017-01-17T20:39:23.033" Score="0" Body="&lt;p&gt;This looks like an issue caused by to the way Sitecore config files are merged with a &lt;code&gt;ref&lt;/code&gt; attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the &lt;code&gt;&amp;lt;configuration&amp;gt;&lt;/code&gt; node has a &lt;code&gt;ref&lt;/code&gt; to &lt;code&gt;coveo/defaultIndexConfiguration&lt;/code&gt;, you will lose the &lt;code&gt;fieldMap&lt;/code&gt; node coming from &lt;code&gt;defaultIndexConfiguration&lt;/code&gt; if you redefine it in a specific index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should either try patching the &lt;code&gt;defaultIndexConfiguration&lt;/code&gt; fieldMap instead, or copy your whole fieldMap into each index in your patch file.&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2017-01-17T20:39:23.033" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3873" PostTypeId="1" CreationDate="2017-01-17T21:17:25.317" Score="3" ViewCount="2820" Body="&lt;p&gt;this is the error that I get in log files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ERROR Could not resolve type name: Sitecore.Pipelines.Loader.ShowHistory, Sitecore.Kernel (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I get in the browser:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Could not resolve type name: Sitecore.Pipelines.Loader.ShowHistory,&#xA;  Sitecore.Kernel (method:&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode&#xA;  configNode, String[] parameters, Boolean assert)).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of&#xA;  the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.Exception: Could not resolve type name:&#xA;  Sitecore.Pipelines.Loader.ShowHistory, Sitecore.Kernel (method:&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode&#xA;  configNode, String[] parameters, Boolean assert)).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[Exception: Could not resolve type name:&#xA;  Sitecore.Pipelines.Loader.ShowHistory, Sitecore.Kernel (method:&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode&#xA;  configNode, String[] parameters, Boolean assert)).]&lt;br&gt;&#xA;  Sitecore.Diagnostics.Error.Raise(String error, String method) +108&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateType(XmlNode configNode,&#xA;  String[] parameters, Boolean assert) +236&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode&#xA;  configNode, String[] parameters, Boolean assert) +46&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper) +131&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  Boolean assert) +42&lt;br&gt;&#xA;  Sitecore.Configuration.Factory.CreateObject(XmlNode configNode,&#xA;  Boolean assert) +53&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode&#xA;  processorNode) +66&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode&#xA;  processorNode) +97&lt;br&gt;&#xA;  Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters) +129&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +352&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;  +162    Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +18&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args) +18    Sitecore.Pipelines.CorePipeline.Run(String&#xA;  pipelineName, PipelineArgs args) +49&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Application_Start() +156&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +472&lt;br&gt;&#xA;  System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers) +534&lt;br&gt;&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&lt;br&gt;&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context) +352&lt;br&gt;&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext) +296&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Could not resolve type name:&#xA;  Sitecore.Pipelines.Loader.ShowHistory, Sitecore.Kernel (method:&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode&#xA;  configNode, String[] parameters, Boolean assert)).]&lt;br&gt;&#xA;  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9947444 &#xA;  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)&#xA;  +101    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest&#xA;  wr, HttpContext context) +261&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Version Information: Microsoft .NET Framework Version:4.0.30319;&#xA;  ASP.NET Version:4.6.1055.0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="2727" LastEditDate="2018-03-03T14:41:16.460" LastActivityDate="2018-03-03T14:41:16.460" Title="Upgrading from 8.1 to 8.2 having an error" Tags="|upgrade|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3874" PostTypeId="2" ParentId="3873" CreationDate="2017-01-17T21:34:55.107" Score="8" Body="&lt;p&gt;Pipeline &lt;code&gt;Sitecore.Pipelines.Loader.ShowHistory&lt;/code&gt; is no longer used. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your &lt;code&gt;web.config&lt;/code&gt; (or &lt;code&gt;sitecore.config&lt;/code&gt;) in &lt;code&gt;App_Config&lt;/code&gt; and remove reference to this pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, if you have issue with this pipeline, most probably you have more corrupted configs in your solution. You may want to compare them with the clean Sitecore 8.2 configs.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-01-17T21:34:55.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3875" PostTypeId="1" CreationDate="2017-01-17T21:39:53.650" Score="0" ViewCount="67" Body="&lt;p&gt;I'm getting a &quot;Page not Found&quot; for a content item that should display as all its siblings in the same category. But this one is recalcitrant. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've opened in Content Editor, did a small edit, Save, Published and still nothing..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm currently searching in /Sitecore interface for a diagnostic page. Maybe it's a content indexing failure? Or a 'Security' flag somewhere inadvertently checked/unchecked, or kept to the default of not showing? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I've been comparing this no-show item with a showing one in database (Items table &amp;lt;=&gt; Versionedfield table) without finding anything significant. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you for any advice.&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="982" LastEditDate="2017-01-18T09:20:53.333" LastActivityDate="2017-01-18T09:20:53.333" Title="&quot;Page not Found&quot; ? Content well and alive, Saved, Published, and some. Can't figure it out" Tags="|content-management|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3876" PostTypeId="1" AcceptedAnswerId="3881" CreationDate="2017-01-18T02:20:34.733" Score="1" ViewCount="311" Body="&lt;p&gt;I remember having the problem awhile ago but I cannot find the solution again using Google etc. So I thought I'd post on here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to add a module so that it can be selected in the instance creation wizard. I can select from many other modules including WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I cannot see Sitecore Experience Accelerator (SXA) when I place it in the repository directory or select it to be added during the process which prompts &quot;Selected file is not a Sitecore module package&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm downloading SXA v1.2 from &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/12/Sitecore_Experience_Accelerator_12_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/12/Sitecore_Experience_Accelerator_12_Initial_Release.aspx&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The package contents look correct but I cannot remember what typically breaks these packages for SIM. I'm sure it was something simple :)&lt;/p&gt;&#xA;" OwnerUserId="125" LastEditorUserId="4050" LastEditDate="2019-12-28T13:18:43.083" LastActivityDate="2019-12-28T13:18:43.083" Title="What causes a Sitecore module not to work in Sitecore Instance Manager (SIM)?" Tags="|sxa|sim|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="3877" PostTypeId="1" AcceptedAnswerId="3880" CreationDate="2017-01-18T03:15:28.080" Score="3" ViewCount="420" Body="&lt;ul&gt;&#xA;&lt;li&gt;Can SOLR be used for Sitecore search and website search with latest&#xA;release 8.2.1. the solution needs to be deployed on Cloud &lt;/li&gt;&#xA;&lt;li&gt;Is it required to have Coveo and SOLR both in order to implement search for&#xA;Sitecore 8.2.1? &lt;/li&gt;&#xA;&lt;li&gt;What is the recommended best practice to use for SOLR search implementation for both CMS and Web search &lt;/li&gt;&#xA;&lt;li&gt;Are there any code samples available?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have already gone though the following links: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/configure_a_search_and_indexing_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/configure_a_search_and_indexing_provider&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/setting%20up%20%20maintaining/search%20and%20indexing/walkthrough%20setting%20up%20solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore%20experience%20platform/setting%20up%20%20maintaining/search%20and%20indexing/walkthrough%20setting%20up%20solr&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="306" LastEditorUserId="982" LastEditDate="2017-01-18T09:20:38.493" LastActivityDate="2017-01-18T09:20:38.493" Title="Sitecore 8.2 Update 1, Using SOLR for both CMS search and Web search" Tags="|solr|content-search|cloud|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3879" PostTypeId="2" ParentId="3877" CreationDate="2017-01-18T07:05:48.857" Score="-2" Body="&lt;p&gt;CMS &amp;amp; Web search are part of your index configuration &amp;amp; I don't think its possible to have two different search provider in your Sitecore instance.  Obviously two providers can support Cloud feature if they are not breaking the above-mentioned rule. Also if your instance in cloud &amp;amp; SOLR are interactive (able to perform rebuild indexing)without any permission issue then you should follow normal solr search provider as mentioned. If you are looking for some other cloud(AZURE) based search provider then you can see AZURE Search &lt;a href=&quot;https://www.linkedin.com/pulse/sitecore-81-azure-search-provider-part-1-indexing-jamie-scott&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.linkedin.com/pulse/sitecore-81-azure-search-provider-part-1-indexing-jamie-scott&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-01-18T07:05:48.857" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3880" PostTypeId="2" ParentId="3877" CreationDate="2017-01-18T07:10:59.280" Score="4" Body="&lt;p&gt;SOLR can be used with 8.2 update 1 (and 2). However, you need to install SOLR yourself, or choose for the azure search provider, which can be provisioned while provisioning your Sitecore PaaS Services to Azure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not required to have Coveo AND SOLR in 8.2.1. SOLR on itself is possible, Azure search can be used, lucene may be used (but not in the cloud). Coveo is an addition to the existing search providers. When using Coveo, you HAVE to have search providers like SOLR or Azure Search configured, as Coveo is only used for the websites, not for the CMS search.&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2017-01-18T07:10:59.280" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3881" PostTypeId="2" ParentId="3876" CreationDate="2017-01-18T08:53:35.447" Score="4" Body="&lt;p&gt;When you download the package the default filenames for SXA are &lt;strong&gt;Sitecore Experience Accelerator 1.2 rev. 161216 for 8.1.zip&lt;/strong&gt; and &lt;strong&gt;Sitecore Experience Accelerator 1.2 rev. 161216 for 8.2.zip&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rename the file removing everything after the revision number and it will then show up in the Modules list, i.e. rename the file to &lt;strong&gt;Sitecore Experience Accelerator 1.2 rev. 161216.zip&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tvwcc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tvwcc.png&quot; alt=&quot;SIM Module List&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-01-18T09:00:33.703" LastActivityDate="2017-01-18T09:00:33.703" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3882" PostTypeId="1" CreationDate="2017-01-18T08:57:02.400" Score="4" ViewCount="1884" Body="&lt;p&gt;&lt;strong&gt;FYI:&lt;/strong&gt; I've done a Express migration from 7.2 to 8.2, then upgraded to 8.2u1 -&gt; u2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When trying to Insert link on a link field i get this in the popup dialog:&#xA; &lt;a href=&quot;https://i.stack.imgur.com/doLIQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/doLIQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before this i had another error similar to this, which I used the answer to proceed: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3781/general-link-dialog-insertlinkviatreedialog-misses-insertlinkrules-after-upgra/3800#3800&quot;&gt;General Link Dialog &amp;quot;InsertLinkViaTreeDialog&amp;quot; misses InsertLinkRules after Upgrade to 8.2u2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After fixing this i got to the current problem.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Value cannot be null&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I cannot find any differences between a working copy of core. &lt;/p&gt;&#xA;" OwnerUserId="756" LastEditorUserId="73" LastEditDate="2018-01-19T08:47:04.993" LastActivityDate="2018-04-20T20:56:26.987" Title="Value cannot be null. Parameter name: format" Tags="|speak|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3883" PostTypeId="1" AcceptedAnswerId="3885" CreationDate="2017-01-18T10:00:47.990" Score="3" ViewCount="240" Body="&lt;p&gt;As per documentation (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state_configuration_scenarios&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;) I need to configure the &lt;strong&gt;private&lt;/strong&gt; and &lt;strong&gt;shared&lt;/strong&gt; session state to be &lt;em&gt;out of the process&lt;/em&gt;. &#xA;My case is &lt;strong&gt;Content delivery cluster with a non-sticky load balancer&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have decided to use SQL as my session storage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question is: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) &lt;em&gt;Can I use the same session database for both sessions, or I need to have separate databases for shared and private sessions?&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) &lt;em&gt;Can both CD1 and CD2 clusters use the same private session database?&lt;/em&gt; &lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2017-01-18T10:23:01.803" LastActivityDate="2017-01-18T12:16:39.080" Title="Configuring OutOfProc session state" Tags="|configuration|session-state|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3884" PostTypeId="1" CreationDate="2017-01-18T10:08:16.377" Score="6" ViewCount="261" Body="&lt;p&gt;I am new for Sitecore Powershell, In the script I am using Show-Listview to display the result and it is providing option to Filter the result data. Powershell doc stating we can use multiple words in Filter box but If I use multiple words (for diff column values) it's not displaying any result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you suggest how to use multiple words in the quick filter box in Show-listview &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hfwVe.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hfwVe.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1386" LastEditorUserId="95" LastEditDate="2017-08-13T01:13:35.230" LastActivityDate="2017-08-13T01:13:35.230" Title="How to use multiple words in Quick filter box in Sitecore powershell Show-Listview" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3885" PostTypeId="2" ParentId="3883" CreationDate="2017-01-18T12:04:39.733" Score="2" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Can I use the same session database for both sessions, or I need to have separate databases for shared and private sessions?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can use the same database, as long as you use Sitecore's session providers. Those providers are able to distinguish between session records of different session types.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Can both CD1 and CD2 clusters use the same private session database?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can do this, but perhaps you should reconsider why you want to have two clusters altogether.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A session server should always be as close as possible to the CD servers using it. ASP.NET session is retrieved and then saved back to the session store on every request, so having high latency between a CD and a session DB will directly impact your page loading times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally, you would separate your Sitecore instances into multiple clusters when they are geographically distributed. This way, the servers of any given cluster will be located in the same region (ideally, in the same data center) and have their own session DB close by, thus reducing network latency.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your CD servers are located in the same region, then why split them into several clusters? Normally, one cluster is enough.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand, if CD1 and CD2 are in different regions, they should have separate session servers for optimal performance.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-01-18T12:16:39.080" LastActivityDate="2017-01-18T12:16:39.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3886" PostTypeId="1" CreationDate="2017-01-18T12:07:38.160" Score="6" ViewCount="1390" Body="&lt;p&gt;I am using Sitecore 8.2 (initial release) and I have a case when for a rendering I have defined the fields &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'Datasource Template'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'Datasource Location'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;but I need to disable the button for &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'Create new content'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;that appears in the window displayed in editor when adding a component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GFwVc.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GFwVc.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see that if no 'Datasource Template' is defined on the rendering the button is disabled by default, so this seems doable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Rw60l.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Rw60l.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an easy way to somehow disable it even if I have defined the template for the rendering?&lt;/p&gt;&#xA;" OwnerUserId="141" LastActivityDate="2017-01-19T09:34:56.790" Title="Disable 'Create new content' from 'Select the associated content' window" Tags="|experience-editor|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3887" PostTypeId="2" ParentId="3886" CreationDate="2017-01-18T12:16:44.367" Score="3" Body="&lt;p&gt;You can remove Create access right from certain group of users. This won't disable the button but nobody from this group will be able to create anything there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore will display a message and disable the OK button as on the picture below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ws4cQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ws4cQ.png&quot; alt=&quot;Message which will be shown to the users&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2017-01-18T12:16:44.367" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3888" PostTypeId="2" ParentId="3886" CreationDate="2017-01-18T12:23:05.463" Score="4" Body="&lt;p&gt;You need to change: \Website\sitecore\shell\Applications\Dialogs\SelectRenderingDatasource\SelectRenderingDatasource.xml &lt;/p&gt;&#xA;&#xA;&lt;p&gt;He use Sitecore.Shell.Applications.Dialogs.SelectRenderingDatasource class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to override method  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; protected override void OnLoad(EventArgs e)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to have something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; if (yourconditionaretrue)&#xA;  {&#xA;      this.DisableCreateOption();&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-01-18T12:23:05.463" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3889" PostTypeId="1" CreationDate="2017-01-18T12:34:16.413" Score="9" ViewCount="718" Body="&lt;p&gt;Say I have a Feature layer module in my Helix compliant solution, e.g. the LinkMenu component in Sitecore.Feature.Navigation module from Habitat. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming I am happy with the way this works from a functional perspective for all of the sites in my solution, but Site A requires different html markup from Site B. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to override the cshtml rendering for each site? Everything else, Controller, Model templates etc would all work ok without modifying anything.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="2153" LastEditDate="2018-09-03T15:15:12.400" LastActivityDate="2018-09-03T15:15:12.400" Title="How to handle alternative presentation for a helix Feature module" Tags="|helix|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="3890" PostTypeId="1" CreationDate="2017-01-18T13:59:27.140" Score="4" ViewCount="518" Body="&lt;p&gt;I am trying to download WFFM data in excel file by Export to Excel button in Sitecore. I can see the data into dashboard but when I am going to download it is always downloading empty file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone came across with same issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version is 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated!&lt;/p&gt;&#xA;" OwnerUserId="361" LastActivityDate="2017-05-09T21:07:06.917" Title="Export form data to excel is always giving empty file" Tags="|wffm|" AnswerCount="1" CommentCount="4" FavoriteCount="0" ClosedDate="2017-05-10T08:18:43.600" ContentLicense="CC BY-SA 3.0" />
  <row Id="3891" PostTypeId="2" ParentId="3889" CreationDate="2017-01-18T14:02:39.467" Score="1" Body="&lt;p&gt;I only have some cursory experience looking over Habitat, but my thought would be to have two CSHTML files in your module, one for site A and one for site B. These should be able to be wired up to the common controller/model since you said that'd work in both places. Then make a rendering for site A and site B and use as appropriate.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-01-18T14:02:39.467" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3892" PostTypeId="2" ParentId="3889" CreationDate="2017-01-18T14:18:49.677" Score="-3" Body="&lt;p&gt;We recently started developing same scenario in Helix- &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We already developed Site A with Helix and now we got requirement to create another site with name &quot;Site B&quot; in same Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how we are implementing this - &#xA;we are creating folder with site name under the  feature folder for example in navigation we have created folder /views/Navigation/SiteB and all the view renderings we created or copied under /views/Navigation/SiteB location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now In controller side we created a extension method which is giving us current site. And based on current side we are calling the view in controller action method. I am sharing the code for breadcrumb how we have implemented.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Breadcrumb() &#xA;        { &#xA;            var items = this._navigationRepository.GetBreadcrumb();   &#xA;&#xA;            if (site) &#xA;            { &#xA;                return this.View(&quot;SiteB/Breadcrumb&quot;, items); &#xA;            } &#xA;            else &#xA;            { &#xA;                return this.View(&quot;Breadcrumb&quot;, items); &#xA;            } &#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For &quot;SiteA&quot; code will work as it was working and for SiteB we did this small change wherever it's needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So above example is only for if we have controller renderings and if we have only view renderings then we are simply creating view rendering under the site specific folder and there is no need to worry about the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per this approach we don't need to make much changes in code side. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found only this way to handle multisite with multiple nodes in Helix.&lt;/p&gt;&#xA;" OwnerUserId="361" LastEditorUserId="361" LastEditDate="2017-01-18T14:28:08.053" LastActivityDate="2017-01-18T14:28:08.053" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3893" PostTypeId="2" ParentId="3889" CreationDate="2017-01-18T15:52:10.270" Score="4" Body="&lt;p&gt;One way you could solve this is by using a global action filter to decide which view to load based on the current request. Then you don't have to check it in each controller.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Haven't tested this, but something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public sealed class RequestBasedViewAttribute : ActionFilterAttribute&#xA;{&#xA;    public override void OnResultExecuting(ResultExecutingContext filterContext)&#xA;    {&#xA;        base.OnResultExecuting(filterContext);&#xA;&#xA;        // Get current view&#xA;        string viewName = (filterContext.Result as ViewResult)?.ViewName;&#xA;&#xA;        // Alter viewName based on current request&#xA;        viewName = AlterViewNameBasedOnRequest(viewName);&#xA;&#xA;        // Check if the view exists&#xA;        if (ViewExists(viewName))&#xA;        {&#xA;            // Update the context&#xA;            filterContext.Result = new ViewResult&#xA;            {&#xA;                ViewName = viewName&#xA;            };&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Don't forget to register this as a global filter:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;GlobalFilters.Filters.Add(new RequestBasedViewAttribute());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="114" LastActivityDate="2017-01-18T15:52:10.270" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3894" PostTypeId="1" CreationDate="2017-01-18T16:06:20.463" Score="2" ViewCount="123" Body="&lt;p&gt;I am using TDS File Replacement to manage configs. I would like to be able to do this per user, so each user can set up their environment however they wish. Right now, each user would need his or her own build configuration to do this. I could do it with a post build script, but really that has the same problem, each user would need their own build configuration. Can I configure File Replacement or a post build action in a .user file?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&#xA;For example, I want a folder for each dev, which contains configs specific to that dev, then on build, I want whats in the Website folder replaced with whats in the dev specific folder. &lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2017-01-19T18:47:52.510" LastActivityDate="2017-01-19T18:47:52.510" Title="TDS File Replacement per user" Tags="|tds|visual-studio|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3895" PostTypeId="1" CreationDate="2017-01-18T17:00:24.300" Score="2" ViewCount="453" Body="&lt;p&gt;What would cause content not to load if we rename the parent page? We have various categories of content on our homepage that all get pulled in. We had to change the name (and display name) of some of the parent pages and now nothing will feed to these areas. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've check the item name and path it all matches and reflects the new name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm new to sitecore and we don't have internal web support so I'm on my own. Any ideas, where to look, etc. would be helpful. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;[![content editor][1]][1][![front page example][2]][2]&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vBD2b.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vBD2b.jpg&quot; alt=&quot;content details&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://i.stack.imgur.com/LViDm.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LViDm.jpg&quot; alt=&quot;content&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1405" LastEditorUserId="1405" LastEditDate="2017-01-18T21:08:26.340" LastActivityDate="2017-07-18T01:40:36.467" Title="Renamed item and now not displaying child pages" Tags="|content-editor|publishing|" AnswerCount="1" CommentCount="15" ClosedDate="2017-07-18T10:11:57.557" ContentLicense="CC BY-SA 3.0" />
  <row Id="3896" PostTypeId="2" ParentId="3889" CreationDate="2017-01-18T17:10:22.287" Score="9" Body="&lt;p&gt;You can make use of MVC Areas (support for which was &lt;a href=&quot;https://citizensitecore.com/2015/10/26/mvc-areas-in-sitecore-8-1-a-step-by-step-guide/&quot; rel=&quot;noreferrer&quot;&gt;introduced in Sitecore 8.1&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a number of strategies OOTB for resolving the area of a site, such as resolving by rendering parameters or layout definition. It's also possible to add your own strategy, we set your Area definition per site on the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; node in using a similar processor as &lt;a href=&quot;https://ctor.io/new-in-sitecore-8-1-mvc-areas/&quot; rel=&quot;noreferrer&quot;&gt;specified in this article&lt;/a&gt; by Kevin Brechbühl. Use whatever strategy works for you best.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's then possible to set the Area in the config of your project, and essentially create overrides of the views per project, you just need to ensure that Views are placed in the Areas folder and the follows the same structure as your Feature:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Site-Project&#xA;  - Areas&#xA;    - [Site-Area-Name]&#xA;      - Views&#xA;        - FeatureName&#xA;          - view.cshtml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your project will require a dependency on the Feature (due to the model declaration and usage in your View) but this is a perfectly valid dependency within the principles.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-01-18T17:10:22.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3897" PostTypeId="1" AcceptedAnswerId="3899" CreationDate="2017-01-18T17:23:47.247" Score="4" ViewCount="2631" Body="&lt;p&gt;I'm working on some reports using Sitecore Powershell Extensions. One requirement is to provide the public URL for various Sitecore items. I'm thinking this isn't really possible via Link Manager because I don't have proper site context when running the report.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is my thinking correct? Is there another non-hardcoded way to generate the URL in this scenario? Does the concept of context switching exist within PSE?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably important to note that this instance supports multiple sites so I can't assume a static domain for the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some Guidance from @Rirchard Seal and @Michael West below, here is what a function looks like to return a url:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Get-UrlForItem($item) {&#xA;    $linkUrl = &quot;&quot;&#xA;&#xA;    $siteContext = [Sitecore.Sites.SiteContext]::GetSite(&quot;website&quot;);&#xA;&#xA;    New-UsingBlock(New-Object -TypeName &quot;Sitecore.Sites.SiteContextSwitcher&quot; -ArgumentList $siteContext) {&#xA;        $linkUrl = [Sitecore.Links.LinkManager]::GetItemUrl($item);&#xA;        $linkUrl&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next up is to get the correct sitecontext for the item; right now I have it hard-coded to &quot;website&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks guys!&lt;/p&gt;&#xA;" OwnerUserId="1013" LastEditorUserId="1013" LastEditDate="2017-01-19T13:57:05.013" LastActivityDate="2018-04-04T18:47:33.817" Title="Create Sitecore Link with Powershell" Tags="|powershell-extensions|link-manager|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3898" PostTypeId="2" ParentId="3894" CreationDate="2017-01-18T17:32:31.543" Score="2" Body="&lt;p&gt;You can add your own replacement configuration into a .user file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ItemGroup Condition=&quot; '$(Configuration)' == 'Debug' &quot;&amp;gt;&#xA; &amp;lt;Replacement Include=&quot;[source folder]&quot;&amp;gt;&#xA;  &amp;lt;TargetPath&amp;gt;[target folder]&amp;lt;/TargetPath&amp;gt;&#xA;  &amp;lt;IsFolder&amp;gt;True&amp;lt;/IsFolder&amp;gt;&#xA; &amp;lt;/Replacement&amp;gt;&#xA;&amp;lt;/ItemGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2017-01-18T17:39:04.510" LastActivityDate="2017-01-18T17:39:04.510" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3899" PostTypeId="2" ParentId="3897" CreationDate="2017-01-18T18:27:59.853" Score="7" Body="&lt;p&gt;With PowerShell you can use the &lt;code&gt;New-UsingBlock&lt;/code&gt; cmdlet to mimick C#'s &lt;code&gt;using&lt;/code&gt; statement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So assuming that you can use ancestors of the item to get the Site Root and then get the &lt;code&gt;SiteContext&lt;/code&gt; from that you could do this to get the link:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock(New-Object -TypeName &quot;Sitecore.Sites.SiteContextSwitcher&quot; -ArgumentList $siteContext) {&#xA;    $linkUrl = [Sitecore.Links.LinkManager]::GetItemUrl($item);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastEditorUserId="95" LastEditDate="2017-01-19T02:26:14.513" LastActivityDate="2017-01-19T02:26:14.513" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3900" PostTypeId="2" ParentId="3710" CreationDate="2017-01-18T18:46:05.830" Score="1" Body="&lt;p&gt;Sometimes the simple answers are the best. I changed the authentication method in the web.config from &quot;None&quot; to &quot;Forms&quot; - this apparently no longer keeps you out of the shell like it used to. Then I put an authorization for the site in general, and another for the location to protect:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;!--Switching to Forms authentication to enable blocking subfolders--&amp;gt;&#xA;    &amp;lt;authentication mode=&quot;Forms&quot; xdt:Transform=&quot;SetAttributes&quot;&amp;gt;&#xA;        &amp;lt;forms timeout=&quot;120&quot; slidingExpiration=&quot;true&quot; xdt:Transform=&quot;SetAttributes&quot; /&amp;gt;&#xA;    &amp;lt;/authentication&amp;gt;&#xA;    &amp;lt;!--&#xA;    This allows all users onto the site but is needed for the location setting to deny subfolder access;&#xA;    Sitecore authentication still prevents users from accessing the members site without a login&#xA;    --&amp;gt;&#xA;    &amp;lt;authorization xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;        &amp;lt;allow users=&quot;*&quot;/&amp;gt;&#xA;    &amp;lt;/authorization&amp;gt;&#xA;&#xA;&amp;lt;location path=&quot;Attachments&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;deny users=&quot;?&quot;/&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-01-18T18:46:05.830" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3901" PostTypeId="1" AcceptedAnswerId="3903" CreationDate="2017-01-18T19:19:11.433" Score="3" ViewCount="1344" Body="&lt;p&gt;I have implemented tabbed renderings in a client site, but the window is too small causing the user to scroll to see all the tabs. I have looked in the SelectRendering.xml file, but that seems to be inside of the popup. Anyone know of the proper place to edit the renderings popup to make the window larger?&lt;a href=&quot;https://i.stack.imgur.com/BS5Vw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BS5Vw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;After some investigation., the width is coming back from an API call to the WebEditRibbon.aspx page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://SITE_URL/sitecore/shell/Applications/WebEdit/WebEditRibbon.aspx?sc_content=master&amp;amp;ribbonId=%7B570A52B6-6755-461A-8052-5B95EF766F74%7D&amp;amp;id=%7BEA0A499F-5304-4D12-AFAB-620A9EC33A2F%7D&amp;amp;dev=%7BFE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3%7D&amp;amp;db=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%257bEA0A499F-5304-4D12-AFAB-620A9EC33A2F%257d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3Dwebsite&amp;amp;la=en&amp;amp;pageSite=website&amp;amp;version=1&amp;amp;sc_speakribbon=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://SITE_URL/sitecore/shell/Applications/WebEdit/WebEditRibbon.aspx?sc_content=master&amp;amp;ribbonId=%7B570A52B6-6755-461A-8052-5B95EF766F74%7D&amp;amp;id=%7BEA0A499F-5304-4D12-AFAB-620A9EC33A2F%7D&amp;amp;dev=%7BFE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3%7D&amp;amp;db=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%257bEA0A499F-5304-4D12-AFAB-620A9EC33A2F%257d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3Dwebsite&amp;amp;la=en&amp;amp;pageSite=website&amp;amp;version=1&amp;amp;sc_speakribbon=1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That returns this data. dialogWidth is what I need to track down.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;dialogWidth:1175px;dialogHeight:605px;help:no;scroll:auto;resizable:yes;maximizable:yes;closable:yes;......&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-01-18T21:41:50.463" LastActivityDate="2017-01-19T16:30:44.867" Title="Place to edit renderings popup window. Make larger" Tags="|experience-editor|presentation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3902" PostTypeId="2" ParentId="3762" CreationDate="2017-01-18T19:27:09.653" Score="5" Body="&lt;p&gt;It's not really an answer to your direct question, but it's a solution. I am using Fortis dynamic placeholder for MVC right now. Works out of the box. Zero problems with nesting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site: &lt;a href=&quot;http://fortis.ws/fortis-collection/dynamic-placeholders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://fortis.ws/fortis-collection/dynamic-placeholders/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NuGet: &lt;a href=&quot;https://www.nuget.org/packages/DynamicPlaceholders.Mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nuget.org/packages/DynamicPlaceholders.Mvc/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;container-fluid&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;col-xs-12 col-sm-12 col-md-3 col-lg-3&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;box-row&quot;&amp;gt;&#xA;                @Html.Sitecore().DynamicPlaceholder(Bonfire.Feature.Grid.Constants.Strings.ColNarrow1)&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=&quot;col-xs-12 col-sm-12 col-md-9 col-lg-9&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;box-row&quot;&amp;gt;&#xA;                @Html.Sitecore().DynamicPlaceholder(Bonfire.Feature.Grid.Constants.Strings.ColWide1)&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VMc5l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VMc5l.png&quot; alt=&quot;showing placeholder&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="423" LastEditDate="2017-01-23T15:15:49.290" LastActivityDate="2017-01-23T15:15:49.290" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3903" PostTypeId="2" ParentId="3901" CreationDate="2017-01-18T21:49:47.283" Score="4" Body="&lt;p&gt;I was intrigued by your question since I asked myself the same before. So I started investigating what happens when you click on 'Add here'.&lt;br&gt;&#xA;It triggers a webedit command: addrendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at the &lt;strong&gt;Sitecore.ExperienceEditor.config&lt;/strong&gt; in the commands section, you'll find the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;webedit:addrendering&quot; type=&quot;Sitecore.Shell.Applications.WebEdit.Commands.AddRendering, Sitecore.ExperienceEditor&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I haven't looked at all the code in the AddRendering class, but there was 1 line in the Run method that got my attention:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SheerResponse.ShowModalDialog(dialogUrl, &quot;720px&quot;, &quot;470px&quot;, string.Empty, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;720px is the exact width of the Add rendering popup modal...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I copied the class to a test project, overwrote 720 to something larger, and it worked!&lt;br&gt;&#xA;Tested with Sitecore.NET 8.1 (rev. 160519)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; I do agree with jammykam, updating CSS is probably the easiest way&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note2:&lt;/strong&gt; I noticed that the Insert Page dialog works differently. Insert Page is a SPEAK dialog, while Add Rendering is SHEER UI.&lt;br&gt;&#xA;To change the width of the Insert Page dialog go to the Core database and navigate to: /sitecore/client/Applications/ExperienceEditor/Dialogs/InsertPage/PageSettings/DialogSettings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VDZHX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VDZHX.png&quot; alt=&quot;Core database path to insert page dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-01-18T21:49:47.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3904" PostTypeId="1" CreationDate="2017-01-18T22:00:04.890" Score="1" ViewCount="211" Body="&lt;p&gt;So currently when we use TDS we use Glass and have TDS automatically generate glass models that represent our data templates in Sitecore.  That works well, but when we do search with Lucene using these models, we have to define additional search specific models that define &lt;code&gt;[IndexField]&lt;/code&gt; attributes on properties so the properties know the name of the index field in lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was curious if there was a way we can combine this information into the regular glass models that are automatically generated by the T4 Templates.  I would think we wouldn't necessarily want to this for every Property, since some we may never want to search on.  &lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-01-18T22:00:04.890" Title="Using TDS and Glass Mapper classes as Search Models in Lucene" Tags="|glass-mapper|lucene|tds|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3905" PostTypeId="2" ParentId="3895" CreationDate="2017-01-18T22:36:04.993" Score="0" Body="&lt;p&gt;Not that this is the correct answer but it did solve my problem. I clicked &quot;never publish&quot; on the parent item. Saved. Then unchecked &quot;never publish&quot;, saved and selected Republish item and bam, everything showed up on the homepage with correct item name and display name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure why it works, but it does. Thank you all for your help. &#xA;Sincerely,&#xA;Jessi&lt;a href=&quot;https://i.stack.imgur.com/6FNDQ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6FNDQ.jpg&quot; alt=&quot;fake story&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1405" LastActivityDate="2017-01-18T22:36:04.993" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3906" PostTypeId="2" ParentId="3901" CreationDate="2017-01-19T03:55:04.290" Score="0" Body="&lt;p&gt;Thanks for the code Koen, your fix is the same fix that SXA uses to change the size of their dialog. So there is validity to your solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what I came up with. Doesn't require modification of any Sitecore dll code. I use JavaScript to increase the size.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;SelectRendering.xml&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Here is my SelectRendering.xml. Notice I added a script link to a new js file called dialog.js. &lt;a href=&quot;https://gist.github.com/dnstommy/6af6cd4905bd226ef7e1b01621c0cb18&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/dnstommy/6af6cd4905bd226ef7e1b01621c0cb18&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;control xmlns:def=&quot;Definition&quot; xmlns=&quot;http://schemas.sitecore.net/Visual-Studio-Intellisense&quot;&amp;gt;&#xA;  &amp;lt;Sitecore.Shell.Applications.Dialogs.SelectRendering&amp;gt;&#xA;    &amp;lt;FormDialog ID=&quot;Dialog&quot; Icon=&quot;Core/32x32/open_document.png&quot; Header=&quot;Open Item&quot;&#xA;      Text=&quot;Select the item that you wish to open. Then click the Open button.&quot; OKButton=&quot;Open&quot;&amp;gt;&#xA;      &amp;lt;Stylesheet Src=&quot;SelectItemWithThumbnails.css&quot; DeviceDependant=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;Stylesheet Src=&quot;/sitecore/shell/Applications/Dialogs/SelectRendering/dialog.css&quot; DeviceDependant=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;Script Src=&quot;/sitecore/shell/Applications/Dialogs/SelectRendering/dialog.js&quot; /&amp;gt;&#xA;      &amp;lt;CodeBeside Type=&quot;Client.Web.Custom.Dialogs.CustomSelectRenderingForm, Client.Web&quot;/&amp;gt;&#xA;&#xA;&#xA;      &amp;lt;DataContext ID=&quot;DataContext&quot; Root=&quot;/&quot;/&amp;gt;&#xA;&#xA;      &amp;lt;GridPanel Width=&quot;100%&quot; Height=&quot;100%&quot;&amp;gt;&#xA;&#xA;        &amp;lt;GridPanel Width=&quot;100%&quot; Height=&quot;100%&quot; Columns=&quot;3&quot; GridPanel.Height=&quot;100%&quot; Style=&quot;table-layout:fixed&quot;&amp;gt;&#xA;&#xA;          &amp;lt;Scrollbox Width=&quot;100%&quot; ID=&quot;TreeviewContainer&quot; Height=&quot;100%&quot; Class=&quot;scScrollbox scFixSize scFixSize4&quot; style=&quot;border-right: 2px solid #474747;&quot; Background=&quot;white&quot; Padding=&quot;0px&quot; GridPanel.Width=&quot;200px&quot; GridPanel.Height=&quot;100%&quot;&amp;gt;&#xA;            &amp;lt;TreeviewEx ID=&quot;Treeview&quot; DataContext=&quot;DataContext&quot; ShowRoot=&quot;true&quot; Click=&quot;Treeview_Click&quot; /&amp;gt;&#xA;          &amp;lt;/Scrollbox&amp;gt;&#xA;&#xA;          &amp;lt;VSplitter ID=&quot;TreeSplitter&quot; GridPanel.Class=&quot;scThinSplitter&quot; Target=&quot;left&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;Scrollbox ID=&quot;Renderings&quot; Width=&quot;100%&quot; Height=&quot;100%&quot; Class=&quot;scScrollbox scFixSize scFixSize4&quot; Background=&quot;white&quot; Padding=&quot;0px&quot; GridPanel.Height=&quot;100%&quot;&amp;gt;&#xA;          &amp;lt;/Scrollbox&amp;gt;&#xA;&#xA;          &amp;lt;Tabstrip ID=&quot;Tabs&quot; Width=&quot;895px&quot; Height=&quot;100%&quot; Background=&quot;white&quot; Padding=&quot;0px&quot; style=&quot;position:absolute; width:100%;top:0px&quot;/&amp;gt;&#xA;&#xA;        &amp;lt;/GridPanel&amp;gt;&#xA;&#xA;        &amp;lt;Border ID=&quot;PlaceHolderNameBorder&quot; Visible=&quot;false&quot; style=&quot;padding:12px 0px 0px 0px&quot;&amp;gt;&#xA;          &amp;lt;GridPanel Columns=&quot;3&quot; Width=&quot;100%&quot;&amp;gt;&#xA;            &amp;lt;Literal Text=&quot;Add to Placeholder: &quot; GridPanel.NoWrap=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;Space Width=&quot;4&quot; /&amp;gt;&#xA;            &amp;lt;Edit ID=&quot;PlaceholderName&quot; Name=&quot;PlaceholderName&quot; GridPanel.Width=&quot;100%&quot; class=&quot;scQuirksBoxModel&quot; Width=&quot;100%&quot; /&amp;gt;&#xA;          &amp;lt;/GridPanel&amp;gt;&#xA;        &amp;lt;/Border&amp;gt;&#xA;&#xA;      &amp;lt;/GridPanel&amp;gt;&#xA;&#xA;      &amp;lt;Border ID=&quot;OpenPropertiesBorder&quot; def:placeholder=&quot;Buttons&quot; Visible=&quot;false&quot; style=&quot;padding:0px 0px 8px 0px&quot;&amp;gt;&#xA;        &amp;lt;Checkbox ID=&quot;OpenProperties&quot; Header=&quot;Open the Properties dialog box immediately.&quot; /&amp;gt;&#xA;      &amp;lt;/Border&amp;gt;&#xA;    &amp;lt;/FormDialog&amp;gt;&#xA;  &amp;lt;/Sitecore.Shell.Applications.Dialogs.SelectRendering&amp;gt;&#xA;&amp;lt;/control&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;dialog.js&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Here is dialog.js. It processes out of the iframe container and finds the surrounding div that we need to resize. Then we also resize the iframe itself. &lt;a href=&quot;https://gist.github.com/dnstommy/448bd832c79cb28b77a26a3e28b35d50&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/dnstommy/448bd832c79cb28b77a26a3e28b35d50&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;document.addEventListener('DOMContentLoaded', function(){ &#xA;    var parentDiv = parent.document.getElementsByClassName(&quot;ui-dialog ui-widget ui-widget-content ui-corner-all ui-front ui-draggable ui-resizable&quot;);&#xA;&#xA;    if (parentDiv)&#xA;    {&#xA;        parentDiv[0].style.width = &quot;1100px&quot;;&#xA;        parentDiv[0].style.height = &quot;600px&quot;;&#xA;    }&#xA;&#xA;    var iFrame = parent.document.getElementById(&quot;scContentIframeId0&quot;);&#xA;    if(iFrame)&#xA;        iFrame.style.height = &quot;600px&quot;;&#xA;&#xA;}, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Css&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.scScrollbox.scFixSize4 { height: auto !important;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Code Behind&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Anyone coming across this that needs the code behind to make tabbed renderings, it can be found here. &lt;a href=&quot;https://gist.github.com/dnstommy/c2ea97506b0c4d59f17c58358ffaa160&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/dnstommy/c2ea97506b0c4d59f17c58358ffaa160&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-01-19T16:30:44.867" LastActivityDate="2017-01-19T16:30:44.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3907" PostTypeId="1" AcceptedAnswerId="3908" CreationDate="2017-01-19T04:06:01.037" Score="3" ViewCount="337" Body="&lt;p&gt;We're using Sitecore 8.1 Update 2, with an Azure VM for the Sitecore instance and SQL Azure databases for the various Sitecore databases (and mLabs for MongoDB). Our CM is in one of the US regions, and one of our CDs is in the West Europe region, so the VM and databases are in that region as well. When we publish from CM to a US CD region, it goes relatively quickly, but when we publish from CM to a European CD, it seems to crawl along. I'm literally watching a publish of 1700 items increment one number at a time and it's very frustrating.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any tuning tips for these scenarios to look at? It seems like the write-speed to SQL is slow, could that be related to the service level we've chosen needing to be more robust? Is it just going from the US region to the EU region is naturally slower? I noticed after doing code changes to our EU VMs, they took longer for Sitecore to recycle than their US counterparts, but theoretically the configurations are identical.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-01-19T04:36:32.410" Title="Sitecore publish speed with Azure" Tags="|publishing|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3908" PostTypeId="2" ParentId="3907" CreationDate="2017-01-19T04:36:32.410" Score="3" Body="&lt;p&gt;I have had severe issues with connecting Sitecore to write to databases (or even do first reads not from cache) when the SQL Azure was not in the same region. We have an East US primary region and West US failover region for one of our clients, and we had to stop installing packages of items in the West CM because it was just terrible connecting to the SQL Azure if it was still on its Eastern primary. I can only imagine going across to EU is even worse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm assuming in your topology you have a Web database in a West Europe Azure SQL which leads to your CM needing to execute compares and writes from its US region over that distance. The easiest way to solve the problem is to execute your publishes from the same region as the Web. This could be done a few ways:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Setup a Sitecore instance on a West Europe VM so you can trigger manual publishes to your Europe CD or run a publishing agent to execute the publishes for you from that region.&lt;/li&gt;&#xA;&lt;li&gt;Leverage an existing non-CD instance in your West Europe region for one of the above.&lt;/li&gt;&#xA;&lt;li&gt;Upgrade to 8.2 so you can take advantage of the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service&quot; rel=&quot;nofollow noreferrer&quot;&gt;Publishing Service&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The Publishing Service is likely what you really need since all you want to do is geographically distribute your publishing without needing a full Sitecore instance, but unfortunately it doesn't work for 8.1&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-01-19T04:36:32.410" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3909" PostTypeId="1" AcceptedAnswerId="3910" CreationDate="2017-01-19T05:35:56.133" Score="2" ViewCount="477" Body="&lt;p&gt;When users subscribe to a list via &lt;code&gt;ClientApi.UpdateSubscriptions&lt;/code&gt; (or using a built in control, presumably) a confirmation email is sent to them even if the &lt;code&gt;confirmSubscription&lt;/code&gt; parameter is false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The email has the subject &quot;Subscription Notification&quot; and the body &quot;You have successfully subscribed to this email group.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to disable this email from being sent?&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2017-01-19T06:27:17.323" Title="How to disable &quot;Subscription Notification&quot; emails when subscribing to a list" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3910" PostTypeId="2" ParentId="3909" CreationDate="2017-01-19T05:38:08.897" Score="3" Body="&lt;p&gt;tl;dr - Delete &lt;code&gt;[Manager Root]/Messages/Service Messages/Self-Service Subscription/Subscription Notification&lt;/code&gt; and the emails will stop sending.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There no is no explicit option to disable the email, but if the confirmation email cannot be found it will simply be skipped and won't throw an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The confirmation email is located via a relative path from the &lt;code&gt;Messages&lt;/code&gt; folder inside the Manager Root (eg. &quot;Email Campaign&quot;). The path comes from the &lt;code&gt;StandardMessages.SubscriptionNotification&lt;/code&gt; setting, which has a default value of &quot;Service Messages/Self-Service Subscription/Subscription Notification&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NB. The &lt;code&gt;confirmSubscription&lt;/code&gt; parameter of &lt;code&gt;ClientApi.UpdateSubscriptions&lt;/code&gt; relates to sending the user an email that request that &lt;em&gt;they&lt;/em&gt; confirm the subscription before actually being added to the list. Its path is defined via the &lt;code&gt;StandardMessages.SubscriptionConfirmation&lt;/code&gt; setting, but there's no need to delete that item if you set &lt;code&gt;confirmSubscription&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2017-01-19T05:44:55.363" LastActivityDate="2017-01-19T05:44:55.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3911" PostTypeId="2" ParentId="3909" CreationDate="2017-01-19T06:27:17.323" Score="1" Body="&lt;p&gt;I would suggest you to set the value of the following settings (/App_Config/Include/EmailExperience/Sitecore.EmailExperience.ContentManagement.config):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;StandardMessages.UnsubscribeNotification&quot; value=&quot;Service Messages/Self-Service Subscription/Unsubscribe Notification&quot; /&amp;gt;&#xA;&amp;lt;setting name=&quot;StandardMessages.UnsubscribeFromAllNotification&quot; value=&quot;Service Messages/Self-Service Subscription/Unsubscribe From All Notification&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in the following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;setting name=&quot;StandardMessages.UnsubscribeNotification&quot; value=&quot;&quot; /&amp;gt;&#xA; &amp;lt;setting name=&quot;StandardMessages.UnsubscribeFromAllNotification&quot; value=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should prevent sending of the notification mails for all the &quot;unsubscribed&quot; users.&#xA;For more details regarding the settings please see the article:&#xA;&lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/setting_up_exm/the_exm_configuration_settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/setting_up_exm/the_exm_configuration_settings&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-01-19T06:27:17.323" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3912" PostTypeId="1" CreationDate="2017-01-19T06:56:29.477" Score="0" ViewCount="2425" Body="&lt;p&gt;I have a fresh installation of Sitecore 8.2 MVC 4.6.1. There is a custom item called &lt;em&gt;Home&lt;/em&gt; and it has a layout. When previewing this item, it gives this compilation error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is it reading from a temp file. How can i fix this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rn0CL.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rn0CL.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Default.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@using Sitecore.Mvc.Analytics.Extensions&#xA;@using Sitecore.Mvc.Presentation&#xA;@model RenderingModel&#xA;@{&#xA;    Layout = null;&#xA;}&#xA;&#xA;    &amp;lt;!DOCTYPE html&amp;gt;&#xA;    &amp;lt;html&amp;gt;&#xA;    &amp;lt;head&amp;gt;&#xA;    &amp;lt;/head&amp;gt;&#xA;    &amp;lt;body&amp;gt;    &#xA;        &amp;lt;div class=&quot;container&quot;&amp;gt;        &#xA;            @Html.Sitecore().Placeholder(&quot;page-content&quot;)&#xA;        &amp;lt;/div&amp;gt;    &#xA;    &amp;lt;/body&amp;gt;&#xA;    &amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-01-19T07:05:12.110" LastActivityDate="2017-01-19T14:15:12.127" Title="The type or namespace name of solution could not be found" Tags="|presentation|" AnswerCount="2" CommentCount="0" ClosedDate="2017-01-19T20:04:20.220" ContentLicense="CC BY-SA 3.0" />
  <row Id="3913" PostTypeId="2" ParentId="3912" CreationDate="2017-01-19T07:12:02.037" Score="2" Body="&lt;p&gt;It seems that Sitecore cannot resolve a custom namespace (it maybe be used on layout or rendering view)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, make sure that dll with &lt;strong&gt;Trallcore&lt;/strong&gt; type (is it a type?) is present in your bin folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check whether your &lt;code&gt;Views&lt;/code&gt; folder (folder where a view where this particular view with &lt;strong&gt;Tralcore&lt;/strong&gt; (&lt;code&gt;using Tralcore&lt;/code&gt;) reference is used) contains the &lt;code&gt;web.config&lt;/code&gt;  with missing namespace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not using your own &lt;code&gt;web.config&lt;/code&gt;, please make sure you provide a full namespace to the &lt;strong&gt;Trallcore&lt;/strong&gt; type (is it a type?)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For example.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming you are using type &lt;code&gt;Item&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;using Item&lt;/code&gt; might not be enough (if there is no namespace in a &lt;code&gt;web.config&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and you have to write something like this (in your View's code)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;using Sitecore.Data.Item&lt;/code&gt; &lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-01-19T07:12:02.037" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3914" PostTypeId="2" ParentId="3450" CreationDate="2017-01-19T07:51:39.847" Score="0" Body="&lt;p&gt;I had this same problem, and on inspecting my Sitecore log, I found multiple instances of the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unable to resolve serialized item for included root path&#xA;  master:/sitecore/system/Settings/Feature. The item does not exist in&#xA;  Serialization File System Data Store. It has been skipped. Perhaps you&#xA;  need to perform an initial serialization from the control panel?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This fixed worked for me:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Uninstall Sitecore instance (/habitat.dev.local)&lt;/li&gt;&#xA;&lt;li&gt;Reinstall using SIM, ensure you use the exact version listed in the current version of the Habitat installation notes (for me, it was &lt;code&gt;Sitecore 8.2 Release 1&lt;/code&gt;). &lt;/li&gt;&#xA;&lt;li&gt;Install the WFFM module. &lt;strong&gt;Make sure you use the correct version&lt;/strong&gt; as listed in the Habitat installation notes (for me, it was &lt;code&gt;Web Forms For Marketers 8.2 rev 161129&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Make sure you complete the WFFM post-install steps (adding to the Web.Config and running SQL scripts). &lt;/li&gt;&#xA;&lt;li&gt;Now run &lt;code&gt;npm install&lt;/code&gt; and &lt;code&gt;gulp&lt;/code&gt; on your Habitat src folder, as per the habitat installation notes. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Once I resolved the slight mismatch between versions of Sitecore, WFFM and the Habitat source, Unicorn ran fine. &lt;/p&gt;&#xA;" OwnerUserId="1106" LastActivityDate="2017-01-19T07:51:39.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3916" PostTypeId="2" ParentId="3912" CreationDate="2017-01-19T08:31:31.123" Score="0" Body="&lt;p&gt;This seems strange but worked for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copy the &lt;code&gt;Trialcore.dll&lt;/code&gt; from VS Solution's bin folder to the instance's bin folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm still surprised as I never had to do this for previous projects. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it helps.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-01-19T13:14:14.583" LastActivityDate="2017-01-19T13:14:14.583" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3917" PostTypeId="2" ParentId="3886" CreationDate="2017-01-19T09:34:56.790" Score="1" Body="&lt;p&gt;To answer my own question here is the right solution (after doing some investigations on what Sitecore Climber wrote):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create new class that inherits the&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.Buckets.Forms.SelectRenderingDatasourceForm&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;from dll&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.Buckets&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;this is the namespace found on tag CodeBeside in &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;\Website\sitecore\shell\Applications\Dialogs\SelectRenderingDatasource\SelectRenderingDatasource.xml&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;probably depending on your sitecore version you can have different namespace there so inherit whatever you have there set.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Override the OnLoad method with:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;protected override void OnLoad(EventArgs e) { &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;base.OnLoad(e);&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;if (NeedToDisable)&lt;br&gt;&#xA;       DisableCreateOption(); &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Now since DisableCreateOption is private we need to copy it to our code to be able to call it.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;private void DisableCreateOption(){ &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;this.CreateOption.Disabled = true;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;this.CreateOption.Class = &quot;option-disabled&quot;; &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;this.CreateOption.Click =&quot;javascript:void(0);&quot;; &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;this.CreateIcon.Src = Images.GetThemedImageSource(this.CreateIcon.Src,&#xA;  ImageDimension.id32x32, true); &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Do some logic in the NeedToDisable property that will return if the 'Create new content' buttons needs or not to be disabled.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;public bool NeedToDisable{&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;return true; //replace this with your logic&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Build and make sure your new changes are in the dll in website bin.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to \Website\sitecore\shell\Applications\Dialogs\SelectRenderingDatasource\ directory and open SelectRenderingDatasource.xml&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Change the CodeBeside tag from old type 'Sitecore.Buckets.Forms.SelectRenderingDatasourceForm, Sitecore.Buckets' to your new created class in the dll.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Enjoy the new functionality.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Everything works great and as expected, except point 3, now I want to make the NeedToDisable property dynamic depending on an extra checkbox field I set on the rendering template and I will check or not. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem now is if there is a way to get a reference to the rendering fields when I am on this dialog. &#xA;I think that maybe I need to override the previous dialog where you select the rendering type the new component will be but not sure where can I find this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PP4Ht.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PP4Ht.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="141" LastActivityDate="2017-01-19T09:34:56.790" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3918" PostTypeId="1" AcceptedAnswerId="3919" CreationDate="2017-01-19T09:50:42.937" Score="8" ViewCount="1858" Body="&lt;p&gt;While configuring cd instance on SOLR one has to &lt;strong&gt;remove&lt;/strong&gt; index update strategies and &lt;strong&gt;set to manual&lt;/strong&gt; from index definitions on cd server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Can we do that using sitecore patching?&lt;/em&gt; &lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2017-01-19T10:31:23.543" LastActivityDate="2017-01-19T10:35:01.900" Title="Patching to remove index update strategies" Tags="|configuration|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3919" PostTypeId="2" ParentId="3918" CreationDate="2017-01-19T10:13:33.740" Score="15" Body="&lt;p&gt;You can use &lt;code&gt;&amp;lt;patch:delete /&amp;gt;&lt;/code&gt; to achieve this. It will look like:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration&amp;gt;&#xA;        &amp;lt;indexes&amp;gt;&#xA;          &amp;lt;index id=&quot;xxxxx&quot;&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;                &amp;lt;patch:delete /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt; &#xA;                &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies‌​/manual&quot; /&amp;gt; &#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;/index&amp;gt;    &#xA;        &amp;lt;/indexes&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;    &#xA;  &amp;lt;/contentSearch&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="88" LastEditorUserId="88" LastEditDate="2017-01-19T10:35:01.900" LastActivityDate="2017-01-19T10:35:01.900" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="3920" PostTypeId="2" ParentId="3918" CreationDate="2017-01-19T10:15:14.463" Score="4" Body="&lt;p&gt;You can remove the original strategy and add strategy with same name just using &lt;code&gt;ManualStrategy&lt;/code&gt; type:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;indexUpdateStrategies&amp;gt;&#xA;          &amp;lt;intervalAsyncMaster&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/intervalAsyncMaster&amp;gt;&#xA;          &amp;lt;intervalAsyncMaster type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.ManualStrategy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;        &amp;lt;/indexUpdateStrategies&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to repeat that for all the strategies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks to that you don't worry how many indexes there are and if anyone else adds a new index later. They will use manual on CD servers always.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-01-19T10:16:57.640" LastActivityDate="2017-01-19T10:16:57.640" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3921" PostTypeId="1" CreationDate="2017-01-19T10:16:22.380" Score="2" ViewCount="124" Body="&lt;p&gt;I'm running sitecore 7.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A sublayout is shown and there will be a button on it to go to the detail.&#xA;If the visitor does not click on the button if he sees the sublayout for X-times the sublayout should be changed to something else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was thinking on creating a cookie on the sublayout to count the times the sublayout has loaded on the page for that user. and if a custom rule to check the value of that cookie if it is equal or greater than a value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but i'm not sure if this is the correct way. as it seems to do too much custom work for simple personalization...&lt;/p&gt;&#xA;" OwnerUserId="1407" LastEditorUserId="73" LastEditDate="2017-01-19T11:41:14.383" LastActivityDate="2017-01-22T09:22:19.737" Title="Altering sublayout if the visitor has no interaction with it" Tags="|personalization|dms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3922" PostTypeId="1" CreationDate="2017-01-19T11:17:23.173" Score="1" ViewCount="2561" Body="&lt;p&gt;I am trying to query for a Sitecore item where a particular field has a particular value but am not successfull in doing so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to do &lt;code&gt;http://sc8/-/item/v1/?query=/sitecore/content/Home/*[@Title=#Welcome to Sitecore#]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The response I am getting is&#xA; {&#xA;&quot;statusCode&quot;: 400,&#xA;&quot;error&quot;: {&#xA;&quot;message&quot;: &quot;Bad Sitecore query (/sitecore/content/Home/*[@Title).&quot;&#xA;}&#xA;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can any one correct me please?&lt;/p&gt;&#xA;" OwnerUserId="945" LastEditorUserId="73" LastEditDate="2017-01-19T20:07:18.487" LastActivityDate="2017-01-19T20:07:18.487" Title="How to use Sitecore Item Web Api and query for a Sitecore item with a particular value in the field?" Tags="|sitecore-query|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3924" PostTypeId="2" ParentId="3922" CreationDate="2017-01-19T12:31:31.833" Score="6" Body="&lt;p&gt;I believe the problem is the hash (#) signs instead of quotes (') around values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a sample query from the Item Web API documentation:&lt;br&gt;&#xA;&lt;code&gt;/sitecore/content/Home/*[@Title='Welcome to Sitecore']&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Documentation link (old, but I could not find any more recent):&#xA;&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hash (#) signs are used to escape item names in the path and field names when they contain protected characters and words:&lt;br&gt;&#xA;&lt;code&gt;/sitecore/content/Home/#our-products#/*[@#category-type#='something']&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;See e.g. these links for more details on the query syntax:&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&lt;/a&gt;&#xA;&lt;a href=&quot;https://sdn.sitecore.net/Reference/Using%20Sitecore%20Query/Sitecore%20Query%20Syntax.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/Reference/Using%20Sitecore%20Query/Sitecore%20Query%20Syntax.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="409" LastEditorUserId="409" LastEditDate="2017-01-19T12:43:22.703" LastActivityDate="2017-01-19T12:43:22.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3926" PostTypeId="1" CreationDate="2017-01-19T14:51:11.317" Score="7" ViewCount="1138" Body="&lt;p&gt;I have a multi-language website running Sitecore 8.1 and using Glass Mapper 4.2.1. The content is translated in all needed languages, but the configuration item exist only in English.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I now have the Sitecore.Context.Language to German and load a configuration item, Glass Mapper is loading this in English. That's ok and wished, as this item is not existing in German. Within this configuration item I have a property to a referenced item that exists in English, German and French. Unfortunately Glass Mapper now loads this item in English, as the configuration item is loaded in English instead of using the Sitecore.Context.Language. Is there a possibility to load the referenced item directly in the Sitecore.Context.Language?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards,&#xA;Thomas&lt;/p&gt;&#xA;" OwnerUserId="1409" LastActivityDate="2017-08-25T16:15:25.517" Title="Load referenced item in context language with Glass Mapper" Tags="|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3927" PostTypeId="1" AcceptedAnswerId="3933" CreationDate="2017-01-19T15:56:15.293" Score="4" ViewCount="619" Body="&lt;p&gt;Does anyone know if it is possible to append a Lucene computed index field's value? Say that there is a computed index field that stores a list of ids based on some generic logic. Then there is an edge case where some more ids would need to be added. The problem is that I can't inherit or override the original computed index field with the one for the edge case, the two computed field classes are in unrelated assemblies. The order in which the ids (regular or edge case) are populated into the field doesn't matter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="856" LastActivityDate="2017-01-20T15:46:11.450" Title="Appending index fields in Lucene" Tags="|lucene|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3928" PostTypeId="2" ParentId="3708" CreationDate="2017-01-19T16:00:49.690" Score="1" Body="&lt;p&gt;So after spending quite a bit of time double-checking my configs (and opening up a Sitecore Support Ticket), I found out that there were 3 things that had messed me up. Hopefully, one of these things will be helpful to others!&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Double/Triple check that your configs on your Reporting server are correct (not just your Content Management Server). It turns out that I had neglected to enable the &lt;code&gt;Sitecore.Xdb.Remote.Server.config&lt;/code&gt; file on the reporting server. As many times as I had checked, I had simply missed that step.&lt;/li&gt;&#xA;&lt;li&gt;Make sure that your reporting server is actually up and running. It also turns out that I had mis-typed the port number for my SOLR instance on my reporting server, and so my reporting server wasn't actually running.&lt;/li&gt;&#xA;&lt;li&gt;Although the JavaScript errors were coming back from my CM Server's address, the problem was actually on my &lt;strong&gt;reporting&lt;/strong&gt; server. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I hope this will help someone else when they are trying to diagnose issues.&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-01-19T16:00:49.690" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3929" PostTypeId="1" CreationDate="2017-01-19T16:27:12.727" Score="3" ViewCount="384" Body="&lt;p&gt;I have a Sitecore 8.1-3 instance.  In my custom code I am trying to write a single method that will get me a Contact instance when all I know is the identifier (email address in this system).  This method could be used in the code behind for a page request for the current logged in user on my site.  Or it could be used by a web service call when all that is passed is the identifier.  Or it could be used on an admin page where an admin is trying to get the information from a contact that is not the current logged in user (admin).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code is below.  For the most part it works fine.  However if the user changes their identifier (email address) during a session then it fails.  There are two reasons for this.  First we are using web service calls to get all of the user information (dumb architectural decision, but it is what it is).  So because we are using web service calls we do not have access to &lt;code&gt;Tracker.Current.Contact&lt;/code&gt;.  The second reason for this is that if the user changes their identifier during a session, that change is only in Shared Session. It has not been persisted to mongo yet.  So the part of my code that tries to load the contact from the repository (just to get the Contact Id) fails.  It can't find the contact in the repository using the new identifier.  What I really need is some way to load the contact from Shared Session using only the identifier.  But that doesn't seem to exist.  I can't seem to find a way around this.  I guess I could modify my web service call to somehow include the contact ID, but I don't have access to the developer that built all of that.  I am trying to find a different way around this issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private Contact GetXdbContact(string identifier)&#xA;    {&#xA;        if (Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.Contact != null &amp;amp;&amp;amp; Tracker.Current.Contact.Identifiers.Identifier == identifier)&#xA;        {&#xA;            //This is the current user&#xA;            return Tracker.Current.Contact;&#xA;        }&#xA;&#xA;        //There is no Tracker.Current.Contact, so this must be running in some non-user context&#xA;        var repository = Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepositoryBase;&#xA;        var sessionManager =&#xA;            Factory.CreateObject(&quot;tracking/sharedSessionState/manager&quot;, true) as SharedSessionStateManager;&#xA;        var dbContact = repository.LoadContactReadOnly(identifier);&#xA;        if (dbContact != null)&#xA;        {&#xA;            //Now we have the Contact Id.  Use that Id to actually get the contact from shared session&#xA;            var contactId = dbContact.ContactId;&#xA;            var sessionContact = sessionManager.LoadContactReadonly(contactId);&#xA;            if (sessionContact != null)&#xA;            {&#xA;                return sessionContact;&#xA;            }&#xA;            return dbContact;&#xA;        }&#xA;&#xA;        return null;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastActivityDate="2017-01-19T16:27:12.727" Title="How to get an xDB contact from Shared Session when I only know the identifier?" Tags="|xdb|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3930" PostTypeId="1" CreationDate="2017-01-19T16:29:08.200" Score="5" ViewCount="154" Body="&lt;p&gt;It is possible within the rules engine to create a scenario where a set of rules cause an infinite loop. Take for example the following rule that has a When Condition to itself:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/f0W1Q.png&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f0W1Q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This example is very simple but when you have some very complex rules then this loop isn't obvious to the Content Editor or Developer (e.g. the loop could be caused by 4 or 5 chained rules). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This loop causes a Stack Overflow exception which brings the entire server down. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone written anything to detect these loops or found another way to solve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately looking at the RuleFactory class it is static so can't be replaced. I was hoping to maybe use something like the RuleStack class but the RuleStack is not global to all rules, a new one is created when the WhenCondition is called.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas? We are using Sitecore 8.1 U3.&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="464" LastEditDate="2017-01-19T16:58:46.747" LastActivityDate="2017-01-20T14:01:36.943" Title="Capture Rules Engine Stack Overflows" Tags="|rules-engine|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3931" PostTypeId="2" ParentId="3930" CreationDate="2017-01-19T17:22:48.190" Score="2" Body="&lt;p&gt;It might be possible to achieve this with a little hackery (if you can stomach it)...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, as you correctly identified, the RuleFactory is static, and therefore you can't replace it directly.  &lt;strong&gt;However&lt;/strong&gt;, in the version of Sitecore you're using, it appears that the &lt;strong&gt;private&lt;/strong&gt; &lt;code&gt;Cache&lt;/code&gt; field in the &lt;code&gt;RuleFactory&lt;/code&gt; static class acts as a gateway for accessing all rules in the system.  This in turn uses an underlying Sitecore Cache named 'rules'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, what you &lt;em&gt;might&lt;/em&gt; be able to do is create a new processor in the &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; pipeline to &lt;strong&gt;replace&lt;/strong&gt; the 'rules' Cache in Sitecore with your own implementation.  Every time an item (&lt;code&gt;RuleList&amp;lt;T&amp;gt;&lt;/code&gt;) is added to the cache, you should simply wrap it in a custom &lt;code&gt;RulesList&amp;lt;T&amp;gt;&lt;/code&gt; implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The purpose of this wrapper &lt;code&gt;RulesList&amp;lt;T&amp;gt;&lt;/code&gt; implementation would be to override the virtual Run() method, which should allow you to keep track of a thread-local stack for each time a rule is used, allowing you to create a heuristic algorithm for detecting cycles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding the heuristic model: I don't think you'll be able to deterministically detect a cycle in a rule chain, simply because doing so would require you to &lt;a href=&quot;https://en.wikipedia.org/wiki/Halting_problem&quot; rel=&quot;nofollow noreferrer&quot;&gt;solve the Halting Problem&lt;/a&gt;, so simply counting the depth of the current stack (and bailing at a certain number) may be your only option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, in Sitecore 8.2, replacing the RuleFactory is trivial :)&lt;/p&gt;&#xA;" OwnerUserId="420" LastActivityDate="2017-01-19T17:22:48.190" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3933" PostTypeId="2" ParentId="3927" CreationDate="2017-01-19T17:56:48.030" Score="4" Body="&lt;p&gt;Yes, there is. Adding another computed index field with the same field name will actually &lt;em&gt;append&lt;/em&gt; the value of your computed index field to the end of the existing value of the field with the same name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Often times, developers leverage this behavior in order to add to the indexed &lt;em&gt;text&lt;/em&gt; content on an item, which is stored in the &lt;code&gt;_content&lt;/code&gt; field. By adding a custom computed index field that is also named &lt;code&gt;_content&lt;/code&gt;, developers are able to add to the existing field value without replacing what is currently there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While I know that you said that the order doesn't matter, I would also like to mention that the order of the &quot;content&quot; indexed in the field value will be the same as the order in which the &quot;content&quot; was added to the field.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-01-20T15:46:11.450" LastActivityDate="2017-01-20T15:46:11.450" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3935" PostTypeId="1" CreationDate="2017-01-20T03:11:53.617" Score="2" ViewCount="900" Body="&lt;p&gt;Noob question sorry. We have a number of &quot;apps&quot; that we would like to host/embed in our Sitecore site. They all follow a similar pattern using only frontend html/javascript/css. Is there a simple approach to doing this? Currently we have an app that was developed using just html/javascript/css and subsequently implemented into our site by a third party using a custom page and some C# code. That seems like overkill for our requirements and we really don't want to have to repackage and update our site each time we want to deploy or update an app.&lt;/p&gt;&#xA;" OwnerUserId="1412" LastEditorUserId="1412" LastEditDate="2017-01-22T20:00:13.800" LastActivityDate="2017-01-27T03:00:33.007" Title="Embed html/javascript/css without iframes" Tags="|integration|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3936" PostTypeId="2" ParentId="3935" CreationDate="2017-01-20T06:02:44.390" Score="1" Body="&lt;p&gt;We have created a component in our previous project which can inject html &#xA;string with inline css &amp;amp; javascript to the page content. Basically html strings are from a 3rd party app which can change based on their design model. We have created some data template fields, especially 'multiline field' which can hold the html string of the 3rd party application &amp;amp; start displaying using @html.Raw(html string here).&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="1412" LastEditDate="2017-01-22T23:06:35.467" LastActivityDate="2017-01-22T23:06:35.467" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3938" PostTypeId="1" AcceptedAnswerId="3940" CreationDate="2017-01-20T12:04:26.303" Score="0" ViewCount="749" Body="&lt;p&gt;I wrote a custom &lt;code&gt;item:created&lt;/code&gt; event handler that creates an item of template &lt;strong&gt;B&lt;/strong&gt; whenever an item of template &lt;strong&gt;A&lt;/strong&gt; is created. It works well, except for the cases when the parent folder is being duplicated—then I don't want a new &lt;strong&gt;B&lt;/strong&gt; item created, as there will be a duplicated &lt;strong&gt;B&lt;/strong&gt; item anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my &lt;code&gt;item:created&lt;/code&gt; handler, is it possible to find out whether the item is being created &quot;from scratch&quot;, or if it's being copied/duplicated from an existing item?&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="423" LastEditDate="2017-08-08T14:27:36.000" LastActivityDate="2017-08-08T14:27:36.000" Title="Is there a way to find out what caused an `item:created` event?" Tags="|events|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="3939" PostTypeId="1" AcceptedAnswerId="4013" CreationDate="2017-01-20T13:49:14.603" Score="1" ViewCount="464" Body="&lt;p&gt;Our solution is using dynamic placeholders. We have a requirement to restrict what renderings can be inserted in the page content (under the &lt;code&gt;content&lt;/code&gt; placeholder) and in the sidebar (placeholder &lt;code&gt;right-sidebar&lt;/code&gt;). The restriction should be applied on all nesting levels.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'd like to do is make a custom &lt;code&gt;getPlaceholderRenderings&lt;/code&gt; processor which would return allowed renderings of the &lt;code&gt;content&lt;/code&gt; placeholder for every placeholder rendered &lt;em&gt;inside&lt;/em&gt; &lt;code&gt;content&lt;/code&gt;. The challenge is in finding out the part of the page the placeholder is being rendered in.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-01-24T20:49:04.383" Title="Can I access component/placeholder hierarchy from a `getPlaceholderRenderings` processor?" Tags="|presentation|placeholders|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3940" PostTypeId="2" ParentId="3938" CreationDate="2017-01-20T13:50:54.673" Score="1" Body="&lt;p&gt;I have checked through the decompiled source and apparently those events are quite decoupled from each other. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your particular case I would recommend you to introduce some kind of a flag field (e.g. &lt;strong&gt;IsCopy&lt;/strong&gt;) on the template and use the &lt;code&gt;item:copying/copied&lt;/code&gt; event to set that flag to &lt;code&gt;true&lt;/code&gt; on the copy item. After that you can easily check that field value in the &lt;code&gt;item:created&lt;/code&gt; event. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;The solution is quite dirty, but to me it sounds like the easiest way of implementing the requirement.&lt;/em&gt; &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-01-20T13:50:54.673" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3942" PostTypeId="1" AcceptedAnswerId="3943" CreationDate="2017-01-20T14:04:35.020" Score="7" ViewCount="410" Body="&lt;p&gt;I am creating a Template in core database for a Custom User Profile. I have a Treelist field and I would like to point to a folder in master database. Is it possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GkL3U.gif&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GkL3U.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="73" LastEditDate="2017-01-21T02:41:19.443" LastActivityDate="2017-01-21T02:41:19.443" Title="Is there a way to set a Treelist field in the core database to point to a folder in the master database?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3943" PostTypeId="2" ParentId="3942" CreationDate="2017-01-20T14:06:39.720" Score="8" Body="&lt;p&gt;You can do in this way: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;datasource=/sitecore/content/home&amp;amp;databasename=master&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please find more informations here: &lt;a href=&quot;http://getfishtank.ca/blog/treelist-data-source-hidden-functionality&quot; rel=&quot;noreferrer&quot;&gt;http://getfishtank.ca/blog/treelist-data-source-hidden-functionality&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="73" LastEditDate="2017-01-20T15:11:09.100" LastActivityDate="2017-01-20T15:11:09.100" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3944" PostTypeId="1" AcceptedAnswerId="4053" CreationDate="2017-01-20T15:39:13.737" Score="4" ViewCount="247" Body="&lt;p&gt;I'm in the process of migrating indexes from Lucene to Solr for a Sitecore site on Sitecore 8.2 Update 2 (Sitecore 8.2 rev. 161221). I'm disabling the Lucene specific configs and enabling the Solr specific versions of those indexes. This went fine for most of the indexes but there is no Solr specific configuration in the vanilla Sitecore 8.2 install for &lt;strong&gt;Sitecore.Social.Lucene.Index.Analytics.Facebook.config&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;&amp;lt;index id=&quot;sitecore_analytics_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;group&quot;&amp;gt;experience&amp;lt;/param&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot;&amp;gt;&#xA;          &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;contact.social.facebook.id&quot;    storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;WITH_POSITIONS_OFFSETS&quot; boost=&quot;1f&quot; emptyString=&quot;_EMPTY_&quot; nullValue=&quot;_NULL_&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;contact.social.facebook.appid&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;WITH_POSITIONS_OFFSETS&quot; boost=&quot;1f&quot; emptyString=&quot;_EMPTY_&quot; nullValue=&quot;_NULL_&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;               &#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;  &amp;lt;/indexes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this because Solr doesn't need these additional fields in the &lt;code&gt;sitecore_analytics_index&lt;/code&gt;? Part of the analytics index is defined in &lt;code&gt;Sitecore.ContentSearch.Solr.Index.Analytics.config&lt;/code&gt; but the index doesn't show up in Indexing manager so I can't manually rebuild it to see if it works. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to create a Solr version for this file or is it only required for Lucene?&lt;/p&gt;&#xA;" OwnerUserId="961" LastActivityDate="2017-01-27T08:03:53.547" Title="Is the Solr equivalent of Sitecore.Social.Lucene.Index.Analytics.Facebook.config needed when switching from Lucene to Solr?" Tags="|solr|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3945" PostTypeId="1" AcceptedAnswerId="3946" CreationDate="2017-01-20T15:59:09.140" Score="5" ViewCount="677" Body="&lt;p&gt;I am working on a task to move a Sitecore installation search from Lucene to Solr on Sitecore version 8.2. I am using Solr version 5.1 as it is the recommended version for sitecore 8.2. All the other indexes build correctly but I am having an issue while building &lt;code&gt;sitecore_marketingdefinitions_master&lt;/code&gt; index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error says: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Root item could not be found&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Upon investigating the config file for that index, I saw that the root node points to &lt;code&gt;&amp;lt;Root&amp;gt;{09CF9489-8F71-4A16-B707-4F013D8CDEFB}&amp;lt;/Root&amp;gt;&lt;/code&gt;. This item was not found in my local instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since this is the default config for the index, I was wondering if someone could point me to the correct root node that I should use in this case! Or is it ok if I change the root node path to '/sitecore' node?&lt;/p&gt;&#xA;" OwnerUserId="403" LastEditorUserId="1671" LastEditDate="2018-06-21T14:11:03.463" LastActivityDate="2018-06-21T14:28:58.023" Title="What is the correct root node for 'sitecore_marketingdefinitions_master' index?" Tags="|solr|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="3946" PostTypeId="2" ParentId="3945" CreationDate="2017-01-20T16:09:19.063" Score="5" Body="&lt;p&gt;That is &lt;code&gt;/sitecore/system/Marketing Control Panel/Funnels&lt;/code&gt; in the &lt;code&gt;master&lt;/code&gt; database.&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-01-20T16:09:19.063" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3947" PostTypeId="2" ParentId="3921" CreationDate="2017-01-20T17:27:07.533" Score="1" Body="&lt;p&gt;First, it is not OOTB. There can be different approaches. You can use the cookie based approach or the Rule Engine approach. Below is the a theoretical approach using the Rule Engine and Sitecore Goals&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Goals&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The use of goals allow you to track down whether the user has clicked on the button. So, you need to create your goals in the sitecore path &lt;code&gt;/sitecore/System/Marketing Center/Goals&lt;/code&gt;. Once the user clicked on the button, you trigger the Goal programmatically using the &lt;code&gt;VisitorManager&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Tracking&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the user has not click on the button and is navigating throughout the site, you need to keep track on the number of times the sublayout is being loaded. You can achieve this using the &lt;code&gt;Tracker.Visitor.Tags&lt;/code&gt;. This will be per User. Each time the user loads the page where the sublayout is present, increment the &lt;code&gt;Tracker.Visitor.Tags&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Rule Engine&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To change the sublayout, Sitecore has already an in-built action which is the &lt;code&gt;set the datasource to Item&lt;/code&gt;. So by making use of the value obtained in the tags of the visitor, you may define a ruleset as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Conditions&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;except where the 'specific' tag of the visitor 'compares to' 'value'&#xA;and where visitor 'specific' tag value 'compares to' 'number'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Actions&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;set data source to 'Item'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You may need to define the 2nd statement in the conditions as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;where visitor [TagName,,,specific] tag value [operatorid,Operator,,compares to] [Value,,,number]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is a link which can help you in coding the Rule Engine:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jeffdarchuk.com/2015/06/04/lets-use-that-rules-engine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffdarchuk.com/2015/06/04/lets-use-that-rules-engine/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, to conclude, the simplest approach is to make use of the cookie based one as using the Rule Engine will require that the indexing is working properly and also require major code implementation.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-01-22T09:22:19.737" LastActivityDate="2017-01-22T09:22:19.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3948" PostTypeId="1" CreationDate="2017-01-20T19:27:16.323" Score="1" ViewCount="491" Body="&lt;p&gt;I created a composite components control for Web Forms. I accomplished it by overriding the RenderLayout pipeline processor Sitecore.Pipelines.RenderLayout.InsertRenderings. The issue I have is that I want the renderings (sublayouts) editing be disabled. In the pipeline, the Editing property of the rendering item is &quot;read only&quot; at run time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does any know of a way to programmatically disable the editing ability of the renderings in my composite placeholder? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RenderLayout : RenderLayoutProcessor&#xA;{&#xA;    public override void Process(RenderLayoutArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        if (Context.Item == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        using (new ProfileSection(&quot;Insert renderings into page.&quot;))&#xA;        {&#xA;            InsertRenderingsArgs insertRenderingsArgs = new InsertRenderingsArgs();&#xA;            CorePipeline.Run(&quot;insertRenderings&quot;, insertRenderingsArgs);&#xA;&#xA;            foreach (RenderingReference current in insertRenderingsArgs.Renderings)&#xA;            {&#xA;                current.RenderingItem.Editable = false; &amp;lt;----HERE&#xA;                Context.Page.AddRendering(current);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-01-21T14:16:15.373" LastActivityDate="2017-01-21T14:50:07.303" Title="Disable editing on rendering in pipeline" Tags="|presentation|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3949" PostTypeId="1" AcceptedAnswerId="3951" CreationDate="2017-01-20T19:27:56.097" Score="4" ViewCount="661" Body="&lt;p&gt;I'm using sitecore 8.2.&#xA;I have a list of the Template Field items where I need to check the &quot;Enable field level fallback&quot; field programmatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, something like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var item in ListOfItems)&#xA;{&#xA;    item.Fields[&quot;Enablefieldlevelfallback&quot;].Value = &quot;1&quot;;&#xA;    break;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1419" LastEditorUserId="73" LastEditDate="2017-01-20T19:46:34.067" LastActivityDate="2017-01-21T03:15:30.303" Title="How to programmatically set &quot;Enable field level fallback&quot; field on a Template Field item?" Tags="|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3950" PostTypeId="1" CreationDate="2017-01-20T23:07:15.613" Score="4" ViewCount="907" Body="&lt;p&gt;Sitecore 8.2 update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added few dll refences in project. The DLLs are from external application and have their own webapi controllers and routes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Autofac and excluding the assemblies from external application on startup (for &lt;strong&gt;builder.RegisterControllers&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I navigate Experience Analytics dashboard, it errors out. The logs have a message that the route name &quot;xxx&quot; (external dll route) is already added to route collection and must be unique. But I do not see any other issue with the site. It looks like when I am navigating to Experience Analytics, it is trying to load the routes again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I remove the dlls from bin, there are no more errors in Experience Analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added the names of the dll to be excluded in &lt;strong&gt;Sitecore.Mvc.config&lt;/strong&gt; file section  &lt;code&gt;excludedAssemblies&lt;/code&gt;. Also I have added the same dlls to &lt;code&gt;Sitecore.Services.Client.Config&lt;/code&gt;  excluded assemblies section for &lt;code&gt;Sitecore.Services.Infrastructure.Sitecore.Pipelines.ServicesWebApiInitializer, Sitecore.Services.Infrastructure.Sitecore&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I add the following: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;config.MapHttpAttributeRoutes(&#xA;    new ExcludeByControllerNameRouteProvider( &quot;external dll name&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to &lt;strong&gt;Global.asax&lt;/strong&gt;, it throws an error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A route named '&lt;strong&gt;MS_attributerouteWebApi&lt;/strong&gt;' is already in the route&#xA;  collection.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So i reverted it.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Why is Sitecore still adding routes from external dlls to the route dictionary? &lt;/li&gt;&#xA;&lt;li&gt;How do I exclude certain dll routes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the exception from Logs when i navigate to the experience analytics dashboard&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception &#xA;System.ArgumentException: A route named 'CartLinesV1' is already in the route collection. Route names must be unique.&#xA;Parameter name: name&#xA;   at System.Web.Routing.RouteCollection.Add(String name, RouteBase item)&#xA;   at System.Web.Http.Routing.AttributeRoutingMapper.AddGenerationHooksForSubRoutes(HttpRouteCollection routeTable, IEnumerable`1 entries)&#xA;   at System.Web.Http.Routing.AttributeRoutingMapper.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;MapAttributeRoutes&amp;gt;b__0(HttpConfiguration config)&#xA;   at System.Web.Http.HttpConfiguration.ApplyControllerSettings(HttpControllerSettings settings, HttpConfiguration configuration)&#xA;   at System.Web.Http.Controllers.HttpControllerDescriptor.InvokeAttributesOnControllerType(HttpControllerDescriptor controllerDescriptor, Type type)&#xA;   at System.Web.Http.Controllers.HttpControllerDescriptor.InvokeAttributesOnControllerType(HttpControllerDescriptor controllerDescriptor, Type type)&#xA;   at System.Web.Http.Controllers.HttpControllerDescriptor..ctor(HttpConfiguration configuration, String controllerName, Type controllerType)&#xA;   at System.Web.Http.Dispatcher.DefaultHttpControllerSelector.InitializeControllerInfoCache()&#xA;   at System.Lazy`1.CreateValue()&#xA;   at System.Lazy`1.LazyInitValue()&#xA;   at System.Web.Http.Dispatcher.DefaultHttpControllerSelector.SelectController(HttpRequestMessage request)&#xA;   at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext()&#xA;16520 18:46:27 ERROR [Sitecore Services]: HTTP GET&#xA;URL http://preview.local/sitecore/api/ao/aggregates/all/786FBA3A4573445EA74504E3CA5E48C1/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;dateFrom=19-10-2016&amp;amp;dateTo=19-01-2017&amp;amp;keyGrouping=collapsed &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code that I am using to exclude certain dlls from Autofac register is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var assemblies = AppDomain.CurrentDomain.GetAssemblies();&#xA;    assemblies = assemblies.Where(x =&amp;gt;&#xA;            !x.FullName.StartsWith(&quot;ignore_dlls_name.&quot;)).ToArray();&#xA;    builder.RegisterControllers(assemblies);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I confirmed that it is not adding the external dlls to autofac ContainerBuilder.&lt;/p&gt;&#xA;" OwnerUserId="600" LastEditorUserId="600" LastEditDate="2017-01-24T17:17:04.833" LastActivityDate="2017-02-27T18:58:26.990" Title="How to ignore routes from specific dlls in Sitecore 8.2" Tags="|routing|" AnswerCount="0" CommentCount="7" ClosedDate="2017-03-01T14:53:05.620" ContentLicense="CC BY-SA 3.0" />
  <row Id="3951" PostTypeId="2" ParentId="3949" CreationDate="2017-01-21T03:15:30.303" Score="4" Body="&lt;p&gt;Well, you don't provide much of a context. But API wise, it would come out like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        foreach (Item item in ListOfItems)&#xA;        {&#xA;            item.Editing.BeginEdit();&#xA;            item.Fields[FieldIDs.EnableLanguageFallback].Value = &quot;1&quot;;&#xA;            item.Editing.EndEdit();&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the &lt;code&gt;Shared&lt;/code&gt; version of Language Fallback, change the constant.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        foreach (Item item in ListOfItems)&#xA;        {&#xA;            item.Editing.BeginEdit();&#xA;            item.Fields[FieldIDs.EnableSharedLanguageFallback].Value = &quot;1&quot;;&#xA;            item.Editing.EndEdit();&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-21T03:15:30.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3952" PostTypeId="2" ParentId="3948" CreationDate="2017-01-21T14:50:07.303" Score="1" Body="&lt;h2&gt;Problem&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The property doesn't easily let itself override. I was going to suggest forcing the value with reflection, but that won't work. The property is declared like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual bool Editable&#xA;{&#xA;  get&#xA;  {&#xA;    return this.InnerItem[&quot;Editable&quot;] == &quot;1&quot;;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Workaround&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;On the bright side, the &lt;code&gt;RenderingItem&lt;/code&gt; class follows a well established &lt;code&gt;CustomItem&lt;/code&gt; pattern, so a bit of code will go a long way. Declare a new class, &lt;code&gt;NonEditableRenderingItem&lt;/code&gt; - like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NonEditableRenderingItem : RenderingItem&#xA;{&#xA;    public NonEditableRenderingItem(Item item) : base(item) {}&#xA;&#xA;    public override bool Editable =&amp;gt; false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then your loop like this. A slight bit of reflection necessary to &lt;em&gt;compensate&lt;/em&gt; the shortcomings in Sitecore standard libraries ;-)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    foreach (RenderingReference current in insertRenderingsArgs.Renderings)&#xA;    {&#xA;        var neRenderingItem = new NonEditableRenderingItem(current.RenderingItem.InnerItem);&#xA;        current.GetType().GetField(&quot;renderingItem&quot;, BindingFlags.Instance | BindingFlags.NonPublic).SetValue(current, neRenderingItem);&#xA;        Context.Page.AddRendering(current);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Disclaimer. I don't have a Webforms based solution up and running locally, nor the setup required to fully test your issue. But the above should work, in my opinion.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-21T14:50:07.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3953" PostTypeId="1" AcceptedAnswerId="3954" CreationDate="2017-01-21T17:30:50.050" Score="5" ViewCount="238" Body="&lt;p&gt;What exactly is the sitecore_list_index used for? Can it be deleted or can its crawling strategy be set to manual on CDs without affecting any other part of Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="1073" LastEditorUserId="1000" LastEditDate="2017-01-22T02:52:38.797" LastActivityDate="2017-01-22T02:52:38.797" Title="Sitecore_list_index on CDs" Tags="|content-search|content-delivery|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3954" PostTypeId="2" ParentId="3953" CreationDate="2017-01-21T18:15:06.040" Score="5" Body="&lt;p&gt;sitecore_list_index contains  the list of contacts and segmented lists that are used by the List Manager, the Email Experience Manager and the Experience Profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/search_index_descriptions&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/indexing/search_index_descriptions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On this link &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_delivery_server&lt;/a&gt; you can see that you need to disable List Manager index on a content delivery server. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-01-21T18:15:06.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3955" PostTypeId="1" CreationDate="2017-01-21T23:36:50.277" Score="2" ViewCount="459" Body="&lt;p&gt;I am trying to debug a publishing problem with the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitemap_XML.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitemap XML&lt;/a&gt; module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/3932/publishing-xml-sitemaps-to-two-content-delivery-servers&quot;&gt;Publishing XML Sitemaps to Two Content Delivery Servers&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Someone suggested creating a simple event handler that does a &lt;code&gt;Log.Info(&quot;***** Custom Event Fired *****&quot;)&lt;/code&gt; and add it to &lt;code&gt;publish:end:remote&lt;/code&gt; then check the logs on each server. To rule out a bug with the module and/or identify issues with remote events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, I'm not sure how to do that. Any help will be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-01-22T10:35:39.977" Title="Creating Event Handler for Sitemap XML for Logging" Tags="|publishing|logging|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3956" PostTypeId="2" ParentId="3955" CreationDate="2017-01-22T10:35:39.977" Score="1" Body="&lt;p&gt;The Sitecore XML module appears to trigger rebuild based on when certain Sitecore events are fired off (&lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt;). In order to ensure that those events are being correctly fired on CD instances, you can also create  a similar handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Diagnostics;&#xA;&#xA;namespace MyProject.CMS.Custom.Events&#xA;{&#xA;    public class EventHandler&#xA;    {&#xA;        public void LogEvent(object sender, EventArgs args)&#xA;        {&#xA;            Log.Info(&quot;***** Custom Event Fired *****&quot;, this);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And patch this into the events using a config patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;        &amp;lt;handler patch:before=&quot;*[1]&quot; type=&quot;MyProject.CMS.Custom.Events.EventHandler, MyProject.CMS.Custom&quot; method=&quot;LogEvent&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;        &amp;lt;handler patch:before=&quot;*[1]&quot; type=&quot;MyProject.CMS.Custom.Events.EventHandler, MyProject.CMS.Custom&quot; method=&quot;LogEvent&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After deploying the code, check your logs on both the CM and the CD servers for the presence of the message. If the events are fired off correctly then the messages should be present.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-01-22T10:35:39.977" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3957" PostTypeId="5" CreationDate="2017-01-22T15:40:09.407" Score="0" Body="&lt;p&gt;In a multi-language solution, you can use the language fallback functionality to control which items or fields that you want to reuse content from another language, and which items and fields that you want to translate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You specify a fallback language for the languages in your Sitecore solution and enable language fallback on the relevant items or fields. If a version does not exist in a given language, language fallback activates, and the item or field value is displayed in the fallback language instead. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/language_fallback/language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/language_fallback/language_fallback&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/setting_up/enable_and_set_up_language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/setting_up/enable_and_set_up_language_fallback&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T06:51:00.363" LastActivityDate="2018-02-22T06:51:00.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3958" PostTypeId="4" CreationDate="2017-01-22T15:40:09.407" Score="0" Body="This topic relates to anything that includes custom language fallback enhancements prior to Sitecore 8.1 and all Sitecore supported language fallback feature from 8.1 and up." OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2017-01-23T15:15:10.563" LastActivityDate="2017-01-23T15:15:10.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3960" PostTypeId="1" AcceptedAnswerId="3962" CreationDate="2017-01-23T08:16:08.877" Score="1" ViewCount="7185" Body="&lt;p&gt;I am using the Log4Net to insert errors into MSSQL. However, the errors are not being logged into the database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log4net Patch File - z.Logging.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;log4net&amp;gt;&#xA;        &amp;lt;appender name=&quot;BufferingForwardingAppender&quot; type=&quot;log4net.Appender.BufferingForwardingAppender&quot;&amp;gt;&#xA;            &amp;lt;bufferSize value=&quot;1&quot; /&amp;gt;&#xA;            &amp;lt;lossy value=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;evaluator type=&quot;log4net.Core.LevelEvaluator&quot;&amp;gt;&#xA;               &amp;lt;threshold value=&quot;INFO&quot; /&amp;gt;&#xA;            &amp;lt;/evaluator&amp;gt;&#xA;            &amp;lt;appender-ref ref=&quot;ADONetAppender_SqlServer&quot; /&amp;gt;&#xA;         &amp;lt;/appender&amp;gt;&#xA;         &amp;lt;appender name=&quot;ADONetAppender_SqlServer&quot; type=&quot;log4net.Appender.ADONetAppender, Sitecore.Logging&quot;&amp;gt;&#xA;            &amp;lt;bufferSize value=&quot;1&quot; /&amp;gt;&#xA;            &amp;lt;param name=&quot;ConnectionType&quot; value=&quot;System.Data.SqlClient.SqlConnection, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; /&amp;gt;&#xA;            &amp;lt;param name=&quot;ConnectionString&quot; value=&quot;user id=[userId];password=[password];Data Source=ServerName\CD_CUSTOM;Database=Sitecore.Logging&quot; /&amp;gt;&#xA;            &amp;lt;param name=&quot;CommandText&quot; value=&quot;INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message]) VALUES (@log_date, @thread, @log_level, @logger, @message)&quot; /&amp;gt;&#xA;            &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;               &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@log_date&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;DbType&quot; value=&quot;DateTime&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;                  &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%d{yyyy'-'MM'-'dd HH':'mm':'ss'.'fff}&quot; /&amp;gt;&#xA;               &amp;lt;/param&amp;gt;&#xA;            &amp;lt;/param&amp;gt;&#xA;            &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;               &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@thread&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;Size&quot; value=&quot;255&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;                  &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%t&quot; /&amp;gt;&#xA;               &amp;lt;/param&amp;gt;&#xA;            &amp;lt;/param&amp;gt;&#xA;            &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;               &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@log_level&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;Size&quot; value=&quot;50&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;                  &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%p&quot; /&amp;gt;&#xA;               &amp;lt;/param&amp;gt;&#xA;            &amp;lt;/param&amp;gt;&#xA;            &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;               &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@logger&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;Size&quot; value=&quot;255&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;                  &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%c&quot; /&amp;gt;&#xA;               &amp;lt;/param&amp;gt;&#xA;            &amp;lt;/param&amp;gt;&#xA;            &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;               &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@message&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;Size&quot; value=&quot;4000&quot; /&amp;gt;&#xA;               &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;                  &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%m&quot; /&amp;gt;&#xA;               &amp;lt;/param&amp;gt;&#xA;            &amp;lt;/param&amp;gt;&#xA;         &amp;lt;/appender&amp;gt;&#xA;         &amp;lt;root&amp;gt;&#xA;            &amp;lt;priority value=&quot;INFO&quot; /&amp;gt;&#xA;            &amp;lt;appender-ref ref=&quot;LogFileAppender&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;ref&quot;&amp;gt;ADONetAppender_SqlServer&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/appender-ref&amp;gt;&#xA;         &amp;lt;/root&amp;gt;&#xA;         &amp;lt;logger name=&quot;Sitecore.Diagnostics.WebDAV&quot; additivity=&quot;false&quot;&amp;gt;&#xA;            &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;            &amp;lt;appender-ref ref=&quot;WebDAVLogFileAppender&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;ref&quot;&amp;gt;ADONetAppender_SqlServer&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/appender-ref&amp;gt;            &#xA;         &amp;lt;/logger&amp;gt;&#xA;         &amp;lt;logger name=&quot;Sitecore.Diagnostics.Publishing&quot; additivity=&quot;false&quot;&amp;gt;&#xA;            &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;            &amp;lt;appender-ref ref=&quot;PublishingLogFileAppender&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;ref&quot;&amp;gt;ADONetAppender_SqlServer&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/appender-ref&amp;gt;&#xA;         &amp;lt;/logger&amp;gt;&#xA;         &amp;lt;logger name=&quot;Sitecore.Diagnostics.Crawling&quot; additivity=&quot;false&quot;&amp;gt;&#xA;            &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;            &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;            &amp;lt;appender-ref ref=&quot;CrawlingLogFileAppender&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;ref&quot;&amp;gt;ADONetAppender_SqlServer&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/appender-ref&amp;gt;&#xA;         &amp;lt;/logger&amp;gt;&#xA;         &amp;lt;logger name=&quot;Sitecore.Diagnostics.Search&quot; additivity=&quot;false&quot;&amp;gt;&#xA;            &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;            &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;            &amp;lt;appender-ref ref=&quot;SearchLogFileAppender&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;ref&quot;&amp;gt;ADONetAppender_SqlServer&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/appender-ref&amp;gt;&#xA;         &amp;lt;/logger&amp;gt;&#xA;      &amp;lt;/log4net&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same configuration has been applied on my local instance and everything works, i.e, the errors are logged into the table Log. However, on the Staging Environment, no errors are being logged.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also tried to modified the &lt;code&gt;Sitecore.config&lt;/code&gt; directly and use the following configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;log4net&amp;gt;&#xA;    &amp;lt;appender name=&quot;BufferingForwardingAppender&quot; type=&quot;log4net.Appender.BufferingForwardingAppender&quot;&amp;gt;&#xA;        &amp;lt;bufferSize value=&quot;1&quot; /&amp;gt;&#xA;        &amp;lt;lossy value=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;evaluator type=&quot;log4net.Core.LevelEvaluator&quot;&amp;gt;&#xA;           &amp;lt;threshold value=&quot;INFO&quot; /&amp;gt;&#xA;        &amp;lt;/evaluator&amp;gt;&#xA;        &amp;lt;appender-ref ref=&quot;ADONetAppender_SqlServer&quot; /&amp;gt;&#xA;     &amp;lt;/appender&amp;gt;&#xA;     &amp;lt;appender name=&quot;ADONetAppender_SqlServer&quot; type=&quot;log4net.Appender.ADONetAppender, Sitecore.Logging&quot;&amp;gt;&#xA;        &amp;lt;bufferSize value=&quot;1&quot; /&amp;gt;&#xA;        &amp;lt;param name=&quot;ConnectionType&quot; value=&quot;System.Data.SqlClient.SqlConnection, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; /&amp;gt;&#xA;        &amp;lt;param name=&quot;ConnectionString&quot; value=&quot;user id=[userId];password=[password];Data Source=ServerName\CD_CUSTOM;Database=Sitecore.Logging&quot; /&amp;gt;&#xA;        &amp;lt;param name=&quot;CommandText&quot; value=&quot;INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message]) VALUES (@log_date, @thread, @log_level, @logger, @message)&quot; /&amp;gt;&#xA;        &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;           &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@log_date&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;DbType&quot; value=&quot;DateTime&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;              &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%d{yyyy'-'MM'-'dd HH':'mm':'ss'.'fff}&quot; /&amp;gt;&#xA;           &amp;lt;/param&amp;gt;&#xA;        &amp;lt;/param&amp;gt;&#xA;        &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;           &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@thread&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;Size&quot; value=&quot;255&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;              &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%t&quot; /&amp;gt;&#xA;           &amp;lt;/param&amp;gt;&#xA;        &amp;lt;/param&amp;gt;&#xA;        &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;           &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@log_level&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;Size&quot; value=&quot;50&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;              &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%p&quot; /&amp;gt;&#xA;           &amp;lt;/param&amp;gt;&#xA;        &amp;lt;/param&amp;gt;&#xA;        &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;           &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@logger&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;Size&quot; value=&quot;255&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;              &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%c&quot; /&amp;gt;&#xA;           &amp;lt;/param&amp;gt;&#xA;        &amp;lt;/param&amp;gt;&#xA;        &amp;lt;param name=&quot;Parameter&quot;&amp;gt;&#xA;           &amp;lt;param name=&quot;ParameterName&quot; value=&quot;@message&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;DbType&quot; value=&quot;String&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;Size&quot; value=&quot;4000&quot; /&amp;gt;&#xA;           &amp;lt;param name=&quot;Layout&quot; type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;              &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%m&quot; /&amp;gt;&#xA;           &amp;lt;/param&amp;gt;&#xA;        &amp;lt;/param&amp;gt;&#xA;     &amp;lt;/appender&amp;gt;&#xA;    &amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;      &amp;lt;file value=&quot;$(dataFolder)/logs/log.{date}.txt&quot;/&amp;gt;&#xA;      &amp;lt;appendToFile value=&quot;true&quot;/&amp;gt;&#xA;      &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;        &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot;/&amp;gt;&#xA;      &amp;lt;/layout&amp;gt;&#xA;      &amp;lt;encoding value=&quot;utf-8&quot;/&amp;gt;&#xA;    &amp;lt;/appender&amp;gt;&#xA;    &amp;lt;appender name=&quot;WebDAVLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;      &amp;lt;file value=&quot;$(dataFolder)/logs/WebDAV.log.{date}.txt&quot;/&amp;gt;&#xA;      &amp;lt;appendToFile value=&quot;true&quot;/&amp;gt;&#xA;      &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;        &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot;/&amp;gt;&#xA;      &amp;lt;/layout&amp;gt;&#xA;      &amp;lt;encoding value=&quot;utf-8&quot;/&amp;gt;&#xA;    &amp;lt;/appender&amp;gt;&#xA;    &amp;lt;appender name=&quot;PublishingLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;      &amp;lt;file value=&quot;$(dataFolder)/logs/Publishing.log.{date}.txt&quot;/&amp;gt;&#xA;      &amp;lt;appendToFile value=&quot;true&quot;/&amp;gt;&#xA;      &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;        &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot;/&amp;gt;&#xA;      &amp;lt;/layout&amp;gt;&#xA;      &amp;lt;encoding value=&quot;utf-8&quot;/&amp;gt;&#xA;    &amp;lt;/appender&amp;gt;&#xA;    &amp;lt;root&amp;gt;&#xA;      &amp;lt;priority value=&quot;INFO&quot;/&amp;gt;&#xA;      &amp;lt;appender-ref ref=&quot;BufferingForwardingAppender&quot;/&amp;gt;&#xA;    &amp;lt;/root&amp;gt;&#xA;    &amp;lt;logger name=&quot;Sitecore.Diagnostics.WebDAV&quot; additivity=&quot;false&quot;&amp;gt;&#xA;      &amp;lt;level value=&quot;INFO&quot;/&amp;gt;&#xA;      &amp;lt;appender-ref ref=&quot;BufferingForwardingAppender&quot;/&amp;gt;&#xA;    &amp;lt;/logger&amp;gt;&#xA;    &amp;lt;logger name=&quot;Sitecore.Diagnostics.Publishing&quot; additivity=&quot;false&quot;&amp;gt;&#xA;      &amp;lt;level value=&quot;INFO&quot;/&amp;gt;&#xA;      &amp;lt;appender-ref ref=&quot;BufferingForwardingAppender&quot;/&amp;gt;&#xA;    &amp;lt;/logger&amp;gt;&#xA;    &amp;lt;logger name=&quot;Sitecore.Diagnostics.Crawling&quot; additivity=&quot;false&quot;&amp;gt;&#xA;      &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;      &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;      &amp;lt;appender-ref ref=&quot;BufferingForwardingAppender&quot; /&amp;gt;&#xA;    &amp;lt;/logger&amp;gt;&#xA;    &amp;lt;logger name=&quot;Sitecore.Diagnostics.Search&quot; additivity=&quot;false&quot;&amp;gt;&#xA;      &amp;lt;level value=&quot;INFO&quot; /&amp;gt;&#xA;      &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;      &amp;lt;appender-ref ref=&quot;BufferingForwardingAppender&quot; /&amp;gt;&#xA;    &amp;lt;/logger&amp;gt;&#xA;  &amp;lt;/log4net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But still it worked on my local instance and not on the Staging Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, I have setup a profiler to see if there are any request coming through but in vain. Nothing is being obtained. I have also set the db_owner permission on the User.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am making use of &lt;strong&gt;Sitecore 8.2 Update 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help?&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-01-23T09:29:26.567" Title="Log4net not inserting record into database" Tags="|sql-database|log4net|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3961" PostTypeId="1" CreationDate="2017-01-23T08:21:04.233" Score="2" ViewCount="1412" Body="&lt;p&gt;I am trying to get the items from sitecore based on template id using controller rendering.i am using glass mapper also.but values are not passed in to model.finally i am getting null reference exception. here is my code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace demo.MVC.Models&#xA;{&#xA;    public class BlogItems &#xA;    {  &#xA;      [SitecoreField(&quot;Title&quot;)]&#xA;      public virtual  string Title { get; set; }&#xA;      [SitecoreField(&quot;ThumbImage&quot;)]&#xA;      public virtual string ThumbImage { get; set; }&#xA;      [SitecoreField(&quot;EntryDate&quot;)]&#xA;      public virtual  string EntryDate { get; set; }  &#xA;    }&#xA;&#xA;   [SitecoreQuery(&quot;/sitecore/Content/demomvc/Home//*[@@templateid='{C016F8F2-500C-41E0-8FC7-CB2450702EDB}']&quot;, IsRelative = false)]&#xA;   public class blogs&#xA;   {&#xA;     public virtual IEnumerable&amp;lt;BlogItems&amp;gt; blogpage{get;set;}&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BindBlogsController : GlassController&#xA;{&#xA;    // GET: BindBlogs&#xA;    public ActionResult bind()&#xA;    {&#xA;       return view();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;View:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@using Sitecore.Mvc.Presentation&#xA;&#xA;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView &amp;lt;demo.MVC.Models.blog&amp;gt;&#xA;@{&#xA;}&#xA;&#xA;@foreach(var item in Model.blogPage)&#xA;{&#xA;    @Html.Sitecore().Field(&quot;Title&quot;, item)    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;finally it shows the error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;System.NullReferenceException: Object reference not set to an&#xA;  instance of an object.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I am using glass mapper 4.2 version,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;can anyone suggest how to retrieve the items from sitecore?&#xA;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="237" LastEditDate="2017-01-23T09:36:26.583" LastActivityDate="2017-02-22T20:18:49.360" Title="unable to get the items from sitecore using controller rendering &amp; glassmapper" Tags="|mvc|glass-mapper|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3962" PostTypeId="2" ParentId="3960" CreationDate="2017-01-23T09:29:26.567" Score="2" Body="&lt;p&gt;Assuming that you already checked that the configs of local and staging are in sync: did you try with log4net internal debugging? When log4net is working on one location and not on the other this has helped me a few times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try enabling this and (re-)start your application. If the connection cannot be established (as seems the case) -e.g. if anything is wrong with your connection string- it will log this. You can read &lt;a href=&quot;http://logging.apache.org/log4net/release/faq.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; how to set internal debugging:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Internal debugging can be enabled by setting a value in the application's configuration file. The log4net.Internal.Debug application setting must be set to the value true. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;appSettings&amp;gt;&#xA;        &amp;lt;add key=&quot;log4net.Internal.Debug&quot; value=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;/appSettings&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This setting is read immediately on startup an will cause all internal debugging messages to be emitted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As log4net internal debug messages are written to the System.Diagnostics.Trace system it is possible to redirect those messages to a local file. You can define a trace listener by adding the following to your application's .config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    ...&#xA;    &amp;lt;system.diagnostics&amp;gt;&#xA;        &amp;lt;trace autoflush=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;listeners&amp;gt;&#xA;                &amp;lt;add &#xA;                    name=&quot;textWriterTraceListener&quot; &#xA;                    type=&quot;System.Diagnostics.TextWriterTraceListener&quot; &#xA;                    initializeData=&quot;C:\...\log4net.txt&quot; /&amp;gt;&#xA;            &amp;lt;/listeners&amp;gt;&#xA;        &amp;lt;/trace&amp;gt;&#xA;    &amp;lt;/system.diagnostics&amp;gt;&#xA;    ...&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure that the process running your application has permission to write to this file.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-01-23T09:29:26.567" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3963" PostTypeId="1" AcceptedAnswerId="3964" CreationDate="2017-01-23T10:05:34.247" Score="1" ViewCount="602" Body="&lt;p&gt;I'm using the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/I/Integrated_Dynamic_Placeholders.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Integrated Dynamic Placeholders&lt;/a&gt; v1.2 and see the following 2 issues. Not sure if they are related.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In experience editor when I add &lt;code&gt;2 column 6-6&lt;/code&gt; component, it shows the placeholder only for &lt;code&gt;col-wide-1&lt;/code&gt;. It's not showing the placeholder for &lt;code&gt;col-wide-2&lt;/code&gt;. [I gave them colored borders to identify.]&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kV8ZG.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kV8ZG.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;I have added the components via content editor. And when I check the page in Experience editor, it has added another &lt;code&gt;2 column 6-6&lt;/code&gt; on its own.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OFAbq.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OFAbq.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1BVWK.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1BVWK.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Section Centered.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;section class=&quot;aboutUs&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;        @Html.Sitecore().DynamicPlaceholder(&quot;section-centered&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/section&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2 column 6-6.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;col-lg-6 col-md-6 col-sm-6&quot; style=&quot;border:1px solid red;&quot;&amp;gt;&#xA;        @Html.Sitecore().DynamicPlaceholder(&quot;col-wide-1&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;col-lg-6 col-md-6 col-sm-6&quot; style=&quot;border:1px solid green;&quot;&amp;gt;&#xA;        @Html.Sitecore().DynamicPlaceholder(&quot;col-wide-2&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I missing any setting here. Using Sitecore 8.2 with MVC&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-01-23T11:19:12.713" Title="component is added twice in dynamic placeholder" Tags="|dynamic-placeholder|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3964" PostTypeId="2" ParentId="3963" CreationDate="2017-01-23T10:14:20.600" Score="3" Body="&lt;p&gt;1) For the col-wide-2, make sure the &lt;strong&gt;Editable&lt;/strong&gt; checkbox is checked on the placeholder settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/or1hJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/or1hJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Have you perhaps added the 2-column-6-6 on the standard values of your template and then added it again through the page editor?&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="483" LastEditDate="2017-01-23T11:19:12.713" LastActivityDate="2017-01-23T11:19:12.713" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3965" PostTypeId="1" CreationDate="2017-01-19T11:55:40.210" Score="1" ViewCount="156" Body="&lt;p&gt;I'm trying to extend existing User Profile Template with some project specific fields. I thought it will be handy to do it by template inheritance. But seems like only fields directly declared in Profile Template are visible in User Manager. Please take a look on the screens below. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We have _UserProfile which holds base set of fields, &lt;/li&gt;&#xA;&lt;li&gt;I created interface template _Test_UserProfile with project specific fields.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I created Test_UserProfile template that inherits from _UserProfile and _Test_UserProfile&#xA;_ I added one field directly in Test_UserProfile&lt;/li&gt;&#xA;&lt;li&gt;then I created Profile Item that inherits from Test_UserProfile&lt;/li&gt;&#xA;&lt;li&gt;when I create user that uses my new Profile only directly declared fields are visible&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Do you guys know if there is any way to make this work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/togdE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/togdE.png&quot; alt=&quot;Profile template builder contains one directly declared field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pzDJ6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pzDJ6.png&quot; alt=&quot;Profile inherits from 2 other Profile Templates&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9NLEZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9NLEZ.png&quot; alt=&quot;In User Editor, profile tab, you can see only directly declated field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerDisplayName="Bartek KG" LastActivityDate="2017-01-23T10:51:01.747" Title="Sitecore custom user profile is not supporting inheritance?" Tags="|user-profile|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3966" PostTypeId="2" ParentId="3965" CreationDate="2017-01-19T15:53:35.543" Score="2" Body="&lt;p&gt;Can you try bellow solution : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)Copy the attached &lt;a href=&quot;https://www.dropbox.com/s/oo9mb6sed56mjkm/Sitecore.Support.350672.dll?dl=0&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Support.350672&lt;/a&gt; file to the bin folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)Open the Website\sitecore\shell\Applications\Security\EditUser\EditUser.xaml.xml file and implement the below change:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Comment  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Sitecore.Shell.Applications.Security.EditUser Application=&quot;Security/Edit User&quot; x:inherits=&quot;Sitecore.Shell.Applications.Security.EditUser.EditUserPage,Sitecore.Client&quot;&amp;gt;--&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and add next line of code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Sitecore.Shell.Applications.Security.EditUser Application=&quot;Security/Edit User&quot; x:inherits=&quot;Sitecore.Support.Shell.Applications.Security.EditUser.EditUserPage, Sitecore.Support.350672&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" OwnerDisplayName="Sitecore Climber" LastActivityDate="2017-01-19T15:53:35.543" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3967" PostTypeId="1" CreationDate="2017-01-23T11:40:23.530" Score="4" ViewCount="154" Body="&lt;p&gt;We import recipients from a file, which always has the same fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the import process we always have to assign the fields from the file to the Sitecore fields. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to save this fixed assignment once, so it does not have to be done every time we import?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use ​Sitecore 8.1 Up-1 rev. 151207 / ​EXM 3.2 Initial rev. 151020.&lt;/p&gt;&#xA;" OwnerUserId="1424" LastEditorUserId="121" LastEditDate="2017-01-23T13:16:25.633" LastActivityDate="2017-01-23T16:57:55.937" Title="In List Manager, is it possible to have a default field assignment when importing recipients from a file?" Tags="|list-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3968" PostTypeId="2" ParentId="3967" CreationDate="2017-01-23T12:51:00.960" Score="2" Body="&lt;h2&gt;Short Answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The out of the box solution is to ensure that the column names in your Excel CSV, match identically to the field names that they are being mapped to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an example, one of the out-of-the-box fields is called &lt;strong&gt;First Name&lt;/strong&gt;.   If your CSV column heading has &lt;strong&gt;&lt;em&gt;First Name&lt;/em&gt;&lt;/strong&gt;, then the Import Wizard will automatically select that and match it to the field.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Background Information&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Original question asked from the point of view of EXM. It was updated to reflect List Manager instead.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The Contact import process that you're talking about is actually not EXM specifically, but rather List Manager, which is a sub-product in the larger Sitecore XP. EXM simply integrates with List Manager to provide the functionality which is why it looks like EXM is doing the work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CSV Import process can be heavily modified to work with custom Contact facets. For additional information on that, you can browse the following blogs:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorehacker.com/2016/09/03/loading-xdb-contacts-with-csv-and-custom-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Loading xDB Contacts with CSV Custom Fields&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorehacker.com/2016/09/27/mapping-csv-fields-to-complex-sitecore-xdb-facets/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Mapping CSV Fields to Complex Sitecore xDB Contact Facets&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-01-23T16:57:55.937" LastActivityDate="2017-01-23T16:57:55.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3969" PostTypeId="1" AcceptedAnswerId="3970" CreationDate="2017-01-23T13:00:17.270" Score="5" ViewCount="1343" Body="&lt;p&gt;For a large number of implementations we use business logic to determine the actual body of an email and then send it through either smtp (or a custom save action in WFFM).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But would it make sense to use EXM for this behavior? The goal would be to use the reporting capabilities provided by EXM, not the personalization/editing capabilities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The e-mail would consist of a recipient and body that are pushed into EXM for a specific template and are then dispatched. I probably need an Engagement plan to trigger this email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would this be a good (and feasible) approach? The other option would be to use a tool like SendGrid that also provides bounce and open rate information. But if we can use Sitecore for this, that would be great.&lt;/p&gt;&#xA;" OwnerUserId="627" LastActivityDate="2017-01-23T16:54:51.383" Title="Send emails from EXM with custom data per triggered email" Tags="|exm|engagement-plans|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3970" PostTypeId="2" ParentId="3969" CreationDate="2017-01-23T13:16:53.320" Score="2" Body="&lt;p&gt;Yes, EXM is intended for this purpose among others. With EXM you can schedule dispatched emails (composed email sent to a large body of recipients), you can send triggered emails (the user does something on that site that sends them a one-off email), and you can also set up subscriptions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With EXM, you are actually composing an email in a very similar fashion to how you compose a web page in Sitecore. You can have sub-layouts and renderings that drive the business logic that constructs the email, and then mix that with the personalization of each Contact so that you can tailor the email for them (I know you said you weren't interested, but the feature is there OOTB).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After doing so, you gain all of the reporting features that come along with it, including Open rates, click rates, deliverability, device, location (assuming you have subscribed to device/location detection).&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;How Does It Work&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Currently, in EXM (version 3 through 3.4), Emails are attached to a campaign that is attached to an already built out Engagement plan that is used for the sending of that email. You &lt;strong&gt;&lt;em&gt;can&lt;/em&gt;&lt;/strong&gt; customize that engagement plan, however, it has been my experience that the default plan serves most all of the purposes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also a pretty well built out Client API that allows you to quickly send out triggered emails from the content delivery server to a recipient in kind of an on-the-fly way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have the ability to, I highly recommend using Sitecore 8.2 and EXM 3.4.  However, if you still have a lower version of Sitecore 8, then you probably want to use EXM 3.3 (which requires Sitecore 8.1 Update-3) This does require a subscription to Sitecore's Email Delivery service which is provided via Dyn.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Dyn Support Ending Q4 2017 (EXM 3.0 - EXM 3.3)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;However&lt;/em&gt;&lt;/strong&gt;, support for sending mail through Dyn (which is the company that sends mail on behalf of Sitecore's EXM) is &lt;strong&gt;ending this year&lt;/strong&gt;. This means that you won't be able to use EXM 3.3 or below without bringing your own Message Transfer Agent (MTA) which is totally possible by utilizing the CustomSMTP.config for EXM. SendGrid can be used as an MTA with EXM.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Sitecore Email Cloud Service (EXM 3.4)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Sitecore is pushing clients wanting to use EXM towards utilizing EXM 3.4, which requires a subscription to Sitecore's Email Cloud service. The purpose behind this is to increase the level of Reputation Management that is needed in order ensure your emails sent aren't marked as SPAM.  Previously, with Dyn, there has been a number of deliverability issues that have affected reputation scores on mail. To fix this, Sitecore has teamed up with Spark Post to provide a white label MTA.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;Technical Background&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Every mail message that Sitecore EXM sends out has an Item representing it. If it's a triggered email, where the item itself might be utilized over and over, but the content changes, then you would just reference that same Triggered Email.  So the first step is to create the item that represents the Mail email you're sending.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Very Simple Email Example&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Let's say you have a triggered email, where you already have a mechanism for creating the markup of the email. One way that you can do this is to have an EXM Mail Message item that consists of nothing more than a Rich Text Box field. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Just prior to sending the message you desire, you use standard Sitecore API to edit the field value for the Rich Text Box to include the email HTML needed to satisfy the body of the email.  After we're done, we want to ensure we get the &lt;strong&gt;MailMessage&lt;/strong&gt; item, which contains all of the information and details we need around constructing the actual mail message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;MessageItem message = Sitecore.Modules.EmailCampaign.Factory.GetMessage(messageItem.ID.ToString());&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Next step is to get the Contact that you want to send to. The recipient must be in Sitecore as an xDB contact already. If they are not, there are several ways to accomplish this (outside scope of this answer).  For EXM, we want to ensure we're using the xDB Contact notation, which is done via: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var recipientId = new XdbContactId(xdbContact.ContactId);&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Lastly, we want to send the email, which is a simple API method. The third argument is if we want the message to be sent async or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ClientApi.SendStandardMessage(message.MessageId, recipientId, true);&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Given that the EXM configuration is appropriately done, this will immediately dispatch an email to this user.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Complex Emails Different for Each Contact&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The process for sending a complex email, such as you hint at, where the content is significantly different, is really no different than the above process with maybe an additional step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, what you're looking to do specifically is create a sublayout/component that is applied to the email that contains the logic needed to build and differentiate the email. There's an assumption here that the logic and workflow for creating the body of an email.  Same as if you're building a component for a web page. The logic you need creates output that you then display to the mail message, just like you would for any other web page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then when an email is sent (either Triggered or in batch), you can fetch the Contact information, and build the email based off of it as needed.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-01-23T16:54:51.383" LastActivityDate="2017-01-23T16:54:51.383" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3972" PostTypeId="1" AcceptedAnswerId="3975" CreationDate="2017-01-23T16:21:22.833" Score="1" ViewCount="734" Body="&lt;p&gt;How to unlock  items that were locked by &lt;strong&gt;virtualssuser&lt;/strong&gt; sitecore 8.1 ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;query like it can't find any records about user in code database&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT UserId FROM dbo.aspnet_Users WHERE UserName like '%virtualssuser%'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="423" LastEditDate="2017-08-08T14:20:18.470" LastActivityDate="2017-08-08T14:20:18.470" Title="how to unlock all items that were locked by virtualssuser?" Tags="|sql-database|content-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3973" PostTypeId="2" ParentId="3762" CreationDate="2017-01-23T16:24:17.343" Score="1" Body="&lt;p&gt;Try this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static HtmlString DynamicPlaceholder(this Sitecore.Mvc.Helpers.SitecoreHelper helper, string dynamicKey, char identifier)&#xA;        {&#xA;            try&#xA;            {&#xA;                var currentRenderingId = RenderingContext.Current.Rendering.UniqueId;&#xA;                string key = string.Format(&quot;{0}|{1}_{2}&quot;, dynamicKey, identifier, currentRenderingId);&#xA;                return helper.Placeholder(key);&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Log.Error(&quot;SitecoreHelper - DynamicPlaceholder: Exception Ocurred &quot; + ex.Message + ex.StackTrace, ex);&#xA;                if (ex.InnerException != null)&#xA;                {&#xA;                    Log.Error(&quot;SitecoreHelper - DynamicPlaceholder: Inner Exception: &quot; + ex.InnerException.Message+ ex.InnerException.StackTrace, ex.InnerException);&#xA;                }&#xA;            }&#xA;            return helper.Placeholder(Guid.NewGuid().ToString());&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2017-01-23T16:24:17.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3974" PostTypeId="1" AcceptedAnswerId="3976" CreationDate="2017-01-23T16:30:41.290" Score="2" ViewCount="84" Body="&lt;p&gt;I upgraded our environment to Sitecore 8.2 Update 2.   I now am getting the following error on startup.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #6 17:01:24 INFO  Cache created: 'SqlDataProvider - Property data(production)' (max size: 500KB, running total: 5756MB)&#xA;8228 17:01:25 INFO  xDB Cloud - Get xDB-set with License Id: '20150130061746' - Deployment Id: 'JDA20150130061746' Attempt 2 of 5&#xA;8228 17:01:30 INFO  xDB Cloud - Get xDB-set with License Id: '20150130061746' - Deployment Id: 'JDA20150130061746' Attempt 3 of 5&#xA;8228 17:01:35 INFO  xDB Cloud - Get xDB-set with License Id: '20150130061746' - Deployment Id: 'JDA20150130061746' Attempt 4 of 5&#xA;8228 17:01:40 INFO  xDB Cloud - Get xDB-set with License Id: '20150130061746' - Deployment Id: 'JDA20150130061746' Attempt 5 of 5&#xA;8228 17:01:40 ERROR xDB Cloud - Exception during initializing occurred&#xA;System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1&amp;lt;Sitecore.Cloud.RestClient.IRestResponse`1&amp;lt;!!0&amp;gt;&amp;gt; Sitecore.Cloud.RestClient.IRestClient.ExecuteAsync(Sitecore.Cloud.RestClient.IRestRequest)'.&#xA;   at Sitecore.Cloud.Xdb.DiscoveryServiceClient.GetXdbSet(String licenseId, String deploymentId, String sitecoreVersion, String cloudXdbAssemblyVersion, String cloudSearchAssemblyVersion, String deploymentType)&#xA;   at Sitecore.Cloud.Xdb.DiscoveryServiceClient.&amp;lt;GetXdbSet&amp;gt;b__0()&#xA;   at Sitecore.Cloud.Xdb.Retryer.Execute[T](Func`1 task, Func`2 stopOnException, String message, Int32 retryNum, TimeSpan retryInterval)&#xA;   at Sitecore.Cloud.Xdb.DiscoveryServiceClient.GetXdbSet()&#xA;   at Sitecore.Cloud.Xdb.UpdateXdbConnectionStrings.Process(PipelineArgs args)&#xA;8228 17:01:40 ERROR xDB Cloud - xDB Cloud initialization failed. Please contact Sitecore Support via http://support.sitecore.net&#xA;8228 17:01:40 FATAL xDB Cloud - xDB Cloud initialization failed. Please contact Sitecore Support via http://support.sitecore.net&#xA;8228 17:01:40 INFO  xDB Cloud - Initialization failed&#xA;8228 17:01:40 INFO  [Analytics]: Started background service for 'maintenanceService'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As nothing else changed in the environment other than the upgrade I was curious if it was because 8.2 Update 2 support hadn't been deployed to their cloud xDB yet?&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2017-01-23T17:03:58.200" Title="Is there a way to tell what version of Sitecore Cloud xDB is currently supporting?" Tags="|xdb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3975" PostTypeId="2" ParentId="3972" CreationDate="2017-01-23T16:41:07.167" Score="1" Body="&lt;p&gt;i have tried a poc on this before &amp;amp; we can  achieve it using fast query to unlock items locked by a specific user if you have reasonable number of items to be unlocked.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;Item[] items = database.SelectItems(&quot;fast:/sitecore/content//*[@__lock='%user=%']&quot;);&#xA;foreach (var item in items){&#xA;    item.Editing.BeginEdit();&#xA;    item.Locking.Unlock();&#xA;    item.Editing.EndEdit(); &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="891" LastEditorUserId="95" LastEditDate="2017-01-23T17:07:51.650" LastActivityDate="2017-01-23T17:07:51.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3976" PostTypeId="2" ParentId="3974" CreationDate="2017-01-23T17:03:58.200" Score="2" Body="&lt;p&gt;As of the writing of this answer, Sitecore's xDB Cloud Service is not compatible currently with Sitecore XP 8.2 Update 2.&lt;/p&gt;&#xA;&lt;h2&gt;Supported Versions&lt;/h2&gt;&#xA;&lt;p&gt;According to the &lt;a href=&quot;https://kb.sitecore.net/articles/966080&quot; rel=&quot;nofollow noreferrer&quot;&gt;Compatibility Table&lt;/a&gt; for xDB Cloud, the  following versions are currently supported:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.0 Update 6&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.0 Update 7&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update 1&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update 2&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update 3&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2 Initial Release&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Unsupported Versions&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All of Sitecore 7.5 and below&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.0 Initial Release through Update 5&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1 Initial Release&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2 Update-1 (Coming February 2017)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2 Update-2 (Coming February 2017)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-01-23T17:03:58.200" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3977" PostTypeId="1" AcceptedAnswerId="4004" CreationDate="2017-01-23T17:49:57.033" Score="4" ViewCount="2922" Body="&lt;p&gt;I am upgrading Sitecore 8.0 to 8.1. In Sitecore 8.1 &lt;code&gt;Sitecore.xDB.base&lt;/code&gt; key is required. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how can i check that &lt;code&gt;Sitecore.xDB.base&lt;/code&gt; key is exists in license file?&lt;/p&gt;&#xA;" OwnerUserId="1160" LastEditorUserId="2727" LastEditDate="2018-03-01T10:01:26.253" LastActivityDate="2018-03-01T10:01:26.253" Title="How to check Sitecore.xDB.base in license file?" Tags="|upgrade|licensing|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3978" PostTypeId="2" ParentId="3977" CreationDate="2017-01-23T17:52:31.620" Score="5" Body="&lt;p&gt;It is actually as straight-forward as you might have guessed: all you need to do is open up your license file and search for the text &lt;code&gt;Sitecore.xDB.Base&lt;/code&gt; (case-insensitive). If you get a hit, then your license has an xDB Base key.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-01-23T18:12:24.487" LastActivityDate="2017-01-23T18:12:24.487" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3979" PostTypeId="1" AcceptedAnswerId="3980" CreationDate="2017-01-23T18:17:15.533" Score="9" ViewCount="389" Body="&lt;p&gt;So, I just upgraded to 8.2 Update 2 along with Glass.Mapper 4.3.4.196.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I now see a ton of Glass.Mapper INFO messages in my logs.   This adds a ton of noise to the logs.  Is there a reason this is happening or is this normal behavior.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1920 07:45:39 INFO GetModelFromView 0 {25363DC2-49BC-4FB9-84FF-F9164BE6CC3E}&#xA;1920 07:45:39 INFO GetModelFromView 0 {25363DC2-49BC-4FB9-84FF-F9164BE6CC3E}&#xA;1920 07:45:39 INFO GetModelFromView 0 {25363DC2-49BC-4FB9-84FF-F9164BE6CC3E}&#xA;1920 07:45:39 INFO GetModelFromView 0 {54661361-3C46-4AAA-A82B-6D649F43917F}&#xA;1920 07:45:39 INFO GetModelFromView 0 {1B427610-DB06-4F5B-AD35-8F1E8B8FD56B}&#xA;6720 07:45:39 INFO GetModelFromView 0 {FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&#xA;6720 07:45:39 INFO GetModelFromView 0 {9DC3117B-367E-4510-AB61-490DDC8359A5}&#xA;6720 07:45:39 INFO GetModelFromView 0 {FD8ED973-34E5-4544-9886-9269BA4C1227}&#xA;6720 07:45:39 INFO GetModelFromView 0 {729DA297-DB63-4362-B835-E3D4E0CC90E5}&#xA;6720 07:45:39 INFO GetModelFromView 0 {AF675ECD-84AC-4110-A334-EB1CA2A34452}&#xA;6720 07:45:39 INFO GetModelFromView 0 {25363DC2-49BC-4FB9-84FF-F9164BE6CC3E}&#xA;6720 07:45:39 INFO GetModelFromView 0 {5281E350-9958-457F-8D37-FD98134FC9A4}&#xA;1920 07:45:40 INFO GetModelFromView 0 {9D5CCD1F-4519-4633-BDFE-72AC41131609}&#xA;1920 07:45:41 INFO GetModelFromView 0 {25363DC2-49BC-4FB9-84FF-F9164BE6CC3E}&#xA;1920 07:45:41 INFO GetModelFromView 0 {5281E350-9958-457F-8D37-FD98134FC9A4}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="369" LastActivityDate="2021-06-23T13:18:57.227" Title="A ton of Glass.Mapper INFO messages in logs" Tags="|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3980" PostTypeId="2" ParentId="3979" CreationDate="2017-01-23T19:33:37.647" Score="7" Body="&lt;p&gt;I guess is a mistake in code. From my point of view these lines must be on Debug mode not Info mode.&lt;/p&gt;&#xA;&lt;p&gt;On line 124 we have&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; Sitecore.Diagnostics.Log.Info(&amp;quot;GetModelFromView {0} {1}&amp;quot;.Formatted(watch.ElapsedMilliseconds, args.Rendering.RenderingItem.ID), this);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;and  this line runs everytime GetModelFromView processor is running.&lt;/p&gt;&#xA;&lt;p&gt;Please check glass mapper source code :&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/5136ac34f2159d57966e6a499b3318ff3020bb55/Source/Glass.Mapper.Sc.Mvc/Pipelines/Response/GetModelFromView.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/blob/5136ac34f2159d57966e6a499b3318ff3020bb55/Source/Glass.Mapper.Sc.Mvc/Pipelines/Response/GetModelFromView.cs&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This should be fixed in Release 4.3.4.197.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="2126" LastEditDate="2020-08-31T21:02:34.373" LastActivityDate="2020-08-31T21:02:34.373" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="3981" PostTypeId="2" ParentId="3961" CreationDate="2017-01-23T19:47:50.503" Score="0" Body="&lt;p&gt;Try the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult bind()&#xA;{&#xA;    ISitecoreContext service = new SitecoreContext();&#xA;    var model = service.GetCurrentItem&amp;lt;blogs&amp;gt;();&#xA;    return View(model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-01-23T19:47:50.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3982" PostTypeId="1" AcceptedAnswerId="4879" CreationDate="2017-01-23T19:47:51.477" Score="5" ViewCount="1039" Body="&lt;p&gt;I'm attempting to add a reply-to address to an email I'm sending via WFFM 8.1. The save action I am using is &quot;Send Email Message.&quot; The email being sent includes the email address of the user filling out the associated form. I would like to use the user's email as the reply-to address.  In the email message editor, I do not see a reply-to email option so I assume I will need to write a custom save action. My question is twofold:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is it possible to add a reply-to address to the &quot;Send Email Message&quot; save action with out-of-the-box WFFM?&lt;/li&gt;&#xA;&lt;li&gt;If this functionality is not available out-of-the-box, it possible to extend the functionality of the &quot;Send Email Message&quot; save action to include a reply-to email while preserving the following UI that accompanies the save action?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/M46II.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M46II.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help!&lt;/p&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2017-03-13T15:59:35.167" Title="Add Reply-To Email to WFFM Send Email Message Save Action" Tags="|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="3983" PostTypeId="1" CreationDate="2017-01-23T20:55:51.417" Score="6" ViewCount="474" Body="&lt;p&gt;We have a Sitecore 8.1-3 instance. Previously we had used the user's Sitecore username as the identifier in xDB.  Then after the site was live for some time we realized that using the user's email address was a much better solution.  So we changed the site to use email address in the Identify method.  And the site has been running for a while with that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However this caused the unfortunate situation where we have some users that have two contacts in xDB - one identified by their Sitecore username and one identified by their email address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way that I can write a script that would merge these?  Ultimately what I would like to do is look for all of the contacts that are identified by their Sitecore username (OLD contact), then for each one of those go find their contact that is identified by their email address (NEW contact).  I would like to then transfer all of the Sitecore analytics activity from the OLD contact to the NEW contact.  Then delete the OLD contact.  Is this even possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now the problem we have is that when you search in Experience Profile you get double results for some contacts.  And some of the activity is assigned to one contact and some is assigned to the other contact.  We would like to find a way to clean this up.  Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2017-01-27T15:45:55.107" Title="How to write script to merge xDB contacts?" Tags="|xdb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3984" PostTypeId="2" ParentId="3977" CreationDate="2017-01-23T23:19:27.507" Score="4" Body="&lt;p&gt;You can use the following method to retrieve license info related to xDB:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;bool xDBAvailable = Sitecore.SecurityModel.License.License.HasModule(&quot;Sitecore.xDB.Base&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="581" LastEditorUserId="172" LastEditDate="2017-01-24T09:35:01.980" LastActivityDate="2017-01-24T09:35:01.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3986" PostTypeId="1" AcceptedAnswerId="3988" CreationDate="2017-01-24T10:58:37.910" Score="1" ViewCount="985" Body="&lt;p&gt;I received a client request where they want me to modify the Author role; so that any user with this role can view and modify a subset of items, and can publish only a single item at a time and not the entire site, is there a role or group that would provide such access?&lt;/p&gt;&#xA;" OwnerUserId="329" LastActivityDate="2017-01-24T18:00:15.220" Title="How to allow a user to publish items one by one, but not the entire site" Tags="|security|content-management|role-management|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="3988" PostTypeId="2" ParentId="3986" CreationDate="2017-01-24T11:15:02.060" Score="2" Body="&lt;p&gt;Thanks Marek for leading me in the right way, there is a great blog post about hiding the Publish Site buttons written by Marek himself, basically what needs to be done is the following&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In order to hide them, you need to switch the database to Core, run the Security Editor application, select the role and:&#xA;  remove the Read permission from the sitecore &gt; content &gt; document and settings &gt; all users &gt; start menu &gt; left &gt; publish site item,&#xA;  deny the Read permission from the sitecore &gt; content &gt; applications &gt; content editor &gt; menues &gt; publish site item.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="329" LastActivityDate="2017-01-24T11:15:02.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3989" PostTypeId="2" ParentId="3986" CreationDate="2017-01-24T11:21:11.013" Score="3" Body="&lt;p&gt;Try to make your &quot;Author&quot; role a member of &quot;Sitecore Client Publishing&quot; role to view and modify a subset of items, and can publish only a single item.&lt;/p&gt;&#xA;" OwnerUserId="635" LastActivityDate="2017-01-24T11:21:11.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3990" PostTypeId="1" CreationDate="2017-01-24T11:56:17.847" Score="5" ViewCount="592" Body="&lt;p&gt;Our team began to write blog posts about Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I let the Sitecore community know that there's a new interesting blog? What channels can I use to promote it?&lt;/p&gt;&#xA;" OwnerUserId="1428" LastEditorUserId="104" LastEditDate="2017-01-24T12:41:54.087" LastActivityDate="2017-01-24T13:23:28.337" Title="Where to list a new blog about Sitecore?" Tags="|community|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3991" PostTypeId="2" ParentId="3990" CreationDate="2017-01-24T12:05:46.153" Score="3" Body="&lt;p&gt;Join SitecoreChat Slack: &lt;a href=&quot;https://docs.google.com/forms/d/e/1FAIpQLScsJX9PC3m8u-labRn_BNnByR0aiAxPYowN-doed6_t45aPhg/viewform&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.google.com/forms/d/e/1FAIpQLScsJX9PC3m8u-labRn_BNnByR0aiAxPYowN-doed6_t45aPhg/viewform&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a #blogfeed channel. Contact with admin to include your rss feed there.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-01-24T12:05:46.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3992" PostTypeId="2" ParentId="3990" CreationDate="2017-01-24T12:41:23.743" Score="2" Body="&lt;p&gt;You can request to be included in the &lt;a href=&quot;http://feeds.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore feed&lt;/a&gt; here: &lt;a href=&quot;https://community.sitecore.net/general/f/11/t/4183&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/general/f/11/t/4183&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-01-24T12:41:23.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3993" PostTypeId="1" AcceptedAnswerId="4015" CreationDate="2017-01-24T13:02:49.177" Score="4" ViewCount="951" Body="&lt;p&gt;Upgraded from WFFM 2.4 to 8.2u1. Forms that already exist is able to add new fields and edit in any way. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If i create a new form and try to press &quot;Add field&quot; in the form designer this error pops up:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OsArp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OsArp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="756" LastActivityDate="2017-05-09T19:18:32.497" Title="WFFM. &quot;Collection is read-only&quot; when trying to add field in designer" Tags="|wffm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3995" PostTypeId="2" ParentId="3990" CreationDate="2017-01-24T13:14:09.257" Score="2" Body="&lt;p&gt;You have a number of channels available, but allow me to start by stating the obvious. For people to catch attention to your blog it must, indeed, be interesting. If it is, the Sitecore community will link to your posts, refer to your posts, tweet about your posts and promotion comes on its own.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, and I'm including answers already given here, here is where I would start:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Join Slack - as @Marek points out. There is an invite form at &lt;a href=&quot;https://docs.google.com/forms/d/e/1FAIpQLScsJX9PC3m8u-labRn_BNnByR0aiAxPYowN-doed6_t45aPhg/viewform&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.google.com/forms/d/e/1FAIpQLScsJX9PC3m8u-labRn_BNnByR0aiAxPYowN-doed6_t45aPhg/viewform&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Get your blog into the official Sitecore Blog Feed (&lt;a href=&quot;http://feeds.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://feeds.sitecore.net/&lt;/a&gt;) - request to be included here: &lt;a href=&quot;https://community.sitecore.net/general/f/11/t/4183&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/general/f/11/t/4183&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Tweet. Not just when you post, but start participating in the Sitecore community banter on Twitter. Use @Sitecore and #sitecore to be noticed and eventually gain followers.&lt;/li&gt;&#xA;&lt;li&gt;Update your personal profile, here, on Slack, on Twitter&lt;/li&gt;&#xA;&lt;li&gt;Present at your local Sitecore User Group, get your name out there. And you have an intro slide for shameless self promotion ;-)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And just keep at it. Over time, your blog will attract more and more SEO juice. Don't be discouraged if the response isn't overwhelming right at the start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good luck.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-24T13:14:09.257" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3996" PostTypeId="2" ParentId="3990" CreationDate="2017-01-24T13:23:28.337" Score="5" Body="&lt;p&gt;You can also post to the various Social Media groups:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore group on Facebook: &lt;a href=&quot;https://www.facebook.com/groups/6932529533/&quot;&gt;https://www.facebook.com/groups/6932529533/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore group on LinkedIn: &lt;a href=&quot;https://www.linkedin.com/groups/71381&quot;&gt;https://www.linkedin.com/groups/71381&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Developer group on LinkedIn: &lt;a href=&quot;https://www.linkedin.com/groups/3066050&quot;&gt;https://www.linkedin.com/groups/3066050&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore on Reddit: &lt;a href=&quot;https://www.reddit.com/r/sitecore/&quot;&gt;https://www.reddit.com/r/sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also get your post added to the Sitcore Links collection: &lt;a href=&quot;http://sitecore.link/Suggest&quot;&gt;http://sitecore.link/Suggest&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget, it perfectly valid to provide links to your own blog posts on answers here on StackExchange and also on StackOverflow - just be mindful not to provide Link-Only answers (i.e. if the blog post was to disappear the answer should still be valid on it's own)&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-01-24T13:23:28.337" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="3997" PostTypeId="1" AcceptedAnswerId="4324" CreationDate="2017-01-24T13:36:44.330" Score="5" ViewCount="354" Body="&lt;p&gt;I was doing some initial digging into the Sitecore PaaS version that deploys the XM1 configuration. While doing so, I noticed that there was an 'automation options' link that allowed me to view template details and parameters and there was an upload template option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If one were to upload a custom Sitecore ARM template (say the XP1 template from Sitecore) would the Marketplace wizard be able to use it to provision? Or can you upload customized XM1 templates?&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="73" LastEditDate="2017-02-09T16:25:55.683" LastActivityDate="2017-02-10T09:05:01.010" Title="In Sitecore PaaS can we use a custom ARM template in the Marketplace wizard?" Tags="|azure|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="3998" PostTypeId="1" CreationDate="2017-01-24T14:12:56.460" Score="3" ViewCount="1498" Body="&lt;p&gt;I had a good debate with friends at work to decide where we should keep user profile and why? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the discussion goes on we had these key points below which I feel our competency is up to only a certain extend. So &lt;strong&gt;I thought I would ask for your opinion here&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Background: We setup a Sitecore instance to serve websites for Europe continent with multiple domain name, 60% common layouts, different content, different languages. We know there are common data fields among the sites. There should be around 500K users in the core database when the system rolled out. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Custom data in new table&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Small data I/O foot print&lt;/li&gt;&#xA;&lt;li&gt;Easier to code for CRUD data&lt;/li&gt;&#xA;&lt;li&gt;Easier to write export to Excel code by put DataTable object to the existing function. The outstanding data fields get normalize before save to DB.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I don't know when was the last time there was a problem in our SQL servers. I believe our database server is quite strong.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;All in Sitecore&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Fully engaged with Sitecore&lt;/li&gt;&#xA;&lt;li&gt;All fields can be found in Sitecore admin UI &lt;/li&gt;&#xA;&lt;li&gt;The data might be usable in xDB&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The code can be complicated&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="722" LastEditorUserId="73" LastEditDate="2017-05-07T22:27:23.797" LastActivityDate="2017-05-07T22:27:23.797" Title="Why we should keep all user profile data in Sitecore?" Tags="|best-practices|membership-provider|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="3999" PostTypeId="1" AcceptedAnswerId="4014" CreationDate="2017-01-24T15:58:39.613" Score="3" ViewCount="189" Body="&lt;p&gt;In Sitecore (I'm specifically working with version 7.5 right now, but I believe this applies to other versions), when you mark a field as shared or unshared, you receive a popup that a lengthy background process has started. Is there any way to definitely determine when this process has finished?&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-01-24T22:26:03.280" Title="How can I determine when a shared/unshared background process has finished?" Tags="|templates|logging|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4000" PostTypeId="2" ParentId="3998" CreationDate="2017-01-24T16:03:00.390" Score="3" Body="&lt;p&gt;Typically I like to keep users in Sitecore unless there is a third party membership provider, active directory, OAuth, or SSO solution. If you do not need to use an external membership provider, then use Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, with external users, you have to make the decision of using a virtual user to authenticate the user or create a Custom Membership Provider, which may not be worth it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you know there will be 500K users when the system rolls out with multiple domains, I would recommend using Sitecore. &lt;/p&gt;&#xA;" OwnerUserId="1192" LastEditorUserId="1192" LastEditDate="2017-01-24T16:42:48.573" LastActivityDate="2017-01-24T16:42:48.573" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4001" PostTypeId="2" ParentId="3998" CreationDate="2017-01-24T16:06:45.100" Score="6" Body="&lt;p&gt;If you have a lot of custom user profile data, especially if you have 500k+ users, then your best bet is probably going to be to create a custom SQL database and store your user data, with a key for the each user's record(s) in the database stored in a custom Sitecore user profile field (assuming you are using Sitecore membership, which I believe your question implies)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is especially true when you store complex objects, since all properties must be serializable and you really don't want to slow your UserProvider and user access logic down. By the same token, if you add a large amount of data to your user profiles, especially when you have a large number of users (like you're expecting), you will likely experience a noticeable decrease in performance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given the above, we can conclude from an extensibility and performance standpoint that a custom database is the right decision, but how about from a GUI perspective? What if your authors want to be able to view the data for each user in Sitecore? The reality is that, given the number of users that you are describing, you should probably create a custom interface anyway for viewing user data. Sitecore's User Manager is meant more for managing securities, roles, etc. than viewing user data. Performance is not optimized and searching in this tool is neither robust nor extensible. If viewing user data is a requirement for you, then this question may come down to cost and budget for your project.  &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-01-24T16:06:45.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4002" PostTypeId="1" CreationDate="2017-01-24T16:09:17.140" Score="3" ViewCount="946" Body="&lt;p&gt;First of all, I'm sorry for my question because I'm beginner in Sitecore SXA and in English too. ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm working on SXA compatible component and I have already advanced well I think but I must have missed a few elements for my module to be complete and be 100% compatible with SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So, I don't know really if my method is the best for a custom component? And if I forgot to do something?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here I proceeded to realize my module, and it's just a component to make a list of tree buttons:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I made a model that implements &lt;code&gt;RenderingModelBase&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I made a controller which implements &lt;code&gt;StandardController&lt;/code&gt; with a method that retrieves the current datasource and then creates a model based on this datasource:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qeJ4R.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qeJ4R.png&quot; alt=&quot;My controller&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;And a view for my index ActionResult :&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pAvNe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pAvNe.png&quot; alt=&quot;My view&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;And after publishing on my website root, I make a template for my component in the Content Editor.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I added the base template for my rendering parameter, &lt;code&gt;IStyling&lt;/code&gt; and &lt;code&gt;IComponentVariant&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I add a rendering using this template rendering parameter and use my controller name and ActionResult name.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Next, I add this rendering in my toolbox, by adding an available rendering in my presentation folder and add this rendering inside.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And now, I can add this component in the Experience Editor, so it's great but I'm not sure if it's really good...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;because :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I don't see my CSS, my tree button it's just tree links...&lt;/li&gt;&#xA;&lt;li&gt;I don't use &lt;code&gt;@Model.CssClasses.Aggregate()&lt;/code&gt; on my view because I can't ( I have an error if I use it ) but I see it on the other question in this site. So how can I use it and why?&lt;/li&gt;&#xA;&lt;li&gt;I don't use the parameters &lt;code&gt;_repository&lt;/code&gt; in my controller, and I do not know what it really is, but I see it on the other question on this site. So the same question how can I use it and why?&lt;/li&gt;&#xA;&lt;li&gt;And finally, I'm not sure about putting these different items in the right place in my website file? Can someone show me what is the best practice?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I know that my questions may seem simple for some, but I confess that I am a little lost and I have not managed to find any answers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In any case, thank you for having already read my post and even more if you answer it!&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1429" LastEditorUserId="4050" LastEditDate="2019-12-27T12:35:46.720" LastActivityDate="2019-12-27T12:35:46.720" Title="SXA custom component, Is my component correct?" Tags="|mvc|sxa|css|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="4003" PostTypeId="2" ParentId="3999" CreationDate="2017-01-24T16:14:59.867" Score="1" Body="&lt;p&gt;while performing some actions (like you mentioned),there should be a master Index update based on your index strategy i.e by default it should be 'SYNCMASTER'. you can get the status of the background operation through JOB viewer through Sitecore Rocks. Below snapshot shows the background changing the process from 'QUEUED' to 'COMPLETED'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ICm6r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ICm6r.png&quot; alt=&quot;Master Index updated as shown&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-01-24T16:14:59.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4004" PostTypeId="2" ParentId="3977" CreationDate="2017-01-24T16:22:12.153" Score="5" Body="&lt;p&gt;Here's another way to check if your license does have the XDB enabled or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps are login to your content editor and then click on the RED top left side hamburger menu as shown in below image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then click on license&lt;/p&gt;&#xA;&#xA;&lt;p&gt;on opening model window scroll down all the way below where you will see entry named like sitecore.xdb.base and date. as show below in image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you do not see entry with XDB that means your license is not XDB enabled&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H6L5p.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H6L5p.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mrunal &lt;/p&gt;&#xA;" OwnerUserId="1341" LastActivityDate="2017-01-24T16:22:12.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4005" PostTypeId="1" CreationDate="2017-01-24T16:53:26.033" Score="0" ViewCount="953" Body="&lt;p&gt;I'm having a lot of trouble getting our solution working in VS 2015 using the latest version of Glass.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As suggested previously I have checked all projects and they now all have consistent DLL version references. &lt;code&gt;System.Web.Mvc&lt;/code&gt; is version &lt;code&gt;5.2.3.0&lt;/code&gt;&#xA;Target framework is version &lt;code&gt;4.5.2&lt;/code&gt; in all projects and in web.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've completed removed all existing Glass references and then used NuGet to add &lt;code&gt;Glass.Mapper.Sc&lt;/code&gt; latest version &lt;code&gt;4.3.4.196&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have got rid of all my other problems and build warnings, but I do still get this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Warning     Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. Domain  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets 1820&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Checking the output log I see the warnings are caused by &lt;code&gt;Glass.Mapper.Sc.Mvc.dll&lt;/code&gt;. When I check the build output I can see that &lt;code&gt;Glass.Mapper.Sc.Mvc.dll&lt;/code&gt; references &lt;code&gt;Sitecore.Mvc, Version=1.0.0.0&lt;/code&gt; and &lt;code&gt;Sitecore.Kernel, Version=8.1.0.0&lt;/code&gt;. There doesn't appear to be anything I can do to fix this as there isn't a version that references &lt;code&gt;Sitecore.Mvc, Version=1.1.0.0&lt;/code&gt; and &lt;code&gt;Sitecore.Kernel, Version=10.0.0.0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could this be causing issues or should I ignore these warnings?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue I am facing in my cshtml files is an Intellisense error whenever I use &lt;code&gt;GlassView&lt;/code&gt; methods such as &lt;code&gt;Editable&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error   CS0012  The type 'Expression&amp;lt;&amp;gt;' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Yes, I have added a reference to &lt;code&gt;System.Core&lt;/code&gt; but it doesn't help. My solution still works when I build and deploy to IIS!&lt;/p&gt;&#xA;" OwnerUserId="1236" LastEditorUserId="1192" LastEditDate="2017-01-25T07:42:24.180" LastActivityDate="2017-01-26T19:34:14.883" Title="Sitecore 8.2 Glass.Mapper strange intellisense errors in cshtml files" Tags="|glass-mapper|nuget|visual-studio|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4006" PostTypeId="1" AcceptedAnswerId="4010" CreationDate="2017-01-24T16:57:20.700" Score="3" ViewCount="823" Body="&lt;p&gt;I'm working on a clients site and I am currently facing a weird behavior, when right clicking items on the item tree to add a new child item, I am getting options to insert items of different template types even though that I manually cleared the insert options for that item, I even cleared them for the standard values of that items template and restored the insert options for that item to default, but I am still getting those options, something that I noticed and could be of help, is that all the items under the site node including the site node itself have the ability to add the same types of items, even though when going through any items insert options you would find that they are empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could I be missing? and how can I remove these unwanted insert options.&lt;/p&gt;&#xA;" OwnerUserId="329" LastActivityDate="2017-01-25T09:45:41.290" Title="Getting insert options even though item is configured to have none" Tags="|templates|branch|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="4007" PostTypeId="2" ParentId="3367" CreationDate="2017-01-24T17:09:00.753" Score="3" Body="&lt;p&gt;As it turns out, there is actually a Sitecore setting that controls whether or not Sitecore should check security on each node when rendering the tree. If set to false, all nodes are shown and the error message that I described in my post is displayed if/when a user tries to open an item they do not have read access to.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;  CONTENT EDITOR CHECK SECURITY ON TREE NODES&#xA;            Determines if the content editor checks the security settings on subitems&#xA;            when rendering the tree. Setting this to false may increase performance.&#xA;            Default value: true.&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;ContentEditor.CheckSecurityOnTreeNodes&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While the default value of this setting is true, in my case it turns out that one of the devs disabled this setting for sake of performance on their local environment and accidentally committed the change. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-01-24T17:09:00.753" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4008" PostTypeId="2" ParentId="3986" CreationDate="2017-01-24T18:00:15.220" Score="1" Body="&lt;h1&gt;Sitecore PowerShell Extensions&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You could consider using something like the &lt;a href=&quot;http://www.sitecorenutsbolts.net/2015/12/14/Multi-Item-Publish-with-Sitecore-Powershell-Extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Multi-Item Publish with SPE&lt;/a&gt;. Richard Seal did a nice job building a module as an addon to Sitecore PowerShell Extensions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You essentially get a convenient UI to select items and publish.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YThX2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YThX2.png&quot; alt=&quot;Picture taken from the article&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script and script library is aware of the rules engine, therefore allowing you to specify security for your custom group.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Docs&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;See more documentation in the &lt;a href=&quot;https://doc.sitecorepowershell.com/content-editor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;book&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-01-24T18:00:15.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4009" PostTypeId="1" AcceptedAnswerId="4011" CreationDate="2017-01-24T18:05:05.797" Score="5" ViewCount="530" Body="&lt;p&gt;I have a Sitecore 8.1-3 instance. I am trying to get the Datetime that the user's password was last changed.  I am using this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var membershipUser = Membership.GetUser(myUserName);&#xA;var elapsedTimeSinceLastPasswordChange = DateTime.Now - membershipUser.LastPasswordChangedDate;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am finding that &lt;code&gt;membershipUser.LastPasswordChangedDate&lt;/code&gt; is always 5 hours ahead of the time on my machine.  I am running all of this on my local computer.  I am in the US Eastern time zone.  The time on my PC is correct.  And I have the following setting in my Sitecore.config file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;Eastern Standard Time&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something?&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2017-01-24T18:54:17.347" Title="Why is my LastPasswordChangedDate 5 hours in the future?" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4010" PostTypeId="2" ParentId="4006" CreationDate="2017-01-24T18:19:33.140" Score="2" Body="&lt;p&gt;It turns out that the cause to my issue was lying within the rules set under Sitecore -&gt; System -&gt; Settings -&gt; Rules -&gt; Insert Option Rules,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These rules make it easier to set insert options for a large set of items using simple logic, without having to set them in the standard values for those items templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following is a sample rule that will reflect on the home item and all of its descendants except the settings item and its descendants to add 2 insert options, one to add a &quot;Page&quot; Item and the other to add a &quot;Blogs Page&quot; item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;where&quot; the item is &quot;Home&quot; item or one of its descendants&#xA;&quot;and&quot; &quot;except where&quot; the item is the &quot;Settings&quot; item or one of its descendants &#xA;add &quot;Page&quot; insert option&#xA;&quot;and&quot; add &quot;Blogs Page&quot; insert option&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="329" LastEditorUserId="329" LastEditDate="2017-01-25T09:45:41.290" LastActivityDate="2017-01-25T09:45:41.290" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4011" PostTypeId="2" ParentId="4009" CreationDate="2017-01-24T18:39:01.947" Score="4" Body="&lt;p&gt;If you are in Eastern Standard Time then that means that you are 5 hours behind UTC. The &lt;code&gt;LastPsswordChangedDate&lt;/code&gt; stored in the database is always in UTC to avoid issues with changing time-zones. This way, logic that views the stored value can be set to view it in the time-zone that you specified in the &lt;code&gt;ServerTimeZone&lt;/code&gt; setting. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The general idea here is that the data should be separate from and thus should not depend on the business logic. Regardless of what you set as a display setting/preference/etc. the data should be consistent and standardized, so that the logic run on the data simply determines how it is to be presented. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Getting time in the &lt;code&gt;ServerTimeZone&lt;/code&gt; using Sitecore's &lt;code&gt;DateUtil&lt;/code&gt; methods&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;What you want to do is use Sitecore's &lt;code&gt;DateUtil&lt;/code&gt; class to convert the resulting time to the server time that you specified. You are looking for the &lt;code&gt;Sitecore.DateUtil.ToServerTime(...)&lt;/code&gt; method. Your &lt;code&gt;DateTime.Now&lt;/code&gt; should be returned in the server time, but your &lt;code&gt;membershipUser.LastPasswordChangedDate&lt;/code&gt; is still in UTC and must be converted, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var membershipUser = Membership.GetUser(myUserName);&#xA;var passwordChangedDate = Sitecore.DateUtil.ToServerTime(membershipUser.LastPasswordChangedDate);&#xA;var elapsedTimeSinceLastPasswordChange = DateTime.Now - passwordChangedDate;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-01-24T18:54:17.347" LastActivityDate="2017-01-24T18:54:17.347" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4012" PostTypeId="2" ParentId="4005" CreationDate="2017-01-24T20:27:58.397" Score="1" Body="&lt;p&gt;I would recommend turning on diagnostics in the build log to get more details. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Visual Studio 2015, turn on diagnostics of your MSBuild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to Tools &gt;&gt; Options &gt;&gt; Project and Solutions &gt;&gt; Build and Run &gt;&gt; MSBuild project build output verbosity&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will give you details on the build and you can see what Visual Studio thinks there is a conflict.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most likely, you will need to uninstall the Glass NuGet package and any other NuGet packages that are affected, clean your solution, and delete the appropriate packages under the packages folder of your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also search in the output of the build for the word &quot;chosen&quot; (I believe), this will tell you the paths of versions of Glass that were found.&lt;/p&gt;&#xA;" OwnerUserId="1192" LastEditorUserId="1192" LastEditDate="2017-01-26T19:34:14.883" LastActivityDate="2017-01-26T19:34:14.883" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4013" PostTypeId="2" ParentId="3939" CreationDate="2017-01-24T20:49:04.383" Score="1" Body="&lt;p&gt;&lt;code&gt;GetPlaceholderRenderings&lt;/code&gt; pipeline will be executed for each placeholder on the page so you will be able to process each nested placeholder and a make decision about available renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your &lt;code&gt;Process&lt;/code&gt; method accepts &lt;code&gt;GetPlaceholderRenderingsArgs&lt;/code&gt; type as an argument.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;GetPlaceholderRenderingsArgs&lt;/code&gt; type contains:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;PlaceholderRenderings&lt;/code&gt; - list of Rendering items. &lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;PlaceholderKey&lt;/code&gt; - current placeholder path&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;PlaceholderKey&lt;/code&gt; returns a placeholder path (not single placeholder key), so you can check whether your currently processed placeholder is nested under &lt;code&gt;content&lt;/code&gt;/&lt;code&gt;right-sidebar&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-01-24T20:49:04.383" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4014" PostTypeId="2" ParentId="3999" CreationDate="2017-01-24T22:26:03.280" Score="1" Body="&lt;p&gt;You can check the database to see if there is any data still present within the SharedFields table.  The data for Shared, Versioned and Unversioned fields are stored within different tables.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT COUNT(*) FROM [Sitecore_Web].[dbo].[SharedFields] WHERE [FieldId] = 'your field id'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="817" LastActivityDate="2017-01-24T22:26:03.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4015" PostTypeId="2" ParentId="3993" CreationDate="2017-01-24T22:37:11.577" Score="7" Body="&lt;p&gt;This is caused by a missing sub-item within the Web Forms for Marketers base form creation process.  To fix this until Sitecore corrects the issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go into the Content Editor and find your Form&lt;/li&gt;&#xA;&lt;li&gt;Right click on your form and insert a new Form Section (or select it and use your insert options)&lt;/li&gt;&#xA;&lt;li&gt;Give it a name&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That should get you working again.  Until a fix is ready, I have created a basic form with just a &quot;Fields&quot; section and instead of creating a new form, I just click the button to copy from an existing form.&lt;/p&gt;&#xA;" OwnerUserId="817" LastActivityDate="2017-01-24T22:37:11.577" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4016" PostTypeId="1" AcceptedAnswerId="4017" CreationDate="2017-01-25T03:47:15.280" Score="4" ViewCount="4995" Body="&lt;p&gt;We have set up two CD server( &lt;a href=&quot;http://cds1mysite.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://cds1mysite.com&lt;/a&gt; &amp;amp; &lt;a href=&quot;http://cds2mysite.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://cds2mysite.com&lt;/a&gt; ) in clustered environment where redirection to these URLs handled by LoadBalancer. Website public URL is &lt;a href=&quot;https://www.mysite.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.mysite.com&lt;/a&gt; &#xA;So If we use following code to get server URL it's returning CD server URL not public URL. Instead it should return &lt;a href=&quot;https://www.mysite.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.mysite.com&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string serverurl = Sitecore.Globals.ServerUrl;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do we have any other way to access public URL&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="423" LastEditDate="2017-08-07T19:41:26.907" LastActivityDate="2017-08-07T19:41:26.907" Title="How to access ServerUrl when sitecore website setup in clustered enviroment" Tags="|scaling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4017" PostTypeId="2" ParentId="4016" CreationDate="2017-01-25T03:57:00.837" Score="6" Body="&lt;p&gt;Normally you already specified the hostname in the site definition configuration file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get the hostname by calling &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Context.Site.HostName&lt;/code&gt; or &lt;code&gt;Sitecore.Context.Site.TargetHostName&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you have a list of sites domain delimited by &lt;code&gt;|&lt;/code&gt;, it will return you all the values from the &lt;code&gt;hostName&lt;/code&gt; attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can split by &lt;code&gt;|&lt;/code&gt; to get the different sites URL. If you specify the targetHostName attribute as &lt;a href=&quot;https://www.mysite.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.mysite.com&lt;/a&gt;, then you can make use of the TargetHostName.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Proposed Solution 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can either change the position of the urls in the hostName from&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;hostName=&quot;cms.mysite.com|www.mysite.com|33.44.54.123&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;hostName=&quot;www.mysite.com|cms.mysite.com|33.44.54.123&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then when you split, you take the first one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Proposed Solution 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make use of the targetHostName in your SiteDefinition.config as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;hostName=&quot;cms.mysite.com|www.mysite.com|33.44.54.123&quot;&#xA;targetHostName=&quot;www.mysite.com&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, make use of the code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var url = Sitecore.Context.Site.TargetHostName;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is better to not use Sitecore.Context.Site.HostName but Sitecore.Context.Site.TargetHostName because the HostName property is ok while you one have only one Hostname per site in the web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The TargetHostName take the property TargetHostName of the site if specified in the site tag of the web.config or the first hostname if this property is not specified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;http://sitecoreblog.blogspot.com/2010/12/dont-use-hostname.html?m=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreblog.blogspot.com/2010/12/dont-use-hostname.html?m=1&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-01-26T05:42:41.653" LastActivityDate="2017-01-26T05:42:41.653" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="4020" PostTypeId="1" CreationDate="2017-01-25T10:31:13.577" Score="3" ViewCount="5604" Body="&lt;p&gt;I want to implement character limit on input by user on Single-Line text and Multi-Line Text fields. Please guide me.&lt;/p&gt;&#xA;" OwnerUserId="803" LastActivityDate="2017-01-30T06:39:56.063" Title="How to implement character limit validation on Single-Line Text and Multi-Line Text fields?" Tags="|validation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4021" PostTypeId="2" ParentId="4020" CreationDate="2017-01-25T10:49:41.030" Score="6" Body="&lt;p&gt;You need just to assign a validation rule to your fields&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore field validators is a set of user-input validators that can be applied to either an item, a specific field type or a specific field on a specific item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore comes with a set of standard validators, including broken links validation, email validators, max length validators and XHTML/W3C validation. You can find all validation rules at &lt;code&gt;/sitecore/system/settings/validation rules&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/s668q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s668q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You apply rules to fields on individual items by selecting the field on a template to apply validation. Select the Validation Rules secion and select the rules to apply in the fields “Quick Action Bar” (applies validation to the left of the field), “Validate Button” (validation is run when clicking the Validation button on the Review tab), “Validator Bar” (applies validaton to the bar at the right of the fields) and the “Workflow” (applies validation when workflow is running).&#xA;     &lt;a href=&quot;https://i.stack.imgur.com/0VCaX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0VCaX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More informations you can found here: &lt;a href=&quot;https://briancaos.wordpress.com/2011/05/09/using-sitecore-field-validators/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2011/05/09/using-sitecore-field-validators/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="605" LastEditDate="2017-01-30T06:39:56.063" LastActivityDate="2017-01-30T06:39:56.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4022" PostTypeId="2" ParentId="4020" CreationDate="2017-01-25T10:53:22.667" Score="0" Body="&lt;p&gt;hi you can crete custom sitecore field validators especially 'Max Length' validation rules  under 'sitecore/system/settings/validation rules/' from the template '/sitecore/templates/System/Validation/Validation Rule'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;'Parameters' field should be like '[parameter]=[value]&amp;amp;[parameter]=[value]'&#xA;i.e. like building a querystring.&#xA;One of the parameter is result &amp;amp; it defines the default result value of a validation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;start implementing this custom validation rule to the item or __Standardvalues under field section 'Validation Rules'&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-01-25T10:53:22.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4024" PostTypeId="1" CreationDate="2017-01-25T11:48:21.560" Score="1" ViewCount="498" Body="&lt;p&gt;What is the purpose of Datasources (under Setting) in habitat project? I searched for many datasources but didn't find any items where these are linked.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2017-03-03T10:31:11.200" Title="What is the purpose of Datasources (under Setting) in habitat project?" Tags="|helix|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4025" PostTypeId="2" ParentId="4024" CreationDate="2017-01-25T11:58:44.440" Score="2" Body="&lt;p&gt;Datasources folder under Settings contains a list of datasource configuration items for the existing datasources.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These datasource configuration items don't have any references to them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Carousel datasource configuration item specifies where all carousel datasource items exits in sitecore. In this case : &lt;code&gt;/sitecore/content/Habitat/Global/Media&lt;/code&gt; and what kind of datasource template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This makes it easier to find/manage datasources in future.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2017-01-25T12:05:51.097" LastActivityDate="2017-01-25T12:05:51.097" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4026" PostTypeId="1" AcceptedAnswerId="4028" CreationDate="2017-01-25T14:09:34.007" Score="4" ViewCount="311" Body="&lt;p&gt;In workbox, Listing of workflow items can be customized using &lt;strong&gt;Registry.SetString(&quot;/Current_User/Workflow/FilterOption&quot;)&lt;/strong&gt;. but how to clear this filteroption &amp;amp; rollback to default. currently while testing i'm using powershell console or codebehind to do this everytime but wondering whether it can be doable through clearing cache in 'admin/cache.aspx'. Any input on this ?&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="73" LastEditDate="2019-05-27T09:34:56.023" LastActivityDate="2019-05-27T09:34:56.023" Title="Clear Workbox's Registry constant" Tags="|workbox|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4028" PostTypeId="2" ParentId="4026" CreationDate="2017-01-25T14:26:54.570" Score="3" Body="&lt;p&gt;When you use &lt;code&gt;Registry.SetString(key,value)&lt;/code&gt; or any other &lt;code&gt;Registry.Set*&lt;/code&gt; you're setting in fact this value on user profile:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.User.Profile[key] = value;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Clearing the cache will not help you here. Even if you clear the value in cache, it will still be set on the profile and loaded from there if needed.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've written a blog post describing how you can work with Sitecore Registry and with simple &lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-registry-editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Registry Editor&lt;/a&gt; application. &lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-05-21T14:09:09.030" LastActivityDate="2018-05-21T14:09:09.030" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="4029" PostTypeId="1" AcceptedAnswerId="4052" CreationDate="2017-01-25T14:48:00.610" Score="7" ViewCount="1990" Body="&lt;p&gt;I have a &lt;code&gt;Sitecore 8.1-3&lt;/code&gt; instance.  I am trying to write some code that lets admin users edit a user's xDB contact information.  I have written a general-purpose method in my code that gets a contact object using the user's email address.  The idea behind this method is that it could be used within a regular page request (where we are trying to get the current logged in user's contact) or it might be used on an admin page (where we are trying to get the contact that goes with some other user).  If the code can't find a contact with the given identifier then it should create a new contact and return it.  What I am noticing however is that when my code tries to save the new contact (in the case where it couldn't find a contact using that email address) it throws an error that says &quot;another contact with the same identifier already exists&quot;.  I can't figure this out.  When I use robomongo to look for a contact with that identifier it returns no results.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private Contact GetXdbContact(string identifier)&#xA;{&#xA;    if (Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.Contact != null &amp;amp;&amp;amp; Tracker.Current.Contact.Identifiers.Identifier == identifier)&#xA;    {&#xA;        //This is the current user&#xA;        return Tracker.Current.Contact;&#xA;    }&#xA;&#xA;    //There is no Tracker.Current.Contact, so this must be running in some non-user context&#xA;    var manager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;&#xA;    var contact = manager.LoadContactReadOnly(identifier);&#xA;    if (contact == null)&#xA;    {&#xA;        //No contact was found so create one&#xA;        var repository = Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepository;&#xA;        var leaseOwner = new LeaseOwner(&quot;ADMIN&quot;, LeaseOwnerType.OutOfRequestWorker);&#xA;        var newContact = repository.CreateContact(Guid.NewGuid());&#xA;        newContact.Identifiers.Identifier = identifier;&#xA;        newContact.Identifiers.IdentificationLevel = ContactIdentificationLevel.Known;&#xA;        var options = new ContactSaveOptions(true, leaseOwner);&#xA;        repository.SaveContact(newContact, options); //EXCEPTION IS THROWN HERE&#xA;        return newContact;&#xA;    }&#xA;    return contact;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In our system, the email address is the identifier. So if I call this with &lt;code&gt;jdoe@company.com&lt;/code&gt; as the identifier, the manager does not find any contact, so my code attempts to create a new one.  However, when it goes to save the contact it throws the exception below.  I can use robomongo to verify that indeed there are not contacts where &lt;code&gt;Identifiers.Identifier == 'jdoe@company.com'&lt;/code&gt;, so I'm not really sure what is going on here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another contact with the same identifier already exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Description:&lt;/strong&gt; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Exception Details:&lt;/strong&gt; System.InvalidOperationException: Another contact with the same identifier already exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source Error:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Stack Trace:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&#xA;[InvalidOperationException: Another contact with the same identifier already exists.]    Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.SaveContactWithIdentifier(IContact contact, ContactSaveOptions saveOptions) +1256    Sitecore.Analytics.Data.DataAccess.MongoDb.c__DisplayClass9.b__7()&#xA;+25    Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.Try(Action action) +173    Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.SaveContact(IContact contact, ContactSaveOptions saveOptions) +222    Sitecore.Analytics.Data.ContactRepository.SaveContact(Contact contact, ContactSaveOptions options) +590&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="5387" LastEditDate="2019-07-23T13:02:24.893" LastActivityDate="2019-07-23T13:02:24.893" Title="Why am I getting &quot;another contact with the same identifier already exists&quot; error?" Tags="|xdb|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="4030" PostTypeId="2" ParentId="1625" CreationDate="2017-01-25T15:33:54.507" Score="0" Body="&lt;p&gt;Have a look at the sitecore helper &lt;code&gt;Sitecore.ContentSearch.LuceneProvider.LuceneSearchContext&lt;/code&gt; which is calling lucene's &lt;code&gt;Lucene.Net.QueryParsers.QueryParser&lt;/code&gt;. It escapes special characters. Thank you @anicho for pointing it out on slack&lt;/p&gt;&#xA;" OwnerUserId="88" LastActivityDate="2017-01-25T15:33:54.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4031" PostTypeId="1" CreationDate="2017-01-25T17:33:12.380" Score="8" ViewCount="3013" Body="&lt;p&gt;Sitecore 8.2 rev 160729&lt;/p&gt;&#xA;&lt;p&gt;My understanding is that, as of Sitecore 8.2, you no longer need to call &lt;code&gt;.MapHttpAttributeRoutes()&lt;/code&gt; &lt;a href=&quot;https://sitecore.stackexchange.com/a/1399/4&quot;&gt;because it's now included&lt;/a&gt; (in fact, it'll throw an error if you do). However, Sitecore is not picking up my ApiControllers using attribute based routing.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SampleController : ApiController&#xA;{&#xA;    [Route(&amp;quot;-/api/sample/test&amp;quot;), HttpGet]&#xA;    public string Test()&#xA;    {&#xA;        return &amp;quot;Hello World!&amp;quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The above route does not appear in the route tables, and the URL gives me a 404.&lt;/p&gt;&#xA;&lt;p&gt;Do I need to tell Sitecore which assemblies to look for routes in, or is there an additional configuration step I'm missing?&lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-04-26T16:03:09.010" Title="WebAPI Attribute Routing Not Picking Up Routes" Tags="|webapi|" AnswerCount="1" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="4032" PostTypeId="2" ParentId="3844" CreationDate="2017-01-25T17:51:14.830" Score="1" Body="&lt;p&gt;I found the issue for my Solr problems.  In my case the issue was in the Solrconfig, not Sitecore.  The issue is that the default settings for the /select request somehow were changed to return JSON.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our team has a templated set of Solr settings.  Somehow those settings got edited incorrectly thus cause JSON to be returned when XML was the expected default.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here's the configuration that caused the problem:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;requestHandler name=&quot;/select&quot; class=&quot;solr.SearchHandler&quot;&amp;gt;&#xA;  &amp;lt;!-- default values for query parameters can be specified, these&#xA;     will be overridden by parameters in the request&#xA;  --&amp;gt;&#xA;   &amp;lt;bool name=&quot;terms&quot;&amp;gt;true&amp;lt;/bool&amp;gt; REMOVED&#xA;   &amp;lt;lst name=&quot;defaults&quot;&amp;gt;&#xA;     &amp;lt;str name=&quot;echoParams&quot;&amp;gt;explicit&amp;lt;/str&amp;gt;&#xA;     &amp;lt;str name=&quot;wt&quot;&amp;gt;json&amp;lt;/str&amp;gt; REMOVED&#xA;     &amp;lt;str name=&quot;indent&quot;&amp;gt;true&amp;lt;/str&amp;gt; REMOVED&#xA;     &amp;lt;str name=&quot;df&quot;&amp;gt;text&amp;lt;/str&amp;gt;&#xA;     &amp;lt;int name=&quot;rows&quot;&amp;gt;10&amp;lt;/int&amp;gt;&#xA;     &amp;lt;bool name=&quot;terms&quot;&amp;gt;true&amp;lt;/bool&amp;gt; REMOVED&#xA;   &amp;lt;/lst&amp;gt;&#xA;   &amp;lt;arr name=&quot;last-components&quot;&amp;gt;  REMOVED ELEMENT&#xA;     &amp;lt;str&amp;gt;terms&amp;lt;/str&amp;gt;&#xA;   &amp;lt;/arr&amp;gt;&#xA;&amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Where the final configuration should have looked like this:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;requestHandler name=&quot;/select&quot; class=&quot;solr.SearchHandler&quot;&amp;gt;&#xA;  &amp;lt;!-- default values for query parameters can be specified, these&#xA;  will be overridden by parameters in the request&#xA;  --&amp;gt;&#xA;  &amp;lt;lst name=&quot;defaults&quot;&amp;gt;&#xA;    &amp;lt;str name=&quot;echoParams&quot;&amp;gt;explicit&amp;lt;/str&amp;gt;&#xA;    &amp;lt;int name=&quot;rows&quot;&amp;gt;10&amp;lt;/int&amp;gt;&#xA;  &amp;lt;/lst&amp;gt;&#xA;&amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thank you to Sitecore support for suggesting some good troubleshooting steps.  We used Fiddler to figure out that our requests were returning JSON.&lt;/p&gt;&#xA;" OwnerUserId="1400" LastEditorUserId="408" LastEditDate="2017-01-30T21:04:30.067" LastActivityDate="2017-01-30T21:04:30.067" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4035" PostTypeId="1" CreationDate="2017-01-25T21:20:05.923" Score="3" ViewCount="670" Body="&lt;p&gt;When configuring the source for a Drop List field, both the Value and Text are defaulted to ItemName.  I need Display Name for both Value and Text, but there are no dropdowns to select which fields to use.  I have seen these in other forum posts' screenshots.  Why do I not have these and how do I get them to show up?  Is there a back door way to set these?  I'm using WFFM 8.0 rev. 141217 btw.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/7kdmq.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7kdmq.jpg&quot; alt=&quot;screenshot 1&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the css, I found a width attribute. I unchecked it and now see the dropdown arrows. In the list of fields when I select one I get a javascript error.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/B2Fkr.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B2Fkr.jpg&quot; alt=&quot;screnshot 2&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Debugging the Javascript, it's breaking at line 13, the ListItems.callback call.  Looks like QueryKeyHolder is null.  Now what am I gonna do with that???&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Q43hq.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q43hq.jpg&quot; alt=&quot;screenshot 3&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per jammykam's suggestion, I tried installing a new instance of Sitecore and installed WFFM on that (same versions) and see the same behavior there.  I opened a ticket with Sitecore support, they were also able to replicate the issue and should be sending a patch soon.  I'll update this post then.&lt;/p&gt;&#xA;" OwnerUserId="868" LastEditorUserId="868" LastEditDate="2017-01-27T00:18:52.230" LastActivityDate="2017-07-31T13:00:53.910" Title="WFFM: Why no field selection in Drop List?" Tags="|wffm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4036" PostTypeId="1" AcceptedAnswerId="4038" CreationDate="2017-01-26T05:29:57.033" Score="3" ViewCount="4584" Body="&lt;p&gt;We have implemented multisite &amp;amp; multilingual Sitecore implementation and now we are going to implement new website which will support 3 language and 10 country. Code base( VS solution) &amp;amp; Sitecore instance is common for all these sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Existing sites&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;rootPath=&quot;/sitecore/content/mycompany/Sites/USSite&quot; startItem=&quot;/Home&quot;&lt;/code&gt; --&gt; This support only one language en&lt;/p&gt;&#xA;&#xA;&lt;p&gt;URL: &lt;a href=&quot;http://www.myussite.com/en&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.myussite.com/en&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;rootPath=&quot;/sitecore/content/mycompany/Sites/CASite&quot; startItem=&quot;/Home&quot;&lt;/code&gt; --&gt; This support two language en and fr-CA for this we have added fr-CA in system language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;URL: &lt;a href=&quot;http://www.mycasite.com/en&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.mycasite.com/en&lt;/a&gt; and &lt;a href=&quot;http://www.mycasite.com/fr-CA&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.mycasite.com/fr-CA&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;rootPath=&quot;/sitecore/content/mycompany/Sites/NewSite&quot; startItem=&quot;/Home&quot;&lt;/code&gt; --&gt; This will support 3 language (english,spanish and portuguese) and for 10 country.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this website, domain name remain same for all country. For country and language selection I will provide drop-down. I will add all required language entry in &lt;code&gt;sitecore/system/language&lt;/code&gt; node i.e. language and country/region code &lt;/p&gt;&#xA;&#xA;&lt;p&gt;User will select country (Brazil) and language(Portuguese) then will be redirected to &lt;a href=&quot;http://www.mysite.com/pt-BR&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.mysite.com/pt-BR&lt;/a&gt; URL and so on for all language-country combination. For example following will be URL and accordingly we will have content item for each language-country combination &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.mysite.com/es-PE&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.mysite.com/es-PE&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.mysite.com/es-CR&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.mysite.com/es-CR&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.mysite.com/pt-BR&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.mysite.com/pt-BR&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.mysite.com/es-DO&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.mysite.com/es-DO&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and so on for all other combination&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this correct approach? Just want to know that after user selection for country/region code and language how should we redirect user to combined URL&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically right now we have 13 websites which is distinguished by domain name for exp.  &lt;code&gt;mysite.co.cr&lt;/code&gt;, &lt;code&gt;mysite.com.ar&lt;/code&gt;, &lt;code&gt;mysite.com.br&lt;/code&gt; and so on and 3 language en(English), es(Spanish) and pt(portuguese).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Region wise language list is /es-cr, /es-ar, /pt-br, /es-cl, /es-co, /es-do, /es-sv, /es-gt, /es-mx, /es-pa, /es-pe, /es-pr, /es-uy&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are planning to migrate all this to Sitecore. There will be one domain &lt;code&gt;mysite.com&lt;/code&gt; only which show default en content. For different country/region redirection will be something like &lt;code&gt;mysite.com/pt-BR&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some content pages, social, newsroom etc. will be live only in specified country not in all&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All es language content (for exp. articles) remain same across the es specific country but banner/ carousal may be different region/country wise&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our existing structure is already mentioned above. So for this new site how should we organize content set up planning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we need to add 10 language version for each page then only we will be able fetch relevant content as per URL like&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for pt-BR region it will be mysite.com/pt-BR&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for es-CR region it will be mysite.com/es-CR&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for es-ar region it will be mysite.com/es-ar&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and so on ( please correct me if I'm wrong here )&lt;/p&gt;&#xA;&#xA;&lt;p&gt;please provide any suggestion&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="2727" LastEditDate="2018-03-01T10:00:43.860" LastActivityDate="2018-03-01T10:00:43.860" Title="Sitecore multisite , multiple country/region and multilanguage support implementation" Tags="|sitecore-client|multilingual|multisite|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4037" PostTypeId="1" AcceptedAnswerId="4046" CreationDate="2017-01-26T09:41:50.827" Score="0" ViewCount="331" Body="&lt;p&gt;I need to display a list of items based on their path. For instance:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Content tree setup:&lt;/strong&gt;&#xA; &lt;a href=&quot;https://i.stack.imgur.com/Qvv4F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qvv4F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to sort results by item path, so if I perform a search that matches the items in the below list then the results would display in the following order, regardless of relevance, age, etc.:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CategoryA&lt;/li&gt;&#xA;&lt;li&gt;Book1 &lt;/li&gt;&#xA;&lt;li&gt;Article1&lt;/li&gt;&#xA;&lt;li&gt;CategoryB&lt;/li&gt;&#xA;&lt;li&gt;Book2  &lt;/li&gt;&#xA;&lt;li&gt;Article4&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have tried using &lt;code&gt;.OrderBy(x =&amp;gt; [SearchReturnedItem].Paths.Path).ToArray()&lt;/code&gt;, but it's not working. Does anyone have any suggestions that might help?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;edit - code moved to question body&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var searchContext = ContentSearchManager.GetIndex(&quot;&amp;lt;indexname&amp;gt;&quot;).CreateSearchCon‌​text()) &#xA;{ &#xA;    var result = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;      .Where(x =&amp;gt; x.TemplateId.Guid.ToString()&#xA;      .Contains(&quot;&amp;lt;Template1-GUID&amp;gt;,&amp;lt;Tem‌​plate2-GUID&amp;gt;,&amp;lt;Templa‌​te3-GUID&amp;gt;,..&amp;gt;&quot;)); &#xA;&#xA;    var sortedResult = result.OrderBy(x =&amp;gt; x.Path); &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="891" LastEditorUserId="423" LastEditDate="2017-08-08T14:19:16.243" LastActivityDate="2017-08-08T14:19:16.243" Title="Sort Listing of search items by Item Path" Tags="|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4038" PostTypeId="2" ParentId="4036" CreationDate="2017-01-26T10:14:44.623" Score="6" Body="&lt;p&gt;You can have two ways of doing it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;First way&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you will have the same domain but different rootPath, you will need to make use of the &lt;code&gt;virtualFolder&lt;/code&gt; and &lt;code&gt;physicalFolder&lt;/code&gt; attribute in the sitedefinition.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The virtualFolder and physicalFolder will allow you to use the same domain but having different sites that hits different rootPath. This will allow you to have less coding.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site Definition Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OO3vz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OO3vz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the Site Definition is setup, patch the Sitecore setting &lt;code&gt;AlwaysStripLanguage&lt;/code&gt; to set the value to false as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=”Languages.AlwaysStripLanguage” value=”true”/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=”Languages.AlwaysStripLanguage” value=”false”/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You may check my blog post how to setup it here: &lt;a href=&quot;https://hishaamn.wordpress.com/2016/12/22/sitecore-multi-sites-with-same-domain-but-different-sitecore-item-node/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hishaamn.wordpress.com/2016/12/22/sitecore-multi-sites-with-same-domain-but-different-sitecore-item-node/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Second way&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can have a single site node on your content tree. Let's say the path is &lt;code&gt;sitecore/content/sites/Europe sites&lt;/code&gt;. Then you can add different language versions in order to create a multilingual sites. In other words, the Europe sites item will have different language versions along with its subitems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main advantage here is that you will have to manage a single node. However, if you are using Sitecore 7.2 or below, you will not be able to customize the presentation details per language as these Sitecore versions do not have the feature of shared and final layout. Also, it may be difficult to manage 10 language versions on items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In terms of performance, if I am not mistaken, it is not recommended that an item stores many versions. Furthermore, indexing will take more time to rebuild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both approaches are good but it depends on how you want to structure your content tree. Also, in terms of security and access level, you need to take note who are going to work on the content tree. Will it be a single team managing all the different language versions or scattered among different teams?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can have a single item node as shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; /sitecore/content/mycompany/Sites/NewSite&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you only add the language version you want. That is, you want to add 10, 8 or 5 language versions based on your requirement. Then you need to setup your SiteDefinition as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt; &#xA;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;sites&amp;gt;&#xA;    &amp;lt;site name=&quot;mysite1&quot; patch:before=&quot;site[@name='website']&quot;&#xA;        virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot;&#xA;        rootPath=&quot;/sitecore/content/mycompany/Sites/NewSite&quot;&#xA;        startItem=&quot;/home&quot;&#xA;        database=&quot;web&quot;&#xA;        domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;50MB&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;true&quot;&#xA;        language=&quot;es-CR&quot;&#xA;        disableClientData=&quot;false&quot;/&amp;gt;&#xA;&#xA;    &amp;lt;site name=&quot;mysite2&quot; patch:before=&quot;site[@name='website']&quot;&#xA;        virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot;&#xA;        rootPath=&quot;/sitecore/content/mycompany/Sites/NewSite&quot;&#xA;        startItem=&quot;/home&quot;&#xA;        database=&quot;web&quot;&#xA;        domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;50MB&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;true&quot;&#xA;        language=&quot;es-PE&quot;&#xA;        disableClientData=&quot;false&quot;/&amp;gt;&#xA;&#xA;    &amp;lt;site name=&quot;mysite3&quot; patch:before=&quot;site[@name='website']&quot;&#xA;        virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot;&#xA;        rootPath=&quot;/sitecore/content/mycompany/Sites/NewSite&quot;&#xA;        startItem=&quot;/home&quot;&#xA;        database=&quot;web&quot;&#xA;        domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;50MB&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;true&quot;&#xA;        language=&quot;pt-BR&quot;&#xA;        disableClientData=&quot;false&quot;/&amp;gt;&#xA;&#xA;    &amp;lt;site name=&quot;mysite4&quot; patch:before=&quot;site[@name='website']&quot;&#xA;        virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot;&#xA;        rootPath=&quot;/sitecore/content/mycompany/Sites/NewSite&quot;&#xA;        startItem=&quot;/home&quot;&#xA;        database=&quot;web&quot;&#xA;        domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;50MB&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;true&quot;&#xA;        language=&quot;es-AR&quot;&#xA;        disableClientData=&quot;false&quot;/&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you see the root path and start item may be the same but it is the language which is important here. If you specify in your URL the language, it will load the site with the proper language version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the url is www.mysite.com/pt-BR, it will load the website with the Portuguese Brazil language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can make use of the following Sitecore Module to perform the localization much quicker: &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Smart_Tools_Add_Version_and_Copy_Content.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Smart Tools - Add Version and Copy Content &lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-01-29T16:34:45.367" LastActivityDate="2017-01-29T16:34:45.367" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4039" PostTypeId="1" AcceptedAnswerId="4068" CreationDate="2017-01-26T10:27:03.620" Score="11" ViewCount="982" Body="&lt;p&gt;I am using a Helix/Habitat-inspired setup in which the Sitecore items of my solution is split into a number of smaller projects in the different layers (Foundation, Features and project). Currently we have +50 smaller TDS projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My issue is that it seems that TDS installs its connector for each project when i I build, which slows the build process a lot. As the connector is the same for all projects, and the Sitecore Access Guid is the same, I would expect the connector to only be installed once. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do any of you have experience in optimizing the build process with regards to TDS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note: I have a TdsGlobal.config file which controls my TDS projects and currently it contains the following settings:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Deployment Properties --&amp;gt;&#xA;&amp;lt;SitecoreWebUrl&amp;gt;http://local.dev&amp;lt;/SitecoreWebUrl&amp;gt;&#xA;&amp;lt;SitecoreDeployFolder&amp;gt;C:\Websites\local.dev\Website&amp;lt;/SitecoreDeployFolder&amp;gt;&#xA;&amp;lt;RecursiveDeployAction&amp;gt;SitecoreRecycle&amp;lt;/RecursiveDeployAction&amp;gt;&#xA;&amp;lt;InstallSitecoreConnector&amp;gt;True&amp;lt;/InstallSitecoreConnector&amp;gt;&#xA;&amp;lt;DisableFileDeployment&amp;gt;False&amp;lt;/DisableFileDeployment&amp;gt;&#xA;&amp;lt;SitecoreAccessGuid&amp;gt;b0c833d0-1061-4c83-9c84-f2418527863a&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="758" LastActivityDate="2017-01-27T15:49:17.583" Title="TDS install the sitecore connector for each project in my solution" Tags="|helix|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4040" PostTypeId="1" AcceptedAnswerId="4041" CreationDate="2017-01-26T10:57:02.293" Score="4" ViewCount="2504" Body="&lt;p&gt;We have email templates that are stored in Sitecore. We are using &lt;code&gt;Richtext&lt;/code&gt; field to store html of emails. When I add images from Sitecore media library to that rich text field links are generating as&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;img src=&quot;-/media/Id.ashx?la=en-gb&quot; alt=&quot;email-header&quot; width=&quot;600&quot; height=&quot;149&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;because of this, gmail rendering the image wrong as: &lt;code&gt;http://-/media/Id.ashx?la=en-gb&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can search and replace the html while we sending emails, but is there is a way to tell Sitecore to use full image url's for rich text field?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="277" LastEditDate="2017-01-26T11:16:26.733" LastActivityDate="2017-01-26T15:40:23.710" Title="Add full media url in Rich text editor" Tags="|content-editor|richtext-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4041" PostTypeId="2" ParentId="4040" CreationDate="2017-01-26T11:15:23.837" Score="6" Body="&lt;p&gt;From what I remember, the logic responsible for RTE links is in &lt;code&gt;ExpandLinks&lt;/code&gt; processor of &lt;code&gt;renderField&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.RenderField.ExpandLinks, Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual void Process(RenderFieldArgs args)&#xA;{&#xA;  Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;  if (Context.PageMode.IsExperienceEditorEditing)&#xA;    return;&#xA;  args.Result.FirstPart = DynamicLink.ExpandLinks(args.Result.FirstPart, Settings.Rendering.SiteResolving);&#xA;  args.Result.LastPart = DynamicLink.ExpandLinks(args.Result.LastPart, Settings.Rendering.SiteResolving);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could write your own logic here to make sure that links include host name as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also update &lt;code&gt;LinkProvider&lt;/code&gt; method &lt;code&gt;ExpandDynamicLinks&lt;/code&gt; to force it to include host names:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual string ExpandDynamicLinks(string text, bool resolveSites)&#xA;{&#xA;  Assert.ArgumentNotNull((object) text, &quot;text&quot;);&#xA;  LinkProvider.LinkParser linkParser = this.CreateLinkParser();&#xA;  UrlOptions defaultUrlOptions = this.GetDefaultUrlOptions();&#xA;  defaultUrlOptions.SiteResolving = resolveSites;&#xA;&#xA;  defaultUrlOptions.AlwaysIncludeServerUrl = true; // &amp;lt;---&#xA;&#xA;  return linkParser.ExpandDynamicLinks(text, defaultUrlOptions);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want Sitecore to expand those links for you in custom code, you can run something like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual string RunPipeline(Field field)&#xA;{&#xA;    using (new SiteContextSwitcher(SiteContext.GetSite(&quot;website&quot;)))&#xA;    {&#xA;        RenderFieldArgs renderFieldArgs = new RenderFieldArgs()&#xA;        {&#xA;            Item = field.Item,&#xA;            FieldName = field.Name,&#xA;            DisableWebEdit = true&#xA;        };&#xA;        CorePipeline.Run(&quot;renderField&quot;, (PipelineArgs) renderFieldArgs);&#xA;        return renderFieldArgs.Result.FirstPart + renderFieldArgs.Result.LastPart;&#xA;    }&#xA;}&#xA;&#xA;string bodyOfEmail = RunPipeline(item.Fields[FieldIds.EmailBodyField]);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-01-26T15:40:23.710" LastActivityDate="2017-01-26T15:40:23.710" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="4042" PostTypeId="2" ParentId="4005" CreationDate="2017-01-26T11:32:01.437" Score="0" Body="&lt;p&gt;We managed to resolve this issue by adding another reference to our project! It was a trial and error process of adding DLL files from a clean Sitecore installation into our VS project's bin folder until the Intellisense issue was resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once we added this DLL &lt;code&gt;System.Web.Http.Cors.dll&lt;/code&gt; taken from a clean Sitecore installation suddenly everything works great. So the fix it to reference that exact DLL:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Reference Include=&quot;System.Web.Http.Cors, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL&quot;&amp;gt;&#xA;  &amp;lt;SpecificVersion&amp;gt;False&amp;lt;/SpecificVersion&amp;gt;&#xA;  &amp;lt;HintPath&amp;gt;..\References\System.Web.Http.Cors.dll&amp;lt;/HintPath&amp;gt;&#xA;&amp;lt;/Reference&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This caught us by surprise because we had upgraded from VS 2013 to VS 2015 and we had no problems with this issue until we upgraded VS.&lt;/p&gt;&#xA;" OwnerUserId="1236" LastActivityDate="2017-01-26T11:32:01.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4043" PostTypeId="2" ParentId="3806" CreationDate="2017-01-26T12:29:10.907" Score="2" Body="&lt;p&gt;This was resolved by adding the following config file to the &lt;strong&gt;App_Config\Include&lt;/strong&gt; folder: &lt;code&gt;Sitecore.Speak.Components.config&lt;/code&gt;. It was missing in my include folder.&lt;/p&gt;&#xA;" OwnerUserId="838" LastEditorUserId="605" LastEditDate="2017-07-03T07:28:15.480" LastActivityDate="2017-07-03T07:28:15.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4044" PostTypeId="1" AcceptedAnswerId="4047" CreationDate="2017-01-26T17:43:24.880" Score="4" ViewCount="1163" Body="&lt;p&gt;I am trying to get &quot;&lt;a href=&quot;http://hostname&quot; rel=&quot;noreferrer&quot;&gt;http://hostname&lt;/a&gt;&quot; in below way.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string.Concat(Request.Url.Scheme, Uri.SchemeDelimiter, Request.Url.Host)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;this should work in normal cases, but i am doing this on &lt;code&gt;publish:end&lt;/code&gt; event, where request is null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The context site is &lt;code&gt;publisher&lt;/code&gt; and could not find Request property in &lt;code&gt;EventArgs&lt;/code&gt; whats the best way to get Request properties in this case?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2017-01-26T17:48:45.080" LastActivityDate="2017-01-27T14:54:08.807" Title="How to get hostname on publish end event" Tags="|publishing|events|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4045" PostTypeId="2" ParentId="4044" CreationDate="2017-01-26T17:53:25.793" Score="4" Body="&lt;p&gt;Using the Sitecore.Configuration.Factory.GetSite() method you can retrieve a Sitecore.Sites.SiteContext object that has properties defined that correspond to your site.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var siteContext = Sitecore.Configuration.Factory.GetSite(&quot;sitename&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then from the siteContext item you can access the HostName or TargetHostName values depending on what you need.&lt;/p&gt;&#xA;" OwnerUserId="252" LastActivityDate="2017-01-26T17:53:25.793" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="4046" PostTypeId="2" ParentId="4037" CreationDate="2017-01-26T17:55:21.253" Score="2" Body="&lt;p&gt;The &lt;code&gt;[SearchReturnedItem].Paths.Path)&lt;/code&gt; is going to to return the list of ItemIDs for the path. You'll want to instead sort by &lt;code&gt;[SearchReturnedItem].Path&lt;/code&gt; which will sort by the full text path you are looking for.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-01-26T17:55:21.253" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4047" PostTypeId="2" ParentId="4044" CreationDate="2017-01-26T18:40:15.560" Score="15" Body="&lt;h2&gt;The problem with &lt;code&gt;Sitecore.Context.Site&lt;/code&gt;:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore performs publishing on the &lt;code&gt;publisher&lt;/code&gt; site, and as you noted, the &lt;code&gt;publish:end&lt;/code&gt; is an event and is called without a request, so there isn't even a URL to work from. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the above, hypothetically, if we assume that Sitecore is going to resolve &lt;em&gt;a&lt;/em&gt; site (we don't know which yet) to put in the &lt;code&gt;Sitecore.Context&lt;/code&gt; then the &lt;code&gt;website&lt;/code&gt; (or custom site) that you're looking for isn't even a candidate.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Working towards getting the site:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Every item in Sitecore is site-specific, in that it's path should only ever live within a single site. The &lt;code&gt;publish:end&lt;/code&gt; event just so happens to have a handy little &lt;code&gt;Publisher&lt;/code&gt; object as a parameter, that holds the &lt;code&gt;RootItem&lt;/code&gt; that was published. You can access this item and the &lt;code&gt;Site&lt;/code&gt; it belongs to by doing the following in your event handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;var scArgs = args as Sitecore.Events.SitecoreEventArgs;     &#xA;if (scArgs == null)&#xA;{&#xA;    return;&#xA;}&#xA;&#xA;var publisher = scArgs.Parameters[0] as Publisher;     &#xA;if (publisher == null)&#xA;{&#xA;    return;&#xA;}&#xA;&#xA;var rootItem = publisher.Options.RootItem;&#xA;var site = Sitecore.Configuration.Factory.GetSiteInfoList()&#xA;    .FirstOrDefault(site =&amp;gt; rootItem.Paths.FullPath.StartsWith(site.RootPath));&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But wait! What about multi-site publishes?&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What if you published more than one site? Now you will match the first one, when you should probably return both or return &lt;code&gt;null&lt;/code&gt;. On the flip side, what if you published the full solution and have only one site, or else you published the full solution and now you want to get all sites that you published? The above will give you &lt;code&gt;null&lt;/code&gt; in these cases, but maybe that's not what you want.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Getting the site with multi-site publishing support:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In order to support multi-site and situations where you may have published the full solution, update the above to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;var scArgs = args as Sitecore.Events.SitecoreEventArgs;     &#xA;if (scArgs == null)&#xA;{&#xA;    return;&#xA;}&#xA;&#xA;var publisher = scArgs.Parameters[0] as Publisher;     &#xA;if (publisher == null)&#xA;{&#xA;    return;&#xA;}&#xA;&#xA;var rootItem = publisher.Options.RootItem;&#xA;var publishedSites = Sitecore.Configuration.Factory.GetSiteInfoList()&#xA;    .Where(site =&amp;gt; rootItem.Paths.FullPath.StartsWith(site.RootPath));&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We aren't done yet, however. You still don't have the URL of the site.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Solution: Getting the URL of the published site(s)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The site-definition nodes have the nifty little optional attributes &lt;code&gt;targetHostName&lt;/code&gt; and &lt;code&gt;scheme&lt;/code&gt;. Assuming that you have specified a value for those attributes, you can then retrieve the URLs of the sites of the sites you published by updating the above to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;var scArgs = args as Sitecore.Events.SitecoreEventArgs;     &#xA;if (scArgs == null)&#xA;{&#xA;    return;&#xA;}&#xA;&#xA;var publisher = scArgs.Parameters[0] as Publisher;     &#xA;if (publisher == null)&#xA;{&#xA;    return;&#xA;}&#xA;&#xA;var rootItem = publisher.Options.RootItem;&#xA;var publishedSites = Sitecore.Configuration.Factory.GetSiteInfoList()&#xA;    .Where(site =&amp;gt; rootItem.Paths.FullPath.StartsWith(site.RootPath));&#xA;&#xA;var publishedHosts = publishedSites&#xA;    .Select(site =&amp;gt; site.Properties[&quot;scheme&quot;] + @&quot;:\\&quot; + site.Properties[&quot;targetHostName&quot;]);&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-01-27T14:54:08.807" LastActivityDate="2017-01-27T14:54:08.807" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4048" PostTypeId="1" CreationDate="2017-01-26T19:00:40.857" Score="4" ViewCount="1870" Body="&lt;p&gt;I am trying to figure out if i can have multiple columns and multiple rows for one particular field under an item in Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Field Name:&#xA;[column 1][column 2][column 3][column 4][column 5]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This serves as a drawing. So in Content Editor, where you can fill out Details of the item, I would like to have multiple columns and multiple rows. So the data will be served under one particular &quot;Type&quot;. Hopefully this makes sense&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="135" LastEditDate="2020-01-07T15:30:29.603" LastActivityDate="2020-01-07T15:30:29.603" Title="How to create a multiple column field with text boxes" Tags="|sitecore-client|custom-field|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4049" PostTypeId="2" ParentId="4048" CreationDate="2017-01-26T20:41:46.050" Score="3" Body="&lt;p&gt;I think you are talking about custom field type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like you are talking about something that cannot be done with standard field types thus you will have to create your own custom field type for that&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How to create custom field type&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Implement your custom field&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;namespace Sitecore.Playground.Fields.FieldTypes&#xA;{&#xA;    public class CustomField : Edit&#xA;    {         &#xA;        protected override void DoRender(HtmlTextWriter output)&#xA;        {&#xA;            Attributes[&quot;placeholder&quot;] = Translate.Text(Placeholder);&#xA;            string str = &quot; type=\&quot;hidden\&quot;&quot;;&#xA;            SetWidthAndHeightStyle();&#xA;            output.Write(&quot;&amp;lt;input&quot; + ControlAttributes + str + &quot;&amp;gt;&quot;);&#xA;            RenderChildren(output);&#xA;            // render your custom control here&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice &lt;code&gt;output.Write&lt;/code&gt; usage.&#xA;Now you have to build your own HTML with rows, columns and then store a raw value of the field in &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perhaps you will have to &lt;code&gt;override&lt;/code&gt; &lt;code&gt;Value&lt;/code&gt; property from the base class to properly serialise/deserialize stored value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you probably know each field value can be expressed as &lt;strong&gt;Raw Value&lt;/strong&gt;. Idea is that your field raw value could be for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1|2|3|4;5|6|7;8|9|0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then in C# code, you need to properly render those values as rows/columns. This is an example, I don't know what you want to store there.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Register your custom field with config&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;controlSources&amp;gt;&#xA;            &amp;lt;source mode=&quot;on&quot; namespace=&quot;Sitecore.Playground.Fields.FieldTypes&quot; assembly=&quot;Sitecore.Playground&quot; prefix=&quot;myCustomPrefix&quot; /&amp;gt;&#xA;        &amp;lt;/controlSources&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Create field type  item in core database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Field types/Developer Types/My Custom field&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Fill &lt;code&gt;Control&lt;/code&gt; field with this value: &lt;code&gt;myCustomPrefix:CustomField&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This blog post might be useful for you:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.net/company/blog/474/creating-a-custom-sitecore-field-4246&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.net/company/blog/474/creating-a-custom-sitecore-field-4246&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-01-26T20:47:26.000" LastActivityDate="2017-01-26T20:47:26.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4050" PostTypeId="2" ParentId="4048" CreationDate="2017-01-26T20:53:10.900" Score="3" Body="&lt;p&gt;I can't give you a complete solution but I can guide you a bit to along the right path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need a &lt;strong&gt;custom field type&lt;/strong&gt; for this. Credit here goes to &lt;a href=&quot;https://sitecore.stackexchange.com/users/135/jammykam&quot;&gt;jammykam&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Who wrote a nice blog article about creating a &lt;strong&gt;key/value data field with lookup&lt;/strong&gt;:&#xA;&lt;a href=&quot;https://jammykam.wordpress.com/2015/03/08/custom-sitecore-field-for-storing-keyvalue-data-with-lookups/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2015/03/08/custom-sitecore-field-for-storing-keyvalue-data-with-lookups/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've already implemented it in a solution and it works perfectly.&lt;br&gt;&#xA;You'll need to define your column headers somewhere. Cfr. Chemical Types in the example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And then, depending on how flexible you want your rows to be, you either:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a template that has a fixed number of your custom field type.&lt;/li&gt;&#xA;&lt;li&gt;Or create a template that has only 1 field of your custom field type. You then use this template to create children under the item. So each child = 1 row with data.  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here's a link to the gist of the code: &lt;a href=&quot;https://gist.github.com/jammykam/d935b2c5b6054ca10282&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/jammykam/d935b2c5b6054ca10282&lt;/a&gt;&#xA;You'll probably need to make some tweaks to it. Like if you don't want to show the 'Chemical unit'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps! If you have questions, just ask!&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-01-26T20:53:10.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4051" PostTypeId="2" ParentId="3935" CreationDate="2017-01-27T03:00:33.007" Score="1" Body="&lt;p&gt;Having done some more research on this, it appears that the &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat demo&lt;/a&gt; site contains the functionality that we need in the &lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/master/src/Foundation/Assets&quot; rel=&quot;nofollow noreferrer&quot;&gt;Assets module&lt;/a&gt;. It allows the Javascript and CSS references to be added in the page definition and then injected in the HTML response.&lt;/p&gt;&#xA;" OwnerUserId="1412" LastActivityDate="2017-01-27T03:00:33.007" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4052" PostTypeId="2" ParentId="4029" CreationDate="2017-01-27T08:01:38.143" Score="3" Body="&lt;h2&gt;Finding the contact in the Collection database&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The error you're seeing occurs when the given identifier has already been used for another contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contact identifiers are stored in a separate collection named &lt;code&gt;Identifiers&lt;/code&gt;. You can verify which contact has (or had) the identifier in question with the following MongoDB query. Make sure to convert the identifier to upper case.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Identifiers.find({ _id: &quot;JDOE@COMPANY.COM&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll see an object that looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;_id&quot; : &quot;JDOE@COMPANY.COM&quot;,&#xA;    &quot;contact&quot; : NUUID(&quot;604bd137-84e6-4996-8cdb-37fec38eb7f5&quot;),&#xA;    &quot;updated&quot; : ISODate(&quot;2016-02-25T08:44:30.009Z&quot;)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then find what contact the identifier refers to (or used to refer to) using this query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Contacts.find({ _id: CSUUID(&quot;604bd137-84e6-4996-8cdb-37fec38eb7f5&quot;) })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I have changed &lt;code&gt;NUUID&lt;/code&gt; to &lt;code&gt;CSUUID&lt;/code&gt; in order for the query to work. Robomongo &lt;a href=&quot;http://blog.robomongo.org/uuid-support-in-robomongo/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;supports &lt;code&gt;CSUUID&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt; in its JSON parser, but not &lt;code&gt;NUUID&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why wasn't the contact found by this identifier?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When you call &lt;code&gt;manager.LoadContactReadOnly(identifier)&lt;/code&gt;, Sitecore will first query the &lt;code&gt;Identifiers&lt;/code&gt; collection to find the contact ID, much like we did above. It'll then load the contact from the &lt;code&gt;Contacts&lt;/code&gt; collection. But there's a catch: it will only return the contact if its &lt;em&gt;current&lt;/em&gt; identifier is the same as the one you passed to &lt;code&gt;LoadContactReadOnly&lt;/code&gt;. If the current identifier is different, it will return &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can think of two reasons why &lt;code&gt;LoadContactReadOnly&lt;/code&gt; may return &lt;code&gt;null&lt;/code&gt; in your case:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The contact has been manually removed from &lt;code&gt;Contacts&lt;/code&gt;, but the &lt;code&gt;Identifiers&lt;/code&gt; entry stayed;&lt;/li&gt;&#xA;&lt;li&gt;The contact's identifier was changed, but the &lt;code&gt;Identifiers&lt;/code&gt; entry was not updated. As a matter of fact, this may be a defect in Sitecore—I don't see any logic that would update &lt;code&gt;Identifiers&lt;/code&gt; when the contact's identifier changes.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Hot to approach this problem?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;First of all, register this as a defect with Sitecore Support. Changing a contact's identifier should not lead to a bug like this. Feel free to point out my findings to the support team, and maybe they'll provide you with a quick fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the meanwhile, the safest option would be not to change identifiers for existing contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you must, then, whenever you save a contact with a changed identifier, you'll need to remove the old identifier from the &lt;code&gt;Identifiers&lt;/code&gt; collection:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var driver = MongoDbDriver.FromConnectionString(&quot;analytics&quot;);&#xA;&#xA;string id = &quot;jdoe@company.com&quot;;&#xA;&#xA;driver[&quot;Identifiers&quot;].Remove(&#xA;    Query.EQ(&quot;_id&quot;, (BsonValue) id.ToUpperInvariant()),&#xA;    RemoveFlags.None,&#xA;    WriteConcern.Acknowledged);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-01-27T21:27:33.230" LastActivityDate="2017-01-27T21:27:33.230" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="4053" PostTypeId="2" ParentId="3944" CreationDate="2017-01-27T08:03:53.547" Score="2" Body="&lt;p&gt;I had similar issue and I add new config for solr and it works fine &#xA;This is the content of the config file : &lt;strong&gt;Sitecore.Social.Solr.Index.Analytics.Facebook.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA; &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;     &amp;lt;configuration&amp;gt;&#xA;      &amp;lt;indexes&amp;gt;&#xA;       &amp;lt;index id=&quot;sitecore_analytics_index&quot;&amp;gt;&#xA;        &amp;lt;configuration&amp;gt;&#xA;          &amp;lt;fieldMap&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;contact.social.facebook.id&quot; returnType=&quot;string&quot;/&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;contact.social.facebook.appid&quot; returnType=&quot;string&quot;/&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-01-27T08:03:53.547" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4054" PostTypeId="1" CreationDate="2017-01-27T09:02:32.477" Score="1" ViewCount="107" Body="&lt;p&gt;We got a requirement of enabling Single sign on between a Sitecore Instance and another MVC Application.&#xA;It would be helpful if someone can help me in getting a way to implement this?&#xA;(Both of the applications would be hosted on Internet)&lt;/p&gt;&#xA;" OwnerUserId="1277" LastActivityDate="2017-01-27T09:48:22.427" Title="SSO between Sitecore and Custom MVC Application" Tags="|site-configuration|" AnswerCount="0" CommentCount="2" ClosedDate="2017-01-27T16:18:33.823" ContentLicense="CC BY-SA 3.0" />
  <row Id="4056" PostTypeId="1" AcceptedAnswerId="4058" CreationDate="2017-01-27T11:11:37.163" Score="5" ViewCount="3334" Body="&lt;p&gt;The browser console was showing errors for &lt;code&gt;woff&lt;/code&gt; font type. So, in the site's &lt;code&gt;web.config&lt;/code&gt; I included this property and it was fixed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;......&#xA;......&#xA; &amp;lt;staticContent&amp;gt;&#xA;  &amp;lt;mimeMap fileExtension=&quot;.woff&quot; mimeType=&quot;application/font-woff&quot;/&amp;gt;&#xA; &amp;lt;/staticContent&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, I want to add this property via a patch. I created a config in the VS project &lt;code&gt;/App_Config/Include/MySite.config&lt;/code&gt; as below and published:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;system.webServer&amp;gt;&#xA;      &amp;lt;staticContent&amp;gt;&#xA;        &amp;lt;mimeMap fileExtension=&quot;.woff&quot; mimeType=&quot;application/font-woff&quot; /&amp;gt;&#xA;      &amp;lt;/staticContent&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the site's &lt;code&gt;showconfig.aspx&lt;/code&gt; it is rendered as below, but the woff error in the console shows up. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.webServer patch:source=&quot;MySite.config&quot;&amp;gt;&#xA; &amp;lt;staticContent&amp;gt;&#xA;  &amp;lt;mimeMap fileExtension=&quot;.woff&quot; mimeType=&quot;application/font-woff&quot;/&amp;gt;&#xA; &amp;lt;/staticContent&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I including the patch in the right way?&#xA;Using &lt;code&gt;Sitecore 8.0 with MVC&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="5387" LastEditDate="2019-08-08T04:04:29.023" LastActivityDate="2019-08-08T04:04:29.023" Title="How to patch 'system.webServer' using Sitecore patch config file" Tags="|configuration|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="4057" PostTypeId="2" ParentId="4056" CreationDate="2017-01-27T11:14:23.497" Score="2" Body="&lt;p&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&lt;/code&gt; is not under &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node in web.config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You cannot patch it using Sitecore mechanisms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is pretty much the same question asked on StackOverflow site: &lt;a href=&quot;https://stackoverflow.com/questions/30768383/trouble-with-sitecore-web-config-patch-file&quot;&gt;https://stackoverflow.com/questions/30768383/trouble-with-sitecore-web-config-patch-file&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And as Matthew Dresser explains there, to change config outside of &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node, you need to to this either directly or using transformation mechanisms (like SlowCheetah - check Vlad's answer for the link).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And more about Sitecore web.config include files and patching: &lt;a href=&quot;http://intothecore.cassidy.dk/2009/05/working-with-webconfig-include-files-in.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://intothecore.cassidy.dk/2009/05/working-with-webconfig-include-files-in.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-01-27T12:05:50.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4058" PostTypeId="2" ParentId="4056" CreationDate="2017-01-27T11:14:51.880" Score="9" Body="&lt;p&gt;You can't patch configuration that are outside of Sitecore node section. &#xA;To patch configuration outside Sitecore node I recommend you to use SlowCheetah. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Patching only works on the Sitecore configuration section. This is located in  under /configuration/sitecore node section. Configuration in other sections of Web.config cannot be controlled through patching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to See the Result of Patching&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the Sitecore configuration is the result of the merging of configuration from Web.config with a variable number of patch files, you cannot look at Web.config or any individual patch file in order to determine the configuration Sitecore is using. Sitecore includes an admin script to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script displays the results of the config file patching process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://[host]/sitecore/admin/ShowConfig.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://[host]/sitecore/admin/ShowConfig.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find SlowCheetah on below link : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5/view/Discussions/1&quot; rel=&quot;noreferrer&quot;&gt;https://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5/view/Discussions/1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Getting started is really simple, just install this package. Then in the solution explorer you can easily add your config transform by right-clicking and selecting Add Transform.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/safad.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/safad.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you add the transform you will notice a transform for each build configuration.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DvKK0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DvKK0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can place your customizations inside of the transform files, for example if you want to tweak app settings and connection strings you might use the syntax shown below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you build your applicatoin the files are transformed and dropped into the output directory. If you are transforming the app.config then when the file is transformed it will be renamed in the output directory as usual to ensure that your application picks it up at runtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For web projects the files are transformed when you publish or package your application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also quickly preview your transform using the Preview Transform context menu on the transform file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ye9jm.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ye9jm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HiSEQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HiSEQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-01-27T12:05:08.330" LastActivityDate="2017-01-27T12:05:08.330" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4059" PostTypeId="1" AcceptedAnswerId="4060" CreationDate="2017-01-27T11:27:55.417" Score="1" ViewCount="674" Body="&lt;p&gt;Previously we used &lt;code&gt;string WorkflowPipelineArgs.Comments&lt;/code&gt; which seems got obsolete now and suggests to use &lt;code&gt;StringDictionary WorkflowPipelineArgs.CommentFields&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By using Reflector tool I found that to read comments I should write as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;WorkflowPipelineArgs.CommentsField[&quot;Comments&quot;]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is why it was changed like that and what other values we can find from &lt;code&gt;CommentFields&lt;/code&gt; property?&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="73" LastEditDate="2017-01-27T12:51:30.033" LastActivityDate="2017-01-27T12:51:30.033" Title="Why was WorkflowPipelineArgs Comments changed to CommentFields in Sitecore 8?" Tags="|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4060" PostTypeId="2" ParentId="4059" CreationDate="2017-01-27T12:49:47.553" Score="4" Body="&lt;p&gt;You can't find any new fields there out of the box. But Sitecore recently introduced the &lt;code&gt;Standard Comment Template&lt;/code&gt;, thereby making it possible to cook up more advanced authoring scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E4x4b.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E4x4b.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Grant Bartlett has a good example of what that could look like in &lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2015/04/Sitecore-8-Advanced-Workflow-Commenting.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8: Advanced workflow commenting&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short; it was changed because Sitecore now has the ability to attach a &quot;Comment Template&quot; to workflows, and therefore it is now easier to extend for specific needs.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-27T12:49:47.553" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4061" PostTypeId="2" ParentId="3983" CreationDate="2017-01-27T14:06:35.547" Score="4" Body="&lt;p&gt;Here's how I would approach this.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1) Execute this query in your MongoDB shell (or in Robomongo):&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var ids = [];&#xA;&#xA;db.Identifiers.aggregate(&#xA;    { $match: { _id: { $not: /@/ } } },&#xA;    { $project: { _id: 1 } }&#xA;).result.forEach(function(r) { ids.push(r._id) });&#xA;&#xA;printjson(ids);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll get an array of all identifiers that aren't emails (i.e. don't contain the &lt;code&gt;@&lt;/code&gt; symbol).&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;2) Create a C# script (e.g. an .aspx page) and insert the ids you retrieved earlier:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string[] ids = { &quot;Identifier1&quot;, &quot;Identifier2&quot;, ... };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;3) For every identifier, load the contact and merge it with the corresponding email-identified contact.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Note that in the code below I am using the &lt;code&gt;ContactRepository.MergeContacts()&lt;/code&gt; API that was designed for merging two contacts into one.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactRepository = (ContactRepositoryBase)Factory.CreateObject(&quot;contactRepository&quot;, true);&#xA;LeaseOwner leaseOwner = new LeaseOwner(&quot;SOME_UNIQUE_WORKER_NAME&quot;, LeaseOwnerType.OutOfRequestWorker);&#xA;&#xA;foreach (string identifier in ids)&#xA;{&#xA;    LockAttemptResult&amp;lt;Contact&amp;gt; lockResultOld = contactRepository.TryLoadContact(identifier, leaseOwner, TimeSpan.FromMinutes(1));&#xA;&#xA;    if (lockResultOld.Status == LockAttemptStatus.Success)&#xA;    {&#xA;        Contact oldContact = lockResultOld.Object;&#xA;&#xA;        try&#xA;        {&#xA;            // Get the new email ID from somewhere, e.g. from a facet.&#xA;            var emails = oldContact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;            string newIdentifier = emails.Entries[emails.Preferred].SmtpAddress;&#xA;&#xA;            LockAttemptResult&amp;lt;Contact&amp;gt; lockResultNew = contactRepository.TryLoadContact(newIdentifier, leaseOwner, TimeSpan.FromMinutes(1));&#xA;&#xA;            if (lockResultNew.Status == LockAttemptStatus.Success)&#xA;            {&#xA;                Contact newContact = lockResultNew.Object;&#xA;&#xA;                try&#xA;                {&#xA;                    // This will merge all contact data, including all the visits, into the new contact.&#xA;                    contactRepository.MergeContacts(newContact, oldContact);&#xA;&#xA;                    contactRepository.ReleaseContact(oldContact.ContactId, leaseOwner);&#xA;&#xA;                    // When you save the new contact, the old contact will be marked as &quot;obsoleted&quot; in the database.&#xA;                    var options = new ContactSaveOptions(release: true, owner: leaseOwner);&#xA;                    contactRepository.SaveContact(newContact, options);&#xA;                }&#xA;                catch&#xA;                {&#xA;                    contactRepository.ReleaseContact(newContact.ContactId, leaseOwner);&#xA;                    throw;&#xA;                }&#xA;            }&#xA;        }&#xA;        catch&#xA;        {&#xA;            contactRepository.ReleaseContact(oldContact.ContactId, leaseOwner);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-01-27T15:45:55.107" LastActivityDate="2017-01-27T15:45:55.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4062" PostTypeId="1" AcceptedAnswerId="4063" CreationDate="2017-01-27T14:39:10.200" Score="2" ViewCount="999" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TywqR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TywqR.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&#xA;I am trying to add the custom class on the form field, can anyone help me that how can i add or what will the flow to add custom class for form's fields&lt;/p&gt;&#xA;" OwnerUserId="1307" LastActivityDate="2017-01-27T14:42:39.460" Title="Web Forms For Marketers Custom Class on Form's fields?" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4063" PostTypeId="2" ParentId="4062" CreationDate="2017-01-27T14:42:39.460" Score="4" Body="&lt;p&gt;Here is the link to the doc describing what you want to achieve:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/appearance/create_a_custom_css_style_in_a_web_form&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/appearance/create_a_custom_css_style_in_a_web_form&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is copy paste from that page with main points so no one tells that it's a link only answer ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To create a custom CSS style:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &lt;code&gt;Website\sitecore modules\Shell\Web Forms for Marketers\Themes\&lt;/code&gt;folder, in the &lt;code&gt;custom.css&lt;/code&gt; file, define a new CSS style.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Content Editor, navigate to the &lt;code&gt;sitecore/System/Modules/Web Forms for Marketers/Settings/Meta data/CSS Classes&lt;/code&gt; folder, and in the right pane click &lt;code&gt;Extended List Item&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Message dialog box, enter the name of the CSS style, for example Short Date. Click OK.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the right pane, in the Value field, enter the name of the CSS style. Click Save.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Your custom CSS style is now added, and you can apply it to any form field in the Form Designer.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-01-27T14:42:39.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4064" PostTypeId="1" AcceptedAnswerId="4066" CreationDate="2017-01-27T15:10:58.443" Score="3" ViewCount="745" Body="&lt;p&gt;We have multilingual site, which has content editors from around the world.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a maintenance banner on home page which display &quot;Site will be down from dd:mm:yyyy time to this dd:mm:yyyy&quot;. This banner should be content manageable. That means content editors can pick &lt;strong&gt;From Date&lt;/strong&gt; and &lt;strong&gt;To Date&lt;/strong&gt; in sitecore to display/hide this banner.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is, how does sitecore date time field deal with time zones?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In fr-FR sitecore Item version, If a content editor from France added from date  today 9 AM To  today 12PM. &lt;/li&gt;&#xA;&lt;li&gt;In en-GB sitecore item version, if a content editor from London added From date  today 9AM  To today 12PM.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Does below code, displays banner from 9AM to 12PM in french site at french local time and 9AM to 12PM in GB site at GB local time?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{ if (ShowBroadcastMessageFrom &amp;gt;= DateTime.UtcNow &amp;amp;&amp;amp; ShowBroadcastMessageTo &amp;lt;= DateTime.UtcNow)&#xA;    {&#xA;        //Show maintenance banner&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If not, what's the best way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2017-01-29T17:06:29.150" Title="Datetime Field in multilingual environment" Tags="|content-editor|fieldtype|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4065" PostTypeId="2" ParentId="3736" CreationDate="2017-01-27T15:14:14.610" Score="3" Body="&lt;p&gt;There is a strange thing that the Sitecore Update Installation Wizard does for Standard Values items when it installs them in a Sitecore Update Package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For __Renderings and __Final Renderings fields, if you have reset the value (made it null) of one of those fields in your Standard Values item in the package...the Installation Wizard still won't make your instance reflect this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even with the field reset (so the raw value doesn't exist...i.e is null)...the Update Installation Wizard treats the Standard Values in a special way, and won't actually make your target Sitecore instance reflect that change. (Even with settings like TDS's 'AlwaysUpdate').&#xA;Instead, the installer checks if the Sitecore value is not null, and then it keeps THAT value....not the null value that your package contains.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a frustrating feature of Sitecore's Installation Wizard, that I can only imagine is an attempt to prevent overwriting of content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; TDS Classic v5.7 comes with a fix for this. Essentially it runs it's own 'PostDeployStep' to force the proper value (null) into the field on the Standard Values item.&#xA;If you're on earlier versions, you could just write your own to do the same thing.&#xA;&lt;a href=&quot;http://www.teamdevelopmentforsitecore.com/en/blog/creating-tds-custom-post-deploy-step&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.teamdevelopmentforsitecore.com/en/blog/creating-tds-custom-post-deploy-step&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="418" LastEditorUserId="418" LastEditDate="2018-03-13T19:19:33.590" LastActivityDate="2018-03-13T19:19:33.590" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4066" PostTypeId="2" ParentId="4064" CreationDate="2017-01-27T15:24:22.920" Score="4" Body="&lt;p&gt;From a purely technical perspective, locales and cultures have no bearing on timezones (i.e., en-US does not mean or even imply the EST time zone, or any other time zone). This is not a Sitecore specific detail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside the &lt;em&gt;CMS&lt;/em&gt;, dates are &lt;em&gt;displayed&lt;/em&gt; and take &lt;em&gt;input&lt;/em&gt; based on the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/utc/settings_supporting_utc_implementation&quot; rel=&quot;nofollow noreferrer&quot;&gt;ServerTimeZone&lt;/a&gt; setting. However, all dates are &lt;em&gt;stored&lt;/em&gt; inside the database as UTC and retrieved as UTC. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The language version of an item has no bearing on what time zone the date/time field is using for input. If you want the ability to set specific time zones on date fields, you'll need to use a custom field such as this one: &lt;a href=&quot;https://github.com/mikaelnet/Sitecore.DateTimeZoneField&quot; rel=&quot;nofollow noreferrer&quot;&gt;DateTimeZoneField&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="170" LastEditorUserId="170" LastEditDate="2017-01-27T15:31:19.987" LastActivityDate="2017-01-27T15:31:19.987" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4067" PostTypeId="2" ParentId="4064" CreationDate="2017-01-27T15:45:20.173" Score="1" Body="&lt;p&gt;As @JustinLaster said, dates are stored in and retrieved from the database in UTC. This ensures that all stored dates are location-agnostic (universal), and inherently means that it is the responsibility of the Sitecore Client and end-user application(s) to control how dates should be presented to authors and end-users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As @JustinLaster also mentioned, the Sitecore uses the &lt;code&gt;ServerTimeZone&lt;/code&gt; setting to determine what timezone to convert the UTC dates to when displaying a date to an author. This does, however, mean that it is the responsibility of the developer to ensure that dates and times are displayed in the correct timezones to end-users on the front-end site. You can read &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/utc/datetime/datetime_best_practices&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's official &lt;code&gt;DateTime&lt;/code&gt; best practices documentation&lt;/a&gt; for more on how best to control this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your use-case, specifically, it sounds like you are concerned with ensuring that the date/time that the authors enter is properly converted &lt;em&gt;into&lt;/em&gt; universal time, so that the time-range displayed on your maintenance banner is accurate regardless of the end-user's timezone. This could be a bit more of a challenge, and may require some more manual intervention on the part of the content author to specify the dates/times in the Sitecore fields in the same timezone as was set for the &lt;code&gt;ServerTimeZone&lt;/code&gt; setting.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-01-27T15:45:20.173" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4068" PostTypeId="2" ParentId="4039" CreationDate="2017-01-27T15:49:17.583" Score="1" Body="&lt;p&gt;Which version of TDS are you using? Though I won't argue that TDS can be a build performance bottle neck, version 5.5+ doesn't install the connector if one of the same version is found. See release notes for 5.5:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.teamdevelopmentforsitecore.com/Download&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.teamdevelopmentforsitecore.com/Download&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="856" LastActivityDate="2017-01-27T15:49:17.583" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4069" PostTypeId="1" AcceptedAnswerId="4429" CreationDate="2017-01-27T21:06:38.473" Score="4" ViewCount="1760" Body="&lt;p&gt;I'd like to be able to use a custom datasource syntax for renderings and sublayouts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In particular I'd like to be able to handle custom prefixes for various different usages. The main one being site-relative paths such as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;site:*[@@templateid=&quot;{...guid...}&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've had no problem using the custom syntax from codebehind, as it's available as a raw string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue arises in Experience Editor mode. If I use a custom datasource syntax &lt;a href=&quot;https://youtu.be/X9LImaSU-zI&quot; rel=&quot;noreferrer&quot;&gt;the frame of the rendering breaks&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a pipeline I need to use to tell Sitecore what item or ID it should be using for the rendering?&lt;/p&gt;&#xA;" OwnerUserId="286" LastActivityDate="2020-12-04T14:37:20.330" Title="Custom rendering datasource syntax without breaking experience editor" Tags="|experience-editor|presentation|datasource|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4071" PostTypeId="2" ParentId="4064" CreationDate="2017-01-28T14:10:42.860" Score="1" Body="&lt;p&gt;@Zachary Knievel and @Justin Laster have answered the timezone question (i.e. input is for the server, stored in database as UTC). You will not see 'local time' on your banner, you will instead see whatever time you output in your 'show maintenance banner' block.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I have faced this scenario and wanted to have different date/time for different languages, I have actually implemented language-specific text fields for the user to type out what they want to show for their language, and also provided them with the 'absolute' field for use with the logical calculation. This provides ultimate customization over the output message and deals with language-specific variants on output easily by putting the output formatting on the author (french and english, for example, do not generally use the same date output format)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can use a single field and make sure you have help text defined on the field definition so the author knows what timezone they are specifying. You will then have to make sure you output something in the text so that the visitor knows what timezone the date/time displayed is in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unless you can absolutely guarantee your visitors are in specific time zones if they want to read your site in a specific language, I would not generally tie time zones to the language. For example, somebody in France might want to read the site in English, but that doesn't mean you should change their timezone.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-01-28T14:10:42.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4073" PostTypeId="1" AcceptedAnswerId="4081" CreationDate="2017-01-29T23:01:27.477" Score="1" ViewCount="837" Body="&lt;p&gt;I was wondering if we could apply custom classes (bootstrap) to the submit button in WFFM?  I know that form inputs seem to have this ability, but I don't seem to see this feature for the submit button itself.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-01-30T10:43:44.240" Title="WFFM Custom Class for Submit Button" Tags="|wffm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4076" PostTypeId="1" AcceptedAnswerId="4084" CreationDate="2017-01-30T06:44:36.373" Score="6" ViewCount="2184" Body="&lt;p&gt;I am using TDS to maintain my Sitecore items in a Helix-inspired solution with around 50 smaller projects (currently with 17 TDS projects). When I try to deploy my TDS projects locally, it takes +9 minutes for the 17 projects, which is a pain in a multi-developer setup, in which I often have to push items from other developers (without knowing which of the TDS projects they have commited to - if we only had a single TDS project I could simply sync that project).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using TDS version 5.5.0.20 and my Gulp build configuration is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return gulp.src([location + &quot;/**/tds/**/*.scproj&quot;])&#xA;  .pipe(foreach(function (stream) {&#xA;      return stream&#xA;        .pipe(debug({ title: &quot;Building project:&quot; }))&#xA;        .pipe(msbuild({&#xA;            targets: [&quot;Deploy&quot;],&#xA;            configuration: config.buildConfiguration,&#xA;            logCommand: false,&#xA;            verbosity: &quot;minimal&quot;,&#xA;            stdout: true,&#xA;            errorOnFail: true,&#xA;            maxcpucount: 0,&#xA;            toolsVersion: 14.0,&#xA;            properties: config.tdsMsbuildProperties&#xA;        }));&#xA;  }));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any tips on how to optimize the deployment of TDS items across multiple projects?&lt;/p&gt;&#xA;" OwnerUserId="758" LastActivityDate="2017-01-31T18:30:48.903" Title="Slow build performance using TDS (Helix-inspired)" Tags="|tds|deployment|serialization|gulp|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4078" PostTypeId="1" AcceptedAnswerId="4100" CreationDate="2017-01-30T09:04:53.470" Score="0" ViewCount="272" Body="&lt;p&gt;As the title says. If I have some logic to run that requires information about the current contact / recipient an email is being sent to, e.g. contact facets, what is the best way to get a hold of that contact profile?&lt;/p&gt;&#xA;" OwnerUserId="1298" LastActivityDate="2017-01-31T07:35:07.853" Title="Is there a recommended way to retrieve information about the current recipient in EXM?" Tags="|xdb|exm|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4079" PostTypeId="1" AcceptedAnswerId="4085" CreationDate="2017-01-30T09:06:26.540" Score="5" ViewCount="179" Body="&lt;p&gt;I am playing around with the TDS task GetFilesToTransform. I want to try and transform files based on an environment variable that is not the current build configuration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default task definition in C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets is this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;GetFilesToTransform&#xA;  FileExtension=&quot;config&quot;&#xA;  SolutionConfig=&quot;$(CurrentSolutionConfigurationContents)&quot;&#xA;  Configuration=&quot;$(Configuration)&quot;&#xA;  SourceWebProject=&quot;$(SourceWebProject)&quot;&#xA;  WebProjectRoot=&quot;$(MSBuildProjectDirectory)\$(SourceWebPhysicalPath)&quot;&#xA;  WebProject=&quot;$(SourceWebVirtualPath)&quot;&#xA;  Condition=&quot;'$(ConfigTransformAvailable)' == 'true'&quot;&amp;gt;&#xA;  &amp;lt;Output TaskParameter=&quot;TransformFilesToRemove&quot; ItemName=&quot;TransformFilesToRemove&quot;/&amp;gt;&#xA;  &amp;lt;Output TaskParameter=&quot;Transforms&quot; ItemName=&quot;Transforms&quot;/&amp;gt;&#xA;&amp;lt;/GetFilesToTransform&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I assumed that the &lt;strong&gt;Configuration&lt;/strong&gt; property would allow me to pass in a different variable and pickup config transforms. I have duplicated this entry and created my own build task that looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;GetFilesToTransform&#xA;  FileExtension=&quot;config&quot;&#xA;  SolutionConfig=&quot;$(CurrentSolutionConfigurationContents)&quot;&#xA;  Configuration=&quot;Local&quot;&#xA;  SourceWebProject=&quot;$(SourceWebProject)&quot;&#xA;  WebProjectRoot=&quot;$(MSBuildProjectDirectory)\$(SourceWebPhysicalPath)&quot;&#xA;  WebProject=&quot;$(SourceWebVirtualPath)&quot;&#xA;  Condition=&quot;'$(ConfigTransformAvailable)' == 'true'&quot;&amp;gt;&#xA;  &amp;lt;Output TaskParameter=&quot;TransformFilesToRemove&quot; ItemName=&quot;TransformFilesToRemove&quot;/&amp;gt;&#xA;  &amp;lt;Output TaskParameter=&quot;Transforms&quot; ItemName=&quot;Transforms&quot;/&amp;gt;&#xA;&amp;lt;/GetFilesToTransform&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using &lt;strong&gt;Local&lt;/strong&gt; as the configuration. However this is task still transforming using the build configuration value of &lt;strong&gt;DEBUG&lt;/strong&gt; instead of &lt;strong&gt;Local&lt;/strong&gt;. Any suggestions why this happening?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the build log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;11&amp;gt;                         Task  &quot;GetFilesToTransform&quot;&#xA;11&amp;gt;                             Task Parameter:FileExtension=config&#xA;11&amp;gt;                             Task Parameter:SolutionConfig=&amp;lt;SolutionConfiguration&amp;gt;&#xA;11&amp;gt;&amp;lt;ProjectConfiguration Project=&quot;{135a1e1b-e091-439b-97d1-6f871280e339}&quot; AbsolutePath=&quot;F:\TDS.Master.scproj&quot;&amp;gt;Debug|AnyCPU&amp;lt;/ProjectConfiguration&amp;gt;&#xA;11&amp;gt;&amp;lt;ProjectConfiguration Project=&quot;{b4239999-0ae1-438a-842b-094a33a8a2d1}&quot; AbsolutePath=&quot;F:\Host.csproj&quot;&amp;gt;Debug|AnyCPU&amp;lt;/ProjectConfiguration&amp;gt;&#xA;11&amp;gt;                             Task Parameter:Configuration=Local&#xA;11&amp;gt;                             Task Parameter:SourceWebProject={b4239999-0ae1-438a-842b-094a33a8a2d1}|EC.SWP.Common.Host\EC.SWP.Common.Host.csproj&#xA;11&amp;gt;                             Task Parameter:WebProjectRoot=F:\Host&#xA;11&amp;gt;                             Task Parameter:WebProject=/Host.csproj&#xA;11&amp;gt;    Transforms=&#xA;11&amp;gt;        App_Config\Include\_Common\Sites.config&#xA;11&amp;gt;                TransformFile=App_Config\Include\_Common\Sites.Debug.config&#xA;11&amp;gt;        web.config&#xA;11&amp;gt;                TransformFile=web.Debug.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="464" LastEditorUserId="-1" LastEditDate="2017-01-30T14:51:46.503" LastActivityDate="2017-01-31T12:05:40.677" Title="TDS GetFilesToTransform" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4081" PostTypeId="2" ParentId="4073" CreationDate="2017-01-30T10:43:44.240" Score="3" Body="&lt;p&gt;You can create a custom style and assign it to each form individually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create an item under &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Meta data/Submit Button Type&lt;/code&gt; of template type &lt;code&gt;/sitecore/templates/Web Forms for Marketers/Meta Data/Extended List Item&lt;/code&gt; and set the &lt;strong&gt;Value&lt;/strong&gt; to your custom CSS class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gFPLI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gFPLI.png&quot; alt=&quot;Custom Button Style&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then on the form itself, you can select the style in the &lt;strong&gt;Submit Button type&lt;/strong&gt; field. You have to do this from the &lt;strong&gt;Content Editor&lt;/strong&gt;, there is no option to set this from the &lt;strong&gt;Form Designer&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5fIWU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5fIWU.png&quot; alt=&quot;Select Style&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The style on your submit button will be set as &lt;code&gt;btn custom-style-value&lt;/code&gt;. The value from &lt;strong&gt;Submit Button size&lt;/strong&gt; field is also applied in the same way, so it's possible to use that for styling also.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-01-30T10:43:44.240" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4082" PostTypeId="1" AcceptedAnswerId="4083" CreationDate="2017-01-30T14:27:43.983" Score="0" ViewCount="173" Body="&lt;p&gt;How do you quickly determine if a client’s license includes something like Experience Analytics? Is it basically that if the license wasn’t good for a component, it wouldn’t show up on the Launchpad or work, or is there somewhere in the license itself to see? I can see Experience Analytics on the CM, and it looks like it's collecting data (I'm not sure it's any good but that's another story), so I'd assume it's licensed but I'd like to be sure.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-01-30T14:33:15.863" Title="Experience Analytics licensing" Tags="|experience-analytics|licensing|" AnswerCount="1" CommentCount="0" ClosedDate="2017-01-30T21:05:34.480" ContentLicense="CC BY-SA 3.0" />
  <row Id="4083" PostTypeId="2" ParentId="4082" CreationDate="2017-01-30T14:33:15.863" Score="1" Body="&lt;p&gt;You can look up installed licenses from the Content Editor. There might be more ways to reach this, but that's where I normally go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QTV7w.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QTV7w.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then check for your specific license. In this case xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aAVeA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aAVeA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately I know of no easy way to determine, exactly what license key is required for the various aspects of xDB. But anything not licensed, should not be showing up on the dashboard.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-30T14:33:15.863" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4084" PostTypeId="2" ParentId="4076" CreationDate="2017-01-30T15:11:11.690" Score="7" Body="&lt;p&gt;TL;DR&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some possible solutions to reduce build/deployment time:-&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Reduce the number of projects in your solution by 'compacting' projects.&lt;/li&gt;&#xA;&lt;li&gt;Reduce the number of projects in your solution by having a Tests-project-free sln file.&lt;/li&gt;&#xA;&lt;li&gt;Create an sln file with the explicit ProjectDependencies removed. This would only be for local builds. It doesn't help you for your deployments after a pull from source control.&lt;/li&gt;&#xA;&lt;li&gt;Utilize the Delta Deployment feature in TDS, deploying only items changed after a set date (like one week ago).&lt;/li&gt;&#xA;&lt;li&gt;Remove any other unnecessary things being run for local builds.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Long Version&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When developing with Helix, a common pain that people have reported is &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3623/sitecore-helix-habitat-and-visual-studio-structure&quot;&gt;the lengthy build times due to the large amounts of projects in the solution&lt;/a&gt;.&#xA;Naturally, the more projects, the longer the build/deployment time.&#xA;As TDS serializes items into projects, this again means that there will be more projects in your solution.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If the number of projects is becoming a pain, I would suggest considering how you could reduce the number of projects, but still maintain the Helix principles in your solution. This can be done by utilizing &lt;a href=&quot;http://www.hhog.com/blog/sitecore-helix-fxcop-rules/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Hedgehog's FxCop rules&lt;/a&gt; which perform code analysis based on your namespaces.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Maybe you want to consider duplicating the sln file, having one for general development (removing the Tests projects), and one complete one where the Tests are still included. For the Tests-free sln, Visual Studio may run builds faster. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;As for the deployment of the solution, the &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/TDS-latest&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat.TDS repository&lt;/a&gt; adds custom 'Project dependencies' to force a correct deployment order within the solution (this is done in the original repo with custom gulp scripts, deploying Foundation -&gt; Feature -&gt; Project layers). This custom deployment order should always be maintained when:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;performing an initial deployment&lt;/li&gt;&#xA;&lt;li&gt;performing a deployment when you've retrieved code and items from other developers (like when you get the latest from source control through a &lt;code&gt;git pull&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;However, during your own development (in between source code retrieval....just developing locally), you theoretically don't need this order for just builds (because you're not doing deploys). It's not ideal, but you could duplicate your sln file, remove all the custom project dependencies (the sections in the raw sln file that have &lt;code&gt;ProjectSection(ProjectDependencies)&lt;/code&gt;), and develop with that. This way Visual Studio builds only projects with the actual references, and doesn't unnecessarily go through the entire solution. I've tested this on the example site, and found a little bit of improvement in build times.... but again, it's not an ideal scenario.&#xA;Here's a PowerShell script that can create this sln file for you:- &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/blob/TDS-latest/scripts/CreateQuickBuildSlnFile.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/HedgehogDevelopment/Habitat/blob/TDS-latest/scripts/CreateQuickBuildSlnFile.ps1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Utilize the 'Deploy Items Changed After' option on the Properties -&gt; General Tab. (You could set this in your local TdsGlobal.config.user file using the &lt;code&gt;&amp;lt;IncludeItemsChangedAfter&amp;gt;&lt;/code&gt; node). This &lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#general&quot; rel=&quot;nofollow noreferrer&quot;&gt;ignores the deployment of items from AFTER the set date&lt;/a&gt;. Maybe set the date to 1 week prior. This can greatly speed up the local deployment process.&#xA;You want to be careful about this though, as it uses the __Updated field on the items to do the comparison out of the box....so you &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3463/custom-tds-delta-packages/3471#3471&quot;&gt;could customize it to check source control for updated .item files instead.&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Minimize the other things that cause the build to take longer. In one solution, I saw that the developers were running certain gulp tasks that weren't needed for every build. They also had Razor View compilation. Now for these, we moved them out to the 'Release' configuration, so they were still run, but only for CI builds, not local developer builds (which are run on the 'Debug' configuration).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;All up, using some combinations of the above, we found that we were able to reduce some build times from 14 minutes down to about 2 minutes. Again, it depends on your solution, but these are some things you may want to consider.&lt;/p&gt;&#xA;" OwnerUserId="418" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-01-30T20:50:47.377" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4085" PostTypeId="2" ParentId="4079" CreationDate="2017-01-30T16:25:21.560" Score="2" Body="&lt;p&gt;In the above example, the &lt;code&gt;SolutionConfig&lt;/code&gt; XML attribute is constructed by the build process. Internally, this overrides the &lt;code&gt;Configuration&lt;/code&gt; parameter when the build supplies the &lt;code&gt;SolutionConfig&lt;/code&gt; value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remove the SolutionConfig property:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;GetFilesToTransform&#xA;FileExtension=&quot;config&quot;&#xA;Configuration=&quot;Local&quot;&#xA;SourceWebProject=&quot;$(SourceWebProject)&quot;&#xA;WebProjectRoot=&quot;$(MSBuildProjectDirectory)\$(SourceWebPhysicalPath)&quot;&#xA;WebProject=&quot;$(SourceWebVirtualPath)&quot;&#xA;Condition=&quot;'$(ConfigTransformAvailable)' == 'true'&quot;&amp;gt;&#xA;  &amp;lt;Output TaskParameter=&quot;TransformFilesToRemove&quot; ItemName=&quot;TransformFilesToRemove&quot;/&amp;gt;&#xA;  &amp;lt;Output TaskParameter=&quot;Transforms&quot; ItemName=&quot;Transforms&quot;/&amp;gt;&#xA;&amp;lt;/GetFilesToTransform&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And ensure that the file in the csproj has the dependant element:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Content Include=&quot;App_Config\Include\_Common\Sites.Local.config&quot;&amp;gt;&#xA;  &amp;lt;DependentUpon&amp;gt;Sites.config&amp;lt;/DependentUpon&amp;gt;&#xA;  &amp;lt;SubType&amp;gt;Designer&amp;lt;/SubType&amp;gt;&#xA;&amp;lt;/Content&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1448" LastEditorUserId="464" LastEditDate="2017-01-31T12:05:40.677" LastActivityDate="2017-01-31T12:05:40.677" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4086" PostTypeId="1" AcceptedAnswerId="4088" CreationDate="2017-01-30T16:47:17.740" Score="1" ViewCount="205" Body="&lt;p&gt;Has anyone seen this? I have Sitecore 8.0 update 7 running and at times(it comes and goes, haven't determined when exactly and why) I see  this request output showing along side with the content tree on the content editor view? I'm not seeing any exceptions on logs that indicate anything useful on this matter&#xA;&lt;a href=&quot;https://i.stack.imgur.com/wG0hi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wG0hi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-01-30T18:29:57.023" Title="Content tree outputing request" Tags="|content-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4087" PostTypeId="1" CreationDate="2017-01-30T17:58:05.710" Score="3" ViewCount="282" Body="&lt;p&gt;I have completed the Sitecore Configuration for remote Sitecore Reporting Service for my CM server. How do I validate that its correctly configured? Is there something/anything on the CM server what executes directly against the remote reporting service setup?&lt;/p&gt;&#xA;" OwnerUserId="1450" LastEditorUserId="73" LastEditDate="2017-01-30T18:27:24.043" LastActivityDate="2017-05-01T16:05:10.857" Title="Sitecore Reporting Service How to validate setup" Tags="|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4088" PostTypeId="2" ParentId="4086" CreationDate="2017-01-30T18:29:57.023" Score="2" Body="&lt;p&gt;Looks like you might have &lt;em&gt;Tracing&lt;/em&gt; enabled. This can be configured on a &lt;code&gt;web.config&lt;/code&gt; level, something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;trace enabled=&quot;true&quot; pageOutput=&quot;false&quot; requestLimit=&quot;40&quot; localOnly=&quot;false&quot;/&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/0x5wc973.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to: Enable Tracing for an ASP.NET Application&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-30T18:29:57.023" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4089" PostTypeId="1" AcceptedAnswerId="4120" CreationDate="2017-01-30T20:37:56.127" Score="4" ViewCount="994" Body="&lt;p&gt;I've installed Sitecore 8.2 Original release, and then Ran the Sitecore Powershell Extensions-4.3 for Sitecore 8 and the Sitecore Experience Accelerator 1.2 rev. 161216 onto the instance. That all seems to work just fine. However, the problem comes when I convert my site to run on SOLR. As soon as I do this I get a SOLR Error. Here's what I get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;Could not create instance of type: Sitecore.XA.Foundation.Search.Providers.Solr.SolrSearchIndex. No matching constructor was found.&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: Sitecore.Exceptions.ConfigurationException: Could not create instance of type: Sitecore.XA.Foundation.Search.Providers.Solr.SolrSearchIndex. No matching constructor was found.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[ConfigurationException: Could not create instance of type: Sitecore.XA.Foundation.Search.Providers.Solr.SolrSearchIndex. No matching constructor was found.]&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +291&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +165&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +932&#xA;   Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +560&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +322&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +619&#xA;   Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration() +266&#xA;   Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_Cores() +92&#xA;   Sitecore.ContentSearch.SolrProvider.SolrNetIntegration.DefaultSolrStartUp.Initialize() +255&#xA;   (Object , Object[] ) +71&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +259&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +704&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +618&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343&#xA;&#xA;[HttpException (0x80004005): Could not create instance of type: Sitecore.XA.Foundation.Search.Providers.Solr.SolrSearchIndex. No matching constructor was found.]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +579&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +112&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +712&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I switch back to Lucene, everything works fine. However, my production environment (and my test environments) are all SOLR, so I need to be able to use SXA in a SOLR environment. What am I missing?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-02-01T07:16:24.283" Title="How can I use SXA and SOLR together?" Tags="|solr|sxa|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4090" PostTypeId="2" ParentId="4089" CreationDate="2017-01-30T21:02:58.083" Score="2" Body="&lt;p&gt;The &lt;code&gt;Could not create instance of type: Sitecore.XA.Foundation.Search.Providers.Solr.SolrSearchIndex. No matching constructor was found.&lt;/code&gt; means that there SXA Solr Provider configuration file contains:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;configuration of an index which doesn't exist (in most cases this is the case as we ship just an example Solr configuration file)&lt;/li&gt;&#xA;&lt;li&gt;configuration of and index with wrong number of constructor parameters&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would suggest to go one by one and remove indexes from &lt;code&gt;Sitecore.XA.Foundation.Search.Solr.config&lt;/code&gt; configuration file and check if this will help.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-01-30T21:02:58.083" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4091" PostTypeId="1" CreationDate="2017-01-30T21:18:06.597" Score="0" ViewCount="242" Body="&lt;p&gt;I am trying to disable cache for all Sitecore pages. I am able to do this through the code (through shared layouts) but I wanted to do it through just the config file. I came across many posts that mentioned setting &lt;code&gt;DisableBrowserCaching = true&lt;/code&gt; in web.config would add &lt;code&gt;no-cache, no-store&lt;/code&gt; to the response header. However, in my case it takes no effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering is there anything else I need to do along with setting &lt;code&gt;DisableBrowserCaching = true&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: Everything under caching section in content editor is unchecked.&lt;/p&gt;&#xA;" OwnerUserId="403" LastActivityDate="2017-03-12T13:05:33.690" Title="Is DisableBrowserCaching tag being ignored / overwritten?" Tags="|caching|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="4092" PostTypeId="1" AcceptedAnswerId="4102" CreationDate="2017-01-30T21:47:43.603" Score="5" ViewCount="2585" Body="&lt;p&gt;There may be several forms on any given page of our site. Distinguishing between post requests from these forms is implemented using &lt;a href=&quot;http://www.reinoudvandalen.nl/blog/ultimate-fix-for-multiple-forms-on-one-page-with-sitecore-mvc/&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;&lt;code&gt;ValidateRenderingToken&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt;. There is also &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.web.mvc.htmlhelper.antiforgerytoken(v=vs.118).aspx&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;&lt;code&gt;AntiForgeryToken&lt;/code&gt; / validation&lt;/strong&gt;&lt;/a&gt; defined for every form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of these forms is the log-in / log-out form in the header. My problem is currently this error when logging in:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;The provided anti-forgery token was meant for user &quot;&quot;, but the current user is &quot;extranet\someuser&quot;.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this error when logging out (previously logged in as an admin):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;The provided anti-forgery token was meant for user &quot;sitecore\admin&quot;, but the current user is &quot;&quot;.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As I understand, this is because the user is changed in the middle of the request, and the &lt;code&gt;[ValidateAntiForgeryToken]&lt;/code&gt; attribute for all subsequent post handlers on the page gets called anyway and fails. This is despite having a &lt;code&gt;[ValidateRenderingToken]&lt;/code&gt; attribute on every POST handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;[ValidateRenderingToken]&#xA;[ValidateAntiForgeryToken]&#xA;public ActionResult Index(SomeModel model)&#xA;{&#xA;    // ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only solution that comes to mind is to somehow postpone the login/logout procedure until the end of the request, when all anti-forgery validation has been executed. Is there a better, more standard way of handling the log-in / log-out procedure with multiple secured forms on the page?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-01-31T11:49:44.763" Title="How to use the AntiForgeryToken with a custom log-in form?" Tags="|security|login|mvc-forms|" AnswerCount="1" CommentCount="2" ClosedDate="2017-01-31T11:49:55.480" ContentLicense="CC BY-SA 3.0" />
  <row Id="4094" PostTypeId="1" CreationDate="2017-01-30T22:48:33.293" Score="1" ViewCount="465" Body="&lt;p&gt;I'm trying to determine the feasibility and effort for a client request. When a rendering is removed from a layout via the presentation details, they want all child renderings to also be removed to avoid having orphaned renderings in the layout. (ie. renderings in placeholders of the rendering being removed, recursively).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, it seems feasible to look at a rendering, determine its placeholders and find renderings within those, and remove them as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A couple resources: &lt;a href=&quot;https://briancaos.wordpress.com/2013/12/17/get-sitecore-placeholders-and-rendering-hierarchy-from-a-sitecore-item/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://blog.ryanbailey.co.nz/2016/08/sitecore-removing-rendering-or.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, what I can't figure out is when to initiate this. Is there a pipeline I am not seeing that fires when a rendering is removed? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe I need to rethink the approach and remove orphaned renderings when an item is saved?&lt;/p&gt;&#xA;" OwnerUserId="1013" LastEditorUserId="1013" LastEditDate="2017-01-30T23:11:43.000" LastActivityDate="2017-01-30T23:11:43.000" Title="Remove Child Renderings From Layout" Tags="|presentation|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4095" PostTypeId="1" AcceptedAnswerId="4109" CreationDate="2017-01-30T23:02:15.733" Score="7" ViewCount="1142" Body="&lt;p&gt;I've created some PSE scripts to give our client some reports on their content. I created them under the proper convention of Script Module and Script Library so that the reports show up under Reporting Tools in the Sitecore start menu.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tree:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3EkG3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3EkG3.png&quot; alt=&quot;tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Menu:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/si6x1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/si6x1.png&quot; alt=&quot;menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works great for an admin. What I can't figure out is how to grant access to these reports to editors. In Core, I've given Read access to /sitecore/content/Documents and settings/All users/Start menu/Right/Reporting Tools/PowerShell Reports. I've also given read access in Master to my script module, script library and individual scripts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing to allow editors to see these reports in the Sitecore start menu? With the access changes noted above, they only see an empty Powershell Reports menu.&lt;/p&gt;&#xA;" OwnerUserId="1013" LastEditorUserId="1013" LastEditDate="2017-01-31T20:08:32.047" LastActivityDate="2017-02-01T15:53:39.030" Title="Sitecore Powershell Extensions - Reports Authorization" Tags="|security|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4097" PostTypeId="1" AcceptedAnswerId="4162" CreationDate="2017-01-31T01:47:11.397" Score="1" ViewCount="1145" Body="&lt;p&gt;Let's say you have an item with a checkbox field &quot;DisplayOnPage&quot;, and the standard values for the Items template has &quot;DisplayOnPage&quot; set to be checked by default (thus the standard value for this field is &quot;1&quot;).  If you do a field query against an index containing your item, and look for items where &quot;displayonpage&quot; = &quot;1&quot;, your item that is using the standard value (again, to set the value of the DisplayOnPage field to 1) will NOT return as a result.  If, on your item, you uncheck the DisplayOnPage field, save the item, then recheck the DisplayOnPage field, save again and publish - your item will be returned by your FieldQuery.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe the cause to this is that standard value fields are not stored by items explicitly in the database, so the Sitecore Search doesn't make the connection that your item implicitly has the value you're searching for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way around this?&lt;/p&gt;&#xA;" OwnerUserId="1023" LastActivityDate="2017-02-02T10:43:17.857" Title="Sitecore Search and Standard Values" Tags="|content-search|lucene|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4100" PostTypeId="2" ParentId="4078" CreationDate="2017-01-31T07:35:07.853" Score="2" Body="&lt;p&gt;EXM utilizes Sitecore's own rendering system to create each message. In doing so, the Dispatch server will make a call to the content delivery role to display the email through an HTTP call. It does so by passing in a handful of arguments, of which include both Message ID and Contact in EXM's &lt;code&gt;GetBody()&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This process then emulates as the user, meaning when Sitecore renders the components on the email, it's doing so, just like if it were drawing to a web page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore all aspects of the Sitecore Context, as well as Analytics context, exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That means we can retrieve the Sitecore Contact by using normal API methods.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Tracking.Current.Contact&lt;/code&gt; should reveal the contact that the message is being built for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From there, you can access the Contact Facets through normal means.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're using a shared layout, you can use the following method to determine whether a sublayout is rendering for a normal page request or EXM is requesting a message body, use:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Modules.EmailCampaign.Util.IsMessageBodyRequest()&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-01-31T07:35:07.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4102" PostTypeId="2" ParentId="4092" CreationDate="2017-01-31T11:49:44.763" Score="4" Body="&lt;p&gt;I found the root of the issue. It was caused by some controller actions, for which:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Either the &lt;code&gt;[ValidateRenderingToken]&lt;/code&gt; attribute was missing;&lt;/li&gt;&#xA;&lt;li&gt;Or the &lt;code&gt;[ValidateRenderingToken]&lt;/code&gt; attribute was added &lt;em&gt;after&lt;/em&gt; the &lt;code&gt;[ValidateAntiForgeryToken]&lt;/code&gt; attribute, thus changing the execution order.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-01-31T11:49:44.763" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4104" PostTypeId="1" AcceptedAnswerId="4105" CreationDate="2017-01-31T12:50:34.440" Score="5" ViewCount="5054" Body="&lt;p&gt;I have a template for a custom user profile that has a General Link field type. Here's what I am trying to do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Security.Accounts.User.Profile.SetCustomProperty(&quot;ProfilePhoto&quot;, &quot;http://placehold.it/350x150&quot;);&#xA;Sitecore.Security.Accounts.User.Profile.Save();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Problem is that by updating this way it messes with the General Link field for this field expects an XML. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice how this field is displayed (blank) after updating it the way above:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lvA7T.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lvA7T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And then when I click on Insert Link it displays the yellow screen of death.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UU2Ba.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UU2Ba.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix that I have to click on Clear and then try to insert a link again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea?&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2019-11-28T10:23:10.203" Title="How to programatically update a General Link field in a custom user profille?" Tags="|user-profile|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4105" PostTypeId="2" ParentId="4104" CreationDate="2017-01-31T13:05:37.033" Score="6" Body="&lt;p&gt;First things first. The fact that you get YSOD on a &lt;em&gt;malformed value&lt;/em&gt; is actually a bug. It is registered with Sitecore under &lt;a href=&quot;https://kb.sitecore.net/articles/853187&quot; rel=&quot;noreferrer&quot;&gt;public reference 96011&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said; internally; General Link is an XML element. For your scenario to work, you need to store your value as such. The element looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link&#xA;    text=&quot;Text&quot;&#xA;    linktype=&quot;internal/external&quot;&#xA;    url=&quot;url&quot;&#xA;    anchor=&quot;anchor&quot;&#xA;    title=&quot;title&quot;&#xA;    class=&quot;class&quot;&#xA;    querystring=&quot;querystring&quot;&#xA;    target=&quot;target&quot;&#xA;    id=&quot;id&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So in your case, something like this should work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link linktype=&quot;external&quot; url=&quot;http://placehold.it/350x150&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't believe any of the other attributes will be required, for an external link such as yours.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or the full code example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Security.Accounts.User.Profile.SetCustomProperty(&quot;ProfilePhoto&quot;, &quot;&amp;lt;link linktype=\&quot;external\&quot; url=\&quot;http://placehold.it/350x150\&quot; /&amp;gt;&quot;);&#xA;Sitecore.Security.Accounts.User.Profile.Save();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-01-31T13:05:37.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4106" PostTypeId="1" CreationDate="2017-01-31T13:40:12.163" Score="1" ViewCount="812" Body="&lt;p&gt;I am integrating update 1 of Sitecore 8.2. with WFFM and facing below error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Could not create instance of the Sitecore.Forms.Core.Handlers.FormDataHandler class.&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of&#xA;  the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.Exception: Could not create instance of the Sitecore.Forms.Core.Handlers.FormDataHandler class.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[Exception: Could not create instance of the Sitecore.Forms.Core.Handlers.FormDataHandler class.]&#xA;     Sitecore.WFFM.Abstractions.Dependencies.DependenciesManager.Resolve(String path) +239&#xA;     Sitecore.Form.Core.Ascx.Controls.SimpleForm..ctor() +23&#xA;     Sitecore.Form.Web.UI.Controls.SitecoreSimpleForm..ctor(Item item) +22&#xA;     Sitecore.Form.Core.Renderings.FormRender.OnInit(EventArgs e) +412&#xA;     System.Web.UI.Control.InitRecursive(Control namingContainer) +186&#xA;     System.Web.UI.Control.InitRecursive(Control namingContainer) +291&#xA;     System.Web.UI.Control.InitRecursive(Control namingContainer) +291&#xA;     System.Web.UI.Control.InitRecursive(Control namingContainer) +291&#xA;     System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2098&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1160" LastEditorUserId="2727" LastEditDate="2018-03-09T17:34:21.563" LastActivityDate="2023-12-09T11:04:40.597" Title="Could not create instance of the Sitecore.Forms.Core.Handlers.FormDataHandler Issue for WFFM" Tags="|wffm|upgrade|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4107" PostTypeId="2" ParentId="4104" CreationDate="2017-01-31T13:41:12.957" Score="6" Body="&lt;p&gt;What Mark has outlined will work. The only downside is that you'll have to compose the XML yourself, and its structure could potentially change in future versions of Sitecore (however unlikely that is).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been trying to come up with a way of getting the XML string via Sitecore API. It seems that there is no straightforward way of doing that, but here's what I came up with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class LinkHelper&#xA;{&#xA;    public static string GetLinkXml(Uri url, string linkType = &quot;external&quot;)&#xA;    {&#xA;        string result;&#xA;&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            Database db = Database.GetDatabase(&quot;core&quot;);&#xA;&#xA;            // Any real link field will do for our purposes.&#xA;            Item item = db.GetItem(&quot;/sitecore/masters/Application&quot;);&#xA;            var linkField = new LinkField(item.Fields[&quot;__Help link&quot;]);&#xA;&#xA;            item.Editing.BeginEdit();&#xA;&#xA;            linkField.Url = url.ToString();&#xA;&#xA;            linkField.LinkType = linkType;&#xA;&#xA;            // Get the final XML.&#xA;            result = linkField.Xml.OuterXml;&#xA;&#xA;            // Cancel the changes so that they aren't saved to the database.&#xA;            item.Editing.CancelEdit();&#xA;        }&#xA;&#xA;        return result;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If performance of generating such links isn't an issue for you, this seems usable (albeit not tested in real projects).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a usage example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string linkXml = LinkHelper.GetLinkXml(new Uri(&quot;http://placehold.it/350x150&quot;))&#xA;profile.SetCustomProperty(&quot;ProfilePhoto&quot;, linkXml);&#xA;profile.Save();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-01-31T13:41:12.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4108" PostTypeId="2" ParentId="4087" CreationDate="2017-01-31T14:39:23.660" Score="1" Body="&lt;p&gt;To ensure that your setup is correct:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Verify that the following configuration files are enabled on the CM:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Xdb.Remote.Client.config&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Xdb.Remote.Client.MarketingAssets.config&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.PathAnalyzer.RemoteClient.config&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open &lt;code&gt;/sitecore/admin/ShowConfig.aspx&lt;/code&gt; on the CM and verify that:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;There is a &lt;code&gt;&amp;lt;remote enabled=&quot;true&quot;&amp;gt;&lt;/code&gt; node under &lt;code&gt;&amp;lt;reporting&amp;gt;&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;There is a &lt;code&gt;&amp;lt;httpTransportFactory&amp;gt;&lt;/code&gt; node with a non-empty &lt;code&gt;serviceUrl&lt;/code&gt; parameter.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If your configuration is correct, the following applications will get all data from the remote server:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Experience Analytics&lt;/li&gt;&#xA;&lt;li&gt;Path Analyzer&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If data is displayed in any of these applications, your setup is valid.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-01-31T14:39:23.660" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4109" PostTypeId="2" ParentId="4095" CreationDate="2017-01-31T15:01:11.723" Score="6" Body="&lt;h3&gt;Security Setup&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Here are the steps I followed to grant access.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to the item &lt;code&gt;/sitecore/content/Documents and settings/All users/Start menu/Right/Reporting Tools/PowerShell Reports&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Grant access to &lt;code&gt;sitecore\Sitecore Client Authoring&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TeUzW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TeUzW.png&quot; alt=&quot;Security Change&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;See changes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Cu5vf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cu5vf.png&quot; alt=&quot;Report now available&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h3&gt;Troubleshooting&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uw4xF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uw4xF.png&quot; alt=&quot;Execution Missing&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you see the report menu item but does not expand, ensure that the user has access to the group defined in the configuration for &lt;a href=&quot;https://doc.sitecorepowershell.com/security.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;em&gt;Execution&lt;/em&gt;&lt;/a&gt; service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; If you decided to use a different group in the above, then be sure to patch the setting below. &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/765&quot; rel=&quot;nofollow noreferrer&quot;&gt;Issue #765&lt;/a&gt; will be addressed in 4.4, however you can manually fix it.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;powershell&amp;gt;&#xA;      &amp;lt;services&amp;gt;&#xA;        &amp;lt;remoting&amp;gt;&#xA;          &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/authorization&amp;gt;&#xA;          &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;add Permission=&quot;Allow&quot; IdentityType=&quot;Role&quot; Identity=&quot;sitecore\Sitecore Client Users&quot; /&amp;gt;&#xA;          &amp;lt;/authorization&amp;gt;&#xA;        &amp;lt;/remoting&amp;gt;&#xA;      &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/powershell&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h3&gt;Book Documentation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Instructions from this page have been copied to the &lt;a href=&quot;https://doc.sitecorepowershell.com/reports.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;book&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-02-01T15:53:39.030" LastActivityDate="2017-02-01T15:53:39.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4110" PostTypeId="1" CreationDate="2017-01-31T16:29:51.563" Score="0" ViewCount="279" Body="&lt;p&gt;I'm sure we've all seen those annoying &lt;code&gt;a serious error has occurred&lt;/code&gt; bars in the Experience Editor, but I have one that keeps cropping up sporadically. I'm working to isolate the scenario further to see if there's anything, I can track specifically, but in the interim I thought I'd ask about the error I'm seeing. This is in Sitecore 8.1 Update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ultimate error in the log points to a &lt;code&gt;NullReferenceException&lt;/code&gt; in &lt;code&gt;\Website\sitecore\shell\client\Sitecore\ExperienceEditor\PageEditbar\PageEditbar.cshtml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;line 4: @Html.Sitecore().Controls().PageEditBar(Model.Rendering, Html)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Above that, it mentions the line in &lt;code&gt;Speak-Layout.cshtml&lt;/code&gt; for the placeholder for Page.Body. I did make one modification to this file, to add in the app cache I've seen recommended (&lt;code&gt;&amp;lt;html data-sc-app manifest=&quot;/sitecore/shell/client/Sitecore/ExperienceEditor/Html5AppCache.ashx&quot;&amp;gt;&lt;/code&gt;). But I haven't encountered this issue locally, and I'm using the same line.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was curious if anyone had encountered this specific error before and found a resolution. I'm not sure if it's something in one of my renderings that's causing an issue down the line, or if it's some Sitecore quirk, etc.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="69" LastEditDate="2018-02-13T13:29:14.987" LastActivityDate="2018-02-13T13:29:14.987" Title="&quot;Serious error has occurred&quot; - null reference error" Tags="|experience-editor|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4111" PostTypeId="1" CreationDate="2017-01-31T16:44:02.537" Score="3" ViewCount="4253" Body="&lt;p&gt;When configuring a multi-site solution on Sitecore 7.2 Update 2, the client has decided to switch to a single domain. I would like to keep it as a multi-site solution in case the client decides for two domains in the future. There is minimal content that is shared across the sites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I can use &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Multiple_Sites_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Multiple_Sites_Manager.aspx&lt;/a&gt;. I am looking for other possible solutions as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Tree is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore&#xA;  |_content&#xA;       |_Personal&#xA;       |_Business&#xA;       |_Dictionaries&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Dictionaries are setup&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Dictionaries&#xA;       |_Personal Dictionary : Fallback Global&#xA;       |_Business Dictionary : Fallback Global&#xA;       |_Global Dictionary&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The sites configuration is below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;personal&quot; &#xA;            hostName=&quot;www.mydomain.com&quot; &#xA;            targetHostName=&quot;www.mydoman.com&quot;&#xA;            virtualFolder=&quot;/&quot; &#xA;            physicalFolder=&quot;/&quot; &#xA;            rootPath=&quot;/sitecore/content/personal&quot; &#xA;            dictionaryDomain=&quot;{UniquePersonalDictionaryDomain}&quot;&#xA;            patch:before=&quot;site[@name='modules_website']&quot;/&amp;gt;&#xA;      &amp;lt;site name=&quot;business&quot; &#xA;            hostName=&quot;business.mydomain.com&quot; &#xA;            targetHostName=&quot;business.mydomain.com&quot;&#xA;            virtualFolder=&quot;/&quot; &#xA;            physicalFolder=&quot;/&quot; &#xA;            rootPath=&quot;/sitecore/content/business&quot; &#xA;            startItem=&quot;/Home&quot; database=&quot;web&quot; &#xA;            domain=&quot;extranet&quot; allowDebug=&quot;true&quot; &#xA;            cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; &#xA;            registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; &#xA;            xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; &#xA;            enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; &#xA;            dictionaryDomain=&quot;{UniqueToBusinessDictionary}&quot; &#xA;            enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute&#xA;                 name=&quot;rootPath&quot;&amp;gt;/sitecore/content/public&amp;lt;/patch:attribute&#xA;            &amp;lt;patch:attribute name=&quot;dictionaryDomain&quot;&amp;gt;{UniqueToBusinessDictionary}&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1192" LastEditorUserId="1192" LastEditDate="2017-01-31T17:52:57.367" LastActivityDate="2017-01-31T20:04:43.197" Title="Multi-Site setup and Single domain configuration" Tags="|multisite|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4112" PostTypeId="1" AcceptedAnswerId="4165" CreationDate="2017-01-31T16:54:46.923" Score="2" ViewCount="1023" Body="&lt;p&gt;I am working on speak-ui. I have created one view (&lt;code&gt;mybutton.cshtml&lt;/code&gt;) under &lt;code&gt;sitecore/client/speak/Your Apps/App/&lt;/code&gt; in the core database. When i am trying to see the preview page it shows&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Type 'ASP._Page_sitecore_shell_client_App_myButton_cshtml' does not inherit from 'System.Web.WebPages.WebPage'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NhuD2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NhuD2.png&quot; alt=&quot;Screenshot Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my code:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;mybutton.cshtml&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Sitecore.Mvc.Presentation.RenderingModel&#xA;@{&#xA;}&#xA;&amp;lt;div&amp;gt;&#xA;&amp;lt;h1&amp;gt;Hello world&amp;lt;/h1&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I added these lines in web.config file (&lt;code&gt;C://windows/Microsoft.net/Framework64/config/&lt;/code&gt;) also.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;add key=&quot;webpages:Enabled&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;if I add below code in cshtml.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits Sitecore.Mvc.Presentation.RenderingModel&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting below error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Wr6a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Wr6a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone suggest how to fix this issue.&lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="70" LastEditDate="2017-01-31T17:10:40.137" LastActivityDate="2017-02-02T11:02:00.507" Title="cshtml file is not accepting in server it shows the error &quot;does not inherit from 'System.Web.WebPages.WebPage'.&quot;" Tags="|speak|sitecore-rocks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4113" PostTypeId="1" AcceptedAnswerId="4118" CreationDate="2017-01-31T17:55:12.930" Score="2" ViewCount="749" Body="&lt;p&gt;I think I understood the principle of creating an SXA controller with this topic &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2322/create-controller-rendering-in-sxa/2326#2326&quot;&gt;Here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But i have some question about :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;@Html.Sxa().Component(&quot;MyName&quot;, Model.Attributes)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;@Model.CssClasses.Aggregate()&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To exert myself, I developed a rendering controller that allows to display a menu according to its datasource and the buttons that it has as child.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I have this in experience editor :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mFkgH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mFkgH.png&quot; alt=&quot;Experience editor view&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this in preview :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5mVxT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5mVxT.png&quot; alt=&quot;Preview view&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I think this comes from the definition I did not make on Attributes and CssClasses in my model ? Why my menu is different between Experience editor and preview ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my question is : &lt;strong&gt;How does CssClasses and Attribute work ? And do I have to deffine them in my repository or elsewhere ?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For info, here is the code of my view : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div @Html.Sxa().Component(&quot;MyMenu&quot;, Model.Attributes) &amp;gt;&#xA;&amp;lt;div class=&quot;component-content @Model.CssClasses.Aggregate()&quot;&amp;gt;&#xA;    @if (!this.Model.ListeBoutons.Any())&#xA;    {&#xA;        @Model.MessageIsEmpty&#xA;    }&#xA;    else&#xA;    {&#xA;    &amp;lt;ol&amp;gt;&#xA;        @foreach (var bouton in Model.ListeBoutons)&#xA;        {&#xA;            &amp;lt;li&amp;gt;&#xA;                &amp;lt;a href=&quot;@bouton.Url&quot;&amp;gt;@bouton.Label&amp;lt;/a&amp;gt;&#xA;            &amp;lt;/li&amp;gt;&#xA;        }&#xA;    &amp;lt;/ol&amp;gt;&#xA;    }&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But i have a error with this code ( System.ArgumentNullException: Value cannot be null. ) because of @Model.CssClasses.Aggregate(). So I removed it to have the previous capture of my menu in Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In advance thank you for your feedback.&lt;/p&gt;&#xA;" OwnerUserId="1429" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-02-01T07:37:52.187" Title="How does CssClasses and Attribute work?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4114" PostTypeId="2" ParentId="4076" CreationDate="2017-01-31T18:30:48.903" Score="2" Body="&lt;p&gt;I would recommend not using gulp to perform the deployments. Or maybe you can modify the script, as it's currently calling MSBuild on every TDS project in your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you setup the solution to have the appropriate build order, then a single call to deploy the solution would save time for a full solution deploy.&#xA;You can set the ProjectDependencies on each TDS project to get the Solution Build order you desire. See the Build Order section of &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/TDS-latest#readme&quot; rel=&quot;nofollow noreferrer&quot;&gt;the README here for the correct Build Order on the Habitat.TDS repo&lt;/a&gt;. Then deploy either using Visual Studio's &quot;Deploy Solution&quot;, or by calling MSBuild -&gt; Deploy on the sln file itself (not each project)&#xA;.&#xA;This would save you time on:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the overhead of multiple calls to MSBuild (which, in your example, happens multiple times in your foreach loop)&lt;/li&gt;&#xA;&lt;li&gt;the evaluation of dependent projects to only happen once.&lt;/li&gt;&#xA;&lt;li&gt;TDS (from v5.5) saves time by not attempting to reinstall the Sitecore Connector in between each project. (It does it once for the solution instead).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="418" LastActivityDate="2017-01-31T18:30:48.903" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4115" PostTypeId="1" CreationDate="2017-01-31T18:43:22.477" Score="2" ViewCount="276" Body="&lt;p&gt;I am using Sitecore 8.1 update 1. I wanted to check if there is a way by which I can get a list of skipped items during publishing process? I have come across the Sitecore module that does it but I am not allowed to install any modules at this time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hence I was wondering if there is any way I can check the list of skipped items during publishing without installing any modules!&lt;/p&gt;&#xA;" OwnerUserId="403" LastActivityDate="2017-01-31T19:10:27.633" Title="Is there a way to check which items got skipped during publishing?" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4117" PostTypeId="2" ParentId="4115" CreationDate="2017-01-31T19:10:27.633" Score="2" Body="&lt;p&gt;What is your logger level set to? you can change it to Debug and that should show the ID of the items being skipped. This should reflect on the logs the IDs of the items.&#xA;In the Sitecore.config change to Debug as in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;logger name=&quot;Sitecore.Diagnostics.Publishing&quot; additivity=&quot;false&quot;&amp;gt; &amp;lt;level value=&quot;INFO&quot; /&amp;gt; &amp;lt;appender-ref ref=&quot;PublishingLogFileAppender&quot; /&amp;gt; &amp;lt;/logger&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-01-31T19:10:27.633" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4118" PostTypeId="2" ParentId="4113" CreationDate="2017-01-31T19:50:06.167" Score="2" Body="&lt;p&gt;Which version of SXA are you using? I'm asking because this &lt;code&gt;&amp;lt;div class=&quot;component-content @Model.CssClasses.Aggregate()&quot;&amp;gt;&lt;/code&gt; is old piece of code. Since 1.2 you should use &lt;code&gt;@Html.Sxa().Component(&quot;MyMenu&quot;, Model.Attributes)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&lt;em&gt;MyName&lt;/em&gt;&quot; isn't a name of your component, it's one of CSS class which will be added to the wrapping div.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In SXA we have created separate pipeline which can be used to add additional attributes to the renderings. It's use for example in the Creative Exchange.&#xA;So the &lt;code&gt;@Html.Sxa().Component&lt;/code&gt; helper method beside attributes from Model.Attributes list (you can fill that list in the Controller of your rendering - it's inherited from &lt;code&gt;StandardController&lt;/code&gt;) also adds attributes which you decide to add in the processors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pipeline is called &lt;code&gt;decorateRendering&lt;/code&gt;. An example processor can look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddMyCssClass : RenderingDecorator&#xA;{&#xA;    public override void Process(RenderingDecoratorArgs args)&#xA;    {&#xA;        if (YOUR_CUSTOM_CONDITION)&#xA;        {&#xA;            args.AddAttribute(Foundation.MarkupDecorator.Constants.AttributeNames.Class, &quot;my-custom-class&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2017-02-01T07:37:52.187" LastActivityDate="2017-02-01T07:37:52.187" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4119" PostTypeId="2" ParentId="4111" CreationDate="2017-01-31T20:04:43.197" Score="6" Body="&lt;p&gt;If you will have the same domain but different rootPath, you will need to make use of the &lt;code&gt;virtualFolder&lt;/code&gt; and &lt;code&gt;physicalFolder&lt;/code&gt; attribute in the sitedefinition.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The virtualFolder and physicalFolder will allow you to use the same domain but having different sites that hits different rootPath. This will allow you to have less coding.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site Definition Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t0znI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t0znI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the Site Definition is setup, patch the Sitecore setting &lt;code&gt;AlwaysStripLanguage&lt;/code&gt; to set the value to false as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=”Languages.AlwaysStripLanguage” value=”true”/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=”Languages.AlwaysStripLanguage” value=”false”/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You may check my blog post how to setup it here: &lt;a href=&quot;https://hishaamn.wordpress.com/2016/12/22/sitecore-multi-sites-with-same-domain-but-different-sitecore-item-node/&quot; rel=&quot;noreferrer&quot;&gt;https://hishaamn.wordpress.com/2016/12/22/sitecore-multi-sites-with-same-domain-but-different-sitecore-item-node/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-01-31T20:04:43.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4120" PostTypeId="2" ParentId="4089" CreationDate="2017-01-31T22:14:26.243" Score="5" Body="&lt;p&gt;The problem could be that the Powershell script which is enabling all Solr configuration files. You have to be careful because if you are using a regex for that (all files which name contains &quot;Solr&quot;) then it is also enabling &lt;code&gt;Sitecore.ContentSearch.SolrCloud.SwitchOnRebuild.config.exam‌​ple&lt;/code&gt;. &lt;strong&gt;This should be disabled if you did not configure it.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-02-01T07:16:24.283" LastActivityDate="2017-02-01T07:16:24.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4121" PostTypeId="1" CreationDate="2017-01-31T23:47:30.403" Score="4" ViewCount="179" Body="&lt;p&gt;As per the subject. I had a client ask whether they needed to install Commerce Server to connect to their retail installation of DAX.&lt;/p&gt;&#xA;" OwnerUserId="1111" LastEditorUserId="73" LastEditDate="2017-02-01T00:17:31.537" LastActivityDate="2017-03-05T20:21:18.657" Title="Is Commerce Server required to connect Dynamics AX to Sitecore?" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4122" PostTypeId="1" CreationDate="2017-02-01T00:00:32.917" Score="0" ViewCount="873" Body="&lt;p&gt;So I have a list of items (e.g. FAQs). and I am calling them through the WEB Api. I want to be able to do a get from Sitecore and be able to sort based on the date created and sort it either ascending or descending. Is there a work-around, or there is something OOB?&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="73" LastEditDate="2017-02-01T13:58:20.563" LastActivityDate="2017-03-05T17:21:15.067" Title="Sitecore 8.2 How to sort items based on a specific parameter within a content item" Tags="|webapi|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4123" PostTypeId="2" ParentId="4121" CreationDate="2017-02-01T04:02:08.253" Score="2" Body="&lt;p&gt;Yes. You have to install commerce server to create an edge catalog between the commerce site and AX. Your website calls commerce runtime services for catalog information and real time services for customer and order information. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then AX syncs products with the edge catalog via the AX real time services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SCpbMD81/SitecoreCommerceMicrosoftDynamics/en-us/Concepts/c_AX_CommerceServerCatalogEdgeCatalog.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SCpbMD81/SitecoreCommerceMicrosoftDynamics/en-us/Concepts/c_AX_CommerceServerCatalogEdgeCatalog.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-02-01T04:02:08.253" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4124" PostTypeId="1" CreationDate="2017-02-01T07:07:11.120" Score="0" ViewCount="1196" Body="&lt;p&gt;I have Sitecore 8.2(update 1) site with WFFM 8.2. When i navigate to the Sample form folder &lt;code&gt;sitecore/System/Modules/Web Forms for Marketers/Sample form&lt;/code&gt; and click on any form then i got error in popup:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load type 'Sitecore.Form.Submit.ISaveAction' from assembly&#xA;  'Sitecore.Forms.Core, Version=8.2.0.0, Culture=neutral,&#xA;  PublicKeyToken=null'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have all latest dll and config files of WFFM 8.2 and this error i have faced after upgrading my Sitecore from 8.1 to 8.2.&lt;/p&gt;&#xA;" OwnerUserId="1160" LastEditorUserId="2727" LastEditDate="2018-03-01T10:01:36.073" LastActivityDate="2018-03-01T10:01:36.073" Title="Could not load type 'Sitecore.Form.Submit.ISaveAction' from assembly 'Sitecore.Forms.Core, Version=8.2.0.0, Culture=neutral, PublicKeyToken=null'" Tags="|wffm|sitecore-client|upgrade|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4125" PostTypeId="2" ParentId="4124" CreationDate="2017-02-01T07:30:27.730" Score="4" Body="&lt;p&gt;Starting with version 8.1 &lt;strong&gt;Sitecore.Form.Core.Submit.ISaveAction&lt;/strong&gt; interface has been moved to &lt;strong&gt;Sitecore.WFFM.Abstractions.Actions.ISaveAction&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please verify your code if your classes inherits from Sitecore.Form.Core.Submit.ISaveAction&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to change your submit button to use new action. Please check here how to create a new save action: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/save_actions/create_a_new_save_action&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/save_actions/create_a_new_save_action&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-01T07:30:27.730" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4126" PostTypeId="1" AcceptedAnswerId="4127" CreationDate="2017-01-31T21:12:05.897" Score="1" ViewCount="2390" Body="&lt;p&gt;I'm a newbie at Sitecore and recently took over the position where I have to make some changes in Sitecore website such as updating texts and uploading attachment. I tried to look at existing products and follow folder path to upload new attachment files but I can't do it because&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I can't find one folder in path for ex)&#xA;\examplefolder\upload\anotherexmaple is where other files are located at but I can't find that upload folder&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When I tried to make new folder and upload files and use it instead, nothing happens when I click on Upload button in media library&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When I hover over the upload button,&#xA;long string shows at the bottom of browser ends with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;database=master#readonly=0&amp;amp;db=master#&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does this mean I don't have access to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version is 6.4.1&lt;/p&gt;&#xA;" OwnerUserId="1472" OwnerDisplayName="jongk" LastEditorUserId="73" LastEditDate="2017-02-01T10:07:23.533" LastActivityDate="2017-02-01T10:14:39.193" Title="Can't upload files through Sitecore CMS" Tags="|sitecore-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4127" PostTypeId="2" ParentId="4126" CreationDate="2017-02-01T10:14:39.193" Score="3" Body="&lt;p&gt;So a few things going on. First, and probably most importantly, your version of Sitecore will not be fully functional on most modern browsers. Specifically if you're using Chrome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference information, see: &lt;a href=&quot;https://kb.sitecore.net/articles/581527&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore does not work in Chrome 37 and later&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, unless you have developer access to your solution (doesn't sound to me like you have), you will not be able to implement any of the proposed solutions offered in this article. You would need to request this from whoever maintains your solution. Switching to Internet Explorer might solve some of it for you, I'm not sure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't worry too much about finding an &quot;upload&quot; folder - the CMS should be configured for you. Usually you will find some sort of folder structure under &quot;Media Library&quot; and, as appropriate, you will upload your images to there. Upload fails for you - most likely - because of the above limitations of Chrome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tilWw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tilWw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-02-01T10:14:39.193" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4128" PostTypeId="1" CreationDate="2017-02-01T10:38:10.403" Score="7" ViewCount="2836" Body="&lt;p&gt;I have setup an application in my local where I am trying to Sync with TDS. I am facing the following issue as shown in the screen shot.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I have provided the Sitecore Deploy Path &amp;amp; Sitecore Web URL Path which should match my locally hosted IIS site.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CcNEh.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CcNEh.jpg&quot; alt=&quot;TDS Sync is Getting Failed Screen Shot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1456" LastEditorUserId="73" LastEditDate="2018-01-19T08:48:36.290" LastActivityDate="2019-10-09T06:38:06.310" Title="TDS failing with &quot;Sitecore Deploy Path &amp; Sitecore Web point to the same location&quot;" Tags="|tds|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4129" PostTypeId="1" CreationDate="2017-02-01T10:45:03.597" Score="1" ViewCount="1329" Body="&lt;p&gt;For some reason the PDF files (that are uploaded on media library) are shown as *.ashx when referencing from RTE etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to show *.pdf instead so that it's user/seo friendly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2017-02-01T10:59:10.240" LastActivityDate="2017-02-01T10:59:10.240" Title="Sitecore pdf file enable .pdf extension" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4130" PostTypeId="2" ParentId="4129" CreationDate="2017-02-01T10:46:49.020" Score="4" Body="&lt;p&gt;You need to change bellow setting from ashx to empty string. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.RequestExtension&quot; value=&quot;ashx&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;will be &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.RequestExtension&quot; value=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-01T10:46:49.020" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4131" PostTypeId="2" ParentId="4128" CreationDate="2017-02-01T11:03:49.163" Score="14" Body="&lt;p&gt;Do you run Visual Studio in Admin mode? Recently I had the same issue and it was related to some URL Rewrite redirects which made TDS unable to complete its tests. You could use Fiddler to check that. You should see something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DJUey.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DJUey.png&quot; alt=&quot;TDS test request&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1457" LastEditorUserId="1457" LastEditDate="2017-02-01T12:18:22.557" LastActivityDate="2017-02-01T12:18:22.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4133" PostTypeId="2" ParentId="4128" CreationDate="2017-02-01T14:08:27.203" Score="1" Body="&lt;p&gt;When I have seen this before it is sometimes I am missing the \website part in the deploy folder path or if I have not logged into the Sitecore site before I have to do that first before doing the test connection. Also sometimes just exiting Visual Studio and going back in fixes it. It would help though if you post what the output window contents are.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-02-01T14:08:27.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4134" PostTypeId="2" ParentId="4128" CreationDate="2017-02-01T14:10:59.660" Score="4" Body="&lt;p&gt;Well this could be one of many things, some suggestions or thoughts:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;After you've updated the Website Url and Deploy path, make sure you have pressed ctrl + S to save the configuration, if you don't do this it won't work.&lt;/li&gt;&#xA;&lt;li&gt;Go to your Website Url, and ensure you can actually login to Sitecore, if you can not, its failing because Sitecore isn't working and in that case you need to diagnose and fix Sitecore first.&lt;/li&gt;&#xA;&lt;li&gt;Double check in IIS to see if that Website Url maps to that file system location.&lt;/li&gt;&#xA;&lt;li&gt;Sometimes I have to restart Visual Studio, to get a Sync to work, this would probably be your last option, because it's probably not this, but it doesn't hurt to try it atleast.&lt;/li&gt;&#xA;&lt;li&gt;Check the folder access permissions&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I hope those suggestions help!&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="851" LastEditDate="2018-01-19T07:15:32.523" LastActivityDate="2018-01-19T07:15:32.523" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4136" PostTypeId="1" CreationDate="2017-02-01T15:03:03.057" Score="0" ViewCount="2827" Body="&lt;p&gt;We have a website that uses a lot of search indexes, and today some of the dropdowns are displaying &quot;$name&quot; as the first item in the dropdown list. I've done some googling and some say it is due to indexes needing to be rebuilt. I've rebuilt all of them but the issue is still happening. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything else that could be causing this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks so much in advance!&lt;/p&gt;&#xA;" OwnerUserId="1459" LastActivityDate="2017-02-02T13:23:11.560" Title="&quot;$name&quot; showing up in website content" Tags="|indexing|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4137" PostTypeId="2" ParentId="4136" CreationDate="2017-02-01T15:08:13.243" Score="6" Body="&lt;p&gt;&lt;code&gt;$name&lt;/code&gt; is a token (value set on Standard Values item) which is replaced by new item new when new item is &lt;strong&gt;created&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If if wasn't there before and for some reason now it's there in dropdowns, most probably someone in your team set this token for the field used in dropdown on Standard Values but for the items which are already there, token is not replaced and it won't be replaced automatically. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is a blog from John West explaining how to expand Standard Values tokens in existing items &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/expand-standard-values-tokens-in-existing-items-with-the-sitecore-asp-net-cms&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/expand-standard-values-tokens-in-existing-items-with-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-02-01T15:08:13.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4138" PostTypeId="2" ParentId="4136" CreationDate="2017-02-01T15:08:27.403" Score="0" Body="&lt;p&gt;$name is a special Sitecore that you put in Standard Values of Sitecore fields. &#xA;When an item is created $name is replaced with name of your name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have $name in your site because you created items and after you put in standard field $name. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-01T15:08:27.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4139" PostTypeId="1" CreationDate="2017-02-01T15:40:16.703" Score="6" ViewCount="835" Body="&lt;p&gt;I'm using Sitecore 8.1 rev. 151207 - And I have that rendering which only should be placed once on a page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to limit that in terms of letting the user not add another one of the same rendering again. &#xA;The only way I can think of would lead to possible wasted Renderings and items which are put on the page but are not shown and I think thats not best practice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already searched for solutions but nothing showed up so far&lt;/p&gt;&#xA;" OwnerUserId="1178" LastActivityDate="2017-02-02T06:01:00.947" Title="Is it possible to limit Renderings so they can only be placed once on a page?" Tags="|experience-editor|presentation|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4141" PostTypeId="2" ParentId="4139" CreationDate="2017-02-01T18:06:10.847" Score="5" Body="&lt;p&gt;Yes you can. It will take a little code and a pipeline change, but you can find the code for mvc &lt;a href=&quot;https://ctor.io/limit-the-number-of-components-in-a-sitecore-placeholder/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; and webforms &lt;a href=&quot;http://www.newguid.net/sitecore/2014/restricting-the-number-of-components-in-the-sitecore-page-editor/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you want to do it count the number of times a rendering has been put on the page and stop it if it passes your max number.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PerformRendering : Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering&#xA;{&#xA;    protected override IEnumerable&amp;lt;Rendering&amp;gt; GetRenderings(string placeholderName, RenderPlaceholderArgs args)&#xA;    {&#xA;        // get all renderings&#xA;        var renderings = base.GetRenderings(placeholderName, args);&#xA;&#xA;        // return all renderings in Experience Editor&#xA;        if (Sitecore.Context.PageMode.IsExperienceEditor) return renderings;&#xA;&#xA;        // get the maximum number of components&#xA;        var maxComponents = this.GetMaxComponents(args);&#xA;&#xA;        // return only first n components&#xA;        return maxComponents &amp;gt; 0 ? renderings.Take(maxComponents) : renderings;&#xA;    }&#xA;&#xA;    private int GetMaxComponents(RenderPlaceholderArgs args)&#xA;    {&#xA;        var maxComponents = 0;&#xA;        if (args.CustomData.ContainsKey(&quot;maxComponents&quot;))&#xA;        {&#xA;            int.TryParse(args.CustomData[&quot;maxComponents&quot;].ToString(), out maxComponents);&#xA;        }&#xA;&#xA;        return maxComponents;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The config change&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.renderPlaceholder&amp;gt;&#xA;        &amp;lt;processor patch:instead=&quot;*[@type='Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering, Sitecore.Mvc']&quot;&#xA;                   type=&quot;Website.Pipelines.RenderPlaceholder.PerformRendering, Website&quot; /&amp;gt;&#xA;      &amp;lt;/mvc.renderPlaceholder&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-02-01T18:06:10.847" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4142" PostTypeId="2" ParentId="4136" CreationDate="2017-02-01T18:22:46.190" Score="1" Body="&lt;p&gt;I had this issue in the past. The reason why you may having &lt;code&gt;$name&lt;/code&gt; on your site is because Sitecore did not get the version of the item being displayed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since Sitecore did not get the version, it will fall back to the Standard Values to retrieve the value, hence causing &lt;code&gt;$name&lt;/code&gt; if the field has this token on the Standard Values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some ways to troubleshoot the issue is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Check if the item being configured contains a version&lt;/li&gt;&#xA;&lt;li&gt;Check if the version of the item is the Context Language of the site.&lt;/li&gt;&#xA;&lt;li&gt;If you are using the datasource field, make sure that the item in the datasource path is correct.&lt;/li&gt;&#xA;&lt;li&gt;Check if there is no invariant language in the version language list&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-02-01T18:22:46.190" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4145" PostTypeId="1" AcceptedAnswerId="4181" CreationDate="2017-02-01T19:37:26.860" Score="0" ViewCount="1222" Body="&lt;p&gt;hey folks I'm running an upgrade package on sitecore 8.0 (from update 3 to 7) and I noticed it started taking a long time to process. I verified the logs and ran into hundreds of these error messages:&#xA;Access to the path E:\dictionary.dat is denied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Funny thing is that there is no E drive on this server. As far as I know the dictionary.dat should be on the temp folder but Sitecore seems to be looking at the E drive. anyone ever seen this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE 1:&#xA;By the way this is the same package I have used to UPGRADE a DEV and a QA environment but this is happening only on PROD&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE 2:&#xA;I have tried all sugestion and none addressed the issue. I did notice one thing. Every time I restart IIS the error will jump from one drive to the next letter. It started with E drive. Then F. I restarted IIS and now it's looking on G drive. &#xA;Even if I hard code the path of the temp folder to the temp folder of the website folder as in D:\thewholepath\Website\temp&#xA;Maybe it's worth mentioning that I got a copy of the existing website and data folders, restored a backup of the databases from a running environment and created a new IIS site and pointed to it. Sitecore loads fine. No errors on logs. These errors do happen when I try to run the upgrade package.&#xA;Any other thoughts? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Running out of ideas here &lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-02-02T19:39:21.797" LastActivityDate="2017-02-02T22:43:53.483" Title="Dictionary access denied" Tags="|dictionary|" AnswerCount="4" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="4146" PostTypeId="2" ParentId="4069" CreationDate="2017-02-01T21:15:06.810" Score="3" Body="&lt;p&gt;You can create a custom processor in &lt;code&gt;resolveRenderingDatasource&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;  Allows developers to override the default logic for resolving the data source for renderings. &#xA;--&amp;gt;&#xA;&amp;lt;resolveRenderingDatasource&amp;gt;&#xA;    ...&#xA;    &amp;lt;processor type=&quot;MyCustom.Project.Processors.ResolveRenderingDataSource, MyCustom.Project&quot; /&amp;gt;&#xA;&amp;lt;/resolveRenderingDatasource&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your processor needs to set the &lt;code&gt;args.Datasource&lt;/code&gt; property to either an item path or a guid:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines.ResolveRenderingDatasource;&#xA;&#xA;namespace MyCustom.Project.Processors&#xA;{&#xA;    public class ResolveRenderingDataSource&#xA;    {&#xA;        public void Process(ResolveRenderingDatasourceArgs args)&#xA;        {&#xA;            var source = args.Datasource;&#xA;            if (source.StartsWith(&quot;site:&quot;))&#xA;            {&#xA;                /* Add your own custom logic to resolve and set the datasource */&#xA;                args.Datasource = ResolveCustomDatasource(source);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-02-01T21:15:06.810" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4147" PostTypeId="1" AcceptedAnswerId="5367" CreationDate="2017-02-02T03:33:03.397" Score="0" ViewCount="837" Body="&lt;p&gt;In a development environment, when I attempt to open the Active Tests window from the Optimizaton tab of the Experience Editor, the window does not finish loading.  I opened Chrome Developer Tools, and see that the following request:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://mySite/sitecore/shell/api/ct/Tests/GetActiveTests?page=1&amp;amp;pageSize=75&amp;amp;_=1486004964281&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mySite/sitecore/shell/api/ct/Tests/GetActiveTests?page=1&amp;amp;pageSize=75&amp;amp;_=1486004964281&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;receives an error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;The required anti-forgery cookie \&quot;__RequestVerificationToken\&quot; is not present.&quot;,&quot;ExceptionType&quot;:&quot;System.Web.Mvc.HttpAntiForgeryException&quot;,&quot;StackTrace&quot;:&quot;   at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken)\r\n   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext, String cookieToken, String formToken)\r\n   at Sitecore.Web.Http.Filters.ValidateHttpAntiForgeryTokenAttribute.OnAuthorization(HttpActionContext actionContext)&quot;}&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is on Sitecore 8.1, update 3, with SXA 1.2.&lt;/p&gt;&#xA;" OwnerUserId="247" LastActivityDate="2017-04-14T13:53:28.783" Title="Active Tests window receives __RequestVerificationToken error" Tags="|sxa|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4148" PostTypeId="2" ParentId="4145" CreationDate="2017-02-02T03:33:53.453" Score="1" Body="&lt;p&gt;Another thing you can do to troubleshoot it is search for E:\ using a grep tool such as astrogrep. It might take awhile, but you might find out what exactly is referencing the E:\ since it searches the inside of files.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-02-02T03:33:53.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4149" PostTypeId="2" ParentId="4145" CreationDate="2017-02-02T05:30:01.313" Score="0" Body="&lt;p&gt;Probably you have to clear your cache for Dictionary through Sitecore.Globalization.Translate.ResetCache(true); if you have less impact while clearing cache on production environment please try from powershell console &lt;a href=&quot;https://i.stack.imgur.com/OguIG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OguIG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And your log entry could be &lt;a href=&quot;https://i.stack.imgur.com/WQXhA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WQXhA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-02-02T05:30:01.313" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4150" PostTypeId="2" ParentId="4136" CreationDate="2017-02-02T05:54:09.077" Score="0" Body="&lt;p&gt;It's also worth pointing out that if the tokenised value comes from Standard Values, and you reset the field (or the whole item) back to standard values, it won't run the token expansion pipeline so the &quot;$name&quot; will remain as-is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's not really any way of working around this, you'll simply have to re-enter the correct field value.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2017-02-02T05:54:09.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4151" PostTypeId="2" ParentId="4139" CreationDate="2017-02-02T06:01:00.947" Score="1" Body="&lt;p&gt;There's nothing built in, and there's two ways you could go about it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could hook into the &lt;code&gt;item:saving&lt;/code&gt; event and check the renderings there. If there are duplicates of known &quot;single-use&quot; renderings, you throw an error which will prevent the save. This could also be done via a custom validator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you could allow the save but then only render the first instance. You should just be able to use dnstommy's answer as a base and filter out any renderings that have already executed this request, using a &lt;code&gt;Set&amp;lt;ID&amp;gt;&lt;/code&gt; stored in &lt;code&gt;HttpContext.Current.Items&lt;/code&gt; to keep track of them. However, you might run into problems with this approach if you have caching rules on some higher level composite renderings.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2017-02-02T06:01:00.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4152" PostTypeId="1" AcceptedAnswerId="4154" CreationDate="2017-02-02T06:03:24.157" Score="4" ViewCount="655" Body="&lt;p&gt;Can we add profile images for the Sitecore user. When a user is created, I can only see the option to assign an icon from a preset list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My project is a blogging site, where every blogger is a sitecore user. Their blog should show the user image and name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.0&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-02-02T06:44:35.597" LastActivityDate="2017-02-02T08:12:08.810" Title="Add profile image for Sitecore user" Tags="|user-profile|account|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4153" PostTypeId="2" ParentId="4097" CreationDate="2017-02-02T06:04:07.460" Score="0" Body="&lt;p&gt;Based on the implementation of the crawling process, this &lt;em&gt;should&lt;/em&gt; work as expected. However, if you added the standard value &lt;em&gt;after&lt;/em&gt; the item was indexed it won't. Have you tried re-indexing?&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2017-02-02T06:04:07.460" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4154" PostTypeId="2" ParentId="4152" CreationDate="2017-02-02T06:50:07.540" Score="4" Body="&lt;p&gt;You can create custom profile properties for the profile in the core database. There you can even use Image field. From your code you can reach it and show on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to create custom property - &lt;a href=&quot;https://www.google.hu/amp/s/briancaos.wordpress.com/2014/06/12/sitecore-users-custom-profile-properties/amp/?client=ms-unknown&quot; rel=&quot;nofollow noreferrer&quot;&gt;Link&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to &lt;strong&gt;core&lt;/strong&gt; database and create your custom profile template like &lt;code&gt;/sitecore/templates/System/Security/MyCustomProfile&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create your custom profile from this template here &lt;code&gt;/sitecore/system/Settings/Security/Profiles&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;In &lt;strong&gt;User Manager&lt;/strong&gt; you can change the user profile on the users&#xA;&lt;a href=&quot;https://i.stack.imgur.com/uEFil.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uEFil.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-02-02T08:12:08.810" LastActivityDate="2017-02-02T08:12:08.810" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4155" PostTypeId="1" AcceptedAnswerId="4214" CreationDate="2017-02-02T07:19:57.060" Score="0" ViewCount="3005" Body="&lt;p&gt;When we try to open Sitecore Powershell console or ISE after fresh installation on one of the Sitecore instances, we receive below error :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5BRI4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5BRI4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Log Entry for this error is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3572 06:48:51 WARN Could not find type in ReflectionUtil.CreateObject: Cognifide.PowerShell.SitecoreIntegrations.Applications.PowerShellConsole&#xA;3572 06:48:51 ERROR CodeBeside class &quot;Cognifide.PowerShell.SitecoreIntegrations.Applications.PowerShellConsole,Cognifide.PowerShell&quot; not found. (method: Sitecore.Web.UI.HtmlControls.CodeBeside.OnInit(EventArgs e)).&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore version : 8.1 Update 1 &amp;amp; Powershell Version 3.3&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="2727" LastEditDate="2018-03-22T13:29:55.913" LastActivityDate="2021-02-05T15:50:53.950" Title="&quot;Cognifide.PowerShell.SitecoreIntegrations.Applications.PowerShellConsole,Cognifide.PowerShell&quot; not found Error while opening Sitecore PowerShell" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4156" PostTypeId="1" CreationDate="2017-02-02T09:21:55.683" Score="5" ViewCount="999" Body="&lt;p&gt;Using Sitecore 8.0. The template has a field &quot;Author&quot; of field type &quot;Sitecore User&quot;. I have created an Item of this template. On clicking &lt;em&gt;Select&lt;/em&gt;  for &quot;Author&quot;, it shows a dialog - &quot;Associate Sitecore User&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Entering text in the search field and clicking on enter, it shows an error in the browser console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/v3Uvh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/v3Uvh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;br&gt;&#xA;Following this &lt;a href=&quot;https://briancaos.wordpress.com/2013/05/07/sitecore-6-6-csrf-form-field-is-missing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;UPDATE&lt;/a&gt;, I have modified the Sitecore.AntiCsrf.config to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;shell&quot;&amp;gt;&#xA; &amp;lt;urlPrefix&amp;gt;/sitecore/shell&amp;lt;/urlPrefix&amp;gt;&#xA;  ......&#xA;  ......&#xA; &amp;lt;ignore wildcard=&quot;/sitecore/shell/*Applications/Security/User*Manager*?*Cart_Users_Callback=yes&quot;/&amp;gt;&#xA; &amp;lt;ignore wildcard=&quot;/sitecore/shell/*Applications/Security/Role*Manager*?*Cart_Roles_Callback=yes&quot;/&amp;gt;&#xA; &amp;lt;ignore wildcard=&quot;/sitecore/shell/*Applications/Security/Domain*Manager*?*Cart_Domains_Callback=yes&quot;/&amp;gt;&#xA; &amp;lt;ignore wildcard=&quot;/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Security.SelectAccount*Cart_*_Roles_Callback=yes&quot;/&amp;gt;&#xA; &amp;lt;ignore wildcard=&quot;/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Security.SelectAccount*Cart_*_Users_Callback=yes&quot;/&amp;gt;&#xA;&#xA; &amp;lt;!-- Ingore AntiCSRF completely --&amp;gt;&#xA; &amp;lt;ignore wildcard=&quot;/sitecore/*&quot;/&amp;gt;&#xA; &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, there is no error when searching. But on clicking on OK or Cancel, this error pops up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E73Sh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E73Sh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-02-03T08:20:28.400" LastActivityDate="2017-10-02T07:10:24.693" Title="Search not working for Sitecore User Field" Tags="|user-profile|account|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4159" PostTypeId="2" ParentId="4145" CreationDate="2017-02-02T09:57:46.143" Score="0" Body="&lt;p&gt;Set the temp variable to an absolute path i.e. D:\Temp and check again, if it's still looking in E:\  get a Grep tool like RReilley's answer (I use 'PowerGrep' &lt;a href=&quot;https://www.powergrep.com/download.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.powergrep.com/download.html&lt;/a&gt; ) and look for any reference to drive E:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If still no joy, start looking at IIS config for anything odd, virtual folders etc.&lt;/p&gt;&#xA;" OwnerUserId="898" LastActivityDate="2017-02-02T09:57:46.143" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4160" PostTypeId="2" ParentId="4156" CreationDate="2017-02-02T10:09:08.703" Score="1" Body="&lt;p&gt;You can fix it by:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Clear Cookies/Browser cache &amp;amp; try to open in new browser&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Please add these lines to the Sitecore.AntiCsrf.config file as mentioned under 'xml-controls'&#xA;(website/app_config/include/Sitecore.AntiCsrf.config):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6Jv7q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6Jv7q.png&quot; alt=&quot;enter code here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Also add below config into Sitecore.AntiCsrf.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;shell&quot;&amp;gt;&#xA;  &amp;lt;!-- Ingore AntiCSRF completely --&amp;gt;&#xA;  &amp;lt;ignore wildcard=&quot;/sitecore/*&quot;/&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For more info: &lt;a href=&quot;https://briancaos.wordpress.com/2013/05/07/sitecore-6-6-csrf-form-field-is-missing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2013/05/07/sitecore-6-6-csrf-form-field-is-missing/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="891" LastEditDate="2017-02-03T05:34:49.203" LastActivityDate="2017-02-03T05:34:49.203" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4162" PostTypeId="2" ParentId="4097" CreationDate="2017-02-02T10:43:17.857" Score="4" Body="&lt;p&gt;I can confirm this is working as you describe. Standard values or base templates in general are not available in the search index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll have to add your own computed field to enable this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://reasoncodeexample.com/2014/01/29/indexing-base-templates-sitecore-7-content-search/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://reasoncodeexample.com/2014/01/29/indexing-base-templates-sitecore-7-content-search/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="828" LastActivityDate="2017-02-02T10:43:17.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4163" PostTypeId="1" AcceptedAnswerId="4167" CreationDate="2017-02-02T10:56:17.893" Score="3" ViewCount="753" Body="&lt;p&gt;I installed Data Exchange Framework, Sitecore Provider for Data Exchange Framework, and Dynamics CRM Provider for Data Exchange Framework (all 1.2.0 rev 161212) in my Sitecore instance. I have tested the connection and confirmed that a connection with Dynamics CRM is established.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/htFco.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/htFco.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when I'll try to run a pipeline batch, the Run Pipeline Batch is grayed out (disabled) and can't be clicked for every pipeline batch.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/BRGI0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BRGI0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is strange because I had this working once in a different instance with same versions installed (I was able to sync Accounts aside from the default Contacts etc). But when I created another and another one, both buttons are disabled. I've followed the walkthrough but this is really bothering me for almost two days now. Thanks a lot for your help!&lt;/p&gt;&#xA;" OwnerUserId="1469" LastEditorUserId="73" LastEditDate="2017-02-02T10:59:55.307" LastActivityDate="2017-02-03T08:38:30.080" Title="Run Pipeline Batch button disabled" Tags="|pipelines|data-exchange-framework|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4165" PostTypeId="2" ParentId="4112" CreationDate="2017-02-02T11:02:00.507" Score="0" Body="&lt;p&gt;Issue Resolved&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cause of Issue&lt;/strong&gt;:&#xA;Created a Sitecore Item with basic template under /sitecore/client/Your Apps and browsed by using the physical path of the layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;:&#xA;Created a Sitecore Item under /sitecore/client/Your Apps using Speak related templates using sitecore rocks. &#xA;Assigned a relevant layout and browsed that item with Sitecore Item path as url (sitecoreinstance/itempath).&lt;/p&gt;&#xA;" OwnerUserId="949" LastActivityDate="2017-02-02T11:02:00.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4167" PostTypeId="2" ParentId="4163" CreationDate="2017-02-02T12:54:11.757" Score="10" Body="&lt;p&gt;When you create a new tenant it is disabled by default. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to enable it. On the tenant item on &lt;strong&gt;Administration&lt;/strong&gt; section you have a checkboxfield &lt;strong&gt;Enabled&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see below image: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cEwBY.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cEwBY.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can enabled or disabled a single pipeline batch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the pipeline batch processor item on &lt;strong&gt;Administration&lt;/strong&gt; section you have a checkboxfield &lt;strong&gt;Enabled&lt;/strong&gt; Please verify if is enabled, maybe someone else disabled it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aJ0NQ.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aJ0NQ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-02T12:54:11.757" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4168" PostTypeId="2" ParentId="4136" CreationDate="2017-02-02T13:23:11.560" Score="1" Body="&lt;p&gt;Sometime it happens in case if you created items before defining the tokens. In this case all the previous item will get field value $name (tokens), now there is no out the box way provided by Sitecore to replace those. Better to write custom script to make thing change or you can use &lt;a href=&quot;https://github.com/rauljmz/Sitecore.Rocks.ReplaceMacros&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/rauljmz/Sitecore.Rocks.ReplaceMacros&lt;/a&gt; tool to automate this.&lt;/p&gt;&#xA;" OwnerUserId="361" LastActivityDate="2017-02-02T13:23:11.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4169" PostTypeId="1" AcceptedAnswerId="4170" CreationDate="2017-02-02T13:57:53.327" Score="7" ViewCount="2814" Body="&lt;p&gt;I've installed Glass.Mapper.Sc (v4.3.4.196) with out any problems but in a razor view i can't use helper &lt;code&gt;@Html.Glass()&lt;/code&gt; because i have an error that says that HtmlHelper does not contain a definition for &lt;code&gt;Glass&lt;/code&gt; and no extension method &lt;code&gt;Glass&lt;/code&gt;... i'm missing something?&lt;/p&gt;&#xA;" OwnerUserId="1462" LastActivityDate="2017-07-21T11:43:38.720" Title="Html.Glass helper not found after installing Glass Mapper v4" Tags="|glass-mapper|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="4170" PostTypeId="2" ParentId="4169" CreationDate="2017-02-02T14:40:27.420" Score="10" Body="&lt;p&gt;The problem was with MVC setup in the project not with Glass. This was the solution - &lt;a href=&quot;http://samirvaidya.blogspot.hu/2015/10/the-type-expression-is-defined-in.html&quot;&gt;http://samirvaidya.blogspot.hu/2015/10/the-type-expression-is-defined-in.html&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error was exactly&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The type 'Expression&amp;lt;&gt;' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And non of the HtmlExtensions was not working.&#xA;Solution is that you need the following references in your &lt;strong&gt;web.config&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;compilation debug=&quot;true&quot; targetFramework=&quot;4.5&quot;&amp;gt;&#xA;    &amp;lt;assemblies&amp;gt;&#xA;        &amp;lt;add assembly=&quot;System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot;/&amp;gt;&#xA;        &amp;lt;add assembly=&quot;System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot;/&amp;gt;&#xA;        &amp;lt;add assembly=&quot;Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot;/&amp;gt;&#xA;        &amp;lt;add assembly=&quot;System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; /&amp;gt;   &#xA;        &amp;lt;add assembly=&quot;System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;        &amp;lt;add assembly=&quot;System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;        &amp;lt;add assembly=&quot;System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;        &amp;lt;add assembly=&quot;System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;        &amp;lt;add assembly=&quot;System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;    &amp;lt;/assemblies&amp;gt;&#xA;&amp;lt;/compilation&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-02-02T14:40:27.420" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4171" PostTypeId="1" AcceptedAnswerId="4172" CreationDate="2017-02-02T15:04:34.900" Score="2" ViewCount="433" Body="&lt;p&gt;I have a content delivery server and a content management server.  On the content management server I want visitors to be able to see non-published items when they are not logged into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I change the connection string for Web to Master I can see the non-published items obviously, but then I cannot publish as it tries to publish from Master to Master.&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2017-02-02T15:14:55.023" Title="How do I show non-published items on the Content Management server when not logged in?" Tags="|content-management|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4172" PostTypeId="2" ParentId="4171" CreationDate="2017-02-02T15:08:37.737" Score="5" Body="&lt;p&gt;You'll need to run your CM instance in &lt;a href=&quot;http://www.verndale.com/insights/blog/2012/october/sitecore-live-mode/&quot;&gt;&lt;strong&gt;Live Mode&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Running a site in Live Mode means that it reads items directly from the Master database. At the same time, your &lt;code&gt;web&lt;/code&gt; connection string is preserved and you are still able to publish from Master to Web.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To enable the Live Mode, go to &lt;code&gt;App_Config/Include&lt;/code&gt; and rename the file &lt;code&gt;LiveMode.config.example&lt;/code&gt; to &lt;code&gt;LiveMode.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, if you have other site definitions apart from &lt;code&gt;website&lt;/code&gt;, you'll need to update them as well by modifying the &lt;code&gt;LiveMode.config&lt;/code&gt;. For example, if you have a custom site definition named &quot;mySite&quot;, your &lt;code&gt;LiveMode.config&lt;/code&gt; might look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;database&quot;&amp;gt;master&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;filterItems&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;      &amp;lt;site name=&quot;mySite&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;database&quot;&amp;gt;master&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;filterItems&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-02-02T15:13:53.807" LastActivityDate="2017-02-02T15:13:53.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4173" PostTypeId="2" ParentId="4171" CreationDate="2017-02-02T15:14:55.023" Score="5" Body="&lt;p&gt;There are a number of ways to go about this - it depends a little bit on how ambitious you want to be with this.&lt;/p&gt;&#xA;&lt;p&gt;One way is to configure a new site on your CM server (a Sitecore site definition), make it respond to a different host name (so preview.cm.internal or whatever). Sitecore includes &lt;code&gt;Livemode.Config.example&lt;/code&gt; to show how this can be set up.&lt;/p&gt;&#xA;&lt;p&gt;Another way to go about it, is to set up a &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/walkthrough_publishing_items_to_a_preview_publishing_target&quot; rel=&quot;noreferrer&quot;&gt;Preview Publishing Target&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Essentially this will allow you to set up publishing of your site to a dedicated &lt;em&gt;publishing target&lt;/em&gt;, even when not everything in workflows is in &amp;quot;final&amp;quot; state.&lt;/p&gt;&#xA;&lt;h2&gt;Adding a new Publishing Target&lt;/h2&gt;&#xA;&lt;p&gt;Add your new target under &lt;code&gt;/sitecore/system/publishing targets&lt;/code&gt;, make sure to mark it as a &amp;quot;preview publishing target&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qbBxA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qbBxA.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Optionally, also configure any workflows you use, to allow publishing to this target even when not &amp;quot;final&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9fLba.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9fLba.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;References:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/walkthrough_publishing_items_to_a_preview_publishing_target&quot; rel=&quot;noreferrer&quot;&gt;Walkthrough: Publishing items to a preview publishing target&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://getfishtank.ca/blog/2-big-improvements-to-publishing-in-sitecore-7&quot; rel=&quot;noreferrer&quot;&gt;Executive Preview And Publishing Related Items&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-02T15:14:55.023" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4174" PostTypeId="1" AcceptedAnswerId="4176" CreationDate="2017-02-02T15:24:08.083" Score="3" ViewCount="392" Body="&lt;p&gt;I have a question regarding a requirement for a client of ours. The client has a number of offices around the world. Traffic coming from these offices (specific IP addresses/ranges) should &lt;strong&gt;not&lt;/strong&gt; be excluded from analytics (so no easy ExcludeRobots configuration). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in the Experience Analytics reporting, internal traffic coming from these offices should be excluded by default. A specific (custom?) report needs to be available to view analytics details for all internal traffic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm thinking of creating a specific &quot;Channel type&quot; &quot;Internal traffic&quot; for this, with the different offices around the world as &quot;Channels&quot; below the &quot;Channel Type&quot;. Did anyone ever implement something like this? Any other (better) ideas to meet the requirements mentioned above?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would the technical implementation look like? Probably some pipelines that need to be customized? Can someone elaborate on this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the reporting side:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;How can I filter out all visits from a &quot;Channel type&quot; or specific &quot;Channel&quot; for all default reports in Experience Analytics?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;How can I create a custom report that only shows the visits from the newly created Channel type &quot;Internal traffic&quot; and underlying offices (as channels)? Is creating such a custom report straightforward?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Any other things I need to do (for example related to excluding internal traffic from the Path Analyzer)?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Gert.&lt;/p&gt;&#xA;" OwnerUserId="534" LastEditorUserId="534" LastEditDate="2017-02-02T15:34:36.697" LastActivityDate="2017-02-06T22:06:27.730" Title="Attribute internal traffic to a custom channel" Tags="|experience-analytics|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4175" PostTypeId="1" CreationDate="2017-02-02T15:33:20.507" Score="2" ViewCount="382" Body="&lt;p&gt;I have Web Forms for Marketers 8.0 Update-1 installed on Sitecore Experience Platform 8.0 Update-1 website which has analytics disabled and there is no MongoDB installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When submitting any form I got the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;4972 2017:02:02 03:27:53 WARN Value cannot be null.&#xA;Parameter name: owner&#xA;Exception: System.ArgumentNullException&#xA;Message: Value cannot be null.&#xA;Parameter name: owner&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.Diagnostics.Log.Warn(String message, Object owner)&#xA;   at Sitecore.WFFM.Core.Extensions.Warn.IsNull(Object obj, String name)&#xA;   at Sitecore.WFFM.Analytics.AnalyticsTracker.get_SessionId()&#xA;   at Sitecore.Form.Core.FormDataHandler.ExecuteSaveActions(ID formId, ControlResult[] fields, ActionDefinition[] actions)&#xA;   at Sitecore.Form.Core.FormDataHandler.ProcessData(ID formID, ControlResult[] fields, ActionDefinition[] actions, CallContext context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The submitted form data will be saved into MongoDB by default, Is there any way I can use to save to SQL instead, I tried the following marketplace module which also needs the analytics to be enabled?!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/W/WEB_FORMS_FOR_MARKETERS_8X_SQL_PROVIDER.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/W/WEB_FORMS_FOR_MARKETERS_8X_SQL_PROVIDER.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2017-02-02T16:08:54.460" Title="WFFM 8.0 Update 1 with Analytics Disabled (no MongoDB) Issue" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4176" PostTypeId="2" ParentId="4174" CreationDate="2017-02-02T15:34:17.860" Score="3" Body="&lt;p&gt;Channel settings are located in the following configuration file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Include/Channel/Sitecore.Analytics.Channel.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;determineInteractionChannel&lt;/code&gt; pipeline is used to set the channel of the current interaction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to add a custom processor to this pipeline; it needs to inherit from &lt;code&gt;DetermineChannelProcessorBase&lt;/code&gt;. You can find this class in the Sitecore.Analytics.OmniChannel.dll assembly.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class InternalTrafficChannel : DetermineChannelProcessorBase&#xA;{&#xA;  private readonly string channelId;&#xA;&#xA;  public InternalTrafficChannel(string channelId)&#xA;  {&#xA;    this.channelId = channelId;&#xA;  }&#xA;&#xA;  public override void Process(DetermineChannelProcessorArgs args)&#xA;  {&#xA;    if(this.IsInternalTraffic())&#xA;    {&#xA;      args.ChannelId = new ID(this.channelId);&#xA;    }&#xA;  }&#xA;&#xA;  private bool IsInternalTraffic()&#xA;  {&#xA;    // return true if the traffic is internal&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create a configuration patch (e.g. under &lt;code&gt;App_Config\Include\zzz&lt;/code&gt;) to configure your custom processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;determineInteractionChannel&amp;gt;&#xA;        &amp;lt;processor type=&quot;Some.Namespace.InternalTrafficChannel, Some.Assembly&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;channelId&quot;&amp;gt;{channel-definition-item-guid}&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;        &#xA;      &amp;lt;/determineInteractionChannel&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="432" LastEditDate="2017-02-06T22:06:27.730" LastActivityDate="2017-02-06T22:06:27.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4177" PostTypeId="2" ParentId="4175" CreationDate="2017-02-02T16:08:54.460" Score="2" Body="&lt;p&gt;After switching to MongoDB, Sitecore introduced an option to use an SQL storage again only in 8.1. So I don't believe staying at 8.0 is an option in your situation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your decide to upgrade to 8.1, check out this tutorial on configuring the SQL storage for forms:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/81/setting_up_web_forms/installing/use_a_custom_sql_provider_to_store_form_data&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/81/setting_up_web_forms/installing/use_a_custom_sql_provider_to_store_form_data&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the configuration file &lt;code&gt;Include/Sitecore.WFFM.Dependencies.config&lt;/code&gt; for available forms storage providers.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-02-02T16:08:54.460" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4179" PostTypeId="1" AcceptedAnswerId="4180" CreationDate="2017-02-02T21:37:18.103" Score="1" ViewCount="588" Body="&lt;p&gt;I have the following transform for my local site that injects a function call into the publish:itemProcessed event:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events timingLevel=&quot;custom&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:itemProcessed&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Website.PublicSite.Web.PublishItemProcessed.PushContentForPublication, Website.PublicSite.Web&quot; method=&quot;OnItemProcessed&quot;&amp;gt;&#xA;          &amp;lt;database&amp;gt;master&amp;lt;/database&amp;gt;&#xA;          &amp;lt;uniqueIdField&amp;gt;Unique Id&amp;lt;/uniqueIdField&amp;gt;&#xA;          &amp;lt;clientKeyField&amp;gt;Client Key&amp;lt;/clientKeyField&amp;gt;&#xA;          &amp;lt;address1FieldName&amp;gt;Address Line 1&amp;lt;/address1FieldName&amp;gt;&#xA;          &amp;lt;latitudeField&amp;gt;Latitude&amp;lt;/latitudeField&amp;gt;&#xA;          &amp;lt;longitudeField&amp;gt;Longitude&amp;lt;/longitudeField&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The following method is being called that populates the latitude and longitude values of the item using the item's address field and Google Location Services (this is the call to _service.GetCoordinates(publishedItem)):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnItemProcessed(object sender, EventArgs args) {&#xA;            ItemProcessedEventArgs itemProcessedEventArgs = args as ItemProcessedEventArgs;&#xA;            PublishItemContext context = itemProcessedEventArgs?.Context;&#xA;&#xA;            if (context?.VersionToPublish == null) {&#xA;                return;&#xA;            }&#xA;&#xA;            Item publishedItem = context.VersionToPublish;&#xA;&#xA;            if (!CheckIfRunnable(publishedItem)) {&#xA;                return;&#xA;            }&#xA;&#xA;&#xA;            if (publishedItem[LatitudeField].Length == 0 || publishedItem[LongitudeField].Length == 0)&#xA;            {&#xA;                Tuple&amp;lt;string, string&amp;gt; latLong = _service.GetCoordinates(publishedItem);&#xA;&#xA;                var latPos = latLong.Item1;&#xA;&#xA;                var longPos = latLong.Item2;&#xA;&#xA;                if (latPos == null || longPos == null)&#xA;                {&#xA;                    throw new Exception(&quot;Error adding record to coordinates to store item. Location not found by Google Location API.&quot;);&#xA;                }&#xA;                //This will re-fire the saving pipeline&#xA;                publishedItem.Editing.BeginEdit();&#xA;                publishedItem[LatitudeField] = latPos;&#xA;                publishedItem[LongitudeField] = longPos;&#xA;                publishedItem.Editing.EndEdit();&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code is working as expected for the most part. The item is updated with the proper lat/long coordinates and is published to Web. However, only the item it the Master database has its latitude and longitude coordinates updated. For the Web database item, both of these fields are blank. My understanding is when I edit the publish item it should refire the publishing pipelines and an updated version of the item should be published to Web but that appears not to be the case. Anyone know how I can get both the Master and the Web database items to show the updated fields? Thanks for the help!&lt;/p&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2017-02-02T22:23:34.123" Title="Fields Modified Via the itemProcessed Pipeline Showing in Master but not Web Database" Tags="|publishing|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4180" PostTypeId="2" ParentId="4179" CreationDate="2017-02-02T22:23:34.123" Score="2" Body="&lt;p&gt;I believe your code is doing exactly what you instruct it to; updating the field information in &lt;code&gt;master&lt;/code&gt;. This will not trigger a re-publish on its own.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And while we could find a way to make it work like you expect; I'd say there is an easier way. Hook into &lt;code&gt;item:saved&lt;/code&gt; instead. This triggers every time you update the item and every time the updated item is published. It is &lt;code&gt;saved&lt;/code&gt; to &quot;web&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In it's simplest form, it could look like this:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Simple Form&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnItemSaved(object sender, EventArgs args) &#xA;{ &#xA;  Sitecore.Events.SitecoreEventArgs eventArgs = args as Sitecore.Events.SitecoreEventArgs; &#xA;  Sitecore.Diagnostics.Assert.IsNotNull(eventArgs, &quot;eventArgs&quot;); &#xA;  Sitecore.Data.Items.Item item = eventArgs.Parameters[0] as Sitecore.Data.Items.Item; &#xA;  Sitecore.Diagnostics.Assert.IsNotNull(item, &quot;item&quot;); &#xA;&#xA;  item.Editing.BeginEdit();&#xA;&#xA;  // do your lat/long thing. &#xA;&#xA;  item.Editing.EndEdit();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And a handler looking something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;item:saved&quot;&amp;gt; &#xA;  &amp;lt;handler type=&quot;yourclass, yourassembly&quot; method=&quot;OnItemSaved&quot;&amp;gt; &#xA;          &amp;lt;clientKeyField&amp;gt;Client Key&amp;lt;/clientKeyField&amp;gt;&#xA;          &amp;lt;address1FieldName&amp;gt;Address Line 1&amp;lt;/address1FieldName&amp;gt;&#xA;          &amp;lt;latitudeField&amp;gt;Latitude&amp;lt;/latitudeField&amp;gt;&#xA;          &amp;lt;longitudeField&amp;gt;Longitude&amp;lt;/longitudeField&amp;gt;&#xA;  &amp;lt;/handler&amp;gt; &#xA;&amp;lt;event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Limiting it to specific template&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Optionally you need to restrict this code by Template ID or whatever is appropriate for your scenario.  Inject it via configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string TemplateId { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;templateid&amp;gt;{your-template-id}&amp;lt;/templateid&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-intercepting-item-updates-with-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;Repost: Intercepting Item Updates with Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-02-02T22:23:34.123" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4181" PostTypeId="2" ParentId="4145" CreationDate="2017-02-02T22:43:53.483" Score="1" Body="&lt;h1&gt;What we know (or assume to know) to be true&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore runs fine&lt;/li&gt;&#xA;&lt;li&gt;Fails when trying to install an update package&lt;/li&gt;&#xA;&lt;li&gt;Fails because it's trying to write to a drive/path that does not exist&lt;/li&gt;&#xA;&lt;li&gt;Only happens in production. Other environments are fine.&lt;/li&gt;&#xA;&lt;li&gt;Referenced drive/path (E:) is not to be found in any configuration files&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;What we also know&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Update packages are really .zip archives&lt;/li&gt;&#xA;&lt;li&gt;Zip archives/packages are decompressed into the &lt;code&gt;system&lt;/code&gt; TEMP folder (reference: Cassidy, December 2008. &lt;a href=&quot;http://intothecore.cassidy.dk/2008/12/sitecore-packager-throwing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Packager throwing System.IO.IOException: The file exists.&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;Hypothesis&lt;/h1&gt;&#xA;&lt;p&gt;Something is wrong with yout &lt;code&gt;%TEMP%&lt;/code&gt; or &lt;code&gt;%TMP%&lt;/code&gt; environment settings. They either point to &lt;em&gt;lala land&lt;/em&gt; or... :&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Either your AppPool Identity user does not have full access to said folder (which could be the case with overzealous security hardening only done on production, not other environments).&lt;/li&gt;&#xA;&lt;li&gt;Or you are running Network Service as AppPool Identity and THAT doesn't have required permissions on the folder&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;Proposed Solution&lt;/h1&gt;&#xA;&lt;p&gt;Depends a bit on what the problem is. Check the environment settings for %TEMP% and %TMP%. A quick way to test, would be to set the AppPool Identity to &lt;code&gt;Local User&lt;/code&gt; and provide admin credentials to it. &lt;em&gt;DO NOT LEAVE IT LIKE THIS&lt;/em&gt; however, only use it to see if it's a permissions issue or if the %TEMP% setting is outright wrong.&lt;/p&gt;&#xA;&lt;p&gt;If the site starts working after you've set &lt;code&gt;Local User&lt;/code&gt;, it's a permissions issue. Find out where %TEMP% points, and grant your AppPool Identity user full control on the folder.&lt;/p&gt;&#xA;&lt;p&gt;If it still doesn't work, figure out what the %TEMP%/%TMP% variables are set to, and fix them.&lt;/p&gt;&#xA;&lt;p&gt;A few references:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/542312/asp-net-access-to-the-temp-directory-is-denied&quot;&gt;https://stackoverflow.com/questions/542312/asp-net-access-to-the-temp-directory-is-denied&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://social.msdn.microsoft.com/Forums/en-US/c43238f8-a2ef-4503-aec6-fbf46870d8a4/access-to-the-temp-directory-is-denied?forum=tfswebaccess&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://social.msdn.microsoft.com/Forums/en-US/c43238f8-a2ef-4503-aec6-fbf46870d8a4/access-to-the-temp-directory-is-denied?forum=tfswebaccess&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-02T22:43:53.483" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4182" PostTypeId="1" AcceptedAnswerId="4188" CreationDate="2017-02-03T02:08:26.873" Score="3" ViewCount="887" Body="&lt;p&gt;I am looking into using some of the alternate analyzers provided in the Sitecore.ContentSearch.LuceneProvider.Analyzers namespace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically what I would like to achieve is to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create copies of the _content field and apply different analyzer to them (one stemmed and another ngrammed).&lt;/li&gt;&#xA;&lt;li&gt;Be able to control the analyzer that is used at query time so that I can search with either a stemmer or an ngram analyzer.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So, using Sitecore.ContentSearch.LuceneProvider.Analyzers.StandardAnalyzerWithStemming and Sitecore.ContentSearch.LuceneProvider.Analyzers.NGramAnalyzer are of interest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, trying to get them implemented in the config files is another thing.  I am experiencing crashes with no log/stack trace any time of indexing and can't seem to be able to get specific fields included in the index but only analyzed by the LowerCaseKeywordAnalyzer (ex. things like GUIDs which a stemmer wreaks havoc on).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have (I think) scoured the web and have a few bits and pieces of information but nothing concrete for these analyzers.  Aside from personal experience, if anyone knows of some good Sitecore documentation on the analyzers or on index configuration files, anything would be helpful.  Thanks.&lt;/p&gt;&#xA;" OwnerUserId="692" LastActivityDate="2017-02-03T12:46:59.747" Title="Using alternate ContentSearch analyzers" Tags="|content-search|lucene|indexing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4184" PostTypeId="1" AcceptedAnswerId="4185" CreationDate="2017-02-03T07:08:27.967" Score="0" ViewCount="254" Body="&lt;p&gt;We are going to upgrade Sitecore platform to Sitecore 8.0, i have a doubt about Sitecore version compatibility. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What version of Sitecore starts the support of Windows 10?  What version will likely work, but not officially supported?  &lt;/p&gt;&#xA;" OwnerUserId="913" LastEditorUserId="2727" LastEditDate="2018-03-01T10:01:30.080" LastActivityDate="2018-03-01T10:01:30.080" Title="What version of Sitecore starts the support of Windows 10?" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4185" PostTypeId="2" ParentId="4184" CreationDate="2017-02-03T07:12:06.380" Score="7" Body="&lt;p&gt;You can get the Sitecore Compatibility Table here: &lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot;&gt;https://kb.sitecore.net/articles/087164&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And to answer your query, Sitecore 8.0 + supports windows 10&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XkgsY.png&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XkgsY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-02-03T07:12:06.380" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4186" PostTypeId="2" ParentId="4163" CreationDate="2017-02-03T08:38:30.080" Score="3" Body="&lt;p&gt;The one of the way do not forget enable tenants or pipeline batches before running you can use a custom extension - &quot;&lt;a href=&quot;https://github.com/vladcheg/Sitecore.DataExchange.Gutters&quot; rel=&quot;nofollow noreferrer&quot;&gt;Gutters for Sitecore Data Exchange Framework&lt;/a&gt;&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9xmNj.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9xmNj.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LCkyv.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LCkyv.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2017-02-03T08:38:30.080" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4187" PostTypeId="1" CreationDate="2017-02-03T11:38:05.360" Score="2" ViewCount="412" Body="&lt;p&gt;I am  mapping &lt;code&gt;Status Reason&lt;/code&gt; from CRM which is an &lt;code&gt;Option Set&lt;/code&gt; to a &lt;code&gt;Single Line of Text&lt;/code&gt; field on Sitecore. I have checked the &lt;code&gt;Use Value Property&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qvlgi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qvlgi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but it returned the integer value of the option set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EwsQ3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EwsQ3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen &lt;a href=&quot;http://integrationsdn.sitecore.net/DynamicsCrmConnect/v1.2/cookbooks/synchronization/option-set-values/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://integrationsdn.sitecore.net/DynamicsCrmConnect/v1.2/cookbooks/synchronization/option-set-values/index.html&lt;/a&gt; for mapping option set values but it works the other way around, i.e., Sitecore to CRM. I tried creating a Read Version of the code as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Xrm.Sdk;&#xA;using Sitecore.DataExchange.DataAccess;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Reflection;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;&#xA;&#xA;namespace DynamicsCrm&#xA;{&#xA;    public class EntityAttributeOptionSetValueReader : IValueReader&#xA;    {&#xA;        public EntityAttributeOptionSetValueReader(string attributeName)&#xA;        {&#xA;            this.AttributeName = attributeName;&#xA;        }&#xA;&#xA;        public string AttributeName { get; private set; }&#xA;&#xA;        public CanReadResult CanRead(object source, DataAccessContext context)&#xA;        {&#xA;            var canRead = false;&#xA;            var isGuess = false;&#xA;            if (source != null)&#xA;            {&#xA;                if (source is Entity)&#xA;                {&#xA;                    canRead = true;&#xA;                    isGuess = true;&#xA;                }&#xA;            }&#xA;            return new CanReadResult { CanReadValue = canRead, IsGuess = isGuess };&#xA;        }&#xA;&#xA;        public ReadResult Read(object source, DataAccessContext context)&#xA;        {            &#xA;            var entity = source as Entity;&#xA;            if (entity != null)&#xA;            {&#xA;                if (entity.Attributes.ContainsKey(this.AttributeName))&#xA;                {&#xA;                    if (entity.Attributes[this.AttributeName] is OptionSetValue)&#xA;                    {&#xA;                        //var value2 = entity.Attributes[this.AttributeName] as OptionSetValue;&#xA;                        int value = (entity.Attributes[this.AttributeName] as OptionSetValue).Value;&#xA;                        //value2.Value = (int)value;&#xA;                        //return new ReadResult { ReadValue = 2 };&#xA;&#xA;                        // Get the raw option set value and return the label&#xA;                    }&#xA;                }&#xA;                else&#xA;                {&#xA;                    entity.Attributes[this.AttributeName] = new OptionSetValue((int)value);&#xA;                    //return true;&#xA;                }&#xA;            }&#xA;            //return false;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I'm stuck with the &lt;code&gt;Read&lt;/code&gt; method because I don't know what specifically is &lt;code&gt;ReadValue&lt;/code&gt; since it's an object. I'm unfamiliar with this and cannot find examples in the documentation and I would really appreciate your guidance. As for &lt;code&gt;DateTime&lt;/code&gt;, it doesn't map the correct value too and return the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZHS9a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZHS9a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no problems with strings and single line of texts. Thank you very much for your help!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks to Vlad, here is my code I've patterned from &lt;a href=&quot;http://integrationsdn.sitecore.net/DynamicsCrmConnect/v1.2/cookbooks/synchronization/option-set-values/add-value-writer.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://integrationsdn.sitecore.net/DynamicsCrmConnect/v1.2/cookbooks/synchronization/option-set-values/add-value-writer.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;EntityAttributeValueAccessorConverterEx.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using Sitecore.DataExchange.Repositories;&#xA;using Sitecore.DataExchange.DataAccess;&#xA;using Sitecore.Services.Core.Model;&#xA;using Sitecore.DataExchange.Providers.DynamicsCrm.Converters.DataAccess.ValueAccessors;&#xA;using Sitecore.DataExchange.Providers.DynamicsCrm.Models.ItemModels.DataAccess;&#xA;using DynamicsCrm;&#xA;&#xA;namespace DynamicsCrm&#xA;{&#xA;    public class EntityAttributeValueAccessorConverterEx : EntityAttributeValueAccessorConverter&#xA;    {&#xA;        public EntityAttributeValueAccessorConverterEx(IItemModelRepository repository) : base(repository)&#xA;        {&#xA;        }&#xA;        public override IValueAccessor Convert(ItemModel source)&#xA;        {&#xA;            var accessor = base.Convert(source);&#xA;            if (accessor != null &amp;amp;&amp;amp; accessor.ValueReader == null)&#xA;            {&#xA;                var useValueProperty = base.GetBoolValue(source, EntityAttributeValueAccessorItemModel.UseValueProperty);&#xA;                if (useValueProperty)&#xA;                {&#xA;                    string attributeName = base.GetStringValue(source, EntityAttributeValueAccessorItemModel.AttributeName);&#xA;                    accessor.ValueReader = new EntityAttributeOptionSetValueReader(attributeName);&#xA;                }&#xA;            }&#xA;            return accessor;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EntityAttributeOptionSetValueReader.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Xrm.Sdk;&#xA;using Sitecore.DataExchange.DataAccess;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Reflection;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;&#xA;&#xA;namespace DynamicsCrm&#xA;{&#xA;    public class EntityAttributeOptionSetValueReader : IValueReader&#xA;    {&#xA;        public EntityAttributeOptionSetValueReader(string attributeName)&#xA;        {&#xA;            this.AttributeName = attributeName;&#xA;        }&#xA;&#xA;        public string AttributeName { get; private set; }&#xA;&#xA;        public CanReadResult CanRead(object source, DataAccessContext context)&#xA;        {&#xA;            var canRead = false;&#xA;            var isGuess = false;&#xA;            if (source != null)&#xA;            {&#xA;                if (source is Entity)&#xA;                {&#xA;                    canRead = true;&#xA;                    isGuess = true;&#xA;                }&#xA;            }&#xA;            return new CanReadResult { CanReadValue = canRead, IsGuess = isGuess };&#xA;        }&#xA;&#xA;        public ReadResult Read(object source, DataAccessContext context)&#xA;        {            &#xA;            var entity = source as Entity;&#xA;            if (entity != null)&#xA;            {&#xA;                if (entity.Attributes.ContainsKey(this.AttributeName))&#xA;                {&#xA;                    if (entity.Attributes[this.AttributeName] is OptionSetValue)&#xA;                    {&#xA;                        //var value2 = entity.Attributes[this.AttributeName] as OptionSetValue;&#xA;                        string statusCodeStr = entity.FormattedValues[this.AttributeName];&#xA;                        //value2.Value = (int)value;&#xA;                        return new ReadResult(DateTime.Now) { ReadValue = statusCodeStr, WasValueRead = true };&#xA;&#xA;                        // Get the raw option set value and return the label&#xA;                    }&#xA;                }&#xA;                else&#xA;                {&#xA;                    return new ReadResult(DateTime.Now) { ReadValue = String.Empty, WasValueRead = false };&#xA;                    //return true;&#xA;                }&#xA;            }&#xA;            //return false;&#xA;            return new ReadResult(DateTime.Now) { ReadValue = String.Empty, WasValueRead = false };&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Converter Type&lt;/code&gt; in the template's standard value, I wrote &lt;code&gt;DynamicsCrm.EntityAttributeValueAccessorConverterEx, DynamicsCrm&lt;/code&gt;. I tried debugging it (the DLL is in &lt;code&gt;inetpub/wwwroot/sitecoreinstance/website/bin&lt;/code&gt;) but didn't hit the breakpoint. Does the code make sense or am I missing something? Thank you very much!&lt;/p&gt;&#xA;" OwnerUserId="1469" LastEditorUserId="1469" LastEditDate="2017-02-06T06:48:07.623" LastActivityDate="2017-02-06T06:48:07.623" Title="Dynamics CRM Connect - Map OptionSet and DateTime CRM fields to Sitecore" Tags="|pipelines|data-exchange-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4188" PostTypeId="2" ParentId="4182" CreationDate="2017-02-03T12:46:59.747" Score="6" Body="&lt;p&gt;It should be possible, but probably not that simple - at least not if you want to use a different analyzer at search time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that I haven't tested any of the stuff below.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Changing the analyzer (both indexin and searching)&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You should be able to change the analyzer of the &lt;code&gt;_content&lt;/code&gt; field like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultLuceneIndexConfiguration&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_content&quot; storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;  settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.StandardAnalyzerWithStemming, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                  &amp;lt;param hint=&quot;version&quot;&amp;gt;Lucene_30&amp;lt;/param&amp;gt;&#xA;                &amp;lt;/analyzer&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;        &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should then use the specified analyzer for both indexing and searching this field.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Copying the _content field with different analyzer&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;_content&lt;/code&gt; field is a special field added by Sitecore at index time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to index &lt;code&gt;_content&lt;/code&gt; more than once, using different analyzers, I think you would need&#xA;to extend &lt;code&gt;Sitecore.ContentSearch.LuceneProvider.LuceneDocumentBuilder&lt;/code&gt; and override the method &lt;code&gt;void AddField(IIndexableDataField field)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;object obj = fieldConfiguration1.FormatForWriting(fieldValue);&#xA;float boost = BoostingManager.ResolveFieldBoosting(field);&#xA;if (IndexOperationsHelper.IsTextField(field))&#xA;{&#xA;    LuceneSearchFieldConfiguration fieldConfiguration2 = this.Index.Configuration.FieldMap.GetFieldConfiguration(&quot;_content&quot;) as LuceneSearchFieldConfiguration;&#xA;    this.AddField(&quot;_content&quot;, obj, fieldConfiguration2 ?? this.defaultTextField, 0.0f);&#xA;}&#xA;this.AddField(name, obj, fieldSettings, boost);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In that method you could then add your own &lt;code&gt;_content_ngram&lt;/code&gt; or something like that and control the used analyzer in the field configuration as shown above.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Using another analyzer at search time&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you want to use another analyzer at search time than the one specified on the field configuration, then you could probably&#xA;utilize execution contexts by implementing &lt;code&gt;Sitecore.ContentSearch.Linq.Common.IExecutionContext&lt;/code&gt;. The implementations themselves do not need any logic.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NGramExecutionContext : IExecutionContext &#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would then need to create a custom analyzer which uses a specific analyzer depending on the field name.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultLuceneIndexConfiguration&amp;gt;&#xA;          &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.PerExecutionContextAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;map&quot; type=&quot;System.Collections.Generic.List`1[[Sitecore.ContentSearch.LuceneProvider.Analyzers.PerExecutionContextAnalyzerMapEntry, Sitecore.ContentSearch.LuceneProvider]]&quot;&amp;gt;&#xA;              &amp;lt;map hint=&quot;list:Add&quot;&amp;gt;&#xA;                &amp;lt;mapEntry type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.PerExecutionContextAnalyzerMapEntry, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                  &amp;lt;!-- Your custom execution context --&amp;gt;&#xA;                  &amp;lt;param hint=&quot;executionContext&quot; type=&quot;YourNamespace.NGramExecutionContext, YourAssembly&quot;&amp;gt;&#xA;                    &amp;lt;!-- Any parameters for your execution context constructor --&amp;gt;&#xA;                  &amp;lt;/param&amp;gt;&#xA;                  &amp;lt;!-- Your custom analyzer --&amp;gt;&#xA;                  &amp;lt;param desc=&quot;analyzer&quot; type=&quot;YourNamespace.CustomAnalyzer, YourAssembly&quot;&amp;gt;&#xA;                    &amp;lt;!-- Any paramters for your custom analyzer constructor --&amp;gt;&#xA;                  &amp;lt;/param&amp;gt;&#xA;                &amp;lt;/mapEntry&amp;gt;&#xA;              &amp;lt;/map&amp;gt;&#xA;            &amp;lt;/param&amp;gt;&#xA;          &amp;lt;/analyzer&amp;gt;&#xA;        &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How to implement the custom analyzer I'll leave up to you. You could take a look at how &lt;code&gt;Sitecore.ContentSearch.LuceneProvider.Analyzers.DefaultPerFieldAnalyzer&lt;/code&gt; works to get some inspiration.&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2017-02-03T12:46:59.747" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4189" PostTypeId="2" ParentId="4187" CreationDate="2017-02-03T13:19:06.387" Score="2" Body="&lt;p&gt;If you want to get string value instead of int value you need to update your reader with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string statusCodeStr = entity.FormattedValues[this.AttributeName];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is debug result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/D9gNe.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D9gNe.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to &lt;code&gt;DateTime&lt;/code&gt; mapping.&#xA;Adam Conn has already answered. The solution is to use &lt;code&gt;ISO Date Value Reader&lt;/code&gt; for the transformer. &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1115/poco-datetime-not-mapping-correctly-in-data-exchange-framework&quot;&gt;POCO DateTime not mapping correctly in Data Exchange Framework&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-02-03T14:45:40.067" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4190" PostTypeId="1" AcceptedAnswerId="4191" CreationDate="2017-02-03T13:39:22.987" Score="4" ViewCount="3488" Body="&lt;p&gt;I have a project with Glass.Mapper v4 and i have a simple model class like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class Separator&#xA;    {&#xA;        public virtual string Title { get; set; }&#xA;        public virtual string CssColorClass { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And a razor view like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model ConexioFC.Models.Separator&#xA;&#xA;This is the separator&#xA;&amp;lt;h2 class=&quot;@Model.CssColorClass&quot;&amp;gt;@Model.Title&amp;lt;/h2&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From Sitecore i have this templates:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B6HTs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B6HTs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then i have a View Rendering like this:&#xA;This view rendering has a parameters template pointing to the template previously shown.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4XrRA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4XrRA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then i have on the control properties of the page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DBnZy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DBnZy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that when i go to the page preview the &lt;code&gt;Model.CssColorClass&lt;/code&gt; and &lt;code&gt;Model.Title&lt;/code&gt; are blank.&lt;/p&gt;&#xA;" OwnerUserId="1462" LastActivityDate="2017-02-03T14:03:26.200" Title="Map model class to render view parameters with Glass.View v4?" Tags="|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4191" PostTypeId="2" ParentId="4190" CreationDate="2017-02-03T13:46:47.793" Score="3" Body="&lt;p&gt;First of all is not recommended to put content like Title in the rendering paramenters. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;ConexioFC.Models.Separator&amp;gt;&#xA;&#xA;var parameters = GetRenderingParameters&amp;lt;ConexioFC.Models.RenderingParameters.Separator&amp;gt;();}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and you can to access parameters using @parameters.PropertyName&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More informations you can find here:&lt;br&gt;&#xA;&lt;a href=&quot;http://www.glass.lu/Mapper/Sc/Tutorials/Tutorial23&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/Mapper/Sc/Tutorials/Tutorial23&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/29714169/inherit-model-and-rendering-parameters-both-in-sitecore-mvc-view-using-glass-map&quot;&gt;https://stackoverflow.com/questions/29714169/inherit-model-and-rendering-parameters-both-in-sitecore-mvc-view-using-glass-map&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-02-03T14:03:26.200" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4192" PostTypeId="2" ParentId="4190" CreationDate="2017-02-03T13:47:28.813" Score="0" Body="&lt;p&gt;That's because your rendering parameters aren't your viewmodel, the page item/datasource item is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can however get it as a viewmodel if you want, have a look at this blog post:&#xA;&lt;a href=&quot;https://visionsincode.wordpress.com/2016/08/26/map-your-rendering-parameters-to-your-glass-mapper-viewmodels-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://visionsincode.wordpress.com/2016/08/26/map-your-rendering-parameters-to-your-glass-mapper-viewmodels-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or the default way of working with rendering parameters:&#xA;&lt;a href=&quot;http://www.glass.lu/mapper/sc/tutorials/tutorial23&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/mapper/sc/tutorials/tutorial23&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;ConexioFC.Models.Separator&amp;gt;&#xA;&#xA;@{ var parameters = GetRenderingParameters&amp;lt;ConexioFC.Models.RenderingParameters.Separator&amp;gt;();}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="220" LastEditorUserId="220" LastEditDate="2017-02-03T13:57:19.247" LastActivityDate="2017-02-03T13:57:19.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4194" PostTypeId="2" ParentId="4122" CreationDate="2017-02-03T14:48:30.543" Score="3" Body="&lt;p&gt;It's possible to extend although not entirely that easy because Sitecore uses a lot of dynamics instead of actually typing things when it comes to ItemWebApi.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A small example (note that this kinda works but isn't intended to actually be used, more like a starting point):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SortResult : ReadProcessor&#xA;    {&#xA;        #region Overrides of OperationProcessor&amp;lt;ReadArgs&amp;gt;&#xA;&#xA;        public override void Process(ReadArgs arguments)&#xA;        {&#xA;            // Gets the sorting parameter. &#xA;            // This needs to exist in the parameters list found underneath processor type=&quot;Sitecore.ItemWebApi.Pipelines.Request.CheckParameters, Sitecore.ItemWebApi&quot;&#xA;            var sortingParameter = arguments.Context.HttpContext.Request.Params[&quot;sorting&quot;];&#xA;            if (string.IsNullOrWhiteSpace(sortingParameter)) return;&#xA;&#xA;            var getResult = arguments.Result as Dictionary&amp;lt;string, object&amp;gt;;&#xA;            var result = getResult?[&quot;result&quot;] as Dictionary&amp;lt;string, object&amp;gt;;&#xA;            var items = result?[&quot;items&quot;] as Sitecore.ItemWebApi.Dynamic[];&#xA;&#xA;            if (items != null)&#xA;            {&#xA;                // Sort the result using the key provided.&#xA;                var sortedItems = items.OrderBy(item =&amp;gt; item[sortingParameter]);&#xA;                result[&quot;items&quot;] = sortedItems.ToArray();&#xA;            }&#xA;        }&#xA;&#xA;        #endregion&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the config showing where to patch it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;itemWebApiRead&amp;gt;&#xA;        &amp;lt;processor type=&quot;ItemWebApi.Pipelines.Read.SortResult, ItemWebApi&quot;&#xA;                   patch:after=&quot;processor[@type='Sitecore.ItemWebApi.Pipelines.Read.GetResult, Sitecore.ItemWebApi']&quot; /&amp;gt;&#xA;      &amp;lt;/itemWebApiRead&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works but I think it might be easier just to overwrite &lt;code&gt;GetResult&lt;/code&gt; inside the &lt;code&gt;itemWebApiRead&lt;/code&gt; pipeline instead of going through the hassle of changing the dynamics.&lt;/p&gt;&#xA;" OwnerUserId="220" LastActivityDate="2017-02-03T14:48:30.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4196" PostTypeId="2" ParentId="4122" CreationDate="2017-02-03T16:18:42.877" Score="3" Body="&lt;p&gt;If the WEB Api returns the same order as items sorted in the content tree you can change it by:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select an item folder where all sub-items required to be sorted by some criteria.&lt;/li&gt;&#xA;&lt;li&gt;On the Home Ribbon click &quot;Sorting&quot; and change sort order to created.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Before:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9hvjX.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9hvjX.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ratlf.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ratlf.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2017-02-03T16:28:04.283" LastActivityDate="2017-02-03T16:28:04.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4197" PostTypeId="1" AcceptedAnswerId="4205" CreationDate="2017-02-03T16:59:39.453" Score="4" ViewCount="216" Body="&lt;p&gt;I noticed this year Sitecore MVP has a new category called Cloud. What is it for? and which areas you can work or contribute to become one of the MVP under Cloud category?&lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorUserId="312" LastEditDate="2018-11-07T10:07:45.073" LastActivityDate="2018-11-07T10:07:45.073" Title="What is Sitecore MVP Cloud category?" Tags="|cloud|mvp|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4198" PostTypeId="2" ParentId="4197" CreationDate="2017-02-03T17:02:25.380" Score="1" Body="&lt;p&gt;From &lt;a href=&quot;http://www.sitecore.net/en/events/public-mvp-site/about-mvp&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecore.net/en/events/public-mvp-site/about-mvp&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Cloud MVP award is being awarded to individuals who are experts in&#xA;  Cloud solutions, using Sitecore cloud services, experienced to deploy&#xA;  Sitecore platform in the cloud and who are actively participating in&#xA;  online and offline communities and events.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Looks like it's a new category to help push Sitecore use in the Cloud specifically with the new Sitecore Azure PaaS support&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-02-03T17:02:25.380" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4199" PostTypeId="2" ParentId="4197" CreationDate="2017-02-03T17:07:23.313" Score="9" Body="&lt;p&gt;&lt;strong&gt;Sitecore MVP Cloud&lt;/strong&gt; it's a brand new category for Sitecore MVP, and looks for &lt;a href=&quot;http://www.sitecore.net/en/events/public-mvp-site/home&quot;&gt;an individual who is an expert in Cloud solutions, using Sitecore cloud services, experienced to deploy Sitecore platform in the cloud and who is actively participating in online and offline communities and events&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe you should cover areas like Sitecore deployed and hosted in cloud environments (for example: Sitecore on Azure), troubleshooting, improvements, comparisons between on-prem vs cloud (pros vs cons), automation using the cloud, security, PowerShell utilization, and so on.&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-02-03T17:07:23.313" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4200" PostTypeId="2" ParentId="4121" CreationDate="2017-02-03T19:41:35.460" Score="0" Body="&lt;p&gt;Sitecore Commerce is using a &quot;public&quot; API DAX offers and it depends what you would like to achieve with it you can use Sitecore Commerce or you can build your own connector. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course if the requirements they have match with the Sitecore Commerce feature set I wouldn't build it my own from scratch. Also learning the API, building the solution, testing and stabilizing, documenting and maintaining your own connector will cost money and the time to market will be much longer meaning the TCO over 3-5 years can be much higher...&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-02-03T19:41:35.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4201" PostTypeId="1" AcceptedAnswerId="4202" CreationDate="2017-02-03T20:11:22.450" Score="1" ViewCount="4273" Body="&lt;p&gt;I have a model that contains a parameter called &lt;code&gt;CssClassName&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{51D5974A-7ABE-40C3-9EED-E32267C03112}&quot;, AutoMap = true)]&#xA;    public class Separator&#xA;    {&#xA;        public virtual Guid ID { get; set; }&#xA;        public virtual string Title { get; set; }&#xA;        public virtual string CssColorClass { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, from Sitecore side, this &lt;code&gt;CssColorClass&lt;/code&gt; parameter is a &lt;code&gt;DropList&lt;/code&gt; that points to a datasource where the template contains two parameters &lt;code&gt;ClassName&lt;/code&gt; and &lt;code&gt;Description&lt;/code&gt;. How can i tell the &lt;code&gt;CssColorClass&lt;/code&gt; to &quot;grab&quot; the &lt;code&gt;ClassName&lt;/code&gt; parameter and not the Item name of the items on the datasource?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my razor view i have this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;MyModels.Models.Separator&amp;gt;&#xA;@using MyModels.Models&#xA;@using System.Web.Optimization&#xA;@{ &#xA;    Separator separatorModel = GetRenderingParameters&amp;lt;Separator&amp;gt;();&#xA;}&#xA;&#xA;@Styles.Render(&quot;~/bundles/separator-css&quot;)&#xA;&amp;lt;h2 id=&quot;@separatorModel.ID&quot; class=&quot;separator @separatorModel.CssColorClass&quot;&amp;gt;@separatorModel.Title&amp;lt;/h2&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1462" LastEditorUserId="1462" LastEditDate="2017-02-03T21:00:07.633" LastActivityDate="2017-02-04T01:13:56.047" Title="How to map a datasource in DropList to a specific parameter on selection?" Tags="|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4202" PostTypeId="2" ParentId="4201" CreationDate="2017-02-03T22:10:55.247" Score="9" Body="&lt;p&gt;The &lt;strong&gt;DropList&lt;/strong&gt; field only stores the name of the item selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To accomplish what you are trying to do, you need to use a &lt;strong&gt;Droplink&lt;/strong&gt; field instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;Droplink&lt;/strong&gt; field will store the &lt;strong&gt;ID&lt;/strong&gt; of the selected item.  From there, you can use the &lt;strong&gt;ID&lt;/strong&gt; to find the selected item in Sitecore and convert it to a strongly-typed class that has the &lt;strong&gt;ClassName&lt;/strong&gt; property that you are ultimately trying to retrieve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said all of this above, looks like you're using &lt;strong&gt;GlassMapper&lt;/strong&gt;.  If that's the case, it's even easier for you.  The type for your property that will map to the &lt;strong&gt;Droplink&lt;/strong&gt; field should be the class that represents the item that will be selected in the &lt;strong&gt;Droplink&lt;/strong&gt; field.  &lt;strong&gt;GlassMapper&lt;/strong&gt; will automatically find the item in Sitecore by &lt;strong&gt;ID&lt;/strong&gt; and cast it to the strongly-typed class for you.  If no item is selected in the field in Sitecore, &lt;strong&gt;GlassMapper&lt;/strong&gt; will simply set the property to &lt;strong&gt;null&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's some sample code based on &lt;strong&gt;GlassMapper&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say this is the class that represents the type of items that will be selected in the &lt;strong&gt;Droplink&lt;/strong&gt; (I just made up a template ID):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{12121212-1212-1212-1212-121212121212}&quot;, AutoMap = true)]&#xA;public class CssColor&#xA;{&#xA;    public virtual Guid ID { get; set; }&#xA;    public virtual string Color { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's how you would update your &lt;strong&gt;Separator&lt;/strong&gt; class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{51D5974A-7ABE-40C3-9EED-E32267C03112}&quot;, AutoMap = true)]&#xA;public class Separator&#xA;{&#xA;    public virtual Guid ID { get; set; }&#xA;    public virtual string Title { get; set; }&#xA;    public virtual CssColor CssColorClass { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="38" LastEditorUserId="38" LastEditDate="2017-02-04T01:13:56.047" LastActivityDate="2017-02-04T01:13:56.047" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4203" PostTypeId="2" ParentId="4201" CreationDate="2017-02-04T00:39:50.630" Score="0" Body="&lt;p&gt;I think it would be like this. I hate doing logic in the view, but maybe it will get you to where you need to be. You could also get the Droplink item with Glassmapper.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;MyModels.Models.Separator&amp;gt;&#xA;@using MyModels.Models&#xA;@using System.Web.Optimization&#xA;@{ &#xA;    Separator separatorModel = GetRenderingParameters&amp;lt;Separator&amp;gt;();&#xA;}&#xA;&#xA; @{&#xA;    var styleItem = Sitecore.Context.Database.GetItem(separatorModel.CssColorClass);&#xA;    var cssClass = ((Sitecore.Data.Fields.LookupField) styleItem.Fields[&quot;ClassName&quot;]).TargetItem[&quot;ClassName&quot;];&#xA;  }&#xA;&#xA;@Styles.Render(&quot;~/bundles/separator-css&quot;)&#xA;&amp;lt;h2 id=&quot;@separatorModel.ID&quot; class=&quot;separator @cssClass&quot;&amp;gt;@separatorModel.Title&amp;lt;/h2&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-02-04T00:39:50.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4204" PostTypeId="1" AcceptedAnswerId="4206" CreationDate="2017-02-04T06:49:23.320" Score="5" ViewCount="409" Body="&lt;p&gt;I just came to that problem that, in a multisite solution we need to deliver the same feauture but with different Controller and View.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As we are implementing features indepently for Projects how should I split the Features independently?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For example&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a Header for both sites but I need different data template, Model, View, Controller for &lt;strong&gt;site A&lt;/strong&gt; and &lt;strong&gt;site B&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use Areas for that inside the Features or create a new layer between Features and Projects or any other suggestions? I think it is a common problem with multisite solutions based on Helix.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-02-04T17:01:02.617" Title="How should I split features in Helix based solutions?" Tags="|helix|solution-architecture|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4205" PostTypeId="2" ParentId="4197" CreationDate="2017-02-04T08:07:24.030" Score="6" Body="&lt;p&gt;I was lucky enough to receive this award - here's why I think I got it.  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have presented at Sitecore user groups and a while ago now, admittedly, at Sitecore Symposium in Australia (they only had the one)&lt;/li&gt;&#xA;&lt;li&gt;I am a co-organiser of the Sydney Sitecore User Group&lt;/li&gt;&#xA;&lt;li&gt;I am very active on all the community channels: Slack; Sitecore Community site; Stack Exchange, etc&lt;/li&gt;&#xA;&lt;li&gt;I wrote two whitepapers on transitioning on-prem solutions to the cloud that Sitecore published&lt;/li&gt;&#xA;&lt;li&gt;I have architected, deployed, and continue to maintain some of the largest Sitecore Azure implementations in the country&lt;/li&gt;&#xA;&lt;li&gt;Over the last few years I have actively promoted Sitecore on Azure&lt;/li&gt;&#xA;&lt;li&gt;I have created several modules that facilitate the use of Sitecore on Azure&lt;/li&gt;&#xA;&lt;li&gt;I am working with Sitecore's internal cloud teams on features and strategies that will help develop the product with &quot;field use&quot; experience&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I should mention that I have also held a Technical MVP award for 5 years, and transitioned this year.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FWIW, I have a number of blog articles that are in various stages of completion that I never seem to get around to publishing :( but there will be a bunch through as soon as I find a couple hours one day.  Everything from setting up Ubuntu for MongoDB and Solr, to Azure ARM template best practices, to Git multi-tenant branching strategies.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-02-04T08:07:24.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4206" PostTypeId="2" ParentId="4204" CreationDate="2017-02-04T09:20:17.957" Score="3" Body="&lt;p&gt;If you consider the basics of the Helix principles that features should not be aware of the project layer, you could decide that the &quot;Header&quot; feature you are developing should have 2 sets of contoller-model-view. In my opinion, a feature can have multiple implementations of something that might seem similar. If in your case the header is so different between site A and site B that you cannot fix it in the project layer (as it seems), you actually have 2 cases. You could even decide to create 2 features for it, but that would seem real overkill. So I would create one feature and have 2 possible header implementation in that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a comparison, just consider an event feature. You might re-use that event feature over multiple sites. But what if one site want to display the events in a calendar view and the other one just as a flat list? I assume in that case you would also just have a calender view and a list view in your event feature. Just as you would do if those views were wanted in 1 site. The feature doesn't care where you use it. For events this might seem obvious, so I don't see why that would be different for a header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resume: I would create 1 feature with 2 options for your header.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-04T09:20:17.957" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4207" PostTypeId="1" CreationDate="2017-02-04T10:28:15.740" Score="0" ViewCount="275" Body="&lt;p&gt;I am using Sitecore 8.1 updated 2.&#xA;I am redirecting web user to success or failure page based on the condition in WFFM custom save action.In cm server it's working fine in CD it's showing wffm thank message.&#xA;Do we have any config setting in CD that we need to enable.&lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="73" LastEditDate="2017-02-07T01:35:11.647" LastActivityDate="2017-02-07T16:40:30.490" Title="Response.Redirect does not work in CD in Sitecore Web form for marketer Custom save action" Tags="|wffm|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4208" PostTypeId="1" AcceptedAnswerId="4210" CreationDate="2017-02-04T11:20:20.140" Score="4" ViewCount="514" Body="&lt;p&gt;Sitecore best practice says to use datasource but habitat doesn't seem to follow this. At many places in habitat, content is in the item, instead of linked through datasource. Can someone explain me if there are any reasons behind this or best practise for this has not not been followed in habitat. Thanks&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2017-02-04T12:44:04.400" Title="Why Sitecore habitat is not following best practice to use datasource everywhere" Tags="|helix|information-architecture|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4209" PostTypeId="1" AcceptedAnswerId="4211" CreationDate="2017-02-04T12:04:06.250" Score="5" ViewCount="1752" Body="&lt;p&gt;When a component is added to the page in the Experience Editor, its data source field is empty. The content editor then needs to manually create or select a data source in the &quot;Select the Associated Content&quot; dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To simplify this process, Sitecore allows to &lt;a href=&quot;https://jammykam.wordpress.com/2015/03/17/prompt-user-to-selectcreate-datasource-item-when-inserting-rendering-via-page-editor/&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;show the dialog automatically&lt;/strong&gt;&lt;/a&gt; when a component is added to the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to take this one step further.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our solution, data sources are normally stored under every page item. It would be convenient for our content editors if a data source was created automatically for every new component, without even showing the &quot;Select the Associated Content&quot; dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can this be achieved?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-10-22T15:50:51.160" Title="How to create component data sources automatically?" Tags="|experience-editor|datasource|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4210" PostTypeId="2" ParentId="4208" CreationDate="2017-02-04T12:44:04.400" Score="5" Body="&lt;p&gt;As we don't (yet) know which example you have in mind, I'll give my general opinion: although it is best practice to use datasources, it might not be best practice to use them for everything. Your content editors could go completely crazy if they need to quickly publish a news article and they need to create 5 datasources and a content item to achieve that (Sitecore will seem overwhelming to lots of people if you do that). Best practice is actually to think about your content architecture and create something that enables your content editors to work fluently and give them and the marketers the ability to do their (marketing) job - meaning let them personalize, test, etc.. renderings where needed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even in SXA not all components use a datasource. The title of the page is picked from the item itself. This does not mean you need to do that always, but in many cases it might be a good idea. Talk to the customer, the editors and the marketers that will administer the site and decide based on that information how the content should be structured (so they can do their job and the site is still performing well) and how and where to use renderings with datasources.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: sometimes it can also be a good idea to let an editor assign a datasource optionally (take the current item if no datasource was set).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-04T12:44:04.400" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4211" PostTypeId="2" ParentId="4209" CreationDate="2017-02-04T15:22:28.750" Score="4" Body="&lt;p&gt;What you actually need to do are two things:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create the datasource item&lt;/li&gt;&#xA;&lt;li&gt;Prevent the dialog from appearing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Creating the datasource is done in the getRenderingDatasource pipeline. Add a processor before the CheckDialogState. In that processor you can put some logic to determine that you actually want to create an item. Once you determined you want to create an item, do so using the Sitecore api (you might need a security disabler and a site switcher). Add the parent to the &lt;code&gt;args.DatasourceRoots&lt;/code&gt;. Once the item is created, you have to set it's path in the arguments: &lt;code&gt;args.CurrentDatasource = datasourceItem.Paths.FullPath;&lt;/code&gt; (args being the &lt;code&gt;GetRenderingDatasourceArgs&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would stop here, the datasource is created and would be shown in the dialog as a prefilled value. It is not filled in &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The dialog is a tricky one. Like mentioned in the comments I wrote a &lt;a href=&quot;https://ggullentops.blogspot.be/2017/02/preventing-sitecore-select-datasource-dialog.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt; on it. What you need to do is override (copy) the command &lt;strong&gt;AddRendering&lt;/strong&gt; (Sitecore.Shell.Applications.WebEdit.Commands.AddRendering). In the run method, before the code where the dialog is opened (ShowModalDialog), you need to adapt the code (if-statement to determine whether to show the dialog or not) and send a WebEditResponse: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WebEditResponse.Eval(FormattableString.Invariant(&#xA;    $&quot;Sitecore.PageModes.ChromeManager.handleMessage('chrome:placeholder:controladded', &#xA;        {{ id: '{itemNotNull.ID.Guid.ToString(&quot;N&quot;).ToUpperInvariant()}', &#xA;           openProperties: {flag.ToString().ToLowerInvariant()}, &#xA;           dataSource: '{datasourceItem.ID.Guid.ToString(&quot;B&quot;).ToUpperInvariant()}' }});&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This way the dialog won't open and the Sitecore editor is still notified that a rendering was added (with the datasource). Without that notification, the rendering will not be added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: it is probably also possible to include the item creation in the addrendering command - didn't test that&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: links to github repo and marketplace module containing this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Gatogordo/LocalDatasources&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Gatogordo/LocalDatasources&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/L/Local_Datasources.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/L/Local_Datasources.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-10-22T15:50:51.160" LastActivityDate="2017-10-22T15:50:51.160" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4212" PostTypeId="2" ParentId="4209" CreationDate="2017-02-04T16:38:08.470" Score="4" Body="&lt;p&gt;Just to add to the discussion, in SXA they only use getRenderingDatasource to create the Page data folder and adding the global and page data items to the DatasourceRoots object. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA creates the datasource item automatically in the Add rendering command. You can find the code in the assembly Sitecore.XA.Foundation.Editing in the function Sitecore.XA.Foundation.Editing.Commands.AddRendering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The line where they actually create the item, after several if statements is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item item4 = getRenderingDatasourceArgs.Prototype.InheritsFrom(TemplateIDs.BranchTemplate) ? Context.Workflow.AddItem(text2, getRenderingDatasourceArgs.Prototype, item3) : Context.Workflow.AddItem(text2, getRenderingDatasourceArgs.Prototype, item3);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then the event to assign it to the datasource and handle the page event.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string fullPath = item4.Paths.FullPath;&#xA;string arg = fullPath.StartsWith(getRenderingDatasourceArgs.ContextItemPath) ? (&quot;local:&quot; + fullPath.Substring(getRenderingDatasourceArgs.ContextItemPath.Length)) : item4.ID.ToString();&#xA;this.HandleResponse(&quot;'chrome:placeholder:controladded'&quot;, string.Format(&quot;{{ id: '{0}', openProperties: {1}, dataSource: '{2}' }}&quot;, itemNotNull.ID.ToShortID(), flag7.ToString().ToLowerInvariant(), arg), flag);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The command config is here.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;webedit:addrendering&quot; type=&quot;Sitecore.XA.Foundation.Editing.Commands.AddRendering, Sitecore.XA.Foundation.Editing&quot; patch:source=&quot;Sitecore.XA.Foundation.Editing.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-02-04T16:44:26.433" LastActivityDate="2017-02-04T16:44:26.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4213" PostTypeId="2" ParentId="4204" CreationDate="2017-02-04T17:01:02.617" Score="1" Body="&lt;p&gt;If the two features are so different they need a different view and controller, then they are not the &lt;strong&gt;Same&lt;/strong&gt; feature. Just create the feature in each project layer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to create a model, interface and functions in the feature layer and share that, that is fine. But the feature should never call code in the project. Only the project can reference code in the features.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-02-04T17:01:02.617" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4214" PostTypeId="2" ParentId="4155" CreationDate="2017-02-04T20:39:37.707" Score="1" Body="&lt;p&gt;There can be different factors that causing this issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Version Compatibility&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SPE version is not compatible with the Sitecore version.&lt;/li&gt;&#xA;&lt;li&gt;Powershell version should be in sync across all the environment if development&#xA;code base is having powershell dll reference.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Package Installation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The package is not installing properly whereby some files are not getting installed accordingly.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I will tend to go for the 2nd point since the error shows that it cannot create an object from &#xA;&lt;code&gt;Cognifide.PowerShell.SitecoreIntegrations.Applications.PowerShellConsole,Cognifide.PowerShell&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems like the assembly &lt;code&gt;Cognifide.PowerShell&lt;/code&gt; is not properly installed. Try to make sure that the proper security permission (write/read) is set on the website folder including subfolders.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-02-06T19:15:58.070" LastActivityDate="2017-02-06T19:15:58.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4216" PostTypeId="1" AcceptedAnswerId="4217" CreationDate="2017-02-05T15:15:28.303" Score="3" ViewCount="1624" Body="&lt;p&gt;When inserting Images into RTE content, images are rendered as this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;-/media/AS15F536E453B97C2GJI6901F55GG.ashx?h=857&amp;amp;amp;w=1523&quot; height=&quot;857&quot; width=&quot;1523&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works fine with responsive design. However, if I resize the image inside the RTE the image tags gets rendered as this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img style=&quot;height: 857px; width: 1523px;&quot; src=&quot;-/media/AS15F536E453B97C2GJI6901F55GG.ashx?h=857&amp;amp;amp;w=1523&quot; height=&quot;857&quot; width=&quot;1523&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(adding the style=&quot;width...;height...&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This prevents the images from working properly in responsive cases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I remove the styles manually, everything remains fine.&#xA;So how can I prevent the RTE from adding these styles? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-11-01T09:15:57.753" Title="Prevent Width\Height styles when resizing image in RTE" Tags="|media-library|richtext-editor|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4217" PostTypeId="2" ParentId="4216" CreationDate="2017-02-05T15:34:38.167" Score="7" Body="&lt;p&gt;Out of the box, you cannot prevent this. It's just the way the RTE works in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fortunately you can work around this issue, but it's a fairly involved process. It involves:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Parsing the RTE html for &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; elements with a &lt;code&gt;style&lt;/code&gt; attribute, then removing &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Optionally hooking into the Sitecore &lt;code&gt;renderField&lt;/code&gt; pipeline and run the above mentioned parser on fields of type &lt;code&gt;rich text&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Optionally hooking into the &lt;code&gt;&amp;lt;saveRichTextContent&amp;gt;&lt;/code&gt; pipeline and run the above mentioned parser. I prefer this option.&lt;/li&gt;&#xA;&lt;li&gt;Patching in your new modifications.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Eric Stafford has a complete writeup of this process on: &lt;a href=&quot;http://sitecoresuperman.com/handling-image-dimensions-in-the-richtext-editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;Handling Images on a Responsive Sitecore Implementation&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-11-01T09:15:57.753" LastActivityDate="2018-11-01T09:15:57.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4220" PostTypeId="2" ParentId="1225" CreationDate="2017-02-05T21:24:50.840" Score="1" Body="&lt;p&gt;it seems that your scenario is occurring when two different users (with different permissions) are sharing the same device to login on the website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This blog on the Sitecore Community site describes how DMS stores visitor records: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/damian_brooks/posts/dms-recognising-users-across-devices&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/damian_brooks/posts/dms-recognising-users-across-devices&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the blog suggests for a different scenario (same user browsing a website on two different devices), I think you need to identify the VisitorId of the user that is logging in and refresh the VisitorId cookie in the browser.&lt;/p&gt;&#xA;" OwnerUserId="1399" LastActivityDate="2017-02-05T21:24:50.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4221" PostTypeId="1" CreationDate="2017-02-06T00:36:21.603" Score="0" ViewCount="1137" Body="&lt;p&gt;We have a requirement to pass browser, OS, Device details to third party analytics (yes they don't capture by default).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does sitecore provides any API which we can use to capture these details? Any alternate approach is fine as well.&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2017-02-06T13:06:30.923" Title="Sitecore API to get Browser, Device and OS details" Tags="|experience-analytics|tracking|seo|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4222" PostTypeId="2" ParentId="4221" CreationDate="2017-02-06T01:53:06.353" Score="2" Body="&lt;p&gt;Sitecore will capture information about the request in the analytics, but if you are just sending the data to the 3rd party analytics API you can probably just use the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.web.httprequestbase.browser.aspx&quot; rel=&quot;nofollow noreferrer&quot; title=&quot;Request.Browser&quot;&gt;&lt;code&gt;Request.Browser&lt;/code&gt;&lt;/a&gt; object that is just part of the MVC Controller request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could use the following properties&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult MyRendering() &#xA;{&#xA;    var os = Request.Browser.Platform;&#xA;    var browserVersion = Request.Browser.Version;&#xA;&#xA;    // Parse the UserAgent yourself or use a 3rd party to parse:&#xA;    var userAgent = Request.UserAgent;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you don't get enough information from the properties, you could parse the UserAgent - use a service to give you consistent results. Something like: &lt;a href=&quot;https://developers.whatismybrowser.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.whatismybrowser.com/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-02-06T01:53:06.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4223" PostTypeId="2" ParentId="4221" CreationDate="2017-02-06T05:33:01.687" Score="0" Body="&lt;p&gt;If the other website is a Sitecore website as well, you could have a look at the federated experience manager: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/the_federated_experience_manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/the_federated_experience_manager&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not, I would build a simple Web API which exposes the Sitecore.Analytics database to the other website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: I wouldn't choose to send the analytics on every page load. When the external API is slow, your website gets slow as well.&lt;/p&gt;&#xA;" OwnerUserId="828" LastEditorUserId="828" LastEditDate="2017-02-06T13:06:30.923" LastActivityDate="2017-02-06T13:06:30.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4224" PostTypeId="1" CreationDate="2017-02-06T08:25:06.740" Score="0" ViewCount="311" Body="&lt;p&gt;I am working with Sitecore 8.2 with XDB and using Solr as a search provider. I have setup Master and Slave instances and configured Cores on both the instances. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I have couple of questions:&#xA;1) Which Cores need to be configured on Solr Master instance and which cores need to be configured on Slave.&#xA;2) while setting up replication, which Cores need to replicated from Master to Slave. Do I only need to setup replication on cores required by CD as per &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/search_indexes_required_in_a_scalable_environment&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/search_indexes_required_in_a_scalable_environment&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently I have configured following cores in Master and Slave:&#xA;sitecore_web_index, &#xA;sitecore_master_index, &#xA;sitecore_core_index,&lt;br&gt;&#xA;sitecore_analytics_index, &#xA;social_messages_web, &#xA;social_messages_master, &#xA;sitecore_marketing_asset_index_master, &#xA;sitecore_marketing_asset_index_web, &#xA;sitecore_testing_index, &#xA;sitecore_suggested_test_index, &#xA;sitecore_fxm_master_index, &#xA;sitecore_fxm_web_index, &#xA;sitecore_list_index, &#xA;sitecore_marketingdefinitions_master, &#xA;sitecore_marketingdefinitions_web, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="1482" LastEditorUserId="1482" LastEditDate="2017-02-07T03:51:55.470" LastActivityDate="2018-01-17T10:15:01.807" Title="Sitecore Solr Master Slave" Tags="|solr|content-search|" AnswerCount="0" CommentCount="0" FavoriteCount="0" ClosedDate="2018-01-17T10:37:41.463" ContentLicense="CC BY-SA 3.0" />
  <row Id="4225" PostTypeId="2" ParentId="4221" CreationDate="2017-02-06T09:28:21.817" Score="0" Body="&lt;p&gt;Sitecore offer access to the Device Detection API - you can use the class &lt;strong&gt;&lt;code&gt;DeviceDetectionManager&lt;/code&gt;&lt;/strong&gt; and the method &lt;code&gt;GetDeviceInformation&lt;/code&gt; to get the device information such as:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Browser&lt;/li&gt;&#xA;&lt;li&gt;DeviceType&lt;/li&gt;&#xA;&lt;li&gt;DeviceOperatingSystemModel&lt;/li&gt;&#xA;&lt;li&gt;HardwareDisplayHeight&lt;/li&gt;&#xA;&lt;li&gt;HardwareDisplayWidth&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For more information check this link: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/device_detection/api_reference_for_the_device_detection_service&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/device_detection/api_reference_for_the_device_detection_service&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1122" LastActivityDate="2017-02-06T09:28:21.817" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4226" PostTypeId="1" AcceptedAnswerId="4228" CreationDate="2017-02-06T09:38:14.043" Score="3" ViewCount="529" Body="&lt;p&gt;We're using Sitecore PowerShell Extensions to generate some reports.&#xA;In one of our templates we have a field with the name &lt;code&gt;Id&lt;/code&gt;.&#xA;This &lt;code&gt;id&lt;/code&gt; field is not being listed correctly by PSE because it is conflicting with the Item Id from Sitecore. How would we get our own &lt;code&gt;id&lt;/code&gt; field in PSE instead of the Sitecore ID?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the shortened code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -Path $root -Language * | Show-ListView -Property Id,Description&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="630" LastEditorUserId="73" LastEditDate="2017-07-27T11:05:49.403" LastActivityDate="2017-07-27T11:05:49.403" Title="Show-Listview shows Item Id instead of Field Id" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4227" PostTypeId="1" AcceptedAnswerId="4251" CreationDate="2017-02-06T09:57:54.113" Score="1" ViewCount="259" Body="&lt;p&gt;We are setting up a new production environment which utilizes the new Sitecore Email Cloud (Sparkpost and EXM 3.4). Our hosting vendor does not allow us to open for all traffic on port 587, so we need a hostname and/or an IP range to open. I have crawled the document but have only found this statement in &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/message_transfer_agent/set_up_the_message_transfer_agent_mta&quot; rel=&quot;nofollow noreferrer&quot;&gt;doc.sitecore.net&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure the firewall on your server does not block the following&#xA;URL's: &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://apps.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://apps.sitecore.net&lt;/a&gt; &lt;/li&gt;&#xA;&lt;li&gt;smtp.sitecore.sparkpostelite.com&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sparkpost.cloud.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sparkpost.cloud.sitecore.net&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.sparkpostelite.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.sparkpostelite.com/&lt;/a&gt; &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open port 587 to support the&#xA;Transport Layer Security (TLS). TLS is required by Sitecore MTA to&#xA;send email messages.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;From the above it seems that I need to open up for all traffic to port 587, not only for the specific 4 URLs.&lt;/p&gt;&#xA;" OwnerUserId="758" LastActivityDate="2018-04-26T13:22:33.653" Title="What is the IP range of Sitecore Email Cloud (port 587)" Tags="|exm|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4228" PostTypeId="2" ParentId="4226" CreationDate="2017-02-06T10:05:28.260" Score="5" Body="&lt;p&gt;Using the &quot;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Show-ListView.html#example-2&quot;&gt;Name/Expression scheme&quot;&lt;/a&gt; I was able to retrieve the field just like in C#. This gets the correct field value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -Path $root -Language * | Show-ListView -Property `&#xA;                 @{Label=&quot;Id&quot;; Expression={$_.Fields[&quot;Id&quot;].Value}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="630" LastActivityDate="2017-02-06T10:05:28.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4229" PostTypeId="1" AcceptedAnswerId="4636" CreationDate="2017-02-06T10:25:09.237" Score="0" ViewCount="488" Body="&lt;p&gt;i want to process certain operation at 'httprequestbegin' pipeline in live web page (CM or CD) i.e. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;notequals to PageEditor, &lt;/li&gt;&#xA;&lt;li&gt;notequals to ExperienceEditor,&lt;/li&gt;&#xA;&lt;li&gt;notequals to ContentEditor,&lt;/li&gt;&#xA;&lt;li&gt;notequals to Preview&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After some analysis &amp;amp; references from this link &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2807/most-reliable-way-to-detect-if-running-in-live-site&quot;&gt;Most reliable way to detect if running in live site?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code snippet looks like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Context.PageMode.IsNormal &#xA;&amp;amp;&amp;amp; !Sitecore.Context.Site.Name.ToLower.Equals(&quot;shell&quot;))&#xA;{&#xA;//Do task here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&#xA;since we have default websites like shell,login,services,scheduer,system etc, do i need to include all the sites in the above&#xA;condition to get out of default websites provided by sitecore. I have noticed 'service' website is triggering a request which would bypass the above condition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any inputs on this please.&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-02-28T04:56:42.107" Title="'httprequestbegin' pipeline in live web page" Tags="|configuration|experience-editor|pipelines|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4230" PostTypeId="2" ParentId="1605" CreationDate="2017-02-06T10:27:56.953" Score="0" Body="&lt;p&gt;After un- and re-installing the newest versions of Glass.Mapper.Sc &amp;amp; Glass.Mapper.Sc.Core package and removing all older versions &amp;amp; configs it worked for me.&#xA;Watch out for any custom code or configs not getting lost in the process.&lt;/p&gt;&#xA;" OwnerUserId="1483" LastActivityDate="2017-02-06T10:27:56.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4231" PostTypeId="2" ParentId="4229" CreationDate="2017-02-06T11:09:36.477" Score="3" Body="&lt;p&gt;You may add the following settings in a configuration file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;    &amp;lt;!-- Sites to ignore by custom processors --&amp;gt;&#xA;    &amp;lt;setting name=&quot;SitesToIgnoreByCustomProcessors&quot; value=&quot;shell,login,admin,service,scheduler,system,publisher,modules_shell,modules_website&quot;/&amp;gt;&#xA;    &amp;lt;setting name=&quot;LinksToIgnoreByCustomProcessors&quot; value=&quot;-/media/,~/media/,/layouts/system/visitoridentification,/api/sitecore,-/speak,-/item,/sitecore&quot;/&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All the sites and links that you do not want to process can be included in the above settings. The you perform a check as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var settings = Settings.GetSetting(&quot;SitesToIgnoreByCustomProcessors&quot;, string.Empty)&#xA;            .ToLowerInvariant()&#xA;            .Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries)&#xA;            .ToList&amp;lt;string&amp;gt;();&#xA;&#xA;//Request to perform when site is not Equal to sitecore default sites. (EDITED)&#xA;    if (Sitecore.Context.PageMode.IsNormal &amp;amp;&amp;amp; !settings.Contains(Context.Site.Name.ToLowerInvariant()))&#xA;    {&#xA;        //Do task here&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="891" LastEditDate="2017-02-06T12:32:04.510" LastActivityDate="2017-02-06T12:32:04.510" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4232" PostTypeId="2" ParentId="4229" CreationDate="2017-02-06T12:28:25.237" Score="2" Body="&lt;p&gt;All the internal sites have domain property set to &lt;code&gt;sitecore&lt;/code&gt; so you could check the domain property of the context site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Context.Site.Domain != Sitecore.Security.Domains.Domain.GetDomain(&quot;sitecore&quot;))&#xA;{&#xA;    // [Do stuff here]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find &lt;a href=&quot;https://stackoverflow.com/a/21202662/661447&quot;&gt;more details on this previous answer&lt;/a&gt; from @Trayek. Also note the extension method in the other answer from @MartinDavies&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-02-06T12:28:25.237" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4233" PostTypeId="2" ParentId="9095" CreationDate="2017-02-06T14:24:54.853" Score="7" Body="&lt;ol&gt;&#xA;&lt;li&gt;The Solr Master instance should have all cores/sitecore indexes used by your Sitecore environment configured as it is the only instance that will be writing to the cores. If you are not using a specific feature in Sitecore that has indexes, such as FXM, you should be fine not setting up the Solr core for it as long as the feature's configuration files are disabled.&lt;/li&gt;&#xA;&lt;li&gt;For replication to the Solr Slave instances, you'll want to setup replication for any core that is needed for the Sitecore server/role that is pointing to the solr slave instance. You'll want to go through the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/server_configuration_resources&quot; rel=&quot;noreferrer&quot;&gt;Configuration enable/disable excel&lt;/a&gt; spreadsheet to get the full list of indexes for your specific version. If only your Content Delivery boxes are pointing to the Solr Slave instance, then only indexes that are required for the Content Delivery instance need to be replicated over.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Note that you will want to update the index strategies for each index on the Content Delivery instance to be manual. The indexes won't be able to rebuild as the Solr Slave instance is read-only. Should prevent any unnecessary processing and error log entries as it would fail to rebuild.&lt;/p&gt;&#xA;" OwnerUserId="731" LastEditorUserId="731" LastEditDate="2017-02-07T14:47:46.343" LastActivityDate="2017-02-07T14:47:46.343" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4234" PostTypeId="1" AcceptedAnswerId="4236" CreationDate="2017-02-06T14:45:18.423" Score="0" ViewCount="3566" Body="&lt;p&gt;I have a template configured for two devices. Each device has its own type of rendering, but they share the same data source item. Each instance of the page template will have the following structure in the content tree:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;- Page (with 2 devices)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;- - Data source item (device renderings point at this)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These items will by added to the tree via a branch, grouping them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Against the template's standard values, I'm trying to set the Data source property of the renderings relative to the Page, i.e. &lt;code&gt;./&amp;lt;Data source item name&amp;gt;&lt;/code&gt; but this doesn't work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a query syntax I can use to get the relative path? &lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2017-02-06T15:06:25.583" Title="Set relative datasource for rendering" Tags="|presentation|datasource|sitecore-query|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="4235" PostTypeId="2" ParentId="4234" CreationDate="2017-02-06T15:06:02.577" Score="0" Body="&lt;p&gt;You can only use a relative Data Source on items in the Content tree, not on the template definition itself. A reason for this is that you'll never know where that particular item is placed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: And with 'items' I mean renderings on items.&lt;/p&gt;&#xA;" OwnerUserId="828" LastActivityDate="2017-02-06T15:06:02.577" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4236" PostTypeId="2" ParentId="4234" CreationDate="2017-02-06T15:06:25.583" Score="7" Body="&lt;p&gt;I'm going to try and make this &lt;em&gt;not&lt;/em&gt; a link only answer.&lt;/p&gt;&#xA;&lt;p&gt;What you are trying will not work because the renderings fields (shared and final) want to store the &lt;code&gt;ID&lt;/code&gt; of the data source item. If you just type in a path to an item that does not exist, it will not be able to work out an &lt;code&gt;ID&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If you want to make sure that Datasources are set when the item is created, a better way would be to use a Branch Template. This way you can have your datasource items created at the same time as you create your page item.&lt;/p&gt;&#xA;&lt;h3&gt;Use a Branch Template&lt;/h3&gt;&#xA;&lt;p&gt;So create your structure in the branch template area, and create all your datasource items, pointing the rendering datasources at the branch template/page/. You would get something like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Branch Templates&#xA;    - $name&#xA;        - Page Item&#xA;            - Data Source Content 1&#xA;            - Data Source Content 2&#xA;            - etc...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Good so far...&lt;/p&gt;&#xA;&lt;h3&gt;Fix Up Sitecore&lt;/h3&gt;&#xA;&lt;p&gt;Now we need to fix Sitecore - because when Sitecore creates the items from the branch templates, it will keep the original ID's of the items from the branch template location.&lt;/p&gt;&#xA;&lt;p&gt;Fortunately there is already a fix for that. @Kamsar wrote up a nice fix here for &lt;a href=&quot;http://kamsar.net/index.php/2016/03/Branch-Datasource-Presets/&quot; rel=&quot;noreferrer&quot;&gt;Branch Datasource Presets&lt;/a&gt;. This modifies the &lt;code&gt;addFromTemplate&lt;/code&gt; pipeline from the &lt;code&gt;itemProvider&lt;/code&gt; group. I will include the code here so this doesn't become a link only answer. All credit for code goes to @Kamsar.&lt;/p&gt;&#xA;Configuration changes:&#xA;&lt;pre&gt;&lt;code&gt;﻿&amp;lt;!-- Add this to App_Config/Include to enable branch presets --&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;group name=&amp;quot;itemProvider&amp;quot; groupName=&amp;quot;itemProvider&amp;quot;&amp;gt;&#xA;                &amp;lt;pipelines&amp;gt;&#xA;                    &amp;lt;addFromTemplate&amp;gt;&#xA;                        &amp;lt;processor type=&amp;quot;BranchPresets.AddFromBranchPreset, BranchPresets&amp;quot; /&amp;gt;&#xA;                    &amp;lt;/addFromTemplate&amp;gt;&#xA;                &amp;lt;/pipelines&amp;gt;&#xA;            &amp;lt;/group&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And this is the code that gets run to fix the datasource locations:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class AddFromBranch : Sitecore.Pipelines.ItemProvider.AddFromTemplate.AddFromTemplateProcessor&#xA;{&#xA;    public override void Process(AddFromTemplateArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        if (args.Destination.Database.Name != &amp;quot;master&amp;quot;) return;&#xA;&#xA;        var templateItem = args.Destination.Database.GetItem(args.TemplateId);&#xA;&#xA;        Assert.IsNotNull(templateItem, &amp;quot;Template did not exist!&amp;quot;);&#xA;&#xA;        // if this isn't a branch template, we can use the stock behavior&#xA;        if (templateItem.TemplateID != TemplateIDs.BranchTemplate) return;&#xA;&#xA;        Assert.HasAccess((args.Destination.Access.CanCreate() ? 1 : 0) != 0, &amp;quot;AddFromTemplate - Add access required (destination: {0}, template: {1})&amp;quot;, args.Destination.ID, args.TemplateId);&#xA;&#xA;        // Create the branch template instance&#xA;        Item newItem = args.Destination.Database.Engines.DataEngine.AddFromTemplate(args.ItemName, args.TemplateId, args.Destination, args.NewId);&#xA;&#xA;        // find all rendering data sources on the branch root item that point to an item under the branch template,&#xA;        // and repoint them to the equivalent subitem under the branch instance&#xA;        RewriteBranchRenderingDataSources(newItem, templateItem);&#xA;&#xA;        // now go through all descendants to translate their data sources&#xA;        var newItemDescendants = newItem.Axes.GetDescendants();&#xA;        for (int i = 0; i &amp;lt; newItemDescendants.Length; i++)&#xA;        {&#xA;            RewriteBranchRenderingDataSources(newItemDescendants[i], templateItem);&#xA;        }&#xA;&#xA;        args.Result = newItem;&#xA;    }&#xA;&#xA;    protected virtual void RewriteBranchRenderingDataSources(Item item, BranchItem branchTemplateItem)&#xA;    {&#xA;        string branchBasePath = branchTemplateItem.InnerItem.Paths.FullPath;&#xA;&#xA;        LayoutHelper.ApplyActionToAllRenderings(item, rendering =&amp;gt;&#xA;        {&#xA;            if (string.IsNullOrWhiteSpace(rendering.Datasource))&#xA;                return RenderingActionResult.None;&#xA;&#xA;                // note: queries and multiple item datasources are not supported&#xA;                var renderingTargetItem = item.Database.GetItem(rendering.Datasource);&#xA;&#xA;            if (renderingTargetItem == null)&#xA;                Log.Warn(&amp;quot;Error while expanding branch template rendering datasources: data source {0} was not resolvable.&amp;quot;.FormatWith(rendering.Datasource), this);&#xA;&#xA;                // if there was no valid target item OR the target item is not a child of the branch template we skip out&#xA;                if (renderingTargetItem == null || !renderingTargetItem.Paths.FullPath.StartsWith(branchBasePath, StringComparison.OrdinalIgnoreCase))&#xA;                return RenderingActionResult.None;&#xA;&#xA;            var relativeRenderingPath = renderingTargetItem.Paths.FullPath.Substring(branchBasePath.Length).TrimStart('/');&#xA;            relativeRenderingPath = relativeRenderingPath.Substring(relativeRenderingPath.IndexOf('/')); // we need to skip the &amp;quot;/$name&amp;quot; at the root of the branch children&#xA;&#xA;                var newTargetPath = item.Paths.FullPath.Replace(&amp;quot;Home&amp;quot;, &amp;quot;&amp;quot;).Replace(&amp;quot;Global&amp;quot;, &amp;quot;&amp;quot;).TrimEnd('/') + relativeRenderingPath;&#xA;&#xA;            var newTargetItem = item.Database.GetItem(newTargetPath);&#xA;&#xA;                // if the target item was a valid under branch item, but the same relative path does not exist under the branch instance&#xA;                // we set the datasource to something invalid to avoid any potential unintentional edits of a shared data source item&#xA;                if (newTargetItem == null)&#xA;            {&#xA;                rendering.Datasource = &amp;quot;INVALID_BRANCH_SUBITEM_ID&amp;quot;;&#xA;                return RenderingActionResult.None;&#xA;            }&#xA;&#xA;            rendering.Datasource = newTargetItem.ID.ToString();&#xA;            return RenderingActionResult.None;&#xA;        });&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;There is a bit more to the code, so please get it from @Kamsar's blog post and github repo.&lt;/p&gt;&#xA;&lt;p&gt;This should get you where you want to be with presetting the datasource items relative to the page item.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-06T15:06:25.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4237" PostTypeId="1" CreationDate="2017-02-06T15:45:59.343" Score="3" ViewCount="1855" Body="&lt;p&gt;We are using Sitecore 8.1 to develop an Enterprise-level Website, this site receives around 1/2 million users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a user dashboard and other details that the visitor can see after login, and they can browse protected pages and edit their details like any normal account.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it a good idea to keep user details in Session (InProc) and check a session value if they want to access protected pages or we can use Sitecore's Virtual User concept?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which approach should we take in terms of scalability, security and performance?&lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="73" LastEditDate="2017-02-06T19:04:00.977" LastActivityDate="2017-02-07T03:40:09.423" Title="Sitecore virtual user vs Session" Tags="|security|session-state|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4238" PostTypeId="2" ParentId="3826" CreationDate="2017-02-06T16:31:22.913" Score="3" Body="&lt;p&gt;You need to overwrite (create a new) &lt;strong&gt;AddRendering&lt;/strong&gt; command. As you can read &lt;a href=&quot;https://ggullentops.blogspot.be/2017/02/preventing-sitecore-select-datasource-dialog.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; the dialog is opened in that command and the only way to really change the logic there is create you own. As shown in the blog, it can be done but be careful when upgrading as you need to &quot;copy&quot; some Sitecore code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The trick is to send a WebEditResponse with the correct parameters: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WebEditResponse.Eval(FormattableString.Invariant(&#xA;    $&quot;Sitecore.PageModes.ChromeManager.handleMessage('chrome:placeholder:controladded', &#xA;          {{ id: '{itemNotNull.ID.Guid.ToString(&quot;N&quot;).ToUpperInvariant()}', &#xA;             openProperties: {flag.ToString().ToLowerInvariant()}, &#xA;             dataSource: '{datasourceItem.ID.Guid.ToString(&quot;B&quot;).ToUpperInvariant()}' }});&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-06T16:31:22.913" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4239" PostTypeId="2" ParentId="4237" CreationDate="2017-02-06T16:49:30.887" Score="2" Body="&lt;p&gt;You should definitely not be using InProc session, as @RichardSeal mentioned.  Further, you need to clarify whether the site has 500k named users, or just takes 500k visitors per month.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming the former (500k named users), you may want to look at virtual users because ASP.NET's authorisation and profile subsystems may not gracefully handle a volume this large.  You could customise an approach to address that, however.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either way, you are going to need session-state to keep your user logged in from one page load to the next or invent a token-based system that you can round-trip.  Use of session-state is one of the biggest causes of performance and scalability issues, but the alternative is non-trivial.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you get 500k visitors to the site, but only have a few thousand named users, you should have no trouble with Sitecore's out of the box solution.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-02-06T16:49:30.887" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4240" PostTypeId="2" ParentId="4227" CreationDate="2017-02-06T17:33:18.943" Score="1" Body="&lt;p&gt;The Sitecore documentation is referring to outgoing traffic from your server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to open port 587 for outgoing traffic only. You can leave this port closed for incoming traffic.&lt;/p&gt;&#xA;" OwnerUserId="1399" LastActivityDate="2017-02-06T17:33:18.943" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4242" PostTypeId="1" CreationDate="2017-02-06T18:15:49.507" Score="0" ViewCount="345" Body="&lt;p&gt;I'm trying to get the most popular pages by language &amp;amp; site for Sitecore 8.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This one I could find, is for an older version and the table names have changed since then.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string query = string.Format(&#xA;&#xA;&quot;SELECT TOP {0} ItemId, count(*) as cnt, MultiSite&#xA;&#xA;FROM Pages&#xA;&#xA;INNER JOIN Visits ON Pages.VisitId = Visits.VisitId&#xA;&#xA;WHERE DateTime &amp;gt; DATEADD(DAY, -{1}, GETDATE()) AND MultiSite = '{2}'&#xA;&#xA;GROUP BY ItemId, MultiSite&#xA;&#xA;ORDER BY cnt DESC&quot;,&#xA;&#xA;numberOfItems, timespan, siteName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also in the 8.0 DB, the &quot;Items&quot; table does not have any mappings for Site/language. Could someone please help me with the right query.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-02-07T08:18:58.807" Title="How to get popular pages by language and site" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4244" PostTypeId="2" ParentId="4237" CreationDate="2017-02-07T03:40:09.423" Score="3" Body="&lt;p&gt;We have a similar requirement (1/2 million named users) and went the method of sitecore virtual users, and then assigning a specific sitecore role when they are authenticated. You can then authorise which sitecore items (pages) the role has access to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd also suggest you look into implementing your own membership provider, however it does add complexity.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2017-02-07T03:40:09.423" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4245" PostTypeId="1" AcceptedAnswerId="4246" CreationDate="2017-02-07T06:44:38.853" Score="1" ViewCount="1884" Body="&lt;p&gt;&lt;strong&gt;Controller:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class RotatorController : SitecoreController &#xA;{&#xA;  public ActionResult Index()&#xA;  {&#xA;    var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;    var dataSource = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;&#xA;    var viewModel = new RotatorViewModel&#xA;    {&#xA;      RotatorItems = dataSource.Children&#xA;    };&#xA;    return View(viewModel);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View Model:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class RotatorViewModel&#xA;{&#xA;  public IEnumerable&amp;lt;Item&amp;gt; RotatorItems { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@model RotatorViewModel &#xA;&#xA;&amp;lt;h1&amp;gt;Products List&amp;lt;/h1&amp;gt;&#xA;@foreach (var item in Model.RotatorItems)&#xA;{&#xA;  &amp;lt;h2&amp;gt;@item.Fields[&quot;Title&quot;]&amp;lt;/h2&amp;gt;&#xA;      @item.Fields[&quot;Image&quot;]&#xA;      @item.Fields[&quot;Description&quot;]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;my doubt is:&lt;/strong&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the description(discription is  a field) is of type table....but in webpage it is renderd as tags&#xA;and also for the image&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Sz9Ec.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Sz9Ec.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;can anyone help me with this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XrzPP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XrzPP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1492" LastEditorUserId="73" LastEditDate="2017-02-07T09:49:48.977" LastActivityDate="2020-01-24T07:23:45.323" Title="How to render all fields from a datasource containing items with title,image,description fields using controller rendering" Tags="|mvc|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4246" PostTypeId="2" ParentId="4245" CreationDate="2017-02-07T07:47:19.567" Score="3" Body="&lt;p&gt;I suggest you use Sitecore's MVC equivalent of a FieldRenderer (more information can be found here: &lt;a href=&quot;http://sitecore-community.github.io/docs/sitecore-mvc/rendering-content/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/sitecore-mvc/rendering-content/&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RotatorViewModel &#xA;&#xA;&amp;lt;h1&amp;gt;Products List&amp;lt;/h1&amp;gt;&#xA;@foreach (var item in Model.RotatorItems)&#xA;{&#xA;  &amp;lt;h2&amp;gt;@Html.Sitecore().Field(&quot;Title&quot;, item)&amp;lt;/h2&amp;gt;&#xA;      @Html.Sitecore().Field(&quot;Image&quot;, item)&#xA;      @Html.Sitecore().Field(&quot;Description&quot;, item)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will make sure that all your fields output the proper HTML tags. I advise against outputting it manually, even using &lt;code&gt;@Html.Raw(item.Fields[&quot;Description&quot;])&lt;/code&gt; for the html formatted content as you're not expanding links in this case.&lt;/p&gt;&#xA;" OwnerUserId="220" LastActivityDate="2017-02-07T07:47:19.567" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4247" PostTypeId="2" ParentId="4242" CreationDate="2017-02-07T08:18:58.807" Score="1" Body="&lt;p&gt;I'd have a look at the &lt;code&gt;Fact_Traffic&lt;/code&gt; table. It seems to contain all the data you're looking for (Site, Item, Language and Visits) and according to the documentation (which can be found here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/reporting_database_reference&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/reporting_database_reference&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Fact_Traffic table contains statistical data about interactions. The Fact_Traffic table is optimized for inserts and date range queries.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It does seem like the &lt;code&gt;Fact_PageViewsByLanguage&lt;/code&gt; has been added only since 8.1. &lt;/p&gt;&#xA;" OwnerUserId="220" LastActivityDate="2017-02-07T08:18:58.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4248" PostTypeId="1" AcceptedAnswerId="4249" CreationDate="2017-02-07T09:00:15.743" Score="1" ViewCount="74" Body="&lt;p&gt;Does Sitecore Campaign Creator come by default with Sitecore? Or does it need to be installed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The option doesn't appear on the launchpad with Sitecore 8.0 (rev. 150812). Does come with installation from a specific version? Does it &lt;a href=&quot;https://dev.sitecore.net/Downloads/Campaign_Creator_module/10/Sitecore_Campaign_Creator_module.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;need to be installed&lt;/a&gt; with my version?&lt;/p&gt;&#xA;" OwnerUserId="120" LastActivityDate="2017-02-07T09:28:06.667" Title="Sitecore Campaign Creator installation" Tags="|module|campaigncreator|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4249" PostTypeId="2" ParentId="4248" CreationDate="2017-02-07T09:28:03.193" Score="1" Body="&lt;p&gt;Sitecore Campaign Creator is included out of the box starting from Sitecore 8.1 Initial Release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Sitecore 8.0, you will have to install the Campaign Creator as a separate module. The earliest version you can install it on is Sitecore 8.0 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, Sitecore 8.0 Update 5 is used, so you will need to install &lt;a href=&quot;https://dev.sitecore.net/Downloads/Campaign_Creator_module/10/Sitecore_Campaign_Creator_module.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;the package&lt;/strong&gt;&lt;/a&gt; to be able to use Sitecore Campaign Creator.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-02-07T09:28:03.193" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4250" PostTypeId="2" ParentId="4248" CreationDate="2017-02-07T09:28:06.667" Score="1" Body="&lt;p&gt;The Campaign Creator must be run on Sitecore Experience Platform 8.0 update 2 or higher (which is ok in your case).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The release notes of Sitecore 8.1 (initial) mention:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Integrated Campaign Creator&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So from 8.1 onwards, the module will be installed by default. For older versions, you will need to install it yourself as originally:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Campaign Creator is available as an optional module&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-07T09:28:06.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4251" PostTypeId="2" ParentId="4227" CreationDate="2017-02-07T11:09:43.573" Score="2" Body="&lt;p&gt;port 587 will only apply to the smtp.sitecore.sparkpostelite.com machine; https is port 443.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-02-07T11:09:43.573" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4252" PostTypeId="1" AcceptedAnswerId="4253" CreationDate="2017-02-07T11:57:25.403" Score="2" ViewCount="329" Body="&lt;p&gt;How to get back to master database location in sitecore powershell console when there is an exception while executing script. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We all know that default location when we open sitecore powershell console would be 'PS master' &lt;a href=&quot;https://i.stack.imgur.com/b60Vr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b60Vr.png&quot; alt=&quot;Default location of sitecore PS console&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the above snapshot when we have an exception in the console it returns to specific drive &amp;amp; how do we get back to master DB location from here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every time when i get this error i would close &amp;amp; open powershell console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any inputs on this please.&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="95" LastEditDate="2017-08-13T01:16:05.583" LastActivityDate="2017-08-13T01:16:05.583" Title="Get back to 'PS master' location in Sitecore powershell console after error" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4253" PostTypeId="2" ParentId="4252" CreationDate="2017-02-07T12:00:09.710" Score="4" Body="&lt;p&gt;Simply use &lt;code&gt;cd&lt;/code&gt; command&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can switch between locations like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;cd c:/&#xA;Get-ChildItem&#xA;&#xA;cd master:&#xA;Get-ChildItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-02-07T12:00:09.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4254" PostTypeId="1" AcceptedAnswerId="4255" CreationDate="2017-02-07T13:11:22.457" Score="2" ViewCount="521" Body="&lt;p&gt;I restored databases from production to Test environment. After that index's are not working with OnPublishEnd strategy. Could you please help me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have truncated History,EventQueue and PublishingQueue tables. I confirmed Event Queues enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever publish item it gets update on web db but not showing on search results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen below message in logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Event Queue is empty. Incremental update returns&lt;/p&gt;&#xA;" OwnerUserId="1155" LastActivityDate="2017-02-07T14:18:45.717" Title="Index are not updating after db restore" Tags="|indexing|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4255" PostTypeId="2" ParentId="4254" CreationDate="2017-02-07T14:18:45.717" Score="3" Body="&lt;p&gt;Here is a &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/index_update_strategies&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt; with a detailed explanation on indexing strategies and best practices.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Considering the description of the issue you are saying you should always, when copying over indexes from one server to the other make sure that the new server has the indexed rebuilt at least once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that doesn't address your issue you can use the powershell module or the &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/using-luke-to-understand-sitecore-7-search&quot; rel=&quot;nofollow noreferrer&quot;&gt;Luke tool&lt;/a&gt; to review the content of the indexes and compare them. For example you have the content you want on the master but not on the web indexes. That most likely means you are having an indexing issue(considering that content is properly published and indexed but still doesn't show).&#xA;You might also want to check on the logs folders the publishing logs. They show you what's going on. For example if Sitecore skipped the publishing you can easily determine it by looking at those logs.&#xA;Hope this helps you&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-02-07T14:18:45.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4256" PostTypeId="1" AcceptedAnswerId="4257" CreationDate="2017-02-07T15:06:01.667" Score="3" ViewCount="82" Body="&lt;p&gt;While upgrading sitecore from 7.5 to 8.0.&#xA;I am facing following error. It seems to be related to solr. Is there something I am missing here?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KBUmE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KBUmE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1498" LastActivityDate="2017-02-07T15:10:04.743" Title="Error while upgrading sitecore from 7.5 to 8.0" Tags="|solr|upgrade|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4257" PostTypeId="2" ParentId="4256" CreationDate="2017-02-07T15:10:04.743" Score="3" Body="&lt;p&gt;To resolve this error, download solr support package and add dlls and follow steps to upgrade solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can download this from here - &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_0.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_0.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should help you.&lt;/p&gt;&#xA;" OwnerUserId="251" LastActivityDate="2017-02-07T15:10:04.743" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4258" PostTypeId="1" AcceptedAnswerId="4393" CreationDate="2017-02-07T16:30:09.267" Score="0" ViewCount="563" Body="&lt;p&gt;I am working with WFFM 8.1 U3 and one of the requirements was to support placeholder text on a single field (subscribe) form that is being pulled on the footer of my site. For this I have set that field type to single line text, set the form type to inline and treated the title as my placeholder text. now this worked a treat until I've tested the field with a string that does not match the validation (invalid email format) only to see the error message being thrown twice on my screen. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to compare it to a working version or even to override the duplicate message with a snippet of script however WFFM seems to generate those with dynamic ID's making it impossible to pin that bogus duplicate down. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how the error looks like: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UhpL5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UhpL5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is the Markup of the original correct message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;span class=&quot;help-block sr-only field-validation-error&quot; data-valmsg-for=&quot;wffm1157284166e046ff9a8421f045ffa3dc.Sections[0].Fields[0].Value&quot; data-valmsg-replace=&quot;true&quot;&amp;gt;&amp;lt;span id=&quot;wffm1157284166e046ff9a8421f045ffa3dc_Sections_0__Fields_0__Value-error&quot; class=&quot;&quot;&amp;gt;The value of the Email field is not valid.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Duplicate message in a separate &lt;code&gt;div&lt;/code&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;popover fade left in&quot; id=&quot;popover324467&quot; style=&quot;top: -84.0938px; left: -255px; display: block; position: relative;&quot;&amp;gt;&amp;lt;div class=&quot;arrow&quot; style=&quot;top: 50%;&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;popover-inner&quot;&amp;gt;&amp;lt;div class=&quot;popover-content&quot;&amp;gt;The value of the Email field is not valid.&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas or suggestion how to overcome this would be appreciated. &lt;/p&gt;&#xA;" OwnerUserId="324" LastEditorUserId="324" LastEditDate="2017-02-07T16:38:16.853" LastActivityDate="2017-02-14T10:01:28.283" Title="WFFM email validation outputs duplicate error message" Tags="|wffm|mvc|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4260" PostTypeId="1" CreationDate="2017-02-07T19:43:02.067" Score="0" ViewCount="262" Body="&lt;p&gt;I'm new in Sitecore and I need to know how to manage the styling and javascript files for the controls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a control that can be many times on the website, so if I place the bundle on the &lt;code&gt;cshtml&lt;/code&gt; view, the bundle will be repeated the times the control is on the page. This takes me to place the bundle on the main view, but if I do that and the control is not on the page, the bundle will be load without any use of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's the best approach to manage this?&lt;/p&gt;&#xA;" OwnerUserId="1462" LastEditorUserId="4050" LastEditDate="2020-01-20T12:33:55.440" LastActivityDate="2020-01-20T12:33:55.440" Title="Loading specific stylesheets and css (bundling) depending on included controls?" Tags="|best-practices|bundling|" AnswerCount="1" CommentCount="0" ClosedDate="2017-02-07T20:48:22.033" ContentLicense="CC BY-SA 4.0" />
  <row Id="4261" PostTypeId="2" ParentId="2821" CreationDate="2017-02-07T19:43:29.807" Score="4" Body="&lt;p&gt;The best way to do this is for each element on the page to be a separate rendering with its own data source item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page item should have minimal content from its own fields. Things like the Title and Meta, include in sitemap or robots.txt rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a rendering is added to a page (Can be as simple as a single 'content' placeholder in the main Layout) the datasource can be selected or created at that time. Renderings can include their own inner placeholders to provide more flexibility. I would recommend using Dynamic Placeholders in these cases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your data is organized into template specific folders and your renderings have the appropriate Data Source Template and Data Source Location values, this operation is actually pretty smooth. Workflow of rendering data source items can be managed with this module: &lt;a href=&quot;https://marketplace.sitecore.net/Modules/D/Data_Source_Workflow_Module.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/D/Data_Source_Workflow_Module.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also set up my renderings with some extra help text or formatting when Sitecore.Context.PageMode.IsExperienceEditorEditing == true so it is easier to edit a newly created item within Experience Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also set the presentation of the page template standard values to give it some default renderings and data sources.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-02-07T19:43:29.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4262" PostTypeId="2" ParentId="2428" CreationDate="2017-02-07T19:46:23.350" Score="5" Body="&lt;p&gt;While investigating this issue when I hit it during an upgrade, my debugging discovered that this was caused by a bug in the PortectedImageLinkRenderer class which cannot handle empty &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tags. In my scenario, I had some HTML in the rich text field as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a&amp;gt;Some Text Here&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the pipeline tried to process the 'HREF' tag of the anchor, it couldn't find it but the algorithm didn't safely handle this scenario, leading to the exception above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to patch in my own version of the ProtectedImageLinkRenderer which handled the empty tags and it resolved the issue. @Velict, you may wish to do the same if you need to have empty tags. Alternatively, you can add an HREF tag to your empty anchors and it will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also submitted a support ticket to Sitecore, referencing 8.2 update 2, to request an official patch. I'll update this answer if I hear back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; I don't have an official patch yet, but my debugging to help the support desk did uncover that this requires a very specific combination. The HTML must have an empty tag and ALSO a media link that needs to be processed. Either of them on their own is fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following HTML example can reproduce the issue in a default Sitecore 8.2 u2 installation by editing the 'Text' field of the default Home node:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;&amp;lt;a&amp;gt;Empty HREF&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;&amp;lt;a href=&quot;-/media/094AED0302E7486880CB19926661FB77.ashx&quot;&amp;gt;Media link&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE (2017-03-01):&lt;/strong&gt; I have received an official support patch for 8.2update 2 for this from Sitecore: &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.149817/releases/tag/8.2.2.0&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.149817/releases/tag/8.2.2.0&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2017-03-01T14:22:46.797" LastActivityDate="2017-03-01T14:22:46.797" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4263" PostTypeId="2" ParentId="4260" CreationDate="2017-02-07T19:56:05.730" Score="0" Body="&lt;p&gt;Include all of your style and script bundles in the Main Layout. Have as few bundles as possible to limit the number of requests that the client needs to make. They will all be cached on the client during the first load and be available wherever they are needed going forward.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-02-07T19:56:05.730" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4264" PostTypeId="1" AcceptedAnswerId="4265" CreationDate="2017-02-07T20:51:30.153" Score="6" ViewCount="3062" Body="&lt;p&gt;Within View Renderings and Controller Renderings (at least) there is a shared field within the Data section called Placeholder.  What exactly is that field used for?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PFwbv.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PFwbv.jpg&quot; alt=&quot;View Rendering fields&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2017-02-07T21:05:32.483" Title="What's the Placeholder field used for in a Rendering?" Tags="|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4265" PostTypeId="2" ParentId="4264" CreationDate="2017-02-07T21:05:32.483" Score="15" Body="&lt;p&gt;It is a default, used when no placeholder key is given upon inserting the rendering onto the page. This can happen both when editing via Content Editor/Presentation Details or as a result of a Conditional Rendering action.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;h1&gt;The Placeholder Rendering Property&lt;/h1&gt;&#xA;&lt;p&gt;The Placeholder rendering property in the Data section of a rendering definition item specifies the&#xA;default placeholder key for the rendering. Sitecore uses the&#xA;Placeholder rendering property as the placeholder key if a user does&#xA;not specify a placeholder key in layout details or if a developer does&#xA;not specify a placeholder key when adding the rendering to layout&#xA;details at runtime using conditional rendering.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/64/presentation_component_reference-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;Presentation Component Reference&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-07T21:05:32.483" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4267" PostTypeId="1" CreationDate="2017-02-08T01:17:40.977" Score="4" ViewCount="353" Body="&lt;p&gt;I've had this question on Sitecore's ATAG compliance when working on an opportunity in my previous agency. Unfortunately i don't have access to the materials and the response was from Sitecore sales and for a much older version of Sitecore than the current (8.2 Update-2).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question is specifically for compliance of Content Management environment (Content Editor, Experience Editor, Analytics Dashboards etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought it was worth asking here on our Sitecore StackExchange to help others if the question crops up on another opportunity.&lt;/p&gt;&#xA;" OwnerUserId="125" LastEditorUserId="73" LastEditDate="2017-02-08T15:09:04.673" LastActivityDate="2017-03-09T09:18:10.040" Title="Sitecore compliance for Authoring Tool Accessibility Guidelines (ATAG)?" Tags="|accessibility|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4269" PostTypeId="1" AcceptedAnswerId="4270" CreationDate="2017-02-08T07:48:01.197" Score="5" ViewCount="291" Body="&lt;p&gt;When upgrading to a new Sitecore version, what is the quickest way to see if support dll's are still needed, apart from removing them and testing if everything still works?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore have a page where I can enter the support number (e.g. 432141) and get a 'fixed in version ...'?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thnx for the help&lt;/p&gt;&#xA;" OwnerUserId="440" LastActivityDate="2021-05-27T15:46:17.400" Title="How can I find out if a support dll is still needed when upgrading?" Tags="|upgrade|support|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4270" PostTypeId="2" ParentId="4269" CreationDate="2017-02-08T08:13:32.983" Score="3" Body="&lt;p&gt;We had the same question when upgrading from Sitecore 7.2 to 8.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best approach is to contact Sitecore Support and provide them the list of patches that you have and ask them if they are still required on the upgraded instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reason is because we may think that it is working fine but at the end it still requires that patch. For example, we had the following patch #457624 on Sitecore 7.2 and it was still required on Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-02-08T08:13:32.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4272" PostTypeId="1" CreationDate="2017-02-08T09:27:55.663" Score="4" ViewCount="1068" Body="&lt;p&gt;Can we use first name in the xDB contact facet and make a search from the UI using an api.&#xA;I dont want to fetch all the users and do a for loop and then search for the user name like in each iteration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone please suggest me a best approach for this. This requirement is for ajax call to fetch all users starting with the text on key press.&lt;/p&gt;&#xA;" OwnerUserId="1333" LastActivityDate="2017-02-08T14:53:33.257" Title="Can we use xDB contact to do a Lookup for users" Tags="|xdb|contact-facets|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4273" PostTypeId="1" AcceptedAnswerId="4293" CreationDate="2017-02-08T10:34:32.737" Score="4" ViewCount="412" Body="&lt;p&gt;I am using Sitecore 8.2 initial release and EXM 4.0.0 rev. 161028 for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am creating an engagement plan and I want to create a rule condition which would say &quot;Has contact opened email with specific EXM messageId&quot;. How can I do that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see there is a page event &quot;Email Opened&quot;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UUOJM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UUOJM.png&quot; alt=&quot;default email opened event&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But does it register the messageId?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can also see that EXM creates an engagement plan for each message and there are states &quot;Message Opened&quot; and &quot;Message Unopened&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zowkm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zowkm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can check if the contact is not in &quot;Message Unopened&quot; state for this message plan, but I guess that is the weird way to do it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone implement that?&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="915" LastEditDate="2017-02-08T11:33:37.073" LastActivityDate="2017-02-08T19:24:45.897" Title="How to check if contact has ever opened specific EXM email?" Tags="|xdb|exm|rules-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4274" PostTypeId="1" CreationDate="2017-02-08T12:14:24.753" Score="4" ViewCount="1461" Body="&lt;p&gt;I am trying to use Glass.Mapper's InferType property. I've read through the tutorial on the Glass &lt;a href=&quot;http://www.glass.lu/mapper/sc/tutorials/tutorial17&quot; rel=&quot;nofollow noreferrer&quot;&gt;website&lt;/a&gt;. I have two alert types that have different markup. They both inherit from the same base class AssetAlert that contains a property that holds the alert message. This code does not work as it is and when I debug it, the type returned is of the base class instead of the appropriate derived class. I have already updated GlassMapperScCustom.cs like the tutorial says. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I confirm that Glass has loaded all of the models from my assembly properly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if that's not the issue, can anyone see anything wrong with my code that might be preventing it from inferring the correct derived class instead of the base class?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Glass.Mapper 4.3.4.196 and Sitecore 8.2 rev. 161115&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have these classes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;FundDetail.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// ReSharper disable once ClassWithVirtualMembersNeverInherited.Global&#xA;[SitecoreType(AutoMap = true, TemplateId = &quot;{1813C6E1-72AD-41B9-9D68-372A843BCCCB}&quot;)]&#xA;public class FundDetail : StandardItem&#xA;{&#xA;    [SitecoreQuery(&quot;./Alerts/*&quot;, IsRelative = true, InferType = true)]&#xA;    public virtual IEnumerable&amp;lt;AssetAlert&amp;gt; AssetAlerts { get; [UsedImplicitly] set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;AssetAlert.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// ReSharper disable once ClassWithVirtualMembersNeverInherited.Global&#xA;[SitecoreType(AutoMap = true, TemplateId = &quot;{607D5F70-D3A5-4690-A2EC-259A4700D2E3}&quot;)]&#xA;public class AssetAlert : StandardItem&#xA;{&#xA;    [SitecoreField(&quot;{0797970F-D9E6-4FB2-86EA-CF271CCA0629}&quot;)]&#xA;    public virtual string Message { get; [UsedImplicitly] set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;AssetUpdateAlert.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{9DAE0D23-6524-4D31-B23E-B4D16E1ADDE0}&quot;)]&#xA;public class AssetUpdateAlert : AssetAlert&#xA;{&#xA;    private const string DictionaryFolder = &quot;/Content Types/Asset Alert/&quot;;&#xA;    public static string Title&#xA;        =&amp;gt; DictionaryPhraseRepository.Current.Get(DictionaryFolder + &quot;Update Title&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;AssetShareholderInformationAlert.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{2B5FB48B-4ED8-4B3A-8D29-AFDF5A3D66FB}&quot;)]&#xA;public class AssetShareholderInformationAlert : AssetAlert&#xA;{&#xA;    private const string DictionaryFolder = &quot;/Content Types/Asset Alert/&quot;;&#xA;    public static string Title&#xA;        =&amp;gt; DictionaryPhraseRepository.Current.Get(DictionaryFolder + &quot;Shareholder Information Title&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;FundDetail.cshtml&lt;/code&gt; (I removed the markup for readability)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Model.AssetAlerts != null)&#xA;{&#xA;    foreach (var alert in Model.AssetAlerts)&#xA;    {&#xA;        @if (alert is AssetUpdateAlert)&#xA;        {&#xA;            @AssetUpdateAlert.Title&#xA;            @Editable(alert, a =&amp;gt; a.Message)&#xA;        }&#xA;        else if (alert is AssetShareholderInformationAlert)&#xA;        {&#xA;            @AssetShareholderInformationAlert.Title&#xA;            @Editable(alert, a =&amp;gt; a.Message)&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1133" LastActivityDate="2017-04-26T10:48:53.163" Title="Trouble with Glass.Mapper InferType property" Tags="|glass-mapper|" AnswerCount="1" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="4275" PostTypeId="1" AcceptedAnswerId="4281" CreationDate="2017-02-08T13:06:50.700" Score="2" ViewCount="1192" Body="&lt;p&gt;I am trying to implement a WFFM form with a terms and conditions style checkbox. I need the title for the checkbox to contain a hyperlink to a terms and conditions page. This doesn't seem to be possible OOTB so I assume some hack must be needed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using MVC and Sitecore 8.2 rev 1 with the corresponding version of WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried entering html tags in the label for the checkbox but that did not work. I  also tried encoding the tags e.g. &lt;code&gt;&amp;amp;lt;a href=&quot;google.com&quot;&amp;amp;gt;t &amp;amp; c's&amp;amp;lt;/a&amp;amp;gt;&lt;/code&gt; but no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My ideas so far are: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use markdown syntax in the title for the checkbox and then add some JavaScript to handle that. (Wouldn't handle Sitecore ID links).&lt;/li&gt;&#xA;&lt;li&gt;Customise the Checkbox field type in WFFM (seems like quite a lot of work).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Has anyone else done this with MVC (I've seen this article &lt;a href=&quot;http://blogs.perficient.com/microsoft/2013/08/sitecore-web-forms-for-marketers-site-terms-agreement/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blogs.perficient.com/microsoft/2013/08/sitecore-web-forms-for-marketers-site-terms-agreement/&lt;/a&gt; but it refers to Sitecore 6.x so not sure it is relevant here?) &lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-02-08T18:40:30.830" Title="WFFM Add hyperlink to a checkbox label" Tags="|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4277" PostTypeId="2" ParentId="4275" CreationDate="2017-02-08T13:32:14.017" Score="1" Body="&lt;p&gt;If have done this for Web Forms variant  WFFM the solution was, a custom Checkbox field, inherits from the normal WFFM checkbox. And use markdown I had something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;a text with [url=/test target=new]link[/url]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And replace it in the control. Works fine but pay attention to validation handeling. In my case it was a mandatory Checkbox. I chose not displaying something like the ... field is mandatory on form submit. Because the label was not replaced at that point.&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2017-02-08T13:32:14.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4278" PostTypeId="2" ParentId="4272" CreationDate="2017-02-08T14:51:06.863" Score="1" Body="&lt;p&gt;First, you'll need to create an index on that field to ensure good query performance. Execute this command from the MongoDB console:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Contacts.ensureIndex({ &quot;Personal.FirstName&quot;: 1 }, { &quot;sparse&quot;: true })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can query the Collection database in your C# code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ConnectionStringSettings connectionStringSettings = ConfigurationManager.ConnectionStrings[&quot;analytics&quot;];&#xA;var url = new MongoUrl(connectionStringSettings.ConnectionString);&#xA;var client = new MongoClient(connectionStringSettings.ConnectionString);&#xA;MongoServer server = client.GetServer();&#xA;&#xA;MongoDatabase database = server.GetDatabase(url.DatabaseName);&#xA;&#xA;string searchName = &quot;Meghan&quot;;&#xA;&#xA;MongoCursor results =&#xA;    database&#xA;        .GetCollection(&quot;Contacts&quot;)&#xA;        .Find(Query.Matches(&quot;Personal.FirstName&quot;, &quot;^&quot; + searchName))&#xA;        .SetFields(&quot;Personal.FirstName&quot;)&#xA;        .SetLimit(10);&#xA;&#xA;foreach (BsonDocument r in results)&#xA;{&#xA;    string firstName = r[&quot;Personal&quot;][&quot;FirstName&quot;].AsString;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that you're getting pretty low-level with this, circumventing the Sitecore API. If the structure of data changes in the future, you'll need to adjust the query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, &lt;strong&gt;never&lt;/strong&gt; change contact objects directly.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-02-08T14:51:06.863" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4279" PostTypeId="2" ParentId="4272" CreationDate="2017-02-08T14:53:33.257" Score="3" Body="&lt;h2&gt;API endpoint&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There is an api route for that (it is being used by exp. profile in fact):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[host]/sitecore/api/ao/v1/contacts/search?&lt;strong&gt;pageSize&lt;/strong&gt;=100&amp;amp;&lt;strong&gt;pageNumber&lt;/strong&gt;=1&amp;amp;&lt;strong&gt;sort&lt;/strong&gt;=visitCount%20desc&amp;amp;match=&lt;strong&gt;john&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This will search for name and email occurances. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;API method&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you want to use your custom controller, you can use the below method from API:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CustomerIntelligenceManager.ContactSearchProvider.Find(new ContactSearchParameters())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Content search&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In case it is required to use more complex queries you can use analytics index as any other to search. You should use &lt;code&gt;Sitecore.ContentSearch.Analytics.Models.IndexedContact&lt;/code&gt; as an Indexable POCO class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;sitecore_analytics_index&quot;).CreateSearchContext())&#xA;{&#xA;     var query = context.GetQueryable&amp;lt;IndexedContact&amp;gt;().Where(c=&amp;gt; c.Firstname.Equals(&quot;John&quot;));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-02-08T14:53:33.257" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4280" PostTypeId="2" ParentId="4258" CreationDate="2017-02-08T15:07:05.037" Score="1" Body="&lt;p&gt;By default it renders a message below the field and on top of the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using MVC you can comment or set &lt;code&gt;display:none&lt;/code&gt; to the following code block in &lt;code&gt;Views/Form/EditorTemplates/FormViewModel.cshtml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    //remove those ugly errors from the top of the form&#xA;    &amp;lt;div style=&quot;display:none&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;has-error has-feedback&quot;&amp;gt;&#xA;            @Html.BootstrapValidationSammary(false)&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-02-08T15:07:05.037" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4281" PostTypeId="2" ParentId="4275" CreationDate="2017-02-08T15:20:36.230" Score="6" Body="&lt;p&gt;We just had the exact same requirements come up and I solved this using a custom field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new field, &lt;code&gt;CheckboxWithHtml&lt;/code&gt; which inherits from the default checkbox and adds a new field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Form.Core.Attributes;&#xA;using Sitecore.Form.Core.Visual;&#xA;&#xA;namespace MyProject.CMS.Custom.WFFM.Fields&#xA;{&#xA;    public class CheckboxWithHtml : Sitecore.Form.Web.UI.Controls.Checkbox&#xA;    {&#xA;        private string _htmlText;&#xA;&#xA;        [VisualCategory(&quot;Appearance&quot;)]&#xA;        [VisualProperty(&quot;Field Text (HTML):&quot;, 400)]&#xA;        [VisualFieldType(typeof(TextAreaField))]&#xA;        [Localize]&#xA;        public string HtmlText&#xA;        {&#xA;            get {&#xA;                return !string.IsNullOrEmpty(_htmlText) ? _htmlText : base.Title;&#xA;            }&#xA;            set&#xA;            {&#xA;                _htmlText = value;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note in the above, I didn't override any render methods. If you want to utilise this for ASP.Net WebForms then you will need to override and provide implementation of these methods to use the new property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next create a model which will be used by MVC. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Forms.Mvc.ViewModels.Fields;&#xA;&#xA;namespace MyProject.CMS.Custom.WFFM.Fields&#xA;{&#xA;    public class CheckboxWithHtmlField : CheckboxField&#xA;    {&#xA;        public string HtmlText { get; set; }&#xA;&#xA;        public string Text&#xA;        {&#xA;            get&#xA;            {&#xA;                return !string.IsNullOrEmpty(HtmlText) ? HtmlText : base.Title;&#xA;            }&#xA;            set&#xA;            {&#xA;                HtmlText = value;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The implementation of this property is the same as before and if &lt;code&gt;HtmlText&lt;/code&gt; is not set, it will fall back to using the default Title property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And finally the view for this field, &lt;em&gt;/Views/Form/EditorTemplates/CheckboxWithHtmlField.cshtml&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.WFFM.Abstractions.Data.Enums&#xA;@using Sitecore.Forms.Mvc.Html&#xA;@model MyProject.CMS.Custom.WFFM.Fields.CheckboxWithHtmlField&#xA;&#xA;@using (Html.BeginField())&#xA;{&#xA;    var cssclass = Model.FormType == FormType.Inline ? &quot;checkbox-inline&quot; : &quot;checkbox&quot;;&#xA;    &amp;lt;div class=&quot;@cssclass&quot;&amp;gt;&#xA;        &amp;lt;label&amp;gt;&#xA;            @Html.CheckBoxFor(x =&amp;gt; Model.Value)&#xA;            @Html.BootstrapText(&quot;Text&quot;)&#xA;        &amp;lt;/label&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to register the field in Sitecore under &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types&lt;/code&gt;. For example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Item Path:&lt;/strong&gt; &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Checkbox with HTML Text&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Template:&lt;/strong&gt;  &lt;code&gt;/sitecore/templates/Web Forms for Marketers/Field Type&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Assembly:&lt;/strong&gt;  &lt;code&gt;MyProject.CMS.Custom&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Class:&lt;/strong&gt;     &lt;code&gt;MyProject.CMS.Custom.WFFM.Fields.CheckboxWithHtml&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;MVC Type:&lt;/strong&gt;  &lt;code&gt;MyProject.CMS.Custom.WFFM.Fields.CheckboxWithHtmlField, MyProject.CMS.Custom&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The field should now be available to select and an additional input box present to allow you to enter your HTML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wUJlg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wUJlg.png&quot; alt=&quot;Custom Checkbox with HTML&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above code is valid for Sitecore 8.1 Update-3. You may need to make some tweaks for Sitecore 8.2.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-02-08T18:40:30.830" LastActivityDate="2017-02-08T18:40:30.830" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4282" PostTypeId="1" AcceptedAnswerId="4283" CreationDate="2017-02-08T15:24:18.500" Score="1" ViewCount="812" Body="&lt;p&gt;Our client would like to do full-text searches within all of their Content (e.g. the values of the Rich Text Fields). Is it possible to enable this within the standard Content Editor search function? If not, is it possible to extend the standard search somehow?&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-02-08T15:33:52.983" Title="How to enable full-text searches within the Content Editor?" Tags="|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4283" PostTypeId="2" ParentId="4282" CreationDate="2017-02-08T15:33:52.983" Score="2" Body="&lt;p&gt;This is the default behaviour. Sitecore will index all fields on Lucene, using the vanilla configuration setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From &lt;code&gt;Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.Config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;fieldTypes hint=&quot;raw:AddFieldByFieldTypeName&quot;&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;attachment&quot;                         storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;checkbox&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;checklist&quot;                          storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;custom&quot;                             storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;datasource&quot;                         storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;date&quot;                               storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.DateTime&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;datetime&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.DateTime&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;droplink&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;droplist&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;droptree&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;file drop area&quot;                     storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;file&quot;                               storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;general link with search&quot;           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;general link&quot;                       storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;grouped droplink&quot;                   storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;grouped droplist&quot;                   storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;icon&quot;                               storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;iframe&quot;                             storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;image&quot;                              storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;integer&quot;                            storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.Int32&quot;    settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;internal link&quot;                      storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;layout&quot;                             storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;link&quot;                               storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;lookup&quot;                             storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;memo&quot;                               storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;multi-line text&quot;                    storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;multilist with search&quot;              storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;multilist&quot;                          storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;name lookup value list&quot;             storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;name value list&quot;                    storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;number&quot;                             storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.Double&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;page preview&quot;                       storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;password&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;profile card value&quot;                 storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;profile cards&quot;                      storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;query datasource&quot;                   storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;reference&quot;                          storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;rendering datasource&quot;               storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;rich text&quot;                          storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;rules&quot;                              storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;security&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;server file&quot;                        storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;single-line text&quot;                   storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;template field source&quot;              storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;text&quot;                               storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;thumbnail&quot;                          storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;tracking&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;tree list&quot;                          storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;tree&quot;                               storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;treelist with search&quot;               storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;treelist&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;treelistex&quot;                         storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;tristate&quot;                           storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;valuelookup&quot;                        storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;word document&quot;                      storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;/fieldTypes&amp;gt;&#xA;      &amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Rich Text fields are included, as you can see. Also (from same configuration):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;!-- This flag will index all fields by default. This allows new fields in your templates to automatically be included into the index.&#xA;           You have two choices : &#xA;&#xA;           1) Set this to 'true' and place all the fields that you would like to remove in the 'ExcludeField' list.&#xA;           2) Set to false and place all fields you would like to be indexed in the 'IncludeField' list below.&#xA;        --&amp;gt;&#xA;        &amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more information, see: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/searching/searching&quot; rel=&quot;nofollow noreferrer&quot;&gt;Searching&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-02-08T15:33:52.983" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4284" PostTypeId="1" AcceptedAnswerId="4285" CreationDate="2017-02-08T16:21:48.440" Score="4" ViewCount="1251" Body="&lt;p&gt;Does Sitecore have built in message queue that supports the batching of messages?  It looks like the event queue only supports single messages being passed to a handler?&lt;/p&gt;&#xA;" OwnerUserId="1061" LastActivityDate="2018-12-07T12:07:29.447" Title="Does Sitecore have a message queue?" Tags="|event-queue|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4285" PostTypeId="2" ParentId="4284" CreationDate="2017-02-08T16:24:58.447" Score="6" Body="&lt;p&gt;Not out of the box. You could theoretically craft something on top of the EventQueue, but I would probably look to third party solutions.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://particular.net/nservicebus&quot; rel=&quot;noreferrer&quot;&gt;https://particular.net/nservicebus&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://azure.microsoft.com/en-us/services/service-bus/&quot; rel=&quot;noreferrer&quot;&gt;https://azure.microsoft.com/en-us/services/service-bus/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Edited to add:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://alwebguy.blogspot.ch/2016/11/enterprise-service-bus-esb-within.html&quot; rel=&quot;noreferrer&quot;&gt;Enterprise Service Bus (ESB) within an environment that includes Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are indications that Sitecore architecure will move in the direction that allows for easier adaptation and implementation of Service Bus technology. Not much is known at this point - even less not under NDA constraints - but Sitecore xConnect was presented at the 2016 symposium. From an architectural point of view, it sits right in the place you would normally think in ESB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zBIm1.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zBIm1.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Image source: &lt;a href=&quot;https://twitter.com/m7mdSyam/status/776887493484511232&quot; rel=&quot;noreferrer&quot;&gt;https://twitter.com/m7mdSyam/status/776887493484511232&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional information; &lt;a href=&quot;https://www.youtube.com/watch?v=k1osLdO5olw&quot; rel=&quot;noreferrer&quot;&gt;Todd Mitchells presentation on xConnect at Symposium 2016&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-02-08T17:56:28.200" LastActivityDate="2017-02-08T17:56:28.200" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4286" PostTypeId="1" AcceptedAnswerId="4288" CreationDate="2017-02-08T16:32:23.020" Score="3" ViewCount="1421" Body="&lt;p&gt;I'm using Sitecore Powershell Extensions to unlock items that have been locked for an extended period of time. The script is stored in the script library:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path master:\content\&#xA;$daysToAllowLock = 5&#xA;$allowedLockDate = (Get-Date).AddDays($daysToAllowLock * -1)&#xA;&#xA;$itemsToUnlock = Get-ChildItem -Path $item.ProviderPath -Recurse -Version * -Language * | Where-Object { $_.__Lock -and (-not ($_.__Lock -match &quot;&amp;lt;r /&amp;gt;&quot;)) -and ($allowedLockDate -gt ([Sitecore.Data.Fields.LockField]($_.Fields[&quot;__Lock&quot;])).Date)}&#xA;&#xA;Write-Log &quot;Unlocking items locked before $allowedLockDate&quot;&#xA;&#xA;&#xA;foreach($item in $itemsToUnlock){&#xA;    $language = $item.Language&#xA;    $path = $item.ItemPath&#xA;    $lockedBy=$item.Locking.GetOwner()&#xA;    $lockedDate = ([Sitecore.Data.Fields.LockField]($item.Fields[&quot;__Lock&quot;])).Date&#xA;    Write-Log &quot;Unlocking item $path [$language]. Locked by $lockedBy on $lockedDate&quot;&#xA;    Unlock-Item -Item $item&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I execute the from Powershell ISE it runs fine and unlocks the items I expect it to unlock. I have it writing log messages to indicate which items are unlocked. For my purposes, I created a scheduled task to execute the script once per day to do the check/unlock. However, when the script executes via the scheduled task it does NOT unlock the items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I check the logs there are no errors related to the task and it logs messages identically as though it is unlocking the items.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #4 11:01:19 INFO  Starting: Unlock items locked for&#xA;  longer than 5 days ManagedPoolThread #4 11:01:19 INFO  Executing a&#xA;  Sitecore PowerShell Extensions script. ManagedPoolThread #4 11:02:14&#xA;  INFO  Unlocking items locked before 02/03/2017 11:01:19&#xA;  ManagedPoolThread #4 11:02:14 INFO  Unlocking item&#xA;  /sitecore/content/Home/TestCategory/Old Item [en]. Locked by&#xA;  sitecore\Admin on 01/08/2017 15:48:51&#xA;  ManagedPoolThread #4 11:02:14 INFO  Ended: Unlock items locked for longer than 5 days&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When I look at the item mentioned in the logs, I can see that it is still locked even though the script was executed successfully. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure why this would happen. My guess is that when the scheduled task executes automatically then perhaps there is some type of permissions issue that is causing the unlock to fail silently. This would add up since executing the script from the admin user context works fine. But that is just guess-work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions to resolve this issue? &lt;/p&gt;&#xA;" OwnerUserId="961" LastActivityDate="2020-04-26T01:28:55.997" Title="Unlocking items via Sitecore PowerShell Extensions scheduled task" Tags="|powershell-extensions|scheduled-tasks|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4287" PostTypeId="2" ParentId="4286" CreationDate="2017-02-08T16:55:11.447" Score="3" Body="&lt;p&gt;It sounds like you are running into a permissions issue. You could try wrapping the whole script in a security disabler like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock(New-Object -TypeName &quot;Sitecore.SecurityModel.SecurityDisabler&quot;){&#xA;    # Add your script here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should prevent any permissions issues.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-02-08T16:55:11.447" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4288" PostTypeId="2" ParentId="4286" CreationDate="2017-02-08T17:02:51.843" Score="5" Body="&lt;p&gt;If a trick with security disabler will not work you could try this&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$admin = [Sitecore.Security.Accounts.User]::FromName(&quot;sitecore\some_admin_account&quot;, $false)&#xA;[Sitecore.Security.Accounts.UserSwitcher]::Enter($admin)&#xA;&#xA;# YOUR CODE HERE&#xA;&#xA;[Sitecore.Security.Accounts.UserSwitcher]::Exit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-02-08T17:02:51.843" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4289" PostTypeId="1" CreationDate="2017-02-08T18:24:05.657" Score="2" ViewCount="989" Body="&lt;p&gt;We are on Sitecore 7.5 and recently discovered that when a content editor copies and pastes some content from other documents using Sitecore in-page editor, some special characters make it into the saved content (e.g. &lt;code&gt;&amp;amp;#x3&lt;/code&gt;). This leads to weird symbols appearing in some user browsers and is a big deal for some industry regulated websites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to force Sitecore to sanitize user inputed content? It's not reliable to count on content editors to remember to copy&amp;amp;paste content through Notepad all the time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1506" LastActivityDate="2017-02-08T19:00:42.253" Title="Prevent special characters in online content editor" Tags="|content-editor|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4290" PostTypeId="1" AcceptedAnswerId="4294" CreationDate="2017-02-08T18:33:25.780" Score="4" ViewCount="145" Body="&lt;p&gt;While looking into the Sitecore Speak config files, I saw the following setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  IS PRODUCTION MODE&#xA;      Indicates whether the system is in production mode or not.&#xA;      Default: false&#xA;--&amp;gt;      &#xA;&amp;lt;setting name=&quot;IsProductionMode&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have searched the internet but did not find any useful documentation of its purpose. I have also check the code in the &lt;code&gt;Sitecore.Speak.ItemWebApi.dll&lt;/code&gt; but it seems that there are not usage of it. So, my question is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What is the purpose of &lt;code&gt;IsProductionMode&lt;/code&gt;?&lt;/li&gt;&#xA;&lt;li&gt;Is it still in use?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version: 8.2 U-1 &lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-02-08T18:40:20.227" LastActivityDate="2017-02-08T20:30:49.100" Title="Purpose of IsProductionMode in SPEAK" Tags="|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4291" PostTypeId="2" ParentId="4289" CreationDate="2017-02-08T18:45:37.087" Score="1" Body="&lt;p&gt;With sitecore 7.5 version in the Rich Text Editor they have introduced some buttons like below which should take care of the above issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While copying the text from Word document for example you can select the copied text and then try to select one of these options. It should stripe out bad characters and extra styles added by word.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;buttons 4 through 8 are important once. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c8gEG.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c8gEG.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Buttons from left to right are below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Cut &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Copy&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Paste&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Paste from word&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) Paste from work stripe font&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6) Paste plain text&lt;/p&gt;&#xA;&#xA;&lt;p&gt;7) Paste as HTML&lt;/p&gt;&#xA;&#xA;&lt;p&gt;8) is this screenshot &lt;a href=&quot;https://i.stack.imgur.com/mIT09.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mIT09.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That should take care of the issue. &lt;/p&gt;&#xA;" OwnerUserId="1341" LastActivityDate="2017-02-08T18:45:37.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4292" PostTypeId="2" ParentId="4289" CreationDate="2017-02-08T19:00:42.253" Score="4" Body="&lt;p&gt;It possible to extend the Telerik RTE control in Sitecore to automatically strip certain formatting, such as MS Word, or to even strip all formatting. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To extend Sitecore’s configuration of the Telerik controls, create the following class: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;using Telerik.Web.UI; &#xA;&#xA;namespace MyProject.CMS.Custom.Controls&#xA;{&#xA;    public class RteConfiguration : Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration&#xA;    {&#xA;        public RteConfiguration(Item profile) : base(profile)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void SetupFilters()&#xA;        {&#xA;            base.SetupFilters();&#xA;            Editor.DisableFilter(EditorFilters.ConvertToXhtml);&#xA;            Editor.EnableFilter(EditorFilters.IndentHTMLContent);&#xA;            Editor.StripFormattingOptions = EditorStripFormattingOptions.MSWordRemoveAll&#xA;                                            | EditorStripFormattingOptions.ConvertWordLists&#xA;                                            | EditorStripFormattingOptions.Css&#xA;                                            | EditorStripFormattingOptions.Font&#xA;                                            | EditorStripFormattingOptions.Span;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then patch the following to override the default configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;  &amp;lt;setting name=&quot;HtmlEditor.DefaultConfigurationType&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;MyProject.CMS.Custom.Controls.RteConfiguration, MyProject.CMS.Custom&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; If your HTML Editor Profile specifies Configuration Type directly then you will need to either remove it so that it uses default specified in config or update the Type setting in the item itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about details in this blog post which I previously wrote: &lt;a href=&quot;https://jammykam.wordpress.com/2016/02/09/sitecore-telerik-rte-settings/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Updating Sitecore Telerik RTE to disable XHTML and strip MS-Word Formatting on Paste&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The down side is that your Content Editor &lt;em&gt;must&lt;/em&gt; use the Rich Text Editor in order for these configurations to take effect, pasting directly in the Experience Editor may still lead to the previous behaviour. You may wish to investigate using the &lt;a href=&quot;http://www.kasaku.co.uk/2016/11/21/sitecore-sweep/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Sweep Module&lt;/a&gt; instead which will allow you target all or specific fields via a pipeline on save.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-02-08T19:00:42.253" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4293" PostTypeId="2" ParentId="4273" CreationDate="2017-02-08T19:24:45.897" Score="4" Body="&lt;p&gt;You don't need to implement anything. You already have what you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, enable Engagement Automation for the Rules Engine group you need it for. I'm going to show you Conditional Renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vYTkK.png&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vYTkK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this, you can use the built-in rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/svI8j.png&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/svI8j.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Point it to your &quot;Message Opened&quot; state that you mentioned, and you're good to go.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-02-08T19:24:45.897" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4294" PostTypeId="2" ParentId="4290" CreationDate="2017-02-08T20:30:49.100" Score="4" Body="&lt;p&gt;In the  Sitecore.Configuration.SpeakSettings I found:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool IsProductionMode&#xA;{&#xA;  get&#xA;  {&#xA;    return Settings.GetBoolSetting(&quot;IsProductionMode&quot;, false);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and above propery is used in :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; // Sitecore.Shell.SettingsHost&#xA; public virtual bool IsProductionMode&#xA;{&#xA;  get&#xA;  {&#xA;     return SpeakSettings.IsProductionMode;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But anywhere in the code is not used this property;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This particular setting is not used by any code at this time and has no effect. It may just be a leftover from an earlier stage of the project.&lt;br&gt;&#xA;You can can simply ignore it. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-08T20:30:49.100" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4295" PostTypeId="2" ParentId="4269" CreationDate="2017-02-08T22:25:44.967" Score="2" Body="&lt;p&gt;The release notes page that Sitecore puts up for each version contains a list of bugs fixes in the release including the ticket number.  It isn't very searchable but if you're not doing a big version jump this is a place you can look.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example here are the release notes for &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update2/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Update-2&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="32" LastActivityDate="2017-02-08T22:25:44.967" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4297" PostTypeId="1" CreationDate="2017-02-09T07:09:59.313" Score="6" ViewCount="7214" Body="&lt;p&gt;I tried adding custom lang-region set in &lt;code&gt;/sitecore/system/Languages&lt;/code&gt; but got following error message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Language: pt and Region: mx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Language: en and Region: mx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Language: es and Region: br&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;The name &quot;{Language}-{Region}&quot; is not a valid or supported culture identifier.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically we are going to set up Sitecore website with 13 regions and each region should support 3 languages (en, es, pt) so I have to add 39 languages in &lt;code&gt;system/languages&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;en-mx, es-mx, pt-mx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;es-br, es-br, pt-br&lt;/p&gt;&#xA;&#xA;&lt;p&gt;en-cl, es-cl, es-br&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and so on till 39th Language&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="73" LastEditDate="2017-02-09T16:25:00.343" LastActivityDate="2017-02-09T16:25:00.343" Title="How to add custom lang-region in sitecore system language" Tags="|multilingual|multisite|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4298" PostTypeId="2" ParentId="4297" CreationDate="2017-02-09T07:35:40.930" Score="7" Body="&lt;p&gt;You need to follow next steps: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download Language Registration tool from &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Custom_Language_Registration.aspx&quot;&gt;https://marketplace.sitecore.net/en/Modules/Custom_Language_Registration.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Start the “Language Registration” tool&lt;/li&gt;&#xA;&lt;li&gt;Change the name to “pt-MX”&lt;/li&gt;&#xA;&lt;li&gt;Click the “Register” button&lt;/li&gt;&#xA;&lt;li&gt;Declare a new language in the “\App_Config\LanguageDefinitions.config” file:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;//Example&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;language id=&quot;pt&quot; region=&quot;MX&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-XXXX&quot; icon=&quot;flags/16x16/flag_Mexic.PNG&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Start Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Open the “Add a new Language” dialog&lt;/li&gt;&#xA;&lt;li&gt;Select the required language from the “Predefined Languages” list&lt;/li&gt;&#xA;&lt;li&gt;Click “Next” until dialog is closed&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Other links : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.bugdebugzone.com/2013/12/adding-custom-language-code-in-sitecore.html&quot;&gt;http://www.bugdebugzone.com/2013/12/adding-custom-language-code-in-sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://mwenhao.wordpress.com/2014/11/05/how-to-register-custom-language-and-culture-into-sitecore-and-net/&quot;&gt;https://mwenhao.wordpress.com/2014/11/05/how-to-register-custom-language-and-culture-into-sitecore-and-net/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nttdatasitecore.com/Blog/2016/September/Adding-Custom-Language-in-Sitecore&quot;&gt;http://www.nttdatasitecore.com/Blog/2016/September/Adding-Custom-Language-in-Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-09T07:35:40.930" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="4299" PostTypeId="1" CreationDate="2017-02-09T11:10:24.447" Score="1" ViewCount="277" Body="&lt;p&gt;I am working on WFFM form where I am dynamically rendering WFFM form on web page which is working perfectly fine on my local machine by using below code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;{F2CCA16D-7524-4E99-8EE0-78FF6394A3B3}&quot;, new { Datasource = &quot;&amp;lt;id of the form item&amp;gt;&quot; , UniqueId = &quot;&amp;lt;unique id of the form rendering&amp;gt;&quot;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I deployed it on our server, WFFM form and its fields are rendering propely as I can identify it from View Source my webpage on browser. But interestingly WFFM form and its fields are rendering as hidden.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried multiple options like &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Disabling project CSS and javascripts&lt;/li&gt;&#xA;&lt;li&gt;Republishing items &lt;/li&gt;&#xA;&lt;li&gt;Try it on different server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;but unable to resolve it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Web Forms For Marketers 8.1 rev. 151217.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do anybody face the similar situation of WFFM form hidden state while rendering?&lt;/p&gt;&#xA;" OwnerUserId="930" LastEditorUserId="2126" LastEditDate="2017-06-29T14:23:34.367" LastActivityDate="2017-06-29T14:23:34.367" Title="WFFM form hidden state on rendering" Tags="|wffm|mvc-forms|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4300" PostTypeId="2" ParentId="4297" CreationDate="2017-02-09T12:44:00.783" Score="3" Body="&lt;p&gt;This is how I approached custom languages.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Register your custom language in .net.&lt;/li&gt;&#xA;&lt;li&gt;Add custom language to &lt;code&gt;/AppConfig/LangauageDefinitions.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add your custom language item in &lt;code&gt;sitecore/system/Languages&lt;/code&gt;, u should see your custom culture info in &quot;Choose a predefined language code&quot; dropdown now.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Step1:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Globalization;&#xA;using System.Linq;&#xA;&#xA;[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(SitecoreBlog.SitecoreCustom.Globalization.Language.RegisterLanguages), &quot;Register&quot;)]&#xA;namespace SitecoreBlog.SitecoreCustom.Globalization.Language&#xA;{&#xA;public class RegisterLanguages&#xA;{&#xA;    private class CustomCulture&#xA;    {&#xA;        public CustomCulture(string isoName, string fromCulture, string displayName)&#xA;        {&#xA;            IsoName = isoName;&#xA;            FromCulture = fromCulture;&#xA;            DisplayName = displayName;&#xA;        }&#xA;&#xA;        public string IsoName { get; set; }&#xA;        public string FromCulture { get; set; }&#xA;        public string DisplayName { get; set; }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Registers the custom languages required by the solution&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;remarks&amp;gt;&#xA;    /// When this code runs it will need the following permissions on the host system:&#xA;    /// - modify rights to &quot;C:\Windows\Globalization&quot; as it needs to create the .nlp file for the custom culture&#xA;    /// - full control rights to the &quot;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CustomLocale&quot; registry path as it needs to the corresponding entry for the custom culture&#xA;    /// &#xA;    /// If these fail then you will get an exception. If you resolve the issue and retry then the OS can get confused as the .nlp file may exist but the registery key doesn't.&#xA;    /// In this situation you will need to remove the .nlp and/or the registry key so the code can start from stratch.&#xA;    /// &#xA;    /// Once this has been run successfully, you will find that the language will appear in the list of predefined languages in Sitecore.&#xA;    /// &amp;lt;/remarks&amp;gt;&#xA;    public static void Register()&#xA;    {&#xA;        //if you add new custom cultures, you need to add that in /AppConfig/LangauageDefinitions.config&#xA;        var customCultures = new List&amp;lt;CustomCulture&amp;gt;() {&#xA;            new CustomCulture(&quot;pt-mx&quot;, &quot;fromCulture&quot;, &quot;Protugese (Mexico)&quot;),&#xA;            new CustomCulture(&quot;en-mx&quot;, &quot;fromCulture&quot;, &quot;English (Mexico)&quot;)&#xA;            //etc&#xA;&#xA;        };&#xA;&#xA;        var allCultures = CultureInfo.GetCultures(CultureTypes.AllCultures);&#xA;&#xA;        try&#xA;        {&#xA;            foreach (var customCulture in customCultures)&#xA;            {&#xA;                if (!allCultures.Any(culture =&amp;gt; string.Equals(culture.Name, customCulture.IsoName, StringComparison.CurrentCultureIgnoreCase)))&#xA;                {&#xA;                    var cib = new CultureAndRegionInfoBuilder(customCulture.IsoName, CultureAndRegionModifiers.None);&#xA;                    cib.LoadDataFromCultureInfo(new CultureInfo(customCulture.FromCulture));&#xA;                    cib.LoadDataFromRegionInfo(new RegionInfo(customCulture.FromCulture));&#xA;                    cib.CultureEnglishName = customCulture.DisplayName;&#xA;                    cib.CultureNativeName = customCulture.DisplayName;&#xA;                    cib.RegionEnglishName = customCulture.DisplayName;&#xA;                    cib.RegionNativeName = customCulture.DisplayName;&#xA;&#xA;                    cib.Register();&#xA;                }&#xA;            }&#xA;        }&#xA;        catch (Exception e)&#xA;        {&#xA;            throw new Exception(@&quot;Unable to register custom locales. Check app pool has modify rights to C:\Windows\Globalization directory and full control rights to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CustomLocale registry path.&quot;, e);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Make sure you have given right permissions. see comments for which&#xA;  folders.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Step2:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a patch file like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;languageDefinitions&amp;gt;&#xA;      &amp;lt;languages&amp;gt;&#xA;        &amp;lt;language id=&quot;pt&quot; region=&quot;mx&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/XXX.PNG&quot; /&amp;gt;&#xA;        &amp;lt;language id=&quot;en&quot; region=&quot;mx&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/XXX.PNG&quot; /&amp;gt;&#xA;      &amp;lt;/languages&amp;gt;&#xA;    &amp;lt;/languageDefinitions&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="73" LastEditDate="2017-02-09T16:17:02.693" LastActivityDate="2017-02-09T16:17:02.693" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4301" PostTypeId="1" AcceptedAnswerId="4303" CreationDate="2017-02-09T13:13:18.357" Score="1" ViewCount="1508" Body="&lt;p&gt;What is the appropriate configuration to use for WFFM on a development environment (Sitecore 8.2)? I want to be able to create/edit forms, submit them and then view the submitted information in the form reports window.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been looking at the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/82/Web%20Forms%20For%20Marketers%2082%20Update1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Instllation Guide here&lt;/a&gt; where it describes the configuration steps for CM and CD environment, but I'm not sure how it should be set up on a dev environment?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed the database &lt;code&gt;Sitecore_Wffm.mdf&lt;/code&gt; is placed into the Website\Data folder during installation, but no mention of this is made in the install guide, although a script &lt;code&gt;WFFM_Analytics.sql&lt;/code&gt; &lt;em&gt;is&lt;/em&gt; mentioned and should be run on the reporting database (&lt;code&gt;Sitecore.Analytics.mdf&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am currently getting the following error in the logs, so I assume something has been set up wrong, but I'm not sure what:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;13960 12:15:26 ERROR Exception when storing an aggregation result into reporting database. Item will be postponed and retried later.&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: Invalid object name 'FormFieldValues'.&#xA;Source: .Net SqlClient Data Provider&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="731" LastEditDate="2018-12-07T19:47:10.123" LastActivityDate="2018-12-07T19:47:10.123" Title="WFFM Correct Setup for Development Environment" Tags="|wffm|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4302" PostTypeId="2" ParentId="2408" CreationDate="2017-02-09T13:18:58.553" Score="0" Body="&lt;p&gt;Some checkpoints:&#xA;- Is this using the out of box ARM templates from Sitecore?&#xA;- Just to make sure, try deploying again in a different resource group with a different resource prefix (deployment id) - if that succeeds, this could potentially be a platform error you're experiencing&#xA;- Is this the first time you're executing the template or is this a deployment on top of resources that were already previously deployed?  In the latter case, you'll need to make sure to strip database operations from any Web Deploy packages you're referencing from within the ARM template.&lt;/p&gt;&#xA;" OwnerUserId="1511" LastActivityDate="2017-02-09T13:18:58.553" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4303" PostTypeId="2" ParentId="4301" CreationDate="2017-02-09T13:42:42.340" Score="5" Body="&lt;p&gt;By default, the form submissions from WFFM are saved to XDB (i.e. MongoDB). Assuming you are not running MongoDB locally and have set &lt;code&gt;Xdb.Enabled=false&lt;/code&gt; locally then you can switch to using &lt;code&gt;sqlFormsDataProvider&lt;/code&gt; (which was introduced in Sitecore 8.1)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do so, make sure you have done the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Run the &lt;code&gt;WFFM_Analytics.sql&lt;/code&gt; script is run on the SQL Reporting Database (&lt;code&gt;Sitecore.Analytics&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Attach the &lt;code&gt;Sitecore_Wffm.mdf&lt;/code&gt; database located in &lt;code&gt;/Data&lt;/code&gt; folder (you may wish to move this next to the rest of the Sitecore databases)&lt;/li&gt;&#xA;&lt;li&gt;Add the above database to your ConnectionString config, the connection should be named &lt;code&gt;wffm&lt;/code&gt; (but please also try with &lt;code&gt;wfm&lt;/code&gt; since there was a bug in earlier verisons)&lt;/li&gt;&#xA;&lt;li&gt;Make sure you have switched over the &lt;code&gt;formsDataProvider&lt;/code&gt; config settng to use SQL Server.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you take a look in &lt;code&gt;Sitecore.WFFM.Dependencies.config&lt;/code&gt; then the following settings are present:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;analytics&amp;gt;&#xA;    &amp;lt;!--Choose between different form's data providers:&#xA;    1) sqlFormsDataProvider - only form's data from wffm sql db is involved in reporting and export processes&#xA;    2) analyticsFormsDataProvider - only form's data from analytics sql and mongo db is involved in reporting (sql) and export (mongo) processes&#xA;    in this case you should be sure that xDb and tracker is on&#xA;    3) combinedFormsDataProvider - form's data from wffm sql db is used for export and data from analytics sql is used for reporting--&amp;gt;&#xA;    &amp;lt;formsDataProvider ref=&quot;/sitecore/wffm/analytics/analyticsFormsDataProvider&quot;/&amp;gt;&#xA;&#xA;    &amp;lt;sqlFormsDataProvider type=&quot;Sitecore.WFFM.Analytics.Providers.SqlFormsDataProvider, Sitecore.WFFM.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param name=&quot;connectionStringName&quot;&amp;gt;wffm&amp;lt;/param&amp;gt;&#xA;      &amp;lt;param name=&quot;settings&quot; ref=&quot;/sitecore/wffm/settings&quot; /&amp;gt;&#xA;      &amp;lt;param name=&quot;connectionProvider&quot; ref=&quot;/sitecore/wffm/analytics/connectionProvider&quot; /&amp;gt;&#xA;    &amp;lt;/sqlFormsDataProvider&amp;gt;&#xA;&#xA;  ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Ensure you have changed the provider to &lt;code&gt;&amp;lt;formsDataProvider ref=&quot;/sitecore/wffm/analytics/sqlFormsDataProvider&quot;/&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details in the &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/installing/use_a_custom_sql_provider_to_store_form_data&quot; rel=&quot;noreferrer&quot;&gt;Use a custom SQL provider to store form data&lt;/a&gt; document&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-02-09T13:42:42.340" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4304" PostTypeId="1" CreationDate="2017-02-09T13:56:04.307" Score="0" ViewCount="476" Body="&lt;p&gt;I have MVC Routing issue in Sitecore. I have the following route in myRegisterRoutes() method. For this method I need to add language variant since I have enabled language fallback. Could some please help in this.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;For English: &lt;a href=&quot;http://xyz.com/api/sitecore/Forms/SubmitForm&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xyz.com/api/sitecore/Forms/SubmitForm&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;For German: &lt;a href=&quot;http://xyz.com/de-DE/api/sitecore/Forms/SubmitForm&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xyz.com/de-DE/api/sitecore/Forms/SubmitForm&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Route map:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;routes.MapRoute(&quot;FormsApi&quot;, &quot;api/sitecore/Forms/SubmitForm&quot;,&#xA;    new { controller = &quot;Forms&quot;, action = &quot;SubmitForm&quot; });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1116" LastEditorUserId="70" LastEditDate="2017-02-09T15:03:43.360" LastActivityDate="2017-02-09T15:03:43.360" Title="MVC Routing with Language Variant in Sitecore" Tags="|mvc|multilingual|routing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4305" PostTypeId="2" ParentId="4091" CreationDate="2017-02-09T14:19:38.993" Score="1" Body="&lt;p&gt;I assume you are building an MVC based site?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if so the renderLayout pipeline is not used, and this is where the Sitecore.Pipelines.RenderLayout.BrowserCaching function is called from, so since it isn't called, it will not have any effect&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you could disable caching for all actions in a controller, or specific action as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[OutputCacheAttribute(VaryByParam = &quot;*&quot;, Duration = 0, NoStore = true)] // will be applied to all actions in MyController, unless those actions override with their own decoration&#xA;public class MyController : Controller&#xA;{&#xA;  // ... &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Disable for a specific action:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyController : Controller&#xA;{&#xA;    [OutputCacheAttribute(VaryByParam = &quot;*&quot;, Duration = 0, NoStore = true)] // will disable caching for Index only&#xA;    public ActionResult Index()&#xA;    {&#xA;       return View();&#xA;    }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1513" LastEditorUserId="1513" LastEditDate="2017-02-10T12:44:57.960" LastActivityDate="2017-02-10T12:44:57.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4306" PostTypeId="2" ParentId="4304" CreationDate="2017-02-09T15:01:49.400" Score="1" Body="&lt;p&gt;You could add your language as a parameter to the route. Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;routes.MapRoute(&quot;FormsApiWithLanguage&quot;,&#xA;    &quot;{languageCode}/api/sitecore/Forms/SubmitForm&quot;,&#xA;    new { controller = &quot;Forms&quot;, action = &quot;SubmitForm&quot;, languageCode = &quot;en&quot; }&#xA;    );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm just setting a default language code there with the &lt;code&gt;&quot;en&quot;&lt;/code&gt; - now your language code would be passed into your action as a param:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult SubmitForm(string languageCode) &#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If that doesn't work, you could append the language code to the &lt;em&gt;end&lt;/em&gt; of the route instead of the start.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-02-09T15:01:49.400" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4307" PostTypeId="1" AcceptedAnswerId="5045" CreationDate="2017-02-09T15:26:34.833" Score="5" ViewCount="559" Body="&lt;p&gt;I am trying to deploy Sitecore 8.2 Update 2 instance to Azure PaaS.  I've installed a fresh instance on my local machine, installed content/media/template packages from our previous version, republished the entire site, and gotten it to work fine locally.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I followed the instructions here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://borisbrodsky.com/sitecore/sitecore-8-2-azure-deployment-with-arm-templates-and-powershell/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://borisbrodsky.com/sitecore/sitecore-8-2-azure-deployment-with-arm-templates-and-powershell/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to upload a XP0 web deploy package to blob storage and deploy - I receive no errors during the deployment.  However, when I then load the site or or the sitecore admin screen - I receive the same message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;Invalid column name 'TemplateID'.&#xA;Invalid column name 'ID'.&#xA;Invalid column name 'Name'.&#xA;&#xA;[SqlException (0x80131904): Invalid column name 'TemplateID'.&#xA;Invalid column name 'ID'.&#xA;Invalid column name 'Name'.]&#xA;   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +3277272&#xA;   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +345&#xA;   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady) +5002&#xA;   System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +92&#xA;   System.Data.SqlClient.SqlDataReader.get_MetaData() +102&#xA;   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption) +602&#xA;   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +3152&#xA;   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task&amp;amp; task, Boolean&amp;amp; usedCache, Boolean asyncWrite, Boolean inRetry) +704&#xA;   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +121&#xA;   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +307&#xA;   Sitecore.Data.DataProviders.Sql.DataProviderCommand.ExecuteReader() +91&#xA;&#xA;[DataException: Error executing SQL command:  SELECT DISTINCT [ID], [Name] FROM [Items] WHERE [TemplateID]=@templateId]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All the databases appear to be deployed -- but the Web database &lt;em&gt;is&lt;/em&gt; missing those columns in the item table.  Are they not being deployed because I'm publishing my content before creating the web deploy package?  Or is there something else I'm missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1514" LastEditorUserId="73" LastEditDate="2017-03-22T11:10:58.890" LastActivityDate="2017-03-22T11:10:58.890" Title="Azure PaaS Deployment Failure - Invalid column names in &quot;web&quot; database" Tags="|sql-database|azure|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4308" PostTypeId="1" AcceptedAnswerId="4309" CreationDate="2017-02-09T16:43:26.577" Score="5" ViewCount="592" Body="&lt;p&gt;Are the current versions of WFFM and/or EXM supported on Azure PaaS?&lt;/p&gt;&#xA;" OwnerUserId="20" LastEditorUserId="73" LastEditDate="2017-02-28T09:19:52.497" LastActivityDate="2017-08-17T10:48:31.030" Title="PaaS compatibility for WFFM and EXM?" Tags="|wffm|exm|azure|paas|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4309" PostTypeId="2" ParentId="4308" CreationDate="2017-02-09T16:49:02.127" Score="7" Body="&lt;p&gt;Yes, they are both compatible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM since 8.2 Update-3 (rev. 170413), and EXM since 3.5 (rev. 170810)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about all modules compatible with Azure Paas can be found here: &lt;a href=&quot;https://kb.sitecore.net/articles/201557&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/201557&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="121" LastEditDate="2017-08-17T10:47:46.673" LastActivityDate="2017-08-17T10:47:46.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4310" PostTypeId="2" ParentId="4308" CreationDate="2017-02-09T16:49:16.010" Score="2" Body="&lt;p&gt;Yes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM since 8.2 Update-3 (rev. 170413), and EXM since 3.5 (rev. 170810)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://kb.sitecore.net/articles/201557&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore XP on Microsoft Azure Compatibility Table&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="121" LastEditDate="2017-08-17T10:48:31.030" LastActivityDate="2017-08-17T10:48:31.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4311" PostTypeId="1" AcceptedAnswerId="5134" CreationDate="2017-02-09T16:53:41.767" Score="2" ViewCount="868" Body="&lt;p&gt;I'm using SXA 1.2 on Sitecore 8.2. I've created a website in my development sandbox, and am trying to share it with the other developers on my team. So, I did the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new tenant on my sandbox&lt;/li&gt;&#xA;&lt;li&gt;Create a new website in that tenant&lt;/li&gt;&#xA;&lt;li&gt;Use TDS to grab the Tenant Folder, Media Library/Project/Tenant Folder, and Templates/Project/Tenant Folder.&lt;/li&gt;&#xA;&lt;li&gt;Commit those changes to the source code repository&lt;/li&gt;&#xA;&lt;li&gt;Have a team member get the new project and sync with Sitecore&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Most everything seems to work. The website shows up and is browsable. However when that other developer clicks on the Export button on the Experience Accelerator ribbon, they get this message:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/H8fS7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H8fS7.png&quot; alt=&quot;Export Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This same action works fine in my original site. I'm guessing that I've missed a template or sitecore setting somewhere that is preventing the Export from working properly. I've done multiple comparisons between the 2 websites, and can't find the setting. &#xA;Here are my questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Does anyone know what setting is needed for this export function to work?&lt;/li&gt;&#xA;&lt;li&gt;Is there a better way to keep the SXA websites synchronized between developers?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&#xA;I have been trying several different things, and now it appears that my other developer can't create a new website in the tenant that we've synchronized. When they try to do that, he gets an SPE error, and that log says:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Script item set to master:\system\Modules\PowerShell\Script Library\SXA - Scaffolding\Content Editor\Insert Item\Site in ScriptSession $scriptSession$|2lfpui5jwv3yfyhnitfugd3i|e3ecec93-a94b-485d-bcfe-d69772218312.&#xA;ManagedPoolThread #2 16:18:25 INFO  Executing a script in ScriptSession '$scriptSession$|2lfpui5jwv3yfyhnitfugd3i|e3ecec93-a94b-485d-bcfe-d69772218312'.&#xA;ManagedPoolThread #2 16:18:26 ERROR Unrecognized Guid format.&#xA;ManagedPoolThread #2 16:18:26 INFO  The script execution in ScriptSession '$scriptSession$|2lfpui5jwv3yfyhnitfugd3i|e3ecec93-a94b-485d-bcfe-d69772218312' completed in 801 ms.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm guessing that the 2 errors are related, although I don't really know how. Any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="339" LastEditDate="2017-02-09T23:48:01.630" LastActivityDate="2017-09-06T06:09:28.650" Title="SXA Creative Exchange Error: Could not find any storage definition in your site. Export cannot be performed" Tags="|sxa|tds|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4312" PostTypeId="1" AcceptedAnswerId="4397" CreationDate="2017-02-09T17:22:03.573" Score="1" ViewCount="883" Body="&lt;p&gt;I have a model like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{BEF6BD47-1168-4EC9-9B03-A8C5F3420B73}&quot;, AutoMap = true)]&#xA;    public class PlayerCard&#xA;    {&#xA;        public virtual string BackgroundColor { get; set; }&#xA;        public virtual string FontColor { get; set; }&#xA;        public virtual Link PlayerUrl { get; set; }&#xA;        public virtual Player Player { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From the sitecore side, i have a &lt;code&gt;Player&lt;/code&gt; created that works as the default value. How on the &lt;code&gt;PlayerCard&lt;/code&gt; model can i load a default value for the &lt;code&gt;Player&lt;/code&gt; using the item created on sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update info:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;PlayerCard&lt;/code&gt; field contains a &lt;code&gt;DropLink&lt;/code&gt; with a datasource that points to a list of &lt;code&gt;Player&lt;/code&gt;'s&lt;/p&gt;&#xA;" OwnerUserId="1462" LastEditorUserId="1462" LastEditDate="2017-02-09T18:37:32.833" LastActivityDate="2017-02-20T15:07:20.850" Title="Load default value on model using Glass.Mapper" Tags="|glass-mapper|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4313" PostTypeId="2" ParentId="4311" CreationDate="2017-02-09T18:17:47.330" Score="1" Body="&lt;p&gt;Creative Exchange is using Storage Definition Items to allow the user to configure possible outputs of Creative Exchange. Those items are stored &lt;code&gt;/sitecore/content/Test/Site/Settings/Creative Exchange Storages&lt;/code&gt; and that is what is probably missing on your new website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jOyvF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jOyvF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those two items visible above are later (while exporting) available here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FbnTN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FbnTN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding website synchronisation - we are doing the same but instead of TDS we are using Unicorn. So the items are serialized with Unicorn and stored in repository.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2017-02-09T18:24:24.660" LastActivityDate="2017-02-09T18:24:24.660" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4314" PostTypeId="1" AcceptedAnswerId="4318" CreationDate="2017-02-09T18:18:06.317" Score="3" ViewCount="689" Body="&lt;p&gt;In a client's environment, a user login in will be added a role in order to have access to secured content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This mean that during the login operation, the user itself will be modified and saved. Under the cover, the &lt;code&gt;user.Profile.Save()&lt;/code&gt; operation will be performed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the system level, the save will write in the Core database, and this is where I am a bit skeptical. I feel like the Core and Web Databases should only be read from a CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to send a command to the CM server to do the save? Or should my client use another way to give rights to a user?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I must confess that security scaling is not my cup of tea so if someone could enlighten me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers, &lt;br&gt;&#xA;Simon&lt;/p&gt;&#xA;" OwnerUserId="264" LastActivityDate="2017-02-09T21:23:45.517" Title="Best practice for Content Delivery in relation to databases" Tags="|security|content-delivery|scaling|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4316" PostTypeId="2" ParentId="4314" CreationDate="2017-02-09T18:31:40.373" Score="1" Body="&lt;p&gt;although you could associate a role to an user at login time(not sure if this is a requirement of yours) but you can also have an extranet authenticated role with proper permissions already set and have that role assigned to the user. All that user has to do is actually authenticate and you display the content for that user based on the permissions of this role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option you would get is using virtual users and set the roles at login time just as this &lt;a href=&quot;https://briancaos.wordpress.com/2015/11/13/sitecore-virtual-users-authenticate-users-from-external-systems/&quot; rel=&quot;nofollow noreferrer&quot;&gt;example&lt;/a&gt; shows&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-02-09T18:31:40.373" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4317" PostTypeId="2" ParentId="4312" CreationDate="2017-02-09T20:41:31.387" Score="0" Body="&lt;p&gt;I don't know if this is for sure what you're asking, but knowing that under normal circumstances you could use Standard values to set a value, I'm assuming that you are using a view model that needs to have a standard value for a field not on the context item.  That being said, this is what works for us (and we do  use Glass but we also use TDS to generate models and there may be other settings that make this work for me) but I found that if I extend the TDS models.. it works to let me set default values that I can then set in my controller or leave to be set like the below example:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class Article_Item&#xA;{&#xA;    public Banner_Advertisement TileAd { get; set; } = new SitecoreContext().GetItem&amp;lt;Banner_Advertisement&amp;gt;(Constants.ArticleTileGuid);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="926" LastActivityDate="2017-02-09T20:41:31.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4318" PostTypeId="2" ParentId="4314" CreationDate="2017-02-09T20:43:37.297" Score="5" Body="&lt;h2&gt;Is Saving/Updating Data from a CD Against Best Practices?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Saving security/access changes from a CD is acceptable, and doesn't violate best practices. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Saving data from a CD in general also doesn't violate best practices, so long as you are mindful of the data that you are saving, where it will be saved to, and that it can be overwritten (effectively deleted) on publish if saving to the Web database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All in all, so long as your code/logic does not open create a vulnerability where users saving data to the Web or Core databases have the ability to inject code, directly manipulate security roles or do other things of that nature that would be clear security issues, saving any kind of data from a CD is acceptable. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Desired Logic Breakdown&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Addressing the core of your question, I think you may be overthinking your securities a little bit. Given the situation that you described, you shouldn't need to make any changes to the user on login - that should all be done for you, thanks to Sitecore's &quot;security authentication model&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before we dive into the securities, let's take a step back and consider the followin breakdown of the logic that you are looking to support (described in the OP):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Site visitors can be categorized as either &lt;em&gt;Authenticated Users&lt;/em&gt; or &lt;em&gt;Anonymous Users&lt;/em&gt;, where an &lt;em&gt;Authenticated User&lt;/em&gt; is a visitor that has successfully logged into the site and an &lt;em&gt;Anonymous User&lt;/em&gt; is visiting the site but has not logged in&lt;/li&gt;&#xA;&lt;li&gt;The &lt;em&gt;Authenticated Users&lt;/em&gt; should have access to visit &quot;member-only&quot; pages and/or view &quot;member-only&quot; content that &lt;em&gt;Anonymous Users&lt;/em&gt; cannot access&lt;/li&gt;&#xA;&lt;li&gt;Sitecore securities/access rights should be used to ensure that visitors have access to the content they are supposed to have access to, e.g. &lt;em&gt;Authenticated Users&lt;/em&gt; have access to &quot;member-only&quot; content and &quot;guest&quot; content, while &lt;em&gt;Anonymous Users&lt;/em&gt; only have access to &quot;guest&quot; content.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Keep the above in mind, as we review how Sitecore's authentication model and roles work. Leveraging Sitecore's authentication model, the above is a pretty straight-forward use of Sitecore's security featues.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore's Authentication Model and the &lt;code&gt;extranet/Anonymous&lt;/code&gt; User&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are using Sitecore membership - which I assume you are or are, at the very least, tying into since you want to control page/content access with Sitecore roles and access rights - then the way that Sitecore's authentication model works is as follows: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;A visitor browses to the site and a new session is started. Since this is the first visit for the current session, Sitecore doesn't know &quot;who&quot; the visitor is (username, etc.), so Sitecore &quot;logs the user in&quot; (behind the scenes) as the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user (note that if you have custom domains, then the user will be &lt;code&gt;&amp;lt;domain&amp;gt;/Anonymous&lt;/code&gt;). The &lt;code&gt;extranet/Anonymous&lt;/code&gt; user is a special user account that Sitecore creates (by default) for each security domain that you configure. This user account is meant to identify the &quot;unidentified&quot; users, and has no roles, by default. You may assign custom roles to it as needed. &lt;/li&gt;&#xA;&lt;li&gt;Sitecore now needs to check the security settings of the page that the user - whom Sitecore now knows as the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user - requested/tried to browse to, in order to verify that the user has access to view the requested page. If the user does have read access to the page, the user is shown the page; otherwise the user is redirected with an &quot;unauthorized&quot; status.&lt;/li&gt;&#xA;&lt;li&gt;Assume that the visitor now navigates to your site's login page and authenticates, either by creating a new account or by logging into an existing one. Sitecore now knows &quot;who&quot; the user is, and so the user is effectively assigned the appropriate profile, security roles, etc. (note that no actual &lt;em&gt;assignment&lt;/em&gt; happens at this step; this description is meant for visualization purposes, only; the users profile, roles, etc. will have already been set on the user account that the visitor is logging into). This means that the user is effectively logged out of the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user account and logged into the &lt;code&gt;extranet/&amp;lt;username&amp;gt;&lt;/code&gt; account.&lt;/li&gt;&#xA;&lt;li&gt;Assume that the visitor now logs out. The visitor is then effectively logged back in as the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user, and the cycle repeats.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Authenticated Users vs Anonymous Users&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Given what we now know about the Sitecore authentication model, we can make the following inferences about &lt;em&gt;Authenticated&lt;/em&gt; and &lt;em&gt;Anonymous Users&lt;/em&gt;, and their involvement in the authentication model itself:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Before logging in, all visitors on the site are, by default, effectively logged in as the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;extranet/Anonymous&lt;/code&gt; user has no roles, by default, or only the exact set that you define, if you decide to add roles to it&lt;/li&gt;&#xA;&lt;li&gt;On logging in, the visitor is effectively disassociated from the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user and associated with the user account that they are logging into. Any security roles, etc. that the visitor had as the &lt;code&gt;extranet/Anonymous&lt;/code&gt; are removed from the visitor, and the security roles, etc. from the user account that the visitor logged into are assumed/&quot;added to the visitor&quot; instead.&lt;/li&gt;&#xA;&lt;li&gt;Although the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user has no roles by default, it is automatically a member of the &lt;code&gt;extranet/Everyone&lt;/code&gt; and &lt;code&gt;default/Everyone&lt;/code&gt; roles. This means that you can assign securities that will apply to all users - &lt;em&gt;Authenticated&lt;/em&gt; or &lt;em&gt;Anonymous&lt;/em&gt; - to the &lt;code&gt;extranet/Everyone&lt;/code&gt; or &lt;code&gt;default/Everyone&lt;/code&gt; roles, and securities that should apply only to &lt;em&gt;Anonymous Users&lt;/em&gt; can be assigned to the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user account or to a custom role that is added to the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user account (better-practice, IMHO). &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Using the Above to Architect Your Authentication Logic Flow&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Given what we now know about how Sitecore's authentication model works, how the &lt;code&gt;default/Everyone&lt;/code&gt; and &lt;code&gt;extranet/Everyone&lt;/code&gt; roles work, and how the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user works and how it differs from other user accounts, all we are missing is a couple of roles to differentiate our &lt;code&gt;Authenticated Users&lt;/code&gt; from our &lt;code&gt;Anonymous Users&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Solution - Part 1 - Detailed Breakdown of Required Roles and their Use&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Based on what we have learned, the following are all of the security roles that you currently have and/or will want to create and use to control the security settings for our site visitors:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;default/Everyone&lt;/code&gt; - &lt;em&gt;Built-in&lt;/em&gt; - only make changes to this role when you wish to apply security settings to all users on all security domains; all users, including content authors and other Sitecore users, have this role as well&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;extranet/Everyone&lt;/code&gt; - &lt;em&gt;Built-in&lt;/em&gt; - an &lt;code&gt;Everyone&lt;/code&gt; role is automatically created for each domain; make changes to this role when you wish to apply security settings to all users on the domain (the &lt;code&gt;extranet&lt;/code&gt; domain applies to the &lt;code&gt;website&lt;/code&gt; site, by default)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;extranet/Member&lt;/code&gt; - &lt;em&gt;Custom&lt;/em&gt; - make changes to this role when you want to apply security settings to &lt;em&gt;Authenticated Users&lt;/em&gt; on the &lt;code&gt;extranet&lt;/code&gt; domain&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;extranet/Unauthenticated&lt;/code&gt; - &lt;em&gt;Custom&lt;/em&gt; - make changes to this role when you want to apply security settings to &lt;em&gt;Anonymous Users&lt;/em&gt; on the &lt;code&gt;extranet&lt;/code&gt; domain (this is just here because I don't like making changes to the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user, directly)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Note that there are two custom roles listed in the above, and they will require a little additional effort: &lt;code&gt;extranet/Member&lt;/code&gt; and &lt;code&gt;extranet/Unauthenticated&lt;/code&gt;. Once we have these roles implemented, we shouldn't need to do anything else to satisfy the requirements given and to be able to assign different security settings to &lt;em&gt;Authenticated&lt;/em&gt; and &lt;em&gt;Anonymous&lt;/em&gt; users.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Solution - Part 2 - Implementing the Custom Roles&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The following four steps are all you will need in order to satisfy the requirements. Steps 1-3 can be preformed entirely in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create an &lt;code&gt;extranet/Member&lt;/code&gt; security role (or a &lt;code&gt;&amp;lt;domain&amp;gt;/Member&lt;/code&gt; role if you're not using the &lt;code&gt;extranet&lt;/code&gt; domain)&lt;/li&gt;&#xA;&lt;li&gt;Create an &lt;code&gt;extranet/Unauthenticated&lt;/code&gt; security role (same comment as 1)&lt;/li&gt;&#xA;&lt;li&gt;Edit the &lt;code&gt;extranet/Anonymous&lt;/code&gt; user in the User Manager, and assign it the new &lt;code&gt;extranet/Anonymous&lt;/code&gt; role. &lt;/li&gt;&#xA;&lt;li&gt;On user account creation, each user account will be assigned the &lt;code&gt;extranet/Member&lt;/code&gt; role. This is a one-time action that only happens at user-registration time, meaning that you do not need to manually add or remove roles to change the securities/access rights of the visitor each time they log in. All changes will automatically be applied, as the user will have the &lt;code&gt;extranet/Member&lt;/code&gt; role and will no longer have the &lt;code&gt;extranet/Anonymous&lt;/code&gt; role. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-02-09T21:23:45.517" LastActivityDate="2017-02-09T21:23:45.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4319" PostTypeId="1" AcceptedAnswerId="4320" CreationDate="2017-02-09T20:48:12.673" Score="1" ViewCount="97" Body="&lt;p&gt;I'm going to explain the issue with a quick example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a Folder item based on 'Folder Template', which is bucketable. I have 2 other templates - Page Template 1 and Page Template 2. The items based on Page Template 1 and Page Template 2, are actually within the Folder item as bucketable items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created Page Template 3 and tried to include it in Folder item as a bucketable item but whenever I create this item, it gets created as a regular item and not as a bucketable item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Page Template 3 is essentially a copy of Page Template 2, with a few different components on it but for some reason acts differently. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone noticed this behavior?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1073" LastActivityDate="2017-02-09T21:01:18.797" Title="Add a new template type to existing bucket" Tags="|templates|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4320" PostTypeId="2" ParentId="4319" CreationDate="2017-02-09T21:01:18.797" Score="1" Body="&lt;p&gt;Make sure you have set &lt;code&gt;Is Bucketable&lt;/code&gt; on the standard values for templates that you want to be able to store &lt;em&gt;inside&lt;/em&gt; a bucket.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A bucket can have items based on many number of content templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your &lt;code&gt;Folder Template&lt;/code&gt; to be an item bucket, you have to select it and click on the &lt;code&gt;Bucket&lt;/code&gt; button in the &lt;code&gt;Configuration&lt;/code&gt; ribbon. Once it is a bucket, if you have correctly set &lt;code&gt;Is Bucketable&lt;/code&gt; to true on the standard values of &lt;code&gt;Page Template 3&lt;/code&gt; it will be stored as a bucketable item.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-02-09T21:01:18.797" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4321" PostTypeId="1" CreationDate="2017-02-10T00:39:45.553" Score="4" ViewCount="11237" Body="&lt;p&gt;I am trying to setup Sitecore Habitat but getting some wiered issue when the Unicorn sync starts.&#xA;I have all the steps performed as mentioned in the below link,&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also the following is the error,&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;[11:17:27] Starting '05-Sync-Unicorn'...&#xA;Sync-Unicorn: Preparing authorization for http://habitat.dev.local/unicorn.aspx?verb=Sync&amp;amp;configuration=&#xA;&#xA;&#xA;Sync-Unicorn: Received challenge: 94efeb736a614746b51d29c857f66ada&#xA;&#xA;&#xA;Sync-Unicorn: Created signature y3NWBOy9Li4xncvmYFqHDux1trU0VMHneYV8IABgGweBCu1HyeEEtjFm25IaIg82LeMnCHbX/G1VeEx5uhvNMA==, executing Sync...&#xA;&#xA;&#xA;Error: Invoke-WebRequest : Sync Unicorn&#xA;&#xA;Error: Info: Foundation.Serialization is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Feature. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Foundation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Project. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to&#xA;perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Foundation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to&#xA;perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Project. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to&#xA;perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/branches/Foundation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;&#xA;Error: need to perform an initial serialization from the control panel?&#xA;&#xA;Error: Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Foundation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;&#xA;Error: Info: Completed.&#xA;&#xA;Error: At C:\projects\scripts\Unicorn\Unicorn.psm1:43 char:12&#xA;+ ...   $result = Invoke-WebRequest -Uri $url -Headers @{ &quot;X-MC-MAC&quot; = $sig ...&#xA;&#xA;Error: +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;&#xA;Error:     + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException&#xA;&#xA;Error:     + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand&#xA;&#xA;C:\projects\scripts\unicorn.js:44&#xA;    if (err !== null) throw err;&#xA;                      ^&#xA;&#xA;Error: Command failed: powershell -executionpolicy unrestricted &quot;C:\projects\scripts/Unicorn/./Sync.ps1 -secret 749CABBC85EAD20CE55E2C6066F1BE375D2115696C8A8B24DB6ED1FD60613086 -url http://habitat.dev.local/unicorn.aspx&quot;&#xA;Invoke-WebRequest : Sync Unicorn&#xA;Info: Foundation.Serialization is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Feature. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Foundation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Project. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to&#xA;perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Foundation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to&#xA;perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Project. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to&#xA;perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/branches/Foundation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Info: Foundation.Multisite roles are being synced.&#xA;Info: Foundation.Multisite role sync complete.&#xA;Info: Foundation.Theming is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Foundation/Theming. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/system/settings/Foundation/Theming. The item does not exist in Serialization File System Data Store. It has been skipped.&#xA;Perhaps you need to perform an initial serialization from the control panel?&#xA;Warning: Foundation.Theming had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Foundation.Theming sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 1ms (~2.0ms/item).&#xA;Info: Feature.Accounts is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/Accounts. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/Accounts. The item does not exist in Serialization File System Data Store. It has been skipped.&#xA;Perhaps you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path core:/sitecore/templates/Feature/Accounts. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/Accounts. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Warning: Feature.Accounts had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.Accounts sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2ms (~2.0ms/item).&#xA;Info:&#xA;Info: Feature.Accounts roles are being synced.&#xA;Info: Feature.Accounts role sync complete.&#xA;Info: Feature.Demo is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/Demo. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/Demo. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/layouts/Feature/Demo. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/Demo. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Warning: Feature.Demo had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.Demo sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 1ms (~2.0ms/item).&#xA;Info:&#xA;Info: Feature.Demo roles are being synced.&#xA;Info: Feature.Demo role sync complete.&#xA;Info: Feature.Language is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/Language. The item does not exist in Serialization File System Data Store. It has been skipped.&#xA;Perhaps you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/Language. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/Language. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Warning: Feature.Language had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.Language sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2ms (~3.0ms/item).&#xA;Info:&#xA;Info: Feature.Language roles are being synced.&#xA;Info: Feature.Language role sync complete.&#xA;Info: Feature.Maps is being synced.&#xA;Error: Unable to resolve serialized item for included root path core:/sitecore/system/Field types/Maps. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to&#xA;perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/system/settings/Feature/Maps. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/Maps. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/Maps. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/Maps. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Warning: Feature.Maps had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.Maps sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2ms (~2.0ms/item).&#xA;Info:&#xA;Info: Feature.Maps roles are being synced.&#xA;Info: Feature.Maps role sync complete.&#xA;Info: Feature.Media is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/Media. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/Media. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Feature/Media. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/Media. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Warning: Feature.Media had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.Media sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2ms (~3.0ms/item).&#xA;Info:&#xA;Info: Feature.Media roles are being synced.&#xA;Info: Feature.Media role sync complete.&#xA;Info: Feature.Multisite is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/Multisite. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/Multisite. The item does not exist in Serialization File System Data Store. It has been skipped.&#xA;Perhaps you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/Multisite. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Warning: Feature.Multisite had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.Multisite sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 1ms (~2.0ms/item).&#xA;Info:&#xA;Info: Feature.Multisite roles are being synced.&#xA;Info: Feature.Multisite role sync complete.&#xA;Info: Feature.Navigation is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/Navigation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/Navigation. The item does not exist in Serialization File System Data Store. It has been skipped.&#xA;Perhaps you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/Navigation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Warning: Feature.Navigation had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.Navigation sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 1ms (~2.0ms/item).&#xA;Info:&#xA;Info: Feature.Navigation roles are being synced.&#xA;Info: Feature.Navigation role sync complete.&#xA;Info: Feature.News is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/News. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/News. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/News. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Warning: Feature.News had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.News sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2ms (~2.0ms/item).&#xA;Info:&#xA;Info: Feature.News roles are being synced.&#xA;Info: Feature.News role sync complete.&#xA;Info: Feature.PageContent is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/PageContent. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/PageContent. The item does not exist in Serialization File System Data Store. It has been skipped.&#xA;Perhaps you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/PageContent. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Warning: Feature.PageContent had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.PageContent sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 1ms (~2.0ms/item).&#xA;Info:&#xA;Info: Feature.PageContent roles are being synced.&#xA;Info: Feature.PageContent role sync complete.&#xA;Info: Feature.Search is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/Search. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/Search. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/Search. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Warning: Feature.Search had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.Search sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 1ms (~2.0ms/item).&#xA;Info:&#xA;Info: Feature.Search roles are being synced.&#xA;Info: Feature.Search role sync complete.&#xA;Info: Feature.Social is being synced.&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/templates/Feature/Social. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need&#xA;to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/layout/renderings/Feature/Social. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps&#xA;you need to perform an initial serialization from the control panel?&#xA;Error: Unable to resolve serialized item for included root path master:/sitecore/media library/Feature/Social. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you&#xA;need to perform an initial serialization from the control panel?&#xA;Warning: Feature.Social had no root paths included to sync. If you're only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;Info:&#xA;Info: Feature.Social sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2ms (~2.0ms/item).&#xA;Info:&#xA;Info:&#xA;Info: Project.Habitat.Website sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2ms (~2.0ms/item).&#xA;Info:&#xA;Info: Project.Habitat.Website roles are being synced.&#xA;Info: Project.Habitat.Website role sync complete.&#xA;Info:&#xA;Info: Project.Habitat.Website users are being synced.&#xA;Info: Project.Habitat.Website user sync complete.&#xA;Info:&#xA;Info: Completed.&#xA;At C:\projects\scripts\Unicorn\Unicorn.psm1:43 char:12&#xA;+ ...   $result = Invoke-WebRequest -Uri $url -Headers @{ &quot;X-MC-MAC&quot; = $sig ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException&#xA;    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand&#xA;&#xA;    at ChildProcess.exithandler (child_process.js:206:12)&#xA;    at emitTwo (events.js:106:13)&#xA;    at ChildProcess.emit (events.js:191:7)&#xA;    at maybeClose (internal/child_process.js:877:16)&#xA;    at Socket.&amp;lt;anonymous&amp;gt; (internal/child_process.js:334:11)&#xA;    at emitOne (events.js:96:13)&#xA;    at Socket.emit (events.js:188:7)&#xA;    at Pipe._handle.close [as _onclose] (net.js:498:12)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&#xA;" OwnerUserId="309" LastEditorUserId="2727" LastEditDate="2018-03-09T17:34:05.673" LastActivityDate="2021-11-01T16:17:34.817" Title="Unable to resolve serialized item error during Unicorn sync task while setting up Habitat" Tags="|habitat|" AnswerCount="6" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4322" PostTypeId="2" ParentId="4321" CreationDate="2017-02-10T03:14:32.277" Score="-1" Body="&lt;p&gt;The error in your logs is suggesting to perform the initial serialization from the Unicorn's control panel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Access the Unicorn's control panel from the following path in your website: /Unicorn.aspx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then click on the &quot;Reserialize&quot; button to perform a fresh serialization of the items defined in the Unicorn predicates configuration. This should solve your sync issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, here you can find the Unicorn's documentation: &lt;a href=&quot;https://github.com/kamsar/Unicorn&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/Unicorn&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1399" LastActivityDate="2017-02-10T03:14:32.277" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4323" PostTypeId="2" ParentId="4321" CreationDate="2017-02-10T07:46:50.273" Score="1" Body="&lt;p&gt;Unicorn cannot find your serialized Sitecore items. The two most obvious reasons for this would be:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Either your Unicorn repository root folder is misconfigured. But your stack trace shows Roles being synchronised ok so this is probably less likely&lt;/li&gt;&#xA;&lt;li&gt;You are hitting the &lt;code&gt;path limit&lt;/code&gt; of the Windows file system. This could happen if your Habitat root folder is too deep; like &lt;code&gt;C:\Windows\Users\Profile\Documents and Settings\Visual Studio Projects\Visual Studio 2015\My Local Projects\Habitat&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://github.com/kamsar/Unicorn/issues/17&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/Unicorn/issues/17&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-02-10T07:46:50.273" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4324" PostTypeId="2" ParentId="3997" CreationDate="2017-02-10T09:05:01.010" Score="2" Body="&lt;p&gt;Marketplace in the end is a very convenient way to execute a vetted, tested, set of ARM templates, provides by vendors like Sitecore.  You don't need marketplace to execute ARM templates, quite on the contrary, you can execute your own customized ARM templates through:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the cross platform command line interface&lt;/li&gt;&#xA;&lt;li&gt;powershell&lt;/li&gt;&#xA;&lt;li&gt;or even through the portal, if you go to: &lt;a href=&quot;https://portal.azure.com/#create/Microsoft.Template&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://portal.azure.com/#create/Microsoft.Template&lt;/a&gt; - where you can write / paste your own template&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1511" LastActivityDate="2017-02-10T09:05:01.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4325" PostTypeId="1" AcceptedAnswerId="4326" CreationDate="2017-02-10T09:51:31.773" Score="1" ViewCount="214" Body="&lt;p&gt;I have an engagement plan and there are number of contacts in each state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I programmatically obtain list of contacts which are in specific engagement plan state by state ID?&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="915" LastEditDate="2017-02-10T10:22:32.510" LastActivityDate="2017-02-10T10:22:51.280" Title="How to get list of contacts in specific engagement plan state?" Tags="|xdb|engagement-plans|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4326" PostTypeId="2" ParentId="4325" CreationDate="2017-02-10T10:17:25.817" Score="3" Body="&lt;p&gt;Have just found a method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var pageableContactIds = AutomationManager.Provider.GetEnrolledContactsIdsByStatePaged(engagementPlanStateId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will return an object of type &lt;code&gt;Sitecore.Common.IPageable&amp;lt;ID&amp;gt;&lt;/code&gt; which provides a method &lt;code&gt;.GetAll()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems to work for me.&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="915" LastEditDate="2017-02-10T10:22:51.280" LastActivityDate="2017-02-10T10:22:51.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4327" PostTypeId="1" AcceptedAnswerId="4328" CreationDate="2017-02-10T10:52:42.030" Score="2" ViewCount="2348" Body="&lt;p&gt;I need to apply security setting to a folder in media library. This role should not be able to access any other folder than the assigned one. But the user is a member of another role which has full access to media library. How can we set the access for this user to access only one folder, with out removing him/her from the user group with full access to Media library.&lt;/p&gt;&#xA;" OwnerUserId="1517" LastEditorUserId="73" LastEditDate="2017-02-10T10:59:52.393" LastActivityDate="2017-02-10T14:24:39.810" Title="Media library access settings" Tags="|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4328" PostTypeId="2" ParentId="4327" CreationDate="2017-02-10T11:05:06.480" Score="6" Body="&lt;p&gt;Break the security inheritance on a the root where you want to start (in your case probably media library root)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OEaPH.png&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OEaPH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice I've added read access rights, you have to assign read for the whole path to your nested folder which you want to make available for your user&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then find your folder that you want to make available and set proper rights (example)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qLaF9.png&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qLaF9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now here is how it is going to look in Access Viewer:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EHjCd.png&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EHjCd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;test&lt;/strong&gt; - this is my root (settings from first image)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;a&lt;/strong&gt; - this is my folder that I've made available for user &lt;strong&gt;test&lt;/strong&gt; (settings from second image)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-02-10T11:05:06.480" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4329" PostTypeId="1" AcceptedAnswerId="4330" CreationDate="2017-02-10T13:45:53.897" Score="1" ViewCount="832" Body="&lt;p&gt;Sitecore version: Sitecore.NET 8.1 (rev. 160519)&lt;br&gt;&#xA;WFFM version: Web Forms for Marketers 8.1.rev. 160523&lt;br&gt;&#xA;XM environment&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've configured a login form with WFFM.&lt;br&gt;&#xA;Form Verification: Check User and Password&lt;br&gt;&#xA;Save action: User Login with Password&lt;br&gt;&#xA;And updated the Error messages for each language I have.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/QHnNP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QHnNP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also changed the error message, but when testing it out, I always get:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;We experienced a technical difficulty while processing your request. Your data may not have been correctly saved.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tKyGi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tKyGi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the error log I do see the translated message.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;21492 14:34:15 WARN  Web Forms for Marketers: an exception 'Check FR Fails' has occured while trying to execute an action ''.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why is the error message (Check FR Fails) not shown on the front end?&lt;/strong&gt;&lt;br&gt;&#xA;I have the feeling that I'm missing something here. Perhaps WFFM wasn't installed correctly.   &lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-02-10T14:16:44.130" Title="WFFM Form verification does not show right error message" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4330" PostTypeId="2" ParentId="4329" CreationDate="2017-02-10T14:00:08.320" Score="5" Body="&lt;p&gt;It looks like the setting value &lt;strong&gt;“Exception.HideInner”&lt;/strong&gt; should be set to &quot;false&quot; in the &lt;strong&gt;\App_Config\Include\Sitecore.Forms.config&lt;/strong&gt; in order to display this message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check this community answer: &lt;a href=&quot;https://community.sitecore.net/general/f/16/t/2309&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/general/f/16/t/2309&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="70" LastEditDate="2017-02-10T14:16:44.130" LastActivityDate="2017-02-10T14:16:44.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4331" PostTypeId="1" AcceptedAnswerId="4349" CreationDate="2017-02-10T14:04:09.213" Score="0" ViewCount="166" Body="&lt;p&gt;I have set up a WFFM enquiry form on my website, which works fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;But what I wanted to do is to hide the form &quot;&lt;strong&gt;Introduction&lt;/strong&gt;&quot; block, when it is submitted.&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an out-of-the-box way to do that?&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-02-11T15:10:27.453" Title="WFFM Hide introduction" Tags="|wffm|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4332" PostTypeId="2" ParentId="4327" CreationDate="2017-02-10T14:24:39.810" Score="0" Body="&lt;p&gt;I would question your governance model here. If a user is a member of a role that has full access to the media library, why do you want to restrict them from access to the full media library? It sounds like they shouldn't be part of that role. Conversely, if you break inheritance to solve this scenario, that means that users that are supposed to have full access to the media library won't be able to access this new folder. Break inheritance is the way to go for your specific question, but the model seems wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Suggested security model&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;A user with both roles should have access to all, thanks to their 'uber media' role.&lt;/li&gt;&#xA;&lt;li&gt;A user with just this new role should only see the new folder, not everything. In this case the user in your question should have their 'uber media' role removed.&lt;/li&gt;&#xA;&lt;li&gt;A user with just the 'uber media' role would see the new folder because they have god mode.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This model assumes your existing role is a 'full access' role as you described, intended to always see everything. You do not need to break inheritance in this model as you will just apply the new role to the new folder and users will naturally inherit permissions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Elevated access model&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if this new folder is supposed to be an 'elevated' permission (i.e. most users shouldn't see it, only super-media-admins) then you would need a different model:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;A user with both roles should have access to all, thanks to a combo of their 'super-media-admin' role for the new folder and their 'normal-media-guy' role.&lt;/li&gt;&#xA;&lt;li&gt;A user with just this new 'super-media-admin' role should only see the new folder, not everything. This would mean removing your user from the original role.&lt;/li&gt;&#xA;&lt;li&gt;A user with just the 'normal-media-guy' role would would see everything but the elevated folder because they are missing the elevated role permission.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In the secondary 'elevated' model, you can use @Alan Płócieniak 's answer to achieve the separation of permission.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-02-10T14:24:39.810" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4333" PostTypeId="1" AcceptedAnswerId="4341" CreationDate="2017-02-10T14:59:14.043" Score="3" ViewCount="762" Body="&lt;p&gt;I've been searching a good bit on Google and can't find an answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm accustomed to using the Profiler output to determine which controls are under performing and optimizing them. Usually I turn these on by logging in and hitting the page using the ?sc_prof=1, sc_trace=1, sc_debug=1 query string parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On most of my sites, this enables the Profile output at the bottom of the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But on one of them, I get nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a control I need to include in the layout, or a setting in the configuration files that enables the profiler?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far I've,&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ensured I was logged in&lt;/li&gt;&#xA;&lt;li&gt;compared the layout aspx files between a working site and the non-working site, but did not see anything that jumped out&lt;/li&gt;&#xA;&lt;li&gt;compared the site configuration for the working site and the non-working site, but didn't see anything&lt;/li&gt;&#xA;&lt;li&gt;searched App_Config for &quot;profiling&quot; and &quot;profile&quot; and &quot;debug&quot; but didn't see anything promising&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="74" LastActivityDate="2017-02-10T20:07:01.723" Title="Enable Performance Profiler Output" Tags="|performance-profiling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4334" PostTypeId="1" AcceptedAnswerId="4335" CreationDate="2017-02-10T15:25:37.810" Score="0" ViewCount="1637" Body="&lt;p&gt;I have a multi line text field. It contains some embed code (script tags). If the content editor this works fine. But in the Experience Editor, saving the page strips the script's tags from this field. I know there is a setting for this on the Rich Text Editor, but this is a multi line text field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my markup:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;&#xA;    @Html.Raw(Model.EmbedCode)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Editing is accomplished with a custom experience editor button, so it opens a dialog which allows the user to edit the script. After editing this field, when you save the page, it strips script tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is in Sitecore 8.0 Update 6.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="70" LastEditDate="2019-03-19T16:47:29.833" LastActivityDate="2022-02-28T06:34:49.633" Title="Experience Editor strips script tags from multiline text field" Tags="|experience-editor|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="4335" PostTypeId="2" ParentId="4334" CreationDate="2017-02-10T16:15:34.707" Score="4" Body="&lt;p&gt;In a similar situation (on 8.1 however) we were forced to change the field to a single-line text field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently there is a bug in the multi-line text that &quot;might&quot; clear the data when saving in the experience editor - in our case it was also when entering html data. A bugfix is made available (&lt;a href=&quot;http://kb.sitecore.net/articles/148401&quot; rel=&quot;nofollow noreferrer&quot;&gt;kb.sitecore.net/articles/148401&lt;/a&gt;) but we didn't test it so it might not fix your issue (the bugfix is for 8.1 as well).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you need a quick solution, change the field type to single line.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-10T16:15:34.707" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4336" PostTypeId="1" AcceptedAnswerId="4337" CreationDate="2017-02-10T16:49:32.533" Score="2" ViewCount="732" Body="&lt;p&gt;Our site is set up so certain content is protected to logged-in users only. We're using WFFM to do the login form with the login save action, and the user pool is in a custom domain instead of the standard &quot;extranet&quot; domain that ships with Sitecore. The client is reporting that they aren't seeing any data from logged in users, but it seems to continue tracking people as anonymous users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we're using a custom domain, is there something extra that needs to be done for analytics to track those users? Is there another possible reason why analytics wouldn't switch from tracking a user as anonymous to tracking them as logged in?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-02-10T19:30:51.877" Title="Sitecore analytics not tracking logged-in users" Tags="|xdb|wffm|experience-analytics|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4337" PostTypeId="2" ParentId="4336" CreationDate="2017-02-10T18:01:47.427" Score="8" Body="&lt;p&gt;Just because you are logged in does not mean it will treat the user as a contact in xDB. You should check out &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/identifying_contacts&quot;&gt;&lt;strong&gt;how to identify contacts&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key being to call &lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.Identify(identifier)&lt;/code&gt;, where &lt;code&gt;identfier&lt;/code&gt; is the username or email.&lt;/p&gt;&#xA;" OwnerUserId="1477" LastEditorUserId="104" LastEditDate="2017-02-10T19:30:51.877" LastActivityDate="2017-02-10T19:30:51.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4338" PostTypeId="1" CreationDate="2017-02-10T18:23:28.727" Score="2" ViewCount="446" Body="&lt;p&gt;I'm attempting to deploy a Sitecore app to Azure App Services using the Sitecore Azure Toolkit (rev 161125).  I am able to successfully deploy using the xp0 WebDeploy package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I'm having an issue deploying a custom built package, I get an error at the database installation step (including only the error line):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The element [sitecore] cannot be deployed. This element contains state that cannot be recreated in the target database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm using the following command to build&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Start-SitecoreAzurePackaging -sitecorePath &quot;C:\inetpub\wwwroot\{projectName}&quot; -destinationFolderPath &quot;C:\azure&quot; -cargoPayloadFolderPath &quot;.\resources\8.2.1\cargopayloads&quot; -commonConfigPath &quot;.\resources\8.2.1\configs\common.packaging.config.json&quot; -skuConfigPath &quot;.\resources\8.2.1\configs\xp0.packaging.config.json&quot; -archiveAndParameterXmlPath &quot;.\resources\8.2.1\msdeployxmls&quot; -Verbose&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The installation is using Sitecore 8.2 Update-1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have any ideas? I'm quite familiar with Sitecore, but am new to Azure.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="73" LastEditDate="2017-02-11T01:34:23.133" LastActivityDate="2017-02-11T01:34:23.133" Title="Azure App Services Deployment Failure" Tags="|azure|deployment|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4339" PostTypeId="2" ParentId="4338" CreationDate="2017-02-10T18:27:57.857" Score="1" Body="&lt;p&gt;You might want to replace that path by the original Sitecore rootfolder zip. This command creates a webdeploy package from an exisiting sitecore zip package and al the cargo's that you specify. For more info, see &lt;a href=&quot;https://blog.baslijten.com/sitecore-8-2-update-1-azure-deployments-arm-web-deploy-and-the-sitecore-azure-toolkit/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.baslijten.com/sitecore-8-2-update-1-azure-deployments-arm-web-deploy-and-the-sitecore-azure-toolkit/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[edited]&#xA;To see how you can use the Sitecore Azure Toolkit to create packages for on-premises deployments, please see &lt;a href=&quot;https://blog.baslijten.com/use-the-sitecore-azure-toolkit-to-deploy-your-on-premises-environment/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.baslijten.com/use-the-sitecore-azure-toolkit-to-deploy-your-on-premises-environment/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sitecorePath doesn't work currently (as far as I know)&lt;/p&gt;&#xA;" OwnerUserId="71" LastEditorUserId="71" LastEditDate="2017-02-10T22:09:02.837" LastActivityDate="2017-02-10T22:09:02.837" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4340" PostTypeId="1" CreationDate="2017-02-10T19:38:11.850" Score="2" ViewCount="717" Body="&lt;p&gt;I'm encountering a problem that appears to be caused because I have a folder that contains both a wildcard item, and an item with a space in the name.  When I have an item with no space in it, it resolves just fine, but as soon as that space is in there, it starts trying to resolve it via the wildcard item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this blog article, which discusses this exact issue: &lt;a href=&quot;https://ggullentops.blogspot.com/2016/01/sitecore-81-encode-name-replacements.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2016/01/sitecore-81-encode-name-replacements.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The blog article mentions that there is a support fix out there to resolve this, but for the life of me I can't find it.  I don't think updating our version of Sitecore is in the cards just yet, so I think this is my best option... if I could find it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone out there help point me in the right direction?  Or perhaps knows of another solution I haven't stumbled across yet?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1520" LastActivityDate="2017-02-14T15:36:00.447" Title="EncodeNameReplacements wildcard replacement happening before space-to-hyphen replacement" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4341" PostTypeId="2" ParentId="4333" CreationDate="2017-02-10T20:07:01.723" Score="1" Body="&lt;p&gt;Figured it out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looked in /sitecore/admin/showconfig.aspx to see the fully merged configuration and saw that the working site had additional attributes on the site node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added the following attributes to the other site nodes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;allowDebug=&quot;true&quot;&lt;/li&gt;&#xA;&lt;li&gt;enableDebugger=&quot;true&quot;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Apparently I was doing a case-sensitive search when I was grepping for &quot;debug&quot; in the configuration earlier. &lt;em&gt;FACEPALM&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="74" LastActivityDate="2017-02-10T20:07:01.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4342" PostTypeId="1" AcceptedAnswerId="4344" CreationDate="2017-02-10T20:46:28.163" Score="2" ViewCount="586" Body="&lt;p&gt;So I am faced with a challenge. I need to create a REST Services that will allow me to serialize Sitecore tree from outside the Sitecore. Is there some kind of service like this in place? Or this need to custom made? If yes, could please provide resources or steps that should be taken to create this. Ultimate goal is to hit the URL &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;(something.com/sitecore/serialize&amp;amp;database=master&amp;amp;user=admin&amp;amp;password=pass)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Something like this.&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="73" LastEditDate="2017-02-11T01:33:56.383" LastActivityDate="2020-09-25T08:38:05.763" Title="Run serialize command from outside the Sitecore as a service" Tags="|webapi|serialization|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4343" PostTypeId="1" AcceptedAnswerId="4378" CreationDate="2017-02-10T21:00:23.653" Score="2" ViewCount="930" Body="&lt;p&gt;I'm working in an 8.1 (rev. 151207) instance. I have WFFM installed for the current version. In my production delivery instance I am getting an error when trying to use the file uploader but only when a file is attached to that field. The error notes that there isn't a reference to the master database. I thought that setting the WFM.MasterDatabase setting to the delivery server's database on the delivery server would resolve this issue. For some reason I'm still getting that same error though. Is there a different way to tell the file uploader to target a specific database?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's also worth noting that items are created in the database specified but they have no versions in any language (the form is being filled out on a site that has a default language set to German).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I saw some mentions of needing an additional connection string for people running into a similar issue but it seems that this dependency was removed in 8.0 update 2 (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Downloads/Web%20Forms%20For%20Marketers/Web%20Forms%20for%20Marketers%2080/Release%20Notes.aspx#update2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Downloads/Web%20Forms%20For%20Marketers/Web%20Forms%20for%20Marketers%2080/Release%20Notes.aspx#update2&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error in logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;5444 05:12:00 WARN  [WFFM] Exception has been thrown by the target of an invocation.&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)&#xA;   at Sitecore.Reflection.ReflectionUtil.SetProperty(Object obj, String name, Object value)&#xA;   at Sitecore.Configuration.Factory.AssignProperties(Object obj, Object[] properties)&#xA;   at Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Search.SearchManager.get_SearchConfiguration()&#xA;   at Sitecore.Data.Managers.IndexingManager.UpdateIndexAsync(Database database)&#xA;   at Sitecore.MainUtil.RaiseEvent[T](EventHandler`1 subscribers, Object sender, T eventArgs)&#xA;   at Sitecore.Data.Engines.HistoryEngine.RegisterItemCreated(Item item)&#xA;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;   at Sitecore.Data.Engines.DataCommands.CreateItemCommand.Executed()&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.CreateItem(String itemName, Item destination, ID templateId, ID newId)&#xA;   at Sitecore.Data.Managers.ItemProvider.CreateItem(String itemName, Item destination, ID templateId, ID newId, SecurityCheck securityCheck)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.&amp;lt;&amp;gt;c__DisplayClass13.&amp;lt;CreateItem&amp;gt;b__12()&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.ItemManager.CreateItem(String itemName, Item destination, ID templateId, ID newId, SecurityCheck securityCheck)&#xA;   at Sitecore.Data.Managers.ItemManager.CreateItem(String itemName, Item destination, ID templateId, ID newId)&#xA;   at Sitecore.Nexus.Data.DataCommands.AddFromTemplateCommand.(String , Item , ID , ID )&#xA;   at Sitecore.Data.Engines.DataCommands.AddFromTemplateCommand.DoExecute()&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.AddFromTemplate(String itemName, ID templateId, Item destination, ID newId)&#xA;   at Sitecore.Data.Managers.ItemProvider.AddFromTemplate(String itemName, ID templateId, Item destination, ID newId)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;AddFromTemplate&amp;gt;b__2()&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.ItemManager.AddFromTemplate(String itemName, ID templateId, Item destination, ID newItemId)&#xA;   at Sitecore.Data.Managers.ItemManager.AddFromTemplate(String itemName, ID templateId, Item destination)&#xA;   at Sitecore.Data.Items.Item.Add(String name, TemplateID templateID)&#xA;   at Sitecore.Data.Items.Item.Add(String name, TemplateItem template)&#xA;   at Sitecore.Resources.Media.MediaCreator.CreateItem(String itemPath, String filePath, MediaCreatorOptions options)&#xA;   at Sitecore.Resources.Media.MediaCreator.AttachStreamToMediaItem(Stream stream, String itemPath, String fileName, MediaCreatorOptions options)&#xA;   at Sitecore.Resources.Media.MediaCreator.CreateFromStream(Stream stream, String filePath, MediaCreatorOptions options)&#xA;   at Sitecore.Form.Core.Media.MediaUploaderEx.UploadToDatabase(List`1 list)&#xA;   at Sitecore.Form.Core.Media.MediaUploaderEx.Upload()&#xA;   at Sitecore.Form.Core.Pipelines.FormUploadFile.Save.Process(FormUploadFileArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Form.UI.Adapters.FileUploadAdapter.AdaptResult(IFieldItem field, Object value)&#xA;   at Sitecore.Form.Core.Utility.FieldReflectionUtil.GetAdaptedResult(ID fieldID, Object value)&#xA;   at Sitecore.WFFM.Abstractions.Actions.AdaptedControlResult..ctor(ControlResult result, IFieldProvider fieldProvider, Boolean simpleAdapt)&#xA;   at Sitecore.Forms.Core.Dependencies.DefaultImplActionExecutor.&amp;lt;&amp;gt;c__DisplayClass25.&amp;lt;AdaptResult&amp;gt;b__24(ControlResult result)&#xA;   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()&#xA;   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&#xA;   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)&#xA;   at Sitecore.Forms.Core.Dependencies.DefaultImplActionExecutor.AdaptResult(IEnumerable`1 list, Boolean simpleAdapt)&#xA;   at Sitecore.Forms.Core.Dependencies.DefaultImplActionExecutor.ExecuteSaving(ID formID, ControlResult[] fields, IActionDefinition[] actionDefinitions, Boolean simpleAdapt, ID sessionID)&#xA;   at Sitecore.Form.Core.FormDataHandler.ExecuteSaveActions(ID formId, ControlResult[] fields, IActionDefinition[] actions, IActionExecutor actionExecutor)&#xA;   at Sitecore.Form.Core.FormDataHandler.ProcessData(ID formID, ControlResult[] fields, IActionDefinition[] actions, IActionExecutor actionExecutor)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Could not find configuration node: databases/database[@id='master']&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.IsTrue(Boolean condition, String message)&#xA;   at Sitecore.Configuration.Factory.GetConfigNode(String xpath, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.GetDatabase(String name)&#xA;   at Sitecore.Search.Crawlers.DatabaseCrawler.set_Database(String value)&#xA;&#xA;&#xA;5444 05:12:00 WARN  [WFFM] Web Forms for Marketers: an exception: Exception has been thrown by the target of an invocation. has occured while trying to execute an action.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-02-10T21:09:01.803" LastActivityDate="2017-02-13T19:30:50.883" Title="Sitecore WFFM File Upload no Master DB" Tags="|wffm|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4344" PostTypeId="2" ParentId="4342" CreationDate="2017-02-10T21:07:06.583" Score="3" Body="&lt;p&gt;There isn't anything OOTB that will allow you to hit a rest service. You have a couple of options:&lt;/p&gt;&#xA;&lt;h3&gt;Sitecore PowerShell Extensions&lt;/h3&gt;&#xA;&lt;p&gt;You could use Sitecore PowerShell Extensions remoting to do that fairly easily.&#xA;Syntax to serialize an item is:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;serialize-item -path &amp;quot;master:\content&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;If you want children included, then:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;get-childitem &amp;quot;master:\content\home&amp;quot; -recurse | where-object { $_.&amp;quot;__Created By&amp;quot; -eq &amp;quot;sitecore\admin&amp;quot; } | serialize-item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So using SPE remoting you could do something like:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Set-SitecoreConfiguration –SitecoreHost 'http://hostname' `&#xA;    -User 'admin' –Password 'b'&#xA;$path= &amp;quot;master:\content\home&amp;quot;&#xA;Invoke-SitecoreScript –Command { Serialize-Item $params.scPath }`&#xA;    -Params @{ scPath = $path}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;Custom REST Service&lt;/h3&gt;&#xA;&lt;p&gt;If you can't use SPE - then your other option would be to write your own rest service that takes in the path to serialize and some credentials. You can use the &lt;code&gt;Serialization&lt;/code&gt; API in Sitecore to do this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public void SerializeItem(string itemId)&#xA;{&#xA;    if (Sitecore.Data.ID.IsID(itemId))&#xA;    {&#xA;        Database masterDB = Sitecore.Configuration.Factory.GetDatabase(&amp;quot;master&amp;quot;);&#xA;        Item item = masterDB.GetItem(Sitecore.Data.ID.Parse(itemId));&#xA;        if (item != null)&#xA;        {&#xA;            Sitecore.Data.Serialization.Manager.DumpItem(item);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Credits:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.bugdebugzone.com/2014/05/serialize-content-item-programmatically.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Serialize Item&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.najmanowicz.com/2014/10/10/sitecore-powershell-extensions-remoting/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SPE Remoting&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-10T21:07:06.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4345" PostTypeId="1" CreationDate="2017-02-10T21:11:00.560" Score="1" ViewCount="401" Body="&lt;p&gt;I'm trying to créate a carousel and i have a &lt;code&gt;PlayerCard&lt;/code&gt; model that will work as a slide for my carousel. Then i have an interface &lt;code&gt;ICarousel&lt;/code&gt; that has the main fields of the carousel and a &lt;code&gt;PlayersCarousel&lt;/code&gt; that will implement the interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{5B0B5442-D005-49A1-84DD-56788DCCD315}&quot;)]&#xA;    public class PlayersCarousel : SitecoreGlassMap&amp;lt;ICarouselV2&amp;gt;&#xA;    {&#xA;        public virtual IEnumerable&amp;lt;PlayerCard&amp;gt; Items { get; set; }&#xA;        public override void Configure()&#xA;        {&#xA;            Map(x=&amp;gt; x.AutoMap());&#xA;        }&#xA;    }&#xA;&#xA;    public interface ICarouselV2&#xA;    {&#xA;        string BackgroundColor { get; set; }&#xA;        bool IsArrowHidden { get; set; }&#xA;        bool IsBulletHidden { get; set; }&#xA;        int AnimationTime { get; set; }&#xA;        int ItemsPerSlide { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, the &lt;code&gt;PlayerCard&lt;/code&gt; is an ítem on sitecore that is mapped to a view rendering (named &lt;code&gt;Player Card&lt;/code&gt;).&#xA;The razor view &lt;code&gt;PlayersCarousel.cshtml&lt;/code&gt; will have this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits GlassView&amp;lt;PlayersCarousel&amp;gt;&#xA;@using ConexioFC.Models&#xA;&#xA;@*------ I don't know what goes here--------*@&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My question is how do i map the &lt;code&gt;Ítems&lt;/code&gt; property of &lt;code&gt;PlayersCarousel&lt;/code&gt; with the view rendering &lt;code&gt;Player Card&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Glass.Mapper v4 with all this.&lt;/p&gt;&#xA;" OwnerUserId="1462" LastActivityDate="2017-02-13T13:50:40.450" Title="Map class property to view rendering on razor view?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4347" PostTypeId="2" ParentId="4343" CreationDate="2017-02-11T00:04:26.707" Score="0" Body="&lt;p&gt;Sounds like WFFM scaling configuration issue, try checking the WFFM installation guide again especially around IsRemoteAction and the remote event handler configuration between CM and CD&lt;/p&gt;&#xA;" OwnerUserId="849" LastActivityDate="2017-02-11T00:04:26.707" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4348" PostTypeId="2" ParentId="4342" CreationDate="2017-02-11T00:05:00.407" Score="3" Body="&lt;h2&gt;Sitecore PowerShell Extensions - Web API&lt;/h2&gt;&#xA;&lt;p&gt;As pointed out by Richard, SPE comes with some ways to do this.&#xA;You can find more details about the latest version of SPE Remoting &lt;a href=&quot;https://doc.sitecorepowershell.com/remoting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;For now we will stick the Web API option which will give you a url similar to that in your example.&lt;/p&gt;&#xA;&lt;p&gt;Here are some steps to get you going:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install SPE 4.3+.&lt;/li&gt;&#xA;&lt;li&gt;Enable the Web API service &lt;a href=&quot;https://doc.sitecorepowershell.com/security.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;RESTful v2&lt;/a&gt; using a configuration patch. You'll be happy to know that it's disabled by default.&lt;/li&gt;&#xA;&lt;li&gt;Create a new &lt;a href=&quot;https://doc.sitecorepowershell.com/modules.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;module&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecorepowershell.com/integration-points.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;integration point&lt;/a&gt; library called &lt;a href=&quot;https://doc.sitecorepowershell.com/web-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Web API&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Create a new script called &lt;em&gt;Serialize&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Add your script to serialize items using the &lt;code&gt;Export-Item&lt;/code&gt; &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/commands/Export-Item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;command&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Query using the api url.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wqypp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wqypp.png&quot; alt=&quot;Sample Response&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following url assumes the admin user is authorized to login to Sitecore and execute against the v2 REST API.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;http://testspe/-/script/v2/master/serialize?user=sitecore\admin&amp;amp;password=b&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Here's a picture to help with the above instructions:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/BPOB3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BPOB3.png&quot; alt=&quot;Script&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following exports all of the descendants of the home item.&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-Childitem &amp;quot;master:\content\home&amp;quot; -Recurse | &#xA;    Where-Object { $_.&amp;quot;__Created By&amp;quot; -eq &amp;quot;sitecore\admin&amp;quot; } | &#xA;    Export-Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;Note:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Web API uses the &lt;em&gt;restfulv2&lt;/em&gt; service.&lt;/li&gt;&#xA;&lt;li&gt;SPE Remoting uses the &lt;em&gt;remoting&lt;/em&gt;, &lt;em&gt;fileUpload&lt;/em&gt;, &lt;em&gt;fileDownload&lt;/em&gt;, &lt;em&gt;mediaUpload&lt;/em&gt;, &lt;em&gt;mediaDownload&lt;/em&gt; services.&lt;/li&gt;&#xA;&lt;li&gt;The module in the script library needs to be enabled otherwise you'll recieve a 404 error. Notice how X-Demo shows a jar with a bean while others above have an x.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2020-09-25T08:38:05.763" LastActivityDate="2020-09-25T08:38:05.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4349" PostTypeId="2" ParentId="4331" CreationDate="2017-02-11T02:57:08.860" Score="1" Body="&lt;p&gt;I just tried this in a fresh sitecore 8.1 Update-3 instance using WFFM 8.1 Update-3 and the introduction block is getting hidden when I submit the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just created a simple form with a basic HTML introduction:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fc3S1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fc3S1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how my form is rendered on the page before submitting it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UPfAi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UPfAi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the submission, the entire form component is replaced by the success message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MytLP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MytLP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1399" LastActivityDate="2017-02-11T02:57:08.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4351" PostTypeId="2" ParentId="4345" CreationDate="2017-02-11T07:19:56.163" Score="2" Body="&lt;p&gt;I am assuming that you are looking for a way of mapping sub-items of a particular parent in the tree. You can use &lt;strong&gt;Sitecore query&lt;/strong&gt; for mapping your &lt;code&gt;Items&lt;/code&gt; property:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreQuery(&quot;./*[@@templateid='tid']&quot;, IsRelative = true)]&#xA;public virtual IEnumerable&amp;lt;PlayerCard&amp;gt; Items { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please, check this Glass tutorial for more details: &lt;a href=&quot;http://www.glass.lu/Blog/GettingChildItems&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/Blog/GettingChildItems&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Edit&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can iterate though your items in the view like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;my-component&quot;&amp;gt;&#xA;    @foreach(var item in Model.Items)&#xA;    {  &#xA;        &amp;lt;div class=&quot;component-item-body&quot;&amp;gt;&#xA;            &amp;lt;p&amp;gt;@item.Text&amp;lt;/p&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    }&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2017-02-13T13:50:40.450" LastActivityDate="2017-02-13T13:50:40.450" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4353" PostTypeId="1" CreationDate="2017-02-11T11:35:36.177" Score="1" ViewCount="2717" Body="&lt;p&gt;I'm trying to set a validation rule for max.length on a text field. The following code works. For the related item, if the text entered is more than 100 chars., it shows the sitecore validation messages.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in the content editor, if I click on Validate button in the Review section, a dialog pops up with an error.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application. The constructor to deserialize an&#xA;  object of type 'MySite.Validations.StringLengthValidator' was not&#xA;  found.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If, I uncomment the constructors, then on clicking validate, there is no error and it shows the validation dialog. But the max. length validation does not apply at all. No validation messages when the text &gt; 100.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.0 with MVC&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;    public class StringLengthValidator : StandardValidator&#xA;    {&#xA;        //public StringLengthValidator()&#xA;        //{&#xA;&#xA;        //}&#xA;&#xA;        //public StringLengthValidator(SerializationInfo info, StreamingContext context) : base(info, context)&#xA;        //{&#xA;&#xA;        //}&#xA;&#xA;        public const Int32 MaxStringLength = 100; // Change me&#xA;&#xA;        protected override ValidatorResult Evaluate()&#xA;        {&#xA;            if (!String.IsNullOrEmpty(base.ControlValidationValue))&#xA;            {&#xA;                if (base.ControlValidationValue.Length &amp;gt; MaxStringLength)&#xA;                {&#xA;                    base.Text = base.GetText(&quot;The field '{0}' exceeds the maximum string length of {1}&quot;, new String[]{&#xA;                        base.GetFieldDisplayName(),&#xA;                        MaxStringLength.ToString()&#xA;                    });&#xA;&#xA;                    return base.GetFailedResult(ValidatorResult.Error);&#xA;                }&#xA;            }&#xA;&#xA;            return ValidatorResult.Valid;&#xA;        }&#xA;&#xA;        protected override ValidatorResult GetMaxValidatorResult()&#xA;        {&#xA;            return base.GetFailedResult(ValidatorResult.Error);&#xA;        }&#xA;&#xA;        public override String Name&#xA;        {&#xA;            get { return String.Format(&quot;Must be {0} or fewer characters&quot;, MaxStringLength); }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2022-11-24T22:27:29.953" Title="The constructor to deserialize an object of type is not found" Tags="|validation|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4354" PostTypeId="2" ParentId="4343" CreationDate="2017-02-11T11:36:46.763" Score="2" Body="&lt;p&gt;To use the WFFM module in multiserver environments, follow the instructions form the installation guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuring the CM Server&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the CM server:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;On only one of the CM servers, in the &lt;code&gt;App_Config\Include\Sitecore.Forms.config&lt;/code&gt; file,&#xA;in the &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; section, check that the following node is included:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--HOOKS--&amp;gt;&#xA;&amp;lt;hooks&amp;gt;&#xA;  &amp;lt;!--remote events hook--&amp;gt;&#xA;  &amp;lt;hook type=&quot;Sitecore.Form.Core.WffmActionHook, Sitecore.Forms.Core&quot;/&amp;gt;&#xA;&amp;lt;/hooks&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;In the &lt;code&gt;App_Config\Include\Sitecore.Forms.config&lt;/code&gt; file, in the &lt;code&gt;&amp;lt;events&amp;gt;&lt;/code&gt; section, check that the following node is included:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--Remote events handler--&amp;gt;&#xA;&amp;lt;event name=&quot;wffm:action:remote&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Form.Core.WffmActionHandler, Sitecore.Forms.Core&quot;&#xA;method=&quot;OnWffmActionEventFired&quot; &amp;gt;&#xA;    &amp;lt;param name=&quot;actionManager&quot; ref=&quot;/sitecore/wffm/wffmActionExecutor&quot; /&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;On each CM server, in the &lt;code&gt;Sitecore.Forms.config&lt;/code&gt; file, in the &lt;code&gt;&amp;lt;settings&amp;gt;&lt;/code&gt; section, check that it does not contain the following information:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;WFM.IsRemoteActions&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuring the CD server&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On all the CD servers: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;\Website\App_Config\Include\Sitecore.Forms.Config&lt;/code&gt;&#xA;file, remove or disable the following sections:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; section, remove:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!—HOOKS--&amp;gt;&#xA;&amp;lt;hooks&amp;gt;&#xA;  &amp;lt;!—remote events hook--&amp;gt;&#xA;  &amp;lt;hook type=&quot;Sitecore.Form.Core.WffmActionHook, Sitecore.Forms.Core&quot;/&amp;gt;&#xA; &amp;lt;hooks&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;&amp;lt;events&amp;gt;&lt;/code&gt; section, remove:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--Remote events handler--&amp;gt;&#xA;&amp;lt;event name=&quot;wffm:action:remote&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Form.Core.WffmActionHandler, Sitecore.Forms.Core&quot;&#xA;method=&quot;OnWffmActionEventFired&quot; &amp;gt;&#xA;    &amp;lt;param name=&quot;actionManager&quot; ref=&quot;/sitecore/wffm/wffmActionExecutor&quot; /&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;\Website\App_Config\Include\Sitecore.Forms.Config&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the following node to the  section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;WFM.IsRemoteActions&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Configure the following node according to the name of the c0nnection string related to the target database. For example “web”.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;WFM.MasterDatabase&quot; value=&quot;web&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: this information can be entirely found in the installation guide - copied here for future guidance. I would advice you to read and follow the install manual.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-11T11:36:46.763" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4355" PostTypeId="2" ParentId="4353" CreationDate="2017-02-11T12:01:23.643" Score="3" Body="&lt;p&gt;As mentioned in the comments, the constructors are mandatory. You are inheriting from &lt;code&gt;StandardValidator&lt;/code&gt; which ultimately inherits from a class implementing &lt;code&gt;ISerializable&lt;/code&gt;. On this we know:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The ISerializable interface implies a constructor with the signature&#xA;  constructor (SerializationInfo information, StreamingContext context).&#xA;  At deserialization time, the current constructor is called only after&#xA;  the data in the SerializationInfo has been deserialized by the&#xA;  formatter. In general, this constructor should be protected if the&#xA;  class is not sealed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.runtime.serialization.iserializable(v=vs.110).aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;ISerializable Interface&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At a glance, the rest of your implementation looks ok. Which then must mean, the likely reason you are not getting the validation errors you are expecting is in the wiring. For any ideas on that, you would need to share your configuration setup of this validator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.habaneroconsulting.com/insights/creating-a-custom-field-validator-in-sitecore#.WJ747jvysuU&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating a custom field validator in Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.building-blocks.com/technical-tips/creating-a-custom-sitecore-field-validator-in-twenty-minutes&quot; rel=&quot;nofollow noreferrer&quot;&gt;CREATING A CUSTOM SITECORE FIELD VALIDATOR IN TWENTY MINUTES&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-02-11T12:01:23.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4356" PostTypeId="2" ParentId="4331" CreationDate="2017-02-11T15:10:27.453" Score="0" Body="&lt;p&gt;If you can't get around the bug. I would just use a jQuery show/hide function. You should be able to get the name or id of the field once it is rendered and plug that in your function.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like this on document.ready or submit. You might have to target it a little different, but I know show hide works with WFFM since I have had hidden fields before on the forms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;$(&quot;.wffmfield&quot;).hide();&lt;/p&gt;&#xA;&#xA;&lt;p&gt;$(&quot;.wffmfield&quot;).show();&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-02-11T15:10:27.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4358" PostTypeId="1" AcceptedAnswerId="4359" CreationDate="2017-02-12T09:37:31.390" Score="14" ViewCount="3901" Body="&lt;p&gt;Prior to Sitecore 8.2 the &lt;strong&gt;Sitecore.Kernel.dll&lt;/strong&gt; version was the same as the version of the product I was using, however, from 8.2 the dll version seems to be ambiguous, like 10.0.3.309.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Is there a way to identify the Sitecore version by dlls in the bin folder starting from 8.2?&lt;/em&gt; &lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="73" LastEditDate="2020-10-16T12:18:24.070" LastActivityDate="2023-09-07T15:58:31.330" Title="Can you identify the Sitecore version from the Sitecore.Kernel.dll version?" Tags="|configuration|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4359" PostTypeId="2" ParentId="4358" CreationDate="2017-02-12T09:55:00.120" Score="30" Body="&lt;p&gt;With Sitecore 8.2 Initial release, you could open the properties of a Sitecore.Kernel.dll, go to the Details tab, and the &amp;quot;Product Version&amp;quot; field contained the revision number (rev. 160729) that you could look up on &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;this page&lt;/strong&gt;&lt;/a&gt;. Unfortunately, this is no longer an option with 8.2 Update 1 and 8.2 Update 2.&lt;/p&gt;&#xA;&lt;p&gt;So here's the mapping of the &lt;strong&gt;Sitecore.Kernel.dll&lt;/strong&gt; versions since 8.2 that exist to date:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;17.0.50.0 - 10.2.1 rev 01366.16252 (Update 1)&lt;/li&gt;&#xA;&lt;li&gt;17.0.0.0 - 10.2 rev. 006766 (Initial Release)&lt;/li&gt;&#xA;&lt;li&gt;?&lt;/li&gt;&#xA;&lt;li&gt;15.0.1.0 - 10.0 rev. 004842 (Update 1)&lt;/li&gt;&#xA;&lt;li&gt;15.0.0.0 - 10.0 rev. 004346 (Initial Release)&lt;/li&gt;&#xA;&lt;li&gt;14.0.0.0 - 9.3 rev. 003498 (Initial Release)&lt;/li&gt;&#xA;&lt;li&gt;13.0.0.0 - 9.2 rev. 002893 (Initial Release)&lt;/li&gt;&#xA;&lt;li&gt;12.0.1.0 - 9.1 rev. 002459 (Update 1)&lt;/li&gt;&#xA;&lt;li&gt;12.0.0.0 - 9.1 rev. 001564 (Initial Release)&lt;/li&gt;&#xA;&lt;li&gt;11.1.2.461 - 9.0 rev. 180604 (Update 2)&lt;/li&gt;&#xA;&lt;li&gt;11.1.1.395 - 9.0 rev. 171219 (Update 1)&lt;/li&gt;&#xA;&lt;li&gt;11.1.0.369 - 9.0 rev. 171002 (Initial Release)&lt;/li&gt;&#xA;&lt;li&gt;10.0.9.605 — 8.2 rev. 180406 (Update 7)&lt;/li&gt;&#xA;&lt;li&gt;10.0.8.560 — 8.2 rev. 171121 (Update 6)&lt;/li&gt;&#xA;&lt;li&gt;10.0.7.479 — 8.2 rev. 170728 (Update 5)&lt;/li&gt;&#xA;&lt;li&gt;10.0.6.427 — 8.2 rev. 170614 (Update 4)&lt;/li&gt;&#xA;&lt;li&gt;10.0.5.377 — 8.2 rev. 170407 (Update 3)&lt;/li&gt;&#xA;&lt;li&gt;10.0.4.315 — 8.2 rev. 161221 (Update 2)&lt;/li&gt;&#xA;&lt;li&gt;10.0.3.309 — 8.2 rev. 161115 (Update 1)&lt;/li&gt;&#xA;&lt;li&gt;10.0.0.5597 — 8.2 rev. 160729 (Initial Release)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Newer versions of Sitecore should be added to the top as they are officially released.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="432" LastEditDate="2023-09-07T15:58:31.330" LastActivityDate="2023-09-07T15:58:31.330" CommentCount="4" CommunityOwnedDate="2018-07-05T14:09:29.660" ContentLicense="CC BY-SA 4.0" />
  <row Id="4360" PostTypeId="2" ParentId="3666" CreationDate="2017-02-12T14:07:39.577" Score="1" Body="&lt;p&gt;My guess is you have disabled &lt;code&gt;Sitecore.Analytics.RobotDetection.config&lt;/code&gt; file (as suggested by Sitecore for CM Server) but you have not disabled the related module on Web.config files. &#xA;In &lt;code&gt;system.webServer/modules&lt;/code&gt; type of &lt;code&gt;MediaRequestSessionModule&lt;/code&gt; module should be changed from &lt;code&gt;Sitecore.Analytics.RobotDetection.Media.MediaRequestSessionModule, Sitecore.Analytics.RobotDetection&lt;/code&gt; to &lt;code&gt;Sitecore.Analytics.Media.MediaRequestSessionModule, Sitecore.Analytics&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, this has no effect in your analytic data collection. Zach mentioned a few good points and Sitecore has a good KB article on this as well that you can refer to &lt;a href=&quot;https://kb.sitecore.net/articles/977445&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/977445&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My suggestion is double confirm your CD server configration according to Sitecore Disable Enable Excel sheet. &lt;/p&gt;&#xA;" OwnerUserId="1524" LastEditorUserId="1524" LastEditDate="2017-02-12T14:15:03.450" LastActivityDate="2017-02-12T14:15:03.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4361" PostTypeId="2" ParentId="3666" CreationDate="2017-02-12T19:43:09.947" Score="2" Body="&lt;h2&gt;Cannot Create Tracker or Tracker.Current is Not Initialized - Common Fixes&lt;/h2&gt;&#xA;&lt;p&gt;In almost every scenario that I have faced myself, as well as helping others, I have come to the utmost conclusion, that every single time this issue comes up is because of the following reasons:&lt;/p&gt;&#xA;&lt;h3&gt;Reason 1: Analytics.ClusterName is configured incorrectly.&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; which is set in the &lt;em&gt;Sitecore.Analytics.Tracking.config&lt;/em&gt; needs to be a legitimate, resolvable hostname. The default &amp;quot;default-cd-cluster&amp;quot; is not enough to promote a working solution.  This value has to be a dns name that all Sitecore Servers can reach (e.g. &lt;strong&gt;cd.cluster.domain.com&lt;/strong&gt; for example).&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Ensure that each server, at a minimum has the configured &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; in the windows host file and configured to point to an IP address of a Content Delivery server.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If on a content delivery server, set this host file IP equal to localhost, which is 127.0.0.1.&lt;/li&gt;&#xA;&lt;li&gt;If on a content management or other server, set the host file IP value equal to the IP of ONE of your CD servers. Do not set it to the load balancer IP (unless that can be reached by your network)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;Reason 2: Analytics.Hostname is Incorrect&lt;/h3&gt;&#xA;&lt;p&gt;It has been my experience that setting a value for &lt;strong&gt;Analytics.Hostname&lt;/strong&gt;, located in the &lt;em&gt;Sitecore.Analytics.Tracking.config&lt;/em&gt; file does more harm than good. I have found leaving this value BLANK, makes everything work as it should.&lt;/p&gt;&#xA;&lt;h3&gt;Reason 3: Sitecore.Context.Page is not available.&lt;/h3&gt;&#xA;&lt;p&gt;Sitecore's Analytic &lt;strong&gt;Tracker&lt;/strong&gt; requires that the &lt;code&gt;Sitecore.Context.Page&lt;/code&gt; object be available in order for Tracker to be initialized. In certain cases where this object is not available, and Tracker tries to be started, it will throw this error.&lt;/p&gt;&#xA;&lt;p&gt;Tracker cannot be utilized on ASHX's, internal pipelines or thread processes where Page is not set.&lt;/p&gt;&#xA;&lt;h2&gt;Utilization of Tracker on Content Management Servers.&lt;/h2&gt;&#xA;&lt;p&gt;Pure (role configured) Content Management servers do not utilize session state management, and therefore can not run Tracker natively. Instead, they rely on the &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; to resolve in order to communicate a session back to the Content Delivery servers. In cases where on the Content Management server, you receive these types of errors, it is because &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; is not correctly setup and reachable.&lt;/p&gt;&#xA;&lt;p&gt;This also applies to &lt;strong&gt;Processing Servers&lt;/strong&gt;, &lt;strong&gt;EXM Dispatch Servers&lt;/strong&gt;, and &lt;strong&gt;Secondary Content Management Servers&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;h2&gt;Want a Deep Dive Look?&lt;/h2&gt;&#xA;&lt;p&gt;Here is a &lt;a href=&quot;https://sitecorehacker.com/2017/02/12/sitecore-analytics-tracker-common-issues-and-how-to-resolve-them&quot; rel=&quot;nofollow noreferrer&quot;&gt;link to a blog post&lt;/a&gt; that I just published today as a result of this answer. In addition, I go into a deep dive behind the covers to reveal what's really going on when the Tracker is initialized and WHY the &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; is so important.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-13T06:06:06.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4362" PostTypeId="1" CreationDate="2017-02-13T01:41:14.317" Score="3" ViewCount="336" Body="&lt;p&gt;Does anybody have any advice on how to get Habitat running with Sitecore 8.1 Initial Release (revision 151003)?  Obviously I'd need to use an older version of Habitat, but having trouble finding which commmit was the last one for that version of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="111" LastEditorUserId="247" LastEditDate="2017-04-16T16:49:14.160" LastActivityDate="2017-11-20T14:41:48.253" Title="Habitat TDS version with Sitecore 8.1.151003" Tags="|tds|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4363" PostTypeId="2" ParentId="4362" CreationDate="2017-02-13T02:56:44.803" Score="9" Body="&lt;p&gt;I believe that the version you are looking for is &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/1ab932df54830f647ec9a1f7affcf4fc68cb8398&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commit 1ab932d&lt;/a&gt; of the Hedgehog Development Fork For Sitecore 8.1 Initial (151003)&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Release History of Habitat&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I've taken a nose dive into both the Habitat and Hedgehog Fork's GitHub's. Please, if I have incorrectly listed a release or commit, please feel free to edit this answer.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Research of Hedgehog Development Fork of Habitat for TDS&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As far as the TDS Fork of Habitat, it appears the releases are not as clear. &lt;a href=&quot;https://sitecore.stackexchange.com/users/418/sean-holmesby&quot;&gt;Sean Holmesby&lt;/a&gt; is the primary maintainer of the TDS Fork and may have additional information or packages to assist.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/1ab932df54830f647ec9a1f7affcf4fc68cb8398&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commit 1ab932d&lt;/a&gt; - Jan 29th, 2016 - &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/blob/1ab932df54830f647ec9a1f7affcf4fc68cb8398/README.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.1 Initial&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;??? - ??? - Sitecore 8.1 Update 1&lt;/li&gt;&#xA;&lt;li&gt;??? - ??? - Sitecore 8.1 Update 2 &lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/aba44ba725380c092ad08ac20217e08cf1837b4d&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commit aba44ba&lt;/a&gt; - Sep 22nd, 2016 - Sitecore 8.1 Update 3&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Confidence on this is low. This commit was when 8.1 Update 3 NuGets were updated.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/f7d83118ac593aa52d0220d099f99e8d7463f678&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commit f7d8311&lt;/a&gt; - Oct. 18th, 2016 - &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/blob/f7d83118ac593aa52d0220d099f99e8d7463f678/README.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Initial&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/6784c8f770c7a3895866cefdc644815b14f34027&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commit 6784c8f&lt;/a&gt; - Jan 7th, 2017 - &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/blob/6784c8f770c7a3895866cefdc644815b14f34027/README.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Update 1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;As of Feb 12th, 2017, Habitat TDS has not been updated for Sitecore 8.2 Update 2&lt;/li&gt;&#xA;&lt;li&gt;As of Oct 7, 2017, &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/TDS-latest&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat TDS&lt;/a&gt; has been updated for Sitecore 8.2 Update 4.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Research of Habitat's GitHub&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For information about Habitat in general, &lt;a href=&quot;https://sitecore.stackexchange.com/users/92/eldblom&quot;&gt;Thomas Eldblom&lt;/a&gt; is the primary Habitat maintainer.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/releases/tag/v1.0.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release 1.0.0&lt;/a&gt; - Dec. 18th, 2015 - &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started/3d6eaa7946b3471d98d0fdb2cfd255614283ae22&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.1 Initial&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/releases/tag/v1.0.0.313&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release v1.0.0.313&lt;/a&gt; - Jan 26th, 2016 - &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started/0f0a03b23b85fdea9e8aa6e6dcbecd8564e9e9c4&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.1 Update 1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/releases/tag/v1.1.0.378&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release 1.1.0.378&lt;/a&gt; - March 1st, 2016 - &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started/a3f31d640491242c7d418ab4182c4b7b60eb310d&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.1 Update 2&lt;/a&gt; &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;(Update 2, was never actually refelcted in the Habitat Wiki)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/releases/tag/1.2&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release 1.2&lt;/a&gt; - July 14th, 2016 - &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started/3704949fddb4875b53171a62f5ec6dd4ad1a1dd3&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.1 Update 3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/8ca0c62b9eebca924c852c85a76ca19dca2db152&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commit Oct. 13th&lt;/a&gt; - Oct. 13th, 2016 - &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started/eb2a7a0870aa7cccbd16d16bf94e577f6094d8c4&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Initial&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/releases/tag/1.3&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release 1.3&lt;/a&gt; - Dec 29th, 2016 - &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started/487debabac4ee1ec7b2254b2a47786139b13d1f0&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Update 1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;As of Feb 12th, 2017, Habitat has not been updated for &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/blob/TDS-latest/README.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Update 2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;As of Oct 7, 2017,  Habitat has been updated for &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/blob/TDS-latest/README.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Update 4&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="70" LastEditDate="2017-11-20T14:41:48.253" LastActivityDate="2017-11-20T14:41:48.253" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="4364" PostTypeId="1" CreationDate="2017-02-13T03:41:30.833" Score="2" ViewCount="546" Body="&lt;p&gt;I am trying to access children property in my Glass Model type.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class Section : GlassBase&#xA;{&#xA;    [SitecoreChildren]&#xA;    public virtual IEnumerable&amp;lt;Section_Link&amp;gt; Children { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it is throwing stackoverflow exception when I try to access the children&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (section.Children.Any())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Later I tried using the Sitecore API's as well&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var sectionTest = Sitecore.Context&#xA;        .Database.GetItem(new ID(&quot;{AC29FD56-28F4-434A-B1E2-36BA9BE7A84F}&quot;));&#xA;    if (sectionTest.HasChildren)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It also resulted in the same error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Section_Link&lt;/strong&gt; is a normal Glass model class&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone help me with if I am doing something wrong here&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0HM6L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0HM6L.png&quot; alt=&quot;Error Screenshot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1333" LastEditorUserId="982" LastEditDate="2017-02-13T08:34:31.900" LastActivityDate="2017-02-13T08:34:31.900" Title="Sitecore Children &amp; HasChildren throws Stackoverflow exception" Tags="|glass-mapper|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="4365" PostTypeId="1" CreationDate="2017-02-13T06:18:11.087" Score="0" ViewCount="948" Body="&lt;p&gt;I have Sitecore 8.2 site and  i am adding my item's content in Rich Text Editor. When i click on Hyper link manager, it's giving an error in popup:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9eY3C.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9eY3C.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1160" LastEditorUserId="2727" LastEditDate="2018-03-01T10:01:39.077" LastActivityDate="2018-03-01T10:01:39.077" Title="Sitecore 8.2: Rich Text editor's Hyperlink Manager giving error" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4366" PostTypeId="2" ParentId="4365" CreationDate="2017-02-13T06:27:30.970" Score="4" Body="&lt;p&gt;Make sure you have these entries in web.config ( which comes by default)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;add name=&quot;Telerik_Web_UI_DialogHandler_aspx&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.DialogHandler.aspx&quot; type=&quot;Telerik.Web.UI.DialogHandler&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;Telerik_Web_UI_SpellCheckHandler_axd&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.SpellCheckHandler.axd&quot; type=&quot;Telerik.Web.UI.SpellCheckHandler&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;Telerik_Web_UI_WebResource_axd&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.WebResource.axd&quot; type=&quot;Telerik.Web.UI.WebResource&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More Information:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error Message from Telerik*.dll ( using ILSPY)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sq1N8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sq1N8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click action from browser:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/kW3tz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kW3tz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="891" LastEditDate="2017-02-13T06:38:16.930" LastActivityDate="2017-02-13T06:38:16.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4367" PostTypeId="1" CreationDate="2017-02-13T07:21:47.267" Score="1" ViewCount="778" Body="&lt;p&gt;We have hosted Sitecore 8.1 website on two server node1 and node2 where request redirection is handled by Load balancer. While deployment we delete &lt;strong&gt;App_config&lt;/strong&gt;, &lt;strong&gt;Assets&lt;/strong&gt; and &lt;strong&gt;Areas&lt;/strong&gt; folder and copy-paste/replace all files so assuming we have same code on both server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Still we are facing caching issue on node1 even configuration is same. While publishing every time we have to clear cache on node1 ( &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt; ) because published content is not displayed on node1. &#xA;Don't have any issue on node2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-----------------UPDATE 02/13------------------------&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have following patch files on both node&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events timingLevel=&quot;custom&quot;&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site&amp;gt;website1&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;website2&amp;lt;/site&amp;gt;&#xA;           &amp;lt;/sites&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site&amp;gt;website1&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;website2&amp;lt;/site&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="1349" LastEditDate="2017-02-14T03:02:56.780" LastActivityDate="2017-02-14T03:26:53.297" Title="Sitecore 8.1 caching issue in cluster enviroment" Tags="|sitecore-client|caching|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4368" PostTypeId="2" ParentId="4367" CreationDate="2017-02-13T07:48:46.197" Score="3" Body="&lt;p&gt;Go to the &lt;code&gt;sitecore/admin/showconfig.aspx&lt;/code&gt; and check if you have the following entry in there:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;        &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;website2&amp;lt;/site&amp;gt;&#xA;        &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you don't have this entry in place, this means that you have to configure your automated cache clearing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, follow the steps from this community guide on how to set up the automated cache clearing correctly: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/clear-output-caches-for-all-managed-sites-after-publication-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/clear-output-caches-for-all-managed-sites-after-publication-with-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="605" LastEditDate="2017-02-13T12:31:44.473" LastActivityDate="2017-02-13T12:31:44.473" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4369" PostTypeId="1" AcceptedAnswerId="4371" CreationDate="2017-02-13T09:51:39.653" Score="3" ViewCount="366" Body="&lt;p&gt;On one of our projects (Sitecore 8.2 initial) we see something weird in the &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt; page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kNobM.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kNobM.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see the MaxSize value is a bit high. (Count, Size and Delta are not 0 everywhere btw, they seem normal). On other 8.2 projects we don't seem to have this issue. One difference that I can think of is that this project has a lot of sites (and their cache was not yet tuned).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone seen this before? Any ideas how to fix it? &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-13T10:52:10.850" Title="Cache.aspx showing wrong Max sizes" Tags="|caching|admin-pages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4370" PostTypeId="1" CreationDate="2017-02-13T10:11:40.677" Score="10" ViewCount="2227" Body="&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Code Generation, GlassMapper for each feature&lt;/strong&gt;: We have following TDS implementation in our solution:&lt;/p&gt;&#xA;&lt;p&gt;One TDS project for each feature/foundation projects to pull corresponding items related to those projects&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;To accomplish this we have to refer Glassmapper assemblies and configs individually to all the feature or foundation projects. For e.g., Navigation Feature will have its own TDS project for item versioning as well as code generation and so on for all other projects. Another option we thought of was to move Glassmapper completely to foundation layer and use TDS generated classes from Foundation layer, but that would breach helix principles as feature templates will have to be pulled to foundation layer. Can you please let us know if there is another approach to restrict Glass mapper reference to minimal projects or if current approach is the best that can be achieved?&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Dependency Injection&lt;/strong&gt; :&#xA;We are starting off with a new Project and we are using Helix principles. We have implemented Dependency Injection using the Configurator Approach and referred to kamsar’s blog for the same &lt;a href=&quot;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;noreferrer&quot;&gt;http://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&lt;/a&gt;&#xA;Steps we followed are:&lt;/p&gt;&#xA;&lt;p&gt;Created a Dependency Injection project in Foundation.&#xA;Added NuGet reference of Micrsoft.Extensions.DependencyInjection.Abstractions 1.0&#xA;Added the class ServiceCollectionExtensions given by Kamsar.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;So, whenever we create a new Feature Project we must perform the following steps:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add reference to the Foundation project.&lt;/li&gt;&#xA;&lt;li&gt;Add NuGet Reference of Micrsoft.Extensions.DependencyInjection.Abstractions 1.0&lt;/li&gt;&#xA;&lt;li&gt;Create a class RegisterDependencies and add repository classes to Service collection.&lt;/li&gt;&#xA;&lt;li&gt;Add a config and add the RegisterDependencies class as a configurator in Sitecore services section in the config.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Two things:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We wanted to check with you whether our current implementation is a correct approach or not. At the same time, if you know of a better approach then please let us know.&lt;/li&gt;&#xA;&lt;li&gt;Can you tell us if we can implement Dependency Injection using Sitecore’s best practices as well as helix principles and register dependencies at a single location – i.e. say at the Foundation Project.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Out structure&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Social media options for sites under same tenant&lt;/strong&gt;:&#xA;We have structure like this&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Tenant1 &lt;br/&gt;&#xA;-- SiteA &lt;br/&gt;&#xA;-- SiteB&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Now, if you look at Habitat example -- For Footer menu it has folder like this&lt;a href=&quot;https://i.stack.imgur.com/K2FXe.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K2FXe.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt; -- &lt;br/&gt; Now, what if &lt;strong&gt;SiteA&lt;/strong&gt; and &lt;strong&gt;SiteB&lt;/strong&gt; both has their own set of Footer options and they both have same footer rendering - We have few options to make this possible. But would like to know what's the best way to get this done.&lt;/p&gt;&#xA;" OwnerUserId="1528" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-13T16:41:03.457" Title="Few questions related to Helix" Tags="|helix|information-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4371" PostTypeId="2" ParentId="4369" CreationDate="2017-02-13T10:52:10.850" Score="5" Body="&lt;p&gt;This issue is related to the '&lt;strong&gt;Caching.DisableCacheSizeLimits&lt;/strong&gt;' setting in the web.config file. When set to true, Sitecore ignores any maximum cache sizes specified in the web.config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please change the value to &quot;false&quot; like bellow :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.DisableCacheSizeLimits&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-13T10:52:10.850" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4372" PostTypeId="1" AcceptedAnswerId="4389" CreationDate="2017-02-13T13:18:05.367" Score="4" ViewCount="344" Body="&lt;p&gt;Let's imagine we were using a sitecore username as an identifier (example), but later we realized that it is better to use an email as an identifier. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, we started identifying our visitors using their email rather then username. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, what happens to the old data? Will it be automatically merged or there will be two distinct contacts? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also what are the general implications of changing the contact identifier?&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-02-14T00:12:32.813" Title="What happens when a contact changes the identifier" Tags="|xdb|tracking|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4374" PostTypeId="2" ParentId="4301" CreationDate="2017-02-13T16:03:59.850" Score="0" Body="&lt;p&gt;If you have xDB enabled the installation is straight forward (refer to the Installation Guide doc for more detailed explanation)&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download WFFM for your sitecore version (not the CD version of the package)&lt;/li&gt;&#xA;&lt;li&gt;Login to your Sitecore and install the package using Installation wizard.&lt;/li&gt;&#xA;&lt;li&gt;Restrict the place holder from Start -&gt; Web form for marketer -&gt; restrict place holder&lt;/li&gt;&#xA;&lt;li&gt;Publish your site&lt;/li&gt;&#xA;&lt;li&gt;Run ~\Website\Data\WFFM_Analytic.sql script on SQL Server Reporting DB&lt;/li&gt;&#xA;&lt;li&gt;Add the captcha configs to web.config&#xA;(7. If you are using MVC there are additional scripts to be added to your layout.aspx file)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now you have WFFM running. Go ahead and fire up Experience Editor. Find the container you have selected in step 3. Add a new form to the container and follow the wizard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By the way, the error you are facing is because of invalid database set-up (step 5). Run the script on the reporting database again and find out what is missing.&lt;/p&gt;&#xA;" OwnerUserId="1524" LastActivityDate="2017-02-13T16:03:59.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4375" PostTypeId="2" ParentId="4370" CreationDate="2017-02-13T16:32:18.027" Score="2" Body="&lt;h2&gt;DI Approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We do exactly what you do. We have a dependency injection Foundation project that holds all the bits from Kamsar's post. Then I pull it all in with a config patch.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;      &amp;lt;configurator type=&quot;Sitecore.Foundation.DependencyInjection.ServicesConfigurator.DiConfigurator, Sitecore.Foundation.DependencyInjection&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in each feature get a configuration class that allows me to add interfaces as well as use Kamsar's bits to register controllers.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DiConfigurator : IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            // register each repository and service&#xA;            serviceCollection.AddScoped&amp;lt;INavigationRepository, NavigationRepository&amp;gt;();&#xA;            serviceCollection.AddScoped&amp;lt;INavigationService, NavigationService&amp;gt;();&#xA;&#xA;            // add all controllers for this assembly&#xA;            serviceCollection.AddMvcControllersInCurrentAssembly();&#xA;&#xA;            // see what is registered at /sitecore/admin/showservicesconfig.aspx&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I pull that in with a config patch&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;services&amp;gt;&#xA;    &amp;lt;configurator type=&quot;Sitecore.Feature.Navigation.ServicesConfigurator.DiConfigurator, Bonfire.Feature.Navigation&quot; /&amp;gt;&#xA;  &amp;lt;/services&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Footer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As far as the footer goes, if the two sites are sharing the same rendering, then the data is most likely the same. So you can allow them to have their different footers via Footer items in the site's settings. Same data structure, but different data that represents the footer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are wanting to switch out the footer's dependency on the fly based on the site, I am not sure if that is such a good idea. If it got that complicated, I would just make a new footer for each &quot;different&quot; site at the project level.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-02-13T16:41:03.457" LastActivityDate="2017-02-13T16:41:03.457" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4376" PostTypeId="1" AcceptedAnswerId="4386" CreationDate="2017-02-13T17:01:02.633" Score="2" ViewCount="935" Body="&lt;p&gt;We have a Sitecore (8.2) site that is already using custom facets to extend the contact information stored in xDB. A new requirement came along, and we would like to extend one of the facets. Seemed easy - we add an extra property to the interface that was configured in the &lt;code&gt;&amp;lt;model&amp;gt;&lt;/code&gt; definition. The code was fine, no errors..  but in the MongoDb we can see that for new contacts the data is saved, but for existing contacts (no merge, just through their cookies) the new data is not added - other data is updated though, so save is working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We might have other options: create a new extra facet (if that would help), use tags, ...  but it actually sounds logical to add the data to the existing facet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is simple: is it possible to add an extra property to an existing facet (once you have existing contacts)? And if yes, what might I be doing wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IVisitorFacet : IFacet&#xA;{&#xA;    string Company { get; set; }&#xA;    string Phone { get; set; }&#xA;    ...  // new property will come here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;model&amp;gt;&#xA;  &amp;lt;elements&amp;gt;&#xA;    &amp;lt;element interface=&quot;...IVisitorFacet, X&quot; implementation=&quot;....VisitorFacet, X&quot; /&amp;gt;&#xA;  &amp;lt;/elements&amp;gt;&#xA;  &amp;lt;entities&amp;gt;&#xA;    &amp;lt;contact&amp;gt;&#xA;      &amp;lt;facets&amp;gt;&#xA;        &amp;lt;facet name=&quot;Custom Data&quot; contract=&quot;....IVisitorFacet, X&quot; /&amp;gt;&#xA;      &amp;lt;/facets&amp;gt;&#xA;    &amp;lt;/contact&amp;gt;&#xA;  &amp;lt;/entities&amp;gt;&#xA;&amp;lt;/model&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So we have a facet with 2 properties - working perfectly. When we add a 3rd, it is only written to Mongo for new contacts. &lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-02-14T09:34:50.667" LastActivityDate="2017-02-14T09:34:50.667" Title="Is it possible to extend an existing custom facet?" Tags="|xdb|contact-facets|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4377" PostTypeId="1" AcceptedAnswerId="4390" CreationDate="2017-02-13T17:55:41.017" Score="4" ViewCount="391" Body="&lt;p&gt;I am a complete beginner and barely touched the surface of Sitecore in general.&lt;/p&gt;&#xA;&lt;p&gt;My problem did occur while following the &lt;a href=&quot;https://youtu.be/i3Mwcphtz4w?t=1232&quot; rel=&quot;nofollow noreferrer&quot;&gt;&amp;quot;Getting started&amp;quot; tutorial&lt;/a&gt;, where the tutorial showed the Design Layout through Sitecore Rocks of the &lt;code&gt;master/sitecore/content/home&lt;/code&gt; item.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0u1J3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0u1J3.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;The problem&lt;/h2&gt;&#xA;&lt;p&gt;It simply does not open the Design Layout screen and I do not know what else I should check. It does however work with the &amp;quot;web&amp;quot; database (&lt;code&gt;web/sitecore/content/home&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;p&gt;Now this might &lt;em&gt;not&lt;/em&gt; be a problem, as I might as well use the &amp;quot;web&amp;quot; database for the same purpose. But I would like to strictly follow the tutorial before I go my own way.&lt;/p&gt;&#xA;&lt;p&gt;I feel like I am missing something completely, hopefully somebody can help me or at least point me in the right direction.&lt;/p&gt;&#xA;&lt;p&gt;(I am not sure if this is a suitable question for this Stackexachange community)&lt;/p&gt;&#xA;&lt;h2&gt;Specifications&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore rocks 2.0.39.0&lt;/li&gt;&#xA;&lt;li&gt;Visual studio 2015 Community&lt;/li&gt;&#xA;&lt;li&gt;SQL 2014&lt;/li&gt;&#xA;&lt;li&gt;Windows 10 Pro x64&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Log Errors&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;ManagedPoolThread #5 19:38:55 ERROR Unable to connect to server localhost:27017: No connection could be made because the target machine actively refused it 127.0.0.1:27017.&lt;/p&gt;&#xA;&lt;p&gt;11100 19:38:55 ERROR Data template '{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}' not found for item '/sitecore/content/Home' in 'master' database&lt;/p&gt;&#xA;&lt;p&gt;11100 19:38:55 ERROR Failed to load content editor warnings&#xA;Exception: System.NullReferenceException...&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1529" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-14T03:08:23.570" Title="Cannot open Master Design Layout" Tags="|sitecore-rocks|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4378" PostTypeId="2" ParentId="4343" CreationDate="2017-02-13T19:30:50.883" Score="1" Body="&lt;p&gt;It looks like this is a known bug with a patch: &lt;a href=&quot;https://kb.sitecore.net/articles/091652&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/091652&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-02-13T19:30:50.883" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4380" PostTypeId="1" CreationDate="2017-02-13T20:33:17.513" Score="5" ViewCount="861" Body="&lt;p&gt;I'm using Sitecore 8.2 Update 1 as PaaS on Azure.  I've added some new code that is giving me a strange error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit: Added more complete code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.CreateSearchContext(new SitecoreIndexableItem(Sitecore.Context.Item)))&#xA;{&#xA;    var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;        .Where(item =&amp;gt; item.TemplateId == SitecoreItemIds.ISSUE_TEMPLATE &amp;amp;&amp;amp;&#xA;                    item.Path.StartsWith(&quot;/sitecore/content/Home/&quot; + issueTypePath))&#xA;        .OrderByDescending(item =&amp;gt; item[&quot;Date&quot;])&#xA;        .FirstOrDefault();&#xA;&#xA;        if (query != null)&#xA;            return query.GetItem();&#xA;&#xA;        return null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I'm getting this YSOD error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Index (EMPTY) was not found&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details:&#xA;  Sitecore.ContentSearch.Exceptions.IndexNotFoundException: Index&#xA;  (EMPTY) was not found&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm using Azure Search as the search provider.  This code works on my local machine, but it's not hitting Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have not made any changes to files on Azure that would affect the search.&lt;/p&gt;&#xA;" OwnerUserId="933" LastEditorUserId="933" LastEditDate="2017-02-15T11:41:31.873" LastActivityDate="2017-03-17T12:58:05.990" Title="I'm getting a YSOD error when trying to use ContentSearch in Azure PaaS" Tags="|azure-search|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4381" PostTypeId="1" AcceptedAnswerId="4382" CreationDate="2017-02-13T21:07:16.503" Score="0" ViewCount="334" Body="&lt;p&gt;I'm using the most recent Glass Mapper, the 4.3.x version (with Sitecore 8.2 Update 1), in a project for the first time. Lately my standard deal after installing Glass is to add the following line to the GlassMapperScCustom.cs file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;dependencyResolver.DataMapperResolverFactory.Add(() =&amp;gt; new DataMapperFieldsWithSpace());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In 4.2.x this worked fine, but in 4.3.x I'm getting a &quot;The type or namespace name 'DataMapperFieldsWithSpace' could not be found (are you missing a using directive or an assembly reference?)&quot; error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Was this baked into the standard resolvers in 4.3.x and no longer has to be declared, or did the pipeline changes described in the release notes of the blog make this call changed, and it needs to be different?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-02-13T21:25:47.133" Title="Glass Mapper handling fields with spaces change in 4.3" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4382" PostTypeId="2" ParentId="4381" CreationDate="2017-02-13T21:25:47.133" Score="1" Body="&lt;p&gt;Can you try to use AbstractDataMapperFieldsWithSpace. I verified  source code and looks like AbstractDataMapperFieldsWith space is the name of new class&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see below picture: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lDo3p.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lDo3p.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-13T21:25:47.133" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4383" PostTypeId="1" AcceptedAnswerId="4394" CreationDate="2017-02-13T21:57:55.423" Score="1" ViewCount="1873" Body="&lt;p&gt;Sitecore 8.2 update 0&lt;/p&gt;&#xA;&lt;p&gt;I have a few items in my tree that when I try and change the display name, nothing happens. The display name stays the same. On the Audit of the change in the logs. No error.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;11848 16:51:23 INFO  AUDIT (sitecore\admin): Set display name: master:/sitecore/content/sites/client/settings/authors/john-doe, language: en, version: 1, id: {F808FA41-3483-4334-8DF1-CB1AD1079F56}, name: fffff&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I created a brand new Sitecore site, copied over the connectionstrings.config and updated the data path. No extra configs at all. Still does it. It seems like its in the DB.&lt;/p&gt;&#xA;&lt;p&gt;Any cache I am missing?&lt;/p&gt;&#xA;&lt;h3&gt;Update 1&lt;/h3&gt;&#xA;&lt;p&gt;Just an update that I did/do have item:saved event that updates the item name and display to convert spaces to &amp;quot;-&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;I have opened a Sitecore ticket. I will update here if they come back with anything.&lt;/p&gt;&#xA;&lt;h3&gt;Update 2&lt;/h3&gt;&#xA;&lt;p&gt;Looking at the database I found that in UnversionedFields, I found two records for display name. One with a language and one without. The one without the language is the one being shown. The one with a language is the one being updated.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C1oOo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C1oOo.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2020-08-11T08:08:39.170" Title="Display Name not changing" Tags="|content-editor|" AnswerCount="2" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="4384" PostTypeId="1" AcceptedAnswerId="4403" CreationDate="2017-02-13T22:14:51.170" Score="0" ViewCount="49" Body="&lt;p&gt;There seem to be 4 missing WFFM themes CSS import tags that are being display in our CM environment, but not in our CD environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have verified that all 4 CSS files exist on the CD server. The problem is that there are no references to them in the head tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could cause this? Is something not published?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 7.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CM Environment:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8HMVn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8HMVn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2017-02-13T23:43:25.533" LastActivityDate="2017-02-14T18:18:32.163" Title="Missing 4 WFFM themes CSS Import Tags on CD Server" Tags="|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4385" PostTypeId="2" ParentId="4384" CreationDate="2017-02-13T22:36:55.203" Score="0" Body="&lt;p&gt;These files would not automagically make it from your CM to your CD server. Either the module package needs to be installed on each server using it (including your CD servers) or you would need to make sure the files from the package, becomes part of your conntinuous deployment routine (assuming you have one);.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-02-13T22:36:55.203" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4386" PostTypeId="2" ParentId="4376" CreationDate="2017-02-13T23:06:07.640" Score="5" Body="&lt;h1&gt;When A Custom Facet Is Extended, Mongo Is Not Immediately Affected&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Just because Mongo isn't showing the added facet/element/attribute, doesn't mean that the Facet isn't there. MongoDB will only store Facet information &lt;strong&gt;&lt;em&gt;if there is information to store&lt;/em&gt;&lt;/strong&gt;. By adding an element to the Contact Facet model, that does not automatically update MongoDB directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only way for MongoDB to update directly is to update the contact record, save a value to the new facet element/attribute, and then flush to xDB or release the contact.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;A Lot of Background Information&lt;/h1&gt;&#xA;&#xA;&lt;h2&gt;Extending Existing OOTB Facets&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can not extend the Existing OOTB Facets because the Concrete Classes that represent them are protected (internal). You would have to recreate the concrete class from scratch.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Model.Entities;&#xA;using Sitecore.Analytics.Model.Framework;&#xA;using System;&#xA;&#xA;namespace Sitecore.Analytics.Model.Generated&#xA;{&#xA;  [Serializable]&#xA;  internal class ContactEmailAddresses : Facet, IContactEmailAddresses, IFacet, IElement, IValidatable&#xA;  {&#xA;    private const string PREFERRED = &quot;Preferred&quot;;&#xA;    private const string ENTRIES = &quot;Entries&quot;;&#xA;&#xA;    public IElementDictionary&amp;lt;IEmailAddress&amp;gt; Entries&#xA;    {&#xA;      get&#xA;      {&#xA;        return this.GetDictionary&amp;lt;IEmailAddress&amp;gt;(&quot;Entries&quot;);&#xA;      }&#xA;    }&#xA;&#xA;    public string Preferred&#xA;    {&#xA;      get&#xA;      {&#xA;        return this.GetAttribute&amp;lt;string&amp;gt;(&quot;Preferred&quot;);&#xA;      }&#xA;      set&#xA;      {&#xA;        this.SetAttribute&amp;lt;string&amp;gt;(&quot;Preferred&quot;, value);&#xA;      }&#xA;    }&#xA;&#xA;    public ContactEmailAddresses()&#xA;    {&#xA;      this.EnsureAttribute&amp;lt;string&amp;gt;(&quot;Preferred&quot;);&#xA;      this.EnsureDictionary&amp;lt;IEmailAddress&amp;gt;(&quot;Entries&quot;);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To achieve this instead, you'd want to make a whole new facet model. To validate how you have created your custom contact facet, see below for an example on how I do it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;&lt;a href=&quot;https://sitecorehacker.com/2016/09/03/creating-custom-sitecore-xdb-contact-facets/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating Custom Facet's&lt;/a&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the example below, I've called that &lt;strong&gt;Marketing Data&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;model&amp;gt;&#xA;      &amp;lt;elements&amp;gt;&#xA;        &amp;lt;element interface=&quot;SitecoreHacker.Sandbox.Facets.IMarketingData, SitecoreHacker.Sandbox&quot;&#xA;                 implementation=&quot;SitecoreHacker.Sandbox.Facets.MarketingData, SitecoreHacker.Sandbox&quot;/&amp;gt;&#xA;      &amp;lt;/elements&amp;gt;&#xA;      &amp;lt;entities&amp;gt;&#xA;        &amp;lt;contact&amp;gt;&#xA;          &amp;lt;facets&amp;gt;&#xA;            &amp;lt;facet name=&quot;Marketing Data&quot; contract=&quot;SitecoreHacker.Sandbox.Facets.IMarketingData, SitecoreHacker.Sandbox&quot;/&amp;gt;&#xA;          &amp;lt;/facets&amp;gt;&#xA;        &amp;lt;/contact&amp;gt;&#xA;      &amp;lt;/entities&amp;gt;&#xA;    &amp;lt;/model&amp;gt;    &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Step 1: Gather information about the facet&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Create a custom facet is actually not that difficult.  What’s more difficult, IMHO, is obtaining what kind of information you want in your facet? Getting the following stuff together before you start coding will allow you not break your coding groove.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The name of the Facet.&lt;/li&gt;&#xA;&lt;li&gt;What information do you want to capture?&lt;/li&gt;&#xA;&lt;li&gt;Name of field&lt;/li&gt;&#xA;&lt;li&gt;Type of field (strings, GUID, integrers, and floats.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Step 2: Create the element contract that defines the facet&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;By creating a facet, what we’re really doing is creating the root element interface that will contain all of the other structures going into our facet. We will define our interface inheriting from IFacet.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace SitecoreHacker.Sandbox.Facets&#xA;{&#xA;  public interface IMarketingData : IFacet&#xA;  {&#xA;    string CustomerId { get; set; }&#xA;    string Segment { get; set; }&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here I have defined an interface called IMarketingData that is based on the IFacet interface. There are two things I want to capture in this IFacet: CustomerId and Segment. Both of these values are strings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That was easy, right?&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Step 3: Create the implementation of your element contract&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Now I want to create the concrete class that can implement the interface that we just created.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace SitecoreHacker.Sandbox.Facets&#xA;{&#xA;    [Serializable]&#xA;    public class MarketingData: Facet, IMarketingData&#xA;    {&#xA;      private const string CUSTOMER_ID = &quot;CustomerId&quot;;&#xA;      private const string SEGEMENT = &quot;Segment&quot;;&#xA;&#xA;      #region Properties&#xA;      public string CustomerId&#xA;      {&#xA;          get { return GetAttribute&amp;lt;string&amp;gt;(CUSTOMER_ID); }&#xA;          set { SetAttribute(CUSTOMER_ID, value); }&#xA;      }&#xA;&#xA;      public string Segment&#xA;      {&#xA;          get { return GetAttribute&amp;lt;string&amp;gt;(SEGEMENT); }&#xA;          set { SetAttribute(SEGEMENT, value); }&#xA;      }&#xA;      #endregion&#xA;&#xA;      public MarketingData()&#xA;      {&#xA;          EnsureAttribute&amp;lt;string&amp;gt;(CUSTOMER_ID);&#xA;          EnsureAttribute&amp;lt;string&amp;gt;(SEGEMENT);&#xA;      }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alright, there’s a little bit more going on here so let’s step through it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, just create a class and base it off of Facet and IMarketingData&#xA;We base off of Facet because this is our root Element.  If we were just creating an  Element that would be used in this Facet, and in addition to the Facet Element, then we would have a base class of Element More on that later.&#xA;Add the [Serializable] attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This would seem unimportant, but becomes super important depending on the type of Session State being run.  So just use it. Don’t ask questions. =)&#xA;Now the implementation class has three parts as follows.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don’t implement any other functions in this class outside of the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Constants&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;For every attribute that you have, define a constant that will provide a label for that attribute.&lt;/li&gt;&#xA;&lt;li&gt;Protip: I found out the hard way that the constants defined, the value must equal the actual name of the class property for the same attribute.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Class Properties&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;For every attribute, create getters and setters.&lt;/li&gt;&#xA;&lt;li&gt;Important: Name the Property the same as the value of the constant that you set for it.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;For Getters:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;return GetAttribute&amp;lt;type&amp;gt;(string name);&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Type of your attribute: string, Guid, Integers, or Float name: Reference the constant variable defined for your attribute.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;For Setters&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;SetAttribute&amp;lt;type&amp;gt;(string name, value);&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Type of your attribute: string, Guid, Integers, or Float&#xA;name: Reference the constant variable defined for your attribute.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Class Constructor&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No parameters&lt;/li&gt;&#xA;&lt;li&gt;Call &lt;code&gt;EnsureAttribute&amp;lt;string&amp;gt;(string name);&lt;/code&gt; for each attribute.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Save and compile! Now, you'll want to run something that saves information to that Facet. As long as there is actual data to save to the Facet, Mongo will store it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YINKv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YINKv.png&quot; alt=&quot;Mongo Marketing Data Facet&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;&lt;a href=&quot;https://sitecorehacker.com/2016/09/27/mapping-csv-fields-to-complex-sitecore-xdb-facets/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Extending the Custom Contact Facet Data Model&lt;/a&gt;&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Step 1: Create The Element Contract&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;We start off by creating an interface for our new Element. Using this example, we create the “IProduct” interface with two property attributes: Product Name, and Product Price.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you recall from ealier, Elements plug into the Facet, and a Facet is and of itself an Element as well as a collection of Elements.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace SitecoreHacker.Sandbox.Facets&#xA;{&#xA;    public interface IProduct : IElement&#xA;    {&#xA;        string ProductName { get; set; }&#xA;        string ProductPrice { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Simple interface deriving  from the IElement interface.  Now we need to create our concrete class that will support this interface. We will call this the “Product” class.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Step 2: Create The Element Concrete Class&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace SitecoreHacker.Sandbox.Facets&#xA;{&#xA;    [Serializable]&#xA;    public class Product : Element, IProduct&#xA;    {&#xA;        private const string PRODUCT_NAME = &quot;ProductName&quot;;&#xA;        private const string PRODUCT_PRICE = &quot;ProductPrice&quot;;&#xA;&#xA;        public string ProductName&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(PRODUCT_NAME); }&#xA;            set { SetAttribute(PRODUCT_NAME, value); }&#xA;        }&#xA;        public string ProductPrice&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(PRODUCT_PRICE); }&#xA;            set { SetAttribute(PRODUCT_PRICE, value); }&#xA;        }&#xA;&#xA;        public Product()&#xA;        {&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(PRODUCT_NAME);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(PRODUCT_PRICE);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You’ll note that this is a pretty straight forward class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here we have setup the ProductName and ProductPrice property elements for a single Product Element. This is the single object representation for the collection objects that our Facet (“Marketing Data”) is going to reference.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Step 3: Add Element Dictionary to our Parent Element Interface&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In this case, our parent element is our class based off of the IFacet contract. I call this out because you can nest elements within elements, but that’s outside the scope of this blog. We’ll reopen our IMarketingData contract and add the Element Dictionary Property.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace SitecoreHacker.Sandbox.Facets&#xA;{&#xA;    public interface IMarketingData : IFacet&#xA;    {&#xA;        string CustomerId { get; set; }&#xA;        string Segment { get; set; }&#xA;&#xA;        IElementDictionary&amp;lt;IProduct&amp;gt; Products { get; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note here that IElementDictionary Products {get;} is the property attribute that we added to the IMarketingDara Facet.  IElementDictionary is the class that Sitecore uses to refer to a collection of like Elements. In this case, our like Element is the IProduct type.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Step 4: Add Element Dictionary to our Parent Element Class&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;We’ve finished updating our interface, now we need to update the concrete class representing our parent element/facet and implement the IElementDictionary property.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Analytics.Model.Framework;&#xA;&#xA;namespace SitecoreHacker.Sandbox.Facets&#xA;{&#xA;    [Serializable]&#xA;    public class MarketingData: Facet, IMarketingData&#xA;    {&#xA;&#xA;        private const string CUSTOMER_ID = &quot;CustomerId&quot;;&#xA;        private const string SEGEMENT = &quot;Segment&quot;;&#xA;        private const string PRODUCTS = &quot;Products&quot;;&#xA;&#xA;        #region Properties&#xA;        public string CustomerId&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(CUSTOMER_ID); }&#xA;            set { SetAttribute(CUSTOMER_ID, value); }&#xA;        }&#xA;&#xA;        public string Segment&#xA;        {&#xA;            get { return GetAttribute&amp;lt;string&amp;gt;(SEGEMENT); }&#xA;            set { SetAttribute(SEGEMENT, value); }&#xA;        }&#xA;&#xA;        public IElementDictionary&amp;lt;IProduct&amp;gt; Products&#xA;        {&#xA;            get { return GetDictionary&amp;lt;IProduct&amp;gt;(PRODUCTS); }&#xA;        }&#xA;        #endregion&#xA;&#xA;        public MarketingData()&#xA;        {&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(CUSTOMER_ID);&#xA;            EnsureAttribute&amp;lt;string&amp;gt;(SEGEMENT);&#xA;            EnsureDictionary&amp;lt;IProduct&amp;gt;(PRODUCTS);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Stepping through this we do the same three steps for every property in an element:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We’ve added our constant string variable which contacts the text name of our dictionary property.&lt;/li&gt;&#xA;&lt;li&gt;Implemented the Property based on the contract.&lt;/li&gt;&#xA;&lt;li&gt;In the constructor, we’ve Ensured that the Dictionary is loaded.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Step 5: Patch New Element to Model Configuration&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Finally, we just need to add our Element to the Element collection for the Contact model in the Sitecore configuration.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;model&amp;gt;&#xA;      &amp;lt;elements&amp;gt;&#xA;        &amp;lt;element interface=&quot;SitecoreHacker.Sandbox.Facets.IMarketingData, SitecoreHacker.Sandbox&quot;&#xA;                 implementation=&quot;SitecoreHacker.Sandbox.Facets.MarketingData, SitecoreHacker.Sandbox&quot;/&amp;gt;&#xA;        &amp;lt;element interface=&quot;SitecoreHacker.Sandbox.Facets.IProduct, SitecoreHacker.Sandbox&quot;&#xA;                 implementation=&quot;SitecoreHacker.Sandbox.Facets.Product, SitecoreHacker.Sandbox&quot;/&amp;gt;&#xA;      &amp;lt;/elements&amp;gt;&#xA;      &amp;lt;entities&amp;gt;&#xA;        &amp;lt;contact&amp;gt;&#xA;          &amp;lt;facets&amp;gt;&#xA;            &amp;lt;facet name=&quot;Marketing Data&quot; contract=&quot;SitecoreHacker.Sandbox.Facets.IMarketingData, SitecoreHacker.Sandbox&quot;/&amp;gt;&#xA;          &amp;lt;/facets&amp;gt;&#xA;        &amp;lt;/contact&amp;gt;&#xA;      &amp;lt;/entities&amp;gt;&#xA;    &amp;lt;/model&amp;gt;    &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have now extended our already custom Facet, and added an additional Element collection (ElementDictionary) to hold additional information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you'll want to make sure that you save a contact with information for the extended facet.  If you've followed these instructions, then Mongo will show you something similar to the below contact:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/rNwR4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rNwR4.png&quot; alt=&quot;Mongo With Extended Custom Contact Facet&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Additional Information About Uploading Contacts with Custom Facets&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Depending on how you create new Contacts... could have an effect on existing contact facet data.  If you use the CSV import, you should be aware that as of 8.2 Update 2, there is still a bug in Sitecore's List Manager that will remove custom facet information for an existing contact, if said contact Identifier is uploaded via CSV. I don't think that is your problem, but if it is, or you have the scenario, let me know, and I'll &lt;a href=&quot;https://sitecorehacker.com/2017/02/07/bug-contact-facets-overwritten-on-csv-import/&quot; rel=&quot;nofollow noreferrer&quot;&gt;provide additional information&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-02-14T02:40:40.657" LastActivityDate="2017-02-14T02:40:40.657" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4387" PostTypeId="2" ParentId="4383" CreationDate="2017-02-13T23:10:20.690" Score="2" Body="&lt;p&gt;(I wish I could comment...but I cannot yet)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have experienced a similar issue for one of my projects on a lower environment using Sitecore 6.6. The fact that this issue occurred on one single environment (and not in production or other lower environments) seems to confirm what Pete suggested.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This doesn't answer your question about what it is causing this, but I was able to find a manual workaround. I recall I was able to change the display name of an item using the serialization developer tools though. Serialize the item, make a manual change in the serialized file to the display name (and to the count value of the field), revert the serialized item in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="1399" LastEditorUserId="1399" LastEditDate="2017-02-13T23:20:13.660" LastActivityDate="2017-02-13T23:20:13.660" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4388" PostTypeId="2" ParentId="4377" CreationDate="2017-02-14T00:03:40.320" Score="2" Body="&lt;p&gt;My gut is that it's something to do with this ID reported in your logs:&#xA;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be able to search for this data template in your master database using the content editor. If you can't find it, I would then switch to the web database and search there as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the item is in the web but not master, check your recycle bin in case it's been deleted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the user connecting via rocks has access to the item you find.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It could also be that the reference to this item doesn't exist in web yet, so a publish might mean it's also broken in web.&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2017-02-14T00:03:40.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4389" PostTypeId="2" ParentId="4372" CreationDate="2017-02-14T00:12:32.813" Score="2" Body="&lt;p&gt;When using the &lt;code&gt;Identify()&lt;/code&gt; method and switching identifiers, because the contact is known, Identify() won't merge the contacts like it would for an anonymous original contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the end result is that you will have two contacts in xDB, one for each identifier. The information isn't lost, but it's not tracked as one contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's where &lt;strong&gt;ContactManager&lt;/strong&gt; would come into play.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a public method on ContactManager called &lt;code&gt;MergeContacts&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void MergeContacts(Contact survivingContact, Contact dyingContact)&#xA;{&#xA;  Sitecore.Diagnostics.Assert.IsFalse(survivingContact.IsReadOnly, &quot;Cannot save a read-only contact to XDB.&quot;);&#xA;  Sitecore.Diagnostics.Assert.IsFalse(dyingContact.IsReadOnly, &quot;Cannot save a read-only contact to XDB.&quot;);&#xA;  if (this.repository == null)&#xA;    return;&#xA;  this.repository.MergeContacts(survivingContact, dyingContact);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would use this method, and maybe a script (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/4029/&quot;&gt;see Dmytro's link in comment&lt;/a&gt; for approaches) and use this method to merge the contacts, and &quot;kill&quot; off the &lt;em&gt;Dying Contact&lt;/em&gt;, and &quot;keep&quot; the &lt;em&gt;Surviving Contact&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-02-14T00:12:32.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4390" PostTypeId="2" ParentId="4377" CreationDate="2017-02-14T03:08:23.570" Score="3" Body="&lt;h1&gt;Reproducable Issue&lt;/h1&gt;&#xA;&lt;p&gt;I have been able to reproduce your issue in Sitecore Rocks, using your setup. The problem that you are experiencing is that the &amp;quot;Sample Item&amp;quot; template is missing from your installation.&lt;/p&gt;&#xA;&lt;p&gt;On a working environment, you should have the following template displaying in Sitecore Rocks:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TN40K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TN40K.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Upon inspecting this template, you will see that the Item ID of the Template is indeed the Item ID being displayed in Error that you provided:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9bZpN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9bZpN.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;When this template does &lt;strong&gt;NOT&lt;/strong&gt; exist in the database that you are trying to view the &lt;strong&gt;Design Layout&lt;/strong&gt; of the Sample Home Item &lt;code&gt;/sitecore/content/Home&lt;/code&gt;, &lt;em&gt;&lt;strong&gt;Design Layout and Sitecore Rocks does absolutely nothing&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;h2&gt;To Resolve:&lt;/h2&gt;&#xA;&lt;p&gt;Because this looks like a Vanilla Instance of Sitecore (Welcome to Sitecore BTW!) my suggestion is that you drop your &lt;strong&gt;Master&lt;/strong&gt; database from SQL, and re-attach a vanilla Sitecore Database as Master (be mindful of your ConnectionStrings.config file). You can find a copy of the Sitecore_Master.MDF in the Sitecore Zip Archive off of &lt;a href=&quot;http://dev.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dev.sitecore.net&lt;/a&gt; for the version of Sitecore you're using.&lt;/p&gt;&#xA;&lt;p&gt;Or, just simply reinstall Sitecore using either the EXE Installer (again off of dev.sitecore.net) or the &lt;a href=&quot;http://dl.sitecore.net/updater/sim/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Instance Manager&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-14T03:08:23.570" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4391" PostTypeId="2" ParentId="4367" CreationDate="2017-02-14T03:26:53.297" Score="1" Body="&lt;h2&gt;Scalability Setting Issues are Common Cause for Event Misfires on Content Delivery Servers&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;On Content Delivery servers, especially when more than one are in play, it is a requirement, that the &lt;code&gt;InstanceName&lt;/code&gt; Sitecore Setting is unique for each Content Delivery Server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore uses the instance name to determine whether or not a server needs to act on any given events that are collected. In the event that both Content Delivery servers are being given the same InstanceName, when one server receives the event, it writes it's instance back to the &lt;strong&gt;EventQueue&lt;/strong&gt; table in the Core database. If the second server, of same Instance Name, attempts to check EventQueue for work, it'll see that it already processed that event, and thus will not act on it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;To Resolve&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make sure the ScalabilitySettings.config is enabled.&lt;/li&gt;&#xA;&lt;li&gt;Ensure One of the Following is True&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Ensure that the &lt;code&gt;InstanceName&lt;/code&gt; Sitecore Setting found in &lt;strong&gt;App_Config/Include/ScalabilitySettings.config&lt;/strong&gt; is &lt;strong&gt;&lt;em&gt;unique&lt;/em&gt;&lt;/strong&gt; and different on both Content Delivery Servers. &lt;/li&gt;&#xA;&lt;li&gt;If &lt;strong&gt;InstanceName&lt;/strong&gt; is left blank, it will utilize &lt;code&gt;MACHINENAME\IISSITENAME&lt;/code&gt; or the Azure App Service resolved name for the instance.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-02-14T03:26:53.297" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="4393" PostTypeId="2" ParentId="4258" CreationDate="2017-02-14T10:01:28.283" Score="0" Body="&lt;p&gt;In &lt;code&gt;Views/Form/EditorTemplates/FormViewModel.cshtml&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing the value of &lt;code&gt;Html.EnableUnobtrusiveJavaScript(true);&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; fixed this issue and now only one validation message appears for invalid values. &lt;/p&gt;&#xA;" OwnerUserId="324" LastActivityDate="2017-02-14T10:01:28.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4394" PostTypeId="2" ParentId="4383" CreationDate="2017-02-14T11:51:05.923" Score="2" Body="&lt;p&gt;The main reason why this is happening to some items is that the items might be corrupted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT *&#xA;FROM [your db].[dbo].[VersionedFields]&#xA;WHERE ItemId = 'one of your funky items'&#xA;  AND FieldId = '{B5E02AD9-D56F-4C41-A065-A133DB87BDEB}'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT *&#xA;FROM [your db].[dbo].[SharedFields]&#xA;WHERE ItemId = 'one of your funky items'&#xA;  AND FieldId = '{B5E02AD9-D56F-4C41-A065-A133DB87BDEB}'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since &lt;code&gt;__Display Name&lt;/code&gt; is neither versioned or shared, nothing should come up on these queries. But if I am right, something will - and you should just proceed to delete these rows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also delete the row from the Unversioned result where the item is not the correct one and update the other fields like the language. Do this for only this item as a test. If it works, you may consider of updating the other corrupted items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://stackoverflow.com/questions/29850067/unable-to-change-display-name-of-item-why&quot;&gt;https://stackoverflow.com/questions/29850067/unable-to-change-display-name-of-item-why&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-02-14T11:56:59.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4395" PostTypeId="1" AcceptedAnswerId="4401" CreationDate="2017-02-14T11:52:31.417" Score="2" ViewCount="2987" Body="&lt;p&gt;I have a scenario in which I want to return some facet data associated with an xDB contact via an &lt;code&gt;ApiController&lt;/code&gt;. However, when i try to access the &lt;code&gt;Tracker.Current.Contact&lt;/code&gt; property it is null. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best solution to ensure access to a contact when performing ApiController calls? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently my code looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class WidgetsController : ApiController {&#xA;&#xA;[HttpGet]&#xA;public IEnumerable&amp;lt;Widget&amp;gt; Get()&#xA;{&#xA;    if (Sitecore.Analytics.Tracker.Current != null) &#xA;    {&#xA;        var contact = Sitecore.Analytics.Tracker.Current.Contact;&#xA;        if (contact != null)&#xA;        {&#xA;            return WidgetsRepository.Get(contact);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="758" LastEditorUserId="423" LastEditDate="2017-08-08T14:48:28.097" LastActivityDate="2017-08-08T14:48:28.097" Title="Accessing Tracker.Current.Contact in ApiController" Tags="|xdb|sitecore-api|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4396" PostTypeId="2" ParentId="3720" CreationDate="2017-02-14T12:04:51.940" Score="0" Body="&lt;p&gt;It's been confirmed. Ticking the &lt;code&gt;Is Ajax MVC Form&lt;/code&gt; check box on the form itself gets rid of the extraneous reload upon submitting the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However the delay between submitting and getting a response might still be an issue and would need to be addressed separately. &lt;/p&gt;&#xA;" OwnerUserId="324" LastActivityDate="2017-02-14T12:04:51.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4397" PostTypeId="2" ParentId="4312" CreationDate="2017-02-14T12:32:27.030" Score="5" Body="&lt;p&gt;EDIT: Glass should just map the property (make sure you've got the template id and auto mapping enabled for the Player model as well).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you find it's still not mapping - try explicitly specifying the field name from your PlayerCard model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(MyFields.DroplinkFieldName)]&#xA;&#xA;public virtual Player Player  {get; set;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As mentioned above - you should be able to use the Standard Values on the template for the PayerCard to do what you want with standard Sitecore functionality (so no coding required). This will work in Glass or any other ORM because they just hook off the standard functionality of the CMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find your PlayerCard template within the Sitecore Content Editor (or using Rocks!):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c6o81.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c6o81.png&quot; alt=&quot;Find the template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to the Builder Options Tab:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NmFrY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NmFrY.png&quot; alt=&quot;Builder Options&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click on Standard Values:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q56VC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q56VC.png&quot; alt=&quot;Standard Values&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will add an item under your template called __Standard Values - on this item - you set the Player field to point to your Default Player item in the content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your site is multilingual - you'll either need to have this field as Shared or if you want different values selected for each language - add a version for each language to the __Standard Values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're using Unicorn or TDS for your content synchronisation - you'll need to make sure the Default item makes it to each environment with the same ID (so include it in content which gets deployed to all environments).&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="428" LastEditDate="2017-02-14T15:24:06.433" LastActivityDate="2017-02-14T15:24:06.433" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4399" PostTypeId="2" ParentId="4395" CreationDate="2017-02-14T12:50:23.870" Score="5" Body="&lt;p&gt;For writing contact information, the best practice is to not use API calls and do your work in the shared session within the Page Context on the Content Delivery servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reading contact information, in an API, the Best Practice is passing the contact id through the API and loading a read only contact to gain the information you need.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class WidgetsController : ApiController&#xA;{&#xA;    [HttpGet]&#xA;    public IEnumerable&amp;lt;Widget&amp;gt; Get(Guid contactId)&#xA;    {&#xA;        var contactRepository =&#xA;            (ContactRepositoryBase) Sitecore.Configuration.Factory.CreateObject(&quot;contactRepository&quot;, true);&#xA;        var contact = contactRepository.LoadContactReadOnly(contactId);&#xA;&#xA;        if (contact != null)&#xA;        {&#xA;            return WidgetsRepository.Get(contact);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you must use an API for writing information to a contact, you will have to use the FlushToXdb() method to save to Mongo directly or use the &lt;code&gt;SharedSessionStateManager&lt;/code&gt;. Be advised though, that the contact record in session on the CD won't be affected if you are trying to perform operations on the CM server.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-02-14T16:05:13.843" LastActivityDate="2017-02-14T16:05:13.843" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4400" PostTypeId="2" ParentId="4395" CreationDate="2017-02-14T13:51:11.703" Score="1" Body="&lt;p&gt;If you don't use a normal controller, then the Context will not be available and thus the tracker wont be available. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use an API, you would have to pass in the identifier (email address or username) of the user and get the tracker object that way. This will be become an issue because the contact will be on the site, thus the contact record will be locked. You will only be able to read from the object, not write.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class WidgetsController : Controller {&#xA;&#xA;    [HttpGet]&#xA;    public IEnumerable&amp;lt;Widget&amp;gt; GetTrackerInfo()&#xA;    {&#xA;        if (Sitecore.Analytics.Tracker.Current != null) {&#xA;            var contact = Sitecore.Analytics.Tracker.Current.Contact;&#xA;            if (contact != null)&#xA;            {&#xA;                return WidgetsRepository.Get(contact);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-02-14T13:51:11.703" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4401" PostTypeId="2" ParentId="4395" CreationDate="2017-02-14T14:34:44.387" Score="4" Body="&lt;p&gt;Even though your code is running in an API controller, the browser will still send cookies to the server, including the &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt;. This cookie contains the current contact's ID in plain text. You can extract the contact ID in your WebAPI controller and get the current contact from the session (if it's there) or from the database. Here's how:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactCookie = new Sitecore.Analytics.Web.ContactKeyCookie();&#xA;&#xA;if (!contactCookie.IsNewContact)&#xA;{&#xA;    Guid contactId = contactCookie.ContactId;&#xA;&#xA;    var contactRepository = (ContactRepositoryBase)Factory.CreateObject(&quot;contactRepository&quot;, true);&#xA;    var sharedSessionManager = (SharedSessionStateManager)Factory.CreateObject(&quot;tracking/sharedSessionState/manager&quot;, true)&#xA;&#xA;    // Try to load the contact from the Shared Session.&#xA;    Contact sessionContact = sharedSessionManager.LockAndLoadContact(contactId);&#xA;&#xA;    if (sessionContact != null)&#xA;    {&#xA;        try&#xA;        {&#xA;            // Read facet data from sessionContact&#xA;        }&#xA;        finally&#xA;        {&#xA;            sharedSessionManager.SaveAndReleaseContact(sessionContact);&#xA;        }&#xA;    }&#xA;    else&#xA;    {&#xA;        // The contact is not in an active session on this server.&#xA;        // So we'll read it directly from the database:&#xA;        Contact databaseContact = contactRepository.LoadContactReadOnly(contactId);&#xA;&#xA;        if (databaseContact != null)&#xA;        {&#xA;            // Read facet data from databaseContact&#xA;        }&#xA;        else&#xA;        {&#xA;            // The contact wasn't found in the Collection database.&#xA;            // Handle gracefully.&#xA;        }&#xA;    }&#xA;}&#xA;else&#xA;{&#xA;    // There is no current contact session.&#xA;    // Handle gracefully.&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I am first checking whether or not the contact exists in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/session_state/session_state#_Toc396298780&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Shared Session&lt;/strong&gt;&lt;/a&gt;. If it's not there, I read the contact from the Collection database in a read-only mode.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-02-15T08:35:49.003" LastActivityDate="2017-02-15T08:35:49.003" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="4402" PostTypeId="2" ParentId="4340" CreationDate="2017-02-14T15:36:00.447" Score="2" Body="&lt;p&gt;You should ask Sitecore Support for the bugfix. You can refer to issue number 452602 (I'll add it to the blog). The fix should include a dll and a config file patching the ItemResolver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue that was fixed with this patch can be reproduced like this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Take a folder with a wildcard item in it&lt;/li&gt;&#xA;&lt;li&gt;Create another item in that folder with a space in it&lt;/li&gt;&#xA;&lt;li&gt;Follow a link to that item by the sitecore generated url (with a '-' instead of the space)&lt;/li&gt;&#xA;&lt;li&gt;You will be taken to the wildcard item instead of the item you actually wanted&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Sitecore Support can be reached on &lt;a href=&quot;https://support.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.sitecore.net&lt;/a&gt;. The patch will replace the ItemResolver:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.Support.Pipelines.HttpRequest.ItemResolver, Sitecore.Support.452602&quot; /&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The dll itself is patching the constructor of the ItemResolver by adding a new &lt;code&gt;ContentItemPathResolver&lt;/code&gt;. They changed the &lt;code&gt;DoResolveItem&lt;/code&gt; method of the underlying &lt;code&gt;ItemPathResolver&lt;/code&gt; to take wildcard items into account.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-14T15:36:00.447" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4403" PostTypeId="2" ParentId="4384" CreationDate="2017-02-14T16:47:46.637" Score="3" Body="&lt;p&gt;The problem was that the WFFM form was cached. After removing the cache setting the form works correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The form would actually load correctly the first time the page was brought up, but it would submit back to itself and after that the CSS files were no longer included.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3V9RB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3V9RB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2017-02-14T18:18:32.163" LastActivityDate="2017-02-14T18:18:32.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4404" PostTypeId="1" AcceptedAnswerId="4406" CreationDate="2017-02-14T19:19:07.840" Score="4" ViewCount="101" Body="&lt;p&gt;Whats the best way to associate custom data to sitecore languages?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Imagine, if i need to associate API Key to each language.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add new field called APIKey in &lt;code&gt;/sitecore/templates/System/Language&lt;/code&gt; template.&lt;/li&gt;&#xA;&lt;li&gt;Create new template with APIKey field and add that as base template to &lt;code&gt;/sitecore/templates/System/Language&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create new template (SiteSettings) with APIKey, and create an item based on that template and associate content to each language to that item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For me, first two approaches seems risky on upgrade.&#xA;Third approach seems misleading&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any better way?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2017-02-15T04:42:00.460" Title="Associate custom data to sitecore languages" Tags="|multilingual|language-fallback|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4405" PostTypeId="2" ParentId="4404" CreationDate="2017-02-14T19:32:03.060" Score="3" Body="&lt;p&gt;Agreed - the first 2 approaches are risky because you are changing core Sitecore templates and in upgrades you could lose those changes easily.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One option would be to create a template with a field for API Key and a droplink sourced to the languages to select the language.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LanguageApiLink&#xA;    - Data&#xA;        - Api Key (Single-line Text)&#xA;        - Language (droplink)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can use that to link a language to an API key. No core templates altered, nice and simple to setup.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="1000" LastEditDate="2017-02-15T02:45:02.587" LastActivityDate="2017-02-15T02:45:02.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4406" PostTypeId="2" ParentId="4404" CreationDate="2017-02-14T19:45:31.037" Score="3" Body="&lt;p&gt;The third options seems the best to me. Just create a simple template with 1 field APIKey, not shared off course.&lt;br&gt;&#xA;And for each language, add a version and set the APIKey to your unique value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a sidenote, the Helix documentation contains information about how to manage your configurations and settings. It is not always recommended to put everything in .config files nor have every single setting in Sitecore. &lt;a href=&quot;http://helix.sitecore.net/principles/configuration/strategy.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/configuration/strategy.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-02-14T19:45:31.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4407" PostTypeId="1" CreationDate="2017-02-14T19:58:30.147" Score="4" ViewCount="1504" Body="&lt;p&gt;Found this super helpful (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2266/how-to-switch-lucene-to-solr&quot;&gt;How to switch Lucene to Solr&lt;/a&gt;), but I'm still not clear on which servers Solr needs to be installed on in a multi-server environment. Any help would be appreciated.   Thanks! &lt;/p&gt;&#xA;" OwnerUserId="520" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-04-26T15:56:54.277" Title="Which server(s) type(s) should Solr be installed on?" Tags="|solr|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4408" PostTypeId="2" ParentId="4407" CreationDate="2017-02-14T19:59:58.130" Score="8" Body="&lt;p&gt;You'll want to install Solr on it's own server(s). Solr can be very resource demanding especially when you have a large number or Solr cores.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In terms of hardware, the best practices tend to be &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Provide as much memory as you can afford&lt;/li&gt;&#xA;&lt;li&gt;Use SSDs if possible&lt;/li&gt;&#xA;&lt;li&gt;If using mechanical disks, setup at least 4 volumes with a set of&#xA;dedicated heads for each: OS, commit log, SSTables, Solr data  If&#xA;using SSDs you can choose either RAID0 or JBOD&lt;/li&gt;&#xA;&lt;li&gt;Additional cores are helpful because it will increase query/indexing&#xA;throughput (usually each Sitecore index will be one Solr core)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you are not able to install Solr on it's own machine, you'll probably want to install it on the Content Management box as you really don't want to slow down your CD boxes. Again, it's not advised as there will most likely be a performance hit to content authors.&lt;/p&gt;&#xA;" OwnerUserId="731" LastEditorUserId="731" LastEditDate="2017-02-14T20:05:25.647" LastActivityDate="2017-02-14T20:05:25.647" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4409" PostTypeId="2" ParentId="4407" CreationDate="2017-02-14T20:16:56.520" Score="5" Body="&lt;p&gt;Solr infrastructure can vary widely depending on your needs: how much traffic you get and how much Solr is being utilized by your website or even other applications. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr does not need to be installed locally on any specific server type. Solr instances typically have their own dedicated servers. However there is no mandate for this and you can certainly install Solr on any box/instance you want, it'd be just like installing SQL Server and your Sitecore instance on the same box(es) -- you can do it, it's just highly unrecommended. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whether you stick a lone instance of Solr on an existing Sitecore server/instance, or stick the lone instance on its own server, or install a cluster of solr instances spread across each existing Sitecore server/instance, or give each cluster its own dedicated servers, is all completely up to you given your performance needs and the resources available to your project. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many people choose to run dedicated Solr clusters, see: &lt;a href=&quot;https://cwiki.apache.org/confluence/display/solr/SolrCloud&quot; rel=&quot;noreferrer&quot;&gt;https://cwiki.apache.org/confluence/display/solr/SolrCloud&lt;/a&gt;. This setup gives you replication, performance, and scalability. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need to consider certain performance costs depending on how you set up your infrastructure. There is a good wikipage that goes through a lot of common problems people experience with Solr performance: &lt;a href=&quot;https://wiki.apache.org/solr/SolrPerformanceProblems&quot; rel=&quot;noreferrer&quot;&gt;https://wiki.apache.org/solr/SolrPerformanceProblems&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, like with any database/datastore, make sure the server Solr is being installed on has good hardware (SSD's), and that Solr is configured correctly to use those resources (such as RAM). &lt;/p&gt;&#xA;" OwnerUserId="170" LastActivityDate="2017-02-14T20:16:56.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4410" PostTypeId="1" AcceptedAnswerId="4413" CreationDate="2017-02-14T21:17:36.540" Score="3" ViewCount="463" Body="&lt;p&gt;I have a verified domain using a DKIM. The DKIM was created by the email relay, added to my DNS, and verified by the relay.  Once I got the EXM set up properly and was able to add a domain, Sitecore associated it with a different DKIM that is not verified. How to I setup my domain in Sitecore with the already verified DKIM?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eYfsB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eYfsB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1536" LastEditorUserId="73" LastEditDate="2017-02-14T21:20:20.937" LastActivityDate="2017-02-15T22:00:38.843" Title="Can I set up a domain and configure pre-verified DKIM" Tags="|exm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4411" PostTypeId="1" AcceptedAnswerId="4414" CreationDate="2017-02-14T21:51:44.347" Score="5" ViewCount="1998" Body="&lt;p&gt;Is there a way to give access to a users to the /sitecore/admin/* pages without giving them access to the admin role?&lt;/p&gt;&#xA;" OwnerUserId="1073" LastActivityDate="2017-02-15T10:05:14.640" Title="Sitecore admin pages non-admin access" Tags="|security|admin-pages|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4412" PostTypeId="2" ParentId="4411" CreationDate="2017-02-14T22:15:19.910" Score="0" Body="&lt;p&gt;In my opinion it might be best to create a new role. You can give that role access to the things that they should be able to do. Then assign it to the user you want to mimic as an admin.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-02-14T22:15:19.910" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4413" PostTypeId="2" ParentId="4410" CreationDate="2017-02-14T22:16:46.437" Score="3" Body="&lt;p&gt;In EXM, using Sitecore's Email Cloud Delivery service (EXM 3.4+), you have to use the DKIM Keys that are provided to you by Sitecore. This is how Sitecore recognizes that your domain is reputable.&lt;/p&gt;&#xA;&lt;p&gt;You can find the DKIM keys in that screen by double clicking on the domain or by using the eyeball button.&lt;/p&gt;&#xA;&lt;p&gt;From there, you should be presented a similar window to the image below where the new DKIM keys are supplied.  You will want to have someone in charge of your DNS server records to update the DKIM for the domain in question and add these keys as a TXT Record. &lt;em&gt;Also note, when making DNS changes, it can take as long as 72 hours for changes to take effect.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zum5k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zum5k.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Once you have updated your domain keys, and Sitecore's Email Delivery Cloud Service recognizes the keys on the domain, you should see the DKIM box flip from a Yellow Triangle with an Exclamation Mark to a Green Check Mark.&lt;/p&gt;&#xA;&lt;p&gt;Please note, this image is from EXM 3.3, but should be similar in looks.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-14T22:21:52.847" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4414" PostTypeId="2" ParentId="4411" CreationDate="2017-02-14T22:19:34.777" Score="8" Body="&lt;p&gt;There is no general rule that tells Sitecore to force user to login when they access &lt;code&gt;/sitecore/admin/*&lt;/code&gt; url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However most of the pages there (or maybe all) inherits from the &lt;code&gt;Sitecore.sitecore.admin.AdminPage&lt;/code&gt; class and they check if user is administrator (&lt;code&gt;Context.User.IsAdministrator&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is part of the &lt;code&gt;AdminPage&lt;/code&gt; class code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void CheckSecurity()&#xA;{&#xA;  this.CheckSecurity(false);&#xA;}&#xA;&#xA;protected void CheckSecurity(bool isDeveloperAllowed)&#xA;{&#xA;  if (Context.User.IsAdministrator || isDeveloperAllowed &amp;amp;&amp;amp; this.IsDeveloper)&#xA;    return;&#xA;  SiteContext site = Context.Site;&#xA;  if (site == null)&#xA;    return;&#xA;  this.Response.Redirect(string.Format(&quot;{0}?returnUrl={1}&quot;, (object) site.LoginPage, (object) HttpUtility.UrlEncode(this.Request.Url.PathAndQuery)));&#xA;}&#xA;&#xA;private bool IsDeveloper&#xA;{&#xA;  get&#xA;  {&#xA;    if (!this.User.IsInRole(&quot;sitecore\\developer&quot;))&#xA;      return this.User.IsInRole(&quot;sitecore\\sitecore client developing&quot;);&#xA;    return true;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and here is &lt;code&gt;Page_load&lt;/code&gt; from the &lt;code&gt;ShowConfig&lt;/code&gt; class responsible for &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; url:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void Page_Load(object sender, EventArgs e)&#xA;{&#xA;  this.CheckSecurity();&#xA;  XmlDocument configuration = Factory.GetConfiguration();&#xA;  this.Response.ContentType = &quot;text/xml&quot;;&#xA;  this.Response.Write(configuration.OuterXml);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So as you see, it's impossible to allow to access such a page without being administrator. Unless you create your own e.g. &lt;code&gt;ShowConfig&lt;/code&gt; class and use &lt;code&gt;this.CheckSecurity(true)&lt;/code&gt; (which will allow access for developers as well) or make completely custom implementation for the pages there.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-02-14T22:19:34.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4415" PostTypeId="1" AcceptedAnswerId="4858" CreationDate="2017-02-15T02:12:57.707" Score="4" ViewCount="860" Body="&lt;p&gt;I'm trying to protect my QA site from anonymous users coming to it. I tried using basic authentication, which works for the front-end, but because it changes the authentication type to &quot;Windows&quot; it knocks out the admin area (trying to log in just bounces you back to the login screen again).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My site has Sitecore authentication for a subset of data, so I can't just slap a forms authentication on the whole thing (besides it adding a layer of coding that's not needed in production). IIS also doesn't allow for both forms and basic authentication to function together...I tried it and it seemed to favor forms and ignore basic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to make it so users have to enter a simple username/password to see anything of the site (front end or Sitecore shell area), but not knock out the front-end login functionality or the Sitecore login functionality.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-03-14T00:20:20.490" Title="Protecting a QA site from anonymous access" Tags="|authentication|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4416" PostTypeId="2" ParentId="4404" CreationDate="2017-02-15T04:42:00.460" Score="0" Body="&lt;p&gt;Since we are talking about language items, another option you could take, which is similar to Richard's response, is to create a very basic item that just stores the Api Key information.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ApiLink&#xA;    - Data&#xA;        - ApiKey (Single-line Text)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can have different language versions of the same item, and as long as that field &lt;code&gt;ApiKey&lt;/code&gt; isn't a shared field, you can vary the data in it per the language version of the item.  Which option you choose depends on what your specific needs are.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you should always avoid making changes to Sitecore items such as the Language items.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-02-15T04:42:00.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4417" PostTypeId="1" CreationDate="2017-02-15T09:02:46.520" Score="3" ViewCount="432" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V34A8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V34A8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know Speak views (180+) are pre-complied on every app initialize ( application start) which is to optimize the performance of speak component.&#xA;Also developers can disable them if they need quick application start when they are working in sandbox environment as mentioned here:&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/maximize-sitecore-developer-productivity&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/maximize-sitecore-developer-productivity&lt;/a&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/speak/development/improving_performance_by_disabling_precompilation_of_mvc_views&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak/development/improving_performance_by_disabling_precompilation_of_mvc_views&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Queries are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;When there are no changes to Sitecore Speak component views why do&#xA;we need pre-compilation between two application starts which happens&#xA;sequentially.Any technique to control pre-compilation where are no changes ?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Does this Pre-compilation at application initialize meant only for&#xA;SPEAK views provided by sitecore or even to custom SPEAK Views&#xA;created by dev team.  Just by providing path something here&#xA;&lt;strong&gt;/Areas/MyAreas/Views/CustomSpeak.cshtml&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UyvuR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UyvuR.png&quot; alt=&quot;One of Speak View&amp;#39;s path&quot;&gt;&lt;/a&gt;&#xA;( I have not tested this &amp;amp; also worried on application start duration )&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="982" LastEditDate="2017-02-15T10:03:10.177" LastActivityDate="2017-02-22T08:14:51.133" Title="Pre-compilation of Speak Views Required on every application initialize (app start)" Tags="|performance-optimization|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4418" PostTypeId="2" ParentId="4411" CreationDate="2017-02-15T09:14:22.607" Score="0" Body="&lt;p&gt;You can add your own aspx page to the admin folder and bypass admin. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't inherit anything and then check that they're logged in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Context.User.IsAuthenticated)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I wouldn't recommend doing this though, just because probably it is best to keep admin pages for admins.&lt;/p&gt;&#xA;" OwnerUserId="1274" LastEditorUserId="982" LastEditDate="2017-02-15T10:05:14.640" LastActivityDate="2017-02-15T10:05:14.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4419" PostTypeId="2" ParentId="4395" CreationDate="2017-02-15T09:15:36.540" Score="2" Body="&lt;p&gt;Have a look at this solution. You can make an API call &lt;strong&gt;session-aware&lt;/strong&gt; and then use  &lt;code&gt;Tracker.Current.Session.**Contact**&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class MakeWebApiSessionAware&#xA;    {&#xA;         public void Process(PipelineArgs args)&#xA;        {&#xA;            var route = RouteTable.Routes[SetupRoutes.ApiRouteSessionAwareKey] as Route;&#xA;&#xA;            if (route != null)&#xA;            {&#xA;                route.RouteHandler = new SessionRouteHandler();&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    public class SessionRouteHandler : IRouteHandler&#xA;    {&#xA;        IHttpHandler IRouteHandler.GetHttpHandler(RequestContext requestContext)&#xA;        {&#xA;            return new SessionControllerHandler(requestContext.RouteData);&#xA;        }&#xA;    }&#xA;&#xA;    public class SessionControllerHandler : HttpControllerHandler, IRequiresSessionState&#xA;    {&#xA;        public SessionControllerHandler(RouteData routeData)&#xA;            : base(routeData)&#xA;        {&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Pipelines setup:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;        &#xA;        &amp;lt;processor patch:after=&quot;processor[@type='X.Y.Pipelines.SetupRoutes, X.Y.Business']&quot;&#xA;              type=&quot;X.Y.Business.Pipelines.MakeWebApiSessionAware&quot; /&amp;gt;&#xA;       &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The idea came from here: &lt;a href=&quot;http://jockstothecore.com/xdb-tracking-the-untrackable-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jockstothecore.com/xdb-tracking-the-untrackable-part-1/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="767" LastEditorUserId="767" LastEditDate="2017-02-15T09:33:59.587" LastActivityDate="2017-02-15T09:33:59.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4420" PostTypeId="1" CreationDate="2017-02-15T09:16:47.233" Score="1" ViewCount="77" Body="&lt;p&gt;In Sitecore.NET 8.1 (rev. 160519) + Web Forms for Marketers 8.1.rev. 160523,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are getting problem into executeing WFFM Custom Save Action in CD environment with Submitting form with image. If we do not upload any image and submit the forms, WFFM Custom Save Action work fine. In CM sever form is submitting perfectly with/without image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Log file I got this entry against my Save Action Item ID&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;WARN [WFFM] Could not find configuration node:&#xA;  databases/database[@id='master']&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;but already we have setting enable for web db in SwitchMasterToWeb.config &amp;amp; sitecore. analytics.config&#xA;&lt;/p&gt;&#xA;" OwnerUserId="1338" OwnerDisplayName="Shailesh" LastEditorUserId="982" LastEditDate="2017-02-15T09:29:16.830" LastActivityDate="2017-02-15T09:29:44.877" Title="WFFM Image upload issue in CD Server Sitecore , Getting error &quot;Could not find configuration node: databases/database[@id='master']&quot;" Tags="|wffm|" AnswerCount="0" CommentCount="0" ClosedDate="2017-02-15T09:30:47.517" ContentLicense="CC BY-SA 3.0" />
  <row Id="4424" PostTypeId="2" ParentId="4380" CreationDate="2017-02-15T11:51:50.823" Score="2" Body="&lt;p&gt;The issue that I believe you are running into, is that no index is being defined. As part of the Search context, an index has to be identified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example query highlighting the index selection:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index  = ContentSearchManager.GetIndex(“sitecore_web_index”);&#xA;using (var searchContext = index.CreateSearchContext())&#xA;{&#xA;var blogPosts = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;.Where(i =&amp;gt; i.TemplateName == “Blog Post”);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice how I'm first defining which index I need to use, and then from the index, creating a search context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this helps you.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-02-15T11:51:50.823" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="4426" PostTypeId="2" ParentId="4299" CreationDate="2017-02-15T14:00:10.073" Score="2" Body="&lt;p&gt;I am able to resolve this by&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Reinstalling WFFM CM package on server&lt;/li&gt;&#xA;&lt;li&gt;Republishing all WFFM related items&lt;/li&gt;&#xA;&lt;li&gt;Clear the Sitecore Cache&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="930" LastActivityDate="2017-02-15T14:00:10.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4427" PostTypeId="1" AcceptedAnswerId="4428" CreationDate="2017-02-15T14:41:50.507" Score="2" ViewCount="777" Body="&lt;p&gt;I've just installed Publishing Service 2.0 and after installing (and reinstalling) the module, whenever, I try to publish, it doesn't seem to pass along the languages and targets resulting in an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error the publishing service logs is this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-02-15 09:12:37.339 -05:00 [Debug] Raising publish job started event in Sitecore event queue for job d475e63c-0b8e-411e-aa36-ebe8e56c47f6.&#xA;2017-02-15 09:12:37.356 -05:00 [Information] Job Result: d475e63c-0b8e-411e-aa36-ebe8e56c47f6 - &quot;Failed&quot; - &quot;No target connections were specified.&quot;. Duration: 00:00:00.0339960&#xA;2017-02-15 09:12:37.374 -05:00 [Debug] Raising publish job end event in Sitecore event queue for job d475e63c-0b8e-411e-aa36-ebe8e56c47f6.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is what the modals look like when trying to publish:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0Y8T3.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0Y8T3.jpg&quot; alt=&quot;This all looks good&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/48L0m.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/48L0m.jpg&quot; alt=&quot;This where it starts to get weird. There should be a language and target where the yellow is.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So where the yellow is is where the language and target should be but it doesn't seem to be passing it along. Has anyone else encountered something like this?&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2017-07-27T13:28:22.210" Title="Language and Targets missing in Publishing Service 2.0" Tags="|publishing|publishing-service|publishing-targets|" AnswerCount="1" CommentCount="1" ClosedDate="2017-07-27T15:27:03.933" ContentLicense="CC BY-SA 3.0" />
  <row Id="4428" PostTypeId="2" ParentId="4427" CreationDate="2017-02-15T15:10:12.630" Score="2" Body="&lt;p&gt;If you upgraded from 1.1, try Clearing your browser cache, we rewrote all SPEAK dialog in 2.0. Looks like SPEAK isn't databinding to our new JSON changes.&lt;/p&gt;&#xA;" OwnerUserId="47" LastActivityDate="2017-02-15T15:10:12.630" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4429" PostTypeId="2" ParentId="4069" CreationDate="2017-02-15T15:33:18.930" Score="3" Body="&lt;p&gt;To get Sitecore to resolve datasources using custom logic, you can add a pipeline processor to the &lt;code&gt;resolveRenderingDatasource&lt;/code&gt; pipeline in &lt;code&gt;Sitecore.config&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;resolveRenderingDatasource&amp;gt;&#xA;  &amp;lt;processor type=&amp;quot;Example.DataSourceService, Example&amp;quot;/&amp;gt;&#xA;&amp;lt;/resolveRenderingDatasource&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The &lt;code&gt;DataSourceService&lt;/code&gt; processor can then inject any custom logic it needs for resolving the datasource string to an ID:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class DataSourceService&#xA;{&#xA;  public void Process(ResolveRenderingDatasourceArgs args)&#xA;  {&#xA;    if (!args.Datasource.StartsWith(&amp;quot;site:&amp;quot;))&#xA;      return;&#xA;    if (Context.Database == null || Context.Site == null)&#xA;    {&#xA;      args.Datasource = &amp;quot;&amp;quot;;&#xA;      return;&#xA;    }&#xA;&#xA;    var item = CustomQuery(args.Datasource);&#xA;    args.Datasource = item.ID.ToString();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;MVC:&lt;/h2&gt;&#xA;&lt;p&gt;If you're in an MVC environment you'll need to also add a processor to the &lt;code&gt;mvc.customizeRendering&lt;/code&gt; pipeline in &lt;code&gt;Sitecore.MvcExperienceEditor.config&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mvc.customizeRendering&amp;gt;&#xA;  &amp;lt;processor type=&amp;quot;Example.ResolveRenderingDatasource, Example&amp;quot; patch:after=&amp;quot;*&amp;quot;/&amp;gt;&#xA;&amp;lt;/mvc.customizeRendering&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The &lt;code&gt;ResolveRenderingDatasource&lt;/code&gt; processor needs to call the &lt;code&gt;resolveRenderingDatasource&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&lt;p&gt;Also make sure you add reference to &lt;code&gt;Sitecore.Mvc.Analytics&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering;&#xA;using Sitecore.Pipelines;&#xA;using Sitecore.Pipelines.ResolveRenderingDatasource;&#xA;&#xA;public class ResolveRenderingDatasource : CustomizeRenderingProcessor&#xA;{&#xA;  public override void Process(CustomizeRenderingArgs args)&#xA;  {&#xA;    var rendering = args.Rendering;&#xA;    var renderingDatasourceArgs = new ResolveRenderingDatasourceArgs(rendering.DataSource);&#xA;    CorePipeline.Run(&amp;quot;resolveRenderingDatasource&amp;quot;, renderingDatasourceArgs);&#xA;    rendering.DataSource = renderingDatasourceArgs.Datasource;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="286" LastEditorUserId="3822" LastEditDate="2020-12-04T14:37:20.330" LastActivityDate="2020-12-04T14:37:20.330" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4430" PostTypeId="1" AcceptedAnswerId="8640" CreationDate="2017-02-15T16:25:54.093" Score="3" ViewCount="1099" Body="&lt;p&gt;Here is what I have setup:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Insurance Item Template:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Title - Single-line Text&lt;/li&gt;&#xA;&lt;li&gt;InsuredStates - Multilist pointing to a list of states such as (Texas)&lt;/li&gt;&#xA;&lt;li&gt;Inherits from the _Searchable template in SXA&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have a tree structure like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QoCkG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QoCkG.png&quot; alt=&quot;Sample Insurance&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page contains three components:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Search Box with a scope set to the root Insurance folder&lt;/li&gt;&#xA;&lt;li&gt;Search Results with a scope set to the Urgent Care folder&lt;/li&gt;&#xA;&lt;li&gt;Search Results with a scope set to the Physical Therapy folder&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The rendering variant is setup to show the state names. The &lt;em&gt;StateName&lt;/em&gt; field exists on the state item as the fullname version (also has an abbrev.).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DXbSN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DXbSN.png&quot; alt=&quot;Rendering Variant&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get the tab completion to populate the search box? Hitting &lt;em&gt;enter&lt;/em&gt;, &lt;em&gt;tab&lt;/em&gt;, or clicking does not autocomplete. Hitting &lt;em&gt;enter&lt;/em&gt; will however trigger a search with the text currently in the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oxAhF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oxAhF.png&quot; alt=&quot;No tab completion&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get the page to load without any search results? This appears on first page load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7kKYD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7kKYD.png&quot; alt=&quot;Populated results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-11-24T15:04:05.467" LastActivityDate="2017-11-24T15:14:57.190" Title="How to configure SXA Search Box to support tab or enter completion?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4431" PostTypeId="1" AcceptedAnswerId="4433" CreationDate="2017-02-15T16:29:06.587" Score="14" ViewCount="16705" Body="&lt;p&gt;I set up my analytics tracker code as someone noted to me in another question, but when I went through my site and did a login, then some stuff, then logged out (causing a session abandon), the analytics portal on Sitecore still registered the user as anonymous. Going back through the instructions, I saw that the Analytics.ClusterName had to be changed as well to match the CD DNS or IP. So I did that on my local to 127.0.0.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After I made that change and reset the site, however, I got a YSOD screen with the &quot;Tracker.Current is not initialized&quot; error. When I look at the logs, I see an error for &quot;Cannot push session url: &lt;a href=&quot;http://default-cd-cluster/sitecore/service/analytics/session/PushSession.ashx&quot; rel=&quot;noreferrer&quot;&gt;http://default-cd-cluster/sitecore/service/analytics/session/PushSession.ashx&lt;/a&gt;&quot; followed by &quot;The remote name could not be resolved: 'default-cd-cluster'&quot;. I confirmed in ShowConfig.aspx that the correct setting was made to Analytics.ClusterName.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I change it back to the default, the site at least comes up again. I don't understand why the error is happening in this case, though, if that's not the setting I have after the fact. This is with Sitecore 8.1 Update 1.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="73" LastEditDate="2018-11-14T13:42:03.767" LastActivityDate="2020-01-03T09:01:16.973" Title="Analytics &quot;Tracker.Current is not initialized&quot;" Tags="|xdb|experience-analytics|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="4432" PostTypeId="2" ParentId="4430" CreationDate="2017-02-15T17:07:39.807" Score="3" Body="&lt;p&gt;I am afraid you are not able to address your needs without custom code right now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do I get the tab completion to populate the search box?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no way to configure such behaviour right now. If you want you could create your own &lt;code&gt;component-search-box.js&lt;/code&gt; and implement additional behaviour for tab key&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Search Box&lt;/strong&gt; rendering use &lt;a href=&quot;https://twitter.github.io/typeahead.js/&quot; rel=&quot;nofollow noreferrer&quot;&gt;typeahead.js&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;typeahead = this.$el.find(&quot;.search-box-input&quot;).typeahead({&#xA;    hint: true,&#xA;    highlight: true,&#xA;    minLength: 2&#xA;}, {&#xA;    source: inst.model.get(&quot;searchEngine&quot;).ttAdapter(),&#xA;    displayKey: function () {&#xA;        return inst.$el.find(&quot;.search-box-input.tt-input&quot;).val();&#xA;    },&#xA;    templates: {&#xA;        suggestion: function (data) {&#xA;            return '&amp;lt;div class=&quot;sugesstion-item&quot;&amp;gt;' + data.html + '&amp;lt;/div&amp;gt;';&#xA;        }&#xA;    }&#xA;}).on('typeahead:selected', function (event, datum) {&#xA;    var link = $(datum.html).find(&quot;a&quot;);&#xA;&#xA;    if (link.length) {&#xA;        window.location.href = $(link[0]).attr(&quot;href&quot;);&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you click &lt;code&gt;Enter&lt;/code&gt;/&lt;code&gt;Tab&lt;/code&gt;, &lt;code&gt;typeahead:selected&lt;/code&gt; event will be executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do I get the page to load without any search results? This appears on first page load.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how search service currently works. It gets results and feed with them all available renderings on a page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That way you will get facets without need to perform any action, which is good ( in most cases).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Search Results&lt;/strong&gt; rendering contains something like that in his code (&lt;code&gt;component-search-results.js&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;XA.component.search.vent.on(&quot;results-loaded&quot;, this.resultsLoaded.bind(this));    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want specifically block &lt;strong&gt;Search Results&lt;/strong&gt; from loading data, try to add your custom code somewhere there.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="95" LastEditDate="2017-02-15T19:58:08.487" LastActivityDate="2017-02-15T19:58:08.487" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4433" PostTypeId="2" ParentId="4431" CreationDate="2017-02-15T17:27:54.957" Score="21" Body="&lt;h2&gt;Cannot Create Tracker or Tracker.Current is Not Initialized - Common Fixes&lt;/h2&gt;&#xA;&lt;p&gt;Your problem is that after changing the &lt;strong&gt;Analytics.Clustername&lt;/strong&gt;, you are not ensuring that the &lt;em&gt;hostname&lt;/em&gt; (which is really what ClusterName is) is resolvable. All Servers must be able to resolve the ClusterName by DNS. Either by a host file entry locally on the server or through a DNS server.&lt;/p&gt;&#xA;&lt;p&gt;See &lt;code&gt;http://default-cd-cluster/sitecore/service/analytics/session/PushSession.ashx&lt;/code&gt;, unless &lt;strong&gt;default-cd-cluster&lt;/strong&gt; is defined somewhere on your local host file or DNS, &lt;strong&gt;default-cd-cluster&lt;/strong&gt; does not resolve.  On CD instances, this has to resolve to local host (127.0.0.1), but on CM's this has to resolve to a CD instance IP address.&lt;/p&gt;&#xA;&lt;p&gt;By the way, in single instance mode, where CM and CD are combined, I almost never change the ClusterName from defaults, because it'll work just fine. User of Analytics.ClusterName is only super important in a distributed role environment (separated CM and CD's).&lt;/p&gt;&#xA;&lt;p&gt;See Below for insight and details on why this is occurring and how to fix it.&lt;/p&gt;&#xA;&lt;h3&gt;Reason 1: Analytics.ClusterName is configured incorrectly.&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; which is set in the &lt;em&gt;Sitecore.Analytics.Tracking.config&lt;/em&gt; needs to be a legitimate, resolvable hostname. The default &amp;quot;default-cd-cluster&amp;quot; is not enough to promote a working solution.  This value has to be a dns name that all Sitecore Servers can reach (e.g. &lt;strong&gt;cd.cluster.domain.com&lt;/strong&gt; for example).&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Ensure that each server, at a minimum has the configured &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; in the windows host file and configured to point to an IP address of a Content Delivery server.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If on a content delivery server, set this host file IP equal to localhost, which is 127.0.0.1.&lt;/li&gt;&#xA;&lt;li&gt;If on a content management or other server, set the host file IP value equal to the IP of ONE of your CD servers. Do not set it to the load balancer IP (unless that can be reached by your network)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;Reason 2: Analytics.Hostname is Incorrect&lt;/h3&gt;&#xA;&lt;p&gt;It has been my experience that setting a value for &lt;strong&gt;Analytics.Hostname&lt;/strong&gt;, located in the &lt;em&gt;Sitecore.Analytics.Tracking.config&lt;/em&gt; file does more harm than good. I have found leaving this value BLANK, makes everything work as it should.&lt;/p&gt;&#xA;&lt;h3&gt;Reason 3: Sitecore.Context.Page is not available.&lt;/h3&gt;&#xA;&lt;p&gt;Sitecore's Analytic &lt;strong&gt;Tracker&lt;/strong&gt; requires that the &lt;code&gt;Sitecore.Context.Page&lt;/code&gt; object be available in order for Tracker to be initialized. In certain cases where this object is not available, and Tracker tries to be started, it will throw this error.&lt;/p&gt;&#xA;&lt;p&gt;Tracker cannot be utilized on ASHX's, internal pipelines or thread processes where Page is not set.&lt;/p&gt;&#xA;&lt;h2&gt;Utilization of Tracker on Content Management Servers.&lt;/h2&gt;&#xA;&lt;p&gt;Pure (role configured) Content Management servers do not utilize session state management, and therefore can not run Tracker natively. Instead, they rely on the &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; to resolve in order to communicate a session back to the Content Delivery servers. In cases where on the Content Management server, you receive these types of errors, it is because &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; is not correctly setup and reachable.&lt;/p&gt;&#xA;&lt;p&gt;This also applies to &lt;strong&gt;Processing Servers&lt;/strong&gt;, &lt;strong&gt;EXM Dispatch Servers&lt;/strong&gt;, and &lt;strong&gt;Secondary Content Management Servers&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;h2&gt;Want a Deep Dive Look?&lt;/h2&gt;&#xA;&lt;p&gt;Here is a &lt;a href=&quot;https://sitecorehacker.com/2017/02/12/sitecore-analytics-tracker-common-issues-and-how-to-resolve-them&quot; rel=&quot;noreferrer&quot;&gt;link to a blog post&lt;/a&gt; that I just published today as a result of this answer. In addition, I go into a deep dive behind the covers to reveal what's really going on when the Tracker is initialized and WHY the &lt;strong&gt;Analytics.ClusterName&lt;/strong&gt; is so important.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-15T18:10:44.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4434" PostTypeId="1" AcceptedAnswerId="4438" CreationDate="2017-02-15T17:40:26.427" Score="3" ViewCount="3757" Body="&lt;p&gt;We're in the process of integrating with a product management tool to automate the process of item/product creation within our system.  I know that Sitecore has the ability to pass back the objects directly through URL reference, but is there a way to pass a JSON object, or something like that, which would be able to include a reference to a template maybe, and a location/parent node to save it to, and create a new instance of the item, and save it appropriately?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We do something like that now in our manual process, which can create an item based on an excel spreadsheet, but that was entirely home-grown, and programmatically creates the item (or version if it's already there) and that get's saved back where it belongs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Is there anything out of the box that sitecore provides that would perform that object creation?&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="1243" LastEditorUserId="423" LastEditDate="2017-08-08T14:47:22.227" LastActivityDate="2018-03-28T13:38:27.897" Title="Is there an API for item creation?" Tags="|best-practices|sitecore-services-client|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4435" PostTypeId="1" AcceptedAnswerId="4436" CreationDate="2017-02-15T17:41:22.223" Score="3" ViewCount="2712" Body="&lt;p&gt;I want to add custom fields to my import wizard and import a list with values for those new fields.  Looking at the examples online this appears to be straight forward. But I am getting an error in the facet mapper when I execute the import.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;This is the error thrown in the Sitecore Service. How do I get past this exception?&#xA;9608 14:44:31 ERROR [Sitecore Services]: HTTP POST&#xA;URL http://{site_removed}/sitecore/api/ssc/ListManagement/Import/{Guid_ID_Removed}/ImportContactsFromMediaLibraryAndCreateList&#xA;Exception System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&#xA;   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)&#xA;   at Sitecore.ListManagement.Import.FacetedMapper.Map(MappingInfo mappingInfo, Object destination, MappingContext context)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error message fits many scenarios but we know that there is a dictionary somewhere that’s using a key value and the code can't find the key.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a considerable amount of code and configuration that goes into this.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created the field content items in the Content manger on the CORE database and updated the tree at the List manager node from the Developer's tab in CORE and MASTER. My fields show up in the wizard as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Interface&lt;/strong&gt;   &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IABCCompanyContactDetailFacet : IFacet&#xA;{&#xA;    string AbcName { get; set; }&#xA;    string AbcNumber { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Class (uses the serializable attribute)&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class ABCCompanyContactDetailFacet : Facet, IABCCompanyContactDetailFacet&#xA;{&#xA;    private const string ABCNAME = &quot;ABCName&quot;;&#xA;    private const string ABCNUMBER = &quot;ABCNumber&quot;;&#xA;&#xA;    public ABCCompanyContactDetailFacet()&#xA;    {&#xA;        this.EnsureAttribute&amp;lt;string&amp;gt;(ABCNAME);&#xA;        this.EnsureAttribute&amp;lt;string&amp;gt;(ABCNUMBER );&#xA;    }&#xA;&#xA;    public string AbcName&#xA;    {&#xA;        get { return this.GetAttribute&amp;lt;string&amp;gt;(ABCNAME ); }&#xA;&#xA;        set { this.SetAttribute&amp;lt;string&amp;gt;(ABCNAME , value); }&#xA;    }&#xA;&#xA;    public string AbcNumber&#xA;    {&#xA;        get { return this.GetAttribute&amp;lt;string&amp;gt;(ABCNUMBER ); }&#xA;&#xA;        set { this.SetAttribute&amp;lt;string&amp;gt;(ABCNUMBER , value); }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Analytics.Model.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;elements&amp;gt;&#xA;     &amp;lt;element interface=&quot;ABCCompany.Analytics.CustomFacets.IABCContactDetailFacet, ABCCompany.Analytics&quot; implementation=&quot;ABCCompany.Analytics.CustomFacets.ABCContactDetailFacet, ABCCompany.Analytics&quot;/&amp;gt;&#xA;  &amp;lt;/elements&amp;gt;&#xA;&#xA; &amp;lt;facets&amp;gt;&#xA;    &amp;lt;facet name=&quot;ABCContactDetail&quot; contract=&quot;ABCCompany.Analytics.CustomFacets.IABCContactDetailFacet, ABCCompany.Analytics&quot; /&amp;gt;&#xA; &amp;lt;/facets&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Analytics.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;updateFields&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.ListManagement.Analytics.Data.Bulk.Contact.Pipelines.UpdateFields.DeepCopyFacet`1[[ABCCompany.Analytics.CustomFacets.IABCContactDetailFacet, ABCCompany.Analytics]], Sitecore.ListManagement.Analytics&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;facetName&quot;&amp;gt;ABCContactDetail&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/updateFields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;…&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Content Manager (Core) (Data field example. This is similar to what I used.)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Item path: /sitecore/client/Applications/List Manager/Dialogs/ImportWizardDialog/PageSettings/TabControl Parameters/Map/ImportModel/ABC Name&#xA;&#xA; Item path: /sitecore/client/Applications/List Manager/Dialogs/ImportWizardDialog/PageSettings/TabControl Parameters/Map/ImportModel/ABC Number&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Field Name similar to: (Code Property Names are the same as Field Name)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;AbcName&lt;/p&gt;&#xA;&#xA;&lt;p&gt;AbcNumber&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Data Value fields similar to:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;{facet:&quot;ABCContactDetail&quot;, property:&quot;AbcName&quot;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;{facet:&quot;ABCContactDetail&quot;, property:&quot;AbcNumber&quot;} &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the set up above the new fields are available.  I attempt to import the file and I get a red message saying that &quot;The contacts have not been imported.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I only have one record in the test csv file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The csv text is below (header and one row of data). (ID: I tried with INT , GUID, and no Identifier ID with same results)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Email,First_Name,Last_Name,ABCNumber,ABCName,ID&#xA;customer1@gmail.com,CustomerFirst,CustomerLast,ABC Number Value,ABC Name Value,{8e558fdc-67b8-4bc5-8e18-92c78ad33cb0}&lt;/p&gt;&#xA;" OwnerUserId="1536" LastActivityDate="2017-02-15T18:08:33.860" Title="&quot;The given key was not present in the dictionary.&quot; error occurs when importing a .csv with custom fields" Tags="|exm|list-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4436" PostTypeId="2" ParentId="4435" CreationDate="2017-02-15T17:58:01.700" Score="1" Body="&lt;p&gt;The issue that you are seeing is that the Facet Mapper dictionary is case sensitive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your example above, the String constant that you are setting in your concrete class is &lt;code&gt;private const string ABCNAME = &quot;ABCName&quot;&lt;/code&gt;.  Note that the &quot;ABC&quot; is Capitalized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in your ImportModel field definition, you have &lt;code&gt;{facet:&quot;ABCContactDetail&quot;, property:&quot;AbcName&quot;}&lt;/code&gt; where there property is listed as &quot;AbcName&quot;.  Notice that the ABC is not capitalized like it is in your Facet concrete class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change your ImportModel field to uppercase ABC, and this should work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nice work by the way. Looks like you hit all of the main &lt;a href=&quot;https://sitecorehacker.com/2016/09/03/loading-xdb-contacts-with-csv-and-custom-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;points&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-02-15T18:08:33.860" LastActivityDate="2017-02-15T18:08:33.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4437" PostTypeId="2" ParentId="4434" CreationDate="2017-02-15T18:07:04.760" Score="2" Body="&lt;p&gt;You can use sitecore Sitecore Item Web API to create an item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://[host_name]/-/item/v1/sitecore/Content/Home?name=MyItem&amp;amp;template=Sample/Sample Item&amp;amp;sc_database=master&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also make sure you have these settings in your &lt;strong&gt;Sitecore.ItemWebApi.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;itemwebapi.mode=&quot;StandardSecurity&quot;&#xA;itemwebapi.allowanonymousaccess=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more info &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="982" LastEditDate="2017-02-15T18:22:44.877" LastActivityDate="2017-02-15T18:22:44.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4438" PostTypeId="2" ParentId="4434" CreationDate="2017-02-15T18:14:22.957" Score="6" Body="&lt;h2&gt;Item Web API&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For Sitecore versions from 6+ till 8 you should use the &lt;strong&gt;Sitecore Item Web API&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Documentation is available here: &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;link&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Creating an Item from a Template&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;To create an item called &lt;strong&gt;MyItem&lt;/strong&gt; that is based on the &lt;strong&gt;Sample Item&lt;/strong&gt; template in the &lt;strong&gt;master&lt;/strong&gt; database, use&#xA;  a URL in the following format:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;http:///-&#xA;  /item/v1/sitecore/Content/Home?name=MyItem&amp;amp;template=Sample/Sample&#xA;  Item&amp;amp;sc_database=master&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Sitecore Services Client&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For newer Sitecore versions (8+) the &lt;strong&gt;Sitecore.Services.Client&lt;/strong&gt; must be used:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, check this document by Sitecore (&lt;em&gt;p.3.4.5 Create an Item&lt;/em&gt;):&#xA;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/75/developer&amp;#39;s_guide_to_sitecore.services.client_sc75-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You use this method to create a new Sitecore item.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Verb: &lt;strong&gt;POST&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;URL:  &lt;strong&gt;/item/{path}?database&amp;amp;language&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-02-15T18:14:22.957" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4439" PostTypeId="1" CreationDate="2017-02-15T18:27:32.937" Score="2" ViewCount="1985" Body="&lt;p&gt;This is not exactly a problem, more of an irritating itch... I have replaced the InitializeGlobalFilters with a patchfile called InitializeGlobalFilters.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeGlobalFilters, Sitecore.Mvc&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Framework.Pipelines.Filters.InitializeGlobalFilters, DD.Framework&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this works, it patches the config, but when I look at ShowConfig.aspx, it lists the patch source as the original patch file from sitecore, not my patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor patch:source=&quot;Sitecore.Mvc.config&quot; type=&quot;Framework.Pipelines.Filters.InitializeGlobalFilters, Framework&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does this matter? How do I get it to show my patch file as the patch:source?&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2019-10-09T01:07:10.563" Title="Patch attribute does not replace patch:source" Tags="|configuration|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4441" PostTypeId="2" ParentId="4439" CreationDate="2017-02-15T18:42:35.597" Score="0" Body="&lt;p&gt;It looks like its just the order that Sitecore is processing the include files. Your file &lt;code&gt;InitializeGlobalFilters.config&lt;/code&gt; will be processed before the &lt;code&gt;Sitecore.Mvc.config&lt;/code&gt;, because it processes them in alphabetical order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the &lt;code&gt;Sitecore.Mvc.Config&lt;/code&gt; file patches any part of that processor, it will be listed as the patch source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As long as the right &lt;code&gt;type&lt;/code&gt; is in the show config, it will work as you expect. &lt;em&gt;BUT&lt;/em&gt; it has the potential to break if another patch file is added later that overrides the attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its normally good practice to add your own config files to a sub folder under the &lt;code&gt;/App_config/Include&lt;/code&gt; folder, prefixed with a &lt;code&gt;z&lt;/code&gt; - this makes sure its the last set of config changes to be merged in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can be sure that your custom config will always make it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative is to use the method here: &lt;a href=&quot;https://jammykam.wordpress.com/2016/10/20/goodbye-z-last-custom-sitecore-config-patch-folder/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2016/10/20/goodbye-z-last-custom-sitecore-config-patch-folder/&lt;/a&gt; - but that will only work for newer versions of Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-02-15T18:42:35.597" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4442" PostTypeId="2" ParentId="4439" CreationDate="2017-02-15T18:56:21.440" Score="4" Body="&lt;p&gt;If the configurator patches an original config from a patch config,  Patch source equals that first patch config. If a second configuration comes around that patches the same line, the Configurator doesn't record it.  Annoying as hell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the XmlPatchHelper Class, there's a method called AssignSource:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual void AssignSource(XmlNode target, object source, XmlPatchNamespaces ns)&#xA;{&#xA;  Assert.ArgumentNotNull((object) target, &quot;target&quot;);&#xA;  Assert.ArgumentNotNull(source, &quot;source&quot;);&#xA;  Assert.ArgumentNotNull((object) ns, &quot;ns&quot;);&#xA;  IXmlSource xmlSource = source as IXmlSource;&#xA;  if (xmlSource == null)&#xA;    return;&#xA;  string sourceName = xmlSource.SourceName;&#xA;  if (string.IsNullOrEmpty(sourceName))&#xA;    return;&#xA;  Assert.IsNotNull((object) target.OwnerDocument, &quot;target.OwnerDocument&quot;);&#xA;  string prefix = target.OwnerDocument.GetPrefixOfNamespace(ns.PatchNamespace);&#xA;  if (string.IsNullOrEmpty(prefix))&#xA;  {&#xA;    prefix = &quot;patch&quot;;&#xA;    XmlNode documentElement = (XmlNode) target.OwnerDocument.DocumentElement;&#xA;    XmlAttribute attribute = target.OwnerDocument.CreateAttribute(&quot;xmlns:&quot; + prefix);&#xA;    attribute.Value = ns.PatchNamespace;&#xA;    Assert.IsNotNull((object) documentElement, &quot;rootElement&quot;);&#xA;    Assert.IsNotNull((object) documentElement.Attributes, &quot;rootElement.Attributes&quot;);&#xA;    documentElement.Attributes.Append(attribute);&#xA;  }&#xA;  Assert.IsNotNull((object) target.Attributes, &quot;target.Attributes&quot;);&#xA;  XmlAttribute attribute1 = target.Attributes[&quot;source&quot;, ns.PatchNamespace];&#xA;  if (attribute1 == null)&#xA;  {&#xA;    attribute1 = target.OwnerDocument.CreateAttribute(prefix, &quot;source&quot;, ns.PatchNamespace);&#xA;    target.Attributes.Append(attribute1);&#xA;  }&#xA;  attribute1.Value = sourceName;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The variable &lt;code&gt;attribute1&lt;/code&gt; is the important one. If the patcher comes across a node element that it has ALREADY patched, attribute1 won't return null, therefore, uses the previously assigned source.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-02-15T18:56:21.440" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4445" PostTypeId="1" CreationDate="2017-02-15T21:02:41.740" Score="10" ViewCount="5304" Body="&lt;p&gt;We're building several &quot;greenfield&quot; Sitecore 8.1 web applications with TDS 5.5 used for synchronization of Sitecore Items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't want developers to be required to do any extra work to deploy the .item files to our CI/CD environment (and preferably any deployment environment).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead we would like to execute something on the CI/CD environment that deploys the items. We're guessing that the build process may need to package them in some way for this to be achieved. We can't install Visual Studio on the deployment environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've seen that from TDS 5.5 there is &lt;a href=&quot;https://hedgehogdevelopment.github.io/tds/chapter5.html#tds-builds-using-cloud-servers&quot; rel=&quot;noreferrer&quot;&gt;something about using NuGet&lt;/a&gt; to assist with this, but I can't find any step-by-step details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="705" LastActivityDate="2018-02-15T18:25:32.000" Title="How do we automatically deploy TDS Sitecore Items under CI/CD?" Tags="|tds|deployment|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4447" PostTypeId="2" ParentId="4410" CreationDate="2017-02-15T22:00:38.843" Score="0" Body="&lt;p&gt;I have a somewhat related issue with EXM 3.3. A few notes in case they help. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Support have stated that the DKIM information displayed in the domain verification screen is incorrect. From SC support:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that your DKIM values should be like this:&#xA;v=DKIM1; k=rsa; t=y; p=SOMEVERYLONGKEYVALUE&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe &quot;v=DKIM1;&quot; was missing from the instructions on that screen&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, the SPF record must be an exact match - you can't include additional domains in that SPF record the validation method doesn't understand the specification/syntax, it just looks for an exact match.&lt;/p&gt;&#xA;" OwnerUserId="1547" LastActivityDate="2017-02-15T22:00:38.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4448" PostTypeId="2" ParentId="4445" CreationDate="2017-02-16T01:39:04.550" Score="7" Body="&lt;p&gt;You can have TDS &lt;a href=&quot;https://www.hhogdev.com/help/tds/proppackaging&quot; rel=&quot;noreferrer&quot;&gt;generate an update package&lt;/a&gt; with all the Sitecore items and code, then use &lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship&quot; rel=&quot;noreferrer&quot;&gt;Sitecore.Ship&lt;/a&gt; or &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/remoting.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore PowerShell Extensions Remoting&lt;/a&gt; to install the update package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Ship provides a web service to install update packages with - you typically use wget or something similar to stream the update file to the service. Anecdotally, wget hasn't been great especially dealing with large packages with lots of items. I've probably experienced every timeout known to man.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SPE Remoting allows you to use Windows PowerShell to use Sitecore PowerShell. Sitecore PowerShell has a cmdlet called &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Install-UpdatePackage.html&quot; rel=&quot;noreferrer&quot;&gt;Install-UpdatePackage&lt;/a&gt; that installs the update package from the Sitecore server. You'll want to copy the update package generated from TDS from the build server to the Sitecore server and call Install-UpdatePackage to install it. This can all be done with a ps1 PowerShell script.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2017-02-16T01:39:04.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4449" PostTypeId="1" AcceptedAnswerId="4459" CreationDate="2017-02-16T09:56:29.643" Score="3" ViewCount="431" Body="&lt;p&gt;I am using Glass mapper BeginEditFrame functionality to generate EditFrames in Experience Editor mode.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Experience Editor mode, we need to divide and display Fields in sections (like &quot;section&quot; you can see in Content Editor for item).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If any idea on achieving this would be great help.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-02-16T14:55:20.650" Title="Display fields in seperate sections in EditFrame With Glass BeginEditFrame" Tags="|experience-editor|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4450" PostTypeId="1" AcceptedAnswerId="4462" CreationDate="2017-02-16T10:12:26.517" Score="5" ViewCount="618" Body="&lt;p&gt;I was reading about Sitecore using SQL Server Always On, and I saw the ConnectionStrings example&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add name=&quot;master&quot; connectionString=&quot;Data Source=*****;Initial Catalog=*****;Integrated Security=False;User ID=sa;Password=12345;ConnectRetryCount=10;ConnectRetryInterval=5&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It came to my mind that SQL Server has a &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/hh710061.aspx#Health-Check%20Timeout%20Threshold&quot; rel=&quot;noreferrer&quot;&gt;Health-Check Timeout Threshold&lt;/a&gt; by calling the &lt;strong&gt;sp_server_diagnostics&lt;/strong&gt; stored procedure in order to verify the primary replica, and if in any case the primary replica becomes unresponsive, an automatic failover is initiated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, assuming that SQL had an issue and initiated a failover, how Sitecore knows and determine that is time to use the new parameters &lt;strong&gt;ConnectRetryCount&lt;/strong&gt; and &lt;strong&gt;ConnectRetryInterval&lt;/strong&gt;?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-02-16T14:54:38.970" Title="How Sitecore 8.2 controls the communication with SQL Server Always On?" Tags="|sql-database|alwayson|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4451" PostTypeId="1" AcceptedAnswerId="4455" CreationDate="2017-02-16T11:24:32.193" Score="1" ViewCount="524" Body="&lt;p&gt;The task cleanup agent is running as per the schedule but it is ignoring certain files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems to delete files that have recently expired but it doesn't seem to remove files that are really old.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means we are getting very large log file directories. Has anyone experienced this problem where the CleanUp Agent isn't removing all the files that it should?&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="73" LastEditDate="2017-02-16T13:06:21.007" LastActivityDate="2020-09-21T09:06:17.330" Title="Task Cleanup Agent doesn't clean up everything" Tags="|scheduled-tasks|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4452" PostTypeId="2" ParentId="4415" CreationDate="2017-02-16T11:51:08.090" Score="3" Body="&lt;p&gt;Not sure this is what your looking for, but if you add:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;requireLogin=&quot;true&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To your site definition, Sitecore will not allow unauthorized users to view the site. I'm not sure how it will behave without a loginpage.&lt;/p&gt;&#xA;" OwnerUserId="1510" LastActivityDate="2017-02-16T11:51:08.090" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4453" PostTypeId="1" AcceptedAnswerId="4460" CreationDate="2017-02-16T12:08:01.450" Score="8" ViewCount="2363" Body="&lt;p&gt;We have a client site , with SOLR for searching products . The Code base for returning the search results is shown below. The products searched are based on search term entered by user&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;();&#xA;                    query = query.AddContentSearchQuery(this._searchTerm);&#xA;                    query = query.Filter(predicate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;AddContentSearchQuery Matches the search text&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static IQueryable&amp;lt;SearchResultItem&amp;gt; AddContentSearchQuery(this IQueryable&amp;lt;SearchResultItem&amp;gt; query, string searchTerms)&#xA;        {&#xA;            if (string.IsNullOrEmpty(searchTerms))&#xA;                return query;&#xA;            searchTerms = searchTerms.Trim(' ').Replace(' ', '@');&#xA;&#xA;            return query.Where(i =&amp;gt; i.Content == searchTerms);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;here i.Content is from Sitecore.ContentSearch.SearchTypes.SearchResultItem&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[DataMember]&#xA;**[IndexField(&quot;_content&quot;)]**&#xA;public virtual string Content { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can you please help me in understanding the analyzer used here ( Does it tokenize the search content)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the entry from Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;_content&quot;                       returnType=&quot;string&quot;     type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/mediaIndexing&quot;/&amp;gt;&#xA;            &amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I understand is the _content field indexes the full content of the website. but is it also Tokenized ?&lt;/p&gt;&#xA;" OwnerUserId="106" LastActivityDate="2017-02-17T13:24:03.407" Title="Understanding Search Based on _content field" Tags="|solr|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4454" PostTypeId="1" CreationDate="2017-02-16T12:48:23.797" Score="2" ViewCount="171" Body="&lt;p&gt;I'm working on Social connector functionality to share item content from Sitecore to targeted social networks (facebook, twitter, Google Plus, Linked In).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on  reference, my understanding is social media is inbuilt feature in Sitecore latest versions (i.e 8.2 u1)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I’ve created developer apps in social media&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Facebook: generated Application ID, API key, Secret keys&#xA;(authorized)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Google Plus: generated Application ID, API key, Secret keys&#xA;(authorized)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;LinkedIn: generated Application ID, API key, Secret keys&#xA;(authorized)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Twitter: generated Application ID, API key, Secret keys (Unable&#xA;to authorize from Sitecore)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Currently, I can able to share posts to facebook as below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZI3sL.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZI3sL.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Challenge1: Unable to capture statistics/analytics i.e likes, comments from facebook (I assume this needs app review/approval from Facebook for respective fields)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Challenge2: Currently, only 3 options were shown to send content messages as default i.e facebook, Twitter, Social media marketer. Need to add configuration to show linkedIn and Google+ also &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1bjVF.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1bjVF.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Challenge3: Unable to authorize twitter app ( shown below error)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[Whoa there! The request token for this page is invalid. It may have already been used, or expired because it is too old. Please go back to the site or application that sent you here and try again; it was probably just a mistake.&quot;] &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts or references would be helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Siva&lt;/p&gt;&#xA;" OwnerUserId="1279" LastEditorUserId="237" LastEditDate="2017-03-08T13:45:31.037" LastActivityDate="2017-03-08T13:45:31.037" Title="Sitecore 8.2 update 1 Social media connector in Azure Webapp" Tags="|sitecore-client|social-connected|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4455" PostTypeId="2" ParentId="4451" CreationDate="2017-02-16T12:50:55.433" Score="2" Body="&lt;p&gt;Is log files the issue ? Make sure the pattern is &lt;code&gt;*log.*.txt&lt;/code&gt; according to the names of the newest log files, or something similar.&lt;/p&gt;&#xA;" OwnerUserId="1510" LastEditorUserId="1510" LastEditDate="2017-02-16T13:02:22.257" LastActivityDate="2017-02-16T13:02:22.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4457" PostTypeId="1" CreationDate="2017-02-16T13:53:49.393" Score="4" ViewCount="1219" Body="&lt;p&gt;I'm importing several thousand of documents in the media library programmatically.&lt;br&gt;&#xA;The document are organized in folders.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public MediaItem AddFile(string fileName, string sitecorePath, string mediaItemName)&#xA;{&#xA;    Sitecore.Resources.Media.MediaCreatorOptions options = new Sitecore.Resources.Media.MediaCreatorOptions();&#xA;    // Store the file in the database, not as a file&#xA;    options.FileBased = false;&#xA;    // Remove file extension from item name&#xA;    options.IncludeExtensionInItemName = false;&#xA;    // Overwrite any existing file with the same name&#xA;    options.OverwriteExisting = true;&#xA;    // Do not make a versioned template&#xA;    options.Versioned = true;&#xA;    // set the path&#xA;    options.Destination = sitecorePath + &quot;/&quot; + mediaItemName;&#xA;    // Set the database&#xA;    options.Database = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;&#xA;    // Now create the file&#xA;    Sitecore.Resources.Media.MediaCreator creator = new Sitecore.Resources.Media.MediaCreator();&#xA;    MediaItem mediaItem;&#xA;    using (new SecurityDisabler()) // Use the SecurityDisabler object to override the security settings&#xA;    {&#xA;        mediaItem = creator.CreateFromFile(fileName, options);&#xA;    }&#xA;&#xA;    return mediaItem;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I'm calling this method in a foreach loop.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var createdMediaItem = AddFile(&quot;C:\\path to file on disk&quot;, &#xA;    &quot;sitecore/media library/subfolder&quot;, &quot;name of document&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my case, I often - but not always - get duplicate foldernames. So 'subfolder' will be multiple times in my Media Library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a solution for this?&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-02-17T00:04:32.840" Title="Creating media items creates duplicate folder names" Tags="|media-library|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4458" PostTypeId="2" ParentId="4457" CreationDate="2017-02-16T14:15:22.140" Score="3" Body="&lt;p&gt;Here is the code which is used by Sitecore to get parent folder for the new media item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private Item GetParentFolder(string itemPath, MediaCreatorOptions options)&#xA;{&#xA;  Assert.ArgumentNotNull((object) itemPath, &quot;itemPath&quot;);&#xA;  Assert.ArgumentNotNull((object) options, &quot;options&quot;);&#xA;  string[] strArray = StringUtil.Divide(itemPath, '/', true);&#xA;  return this.CreateFolder(strArray.Length &amp;gt; 1 ? strArray[0] : &quot;/sitecore/media library&quot;, options);&#xA;}&#xA;&#xA;protected virtual Item CreateFolder(string itemPath, MediaCreatorOptions options)&#xA;{&#xA;  Assert.ArgumentNotNullOrEmpty(itemPath, &quot;itemPath&quot;);&#xA;  Assert.ArgumentNotNull((object) options, &quot;options&quot;);&#xA;  Item itemPath1;&#xA;  using (new SecurityDisabler())&#xA;  {&#xA;    TemplateItem folderTemplate = this.GetFolderTemplate(options);&#xA;    Database database = this.GetDatabase(options);&#xA;    Item obj = database.GetItem(itemPath, options.Language);&#xA;    if (obj != null)&#xA;      return obj;&#xA;    itemPath1 = database.CreateItemPath(itemPath, folderTemplate, folderTemplate);&#xA;    Assert.IsNotNull((object) itemPath1, typeof (Item), &quot;Could not create media folder: '{0}'.&quot;, (object) itemPath);&#xA;  }&#xA;  return itemPath1;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you see, it first tries to find the existing parent item using &lt;code&gt;SecurityDisabler&lt;/code&gt; and &lt;code&gt;database.GetItem(itemPath, options.Language)&lt;/code&gt; method. And from what you wrote (&lt;code&gt;&quot;The duplicated folders all have exactly 1 item in them.&quot;&lt;/code&gt;), in some cases it cannot find the proper folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the solution how to debug your problem is to try to use same code as Sitecore does for getting those duplicated folders and see why this code does not return correct parent folder.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-02-16T14:15:22.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4459" PostTypeId="2" ParentId="4449" CreationDate="2017-02-16T14:33:19.427" Score="3" Body="&lt;p&gt;Unfortunately it's impossible (or at least from what I know ;) ). While defining which fields can be edited using the original Sitecore (non Glass) Edit Frame, you only specify pipe-separated list of field names:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/npIbA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/npIbA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass uses the same mechanisms. So if you want to split those fields into section, you would need to change the logic of how Sitecore handles edit frames and from what I see there is no easy place to hook into.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-02-16T14:33:19.427" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4460" PostTypeId="2" ParentId="4453" CreationDate="2017-02-16T14:43:55.700" Score="6" Body="&lt;p&gt;If you look at the &lt;code&gt;_content&lt;/code&gt; field definition in the Solr &lt;code&gt;schema.xml&lt;/code&gt; file you see this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field name=&quot;_content&quot; type=&quot;text_general&quot; indexed=&quot;true&quot; stored=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The field is indexed and has a type of &lt;code&gt;text_general&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the definition for the &lt;code&gt;text_general&lt;/code&gt; field type:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;text_general&quot; class=&quot;solr.TextField&quot; positionIncrementGap=&quot;100&quot;&amp;gt;&#xA;  &amp;lt;analyzer type=&quot;index&quot;&amp;gt;&#xA;    &amp;lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot; /&amp;gt;&#xA;    &amp;lt;filter class=&quot;solr.StopFilterFactory&quot; ignoreCase=&quot;true&quot; words=&quot;stopwords.txt&quot; /&amp;gt;&#xA;    &amp;lt;!-- in this example, we will only use synonyms at query time&#xA;    &amp;lt;filter class=&quot;solr.SynonymFilterFactory&quot; synonyms=&quot;index_synonyms.txt&quot; ignoreCase=&quot;true&quot; expand=&quot;false&quot;/&amp;gt;&#xA;    --&amp;gt;&#xA;    &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot; /&amp;gt;&#xA;  &amp;lt;/analyzer&amp;gt;&#xA;  &amp;lt;analyzer type=&quot;query&quot;&amp;gt;&#xA;    &amp;lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot; /&amp;gt;&#xA;    &amp;lt;filter class=&quot;solr.StopFilterFactory&quot; ignoreCase=&quot;true&quot; words=&quot;stopwords.txt&quot; /&amp;gt;&#xA;    &amp;lt;filter class=&quot;solr.SynonymFilterFactory&quot; synonyms=&quot;synonyms.txt&quot; ignoreCase=&quot;true&quot; expand=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot; /&amp;gt;&#xA;  &amp;lt;/analyzer&amp;gt;&#xA;&amp;lt;/fieldType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it is tokenized using the &lt;code&gt;solr.StandardTokenizerFactory&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope that helps&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-02-16T14:43:55.700" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4461" PostTypeId="1" AcceptedAnswerId="4472" CreationDate="2017-02-16T14:51:34.200" Score="0" ViewCount="415" Body="&lt;p&gt;I want to add a functionality in which Sitecore user can add some token into a  in WFFM Introduction rich text field as an example and the custom code will check and replace this token with the matching value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a processor to the  pipeline but this will be called for all fields except WFFM fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My site is Sitecore 8.1 update 1, Any suggestion how I can make this processor triggered for the WFFM fields, Is there another pipeline that I should use?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Last thing, This is working just fine in Sitecore 7.5 but after upgrade to Sitecore 8.1 it doesn't work anymore.&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2017-02-17T02:58:02.470" Title="WFFM RichText Field Rendering Pipeline" Tags="|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4462" PostTypeId="2" ParentId="4450" CreationDate="2017-02-16T14:54:38.970" Score="4" Body="&lt;p&gt;Sitecore just uses the standard .net &lt;code&gt;SqlClient&lt;/code&gt; data provider. So these values are part of the standard .net connection string properties for 4.5+&lt;/p&gt;&#xA;&lt;p&gt;According to the docs,&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The &lt;code&gt;ConnectRetryCount&lt;/code&gt; and &lt;code&gt;ConnectRetryInterval&lt;/code&gt; connection string keywords let you control the idle connection resiliency feature.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The connection retry login is built into the &lt;code&gt;SqlConnection&lt;/code&gt; object:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;h3&gt;Connection versus command&lt;/h3&gt;&#xA;&lt;p&gt;The ConnectRetryCount and ConnectRetryInterval parameters let your SqlConnection object retry the connect operation without telling or bothering your program, such as returning control to your program. The retries can occur in the following situations:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;mySqlConnection.Open method call&lt;/li&gt;&#xA;&lt;li&gt;mySqlConnection.Execute method call&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;There is a subtlety. If a transient error occurs while your query is being executed, your SqlConnection object does not retry the connect operation, and it certainly does not retry your query. However, SqlConnection very quickly checks the connection before sending your query for execution. If the quick check detects a connection problem, SqlConnection retries the connect operation. If the retry succeeds, you query is sent for execution.&lt;/p&gt;&#xA;&lt;h3&gt;Should ConnectRetryCount be combined with application retry logic?&lt;/h3&gt;&#xA;&lt;p&gt;Suppose your application has robust custom retry logic. It might retry the connect operation 4 times. If you add ConnectRetryInterval and ConnectRetryCount =3 to your connection string, you will increase the retry count to 4 * 3 = 12 retries. You might not intend such a high number of retries.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So Sitecore will not handle the retries, if you have the right .net framework version and the values set, that would be handled by the &lt;code&gt;SqlConnection&lt;/code&gt; object.&lt;/p&gt;&#xA;&lt;h3&gt;References:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ex6y04yf(v=vs.110).aspx&quot; rel=&quot;noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/ex6y04yf(v=vs.110).aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connectivity-issues&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connectivity-issues&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-16T14:54:38.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4463" PostTypeId="2" ParentId="4449" CreationDate="2017-02-16T14:55:20.650" Score="1" Body="&lt;p&gt;You can override the&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;webedit:fieldeditor&quot; type=&quot;Sitecore.Shell.Applications.WebEdit.Commands.FieldEditor, Sitecore.ExperienceEditor&quot; patch:source=&quot;Sitecore.ExperienceEditor.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with your implementation. You can have look how Sitecore rendering this out in &lt;code&gt;Sitecore.Shell.Applications.WebEdit.Commands.FieldEditor&lt;/code&gt; class. But ash Marek Musielak mentioned above OOTB it is not possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like that you need to overwrite the &lt;code&gt;GetOptions(ClientPipelineArgs args, NameValueCollection form)&lt;/code&gt; method.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-02-16T14:55:20.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4464" PostTypeId="2" ParentId="4461" CreationDate="2017-02-16T14:58:25.770" Score="1" Body="&lt;p&gt;The easiest would probably be, to inherit the WFFM field and add some of your own custom logic to it. WFFM field types are defined here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l7rQF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l7rQF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find the field you need to override, and then point the configuration to your custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/og7Ps.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/og7Ps.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You did not specify whether you're using Webforms or MVC. But they're both more or less the same - you just need to make sure your code is inheriting from the correct base class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Image Sources and a full write-up of this, here: &lt;a href=&quot;https://soen.ghost.io/creating-a-custom-field-type-in-wffm-for-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating a Custom Field Type in WFFM for Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-02-16T14:58:25.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4465" PostTypeId="2" ParentId="4457" CreationDate="2017-02-16T15:37:33.050" Score="1" Body="&lt;h2&gt;Expected Behavior&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When Sitecore goes to create a new media item, it also creates all &lt;em&gt;missing&lt;/em&gt; folders (comparing by item name) in the new media item's path. In Sitecore, when any new item (not just a media folder item) is created, the new item is automatically added to cache and immediately available for retrieval. As such, when creating a new media item with missing media folders in its path subsequent calls to create another media item at the same &lt;em&gt;parent&lt;/em&gt; path shouldn't result in duplicate folder names. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Where this Breaks Down&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have seen the expected behavior break down when trying to bulk import media items inside of a &lt;code&gt;BulkUpdateContext&lt;/code&gt; that is paired with a &lt;code&gt;CacheDisabler&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A &lt;code&gt;BulkUpdateContext&lt;/code&gt; is analogous to a transaction that commits all of your changes (including item creations) at once. I believe the cause of the breakdown is that when Sitecore goes to create the second media item at the same parent path as the first (which had missing media folders in its path) the newly created folders from the first are not yet available for retrieval from the database when the code looks for them, but rather should only be available from the Cache, which has been disabled. As such, new items with the same names are created. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above is pretty dense to digest, so I have described it step-by-step below:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Steps in the Breakdown&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The following steps describe where I believe the issue occurs inside of a &lt;code&gt;BulkUpdateContext&lt;/code&gt; with a &lt;code&gt;CacheDisabler&lt;/code&gt; (referencing the methods that @MarekMusielak posted):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Custom code makes a call to create a new media item at the path within the media library: &lt;code&gt;/sitecore/media/missing-media-folder/media-item-1&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore API checks the path to see if any folders need to be created by calling &lt;code&gt;GetItem&lt;/code&gt; on the ancestry  of the media item to be created, starting at the parent. This occurs in the &lt;code&gt;GetParentFolder&lt;/code&gt; method&lt;/li&gt;&#xA;&lt;li&gt;Sitecore API finds that &lt;code&gt;/sitecore/media/missing-media-folder&lt;/code&gt; is missing and thus a media folder item will need to be created with that name&lt;/li&gt;&#xA;&lt;li&gt;Sitecore API calls &lt;code&gt;CreateFolder&lt;/code&gt; from the &lt;code&gt;GetParentFolder&lt;/code&gt; method in order to &quot;queue&quot; (since we are in a &lt;code&gt;BulkUpdateContext&lt;/code&gt;) the creation of the missing parent item, &lt;code&gt;missing-media-folder&lt;/code&gt;, and returns the resulting &lt;code&gt;Item&lt;/code&gt;. Note that the returned &lt;code&gt;Item&lt;/code&gt; representing &lt;code&gt;missing-media-folder&lt;/code&gt; is actually not yet truly created since we are still in a &lt;code&gt;BulkUpdateContext&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;media-item-1&lt;/code&gt; item is &quot;queued&quot; to be created as a child of the returned &lt;code&gt;Item&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Custom code then makes a call to add another new media item at the following path: &lt;code&gt;/sitecore/media/missing-media-folder/media-item-2&lt;/code&gt;. Note that the parent folder has the same name as the one we just &quot;queued&quot; to be created for &lt;code&gt;media-item-1&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore API checks the path to see if any folders need to be created by calling &lt;code&gt;GetItem&lt;/code&gt; on the ancestry of &lt;code&gt;media-item-2&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;Sitecore API doesn't find &lt;code&gt;missing-media-folder&lt;/code&gt; because it has not actually been created yet (still in a &lt;code&gt;BulkUpdateContext&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore API calls to create the &lt;code&gt;missing-media-folder&lt;/code&gt; again, because it couldn't find it with &lt;code&gt;GetItem&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;li&gt;... and so on...&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I am a fan of the binary search method of debugging/troubleshooting, so if you are using a &lt;code&gt;BulkUpdateContext&lt;/code&gt; try removing it and running your code on a smaller set of data in order to test it first. The code will run much slower without it, but you shouldn't get any more duplicate folder names. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you now see the expected behavior, try adding the &lt;code&gt;BulkUpdateContext&lt;/code&gt; back in and remove the &lt;code&gt;CacheDisabler&lt;/code&gt;. This will confirm that the issue is the with the pairing of the two. If you again see the expected behavior then you will have solved your problem with little to no impact on performance (possibly even a gain in performance). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do recommend that if you remove the &lt;code&gt;CacheDisabler&lt;/code&gt; you make sure that you clear the cache (either via code or manually from the &lt;code&gt;http://&amp;lt;yourdomain&amp;gt;/sitecore/admin/cache.aspx&lt;/code&gt; page) after running the tool. This will make sure that you don't inflate your cache with a bunch of items in the media folder that it may or may no longer need cached after the script is run.  &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-02-16T16:25:08.093" LastActivityDate="2017-02-16T16:25:08.093" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4466" PostTypeId="2" ParentId="4307" CreationDate="2017-02-16T16:34:56.590" Score="1" Body="&lt;p&gt;Once I was able to connect to the database -- I noticed that the Web database and the Analytics database were switched.  The Web database contained Facts and the Item table only contained two columns - ItemId and Url.  This mirrors the Analytics table on my local.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I double checked my connection strings and verified everything ran locally fine.  I do not see anywhere to explicitly set this in the azure packaging.  My solution was to just swap the names of my Analytics and Web databases in my local and re-create the web deploy package.  Then the deployment seems to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems like a bug I will try to submit to sitecore support -- unless anyone has any suggestions on what could be wrong in my script.&lt;/p&gt;&#xA;" OwnerUserId="1514" LastActivityDate="2017-02-16T16:34:56.590" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4467" PostTypeId="1" AcceptedAnswerId="4482" CreationDate="2017-02-16T18:00:09.977" Score="6" ViewCount="2131" Body="&lt;p&gt;I am trying to increase the performance of Experience Editor and one of the slowest calls is to get the number of locked items. It used to be possible to disabled this in older versions of Sitecore (&lt;a href=&quot;http://sitecoreblog.alexshyba.com/hidden_gem_of_sitecore_page_editor/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreblog.alexshyba.com/hidden_gem_of_sitecore_page_editor/&lt;/a&gt;) however this doesn't work in newer versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However Sitecore have released a fix for this for newer versions of Sitecore:&#xA;&lt;a href=&quot;https://kb.sitecore.net/en/Articles/2015/12/04/14/31/549951.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/en/Articles/2015/12/04/14/31/549951.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I applied the support fix and re-built my master index but the call to get the MyItems Count still takes around 2 seconds (more on Production). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore I applied a similar fix to this to patch my own pipeline to get the count: &lt;a href=&quot;https://mikael.com/2015/12/speading-up-the-sitecore-experience-editor/&quot; rel=&quot;noreferrer&quot;&gt;https://mikael.com/2015/12/speading-up-the-sitecore-experience-editor/&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is much quicker (5 microseconds!) but I don't understand why the support fix doesn't address this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I doing something wrong? as we are on Sitecore 8.1 update 2 so adding the Sitecore.Support.419438 dll and patch config should have solved it according to the article.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-11-02T13:20:17.933" Title="Improving the performance of MyItems Count in Sitecore 8.1" Tags="|experience-editor|pipelines|performance-optimization|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4469" PostTypeId="1" AcceptedAnswerId="4470" CreationDate="2017-02-16T22:00:21.823" Score="3" ViewCount="963" Body="&lt;p&gt;I was wondering how should I go about creating a Sitecore module. I did take a look at &lt;a href=&quot;https://stackoverflow.com/q/30701785&quot;&gt;How can I develop module in Sitecore?&lt;/a&gt; and found some information there. However, I am still not clear on few things like:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I am assuming I would use Sitecore Instance Manager and its visual studio support package to write my custom code. Is it a decent assumption?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;After I am done with my changes, how exactly I should package it into a module? (Using standard sitecore packaging or there is something more?)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;What content goes into the package? (Only the items that I changed or the entire content base?)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;How do I upload the module and ask someone to review it?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="403" LastEditorUserId="73" LastEditDate="2017-04-27T17:15:07.740" LastActivityDate="2017-04-27T17:15:07.740" Title="How can I create a new Sitecore Marketplace module" Tags="|sitecore-marketplace|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4470" PostTypeId="2" ParentId="4469" CreationDate="2017-02-16T22:13:17.330" Score="7" Body="&lt;ol&gt;&#xA;&lt;li&gt;You can setup your local Sitecore instance how ever you want. You&#xA;can use Sitecore Instance Manager if you want as that provides an&#xA;easy way to get a Sitecore instance up and running.&lt;/li&gt;&#xA;&lt;li&gt;Once you have completed your module, you want to use the built in&#xA;Sitecore Package Designer. You'll add any Sitecore items that the&#xA;module needs (Layouts, renderings/sublayouts, custom buttons, etc.)&#xA;and any files that need to live on the file system (configuration&#xA;files, DLLs, rendering views, etc.)&lt;/li&gt;&#xA;&lt;li&gt;Only items that are specific to your module should be included.&lt;/li&gt;&#xA;&lt;li&gt;You'll want to go to the &lt;a href=&quot;https://marketplace.sitecore.net/Contribute.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Marketplace&lt;/a&gt;, sign in then&#xA;click the &quot;Contribute Now&quot; button. Fill out the form(s) and you&#xA;should have your module available on the marketplace.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;While developing your module it would also be good to look over the &lt;a href=&quot;https://kb.sitecore.net/articles/831724&quot; rel=&quot;noreferrer&quot;&gt;Sitecore module implementation practices&lt;/a&gt; Knowledge base article for best practice.&lt;/p&gt;&#xA;" OwnerUserId="731" LastEditorUserId="731" LastEditDate="2017-02-17T13:39:39.610" LastActivityDate="2017-02-17T13:39:39.610" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4471" PostTypeId="2" ParentId="4457" CreationDate="2017-02-17T00:04:32.840" Score="0" Body="&lt;p&gt;Some things you could try:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a wait state in your for-loop, not that it is a desirable solution but just to confirm it is a timing-sensitive issue. I suspect the problem would stop.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try using BulkUpdateContext instead of SecurityDisabler&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new BulkUpdateContext())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The import will run much quicker, but you'll need to re-index relevant indexes when done. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try using the static using the static media creator? Shouldn't make any difference, but... &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;mediaItem = Sitecore.Resources.Media.MediaManager.Creator.CreateFromFile(fileName, options);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="898" LastActivityDate="2017-02-17T00:04:32.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4472" PostTypeId="2" ParentId="4461" CreationDate="2017-02-17T02:58:02.470" Score="1" Body="&lt;p&gt;The Introduction field of the WFFM form is rendered using a UI control. I think the easiest way to achieve your token replacement solution is to modify this UI control overriding its OnLoad() method to add your token replacement logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main Form control is defined in the &lt;strong&gt;SitecoreSimpleFormAscx.ascx&lt;/strong&gt; control (&lt;code&gt;\sitecore modules\Web\Web Forms for Marketers\Control\SitecoreSimpleFormAscx.ascx&lt;/code&gt;) and here you'll find the &lt;strong&gt;Form Introduction&lt;/strong&gt; control that is responsible to render the form introduction (&lt;code&gt;&amp;lt;wfm:FormIntroduction ID=&quot;intro&quot; runat=&quot;server&quot;/&amp;gt;&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a CustomFormIntroduction control following the implementation of the original FormIntroduction control (see code below), add your logic to replace the tokens in the OnLoad method, and then replace the existing default FormIntroduction control with your custom control (&lt;code&gt;&amp;lt;customwfm:CustomFormIntroduction ID=&quot;intro&quot; runat=&quot;server&quot;/&amp;gt;&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CustomFormIntroduction class code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Web.UI;&#xA;using System.Web.UI.WebControls;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Form.Web.UI.Controls;&#xA;using Sitecore.Xml.Xsl;&#xA;&#xA;namespace Custom.WFFM.Controls&#xA;{&#xA;    [ToolboxData(&quot;&amp;lt;div runat=\&quot;server\&quot;&amp;gt;&amp;lt;/div&amp;gt;&quot;)]&#xA;    public class CustomFormIntroduction : FormText&#xA;    {&#xA;        public CustomFormIntroduction()&#xA;          : base((Item)null, Sitecore.Form.Core.Configuration.FieldIDs.FormIntroductionID, HtmlTextWriterTag.Div)&#xA;        {&#xA;        }&#xA;&#xA;        public CustomFormIntroduction(Item item)&#xA;          : base(item, Sitecore.Form.Core.Configuration.FieldIDs.FormIntroductionID, HtmlTextWriterTag.Div)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void OnLoad(EventArgs e)&#xA;        {&#xA;            this.Attributes[&quot;class&quot;] = &quot;scfIntroBorder&quot;;&#xA;            if (!(this.Item.Fields[Sitecore.Form.Core.Configuration.FieldIDs.ShowFormIntroID].Value == &quot;1&quot;))&#xA;                return;&#xA;            if (this.Item == null)&#xA;                return;&#xA;            Sitecore.Web.UI.WebControls.FieldRenderer fieldRenderer = new Sitecore.Web.UI.WebControls.FieldRenderer();&#xA;            fieldRenderer.Item = this.Item;&#xA;            fieldRenderer.FieldName = this.Item.Fields[this.Field].Name;&#xA;            fieldRenderer.Parameters = this.Parameters ?? string.Empty;&#xA;            fieldRenderer.DisableWebEditing = this.DisableWebEditing;&#xA;            RenderFieldResult renderFieldResult = fieldRenderer.RenderField();&#xA;            this.Controls.Add((Control)new Literal()&#xA;            {&#xA;                Text = renderFieldResult.ToString() // HERE ADD YOUR LOGIC TO REPLACE THE TOKEN&#xA;            });&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1399" LastActivityDate="2017-02-17T02:58:02.470" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4473" PostTypeId="2" ParentId="4445" CreationDate="2017-02-17T03:41:03.470" Score="13" Body="&lt;p&gt;Alex, there are many ways to approach CI deployments into your environments. Each client or organization is going to have different requirements as it related to versioning, restoring of backup, downtime, server access, etc...&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;A link&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Here is a &lt;a href=&quot;http://goblinrockets.com/2015/11/15/update-2-continuous-integration-deployment-sitecore-publishing/&quot; rel=&quot;noreferrer&quot;&gt;great read&lt;/a&gt; that I think covers most of what you need.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;TDS to Nuget&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;But we don't do just link answers here, so I will provide you with my personal experience. Here is how we did it recently at a client that has a requirement to use Jenkins, PowerShell, Nexus (for nuget storage).&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Configure the TDS projects to create an Update Package on build. (Update Package tab of TDS project)&lt;/li&gt;&#xA;&lt;li&gt;We created a job in Jenkins that used PowerShell to build the Visual Studio solution. Outputting the TDS update packages.&lt;/li&gt;&#xA;&lt;li&gt;Using the build number from Jenkins we versioned the outputted update package and pushed it to Nexus via the Nexus api. We now have a versioned package of the Sitecore items in Nexus (a type of Nuget server).&lt;/li&gt;&#xA;&lt;li&gt;We created another Jenkins job to deploy the package on the CM server, with a selector allowing us to specify a build number to deploy.&lt;/li&gt;&#xA;&lt;li&gt;When the job runs, the CM server downloads the specified nuget package from Nexus, and using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt; (SPE), we install the package and finally publish the items to the CD server. &lt;/li&gt;&#xA;&lt;li&gt;If there are any deployment issues, we redeploy the pervious version to set the items back to how they we previously. You could also use SPE to create an &lt;a href=&quot;https://jammykam.wordpress.com/2017/01/24/anti-update-rollback-package/&quot; rel=&quot;noreferrer&quot;&gt;anti-package&lt;/a&gt; and push that to NuGet before you deploy.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That is just one of many examples on how to deploy items via CI to your servers. As George stated, you can use Sitecore Ship to install packages, or SPE, or create an aspx page that pulled update packages from a folder that installs them via the Sitecore runtime. There are many ways.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Orchestration&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You will need something to orchestrate the deployments. You can use:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.jetbrains.com/teamcity/&quot; rel=&quot;noreferrer&quot;&gt;Team City&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jenkins.io/&quot; rel=&quot;noreferrer&quot;&gt;Jenkins&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Humans, by that I mean people deploying it manually.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Here is a recent &lt;a href=&quot;https://www.youtube.com/watch?v=1Rk6svwF9FE&amp;amp;t=2s&quot; rel=&quot;noreferrer&quot;&gt;Un-official Sitecore training&lt;/a&gt; that covers CI and Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a nice &lt;a href=&quot;https://www.youtube.com/watch?v=sSad0BtJzMw&quot; rel=&quot;noreferrer&quot;&gt;video&lt;/a&gt; on the overview of using Team City to deploy Sitecore by the nice people over at Hedgehog. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps you &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-03-16T22:49:09.203" LastActivityDate="2017-03-16T22:49:09.203" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4474" PostTypeId="2" ParentId="4469" CreationDate="2017-02-17T08:03:34.283" Score="2" Body="&lt;p&gt;About 2) Packaging the module.&#xA;You can automate with Sitecore PowerShell Extensions.&#xA;When Unicorn 4 is released there is a intresting new way to generate you module package, because generating packages from Unicorn with Powershell is a new feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See:&#xA;&lt;a href=&quot;https://kamsar.net/index.php/2017/02/Unicorn-4-Preview-Part-2-5-Generating-Packages-with-SPE/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Unicorn 4 Preview Part 2.5: Generating Unicorn Packages with SPE&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now not yet been released but good to keep an eye on.&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2017-02-17T08:03:34.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4476" PostTypeId="1" CreationDate="2017-02-17T10:52:58.500" Score="4" ViewCount="240" Body="&lt;p&gt;I am trying to create a heading element on a page which contains of a background image, title and search box component. Our UI developer advised us to put searchbox into the same div element as image. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to use placeholder in the variant to render image, title and place search box in the placeholder however the placeholder is not being displayed on the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no error message in the logs and in the console. I tried searching about how Placeholder works on doc.sitecore.net  but could not find any good resource. Can you please explain how the placeholder within a variant works? Or provide some good resource where I could read about it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="1557" LastEditorUserId="73" LastEditDate="2017-02-17T11:58:35.720" LastActivityDate="2017-02-17T11:58:42.510" Title="Insert Search component inside of another component" Tags="|sxa|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4477" PostTypeId="2" ParentId="4453" CreationDate="2017-02-17T13:24:03.407" Score="3" Body="&lt;p&gt;If you're searching against 'products' you would perhaps be better off search against specific fields rather than the generic 'content' field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I realise I'm answering a question that hasn't explicitly been asked, but it may be helpful anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If searching multiple words in an 'AND' fashion that allows the user to reduce the number of results by adding words, you may want to filter out 'stop words', otherwise you will always receive zero results if the search contains one because your query says it must be present and it is ignored by the tokenizer even when present. You mentioned you're using SOLR but for Lucene these are found at &lt;code&gt;Lucene.Net.Analysis.Standard.StandardAnalyzer.STOP_WORDS_SET&lt;/code&gt;. Stop words would be removed form your terms before querying.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sample below does this and also uses LIKE instead of equals to allow for minor typos and additionally boosts results where the term is the same as the item name.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var terms = searchTerms.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries).ToList();&#xA;terms = terms.Except(Lucene.Net.Analysis.Standard.StandardAnalyzer.STOP_WORDS_SET, StringComparer.OrdinalIgnoreCase).ToList();&#xA;&#xA;var termsPredicate = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;&#xA;foreach (var term in terms)&#xA;{&#xA;    // AND = must contain every word&#xA;    termsPredicate = termsPredicate.And(  &#xA;    PredicateBuilder.False&amp;lt;_Base_Article&amp;gt;() // OR = in either of these two fields&#xA;       .Or(p =&amp;gt; p.Name.Like(word, 0.8f).Boost(2.0f)) // minimal likeness 0.8, boost direct name match&#xA;       .Or(p =&amp;gt; p.Content.Like(word, 0.8f))&#xA;    );&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="898" LastActivityDate="2017-02-17T13:24:03.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4478" PostTypeId="1" AcceptedAnswerId="4479" CreationDate="2017-02-17T14:20:06.607" Score="1" ViewCount="100" Body="&lt;p&gt;My question might be a little complex, but I appreciate any help:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using  &lt;a href=&quot;https://github.com/Velir/SitecoreFieldSuite&quot; rel=&quot;nofollow noreferrer&quot;&gt;SitecoreFieldSuite&lt;/a&gt; by Velir, in my Sitecore 8 solution. Officially, SitecoreFieldSuite isn't supported in Sitecore 8, but I have to continue with it for legacy reasons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;SitecoreFieldSuite&lt;/em&gt; includes the &lt;a href=&quot;https://github.com/Velir/SitecoreFieldSuite/blob/45acbaaf3232bbf047f07a232e68b46067da4336/src/Sitecore.FieldSuite/Controls/ListItem/FieldSuiteImageListItem.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;FieldSuiteImageListItem&lt;/a&gt; field type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue that I'm facing is that while a user can choose any image(s) from media library and will see the selected image(s) in the field, the selection doesn't actually create a link between the item and the selected media library items. What I need is to be able to see which items use a given item from the media library. The value of the &lt;code&gt;FieldSuiteImageListItem&lt;/code&gt; field type is a pipe-delimited list of IDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does any one know a good way to make a link between these items, in this case?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="423" LastEditDate="2017-02-17T16:30:52.153" LastActivityDate="2019-12-05T05:05:42.567" Title="Save multi values to image library with link reference" Tags="|media-library|links|link-database|link-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4479" PostTypeId="2" ParentId="4478" CreationDate="2017-02-17T14:35:29.830" Score="4" Body="&lt;p&gt;Well, I've been in the archives ;-)    Now I cannot say for sure, the solutions I list here will still be applicable in Sitecore 8. What I can say though, is that Sitecore will add LinkDB references to your fields and image items given that certain conditions are met:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The Field Suite fields are defined in &lt;code&gt;/App_Config/FieldTypes.config&lt;/code&gt;. Check this first. It is not enough to have them defined only in the &lt;code&gt;core&lt;/code&gt; database.&lt;/li&gt;&#xA;&lt;li&gt;The implementation of the fields must inherit from a Sitecore standard field - in your case a DelimitedField.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Looking at the source you listed, the latter does not appear to be the case and that might be why it doesn't get registered for you (if, indeed, you are certain the fields are configured in FieldTypes.config).&lt;/p&gt;&#xA;&lt;p&gt;Mark Stiles blogged about this in 2013. &lt;a href=&quot;http://www.markstiles.net/blog/2013/2/14/adding-fields-to-the-link-database/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Adding Fields To The Link Database&lt;/a&gt;. Mark specifically mentions using FieldSuite in this blog post, and mentions how he worked around it by inheriting the fields differently. He does not provide a full example, but he does list the 3 conditions required for any field:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It should be a subclass of the Sitecore.Data.Fields.CustomField class.&lt;/li&gt;&#xA;&lt;li&gt;It should override the CustomField ValidateLinks method.&lt;/li&gt;&#xA;&lt;li&gt;It should have a constructor that takes a Sitecore.Data.Fields.Field object as an argument.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;To me it looks like you need to tweak your base class &lt;code&gt;FieldSuiteListItem&lt;/code&gt; class and make it inherit &lt;code&gt;DelimitedField&lt;/code&gt; - and then fix whatever the compiler requires you to because of this. That would be where I would start, anyway.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;edited to clarify&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Fieldtypes.config&lt;/code&gt; lives in the &lt;code&gt;App_Config&lt;/code&gt; folder. Alongside &lt;code&gt;Sitecore.config&lt;/code&gt; in recent versions. It is included from &lt;code&gt;Sitecore.config&lt;/code&gt; here:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldTypes&amp;gt;&#xA;  &amp;lt;sc.include file=&amp;quot;/App_Config/FieldTypes.config&amp;quot; /&amp;gt;&#xA;&amp;lt;/fieldTypes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And as Zachary points out below, these fieldTypes can indeed be patched using normal Sitecore config patching techniques.&#xA;‎‎‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-12-05T05:05:42.567" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="4480" PostTypeId="1" AcceptedAnswerId="4483" CreationDate="2017-02-17T14:46:02.457" Score="7" ViewCount="1941" Body="&lt;p&gt;I have a website with Sitecore.NET 7.2 (rev. 160123). Using facets I see I can search for different things, and I have a few filters. However, I didn't manage to be able to filter for a date field on my search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, this two date fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GlZC8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GlZC8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are not found on my search:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/B6XQ5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B6XQ5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried using the raw value (&lt;em&gt;20180208T000000&lt;/em&gt;) but no luck either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, how can I filter the Content Editor search by a date field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, what I want is to search (filter) by a specific field, which turns out to be a date. Why does this not work with dates by default on Sitecore search?&lt;/p&gt;&#xA;" OwnerUserId="120" LastEditorUserId="120" LastEditDate="2017-02-21T11:29:22.753" LastActivityDate="2017-04-21T13:26:08.803" Title="How can I search for date field values on the Content Editor?" Tags="|content-editor|content-search|contact-facets|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4481" PostTypeId="1" CreationDate="2017-02-17T15:42:29.637" Score="1" ViewCount="288" Body="&lt;p&gt;Using &lt;code&gt;Coveo for Sitecore 4&lt;/code&gt; and query suggestion using &lt;code&gt;SearchBoxView&lt;/code&gt;. I need to modify the suggestion result item's url. Currently it performs a free text query when I click the suggestion. Instead I would like it to perform field-query (such as &lt;code&gt;brand=&amp;lt;suggestion&amp;gt;&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I realize there are no js event available to work with this results like Omnibox. Is there any other way to do it?&lt;/p&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2017-02-17T19:49:31.317" Title="Coveo modify query suggestion url" Tags="|coveo|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4482" PostTypeId="2" ParentId="4467" CreationDate="2017-02-17T18:01:42.183" Score="3" Body="&lt;p&gt;This turned out to be a problem with the 131964 patch file not copying across correctly. Thanks to Koen for making me take another look. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However although the MyItem count takes less than a second now it wasn't as quick as my pipeline as it still executes the query to Solr. Therefore I may just keep my pipeline to keep performance as fast as possible. I've included the code below in case it's useful for anyone else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a pipeline like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sc = Sitecore;&#xA;&#xA;    namespace Custom.Sitecore.Extensions.Pipelines&#xA;    {&#xA;        using Sc.ExperienceEditor.Speak.Server.Contexts;&#xA;        using Sc.ExperienceEditor.Speak.Server.Requests;&#xA;        using Sc.ExperienceEditor.Speak.Server.Responses;&#xA;&#xA;        public class MyItemsCountRequest : PipelineProcessorRequest&amp;lt;ItemContext&amp;gt;&#xA;        {&#xA;            public override PipelineProcessorResponseValue ProcessRequest()&#xA;            {&#xA;                return new PipelineProcessorResponseValue { Value = 0 };&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add a config patch like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&#xA;            &amp;lt;request name=&quot;ExperienceEditor.MyItems.Count&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Custom.Sitecore.Extensions.Pipelines.MyItemsCountRequest, Custom.Sitecore.Extensions&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/request&amp;gt;&#xA;&amp;lt;/sitecore.experienceeditor.speak.requests&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In addition to this you may also want to also disable content testing functionality: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/785358&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/785358&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Or patch in an pipeline similar to the above for Optimization.SuggestedTests.Count like so: &lt;a href=&quot;https://blog.horizontalintegration.com/2015/07/05/sitecore8-experience-editor-slow/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.horizontalintegration.com/2015/07/05/sitecore8-experience-editor-slow/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should give you further performance gains in Experience Editor.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-02-17T18:01:42.183" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4483" PostTypeId="2" ParentId="4480" CreationDate="2017-02-17T18:41:43.773" Score="5" Body="&lt;p&gt;In the past I found that the only way I can do date search was to use the default start field from search field types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Mb6fw.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Mb6fw.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see that it has the Start field and some date value and it does return the results. Also you can use the END date field there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Combination of those 2 date might help you achieve what you are looking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have another option there to Search by field values. Hopefully that will help you.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Updated Answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;After reading comments I thought to provide a full updated answer than just hint. I spent some time and now I wrote this blog post here on how to do this: &lt;a href=&quot;https://mrunaldaftari.wordpress.com/2017/02/20/how-to-use-sitecore-search-for-date-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to use Sitecore Search for Date fields?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So all you need to do is following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Go to the &lt;code&gt;/sitecore/system/Settings/Buckets/Search Types/Start Date&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Copy paste it to &lt;code&gt;/sitecore/system/Settings/Buckets/Search Types/User Defined&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Rename it to match it to your date field. In my example I am going to make it to &lt;code&gt;Resource Spotlight Start Date&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Update below values in the field to make sure it searched for your field and not the start field.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6hHvj.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6hHvj.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the above image &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1 is to change the icon in the search interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2 is must for changing it to your desired field name. It does not need to be your exact field name but something unique to indicate user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3 is for field. Here you should put your actual field name. If you have doubts on what is your exact field name then open the LUKE and then find your field’s name. In my instance my field name under template was Resource Spotlight Start Date but under LUKE it was resource_spotlight_start_date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4 is for control type parameters and that can be same as your name too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5 is for Displaying text for your user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you do this you will see nice shiny field created by you in the search interface. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dMu8G.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dMu8G.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when you click it you will observe that it gives you calendar search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BS4fM.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BS4fM.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you select it and hit run it won't give you any results. Why?&#xA;Well you need to do this one last step: go to your app_config/include and find the file Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config.&#xA;Open the file and add this line&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=”resource_spotlight_start_date” storageType=”YES” indexType=”TOKENIZED” vectorType=”NO” boost=”1f” type=”System.DateTime” format=”yyyyMMddTHHmmZ” settingType=”Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider”&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under the &lt;code&gt;&amp;lt;fieldNames&amp;gt;&lt;/code&gt; section. This ensures that your master index and lucene consider your newly created field to be date searchable.&#xA;Once you add this close your config, rebuild indexes and search again from step 11.&#xA;Boom you will see below results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FN70S.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FN70S.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To answer the comment I needed to update the actual answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So when I was looking into search logs while I used the filtering by field value for date field and compared it with the start date field I found below: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For search by field:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; +_datasource:sitecore +(+_latestversion:1 +(+_path:433f55f1b8cd4254ad0e43d221110b77 +resource_spotlight_start_date:&quot;20170201t050000000z 20170202t045959000z&quot;))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for search by date &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+_datasource:sitecore +(+_latestversion:1 +(+_path:433f55f1b8cd4254ad0e43d221110b77 +__smallcreateddate:[20170201t0500z TO 99991231t0459z]))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I think Sitecore was comparing it as string value then the actual date value and that is where adding the field to the Lucene config as date value started making it treating as date value. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing I have not tried is just updated the Lucene file but don't create the custom search field and see if you can find the results.&lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorUserId="70" LastEditDate="2017-04-21T13:26:08.803" LastActivityDate="2017-04-21T13:26:08.803" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4484" PostTypeId="2" ParentId="4481" CreationDate="2017-02-17T19:49:31.317" Score="1" Body="&lt;p&gt;If I understand correctly, you want that when user clicks on a query suggestions, he gets redirected to the search page using a field query instead of a free-text search query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could try to add the &lt;a href=&quot;https://coveo.github.io/search-ui/components/omniboxresultlist.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;OmniboxResultList&lt;/a&gt; component and use the &lt;a href=&quot;https://coveo.github.io/search-ui/components/omniboxresultlist.html#options.onselect&quot; rel=&quot;nofollow noreferrer&quot;&gt;onSelect event&lt;/a&gt; property. It defines a callback that is executed when you select an option. This would allow very powerful customization as you can also define your own result template with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you want this behavior to also happen in the searchbox &lt;em&gt;without&lt;/em&gt; clicking on a result, for example, when pressing &lt;em&gt;Enter&lt;/em&gt; to execute the query, you should use the &lt;code&gt;beforeRedirect&lt;/code&gt; event from the &lt;code&gt;Omnibox&lt;/code&gt; component instead. Here is an example usage of this event:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var searchBoxElement = Coveo.$('#@Model.SearchboxId');&#xA;searchBoxElement.on(Coveo.StandaloneSearchInterfaceEvents.beforeRedirect, function(e, data) {&#xA;    // Get the current query and change it to a field query.&#xA;    var currentQuery = Coveo.state(searchBoxElement[0], &quot;q&quot;);&#xA;    Coveo.state(searchBoxElement[0], &quot;q&quot;, &quot;@@YOUR_FIELD==\&quot;&quot; + currentQuery + &quot;\&quot;&quot;);&#xA;&#xA;    // Execute the redirection as usual with the new state.&#xA;    var standaloneSearchInterface = Coveo.get(searchBoxElement[0], Coveo.SearchInterface);&#xA;    standaloneSearchInterface.redirectToSearchPage(data.searchPageUri);&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(Inspired from here: &lt;a href=&quot;https://answers.coveo.com/questions/8192/redirect-to-detail-page-rather-search-result-page&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://answers.coveo.com/questions/8192/redirect-to-detail-page-rather-search-result-page&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2017-02-17T19:49:31.317" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4485" PostTypeId="1" CreationDate="2017-02-17T19:59:08.357" Score="0" ViewCount="459" Body="&lt;p&gt;I'm working on making the editing experience better for our users by trying to simplify the process of adding &quot;special&quot; components into a body of HTML text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We publish news articles and many times our users place HTML tables, images, galleries, etc. within the article.  Right now they're just using (very) limited HTML and CSS knowledge to drop these items in.  I've started down the road of having the users simply drop in placeholder tags within the copy and then I'm going to dynamically replace them with the appropriate code.  I was wondering if there was some known methodology of doing so, maybe something that Sitecore has figured out.&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2017-02-17T20:57:33.137" Title="How do I insert items within a large body of HTML?" Tags="|content-editor|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4486" PostTypeId="2" ParentId="4485" CreationDate="2017-02-17T20:57:33.137" Score="3" Body="&lt;p&gt;HTML Snippets might help you a bit, here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;HTML Snippets are defined in the &lt;strong&gt;&lt;em&gt;Core&lt;/em&gt;&lt;/strong&gt; database at this location&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Settings/Html Editor Profiles/Rich Text Full/Snippets&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should see a snippet already in there called &quot;Sample Snippet&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The assign options may not be set in which case you can either duplicate the sample item that's there and update the values in the fields or set the insert options to the appropriate template which is&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/templates/System/Html Editor Profiles/Html Editor Snippet&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, you'll need to make sure your rich-text fields are using a profile that shows the &lt;strong&gt;Insert Code Snippet&lt;/strong&gt; button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend updating the &lt;strong&gt;HtmlEditor.DefaultProfile&lt;/strong&gt; setting with a patch config and set it's value to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Settings/Html Editor Profiles/Rich Text Full&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so that all rich-text fields display the full set of controls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example of a patch config to make this setting change&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;HtmlEditor.DefaultProfile&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;/sitecore/system/Settings/Html Editor Profiles/Rich Text Full&quot; /&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="38" LastActivityDate="2017-02-17T20:57:33.137" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4487" PostTypeId="1" AcceptedAnswerId="4724" CreationDate="2017-02-17T21:07:22.690" Score="1" ViewCount="130" Body="&lt;p&gt;Anyone have an issue installing Coveo for Sitecore (Cloud) module &quot;82 4.0 (895).zip&quot; on Sitecore 8.2 Initial Release with WFFM?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Coveo said it is a known issue &lt;a href=&quot;https://support.coveo.com/s/article/ka132000000LLs7AAG/1912&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.coveo.com/s/article/ka132000000LLs7AAG/1912&lt;/a&gt; but even with the patch it locks up my Sitecore instance. Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="191" LastEditorUserId="982" LastEditDate="2017-03-03T21:08:17.823" LastActivityDate="2017-03-03T21:08:17.823" Title="Sitecore Coveo Cloud on 8.1 Initial release with WFFM installed, locks up" Tags="|wffm|coveo|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4488" PostTypeId="1" CreationDate="2017-02-17T22:24:02.900" Score="9" ViewCount="4949" Body="&lt;p&gt;I have a few fields in a template, and two of them have template name restrictions. Using the restriction, I get 0 results, and when removed I get all the items I want (plus others I don't)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;With templatename or templateid filter:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WNdnY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WNdnY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Without filter:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/M2QfA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M2QfA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My drop-link source:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:/sitecore/content/Americas/SmartSite/Data/Navigation//*[@@templatename='Navigation Items']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried replacing template name with &lt;code&gt;templateid&lt;/code&gt; and I get the same result.  This only happens in the QA environment, not DEV or local.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the query in XPath Editor I get the results that I expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ajgJ3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ajgJ3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last suspicious thing is that after saving my template definition, the logs state that indexes were built within a second.  That would be the only fast thing about this instance&lt;/p&gt;&#xA;" OwnerUserId="1283" LastEditorUserId="5387" LastEditDate="2019-09-03T08:44:47.127" LastActivityDate="2024-03-16T03:03:36.017" Title="Droplink source query breaks with templateid or templatename" Tags="|templates|sitecore-query|" AnswerCount="1" CommentCount="9" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4489" PostTypeId="1" AcceptedAnswerId="4492" CreationDate="2017-02-17T23:17:57.603" Score="3" ViewCount="533" Body="&lt;p&gt;I see in this &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/processing_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation&lt;/a&gt; they mention &lt;strong&gt;Continuous Update&lt;/strong&gt; as a type of processing for reporting. I can't find any documentation on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the steps and configuration required to set this up?&lt;/p&gt;&#xA;" OwnerUserId="939" LastActivityDate="2017-02-18T01:03:19.713" Title="XDB Continuous Update for Reporting" Tags="|xdb|experience-analytics|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4491" PostTypeId="1" CreationDate="2017-02-17T23:37:19.617" Score="3" ViewCount="366" Body="&lt;p&gt;I had used Lucene and sometimes SOLR for Older Sitecore versions. Now the latest trend seems to be Azure search with Sitecore 8.2.1.&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/configure_azure_search#_Create_a_Search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/configure_azure_search#_Create_a_Search&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone get a chance to explore with Azure Search in Sitecore? Any approaches for configuring Analyzers (LowerCaseKeywordAnalyzer, Synonym)??&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I' using Azure search in Sitecore 8.2.1 web app, assuming replace configurations of Lucene with Azurecloudsearch?. Any suggestions, please.&lt;/p&gt;&#xA;" OwnerUserId="1279" LastEditorUserId="73" LastEditDate="2017-02-17T23:38:59.247" LastActivityDate="2017-02-17T23:38:59.247" Title="Configuring the Analyzers (LowerCaseKeywordAnalyzer, Synonym) for Azure search in Sitecore 8.2.1" Tags="|azure-search|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4492" PostTypeId="2" ParentId="4489" CreationDate="2017-02-18T00:49:11.490" Score="9" Body="&lt;p&gt;&lt;strong&gt;Continuous Updating&lt;/strong&gt; is automatically configured. It is the process of xDB which takes interactions that have just ended, out of shared session, into the repository, and then processed and aggregated against.&lt;/p&gt;&#xA;&lt;p&gt;It starts as soon as Sitecore initializes and runs until the the server is turned off. In most distributed environments, a collection of server roles are utilized:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content Delivery servers which handle the tracking of interaction information while the session is active. On Session End data is moved to MongoDB and processing pool entries are added.&lt;/li&gt;&#xA;&lt;li&gt;The processing server(s)/role monitor processing events out of both Sitecore and Mongo and perform actions as needed. Processing from Mongo and aggregation to the reporting database.&lt;/li&gt;&#xA;&lt;li&gt;The reporting server/role provides the reporting functionality that reads from the reporting database and populates Sitecore Analytics.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Rebuilding of the Reporting Database&lt;/strong&gt; is the manual intervention that is sometimes needed in rare events where the data between Mongo and the Reporting Databae becomes out of sync. This scenario can come up if MongoDB is manually edited without using the Sitecore API or if the reporting database becomes unusable.&lt;/p&gt;&#xA;&lt;h3&gt;Reporting Service Role Server&lt;/h3&gt;&#xA;&lt;p&gt;For additional information on how to setup a reporting server role, see the following Sitecore Documentation.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_reporting_service_server&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_reporting_service_server&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Processing Role Server&lt;/h3&gt;&#xA;&lt;p&gt;For additional information on how to setup a processing server, see the following Sitecore Documentation.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_processing_server&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_processing_server&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Aggregation Agents&lt;/h3&gt;&#xA;&lt;p&gt;Another configuration that is available is the abilitly to create additional aggregation agents.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;When you configure a processing server, to optimize performance, you&#xA;may need to change the number of aggregation agents or threads that&#xA;you run. Aggregation agents pick up interactions to be processed by&#xA;the aggregation pipeline and convert data into a form suitable for use&#xA;by the reporting database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;You can learn more about Aggregation Agents here.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_agreggation_agents&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_agreggation_agents&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Commentary&lt;/h3&gt;&#xA;&lt;p&gt;I agree that the documentation link provided reads as though Continous Updating is a separate function of xDB. However, as you read through the doc you realize that Continous Update  is really just the standard operation of Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-18T01:03:19.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4493" PostTypeId="1" AcceptedAnswerId="4494" CreationDate="2017-02-18T16:56:52.653" Score="2" ViewCount="488" Body="&lt;p&gt;Is there a simple way to determine what pipelines run for an API call? I am trying to extend the search in experience profile (Add columns) but can't find the pipelines so that I can add fields to the data table. I have already done the core DB work, but I need data in the API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://site/sitecore/api/ao/v1/contacts/search?&amp;amp;pageNumber=1&amp;amp;sort=visitCount%20desc&amp;amp;match=level&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://site/sitecore/api/ao/v1/contacts/search?&amp;amp;pageNumber=1&amp;amp;sort=visitCount%20desc&amp;amp;match=level&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The initialize routes for this API call is in Sitecore.Cintel.Endpoint.Plumbing. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;routes.MapHttpRoute(&quot;cintel_contact_search&quot;, &quot;sitecore/api/ao/v1/contacts/search&quot;, (object) new&#xA;{&#xA;     controller = &quot;Contact&quot;,&#xA;     action = &quot;Search&quot;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gCqBA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gCqBA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="423" LastEditDate="2017-08-08T14:46:16.370" LastActivityDate="2017-08-08T14:46:16.370" Title="Find pipelines that run an API" Tags="|pipelines|experience-profile|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4494" PostTypeId="2" ParentId="4493" CreationDate="2017-02-18T19:27:11.387" Score="4" Body="&lt;h2&gt;Immediate Answer&lt;/h2&gt;&#xA;&lt;p&gt;You asked: &amp;quot;Is there a simple way to determine what pipelines run for an API call?&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;In a nutshell, the only way to know for sure what an API controller is doing is to &lt;strong&gt;decompile&lt;/strong&gt; the controller and take a peek. So, if that's not considered &amp;quot;simple&amp;quot;, then the answer to your question is probably &lt;em&gt;&lt;strong&gt;no&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;That being said, I'd like to offer up some information specifically on the Contact Search functionality that you are asking about, and provide you with a path for adding to the results that you are wanting to extend.&lt;/p&gt;&#xA;&lt;p&gt;I'll start with an explanation of how Contact Search works. I will also add that a lot of the API controllers have similar methodologies.&lt;/p&gt;&#xA;&lt;h2&gt;Understanding how Contact Search Works&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;em&gt;&lt;strong&gt;Contact API Controller&lt;/strong&gt;&lt;/em&gt;, when &lt;strong&gt;Search()&lt;/strong&gt; is executed, performs a &lt;code&gt;Find(parameters)&lt;/code&gt; method of the configured &lt;code&gt;ContactSearchProvider&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This is defined in the &lt;strong&gt;Sitecore.ExperienceProfile.config&lt;/strong&gt; as such:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;providers&amp;gt;&#xA;    &#xA;    &amp;lt;!-- Provides contact search functionality. --&amp;gt;&#xA;    &amp;lt;contactSearchProvider type=&amp;quot;Sitecore.Cintel.ContactSearchProvider, Sitecore.Cintel&amp;quot; singleInstance=&amp;quot;true&amp;quot; /&amp;gt;&#xA;     &#xA;  &amp;lt;/providers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The &lt;strong&gt;ContactSearchProvider&lt;/strong&gt; provides the brains behind how the search is performed and returns a &lt;code&gt;ResultSet&lt;/code&gt; list of results based off of the interface &lt;code&gt;IContactSearchResult&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Once the Search is complete, the Contact Controller then passes the results off of to a Result Transformer, that takes the results and converts them into a JSON response that is then passed through the API controller and back to the client browser.&lt;/p&gt;&#xA;&lt;p&gt;The Result Transformer that is used in the Experience Profile is called &lt;code&gt;ContactSearchResultTransformer&lt;/code&gt; and is defined in the config file &lt;strong&gt;Sitecore.ExperienceProfile.Client.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;contactSearchResultTransformer&amp;gt;&#xA;        &amp;lt;add key=&amp;quot;default&amp;quot; type=&amp;quot;Sitecore.Cintel.Client.Transformers.Contact.ContactSearchResultTransformer, Sitecore.Cintel.Client&amp;quot; /&amp;gt;&#xA;      &amp;lt;/contactSearchResultTransformer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A look at the out of the box result transformer reveals an example on how to &lt;em&gt;&lt;strong&gt;extend&lt;/strong&gt;&lt;/em&gt; the JSON results.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public object Transform(ResultSet&amp;lt;List&amp;lt;IContactSearchResult&amp;gt;&amp;gt; resultSet)&#xA;{&#xA;  Assert.ArgumentNotNull((object) resultSet, &amp;quot;resultSet&amp;quot;);&#xA;  if (resultSet.Data.Dataset.Count == 0)&#xA;    return (object) resultSet;&#xA;  List&amp;lt;IContactSearchResult&amp;gt; source = resultSet.Data.Dataset.FirstOrDefault&amp;lt;KeyValuePair&amp;lt;string, List&amp;lt;IContactSearchResult&amp;gt;&amp;gt;&amp;gt;().Value;&#xA;  if (source == null)&#xA;    return (object) resultSet;&#xA;  DateTime nowTime = DateTime.UtcNow;&#xA;  List&amp;lt;ContactSearchResultEx&amp;gt; list = source.Select&amp;lt;IContactSearchResult, ContactSearchResultEx&amp;gt;((Func&amp;lt;IContactSearchResult, ContactSearchResultEx&amp;gt;) (r =&amp;gt; this.ExtendResult(r, nowTime))).ToList&amp;lt;ContactSearchResultEx&amp;gt;();&#xA;  source.Clear();&#xA;  source.AddRange((IEnumerable&amp;lt;IContactSearchResult&amp;gt;) list);&#xA;  return (object) resultSet;&#xA;}&#xA;&#xA;private ContactSearchResultEx ExtendResult(IContactSearchResult result, DateTime nowTime)&#xA;{&#xA;  ContactSearchResultEx contactSearchResultEx = new ContactSearchResultEx(result);&#xA;  contactSearchResultEx.FormattedLatestVisitStartDateTime = this.timeConverter.FormatDateTime(result.LatestVisitStartDateTime);&#xA;  contactSearchResultEx.Recency = this.timeConverter.GetRecency(result.LatestVisitStartDateTime, nowTime);&#xA;  contactSearchResultEx.LatestVisitLocationDisplayName = this.textConverter.GetLocation(result.LatestVisitLocationCityDisplayName, result.LatestVisitLocationRegionDisplayName, result.LatestVisitLocationCountryDisplayName);&#xA;  contactSearchResultEx.EmailAddressExt = this.textConverter.GetEmail((object) result.PreferredEmail);&#xA;  string duration = this.timeConverter.GetDuration(result.LatestVisitStartDateTime, result.LatestVisitEndDateTime);&#xA;  contactSearchResultEx.LatestDuration = duration;&#xA;  string[] strArray = new string[3]&#xA;  {&#xA;    result.FirstName,&#xA;    result.MiddleName,&#xA;    result.Surname&#xA;  };&#xA;  string fullName = this.textConverter.GetFullName((ContactIdentificationLevel) result.IdentificationLevel, strArray);&#xA;  contactSearchResultEx.FullName = fullName;&#xA;  return contactSearchResultEx;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The magic here is that Transform() returns an &lt;code&gt;object&lt;/code&gt; and not a concrete class.&lt;/p&gt;&#xA;&lt;p&gt;Notice the method &lt;code&gt;ExtendResult()&lt;/code&gt; returns a &lt;code&gt;ContactSearchResultEx&lt;/code&gt; object. A look at this class shows that it is adding 6 different, additional JSON values to the search result.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;[JsonProperty(&amp;quot;formattedLatestVisitStartDateTime&amp;quot;)]&#xA;public string FormattedLatestVisitStartDateTime { get; set; }&#xA;&#xA;[JsonProperty(&amp;quot;recency&amp;quot;)]&#xA;public string Recency { get; set; }&#xA;&#xA;[JsonProperty(&amp;quot;latestVisitLocationDisplayName&amp;quot;)]&#xA;public string LatestVisitLocationDisplayName { get; set; }&#xA;&#xA;[JsonProperty(&amp;quot;emailAddressExt&amp;quot;)]&#xA;public string EmailAddressExt { get; set; }&#xA;&#xA;[JsonProperty(&amp;quot;fullName&amp;quot;)]&#xA;public string FullName { get; set; }&#xA;&#xA;[JsonProperty(&amp;quot;latestDuration&amp;quot;)]&#xA;public string LatestDuration { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;Extending the Contact Search Results Further&lt;/h2&gt;&#xA;&lt;p&gt;With a basic understanding of how the Contact Search works currently, to add additional fields, I would do the following:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Start with creating a new &lt;em&gt;ContactSearchResultExtended&lt;/em&gt; class that inherits from &lt;code&gt;ContactSearchResultEx&lt;/code&gt;, adding the appropriate JSON properties to represent the new data that you want to return.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a custom &lt;code&gt;ContactSearchResultTransformer&lt;/code&gt; class that mimics the same functionality as the out of the box class, but adds in whatever logic is needed in order to add the additional data to the result set in your own &lt;em&gt;ExtendResult&lt;/em&gt; method.  Keep in mind that you pass in the &lt;em&gt;result&lt;/em&gt; which contains &lt;strong&gt;Contact ID&lt;/strong&gt; so that if you need to perform operations on the Contact ID in this method, you can. I would also preserve whatever logic is needed to satisfy the original extended results as well.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create the appropriate patch configs to apply the config changes needed to utilize the new custom &lt;code&gt;&amp;lt;contactSearchResultTransformer&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2&gt;A Pipeline Approach (Theoretically)&lt;/h2&gt;&#xA;&lt;p&gt;Sadly, as shown here, there's really not a pipeline utilized to adjust, extend, or affect the result list. It's all in the configured Result Transformer.  However, I love looking at unpipelined logic and seeing where I might be able to apply a pipeline.&lt;/p&gt;&#xA;&lt;p&gt;In this case, the &lt;code&gt;Transform()&lt;/code&gt; method of the Result Transformer seems like a potential candidate for adding a pipline. Specifically, I can see a pipeline process that allows for the addition of additional JSON values as part of the embedded function:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;List&amp;lt;ContactSearchResultEx&amp;gt; list = source.Select&amp;lt;IContactSearchResult, ContactSearchResultEx&amp;gt;((Func&amp;lt;IContactSearchResult, ContactSearchResultEx&amp;gt;) (r =&amp;gt; this.ExtendResult(r, nowTime))).ToList&amp;lt;ContactSearchResultEx&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Then each processor would be responsible for adding values to the result. Obviously, I haven't actually tried this, nor do I think it's actually needed since you can easily just create your own transform results.&lt;/p&gt;&#xA;&lt;p&gt;However... it's a possible thought.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-18T19:41:59.467" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4495" PostTypeId="1" AcceptedAnswerId="4517" CreationDate="2017-02-18T20:24:09.597" Score="3" ViewCount="782" Body="&lt;p&gt;We're working to convert a site from web forms to MVC. There's a desire to replace the web forms sublayouts with MVC renderings as we go along, until the site is completely converted. I found this article that talks about going both ways with this (MVC layout with web forms sublayouts, or web forms layout with MVC renderings): &lt;a href=&quot;https://blog.horizontalintegration.com/2015/09/15/mixing-sublayout-with-rendering-webforms-with-mvc-request/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.horizontalintegration.com/2015/09/15/mixing-sublayout-with-rendering-webforms-with-mvc-request/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering if anyone has practical experience with this and has a recommended method? My preference would be to use an MVC layout and include the web forms sublayouts until they're replaced, but I can make a case for going the other way if it's simpler.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-02-20T14:37:53.360" Title="Putting web forms sublayouts on MVC layouts during transition (or vice-versa)" Tags="|mvc|webforms|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4498" PostTypeId="1" AcceptedAnswerId="4499" CreationDate="2017-02-20T04:39:27.740" Score="4" ViewCount="86" Body="&lt;p&gt;Is Sitecore Commerce 8.2.1 compatible with Sitecore 161221 (8.2 Update-2) ?&lt;/p&gt;&#xA;" OwnerUserId="1564" LastActivityDate="2017-02-20T05:35:30.943" Title="Is Sitecore Commerce 8.2.1 compatible with Sitecore 161221 (8.2 Update-2)?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4499" PostTypeId="2" ParentId="4498" CreationDate="2017-02-20T05:10:47.940" Score="8" Body="&lt;p&gt;It looks like it's not compatible. Please see details about modules compatibility here: &lt;a href=&quot;https://kb.sitecore.net/articles/316437&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/316437&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3qnfE.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3qnfE.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="1564" LastEditDate="2017-02-20T05:35:30.943" LastActivityDate="2017-02-20T05:35:30.943" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4500" PostTypeId="1" AcceptedAnswerId="5629" CreationDate="2017-02-20T06:55:14.517" Score="3" ViewCount="468" Body="&lt;p&gt;I have Site1 and Site2 in same tenant and I want to see serach results from Site2 while staying in context of Site1. I have also added Site2 in &quot;DatasourceSearchScope&quot; Site1 -&gt; Settings -&gt; Search criteria to extend search according to SXA documentation.&lt;/p&gt;&#xA;" OwnerUserId="1306" LastEditorUserId="237" LastEditDate="2017-02-20T09:02:36.537" LastActivityDate="2017-05-09T14:58:29.853" Title="Extend search to include other sites in SXA not showing result" Tags="|content-search|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4501" PostTypeId="2" ParentId="4500" CreationDate="2017-02-20T08:17:26.863" Score="1" Body="&lt;p&gt;Like it's mentioned in the documentation first you have to configure additional search scope:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LAY56.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LAY56.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general, this should be enough. Ensure that you see any results at all and don't forget about proper sites configuration. Add an asterisk to your main site (site where you want to run the search) Host Name field so that it will take all of the search service responses:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/76ff3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/76ff3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2017-02-22T14:04:59.630" LastActivityDate="2017-02-22T14:04:59.630" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4503" PostTypeId="1" AcceptedAnswerId="4505" CreationDate="2017-02-20T09:37:18.170" Score="2" ViewCount="5257" Body="&lt;p&gt;I just managed to create a new instance of Sitecore 8.2 on my Azure account.&#xA;When I'm going on the administration panel &lt;a href=&quot;http://mySitecoreinstance/sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mySitecoreinstance/sitecore/&lt;/a&gt;, I get this error message : &#xA;You do not have permission to view this directory or page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you know how can I fix that ?&lt;/p&gt;&#xA;" OwnerUserId="1566" LastEditorUserId="73" LastEditDate="2018-02-21T15:30:27.400" LastActivityDate="2022-03-15T16:34:36.557" Title="You do not have permission to view this directory or page" Tags="|azure|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4504" PostTypeId="1" AcceptedAnswerId="4506" CreationDate="2017-02-20T11:49:35.043" Score="3" ViewCount="2364" Body="&lt;p&gt;I need to find all templates that use a defined field type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to do it ?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="237" LastEditDate="2017-02-20T13:07:28.280" LastActivityDate="2020-11-02T18:31:20.020" Title="How to find templates that use some specific field type?" Tags="|fieldtype|custom-field|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4505" PostTypeId="2" ParentId="4503" CreationDate="2017-02-20T12:00:55.693" Score="4" Body="&lt;p&gt;When you create a new instance of Sitecore from the Azure Marketplace, two Web App Service instances of Sitecore are created: A Content Delivery instance, and a Content Management instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the CD instance, the Sitecore login and UI are disabled. When you attempt to access, it will give you the permission denied screen, as you describe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to access Sitecore on the Content Management instance.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-02-20T12:00:55.693" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4506" PostTypeId="2" ParentId="4504" CreationDate="2017-02-20T12:08:24.467" Score="4" Body="&lt;p&gt;As field types are not linked with item's &lt;code&gt;ID&lt;/code&gt; you cannot use Link Database for that.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;PowerShell&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You could iterate through all fields in PowerShell and find those with particular field type &#xA;&lt;a href=&quot;https://i.stack.imgur.com/krtRj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/krtRj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;SQL&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Open SQL Management studio&#xA;Execute something like that&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT TOP 1000 &#xA;    [ItemId]&#xA;    ,[FieldId]&#xA;    ,[Value]&#xA;    ,[Created]&#xA;    ,[Updated]&#xA;FROM [sc_sitecore_master].[dbo].[SharedFields]&#xA;WHERE FieldId = '{AB162CC0-DC80-4ABF-8871-998EE5D7BA32}' AND Value = 'MY FIELD NAME'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;MY FIELD NAME&lt;/code&gt; is a file type name&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-02-20T12:08:24.467" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4507" PostTypeId="1" CreationDate="2017-02-20T12:28:46.217" Score="3" ViewCount="1616" Body="&lt;p&gt;I'm trying to setup custom Lucene indexing but getting &lt;strong&gt;An index with the name &quot;sitecore_web_index&quot; have already been added.&lt;/strong&gt;. Here's my config files. Have I missed something out?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CustomSpatialIndex.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexTemplates hint=&quot;skip&quot;&amp;gt;&#xA;          &amp;lt;customIndexTemplate id=&quot;sitecore_web_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.SwitchOnRebuildLuceneIndex,Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;sitecore_web_index&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;folder&quot;&amp;gt;sitecore_web_index&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/rebuildAfterFullPublish&quot; /&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/remoteRebuild&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Spatial/Home&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/SpatialConfiguration&quot; /&amp;gt;&#xA;          &amp;lt;/customIndexTemplate&amp;gt;&#xA;        &amp;lt;/indexTemplates&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_web_index&quot;  ref=&quot;contentSearch/configuration/indexTemplates/customIndexTemplate&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Spatial.Provider.Lucene.LuceneIndexWithSpatial, Sitecore.Spatial&amp;lt;/patch:attribute&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SpatialConfiguration.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;onPublishEndAsyncSingleInstance type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousSingleInstanceStrategy, Sitecore.ContentSearch&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;        &amp;lt;CheckForThreshold&amp;gt;true&amp;lt;/CheckForThreshold&amp;gt;&#xA;      &amp;lt;/onPublishEndAsyncSingleInstance&amp;gt;&#xA;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;SpatialConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;          &amp;lt;!-- update values as required --&amp;gt;&#xA;          &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;          &amp;lt;initializeOnAdd&amp;gt;true&amp;lt;/initializeOnAdd&amp;gt;&#xA;          &amp;lt;analyzer ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/analyzer&quot; /&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_uniqueid&quot;            storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;Title&quot;                    storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;       vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;Description&quot;              storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;       vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;&#xA;          &amp;lt;include hint=&quot;list:IncludeTemplate&quot;&amp;gt;&#xA;            &amp;lt;customPage&amp;gt;{6AF9F435-9303-46A7-99FC-B016F23C694B}&amp;lt;/customPage&amp;gt;&#xA;          &amp;lt;/include&amp;gt;&#xA;&#xA;          &amp;lt;include hint=&quot;list:IncludeField&quot;&amp;gt;&#xA;            &amp;lt;fieldId&amp;gt;{1360019C-1E25-43F8-A51A-98ED246C1F3A}&amp;lt;/fieldId&amp;gt;&#xA;            &amp;lt;fieldId&amp;gt;{073AEB54-DDEC-4B62-853A-C3BA043C6CVA}&amp;lt;/fieldId&amp;gt;&#xA;          &amp;lt;/include&amp;gt;&#xA;&#xA;          &amp;lt;fieldReaders ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldReaders&quot; /&amp;gt;&#xA;          &amp;lt;indexFieldStorageValueFormatter ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/indexFieldStorageValueFormatter&quot; /&amp;gt;&#xA;          &amp;lt;indexDocumentPropertyMapper ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/indexDocumentPropertyMapper&quot; /&amp;gt;&#xA;          &amp;lt;documentBuilderType&amp;gt;Sitecore.Spatial.Lucene.SpatialDocumentBuilder, Sitecore.Spatial&amp;lt;/documentBuilderType&amp;gt;&#xA;        &amp;lt;/SpatialConfiguration&amp;gt;&#xA;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="40" LastActivityDate="2017-02-27T17:23:12.703" Title="An index with the name &quot;sitecore_web_index&quot; have already been added" Tags="|lucene|indexing|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4508" PostTypeId="2" ParentId="4504" CreationDate="2017-02-20T12:43:51.830" Score="1" Body="&lt;p&gt;If you have powershell extension, you can try &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Get-ChildItem -Path &quot;/sitecore/content&quot; -Recurse | Where-Object {$_.Fields[&quot;{AB162CC0-DC80-4ABF-8871-998EE5D7BA32}&quot;] -like &quot;Text&quot;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;'Text' is a field type name&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-02-20T12:43:51.830" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4509" PostTypeId="1" AcceptedAnswerId="4516" CreationDate="2017-02-20T13:14:07.420" Score="1" ViewCount="525" Body="&lt;p&gt;I am using WFFM with Sitecore SXA. I am seeing the responses as in the image. But, exact form data is not shown. How can we see the exact data?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The image shows the reports in the form of bar chart.&lt;br&gt;&#xA;But I want it to show form data filled by the users.&#xA;How can we achieve that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MEHR5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MEHR5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1569" LastEditorUserId="423" LastEditDate="2017-02-20T14:30:50.610" LastActivityDate="2017-02-20T14:36:20.013" Title="How to view WFFM form response data in Sitecore" Tags="|wffm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4510" PostTypeId="1" AcceptedAnswerId="4514" CreationDate="2017-02-20T13:30:28.987" Score="3" ViewCount="1370" Body="&lt;p&gt;I am using Sitecore 8.2 - Update 2 and EXM 3.4 - Update 1. I have a list, which I want to use for sending e-mail campaigns. I have a custom form, which I want to use for subscription. I found this article &lt;a href=&quot;https://himynameistim.wordpress.com/2016/03/01/sitecore-programmatically-adding-contacts-to-a-list/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://himynameistim.wordpress.com/2016/03/01/sitecore-programmatically-adding-contacts-to-a-list/&lt;/a&gt; and I used this part of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void AddContactToList(ContactData contact, ContactList list)&#xA;{&#xA;    ContactListManager listManager = Sitecore.Configuration.Factory.CreateObject(&quot;contactListManager&quot;, false) as ContactListManager;&#xA;&#xA;    List&amp;lt;ContactData&amp;gt; contactList = new List&amp;lt;ContactData&amp;gt;();&#xA;    contactList.Add(contact);&#xA;&#xA;    listManager.AssociateContacts(list, contactList);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Problem is, that list is locked after this, so no one else can be added to a list at the time list is locked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactRepository = new ContactRepository();&#xA;var listManager = Factory.CreateObject(&quot;contactListManager&quot;, false) as ListManager&amp;lt;ContactList, ContactData&amp;gt;;&#xA;var contact = Tracker.Current.Contact;&#xA;foreach (var listId in listIds)&#xA;{&#xA;    var contactList = listManager.FindById(listId);&#xA;    if (contact.Tags.Find(&quot;ContactLists&quot;) != null &amp;amp;&amp;amp; contact.Tags.Find(&quot;ContactLists&quot;).Values.Select(x =&amp;gt; x.Value).Contains(listId))&#xA;    {&#xA;        continue;&#xA;    }&#xA;    contact.Tags.Set(&quot;ContactLists&quot;, contactList.Id);&#xA;}&#xA;var options = new ContactSaveOptions(true, null);&#xA;contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;contactRepository.SaveContact(contact, options);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Problem is that a list write warning:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Please note that contacts in the list are currently being indexed, so not all contacts are available to view at this time. 1 out of 0 contacts are currently indexed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone have functional method how to add a contact to a list?&lt;/p&gt;&#xA;" OwnerUserId="1570" LastEditorUserId="73" LastEditDate="2017-02-20T19:05:16.307" LastActivityDate="2017-03-07T05:19:21.353" Title="How should I add contact to a list - EXM subscription in Sitecore 8.2" Tags="|exm|list-manager|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4511" PostTypeId="2" ParentId="4507" CreationDate="2017-02-20T13:37:38.353" Score="8" Body="&lt;p&gt;If you open the showconfig page (hostname/sitecore/admin/showconfig.aspx) it will tell you all the indexes that Sitecore is loading specially the one that is causing you problem. It will show you something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot; patch:source=&quot;Sitecore.ContentSearch.Solr.Index.Web.config&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;IF you look at it you will notice that the sitecore_web_index in this example is being defined on the file Sitecore.ContentSearch.Solr.Index.Web.config and is being patched from it. Hopefully this will help you&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-02-20T13:37:38.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4514" PostTypeId="2" ParentId="4510" CreationDate="2017-02-20T14:29:56.830" Score="5" Body="&lt;p&gt;If you are using EXM, then you can take advantage of &lt;code&gt;Sitecore.Modules.EmailCampaign.ClientApi&lt;/code&gt;. Have a look at the &lt;a href=&quot;https://doc.sitecore.net/email%20experience%20manager/subscription%20management/the%20exm%20client%20api&quot; rel=&quot;nofollow noreferrer&quot;&gt;the EXM ClientApi documentation for version 3.4 of EXM&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;listManager.AssociateContacts&lt;/code&gt; is fairly low-level code, and &lt;code&gt;contact.Tags.Set&lt;/code&gt; even more so. As the post you link to points out, it is risky to use these APIs directly and manipulating the ContactLists on 'contact.Tags' should be avoided at all costs as it will lead to inconsistencies between the expected number of contacts on a List Manager list, and the actual number of contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use &lt;code&gt;ClientApi.Instance.UpdateSubscriptions&lt;/code&gt;, then EXM takes care of a lot of things on your behalf, including handling list/contact locking, and sending the request over a webservice to your Content Management server if you are using a scaled environment.&lt;/p&gt;&#xA;" OwnerUserId="85" LastEditorUserId="85" LastEditDate="2017-03-07T05:19:21.353" LastActivityDate="2017-03-07T05:19:21.353" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4516" PostTypeId="2" ParentId="4509" CreationDate="2017-02-20T14:36:20.013" Score="2" Body="&lt;p&gt;Unfortunately, Sitecore does not include a GUI for viewing WFFM form responses. However, Sitecore does provide the ability to &lt;em&gt;export&lt;/em&gt; your WFFM form response data to Excel for easy viewing, or to XML for viewing in another application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T1JMZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T1JMZ.png&quot; alt=&quot;image of export feature from question: https://sitecore.stackexchange.com/q/3309/423&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;(above image was copied from &lt;a href=&quot;https://sitecore.stackexchange.com/q/3309/423&quot;&gt;this post&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-02-20T14:36:20.013" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4517" PostTypeId="2" ParentId="4495" CreationDate="2017-02-20T14:37:53.360" Score="1" Body="&lt;p&gt;Add the UserControlRenderer and GetUserControlRenderer classes to your solution, and patch the mvc.getRenderer pipeline with mvc.usercontrolrenderer.config and you’re good to go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The source can be found at &lt;a href=&quot;https://github.com/efocus-nl/sitecore-mvc-usercontrolrenderer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/efocus-nl/sitecore-mvc-usercontrolrenderer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Detail: &lt;a href=&quot;http://www.chrisvandesteeg.nl/2014/02/11/usercontrol-renderings-in-a-sitecore-mvc-website-wffm-for-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.chrisvandesteeg.nl/2014/02/11/usercontrol-renderings-in-a-sitecore-mvc-website-wffm-for-mvc/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-02-20T14:37:53.360" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4518" PostTypeId="2" ParentId="4312" CreationDate="2017-02-20T15:07:20.850" Score="0" Body="&lt;p&gt;You can have Glass generate partial classes, and extend them to add custom properties and methods. For example you can have a new property to access the Player that will return the default if one is not set. This would give you more control over this behavior. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if the default Player is always the same then using Standard Values would be sufficient, as Owen Niblock suggests.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-02-20T15:07:20.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4519" PostTypeId="2" ParentId="3468" CreationDate="2017-02-20T21:21:43.737" Score="0" Body="&lt;p&gt;Firefox is the most stable browser for Sitecore Administration as suggested &lt;a href=&quot;https://books.google.mu/books?id=ZqIvCwAAQBAJ&amp;amp;pg=PA188&amp;amp;lpg=PA188&amp;amp;dq=sitecore%208%20chrome%20browser%20configuration&amp;amp;source=bl&amp;amp;ots=VlRdH7TuAG&amp;amp;sig=9PqjB0FWnbgaH4F9zwzt-NlkteE&amp;amp;hl=en&amp;amp;sa=X&amp;amp;redir_esc=y#v=onepage&amp;amp;q=sitecore%208%20chrome%20browser%20configuration&amp;amp;f=false&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. There are known issues that Google Chrome v37 and later does not work properly on Sitecore. This is due to the deprecated support for modal dialog boxes in these versions of Chrome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had experienced that the Experience Editor does not open or keeps on loading when using chrome. I have already logged a Sitecore Ticket for this and will update the answer once the information is provided&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-02-20T21:21:43.737" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4520" PostTypeId="1" AcceptedAnswerId="4546" CreationDate="2017-02-21T10:52:50.730" Score="1" ViewCount="896" Body="&lt;p&gt;Our site is set up to access through a CDN.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a WFFM Form is submitted with image sizes of 3MB, it returns a &quot;413 Request Entity Too Large&quot; status error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have found, in online documentation, that this error may suggest a file upload limit of the CDN, but our hosting provider has told us that it is a result of too much information in the &lt;code&gt;Request Payload&lt;/code&gt; headers from the WFFM submission. He has recommended that we try to trim the headers on form submission requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i.e. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5YgN9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5YgN9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does this sound like it could be the issue? Any details to help explain the issue or to help with actually trimming these headers would be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="423" LastEditDate="2017-03-25T12:37:20.423" LastActivityDate="2017-03-25T12:37:20.423" Title="Request Entity Too Large Error from CDN When WFFM form Submitted" Tags="|wffm|cdn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4521" PostTypeId="1" AcceptedAnswerId="5098" CreationDate="2017-02-21T11:16:26.050" Score="0" ViewCount="472" Body="&lt;p&gt;When editing pages in EE using Chrome, clicking on fields show the field details popup but with a '[Not set]' title &lt;a href=&quot;https://i.stack.imgur.com/la6pI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/la6pI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; whereas in Firefox it shows the actual field name:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're using Sitecore 8.1 (rev. 160519)&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2017-03-27T10:46:34.403" Title="Field Title in Experience Editor showing '[Not set]' in Chrome" Tags="|experience-editor|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4522" PostTypeId="1" CreationDate="2017-02-21T12:17:19.290" Score="4" ViewCount="200" Body="&lt;p&gt;This is the code behind.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace web.insurance.Models&#xA;{&#xA;    public class SingleLineTextWithPlaceholderField : Sitecore.Forms.Mvc.ViewModels.Fields.SingleLineTextField&#xA;    {&#xA;        [Default Value(&quot;&quot;)]&#xA;        public string  PlaceholderText { get; set; }&#xA;        public SingleLineTextWithPlaceholderField(Item item) : base()&#xA;        {&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the screenshot of Form designer.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/gqYGL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gqYGL.png&quot; alt=&quot;I want to have a custom field. I added above class and a cshtml file as a view. But the property **PLaceholdertext** is not showing in the Form Designer as mentioned in the image. &quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1569" LastActivityDate="2017-06-28T09:46:11.290" Title="I am using WFFM 8.2 with SXA. While creating custom fields, I am not able to see the properties in the Form designer" Tags="|wffm|sxa|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4523" PostTypeId="1" AcceptedAnswerId="4525" CreationDate="2017-02-21T14:07:00.917" Score="1" ViewCount="4234" Body="&lt;p&gt;I'm new to MVC. Trying to load a partial view but get a 500 error in browser console.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After clicking on submit, the action method is triggered and the code is executed without any errors. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to replace the content of &lt;code&gt;myform&lt;/code&gt; with a partial view, but there is an error in the browser console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to configure any routes. If so, please tell me what/how it should be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;main.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div id=&quot;myform&quot;&amp;gt;&#xA; @using (Ajax.BeginForm(&quot;ResetPassword&quot;, &quot;Member&quot;, new AjaxOptions { UpdateTargetId = &quot;myform&quot;, InsertionMode = InsertionMode.Replace }))&#xA; {&#xA;    .....&#xA;    &amp;lt;input type=&quot;submit&quot; value=&quot;Submit&quot;/&amp;gt;&#xA; }&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;controller&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]        &#xA;public ActionResult ResetPassword()&#xA;{&#xA;  ....&#xA;  return PartialView(&quot;~/Views/success.cshtml&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;success.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@&#xA;{&#xA; var contextItem = Sitecore.Context.Item;&#xA;}&#xA;&amp;lt;div&amp;gt;&#xA;  &amp;lt;h3&amp;gt;Your password has been updated.&amp;lt;/h3&amp;gt;&#xA;  &amp;lt;p&amp;gt;@contextItem.Fields[&amp;lt;id&amp;gt;].Value&amp;lt;/p&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;POST &lt;a href=&quot;http://mysite.org/api/sitecore/Member/ResetPassword&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.org/api/sitecore/Member/ResetPassword&lt;/a&gt;&#xA;  500 (Internal Server Error)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Stack Trace&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; 25812 19:45:17 ERROR Application error. Exception:&#xA;&amp;gt; System.Web.HttpUnhandledException Message: An unhandled exception&#xA;&amp;gt; occurred. Source: Sitecore.Mvc    at&#xA;&amp;gt; Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext&#xA;&amp;gt; exceptionContext, ExceptionArgs args)    at&#xA;&amp;gt; Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs&#xA;&amp;gt; args)    at (Object , Object[] )    at&#xA;&amp;gt; Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;&amp;gt; Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String&#xA;&amp;gt; pipelineName, TArgs args)    at&#xA;&amp;gt; Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext&#xA;&amp;gt; exceptionContext)    at&#xA;&amp;gt; System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext&#xA;&amp;gt; controllerContext, IList`1 filters, Exception exception)    at&#xA;&amp;gt; System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext&#xA;&amp;gt; controllerContext, String actionName)    at&#xA;&amp;gt; Sitecore.Mvc.Controllers.SitecoreActionInvoker.InvokeAction(ControllerContext&#xA;&amp;gt; controllerContext, String actionName)    at&#xA;&amp;gt; System.Web.Mvc.Controller.&amp;lt;&amp;gt;c__DisplayClass22.&amp;lt;BeginExecuteCore&amp;gt;b__1e()&#xA;&amp;gt; at System.Web.Mvc.Async.AsyncResultWrapper.&amp;lt;.cctor&amp;gt;b__0(IAsyncResult&#xA;&amp;gt; asyncResult, Action action)    at&#xA;&amp;gt; System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)   &#xA;&amp;gt; at&#xA;&amp;gt; System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult&#xA;&amp;gt; asyncResult)    at System.Web.Mvc.Controller.EndExecute(IAsyncResult&#xA;&amp;gt; asyncResult)    at&#xA;&amp;gt; System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult&#xA;&amp;gt; asyncResult, ProcessRequestState innerState)    at&#xA;&amp;gt; System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult&#xA;&amp;gt; asyncResult)    at&#xA;&amp;gt; System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) &#xA;&amp;gt; at&#xA;&amp;gt; Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult&#xA;&amp;gt; result)    at&#xA;&amp;gt; System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;&amp;gt; at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,&#xA;&amp;gt; Boolean&amp;amp; completedSynchronously)&#xA;&amp;gt; &#xA;&amp;gt; Nested Exception&#xA;&amp;gt; &#xA;&amp;gt; Exception: System.NullReferenceException Message: Object reference not&#xA;&amp;gt; set to an instance of an object. Source: App_Web_fel0uk2b    at&#xA;&amp;gt; ASP._Page_Views_ResetPassword_cshtml.Execute() in&#xA;&amp;gt; c:\inetpub\wwwroot\mysite.org\Website\Views\ResetPassword.cshtml:line&#xA;&amp;gt; 7    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()    at&#xA;&amp;gt; System.Web.Mvc.WebViewPage.ExecutePageHierarchy()    at&#xA;&amp;gt; System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;&amp;gt; pageContext, TextWriter writer, WebPageRenderingBase startPage)    at&#xA;&amp;gt; System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;&amp;gt; at&#xA;&amp;gt; System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1&#xA;&amp;gt; filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;&amp;gt; ControllerContext controllerContext, ActionResult actionResult)    at&#xA;&amp;gt; System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1&#xA;&amp;gt; filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;&amp;gt; ControllerContext controllerContext, ActionResult actionResult)    at&#xA;&amp;gt; System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1&#xA;&amp;gt; filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;&amp;gt; ControllerContext controllerContext, ActionResult actionResult)    at&#xA;&amp;gt; System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext&#xA;&amp;gt; controllerContext, IList`1 filters, ActionResult actionResult)    at&#xA;&amp;gt; System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext&#xA;&amp;gt; controllerContext, String actionName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-02-21T14:45:09.777" LastActivityDate="2017-02-21T14:50:37.560" Title="How to load partial view" Tags="|mvc-forms|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4524" PostTypeId="2" ParentId="4521" CreationDate="2017-02-21T14:48:10.917" Score="1" Body="&lt;p&gt;Please download the following Sitecore Support Patch &lt;a href=&quot;https://www.dropbox.com/s/zhweubo1alrd27g/Sitecore.Support.1017770.zip?dl=0&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is a fix about the Field Editor dialog has no header. If the patch does work, I would recommend you to contact Sitecore Support and ask them one which is compatible with your version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a side note, Sitecore responded that the patch is compatible with both Sitecore version 8.1 and 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Patch detail is: &lt;strong&gt;Sitecore.Support.1017770&lt;/strong&gt;. The zip file contains an assembly and a config file.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Place the attached Sitecore.Support.101770.config file to the \App_Config\Include folder.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Place the attached Sitecore.Support.101770.dll assembly to the \bin folder.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-02-21T14:48:10.917" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4525" PostTypeId="2" ParentId="4523" CreationDate="2017-02-21T14:50:37.560" Score="2" Body="&lt;p&gt;You can't submit an MVC form in the standard MVC way when using Sitecore. You have to do some specific things.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Method 1: Sitecore().FormHandler&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;First, your razor view needs to change from using &lt;code&gt;Ajax.BeginForm&lt;/code&gt; to &lt;code&gt;Html.BeginRouteForm&lt;/code&gt; and then passing in the Sitecore route name. Like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;{       &#xA;    @Html.Sitecore().FormHandler(&quot;Member&quot;, &quot;ResetPassword&quot;) &#xA;&#xA;    &amp;lt;input type=&quot;submit&quot; /&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also note the &lt;code&gt;FormHandler&lt;/code&gt; addition. That specifies the controller and action used when submitting the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this method, you can redirect to another page after submission. But can't return a view or partial view.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Method 2: Pure MVC&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There is another option that uses pure MVC to submit the form. In this option you would create your form &lt;code&gt;cshtml&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.BeginForm())&#xA;{&#xA;    &amp;lt;input type=&quot;hidden&quot; name=&quot;fhController&quot; value=&quot;Member&quot;/&amp;gt;&#xA;    &amp;lt;input type=&quot;hidden&quot; name=&quot;fhAction&quot; value=&quot;ResetPassword&quot;/&amp;gt;&#xA;&#xA;    &amp;lt;input type=&quot;submit&quot; value=&quot;submit&quot;/&amp;gt; &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that here we have put the controller and action into hidden fields that will be submitted. This is because on a submit, Sitecore will hit all the controllers that are renderings on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To find the correct POST action. We can use an attribute on the form handler action. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ValidateFormHandler : ActionMethodSelectorAttribute&#xA;{&#xA;    public override bool IsValidForRequest(ControllerContext controllerContext, MethodInfo methodInfo)&#xA;    {&#xA;        var controller = controllerContext.HttpContext.Request.Form[&quot;fhController&quot;];&#xA;        var action = controllerContext.HttpContext.Request.Form[&quot;fhAction&quot;];&#xA;&#xA;        return !string.IsNullOrWhiteSpace(controller)&#xA;                &amp;amp;&amp;amp; !string.IsNullOrWhiteSpace(action)&#xA;                &amp;amp;&amp;amp; controller == controllerContext.Controller.GetType().Name&#xA;                &amp;amp;&amp;amp; methodInfo.Name == action;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then add the attribute to your post action:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;[ValidateFormHandler]&#xA;public ActionResult ResetPassword(FormModel model)&#xA;{&#xA;    // code&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Method 3: Roll your own Ajax call&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Finally - as it looks like you want to make this an ajax request, you could just register your controller action as a route to be used by a &lt;code&gt;$.ajax&lt;/code&gt; call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a pipeline process to the &lt;code&gt;Initialize&lt;/code&gt; pipeline that will register your route:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterRoutes&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapRoute(&quot;ResetPassword&quot;, &quot;Member/ResetPassword&quot;, &#xA;            new { controller = &quot;Member&quot;, action = &quot;ResetPassword&quot; });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can make an ajax post from JavaScript to the url &lt;code&gt;/member/resetpassword&lt;/code&gt; and handle the response to update your screen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Credits for options 1 &amp;amp; 2 to Martina &amp;amp; Kevin:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://mhwelander.net/2014/05/28/posting-forms-in-sitecore-mvc-part-1-view-renderings/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mhwelander.net/2014/05/28/posting-forms-in-sitecore-mvc-part-1-view-renderings/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://mhwelander.net/2014/05/30/posting-forms-in-sitecore-mvc-part-2-controller-renderings/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mhwelander.net/2014/05/30/posting-forms-in-sitecore-mvc-part-2-controller-renderings/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://ctor.io/posting-forms-in-sitecore-controller-renderings-another-perspective/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ctor.io/posting-forms-in-sitecore-controller-renderings-another-perspective/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-02-21T14:50:37.560" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4527" PostTypeId="1" CreationDate="2017-02-21T15:08:40.013" Score="6" ViewCount="488" Body="&lt;p&gt;I would like to personalize a component depending on whether a certain outcome has been triggered in the last 30 days. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my opinion the condition below should be able to get the job done:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where the &lt;em&gt;specific&lt;/em&gt; outcome was registered during a past or current&#xA;  interaction and when the number of elapsed days &lt;em&gt;compares to number&lt;/em&gt;&#xA;  and when the past number of interactions &lt;em&gt;compares to number&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;With the parameters filled in that would be:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where the &lt;code&gt;name-of-my-outcome&lt;/code&gt; outcome was registered during a past or&#xA;  current interaction and when the number of elapsed days &lt;code&gt;is less than 30&lt;/code&gt; and when the past number of interactions &lt;code&gt;is not equal to 0&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;After registering the outcome the condition was validated as true, as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I wanted to test if the condition would be false after 30 days. Since I am unable to wait for 30 days to check if the elapsed days behave correctly I changed &quot;is less than 30 days&quot; to the following values:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;is less than 0 days =&gt; condition is still validated as true. Expected false..&lt;/li&gt;&#xA;&lt;li&gt;is greater than 30 days =&gt; condition is still validated as true. Expected false..&lt;/li&gt;&#xA;&lt;li&gt;is not equal to 0 =&gt; condition is validated as false, which was expected.&lt;/li&gt;&#xA;&lt;li&gt;is not equal to 1 =&gt; condition is validated as true, which was expected.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This leaves me with two questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does the number of elapsed days in the above condition apply on the elapsed days since the outcome has been registered or does it check another timestamp like the last visit?&lt;/li&gt;&#xA;&lt;li&gt;Do the &quot;is greater than&quot; and &quot;is lesser than&quot; operators work correctly in Sitecore 8.2 Initial?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="628" LastEditorUserId="237" LastEditDate="2017-02-21T15:41:32.437" LastActivityDate="2017-11-30T00:07:34.713" Title="Personalize a component using outcomes" Tags="|personalization|outcomes|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4528" PostTypeId="1" AcceptedAnswerId="4529" CreationDate="2017-02-21T15:44:28.907" Score="2" ViewCount="707" Body="&lt;p&gt;I'm having a strange issue on Sitecore 8.2. &#xA;I'm building an &lt;code&gt;IEnuberable&amp;lt;SiteInfo&amp;gt;&lt;/code&gt; like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sites = SiteManager.GetSites().Select(s =&amp;gt; new SiteInfo(s.Properties)).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What's interesting is that if I inspect the hostname attribute for the website definition on the s.Properties I do see at debug time that the hostname value has the value I have set on the configuration file. in other words it is getting the value from the configuration file but when it is instantiating the SiteInfo the hostname becomes empty. That only happens for the website definition. I have other sites which I tested and they do show the hostname property correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do see the right hostname defined on the show config page which matches to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/brands/clientname&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; language=&quot;en&quot; patch:source=&quot;Client.Brands.ClientName.Project.ClientName.config&quot; itemwebapi.mode=&quot;Off&quot; itemwebapi.access=&quot;ReadOnly&quot; itemwebapi.allowanonymousaccess=&quot;false&quot; enableItemLanguageFallback=&quot;false&quot; enableFieldLanguageFallback=&quot;false&quot; hostname=&quot;clientname.dev.local|local.clientname.com&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;any thoughts on what I might be missing?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-02-21T18:57:54.253" LastActivityDate="2017-02-21T18:57:54.253" Title="Hostname not being retrieved for the website definition" Tags="|multisite|site-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4529" PostTypeId="2" ParentId="4528" CreationDate="2017-02-21T15:50:34.873" Score="8" Body="&lt;p&gt;It's lowercase &lt;code&gt;hostname&lt;/code&gt; in your defintion. There must be capital &lt;code&gt;N&lt;/code&gt;: &lt;code&gt;hostName&lt;/code&gt;. Site attributes are case sensitive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/brands/clientname&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; language=&quot;en&quot; patch:source=&quot;Client.Brands.ClientName.Project.ClientName.config&quot; itemwebapi.mode=&quot;Off&quot; itemwebapi.access=&quot;ReadOnly&quot; itemwebapi.allowanonymousaccess=&quot;false&quot; enableItemLanguageFallback=&quot;false&quot; enableFieldLanguageFallback=&quot;false&quot; &#xA;    hostName=&quot;clientname.dev.local|local.clientname.com&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more about site attributes in SDN article &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties.aspx&quot; rel=&quot;noreferrer&quot;&gt;site Attribute Properties&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-02-21T15:50:34.873" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4530" PostTypeId="1" AcceptedAnswerId="4534" CreationDate="2017-02-21T15:53:25.760" Score="0" ViewCount="626" Body="&lt;p&gt;When I try to install the Sitecore SIM Tool on a Windows 10 VM, I get the following error when the ClickOnce application is download/installing:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Activation of C:\Users[username]\Downloads\SIM.Tool.application resulted in exception. Following failure messages were detected:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Exception occurred loading manifest from file Ionic.Zip.Reduced.dll: the manifest may not be valid or the file could not be opened. &lt;/li&gt;&#xA;&lt;li&gt;File Ionic.Zip.Reduced.dll is not a valid Portable Executable (PE) file.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any thoughts or ideas on how to get the install to finish successfully?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Deployment.Application.InvalidDeploymentException (ManifestLoad)&#xA;        - Exception occurred loading manifest from file Ionic.Zip.Reduced.dll: the manifest may not be valid or the file could not be opened. &#xA;        - Source: System.Deployment&#xA;        - Stack trace:&#xA;            at System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath)&#xA;            at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)&#xA;            at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)&#xA;            at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)&#xA;            at System.Deployment.Application.FileDownloader.OnModified()&#xA;            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)&#xA;            at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()&#xA;            at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState, X509Certificate2 clientCertificate)&#xA;            at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)&#xA;            at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory&amp;amp; downloadTemp)&#xA;            at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState&amp;amp; subState, ActivationDescription actDesc)&#xA;            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp;amp; errorPageUrl)&#xA;            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)&#xA;        --- Inner Exception ---&#xA;        System.IO.IOException&#xA;        - File Ionic.Zip.Reduced.dll is not a valid Portable Executable (PE) file.&#xA;        - Source: System.Deployment&#xA;        - Stack trace:&#xA;            at System.Deployment.Application.PEStream.ConstructFromFile(String filePath, Boolean partialConstruct)&#xA;            at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)&#xA;        --- Inner Exception ---&#xA;        System.ComponentModel.Win32Exception&#xA;        - File {0} is not a valid Portable Executable (PE) file.&#xA;        - Source: System.Deployment&#xA;        - Stack trace:&#xA;            at System.Deployment.Application.PEStream.DosHeader..ctor(FileStream file)&#xA;            at System.Deployment.Application.PEStream.ConstructPEImage(FileStream file, Boolean partialConstruct)&#xA;            at System.Deployment.Application.PEStream.ConstructFromFile(String filePath, Boolean partialConstruct)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="599" LastActivityDate="2017-02-21T18:57:40.737" Title="InvalidDeploymentException installing Sitecore SIM Tool" Tags="|installation|sim|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4531" PostTypeId="1" AcceptedAnswerId="4539" CreationDate="2017-02-21T16:49:40.483" Score="3" ViewCount="1071" Body="&lt;p&gt;I am trying to add some code (after an item is created - but that is not relevant) that manipulates the layout fields. To be precise, I want to change the datasource of some renderings (based on a few criteria). My problem is that I would like to do this for both shared and final layout. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code for the shared layout is working. It is based on &lt;code&gt;var layout = LayoutDefinition.Parse(item[Sitecore.FieldIDs.LayoutField]);&lt;/code&gt; which gives me the LayoutDefinition. I can loop over all devices, all renderings and change the datasources. When something changed, I edit the item and overwrite the layout field with the new value that I get with &lt;code&gt;layout.ToXml()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I thought/hoped I could do the same with the &lt;code&gt;Sitecore.FieldIDs.FinalLayoutField&lt;/code&gt;. But that seems not the case. When parsed, the LayoutDefinition from the final layout field is quite different from the actual value. Does anyone have an idea why? And how I can get around this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: I did consider using the actual xml value and parsing it, but that does seem like such an ugly solution..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: the actual values I'm working with:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Raw value of final rendering:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r xmlns:p=&quot;p&quot; xmlns:s=&quot;s&quot; p:p=&quot;1&quot;&amp;gt;&amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;&amp;gt;&#xA;  &amp;lt;r uid=&quot;{9B197064-13D1-4BB6-AD47-2F770696404E}&quot; p:after=&quot;r[@uid='{A6059F4C-2B62-4640-8723-BA7C87AA13D1}']&quot; s:ds=&quot;{A419D90D-2315-4096-BECE-67AB3CDF6566}&quot; s:id=&quot;{00160D4B-055D-4C4F-B8F1-D4E55B072294}&quot; s:ph=&quot;/main/content2{b1ff55e7-8288-45c0-9994-f7eec00d56fc}&quot; /&amp;gt;&#xA;  &amp;lt;r uid=&quot;{6DD5BA3B-73E1-4F7A-A0EF-F2FB45F3A79F}&quot; s:ds=&quot;{A419D90D-2315-4096-BECE-67AB3CDF6566}&quot; s:par=&quot;&quot; /&amp;gt;&#xA;&amp;lt;/d&amp;gt;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Value of &lt;code&gt;item[Sitecore.FieldIDs.FinalLayoutField]&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r xmlns:p=\&quot;p\&quot; xmlns:s=\&quot;s\&quot; p:p=\&quot;1\&quot;&amp;gt;&amp;lt;d id=\&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}\&quot;&amp;gt;&#xA;  &amp;lt;r uid=\&quot;{9B197064-13D1-4BB6-AD47-2F770696404E}\&quot; p:after=\&quot;r[@uid='{A6059F4C-2B62-4640-8723-BA7C87AA13D1}']\&quot; s:ds=\&quot;{A419D90D-2315-4096-BECE-67AB3CDF6566}\&quot; s:id=\&quot;{00160D4B-055D-4C4F-B8F1-D4E55B072294}\&quot; s:ph=\&quot;/main/content2{b1ff55e7-8288-45c0-9994-f7eec00d56fc}\&quot; /&amp;gt;&#xA;  &amp;lt;r uid=\&quot;{6DD5BA3B-73E1-4F7A-A0EF-F2FB45F3A79F}\&quot; s:ds=\&quot;{A419D90D-2315-4096-BECE-67AB3CDF6566}\&quot; s:par=\&quot;\&quot; /&amp;gt;&#xA;&amp;lt;/d&amp;gt;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which seems to match my raw value...&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Value of &lt;code&gt;LayoutDefinition.Parse(item[Sitecore.FieldIDs.FinalLayoutField])&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r xmlns:xsd=\&quot;http://www.w3.org/2001/XMLSchema\&quot;  p:p=\&quot;1\&quot; xmlns:p=\&quot;p\&quot;&amp;gt;&amp;lt;d id=\&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}\&quot; /&amp;gt;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where are my renderings??&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-02-22T09:02:22.590" LastActivityDate="2017-03-24T10:08:56.030" Title="Change datasource in final layout through API" Tags="|presentation|events|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4532" PostTypeId="2" ParentId="2239" CreationDate="2017-02-21T18:02:54.133" Score="4" Body="&lt;p&gt;The new version of the Analytics Database Manager allows to clear historical data in the collection (mongo) database. It allows to specify various conditions to keep only important data.&#xA;I hope it is helpful for you: &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1578" LastActivityDate="2017-02-21T18:02:54.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4533" PostTypeId="1" CreationDate="2017-02-21T18:17:15.033" Score="4" ViewCount="860" Body="&lt;p&gt;I'm very new to Sitecore and am trying to learn what I can by clicking around the Launchpad so go easy on me! ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This question is about the workbox. Once I have approved (or rejected) an item displayed in my workbox, it disappears from my workbox. Is there a way to see the history of what I've done to items in my workbox, rather than just what still needs my approval? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see that I can select an item from the Content Tree, go to the &quot;Review&quot; tab, and select &quot;History&quot; to see the workflow history of that particular item, but what if I want to see every workflow I took part in that day?&lt;/p&gt;&#xA;" OwnerUserId="1579" LastEditorUserId="73" LastEditDate="2019-05-27T09:33:17.063" LastActivityDate="2019-05-27T09:33:17.063" Title="Viewing Workflow History in Workbox" Tags="|workbox|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4534" PostTypeId="2" ParentId="4530" CreationDate="2017-02-21T18:57:40.737" Score="0" Body="&lt;p&gt;After the failure with the normal SIM download, I downloaded the QA version to see if it was any different. That install also failed, but it gave me more information in the error message--the URL to the DLL that was having issues. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After putting that DLL URL directly in my browser, the issue became apparent. The root of the problem appears to be that our university firewall was blocking that DLL because it was detecting it as a virus. Here is the error returned by the firewall:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This request is blocked by the Firewall Gateway Anti-Virus Service.&#xA;  Name: (Cloud Id: 49566033) Agent.FL (Trojan) blocked.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;After working with our IT team, they were able to submit a request to allow this file. Once that was done, I was able to complete the download and install of the Sitecore SIM tool. &lt;/p&gt;&#xA;" OwnerUserId="599" LastActivityDate="2017-02-21T18:57:40.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4535" PostTypeId="2" ParentId="4507" CreationDate="2017-02-21T18:57:56.130" Score="2" Body="&lt;p&gt;If the /sitecore/admin/showconfig.aspx also does not work you can search for &quot;sitecore_web_index&quot; in the App_Config folder of your website and then you will find the wrong config.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-02-21T18:57:56.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4536" PostTypeId="2" ParentId="4533" CreationDate="2017-02-21T20:09:18.053" Score="1" Body="&lt;p&gt;Welcome to the wonderful world of Sitecore. You can learn something new everyday with it. You should be able to see the workflow as long as you have execute rights to the workflow steps. In the workflows group box in the workbox you select the workflow you want to view. You should see the item and a more link that will give you the history. Refer to this documentation for more info. Let me know if this helps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/workflowreference-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/workflowreference-usletter.pdf&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-02-21T20:09:18.053" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4537" PostTypeId="2" ParentId="4531" CreationDate="2017-02-21T23:29:06.833" Score="0" Body="&lt;p&gt;Final Renderings field is a delta from the Shared renderings. This article&#xA;&lt;a href=&quot;https://www.cognifide.com/our-blogs/sitecore/complex-layouts-in-sitecore-using-standard-values-hierarchy/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.cognifide.com/our-blogs/sitecore/complex-layouts-in-sitecore-using-standard-values-hierarchy/&lt;/a&gt;&#xA;includes code that works with the deltas.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This isn't a 100% match for your particular problem, but it shows the mechanics that I think match your solution.&lt;/p&gt;&#xA;" OwnerUserId="238" LastActivityDate="2017-02-21T23:29:06.833" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4538" PostTypeId="1" CreationDate="2017-02-22T06:08:52.313" Score="1" ViewCount="122" Body="&lt;p&gt;I am using a &lt;code&gt;Search box&lt;/code&gt; with suggestions and 4 &lt;code&gt;OmniboxResults&lt;/code&gt; view (each with filter expression to group different results) on all pages. It internally uses &lt;code&gt;Coveo Search View Resources&lt;/code&gt; and &lt;code&gt;Search Box View&lt;/code&gt;. Works fine on all pages, I can query and it does show suggestions + 4 different results per &lt;code&gt;OmniboxResults&lt;/code&gt; view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But on Search Results page which also has &lt;code&gt;Coveo Search View Resources&lt;/code&gt; and &lt;code&gt;Search View&lt;/code&gt;, it only displays query results with 1st &lt;code&gt;OmniboxResults&lt;/code&gt; view (no matter which one is set).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected or am I doing something wrong?&lt;/p&gt;&#xA;" OwnerUserId="1128" LastEditorUserId="2727" LastEditDate="2018-02-04T11:00:33.223" LastActivityDate="2018-02-04T11:00:33.223" Title="Coveo for Sitecore issue with SearchBox and SearchView with OmniboxResultView" Tags="|coveo|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4539" PostTypeId="2" ParentId="4531" CreationDate="2017-02-22T07:12:29.357" Score="1" Body="&lt;p&gt;Think your problem occurs because of how the layout API works&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/the_versioned_layout_api_changes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/the_versioned_layout_api_changes&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;From the article:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Prior to Sitecore 8, the public static string GetFieldValue([NotNull] Field field) method only returned layout data from the shared __Renderings field. In Sitecore 8 and later, this method can return layout data either from the shared __Renderings field or from the versioned __Final Renderings field.&lt;/p&gt;&#xA;&lt;p&gt;The method does not return the raw value of the field. It uses the layout patching workflow to calculate the resulting layout, and it returns this layout.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This goes both for the &amp;quot;getter&amp;quot; and &amp;quot;setter&amp;quot; and also impacts on the constructor.&lt;/p&gt;&#xA;&lt;p&gt;Not sure if this completly covers your issue, but it is definitely where you should start.&lt;/p&gt;&#xA;" OwnerUserId="327" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-02-22T07:12:29.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4540" PostTypeId="2" ParentId="4417" CreationDate="2017-02-22T08:14:51.133" Score="1" Body="&lt;p&gt;I have taken this to Sitecore support team &amp;amp; got the response. :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; When there are no changes to Sitecore Speak component views why do we need pre-compilation between two application starts which happens sequentially.Any technique to control pre-compilation when there are no changes ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Support Team Answer:&lt;/strong&gt; There is no out of the box way to keep track of the changes and making decisions on that basis. This can make the performance even more worse if we check every file to decide if we need a compilation again or not. So If you want to increase performance you can use the ways provided in following articles.&#xA;&lt;a href=&quot;https://doc.sitecore.net/speak/development/improving_performance_by_disabling_precompilation_of_mvc_views&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak/development/improving_performance_by_disabling_precompilation_of_mvc_views&lt;/a&gt;&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/maximize-sitecore-developer-productivity&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/maximize-sitecore-developer-productivity&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; Does this Pre-compilation at application initialize meant only for SPEAK views provided by sitecore or even to custom SPEAK Views created by dev team. Just by providing path something here /Areas/MyAreas/Views/CustomSpeak.cshtml&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Support Team Answer:&lt;/strong&gt; You can use root path for your custom views for example in your case, /Areas/MyAreas/Views/ would be enough.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Take way points:&lt;/em&gt;&lt;/strong&gt;&#xA;We can optimize areas MVC views just by providing root path in the below processor of initialize pipeline (tested it locally, working fine) :)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.Initialize.PrecompileSpeakViews, Sitecore.Speak.Client&quot; patch:source=&quot;Sitecore.Speak.config&quot;&amp;gt;&amp;lt;Paths&amp;gt;/sitecore/shell/client/Business Component Library&amp;lt;/Paths&amp;gt;&amp;lt;Paths&amp;gt;/Areas/MyAreas/Views/&amp;lt;/Paths&amp;gt;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-02-22T08:14:51.133" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4541" PostTypeId="1" CreationDate="2017-02-22T09:58:17.033" Score="2" ViewCount="307" Body="&lt;p&gt;I have hosted Sitecore on Azure platform using Sitecore Web Experience Manager 8.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to sync Content delivery server and content management server, so I can push my files and changes to content delivery server?&lt;/p&gt;&#xA;" OwnerUserId="1583" LastEditorUserId="312" LastEditDate="2017-03-08T13:16:52.287" LastActivityDate="2017-04-07T14:10:26.340" Title="Deployment to Sitecore hosted on Azure" Tags="|azure|deployment|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4542" PostTypeId="1" CreationDate="2017-02-22T13:26:34.847" Score="1" ViewCount="607" Body="&lt;p&gt;I would like to trigger some code when a rendering is removed - actually gone, so not before the change is saved (you never know if an editor changes it's mind after removal and doesn't save). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would need some information about the rendering, especially the datasource. Is there an efficient way to do this?  I was considering comparing layout fields on each save, but that might be a performance drain, no?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-22T16:16:13.457" Title="How to trigger custom code when rendering is removed?" Tags="|presentation|pipelines|events|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4543" PostTypeId="1" AcceptedAnswerId="4545" CreationDate="2017-02-22T14:07:05.483" Score="3" ViewCount="999" Body="&lt;p&gt;i encounter this error after changing my search provider from lucene to solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some details:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update 1 &lt;/li&gt;&#xA;&lt;li&gt;Solr 5.2.1 &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Followed sitecore KB article          &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;IOC container choosen : Castle Windsor&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Followed this article to resolve this issue but still i couldnt get&#xA;out of this issue &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;Object reference not set to an instance of an object.&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   SolrNet.Schema.SolrSchemaParser.Parse(XDocument solrSchemaXml) +550&#xA;   Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Initialize() +994&#xA;   Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.Initialize() +169&#xA;   (Object , Object[] ) +111&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +227&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +673&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +618&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="891" LastEditorUserId="891" LastEditDate="2017-02-23T05:34:26.907" LastActivityDate="2017-02-23T05:34:26.907" Title="Object reference at application initialize after changing to solr search provider" Tags="|solr|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4545" PostTypeId="2" ParentId="4543" CreationDate="2017-02-22T14:20:55.620" Score="2" Body="&lt;p&gt;This is because of your version of Solr. Changes in the default &lt;code&gt;schema.xml&lt;/code&gt; file that ship with 4.8+ can cause this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To Resolve this use the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Make the following changes in the default schema.xml file distributed with Solr:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;enclose all  and  elements in the  tag.&lt;/li&gt;&#xA;&lt;li&gt;enclose all  elements in the  tag.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Pass the modified schema.xml file to the Build Solr Schema Wizard to add the Sitecore-specific configuration.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Put the resulting file to the configuration folder of the Solr core.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Find the following dynamic field definition in the schema.xml file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;dynamicField name=&quot;*_pi&quot; type=&quot;pint&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;change the mapping type from &quot;pint&quot; to &quot;tint&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;dynamicField name=&quot;*_pi&quot; type=&quot;tint&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Reload the core to apply schema changes.&lt;/li&gt;&#xA;&lt;li&gt;Restart the application pool of the website to initialize Sitecore indexes using the updated schema.xml file.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This is documented by Sitecore on the &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr Compatibility Table&lt;/a&gt; kb article. Please read through that to make sure there are no other compatibility issues with your version of Solr.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-02-22T14:20:55.620" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4546" PostTypeId="2" ParentId="4520" CreationDate="2017-02-22T14:21:31.240" Score="1" Body="&lt;p&gt;I got some help from one of my colleague about this issue  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So basically the suggestion made by the hosting provider about Request Header size is incorrect.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a defined limit for Request Headers in CloudFront  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The limit is at 20,480 bytes (Maximum length of a request, including&#xA;  headers and query strings) &gt; &lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/40244883/cloudfront-responds-with-a-status-of-413-request-entity-too-large&quot;&gt;https://stackoverflow.com/questions/40244883/cloudfront-responds-with-a-status-of-413-request-entity-too-large&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But, Request Payload is not a part of the Request Header. Our request header size is in normal range.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-02-22T14:21:31.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4547" PostTypeId="2" ParentId="4541" CreationDate="2017-02-22T14:42:08.003" Score="1" Body="&lt;p&gt;Based on the question, I will take a stab at the answer as a 'Sitecore fundamentals' approach, rather than digging into the weeds too deep.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore's Content Management and Content Delivery server are both instances of Sitecore which connect to a set of databases that store content and configurations. When you publish in Sitecore, what you are really doing is copying data from the one database ('master') to another database ('web'). The Content Delivery server is typically configured by default to serve up a default website pointed at the 'web' database. By doing this 'publish' you make the edits you make to content show up on the Content Delivery server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The actual website code you are building, however, is not part of any of this flow. Your CSS, Javascript, .NET DLLs, configuration overrides, etc. are all part of your .NET solution that you are maintaining in your source control and editing in Visual Studio. Publishing in Sitecore does not move these files from the CM server to the CD server. You need a deployment mechanism for your files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Often, you also have content changes you will make (custom templates, rendering definitions, etc.) that will need to be deployed to your database as well. You will store these in your development solution in some way so you can track what changes you made to Sitecore databases. These also need to be deployed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are several tools available that you can use, but Sitecore is currently promoting the use of MSDeploy packages for deploying to Azure. DACPAC can be used for database changes and your files go in as usual for an MSDeploy package.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-02-22T14:42:08.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4548" PostTypeId="1" CreationDate="2017-02-22T15:15:50.420" Score="3" ViewCount="2014" Body="&lt;p&gt;I am using Sitecore 8.2 rev 1 with .Net framework 4.6.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to use a null-conditional operator in one of my views. After I publish my site, it gives a compilation error on the line of code using this operator. I read online that Sitecore 8.2 works with .Net 4.6.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What do I need to do to get this operator to work?&lt;/p&gt;&#xA;" OwnerUserId="1133" LastActivityDate="2017-02-26T19:40:29.400" Title="Null-conditional operator (?.) throwing compilation error" Tags="|configuration|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4550" PostTypeId="2" ParentId="4548" CreationDate="2017-02-22T15:27:00.583" Score="1" Body="&lt;p&gt;I think the default web.config from Sitecore still has &lt;code&gt;&amp;lt;compilation defaultLanguage=&quot;c#&quot; debug=&quot;false&quot; targetFramework=&quot;4.5.2&quot;&amp;gt;&lt;/code&gt;. So you might need to change the &lt;code&gt;targetFramework&lt;/code&gt; there.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-22T15:27:00.583" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4552" PostTypeId="2" ParentId="4548" CreationDate="2017-02-22T15:29:57.780" Score="3" Body="&lt;p&gt;The best way to to this is to include any logic in the Model for the View, avoid putting code directly in the View when possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However:&#xA;In MVC5 and below you'll need to enable the use of new .net features within the Views.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add this Nuget package to your solution if you are using MVC5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.nuget.org/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nuget.org/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The nuget package should modify your web.config, but check that the following configuration is in your web.config file (and if it isn't add it in):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.codedom&amp;gt;&#xA;&amp;lt;compilers&amp;gt;&#xA;  &amp;lt;compiler language=&quot;c#;cs;csharp&quot; extension=&quot;.cs&quot;&#xA;    type=&quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot;&#xA;    warningLevel=&quot;4&quot; compilerOptions=&quot;/langversion:6 /nowarn:1659;1699;1701&quot;/&amp;gt;&#xA;  &amp;lt;compiler language=&quot;vb;vbs;visualbasic;vbscript&quot; extension=&quot;.vb&quot;&#xA;    type=&quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot;&#xA;    warningLevel=&quot;4&quot; compilerOptions=&quot;/langversion:14 /nowarn:41008 /define:_MYTYPE=\&amp;amp;quot;Web\&amp;amp;quot; /optionInfer+&quot;/&amp;gt;&#xA;&amp;lt;/compilers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/30832659/string-interpolation-in-a-razor-view&quot;&gt;https://stackoverflow.com/questions/30832659/string-interpolation-in-a-razor-view&lt;/a&gt;&#xA;&lt;a href=&quot;https://blogs.msdn.microsoft.com/webdev/2015/12/07/new-feature-to-enable-c-6-vb-14/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/webdev/2015/12/07/new-feature-to-enable-c-6-vb-14/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-02-22T16:58:22.630" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4553" PostTypeId="1" AcceptedAnswerId="4554" CreationDate="2017-02-22T15:34:52.410" Score="4" ViewCount="2431" Body="&lt;p&gt;I'm building a custom page with extended functionality for Content Management. How can I allow users to access it directly inside the Content Editor? Ideally I'd like to add my own button inside the menu bar which would open a given route inside Sitecore.&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-02-22T15:53:04.360" Title="How can I add a custom button inside the Content Editor application?" Tags="|content-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4554" PostTypeId="2" ParentId="4553" CreationDate="2017-02-22T15:53:04.360" Score="5" Body="&lt;p&gt;In the Core database - go to /sitecore/content/Applications/WebEdit/Custom Experience Buttons&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new item in here. The Click field maps to a command that can be patched into the sitecore configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;    &#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;webedit:InsertImage&quot; type=&quot;Project.Namespace.InsertGalleryImage,Project.Data&quot;/&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Type defined here should be a class that inherits from &lt;code&gt;Sitecore.Shell.Applications.WebEdit.Commands.WebEditCommand&lt;/code&gt; and overrides the Execute method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Execute(CommandContext context)&#xA;{&#xA;    Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;    var parameters = new NameValueCollection&#xA;    {&#xA;        [&quot;datasourceId&quot;] = context.Parameters[&quot;id&quot;],&#xA;        [&quot;master&quot;] = context.Parameters[&quot;master&quot;]&#xA;    };&#xA;&#xA;    // Get Language&#xA;    var itemUri = ItemUri.ParseQueryString();&#xA;    var language = context.Parameters[&quot;language&quot;];&#xA;    var pageId = string.Empty;&#xA;&#xA;    if (itemUri != null)&#xA;    {&#xA;        if (string.IsNullOrEmpty(language))&#xA;        {&#xA;            language = itemUri.Language.ToString();&#xA;        }&#xA;&#xA;        pageId = itemUri.Path;&#xA;    }&#xA;&#xA;    parameters[&quot;language&quot;] = language;&#xA;    parameters[&quot;pageId&quot;] = pageId;&#xA;&#xA;    // Store the custom parameters &#xA;    parameters[&quot;templateId&quot;] = context.Parameters[&quot;templateId&quot;] ?? string.Empty;&#xA;&#xA;    // invoke the run method&#xA;    Context.ClientPage.Start(this, &quot;Run&quot;, parameters);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &quot;Run&quot; is a static method that takes the ClientPipelineArgs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected static void Run(ClientPipelineArgs args)&#xA;{&#xA;    Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;    var language = Language.Parse(args.Parameters[&quot;language&quot;]);&#xA;    var datasource = Context.ContentDatabase.Items[args.Parameters[&quot;datasourceId&quot;], language];&#xA;&#xA;    Assert.IsNotNull(datasource, typeof(Item));&#xA;&#xA;    // Retrival of custom parameters&#xA;    var templateId = GetSitecoreId(args.Parameters, &quot;templateId&quot;);&#xA;&#xA;    Assert.IsNotNull(templateId, typeof(ID));&#xA;&#xA;    // custom code, business rules, etc.&#xA;&#xA;    // refresh&#xA;    SheerResponse.Eval(&quot;scForm.browser.getParentWindow(scForm.browser.getFrameElement(window).ownerDocument).location.reload(true)&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Parameters are sent to the command as a set of key value pairs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then go into the Master database and associate your custom button with a rendering using the Experience Editor Buttons field, located in the Editor Options section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See these articles for more details:&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/maximizing_usability/posts/enhancing-the-page-editor-experience-with-custom-experience-buttons&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/maximizing_usability/posts/enhancing-the-page-editor-experience-with-custom-experience-buttons&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2016/03/Sitecore-8-and-8-1-How-to-add-a-Field-Editor-Button-to-a-component-in-Experience-Editor-Mode.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2016/03/Sitecore-8-and-8-1-How-to-add-a-Field-Editor-Button-to-a-component-in-Experience-Editor-Mode.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-02-22T15:53:04.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4555" PostTypeId="2" ParentId="4542" CreationDate="2017-02-22T16:06:24.070" Score="1" Body="&lt;p&gt;A thorough dive into what happens when a rendering is removed has revealed that there's is not much triggered at all in Sitecore (Not like when a rendering is added which fires a pipeline). In fact, Experience Editor just removes the rendering and then relies on someone hitting the Save Button to actually save the changes, which at that point is merely just saving the field data.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;item:saving Approach&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I agree with Marek's comment in your question that hooking into the item:saving event should give you a look at what you're trying to discover. I do not think that you're going to find a solution that prevents you from having to compare the XML structs of the before and after item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, I found some code in the &lt;code&gt;saveUI&lt;/code&gt; pipeline that looks to me, like it's attempting to do something similar to what you are trying to do.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;saveUI Pipeline Approach&lt;/h3&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;BTW this is a total stab in the dark, but I'm going to try and provide&#xA;  a thought.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When Sitecore save's an item, it executes the &lt;code&gt;&amp;lt;saveUI&amp;gt;&lt;/code&gt; pipeline. As part of the arguments, it takes version and language into account.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this pipeline, one of the processors is &lt;strong&gt;ConvertLayoutField&lt;/strong&gt; which takes a look at the layout field before and after, and does some stuff. Here is the &lt;code&gt;Process()&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(SaveArgs args)&#xA;{&#xA;  Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;  Assert.IsNotNull((object) args.Items, &quot;args.Items&quot;);&#xA;  foreach (SaveArgs.SaveItem saveItem in args.Items)&#xA;  {&#xA;    Item obj = Client.ContentDatabase.Items[saveItem.ID, saveItem.Language, saveItem.Version];&#xA;    if (obj != null)&#xA;    {&#xA;      foreach (SaveArgs.SaveField field1 in saveItem.Fields)&#xA;      {&#xA;        Field field2 = obj.Fields[field1.ID];&#xA;        if (!field2.IsBlobField &amp;amp;&amp;amp; !(field2.Type != &quot;layout&quot;))&#xA;        {&#xA;          string xml1 = field2.Value;&#xA;          string xml2 = field1.Value;&#xA;          if (!(xml1 == xml2) &amp;amp;&amp;amp; (!string.IsNullOrEmpty(xml1) || string.IsNullOrEmpty(xml2)) &amp;amp;&amp;amp; (string.IsNullOrEmpty(xml1) || !string.IsNullOrEmpty(xml2)))&#xA;          {&#xA;            XmlDocument xmlDocument1 = XmlUtil.LoadXml(xml1);&#xA;            XmlDocument xmlDocument2 = XmlUtil.LoadXml(xml2);&#xA;            if (xmlDocument2 != null &amp;amp;&amp;amp; xmlDocument1 != null &amp;amp;&amp;amp; ConvertLayoutField.CompareNodes((XmlNode) xmlDocument2, (XmlNode) xmlDocument1))&#xA;              field1.Value = xml1;&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this processor, &lt;code&gt;SaveArgs&lt;/code&gt; contain the &lt;strong&gt;Item&lt;/strong&gt; being updated, and the fields that were updated.  In the processor above, is an example on identifying the layout field(s).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;xml1&lt;/code&gt; is the field value before the save (coming from Item in the Content Database &lt;em&gt;field2&lt;/em&gt;).&#xA;&lt;code&gt;xml2&lt;/code&gt; is the field value after the save (coming from the SaveArgs Field &lt;em&gt;field1&lt;/em&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, a thought would be to create your own processor for this pipeline and use &lt;a href=&quot;https://msdn.microsoft.com/en-gb/library/aa302294.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;XmlDiff&lt;/code&gt;&lt;/a&gt; to compare and get the differences on the layout field, and then do whatever work you need to do.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-02-22T16:16:13.457" LastActivityDate="2017-02-22T16:16:13.457" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4556" PostTypeId="1" AcceptedAnswerId="4558" CreationDate="2017-02-22T16:45:53.053" Score="3" ViewCount="883" Body="&lt;p&gt;The best I could find in documentation was this:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/rebuild_search_indexes&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rebuild search indexes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;... but that doesn't really help me.  I'm trying to do this programatically an would like best practices for doing this sort of thing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1392" LastActivityDate="2017-02-23T03:28:55.427" Title="What is the difference between Indexing via an ISearchIndex object and using IndexCustodian?" Tags="|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4557" PostTypeId="2" ParentId="4548" CreationDate="2017-02-22T16:58:25.353" Score="2" Body="&lt;p&gt;Go to your project properties in Visual Studio. Click on Build -&gt; Advanced. Set C# 6.0 as default language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, this stack overflow question suggests multiple solutions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/27968963/c-sharp-6-0-features-not-working-with-visual-studio-2015&quot;&gt;https://stackoverflow.com/questions/27968963/c-sharp-6-0-features-not-working-with-visual-studio-2015&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="403" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-02-22T16:58:25.353" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4558" PostTypeId="2" ParentId="4556" CreationDate="2017-02-22T17:11:59.370" Score="3" Body="&lt;p&gt;The &lt;code&gt;ISearchIndex&lt;/code&gt; is the interface that represents everything about the index. The concrete object that will get created will be determined by the index configuration file for the specific index (usually Lucene or Solr).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we look at &lt;code&gt;sitecore_web_index&lt;/code&gt; on a default Sitecore install, you can see that it is using the &lt;code&gt;Sitecore.ContentSearch.LuceneProvider.LuceneIndex&lt;/code&gt; from line 6 of the configuration file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_web_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                  &amp;lt;Limit&amp;gt;300&amp;lt;/Limit&amp;gt;&#xA;                &amp;lt;/policy&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;IndexCustodian&lt;/code&gt; class is more of a helper class that can be used to perform maintenance on one or more indexes. If all you want to do is rebuild a specific index (or all of them) through some custom code you can use this class to do it.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-02-22T17:11:59.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4559" PostTypeId="2" ParentId="3961" CreationDate="2017-02-22T20:18:49.360" Score="1" Body="&lt;p&gt;An easy way for you to do that is have a base class like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IBaseItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;{&#xA;    [SitecoreId]&#xA;    Guid Id { get; set; }&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreChildren]&#xA;IEnumerable&amp;lt;Item&amp;gt; Children { get; set; }&#xA;&#xA;[SitecoreInfo(SitecoreInfoType.Url, UrlOptions = SitecoreInfoUrlOptions.LanguageEmbeddingNever)]&#xA;string Url { get; set; }&#xA;&#xA;[SitecoreInfo(SitecoreInfoType.Language, UrlOptions = SitecoreInfoUrlOptions.LanguageEmbeddingNever)]&#xA;Language Language { get; set; }&#xA;&#xA;[SitecoreInfo(SitecoreInfoType.Version, UrlOptions = SitecoreInfoUrlOptions.LanguageEmbeddingNever)]&#xA;int Version { get; set; }&#xA;&#xA;[SitecoreInfo(SitecoreInfoType.TemplateId)]&#xA;Guid TemplateId { get; set; }&#xA;&#xA;[SitecoreInfo(SitecoreInfoType.BaseTemplateIds)]&#xA;IEnumerable&amp;lt;Guid&amp;gt; BaseTemplateIds { get; set; }&#xA;&#xA;[SitecoreInfo(SitecoreInfoType.TemplateName)]&#xA;string TemplateName { get; set; }&#xA;&#xA;[SitecoreInfo(SitecoreInfoType.Name)]&#xA;string Name { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;then you can make your class inherit from it and reuse on other classes you want to map. &#xA;another thing I'm missing on your class is the attribute on your class like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{A504745B-43E8-4594-B9B3-FACBB10FB29B}&quot;)]&#xA;public class BlogItems : IBaseItem&#xA;{ ..... }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also as a suggestions: on your view you can use the Glass helper methods.&#xA;Instead of this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;Title&quot;, item)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;you can have it strongly typed with your model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; @Html.Glass().Editable(Model, x =&amp;gt; x.Title)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;hope this helps&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-02-22T20:18:49.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4560" PostTypeId="1" AcceptedAnswerId="5495" CreationDate="2017-02-22T22:40:04.200" Score="5" ViewCount="443" Body="&lt;p&gt;I am using Sitecore 8.2.1. I have followed the steps mentioned in the Social Content posting from &lt;a href=&quot;https://doc.sitecore.net/social_connected/setting_up_social_connected/configuring/walkthrough_configuring_social_connected_for_posting_messages&quot; rel=&quot;noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to post the content messages on my FB page. However, likes and comments to that messages are not flowing back to Sitecore when I click &quot;Refresh Statistics&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2uZEk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2uZEk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not using social login. Are there any permissions required in FB app to have these statistics working? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: - My FB app is live and in non-dev status.&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-08-01T02:39:55.090" Title="Sitecore 8.2.1 Social Connected Module - Content Message posting statistics are not working for Facebook" Tags="|social-connected|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4561" PostTypeId="2" ParentId="4556" CreationDate="2017-02-23T03:28:55.427" Score="0" Body="&lt;p&gt;Triggering indexing through 'IndexCustodian' could be very effective as&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    1.Indexing would be performed as a job.&#xA;&#xA;    2.You can get the log entries while triggering indexing since its running as a job.    &#xA;&#xA;    3.Indexing through Index custodian is similiar to indexing through Sitecore UI Interface.&#xA;&#xA;    4.It will support switch-on-rebuild indexes i.e. swap between primary &amp;amp;  secondary collection/core on every subsequent Indexing.&#xA;&#xA;    5.It performs 'ForcedIncremental Index Update' even if indexing is&#xA;paused or stopped.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;IndexCustodian Class ( rebuild as job) Decompiled:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static Job FullRebuild(ISearchIndex index, bool start = true)&#xA;    {&#xA;        return IndexCustodian.CreateRebuildJob(index, new EventHandler&amp;lt;JobStartedEventArgs&amp;gt;(IndexCustodian.RebuildStartedHandler), new EventHandler&amp;lt;JobFinishedEventArgs&amp;gt;(IndexCustodian.RebuildFinishedHandler), start, null);&#xA;    }&#xA;&#xA;    public static Job FullRebuild(ISearchIndex index, IndexingOptions options, bool start = true)&#xA;    {&#xA;        return IndexCustodian.CreateRebuildJob(index, new EventHandler&amp;lt;JobStartedEventArgs&amp;gt;(IndexCustodian.RebuildStartedHandler), new EventHandler&amp;lt;JobFinishedEventArgs&amp;gt;(IndexCustodian.RebuildFinishedHandler), start, new object[]&#xA;        {&#xA;            options&#xA;        });&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-02-23T03:28:55.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4563" PostTypeId="1" CreationDate="2017-02-23T05:37:46.423" Score="4" ViewCount="1426" Body="&lt;p&gt;How to approve child items automatically if parent item is approved by reviewer in Sitecore Workflow?&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2017-02-24T14:55:41.463" Title="Approve child items if parent item approved in Sitecore workflow" Tags="|workflow|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4564" PostTypeId="2" ParentId="4563" CreationDate="2017-02-23T05:54:56.313" Score="6" Body="&lt;p&gt;There's no out of the box functionality to approve child items Sitecore, but it is a common enough of a problem. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically you would need to write a custom approval action that checks all related items when the main item is approved, and sets the workflow of the related items (or subitems) to approved state. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's one example of how this could be done: &lt;a href=&quot;http://sitecorepromenade.blogspot.com/2015/10/workflow-with-auto-publish-related-items.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecorepromenade.blogspot.com/2015/10/workflow-with-auto-publish-related-items.html&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-02-23T05:54:56.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4565" PostTypeId="1" CreationDate="2017-02-23T07:38:45.043" Score="2" ViewCount="186" Body="&lt;p&gt;what happens when i delete Web-forms and it goals on CM? &lt;br/&gt;&#xA;is there any impact in analytic or else?&lt;br/&gt;&#xA;I don't need the goals and that Web-forms anymore, because its not used anymore and it become junk on my CM so i want to delete it.&lt;/p&gt;&#xA;" OwnerUserId="1591" LastActivityDate="2017-03-25T18:57:14.750" Title="What happens if i delete goals on CM?" Tags="|wffm|goals|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4566" PostTypeId="1" AcceptedAnswerId="4567" CreationDate="2017-02-23T08:37:14.467" Score="2" ViewCount="216" Body="&lt;p&gt;All of the common CSHTML views in Habitat are in a folder called &lt;code&gt;Sublayouts&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/master/src/Project/Common/code/Views/Common/Sublayouts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/tree/master/src/Project/Common/code/Views/Common/Sublayouts&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I'd usually call these &lt;code&gt;Renderings&lt;/code&gt; vs &lt;code&gt;Sublayouts&lt;/code&gt;, because they're Razor views. Specicifally, I'd call them &lt;code&gt;View Renderings&lt;/code&gt;. This is backed up in the Content Editor, where these items exist as Renderings:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZaooA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZaooA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some terminology difference in Habitat that I'm not aware of? Or is it just confusing naming within the Habitat codebase?&lt;/p&gt;&#xA;" OwnerUserId="1106" LastActivityDate="2017-02-23T08:41:14.473" Title="Habitat - Renderings vs Sublayouts" Tags="|presentation|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4567" PostTypeId="2" ParentId="4566" CreationDate="2017-02-23T08:41:14.473" Score="3" Body="&lt;p&gt;In Helix documentation View Renderings are considered Sub-Layouts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;As layouts and sub-layouts (in MVC defined as View Renderings) typically control the overall page design and therefore contain very site or project specific mark-up, they belong in Project layer modules.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://helix.sitecore.net/principles/layout/layouts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/layout/layouts.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-23T08:41:14.473" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4568" PostTypeId="1" AcceptedAnswerId="4573" CreationDate="2017-02-23T09:02:04.997" Score="5" ViewCount="1816" Body="&lt;p&gt;I have a number of users which should have access to create/edit/delete content on my site, including inserting new components to pages. To ensure that they can insert and change components I have given them the roles:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore\Designer&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Author&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;With the above roles, the users also get access to the &quot;Edit Experience Editor Options&quot; which is not something I wan't ordinary editors to have access to. Is it possible to limit the access to this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jbjeH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jbjeH.png&quot; alt=&quot;Edit experience editor options&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="758" LastActivityDate="2017-02-23T13:59:40.007" Title="Disable the &quot;Edit Experience Editor Options&quot; button for my editor users" Tags="|content-editor|experience-editor|editor-user-permissions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4569" PostTypeId="1" CreationDate="2017-02-23T09:51:05.930" Score="4" ViewCount="381" Body="&lt;p&gt;I'm trying to install WFFM into Sitecore XP 8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following installation, the WFFM options appear in the desktop as expected. However, if I then do a clean and rebuild in Visual Studio, I then get the following error whenever I try to access any page on the site/in sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could not resolve type name: Sitecore.Form.Core.Utility.HttpContextPerRequestStorage, Sitecore.Forms.Core (method: Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then have to roll back all changes in order to bring the site back up - when I do this, the WFFM option is still present in my desktop menus, but then disappears again when I sync with Unicorn.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone enlighten me on this? I'm very new to Sitecore (picking up a project from someone else), and there seems to be no documentation for if things go wrong like this...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1594" LastActivityDate="2017-02-27T15:50:35.650" Title="Could not resolve type name: Utility.HttpContextPerRequestStorage following WFFM install" Tags="|wffm|webforms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4570" PostTypeId="2" ParentId="4569" CreationDate="2017-02-23T09:55:22.707" Score="3" Body="&lt;p&gt;When you directly set up your IIS site to use your folder where the Visual Studio solution placed it can happen because of the &lt;strong&gt;Rebuild&lt;/strong&gt;. Rebuild means cleaining up your bin folder and only take the assemblies which are in your Visual Studio project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if the &lt;strong&gt;Sitecore.Form.Core.dll&lt;/strong&gt; is not used in your project then the &lt;strong&gt;Rebuild&lt;/strong&gt; removes it. If you setup the site like this then you should only &lt;strong&gt;Build&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest to you to setup a different root folder for your IIS and do a publish from &lt;strong&gt;Visual Studio&lt;/strong&gt; to the clean Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a good article how to setup Sitecore with &lt;strong&gt;Visual Studio&lt;/strong&gt; project - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/set_up_sitecore_and_visual_studio_for_development&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/set_up_sitecore_and_visual_studio_for_development&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-02-23T16:53:54.643" LastActivityDate="2017-02-23T16:53:54.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4571" PostTypeId="1" CreationDate="2017-02-23T09:58:58.893" Score="4" ViewCount="645" Body="&lt;p&gt;I need to make a history of a Sitecore website. It should just be able to tell the editors when (from/to date) and what (content) have been on the website. I’m using Sitecore 8.2 update 2, and are using a combination of fields on the pages itself, rendering-parameters and shared data items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I’m first idea is to append a pipeline right after the PublishItem.PerformAction, and if it is a page, then save it's full HTML. This will save the page whenever the rendering-parameters or the fields on the page are changed. But will not save the page if the shared data is changed. So when a shared data is published, then I will have to check all the pages, in order to see, if any of them are using the shared data being published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The disadvantages of this approach, is that a lot have to be saved to the database, due to I’m saving all the HTML on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is - are there an easier/better way of doing this?&lt;/p&gt;&#xA;" OwnerUserId="1593" LastActivityDate="2017-10-10T16:52:42.043" Title="How to make a history record of the website in Sitecore?" Tags="|publishing|pipelines|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4572" PostTypeId="1" CreationDate="2017-02-23T05:37:29.153" Score="2" ViewCount="803" Body="&lt;p&gt;All of a sudden, Whenever I try to use the Sitecore experience editor, I get the error:&#xA;The item &quot;/sitecore/content/Applications/WebEdit/WebEdit Texts&quot; was not found.  It may have been deleted by another user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked that item, and it definitely exists.  I found an article (&lt;a href=&quot;https://codebuildplay.wordpress.com/tag/error/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://codebuildplay.wordpress.com/tag/error/&lt;/a&gt;) that suggests that this error is a caching issue, but I've ruled that out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on what might be causing this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The specific error ini the error log is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nested Exception&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception: Sitecore.Exceptions.ItemNullException&#xA;Message: The item &quot;/sitecore/content/Applications/WebEdit/WebEdit Texts&quot; was not found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may have been deleted by another user.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Client.GetItemNotNull(String itemPath, Language language, Version version, Database database)&#xA;   at Sitecore.Xml.Xsl.ImageRenderer.GetDefaultImage()&#xA;   at Sitecore.Xml.Xsl.ImageRenderer.Render()&#xA;   at Sitecore.Pipelines.RenderField.GetImageFieldValue.Process(RenderFieldArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.BeginField(String fieldName, Item item, Object parameters)&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Field(String fieldName, Item item, Object parameters)&#xA;   at [XXXXX]_cshtml.Execute() in [XXXXX].cshtml:line 75&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&lt;/p&gt;&#xA;" OwnerUserId="1490" OwnerDisplayName="Matt Eno" LastEditorUserId="1490" LastEditDate="2017-02-24T00:47:53.450" LastActivityDate="2017-08-03T17:50:47.310" Title="Sitecore error: The item &quot;/sitecore/content/Applications/WebEdit/WebEdit Texts&quot; was not found. It may have been deleted by another user" Tags="|experience-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4573" PostTypeId="2" ParentId="4568" CreationDate="2017-02-23T10:09:10.933" Score="7" Body="&lt;p&gt;Go to Core DB and navigate to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;'/sitecore/content/Applications/WebEdit/Default Rendering Buttons/Options'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&amp;amp; apply corresponding security on this item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would look like :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eLlTt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eLlTt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="891" LastEditDate="2017-02-23T13:59:40.007" LastActivityDate="2017-02-23T13:59:40.007" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4574" PostTypeId="1" AcceptedAnswerId="4579" CreationDate="2017-02-23T13:44:18.607" Score="0" ViewCount="433" Body="&lt;p&gt;Following the &lt;a href=&quot;https://youtu.be/dW_rQp9bMmE?t=1593&quot; rel=&quot;nofollow noreferrer&quot;&gt;Getting started (Part 2)&lt;/a&gt;, it shows assigning a defined Model Type to the Sitecore &lt;code&gt;Model.Item&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I open the &lt;code&gt;Model.Item&lt;/code&gt; it does not seem to have a &lt;code&gt;Model.Type&lt;/code&gt; input.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Through Sitecore Rocks&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/tKvDI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tKvDI.png&quot; alt=&quot;No fields to show&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;And Sitecore Content Editor&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/idtIv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/idtIv.png&quot; alt=&quot;No fields to show&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And &lt;strong&gt;as expected&lt;/strong&gt;, when attaching the model to the Rendering:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@model Sitecore_first.Models.Car&#xA;&#xA;&amp;lt;div&amp;gt;&#xA;   @Html.Sitecore().Field(&quot;Name&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get the error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Inner Exception: Model definition item does not contain a model type&#xA;  name. Item path: /sitecore/layout/Models/Car. Model type field name:&#xA;  Model Type&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What could cause the behavior of &lt;em&gt;no&lt;/em&gt; &lt;code&gt;Model.Type&lt;/code&gt; input field to define the Model class path?&lt;/p&gt;&#xA;&#xA;&lt;hr /&gt;&#xA;&#xA;&lt;h2&gt;Specifications&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore rocks 2.0.39.0&lt;/li&gt;&#xA;&lt;li&gt;Visual studio 2015 Community&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1529" LastEditorUserId="1529" LastEditDate="2017-02-23T13:55:51.003" LastActivityDate="2017-02-23T17:01:58.527" Title="Assign a Model type" Tags="|sitecore-rocks|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4575" PostTypeId="2" ParentId="4574" CreationDate="2017-02-23T13:53:35.723" Score="0" Body="&lt;p&gt;You need to specify a model type for your model. It's the name of the class and name of the assembly. Something like : &lt;strong&gt;namespace.yourclass,assembly&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see attached picture from Content Editor &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6AfxW.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6AfxW.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-23T13:53:35.723" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4576" PostTypeId="1" AcceptedAnswerId="4577" CreationDate="2017-02-23T14:39:04.853" Score="8" ViewCount="948" Body="&lt;p&gt;I see a number of sitecore\virtualssuser &quot;logged in&quot; in /sitecore/shell/sitecore/client/Applications/LicenseOptions/KickUser&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know what they are and if they are using Editor license place?&lt;/p&gt;&#xA;" OwnerUserId="1597" LastActivityDate="2017-02-23T14:44:12.087" Title="What is sitecore\virtualssuser" Tags="|concurrent-users|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4577" PostTypeId="2" ParentId="4576" CreationDate="2017-02-23T14:44:12.087" Score="7" Body="&lt;p&gt;The sitecore/virtualssuser (Virtual ScreenShot User) is a virtual user used by the pre-emptive screenshot generation event handler. Being a virtual user, the user should never be persisted or appear in the user manager as it's not a real user account. In addition, the virtual user is destroyed once the screenshot generation has completed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is used by Content testing: &lt;a href=&quot;https://doc.sitecore.net/products/sitecore%20experience%20platform/content%20testing&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/products/sitecore%20experience%20platform/content%20testing&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-23T14:44:12.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4578" PostTypeId="1" CreationDate="2017-02-23T15:50:08.987" Score="3" ViewCount="1194" Body="&lt;p&gt;I just experienced (what I believe is) an issue on one of our sites in which disabling Media Request Protection in a Sitecore 8.0 site isn't working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I set the &lt;code&gt;Media.RequestProtection.Enabled&lt;/code&gt; setting to &lt;code&gt;false&lt;/code&gt; and confirmed that the patch was applied correctly in the ShowConfig. However, any media on the site that doesn't have the MRP hash is not scaling properly (using &lt;code&gt;h&lt;/code&gt; and &lt;code&gt;w&lt;/code&gt; parameters), while any media with the MRP hash is. I feel like this shouldn't be the case when MRP is disabled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried disabling browser caching, requesting without and with the hash, clearing the sitecore cache, enabling MRP, disabling MRP, rinsing and repeating. Each time, the only media that scales is media with the MRP hash, whether or not I have MRP enabled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if there is something else that I could be missing or if I am misunderstanding what disabling MRP actually does? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;&lt;strong&gt;&lt;em&gt;Side-Note:&lt;/strong&gt; I know that MRP is important and I have every intention of using it. Recently on one of our sites, MRP hashes were accidentally removed from several renderings. The change went unnoticed until it was deployed to production and the very media-intensive site started failing automated load-tests. I noticed the issue with disabling MRP when I attempted to temporarily disable MRP on production to prevent the site from going down/performance from plummeting for a few hours while we fixed and tested the issue before redeploying to production.&lt;/em&gt; &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-02-23T16:17:48.830" LastActivityDate="2017-02-23T16:17:48.830" Title="Disabling Media Request Protection isn't working" Tags="|media-library|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="4579" PostTypeId="2" ParentId="4574" CreationDate="2017-02-23T17:01:58.527" Score="0" Body="&lt;p&gt;After installing a second instance, I copied the Model layout fields to my other instance.&#xA;Apparently, my current Model layout was completely empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Acter changing the values to the original values, all worked perfect!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hNBPj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hNBPj.png&quot; alt=&quot;New values&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1529" LastActivityDate="2017-02-23T17:01:58.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4580" PostTypeId="2" ParentId="4565" CreationDate="2017-02-23T18:21:15.013" Score="1" Body="&lt;p&gt;As far as I know, there is no impact on the analytics or elsewhere as long it is not being referenced in the code. Once you delete it from CM, on CD also it will get removed. Since there will be no content / forms associated with the goals, nothing will trigger.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Analytics data that have already been captured will still remain. However, as new data is being captured in the analytics table, the goals that have been deleted will become old and may not come up based on the amount of analytics data captured.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-02-23T18:21:15.013" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4581" PostTypeId="1" AcceptedAnswerId="4582" CreationDate="2017-02-23T18:27:30.607" Score="1" ViewCount="486" Body="&lt;p&gt;Using 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to implement some personalization on the top banner of a page. So, if the user matches Pattern Card A, they see banner A, if they match Pattern Card B, they see banner B, and so on. My problem is that if the match Pattern Card A first, they can never get to Pattern Card B because in the hierarchy of the rules, once they match A, the always match A and can never change to B because their values still match A.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if I am misunderstanding how pattern card matching is working? Or not setting up my rules correctly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my banner, I have the following Rules:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Condition 1. where the current contact matches &lt;strong&gt;Exercises&lt;/strong&gt; in the &lt;strong&gt;MyCustomPersona&lt;/strong&gt; profile : Show the Exercise banner&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Condition 2. where the current contact matches &lt;strong&gt;Swimming&lt;/strong&gt; in the &lt;strong&gt;MyCustomPersona&lt;/strong&gt; profile : Show the Swimming banner&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default Condition. Of none of the other conditions are true, the default condition is used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;MyCustomPersona is a Profile, with several Profile Keys: Exercise, Swimming, etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My profile cards are all or nothing, meaning the profile card for Exercise is Exercise = 100, my profile card for swimming is Swimming = 100&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And what is happening is that once a user meets the Exercise = 100 threshold, I only ever see the Exercise banner, no matter what else I do on the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;AND, this seems to be the case when my rules are based on &lt;strong&gt;Visitor&lt;/strong&gt;. If I use rules based on &lt;strong&gt;Visit&lt;/strong&gt; I seem to be OK. But I really want historical data. Meaning if I browse on the site one day and meet the Exercise threshold, I should be able to come back to the site and it still be personalized for Exercise.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2017-02-23T18:53:01.330" LastActivityDate="2017-02-23T19:13:57.107" Title="Personalization and Pattern Card Matching" Tags="|personalization|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4582" PostTypeId="2" ParentId="4581" CreationDate="2017-02-23T18:38:46.413" Score="1" Body="&lt;p&gt;The user can still be matched in Pattern Card A or B. Let us take the following scenario:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pattern Card A is assigned to users who are more involved in reading articles that concerns Exercises.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pattern Card B is assigned to users who are more involved in reading articles that concerns Swimming.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, if your user is tag with the Pattern Card A, this means that the user has a preference for exercises articles. For the user to be tag with the Pattern Card B, you need to make him/her to read Swimming articles. To do so, you will require to make use of Goals and Engagement Values which will drive the user to start reading articles about swimming.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As long as the user keeps reading Exercises articles, he/she will stay in the Pattern Card A. It all depends on how you set the rules and what you want your users to do on the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Rules evaluation is like this: Once a condition is met, it will return the action. So, if there are other rules below, they will not be executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue here is that both Exercises and Swimming are 100 and if Exercises Rule is above the Swimming Rule, it will always return Exercises. So, you will need to either rethink on how to set the points or modify the rule to add a certain time limit of displaying the Banner or how to tag your content with the pattern cards. If I am not mistaken, you may tag a content with more than 1 profile card.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest to work on the points because personalization is mostly based on what the user wants. Also, it is Sitecore in its core who calculates in which pattern it will place the user. It all depends which profile cards have been used to tag content and base of each profile card weightage, Sitecore determines in which pattern the user falls.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-02-23T19:13:57.107" LastActivityDate="2017-02-23T19:13:57.107" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4583" PostTypeId="2" ParentId="4581" CreationDate="2017-02-23T19:07:37.460" Score="0" Body="&lt;p&gt;I would suggest ordering the rules for personalization from most specific to least specific.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your example I would do this like:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Exercise and Swimming&lt;/li&gt;&#xA;&lt;li&gt;Exercise only&lt;/li&gt;&#xA;&lt;li&gt;Swimming only&lt;/li&gt;&#xA;&lt;li&gt;Default&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The thresholds for Exercise and Swimming could also be something less than 100, so you can build upon the points in each facet in a more granular way to determine their level of interest more specifically. This will give you more options for evaluating the rules and determine the content to show. i.e.: Exercise and some Swimming and Swimming and some Exercise, etc.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-02-23T19:07:37.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4584" PostTypeId="2" ParentId="4563" CreationDate="2017-02-23T21:46:28.787" Score="1" Body="&lt;p&gt;There would be many arguments to implement this feature. How many child items would you want to make the same status as its parent one? &#xA;Suppose there are many depths of sub items, would you update them as well?? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We already implemented customized workflow actions and we are using two options.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;If you want to update only page's related items including child item and datasources, you can run the customized workflow action to update its all related items. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you want to update the workflow status only the parent's child items (doesn't care any related items), we use Powershell script.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Here is my blog and we have updated some classes so far, but the code would be helpful as a starting point. You can check only the code. Sorry for the different language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecorespace.blogspot.com/2015/04/workflow-related-item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorespace.blogspot.com/2015/04/workflow-related-item.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="554" LastEditorUserId="554" LastEditDate="2017-02-24T14:55:41.463" LastActivityDate="2017-02-24T14:55:41.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4585" PostTypeId="2" ParentId="2952" CreationDate="2017-02-23T22:02:22.067" Score="3" Body="&lt;p&gt;If you don't have access to the server, you can upload a package and you will get the option to restart the sitecore server when it is done. I know this isn't the exact answer to your solution, but it is helpful if the only issues is that you don't have access to the App Pool to recycle it manually.&lt;/p&gt;&#xA;" OwnerUserId="1603" LastActivityDate="2017-02-23T22:02:22.067" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4586" PostTypeId="1" AcceptedAnswerId="4600" CreationDate="2017-02-24T02:57:53.380" Score="2" ViewCount="471" Body="&lt;p&gt;I am looking for a guideline on configuring CD and CM servers. Sitecore provided this guideline but it is for &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.0 and up&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking for Sitecore 7.2 guideline. Please let me know if there's any.&lt;/p&gt;&#xA;" OwnerUserId="707" LastEditorUserId="246" LastEditDate="2017-02-24T21:49:31.047" LastActivityDate="2017-02-24T21:49:31.047" Title="Configure content management and content delivery on Sitecore 7.2" Tags="|content-management|content-delivery|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4587" PostTypeId="2" ParentId="4586" CreationDate="2017-02-24T07:31:03.187" Score="6" Body="&lt;p&gt;You can refer to the &lt;strong&gt;Sitecore Scaling Guide&lt;/strong&gt; from SDN: &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/scaling_guide_sc70_a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore7/70/scaling_guide_sc70_a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;P.s. Keep in mind that &lt;strong&gt;&lt;a href=&quot;http://doc.sitecore.net&quot; rel=&quot;noreferrer&quot;&gt;http://doc.sitecore.net&lt;/a&gt;&lt;/strong&gt; contains documentation only for Sitecore 8+ versions.&#xA;Thus if you are looking for documentation for Sitecore versions prior to 8, you should refer to the &lt;strong&gt;&lt;a href=&quot;https://sdn.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2017-02-24T09:58:31.697" LastActivityDate="2017-02-24T09:58:31.697" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4588" PostTypeId="1" CreationDate="2017-02-24T12:36:53.313" Score="9" ViewCount="7100" Body="&lt;p&gt;We're currently doing some performance optomisation of our Sitecore 8.1 Website and one of the slowest operations were seeing in New Relic is AcquireRequestState.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've read around this quite a bit about it (e.g &lt;a href=&quot;https://discuss.newrelic.com/t/digging-into-the-acquirerequeststate-event/40468&quot; rel=&quot;noreferrer&quot;&gt;https://discuss.newrelic.com/t/digging-into-the-acquirerequeststate-event/40468&lt;/a&gt;) and know that ASP.NET can cause Session Locking and wait for the request to complete before it releases the lock. This can cause significant slowdowns on page load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also read a few Sitecore related articles on this (e.g: &lt;a href=&quot;https://blog.wesleylomax.co.uk/2015/10/08/sitecore-8-ajax-controller-blocking/&quot; rel=&quot;noreferrer&quot;&gt;https://blog.wesleylomax.co.uk/2015/10/08/sitecore-8-ajax-controller-blocking/&lt;/a&gt;) and it looks like it should be possible to disable session on a per Controller basis using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SessionState(System.Web.SessionState.SessionStateBehavior.ReadOnly)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;New  Relic and the article above though suggest that some of Sitecores default controllers can potentially be causing this and not our custom ones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else seen this issue and did you implement this for your custom controllers or patch any out of the box Sitecore controllers?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further info:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update 2 MVC &lt;/li&gt;&#xA;&lt;li&gt;3 front end CD servers (Load Balanced)&lt;/li&gt;&#xA;&lt;li&gt;Session stored out of process in SQL Database&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-04-16T22:05:11.017" Title="AcquireRequestState causing slow page load times" Tags="|performance-optimization|session-state|performance|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4592" PostTypeId="1" AcceptedAnswerId="4593" CreationDate="2017-02-24T15:38:38.360" Score="3" ViewCount="1024" Body="&lt;p&gt;We have a server setup of the following using 8.1 Update 2, so the CM/CDs are on Azure classic VMs:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CM on US with SQL Azure in US&lt;/li&gt;&#xA;&lt;li&gt;CD on US with SQL Azure in US&lt;/li&gt;&#xA;&lt;li&gt;CD on EU with SQL Azure in EU&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We're finding that publishing from CM to the CDs is taking an extraordinary amount of time. Doing a smart publish of the entire site, we found that going from the CM to the US CD took about 90 minutes, and from the CM to the EU CD took over 3 hours. The item count at the end was just over 88,000, so not a great amount considering a site publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to drastically reduce these deployment times. Is this a matter of giving more power via Azure configuration to the VMs or, more likely, the SQL Azure servers? There's always a cost/benefit to doing that, but I'm looking for an optimal solution and we can work back to the practical cost-wise later.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-02-24T15:57:17.057" Title="Sitecore publishing in SQL Azure running slow" Tags="|publishing|azure|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4593" PostTypeId="2" ParentId="4592" CreationDate="2017-02-24T15:57:17.057" Score="8" Body="&lt;p&gt;The issue is that the classic Sitecore publish works with one item at a time, once you add network latency to that single operation and then multiply by number of targets and languages you can see why it takes so long in some configurations. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Im sorry this doesn't help directly with you answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My colleague wrote a blog post on classic Sitecore publishes on Azure and this emphasises why we made the new Publishing Service the way we did and the improvements it gives by reducing latency across the board.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From UK -&gt; West Coast US : Publish of 2hrs 53 mins reduced to 17 seconds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.ehabelgindy.com/the-awesome-performance-of-sitecore-publishing-service-v2/&quot; rel=&quot;noreferrer&quot;&gt;http://www.ehabelgindy.com/the-awesome-performance-of-sitecore-publishing-service-v2/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="201" LastActivityDate="2017-02-24T15:57:17.057" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4594" PostTypeId="1" AcceptedAnswerId="4596" CreationDate="2017-02-24T19:46:18.827" Score="6" ViewCount="1866" Body="&lt;p&gt;I had this issue when syncing a configuration on one of my projects:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;You can resolve this warning by reserializing the master:/sitecore/content/Modules/Links/Charts/Chart 1/Symptoms/Results item, or manually removing the deleted field value from the serialized item.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this message got me thinking. I know I can reserialize the whole configuration and all items of it get reserialized but do it for just a single item I wouldn`t know how to do it. anyone knows?&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-02-24T20:14:20.043" Title="Is it possible to reserialize a single item with Unicorn?" Tags="|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4596" PostTypeId="2" ParentId="4594" CreationDate="2017-02-24T20:13:05.530" Score="11" Body="&lt;p&gt;Yes it's totally possible. When an item is controlled by Unicorn, you can use the Developer tab controls in the Sitecore ribbon to do partial syncing or partial reserialization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unicorn takes over the standard Sitecore serialization in those cases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://kamsar.net/index.php/2015/09/Unicorn-3-What-s-new/#Unicorn-enabled-serialize-commands&quot; rel=&quot;noreferrer&quot;&gt;https://kamsar.net/index.php/2015/09/Unicorn-3-What-s-new/#Unicorn-enabled-serialize-commands&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-02-24T20:13:05.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4598" PostTypeId="1" AcceptedAnswerId="4599" CreationDate="2017-02-24T20:29:27.360" Score="4" ViewCount="413" Body="&lt;p&gt;I am having a similar problem to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3387/invalidoperationexception-no-route-in-the-route-table-matches-the-supplied-valu&quot;&gt;InvalidOperationException: No route in the route table matches the supplied values&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That is, I am getting the error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;No route in the route table matches the supplied values&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;On a Content Delivery Server because I have disabled Sitecore.Speak.Mvc.config (I have confirmed, if I enable this config, my code works).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is this. The code that is failing is using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Controller(GlobalControllers.Page.Name, GlobalControllers.Page.Actions.HeadHTML) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above SO thread suggests manually adding the route, as in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RouteTable.Routes.MapRoute(&#xA;    &quot;Bogus-Required-Route&quot;,&#xA;    &quot;bogus-required-route/{controller}/{action}&quot;,&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I'm not actually calling a route. I'm just feeding the controller name and action, so I would need to add just the basic route:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RouteTable.Routes.MapRoute(&#xA;    {controller}/{action}&quot;,&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But doesn't that route already exist? If I add if for CDs, won't it blow up on the CM where I have the config enabled? What's the downside to just enabling this config on the CD?&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorDisplayName="user62" LastEditDate="2017-04-23T16:36:31.253" LastActivityDate="2017-04-23T16:36:31.253" Title="Html.Sitecore().Controller on a CD - No route in the route table matches the supplied values" Tags="|configuration|content-delivery|routing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4599" PostTypeId="2" ParentId="4598" CreationDate="2017-02-24T20:58:06.357" Score="4" Body="&lt;p&gt;As stated in the SO answer, the real issue is that without enabling the &lt;strong&gt;Sitecore.Speak.MVC.config&lt;/strong&gt;, there's no route pattern matching just &lt;code&gt;{controller}/{action}&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The answer that will solve your problem is that you need to enable a config on the Content Delivery Servers that enable this route.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple ways you can do this:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 1: Enable Sitecore.Speak.MVC.config&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Let's take look at what this config is doing:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Initialize.InitializeCommandRoute, Sitecore.Speak.Client&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot;/&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;      &amp;lt;mvc.renderPlaceholder&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.RenderAddedContent, Sitecore.Speak.Client&quot;/&amp;gt;&#xA;      &amp;lt;/mvc.renderPlaceholder&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;mvc&amp;gt;&#xA;      &amp;lt;precompilation&amp;gt;&#xA;        &amp;lt;assemblies&amp;gt;&#xA;          &amp;lt;assemblyIdentity name=&quot;Sitecore.Speak.Web&quot; /&amp;gt;&#xA;        &amp;lt;/assemblies&amp;gt;&#xA;      &amp;lt;/precompilation&amp;gt;&#xA;    &amp;lt;/mvc&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This config is doing three things:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Initializing the Command Route (which is really the piece you need)&lt;/li&gt;&#xA;&lt;li&gt;Adding a &lt;code&gt;&amp;lt;renderPlaceholder&amp;gt;&lt;/code&gt; processor that renders added content.&lt;/li&gt;&#xA;&lt;li&gt;Adds the Sitecore.Speak.Web assembly to the list of precompiled assemblies.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So, in a nutshell, there isn't much here that will harm a CD if this config is enabled, but the last two points aren't needed by the Content Delivery server.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 2: Enable Command Route Manually&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can create a patch config that patches in the &lt;strong&gt;InitializeCommandRoute&lt;/strong&gt;  processor above to the &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; pipeline.  If this patch config exists on the CM, where this processor is already defined, it won't conflict.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Initialize.InitializeCommandRoute, Sitecore.Speak.Client&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot;/&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-02-24T21:14:50.157" LastActivityDate="2017-02-24T21:14:50.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4600" PostTypeId="2" ParentId="4586" CreationDate="2017-02-24T21:45:27.817" Score="3" Body="&lt;p&gt;Adding some additional context, mentioned in other answers, the &lt;strong&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/scaling_guide_sc70_a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Scaling Guide&lt;/a&gt;&lt;/strong&gt; which is available on the old &lt;a href=&quot;https://sdn.sitecore.net/Reference/Sitecore%207/Scaling%20Guide.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Developer Network&lt;/a&gt; site is intended for versions of Sitecore 7.0 to 7.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this guide, Chapter 2.4 specifically, talks about how to convert a CM instance (which is the standard Sitecore install) and make it a content delivery server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since this document has come out, there have been some enhancements that the community has provided.  One of them is the &lt;code&gt;SwitchMasterToWeb.config&lt;/code&gt; which step 2.4.3 (and referencing Section 4.6) refer to, which you can download on the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/64/switchmastertoweb.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;SDN Scaling Guide Site&lt;/a&gt;.  A &lt;a href=&quot;https://gist.github.com/Adamsimsy/9251706&quot; rel=&quot;nofollow noreferrer&quot;&gt;Revised version of this config&lt;/a&gt; file was made available by Adam Simsy.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Security Hardening&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Additionally, while on the topic of setting up Content Delivery servers, when working in production environments, you also want to ensure you are paying attention to the &lt;a href=&quot;https://sdn.sitecore.net/Reference/Sitecore%207/Security%20Hardening%20Guide.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Security Hardening Guide&lt;/a&gt;, which includes additional information specifically for hardening the security of Content Delivery servers.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-02-24T21:45:27.817" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4601" PostTypeId="1" AcceptedAnswerId="5518" CreationDate="2017-02-24T23:52:20.233" Score="3" ViewCount="219" Body="&lt;p&gt;Using OOTB Sitecore functionality: I have a bucket of video items, when a visitor views a video we have a control for them to say whether they like or dislike the video.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the best way to store this information with the intention of being able to generate the following results:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a list of the most liked videos in ranked order.&lt;/li&gt;&#xA;&lt;li&gt;Be able to identify trends (e.g. current user likes certain tags).&lt;/li&gt;&#xA;&lt;li&gt;Be able to profile users by videos they liked (e.g. they liked these 5 videos so we can predict they'll like these ones).&lt;/li&gt;&#xA;&lt;li&gt;Keep a history of videos a user has seen so future suggestions aren't repeated.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="428" LastEditorUserId="408" LastEditDate="2017-02-25T08:27:27.393" LastActivityDate="2017-04-27T04:55:59.517" Title="Personalisation of videos" Tags="|personalization|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4602" PostTypeId="2" ParentId="4588" CreationDate="2017-02-24T23:52:55.023" Score="3" Body="&lt;p&gt;Session locking only affects requests from a single source. It's more evident in load testing than it is in real world situations, since most of the traffic is coming from a single source, or relatively small number of sources.  We have seen performance improvements in code using the ReadOnly attributes for controllers in a load test scenario, but these don't translate to significant gains in live sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It does seem that the SessionState acquisition is the first really &quot;expensive&quot; step in the page delivery process since it often involves a connection to a remote service. Stands to reason, then, this is the place we see things &quot;stuck&quot; during heavy load scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Short of removing session altogether or replacing the process with a much faster model, there's not going to be much can be done about that, I would say.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also done a bit of research on this topic and pretty much given up trying to unlock the process here.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-02-24T23:52:55.023" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4603" PostTypeId="1" AcceptedAnswerId="4606" CreationDate="2017-02-25T05:00:08.043" Score="0" ViewCount="90" Body="&lt;p&gt;I tried to install &quot;&lt;strong&gt;Excel Transfer Utility&lt;/strong&gt;&quot; package in Sitecore 8.1 instance but it's continuously spinning only and doesn't install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does this utility is not compatible with Sitecore 8.1?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Excel_Transfer_Utility.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Excel_Transfer_Utility.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="2727" LastEditDate="2018-03-01T10:00:29.840" LastActivityDate="2018-03-01T10:00:29.840" Title="Excel Transfer Utility installation issue" Tags="|sitecore-client|installation|sitecore-marketplace|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4604" PostTypeId="2" ParentId="4603" CreationDate="2017-02-25T07:33:51.553" Score="0" Body="&lt;p&gt;I don't have Mongo DB installed on my system so I did following settings&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and it's worked out for me...&lt;/p&gt;&#xA;" OwnerUserId="1349" LastActivityDate="2017-02-25T07:33:51.553" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4605" PostTypeId="2" ParentId="4601" CreationDate="2017-02-25T16:17:47.013" Score="1" Body="&lt;p&gt;You will require a combination of both Sitecore xDB for analytics and Database (MongoDB or SQL) to store the emotions (likes &amp;amp; dislikes) of the videos.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Create a list of the most liked videos in ranked order.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those data will be stored in a custom database. Then you will only pull data from it to generate the list of videos which are most liked or disliked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For point 2 to 4&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will make use of the Sitecore xDB. You will need to create a Profile and then define the different profile keys. Create Profile Cards which you will use to tag the videos. &lt;em&gt;Note that you can create different ones and also tag content with more than 1.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the Profile Cards that have been used to tag the videos, Sitecore will automatically start profiling the user activities. You will need to define the Pattern Cards for Sitecore to be able to see in which segment the user falls. You may make use of Goals to track if the user has viewed a video.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-02-25T16:17:47.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4606" PostTypeId="2" ParentId="4603" CreationDate="2017-02-25T16:55:17.140" Score="1" Body="&lt;p&gt;The reason why the installation is not working is because mongoDB is not present. By default, when Sitecore is installed, the connection string of the mongoDB is already available in the &lt;code&gt;ConnectionStrings.config&lt;/code&gt; file and Sitecore Analytics is enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Due to this, when Sitecore runs, it will try to connect to the MongoDB. This is the reason why the installation may takes lot of time to complete or having the &lt;em&gt;never end installation&lt;/em&gt; issue like the one your are experiencing. You will have the same issue with other package installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, as you already mention, disabling the Analytics will fix the problem. Though, instead of changing the Sitecore config file directly, it is recommended to patch the setting as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and name the file as &lt;code&gt;z.DisableSitecoreAnalytics.config&lt;/code&gt; so that it overrides the Sitecore configuration file. This will prevent any issues tomorrow when upgrading the Sitecore Version as it may overwritten the Sitecore Analytics config file when performing an upgrade.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you do not intend to make use of the MongoDB at all, it is preferable to remove the connection string of the MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore will make use of both mongoDB analytics and the Sitecore analytics DB. What happens is that data are captured and store in mongoDB then when session is expired ( default is 20mins), Sitecore flushes the data from MongoDB to the Sitecore Analytics DB. The results can be viewed from the experience analytics &lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-02-26T09:14:40.753" LastActivityDate="2017-02-26T09:14:40.753" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4607" PostTypeId="2" ParentId="4601" CreationDate="2017-02-25T18:05:48.447" Score="0" Body="&lt;p&gt;You should look into using aggregation to handle some of this. &#xA;If you look in the reporting database, Sitecore actually tracks a lot of useful information for you like page views (mapped to itemid and contactid). &#xA;Using this you can rank the most viewed items, and you can see if a contact has viewed this item already. &#xA;You can establish your own aggregation step to establish a custom table in the reporting db with the exact information you need. E.g. Create a processor under: pipelines/interactions. &lt;/p&gt;&#xA;" OwnerUserId="81" LastActivityDate="2017-02-25T18:05:48.447" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4608" PostTypeId="1" AcceptedAnswerId="4610" CreationDate="2017-02-25T19:14:25.943" Score="2" ViewCount="93" Body="&lt;p&gt;I have noticed this strange error in my instance after attempting to connect sitecore rocks with my local sitecore instance &#xA;which I have recently migrated to solr from Lucene search provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Actual Issue:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been playing around with sitecore rocks for long time &amp;amp; it was with Lucene enabled instances.&#xA;All (including mine) instances were migrated to SOLR provider &amp;amp; when I tried to connect Sitecore rocks with my local instance, &#xA;I have received ‘Connection failed’ even after deploying Sitecore rocks component dlls &amp;amp; service files.&#xA;Now when I try to access sitecore login page or any page, I have received this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vPwVb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vPwVb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Some Analysis:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There was no much information and also specially no errors in the sitecore logs &amp;amp; I have started disabling all config files step by step but which went in vain.&#xA;When I had a close look at the log entry, I see log entry stopped logging soon after ‘Sitecore.Rocks.Server.dll’ &amp;amp; it should have recorded ‘Sitecore.Rocks.Lucene*.dlls’  log entries &#xA;Which were missing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Fm7ef.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Fm7ef.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Temporary solution:&lt;/strong&gt;&#xA;As soon as i delete ‘Sitecore.Rocks*.dlls including ‘Sitecore.Rocks.Lucene*.dlls’ I’m able to get the sitecore login page. :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Queries:&lt;/strong&gt;&#xA;Do we have Sitecore rocks for solr enabled sitecore instance ? or should I perform any alternate steps to connect my local instance(SOLR enabled) ?&#xA;If no, are we restricted to connect Sitecore rocks only if your instance is with lucene search ? :(&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-02-26T13:27:55.500" Title="Using Sitecore Rocks for Solr Search Enabled Sitecore instance" Tags="|solr|sitecore-rocks|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4610" PostTypeId="2" ParentId="4608" CreationDate="2017-02-26T13:27:55.500" Score="3" Body="&lt;p&gt;Please look on changelog of &lt;strong&gt;Sitecore Rocks Github&lt;/strong&gt; Repository. Looks like you don't need on this version ‘&lt;strong&gt;Sitecore.Rocks.Lucene*.dlls&lt;/strong&gt;. Please make a new install of the module and see if you still have the error. If you still have please delete &#xA;&lt;strong&gt;Sitecore.Rocks.Lucene*.dlls&lt;/strong&gt; and other dll that are not needed anymore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks/blob/03c1f02eb1487feab431614ef1bde1bf65440bd9/CHANGELOG.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/JakobChristensen/Sitecore.Rocks/blob/03c1f02eb1487feab431614ef1bde1bf65440bd9/CHANGELOG.md&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GohR2.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GohR2.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-02-26T13:27:55.500" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4612" PostTypeId="2" ParentId="4548" CreationDate="2017-02-26T19:40:29.400" Score="1" Body="&lt;p&gt;You need to be sure that in your /Views folder in your website, you have a web.config file there that has something like this in it:&#xA;&lt;a href=&quot;https://gist.github.com/sitecoreignition/62a81aea68ca14c4ed7ee87180b78cb9&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/sitecoreignition/62a81aea68ca14c4ed7ee87180b78cb9&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you should be sure you have the following code in your main site web.config (it should be there if you have installed the Roslyn stuff).&#xA;&lt;a href=&quot;https://gist.github.com/sitecoreignition/60637b1a87a599023d42f41e73bb4c42&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/sitecoreignition/60637b1a87a599023d42f41e73bb4c42&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't deploy my web.configs typically so I had to make sure those got copied over to my site. You might still get some intellisense or syntax highlighting in your views inside Visual Studio, but your code will run just fine on the server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If everything else is configured correctly, it should all work.If you download the Ignition project template you'll get the Views folder version of the web.config automatically. That can be found here:&#xA;&lt;a href=&quot;https://github.com/sitecoreignition/Ignition.Foundation/blob/master/Ignition.Template.Project.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sitecoreignition/Ignition.Foundation/blob/master/Ignition.Template.Project.zip&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="238" LastActivityDate="2017-02-26T19:40:29.400" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4613" PostTypeId="1" CreationDate="2017-02-26T20:34:15.780" Score="0" ViewCount="224" Body="&lt;p&gt;Sitecore Version 8.1 Update 2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across an issue in the Explorer mode of the Experience Editor where the Profiles tab in the Onsite Behavior is blank and throws a 500 error in JavaScript?  This works in every environment except production which is our only scaled out multi server environment.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GpNQ9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GpNQ9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Update per request here is the error we see in the Sitecore log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2432 08:26:58 ERROR Application error.&#xA;Exception: System.ArgumentNullException&#xA;Message: Null ids are not allowed.&#xA;Parameter name: userName&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)&#xA;   at Sitecore.Security.Accounts.User.FromName(String userName, Boolean isAuthenticated)&#xA;   at ASP.sitecore_modules_web_experienceexplorer_controls_globalheader_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at Sitecore.Web.HtmlUtil.RenderControl(Control ctl)&#xA;   at Sitecore.ExperienceExplorer.Business.Pipelines.Mvc.RenderPageExtenders.InjectExperienceExplorerControl.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderPageExtendersProcessor.Process(RenderPageExtendersArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.GetExtendersHtml()&#xA;   at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.get_ExtendersHtml()&#xA;   at Sitecore.Mvc.ExperienceEditor.Pipelines.Request.RequestEnd.AddPageExtenders.Process(RequestEndArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="498" LastEditorUserId="498" LastEditDate="2017-02-27T02:01:25.440" LastActivityDate="2017-02-27T02:01:25.440" Title="Explorer View - Onsite Behavior -&gt; Profiles won't load with 500 error" Tags="|experience-editor|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4615" PostTypeId="1" AcceptedAnswerId="4656" CreationDate="2017-02-27T03:20:30.720" Score="1" ViewCount="85" Body="&lt;p&gt;do you know where PDF is stored when we upload it as email attachment from Email Experience Manager? I am using exm 3.1&#xA;Thanks. &lt;/p&gt;&#xA;" OwnerUserId="1591" LastActivityDate="2017-02-28T16:17:34.527" Title="where pdf from EXM attachment stored?" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4616" PostTypeId="1" AcceptedAnswerId="4660" CreationDate="2017-02-27T03:30:32.013" Score="5" ViewCount="814" Body="&lt;p&gt;We have Windows authentication &quot;wrapping&quot; our Sitecore site to prevent access to a development server. We have Visual Studio and TDS installed on this server for pushing changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After I set up Windows auth (and turned off anonymous authentication), I got the following error:&#xA;&quot;The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found the following TDS article referring to this with a suggested config change: &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/setting-authenticated-access-tds&quot; rel=&quot;noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Blog/setting-authenticated-access-tds&lt;/a&gt;. After making this change, I still get the error, but now it says &quot;Negotiate&quot; instead of &quot;Anonymous&quot;. So it's closer, but not correct still.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have experience with this and the correct setup?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-03-02T18:02:05.737" Title="TDS authentication issue with Windows authentication" Tags="|security|tds|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4617" PostTypeId="1" AcceptedAnswerId="4737" CreationDate="2017-02-27T05:19:31.303" Score="5" ViewCount="488" Body="&lt;p&gt;I've few questions on app insight configuration with sitecore 8.2 update 1 below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I assume we need to manually add the client side telemetry?&lt;/li&gt;&#xA;&lt;li&gt;When I click on Server Response Time I noticed below. Is it good practice to enable this? Not sure the performance impact.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Enable Application Insights Profiler to collect detailed&#xA;      performance trace&quot;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;What's the difference between below and examples. I would they both are same:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a. ApplicationInsights.Tag&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b. ApplicationInsights.Role&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2017-02-28T09:08:23.087" LastActivityDate="2017-03-06T08:32:50.297" Title="Sitecore 8.2 update 1 App Insight Configurations" Tags="|azure|app-insight|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4619" PostTypeId="1" CreationDate="2017-02-27T08:42:45.927" Score="1" ViewCount="571" Body="&lt;p&gt;Hi we need to validate date in web forms for marketers, should we make a custom field or override the script. Usually,i override the existing validation like date-picker field and etc and it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to validate date-box to display date from 21 years ago until 10 years ago. Here is date-box script: &lt;a href=&quot;http://nerdyjs.com/script/266318&quot; rel=&quot;nofollow noreferrer&quot;&gt;Date-box script&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;could you give any solution or reference link?&#xA;thanks&lt;/p&gt;&#xA;" OwnerUserId="1591" LastActivityDate="2017-02-27T12:27:42.070" Title="How to validate date in WFFM" Tags="|wffm|validation|" AnswerCount="1" CommentCount="1" ClosedDate="2017-03-06T16:24:38.060" ContentLicense="CC BY-SA 3.0" />
  <row Id="4620" PostTypeId="1" AcceptedAnswerId="4623" CreationDate="2017-02-27T12:01:04.127" Score="11" ViewCount="4713" Body="&lt;p&gt;Our content authors, makes a lot of mistake when whey work in Experience Editor. &#xA;Quite often they do some changes on final layout, but expect to have it on shared layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is is any tool exist that could handle this case and clear final layout after it ? &#xA;For simplicity copy only latest version in a one  language.&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="95" LastEditDate="2019-09-06T12:20:54.540" LastActivityDate="2019-09-06T12:20:54.540" Title="Copy final layout to shared layout" Tags="|experience-editor|powershell-extensions|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4621" PostTypeId="2" ParentId="4619" CreationDate="2017-02-27T12:27:42.070" Score="2" Body="&lt;p&gt;You haven't said which version of Sitecore / WFFM you are using but you should be able to create a custom field validator to validate the date like so (obviously you would need to add your own logic here):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DateInFutureValidator : FormCustomValidator&#xA;{&#xA; public DateInFutureValidator()&#xA;    {&#xA;      this.ServerValidate += this.OnDateValidate;&#xA;    }&#xA;    private void OnDateValidate(object source, ServerValidateEventArgs args)&#xA;    {&#xA;      DateTime time = Sitecore.DateUtil.IsoDateToDateTime(args.Value).Date;&#xA;      if (time &amp;gt;= DateTime.UtcNow)&#xA;      {&#xA;        args.IsValid = true;&#xA;        return;&#xA;      }&#xA;      args.IsValid = false;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;more info here:&#xA;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/walkthrough_create_and_assign_a_custom_fieldtype_validator&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/walkthrough_create_and_assign_a_custom_fieldtype_validator&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;and here:&#xA;&lt;a href=&quot;https://jonathanrobbins.co.uk/2015/06/09/sitecore-webforms-for-marketers-mime-type-sniffer-custom-field-validator/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2015/06/09/sitecore-webforms-for-marketers-mime-type-sniffer-custom-field-validator/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-02-27T12:27:42.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4622" PostTypeId="2" ParentId="4620" CreationDate="2017-02-27T12:46:38.623" Score="-2" Body="&lt;p&gt;You can use default &quot;Reset Layout&quot; functionality to reset layout fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bFjNI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bFjNI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-02-27T12:46:38.623" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4623" PostTypeId="2" ParentId="4620" CreationDate="2017-02-27T14:26:24.543" Score="16" Body="&lt;p&gt;I wrote a PowerShell cmldet for merging Final Renderings back into Shared Renderings.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function Merge-Layout {&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Parameter(Mandatory = $true,Position = 0,ValueFromPipeline = $true)]&#xA;        [item]$Item&#xA;    )&#xA;&#xA;    process {&#xA;        $layoutField = New-Object &quot;Sitecore.Data.Fields.LayoutField&quot; -ArgumentList ($Item.Fields[[Sitecore.FieldIDs]::LayoutField]);&#xA;        $finalLayoutField = New-Object -TypeName &quot;Sitecore.Data.Fields.LayoutField&quot; -ArgumentList $Item.Fields[[Sitecore.FieldIDs]::FinalLayoutField]&#xA;&#xA;        if ($layoutField -eq $null) {&#xA;            Write-Error &quot;Couldn't find layout on: $($Item.Name)&quot;&#xA;        }&#xA;&#xA;        if ($finalLayoutField -eq $null) {&#xA;            Write-Error &quot;Couldn't find final layout on: $($Item.Name)&quot;&#xA;        }&#xA;&#xA;        if ($finalLayoutField.Value -eq $null -or $finalLayoutField.Value -eq &quot;&quot;) {&#xA;            return;&#xA;        }&#xA;&#xA;        $finalLayoutDefinition = [Sitecore.Layouts.LayoutDefinition]::Parse($finalLayoutField.Value)&#xA;&#xA;        $Item.&quot;__Renderings&quot; = $finalLayoutDefinition.ToXml();&#xA;        Reset-ItemField -Item $Item -Name &quot;__Final Renderings&quot; -IncludeStandardFields&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code is available on my gist: &lt;a href=&quot;https://gist.github.com/alan-null/a7dd2cd01d9d851b39a6ec5fca96ac0b&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/alan-null/a7dd2cd01d9d851b39a6ec5fca96ac0b&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want C# code, here is a source from where I got this approach:&#xA;&lt;a href=&quot;http://www.rockpapersitecore.com/2016/07/07/merging-final-renderings-back-down-into-shared-renderings/&quot; rel=&quot;noreferrer&quot;&gt;http://www.rockpapersitecore.com/2016/07/07/merging-final-renderings-back-down-into-shared-renderings/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-02-27T14:26:24.543" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4625" PostTypeId="2" ParentId="4569" CreationDate="2017-02-27T15:50:35.650" Score="0" Body="&lt;p&gt;Turns out that I had been given the wrong version of WFFM for the version of Sitecore I was working with - annoyingly I am currently blocked from downloading packages myself, and it was only thanks to another developer that this was spotted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So apologies for such a basic error - and thanks to Tamas for the article link, very handy for a beginner like myself.&lt;/p&gt;&#xA;" OwnerUserId="1594" LastActivityDate="2017-02-27T15:50:35.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4626" PostTypeId="2" ParentId="4572" CreationDate="2017-02-27T16:50:45.927" Score="4" Body="&lt;p&gt;Assuming that you use Chrome, I've seen this error a couple of times myself, and it seems to be related to caching within the browser itself (which is why it can appear randomly).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A colleague of mine had this issue and was suggested trying a different browser. Once he fired up firefox, everything worked fine. Once he deleted all the cache from Chrome, and the error disappeared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read the full story over here: &lt;a href=&quot;https://codebuildplay.wordpress.com/2016/08/10/webedittexts-not-found/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://codebuildplay.wordpress.com/2016/08/10/webedittexts-not-found/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="29" LastActivityDate="2017-02-27T16:50:45.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4627" PostTypeId="2" ParentId="4507" CreationDate="2017-02-27T17:23:12.703" Score="-1" Body="&lt;p&gt;I've solved the problem by giving the index id different name.&lt;/p&gt;&#xA;" OwnerUserId="40" LastActivityDate="2017-02-27T17:23:12.703" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4630" PostTypeId="1" AcceptedAnswerId="4661" CreationDate="2017-02-27T20:55:31.480" Score="3" ViewCount="673" Body="&lt;p&gt;The site that I am working on has a list of CSS files.  The CSS files are added to the list within a component’s view, then the main layout’s view will add all of the CSS files within this list to the header of the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a user adds a new component to the page through Experience Editor, the CSS file is added to an iframe with an ID of scLoadingFrame.  This causes the component not to have the styles applied to it.  When the page is saved, and it reloads, then the CSS file is put into the header of the webpage, and the component has the styles applied to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to get the main layout’s view to put the CSS references outside of the iframe when adding a component through Experience Editor?&lt;/p&gt;&#xA;" OwnerUserId="698" LastActivityDate="2017-02-28T22:52:36.963" Title="CSS files are getting added through Experience Editor are inserted into iframe until the page is saved" Tags="|experience-editor|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4631" PostTypeId="1" AcceptedAnswerId="4640" CreationDate="2017-02-27T21:40:38.510" Score="2" ViewCount="1527" Body="&lt;p&gt;When using FakeDb, and I set the full path of a DbItem to go under the media library, the path gets changed to the /sitecore/content/home/image-item. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    //Method starts here&#xA;    public void MediaItemPath()&#xA;    {&#xA;        Sitecore.Data.ID mediaItemId = Sitecore.Data.ID.NewID;&#xA;&#xA;        // create some media item. Location, fields and template are not important&#xA;        using (Sitecore.FakeDb.Db db = new Sitecore.FakeDb.Db())&#xA;        {&#xA;            var mediaFakeItem = new Sitecore.FakeDb.DbItem(&quot;my-image&quot;, mediaItemId);&#xA;            mediaFakeItem.FullPath = &quot;/sitecore/media library/my-image&quot;;&#xA;            db.Add(mediaFakeItem);&#xA;            Sitecore.Data.Items.Item mediaItem = db.GetItem(mediaItemId);&#xA;&#xA;            Assert.AreEqual(&quot;/sitecore/media library/my-image&quot;, mediaFakeItem.FullPath);&#xA;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I add an item to the media library?&lt;/p&gt;&#xA;" OwnerUserId="698" LastEditorUserId="891" LastEditDate="2017-02-28T09:10:57.447" LastActivityDate="2017-02-28T09:10:57.447" Title="Adding DbItem under media library with FakeDb" Tags="|fakedb|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4632" PostTypeId="1" CreationDate="2017-02-27T21:40:47.380" Score="2" ViewCount="280" Body="&lt;p&gt;I'm trying to make a list of the &quot;most favorited&quot; pages, but no data is coming out in the finished report.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the user clicks a favorite button, it triggers the built-in &quot;Like&quot; goal for that page. This works fine, and the data I want is visible in the Fact_Conversions table in the Sitecore_Analytics database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the MongoDB recording is working, and aggregation is working.&#xA;I think this should only need a custom segment/filter combo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's a filter with the rule:&#xA;&quot;where the Like goal was triggered during the current visit, add visit to segment&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That filter is associated with a custom segment in&#xA;Pages/By Page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added that segment to a bar chart item in the custom report layout using a parameters item, and with Metric: Conversions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no error messages, and the report just says &quot;no data to display&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've already rebuilt the reporting database as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made a custom bar chart that simply displays the built-in segment &quot;all visits by page&quot; with Metric: Conversions, and that works fine, it just doesn't separate out which goal is which.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What might I have done wrong setting up my custom segment? Or have I completely misunderstood how the custom reports work?&lt;/p&gt;&#xA;" OwnerUserId="1620" LastActivityDate="2017-11-09T15:40:12.823" Title="Analytics Custom Report of pages with most goals recorded has no data" Tags="|experience-analytics|reporting|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4633" PostTypeId="1" AcceptedAnswerId="4634" CreationDate="2017-02-28T00:16:00.247" Score="4" ViewCount="1392" Body="&lt;p&gt;I have a component rendering, which is added to the shared layout of the standard value of a page template. This page template has multiple language versions to have different values per language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way in Sitecore to make the rendering, which is on the standard values, have different rendering parameter defaults per language? Right now if I add one value to the shared layout it reflects across all languages.&lt;/p&gt;&#xA;" OwnerUserId="1073" LastActivityDate="2018-06-14T23:01:43.497" Title="Different rendering parameters by language" Tags="|presentation|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4634" PostTypeId="2" ParentId="4633" CreationDate="2017-02-28T02:21:52.177" Score="1" Body="&lt;p&gt;I'm not sure if you can do that using the shared layouts. I know you can do that using the final layout. &#xA;In order for you to do that using the final layout you need essentially two things:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Have a version on the standard values for each language you need&lt;/li&gt;&#xA;&lt;li&gt;Set the rendering parameters on the Final Layout and not on the shared one. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can make a test and using the standard values for each language set different values for a field using the final layout and you will see it in action.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="982" LastEditDate="2017-02-28T06:26:21.670" LastActivityDate="2017-02-28T06:26:21.670" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4635" PostTypeId="1" CreationDate="2017-02-28T04:33:25.457" Score="5" ViewCount="683" Body="&lt;p&gt;I'm trying to create a Facebook Social Login on my site and followed these steps.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Have a Sitecore 8.0 initial release which is upgraded to update 5. The instance name is mysite.org and this is not a live site yet.&lt;/li&gt;&#xA;&lt;li&gt;Created an app in facebook and set the Site URL value as &lt;a href=&quot;http://mysite.org&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.org&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Ensured that this items exists:  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Social/Networks/Facebook&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Entered App ID, secret key and selected Facebook as network for this item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Social/Applications/Default/Facebook&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Checked that this item exists:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/layout/Renderings/Social MVC/Connector/Login with Facebook&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The controller for this is :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Social.Facebook.Client.Mvc.Areas.Social.Controllers.FacebookConnectorController, Sitecore.Social.Facebook.Client.Mvc&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the view, rendering the content as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;{A58672D4-0B34-41B2-9CCF-5A48C275FD40}&quot;)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The html is rendered as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;form action=&quot;/Social/FacebookConnector/Login&quot; method=&quot;post&quot; style=&quot;display:inline&quot;&amp;gt;&#xA;&amp;lt;input id=&quot;Parameters&quot; name=&quot;Parameters&quot; type=&quot;hidden&quot; value=&quot;&quot;&amp;gt;  &#xA;&amp;lt;input type=&quot;image&quot; title=&quot;Login with Facebook&quot; src=&quot;/~/media/Images/Social/Connector/Facebook.ashx&quot;&amp;gt; &#xA;&amp;lt;/form&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I click on the facebook icon, the page does a postback and the url changes to:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://mysite.org/sign-in?state=e0d7a932-9730-4fb2-9d99-50245f235399&amp;amp;authError=29b6cf66-c902-4ee8-91dd-6b89eaf80eff&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.org/sign-in?state=e0d7a932-9730-4fb2-9d99-50245f235399&amp;amp;authError=29b6cf66-c902-4ee8-91dd-6b89eaf80eff&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In the showConfig.aspx, I can see this:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;social patch:source=&quot;Sitecore.Social.Facebook.config&quot;&amp;gt;&#xA; &amp;lt;networks&amp;gt;&#xA;  &amp;lt;network name=&quot;Facebook&quot; ItemId=&quot;{D7429409-D6DA-46CD-91DD-8702781AE3C4}&quot; prefix=&quot;fb&quot; icon=&quot;facebook&quot; url=&quot;https://www.facebook.com&quot;&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;provider type=&quot;Sitecore.Social.Facebook.Networks.Providers.FacebookProvider, Sitecore.Social.Facebook&quot;/&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/network&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the error log I find this:  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;31228 11:39:08 WARN  Could not find type in ReflectionUtil.CreateObject: FacebookNetworkProvider&lt;br&gt;&#xA;  31228 11:39:08 ERROR Sitecore.Social: Can't cast the instance of type &quot;&quot; to&#xA;    NetworkProvider type&lt;br&gt;&#xA;  31228 11:39:08 ERROR Sitecore.Social: The network provider is not found for Facebook network.&lt;br&gt;&#xA;  Exception:&#xA;    Sitecore.Social.NetworkProviders.Exceptions.NetworkProviderNotFoundException&lt;br&gt;&#xA;  Message: The network provider is not found for Facebook network.&lt;br&gt;&#xA;  Source: Sitecore.Social.Client at&#xA;    Sitecore.Social.Client.Connector.SocialLogin.ProcessRequest(HttpContext&#xA;    httpContext)  &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;There is no call to facebook site in the browser console. I followed the same steps for v8.2 and it worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing here.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-03-06T10:03:09.700" LastActivityDate="2017-03-08T08:06:47.580" Title="Unable to use Social Login" Tags="|social-connected|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4636" PostTypeId="2" ParentId="4229" CreationDate="2017-02-28T04:56:42.107" Score="1" Body="&lt;p&gt;Since we are using multi-tenant solution, I'm able to achieve this by below code. i.e. verifying domain equals to &quot;extranet&quot; &amp;amp; hostname not equals to null/empty.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; if (Sitecore.Context.PageMode.IsNormal &#xA;          &amp;amp;&amp;amp; GetSites().Where(x =&amp;gt;x.Name.ToLower()&#xA;            .Equals(Sitecore.Context.Site.Name.ToLower()))&#xA;{&#xA;         //Do task here&#xA;}&#xA;&#xA;&#xA;&#xA; private List&amp;lt;SiteInfo&amp;gt; GetSites()&#xA;    {&#xA;        List&amp;lt;SiteInfo&amp;gt; sitesInformation = Factory.GetSiteInfoList();&#xA;        if (sitesInformation != null &amp;amp;&amp;amp; sitesInformation.Count &amp;gt; 0)&#xA;        {&#xA;            return sitesInformation.Where(s =&amp;gt; s.Domain != null &#xA;                     &amp;amp;&amp;amp; s.Domain == &quot;extranet&quot; &#xA;                     &amp;amp;&amp;amp; !string.IsNullOrEmpty(s.HostName)).ToList();&#xA;        }&#xA;&#xA;        return null;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-02-28T04:56:42.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4637" PostTypeId="1" CreationDate="2017-02-28T05:03:01.920" Score="-1" ViewCount="136" Body="&lt;p&gt;how to setup Web form for marketers on azure. i have created app services using &quot;Sitecore® Web Experience Manager 8.2&quot; on azure. &lt;/p&gt;&#xA;" OwnerUserId="1621" LastEditorUserId="73" LastEditDate="2017-02-28T09:14:44.407" LastActivityDate="2017-02-28T09:14:44.407" Title="Setting up WFFM for &quot;Sitecore® Web Experience Manager 8.2&quot; on Azure" Tags="|wffm|azure|" AnswerCount="1" CommentCount="2" ClosedDate="2017-02-28T09:16:08.937" ContentLicense="CC BY-SA 3.0" />
  <row Id="4638" PostTypeId="1" CreationDate="2017-02-28T06:35:17.053" Score="0" ViewCount="312" Body="&lt;p&gt;The installation failed.&#xA;Could not find a part of the path 'd:\local\temp\WFFM'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;getting error while setting up wffm on cm server on azure.&lt;/p&gt;&#xA;" OwnerUserId="1621" LastEditorUserId="73" LastEditDate="2017-02-28T08:34:31.420" LastActivityDate="2017-02-28T08:34:31.420" Title="The installation failed. Could not find a part of the path 'd:\local\temp\WFFM'" Tags="|wffm|azure|" AnswerCount="1" CommentCount="0" ClosedDate="2017-02-28T09:15:45.707" ContentLicense="CC BY-SA 3.0" />
  <row Id="4639" PostTypeId="2" ParentId="4631" CreationDate="2017-02-28T06:53:15.743" Score="0" Body="&lt;p&gt;Please make sure you have media config in App.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaLibrary&amp;gt;&#xA;      &amp;lt;!-- MEDIA PROVIDER --&amp;gt;&#xA;      &amp;lt;mediaProvider type=&quot;Sitecore.FakeDb.Resources.Media.FakeMediaProvider, Sitecore.FakeDb&quot; /&amp;gt;&#xA;    &amp;lt;/mediaLibrary&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also try this below code :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void HowToMockMediaItemProvider()&#xA;    {&#xA;      const string MyImageUrl = &quot;~/media/myimage.ashx&quot;;&#xA;      Sitecore.Data.ID mediaItemId = Sitecore.Data.ID.NewID;&#xA;&#xA;      // create some media item. Location, fields and template are not important&#xA;      using (Sitecore.FakeDb.Db db = new Sitecore.FakeDb.Db&#xA;      {&#xA;        new Sitecore.FakeDb.DbItem(&quot;my-image&quot;, mediaItemId)&#xA;      })&#xA;      {&#xA;        Sitecore.Data.Items.Item mediaItem = db.GetItem(mediaItemId);&#xA;&#xA;        // create media provider mock and configure behaviour&#xA;        Sitecore.Resources.Media.MediaProvider mediaProvider =&#xA;          NSubstitute.Substitute.For&amp;lt;Sitecore.Resources.Media.MediaProvider&amp;gt;();&#xA;&#xA;        mediaProvider&#xA;          .GetMediaUrl(Arg.Is&amp;lt;Sitecore.Data.Items.MediaItem&amp;gt;(i =&amp;gt; i.ID == mediaItemId))&#xA;          .Returns(MyImageUrl);&#xA;&#xA;        // substitute the original provider with the mocked one&#xA;        using (new Sitecore.FakeDb.Resources.Media.MediaProviderSwitcher(mediaProvider))&#xA;        {&#xA;          string mediaUrl = Sitecore.Resources.Media.MediaManager.GetMediaUrl(mediaItem);&#xA;          Xunit.Assert.Equal(MyImageUrl, mediaUrl);&#xA;        }&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source : &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Media&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Media&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-02-28T06:53:15.743" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4640" PostTypeId="2" ParentId="4631" CreationDate="2017-02-28T07:40:32.277" Score="4" Body="&lt;p&gt;The API is not quite obvious here. By default, all the items are added to the &lt;em&gt;content&lt;/em&gt;. If you need to add an item to the Media Library, you should set the &lt;code&gt;fakeItem.ParentID&lt;/code&gt; property:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var mediaFakeItem = new DbItem(&quot;my-image&quot;)&#xA;    {&#xA;      ParentID = Sitecore.ItemIDs.MediaLibraryRoot&#xA;    };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since &lt;code&gt;DbItem&lt;/code&gt; has got mutable &lt;code&gt;ParentID&lt;/code&gt; and &lt;code&gt;FullPath&lt;/code&gt; properties, it's quite challenging to keep them in sync (e.g. when you change the &lt;code&gt;FullPath&lt;/code&gt; only). I created a FakeDb &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/issues/172&quot; rel=&quot;nofollow noreferrer&quot;&gt;issue&lt;/a&gt; to address it (if possible without introducing breaking changes).&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-02-28T07:40:32.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4641" PostTypeId="2" ParentId="4638" CreationDate="2017-02-28T08:11:09.937" Score="1" Body="&lt;p&gt;You are getting that error on azure, when the system is trying to use a machine local ressource. Instead the system should use azure &quot;localresource&quot; class, when using temp files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue with Sitecore is, that generally the modules are not compatible with azure (&lt;a href=&quot;https://kb.sitecore.net/articles/880886&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/880886&lt;/a&gt;) - at least not in 8.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM IS working with Sitecore, but only in 8.1 - installation guide is here &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/81/setting_up_web_forms/installing/walkthrough_installing_wffm_on_sitecore_azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/81/setting_up_web_forms/installing/walkthrough_installing_wffm_on_sitecore_azure&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;LocalResource class:&#xA;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.serviceruntime.localresource.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.serviceruntime.localresource.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Azure question:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/11687903/could-not-find-a-part-of-the-path-on-windows-azure&quot;&gt;https://stackoverflow.com/questions/11687903/could-not-find-a-part-of-the-path-on-windows-azure&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="327" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-02-28T08:16:26.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4642" PostTypeId="2" ParentId="4633" CreationDate="2017-02-28T08:56:28.403" Score="2" Body="&lt;p&gt;The actual value of the rendering parameter(s) is stored inside the layout field(s). So if you add a rendering with parameters in the shared layout, it is stored in a shared field - meaning you cannot make them different per language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what you really want is not possible, but you have a few options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;put the rendering on the final layout as Diego suggested (easiest setup, but you will need to add the rendering for each language)&lt;/li&gt;&#xA;&lt;li&gt;create multiple rendering parameters (preferable using a renderings parameter template), so you have one value per language - it's a theoretical option, I would never do this&lt;/li&gt;&#xA;&lt;li&gt;use a link to another item as rendering parameter - making it more like an extra datasource. The item you point to can be translated in all languages and contain all fields you desire. By using a rendering parameters template you can have a link-type field to make the selection of the item easier.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-02-28T08:56:28.403" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4643" PostTypeId="2" ParentId="4637" CreationDate="2017-02-28T09:14:16.630" Score="2" Body="&lt;p&gt;At this time, you cannot. WFFM is not currently compatible with Sitecore PaaS on Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hJl12.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hJl12.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://kb.sitecore.net/articles/201557&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore XP on Microsoft Azure Compatibility Table&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-02-28T09:14:16.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4644" PostTypeId="1" AcceptedAnswerId="4647" CreationDate="2017-02-28T13:30:02.353" Score="1" ViewCount="221" Body="&lt;p&gt;My website requires that Content Editors have access to a custom Search mode which shows them results based in a format that's not directly available in Sitecore. Is it possible to extend the Search functionality somehow to avoid writing a fully custom Search page?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm referring to this Search tab:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/QEDfd.png&quot; alt=&quot;the content search tab&quot;&gt;&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastEditorUserId="423" LastEditDate="2017-02-28T14:10:19.883" LastActivityDate="2017-02-28T14:21:23.663" Title="Is it possible to extend the Content Editor search?" Tags="|content-editor|content-search|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4645" PostTypeId="1" AcceptedAnswerId="4650" CreationDate="2017-02-28T14:10:22.990" Score="2" ViewCount="2354" Body="&lt;p&gt;Our Sitecore project needs to store some custom data (results from a user poll). Is there some sort of a built-in functionality for storing that data on Sitecore sites?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The obvious solution is to create a separate custom database, but I'd like to know if Sitecore offers a better approach. &lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastEditorDisplayName="user1475" LastEditDate="2017-02-28T14:17:55.653" LastActivityDate="2017-02-28T14:55:27.620" Title="What is the recommended approach for storing custom data within Sitecore?" Tags="|best-practices|sql-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4646" PostTypeId="1" AcceptedAnswerId="4702" CreationDate="2017-02-28T14:13:54.500" Score="2" ViewCount="688" Body="&lt;p&gt;Our website needs to show a list of related questions, very much in the same way as it  works on StackExchange:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/1D54d.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some sort of built-in functionality to achieve this? What about existing Marketplace components?&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-03-02T22:30:32.503" Title="How can I show a list of related/similar pages?" Tags="|lucene|" AnswerCount="3" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="4647" PostTypeId="2" ParentId="4644" CreationDate="2017-02-28T14:21:23.663" Score="0" Body="&lt;h3&gt;Searching Sitecore Data&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In one of your comments (now removed), you mentioned that the data that you want to search is all in the Sitecore database - implicitly the master database. As such, when you say that you want to attach a &quot;custom data source&quot; I infer that you mean that you want a specific piece of the Sitecore tree to be searched or a special query to be performed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming the above, I believe that what you are looking for are search &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/search_and_item_buckets/facets&quot; rel=&quot;nofollow noreferrer&quot;&gt;facets&lt;/a&gt; and search &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/searching/filters_and_operations/the_search_filters&quot; rel=&quot;nofollow noreferrer&quot;&gt;filters&lt;/a&gt;. If yoou are looking to customize content search within the Sitecore client beyond that, you will likely have to create your own interface. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Searching External Data&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If your data is not stored in Sitecore, then the comments from @AdamSeabridge should put you on the right path. Basically, you will need to create a custom data provider. You can do so with fairly limited effort or a very high amount of effort, depending on your implementation. You can find some pretty good documentation to help get you started, &lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Data%20Providers/Implementing%20a%20Data%20Provider/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that if you write a custom data provider, your content authors can search directly within the same content search tab as they would have otherwise, provided that you &lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Data%20Providers/Implementing%20a%20Data%20Provider/Search/&quot; rel=&quot;nofollow noreferrer&quot;&gt;code your data provider to support content search&lt;/a&gt;. In other words, no additional tabs or custom SPEAK applications will be necessary, unless you have additional requirements for them that need to  be satisfied. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that if your data is actually stored in Sitecore then you should avoid writing a custom data provider. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-02-28T14:21:23.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4648" PostTypeId="1" AcceptedAnswerId="4652" CreationDate="2017-02-28T14:27:54.590" Score="3" ViewCount="562" Body="&lt;p&gt;Does Sitecore (7.2+) have something like &lt;code&gt;Sitecore.Links.LinkManager.GetDefaultUrlOptions()&lt;/code&gt; except for media URLs?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a library of extension methods off of &lt;code&gt;Item&lt;/code&gt; to make things easier and it looks like when that was created over a year ago I ended up just using &lt;code&gt;new Sitecore.Resources.Media.MediaUrlOptions()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My searches aren't turning up anything, so I'd like to know if I'm just missing something or if that's the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2017-02-28T14:36:06.637" Title="Is there a GetDefaultMediaUrlOptions function?" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4649" PostTypeId="2" ParentId="4645" CreationDate="2017-02-28T14:28:20.220" Score="0" Body="&lt;p&gt;You can create a sitecore item structure to store the poll results. In this case you would need a Template to store a poll item and a Folder Template that can insert those items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll end up with something like:&#xA;Data&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Polls (folder)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Poll Item&lt;/li&gt;&#xA;&lt;li&gt;Poll Item&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You could also make the Polls folder into a bucket if there will be lots of items.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-02-28T14:28:20.220" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4650" PostTypeId="2" ParentId="4645" CreationDate="2017-02-28T14:29:28.523" Score="4" Body="&lt;h3&gt;Choosing a Storage Location&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you have a scaled instance of Sitecore or if you want your instance to be extensible and scalable, then you need to avoid storing data in the master database, as CD instances wouldn't have access to it. The web database is also not an option, as you would lose the data on publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You basically have three options: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Add another Sitecore database for storing your form data.&lt;/strong&gt; This would be a database that both the CM and CD connect to, but not a publishing target.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Add an external SQL or NoSQL database that you create yourself.&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Write custom logic to store your form data in MongoDB,&lt;/strong&gt; which both the CM and CD connect to.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In a situation like the one you are describing, I would typically advise you to go with option 1, and use an extra Sitecore database. This will not violate your Sitecore license in any way, and will likely be the lowest effort solution. This is largely due to the amount of known structure that you have with your data, since it the results from a user poll. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a look at &lt;a href=&quot;https://sitecore.stackexchange.com/a/2361/423&quot;&gt;this answer&lt;/a&gt; to a different question on how to store user-generated content (UGC) in a Sitecore solution. In the answer, I break down the various factors that go into choosing where the data should be stored and why.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Storage Structure&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Assuming you went with option 1, above, (if you didn't then that's fine - you can just translate this structure into SQL or NoSQL) then I suggest that you use the structure described below for your data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, you will need to create an item template to represent the user-poll that it will contain the results of. Next, you will create another item template to represent the data record from a user form submission. My recommendation would be to then have a third template to represent a form field. Based on the fields that are filled out by the user, you could programmatically add all of the fields from the submission to Sitecore, and not have to worry about carrying over changes to the form that are made later. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend that you use a bucketing strategy for the records, as this will help you avoid slow-downs when querying, if your polls are to be filled out by a large number of users. You can use content search to access the results of the poll via query, and create a custom reporting tool that displays them.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-02-28T14:55:27.620" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4651" PostTypeId="1" AcceptedAnswerId="4689" CreationDate="2017-02-28T14:29:47.443" Score="1" ViewCount="964" Body="&lt;p&gt;We have a Sitecore 8.1-3 / EXM 3.3 production instance.  We have sent out a test email blast.  In the footer of the email is a link to /sitecore/unsubscribe.aspx.  I notice that when the email actually gets sent out by EXM that the actual url in the unsubscribe link gets changed to /sitecore/redirecturlpage.aspx?ec_eq=blahblahblah...  However after looking in the IIS logs what I see is that when the user clicks on the Unsubscribe link it generates a 302 redirect to /sitecore/unsubscribe.aspx.  And this request generates a 404 error.  However I have looked on our CD servers and that file is definitely there.  I can not figure out why the request for /sitecore/unsubscribe.aspx is generating a 404 error.  Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Corey&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2017-03-02T11:30:27.263" Title="In EXM 3.3 why does the link to Unsubscribe.aspx return a 404?" Tags="|exm|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4652" PostTypeId="2" ParentId="4648" CreationDate="2017-02-28T14:36:06.637" Score="8" Body="&lt;p&gt;No, there is not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;mediaProvider&lt;/code&gt; definition in Sitecore is limited to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaProvider type=&quot;Sitecore.Resources.Media.MediaProvider, Sitecore.Kernel&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;while &lt;code&gt;LinkProvider&lt;/code&gt; definition contains lot of properties which are used as default options:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;asNeeded&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That's why Sitecore uses &lt;code&gt;MediaUrlOptions.Empty&lt;/code&gt; when options are not specified:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual string GetMediaUrl(MediaItem item)&#xA;{&#xA;  return this.GetMediaUrl(item, MediaUrlOptions.Empty);&#xA;}&#xA;&#xA;public virtual string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;{&#xA;  ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-02-28T14:36:06.637" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4653" PostTypeId="1" CreationDate="2017-02-28T14:40:09.957" Score="1" ViewCount="33" Body="&lt;p&gt;On one of the websites I'm working on the Site Analytics are broken - a MongoDB database is successfully created by Sitecore to store Analytics data and I can see the Analytics interface in Content Editor, but no visit data is actually recorded in MongoDB. I've found a &lt;a href=&quot;https://kb.sitecore.net/articles/977445&quot; rel=&quot;nofollow noreferrer&quot;&gt;short guideline&lt;/a&gt; from Sitecore itself, but it wasn't particularly useful. I couldn't identify any particular errors from the logs, so I'm a bit clueless as to how to proceed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the steps I could take to debug my Analytics Data issue? I know this is a bit too broad, but I presume there aren't too many fail points.&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-02-28T14:40:09.957" Title="What are the steps I could take to debug non-functioning Experience Analytics (MongoDB)?" Tags="|experience-analytics|mongodb|" AnswerCount="0" CommentCount="3" ClosedDate="2017-02-28T21:51:42.383" ContentLicense="CC BY-SA 3.0" />
  <row Id="4654" PostTypeId="1" AcceptedAnswerId="4657" CreationDate="2017-02-28T15:11:55.737" Score="7" ViewCount="1611" Body="&lt;p&gt;I would like to know if there's a way to set the current script's context language through code. &#xA;I know there's a way to set it in the ISE but I need some code that could override it and force a specific script to always run in a certain language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Context.Language = [Sitecore.Data.Managers.LanguageManager]::GetLanguage(&quot;nl&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="220" LastActivityDate="2017-03-01T03:20:06.023" Title="Set Powershell script language" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4655" PostTypeId="1" CreationDate="2017-02-28T15:12:01.347" Score="1" ViewCount="142" Body="&lt;p&gt;I have a simple Sitecore controller that returns an list of items from Sitecore. It's used it in a custom SPEAK UI page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works fine in my local dev environment but when I deploy it into an Sitecore environment (which has Castle Windsor setup as an IoC) my controller no longer works. The error in the logs is: 'Could not create controller':&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyListBrowsingController : Controller&#xA;{&#xA;    public JsonResult GetItems()&#xA;    {&#xA;        var myList = //get list here&#xA;        return Json(myList, JsonRequestBehavior.AllowGet);&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As I understand it the problem is that CastleWindsor is wired up via a pipeline and is overwritten the default Sitecore Dependency Resolver, e.g like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://bitlush.com/blog/using-castle-windsor-with-sitecore-mvc-for-dependency-injection&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://bitlush.com/blog/using-castle-windsor-with-sitecore-mvc-for-dependency-injection&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know ideally this would be solved with a fall-back like so: &lt;a href=&quot;https://github.com/HedgehogDevelopment/sitecore-chained-dependency-resolver/blob/master/InversionOfControl.CastleWindsor/Pipelines/SetupDependencyResolvers.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/HedgehogDevelopment/sitecore-chained-dependency-resolver/blob/master/InversionOfControl.CastleWindsor/Pipelines/SetupDependencyResolvers.cs&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However unfortunately I don't have access / control of this code as it's in a separate dll so id like to explicitly register the route in some other way which won't get overwritten by an IoC. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further info:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 7.5 &gt; 8.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-02-28T17:27:46.000" LastActivityDate="2017-07-04T12:49:02.007" Title="Custom controller being overwritten by IoC" Tags="|dependency-injection|controller|" AnswerCount="1" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="4656" PostTypeId="2" ParentId="4615" CreationDate="2017-02-28T16:17:34.527" Score="2" Body="&lt;p&gt;EXM stores all attachments in /sitecore/media library/Email Campaign/Attachments&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-02-28T16:17:34.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4657" PostTypeId="2" ParentId="4654" CreationDate="2017-02-28T16:40:32.790" Score="9" Body="&lt;p&gt;You can set context language using&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; #get language to be switched&#xA; $lan = [Sitecore.Globalization.Language]::Parse(&quot;$switchLanguage&quot;)&#xA; #Set Context language, use 'ispersistent' parameter based on your requirement.in my case it should be for a while i.e. creation of master content.&#xA; [Sitecore.Context]::SetLanguage( $lan,$false)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is one of the PS script used in one of my project. :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Snapshot:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9pb0Z.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9pb0Z.png&quot; alt=&quot;PS script to switch context lang to en-US from en(default)&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Actual Script:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$defaultContextLang = [Sitecore.Context]::Language.Name&#xA;Write-Host &quot;Default context language is '$defaultContextLang'&quot;&#xA;$switchLanguage = &quot;en-US&quot;&#xA;$lan = [Sitecore.Globalization.Language]::Parse(&quot;$switchLanguage&quot;)&#xA; [Sitecore.Context]::SetLanguage( $lan,$false)&#xA; $switchedContextLang = [Sitecore.Context]::Language.Name&#xA; Write-Host &quot;Switched context language is '$switchedContextLang'&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="891" LastEditorUserId="891" LastEditDate="2017-03-01T03:20:06.023" LastActivityDate="2017-03-01T03:20:06.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4658" PostTypeId="2" ParentId="3186" CreationDate="2017-02-28T20:57:42.583" Score="-1" Body="&lt;p&gt;If you have enabled tracker then you should be able to see values stored in MongoDB. But few steps you need to verify again.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Check both settings enabled in &lt;strong&gt;Sitecore.Xdb.config&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;setting name=&quot;Xdb.Enabled&quot; value=&quot;true&quot; &#xA;&#xA;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;true&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;ClusterName and Hostname should be Unique Name/Host Name in &lt;strong&gt;Sitecore.Analytics.Tracking.config&lt;/strong&gt;:        &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;setting name=&quot;Analytics.ClusterName&quot; value=&quot;siteName&quot;&#xA;&#xA;setting name=&quot;Analytics.HostName&quot; value=&quot;siteName&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;After making sure all steps configured you can also &lt;a href=&quot;https://pramisoni.wordpress.com/2017/02/27/sitecore-analytics-tracking-on-click-of-events/&quot; rel=&quot;nofollow noreferrer&quot;&gt;try my blog&lt;/a&gt; for further steps to push data in contact DB.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="486" LastEditorDisplayName="user1475" LastEditDate="2017-03-13T11:07:02.000" LastActivityDate="2017-03-13T11:07:02.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4659" PostTypeId="2" ParentId="4646" CreationDate="2017-02-28T21:33:06.183" Score="4" Body="&lt;p&gt;Sitecore doesn't directly provide this feature - rather it provides a tool-box of APIs to help you build the feature to suit your needs. Off the top of my head I'm not aware of a Marketplace module which solves this particular issue - but I've not searched extensively, so I may be out of date there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're assembling it yourself, related content needs two things: It needs data to describe relations and it needs some sort of query mechanism to read this data at runtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Off the top of my head, I can think of a few common patterns for describing the relationship between pages:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Direct page links&lt;/strong&gt;&lt;br&gt;&#xA;A TreeList type field on your page's Template can allow an editor to directly select other pages that they want to be &quot;related&quot;. This works best for smaller sets of content, or for scenarios where you want very direct control of the relationship.&lt;br&gt;&#xA;When you process this data all you have to do is load the items that the field points to, and present that list to the user.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Tagging&lt;/strong&gt;&lt;br&gt;&#xA;You can define some items in your content tree to represent a tag taxonomy. A MultiList or TreeList field on your pages can then allow editors to pick a set of tags for each page. This tends to work better when you want pages to describe a category they belong to, rather than a direct relationship with other pages. (Which is more like the example you cite above)&lt;br&gt;&#xA;To render related items from tag data you need to take the set of tag IDs recorded on the current page and then find &quot;all items which include these tags, but not the context item&quot;. Whether you choose to show items which include &quot;any of these tags&quot; or &quot;all of these tags&quot; depends on your business rules.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Automated tags&lt;/strong&gt;&lt;br&gt;&#xA;It's also possible to generate &quot;tag&quot; style data automatically if you have some rules to implement. You might match keywords in text fields, or compute something from other metadata for example. This could be done as an ordinary field that is populated by a Save event, or it could be done as a Computed Field for the search index. (There was also &lt;a href=&quot;https://www.markstiles.net/blog/2017/2/22/sitecore-cognitive-services/&quot; rel=&quot;nofollow noreferrer&quot;&gt;a very interesting blog post&lt;/a&gt; recently showing you might even do this via 3rd party Cognitive Services APIs)&lt;br&gt;&#xA;Processing this data depends entirely on what you choose to record as a result of your generation algorithm. I'd probably aim for recording the IDs of the pages you deem to be related, as that makes presentation easiest.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Once you've defined a relationship, you then need to be able to query that data to render the UI. Again, there are assorted options here:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;As &lt;a href=&quot;https://sitecore.stackexchange.com/users/73/mark-cassidy&quot;&gt;Mark&lt;/a&gt; suggests in the comments above, Sitecore has a built-in database of relationships between items called &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Links%20Database.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;the Link Database&lt;/a&gt;. This has API calls which can find you the items which the context item has a relationship to. This will include things like templates as well as your related pages or tags - so you do need to be careful to filter this data correctly.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you configure &lt;a href=&quot;https://soen.ghost.io/a-re-introduction-to-the-contentsearch-api-in-sitecore-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;the ContentSearch framework&lt;/a&gt; to index the data in your relationship fields, you can also use search queries to find the target items and return data. If your index stores the appropriate data then this approach can be used to render the UI without the need to access the Sitecore Database directly, which may offer performance benefits.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can also use the standard Sitecore APIs to load the items based on the IDs stored in your fields.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Which approach to processing the data you choose is probably down to which fits best with the site you're building. As your content gets bigger and more complex, the ContentSearch approach is likely to perform better than the others - but it will probably require more code and configuration to make it work.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-02-28T21:33:06.183" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4660" PostTypeId="2" ParentId="4616" CreationDate="2017-02-28T22:34:13.520" Score="4" Body="&lt;p&gt;I ended up engaging with Hedgehog Support on this and they provided two resolutions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One is to modify your registry. Back up your Windows Registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0, and edit it by adding inside the MSV1_0 folder a Multi-String Value called ‘BackConnectionHostNames’. Modify that Multi-String Value by adding the host name that you chose for your local site. Close the registry and restart IIS and Visual Studio, then retry the TDS connection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other is a bit simpler...set anonymous authentication to be on for only the _DEV folder, and it works as well. Also, if you do this, you don't need to do any other config changes from the earlier blog.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2017-03-02T18:02:05.737" LastActivityDate="2017-03-02T18:02:05.737" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4661" PostTypeId="2" ParentId="4630" CreationDate="2017-02-28T22:52:36.963" Score="2" Body="&lt;p&gt;The implementation that you are describing is meant to add similar support to Sitecore as the .NET MVC &lt;code&gt;RenderSection&lt;/code&gt; functionality that Sitecore MVC does not natively support. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, what you need to do is take the &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; (I am assuming that you have the &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; node in your &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; but this solution will work for &lt;code&gt;&amp;lt;style&amp;gt;&lt;/code&gt; nodes or just the CSS file URL too, with very minor tweaks) element that was added to the &lt;code&gt;&amp;lt;iframe id=&quot;scLoadingFrame&quot;&amp;gt;&lt;/code&gt; and move it to the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; of the actual page. However, bear in mind the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Should only run when in the Experience Editor&lt;/li&gt;&#xA;&lt;li&gt;Should only run when a new component that has an associated CSS file is added to the page and should only run for that component&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;With that in mind, you can implement what you are looking for by doing the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, create a partial view, &lt;code&gt;_ExperienceEditorDynamicCssLoader&lt;/code&gt;, that you statically pull into the bottom of your Layout's view via the following: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Context.PageMode.IsExperienceEditor)&#xA;{&#xA;    @Html.Partial(&quot;~/path/to/_ExperienceEditorDynamicCssLoader.chstml&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Second, in your new &lt;code&gt;_ExperienceEditorDynamicCssLoader&lt;/code&gt; partial view, write a &lt;a href=&quot;https://learn.jquery.com/events/event-delegation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;delegated JavaScript event handler&lt;/a&gt; (you don't have to use jQuery, but their docs do a good job of explaining event delegation) to your page that will listen for components being added or &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; elements being added to an &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt;. I haven't tried this with the Experience Editor, so you may need to experiment a bit in order to find the best place to assign this handler and the best event to listen for, but know that events should propagate up the &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt;. Note that you need a delegated JS event handler because a delegated handler listens for events that occurred on child/descendant elements, rather than listening for an event from a specific element or set of elements. This means that a delegated handler can actually listen for elements that are't on the page when the handler was attached. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Third, write the body of your delegated event handler such that it takes the &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; element from the &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; and moves it to the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; of the current page. The following are a few examples of what this might look like in jQuery (which, again, is optional). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the actual &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; node is what gets added to the &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; then the body of your handler should be pretty simple and similar to following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(this).find(&quot;link&quot;).appendTo(&quot;head&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alternatively, if you only have the URL of the CSS and not the actual &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; element in the &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; then you may need to writing something similar to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// get the elements with the URLs from the iFrame&#xA;$(this).find(&quot;selector for elements containing the CSS file URLs&quot;)&#xA;    // move the link from each to the head of the page&#xA;    .each(function() { &#xA;        var cssFileUrl = $(this).GetCssFileUrl(); // replace this call with your own&#xA;        $('&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;' + cssFileUrl + '&quot; &amp;gt;')&#xA;            .appendTo(&quot;head&quot;);&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will actually construct the &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; node for you to append to the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have that, you should be good to go. Your rendering should only ever render in the Experience Editor and all it should do is add the delegated handler, listen for &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; elements being added to the page and then move those elements to &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; of the page you are currently editing. The styles should apply as soon as the &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; element is added to the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-02-28T22:52:36.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4662" PostTypeId="1" AcceptedAnswerId="4805" CreationDate="2017-03-01T03:24:40.533" Score="1" ViewCount="158" Body="&lt;p&gt;We have content that we want to display that is in an area of the site secured from anonymous access. The idea is to show a group of pictures with a link to the content, and if you click it and aren't authenticated, you're bounced to the login page. The catch is, if you aren't logged in, you can't even see that content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the SecurityDisabler is an easy solution, but we want that content to be editable in experience editor as well. We usually use GlassView over the controller rendering, so perhaps one solution is to fill the model via a controller rendering and wrap the get call in SecurityDisabler. What I was wondering if there was a way using GlassView to call the model with SecurityDisabler functionality in it, a switch or option in the model setup perhaps.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-03-08T22:36:04.507" Title="Using SecurityDisabler with Glass Mapper GlassView" Tags="|security|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4663" PostTypeId="1" CreationDate="2017-03-01T04:00:47.710" Score="7" ViewCount="1406" Body="&lt;p&gt;We're using Sitecore 7.2 Update 4, and have 6 Lucene indexes across our sites in a single Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the production environment, but not locally or on staging, the web index is not rebuilt when an item is published and we need to rebuild the index manually. Both staging and production use separate content authoring and delivery servers with the web index rebuild on publish being initiated on Staging but not in Production. Apparently there has been a recent backup of databases from Prod to Staging so there shouldnt be significant differences there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Indexing Strategy on CD: SwitchOnRebuildLuceneIndex&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexUpdateStrategies/onPublishEndAsync&quot;/&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexUpdateStrategies/rebuildAfterFullPublish&quot;/&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexUpdateStrategies/remoteRebuild&quot;/&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And on CM:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;     &amp;lt;strategy ref=&quot;contentSearch/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Errors in Sitecore logs: none&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the conifuration settings in ScalabilitySettings.config exist in the web.config. Although InstanceNames are blank, they are recorded in the EventQueue table successfully using the default format of MachineName-IISSiteName. EnableEventQueues is set to true in web.config. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Im seeing ItemSavedRemote events in the EventQueue in the web db but IndexingStartedEvent is never recorded in the core db.. That seems to be the problem but not sure why the IndexingStartedEvent is not fired.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have had someone out from Sitecore and they have told us the configs look good. Any suggestions as what may be causing the issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE 3/4/17 - Apparently this has started working again in Prod. When an article is published, the index is rebuilt and display on the website. To me, this is still an open issue as we dont know what caused this issue and it may break again - it has started working again once before and then stopped after a couple of months with no code/config changes. Suggestions as to what that might tell us?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="1347" LastEditDate="2017-04-02T23:17:33.793" LastActivityDate="2017-04-02T23:17:33.793" Title="Sitecore 7.2 Not rebuilding Lucene Index" Tags="|lucene|indexing|" AnswerCount="4" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="4664" PostTypeId="1" CreationDate="2017-03-01T06:35:20.970" Score="2" ViewCount="586" Body="&lt;p&gt;I am using personalization in Sitecore 8.2 SXA. I am using the engagement value point condition so that when the number of points reach certain number, the user is shown another content. But it is not working properly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE: Issue Details&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a WFFM form on a page. After submitting that form, the user is redirected to the page where I have applied personalization on a component. The personalization rules for the component are set up with the following logic:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;when a user submits the form, if the engagement value points are greater than 20, then he/she is shown another content&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that when I try to use the credentials of a user who has more than 20 points, it shows the default content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if there is something that I am missing, here?&lt;/p&gt;&#xA;" OwnerUserId="1569" LastEditorUserId="423" LastEditDate="2017-03-03T18:32:40.353" LastActivityDate="2017-03-03T20:36:19.317" Title="Engagement value points condition not working in SXA personalization" Tags="|sxa|personalization|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4665" PostTypeId="2" ParentId="4663" CreationDate="2017-03-01T13:22:17.207" Score="0" Body="&lt;p&gt;I'd hope someone from Sitecore would have checked this, but just in case: Have you looked at your event queue configuration?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a while since I worried about stuff like this, but if I remember correctly, triggering an index operation for Lucene runs it locally (on your CM box) and &lt;a href=&quot;https://sitecorebasics.wordpress.com/2011/03/19/basics-of-sitecore-event-queue/&quot; rel=&quot;nofollow noreferrer&quot;&gt;sends out an event&lt;/a&gt; to inform all the CD boxes that &quot;an index build is required now&quot;. Different rebuild strategies use different events to suit their approach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Off the top of my head, I can think of a few things that might be wrong here that could cause issues with indexing:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Remote events might not be enabled.&lt;br&gt;&#xA;(In the &quot;scalability settings&quot; configuration file I think)&lt;/li&gt;&#xA;&lt;li&gt;The instance names of your servers are odd, so that they don't realise the event being broadcast is for them.&lt;/li&gt;&#xA;&lt;li&gt;Something in the CD server config has detached the index rebuild strategy from the appropriate events, so they fail to respond to the event.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You mentioned using &quot;SynchronousStrategy&quot; - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/index_update_strategies&quot; rel=&quot;nofollow noreferrer&quot;&gt;based on the docs&lt;/a&gt;, I believe that is making use of the events for item-level actions like &quot;ItemSavedRemote&quot;. You might want to check that is triggering on your CD servers?&lt;/p&gt;&#xA;" OwnerUserId="233" LastActivityDate="2017-03-01T13:22:17.207" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4666" PostTypeId="1" AcceptedAnswerId="4676" CreationDate="2017-03-01T13:27:56.290" Score="14" ViewCount="3175" Body="&lt;p&gt;Our production environment has a pretty much standard analytics configuration. MongoDb gets filled up as expected and collected data is up to date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the Analytics dashboard in Sitecore is not up to date. It shows data with a 10 day delay, so no interactions from 10 days ago till now but correct data before that. Also in the last 6 hours the visits bar of the last processed day grew around 25000 visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it seems that the processing service is kinda working correctly but is fully occupied and can't process any faster. Is that possible? Are there any configs we can tweak or is only more hardware doing the trick? Or maybe even outsourcing the reporting service to a dedicated server?&lt;/p&gt;&#xA;" OwnerUserId="364" LastActivityDate="2019-01-15T16:43:22.837" Title="Analytics Dashboard has a 10 day delay and updates only gradually" Tags="|xdb|experience-analytics|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4667" PostTypeId="1" AcceptedAnswerId="4668" CreationDate="2017-03-01T13:34:08.307" Score="3" ViewCount="2530" Body="&lt;p&gt;I have a list of items /{path}/ORG[1-n] which each use a multilist field &quot;Countries&quot; to link to multiple country items. This is a many to many relationship. ORG1 and ORG2 may both link to Country1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to generate a list view (for Excel export) of each ORG-Country relation, with some addition properties for each ORG. In SQL this would be a left join.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.G.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ORG  -  Property1  - Country&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ORG1 - Property1.Value - Country1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ORG1 - Property1.Value - Country2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ORG2 - Property1.Value - Country1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ORG2 - Property1.Value - Country3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a simple way to build this report up - if I use a For Each then I want to be adding a new entry to the report each time like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$ReportList += $ReportLine&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm unsure of the syntax for this, or if there is a simpler way of doing it. I've previously used a property object to extend the report info from a selection of items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Items = Get-Item.......&#xA;&#xA;$property @(&#xA;@{Name=&quot;Property1&quot;;Expression={$PSItem.Property1}}&#xA;@{Name=&quot;Property2&quot;;Expression={... query based on a field of $PSItem...}}&#xA;.....&#xA;)&#xA;&#xA; $Items | Select-Object $property | Show-ListView&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can't see how to use this with the ORG items in the initial query needing to be reported once for each country they contain.&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2017-03-01T15:22:59.393" Title="How to get list view of items plus their linked items in powershell-extensions?" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4668" PostTypeId="2" ParentId="4667" CreationDate="2017-03-01T14:01:54.527" Score="3" Body="&lt;p&gt;James, this sure does sound achievable. If I may, I'll write some pseudo code while I'm away from my development machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how I might approach it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get a list of ORG items.&lt;/li&gt;&#xA;&lt;li&gt;For each of the ORG items, get the IDs from the multilist field and get each of those items. Consider using a hashtable where the key is the ID of the Country and the value is the item.&lt;/li&gt;&#xA;&lt;li&gt;For each of the ORG items, get the property you need. Consider using a hashtable where the key is the ID of the ORG and the value is the propery.&lt;/li&gt;&#xA;&lt;li&gt;Consider creating a new array of objects using [PSCustomObject]@{&quot;Key&quot;=&quot;Value&quot;}. Here you can loop over the ORG items again to build your custom object.&lt;/li&gt;&#xA;&lt;li&gt;Pass the report objects to &lt;code&gt;Show-ListView&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Update with Example&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I wrote this for a case where we have insurance providers and associate them with states.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$insuranceGroups = Get-ChildItem -Path &quot;master:&quot; -ID &quot;{DF58A0D1-5CB7-4D4D-8F6C-D3A3B68218E7}&quot;&#xA;$stateLookup = @{}&#xA;$reportItems = @()&#xA;foreach($insuranceGroup in $insuranceGroups) {&#xA;    $insurancePayers = Get-ChildItem -Path &quot;master:&quot; -ID $insuranceGroup.ID&#xA;    foreach($insurancePayer in $insurancePayers) {&#xA;        $stateIds = [Sitecore.Data.ID]::ParseArray($insurancePayer.InsuredStates)&#xA;        foreach($stateId in $stateIds | ForEach-Object { $_.ToString() }) {&#xA;            $stateName = &quot;&quot;&#xA;            if(!$stateLookup.ContainsKey($stateId)) {&#xA;                $stateItem = Get-Item -Path &quot;master:&quot; -ID $stateId&#xA;                $stateLookup[$stateId] = $stateItem&#xA;                $stateName = $stateItem.StateName&#xA;            } else {&#xA;                $stateItem = $stateLookup[$stateId]&#xA;                $stateName = $stateItem.StateName&#xA;            }&#xA;&#xA;            $reportItem = [PSCustomObject]@{&#xA;                &quot;PayerName&quot;=$insurancePayer.Name&#xA;                &quot;PayerTitle&quot;=$insurancePayer.Title&#xA;                &quot;StateName&quot;=$stateName&#xA;            }&#xA;            $reportItems += $reportItem&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;$reportItems | Show-ListView&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cY7Bt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cY7Bt.png&quot; alt=&quot;Report Image Example&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-03-01T15:22:59.393" LastActivityDate="2017-03-01T15:22:59.393" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4669" PostTypeId="2" ParentId="4667" CreationDate="2017-03-01T14:03:53.733" Score="2" Body="&lt;p&gt;Answering my own question: Use an array object&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$ORGS = Get-ChildItem &quot;{path}&quot;&#xA;&#xA;$Report= @()&#xA;&#xA;Foreach($ORG in $ORGS)&#xA;{&#xA;    $Countries = [add code to retrieve countries from field]&#xA;    Foreach($Country in $Countries)&#xA;    {&#xA;&#xA;    $ReportLine= [Add code to build a report line]&#xA;    $Report += $ReportLine&#xA;    }    &#xA;&#xA;}&#xA;&#xA;$Report | Show-Listview&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="345" LastActivityDate="2017-03-01T14:03:53.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4671" PostTypeId="1" AcceptedAnswerId="6106" CreationDate="2017-03-01T14:38:38.397" Score="5" ViewCount="2056" Body="&lt;p&gt;We are facing a weird issue in experience editor, where we are getting following error - &#xA; &lt;a href=&quot;https://i.stack.imgur.com/KUaCg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KUaCg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;XHTML markup is incorrect near placeholder &quot;header&quot;. For more&#xA;  information about this issue refer to Sitecore Knowledge base article&#xA;  &lt;a href=&quot;https://kb.sitecore.net/articles/365101&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/365101&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I know this error message shows when there some XHTML validation problem.&#xA;But In our case its not related to XHTML validation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The weird thing here is that if I change my placeholder key &quot;header&quot; (i.e. - &quot;Header&quot; or &quot;header1&quot;) and update the presentation details, it resolve the problem. Don't konw what is problem with &quot;header&quot; placeholder key. here the code we are using on layout - &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;@Html.Sitecore().Placeholder(&quot;header&quot;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore version - 8.2 update 2&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-02-07T14:41:00.543" Title="XHTML markup is incorrect near placeholder &quot;header&quot; Error, only for &quot;header&quot; key" Tags="|experience-editor|placeholders|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4673" PostTypeId="1" AcceptedAnswerId="4674" CreationDate="2017-03-01T17:07:20.617" Score="0" ViewCount="1176" Body="&lt;p&gt;Why do my logs fill up with warnings about Crawling Stopped?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this indicating some sort of problem that I need to address?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;5088 00:00:01 WARN  [Index=sitecore_core_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_master_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_web_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_solr_analytics_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_core_index_solr] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_master_index_solr] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_web_index_solr] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_marketing_asset_index_master] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_marketing_asset_index_web] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_marketingdefinitions_master] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_marketingdefinitions_web] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=ac_products_master_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=ac_products_web_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_testing_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_suggested_test_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_fxm_master_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_fxm_web_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_fxm_domains_master] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_fxm_domains_web] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_list_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=social_messages_master] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=social_messages_web] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_core_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_master_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_web_index] Crawling Stopped&#xA;5088 00:00:01 WARN  [Index=sitecore_solr_analytics_index] Crawling Stopped&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastActivityDate="2017-03-02T03:03:27.630" Title="What does the &quot;WARN: Crawling Stopped&quot; warning mean?" Tags="|logging|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4674" PostTypeId="2" ParentId="4673" CreationDate="2017-03-01T17:48:47.710" Score="2" Body="&lt;p&gt;Your Indexing has stopped &amp;amp; log entries are triggered from 'StopIndexing' method as shown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2tgK3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2tgK3.png&quot; alt=&quot;Crawling stopped message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Some Info:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your Sitecore context log file has entries like &lt;strong&gt;'WARN  Sitecore shutting down'&lt;/strong&gt;.This might interrupt the indexing process.&#xA;For More info please follow this &lt;a href=&quot;http://www.symsoftsolutions.com/Blog/List/Index-Rebuild-Stops-Abruptly-in-Sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="891" LastEditDate="2017-03-02T03:03:27.630" LastActivityDate="2017-03-02T03:03:27.630" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4675" PostTypeId="2" ParentId="2373" CreationDate="2017-03-01T18:13:00.430" Score="6" Body="&lt;p&gt;We've just run across a similar issue due to a large number/size of files in &lt;code&gt;__UpgradeHistory&lt;/code&gt; folder on our CI servers which caused us to run out of space on the drive. At a certain point, we don't really care about old files - even if there issues, we only care about the latest ones since that has &lt;a href=&quot;https://jammykam.wordpress.com/2017/01/24/anti-update-rollback-package/&quot; rel=&quot;noreferrer&quot;&gt;the potential to create rollback packages&lt;/a&gt; or would be the files requested by support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We resolved the issue by adding a custom file location to the &lt;code&gt;CleanupAgent&lt;/code&gt; and specifying a &lt;code&gt;maxAge&lt;/code&gt; of 30 days:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;scheduling&amp;gt;&#xA;  &amp;lt;agent type=&quot;Sitecore.Tasks.CleanupAgent&quot;&amp;gt;&#xA;    &amp;lt;files&amp;gt;&#xA;      &amp;lt;remove folder=&quot;$(tempFolder)/__UpgradeHistory&quot; pattern=&quot;*.*&quot; maxAge=&quot;30.00:00:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/files&amp;gt;&#xA;  &amp;lt;/agent&amp;gt;&#xA;&amp;lt;/scheduling&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add as many folder locations as required for your own requirements. Note that by default the agent is scheduled to run every 6 hours (not shown in the patch above).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's also worth looking at the comments in the Sitecore config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;  Specifies files to be cleaned up.&#xA;  If rolling=&quot;true&quot;, [minCount] and [maxCount] will be ignored.&#xA;  [minAge] and [maxAge] must be specified as [days.]hh:mm:ss. The default value of [minAge] is 30 minutes.&#xA;  [strategy]: number of files within hour, day, week, month, year&#xA;  [recursive=true|false]: descend folders?      &#xA;--&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's possible to use a rolling strategy to only keep the latest X files/folders. You should set &lt;code&gt;rolling=true&lt;/code&gt; and the strategy as a comma separate list of values, e.g. &lt;code&gt;stategy=&quot;2,2,2,2,2&quot;&lt;/code&gt;, each value representing the number of files to keep for hour, day, week, month, year.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-03-01T18:13:00.430" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4676" PostTypeId="2" ParentId="4666" CreationDate="2017-03-01T18:23:56.160" Score="20" Body="&lt;p&gt;To answer your first question, yes, it is absolutely possible that the server fulfilling the &lt;em&gt;Processing&lt;/em&gt; role is occupied leading to processing taking a back-seat. Having said that, 10 days is quite a long time so we first have to rule out that something else isn't at play. I would also hazard to say that it is highly unlikely that a single aggregation is taking a whole 10 days to run, so I think we can backlog that possibility for the moment.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Infrastructure and Recent Changes&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Before doing any major troubleshooting, be sure to cover the low-effort basic questions that could help identify/explain/resolve your issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Have there been any recent changes to infrastructure?&lt;/strong&gt; Adding additional CDs, a dedicated Reporting server (N/A to you, based on your comments), a dedicated Processing server (also N/A to you for the same reason), changing or replacing your CM (atypical cause, but possible if scalability settings aren't identical) could all result in a desynchronization of the Collections (MongoDB) and Reporting (SQL) databases&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Have you performed one or more of the actions listed below in the &quot;Reasons for Rebuilding the Reporting Database&quot; section that are cause to rebuild the reporting database?&lt;/strong&gt; If any of the reasons do apply to you, it is possible that the delay is due to the Collections (MongoDB) and Reporting (SQL) databases being out of sync.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Have you added any new processors for Tracking, Reporting or Processing or made any recent changes to the processing agents?&lt;/strong&gt; Such changes could have bugs that may be resulting in the delayed aggregation.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Has the performance of your CM been consistently slow, to the point where the CPU and/or RAM are maxing out on a regular basis?&lt;/strong&gt; This could result in a general slow-down of your CM, which could cause numerous side-effects, including but not limited to a significantly slowdown in aggregation and scheduled agent execution. &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Have you seen any errors in your logs related to processing, aggregation, reporting, tracking, the scheduler, agents (general; non-specific unless it's the aggregation agent), or your MongoDB connection?&lt;/strong&gt; Such errors could indicate a breakdown that could propagate and affect aggregation or prevent aggregation from running in its entirety. &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Have you reviewed your Collections (MongoDB) database to ensure that your instances are historically and currently getting the correct amount of throughput, aren't maxing out on resources (CPU/RAM), and aren't maxing out on connections?&lt;/strong&gt; Such issues could result in issues retrieving data to be aggregated, thus causing the delay but explaining why the data does eventually appear. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Reasons for Rebuilding the Reporting Database&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Per &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/reasons_for_rebuilding_the_reporting_database&quot; rel=&quot;noreferrer&quot;&gt;Sitecore's documentation&lt;/a&gt;, you should rebuild the reporting database if any of the following apply to you. If any of these do apply to you, it is possible that the delay is due to the Collections (MongoDB) and Reporting (SQL) databases being out of sync:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You have used the conversion tool to populate the reporting database with analytics data from an earlier version of Sitecore.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;You have made changes to the collection database – a rebuild is necessary to reflect the changes in reports that use older data. For example, if you have changed the channel associated with one of your referring sites.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;You have reclassified reporting data – In Experience Analytics and other Sitecore reporting applications it is possible to reclassify data that has already been processed by the aggregation layer. For example, if you have reclassified a search key word or channel, aggregated report data is not automatically updated. This can cause the reporting database to become out of sync with the collection database.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Your databases are out of sync – if the reporting database has been lost or has become out of sync with the collection database, for example, due to a disaster or if contacts have been merged. The accuracy of the reporting database can decrease over time as more contacts are merged and more interactions are imported. How often you need to rebuild the reporting database depends on your system architecture and the amount of merges and imports you need to process.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Understanding Analytics Processing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Before we dive into lower-level troubleshooting (e.g. config audits, hardware changes, new instance setup, etc.) let's make sure that we have all of our ducks in a row as far as &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/processing_overview&quot; rel=&quot;noreferrer&quot;&gt;understanding how processing works and what it does&lt;/a&gt;, at a high level (adapted from &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/processing_overview&quot; rel=&quot;noreferrer&quot;&gt;Sitecore's docs&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Visitor interactions are saved to the collections database (MongoDB) on &lt;code&gt;Session_End&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&quot;Collected&quot; interaction data is added to the processing pool in order to &quot;queue&quot; it up for aggregation (processing)&lt;/li&gt;&#xA;&lt;li&gt;A processing &lt;strong&gt;agent&lt;/strong&gt; running on Sitecore's &lt;em&gt;scheduler&lt;/em&gt; runs, checks the processing pool for new interactions, then passes the &quot;queued&quot; interactions to the &lt;em&gt;aggregator&lt;/em&gt; for processing&lt;/li&gt;&#xA;&lt;li&gt;The &lt;em&gt;aggregator&lt;/em&gt; runs the aggregation pipeline over the interactions, which converts (groups, condenses, etc.) the data into a form suitable for the SQL &lt;em&gt;Reporting Database&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;The converted data is then merged into the existing reporting data stored in the SQL &lt;em&gt;Reporting Database&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Troubleshooting &quot;Scheduled&quot; Processing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From the symptoms that you described in the OP, it sounds like &lt;em&gt;processing&lt;/em&gt; works when it actually runs, but the problem is that it isn't being told to run often enough. The key piece in the processing flow (as described above) to consider then is how processing is actually kicked off. Recall that Sitecore relies on a scheduled &lt;strong&gt;agent&lt;/strong&gt; to kick off processing, which can result in processing not running, if the agent's scheduled interval is too large. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The Problem with Agents&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Remember that all agents run on Sitecore's &lt;em&gt;scheduler&lt;/em&gt; and that the greatest pitfall of Sitecore's schedule is that it's interval-based and not date-time-based. In other words, when you configure an&#xA;&lt;em&gt;agent&lt;/em&gt;, you have to set an &lt;strong&gt;interval&lt;/strong&gt; at which the agent should run (e.g. &quot;run every 30 minutes&quot;), as there is no support for setting a specific date-time when you want the agent to run (e.g. &quot;run at 3:05 PM every Tuesday&quot;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fact that Sitecore's agents cannot be set to run at a specific time presents a durability risk for any feature/code/logic/etc. that is dependent on an agent to run. To help understand this risk, consider the following situation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;One has an agent that should run once per every 24 hour period (i.e. 24-hour interval). Assuming that the application was started at 7:00 AM, one would expect that the agent will run shortly after 7:00 AM (or a little later, depending) the next day. However, at 2:00 AM the application pool recycled (could be a crash, could have been scheduled, ... doesn't matter). Assuming that one is aware that the app pool recycle occurred, one must now expect that the agent in question will run shortly after 2:00 AM (or a little later, depending) the following day.&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The situation above describes the start of how an infinite (or near-infinite) &quot;delay&quot; of an agent's execution can occur as a result of Sitecore's scheduler not supporting the scheduling of agents to run at a specific date-time. Were one to be able to schedule an agent for a specific date time, the agent in question would have run at 7:00 PM both the first and second day. However, with the interval scheduling, the agent did not run the first day, will not run the second day, and may not run the third day either, if there is another app pool recycle before the interval has elapsed. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Troubleshooting the Agent&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;First, have a look at your Sitecore and IIS logs and try to find if/when the app pool recycled over the previous two weeks. The app pool recycling could indicate a reason why the agent might not run, but it doesn't eliminate the agent not running as a possibility if a recycle never occurred.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, open up your configs and have a look at your &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_agreggation_agents&quot; rel=&quot;noreferrer&quot;&gt;processing agents&lt;/a&gt;. Make sure that they are configured and that they are set to run at a relatively short interval (I believe the OOTB setting is 15 seconds). If it is not set to the OOTB setting or a relatively low setting then do the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set the interval to a lower setting and test. Note that setting the interval too high can result in the agent never running, while setting it too low can cause collisions between agent executions (just unnecessary overhead, as Sitecore shouldn't run the agent more than once at a time) or too many requests (not super likely with batch aggregation, but it could happen) to the collections DB (MongoDB) or the reporting DB (SQL). &lt;/li&gt;&#xA;&lt;li&gt;Check the &lt;code&gt;MaxThreads&lt;/code&gt; setting and ensure that your processing agents are neither using too many or too few threads (this shouldn't be your issue, since it looks like the problem is that aggregation isn't being started often enough, not that it is running too slowly)&lt;/li&gt;&#xA;&lt;li&gt;Replace your agent's type with a custom inheriting type and have the custom type log a message whenever it runs. This way, you will know exactly when the agent runs without affecting the actual functionality. &lt;/li&gt;&#xA;&lt;li&gt;Remove any custom processors from the processing/aggregation pipelines and retest each of the above&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If your agent is running (you see a message in the logs) but you still don't see any data from the last 10 days (after waiting about 30 minutes or so) then move onto the &quot;Other Troubleshooting Steps&quot; section. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your agent is not running, then you now know what you need to debug, and you can either post another question here or in Sitecore Community Slack for additional support, as needed. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Other Troubleshooting Steps&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If your agent is running and you still don't see any data from the last 10 days, then the next thing you should do is troubleshoot the actual processing of the data. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Audit your CM's Sitecore configuration. Pull down a fresh copy of the &lt;a href=&quot;https://doc.sitecore.net//~/media/4632F85473574DFBB40429D65C8BC1DA.ashx?la=en&quot; rel=&quot;noreferrer&quot;&gt;Config Enable/Disable Excel spreadsheet&lt;/a&gt; from &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;noreferrer&quot;&gt;Sitecore's docs&lt;/a&gt; and ensure that your CM (based on the infrastructure you mentioned: 1 CM, 6 CD, no dedicated processing or reporting) has all of the necessary configs enabled for &lt;em&gt;CM + Processing&lt;/em&gt;. This is because your CM is fulfilling the &lt;em&gt;CM&lt;/em&gt; and &lt;em&gt;Processing&lt;/em&gt; roles. To that end, you may want to also want to verify that the necessary &lt;em&gt;Reporting&lt;/em&gt; configs are enabled, as your &lt;em&gt;CM&lt;/em&gt; also fulfills the &lt;em&gt;Reporting&lt;/em&gt; role. While it is possible that a bug with your reporting configuration could be causing this issue, it is less likely, unless recent changes have been made to your infrastructure or reporting&lt;/li&gt;&#xA;&lt;li&gt;Failing any new discoveries from step 1, proceed with troubleshooting the remainder of the processing flow, as described in &quot;Troubleshooting the Processing Pipeline&quot; section, below. &lt;/li&gt;&#xA;&lt;li&gt;Backup both your collections (MongoDB) and reporting (SQL) databases and then execute history processing (aka rebuild the reporting database). This should help bring your Collections DB and Reporting DB back into sync, if something caused them to lose sync. &lt;/li&gt;&#xA;&lt;li&gt;Reach out to Sitecore Support if none of the above worked&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Troubleshooting the Processing Pipeline&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Remove/disable any custom aggregation processors that you may have&lt;/li&gt;&#xA;&lt;li&gt;Add a custom processor to the top of your aggregation pipeline, and see if it gets called. As before you can do this by logging a message - this time also indicating whether or not the pipeline is aborted. &lt;/li&gt;&#xA;&lt;li&gt;If the processor you added is called and the pipeline is not aborted, then move the process to the end of the pipeline. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If your processor still gets called and the pipeline isn't aborted then your &lt;em&gt;aggregator&lt;/em&gt; may either have a problem with getting the data from collections (MongoDB) or something else could be at play. At this point, I would reach out to Sitecore support for further assistance. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Vertical/Horizontal Scaling and Processing Performance Tuning&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If after troubleshooting the issue, you conclude that you need to improve the performance of your processing engine, then you can do so by tuning the &lt;em&gt;Batch Aggregator&lt;/em&gt;, tuning the &lt;em&gt;aggregation agent&lt;/em&gt;, &lt;em&gt;vertically scaling&lt;/em&gt; your environment or any subset of the three. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Tuning the Batch Aggregator&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When tuning the Batch Aggregator, you have three options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Tune the Batch Aggregation Agent (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/batch_aggregation_overview&quot; rel=&quot;noreferrer&quot;&gt;docs&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Tune the Aggregator (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/batch_aggregation_configuration&quot; rel=&quot;noreferrer&quot;&gt;docs&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Tune both&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The docs do a pretty good job of describing how to tune each. Note that tuning the Batch Aggregator is all about controlling how much you are going to aggregate in a given thread, and how much data you plan to actually save to the Reporting Database (SQL) at a given time. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Tuning the Aggregation Agent&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can customize the performance of your aggregation agents by configuring the number of agents (threads) and the maximum pool size of your agents, following Sitecore's &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_agreggation_agents&quot; rel=&quot;noreferrer&quot;&gt;documentation&lt;/a&gt; which is pretty descriptive. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Vertical Scaling&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The next thing you can try is vertically scaling your environment. &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/scalability_options&quot; rel=&quot;noreferrer&quot;&gt;Vertical Scaling&lt;/a&gt; is when you add more hardware resources (CPU/RAM) to your individual Sitecore instances in order to improve their performance. Vertical Scaling does incur additional hosting costs for the client, but these costs are typically fairly limited as compared to Horizontal Scaling (see then next section).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, if you were to vertically scale your environment to help resolve the issue, then you may consider increasing the CPU/RAM on your CM server, as well as beefing up your MongoDB (more CPU/RAM, load-balancing, etc.) and your SQL instance, as needed. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Horizontal Scaling&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Lastly, you can always add more horizontal scaling to your environment. When working with a production site, unless the client has an extra Sitecore license that they aren't using, this is typically my last resort, as it brings a recurring licensing cost to the client. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/scalability_options&quot; rel=&quot;noreferrer&quot;&gt;Horizontal Scaling&lt;/a&gt; is when you add additional Sitecore instances to perform dedicated jobs, in order to increase overall environmental performance or performance. When you split a Sitecore environment into a Content Management (CM) instance and a Content Delivery (CD) instance, you are vertically scaling the environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, you would be looking to set up either a dedicated &lt;em&gt;Processing&lt;/em&gt; server. In doing so, you would disable Processing on your CM thus improving the performance of your CM instance. You would then add an additional instance to your environment that serves the Processing role and only the processing role, thus significantly improving the performance of processing on that instance and consequently the processing performance of the whole environment.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-02T15:53:53.200" LastActivityDate="2017-03-02T15:53:53.200" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4677" PostTypeId="1" AcceptedAnswerId="4698" CreationDate="2017-03-01T18:27:30.120" Score="3" ViewCount="355" Body="&lt;p&gt;When we deploy our site to our staging slot using the Sitecore Azure module we're running into odd behavior. The second web role instance, SitecoreWebRole_IN_1 is displaying all of the expected content, but the first web role, SitecoreWebRole_IN_0, is missing some content. &lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Clearing the sitecore cache&lt;/li&gt;&#xA;&lt;li&gt;Forcing an Azure Warmup &lt;/li&gt;&#xA;&lt;li&gt;Republishing the missing items in question&lt;/li&gt;&#xA;&lt;li&gt;Verified that the Azure.ServiceRuntime.config file is using:&#xA;&lt;br/&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Azure.Managers.Publishing.PublishTargetRemoteManager, Sitecore.Azure&quot; method=&quot;Synchronize&quot; interval=&quot;00:05:00&quot; /&amp;gt;&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;li&gt;Re-imaging the instance&lt;/li&gt;&#xA;&lt;li&gt;Scaling to only one instance&lt;/li&gt;&#xA;&lt;li&gt;Pointing the instance to different databases with the same content and doing a full republish&lt;/li&gt;&#xA;&lt;li&gt;Completely deleting the slot and redeploying to a new staging slot&lt;br/&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The staging slot is sharing databases with the production slot. Publishing is happening from a PaaS Content Editor deployment. Deployment is from an IaaS VM using the Stiecore Azure Module. Sitecore is running v8.1 rev 151207. The Azure module is v8.1.5344.&lt;/p&gt;&#xA;" OwnerUserId="1270" LastEditorUserId="73" LastEditDate="2018-01-13T20:16:12.083" LastActivityDate="2018-01-13T20:16:12.083" Title="Two CD instances, one is missing content, the second is working as expected" Tags="|azure|deployment|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4678" PostTypeId="1" AcceptedAnswerId="4681" CreationDate="2017-03-01T18:30:15.533" Score="2" ViewCount="862" Body="&lt;p&gt;Whenever I click on submit for a WFFM form, the form does not submit and displays the &lt;code&gt;We experienced a technical difficulty while processing your request. Your data may not have been correctly saved.&lt;/code&gt; error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 Update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the error logs I see the following errors as well:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ERROR Contact processing failed. Service Sitecore.ContentSearch.Analytics...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;18468 2017:03:01 17:27:38 ERROR Contact processing failed. Service &#xA;&#xA;Sitecore.ContentSearch.Analytics.Abstractions.ISettingsAnalytics was not registered in container&#xA;Exception: System.InvalidOperationException&#xA;Message: Service Sitecore.ContentSearch.Analytics.Abstractions.ISettingsAnalytics was not registered in container&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.Abstractions.ObjectLocator.GetInstance[TService]()&#xA;   at Sitecore.ContentSearch.Analytics.Extensions.ContactExtensions.ShouldBeIndexed(IContact contact)&#xA;   at Sitecore.ContentSearch.Analytics.Aggregators.ContactChangeContactAggregator.&amp;lt;ResolveIndexables&amp;gt;d__4.MoveNext()&#xA;   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)&#xA;   at Sitecore.ContentSearch.Analytics.Aggregators.ObservablePipelineProcessorHelper`3.OnProcess(TArgs args, String source)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Aggregation.Pipelines.ContactProcessing.ContactProcessingPipeline.Run(ContactProcessingArgs args)&#xA;   at Sitecore.Analytics.Aggregation.Data.Contact.ContactProcessingAgent.Execute()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ERROR Aggregation Error&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6680 2017:03:01 17:27:38 ERROR Aggregation Error&#xA;Exception: System.InvalidOperationException&#xA;Message: Service Sitecore.ContentSearch.Analytics.Abstractions.ISettingsAnalytics was not registered in container&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.Abstractions.ObjectLocator.GetInstance[TService]()&#xA;   at Sitecore.ContentSearch.Analytics.Extensions.ContactExtensions.ShouldBeIndexed(IContact contact)&#xA;   at Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsVisitAggregator.&amp;lt;ResolveIndexables&amp;gt;d__4.MoveNext()&#xA;   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)&#xA;   at Sitecore.ContentSearch.Analytics.Aggregators.ObservablePipelineProcessorHelper`3.OnProcess(TArgs args, String source)&#xA;   at Sitecore.Analytics.Aggregation.Pipeline.AggregationProcessor.Process(AggregationPipelineArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ERROR Error during aggregation.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6680 2017:03:01 17:27:38 ERROR Error during aggregation.&#xA;Exception: System.InvalidOperationException&#xA;Message: Service Sitecore.ContentSearch.Analytics.Abstractions.ISettingsAnalytics was not registered in container&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.Abstractions.ObjectLocator.GetInstance[TService]()&#xA;   at Sitecore.ContentSearch.Analytics.Extensions.ContactExtensions.ShouldBeIndexed(IContact contact)&#xA;   at Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsVisitAggregator.&amp;lt;ResolveIndexables&amp;gt;d__4.MoveNext()&#xA;   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)&#xA;   at Sitecore.ContentSearch.Analytics.Aggregators.ObservablePipelineProcessorHelper`3.OnProcess(TArgs args, String source)&#xA;   at Sitecore.Analytics.Aggregation.Pipeline.AggregationProcessor.Process(AggregationPipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Aggregation.Pipeline.AggregationPipeline.Run(AggregationPipelineArgs args)&#xA;   at Sitecore.Analytics.Aggregation.InteractionAggregator.Aggregate(Byte[] recordKey, IAggregationContext context)&#xA;   at Sitecore.Analytics.Aggregation.Aggregator.Execute()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Screenshot of the Include Directory:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7Ew2F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7Ew2F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding the following block of XML to the Sitecore.ContentSearch.Analytics.config got rid of the three above errors in the error log.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;hooks&amp;gt;&#xA;  &amp;lt;hook type=&quot;Sitecore.ContentSearch.Analytics.Hooks.Initializer, Sitecore.ContentSearch.Analytics&quot; /&amp;gt;&#xA;&amp;lt;/hooks&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, the &lt;code&gt;We experienced a technical difficulty while processing your request. Your data may not have been correctly saved.&lt;/code&gt; error is still present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not seeing any relevant errors. But, there are warnings. I created a basic console application and verified that the server can send email via the SMTP server configured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WARN [WFFM] Failure sending mail.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8612 2017:03:02 15:48:35 WARN [WFFM] Failure sending mail.&#xA;Exception: System.Net.Mail.SmtpException&#xA;Message: Failure sending mail.&#xA;Source: System&#xA;   at System.Net.Mail.SmtpClient.Send(MailMessage message)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Forms.Core.Dependencies.DefaultImplMailSender.SendMail(IEmailAttributes emailAttributes, ID formId, AdaptedResultList fields, Object[] data)&#xA;   at Sitecore.Forms.Core.Dependencies.DefaultImplActionExecutor.ExecuteSaving(ID formID, ControlResult[] fields, IActionDefinition[] actionDefinitions, Boolean simpleAdapt, ID sessionID)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: Unable to connect to the remote server&#xA;Source: System&#xA;   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress&amp;amp; address, Socket&amp;amp; abortSocket, Socket&amp;amp; abortSocket6)&#xA;   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)&#xA;   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)&#xA;   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)&#xA;   at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)&#xA;   at System.Net.Mail.SmtpClient.GetConnection()&#xA;   at System.Net.Mail.SmtpClient.Send(MailMessage message)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.175.228:25&#xA;Source: System&#xA;   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)&#xA;   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp;amp; socket, IPAddress&amp;amp; address, ConnectSocketState state, IAsyncResult asyncResult, Exception&amp;amp; exception)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WARN [WFFM] The 'Send Email Message&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8612 2017:03:02 15:48:35 WARN [WFFM] The 'Send Email Message[id={D4502A11-9417-4479-9F2A-485F45D2E2D0}]' save action failed: We experienced a technical difficulty while processing your request. Your data may not have been correctly saved.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WARN [WFFM] Web Forms for Marketers: an exception&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8612 2017:03:02 15:48:35 WARN [WFFM] Web Forms for Marketers: an exception: We experienced a technical difficulty while processing your request. Your data may not have been correctly saved. has occured while trying to execute an action.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The wrong host parameter was found in the Submit Parameters value for the Send Email Message item. After correcting this value the emails are sending fine.&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2017-03-03T14:47:32.657" LastActivityDate="2017-03-03T14:47:32.657" Title="Contact processing failed. Service Sitecore.ContentSearch.Analytics" Tags="|wffm|" AnswerCount="2" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="4679" PostTypeId="1" AcceptedAnswerId="4690" CreationDate="2017-03-01T18:33:49.050" Score="1" ViewCount="401" Body="&lt;p&gt;I'm trying to do a deploy in a new environment for the first time, and I'm getting the error &quot;Duplicate Sitecore ID's found in files sitecore\system\Settings.item and sitecore\system\Settings.item.&quot; This is a standard Sitecore item, and it's in TDS because a child of it was modified, but the IDs are the same when I look at the comparison chart. I can do a &quot;sync with Sitecore&quot; operation just fine, but I'm not sure why a deploy would complain about this instead of just skipping it, since there's no changes.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-03-02T18:12:30.020" Title="TDS: Duplicate Sitecore IDs error on system/Settings" Tags="|tds|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4680" PostTypeId="2" ParentId="4679" CreationDate="2017-03-01T21:06:14.757" Score="0" Body="&lt;p&gt;Check the TDS csproj file for multiple instances of the item. I've seen this happen when items are added and moved and synced again and the parent gets duplicated in the project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that the deployment properties are set correctly:&#xA;From your TDS project, right-click on the 'system' node and open the Deployment Property Manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The system node should be Item Deploy: Once, Child Item Sync: None. This will prevent TDS from attempting to sync all of the children under 'system'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Settings node can inherit from system (parent).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Custom folders under Settings should be Item Deploy: Once, Child Item Sync: All Children. Child items can inherit from the parent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item Deploy: Once will cause TDS to check for the presence of an item prior to adding it to the destination environment and skip it if it already exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I have and this gets deployed every day without incident:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mXSd6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mXSd6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="1150" LastEditDate="2017-03-02T15:34:02.267" LastActivityDate="2017-03-02T15:34:02.267" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4681" PostTypeId="2" ParentId="4678" CreationDate="2017-03-01T21:39:57.037" Score="3" Body="&lt;p&gt;The error that I see that makes sense to me that I see in your error messages is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Service&#xA;  Sitecore.ContentSearch.Analytics.Abstractions.ISettingsAnalytics was&#xA;  not registered in container&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This indicates to me that &lt;code&gt;ISettingsAnalytics&lt;/code&gt; isn't registered in the DI container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would check to make sure you have &lt;strong&gt;Sitecore.ContentSearch.Analytics.config&lt;/strong&gt; enabled.  This config, among other things, adds the initialization hook that registers &lt;code&gt;ISettingsAnalytics&lt;/code&gt; to the container.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;hooks&amp;gt;&#xA;  &amp;lt;hook type=&quot;Sitecore.ContentSearch.Analytics.Hooks.Initializer, Sitecore.ContentSearch.Analytics&quot; /&amp;gt;&#xA;&amp;lt;/hooks&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If this config file is enabled, check the &lt;strong&gt;ShowConfig.aspx&lt;/strong&gt; page and do a search for &lt;em&gt;Analytics.Hooks.Initializer&lt;/em&gt; and see if it's present.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-03-01T21:39:57.037" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4682" PostTypeId="1" CreationDate="2017-03-01T21:57:24.903" Score="5" ViewCount="1138" Body="&lt;p&gt;Is there a way to set &lt;code&gt;Media.MediaLinkServerUrl&lt;/code&gt; value per sitecore site? basically I would like to use CDN for main &lt;code&gt;website&lt;/code&gt; by specifying the cdn domain as MediaLinkServerUrl value but not for one of the other sites in multi-site setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible without writing any custom media link resolver logic?&lt;/p&gt;&#xA;" OwnerUserId="1128" LastActivityDate="2017-03-01T22:11:45.537" Title="MediaLinkServerUrl per site" Tags="|media-library|multisite|cdn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4683" PostTypeId="2" ParentId="4682" CreationDate="2017-03-01T22:11:45.537" Score="4" Body="&lt;p&gt;Custom code is necessary to achieve this since you want to generate media urls in different ways based on the context site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Override the MediaProvider and provide config nodes to determine which sites use CDN urls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a sitecore config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;hooks&amp;gt;&#xA;      &amp;lt;hook type=&quot;Project.Web.Hooks.MediaProvider, Project.Web&quot;&amp;gt;&#xA;        &amp;lt;OriginPrefix&amp;gt;https://projectcdn.blob.core.windows.net/CDN/&amp;lt;/OriginPrefix&amp;gt;&#xA;        &amp;lt;Sites&amp;gt;Site1|Site2&amp;lt;/Sites&amp;gt;&#xA;      &amp;lt;/hook&amp;gt;&#xA;    &amp;lt;/hooks&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create a class that inherits from MediaProvider and implements the GetMedia methods to do what you want:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MediaProvider : Sitecore.Resources.Media.MediaProvider, IHook&#xA;{&#xA;    // get the values from the inner config nodes&#xA;    public string OriginPrefix { get; set; }&#xA;    public string Sites { get; set; }&#xA;&#xA;    public List&amp;lt;string&amp;gt; AllowedSites&#xA;    {&#xA;        get { return string.IsNullOrEmpty(Sites) ? new List&amp;lt;string&amp;gt;() : Sites.Split('|').Where(x =&amp;gt; !string.IsNullOrEmpty(x)).ToList(); }&#xA;    }&#xA;&#xA;    public void Initialize()&#xA;    {&#xA;        MediaManager.Provider = this;&#xA;    }&#xA;&#xA;    public override string GetMediaUrl(MediaItem item)&#xA;    {&#xA;        return GetMediaUrl(base.GetMediaUrl(item), item);&#xA;    }&#xA;&#xA;    public override string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;    {&#xA;        return GetMediaUrl(base.GetMediaUrl(item, options), item);&#xA;    }&#xA;&#xA;    public string GetMediaPath(MediaItem mediaItem, string extension = &quot;&quot;)&#xA;    {&#xA;        var str = MainUtil.EncodeName(mediaItem.Name);&#xA;        return mediaItem.MediaPath.TrimStart('/').Replace(mediaItem.DisplayName, str + &quot;.&quot; + extension).ToLower();&#xA;    }&#xA;&#xA;    public string GetMediaUrl(string mediaUrl, MediaItem item)&#xA;    {&#xA;        if ((Context.Database != null &amp;amp;&amp;amp; Context.Database.Name == &quot;core&quot;) || string.IsNullOrEmpty(OriginPrefix))&#xA;        {&#xA;            return mediaUrl;&#xA;        }&#xA;&#xA;        if (mediaUrl.ToLower().Contains(&quot;-/media/&quot;))&#xA;        {&#xA;            mediaUrl = OriginPrefix + mediaUrl.Substring(mediaUrl.LastIndexOf(&quot;-/media/&quot;, StringComparison.Ordinal) + 8, mediaUrl.Length - 8 - mediaUrl.LastIndexOf(&quot;-/media/&quot;, StringComparison.Ordinal)).ToLower();&#xA;        }&#xA;&#xA;        if (mediaUrl.ToLower().Contains(&quot;?&quot;))&#xA;        {&#xA;            mediaUrl = mediaUrl.Split('?')[0];&#xA;        }&#xA;&#xA;        // cache busting&#xA;        mediaUrl = $&quot;{mediaUrl}?rv={item.InnerItem.Statistics.Revision}&quot;;&#xA;&#xA;        return mediaUrl;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case I'm defining the cdn origin prefix in config as well and using that to construct the media url. The AllowedSites property can be used to determine whether to use the base or custom implementations based on the context site (this is not included in the example).&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-03-01T22:11:45.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4684" PostTypeId="2" ParentId="4678" CreationDate="2017-03-02T02:48:17.853" Score="0" Body="&lt;p&gt;You have enabled Solr and Lucene at the same time for the same index. Particularly Analytics index seems to be miss-behaving here. You may have to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/search_and_indexing/indexing/configure_a_search_and_indexing_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;reconfigure your indexing&lt;/a&gt; to use either Solr or Lucene. You cannot have both enabled at the same time for the same index. &lt;/p&gt;&#xA;" OwnerUserId="1524" LastActivityDate="2017-03-02T02:48:17.853" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4687" PostTypeId="1" AcceptedAnswerId="4825" CreationDate="2017-03-02T07:26:16.160" Score="2" ViewCount="1440" Body="&lt;p&gt;I am working on SPEAK UI in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created the button, Which is named as &lt;strong&gt;Edit Meta&lt;/strong&gt; under &lt;code&gt;content/webedit/ribbons/webedit&lt;/code&gt; in core database. This button will be shown in Experience Editor section when I click &lt;strong&gt;Edit Meta&lt;/strong&gt; button. I need to show the Data in a popup window related to that particular Meta section. I gave the command name, script file path, Access Key in button layout properties. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i click the button in Experience Editor it shows below error. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A serious error occurred please contact the administrator&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I un-commented the code which is related to SPEAK ui  in &lt;code&gt;sitecoreMvcExperienceEditor.config&lt;/code&gt; also. I have added &lt;code&gt;Sitecore.Support.122942.dll&lt;/code&gt; also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the log file and it shows &lt;code&gt;Could not instantiate speak request object&lt;/code&gt;. Please suggest how to resolve this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed below steps.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I logged into &lt;code&gt;core&lt;/code&gt; database using Sitecore Rocks.&lt;/li&gt;&#xA;&lt;li&gt;I have created the Item(Meta) using strip template under &lt;code&gt;Content/Applications/Webedit/Ribbons/Webedit/&lt;/code&gt; in &lt;code&gt;core&lt;/code&gt; database and given the Header Name and Id .&lt;/li&gt;&#xA;&lt;li&gt;Added strip layout for Meta Item in presentation details.&lt;/li&gt;&#xA;&lt;li&gt;Created the Item Under Meta by using Chunk template, given HeaderName and Added Chunk layout in presentation details.&lt;/li&gt;&#xA;&lt;li&gt;Created another item(EditMeta) under Meta chunk using Largebutton template &amp;amp; given the Header name also.&lt;/li&gt;&#xA;&lt;li&gt;Added the LargeButton rendering for MetaData in presentation details.&lt;/li&gt;&#xA;&lt;li&gt;I have edited the property details of Largebutton rendering. below I mentioned the property details of Largebutton rendering.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://i.stack.imgur.com/TARYA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TARYA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My Js file.`&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;/-/speak/v1/ExperienceEditor/ExperienceEditor.js&quot;], function (Sitecore, ExperienceEditor)&#xA;&#xA;&#xA;{&#xA;&#xA;Sitecore.Commands.LaunchFieldEditor =&#xA;{&#xA;    canExecute: function (context) {&#xA;        return true;&#xA;    },&#xA;    execute: function (context) {&#xA;&#xA;&#xA;        context.currentContext.argument = context.button.viewModel.$el[0].accessKey;&#xA;&#xA;        ExperienceEditor.PipelinesUtil.generateRequestProcessor(&quot;ExperienceEditor.GenerateFieldEditorUrl&quot;, function (response) {&#xA;&#xA;            var DialogUrl = response.responseValue.value;&#xA;            var dialogFeatures = &quot;dialogHeight: 680px;dialogWidth: 520px;&quot;;&#xA;            ExperienceEditor.Dialogs.showModalDialog(DialogUrl, '', dialogFeatures, null);&#xA;        }).execute(context);&#xA;&#xA;    }&#xA;};&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;`&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GenerateFieldEditorUrl : PipelineProcessorRequest&amp;lt;ItemContext&amp;gt;&#xA;{&#xA;&#xA;&#xA;public string GenerateUrl()&#xA;&#xA;{&#xA;    var fieldList = CreateFieldDescriptors(RequestContext.Argument);&#xA;    var fieldeditorOption = new FieldEditorOptions(fieldList);&#xA;    //Save item when ok button is pressed&#xA;    fieldeditorOption.SaveItem = true;&#xA;    return fieldeditorOption.ToUrlString().ToString();&#xA;}&#xA;private List&amp;lt;FieldDescriptor&amp;gt; CreateFieldDescriptors(string fields)&#xA;{&#xA;    var fieldList = new List&amp;lt;FieldDescriptor&amp;gt;();&#xA;    var fieldString = new ListString(fields);&#xA;    foreach (string field in new ListString(fieldString))&#xA;        fieldList.Add(new FieldDescriptor(RequestContext.Item, field));&#xA;    return fieldList;&#xA;}&#xA;public override PipelineProcessorResponseValue ProcessRequest()&#xA;{&#xA;    return new PipelineProcessorResponseValue&#xA;    {&#xA;        Value = GenerateUrl()&#xA;    };&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I added the reference in &lt;code&gt;Sitecore.ExperienceEditor.SpeakRequest.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&#xA;        &amp;lt;request name=&quot;ExperienceEditor.GenerateFieldEditorUrl&quot; type=&quot;Website.Modules.Components.ExperienceEditor.FieldEditor.GenerateFieldEditorUrl, Website.Modules&quot; /&amp;gt;&#xA;    &amp;lt;/sitecore.experienceeditor.speak.requests&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please suggest, how to fix this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks in advance &lt;/p&gt;&#xA;" OwnerUserId="949" LastEditorUserId="2727" LastEditDate="2018-03-01T10:01:16.517" LastActivityDate="2018-03-12T00:00:41.487" Title="A serious error occurred please contact the administrator" Tags="|sitecore-client|speak|javascript|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4689" PostTypeId="2" ParentId="4651" CreationDate="2017-03-02T11:30:27.263" Score="5" Body="&lt;p&gt;&lt;strong&gt;Background information&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During dispatch, all links are replaced with a link to /sitecore/RedirectUrlPage.aspx with additional query string parameters such as contact id and message id. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;RedirectUrlPage.aspx runs the redirectUrl pipeline, which is responsible for several things, e.g. adding click events based on the query string parameters. After running the pipeline, it will redirect you to the actual link e.g. /sitecore/unsubscribe.aspx.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The link to redirect to is set in the redirectUrl/SetRedirectToUrl pipeline processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, because some links require the query string parameters, those query string parameters needs to be passed along from RedirectUrlPage.aspx to the next page. The redirectUrl/SetRedirectToUrl pipeline processor does this using the internalCarryoverFields configuration of the processor, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;internalCarryoverFields hint=&quot;list:AddInternalCarryoverField&quot;&amp;gt;&#xA;    &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;fieldKey&quot; value=&quot;mid&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*Unsubscribe.aspx&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/carryoverField&amp;gt;&#xA;&amp;lt;/internalCarryoverFields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The fieldKey being the query string parameter, and the urlPattern the url pattern where the fieldKey should be passed to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case we're telling that the query string parameter &quot;mid&quot; should be passed on to any internal urls matching the .*Unsubscribe.aspx pattern.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, to reiterate:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Link in email: &amp;lt;a href=&quot;http://www.yourdomain.com/Unsubscribe.aspx&quot;&amp;gt;Unsubscribe&amp;lt;/a&amp;gt;&lt;/li&gt;&#xA;&lt;li&gt;Is transformed by EXM into: &amp;lt;a href=&quot;http://www.yourdomain.com/RedirectUrlPage.aspx?eq=encryptedquerystring&quot;&amp;gt;Unsubscribe&amp;lt;/a&amp;gt;&lt;/li&gt;&#xA;&lt;li&gt;Contact clicks the link and RedirectUrlPage redirects you to:&#xA;&lt;a href=&quot;http://www.yourdomain.com/Unsubscribe.aspx?mid=value&quot; rel=&quot;noreferrer&quot;&gt;http://www.yourdomain.com/Unsubscribe.aspx?mid=value&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Problem and solution&lt;/strong&gt;&#xA;The urlPattern matching is case-sensitive, so you need to either change your links to Unsubscribe.aspx (with capital U), or add the lower-case variation to your configuration (Sitecore.EmailExperience.ContentDelivery.config).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This bug is fixed in the next EXM release.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-03-02T11:30:27.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4690" PostTypeId="2" ParentId="4679" CreationDate="2017-03-02T13:39:51.907" Score="6" Body="&lt;p&gt;I have got issues like that before and most of times there are two items with same name and Id. Please check through the content editor if you see a duplicate item sitecore\system\Settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is not the case, did you recently update your TDS to a recent version? If so please check this (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/886/duplicate-item-errors-when-syncing-a-tds-project&quot;&gt;Duplicate item errors when syncing a TDS project&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should focus on solving the issue rather than setting the item to stop syncing to TDS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="1203" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-02T18:12:30.020" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4691" PostTypeId="1" CreationDate="2017-03-02T14:01:21.813" Score="11" ViewCount="161" Body="&lt;p&gt;I am working on setting up AD Roles provider and I have run into a bit of an  issue -- I am hoping it can be worked around with some fancy configuration however at this point I am not sure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Background:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My client has 3 domains with a trust between them (no forest).  Inside each domain they have a top level OU for containing groups and under than they have 3 or 4 OUs used to organize things -- one of which is a &quot;disabled&quot; OU.  Within these OUs there is approximately 110,000 groups (about 30,000 if you exclude the &quot;disabled&quot; OU&quot;). You might ask, do I need all of these groups?  The answer is yes and no.  I need to be able to support any group that is created by the organization as a possible role within the Sitecore sites and the AD team do NOT put the groups for Sitecore in a single location as it would break all of their entire processes (GPOs, wizards for creating/managing etc.).  So that leads me to the following issues/questions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I cannot seem to figure out how to sync multiple OUs for a single Domain (let alone 3 domains)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I tried using the switcher provider and configuring multiple providers and connection strings for each OU, however when I added multiple entries in the sitecore.config for the roles provider pointing to the same domain I threw an exception that this was not supported&lt;/li&gt;&#xA;&lt;li&gt;I cannot seem to figure out how to EXCLUDE a single OU when syncing the parent OU&lt;/li&gt;&#xA;&lt;li&gt;I tried using the custom Filter expression on the provider however there doesn't seem to be any syntax that will exclude a sub OU (only sub CNs which will not work for me) and from looking online, in a Microsoft AD environment it may not even be possible.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Loading ALL 110,000 groups results in a 5+ min load time every-time the app pool recycles and the user goes to select a role&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;From what I can tell the &quot;cache&quot; for roles is not very robust and clears out rather quickly (regardless of settings)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is for the roles provider, eventually I am going to need to setup the Membership provider and it is even worse :) As I have about 200,000 users that will be synchronized unless I can figure out how to narrow down the sync to multiple specific OUs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example AD Structure (these are ALL OUs except the root)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Root Domain&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Groups&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Distribution Lists&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;OU1&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Group 1&lt;/li&gt;&#xA;&lt;li&gt;Group 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;OU2&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Group 1&lt;/li&gt;&#xA;&lt;li&gt;Group 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;...&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Security&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;OU1&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Group 1&lt;/li&gt;&#xA;&lt;li&gt;Group 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;OU2&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Group 1&lt;/li&gt;&#xA;&lt;li&gt;Group 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;...&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Disabled&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;...&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Accounts&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Service&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;OU1&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Account 1&lt;/li&gt;&#xA;&lt;li&gt;Account 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;OU2&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Account 1&lt;/li&gt;&#xA;&lt;li&gt;Account 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;...&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;User&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;OU1&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Account 1&lt;/li&gt;&#xA;&lt;li&gt;Account 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;OU2&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Account 1&lt;/li&gt;&#xA;&lt;li&gt;Account 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;...&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Server&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;OU1&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Account 1&lt;/li&gt;&#xA;&lt;li&gt;Account 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;OU2&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Account 1&lt;/li&gt;&#xA;&lt;li&gt;Account 2&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;...&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1631" LastEditorUserId="131" LastEditDate="2017-09-26T15:40:00.440" LastActivityDate="2017-09-26T15:52:16.443" Title="Performance Related Issue - Active Directory, Roles Provider, Multiple documents, and 110,000 groups across multiple OUs" Tags="|active-directory-module|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="4692" PostTypeId="1" AcceptedAnswerId="4695" CreationDate="2017-03-02T14:26:07.520" Score="2" ViewCount="492" Body="&lt;p&gt;Hi I am setting up a commerce site following this tutorial here:&#xA;&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_SC_SetUpCommerceServerSite.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_SC_SetUpCommerceServerSite.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but when I run the &lt;code&gt;Initialize-CSSite&lt;/code&gt; command in Windows PowerShell, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The operation cannot be performed because this Commerce Server instance has not been configured.  Please run CSConfig.exe to configure Commerce Server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I run the CSConfig.exe I get:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The term 'CSConfig.exe' is not recognized as the name of a cmdlet, function, script file, or operable program.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I am assuming I need to import a module for this? Does anyone know how to address this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I see the CommerceServer.Core.config file under App_Config for my local website folder.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="342" LastEditDate="2019-04-30T15:42:11.677" LastActivityDate="2019-04-30T15:42:11.677" Title="The operation cannot be performed because this Commerce Server instance has not been configured" Tags="|sitecore-commerce|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="4693" PostTypeId="1" CreationDate="2017-03-02T15:43:39.967" Score="0" ViewCount="248" Body="&lt;p&gt;We have a single page application (Angular JS). We would like to bring it to the FXM, connection with beacon is successful, everything looks good. Until I open the the web site in FXM experience editor, and it is blank. I have read on the official web site about the limitations that FXM does not support. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Dynamic HTML generated by Document Object Model (DOM) or modified by&#xA;  JavaScript.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone know a workaround maybe for this? How can I have my Angular Application&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="73" LastEditDate="2018-02-26T09:13:14.480" LastActivityDate="2018-02-26T09:13:14.480" Title="Angular JS and FXM" Tags="|fxm|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="4695" PostTypeId="2" ParentId="4692" CreationDate="2017-03-02T16:43:29.283" Score="4" Body="&lt;p&gt;The problem with the CSConfig was that CS was failing although the message on the wizard was that it was complete. It did not show any error messages.&#xA;Reinstalling with elevated privileges and leaving the default administrator user properly installed CS. After that I was able to run the Initialize-CSSite command.&#xA;hope this helps anyone&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-03-14T03:00:26.793" LastActivityDate="2017-03-14T03:00:26.793" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4696" PostTypeId="2" ParentId="4646" CreationDate="2017-03-02T17:31:23.587" Score="5" Body="&lt;p&gt;Some have already mentioned about the use of TAGS and I would like to reinforce this is a very good practice. It is considerably an easy solution to develop and the content editors will appreciate the simplicity. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a suggestion of how you could implement this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create the following structure (use a template and name it 'Questions Listing' for example).&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ivf6P.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ivf6P.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a &quot;Question&quot; template containing a 'Treelist' field called 'TAGS'. This filed will be used to filter your questions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9CMGa.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9CMGa.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You see, the 'Questions Listing' will only list 'Question' items!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now on each 'question' you can set the related tags.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JU7ht.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JU7ht.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this is useful for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&lt;/p&gt;&#xA;" OwnerUserId="1203" LastActivityDate="2017-03-02T17:31:23.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4698" PostTypeId="2" ParentId="4677" CreationDate="2017-03-02T17:58:44.617" Score="2" Body="&lt;p&gt;In most cases where there are issues with publishing to content delivery servers, caches not clearing, or events not firing, it is generally due to Instance Name issues.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The Instance Name&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the &lt;strong&gt;ScalabilitySettings.config&lt;/strong&gt;, when enabled for a distributed environemnt, there is a Sitecore Setting called &lt;strong&gt;InstanceName&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!--  INSTANCE NAME&#xA;            Unique name for Sitecore instance.&#xA;            Default value: (machine name and IIS site name)&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The default value, uses the Machine Name and IIS Site Name. However in rare cases where servers have the same name, this can result in issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Core database, the &lt;em&gt;EventQueue&lt;/em&gt; table uses the instancename of the Sitecore server to determine whether or not it has acted upon events that have been registered. If two servers, inadvertantly have the same &lt;strong&gt;InstanceName&lt;/strong&gt; then when the first server acts on any events in the table, it will set a bit saying that it has acted on it.   When the second server checks the table, using it's &lt;strong&gt;InstanceName&lt;/strong&gt; as a filter, if it sees the event has been dealt with, it does nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Typically, ensuring that the instance name is unique for each Sitecore server will prevent any issues with publishing or events not clearing.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-03-02T17:58:44.617" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4700" PostTypeId="2" ParentId="2191" CreationDate="2017-03-02T19:04:45.590" Score="6" Body="&lt;p&gt;You should be able to see the 'preview' of the page working as expected before sending content to production. With that said, this seems to be more like a code related issue rather than a cache problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To investigate CACHING issues please please try these suggestions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Open your domain/sitecore on a private browser (incognito mode). This will disable browsing history and the web cache. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Clear your Sitecore cache.&#xA;Access youdomain/sitecore/admin/cache.aspx page. This page displays details about the caching settings configured. This includes database prefetch, data cache, item cache, HTML cache, etc.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To Investigate issues on the Experience Editor please try these suggestions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Open your experience editor and use the Browser Inspector. Go to DEBUG tab on Firefox (or SOURCE on Chrome), select your CSS file and verify if the content of your latest CSS is being load it.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check the CONSOLE tab on the inspector and see if your page loads without errors.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I hope that helps you to investigate this issue.&lt;/p&gt;&#xA;" OwnerUserId="1203" LastActivityDate="2017-03-02T19:04:45.590" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4701" PostTypeId="1" AcceptedAnswerId="4719" CreationDate="2017-03-02T19:17:48.630" Score="0" ViewCount="755" Body="&lt;p&gt;With TDS, I can set a non-local URL as my target website, leave the deploy folder blank, and do a &quot;sync with Sitecore&quot; just fine to push items. But it says I need a folder specified if I want to use the &quot;Deploy&quot; option instead. Is there any way to do ad-hoc remote deployments through Visual Studio?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-03-03T13:24:26.143" Title="TDS remote deployment" Tags="|tds|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4702" PostTypeId="2" ParentId="4646" CreationDate="2017-03-02T22:30:32.503" Score="3" Body="&lt;h1&gt;What are the relations?&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;As we briefly discussed in comments; how articles relate can be a very complicated setup. In this instance the assumption will be that of &lt;code&gt;category affinity&lt;/code&gt;. So put very simply; &lt;code&gt;the more categories two articles have in common, the more related they are&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While a very simplified approach, this is actually a surprisingly good starting point for many scenarios. If the need is, to be more advanced, it would be possible to differentiate the weighting based on super- and sub-categories. For this example, I'll not go into that.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The setup&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Much as per my 2009 blog post listed above (although I am even more lazy with the test data this time around) - I've done a simple Sitecore IA to demonstrate this.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Template setup&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A very simple Article and Category template. Article holds a &lt;code&gt;MultilistField&lt;/code&gt; to tag categories. Can be any of Sitecores Multi link field types, I use &lt;code&gt;TreelistEx&lt;/code&gt; here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ABWCB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ABWCB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Content Setup&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Just a few articles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E9WeH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E9WeH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;A bit of test code to demonstrate&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A quick .aspx mockup. Nothing special here.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        var articlesRoot = Sitecore.Context.Database.GetItem(&quot;/sitecore/content/Home/Articles&quot;);&#xA;        var articles = articlesRoot.GetChildren();&#xA;&#xA;        foreach (Item article in articles)&#xA;        {&#xA;            Response.Write(&quot;&amp;lt;strong&amp;gt;Article: &quot; + article.Paths.FullPath + &quot;&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&quot;);&#xA;            foreach (var relatedArticle in GetRelatedArticles(article))&#xA;            {&#xA;                // Do something with these&#xA;                Response.Write(relatedArticle.Paths.FullPath + &quot;&amp;lt;br /&amp;gt;&quot;);&#xA;            }&#xA;            Response.Write(&quot;&amp;lt;hr /&amp;gt;&quot;);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The core of the problem&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;With all of that out of the way; I will demonstrate how to solve this using the built-in Sitecore LinkDatabase. A little known gem, even if I do my best to promote it whenever I can ;-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short steps; this is how the method &lt;code&gt;GetRelatedArticles&lt;/code&gt; operates.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Get all referenced categories from the article in question&lt;/li&gt;&#xA;&lt;li&gt;For each of those categories, collect all articles that use the category&lt;/li&gt;&#xA;&lt;li&gt;Record the number of articles count for the category&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In code, this comes out as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private IEnumerable&amp;lt;Item&amp;gt; GetRelatedArticles(Item article)&#xA;    {&#xA;        // Dirty; no argument checking, no null checking. Just barebones.&#xA;&#xA;        var referenceCount = new Dictionary&amp;lt;ID,int&amp;gt;();&#xA;        MultilistField mlf = article.Fields[&quot;Article Categories&quot;];&#xA;&#xA;        foreach (Item categoryItem in mlf.GetItems())&#xA;        {&#xA;            var articleLinksInCategory = Globals.LinkDatabase.&#xA;                GetItemReferrers(categoryItem, false).&#xA;                Where(al =&amp;gt; al.SourceFieldID == mlf.InnerField.ID);&#xA;&#xA;            foreach (var articleLink in articleLinksInCategory)&#xA;            {&#xA;                if (articleLink.SourceItemID != article.ID)&#xA;                {&#xA;                    if (referenceCount.ContainsKey(articleLink.SourceItemID))&#xA;                        referenceCount[articleLink.SourceItemID]++;&#xA;                    else&#xA;                        referenceCount[articleLink.SourceItemID] = 1;&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code then continues to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Build up a list of all the referenced articles, along with their count&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Comes out like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        var articlesWithCount = new List&amp;lt;Tuple&amp;lt;ID,int&amp;gt;&amp;gt;();&#xA;&#xA;        foreach (var articleReference in referenceCount.Keys)&#xA;        {&#xA;            articlesWithCount.Add(&#xA;                new Tuple&amp;lt;ID, int&amp;gt;(articleReference, referenceCount[articleReference])&#xA;            );&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sort the articles, so the most relevant comes out top&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        articlesWithCount.Sort((x, y) =&amp;gt; y.Item2.CompareTo(x.Item2));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And finally, return just the &lt;code&gt;Item&lt;/code&gt; part of the &lt;code&gt;Tuple&lt;/code&gt; List.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        return articlesWithCount.ConvertAll(i =&amp;gt; article.Database.GetItem(i.Item1));&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the copy/pastyness, here is the method in its completeness:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private IEnumerable&amp;lt;Item&amp;gt; GetRelatedArticles(Item article)&#xA;    {&#xA;        // Dirty; no argument checking, no null checking. Just barebones.&#xA;&#xA;        var referenceCount = new Dictionary&amp;lt;ID,int&amp;gt;();&#xA;        MultilistField mlf = article.Fields[&quot;Article Categories&quot;];&#xA;&#xA;        foreach (Item categoryItem in mlf.GetItems())&#xA;        {&#xA;            var articleLinksInCategory = Globals.LinkDatabase.&#xA;                GetItemReferrers(categoryItem, false).&#xA;                Where(al =&amp;gt; al.SourceFieldID == mlf.InnerField.ID);&#xA;&#xA;            foreach (var articleLink in articleLinksInCategory)&#xA;            {&#xA;                if (articleLink.SourceItemID != article.ID)&#xA;                {&#xA;                    if (referenceCount.ContainsKey(articleLink.SourceItemID))&#xA;                        referenceCount[articleLink.SourceItemID]++;&#xA;                    else&#xA;                        referenceCount[articleLink.SourceItemID] = 1;&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        var articlesWithCount = new List&amp;lt;Tuple&amp;lt;ID,int&amp;gt;&amp;gt;();&#xA;&#xA;        foreach (var articleReference in referenceCount.Keys)&#xA;        {&#xA;            articlesWithCount.Add(&#xA;                new Tuple&amp;lt;ID, int&amp;gt;(articleReference, referenceCount[articleReference])&#xA;            );&#xA;        }&#xA;&#xA;        articlesWithCount.Sort((x, y) =&amp;gt; y.Item2.CompareTo(x.Item2));&#xA;&#xA;        return articlesWithCount.ConvertAll(i =&amp;gt; article.Database.GetItem(i.Item1));&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And if you only need 10 article references, a bit of late night lazy LINQ solves that too. The less items you resolve in this method, the better it performs. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return articlesWithCount.Take(10).ToList().ConvertAll(i =&amp;gt; article.Database.GetItem(i.Item1));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Performance?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It really is very good. While I did no measurements in this specific test, I have &lt;a href=&quot;http://intothecore.cassidy.dk/2016/05/effective-use-of-sitecore-linkdatabase.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;previously tested LinkDatabase performance&lt;/a&gt; and it continues to come up very high.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you reach the breaking point of this; the next step is to implement this via Sitecore ContentSearch. Has a larger setup footprint but will scale you into the 100s of 1000s of articles in as many categories.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-03-02T22:30:32.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4703" PostTypeId="1" AcceptedAnswerId="4708" CreationDate="2017-03-02T22:55:10.230" Score="2" ViewCount="706" Body="&lt;p&gt;I'm using Sitecore 8.1 Original Release and am having problems getting my contact stuff to work properly. Here's my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var repository = new ContactRepository();&#xA;contact = repository.CreateContact(System.Guid.NewGuid());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to execute this code, I get this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load file or assembly 'file://c:\windows\system32\inetsrv\Sitecore.Analytics.Model.Entities.ContactPersonalInfo'&#xA;  or one of its dependencies. The system cannot find the file&#xA;  specified.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is the same configuration that I've been using for several months, however, I've never tried to create a contact before. I've always just let Sitecore create a contact for me. This error message doesn't make sense, because I'm running my Sitecore instance in a completely separate location (different drive and everything). I've tried copying the Sitecore.Analytics.Model.dll to the specified directory, but I didn't have any luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What could be causing Sitecore to look in such an odd place for the DLL when I call the create function?&lt;/li&gt;&#xA;&lt;li&gt;How can I fix this?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="339" LastEditorUserId="104" LastEditDate="2017-03-03T12:31:20.737" LastActivityDate="2017-03-03T13:40:16.173" Title="Could not load file or assembly 'file://c:\windows\system32\inetsrv\Sitecore.Analytics.Model.Entities.ContactPersonalInfo' or one of its dependencies" Tags="|xdb|contact-facets|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4704" PostTypeId="1" CreationDate="2017-03-02T23:20:14.593" Score="3" ViewCount="198" Body="&lt;p&gt;I'm running Sitecore 8.1 Original Release, and I'm trying to run this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var repository = new ContactRepository();&#xA;var contact = repository.LoadContactReadOnly(contactId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where contactId is passed in as a &lt;code&gt;System.Guid&lt;/code&gt; Datatype.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have 3 IDs that I should be able to load and not return a &lt;code&gt;null&lt;/code&gt; value. Here they are (in RoboMongo):&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ks5ck.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ks5ck.png&quot; alt=&quot;Contact IDs&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what I've tried:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I reset IIS and not browsed to my dev site located on my local box. This should ensure that the contact isn't locked.&lt;/li&gt;&#xA;&lt;li&gt;I've changed Robomongo to return the UUID Encoding as &quot;Legacy&quot; as well as &quot;.NET encoding&quot;, which changed the UUIDs, but did not affect the outcome.&lt;/li&gt;&#xA;&lt;li&gt;I've checked the Sitecore_Analytics_Index for a clue about what IDs would return any valid information, but those IDs don't seem to match anything that I've got anywhere else, and if I query with them, that doesn't seem to get me anywhere either.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It seems that no matter what I try, I can't find a contact to load, even though I see it in Mongo. Any ideas on how I can load a contact?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-03-03T13:58:05.487" Title="How do I get access to my Contact Card information" Tags="|mongodb|contact-facets|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4705" PostTypeId="2" ParentId="4" CreationDate="2017-03-02T23:23:20.217" Score="4" Body="&lt;p&gt;I know that this is an old post, but I was looking through and just wanted to add some information to help anyone who is actually still hoping to implement similar behavior to this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At a high-level, @MarkCassidy is correct that there is no OOTB mechanism for what you are describing. However, you could achieve a limited version of this functionality by leveraging eventing or the item provider pipelines, combined with a little extra logic. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Lingo&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Branch = Branch&lt;/li&gt;&#xA;&lt;li&gt;Implementor = subtree created from branch&lt;/li&gt;&#xA;&lt;li&gt;Corresponding Item = item in implementor that corresponds to item in branch&lt;/li&gt;&#xA;&lt;li&gt;Corresponding Field = field of corresponding item in implementor corresponding to field of item in branch&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Functionality to Implement&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Before we start coding, let's consider the functionality that we can and plan to implement:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Item in branch has field or presentation change -&gt; change applied to corresponding item in implementors of the branch&lt;/li&gt;&#xA;&lt;li&gt;If corresponding item doesn't exist in implementor then no action is taken&lt;/li&gt;&#xA;&lt;li&gt;If a field is changed and the original value of the field does not match the value of the corresponding field in the implementor then no action is taken (do not overwrite changes)&lt;/li&gt;&#xA;&lt;li&gt;Item renames should not be applied to implementors&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The above logic includes both the &lt;code&gt;Renderings&lt;/code&gt; and &lt;code&gt;Final Renderings&lt;/code&gt; fields (Shared Layout and Final Layout), so long as no changes have been made to either. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For simplicity, we will skip the following enhancements, but they could be added with limited additional effort:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Field comparison supports token resolution (e.g. &lt;code&gt;$name&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Deleted item support (would require an additional event-handler; see below for more)&lt;/li&gt;&#xA;&lt;li&gt;Rendering property change detected by reviewing content of deltas&lt;/li&gt;&#xA;&lt;li&gt;Comparison of deltas in corresponding item to allow applying changes even after corresponding item's presentation details have been changed (this one would likely take more than a little effort, but it is still doable, with limitations)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Calling our Logic&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Before we get into specifics, let's figure out how we will be calling this logic. For starters, we know that we want the logic to run when a branch template is &quot;changed.&quot; We can detect that a branch template has &quot;changed&quot; by listening for when the branch template item or one of its descendants has been saved. However, note that it is possible that the branch template or one of its descendants will be saved without any actual changes. This extra call to our logic should not result in any side-effects.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Listening for Changes&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Now that we know that we want to listen for the branch items or one of its descendants to be saved, we can pick the &quot;listening&quot; mechanism. This is a crucial step, as the information that we have about the item being changed will vary based on the mechanism that we choose. For example, the &lt;code&gt;item:saved&lt;/code&gt; event will show us the changed item, but we won't be able to compare it with its previous state (i.e. before it was changed). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is really only one good candidate for listening mechanisms in this case: the &lt;code&gt;item:saving&lt;/code&gt; event. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The &lt;code&gt;item:saving&lt;/code&gt; Event&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;item:saving&lt;/code&gt; event has been around for a long time and its use is fairly &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-intercepting-item-updates-with-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;well-documented&lt;/a&gt; online. The &lt;code&gt;item:saving&lt;/code&gt; event is viable for our use-case because while one of its parameters is an updated &quot;copy&quot; of the item being saved (i.e. an item that looks like the unmodified item, except that it has all of the changes that were made and are being saved), yet the changes haven't actually been saved. This means that we have access to both of the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &quot;updated item&quot;, and thus the changes, by looking at the item retrieved from the event's parameters &lt;/li&gt;&#xA;&lt;li&gt;The unmodified item, and thus a point of comparison, by retrieving the item from the database using the same ID as the &quot;updated item&quot; (remember that the updated item hasn't been saved yet)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;While this is all well and good, there are two major drawbacks of using the &lt;code&gt;item:saving&lt;/code&gt; handler for our use-case:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In order to get the unmodified item for comparison, we need to retrieve the item from the database by performing an extra item-get (yuck, but not the end of the world)&lt;/li&gt;&#xA;&lt;li&gt;In order to actually see the changes that were made, all of the fields of the updated item will need to be compared with the unmodified item and any that differ can be considered &quot;modified&quot; (BIG yuck!)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The good news, is that - as previously mentioned - using this event has been pretty well-documented and should be pretty straightforward. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only change that this handler will not support is if an item is deleted/archived. In this case, we would need to add an additional handler to support accounting for those changes. Once our initial logic is written, that extra handler will be pretty straightforward, so I will skip that functionality for the purpose of this post.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The Code/Logic&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Obviously, this is a pretty complex piece of functionality, so I'm not actually going to code it here (being lazy :P), but I will walk you through the high-level of what you will want to do:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set up your event handler to run the rest of your logic and configure it to fire on &lt;code&gt;item:saving&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;li&gt;When hit, handler first checks to see if the item is or is part of a branch template and returns if it is not&lt;/li&gt;&#xA;&lt;li&gt;Retrieve the unmodified version of the item from the database and compare the fields to create a &lt;code&gt;Dictionary&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;, string&amp;gt;&lt;/code&gt; with the &lt;code&gt;KeyValuePair&amp;lt;FieldName, OriginalValue&amp;gt;&lt;/code&gt; as a key and &lt;code&gt;ModifiedValue&lt;/code&gt; as the value. This will be the &lt;code&gt;changesDictionary&lt;/code&gt; If the populated &lt;code&gt;changesDictionary&lt;/code&gt; is empty, then return.&lt;/li&gt;&#xA;&lt;li&gt;Find all of the items created from that item's branch (links database, content search, etc)&lt;/li&gt;&#xA;&lt;li&gt;For each of the returned items, select the corresponding item to the item in the branch that was changed. If the corresponding item is missing, return null&lt;/li&gt;&#xA;&lt;li&gt;Filter out null items from the list (i.e. filter out implementors that are missing the corresponding item)&lt;/li&gt;&#xA;&lt;li&gt;For each &lt;code&gt;Key&lt;/code&gt; in the &lt;code&gt;changesDictionary&lt;/code&gt; iterate through the remaining items and if the value of the &lt;code&gt;Key.Key&lt;/code&gt; field (corresponding field) is the same as the &lt;code&gt;Key.Value&lt;/code&gt; (unmodified branch field value) then update the field to the &lt;code&gt;changesDictionary[Key]&lt;/code&gt; (modified value) inside of an &lt;code&gt;EventDisabler&lt;/code&gt; (for performance reasons; not to avoid side-effects)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;While this will work, there is a fairly large risk of performance degradation when saving branch items. Fortunately, this isn't something that happens often after initial development.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-03-02T23:23:20.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4706" PostTypeId="1" AcceptedAnswerId="4829" CreationDate="2017-03-03T02:05:56.653" Score="12" ViewCount="2026" Body="&lt;p&gt;Testing with SXA 1.2 on Sitecore 8.2 u1/u2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to query a list of pages marked as featured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what I have setup:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;Custom Page&lt;/em&gt; template inherits from &lt;em&gt;Page&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Checkbox field is added with &lt;strong&gt;IsFeatured&lt;/strong&gt; field.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3WsHQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3WsHQ.png&quot; alt=&quot;Custom Page Item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Query defined to return featured pages.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre class=&quot;lang-plaintext prettyprint-override&quot;&gt;&lt;code&gt;+location:{29E0ED6F-452B-45A0-B799-C51EBD14970A};template:{13de59b4-ad71-4542-9ce0-a0483422e768};custom:isfeatured|true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xrzfS.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xrzfS.png&quot; alt=&quot;Query&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The query item does not have a way to build the query, so I used the datasource&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B6Uab.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B6Uab.png&quot; alt=&quot;Query Builder&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/QKWO0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QKWO0.png&quot; alt=&quot;Filter Configured&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, when I test the page no results are returned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PkbvU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PkbvU.png&quot; alt=&quot;Not working&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zH4Qf.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zH4Qf.png&quot; alt=&quot;Not rendered&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Test with a new query that has a &lt;code&gt;+&lt;/code&gt; for each setting but does not change the behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KByMR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KByMR.png&quot; alt=&quot;Still not working&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Oddly, when I move the query to the Data Source field and clear the Source Type I get an error. Not seen this before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g2g0f.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g2g0f.png&quot; alt=&quot;Data Source set&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HRsfh.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HRsfh.png&quot; alt=&quot;error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-03-05T23:09:40.513" LastActivityDate="2020-03-10T01:14:47.363" Title="How do you properly configure SXA Page List with custom query?" Tags="|sxa|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4707" PostTypeId="2" ParentId="4703" CreationDate="2017-03-03T07:20:22.517" Score="0" Body="&lt;p&gt;Couple of points to check:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Check how are you referencing the &lt;strong&gt;Sitecore.Analytics.Model.dll&lt;/strong&gt; in your project&lt;/li&gt;&#xA;&lt;li&gt;Make sure that this assembly is present in your solution (website) &lt;strong&gt;bin&lt;/strong&gt; directory&lt;/li&gt;&#xA;&lt;li&gt;You can use the &lt;strong&gt;Find in Files&lt;/strong&gt; feature of i.e. Notepad++ to lookup for references of &lt;code&gt;Sitecore.Analytics.Model*&lt;/code&gt; in all &lt;code&gt;*.csproj&lt;/code&gt; files of your project to understand how it is referenced.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-03-03T07:20:22.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4708" PostTypeId="2" ParentId="4703" CreationDate="2017-03-03T07:31:39.287" Score="1" Body="&lt;p&gt;&lt;strong&gt;Error Explanation:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Error says the type is missing in this assembly as shown and also this has been replaced by an Interface IContactPersonalInfo&#xA;Interface is implemented in 'Sitecore.Analystics.Mode.Generated.ContactPersonalInfo’&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aDdfb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aDdfb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cross Check:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Please verify you have this in Sitecore configuration through /sitecore/admin/showconfig.aspx patched up thr ‘Sitecore.Analytics.Model.Config’&#xA;It states Interface&amp;amp; its implementation.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2Z3C1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2Z3C1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Please verify you have Sitecore.Analytics.Model.dll in your csproj with appropriate version.&#xA;Follow these links if old dll is still being used &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/2357476/project-references-dll-version-hell&quot;&gt;Link1&lt;/a&gt;&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/5575253/old-dll-file-keeps-being-used&quot;&gt;Link2&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="891" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-03-03T07:31:39.287" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4709" PostTypeId="2" ParentId="4706" CreationDate="2017-03-03T08:51:42.267" Score="1" Body="&lt;p&gt;Try to build the query with &lt;strong&gt;+&lt;/strong&gt; signs, like that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UiNnR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UiNnR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-03-03T08:51:42.267" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4710" PostTypeId="1" AcceptedAnswerId="4716" CreationDate="2017-03-03T10:08:08.047" Score="0" ViewCount="390" Body="&lt;p&gt;I have updated my instance from 8.0 initial release to 8.0 update 5. In the Experience profile, there is this error.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not map index document field to property &quot;StartDateTime&quot; on type&#xA;  Sitecore.ContentSearch.Analytics.Models.IndexedVisit : String was not&#xA;  recognized as a valid DateTime.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I rebuilt the indexes from developer tab in content editor but that did not fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xd4bt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xd4bt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-03-03T10:58:18.930" Title="Could not map index document field to property StartDateTime" Tags="|experience-analytics|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4711" PostTypeId="2" ParentId="4024" CreationDate="2017-03-03T10:25:26.217" Score="2" Body="&lt;p&gt;The Datasource Configuration items enable &lt;em&gt;site-specific&lt;/em&gt; configuration of datasource template and datasource location for renderings shared between sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OOTB Sitecore functionality lets you configure a rendering setting the &quot;Datasource Location&quot; to a specific path in Sitecore and &quot;Datasource Template&quot; to a specific template. This means the datasource for that rendering can use only items of one specific template (or descendants) from one specific location (or below that location).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not very flexible and means that if you define a rendering within a Habitat Feature layer module, it cannot reference a datasource template or location from anything outside of that module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Habitat, the Datasource Configuration items enable you to configure a module's rendering per site. Take the FAQ module as an example. Say we have &quot;Site A&quot; and &quot;Site B&quot; in our project layer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For &quot;Site A&quot; we might want our FAQ datasources to be under: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/SiteA/Global/FAQ&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;using the following template as its datasource:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/templates/Project/SiteA/Content Types/FAQ&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For &quot;Site B&quot; we might want our FAQ datasources to be under:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/SiteB/Global/FAQ&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;using the following template as its datasource:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/templates/Project/SiteB/Content Types/FAQ&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2017-03-03T10:31:11.200" LastActivityDate="2017-03-03T10:31:11.200" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4712" PostTypeId="1" AcceptedAnswerId="4717" CreationDate="2017-03-03T10:29:04.380" Score="4" ViewCount="2391" Body="&lt;p&gt;Getting the error below in the CMS when trying to insert items into content tree or when re-naming existing items&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XDglW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XDglW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.ArgumentOutOfRangeException&#xA;Message: Empty string is not allowed.&#xA;Parameter name: validation.&#xA;Actual value was .&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Error.AssertString(String argument, String name, Boolean allowEmpty)&#xA;   at Sitecore.Web.UI.Sheer.SheerResponse.Input(String text, String defaultValue, String validation, String validationText, Int32 maxLength)&#xA;   at Sitecore.Shell.Framework.Commands.AddMaster.Add(ClientPipelineArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any chance you can help figure out what is going on?&lt;/p&gt;&#xA;" OwnerUserId="608" LastEditorUserId="2727" LastEditDate="2018-03-15T08:53:22.620" LastActivityDate="2022-11-26T07:05:15.690" Title="Empty string is not allowed error when adding or renaming item on Sitecore content tree" Tags="|content-editor|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4713" PostTypeId="1" AcceptedAnswerId="4715" CreationDate="2017-03-03T10:48:34.563" Score="7" ViewCount="1512" Body="&lt;p&gt;Looking through the Habitat solution, I noticed that the &lt;code&gt;Sitecore.Foundation.Theming&lt;/code&gt; module references the &lt;code&gt;Sitecore.Foundation.SitecoreExtensions&lt;/code&gt; module. I thought modules were meant only to reference modules at a lower level?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2021-05-10T16:29:44.597" Title="Habitat / Helix - Is it OK to have dependencies between Foundation level modules" Tags="|helix|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4714" PostTypeId="2" ParentId="4713" CreationDate="2017-03-03T10:50:26.543" Score="2" Body="&lt;p&gt;Yes, it is OK for foundation layer modules to reference each other: &lt;a href=&quot;http://helix.sitecore.net/principles/architecture-principles/layers.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/architecture-principles/layers.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unlike the Feature layer, there is no strict convention on dependencies between modules in the foundation layer. This means that one Foundation layer module can depend on another Foundation layer module in the solution – as long as they rely on the basic principles on component architecture such as the Acyclic Dependencies Principle and the Stable Abstractions Principle:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-03-03T10:50:26.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4715" PostTypeId="2" ParentId="4713" CreationDate="2017-03-03T10:51:54.187" Score="7" Body="&lt;p&gt;Take a look at the documentation:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Unlike the Feature layer, there is no strict convention on dependencies between modules in the foundation layer.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;It is allowed to have dependencies between modules in foundation.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;http://helix.sitecore.net/principles/architecture-principles/layers.html?highlight=foundation#foundation-layer&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/architecture-principles/layers.html?highlight=foundation#foundation-layer&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://helix.sitecore.com/principles/architecture-principles/layers.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://helix.sitecore.com/principles/architecture-principles/layers.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1510" LastEditorUserId="3807" LastEditDate="2021-05-10T16:29:44.597" LastActivityDate="2021-05-10T16:29:44.597" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4716" PostTypeId="2" ParentId="4710" CreationDate="2017-03-03T10:58:18.930" Score="3" Body="&lt;p&gt;Your error indicates issues with your analytics index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all (something to do whenever you have errors after an upgrade):&#xA;make sure all your files are actually from the correct new version! Verify your bin folder and the Sitecore configs: they have to match with a clean version of the required Sitecore (in this case 8.0 - update5).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you verified that and the error is still present, check if your upgrade process was completed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The upgrade guide does mention some steps to take to finalize the upgrade, so make sure you did those:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Updating Data&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To upgrade your solution from the initial version of Sitecore, 8.0&#xA;  rev. 141212, you must update the social profiles data to ensure that&#xA;  it is compliant with Sitecore 8.0 Update-5. To update the social&#xA;  profiles data, open the following page:&#xA;  http:///sitecore/admin/UpdateSocialProfiles.aspx&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Redeploying Marketing Data&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To update the marketing data to ensure that it is compliant with&#xA;  Sitecore 8.0 Update-5, open the following page:&#xA;  http:///sitecore/admin/RedeployMarketingData.aspx (make sure&#xA;  that analytics is enabled)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Rebuilding the Reporting Database&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;As part of the upgrade process, you must also rebuild the Reporting&#xA;  database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;That rebuild of the reporting database is the only way to fix issues with your analytics index (what seems to be the case here). More info on how to do this: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-03-03T10:58:18.930" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4717" PostTypeId="2" ParentId="4712" CreationDate="2017-03-03T11:23:45.147" Score="6" Body="&lt;p&gt;The problem of your issue is &lt;strong&gt;ItemNameValidation&lt;/strong&gt; settings. &#xA;Please change the value of this setting to the default one : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;setting name=&quot;ItemNameValidation&quot; value=&quot;^[\w*\$][\w\s\-\$]*((\d{1,})){0,1}$&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-03-03T11:23:45.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4718" PostTypeId="2" ParentId="4703" CreationDate="2017-03-03T13:23:55.747" Score="0" Body="&lt;p&gt;The issue that you are seeing is because you are trying to instantiate a &lt;code&gt;new ContactRepository()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The appropriate way to reference the repository is by creating the object through Sitecore's Configuration Factory.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private ContactRepository _repository = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepository;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-03-03T13:40:16.173" LastActivityDate="2017-03-03T13:40:16.173" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4719" PostTypeId="2" ParentId="4701" CreationDate="2017-03-03T13:24:26.143" Score="2" Body="&lt;p&gt;There are a few options here (specifically for TDS). I haven't listed non-TDS options like doing MS Deploy packages or Visual Studio publish, since the question is specific about TDS remote deployment. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;UNC SHARE:&lt;/strong&gt; You can setup a UNC share on your target server and then set the deploy folder to that network path (e.g. \MyServerName\Website). If you use that approach, make sure you lock the security down on that share.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore Package Deployer:&lt;/strong&gt; The Hedgehog Sitecore Package Deployer (&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/sitecore-package-deployer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Blog/sitecore-package-deployer&lt;/a&gt;) can be installed on your target instance and install packages for you. Generate packages with your items and files and then deploy to the secure 'Data' Folder that you specify during your configuration. The deployer will install for you.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Team City:&lt;/strong&gt; My preference is not to do deployments directly from the developer machine and to put things through Continuous Integration. Set up the UNC share, but lock it down so only the TeamCity server/user can access it. This is more secure than allowing all devs access to the server. Then let TeamCity do your deployments for you.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;. &lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-03-03T13:24:26.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4720" PostTypeId="2" ParentId="4704" CreationDate="2017-03-03T13:39:16.770" Score="6" Body="&lt;p&gt;The issue that you are seeing is because you are trying to instantiate a &lt;code&gt;new ContactRepository()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The appropriate way to reference the repository is by creating the object through Sitecore's Configuration Factory.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private ContactRepository _repository = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepository;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4703/could-not-load-file-or-assembly-file-c-windows-system32-inetsrv-sitecore-ana&quot;&gt;Could not load file or assembly &amp;#39;file://c:\windows\system32\inetsrv\Sitecore.Analytics.Model.Entities.ContactPersonalInfo&amp;#39; or one of its dependencies&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-03T13:58:05.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4721" PostTypeId="1" AcceptedAnswerId="5408" CreationDate="2017-03-03T15:46:54.377" Score="2" ViewCount="877" Body="&lt;p&gt;I'm getting an error during the gulp step to sync Unicorn while trying to set up Habitat. Here is the error in the unicorn console: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR: Object reference not set to an instance of an object. (System.NullReferenceException)&#xA;at Unicorn.Users.Loader.UserLoader.DeserializeUser(SyncUserFile serializedUser) &#xA;at Unicorn.Users.Loader.UserLoader.Load(IConfiguration configuration) &#xA;at Unicorn.Users.Pipelines.UnicornSyncComplete.SyncUsers.Process(UnicornSyncCompletePipelineArgs args) &#xA;at (Object , Object[] ) &#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) &#xA;at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) &#xA;at Unicorn.SerializationHelper.SyncTree(IConfiguration configuration, Action`1 rootLoadedCallback, IItemData[] roots) &#xA;at Unicorn.ControlPanel.Pipelines.UnicornControlPanelRequest.SyncVerb.Process(IProgressStatus progress, ILogger additionalLogger)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the full output when running the Unicorn gulp task:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[10:06:40] Starting '05-Sync-Unicorn'...&#xA;C:\Projects\Habitat\scripts\unicorn.js:36&#xA;    if (err !== null) throw err;&#xA;                            ^&#xA;Error: Command failed: Invoke-WebRequest : Sync Unicorn&#xA;Info: Foundation.Serialization is being synced.&#xA;Info: &#xA;Info: Foundation.Serialization sync complete: 24 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in &#xA;136ms (~5.7ms/item).&#xA;Info: Foundation.SitecoreExtensions is being synced.&#xA;Info: &#xA;Info: Foundation.SitecoreExtensions sync complete: 160 items evaluated, 0 items modified (0 added, 0 updated, 0 &#xA;recycled) in 2787ms (~17.4ms/item).&#xA;Info: Feature.FAQ is being synced.&#xA;Info: &#xA;Info: Feature.FAQ sync complete: 12 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 51ms &#xA;(~4.3ms/item).&#xA;Info: &#xA;Info: Feature.FAQ roles are being synced.&#xA;Info: Feature.FAQ role sync complete.&#xA;Info: Feature.Identity is being synced.&#xA;Info: &#xA;Info: Feature.Identity sync complete: 19 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2531ms &#xA;(~133.2ms/item).&#xA;Info: &#xA;Info: Feature.Identity roles are being synced.&#xA;Info: Feature.Identity role sync complete.&#xA;Info: Feature.Metadata is being synced.&#xA;Info: &#xA;Info: Feature.Metadata sync complete: 18 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 51ms &#xA;(~2.9ms/item).&#xA;Info: &#xA;Info: Feature.Metadata roles are being synced.&#xA;Info: Feature.Metadata role sync complete.&#xA;Info: Foundation.Assets is being synced.&#xA;Info: &#xA;Info: Foundation.Assets sync complete: 15 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 57ms &#xA;(~3.9ms/item).&#xA;Info: &#xA;Info: Foundation.Assets roles are being synced.&#xA;Info: Foundation.Assets role sync complete.&#xA;Info: Foundation.Dictionary is being synced.&#xA;Info: &#xA;Process terminated with code 8.&#xA;Info: Foundation.Dictionary sync complete: 6 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in &#xA;2413ms (~402.2ms/item).&#xA;Info: Foundation.FieldEditor is being synced.&#xA;Info: &#xA;Info: Foundation.FieldEditor sync complete: 1 item evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in &#xA;5954ms (~5,954.6ms/item).&#xA;Info: Foundation.Forms is being synced.&#xA;Info: &#xA;Info: Foundation.Forms sync complete: 2 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 16ms &#xA;(~8.3ms/item).&#xA;Info: Foundation.Indexing is being synced.&#xA;Info: &#xA;Info: Foundation.Indexing sync complete: 6 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 26ms &#xA;(~4.5ms/item).&#xA;Info: &#xA;Info: Foundation.Indexing roles are being synced.&#xA;Info: Foundation.Indexing role sync complete.&#xA;Info: Foundation.LocalDatasource is being synced.&#xA;Info: &#xA;Info: Foundation.LocalDatasource sync complete: 4 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) &#xA;in 2566ms (~641.6ms/item).&#xA;Info: Foundation.Multisite is being synced.&#xA;Info: &#xA;Info: Foundation.Multisite sync complete: 14 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in &#xA;2343ms (~167.4ms/item).&#xA;Info: &#xA;Info: Foundation.Multisite roles are being synced.&#xA;Info: Foundation.Multisite role sync complete.&#xA;Info: Foundation.Theming is being synced.&#xA;Info: &#xA;Info: Foundation.Theming sync complete: 22 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in &#xA;2409ms (~109.5ms/item).&#xA;Info: Feature.Accounts is being synced.&#xA;Info: &#xA;Info: Feature.Accounts sync complete: 38 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 8448ms &#xA;(~222.3ms/item).&#xA;Info: &#xA;Info: Feature.Accounts roles are being synced.&#xA;Info: Feature.Accounts role sync complete.&#xA;Info: Feature.Demo is being synced.&#xA;Info: &#xA;Info: Feature.Demo sync complete: 25 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 80ms &#xA;(~3.2ms/item).&#xA;Info: &#xA;Info: Feature.Demo roles are being synced.&#xA;Info: Feature.Demo role sync complete.&#xA;Info: Feature.Language is being synced.&#xA;Info: &#xA;Info: Feature.Language sync complete: 7 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 31ms &#xA;(~4.5ms/item).&#xA;Info: &#xA;Info: Feature.Language roles are being synced.&#xA;Info: Feature.Language role sync complete.&#xA;Info: Feature.Maps is being synced.&#xA;Info: &#xA;Info: Feature.Maps sync complete: 38 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 8145ms &#xA;(~214.3ms/item).&#xA;Info: &#xA;Info: Feature.Maps roles are being synced.&#xA;Info: Feature.Maps role sync complete.&#xA;Info: Feature.Media is being synced.&#xA;Info: &#xA;Info: Feature.Media sync complete: 54 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 7487ms &#xA;(~138.7ms/item).&#xA;Info: &#xA;Info: Feature.Media roles are being synced.&#xA;Info: Feature.Media role sync complete.&#xA;Info: Feature.Multisite is being synced.&#xA;Info: &#xA;Info: Feature.Multisite sync complete: 8 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 37ms &#xA;(~4.7ms/item).&#xA;Info: &#xA;Info: Feature.Multisite roles are being synced.&#xA;Info: Feature.Multisite role sync complete.&#xA;Info: Feature.Navigation is being synced.&#xA;Info: &#xA;Info: Feature.Navigation sync complete: 24 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 70ms &#xA;(~3.0ms/item).&#xA;Info: &#xA;Info: Feature.Navigation roles are being synced.&#xA;Info: Feature.Navigation role sync complete.&#xA;Info: Feature.News is being synced.&#xA;Info: &#xA;Info: Feature.News sync complete: 20 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 58ms &#xA;(~2.9ms/item).&#xA;Info: &#xA;Info: Feature.News roles are being synced.&#xA;Info: Feature.News role sync complete.&#xA;Info: Feature.PageContent is being synced.&#xA;Info: &#xA;Info: Feature.PageContent sync complete: 20 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 86ms &#xA;(~4.3ms/item).&#xA;Info: &#xA;Info: Feature.PageContent roles are being synced.&#xA;Info: Feature.PageContent role sync complete.&#xA;Info: Feature.Search is being synced.&#xA;Info: &#xA;Info: Feature.Search sync complete: 17 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2492ms &#xA;(~146.6ms/item).&#xA;Info: &#xA;Info: Feature.Search roles are being synced.&#xA;Info: Feature.Search role sync complete.&#xA;Info: Feature.Social is being synced.&#xA;Info: &#xA;Info: Feature.Social sync complete: 22 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2346ms &#xA;(~106.7ms/item).&#xA;Info: &#xA;Info: Feature.Social roles are being synced.&#xA;Info: Feature.Social role sync complete.&#xA;Info: Feature.Teasers is being synced.&#xA;Info: &#xA;Info: Feature.Teasers sync complete: 57 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 2558ms &#xA;(~44.9ms/item).&#xA;Info: &#xA;Info: Feature.Teasers roles are being synced.&#xA;Info: Feature.Teasers role sync complete.&#xA;Info: Feature.Person is being synced.&#xA;Info: &#xA;Info: Feature.Person sync complete: 40 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 190ms &#xA;(~4.8ms/item).&#xA;Info: &#xA;Info: Feature.Person roles are being synced.&#xA;Info: Feature.Person role sync complete.&#xA;Info: Project.Common.Website is being synced.&#xA;Info: &#xA;Info: Project.Common.Website sync complete: 173 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in &#xA;8518ms (~49.2ms/item).&#xA;Info: Project.Habitat.Website is being synced.&#xA;Info: &#xA;Info: Project.Habitat.Website sync complete: 555 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in &#xA;4979ms (~9.0ms/item).&#xA;Info: &#xA;Info: Project.Habitat.Website roles are being synced.&#xA;Info: Project.Habitat.Website role sync complete.&#xA;Info: &#xA;Info: Project.Habitat.Website users are being synced.&#xA;Error: ERROR: Object reference not set to an instance of an object. (System.NullReferenceException)at &#xA;Unicorn.Users.Loader.UserLoader.DeserializeUser(SyncUserFile serializedUser)   at &#xA;Unicorn.Users.Loader.UserLoader.Load(IConfiguration configuration)   at &#xA;Unicorn.Users.Pipelines.UnicornSyncComplete.SyncUsers.Process(UnicornSyncCompletePipelineArgs args)   at (Object , &#xA;Object[] )   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)   at &#xA;Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)   at &#xA;Unicorn.SerializationHelper.SyncTree(IConfiguration configuration, Action`1 rootLoadedCallback, IItemData[] roots)   &#xA;at Unicorn.ControlPanel.Pipelines.UnicornControlPanelRequest.SyncVerb.Process(IProgressStatus progress, ILogger &#xA;additionalLogger)&#xA;Info: &#xA;Info: Completed.&#xA;At C:\Projects\Habitat\scripts\Unicorn\Unicorn.psm1:43 char:12&#xA;+ ...   $result = Invoke-WebRequest -Uri $url -Headers @{ &quot;X-MC-MAC&quot; = $sig ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc &#xA;   eption&#xA;    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand&#xA;    at ChildProcess.exithandler (child_process.js:648:15)&#xA;    at ChildProcess.emit (events.js:98:17)&#xA;    at maybeClose (child_process.js:756:16)&#xA;    at Socket.&amp;lt;anonymous&amp;gt; (child_process.js:969:11)&#xA;    at Socket.emit (events.js:95:17)&#xA;    at Pipe.close (net.js:465:12)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have installed Sitecore 8.2 Initial release with the appropriate version of wffm and am updated to the 8.2 release branch (I'm not sure if this is what I should have checked out. Sha: 4c3f8c1672a5d0da67966a34d87b1d6ee1081b3b). It looks like some user might not exist in my instance or there may be an issue with what is on the filesystem (I think Unicorn can store users). If anyone knows what the issue is some help would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="247" LastEditDate="2017-04-16T16:49:08.493" LastActivityDate="2017-04-18T14:05:56.280" Title="Sitecore Habitat Unicorn Sync Issue" Tags="|unicorn|habitat|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4722" PostTypeId="1" CreationDate="2017-03-03T16:53:00.500" Score="2" ViewCount="1513" Body="&lt;p&gt;I am setting up habitat and I was going to &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;installation instructions&lt;/a&gt;. When I run “default” task from Visual Studio 2015 Task Runner Explorer, I get the following error. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;00:04:18] '05-Sync-Unicorn' errored after 25 ms[00:04:18] TypeError:&#xA;  Cannot read property '0' of undefined    at&#xA;  C:\Projects\Habitat\scripts\unicorn.js:25:98    at Parser.&#xA;  (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:489:18)    at&#xA;  emitOne (events.js:77:13)    at Parser.emit (events.js:169:7)    at&#xA;  Object.onclosetag&#xA;  (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:447:26)    at&#xA;  emit&#xA;  (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:640:35)&#xA;  at emitNode&#xA;  (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:645:5)&#xA;  at closeTag&#xA;  (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:905:7)&#xA;  at Object.write&#xA;  (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:1452:13)&#xA;  at Parser.exports.Parser.Parser.parseString&#xA;  (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:508:31)&#xA;  [00:04:18] 'default' errored after 2.12 min[00:04:18] TypeError in&#xA;  plugin 'run-sequence(05-Sync-Unicorn)'Message:    Cannot read property&#xA;  '0' of undefinedStack:TypeError: Cannot read property '0' of undefined&#xA;  at C:\Projects\Habitat\scripts\unicorn.js:25:98    at&#xA;  Parser.&#xA;  (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:489:18)    at&#xA;  emitOne (events.js:77:13)    at Parser.emit (events.js:169:7)    at&#xA;  Object.onclosetag&#xA;  (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:447:26)    at&#xA;  emit&#xA;  (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:640:35)&#xA;  at emitNode&#xA;  (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:645:5)&#xA;  at closeTag&#xA;  (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:905:7)&#xA;  at Object.write&#xA;  (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:1452:13)&#xA;  at Parser.exports.Parser.Parser.parseString&#xA;  (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:508:31)Process&#xA;  terminated with code 1.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Can someone help? Am I missing something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I go to unicorn.aspx and try to run Unicorn &quot;Sync&quot; on each project I get an error at &lt;a href=&quot;http://habitat.dev.local/unicorn.aspx?verb=Sync&amp;amp;configuration=Foundation.Forms&amp;amp;log=Debug&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.dev.local/unicorn.aspx?verb=Sync&amp;amp;configuration=Foundation.Forms&amp;amp;log=Debug&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[A] master:/sitecore/layout/Renderings/Modules/Web Forms for&#xA;  Marketers/Mvc Form (f2cca16d-7524-4e99-8ee0-78ff6394a3b3) 2 errors&#xA;  occurred during deserialization. Earlier log messages for items below&#xA;  should be ignored; an error occurred that was retried and failed to&#xA;  correct.master:/sitecore/system/Modules/Web Forms for&#xA;  Marketers/Settings/Actions/Save Actions/Register an Outcome&#xA;  (90538392-5648-4326-b506-e1913ed1daa8)C:\projects\Habitat\src\Foundation\forms\serialization\Foundation.Forms.WffmActions.RegisterOutcome\Register&#xA;  an Outcome.yml&gt; ParentItemNotFoundException: Exception of type&#xA;  'Sitecore.Data.Serialization.Exceptions.ParentItemNotFoundException'&#xA;  was thrown.master:/sitecore/layout/Renderings/Modules/Web Forms for&#xA;  Marketers/Mvc Form&#xA;  (f2cca16d-7524-4e99-8ee0-78ff6394a3b3)C:\projects\Habitat\src\Foundation\forms\serialization\Foundation.Forms.Renderings.MvcForm\Mvc&#xA;  Form.yml&gt; ParentItemNotFoundException: Exception of type&#xA;  'Sitecore.Data.Serialization.Exceptions.ParentItemNotFoundException'&#xA;  was thrown. For full stack traces of each exception, see the Sitecore&#xA;  logs.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Gowtham. &lt;/p&gt;&#xA;" OwnerUserId="1636" LastEditorUserId="2727" LastEditDate="2018-03-25T00:26:32.943" LastActivityDate="2018-03-25T00:26:32.943" Title="Sync-Unicorn' errored &quot;Cannot read property '0' of undefined at unicorn.js&quot; error while setting up Habitat" Tags="|habitat|unicorn|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="4723" PostTypeId="2" ParentId="3884" CreationDate="2017-03-03T17:41:57.373" Score="3" Body="&lt;p&gt;Multiple keyword search is actually a relatively new feature to SPE and is only available in &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/releases/tag/4.4&quot; rel=&quot;nofollow noreferrer&quot;&gt;SPE version 4.4&lt;/a&gt; or later. Check to ensure that that you are using SPE 4.4 or later and then you will be able to use keyword search in the following ways (per the &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/801&quot; rel=&quot;nofollow noreferrer&quot;&gt;issue comments&lt;/a&gt; by the developer, @AdamNajmanowicz):&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;All words on item&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;All keywords searched for must be present on the item, though they can be in separate fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g. Searching for &lt;code&gt;hello world&lt;/code&gt; will search for items that have the word &lt;code&gt;hello&lt;/code&gt; in at least one field and the word &lt;code&gt;world&lt;/code&gt; in at least one field.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Literal phrase on item&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The quoted phrase searched for must be found as-is on one of the item's fields&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g. Searching for &lt;code&gt;&quot;hello world&quot;&lt;/code&gt; will search for items that have the literal phrase &lt;code&gt;hello world&lt;/code&gt; in at least one field.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Getting the latest SPE&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you are not using the SPE 4.4 or later, you can find the download for the latest SPE release, &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-03-03T17:41:57.373" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4724" PostTypeId="2" ParentId="4487" CreationDate="2017-03-03T19:46:58.227" Score="4" Body="&lt;p&gt;We have updated the support article.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue occurs due to a deadlock between Web Forms for Marketers and Coveo For Sitecore in Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An Hotfix has been created by the Sitecore team, but for it to work, a specific installation order must be followed. Additionally, a value in the Coveo.SearchProvider.config must be set to &quot;false&quot; temporarily (it must be set to true for Coveo For Sitecore to work properly.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the installation steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install the dll inside the Instance bin folder and copy the&#xA;Sitecore.Support.137437.config file into the App_Config folder.&lt;/li&gt;&#xA;&lt;li&gt;Install WFFM&lt;/li&gt;&#xA;&lt;li&gt;Install Coveo for Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Set &lt;code&gt;&amp;lt;initializeOnAdd&amp;gt;false&amp;lt;/initializeOnAdd&amp;gt;&lt;/code&gt; in the Coveo.SearchProvider.config file&lt;/li&gt;&#xA;&lt;li&gt;Restart IIS&lt;/li&gt;&#xA;&lt;li&gt;Finish configuration for Coveo in the Sitecore Control Panel.(Synchronize, Reset Security Cache, Reset Permissions on the Actions page)&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the Coveo indexes&lt;/li&gt;&#xA;&lt;li&gt;Set &lt;code&gt;&amp;lt;initializeOnAdd&amp;gt;true&amp;lt;/initializeOnAdd&amp;gt;&lt;/code&gt; in&#xA;Coveo.SearchProvider.config file (&lt;strong&gt;Important or Coveo for Sitecore may not work properly&lt;/strong&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Restart IIS&lt;/li&gt;&#xA;&lt;li&gt;Perform the Configuration of Coveo again(Synchronize, Reset Security Cache, Reset the Permissions on the Coveo Actions page)&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the Coveo indexes&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The hotfix can be obtained by contacting the Sitecore Support team.&lt;/p&gt;&#xA;" OwnerUserId="1612" LastEditorUserId="1612" LastEditDate="2017-03-03T20:44:34.310" LastActivityDate="2017-03-03T20:44:34.310" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4725" PostTypeId="2" ParentId="4664" CreationDate="2017-03-03T20:36:19.317" Score="5" Body="&lt;p&gt;At a high-level, your logic is sound, so my recommendation would be to do the following in order to troubleshoot your issue:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Step 1: Verify xDB and Visitor Tracking&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In order to troubleshoot this issue, the first thing that you should do is make sure that you have xDB enabled, configured correctly and that your visitor tracking/visitor identification code is present. &lt;a href=&quot;https://sitecore.stackexchange.com/a/3192/423&quot;&gt;This post&lt;/a&gt; is a good checklist for this step.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Step 2: Verify Visitor Identification Logic&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Before continuing with this troubleshooting step, make sure that you have a clear understanding of what it means to identify a visitor and what the difference is between a contact and a user. If you do, skip the below sections and ask yourself &quot;Did I actually identify my users as contacts?&quot; If you don't, read the below and then ask yourself the same question. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Visitor&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A &lt;em&gt;visitor&lt;/em&gt; is anyone (human) or anything (robot) that visits the site. It doesn't matter if the visitor is a human who has been to the site 1000 times and has registered their profile - it's still a visitor. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Contact&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;According to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/contacts&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's documentation&lt;/a&gt;, a &lt;em&gt;contact&lt;/em&gt; is defined as the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A contact represents an individual who interacts with or may potentially interact with your organization. The contact, or contact entity, contains all the information that you collect about an individual from their interactions across channels, devices and websites.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Basically, a &lt;em&gt;contact&lt;/em&gt; is a collection of a visitor's interaction history and any interaction data collected from said visitor. It is important to understand that while a contact &quot;represents an individual&quot; the &lt;em&gt;visitor&lt;/em&gt; actually &lt;em&gt;is&lt;/em&gt; the individual so the contact represents the visitor. A &lt;em&gt;contact&lt;/em&gt; is analogous to a dossier and is essentially a group of everything you know about the visitor, based on the the way that they have interacted with the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/contact_tracking&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore tracks all contacts and merges them&lt;/a&gt; if/when a contact is identified as an existing contact. All visitors start out as &quot;unidentified contacts&quot; and remain that way until they provide enough information to be &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/identifying_contacts&quot; rel=&quot;nofollow noreferrer&quot;&gt;identified as an existing contact&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;User&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A user, in this case (i.e. this is a concept - not in reference to Sitecore Users specifically), is a visitor to the site who has or has not registered an account and is or is not logged into the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An &lt;em&gt;authenticated user&lt;/em&gt; has registered an account on the site and is currently logged in. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An &lt;em&gt;unauthenticated user&lt;/em&gt; may or may not have registered an account on the site but they are currently not logged in.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;User Profile&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A &lt;em&gt;user profile&lt;/em&gt;, in this case (i.e. this is a concept - not in reference to Sitecore User Profiles, specifically), is to an &lt;em&gt;authenticated user&lt;/em&gt; similar to what a &lt;em&gt;contact&lt;/em&gt; is to a &lt;em&gt;visitor&lt;/em&gt;. A contact is the collection of data that we have recorded about a visitor, while a user profile is a collection of data that we have recorded about an authenticated user, e.g. username, name, birthday, email address, etc. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Visitor vs Contact vs User vs User Profile&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Visitors and our conceptual users are both entities that come to or interact with the website. An individual browsing a site is both a visitor - identified or unidentified - and a user - authenticated or unauthenticated. The key difference is that visitors are completely authentication-agnostic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contacts and our conceptual user profiles are both records or data about an entity. Contacts contain all interaction data collected from a visitor while a user profile has all data that the user has saved or the site's logic has recorded for a user behind the scenes. There are two key differences between contacts and user profiles:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Contacts leverage visitors whereas user profiles leverage authenticated users as the sources of their information. Sometimes these sources overlap, e.g. when an user registers and provides their full name and email this information is saved in their user profile but the interaction can also be coded to be stored in their contact &lt;/li&gt;&#xA;&lt;li&gt;Contacts record data for visitors whether they are identified or unidentified, regardless of whether or not the visitor is also an authenticated or unauthenticated user&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Understanding Contact Identification&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When we talk about identifying contacts with Sitecore, what we mean is that we need to specify - with code - what information can be used to uniquely identify a contact. This could be any &lt;code&gt;string&lt;/code&gt;, e.g. phone number, email, username, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why Should I Identify Contacts?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Imagine that on your site you don't identify contacts. When &lt;em&gt;Person A&lt;/em&gt; browses to the site, he/she becomes an unidentified visitor. This visitor interacts with the site, the interactions are tracked, the collected data is stored as a contact, and the experience is personalized. Then the visitor leaves. Assume now that &lt;em&gt;Person A&lt;/em&gt; browses back to the site a week later. Since the site doesn't identify contacts, the site now knows nothing about the visitor and all of the information collected during the previous visit is effectively gone (it's still available in analytics, but it doesn't do anything to help us tailor or analyze the experience/interactions of the visitor on this repeat visit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Contact Tracking and Identification by Analogy&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are new to contact identification or aren't entirely certain that you understand what it is, how it works or why, then the analogy below should be sufficient to get you going. Otherwise, move onto the section &quot;How to Identify Contacts in Sitecore&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The process of identifying and tracking contacts is analogous to making an appointment at the doctor's office and giving them all of your information but giving them your name, phone number and birthday last. In this analogy, you are the visitor and even though the staff has not yet been given your identifying information - in this case, your name, phone number and birthday - they still record all of your information so they have it while you're there. This &quot;record&quot; would be the &quot;contact&quot;. If you were to leave the doctor's office before giving them your name, phone number and birthday then they will not have had any way to identify you. Assuming you did not give them your identifying information and you return a week later, even if you give your identifying information to the staff first they will not be able to look up the information you gave on your last visit because you did not identify at that time. However, as soon as you give them your identifying information your record will be an &quot;identified contact&quot; and any subsequent visitors who give the exact same identifying information will be recognized and identified as you. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this analogy, you can think of the act of identifying contacts as analogous to specifying which pieces of information should be considered &quot;identifying information&quot; (in the analogy, this would have been the patient's name, phone number and birthday).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to Identify Contacts in Sitecore&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first thing to know about contact identification is that Sitecore identifies every contact as unique (i.e. as a new contact) by default. Identifying a contact as a visitor who has previously interacted with the site and has an existing contact record - even in the case of a user who logs in using Sitecore membership - must be wired up by the developer as an additional, though fairly low-effort - step. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second thing to know about contact identification is that, as stated above, any &lt;code&gt;string&lt;/code&gt; can be used to identify a contact, so it is important to pick a value that you know will be unique to each visitor and available on return visits (either via form submission, authentication, etc.). We will refer to this value as the &lt;code&gt;identifier&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To identify a contact, you would make this method call in your code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.Identify(identifier)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Most frequently, I find myself recommending that email addresses be used as identifiers, as email addresses can be provided to the site regardless of authentication state, e.g. contact form submissions, newsletter sign-ups, etc. In contrast, if &quot;username&quot; were to be used then only authenticated users would have their own contacts and unauthenticated users could either be identified as a single contact - thus skewing the data - or not at all. I prefer to identify as many unauthenticated users as possible to get create the best possible experience for as many visitors as I can, which is why I try to use a value that both authenticated and unauthenticated users would have. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For additional resources related to how to identify contacts, see this &lt;a href=&quot;http://www.bradcurtis.com/sitecore-xdb-identifying-users-contacts-visitors-customers/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt;, and the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/contact_tracking&quot; rel=&quot;nofollow noreferrer&quot;&gt;official Sitecore documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Understanding How Sitecore Merges Identified Contacts&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a contact is identified, Sitecore looks to see if the &lt;code&gt;identifier&lt;/code&gt; has been used for a contact that has already been stored. In other words, Sitecore says to itself something like &quot;Haven't I met this visitor before? Let me try to remember...&quot; If Sitecore finds a stored contact with the same &lt;code&gt;identifier&lt;/code&gt; then Sitecore merges any newly tracked contact data with the old data (preference given to the new data), and updates the existing contact when the session ends. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Step 3: Reach Out to Sitecore Support&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If none of the above apply to you, my recommendation is that you reach out to Sitecore support. They should be able to help you further diagnose why your contact identification isn't working as expected. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-03T20:36:19.317" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4726" PostTypeId="2" ParentId="183" CreationDate="2017-03-03T22:25:05.137" Score="2" Body="&lt;p&gt;Looking at the OP, the comments, your code and Sitecore's, I believe that this issue is likely caused by a bug in the &lt;code&gt;PageEvent.IsGoal&lt;/code&gt; property, whereby the property is not being correctly set to &lt;code&gt;true&lt;/code&gt; for events that are goals. I have not yet confirmed this bug, but if I am correct then the following should help you work around the issue:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Try changing your code to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (PageData page in args.Context.Visit.Pages)&#xA;{&#xA;    if (page.PageEvents != null &amp;amp;&amp;amp; 0 &amp;lt; page.PageEvents.Count)&#xA;    {&#xA;         foreach (var pageEvent in page.PageEvents)&#xA;         {&#xA;             var pageEventItem = pageEvent.PageEventDefinitionId != Guid.Empty &#xA;                 ? Tracker.DefinitionItems.Goals[pageEvent.PageEventDefinitionId] &#xA;                 : Tracker.DefinitionItems.Goals[pageEvent.Name];&#xA;&#xA;             if (pageEventItem == null || !pageEventItem.IsGoal) &#xA;             {&#xA;                 throw new Exception(&quot;I must be null because I definitely should be a goal. Still I should never be thrown because I came from the Goals property of the trackers definition items&quot;);&#xA;             }   &#xA;&#xA;             Log.Info(&quot;Goal: &quot; + pageEvent.Name.ToString(), &quot;PageEventProcessor&quot;);&#xA;&#xA;             // now do something with your goal&#xA;         }&#xA;     }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that in the above solution, I am using the &lt;code&gt;pageEventItem.IsGoal&lt;/code&gt; property instead of the &lt;code&gt;pageEvent.IsGoal&lt;/code&gt; property. I have not sufficiently tested this to figure out if the problem is simply with the &lt;code&gt;PageEvent.IsGoal&lt;/code&gt; flag is not set when you check it, but I expect that to be the case. Regardless, the &lt;code&gt;PageEventItem.IsGoal&lt;/code&gt; should be accurate and more reliable, as that property is read directly from the item's field. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Arrival at Solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;While I am still working to figure out if this is actually a bug in xDB, I came to this solution by looking at how Sitecore aggregates goals in the &lt;code&gt;&amp;lt;interactions&amp;gt;&lt;/code&gt; pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that a &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/goals__events/goals&quot; rel=&quot;nofollow noreferrer&quot;&gt;Goal&lt;/a&gt; is really a conversion, and since there weren't any processors with &quot;Goal&quot; in the name, I had a look at the &lt;code&gt;Sitecore.Analytics.Aggregation.Pipeline.ConversionsProcessor&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After reviewing the processor I realized that Sitecore's approach was nearly identical to yours though slightly different - Sitecore's code uses the item's field to determine if it's actually a goal. Since checking the value of that field should be more reliable than a property that may or may not have been correctly set on a C# object, I am left to infer that the issue is likely a bug in Sitecore with the &lt;code&gt;PageEvent.IsGoal&lt;/code&gt; property and that you should work around the issue by using the &lt;code&gt;PageEventItem.IsGoal&lt;/code&gt; property, instead. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Next Steps&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The first thing that I recommend you do is try the above workaround. Next, I would get in touch with Sitecore Support and show them what you've tried and what you are seeing. They should be able to provide further assistance, in addition to documenting and fixing the bug, if confirmed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good luck!&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-03T22:33:10.323" LastActivityDate="2017-03-03T22:33:10.323" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4727" PostTypeId="2" ParentId="4713" CreationDate="2017-03-03T22:49:59.857" Score="3" Body="&lt;p&gt;Just to add a little extra detail onto the solutions posted by @MattherDresser and @ThomasBaek:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason why your foundation modules may depend on one another without your solution breaking the architectural pattern or incurring additional technical debt/dependency madness is because the Foundation layer of your project should contain the &quot;most reliable&quot; code in your solution. This code should have been tested the most, and should change with the least frequency, as compared with the code in the Feature and Project layers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, since you cannot add additional layers without breaking the architectural pattern, if Foundation layer projects were not permitted to depend on one another then you wouldn't be able to add common extensions (e.g. .NET extensions like custom &lt;code&gt;IEnumberable&lt;/code&gt; extensions, etc.) that you use in multiple modules, including Foundation modules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the same time as you are allowed this additional freedom in the Foundation layer, it is important that you avoid overdoing it and that you continue to ensure that your Foundation code remains well-tested and reliable. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-03-03T22:49:59.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4728" PostTypeId="1" AcceptedAnswerId="4798" CreationDate="2017-03-03T22:57:57.220" Score="3" ViewCount="857" Body="&lt;p&gt;I have been following this guideline &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_SC_InstallConfigureAuthoringService.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; and when I get to the step of running the &lt;a href=&quot;http://localhost:5000/commerceops/InitializeEnvironment(environment=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:5000/commerceops/InitializeEnvironment(environment=&lt;/a&gt;'AdventureWorksShops') piece I noticed the following error message on the response:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;@odata.context&quot;:&quot;http://localhost:5000/CommerceOps/$metadata#Commands/$entity&quot;,&quot;@odata.type&quot;:&quot;#Sitecore.Commerce.Core.Commands.InitializeEnvironmentCommand&quot;,&quot;Id&quot;:&quot;dd847fa373ca4958aa3a60f2873dc111&quot;,&quot;ResponseCode&quot;:&quot;Error&quot;,&quot;Messages&quot;:[&#xA;{&#xA;  &quot;MessageDate&quot;:&quot;2017-03-03T22:53:51.1963137Z&quot;,&quot;Code&quot;:&quot;Error&quot;,&quot;Text&quot;:&quot;Entity Adventure Works Catalog|AW535-11| was not found.&quot;,&quot;CommerceTermKey&quot;:&quot;EntityNotFound&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I did run the command &lt;a href=&quot;http://localhost:5000/commerceops/Bootstrap()&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:5000/commerceops/Bootstrap()&lt;/a&gt; before that without any issues.&#xA;Anyone know what I'm missing?&#xA;I mean I need the Adventure works catalog to show in Sitecore. I&quot;m not sure whether this is the step that imports considering the error message I&quot;m assuming it's somewhat related. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is not the step and this message is just a consequence of a failed import my question would be in this case: which step imports it and what could cause this failing?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="73" LastEditDate="2017-03-03T23:51:39.177" LastActivityDate="2017-03-08T14:57:50.530" Title="Issues while installing commerce - Entity Adventure Works Catalog|AW535-11| was not found" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4729" PostTypeId="2" ParentId="4722" CreationDate="2017-03-04T05:36:44.390" Score="0" Body="&lt;p&gt;You should make the Sitecore variable below in &lt;strong&gt;z.Habitat.DevSettings.config&lt;/strong&gt; correct at your machine&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;C:\projects\Habitat\src&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1211" LastActivityDate="2017-03-04T05:36:44.390" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4731" PostTypeId="2" ParentId="4713" CreationDate="2017-03-05T12:15:24.357" Score="3" Body="&lt;p&gt;As others have answered.. yes it's fine.  It may be helpful to think of the Foundation layer as having multiple, internal layers. The lowest levels of these will abstract the most specialised components, e.g. &lt;code&gt;cache&lt;/code&gt;, &lt;code&gt;logger&lt;/code&gt;, &lt;code&gt;DB access&lt;/code&gt;, &lt;code&gt;web request handler&lt;/code&gt;, etc.  Higher levels will abstract more general components that may make use of several other components, e.g. REST helper may use &lt;code&gt;web request handler&lt;/code&gt;, &lt;code&gt;logger&lt;/code&gt; and &lt;code&gt;cache&lt;/code&gt;.  These are all still Foundation layer though, as they are the building-blocks for the app and, once created, are unlikely to change.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-03-05T12:15:24.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4733" PostTypeId="2" ParentId="4663" CreationDate="2017-03-06T04:05:33.457" Score="1" Body="&lt;p&gt;Since you have CM and CD Servers, it is required that you enable the scalability settings. This is because it allows the servers to know when the instance specified in the scalability settings is inserted into the event queue, it should triggers the event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, some points to note:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure in the properties table, there a re no records of instances that are not CM and CD. For example, instance for Staging is also present in the Properties table of your CM or CD.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that you don't have verbose logging enable on the servers.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Indexes normally get rebuild once all the servers are in sync. This may be a reason why you need to enable the scalability settings.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check if indexing events are populated also in the core db of the CD server. If not, it may be that the core db replication is not working accordingly&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-03-06T04:05:33.457" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="4734" PostTypeId="1" AcceptedAnswerId="4745" CreationDate="2017-03-06T05:43:05.833" Score="3" ViewCount="3651" Body="&lt;p&gt;I just started my journey as Sitecore developer.I want to create a user registration page and login page.I am totally confused where should i store the user details and how to authenticate him.&lt;/p&gt;&#xA;" OwnerUserId="1645" LastEditorUserId="69" LastEditDate="2017-03-06T13:51:30.080" LastActivityDate="2017-03-06T14:52:47.513" Title="Authentication and Authorization in Sitecore" Tags="|authentication|" AnswerCount="3" CommentCount="4" ClosedDate="2017-03-06T15:53:02.650" ContentLicense="CC BY-SA 3.0" />
  <row Id="4735" PostTypeId="1" AcceptedAnswerId="4738" CreationDate="2017-03-06T07:13:01.763" Score="5" ViewCount="778" Body="&lt;p&gt;Has anyone been able to make a habitat-compatible razor view engine?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically I'd like something that can dynamically search&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;~/Views/{1}/{0}.cshtml&quot;,&#xA;&quot;~/Views/Shared/{0}.cshtml&quot;&#xA;&quot;~/Views/{&amp;lt;Relative folder name&amp;gt;}/{0}.cshtml&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For example if my project is Sitecore.Foundation.Test and I have:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;~/Views/Test/Test.cshtml&#xA;~/Views/Test/_Test.cshtml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then Test.cshtml calls RenderPartial(&quot;_Test&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default razor engine doesn't work for this scenario when the &quot;Test.cshtml&quot; is added as a view rendering, and the page has a controller rendering with a different controller name.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="73" LastEditDate="2017-03-06T23:10:19.653" LastActivityDate="2017-03-06T23:10:19.653" Title="Custom View Engine for Razor View Helix-type default paths" Tags="|mvc|helix|razor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4737" PostTypeId="2" ParentId="4617" CreationDate="2017-03-06T08:32:50.297" Score="5" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Correct.&lt;/strong&gt; Client side telemetry is normally part of layouts which are supplied with the website. Sitecore does not yet implement client-side telemetry, but we may implement relevant renderings in the future.&lt;/li&gt;&#xA;&lt;li&gt;We have not tested Sitecore with Application Insights Profiler, and this is an experimental feature, so it should only be enabled during profiling sessions and should not be enabled on a permanent basis.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Role&lt;/strong&gt; is assigned automatically when Sitecore environment is provisioned and allows to identify telemetry coming from a particular role (CM, CD, Processing, Reporting).&#xA;&lt;strong&gt;Tag&lt;/strong&gt; is empty by default but can be used to tag and identify telemetry coming from e.g. a staging slot&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-03-06T08:32:50.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4738" PostTypeId="2" ParentId="4735" CreationDate="2017-03-06T08:45:07.680" Score="4" Body="&lt;p&gt;Yes, you can create your custom View Engine to resolve relative paths based on the assembly name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, following this guide: &lt;a href=&quot;https://weblogs.asp.net/imranbaloch/view-engine-with-dynamic-view-location&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://weblogs.asp.net/imranbaloch/view-engine-with-dynamic-view-location&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add a path like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;~/Views/%feature/{0}.cshtml&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And override the following methods:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override IView CreatePartialView(ControllerContext controllerContext, string partialPath)&#xA;    {&#xA;        var featureName = controllerContext.Controller.GetType().Assembly.GetName().Name;&#xA;        return base.CreatePartialView(controllerContext, partialPath.Replace(&quot;%feature&quot;, featureName));&#xA;    }&#xA;&#xA;protected override IView CreateView(ControllerContext controllerContext, string viewPath, string masterPath)&#xA;&#xA;protected override bool FileExists(ControllerContext controllerContext, string virtualPath)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will resolve to &lt;code&gt;~/Views/Sitecore.Foundation.Test/Test.cshtml&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can play around with index/substring of &lt;code&gt;.&lt;/code&gt; to get it to just feature name. &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-03-06T08:45:07.680" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4739" PostTypeId="2" ParentId="4635" CreationDate="2017-03-06T10:19:04.500" Score="1" Body="&lt;p&gt;Please cross verfiy below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Find below Social Network configuration for facebook which is required: &#xA;under '/sitecore/social/networks/network' using /sitecore/admin/showconfig.aspx&#xA;&lt;a href=&quot;https://i.stack.imgur.com/PZyrK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PZyrK.png&quot; alt=&quot;Social Network Config&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure you have 'Sitecore.Social.Facebook.dll' &amp;amp; appropriate version in your bin folder since you have &lt;code&gt;&quot;reflectionUtil.CreateObject: Sitecore.Social.Facebook.Networks.Providers.FacebookProvidererror&quot;&lt;/code&gt;error&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="891" LastEditorUserId="891" LastEditDate="2017-03-06T12:19:05.000" LastActivityDate="2017-03-06T12:19:05.000" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4740" PostTypeId="1" CreationDate="2017-03-06T10:23:29.877" Score="2" ViewCount="59" Body="&lt;p&gt;Running Sitecore 8.2 rev.161221 and EXM 3.4.1 rev. 170105.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The 'Email' ribbon appears on Manager Root item but contains only &quot;Save&quot; and 'Test connection' buttons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contextual ribbon in Core DB has two elements: Manager-Open and Server-Test connection&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas why 'Open' button is not shown and how to get it?&lt;/p&gt;&#xA;" OwnerUserId="1647" LastActivityDate="2017-03-06T19:43:19.380" Title="EXM ribbon does not contain 'Open Manager' button" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4741" PostTypeId="2" ParentId="3175" CreationDate="2017-03-06T11:52:21.500" Score="2" Body="&lt;p&gt;I may be a bit late to the party here, but I've just experienced a similar problem. On my development Sitecore 8.0 instance, a collection of things went wrong:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;As described above, the &quot;Indexing&quot; section of the Control Panel vanished.&lt;/li&gt;&#xA;&lt;li&gt;I started to get loads of odd &quot;Null Reference&quot; exceptions in the logs referring to aspects of analytics aggregation processing we had customised in the past.&lt;/li&gt;&#xA;&lt;li&gt;While I could see all my indexes in the output of ShowConfig.aspx, the only index which appeared to work was &quot;Quick search index&quot; - everything else returned an &quot;index not found&quot; error if I tried to use it in code. And that lead to odd log errors from Sitecore code saying it could not find indexes either, such as &quot;Social messages index could not be determined for master database. Messages root path: /sitecore/social/Messages. Please check indexes configuration.&quot;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After a lot of banging my head on the table, and diffing config files, I found a difference between the old and new states: The setting &lt;code&gt;BucketConfiguration.ItemBucketsEnabled&lt;/code&gt; in the &lt;code&gt;Sitecore.Buckets.config&lt;/code&gt; file was set to &lt;code&gt;false&lt;/code&gt;. Returning that to &lt;code&gt;true&lt;/code&gt; fixed all the problems I was seeing.&lt;/p&gt;&#xA;" OwnerUserId="233" LastActivityDate="2017-03-06T11:52:21.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4742" PostTypeId="1" CreationDate="2017-03-06T12:34:11.500" Score="2" ViewCount="168" Body="&lt;p&gt;I have 2 web solutions.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore project&lt;/li&gt;&#xA;&lt;li&gt;Custom website that i would like to integrate in Sitecore as a dashboard module&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;What i did:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I published my website in this folder: /sitecore/admin/Dashboard&lt;/li&gt;&#xA;&lt;li&gt;I added thoses exceptions &quot;/signalr|/signalr/hubs&quot; at the end of the IgnoreUrlPrefixes key in &quot;Sitecore.config&quot;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The result i get: &#xA;&lt;a href=&quot;https://i.stack.imgur.com/09EiE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/09EiE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The version i use: Sitecore.NET 8.2 (rev. 161221)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am i doing something wrong or did i forget something ?&lt;/p&gt;&#xA;" OwnerUserId="1467" LastEditorUserId="1467" LastEditDate="2017-03-07T06:57:10.400" LastActivityDate="2017-03-07T13:03:38.057" Title="Why custom website dropped in a Sitecore folder running SignalR returns error on startup?" Tags="|module|signalr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4743" PostTypeId="1" AcceptedAnswerId="4744" CreationDate="2017-03-06T13:32:25.663" Score="7" ViewCount="10827" Body="&lt;p&gt;I'm new to MVC and trying to achieve page redirection. User will click on &quot;Sign-out&quot; and should be redirected to the &quot;sign-in&quot; page.&lt;br&gt;&#xA;Here is my code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult SignIn()&#xA;{&#xA;  if (Sitecore.Context.IsLoggedIn)&#xA;  {&#xA;    LogoutUser();&#xA;    return RedirectToRoute(MvcSettings.SitecoreRouteName, new { pathInfo = &quot;/en/sign-in&quot; });&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This method is invoked, but the page is redirected to &quot;en/?f&quot; and the message on page is&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This domain is not configured for this service. Please add it to your&#xA;  account.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Should something be configured for routes or in web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.0 update 5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jjW5g.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jjW5g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2017-03-06T13:44:37.340" LastActivityDate="2017-03-06T13:44:37.340" Title="How to redirect to another page or sitecore item in MVC" Tags="|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4744" PostTypeId="2" ParentId="4743" CreationDate="2017-03-06T13:41:27.990" Score="14" Body="&lt;p&gt;To do page redirection, simply do&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return Redirect(url);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For a permanent redirect (e.g. for search engines), use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return RedirectPermanent(url);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Both of these return a &lt;code&gt;RedirectResult&lt;/code&gt; which inherit from &lt;code&gt;ActionResult&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To redirect to a Sitecore Item, do it the same way you always have.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var url = LinkManager.GetItemUrl(yourItem);&#xA;return Redirect(url);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-03-06T13:41:27.990" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4745" PostTypeId="2" ParentId="4734" CreationDate="2017-03-06T14:02:18.650" Score="5" Body="&lt;p&gt;I am afraid this question is quite extensive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore uses ASP.NET membership, role and profile providers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a starting place, please check this &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/sc61keywords/security_api_cookbook_usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;Security API Cookbook&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will give you a really good overview of concepts and also sample code related to Sitecore User Management, authentication, authorization and user profile management. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am sure things will be more clear to you after reading this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Welcome to Sitecore Stack!&lt;/p&gt;&#xA;" OwnerUserId="1203" LastActivityDate="2017-03-06T14:02:18.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4746" PostTypeId="2" ParentId="4734" CreationDate="2017-03-06T14:02:49.617" Score="4" Body="&lt;p&gt;This sounds like you want visitors to be able to login to your site. Unless they have accounts in the Sitecore database already, you probably need to integrate using SSO or by using a user store such as Active Directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has an Active Directory integration which you can download here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Active_Directory/1_3/Active_Directory_1_3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Active_Directory/1_3/Active_Directory_1_3.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This allows you to point at your existing Active Directory instance and use it for all your logins (including authors, if you wish).&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Building the front-end&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In terms of building the front-end, you might want to look at this older Extranet module on GitHub: &lt;a href=&quot;https://github.com/markstiles/SitecoreExtranet/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/markstiles/SitecoreExtranet/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It has some examples of how to build some components for an extranet site and integrate with the Sitecore API. That API hasn't changed a whole lot.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Storing your users&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You can choose to store newly created users in Sitecore as real users (easy, but not always advised) or in a custom database. You'll likely want to build a membership provider implementation if you want to use the Sitecore APIs to create your users and assign roles and such.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-03-06T14:02:49.617" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4747" PostTypeId="2" ParentId="4734" CreationDate="2017-03-06T14:52:47.513" Score="2" Body="&lt;p&gt;First, have a look at &lt;a href=&quot;https://sitecore.stackexchange.com/q/1737/423&quot;&gt;this post&lt;/a&gt; that will help you to get started with learning Sitecore. Once you have a handle on Sitecore, you are going to have to decide what kind of membership provider you are going to use. I cannot make a valid recommendation on this, as the decision will ultimately be based on your requirements, but I do recommend that you at least create a testing/learning project and try to use Sitecore membership. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you can always use a 3rd-party system for storing your users and integrate that system with Sitecore by writing your own membership provider. &lt;a href=&quot;https://sdn.sitecore.net/Reference/Sitecore%206/Membership%20Providers.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;These docs&lt;/a&gt; are a little out of date, but they may help to point you in the right direction and may help you understand the concept of how to write your own membership provider.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-06T14:52:47.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4748" PostTypeId="1" AcceptedAnswerId="4750" CreationDate="2017-03-06T16:00:09.707" Score="4" ViewCount="136" Body="&lt;p&gt;I've been thinking a lot about the organization of &lt;em&gt;Foundation.Abstractions&lt;/em&gt; modules (organizing base-types for IoC that Feature - and potentially Foundation - modules use), and I am a bit torn on whether &lt;em&gt;Foundation.Abstractions&lt;/em&gt; should really be a single module, a grouping of separate, more granular modules, or else if it should just be core abstractions with other abstractions living in their own, separate Foundation modules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Putting &lt;code&gt;IIndexableFoo&lt;/code&gt; in the same module as &lt;code&gt;IBazWeatherServiceManager&lt;/code&gt; (made up interfaces for illustration purposes, only) doesn't feel right to me, since I should be able to remove one the &quot;Indexing&quot; or the &quot;Weather&quot; feature without affecting anything else. I feel like what I should be doing is instead adding sub-modules to &lt;em&gt;Foundation.Abstractions&lt;/em&gt; (i.e. using &lt;em&gt;Foundation.Abstractions&lt;/em&gt; as a module group and adding a new module to that group). In this case, I might have something like &lt;em&gt;Foundation.Abstractions.Indexing&lt;/em&gt; and &lt;em&gt;Foundation.Abstractions.Weather&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In contrast, I know that the &lt;em&gt;Foundation.Abstractions&lt;/em&gt; module shouldn't really be aware of what purpose it will server or by which features it will be used. As such, even though it is perfectly acceptable in Helix to group multiple modules together as a single module, I feel like breaking &lt;em&gt;Foundation.Abstractions&lt;/em&gt; up the way I described in the example might actually violate the concept that Helix was aiming for. To elaborate, what I mean is that if I were to split up my &lt;em&gt;Foundation.Abstractions&lt;/em&gt; module by purpose, I would inherently be making said Foundation layer module aware of the purpose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other option that I have is to create separate Foundation layer modules for the different abstractions, and reserve &lt;em&gt;Foundation.Abstractions&lt;/em&gt; for core abstractions. In the case of the example I described above, this would likely entail having modules like the following: &lt;em&gt;Foundation.Indexing.Abstractions&lt;/em&gt;, &lt;em&gt;Foundation.Weather.Abstractions&lt;/em&gt;, and &lt;em&gt;Foundation.Abstractions&lt;/em&gt; (or &lt;em&gt;Foundation.Core.Abstractions&lt;/em&gt; if &lt;em&gt;Foundation.Core&lt;/em&gt; exists and is a module group). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me straighten out the guidelines on when to group abstractions and which would be the better practice when following Helix?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;&lt;strong&gt;UPDATE:&lt;/strong&gt; &#xA;In the example, above, &quot;Weather&quot; was actually a poor choice. The &quot;Indexing&quot; example illustrates the correct point, as it is for a feature that is/modifies part of the platform. I don't want to change the post yet, in case people are currently writing answers, but instead of &quot;Weather&quot; you can think of something like &quot;IEventHandler&quot; or something else that is/modifies part of the platform.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-06T17:06:03.000" LastActivityDate="2017-03-06T18:58:34.810" Title="Should Foundation.Abstractions be a single module or a grouping of granular modules?" Tags="|helix|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4749" PostTypeId="1" CreationDate="2017-03-06T17:10:31.107" Score="1" ViewCount="380" Body="&lt;p&gt;I've added the Sitecore ADFS module to Sitecore 7.2 and it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the same module on Sitecore 8 doesn't work. I can see the MSISAuth cookies from sts. When it comes to reading the &lt;code&gt;FedAuth&lt;/code&gt; cookie, it always returns null &lt;code&gt;FederatedAuthentication.SessionAuthenticationModule.TryReadSessionTokenFromCookie(out sessionToken)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just an update on this question. What I worked out was that in Sitecore 8 the &lt;code&gt;OnAuthenticateRequest&lt;/code&gt; method in the &lt;code&gt;WSFederationAuthenticationModule&lt;/code&gt; class doesn't get fired on POST requests. It's actually in the POST request that the &lt;code&gt;SessionSecurityToken&lt;/code&gt; is created which is needed for the &lt;code&gt;FedAuth&lt;/code&gt; cookie. I've fixed the issue by overriding the &lt;code&gt;WSFederationAuthenticationModule&lt;/code&gt; class.&lt;/p&gt;&#xA;" OwnerUserId="544" LastEditorUserId="2727" LastEditDate="2018-02-06T17:00:19.520" LastActivityDate="2018-02-06T17:00:19.520" Title="Sitecore 8 ADFS module no FedAuth cookie" Tags="|sitecore-client|security|authentication|cookies|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4750" PostTypeId="2" ParentId="4748" CreationDate="2017-03-06T18:58:34.810" Score="4" Body="&lt;p&gt;Let's look at what Feature/Foundation layers are defined as (I'll ignore Project for now as the question focuses on Feature/Foundation):&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Feature&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The concrete features of the solution, grouped by the business domain of the solution, not the technology.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Features should &lt;em&gt;never&lt;/em&gt; depend on other features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://helix.sitecore.net/principles/architecture-principles/layers.html#feature-layer&quot; rel=&quot;noreferrer&quot;&gt;Read more&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Foundation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is the foundation of your solution. Governed by the &lt;em&gt;Stable Dependencies Principle&lt;/em&gt;. Note this quote from the docs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Typically, modules in the Foundation layer are either business-logic specific extensions on the technology frameworks used in the implementation, or shared functionality between feature modules that is abstracted out into separate frameworks.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Typically, modules in the Foundation layer are conceptually abstract and do not contain presentation in the form of renderings or views - as these are to be considered concrete.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://helix.sitecore.net/principles/architecture-principles/layers.html#foundation-layer&quot; rel=&quot;noreferrer&quot;&gt;Read more&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now - how do we apply this to your question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So a Foundation layer project, really should take some business logic or technology and provide the abstraction for one or more features to be able to use. A foundation project should &lt;em&gt;not&lt;/em&gt; be a generic place to put &quot;things&quot; and it should still not cover multiple business or tecnology units in a single project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you talk about a &lt;code&gt;Foundations.Abstraction&lt;/code&gt; project, this has the potential to become a dumping ground for &lt;em&gt;everything&lt;/em&gt; - similar to how you never want a class called &lt;code&gt;Utilities&lt;/code&gt; etc... - it is too generic and has no definition. Maintainability becomes problematic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Really your whole Foundation layer &lt;em&gt;is&lt;/em&gt; your abstraction so that the Features are not tightly coupled to the technology/frameworks that are underlying.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;YAGNI&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Another very important principle to keep in mind is: &lt;a href=&quot;https://en.wikipedia.org/wiki/You_aren&amp;#39;t_gonna_need_it&quot; rel=&quot;noreferrer&quot;&gt;YAGNI&lt;/a&gt; - if you &lt;em&gt;know&lt;/em&gt; that the functionality you are writing needs to be used by multiple features - for example an Indexing project that abstracts the Sitecore Search API - then, yes that is a Foundation project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you don't know or are not sure - then add it to your feature. There is no need to add more code to the &quot;Stable&quot; foundation layer than is absolutely needed. If that bit is needed by another feature later on, refactor it &lt;em&gt;then&lt;/em&gt;, when it &lt;em&gt;is&lt;/em&gt; needed.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;tl;dr&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The short version of that is:&#xA;* Don't add a generic project to the Foundation layer to hold &lt;em&gt;all&lt;/em&gt; abstractions, your foundation layer &lt;em&gt;is&lt;/em&gt; your abstraction&#xA;* Add to the Foundation layer &lt;em&gt;when&lt;/em&gt; your business features require it, not before.&#xA;* The Foundation layer &lt;em&gt;still&lt;/em&gt; is grouped into logical business or technology units.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Foundation.Abstractions&lt;/code&gt; - don't do it :)&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-03-06T18:58:34.810" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4751" PostTypeId="2" ParentId="4740" CreationDate="2017-03-06T19:43:19.380" Score="1" Body="&lt;p&gt;Every ribbon button is associated with a &lt;a href=&quot;https://trayek.wordpress.com/tag/commands/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Command&lt;/code&gt;&lt;/a&gt; which determines if the button is visible or not. Check the &lt;code&gt;QueryState&lt;/code&gt; method of the &lt;code&gt;Sitecore.Modules.EmailCampaign.Commands.OpenManager, Sitecore.EmailCampaign&lt;/code&gt; class which is bound to the &lt;code&gt;Open&lt;/code&gt; button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the current implementation, the button should be hidden if:&lt;br&gt;&#xA;1. The &lt;code&gt;/sitecore/system/Modules/Speak/EmailCampaign&lt;/code&gt; item is missing in the content database&lt;br&gt;&#xA;2. The URL parameter &lt;code&gt;mod_link&lt;/code&gt; is not provided  &lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-03-06T19:43:19.380" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4752" PostTypeId="1" AcceptedAnswerId="4781" CreationDate="2017-03-06T20:09:24.990" Score="4" ViewCount="2857" Body="&lt;p&gt;I found an article showing how to create an item using a branch. &#xA;&lt;a href=&quot;https://briancaos.wordpress.com/2009/12/01/creating-items-from-branches-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2009/12/01/creating-items-from-branches-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found another article showing how to create an image and being able to specify the new item's ID. &lt;a href=&quot;http://mixedsitecore.blogspot.com/2014/08/creating-new-item-with-specific-id.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mixedsitecore.blogspot.com/2014/08/creating-new-item-with-specific-id.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't find how to create a new item with a specific ID and a branch.  Can I assign a branch after creating the item?  Can I change an item's ID after it's created?&lt;/p&gt;&#xA;" OwnerUserId="933" LastEditorUserId="423" LastEditDate="2017-08-08T14:45:25.920" LastActivityDate="2017-08-08T14:45:25.920" Title="Create an item with a specific ID and Branch" Tags="|branch|sitecore-api|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4753" PostTypeId="1" AcceptedAnswerId="4754" CreationDate="2017-03-06T20:18:00.913" Score="3" ViewCount="153" Body="&lt;p&gt;In Sitecore 7.2 I am having an issue in the Content Editor where when I add a new item based off of a template that has no __Standard Values the fields are being populated with data from an unknown source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KgG6u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KgG6u.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a very simple image of what is happening but as you can see the Quantity field has a value of &quot;1&quot; upon creation of the item but there is no Quantity default value set on the __Standard Values template. &lt;/p&gt;&#xA;" OwnerUserId="1648" LastActivityDate="2017-04-05T21:53:48.490" Title="Why are new content items created in the content editor populated with data not in the __Standard Values of the template in Sitecore 7.2?" Tags="|content-editor|templates|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4754" PostTypeId="2" ParentId="4753" CreationDate="2017-03-06T21:22:14.087" Score="1" Body="&lt;p&gt;I managed to find out how these fields were getting their values defaulted. There was custom code written in our solution that hooked into the OnItemCreated event. The code was checking for this specific template and setting the item fields based on some custom logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorecommerce.wordpress.com/2014/11/16/sitecore-itemcreated-event/&quot; rel=&quot;nofollow noreferrer&quot;&gt;It was something similar to this.&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1648" LastActivityDate="2017-03-06T21:22:14.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4755" PostTypeId="1" AcceptedAnswerId="5286" CreationDate="2017-03-06T21:24:04.267" Score="4" ViewCount="547" Body="&lt;p&gt;After installing commerce server I tried to authenticate on my local site and got the following message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The requested profile could not be retrieved because the key name&#xA;  provided does not exist or is not an indexed property.  The profile&#xA;  type is 'UserObject'.  The key name provided is&#xA;  'GeneralInfo.ExternalID'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have run the deployment of the &lt;em&gt;ProfileDatabase.dacpac&lt;/em&gt; with a successfully deployed message as per the &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_SC_SetUpCommerceServerSite.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;guideline&lt;/a&gt;&#xA;I ran into this blog &lt;a href=&quot;http://www.bugdebugzone.com/2016/02/commerce-server-how-to-add-property-to.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;post&lt;/a&gt; and tried it but it did not work. The interesting thing is that the profiles database did have the &lt;code&gt;u_external_id&lt;/code&gt; property on the table &lt;code&gt;UserObject&lt;/code&gt;. However, if I open the commerce server manager and browse to the data sources and profile definitions, the external id property was not there as the post suggests. I added it but it didn't work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know what I'm missing?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="423" LastEditDate="2017-03-07T19:48:25.597" LastActivityDate="2017-04-08T00:18:25.527" Title="Commerce server issue: Can't authenticate on the website" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4756" PostTypeId="2" ParentId="4752" CreationDate="2017-03-06T22:40:21.527" Score="3" Body="&lt;p&gt;What you're asking for, doesn't entirely make sense. At least not to me. But let's start with the questions:&lt;/p&gt;&#xA;&lt;h2&gt;The questions&lt;/h2&gt;&#xA;&lt;h3&gt;Can I create a new Item with a specific ID and branch?&lt;/h3&gt;&#xA;&lt;p&gt;Well you can create a new Item with a specific ID, sure. It will blow up if the ID you're selecting already exists however. It looks like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;parent.Add(&amp;quot;myNewItem&amp;quot;, templateID, newItemId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You could theoretically add information on this newly created Item to indicate a branch, but it would mean nothing at this point. Branches only exist and have an effect when used to create items - not after the fact.&lt;/p&gt;&#xA;&lt;p&gt;There is no way to specify a Branch Template Id instead of a Template Id in Item creation API. The reason (probably) is; a Branch Template results in not 1 Item but 1..n items.&lt;/p&gt;&#xA;&lt;h3&gt;Can I assign a branch after creating the item?&lt;/h3&gt;&#xA;&lt;p&gt;Yes, but it would have no effect.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;parent.Fields[FieldIDs.Branches].Value = branchId.ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;All it would do, is show &amp;quot;created from [your branch]&amp;quot; in the Content Editor. It would have no other effect.&lt;/p&gt;&#xA;&lt;h3&gt;Can I change an Item ID after it is created?&lt;/h3&gt;&#xA;&lt;p&gt;No. Not using official APIs. On a database level, yes, but I strongly advise you not to go there. Doing so would not be supported by Sitecore either.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-03-06T22:40:21.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4757" PostTypeId="2" ParentId="4742" CreationDate="2017-03-06T22:54:02.203" Score="0" Body="&lt;p&gt;Hum, there is likely a few ways to achieve this. And it's literally been years since I've twiddled with these settings myself. I would try this though:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Place your DashBoard under /sitecore/DashBoard&lt;/li&gt;&#xA;&lt;li&gt;Add a new Site Definition, looking something like this. Make sure this is patched in &lt;strong&gt;before&lt;/strong&gt; &quot;website&quot;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;--&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site patch:before=&quot;site[@name='website']&quot;&#xA;    name=&quot;admin&quot; virtualFolder=&quot;/sitecore/DashBoard&quot;&#xA;    physicalFolder=&quot;/sitecore/DashBoard&quot;&#xA;    enableTracking=&quot;false&quot; &#xA;    enableWorkflow=&quot;false&quot; &#xA;    domain=&quot;sitecore&quot; &#xA;    loginPage=&quot;/sitecore/admin/login.aspx&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: &lt;code&gt;loginPage&lt;/code&gt; probably needs to be taken out. But ideally, you should make sure your custom web application inherits some of Sitecore's base page logic, so as to use a seamless login from the Sitecore client to your application, and to benefit from Sitecore permissions. That is a story for a different day however.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-03-06T22:54:02.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4758" PostTypeId="2" ParentId="4663" CreationDate="2017-03-06T23:07:20.003" Score="2" Body="&lt;p&gt;In &lt;code&gt;Sitecore.config&lt;/code&gt; (for failing environments), locate this setting.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;eventQueue&amp;gt;&#xA;  &amp;lt;!-- Time between checking the queue for newly queued events. If new events are found they will be raised. --&amp;gt;&#xA;  &amp;lt;processingInterval&amp;gt;00:00:02&amp;lt;/processingInterval&amp;gt;&#xA;&amp;lt;/eventQueue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Try and increase the processingInterval. Suspicion being, you may be running into a deadlock type of situation. So for example, set it to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;eventQueue&amp;gt;&#xA;  &amp;lt;!-- Time between checking the queue for newly queued events. If new events are found they will be raised. --&amp;gt;&#xA;  &amp;lt;processingInterval&amp;gt;00:00:30&amp;lt;/processingInterval&amp;gt;&#xA;&amp;lt;/eventQueue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4254/index-are-not-updating-after-db-restore&quot;&gt;Index are not updating after db restore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-06T23:07:20.003" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4759" PostTypeId="2" ParentId="3109" CreationDate="2017-03-06T23:14:58.220" Score="5" Body="&lt;p&gt;You need to inherit from &lt;code&gt;Controller&lt;/code&gt;, not &lt;code&gt;SitecoreController&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;SitecoreController&lt;/code&gt; is Sitecore's own controller  (duh, hehe) used for Sitecore's View Rendering components - but is not the one you are meant to inherit from for your own Controller Rendering components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;http://jondjones.com/how-to-make-sitecore-use-a-mvc-controller-controller-renderings-explained/&quot; rel=&quot;noreferrer&quot;&gt;How To Make Sitecore Use a MVC Controller, Controller Renderings Explained&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-03-06T23:14:58.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4760" PostTypeId="1" CreationDate="2017-03-07T08:41:41.593" Score="4" ViewCount="2300" Body="&lt;p&gt;I'm working on a redirect url feature and have added a pipeline processor after the ItemResolver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However the value of &lt;strong&gt;HttpContext.Current.Request.Url.LocalPath&lt;/strong&gt; equals &lt;strong&gt;&quot;/layouts/system/VisitorIdentificationCSS.aspx&quot;&lt;/strong&gt; rather than the value typed in the address bar. If I patch before the ItemResolver it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I disable &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; from my view the pipeline is never hit for as long as it's after ItemResolver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what this relates to? I'm not sure if it relates to the license not including xDB&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Process(HttpRequestArgs args) &#xA;{ &#xA;    if (args.Context.Request.Url.OriginalString.ToLower().Contains(‌​&quot;/sitecore&quot;)) &#xA;        return; &#xA;&#xA;    if (Sitecore.Context.Item == null) &#xA;        var path = HttpContext.Current.Request.Url.LocalPath;&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1274" LastEditorUserId="73" LastEditDate="2017-03-07T09:31:56.387" LastActivityDate="2017-03-07T09:31:56.387" Title="Implementing redirect url feature in the ItemResolver pipeline" Tags="|pipelines|redirect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4761" PostTypeId="2" ParentId="4760" CreationDate="2017-03-07T08:56:13.710" Score="5" Body="&lt;p&gt;Problem is with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Context.Item == null)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in your code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After &lt;code&gt;ItemResolver&lt;/code&gt; is executed, that will be never null for Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why you only see this hit for &lt;code&gt;VisitorIdentification&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want your code to be executed when Sitecore &quot;page&quot; is loaded, change your code to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Context.Item != null)&#xA;{&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-03-07T08:56:13.710" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4762" PostTypeId="1" CreationDate="2017-03-07T09:08:44.983" Score="2" ViewCount="575" Body="&lt;p&gt;I am getting below error while publishing Sitecore item.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you publish now, the selected version will not be visible on the&#xA;  Web site because it is not in the final workflow step. No other&#xA;  version will be published.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Just wanted to know, why i am getting this?&lt;/p&gt;&#xA;" OwnerUserId="1583" LastEditorUserId="2727" LastEditDate="2018-03-01T10:01:06.460" LastActivityDate="2018-03-01T10:01:06.460" Title="Getting error message in Sitecore item" Tags="|sitecore-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4763" PostTypeId="2" ParentId="4762" CreationDate="2017-03-07T09:12:24.187" Score="4" Body="&lt;p&gt;It's not an error. It's a warning message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It means that item has a workflow applied and it's not in the final state yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check &lt;code&gt;Workflow state&lt;/code&gt; field of your item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/U30Q4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/U30Q4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Review&lt;/code&gt; tab of your ribbon you should see something like &lt;code&gt;Approve&lt;/code&gt; button. Click it to move it to the final step of your workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4OcTf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4OcTf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-03-07T09:12:24.187" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4764" PostTypeId="2" ParentId="4742" CreationDate="2017-03-07T10:30:43.033" Score="1" Body="&lt;p&gt;Looks like you haven't registered Owin startup class in your app-settings/web.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Owin startup class has to be supplied for the middleware software to be loaded, should also be explained in the SignalR documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have included sample settings from the supplied link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Attribute on startup class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[assembly: OwinStartup(typeof(MyStartupClass))]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;App.config / web.config settings&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appSettings&amp;gt;  &#xA;    &amp;lt;add key=&quot;owin:appStartup&quot; value=&quot;MyNamespace.MyStartupClass&quot; /&amp;gt;&#xA;&amp;lt;/appSettings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/20144587/signalr-error-loading-hubs&quot;&gt;https://stackoverflow.com/questions/20144587/signalr-error-loading-hubs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This blogpost also has some examples/configurations on how to setup:&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/exploring_sitecore/posts/signalr-and-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/exploring_sitecore/posts/signalr-and-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1558" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-03-07T13:03:38.057" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4765" PostTypeId="1" CreationDate="2017-03-07T12:35:10.947" Score="4" ViewCount="135" Body="&lt;p&gt;I triggered a goal programmatically when someone chose an option from a dropdown however if during the same session they choose a different value in the dropdown I want to delete the goal trigger I did and replace it with the other one they picked.  How would I do this?&lt;/p&gt;&#xA;" OwnerUserId="512" LastActivityDate="2017-03-07T18:30:11.447" Title="Deleting a goal trigger I created programmatically" Tags="|goals|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4766" PostTypeId="2" ParentId="4755" CreationDate="2017-03-07T12:40:29.683" Score="1" Body="&lt;p&gt;Try this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Verify that profile schema is correct. If profile schema is incorrect then import profile schema again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After importing schema, modify Sitecore Commerce 8.0 powered by Commerce Server Profile Schema for Sitecore Integration as described here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have found that profile database schema was not correct and u_external_id column was missing in UserObject table of profile database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make the following changes in UserObject table of profile database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Add column: u_external_id NVARCHAR(256) NOT NULL&#xA;&#xA;IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'userobject' AND COLUMN_NAME = 'u_external_id')&#xA;BEGIN&#xA; ALTER TABLE dbo.UserObject ADD u_external_id nvarchar(256) NOT NULL&#xA;END&#xA;GO&#xA;&#xA;Create Index on: u_external_id, UNIQUE NONCLUSTERED INDEX and ASC&#xA;&#xA;IF  EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[UserObject]') AND name = N'IX_UserObject_ExternalId')&#xA; DROP INDEX [IX_UserObject_ExternalId] ON [dbo].[UserObject]&#xA;GO&#xA;&#xA;IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[UserObject]') AND name = N'IX_UserObject_ExternalId')&#xA;CREATE UNIQUE NONCLUSTERED INDEX [IX_UserObject_ExternalId] ON [dbo].[UserObject]&#xA;(&#xA; [u_external_id] ASC&#xA;)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update Sitecore Commerce 8.0 powered by Commerce Server Profile Schema. Add a new GeneralInfo.ExternalId profile property that maps to the external id column, it must be required and unique.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Refresh the cache and reload the register account page. You should no longer get the above error message and should be able to create new user account in demo storefront website.&lt;/p&gt;&#xA;" OwnerUserId="1633" LastEditorUserId="73" LastEditDate="2017-03-07T13:12:09.127" LastActivityDate="2017-03-07T13:12:09.127" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4767" PostTypeId="1" AcceptedAnswerId="4769" CreationDate="2017-03-07T14:05:02.577" Score="23" ViewCount="3693" Body="&lt;p&gt;Is it possible to make use of any of the component personalisation rules without xDB being enabled? e.g. to swap/hide a component depending on the current date? I'm not interested in tracking the outcome or any other factors, just alternating the presentation on certain conditions.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2020-07-14T20:00:46.863" LastActivityDate="2020-07-14T20:00:46.863" Title="Is it possible to use any personalisation rules without xDB" Tags="|xdb|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="4769" PostTypeId="2" ParentId="4767" CreationDate="2017-03-07T14:10:19.230" Score="24" Body="&lt;p&gt;Yes its actually very simple. You need to set the following settings:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Xdb.Enabled&lt;/code&gt; set to false&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; set to true&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That will disable Xdb, but still allow the personalization rules to run on renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this applies to 8.1 and above only. In 8.0 you would have to keep &lt;code&gt;Xdb.Enabled&lt;/code&gt; set to true and remove the MongoDb connection strings. It will generate a lot of errors in the logs and is not a supported way of running it. But it does work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since Sitecore 9.x, you must also disable EXM otherwise you will see Tracker errors in the log. To disable EXM:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Open the web.config file and in the &lt;code&gt;&amp;lt;appSettings&amp;gt;&lt;/code&gt; section, in the &lt;code&gt;&amp;lt;add key=&quot;exmEnabled:define&quot; value=&quot;yes&quot;/&amp;gt;&lt;/code&gt; setting, change the value to &lt;code&gt;&quot;no&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Disabling xDB like this means, you do not need an xDB license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/experience_management_an_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore in CMS Only Mode&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/enable-disable-the-xdb-and-the-tracker.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Enable/disable the xDB and the tracker in Sitecore 9.0+&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastEditorUserId="135" LastEditDate="2020-05-11T20:13:53.733" LastActivityDate="2020-05-11T20:13:53.733" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4770" PostTypeId="1" AcceptedAnswerId="4772" CreationDate="2017-03-07T14:31:21.973" Score="3" ViewCount="423" Body="&lt;p&gt;I'm using Sitecore for a few months and in most of the cases that Sitecore shows me a dialog, the dialog is really small and I have to change the height through the developer tools.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is an image to show how I see the dialogs.&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/li392.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/li392.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Microsoft Edge, the dialog is shown with the right size and in a coworker computer, the dialog on Chrome is shown with the right size too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My specification:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Windows 10 installed on Bootcamp partition of a Macbook Pro Retina&#xA;display&lt;/li&gt;&#xA;&lt;li&gt;Chrome version 56.0.2924.87 (64-bit)&lt;/li&gt;&#xA;&lt;li&gt;Display Settings: Macbook screen: 2880x1800 (at 200%), Second&#xA;Monitor: 1366x768 (at 100%). Must say that in both monitors the problem is the same.&lt;/li&gt;&#xA;&lt;li&gt;In Chrome incognito also happens.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I hope you can help me with this.&lt;/p&gt;&#xA;" OwnerUserId="1462" LastEditorUserId="135" LastEditDate="2019-12-27T03:02:45.700" LastActivityDate="2019-12-27T03:02:45.700" Title="Small dialog in chrome" Tags="|sitecore-client|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="4771" PostTypeId="2" ParentId="4767" CreationDate="2017-03-07T14:36:51.373" Score="5" Body="&lt;p&gt;Personalization IS possible without xDB – the Sitecore Rules Engine remains functional. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The value of personalization will come from custom-developed rules. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most of the Sitecore-supplied rules will NOT appear/function&#xA;The following features experience limitations as noted without xDB:&#xA;Personalization on historical behavior that is stored in XDB or relies upon tracking will be unavailable.&#xA; This includes:  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Channel &lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Contact&lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Tag&lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Engagement Value &lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Campaign Condition &lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Goal Condition &lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Keywords &lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Pattern &lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Visited Page &lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Profile &lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Visit&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Limitations&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To run CMS-only mode, you must set the Xdb.enabled configuration setting to false in the Sitecore.Xdb.config configuration file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When xDB.enabled is set to false, you do not have any access to the reporting or collection databases. Any functionality that depends on the xDB for data collection is not available and a number of applications in the Sitecore Experience Platform cannot run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Personalization&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can implement in-session personalization rules that are compatible with Experience Management, for example, based on IP Geolocation or goals triggered in a session, to provide personalized content to your contacts. You cannot, however, implement personalization rules based on historical data, like outcomes or past goals triggered, because the xDB stores that information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/experience_management_an_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/experience_management_an_overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-03-07T14:44:01.870" LastActivityDate="2017-03-07T14:44:01.870" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4772" PostTypeId="2" ParentId="4770" CreationDate="2017-03-07T15:45:27.253" Score="4" Body="&lt;p&gt;Firefox and IE or Edge are known to be most stable for Sitecore administration, that is, the Sitecore back office.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have saw this at the following link: &lt;a href=&quot;https://books.google.mu/books?id=ZqIvCwAAQBAJ&amp;amp;pg=PA188&amp;amp;lpg=PA188&amp;amp;dq=sitecore%20most%20stable%20administration%20browser&amp;amp;source=bl&amp;amp;ots=VlRfL4TlAE&amp;amp;sig=8I65ztOvdj2tvHY76rA2p3bFHCs&amp;amp;hl=en&amp;amp;sa=X&amp;amp;ved=0ahUKEwif1cXb3MTSAhVJUBQKHYWvCXMQ6AEIGDAA#v=onepage&amp;amp;q=sitecore%20most%20stable%20administration%20browser&amp;amp;f=false&quot; rel=&quot;nofollow noreferrer&quot;&gt;Practical Sitecore 8 Configuration and Strategy: A User Guide for Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, some users experienced Modal box issues on Chrome. A statement from Sitecore knowledge base:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore versions prior to Sitecore CMS 7.1 might be not working properly in Chrome 37 and later due to the deprecated support for modal dialog boxes in these versions of Chrome.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://kb.sitecore.net/articles/581527&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore knowledge base&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it was supposed to be fixed in latest Sitecore versions. It might be related to a JavaScript issue since I have seen in some Sitecore JS files, it caters for different browser (Firefox, IE, Chrome). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Though, it might also due to your display resolution. The JavaScript function will take into account the &lt;code&gt;window&lt;/code&gt; which is then used to calculate the dialog width and height.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-03-07T16:31:19.090" LastActivityDate="2017-03-07T16:31:19.090" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4773" PostTypeId="1" CreationDate="2017-03-07T15:52:57.493" Score="9" ViewCount="4565" Body="&lt;p&gt;I've edited a patched a pipeline using the following bit of code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;mvc.exception&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage, Sitecore.Mvc&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;ProjectName.PublicSite.Web.App_Pipelines.ExceptionHandler.ExceptionHandler, ProjectName.PublicSite.Web&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;&amp;lt;/mvc.exception&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In addition, I've created the following class to handle things that fall in the &lt;code&gt;mvc.exception&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace ProjectName.PublicSite.Web.App_Pipelines.ExceptionHandler&#xA;{&#xA;using Sitecore.Mvc.Pipelines.MvcEvents.Exception;&#xA;using Sitecore.Diagnostics;&#xA;using System.Configuration;&#xA;using System.Web.Configuration;&#xA;&#xA;public class ExceptionHandler : ExceptionProcessor&#xA;{&#xA;    public override void Process(ExceptionArgs args)&#xA;    {&#xA;        var context = args.ExceptionContext;&#xA;        var httpContext = context.HttpContext;&#xA;        var exception = context.Exception;&#xA;&#xA;        if (context.ExceptionHandled || httpContext == null || exception == null || !httpContext.IsCustomErrorEnabled)&#xA;        {&#xA;            return;&#xA;        }&#xA;        else&#xA;        {&#xA;            Log.Error(exception.Message, exception);&#xA;&#xA;            httpContext.Server.ClearError();&#xA;            string redirect = &quot;/error&quot;;&#xA;            httpContext.Response.Redirect(redirect, false);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem that I'm having is that this only handles certain exceptions that can occur, as detailed &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/handling-exceptions-globally-in-mvc-solutions-using-the-sitecore-asp-net-cms-revisited&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://www.partech.nl/nl/blog/2014/01/sitecore-mvc-applications-and-the-application-error-event&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;. I'd like to handle other exceptions that can arise. I've tried adding the following code to the Global.asax.cs file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void Application_Error (object sender, EventArgs e)&#xA;{&#xA;    Sitecore.Diagnostics.Log.Error(&quot;This is an error.&quot;, sender);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I'm not able to get it to hit when I throw an exception in the code. My overall goal is to be able to log any exceptions that may occur in the Sitecore logs.&lt;/p&gt;&#xA;" OwnerUserId="1653" LastActivityDate="2017-03-07T16:35:37.057" Title="Handle all Custom Errors in Sitecore MVC" Tags="|mvc|pipelines|logging|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4774" PostTypeId="2" ParentId="4773" CreationDate="2017-03-07T16:35:37.057" Score="11" Body="&lt;p&gt;So for Sitecore - a global error handler in the &lt;code&gt;global.asax&lt;/code&gt; will not work properly. The better way to do it is to override the code that calls each rendering and handle the errors there.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;ExecuteRenderer&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;With a simple override of &lt;code&gt;ExecuteRenderer&lt;/code&gt; we can easily catch all exceptions:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExecuteRenderer : Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer&#xA;{&#xA;    public override void Process(RenderRenderingArgs args)&#xA;    {&#xA;        try&#xA;        {&#xA;            base.Process(args);&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            args.Cacheable = false;&#xA;            // TODO: Log the error here and deal with how you want to display it to the user&#xA;            Log.Error(ex.Message, ex, this);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that we are setting &lt;code&gt;args.Cacheable = false&lt;/code&gt; - that means that this error handler will work nicely with cached renderings too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To enable it, simply patch the processor in, replacing the existing one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;mvc.renderRendering&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer, Sitecore.Mvc&quot;&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Exception.Handler.Pipelines.Response.RenderRendering.RenderRendering.ExecuteRenderer, Sitecore.Exception.Handler&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/mvc.renderRendering&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you have a global error handler, that will trap errors per rendering. This allows the rest of the site to continue to load nicely and just hides the offending rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more detail and some more ideas, see my original blog post here &lt;a href=&quot;http://www.sitecorenutsbolts.net/tags/Exceptions/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Rendering Exception Handling&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-03-07T16:35:37.057" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4775" PostTypeId="1" AcceptedAnswerId="4828" CreationDate="2017-03-07T17:40:08.917" Score="6" ViewCount="3363" Body="&lt;p&gt;I'm trying to setup SOLR Cloud to work with my Sitecore 8.2 (original release) instance. I'm doing this because our analytics index has gotten to the point where our massive SOLR box (90 Gb RAM, 16 Processors) can't handle the load. The SOLR Documentation recommends using the SOLR Cloud configuration so that we can split the index up among different boxes. Here's the error that we are getting from the Sitecore log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8416 08:54:21 ERROR &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;response&amp;gt;&#xA;&amp;lt;lst name=&quot;responseHeader&quot;&amp;gt;&amp;lt;bool name=&quot;zkConnected&quot;&amp;gt;true&amp;lt;/bool&amp;gt;&amp;lt;int name=&quot;status&quot;&amp;gt;500&amp;lt;/int&amp;gt;&amp;lt;int name=&quot;QTime&quot;&amp;gt;2&amp;lt;/int&amp;gt;&amp;lt;lst name=&quot;params&quot;&amp;gt;&amp;lt;str name=&quot;q&quot;&amp;gt;(_template:(e07c277f59684cc097bc8b3195159f56) AND associated_articles_sm:(90e745382dcd439bb507f7af92a2ce56))&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;fq&quot;&amp;gt;_indexname:(sitecore_web_index)&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;rows&quot;&amp;gt;2147483647&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;version&quot;&amp;gt;2.2&amp;lt;/str&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;lst name=&quot;error&quot;&amp;gt;&amp;lt;str name=&quot;trace&quot;&amp;gt;java.lang.NegativeArraySizeException&#xA;    at org.apache.lucene.util.PriorityQueue.&amp;amp;lt;init&amp;amp;gt;(PriorityQueue.java:63)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here's another part of the error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Source: SolrNet&#xA;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&#xA;   at SolrNet.Impl.SolrQueryExecuter`1.Execute(ISolrQuery q, QueryOptions options)&#xA;   at Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1.Execute(SolrCompositeQuery compositeQuery, Type resultType)&#xA;Nested Exception&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (500) Internal Server Error.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The odd thing is that when we try to access the SOLR server from that same machine, we don't have any issue doing that at all. We have the ZooKeeper configured properly, behind an IIS Site that acts as a load balancer for the ZooKeeper/SOLRCloud instances. Most of the site seems to work properly, but there are a couple of indexes that don't appear to be working correctly, and this error seems to be why.&#xA;I've also looked at &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1611/sitecore-content-deliveries-and-solr-with-high-availability&quot;&gt;this link&lt;/a&gt; but it's not helped to solve my problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are running the latest version of 6.x for SOLR. I don't know if that contributes to anything else or not. I'm not sure what my next steps need to be to help figure out what is wrong with my SOLR configuration. This does seem to be a SOLR Cloud configuration issue, as I'm running everything fine in my test environment which is running just a standard version of SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I begin figuring out what is going on with this? Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To answer the questions asked, I was able to send this query with no problems:&#xA;&lt;code&gt;http://MySolrIP:8983/solr/sitecore_web_index/select?indent=on&amp;amp;wt=json&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was also able to make this query without any errors as well:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://MySOlrIP:8983/solr/sitecore_web_index/select?indent=on&amp;amp;q=_template:(e07c277f59684cc097bc8b3195159f56)&amp;amp;associated_articles_sm:(90e745382dcd439bb507f7af92a2ce56)&amp;amp;rows=50&amp;amp;wt=json&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm thinking that it might be related to this error that we're seeing in the Sitecore logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-03-08 03:06:15.487 ERROR (qtp1983747920-9187) [c:mediaframework_ooyala_index s:shard2 r:core_node1 x:mediaframework_ooyala_index_shard2_replica1] o.a.s.h.RequestHandlerBase java.lang.NegativeArraySizeException&#xA;        at org.apache.lucene.util.PriorityQueue.&amp;lt;init&amp;gt;(PriorityQueue.java:63)&#xA;        at org.apache.lucene.util.PriorityQueue.&amp;lt;init&amp;gt;(PriorityQueue.java:44)&#xA;        at org.apache.solr.handler.component.ShardFieldSortedHitQueue.&amp;lt;init&amp;gt;(ShardFieldSortedHitQueue.java:45)&#xA;        at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:979)&#xA;        at org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:763)&#xA;        at org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:742)&#xA;        at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:428)&#xA;        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:166)&#xA;        at org.apache.solr.core.SolrCore.execute(SolrCore.java:2306)&#xA;        at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:658)&#xA;        at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:464)&#xA;        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:345)&#xA;        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:296)&#xA;        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)&#xA;        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)&#xA;        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)&#xA;        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)&#xA;        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)&#xA;        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)&#xA;        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)&#xA;        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)&#xA;        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)&#xA;        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)&#xA;        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)&#xA;        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)&#xA;        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)&#xA;        at org.eclipse.jetty.server.Server.handle(Server.java:534)&#xA;        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)&#xA;        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)&#xA;        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)&#xA;        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)&#xA;        at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)&#xA;        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)&#xA;        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)&#xA;        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)&#xA;        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)&#xA;        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)&#xA;        at java.lang.Thread.run(Thread.java:745)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Possibly unrelated, but maybe not, when we started running the query in the GUI we are now seeing this warning in the logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-03-08 17:05:42.511 WARN  (qtp1983747920-15) [c:sitecore_web_index s:shard1 r:core_node3 x:sitecore_web_index_shard1_replica1] o.e.j.h.HttpParser bad HTTP parsed: 400 HTTP/0.9 not supported for HttpChannelOverHttp@77faac88{r=0,c=false,a=IDLE,uri=null}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thank you for your help!&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="2727" LastEditDate="2018-04-03T06:50:43.880" LastActivityDate="2018-04-03T06:50:43.880" Title="SOLR Cloud error &quot;The remote server returned an error: (500)&quot;" Tags="|solr|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4776" PostTypeId="2" ParentId="4765" CreationDate="2017-03-07T18:30:11.447" Score="1" Body="&lt;p&gt;You can't &quot;un-trigger&quot; a goal, as it's written in xDB at this point (as pointed out by IsNull in a comment), a custom contact facet would serve you better at this point. You can re-set the facet as many times as you want, and only the latest value applies, achieving the behaviour you're looking for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question is, what do you want to use the data for? I.e. is there a reason that this needs to be a goal?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can write personlization rules for the custom facet, access the data during rendering, or bring it into Sitecore reporting. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding a custom contact facet:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/create_a_custom_contact_facet&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/create_a_custom_contact_facet&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-03-07T18:30:11.447" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4777" PostTypeId="5" CreationDate="2017-03-07T19:35:34.783" Score="0" Body="&lt;p&gt;&lt;strong&gt;Most Valuable Professional (MVP) Award&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore MVP Award celebrates the most active Sitecore community members from around the world who provide valuable online and offline expertise that enriches the community experience and makes a difference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;see more at &lt;a href=&quot;http://www.sitecore.net/mvp&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecore.net/mvp&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="237" LastEditDate="2017-03-07T21:16:51.210" LastActivityDate="2017-03-07T21:16:51.210" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4778" PostTypeId="4" CreationDate="2017-03-07T19:35:34.783" Score="0" Body="Sitecore Most Valuable Professional (MVP) Awards recognize individuals with a passion for sharing their knowledge and expertise through active participation in online and offline Sitecore communities" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2017-03-07T21:19:05.167" LastActivityDate="2017-03-07T21:19:05.167" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4779" PostTypeId="5" CreationDate="2017-03-07T19:37:14.010" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-03-07T19:37:14.010" LastActivityDate="2017-03-07T19:37:14.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4780" PostTypeId="4" CreationDate="2017-03-07T19:37:14.010" Score="0" Body="Questions regarding Microsoft Azure Application Insights" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2017-03-07T21:55:58.827" LastActivityDate="2017-03-07T21:55:58.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4781" PostTypeId="2" ParentId="4752" CreationDate="2017-03-07T20:14:38.087" Score="6" Body="&lt;p&gt;If what you are looking to do is create a new item with a specific ID from a specific branch template then what you are looking for is the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var newItemName = &quot;Name of Root Item to Create&quot; // this may be overridden by your branch template depending on how you set it up&#xA;var branchId = ... // ID of your branch template&#xA;var parentItem = ... // parent item under which the branch should be created as a child&#xA;var newItemId = ... // ID of the item to create &#xA;&#xA;ItemManager.AddFromTemplate(newItemName, branchId, parentItem, newItemId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above call to the static &lt;code&gt;Sitecore.Data.Managers.ItemManager.AddFromTemplate(string, ID, Item, ID)&lt;/code&gt; method will allow you to create an item with a specific ID and branch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the non-static methods &lt;code&gt;Sitecore.Data.Items.Item.Add(string, BranchItem)&lt;/code&gt; and &lt;code&gt;Sitecore.Data.Items.Item.Add(string, BranchId)&lt;/code&gt; both call the static method, above. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-03-07T20:14:38.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4782" PostTypeId="2" ParentId="3371" CreationDate="2017-03-07T21:33:19.623" Score="1" Body="&lt;p&gt;Seems someone has covered this, and shows where sitecore adds the process id&#xA;&lt;a href=&quot;https://sitecore.unic.com/2015/01/27/create-a-single-sitecore-log-file-per-day&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.unic.com/2015/01/27/create-a-single-sitecore-log-file-per-day&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However worth considering why sitecore adds the process id to the log file if it already exists &#xA;&lt;a href=&quot;http://hectorcorrea.com/blog/log4net-thread-safe-but-not-process-safe/17&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hectorcorrea.com/blog/log4net-thread-safe-but-not-process-safe/17&lt;/a&gt;&#xA;When IIS recycles with overlapped recycling (default), there could be two processes trying to write to the same file, and then the second process won't log anything. &#xA;So maybe it's not a bad idea to have the process id in the file name, as more important that logging works than in same file. &lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2017-03-07T21:33:19.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4783" PostTypeId="2" ParentId="4722" CreationDate="2017-03-07T21:47:55.147" Score="1" Body="&lt;p&gt;The problem is that unicorn sync can't find your Shared key. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Does the config file exist in your website.&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Please make sure this file is deployed in your website. It should be located at &lt;code&gt;[Your Web Path]/App_config/Include/Unicorn/Unicorn.UI.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/efa05353abd956c58cfa269541a2a848dc55e356/src/Foundation/Serialization/code/App_Config/Include/Unicorn/Unicorn.UI.config#L17&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/efa05353abd956c58cfa269541a2a848dc55e356/src/Foundation/Serialization/code/App_Config/Include/Unicorn/Unicorn.UI.config#L17&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;authenticationProvider type=&quot;Unicorn.ControlPanel.Security.ChapAuthenticationProvider, Unicorn&quot;&amp;gt;&#xA;       &amp;lt;SharedSecret&amp;gt;749CABBC85EAD20CE55E2C6066F1BE375D2115696C8A8B24DB6ED1FD60613086&amp;lt;/SharedSecret&amp;gt;&#xA;       &amp;lt;!-- Authentication challenges are stored in a Sitecore database. You can select which database here. No item installs/templates are required. --&amp;gt;&#xA;       &amp;lt;ChallengeDatabase&amp;gt;web&amp;lt;/ChallengeDatabase&amp;gt;&#xA;       &amp;lt;!-- &#xA;        Writes the reason why failed automated tool authentications failed to the Sitecore logs.&#xA;        Will result in writing your shared secret to the logs as part of the signature base, so you can disable it if you wish.&#xA;       --&amp;gt;&#xA;       &amp;lt;WriteAuthFailuresToLog&amp;gt;false&amp;lt;/WriteAuthFailuresToLog&amp;gt;&#xA;    &amp;lt;/authenticationProvider&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Is your gulp config set to your site location&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You need to make sure a few setting are3 right. In the &lt;code&gt;gulp-config.js&lt;/code&gt; in the root of the project, make sure &lt;code&gt;instanceRoot&lt;/code&gt; and &lt;code&gt;websiteRoot&lt;/code&gt; are properly set.&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/78f9b95d133424b30e4d4ecfc2b1c7e1c53be07f/gulp-config.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/78f9b95d133424b30e4d4ecfc2b1c7e1c53be07f/gulp-config.js&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var instanceRoot = &quot;C:\\websites\\Habitat.dev.local&quot;;&#xA;var config = {&#xA;websiteRoot: instanceRoot + &quot;\\Website&quot;,&#xA;sitecoreLibraries: instanceRoot + &quot;\\Website\\bin&quot;,&#xA;licensePath: instanceRoot + &quot;\\Data\\license.xml&quot;,&#xA;solutionName: &quot;Habitat&quot;,&#xA;buildConfiguration: &quot;Debug&quot;,&#xA;runCleanBuilds: false&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Gulp file looks for your config&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the gulpfile.js (the gulp task) is specifically looks for the config file with the shared key with the js configs set above.&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/78f9b95d133424b30e4d4ecfc2b1c7e1c53be07f/gulpfile.js#L84&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/78f9b95d133424b30e4d4ecfc2b1c7e1c53be07f/gulpfile.js#L84&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see below that it is specifically looking for the config file.&#xA;&lt;code&gt;options.authenticationConfigFile = config.websiteRoot + &quot;/App_config/Include/Unicorn/Unicorn.UI.config&quot;;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Where your error is&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your error is here and it tries to parse the config file&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/efa05353abd956c58cfa269541a2a848dc55e356/scripts/unicorn.js#L25&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/efa05353abd956c58cfa269541a2a848dc55e356/scripts/unicorn.js#L25&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;secret = result.configuration.sitecore[0].unicorn[0].authenticationProvider[0].SharedSecret[0];&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-03-07T21:47:55.147" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4784" PostTypeId="1" CreationDate="2017-03-07T22:17:59.477" Score="3" ViewCount="1244" Body="&lt;p&gt;Background: &#xA;We have 4 multi-lingual sites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Objective: When the language is embedded in the url, it should take the user to that specific site, and not the site stored in the cookie, and it should update the cookie accordingly.&#xA;When there is no language specified in the url, it should take the user to the site specified in the cookie or look up the GeoIp.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue: When we do not mention the language in the url, it defaults to 'en' always, even for a new user.&#xA;This happens because HttpContext.Current.Request.RawUrl always has a value&quot;/en&quot; when no language embedded in the url.&#xA;We are resolving this at the SiteResolver processor in the HttpRequestBegin pipeline.&#xA;After debugging some more, it also seemed to be an issue at the NormalizeRawUrl processor of the preprocessRequest pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure how to capture the exact URL entered in the browser using HttpContext.Current.Request&#xA;Is this Objective achievable?&#xA;Has someone gone through similar issues and how did you tackle this problem?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;www.xyz.com/en-ca/abc   ---&gt;  This will take us to Canada website. &#xA;HttpRequest.current.Request.RawUrl value is: &quot;/en-ca/abc&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;www.xyz.com  ---&gt; This should ideally take us to Canadian website because &#xA;                       1) No language specified in the url.&#xA;                       2) The cookies were set in the previous url.&#xA;HttpRequest.current.Request.RawUrl value is: &quot;/en&quot; where as we expect it to be &quot;/&quot; or &quot;&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&#xA;Ashita&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code snippet that we use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//First: we try and take the site from the Querystring: KEY_SITE: &quot;site&quot; KEY_SITE_NAME: &quot;sc_site&quot;&#xA;var queryString = HttpContext.Current.Request.QueryString;&#xA;siteSpecified = string.Empty;&#xA;if (!string.IsNullOrEmpty(queryString[QuerystringUtil.KEY_SITE]))&#xA;{&#xA;    siteSpecified = queryString[QuerystringUtil.KEY_SITE];&#xA;}&#xA;else if(!string.IsNullOrEmpty(queryString[QuerystringUtil.KEY_SITE_NAME]))&#xA;{&#xA;    siteSpecified = queryString[QuerystringUtil.KEY_SITE_NAME];&#xA;}&#xA;else&#xA;{&#xA;    var siteLng = new Dictionary&amp;lt;string, string&amp;gt;&#xA;    {&#xA;        {&quot;en&quot;, &quot;site-us&quot;},&#xA;        {&quot;en-ca&quot;, &quot;site-ca&quot;},&#xA;        {&quot;en-gb&quot;, &quot;site-uk&quot;},&#xA;        {&quot;en-au&quot;, &quot;site-au&quot;}&#xA;    };&#xA;&#xA;    //Second: This is piece where we read from the RawUrl which defaults to EN when no language specified&#xA;    foreach (var sl in siteLng.Where(sl =&amp;gt; HttpContext.Current.Request.RawUrl.ToLower().Contains(&quot;/&quot; + sl.Key)))&#xA;            {&#xA;                siteSpecified = sl.Value;&#xA;            }&#xA;SiteContext context;&#xA;if(!string.IsNullOrWhiteSpace(siteSpecified))&#xA;{&#xA;    context = Factory.GetSite(siteSpecified);&#xA;}&#xA;Language lang;&#xA;if(context != null &amp;amp;&amp;amp; context.IsCustomSite() &amp;amp;&amp;amp; context.Language != null)&#xA;{&#xA;    lang = Language.Parse(context.Language);&#xA;}&#xA;KeyValuePair&amp;lt;SiteContext, Language&amp;gt; kvp = new KeyValuePair&amp;lt;SiteContext, Language&amp;gt;();&#xA;if(lang != null)&#xA;{&#xA;   kvp = new KeyValuePair&amp;lt;SiteContext, Language&amp;gt;(context, lang);&#xA;}&#xA;&#xA;if(kvp.Key != null &amp;amp;&amp;amp; kvp.Value != null)&#xA;{&#xA;    SettingSite(kvp);&#xA;    return;&#xA;}&#xA;&#xA;//Third: We try to retrieve from the cookie&#xA;kvp = GetSiteFromCookie();&#xA;if(kvp.Key != null &amp;amp;&amp;amp; kvp.Value != null)&#xA;{&#xA;    SettingSite(kvp);&#xA;    return;&#xA;}&#xA;&#xA;//Fourth: We try to get it from GeoIP&#xA;kvp = GetSiteFromGeoIP();&#xA;if(kvp.Key != null &amp;amp;&amp;amp; kvp.Value != null)&#xA;{&#xA;    SettingSite(kvp);&#xA;    return;&#xA;}&#xA;&#xA;&#xA;//SettingSite Function looks like below:&#xA;private void SettingSite(KeyValuePair&amp;lt;SiteContext, Language&amp;gt; siteAndLanguage)&#xA;    {&#xA;        if (siteAndLanguage.Key == null || siteAndLanguage.Value == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (VerifyContext(siteAndLanguage.Value, siteAndLanguage.Key) &amp;amp;&amp;amp; VerifyCookie(siteAndLanguage.Value, siteAndLanguage.Key))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (!siteAndLanguage.Key.IsCustomSite())&#xA;        {&#xA;            return;&#xA;        }&#xA;     Language language;&#xA;&#xA;        if (HttpContext.Current.Request.Url.Segments.Any())&#xA;        {&#xA;             language = Sitecore.Context.Data.FilePathLanguage;&#xA;        }&#xA;        if (language != null &amp;amp;&amp;amp; language.Name != siteAndLanguage.Value.Name)&#xA;        {&#xA;            string newUrl = ReplaceLanguageInUrl(siteAndLanguage.Value);&#xA;            HttpContext.Current.Response.Redirect(newUrl, true);&#xA;        }&#xA;        else&#xA;        {&#xA;            CookieUtil.SetSiteLanguageCookie(site.Name, language.Name);&#xA;            Sitecore.Context.SetLanguage(language, true);&#xA;            Sitecore.Context.SetActiveSite(site.Name);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1656" LastEditorUserId="2727" LastEditDate="2018-03-03T14:41:31.210" LastActivityDate="2018-03-03T14:41:31.210" Title="Http Request.RawUrl has DefaultLanguage &quot;en&quot; Sitecore" Tags="|multilingual|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4785" PostTypeId="2" ParentId="4663" CreationDate="2017-03-07T22:35:56.553" Score="6" Body="&lt;p&gt;The EventQueue - the medium of communication between your Sitecore instances - is timestamp-based, which can lead to issues if you are using replication and something happened that caused your SQL instance to re-initialize/failover or if the EventQueue's last processed timestamp becomes corrupted. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to ensure that this is not the issue, connect to each of your databases (you could do this just for Web, but if it affects one it likely affects all of them) and execute the following SQL commands (&lt;strong&gt;order matters&lt;/strong&gt;; see below for details):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;DELETE FROM [EventQueue]; --optionally, you can change this command to delete older than a certain date instead&#xA;&#xA;DELETE FROM [Properties] WHERE [Key] LIKE 'EQStamp_%';&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;What did I just do?&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Cleared the EventQueues&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;It is safe to clear the EventQueues for your databases, and often times this will result in a performance boost - sometimes noticeable; other times not. When these tables become too large, Sitecore often has trouble processing them, hence why Sitecore includes Cleanup Agents for the EventQueues to delete old records. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, all you are doing here is resetting the stage and giving your environment a &quot;clean slate&quot; as far as events queuing is concerned.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Side-note about the Cleanup Agents: since the agents run on a relatively long default interval, the EventsQueue can get very large on a bigger site. Additionally, since agents can be troublesome when longer intervals are used (reference the section &quot;The Problem with Agents&quot; in &lt;a href=&quot;https://sitecore.stackexchange.com/a/4676/423&quot;&gt;this post&lt;/a&gt;), I typically create Windows Scheduled tasks to regularly clean out the EventQueues for larger sites, due to the greater reliability of the scheduling.&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Cleared the Reported Times the EventQueues were Last Processed&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Sitecore stores the value that represents the last time a database's EventQueue was processed in the &lt;code&gt;Properties&lt;/code&gt; table. The &lt;code&gt;Key&lt;/code&gt; for this value is &lt;code&gt;EQStamp_&amp;lt;MachineName&amp;gt;-&amp;lt;IISAppPoolName&amp;gt;&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By deleting all values from the &lt;code&gt;Properties&lt;/code&gt; table with a &lt;code&gt;Key&lt;/code&gt; that starts with the value &lt;code&gt;'EQStamp_'&lt;/code&gt; (via the &lt;code&gt;%&lt;/code&gt; wildcard and the &lt;code&gt;LIKE&lt;/code&gt; operator), you are essentially &quot;resetting&quot; the last recorded time the EventQueues were processed to &quot;never.&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As such, the next time Sitecore goes to process the EventQueue for that database it will see any records in the &lt;code&gt;EventQueue&lt;/code&gt; table as new events, and will thus begin to process them. As such, &lt;strong&gt;it is important that you clear your EventQueues before doing this step&lt;/strong&gt;. If you do not, your instances will see all of the records in the &lt;code&gt;EventQueue&lt;/code&gt; table, including those already and not yet processed - as new events and will begin to process them all. If you have a large amount of records in your &lt;code&gt;EventQueue&lt;/code&gt; this can take a very long time, so be sure that your &lt;code&gt;EventQueue&lt;/code&gt; is cleared &lt;em&gt;before&lt;/em&gt; you clear the last processed timestamp.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why did I do that thing I just did?&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Database-Relative Time and the Last Processed Time&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The EventQueue uses the recorded last processed time for determining which events are new, so as to retrieve them for processing. In order to retrieve &lt;em&gt;new&lt;/em&gt; events for processing, Sitecore requests all events from the EventQueue that are newer than the last-processed event, as determined by comparing the &lt;code&gt;timestamp&lt;/code&gt; values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way that the EventQueue's last processed time is recorded is by creating a a copy of the &lt;code&gt;[EventQueue].[Stamp]&lt;/code&gt; column value of the last processed event. The &lt;code&gt;[EventQueue].[Stamp]&lt;/code&gt; column is of the &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ms182776.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;timestamp&lt;/code&gt; type&lt;/a&gt; (deprecated since SQL 2008), and its value is copied to the &lt;code&gt;Properties&lt;/code&gt; table as a string (stored in an &lt;code&gt;ntext&lt;/code&gt; type column). The newly created record in the &lt;code&gt;Properties&lt;/code&gt; table is the one that we cleared out, with the &lt;code&gt;Key&lt;/code&gt; column value of &lt;code&gt;EQStamp_&amp;lt;MachineName&amp;gt;-&amp;lt;IISAppPoolName&amp;gt;&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;timestamp&lt;/code&gt; type stores a database-relative time that is computed by incrementing an 8-byte binary counter on each &lt;code&gt;INSERT&lt;/code&gt; or &lt;code&gt;UPDATE&lt;/code&gt; operation. According to &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ms182776.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;MSDN&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Each database has a counter that is incremented for each insert or update operation that is performed on a table that contains a rowversion column within the database. This counter is the database rowversion. &lt;strong&gt;This tracks a relative time within a database, not an actual time that can be associated with a clock&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Essentially, what this means is that when the SQL instance re-initializes it's basically starting out with a fresh database-relative &lt;code&gt;timestamp&lt;/code&gt;, meaning that any newly generated &lt;code&gt;timestamp&lt;/code&gt; values will be starting from 0. More accurately, the &lt;code&gt;timestamp&lt;/code&gt; values will be starting from the point at which the replication started. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here's where this gets to be a problem:&lt;/strong&gt; assume that when the replication started, the last processed timestamp was &lt;code&gt;601283&lt;/code&gt; (which is a number I took from a random web database's &lt;code&gt;Properties&lt;/code&gt; table in my local SQL instance). Time passes and the last processed timestamp of the SQL instance being used, &lt;em&gt;SQL A&lt;/em&gt;, grows to &lt;code&gt;1301283&lt;/code&gt;. At that point, something happens and &lt;em&gt;SQL A&lt;/em&gt; is replaced with the replication set, &lt;em&gt;SQL B&lt;/em&gt;. The problem is that &lt;em&gt;SQL B&lt;/em&gt;'s timestamp value is still &lt;code&gt;601283&lt;/code&gt; (the value from immediately before replication started), but because &lt;em&gt;SQL B&lt;/em&gt; was a replication set its &lt;code&gt;Properties&lt;/code&gt; table has the last processed time recorded as &lt;code&gt;1301283&lt;/code&gt; (the value the timestamp on &lt;em&gt;SQL A&lt;/em&gt; grew to, before &lt;em&gt;SQL B&lt;/em&gt; took over). As a result, &lt;em&gt;new&lt;/em&gt; events are created in &lt;em&gt;SQL B&lt;/em&gt; with timestamp values &lt;code&gt;601288&lt;/code&gt;, &lt;code&gt;601313&lt;/code&gt;, &lt;code&gt;601337&lt;/code&gt;, ... and so on (note that these are just examples) meanwhile Sitecore is only requesting events with a timestamp value greater than &lt;code&gt;1301283&lt;/code&gt;. &lt;strong&gt;What this means is that the database now thinks that the &lt;em&gt;new&lt;/em&gt; events have already been processed, because compared to the recorded last processed timestamp, &lt;code&gt;1301283&lt;/code&gt;, the new events' timestamp values, e.g. &lt;code&gt;601288&lt;/code&gt;, are in the past!&lt;/strong&gt; This means that &lt;strong&gt;&lt;em&gt;new&lt;/em&gt; events are effectively ignored by Sitecore.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be noted that left unfixed the &lt;code&gt;timestamp&lt;/code&gt; value should eventually catch up to the last processed value stored in the &lt;code&gt;Properties&lt;/code&gt; table. The amount of time this takes depends on how long your replication has been running. For some instances, this issue might not be that big of a problem, e.g. if your replication has only been running for a few hours, a few days, or sometimes even longer, depending on how heavily the instance is being used and changes are being made. However, if your replication has been running long enough then it could take weeks, months or even years for the &lt;code&gt;timestamp&lt;/code&gt; value to catch up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To sum it all up, this problem can be remedied by simply deleting the EventQueue's recorded last processed time from the &lt;code&gt;Properties&lt;/code&gt; table, so as to reset the value that Sitecore assumes a &quot;new&quot; event's &lt;code&gt;Stamp&lt;/code&gt; column value must be greater than.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Corruption of the Last Processed Time&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;While not super likely, it is also possible for the EventQueue's recorded last processed time to become corrupted. This can happen as a result of changes in SQL infrastructure, backups/restores, etc. If any of these scenarios may be relevant, this solution is very low effort and low risk. In general, it pays to execute the queries, specified above, to be safe and eliminate these issues as a possibility.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Credit&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Much of the credit for the explanation of why this solution works is due to Per Manniche Bering and his post, &lt;a href=&quot;http://invokecommand.net/posts/sitecore-cd-nodes-not-picking-up-events&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore CD nodes not picking up events after replication re-initialization&lt;/a&gt;. I must also give him credit for finding and highlighting (which I matched via emboldening) the excerpt from MSDN that I quoted above, which I found to be of great help in fully understanding the issue (ergo, why I repeated it, here). &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-08T17:33:00.457" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4786" PostTypeId="2" ParentId="4784" CreationDate="2017-03-07T22:50:33.237" Score="3" Body="&lt;p&gt;Ok, this is a bit tricky - as there are a lot of different actors in play here - and I don't know exactly where you are patching in, and expecting what result.&lt;/p&gt;&#xA;&lt;p&gt;However, let's list them.&lt;/p&gt;&#xA;&lt;h2&gt;StripLanguage&lt;/h2&gt;&#xA;&lt;p&gt;Processor sits in the &lt;code&gt;&amp;lt;preprocessRequest&amp;gt;&lt;/code&gt; pipeline.&#xA;Will internally &lt;em&gt;rewrite&lt;/em&gt; your URL if it finds a language string embedded. So if your query string contains &lt;code&gt;/en&lt;/code&gt;, it will be rewritten to &lt;code&gt;/?sc_lang=en&lt;/code&gt;. If it does &lt;strong&gt;not&lt;/strong&gt; find a language string, this processor does nothing.&lt;/p&gt;&#xA;&lt;p&gt;The processor can be entirely disabled by the setting &lt;code&gt;AlwaysStripLanguage&lt;/code&gt; on your &lt;code&gt;LinkManager&lt;/code&gt;. If you are overriding language resolution logic, I recommend doing this - or removing the processor entirely.&lt;/p&gt;&#xA;&lt;h2&gt;SiteResolver&lt;/h2&gt;&#xA;&lt;p&gt;The resolver you have patched into, if I'm reading you right. No secondary language handling has happened at this time. If you do any redirect at this point in time, no language selection or change you make will never take permanent effect. That is to say, this depends a little bit on how you set it - please share the code to clarify.&lt;/p&gt;&#xA;&lt;h2&gt;LanguageResolver&lt;/h2&gt;&#xA;&lt;p&gt;Sits after &lt;code&gt;SiteResolver&lt;/code&gt;. Will look for &lt;code&gt;sc_lang=value&lt;/code&gt; in the querystring and set &lt;code&gt;Context.Language&lt;/code&gt; if found. &lt;code&gt;Context.Language&lt;/code&gt; will in turn set both &lt;code&gt;Context.Items[&amp;quot;sc_language&amp;quot;] and drop a language cookie - if a &lt;/code&gt;Site` has been identified.&lt;/p&gt;&#xA;&lt;h2&gt;Context.Language&lt;/h2&gt;&#xA;&lt;p&gt;Assuming none of the above have done anything, the default behaviour of &lt;code&gt;Context.Language&lt;/code&gt; is to first look at &lt;code&gt;Context.Items[&amp;quot;sc_language&amp;quot;]&lt;/code&gt; and use it if found. If not found, it will look for a &lt;code&gt;site language cookie&lt;/code&gt; (default &lt;em&gt;sitename#lang&lt;/em&gt;). If one is found, use that language.&lt;/p&gt;&#xA;&lt;h2&gt;In summary&lt;/h2&gt;&#xA;&lt;p&gt;So?  Can it be done?  Yes. Your scenario can be achieved, but I'm not sure you're a) patching in the right places, and b) fully adhering to how language resolving is supposed to work.&lt;/p&gt;&#xA;&lt;p&gt;Based on what I know from your question I would suggest you patch in &lt;em&gt;just before the ItemResolver&lt;/em&gt;. Check language settings at this point, and redirect specifically to the site you want.&lt;/p&gt;&#xA;&lt;h3&gt;Alternatively&lt;/h3&gt;&#xA;&lt;p&gt;Patch in where you do now, on &lt;code&gt;SiteResolver&lt;/code&gt; level. Be aware that, at this point, &lt;code&gt;Context.Language&lt;/code&gt; will operate on defaults &lt;em&gt;per the previous page request&lt;/em&gt; &lt;strong&gt;unless&lt;/strong&gt; &lt;code&gt;StripLanguage&lt;/code&gt; has detected a language and rewritten the url. If it has (which it would have, for &lt;code&gt;/en&lt;/code&gt;, &lt;code&gt;Context.Items[&amp;quot;sc_language&amp;quot;]&lt;/code&gt; will have a value, same as &lt;code&gt;Context.Language&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;And I do apologise if this seems confusing; it really is slightly... cryptic, the way this is handled.  I can probably give you a better and more direct answer, if I knew exactly how you patched in and the code you are injecting to the pipelines.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-03-07T22:50:33.237" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4790" PostTypeId="1" CreationDate="2017-03-08T06:56:52.683" Score="2" ViewCount="301" Body="&lt;p&gt;While Using Glass mapper Api getting $name token(default value) instead of actual value from sitecore field.While using sitecore API it works fine.This happens few of the item all others item works fine (using same templates).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Provided by Pushpendra:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[XmlInclude(typeof(EventGroup)), SitecoreType(TemplateId = &quot;{BE983705-200C-4F7B-87BD-CBE9382C856C}&quot;)]&#xA;public class BaseGroup : ISitecoreBasedObject { &#xA;   [SitecoreField(FieldId = &quot;{8D5DB0AC-ABEA-4668-8B05-77DCA9D5AC50}&quot;)] &#xA;   public virtual string Name { get; set; } &#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (ItineraryGroup g in itin.Groups) { &#xA;   &amp;lt;h4&amp;gt;@g.GroupInfo.Name&amp;lt;/h4&amp;gt; &#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1660" LastEditorUserId="1558" LastEditDate="2017-03-08T09:53:44.957" LastActivityDate="2017-05-07T10:52:01.820" Title="Using Glass mapper Api getting $name token instead of actual value from sitecore" Tags="|glass-mapper|" AnswerCount="1" CommentCount="1" ClosedDate="2017-05-07T22:24:44.577" ContentLicense="CC BY-SA 3.0" />
  <row Id="4791" PostTypeId="2" ParentId="4790" CreationDate="2017-03-08T07:40:23.237" Score="0" Body="&lt;p&gt;Without more explation or code examples my answer would be that you are using a mix of master and web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are getting a item from the database and using SitecoreContext directly (which could then be web), then you could have a field mismatch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example of mismatch from the below link:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var db = Factory.GetDatabase(&quot;master&quot;);&#xA;var context = new SitecoreContext();&#xA;// the ID of Needed item&#xA;var g = new Guid(&quot;{F21C04FE-8826-41AB-9F3C-F7BDF5B35C76}&quot;);&#xA;// just to test if it's possible to fetch item using db.GetItem&#xA;var i = db.GetItem(new ID(g), Language.Current, Sitecore.Data.Version.Latest);&#xA;// Grab item&#xA;var t = context.GetItem&amp;lt;Article&amp;gt;(g);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Correct usage:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var db = Factory.GetDatabase(&quot;web&quot;);&#xA;var context = new SitecoreContext();&#xA;// the ID of Needed item&#xA;var g = new Guid(&quot;{F21C04FE-8826-41AB-9F3C-F7BDF5B35C76}&quot;);&#xA;// just to test if it's possible to fetch item using db.GetItem&#xA;var i = db.GetItem(new ID(g), Language.Current, Sitecore.Data.Version.Latest);&#xA;// Grab item&#xA;var t = context.GetItem&amp;lt;Article&amp;gt;(g);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/24521113/sitecore-glass-mapper-getitemtypenameguid-always-return-null&quot;&gt;https://stackoverflow.com/questions/24521113/sitecore-glass-mapper-getitemtypenameguid-always-return-null&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1558" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-03-08T07:40:23.237" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4792" PostTypeId="2" ParentId="4635" CreationDate="2017-03-08T07:41:01.967" Score="5" Body="&lt;p&gt;It would appear to me that based on the above error messages and defined configurations, that somehow,  &quot;&lt;strong&gt;FacebookNetworkProvider&lt;/strong&gt;&quot; was set as the &lt;strong&gt;type&lt;/strong&gt; of the Facebook Network Provider configuration &quot;type&quot;. Similar to so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;social patch:source=&quot;Sitecore.Social.Facebook.config&quot;&amp;gt;&#xA; &amp;lt;networks&amp;gt;&#xA;  &amp;lt;network name=&quot;Facebook&quot; ItemId=&quot;{D7429409-D6DA-46CD-91DD-8702781AE3C4}&quot; prefix=&quot;fb&quot; icon=&quot;facebook&quot; url=&quot;https://www.facebook.com&quot;&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;provider type=&quot;FacebookNetworkProvider, Sitecore.Social.Facebook&quot;/&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/network&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, your provided configuration doesn't appear to indicate this. However, the provided error messages do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how did I arrive at this conclusion?  Let's step through backward beginning with the error message.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;WARN Could not find type in ReflectionUtil.CreateObject: FacebookNetworkProvider&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This error message contains one clear clue: &lt;em&gt;FacebookNetworkProvider&lt;/em&gt; which is a string representation of the class that RefelctionUtil.CreateObject is expecting.  We can see that here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static object CreateObject(string assembly, string className, object[] parameters)&#xA;{&#xA;  Assembly assembly1 = ReflectionUtil.LoadAssembly(assembly);&#xA;  if (assembly1 != (Assembly) null)&#xA;  {&#xA;    Type type = assembly1.GetType(className, false, true);&#xA;    if (type != (Type) null)&#xA;    {&#xA;      SystemCount.ReflectionTypesResolved.Increment(1L);&#xA;      return ReflectionUtil.CreateObject(type, parameters);&#xA;    }&#xA;    Log.Warn(&quot;Could not find type in ReflectionUtil.CreateObject: &quot; + className, (object) typeof (ReflectionUtil));&#xA;    SystemCount.ReflectionTypesNotResolved.Increment(1L);&#xA;  }&#xA;  return (object) null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that &lt;code&gt;className&lt;/code&gt; is used in the error message. However, most class names should be in the form of &lt;code&gt;Some.Name.Space.Class&lt;/code&gt; (In this case, it should be &lt;code&gt;Sitecore.Social.Facebook.Networks.Providers.FacebookProvider&lt;/code&gt;). In addition, ReflectionUtil is specifically using the &lt;code&gt;CreateObject(string assembly, string className, object[] parameters)&lt;/code&gt; method because it detected a comma in the &lt;strong&gt;typeName&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static object CreateObject(string typeName, object[] parameters)&#xA;{&#xA;  if (typeName == null || typeName.Length == 0)&#xA;    return (object) null;&#xA;  int length = typeName.IndexOf(',');&#xA;  if (length &amp;gt;= 0)&#xA;  {&#xA;    string className = typeName.Substring(0, length).Trim();&#xA;    return ReflectionUtil.CreateObject(typeName.Substring(length + 1).Trim(), className, parameters);&#xA;  }&#xA;&#xA;  //Snipped&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, this only provides a warning and instead returns &lt;strong&gt;null&lt;/strong&gt; for the value of the created object, which in this case is supposed to be a network provider.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;ERROR Sitecore.Social: Can't cast the instance of type &quot;&quot; to NetworkProvider type&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;So, now that the Reflection.Util has tried to create a &lt;strong&gt;FacebookNetworkProvider&lt;/strong&gt; to wit it had zero success in doing, the &lt;code&gt;NetworkProviderFactory&lt;/code&gt; checks to see if the object returned is of subtype NetworkProvider.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public NetworkProvider GetNetworkProvider(Application application)&#xA;{&#xA;  Assert.IsNotNull((object) application, &quot;Application is not defined&quot;);&#xA;  Assert.IsNotNull((object) application.Network, &quot;Network of application is not defined&quot;);&#xA;  string providerTypeName = this.GetNetworkProviderTypeName(application.Network.Name);&#xA;  try&#xA;  {&#xA;    object obj = ReflectionUtil.CreateObject(providerTypeName, new object[1]&#xA;    {&#xA;      (object) application&#xA;    });&#xA;    if (!(obj is NetworkProvider))&#xA;      this.logManager.LogMessage(string.Format((IFormatProvider) CultureInfo.CurrentCulture, &quot;Can't cast the instance of type \&quot;{0}\&quot; to NetworkProvider type&quot;, new object[1]&#xA;      {&#xA;        obj&#xA;      }), Sitecore.Social.Infrastructure.Logging.LogLevel.Error, (object) this);&#xA;    return obj as NetworkProvider;&#xA;  }&#xA;  catch (Exception ex)&#xA;  {&#xA;    this.logManager.LogMessage(ex.Message, Sitecore.Social.Infrastructure.Logging.LogLevel.Error, (object) this, ex);&#xA;  }&#xA;  return (NetworkProvider) null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since it is not, &lt;code&gt;NetworkProviderFactory&lt;/code&gt; logs an error to the log indicating &lt;em&gt;Can't cast the instance of type \&quot;{0}\&quot; to NetworkProvider type&quot;, new object[1]&lt;/em&gt;, which in this case &lt;strong&gt;object[1]&lt;/strong&gt; is null because no provider object was created, and nulls translate to &lt;em&gt;nothing&lt;/em&gt; in string format notation hence the empty quotes in the error message.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;ERROR Sitecore.Social: The network provider is not found for Facebook network.&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Last but not least, is the &lt;code&gt;SocialLogin.ProcessRequest()&lt;/code&gt; method ends up throwing an error (in a try catch)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    NetworkProvider networkProvider = ExecutingContext.Current.IoC.Get&amp;lt;INetworkProviderFactory&amp;gt;().GetNetworkProvider(authArgs.Application);&#xA;    string name = authArgs.Application.Network.Name;&#xA;    if (networkProvider == null)&#xA;      throw new NetworkProviderNotFoundException(name);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Because &lt;code&gt;NetworkProviderNotFoundException()&lt;/code&gt; is not listed as one of the Exception classes to catch, it falls into the Exeception catch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  catch (Exception ex)&#xA;  {&#xA;    AuthException authException1 = new AuthException();&#xA;    authException1.DetailedMessage = ex.Message;&#xA;    AuthException authException2 = authException1;&#xA;    ExecutingContext.Current.IoC.Get&amp;lt;ILogManager&amp;gt;().LogMessage(authException2.DetailedMessage, Sitecore.Social.Infrastructure.Logging.LogLevel.Error, (object) this, ex);&#xA;    Guid exceptionKey = new ExceptionManager().Put(new SocialExceptionInfo((ISocialException) authException2));&#xA;    SocialLogin.RedirectWithError(authArgs, exceptionKey, httpContext);&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is important, because the &lt;code&gt;SocialLogin.RedirectWithError&lt;/code&gt; will actually redirect the client browser to the Callback Url with query parameters with &lt;strong&gt;state&lt;/strong&gt; and &lt;strong&gt;authError&lt;/strong&gt; which you are seeing.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://mysite.org/sign-in?state=e0d7a932-9730-4fb2-9d99-50245f235399&amp;amp;authError=29b6cf66-c902-4ee8-91dd-6b89eaf80eff&quot; rel=&quot;noreferrer&quot;&gt;http://mysite.org/sign-in?state=e0d7a932-9730-4fb2-9d99-50245f235399&amp;amp;authError=29b6cf66-c902-4ee8-91dd-6b89eaf80eff&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private static void RedirectWithError(AuthArgs authArgs, Guid exceptionKey, HttpContext httpContext)&#xA;{&#xA;  if (authArgs == null)&#xA;  {&#xA;    httpContext.Response.ContentType = &quot;text/plain&quot;;&#xA;    httpContext.Response.Write(Translate.Text(&quot;Session has been expired.&quot;));&#xA;  }&#xA;  else&#xA;  {&#xA;    string str = authArgs.InternalData == null || authArgs.InternalData[&quot;UrlReferrer&quot;] == null ? (string) null : authArgs.InternalData[&quot;UrlReferrer&quot;].ToString();&#xA;    string uri = authArgs.CallbackUrl ?? str;&#xA;    if (uri == null)&#xA;      return;&#xA;    UriBuilder uriBuilder = new UriBuilder(uri);&#xA;    SafeDictionary&amp;lt;string&amp;gt; queryString = WebUtil.ParseQueryString(uriBuilder.Query);&#xA;    if (exceptionKey != Guid.Empty)&#xA;      queryString[&quot;authError&quot;] = exceptionKey.ToString();&#xA;    queryString[&quot;state&quot;] = authArgs.StateKey.ToString();&#xA;    uriBuilder.Query = WebUtil.BuildQueryString(queryString, false, false);&#xA;    RedirectUtil.Redirect(uriBuilder.ToString(), httpContext);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Auth Error Messages&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Coincidently, any time that the Social Connect encounters an error during this process, it saves the error message to the client browsers &lt;code&gt;HttpContext.Current.Session&lt;/code&gt; as a Hashtable of exceptions called &lt;em&gt;&lt;code&gt;socialExceptionCollection&lt;/code&gt;&lt;/em&gt;, where the key of the exception thrown equal the Guid that is provided in the &lt;strong&gt;authError&lt;/strong&gt; query string parameter.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Additional Possibilities&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;In trying to figure how in the world this is occuring, another possibility is that there is an additional config (or multiple configs) laying around in the Include folder that potentially could be interferring with this node. (This is an assumption).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Additionally, I would make sure that for some reason, the facebook network config node doesn't show up more than once in the ShowConfig.aspx.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-03-08T08:06:47.580" LastActivityDate="2017-03-08T08:06:47.580" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4793" PostTypeId="1" AcceptedAnswerId="4795" CreationDate="2017-03-08T12:43:59.690" Score="14" ViewCount="923" Body="&lt;p&gt;I need to test Sitecore Analytics. Someone have any idea or tip how can I configure and generate fake data in Sitecore Analytics? Because only one person acessing the pages or campaigns, I cannot see any result in the reports.&lt;/p&gt;&#xA;" OwnerUserId="1633" LastEditorUserId="73" LastEditDate="2017-03-08T14:34:01.840" LastActivityDate="2017-03-08T14:34:01.840" Title="Generating test data for Sitecore Analytics" Tags="|xdb|experience-analytics|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4795" PostTypeId="2" ParentId="4793" CreationDate="2017-03-08T13:33:09.783" Score="10" Body="&lt;p&gt;You can use Sitecore XGenerator for generating analytics data. More information you can find on &lt;a href=&quot;https://github.com/Sitecore/xGenerator&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Github Repository&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Experience Generator&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Generate &quot;realistically looking&quot; traffic for the Sitecore Experience Database (xDB) with configurable patterns, including:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trends over time&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Identified contacts with multiple visits&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Bounce rate&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Geo location&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Landing pages&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Channels&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Referrers&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Internal and external search&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Outcomes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Campaigns&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Experience Profile Generator&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Generate visits for Sitecore contacts (xProfile) with configurable settings:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contact information&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Visit pages &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recency&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Outcomes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Geo location&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Goals&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Channel&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-03-08T13:33:09.783" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4796" PostTypeId="2" ParentId="4793" CreationDate="2017-03-08T13:37:15.863" Score="0" Body="&lt;p&gt;You can use Jmeter to do the work for you. &lt;a href=&quot;https://kb.sitecore.net/articles/398589&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; is how to set this. You would need &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;JRE6 or Later&lt;/li&gt;&#xA;&lt;li&gt;Apache Jmeter&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://bitbucket.org/scSPL/jmeter-randomwalk&quot; rel=&quot;nofollow noreferrer&quot;&gt;RandomWalk Script&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Properly configured xDB&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1657" LastEditorUserId="1657" LastEditDate="2017-03-08T14:19:50.060" LastActivityDate="2017-03-08T14:19:50.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4798" PostTypeId="2" ParentId="4728" CreationDate="2017-03-08T14:57:50.530" Score="2" Body="&lt;p&gt;To fix this I had to import manually the catalog within the catalog manager in my case located at C:\Program Files (x86)\Commerce Server 11\Business User Applications\CatalogManager.exe&lt;/p&gt;&#xA;&#xA;&lt;p&gt;from there I had to select the catalog xml file on the folder \MySitecoreWebsiteFolder\SitecoreCommerce\Data\Catalog&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From there I was able to see the adventure works catalog imported on the  catalog manager&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-03-08T14:57:50.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4800" PostTypeId="1" AcceptedAnswerId="4801" CreationDate="2017-03-08T19:11:02.033" Score="7" ViewCount="1480" Body="&lt;p&gt;I'm creating a Context Menu script to allow deletion of languages on my content tree.  When the user elects to run this script, I want to prompt them for their password as a confirmation mechanism, similar to the &quot;elevate&quot; mechanic.  Is this possible, and how would it be achieved?  These users are not administrators, just general content authors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the gist of my script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$location = get-location&#xA;&#xA;$languages = Get-ChildItem &quot;master:\sitecore\system\Languages&quot;&#xA;$currentLanguage = [Sitecore.Context]::Language.Name&#xA;&#xA;$langOptions = @{};&#xA;&#xA;foreach ($lang in $languages) {&#xA;    $langOptions[$lang.Name] = $lang.Name&#xA;}&#xA;&#xA;$result = Read-Variable -Parameters `&#xA;    @{ Name = &quot;language&quot;; Value=$currentLanguage; Title=&quot;Language to Remove&quot;; Options=$langOptions; },&#xA;    @{ Name = &quot;includeSubitems&quot;; Value=$false; Title=&quot;Include Subitems&quot;; Columns = 4;} `&#xA;    -Description &quot;Select the language to remove&quot; `&#xA;    -Title &quot;Remove Language&quot; -Width 650 -Height 360 -OkButtonName &quot;Proceed&quot; -CancelButtonName &quot;Cancel&quot; -ShowHints&#xA;&#xA;if($result -ne &quot;ok&quot;) {&#xA;    Exit&#xA;}&#xA;&#xA;$items = @()&#xA;&#xA;$items += Get-Item $location&#xA;&#xA;# add optional subitems&#xA;if ($includeSubitems) {&#xA;    $items += Get-ChildItem $location -Recurse&#xA;}&#xA;&#xA;$proceed = Show-Confirm -Title &quot;Are you sure?&quot;&#xA;&#xA;# Prompt user here for their password to verify execution&#xA;&#xA;if ($proceed -ne 'yes') {&#xA;    Write-Host &quot;Canceling&quot;&#xA;    Exit&#xA;}&#xA;&#xA;$items | Remove-ItemLanguage -Language $language&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="430" LastActivityDate="2017-03-13T13:07:33.113" Title="Sitecore Powershell: Is it possible to prompt user for their password?" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4801" PostTypeId="2" ParentId="4800" CreationDate="2017-03-08T19:28:13.623" Score="7" Body="&lt;p&gt;In SPE there is a special password field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YnqlQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YnqlQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find this example here: &lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/Getting Started/User Interaction/Read-Variable - Sample&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you get credentials from the user then you can validate whether credentials are valid using &lt;code&gt;ValidateUser&lt;/code&gt; method from &lt;code&gt;Sitecore.Security.Authentication.AuthenticationHelper&lt;/code&gt; (&lt;strong&gt;Remember about domain name&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$obj = New-Object -TypeName Sitecore.Security.Authentication.AuthenticationHelper&#xA;$valid = $obj.ValidateUser(&quot;sitecore\admin&quot;,&quot;b&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-03-08T19:28:13.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4803" PostTypeId="2" ParentId="4800" CreationDate="2017-03-08T20:35:15.517" Score="5" Body="&lt;p&gt;Another way is with the Read-Host commandlet. If you ask it to return a &lt;code&gt;SecureString&lt;/code&gt;, it will show a password field (as a modal dialog in Sitecore Powershell). You then have to convert the so-called secure string back into a normal string to validate credentials:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;(Update: use NetworkCredential class to get clear password.)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$username = [Sitecore.Context]::User.Name&#xA;$securePass = Read-Host -Prompt 'Please enter your password' -AsSecureString&#xA;$password = (New-Object System.Net.NetworkCredential &quot;&quot;, $securePass).Password&#xA;$isValid = [System.Web.Security.Membership]::ValidateUser($username, $password)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;One issue with this method is you can't control the dialog's title. But it's a quick fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: yet another (IMO better) way using &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/appendix/commands/Read-Variable.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Read-Variable&lt;/a&gt;, which sets a regular string and provides more control:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$username = [Sitecore.Context]::User.Name&#xA;$password = '' # Clear password var so there's no initial value&#xA;Read-Variable -Parameters @{Name=&quot;password&quot;; Title=&quot;Password&quot;; Editor=&quot;Password&quot;} `&#xA;    -Description 'Please enter your password to confirm' `&#xA;    -Title 'Confirmation' | Out-Null&#xA;$isValid = [System.Web.Security.Membership]::ValidateUser($username, $password)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2017-03-13T13:07:33.113" LastActivityDate="2017-03-13T13:07:33.113" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4804" PostTypeId="1" CreationDate="2017-03-08T21:58:37.210" Score="5" ViewCount="547" Body="&lt;p&gt;One of our clients is seeing these errors related to users, and appearing to be in part due to Coveo (Sitecore 8.1 Update 1, Coveo June 2016 instance with on-prem free version).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the first two errors, referencing &quot;GetUserMembers&quot;, the report is these are Sitecore user accounts they created but then deleted due to usernames they didn't like (usernames masked to protect the guilty). The third I've seen on another project when I tried to re-index the Coveo_master_index, but this is just cropping up during normal usage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know this isn't too much to go on, but I was wondering if anyone had insight to the errors and if there were resolutions, or if this is just normal and people shouldn't be obsessing over the Sitecore logs?&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6420 00:00:49 ERROR An error occurred while calling method &quot;GetUserMembers&quot;.&#xA;Exception: Coveo.Connectors.Sitecore2.SitecoreWebServiceExceptions.SitecoreWebServiceUserNotFoundException&#xA;Message: The user &quot;sitecore\[USERNAME]&quot; does not exist.&#xA;Source: Coveo.Connectors.Sitecore2.SitecoreWebService&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.Wrapper.BaseSitecoreWrapper.GetUserMembers(String p_UserName)&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.SitecoreWebService.&amp;lt;&amp;gt;c__DisplayClass1d.&amp;lt;GetUserMembers&amp;gt;b__1c()&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.SitecoreWebService.TryCatchWrapper[T](Func`1 p_Action, String p_MethodName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;16128 00:00:49 ERROR An error occurred while calling method &quot;GetUserMembers&quot;.&#xA;Exception: Coveo.Connectors.Sitecore2.SitecoreWebServiceExceptions.SitecoreWebServiceUserNotFoundException&#xA;Message: The user &quot;sitecore\[USERNAME]&quot; does not exist.&#xA;Source: Coveo.Connectors.Sitecore2.SitecoreWebService&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.Wrapper.BaseSitecoreWrapper.GetUserMembers(String p_UserName)&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.SitecoreWebService.&amp;lt;&amp;gt;c__DisplayClass1d.&amp;lt;GetUserMembers&amp;gt;b__1c()&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.SitecoreWebService.TryCatchWrapper[T](Func`1 p_Action, String p_MethodName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8772 00:00:30 ERROR An error occurred while calling method &quot;GetUsersForDomain&quot;.&#xA;Exception: System.ArgumentException&#xA;Message: Item has already been added. Key in dictionary: '[USERNAME]'  Key being added: '[USERNAME]'&#xA;Source: mscorlib&#xA;   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)&#xA;   at System.Web.Security.MembershipUserCollection.Add(MembershipUser user)&#xA;   at System.Web.Security.SqlMembershipProvider.FindUsersByName(String usernameToMatch, Int32 pageIndex, Int32 pageSize, Int32&amp;amp; totalRecords)&#xA;   at Sitecore.Security.SwitchingMembershipProvider.&amp;lt;&amp;gt;c__DisplayClass4.&amp;lt;FindUsersByName&amp;gt;b__3(MembershipProviderWrapper wrapper, Int32 index, Int32 count, Int32&amp;amp; providerRecords)&#xA;   at Sitecore.Common.PagingHelper`2.GetInputRecords(TInput input, GetElements getElements, Int32 startRecord, Int32 recordCount, Int32&amp;amp; totalRecords)&#xA;   at Sitecore.Common.PagingHelper`2.GetRecords(Int32 pageIndex, Int32 pageSize, IEnumerable`1 inputList, GetElements getElements, Int32&amp;amp; totalRecords)&#xA;   at Sitecore.Security.SwitchingMembershipProvider.GetUsers(MembershipProviderWrapperList wrappers, Int32 pageIndex, Int32 pageSize, Int32&amp;amp; totalRecords, GetElements getElements)&#xA;   at Sitecore.Security.SwitchingMembershipProvider.FindUsersByName(String userNameToMatch, Int32 pageIndex, Int32 pageSize, Int32&amp;amp; totalRecords)&#xA;   at Sitecore.Security.SitecoreMembershipProvider.&amp;lt;&amp;gt;c__DisplayClass12.&amp;lt;FindUsersByName&amp;gt;b__11()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func`1 action, Action recover)&#xA;   at Sitecore.Security.SitecoreMembershipProvider.FindUsersByName(String userNameToMatch, Int32 pageIndex, Int32 pageSize, Int32&amp;amp; totalRecords)&#xA;   at System.Web.Security.Membership.FindUsersByName(String usernameToMatch, Int32 pageIndex, Int32 pageSize, Int32&amp;amp; totalRecords)&#xA;   at Sitecore.Security.Domains.Domain.GetUsersByName(Int32 pageIndex, Int32 pageSize, String search, Int32&amp;amp; total)&#xA;   at Sitecore.Security.Domains.Domain.GetUsers(Int32 pageIndex, Int32 pageSize, Int32&amp;amp; total)&#xA;   at Sitecore.Security.Domains.Domain.GetUsers(Int32 pageIndex, Int32 pageSize)&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.Wrapper.BaseSitecoreWrapper.GetUsersForDomain(String p_DomainName, Int32 p_PageIndex, Int32 p_PageSize)&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.SitecoreWebService.&amp;lt;&amp;gt;c__DisplayClass1a.&amp;lt;GetUsersForDomain&amp;gt;b__19()&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.SitecoreWebService.TryCatchWrapper[T](Func`1 p_Action, String p_MethodName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastEditorUserId="2727" LastEditDate="2018-03-23T10:06:35.383" LastActivityDate="2018-03-23T10:06:35.383" Title="&quot;The user &quot;sitecore\[USERNAME]&quot; does not exist&quot; errors attributed to Coveo in Sitecore log" Tags="|coveo|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4805" PostTypeId="2" ParentId="4662" CreationDate="2017-03-08T22:36:04.507" Score="0" Body="&lt;p&gt;A colleague worked this out, by wrapping a SecurityDisabler using statement around the foreach loop of the content we wanted to retrieve in the view.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-03-08T22:36:04.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4806" PostTypeId="1" AcceptedAnswerId="4807" CreationDate="2017-03-08T23:08:30.793" Score="9" ViewCount="540" Body="&lt;p&gt;Sitecore 8 gave us all sorts of handy new tools, including the ability to group pipelines, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  ...&#xA;  &amp;lt;group groupName=&quot;mygroup&quot; name=&quot;mygroup&quot;&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      ...&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/group&amp;gt;&#xA;  ...&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I am trying to determine is whether or not the ability to group pipelines is just (super useful) syntactical sugar, meant to make organizing and maintaining custom pipelines (e.g. for modules), or if there is a specific time when grouping pipelines adds the ability to do something that one wouldn't otherwise be able to do. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the things that has been throwing me is the fact that the Sitecore API refers to the name of the pipeline group as the &lt;code&gt;pipelineDomain&lt;/code&gt;. When I think of &quot;domains&quot;, I think of domains in Sitecore, I think of security domains. Looking at the Sitecore code-base, I see that in &lt;code&gt;DefaultCorePipelineManager&lt;/code&gt; Sitecore actually resolves the pipeline by combining the &lt;code&gt;pipelineName&lt;/code&gt; and &lt;code&gt;pipelineDomain&lt;/code&gt; like so: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string str = pipelineGroup + &quot;\\&quot; + pipelineName&#xA;CorePipeline pipeline = (CorePipeline) this.pipelines[(object) str];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To me, this actually looks like it is used somewhat like a security domain. I understand the namespacing construct doesn't directly provide much beyond some additional flexibility in naming, but it occurs to me that this could be used for things like creating tenant or site-specific pipelines, and beyond. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is: when is it best to use a pipeline group, and should I be using it for things like tenant or site-specific pipelines?&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-03-09T10:06:43.277" Title="What should I be using pipeline groups for?" Tags="|pipelines|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4807" PostTypeId="2" ParentId="4806" CreationDate="2017-03-09T07:41:24.277" Score="7" Body="&lt;p&gt;In this context, domains does not refer to security domains, rather &lt;em&gt;controlled area&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pipeline groups could be used for namespacing your pipelines, for example when creating custom pipelines to ensure they do not conflict with other custom pipelines, however this can already be achieved otherwise (and more elegantly) when naming your pipeline, as pointed out my Mark Cassidy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A more useful usecase, as you suggest, is that it opens up for creating tenant specific, site specific or even more granular pipelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When running a pipeline, you can now specify a &lt;code&gt;pipelineDomain&lt;/code&gt; (from Sitecore.Abstractions.dll):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Abstractions&#xA;{&#xA;  public interface ICorePipeline&#xA;  {&#xA;    void Run(string pipelineName, PipelineArgs args);&#xA;    void Run(string pipelineName, PipelineArgs args, bool failIfNotExists);&#xA;    void Run(string pipelineName, PipelineArgs args, string pipelineDomain);&#xA;    void Run(string pipelineName, PipelineArgs args, string pipelineDomain, bool failIfNotExists);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By namespacing your pipelines, for example with tenant or site, combined with the &lt;code&gt;failIfNotExists&lt;/code&gt; flag, you could create some quite powerful and flexible pipeline-based modules.&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2017-03-09T10:06:43.277" LastActivityDate="2017-03-09T10:06:43.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4808" PostTypeId="2" ParentId="4806" CreationDate="2017-03-09T08:05:45.380" Score="0" Body="&lt;p&gt;It is 2 main ideas,&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If you want to then run the pipeline you simply need to include the&#xA;“domain” in the call.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;is more structure to the app_config folder. It’s all too easy for&#xA;this to become rather unruly so this form of segmentation is a&#xA;    nice addition.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2017-03-09T08:05:45.380" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4809" PostTypeId="1" CreationDate="2017-03-09T08:42:15.843" Score="2" ViewCount="89" Body="&lt;p&gt;I was able to make the social login work for a single site instance, using just the OOB items and without the need to . The version is Sitecore 8.0 update 5 and also, did not download any module for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used a custom markup (instead of the default rendering) as:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;form action=&quot;/Social/FacebookConnector/Login&quot; method=&quot;post&quot;&amp;gt;&#xA; &amp;lt;button type=&quot;submit&quot; class=&quot;fb-btn&quot;&amp;gt;&#xA;   &amp;lt;span&amp;gt;&#xA;     Sign in with Facebook&#xA;   &amp;lt;/span&amp;gt;&#xA; &amp;lt;/button&amp;gt;     &#xA;&amp;lt;/form&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This was needed, because it is a multi-language site and the author may want to change the button text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now, we have a multi site instance and each site will have its own Social Network application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a new one at&lt;br&gt;&#xA;&lt;code&gt;/sitecore/system/Social/Applications/MySite/Facebook-MySite&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we tell Sitecore to use this item for &lt;em&gt;MySite&lt;/em&gt;. Is there a config setting where I can declare this item's ID. I checked the configs in /include/social, but no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried using the default rendering and in the parameters, selecting the new application. It renders a similar markup and has a hidden field which has an encrypted string in its value, which changes on every refresh.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, how should I go about for achieving a social login with custom Application and custom markup.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1671" LastEditDate="2018-06-29T13:44:02.823" LastActivityDate="2018-06-29T13:44:02.823" Title="Social Login in a multi-site instance" Tags="|multilingual|multisite|social-connected|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4810" PostTypeId="2" ParentId="4267" CreationDate="2017-03-09T09:18:10.040" Score="2" Body="&lt;p&gt;The answer would be yes, but it's not as straigh forward and depends on the needs. There are multiple sollutions that might fit the needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For start the Sitecore editing interfaces, especially the Content Editor, are completelyusable from the keyboard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the past, I’ve have used the MS Word integration as a way of letting people with disabilities edit content on the site. As Microsoft have a good suite of accessibility tools (in the operating system and the product) this should allow a degree of content editing for those with disabilities. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously, you still have to point out that with a rich dynamic interface such as Sitecore, or any web CMS, accessibility is going to be hard but with the strong Sitecore API (which has access to all the application functions) it is very easy to adapt parts of Sitecore for someone with special interface requirements. I've seen super-simplified way of entering content for news / press releases with a highly accessible form that created a Sitecore item on submission. &lt;/p&gt;&#xA;" OwnerUserId="685" LastActivityDate="2017-03-09T09:18:10.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4811" PostTypeId="2" ParentId="4806" CreationDate="2017-03-09T09:28:17.183" Score="4" Body="&lt;p&gt;I think it might be too soon to deduce a set of general best practices for this yet. However I'd like to chip in, where I see this opening a few new doors for us when implementing.&lt;/p&gt;&#xA;&lt;h2&gt;Context-tailored pipelines&lt;/h2&gt;&#xA;&lt;p&gt;This is not in regards to new pipelines you define yourself, but the set of pipelines that ship with the product out of the box.&lt;/p&gt;&#xA;&lt;p&gt;Some of the pipelines we have (think &lt;code&gt;&amp;lt;publish&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;publishItem&amp;gt;&lt;/code&gt; for the more obvious examples) only make sense in certain settings. E.g. when your site is acting like &lt;code&gt;content master&lt;/code&gt; for your solution. Using the server role as a namespace for this pipeline would make sense, as it serves no function on instances in &lt;code&gt;content delivery&lt;/code&gt; mode for example.&lt;/p&gt;&#xA;&lt;p&gt;But more interestingly; a lot of the pipelines have mixed purposes and roles, across server roles and current &lt;code&gt;display mode&lt;/code&gt; (normal, preview, editing and so on). Essentially - today - processors that operate in these pipelines need to make themselves aware of the current context. It looks something like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;return site != null &amp;amp;&amp;amp; site.DisplayMode == DisplayMode.Edit &amp;amp;&amp;amp; (!(WebUtil.GetQueryString(&amp;quot;sc_duration&amp;quot;) == &amp;quot;temporary&amp;quot;) &amp;amp;&amp;amp; Context.PageMode.IsExperienceEditorEditing);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Example taken from the &lt;code&gt;&amp;lt;renderField&amp;gt;&lt;/code&gt; pipeline, one of the pipelines that changes behaviour quite a lot depending on current context.&lt;/p&gt;&#xA;&lt;p&gt;Similar considerations could be had for tasks/jobs, agents and so on - often these run off the &lt;code&gt;content master&lt;/code&gt; server and various hoops have to be built in to the code and/or configs to prevent them from running on CD. Namespacing the pipelines could clean this up a bit.&lt;/p&gt;&#xA;&lt;h2&gt;Inversion of Control&lt;/h2&gt;&#xA;&lt;p&gt;In short; there are many potential usages. One thing I would hope makes it to be an established practice; is that this namespace (or domain, if you will) becomes a matter to be solved by the Dependency Injector and code will allow this property to be injected into their code - rather than just hardcoding a pipeline domain for their custom pipelines. This serves no point at all - you can already name a pipeline &lt;code&gt;&amp;lt;Unicorn.Publish&amp;gt;&lt;/code&gt; should you so desire. But with the control of the pipeline domain inverted, there would be all sorts of useful things this new functionality can be used for.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-03-09T09:28:17.183" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4812" PostTypeId="1" AcceptedAnswerId="4813" CreationDate="2017-03-09T12:04:54.187" Score="3" ViewCount="939" Body="&lt;p&gt;I am looking for the best way to synchronize profile data from an external system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We authenticate users using an external authentication service. We use the Sitecore virtual user mechanism to log into Sitecore. Once a user is logged in we need to call a back-office service to get the user profile information. We intend to sync this information with the Sitecore Contact (in XDb).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want the synchronization of profile data to run as an asynchronous process because the backend service is slow and takes some time to respond. Also potentially we can have a lot of people log in at the same time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We do not need the profile data immediately (but as soon as possible).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The obvious way to fire an asynchronous task would be to use a Sitecore Job. This would mean that I would fire off a job to synchronize profile data every time a user logs in. I am afraid that this will have a negative impact on performance when lots of users log in and it is not clear to me how these Jobs are prioritized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think I am looking for some sort of queuing system (more or less like the Sitecore publishing queue) to handle these tasks. The event queue does also not seem to meet my requirements since this is actually more a messaging than a queuing mechanism.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the best solution to handle this requirement? Preferably keeping as close to Sitecore as possible.&lt;/p&gt;&#xA;" OwnerUserId="1666" LastEditorUserId="4050" LastEditDate="2019-12-26T12:11:09.183" LastActivityDate="2019-12-26T12:11:09.183" Title="Running asynchronous tasks to update user profile" Tags="|best-practices|user-profile|solution-architecture|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4813" PostTypeId="2" ParentId="4812" CreationDate="2017-03-09T13:11:01.863" Score="3" Body="&lt;p&gt;Sitecore jobs is the best option in such case, but you can use them in different ways. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best approach for using them may vary by business requirements, like frequency of user logins and the time frame in which you want to update profiles. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are some approaches -&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Once the user is logged in, create a job to update that user's profile data. In case there are multiple users are getting logged in, their jobs will get queued.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Sitecore allows maximum 20 Worker Threads to be created at a time. So, when there are 20+ jobs, it may get stuck or degrade performance. In such case, you can set more number of a worker threads by adding below setting to config, but you never know how many users can get logged in at a time.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;MaxWorkerThreads&quot; value=&quot;100&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;As an alternate, You can also create jobs in separate threads by setting  &lt;code&gt;ExecuteInManagedThreadPool&lt;/code&gt; property of &lt;code&gt;JobOptions&lt;/code&gt; to false. This will give freedom from the predefined limit of worker threads.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Another better alternative is (depends on how much time you need to update profile data) - When user logs in, add its details to a static C# Queue. Run a scheduler every few minutes to update their profile data. This will create only one job for multiple users.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="255" LastEditorUserId="432" LastEditDate="2017-03-09T14:14:14.407" LastActivityDate="2017-03-09T14:14:14.407" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4814" PostTypeId="1" AcceptedAnswerId="4815" CreationDate="2017-03-09T13:15:47.257" Score="5" ViewCount="1103" Body="&lt;p&gt;On our website we have a page which is accessible via a path like:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;www.example.com/statistics&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We would like this page to show different content based on the URI, e.g.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;www.example.com/statistics/&lt;strong&gt;january&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;www.example.com/statistics/&lt;strong&gt;february&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;How can I implement this? If the parameters were static I could set-up Redirects, but in this case they are fully dynamic. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also need to keep the URI after the user loads the page, so it cannot change back to &lt;strong&gt;/statistics&lt;/strong&gt; during loading.&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-03-09T13:24:13.387" Title="How to pass dynamic parameters to a Sitecore page via the URI?" Tags="|routing|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4815" PostTypeId="2" ParentId="4814" CreationDate="2017-03-09T13:24:13.387" Score="5" Body="&lt;p&gt;You can use Sitecore Wildcard item. For that, create an item with name of * inside /Home/Statistics item (&lt;strong&gt;/sitecore/content/Home/statistics/*&lt;/strong&gt;). Remember, the * item (wildcard item) should not have any sibling. And, assign required presentation details to the item to show relevant statistics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, when you request the page e.g. &lt;a href=&quot;http://example.com/statistics/january&quot; rel=&quot;noreferrer&quot;&gt;http://example.com/statistics/january&lt;/a&gt;, you will get the page context, and based on the parameter (january/fabruary, etc.) you can use your renderings to change content accordingly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read more on - &lt;a href=&quot;http://blog.martinmiles.net/post/wildcard-items-pages-with-mvc-passing-the-correct-datasources-based-on-requested-item-url&quot; rel=&quot;noreferrer&quot;&gt;http://blog.martinmiles.net/post/wildcard-items-pages-with-mvc-passing-the-correct-datasources-based-on-requested-item-url&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2017-03-09T13:24:13.387" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4816" PostTypeId="2" ParentId="4812" CreationDate="2017-03-09T13:54:51.143" Score="1" Body="&lt;p&gt;You mentioned that your backoffice service was slow to respond so I am assuming that the reason for your change is because your user login is slow. Another way you can approach this is to cache the data closer to the application for faster response time. You can create a Mongo collection (or in some other data store) and update it regularly with a job. Then update your Sitecore website to query that source instead for the data, avoiding the delays your backoffice is introducing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The advantage here is that you can take all the scheduling out of Sitecore and put it into a separate application. You can also wrap it with a service layer so you can keep a similar interface to what you have now, just point it at a different data store.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-03-09T13:54:51.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4817" PostTypeId="1" CreationDate="2017-03-09T14:32:06.017" Score="3" ViewCount="236" Body="&lt;p&gt;First some background information:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We're running Sitecore 8.1 rev 160302&lt;/li&gt;&#xA;&lt;li&gt;We have multiple Sitecore environments (DTAP setup)&lt;/li&gt;&#xA;&lt;li&gt;We have no access to the configs, nor the actual environment (only the hosting party has) but we do have full administrator access in Sitecore (so we can download files if needed but it's cumbersome)&lt;/li&gt;&#xA;&lt;li&gt;We have created a SPEAK 2.0 application using the new DashboardPageStructure&lt;/li&gt;&#xA;&lt;li&gt;This application works on all environments except 1&lt;/li&gt;&#xA;&lt;li&gt;Default Sitecore examples for the SPEAK 2.0 dashboard also fail with the same error&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It's a really weird error as it appears on every example Sitecore gives out by default, the error itself residing in the &lt;code&gt;DashboardPageStructure&lt;/code&gt; and Glass integration. And the fact that it only appears on one environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've already checked the configs and could see no differences between environments in the SPEAK specific configs, and the DLLs are also the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the error we're seeing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Object reference not set to an instance of an object.&#xA;&#xA;Description: An unhandled exception occurred. &#xA;&#xA;Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.&#xA;&#xA;Source Error: &#xA;&#xA;Line 26:     @this.Html.Sitecore().Placeholder(&quot;Page.Internal.BeforeGrid&quot;)&#xA;Line 27:     &amp;lt;div class=&quot;container-narrow&quot;&amp;gt;&#xA;Line 28:       @this.Html.Sitecore().Placeholder(&quot;Page.Body&quot;)&#xA;Line 29:     &amp;lt;/div&amp;gt;&#xA;Line 30:     @this.Html.Sitecore().Placeholder(&quot;Page.Internal.AfterGrid&quot;)&#xA;&#xA;Source File: d:\AppSites\CMS\sitecore\shell\client\Speak\Layouts\Layouts\Speak-Layout.cshtml    Line: 28 &#xA;&#xA;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   lambda_method(Closure , Object , Object ) +131&#xA;   Glass.Mapper.AbstractDataMapper.MapCmsToProperty(AbstractDataMappingContext mappingContext) +76&#xA;   Glass.Mapper.Configuration.&amp;lt;&amp;gt;c__DisplayClassb.&amp;lt;CreatePropertyExpression&amp;gt;b__a(Object obj, AbstractDataMappingContext context) +52&#xA;&#xA;[MapperException: Failed to map property IsScriptEnabled on Sitecore.Mvc.Presentation.SpeakRenderingModel]&#xA;   Glass.Mapper.Configuration.&amp;lt;&amp;gt;c__DisplayClassb.&amp;lt;CreatePropertyExpression&amp;gt;b__a(Object obj, AbstractDataMappingContext context) +303&#xA;   Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object obj, IAbstractService service, AbstractTypeCreationContext context) +70&#xA;&#xA;[MapperException: Failed to map properties on /sitecore/client/Customer/Dashboard-Example.]&#xA;   Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object obj, IAbstractService service, AbstractTypeCreationContext context) +229&#xA;   Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) +331&#xA;&#xA;[MapperException: Failed to create type Sitecore.Speak.Components.Models.Structures.Page_Structures.Application.Dashboards.DashboardRenderingModel]&#xA;   Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) +496&#xA;   Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.Execute(ObjectConstructionArgs args) +147&#xA;   Glass.Mapper.Pipelines.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) +72&#xA;   Glass.Mapper.Pipelines.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) +94&#xA;   Glass.Mapper.Pipelines.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) +94&#xA;   Glass.Mapper.Pipelines.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) +94&#xA;   Glass.Mapper.Pipelines.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) +94&#xA;   Glass.Mapper.Pipelines.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) +94&#xA;   Glass.Mapper.AbstractService.InstantiateObject(AbstractTypeCreationContext abstractTypeCreationContext) +140&#xA;   Glass.Mapper.Sc.SitecoreService.CreateType(Type type, Item item, Boolean isLazy, Boolean inferType, Dictionary`2 parameters, Object[] constructorParameters) +313&#xA;   Glass.Mapper.Sc.Pipelines.Response.GetModelFromView.Process(GetModelArgs args) +669&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +184&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func`2 resultGetter) +161&#xA;   Sitecore.Mvc.Presentation.Rendering.GetModel() +281&#xA;   Sitecore.Mvc.Presentation.Rendering.get_Model() +30&#xA;   Sitecore.Mvc.Extensions.ObjectExtensions.ValueOrDefault(T source, Func`2 resultGetter) +57&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.get_Model() +150&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +255&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Business Component Library/version 2/Layouts/Renderings/Structures/Page Structures/Application/Dashboards/DashboardPageStructure.cshtml'.&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826&#xA;   Boondoggle.Sc.Pipelines.Mvc.RenderRendering.WarnableExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +118&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +75&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +184&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +216&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +184&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +259&#xA;   ASP._Page_sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute() in d:\AppSites\CMS\sitecore\shell\client\Speak\Layouts\Layouts\Speak-Layout.cshtml:28&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +137&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826&#xA;   Boondoggle.Sc.Pipelines.Mvc.RenderRendering.WarnableExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +118&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +75&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +184&#xA;   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +302&#xA;   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +90&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult) +37&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="220" LastActivityDate="2017-03-09T14:32:06.017" Title="Glass error in SPEAK 2.0 on specific environment" Tags="|glass-mapper|speak|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4818" PostTypeId="1" AcceptedAnswerId="4820" CreationDate="2017-03-09T14:44:43.767" Score="2" ViewCount="586" Body="&lt;p&gt;I have a generic search method which should be able to search based on any field.&#xA;I have something like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;criteria = x =&gt; x[FieldName] == fieldValue;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This works well for strings but, how can I use it for a value of type DateTime greater than?&#xA;We have tried something like this but doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;criteria = x =&gt; DateTime.Parse(x[FieldName]) &gt;= EndDate);&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any idea?&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2018-04-05T15:43:28.090" Title="How to search by a date with ContentSearch and IObjectIndexers" Tags="|solr|content-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4820" PostTypeId="2" ParentId="4818" CreationDate="2017-03-09T16:04:47.407" Score="3" Body="&lt;p&gt;I think i found the answer myself. I'm not really sure why it works, but apparently it does work:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;criteria = x =&gt; ((DateTime)x[(ObjectIndexerKey)FieldName]) &gt;=&#xA;  StartDate;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I think the difference with the original code is:&#xA;The original code is parsing the value of the field as DateTime, and then doing the comparison, while the solution, marks the field as a DataTime object, to later do the comparison. Similar, but not the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm happy to accept somebody else's answer if it includes a better explanation ;-)&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="151" LastEditDate="2018-04-05T15:43:28.090" LastActivityDate="2018-04-05T15:43:28.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4821" PostTypeId="2" ParentId="4812" CreationDate="2017-03-09T18:17:01.433" Score="1" Body="&lt;p&gt;You could spawn a new thread to do your long running task.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void Getprofiledataasync(string email){&#xA;   Thread t = new Thread ( () =&amp;gt; GetProfileData(email) );&#xA;   t.Start();&#xA;}&#xA;&#xA;private static void GetProfileData(string email){&#xA;   ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See this link for more info.&#xA;&lt;a href=&quot;http://www.albahari.com/threading/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.albahari.com/threading/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1558" LastActivityDate="2017-03-09T18:17:01.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4822" PostTypeId="2" ParentId="4784" CreationDate="2017-03-09T18:57:07.573" Score="0" Body="&lt;p&gt;I hope that something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   if (HttpContext.Current.Request.RawUrl == &quot;/en&quot; &amp;amp;&amp;amp; HttpContext.Current.Request.Url.AbsolutePath == &quot;/&quot;)&#xA;                {&#xA;                    siteSpecified = string.Empty;&#xA;                }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;near your code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var siteLng = new Dictionary&amp;lt;string, string&amp;gt;&#xA;    {&#xA;        {&quot;en&quot;, &quot;site-us&quot;},&#xA;        {&quot;en-ca&quot;, &quot;site-ca&quot;},&#xA;        {&quot;en-gb&quot;, &quot;site-uk&quot;},&#xA;        {&quot;en-au&quot;, &quot;site-au&quot;}&#xA;    };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;should help &lt;/p&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2017-03-09T18:57:07.573" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4823" PostTypeId="2" ParentId="985" CreationDate="2017-03-09T19:14:15.797" Score="2" Body="&lt;p&gt;I came across this old question, and I'm sharing this link for posterity: &lt;a href=&quot;https://grantkillian.wordpress.com/2017/02/17/auto-suggest-with-solr-facets-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://grantkillian.wordpress.com/2017/02/17/auto-suggest-with-solr-facets-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore’s dependence of the Solr “terms” component has changed with Sitecore 8.1 update-1 (rev. 151207).  Sitecore now uses faceting with Solr instead of terms.&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2017-03-09T19:14:15.797" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4824" PostTypeId="2" ParentId="2265" CreationDate="2017-03-09T19:34:05.500" Score="1" Body="&lt;p&gt;The language &lt;code&gt;da&lt;/code&gt; is available when Sitecore is installed. By default, when Sitecore installs, 4 languages are available in the Language Version as provided in the screenshot below:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XNeux.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XNeux.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Note that this is a fresh Sitecore installation. Moreover, if you have created the language version from the option &amp;quot;More Languages&amp;quot;, it will not appear directly in the &lt;code&gt;sitecore/System/Languages&lt;/code&gt;. You will need to manually create it. This is why it is not appearing in the languages container.&lt;/p&gt;&#xA;&lt;p&gt;So, in order for you to set the Read/Write access on the language, you will need to create the language &lt;code&gt;da&lt;/code&gt; by right click on the Languages container -&amp;gt; Insert -&amp;gt; Language. Then, select the Danish language from the dropdown:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HJzW1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HJzW1.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;and click on next to continue the wizard. Note that once you selected the language, it will already prefill the textboxes. No need to add anything in there.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-03-09T19:34:05.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4825" PostTypeId="2" ParentId="4687" CreationDate="2017-03-09T19:56:43.627" Score="3" Body="&lt;p&gt;with in &lt;code&gt;Sitecore.ExperienceEditor.Speak.Server.RequestArgs&lt;/code&gt; class the method name to execute defaults to &lt;strong&gt;Process&lt;/strong&gt;. Check the last line in below method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public RequestArgs(string commandPath, NameValueCollection queryString, string data)&#xA;  {&#xA;   Assert.ArgumentNotNull(queryString, &quot;queryString&quot;);&#xA;   this.QueryString = queryString;&#xA;   this.Data = data;&#xA;   string[] array = StringUtil.RemovePrefix('/', StringUtil.RemovePostfix('/', commandPath)).Split(new char[]&#xA;   {&#xA;    '/'&#xA;   });&#xA;   Assert.IsTrue(array.Any&amp;lt;string&amp;gt;(), &quot;Missign request name&quot;);&#xA;   this.RequestName = array[0];&#xA;   this.MethodName = ((array.Length == 1) ? &quot;Process&quot; : array[1]);&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Either you have to create your request as &lt;code&gt;ExperienceEditor.GenerateFieldEditorUrl/ProcessRequest&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or change the method below in GenerateFieldEditorUrl class to &lt;strong&gt;Process&lt;/strong&gt; from &lt;strong&gt;ProcessRequest&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override PipelineProcessorResponseValue ProcessRequest()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="773" LastActivityDate="2017-03-09T19:56:43.627" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4826" PostTypeId="2" ParentId="4812" CreationDate="2017-03-09T21:09:47.123" Score="1" Body="&lt;p&gt;Does your data from the back office change a lot?&lt;br&gt;&#xA;Is it necessary that the data is always 100% up to date right away?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend to write a complete import (create / update) of the data to contacts in xDB. Which is something that can be scheduled to be done every weekend for example, when the load on the site is low.&lt;br&gt;&#xA;The advantage is that as soon as you log in a user (and identify the contact), you'll already have its xDB data available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can still trigger an extra update when the user logs in. A Sitecore Job like Yogesh suggests is also my preferred way if the service is slow.&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-03-09T21:09:47.123" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4827" PostTypeId="1" CreationDate="2017-03-09T22:23:47.313" Score="3" ViewCount="1197" Body="&lt;p&gt;So, it turns out the home page of our site has 670 versions so Im looking at removing or archiving most of them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore content editor, if I select Remove all versions (plan is to archive needed versions and restore them), the process is long. Running overnight, it deleted around 200 versions as seen in the [History] db table. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Strangely I can see 4 RemovedVersion rows for each version removed in this table with a minute or twos gap between the admin and Anonymous rows so it runs very slow:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;                ItemVersion ItemPath                    UserName            TaskStack&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;RemovedVersion  en  209 /sitecore/content/Corporate/Home    sitecore\Anonymous  [none]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RemovedVersion en   209 /sitecore/content/Corporate/Home    sitecore\Anonymous  [none]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RemovedVersion en   209 /sitecore/content/Corporate/Home    sitecore\admin              Sheer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RemovedVersion en   209 /sitecore/content/Corporate/Home    sitecore\admin                 Sheer&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2017-03-17T00:18:21.283" Title="Many hours to delete 670 old versions of an item - Sitecore 7.2" Tags="|performance-optimization|versions|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4828" PostTypeId="2" ParentId="4775" CreationDate="2017-03-09T23:41:20.467" Score="3" Body="&lt;p&gt;I ended up attacking this from the solr side. In the solrconfig.xml I added an invariant to rows and after a rebuild the site is working as expected. It looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;requestHandler name=&quot;/select&quot; class=&quot;solr.SearchHandler&quot;&amp;gt;&#xA;&amp;lt;!-- default values for query parameters can be specified, these&#xA;     will be overridden by parameters in the request&#xA;  --&amp;gt;&#xA; &amp;lt;lst name=&quot;defaults&quot;&amp;gt;&#xA;   &amp;lt;str name=&quot;echoParams&quot;&amp;gt;explicit&amp;lt;/str&amp;gt;&#xA; &amp;lt;/lst&amp;gt;&#xA; &amp;lt;lst name=&quot;invariants&quot;&amp;gt;&#xA;   &amp;lt;int name=&quot;rows&quot;&amp;gt;500000&amp;lt;/int&amp;gt;&#xA; &amp;lt;/lst&amp;gt;&#xA;&#xA;&amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks for sharing what config on the sitecore side sets the max int value-I was curious on how to do this on the client side of the request so I wouldn't have to hard code an invariant in solr.&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-03-09T23:41:20.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4829" PostTypeId="2" ParentId="4706" CreationDate="2017-03-10T08:12:30.940" Score="6" Body="&lt;p&gt;Unfortunately, somewhere along the way, Sitecore (at this time we're on 8.2 U2) lost its capability to have more than a single item provided as a data source. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, Query does not seem to be working in this version of Sitecore for when it returns more than 1 item AND SXA 1.2 breaks content search in data source mechanism altogether.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will, however, have a workaround in SXA 1.3 where you will be able to use Lucene queries in the &quot;query&quot; item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4T8Gm.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4T8Gm.jpg&quot; alt=&quot;SXA Query&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once created, you will be able to use the query in Page List as follows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Rendering Parameters:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wCh6f.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wCh6f.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select the query returning multiple items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/liSVE.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/liSVE.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="202" LastActivityDate="2017-03-10T08:12:30.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4830" PostTypeId="1" AcceptedAnswerId="4865" CreationDate="2017-03-10T08:46:50.177" Score="3" ViewCount="1115" Body="&lt;p&gt;WFFM has a date picker with default value in it, i want to make form that didn't display any values when load for the first time. Im thinking about making the &lt;code&gt;val('')&lt;/code&gt; in custom script: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$scw(document).ready(function(){&#xA;    $scw(&quot;#Vg-0a47Mo0irbuy6Osdada_Sections_0__Fields_6__Value&quot;).val('');&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But if i clicked submit and there is still other field error, it erase the value of date picker.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any solution?&lt;/p&gt;&#xA;" OwnerUserId="1591" LastEditorUserId="70" LastEditDate="2017-03-10T14:15:38.603" LastActivityDate="2017-03-13T05:45:06.410" Title="how to remove default value in date picker WFFM" Tags="|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4833" PostTypeId="1" AcceptedAnswerId="4834" CreationDate="2017-03-10T13:10:16.877" Score="14" ViewCount="8892" Body="&lt;p&gt;When I turned on &quot;Raw values&quot; in Sitecore to examine a Date (or DateTime) field, I see a string in the form&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;20170310T130700Z&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Looking at the regular .Net DateTime type, I don't see a standard format option which reproduces this format. See here &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/zdtaw1bw(v=vs.110).aspx&quot; rel=&quot;noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/zdtaw1bw(v=vs.110).aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is an easy way to generate this format from a regular DateTime object and what is the &lt;em&gt;name&lt;/em&gt; of this format used by Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="423" LastEditDate="2017-08-08T14:44:42.287" LastActivityDate="2017-08-08T14:44:42.287" Title="What is the datetime format used by Sitecore's Date / DateTime field types and how can I generate this from a regular DateTime object" Tags="|sitecore-client|content-management|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4834" PostTypeId="2" ParentId="4833" CreationDate="2017-03-10T13:16:10.973" Score="16" Body="&lt;p&gt;&lt;em&gt;Scroll to the bottom for the updated answer&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;This format (with &lt;code&gt;T&lt;/code&gt; in the middle and ending with &lt;code&gt;Z&lt;/code&gt;) is called by Sitecore &lt;code&gt;ShortIsoDateTime&lt;/code&gt;. I don't know if that is official name of it or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get it using &lt;code&gt;Sitecore.DateUtil.GetShortIsoDateTime(dateTime)&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are more formats which are used by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.DateUtil&lt;/code&gt; class is a really good place to learn more about them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And there is a guide on Sitecore Docs: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/utc/datetime/datetime_best_practices&quot; rel=&quot;noreferrer&quot;&gt;Date/time best practices&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Z&lt;/code&gt; character is added only if&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (datetime.Kind == DateTimeKind.Utc)&#xA;    str += &quot;Z&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 2&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just run a test:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DateTime dateTime = DateTime.Now;&#xA;string string1 = Sitecore.DateUtil.GetShortIsoDateTime(dateTime);&#xA;// string1 is 20170310155908&#xA;&#xA;dateTime = Sitecore.Common.DateTimeExtensions.SpecifyKind(dateTime, DateTimeKind.Utc);&#xA;string string2 = Sitecore.DateUtil.GetShortIsoDateTime(dateTime);&#xA;// string2 is 20170310155908Z&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 3:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are right. I was wrong since the beginning. The correct answer is: &lt;strong&gt;This format is called by Sitecore &lt;code&gt;IsoDate&lt;/code&gt;&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    DateTime dateTime = DateTime.Now;&#xA;    string dateTimeString1 = Sitecore.DateUtil.ToIsoDate(dateTime);&#xA;    // dateTimeString1 == &quot;20170310T162500&quot;&#xA;&#xA;    dateTime = Sitecore.Common.DateTimeExtensions.SpecifyKind(dateTime, DateTimeKind.Utc);&#xA;    string dateTimeString2 = Sitecore.DateUtil.ToIsoDate(dateTime);&#xA;    // dateTimeString2 == &quot;20170310T162500Z&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-03-10T15:33:20.043" LastActivityDate="2017-03-10T15:33:20.043" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="4835" PostTypeId="2" ParentId="4833" CreationDate="2017-03-10T14:09:07.687" Score="0" Body="&lt;p&gt;From a different side (.net / c#), you can always use custom formatter to format the date into any desired format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, to convert the current datetime to the format that Sitecore uses, you could do the folllowing in c#:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Console.WriteLine(DateTime.Now.ToString(&quot;yyyyMMddTHHmmssZ&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which produces the following output:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Dd2VC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Dd2VC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More on this can be found at &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="403" LastActivityDate="2017-03-10T14:09:07.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4836" PostTypeId="2" ParentId="4827" CreationDate="2017-03-10T14:26:11.023" Score="8" Body="&lt;p&gt;If you use &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt; you can make this process faster by wrapping it in an &lt;code&gt;EventDisabler&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SPE has a &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/appendix/commands/Remove-ItemVersion.html&quot; rel=&quot;noreferrer&quot;&gt;&lt;code&gt;Remove-ItemVersion&lt;/code&gt;&lt;/a&gt; cmdlet that lets you select the language(s) versions and also the max number of recent versions to keep. This means you don't need to archive and restore the needed versions.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code assumes v4+ of SPE:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock(New-Object Sitecore.Data.Events.EventDisabler) {&#xA;    Remove-ItemVersion -Path master:\content\home -Language &quot;en&quot;, &quot;en-GB&quot; -MaxRecentVersions 5&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could script this to remove versions on specific items. There is also a &lt;code&gt;-Recurse&lt;/code&gt; flag on the cmdlet that will remove versions on the specified item and all child items too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you wanted to be able to select an item in the content tree and provide a right click menu option to remove the versions, you could create a module to do this. &lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/11/01/Right-Click-Unlock-Item-with-Sitecore-PowerShell-Extensions/&quot; rel=&quot;noreferrer&quot;&gt;Here is an example of how to do that.&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-03-10T14:26:11.023" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4837" PostTypeId="1" AcceptedAnswerId="4912" CreationDate="2017-03-10T16:16:03.253" Score="14" ViewCount="5684" Body="&lt;p&gt;So, I have a rather complex issue to detail out here. the TL;DR is that Link Manager is returning inconsistent results in the GetServerUrl() method when given what appears to be the same parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To set this up, I am using &lt;strong&gt;Sitecore 8.2 Update 2&lt;/strong&gt; with &lt;strong&gt;EXM 3.4 Update 1&lt;/strong&gt;.  I have, for all practical purposes, a vanilla install and setup of both Sitecore and EXM, with the exception of an additional site entry, which is the site that we are working with, and a content Home node.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Symptom of Issue&lt;/h1&gt;&#xA;&#xA;&lt;h2&gt;Dispatching an Email (Scenario 1)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When I dispatch a very simple email from EXM, that contains one link, which is to the Home page of the site that is configured as the EXM Site, the link that is created looks like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://brandname.local/sitecore/RedirectUrlPage.aspx?ec_contact_id=1814C7BC2B434DC096F74115AB45104A&amp;amp;ec_message_id=2E6A28769FBB45F2AF36F956FA3B8021&amp;amp;&quot; rel=&quot;noreferrer&quot;&gt;http://brandname.local/sitecore/RedirectUrlPage.aspx?ec_contact_id=1814C7BC2B434DC096F74115AB45104A&amp;amp;ec_message_id=2E6A28769FBB45F2AF36F956FA3B8021&amp;amp;&lt;/a&gt;&lt;strong&gt;ec_url=%2f%3a%2f%2fbrandname.local%2f&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The parameter &lt;strong&gt;ec_url&lt;/strong&gt; is the parameter that I am paying attention to. When EXM resolves the Click action, it redirects the user to &lt;strong&gt;&lt;a href=&quot;http://brandname.local/://brandname.local/&quot; rel=&quot;noreferrer&quot;&gt;http://brandname.local/://brandname.local/&lt;/a&gt;&lt;/strong&gt;.  That link generates a protection error because you can't have colons in the url past the protocol portion.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Site Scheme&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I am aware that the reason why &lt;strong&gt;://brandname.local/&lt;/strong&gt; is created is because the site definition doesn't have the &lt;strong&gt;scheme&lt;/strong&gt; attribute set to &lt;em&gt;http&lt;/em&gt;. While that makes this a valid link for the purposes of the redirect, the proper link should be relative, not absolute (if I understand correctly).&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Expected Result&lt;/h1&gt;&#xA;&#xA;&lt;h2&gt;Looking at the Email Message in EXM (Scenario 2)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When I look at the email message in EXM (Third Tab[Message] when looking at a dispatch), all of the same pipelines run that generate these links, except that now the link is generated &lt;strong&gt;&lt;em&gt;correctly&lt;/em&gt;&lt;/strong&gt;. I also found out that when looking at the email from here, &lt;strong&gt;PreviewMode&lt;/strong&gt; is false, so it creates the same url as if dispatching.  By correctly, I mean, because SiteResolving returns the &lt;em&gt;brandname&lt;/em&gt; site, and EXM is configured to use the &lt;em&gt;brandname&lt;/em&gt; site, the links generated look like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://brandname.local/sitecore/RedirectUrlPage.aspx?ec_contact_id=1814C7BC2B434DC096F74115AB45104A&amp;amp;ec_message_id=2E6A28769FBB45F2AF36F956FA3B8021&amp;amp;&quot; rel=&quot;noreferrer&quot;&gt;http://brandname.local/sitecore/RedirectUrlPage.aspx?ec_contact_id=1814C7BC2B434DC096F74115AB45104A&amp;amp;ec_message_id=2E6A28769FBB45F2AF36F956FA3B8021&amp;amp;&lt;/a&gt;&lt;strong&gt;ec_url=%2f&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When that is clicked on, it resolves/redirects to &lt;strong&gt;&lt;a href=&quot;http://brandname.local/&quot; rel=&quot;noreferrer&quot;&gt;http://brandname.local/&lt;/a&gt;&lt;/strong&gt; which is the expected behavior.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Enter LinkManager&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;EXM uses LinkManager to resolve these links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;HandleInternalLink&lt;/code&gt; processor for the &lt;code&gt;&amp;lt;modifyHyperlink&amp;gt;&lt;/code&gt; pipeline, you find the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            DynamicLink result;&#xA;            if (args.Url.IndexOf(&quot;~/link.aspx?&quot;, StringComparison.InvariantCulture) &amp;gt;= 0 &amp;amp;&amp;amp;&#xA;                DynamicLink.TryParse(args.Url, out result))&#xA;            {&#xA;                var defaultUrlOptions = LinkManager.GetDefaultUrlOptions();&#xA;                defaultUrlOptions.SiteResolving = true;&#xA;                defaultUrlOptions.Site = SiteContext.GetSite(args.WebsiteConfigurationName);&#xA;                args.Url = LinkManager.GetItemUrl(new ItemUtilExt().GetItem(result.ItemId), defaultUrlOptions);&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, becasuse my link in the Rich Text box is a dynamic link that points to a Home item, this processor uses &lt;strong&gt;LinkManager.GetItemUrl()&lt;/strong&gt; to fetch the Url.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;WebsiteConfigurationName&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Note that &lt;strong&gt;args.WebsiteConfigurationName&lt;/strong&gt; equals the site name that is configured on the EXM Manager Root. In both Scenario 1 and 2 (because the same Manager Root is being used), this is set to &lt;strong&gt;brandname&lt;/strong&gt;. This maps back to Sitecore's site definition.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;SiteResolving&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I am also aware that SiteResolving works best when there is a &lt;strong&gt;targetHostName&lt;/strong&gt; defined on the site definition.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;LinkManager GetServerUrlElement()&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Way down the line of &lt;code&gt;LinkManager.GetItemUrl()&lt;/code&gt;, LinkManager executes the &lt;code&gt;GetServerUrlElement()&lt;/code&gt; method, that does the heavy lifting of creating the server element portion of this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  protected virtual string GetServerUrlElement(SiteInfo siteInfo)&#xA;  {&#xA;    SiteContext site = Context.Site;&#xA;    string str1 = site != null ? site.Name : string.Empty;&#xA;    string hostName = this.GetHostName();&#xA;    string str2 = this.AlwaysIncludeServerUrl ? WebUtil.GetServerUrl() : string.Empty;&#xA;    if (siteInfo == null)&#xA;      return str2;&#xA;    string str3;&#xA;    if (string.IsNullOrEmpty(siteInfo.HostName) || string.IsNullOrEmpty(hostName) || !siteInfo.Matches(hostName))&#xA;      str3 = StringUtil.GetString(new string[2]&#xA;      {&#xA;        this.GetTargetHostName(siteInfo),&#xA;        hostName&#xA;      });&#xA;    else&#xA;      str3 = hostName;&#xA;    string str4 = str3;&#xA;    string str5 = StringUtil.GetString(new string[2]{ siteInfo.Scheme, this.GetScheme() });&#xA;    int defaultValue = MainUtil.GetInt(siteInfo.Port, WebUtil.GetPort());&#xA;    int port = WebUtil.GetPort();&#xA;    int num = MainUtil.GetInt(siteInfo.ExternalPort, defaultValue);&#xA;    if (num != defaultValue)&#xA;    {&#xA;      if (this.AlwaysIncludeServerUrl)&#xA;        str2 = num == 80 ? string.Format(&quot;{0}://{1}&quot;, (object) str5, (object) this.GetHostName()) : string.Format(&quot;{0}://{1}:{2}&quot;, (object) str5, (object) this.GetHostName(), (object) num);&#xA;      defaultValue = num;&#xA;    }&#xA;    if (!this.AlwaysIncludeServerUrl &amp;amp;&amp;amp; siteInfo.Name.Equals(str1, StringComparison.OrdinalIgnoreCase) &amp;amp;&amp;amp; hostName.Equals(str4, StringComparison.OrdinalIgnoreCase) || (string.IsNullOrEmpty(str4) || str4.IndexOf('*') &amp;gt;= 0))&#xA;      return str2;&#xA;    string scheme = this.GetScheme();&#xA;    StringComparison comparisonType = StringComparison.OrdinalIgnoreCase;&#xA;    if (str4.Equals(hostName, comparisonType) &amp;amp;&amp;amp; defaultValue == port &amp;amp;&amp;amp; str5.Equals(scheme, comparisonType))&#xA;      return str2;&#xA;    string str6 = str5 + &quot;://&quot; + str4;&#xA;    if (defaultValue &amp;gt; 0 &amp;amp;&amp;amp; defaultValue != 80)&#xA;      str6 = str6 + &quot;:&quot; + (object) defaultValue;&#xA;    return str6;&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Debugging (using dotPeek Symbol Server) reveals the following portions of the above code are the exits points for each scenario.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Scenario 1 Returns &quot;://brandname.local&quot; At&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    string str6 = str5 + &quot;://&quot; + str4;&#xA;    if (defaultValue &amp;gt; 0 &amp;amp;&amp;amp; defaultValue != 80)&#xA;      str6 = str6 + &quot;:&quot; + (object) defaultValue;&#xA;    return str6;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Scenario 2 Returns &quot;&quot;(String.Empty) At&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    if (str4.Equals(hostName, comparisonType) &amp;amp;&amp;amp; defaultValue == port &amp;amp;&amp;amp; str5.Equals(scheme, comparisonType))&#xA;      return str2;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Configuration&lt;/h1&gt;&#xA;&#xA;&lt;h2&gt;Site Config&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;brandname&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/BrandName&quot; startItem=&quot;/Home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;1000MB&quot; renderingParametersCacheSize=&quot;200MB&quot; xslCacheSize=&quot;100MB&quot; filteredItemsCacheSize=&quot;200MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; hostName=&quot;brandname.local&quot; notFoundPage=&quot;/sitecore/content/BrandName/Home/404&quot; itemRedirectPath=&quot;/sitecore/content/BrandName/Redirects/ItemBased&quot; legacyRedirectPath=&quot;/sitecore/content/BrandName/Redirects/Legacy&quot; patch:source=&quot;BrandName.SiteDefintion.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Site, Site Info, defaultUrlOptions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The following is the raw output of my debugging session, looking at the three pieces that are used in &lt;code&gt;HandleInternalLink&lt;/code&gt; processor:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;defaultUrlOptions.Site&lt;/li&gt;&#xA;&lt;li&gt;defaultUrlOptions&lt;/li&gt;&#xA;&lt;li&gt;defaultUrlOptions.Site.SiteInfo&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have indicated the pieces that are different according to BeyondCompare.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Scenario 1 - When the link doesn't generate right&lt;/h3&gt;&#xA;&#xA;defaultUrlOptions.Site&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;brandname&quot;&#xA;    AllowDebug: true&#xA;    BrowserTitle: &quot;BrandName - Sitecore&quot;&#xA;    CacheHtml: true   &amp;lt;--- Different&#xA;    CacheMedia: true   &amp;lt;--- Different&#xA;    Caches: {Sitecore.Sites.SiteCaches}&#xA;    ContentDatabase: null&#xA;    &quot;&quot;: &quot;&quot;&#xA;    ContentStartItem: &quot;&quot;&#xA;    ContentStartPath: &quot;/sitecore/content/BrandName&quot;&#xA;    Database: {web}   &amp;lt;--- Different&#xA;    DefaultDevice: &quot;&quot;&#xA;    Device: &quot;&quot;&#xA;    DictionaryDomain: &quot;&quot;&#xA;    DisableBrowserCaching: true&#xA;    DisableClientData: false&#xA;    DisableFiltering: false&#xA;    DisableWebEditEditing: false&#xA;    DisableWebEditSelecting: false&#xA;    DisableXmlControls: false&#xA;    DisplayDate: {3/10/2017 2:40:34 AM}   &amp;lt;--- Different&#xA;    DisplayMode: Normal   &amp;lt;--- Different&#xA;    Domain: extranet   &amp;lt;--- Different&#xA;    DrawDots: false   &amp;lt;--- Different&#xA;    EnableDebugger: true&#xA;    EnableLinkedItems: true&#xA;    EnablePreview: true&#xA;    EnableWebEdit: true&#xA;    EnableWorkflow: false   &amp;lt;--- Different&#xA;    FilterItems: false   &amp;lt;--- Different&#xA;    HostName: &quot;brandname.local&quot;&#xA;    Language: &quot;en&quot;&#xA;    LoginPage: &quot;&quot;&#xA;    MasterDatabase: null&#xA;    MediaCachePath: &quot;/App_Data/MediaCache/brandname&quot;&#xA;    Name: &quot;brandname&quot;&#xA;    Notifications: {Sitecore.Events.NotificationContext}&#xA;    Page: {Sitecore.Layouts.PageContext}&#xA;    PhysicalFolder: &quot;/&quot;&#xA;    Properties: {System.Collections.Specialized.NameValueCollection}&#xA;    Request: {Sitecore.Sites.SiteRequest}&#xA;    RequireLogin: false&#xA;    Resources: {Sitecore.Resources.ResourceContext}&#xA;    Response: {Sitecore.Sites.SiteResponse}&#xA;    RootPath: &quot;/sitecore/content/BrandName&quot;&#xA;    SiteInfo: &quot;brandname&quot; (&quot;web&quot;#&quot;&quot;)&#xA;    StartItem: &quot;/Home&quot;&#xA;    StartPath: &quot;/sitecore/content/BrandName/Home&quot;&#xA;    TargetHostName: &quot;brandname.local&quot;&#xA;    VirtualFolder: &quot;/&quot;&#xA;    XmlControlPage: &quot;/layouts/xmlcontrol.aspx&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;defaultUrlOptions&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{Sitecore.Links.UrlOptions}&#xA;    AddAspxExtension: false&#xA;    AlwaysIncludeServerUrl: false&#xA;    EncodeNames: true&#xA;    &quot;en&quot;: &quot;en&quot;&#xA;    LanguageEmbedding: Never&#xA;    LanguageLocation: FilePath&#xA;    LowercaseUrls: true&#xA;    ShortenUrls: true&#xA;    Site: &quot;brandname&quot;&#xA;    SiteResolving: true&#xA;    UseDisplayName: false&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;defaultUrlOptions.Site.SiteInfo&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;brandname&quot; (&quot;web&quot;#&quot;&quot;)&#xA;    AllowDebug: true&#xA;    BrowserTitle: &quot;BrandName - Sitecore&quot;&#xA;    CacheHtml: true&#xA;    CacheMedia: true&#xA;    ContentLanguage: &quot;&quot;&#xA;    ContentStartItem: &quot;&quot;&#xA;    Database: &quot;web&quot;&#xA;    DefaultDevice: &quot;&quot;&#xA;    Device: &quot;&quot;&#xA;    DictionaryDomain: &quot;&quot;&#xA;    DisableBrowserCaching: true&#xA;    DisableClientData: false&#xA;    DisableXmlControls: false&#xA;    Domain: &quot;extranet&quot;&#xA;    EnableDebugger: true&#xA;    EnableFieldLanguageFallback: false&#xA;    EnableItemLanguageFallback: false&#xA;    EnableLinkedItems: false&#xA;    EnablePreview: true&#xA;    EnableWebEdit: true&#xA;    EnableWorkflow: false&#xA;    EnforceVersionPresence: false&#xA;    ExternalPort: 0&#xA;    FilterItems: false&#xA;    FilteredItemsCache: {Sitecore.Caching.FilteredItemsCache}&#xA;    HostName: &quot;brandname.local&quot;&#xA;    HtmlCache: {Sitecore.Caching.HtmlCache}&#xA;    HtmlCacheClearLatency: &quot;&quot;&#xA;    IsActive: true&#xA;    Language: &quot;&quot;&#xA;    LoginPage: &quot;&quot;&#xA;    MasterDatabase: &quot;&quot;&#xA;    MediaCachePath: &quot;&quot;&#xA;    Name: &quot;brandname&quot;&#xA;    PhysicalFolder: &quot;/&quot;&#xA;    Port: 0&#xA;    Properties: {System.Collections.Specialized.NameValueCollection}&#xA;    RegistryCache: {Sitecore.Caching.RegistryCache}&#xA;    RenderingParametersCache: null&#xA;    RequireLogin: false&#xA;    RootPath: &quot;/sitecore/content/BrandName&quot;&#xA;    Scheme: &quot;&quot;&#xA;    StartItem: &quot;/Home&quot;&#xA;    TargetHostName: &quot;&quot;&#xA;    ViewStateCache: {Sitecore.Caching.ViewStateCache}&#xA;    VirtualFolder: &quot;/&quot;&#xA;    XmlControlPage: &quot;&quot;&#xA;    XslCache: {Sitecore.Caching.XslCache}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Scenario 2 - When the link generates correctly&lt;/h3&gt;&#xA;&#xA;defaultUrlOptions.Site&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;brandname&quot;&#xA;    AllowDebug: true&#xA;    BrowserTitle: &quot;BrandName - Sitecore&quot;&#xA;    CacheHtml: false   &amp;lt;--- Different&#xA;    CacheMedia: false   &amp;lt;--- Different&#xA;    Caches: {Sitecore.Sites.SiteCaches}&#xA;    ContentDatabase: null&#xA;    &quot;&quot;: &quot;&quot;&#xA;    ContentStartItem: &quot;&quot;&#xA;    ContentStartPath: &quot;/sitecore/content/BrandName&quot;&#xA;    Database: {master}   &amp;lt;--- Different&#xA;    DefaultDevice: &quot;&quot;&#xA;    Device: &quot;&quot;&#xA;    DictionaryDomain: &quot;&quot;&#xA;    DisableBrowserCaching: true&#xA;    DisableClientData: false&#xA;    DisableFiltering: false&#xA;    DisableWebEditEditing: false&#xA;    DisableWebEditSelecting: false&#xA;    DisableXmlControls: false&#xA;    DisplayDate: {3/10/2017 2:44:46 AM}   &amp;lt;--- Different&#xA;    DisplayMode: Edit   &amp;lt;--- Different&#xA;    Domain: sitecore   &amp;lt;--- Different&#xA;    DrawDots: true   &amp;lt;--- Different&#xA;    EnableDebugger: true&#xA;    EnableLinkedItems: true&#xA;    EnablePreview: true&#xA;    EnableWebEdit: true&#xA;    EnableWorkflow: true   &amp;lt;--- Different&#xA;    FilterItems: true   &amp;lt;--- Different&#xA;    HostName: &quot;brandname.local&quot;&#xA;    Language: &quot;en&quot;&#xA;    LoginPage: &quot;&quot;&#xA;    MasterDatabase: null&#xA;    MediaCachePath: &quot;/App_Data/MediaCache/brandname&quot;&#xA;    Name: &quot;brandname&quot;&#xA;    Notifications: {Sitecore.Events.NotificationContext}&#xA;    Page: {Sitecore.Layouts.PageContext}&#xA;    PhysicalFolder: &quot;/&quot;&#xA;    Properties: {System.Collections.Specialized.NameValueCollection}&#xA;    Request: {Sitecore.Sites.SiteRequest}&#xA;    RequireLogin: false&#xA;    Resources: {Sitecore.Resources.ResourceContext}&#xA;    Response: {Sitecore.Sites.SiteResponse}&#xA;    RootPath: &quot;/sitecore/content/BrandName&quot;&#xA;    SiteInfo: &quot;brandname&quot; (&quot;web&quot;#&quot;&quot;)&#xA;    StartItem: &quot;/Home&quot;&#xA;    StartPath: &quot;/sitecore/content/BrandName/Home&quot;&#xA;    TargetHostName: &quot;brandname.local&quot;&#xA;    VirtualFolder: &quot;/&quot;&#xA;    XmlControlPage: &quot;/layouts/xmlcontrol.aspx&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;defaultUrlOptions&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{Sitecore.Links.UrlOptions}&#xA;    AddAspxExtension: false&#xA;    AlwaysIncludeServerUrl: false&#xA;    EncodeNames: true&#xA;    &quot;en&quot;: &quot;en&quot;&#xA;    LanguageEmbedding: Never&#xA;    LanguageLocation: FilePath&#xA;    LowercaseUrls: true&#xA;    ShortenUrls: true&#xA;    Site: &quot;brandname&quot;&#xA;    SiteResolving: true&#xA;    UseDisplayName: false&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;defaultUrlOptions.Site.SiteInfo&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;brandname&quot; (&quot;web&quot;#&quot;&quot;)&#xA;    AllowDebug: true&#xA;    BrowserTitle: &quot;BrandName - Sitecore&quot;&#xA;    CacheHtml: true&#xA;    CacheMedia: true&#xA;    ContentLanguage: &quot;&quot;&#xA;    ContentStartItem: &quot;&quot;&#xA;    Database: &quot;web&quot;&#xA;    DefaultDevice: &quot;&quot;&#xA;    Device: &quot;&quot;&#xA;    DictionaryDomain: &quot;&quot;&#xA;    DisableBrowserCaching: true&#xA;    DisableClientData: false&#xA;    DisableXmlControls: false&#xA;    Domain: &quot;extranet&quot;&#xA;    EnableDebugger: true&#xA;    EnableFieldLanguageFallback: false&#xA;    EnableItemLanguageFallback: false&#xA;    EnableLinkedItems: false&#xA;    EnablePreview: true&#xA;    EnableWebEdit: true&#xA;    EnableWorkflow: false&#xA;    EnforceVersionPresence: false&#xA;    ExternalPort: 0&#xA;    FilterItems: false&#xA;    FilteredItemsCache: {Sitecore.Caching.FilteredItemsCache}&#xA;    HostName: &quot;brandname.local&quot;&#xA;    HtmlCache: {Sitecore.Caching.HtmlCache}&#xA;    HtmlCacheClearLatency: &quot;&quot;&#xA;    IsActive: true&#xA;    Language: &quot;&quot;&#xA;    LoginPage: &quot;&quot;&#xA;    MasterDatabase: &quot;&quot;&#xA;    MediaCachePath: &quot;&quot;&#xA;    Name: &quot;brandname&quot;&#xA;    PhysicalFolder: &quot;/&quot;&#xA;    Port: 0&#xA;    Properties: {System.Collections.Specialized.NameValueCollection}&#xA;    RegistryCache: {Sitecore.Caching.RegistryCache}&#xA;    RenderingParametersCache: null&#xA;    RequireLogin: false&#xA;    RootPath: &quot;/sitecore/content/BrandName&quot;&#xA;    Scheme: &quot;&quot;&#xA;    StartItem: &quot;/Home&quot;&#xA;    TargetHostName: &quot;&quot;&#xA;    ViewStateCache: {Sitecore.Caching.ViewStateCache}&#xA;    VirtualFolder: &quot;/&quot;&#xA;    XmlControlPage: &quot;&quot;&#xA;    XslCache: {Sitecore.Caching.XslCache}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Question (Finally)&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;What in the world am I missing that would cause LinkManager to operate so differently between these two scenarios? My understanding is that EXM, if the site configured on the Manager Root and the Site resolved by the item are the same site, ec_url should be a relative URL. But for some reason, in one scenario, I am getting an absolute URL. &lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-03-10T16:44:55.203" LastActivityDate="2017-03-14T19:34:28.513" Title="LinkManager returning inconsistent Server Url" Tags="|exm|link-manager|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4838" PostTypeId="1" CreationDate="2017-03-10T17:04:03.453" Score="2" ViewCount="421" Body="&lt;p&gt;I have in my local machine a clean installation of Sitecore 8.1. I did the upgrade to Sitecore 8.2 rev. 161221. Now I'm trying to do a component personalization, and after I click on &quot;Personalization&quot; this error is displayed:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&#xA;  There is no item with ID 74A0D116-A2ED-41A6-840B-847F679E25D1&#xA;  Description: An unhandled exception occurred during the execution of&#xA;  the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I tried to search for the ID from the error message in the master and web databases, but couldn't find an item with that ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any idea how can I find or fix this ID to delete the Item? Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1633" LastEditorUserId="423" LastEditDate="2017-03-10T22:31:43.290" LastActivityDate="2017-03-10T22:31:43.290" Title="Missing Item ID" Tags="|personalization|" AnswerCount="0" CommentCount="2" ClosedDate="2017-03-12T21:35:28.400" ContentLicense="CC BY-SA 3.0" />
  <row Id="4839" PostTypeId="2" ParentId="3890" CreationDate="2017-03-10T19:23:11.197" Score="0" Body="&lt;p&gt;Processor request is not calling for export to excel button.Please go to path &quot;/sitecore/client/Applications/WFFM/Resources/Parameters/ActionControl Parameters/ActionColumn/ActionGroup/ExportToExcel&quot; in core database.Give the pipeline request name in click field(javascript:app.exportToExcel()).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pipeline request will be in Sitecore.Wffm.services.config which is located in Appconfig/include/&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;exportToExcel&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.WFFM.Services.Pipelines.ExportToExcel.ExportFormDataToExcel, Sitecore.WFFM.Services&quot; /&amp;gt;&#xA;&amp;lt;/exportToexcel&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="949" LastActivityDate="2017-03-10T19:23:11.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4840" PostTypeId="1" AcceptedAnswerId="4841" CreationDate="2017-03-10T20:59:37.583" Score="0" ViewCount="2682" Body="&lt;p&gt;I have a list of Photo items that I'm trying to get from my Glass Mapper model using the following declaration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SitecoreField(&quot;Photos&quot;)]&#xA;public virtual IEnumerable&amp;lt;Photo&amp;gt; Photos { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This set of photos is always empty when I'm not logged into Sitecore because the photos have Sitecore security on them. When I am logged into Sitecore (for example, in edit or preview mode while signed into the admin account), I can grab the photos just fine. Normally, to disable such security I would use the security disabler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new Sitecore.SecurityModel.SecurityDisabler()){...}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm unsure of how to combine the security disabler with Glass Mapper to grab sitecore items that have security enabled. Any ideas on how I can disable this security from my Glass Mapper model? Thanks for the help!&lt;/p&gt;&#xA;" OwnerUserId="1080" LastEditorUserId="1080" LastEditDate="2017-03-10T21:04:41.040" LastActivityDate="2017-03-11T07:27:07.380" Title="Using the Security Disabler With Glass Mapper" Tags="|security|glass-mapper|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4841" PostTypeId="2" ParentId="4840" CreationDate="2017-03-10T21:17:10.830" Score="3" Body="&lt;p&gt;The underlying service for GlassMapper is Sitecore. Just wrap it with a SecurityDisabler like normal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find an example in the tutorials for GM. &lt;a href=&quot;http://glass.lu/Mapper/Sc/Tutorials/Tutorial11&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://glass.lu/Mapper/Sc/Tutorials/Tutorial11&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    void CommentSubmit_Click(object sender, EventArgs e)&#xA;    {&#xA;        var contextService = new SitecoreContext();&#xA;        var masterService = new SitecoreService(&quot;master&quot;);&#xA;&#xA;        var page = contextService.GetCurrentItem&amp;lt;CommentPage&amp;gt;();&#xA;        //we could also use the model property instead of the line above:&#xA;        // var page = this.Model;&#xA;&#xA;        var comment = new Comment();&#xA;&#xA;        //This value will be used for the name of the item&#xA;        comment.Name = DateTime.Now.ToString(&quot;yy-MM-ddThh-mm-ss&quot;);&#xA;        comment.Content = CommentContent.Text;&#xA;        comment.FullName = CommentName.Text;&#xA;        comment.Email = CommentEmail.Text;&#xA;&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            masterService.Create(page, comment);&#xA;        }&#xA;&#xA;        CommentThankYou.Visible = true;&#xA;        comment.Content = string.Empty;&#xA;        comment.FullName = string.Empty;&#xA;        comment.Email = string.Empty;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-03-10T21:17:10.830" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4842" PostTypeId="2" ParentId="4840" CreationDate="2017-03-10T21:29:26.287" Score="0" Body="&lt;p&gt;After looking at it a little bit more this is what I went with. It's ugly but it gets the job done. I'm still very much open to a cleaner solution.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [SitecoreField(&quot;Photos&quot;)]&#xA;    public virtual IEnumerable&amp;lt;Photo&amp;gt; Photos {&#xA;        get {&#xA;            List&amp;lt;Photo&amp;gt; photos = new List&amp;lt;Photo&amp;gt;();&#xA;            using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;            {&#xA;                var contextService = new SitecoreContext();&#xA;                Item page = contextService.GetItem&amp;lt;Item&amp;gt;(this.Id);&#xA;                MultilistField list = page.Fields[&quot;Photos&quot;];&#xA;                foreach (Item child in list.GetItems())&#xA;                {&#xA;                    Photo currPhoto = contextService.Cast&amp;lt;Photo&amp;gt;(child);&#xA;                    photos.Add(currPhoto);&#xA;                }&#xA;            }&#xA;            return photos;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2017-03-10T21:29:26.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4843" PostTypeId="1" CreationDate="2017-03-10T23:57:50.033" Score="1" ViewCount="480" Body="&lt;p&gt;We are on version 8 update 2. We have one CM and 2 CDs. All indexes are set to manual strategy on CDs. CM does all the indexing. All master db indexes are set to sync master and all web indexes to onpublishendasync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are having a strange issue in one of our environments. 2 of the web indexes are not being updated incrementally. The issue has happened a few times. All the other web indexes with the same strategy work fine - onpublishendasync. The web indexes that work show a message in the logs that they were updated but the problem ones don't. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We checked the indexes to see if their crawling was paused or stopped but Sitecore shows all of them as Started.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone ever come across this issue?&lt;/p&gt;&#xA;" OwnerUserId="1073" LastEditorUserId="1073" LastEditDate="2017-03-11T03:08:24.037" LastActivityDate="2017-03-11T03:13:44.283" Title="Solr indexes don't incrementally update after rebuilding" Tags="|solr|" AnswerCount="0" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="4844" PostTypeId="1" AcceptedAnswerId="4850" CreationDate="2017-03-11T01:14:01.147" Score="12" ViewCount="1329" Body="&lt;p&gt;I know there's a button in experience editor to decide whether to use the shared layout or the final layout when adding renderings (and the default is final layout). Is there a setting that forces this to one option or the other to start? I'm thinking mainly during development, a lot of the time I want my team to use the shared layout. If there's a setting I can change using a patch only on my local or development servers, that'd be optimal.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-03-20T18:23:37.050" Title="Force shared layout in experience editor" Tags="|experience-editor|presentation|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4846" PostTypeId="2" ParentId="4445" CreationDate="2017-03-11T03:38:25.813" Score="1" Body="&lt;p&gt;You can generate the files and items packages using TDS, and then use the command  line utility to install them on the server using Powershell script (you can use Octopus or other deployment orchestration tool to do that).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/JackTheHack/Sitecore.TDS.AdvancedPackageInstaller&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/JackTheHack/Sitecore.TDS.AdvancedPackageInstaller&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The advantage is that you can also install the package using Powershell manually on production and other environments where you don't have access to the deploymet orchestration server. &lt;/p&gt;&#xA;" OwnerUserId="1676" LastEditorUserId="1676" LastEditDate="2017-03-11T03:44:08.850" LastActivityDate="2017-03-11T03:44:08.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4848" PostTypeId="2" ParentId="4840" CreationDate="2017-03-11T07:27:07.380" Score="2" Body="&lt;p&gt;I would recommend using user switcher instead of security disabler.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Security.Accounts.User user = Sitecore.Security.Accounts.User.FromName(@&quot;(sitecore user with permission)&quot;, true);&#xA;        using (new Sitecore.Security.Accounts.UserSwitcher(user))&#xA;        {}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="676" LastActivityDate="2017-03-11T07:27:07.380" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4850" PostTypeId="2" ParentId="4844" CreationDate="2017-03-11T10:49:35.587" Score="8" Body="&lt;p&gt;&lt;a href=&quot;http://jockstothecore.com/defaulting-shared-layout-editing-sitecore-8-1/&quot; rel=&quot;noreferrer&quot;&gt;http://jockstothecore.com/defaulting-shared-layout-editing-sitecore-8-1/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A simple setting is not available, but in the blog post above you can find code for a custom processor for the &lt;strong&gt;loggedin&lt;/strong&gt; pipeline that will do the trick. You can still choose on which environments you add the pipeline processor (live only dev).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code itself will set the Registry value for the &lt;strong&gt;EditAllVersions&lt;/strong&gt; key, to set it to shared for the current user. The value is indeed kept per user (you will also notice that by the fact that Sitecore will remember your choice in the xp editor).&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class DefaultToAllVersions : LoggedInProcessor&#xA;{&#xA;    public override void Process(LoggedInArgs args)&#xA;    {&#xA;        if (SkipProcessor(args)) return;&#xA;        Registry.SetString(Constants.RegistryKeys.EditAllVersions,&#xA;            Constants.Registry.CheckboxTickedRegistryValue);&#xA;    }&#xA;&#xA;    public virtual bool SkipProcessor(LoggedInArgs args)&#xA;    {&#xA;        var user = User.FromName(args.Username, true);&#xA;        var existing = Registry.GetString(Constants.RegistryKeys.EditAllVersions);&#xA;        return user == null &amp;amp;&amp;amp; string.IsNullOrEmpty(existing);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and patch you loggedin pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;processors&amp;gt;&#xA;      &amp;lt;loggedin&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot;&#xA;          patch:after=&quot;*[last()]&quot;&#xA;          type=&quot;X.DefaultToAllVersions, X&quot; /&amp;gt;&#xA;      &amp;lt;/loggedin&amp;gt;&#xA;    &amp;lt;/processors&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-03-11T10:49:35.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4851" PostTypeId="1" AcceptedAnswerId="4852" CreationDate="2017-03-11T14:54:24.580" Score="3" ViewCount="274" Body="&lt;p&gt;I have Sitecore User profile pictures saved in Core DB.&lt;br&gt;&#xA;In preview mode of a page, the image renders as   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://mysite.org/sitecore/shell/~/media/Profile-Pictures/Demo/author03.ashx?sc_content=core&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.org/sitecore/shell/~/media/Profile-Pictures/Demo/author03.ashx?sc_content=core&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and is visible.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the same page when published, renders the image as  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://mysite.org/~/media/Profile-Pictures/Demo/author03.ashx?sc_content=core&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.org/~/media/Profile-Pictures/Demo/author03.ashx?sc_content=core&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and the image is not visible. &#xA;I also updated the permission to the folder in core DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/18UeU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/18UeU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-03-12T13:09:48.210" LastActivityDate="2017-03-12T13:09:48.210" Title="How to view or render images in Core DB" Tags="|user-profile|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4852" PostTypeId="2" ParentId="4851" CreationDate="2017-03-11T16:44:01.277" Score="1" Body="&lt;p&gt;The reason why it is not working is that it requires Read access. In order to provide the read access, go to the core database and set the security on the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I want to access the media item &lt;code&gt;/sitecore/media library/Experience Profile/Defaults/Channel&lt;/code&gt;. So, from the Core database, I navigate to the image or container and apply a read access to the &lt;code&gt;extranet/anonymous&lt;/code&gt; or to the specific user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/M4zbS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M4zbS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the screenshot you provided, you have set the access to the &lt;code&gt;default\Anonymous&lt;/code&gt; user. You need to set it on the &lt;code&gt;extranet\Anonymous&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Go to the User Manager and select the &lt;code&gt;extranet\Anonymous&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5H9wZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5H9wZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Once selected, click on the Security Editor and set the Read access. An example is shown below:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lJLG3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lJLG3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-03-12T12:51:46.583" LastActivityDate="2017-03-12T12:51:46.583" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4853" PostTypeId="1" CreationDate="2017-03-11T18:27:29.723" Score="6" ViewCount="6605" Body="&lt;p&gt;This might seem like a trivial question, but I'm researching solutions and couldn't seem to find which language this framework used. I know the frontend has to be HTML/CSS/Javascript, but what does it use on the backend?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What server side language(s) does Sitecore use?&lt;/p&gt;&#xA;" OwnerUserId="1677" LastEditorUserId="423" LastEditDate="2017-08-07T19:45:42.720" LastActivityDate="2021-03-26T04:10:55.173" Title="What server side language does Sitecore use?" Tags="|development|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4855" PostTypeId="2" ParentId="4853" CreationDate="2017-03-11T22:50:59.060" Score="14" Body="&lt;p&gt;Sitecore uses either ASP.NET Web Forms or ASP.NET MVC to generate the final HTML pages. This means developers can use any programming language of the .NET Framework. C# is one of the most popular with VB.NET but any other .NET Framework language like F# can be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, most if not all Sitecore developers use C#. &lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2017-03-11T22:50:59.060" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4856" PostTypeId="2" ParentId="4853" CreationDate="2017-03-11T22:56:04.700" Score="5" Body="&lt;p&gt;While Sitecore itself is written in C#, that doesn't necessarily require a solution to be built in C#.&lt;/p&gt;&#xA;&lt;p&gt;It is an ASP.NET-based product, so any language supported by ASP.NET will work. The most common of these are VB.NET and C#. C# is by far the most popular (and with good reason), however, you will find there are numerous languages that could be used if you really wanted to.&lt;/p&gt;&#xA;&lt;p&gt;The key limitation is Visual Studio. Most .NET devs use Visual Studio and its designers and project systems are built around emitting and compiling C# and VB.NET only.  If you're prepared to use other tools it should be completely plausible to code in C++ or Python.NET or F# or J# or COBOL.NET or ...&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: this is an old post, and VS/VSCode have come a long way since, as such there are now numerous languages that can be used as 'first class citizens' in .NET - I believe there is even &lt;a href=&quot;https://www.peachpie.io/&quot; rel=&quot;nofollow noreferrer&quot;&gt;tooling for PHP&lt;/a&gt; these days if you're so inclined. C# is still the easy favourite FWIW.&lt;/p&gt;&#xA;" OwnerUserId="131" LastEditorUserId="131" LastEditDate="2021-03-26T04:10:55.173" LastActivityDate="2021-03-26T04:10:55.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4857" PostTypeId="1" AcceptedAnswerId="4859" CreationDate="2017-03-12T09:55:52.990" Score="2" ViewCount="457" Body="&lt;p&gt;I am trying to install Sitecore using PowerShell DSC following below link&#xA;&lt;a href=&quot;https://jermdavis.wordpress.com/2015/11/09/development-environments-with-powershell-dsc-part-5/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jermdavis.wordpress.com/2015/11/09/development-environments-with-powershell-dsc-part-5/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting &lt;code&gt;&quot;Could not access network location SC_SQL_SERVER_USER&quot;&lt;/code&gt; error in log file. I have given all the necessary permission to database but couldn't get it done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please help me in finding the error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please find below installation log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MSI (s) (E8:EC) [14:22:00:713]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.&#xA;MSI (s) (E8:EC) [14:22:00:713]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.&#xA;MSI (s) (E8:EC) [14:22:00:713]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.&#xA;MSI (s) (E8:EC) [14:22:00:713]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.&#xA;MSI (s) (E8:EC) [14:22:00:713]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.&#xA;MSI (s) (E8:EC) [14:22:00:713]: Note: 1: 2205 2:  3: Patch &#xA;MSI (s) (E8:EC) [14:22:00:728]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'C:\'.&#xA;MSI (s) (E8:EC) [14:22:00:728]: Note: 1: 1314 2: SC_SQL_SERVER_USER=sitecore_install &#xA;MSI (s) (E8:EC) [14:22:00:728]: Note: 1: 1606 2: SC_SQL_SERVER_USER=sitecore_install &#xA;Action start 14:22:00: CostFinalize.&#xA;MSI (s) (E8:EC) [14:22:00:728]: Product: Sitecore 8.0 rev. 150223 - SitecoreVamsi -- Error 1606. Could not access network location SC_SQL_SERVER_USER=sitecore_install.&#xA;&#xA;MSI (s) (E8:EC) [14:22:00:728]: Note: 1: 1606 2: SC_SQL_SERVER_USER=sitecore_install &#xA;Error 1606. Could not access network location SC_SQL_SERVER_USER=sitecore_install.&#xA;MSI (s) (E8:EC) [14:22:00:728]: Product: Sitecore 8.0 rev. 150223 - SitecoreVamsi -- Error 1606. Could not access network location SC_SQL_SERVER_USER=sitecore_install.&#xA;&#xA;Error 1606. Could not access network location SC_SQL_SERVER_USER=sitecore_install.&#xA;Action ended 14:22:00: CostFinalize. Return value 3.&#xA;Action ended 14:22:00: INSTALL. Return value 3.&#xA;Property(S): VirtualMemory = 16275&#xA;Property(S): UpgradeCode = {B30C3E71-5F46-5340-B9A0-31B0752C6637}&#xA;Property(S): IISMAJORVERSION = 8&#xA;Property(S): IISMINORVERSION = #5&#xA;Property(S): GLOBALTEMPFOLDER = C:\Windows\TEMP&#xA;Property(S): GLOBALIZATIONFOLDER = C:\Windows\Globalization\&#xA;Property(S): CRYPTOFOLDER = C:\ProgramData\Microsoft\Crypto\&#xA;Property(S): SC_SQLLOGON_ACCOUNT_RAW = AFMS\sqlservice_sc&#xA;Property(S): ASPNETREGISTERED = C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll&#xA;Property(S): IIS7APPDEVFEATURESON = #1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1643" LastEditorUserId="2727" LastEditDate="2018-03-01T10:00:33.710" LastActivityDate="2018-03-01T10:00:33.710" Title="Getting &quot;Could not access network location SC_SQL_SERVER_USER&quot; while installing Sitecore using Powershell DSC" Tags="|sql-database|installation|powershell|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4858" PostTypeId="2" ParentId="4415" CreationDate="2017-03-12T13:38:22.440" Score="0" Body="&lt;p&gt;The answer turns out to be using the Windows authentication setting in IIS. This doesn't change the web.config, so you have access to the Sitecore shell still if your web.config authentication is set to &quot;None&quot; (the default it ships with); if you set it to &quot;Forms&quot; then you may hit a conflict.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're using TDS in this configuration, you'll need to set the &quot;_DEV&quot; folder to use &quot;anonymous&quot; access instead for just that folder, or you won't be able to sync up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One caveat is you won't be able to use the site locally without making some registry changes. I can detail those if someone needs them, but for our QA servers, we don't need the site accessible on the server itself, we can check it off the VM. &lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-03-12T13:38:22.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4859" PostTypeId="2" ParentId="4857" CreationDate="2017-03-12T15:48:13.723" Score="3" Body="&lt;p&gt;That's an interesting error message, as it seems to be mixing up two things: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The variable it refers to is &lt;code&gt;SC_SQL_SERVER_USER&lt;/code&gt; - which is used by the MSI installation to store the database username used for connecting while installing the Sitecore databases.&lt;/li&gt;&#xA;&lt;li&gt;The rest of the error &quot;Could not access network location&quot;, and the 1606 error number suggests a problem with a path, rather than a username. (Which is backed up by &lt;a href=&quot;https://blogs.msdn.microsoft.com/vsnetsetup/2016/04/12/error-1606-could-not-access-network-location/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog posts like this&lt;/a&gt;, referring to other MSI installs)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I can't be entirely confident without seeing more of the script and data you're using to run your install, but my gut feeling is that the problem is related to the SQL user name parameter getting mixed up with some other parameter in the MSI command line. With line-breaks for clarity, the MSI install command in the DSC should look like this. Note each parameter is surrounded with double quotes to make sure they're kept separate even if they include spaces:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;msiexec.exe /qn /i &#xA;  &quot;$tmp\SupportFiles\exe\Sitecore.msi&quot;&#xA;  &quot;TRANSFORMS=:$instanceID;:ComponentGUIDTransform5.mst&quot;&#xA;  &quot;MSINEWINSTANCE=1&quot;&#xA;  &quot;LOGVERBOSE=1&quot;&#xA;  &quot;SC_LANG=en-US&quot; &#xA;  &quot;SC_FULL=1&quot; &#xA;  &quot;SC_INSTANCENAME=$site&quot;&#xA;  &quot;SC_LICENSE_PATH=$license&quot;               &amp;lt;-- This is a path&#xA;  &quot;SC_SQL_SERVER_USER=$sqlUser&quot;            &amp;lt;-- But this isn't&#xA;  &quot;SC_SQL_SERVER=$sqlServer&quot;&#xA;  &quot;SC_SQL_SERVER_PASSWORD=$sqlPassword&quot;&#xA;  &quot;SC_DBPREFIX=$sitePrefix&quot;&#xA;  &quot;SC_PREFIX_PHYSICAL_FILES=1&quot;&#xA;  &quot;SC_SQL_SERVER_CONFIG_USER=$sqlUser&quot;&#xA;  &quot;SC_SQL_SERVER_CONFIG_PASSWORD=$sqlPassword&quot;&#xA;  &quot;SC_DBTYPE=MSSQL&quot;&#xA;  &quot;INSTALLLOCATION=$wwwRoot\$site&quot;&#xA;  &quot;SC_DATA_FOLDER=$wwwRoot\$site\Data&quot;&#xA;  &quot;SC_DB_FOLDER=$wwwRoot\$site\Databases&quot;&#xA;  &quot;SC_MDF_FOLDER=$wwwRoot\$site\Databases\MDF&quot;&#xA;  &quot;SC_LDF_FOLDER=$wwwRoot\$site\Databases\LDF&quot;&#xA;  &quot;SC_NET_VERSION=4&quot;&#xA;  &quot;SITECORE_MVC=0&quot;&#xA;  &quot;SC_INTEGRATED_PIPELINE_MODE=1&quot;&#xA;  &quot;SC_IISSITE_NAME=$site&quot;&#xA;  &quot;SC_IISAPPPOOL_NAME=$siteAppPool&quot;&#xA;  &quot;SC_IISSITE_HEADER=$site&quot;&#xA;  &quot;SC_IISSITE_PORT=80&quot;&#xA;  &quot;SC_IISSITE_ID=&quot;&#xA;  &quot;/l*+v&quot;&#xA;  &quot;$tmp\Install.log&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is it possible that you've lost a double-quote in your script and DSC is trying to use the entire phrase &lt;code&gt;SC_SQL_SERVER_USER=sitecore_install&lt;/code&gt; as the value of another install parameter? (My most likely guess would be for the license path, since it's the one immediately before - but it might be something else)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a check of your script, and see if you can spot a typo there...&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edited to add&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to vary which license file is used for a particular install then you have two main choices:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First is that the license is already being read from the configuration file. So you can choose which configuration file to use for a particular installation, and create different &lt;code&gt;.psd1&lt;/code&gt; files depending on what is required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second is that the script for installing Sitecore can compute the value for the license. The script currently works out the license file by retrieving the value from config and combining it with the path that the assets got copied to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$tmp = $using:Node.TempFolder&#xA;$licenseFile = $using:Node.Sitecore.License&#xA;$license = &quot;$tmp\$licenseFile&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are loads of things you could do here. Two options I can think of:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could compute a prefix:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$tmp = $using:Node.TempFolder&#xA;$licenseFile = $using:Node.Sitecore.License&#xA;$prefix = &quot;defaultValue&quot;&#xA;if( someTest )&#xA;{&#xA;    $prefix = &quot;anotherValue&quot;&#xA;}&#xA;$license = &quot;$tmp\$prefix-$licenseFile&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or you could have more than one option from the config file and choose which to use:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the &lt;code&gt;.psd1&lt;/code&gt; data included:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    AllNodes = @(&#xA;        @{     &#xA;            Sitecore = @{&#xA;                LicenseOne = &quot;License-FileOne.xml&quot;&#xA;                LicenseTwo = &quot;License-FileTwo.xml&quot;&#xA;            }&#xA;         }&#xA;    );&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then the logic in the script could be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$tmp = $using:Node.TempFolder&#xA;$licenseFile = $using:Node.Sitecore.LicenseOne&#xA;if( someTest )&#xA;{&#xA;    $prefix = $using:Node.Sitecore.LicenseTwo&#xA;}&#xA;$license = &quot;$tmp\$licenseFile&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I've avoided changing the code which calls &lt;code&gt;msiexec.exe&lt;/code&gt; here - I find it easier to leave that alone and change the data PowerShell passes to it...&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-12T20:05:02.280" LastActivityDate="2017-03-12T20:05:02.280" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4862" PostTypeId="1" AcceptedAnswerId="4866" CreationDate="2017-03-12T21:58:28.447" Score="2" ViewCount="529" Body="&lt;p&gt;Is there a way in c# to get the name of the last goal triggered by the current visitor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A simple conceptual example:&#xA;Bob visitors the homepage and clicks on a button (triggering a goal called &quot;my button click&quot;&#xA;Bob then fills out a contact form (triggering a goal called &quot;contact form submitted&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a good way in my back-end code (given I know Bob is current looking at the site) to get the fact that Bob's last triggered goal was &quot;contact form submitted&quot;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I figure if that's not possible, I might be able to store a custom field against the visitor when the goal is triggered - but that seems unnecessary as the information should already be in the Mongo DB?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution is on Sitecore 7.5.&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="428" LastEditDate="2017-03-12T23:28:40.190" LastActivityDate="2017-03-15T08:48:26.717" Title="Get the last goal triggered by the current visitor" Tags="|xdb|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4863" PostTypeId="1" AcceptedAnswerId="4876" CreationDate="2017-03-13T00:54:39.170" Score="5" ViewCount="172" Body="&lt;p&gt;At the moment, when a user saves a page as favorite, I'm adding this info to the user profile. However now I want to retrieve the top 5 most saved pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought of just adding a field to the page that I could increment but every time I'd publish the page, this value would be overridden - Even if I wanted to save this value in both master and web, CD doesn't have access to master so they would be out of sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also thought about extending xDB to include this info but not really sure how I can do this? Just create a facet on the contact?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could check all the users' favorite pages but I imagine that it might be a better way of doing this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt; &#xA;Still looking for suggestions but for now I've just created a new collection in xDB just to store this data.&lt;/p&gt;&#xA;" OwnerUserId="321" LastEditorUserId="321" LastEditDate="2017-03-13T07:11:46.993" LastActivityDate="2017-03-13T13:56:54.817" Title="Retrieve favorite pages based on the user profile" Tags="|contact-facets|user-profile|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4864" PostTypeId="2" ParentId="4830" CreationDate="2017-03-13T01:50:19.940" Score="0" Body="&lt;p&gt;The default value of the date picker field is set in the &lt;code&gt;Text&lt;/code&gt; property. The easiest way to set the default value to be an empty string is to manually add an empty &lt;code&gt;&amp;lt;Text&amp;gt;&amp;lt;/Text&amp;gt;&lt;/code&gt; parameter in the &lt;code&gt;Parameters&lt;/code&gt; field of your date picker form field item, in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QEi4I.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QEi4I.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1399" LastActivityDate="2017-03-13T01:50:19.940" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4865" PostTypeId="2" ParentId="4830" CreationDate="2017-03-13T05:45:06.410" Score="0" Body="&lt;p&gt;Lol i finally found a way. If you didnt want to make custom field and you are sure that your datepicker default value will be empty on all your WFFM form.&#xA;The easiest way is to changed it in &lt;strong&gt;datepickerfield.cshtml&lt;/strong&gt; by editing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; @Html.TextBox(&quot;Value&quot;, currentDate.ToString(Model.DateFormat), new { @readonly = &quot;&quot;, @class = &quot;field-datepicker&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; @Html.TextBox(&quot;Value&quot;, null, new { @readonly = &quot;&quot;, @class = &quot;field-datepicker&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1591" LastActivityDate="2017-03-13T05:45:06.410" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4866" PostTypeId="2" ParentId="4862" CreationDate="2017-03-13T07:12:57.267" Score="5" Body="&lt;p&gt;You can use the tracker api to retrieve the latest Page Event:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Tracker.Current.Session.Interaction.Pages.SelectMany(x=&amp;gt;x.PageEvents)&#xA;            .OrderByDescending(x=&amp;gt;x.Timestamp).FirstOrDefault()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;This is not tested code, let me know whether it works for you.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to get only goals, they can be filtered by adding this LINQ condition:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;.Where(x =&amp;gt; x.IsGoal)&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2017-03-15T08:48:26.717" LastActivityDate="2017-03-15T08:48:26.717" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4867" PostTypeId="2" ParentId="3186" CreationDate="2017-03-13T09:45:35.467" Score="0" Body="&lt;p&gt;A couple more steps that were missing in my particular scenario:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The &lt;strong&gt;Global.asax&lt;/strong&gt; file must inherit from &lt;strong&gt;Sitecore.Web.Application&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@Application Language='C#' Inherits=&quot;Sitecore.Web.Application&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If using &lt;strong&gt;Global.asax.cs&lt;/strong&gt; instead, follow the same inheritance structure:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Global : Sitecore.Web.Application&#xA;{&#xA;    protected void Application_Start(object sender, EventArgs e)&#xA;    {&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For testing purposes it's helpful to reduce the session timeout in &lt;strong&gt;Web.config&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;InProc&quot; cookieless=&quot;false&quot; timeout=&quot;1&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I've found the Global.asax tip in an article on &lt;a href=&quot;https://sitecore-community.github.io/docs/sitecore-mvc/creating-project/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating a Visual Studio Project for Sitecore MVC&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-03-13T09:45:35.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4868" PostTypeId="1" CreationDate="2017-03-13T09:46:34.463" Score="3" ViewCount="124" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;The security settings for the current language prevent you from seeing this item&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;New users from the AD tries to reach the English version of the site, because their Default Content Language is set to &quot;Default&quot;. I want to set this to Swedish when the user is created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is how a new users &quot;Language Settings&quot; look.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ld2ge.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ld2ge.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want this to be set to Swedish, automatically, from the creation of the user. How can I achieve this? &lt;/p&gt;&#xA;" OwnerUserId="756" LastEditorUserId="756" LastEditDate="2017-03-13T10:04:31.070" LastActivityDate="2017-03-13T11:57:17.380" Title="Default language AD users 1.3 - Sitecore 8.2.u2" Tags="|user-profile|editor-user-permissions|user-management|active-directory-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4870" PostTypeId="1" AcceptedAnswerId="4875" CreationDate="2017-03-13T11:09:41.190" Score="0" ViewCount="4539" Body="&lt;p&gt;I'm using Sitecore 8.0 Update 5 and following &lt;a href=&quot;http://www.awareweb.com/awareblog/11-19-13-sitecoreregioncodes&quot; rel=&quot;nofollow noreferrer&quot;&gt;this document&lt;/a&gt; to change the language name in URL.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The current URL is like &lt;a href=&quot;http://mysite/fr-ca/products&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite/fr-ca/products&lt;/a&gt; and I want it to be &#xA;&lt;a href=&quot;http://mysite/fr/products&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite/fr/products&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MySite.Foundation.Common.Utilities&#xA;{&#xA;    public class SitecoreExtensions&#xA;    {&#xA;        public class MySiteLinkProvider : LinkProvider&#xA;        {&#xA;            public override string GetItemUrl(Item item, UrlOptions options)&#xA;            {&#xA;                options.LanguageEmbedding = LanguageEmbedding.Always;&#xA;                options.LanguageLocation = LanguageLocation.FilePath;&#xA;                var languageId = LanguageManager.GetLanguageItemId(item.Language, item.Database);&#xA;                var languageItem = item.Database.GetItem(languageId);&#xA;                var regionName = languageItem[&quot;Region Name&quot;] ?? &quot;&quot;;&#xA;                var returnUrl = base.GetItemUrl(item, options).ReplaceFirst(item.Language.Name, regionName);&#xA;                return returnUrl;&#xA;            }&#xA;        }&#xA;&#xA;&#xA;        public class MySiteHttpRequestProcessor : HttpRequestProcessor&#xA;        {&#xA;            public override void Process(HttpRequestArgs args)&#xA;            {&#xA;                Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;                // If Sitecore has already mapped the item, just return.&#xA;                if (Context.Item != null || Context.Database == null || args.Url.ItemPath.Length == 0) return;&#xA;&#xA;                foreach (var language in LanguageManager.GetLanguages(Context.Database))&#xA;                {&#xA;                    var languageId = LanguageManager.GetLanguageItemId(language, Context.Database);&#xA;                    var languageItem = Context.Database.GetItem(languageId);&#xA;                    var regionName = languageItem[&quot;Region Name&quot;] ?? &quot;&quot;;&#xA;&#xA;                    if (args.Url.ItemPath.StartsWith(&quot;/&quot; + regionName))&#xA;                    {&#xA;                        Context.SetLanguage(language, true);&#xA;                        Context.Item = ItemManager.GetItem(args.Url.ItemPath.ReplaceFirst(&quot;/&quot; + regionName, &quot;&quot;), language, Version.Latest, Context.Database);&#xA;                        break;&#xA;                    }&#xA;                }                &#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;web.config&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear /&amp;gt;&#xA;        &amp;lt;!--&amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;always&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; /&amp;gt;--&amp;gt;&#xA;        &amp;lt;add name=&quot;sitecore&quot; type=&quot;MySite.Foundation.Common.Utilities.SitecoreExtensions.MySiteLinkProvider, MySite.Foundation.Common&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;always&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;MySite.config in the include folder:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;     &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;       &amp;lt;processor type=&quot;MySite.Foundation.Common.Utilities.SitecoreExtensions.MySiteHttpRequestProcessor, MySite.Foundation.Common&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After publishing the project and browsing the page, it gives the error:  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not resolve type name:&#xA;  MySite.Foundation.Common.Utilities.SitecoreExtensions.MySiteLinkProvider,&#xA;  MySite.Foundation.Common (method:&#xA;  Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode,&#xA;  String[] parameters, Boolean assert)).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I commented the providers in web.config, and now the error in Sitecore client url is &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not resolve type name:&#xA;  MySite.Foundation.Common.Utilities.SitecoreExtensions.MySiteHttpRequestProcessor,&#xA;  MySite.Foundation.Common (method:&#xA;  Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode,&#xA;  String[] parameters, Boolean assert)).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is this the correct way to patch Handlers, providers or is there some other setting to be done prior to this.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-03-13T11:50:03.047" LastActivityDate="2017-03-13T13:49:16.367" Title="Error Could not resolve type name" Tags="|multilingual|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4871" PostTypeId="2" ParentId="4870" CreationDate="2017-03-13T11:50:30.877" Score="0" Body="&lt;p&gt;Two possibilities:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your assembly name is incorrect. As per your configuration, make sure it should be &lt;strong&gt;MySite.Foundation.Common.dll&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Confirm the assembly contains your classes using a Reflector.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="255" LastActivityDate="2017-03-13T11:50:30.877" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4872" PostTypeId="2" ParentId="4868" CreationDate="2017-03-13T11:57:17.380" Score="1" Body="&lt;p&gt;So I found that this was connected to a new config file that came with my upgrade to this version. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;/App_Config/Include/Sitecore.DefaultLanguage.config&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought this was related to the AD since it worked in the past. I already had changes done to the sitecore.config for&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ContentLanguage&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Language&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ClientLanguage&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was overwritten by the &lt;strong&gt;Sitecore.DefaultLanguage.config.&lt;/strong&gt;.&#xA;Make sure you disabled it by adding .disabled after config and it solved my problem.&lt;/p&gt;&#xA;" OwnerUserId="756" LastActivityDate="2017-03-13T11:57:17.380" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4873" PostTypeId="2" ParentId="4863" CreationDate="2017-03-13T12:06:26.163" Score="0" Body="&lt;p&gt;Storing such information directly in master DB is not a good idea. There are chances of being deadlocks when multiple users try to favorite same page at a time (or when saving the same item using multiple threads at same time).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xDB would be the best approach using custom Facets.&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2017-03-13T12:06:26.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4874" PostTypeId="2" ParentId="4870" CreationDate="2017-03-13T13:22:08.100" Score="1" Body="&lt;p&gt;It looks like you have patched it correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is most likely one of these reasons:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The project was renamed and the assembly still has the old name and therefore the reference is wrong&lt;/li&gt;&#xA;&lt;li&gt;You have supplied an incorrect namespace + class in the configuration (you examples looks correct though)&lt;/li&gt;&#xA;&lt;li&gt;The dll is not published together with the project.&lt;/li&gt;&#xA;&lt;li&gt;The dll is an old version which does not contain all code&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;First you need to double check that MySite.Foundation.Common.dll is present in the website bin folder.&#xA;If the dll is present and is named MySite.Foundation.Common.dll, then 2 of the options are exhausted and then must be either be a namespace + class mismatch or old dll.&#xA;You can use JetBrains DotPeek (for free) to reflect the dll to make sure it contains the needed code.&lt;/p&gt;&#xA;" OwnerUserId="1558" LastActivityDate="2017-03-13T13:22:08.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4875" PostTypeId="2" ParentId="4870" CreationDate="2017-03-13T13:49:16.367" Score="2" Body="&lt;p&gt;@gator is right, your class is nested.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to instantiate it, your config would need to look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;sitecore&quot;&#xA;     type=&quot;MySite.Foundation.Common.Utilities.SitecoreExtensions+MySiteLinkProvider, MySite.Foundation.Common&quot; &#xA;     addAspxExtension=&quot;false&quot; &#xA;     alwaysIncludeServerUrl=&quot;false&quot; &#xA;     encodeNames=&quot;true&quot; &#xA;     languageEmbedding=&quot;always&quot; &#xA;     languageLocation=&quot;filePath&quot; &#xA;     lowercaseUrls=&quot;false&quot; &#xA;     shortenUrls=&quot;true&quot; &#xA;     useDisplayName=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the &lt;code&gt;+&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-03-13T13:49:16.367" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4876" PostTypeId="2" ParentId="4863" CreationDate="2017-03-13T13:56:54.817" Score="4" Body="&lt;p&gt;I think your solution to create a new collection in mongodb is a very viable solution.&#xA;Then you can just query the collection to get the top 5 pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would &lt;strong&gt;not&lt;/strong&gt; recommend to put it in xDB as a custom facet because it would be &quot;difficult&quot; to get top 5 pages, as you would have to query every single contact to find the pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even Sitecore does not do it like this, they aggregate the data from mongodb to MSSQL and then index it for speedy access from their analytics Experience Analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to have other related data, then you should create the data in MSSQL instead, so you can harness the power of relational data (foreign-keys and so forth).&lt;/p&gt;&#xA;" OwnerUserId="1558" LastActivityDate="2017-03-13T13:56:54.817" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4877" PostTypeId="1" AcceptedAnswerId="4878" CreationDate="2017-03-13T14:15:06.363" Score="4" ViewCount="471" Body="&lt;p&gt;I am getting the following errors when running a pipeline batch using the &lt;em&gt;Sitecore Provider for Data Exchange Framework v1.3&lt;/em&gt; and using &lt;em&gt;Data Exchange Framework v1.3 rev 170206&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3/10/2017 9:46:28 PM    ERROR    Pipeline step processing will abort because mapping set failed. (pipeline step: Apply Mapping, mappings that succeeded: 0, mappings that failed: 2)&#xA;&#xA;3/10/2017 9:46:28 PM    ERROR    Pipeline step processing will abort because mapping set failed. (pipeline step: Apply Mapping, mappings that succeeded: 0, mappings that failed: 2)&#xA;&#xA;3/10/2017 9:46:28 PM    INFO    2 elements were iterated. (pipeline: Retrieve Resource Groups from Azure, pipeline step: Iterate Results from Azure and Run Pipeline)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the logs, I have more of the same followed by some messages telling me Sitecore item properties were skipped (they are pretty generic and not really worth the SSE real-estate).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that my items &lt;em&gt;are&lt;/em&gt; being created and with the correct names (as read from the external service), but their field values are blank. The pipeline batch that I'm running is configured to map single-language data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what could be causing this issue and how to resolve it? &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-04-13T13:26:13.770" Title="Getting errors in Apply Mapping Pipeline Step when running pipeline batch" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4878" PostTypeId="2" ParentId="4877" CreationDate="2017-03-13T14:15:06.363" Score="3" Body="&lt;p&gt;Check your &lt;em&gt;Sitecore Item Field Value Accessor Items&lt;/em&gt; (the Sitecore Provider items that you created to point at the Sitecore fields that the data should map to) to make sure that you have not set the &quot;Language&quot; field. This field should only be set for multi-language mappings, otherwise the errors in the OP will be logged. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g4pHX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g4pHX.png&quot; alt=&quot;Indicating &amp;quot;Language&amp;quot; field to be left blank&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I have filed a Sitecore Support ticket to report this issue as a bug. I will update this post if/when I get a response and/or reference number back. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; I filed a ticket with Sitecore Support and requested that they add some help text in the field's &quot;Title&quot; to help consumers avoid this issue. They got back to me and explained that the solution that I posted here was correct and that while this is the expected behavior adding the help text is a good idea and has been registered as a wish. They provided the reference number 154583 for the wish. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-04-13T13:26:13.770" LastActivityDate="2017-04-13T13:26:13.770" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4879" PostTypeId="2" ParentId="3982" CreationDate="2017-03-13T15:15:27.713" Score="5" Body="&lt;p&gt;You need to override for the &lt;code&gt;SendEmail&lt;/code&gt; method in the &lt;code&gt;processMessage&lt;/code&gt; pipeline (patched in  the &lt;code&gt;/App_config/Include/Sitecore.Forms.Config&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Form.Core.Pipelines.ProcessMessage;&#xA;using System.Net.Mail;&#xA;&#xA;namespace Arktouros&#xA;{&#xA;    public class PressMessageOverride&#xA;    {&#xA;        public void SendEmail(ProcessMessageArgs args)&#xA;        {&#xA;            SmtpClient smtpClient = new SmtpClient(args.Host);&#xA;            smtpClient.EnableSsl = args.EnableSsl;&#xA;            if (args.Port != 0)&#xA;            {&#xA;                smtpClient.Port = args.Port;&#xA;            }&#xA;            smtpClient.Credentials = args.Credentials;&#xA;            smtpClient.Send(this.GetMail(args));&#xA;        }&#xA;&#xA;        private MailMessage GetMail(ProcessMessageArgs args)&#xA;        {&#xA;            MailMessage mail = new MailMessage(args.From, args.To.ToString(), args.Subject.ToString(), args.Mail.ToString())&#xA;            {&#xA;                IsBodyHtml = args.IsBodyHtml&#xA;            };&#xA;            //your reply to goes here, set to be the from address of the form being submitted&#xA;            mail.ReplyToList.Add(new MailAddress(args.From));&#xA;&#xA;            if (args.CC.Length &amp;gt; 0)&#xA;            {&#xA;                mail.CC.Add(args.CC.ToString());&#xA;            }&#xA;            if (args.BCC.Length &amp;gt; 0)&#xA;            {&#xA;                mail.Bcc.Add(args.BCC.ToString());&#xA;            }&#xA;            args.Attachments.ForEach(delegate (Attachment attachment)&#xA;            {&#xA;                mail.Attachments.Add(attachment);&#xA;            });&#xA;            return mail;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then update the config file to point to your new class:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;replace: &#xA;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Form.Core.Pipelines.ProcessMessage.ProcessMessage, Sitecore.Forms.Core&quot; method=&quot;SendEmail&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;NamespaceOfYourClass, YourDLL&quot; method=&quot;SendEmail&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and away you go, for info this is not fully tested, but should work fine.&lt;/p&gt;&#xA;" OwnerUserId="1513" LastEditorUserId="982" LastEditDate="2017-03-13T15:59:35.167" LastActivityDate="2017-03-13T15:59:35.167" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4881" PostTypeId="1" CreationDate="2017-03-13T18:19:30.097" Score="4" ViewCount="465" Body="&lt;p&gt;As part of the performance improvements I've been working on for Experience Editor in Sitecore 8.1 I wanted to cache the Ribbon files. I followed the guidance here to put them into the browser cache using the manifest attribute (AppCache): &lt;a href=&quot;http://sitecorejourney.nileshthakkar.in/2015/09/speed-up-your-sitecore-experience.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecorejourney.nileshthakkar.in/2015/09/speed-up-your-sitecore-experience.html&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This involved adding the following to the  tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;html manifest=&quot;/sitecore/shell/client/Sitecore/ExperienceEditor/Html5AppCache.ashx&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However we saw some issues with this approach with 'Serious Error' being shown sometimes in Experience Editor. On further investigation it turns out that AppCache is now deprecated &lt;a href=&quot;http://caniuse.com/#search=manifest&quot; rel=&quot;noreferrer&quot;&gt;http://caniuse.com/#search=manifest&lt;/a&gt; and service workers are now recommended instead. However they don't have full browser support yet, Chrome and Firefox only so far with Edge bringing support soon: &lt;a href=&quot;http://caniuse.com/#search=service%20worker&quot; rel=&quot;noreferrer&quot;&gt;http://caniuse.com/#search=service%20worker&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone implemented Service Workers for the Experience Editor Ribbon files? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so did you see much benefit from this and any browser issues?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The AppCache implementation improved the page load of Experience Editor by an additional 1-1.5 seconds so I'm keen to see if I can implement a solution.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-03-13T18:30:27.897" LastActivityDate="2022-09-07T14:58:41.407" Title="Caching Experience Editor JS and CSS" Tags="|experience-editor|performance-optimization|performance|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4882" PostTypeId="1" CreationDate="2017-03-13T18:45:03.647" Score="7" ViewCount="996" Body="&lt;p&gt;I need to migrate the data from old non structured sitecore system into new helix based information architecture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So this is not exactly &quot;as is as&quot;migration of content tree.&#xA;We need to create new helix based information architecture and map the old content according and will import into the new system..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the existing system there are lots of unused and non structured content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the whole idea of this migration is to import the existing data into new structured based information architecture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions, past experience for the same work, challenges, advice,is  any tool available in the marketplace?&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2017-09-14T13:19:44.027" Title="Sitecore data migration strategy" Tags="|upgrade|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4883" PostTypeId="2" ParentId="4882" CreationDate="2017-03-13T19:11:37.157" Score="3" Body="&lt;p&gt;I am not aware of such tool or easy path to make this happen. Honestly this looks like a project of it's own. &#xA;The experience I had with it similar to your scenario, it turned out we had to rewrite the project following Helix as opposed of trying to use the existing solution. &#xA;If there is an easy way to do that I am not aware of.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-03-13T19:11:37.157" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4884" PostTypeId="2" ParentId="4882" CreationDate="2017-03-13T19:33:41.190" Score="2" Body="&lt;p&gt;You might want to try and look into Hedgehog's Razl tool. You can find it at this link &lt;a href=&quot;http://www.teamdevelopmentforsitecore.com/Razl&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.teamdevelopmentforsitecore.com/Razl&lt;/a&gt;. Other than that you might have to write a custom data import task to do it. I have had to do this when going from a non-Sitecore system to a Sitecore system. Also you might need the task to run more than once since the users could be updating the current site.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-03-13T19:33:41.190" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4885" PostTypeId="1" CreationDate="2017-03-13T19:51:41.697" Score="8" ViewCount="1935" Body="&lt;p&gt;Does anyone have a Frontend development/prototyping process/workflow that has proven to be effective and efficient?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have multiple sites running on Sitecore. We are also MVC based. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a Frontend developer, we use a Frontend toolkit that is used to Prototype the HTML, CSS, and JavaScript. This is built using Grunt Server and Node.js. This was built for us by a vendor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm having two issues with this toolkit. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Every time we brand the project, the FE Tool Kit needs to be reinstalled. It can’t be just copied over because the file paths are too long. &#xA;The install is problematic because the NPM does not consistently get and install the same module versions. So there is often, hours of troubleshooting Grunt server and build errors. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The development workflow is difficult in regards to how we work with the BackEnd developers. Currently, the flow is like this: Front End makes the HTML, CSS, Javascript. Hand off to BackEnd. BackEnd adds in all Sitecore functionality in the project (outside the FE Tool Kit). This is a problem because if the BackEnd developers make an HTML change to a file, it is not reflected back in the FE Tool Kit. Likewise, if a Front End Developer needs to make a simple change, it must be done in the FE Tool Kit then communicated to the BackEnd developer who must then integrate it with the current &lt;code&gt;.cshtml&lt;/code&gt; files. It’s a clunky process!&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Does anyone have a Frontend development/prototyping process/workflow that has proven to be effective and efficient?&lt;/p&gt;&#xA;" OwnerUserId="1675" LastEditorUserId="731" LastEditDate="2018-12-07T19:49:00.660" LastActivityDate="2018-12-07T19:49:00.660" Title="What's an efficient Frontend development process / workflow for Sitecore?" Tags="|mvc|best-practices|css|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4886" PostTypeId="2" ParentId="4885" CreationDate="2017-03-13T20:00:13.400" Score="0" Body="&lt;p&gt;I would suggest you to have a look at &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/getting_started_with_sxa/introducing_sitecore_experience_accelerator&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Experience Accelerator&lt;/a&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&lt;em&gt;SXA separates structure from design, so front-end designers, creative designers, content authors, and developers can work in parallel and you can deploy and maintain multiple sites quickly and cost effectively. Once a basic user experience plan is in place, everyone can get started on the platform. For example: the content author can start entering the content in the wireframe environment, while the front-end developer works on the theme, and the developer sets up the data templates&lt;/em&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This does help different teams to work in parallel. I would suggest you to review this link with further information&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-03-13T20:00:13.400" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4887" PostTypeId="2" ParentId="4882" CreationDate="2017-03-13T20:12:11.753" Score="1" Body="&lt;p&gt;There is the Sitecore Data Exchange Framework which allows you to import data from a source to a Sitecore Instance. Though, since you want to change the structure of the content tree where some items will be deleted and so on, I can see 3 options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Implementation of a custom tool which takes as input the old Sitecore instance and create the new items in the new Sitecore Helix based instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jVQGY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jVQGY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will create a mapper that will map the item from the old instance to the new one. Items that are not required are neglected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By making use of SQL to directly creating / updating the items from the Sitecore databases. But this is very risky as you will need to first understand how the databases are structured and used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Making use of Sitecore Packages. You can generate a Sitecore Package from the old instance, then modifies the project file and different paths found in the package. But this may be very difficult since the packages contains &lt;code&gt;Sitecore ID&lt;/code&gt; as path also&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will opt for &lt;strong&gt;option 1&lt;/strong&gt; because you will have more control on what you are doing. Also, it seems much easier to to implement the tool as you will already know which items are required and where you want it to be placed. Razl is not free and I am not sure whether it will help since it will allows you to compare databases but you will not be able to transfer an item to different location in the content tree.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-03-13T20:12:11.753" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4888" PostTypeId="1" CreationDate="2017-03-13T20:29:17.493" Score="0" ViewCount="438" Body="&lt;p&gt;We are using Sitecore 7.2 and Coveo for sitecore in our multilingual CMS website. Our sitecore really gets slow sometimes and we could also see deadlocks happening in our application logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Upon analysis, We could see that there are almost 300000 records getting added in our EventQueue table of Core database. Sitecore recommends to have less than 1000 rows in EventQueue table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Current CleanupEventQueue task is set to Run every 4 hours to remove the entries which are older than a day and so EventQueue table does not contain any entries older than a day. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We found that Property changed event is getting triggered for every coveo index last updated field change and due to this,a large number of row entries are added to the EventQueue table. This constitutes to almost 60% of the rows in the &#xA;EventQueue table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EventType :&#xA;Sitecore.Data.Eventing.Remote.PropertyChangedRemoteEvent, Sitecore.Kernel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We followed the sitecore recommendation based on the article &#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/930920&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/930920&lt;/a&gt; and added the required configs and library files. Even after adding the recommendation, we could not see the count of EventQueue rows getting reduced.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please let me know if I am missing something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Karthik&lt;/p&gt;&#xA;" OwnerUserId="696" LastEditorUserId="277" LastEditDate="2017-03-13T20:45:55.167" LastActivityDate="2017-03-13T20:53:52.617" Title="Excessive updates of the EventQueue table" Tags="|coveo|performance-optimization|event-queue|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4889" PostTypeId="2" ParentId="4888" CreationDate="2017-03-13T20:53:52.617" Score="1" Body="&lt;p&gt;Every time an index update operation occurs, an index update timestamp is written to the Property table of the core database. This is a known issue related to this behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This happens because Sitecore Content Search uses the Properties database table for storing instance specific search indexes metadata. For example, it stores the time of the last index update.&#xA;Each change to the Properties table leads to PropertyChangedRemoteEvent being recorded to the EventQueue table to notify other connected Sitecore instances to update their caching layer around the Properties table.&#xA;If the index updates are frequent enough, the aforementioned behavior may lead to excessive cache repopulation, and subsequent performance issues on both Content Management and Content Delivery servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As one of the options to address the issue, it is possible to implement the following solution:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Apply the patch from the &lt;a href=&quot;https://kb.sitecore.net/articles/623004&quot; rel=&quot;nofollow noreferrer&quot;&gt;Modification of the Properties table does not respect EventDisabler&lt;/a&gt; article.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Place the &lt;a href=&quot;https://kb.sitecore.net/~/media/E67E12B19DA24005B4950C7A97E62A05.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Support.417664.dll&lt;/a&gt; assembly to the /bin folder.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Place the Sitecore.Support.DatabasePropertyStore.417664.config  file to the /App_config/Include folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 7.0 - 7.2: &lt;a href=&quot;https://kb.sitecore.net/~/media/8EC681636C9C436E98FD87FFAE594606.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Support.DatabasePropertyStore.417664.config&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 7.5 and later: &lt;a href=&quot;https://kb.sitecore.net/~/media/8EC681636C9C436E98FD87FFAE594606.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Support.DatabasePropertyStore.417664.v2.config&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Patch details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because the information recorded by Sitecore Content Search using the Properties table is instance-specific, there may be no need in sharing the property change events among other Sitecore instances. The current patch uses EventDisabler to prevent excessive population of the EventQueue table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second solution you can find it here: &lt;a href=&quot;https://kb.sitecore.net/articles/930920&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/930920&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-03-13T20:53:52.617" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4890" PostTypeId="2" ParentId="4885" CreationDate="2017-03-13T21:51:41.357" Score="0" Body="&lt;p&gt;I would try and port the front end tool kit into a Visual Studio solution so it can sit along side your backend code. This way you won't have the disconnect between the two ways of working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing is you'll have to get your front enders using Visual Studio -the front end guys I work with don't have a problem with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can easily set up the grunt tasks to run in Visual studio to compile or your assets and publish them out to your Sitecore website. If take a look at Habitat - there's already some examples there-&lt;a href=&quot;https://github.com/Sitecore/Habitat&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also take a look at this blog on front end development with Sitecore -might be something useful to help with your work flow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://mattneil.co.uk/2016/02/29/sitecore-frontend-approach-quick-start-guide/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mattneil.co.uk/2016/02/29/sitecore-frontend-approach-quick-start-guide/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="222" LastActivityDate="2017-03-13T21:51:41.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4891" PostTypeId="2" ParentId="4885" CreationDate="2017-03-13T23:53:57.317" Score="3" Body="&lt;p&gt;I'll outline what we do as it's working quite well for us:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a Style Guide which is a simple page in Sitecore that lists all components available to content editors.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use Gulp with Yarn (avoids issues with versions you get with NPM) SASS (BEM Style), JavaScript and then HTML in our components (MVC views). Gulp handles pre-processing of the SASS and minifies the CSS and JS before deployment, plus a bunch of other things such as creating sprites from individual images. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The Style guide allows developers and content editors to see how components look and if changes are needed they can be made in the SASS files or MVC views and then seen on this page quickly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't build a front-end only version of the Site and then move this into Sitecore. In my experience this is asking for trouble as back-end and front-end developers need to work together to implement Sitecore compatible solutions to building the Site. Although we use MVC and you have a lot of control over the HTML and CSS/Js there are always some considerations/changes needed when working within a CMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the front-end code sits within the Solution in Visual Studio, organised on a per-site basis. We have created a build script that builds the site and front-end developers can run it without them needing to open up Visual Studio. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We also separate the deployment of the CSS/JS/Image files out into it's own Octopus package so we can deploy it separately to the code to our environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this gives you some ideas on a different approach.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-03-13T23:53:57.317" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4892" PostTypeId="2" ParentId="4415" CreationDate="2017-03-14T00:20:20.490" Score="1" Body="&lt;p&gt;We implemented our own login page with an HTTP module to protect the site. We enable this in each of our Site configs (so that we can have some running in QA only before they are live) this is implemented as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class QAModule : IHttpModule&#xA;    {&#xA;        public void Init(HttpApplication context)&#xA;        {&#xA;            context.BeginRequest += ProcessRequest;&#xA;        }&#xA;&#xA;        public void Dispose()&#xA;        {&#xA;            // part of the IHttpModule interface, no implementation required&#xA;        }&#xA;&#xA;        private static void ProcessRequest(object sender, EventArgs e)&#xA;        {&#xA;            var request = HttpContext.Current.Request;&#xA;            new SiteQARequestLogic(request, Redirect, SiteQAIsEnabled).Redirect();&#xA;        }&#xA;&#xA;        private static void Redirect(string url)&#xA;        {&#xA;            HttpContext.Current.Response.Redirect(url, false);&#xA;        }&#xA;&#xA;        private static bool SiteQAIsEnabled()&#xA;        {&#xA;            //get value from config here&#xA;        }&#xA;&#xA;        public class SiteQARequestLogic&#xA;        {&#xA;          //check paths and if cookie exists here and return if to re-direct or not (return: true/false)&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This a added like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;modules&amp;gt;&#xA;      &amp;lt;add name=&quot;SiteAuth&quot; type=&quot;My.Extensions.SiteQAModule, My.Extensions&quot; /&amp;gt;&#xA;    &amp;lt;/modules&amp;gt;&#xA;&amp;lt;system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We also have a login page that sets a cookie and the http module skips over this if the user is logged in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class SiteQALogin : System.Web.UI.Page&#xA;{&#xA;    protected void Page_Load(object sender, EventArgs e)&#xA;    {&#xA;&#xA;    }&#xA;&#xA;    protected void Login_Click(object sender, EventArgs e)&#xA;    {&#xA;        //check password and set cookie here if correct&#xA;    }&#xA;&#xA;    private static bool CheckPassword(string username, string password)&#xA;    {&#xA;        //check password here against config&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This allows us a lot more control over the logic of which pages are protected and which are not and on which sites.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-03-14T00:20:20.490" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4893" PostTypeId="2" ParentId="4837" CreationDate="2017-03-14T07:57:06.223" Score="0" Body="&lt;p&gt;I would recommend trying to force a correct url for the Renderer Url.&#xA;To do this create a new pipeline processor as below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MySolution.Initialize&#xA;{&#xA;    public class EXM&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            GlobalSettings.RendererUrl = Settings.GetSetting(&quot;EXM.RendererUrl&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then patch the pipeline processor &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;MySolution.Initialize.EXM, MySolution&quot;/&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will make sure you always are using a specific url to generate from.&lt;/p&gt;&#xA;" OwnerUserId="1558" LastActivityDate="2017-03-14T07:57:06.223" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4894" PostTypeId="1" AcceptedAnswerId="4895" CreationDate="2017-03-14T08:26:31.770" Score="3" ViewCount="681" Body="&lt;p&gt;We recently analyzed the Google crawling errors on our production system. We noticed a weird 500 Code for URLs &lt;code&gt;http://localSitecore/hu&lt;/code&gt; and &lt;code&gt;http://localSitecore/se&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So we tried to figure out where it came from, and eventually found out that it is already mapped in vanilla Sitecore. We tested 8.1 Update 2, 8.2 Initial Release and 8.2 Update 2. They all have that mapping. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we get rid of the mapping? Where is it coming from?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error that is thrown is,&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Example.GlassMapper.sitecore.templates.Example.Pages.IContentPageModel'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="364" LastEditorUserId="1682" LastEditDate="2017-03-14T16:48:44.280" LastActivityDate="2017-03-15T09:14:18.847" Title="Weird URL mapping for /hu and /se" Tags="|configuration|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4895" PostTypeId="2" ParentId="4894" CreationDate="2017-03-14T08:32:20.753" Score="8" Body="&lt;p&gt;This is Sitecore's default language mapping. It recognizes &lt;code&gt;hu&lt;/code&gt; as Hungarian and &lt;code&gt;se&lt;/code&gt; as Swedish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Happens in the &lt;code&gt;StripLanguage&lt;/code&gt; processor in the &lt;code&gt;&amp;lt;preprocessRequest&amp;gt;&lt;/code&gt; pipeline.  If you never need language embedding in the URL, you can disable it. Alternatively, define &lt;code&gt;languageEmbedding&lt;/code&gt; to be &lt;code&gt;never&lt;/code&gt; as options on your &lt;code&gt;LinkManager&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edited to add.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's also a setting that forces the hand of this processor, regardless of your LinkManager setting. Set it to &lt;code&gt;false&lt;/code&gt;, to disable the preprocessor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  LANGUAGES ALWAYS STRIP LANGUAGE&#xA;        This setting specifies if the StripLanguage processor in the &amp;lt;preprocessRequest&amp;gt; pipeline will parse and remove languages from&#xA;        the URL, even when the languageEmbedding attribute of the linkProvider is set to &quot;never&quot;. You should only change this setting &#xA;        to &quot;false&quot; if the default behavior causes problems in your solution.&#xA;        Default value: true &#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;Languages.AlwaysStripLanguage&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-03-14T08:37:37.060" LastActivityDate="2017-03-14T08:37:37.060" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4896" PostTypeId="2" ParentId="4894" CreationDate="2017-03-14T10:29:24.830" Score="1" Body="&lt;p&gt;Regarding the thrown error. Mike Edwards pointed out the underlying issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an issue with the view rendering pipeline where Glass will return null for a missing language, but Sitecore returns an object. Causing the Dictionary Error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Activate the excluded config &lt;strong&gt;z.Glass.Mapper.Sc.ViewRender.config.exclude&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.getRenderer&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.GetRenderer.GetViewRenderer, Sitecore.Mvc&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;&#xA;            Glass.Mapper.Sc.Mvc.Pipelines.Response.GetRenderer.GetViewRendererWithItemValidation, Glass.Mapper.Sc.Mvc&#xA;          &amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/mvc.getRenderer&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Use this class to override this behavior:&#xA;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc.Mvc/Pipelines/Response/GetRenderer/GetViewRenderWithItemValidation.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc.Mvc/Pipelines/Response/GetRenderer/GetViewRenderWithItemValidation.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using Sitecore.Mvc.Extensions;&#xA;using Sitecore.Mvc.Pipelines.Response.GetRenderer;&#xA;using Sitecore.Mvc.Presentation;&#xA;&#xA;namespace Glass.Mapper.Sc.Mvc.Pipelines.Response.GetRenderer&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// This class overrides Sitecores default view rendering. Sitecore by default will return a RenderingItem even&#xA;    /// it the target item does not exist.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class GetViewRendererWithItemValidation : GetViewRenderer&#xA;    {&#xA;        protected override Renderer GetRenderer(Rendering rendering, GetRendererArgs args)&#xA;        {&#xA;            var viewRenderer = base.GetRenderer(rendering, args) as ViewRenderer;&#xA;            if (viewRenderer == null)&#xA;                return null;&#xA;&#xA;            // Ignore item check when in page editor&#xA;            if (Utilities.IsPageEditor || Utilities.IsPageEditorEditing)&#xA;                return viewRenderer;&#xA;&#xA;            // Override renderer to null when there is an unpublished item refererenced by underlying view&#xA;            return viewRenderer.Rendering.Item != null &amp;amp;&amp;amp; viewRenderer.Rendering.RenderingItem.ValueOrDefault(i =&amp;gt; i.InnerItem) != null&#xA;                ? viewRenderer&#xA;                : null;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="364" LastEditorUserId="364" LastEditDate="2017-03-15T09:14:18.847" LastActivityDate="2017-03-15T09:14:18.847" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4897" PostTypeId="2" ParentId="4882" CreationDate="2017-03-14T11:13:41.713" Score="1" Body="&lt;p&gt;You may also use : &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable Sitecore Client Service or Sitecore Web Item API in your new Helix instance&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Install Sitecore powershell extension in your old&#xA;    sitecore instance. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Start creating item &amp;amp; manage content in Helix&#xA;    based instance by executing powershell script(in old instance) + enabling Sitecore Client Service or Sitecore Web Item API (in new instance).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;*P.S: if you have more knowledge in Powershell script, you can use this approach else, you can create an C# based API to do the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i have tried similar data migration using powershell extension :)&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-03-14T11:13:41.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4898" PostTypeId="1" AcceptedAnswerId="4899" CreationDate="2017-03-14T11:23:49.400" Score="5" ViewCount="137" Body="&lt;p&gt;I have Sitecore 8.2 site and i have configured EXM 3.4 as per EXM installation guide. In guide, there is step to configure the Email Delivery service in app center. But in App center, there is &quot;Email Delivery service 1.0 - 3.3&quot; so is it valid for EXM 3.4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please also let me, know how to configure Email Delivery service?&lt;/p&gt;&#xA;" OwnerUserId="1160" LastEditorUserId="2727" LastEditDate="2018-03-01T10:00:50.513" LastActivityDate="2018-03-01T10:00:50.513" Title="How to configure the &quot;message transfer agent&quot; for EXM 3.4" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4899" PostTypeId="2" ParentId="4898" CreationDate="2017-03-14T11:28:52.463" Score="5" Body="&lt;p&gt;You need a new subscription for EXM 3.4, the old one is not good. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find on EXM 3.4 documentation : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please be aware than when upgrading to EXM 3.4, a new subscription to the Sitecore Email Cloud is required. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This especially applies to existing subscribers of the Sitecore App Center product; Email Delivery. Email Delivery subscriptions will no longer be active in EXM 3.4 and you are no longer able to self-serve your subscription through the Sitecore App Center UI. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To ensure continuous service and for more information on how to migrate, how to subscribe and subscription pricing, please contact your local Sitecore representative immediately. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-03-14T11:28:52.463" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4900" PostTypeId="1" AcceptedAnswerId="4901" CreationDate="2017-03-14T11:43:55.173" Score="1" ViewCount="376" Body="&lt;p&gt;I know that I can reference a parent item with Glass Mapper, but I need to copy a specific field on my child because I need to facet on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to copy a field from my parent item on creation?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="423" LastEditDate="2017-08-08T14:18:37.740" LastActivityDate="2017-08-08T14:18:37.740" Title="Copy field from parent item on creation" Tags="|pipelines|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4901" PostTypeId="2" ParentId="4900" CreationDate="2017-03-14T11:47:48.753" Score="4" Body="&lt;p&gt;You can add your own handler to &lt;code&gt;item:created&lt;/code&gt; event and get the field value from parent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First register your handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;created&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;YourNameSpace.YourHandler, YourAssembly&quot; method=&quot;OnItemCreated&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace YourNamespace&#xA;{&#xA;    public class YourHandler&#xA;    {&#xA;        private static ID _childTemplateId = ID.Parse(&quot;YOUR_TEMPLATE_ID&quot;);&#xA;        private static ID _parentTemplateId = ID.Parse(&quot;YOUR_PARENT_TEMPLATE_ID&quot;);&#xA;        private const string FieldName = &quot;YOUR_FIELD_NAME&quot;;&#xA;&#xA;        public void OnItemCreated(object sender, EventArgs args)&#xA;        {&#xA;            try&#xA;            {&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    ItemCreatedEventArgs arg = Event.ExtractParameter(args, 0) as ItemCreatedEventArgs;&#xA;&#xA;                    if (arg == null || arg.Item == null || arg.Item.Parent == null)&#xA;                        return;&#xA;&#xA;                    var item = arg.Item;&#xA;                    var parent = arg.Item.Parent;&#xA;&#xA;                    if (item.TemplateID != _childTemplateId)&#xA;                        return;&#xA;&#xA;                    if (parent.TemplateID != _parentTemplateId)&#xA;                        return;&#xA;&#xA;                    if (item.Database.Name != &quot;master&quot;)&#xA;                        return;&#xA;&#xA;                    item.Editing.BeginEdit();&#xA;                    item[FieldName] = parent[FieldName];&#xA;                    item.Editing.EndEdit();&#xA;                }&#xA;            }&#xA;            catch (Exception exc)&#xA;            {&#xA;                Log.Error(&quot;Exception while copying field value from parent&quot;, exc);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-03-14T12:06:58.160" LastActivityDate="2017-03-14T12:06:58.160" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4902" PostTypeId="1" AcceptedAnswerId="4913" CreationDate="2017-03-14T12:12:23.460" Score="3" ViewCount="388" Body="&lt;p&gt;I have a piece of code to add a new Rule to an Item field&#xA; but i can't work out how to convert this back to XML, Can anyone point me in the right direction? :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The RuleFactory doesn't appear to offer anything but there must be something .. ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            var rulesField = item.Fields[ExtendedShippingProviderLookupValueFields.DisplayRulesFieldId];&#xA;&#xA;            RuleList&amp;lt;ShippingRuleContext&amp;gt; rules = RuleFactory.GetRules&amp;lt;ShippingRuleContext&amp;gt;(rulesField);&#xA;&#xA;            var newRule = new Rule&amp;lt;ShippingRuleContext&amp;gt;();&#xA;            newRule.Actions.Add(new HideShippingOption&amp;lt;ShippingRuleContext&amp;gt;());&#xA;            var condition = new ShippingCountryCondition&amp;lt;ShippingRuleContext&amp;gt;();&#xA;            condition.CountryCode = &quot;NZ&quot;;&#xA;            newRule.Condition = condition;&#xA;            rules.Add(newRule);&#xA;&#xA;            item[ExtendedShippingProviderLookupValueFields.DisplayRulesFieldId] = rules.ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried a simple serialization but that does not work either.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item[ExtendedShippingProviderLookupValueFields.DisplayRulesFieldId] = GetXML(rules);&#xA;&#xA;   private string GetXML(RuleList&amp;lt;ShippingRuleContext&amp;gt; rules)&#xA;    {&#xA;        XmlSerializer serializer = new XmlSerializer(typeof(RuleList&amp;lt;ShippingRuleContext&amp;gt;));&#xA;        var stream = new MemoryStream();&#xA;        var streamWriter = new StreamWriter(stream, System.Text.Encoding.UTF8);&#xA;        serializer.Serialize(streamWriter, rules);&#xA;        return Encoding.ASCII.GetString(stream.ToArray());&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore's interface generates XML in this format&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ruleset&amp;gt;  &#xA;  &amp;lt;rule uid=&quot;{01FC00E0-1F84-44D3-80BF-3D003137CEC3}&quot;&amp;gt;    &#xA;  &amp;lt;conditions&amp;gt;      &#xA;    &amp;lt;condition id=&quot;{F9878A36-9395-443B-9D7D-ACF721639757}&quot;              uid=&quot;B2B44316D8C248238399184DF1E2207F&quot; CountryCode=&quot;NZ&quot; /&amp;gt;    &#xA;    &amp;lt;/conditions&amp;gt;    &#xA;  &amp;lt;actions&amp;gt;      &#xA;    &amp;lt;action id=&quot;{F65EE2F1-3BB7-45D0-8B07-0CDEFDD097E6}&quot; uid=&quot;779A10F1CC4C4B79B4EE5C261C4BF83B&quot; /&amp;gt;    &#xA;  &amp;lt;/actions&amp;gt;  &#xA; &amp;lt;/rule&amp;gt;&#xA;&amp;lt;/ruleset&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The serialization of the objects generates this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;RuleListOfShippingRuleContext xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;     xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&amp;gt;&#xA;  &amp;lt;Name&amp;gt;/sitecore/content/Healthspan/Business Catalog/Shipping Providers/EURO COURIER&amp;lt;/Name&amp;gt;  &#xA;&amp;lt;/RuleListOfShippingRuleContext&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;so as you can see nothing like it!&#xA;I was hoping there would be a helper class like some of the other XML based field types but i've been unable to find one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For completeness this is my final code solution following Zachary's Direction&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            var ruleDef = new RulesDefinition(item[ExtendedShippingProviderLookupValueFields.DisplayRulesFieldId]);&#xA;&#xA;            Guid ruleGuid = Guid.NewGuid();&#xA;            var rule = ruleDef.AddRule(ruleGuid);&#xA;            var condition = ruleDef.AddCondition(ruleGuid,ID.Parse(&quot;{F9878A36-9395-443B-9D7D-ACF721639757}&quot;));&#xA;            XAttribute attribute = new XAttribute(&quot;CountryCode&quot;,&quot;NZ&quot;);&#xA;            condition.Add(attribute);&#xA;            var action = ruleDef.AddAction(ruleGuid, ID.Parse(&quot;{F65EE2F1-3BB7-45D0-8B07-0CDEFDD097E6}&quot;));&#xA;&#xA;            item[ExtendedShippingProviderLookupValueFields.DisplayRulesFieldId] = ruleDef.ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1683" LastEditorUserId="1683" LastEditDate="2017-03-15T09:29:29.437" LastActivityDate="2017-03-15T09:29:29.437" Title="Converting RuleList back to XML" Tags="|rules-engine|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4903" PostTypeId="1" AcceptedAnswerId="4904" CreationDate="2017-03-14T12:25:59.323" Score="1" ViewCount="1175" Body="&lt;p&gt;I am porting a Sheer UI dialog from a Sitecore 8 solution into a Sitecore 8.2 one (which also has SXA installed).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anything changed in Sitecore 8.2 regarding Sheer UI? (I know I &lt;em&gt;should&lt;/em&gt; be using SPEAK UI, but I want to get this working in Sheer UI before I start any conversion).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My solution has the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/layout/Layouts/Tools/My Dialog Layout&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the layout which references the Sheer UI xml control. The &lt;code&gt;Control&lt;/code&gt; field is set to the file name of the Xml control (minus the file extension) and the &lt;code&gt;Path&lt;/code&gt; is blank.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Applications/My Dialog&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the application (dialog) itself. This item references &quot;My Dialog Layout&quot; in the presentation details.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Documents and settings/All users/Start menu/Programs/My Dialog &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the start menu shortcut. The &lt;code&gt;Application&lt;/code&gt; field is set to link to &lt;code&gt;/sitecore/content/Applications/My Dialog&lt;/code&gt;. &lt;strong&gt;This does not appear in the start menu for some reason. I have also tried moving this under &lt;code&gt;/sitecore/content/Documents and settings/All users/Start menu/Right/Development Tools&lt;/code&gt; which also does not work.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons/Tools/My Dialog&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This uses the LaunchPad-Button template and has the &lt;code&gt;Link&lt;/code&gt; field set to &lt;code&gt;/sitecore/shell/Applications/My Dialog.aspx?sc_bw=1&lt;/code&gt;. This button &lt;em&gt;does&lt;/em&gt; appear in the Launch Pad page, but shows a blank page when rendered. No errors.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-03-14T14:05:53.177" Title="Sheer UI in Sitecore 8.2" Tags="|sheer-ui|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4904" PostTypeId="2" ParentId="4903" CreationDate="2017-03-14T14:05:53.177" Score="0" Body="&lt;p&gt;&lt;strong&gt;This is a non-issue.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During porting, I renamed the Sheer UI XML control&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems that the xml element beneath the root &lt;code&gt;&amp;lt;control&amp;gt;&lt;/code&gt; element must match the &lt;code&gt;Control&lt;/code&gt; field of the layout item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;  &amp;lt;control xmlns:def=&quot;Definition&quot; xmlns=&quot;http://schemas.sitecore.net/Visual-Studio-Intellisense&quot;&amp;gt;&#xA;    &amp;lt;SiteCopier&amp;gt; &amp;lt;!-- this element must match the &quot;Control&quot; field of the item under /sitecore/layout/Layouts/Tools/ --&amp;gt;&#xA;      &amp;lt;FormPage&amp;gt;&#xA;        &amp;lt;CodeBeside Type=&quot;Blah.blah, Blah&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-03-14T14:05:53.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4906" PostTypeId="1" CreationDate="2017-03-14T14:12:18.260" Score="0" ViewCount="79" Body="&lt;p&gt;Is there something out of the box to clear cache for Facebook share? &#xA;I have to clear the browser cache for the share dialog to take the latest updated content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there something in Sitecore that does this for me to make the facebook share easier? &lt;/p&gt;&#xA;" OwnerUserId="756" LastEditorUserId="3136" LastEditDate="2018-03-06T12:58:47.863" LastActivityDate="2018-03-06T12:58:47.863" Title="Facebook latest page content in the share dialog" Tags="|sitecore-client|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4907" PostTypeId="1" AcceptedAnswerId="4908" CreationDate="2017-03-14T14:52:26.707" Score="9" ViewCount="1524" Body="&lt;p&gt;Set up the habitat solution all nice and smooth. However when trying to run the gulp task to get unicorn to sync I get a bunch of errors like this in the &lt;code&gt;gulp&lt;/code&gt; output: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; error MSB4019: The imported project &#xA;&quot;C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets&quot; &#xA; was not found. Confirm that the path in the &amp;lt;Import&amp;gt; declaration is correct, and that the file exists on disk.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have vs 2017 running in stead of 15 and I installed MS build 2015 but still getting the same error. My question is there reference to MS build that needs to be amended to point to the right version? or is there something else missing? &lt;/p&gt;&#xA;" OwnerUserId="324" LastEditorUserId="247" LastEditDate="2017-04-16T16:48:44.730" LastActivityDate="2017-04-16T16:48:44.730" Title="Working on Habitat with VS 2017" Tags="|visual-studio|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4908" PostTypeId="2" ParentId="4907" CreationDate="2017-03-14T14:58:34.017" Score="10" Body="&lt;p&gt;You need to change 2 things to get the gulp script to use &lt;code&gt;v15.0&lt;/code&gt; tools for MSBuild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, in the &lt;code&gt;gulp.js&lt;/code&gt; file, you need to change everywhere you see this &lt;code&gt;toolsVersion: 14.0&lt;/code&gt; to &lt;code&gt;toolsVersion: 15.0&lt;/code&gt;. There are multiple places in the file to change it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you need to make sure that the &lt;code&gt;gulp-msbuild&lt;/code&gt; package is updated to the latest version to support build tools 15.0. In the &lt;code&gt;package.json&lt;/code&gt; file located in the root of the repo, change the line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;gulp-msbuild&quot;: &quot;0.2.13&quot;,&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;gulp-msbuild&quot;: &quot;0.4.4&quot;,&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then run &lt;code&gt;npm install&lt;/code&gt; from the command line to update the package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now it should be using the msbuild tools 15.0.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-03-14T14:58:34.017" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4909" PostTypeId="2" ParentId="4906" CreationDate="2017-03-14T15:00:46.220" Score="5" Body="&lt;p&gt;There is nothing OOTB built into Sitecore for this. To clear the Facebook cache you have 2 options:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Manual Cache Clear&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can manually clear the cache by going to the &lt;a href=&quot;https://developers.facebook.com/tools/debug/&quot; rel=&quot;noreferrer&quot;&gt;Facebook Debug Tool&lt;/a&gt; and enter the URL you want it to scrape. This forces Facebook to clear the cache and get the site data again.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Clear Via API&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can use the &lt;a href=&quot;https://developers.facebook.com/docs/sharing/opengraph/using-objects#update&quot; rel=&quot;noreferrer&quot;&gt;graph API&lt;/a&gt; from Facebook. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The API endpoint to clear it is: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;POST /?id={object-instance-id or object-url}&amp;amp;scrape=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The response from this endpoint will be a JSON object that contains all the information about the object that was scraped (the same data returned when the Object ID is read from the Graph API). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could create a ribbon bar button to call this API for the currently selected item in the content editor.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-03-14T15:00:46.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4910" PostTypeId="2" ParentId="4837" CreationDate="2017-03-14T16:16:24.423" Score="2" Body="&lt;p&gt;Dug in a little and came across &lt;a href=&quot;https://community.sitecore.net/developers/f/10/t/3721&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/10/t/3721&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Email Experience Manager 3.3.0 rev. 160527&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;It's look like a bug for multisite Sitecore environments. For&#xA;  generating url is called standard Sitecore method&#xA;  LinkManager.GetItemUrl, but EXM sends messages not in the main thread&#xA;  and do not have access to HttpContext, so property&#xA;  AlwaysIncludeServerUrl = false doesn't work and url always return&#xA;  server part from targetHostName in site definitions.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;As a result I've overridden HandleInternalLink pipeline)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Not sure if it has been fixed in the version you are using or if the second &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; node would be attributing to any of this.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately I was searching around to see if the difference in the &lt;code&gt;domain&lt;/code&gt; between scenario 1 and scenario 2 is flagging the first scenario as external and forcing the appending of the url.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: After digging in further (and the narrative around the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4837/linkmanager-returning-inconsistent-server-url/4910#4912&quot;&gt;other solutions&lt;/a&gt; in this post) there looks to possibly be a bug around the execution time of the &lt;code&gt;HandleInternalLinks&lt;/code&gt; with regards to the context providing the value for &lt;code&gt;AlwaysIncludeServerUrl&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-14T19:34:28.513" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4912" PostTypeId="2" ParentId="4837" CreationDate="2017-03-14T17:55:32.047" Score="7" Body="&lt;p&gt;Let me start by saying that I believe that this is a bug in Sitecore, and the results of our peer debugging session have strengthened that belief. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Solution/Workaround&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You should be able to work around this issue by adding an asterisk (&lt;code&gt;*&lt;/code&gt;) to the &lt;code&gt;hostName&lt;/code&gt; of the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definition node for your site, and leaving the &lt;code&gt;targetHostName&lt;/code&gt; blank, as you currently have it. For example, you could do: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site hostName=&quot;*brandname.local&quot; ... targetHostName=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What this is going to do is force the &lt;code&gt;LinkProvider.GetServerUrlElement(...)&lt;/code&gt; method to return a relative URL, as it will not have enough information to parse the actual server URL. The method is smart enough to recognize the asterisk in the &lt;code&gt;hostName&lt;/code&gt; and knows that it cannot strip it from or use the property's value. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Analyzing the Workaround and the Bug&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Note that this workround was found after an hour of mental variable substitution, which I did - at first - attempt to include here, but the post became far too long. I will leave it to you to do the variable substitution on your own, and will instead discuss specific parts of the substitution that are particularly critical to the solution and understanding the bugs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For starters, let's have a look at the below snippet, noting that I have added &quot;markers&quot; in comments to help identify different pieces of logic in our discussion:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Marker 1&#xA;if (!this.AlwaysIncludeServerUrl &amp;amp;&amp;amp; siteInfo.Name.Equals(str1, StringComparison.OrdinalIgnoreCase) &amp;amp;&amp;amp; hostName.Equals(str4, StringComparison.OrdinalIgnoreCase) || (string.IsNullOrEmpty(str4) || str4.IndexOf('*') &amp;gt;= 0))&#xA;    return str2;&#xA;string scheme = this.GetScheme();&#xA;StringComparison comparisonType = StringComparison.OrdinalIgnoreCase;&#xA;// Marker 2&#xA;if (str4.Equals(hostName, comparisonType) &amp;amp;&amp;amp; defaultValue == port &amp;amp;&amp;amp; str5.Equals(scheme, comparisonType))&#xA;    return str2;&#xA;// Marker 3&#xA;string str6 = str5 + &quot;://&quot; + str4;&#xA;// Marker 4&#xA;if (defaultValue &amp;gt; 0 &amp;amp;&amp;amp; defaultValue != 80)&#xA;    str6 = str6 + &quot;:&quot; + (object) defaultValue;&#xA;return str6;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Reverse Engineering&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The OP gives us a pretty good amount of information with which to debug this issue, including giving us the exit points for each scenario. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Scenario 2&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Scenario 2 works correctly, and returns inside the conditional at &lt;code&gt;Marker 2&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Marker 2&#xA;if (str4.Equals(hostName, comparisonType) &amp;amp;&amp;amp; defaultValue == port &amp;amp;&amp;amp; str5.Equals(scheme, comparisonType))&#xA;  return str2;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The returned value is stored in the variable &lt;code&gt;str2&lt;/code&gt; which means, since we are looking for a relative URL - which Scenario 2 has - and a relative URL should have an empty string for a server URL, that &lt;code&gt;str2&lt;/code&gt; is equal to &lt;code&gt;string.Empty&lt;/code&gt;. We can validate this by looking up in the method and seeing that the following line is used to set &lt;code&gt;str2&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string str2 = this.AlwaysIncludeServerUrl ? WebUtil.GetServerUrl() : string.Empty&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since we know that &lt;code&gt;AlwaysIncludeServerUrl&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt; and the value of &lt;code&gt;str2&lt;/code&gt; is never modified so long as &lt;code&gt;AlwaysIncludeServerUrl&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt;, we know that with or without the workaround &lt;code&gt;str2&lt;/code&gt; holds the value we want to return.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given the above and what we know from the OP, we can conclude that all of the following are true before getting to &lt;code&gt;Marker 2&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// returned value&#xA;str2 == string.Empty&#xA;&#xA;// required based on AND logic&#xA;str4 == hostName&#xA;defaultValue == port&#xA;str5 == scheme&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Scenario 1&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Let's now have a look over at Scenario 1, which returns after &lt;code&gt;Marker 4&lt;/code&gt;. The first thing we will do is have a look at &lt;code&gt;Marker 3&lt;/code&gt;, where the variable with th return value is initialized, and the conditional at &lt;code&gt;Marker 4&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Marker 3&#xA;string str6 = str5 + &quot;://&quot; + str4;&#xA;// Marker 4&#xA;if (defaultValue &amp;gt; 0 &amp;amp;&amp;amp; defaultValue != 80)&#xA;    str6 = str6 + &quot;:&quot; + (object) defaultValue;&#xA;return str6;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Looking at the returned value in the OP, &lt;code&gt;://brandname.local&lt;/code&gt;, and the fact that we know that &lt;code&gt;str6&lt;/code&gt; holds the returned value, we can conclude that all of the following are true before &lt;code&gt;Marker 3&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// nothing before the &quot;://&quot; in the returned value&#xA;str5 == string.Empty   &#xA;&#xA;// value after the &quot;://&quot; in the URL             &#xA;str4 == &quot;brandname.local&quot; &#xA;&#xA;// there is no port number appended to the returned value&#xA;defaultValue &amp;lt;= 0 || defaultValue == 80&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Looking at the Rest of the Method:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Just looking at what we have analyzed from the exit points of Scenario 1 and Scenario 2, we do not yet have enough information to find the workaround. Have a look at the conditional at &lt;code&gt;Marker 1&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Marker 1&#xA;if (!this.AlwaysIncludeServerUrl &amp;amp;&amp;amp; siteInfo.Name.Equals(str1, StringComparison.OrdinalIgnoreCase) &amp;amp;&amp;amp; hostName.Equals(str4, StringComparison.OrdinalIgnoreCase) || (string.IsNullOrEmpty(str4) || str4.IndexOf('*') &amp;gt;= 0))&#xA;    return str2;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that for both scenarios, this condition evaluated to &lt;code&gt;false&lt;/code&gt;. Thus, we know that the following is false: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;!this.AlwaysIncludeServerUrl &amp;amp;&amp;amp; &#xA;    siteInfo.Name.Equals(str1, StringComparison.OrdinalIgnoreCase) &amp;amp;&amp;amp; &#xA;    hostName.Equals(str4, StringComparison.OrdinalIgnoreCase) || &#xA;    (string.IsNullOrEmpty(str4) || str4.IndexOf('*') &amp;gt;= 0)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Substituting in what we know from the OP and what we have learned so far, we get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;!(false) &amp;amp;&amp;amp; &#xA;    siteInfo.Name.Equals(str1, StringComparison.OrdinalIgnoreCase) &amp;amp;&amp;amp; &#xA;    hostName.Equals(str4, StringComparison.OrdinalIgnoreCase) ||&#xA;    (string.IsNullOrEmpty(str4) || str4.IndexOf('*') &amp;gt;= 0)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If we look at the logic that actually sets &lt;code&gt;str4&lt;/code&gt;, we can see that it is set to the return of the &lt;code&gt;GetTargetHostName(...)&lt;/code&gt; method, unless that value is null or empty, in which case it falls back to the &lt;code&gt;hostName&lt;/code&gt; variable, which is the result of the &lt;code&gt;GetHostName()&lt;/code&gt; method, which encapsulates the &lt;code&gt;WebUtil.GetHostName()&lt;/code&gt; method. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a look at the &lt;code&gt;GetTargetHostName(...)&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  protected virtual string GetTargetHostName(SiteInfo siteInfo)&#xA;  {&#xA;    Assert.ArgumentNotNull((object) siteInfo, &quot;siteInfo&quot;);&#xA;    if (!siteInfo.TargetHostName.IsNullOrEmpty())&#xA;      return siteInfo.TargetHostName;&#xA;    string hostName = siteInfo.HostName;&#xA;    if (hostName.IndexOfAny(new char[2]{ '*', '|' }) &amp;lt; 0)&#xA;      return hostName;&#xA;    return string.Empty;&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here, we can see that if &lt;code&gt;siteInfo.TargetHostName&lt;/code&gt; value is an empty string, which we know to be the case from the OP, then the &lt;code&gt;hostName&lt;/code&gt; is returned so long as it doesn't contain an asterisk or a pipe (&lt;code&gt;|&lt;/code&gt;). Otherwise, an empty string is returned. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Accounting for EXM Email Execution: The Bug and the Workaround&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Before reading this section, note that when I first deduced the workaround, I did so by making and then proving/disproving assumptions, in order to &quot;unit test&quot; the method by hand. After doing so and presenting the solution to the OP, we worked together to debug and confirm the hypothesis and identify which assumption case was correct.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When EXM sends out emails it does so without a request context. As such. &lt;code&gt;HttpContext.Current.Request&lt;/code&gt; is not set, so the return value of the &lt;code&gt;GetHostName()&lt;/code&gt; method will be an empty string. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is where the logic bug starts to become apparent: the &lt;code&gt;siteInfo.TargetHostName&lt;/code&gt; falls back to the &lt;code&gt;siteInfo.HostName&lt;/code&gt; so long as it doesn't contain an asterisk, and the result falls back to the &lt;code&gt;HttpContext.Current.Request.Url.Host&lt;/code&gt;, which we know to be empty in our execution, since we are executing via EXM.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look back at the &lt;code&gt;Marker 1&lt;/code&gt; condition that we substituted in the previous section, we can reduce the condition to the following: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;siteInfo.Name.Equals(str1, StringComparison.OrdinalIgnoreCase) &amp;amp;&amp;amp; &#xA;    hostName.Equals(str4, StringComparison.OrdinalIgnoreCase) ||&#xA;    (string.IsNullOrEmpty(str4) || str4.IndexOf('*') &amp;gt;= 0)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Substituting in for simpler variables, we can equate this to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;A &amp;amp;&amp;amp; B || (C || D)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which reduces, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;A &amp;amp;&amp;amp; B || C || D&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and if we set &lt;code&gt;foo = A &amp;amp;&amp;amp; B&lt;/code&gt; and substitute back in for &lt;code&gt;C&lt;/code&gt; and &lt;code&gt;D&lt;/code&gt; we get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foo &amp;amp;&amp;amp; string.IsNullOrEmpty(str4) || str4.IndexOf('*') &amp;gt;= 0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Workaround:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So long as one of the last two expressions is true, it doesn't matter what &lt;code&gt;foo&lt;/code&gt; is. Looking back at the &lt;code&gt;GetTargetHostName(...)&lt;/code&gt; method, &lt;code&gt;str4&lt;/code&gt; should never be set to the &lt;code&gt;siteInfo.HostName&lt;/code&gt; if &lt;code&gt;siteInfo.HostName&lt;/code&gt; contains an asterisk, and so - since an asterisk is invalid in a URL's hostname and thus cannot come from the &lt;code&gt;Request.Url.Host&lt;/code&gt; (whether or not there is a request context) - unless an asterisk is mistakenly put into the &lt;code&gt;siteInfo.TargetHostName&lt;/code&gt; expression &lt;code&gt;D&lt;/code&gt; can never be true. This leaves us with expression &lt;code&gt;C&lt;/code&gt;. We can ensure that &lt;code&gt;str4&lt;/code&gt; is null or empty, by simply adding an asterisk or a pipe to the &lt;code&gt;siteInfo.HostName&lt;/code&gt;, since there is no request context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Bug:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &#xA;problem here is that the &lt;code&gt;LinkProvider.GetServerUrlElement(...)&lt;/code&gt; method does not correctly account for the possibility that the &lt;code&gt;HttpContext&lt;/code&gt; could be unavailable. Since this is the case when EXM runs, the &lt;code&gt;LinkProvider.GetServerUrlElement(...)&lt;/code&gt; method does not work correctly during EXM email dispatch.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Caveats of the Workaround&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The bit caveat with this workaround is that it requires that you do not set the &lt;code&gt;siteInfo.TargetHostName&lt;/code&gt; and that you add an asterisk to the &lt;code&gt;hostName&lt;/code&gt;. This means that Sitecore will not be able to generate absolute URLs for any links, unless the code that is generating them has access to the &lt;code&gt;HttpContext&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, if the site is a multi-site and the code generating the links is supposed to generate them for a &lt;em&gt;different&lt;/em&gt; &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; from the current request then the links will be generated for the wrong site. For example, if you are generating a link to the page &lt;code&gt;http://foo.com/some/page&lt;/code&gt; and you are making the request from the URL &lt;code&gt;http://bar.com&lt;/code&gt; then the resulting link would be &lt;code&gt;http://bar.com/some/page&lt;/code&gt; instead of the expected value &lt;code&gt;http://foo.com/some/page&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As such if any of the following are true then this workaround may not work for you:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Your site is a multi-site and you sometimes generate links for one site on another (as in the example)&lt;/li&gt;&#xA;&lt;li&gt;Your site generates sitemaps using the &lt;code&gt;siteInfo.TargetHostName&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Your site generates absolute links using &lt;code&gt;siteInfo.TargetHostName&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Note that you can still work around these caveats using custom processors, like the &lt;code&gt;HandleInternalLink&lt;/code&gt; processor, or other logic in your code. However, there is no catch-all solution that will handle these caveats or the solution without extending and overriding the native &lt;code&gt;LinkProvider&lt;/code&gt; (see the &quot;Alternative Solution&quot;). Unless you decide that you are going to extend and override the native &lt;code&gt;LinkProvider&lt;/code&gt;, I do not recommend adding such code as it will basically be a band-aid on a hemorrhage, and Sitecore Support should be able to provide you with the URL. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Next Steps: Sitecore Support&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Regardless of whether or not this workaround works for you, it should be only temporary. Reach out to Sitecore Support with the issue details and have them provide you with a patch for the &lt;code&gt;LinkProvider&lt;/code&gt;, which you can use as a more permanent solution. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Alternative Solution in Concept&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can create your own &lt;code&gt;LinkProvider&lt;/code&gt; to override the Sitecore one, allowing you to fix the bug in the code, directly, without having to deal with the caveats that I described. This is a good bit more involved than it was in previous versions, and I have not tried it myself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore now registers the &lt;code&gt;LinkProvider&lt;/code&gt; using the DI container included with Sitecore. In order to replace it with your own implementation, you will need to add a new &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; processor after the native &lt;code&gt;LinkProvider&lt;/code&gt; is registered with the container, remove the native &lt;code&gt;LinkProvider&lt;/code&gt; registration in your processor and then register your own. This would be the better solution, but it is still a bit black-box to me, as I have been having trouble finding the processor in which the native &lt;code&gt;LinkProvider&lt;/code&gt; is registered. Given that, I have listed it only as an alternative solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even if you do choose to implement this solution, I still recommend that you reach out to Sitecore Support for a patch to serve as a more permanent solution.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-14T18:04:00.197" LastActivityDate="2017-03-14T18:04:00.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4913" PostTypeId="2" ParentId="4902" CreationDate="2017-03-14T18:31:29.217" Score="3" Body="&lt;h2&gt;The Short Answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The short answer is that you can't convert a &lt;code&gt;RuleList&amp;lt;T&amp;gt;&lt;/code&gt; back to XML, in Sitecore, using the Sitecore API. However, there is a class, the &lt;code&gt;Sitecore.Rules.RuleDefinition&lt;/code&gt; class, that you can use to manipulate Rule XML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If what you really want to do is convert a &lt;code&gt;RuleList&amp;lt;T&amp;gt;&lt;/code&gt; back to XML then you &lt;em&gt;could&lt;/em&gt; reverse engineer the &lt;code&gt;Sitecore.Rules.DefaultRuleFactory&lt;/code&gt; class' methods, starting with &lt;code&gt;GetRule&amp;lt;T&amp;gt;(Database, XElement)&lt;/code&gt;. You would then have to reverse engineer each of the other methods in the class that are called from the &lt;code&gt;GetRule&amp;lt;T&amp;gt;&lt;/code&gt; method's call stack (which is pretty much all of them). IMHO, reverse engineering the &lt;code&gt;DefaultRuleFactory&lt;/code&gt; class' methods would be frowned upon and inadvisable, not to mention the fact that you would be taking on a lot of excess risk and responsibility. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Using the &lt;code&gt;RuleDefinition&lt;/code&gt; Class to Manipulate Rules and Rule XML&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;What I believe you are looking for is the &lt;code&gt;Sitecore.Rules.RuleDefinition&lt;/code&gt; class. It's not &lt;em&gt;exactly&lt;/em&gt; what you are looking for, but it is the closest thing to it that you will find. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Using the &lt;code&gt;RuleDefinition&lt;/code&gt; Class&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Sitecore uses the &lt;code&gt;RuleDefinition&lt;/code&gt; class to manage the XML manipulation of the XML for Rules. Based on the OP and your comments, what you would like to do in code is take any rules that have been created on a Rule field, add in a new rule and save it to the field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you would do is something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var ruleDef = new RuleDefinition(item[&quot;MyRulesField&quot;]);&#xA;&#xA;// manipulate the RuleDefinition using one of its methods, e.g:&#xA;ruleDef.AddRule(...)&#xA;ruleDef.AddAction(...)&#xA;ruleDef.AddCondition(...)&#xA;ruleDef.Move(...)&#xA;ruleDef.MoveRule(...)&#xA;ruleDef.RemoveAction(...)&#xA;ruleDef.RemoveCondition(...)&#xA;ruleDef.RemoveRule(...)&#xA;...and dozens more...&#xA;&#xA;var xml = ruleDef.ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are many other methods than those I listed and most of the methods on that class (including the ones I listed) have several overloads for you to use. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Implications from the API&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The Sitecore API doesn't actually provide a way to take a &lt;code&gt;RuleList&amp;lt;T&amp;gt;&lt;/code&gt; and convert it back into &lt;code&gt;XML&lt;/code&gt;. Given the existence and use of the &lt;code&gt;RuleDefinition&lt;/code&gt; class, the implication is that developers should not be retrieving and parsing a &lt;code&gt;RuleList&amp;lt;T&amp;gt;&lt;/code&gt; and then converting that back into XML. Even the Sitecore Client doesn't work this way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, developers should start with the XML - the raw rule field value - and then use the API to add/remove/manipulate rules, conditions and actions from that XML value. Once complete, the resulting XML value should be retrieved by calling &lt;code&gt;RuleDefinition.ToString()&lt;/code&gt; method, which returns a &lt;code&gt;string&lt;/code&gt; XML value that can be saved back to the field.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Summing up&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Without knowing the specifics of what and how you are trying to manipulate your rule, I simply cannot point you to a more specific method. However, I think that this should point you in the right direction and give you a pretty good head start. Even if you have to rewrite some of your current implementation to accommodate this, IMHO this is the only feasible option as far as manipulating Rule XML goes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good luck!&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-14T19:00:10.263" LastActivityDate="2017-03-14T19:00:10.263" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4914" PostTypeId="1" AcceptedAnswerId="4917" CreationDate="2017-03-14T21:23:18.090" Score="5" ViewCount="544" Body="&lt;p&gt;We need to rebuild our reporting database with over a year of data and don't want it to take a week to finish so we want to optimize this process. We currently have a standalone processing server for aggregation but want to set up multiple ones and increase the max aggregation threads from 1 to 4 on each server. In the documentation for rebuilding the database here - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;Walkthrough: Rebuilding the reporting database&lt;/a&gt;&#xA;it says on step 5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are configuring a dedicated server...{do stuff}...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it doesn't say how to configure it if you have multiple servers for processing/aggregation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the right settings for the &lt;code&gt;App_Config/Include/Sitecore.Analytics.Processing.Aggregation.ProcessingPools.config&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1664" LastEditorUserId="172" LastEditDate="2017-03-15T22:01:48.380" LastActivityDate="2017-07-13T16:35:54.707" Title="Rebuilding Reporting DB with multiple processing servers" Tags="|xdb|reporting|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4915" PostTypeId="2" ParentId="4914" CreationDate="2017-03-14T22:14:08.723" Score="1" Body="&lt;p&gt;The Sitecore &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation page&lt;/a&gt; that you linked to actually does apply to situations where you have multiple, dedicated Processing servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think what you are getting confused by is the &lt;code&gt;singleInstance=&quot;true&quot;&lt;/code&gt; property of the &lt;code&gt;&amp;lt;history&amp;gt;&lt;/code&gt; node, as seen below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;history type=&quot;Sitecore.Analytics.Data.MongoDb.ProcessingPool.MongoDbProcessingPool, &#xA;  Sitecore.Analytics.MongoDb&quot; singleInstance=&quot;true&quot; &amp;gt;&#xA;  &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;tracking.history&amp;lt;/param&amp;gt;&#xA;  &amp;lt;Name&amp;gt;history&amp;lt;/Name&amp;gt;&#xA;  &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&#xA;&amp;lt;/history&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This property is actually not what you think: it is used to tell &lt;code&gt;Sitecore.Configuration.Factory&lt;/code&gt; that when it creates the instance of the specified type, it should create the instance as a Singleton, and  thatall subsequent calls to create an instance of this type should use the existing Singleton instance.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-14T22:19:29.163" LastActivityDate="2017-03-14T22:19:29.163" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4916" PostTypeId="1" CreationDate="2017-03-14T22:24:39.580" Score="5" ViewCount="2313" Body="&lt;h1&gt;Background&lt;/h1&gt;&#xA;&lt;p&gt;So long story short. We all know and use (right?) the established Sitecore Best Practice for not modifying vanilla configuration files. We use &lt;code&gt;config patches&lt;/code&gt; (or &lt;code&gt;config overrides&lt;/code&gt;, as some call them) to add new settings and patch existing ones.&lt;/p&gt;&#xA;&lt;p&gt;Just so there is no misunderstanding here; this is the type of setting I'm talking about:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;AllowDuplicateItemNamesOnSameLevel&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;These all sit under the &lt;code&gt;&amp;lt;sitecore&amp;gt;&amp;lt;settings&amp;gt;&lt;/code&gt; element and is therefore under the control of the Sitecore Configuration Factory and can thus be patched by config include files that Sitecore loads up dynamically when the factory initialises.&lt;/p&gt;&#xA;&lt;h1&gt;The problem&lt;/h1&gt;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Configuration.Settings&lt;/code&gt; is &lt;code&gt;sealed&lt;/code&gt; and &lt;code&gt;GetSetting()&lt;/code&gt; is a &lt;code&gt;public static&lt;/code&gt;.  So there, our challenge is laid out before us.&lt;/p&gt;&#xA;&lt;p&gt;What I would like to achieve is a way, so these defined settings (patched or vanilla) would get &amp;quot;overruled&amp;quot; if a similarly named setting had been defined by a regular &lt;code&gt;&amp;lt;appSettings&amp;gt;&lt;/code&gt; value. And I would like this to be injected in, somehow - shielded from the rest of the application.&lt;/p&gt;&#xA;&lt;h1&gt;The significance of &lt;code&gt;&amp;lt;appSettings&amp;gt;&lt;/code&gt;&lt;/h1&gt;&#xA;&lt;p&gt;The reason for this, I should add, is Azure. And for running Sitecore on &lt;code&gt;Azure PaaS&lt;/code&gt;. As you may or may not be aware, any WebApp running on Azure can have instance/slot specific configuration settings defined in the Azure Portal. It looks like this.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pw0ip.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pw0ip.png&quot; alt=&quot;Settings on Azure Portal&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;These settings will override any &lt;code&gt;&amp;lt;appSettings&amp;gt;&lt;/code&gt; defined in your web.config, and the connection strings will do the same. But it only works for this; not for the Sitecore flavoured settings.&lt;/p&gt;&#xA;&lt;p&gt;Now I'm not saying &lt;em&gt;all&lt;/em&gt; settings should be pushed to the portal. But some, definitely make sense. Any server-to-server connection settings, service bus connection strings, mail servers and so on.&lt;/p&gt;&#xA;&lt;h1&gt;My progress so far&lt;/h1&gt;&#xA;&lt;p&gt;So to try and implement this; I've done what I must. I've opened up dotPeek and taken a look around ;-)&lt;/p&gt;&#xA;&lt;p&gt;The real work is done in a &lt;code&gt;private static GetWebSettings()&lt;/code&gt; method. In short, it maintains an internal &lt;code&gt;Hashtable&lt;/code&gt; for all settings, and will loop through all &lt;code&gt;settings/setting&lt;/code&gt; XML elements for settings and values. Given that it's a &lt;code&gt;private static&lt;/code&gt;, the only way to override it would be some form of method replacement via reflection. While possible, it's not the prettiest of approaches and I'd rather avoid it.&lt;/p&gt;&#xA;&lt;p&gt;So the question is; where would be the best (err.. least likely to break/cleanest/least invasive) place to inject code that would allow these settings to be overridden by Azure?  I haven't written that code yet, but something to the effect of this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var setting = GetSettingFromSitecore(settingName);&#xA;if (Azure.Settings[settingName])&#xA;    setting = Azure.Settings[settingName];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-07-26T05:56:17.687" Title="Optionally Overriding Sitecore Settings with AppSettings (from Azure)" Tags="|configuration|azure|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4917" PostTypeId="2" ParentId="4914" CreationDate="2017-03-14T22:44:29.423" Score="1" Body="&lt;p&gt;In the documentation for &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_processing_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configuring a Sitecore Processing server&lt;/a&gt; it's mentioned that,&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You can configure a processing server in much the same way as you configure a content delivery or content management server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Basically, you need to review settings which identify the Instance uniquely which helps in EventQueue and similar stuff when setting up a cluster of Sitecore servers pointing to same SQL database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One such setting which I know already is &lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot; value=&quot;&quot; /&amp;gt;&lt;/code&gt;. The default value of this setting is empty so Sitecore will take Computer Name when the value is empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, few not to miss recommendations from above link - when setting up a cluster of Processing servers.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Setup &lt;code&gt;Application initialization&lt;/code&gt; or the appropriate module (IIS 7.5), so you can successfully start Sitecore after you recycle the application pool. If you do not do this, Sitecore will not be launched and its application pool may shut down due to inactivity.&lt;/li&gt;&#xA;&lt;li&gt;Synchronize all servers to a single reliable time source for example &lt;code&gt;Network Time Protocol (NTP)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: For correct settings for &lt;code&gt;processing or aggregation&lt;/code&gt; instances or for &lt;code&gt;Sitecore.Analytics.Processing.Aggregation.ProcessingPools.config&lt;/code&gt;, you can download the correct excel files, which goes with your Sitecore version, from here - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_processing_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure a processing server&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it helps, to make your task easy there are some PowerShell scripts to configure server role (like cd, cm, processing, aggregation, reporting, etc) i.e. enabling/disabling &lt;code&gt;.config&lt;/code&gt; files posted on this SSO question &lt;a href=&quot;https://sitecore.stackexchange.com/q/360/172&quot;&gt;here&lt;/a&gt;. However configuring settings within a &lt;code&gt;.config&lt;/code&gt; file is a manual effort in my knowledge.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2017-07-13T16:35:54.707" LastActivityDate="2017-07-13T16:35:54.707" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4919" PostTypeId="2" ParentId="4916" CreationDate="2017-03-14T23:59:36.953" Score="2" Body="&lt;p&gt;Let me start off by saying that I'm not happy with either of the options that I came up with, but I'm not sure how else you'd do it, so I thought I would at least get them recorded. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first thing that I had thought of for this was to patch in your settings after the &lt;code&gt;ConfigReader&lt;/code&gt; finishes patching in everything else, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ConfigReader : Sitecore.Configuration.ConfigReader&#xA;{&#xA;    protected override void LoadAutoIncludeFiles(XmlNode element)&#xA;    {&#xA;        // patch in files like normal, first&#xA;        base.LoadAutoIncludeFiles(element);&#xA;&#xA;        // patch in your settings, here&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is that your &lt;code&gt;&amp;lt;appSettings&amp;gt;&lt;/code&gt; aren't stored in Sitecore config patch files, presenting a bit of a challenge with regards to patching. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This leaves us with two options: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Write the XML for the settings programmatically and patch it in using your extended &lt;code&gt;ConfigReader&lt;/code&gt; (above) and an extended &lt;code&gt;ConfigPatcher&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;For each of your &lt;code&gt;&amp;lt;appSettings&amp;gt;&lt;/code&gt;, create a new &lt;code&gt;SettingsSwitcher&lt;/code&gt; instance, effectively overriding the setting in the config&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Neither of these options are super pretty, but let's have a closer look at their pros and cons:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Option 1: Writing the XML for and Patching Each appSetting&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Since you already have an overridden &lt;code&gt;ConfigReader&lt;/code&gt; (above), start by extending the &lt;code&gt;ConfigPatcher&lt;/code&gt; class, and add a &lt;code&gt;PatchNode(XmlNode)&lt;/code&gt; method to it with the job of patching in a single XmlNode passed in as an argument. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, add an override for the &lt;code&gt;ConfigReader.GetConfigPatcher(XmlNode)&lt;/code&gt; method to your extended &lt;code&gt;ConfigReader&lt;/code&gt; class, and have it return a new instance of your extended &lt;code&gt;ConfigPatcher&lt;/code&gt; class instead of the native Sitecore &lt;code&gt;ConfigReader&lt;/code&gt; class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finaly, add a call to your new &lt;code&gt;YourPatcher.PatchNode(XmlNode)&lt;/code&gt; method to the end of your overridden &lt;code&gt;LoadAutoIncludeFiles(XmlNode)&lt;/code&gt; method, above.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Pros&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Since you are creating the XML and using it to patch the setting, it is treated like any other XML patch and will be displayed in the ShowConfig&lt;/li&gt;&#xA;&lt;li&gt;Little to no risk of side-effects&lt;/li&gt;&#xA;&lt;li&gt;There is no chance of the override value being &quot;lost&quot; without the AppPool recycling&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Cons&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You will need to retrieve the &lt;code&gt;appSettings&lt;/code&gt; as a &lt;code&gt;NameValueCollection&lt;/code&gt; and build the XML manually, with the appropriate &lt;code&gt;&amp;lt;patch:attribute /&amp;gt;&lt;/code&gt; and/or &lt;code&gt;&amp;lt;setting set:...&amp;gt;&lt;/code&gt; settings, the parent &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node and the containing &lt;code&gt;&amp;lt;configuration&amp;gt;&lt;/code&gt; node with the correct XML namespaces set on it. This isn't a lot of work, but it does make the implementation a bit dirtier than it already is.&lt;/li&gt;&#xA;&lt;li&gt;Less maintainable, as you are extending &lt;code&gt;ConfigReader&lt;/code&gt; and &lt;code&gt;ConfigPatcher&lt;/code&gt; and overriding several methods between the two of them. If/when you go to do a Sitecore upgrade, you will need to ensure that any changes to these classes and their methods (especially those that you are overriding) have been accounted for&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Option 2: Using the &lt;code&gt;SettingsSwitcher&lt;/code&gt; to override your settings' values&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This option is a little bit more elegant, though it isn't without its faults. For this option, you will need to do the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach(var key in System.Configuration.ConfigurationManager.AppSettings.AllKeys)&#xA;{&#xA;    new SettingsSwitcher(key, System.Configuration.ConfigurationManager.AppSettings[key]);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The reason why this works is because by instantiating the &lt;code&gt;SettingsSwitcher&lt;/code&gt; with a setting (&lt;code&gt;name&lt;/code&gt; and &lt;code&gt;value&lt;/code&gt;) you are adding that setting's name and value to the stack. Every time &lt;code&gt;Sitecore.Configuration.Settings.GetSettings&amp;lt;T&amp;gt;(...)&lt;/code&gt; is called, it first tries to get the setting value from the &lt;code&gt;SettingsSwitcher&lt;/code&gt; and if the value is set there then that is the value that is used. Effectively, you will have overridden the setting in the config files. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; in an actual implementation, I would namespace the &lt;code&gt;appSettings&lt;/code&gt; that should be brought into Sitecore, so that you could have straight .NET ones, as needed. Of course, this is an implementation decision, so I didn't include this in my solution.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Pros&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;More elegant solution - no manual generation of XML patch files&lt;/li&gt;&#xA;&lt;li&gt;No extending/overriding native Sitecore classes and methods, so no trouble with upgrades, so long as the reliance on the &lt;code&gt;SettingsSwitcher&lt;/code&gt; doesn't change&lt;/li&gt;&#xA;&lt;li&gt;Far less code and less effort&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Cons&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Overridden settings are not reflected in the ShowConfig&lt;/li&gt;&#xA;&lt;li&gt;If anything happens to the stack then your overridden settings could be lost&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Honestly, I'm not super happy with either of these options, but I don't yet see another way to accomplish what you are looking for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My recommendation would be to go with &lt;strong&gt;option 1&lt;/strong&gt;, since it is less likely for something to go wrong and you can see the overridden settings in the ShowConfig. When you go to upgrade, if necessary you can change to the implementation in &lt;strong&gt;option 2&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I like &lt;strong&gt;option 2&lt;/strong&gt; more, from a code-cleanliness and effort standpoint, but at the end of the day I think it is less reliable then &lt;strong&gt;option 1&lt;/strong&gt;, and I don't like the idea of overridden values not showing up in the ShowConfig.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-15T00:07:07.573" LastActivityDate="2017-03-15T00:07:07.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4920" PostTypeId="1" AcceptedAnswerId="4930" CreationDate="2017-03-15T08:05:38.807" Score="5" ViewCount="288" Body="&lt;p&gt;We are using EXM 3.4 and trying to improve our mail spam test scores and I found that mailtester tells that missing alt attribute on the mail-open tracking pixel gives -0.5 score. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5dWaF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5dWaF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to disassemble some dlls and found that its hardcoded into HtmlMailBase abstract class &lt;code&gt;Sitecore.Modules.EmailCampaign.Messages.HtmlMailBase, Sitecore.EmailCampaign&lt;/code&gt;and think there is no way to inject into any config to change that, am I right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding empty &lt;code&gt;alt=&quot;&quot;&lt;/code&gt; attribute should fix the problem.&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="73" LastEditDate="2017-03-15T11:15:48.957" LastActivityDate="2017-03-15T17:53:56.247" Title="EXM html mail-opened tracking pixel does not contain alt attribute" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4921" PostTypeId="1" AcceptedAnswerId="4923" CreationDate="2017-03-15T12:41:08.600" Score="3" ViewCount="960" Body="&lt;p&gt;I would like to allow directory browsing and anonymous access for a specific folder in Sitecore, but I can't find out how.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have a clue about how to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="462" LastEditorUserId="462" LastEditDate="2017-03-15T12:47:45.103" LastActivityDate="2017-03-15T12:55:06.187" Title="How to enable Directory Browsing on a folder on a Sitecore web site?" Tags="|iis|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4922" PostTypeId="2" ParentId="4921" CreationDate="2017-03-15T12:51:48.130" Score="3" Body="&lt;p&gt;If you mean you want to by pass Sitecore all together and load up some static HTML for example, add your path on the end of this pipe separated setting in the Web.config or in Sitecore.config in later versions of Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore will then ignore the path an IIS should take effect.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;setting name=&quot;IgnoreUrlPrefixes&quot; value=&quot;.........|/YourPath&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="222" LastActivityDate="2017-03-15T12:51:48.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4923" PostTypeId="2" ParentId="4921" CreationDate="2017-03-15T12:55:06.187" Score="7" Body="&lt;p&gt;You need to add your directory path to &lt;code&gt;IgnoreUrlPrefixes&lt;/code&gt; settings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;IgnoreUrlPrefixes&quot; value=&quot;...|/your-directory-path&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and add a &lt;code&gt;web.config&lt;/code&gt; file inside that directory with content:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;   &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;directoryBrowse enabled=&quot;true&quot; /&amp;gt;&#xA;   &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-03-15T12:55:06.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4924" PostTypeId="1" AcceptedAnswerId="4954" CreationDate="2017-03-15T13:59:48.030" Score="2" ViewCount="333" Body="&lt;p&gt;I am facing the following issue that I have a simple Controller Rendering with which is using the Demo template with 1 field (&lt;em&gt;Label&lt;/em&gt;) and if I switch to &lt;strong&gt;Debug Mode&lt;/strong&gt; in &lt;strong&gt;Experience Editor&lt;/strong&gt; then I can see that this component has 19 item reads. Is it normal that 1 item has that much item read? If it is normal, why?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my whole implementation with Glass Mapper.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using Sitecore.Globalization;&#xA;&#xA;&#xA;namespace Foundation.GlassBase.Models&#xA;{&#xA;    public interface IGlassBase&#xA;    {&#xA;        Guid Id { get; set; }&#xA;        Language Language { get; }&#xA;        int Version { get; set; }&#xA;        IEnumerable&amp;lt;Guid&amp;gt; BaseTemplateIds { get; }&#xA;        string TemplateName { get; }&#xA;        Guid TemplateId { get; set; }&#xA;        string Name { get; set; }&#xA;        string Url { get; }&#xA;        string FullPath { get; }&#xA;    }    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Foundation.GlassBase.Models;&#xA;&#xA;namespace Feature.Demo.Models&#xA;{&#xA;    public interface IDemo : IGlassBase&#xA;    {&#xA;        string Label { get; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Glass.Mapper.Sc.Maps;&#xA;using Feature.Demo.Models;&#xA;using Foundation.GlassBase.Models;&#xA;&#xA;namespace Feature.Demo.Maps&#xA;{&#xA;    public class DemoMap : SitecoreGlassMap&amp;lt;IDemo&amp;gt;&#xA;    {&#xA;        public override void Configure()&#xA;        {&#xA;            Map(x =&amp;gt; &#xA;            {&#xA;                ImportMap&amp;lt;IGlassBase&amp;gt;();&#xA;                x.Field(y =&amp;gt; y.Label).FieldId(SitecoreTemplates.Demo.Label.FieldId);&#xA;            });            &#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Glass.Mapper.Sc;&#xA;using Sitecore.Mvc.Presentation;&#xA;using Foundation.Alerts.Exceptions;&#xA;&#xA;namespace Foundation.Data.Repositories&#xA;{&#xA;    public class ItemRepository : IItemRepository&#xA;    {&#xA;        protected readonly ISitecoreContext _sitecoreContext;&#xA;&#xA;        public ItemRepository(ISitecoreContext sitecoreContext)&#xA;        {&#xA;            _sitecoreContext = sitecoreContext;&#xA;        }&#xA;&#xA;        public T GetDatasourceItem&amp;lt;T&amp;gt;() where T : class&#xA;        {&#xA;            var datasource = _sitecoreContext.GetItem&amp;lt;T&amp;gt;(RenderingContext.Current.Rendering.DataSource);&#xA;            if (datasource == null)&#xA;            {&#xA;                throw new InvalidDataSourceItemException();&#xA;            }&#xA;&#xA;            return datasource;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Mvc;&#xA;using Feature.Demo.Models;&#xA;using Foundation.Data.Repositories;&#xA;&#xA;namespace Feature.Demo.Controllers&#xA;{&#xA;    public class DemoController : Controller&#xA;    {&#xA;        private readonly IItemRepository _itemRepository;&#xA;&#xA;&#xA;        public DemoController(IItemRepository itemRepository)&#xA;        {&#xA;            _itemRepository = itemRepository;&#xA;        }&#xA;&#xA;&#xA;        public ViewResult Demo()&#xA;        {&#xA;            var datasource = _itemRepository.GetDatasourceItem&amp;lt;IDemo&amp;gt;();&#xA;            return View(&quot;~/Views/Demo.cshtml&quot;, datasource);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Glass.Mapper.Sc.Web.Mvc&#xA;@model Feature.Demo.Models.IDemo&#xA;&#xA;&amp;lt;div&amp;gt;&#xA;    @Html.Glass().Editable(Model, m =&amp;gt; m.Label)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I have the following row in &lt;strong&gt;Debug Mode&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DC28d.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DC28d.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-03-15T14:07:03.347" LastActivityDate="2017-03-16T16:23:14.540" Title="Too much item reads in Debug Mode" Tags="|glass-mapper|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4925" PostTypeId="1" AcceptedAnswerId="4926" CreationDate="2017-03-15T14:06:32.427" Score="3" ViewCount="1175" Body="&lt;p&gt;I am trying to open a modal dialog from custom ribbon button and i would like to know which item was selected in the content editor within modal popup?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a easy way to achieve this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I am not using SPEAK &lt;/p&gt;&#xA;" OwnerUserId="1107" LastActivityDate="2017-03-15T14:16:26.127" Title="In the modal popup how to identify selected item in content editor?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4926" PostTypeId="2" ParentId="4925" CreationDate="2017-03-15T14:16:26.127" Score="4" Body="&lt;p&gt;When you want to open a modal popup from Content Editor ribbon, it should be done using a Sitecore Command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On your &lt;code&gt;Command&lt;/code&gt; class itself, you can find the context item (Selected item), and pass it's Id in querystring of popup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Execute()&lt;/code&gt; method of your Command class, your code will look like below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public override void Execute(CommandContext context)&#xA;    {&#xA;        if (context.Items.Length == 1)&#xA;        {&#xA;            // Get currently selected item in Content Editor tree&#xA;            Item currentItem = context.Items[0];&#xA;&#xA;            // to read passed parameters, use context.Parameters[&quot;id&quot;];&#xA;&#xA;            // Continue your code for popup    &#xA;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="255" LastActivityDate="2017-03-15T14:16:26.127" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4927" PostTypeId="1" AcceptedAnswerId="4929" CreationDate="2017-03-15T14:17:33.673" Score="5" ViewCount="1593" Body="&lt;p&gt;We are trying to implement AD and SSO in Sitecore 8.1.&#xA;There is this specific requirement to not move all the AD users to Sitecore Profiles/DB as the list of AD users are huge.&#xA;Rather we are planning to save &amp;amp; validate the users at the time of authentication and then use it for SSO.&#xA;Please suggest any suitable approach to achieve this.&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="73" LastEditDate="2017-03-15T15:25:10.150" LastActivityDate="2017-03-15T18:56:19.973" Title="Active Directory and SSO in Sitecore 8.1" Tags="|active-directory-module|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4928" PostTypeId="2" ParentId="4927" CreationDate="2017-03-15T15:59:56.220" Score="-1" Body="&lt;p&gt;I had the same challenge back in Sitecore 6.6, we used cookies in order to implement SSO, however you can use Virtual User in Sitecore context, if you need to use Sitecore Roles for its context. I had to write custom ldap queries in order to search for users and its groups in AD, we only imported AD Groups into Sitecore Roles, and used VirtualUser, then generated secretToken and stored in cookies, which then been read by a different system in order to perform SSO.&lt;/p&gt;&#xA;" OwnerUserId="725" LastActivityDate="2017-03-15T15:59:56.220" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4929" PostTypeId="2" ParentId="4927" CreationDate="2017-03-15T16:02:21.047" Score="7" Body="&lt;p&gt;You have couple choices here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) You can use the SSO mechanism and then override the sitecore login pipeline to let the users login from your custom login screen. This will ensure only users who are validated via your sitecore login or custom sitecore login screen due to override in pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Sitecore AD connector does allow you to have multiple domains. So all you can do is create a domain with specific users whom you want to grant access and let them login to the sitecore. I have written this blogs &lt;a href=&quot;https://mrunaldaftari.wordpress.com/2017/02/17/sc-and-active-directory-connecting-to-multiple-domains/&quot; rel=&quot;noreferrer&quot;&gt;https://mrunaldaftari.wordpress.com/2017/02/17/sc-and-active-directory-connecting-to-multiple-domains/&lt;/a&gt; which may help you understand how exactly you can achieve this but for summary here are the steps you should take:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Work with the infrastructure team to get below things in place for each domains you want users to be allowed to login&lt;/li&gt;&#xA;&lt;li&gt;Infrastructure team needs to create Organizational Unit &lt;/li&gt;&#xA;&lt;li&gt;A domain controller using which you can connect to the the LDAP so can be any&#xA;server. &lt;/li&gt;&#xA;&lt;li&gt;For example This is the distinguished name of the OU that all&#xA;of your stuff is in: OU=public LDAP Test,OU=User&#xA;Accounts,DC=hq,DC=usernet,DC=com &lt;/li&gt;&#xA;&lt;li&gt;User account and server to connect&#xA;to the above settings. &lt;/li&gt;&#xA;&lt;li&gt;Once you have all of the above your connection&#xA;string may look like below:&#xA;LDAP:/domaincontrollermachinname/OU=Public LDAP Test,OU=User&#xA;Accounts,DC=domainname,DC=usernet,DC=com&lt;/li&gt;&#xA;&lt;li&gt;User account and server to connect to the above settings&lt;/li&gt;&#xA;&lt;li&gt;Once you have all of the above your connection string may look like below:&#xA;LDAP:/domaincontrollermachinname/OU=Public LDAP Test,OU=User Accounts,DC=domainname,DC=usernet,DC=com&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And you can keep repeating this steps for each domain and add them to the connection string to let them login. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if you need more details. This &lt;a href=&quot;https://mrunaldaftari.wordpress.com/category/active-directory/&quot; rel=&quot;noreferrer&quot;&gt;https://mrunaldaftari.wordpress.com/category/active-directory/&lt;/a&gt; blog link have 5 related blogs which will help you get achieve what you need using AD module. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update this is another step which you can look into for SSO &#xA;&lt;a href=&quot;https://mrunaldaftari.wordpress.com/2017/02/16/active-directory-and-sso-to-let-ad-users-login-to-the-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://mrunaldaftari.wordpress.com/2017/02/16/active-directory-and-sso-to-let-ad-users-login-to-the-sitecore/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorUserId="1341" LastEditDate="2017-03-15T18:56:19.973" LastActivityDate="2017-03-15T18:56:19.973" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4930" PostTypeId="2" ParentId="4920" CreationDate="2017-03-15T17:38:15.947" Score="3" Body="&lt;p&gt;It seems that buried deep inside of EXM, they manually generate this link. I do think the proper solution is probably seeing if the EXM Team can make this image element a little more easily accessible or add in the alt attribute.  That being said, I did find a workaround. It might even be a hack!&lt;/p&gt;&#xA;&lt;h1&gt;Workaround/Hack&lt;/h1&gt;&#xA;&lt;p&gt;There is one Pipeline that can be affected, where we can add in this alt attribute to this image tag before sending.&lt;/p&gt;&#xA;&lt;p&gt;The pipeline to reference is &lt;strong&gt;/sitecore/pipelines/SendEmail&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In this pipeline, the processor &amp;quot;FillEmail&amp;quot; is what actually takes the Message Body and converts it into a email packet.  Putting a Processor, say called &lt;strong&gt;AddAltAttribute&lt;/strong&gt; &lt;em&gt;before&lt;/em&gt; &lt;strong&gt;FillEmail&lt;/strong&gt; provides us a space to do some magic.&lt;/p&gt;&#xA;&lt;p&gt;Below is the processor that I came up with to add the &lt;strong&gt;alt&lt;/strong&gt; attribute to the &lt;code&gt;RegisteredEmailOpened&lt;/code&gt; image.&lt;/p&gt;&#xA;&lt;h2&gt;AddAltAttribute Processor&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System.IO;&#xA;using System.Linq;&#xA;using HtmlAgilityPack;&#xA;using Sitecore.Modules.EmailCampaign.Core.Pipelines;&#xA;using Sitecore.StringExtensions;&#xA;&#xA;namespace SitecoreHacker.Sandbox.EmailCampaign.Pipelines.SendEmail&#xA;{&#xA;    public class AddAltAttribute&#xA;    {&#xA;        public void Process(SendMessageArgs args)&#xA;        {&#xA;            if (args.EcmMessage == null)&#xA;                return;&#xA;&#xA;            var htmlDoc = new HtmlDocument();&#xA;&#xA;            htmlDoc.LoadHtml(args.EcmMessage.Body);&#xA;&#xA;            var docNode =&#xA;                htmlDoc.DocumentNode&#xA;                    .Descendants(&amp;quot;img&amp;quot;);&#xA;&#xA;            var foundElement = docNode.FirstOrDefault(node =&amp;gt; node.HasAttributes &amp;amp;&amp;amp; node.Attributes[&amp;quot;src&amp;quot;].Value.Contains(&amp;quot;RegisterEmailOpened&amp;quot;));&#xA;&#xA;            if (foundElement == null)&#xA;                return;&#xA;&#xA;            foundElement.Attributes.Add(&amp;quot;alt&amp;quot;, &amp;quot;&amp;quot;);&#xA;&#xA;            string result = null;&#xA;            using (var writer = new StringWriter())&#xA;            {&#xA;                htmlDoc.Save(writer);&#xA;                result = writer.ToString();&#xA;            }&#xA;&#xA;            if (result.IsNullOrEmpty())&#xA;                return;&#xA;&#xA;&#xA;            //Set Back in Args&#xA;            args.EcmMessage.Body = result;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;Patch Config&lt;/h2&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;SendEmail&amp;gt;&#xA;        &amp;lt;processor type=&amp;quot;SitecoreHacker.Sandbox.EmailCampaign.Pipelines.SendEmail.AddAltAttribute, SitecoreHacker.Sandbox&amp;quot;&#xA;                   patch:before=&amp;quot;*[@type='Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.FillEmail, Sitecore.EmailCampaign.Cm']&amp;quot; /&amp;gt;&#xA;      &amp;lt;/SendEmail&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;Considerations&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Putting too much, heavy logic in the &lt;code&gt;SendEmail&lt;/code&gt; pipeline can have a negative effect on the speed of dispatches. Ensure that whatever logic you use, it is completely optimized.&lt;/li&gt;&#xA;&lt;li&gt;The above code is provided as an example. No performance tests were utilized.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-03-15T17:53:56.247" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4931" PostTypeId="2" ParentId="360" CreationDate="2017-03-15T20:06:21.173" Score="6" Body="&lt;p&gt;This is another script, &lt;a href=&quot;https://github.com/zkniebel/powershell-sitecore-role-configuration&quot; rel=&quot;noreferrer&quot;&gt;PowerShell Sitecore Role Configurator&lt;/a&gt;, that was based on the &lt;a href=&quot;https://gist.github.com/michaellwest/d1124a459cb1fb47486f87d488ecfab8&quot; rel=&quot;noreferrer&quot;&gt;one from Michael West&lt;/a&gt;, but has several enhancements and modifications designed for improved CI-build support and simpler integration into systems like Bamboo, Octopus and TeamCity. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like the script from Michael West, PowerShell Sitecore Role Configurator takes the Sitecore-provided &quot;Config Enable/Disable Spreadsheet&quot; as a input, but it also includes a tool for testing/debugging the spreadsheet to help you find and fix any inconsistencies that would otherwise break your configuration script. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are three files that primarily make up PowerShell Sitecore Role Configurator:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Main Configuration Script: &lt;a href=&quot;https://github.com/zkniebel/powershell-sitecore-role-configuration/blob/master/Invoke-SitecoreRoleConfigurator.ps1&quot; rel=&quot;noreferrer&quot;&gt;Invoke-SitecoreRoleConfigurator.ps1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;CSV Settings File: &lt;a href=&quot;https://github.com/zkniebel/powershell-sitecore-role-configuration/blob/master/ConfigurationCsv.Settings.xml&quot; rel=&quot;noreferrer&quot;&gt;ConfigurationCsv.Settings.xml&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore CSV Testing Tool: &lt;a href=&quot;https://github.com/zkniebel/powershell-sitecore-role-configuration/blob/master/Test-ConfigurationCsv.ps1&quot; rel=&quot;noreferrer&quot;&gt;Test-ConfigurationCsv.ps1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have copied the current version of each file below, for your convenience.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Invoke-SitecoreRoleConfigurator.ps1&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is the main configuration script. You would call this script directly or from your CI-build tool of choice, in order to configure your Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sh prettyprint-override&quot;&gt;&lt;code&gt;function Invoke-SitecoreRoleConfigurator {&#xA;    Param(&#xA;        [Parameter(Mandatory=$True)] [string] $ApplicationFolderPath,&#xA;        [Parameter(Mandatory=$True)] [string] $RoleColumn,&#xA;        [Parameter(Mandatory=$False)] [string] $CsvSettingsFilePath = &quot;.\ConfigurationCsv.Settings.xml&quot;,&#xA;        [Parameter(Mandatory=$False)] [string[]] $ExcludedSearchProviders = @(),&#xA;        [Parameter(Mandatory=$False)] [string] $CsvFilePath,&#xA;        [Parameter(Mandatory=$False)] [string] $FileNameColumn,&#xA;        [Parameter(Mandatory=$False)] [string] $FilePathColumn,&#xA;        [Parameter(Mandatory=$False)] [string] $DefaultExtensionColumn,&#xA;        [Parameter(Mandatory=$False)] [string] $SearchProviderColumn,&#xA;        [Parameter(Mandatory=$False)] [switch] $DryRun&#xA;    )&#xA;    $ErrorActionPreference = &quot;Stop&quot;;&#xA;    $VerbosePreference = &quot;Silentlycontinue&quot;&#xA;&#xA;    try {&#xA;        # make sure that the settings file exists&#xA;        if (-not (Test-Path -Path $CsvSettingsFilePath -PathType Leaf)) {&#xA;            throw [System.IO.FileNotFoundException] &quot;Settings file '$CsvSettingsFilePath' suppied for parameter 'CsvSettingsFilePath' was not found. Settings file is required for script execution.&quot;&#xA;        }&#xA;&#xA;        # get the xml&#xA;        [xml]$settings = Get-Content -Path $CsvSettingsFilePath&#xA;&#xA;        # returns the value, if not null, or else the default value&#xA;        function Get-ValueOrDefault {&#xA;            Param([string] $Value, [string] $Default)&#xA;            if (!$Value) { return $Default } else { return $Value }&#xA;        }&#xA;&#xA;        # apply default values from the XML settings, where needed&#xA;        $CsvFilePath = Get-ValueOrDefault $CsvFilePath $settings.Parameters.CsvFilePath;&#xA;        $FileNameColumn = Get-ValueOrDefault $FileNameColumn $settings.Parameters.FileNameColumnHeader&#xA;        $FilePathColumn = Get-ValueOrDefault $FilePathColumn $settings.Parameters.FilePathColumnHeader&#xA;        $DefaultExtensionColumn = Get-ValueOrDefault $DefaultExtensionColumn $settings.Parameters.DefaultExtensionColumnHeader&#xA;        $SearchProviderColumn = Get-ValueOrDefault $SearchProviderColumn $settings.Parameters.SearchProviderColumnHeader&#xA;&#xA;        # trim values in excluded search providers&#xA;        $ExcludedSearchProviders = $ExcludedSearchProviders | ForEach-Object { $_.Trim() }&#xA;&#xA;        # performs enabling/disabling of file by changing extension&#xA;        function Rename-ConfigFile {&#xA;            Param(&#xA;                [Parameter(Mandatory=$True)] [string] $ExistingName,&#xA;                [Parameter(Mandatory=$True)] [string] $TargetName,&#xA;                [Parameter(Mandatory=$False)] [string] $ContainerPath&#xA;            )&#xA;&#xA;            # if a container path was supplied then join the path to the file names&#xA;            if ($ContainerPath) {&#xA;                $ExistingName = Join-Path -Path $ContainerPath -ChildPath $ExistingName&#xA;                $TargetName = Join-Path -Path $ContainerPath -ChildPath $TargetName&#xA;            }&#xA;&#xA;            if(-not (Test-Path -Path $ExistingName)) {&#xA;                Write-Host &quot;Skipping $ExistingName because the path does not exist.&quot;&#xA;                continue&#xA;            }&#xA;&#xA;            # don't apply changes if this is DryRun mode&#xA;            if (-not $DryRun) {&#xA;                Move-Item -Path $ExistingName -Destination $TargetName&#xA;            }&#xA;        }&#xA;&#xA;        # disables the file by changing the extension&#xA;        function Rename-DisableConfigFile {&#xA;            Param(&#xA;                [Parameter(Mandatory=$True)] [string] $ExistingName,&#xA;                [Parameter(Mandatory=$True)] [string] $ContainerPath&#xA;            )&#xA;&#xA;            # change the extension the file&#xA;            $targetName = $fileName + &quot;.disabled&quot;;&#xA;&#xA;            # perform the renaming&#xA;            Rename-ConfigFile -ExistingName $ExistingName -TargetName $targetName -ContainerPath $ContainerPath&#xA;            Write-Host &quot;`tFile successfully renamed to: $targetName&quot;&#xA;        }&#xA;&#xA;        # enables the file by changing the extension&#xA;        function Rename-EnableConfigFile {&#xA;            Param(&#xA;                [Parameter(Mandatory=$True)] [string] $ExistingName,&#xA;                [Parameter(Mandatory=$True)] [string] $DefaultExtension,&#xA;                [Parameter(Mandatory=$True)] [string] $ContainerPath&#xA;            )&#xA;&#xA;            # remove the default extension&#xA;            $targetName = $ExistingName.Substring(0, $ExistingName.Length - $DefaultExtension.Length);&#xA;&#xA;            # don't add '.config' if it's already there, e.g. if the file was originally 'Foo.config.disabled'&#xA;            if (!$targetName.EndsWith(&quot;.config&quot;)) {&#xA;                $targetName += &quot;.config&quot;&#xA;            }&#xA;&#xA;            Rename-ConfigFile -ExistingName $ExistingName -TargetName $targetName -ContainerPath $ContainerPath&#xA;        }&#xA;&#xA;        # import and parse the CSV&#xA;        $csvTable = Import-Csv -Path $CsvFilePath&#xA;&#xA;        # loop through each row and enable/disable the file based on the given settings&#xA;        foreach($csvTableRow in $csvTable) {&#xA;            # get the full path to the config file's parent directory&#xA;            $configPath = Join-Path -Path $ApplicationFolderPath -ChildPath $csvTableRow.$FilePathColumn.Trim()&#xA;            $fileName = $csvTableRow.$FileNameColumn.Trim()&#xA;            $defaultExtension = &quot;.$($csvTableRow.$DefaultExtensionColumn)&quot;.Trim()&#xA;&#xA;            # enable, disable or skip based on the given role&#xA;            switch($csvTableRow.$RoleColumn.Trim()) {&#xA;                &quot;Enable&quot; {&#xA;                    Write-Host &quot;Enable: $fileName&quot;  &#xA;&#xA;                    # before we enable the config, make sure that it is not for an excluded search provider&#xA;                    if ($ExcludedSearchProviders -contains $csvTableRow.$SearchProviderColumn.Trim()) {&#xA;                        if ($defaultExtension -eq &quot;.config&quot;) {&#xA;                            Write-Host &quot;`tDisabling file '$fileName'. File is for an excluded search provider.&quot; &#xA;                            # disable the file&#xA;                            Rename-DisableConfigFile -ExistingName $fileName -ContainerPath $configPath&#xA;                        }&#xA;                        Write-Host &quot;`tSkipping file '$fileName'. File is for an excluded search provider.&quot;&#xA;                    } else {&#xA;                        # there is an issue with the CSV - we could probably work around it, but better to have someone look at it&#xA;                        if (!$fileName.EndsWith($defaultExtension)) {&#xA;                            throw [System.Exception] &quot;File '$fileName' does not have the expected extension '$defaultExtension'.&quot;&#xA;                        # file must have default extension - if it's not yet enabled then enable it&#xA;                        } elseif ($defaultExtension -ne &quot;.config&quot;) {&#xA;                            Write-Host &quot;`tRenaming $fileName to enable it&quot;&#xA;                            Rename-EnableConfigFile -ExistingName $fileName -DefaultExtension $defaultExtension -ContainerPath $configPath&#xA;                        } else {&#xA;                            Write-Host &quot;`tSkipping '$fileName' as it is already enabled&quot;&#xA;                        }&#xA;                    }&#xA;                }&#xA;                &quot;Disable&quot; {&#xA;                    Write-Host &quot;Disable: $fileName&quot;&#xA;&#xA;                    # there is an issue with the CSV - we could probably work around it, but better to have someone look at it&#xA;                    if (!$fileName.EndsWith($defaultExtension)) {&#xA;                        throw [System.Exception] &quot;File '$fileName' does not have the expected extension '$defaultExtension'.&quot;&#xA;                    # if the file is enabled then disable it (we don't care about 'example' files, since they're already disabled)&#xA;                    } elseif ($defaultExtension -eq &quot;.config&quot;) {&#xA;                        Write-Host &quot;`tRenaming $fileName to disable it&quot;&#xA;                        # disable the file&#xA;                        Rename-DisableConfigFile -ExistingName $fileName -ContainerPath $configPath&#xA;                    } else {                        &#xA;                        Write-Host &quot;`tSkipping '$fileName' as it is already disabled&quot;&#xA;                    }&#xA;                }&#xA;                default {&#xA;                }&#xA;            }&#xA;        }&#xA;    } catch {&#xA;        Write-Host &quot;ERROR: An error was encountered and script execution was terminated. Details below:&quot;&#xA;&#xA;        $ErrorMessage = $_.Exception | Format-List -force&#xA;        Write-Output $ErrorMessage&#xA;&#xA;        # if we are running in DryRun mode then we don't want to close the window&#xA;        if (-not $DryRun) {&#xA;            exit(1)&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;ConfiguationCsv.Settings.xml&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This settings file is used for storing and sharing the information about the Sitecore-provided spreadsheet that the configuration script needs in order to correctly process the file and configure your instance(s). The file can be added to your repo and saved for repeated use. Each setting can also be overridden via invocation arguments of the configuration script. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;!-- PARAMETERS &#xA;       Defines settings to be used by the role configurator script and the&#xA;       included testing tool --&amp;gt;&#xA;&amp;lt;Parameters&amp;gt;&#xA;    &amp;lt;!-- CSV FILE Path&#xA;           Path to the .CSV file converted from Sitecore's Excel file that &#xA;           should be used for configuring the base Sitecore instance&#xA;           Note: the original Excel file downloaded from Sitecore should &#xA;                 be converted to CSV and any extranous rows or content &#xA;                 that does not belong to the table data should be removed&#xA;                 (e.g. introductory titles or content, blank rows above &#xA;                 table, etc.) --&amp;gt;&#xA;    &amp;lt;CsvFilePath&amp;gt;Config_Enable-Disable_Sitecore_8.1_upd3.csv&amp;lt;/CsvFilePath&amp;gt;&#xA;    &amp;lt;!-- ROLE COLUMN HEADERS&#xA;           Defines the names of each column in the CSV that represents&#xA;           the settings for a role --&amp;gt;&#xA;    &amp;lt;RoleColumnHeaders&amp;gt;&#xA;        &amp;lt;RoleColumnHeader&amp;gt;Content Delivery (CD)&amp;lt;/RoleColumnHeader&amp;gt;&#xA;        &amp;lt;RoleColumnHeader&amp;gt;Content Management (CM)&amp;lt;/RoleColumnHeader&amp;gt;&#xA;        &amp;lt;RoleColumnHeader&amp;gt;Processing&amp;lt;/RoleColumnHeader&amp;gt;&#xA;        &amp;lt;RoleColumnHeader&amp;gt;CM + Processing&amp;lt;/RoleColumnHeader&amp;gt;&#xA;        &amp;lt;RoleColumnHeader&amp;gt;Reporting&amp;lt;/RoleColumnHeader&amp;gt;&#xA;    &amp;lt;/RoleColumnHeaders&amp;gt;&#xA;    &amp;lt;!-- FILE NAME COLUMN HEADER&#xA;           The name of the column in the CSV that contains the config &#xA;           file name --&amp;gt;&#xA;    &amp;lt;FileNameColumnHeader&amp;gt;Config file name&amp;lt;/FileNameColumnHeader&amp;gt;&#xA;    &amp;lt;!-- FILE PATH COLUMN HEADER&#xA;           The name of the column in the CSV that contains the config &#xA;           file's directory path --&amp;gt;&#xA;    &amp;lt;FilePathColumnHeader&amp;gt;File path&amp;lt;/FilePathColumnHeader&amp;gt;&#xA;    &amp;lt;!-- DEFAULT EXTENSION COLUMN HEADER&#xA;           The name of the column in the CSV that contains the config&#xA;           file's default extension (config, disabled, example) --&amp;gt;&#xA;    &amp;lt;DefaultExtensionColumnHeader&amp;gt;Config type&amp;lt;/DefaultExtensionColumnHeader&amp;gt;&#xA;    &amp;lt;!-- SEARCH PROVIDER COLUMN HEADER&#xA;           The name of the column in the CSV that contains the search&#xA;           provider that the config file should be included for --&amp;gt;&#xA;    &amp;lt;SearchProviderColumnHeader&amp;gt;Search Provider Used&amp;lt;/SearchProviderColumnHeader&amp;gt;&#xA;&amp;lt;/Parameters&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Test-ConfigurationCsv.ps1&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is the configuration testing tool, which helps you to identify bugs/inconsistencies made by Sitecore in their provided configuration spreadsheet. This tool calls the configuration script in &lt;code&gt;dryrun&lt;/code&gt; mode, meaning that the script runs through all of the logic but no changes are actually made. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sh prettyprint-override&quot;&gt;&lt;code&gt;[CmdletBinding()]&#xA;Param(&#xA;  [Parameter(Mandatory=$False)] [string] $CsvSettingsFilePath = &quot;.\ConfigurationCsv.Settings.xml&quot;,&#xA;  [Parameter(Mandatory=$False)] [string] $ConfiguratorScriptFilePath = &quot;.\Invoke-SitecoreRoleConfigurator.ps1&quot;&#xA;)&#xA;&#xA;# stop execution on all errors&#xA;$ErrorActionPreference = &quot;Stop&quot;;&#xA;$VerbosePreference = &quot;Silentlycontinue&quot;&#xA;&#xA;Write-Host &quot;`r`nCONFIGURATION CSV TESTING TOOL`r`n`r`n&quot;&#xA;&#xA;Write-Host &quot;To use this tool, ensure that you have configured the relevant settings in the $CsvSettingsFilePath file. The test will run once for each of the Roles that are added in the settings file. If any errors are encountered, resolve them in the CSV file and re-run the tool.`r`n&quot; &#xA;Write-Host &quot;Note that the most common error occurs when a 'Config Type' and 'Config File Name' in the CSV does not match up for a particular file (i.e. the file is of type 'disabled' but its name ends in '.config' or '.example'). For these issues, find the referenced file in the unmodified Sitecore source and update the CSV according to what you find.`r`n&quot;&#xA;Write-Host &quot;This tool runs in DryRun mode, only. No actual file-system operations will be performed`r`n`r`n&quot;&#xA;&#xA;Read-Host &quot;Press [ENTER] to execute the tool&quot;&#xA;&#xA;# get the xml&#xA;[xml]$settings = Get-Content -Path $CsvSettingsFilePath&#xA;&#xA;Write-Host &quot;Executing tests...&quot;&#xA;&#xA;if (-not (Test-Path -Path $ConfiguratorScriptFilePath -PathType Leaf)) {&#xA;  throw [System.IO.FileNotFoundException] &quot;File '$ConfiguratorScriptFilePath' specified for parameter 'ConfiguratorScriptFilePath' was not found. This file is required and should be the file containing the Invoke-SitecoreRoleConfigurator commandlet.&quot;&#xA;}&#xA;&#xA;# dot-source the script containing the Invoke-SitecoreRoleConfigurator commandlet so that we can call it&#xA;. $ConfiguratorScriptFilePath&#xA;&#xA;# run the test for each role defined in the settings, &#xA;foreach ($role in $settings.Parameters.RoleColumnHeaders.RoleColumnHeader)  {&#xA;  # invoke with the DryRun flag to ensure that no changes are actually made; ApplicationFolderPath can be fake since we are running in DryRun mode (no changes will actually be made)&#xA;  Invoke-SitecoreRoleConfigurator -ApplicationFolderPath &quot;C:\fake&quot; -RoleColumn &quot;$role&quot; -CsvSettingsFilePath &quot;$CsvSettingsFilePath&quot; -DryRun &#xA;}&#xA;&#xA;# script will stop execution on all errors, so if we get here then no errors were encountered&#xA;Write-Host &quot;`r`nTEST COMPLETED SUCCESSFULLY!`r`n&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-03-15T20:06:21.173" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4932" PostTypeId="1" AcceptedAnswerId="4937" CreationDate="2017-03-15T21:52:01.740" Score="2" ViewCount="337" Body="&lt;p&gt;To handle 301 redirect we have made changes in pipeline and written following class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomRedirect301 : PreprocessRequestProcessor&#xA;{&#xA;    public override void Process(PreprocessRequestArgs args)&#xA;    {&#xA;        var targeturl = objDB.GetTargetURL(args.Context.Request.Url.PathAndQuery.TrimEnd(new[] { '/' });)&#xA;        args.Context.Response.RedirectPermanent(targeturl, true);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In GetTargetURL function we pass incoming URL part only after domain &#xA;for example incoming request is &lt;strong&gt;www.mysite.com/healthcare&lt;/strong&gt; we pass &lt;strong&gt;/healthcare&lt;/strong&gt; and this function return actual url where user should redirect let's say &lt;strong&gt;www.mysite.com/part-1/part-2/healthcare&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We maintain this mapping in database table with two column UrlFrom and UrlTo so in this case &lt;/p&gt;&#xA;&#xA;&lt;p&gt;UrlFrom is /healthcare&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UrlTo is www.mysite.com/part-1/part-2/healthcare&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now we have one request where we have to redirect &lt;strong&gt;abc.mysite.com&lt;/strong&gt; to &lt;strong&gt;www.mysite.com/part-1/part-2/part-3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case we don't have any URL part after domain to pass as input parameter in GetTargetURL function so how can we achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Environment: Sitecore 8.1 MVC / Multisite implementation&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="1606" LastEditDate="2019-09-10T21:03:41.560" LastActivityDate="2019-09-10T21:03:41.560" Title="301 redirect on sub domain" Tags="|redirect|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="4933" PostTypeId="1" CreationDate="2017-03-15T23:41:09.313" Score="3" ViewCount="495" Body="&lt;p&gt;EDIT: more details&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm working on converting the Sitecore.Demo.Retail project from VS 2015 (.NET core preview) to VS 2017 and latest .NET Core.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution now builds perfectly fine in Visual Studio 2017 but the issue I encounter is when trying to run a build using msbuild 15. It fails on trying to copy the .config file from the obj\debug\net452 folder but for some reason it's adding the full .csproj name&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that the Publish.Targets are doing something weird with the .config file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Publish.targets(128,5):&#xA;error MSB3030: Could not copy the file &quot;obj\Debug\net452\Sitecore.Foundation.Commerce.Engine.csproj.code.exe.config&quot; because it was not found. &#xA;&#xA;[C:\Projects\Sitecore.Demo.Retail\src\Foundation\Commerce\Engine\code\Sitecore.Foundation.Commerce.Engine.csproj]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's prepending the full project name (including .csproj) to the name of the config file rather than just using the AssemblyName.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, Sitecore.Foundation.Commerce.Engine.csproj is the project and code is the AssemblyName (it will change). As you can see it's looking for &quot;Sitecore.Foundation.Commerce.Engine.csproj.code.exe.config&quot; which doesn't exist. code.exe.config does exist though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm happy to give GitHub repo access to anyone interested in helping figure this one out with me as it's blocking us from making the repository public.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so code.exe.config is resolved as Sitecore.Foundation.Commerce.Engine.csproj.code.exe.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OUTPUT snippet from MSBuild: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;08:13:09.957     1&amp;gt;Target &quot;GenerateBindingRedirectsUpdateAppConfig: (TargetId:127)&quot; in file &quot;C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\amd64\Microsoft.Common.CurrentVersion.targets&quot; from project &quot;C:\Projects\Sitecore.Demo.Retail\src\Foundation\Commerce\Engine\code\Sitecore.Foundation.Commerce.Engine.csproj&quot; (target &quot;ResolveReferences&quot; depends on it):&#xA;                   Set Property: AppConfig=obj\Debug\net452\Sitecore.Foundation.Commerce.Engine.csproj.code.exe.config&#xA;                   Added Item(s): &#xA;                       AppConfigWithTargetPath=&#xA;                           obj\Debug\net452\Sitecore.Foundation.Commerce.Engine.csproj.code.exe.config&#xA;                                   TargetPath=code.exe.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the Sitecore.Foundation.Commerce.Engine.csproj content:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;Project Sdk=&quot;Microsoft.NET.Sdk.Web&quot; xmlns=&quot;http://schemas.microsoft.com/developer/msbuild/2003&quot;&amp;gt;&#xA;&#xA;  &amp;lt;PropertyGroup&amp;gt;&#xA;    &amp;lt;TargetFramework&amp;gt;net452&amp;lt;/TargetFramework&amp;gt;&#xA;    &amp;lt;PreserveCompilationContext&amp;gt;false&amp;lt;/PreserveCompilationContext&amp;gt;&#xA;    &amp;lt;AssemblyName&amp;gt;code&amp;lt;/AssemblyName&amp;gt;&#xA;    &amp;lt;OutputType&amp;gt;Exe&amp;lt;/OutputType&amp;gt;&#xA;    &amp;lt;PackageId&amp;gt;code&amp;lt;/PackageId&amp;gt;&#xA;  &amp;lt;/PropertyGroup&amp;gt;&#xA;&#xA;  &amp;lt;!--&amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;None Update=&quot;wwwroot\**\*&quot;&amp;gt;&#xA;      &amp;lt;CopyToPublishDirectory&amp;gt;PreserveNewest&amp;lt;/CopyToPublishDirectory&amp;gt;&#xA;    &amp;lt;/None&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;--&amp;gt;&#xA;&#xA;  &amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;ProjectReference Include=&quot;..\..\legacyCommerce\Plugin.Sample.Habitat\Plugin.Sample.Habitat.csproj&quot; /&amp;gt;&#xA;    &amp;lt;ProjectReference Include=&quot;..\..\legacyCommerce\Plugin.Sample.Payments.Braintree\Plugin.Sample.Payments.Braintree.csproj&quot; /&amp;gt;&#xA;    &amp;lt;ProjectReference Include=&quot;..\..\legacyCommerce\Sitecore.Commerce.Plugin.AdventureWorks\Sitecore.Commerce.Plugin.AdventureWorks.csproj&quot; /&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;&#xA;  &amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNetCore.Diagnostics&quot; Version=&quot;1.0.2&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNetCore.Server.IISIntegration&quot; Version=&quot;1.0.2&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNetCore.Server.Kestrel&quot; Version=&quot;1.0.3&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.Extensions.Logging.Console&quot; Version=&quot;1.0.2&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNetCore.OData&quot; Version=&quot;6.0.0-alpha1-rtm-121216&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.ApplicationInsights&quot; Version=&quot;2.1.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Serilog&quot; Version=&quot;2.4.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Commerce.Core&quot; Version=&quot;1.0.2301&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Serilog.Sinks.Literate&quot; Version=&quot;2.1.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Serilog.Sinks.RollingFile&quot; Version=&quot;3.3.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.Extensions.Logging.Filter&quot; Version=&quot;1.1.1&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Serilog.Extensions.Logging&quot; Version=&quot;1.4.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.ApplicationInsights.AspNetCore&quot; Version=&quot;1.0.2&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Commerce.Provider.FileSystem&quot; Version=&quot;1.0.2301&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Framework.Rules&quot; Version=&quot;1.1.12&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Framework.Rules.Serialization&quot; Version=&quot;1.1.12&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNetCore.StaticFiles&quot; Version=&quot;1.1.1&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Framework.Diagnostics&quot; Version=&quot;1.1.4&quot; /&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;&#xA;  &amp;lt;ItemGroup Condition=&quot; '$(TargetFramework)' == 'net452' &quot;&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;System&quot; /&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;Microsoft.CSharp&quot; /&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;&#xA;&amp;lt;/Project&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1695" LastEditorUserId="1695" LastEditDate="2017-03-16T12:58:06.603" LastActivityDate="2017-08-08T16:01:51.097" Title="Sitecore Commerce Demo (Sitecore.Demo.Retail) - problem with gulp / MSBuild 15" Tags="|sitecore-commerce|visual-studio|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4934" PostTypeId="1" AcceptedAnswerId="4958" CreationDate="2017-03-16T03:23:59.563" Score="3" ViewCount="353" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1v7zf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1v7zf.png&quot; alt=&quot;I want this check box checked for each user&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hi, is there is a way to enforce this checkbox value = true each user login ? If enforce not possible, can we globally set check = true for each users?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found similar question here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3090/set-default-value-of-ribbon-checkbox&quot;&gt;Set Default Value of Ribbon Checkbox&lt;/a&gt; and make some adjustment since it have different settings and sitecore version as follow&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using Sitecore.Pipelines.LoggedIn;&#xA;using Sitecore.Security.Accounts;&#xA;&#xA;namespace CustomLogin&#xA;{&#xA;    public class EnforceEntireTree&#xA;    {&#xA;        public void Process(LoggedInArgs args)&#xA;        {&#xA;            User user = User.FromName(args.Username, true);&#xA;            Assert.IsNotNull(user, &quot;user&quot;);&#xA;            user.Profile.SetPropertyValue(&quot;/Content Editor/Ribbons/Chunks/View/Entire Tree&quot;, &quot;on&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When it's executed it's throw error: &quot;The settings property '/Content Editor/Ribbons/Chunks/View/Entire Tree' was not found.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found proper name for that setting but these code isn't working&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace CustomLogin&#xA;{&#xA;    public class EnforceEntireTree&#xA;    {&#xA;        public void Process(LoggedInArgs args)&#xA;        {&#xA;            User user = User.FromName(args.Username, true);&#xA;            Assert.IsNotNull(user, &quot;user&quot;);&#xA;&#xA;            string key = &quot;/&quot; + user.Name + &quot;/UserOptions.View.ShowEntireTree&quot;;&#xA;            user.Profile.Initialize(user.Name, true);&#xA;            user.Profile[key] = &quot;true&quot;;&#xA;            user.Profile.Save();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;UPDATE #2:&#xA;After Andrey Bobrov said, i try to clear cache by using this way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace CustomLogin&#xA;{&#xA;    public class EnforceEntireTree&#xA;    {&#xA;        public void Process(LoggedInArgs args)&#xA;        {&#xA;            User user = User.FromName(args.Username, true);&#xA;            Assert.IsNotNull(user, &quot;user&quot;);&#xA;&#xA;            string key = &quot;/&quot; + user.Name + &quot;/UserOptions.View.ShowEntireTree&quot;;&#xA;            user.Profile.Initialize(user.Name, true);&#xA;            user.Profile[key] = &quot;true&quot;;&#xA;            user.Profile.Save();&#xA;&#xA;            RegistryCache registryCache = CacheManager.GetRegistryCache(Context.Site);&#xA;            registryCache.Clear();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Still not working, Do I doing it wrong? If I clear all the cache from sitecore/admin/cache.aspx then the checkbox is checked just by using refresh (F5)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank You&lt;/p&gt;&#xA;" OwnerUserId="1696" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-16T20:17:28.860" Title="Automatically check some ribbon item" Tags="|user-profile|ribbon|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4935" PostTypeId="1" CreationDate="2017-03-16T06:34:07.390" Score="2" ViewCount="1504" Body="&lt;p&gt;I have a people node which consists of &lt;strong&gt;3500&lt;/strong&gt; people. Out of 3500 people &lt;strong&gt;2600&lt;/strong&gt; items are marked as &lt;code&gt;NeverPublished=True&lt;/code&gt;. So in Web database I have only &lt;strong&gt;900&lt;/strong&gt; items.&#xA;i want a fast query on master database which return all the items whether published or not published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used the following fast query&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;fast:/sitecore/content/Home/People//*[@@templateid='{AECD90BE-9289-4F7F-AA26-6C5ED88B6E65}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I am executing this fast query in Sitecore XPath window, it is returning 3500 item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I am executing the same query from C# code, it is only returning 900 item. &#xA;I have checked the max item setting, it is set to 0 i.e. no limit on result count&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked the Context Database, it is master. I have hard coded the database to master, then again getting same response. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried using the SQL Table approach, i.e getting all item id from SQL Table then using sitecore api fetching each item. This time again, sitecore api is returning null for NonPublishble Item. &lt;/p&gt;&#xA;" OwnerUserId="1667" LastEditorUserId="1667" LastEditDate="2017-03-16T08:12:15.790" LastActivityDate="2018-03-14T14:17:31.490" Title="Sitecore Fast Query not returning never published item" Tags="|sitecore-query|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="4936" PostTypeId="2" ParentId="4935" CreationDate="2017-03-16T07:34:57.063" Score="2" Body="&lt;p&gt;Try executing your query against the master database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var database = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;var items = database.SelectItems(&quot;/sitecore/content/Home/People//*[@@templateid='{AECD90BE-9289-4F7F-AA26-6C5ED88B6E65}']&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2017-03-16T07:44:10.400" LastActivityDate="2017-03-16T07:44:10.400" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="4937" PostTypeId="2" ParentId="4932" CreationDate="2017-03-16T07:36:39.133" Score="1" Body="&lt;p&gt;If you don't want to use &lt;code&gt;URL Rewrite Module&lt;/code&gt; (and from your comment I see you don't want it), you need to change the code of your processor slightly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add an entry like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UrlFrom ://abc.mysite.com&#xA;UrlTo www.mysite.com/part-1/part-2/part-3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and call &lt;code&gt;GetTargetURL&lt;/code&gt; as you do now:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var key = args.Context.Request.Url.PathAndQuery.TrimEnd(new[] { '/' });&#xA;&#xA;// for &quot;abc.mysite.com&quot; key will be an empty string&#xA;if (string.IsNullOrEmpty(key))&#xA;{&#xA;    // for &quot;abc.mysite.com&quot; it will return &quot;://abc.mysite.com&quot;&#xA;    key = string.Format(&quot;://&quot; + Request.Url.DnsSafeHost);&#xA;}&#xA;var targeturl = objDB.GetTargetURL(key);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you do this like that, you don't need to write any custom code that will check if domain is &lt;code&gt;abc.mysite.com&lt;/code&gt;. And you will be able to add more subdomain redirects without any code changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One important thing is: you need to make should that either your database call are really efficient or cached. You don't want to make a call to database for every home page request if it's not necessary.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-03-16T20:54:36.883" LastActivityDate="2017-03-16T20:54:36.883" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4939" PostTypeId="1" AcceptedAnswerId="4945" CreationDate="2017-03-16T08:47:28.850" Score="2" ViewCount="79" Body="&lt;p&gt;In Habitat, the &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Feature/Accounts/code/Services/UserProfileService.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;UserProfileService&lt;/a&gt; class has a method for validating users, which is called on login. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool ValidateUser(User user)&#xA;{&#xA;    if (!string.Equals(user.Domain.Name, Context.Site.Domain.Name, StringComparison.InvariantCultureIgnoreCase))&#xA;        return false;&#xA;&#xA;    this.SetProfileIfEmpty(user);&#xA;&#xA;    return this.GetUserDefaultProfileId() == user.Profile.ProfileItemId;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is the purpose of the last line?&lt;/strong&gt; What does Habitat need to confirm, before considering a user valid? The only thing I can see from following the code is that we try to find an Edit Profile page, but I'm sure I'm missing something. &lt;/p&gt;&#xA;" OwnerUserId="1106" LastEditorUserId="247" LastEditDate="2017-04-16T16:49:00.100" LastActivityDate="2017-04-16T16:49:00.100" Title="Why does Habitat need to compare User Profile information?" Tags="|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4940" PostTypeId="1" CreationDate="2017-03-16T09:38:36.153" Score="3" ViewCount="2892" Body="&lt;p&gt;EDIT: I'm doing this in the Design part of RTE, NOT Html.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I select a piece of text thats in a &amp;lt;'p&gt;. Then &quot;Apply Css Class&quot; to add a class which changes the background color. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This becomes a &amp;lt;'span&gt; inside the &amp;lt;'p&gt;, and only gives a background color to the text. Not the paragraph. I wish the class to be set on the &amp;lt;'p&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Expected:&lt;/strong&gt;&#xA;&amp;lt;'p class=&quot;blue&quot;&gt;lorem ipsum&amp;lt;'/p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt;&#xA;&amp;lt;'p&gt;&amp;lt;'span class=&quot;blue&quot;&gt;lorem ipsum&amp;lt;'/span&gt;&amp;lt;'/p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know how to achieve the &lt;strong&gt;Expected&lt;/strong&gt;? I would like to do this without have to edit HTML in RTE. &lt;/p&gt;&#xA;" OwnerUserId="756" LastActivityDate="2019-11-13T13:15:14.913" Title="Apply Css class around &lt;p&gt;, Rich Text Editor - Sitecore 8.2u2" Tags="|richtext-editor|css|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4941" PostTypeId="2" ParentId="4934" CreationDate="2017-03-16T09:42:24.290" Score="0" Body="&lt;p&gt;You could achieve this by setting registry as shown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bJ8gi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bJ8gi.png&quot; alt=&quot;PS script to change the registry&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    --Get the default value&#xA;    [Sitecore.Web.UI.HtmlControls.Registry]::GetBool(&quot;/Current_User/UserOptions.View.ShowEntireTree&quot;)&#xA;    --Set 'true' to the context user        &#xA;[Sitecore.Web.UI.HtmlControls.Registry]::SetBool(&quot;/Current_User/UserOptions.View.ShowEntireTree&quot;,$true)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can write respective C# code to do the similar stuff after post login or something like that.&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-03-16T09:42:24.290" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4942" PostTypeId="1" AcceptedAnswerId="4973" CreationDate="2017-03-16T09:45:58.557" Score="1" ViewCount="94" Body="&lt;p&gt;Ours is a multisite instance running on sc8.0 update 5.&lt;br&gt;&#xA;A user record is auto created when visitor logs in using the Social connector, and I need to prevent that for a particular site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I did.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;custom.config:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA; &amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;httpRequestBegin&amp;gt;&#xA;   &amp;lt;processor patch:instead=&quot;processor[@type='Sitecore.Social.Connector.Pipelines.MatchUser.CreateUser, Sitecore.Social']&quot;&#xA;              type=&quot;MySite.Foundation.Common.Utilities.SitecoreExtensions+MySiteSocial, MySite.Foundation.Common&quot;&amp;gt;&#xA;     &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;MYSITE&amp;lt;/site&amp;gt;            &#xA;     &amp;lt;/sites&amp;gt;&#xA;   &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/httpRequestBegin&amp;gt;&#xA; &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SitecoreExtensions.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SitecoreExtensions&#xA;{&#xA;  public class MysiteSocial : HttpRequestProcessor&#xA;  {&#xA;    public List&amp;lt;string&amp;gt; Sites { get; set; }&#xA;&#xA;    public MysiteSocial()&#xA;    {&#xA;      Sites = new List&amp;lt;string&amp;gt;();&#xA;    }&#xA;&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;      if (Sites.Contains(Sitecore.Context.Site.Name))&#xA;        return;      &#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The user is still getting created. How can I go about achieving what I need.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-03-17T11:43:49.053" LastActivityDate="2017-03-17T12:31:44.923" Title="Prevent user creation on social login" Tags="|social-connected|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4945" PostTypeId="2" ParentId="4939" CreationDate="2017-03-16T10:50:41.597" Score="3" Body="&lt;p&gt;It's just ensuring that the user has the default profile, because they are editing/reading/registrating the users with exactly the Default Profile.&#xA;You can see in the &lt;code&gt;Sitecore.Feature.Accounts.Controllers.AccountsController.Register&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Register(RegistrationInfo registrationInfo)&#xA;{&#xA;    if (this.accountRepository.Exists(registrationInfo.Email))&#xA;    {&#xA;        this.ModelState.AddModelError(nameof(registrationInfo.Email), UserAlreadyExistsError);&#xA;&#xA;        return this.View(registrationInfo);&#xA;    }&#xA;&#xA;    try&#xA;    {&#xA;        // here is the registration with the default profile ID&#xA;        this.accountRepository.RegisterUser(registrationInfo.Email, registrationInfo.Password, this.userProfileService.GetUserDefaultProfileId());&#xA;        this.contactProfileService?.SetPreferredEmail(registrationInfo.Email);&#xA;&#xA;        var link = this.getRedirectUrlService.GetRedirectUrl(AuthenticationStatus.Authenticated);&#xA;        return this.Redirect(link);&#xA;    }&#xA;    catch (MembershipCreateUserException ex)&#xA;    {&#xA;        Log.Error($&quot;Can't create user with {registrationInfo.Email}&quot;, ex, this);&#xA;        this.ModelState.AddModelError(nameof(registrationInfo.Email), ex.Message);&#xA;&#xA;        return this.View(registrationInfo);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-03-16T10:50:41.597" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4947" PostTypeId="1" CreationDate="2017-03-16T12:12:25.427" Score="7" ViewCount="932" Body="&lt;p&gt;We have problems deploying Sitecore update packages to our servers. Using Sitecore Update package wizard in a local machine to deploy master update package takes about 70-90 seconds, but in the development server, it takes 7 minutes at least, and in the production server, it could take more than 10 minutes getting a timeout sometimes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are concerned about so huge difference in time between our local machines and our servers, in consequence our deploy times take more time than desired, and we would like to reduce it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our Update package is small, it contains about 2200 items, its size is 5500 kb. We don't have large media items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our development/production servers are in Azure as a virtual machine and we use Azure Sql Database. We have been monitoring them while deploying update package and all resources are far from max capacity, CPU of VM is always under 30%, it has a lot of free RAM, hard disk I/O are low, network is low too and database DTU is around 20%. Our current Sitecore Version is 8.0 rev 1 50621&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea why is take so much time to deploy the update packages in our servers? Someone using azure as infrastructure has faster update packages than us?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've been done several tests in azure, with different service tiers. We have tested With S2, S3, and P4 Azure Sql database and there is no difference in time between them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our DB Team has checked Database all it seems Ok, monitoring it they have seen that Sitecore opens two connections to Database and most of the time while Sitecore is doing deployment they are in awaiting command. As I said the VM is not out of resources. We have calculated that for our update package deploy Sitecore performs about 200.000 operations to Database (insert, deletes, updates,..). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are starting to think about network latency problems, doing so many operations to the database if latency is not very low could take some time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1700" LastEditorUserId="4050" LastEditDate="2019-12-21T05:52:20.343" LastActivityDate="2019-12-21T05:52:20.343" Title="Package installation wizard slow on our servers" Tags="|azure|update-packages|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="4948" PostTypeId="2" ParentId="4947" CreationDate="2017-03-16T13:00:02.927" Score="6" Body="&lt;p&gt;I have seen similar slow-downs in Azure talking to Azure SQL. It seems to be related to the number of database calls made by the installation wizard and general network latency. When you execute locally, you eliminate all of that chatter back and forth.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We ran into extreme performance issues when the Azure SQL had georeplication and we discovered we were connecting to the alternate region (e.g. an East US Sitecore instance connecting to the West US Azure SQL). If you can keep things within the same region, that speeds things up to a manageable level.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-03-16T13:00:02.927" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4949" PostTypeId="2" ParentId="4940" CreationDate="2017-03-16T13:14:31.970" Score="2" Body="&lt;p&gt;You should be able to do this fairly easily.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to the root of your site and open up default.css (this comes by default with Sitecore).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the following at the bottom of the file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;p.blue {&#xA;    background-color:blue;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Go to \sitecore\shell\Controls\Rich Text Editor\ToolsFile.xml. Find the     'classes' element (or add one if it doesn't exist) and add your style:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;classes&amp;gt;&#xA;        &amp;lt;class name=&quot;Blue Background&quot; value=&quot;p.blue&quot; /&amp;gt;&#xA;&amp;lt;/classes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then save the files. Clear your browser cache and refresh the editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should then find selecting a paragraph and choosing this option from the class drop-down in the RTE will style it correctly.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-03-16T13:14:31.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4950" PostTypeId="2" ParentId="4947" CreationDate="2017-03-16T15:04:33.743" Score="7" Body="&lt;p&gt;Make sure that your Azure SQL is running on the latest V12 version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you're using Sitecore 8.0 update-4 it would suggest you maybe set these servers up a while ago, so there is the possibility that you created the databses on the older V11 version of the SQL Azure platform. You can check by logging into the portal and checking the databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BU0hU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BU0hU.png&quot; alt=&quot;SQL Azure Version&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also running the following SQL statement against the database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT &#xA;  SERVERPROPERTY('ProductVersion') AS ProductVersion&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We noticed a big difference in performance between the 2 versions and solved a number of performance issues in our site when we moved across to SQL Azure V12.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also mention you are using Standard S2 size. I would recommend that you use Premium P1, but at a minimum would recommend Standard S3. Of course this all depends on your site, traffic, patterns etc but that would be my general recommendation.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-03-16T15:04:33.743" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="4952" PostTypeId="1" AcceptedAnswerId="4956" CreationDate="2017-03-16T16:11:53.657" Score="0" ViewCount="3640" Body="&lt;p&gt;I need to know how many components final layout has for each language programmatically. Is it any Sitecore API for it ?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="605" LastEditDate="2017-03-16T18:41:02.130" LastActivityDate="2017-03-16T18:41:02.130" Title="Get amount of components on final layout programmatically" Tags="|presentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4953" PostTypeId="2" ParentId="4952" CreationDate="2017-03-16T16:14:27.370" Score="2" Body="&lt;p&gt;You should be able to get a list all the renderings by calling:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Visualization.GetRenderings(Sitecore.Context.Device, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-03-16T16:14:27.370" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4954" PostTypeId="2" ParentId="4924" CreationDate="2017-03-16T16:23:14.540" Score="2" Body="&lt;p&gt;&lt;em&gt;Comments from our short discussion converted into an answer.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore everything is an item. Template is an item, field is an item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your model contains 9 fields, using any of them counts as an &lt;em&gt;item touch&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also for &lt;code&gt;BaseTemplateIds&lt;/code&gt; there will be a single item read for each of the base templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why for creating a model from a single item, Sitecore does multiple item reads (19 in your case).&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-03-16T16:23:14.540" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4955" PostTypeId="2" ParentId="409" CreationDate="2017-03-16T17:38:08.897" Score="0" Body="&lt;p&gt;My html cache eventually started showing data. It did reset to zero every once and a while. But going into debug (in the tracing section) mode I was able to confirm my renderings were pulling from html cache. The trick was to uncheck the boxes for rendering borders and information. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's a sample of what cached renderings look like in the tracing section&#xA;&lt;a href=&quot;https://jermdavis.wordpress.com/2017/10/02/measure-if-you-want-to-go-faster/&quot; rel=&quot;nofollow noreferrer&quot;&gt;link here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="433" LastEditorUserId="3182" LastEditDate="2018-08-02T19:43:57.497" LastActivityDate="2018-08-02T19:43:57.497" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4956" PostTypeId="2" ParentId="4952" CreationDate="2017-03-16T18:40:59.473" Score="12" Body="&lt;p&gt;This can be done by parsing the layout XML for each field (renderings and final renderings). The key is to use &lt;code&gt;Sitecore.Data.Fields.LayoutField.GetFieldValue&lt;/code&gt; in order to obtain the XML value, otherwise you won't get the full XML with delta applied (final renderings --&gt; shared renderings --&gt; standard values).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore PowerShell I was able to make it work with something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = gi /sitecore/content/Home -Language 'en-US'&#xA;&#xA;$sharedLayoutField = $item.Fields[[Sitecore.FieldIDs]::LayoutField]&#xA;$finalLayoutField = $item.Fields[[Sitecore.FieldIDs]::FinalLayoutField]&#xA;&#xA;$sharedLayoutXml = [Sitecore.Data.Fields.LayoutField]::GetFieldValue($sharedLayoutField)&#xA;$finalLayoutXml = [Sitecore.Data.Fields.LayoutField]::GetFieldValue($finalLayoutField)&#xA;&#xA;$sharedLayout = [Sitecore.Layouts.LayoutDefinition]::Parse($sharedLayoutXml)&#xA;$finalLayout = [Sitecore.Layouts.LayoutDefinition]::Parse($finalLayoutXml)&#xA;&#xA;$sharedLayout.Devices[0].Renderings.Count&#xA;$finalLayout.Devices[0].Renderings.Count&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In C#, something similar to this should do the trick.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Returns the number of shared and final renderings for an item.&#xA;// Final renderings are based on language/version of item.&#xA;// This presumes there is only one device with renderings configured.&#xA;public static System.Tuple&amp;lt;int, int&amp;gt; CountRenderings(Sitecore.Data.Items.Item item)&#xA;{&#xA;    var sharedRenderingsCount = CountRenderings(item, Sitecore.FieldIDs.LayoutField);&#xA;    var finalRenderingCount = CountRenderings(item, Sitecore.FieldIDs.FinalLayoutField);&#xA;    return Tuple.Create(sharedRenderingsCount, finalRenderingCount);&#xA;}&#xA;&#xA;private static int CountRenderings(Sitecore.Data.Items.Item item, Sitecore.Data.ID renderingFieldId)&#xA;{&#xA;    var field = item.Fields[renderingFieldId];&#xA;    var layoutXml = Sitecore.Data.Fields.LayoutField.GetFieldValue(field);&#xA;    var layout = Sitecore.Layouts.LayoutDefinition.Parse(layoutXml);&#xA;    var deviceLayout = layout.Devices[0] as Sitecore.Layouts.DeviceDefinition;&#xA;    return (deviceLayout?.Renderings.Count) ?? 0;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Of course, if you are using multiple devices, you will have to change the logic to pass in a device as parameter and return rendering count only for that device.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to compare languages as well, you'll have to check the final renderings for each language variant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some reading:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jermdavis.wordpress.com/2015/07/20/editing-layout-details/&quot; rel=&quot;noreferrer&quot;&gt;https://jermdavis.wordpress.com/2015/07/20/editing-layout-details/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/programmatically-update-layout-details-with-the-sitecore-asp-net-cms&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/programmatically-update-layout-details-with-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-03-16T18:40:59.473" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4958" PostTypeId="2" ParentId="4934" CreationDate="2017-03-16T20:17:28.860" Score="2" Body="&lt;p&gt;As you have specified in your comment, clearing the cache from the &lt;code&gt;cache.aspx&lt;/code&gt; page, fixed the issue. The reason why even clearing the cache from the code is not working is because the &lt;code&gt;Context.Site&lt;/code&gt; is not the correct one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Context.Site&lt;/code&gt; at this point is equal to &lt;code&gt;login&lt;/code&gt;. You should clear the cache for the &lt;code&gt;shell&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace CustomLogin&#xA;{&#xA;    public class EnforceEntireTree&#xA;    {&#xA;        public void Process(LoggedInArgs args)&#xA;        {&#xA;            User user = User.FromName(args.Username, true);&#xA;            Assert.IsNotNull(user, &quot;user&quot;);&#xA;&#xA;            string key = &quot;/&quot; + user.Name + &quot;/UserOptions.View.ShowEntireTree&quot;;&#xA;            user.Profile.Initialize(user.Name, true);&#xA;            user.Profile[key] = &quot;true&quot;;&#xA;            user.Profile.Save();&#xA;&#xA;            // Get the shell site here&#xA;            var site = Sitecore.Sites.SiteContext.GetSite(&quot;shell&quot;);&#xA;            RegistryCache registryCache = CacheManager.GetRegistryCache(site );&#xA;            registryCache.Clear();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-03-16T20:17:28.860" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4959" PostTypeId="1" AcceptedAnswerId="4972" CreationDate="2017-03-16T21:01:37.010" Score="2" ViewCount="128" Body="&lt;p&gt;We are using Coveo on perm 4.0 edition with Sitecore 8.1 update 3. &#xA;We have CM and CD configured to use the Coveo indexes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I query the results on CM and on CD it uses different indexes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1tKmR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1tKmR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how do I tell Coveo to use particular index which I know has proper documents?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For testing purposes I want Coveo to use only CD indexes for CM and CD both.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried searching for the index names used in screenshot in all Coveo configs but could not find anything.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any inputs here?&lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorUserId="4050" LastEditDate="2019-12-21T05:52:27.940" LastActivityDate="2019-12-21T05:52:27.940" Title="How Coveo reads indexes?" Tags="|content-search|coveo|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="4960" PostTypeId="1" AcceptedAnswerId="4980" CreationDate="2017-03-16T23:36:23.487" Score="0" ViewCount="209" Body="&lt;p&gt;Using the Sitecore.Ship Deployment task in VSTS and it seems to pass and the log seems to indicate things are getting deployed but after the deployment is done, the items in the .update package are not in the Sitecore instance. Thoughts on where to debug or what to check?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; 2017-03-16T18:54:44.5106368Z ##[section]Starting: Sitecore Ship&#xA;&#xA;    2017-03-16T18:54:44.5416084Z ==============================================================================&#xA;&#xA;    2017-03-16T18:54:44.5416084Z Task         : Sitecore Ship&#xA;&#xA;    2017-03-16T18:54:44.5416084Z Description  : Deploy sitecore packages through Sitecore Ship&#xA;&#xA;    2017-03-16T18:54:44.5416084Z Version      : 1.0.8&#xA;&#xA;    2017-03-16T18:54:44.5416084Z Author       : Geert van der Cruijsen&#xA;&#xA;    2017-03-16T18:54:44.5416084Z Help         : Version: 1.0. [More Information](https://github.com/Geertvdc/VSTS-Build-SitecoreShip)&#xA;&#xA;    2017-03-16T18:54:44.5416084Z ==============================================================================&#xA;&#xA;    2017-03-16T18:54:46.7284066Z ##[debug]VstsTaskSdk 0.6.2 commit b4160c33da0010bd83279e9ffa9bbf13bcbd1ce2&#xA;&#xA;    2017-03-16T18:54:46.8304120Z ##[debug]Entering D:\a\_tasks\SitecoreShip_2a98c55b-3e29-4955-b6b8-f9a3dd88d0cb\1.0.8\sitecoreship.ps1.&#xA;&#xA;    2017-03-16T18:54:46.8633993Z ##[debug]Env:INPUT_FILEURL: 'D:\a\r1\a\CI Dev\drop\Hydrogen\Project\Hydrogen.Project.Website.Tds\bin\Package_Release\Hydrogen.Project.Website.update'&#xA;&#xA;    2017-03-16T18:54:46.8664038Z ##[debug]Env:INPUT_SITECOREURL: 'http://vmname.westus.cloudapp.azure.com/'&#xA;&#xA;    2017-03-16T18:54:46.8674089Z Sitecore URL http://vmname.westus.cloudapp.azure.com/&#xA;&#xA;    2017-03-16T18:54:46.8674089Z file URL D:\a\r1\a\CI Dev\drop\Hydrogen\Project\Hydrogen.Project.Website.Tds\bin\Package_Release\Hydrogen.Project.Website.update&#xA;&#xA;    2017-03-16T18:54:46.8683993Z create httpclient&#xA;&#xA;    2017-03-16T18:54:46.8919226Z file opened&#xA;&#xA;    2017-03-16T18:54:46.9227821Z form content created&#xA;&#xA;    2017-03-16T18:54:46.9227821Z before postAsync&#xA;&#xA;    2017-03-16T18:55:21.5286835Z After postAsync&#xA;&#xA;    2017-03-16T18:55:21.5426824Z {&quot;Entries&quot;:[{&quot;ID&quot;:&quot;12687106-0218-41c4-98f7-fa475a85a01f&quot;,&quot;Path&quot;:&quot;addeditems/master/sitecore/templates/site&quot;},...&#xA;&#xA;    2017-03-16T18:55:21.5676838Z ##[section]Finishing: Sitecore Ship&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="901" LastActivityDate="2017-03-25T04:38:22.763" Title="Sitecore.Ship Shows Success but Items Don't Appear" Tags="|sitecore-ship|" AnswerCount="1" CommentCount="4" ClosedDate="2017-03-23T23:43:04.190" ContentLicense="CC BY-SA 3.0" />
  <row Id="4962" PostTypeId="2" ParentId="4827" CreationDate="2017-03-17T00:18:21.283" Score="0" Body="&lt;p&gt;Spoke to Sitecore about this and they recommended going straight to the database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DELETE FROM SharedFields WHERE SharedFields.ItemId = 'XXX' &#xA;DELETE FROM VersionedFields WHERE VersionedFields.ItemId = 'XXX'&#xA;DELETE FROM UnversionedFields WHERE UnversionedFields.ItemId = 'XXX'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems to have worked OK&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2017-03-17T00:18:21.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4964" PostTypeId="1" AcceptedAnswerId="5146" CreationDate="2017-03-17T06:50:37.557" Score="1" ViewCount="566" Body="&lt;p&gt;I have installed EXM 3.4 update 1 on clean Sitecore 8.2 update 2 instance. After completion of post installation steps I am getting below exceptions in log files.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.ExM.Framework.Exceptions.ConnectivityException&#xA;Message: Failed to retrieve session information from the session data provider.&#xA;Source: Sitecore.ExM.Framework&#xA;   at Sitecore.ExM.Framework.Distributed.Sessions.EnvironmentReader.GetSessions(Boolean includeSessionData, Boolean includeRuntimeData, Boolean includeStatistics, Boolean onlyActive, Nullable`1 expirationTimeLimit)&#xA;   at Sitecore.ExM.Framework.Distributed.Sessions.EnvironmentReader.GetSessionsByOwner(Boolean includeSessionData, Boolean includeRuntimeData, Boolean includeStatistics)&#xA;   at Sitecore.ExM.Framework.Distributed.Sessions.Environment.Maintain()&#xA;   at Sitecore.ExM.Framework.Distributed.Sessions.Session.OnSessionUpdateEvent()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: Cannot open database &quot;Sitecore_EXM&quot; requested by the login. The login failed.&#xA;Login failed for user 'sa'.&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)&#xA;   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.Open()&#xA;   at Sitecore.ExM.Framework.DataProviders.SqlSessionDataProvider.&amp;lt;&amp;gt;c__DisplayClass1.&amp;lt;GetSessions&amp;gt;b__0()&#xA;   at Sitecore.ExM.Framework.DataProviders.SqlUtil.InvokeWithDeadlockRetry[TReturn](Func`1 function, Int32 maxNumberOfAttempts)&#xA;   at Sitecore.ExM.Framework.Distributed.Sessions.EnvironmentReader.GetSessions(Boolean includeSessionData, Boolean includeRuntimeData, Boolean includeStatistics, Boolean onlyActive, Nullable`1 expirationTimeLimit)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-04-05T07:27:55.417" Title="Sitecore EXM 3.4 Update 1 connectivity error" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4965" PostTypeId="2" ParentId="4964" CreationDate="2017-03-17T06:50:37.557" Score="0" Body="&lt;p&gt;This is because when you attached Sitecore &lt;code&gt;Sitecore_EXM&lt;/code&gt; and &lt;code&gt;Sitecore_EXM_WEB&lt;/code&gt; databases in SQL Server. They get attached as &lt;strong&gt;Sitecore81_EXM&lt;/strong&gt; and &lt;strong&gt;Sitecore81_EXM_WEB&lt;/strong&gt;, so database names in connection string config and attached databases is mismatched. Either Rename your &lt;code&gt;exm&lt;/code&gt; databases in config file to match exactly same as attached dbs in SQL server or rename SQL server dbs to match exactly same as per config file to fix this issue.&#xA;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-04-04T03:14:10.287" LastActivityDate="2017-04-04T03:14:10.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4966" PostTypeId="1" AcceptedAnswerId="4969" CreationDate="2017-03-17T08:59:46.200" Score="3" ViewCount="403" Body="&lt;p&gt;We have a multisite instance, and for a particular site (&quot;mysite&quot;), the requirement is as follows: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When visitor logs in using the Social connector, prevent the user record being saved in Sitecore User Manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To achieve this, I replaced the existing attribute in the config with a custom one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Social.config&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;social.matchUser&amp;gt;&#xA; .....&#xA; .....&#xA; &amp;lt;!--&amp;lt;processor type=&quot;Sitecore.Social.Connector.Pipelines.MatchUser.CreateUser, Sitecore.Social&quot; /&amp;gt;--&amp;gt;&#xA; &amp;lt;processor type=&quot;MySite.Foundation.Common.SitecoreExtensions+MySiteSocial, MySite.Foundation.Common&quot; /&amp;gt;        &#xA;&amp;lt;/social.matchUser&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SitecoreExtensions.cs&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SitecoreExtensions&#xA;{&#xA;  public class MySiteSocial&#xA;  {&#xA;     public void Process(SelectUserPipelineArgs args)&#xA;     {&#xA;       //code as it is in the Sitecore.Social dll&#xA;       .....&#xA;       //condition to not save user for certain site&#xA;       if(Sitecore.Context.GetSiteName() != &quot;MySite&quot;)&#xA;       {&#xA;         args.Result = this.CreateSitecoreUser(fullName, args.Email, args.AccountBasicData.FullName);&#xA;       }    &#xA;     }&#xA;   }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Though this might work, I know this is not the right way to patch a custom process. How should I patch the processor the right way and also ensure that this in only for a certain site.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-03-17T09:48:45.443" Title="How to patch processor type in a multisite instance" Tags="|social-connected|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4967" PostTypeId="2" ParentId="4966" CreationDate="2017-03-17T09:05:58.277" Score="1" Body="&lt;p&gt;You should follow next solution. Please look also on the link that I provided you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The configuration for this processor looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&#xA;  &amp;lt;processor type=&quot;ParTech.Pipelines.HttpRequestBegin.ItemVersionValidator, ParTech&quot;&#xA;         patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.LayoutResolver, Sitecore.Kernel']&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;Allowed sites&quot;&amp;gt;my-sitename-a, my-sitename-b, my-sitename-c&amp;lt;/param&amp;gt;&#xA; &amp;lt;/processor&amp;gt;&#xA;&amp;lt;/httpRequestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The class will look like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  using System;&#xA;  using System.Linq;&#xA;  using Sitecore;&#xA;&#xA;  /// &amp;lt;summary&amp;gt;&#xA;  /// Sitecore pipeline processor which can be configured to run only for    specific sites.&#xA; /// &amp;lt;/summary&amp;gt;&#xA; public abstract class IsolatedProcessor&#xA; {&#xA;    private readonly string[] allowedSites;&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;   /// Initializes a new instance of the &amp;lt;see cref=&quot;IsolatedProcessor&quot; /&amp;gt; class.&#xA;  /// &amp;lt;/summary&amp;gt;&#xA;  /// &amp;lt;param name=&quot;allowedSites&quot;&amp;gt;&#xA;   /// Comma-separated string with names of the sites for which this processor must run.&#xA;   /// &amp;lt;/param&amp;gt;&#xA;protected IsolatedProcessor(string allowedSites)&#xA;{&#xA;    this.allowedSites = (allowedSites ?? string.Empty)&#xA;        .Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries)&#xA;        .Select(x =&amp;gt; x.ToLower().Trim())&#xA;        .ToArray();&#xA;}&#xA;&#xA;/// &amp;lt;summary&amp;gt;&#xA;/// Gets a value indicating whether this instance is allowed to run in the current context.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;protected bool IsAllowedRequest&#xA;{&#xA;    get &#xA;    {&#xA;        return this.allowedSites.Length == 0 &#xA;            || this.allowedSites.Contains(Context.GetSiteName().ToLower());&#xA;    }&#xA; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is an example of how is implemented the IsolatedProcessor for the ItemVersionValidator processor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemVersionValidator : IsolatedProcessor&#xA;{&#xA;public ItemVersionValidator(string allowedSites = null)&#xA;    : base(allowedSites)&#xA;{&#xA;}&#xA;&#xA;public void Process(HttpRequestArgs args)&#xA;{&#xA;    // Only process allowed requests.&#xA;    if (!this.IsAllowedRequest)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    // Execute processor logic.&#xA;    if (Context.Item != null &amp;amp;&amp;amp; Context.Item.Versions.Count == 0)&#xA;    {&#xA;        Context.Item = null;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;a href=&quot;http://www.partech.nl/nl/blog/2014/09/isolating-pipeline-processors-and-event-handlers&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.partech.nl/nl/blog/2014/09/isolating-pipeline-processors-and-event-handlers&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-03-17T09:31:01.127" LastActivityDate="2017-03-17T09:31:01.127" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4969" PostTypeId="2" ParentId="4966" CreationDate="2017-03-17T09:48:45.443" Score="2" Body="&lt;p&gt;Could you please try this. I have tried the same for httprequestbegin pipeline, it’s working fine :) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration as follows:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;social.matchUser&amp;gt;&#xA; .....&#xA; .....&#xA; &amp;lt;!--&amp;lt;processor type=&quot;Sitecore.Social.Connector.Pipelines.MatchUser.CreateUser, Sitecore.Social&quot; /&amp;gt;--&amp;gt;&#xA; &amp;lt;processor type=&quot;MySite.Foundation.Common.FilteredPipeline, MySite.Foundation.Common&quot; &amp;gt;&#xA;&amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;site1&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;site2&amp;lt;/site&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;        &#xA;&amp;lt;/social.matchUser&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Codebehind as follows:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FilteredPipeline&#xA;{&#xA;    public List&amp;lt;string&amp;gt; Sites { get; set; }&#xA;&#xA;    public FilteredPipeline()&#xA;    {&#xA;        Sites = new List&amp;lt;string&amp;gt;();&#xA;    }&#xA;&#xA;    public override void Process(SelectUserPipelineArgs args)&#xA;    {&#xA;        if (!Sites.Contains(Sitecore.Context.Site.Name))&#xA;            return;&#xA;&#xA;        // run your site specific code&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more : &lt;a href=&quot;https://jammykam.wordpress.com/2014/08/26/creating-site-specific-pipelines-for-multi-site-implementation-in-sitecore-cms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2014/08/26/creating-site-specific-pipelines-for-multi-site-implementation-in-sitecore-cms/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-03-17T09:48:45.443" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="4970" PostTypeId="1" AcceptedAnswerId="4971" CreationDate="2017-03-17T10:43:22.823" Score="10" ViewCount="3122" Body="&lt;p&gt;We have a multi-site scaled environment, with dedicated roles for CM, PRC, REP and CD, based on the XP1 Azure templates. Behind the load balancer, we have 2 CD instances. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the documentation, we need to set &lt;code&gt;Analytics.ClusterName&lt;/code&gt; (&lt;em&gt;Sitecore.Analytics.Tracking.config&lt;/em&gt;) to the domain name of the website, but in this case, we have a multi-site setup, i.e. multiple domain names.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you are creating a cluster of content delivery servers, use your&#xA;  domain name when naming the content delivery cluster.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;For example: value=&quot;cluster1.domain.com&quot;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Repeat this for each node in the cluster. For a single content&#xA;  delivery server, use the domain name of the server instead.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So, which value should I add to the &lt;code&gt;Analytics.ClusterName&lt;/code&gt; setting? The host name of the load balancer? Or, just any one of the domain names?&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2017-03-17T11:20:40.727" Title="Analytics.ClusterName in a multi-site scaled environment" Tags="|xdb|multisite|scaling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4971" PostTypeId="2" ParentId="4970" CreationDate="2017-03-17T11:20:40.727" Score="11" Body="&lt;h1&gt;Background&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The setting &lt;code&gt;Analytics.ClusterName&lt;/code&gt; serves two main purposes:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It is used as the identifier of the cluster that locks contacts in xDB;&lt;/li&gt;&#xA;&lt;li&gt;It is used by clusters to transfer sessions and jobs to other clusters.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The first use case is, more or less, self-explanatory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll elaborate on session transfers. Let's say you have two clusters:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;www1.yoursite.com&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;www2.yoursite.com&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When a user comes from their laptop to &lt;strong&gt;yoursite.com&lt;/strong&gt;, the request is served by &lt;strong&gt;www1.yoursite.com&lt;/strong&gt;, transparently to the user. The user signs in, which identifies them to the system as the contact &lt;strong&gt;john@example.com&lt;/strong&gt;. The contact &lt;strong&gt;john@example.com&lt;/strong&gt; is now locked to &lt;strong&gt;www1.yoursite.com&lt;/strong&gt; in the Collection database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the same time, this same user visits &lt;strong&gt;yoursite.com&lt;/strong&gt; from their smartphone, and this visit is served by &lt;strong&gt;www2.yoursite.com&lt;/strong&gt;. After several page loads, the user signs in, and xDB tries to get an exclusive lock on &lt;strong&gt;john@example.com&lt;/strong&gt; in the Collection database. This is impossible, since the contact is already locked by &lt;strong&gt;www1.yoursite.com&lt;/strong&gt;. Here's what happens next:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The cluster &lt;strong&gt;www2.yoursite.com&lt;/strong&gt; serializes the current user's session and invokes a web service on &lt;strong&gt;www1.yoursite.com&lt;/strong&gt; to push the user's session.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;www1.yoursite.com&lt;/strong&gt; accepts the session and merges it with its own running session of the same contact.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;www2.yoursite.com&lt;/strong&gt; uses an HTTP redirect to send the user's browser to &lt;strong&gt;www1.yoursite.com&lt;/strong&gt;. Both user sessions will now be handled by the same cluster.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The above is possible because the cluster names represent real domain names, and the clusters are available by those domain names.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Recommendations&lt;/h1&gt;&#xA;&#xA;&lt;h3&gt;When you have multiple content delivery clusters:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set up a separate domain name for each cluster;&lt;/li&gt;&#xA;&lt;li&gt;On every CD instance of every cluster, set the &lt;code&gt;Analytics.ClusterName&lt;/code&gt; setting accordingly;&lt;/li&gt;&#xA;&lt;li&gt;Make sure that the clusters are available by that domain name, both from the internet, and to each other. Session transfers are server-side web requests, so each cluster should see all other CD clusters;&lt;/li&gt;&#xA;&lt;li&gt;These domain names don't need to be specific to any domain names in your multisite solution. They are only needed for inter-cluster communication and forwarding users between clusters.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;When you have one content delivery cluster:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Set &lt;code&gt;Analytics.ClusterName&lt;/code&gt; to the main domain name of any site running on it. In this scenario, there should be no inter-cluster communication, so this setting will only serve one purpose: be the owner of contact locks in the Collection database.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Notes&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If your CM server has xDB tracking enabled, it should be considered a separate CD cluster, since the CM server role only supports InProc shared session. In this case, set its cluster name to a separate domain name, e.g. &lt;strong&gt;cm.yoursite.com&lt;/strong&gt; and make this domain name visible internally and externally.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-03-17T11:20:40.727" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4972" PostTypeId="2" ParentId="4959" CreationDate="2017-03-17T12:06:37.130" Score="3" Body="&lt;p&gt;In Coveo for Sitecore, the default filters only include the documents that are in your current index, based on the name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The name of the index is created using the following logic:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;(INDEX_NAME) - ((INSTANCE_NAME) OR (FARM_NAME))&lt;/code&gt; OR &lt;code&gt;(SOURCE_NAME)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you want both Sitecore instances to query the same index, the recommended way is to set the same &lt;code&gt;farmName&lt;/code&gt; tag in both configurations, as specified in the &lt;a href=&quot;https://developers.coveo.com/x/3oAkAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;Coveo for Sitecore Scaling Guide&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is is configurable in the &lt;strong&gt;Control Panel&lt;/strong&gt; &gt; &lt;strong&gt;Coveo Search&lt;/strong&gt; &gt; &lt;strong&gt;Configuration&lt;/strong&gt;, and select &lt;strong&gt;Configure&lt;/strong&gt; under the &lt;strong&gt;Farm Name&lt;/strong&gt; section.&lt;/p&gt;&#xA;" OwnerUserId="290" LastEditorUserId="70" LastEditDate="2017-10-02T15:39:55.497" LastActivityDate="2017-10-02T15:39:55.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4973" PostTypeId="2" ParentId="4942" CreationDate="2017-03-17T12:31:44.923" Score="4" Body="&lt;p&gt;Your configuration is targeting the wrong pipeline, by default the Social CreateUser method is in the &lt;code&gt;social.matchUser&lt;/code&gt; pipeline but your config specifies &lt;code&gt;httpRequestBegin&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also suggest patching a new processor first and then aborting the pipeline if it meets your criteria:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class SitecoreExtensions&#xA;{&#xA;    public class MySiteSocial&#xA;    {&#xA;        public List&amp;lt;string&amp;gt; Sites { get; set; }&#xA;&#xA;        public MysiteSocial()&#xA;        {&#xA;            Sites = new List&amp;lt;string&amp;gt;();&#xA;        }&#xA;&#xA;        public void Process(SelectUserPipelineArgs args)&#xA;        {&#xA;            if (Sites.Contains(Sitecore.Context.Site.Name))&#xA;                args.Abort();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the associated config patch to add this as the first processor in the correct pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA; &amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;social.matchUser&amp;gt;&#xA;   &amp;lt;processor type=&quot;MySite.Foundation.Common.Utilities.SitecoreExtensions.MySiteSocial, MySite.Foundation.Common&quot; patch:before=&quot;*[1]&quot;&amp;gt;&#xA;     &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;MYSITE&amp;lt;/site&amp;gt;            &#xA;     &amp;lt;/sites&amp;gt;&#xA;   &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/social.matchUser&amp;gt;&#xA; &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-03-17T12:31:44.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4974" PostTypeId="1" AcceptedAnswerId="4978" CreationDate="2017-03-17T13:18:46.037" Score="17" ViewCount="727" Body="&lt;p&gt;I've been reading the documentation around Express Migration, in preparation for trying it on a site, and I've come across a sentence in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express%20Migration%20Tool/20/Express%20Migration%20Tool%2020%20Initial%20Release/Release%20Notes&quot; rel=&quot;noreferrer&quot;&gt;release notes&lt;/a&gt; that I don't quite understand:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Dafcg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Dafcg.png&quot; alt=&quot;The release note in question&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The text refers to &quot;IDs on &lt;strong&gt;etalon&lt;/strong&gt;, source and target&quot; - but I do not understand what &quot;etalon&quot; means in this context. It's not a word I've come across before in Sitecore documentation or in English.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I &lt;a href=&quot;https://kb.sitecore.net/SearchResults#term=124729&quot; rel=&quot;noreferrer&quot;&gt;can't find that issue number on the knowledge base&lt;/a&gt; site. But a bit of googling suggests the word can mean &quot;&lt;em&gt;&lt;a href=&quot;https://www.google.co.uk/search?q=define%3Aetalon&amp;amp;ie=&amp;amp;oe=#dobs=etalon&amp;amp;spf=188&quot; rel=&quot;noreferrer&quot;&gt;a piece of optical equipment for measuring wavelength&lt;/a&gt;&lt;/em&gt;&quot;, &quot;&lt;em&gt;a horse used for breeding&lt;/em&gt;&quot; (if you add an accent) or &quot;&lt;em&gt;standard&lt;/em&gt;&quot; if &lt;a href=&quot;https://translate.google.co.uk/#fr/en/etalon&quot; rel=&quot;noreferrer&quot;&gt;you translate from French&lt;/a&gt;. The first two of those are clearly unrelated, and the third still doesn't make the meaning of that sentence entirely clear to me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My best guess so far is it might mean &quot;&lt;em&gt;the default state of a Sitecore database, as supplied in an install package&lt;/em&gt;&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I'm wondering if anyone can confirm whether I'm right or not?&lt;/p&gt;&#xA;" OwnerUserId="233" LastActivityDate="2017-03-17T14:33:42.870" Title="What do the release notes for the Express Migration Tool mean when they refer to &quot;etalon&quot;?" Tags="|migration|documentation|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4975" PostTypeId="2" ParentId="4974" CreationDate="2017-03-17T13:36:00.883" Score="4" Body="&lt;p&gt;I don't know if we can get this confirmed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I'm almost certain, in this context, etalon refers to ETL - Extract, Transform, Load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Extract,_transform,_load&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://en.wikipedia.org/wiki/Extract,_transform,_load&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Data extraction is where data is extracted from homogeneous or&#xA;  heterogeneous data sources; data transformation where the data is&#xA;  transformed for storing in the proper format or structure for the&#xA;  purposes of querying and analysis; data loading where the data is&#xA;  loaded into the final target database, more specifically, an&#xA;  operational data store, data mart, or data warehouse.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Since the data extraction takes time, it is common to execute the&#xA;  three phases in parallel. While the data is being extracted, another&#xA;  transformation process executes while processing the data already&#xA;  received and prepares it for loading while the data loading begins&#xA;  without waiting for the completion of the previous phases.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And for further reference: &lt;a href=&quot;http://www.webopedia.com/TERM/E/ETL.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.webopedia.com/TERM/E/ETL.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ETL is short for extract, transform, load, three database functions&#xA;  that are combined into one tool to pull data out of one database and&#xA;  place it into another database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Further...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ETL is used to migrate data from one database to another, to form data&#xA;  marts and data warehouses and also to convert databases from one&#xA;  format or type to another.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-03-17T13:36:00.883" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4976" PostTypeId="2" ParentId="4974" CreationDate="2017-03-17T13:54:11.267" Score="9" Body="&lt;p&gt;I would like to think that it is based on the race car from Sleeping Dogs: &lt;a href=&quot;http://sleepingdogs.wikia.com/wiki/Etalon&quot; rel=&quot;noreferrer&quot;&gt;http://sleepingdogs.wikia.com/wiki/Etalon&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A high-speed vehicle based on a Danish supercar? Sounds about right for the express migration :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Express Migration tool itself the Etalon instance seems to be the piece which stores the data about the comparison instance. It seems to store things like locations and security provider details. The basic migration context seems to have three properties: Etalon, Source, and Target. I would think that these three instances are likely what is referred to by the release notes.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-03-17T13:54:11.267" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="4977" PostTypeId="2" ParentId="4974" CreationDate="2017-03-17T14:08:39.377" Score="6" Body="&lt;p&gt;Etalon means &quot;standard&quot; or &quot;reference&quot; in many languages: &lt;a href=&quot;https://translate.google.com/#auto/en/etalon&quot; rel=&quot;noreferrer&quot;&gt;https://translate.google.com/#auto/en/etalon&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you decompile the Express Migration Tool, you'll see that this is all over the place. There's even a &lt;code&gt;InitializeComparisonInstanceArgs&lt;/code&gt;! I'm fairly certain this refers to the &quot;standard&quot; item (i.e. untouched from original Sitecore installation). So you would have:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Etalon: the item as it originally was in old Sitecore version.&lt;/li&gt;&#xA;&lt;li&gt;Source: the item from Sitecore instance we're migrating.&lt;/li&gt;&#xA;&lt;li&gt;Target: the item in the target Sitecore version.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I've noticed that items within system branch templates in particular tend to change IDs between versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would be nice to get this confirmed. Love the question though. :)&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-03-17T14:08:39.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4978" PostTypeId="2" ParentId="4974" CreationDate="2017-03-17T14:20:56.463" Score="17" Body="&lt;p&gt;This is quite amusing :-) Here's a summary from one of the developers of the module:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The &quot;Etalon&quot; instance is a synonym of &quot;comparison&quot; instance. It's a&#xA;  clean Sitecore instance with the same version as the source instance.&#xA;  The source is compared with the Etalon. The delta is extracted and&#xA;  moved to the target instance.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Etalon is described by him as &quot;Something used to compare and find the difference&quot; but then linked to &lt;a href=&quot;https://en.oxforddictionaries.com/definition/etalon&quot; rel=&quot;noreferrer&quot;&gt;https://en.oxforddictionaries.com/definition/etalon&lt;/a&gt;, which to be honest looks more suited to the Physics world instead of IT, but there you have it.&lt;/p&gt;&#xA;" OwnerUserId="85" LastActivityDate="2017-03-17T14:20:56.463" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4979" PostTypeId="2" ParentId="4974" CreationDate="2017-03-17T14:33:42.870" Score="11" Body="&lt;p&gt;etalon does indeed refer to the &lt;strong&gt;comparison instance&lt;/strong&gt;, but it should not have made it into public-facing documentation. 'Comparison instance' is the official term (not as fun, but there you go) and the release notes have been updated accordingly. If you find the word 'etalon' in any public-facing API or interface, let me know. :) It can stay in the source code and add some international flavour.&lt;/p&gt;&#xA;" OwnerUserId="340" LastActivityDate="2017-03-17T14:33:42.870" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="4980" PostTypeId="2" ParentId="4960" CreationDate="2017-03-17T15:21:14.307" Score="0" Body="&lt;p&gt;Looks like Sitecore.Ship in the latest branch does not support Sitecore 8.2 Update 2 yet and it is a known issue. &lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship/issues/70&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kevinobee/Sitecore.Ship/issues/70&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a pull-request from dharnitski that allows for 8.2 support - &lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship/pull/69&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kevinobee/Sitecore.Ship/pull/69&lt;/a&gt;. The gist of it is the ProcessingMode needs to be set to All in 8.2 but this property doesn't exist prior to 8.2. So he uses reflection to see if we are 8.2 and if we are then we set it to All (which is 2147483647).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Reflection;&#xA;using Sitecore.Update;&#xA;&#xA;namespace Sitecore.Ship.Infrastructure.Extensions&#xA;{&#xA;    public static class PackageInstallationInfoExtensions&#xA;    {&#xA;        public static void SetProcessingMode(this PackageInstallationInfo info)&#xA;        {&#xA;            var prop = info.GetType().GetProperty(&quot;ProcessingMode&quot;, BindingFlags.Public | BindingFlags.Instance);&#xA;            if (prop == null || !prop.CanWrite)&#xA;            {&#xA;                //Pre Sitecore 8.2 Update 2 Versions have no such property&#xA;                return;&#xA;            }&#xA;&#xA;            // ProcessingMode.All = 2147483647&#xA;            prop.SetValue(info, 2147483647);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="901" LastEditorUserId="901" LastEditDate="2017-03-25T04:38:22.763" LastActivityDate="2017-03-25T04:38:22.763" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4982" PostTypeId="1" AcceptedAnswerId="4983" CreationDate="2017-03-18T06:32:58.473" Score="5" ViewCount="1855" Body="&lt;p&gt;I am trying to automate installing a &quot;zip&quot; package files from Sitecore's installation wizard. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I'm unable to work out how to allow an automation using PowerShell DSC to log in and trigger the install from here... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone help me on this?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YmXvN.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YmXvN.jpg&quot; alt=&quot;The Installation Wizard in the menu tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1643" LastEditorUserId="233" LastEditDate="2017-03-18T10:35:13.143" LastActivityDate="2017-03-18T11:29:57.593" Title="How to install zip file package from Installation Wizard using Powershell DSC?" Tags="|packages|powershell|automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4983" PostTypeId="2" ParentId="4982" CreationDate="2017-03-18T07:37:54.140" Score="5" Body="&lt;p&gt;You can install packages via DSC - but I don't think automating the UI is the right way to go about it. When I worked through this issue I dealt with it by creating an endpoint that DSC can push the packages to without bothering with the UI:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Dependencies for getting the install done&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;First up, you'll need an endpoint to trigger the install. My DSC approach was based on an &lt;a href=&quot;https://jermdavis.wordpress.com/2015/06/29/automated-package-installs/&quot; rel=&quot;noreferrer&quot;&gt;approach I first tried using plain PowerShell&lt;/a&gt;. The endpoint I used was a simple ASPX file that I grabbed from someone else's work on GitHub. The file was: &lt;a href=&quot;https://github.com/adoprog/Sitecore-Deployment-Helpers/blob/9c93812f799216c4c676f800fb2a3f083bf73fd9/InstallModules.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/adoprog/Sitecore-Deployment-Helpers/blob/9c93812f799216c4c676f800fb2a3f083bf73fd9/InstallModules.aspx&lt;/a&gt; However that's not the only example of this approach that exists, and you could just as well use someone else's endpoint file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All that's important is that you end up with something you can deploy with a file copy and can call Sitecore's internal package management APIs as a result of an HTTP POST or GET operation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Getting the endpoint installed requires two things: Your DSC needs to know where the file is, and it needs to copy it over.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Knowing where to find it is easy - just extend the config data you already have for your DSC script in your &lt;code&gt;.psd1&lt;/code&gt; file. I added the &lt;code&gt;PackageInstallFile&lt;/code&gt; property, and made sure that this file (from the repo linked above) was copied into the same location that all my other dependency files like the Sitecore installer were put in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    AllNodes = @(&#xA;        @{    &#xA;            WWWRoot = &quot;C:\inetpub\wwwroot&quot;&#xA;&#xA;            Sitecore = @{ &#xA;                InstanceName = &quot;MyInstance&quot;&#xA;&#xA;                PackageInstallFile = &quot;PackageDeploy.aspx&quot;      &amp;lt;&amp;lt;-- This bit is new&#xA;            }&#xA;         }&#xA;    );&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need a DSC resource to do the install. That's just a file copy:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;File AddRemoteDeploy&#xA;{&#xA;    DependsOn = &quot;[script]InstallSitecore&quot;&#xA;    SourcePath = &quot;$PackagePath\$($Node.Sitecore.PackageInstallFile)&quot;&#xA;    DestinationPath = &quot;$($Node.WWWRoot)\$($Node.Sitecore.InstanceName)\website\$($Node.Sitecore.PackageInstallFile)&quot;&#xA;    Type = &quot;File&quot;&#xA;    Ensure = &quot;Present&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;DependsOn&lt;/code&gt; property here needs to ensure this runs after you've installed Sitecore, so make sure the resource name matches yours. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something I found that was also useful here was to make sure you &quot;warm up&quot; Sitecore and get it loaded into memory once you've done this bit of the install. (&lt;a href=&quot;https://jermdavis.wordpress.com/2015/11/09/development-environments-with-powershell-dsc-part-5/&quot; rel=&quot;noreferrer&quot;&gt;See my blog post on this topic&lt;/a&gt; for the script) as this helps ensure you don't get timeouts for the package installs.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The install itself&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Once you've done that, you just need to call the package installer endpoint. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't have a blog post on general package installs via this route for DSC (Though &lt;a href=&quot;https://jermdavis.wordpress.com/2015/06/29/automated-package-installs/&quot; rel=&quot;noreferrer&quot;&gt;the logic is much the same as the pure PowerShell approach here&lt;/a&gt;), but I did write up how to install the Coveo for Sitecore zip package like this here: &lt;a href=&quot;https://jermdavis.wordpress.com/2015/12/07/development-environments-with-powershell-dsc-part-7/&quot; rel=&quot;noreferrer&quot;&gt;https://jermdavis.wordpress.com/2015/12/07/development-environments-with-powershell-dsc-part-7/&lt;/a&gt; and you can adapt that for general installs. The key bits are putting the zip package into the right folder and calling the endpoint to trigger Sitecore to install it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to have some config to describe the package to install:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    AllNodes = @(&#xA;        @{    &#xA;            WWWRoot = &quot;C:\inetpub\wwwroot&quot;&#xA;&#xA;            Sitecore = @{ &#xA;                InstanceName = &quot;MyInstance&quot;&#xA;                PackageInstallFile = &quot;PackageDeploy.aspx&quot;&#xA;&#xA;                NameOfYourPackage = &quot;MyPackageFile.zip&quot;     &amp;lt;&amp;lt;-- This bit is new&#xA;            }&#xA;         }&#xA;    );&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That package file needs to end up copied over to Sitecore's Package directory:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;File AddThePackage&#xA;{&#xA;    DependsOn = &quot;[script]InstallSitecore&quot;&#xA;    SourcePath = &quot;$PackagePath\$($Node.Sitecore.NameOfYourPackage)&quot;&#xA;    DestinationPath = &quot;$($Node.WWWRoot)\$($Node.Sitecore.InstanceName)\Data\packages&quot;&#xA;    Type = &quot;File&quot;&#xA;    Ensure = &quot;Present&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can call the endpoint:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Script InstallAPackage&#xA;{&#xA;    DependsOn = &quot;[file]AddThePackage&quot;&#xA;    GetScript = {&#xA;        @{ Feature = &quot;Install A zip package for Sitecore&quot; }&#xA;    }&#xA;    TestScript = {&#xA;        $folder = &quot;$($using:Node.WWWRoot)\$($using:Node.Sitecore.InstanceName)\Website\SomeFileOrFolderThePackageCreates&quot;&#xA;        Test-Path -Path $folder&#xA;    }&#xA;    SetScript = {&#xA;        $siteName = $using:Node.Sitecore.InstanceName&#xA;        $sitecoreFolder = &quot;$($using:Node.WWWRoot)\$($siteName)\Data\packages&quot;   &#xA;&#xA;        $module = &quot;$($using:Node.Sitecore.NameOfYourPackage)&quot;&#xA;&#xA;        $query = (Split-Path -Path $module -Leaf)&#xA;&#xA;        Write-Verbose &quot;Calling package upload tool for $using:query&quot;&#xA;&#xA;        $url = &quot;http://$siteName/PackageDeploy.aspx?modules=$query&quot;&#xA;        $result = Invoke-WebRequest -Uri $url -UseBasicParsing -TimeoutSec 600 -OutFile &quot;.\$siteName-PackageResponse-$query.log&quot; -PassThru&#xA;&#xA;        if($result.StatusCode -ne 200) {&#xA;            Write-Verbose &quot;StatusCode: $($result.StatusCode)&quot;&#xA;            throw &quot;Package install failed for $query&quot;&#xA;        }&#xA;        else {&#xA;            Write-Verbose &quot;Install ok&quot;&#xA;        }&#xA;&#xA;        $file = Join-Path $sitecoreFolder $query&#xA;        Remove-Item $file -Force&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Depending on the size of the package, that step may take a while. The code above tries to avoid timeouts (especially if combined with the warm-up script discussed above) but you may need further tricks for really big packages or slow servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example above does only a single file, but you can extend it to install multiple things in sequence by extending the config and putting a for-loop around the install process...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(This is typed from memory - apologies in advance for any typos I've made) &lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-18T07:46:28.173" LastActivityDate="2017-03-18T07:46:28.173" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4984" PostTypeId="1" CreationDate="2017-03-18T07:41:26.180" Score="1" ViewCount="145" Body="&lt;p&gt;When i try to install the update package(Sitecore 8.1 rev. 151003.update) in the installation wizard,all the items get processed but get stuck up in the last step (copying files).Hence the installation is not getting completed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i see the post installation error file (\temp__UpgradeHistory\Upgrade_Sitecore 8.1 rev. 151003_20170318T05502164),there are lot of errors saying &quot;Access to the path is denied.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have provided the full access to files in the IIS for IUSR user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me in resolving this issue &lt;/p&gt;&#xA;" OwnerUserId="1708" LastActivityDate="2017-05-20T02:33:53.073" Title="Sitecore upgrade from 8.0 service pack to 8.1 initial release issue" Tags="|upgrade|update-packages|" AnswerCount="2" CommentCount="2" ClosedDate="2017-05-20T15:20:21.033" ContentLicense="CC BY-SA 3.0" />
  <row Id="4986" PostTypeId="5" CreationDate="2017-03-18T12:43:56.813" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-03-18T12:43:56.813" LastActivityDate="2017-03-18T12:43:56.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4987" PostTypeId="4" CreationDate="2017-03-18T12:43:56.813" Score="0" Body="Issues relating to the PowerShell scripting language. This can include the stand-alone PowerShell scripts run from the command-line, or PowerShell DSC install automations." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-18T16:40:58.463" LastActivityDate="2017-03-18T16:40:58.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4988" PostTypeId="5" CreationDate="2017-03-18T14:07:56.437" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-03-18T14:07:56.437" LastActivityDate="2017-03-18T14:07:56.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4989" PostTypeId="4" CreationDate="2017-03-18T14:07:56.437" Score="0" Body="Questions relating to doing jobs automatically. Includes the use of scripts and tools which can perform tasks without user interaction." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-18T16:40:52.143" LastActivityDate="2017-03-18T16:40:52.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4990" PostTypeId="1" AcceptedAnswerId="5005" CreationDate="2017-03-18T15:03:16.280" Score="0" ViewCount="1260" Body="&lt;p&gt;Any ideas on how to fix this error on my Content Delivery server?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Content Management environment is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 7.5&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;Request is not available in this context &#xA;  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA; Exception Details: System.Web.HttpException: Request is not available in this context&#xA;&#xA;Source Error: &#xA;&#xA;&#xA; An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;&#xA;[HttpException (0x80004005): Request is not available in this context]&#xA;   System.Web.HttpContext.get_Request() +12058604&#xA;   Sitecore.Security.Authentication.FormsAuthenticationHelper.GetCurrentUser() +128&#xA;   Sitecore.Security.Authentication.AuthenticationHelper.GetActiveUser() +22&#xA;   Sitecore.Security.Authentication.AuthenticationManager.GetActiveUser() +58&#xA;   Sitecore.Security.AccessControl.ItemAccess.CanRead() +43&#xA;   Sitecore.Data.Managers.ItemProvider.ApplySecurity(Item item, SecurityCheck securityCheck) +95&#xA;   Sitecore.Data.Managers.ItemManager.GetItem(ID itemId, Language language, Version version, Database database) +142&#xA;   Sitecore.Data.TemplateRecords.GetTemplate(ID templateID, Language language) +72&#xA;   Sitecore.Data.TemplateRecords.GetTemplate(String fullName, Language language) +89&#xA;   Sitecore.Sharedsource.Tasks.TemplateConfigurationBuilder.Create(Database database, XmlNode configNode) +415&#xA;   Sitecore.Sharedsource.Tasks.NewsMover.AddTemplateConfiguration(XmlNode configNode) +31&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;   Sitecore.Configuration.Factory.AssignProperties(Object obj, Object[] properties) +869&#xA;   Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +643&#xA;   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +275&#xA;   Sitecore.Events.EventSubscribers.Add(String eventName, XmlNode configNode) +545&#xA;   Sitecore.Events.Event.GetConfigSubscribers() +563&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +358&#xA;   Sitecore.ContentSearch.Maintenance.IndexDatabasePropertyStore.Get(String key) +216&#xA;   Sitecore.ContentSearch.LuceneProvider.SwitchOnRebuildLuceneIndex.InitializeShards() +300&#xA;   Sitecore.ContentSearch.ContentSearchConfiguration.AddIndex(ISearchIndex index) +416&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;   Sitecore.Configuration.Factory.AssignProperties(Object obj, Object[] properties) +869&#xA;   Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +643&#xA;   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +275&#xA;   Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +579&#xA;   Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration() +266&#xA;   Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_Cores() +92&#xA;   Sitecore.ContentSearch.SolrProvider.NinjectIntegration.NinjectSolrStartUp.Initialize() +62&#xA;&#xA;[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]&#xA;   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +540&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +186&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343&#xA;&#xA;[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +539&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +125&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +731&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="404" LastActivityDate="2017-03-20T17:38:37.557" Title="Request is not available in this context" Tags="|content-delivery|" AnswerCount="1" CommentCount="14" ClosedDate="2017-03-20T15:46:39.790" ContentLicense="CC BY-SA 3.0" />
  <row Id="4991" PostTypeId="5" CreationDate="2017-03-18T21:27:01.240" Score="0" Body="&lt;p&gt;An IIS web server runs on the Microsoft .NET platform on the Windows OS. It's versatile and stable, and it's been widely used in production for many years. Version 10 is the most current which is used by Sitecore installation.&lt;/p&gt;&#xA;&lt;p&gt;IIS is used to host ASP.NET web applications and static websites. It can also be used as an FTP server, host WCF services, and be extended to host web applications built on other platforms such as PHP.&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2022-10-24T12:23:50.357" LastActivityDate="2022-10-24T12:23:50.357" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="4992" PostTypeId="4" CreationDate="2017-03-18T21:27:01.240" Score="0" Body="Questions relating to Internet Information Server, the underlying web server software used to host Sitecore-based websites." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-19T08:44:00.473" LastActivityDate="2017-03-19T08:44:00.473" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4993" PostTypeId="5" CreationDate="2017-03-18T21:30:01.053" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-03-18T21:30:01.053" LastActivityDate="2017-03-18T21:30:01.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4994" PostTypeId="4" CreationDate="2017-03-18T21:30:01.053" Score="0" Body="Questions relating to Sitecore instances that have been optimised for serving managed content to internet users." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-19T08:44:04.257" LastActivityDate="2017-03-19T08:44:04.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4995" PostTypeId="1" CreationDate="2017-03-19T03:02:57.113" Score="0" ViewCount="916" Body="&lt;p&gt;I have a dropdown list which contains:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;product a  &lt;/li&gt;&#xA;&lt;li&gt;product b  &lt;/li&gt;&#xA;&lt;li&gt;product c  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If I have chosen &quot;product a&quot; it should render the corresponding sublayout for product a&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Current code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I have item called basket&lt;/li&gt;&#xA;&lt;li&gt;In the basket item I have added the presentation details of the products(a,b,c)&lt;/li&gt;&#xA;&lt;li&gt;In the website I have rendered all the sublayout and hiding the hiding the unwanted sublayout&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pseudo code:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var a = get the dropdown list select item  &#xA;if(a.Value == &quot;product a&quot;)&#xA;{  &#xA;    showDivWithPlaceholderOfProductA.Visible = true;  &#xA;    showDivWithPlaceholderOfProductB.Visible = false;&#xA;    showDivWithPlaceholderOfProductC.Visible = false;&#xA;}&#xA;else if(a.Value == &quot;product b&quot;)&#xA;{&#xA;    showDivWithPlaceholderOfProductB.Visible = true;&#xA;    showDivWithPlaceholderOfProductC.Visible = false;&#xA;    showDivWithPlaceholderOfProductA.Visible = false;&#xA;}&#xA;else&#xA;{&#xA;    showDivWithPlaceholderOfProductC.Visible = true;&#xA;    showDivWithPlaceholderOfProductA.Visible = false;&#xA;    showDivWithPlaceholderOfProductB.Visible = false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Drawback of current implementation:&lt;/strong&gt;&lt;br&gt;&#xA;The above code is rendering the all of the sublayouts and then showing / hiding the required sublayout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to change it:&lt;/strong&gt;&lt;br&gt;&#xA;1. I need to render only the required sublayout instead of hiding/showing&lt;br&gt;&#xA;2. Can any one suggest better idea for rendering the sublayout based on the above scenario?&lt;/p&gt;&#xA;" OwnerUserId="1709" LastEditorUserId="233" LastEditDate="2017-03-19T15:43:23.570" LastActivityDate="2017-03-19T17:37:39.300" Title="Dynamic rendering of sublayouts" Tags="|best-practices|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4996" PostTypeId="2" ParentId="535" CreationDate="2017-03-19T03:24:44.703" Score="5" Body="&lt;p&gt;The simple redirects assume that your matching url is at the root.  There is no need for a beginning forward slash.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you installed the module, it comes with examples located at /sitecore/Content/Sample Rewrites.  There is an example of both of these situations; one for external links and one for internal links, named accordingly:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Simple External Redirect&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Path&lt;/em&gt;: external1&lt;br /&gt;&#xA;&lt;em&gt;Target&lt;/em&gt;: &lt;a href=&quot;http://www.sitecore.net&quot; rel=&quot;noreferrer&quot;&gt;http://www.sitecore.net&lt;/a&gt; (external link)&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Simple Internal Redirect&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Path&lt;/em&gt;: internal1&lt;br /&gt;&#xA;&lt;em&gt;Target&lt;/em&gt;: /Home (internal link to an item)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your path was more complex and had multiple segments, you just need to make sure that you properly escape the forward slashes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;about/me&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Generally, the module works exactly like the IIS rewrite module.  Here is the most recent blog post that I have written on my module: &lt;a href=&quot;https://blog.horizontalintegration.com/2016/09/08/sitecore-url-rewrite-backreferences/&quot; rel=&quot;noreferrer&quot;&gt;https://blog.horizontalintegration.com/2016/09/08/sitecore-url-rewrite-backreferences/&lt;/a&gt;.  If you need anything else, bug reports, feature requests, etc... let me know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Andy&lt;/p&gt;&#xA;" OwnerUserId="1710" LastActivityDate="2017-03-19T03:24:44.703" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="4997" PostTypeId="2" ParentId="4995" CreationDate="2017-03-19T09:56:01.933" Score="1" Body="&lt;p&gt;You can make use of ajax. This way you will not be loading all sublayouts on page load.&#xA;Bind your dropdown to a JS on change event to make the AJAX call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new item in sitecore for to intercept the ajax call.&#xA;Let's say the item is ProductIdentifier.&#xA;In this item you will have to configure a new sublayout (GetProductSublayout) in the presentation details.&#xA;GetProductSublayout will be doing the processing to determine which sublayout to display and return the html&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Ajax call can be something like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function (url, postData) {&#xA;        var data = { &quot;itemId&quot;: item_Id_Of_Product_selected , &quot;sublayout_id&quot;: id_of_sublayout };&#xA;        $.ajax({&#xA;            type: 'POST',&#xA;            url: url,&#xA;            contentType: &quot;application/json; charset=utf-8&quot;,&#xA;            dataType: 'json',&#xA;            data: JSON.stringify(data),&#xA;            success: function(data)&#xA;            {&#xA;                    // add the data to the body of the page&#xA;            }&#xA;        });&#xA;    };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The url will refer to the url of the item ProductIdentifier.&#xA;You will have to deserialize the parameters passed and then do the processing to determine the sublayout. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also take a look at this blog &lt;a href=&quot;https://www.velir.com/blog/2011/09/22/lazy-websites&quot; rel=&quot;nofollow noreferrer&quot;&gt;Ajax For Lazy Load&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2017-03-19T09:56:01.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4998" PostTypeId="1" CreationDate="2017-03-19T15:00:34.403" Score="2" ViewCount="5371" Body="&lt;p&gt;I am trying to install .update file with instructions provided by davis from previous post &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/4982/how-to-install-zip-file-package-from-installation-wizard-using-powershell-dsc&quot;&gt;How to install zip file package from Installation Wizard using Powershell DSC?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using another developer's aspx file from &lt;a href=&quot;https://github.com/adoprog/Sitecore-Deployment-Helpers/blob/master/InstallPackages.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/adoprog/Sitecore-Deployment-Helpers/blob/master/InstallPackages.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But i am getting below error message while executing through DSC:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PowerShell DSC resource MSFT_ScriptResource  failed to execute Set-TargetResource functionality with error message: Cannot bind parameter 'Uri'. &#xA;Cannot convert value &quot;http://System.Collections.Hashtable.Sitecore.InstanceName\sitecore\admin\InstallPackages.aspx&quot; to type &quot;System.Uri&quot;. Error: &#xA;&quot;Invalid URI: The hostname could not be parsed.&quot; &#xA;    + CategoryInfo          : InvalidOperation: (:) [], CimException&#xA;    + FullyQualifiedErrorId : ProviderOperationExecutionFailure&#xA;    + PSComputerName        : HD02TESTCI&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is the piece of code which I used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$siteName = $using:Node.Sitecore.InstanceName&#xA;&#xA;$sitecoreFolder = &quot;$($using:Node.WWWRoot)\$($siteName)\sitecore\admin\Packages&quot;   &#xA;&#xA;$module = &quot;$($using:Node.Sitecore.NameOfYourUpdatePackage)&quot;&#xA;&#xA;$query = (Split-Path -Path $module -Leaf)&#xA;&#xA;Write-Verbose &quot;Calling package upload tool for $using:query&quot;&#xA;&#xA;$url = &quot;http://$siteName\sitecore\admin\InstallPackages.aspx&quot;&#xA;&#xA;$result = Invoke-WebRequest -Uri $url -UseBasicParsing -TimeoutSec 600 -OutFile &quot;C:\$siteName-UpdatePackageResponse-$query.log&quot; -PassThru&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is the psd1 file content&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YAxbv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YAxbv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1643" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-20T15:45:32.740" Title="Error message &quot;Cannot bind parameter 'Uri'. Cannot convert value&quot; when trying to install update package via PowerShell DSC" Tags="|update-packages|powershell|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="4999" PostTypeId="2" ParentId="4998" CreationDate="2017-03-19T16:13:41.443" Score="1" Body="&lt;p&gt;As the message suggests, the error there is because &lt;code&gt;Invoke-WebRequest&lt;/code&gt; cannot parse the &lt;code&gt;$url&lt;/code&gt; variable that's being passed to it as a parameter. The message is saying that &lt;code&gt;$url&lt;/code&gt; includes &lt;code&gt;System.Collections.Hashtable.Sitecore.InstanceName&lt;/code&gt; - which suggests to me that there's something wrong with the variable replacement when the &lt;code&gt;$siteName&lt;/code&gt; variable is being set up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$siteName&lt;/code&gt; should just be a string from your &lt;code&gt;psd1&lt;/code&gt; file, rather than a collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your question doesn't include the data from your &lt;code&gt;psd1&lt;/code&gt; data file, but the first thing I'd check is that there's not a problem with that which is causing the value of &lt;code&gt;Node.Sitecore.InstanceName&lt;/code&gt; to be something other than string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just to avoid any possible confusion - I did put some annotation into the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4982/how-to-install-zip-file-package-from-installation-wizard-using-powershell-dsc&quot;&gt;example data I gave in my answer to your previous question&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YJPhe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YJPhe.png&quot; alt=&quot;Example with annotation highlighted&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The bit highlighted in red there was just annotation - that should not be in the real file...&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edited to add:&lt;/strong&gt;&#xA;I've done some more investigating...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I suspected, I can recreate the exact error message you're seeing if I force the data in &lt;code&gt;$siteName&lt;/code&gt; to be a Hashtable rather than a string. I've come up with two ways of doing that in code, rather than in data: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) You can explicitly declare it as such by replacing the line that sets it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# $siteName = $using:Node.Sitecore.InstanceName&#xA;$siteName = @{ InstanceName = &quot;123&quot;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) You can get the &lt;code&gt;$using&lt;/code&gt; statement wrong, and access a bit of the config that is a Hashtable:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$siteName = $using:Node.Sitecore&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But clearly you're not doing either of those, based on the code you've posted. And the data you've posted for the &lt;code&gt;.psd1&lt;/code&gt; file looks valid too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That makes me wonder if the error is in the bits of script that you've not posted? Perhaps in the DSC code that's wrapped around the fragment of script that you posted?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a bit of a long shot, but are you sure that you posted the &lt;code&gt;.psd1&lt;/code&gt; data from the file you're actually referencing in your DSC script? If the line where you pass the config accidentally refers to the wrong file, that could cause the structure of the config data to not match the data your script is trying to access?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;YourDSCConfigurationName -ConfigurationData &quot;TheWrongConfig.psd1&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other than that, I'm out of ideas for the moment...&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-20T15:45:32.740" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5000" PostTypeId="2" ParentId="4995" CreationDate="2017-03-19T17:31:23.837" Score="3" Body="&lt;p&gt;There are different ways in which you can achieve this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OPTION 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like you have specified, you have already loaded the required sublayout, then using the hide and show feature, you toggle the visibility of the sublayout based on the selected item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OPTION 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, as Adarsh specified, you can make use of JavaScript to perform a call to the server to retrieve the sublayout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OPTION 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also use the Rule engine to toggle the sublayout visibility. You will require to create a custom condition and when the condition is satisfies, it will toggle the visibility.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OPTION 4&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way to do this is as follows: Bind a change event on the select input as shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;select id=&quot;product&quot; name=&quot;product&quot; OnSelectedIndexChanged=&quot;productSelection_SelectedIndexChanged&quot; runat=&quot;server&quot; placeholder=&quot;Select Product&quot;&amp;gt;&#xA;  &amp;lt;option value=&quot;{sublayoutIdForProductA}&quot;&amp;gt;Product A&amp;lt;/option&amp;gt;&#xA;  &amp;lt;option value=&quot;{sublayoutIdForProductB}&quot;&amp;gt;Product B&amp;lt;/option&amp;gt;&#xA;  &amp;lt;option value=&quot;{sublayoutIdForProductC}&quot;&amp;gt;Product C&amp;lt;/option&amp;gt;&#xA;&amp;lt;/select&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, the code behind will be like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void productSelection_SelectedIndexChanged(object sender, EventArgs e)&#xA;{&#xA;     //SelectedValue has the value of the Sublayout Id of the product&#xA;     var selectedProduct = product.SelectedValue;&#xA;&#xA;     var productSublayout = Sitecore.Context.Database.Items.GetItem(new ID(selectedProduct));&#xA;&#xA;     //Get Sublayout directory path&#xA;     var sublayoutDirectoryPath = productSublayout.Fields[&quot;Ascx file&quot;].Value;&#xA;&#xA;     var product = new Sublayout&#xA;     {&#xA;         Path = $&quot;~{sublayoutDirectoryPath}&quot;,&#xA;         Cacheable = true,&#xA;         VaryByData = true,&#xA;         VaryByParm = true&#xA;     };&#xA;     this.phProductRendering.Controls.Clear();&#xA;&#xA;     this.phProductRendering.Controls.Add(product);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that, I am usng the&lt;code&gt;ID&lt;/code&gt; of the sublayout in the option value so that when retrieved from the code behind, you only require to perform a call to retrieve the sublayout. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This allows to be more dynamic as if tomorrow you have more product in the select input, you will not require to update the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, you only require 1 placeholder to render the different products based on the selection.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-03-19T17:37:39.300" LastActivityDate="2017-03-19T17:37:39.300" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5001" PostTypeId="2" ParentId="4984" CreationDate="2017-03-19T18:14:51.320" Score="0" Body="&lt;p&gt;We had also encountered this kind of problem. I remembered that upgrade process executes commands under the App Pool account that was created for the site. In our case, AppPool was using the build in NetworkService account and this account only had read permission to the web folders. So you can do either of the following.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Switch to a specific domain account that would have permission to&#xA;modify the website folder. &lt;/li&gt;&#xA;&lt;li&gt;Or modify the security on the folder to&#xA;give the NetworkService account modify permission.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-03-19T18:14:51.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5002" PostTypeId="1" CreationDate="2017-03-20T12:51:34.323" Score="0" ViewCount="284" Body="&lt;p&gt;I'm working on a migration project from 6.5 to 8.2. &#xA;I've installed a clean WFFM 8.2 and I'm trying to refactor the existing code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It adds the WFFM form programatically as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ASCX&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;div runat=&quot;server&quot; class=&quot;grid_13&quot; id=&quot;OpeningFormDiv&quot;&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ASCX.CS - original code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  FormRender Form = new FormRender&#xA;        {&#xA;            FormID = GetParameter(&quot;FormID&quot;),                &#xA;            ReadQueryString = GetParameter(&quot;ReadQueryString&quot;),&#xA;            FormTemplate = &quot;/sitecore modules/web/Web Forms for Marketers/Control/SitecoreSimpleFormAscx.ascx&quot;&#xA;        };&#xA;  OpeningFormDiv.Controls.Add(Form);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ASCX.CS - &quot;new&quot; code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  SitecoreSimpleForm form = new SitecoreSimpleForm(Sitecore.Context.Database.GetItem(GetParameter(&quot;FormID&quot;)));&#xA;  var test = new FormRender(form);&#xA;   OpeningFormDiv.Controls.Add(test);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the new code has the same effect (and basically does the same thing).&#xA;both throw and exception stating that the innerItem is empty:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;Value cannot be null.&#xA;Parameter name: innerItem&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request.&#xA;Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.ArgumentNullException: Value cannot be null.&#xA;Parameter name: innerItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All the code samples I've found online are using this method, so I think I'm on the right track here. Does anyone have an idea what might be wrong?&#xA;When debugging the FormId and Querystring parameters are retrieved correctly and the SitecoreSimpleForm is created as normal. The error occurs when the form is added to the controls of the div.   &lt;/p&gt;&#xA;" OwnerUserId="134" LastEditorUserId="423" LastEditDate="2017-08-07T19:10:57.533" LastActivityDate="2017-08-07T19:10:57.533" Title="WFFM 8.2 rev. 160801 : error when adding form programatically" Tags="|wffm|" AnswerCount="1" CommentCount="6" ClosedDate="2017-03-20T13:54:19.320" ContentLicense="CC BY-SA 3.0" />
  <row Id="5003" PostTypeId="1" CreationDate="2017-03-20T13:25:02.673" Score="1" ViewCount="62" Body="&lt;p&gt;The WIKI on the Sitecore SIM (&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Instance-Manager/wiki/Advanced&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Instance-Manager/wiki/Advanced&lt;/a&gt;) is brief. IS there a better explanation somewhere of what these settings do?&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-03-20T13:25:02.673" Title="Is there better documentation of Sitecore SIM advanced setting?" Tags="|sim|" AnswerCount="0" CommentCount="4" ClosedDate="2017-03-20T14:59:42.340" ContentLicense="CC BY-SA 3.0" />
  <row Id="5004" PostTypeId="2" ParentId="5002" CreationDate="2017-03-20T13:39:15.403" Score="1" Body="&lt;p&gt;The reason why &lt;code&gt;innerItem&lt;/code&gt; may be &lt;code&gt;null&lt;/code&gt; is because it is not found on the target database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to perform a republish and see if the issue is fixed.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="982" LastEditDate="2017-03-20T13:51:11.030" LastActivityDate="2017-03-20T13:51:11.030" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5005" PostTypeId="2" ParentId="4990" CreationDate="2017-03-20T14:00:42.790" Score="0" Body="&lt;p&gt;The NewsMover module is only required to be working on the Content Management server. It does not need to be functional on the Content Delivery servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The purpose of the module is that when news articles are created in the /about/news folder the News Mover automatically creates year, month, and day folders and then moves the new news article into that folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The NewsMover.config file was accidentally deployed to the Content Delivery server and that is what caused the error to occur.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Disabling the NewsMover Module on Content Delivery by deleting the config file (App_Config/Include/NewsMover.config) resolved the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The NewsMover module is still working fine on the Content Management server.&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2017-03-20T17:38:37.557" LastActivityDate="2017-03-20T17:38:37.557" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5006" PostTypeId="1" CreationDate="2017-03-20T15:24:45.760" Score="2" ViewCount="6425" Body="&lt;p&gt;I did a setup of sample Sitecore Instance (sc82solr), and followed the configuration from the following link&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Found the Solr is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I browse the Sitecore Site (sc82solr), I am getting the error like below ?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find configuration node:&#xA;     contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldMap&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace&#xA;  for more&#xA;     information about the error and where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.InvalidOperationException: Could not find configuration node:&#xA;     contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldMap&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Can someone suggest, what could be the issue ?&lt;/p&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2018-08-01T12:31:40.537" Title="Could not find configuration node: contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldMap" Tags="|solr|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5007" PostTypeId="2" ParentId="5006" CreationDate="2017-03-20T15:28:30.880" Score="2" Body="&lt;p&gt;You still have the Lucene configuration files active. These need to be disabled.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;contentSearch/indexConfigurations/default&lt;strong&gt;Lucene&lt;/strong&gt;IndexConfiguration/fieldMap&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Depending on your exact Sitecore version, this differs a bit. Look to the section &quot;Configure the Solr search provider&quot; here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/configure_a_search_and_indexing_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure a search and indexing provider&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look for the Enable/Disable spreadsheet for your version, make sure all the disabled files are actually renamed or removed from your system. This can easily get messed up if you deploy your SOLR configuration files to an instance that previously had Lucene active.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This filter enables you to see a list of all the configuration files you need to enable or disable if you are using Solr as your search and indexing provider.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-03-20T15:28:30.880" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5008" PostTypeId="2" ParentId="5006" CreationDate="2017-03-20T15:29:06.790" Score="8" Body="&lt;p&gt;Looks like you have some lucene leftovers in your config files.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find configuration node: contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldMap&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This says that something is referencing &lt;code&gt;fieldMap&lt;/code&gt; node under &lt;code&gt;defaultLuceneIndexConfiguration&lt;/code&gt; node. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should not be there if you disabled all the lucene configs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your &lt;code&gt;App_config&lt;/code&gt; folder for &lt;code&gt;defaultLuceneIndexConfiguration&lt;/code&gt; string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's most probably one of those files which should be disabled/removed:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;App_Config\Include\ContentTesting\Sitecore.ContentTesting.Lucene.IndexConfiguration.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;App_Config\Include\ListManagement\Sitecore.ListManagement.Lucene.IndexConfiguration.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;App_Config\Include\Sitecore.ContentSearch.Lucene.Index.Analytics.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;App_Config\Include\Sitecore.Marketing.Definitions.MarketingAssets.Repositories.Lucene.IndexConfiguration.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;App_Config\Include\Sitecore.Marketing.Lucene.IndexConfiguration.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;App_Config\Include\Social\Sitecore.Social.Lucene.IndexConfiguration.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-03-20T15:29:06.790" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5009" PostTypeId="1" AcceptedAnswerId="5093" CreationDate="2017-03-20T16:13:37.500" Score="1" ViewCount="645" Body="&lt;p&gt;the issue is the tracking field that was messed up during upgrade to the new WFFM version....&#xA;I've found a blog post below explaining the issue. Now I'm looking for a way to automate the fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://reasoncodeexample.com/2015/03/26/sitecore-linkdatabase-unrecognized-guid-format/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://reasoncodeexample.com/2015/03/26/sitecore-linkdatabase-unrecognized-guid-format/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could use a powershell script, but I've logged a support ticket with sitecore to find a more standard approach.&#xA;Does anyone have a clean way to fix this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI here are the field values before and after the fix (in case others want to write a script):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;raw values before fix:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;tracking&amp;gt;  &#xA;&amp;lt;event name=&quot;Field Changed&quot; /&amp;gt;  &#xA;&amp;lt;event name=&quot;Field Completed&quot; /&amp;gt; &#xA;&amp;lt;event name=&quot;Field Not Completed&quot; /&amp;gt;  &#xA;&amp;lt;event name=&quot;Field Out of Boundary&quot; /&amp;gt;  &#xA;&amp;lt;event name=&quot;Invalid Field Syntax&quot; /&amp;gt;&#xA;&amp;lt;/tracking&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;raw values afer fix:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;tracking&amp;gt;&#xA;&amp;lt;event id=&quot;{7E86B2F5-ACEC-4C60-8922-4EB5AE5D9874}&quot; name=&quot;Field Not Completed&quot; /&amp;gt;&#xA;&amp;lt;event id=&quot;{F3D7B20C-675C-4707-84CC-5E5B4481B0EE}&quot; name=&quot;Field Out of Boundary&quot; /&amp;gt;&#xA;&amp;lt;event id=&quot;{844BBD40-91F6-42CE-8823-5EA4D089ECA2}&quot; name=&quot;Invalid Field Syntax&quot; /&amp;gt;&#xA;&amp;lt;event id=&quot;{AA3AE715-E87D-4B4D-80C7-4290546F770F}&quot; name=&quot;Field Changed&quot; /&amp;gt;&#xA;&amp;lt;event id=&quot;{F0113A93-570A-4F69-8C7C-BA08037D1E34}&quot; name=&quot;Field Completed&quot; /&amp;gt;&#xA;&amp;lt;/tracking&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="134" LastActivityDate="2017-03-25T10:43:02.637" Title="how to fix unrecognized GUID error in form after WFFM upgrade" Tags="|wffm|upgrade|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5010" PostTypeId="1" AcceptedAnswerId="5011" CreationDate="2017-03-20T17:06:53.773" Score="3" ViewCount="59" Body="&lt;p&gt;i've setup various rewrite rules within sitecore using the url rewrite module.&#xA;for some really bizarre reason &lt;code&gt;/wo&lt;/code&gt; refuses to work, and browsing to &lt;code&gt;/wo&lt;/code&gt; on other Sitecore sites I've worked on appears to load the &lt;code&gt;default.aspx&lt;/code&gt; page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/woo&lt;/code&gt; or &lt;code&gt;/w[a-z]&lt;/code&gt; other than &lt;code&gt;/wo&lt;/code&gt; correctly serves up a 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How is Sitecore resolving &lt;code&gt;/wo&lt;/code&gt; to the &lt;code&gt;default.aspx&lt;/code&gt; page and is there a way of disabling this route so that a 404 is returned, which will get my rewrite rule working?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If &lt;code&gt;/wo&lt;/code&gt; returns a 404 on your site, this would confuse me more, but can someone please confirm/deny the behaviour in the comments? Just one person will do. then we can hopefully focus on why &lt;code&gt;/wo&lt;/code&gt; is behaving like this.&lt;/p&gt;&#xA;" OwnerUserId="639" LastEditorUserId="605" LastEditDate="2017-03-20T17:12:41.217" LastActivityDate="2017-03-20T17:22:00.747" Title="wo url serving default.aspx" Tags="|routing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5011" PostTypeId="2" ParentId="5010" CreationDate="2017-03-20T17:22:00.747" Score="1" Body="&lt;p&gt;I think Sitecore (the .net framework underneath actually) is detecting your &quot;wo&quot; as a language (Wolof - Senegal). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a setting in Sitecore called &lt;code&gt;Languages.AlwaysStripLanguage&lt;/code&gt;. If you would set that to false (patch it) I think your &quot;wo&quot; will also give the 404.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-03-20T17:22:00.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5012" PostTypeId="1" CreationDate="2017-03-20T18:53:04.987" Score="0" ViewCount="252" Body="&lt;h2&gt;The issue&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have the Dynamic Sites module installed and configured on a single instance 8.1 (rev 160519). It runs fine most of the time. But as the customer is adding sites to it, once or twice a day. The site crashes out hard with the error below. The only thing that resolves the error is an IIS RESET or touching the web.config. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The config&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The config is here to save space. &lt;a href=&quot;https://gist.github.com/dnstommy/d72f89e4f7b48fc6d858fe290bddc679&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/dnstommy/d72f89e4f7b48fc6d858fe290bddc679&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What I know&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The issue always is proceeded by a publish of a new site item. Many site items have been published and do not cause this issue. Its random, maybe a timing issue. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The error&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;5252 13:54:18 INFO  AUDIT (sitecore\matthew): Publish item now:&#xA;  web:/sitecore/system/Modules/Dynamic Sites/Sites/Amite, language: en,&#xA;  version: 1, id: {478FF98A-3303-4D43-ABBE-9C5D97796003} &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;5252 13:54:18INFO  AUDIT (sitecore\matthew): [Publishing]: Starting to process 1&#xA;  publishing options &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;10140 13:54:19 ERROR Application error. Exception:&#xA;  System.NullReferenceException Message: Object reference not set to an&#xA;  instance of an object. Source: Sitecore.Kernel    at&#xA;  Sitecore.Sites.SiteContextFactory.GetSites()    at&#xA;  Sitecore.ExperienceExplorer.Business.Helpers.SettingsHelper.IsEnabledForSite(String&#xA;  siteName)    at&#xA;  Sitecore.ExperienceExplorer.Business.Helpers.PageModeHelper.get_IsExperienceMode()&#xA;  at&#xA;  Sitecore.ExperienceExplorer.Business.Pipelines.HttpRequestProcessed.RetrieveRenderingsPipeline.Process(HttpRequestArgs&#xA;  args)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Nexus.Web.HttpModule.(Object , EventArgs )    at&#xA;  System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,&#xA;  Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;9408 13:54:19 ERROR Application error. Exception:&#xA;  System.NullReferenceException Message: Object reference not set to an&#xA;  instance of an object. Source: Sitecore.Kernel    at&#xA;  Sitecore.Sites.SiteContextFactory.GetSites()    at&#xA;  Sitecore.Sites.SiteContextFactory.GetSiteContext(String hostName,&#xA;  String fullPath, Int32 portNumber)    at&#xA;  Sitecore.Pipelines.HttpRequest.SiteResolver.ResolveSiteContext(HttpRequestArgs&#xA;  args)    at&#xA;  Sitecore.Pipelines.HttpRequest.SiteResolver.Process(HttpRequestArgs&#xA;  args)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Nexus.Web.HttpModule.(Object , EventArgs )    at&#xA;  System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,&#xA;  Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Publishing error at the same time.&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;5252 13:54:19 ERROR An error during Publish Pipeline Process Queue&#xA;  execution. Exception: System.NullReferenceException Message: Object&#xA;  reference not set to an instance of an object. Source: Sitecore.Kernel&#xA;  at Sitecore.Sites.SiteContextFactory.GetSites()    at&#xA;  Sitecore.Sites.SiteContextFactory.GetSiteNames()    at&#xA;  Sitecore.Configuration.Factory.GetSiteInfoList()    at&#xA;  Sitecore.Caching.ItemCache.RemoveItemFromFilterCaches(ID itemId)    at&#xA;  System.EventHandler 1.Invoke(Object sender, TEventArgs e)    at&#xA;  Sitecore.Data.Engines.EngineCommand 2.RaiseEvent[TArgs](EventHandler 1&#xA;  handlers, Func 2 argsCreator)    at&#xA;  Sitecore.Data.Engines.EngineCommand 2.Execute()    at&#xA;  Sitecore.Data.Engines.DataEngine.SaveItem(Item item)    at&#xA;  Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)    at&#xA;  Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String&#xA;  pipelineName, String pipelineDomain, Funcc1 pipelineArgsCreator,&#xA;  Func 1 fallbackResult)    at&#xA;  Sitecore.Data.Managers.PipelineBasedItemProvider.SaveItem(Item item)&lt;br&gt;&#xA;  at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean&#xA;  updateStatistics, Boolean silent)    at&#xA;  Sitecore.Data.Items.EditContext.Dispose()    at&#xA;  Sitecore.Publishing.PublishHelper.CopyToTarget(Item sourceVersion)&lt;br&gt;&#xA;  at Sitecore.Publishing.PublishHelper.PublishVersionToTarget(Item&#xA;  sourceVersion, Item targetItem, Boolean targetCreated)    at&#xA;  Sitecore.Publishing.Pipelines.PublishItem.PerformAction.Process(PublishItemContext&#xA;  context)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Publishing.Pipelines.PublishItem.PublishItemPipeline.Run(PublishItemContext&#xA;  context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate&#xA;  entry, PublishContext context, List 1&amp;amp; referrers, List`1&amp;amp; children)&lt;br&gt;&#xA;  at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate&#xA;  entry, PublishContext context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable 1&#xA;  entries, PublishContext context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate&#xA;  entry, PublishContext context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable 1&#xA;  entries, PublishContext context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.Process(PublishContext&#xA;  context)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I turned off auto publish in the dynamic sites config and I got this error after an hour.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MkePX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MkePX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-03-20T20:47:08.777" LastActivityDate="2017-03-20T20:47:08.777" Title="Dynamic Sites module randomly crashing the Site Resolver" Tags="|module|" AnswerCount="0" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="5013" PostTypeId="1" AcceptedAnswerId="5014" CreationDate="2017-03-20T20:04:43.077" Score="0" ViewCount="244" Body="&lt;p&gt;We are using Sitecore 8.0 Update 2 and Solr 4.10.3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Today we had a website crash because Solr went down and our listing pages and search related components weren't working. The issue turned out to be that Solr was using 99% of the RAM. The Solr server has 8 GBs of RAM and JVM has the same allocated to it. It has never been a problem and for the last 2 years. The average RAM/JVM usage was about 30-40% of the total. But it spiked in the last couple of days and only a server restart helped it come back up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After restarting the server the JVM is growing by a 100 or so MB every few seconds and seems to peak at about 3-4 GB but then it goes down to below 1 GB right away. The CM is the only server that does any indexing and the traffic on there is rather below average since Friday. The CDs are also not showing any high traffic rather average traffic. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across this scenario before? Do we need to add more RAM and increase JVM on the Solr server?&lt;/p&gt;&#xA;" OwnerUserId="1073" LastActivityDate="2017-03-20T20:43:14.880" Title="SOLR JVM fluctuating wildly" Tags="|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5014" PostTypeId="2" ParentId="5013" CreationDate="2017-03-20T20:32:09.693" Score="1" Body="&lt;p&gt;Sitecore recommends a minimum of 16GB of RAM when setting up the infrastructure. Please see the Installation Guide from Sitecore &lt;a href=&quot;https://dev.sitecore.net/~/media/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_0/Non-secure/Installation-Guide-SC80-A4.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue that you may have experienced also is maybe due to the fact that there were an increase in the number of queries to the Solr server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe try also to see if you have any query causing performance issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are different profiling tools that you can used. Paid and free versions.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;DynaTrace - Paid&lt;/li&gt;&#xA;&lt;li&gt;YourKit - Has trial&lt;/li&gt;&#xA;&lt;li&gt;Stackift Prefix - Both free and Paid version&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sematext.com/spm/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SPM&lt;/a&gt; - This service will expose request rates, latency, all Solr cache info, JVM memory, GC, CPU, load, disk and network IO, etc. It has a free trial&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-03-20T20:43:14.880" LastActivityDate="2017-03-20T20:43:14.880" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5015" PostTypeId="1" CreationDate="2017-03-20T21:21:31.620" Score="3" ViewCount="536" Body="&lt;p&gt;I have the following setup:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I'm indexing Sitecore items (Employee) in Solr&lt;/li&gt;&#xA;&lt;li&gt;I have the computed field &quot;checkins&quot; of type stringArray set in the index&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Checkins is list of datetime values I get from external service and I'm filling the computed field with them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I extended the SearchResultItem with the property:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;checkins&quot;)]&#xA;public IEnumerable&amp;lt;DateTime&amp;gt; Checkins { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And when I query the index, property is filled with dates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question is now, how do I search on this property? I want to pick a date (dateFrom) and get all the Employees that have a checkin date after this date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;builder = builder.And(i =&amp;gt; i.Checkins.Any(d =&amp;gt; d &amp;gt;= request.DateFrom));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but I'm getting &quot;Unsupported lambda in Any call.&quot; error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way I can search in date array?&lt;/p&gt;&#xA;" OwnerUserId="379" LastEditorUserId="379" LastEditDate="2017-03-20T21:46:54.687" LastActivityDate="2017-03-21T06:04:17.827" Title="Searching the date array" Tags="|solr|content-search|custom-field|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5017" PostTypeId="2" ParentId="5015" CreationDate="2017-03-20T23:23:47.990" Score="3" Body="&lt;p&gt;I found the answer on StackOverflow: &lt;a href=&quot;https://stackoverflow.com/questions/33301106/query-lucene-index-against-ienumerable-field&quot;&gt;https://stackoverflow.com/questions/33301106/query-lucene-index-against-ienumerable-field&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short, instead of using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IEnumerable&amp;lt;DateTime&amp;gt; Checkins&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;you can use &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IgnoreIndexFieldAttribute]&#xA;DateTime Checkins&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then you can search using&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;i.Checkins &amp;gt;= request.DateFrom&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Checkins property will not show anything and is good only for searching. If you need to retrieve the list of dates, use another property as &lt;code&gt;IEnumerable&amp;lt;DateTime&amp;gt;&lt;/code&gt; and use it only for retrieval.&lt;/p&gt;&#xA;" OwnerUserId="379" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-03-21T06:04:17.827" CommentCount="0" CommunityOwnedDate="2017-03-20T23:23:47.990" ContentLicense="CC BY-SA 3.0" />
  <row Id="5018" PostTypeId="2" ParentId="4984" CreationDate="2017-03-21T00:49:07.763" Score="4" Body="&lt;p&gt;@Dheeraj &#xA;First Please ensure you have folder(&quot;\temp__UpgradeHistory\Upgrade_Sitecore 8.1 rev. 151003_20170318T05502164&quot;) present in your website path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to IIS and check application pool of your website. Also go to App pools advance settings and check for which account identity is set for the same.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If You have installed using sitecore exe installer, it will be network service. you need to set security access permissions to the folder( &quot;\temp__UpgradeHistory\Upgrade_Sitecore 8.1 rev. 151003_20170318T05502164&quot;)&#xA;ideally you dont need to do this as Sitecore installation already do this for you.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you have yourself setup this site from IIS, it might be running using AppPool Identity. In that case you need to setup security permissions to the website folder (Right click Website folder--&gt; Proerties --&gt; Security Tab--&gt; Edit permissions) Add --&gt; Click Locations --&gt; Select your computer name and then search below account&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;IIS APPPOOL\{your-website-apppoolname}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and set required permissions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-03-21T00:49:07.763" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5020" PostTypeId="1" AcceptedAnswerId="5031" CreationDate="2017-03-21T03:35:00.460" Score="0" ViewCount="2565" Body="&lt;p&gt;We have a requirement to auto-publish the sitecore items upon success tds deploy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using sitecore.ship /services/publish/smart but it doesn't seem to do any thing at all. The service returns json date which of no use.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Do we need to pass any parameter e.g. root node and credentials?&lt;/li&gt;&#xA;&lt;li&gt;From which node does it perform smart publish by default?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Are there any other options to perform smart publish using powershell?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2017-03-21T12:36:00.277" Title="Automatic publish sitecore items via Powershell part of build task" Tags="|publishing|sitecore-ship|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5022" PostTypeId="1" CreationDate="2017-03-21T05:18:44.100" Score="6" ViewCount="12676" Body="&lt;p&gt;I was trying to setup the Sitecore with Solr. I created the Default Instance and added Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use Castle Windsor as IOC, updated the Global.asax.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since I was not able to download the Solr Support Package, I use the GIT source to compile and get the other needed dlls for solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Solr.SupportPackage&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Solr.SupportPackage&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The configuration is done successfully. The solr is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Index Manager, Indexing is done. Now When try to browse the Content Editor I get the below error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Value cannot be null.&#xA;Parameter name: fieldNameTranslator&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.ArgumentNullException: Value cannot be null.&#xA;Parameter name: fieldNameTranslator&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[ArgumentNullException: Value cannot be null.&#xA;Parameter name: fieldNameTranslator]&#xA;   Sitecore.ContentSearch.Linq.Solr.SolrIndexParameters..ctor(IIndexValueFormatter valueFormatter, IFieldQueryTranslatorMap`1 fieldQueryTranslators, FieldNameTranslator fieldNameTranslator, IExecutionContext[] executionContexts, IFieldMapReaders fieldMap, Boolean convertQueryDatesToUtc) +315&#xA;   Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1..ctor(SolrSearchContext context, IExecutionContext[] executionContexts) +188&#xA;   Sitecore.ContentSearch.SolrProvider.SolrSearchContext.GetQueryable(IExecutionContext[] executionContexts) +268&#xA;   Sitecore.ContentTesting.ContentSearch.TestingSearch.GetAllTests() +195&#xA;   Sitecore.ContentTesting.Pipelines.GetContentEditorWarnings.GetContentTestingWarnings.AddSuspendedTestWarning(GetContentEditorWarningsArgs args) +63&#xA;   Sitecore.ContentTesting.Pipelines.GetContentEditorWarnings.GetContentTestingWarnings.Process(GetContentEditorWarningsArgs args) +43&#xA;   (Object , Object[] ) +71&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Shell.Applications.ContentManager.Editor.GetWarnings(Boolean hasSections) +307&#xA;   Sitecore.Shell.Applications.ContentManager.Editor.Render(RenderContentEditorArgs args, Control parent) +160&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.RenderEditor(Item item, Item root, Control editorsContainer, Boolean showEditor) +295&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateEditor(Item folder, Item root, Boolean showEditor) +488&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update() +568&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e) +172&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;   Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +143&#xA;   System.Web.UI.Control.PreRenderRecursiveInternal() +107&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7675&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to see the Experience Editor, it open succesfully but with similar error message on top.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;An error occurred. [Log message: Value cannot be null.&#xA; Parameter name: fieldNameTranslator]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I did try to see the other post (&lt;a href=&quot;https://stackoverflow.com/questions/32516859/getting-error-on-content-editor-after-upgrading-to-sitecore-8&quot;&gt;https://stackoverflow.com/questions/32516859/getting-error-on-content-editor-after-upgrading-to-sitecore-8&lt;/a&gt;), but it was not helpful. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure where things are going wrong, can someone throw some light ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What does it mean Solr Index Parameters ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Finally Found Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I haven't checked the Sitecore logs, it was emitting errors like 'Unable to connect to [&lt;a href=&quot;http://localhost:8983/solr]&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr]&lt;/a&gt;, Core: ...'&lt;/li&gt;&#xA;&lt;li&gt;Overlooked the Index Manager, Rebuild Job Running Status. It has some errors.&lt;/li&gt;&#xA;&lt;li&gt;Another major thing I missed was, haven't created all the core's required in Solr.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I hope this may help someone, who is starting Solr!&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2018-06-19T08:47:53.880" Title="Value cannot be null. Parameter name: fieldNameTranslator - Opening Content Editor" Tags="|solr|indexing|" AnswerCount="2" CommentCount="8" FavoriteCount="0" ClosedDate="2018-06-19T10:26:03.257" ContentLicense="CC BY-SA 3.0" />
  <row Id="5023" PostTypeId="1" CreationDate="2017-03-21T07:05:43.323" Score="2" ViewCount="1456" Body="&lt;p&gt;I want to be able to do something like this &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [HttpGet]&#xA;    public ActionResult Index()&#xA;    {&#xA;        return View();&#xA;    }&#xA;&#xA;    [HttpPost]&#xA;    [ValidateAntiForgeryToken]&#xA;    public ActionResult Index(object model)&#xA;    {&#xA;        if (model.OptionType == &quot;Download&quot;)&#xA;        {&#xA;            var fileData = _service.GetPdf();&#xA;            if (fileData == null)&#xA;            {&#xA;                ModelState.AddModelError(&quot;&quot;, ValidationMessages.Get(ValidationMessages.Codes.SystemError));&#xA;                return View(model);&#xA;            }&#xA;            return File(fileData, &quot;application/pdf&quot;, &quot;file.pdf&quot;);&#xA;        }&#xA;        return View(model);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However sitecore is complaining that OutputStream is not available when a custom TextWriter is used. I've seen &lt;a href=&quot;https://stackoverflow.com/questions/34740725/sitecore-mvc-outputstream-is-not-available-when-a-custom-textwriter-is-used&quot;&gt;this solution&lt;/a&gt; but if I do a RedirectToAction then I can't set the error as a ModelState error.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-07-19T10:03:09.330" Title="Downloading a file with MVC POST" Tags="|mvc|" AnswerCount="1" CommentCount="5" ClosedDate="2017-07-24T13:03:07.780" ContentLicense="CC BY-SA 3.0" />
  <row Id="5024" PostTypeId="2" ParentId="5023" CreationDate="2017-03-21T07:26:11.207" Score="0" Body="&lt;p&gt;You can wrap your filestream in a &lt;code&gt;HttpResponseMessage&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;public IHttpActionResult Index(object model)&#xA;{&#xA;    if (model.OptionType == &quot;Download&quot;)&#xA;    {&#xA;        var response = Request.CreateResponse(HttpStatusCode.OK);&#xA;        response.Content = new StreamContent(PDFSTREAM);&#xA;        response.Content.Headers.ContentDisposition = new ContentDispositionHeaderValue(&quot;attachment&quot;)&#xA;        {&#xA;            FileName = &quot;file.pdf&quot;&#xA;        };&#xA;        response.Content.Headers.ContentType = new MediaTypeHeaderValue(&quot;application/pdf&quot;);&#xA;        return ResponseMessage(response);&#xA;    }&#xA;    return View(model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="180" LastActivityDate="2017-03-21T07:26:11.207" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5025" PostTypeId="2" ParentId="5020" CreationDate="2017-03-21T07:43:24.663" Score="0" Body="&lt;p&gt;To answer your 'perform smart publish using powershell' query below is Powershell script with syntax &amp;amp; example&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Publish-Item [-Language &amp;lt;String[]&amp;gt;] [-Path] &amp;lt;String&amp;gt; [-Recurse] [-Target &amp;lt;String[]&amp;gt;] [-PublishMode &amp;lt;Unknown | Full | Incremental | SingleItem | Smart&amp;gt;] [-PublishRelatedItems] [-RepublishAll] [-CompareRevisions] [-FromDate &amp;lt;DateTime&amp;gt;] [-AsJob]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;An Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A job which does smart publishing all items &amp;amp; related items of siteA tenant to web database&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Publish-Item -PublishMode Smart -Path &quot;/sitecore/content/SiteA&quot; -Recurse -Target web -PublishRelatedItems -AsJob &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The real challenge is to execute the script in respective envrn CMs. we have used Octopus(tentacles) in one of our environment to enable CICD.&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-03-21T07:43:24.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5026" PostTypeId="1" AcceptedAnswerId="5029" CreationDate="2017-03-21T09:23:31.557" Score="10" ViewCount="1747" Body="&lt;p&gt;When trying to access the Sitecore Configuration Factory to read a setting while configuring services in the IoC container the below exception is thrown.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ServicesConfigurator : IServicesConfigurator&#xA;{&#xA;    public ServicesConfigurator()&#xA;    {&#xA;        Sitecore.Configuration.Factory.GetConfiguration();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I know, that this is because the configuration factory itself is configured in the container, and is not yet available, so the question is, how do I access values from the Sitecore configuration, before the configuration factory is available through the container? Accessing the factory through the Service Locator throws the same exception, eventhough the factory is already registered at this point.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Source Error:&lt;/h3&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;h2&gt;Recursive upgradeable lock acquisitions not allowed in this mode.&lt;/h2&gt;&#xA;  &#xA;  &lt;p&gt;&lt;code&gt;Sitecore.Configuration.Factory.GetConfiguration();&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;Stack Trace:&lt;/h3&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[LockRecursionException: Recursive upgradeable lock acquisitions not&#xA;  allowed in this mode.]&lt;br&gt;&#xA;  System.Threading.ReaderWriterLockSlim.TryEnterUpgradeableReadLockCore(TimeoutTracker&#xA;  timeout) +3839391&lt;br&gt;&#xA;  System.Threading.ReaderWriterLockSlim.TryEnterUpgradeableReadLock(TimeoutTracker&#xA;  timeout) +45&lt;br&gt;&#xA;  Sitecore.Threading.Locks.UpgradeableReadScope..ctor(ReaderWriterLockSlim&#xA;  mutex) +107&lt;br&gt;&#xA;  Sitecore.DependencyInjection.ServiceLocator.get_ServiceProvider() +85 &#xA;  Sitecore.Configuration.Factory.&amp;lt;.cctor&gt;b__0() +9&lt;br&gt;&#xA;  System.Lazy&lt;code&gt;1.CreateValue() +709    System.Lazy&lt;/code&gt;1.LazyInitValue() +191&#xA;  Sitecore.Configuration.Factory.GetConfiguration() +44   &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TargetInvocationException: Exception has been thrown by the target of&#xA;  an invocation.]    System.RuntimeTypeHandle.CreateInstance(RuntimeType&#xA;  type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached,&#xA;  RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck) +0&lt;br&gt;&#xA;  System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean&#xA;  skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark) +138&lt;br&gt;&#xA;  System.Activator.CreateInstance(Type type, Boolean nonPublic) +105&lt;br&gt;&#xA;  System.Activator.CreateInstance(Type type) +12&lt;br&gt;&#xA;  Sitecore.DependencyInjection.ConfiguratorsConfigurator.b__0(XmlNode&#xA;  x) +164    System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +223&#xA;  Sitecore.DependencyInjection.BaseServicesConfiguratorFactory.Configure(IServiceCollection&#xA;  serviceCollection) +179&lt;br&gt;&#xA;  Sitecore.DependencyInjection.BaseServicesConfiguratorFactory.Configure(IServiceCollection&#xA;  serviceCollection) +160&lt;br&gt;&#xA;  Sitecore.DependencyInjection.BaseServiceProviderBuilder.ConfigureServiceCollection()&#xA;  +142    Sitecore.DependencyInjection.ServiceLocator.ConfigureServiceProvider()&#xA;  +256    Sitecore.DependencyInjection.ServiceLocator.get_ServiceProvider() +153&#xA;  Sitecore.DependencyInjection.SitecorePerRequestScopeModule..ctor() +13&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TargetInvocationException: Exception has been thrown by the target of&#xA;  an invocation.]    System.RuntimeTypeHandle.CreateInstance(RuntimeType&#xA;  type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached,&#xA;  RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck) +0&lt;br&gt;&#xA;  System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean&#xA;  skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark) +138&lt;br&gt;&#xA;  System.Activator.CreateInstance(Type type, Boolean nonPublic) +105&lt;br&gt;&#xA;  System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder&#xA;  binder, Object[] args, CultureInfo culture, Object[]&#xA;  activationAttributes, StackCrawlMark&amp;amp; stackMark) +1499&lt;br&gt;&#xA;  System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,&#xA;  Binder binder, Object[] args, CultureInfo culture, Object[]&#xA;  activationAttributes) +191    System.Activator.CreateInstance(Type&#xA;  type, BindingFlags bindingAttr, Binder binder, Object[] args,&#xA;  CultureInfo culture) +27&lt;br&gt;&#xA;  System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[]&#xA;  args) +82&lt;br&gt;&#xA;  System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1&#xA;  moduleList) +229&lt;br&gt;&#xA;  System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)&#xA;  +1114    System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers) +140&lt;br&gt;&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&lt;br&gt;&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context) +402&lt;br&gt;&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Exception has been thrown by the target&#xA;  of an invocation.]&lt;br&gt;&#xA;  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +539&lt;br&gt;&#xA;  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)&#xA;  +125    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest&#xA;  wr, HttpContext context) +731&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="180" LastEditorUserId="2727" LastEditDate="2018-03-25T00:26:23.477" LastActivityDate="2018-03-25T00:26:23.477" Title="Recursive upgradeable lock acquisitions not allowed in this mode exception while accessing Sitecore configuration while initiating the IoC container" Tags="|configuration|dependency-injection|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5027" PostTypeId="1" CreationDate="2017-03-21T10:14:13.280" Score="0" ViewCount="211" Body="&lt;p&gt;I have install EXM 3.4. now i want to configure  the Email Delivery service.&#xA;What steps i should follow?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In App Center there is &quot;Email Delivery for EXM 1.0 - 3.3(Dyn)&quot;, can i use this for EXM 3.4?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rbvTk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rbvTk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1160" LastActivityDate="2017-03-21T10:31:55.997" Title="EXM 3.4 configure the “Email Delivery service”" Tags="|sitecore-client|exm|" AnswerCount="1" CommentCount="0" ClosedDate="2017-04-09T22:02:44.103" ContentLicense="CC BY-SA 3.0" />
  <row Id="5028" PostTypeId="2" ParentId="5027" CreationDate="2017-03-21T10:31:55.997" Score="2" Body="&lt;p&gt;The Email Delivery service will be deprecated by November 1st. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Update1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;, you should contact your local Sitecore representative.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Please be aware than when upgrading to EXM 3.4, a new subscription to the Sitecore Email Cloud is required. This especially applies to existing subscribers of the Sitecore App Center product; Email Delivery. Email Delivery subscriptions will no longer be active in EXM 3.4 and you are no longer able to self-serve your subscription through the Sitecore App Center UI. To ensure continuous service and for more information on how to migrate, how to subscribe and subscription pricing, please contact your local Sitecore representative immediately.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="180" LastActivityDate="2017-03-21T10:31:55.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5029" PostTypeId="2" ParentId="5026" CreationDate="2017-03-21T10:36:31.723" Score="10" Body="&lt;h2&gt;Explanation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your configurator is run as a part of the DI container initialization. During that phase, you cannot use the Sitecore Factory, because, starting from Sitecore 8.2, Factory uses the DI container under the hood. This restriction is apparently there to prevent configuration loops: container requests something from the Factory, the Factory falls back to the not-yet-initialized container, and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of this, you cannot:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Access Sitecore configuration when initializing the container;&lt;/li&gt;&#xA;&lt;li&gt;Instantiate objects using the Factory from your configurators;&lt;/li&gt;&#xA;&lt;li&gt;Inject properties or constructor parameters into the configurator itself.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Suggestions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you need to get parts of DI configuration from a file, you can:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Read settings from your own configuration file (without using Sitecore Factory);&lt;/li&gt;&#xA;&lt;li&gt;Use &lt;code&gt;appSettings&lt;/code&gt; / &lt;code&gt;applicationSettings&lt;/code&gt; in the Web.config;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://structuredcode.com/replacing-default-di-container-sitecore-8-2/&quot; rel=&quot;noreferrer&quot;&gt;Substitute the underlying DI container&lt;/a&gt; with something that supports custom configuration file format, such as &lt;a href=&quot;http://docs.autofac.org/en/latest/configuration/xml.html&quot; rel=&quot;noreferrer&quot;&gt;Autofac&lt;/a&gt;;&lt;/li&gt;&#xA;&lt;li&gt;Use configuration-level injection of an implementation of a certain interface. That specific implementation will provide the settings — this way, settings are still set in the code, but are easily swappable from XML configuration.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-03-21T12:40:06.087" LastActivityDate="2017-03-21T12:40:06.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5031" PostTypeId="2" ParentId="5020" CreationDate="2017-03-21T12:36:00.277" Score="5" Body="&lt;p&gt;I am assuming you are making a web request to the Sitecore Ship endpoint to publish the changes, something similar to this, maybe using Windows PowerShell to invoke the call:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;$postUrl = &quot;http://mysite/services/publish/smart&quot;&#xA;Invoke-WebRequest $postUrl -Method POST -TimeoutSec 900 -UseBasicParsing&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you check the &lt;a href=&quot;http://docs.sitecoreship.apiary.io/#reference/0/publishing/sitecore-content-publish&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Ship Documentation&lt;/a&gt; then the return value of date is the expected value. Note that the call simply kicks off a publish and returns, it does not wait for the publish operation to be finished before handing back control. You can check the Sitecore logs to ensure that the publish operation did start/end as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also pass in some additional request values to control publishing:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;source&lt;/strong&gt; : The publishing source [&lt;em&gt;default: master&lt;/em&gt;]&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;targets&lt;/strong&gt; : The publishing targets [&lt;em&gt;default: web&lt;/em&gt;]&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;languages&lt;/strong&gt; : The publishing languages [&lt;em&gt;default: en&lt;/em&gt;]&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Alternatives&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://fortis.ws/fortis-collection/toolcore/&quot; rel=&quot;noreferrer&quot;&gt;Fortis Toolcore&lt;/a&gt; - adds a web service to Sitecore that will allow you to publish and poll for completion status&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#deploy&quot; rel=&quot;noreferrer&quot;&gt;TDS Post Deploy Step&lt;/a&gt; - TDS 5.5 added a new feature to execute Post Deploy Steps. One of the default options is to publish the changes in the package at the end of the package installation. You need to enable this from the &lt;strong&gt;Deploy&lt;/strong&gt; tab of the TDS project properties and add in a list of publish targets.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2016/09/19/tds-post-deploy-powershell-step/&quot; rel=&quot;noreferrer&quot;&gt;TDS Post Deploy Step with PowerShell&lt;/a&gt; - It's also possible to create a custom post deploy action which will in turn trigger Sitecore PowerShell scripts. The scripts can carry out any action you want, including a publish. The scripts themselves can also be managed as part of your TDS package and therefore developers are able to add/update/delete them.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-03-21T12:36:00.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5032" PostTypeId="1" AcceptedAnswerId="5033" CreationDate="2017-03-21T14:43:03.457" Score="2" ViewCount="771" Body="&lt;p&gt;I populated sample analytics data via jMeter in testing environment. I could see all sample data reports through Sitecore Analytics dashboard, but the Location data(graph) shows empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even I populated sample data and could see the visit random generated IP addressees at MongoDB, do I have to purchase Sitecore IP Geolocation service to enable Location data view (graph)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have set &lt;code&gt;Analytics.ForwardedRequestHttpHeader&lt;/code&gt; as &lt;code&gt;X-Forwarded-For&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7h3ws.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7h3ws.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="554" LastEditorUserId="73" LastEditDate="2017-04-11T23:25:57.447" LastActivityDate="2017-04-11T23:25:57.447" Title="Sitecore Analytics Location has no data" Tags="|xdb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5033" PostTypeId="2" ParentId="5032" CreationDate="2017-03-21T18:41:24.447" Score="5" Body="&lt;p&gt;Yes, purchasing the Sitecore GeoIp and Device Detection will populate those areas out of the box. You can enable these in the AppCenter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, the &lt;code&gt;&amp;lt;commitSession&amp;gt;&lt;/code&gt; pipeline has a processor called &lt;strong&gt;UpdateGeoIpData&lt;/strong&gt; that could potentially be overriden to provide a 3rd party GeoIp lookup source.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-03-21T18:41:24.447" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5034" PostTypeId="1" AcceptedAnswerId="5036" CreationDate="2017-03-21T19:32:25.443" Score="3" ViewCount="3979" Body="&lt;p&gt;I have set up a custom button in the Content Editor that makes a third-party API call when clicked. In order to let the user know that the client is performing some work, I have implemented a ProgressBox. I would also like to alert the user at the end to any errors that may have occurred (it's not enough to tell them to check to the logs). Here is how my code is set up.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Execute(CommandContext context)&#xA;{&#xA;    string message = &quot;Result\r\n&quot;;&#xA;    Sitecore.Shell.Applications.Dialogs.ProgressBoxes.ProgressBox.Execute(&#xA;        &quot;Push To API&quot;,&#xA;        &quot;API Call&quot;,&#xA;        new Sitecore.Shell.Applications.Dialogs.ProgressBoxes.ProgressBoxMethod(StartProcess),&#xA;        new object[] { });&#xA;&#xA;    SheerResponse.Alert(message);&#xA;}&#xA;&#xA;public void StartProcess(params object[] parameters)&#xA;{&#xA;    // API call (or calls) happen here. After the API calls are finished&#xA;    // the message value gets set to reflect what happened during the &#xA;    // process&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My goal is to trigger the Alert Box after the StartProcess has fully completed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the Execute method runs asynchronously, so the Alert Box always runs with a message of &quot;&lt;em&gt;Result&lt;/em&gt; &quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thing to note is that I've been adding progress messages to the Progress box using code like this inside the StartProcess method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.Job.Status.Messages.Add($&quot;There has been an error with {item.Name}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is not sufficient for my needs, because the ProgressBox closes immediately upon creation of the process. Thanks in advance for any assistance here.&lt;/p&gt;&#xA;" OwnerUserId="1653" LastEditorUserId="605" LastEditDate="2017-03-21T20:02:10.383" LastActivityDate="2017-03-22T21:44:30.207" Title="In the Content Editor, how can I have a Sitecore alert popup code run after the ProgressBox Execute code has finished running?" Tags="|sitecore-client|content-editor|sheer-ui|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5036" PostTypeId="2" ParentId="5034" CreationDate="2017-03-21T19:48:03.377" Score="3" Body="&lt;p&gt;You should have a method which check the status of the task. Please see below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void CheckStatus()&#xA;{&#xA;    var isJobDone = JobManager.GetJobs().FirstOrDefault(j =&amp;gt; j.Name.Equals(&quot;Push To API&quot;) &amp;amp;&amp;amp; j.Status.State == JobState.Running);&#xA;&#xA;    if (isJobDone != null &amp;amp;&amp;amp; !isJobDone.IsDone)&#xA;    {&#xA;        SheerResponse.Timer(&quot;CheckStatus&quot;, 100);&#xA;    }&#xA;    else&#xA;    {&#xA;        Context.ClientPage.ClientResponse.Alert(&quot;Task Completed&quot;);&#xA;    }   &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The CheckStatus method will trigger after 100 and see if the job has been completed. If not, it will &quot;subscribe&quot; to it and trigger again after 100. Once the job is done, it will show the alert.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Due to the following error&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Method &quot;CheckStatus&quot; not found in&#xA;  Sitecore.Shell.Applications.ContentManager.ContentEditorForm‌​.&#xA;  (method: Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command))&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;some changes are required because the &lt;code&gt;SheerResponse.Timer&lt;/code&gt; is expecting that the method &lt;code&gt;CheckStatus&lt;/code&gt; is present in the &lt;code&gt;ContentEditorForm&lt;/code&gt;. So, to fix this, the &lt;code&gt;CheckStatus&lt;/code&gt; method needs to be modified as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void CheckStatus()&#xA;{&#xA;    //Change the eventName here&#xA;    SheerResponse.Timer(&quot;PublishApi:checkStatus&quot;, 100);        &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or you can directly call the Timer in the &lt;code&gt;Execute&lt;/code&gt; as shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Execute(CommandContext context)&#xA;{&#xA;    string message = &quot;Result\r\n&quot;;&#xA;    Sitecore.Shell.Applications.Dialogs.ProgressBoxes.ProgressBox.Execute(&#xA;        &quot;Push To API&quot;,&#xA;        &quot;API Call&quot;,&#xA;        new Sitecore.Shell.Applications.Dialogs.ProgressBoxes.ProgressBoxMethod(StartProcess),&#xA;        new object[] { });&#xA;&#xA;    SheerResponse.Timer(&quot;PublishApi:checkStatus&quot;, 100); &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, you need to have a command entry as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration  xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;PublishApi:checkStatus&quot; type=&quot;YourNamespaceAndClass, YourAssembly&quot; /&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;    &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, you need to implement the new command &lt;code&gt;PublishApi:checkStatus&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Execute(CommandContext context)&#xA;{&#xA;    var isJobDone = JobManager.GetJobs().FirstOrDefault(j =&amp;gt; j.Name.Equals(&quot;Push To API&quot;) &amp;amp;&amp;amp; j.Status.State == JobState.Running);&#xA;&#xA;    if (isJobDone != null &amp;amp;&amp;amp; !isJobDone.IsDone)&#xA;    {&#xA;        SheerResponse.Timer(&quot;PublishApi:checkStatus&quot;, 100);&#xA;    }&#xA;    else&#xA;    {&#xA;        Context.ClientPage.ClientResponse.Alert(&quot;Results&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that you will require to modify the code accordingly for the result message to get updated.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-03-22T21:44:30.207" LastActivityDate="2017-03-22T21:44:30.207" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="5038" PostTypeId="1" AcceptedAnswerId="9950" CreationDate="2017-03-21T20:31:48.283" Score="6" ViewCount="2151" Body="&lt;p&gt;I have a field in Sitecore that contains data such as &quot;2010,2011,2012,2013&quot; or &quot;Europe;Asia;Africa;Artic&quot; etc. These are string fields and don't need to be anymore than strings. These fields come from an external system. I would like to use them as filters on a listing page that I am creating. I would like to store them as computed fields in a Solr index. After I display them on the page they should look like this in a drop down -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;--Select--&#xA;2010&#xA;2011&#xA;2012&#xA;2013&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My computed field looks something like this in the index configuration file - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;year&quot; storageType=&quot;yes&quot; returnType=&quot;stringCollection&quot; indexType=&quot;untokenized&quot;&amp;gt;Class, Library&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have some code which basically uses splits up the string into a List of a string to pass the value in to the computed field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I read it from the Solr index, I do not always get all the values back and it only gives me back a few values. After a rebuild the values change again and I may only get 3 out of 4 values; another time I may only get 1 or 2 after an index rebuild. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code I'm using to read the field looks something like - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;items.Select(x =&amp;gt; x.Document.Year).Distinct(StringComparer.CurrentCultureIgnoreCase).OrderBy(x =&amp;gt; x).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I doing  this correct? Should I be using some other returnType or object type in my configuration?&lt;/p&gt;&#xA;" OwnerUserId="1073" LastActivityDate="2018-03-09T23:19:17.647" Title="Solr and multivalue fields" Tags="|solr|content-search|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="5039" PostTypeId="1" AcceptedAnswerId="5043" CreationDate="2017-03-21T20:54:57.000" Score="7" ViewCount="1179" Body="&lt;p&gt;I need to do a clean test in Sitecore Analytics. I have cleaned all Analytics but if I remount the path Analyser all results are brought back. What is the best way to do this?&lt;/p&gt;&#xA;" OwnerUserId="1633" OwnerDisplayName="Gustavo Nito" LastEditorUserId="423" LastEditDate="2017-09-15T12:51:53.997" LastActivityDate="2017-09-15T12:51:53.997" Title="Clean Analytics in Sitecore 8" Tags="|xdb|experience-analytics|reporting|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5042" PostTypeId="2" ParentId="5039" CreationDate="2017-03-22T05:43:31.983" Score="3" Body="&lt;p&gt;The quick and dirty way that I do it in dev on a regular basis is to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Replace your reporting database with a new DB from the sitecore zip file /databases.&lt;/li&gt;&#xA;&lt;li&gt;Using robomongo, log into Mongo and delete your xDB databases. ([yoursite]_analytics, [yoursite]_tracking_contact, [yoursite]_tracking_live, [yoursite]_tracking_live).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When you visit the site for the first time, Sitecore will make new xDB databases in Mongo. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-03-22T05:43:31.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5043" PostTypeId="2" ParentId="5039" CreationDate="2017-03-22T07:09:30.620" Score="7" Body="&lt;p&gt;&lt;strong&gt;First Method (recommended):&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Install the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&quot; rel=&quot;noreferrer&quot;&gt;Analytics Database Manager&lt;/a&gt; version 3.0&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;When Analytics Database Manager is installed, access the application from the Sitecore&#xA;launchpad.&lt;/li&gt;&#xA;&lt;li&gt;Go on the &quot;REMOVE OLD DATA&quot; tab, select the desired options and click start.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Second Method:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Delete your MongoDB Databases related to the Sitecore instance.&lt;/li&gt;&#xA;&lt;li&gt;Replace the Reporting Database with a clean copy of the corresponding Sitecore version or use the &lt;strong&gt;__DeleteAllReportingData&lt;/strong&gt;  stored procedure in /Programmability/Stored Procedures .&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Fpzad.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Fpzad.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Restart your Sitecore Instance.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1712" LastEditorUserId="1712" LastEditDate="2017-03-22T08:01:14.453" LastActivityDate="2017-03-22T08:01:14.453" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5044" PostTypeId="1" CreationDate="2017-03-22T08:37:04.363" Score="0" ViewCount="88" Body="&lt;p&gt;Our website has the OOB social login feature and there are two Facebook accounts for testing.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Account1 - Created with a valid email &amp;amp; later added a valid phone number&lt;br&gt;&#xA;Account2 - Created with a valid Phone number &amp;amp; later added an invalid email  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can login to Facebook with both the accounts by phone/email, without any issues.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Facebook App we are using has both these accounts as administrators.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I use social login in my site: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can login with phone/email of Account1 without any issues.&lt;br&gt;&#xA;But with Account2, the login doesn't happen with either. After clicking on FB login, it redirects to the previous page with &quot;authResult=error_someguid&quot; in the query string&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a method, to prevent Sitecore from creating user accounts on social login.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;custom.config:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA; &amp;lt;social.matchUser&amp;gt;&#xA;  &amp;lt;processor type=&quot;MySite.Foundation.Common.Utilities.SitecoreExtensions+MySiteSocial, MySite.Foundation.Common&quot; patch:before=&quot;*[1]&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;     &amp;lt;site&amp;gt;MYSITE&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/processor&amp;gt;&#xA; &amp;lt;/social.matchUser&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;class:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MySiteSocial&#xA;{&#xA;  public void Process(SelectUserPipelineArgs args)&#xA;  {&#xA;    ....&#xA;    ....&#xA;    string fbid = args.AccountBasicData.Id;&#xA;    string email= args.AccountBasicData.Email;&#xA;    string name = args.AccountBasicData.FullName;&#xA;    ....&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When logged in with Account2 by phone/email, there is no value for &lt;code&gt;email&lt;/code&gt;. &#xA;I am unable to figure out if this is an issue at Sitecore, the FB App or the Account.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the login to Facebook is successful with both accounts, shouldn't it also be so, when using Social login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using Sitecore 8.0 update 5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read that, this happens when there is invalid data in user profile. In this case, the email in Account 2 is invalid and hence the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Though Facebook allows the login even with invalid data, the Facebook App that we use on website doesn't seem to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would appreciate, if anyone can suggest a way to get those invalid data too, with a social login.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-03-23T06:10:24.740" LastActivityDate="2017-03-23T06:10:24.740" Title="Social Login allows only few accounts" Tags="|social-connected|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5045" PostTypeId="2" ParentId="4307" CreationDate="2017-03-22T10:56:22.337" Score="5" Body="&lt;p&gt;Using DotPeek, I have spotted the issue in the class &lt;code&gt;Sitecore.Cloud.Packaging.WebDeployPackages.WebDeployPackageBuilder&lt;/code&gt; on the &lt;code&gt;Build&lt;/code&gt; method, I suspect this is the root cause of the problem.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      {&#xA;        &quot;core&quot;,&#xA;        path1 + &quot;\\Sitecore.Core.dacpac&quot;&#xA;      },&#xA;      {&#xA;        &quot;master&quot;,&#xA;        path1 + &quot;\\Sitecore.Master.dacpac&quot;&#xA;      },&#xA;      {&#xA;        &quot;web&quot;,&#xA;        path1 + &quot;\\Sitecore.Reporting.dacpac&quot;&#xA;      },&#xA;      {&#xA;        &quot;reporting&quot;,&#xA;        path1 + &quot;\\Sitecore.Web.dacpac&quot;&#xA;      }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Currently waiting on Sitecore to provide a fix for this.&lt;/p&gt;&#xA;" OwnerUserId="240" LastActivityDate="2017-03-22T10:56:22.337" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5046" PostTypeId="1" AcceptedAnswerId="5047" CreationDate="2017-03-22T14:26:24.027" Score="5" ViewCount="1619" Body="&lt;p&gt;I am switching work computer and I want to get rid of many local Sitecore instances. I have 30+ instances from 7.0 to 8.2. To find out which Sitecore instances I can safely delete and which ones need a backup, I would like to compare them with their vanilla out of the box state. I would like a report with the additional and modified files, plus the additional/modified Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a free tool to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I found so far:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The Sitecore Config Builder can generate the ShowConfig of a Sitecore instance and download the out of the box one at the same time. I have to manually compare the 2 files. A lot of changes in the configuration are related to the Sitecore instance name. It adds a lot of noise in the comparison.&lt;/li&gt;&#xA;&lt;li&gt;Hedgehog Razl can compare Sitecore database items. However, it is not free. Additionally, I believe I would have to install a vanilla Sitecore instance of each version to have the vanilla databases to compare with.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="171" LastEditorUserId="731" LastEditDate="2018-12-07T19:48:03.310" LastActivityDate="2018-12-07T19:48:03.310" Title="Comparing a Sitecore instance with a vanilla one" Tags="|configuration|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5047" PostTypeId="2" ParentId="5046" CreationDate="2017-03-22T15:17:17.097" Score="2" Body="&lt;h1&gt;TL;DR - No&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Ultimately, I believe this is the only answer anyone could offer, given your constraints.  But since &quot;no&quot; is such a poor answer, I will try and elaborate on my view.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What is vanilla?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The items in a vanilla instance have no common markers. It's not like e.g. in the Windows File System where files could be marked with the archive bit, which would then be cleared as soon as something was changed on the file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short, there is no way to see if a Sitecore item has changed, from the base vanilla install.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;That's not entirely true however&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You could record all the vanilla Item IDs and Revision numbers, of your Sitecore installation. But these are not available on public record (but I might be getting an idea as I write this) - so there would be no way for you to determine this on your 30+ instances. You would, as a minimum, need to install 1 of each version of Sitecore you have in use to produce the vanilla footprint - and then use some sort of tool to compare this footprint against your instances. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;You could use Unicorn&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To get around the limitation of needing a commercial tool. But you would still not be able to get around, the need to install vanilla instances as a comparison blueprint.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;With Unicorn, how could it be done?&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I can outline the idea.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install 1 of each version of Sitecore you have in use&lt;/li&gt;&#xA;&lt;li&gt;Install Unicorn on each&lt;/li&gt;&#xA;&lt;li&gt;&lt;s&gt;Serialize &quot;master&quot; and &quot;web&quot; fully&lt;/s&gt;&lt;/li&gt;&#xA;&lt;li&gt;Serialize &quot;core&quot; and &quot;master&quot; fully&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You now have your blueprints.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then proceed to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install Unicorn on each of your 30+ instances&lt;/li&gt;&#xA;&lt;li&gt;Serialize as above&lt;/li&gt;&#xA;&lt;li&gt;Use a file diff tool to point out differences&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But that is a pretty involved process as well. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The fine print&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;And none of the above actually deals with changed Sitecore file based assets. For this, you could definitely use a common file diff tool - like Beyond Compare or similar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edited&lt;/strong&gt; to fix, which databases would be significant. &quot;web&quot; is largely irrelevant, as that would always be a product of publishing &quot;master&quot;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-03-22T20:54:11.923" LastActivityDate="2017-03-22T20:54:11.923" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5048" PostTypeId="1" CreationDate="2017-03-22T15:40:52.120" Score="2" ViewCount="769" Body="&lt;p&gt;I am using Sitecore 8.1.&#xA;I wanted to understand about Statistics generated when AB testing is started. I started Content based AB testing on one of webpage.I have not involved goals to my test. The Test Result which I see is as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Iwjmf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Iwjmf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ngxx5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ngxx5.png&quot; alt=&quot;TestResult2&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RYXjt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RYXjt.png&quot; alt=&quot;ActiveTest&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As seen in the Active Tests pop-up it gives me Effect as &lt;strong&gt;12.63%&lt;/strong&gt;. So I wanted to know what does effect mean here. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I have no clue how many visitors are hitting/getting exposed to my Variation 1 and how many to variation 2. Is there anywhere I can look for this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you all could suggest any good reads explaining about AB testing. On web I could find links on how to start AB test but nothing regarding where and how I can validate my test. Or how Sitecore does AB test behind the scenes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1345" LastActivityDate="2017-05-21T20:42:29.123" Title="Content AB testing in Sitecore" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5049" PostTypeId="1" AcceptedAnswerId="5060" CreationDate="2017-03-22T17:28:07.283" Score="6" ViewCount="7249" Body="&lt;p&gt;I typically do my error logging like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Diagnostics.Log.Error(&quot;My Error Message Here&quot;, ex, this);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, that same syntax does not work for inside a Static class since &lt;code&gt;this&lt;/code&gt; is not valid in a static property, static method, or static field initializer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see from the IntelliSense that my other options would be &lt;code&gt;string loggerName&lt;/code&gt; or &lt;code&gt;Type ownerType&lt;/code&gt;. But, I'm not sure exactly what these options mean.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the correct way to log an error inside a static class?&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="2727" LastEditDate="2018-04-02T12:44:23.923" LastActivityDate="2018-04-02T12:44:23.923" Title="Sitecore.Diagnostics.Log.Error() method is not working Inside a Static Class" Tags="|logging|error-handling|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5050" PostTypeId="2" ParentId="5049" CreationDate="2017-03-22T17:31:23.287" Score="0" Body="&lt;p&gt;You can use an object (instance of a class), like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Diagnostics.Log.Error(&quot;Message&quot;, ex, new object());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;this&lt;/code&gt; does not work, as the the &lt;code&gt;Error()&lt;/code&gt; or any other logging method expects an instance of class, so it won't work in static method.&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2017-03-22T17:31:23.287" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5051" PostTypeId="2" ParentId="5049" CreationDate="2017-03-22T18:56:19.107" Score="0" Body="&lt;p&gt;You could try to create a singleton rather than creating a static class.  This should allow you to use &quot;this.&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ff650316.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/ff650316.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="698" LastActivityDate="2017-03-22T18:56:19.107" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5052" PostTypeId="2" ParentId="5048" CreationDate="2017-03-22T19:26:11.203" Score="2" Body="&lt;p&gt;Goals are critical to measuring the performance of tests since Sitecore measures content effectiveness of test variations based on value delivered, not just clicks through.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for the effect, I believe that % is the effect that the test had on the overall engagement value generated on the website - so if you have goals elsewhere on the site it is calculating based on when a user sees a test variation and takes an action/triggers a goal somewhere else in the experience.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To see the variations (im not sure if this is right), you should view the test in experience editor and see if it gives you that information there? &lt;/p&gt;&#xA;" OwnerUserId="775" LastActivityDate="2017-03-22T19:26:11.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5053" PostTypeId="1" AcceptedAnswerId="5163" CreationDate="2017-03-22T19:31:08.363" Score="4" ViewCount="1125" Body="&lt;p&gt;I'm working on a Sitecore Azure PaaS instance using the Azure Marketplace ARM template which sets up Azure Search.  For much of the project things are OK, but I'm having difficulty with Multilist fields.  Multilist field values are stored as text in the format of pipe delimited GUIDs.  When you use the Sitecore ContentSearch API you cannot search for a particular ID within the string due to the way that Azure search works. I know that it does some weird Regex matching which throws off a bunch of stuff.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is, has anyone found a way to overcome this? There doesn't seem to be a lot of help out there in reference to Azure Search with Sitecore.  Googling just gets a bunch of &quot;news&quot; from the Fall when Update 1 came out.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var test2 = context.GetQueryable&amp;lt;SBJSearchItem&amp;gt;()&#xA;    .Where(p =&amp;gt; p.Authors.Contains(&quot;9C66&quot;))&#xA;    .ToArray();&#xA;&#xA;var test3 = context.GetQueryable&amp;lt;SBJSearchItem&amp;gt;()&#xA;    .Where(p =&amp;gt; p.Authors.Contains(&quot;8292632F-244A-4327-9C66-80DCF98CCAB8&quot;))&#xA;    .ToArray();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the code example above I have a class &lt;code&gt;SBSearchItem&lt;/code&gt; that inherits &lt;code&gt;SearchResultItem&lt;/code&gt; and adds the &lt;code&gt;Authors&lt;/code&gt; property as an index field type of string (see bottom).  In the code example above the &lt;code&gt;test2&lt;/code&gt; array returns a number of items as &quot;9C66&quot; matches a portion of an author's item id.  But when I pass in the entire ID in the &lt;code&gt;test3&lt;/code&gt; array it returns 0 items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's some data from my Azure Search logs showing the 2 queries.  You can see how it's escaping for the URL &amp;amp; Regex.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;?api-version=2015-02-28&amp;amp;search=authors:(/.*9C66.*/)&amp;amp;queryType=full&amp;amp;$count=true&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;?api-version=2015-02-28&amp;amp;search=authors:(/.*8292632F%5C-244A%5C-4327%5C-9C66%5C-80DCF98CCAB8.*/)&amp;amp;queryType=full&amp;amp;$count=true&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I use a REST client and manually pass in the following query I get all of the results as expected.  It appears to be the way that the Sitecore ContentSearch API is handling the input.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;?api-version=2015-02-28&amp;amp;search=authors:(%22%7B8292632F-244A-4327-9C66-80DCF98CCAB8%7D%22)&amp;amp;queryType=full&amp;amp;$orderby=date%20desc&amp;amp;$count=true&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;authors&quot;)]&#xA;public string Authors { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="933" LastEditorUserId="933" LastEditDate="2017-03-23T11:33:27.013" LastActivityDate="2018-08-15T11:43:03.707" Title="Multilist fields and Azure Search" Tags="|content-search|azure-search|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5054" PostTypeId="2" ParentId="5049" CreationDate="2017-03-22T19:31:49.637" Score="1" Body="&lt;p&gt;You can also make use of a string for the object parameter as shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Diagnostics.Log.Error(&quot;Message&quot;, ex, &quot;YourLoggerName&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;loggerName&lt;/code&gt; is the module or feature. For example, you are using the &lt;code&gt;Log.Error&lt;/code&gt; in the module Product, you can set the loggerName as Product. This can be useful when you see the errors with the logger as Product, which means it is being triggered in the Product Module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;ownerType&lt;/code&gt; is a type. For example &lt;code&gt;PropertyLayout&lt;/code&gt;, &lt;code&gt;ExceptionLayout&lt;/code&gt; are different ownerType&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is the correct way to log an error inside a static class?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It all depends what you want to retrieve when you check the logs. Normally, you will make use of the &lt;code&gt;Log.Error&lt;/code&gt; in your modules. So, it will be preferable to use the following: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Diagnostics.Log.Error(&quot;Message&quot;, ex, &quot;YourLoggerName&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-03-22T20:18:51.197" LastActivityDate="2017-03-22T20:18:51.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5055" PostTypeId="2" ParentId="5053" CreationDate="2017-03-22T20:57:17.300" Score="0" Body="&lt;p&gt;The reason the last query returns just that single result is because it's does not have the wildcard search in the beginning and end of the guid (.*), just exact match, including the {} characters. It's also encapsulated in double quotes (%22), making it an exact search match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in theory this query should return all the expected results:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;?api-version=2015-02-28&amp;amp;search=authors:(%22%2E%2A8292632F-244A-4327-9C66-80DCF98CCAB8%2E%2A%22)&amp;amp;queryType=full&amp;amp;$orderby=date%20desc&amp;amp;$count=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can you let me know if that works? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It basically encapsulates the query in wildcard search for beginning and end. If that works, then the question is, why isn't the &lt;em&gt;Contains()&lt;/em&gt; generating the correct query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Things to check: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add double quotes to the Cotains call, to make sure it's considered&#xA;exact match. Either \&quot; or %22&lt;/li&gt;&#xA;&lt;li&gt;Add \ before the hyphens, to ensure they are not considered negative operators. Although this should not be the case, since in the log, it gets a backslash (%5C) prefixed. Also, it should be a negative operator only if there's a space in front.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/Simple-query-syntax-in-Azure-Search?redirectedfrom=MSDN&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/rest/api/searchservice/Simple-query-syntax-in-Azure-Search?redirectedfrom=MSDN&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-03-22T20:57:17.300" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5057" PostTypeId="1" AcceptedAnswerId="5128" CreationDate="2017-03-22T21:49:02.717" Score="1" ViewCount="837" Body="&lt;p&gt;This question is somewhat similar to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/865/unpublishing-a-language-from-a-site&quot;&gt;&amp;quot;Unpublishing&amp;quot; a Language from a site&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've built a new site for a client that has 6 languages. The default language is English (en). They want to go live with just the English site, and restrict access to the other languages on content delivery environments. However, their content authors on their CM sites still need to work on these language versions and preview/publish them on the authoring site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm looking for a way to restrict access to these non-english languages without removing them from the web db. My attempt at a quick fix was to replace the LanguageResolver on CD only with a class that forces Context.Language to English. That worked, but the language parts of the url still resolve. So /en/my-page and /de-DE/my-page resolve to the same item. I'd like the non-english language urls to 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will be a temporary measure until they choose to go live with their localized versions so ideally I'd like to be able to remove this easily.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-28T12:32:55.723" Title="Hide a language in Content Delivery environment" Tags="|multilingual|" AnswerCount="4" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5058" PostTypeId="2" ParentId="5057" CreationDate="2017-03-22T22:16:11.270" Score="4" Body="&lt;p&gt;One option would be to set &lt;code&gt;Languages.AlwaysStripLanguage = false&lt;/code&gt; in config settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This would cause the &lt;code&gt;Sitecore.Pipelines.PreprocessRequest.StripLanguage&lt;/code&gt; processor in the &lt;code&gt;preprocessRequest&lt;/code&gt; to not try and resolve any languages embedded in the URL and instead trying to match them as content in the tree. If you don't have items named &lt;code&gt;en&lt;/code&gt; or &lt;code&gt;de-DE&lt;/code&gt; in the tree then this will in turn throw a 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also want to set &lt;code&gt;languageEmbedding = never&lt;/code&gt; in the LinkManager, and only set these values on the CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you're ready to go live then remove/revert the above settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to keep the &lt;code&gt;en&lt;/code&gt; part in the URL then you could create a custom &lt;code&gt;StripLanguage&lt;/code&gt; processor to &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/prevent-the-sitecore-asp-net-cms-from-interpreting-url-path-prefixes-as-language-names&quot; rel=&quot;nofollow noreferrer&quot;&gt;only interpret specific languages&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-03-22T22:35:37.923" LastActivityDate="2017-03-22T22:35:37.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5059" PostTypeId="2" ParentId="5057" CreationDate="2017-03-22T22:16:33.750" Score="1" Body="&lt;p&gt;Did you consider just setting up full language sites on the CM for previewing/prepublishing purposes?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not to answer a question with a question; basically what I am proposing is, a setup like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Mark the undesired languages as &lt;code&gt;unpublishable&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;This should keep them out of &quot;web&quot;&lt;/li&gt;&#xA;&lt;li&gt;Leave the sites active in configuration on Content Management server&lt;/li&gt;&#xA;&lt;li&gt;Run them in &quot;live&quot; mode (straight from &quot;master&quot;)&lt;/li&gt;&#xA;&lt;li&gt;Configure alternative host names and have these point to the CM server&lt;/li&gt;&#xA;&lt;li&gt;Bind the hosts on CM server IIS&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The benefit would be; this requires no code change. And also has the benefit of giving you a full &quot;preview&quot; site anyone can browse to for approvals, without having to log into Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-03-22T22:16:33.750" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5060" PostTypeId="2" ParentId="5049" CreationDate="2017-03-22T22:23:29.203" Score="12" Body="&lt;p&gt;Actually, recommended practice would be to use a &lt;code&gt;Namespace&lt;/code&gt; as your logger, as opposed to &lt;code&gt;new object()&lt;/code&gt; or anything else.  Just using &quot;YourLoggerName&quot; would not be flexible enough to allow admins to fine tune log handling inside your module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you rightly point out, &lt;code&gt;this&lt;/code&gt; will not work in a static class. But this will:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Diagnostics.Log.Error(&quot;Message&quot;, ex, typeof(YourStaticClass));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which is the exact equivalent of &lt;code&gt;this&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-03-22T22:23:29.203" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5061" PostTypeId="2" ParentId="5032" CreationDate="2017-03-23T00:49:28.470" Score="0" Body="&lt;p&gt;Just to add some info to this answer. If you try and implement your own GeoIP lookup, you have to make sure country code are in the format of the countries in children the /sitecore/system/Settings/Analytics/Lookups/Countries item. The country code has to match 1:1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same thing has to happen for Region Codes. You can find the region codes in the dll Sirecore.ExperienceAnalytics.Api in the namespace Sirecore.ExperienceAnalytics.Api.Resources.RegionResources.resource. Again you have to make sure you are pushing into xDB the region code exactly as it is in the resource file above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.screencast.com/t/Pfrf4iyE&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.screencast.com/t/Pfrf4iyE&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-03-23T00:49:28.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5062" PostTypeId="1" CreationDate="2017-03-23T06:00:52.203" Score="5" ViewCount="716" Body="&lt;p&gt;We have a requirement to store all the secrets on to azure key-vault. This requires us to update the configurations at Runtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One challenge we are facing at the moment is to store the password for SOLR basic auth on to azure key-vault.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;solrHttpWebRequestFactory type=&quot;HttpWebAdapters.HttpWebRequestFactory, SolrNet&quot;&amp;gt;&#xA;          &amp;lt;patch:delete/&amp;gt;&#xA;        &amp;lt;/solrHttpWebRequestFactory&amp;gt;&#xA;        &amp;lt;solrHttpWebRequestFactory type=&quot;HttpWebAdapters.BasicAuthHttpWebRequestFactory, SolrNet&quot;&amp;gt;&#xA;          &amp;lt;param hint=&quot;username&quot;&amp;gt;username&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param hint=&quot;password&quot;&amp;gt;password&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/solrHttpWebRequestFactory&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We managed to read and update the asp.net connection strings and web.config. However not for sitecore configs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way (any sitecore API) which we could use to update the sitecore configurations at runtime?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2017-03-23T09:37:44.347" LastActivityDate="2017-03-23T15:52:38.947" Title="Update the sitecore.configs at runtime possible?" Tags="|configuration|azure|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5063" PostTypeId="2" ParentId="5046" CreationDate="2017-03-23T06:09:02.337" Score="3" Body="&lt;p&gt;Yes, you can.&lt;/p&gt;&#xA;&lt;p&gt;There is a tool written by sitecore support available on the bitbucket:&#xA;&lt;a href=&quot;https://bitbucket.org/sitecoresupport/sitecore.dbcomparison&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://bitbucket.org/sitecoresupport/sitecore.dbcomparison&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;As it states in readme:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.DbComparison&lt;/strong&gt; is a command line tool that allows to quickly compare items in two databases.&lt;/p&gt;&#xA;&lt;p&gt;It works directly with SQL Server and doesn't rely on Sitecore items API. Therefore, it contains almost no overhead and should provide you with the quickest way to perform the items comparison.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The good thing is that it is completely free!&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-03-23T06:09:02.337" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5064" PostTypeId="2" ParentId="5062" CreationDate="2017-03-23T08:51:12.097" Score="3" Body="&lt;p&gt;No, you cannot update Sitecore configuration in a runtime (all configs are parsed into one big config on application start).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would go with different approach then.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find &lt;code&gt;HttpWebAdapters.BasicAuthHttpWebRequestFactory&lt;/code&gt; class in &lt;strong&gt;SolrNet.dll&lt;/strong&gt; and see how it works. &#xA;Overwrite this class or write your own (must implement &lt;code&gt;IHttpWebRequestFactory&lt;/code&gt; interface).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside that class, instead of taking &lt;strong&gt;password&lt;/strong&gt; and &lt;strong&gt;login&lt;/strong&gt; from configuration fetch it from different source (that can be changed during a runtime, the simplest case would be a &lt;strong&gt;txt&lt;/strong&gt; file stored somewhere. Remember that the file has to be protected and cannot be accessible publicly).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have your class with custom code, patch &lt;code&gt;solrHttpWebRequestFactory&lt;/code&gt; node with your custom type.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-03-23T08:51:12.097" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5065" PostTypeId="1" AcceptedAnswerId="5122" CreationDate="2017-03-23T11:41:39.253" Score="1" ViewCount="203" Body="&lt;p&gt;I am creating a sign-up form with WFFM and have added a &quot;Create User&quot; save action for the form. There is a domain field on the dialog where the create user save action is edited. Should I create a new domain specifically for these users, or just re-use &quot;extranet&quot; or another domain? I want to secure parts of the site, so that only logged-in (and validated) users can access them. I don't see how I would do this using only a domain - normally I would assign read access to a specific role, but don't see an option for specifying the &lt;em&gt;role&lt;/em&gt; within the create user save action dialog. &lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-03-28T10:53:32.877" Title="When using WFFM form to create a user, what domain should I use?" Tags="|wffm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5066" PostTypeId="1" CreationDate="2017-03-23T12:41:22.123" Score="6" ViewCount="290" Body="&lt;p&gt;We have created a custom, &lt;code&gt;PageEventsProcessor&lt;/code&gt; in Aggregation interaction &lt;code&gt;Pipeline&lt;/code&gt;. I have added a lot of logs in that processor. That processor does not seem to be called. And there is no data in my custom &lt;code&gt;Fact_PageEvents&lt;/code&gt; table. All other data seems to have rebuild on QA environment.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageEventsProcessor : AggregationProcessor&#xA;{&#xA;    protected string  AnalyticsPageEventDefinitionsCacheName = &quot;AnalyticsPageEventDefinitions&quot;;&#xA;&#xA;    protected override void OnProcess(AggregationPipelineArgs args)&#xA;    {&#xA;        Logger.Debug(&quot;PageEventsProcessor - OnProcess: Started&quot;);&#xA;&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        var abc = args.GetFact&amp;lt;PageEvents&amp;gt;();&#xA;        if (abc == null)&#xA;        {&#xA;            Logger.Debug(&quot;PageEventsProcessor - OnProcess:PageEvents fact not found&quot;);&#xA;            return;&#xA;        }&#xA;        Logger.Debug(&quot;PageEventsProcessor - OnProcess:PageEvents fact found&quot;);&#xA;        var visit = args.Context.Visit;&#xA;        var list = new List&amp;lt;Guid&amp;gt;();&#xA;        if ((visit.Pages != null) &amp;amp;&amp;amp; (0 &amp;lt; visit.Pages.Count))&#xA;        {&#xA;            PageEvents fact = null;&#xA;            var analyticsPageEventDefinitions = GetAnalyticsPageEvents();&#xA;            if (analyticsPageEventDefinitions == null || !analyticsPageEventDefinitions.Any())&#xA;            {&#xA;                Logger.Error($&quot;PageEventsProcessor - OnProcess: No pageeventdefinitions found in analytics system.&quot;);&#xA;                return;&#xA;            }&#xA;            foreach (var pageData in visit.Pages)&#xA;            {&#xA;                if (pageData.PageEvents == null || !pageData.PageEvents.Any())&#xA;                {&#xA;                    continue;&#xA;                }&#xA;                var validPageEvents = pageData.PageEvents.Where(x =&amp;gt; analyticsPageEventDefinitions.&#xA;                                                                        Any( y =&amp;gt; y.ID.ToString().Equals(x.PageEventDefinitionId.ToString())))&#xA;                                                         .ToList();&#xA;                if (!validPageEvents.Any())&#xA;                {&#xA;                    Logger.Error($&quot;PageEventsProcessor - OnProcess: No Valid PageEvents found for {pageData.Item.Id}.&quot;);&#xA;                    continue;&#xA;                }&#xA;&#xA;                Logger.Debug($&quot;PageEventsProcessor - OnProcess: Valid PageEvents found for {pageData.Item.Id}.&quot;);&#xA;                foreach (var pageEvent in validPageEvents)&#xA;                {&#xA;                    if (pageEvent == null || pageEvent.PageEventDefinitionId == Guid.Empty)&#xA;                        continue;&#xA;                    var pageEventDefinitionItem = (PageEventItem)analyticsPageEventDefinitions.FirstOrDefault(&#xA;                        x =&amp;gt; x.ID.ToString().Equals(pageEvent.PageEventDefinitionId.ToString()));&#xA;&#xA;                    if (pageEventDefinitionItem == null)&#xA;                    {&#xA;                        continue;&#xA;                    }&#xA;&#xA;                    Logger.Debug($&quot;PageEventsProcessor - OnProcess: PageEvent is {pageEventDefinitionItem.ID.ToString()}.&quot;);&#xA;                    long num;&#xA;                    var guid = AggregationProcessor.UpdateAccountDimension(args);&#xA;                    var hash = AggregationProcessor.UpdateSiteNamesDimension(args);&#xA;                    var hash2 = AggregationProcessor.UpdateDeviceNamesDimension(args);&#xA;                    var hash3 = AggregationProcessor.UpdateLanguagesDimension(args);&#xA;                    long.TryParse(pageEventDefinitionItem.Points, out num);&#xA;                    var key = new PageEventsKey&#xA;                    {&#xA;                        Date = args.DateTimeStrategy.Translate(visit.StartDateTime),&#xA;                        TrafficType = visit.TrafficType,&#xA;                        ContactId = visit.ContactId&#xA;                    };&#xA;                    Guid? campaignId = visit.CampaignId;&#xA;                    key.CampaignId = new Guid?(campaignId.HasValue ? campaignId.GetValueOrDefault() : Guid.Empty);&#xA;                    key.SiteNameId = hash;&#xA;                    key.DeviceNameId = hash2;&#xA;                    key.LanguageId = hash3;&#xA;                    key.AccountId = guid;&#xA;                    key.PageEventDefinitionId = pageEvent.PageEventDefinitionId;&#xA;                    key.ItemId = pageEvent.ItemId;&#xA;                    key.PageEventPoints = num;&#xA;                    var value2 = new PageEventsValue();&#xA;                    var flag = !list.Contains(pageEvent.PageEventDefinitionId);&#xA;                    value2.Count = 1L;&#xA;                    if (flag)&#xA;                    {&#xA;                        value2.Visits = 1L;&#xA;                        value2.Value = visit.Value;&#xA;                        list.Add(pageEvent.PageEventDefinitionId);&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        value2.Visits = 0L;&#xA;                    }&#xA;                    if (fact == null)&#xA;                    {&#xA;                        fact = args.GetFact&amp;lt;PageEvents&amp;gt;();&#xA;                    }&#xA;                    fact.Emit(key, value2);&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    protected List&amp;lt;Item&amp;gt; GetAnalyticsPageEvents()&#xA;    {&#xA;        ICache cache = CacheFactory.GetCache();&#xA;        //check cache&#xA;        List&amp;lt;Item&amp;gt; cachedObject = cache.RetrieveFromCache&amp;lt;List&amp;lt;Item&amp;gt;&amp;gt;(AnalyticsPageEventDefinitionsCacheName);&#xA;        if (cachedObject != null &amp;amp;&amp;amp; cachedObject.Any())&#xA;        {&#xA;            return cachedObject;&#xA;        }&#xA;        var pageEventsFolder = ItemReference.Sitecore_System_Settings_Analytics_PageEvents.InnerItem;&#xA;&#xA;        var TemplateId = PageEventItem.TemplateID;&#xA;        Logger.Debug($&quot;PageEventsProcessor - GetAnalyticsPageEvents:Itemreference value {ItemReference.System_Analytics_PageEvent_Template.Guid}&quot;);&#xA;        Logger.Debug($&quot;PageEventsProcessor - GetAnalyticsPageEvents:PageEvents TemplateId {TemplateId}&quot;);&#xA;        var analyticsPageEventDefinitions = new List&amp;lt;Item&amp;gt;();&#xA;        if (!pageEventsFolder.IsNull())&#xA;        {&#xA;            analyticsPageEventDefinitions.AddRange(pageEventsFolder.Axes.GetDescendants()&#xA;                .Where(x =&amp;gt; x.TemplateID.ToString().Equals(ItemReference.System_Analytics_PageEvent_Template.Guid)));&#xA;&#xA;            cache.AddToCache(analyticsPageEventDefinitions, AnalyticsPageEventDefinitionsCacheName);&#xA;        }&#xA;        return analyticsPageEventDefinitions;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no errors in the log file. I am calling this processor &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;group groupName=&quot;analytics.aggregation&quot;&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;interactions&amp;gt;&#xA;        &amp;lt;processor type=&quot;XYZ.Library.CustomSitecore.Analytics.Aggregation.Pipeline.PageEventsProcessor, XYZ.Library&quot;&#xA;                   patch:after=&quot;processor[@type='Sitecore.Analytics.Aggregation.Pipeline.ConversionsProcessor, Sitecore.Analytics.Aggregation']&quot;/&amp;gt;&#xA;      &amp;lt;/interactions&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/group&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any thoughts, what might have gone wrong, will be helpful. The &lt;code&gt;rebuildReporting&lt;/code&gt; process completes, but no data in &lt;code&gt;Fact_PageEvents&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1234" LastEditorUserId="2727" LastEditDate="2018-02-20T12:11:36.830" LastActivityDate="2018-04-06T21:18:33.517" Title="Custom AggregationProcessor : PageEventsProcessor not getting called" Tags="|pipelines|reporting|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5067" PostTypeId="1" CreationDate="2017-03-23T12:44:24.707" Score="6" ViewCount="6209" Body="&lt;p&gt;We have a multi language site with &lt;code&gt;English&lt;/code&gt; and &lt;code&gt;Thai&lt;/code&gt; and I need to change the default language code in URL for the Thai pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;eg: &lt;code&gt;mysite.com/th-th/about&lt;/code&gt; should become &lt;code&gt;mysite.com/th/about&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code works though, but I have 2 questions.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is this the right/sitecore way to do it&lt;/li&gt;&#xA;&lt;li&gt;I have replaced the default linkmanager for now. But ours is a multi-site instance. Is there another way to add the Link manager provider, just for a particular site, like from a patch file.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;web.config&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//replaced the existing property with custom&#xA; &amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;   &amp;lt;clear /&amp;gt;&#xA;    &amp;lt;add name=&quot;sitecore&quot; type=&quot;MySite.Foundation.Common.Utilities.SitecoreExtensions+MySiteLinkProvider, MySite.Foundation.Common&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;always&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;!--&amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;always&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; /&amp;gt;--&amp;gt;        &#xA; &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;custom.config:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA; &amp;lt;httpRequestBegin&amp;gt;&#xA;  &amp;lt;processor type=&quot;MySite.Foundation.Common.Utilities.SitecoreExtensions+MySiteHttpRequestProcessor, MySite.Foundation.Common&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MySiteLinkProvider : LinkProvider &#xA;{&#xA;  public override string GetItemUrl(Item item, UrlOptions options)&#xA;  {&#xA;    string returnUrl = base.GetItemUrl(item, options);&#xA;&#xA;    if (Context.Site.Name.ToLower() == &quot;mysite&quot;)&#xA;    {&#xA;      try&#xA;      {&#xA;        Language currentLanguage = LanguageManager.GetLanguages(Context.Database).Where(x =&amp;gt; x.Name == item.Language.Name).FirstOrDefault();&#xA;&#xA;        if (currentLanguage != null)&#xA;        {&#xA;          options.LanguageEmbedding = LanguageEmbedding.Always;&#xA;          options.LanguageLocation = LanguageLocation.FilePath;&#xA;          ID languageId = LanguageManager.GetLanguageItemId(item.Language, item.Database);&#xA;          var languageItem = item.Database.GetItem(languageId);&#xA;          var regionName = item.Language.CultureInfo.TwoLetterISOLanguageName.ToLower() ?? &quot;&quot;;&#xA;          returnUrl = base.GetItemUrl(item, options).ToLower().ReplaceFirst(item.Language.Name.ToLower(), regionName);&#xA;         }&#xA;         else&#xA;         {&#xA;           string defaultLanguageName = Sitecore.Context.Site.Language.ToLower();&#xA;           Language defaultLanguage = LanguageManager.GetLanguages(Context.Database).Where(x =&amp;gt; x.Name.ToLower() == defaultLanguageName).FirstOrDefault();&#xA;&#xA;           if (defaultLanguage != null)&#xA;           {&#xA;             returnUrl = base.GetItemUrl(item, options).ToLower().ReplaceFirst(item.Language.Name.ToLower(), defaultLanguage.CultureInfo.TwoLetterISOLanguageName.ToLower());&#xA;           }&#xA;           else&#xA;           {&#xA;             returnUrl = base.GetItemUrl(item, options).ToLower().ReplaceFirst(item.Language.Name.ToLower(), defaultLanguageName);&#xA;           }&#xA;          }&#xA;         }&#xA;         catch (System.Exception ex)&#xA;         {&#xA;         }&#xA;        }&#xA;&#xA;       return returnUrl;&#xA;      }&#xA;    }&#xA;&#xA;    public class MySiteHttpRequestProcessor : HttpRequestProcessor&#xA;    {&#xA;      public override void Process(HttpRequestArgs args)&#xA;      {&#xA;        if (Context.Site.Name.ToLower() == &quot;mysite&quot;)&#xA;        {&#xA;          Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;          string contextLanguageName = Context.Language.Name.ToLower();&#xA;          string languageCode = Context.Language.CultureInfo.TwoLetterISOLanguageName.ToLower();&#xA;&#xA;          if (contextLanguageName != languageCode)&#xA;          {&#xA;            //if url has th-th, then context language will be th-th. In such case, redirect to the same url but with language code&#xA;            //eg: if url is /th-th/home, redirect to /th/home&#xA;            string url = LinkManager.GetItemUrl(Context.Item).ToLower().Replace(contextLanguageName, languageCode);&#xA;            HttpContext.Current.Response.Redirect(url, false);&#xA;           }&#xA;           else&#xA;           {&#xA;             //get the correct language and set it to context and the item.&#xA;             Language contextLanguage = Context.Language;&#xA;             Language sitecoreLanguage = LanguageManager.GetLanguages(Context.Database).Where(x =&amp;gt; x.Name == contextLanguageName).FirstOrDefault();&#xA;             sitecoreLanguage = sitecoreLanguage ?? LanguageManager.GetLanguages(Context.Database).Where(x =&amp;gt; x.CultureInfo.TwoLetterISOLanguageName == contextLanguageName).FirstOrDefault();&#xA;&#xA;             if (sitecoreLanguage != null)&#xA;             {&#xA;               Context.SetLanguage(sitecoreLanguage, true);&#xA;               Context.Item = ItemManager.GetItem(args.Url.ItemPath.ReplaceFirst(&quot;/&quot; + languageCode, &quot;&quot;), sitecoreLanguage, Version.Latest, Context.Database);&#xA;             }&#xA;            }&#xA;           }&#xA;          }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-06-14T06:20:40.803" Title="How to change language code in URL" Tags="|link-manager|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5068" PostTypeId="2" ParentId="5057" CreationDate="2017-03-23T13:24:10.080" Score="2" Body="&lt;p&gt;A temporary workaround that I've used in the past is to use URL Rewrite module for IIS and setup 302 (temporary) redirects for any request coming in that isn't for english. You capture the url portion for the language of the incoming request and then swap it to 'en'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then update your redirect rules as you release additional languages.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-03-23T13:24:10.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5069" PostTypeId="2" ParentId="5046" CreationDate="2017-03-23T13:32:16.353" Score="4" Body="&lt;p&gt;If you want to spend absolutely zero dollars, you can do the following tooling:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;KDiff3:&lt;/strong&gt; Free comparison tool that has decent file comparison capabilities&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore serialization:&lt;/strong&gt; Use the built-in developer tab and serialize the whole thing. This takes a long time, but you don't need any other tools.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore ZIP installers:&lt;/strong&gt; This will get you the vanilla databases and installation files&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The comparison steps basically run as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install a clean comparison instance&lt;/li&gt;&#xA;&lt;li&gt;Serialize the clean comparison instance to get the XML Items comparison baseline&lt;/li&gt;&#xA;&lt;li&gt;Serialize the 'customized' instance to get the 'customized' XML Items&lt;/li&gt;&#xA;&lt;li&gt;Compare the 'custom' install file base against the clean file base (both serialization folder and Website folder)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This takes an inordinate amount of time, is not efficient, sucks to do, but gets you where you need to be eventually without any dollars into tools.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-03-23T13:32:16.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5070" PostTypeId="1" AcceptedAnswerId="5071" CreationDate="2017-03-23T14:20:48.270" Score="2" ViewCount="368" Body="&lt;p&gt;I deleted an item located at &lt;code&gt;/sitecore/content/foo/bar&lt;/code&gt; with several subitems from Sitecore and restored it back from Recycle Bin immediately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I'm able to see all the subitems if I run a query in XPath Builder like this: &lt;code&gt;fast:/sitecore/content/foo/bar/*&lt;/code&gt;, but nothing if it's like this:&#xA;&lt;code&gt;fast:/sitecore/content/foo/bar//*&lt;/code&gt;. The exact same query (with &lt;code&gt;//*&lt;/code&gt;) works at an another server where the same application is deployed but nothing was deleted&amp;amp;restored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I run &lt;code&gt;fast:/sitecore/content/foo//*&lt;/code&gt; I get everything &lt;code&gt;foo&lt;/code&gt; contains except for &lt;code&gt;bar&lt;/code&gt; and its subitems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In attempt to troubleshoot I tried restarting the iis application pool, sql service and pretty much everything I could lay my hands at in case something got cashed. Would really appreciate a bit of advice on handling this. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1034" LastActivityDate="2017-03-23T15:15:54.337" Title="fast querying items restored from the bin" Tags="|sitecore-query|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5071" PostTypeId="2" ParentId="5070" CreationDate="2017-03-23T14:29:08.187" Score="2" Body="&lt;ol&gt;&#xA;&lt;li&gt;Open Sitecore.config and increase the &lt;code&gt;DefaultSQLTimeout&lt;/code&gt; setting to 2 hours (just in case).&lt;/li&gt;&#xA;&lt;li&gt;Go to the Control Panel and run the &quot;Clean up Databases&quot; application for the Master and Web databases. Don't close the dialog until the cleanup is done.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The issue should be fixed after that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am fairly confident it is the &lt;a href=&quot;https://sitecore.stackexchange.com/a/3422/104&quot;&gt;&lt;strong&gt;&quot;RebuildDescendants&quot; part of the cleanup&lt;/strong&gt;&lt;/a&gt; that fixes the issue by rebuilding child-parent relationships between items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A similar problem is described here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://weblogs.asp.net/jonelrienton/sitecore-fast-query-not-returning-items-when-searching-for-item-names-issue-and-how-to-fix&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://weblogs.asp.net/jonelrienton/sitecore-fast-query-not-returning-items-when-searching-for-item-names-issue-and-how-to-fix&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-23T15:15:54.337" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5073" PostTypeId="2" ParentId="5067" CreationDate="2017-03-23T14:49:04.227" Score="6" Body="&lt;p&gt;Best way to do this is by using physicalFolder/virtualFolder parameters in site definitions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;step 1&lt;/strong&gt;: Add seperate site definitions before &quot;website&quot; site definition as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;site name=&quot;th-site&quot; patch:before=&quot;site[@name='website']&quot; &#xA;     virtualFolder=&quot;/th&quot; physicalFolder=&quot;/th&quot; rootPath=&quot;/sitecore/content&quot; &#xA;     startItem=&quot;/Home&quot; hostName=&quot;mysite.com&quot;  database=&quot;web&quot; language=&quot;th-th&quot; &#xA;     inherits=&quot;website&quot; /&amp;gt; &#xA;&#xA;    &amp;lt;site name=&quot;en-site&quot; patch:before=&quot;site[@name='website']&quot; &#xA;     virtualFolder=&quot;/en&quot; physicalFolder=&quot;/en&quot; rootPath=&quot;/sitecore/content&quot; &#xA;     startItem=&quot;/Home&quot; hostName=&quot;mysite.com&quot;  database=&quot;web&quot; language=&quot;en&quot; &#xA;     inherits=&quot;website&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NOTE: Main things to note is &lt;strong&gt;physicalFolder&lt;/strong&gt; &amp;amp; &lt;strong&gt;virtualFolder&lt;/strong&gt; settings in the site definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;step 2&lt;/strong&gt;: In the default link manager, set &quot;languageEmbedding&quot; property to &quot;never&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;:&#xA;&lt;strong&gt;step 3&lt;/strong&gt;: Set the Languages.AlwaysStripLanguage setting to false&#xA;&lt;a href=&quot;https://sitecorefootsteps.blogspot.com/2014/01/striplanguage-processor-in-pipeline.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorefootsteps.blogspot.com/2014/01/striplanguage-processor-in-pipeline.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's it.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="383" LastEditDate="2017-03-24T11:28:55.307" LastActivityDate="2017-03-24T11:28:55.307" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5074" PostTypeId="1" CreationDate="2017-03-23T15:13:26.537" Score="2" ViewCount="833" Body="&lt;p&gt;We want content authors to edit content on the page without having to add the rendering each time on the page level. For this we are thinking of partial design.Our blog partial design needs fields like title,description,image, tags which are on page level and a promo(reusable). These fields are may not be editable on page level once we add to partial design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I change datasource on page level if its shared?&#xA;How do I make sure the data is pulled from the page level for the rest of the fields?&lt;/p&gt;&#xA;" OwnerUserId="1143" LastEditorUserId="1143" LastEditDate="2017-03-23T16:18:50.283" LastActivityDate="2017-03-23T19:19:43.623" Title="In Sitecore SXA how do I change the datasource from page for a rendering that belongs to partial design?" Tags="|sxa|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5076" PostTypeId="2" ParentId="5062" CreationDate="2017-03-23T15:52:38.947" Score="3" Body="&lt;p&gt;You can customize configuration by overriding the default &lt;code&gt;ConfigReader&lt;/code&gt; defined in web.config. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;configSections&amp;gt;&#xA;    &amp;lt;!-- Insert custom ConfigReader class here --&amp;gt;&#xA;    &amp;lt;section name=&quot;sitecore&quot; type=&quot;MyProject.CustomConfigReader, MyProject&quot; /&amp;gt;&#xA;    &amp;lt;!-- ... --&amp;gt;&#xA;  &amp;lt;/configSections&amp;gt;&#xA;  &amp;lt;!-- ... --&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then for your custom config reader, override the default one and add your patching logic after the default patching code is done:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyProject&#xA;{&#xA;  public class CustomConfigReader : Sitecore.Configuration.ConfigReader&#xA;  {&#xA;    protected override void LoadAutoIncludeFiles(System.Xml.XmlNode element)&#xA;    {&#xA;      base.LoadAutoIncludeFiles(element);&#xA;      PatchSolrCredentials(GetConfigPatcher(element));&#xA;    }&#xA;&#xA;    protected virtual void PatchSolrCredentials(Sitecore.Configuration.ConfigPatcher patcher)&#xA;    {&#xA;      // You could also edit the XML nodes directly in patcher.Document.&#xA;      var patch = @&quot;&amp;lt;configuration xmlns:patch='http://www.sitecore.net/xmlconfig/'&amp;gt;&#xA;        &amp;lt;sitecore&amp;gt;&#xA;          &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;              &amp;lt;solrHttpWebRequestFactory&amp;gt;&#xA;                  &amp;lt;param hint='username'&amp;gt;username&amp;lt;/param&amp;gt;&#xA;                  &amp;lt;param hint='password'&amp;gt;password&amp;lt;/param&amp;gt;&#xA;              &amp;lt;/solrHttpWebRequestFactory&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;          &amp;lt;/contentSearch&amp;gt;&#xA;        &amp;lt;/sitecore&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&quot;;&#xA;      // (Replace with username and password from key vault)&#xA;      var reader = new System.IO.StringReader(patch);&#xA;      patcher.ApplyPatch(reader);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here are a couple of other interesting examples of using a custom ConfigReader:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.rockpapersitecore.com/2016/08/10/deferring-config-file-load/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.rockpapersitecore.com/2016/08/10/deferring-config-file-load/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/efocus-nl/efocus.sitecore.conditionalconfigs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/efocus-nl/efocus.sitecore.conditionalconfigs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-03-23T15:52:38.947" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5077" PostTypeId="2" ParentId="5074" CreationDate="2017-03-23T16:07:45.877" Score="0" Body="&lt;p&gt;Your fields won't be a problem as that information is not embedded in the rendering - so you should be able to have editable fields within the partial design. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the promo, I don't think it is possible as you cannot alter the rendering information from the partial design on the page. And a datasource is part of the rendering data.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-03-23T16:07:45.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5079" PostTypeId="1" CreationDate="2017-03-23T18:56:49.443" Score="4" ViewCount="525" Body="&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.2.4&lt;/li&gt;&#xA;&lt;li&gt;SXA 1.4&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have configured solr with all required installation and configuration outlined by the Sitecore Documentation site. I have enabled the following sxa solr config for SXA search components. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.XA.Foundation.Search.Solr.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed below two new return types in this config file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;typeMatch typeName=&quot;textCollection&quot; type=&quot;System.Collections.Generic.List`1[System.String]&quot; fieldNameFormat=&quot;{0}_tm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;&amp;lt;typeMatch typeName=&quot;coordinates&quot; type=&quot;System.String&quot; fieldNameFormat=&quot;{0}_rpt&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I generated the solr schema file using below Sitecore solr schema file generator, it does not generate dynamic field extentions for &lt;strong&gt;&quot;_tm&quot;&lt;/strong&gt; and &lt;strong&gt;&quot;_rpt&quot;&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How do get these fields extentions created in solr schema.xml using sitecore solr schema file generator?&lt;/li&gt;&#xA;&lt;li&gt;Do I have to manually to add these two extention?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nsDi1.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nsDi1.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1729" LastEditorUserId="95" LastEditDate="2018-09-06T14:17:32.387" LastActivityDate="2018-09-06T14:17:32.387" Title="SOLR search field type of &quot;textCollection&quot; and &quot;Coordinates&quot; are not generated in schema.xml when using SXA" Tags="|solr|content-search|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="5081" PostTypeId="2" ParentId="5074" CreationDate="2017-03-23T19:19:43.623" Score="2" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Is it possible to create one rendering that pulls these three fields and maps the respective fields&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It is easier than you think.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a rendering called: &lt;strong&gt;Page Content&lt;/strong&gt;. The main goal of this rendering is to display fields from Context item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you add it you can select &lt;strong&gt;Rendering Variant&lt;/strong&gt; (this tells rendering which fields should be displayed)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YxKqL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YxKqL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course you can define your own &lt;strong&gt;Rendering Variants&lt;/strong&gt; (&lt;code&gt;/sitecore/content/tenant/site/Presentation/Rendering Variants/Page Content&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ayfBt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ayfBt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Read more:&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/the_sxa_renderings_and_rendering_variants#_Page_content_1&quot; rel=&quot;nofollow noreferrer&quot;&gt;The SXA renderings and rendering variants&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&quot; rel=&quot;nofollow noreferrer&quot;&gt;Create a rendering variant&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you want to test all renderings I recommend you to check &lt;a href=&quot;https://github.com/alan-null/XA.Reference&quot; rel=&quot;nofollow noreferrer&quot;&gt;XA.Reference&lt;/a&gt;. It contains all renderings preconfigured so you can get better feeling how to use each of them.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-03-23T19:19:43.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5082" PostTypeId="2" ParentId="5065" CreationDate="2017-03-24T08:55:18.240" Score="2" Body="&lt;p&gt;Using roles for this requirement sounds like a good solution but by default WFFM Create User action does not support the Roles. You have more possibilities how/when to do this.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;1. Assign roles manually&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This is the simplest way. Just use User Manager and assign roles manually. Of course it is not really efficient to assign particular roles for every new registered user.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;2. Custom assign role WFFM action&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You can create your own save action and set it up on your form.&#xA;The implementation will look like something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Security;&#xA;using Sitecore.Data;&#xA;using Sitecore.Form.Submit;&#xA;using Sitecore.WFFM.Abstractions.Actions;&#xA;&#xA;namespace MyProject.Feauture.Security.WFFM.Actions&#xA;{&#xA;    public class AssignRoleAction : CreateUser&#xA;    {&#xA;        public override void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;        {&#xA;            var userName = this.DomainField + &quot;\\&quot; + adaptedFields.GetValueByFieldID(ID.Parse(this.UserNameField));&#xA;            Roles.AddUserToRole(userName, &quot;Your role name&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;3. Assign the role on login&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;So you can also assign the role on login, if it's not added to your user probably based on the domain.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-03-24T13:23:06.557" LastActivityDate="2017-03-24T13:23:06.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5083" PostTypeId="1" AcceptedAnswerId="5130" CreationDate="2017-03-24T10:32:47.973" Score="5" ViewCount="380" Body="&lt;p&gt;There was a button in EXM to export sent message recipients to Excel from the 'Sent email campaigns' page, but the button is missing in EXM 3.3. Is there a way to run such export from the SentMessages page? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9POhQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9POhQ.png&quot; alt=&quot;export button in EXM3.1&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(it is possible to run the export from the engagement plan supervisor but it requires a lot of clicking + Silverlight)&lt;/p&gt;&#xA;" OwnerUserId="392" LastActivityDate="2017-03-28T13:27:40.513" Title="EXM Export Sent message recipients" Tags="|experience-analytics|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5084" PostTypeId="1" AcceptedAnswerId="5085" CreationDate="2017-03-24T14:31:05.097" Score="7" ViewCount="5236" Body="&lt;p&gt;I have a custom item resolver where I am trying to set the context item based on the path in the url (this is for a re-written url). I've patched this in after Sitecores ItemResolver and it runs fine. However when my page loads the context item doesn't seem to be set correctly when I attached the debugger and none of my renderings get the correct item. It  looks similar to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   public class CustomUrlResolver : HttpRequestProcessor&#xA;   {&#xA;      public override void Process(HttpRequestArgs args)&#xA;      {&#xA;         Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;         /*In Case Sitecore has mapped the item, do not do anything and simply return*/&#xA;         if (Context.Item != null || Context.Database == null || args.Url.ItemPath.Length == 0) return;&#xA;&#xA;         /*If not, Check for item based on the FilePath*/&#xA;         Item contextItem = CustomUrlManager.GetItemByFilePath(args.Url.FilePath);&#xA;         if (contextItem != null) Context.Item = contextItem;&#xA;      }&#xA;   }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As a test I tried to see if I could set the context item in one of my controller renderings and I can force the context item like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item contextItem = CustomUrlManager.GetItemByFilePath(&quot;/a-path/my-item&quot;, Context.Database);&#xA;if (contextItem != null)&#xA;{&#xA;    Context.Item = contextItem;&#xA;    rc.RenderingContext.Current.Rendering.Item = contextItem;&#xA;    rc.RenderingContext.Current.ContextItem = contextItem;&#xA;    rc.RenderingContext.Current.PageContext.Item = contextItem;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other components further down the page then pick up the correct context item  However it doesn't seem to work correctly from a httpRequestBegin Pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried moving when my pipeline executes and also removing any other custom Pipelines we have but can't seem to get the context item to be set correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure if it's because we are using MVC and Glass and there is something I'm missing here but any ideas would be welcome?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other info:&lt;/strong&gt; Sitecore 8.1 update 2, MVC, Glass, url rewrite module: &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Url_Rewrite.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/Url_Rewrite.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="73" LastEditDate="2017-03-24T15:53:53.953" LastActivityDate="2017-03-31T07:23:54.277" Title="Custom Item Resolver not setting context item" Tags="|mvc|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5085" PostTypeId="2" ParentId="5084" CreationDate="2017-03-24T15:00:01.250" Score="10" Body="&lt;p&gt;The Pipeline that you want to focus in on is the &lt;strong&gt;mvc.getPageItem&lt;/strong&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;mvc.getPageItem patch:source=&quot;Sitecore.Mvc.config&quot;&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.GetPageItem.SetLanguage, Sitecore.Mvc&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.GetPageItem.GetFromRouteValue, Sitecore.Mvc&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.GetPageItem.GetFromRouteUrl, Sitecore.Mvc&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.GetPageItem.GetFromOldContext, Sitecore.Mvc&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.ContentTesting.Mvc.Pipelines.Response.GetPageItem.PageLevelTestVariantResolver, Sitecore.ContentTesting.Mvc&quot; patch:source=&quot;Sitecore.ContentTesting.Mvc.config&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.ContentTesting.Mvc.Pipelines.Response.GetPageItem.ContentTestVariantResolver, Sitecore.ContentTesting.Mvc&quot; patch:source=&quot;Sitecore.ContentTesting.Mvc.config&quot;/&amp;gt;&#xA;&amp;lt;/mvc.getPageItem&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The processor &lt;strong&gt;GetFromOldContext&lt;/strong&gt; will set the PageItem to &lt;code&gt;Context.Item&lt;/code&gt; only if the previous processors haven't already identified an item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class GetFromOldContext : GetPageItemProcessor&#xA;  {&#xA;    public override void Process(GetPageItemArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;      if (args.Result != null)&#xA;        return;&#xA;      args.Result = this.ResolveItem(args);&#xA;    }&#xA;&#xA;    protected virtual Item ResolveItem(GetPageItemArgs args)&#xA;    {&#xA;      return Context.Item;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Recommedation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Create a processor for this pipeline that comes after either &lt;strong&gt;GetFromRouteUrl&lt;/strong&gt; or &lt;strong&gt;GetFromOldContext&lt;/strong&gt; to determine whether you want to continue using the Page Item found, or use from the Custom Item Resolver.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;PageContext Does Overwrite Context.Item&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;A little more digging found that the &lt;code&gt;PageContext&lt;/code&gt; has a Property for &lt;strong&gt;Item&lt;/strong&gt;. When the &lt;code&gt;PageContext.Item&lt;/code&gt; is fetched for the first time, it calls a method &lt;code&gt;GetItem()&lt;/code&gt; which ends up calling the &lt;strong&gt;mvc.getPageItem&lt;/strong&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the ID of the &lt;code&gt;Context.Item&lt;/code&gt; doesn't match the ID returned from this pipeline, then it resets the value of &lt;code&gt;Context.Item&lt;/code&gt; to that of the Result from the pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual Item GetItem()&#xA;{&#xA;  using (new RecursionPreventer(&quot;GetItem&quot;, this.getItemFlag))&#xA;  {&#xA;    using (TraceBlock.Start(&quot;Get item for {0}.&quot;.FormatWith((object) typeof (PageContext))))&#xA;    {&#xA;      Item obj = PipelineService.Get().RunPipeline&amp;lt;GetPageItemArgs, Item&amp;gt;(&quot;mvc.getPageItem&quot;, new GetPageItemArgs(), (Func&amp;lt;GetPageItemArgs, Item&amp;gt;) (args =&amp;gt; args.Result));&#xA;      if (obj != null)&#xA;      {&#xA;        if (Context.Language == (Language) null || Context.Language != obj.Language)&#xA;          Context.Language = obj.Language;&#xA;        if (Context.Item == null || Context.Item.ID != obj.ID)&#xA;          Context.Item = obj;&#xA;        return obj;&#xA;      }&#xA;      Tracer.Info((object) &quot;Using Sitecore.Context.Item.&quot;);&#xA;      return Context.Item;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-03-24T16:06:40.453" LastActivityDate="2017-03-24T16:06:40.453" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5086" PostTypeId="1" AcceptedAnswerId="5087" CreationDate="2017-03-24T16:44:45.097" Score="0" ViewCount="258" Body="&lt;p&gt;I am troubleshooting an older instance of Sitecore where Form reports are blank for all WFFM forms.  In my investigation, I found that the FormData collection is never created in MongoDB.  I tested with a native install of 7.5 (rev. 141003) with the same version of WFFM (2.5 rev. 141014) and noticed that this collection was created during the WFFM installation (or at least it appeared to be created then).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see the following errors corresponding to installation of the package:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #9 11:29:29 ERROR Error executing command item: &#xA;CampaignCommand&#xA;Exception: System.Reflection.AmbiguousMatchException&#xA;Message: Ambiguous match found.&#xA;Source: mscorlib&#xA;   at System.DefaultBinder.SelectMethod(BindingFlags bindingAttr, MethodBase[] match, Type[] types, ParameterModifier[] modifiers)&#xA;   at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)&#xA;   at System.Type.GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)&#xA;   at Sitecore.Tasks.CommandItem.Execute(Item[] items, ScheduleItem schedule)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;19336 11:29:44 ERROR Error during aggregation.&#xA;Exception: System.InvalidOperationException&#xA;Message: Cannot use Analytics with a database that has no settings&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ResultNotNull[T](T result, String message)&#xA;   at Sitecore.Analytics.Commons.LazyReference`1.GetValue(Object mutex, Func`1 initializer)&#xA;   at Sitecore.Analytics.Data.Items.AnalyticsItems.&amp;lt;get_PageEvents&amp;gt;b__6()&#xA;   at Sitecore.Analytics.Commons.LazyReference`1.GetValue(Object mutex, Func`1 initializer)&#xA;   at Sitecore.Analytics.Aggregation.Pipeline.FailuresProcessor.OnProcess(AggregationPipelineArgs args)&#xA;   at Sitecore.Analytics.Aggregation.Pipeline.AggregationProcessor.Process(AggregationPipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Aggregation.InteractionAggregator.Aggregate(Byte[] recordKey, IAggregationContext context)&#xA;   at Sitecore.Analytics.Aggregation.Aggregator.Execute()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The second one appears to be most concerning.  I have ran through all of the troubleshooting steps here: &lt;a href=&quot;https://kb.sitecore.net/articles/977445&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/977445&lt;/a&gt;.  Though, I am still not seeing the FormData collection in MongoDB.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-03-24T18:22:32.490" Title="Sitecore 7.5 WFFM FormData Collection Never Created in MongoDB" Tags="|wffm|mongodb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5087" PostTypeId="2" ParentId="5086" CreationDate="2017-03-24T18:22:32.490" Score="1" Body="&lt;p&gt;The FormData collection is created in &lt;code&gt;Sitecore.Form.Core.Analytics.Pipeline.InitializeAnalytics&lt;/code&gt; which is a processor part of the &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; pipeline.  For my issue, I simply decompiled this class from the DLL and created a replica of this processor in order to see what was going wrong, and to debug.  When I added my custom processor to the mix, the FormData collection was created on startup and form data was inserted as expected.  My reports began working immediately as well.  I cannot say why my custom processor worked and the native one did not.  The native processor was showing in my /showconfig.aspx compilation, so it should have ran.  The error logs showed no errors.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-03-24T18:22:32.490" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5088" PostTypeId="1" AcceptedAnswerId="5091" CreationDate="2017-03-24T19:16:12.903" Score="8" ViewCount="1380" Body="&lt;p&gt;I have 2 sites named Jack and Jill. Below is the site definition for each:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;name=&quot;Jack&quot; hostName=&quot;jack.com|www.jack.com&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot;&#xA;      physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/Jack&quot; startItem=&quot;/Home&quot; database=&quot;web&quot; domain=&quot;extranet&quot;&#xA;      allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot;&#xA;      filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot;&#xA;      cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;&#xA;&#xA;name=&quot;Jill&quot; hostName=&quot;jill.com|www.jill.com&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot;&#xA;      physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/Jill&quot; startItem=&quot;/Home&quot; database=&quot;web&quot; domain=&quot;extranet&quot;&#xA;      allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot;&#xA;      filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot;&#xA;      cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem I running into is we can access the blog page for Jill from Jacks url like this: &lt;a href=&quot;http://jack.com/sitecore/content/Jill/Home/Tom/Blog&quot; rel=&quot;noreferrer&quot;&gt;http://jack.com/sitecore/content/Jill/Home/Tom/Blog&lt;/a&gt;. I have been running through this blog post by Alex, and it makes sense by making, in my example, Jack and Jill the start item. However, that would give me an error because Jack and Jill are just &quot;Site&quot; items with no presentation details. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoreblog.alexshyba.com/have_sitecore_content_in_your_urls_time_to_fix_it/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreblog.alexshyba.com/have_sitecore_content_in_your_urls_time_to_fix_it/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also tried moving all to my rootPath and leaving the startItem with &quot;/&quot; and that does work, but it doesn't solve my problem as I can still access Jill's page from Jacks url's. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone encountered this peculiarity before or am I missing a .config or path setting somewhere?&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="73" LastEditDate="2017-08-01T12:55:01.837" LastActivityDate="2017-08-01T12:55:01.837" Title="How to inhibit reaching other site content using domain of first site" Tags="|site-configuration|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="5089" PostTypeId="1" AcceptedAnswerId="5105" CreationDate="2017-03-24T20:57:27.423" Score="2" ViewCount="384" Body="&lt;p&gt;I've the following scenario&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.2 update 2&lt;/li&gt;&#xA;&lt;li&gt;MongoDB 3.2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now, I'm trying to setup authentication to MongoDB, and as soon as I update the mongod.cfg&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;security:&lt;/code&gt;&#xA;&lt;code&gt;authorization: enabled&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and the ConnectionStrings.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;mongodb://myuser:mypassword@MongoServer/Sitecore_Analytics&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An error shows up on Sitecore logs&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: MongoDB.Driver.MongoConnectionException Message: Unable to&#xA;  connect to server MongoServer:27017: Error: 18 -&#xA;  Authentication failed..&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, I've granted myuser proper permissions on the MongoDB Collection&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;use Sitecore_Analytics&lt;/code&gt;&#xA;&lt;code&gt;db.createUser( { user: &quot;myuser&quot;, pwd: &quot;mypassword&quot;, roles: [ { role: &quot;readWrite&quot;, db: &quot;Sitecore_Analytics&quot; } ] } )&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, using RoboMongo to connect to the MongoDB works!&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="393" LastEditDate="2017-03-24T22:31:38.150" LastActivityDate="2017-03-27T15:36:31.517" Title="Sitecore 8.2 update 2 authentication failed on MongoDB 3.2" Tags="|xdb|mongodb|authentication|" AnswerCount="1" CommentCount="4" ClosedDate="2017-03-27T16:10:19.643" ContentLicense="CC BY-SA 3.0" />
  <row Id="5091" PostTypeId="2" ParentId="5088" CreationDate="2017-03-25T04:06:46.290" Score="7" Body="&lt;p&gt;The simplest way would be with security. If you give each site a unique domain and then simply deny read access to the &lt;code&gt;{sitedomain}/Anonymous&lt;/code&gt; user it would give you what you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the site definitions would become:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;name=&quot;Jack&quot; hostName=&quot;jack.com|www.jack.com&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot;&#xA;  physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/Jack&quot; startItem=&quot;/Home&quot; database=&quot;web&quot; &#xA;  domain=&quot;JACK&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; &#xA;  registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot;&#xA;  filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; &#xA;  enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot;&#xA;  cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;&#xA;&#xA;name=&quot;Jill&quot; hostName=&quot;jill.com|www.jill.com&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot;&#xA;  physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/Jill&quot; startItem=&quot;/Home&quot; database=&quot;web&quot; &#xA;  domain=&quot;JILL&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; &#xA;  registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot;&#xA;  filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; &#xA;  enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot;&#xA;  cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then for all the content under &lt;code&gt;/sitecore/content/Jack&lt;/code&gt; deny read access for &lt;code&gt;JILL/Anonymous&lt;/code&gt; - and the same for the content under &lt;code&gt;/sitecore/content/Jill&lt;/code&gt; for the &lt;code&gt;JACK/Anonymous&lt;/code&gt; user.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-03-25T04:06:46.290" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5093" PostTypeId="2" ParentId="5009" CreationDate="2017-03-25T10:43:02.637" Score="0" Body="&lt;p&gt;Here's an admin page to fix the issue specifically for WFFM forms.&#xA;you should change the dictionary to include/exclude the necessary changes for your specific situation. Add this as an aspx page below /sitecore/admin.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script runat=&quot;server&quot; type=&quot;text/C#&quot;&amp;gt;&#xA;     private bool authorized = false;&#xA;    private string UnauthorizedMessage = &quot;You are not authorized to view this page&quot;;&#xA;    protected void Page_Load(object sender, EventArgs e)&#xA;    {           &#xA;        if (!(true&#xA;            //&amp;amp;&amp;amp; Request.IsSecureConnection // Check for HTTPS          &#xA;              &amp;amp;&amp;amp; Request.UserHostAddress == &quot;127.0.0.1&quot;&#xA;              &amp;amp;&amp;amp; Sitecore.Context.IsLoggedIn&#xA;              &amp;amp;&amp;amp; Sitecore.Context.IsAdministrator&#xA;            //&amp;amp;&amp;amp; Sitecore.Context.User.IsInRole(@&quot;sitecore\Developer&quot;) //check for specific role&#xA;            ))&#xA;        {&#xA;            Response.StatusCode = (int) System.Net.HttpStatusCode.Forbidden;&#xA;            Response.Write(UnauthorizedMessage);&#xA;            Response.TrySkipIisCustomErrors = true;&#xA;            Response.End();&#xA;            return;&#xA;        }&#xA;        else&#xA;        {&#xA;            authorized = true;&#xA;        }&#xA;&#xA;    }     &#xA;&#xA;    protected void FixFields_OnClick(object sender, EventArgs e)&#xA;    {&#xA;        if (!authorized)&#xA;        {&#xA;            output.InnerHtml = string.Format(&quot;&amp;lt;div style=\&quot;color:red;\&quot;&amp;gt;{0}&quot;, UnauthorizedMessage);&#xA;            return;&#xA;        }&#xA;        ID formTemplateId = new ID(&quot;{FFB1DA32-2764-47DB-83B0-95B843546A7E}&quot;);&#xA;            ID contenTreeId = new ID(&quot;{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}&quot;);&#xA;            ISearchIndex index = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;);&#xA;            string TrackingFieldName = &quot;__tracking&quot;;&#xA;            int changeCount = 0;&#xA;            int errorCount = 0;&#xA;            output.InnerHtml += &quot;&amp;lt;div&amp;gt;Starting update of fields&amp;lt;/div&amp;gt;&quot;;&#xA;&#xA;            Dictionary&amp;lt;string, string&amp;gt; replacements = GetReplacements();&#xA;            List&amp;lt;Item&amp;gt; indexResults = null;&#xA;            using (IProviderSearchContext context = index.CreateSearchContext())&#xA;            {&#xA;                indexResults = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                    .Where(x =&amp;gt; x.TemplateId == formTemplateId&#xA;                                &amp;amp;&amp;amp; x.Paths.Contains(contenTreeId))&#xA;                    .Select(x =&amp;gt; x.GetItem()).ToList();&#xA;&#xA;                indexResults = indexResults.Where(x =&amp;gt; x != null).Where(x =&amp;gt; x.Fields[TrackingFieldName] != null).ToList();&#xA;                if (!indexResults.Any())&#xA;                {&#xA;                    output.InnerHtml += &quot;&amp;lt;div&amp;gt;No Form items found to modify. &amp;lt;/div&amp;gt;&quot;;&#xA;                    return;&#xA;                }&#xA;&#xA;                foreach (Item item in indexResults)&#xA;                {&#xA;                    try&#xA;                    {&#xA;                        string value = item.Fields[TrackingFieldName].Value;&#xA;                        foreach (var dictionaryItem in replacements)&#xA;                        {&#xA;                            value = value.Replace(dictionaryItem.Key, dictionaryItem.Value);&#xA;                        }&#xA;&#xA;                        item.Editing.BeginEdit();&#xA;                        using (new EditContext(item))&#xA;                        {&#xA;                            item.Fields[TrackingFieldName].Value = value;&#xA;                            output.InnerHtml += string.Format(&quot;&amp;lt;div&amp;gt;Item - {0} - changed&amp;lt;/div&amp;gt;&quot;, item.Name);&#xA;                        }&#xA;                        item.Editing.EndEdit();&#xA;                        changeCount++;&#xA;                    }&#xA;                    catch (Exception ex)&#xA;                    {&#xA;                        output.InnerHtml += string.Format(&quot;&amp;lt;div&amp;gt;Item - {0} - {1}&amp;lt;/div&amp;gt;&quot;, item.Name, ex.Message);&#xA;                        errorCount++;&#xA;                    }&#xA;                }&#xA;            }&#xA;            output.InnerHtml += string.Format(&quot;&amp;lt;div&amp;gt;Update of tracking fields finished. {0} items modified, {1} errors ocurred. &amp;lt;/div&amp;gt;&quot;, changeCount, errorCount);&#xA;&#xA;    }&#xA;&#xA;    private Dictionary&amp;lt;string, string&amp;gt; GetReplacements()&#xA;    {&#xA;        Dictionary&amp;lt;string, string&amp;gt; replacements = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;        replacements.Add(&quot;&amp;lt;event name=\&quot;Field Changed\&quot; /&amp;gt;&quot;, &quot;&amp;lt;event id=\&quot;{AA3AE715-E87D-4B4D-80C7-4290546F770F}\&quot; name=\&quot;Field Changed\&quot; /&amp;gt;&quot;);&#xA;        replacements.Add(&quot;&amp;lt;event name=\&quot;Field Completed\&quot; /&amp;gt;&quot;, &quot;&amp;lt;event id=\&quot;{F0113A93-570A-4F69-8C7C-BA08037D1E34}\&quot; name=\&quot;Field Completed\&quot; /&amp;gt;&quot;);&#xA;        replacements.Add(&quot;&amp;lt;event name=\&quot;Field Not Completed\&quot; /&amp;gt;&quot;, &quot;&amp;lt;event id=\&quot;{7E86B2F5-ACEC-4C60-8922-4EB5AE5D9874}\&quot; name=\&quot;Field Not Completed\&quot; /&amp;gt;&quot;);&#xA;        replacements.Add(&quot;&amp;lt;event name=\&quot;Field Out of Boundary\&quot; /&amp;gt;&quot;, &quot;&amp;lt;event id=\&quot;{F3D7B20C-675C-4707-84CC-5E5B4481B0EE}\&quot; name=\&quot;Field Out of Boundary\&quot; /&amp;gt;&quot;);&#xA;        replacements.Add(&quot;&amp;lt;event name=\&quot;Invalid Field Syntax\&quot; /&amp;gt;&quot;, &quot;&amp;lt;event id=\&quot;{844BBD40-91F6-42CE-8823-5EA4D089ECA2}\&quot; name=\&quot;Invalid Field Syntax\&quot; /&amp;gt;&quot;);&#xA;&#xA;        return replacements;&#xA;    }   &#xA;&amp;lt;/script&amp;gt;&#xA;   &amp;lt;!DOCTYPE html&amp;gt;&#xA;   &amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&#xA;   &amp;lt;head runat=&quot;server&quot;&amp;gt;&#xA;       &amp;lt;title&amp;gt;WFFM 8.2 fix tracking field&amp;lt;/title&amp;gt;&#xA;   &amp;lt;/head&amp;gt;&#xA;   &amp;lt;body&amp;gt;&#xA;       &amp;lt;form id=&quot;trackingUpdater&quot; runat=&quot;server&quot;&amp;gt;&#xA;    &amp;lt;h3&amp;gt;Update tracking field for WFFM form items&amp;lt;/h3&amp;gt;&#xA;           &amp;lt;div style=&quot;margin-left:15px;&quot;&amp;gt;&#xA;            Click the button below to fix the Tracking field for WFFM forms.    This will add ID attributes to the selected items in this field.&#xA;            Modify the dictionary to replace more/less as needed.&#xA;            &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&#xA;               &amp;lt;asp:Button runat=&quot;server&quot; ID=&quot;FixFields&quot;    OnClick=&quot;FixFields_OnClick&quot; Text=&quot;Update form tracking field&quot; /&amp;gt;&#xA;           &amp;lt;/div&amp;gt;&#xA;            &amp;lt;div id=&quot;output&quot; runat=&quot;server&quot; style=&quot;width: 1000px; height: 500px;    overflow-scrolling: auto;&quot;&amp;gt;&#xA;           &amp;lt;/div&amp;gt;&#xA;       &amp;lt;/form&amp;gt;&#xA;   &amp;lt;/body&amp;gt;&#xA;   &amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="134" LastActivityDate="2017-03-25T10:43:02.637" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5094" PostTypeId="2" ParentId="5088" CreationDate="2017-03-25T16:36:03.273" Score="6" Body="&lt;p&gt;I have resolved this a few different ways in the past:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Redirects using the IIS Rewrite Module&lt;/strong&gt;, which is my preferred solution. It does require that the IIS Rewrite Module be installed in IIS, and it is a little more work than the &lt;em&gt;Securities&lt;/em&gt; solution, but I prefer it because it changes the URL and caches the change as a permanent redirect, in case any online links point at the URL.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore Securities&lt;/strong&gt;, using the implementation described in @RichardSeal's solution. This is a great one because it requires no additional code and it is likely that your solution is already set up for it. This is definitely the simplest solution, but it does incur a high risk to your site's SEO.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;A &lt;code&gt;SiteResolvingItemNotFound&lt;/code&gt; Processor&lt;/strong&gt;, suggested by @HishaamNamooya in comments. Personally, I'm not a fan of this solution from a performance standpoint, but I have used it and it does work.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Pros and Cons: Using Sitecore Securities&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This really is a great solution for a lot of reasons, but it is not without its drawbacks. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Pros&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Lowest effort and least complex&lt;/li&gt;&#xA;&lt;li&gt;Everything managed in Sitecore&lt;/li&gt;&#xA;&lt;li&gt;No deployment necessary (no AppPool recycle, no DLLs, no configs and no views)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Cons&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;High risk to SEO: since you are permitting URLs with the Sitecore item path to resolve and access your site, you are opening your site up to possibly taking a pretty big SEO hit. As soon as one of the URLs with the item path is linked to from an external site or if you are using Google Analytics (GA) tracking code on your site then that URL will get registered with Google as a separate URL. Google will then infer that you have two URLs pointing to the same content &lt;em&gt;(SEO hit)&lt;/em&gt; and it will also track each URL separately &lt;em&gt;(SEO hit)&lt;/em&gt;, so your SEO data will different for each URL. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Creating a &lt;code&gt;SiteResolvingItemNotFound&lt;/code&gt; Processor&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;SiteResolvingItemNotFound&lt;/code&gt; processor approach is a solid approach that gives you the most control over how you handle this issue, but it must be approached with care and with caution. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Pros&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Most control&lt;/li&gt;&#xA;&lt;li&gt;No risk to SEO&lt;/li&gt;&#xA;&lt;li&gt;Can resolve item in code to see what site it actually belongs to&lt;/li&gt;&#xA;&lt;li&gt;Can redirect to friendly URL of the item that was requested&lt;/li&gt;&#xA;&lt;li&gt;Reasonably low effort&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Cons&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Performance: you will be running this on every request whether or not an item is resolved&lt;/li&gt;&#xA;&lt;li&gt;Requires config and DLLs changes, meaning a deployment&lt;/li&gt;&#xA;&lt;li&gt;Back-end code requires more effort to implement and deploy than a config change or Sitecore content update&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Considerations when Implementing a &lt;code&gt;SiteResolvingItemNotFound&lt;/code&gt; Processor&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you do go this route, the first thing that you need to consider is the fact that performance is a major factor, since this is run on every request whether or not an item is resolved. As such, you need to make sure that you implement some form of caching so that your code is as performant as possible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second, if the item is not found on the site that is requested by the Sitecore item path, then you need to decide how you want to handle it. Do you redirect to a 404 page on the site requested by the hostname or by the Sitecore item path? In this case, it makes sense to do either, but IMHO the site requested via the hostname should take priority, since the item path really doesn't belong in the URL in the first place. The decision is yours, however. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Third, you want to capitalize on the benefits of going this route, meaning the fact that you have the greatest possible control and the ability to resolve your item in code to see what site it actually belongs to. Make sure that you do so, and redirect (permanently) to the friendly URL of the item on whatever site it actually does belong to. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Redirects using the IIS Rewrite Module&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I'm not a fan of my sites' visitors using explicit Sitecore item paths in their URLs. If any do, I prefer to redirect the URL permanently to remove the explicit Sitecore item path from the URL so that it redirects now and in the future. I'm not alone in this either! Google, Bing and other search engines prefer that I do this too!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that it is possible that those URLs come from external links to the site and that the URLs are valid, pointing to an item path like &lt;code&gt;http://jack.com/sitecore/content/Jack/Home/Some/Page&lt;/code&gt;. As such, rather than just redirecting URLs with explicit Sitecore item paths to a 404 not found page, a 401 unauthorized page or the homepage, I would rather redirect to the requested URL: &lt;code&gt;http://jack.com/Some/Page&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Pros&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Low effort&lt;/li&gt;&#xA;&lt;li&gt;Config based, rather than code-based&lt;/li&gt;&#xA;&lt;li&gt;No risk to SEO&lt;/li&gt;&#xA;&lt;li&gt;Very performant&lt;/li&gt;&#xA;&lt;li&gt;Can manage all sites with a single redirect (depending on your site configurations)&lt;/li&gt;&#xA;&lt;li&gt;Removes Sitecore item path from URL&lt;/li&gt;&#xA;&lt;li&gt;Redirects URLs permanently for SEO&lt;/li&gt;&#xA;&lt;li&gt;Prevents duplicate URLs pointing to the same content, which is better for SEO&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Cons&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Have to install the IIS Rewrite Module for this to work (not usually a big deal, but if your client manages their server then this can mean extra communication overhead with IT and/or DevOps teams)&lt;/li&gt;&#xA;&lt;li&gt;Not managed inside of Sitecore (also not a big deal, IMHO)&lt;/li&gt;&#xA;&lt;li&gt;Config-based, so this does require a deployment and an AppPool recycle (manageable, but the Sitecore Securities solution wins from this perspective)&lt;/li&gt;&#xA;&lt;li&gt;If you already have IIS redirects on your site then you will want to avoid chaining redirects, since redirect chains are bad for SEO (resolved by the solution provided, below)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The last caveat is IMHO the only one that really matters. Note that if this is the only redirect on your site, then you really don't need to worry about redirect chaining. If you do have multiple redirects (which many sites do), however, then do not fret - read on for the solution to flatten your redirect chains.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;SEO Matters&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As previously stated, it's not just me who prefers that we drop the Sitecore item path from the URL: Search engines, like Google and Bing, prefer it too. Your site's SEO will take a hit if you have different external links pointing to the same page content. For example, if you allow both of the following to work, then your site's SEO will take a hit if there is at least one external link pointing to each:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://jack.com/sitecore/content/Jack/Home&#xA;http://jack.com/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is where using the IIS Rewrite module for this solution out-matches the Sitecore Securities solution. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Desired Behavior&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Let's look at a few examples of the desired redirect behavior that our implementation should provide:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This example answers the question of who is more important: the site requested via the hostname or the site requested via the Sitecore item path? IMHO, since the Sitecore item path doesn't belong in the URL in the first place, the site requested via the hostname should take priority. As such, we have the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://jack.com/sitecore/content/Jill/Home/Tom/Blog&#xA;    =&amp;gt; &#xA;        http://jack.com/Tom/Blog &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If &lt;code&gt;http://jack.com/Tom/Blog&lt;/code&gt; doesn't exist then the visitor will be sent to a 404 not found page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that if the behavior in this example is not what you are looking for then you can stop reading. You will either want to use Sitecore Securities or create a &lt;code&gt;SiteResolvingItemNotFound&lt;/code&gt; processor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This example answers the question of what will happen if your Sitecore item path points to a page that actually is within the site you request. In my opinion, these URLs should work but be permanently redirected to the URL without the Sitecore item path:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://jack.com/sitecore/content/Jack/Home/Some/Page/That/Exists&#xA;    =&amp;gt; &#xA;        http://jack.com/Some/Page/That/Exists&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The permanent redirect will be cached by browsers and search engines, so users will no longer see &lt;code&gt;/sitecore/content&lt;/code&gt; in the path. This is better for SEO because now you enforce that you only have one link that points to that page's content, as far as search engines are concerned.     &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Using the IIS Rewrite module&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The IIS Rewite module is easy to install, low effort to configure and works great for pattern-based redirects like this one. There are a few reasons why this is my preferred solution:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It is a very low effort solution (though a little more work than just using securities)&lt;/li&gt;&#xA;&lt;li&gt;You can use a single rewrite rule to make the redirect work for all of your sites, provided that they all have a Sitecore path like &lt;code&gt;/sitecore/content/&amp;lt;site_root&amp;gt;/Home&lt;/code&gt;. If any are different, however, you may need to add more rules or else you may be able to customize a single rule to work&lt;/li&gt;&#xA;&lt;li&gt;If &lt;code&gt;/sitecore/content&lt;/code&gt; is in a URL pointing to the context site then this solution will redirect that URL permanently to remove the Sitecore path&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;The Rewrite Rule&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Below is an example rewrite rule that should work. Note that I wasn't able to find a project that currently has these rules (probably just in my archives), but the below (yet untested) rule should do the trick: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rewrite&amp;gt;&#xA;  &amp;lt;rules&amp;gt;&#xA;    &amp;lt;rule name=&quot;Redirect Explicit Sitecore Path&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;^sitecore/content/([a-z0-9-_]+)/home(/(.*))?$&quot; /&amp;gt;&#xA;      &amp;lt;action type=&quot;Redirect&quot; url=&quot;{R:3}&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;  &amp;lt;/rules&amp;gt;&#xA;&amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the above, we specify that our rewrite rule should &lt;code&gt;match&lt;/code&gt; any incoming URLs that start with the path (excluding host, etc.) &lt;code&gt;sitecore/content/&amp;lt;some_item&amp;gt;/home&lt;/code&gt;, with the rest of the path (if not empty) starting with a &lt;code&gt;/&lt;/code&gt; after &lt;code&gt;home&lt;/code&gt; (not appending to &lt;code&gt;home&lt;/code&gt;). Any incoming URLs that match this pattern will &lt;code&gt;Redirect&lt;/code&gt; to the rest of the URL after &lt;code&gt;home&lt;/code&gt; (if none, this redirects to the homepage). &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Avoiding Redirect Chaining&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note that this section is borderline off-topic, but it is important to know so that you can mitigate the redirect chaining issue with this solution.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have more than one redirect rule on your site and you didn't know that chaining redirects is not good for SEO then you should give &lt;a href=&quot;https://moz.com/blog/what-every-seo-should-know-about-iis#chaining&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; a good read. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;How to Flatten Redirect Chains&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In &lt;em&gt;Section 3&lt;/em&gt; of the &lt;a href=&quot;https://moz.com/blog/what-every-seo-should-know-about-iis#chaining&quot; rel=&quot;nofollow noreferrer&quot;&gt;linked article&lt;/a&gt;, the author explains how you can get IIS to flatten redirect chains created by IIS Rewrite Rules:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By using a slight modification to your existing rules to make them rewrites that prepend an underscore (&lt;code&gt;_&lt;/code&gt;) prefix to your rewritten URLs, you can add a single redirect rule that looks for rewritten, &quot;flattenable&quot; URLs and redirect them a single time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The author provides three different rules that can be used (together, if necessary) to actually perform the redirect. In the case of this solution, we only need to apply the third redirect rule, but if you are using canonical redirects for the scheme (&lt;code&gt;http&lt;/code&gt; vs &lt;code&gt;https&lt;/code&gt;) or inclusion/exclusion of &lt;code&gt;www&lt;/code&gt; then you may need the other two, as well:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;SEO - non-canonical redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;^(_+)(.*)&quot; /&amp;gt;&#xA;  &amp;lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot;&amp;gt;&#xA;     &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot; /&amp;gt;&#xA;  &amp;lt;/conditions&amp;gt;&#xA;  &amp;lt;action type=&quot;Redirect&quot; url=&quot;{R:2}&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this rule, we match any URLs that start with one or more underscores (as each rewrite rule will prepend an additional &lt;code&gt;_&lt;/code&gt; prefix to the URL), and then redirect to the part of the URL that comes after the underscores. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Bear in mind that the only caveat to this is that your site cannot have any URLs that start with an underscore, as those URLs will be redirected to remove the underscores. This usually isn't a big deal, as most sites will not have URLs starting with an underscore. If you do have such URLs, however, you can simply update your rewrite rules to change the prepending of the underscore to rewritten URLs to something else and update the redirect rule to match. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Flattening Redirect Chains for Your New Redirect&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Applying this to our solution, you would end up with the following in your Rewrite Rules configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rewrite&amp;gt;&#xA;  &amp;lt;rules&amp;gt;&#xA;    &amp;lt;rule name=&quot;Rewrite Explicit Sitecore Path - Flattened Redirect&quot; stopProcessing=&quot;false&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;^sitecore/content/([a-z0-9-_]+)/home(/(.*))?$&quot; /&amp;gt;&#xA;      &amp;lt;action type=&quot;Rewrite&quot; url=&quot;_{R:3}&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;&#xA;    &amp;lt;!-- other &quot;flattenable&quot; rewrite rules here ... --&amp;gt;&#xA;&#xA;    &amp;lt;rule name=&quot;Execute Flattened Redirect: Non-canoncical&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;^(_+)(.*)&quot; /&amp;gt;&#xA;      &amp;lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot;&amp;gt;&#xA;         &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot; /&amp;gt;&#xA;      &amp;lt;/conditions&amp;gt;&#xA;      &amp;lt;action type=&quot;Redirect&quot; url=&quot;{R:2}&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;  &amp;lt;/rules&amp;gt;&#xA;&amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are a few things to note here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &lt;code&gt;&amp;lt;rule stopProcessing=&quot;false&quot;&amp;gt;&lt;/code&gt; property on the &lt;em&gt;rewrite rule&lt;/em&gt; tells IIS that it should continue to apply more rules before it actually executes the action. This way, we flatten all of the &lt;em&gt;rewrites&lt;/em&gt; and then execute the &lt;em&gt;redirect&lt;/em&gt; using their result, rather than actually performing a rewrite. &lt;strong&gt;Apply to each redirect to flatten&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;The original redirect was changed to the &lt;em&gt;rewrite rule&lt;/em&gt; via &lt;code&gt;&amp;lt;action type=&quot;Rewrite&quot;&amp;gt;&lt;/code&gt; because IIS Rewrite &lt;em&gt;redirect rules&lt;/em&gt; don't support the &lt;code&gt;&amp;lt;rule stopProcessing=&quot;false&quot;&amp;gt;&lt;/code&gt; option, so we have to flatten the &lt;em&gt;rewrites&lt;/em&gt; first and then execute the single &lt;em&gt;redirect&lt;/em&gt;. &lt;strong&gt;Apply to each redirect to flatten&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;&amp;lt;action url=&quot;{R:3}&amp;gt;&lt;/code&gt; property of the &lt;em&gt;rewrite rule&lt;/em&gt; was changed to &lt;code&gt;&amp;lt;action url=&quot;_{R:3}&quot;&amp;gt;&lt;/code&gt; in order to prepend the underscore prefix to the rewritten URL. &lt;strong&gt;Apply to each redirect to flatten&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;em&gt;redirect rule&lt;/em&gt;, we use the &lt;code&gt;&amp;lt;match url=&quot;^(_+)(.*)&quot;&amp;gt;&lt;/code&gt; property to match URLs with &lt;em&gt;one or more&lt;/em&gt; prepended underscores, since each rewrite will add another underscore prefix to your URLs&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;em&gt;redirect rule&lt;/em&gt;, we use the &lt;code&gt;&amp;lt;action url=&quot;{R:2}&quot;&amp;gt;&lt;/code&gt; in order to redirect to the second capture group in the match URL, which is the URL without the prepended underscores&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;By Example: Understanding How the IIS Rewrite Rules in this Solution Work&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In the OP, a visitor navigates to this URL and sees the content from the &lt;code&gt;Jill&lt;/code&gt; site on the &lt;code&gt;Jack&lt;/code&gt; site: &lt;code&gt;http://jack.com/sitecore/content/Jill/Home/Tom/Blog&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the IIS Rewrite module and the rules that we defined above, the examples below illustrate the step-by-step processing of the incoming URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example, we step through the processing of the rules that we defined, above.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Visitor's Browser&#xA;    =&amp;gt; &#xA;        http://jack.com/sitecore/content/Jill/Home/Tom/Blog&#xA;    =&amp;gt; &#xA;        IIS executes Rewrite Processing&#xA;            =&amp;gt; &#xA;                http://jack.com/sitecore/content/Jill/Home/Tom/Blog&#xA;            =&amp;gt; &#xA;                Process Rule: &quot;Rewrite Explicit Sitecore Path - Flattened Redirect&quot;&#xA;                    Matched with the following capture groups:&#xA;                        {R:0} = http://jack.com/sitecore/content/Jill/Home/Tom/Blog&#xA;                        {R:1} = Jill&#xA;                        {R:2} = /Tom/Blog&#xA;                        {R:3} = Tom/Blog&#xA;                    Action changes URL to: _{R:3}:&#xA;                        _{R:3} = _Tom/Blog&#xA;                        type = &quot;Rewrite&quot;&#xA;                    stopProcessing is false, so process next rule with result of action&#xA;            =&amp;gt; &#xA;                Process Rule... (other &quot;flattenable&quot; rewrite rules here)&#xA;                    Note: Since we did not define any, I will skip this and &#xA;                          we will just assume that no other flattenable &#xA;                          rewrite rules matched&#xA;            =&amp;gt; &#xA;                Process Rule: &quot;Execute Flattened Redirect: Non-canoncical&quot;&#xA;                    Matched with the following capture groups:&#xA;                        {R:0} = _Tom/Blog&#xA;                        {R:1} = _&#xA;                        {R:2} = Tom/Blog&#xA;                    Conditions Passed (page request is a GET request)&#xA;                    Action changes URL to: {R:2}&#xA;                        {R:2} = Tom/Blog&#xA;                        type = &quot;Redirect&quot;&#xA;                        redirectType = &quot;Permanent&quot;&#xA;                    Rule is a redirect so stop processing and execute&#xA;            =&amp;gt; &#xA;                IIS Redirects URL:&#xA;                    Status Code: 301 (Permanent)&#xA;                    Location: http://jack.com/Tom/Blog             &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the request doesn't even make it to Sitecore. This actually helps with performance too. IIS by default also sends the 301 status code for a permanent redirect, because the &lt;code&gt;redirectType&lt;/code&gt; is configured as &quot;Permanent&quot;. This ensures that there is no cost to SEO from the redirect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example, we will step through the same rules that we defined above, but we will pretend that there were three other &lt;em&gt;rewrite&lt;/em&gt; rules (flattened &lt;em&gt;redirect&lt;/em&gt; rules) that matched and were applied to modify the URL based on a query string (note: assume that we had &lt;code&gt;appendQueryString=&quot;true&quot;&lt;/code&gt; on all of our actions): &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Visitor's Browser&#xA;    =&amp;gt; &#xA;        http://jack.com/sitecore/content/Jill/Home/Tom/Blog?y=2017&amp;amp;p=3&#xA;    =&amp;gt; &#xA;        IIS executes Rewrite Processing&#xA;            =&amp;gt; &#xA;                http://jack.com/sitecore/content/Jill/Home/Tom/Blog?y=2017&amp;amp;p=3&#xA;            =&amp;gt; &#xA;                Process Rule: &quot;Rewrite Explicit Sitecore Path - Flattened Redirect&quot;&#xA;                    Matched with the following capture groups:&#xA;                        {R:0} = http://jack.com/sitecore/content/Jill/Home/Tom/Blog?y=2017&amp;amp;p=3&#xA;                        {R:1} = Jill&#xA;                        {R:2} = /Tom/Blog?y=2017&amp;amp;p=3&#xA;                        {R:3} = Tom/Blog?y=2017&amp;amp;p=3&#xA;                    Action changes URL to: _{R:3}&#xA;                        _{R:3} = _Tom/Blog?y=2017&amp;amp;p=3&#xA;                        type = &quot;Rewrite&quot;&#xA;                    stopProcessing is false, so process next rule with result of action&#xA;            =&amp;gt; &#xA;                Process Rule: &quot;Imaginary Rule 1 - Append Year to URL&quot;&#xA;                    Matched with the following capture groups:&#xA;                        {R:0} = _Tom/Blog?y=2017&amp;amp;p=3&#xA;                        {R:1} = _Tom/Blog&#xA;                    Conditions Passed with the following capture groups:&#xA;                        {C:1} = ?&#xA;                        {C:2} = 2017&#xA;                        {C:3} = p=3&#xA;                    Action changes URL to: _{R:1}/{C:2}{C:1}{C:3}&#xA;                        _{R:1}/{C:2}{C:1}{C:3} = __Tom/Blog/2017?p=3&#xA;                        type = &quot;Rewrite&quot;&#xA;                    stopProcessing is false, so process next rule with result of action&#xA;            =&amp;gt; &#xA;                Process Rule: &quot;Imaginary Rule 2 - Append Page Number to URL&quot;&#xA;                    Matched with the following capture groups:&#xA;                        {R:0} = __Tom/Blog/2017?p=3&#xA;                        {R:1} = __Tom/Blog/2017&#xA;                    Conditions Passed with the following capture groups:&#xA;                        {C:1} = ?&#xA;                        {C:2} = 3&#xA;                        {C:3} = &amp;lt;empty&amp;gt;&#xA;                    Action changes URL to: _{R:1}/{C:2}{C:1}{C:3}&#xA;                        _{R:1}/{C:2}{C:1}{C:3} = ___Tom/Blog/2017/3?&#xA;                        type = &quot;Rewrite&quot;&#xA;                    stopProcessing is false, so process next rule with result of action &#xA;            =&amp;gt; &#xA;                Process Rule: &quot;Imaginary Rule 3 - Remove Empty Query Strings&quot;&#xA;                    Matched with the following capture groups:&#xA;                        {R:0} = ___Tom/Blog/2017/3?&#xA;                        {R:1} = __Tom/Blog/2017/3&#xA;                    Action changes URL to: __{R:1}&#xA;                        _{R:1} = ____Tom/Blog/2017/3&#xA;                        type = &quot;Rewrite&quot;&#xA;                    stopProcessing is false, so process next rule with result of action                           &#xA;            =&amp;gt; &#xA;                Process Rule: &quot;Execute Flattened Redirect: Non-canoncical&quot;&#xA;                    Matched with the following capture groups:&#xA;                        {R:0} = ____Tom/Blog/2017/3&#xA;                        {R:1} = ____&#xA;                        {R:2} = Tom/Blog/2017/3&#xA;                    Conditions Passed (page request is a GET request)&#xA;                    Action changes URL to: {R:2}&#xA;                        {R:2} = Tom/Blog/2017/3&#xA;                        type = &quot;Redirect&quot;&#xA;                        redirectType = &quot;Permanent&quot;&#xA;                    Rule is a redirect so stop processing and execute&#xA;            =&amp;gt; &#xA;                IIS Redirects URL:&#xA;                    Status Code: 301 (Permanent)&#xA;                    Location: http://jack.com/Tom/Blog/2017/3    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-27T15:23:01.180" LastActivityDate="2017-03-27T15:23:01.180" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5097" PostTypeId="1" CreationDate="2017-03-27T07:21:00.657" Score="2" ViewCount="2147" Body="&lt;p&gt;In Sitecore 8.1, I would like to align the download links to media items (files), as links can be outputted in two different ways for the same item:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Links with an ID&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;my.site.com/_/media/02aceb0428824eefa1d3f62b203fe65c.pdf?la=en&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Links with a path&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;my.site.com/_/media/files/MySite/home/cards/downloads/data/reports-and-presentations/report.pdf&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would like to use the latter (the paths) in all cases, and as far as I can tell, the links with an ID originates from the Rich Text Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7mcuI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7mcuI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The “Insert Sitecore Link” (in the red square above in the image above) produces two types of HTML output for links depending on how the media item is selected:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;a href=&quot;_/media/04aceb0428824eefa1d3f62b203fe65c.ashx&quot;&amp;gt;2015/16 pdf&amp;lt;/a&amp;gt;&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This type of link produces the link with an ID&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;a href=&quot;~/link.aspx?_id=2B190C3D2C6F4B2395845D30ED6F3DD6&amp;amp;amp;_z=z&quot; target=&quot;_blank&quot; title=&quot;Dowload annual report 2012/13&quot;&amp;gt;2012/13 pdf&amp;lt;/a&amp;gt;&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This type of link produces the link with a path&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If I use the “Search” tab to locate the media item, then the output is of the “path” type, but if I use “Internal link” or “Media items” and select a media item (document) then the output is of the “ID” type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/igiTL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/igiTL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to make the Rich Text Editor output links with a path (“/link.aspx?...”) in all cases? Alternatively, is it possible to make whatever is rendering the media links output the links with a path in all cases?&lt;/p&gt;&#xA;" OwnerUserId="1730" LastActivityDate="2017-03-27T07:21:00.657" Title="Make RTE output media item links with a path instead of ID" Tags="|links|richtext-editor|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5098" PostTypeId="2" ParentId="4521" CreationDate="2017-03-27T10:46:34.403" Score="1" Body="&lt;p&gt;This turned out to be a js compatibility issue.&#xA;Our site uses hyphenator.js library which conflicted with the Sitecore's EE elements.&#xA;I updated the hyphenator.js file to exclude scChromeData and scWebEditInput classes from its processing logic and this solved the issue.&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2017-03-27T10:46:34.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5099" PostTypeId="1" AcceptedAnswerId="5100" CreationDate="2017-03-27T12:40:00.843" Score="3" ViewCount="4872" Body="&lt;p&gt;I am trying to write a script to loop through child items using the &lt;code&gt;Get-ChildItem&lt;/code&gt; cmdlet but it does not seem to be recognised.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$path = &quot;master:/sitecore/content&quot;&#xA;$x = Get-ChildItem $path&#xA;Write-Host $x.Name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Gives me the error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem : Method not found: 'Void System.Management.Automation.Provider.ContainerCmdletProvider.GetChildItems(System.String, Boolean, UInt32)'.&#xA;At line:2 char:6&#xA;+ $x = Get-ChildItem $path&#xA;+      ~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Get-ChildItem], MissingMethodException&#xA;    + FullyQualifiedErrorId : System.MissingMethodException,Microsoft.PowerShell.Commands.GetChildItemCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.2 rev 161115, SXA 1.2 rev 161216, SPE 4.4&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-03-27T13:01:32.417" Title="Why is Get-ChildItem not working" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5100" PostTypeId="2" ParentId="5099" CreationDate="2017-03-27T13:01:32.417" Score="8" Body="&lt;p&gt;This is related to the following &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/827&quot; rel=&quot;noreferrer&quot;&gt;bug in SPE 4.4&lt;/a&gt;. There are 2 courses of action you can take:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Upgrade your Windows PowerShell to 5. (Windows Management Framework 5.x)&lt;/li&gt;&#xA;&lt;li&gt;Upgrade SPE to 4.5 &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Actually taking the approach #2 is preferable as we've fixed quite a few other issues there and Upgrading Windows PowerShell can have consequences on your whole environment and is not always allowed by the systems administrators.&lt;/p&gt;&#xA;" OwnerUserId="202" LastActivityDate="2017-03-27T13:01:32.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5101" PostTypeId="1" AcceptedAnswerId="5106" CreationDate="2017-03-27T14:02:47.247" Score="2" ViewCount="529" Body="&lt;p&gt;When an item is set to unpublishable, all methods to get the item for a rendering with GlassMapper return &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageHeaderController : GlassController&#xA;{&#xA;    public override ActionResult Header()&#xA;    {&#xA;        BaseItem model = SitecoreContext.GetCurrentItem&amp;lt;BasePage&amp;gt;(); // null&#xA;        model = GetLayoutItem&amp;lt;BasePage&amp;gt;(); // null&#xA;        model = SitecoreContext.GetItem&amp;lt;BasePage&amp;gt;(RenderingContext.Current.Rendering.DataSource); // null&#xA;        return View(model);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can we get the item in that case to be able to provide a publishing preview for editors for items that are set to be published in the future?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem occurs whether we use the &quot;Never Publish&quot; setting or set the version to unpublishable or even when the version is set to be published in the future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The preview is really running with the master database.&lt;a href=&quot;https://i.stack.imgur.com/QoMCL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QoMCL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1737" LastEditorUserId="1737" LastEditDate="2017-03-27T16:18:55.843" LastActivityDate="2017-03-27T16:57:13.577" Title="GlassMapper: Unpublishable items are null in preview" Tags="|glass-mapper|mvc|publishing|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="5103" PostTypeId="1" AcceptedAnswerId="5114" CreationDate="2017-03-27T15:19:00.087" Score="0" ViewCount="368" Body="&lt;p&gt;I have added the following code to my Application Startup, but the INFO is not showing up in my logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 7.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this code being called at all? If not, what am I doing wrong?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Global : Sitecore.ContentSearch.SolrProvider.NinjectIntegration.NinjectApplication&#xA;{&#xA;    protected void Application_Start(Object sender, EventArgs e)&#xA;    {&#xA;        System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;&#xA;        Log.Info(&quot;Now Using Tls12 SecurityProtocol&quot;, this);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I removed the &quot;protected&quot; setting, the logging worked. But, my connection to Solr stopped working. When I added the &quot;public&quot; setting, the connection to Solr started working, but the logging stopped working. If I explicitly set it as &quot;internal&quot;, nothing gets logged.&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2017-03-28T14:51:23.463" LastActivityDate="2017-03-28T14:55:51.820" Title="Logging from Application Start Event" Tags="|logging|log4net|application|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5105" PostTypeId="2" ParentId="5089" CreationDate="2017-03-27T15:36:31.517" Score="0" Body="&lt;p&gt;Looks like I've a typo in my ConnectionString, and the database Tracking_Contact didn't exist at all in the MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, before figure this out, I did uninstall and install all MongoDB again, and when I first accessed the Sitecore the databases were created and Tracking_Contact was named Cracking_Contact by mistake.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After fix it, and re-apply the permissions accordingly and follow the tips from &lt;a href=&quot;https://sitecore.stackexchange.com/users/605/hishaam-namooya&quot;&gt;Hishaam Namoya&lt;/a&gt;, everything start to working!&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-27T15:36:31.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5106" PostTypeId="2" ParentId="5101" CreationDate="2017-03-27T16:57:13.577" Score="4" Body="&lt;p&gt;This is normal behavior for the Preview feature. The purpose of this feature is to show you what the page will look like once published. Therefore the behavior you're encountering sort of makes sense, considering the page would simply not be published. To be fair, a more graceful approach (e.g. warning message) would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple of ways to get around it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(1) If it's just for a one-off preview, you can change the preview URL like so. If Sitecore generates:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://mysite.local/?sc_itemid=%7BFC3FE8C5-FAE6-4C67-8F21-B3757D143D4A%7D&amp;amp;sc_mode=preview&amp;amp;sc_lang=en-US&amp;amp;sc_site=mysite&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Change it to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://mysite.local/?sc_itemid=%7BFC3FE8C5-FAE6-4C67-8F21-B3757D143D4A%7D&amp;amp;sc_mode=normal&amp;amp;sc_lang=en-US&amp;amp;sc_site=mysite&amp;amp;sc_database=master&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the &lt;code&gt;sc_mode&lt;/code&gt; and &lt;code&gt;sc_database&lt;/code&gt; parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(2) In code, you could disable site filtering by setting &lt;code&gt;Sitecore.Context.Site.DisableFiltering&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt;. More details in this answer here: &lt;a href=&quot;https://stackoverflow.com/a/20390596/1327412&quot;&gt;https://stackoverflow.com/a/20390596/1327412&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-03-27T16:57:13.577" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5107" PostTypeId="2" ParentId="3282" CreationDate="2017-03-27T17:57:58.207" Score="9" Body="&lt;p&gt;I don't know if the problem is relevant yet, but it's actually possible to switch Sitecore to using POST queries instead of GET when communicating to Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to decompile the IOC integration library that you use from the Sitecore Solr Support Package. On the project where I currently work we use Unity. And here's what we did:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Initialize() {&#xA;...            &#xA;if (SolrContentSearchManager.EnableHttpCache)&#xA;{&#xA;    this.Container.RegisterType(typeof(ISolrCache), typeof(HttpRuntimeCache), new InjectionMember[0]);&#xA;    List&amp;lt;ContainerRegistration&amp;gt; list = this.Container.Registrations.Where&amp;lt;ContainerRegistration&amp;gt;((Func&amp;lt;ContainerRegistration, bool&amp;gt;)(r =&amp;gt; r.RegisteredType == typeof(ISolrConnection))).ToList&amp;lt;ContainerRegistration&amp;gt;();&#xA;    if (list.Count &amp;gt; 0)&#xA;    {&#xA;          foreach (ContainerRegistration containerRegistration in list)&#xA;          {&#xA;               ContainerRegistration registration = containerRegistration;&#xA;               SolrServerElement solrServerElement = this.Cores.FirstOrDefault&amp;lt;SolrServerElement&amp;gt;((Func&amp;lt;SolrServerElement, bool&amp;gt;)(core =&amp;gt; registration.Name == core.Id + registration.MappedToType.FullName));&#xA;               if (solrServerElement == null)&#xA;               {&#xA;                     Log.Error(&quot;The Solr Core configuration for the '&quot; + registration.Name + &quot;' Unity registration could not be found. The HTTP cache for the Solr connection to the Core cannot be configured.&quot;, (object)this);&#xA;                }&#xA;                else&#xA;                {&#xA;                     InjectionMember[] injectionMemberArray = new InjectionMember[1]&#xA;                     {&#xA;                         //Change starts&#xA;                         (InjectionMember) new InjectionConstructor(new object[2] {&#xA;       (object) new SolrConnection(solrServerElement.Url),&#xA;       (object) solrServerElement.Url&#xA;      })&#xA;};                                     &#xA;&#xA;this.Container.RegisterType(typeof(ISolrConnection), typeof(PostSolrConnection), registration.Name, (LifetimeManager)null, injectionMemberArray);&#xA;                            //Change ends&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you do this change, you also need to adjust the maxBooleanClauses setting in your solrconfig.xml if you have more than 1024 clauses in any of your queries. See &lt;a href=&quot;https://wiki.apache.org/solr/SolrConfigXml&quot; rel=&quot;noreferrer&quot;&gt;https://wiki.apache.org/solr/SolrConfigXml&lt;/a&gt; for more information.&lt;/p&gt;&#xA;" OwnerUserId="1739" LastEditorUserId="1739" LastEditDate="2017-03-30T21:59:42.970" LastActivityDate="2017-03-30T21:59:42.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5108" PostTypeId="1" CreationDate="2017-03-27T18:22:54.933" Score="4" ViewCount="1372" Body="&lt;p&gt;I am facing strange issue with Sitecore publishing. When I am publishing any item from the CM server, it's not reflected in production immediately; while I can see this item on the CD server and preview it as well. It is taking time (in hours) to refresh on production. Sometime when I reset the IIS, it works, but it is not possible for all the time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publish:end and publish:end:remote are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA; &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA; &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;  &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt; &#xA;  &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;handler type=&quot;our_app.Site.Events.ClearXO, our_dll&quot; method=&quot;OnPublishEnd&quot; /&amp;gt; &#xA;  &amp;lt;/event&amp;gt;&#xA; &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA; &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA; &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;  &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt; &#xA;  &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Could someone help me out with what is being missed there?&lt;/p&gt;&#xA;" OwnerUserId="913" LastEditorUserId="2727" LastEditDate="2018-03-03T15:06:41.220" LastActivityDate="2018-03-03T15:06:41.220" Title="Published content is not shown in production" Tags="|publishing|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5109" PostTypeId="2" ParentId="5108" CreationDate="2017-03-27T18:25:33.760" Score="6" Body="&lt;p&gt;Sounds like the cache isn't getting cleared on publish. You'll want to add your site to the &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt; events.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site&amp;gt;{site name}&amp;lt;/site&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site&amp;gt;{site name}&amp;lt;/site&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="731" LastEditorUserId="731" LastEditDate="2017-03-27T18:33:29.607" LastActivityDate="2017-03-27T18:33:29.607" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5110" PostTypeId="2" ParentId="5108" CreationDate="2017-03-27T19:35:47.627" Score="7" Body="&lt;p&gt;The reasons why the CD server is not clearing the cache is because the CD Server does not know what to do when receiving the events. So, you need to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scalability Settings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The InstanceName is used (in this context) for comparison purposes, and for recording the instance that raised an event in the EventQueue, and the Publishing.PublishingInstance setting is used to ensure that all publishing operations are processed on a specific instance, e.g. if I have 3 CMs and set that to CM3 then CM3 will handle all publishing operations for the environment&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On CM Servers:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On Publishing Server(1 of your CMs):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On CD Servers:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You also need to have eventQueue setting is enabled. In Sitecore v6.x to 7.2, it is found in the &lt;code&gt;web.config&lt;/code&gt; and v7.5+ it is in the &lt;code&gt;Sitecore.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EnableEventQueues&quot; value=&quot;true&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and check if the ProcessingInterval of the EventQueue&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;eventQueue&amp;gt;&#xA;  &amp;lt;!-- Time between checking the queue for newly queued events. If new events are found they will be raised. --&amp;gt;&#xA;  &amp;lt;processingInterval&amp;gt;00:00:02&amp;lt;/processingInterval&amp;gt;&#xA;&amp;lt;/eventQueue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Core Database&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that the events in the &lt;code&gt;eventqueue&lt;/code&gt; table in core database of your CMs are also present in the &lt;code&gt;eventqueue&lt;/code&gt; table of your CD. CM and the CDs should share the same core database, optionally through replication&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sites&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your sites should also be added to the &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt; events since by default, it contains only website. Note that, later on, when you have more sites you will require to update the config file. So, you can add a handler which reads your site definition and then clears the cache of the sites that you have.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Indexes&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that there are no errors in your indexes. That is, Sitecore should be able to rebuild the indexes successfully else, the cache will not get cleared.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-03-27T21:08:04.900" LastActivityDate="2017-03-27T21:08:04.900" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5111" PostTypeId="2" ParentId="221" CreationDate="2017-03-27T22:12:09.427" Score="4" Body="&lt;p&gt;The basic idea is that you need to create 2 different pipelines so that you can &quot;catch&quot; the bad page, and then after Sitecore has rendered your custom error page, you need to tell Sitecore to return a 404 code instead of whatever other code Sitecore has decided is appropriate for the 404 page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my &lt;strong&gt;404PageResolver&lt;/strong&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace _404Test&#xA;{&#xA;    public class Page404Resolver : Sitecore.Pipelines.HttpRequest.HttpRequestProcessor&#xA;    {&#xA;        public override void Process(Sitecore.Pipelines.HttpRequest.HttpRequestArgs args)&#xA;        {&#xA;            try&#xA;            {&#xA;                // If current item not available in Sitecore, then&#xA;                if (Sitecore.Context.Item == null)&#xA;                {&#xA;                    // Find an error-page item and set it to context Item&#xA;                    Item item404 = Sitecore.Context.Database.GetItem(@&quot;{18492A25-87CA-4064-855E-EADC1460A3B9}&quot;);&#xA;                    Sitecore.Context.Item = item404;&#xA;                    ItemNotFoundStatusRepository.Set(true);&#xA;                }&#xA;            }&#xA;            catch (Exception E)&#xA;            {&#xA;                Sitecore.Diagnostics.Log.Error(E.Message, &quot;404 Resolver&quot;);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is my 404 Page &lt;strong&gt;Resolved&lt;/strong&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace _404Test&#xA;{&#xA;    public class Page404Resolved : Sitecore.Pipelines.HttpRequest.HttpRequestProcessor&#xA;    {&#xA;        public override void Process(HttpRequestArgs args)&#xA;        {&#xA;            if (ItemNotFoundStatusRepository.Get())&#xA;            {&#xA;                HttpContext.Current.Response.StatusCode = (int)HttpStatusCode.NotFound;&#xA;                HttpContext.Current.Response.TrySkipIisCustomErrors = true;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's the class that I borrowed from &lt;a href=&quot;https://laubplusco.net/handling-404-sitecore-avoid-302-redirects/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Anders Laub&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace _404Test&#xA;{&#xA;    public class ItemNotFoundStatusRepository&#xA;    {&#xA;        public const string NotFoundItemPropertyKey = &quot;notFoundItem&quot;;&#xA;&#xA;        public static bool Get()&#xA;        {&#xA;            return HttpContext.Current.Items[NotFoundItemPropertyKey] != null &amp;amp;&amp;amp; (bool)HttpContext.Current.Items[NotFoundItemPropertyKey];&#xA;        }&#xA;        public static void Set(bool status)&#xA;        {&#xA;            HttpContext.Current.Items[NotFoundItemPropertyKey] = status;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, here's the configuration override that you'll need for your pipelines:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;httpRequestBegin&amp;gt;&#xA;            &amp;lt;processor type=&quot;_404Test.page404resolver, 404Test&quot; x:before=&quot;processor[@type='Sitecore.ExperienceAnalytics.Pipelines.HttpRequest.RedirectRequest, Sitecore.ExperienceAnalytics']&quot; /&amp;gt;&#xA;        &amp;lt;/httpRequestBegin&amp;gt;&#xA;        &amp;lt;httpRequestProcessed&amp;gt;&#xA;        &amp;lt;processor type=&quot;_404Test.page404resolved, 404Test&quot; /&amp;gt;&#xA;      &amp;lt;/httpRequestProcessed&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;    &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I put this altogether, I was able to get (and understand) how to get the 404 error code that I was looking for without a lot of extra overhead. &lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-03-27T22:12:09.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5112" PostTypeId="1" AcceptedAnswerId="5145" CreationDate="2017-03-28T02:30:24.220" Score="0" ViewCount="1001" Body="&lt;p&gt;I want to store Solr basic authentication credential in key vault and I want to achieve this by doing something like this.. however I tried using below code in application start but it seems it is not hooking properly , not sure what I m doing wrong here. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IHttpWebRequestFactory solrBasicAuthHttpWebRequestFactory = &#xA;    new HttpWebAdapters.BasicAuthHttpWebRequestFactory(&quot;admin&quot;, &quot;somepassword*&quot;);&#xA;solrBasicAuthHttpWebRequestFactory.Create(new Uri(&quot;localhost:8080/solr&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also got one reference to patch file using this custom config reader but I m trying to work it programmatically. Any help.&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/5062/update-the-sitecore-configs-at-runtime-possible/5076#5076&quot;&gt;Update sitecore configs at runtime&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-29T10:34:35.683" Title="How to initialize Solr end point connection with basic authentication programmatically?" Tags="|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5113" PostTypeId="1" CreationDate="2017-03-28T03:04:50.740" Score="2" ViewCount="139" Body="&lt;p&gt;We have Sitecore 8.0 with Update 5. Social Login used to work fine till yesterday. Its not working today. Is it because it is using Graph API 2.2 and it is obsoleted on 27th March? What is the better workaround  for this?&lt;/p&gt;&#xA;" OwnerUserId="1289" LastEditorUserId="1671" LastEditDate="2018-06-29T13:40:37.307" LastActivityDate="2018-06-29T13:40:37.307" Title="Social Login Not Working" Tags="|social-connected|login|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="5114" PostTypeId="2" ParentId="5103" CreationDate="2017-03-28T04:47:54.180" Score="8" Body="&lt;p&gt;When working with the Global.asax file, even though the question is inheriting from &lt;code&gt;Sitecore.ContentSearch.SolrProvider.NinjectIntegration.NinjectApplication&lt;/code&gt;, if you keep digging down, eventually you'll find that also inherits from the &lt;code&gt;HttpApplication&lt;/code&gt; class. Ordinarily, this class exists in the System.Web namespace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when choosing &lt;strong&gt;protected&lt;/strong&gt; as your access modifier, what you are really saying is that the method is only available if subclassed. See this chart below for an visual on how the different access modifiers affect based on how the method is being accessed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;                | highest precedence &amp;lt;---------&amp;gt; lowest precedence&#xA;*———————————————+————————————————+———————————+———————————————+———————&#xA; \ xCanBeSeenBy | this           | any class | this subclass | any&#xA;  \__________   | class          | in same   | in another    | class&#xA;             \  | nonsubbed      | library   | library       | any&#xA;Modifier of x \ |                |           |               | library   &#xA;————————————————*————————————————+———————————+———————————————+———————&#xA;public          |       ✔        |    ✔     |    ✔          |   ✔   &#xA;————————————————+————————————————+———————————+———————————————+———————&#xA;protected       |       ✔        |    ✔     |    ✔          |   ✘   &#xA;————————————————+————————————————+———————————+———————————————+———————&#xA;internal        |                |           |               |&#xA;(no modifier)   |       ✔        |    ✔     |    ✘          |   ✘   &#xA;————————————————+————————————————+———————————+—————————-—————+———————&#xA;private         |       ✔        |    ✘     |    ✘          |   ✘   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(&lt;a href=&quot;https://stackoverflow.com/a/14247032/6788503&quot;&gt;chart citation&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When &lt;code&gt;Application_Start&lt;/code&gt; is being called, it's actually being called from outside the subclass or class namespace, and thus must be visible to &lt;strong&gt;any class&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By protecting the method, you are essentially saying that it is only available to any class that inherits from your version of the &lt;code&gt;Global&lt;/code&gt; class, or within the same package, or within the same class. &lt;strong&gt;This is why your method wasn't firing.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Resolution&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Change &lt;code&gt;protected&lt;/code&gt; to &lt;code&gt;public&lt;/code&gt; as shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Global : Sitecore.ContentSearch.SolrProvider.NinjectIntegration.NinjectApplication&#xA;{&#xA;    public void Application_Start(Object sender, EventArgs e)&#xA;    {&#xA;        System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;&#xA;        Log.Info(&quot;Now Using Tls12 SecurityProtocol&quot;, this);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Additional Fun Fact&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In version 8.2 of Sitecore, the Global.asax has been set to inherit from &lt;code&gt;Sitecore.Web.Application&lt;/code&gt;. Furthermore, &lt;code&gt;Application_Start()&lt;/code&gt; has been made &lt;strong&gt;internal&lt;/strong&gt; so that it can not be overridden.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-03-28T05:04:24.450" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5115" PostTypeId="1" AcceptedAnswerId="5118" CreationDate="2017-03-28T05:04:16.603" Score="1" ViewCount="844" Body="&lt;p&gt;We have to set up 70+ micro-sites in Sitecore so looking for best approach for long run.&#xA;We already have 3 sites on production on single Sitecore instance i.e. we did multi-site implementation.&#xA;See below tree structure in Content Editor&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Site1&#xA;--Home //Keep all content/pages&#xA;--SiteData //Keep common content/navigation menu content&#xA;--SiteSettings //Keep setting specific to site&#xA;Site2&#xA;--Home&#xA;--SiteData&#xA;--SiteSettings&#xA;Site3&#xA;--Home&#xA;--SiteData&#xA;--SiteSettings&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now to set up 70+ microsite here is the options&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1&lt;/strong&gt; I will keep continue adding new site node below Site3 for ex: Site4(Home,SiteData,SiteSettings) , Site5(Home,SiteData,SiteSettings),Site6(Home,SiteData,SiteSettings) and so on&#xA;I'm not sure if this is the best approach because finally we will end up having lots of site node in tree structure&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt; I will set up only one sitenode below Site3 called Microsite but in this approach not sure how would I maintain each microsite specific navigation menu and content as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which one is best approach from above or there is any other way we can handle this set up&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 03/28&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Urls for sites will be&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;microsite.mysite.com/company1&#xA;microsite.mysite.com/company2&#xA;microsite.mysite.com/company3&#xA;and so on&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="2727" LastEditDate="2018-02-28T18:50:27.193" LastActivityDate="2018-02-28T18:50:27.193" Title="Set up microsites in Sitecore 8.1" Tags="|sitecore-client|multisite|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5116" PostTypeId="1" CreationDate="2017-03-28T05:31:54.087" Score="1" ViewCount="3736" Body="&lt;p&gt;This is a question about defining standard values and base templates. Considering the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a &lt;strong&gt;base template B&lt;/strong&gt; with a field called &lt;strong&gt;Title&lt;/strong&gt;. Is it possible to define the standard value for the &lt;strong&gt;Title&lt;/strong&gt; field on the standard values of template &lt;strong&gt;B&lt;/strong&gt;? And what happens if a templates that inherits from &lt;strong&gt;B&lt;/strong&gt; also has standard values? Does Sitecore pick the most specific/local definition of &lt;strong&gt;Title&lt;/strong&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried this scenario and sometimes the standard values of &lt;strong&gt;B&lt;/strong&gt; are used and sometimes they are ignored. I have found an article by John West stating this scenario should be ignored &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-standard-values-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be nice though to be able to define a standard value for a field in a base template and not on all implementing templates??&lt;/p&gt;&#xA;" OwnerUserId="924" LastEditorUserId="605" LastEditDate="2017-03-28T05:37:54.457" LastActivityDate="2017-03-28T21:00:32.920" Title="Standard values on base templates" Tags="|templates|inheritance|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5117" PostTypeId="2" ParentId="5116" CreationDate="2017-03-28T06:20:42.223" Score="7" Body="&lt;p&gt;Standard values are default field values used as fallback, if the item does not have a field value defined. If your item has a field value (even an empty field value), the standard value is ignored. If you want to revert back to the standard value, simply deleting the field value is not enough, since this will just change the field value to empty. Instead, you need to reset the field value (Versions &gt; Reset Fields).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The __Standard Templates item is just an item. If you add a field value here, the standard value from inherited templates (of the given field) is ignored, and your new standard value will be used as fallback for any items inheriting your new template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that you can define standard values on your base templates, and override the standard values in inheriting templates if needed.&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="180" LastEditDate="2017-03-28T06:27:34.417" LastActivityDate="2017-03-28T06:27:34.417" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5118" PostTypeId="2" ParentId="5115" CreationDate="2017-03-28T06:37:44.917" Score="4" Body="&lt;p&gt;I would go with &lt;strong&gt;Option 1&lt;/strong&gt; because of the following reasons:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Security and User Access on items are much easier to handle than have a single site node. If you have different teams working on different sites, you may create roles that are based on the Site node and assign accordingly to the different users.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Having different site nodes allows for maintainability and extensibility as each site will have its own content.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If tomorrow you have multiple items that are shared across the different sites, you may create a container which is shared across all the sites.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Also, depending on the different sites that you have, you may also break it into clusters. For example, among the 70 microsites, you may break it by Regions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Europe&lt;/li&gt;&#xA;&lt;li&gt;EMEA&lt;/li&gt;&#xA;&lt;li&gt;NALA (North America and Latam)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;which makes the content tree looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-Europe&#xA;    |-- Site UK&#xA;    |-- Site FR&#xA;    |-- Site DE&#xA;-EMEA&#xA;    |- Site JP&#xA;    |- Site TW&#xA;-NALA&#xA;    |- Site US&#xA;    |- Site BR&#xA;    |- Site CA&#xA;    |- Site AR&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you will have the same domain, you can make use of the &lt;code&gt;virtualFolder&lt;/code&gt; and &lt;code&gt;physicalFolder&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, it will looks as follows in the &lt;code&gt;sitedefinition.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;hostName=&quot;microsite.mysite.com&quot;&#xA;virtualFolder=&quot;/company1&quot;&#xA;physicalFolder=&quot;/company1&quot;&#xA;rootPath=&quot;/sitecore/content/Site/Microsite1&quot;&#xA;&#xA;hostName=&quot;microsite.mysite.com&quot;&#xA;virtualFolder=&quot;/company2&quot;&#xA;physicalFolder=&quot;/company2&quot;&#xA;rootPath=&quot;/sitecore/content/Site/Microsite2&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info can be found on my post &lt;a href=&quot;https://hishaamn.wordpress.com/2016/12/22/sitecore-multi-sites-with-same-domain-but-different-sitecore-item-node/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-03-28T15:21:31.553" LastActivityDate="2017-03-28T15:21:31.553" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="5120" PostTypeId="2" ParentId="5116" CreationDate="2017-03-28T08:51:20.277" Score="0" Body="&lt;p&gt;You can define the Standard Value for your Title field on Template B. You can use token for putting dynamic values like $name etc.&#xA;If you plan to use another template that inherits Template B as well - the Standard Value of the Template B would be inherited as well for your Title field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you should not inherit template B which already has a Title field on another Template which also has the same field name. Avoid doing that, else Sitecore would read the first occurrence of the field name.  &lt;/p&gt;&#xA;" OwnerUserId="1339" LastActivityDate="2017-03-28T08:51:20.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5122" PostTypeId="2" ParentId="5065" CreationDate="2017-03-28T10:53:32.877" Score="1" Body="&lt;p&gt;There is a built-in save action called &quot;Edit Role Membership&quot;. This can be configured to assign the created user to the relevant role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this, select the form in the content editor, click &quot;Save Actions&quot;. From the &quot;Save Actions&quot; dropdown select &quot;Edit Role Membership&quot; and click &quot;Add&quot; (first screenshot). Then click &quot;Edit&quot; to configure the role applied to the created user (second screenshot).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eslQY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eslQY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Xrbxv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xrbxv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-03-28T10:53:32.877" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5123" PostTypeId="1" CreationDate="2017-03-28T11:18:16.243" Score="1" ViewCount="1887" Body="&lt;p&gt;We need to show the user a set of questions, one after the other. Based on the results, the user will be shown a set of products. Please suggest me, if any module available in market place or could this be done with Sitecore Web Forms?&lt;/p&gt;&#xA;" OwnerUserId="1545" LastEditorUserId="73" LastEditDate="2017-04-11T23:26:17.173" LastActivityDate="2017-04-11T23:26:17.173" Title="How do I create surveys in Sitecore?" Tags="|wffm|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5124" PostTypeId="5" CreationDate="2017-03-28T12:11:47.547" Score="0" Body="&lt;p&gt;ASP.NET SignalR is a library for ASP.NET developers that makes developing real-time web functionality easy. SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.asp.net/signalr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.asp.net/signalr&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-28T12:43:22.393" LastActivityDate="2017-03-28T12:43:22.393" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5125" PostTypeId="4" CreationDate="2017-03-28T12:11:47.547" Score="0" Body="Questions involving the SignalR library for real-time client/server communications." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-28T12:43:11.003" LastActivityDate="2017-03-28T12:43:11.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5126" PostTypeId="5" CreationDate="2017-03-28T12:20:29.233" Score="0" Body="&lt;p&gt;In general software development, Inversion of Control is used to increase modularity of the program and make it extensible, and has applications in object-oriented programming and other programming paradigms. The term was popularized by Robert C. Martin and Martin Fowler.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Inversion_of_control&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://en.wikipedia.org/wiki/Inversion_of_control&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specific support for dependency injection and IoC has been added to Sitecore with the 8.2 release.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-28T12:43:15.343" LastActivityDate="2017-03-28T12:43:15.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5127" PostTypeId="4" CreationDate="2017-03-28T12:20:29.233" Score="0" Body="Questions relating to the Inversion of Control design pattern, and it's application to Sitecore development." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-28T12:43:19.257" LastActivityDate="2017-03-28T12:43:19.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5128" PostTypeId="2" ParentId="5057" CreationDate="2017-03-28T12:32:55.723" Score="2" Body="&lt;p&gt;You can make use of a NotFoundProcessor in the httpBeginRequest. If you see that the context language is not en, then redirect to 404. A code snippet example is shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NotFoundProcessor : HttpRequestProcessor&#xA;{&#xA;    protected HttpRequestArgs Args { get; set; }&#xA;&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;        this.Args = args;&#xA;&#xA;        if (!Context.Language.Equals(&quot;en&quot;))&#xA;        {&#xA;            //Write a method which gets the 404 page&#xA;            Context.Item = GetError404Item()&#xA;            var link = LinkManager.GetItemUrl(Context.Item);&#xA;            HttpContext.Current.Server.TransferRequest(string.Format(&quot;~/{0}?status=404&quot;, link.TrimStart('/')));&#xA;            HttpContext.Current.ApplicationInstance.CompleteRequest();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-03-28T12:32:55.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5129" PostTypeId="2" ParentId="5115" CreationDate="2017-03-28T13:26:42.350" Score="0" Body="&lt;p&gt;You do not need to have your site definitions all at the same level. You can do any amount of grouping with subfolders to create an easier navigation for somebody to find the site your are looking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I agree that 70 sites all at the route is very difficult to navigate. Some might complain about going through a tree structure, but I'm a folder guy and I like to keep things in neat little folders so that I can drill down to the one I want (or search if I'm feeling lazy).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How you group will depend on what makes the most sense for the content/audience of your sites. Should you group by region, industry, target audience? What will help your authors know where to find the site? What grouping makes sense?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the end, a structure such as this helps you have fewer nodes at each level:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Microsites&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Industry1 (e.g.Hotel)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Region1&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Site1&lt;/li&gt;&#xA;&lt;li&gt;Site3&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Region2&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Industry2 (e.g Finance)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Region1&lt;/li&gt;&#xA;&lt;li&gt;Site2&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-03-28T13:26:42.350" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5130" PostTypeId="2" ParentId="5083" CreationDate="2017-03-28T13:27:40.513" Score="3" Body="&lt;p&gt;No, this is not possible in EXM 3.3+. In EXM 3.4 you're able to see a list of all recipients the message was sent to though, but in EXM 3.3 this report is not available unfortunately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can however extract the information either using the API, or directly from MongoDB using a query similar to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Interactions.find( { &quot;Pages.PageEvents&quot;: { $all: [ { &quot;$elemMatch&quot; : { ItemId: NUUID(&quot;4e0feb94-d408-4208-90da-9e3876181514&quot;), Name: &quot;Email Sent&quot; } }] } })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EXM 3.3+ adds an interaction with the &quot;Email Sent&quot; page event for every recipient of the email. ItemId is the item id of the message.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-03-28T13:27:40.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5132" PostTypeId="2" ParentId="5123" CreationDate="2017-03-28T13:39:15.010" Score="2" Body="&lt;p&gt;I can see three options available to you at this point:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Start from the &lt;a href=&quot;https://github.com/h-j/SitecorePollModule&quot; rel=&quot;nofollow noreferrer&quot;&gt;shared source Sitecore Poll Module&lt;/a&gt; and adapt it for Sitecore 8.2. Don't forget to contribute back!&lt;/li&gt;&#xA;&lt;li&gt;Use one of the available commercial solutions from &lt;a href=&quot;http://www.awareweb.com/products/survey-manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;Aware&lt;/a&gt; or &lt;a href=&quot;http://www.codehousegroup.com/services/sitecore-modules/sitecore-quick-poll&quot; rel=&quot;nofollow noreferrer&quot;&gt;Codehouse&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Roll your own.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I've implemented features similar to what you describe (product selection / decision tree). While you might be able to leverage a survey/poll module, they are really meant for public surveys that provide graphic results. For your use case, I think custom development might actually be easier. Still, the source code for the Poll module should be good for some development pointers.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-03-28T13:39:15.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5133" PostTypeId="1" CreationDate="2017-03-28T14:10:52.700" Score="1" ViewCount="279" Body="&lt;p&gt;We will be doing some site updates and testing in relation to an update to our AMS system, and would like to put our live SC site in Maintenance Mode, a setting we see under the site settings, while we update everything and test.  I can't find anything about the mode yet, though - how it works, how content authors can test, etc.  I tried setting our test site in Maintenance Mode, and it does not appear to make a difference; it still comes up as expected.  Are there any resources on this setting in SDN or other location?  Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="1408" LastActivityDate="2017-03-28T19:27:04.983" Title="Sitecore 7.2 - Maintenance Mode setting" Tags="|site-configuration|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5134" PostTypeId="2" ParentId="4311" CreationDate="2017-03-28T14:40:11.017" Score="1" Body="&lt;p&gt;If you your default Sitecore Homepage still exists, make sure you're using the domain name you put in the Host Name field of your SXA site item to access Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if Sitecore was setup to use www.mysite.com, and your SXA Host Name is sxa.mysite.com, be sure to use sxa.mysite.com/sitecore to access the Experience Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The system doesn't have the context of the SXA site when you login with www.mysite.com/sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z3uj9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z3uj9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's what did it for me. Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="1742" LastActivityDate="2017-03-28T14:40:11.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5136" PostTypeId="1" AcceptedAnswerId="6519" CreationDate="2017-03-28T16:53:29.637" Score="9" ViewCount="325" Body="&lt;p&gt;I am trying to install Commerce Server in silent mode using this command:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;setup.exe /l %systemdrive%\install.log /ADDLOCAL ALL /PRODUCT CommerceServer /passive /norestart&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;based on &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/aa544794(v=cs.70).aspx&quot; rel=&quot;noreferrer&quot;&gt;this MSDN link&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But after installation, a configuration popup is opening which I am trying to suppress. Could someone help me either to suppress the pop up or provide &lt;code&gt;csconfig.xml&lt;/code&gt; as input to the &lt;code&gt;csconfig.exe&lt;/code&gt; immediately after installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the popup I want to supress:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/X7TA9.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/X7TA9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also tried giving xml as source to configure but with no luck. Below is the command I used and source link:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&quot;commerceserver.exe &quot;-silent [CSCONFIGXML=CSConfig.xml] [NOCSCONFIG] [NOSTAGING]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SCpbCS81/SitecoreCommerceDeploymentGuide/en-us/c_CommerceServerInstaller.html&quot; rel=&quot;noreferrer&quot;&gt;http://commercesdn.sitecore.net/SCpbCS81/SitecoreCommerceDeploymentGuide/en-us/c_CommerceServerInstaller.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1643" LastEditorUserId="233" LastEditDate="2017-03-31T22:17:52.593" LastActivityDate="2017-07-08T07:16:48.403" Title="Unable to install Commerce Server-- silent installation" Tags="|sitecore-commerce|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5138" PostTypeId="2" ParentId="5133" CreationDate="2017-03-28T19:27:04.983" Score="1" Body="&lt;p&gt;Zachary was correct - the Maintenance Mode function appearing in SC was part of the core installation done by our third-party SC provider. Still with them on full functionality, but it appears to be a good tool to have, just in case. Full reference to it was found in a subfolder under app_config.  Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1408" LastActivityDate="2017-03-28T19:27:04.983" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5139" PostTypeId="2" ParentId="5116" CreationDate="2017-03-28T20:54:01.630" Score="0" Body="&lt;p&gt;The answer by @KasperGadensgaard is 100% correct: if you are inheriting a field and you change its value then clearing the field's value is not enough to restore the inheritance, but rather you must reset the field values via the &lt;em&gt;Versions &gt; Reset (Fields)&lt;/em&gt; button in the content editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8+:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dgAO1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dgAO1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In older versions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6uNne.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6uNne.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Check if a field value is a _Standard Value in the Content Editor&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I'm not a big fan of invisible characters impacting my code or content without me knowing. Fortunately, Sitecore understands this problem and was kind enough to provide us with a little message that displays next to the field name to indicate whether or not the field's value is inherited from a Standard Value. When necessary, another indicator in the same location is used to idenitify a field that is &quot;Shared&quot; (i.e. the value is the same across all language versions). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8+, the indicator looks like this (shown for a &quot;Shared&quot; field):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BddZL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BddZL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In older versions, the indicator looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bjnSg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bjnSg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-28T21:00:32.920" LastActivityDate="2017-03-28T21:00:32.920" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5140" PostTypeId="1" CreationDate="2017-03-28T21:00:20.373" Score="2" ViewCount="531" Body="&lt;p&gt;I'm having some trouble getting info from the pipeline for the new-ish Sitecore Publishing Service in Sitecore 8.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're getting the list of ModifiedFields from PublishEndResultBatchArgs. The problem is only the revision field is being returned. We are expecting a list of what was changed. See code. Any ideas? Thanks.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PublishBatchResultProcessor&#xA;{&#xA;    public void Process(PublishEndResultBatchArgs args)&#xA;    {&#xA;        foreach (var result in args.Batch)&#xA;        {&#xA;            var fieldChanges = result.Metadata.FieldChanges;&#xA;            //This gives me a collection with only one item - The revision field&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch File:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;publishEndResultBatch&amp;gt;&#xA;        &amp;lt;processor type=&quot;Foo.PipelineStuff.PublishBatchResultProcessor, Foo.PipelineStuff&quot;&#xA;                   patch:before=&quot;*[@type='Sitecore.Publishing.Service.Pipelines.BulkPublishingEnd.RaiseRemoteEvents, Sitecore.Publishing.Service']&quot; /&amp;gt;&#xA;      &amp;lt;/publishEndResultBatch&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="853" LastEditorUserId="1746" LastEditDate="2017-03-29T16:26:05.610" LastActivityDate="2017-04-27T10:18:17.297" Title="Publishing Service Field Changes Only Revision Being Returned" Tags="|publishing-service|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5141" PostTypeId="2" ParentId="3282" CreationDate="2017-03-28T22:00:42.187" Score="0" Body="&lt;p&gt;We had similar issues. I think between Jetty and IIS config we could get our requests upto around 40,000 characters long. The other thing that helped shorten our query length was use Solr &lt;a href=&quot;http://yonik.com/solr-query-parameter-substitution/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Parameter Substitution / Macro Expansion&lt;/a&gt; feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The steps we used to fix our issues with Solr Queries (using IIS and Jetty) were are follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configure IIS to accept massive requests. Create Registry keys: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;DWORD - MaxRequestBytes - Value: 131072 (decimal) Very big. Approx&#xA;twice what Jetty is configured to. &lt;/li&gt;&#xA;&lt;li&gt;DWORD - MaxFieldLength - Value:&#xA;131072 (decimal) More information here:&#xA;&lt;a href=&quot;https://support.microsoft.com/en-us/kb/820129&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.microsoft.com/en-us/kb/820129&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Restart HTTP stack. From a command line:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;net stop http&lt;/li&gt;&#xA;&lt;li&gt;net start http&lt;/li&gt;&#xA;&lt;li&gt;iisreset&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Configure Solr (Jetty)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open the main Jetty.xml file&lt;/li&gt;&#xA;&lt;li&gt;Look for &quot;requestHeaderSize&quot; property.&lt;/li&gt;&#xA;&lt;li&gt;Change default value from 8192 to 65536&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Restart Solr Service&lt;/p&gt;&#xA;" OwnerUserId="1665" LastActivityDate="2017-03-28T22:00:42.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5142" PostTypeId="1" CreationDate="2017-03-28T22:17:08.017" Score="3" ViewCount="58" Body="&lt;p&gt;Is there a way to force the Express Migration Tool (v1.0 in my case*) to re-syncronize security items. It seems that this is a known issue that it will only sync security users and roles once. (&lt;a href=&quot;https://kb.sitecore.net/articles/583017&quot; rel=&quot;nofollow noreferrer&quot;&gt;See this KB article&lt;/a&gt; which indicates this is still an issue in v2.0).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm assuming it writes some sort of marker somewhere.&lt;/p&gt;&#xA;" OwnerUserId="249" LastEditorUserId="73" LastEditDate="2017-03-29T10:47:19.217" LastActivityDate="2017-03-29T18:35:00.273" Title="Forcing Express Migration Tool to Sync Security" Tags="|security|migration|express-migration-tool|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5143" PostTypeId="1" AcceptedAnswerId="5144" CreationDate="2017-03-29T06:52:05.443" Score="-1" ViewCount="998" Body="&lt;p&gt;System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&#xA;   System.IO.Path.GetTempFileName()&lt;/p&gt;&#xA;" OwnerUserId="1268" LastActivityDate="2017-03-29T14:39:56.547" Title="While creating Sitecore package getting &quot;System.IO.IOException: The file exists error&quot; in Sitecore 7.2" Tags="|sitecore-client|" AnswerCount="1" CommentCount="3" ClosedDate="2017-03-31T07:37:22.640" ContentLicense="CC BY-SA 3.0" />
  <row Id="5144" PostTypeId="2" ParentId="5143" CreationDate="2017-03-29T08:36:57.737" Score="0" Body="&lt;p&gt;This error looks like not Sitecore related, and related to your server configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Sitecore calls system method &lt;code&gt;System.IO.Path.GetTempFileName()&lt;/code&gt; with no params and receives the error)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check what is the &lt;code&gt;%TEMP%&lt;/code&gt; variable defined on your machine.&#xA;It may be that it looks for a location that does not exist or that the IIS AppPool user do not have read/write permissions for that folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check the &lt;code&gt;%TEMP%&lt;/code&gt; variable value using the following method inside the command prompt:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\Users\vlad&amp;gt;cd %TEMP%&#xA;&#xA;&#xA;C:\Users\vlad\AppData\Local\Temp&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If that folder (result of request on your side) is existent – check if the AppPool user has the appropriate access rights.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="70" LastEditDate="2017-03-29T14:39:56.547" LastActivityDate="2017-03-29T14:39:56.547" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5145" PostTypeId="2" ParentId="5112" CreationDate="2017-03-29T10:20:24.257" Score="3" Body="&lt;p&gt;We created a custom BasicAuthHttpWebRequest using the reference of the code from Solr.net and then referenced this class library in solr indexconfiguration section.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    namespace MyclassLibrary&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;{&lt;/p&gt;&#xA;&#xA;&lt;p&gt;public class MyBasicAuthHttpWebRequestFactory : IHttpWebRequestFactory&#xA;  {&#xA;    private readonly string username;&#xA;    private readonly string password;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public MyBasicAuthHttpWebRequestFactory(string username, string password)&#xA;{//This is where we can fetch credential from appsetting&#xA;  this.username = ConfigurationManager.AppSettings[&quot;UserName&quot;];&#xA;  this.password =ConfigurationManager.AppSettings[&quot;password&quot;];&#xA;}&#xA;&#xA;public IHttpWebRequest Create(string url)&#xA;{&#xA;  return this.Create(new Uri(url));&#xA;}&#xA;&#xA;public IHttpWebRequest Create(Uri url)&#xA;{&#xA;  HttpWebRequest request = (HttpWebRequest) WebRequest.Create(url);&#xA;  string base64String = Convert.ToBase64String(Encoding.ASCII.GetBytes(this.username + &quot;:&quot; + this.password));&#xA;  request.Headers.Add(&quot;Authorization&quot;, &quot;Basic &quot; + base64String);&#xA;  return (IHttpWebRequest) new HttpWebRequestAdapter(request);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&#xA;}&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;indexConfigurations&amp;gt;&#xA;    &amp;lt;solrHttpWebRequestFactory type=&quot;HttpWebAdapters.HttpWebRequestFactory, SolrNet&quot;&amp;gt;&#xA;      &amp;lt;patch:delete/&amp;gt;&#xA;    &amp;lt;/solrHttpWebRequestFactory&amp;gt;&#xA;    &amp;lt;solrHttpWebRequestFactory type=&quot;MyClassLibrary.MyBasicAuthHttpWebRequestFactory, MyClassLibrary&quot;&amp;gt;&#xA;      &amp;lt;param hint=&quot;username&quot;&amp;gt;&#xA;      &amp;lt;/param&amp;gt;&#xA;      &amp;lt;param hint=&quot;password&quot;&amp;gt;&#xA;      &amp;lt;/param&amp;gt;&#xA;    &amp;lt;/solrHttpWebRequestFactory&amp;gt;&#xA;  &amp;lt;/indexConfigurations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="102" LastEditorUserId="102" LastEditDate="2017-03-29T10:34:35.683" LastActivityDate="2017-03-29T10:34:35.683" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5146" PostTypeId="2" ParentId="4964" CreationDate="2017-03-29T11:37:25.130" Score="3" Body="&lt;p&gt;As mentioned in the installation guide on &lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Update1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;the download page&lt;/a&gt; in step 3 of the installation process:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the App_Config/ConnectionStrings.config file of your Sitecore&#xA;  solution, update the exm.master and the exm.web SQL server connection&#xA;  strings. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;exm.master&quot; connectionString=&quot;user id=user;password=password;Data&#xA;Source=(server);Database=Sitecore_EXM&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;exm.web&quot; connectionString=&quot;user id=user;password=password;Data&#xA;Source=(server);Database=Sitecore_EXM.WEB&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Please note&lt;/strong&gt; that these are just &lt;strong&gt;example&lt;/strong&gt; connection strings, and that you will have to change the user id, password and database name to match your setup.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2017-04-05T07:27:55.417" LastActivityDate="2017-04-05T07:27:55.417" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5147" PostTypeId="1" AcceptedAnswerId="5170" CreationDate="2017-03-29T14:27:58.787" Score="6" ViewCount="77" Body="&lt;p&gt;While reviewing another SSE question that linked to &lt;a href=&quot;https://kb.sitecore.net/articles/583017&quot; rel=&quot;noreferrer&quot;&gt;this KB page&lt;/a&gt;, I noticed in the top-right corner of the page's main content section that there was a little icon labeled &quot;hidden article&quot;. What exactly does this mean? Does this article simply not display in search results? Is there a known reason for making an article hidden (e.g. the article isn't complete yet, etc.)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oKybn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oKybn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorDisplayName="user62" LastEditDate="2019-01-27T02:34:59.237" LastActivityDate="2019-01-27T02:34:59.237" Title="What does the &quot;Hidden Article&quot; icon on KnowledgeBase articles mean?" Tags="|documentation|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5149" PostTypeId="1" AcceptedAnswerId="5150" CreationDate="2017-03-29T15:48:03.453" Score="1" ViewCount="886" Body="&lt;p&gt;I am trying to pass an Item to a SPE Function as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function ImportTask ($importTask, $taskItem) {&#xA;&#xA;    $taskName = $taskItem.Name&#xA;&#xA;    $importTask.ItemTitle = $taskItem.Fields[&quot;Item Title&quot;].Value&#xA;&#xA;}&#xA;&#xA;$taskObj = New-Object MyNamespace.Task&#xA;&#xA;$contextItem = Get-Item -Path &quot;.&quot;&#xA;&#xA;ImportTask($taskObj, $contextItem)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, when executed, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Cannot index into a null array.&#xA;At line:5 char:2&#xA;+     $importTask.ItemTitle = $taskItem.Fields[&quot;Item Title&quot;].Value&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException&#xA;    + FullyQualifiedErrorId : NullArray&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any suggestions why I cannot retrieve the value?&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-03-29T16:03:13.653" Title="SPE - Cannot index into a null array" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5150" PostTypeId="2" ParentId="5149" CreationDate="2017-03-29T16:03:13.653" Score="3" Body="&lt;p&gt;To distinguish positional parameters, Powershell uses spaces instead of commas. By changing your invocation to this, you will fix your problem:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ImportTask $taskObj $contextItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By using a comma, you are sending an array into the first parameter, and not defining the second.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple of blog posts by Michael Sorens which detail this in great length:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.simple-talk.com/dotnet/.net-tools/down-the-rabbit-hole--a-study-in-powershell-pipelines,-functions,-and-parameters/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.simple-talk.com/dotnet/.net-tools/down-the-rabbit-hole--a-study-in-powershell-pipelines,-functions,-and-parameters/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.simple-talk.com/sysadmin/powershell/a-plethora-of-powershell-pitfalls/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.simple-talk.com/sysadmin/powershell/a-plethora-of-powershell-pitfalls/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-03-29T16:03:13.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5151" PostTypeId="1" AcceptedAnswerId="5155" CreationDate="2017-03-29T16:12:42.267" Score="3" ViewCount="2163" Body="&lt;p&gt;For some time, Sitecore has included an &quot;Installed Licenses&quot; feature which can be reached by navigating to &lt;em&gt;Start -&gt; All Applications -&gt; System -&gt; Installed Licenses&lt;/em&gt;, by clicking the hamburger button in the Content Editor (for Sitecore 8+; in older versions, click the Sitecore logo in the Content Editor instead) and selecting &quot;Licenses&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is my understanding that, by default, Sitecore ships with an entry for every official Sitecore module that they provide that is licensed to the solution via the installed License file. Since Sitecore does not, by default, keep a record of the versions of installed modules, I was hoping to extend this feature to display that information, at least for official modules, but I would be fine with adding extra entries, if needed (even for offical modules that should already have an entry).&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Question&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;My question has the following four parts:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;What is the &lt;em&gt;actual&lt;/em&gt; purpose of this feature, if different from my understanding?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;What do the &lt;code&gt;Count&lt;/code&gt; and &lt;code&gt;Version&lt;/code&gt; values actually represent?&lt;/strong&gt; The screenshots, below, depict these values for the &lt;code&gt;Sitecore.WFFM&lt;/code&gt; entry of a clean Sitecore 8.2.1 instance without WFFM installed and a Sitecore 7.2.0 instance that has WFFM installed. Notice that the values are the same regardless of whether or not WFFM is actually installed. While not shown, note that the values &lt;code&gt;Count: 1&lt;/code&gt; and &lt;code&gt;Version: 8&lt;/code&gt; are actually the same for &lt;em&gt;nearly all&lt;/em&gt; of the module entries, not just the &lt;code&gt;Sitecore.WFFM&lt;/code&gt; entry, including &lt;code&gt;Sitecore.xDB.Base&lt;/code&gt;, &lt;code&gt;Sitecore.SXA&lt;/code&gt; and more. The value is different for the &lt;code&gt;Sitecore.SiteUser&lt;/code&gt; entry which is set to the maximum amount of concurrent users that my license allows, the &lt;code&gt;Sitecore.MSS.Sites&lt;/code&gt; entry, the &lt;code&gt;SiteCore.EditorUser&lt;/code&gt; entry (title copied verbatim; it has the capital &quot;C&quot; for &quot;SiteCore&quot;, like &lt;code&gt;SiteCore.Runtime&lt;/code&gt; and &lt;code&gt;SiteCore.SQLConnector&lt;/code&gt; in the screenshots, below), the &lt;code&gt;Sitecore.Domain&lt;/code&gt; entry, and the &lt;code&gt;SiteCore.Developer&lt;/code&gt; entry (also copied verbatim). &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Is there any way to extend/update an entry to display additional comments/version information without modifying the installed license file?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Is there any way to add an entry to this list for a custom module/feature without modifying the installed Sitecore license file?&lt;/strong&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Site-Note&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I am aware that newer (Sitecore 8+) versions of the &quot;Installed Licenses&quot; dialog have the caption:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Click a license to view the terms and conditions.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and that for older versions the caption is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Here is a list of all the licenses that are contained in your license&#xA;  file. To view the terms of a license, click it.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, since the terms of these licenses are not auto-populated in the entries and the content of the entries is not editable, I recognize that my understanding of the purpose of this feature may not be correct.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Screenshots&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8+&lt;/strong&gt; (screenshot depicts a clean Sitecore 8.2.1 instance without WFFM installed)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RS4X6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RS4X6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Older Versions&lt;/strong&gt; (screenshot depicts a Sitecore 7.2.0 instance with WFFM installed)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A8q5O.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A8q5O.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-03-30T16:19:18.380" Title="Understanding License information in the &quot;Installed Licenses&quot; feature" Tags="|sitecore-client|licensing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5152" PostTypeId="1" AcceptedAnswerId="5153" CreationDate="2017-03-29T16:30:53.547" Score="4" ViewCount="117" Body="&lt;p&gt;Here's my scenario&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore 8.1 update 1 in Datacenter X&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1 update 1 in Datacenter Z (stand-by failover)&lt;/li&gt;&#xA;&lt;li&gt;MongoDB Replica Set (rs0) Primary and Secondary in Datacenter X&lt;/li&gt;&#xA;&lt;li&gt;MongoDB Replica Set (rs0) Secondary in Datacenter Z&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The ConnectionStrings from Sitecore in Datacenter X, looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;mongodb://primaryx,secondaryx,secondaryz/Analytics?replicaSet=rs0&#xA;mongodb://primaryx,secondaryx,secondaryz/Tracking_Live?replicaSet=rs0&#xA;mongodb://primaryx,secondaryx,secondaryz/Tracking_History?replicaSet=rs0&#xA;mongodb://primaryx,secondaryx,secondaryz/Tracking_Contact?replicaSet=rs0&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Sitecore in Datacenter Z wants to guarantee that whenever a failover happens it uses MongoDB from the same datacenter (Datacenter Z) to avoid network latency, and wants to use the ConnectionStrings like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;mongodb://secondaryz,primaryx,secondaryx/Analytics?replicaSet=rs0&#xA;mongodb://secondaryz,primaryx,secondaryx/Tracking_Live?replicaSet=rs0&#xA;mongodb://secondaryz,primaryx,secondaryx/Tracking_History?replicaSet=rs0&#xA;mongodb://secondaryz,primaryx,secondaryx/Tracking_Contact?replicaSet=rs0&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That being said, couple questions came to my mind:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What Sitecore understands about Mongo from its ConnectionStrings?&lt;/li&gt;&#xA;&lt;li&gt;Changing the order of the ConnectionStrings makes sense to avoid network latency at all or Mongo is the one who decides/tells which one is the Primary or Secondary?&lt;/li&gt;&#xA;&lt;li&gt;Does the ConnectionStrings order matter to determine who is the Primary or Secondary to Sitecore?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-03-29T16:50:21.177" Title="What Sitecore understands about Mongo from its ConnectionStrings?" Tags="|xdb|configuration|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5153" PostTypeId="2" ParentId="5152" CreationDate="2017-03-29T16:50:21.177" Score="2" Body="&lt;p&gt;From the standpoint of Sitecore, it doesn't do much as it will rely on the Mongo Driver to handle communications to the Mongo server(s) that are specified in the connection string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are not connected to a single server - you are connected to the entire replica set. Therefore since the driver keeps connections open to all members in the set it knows to send writes to the primary and it knows when it can send certain special reads to a secondary (unless it's a hidden secondary). This means the order that you specify in the connection string doesn't matter.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-03-29T16:50:21.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5154" PostTypeId="2" ParentId="5142" CreationDate="2017-03-29T18:35:00.273" Score="1" Body="&lt;p&gt;FWIW - it looks like everything is stored in a SQLite db called &lt;code&gt;migration.db&lt;/code&gt; which is in the directory where the Migration Tool was run from. I renamed this, had to re-specify all my paths &amp;amp; connection strings and it migrated the users.&lt;/p&gt;&#xA;" OwnerUserId="249" LastActivityDate="2017-03-29T18:35:00.273" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5155" PostTypeId="2" ParentId="5151" CreationDate="2017-03-29T18:39:05.497" Score="4" Body="&lt;p&gt;This couldn’t the final answer to your queries but some analysis from my end, worth reading :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update in License File:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever Sitecore official module is installed into an instance, below changes are included/appended in license file. (/data/license.xml)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;- Snapshot:&lt;/em&gt;&#xA; Name,Expiration,count,version &amp;amp; license agreement are appended under &lt;code&gt;&amp;lt;signature&amp;gt;&lt;/code&gt; node of a module in license file and the same is retrieved to display in licensedetails page. &#xA;*note: License agreement might not appear for partner license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lpKUl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lpKUl.png&quot; alt=&quot;License info &amp;amp; Module info&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;License Overview Page:&lt;/strong&gt;&#xA;Page which list all the sitecore official modules when selected from 'Installed Licenses'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;License overview url is:&lt;/em&gt; &lt;code&gt;http://&amp;lt;yourinstancename&amp;gt;/sitecore/shell/applications/licenses/licenseoverview&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;snapshot:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4YeM5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4YeM5.png&quot; alt=&quot;overview page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Physical path of xml file:&lt;/em&gt; &#xA;&lt;code&gt;&amp;lt;physicalpath&amp;gt;\Website\sitecore\shell\Applications\Licenses\LicenseOverview\LicenseOverview.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Codebehind:&lt;/em&gt;&#xA;&lt;code&gt;Sitecore.Shell.Applications.Licenses.LicenseOverview.LicenseOverviewForm from Sitecore.Client.dll&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;License Details Page:&lt;/strong&gt;&#xA;Module's License detail page which list 6 fields coming out from signature node of a module in license file.&#xA;&lt;em&gt;License Details Page url is:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;`http://&amp;lt;yourinstancename&amp;gt;sitecore/shell/Applications/Licenses/LicenseDetails.aspx?name=[ModuleName]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Snapshot:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bd9y6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bd9y6.png&quot; alt=&quot;module&amp;#39;s license details&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Physical path of xml file:&lt;/em&gt; &#xA;&lt;code&gt;&amp;lt;physicalpath&amp;gt;\Website\sitecore\shell\Applications\Licenses\\LicenseDetails\\LicenseDetails.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Codebehind:&lt;/em&gt;&#xA;&lt;code&gt;Sitecore.Shell.Applications.Licenses.LicenseDetails.LicenseDetailsForm from Sitecore.Client.dll&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&#xA;Finally i think adding certain fields into modules manifesto information &amp;amp; retrieving it in license details window couldnt be an easy task to do. :(&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="891" LastEditDate="2017-03-30T16:19:18.380" LastActivityDate="2017-03-30T16:19:18.380" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5156" PostTypeId="1" AcceptedAnswerId="5158" CreationDate="2017-03-29T20:32:26.637" Score="0" ViewCount="171" Body="&lt;p&gt;Does anyone know whether it`s possible to get from the logs whether Sitecore is rendering a personalized view?&#xA;I mean I know we can check the output by looking at the site but wondering whether Sitecore capture it on logs or not.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-03-29T23:00:18.693" Title="Logs on personalization" Tags="|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5157" PostTypeId="2" ParentId="3564" CreationDate="2017-03-29T21:57:44.423" Score="1" Body="&lt;p&gt;Things to check:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore logs:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Do they roll-over at this instant, signifying an application restart?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IIS Logs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;IIS Logs - You've left out most of the columns in the log, what does the &quot;time-taken&quot; column show for the one (or several) entries after the delay?&lt;/li&gt;&#xA;&lt;li&gt;Is time-taken the same before and after for the same requests, or are they drastically different? If afterwards they're huge then feels like you've got some sort of request locking threads.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Try running a Microsoft Performance Monitor capture during this time looking specifically for:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ASP.NET Apps / Requests Executing&lt;/li&gt;&#xA;&lt;li&gt;ASP.NET Apps / Requests/Sec&lt;/li&gt;&#xA;&lt;li&gt;ASP.net v4 / Requests Current&lt;/li&gt;&#xA;&lt;li&gt;ASP.net v4 / Requests Queued&lt;/li&gt;&#xA;&lt;li&gt;Memory / Pages/sec&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This may help show you that requests are coming in but being queued due to saturation or some sort of locking events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rYzjT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rYzjT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Event Viewer&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Anything in the Application or System event logs at or around this time?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="399" LastActivityDate="2017-03-29T21:57:44.423" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5158" PostTypeId="2" ParentId="5156" CreationDate="2017-03-29T22:43:12.773" Score="3" Body="&lt;p&gt;No, not OOTB as far as I know. I just had a quick look at the Sitecore Kernel Assembly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally, the rules need to get triggered when rendering the item. So, I checked the following namespace: &lt;code&gt;Sitecore.Pipelines.InsertRenderings.Processors.EvaluateConditions&lt;/code&gt; from the &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt; and there seems to be no log found in it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Though, you can have a custom pipeline of the Evaluation of the conditions, that is, you patch the processor &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.InsertRenderings.Processors.EvaluateConditions, Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, you may write up some logs in your custom processor.. An example snippet is shown below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomCondtionEvaluation: EvaluateConditions&#xA;{&#xA;    protected override void Evaluate(InsertRenderingsArgs args, Item item)&#xA;    {&#xA;        //Add logs and custom logic if required here            &#xA;    }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you have to override the &lt;code&gt;Run&lt;/code&gt; method which triggers the evaluation of the rule which is at the namespace &lt;code&gt;Sitecore.Rules.RuleList&amp;lt;T&amp;gt;&lt;/code&gt;. This is where the logs should be written. There are only logs when an error occured&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-03-29T23:00:18.693" LastActivityDate="2017-03-29T23:00:18.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5159" PostTypeId="2" ParentId="5140" CreationDate="2017-03-30T09:57:09.160" Score="6" Body="&lt;p&gt;This is by design.  For performance reasons, the Publishing Service only reports field changes that are essential for features in Sitecore to function correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fields that will be reported on are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Revision - {8CDC337E-A112-42FB-BBB4-4143751E123F}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;NeverPublish - {9135200A-5626-4DD8-AB9D-D665B8C11748}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;PublishDate - {86FE4F77-4D9A-4EC3-9ED9-263D03BD1965}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;UnpublishDate - {7EAD6FD6-6CF1-4ACA-AC6B-B200E7BAFE88}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;PublishingTargets - {74484BDF-7C86-463C-B49F-7B73B9AFC965}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;HideVersion - {B8F42732-9CB8-478D-AE95-07E25345FB0F}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;ValidFrom - {C8F93AFE-BFD4-4E8F-9C61-152559854661}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;ValidTo - {4C346442-E859-4EFD-89B2-44AEDF467D21}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;WorkflowState - {3E431DE1-525E-47A3-B6B0-1CCBEC3A8C98}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;DefaultWorkflow - {CA9B9F52-4FB0-4F87-A79F-24DEA62CDA65}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Clones.SourceVariant - {1B86697D-60CA-4D80-83FB-7555A2E6CE1C}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Clones.SourceItem - {19B597D3-2EDD-4AE2-AEFE-4A94C7F10E31}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The ability to configure the Service to report on other fields will be delivered in v2.0 Update 1, due for release probably sometime in May 2017.&lt;/p&gt;&#xA;" OwnerUserId="588" LastEditorUserId="588" LastEditDate="2017-04-27T10:18:17.297" LastActivityDate="2017-04-27T10:18:17.297" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5160" PostTypeId="1" AcceptedAnswerId="5164" CreationDate="2017-03-30T10:51:31.523" Score="3" ViewCount="410" Body="&lt;p&gt;Folks,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;got some strange behaviour withe RTE in sitecore, when you create a table, then edit one of the cells, it renders back what looks like a copy of the original table inside the selected cell, see below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WWAl9.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WWAl9.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when you click &quot;Accept&quot; the extra table disappears, but leaves a ton of :nbsp tags, any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks&lt;/p&gt;&#xA;" OwnerUserId="1513" LastActivityDate="2017-03-30T11:54:15.943" Title="Rich Text Editor Cell Properties" Tags="|richtext-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5161" PostTypeId="1" AcceptedAnswerId="5173" CreationDate="2017-03-30T11:31:57.200" Score="3" ViewCount="475" Body="&lt;p&gt;Is there a way to define a template field where a user can select a Sitecore role from a dropdown? I noticed that in Sitecore 8.2 under the &lt;strong&gt;Developer Types&lt;/strong&gt; section there is a &lt;code&gt;Sitecore User&lt;/code&gt; field type, its a pity they didn't make a &lt;code&gt;Sitecore Role&lt;/code&gt; one as well while they were at it... My next choice would be to just use a single-line text field which I can just about justify since this is for an admin feature.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="423" LastEditDate="2017-08-08T14:44:15.477" LastActivityDate="2017-08-08T14:44:15.477" Title="How to enable role selection within a template field" Tags="|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5162" PostTypeId="1" AcceptedAnswerId="5166" CreationDate="2017-03-30T11:38:54.510" Score="2" ViewCount="969" Body="&lt;p&gt;I have several items (news stories) that are contained within a section (like a category) that span multiple issues and publications.  The sections are mostly repeated in every issue and many times the sections are in the other publications as well.  What I want search to return is a list of all items that are contained within the same section regardless of publication or issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the correct answer is to add the section identifier field value from the section item into the index on the story item document that I'm searching against.  But I'm having trouble finding a good source on how to do that using Sitecore 8.  More specifically I'm using Azure Search, but that only changes a few things that I think I've been able to figure out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For simplicity I'm just using the default sitecore_master_index for now at least. I'll probably create my own index specifically for this and other purposes.&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2017-03-30T13:06:06.960" Title="How do I search for a value in a parent item field?" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5163" PostTypeId="2" ParentId="5053" CreationDate="2017-03-30T11:47:36.670" Score="4" Body="&lt;p&gt;I discovered that if you simply use .Equals() then it will work fine.  It will perform a Regex match and find all instances, including items that have multiple values in the multilist field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var test2 = context.GetQueryable&amp;lt;SBJSearchItem&amp;gt;()&#xA;    .Where(p =&amp;gt; p.Authors.Equals(&quot;8292632F-244A-4327-9C66-80DCF98CCAB8&quot;))&#xA;    .ToArray();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="933" LastActivityDate="2017-03-30T11:47:36.670" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5164" PostTypeId="2" ParentId="5160" CreationDate="2017-03-30T11:54:15.943" Score="5" Body="&lt;p&gt;To resolve the issue, please update the Telerik RTE assemblies to the newer version:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Extract the Telerik.Web.UI.dll and Telerik.Web.UI.Skins.dll assemblies from the attached archives into your \bin folder (replacing the existing ones).&lt;/li&gt;&#xA;&lt;li&gt;Replace the Telerik.Web.UI.XML file in your \bin folder with the attached one.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the Telerik.Web.UI assembly binding to your web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;runtime&amp;gt;&#xA;  &amp;lt;assemblyBinding xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot;&amp;gt;&#xA;...&#xA; &amp;lt;dependentAssembly&amp;gt;&#xA;&amp;lt;assemblyIdentity name=&quot;Telerik.Web.UI&quot; publicKeyToken=&quot;121fae78165ba3d4&quot; /&amp;gt;&#xA;&amp;lt;bindingRedirect oldVersion=&quot;2015.1.401.45&quot; newVersion=&quot;2015.3.930.45&quot; /&amp;gt;&#xA; &amp;lt;/dependentAssembly&amp;gt;&#xA;&amp;lt;/assemblyBinding&amp;gt;&#xA;&amp;lt;/runtime&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Files you can find at this &lt;a href=&quot;https://www.dropbox.com/sh/wvj4302q23v2ums/AADFzt-4_8qrJHVHRxzrXXaIa?dl=0&quot; rel=&quot;noreferrer&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-03-30T11:54:15.943" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5166" PostTypeId="2" ParentId="5162" CreationDate="2017-03-30T13:06:06.960" Score="3" Body="&lt;p&gt;You should create a computed index field that is filled only for your news stories items. The computed field value would be the parent section name or ID. That way, you would be able to query for the news stories by section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information on computed index fields: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-computed-index-fields&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-computed-index-fields&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2017-03-30T13:06:06.960" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5167" PostTypeId="1" AcceptedAnswerId="5172" CreationDate="2017-03-30T13:17:17.937" Score="1" ViewCount="230" Body="&lt;p&gt;I'm trying to upgrade some code from 7.2 to 8.2 and there are some custom mail actions in the codebase. I've tracked down most of the other stuff to its equivalent in the new namespaces, but I'm having difficulty finding the equivalent of the old &lt;code&gt;Sitecore.Form.Submit.EmailSender&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody know which namespace this is in now?&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-03-30T15:27:40.343" Title="WFFM upgrade - Where is the EmailSender class in 8.2?" Tags="|wffm|upgrade|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5168" PostTypeId="1" AcceptedAnswerId="5174" CreationDate="2017-03-30T14:15:01.320" Score="6" ViewCount="2677" Body="&lt;p&gt;I need an assist.  I'm running into a situation where code that was written for a custom rule is not firing.  I have put breakpoints in Visual Studio and the breakpoints are never hit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My solution is an Sitecore MVC website using Sitecore version 8.1 Update 3.  The Rule is configured through Presentation Details of a rendering component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The custom rule code was a WhenCondition after getting feed back from Mark Cassidy, it's been changed to a StringOperatorCondition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have done the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created a Rule Folder item and added it the the Rule item's Tags under Default&lt;/li&gt;&#xA;&lt;li&gt;Created Element Folder   &#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created Rule Condition item&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Data section Text field&lt;/strong&gt; there is this text: &lt;br/&gt;&lt;code&gt;where the cookie [operatorid,StringOperator,,compares to] [Value,,,specific value]&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Script section Type field&lt;/strong&gt; I have put the &lt;code&gt;MyNamespace.Class, Assembly Name&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Added Rule to Tags in the Default Tags Definition&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am looking for debugging suggestions.  On the surface this seems like I haven't configured something correctly.  I can't see what the is.  In the Rules Cookbook for 7.1+, there is mention that the rule should be added to the Standard Values of a template.  Is this really needed in Sitecore 8.1 Update 3?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;***UPDATE: I have double checked my configuration against &lt;a href=&quot;http://reyrahadian.com/2016/07/03/sitecore-8-create-a-custom-personalization-rule/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8 – Create a custom personalization rule&lt;/a&gt;.  I changed my code as @MarkCassidy suggested. (I am in no way saying what Mark suggested is any reason why the logic is not being called.  What he suggests seems like the right approach.)  I am still scratching my head as to what I'm missing. I also changed the Text in my Rules Condition.  The value is updated above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;**SOLUTION: The solution ultimately was the I had the wrong xdb setting enabled.  I had xdb.enabled, and xdb.tracking.enabled = false, so the rules weren't firing.  Mark pointed that out in the solution comments below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the &lt;strong&gt;refactored&lt;/strong&gt; custom rule code (After this refactor the rule is still not firing):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ZipCookieCondition&amp;lt;T&amp;gt; : StringOperatorCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;    public string Value { get; set; }  //StateName&#xA;&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        Assert.ArgumentNotNull(ruleContext, &quot;ruleContext&quot;);                        &#xA;&#xA;        var locationCookie = HttpContext.Current.Request.Cookies[&quot;LocationCookie&quot;];&#xA;        if (locationCookie == null)&#xA;        {&#xA;            return false;&#xA;        }&#xA;        //Cookie is Http Encoded because front-end uses Cookie.js and is&#xA;        //storing a JSON object as the value&#xA;        var cookieVal = string.IsNullOrEmpty(locationCookie.Values[&quot;state&quot;])&#xA;            ? DecodeCookieValue(locationCookie)&#xA;            : locationCookie.Values[&quot;state&quot;];&#xA;&#xA;        if(!string.IsNullOrEmpty(cookieVal))&#xA;            return Compare(cookieVal.ToLowerInvariant(), Value.ToLowerInvariant());&#xA;&#xA;             return false;&#xA;    }&#xA;&#xA;    private string DecodeCookieValue(HttpCookie locationCookie)&#xA;    {&#xA;        var cookieValue = HttpUtility.UrlDecode(locationCookie.Value);&#xA;        var locationObj = JsonConvert.DeserializeObject&amp;lt;LocationCookie&amp;gt;(cookieValue);&#xA;        if (locationObj != null)&#xA;        {&#xA;           return locationObj.State;&#xA;        }&#xA;&#xA;        return string.Empty;&#xA;    }&#xA;}&#xA;&#xA;internal class LocationCookie&#xA;{&#xA;    public string State { get; set; }&#xA;    public string ZipCode { get; set; }        &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1400" LastEditorUserId="1400" LastEditDate="2017-03-31T01:40:26.913" LastActivityDate="2017-03-31T01:40:26.913" Title="WhenCondition&lt;T&gt; Rule custom code not firing" Tags="|rules-engine|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="5169" PostTypeId="1" CreationDate="2017-03-30T14:35:18.583" Score="5" ViewCount="501" Body="&lt;p&gt;We've written and tested two-way, Contact/Lead integration between Sitecore and a third-party CRM and it generally works as expected. The problem is how to deal with updates that come in into Sitecore via integration for a contact that is logged in and has an open session. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the session ends, the integration update is overridden. The question is, how does Sitecore, or other third-parties for that matter, deal with Contact updates coming in via INT this conflict. We've researched this without as much as uncertified Sitecore developers can (old/badly-written blog articles) and didn't find much.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There ARE integration modules for other CRM apps, so how do they make it work?  We have a theory but want to validate it before moving forward.  Any ideas?? &lt;/p&gt;&#xA;" OwnerUserId="1751" LastActivityDate="2017-03-30T16:43:17.430" Title="Contact/Lead Integration: Real Time vs Session End Update Conflict" Tags="|integration|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5170" PostTypeId="2" ParentId="5147" CreationDate="2017-03-30T14:41:01.097" Score="8" Body="&lt;p&gt;The label is indeed for unlisted articles (articles that are accessible, but only if you have the link). We sometimes use it for soft launches if it doesn't matter too much that the info is discovered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That particular article shouldn't be hidden; PSS (Product Support Services) are fixing that now. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fact that logged-in users can see it and anonymous users can't is a bug and has been reported.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you for raising it! &lt;/p&gt;&#xA;" OwnerUserId="340" LastActivityDate="2017-03-30T14:41:01.097" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5171" PostTypeId="2" ParentId="5169" CreationDate="2017-03-30T15:10:46.457" Score="3" Body="&lt;p&gt;Have you tried Sitecore's &lt;a href=&quot;https://dev.sitecore.net/Downloads/Data_Exchange_Framework/1x/Data_Exchange_Framework_1_3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Data Exchange Framework&lt;/a&gt; module? It is designed for integrating with third-party tools and the optional &lt;a href=&quot;https://dev.sitecore.net/~/media/AE943BF133C84C4CB5451F7F3045B480.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Provider&lt;/a&gt; includes out of the box support for syncing/updating xDB contacts with/to/from a third-party system. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.3/components/sitecore/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation for the Sitecore Provider&lt;/a&gt; covers many of the components that are included out of the box for syncing data with Sitecore, though I believe that there are more included and available to you once you have the module installed.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Overview of DXF&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore's Data Exchange Framework is essentially a two-way data transfer tool that is designed to be highly versatile, extensible, consistent in structure and fully scalable. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Put more simply, it's an integration tool that isn't &lt;em&gt;just&lt;/em&gt; an integration tool: it's so much more. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In their Documentation, Sitecore describes DXF by stating that the:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Data Exchange Framework is designed to facilitate the transfer of data&#xA;  between two systems.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The system being read from is called the source system. The system&#xA;  being written to is called the target system.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;What Can DXF Do?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Here is a high-level of some of the things that DXF can do:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore to &lt;code&gt;X&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Integrate Sitecore with an external (even third-party) system/source &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CRM&lt;/li&gt;&#xA;&lt;li&gt;File (CSV, Excel, text, ... if you can parse it then you can use it)&lt;/li&gt;&#xA;&lt;li&gt;Other third-party services&lt;/li&gt;&#xA;&lt;li&gt;Other Sitecore system &lt;/li&gt;&#xA;&lt;li&gt;And more &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Import/Export/Migrate/Update/Sync/Delete/Create Sitecore data via Integration with an external system/source&lt;/li&gt;&#xA;&lt;li&gt;Import/Export/Migrate/Update/Sync/Delete/Create xDB data via Integration with an external system/source&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;X&lt;/code&gt; to &lt;code&gt;Y&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create an integration between two non-Sitecore systems/sources&lt;/li&gt;&#xA;&lt;li&gt;Sitecore doesn't even need to be the source or target of the data; DXF can be used to create integrations that have nothing to do with Sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Dynamics CRM&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;DXF is used for the &lt;a href=&quot;https://doc.sitecore.net/crm_connect/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dynamics CRM Connect&lt;/a&gt; module, which serves as Sitecore's CRM Connect suite for integrating CRM systems with Sitecore XP&lt;/li&gt;&#xA;&lt;li&gt;The Dynamics CRM Connect module includes several tools that provide out of the box support for integrating with a CRM&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In their Documentation, Sitecore provides the following table that identifies three examples of what DXF can do:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xn2Ix.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xn2Ix.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Scaling DXF&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;DXF is fully scalable, and can be run outside of Sitecore to reduce load via the &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.3/remote-sdk/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Remote SDK&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scaling DXF by running it remotely is similar to splitting a Sitecore instance by role (e.g. CM, CD, Reporting, Processing), except that &lt;em&gt;no additional Sitecore licensing is required!&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How DXF Works&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Overview of Key Components&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The Data Exchange Framework essentially runs by mapping data between two &lt;em&gt;endpoints&lt;/em&gt; as part of an execution process called a &lt;em&gt;pipeline batch&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Pipeline batches&lt;/em&gt; essentially define zero or more DXF &lt;em&gt;pipelines&lt;/em&gt; that should execute in the defined sequence when the batch is run. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;DXF &lt;em&gt;pipelines&lt;/em&gt; are different from Sitecore pipelines, and are defined in Sitecore. Each pipeline contains zero or more &lt;em&gt;pipeline steps&lt;/em&gt; that are somewhat analogous to a typical Sitecore pipeline's processors. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each &lt;em&gt;pipeline step&lt;/em&gt; executes a specific piece of logic for its pipeline. For example, a pipeline named &quot;Read Foos data from Bar CRM&quot; may have the high-level goal of reading &quot;Foo&quot; data from a CRM named &quot;Bar&quot;. The first pipeline step in the pipeline may be &quot;Read Foos from REST API&quot;, referencing an endpoint item named &quot;Bar CRM REST API Endpoint Settings&quot;. The endpoint item would define the settings for connecting to the Bar CRM's REST API. The second pipeline step may be &quot;Iterate Foo data and Run Sync Pipeline&quot;, which has the job of looping through all of the retrieved &quot;Foo&quot; data and running a second pipeline for synchronization for each &quot;Foo&quot; that was read. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Real-World Example (Open Source)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;For Sitecore Hackathon (and we have continued development since), my team members (Pete Navarra and Hetal Dave) and I created an Azure Provider module for DXF named &lt;a href=&quot;https://github.com/theinjectables/PaaSPort&quot; rel=&quot;nofollow noreferrer&quot;&gt;PaaSPort&lt;/a&gt; that provides everything necessary to rapidly configure Azure resource visualization inside of the Sitecore Content Editor. We also have &lt;a href=&quot;https://theinjectables.github.io/PaaSPort&quot; rel=&quot;nofollow noreferrer&quot;&gt;API reference documentation&lt;/a&gt;, including descriptions of everything that plugs into DXF and more.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Note:&lt;/strong&gt; I do not write this section to self-promote, but rather to give you a glimpse into a real-world use-case of DXF that has already been implemented and that you can use as an example to help learn about DXF. If you have any questions or issues, feel free to email the team at &lt;strong&gt;sitecore.theinjectables@gmail.com&lt;/strong&gt;.&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The PaaSPort module's Azure provider is designed to retrieve data from Azure services and the included demo creates Sitecore items to represent the various resources (Resource Groups, SQL Servers, Storage Accounts, CDN Profiles, etc.) as Sitecore items. Of course, Because PaaSPort is a module for DXF, Sitecore doesn't &lt;em&gt;have&lt;/em&gt; to be the destination for the data. The PaaSPort module's Azure provider could be used to export this information to a file, send it to a third-party system, and much more. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the following screenshot, you can see the endpoints, the pipeline batch, and the pipelines with their pipeline steps, all of which are used to retrieve Azure &lt;code&gt;Resource Group&lt;/code&gt; data from the new Azure client services and create items to represent that data in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FubLq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FubLq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional analysis of the items in the screenshot:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Endpoints&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &quot;Get Resource Groups&quot; endpoint defines all of the settings for connecting to Azure via the Azure client services.&lt;/li&gt;&#xA;&lt;li&gt;The &quot;Sitecore Database&quot; endpoint is included with the Sitecore Provider out of the box, and is used to &quot;send&quot; data to Sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Pipeline Batches&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &quot;Azure Resource Group to Sitecore Sync Batch&quot; pipeline batch defines all of the pipelines that should be run to bring the Resource Group data into Sitecore&lt;/li&gt;&#xA;&lt;li&gt;The displayed batch only points to the &quot;Retrieve Resource Groups from Azure&quot; pipeline, though other pipelines could be added, like in the scenario described by the below which describes another valid configuration of a pipeline batch:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rename the Batch to &quot;Azure to Sitecore Sync Batch&quot; &lt;/li&gt;&#xA;&lt;li&gt;Add additional Pipelines to retrieve Azure SQL Servers&lt;/li&gt;&#xA;&lt;li&gt;Add additional Pipelines to retrieve Azure Storage Accounts&lt;/li&gt;&#xA;&lt;li&gt;Set the Batch to run each of the following pipelines, in order&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Retrieve Resource Groups from Azure&lt;/li&gt;&#xA;&lt;li&gt;Retrieve SQL Servers from Azure&lt;/li&gt;&#xA;&lt;li&gt;Retrieve Storage Accounts from Azure&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Pipelines&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &quot;Iterate Results from Azure and Run Pipeline&quot; step loops through the read data objects and calls the &quot;Azure Resource Group to Sitecore Sync&quot; pipeline for each object that was read&lt;/li&gt;&#xA;&lt;li&gt;The &quot;Azure Resource Group to Sitecore Sync&quot; pipeline is where the mapping and saving magic happens&lt;/li&gt;&#xA;&lt;li&gt;Note that in each pipeline, each pipeline step has a single task (the &quot;Iterate Results...&quot; pipeline also has a single task, though slightly harder to see at first: run pipeline for each object that was read)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;The &quot;Beyond&quot; Section&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There is much more to DXF than what is included in this post. The &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.3/&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation for DXF&lt;/a&gt; is pretty excellent and the &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.3/getting-started/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Getting Started&lt;/a&gt; tutorial is thorough, easy to follow, and detailed/specific enough that I would even recommend it for developers new to working with Sitecore. It does take several hours, but as you run through it, you will learn all of the concepts and components necessary to understand DXF and you will have prepared yourself for expanding your implementation to support the integration that you're looking for.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Getting Started with DXF&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;While a bit lengthy, the &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.3/getting-started/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Getting Started&lt;/a&gt; guide is pretty straightforward to follow, and takes you end-to-end through creating your own custom provider to begin syncing data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have completed your run through the guide (which also gets you started using the Sitecore Provider), you can start using the Sitecore Provider to create the integration for your contacts. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Provided and Supported by Sitecore at no Additional Cost&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;One of the great things about the Data Exchange Framework module is that it doesn't incur any additional licensing costs, and since it is provided by Sitecore it is also supported by Sitecore under your existing Sitecore Support plan. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-03-30T16:43:17.430" LastActivityDate="2017-03-30T16:43:17.430" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5172" PostTypeId="2" ParentId="5167" CreationDate="2017-03-30T15:27:40.343" Score="3" Body="&lt;p&gt;The WFFM module was been significantly refactored in Sitecore 8.1+ and &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1672/injecting-dependencies-into-a-custom-wffm-save-action/1680#1680&quot;&gt;now allows for configuration driven dependency injection&lt;/a&gt;. The old Send Email Save Action has now been changed to &lt;code&gt;Sitecore.WFFM.Actions.SaveActions.SendMessage&lt;/code&gt; in &lt;strong&gt;Sitecore.WFFM.Actions.dll&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Factory Object Name&lt;/code&gt; field in the &lt;code&gt;Send Email Message&lt;/code&gt; item is now set to the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FNixe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FNixe.png&quot; alt=&quot;Send Email Message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The setting points to a configuration node, which is defined in &lt;strong&gt;Sitecore.WFFM.Dependencies.config&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sendMessage type=&quot;Sitecore.WFFM.Actions.SaveActions.SendMessage, Sitecore.WFFM.Actions&quot;&amp;gt;&#xA;  &amp;lt;param name=&quot;settings&quot; ref=&quot;/sitecore/wffm/settings&quot; /&amp;gt;&#xA;  &amp;lt;param name=&quot;mailSender&quot; ref=&quot;/sitecore/wffm/mailSender&quot; /&amp;gt;&#xA;&amp;lt;/sendMessage&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Save Action is carried out by the class specified in the type attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the constructor and method signatures have also changed since earlier versions so you will need to refactor your code but the change is not significant.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-03-30T15:27:40.343" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5173" PostTypeId="2" ParentId="5161" CreationDate="2017-03-30T15:35:29.060" Score="3" Body="&lt;h2&gt;No&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you mean, is there an OOTB solution for this, the answer is unfortunately no.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Alternatives&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The question has come up before. I'm sure you found this as well. The solutions listed here are pretty dated and I'm hoping someone has a more current recommendation. However this might give you some ideas.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/16570890/sitecore-droplink-for-user-roles&quot;&gt;https://stackoverflow.com/questions/16570890/sitecore-droplink-for-user-roles&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;All solutions listed here involve some form of creating your own FieldType and adding it to Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;My suggestion&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you're going down the route of a custom field, my suggestion would be to base your code on the UnboundDropList custom field. I use this or variations of this on most projects I get involved in. Full reference source here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/getfishtank/Sitecore-UnboundDroplist/blob/master/src/Fishtank.SharedSource.CustomFields/Fields/UnboundDroplist.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/getfishtank/Sitecore-UnboundDroplist/blob/master/src/Fishtank.SharedSource.CustomFields/Fields/UnboundDroplist.cs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To achieve what you want, you would alter line 36:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (string s in Source.Split('|'))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach(Role r in RoleManager.GetAllRoles())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And remove this condition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (String.IsNullOrEmpty(Source))&#xA;{&#xA;    error = &quot;No source list specified for field&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And that should be pretty much all you need. I didn't have time to compile, set up and test unfortunately.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-03-30T15:35:29.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5174" PostTypeId="2" ParentId="5168" CreationDate="2017-03-30T15:48:46.420" Score="4" Body="&lt;p&gt;What you're building isn't really a &lt;code&gt;WhenCondition&amp;lt;&amp;gt;&lt;/code&gt;. It's a &lt;code&gt;StringOperatorCondition&amp;lt;&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As it stands right now, your code pays no attention to the &lt;code&gt;operator&lt;/code&gt;which would be configurable in the rule via your &lt;code&gt;definition string&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;where the cookie [operatorid,StringOperator,,compares to] [value,,,value]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While you could extend your class for this, it would be much easier for you to base your code on a different base class. I'll do a bit of it here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CookieValueCondition&amp;lt;T&amp;gt; : StringOperatorCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;    public string Value { get; set; }&#xA;&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        return Compare(GetCookieValue(&quot;LocationCookie&quot;), Value);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;GetCookieValue()&lt;/code&gt; being your cookie functionality from above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also suggest you expand your rule to also take the Cookie Name as a variable parameter, but that's perhaps a story for a different day :-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I presented at SUGDE recently, where I presented this and many other possibilities with the Rules Engine. The repo is publically available here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/cassidydotdk/sugde&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/cassidydotdk/sugde&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;edited to add&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I should add; to make your code work more or less as-is, change your &lt;code&gt;definition text&lt;/code&gt; to this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;where the Location Cookie is [value,,,value]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This would make it a pure &lt;code&gt;WhenCondition&lt;/code&gt; and should work as-is. Right now, Sitecore is trying to find your referenced &lt;code&gt;operatorid&lt;/code&gt; property and failing, which is likely why your code does not execute at all.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-03-30T15:58:46.203" LastActivityDate="2017-03-30T15:58:46.203" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5176" PostTypeId="1" CreationDate="2017-03-30T19:59:34.593" Score="2" ViewCount="1333" Body="&lt;p&gt;Does any one has experience implementing hybrid version of Sitecore MVC and webforms?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore does support the hybrid state but at a page level, meaning either the page has to be on Sitecore MVC layout or ASPX layout, but my requirement is to have a MVC rendering on ASPX layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tried to implement this approach which is available on &lt;a href=&quot;http://www.hhog.com/blog/sitecore-mvc-components-webforms-pages/#&quot; rel=&quot;nofollow noreferrer&quot;&gt;web&lt;/a&gt;, it does help render the MVC rendering on the page but as soon as a controller action is invoked the partial view rendering shows up without the parent layout as shown in the below snapshot.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/On8Zg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/On8Zg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Due to the above issue, we have decided to have a full page based on MVC layout but it would be good to know if anyone has any experience of such thing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards, Pratik Thakker&lt;/p&gt;&#xA;" OwnerUserId="1752" LastEditorUserId="1752" LastEditDate="2017-03-30T20:11:45.093" LastActivityDate="2017-03-31T08:18:00.183" Title="Rendering sitecore MVC rendering on an ASPX layout" Tags="|mvc|mvc-forms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5177" PostTypeId="2" ParentId="5176" CreationDate="2017-03-30T20:42:32.897" Score="2" Body="&lt;p&gt;Have a read of this blog post that explains how to use MVC layouts on Webforms pages: &lt;a href=&quot;https://blog.horizontalintegration.com/2015/09/15/mixing-sublayout-with-rendering-webforms-with-mvc-request/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.horizontalintegration.com/2015/09/15/mixing-sublayout-with-rendering-webforms-with-mvc-request/&lt;/a&gt;. It references a couple of examples such as the one you mentioned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution consists of a Extension Method for the Sublayout:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class SubLayoutExtension&#xA;    {&#xA;        public static string RenderSublayoutHTML(this Sublayout subLayout)&#xA;        {&#xA;            string retHTML = string.Empty;&#xA;&#xA;            var page = new DummyPage();&#xA;&#xA;            if (HttpContext.Current.Items.Contains(&quot;ismvc&quot;))&#xA;            {&#xA;                var userControl = page.LoadControl(subLayout.Path);&#xA;                subLayout.Controls.Add(userControl);&#xA;&#xA;            }&#xA;            page.Controls.Add(subLayout);&#xA;            retHTML = ExecutePage(page);&#xA;&#xA;&#xA;            return retHTML;&#xA;        }&#xA;        private static string ExecutePage(DummyPage page)&#xA;        {&#xA;            page.ProcessRequest(HttpContext.Current);&#xA;            return page.Result;&#xA;        }&#xA;    }  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then call it like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var item = e.Item.DataItem as Item;&#xA;                if (item == null) return;&#xA;&#xA;                var slideImage = e.Item.FindControl(&quot;slideImage&quot;) as Literal;&#xA;                if (slideImage == null) return;&#xA;&#xA;                Sublayout slideSublayout = new Sublayout();&#xA;                slideSublayout.DataSource = item.Paths.FullPath;&#xA;&#xA;                if (item.TemplateID.Equals(new ID(ImageSlideItem.TemplateId)))&#xA;                {&#xA;                    slideSublayout.Path = &quot;~/Common/Sublayouts/PageElements/Image/Image.ascx&quot;;&#xA;                }&#xA;                else if (item.TemplateID.Equals(new ID(VideoSlideItem.TemplateId)))&#xA;                {&#xA;                    slideSublayout.Path = &quot;~/Common/Sublayouts/PageElements/Video/HostedVideo.ascx&quot;;&#xA;                }&#xA;                else if (item.TemplateID.Equals(new ID(YouTubeVideoSlideItem.TemplateId)))&#xA;                {&#xA;                    slideSublayout.Path = &quot;~/Common/Sublayouts/PageElements/Video/YouTubeVideo.ascx&quot;;&#xA;                }&#xA;                slideImage.Text = slideSublayout.RenderSublayoutHTML();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As referenced in the article this is another way of doing it, using MVC pages and views and rendering user controls within them instead: &lt;a href=&quot;http://bisstalk.blogspot.co.uk/2014/10/sitecore-sublayouts-rendering-on.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://bisstalk.blogspot.co.uk/2014/10/sitecore-sublayouts-rendering-on.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this is useful.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-03-30T20:42:32.897" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5178" PostTypeId="1" AcceptedAnswerId="5180" CreationDate="2017-03-31T04:44:58.147" Score="1" ViewCount="256" Body="&lt;p&gt;Is there any tool or any Sitecore module which is smart enough to extract all content from Sitecore CMS in pdf or any file so that content author or marketing team can review or audit before it is release to production?&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="312" LastEditDate="2017-05-30T15:21:09.410" LastActivityDate="2017-05-30T15:21:09.410" Title="Content review and scan" Tags="|content-management|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5179" PostTypeId="2" ParentId="5178" CreationDate="2017-03-31T05:08:40.097" Score="1" Body="&lt;p&gt;Sitecore has a better way to audit content before going to live site.You don't have to convert your pages into PDF.  You can use sitecore workflow for reviewing content. Editor add content to your site and after they submit the page. One reviewer approve the content or reject it.  Reviewer can vizualize pages in the same way like a visitor.  If reviewer approve a page item goes to final step of workflow and can be published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more about workflows here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/workflows_and_the_workbox&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/workflows_and_the_workbox&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to review an item : &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/review_an_item_in_the_workbox&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/review_an_item_in_the_workbox&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to move an item to other worflow state: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/move_an_item_to_the_next_workflow_state&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/move_an_item_to_the_next_workflow_state&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-03-31T05:43:33.050" LastActivityDate="2017-03-31T05:43:33.050" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5180" PostTypeId="2" ParentId="5178" CreationDate="2017-03-31T05:44:51.857" Score="3" Body="&lt;p&gt;For the non-CMS users i.e. who do not have access to sitecore, we can extract content through Powershell extenstion Reports as shown:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Powershell Reports:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tgT8O.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tgT8O.png&quot; alt=&quot;Powershell Reports&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Extract Options:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LUugr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LUugr.png&quot; alt=&quot;Extract Options&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;please note that we have many audit reports like&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Configuration Audit&lt;/li&gt;&#xA;&lt;li&gt;Content Audit   &lt;/li&gt;&#xA;&lt;li&gt;Media Audit&lt;/li&gt;&#xA;&lt;li&gt;Solution Audit&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;we are frequently using Broken links audit which is very useful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can give a try :)&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-03-31T05:44:51.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5182" PostTypeId="2" ParentId="5084" CreationDate="2017-03-31T07:23:54.277" Score="2" Body="&lt;p&gt;If httpRequestBegin pipeline is base place where you are resolving the item, you can also re-patch the configuration and move GetFromOldContext to the first position&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mvc.getPageItem&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.GetPageItem.GetFromOldContext, Sitecore.Mvc&quot;&amp;gt;&#xA;    &amp;lt;patch:delete /&amp;gt;&#xA;  &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Mvc.Pipelines.Response.GetPageItem.SetLanguage, Sitecore.Mvc']&quot; type=&quot;Sitecore.Mvc.Pipelines.Response.GetPageItem.GetFromOldContext, Sitecore.Mvc&quot;/&amp;gt;&#xA;&amp;lt;/mvc.getPageItem&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1750" LastActivityDate="2017-03-31T07:23:54.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5185" PostTypeId="1" CreationDate="2017-03-31T12:53:59.887" Score="9" ViewCount="1144" Body="&lt;p&gt;Anyone have an infrastructure diagram or documentation with the ports used in a multi-server Sitecore environment?  We want to start with everything locked down and only open ports being used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Modules/Services being used are:&#xA;-WFFM&#xA;-EXM&#xA;-SQL Server&#xA;-GatherContent&#xA;-Coveo Cloud&#xA;-Sitecore AD Module&#xA;-Leveraging mLab for hosted MongoDB&lt;/p&gt;&#xA;" OwnerUserId="191" LastActivityDate="2017-07-10T17:21:57.167" Title="What ports are needed to be open in a Sitecore environment?" Tags="|infrastructure|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5186" PostTypeId="1" CreationDate="2017-03-31T13:55:41.520" Score="5" ViewCount="834" Body="&lt;p&gt;Is there a way to check if a specific user role has been granted read permission to a specific item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried using &lt;code&gt;item.Security.CanRead(role)&lt;/code&gt; but to no success (this returns &lt;code&gt;true&lt;/code&gt; when I'd expect &lt;code&gt;false&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;May have been a bit premature with this, I seem to be able to achieve it with;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach(var role in roles)&#xA;{&#xA;    var accessRules = item.Security.GetAccessRules();&#xA;    foreach (var accessRule in accessRules)&#xA;    {&#xA;        if (accessRule.Account == role &amp;amp;&amp;amp; accessRule.AccessRight == Sitecore.Security.AccessControl.AccessRight.ItemRead)&#xA;        {&#xA;            return true;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but any more succient methods would be good!&lt;/p&gt;&#xA;" OwnerUserId="1572" LastEditorUserId="277" LastEditDate="2017-03-31T15:01:04.560" LastActivityDate="2017-03-31T21:14:10.127" Title="Check if a specific role has read access to an item" Tags="|security|permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5188" PostTypeId="2" ParentId="5186" CreationDate="2017-03-31T14:10:33.813" Score="8" Body="&lt;p&gt;The code you pasted above is incorrect. It doesn't check roles inheritance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;item.Security.CanRead(role)&lt;/code&gt; method is exactly what you're looking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it returns you &lt;code&gt;true&lt;/code&gt; when you expect it to return &lt;code&gt;false&lt;/code&gt;, most probably you should check:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;AccessViewer&lt;/code&gt; application and see why that role has &lt;code&gt;read&lt;/code&gt; access to the item&lt;/li&gt;&#xA;&lt;li&gt;role inheritance - maybe one of the base roles has &lt;code&gt;read&lt;/code&gt; access granted&lt;/li&gt;&#xA;&lt;li&gt;check if your code is not used in &lt;code&gt;SecurityDisabler&lt;/code&gt; context&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastEditorUserId="605" LastEditDate="2017-03-31T21:14:10.127" LastActivityDate="2017-03-31T21:14:10.127" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5189" PostTypeId="2" ParentId="5185" CreationDate="2017-03-31T14:22:24.073" Score="10" Body="&lt;p&gt;I don't have an infrastructure diagram, but here is some highlights of the ports you will need to open to establish the communication between Sitecore and the modules/services.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/save_actions/specify_different_smtp_settings_for_the_send_email_message_save_action&quot; rel=&quot;noreferrer&quot;&gt;WFFM&lt;/a&gt; &amp;amp; &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/setting_up_exm/configuration/the_exm_configuration_settings&quot; rel=&quot;noreferrer&quot;&gt;EXM&lt;/a&gt;&lt;/strong&gt;: The Sitecore will use a SMTP server to send emails, and will depends how the email server is set. &lt;strong&gt;The standard port for SMTP is 587&lt;/strong&gt;. In this case your SMTP server needs to allow connections on &lt;strong&gt;TCP/587&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;SQL Server&lt;/strong&gt;: &lt;strong&gt;The standard port for SQL Server is 1433&lt;/strong&gt; and you will need a rule at the SQL Server to allow connections on &lt;strong&gt;TCP/1433&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://onlinehelp.coveo.com/en/cloud/coveo_cloud_v1_and_v2_platform_ip_addresses_to_whitelist.htm&quot; rel=&quot;noreferrer&quot;&gt;Coveo Cloud&lt;/a&gt;&lt;/strong&gt;: Coveo Cloud is already set to accept connections on its ports and if you are blocking outbound connections, then you'll need to allow outbound connections to the follow IPs:&lt;/p&gt;&#xA;&lt;p&gt;. 54.84.109.253&#xA;. 54.84.122.250&#xA;. 54.84.126.201&#xA;. 54.84.126.206&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;strong&gt;BONUS - Local Coveo&lt;/strong&gt; If you are interested in know the ports used by the Coveo Platform, please &lt;a href=&quot;https://onlinehelp.coveo.com/en/ces/7.0/administrator/ports_used_by_the_coveo_platform.htm&quot; rel=&quot;noreferrer&quot;&gt;click here&lt;/a&gt; for more details. Here are the ports: TCP/52800; TCP/52810; TCP/8081; TCP/8080; TCP/1980; TCP/56000; TCP/5682; TCP/52580; TCP/15672&lt;/p&gt;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Active_Directory/1_3/Active_Directory_1_3.aspx&quot; rel=&quot;noreferrer&quot;&gt;AD Module&lt;/a&gt;&lt;/strong&gt;: &lt;strong&gt;Active Directory listens on port 389&lt;/strong&gt; and for &lt;strong&gt;Active Directory Profile Provider port 445&lt;/strong&gt;, so your AD needs to accept connections on these ports.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;http://docs.mlab.com/security/#custom-firewalls&quot; rel=&quot;noreferrer&quot;&gt;mLAB&lt;/a&gt;&lt;/strong&gt;: First of all you'll need to find your &lt;a href=&quot;http://docs.mlab.com/connecting/#connect-string&quot; rel=&quot;noreferrer&quot;&gt;database connection info&lt;/a&gt; by following the steps&#xA;. Log in to the mLab management portal&#xA;. Navigate to the MongoDB deployment that you wish to connect to&#xA;. At the top of the screen, you will see a box with the connection information&#xA;&lt;a href=&quot;https://i.stack.imgur.com/A9k0r.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A9k0r.png&quot; alt=&quot;mydb&quot; /&gt;&lt;/a&gt;&#xA;In the picture above, notice that the server address is &lt;strong&gt;ds012345.mlab.com&lt;/strong&gt; and the port used is &lt;strong&gt;56789&lt;/strong&gt;, which means every mLAB setup is unique and hostname and port are different from deployment to deployment. Using the picture as an example, you will need to allow connections to &lt;strong&gt;the port 56789&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;strong&gt;BONUS - mLAB&lt;/strong&gt; &lt;a href=&quot;http://docs.mlab.com/security/#custom-firewalls&quot; rel=&quot;noreferrer&quot;&gt;Dedicated plans offer the ability for you to define custom firewall rules&lt;/a&gt; so that your database only allows network access from your application infrastructure. By doing it, you will have the option to add the Sitecore box public IP, and you guarantee that ONLY that Sitecore box will be able to access your mLAB MongoDB deployment.&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-07-10T17:21:57.167" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5190" PostTypeId="1" AcceptedAnswerId="5199" CreationDate="2017-03-31T15:29:56.100" Score="4" ViewCount="706" Body="&lt;p&gt;Prior to the SPS (Sitecore Publishing Service), I was using the PublishManager in code to automatically publish data coming from our backend system.  I am not only publishing the item that are created/updated but one of the ancestors as well.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need the ancestor to publish, even though there are no changes to that item, so that the index is updated.  The index contains fields based on the created/updated item.  Therefore, I turned off SmartPublish and PublishSubItems. (deep and compareRevisions parameters)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After installing the SPS, the created/updated item publishes ok using the PublishingManager however the SPS does not publish the ancestor (thus not updating the index).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to force a &quot;re-publish&quot; in code with the new SPS?&lt;/p&gt;&#xA;" OwnerUserId="1756" LastEditorUserId="237" LastEditDate="2017-03-31T19:39:21.073" LastActivityDate="2017-03-31T19:39:21.073" Title="Sitecore Publishing Service Republish" Tags="|publishing|publishing-service|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5191" PostTypeId="1" AcceptedAnswerId="5192" CreationDate="2017-03-31T16:37:12.217" Score="0" ViewCount="284" Body="&lt;p&gt;I've got a set of interfaces doing inheritance as follows (trimmed for essentials):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IGlassBase&#xA;&#xA;public interface IMetaData : IGlassBase&#xA;&#xA;public interface IBaseHubPage : IMetaData&#xA;&#xA;public interface IHomePage : IBaseHubPage&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in the mapping classes, I have the following (again trimmed for essentials):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GlassBaseMap : SitecoreGlassMap&amp;lt;IGlassBase&amp;gt; {&#xA;  public override void Configure() {&#xA;    Map(config =&amp;gt; ... }&#xA;  }&#xA;&#xA;public class MetaDataMap : SitecoreGlassMap&amp;lt;IMetaData&amp;gt; {&#xA;  public override void Configure() {&#xA;    Map(config =&amp;gt; { ImportMap&amp;lt;IGlassBase&amp;gt;(); }&#xA;  }&#xA;&#xA;public class BaseHubPageMap : SitecoreGlassMap&amp;lt;IBaseHubPage&amp;gt; {&#xA;  public override void Configure() {&#xA;    Map(config =&amp;gt; { ImportMap&amp;lt;IMetaData&amp;gt;(); }&#xA;  }&#xA;&#xA;public class HomePageMap : SitecoreGlassMap&amp;lt;IHomePage&amp;gt; {&#xA;  public override void Configure() {&#xA;    Map(config =&amp;gt; { ImportMap&amp;lt;BaseHubPageMap&amp;gt;(); }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And for importing the maps in the GlassMapperScCustom file, I have this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void AddMaps(IConfigFactory&amp;lt;IGlassMap&amp;gt; mapsConfigFactory) {&#xA;  string binPath = Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, &quot;bin&quot;);&#xA;&#xA;  foreach (string dll in Directory.GetFiles(binPath, &quot;Client*.dll&quot;, SearchOption.AllDirectories)) {&#xA;    try {&#xA;      Assembly loadedAssembly = Assembly.LoadFile(dll);&#xA;      Type glassmapType = typeof(IGlassMap);&#xA;      var maps = loadedAssembly.GetTypes().Where(x =&amp;gt; glassmapType.IsAssignableFrom(x));&#xA;&#xA;      if (maps != null) {&#xA;        foreach (var map in maps) {&#xA;          mapsConfigFactory.Add(() =&amp;gt; Activator.CreateInstance(map) as IGlassMap);&#xA;        }&#xA;      }&#xA;    } catch (FileLoadException loadEx) {&#xA;    } // The Assembly has already been loaded.&#xA;    catch (BadImageFormatException imgEx) {&#xA;    } // If exception is thrown, the file is not an assembly.&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Everything works fine if I keep the HomePageMap out of the mix, but when I add it back in, I get this error: &lt;code&gt;Could not find the configuration for type Client.Website.Models.Configuration.BaseHubPageMap&lt;/code&gt;. Is there an inheritance limit I'm hitting to prevent this from working right, or some other import or configuration process I need to do?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-03-31T18:19:11.403" Title="Glass Fluent Config - Could not find the configuration for type" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5192" PostTypeId="2" ParentId="5191" CreationDate="2017-03-31T17:44:50.150" Score="2" Body="&lt;p&gt;For HomePageMap, your ImportMap call is importing the map (BaseHubPageMap) rather than the interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So change that map to be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class HomePageMap : SitecoreGlassMap&amp;lt;IHomePage&amp;gt; {&#xA;  public override void Configure() {&#xA;    Map(config =&amp;gt; { ImportMap&amp;lt;IBaseHubPage&amp;gt;(); }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="226" LastEditorUserId="226" LastEditDate="2017-03-31T18:19:11.403" LastActivityDate="2017-03-31T18:19:11.403" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5193" PostTypeId="1" AcceptedAnswerId="5194" CreationDate="2017-03-31T18:14:19.640" Score="4" ViewCount="1124" Body="&lt;p&gt;Consider this scenario: a user has two images in a Sitecore media folder with the same name. They go into a content item (page) and into a rich text field to fill out the body of the page. They click Insert Sitecore Media and select one of the two images (let's call it Media Item A). They save, the HTML is updated and is referencing the media hash / ID of Media Item A. They publish Media Item A and the content item. On the site, they browse to the page and see Media Item &lt;strong&gt;B&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is an issue that was just brought to my attention. I thought it was strange that they had two images with the same name, so I renamed Media Item B to something else and published to web. Sure enough, this fixed the issue - Media Item A is now appearing on the front end. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My question:&lt;/strong&gt; if Sitecore is directly referencing Media Item A in the rich text field, why is Media Item B being displayed?&lt;/p&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="73" LastEditDate="2017-04-11T23:25:47.463" LastActivityDate="2017-04-11T23:25:47.463" Title="Why did Sitecore display the wrong image?" Tags="|content-editor|media-library|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5194" PostTypeId="2" ParentId="5193" CreationDate="2017-03-31T18:40:14.200" Score="6" Body="&lt;p&gt;When the &lt;code&gt;Media.UseItemPaths&lt;/code&gt; Sitecore setting is set to &lt;code&gt;true&lt;/code&gt; (the default), Sitecore uses the media item's path for a URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance, if you have a PNG file at &lt;code&gt;/sitecore/media library/Images/logo&lt;/code&gt;, with stock configuration this would generate a path similar to this: &lt;code&gt;/~/media/Images/logo.png&lt;/code&gt;. As you can see, if two images in the same folder have the same name (regardless of extension), you will get a conflict and Sitecore will simply take the first one that it finds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you change this setting to &lt;code&gt;false&lt;/code&gt;, the generated URL will look more like this: &lt;code&gt;/~/media/6792A746C35A45D5B4C33DE9C76F105C.png&lt;/code&gt;. This prevents any naming conflict, at the cost exposing your item's IDs and having media items with irrelevant names. Personally I would avoid this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll find more details, as well as a workaround for the case of two files with different extensions, in this blog post by Martin Davies: &lt;a href=&quot;http://sitecoreskills.blogspot.ca/2014/01/handling-duplicate-media-paths-in.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreskills.blogspot.ca/2014/01/handling-duplicate-media-paths-in.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2017-03-31T18:50:54.750" LastActivityDate="2017-03-31T18:50:54.750" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5195" PostTypeId="5" CreationDate="2017-03-31T19:22:54.850" Score="0" Body="&lt;p&gt;When you need to update Sitecore v7.2/6.6 (or any supported version of the migration tool) to the latest release, the Express Migration Tool helps to speed up the upgrade process by migrating the data to a latest version instance. This reduces the complexity of bringing an older site up to the latest version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is documented here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="237" LastEditDate="2017-03-31T19:38:13.027" LastActivityDate="2017-03-31T19:38:13.027" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5196" PostTypeId="4" CreationDate="2017-03-31T19:22:54.850" Score="0" Body="Questions relating to the Express Migrations Tool, used to simplify the process of upgrading older versions of Sitecore to the latest releases." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-31T21:04:11.470" LastActivityDate="2017-03-31T21:04:11.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5197" PostTypeId="5" CreationDate="2017-03-31T19:28:42.033" Score="0" Body="&lt;p&gt;Sitecore.Ship is a tool aimed at Continuous Integration deployments. It allows update packages (such as those generated by Hedgehog TDS) to be installed remotely by HTTP requests from your build tools.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is an open source project, with code and documentation here: &lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kevinobee/Sitecore.Ship&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-31T21:04:46.633" LastActivityDate="2017-03-31T21:04:46.633" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5198" PostTypeId="4" CreationDate="2017-03-31T19:28:42.033" Score="0" Body="Questions relating to the Sitecore.Ship tool - which allows remote installation of update packages." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-31T21:04:50.510" LastActivityDate="2017-03-31T21:04:50.510" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5199" PostTypeId="2" ParentId="5190" CreationDate="2017-03-31T19:35:53.767" Score="2" Body="&lt;p&gt;As the publishing service should have an open api, you should be able to send requests to it (maybe Stephen Pope can elaborate on that). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure how to do that, but if you only need that publish to update your index you might be able to get what you need by using the &lt;code&gt;IndexCustodian&lt;/code&gt;. That class has functions to rebuild your entire index, or parts of it. In your case you will need somehting like:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;IndexCustodian.RefreshTree(new SitecoreIndexableItem(ancestor);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var index in ContentSearchManager.Indexes)&#xA;{&#xA;    IndexCustodian.Refresh(index, new SitecoreIndexableItem(ancestor);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-03-31T19:35:53.767" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5200" PostTypeId="5" CreationDate="2017-03-31T19:39:45.517" Score="0" Body="&lt;p&gt;Sitecore 8.2 and above support using Always On Availability Groups for any of the databases stored in SQL Server. It provides a mechanism for configuring failover and mirroring for your databases, and hence helps deal with failures of individual database servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The use of this technology with Sitecore is documented here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/configure_sql_server_always_on&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/configure_sql_server_always_on&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-31T21:04:23.090" LastActivityDate="2017-03-31T21:04:23.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5201" PostTypeId="4" CreationDate="2017-03-31T19:39:45.517" Score="0" Body="Questions which relate to Microsoft SQL Server's &quot;Always On&quot; features for availability." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-31T21:04:04.840" LastActivityDate="2017-03-31T21:04:04.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5202" PostTypeId="5" CreationDate="2017-03-31T20:06:03.243" Score="0" Body="&lt;p&gt;Wikipedia defines accessibility as &quot;the inclusive practice of removing barriers that prevent interaction with, or access to websites, by people with disabilities. When sites are correctly designed, developed and edited, all users have equal access to information and functionality.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More detail about what this covers is available in this article: &lt;a href=&quot;https://en.wikipedia.org/wiki/Web_accessibility&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://en.wikipedia.org/wiki/Web_accessibility&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Commonly this refers to implementing your sites with reference to the Web Content Accessibility Guidelines published by the W3C: &lt;a href=&quot;https://www.w3.org/WAI/intro/wcag&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.w3.org/WAI/intro/wcag&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-31T22:17:56.243" LastActivityDate="2017-03-31T22:17:56.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5203" PostTypeId="4" CreationDate="2017-03-31T20:06:03.243" Score="0" Body="Questions relating to making your Sitecore websites easier to use for people with disabilities." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-03-31T21:04:54.480" LastActivityDate="2017-03-31T21:04:54.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5204" PostTypeId="1" AcceptedAnswerId="5212" CreationDate="2017-03-31T20:26:08.410" Score="0" ViewCount="1515" Body="&lt;p&gt;I've constructed a dynamic placeholder using the top answer in this post: &lt;a href=&quot;https://stackoverflow.com/questions/15134720/sitecore-dynamic-placeholders-with-mvc&quot;&gt;https://stackoverflow.com/questions/15134720/sitecore-dynamic-placeholders-with-mvc&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This implementation uses the GUID of the current context item to generate a unique id to append to the end of each dynamic placeholder. Instead of using a GUID, I would like the placeholder keys to be sequential. For example, if there is one dynamic row placeholder on the page, the placeholder would become row1. If two row placeholder are on a page, they would be row1, and row2. Three would be row1, row2, and row3. And so on.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have successfully implemented the code from the above post in my environment, but I've been unable to get the sequential count of dynamic placeholders to work. Originally, I tried a static variable on the placeholder class, but the value of that field persisted on page refresh (If I started with row1, row2 on refresh I would get row3, row4). Next I tried to read the number of row placeholders on the page from the current context item, however the list that is returned never contains the row placeholder, only its parent. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the rendering which contains the dynamic placeholder call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;row_block&quot;&amp;gt;&#xA;    @Html.Sitecore().DynamicPlaceholder(&quot;row&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is my modified SitecoreHelper class from the original post:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class SitecoreHelper&#xA;{&#xA;    public static HtmlString DynamicPlaceholder(this Sitecore.Mvc.Helpers.SitecoreHelper helper, string dynamicKey)&#xA;    {&#xA;        int id = GetId(dynamicKey);&#xA;        return helper.Placeholder(string.Format(&quot;{0}{1}&quot;, dynamicKey, id++));&#xA;    }&#xA;&#xA;    private static int GetId(string placeHolderName)&#xA;    {&#xA;        bool NeedIncrement = false;&#xA;        int IncrementStep = 0;&#xA;        var myPlaceholders = ContextService.Get().GetInstances&amp;lt;PlaceholderContext&amp;gt;();&#xA;        foreach (PlaceholderContext myPHContext in myPlaceholders)&#xA;        {&#xA;            if (myPHContext.PlaceholderName == placeHolderName || myPHContext.PlaceholderName.StartsWith(placeHolderName))&#xA;            {&#xA;                NeedIncrement = true;&#xA;                IncrementStep++;&#xA;            }&#xA;        }&#xA;        if (!NeedIncrement)&#xA;        {&#xA;            IncrementStep = 1;&#xA;        }&#xA;        return IncrementStep;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there an way for me to generate sequential ids for these placeholder keys based on the number of times the base dynamic key appears? Thanks for the help!&lt;/p&gt;&#xA;" OwnerUserId="1080" LastEditorUserId="135" LastEditDate="2019-12-22T19:46:32.940" LastActivityDate="2019-12-22T19:46:32.940" Title="Sequential Key Dynamic Placeholder for MVC" Tags="|mvc|dynamic-placeholder|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5205" PostTypeId="1" CreationDate="2017-04-01T05:26:02.300" Score="10" ViewCount="7609" Body="&lt;p&gt;I have set the date in the sitecore item for some datetime field as below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fbDam.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fbDam.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And its getting saved as below format in the master/web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;20170401T073000Z&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to get that value using the below API.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;webDB = Sitecore.Data.Database.GetDatabase(&quot;web&quot;);&#xA;var item = webDB.GetItem(itemId);&#xA;var dateField = (DateField)item.Fields[&quot;fieldName&quot;];&#xA;_xxx = Sitecore.DateUtil.IsoDateToDateTime(dateField.Value).ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting the below date and time&#xA;4/1/2017  7:30:00 AM&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here the difference is 5.30 hrs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get the exact time which is showing the CMS?&lt;/p&gt;&#xA;" OwnerUserId="1759" LastEditorUserId="423" LastEditDate="2017-08-08T14:42:02.830" LastActivityDate="2018-01-16T16:34:28.190" Title="How to get the our local date and time from the sitecore datetime field(raw value format - yyymmddThhmmssZ)?" Tags="|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5207" PostTypeId="2" ParentId="5205" CreationDate="2017-04-01T08:57:39.177" Score="12" Body="&lt;p&gt;Sitecore stores its date/time values in &lt;code&gt;UTC&lt;/code&gt;. And you are 5h30m ahead or behind UTC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you'd like to display DateTimes in &lt;code&gt;Server Time&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;webDB = Sitecore.Data.Database.GetDatabase(&quot;web&quot;);&#xA;var item = webDB.GetItem(itemId);&#xA;var dateField = (DateField)item.Fields[&quot;fieldName&quot;];&#xA;var serverTime = Sitecore.DateUtil.ToServerTime(dateField.DateTime);&#xA;_xxx = Sitecore.DateUtil.FormatShortDateTime(serverTime);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When using Sitecore's &lt;code&gt;ToServerTime&lt;/code&gt; method, by default it will use the TimeZone configured in the Operating System. If you would like to override that, you can adjust the &lt;code&gt;ServerTimeZone&lt;/code&gt; setting in Sitecore.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;Eastern Standard Time&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;References:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/4011/73&quot;&gt;https://sitecore.stackexchange.com/a/4011/73&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://benrausch.net/sitecore-8-datefield-datetime-values-are-now-utc&quot; rel=&quot;noreferrer&quot;&gt;https://benrausch.net/sitecore-8-datefield-datetime-values-are-now-utc&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/utc/datetime/datetime_types&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/utc/datetime/datetime_types&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/utc/datetime/datetime_best_practices&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/utc/datetime/datetime_best_practices&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="85" LastEditDate="2017-07-19T16:26:41.693" LastActivityDate="2017-07-19T16:26:41.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5211" PostTypeId="2" ParentId="5205" CreationDate="2017-04-02T16:23:03.017" Score="3" Body="&lt;p&gt;The below code is also a solution for this issue:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var dateField = (DateField)item.Fields[&quot;fieldname&quot;];&#xA;var isoDate = Sitecore.DateUtil.IsoDateToServerTimeIsoDate(dateField.Value);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1759" LastEditorUserId="288" LastEditDate="2018-01-16T16:34:28.190" LastActivityDate="2018-01-16T16:34:28.190" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5212" PostTypeId="2" ParentId="5204" CreationDate="2017-04-03T06:01:52.010" Score="3" Body="&lt;p&gt;I have previously created a similar implementation, though taking a slightly different approach, based on the renderings of the current item, rather than the available placeholder contexts.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;private static int GetId(string placeHolderName)&#xA;{&#xA;    // Get all renderings from current item&#xA;    IEnumerable&amp;lt;RenderingReference&amp;gt; renderings = ContextItem.Visualization.GetRenderings(Context.Device, false);&#xA;&#xA;    // Get all renderings of current type&#xA;    renderings = renderings.Where(x =&amp;gt; x.RenderingID == RenderingContext.Current.Rendering.RenderingItem.ID);&#xA;&#xA;    // Get all renderings in current placeholder&#xA;    renderings =&#xA;        renderings.Where(&#xA;            x =&amp;gt; x.Placeholder.TrimStart('/') == RenderingContext.Current.Rendering.Placeholder.TrimStart('/'));&#xA;&#xA;    // Find the index of the current rendering&#xA;    var index =&#xA;        renderings.ToList()&#xA;            .FindIndex(x =&amp;gt; new Guid(x.UniqueId) == RenderingContext.Current.Rendering.UniqueId);&#xA;    return index + 1;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Note that the above is based on renderings containing dynamic placeholder keys, and thus assumes that each dynamic placeholderkey is unique per rendering, i.e. if you add multiple identical dynamic placeholders to different renderings, it will not get incremented.&lt;/p&gt;&#xA;&lt;h2&gt;Alternatives&lt;/h2&gt;&#xA;&lt;p&gt;Please be aware, that sequential dynamic placeholder keys (the above, as well as your own suggestion) pose some limitations. The order of the renderings, for example, is bound to the sequential order of the placeholders, and you will not be able to move or delete rows (the placeholder key will change once rows swap position). Also, you would need additional logic to handle placeholder settings.&lt;/p&gt;&#xA;&lt;p&gt;You should consider using one of the available packages. I have completely dumped my own implementation and started using &lt;a href=&quot;http://fortis.ws/fortis-collection/dynamic-placeholders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Fortis Dynamic Placeholders&lt;/a&gt; instead. That is well tested and well proven, and is (currently) being actively maintained. As long as your editors are based in the Experience Editor, they will not be confused with the GUID based placeholder keys.&lt;/p&gt;&#xA;" OwnerUserId="180" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-04-03T06:01:52.010" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5213" PostTypeId="1" CreationDate="2017-04-03T09:06:33.260" Score="0" ViewCount="911" Body="&lt;p&gt;I have Sitecore Publishing Service 1.1 installed on my Sitecore 8.2 initial release instance. Sometimes, publishing job gets executed successfully, and sometimes it gets interrupted. Kindly see below error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-04-03 11:59:24.140 +03:00 [Error] Error during publish of 0c3cbc45-3bc2-41a9-b3d3-badcb0f5458d - Error: &quot;Transaction (Process ID 80) was deadlocked on lock | generic waitable object resources with another process and has been chosen as the deadlock victim. Rerun the transaction.&quot;&#xA;2017-04-03 11:59:29.130 +03:00 [Error] Error persisting completed job status. ID:0c3cbc45-3bc2-41a9-b3d3-badcb0f5458d, Status:Failed, Message:&quot;Transaction (Process ID 80) was deadlocked on lock | generic waitable object resources with another process and has been chosen as the deadlock victim. Rerun the transaction.&quot;. Error - &quot;Transaction (Process ID 80) was deadlocked on lock | generic waitable object resources with another process and has been chosen as the deadlock victim. Rerun the transaction.&quot;&#xA;2017-04-03 11:59:29.131 +03:00 [Error] Error processing scheduled task : &quot;PublishTask-7891ad2cafbf40dd868192fb48e1955d&quot;&#xA;System.Data.SqlClient.SqlException (0x80131904): Transaction (Process ID 80) was deadlocked on lock | generic waitable object resources with another process and has been chosen as the deadlock victim. Rerun the transaction.&#xA;   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)&#xA;   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)&#xA;   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady)&#xA;   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)&#xA;   at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader(Boolean isInternal, Boolean forDescribeParameterEncryption)&#xA;   at System.Data.SqlClient.SqlCommand.InternalEndExecuteNonQuery(IAsyncResult asyncResult, String endMethod, Boolean isInternal)&#xA;   at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult)&#xA;   at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(IAsyncResult asyncResult)&#xA;   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Dapper.SqlMapper.&amp;lt;ExecuteImplAsync&amp;gt;d__29.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Service.Sql.PublishJobQueue.PublishJobQueueProvider.&amp;lt;StopJob&amp;gt;d__11.MoveNext() in C:\TC\BuildAgent\work\c9f151fb6c9b4087\src\Sitecore.Framework.Publishing.Service.Sql\PublishJobQueue\PublishJobQueueProvider.cs:line 231&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.PublishJobQueue.PublishJobQueueRepository.&amp;lt;StopJob&amp;gt;d__12.MoveNext() in C:\TC\BuildAgent\work\c9f151fb6c9b4087\src\Sitecore.Framework.Publishing\PublishJobQueue\PublishJobQueueRepository.cs:line 103&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)&#xA;   at Sitecore.Framework.Publishing.Tasks.PublishTask.&amp;lt;OnExecute&amp;gt;d__11.MoveNext() in C:\TC\BuildAgent\work\c9f151fb6c9b4087\src\Sitecore.Framework.Publishing\Tasks\PublishTask.cs:line 169&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Scheduling.ScheduledTask.&amp;lt;Run&amp;gt;d__29.MoveNext()&#xA;ClientConnectionId:33593899-f60b-4fd4-b672-23a464000537&#xA;Error Number:1205,State:51,Class:13&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea what the problem would be?&lt;/p&gt;&#xA;" OwnerUserId="838" LastEditorUserId="2727" LastEditDate="2018-02-28T18:49:56.077" LastActivityDate="2018-02-28T18:49:56.077" Title="Sitecore Publishing Service Deadlock" Tags="|sitecore-client|publishing-service|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5214" PostTypeId="1" AcceptedAnswerId="5242" CreationDate="2017-04-03T09:06:42.447" Score="0" ViewCount="1999" Body="&lt;p&gt;&lt;strong&gt;Using Sitecore v8.0 Update-5&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I'm working on Sitecore search for the first time. This is for a website search where the end user/visitor will search for pages/content on site using keywords.&lt;/p&gt;&#xA;&lt;p&gt;Following &lt;a href=&quot;https://www.mikkelhm.dk/archive/defining-a-custom-index-in-sitecore-7-the-absolute-minimum/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt;, I created a custom index. When executing the code which performs the search, it throws the following error:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;'contentSearch/indexConfigurations/databasePropertyStore' has an invalid token&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;var indexName = &amp;quot;mysite_master_search_index&amp;quot;;&#xA;using (var context = ContentSearchManager.GetIndex(indexName).CreateSearchContext()) //ERROR HERE&#xA;{&#xA; .... &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Except for the database names and adding the default computed field &lt;code&gt;_content&lt;/code&gt;, I did not make any changes in this config.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Filename:&lt;/strong&gt; &lt;code&gt;MySite.ContentSearch.Lucene.config&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Path:&lt;/strong&gt; &lt;code&gt;/App_Config/Include/MySite/&lt;/code&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&amp;quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&amp;quot;list:AddIndex&amp;quot;&amp;gt;&#xA;          &amp;lt;index id=&amp;quot;mysite_master_search_index&amp;quot; type=&amp;quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&amp;quot;&amp;gt;&#xA;            &amp;lt;param desc=&amp;quot;name&amp;quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&amp;quot;folder&amp;quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&amp;quot;propertyStore&amp;quot; ref=&amp;quot;contentSearch/indexConfigurations/databasePropertyStore&amp;quot; param1=&amp;quot;$(id)&amp;quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&amp;quot;contentSearch/indexConfigurations/mysiteSearchConfiguration&amp;quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&amp;quot;list:AddStrategy&amp;quot;&amp;gt;                  &#xA;              &amp;lt;strategy ref=&amp;quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&amp;quot; /&amp;gt;              &#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor &#xA;             ....&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&amp;quot;list:AddCrawler&amp;quot;&amp;gt;&#xA;              &amp;lt;crawler type=&amp;quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&amp;quot;&amp;gt;                    &#xA;                &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;                &#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Home/MySite/Home&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;mysiteSearchConfiguration type=&amp;quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&amp;quot;&amp;gt;&#xA;          &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;          &amp;lt;initializeOnAdd&amp;gt;true&amp;lt;/initializeOnAdd&amp;gt;&#xA;          &amp;lt;analyzer ref=&amp;quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/analyzer&amp;quot; /&amp;gt;&#xA;          &amp;lt;fieldMap type=&amp;quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&amp;quot;raw:AddFieldByFieldName&amp;quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&amp;quot;_uniqueid&amp;quot; storageType=&amp;quot;YES&amp;quot; indexType=&amp;quot;TOKENIZED&amp;quot; vectorType=&amp;quot;NO&amp;quot; boost=&amp;quot;1f&amp;quot; type=&amp;quot;System.String&amp;quot; settingType=&amp;quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&amp;quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&amp;quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&amp;quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;          &amp;lt;fields hint=&amp;quot;raw:AddComputedIndexField&amp;quot;&amp;gt;&#xA;            &amp;lt;field fieldName=&amp;quot;_content&amp;quot; type=&amp;quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;              &amp;lt;mediaIndexing ref=&amp;quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/mediaIndexing&amp;quot;/&amp;gt;&#xA;            &amp;lt;/field&amp;gt;&#xA;          &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;fieldReaders ref=&amp;quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldReaders&amp;quot;/&amp;gt;&#xA;          &amp;lt;indexFieldStorageValueFormatter ref=&amp;quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/indexFieldStorageValueFormatter&amp;quot;/&amp;gt;&#xA;          &amp;lt;indexDocumentPropertyMapper ref=&amp;quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/indexDocumentPropertyMapper&amp;quot;/&amp;gt;&#xA;        &amp;lt;/mysiteSearchConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So, in the content under, under the &amp;quot;&lt;strong&gt;Developer&lt;/strong&gt;&amp;quot; tab, I tried all the options for building indexes in the &amp;quot;indexing tools&amp;quot; section, which shows a pop up dialog for error:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;System.Reflection.TargetInvocationException: Exception has been thrown by the target of &#xA;an invocation. ---&amp;gt; &#xA;System.InvalidOperationException: Could not find configuration node: contentSearch/databasePropertyStore at  &#xA;Sitecore.Configuration.Factory.GetConfigNode(String xpath, Boolean assert) &#xA;at Sitecore.Configuration.Factory.CreateObject(String configPath, String[] &#xA;parameters, Boolean assert) at.....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Did I miss any setting or is it not the way we should add a custom index.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;In developer tab, when I click on &amp;quot;&lt;strong&gt;Rebuild index&lt;/strong&gt;&amp;quot; dropdown, there is this message - &lt;code&gt;Indexes Gallery failed to render index list.&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-03-25T00:26:26.233" Title="&quot;'contentSearch/indexConfigurations/databasePropertyStore' has an invalid token&quot; while adding a custom index" Tags="|content-search|lucene|" AnswerCount="3" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5215" PostTypeId="1" CreationDate="2017-04-03T09:36:40.107" Score="1" ViewCount="781" Body="&lt;p&gt;I am trying to write a test for this code:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var publicationYears = new List&amp;lt;string&amp;gt;();&#xA;using (var context = searchContextBuilder.GetSearchContext(Indexes.NewsIndex))&#xA;{&#xA;    var query = context.GetQueryable&amp;lt;NewsArticleItem&amp;gt;().Where(predicate).FacetOn(n =&amp;gt; n.Year);&#xA;    var queryResults = query.GetResults();&#xA;    ...&#xA;    publicationYears = GetYearFacets(queryResults.Facets).ToList();&#xA;}&#xA;&#xA;return publicationYears;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &quot;searchContextBuilder&quot; is injected, the &quot;predicate&quot; a parameter and &quot;GetYearFacets&quot; just a function that get the values from the facet needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried some solution (from Kevin Brechbühl) that should work, but apparently only do if the tests is in the same assembly as the code - which is not the case. So I started using the this code: &lt;a href=&quot;https://gist.github.com/vivianroberts/1a632d8bfb8fa62e23c4679b086728ce&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/vivianroberts/1a632d8bfb8fa62e23c4679b086728ce&lt;/a&gt;&#xA;which gave me working tests on searches without facets.  In my test, I inject a &quot;testable&quot; version of the searchContextBuilder (using Moq):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class TestableSearchBuilder : ISearchContextBuilder&#xA;{&#xA;    private readonly IList&amp;lt;NewsArticleItem&amp;gt; items;&#xA;&#xA;    public TestableSearchBuilder()&#xA;    {&#xA;        items = new List&amp;lt;NewsArticleItem&amp;gt;();&#xA;&#xA;        items.Add(...);&#xA;        items.Add(...);&#xA;        ...&#xA;    }&#xA;&#xA;    public IEnumerable&amp;lt;NewsArticleItem&amp;gt; Items =&amp;gt; items;&#xA;&#xA;    public IProviderSearchContext GetSearchContext(string index)&#xA;    {&#xA;        // create the mock context&#xA;        var searchContext = new Mock&amp;lt;IProviderSearchContext&amp;gt;();&#xA;        var queryable = new SearchProviderQueryableCollection&amp;lt;NewsArticleItem&amp;gt;(items);&#xA;        searchContext.Setup(x =&amp;gt; x.GetQueryable&amp;lt;NewsArticleItem&amp;gt;()).Returns(queryable);&#xA;        searchContext.Setup(x =&amp;gt; x.GetQueryable&amp;lt;NewsArticleItem&amp;gt;(It.IsAny&amp;lt;IExecutionContext&amp;gt;())).Returns(queryable);&#xA;        return searchContext.Object;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where my &quot;SearchProviderQueryableCollection&quot; is the &quot;LuceneProviderQueryableStub&quot; from the Gist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that when using &lt;strong&gt;FacetOn&lt;/strong&gt; an error occurs: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There is no method 'FacetOn' on type&#xA;  'Sitecore.ContentSearch.Linq.QueryableExtensions.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Same error as Søren mentions on the page btw.. (with Filter).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did try to get past this by putting the FacetOn also on my injected searchContextBuilder - pointing it towards Sitecores extension method in the real code and to a custom linq solution in the test. That got me a step further, but then I bumped into the call to &quot;&lt;strong&gt;Facets&lt;/strong&gt;&quot; on the &lt;code&gt;SearchResults&lt;/code&gt; object. In my test it was null as the facets are not passed to the SearchResults constructor. To fix that, I should include them as extra parameter in the constructor in my SearchProviderQueryableCollection:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;object results = new SearchResults&amp;lt;TElement&amp;gt;(items.Select(s =&amp;gt; new SearchHit&amp;lt;TElement&amp;gt;(0, s)), items.Count, ...);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which might be possible, but then I need to be able to construct the facets myself. And there I got stuck.. and running out of time.. and actually hoping someone already did this..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, does anyone have an idea on how to continue getting the facets in my test - or has an alternative solution to testing queries with facets? &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-04-03T09:36:40.107" Title="Unit testing contentsearch with facets" Tags="|content-search|unit-testing|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5216" PostTypeId="2" ParentId="5214" CreationDate="2017-04-03T10:47:54.577" Score="2" Body="&lt;p&gt;In your configs I found that you are doing this &#xA;&lt;code&gt;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/mysiteSearchConfiguration&quot; /&amp;gt;&lt;/code&gt; in your indexes.&#xA;Please make sure that in mysiteSearchConfiguration you are referencing Sitecore Default Lucene Index like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mysiteSearchConfiguration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please note that this is a comment. I cannot comment due to insufficient points.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2017-04-03T10:47:54.577" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5217" PostTypeId="2" ParentId="5214" CreationDate="2017-04-03T13:49:48.083" Score="1" Body="&lt;p&gt;Some of your configuration elements are off, at least for Sitecore 8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned by adarsh, you were missing the &lt;code&gt;indexConfigurations/&lt;/code&gt; subpath here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's also missing from here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can check &lt;code&gt;showconfig.aspx&lt;/code&gt; and compare your index against stock indexes to make sure you are not missing anything else.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-04-03T13:49:48.083" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5218" PostTypeId="1" CreationDate="2017-04-03T14:00:34.650" Score="4" ViewCount="786" Body="&lt;p&gt;Our client wants us to improve the performance of the solution and used &lt;a href=&quot;https://developers.google.com/speed/pagespeed/insights/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.google.com/speed/pagespeed/insights/&lt;/a&gt; to test it. Now &quot;Google Insights&quot; says: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Your page has 2 blocking script resources. This causes a delay in rendering your page.&#xA;Remove render-blocking JavaScript:&#xA;https://www.example.com/api/utils/libs/jsnlog.min.js&#xA;https://www.example.com/layouts/system/VisitorIdentification.js&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're loading these two files with the standard Sitecore Razor commands:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Sitecore.Diagnostics.ClientLog.RenderClientLogConfiguration() and @Html.Sitecore().VisitorIdentification()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So there are a few questions here.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Does it even make sense to asynchronously load those two java script files or would it break something?&lt;/li&gt;&#xA;&lt;li&gt;If it makes sense, how would you do it?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To change the VisitorIdentification.js we could edit &lt;code&gt;\layouts\system\VisitorIdentification.ascx&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I'm not sure how to do that with &lt;code&gt;jsnlog.min.js&lt;/code&gt;.&#xA;As you can see we already adjusted the path to the file itself, but that's all happening in the configs.&lt;/p&gt;&#xA;" OwnerUserId="364" LastActivityDate="2017-04-03T14:00:34.650" Title="Load standard Sitecore JavaScript files asynchronously" Tags="|performance-optimization|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5219" PostTypeId="1" CreationDate="2017-04-03T14:33:01.230" Score="2" ViewCount="1114" Body="&lt;p&gt;I Created user with custom fields and in User Manger am able to see user custom fields along with data. Are these fields stored in Mongo Db?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to retrieve all the custom user profile data into Json format, please suggest any approach.&lt;/p&gt;&#xA;" OwnerUserId="1545" LastEditorUserId="73" LastEditDate="2017-04-11T23:25:38.403" LastActivityDate="2017-04-11T23:25:38.403" Title="How to get Sitecore User Custom Profile Data in JSON Format?" Tags="|user-profile|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5220" PostTypeId="2" ParentId="5219" CreationDate="2017-04-03T14:47:32.820" Score="0" Body="&lt;p&gt;I've not had to do this before but there are a few options available to you by the looks of things.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Use an query against the Mongo DB API similar to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//Connecting to the Analytics DB&#xA;    var driver = Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDriver.FromConnectionString(&quot;analytics&quot;);&#xA;&#xA;    //Building our query&#xA;    var builder = new QueryBuilder();&#xA;    var filter = builder.And(builder.GTE(_ =&amp;gt; _.StartDateTime, DateTime.Now.AddDays(-30)), builder.EQ(_ =&amp;gt; _.SiteName, siteName.ToLower())); &#xA;&#xA;    //Retrieving data from the &quot;Interactions&quot; collection&#xA;    var interactions = driver.Interactions.FindAs(filter)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://sitecorepro.blogspot.co.uk/2015/06/starting-with-sitecore-analytics.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorepro.blogspot.co.uk/2015/06/starting-with-sitecore-analytics.html&lt;/a&gt;&#xA;  &lt;strong&gt;or&lt;/strong&gt;&#xA;  &lt;a href=&quot;http://www.nttdatasitecore.com/Blog/2016/July/Retrieving-Interactions-Data-from-MongoDB-using-Sitecore-Analytics-API&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nttdatasitecore.com/Blog/2016/July/Retrieving-Interactions-Data-from-MongoDB-using-Sitecore-Analytics-API&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;2) Use Sitecore Experience Extractor :&lt;a href=&quot;https://github.com/Sitecore/experience-extractor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/experience-extractor&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) It looks like you could also query contact info via Search like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;sitecore_analytics_index&quot;).CreateSearchContext())&#xA;{&#xA;     var query = context.GetQueryable&amp;lt;IndexedContact&amp;gt;().Where(c=&amp;gt; c.Firstname.Equals(&quot;John&quot;));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/4272/can-we-use-xdb-contact-to-do-a-lookup-for-users&quot;&gt;Can we use xDB contact to do a Lookup for users&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="196" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-04-03T14:55:43.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5221" PostTypeId="1" CreationDate="2017-04-03T15:28:10.187" Score="2" ViewCount="781" Body="&lt;p&gt;I'm on Sitecore 8.2, using MVC. I have two sites, and I'm defining presentation details on Standard Values of the template, so that I can use one presentation details setup for rendering the same component on both sites, just with different content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When putting the component (rendering) on the page, we have this field for choosing the datasource item:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Ff75p.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ff75p.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Here I can either use &quot;Browse&quot; link to find the exact Sitecore item to use, or I can enter a query expression like on the screenshot. I've added a custom processor into mvc.renderRendering pipeline that interprets that query expression and replaces the query with the exact path to the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I'm on site A it will give me path &lt;code&gt;sitecore/content/siteA/controls/navigation&lt;/code&gt; and if I'm on site B it will give me path &lt;code&gt;sitecore/content/siteB/controls/navigation&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It all works very good for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is when I need to personalize the component. Based on some condition, I would like to change the datasource of the component to be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@templatename='Website']/controls/lead-navigation&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, the problem is that the &quot;Content&quot; field in the personalization window is not allowing me to enter the query. It only allows me to choose the individual item:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/rOc62.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rOc62.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;The only workaround I have found so far is to choose the individual item here, and then go to raw values of presentation details (__Renderings field) and replace the guid there for my query expression.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That works, but it's clumsy, and there's no way content authors will know how to do that if they had to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way in the personalizations window to get the same kind of Data Source field as in the component properties window (the one that allows free text entry along with browsing for individual Sitecore item)? Or any other solution for this problem?&lt;/p&gt;&#xA;" OwnerUserId="378" LastActivityDate="2017-04-03T15:28:10.187" Title="Set query as datasource in personalization" Tags="|personalization|datasource|" AnswerCount="0" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5222" PostTypeId="1" CreationDate="2017-04-03T15:31:51.877" Score="2" ViewCount="772" Body="&lt;p&gt;For example I have three states A,B and C in a workflow.(Sitecore 8.0)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;A&quot; have command &quot;&lt;strong&gt;Send Item&lt;/strong&gt;&quot;.&#xA;&quot;B&quot; have command &quot;&lt;strong&gt;Item Sent&lt;/strong&gt;&quot;. &#xA;&quot;C&quot; is the     final State.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I assign the workflow to an item and click on command &quot;Send item&quot;, item moves to  state &quot;B&quot;. &quot;Item sent&quot; command will be displayed for the user but I want to disable it for selection as I want to change state from &quot;B&quot; to &quot;C&quot; from Backend code based on reponse from external server. Is it possible ?? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="955" LastActivityDate="2017-05-04T13:33:53.197" Title="Disable sitecore workflow command" Tags="|workflow|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5223" PostTypeId="1" AcceptedAnswerId="5444" CreationDate="2017-04-03T16:54:06.360" Score="5" ViewCount="1413" Body="&lt;p&gt;I'm running Sitecore 8.1 (Original Release), and I've generated a report that is tracking how many times visitors have seen a variation of an internal ad that is on my site. The basic premise of the campaign is that we put a wiki-banner style ad at the top of every page that Sitecore serves up. We want to track how many times each version of that ad is displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've written some logic that marks which variation is displayed to the user as part of their interaction on the website. I've also written a report to go back through the interactions and report on how many times each variation is displayed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my problem: The number of interaction records is much smaller than what Google Analytics has. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Google Analytics&lt;/strong&gt;: 1.2 million PageViews&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore&lt;/strong&gt;: 884,000 Interaction Records&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This disparity between the 2 systems has caused my leadership (and me as well) to question whether or not I'm reporting on the right information. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is going on with this? How should the numbers compare between the 2 systems? Am I comparing the wrong numbers?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-04-26T19:45:54.083" Title="Google Analytics vs Sitecore Interactions" Tags="|experience-analytics|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5224" PostTypeId="2" ParentId="5222" CreationDate="2017-04-03T17:24:46.057" Score="0" Body="&lt;p&gt;You can hide workflow commands using &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/dynamic-workflow-command-appearance&quot; rel=&quot;nofollow noreferrer&quot;&gt;Appearance Evaluator Type&lt;/a&gt; field of the Workflow Command template. Just put the following value:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Workflows.HiddenCommandStateEvaluator, Sitecore.Kernel&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="272" LastEditorUserId="272" LastEditDate="2017-04-04T08:27:55.157" LastActivityDate="2017-04-04T08:27:55.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5225" PostTypeId="2" ParentId="5223" CreationDate="2017-04-03T17:25:23.027" Score="0" Body="&lt;p&gt;This depends in large part on how your Google Analytics view is set up. If you are using a master view with no filters, Google will report all traffic including robots. Sitecore, by default, eliminates robot traffic from its reporting. This alone can account for the difference you're encountering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the &lt;a href=&quot;https://kb.sitecore.net/articles/164757&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Not all incoming requests are counted by Sitecore Analytics. It distinguishes unique users with ASP.NET sessions and browser cookies. Also, it skips robots' sessions. Thus, the number of unique visits in Sitecore Analytics is usually less than Google Analytics reports show.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-04-03T17:25:23.027" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5226" PostTypeId="2" ParentId="5223" CreationDate="2017-04-03T20:20:29.893" Score="0" Body="&lt;p&gt;You will always have variance between two analytics systems, depending on the situation that can range from 0-20%, beyond that, I'd really try to undersand the cause. And generally speaking what I've seen and heard Google Analytics does seem to always show more page views than Sitecore. Also the crawler identification is probably working slightly differently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key thing you want to validate is, if the variance is consistent. I.e. week to week, is the variance roughly same? or is there some specific period of time when it's off. At that point you might have had an issue in collecting the Sitecore Analytics. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I'd check if Sitecore.Analytics.ExcludeRobots.config (or similiar) file contains for example internal IPs that have been configured to be filtered.&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-04-03T20:20:29.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5227" PostTypeId="2" ParentId="5219" CreationDate="2017-04-04T00:40:08.717" Score="3" Body="&lt;p&gt;You can use Sitecore PowerShell Extensions to extract the custom properties. The data is stored in the Core database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/60UfO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/60UfO.png&quot; alt=&quot;Demo in ISE&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$user = Get-User -Id &quot;sitecore\michael&quot;&#xA;$data = @{}&#xA;foreach($name in $user.Profile.GetCustomPropertyNames()) {&#xA;    $data[$name] = $user.Profile.GetCustomProperty($name)&#xA;}&#xA;&#xA;$data | ConvertTo-Json&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-04-04T00:40:08.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5228" PostTypeId="2" ParentId="5213" CreationDate="2017-04-04T04:39:25.623" Score="-1" Body="&lt;p&gt;Deadlocks occur if your EventQueue is too large. Make sure you clean the EventQueue often and keep as little data as possible, preferably below 1000 items. Check &lt;a href=&quot;https://www.google.com/amp/s/briancaos.wordpress.com/2014/10/23/sitecore-eventqueue-deadlocks-how-to-solve-them-and-how-to-avoid-them/amp/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="875" LastActivityDate="2017-04-04T04:39:25.623" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5229" PostTypeId="1" CreationDate="2017-04-04T06:06:00.187" Score="1" ViewCount="501" Body="&lt;p&gt;I have created few profile/pattern cards and assigned to persona. Where are these cards stored, is it in MongoDB OR SQL database?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;User visit journey reaches the persona, Now I want to retrieve all the Pattern / Profile Card names into JSON format, please suggest the best approach.&lt;/p&gt;&#xA;" OwnerUserId="1545" LastEditorUserId="73" LastEditDate="2017-04-11T23:25:20.280" LastActivityDate="2017-11-10T14:42:45.653" Title="How to get Sitecore Profile /Pattern cards in JSON Format?" Tags="|xdb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5230" PostTypeId="1" CreationDate="2017-04-04T07:49:17.517" Score="7" ViewCount="386" Body="&lt;p&gt;How can I get a user's persona information in code when I am requesting the information not as the user but as someone else, e.g. a site administrator?? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked at how the Best Pattern match works in the Experience Profile but this process is very complicated, uses a crazy number of pipelines and does not provide a simple method to hook into.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone done something like this before?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.1, ideally I would like to retrieve that values stored against the user. Not to worried about the best pattern/profile matched but you can get extra points for suggesting a solution to this.&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="464" LastEditDate="2017-04-04T14:14:59.797" LastActivityDate="2017-05-20T18:59:10.013" Title="Get Users Persona Information" Tags="|xdb|experience-profile|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5231" PostTypeId="1" AcceptedAnswerId="5238" CreationDate="2017-04-04T07:59:59.297" Score="3" ViewCount="126" Body="&lt;p&gt;The TDS custom validator documentation (&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/custom-tds-validators&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Blog/custom-tds-validators&lt;/a&gt;) details that the validator needs to be placed in the folder &lt;strong&gt;C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0&lt;/strong&gt;. Is it possible to install the validator assembly in a relative location to the solution instead of this folder?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will the validator still run on the build server?&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-04-05T07:31:06.367" Title="TDS Custom Validators" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5232" PostTypeId="1" AcceptedAnswerId="5233" CreationDate="2017-04-04T10:49:57.233" Score="2" ViewCount="1171" Body="&lt;p&gt;I would like to show some message in my component in case this component was just added in the Experience Editor, but the item is not saved yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to do it?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="104" LastEditDate="2017-04-04T11:16:49.650" LastActivityDate="2017-04-04T11:25:27.973" Title="Is it possible to detect if a component was just added to the page in the Experience Editor?" Tags="|experience-editor|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5233" PostTypeId="2" ParentId="5232" CreationDate="2017-04-04T11:14:33.893" Score="2" Body="&lt;p&gt;You can do this by checking if the current rendering is contained in the list of renderings of the current item.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cshtml prettyprint-override&quot;&gt;&lt;code&gt;@{&#xA;    Guid currentRenderingId =&#xA;        Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.UniqueId;&#xA;&#xA;    DeviceItem device = Sitecore.Context.Device;&#xA;    RenderingReference[] renderings =&#xA;        Sitecore.Context.Item.Visualization.GetRenderings(device, true);&#xA;&#xA;    bool renderingIsSaved =&#xA;        renderings.Any(&#xA;            r =&amp;gt; new Guid(r.UniqueId) == currentRenderingId);&#xA;}&#xA;&#xA;@if (renderingIsSaved == false)&#xA;{&#xA;    &amp;lt;div class=&quot;unsaved-rendering&quot;&amp;gt;&#xA;        This rendering is not saved yet.&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above example is for MVC; the code should be similar in case you use WebForms.&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-04-04T11:25:27.973" LastActivityDate="2017-04-04T11:25:27.973" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5234" PostTypeId="1" CreationDate="2017-04-04T11:51:07.217" Score="3" ViewCount="1520" Body="&lt;p&gt;Currently, I have been using the following code to display the Upload Advance Dialog for media files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$itemPath = Get-Item &quot;master:\media library\Files&quot;&#xA;Receive-File ($itemPath) -AdvancedDialog&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The dialog is working fine and is returning &lt;code&gt;undetermined&lt;/code&gt; as expected. Even though, is there any scripts that can be run to retrieved the list of media that have just been installed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Users can upload Zip files or single/multiple images at once.&lt;/li&gt;&#xA;&lt;li&gt;It is a requirement to use the Advance Dialog as point 1 states that user should be able to upload Zip Files&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The aim of this development is to use the Sitecore Powershell to upload media and then update each uploaded media Alt Text with a value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are some ideas how I can achieve this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Loop in the container to retrieve each media item Id and store in a list and then after installation of the package, update each media item alt text where the ID is not present in the list.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Install the media items in a temporary folder in the media library. Perform the alt text update. Then, move each media item to the respective destination.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastEditorUserId="135" LastEditDate="2019-12-22T19:47:42.097" LastActivityDate="2019-12-22T19:47:42.097" Title="Get list of installed media item" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ClosedDate="2017-10-31T19:55:32.543" ContentLicense="CC BY-SA 4.0" />
  <row Id="5235" PostTypeId="1" AcceptedAnswerId="5243" CreationDate="2017-04-04T11:59:39.930" Score="2" ViewCount="196" Body="&lt;p&gt;By default, EXM creates an engagement plan for each message being created.&#xA;There is a specific state &quot;Invalid Address&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kexOq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kexOq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently we have quite a few contacts in there and I just want to ask, what are the rules for this state? How EXM qualifies that this or that email address is invalid? From what I can see all emails specified have valid format. Does EXM verify if that email exists or something?&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2017-04-04T17:41:00.920" Title="EXM message engagement plan. Invalid Address state - how it works?" Tags="|exm|engagement-plans|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5237" PostTypeId="2" ParentId="5222" CreationDate="2017-04-04T13:16:10.513" Score="1" Body="&lt;p&gt;If you want to be able to see it as an admin, but hide from most authors, you can use Sitecore security on the command so that it is not visible to them. That way you can also have a back door for the system admin in case something fails in the code and you need to push it through.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-04-04T13:16:10.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5238" PostTypeId="2" ParentId="5231" CreationDate="2017-04-04T14:13:12.840" Score="4" Body="&lt;p&gt;Right now, the validator needs to be there or in the same folder as the tasks assembly for TDS. You can create a pre-build target in the TDS project to copy your assembly into the Nuget package folder if you are using the NuGet package for the TDS build components. We are looking at improving this in a future release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's one way you could do it. Include the following into your scproj file (or in an imported .targets file). (Note: the following assumes only one HedgehogDevelopment.TDS NuGet package folder, and that your custom validators are in a 'MyExtensions.TDS.CustomExtensions' NuGet package and DLL).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;UsingTask TaskName=&quot;GetTdsNuGetPackageFolder&quot; TaskFactory=&quot;CodeTaskFactory&quot; AssemblyFile=&quot;$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll&quot;&amp;gt;&#xA;    &amp;lt;ParameterGroup&amp;gt;&#xA;      &amp;lt;PackagesFolderPath ParameterType=&quot;System.String&quot; Required=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;TdsNuGetFolder ParameterType=&quot;System.String&quot; Output=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/ParameterGroup&amp;gt;&#xA;    &amp;lt;Task&amp;gt;&#xA;      &amp;lt;Using Namespace=&quot;System&quot; /&amp;gt;&#xA;      &amp;lt;Using Namespace=&quot;System.IO&quot; /&amp;gt;&#xA;      &amp;lt;Using Namespace=&quot;System.Text.RegularExpressions&quot; /&amp;gt;&#xA;      &amp;lt;Code Type=&quot;Fragment&quot; Language=&quot;cs&quot;&amp;gt;&amp;lt;![CDATA[&#xA;        var hhogTDSNuGetNamePattern = &quot;HedgehogDevelopment.TDS.*&quot; ;&#xA;        var hhogTDSPackageFolders = Directory.EnumerateDirectories(PackagesFolderPath, hhogTDSNuGetNamePattern);&#xA;        foreach(var folder in hhogTDSPackageFolders)&#xA;        {&#xA;            var tasksDllFolder = folder + &quot;/build&quot;;&#xA;            var tasksFileExists = File.Exists(tasksDllFolder + &quot;/HedgehogDevelopment.SitecoreProject.Tasks.dll&quot;);&#xA;            if (tasksFileExists)&#xA;            {&#xA;                TdsNuGetFolder = tasksDllFolder;&#xA;                return true;&#xA;            }&#xA;        }&#xA;        TdsNuGetFolder = &quot;&quot;;&#xA;        ]]&amp;gt;&amp;lt;/Code&amp;gt;&#xA;    &amp;lt;/Task&amp;gt;&#xA;  &amp;lt;/UsingTask&amp;gt;&#xA;&#xA;  &amp;lt;Target Name=&quot;BeforeSitecoreBuild&quot;&amp;gt;&#xA;    &amp;lt;GetTdsNuGetPackageFolder PackagesFolderPath=&quot;$(SolutionDir)/packages/&quot;&amp;gt;&#xA;      &amp;lt;Output TaskParameter=&quot;TdsNuGetFolder&quot; PropertyName=&quot;TdsNuGetPackageDllFolder&quot; /&amp;gt;&#xA;    &amp;lt;/GetTdsNuGetPackageFolder&amp;gt;&#xA;&#xA;    &amp;lt;Message Condition=&quot;$(TdsNuGetPackageDllFolder) == ''&quot;&#xA;             Text=&quot;Solution doesn't use the HedgehogDevelopment.TDS NuGet package. You need to manually copy the 'packages/MyExtensions.TDS.CustomExtensions.1.0.0.0/build/MyExtensions.TDS.CustomExtensions.dll' to your MSBuild directory (C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0).'&quot; /&amp;gt;&#xA;    &amp;lt;Message Condition=&quot;$(TdsNuGetPackageDllFolder) != ''&quot;&#xA;             Text=&quot;Solution uses the HedgehogDevelopment.TDS NuGet package. MyExtensions.TDS.CustomExtensions.DLL will load from there.&quot; /&amp;gt;&#xA;&#xA;    &amp;lt;Copy Condition=&quot;Exists('$(TdsNuGetPackageDllFolder)/HedgehogDevelopment.SitecoreProject.Tasks.dll') and !Exists('$(TdsNuGetPackageDllFolder)/MyExtensions.TDS.CustomExtensions.dll')&quot;&#xA;          SourceFiles=&quot;$(SolutionDir)/packages/MyExtensions.TDS.CustomExtensions.1.0.0.0/build/MyExtensions.TDS.CustomExtensions.dll&quot;&#xA;          DestinationFolder=&quot;$(TdsNuGetPackageDllFolder)/&quot; /&amp;gt;&#xA;  &amp;lt;/Target&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1448" LastEditorUserId="418" LastEditDate="2017-04-05T07:31:06.367" LastActivityDate="2017-04-05T07:31:06.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5239" PostTypeId="1" AcceptedAnswerId="5248" CreationDate="2017-04-04T14:21:21.197" Score="4" ViewCount="1043" Body="&lt;p&gt;The title says it all really. I've heard both terms used interchangeably.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm assuming the DEF is the underlying framework, and xConnect is built on top of that, and it is xConnect that allows you to configure endpoints and integrations from within the Sitecore client.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will Sitecore 8.3 be required for both, or is it just xConnect we have to wait for?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could somebody confirm, or point me to somewhere that distinguishes the two?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1766" LastActivityDate="2017-04-05T02:50:45.240" Title="What's the difference between Data Exchange Framework and xConnect?" Tags="|sitecore-client|data-exchange-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5240" PostTypeId="2" ParentId="5234" CreationDate="2017-04-04T14:59:18.630" Score="0" Body="&lt;p&gt;I would suggest to run audit report + update alt text for media items&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Workaround Solution:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Get the list of media items which do not have alt text.&lt;/li&gt;&#xA;&lt;li&gt;Update Alt text with their item name or title.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scripts to play with:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//Get list of media items&#xA;$items = Get-ChildItem -Path &quot;master:\sitecore\media library\images&quot; -Recurse | Where-Object { $_.Fields[&quot;Alt&quot;] -ne $null }&#xA;&#xA;//Update Alt text for media items&#xA;foreach($item in $items) &#xA;{&#xA;    if($item.&quot;Alt&quot; -eq '') {&#xA;       $item.BeginEdit()&#xA;       $item.Fields[&quot;Alt&quot;].Value = $item.Name&#xA;       $item.EndEdit()&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;note:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I still believe, we would require alt text for all the media items as part of SEO.&lt;/li&gt;&#xA;&lt;li&gt;It would be a big task only for the first time but moving forward we might get media items which are recently installed/uploaded + with no alt text.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;i have done similar task while performing automated migration for content + media items :)&lt;/p&gt;&#xA;" OwnerUserId="891" LastEditorUserId="1000" LastEditDate="2017-10-31T21:16:14.450" LastActivityDate="2017-10-31T21:16:14.450" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5241" PostTypeId="1" CreationDate="2017-04-04T17:20:29.763" Score="0" ViewCount="364" Body="&lt;p&gt;In experience editor for my site, the shared/final toggle is disabled.  I am on Sitecore 8.1 update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already set the &lt;code&gt;Preview.ResolveSite&lt;/code&gt; setting to &lt;code&gt;true&lt;/code&gt;.  Are there any additional steps or considerations for enabling this feature?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2017-04-04T18:02:21.260" Title="Cannot toggle between Shared/Final layout in Experience Editor" Tags="|experience-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5242" PostTypeId="2" ParentId="5214" CreationDate="2017-04-04T17:39:20.923" Score="4" Body="&lt;p&gt;&lt;strong&gt;ANALYSIS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'contentSearch/indexConfigurations/databasePropertyStore' has an&#xA;  invalid token&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;shows that the XPath &lt;code&gt;contentSearch/indexConfigurations/databasePropertyStore&lt;/code&gt; has an invalid token. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason is because you have copy and paste the config file from the mention &lt;a href=&quot;https://www.mikkelhm.dk/archive/defining-a-custom-index-in-sitecore-7-the-absolute-minimum/&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt;. The &lt;code&gt;databasePropertyStore&lt;/code&gt; has invalid characters due to encoding.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From notepad++, when I have double clicked on the word &lt;code&gt;databasePropertyStore&lt;/code&gt;, only one got selected, even if you see that they are the same as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Same encoding:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Scivd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Scivd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;while with different encoding:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C963C.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C963C.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This shows that the word &lt;code&gt;databasePropertyStore&lt;/code&gt; is different. Also, when changing encoding to &lt;strong&gt;ANSI&lt;/strong&gt;, you clearly see the difference in the words:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wJZQy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wJZQy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is why you are getting the above error as it is searching for this XPath: &lt;code&gt;contentSearch/indexConfigurations/databasePropertyStoreâ€Œâ€‹&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLUTION&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to type in instead of copy paste. This will fix the issue.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-04-04T17:39:20.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5243" PostTypeId="2" ParentId="5235" CreationDate="2017-04-04T17:41:00.920" Score="3" Body="&lt;p&gt;During dispatch, EXM validates the email address of each contact. If the email address is determined to be invalid, the contact is enrolled in the &quot;Invalid Address&quot; state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM uses a regular expression to validate the address. You'll find the setting in the /App_Config/Include/EmailExperience/Sitecore.EmailExperience.Core.config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For EXM 3.3:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EmailValidation&quot; value=&quot;^[a-zA-Z0-9_-]+(?:\.[a-zA-Z0-9_-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For EXM 3.4:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EmailValidation&quot; value=&quot;^[a-zA-Z0-9\+\-_]+(?:\.[a-zA-Z0-9\+\-_\']+)*@[a-z\-]+(?:\.[a-z]+)+$&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For EXM 3.4 update 1:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EmailValidation&quot; value=&quot;^[\p{L}0-9\+\-_\!\$\%\&amp;amp;amp;\*\?]+(?:\.[\p{L}0-9\+\-_\'\!\$\%\&amp;amp;amp;\*\?]+)*@(([\p{L}0-9\-]+(?:\.[\p{L}0-9]+)+)|(\[\d{1,3}(\.\d{1,3}){3}\]))$&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I suggest you use the EXM 3.4 update 1 expression.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-04-04T17:41:00.920" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5244" PostTypeId="2" ParentId="5241" CreationDate="2017-04-04T18:02:21.260" Score="2" Body="&lt;p&gt;I found the issue for anyone else who comes across this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had 5 sites all setup to resolve to the same path within the content tree as part of my multi-lingual strategy.  I recently removed two of the sites, but didn't fully remove them by accident (site definition was still there, as well as some events like cache clearing on publish).  After fully removing the two extra sites, the shared/final toggle was re-enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps someone in the future.&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2017-04-04T18:02:21.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5245" PostTypeId="1" CreationDate="2017-04-04T19:13:24.460" Score="3" ViewCount="515" Body="&lt;p&gt;We are using the new Sitecore Publishing Service (SPS) and trying to hook into the BulkPublishingEnd event.  We have the following patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;publishEndResultBatch&amp;gt;&#xA;    &amp;lt;processor type=&quot;Foobar.Feature.Website.Pipelines.PublishBatchResultProcessor, Foobar.Feature.Website&quot;&#xA;               patch:after=&quot;*[@type='Sitecore.Publishing.Service.Pipelines.BulkPublishingEnd.RaiseRemoteEvents, Sitecore.Publishing.Service']&quot; /&amp;gt;&#xA;&amp;lt;/publishEndResultBatch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I verified that the config is correct:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;publishEndResultBatch patch:source=&quot;Sitecore.Publishing.Service.config&quot; argsType=&quot;Sitecore.Publishing.Service.Pipelines.BulkPublishingEnd.PublishEndResultBatchArgs&quot;&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Publishing.Service.Pipelines.BulkPublishingEnd.RaiseRemoteEvents, Sitecore.Publishing.Service&quot;&amp;gt;&#xA;        &amp;lt;param name=&quot;remoteEventCacheClearingThreshold&quot;&amp;gt;1000&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param name=&quot;targetCacheClearHistory&quot; ref=&quot;publishing.service/targetCacheClearHistory&quot;/&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor patch:source=&quot;z-PublishPipeline.config&quot; type=&quot;Foobar.Feature.Website.Pipelines.PublishBatchResultProcessor, Foobar.Feature.Website&quot;/&amp;gt;&#xA;  &amp;lt;/publishEndResultBatch&amp;gt;  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The process runs correctly and reports on the items that were published. &#xA; However, when I access the items directly in the target DB, I'm getting back the pre-updated item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var db = Sitecore.Configuration.Factory.GetDatabase(args.TargetInfo.TargetDatabaseName);&#xA;var item = db.GetItem(publishedItem.EntityId.ToID());  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My results in the immediate window after stepping through the code above are as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.Batch[0].Metadata.AsModified().ModifiedFields.ToArray()[0]&#xA;{Sitecore.Framework.Publishing.Manifest.FieldResult}&#xA;   ChangeType: Modified&#xA;   FieldId: {8cdc337e-a112-42fb-bbb4-4143751e123f}&#xA;   Language: &quot;en&quot;&#xA;   OriginalValue: &quot;0829f0a6-260d-4a74-b7c2-0e27b063845a&quot;&#xA;   Value: &quot;e0b4938c-4d6a-4891-94ab-b5d606a6df01&quot;&#xA;   Version: 1&#xA;&#xA;item.Fields[&quot;{8cdc337e-a112-42fb-bbb4-4143751e123f}&quot;].Value&#xA;&quot;0829f0a6-260d-4a74-b7c2-0e27b063845a&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my Process, I'm also initiating a re-index of a related item, using &lt;code&gt;IndexCustodian.Refresh(...)&lt;/code&gt;.  When the re-index runs, it too has the original revision of the published items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I create a new item and publish, I get back the newly created item, in both instances, like I expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this intended behavior?  Am I missing something in my config?  Maybe the cache isn't getting cleared correctly?  Is there another location in the pipeline that I can hook into and get both:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) a list of changed items&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) context after the items have been updated and the cache cleared.&lt;/p&gt;&#xA;" OwnerUserId="1756" LastEditorUserId="1756" LastEditDate="2017-04-05T04:14:36.680" LastActivityDate="2017-06-14T10:47:32.320" Title="Publishing Service Accessing Incorrect Item Version" Tags="|publishing|publishing-service|publishing-targets|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5246" PostTypeId="1" CreationDate="2017-04-04T22:15:03.543" Score="3" ViewCount="1132" Body="&lt;p&gt;I've setup the Active Directory module (1.3) and the final step that I can't quite figure out is how to get the &lt;code&gt;ldaplogin.aspx&lt;/code&gt; page to work without prompting for credentials.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Checklist:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Windows Authentication configured for &lt;code&gt;ldaplogin.aspx&lt;/code&gt;. Anonymous disabled.&lt;/li&gt;&#xA;&lt;li&gt;Application running using a service account &lt;code&gt;demo\service.scTST&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;User accounts are properly coming from Active Directory and I can login to &lt;code&gt;/sitecore/login&lt;/code&gt; with the same account receiving the prompt.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Am I missing the Service Principal Name (SPN)? How is that properly done in this scenario?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5XHj8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5XHj8.png&quot; alt=&quot;Error logging in&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;With newer versions of Sitecore (8.2+), the &lt;code&gt;authentication&lt;/code&gt; section in the &lt;em&gt;Web.config&lt;/em&gt; sets the mode to &lt;strong&gt;Forms&lt;/strong&gt;. Double check that when trying to set the authentication settings through IIS. You may see that &lt;strong&gt;Forms&lt;/strong&gt; can't be disabled. Simply set the mode to &lt;strong&gt;None&lt;/strong&gt; and then you can change it. The single sign-on works through IE, just not Chrome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding the SPN, we set it on the service account but does not appear to make a difference in this case.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http/servername&#xA;http/servername.company.name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Update 2019-03-09&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Discovered in Chrome that a policy needs to be applied for the Auto Logon feature to work. Check out &lt;code&gt;chrome://policy&lt;/code&gt; to see which ones are currently applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my example, by editing the &lt;code&gt;AuthNegotiateDelegateWhitelist&lt;/code&gt; from within the registry and restarting the browser authentication appeared to work. I updated &lt;code&gt;AuthServerWhitelist&lt;/code&gt; for extra measure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Registry path:&#xA;&lt;code&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;AuthNegotiateDelegateWhitelist&lt;/code&gt; : &lt;code&gt;companyname.com,othercompanyname.com&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;AuthServerWhitelist&lt;/code&gt; : &lt;code&gt;companyname.com,othercompanyname.com&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-03-10T04:33:35.560" LastActivityDate="2019-03-10T04:33:35.560" Title="How to properly setup Active Directory authentication using LDAPLogin.aspx?" Tags="|iis|active-directory-module|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="5247" PostTypeId="2" ParentId="3296" CreationDate="2017-04-04T22:44:00.390" Score="1" Body="&lt;p&gt;There is a new &lt;a href=&quot;https://doc.sitecore.net/xdb_cloud/working_with_xdb_cloud/customizing/rest_api_reference_for_the_xdb_cloud_service#_Get_connection_strings&quot; rel=&quot;nofollow noreferrer&quot;&gt;Get Connection Strings&lt;/a&gt; REST API available for xDB Cloud &lt;code&gt;2.0&lt;/code&gt;, which you can use on step #3.&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2017-04-04T22:44:00.390" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5248" PostTypeId="2" ParentId="5239" CreationDate="2017-04-05T02:50:45.240" Score="5" Body="&lt;p&gt;Data Exchange Framework is an ETL tool that is configured using Sitecore. It provides the ability to define synchronization processes that read data from a source system, transform the data into a format that is compatible with a target system, then write the transformed data to the target system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xConnect is a new API for getting data in and out of xDB. It makes accessing xDB data much easier, consistent, and scalable than in the past.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are independent but complementary products. A DEF provider will be available so you can use xConnect as a source or target system. &lt;/p&gt;&#xA;" OwnerUserId="256" LastActivityDate="2017-04-05T02:50:45.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5249" PostTypeId="1" AcceptedAnswerId="5251" CreationDate="2017-04-05T05:48:11.287" Score="2" ViewCount="176" Body="&lt;p&gt;All of our contacts are identified by a unique customer id.&#xA;By default in the Experience Profile dashboard, we can search by name or e-mail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How can I extend this functionality so that the identifier gets searched too?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/X5NeE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/X5NeE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SC version is 8.2 u2&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-04-05T09:19:07.310" Title="Extend Experience Profile Search with unique identifier" Tags="|experience-profile|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5250" PostTypeId="1" AcceptedAnswerId="5254" CreationDate="2017-04-05T09:07:10.407" Score="2" ViewCount="2716" Body="&lt;p&gt;I have a component on my site called &quot;Menu&quot; along with a corresponding content item &quot;MenuContent&quot; which is used in the header and footer of each page. The rendering makes use of the placeholder path to determine its location within the page and change certain properties accordingly (for analytics purposes). What I am finding is that when this component has caching enabled (on the Rendering definition item: &lt;code&gt;Cacheable&lt;/code&gt;, &lt;code&gt;Vary By Data&lt;/code&gt; both checked) it caches the first instance and uses that for the header and footer. I presume the &lt;code&gt;Vary by Data&lt;/code&gt; option varies the cache depending on the datasource item, so Sitecore uses the same cached HTML for both, even though both should have different HTML. What cache setting &lt;em&gt;should&lt;/em&gt; I use here and will I need to change my code to make that work?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="423" LastEditDate="2017-08-08T14:40:57.823" LastActivityDate="2017-08-08T14:40:57.823" Title="Sitecore cache setting to cache the same component and datasource separately per instance" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5251" PostTypeId="2" ParentId="5249" CreationDate="2017-04-05T09:19:07.310" Score="2" Body="&lt;p&gt;You can override the contact search provider for the Experience Profile application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is defined in the &lt;strong&gt;Sitecore.ExperienceProfile.config&lt;/strong&gt; as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;contactSearchProvider type=&quot;Sitecore.Cintel.ContactSearchProvider, Sitecore.Cintel&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code-wise it looks like you should copy-paste the disassembled code &lt;em&gt;(sadly)&lt;/em&gt; in your implementation and customize the implementation of the &lt;code&gt;private SearchResults&amp;lt;IndexedContact&amp;gt; QueryIndex(IProviderSearchContext ctx, ContactSearchParameters parameters)&lt;/code&gt; method. &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-04-05T09:19:07.310" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5252" PostTypeId="1" CreationDate="2017-04-05T09:31:11.983" Score="11" ViewCount="1386" Body="&lt;p&gt;We are replacing our native Sitecore authorization and user management in our customer portal with Azure AD. We would like Azure AD to also provide some profile data (we will probably extend the schema), as well as controlling membership of Sitecore security roles based on a combination of Azure AD group membership and profile data. Our aim is to operate with virtual users, with an extremely limited shadow in Sitecore where necessary (e.g. some application preferences).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our requirements include:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Support for multiple domains (e.g. ourcompany.com, ourcompany.dk, ourcompany.de)&lt;/li&gt;&#xA;&lt;li&gt;Server side connection to external web services (probably RESTful) that are protected by the same Azure AD authorization and provide user specific data&lt;/li&gt;&#xA;&lt;li&gt;Client side connection to these same services (e.g. as an AJAX request) from within Sitecore pages&lt;/li&gt;&#xA;&lt;li&gt;Single Sign On (log in to all sites/services one-time) would be nice to have, seamless experience of the data feeds in point 3 is essential.&lt;/li&gt;&#xA;&lt;li&gt;Execute business logic on log-in to determine which Sitecore security roles an authorized acount should belong to&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;While we wait for Azure AD to be integrated into Sitecore 8.3 (according to the road map) there are numerous approaches available, and various modules/code examples provided.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To quickly list a few options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Using  Azure AD domain services to clip into the Sitecore AD module&lt;/li&gt;&#xA;&lt;li&gt;Using Azure AD B2C with OAUTH&lt;/li&gt;&#xA;&lt;li&gt;Using the ADFS module&lt;/li&gt;&#xA;&lt;li&gt;Using the OWIN federated indentity module&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;What are the most robust approaches/technologies (provide flexibility, transparency of implementation and management, minimal workarounds/hacks, open-endedness) for implementing an architecture that supports this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the typical challenges we can expect to face with them?&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="345" LastEditDate="2019-12-22T10:09:43.030" LastActivityDate="2019-12-22T10:09:43.030" Title="Architecture choices for integrating Azure AD with Sitecore" Tags="|authentication|azure-ad|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5254" PostTypeId="2" ParentId="5250" CreationDate="2017-04-05T09:59:33.463" Score="5" Body="&lt;p&gt;The caching needed is &lt;code&gt;Vary by Param&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From this article: &lt;a href=&quot;https://sitecorebasics.wordpress.com/2011/10/30/basics-of-html-caching/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorebasics.wordpress.com/2011/10/30/basics-of-html-caching/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Vary: &lt;strong&gt;Vary by Param&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: &lt;strong&gt;Sitecore cahces the output for each parameter accepted by the rendering&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I was able to achieve the required result by checking the &quot;Vary by Param&quot; option (in addition to &quot;Vary by Data&quot;) on the rendering definition item. In the places where the rendering was used, I simply added one extra parameter in the Parameters field of the rendering properties, making sure the value of the parameter was different for the different places it was used. The parameter was not used in code anywhere, so no code changes were required.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-04-05T09:59:33.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5255" PostTypeId="1" AcceptedAnswerId="5257" CreationDate="2017-04-05T14:23:43.680" Score="0" ViewCount="2388" Body="&lt;p&gt;Im using Sitecore 7.2 on a split CM/CD environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I publish an item on the CM I get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #73 10:01:10 ERROR Could not update index entry. Action: 'Saved', Item: '{8EDE5C9E-265D-434A-9D1F-763B7755A9A0}' &#xA;Exception: System.Threading.LockRecursionException &#xA;Message: Recursive read lock acquisitions not allowed in this mode. &#xA;Source: System.Core &#xA;at System.Threading.ReaderWriterLockSlim.TryEnterReadLockCore(TimeoutTracker timeout) &#xA;at System.Threading.ReaderWriterLockSlim.TryEnterReadLock(TimeoutTracker timeout) &#xA;at System.Threading.ReaderWriterLockSlim.TryEnterReadLock(Int32 millisecondsTimeout) &#xA;at Sitecore.Search.IndexDeleteContext..ctor(ILuceneIndex index) &#xA;at Sitecore.Search.Crawlers.DatabaseCrawler.DeleteItem(Item item) &#xA;at Sitecore.Data.Managers.IndexingProvider.UpdateItem(HistoryEntry entry, Database database) &#xA;at Sitecore.Data.Managers.IndexingProvider.UpdateIndex(HistoryEntry entry, Database database)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which is causing the item to not be indexed on the CD which means it doesnt show up on the page. Not sure why this is ocurring?&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-04-05T16:45:10.587" Title="Recursive read lock acquisitions not allowed in this mode" Tags="|lucene|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5256" PostTypeId="2" ParentId="5245" CreationDate="2017-04-05T16:10:33.013" Score="0" Body="&lt;p&gt;I found that clearing the item from all the caches fixes the issue.  From what I've read this is supposed to already occur in the &lt;code&gt;Sitecore.Publishing.Service.Pipelines.BulkPublishingEnd.RaiseRemoteEvents&lt;/code&gt; processor and therefore specifying the custom processor after this processor, I would have access to post-publish data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added the following code to the custom processor.  My only concern with this approach, is the impact on site performance.  I don't seem to be able to clear a single item from the prefetch cache, like the other caches.  Does anyone know if there is a way to do this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;var db = Sitecore.Configuration.Factory.GetDatabase(args.TargetInfo.TargetDatabaseName);&#xA;var prefetch = GetPrefetchCache(db);&#xA;prefetch.Clear();&#xA;&#xA;foreach (var publishedItem in args.Batch)&#xA;{&#xA;    var id = publishedItem.EntityId.ToID();&#xA;    _ClearFromCache(db, id);&#xA;    var item = db.GetItem(id);&#xA;...&#xA;&#xA;&#xA;private void _ClearFromCache(Database db, ID itemID)&#xA;{&#xA;&#xA;    db.Caches.DataCache.RemoveItemInformation(itemID);&#xA;&#xA;    //clear item cache&#xA;    db.Caches.ItemCache.RemoveItem(itemID);&#xA;&#xA;    //clear standard values cache&#xA;    db.Caches.StandardValuesCache.RemoveKeysContaining(itemID.ToString());&#xA;&#xA;    //remove path cache&#xA;    db.Caches.PathCache.RemoveKeysContaining(itemID.ToString());&#xA;&#xA;    var prefetch = GetPrefetchCache(db);&#xA;    prefetch.Clear();&#xA;}&#xA;&#xA;private static ICacheInfo GetPrefetchCache(Database database)&#xA;{&#xA;    return&#xA;        global::Sitecore.Caching.CacheManager.GetAllCaches()&#xA;              .FirstOrDefault(cache =&amp;gt; cache.Name.Contains($&quot;Prefetch data({database.Name})&quot;));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1756" LastEditorUserId="1756" LastEditDate="2017-04-05T16:15:39.980" LastActivityDate="2017-04-05T16:15:39.980" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5257" PostTypeId="2" ParentId="5255" CreationDate="2017-04-05T16:45:10.587" Score="0" Body="&lt;p&gt;Given that the error is a file locking error, the first thing that I would do (if you have access) is back up and then wipe out your existing indexes on the file system. You can do this by deleting the index files/directories from your &lt;code&gt;Data/Indexes&lt;/code&gt; folder. Once you have done so, rebuild the indexes and the error should be gone. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason why this happens is that sometimes Windows has issues releasing locks from file handles, which could be due to any number of factors. Sometimes, this is caused by the web process currently using the index; other times, a corruption on the last indexing operation; and more. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Clearing out the index files essentially &quot;resets&quot; the solution/wipes the slate as far as indexing goes, enabling you to replace the corrupted files with fresh ones (that are hopefully not corrupted).&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-04-05T16:45:10.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5258" PostTypeId="1" AcceptedAnswerId="5259" CreationDate="2017-04-05T18:28:08.400" Score="7" ViewCount="544" Body="&lt;p&gt;I have a 8.0 site that just started having some problems whenever I try to edit the Renderings (both final and shared). I'm getting a yellow screen displaying as soon as I hit &quot;Edit&quot;, as seen here:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vHefY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vHefY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Upon checking the logs, I can't decipher anything too helpful:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;7064 14:18:30 ERROR Application error.&#xA;  Exception: System.Web.HttpUnhandledException&#xA;  Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;  Source: System.Web&#xA;     at System.Web.UI.Page.HandleError(Exception e)&#xA;     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;     at System.Web.UI.Page.ProcessRequest()&#xA;     at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)&#xA;     at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;     at ASP.sitecore_shell_default_aspx.ProcessRequest(HttpContext context)&#xA;     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&#xA;  Exception: System.Reflection.TargetInvocationException&#xA;  Message: Exception has been thrown by the target of an invocation.&#xA;  Source: mscorlib&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;     at Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Boolean includeStatic, Object[] parameters)&#xA;     at Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e)&#xA;     at Sitecore.Shell.Web.UI.SecurePage.OnLoad(EventArgs e)&#xA;     at System.Web.UI.Control.LoadRecursive()&#xA;     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&#xA;  Exception: System.ArgumentNullException&#xA;  Message: Value cannot be null.&#xA;  Parameter name: value&#xA;  Source: Sitecore.Kernel&#xA;     at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;     at Sitecore.Web.WebUtil.SafeEncode(String value)&#xA;     at Sitecore.Shell.Applications.Layouts.DeviceEditor.DeviceEditorForm.RenderRenderings(DeviceDefinition deviceDefinition, Int32 selectedIndex, Int32 index)&#xA;     at Sitecore.Shell.Applications.Layouts.DeviceEditor.DeviceEditorForm.Refresh()&#xA;     at Sitecore.Shell.Applications.Layouts.DeviceEditor.DeviceEditorForm.OnLoad(EventArgs e)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This template has standard values for renderings that we aren't overriding, and I'm able to edit the renderings on the standard values just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case its helpful, here's the raw values of the Shared and Final renderings fields (sorry for the image, but the Stack Exchange editor didn't like the markup):&#xA;&lt;a href=&quot;https://i.stack.imgur.com/86Psa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/86Psa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what could be causing this?&lt;/p&gt;&#xA;" OwnerUserId="699" LastEditorUserId="423" LastEditDate="2017-06-22T14:14:54.037" LastActivityDate="2018-01-24T16:34:53.283" Title="Yellow screen (YSOD) and unhelpful errors when trying to edit the renderings/presentation details on a page" Tags="|presentation|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5259" PostTypeId="2" ParentId="5258" CreationDate="2017-04-05T19:15:25.010" Score="8" Body="&lt;p&gt;I have been able to replicate the error you are having. The reason is because the placeholder are left blank. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I have this xml for the Shared Layout:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; &amp;gt;&amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot; l=&quot;{14030E9F-CE92-49C6-AD87-7D49B50E42EA}&quot;&amp;gt;&amp;lt;r id=&quot;{CE4ADCFB-7990-4980-83FB-A00C1E3673DB}&quot; ph=&quot;test&quot; uid=&quot;{52BDC987-3ED2-42DF-B69F-57B5B8C1EE1C}&quot; /&amp;gt;&amp;lt;/d&amp;gt;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I remove the &lt;code&gt;ph=&quot;test&quot;&lt;/code&gt;, it will crash with the error you mentioned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the screenshot you provided as shown below, there are no placeholders in the entries. You will require to either update the &lt;code&gt;XML&lt;/code&gt; manually by adding:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For Shared Layout&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ph=&quot;&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r id=&quot;{CE4ADCFB-7990-4980-83FB-A00C1E3673DB}&quot; ph=&quot;&quot; uid=&quot;{52BDC987-3ED2-42DF-B69F-57B5B8C1EE1C}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For Final Layout&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;s:ph&quot;&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r uid=&quot;{F991D823-656C-44A2-B89C-B4AAFD172A5F}&quot; s:ph=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will at least help you to open the modal without errors. Note that, once you are able to open the modal, you need to set the appropriate placeholder value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or you can do it from the Standard Values. But I am pretty sure you will need to do it manually, that is, modifying the xml.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NLxKw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NLxKw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your screenshot you provided, you already see that there is only 1 rendering that has a placeholder. The first one in the Final Layout, which is &lt;strong&gt;SecondarySidebar&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-04-05T19:25:16.553" LastActivityDate="2017-04-05T19:25:16.553" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5260" PostTypeId="1" AcceptedAnswerId="5261" CreationDate="2017-04-05T23:54:29.670" Score="5" ViewCount="329" Body="&lt;p&gt;We are hosting one of our clients Sitecore Application on Azure with WAF in place. I would like to know will there be any impact on Sitecore Analytics as all the web request will be first hitting to WAF and then will be routed to actual delivery servers for processing. In such scenario, how we can efficiently track IPs of the visitors. Does anyone come across such scenarios.&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="73" LastEditDate="2017-04-06T09:31:20.703" LastActivityDate="2017-04-06T09:31:20.703" Title="WAF on Sitecore Delivery Servers and Analytics Tracking" Tags="|xdb|experience-analytics|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5261" PostTypeId="2" ParentId="5260" CreationDate="2017-04-06T00:19:36.070" Score="4" Body="&lt;p&gt;This depends on the WAF. If the WAF works as a proxy and replaces origin IP with its own IP, then you can do the following steps to get Sitecore Analytics using the correct IP. This applies to any Proxy (i.e. load balancer etc.):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure that the WAF sets the origin IP into the X-Forwarded-For&#xA;header attribute (can use a different one, but this is the standard)&lt;/li&gt;&#xA;&lt;li&gt;In Sitecore.Analytics.Tracking.config change the&#xA;Analytics.ForwardedRequestHttpHeader setting to the value:&#xA;X-Forwarded-For&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This tells Sitecore to instead of the request IP to use the X-Forwarded-For header attribute (which is passed on by the Proxy) for Analytics. &lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-04-06T00:19:36.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5262" PostTypeId="1" CreationDate="2017-04-06T03:44:07.623" Score="0" ViewCount="191" Body="&lt;p&gt;We are facing very strange issue. On a page we have one Banner(B) and two Container module/component C1,C2&#xA;Here is sequence on page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;B&lt;/p&gt;&#xA;&#xA;&lt;p&gt;C1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;C2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Experience Editor &lt;/p&gt;&#xA;&#xA;&lt;p&gt;when I add one Container module below C1 and save , it move upward and finally placed between B &amp;amp; C1 ( It should placed below C1 )&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when I add one Container module below C2 and save , it move upward and finally placed between C1 &amp;amp; C2 ( It should placed below C2 )&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically it's multilingual website( EN , ES ) so basically it's working fine in EN but not in ES&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any body might have faced this issue please suggest&lt;/p&gt;&#xA;" OwnerUserId="1349" LastActivityDate="2017-04-06T03:44:07.623" Title="Component/Module placement issue in experience editor in Sitecore 8.1" Tags="|sitecore-client|experience-editor|presentation|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5263" PostTypeId="1" CreationDate="2017-04-06T09:50:12.967" Score="2" ViewCount="1592" Body="&lt;p&gt;We have enabled language fallback and it's working great. Until i found this issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have many languages en-gb, de-de,it-it etc and de-de is falling back to en-gb. We have a template called news and i have enabled item level fallback on the standard values of news template. So any news article will be in en-gb and de-de(fallback to en-gb). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we remove a particular news article in de-de but exists in all other languages. I tried creating new version for de-de and tried removing the version, Its falling back to en-gb.(Kind of make sense). This left with no option for content editors to not have version for particular news article in de-de.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do this?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2017-08-04T20:15:40.473" Title="Disable Language Fallback for specific item language" Tags="|multilingual|language-fallback|versions|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5264" PostTypeId="1" AcceptedAnswerId="5679" CreationDate="2017-04-06T11:37:08.130" Score="2" ViewCount="786" Body="&lt;p&gt;I have been following Anders Laub's tutorials on implementing some WebAPI controllers using ServicesApiController and just like at the bottom of this &lt;a href=&quot;https://laubplusco.net/implementing-webapi-service-using-servicesapicontroller-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;page&lt;/a&gt; I received the 403 Forbidden error when making the API call. I changed the Sitecore.Services.SecurityPolicy from ServicesLocalOnlyPolicy to ServicesOnPolicy and confirmed that the calls now work with this new setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does this create a security risk that I should be concerned about? If I understand correctly, this security setting exposes Sitecore's internal API to remote clients and somebody with an understanding of Sitecore's API would be able to write their own calls to mess with things they shouldn't be messing with. Am I correct in this understanding?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a simple enough way to secure my website from malicious API calls or should I find an alternative method of enabling WebAPI functionality that doesn't use ServicesApiController?&lt;/p&gt;&#xA;" OwnerUserId="1133" LastActivityDate="2017-05-12T09:42:42.090" Title="Does implementing a WebApi service using ServicesApiController expose a significant security risk?" Tags="|security|webapi|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5265" PostTypeId="2" ParentId="5229" CreationDate="2017-04-06T13:48:18.193" Score="3" Body="&lt;p&gt;The Profile and Pattern Cards are all stored in the Sitecore SQL Databases (master and web) so you can get the list of Patterns or Profile Cards for a given Profile via the Sitecore API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Profiles are stored under &lt;code&gt;/sitecore/system/Marketing Control Panel/Profiles&lt;/code&gt; and each Profile has its own set of Profile and Pattern Cards. When you have the Items they can be cast to their respective Types with constructors or Create methods.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Profile:&lt;/strong&gt; &lt;em&gt;Sitecore.Analytics.Data.Items.ProfileItem&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// cast Sitecore Item to Profile&#xA;var profile = new ProfileItem(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Profile Card:&lt;/strong&gt; &lt;em&gt;Sitecore.Analytics.Data.Items.ProfileCardItem&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// get profile cards from a profile item&#xA;var profileCards = profile.ProfileCards;&#xA;&#xA;// cast Sitecore Item to Profile Card&#xA;var profileCard = ProfileCardItem.Create(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pattern Card:&lt;/strong&gt; &lt;em&gt;Sitecore.Analytics.Data.Items.PatternCardItem&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// get pattern cards from a profile item&#xA;var patternCards = profile.Patterns;&#xA;&#xA;// cast Sitecore Item to Pattern Card&#xA;var patternCard= PatternCardItem.Create(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Converting C# objects to json:&lt;/strong&gt;&#xA;Libraries are available to help with this. A popular one is Newtonsoft.Json which is available via NuGet: &lt;a href=&quot;https://www.nuget.org/packages/Newtonsoft.Json/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nuget.org/packages/Newtonsoft.Json/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var jsonString = Newtonsoft.Json.JsonConvert.SerializeObject(profileCardsObject);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It may be a good idea to select these objects into custom objects with only the properties you want in the resulting json object.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="605" LastEditDate="2017-11-10T14:42:45.653" LastActivityDate="2017-11-10T14:42:45.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5266" PostTypeId="1" AcceptedAnswerId="5267" CreationDate="2017-04-06T14:54:16.073" Score="5" ViewCount="2470" Body="&lt;p&gt;I have a reference to an item that uses the &lt;code&gt;sitecore:&lt;/code&gt; protocol:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;sitecore://master/{...GUID HERE...}?lang=en&amp;amp;ver=0&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I could attempt to parse this URI manually to look up the item, but I'm pretty certain there's an existing utility somewhere to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, searching for &lt;code&gt;sitecore:&lt;/code&gt; protocol URIs leads to a lot of answers about generating URLs from items, and that's &lt;strong&gt;not&lt;/strong&gt; what I want in this case.&lt;/p&gt;&#xA;" OwnerUserId="286" LastEditorUserId="73" LastEditDate="2018-02-13T11:17:34.807" LastActivityDate="2018-02-13T11:17:34.807" Title="How do I get an Item from Sitecore's internal URI protocol?" Tags="|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5267" PostTypeId="2" ParentId="5266" CreationDate="2017-04-06T15:04:18.607" Score="9" Body="&lt;p&gt;It's &lt;code&gt;Sitecore.Data.ItemUri&lt;/code&gt; format. You can use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var itemUri = ItemUri.Parse(string itemUriString)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to get &lt;code&gt;ItemUri&lt;/code&gt; class object and then &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Database.GetItem(ItemUri itemUri)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to get the &lt;code&gt;Item&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-04-06T15:04:18.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5268" PostTypeId="2" ParentId="5266" CreationDate="2017-04-06T15:05:20.680" Score="5" Body="&lt;p&gt;This is a Sitecore &lt;code&gt;ItemUri&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general, references in Sitecore take one of these forms:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;.ID: {DAC24EDD-44FB-42EF-9ECD-1E8DAF706386}&lt;/li&gt;&#xA;&lt;li&gt;.Uri: sitecore://master/{DAC24EDD-44FB-42EF-9ECD-1E8DAF706386}?lang=en&amp;amp;ver=1&lt;/li&gt;&#xA;&lt;li&gt;.DataUri: sitecore://{DAC24EDD-44FB-42EF-9ECD-1E8DAF706386}?lang=en&amp;amp;ver=1&lt;/li&gt;&#xA;&lt;li&gt;.ItemUri: sitecore://master/{DAC24EDD-44FB-42EF-9ECD-1E8DAF706386}?lang=en&amp;amp;ver=1&lt;/li&gt;&#xA;&lt;li&gt;.VersionUri: en, 1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It can be constructed from a String, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var uri = ItemUri.Parse(yourString);&#xA;var uri = DataUri.Parse(yourString);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(examples)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For further reference, I blogged about this a while back. &lt;a href=&quot;http://intothecore.cassidy.dk/2016/02/sitecore-decennial-series-1-know-your.html&quot; rel=&quot;noreferrer&quot;&gt;Know your item, remember your context&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-04-06T15:05:20.680" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5269" PostTypeId="2" ParentId="5263" CreationDate="2017-04-06T15:27:50.430" Score="1" Body="&lt;p&gt;Assuming you want the de-DE version to goto 404 page if no news for that language is present, Did you try &quot;Enforce Version Presence - Hide this item if no language version exists [shared]&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per definition from this post &lt;a href=&quot;https://kb.sitecore.net/articles/350702&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/350702&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In a multi language solution, you can make sure that an item is only&#xA;  rendered on a specific language version of the website, if the item&#xA;  has a version in that particular language.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;In Sitecore versions prior to 8.1, default behavior returned empty&#xA;  untranslated items if the requested item language version did not&#xA;  exist. This usually manifested in seeing a lot of '$name' macros or&#xA;  empty pages instead of a real content or Item Not Found page. Handling&#xA;  this properly required custom code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Starting from Sitecore 8.1 there is an Enforce Version Presence&#xA;  feature configurable on the website and on the relevant item or&#xA;  template Standard Values level which allows to achieve the&#xA;  aforementioned behavior using the below configuration.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;When you enable Enforce Version Presence for an item, an actual&#xA;  version of the item in the relevant language must be available for it&#xA;  (in other words, the item has to be translated) to be returned from&#xA;  the API and displayed on the website. If an item with no versions in&#xA;  the context language is requested by URL, Sitecore will redirect to&#xA;  the Item Not Found page if this feature is enabled.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;By default, the Enforce Version Presence feature is disabled. You&#xA;  should enable the feature on the relevant websites and on the relevant&#xA;  items or template Standard Values.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow these steps to enable version presence enforcement on your Sitecore instance:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable Enforce Version Presence on the desired sites(*) in Sitecore&#xA;configuration(**). &#xA;This change can be done within any custom include&#xA;config file.&#xA;&lt;code&gt;&#xA;&amp;lt;sites&amp;gt; &#xA;&amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;enforceVersionPresence&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&lt;/code&gt;  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable the feature on items and/or template Standard&#xA;Values where you would like to see the feature enabled. The checkbox&#xA;field that enables this feature is called Enable Enforce Version&#xA;Presence and is placed under Advanced  section. If you do not see&#xA;the Advanced section, in the ribbon, on the View tab, enable&#xA;Standard Fields. &#xA;The value of this field gets inherited as any other&#xA;field. This also means you can override this setting on items if&#xA;needed.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1341" LastEditorUserId="423" LastEditDate="2017-08-04T20:15:40.473" LastActivityDate="2017-08-04T20:15:40.473" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5272" PostTypeId="1" CreationDate="2017-04-06T21:05:24.137" Score="1" ViewCount="271" Body="&lt;p&gt;We are using the Sitecore 8.1, and I have patched a field called categories in the coveo default Index configuration node to make it a facet. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&amp;lt;coveo&amp;gt;&#xA;  &amp;lt;defaultIndexConfiguration type=&quot;Coveo.AbstractLayer.CoveoDefaultIndexConfiguration, Coveo.AbstractLayer&quot;&amp;gt;&#xA;    &amp;lt;fieldMap type=&quot;Coveo.SearchProvider.CoveoFieldMap, Coveo.SearchProvider&quot;&amp;gt;&#xA;      &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;        &amp;lt;fieldType patch:before=&quot;fieldType[@fieldName='alltemplates']&quot; fieldName=&quot;categories&quot; isFacet=&quot;true&quot; isExternal=&quot;true&quot; isMultiValue=&quot;true&quot; settingType=&quot;Coveo.Framework.Configuration.FieldConfiguration, Coveo.Framework&quot; /&amp;gt;&#xA;      &amp;lt;/fieldNames&amp;gt;&#xA;    &amp;lt;/fieldMap&amp;gt;&#xA;    &amp;lt;/defaultIndexConfiguration&amp;gt;&#xA;    &amp;lt;/coveo&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After reindexing the web index, I see the categories as facet field on the CES server, and we were able to query it as facet field.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ete6C.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ete6C.png&quot; alt=&quot;With facet settings.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Randomly, this setting is lost on the index server, and it is no more a facet field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CRDRG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CRDRG.png&quot; alt=&quot;Facet settings Lost&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All we have to do is to re-index the web index to make it as a facet field again. Can anyone tell me if I am missing some other configuration in sitecore ? &lt;/p&gt;&#xA;" OwnerUserId="58" LastEditorUserId="90" LastEditDate="2017-04-07T02:48:00.310" LastActivityDate="2017-10-02T14:37:50.173" Title="Coveo Facet Field Indexing Issue" Tags="|coveo|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5273" PostTypeId="1" CreationDate="2017-04-06T23:12:57.510" Score="1" ViewCount="120" Body="&lt;p&gt;I am trying to Schedule an item to be target published from UAT to a Production environment, is there a solution for this? Because as I understand out of the box, it does not work, I have tried many different options, different agents were implemented. But there was no solution that allowed me to &quot;schedule&quot; to a &quot;target&quot; database. So my scenario is as following, I have UAT(CM) environment, and I want to target publish from it to the my Production(CD), but I also would like to schedule the publishing, I would like to save it and see it right away in UAT, but for the production I would like to schedule for the future day.&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="982" LastEditDate="2017-04-07T07:38:31.177" LastActivityDate="2017-04-07T13:15:47.187" Title="Schedule Publishing to a Target Source" Tags="|publishing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5277" PostTypeId="1" CreationDate="2017-04-07T09:03:32.040" Score="5" ViewCount="627" Body="&lt;p&gt;In a feature for an event I have 2 templates: Speaker and Session. A session has a speaker, so in the session template we have a field to select a speaker.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As project templates, I also created speaker and session and they inherit from the feature templates (and some others to make them a worthy page). We did opt to set the data for these items on the template itself as they will never be personalized or anything like that and it makes things quite a bit easier (for dev and content editor).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But then I have an issue if I want to stick to the Helix guidelines: the &quot;speaker&quot; field in my session (feature) template will need a source to please the editors. In that source, I cannot use an exact location so I use a query (which is fine) but I would like/need to use the template that is allowed. But that I cannot do because if I follow Helix I should not be aware of the template (as that is on project level). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know some people will say: datasource everything - don't put it on your template..  that would fix this issue but create 2 new ones: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How do I explain my editor that he needs to create at least 2 items just to add a speaker or a session?&lt;/li&gt;&#xA;&lt;li&gt;How do I create a list overview of all sessions of a speaker? I can search for all session item that have that speaker selected, but that would give me the datasources and not the items I can link to.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I don't want to start a(nother) discussion here on datasourcing everything or whether Sitecore is missing some functionality on base-templates to fully incorporate Helix (let's do that on Slack) but how should I get around this? I actually just want to put the source on a (feature) field...&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="1720" LastEditDate="2017-04-29T00:22:46.630" LastActivityDate="2017-05-18T16:14:01.733" Title="Helix and field sources" Tags="|helix|templates|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5278" PostTypeId="1" CreationDate="2017-04-07T10:10:18.130" Score="2" ViewCount="62" Body="&lt;p&gt;Do any of the following three checkboxes found on goals influence whether the goal appears on the timeline in the Experience Profile?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OxGgz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OxGgz.png&quot; alt=&quot;Sitecore screenshot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have goals that have been used for purposes unrelated to marketing, and we'd like to not see these on the timeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it is not possible using a combination of these options, how else could this be achieved?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1766" LastActivityDate="2017-04-07T20:25:39.120" Title="Is there a way to prevent a goal from appearing on the timeline in the Experience Profile" Tags="|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5280" PostTypeId="1" AcceptedAnswerId="5318" CreationDate="2017-04-07T12:01:12.957" Score="12" ViewCount="1158" Body="&lt;p&gt;I'm wondering how to handle multiple datacenters for CD servers in Azure PaaS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to this ( &lt;a href=&quot;https://kb.sitecore.net/articles/610106&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/610106&lt;/a&gt; ) you can use transactional replication for your Web databases (even though it's not really necessary, and has some limitations/caveats), but what to do about the Core databases? I can't seem to find any official information about how to handle those using Azure SQL Databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm asking this question related to Sitecore 8.2 update 2 with official Azure PaaS support.&lt;/p&gt;&#xA;" OwnerUserId="845" LastEditorUserId="312" LastEditDate="2017-04-11T07:12:48.703" LastActivityDate="2017-04-11T07:12:48.703" Title="How to handle multiple Core Databases in a multi-datacenter setup on Azure PaaS" Tags="|azure|sql-database|paas|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5282" PostTypeId="2" ParentId="5273" CreationDate="2017-04-07T13:15:47.187" Score="1" Body="&lt;p&gt;The typical approach would be to have multiple publishing targets. The standard 'Web' one would be where you publish on your UAT (CM) and your CD would be pointed at a different database (let's call it 'Delivery').&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you are logged into CM, you can choose which publishing targets to push to: 'Web' or 'Delivery'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also configure a publishing agent or use a publishing module for scheduled publishing to push out to the 'Delivery' database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some scheduled publishing modules:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Automated_Publisher.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Automated_Publisher.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://mikael.com/2016/03/yet-another-sitecore-scheduled-publishing-engine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mikael.com/2016/03/yet-another-sitecore-scheduled-publishing-engine/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-04-07T13:15:47.187" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5283" PostTypeId="1" AcceptedAnswerId="5358" CreationDate="2017-04-07T18:46:57.897" Score="1" ViewCount="435" Body="&lt;p&gt;I'm working on an upgrade from Sitecore 7.5 (rev. 141003) to 8.2 u2. There is a custom save action in the old project that ends up appending some data about the user currently filling out the form. The issue I'm running into is with attaching files. The function &lt;code&gt;IncludeAttachments&lt;/code&gt; is not in &lt;code&gt;Sitecore.WFFM.Actions.SaveActions.SendMessage&lt;/code&gt; so I'm not too sure how I can replicate that. Is overriding the entire email functionality for wffm really necessary or is there some kind of pipeline/property in the &lt;code&gt;SendMessage&lt;/code&gt; class I can override to append this user data to instead of overriding the Execute action? If not I think I'm going to need to manually attach the files by duplicating the functionality that was in the &lt;code&gt;IncludeAttachments&lt;/code&gt; method and looping through the fields being passed into my class's Execute method which sounds kind of brutal.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-04-07T18:52:53.380" LastActivityDate="2018-02-07T18:31:00.957" Title="WFFM Append Custom Data To Email" Tags="|wffm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5284" PostTypeId="2" ParentId="5278" CreationDate="2017-04-07T20:25:39.120" Score="1" Body="&lt;p&gt;While I need to disclaim that I haven't tried this myself yet, I would think you have three options to hide those &quot;special&quot; goals.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Gentle Approach&lt;/strong&gt; would be changing them to page events instead - and leave all boxes unchecked.  Page events are really the same template as goals anyway -behind the scenes, goals are just page events with the &quot;isgoal&quot; value set to true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Explanation of the options from sitecore here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/configuring_the_xfile/configure_a_page_event_to_appear_in_the_experience_profile&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/configuring_the_xfile/configure_a_page_event_to_appear_in_the_experience_profile&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Explanation of difference between the two types of events here:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1586/when-would-you-use-a-page-event/1588&quot;&gt;When would you use a Page Event?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Aggressively Hide Them&lt;/strong&gt; - If page events are still showing up where they shouldn't - then create a custom transformer to hide them from the timeline's underlying dataset completely.   To do this, register your transform in App_Config/Include/ExperienceProfile/Sitecore.ExperienceProfile.Client.config  (of course using a patch is preferable)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Info on creating a custom transform (in this example, they are reformatting the date - but you could do use this to suppress certain events and/or goals too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/855/how-do-you-change-the-date-format-in-sitecore-experience-profile-journey-timelin&quot;&gt;How do you change the date format in Sitecore Experience Profile journey timeline?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Go Nuclear&lt;/strong&gt; You could go one step back from the transform and modify the query to populate the data itself (this would be the last resort).  To do this, you'd modify the ExperienceProfileContactDataSourceQueries Pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Info on the entire customization process here&#xA;&lt;a href=&quot;https://jonathanrobbins.co.uk/2016/03/15/extending-sitecore-experience-profile-experienceprofilecontactviews/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2016/03/15/extending-sitecore-experience-profile-experienceprofilecontactviews/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1245" LastEditorUserId="-1" LastEditDate="2017-04-13T12:53:46.330" LastActivityDate="2017-04-07T20:25:39.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5285" PostTypeId="1" CreationDate="2017-04-07T21:44:01.397" Score="3" ViewCount="504" Body="&lt;p&gt;I am sure I am missing something. I am getting a &amp;quot;Processing will abort because there are no processor definitions are assigned to the pipeline&amp;quot; error when running the pipeline batch. I have my converter type and processor type defined correctly on my pipeline step. The converter step gets called. I have the pipeline selected on the pipeline batch. Any ideas? Thanks in advance.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class CheckforContacts : BasePipelineStepConverter&amp;lt;ItemModel&amp;gt;&#xA;{&#xA;  private static readonly Guid TemplateId = &#xA;                    Guid.Parse(&amp;quot;{F9F53BC3-093F-4ABB-A2AA-097FB0A03D16}&amp;quot;);&#xA;&#xA;  public CheckforContacts(IItemModelRepository repository) : base(repository)&#xA;  {&#xA;    this.SupportedTemplateIds.Add(TemplateId);&#xA;  }&#xA;&#xA;  protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep)&#xA;  {&#xA;    AddEndpointSettings(source, pipelineStep);&#xA;  }&#xA;&#xA;  private void AddEndpointSettings(ItemModel source, PipelineStep pipelineStep)&#xA;  {&#xA;    var settings = new EndpointSettings();&#xA;  &#xA;    pipelineStep.Plugins.Add(settings);&#xA;  }&#xA;}&#xA;&#xA;public class ReadContactsStepProcessor : BaseReadDataStepProcessor&#xA;{&#xA;  public override bool CanProcess(PipelineStep pipelineStep, PipelineContext pipelineContext)&#xA;  {&#xA;    return base.CanProcess(pipelineStep, pipelineContext);&#xA;  }&#xA;  public override void Process(PipelineStep pipelineStep, PipelineContext pipelineContext)&#xA;  {&#xA;    base.Process(pipelineStep, pipelineContext);&#xA;  }&#xA;  protected override void ReadData(Endpoint endpoint, PipelineStep pipelineStep, PipelineContext pipelineContext)&#xA;  {&#xA;    throw new NotImplementedException();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="853" LastEditorUserId="2359" LastEditDate="2020-10-08T10:46:21.043" LastActivityDate="2020-10-08T10:46:21.043" Title="Data Exchange Framework No Processor Definitions Assigned Error" Tags="|data-exchange-framework|" AnswerCount="4" CommentCount="3" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5286" PostTypeId="2" ParentId="4755" CreationDate="2017-04-08T00:18:25.527" Score="0" Body="&lt;p&gt;The issue was related to the execution of the &lt;em&gt;InitializeCSSite&lt;/em&gt; powershell command which failed to import the profile. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To address this issue I had to import the profile.xml schema manually following the instructions on this &lt;a href=&quot;http://commercesdn.sitecore.net/SCpbCS82/SitecoreCommerceDeploymentGuide/en-us/index.html#ImportProfileSchemaCatalogManager.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;. The profile schema can be found at the website's root under the path: Website\SitecoreCommerce\Data\Profiles\Profiles.xml&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case you are wondering this xml file is part of the Storefront package installation so you should have it. &lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-04-08T00:18:25.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5287" PostTypeId="1" CreationDate="2017-04-08T07:26:57.637" Score="3" ViewCount="808" Body="&lt;p&gt;I have item in sitecore which contains a field country and region.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when I select the country I need to load the related region like cascading dropdown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any possiblity of creating custom fields type for cascading dropdown&lt;/p&gt;&#xA;" OwnerUserId="1709" LastEditorUserId="73" LastEditDate="2017-04-13T09:42:00.853" LastActivityDate="2017-04-13T09:42:00.853" Title="Cascading Droplist field in Sitecore" Tags="|fieldtype|renderfield|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5288" PostTypeId="2" ParentId="5285" CreationDate="2017-04-08T08:08:01.057" Score="2" Body="&lt;p&gt;It may happen if pipeline steps are not enabled. &#xA;Select pipeline step and look at under Administration section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fQMvL.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fQMvL.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set as enabled and run it again. Hope that was a single problem.&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2017-04-08T08:08:01.057" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5289" PostTypeId="2" ParentId="5287" CreationDate="2017-04-08T09:31:57.323" Score="2" Body="&lt;p&gt;Yes, you can implement a custom field. You have several ways to do this. One of our project I used iframe field type for it. In my opinion this is the easiest way for complex custom fields. Actually I wrote a &lt;a href=&quot;https://trnktms.wordpress.com/2017/04/06/sitecore-iframe-field-basics/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blogpost&lt;/a&gt; about the basics 2 days ago. &lt;a href=&quot;https://github.com/ALLWIN-Informatics/Allwin.Sitecore.Modules.LiveList&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here is&lt;/a&gt; the whole solution which contains a similar custom field (for Sitecore 8.2 update 2, I gues it works for Sitecore 8.0 too).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So basically you can build up your MVC structure and use this in your iframe.&#xA;You need to register your root:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines;&#xA;using System.Web.Mvc;&#xA;using System.Web.Routing;&#xA;&#xA;namespace MyProject.Pipelines&#xA;{&#xA;    public class RegisterRoutes&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            RouteTable.Routes.MapRoute(&quot;SimpleField&quot;, &quot;myFields/SimpleField/Render&quot;, new { controller = &quot;SimpleField&quot;, action = &quot;Render&quot; });&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using System.Web.Mvc;&#xA;&#xA;namespace MyProject.Controllers&#xA;{&#xA;    public class SimpleFieldController : Controller&#xA;    {&#xA;        public ActionResult Render()&#xA;        {&#xA;            return View(&quot;~/Views/SimpleField/Render.cshtml&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;View:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link href=&quot;https://fonts.googleapis.com/css?family=Open+Sans:400,300italic,400italic,600italic,700italic,300,600,700,800&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/sitecore/shell/themes/standard/default/Default.css&quot; /&amp;gt;&#xA;&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/sitecore/shell/themes/standard/default/Content Manager.css&quot; /&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;    #ll-fields {&#xA;        padding: 10px 10px 10px 10px;&#xA;    }&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;div id=&quot;ll-fields&quot; class=&quot;scEditorSections&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;scEditorFieldMarker&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;scEditorFieldLabel&quot;&amp;gt;Text:&amp;lt;/div&amp;gt;&#xA;        &amp;lt;div&amp;gt;&#xA;            &amp;lt;input type=&quot;text&quot; id=&quot;ll-text&quot; class=&quot;scContentControl scCombobox&quot; /&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;/scripts/field/field-base.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;/scripts/field/text-field.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;script&amp;gt;&#xA;    textField.getValue();&#xA;&#xA;    document.getElementById('ll-text').onchange = function () {&#xA;        textField.setValue();&#xA;    };&#xA;&#xA;    textField.updateIframeDisplaySettings();&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;field-base.js:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function fieldBase () {}&#xA;&#xA;fieldBase.getParentIframe = function () {&#xA;    var iframes = window.parent.document.getElementsByTagName('iframe');&#xA;    var parent;&#xA;    Array.prototype.forEach.call(iframes, function (el, i) {&#xA;        if (fieldBase.getIframeDocument(el) === window.document) {&#xA;            parent = el;&#xA;            return;&#xA;        }&#xA;    });&#xA;    return parent;&#xA;};&#xA;&#xA;fieldBase.getIframeDocument = function (iframe) {&#xA;    return iframe.contentDocument || iframe.contentWindow.document;&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;text-field.js:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function textField() { }&#xA;&#xA;textField.setValue = function () {&#xA;    fieldBase.getParentIframe().setAttribute('sc_value', document.getElementById('ll-text').value);&#xA;}&#xA;&#xA;textField.getValue = function () {&#xA;    document.getElementById('ll-text').value = fieldBase.getParentIframe().getAttribute('sc_value');&#xA;}&#xA;&#xA;textField.updateIframeDisplaySettings = function () {&#xA;    var parentIframe = fieldBase.getParentIframe();&#xA;    parentIframe.style = &quot;height: 87px&quot;;&#xA;    parentIframe.scrolling = &quot;no&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So this is just a base idea. But from this point you can do everything what you want in your Controller and View. You can check the github solution what I linked above.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-04-08T09:39:03.267" LastActivityDate="2017-04-08T09:39:03.267" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5290" PostTypeId="2" ParentId="5285" CreationDate="2017-04-08T14:38:09.510" Score="2" Body="&lt;p&gt;There are 3 ways this error can happen:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;There are no pipeline steps assigned to the pipeline (which you write is not the case).&lt;/li&gt;&#xA;&lt;li&gt;None of the pipeline steps assigned to the pipeline is enabled (as Vlad mentioned).&lt;/li&gt;&#xA;&lt;li&gt;The pipeline step converter is returning null, or is not returning an instance of &lt;code&gt;Sitecore.DataExchange.Models.PipelineStep&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You write that your converter is being called. Are you sure that it is returning a &lt;code&gt;PipelineStep&lt;/code&gt; object?&lt;/p&gt;&#xA;" OwnerUserId="256" LastEditorUserId="256" LastEditDate="2017-04-08T15:04:59.593" LastActivityDate="2017-04-08T15:04:59.593" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5291" PostTypeId="1" AcceptedAnswerId="5300" CreationDate="2017-04-09T07:24:17.617" Score="1" ViewCount="277" Body="&lt;p&gt;I've 3 separate Sitecore sites at 3 different servers and Need to migrate it to 1 instance on a Single Server so can someone help me with the best possible approach for doing it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way I know to do it is :&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a new instance on the destination server&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create the IA to support Multisite implementation have the clear separation of all the websites in the IA (having Site1, Site2 and Site3 as 3 different home node, 1 global folder having common fields)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Rename the Sitecore Home node as per the new node created in destination server instance and then serialize the node for Site1.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Repeat Step 3 for Site2 and Site3&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Copy the serialization folders and merge it to destination server (this is tricky need a better approach if there exist one)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use the Serialization.aspx from admin and do a revert database so sync all the items into my content tree. (I'm not sure this will be fool proof :( :( :( )&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Have the code base migrated into same solution for Multisite MVC Area implementation.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can anyone please suggest if there is any alternate solution apart from above and also if there is problem with above. &#xA;I'm gonna go with above if there is no better approach. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="206" LastEditorUserId="73" LastEditDate="2017-04-11T23:25:03.377" LastActivityDate="2017-04-11T23:25:03.377" Title="3 separate Sitecore sites at 3 different servers and Need to migrate it to 1 instance on a Single Server" Tags="|multisite|content-management|migration|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5292" PostTypeId="1" AcceptedAnswerId="5294" CreationDate="2017-04-09T14:50:05.077" Score="1" ViewCount="980" Body="&lt;p&gt;working on RFP (for Sitecore project), I have encountered the following question within Metadata Management section:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Does the Sitecore CMS allow for meta-data tagging using the &lt;strong&gt;schema.org taxonomy&lt;/strong&gt;? &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What would be the best answer in favor of Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please clarify the purpose of such taxonomy and share any experience doing tagging with schema.org taxonomy.&lt;/p&gt;&#xA;" OwnerUserId="713" LastActivityDate="2017-04-09T20:36:09.347" Title="Meta-data tagging using the schema.org taxonomy" Tags="|seo|taxonomy|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5294" PostTypeId="2" ParentId="5292" CreationDate="2017-04-09T20:36:09.347" Score="2" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Does the Sitecore CMS allow for meta-data tagging using the schema.org taxonomy?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h1&gt;Yes it does.&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;And pretty much any other taxonomy I can think of. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore allows you to organise and structure your content in any way you see fit, including the adding of additional metadata to support both internal and external searching and filtering.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;A few references, but there would be hundreds out there:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/content-tagging-with-sitecore-7&quot; rel=&quot;nofollow noreferrer&quot;&gt;Content Tagging with Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.bekagool.com/news-and-insights/editing-metadata-etc-in-sitecore-page-editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;Editing Metadata and non-page content in the Sitecore page editor&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/walkthrough_creating_and_implementing_custom_marketing_taxonomies&quot; rel=&quot;nofollow noreferrer&quot;&gt;Create and implement a custom marketing taxonomy&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That said, you may in some cases need to expose this tagging to your HTML, so full support for something such as schema.org does require a modest implementation effort. It really depends on a lot of things; schema.org covers a lot of different things, like &lt;a href=&quot;http://schema.org/FoodEstablishmentReservation&quot; rel=&quot;nofollow noreferrer&quot;&gt;dining reservations&lt;/a&gt; to &lt;a href=&quot;http://schema.org/Volcano&quot; rel=&quot;nofollow noreferrer&quot;&gt;volcanos&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Can you please clarify the purpose of such taxonomy?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The purpose of a commonly recognised taxonomy is, that it allows external sites (like search engines and browsers) to better understand the content. Like for instance, if Google knew that a particular button on your restaurant page leads to &quot;Reserve Table&quot; (and understands what this is) - it allows them to provide any user with a better link and experience, if a user was searching for &quot;dinner reservations&quot;. Just as an example.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-04-09T20:36:09.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5295" PostTypeId="1" AcceptedAnswerId="5324" CreationDate="2017-04-10T03:12:15.887" Score="2" ViewCount="658" Body="&lt;p&gt;I am getting the following error when running the pipeline bathc. &quot;Pipeline step is missing at least one required plugin.&quot; I have an AddPlugins method in my pipeline step:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep)&#xA;{&#xA;  AddEndpointSettings(source, pipelineStep);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also have it in my end point converter. I doesn't look like this gets hit:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; protected override void AddPlugins(ItemModel source, Endpoint endpoint)&#xA;{&#xA;  var settings = new ContactSettings();&#xA;  settings.CollectionName = base.GetStringValue(source, &quot;Collection Name&quot;);&#xA;&#xA;  endpoint.Plugins.Add(settings);&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I looked through the DEF dlls using dotPeek, but wasn't quite sure where this error is coming from. What could of I have missed? Thanks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Processor code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class ReadContactsStepProcessor : BaseReadDataStepProcessor&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;{&#xA;    public override bool CanProcess(PipelineStep pipelineStep, PipelineContext pipelineContext)&#xA;    {&#xA;      return base.CanProcess(pipelineStep, pipelineContext);&#xA;    }&#xA;    public override void Process(PipelineStep pipelineStep, PipelineContext pipelineContext)&#xA;    {&#xA;      base.Process(pipelineStep, pipelineContext);&#xA;    }&#xA;    protected override void ReadData(Endpoint endpoint, PipelineStep pipelineStep, PipelineContext pipelineContext)&#xA;    {&#xA;      var contactSettings = pipelineStep.GetPlugin();&#xA;      if (contactSettings != null)&#xA;      {&#xA;        pipelineContext.PipelineBatchContext.Logger.Info(&#xA;            &quot;Hello world! Create some items here...&quot; + contactSettings.CollectionName);&#xA;      }&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  //add the plugin to the pipeline context&#xA;  pipelineContext.Plugins.Add(contactSettings);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;" OwnerUserId="853" LastEditorUserId="853" LastEditDate="2017-04-10T12:16:39.043" LastActivityDate="2017-04-11T11:03:01.290" Title="Data Exchange Framework Pipeline Step is Missing at least one required plugin" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="17" ContentLicense="CC BY-SA 3.0" />
  <row Id="5296" PostTypeId="1" CreationDate="2017-04-10T03:21:14.163" Score="3" ViewCount="91" Body="&lt;p&gt;Can anyone tell me the differences between &lt;em&gt;clicked&lt;/em&gt;, &lt;em&gt;browse&lt;/em&gt;, and &lt;em&gt;productive&lt;/em&gt; in the report (recepients behavior) in Email Experience Manager?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wTWGT.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wTWGT.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have read the explanation from &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/creating_and_editing_messages/editing_messages/engagement_plans_for_email_campaigns&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore documentation&lt;/a&gt; but i am still confused :/&lt;/p&gt;&#xA;" OwnerUserId="1591" LastEditorUserId="73" LastEditDate="2017-04-10T09:51:42.580" LastActivityDate="2017-04-10T09:51:42.580" Title="What is the difference between &quot;clicked&quot;, &quot;browse&quot;, and &quot;productive&quot; in the EXM report?" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5297" PostTypeId="2" ParentId="5296" CreationDate="2017-04-10T06:09:37.630" Score="2" Body="&lt;p&gt;&lt;strong&gt;Clicked&lt;/strong&gt; means that the recipient clicked on a link from the email and entered the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Browsed&lt;/strong&gt; means that the user visited multiple pages in their visit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Productive&lt;/strong&gt; means that the visitor generated engagement value.&lt;/p&gt;&#xA;" OwnerUserId="327" LastEditorUserId="85" LastEditDate="2017-04-10T08:56:37.023" LastActivityDate="2017-04-10T08:56:37.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5300" PostTypeId="2" ParentId="5291" CreationDate="2017-04-10T11:52:17.947" Score="2" Body="&lt;p&gt;Renaming items will not be sufficient, especially if you've used any sort of framework to build up all three. If any of your &lt;strong&gt;GUIDs&lt;/strong&gt; collide, you will be overwriting templates/content/media etc. during your serialization steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also may have &lt;strong&gt;namespace conflicts&lt;/strong&gt; in your code or &lt;strong&gt;pipeline customizations&lt;/strong&gt; that may interfere with each other. Moving to a single Sitecore 'Include' structure for your configs may also expose that you've used the same folders/file-names for the config changes as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll also need to examine any &lt;strong&gt;third-party DLLs&lt;/strong&gt; that you've placed in the bin folder and check whether you have conflicts between the three sites as you will be merging into a single 'bin'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, your &lt;strong&gt;Web.config&lt;/strong&gt; changes may not be compatible with each other. You will need to merge these and test.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to look at how you have done your &lt;strong&gt;Sitecore security roles and users&lt;/strong&gt; as well. Your users need to be merged into a single database and your roles may have different inheritance structures or conflicting names. Content security settings in the tree may be incompatible as well, so you need to take a look at whatever security you set up in the tree as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you've used the &lt;strong&gt;rules engine&lt;/strong&gt; in any way to provide insert options or other rules, you will need to look at whether these rules conflict with each other. Many assume a single site and are not prepped for multi-site/multi-tenancy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have implemented any &lt;strong&gt;modules&lt;/strong&gt;, you need to check for compatibility of the modules between the different sites as they usually have common file names and items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have implemented &lt;strong&gt;multi-lingual&lt;/strong&gt;, you will need to look at the languages implemented and see if there are conflicts. If there are conflicts, can they be merged safely? Do you have fall-back rules in place? Are they compatible between the different sites?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's probably more...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general, as @Hishaam Namooya mentions, this is usually a complete re-architecture exercise. You can start with the steps you mentioned, but you will quickly find that you likely have a lot of issues to look through... &lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-04-10T11:52:17.947" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5301" PostTypeId="1" AcceptedAnswerId="5302" CreationDate="2017-04-10T12:45:37.947" Score="0" ViewCount="153" Body="&lt;p&gt;Do we have below 2 conditions available in Rule Set Editor for Personalization in Sitecore 8.0? If not, do we have any alternatives except custom rule creation?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Where the specific campaign was triggered during a past or current&#xA;interaction and when the number of elapsed days compares to number&#xA;and when the past number of interactions compares to number   &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Where the specific campaign was triggered during a past or current&#xA;    interaction and when the number of elapsed days compares to number&#xA;    and when the past number of interactions compares to number and the&#xA;    custom data compares to value&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1289" LastActivityDate="2017-04-12T09:45:02.480" Title="Sitecore 8.0 Visitor Rules availability" Tags="|personalization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5302" PostTypeId="2" ParentId="5301" CreationDate="2017-04-10T13:47:17.733" Score="2" Body="&lt;h1&gt;In short; No.&lt;/h1&gt;&#xA;&lt;p&gt;These exist in Sitecore 8.2.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IirWf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IirWf.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In 8.0, these do not exist. As seen here.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0qoNc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0qoNc.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;You could attempt to move them backwards, but it will likely be fairly involved given the changes to xDB between 8.0 and 8.2.  Alternatively, as you say, you are stuck writing custom conditions for these.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-04-10T13:47:17.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5303" PostTypeId="2" ParentId="4933" CreationDate="2017-04-10T14:22:23.400" Score="1" Body="&lt;p&gt;I ended up creating a new build configuration and excluding the .NET Core projects from the build configuration.&#xA;I then pass the build configuration as a parameter to msbuild and I build the .NET Core projects separately using dotnet CLI&lt;/p&gt;&#xA;" OwnerUserId="1695" LastActivityDate="2017-04-10T14:22:23.400" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5304" PostTypeId="1" AcceptedAnswerId="5306" CreationDate="2017-04-10T17:04:19.840" Score="0" ViewCount="2651" Body="&lt;p&gt;I have a scenario where I have to enable the fallback for a template and on some particular scenarios I have to show the language versions only if it has that particular version. &#xA;Ex: If it has a non english version show that version only in that language(no fall back)&#xA;Item.Versions.count&gt;0  returns true if I set Enable fall back to true.&#xA;Is there a way I check if the version that is returned is fall back version speifically&lt;/p&gt;&#xA;" OwnerUserId="1333" LastActivityDate="2017-04-10T17:24:44.967" Title="Programatically Check if the items if the item's version that is returned is a Fall Back" Tags="|language-fallback|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5305" PostTypeId="2" ParentId="5304" CreationDate="2017-04-10T17:14:55.237" Score="2" Body="&lt;p&gt;You can use property &lt;code&gt;IsFallBack&lt;/code&gt;. As per sitecore's &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/language_fallback/setting_up/language_fallback__changes_to_apis&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Sitecore.Data.Item class &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The following properties have been added to the class:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;OriginalLanguage – a property that returns the original language for the current item. If the item is not a fallback item, it returns the item.Language. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;IsFallback – a property that returns true if the current item is a fallback item.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="88" LastActivityDate="2017-04-10T17:14:55.237" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5306" PostTypeId="2" ParentId="5304" CreationDate="2017-04-10T17:15:41.057" Score="5" Body="&lt;p&gt;You can call &lt;code&gt;Item.IsFallback&lt;/code&gt;, which returns true if the item in question is fallback item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/setting_up/language_fallback__changes_to_apis&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/setting_up/language_fallback__changes_to_apis&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1342" LastEditorUserId="70" LastEditDate="2017-04-10T17:16:29.647" LastActivityDate="2017-04-10T17:16:29.647" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5307" PostTypeId="2" ParentId="5304" CreationDate="2017-04-10T17:18:30.183" Score="0" Body="&lt;p&gt;The Item class (in Sitecore.Kernel.dll, SC 8.1+) has a IsFallback property that will indicate if the item is a fallback item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Gets a value that indicates if the item is a fallback item.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;value&amp;gt;&#xA;/// &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; if this item is a fallback item; otherwise, &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;.&#xA;/// &amp;lt;/value&amp;gt;&#xA;public bool IsFallback&#xA;{&#xA;    get&#xA;    {&#xA;    return this._originalLanguage != (Language) null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="1150" LastEditDate="2017-04-10T17:24:44.967" LastActivityDate="2017-04-10T17:24:44.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5308" PostTypeId="1" AcceptedAnswerId="5452" CreationDate="2017-04-10T17:52:56.123" Score="1" ViewCount="1362" Body="&lt;p&gt;We're using interfaces for our models with &lt;code&gt;[SitecoreType(AutoMap=true)]&lt;/code&gt;. The templates we're using (for a refit, we didn't create them) have &quot;Name&quot; fields, but when I just declare &lt;code&gt;string Name {get; set;}&lt;/code&gt; it's grabbing the Sitecore item name and not the Name field defined in the template. I have the template name field being declared with the SitecoreInfo property to a different &quot;ItemName&quot; field to prevent conflicts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've used the Name field before in other templates, thinking it was pulling from the template and not the item name, so I don't know if this is a change in the latest Glass Mapper or something we didn't previously notice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now, I'm having our developers use the &lt;code&gt;SitecoreField(&quot;Name&quot;)&lt;/code&gt; attribute and call the field something like &quot;NameField&quot; - this is getting the correct field, so we have a workaround. But I was curious if this is something that changed, if it's been that way and I hadn't noticed, or if this is a bug and &quot;Name&quot; should map to a field template first, and only if there is no field with that appellation use the item's name.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2017-04-19T16:45:34.987" LastActivityDate="2017-04-21T07:43:33.167" Title="Sitecore item name being auto-mapped to &quot;Name&quot; field in Glass Mapper" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5309" PostTypeId="1" CreationDate="2017-04-10T18:33:36.873" Score="1" ViewCount="700" Body="&lt;p&gt;First time here. Is it possible to access the 'Datasource Template' field on a rendering? If so, how can this be achieved? I need to run a check to ensure that data sources are not removed but also ensure that the user does not copy and paste an invalid datasource path into the presentation details datsource field of a component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am quite surprised that Sitecore does not perform a validation on the datasource when this occurs as it does this everywhere else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or pointers on this issue would be greatly appreciated as there is little to no documentation about this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed this tutorial here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.chrissulham.com/protect-your-sitecore-renderings-from-bad-datasources/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.chrissulham.com/protect-your-sitecore-renderings-from-bad-datasources/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However this did not provide any assistance and doesn't seem to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using GlassMapper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Jason&lt;/p&gt;&#xA;" OwnerUserId="1783" LastEditorUserId="73" LastEditDate="2017-04-11T23:24:55.097" LastActivityDate="2017-04-11T23:24:55.097" Title="Accessing the 'Datasource Template' field in code" Tags="|mvc|templates|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5311" PostTypeId="1" CreationDate="2017-04-10T20:42:14.377" Score="1" ViewCount="77" Body="&lt;p&gt;I have installed Coveo for sitecore 3.0 in my local/developer machine. Search indexes are having content in CES and but when I search,  my search page does not return any results or coveo facets does not appear. So, I tried to access the url &quot;&lt;a href=&quot;http://mywebsite.com/coveo/rest&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mywebsite.com/coveo/rest&lt;/a&gt;&quot; and it is throwing the below error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;The service is unavailable.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked and compared config.yml's secret key and application secret key in coveosearchprovider.config. Both looks same.&#xA;Sitecore diagnostic page shows the below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h0M7Z.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h0M7Z.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please let me know the things I should check to fix this issue.&lt;/p&gt;&#xA;" OwnerUserId="696" LastActivityDate="2017-04-10T20:58:33.023" Title="Sitecore 7.2 - Coveo/rest is throwing the error &quot;The service is unavailable.&quot;" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5312" PostTypeId="2" ParentId="5311" CreationDate="2017-04-10T20:58:33.023" Score="1" Body="&lt;p&gt;I checked the port which is used for SearchApi and found that I am using a different port for SearchApi rather than normal 8080 one. I have now updated the Coveo.SearchProvider.Rest.config with the correct port and was able to get the results in Searchresults page.&lt;/p&gt;&#xA;" OwnerUserId="696" LastActivityDate="2017-04-10T20:58:33.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5313" PostTypeId="2" ParentId="5309" CreationDate="2017-04-10T21:25:06.420" Score="1" Body="&lt;p&gt;You can have a custom processor in the &lt;code&gt;&amp;lt;mvc.renderRendering&amp;gt;&lt;/code&gt; pipelines as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.renderRendering&amp;gt;&#xA;         &amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Mvc.ExperienceEditor.Pipelines.Response.RenderRendering.AddWrapper, Sitecore.Mvc.ExperienceEditor']&quot;&#xA;           type=&quot;YourNamespaceWithClass, YourAssembly&quot; /&amp;gt;&#xA;      &amp;lt;/mvc.renderRendering&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in the code, it will be something as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Mvc.Pipelines.Response.RenderRendering;&#xA;using Sitecore.Mvc.Presentation;&#xA;&#xA;public class CheckMissingDatasource : RenderRenderingProcessor&#xA;{&#xA;    public override void Process(RenderRenderingArgs args)&#xA;    {&#xA;        if (!this.IsDatasourceValid(args))&#xA;            return;&#xA;&#xA;        //Log error here if datasource is not valid or missing&#xA;&#xA;        args.AbortPipeline();&#xA;    }&#xA;&#xA;    private bool IsDatasourceValid(RenderRenderingArgs args)&#xA;    {&#xA;        if (this.RequiresDatasource(args.Rendering.RenderingItem.InnerItem))&#xA;        {&#xA;            return !this.ContainsDatasource(args.Rendering);&#xA;        }&#xA;&#xA;        return false;&#xA;    }&#xA;&#xA;    private bool RequiresDatasource(Item item)&#xA;    {&#xA;        //Get the Datasource of the current item&#xA;        string str1 = item[&quot;Datasource Template&quot;];&#xA;&#xA;        if (!string.IsNullOrEmpty(str1))&#xA;        {&#xA;            return true;&#xA;        }&#xA;        return false;&#xA;    }&#xA;&#xA;    private bool ContainsDatasource(Rendering rendering)&#xA;    {&#xA;        ID result;&#xA;        return !string.IsNullOrEmpty(rendering.DataSource) &amp;amp;&amp;amp; ID.TryParse(rendering.DataSource, out result) &amp;amp;&amp;amp; PageContext.Current.Database.GetItem(result) != null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I haven't yet test the code, and this will execute for your different items when being rendered. You may also add a check in the method &lt;code&gt;Process&lt;/code&gt; to check if you are using the Page Editor/Experience Editor to display an error message to let the user know that there is an invalid or missing datasource.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-04-11T07:57:31.187" LastActivityDate="2017-04-11T07:57:31.187" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5315" PostTypeId="1" AcceptedAnswerId="5322" CreationDate="2017-04-11T03:53:50.063" Score="1" ViewCount="148" Body="&lt;p&gt;I am trying to add a custom StandardValues provider to a Sitecore 8.1 site (8.1.0 rev 160519) and I am not having a good time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this I reflected the standard Sitecore.Data.StandardValuesProvider in Sitecore.Kernel, copied all the codez and made the change I want. It compiles, so I assume it'll work :D&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;btw&lt;/em&gt; I am modifying the behaviour of &lt;code&gt;private SafeDictionary&amp;lt;ID, string&amp;gt; GetStandardValues(Item item)&lt;/code&gt;, for reasons &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I attempt to wire up the patch thusly: -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;standardValues&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;sitecore&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;[REDACTED].Web.Sitecore.Providers.[REDACTED]StandardValuesProvider, [REDACTED].Web&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/add&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/standardValues&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But although my patch looks like it's worked in /showconfig.aspx, the site itself doesn't load: -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;Unexpected provider type: &#xA;&#xA;[REDACTED].Web.Sitecore.Providers.[REDACTED]StandardValuesProvider&#xA;&#xA;Expected: Sitecore.Data.StandardValuesProvider&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Kind of like.. it doesn't want to see another kind of provider besides the default one ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone tried to do this and succeeded ? &lt;/p&gt;&#xA;" OwnerUserId="1786" LastEditorUserId="1786" LastEditDate="2019-05-28T22:15:20.393" LastActivityDate="2019-05-28T22:15:20.393" Title="Patching in a custom StandardValues provider" Tags="|configuration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="5316" PostTypeId="1" AcceptedAnswerId="5327" CreationDate="2017-04-11T04:17:08.887" Score="4" ViewCount="1715" Body="&lt;p&gt;One of client wants to send email using standard &lt;strong&gt;.NET SMTP client&lt;/strong&gt;. I would like to know How I can generate HTML of my Sitecore item which has all layouts and renderings configured and assigned that HTML to &lt;strong&gt;MailMessage.Body&lt;/strong&gt; property?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I dont want to use Sitecore EXM module.&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="2727" LastEditDate="2018-02-28T22:22:21.013" LastActivityDate="2018-02-28T22:22:21.013" Title="Sitecore Item - Generated HTML" Tags="|sitecore-api|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5317" PostTypeId="2" ParentId="5316" CreationDate="2017-04-11T05:55:01.520" Score="1" Body="&lt;p&gt;You can use Sitecore Item Web API to render HTML of a Sitecore Item i.e. Page template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sample Http Request to render HTML:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://&amp;lt;host_name&amp;gt;/-/item/v1/-&#xA;/actions/GetRenderingHtml?sc_database=master&amp;amp;language=en&amp;amp;renderingId={493B3A8&#xA;3-0FA7-4484-8FC9-4680991CF743}&amp;amp;sc_itemid={110D559F-DEA5-42EA-9C1C-&#xA;8A5DF7E70EF9}&amp;amp;a=1&amp;amp;b=2&amp;amp;c=3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Steps to enable Item Web API which would be disabled default.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Enable Sitecore.ItemWebApi.config&lt;/li&gt;&#xA;&lt;li&gt;Web Item API setting for a site can be defined as below&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ouUf2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ouUf2.png&quot; alt=&quot;Site Settings&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; We have used similar approach to retrieve HTML of sitecore item to perform print operation :)&lt;/p&gt;&#xA;" OwnerUserId="891" LastActivityDate="2017-04-11T05:55:01.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5318" PostTypeId="2" ParentId="5280" CreationDate="2017-04-11T06:18:54.253" Score="8" Body="&lt;p&gt;As you mentioned Replication is required for some Sitecore databases, but SQL Azure (PaaS) does not support SQL read-write geo-replication currently just read-only(&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-designing-cloud-solutions-for-disaster-recovery&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-designing-cloud-solutions-for-disaster-recovery&lt;/a&gt;), so the only option is to have all CD locations connect to the central Core database. On the other hand Web databases could be set up in different locations for every CD using publishing targets.&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-04-11T06:18:54.253" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5319" PostTypeId="2" ParentId="5316" CreationDate="2017-04-11T06:55:48.130" Score="2" Body="&lt;p&gt;&lt;a href=&quot;https://jeffdarchuk.com/2015/10/18/render-item-to-string-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Jeff Darchuk&lt;/a&gt; wrote a blog post describing how to render a Sitecore item to a string, including layout details, renderings etc. You can then add the string to the message body of your email. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;His solution is to create a new temporary item context, extract the layout details, and utilize Sitecores standard pipelines to render the item into a string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First step is to create a new temporary &lt;code&gt;ItemDefinitionContext&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageRenderItemDefinitionContext&#xA;{&#xA;    public static PageRenderItemDefinitionContext Current =&amp;gt; ContextService.Get().GetCurrent&amp;lt;PageRenderItemDefinitionContext&amp;gt;();&#xA;&#xA;    public static PageRenderItemDefinitionContext CurrentOrNull =&amp;gt; ContextService.Get().GetCurrentOrDefault&amp;lt;PageRenderItemDefinitionContext&amp;gt;();&#xA;&#xA;    public PageDefinition Definition { get; private set; }&#xA;    public Item Item { get; private set; }&#xA;    public DisplayMode PageMode { get; set; }&#xA;&#xA;    public PageRenderItemDefinitionContext(PageDefinition pageDefinition, Item item, DisplayMode exteriorDisplayMode)&#xA;    {&#xA;        Assert.ArgumentNotNull(pageDefinition, nameof(pageDefinition));&#xA;        Assert.ArgumentNotNull(item, nameof(item));&#xA;&#xA;        Definition = pageDefinition;&#xA;        Item = item;&#xA;        PageMode = exteriorDisplayMode;&#xA;    }&#xA;&#xA;    public static IDisposable Enter(PageRenderItemDefinitionContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        return ContextService.Get().Push(context);&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next, override the &lt;code&gt;PerformRendering&lt;/code&gt; pipeline processor to use the new &lt;code&gt;PageRenderItemDefinitionContext&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class PerformItemRendering : PerformRendering&#xA;{&#xA;    public static readonly string ItemRenderingKey = Guid.NewGuid().ToString();&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Render step, except it temporarily abandons the placeholder context to render a seperate item, after which it puts the context back&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;placeholderName&quot;&amp;gt;Placeholder to render&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;writer&quot;&amp;gt;writer to render to&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    protected override void Render(string placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;    {&#xA;        if (PageRenderItemDefinitionContext.CurrentOrNull != null)&#xA;            args.PageContext.PageDefinition = PageRenderItemDefinitionContext.Current.Definition;&#xA;&#xA;        if (placeholderName != ItemRenderingKey)&#xA;        {&#xA;            base.Render(placeholderName, writer, args);&#xA;            return;&#xA;        }&#xA;&#xA;        Stack&amp;lt;PlaceholderContext&amp;gt; previousContext = new Stack&amp;lt;PlaceholderContext&amp;gt;();&#xA;        while (PlaceholderContext.CurrentOrNull != null)&#xA;        {&#xA;            previousContext.Push(PlaceholderContext.Current);&#xA;            PlaceholderContext.Exit();&#xA;        }&#xA;&#xA;        try&#xA;        {&#xA;            PipelineService.Get().RunPipeline(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(args.PageContext.PageDefinition.Renderings.First(x =&amp;gt; x.Placeholder.IsWhiteSpaceOrNull()), writer));&#xA;        }&#xA;        finally&#xA;        {&#xA;            while (PlaceholderContext.CurrentOrNull != null)&#xA;                PlaceholderContext.Exit();&#xA;&#xA;            while (previousContext.Any())&#xA;            {&#xA;                PlaceholderContext.Enter(previousContext.Pop());&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch in the pipeline processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.renderPlaceholder&amp;gt;&#xA;        &amp;lt;processor patch:instead=&quot;processor[@type='Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering, Sitecore.Mvc']&quot; type=&quot;Namespace.Pipelines.Mvc.RenderPlaceholder.PerformRendering, Assembly&quot; /&amp;gt;&#xA;      &amp;lt;/mvc.renderPlaceholder&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, wire it all up as a new &lt;code&gt;ItemRenderer&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Renders an item's layout to a string or TextWriter.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public class ItemRenderer&#xA;{&#xA;    public Item Item { get; set; }&#xA;&#xA;    public ItemRenderer(Item item)&#xA;    {&#xA;        Item = item;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Renders an item with a layout defined to a string for MVC&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;HTML of item&amp;lt;/returns&amp;gt;&#xA;    public virtual string Render()&#xA;    {&#xA;        using (TextWriter tw = new StringWriter())&#xA;        {&#xA;            Render(tw);&#xA;&#xA;            return tw.ToString();&#xA;        }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Renders an item with a layout defined to a string for MVC&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;HTML of item&amp;lt;/returns&amp;gt;&#xA;    public virtual void Render(TextWriter writer)&#xA;    {&#xA;        var originalDisplayMode = Context.Site.DisplayMode;&#xA;&#xA;        // keep a copy of the renderings we start with.&#xA;        // running the renderPlaceholder pipeline (which runs renderRendering) will overwrite these&#xA;        // and we need to set them back how they were when we're done rendering the xBlock&#xA;        var originalRenderingDefinitionContext = RenderingContext.CurrentOrNull?.PageContext?.PageDefinition;&#xA;&#xA;        try&#xA;        {&#xA;            // prevents editing the snippet in context, so you cannot mistakenly change something shared by mistake&#xA;            if (Context.PageMode.IsExperienceEditorEditing || Context.PageMode.IsPreview)&#xA;            {&#xA;                Context.Site.SetDisplayMode(DisplayMode.Normal, DisplayModeDuration.Temporary);&#xA;            }&#xA;&#xA;            var pageDef = new PageDefinition&#xA;            {&#xA;                Renderings = new List&amp;lt;Rendering&amp;gt;()&#xA;            };&#xA;&#xA;            //Extracts the item's layout XML, then parses all of the renderings out of it.&#xA;            pageDef.Renderings.AddRange(GetRenderings(GetLayoutFromItem()));&#xA;&#xA;            // Uncovers the main layout rendering&#xA;            var pageRenderingArgs = new GetPageRenderingArgs(pageDef);&#xA;            PipelineService.Get().RunPipeline(&quot;mvc.getPageRendering&quot;, pageRenderingArgs);&#xA;&#xA;            //Renders all placeholders for the layout rendering, which would be the entire page&#xA;            var renderPlaceholderArgs = new RenderPlaceholderArgs(PerformItemRendering.ItemRenderingKey, writer, pageRenderingArgs.Result)&#xA;            {&#xA;                PageContext = new PageContext&#xA;                {&#xA;                    PageDefinition = pageDef&#xA;                }&#xA;            };&#xA;&#xA;            using (PageRenderItemDefinitionContext.Enter(new PageRenderItemDefinitionContext(pageDef, Item, originalDisplayMode)))&#xA;            {&#xA;                PipelineService.Get().RunPipeline(&quot;mvc.renderPlaceholder&quot;, renderPlaceholderArgs);&#xA;            }&#xA;        }&#xA;        catch (Exception e)&#xA;        {&#xA;            Log.Error(&quot;There was a problem rendering an item to string&quot;, e, this);&#xA;            if (originalDisplayMode == DisplayMode.Edit || originalDisplayMode == DisplayMode.Preview)&#xA;            {&#xA;                writer.Write($&quot;&amp;lt;p class=\&quot;edit-only\&quot;&amp;gt;Error occurred while rendering {Item.Paths.FullPath}: {e.Message}&amp;lt;br&amp;gt;For error details, &amp;lt;a href=\&quot;{LinkManager.GetItemUrl(Item)}\&quot; onclick=\&quot;window.open(this.href); return false;\&quot;&amp;gt;visit the target page&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&quot;);&#xA;            }&#xA;        }&#xA;        finally&#xA;        {&#xA;            // replace the renderings in the current context with the ones that existed before we ran our sideline renderPlaceholder&#xA;            // because they have been overwritten with the xBlock's renderings at this point&#xA;            if (originalRenderingDefinitionContext != null)&#xA;            {&#xA;                RenderingContext.CurrentOrNull.PageContext.PageDefinition = originalRenderingDefinitionContext;&#xA;            }&#xA;&#xA;            Context.Site.SetDisplayMode(originalDisplayMode, DisplayModeDuration.Temporary);&#xA;        }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets the layout XML from the item&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;xml of the layout definition&amp;lt;/returns&amp;gt;&#xA;    protected virtual XElement GetLayoutFromItem()&#xA;    {&#xA;        Field innerField = new LayoutField(Item).InnerField;&#xA;&#xA;        if (innerField == null)&#xA;            return null;&#xA;&#xA;        string fieldValue = LayoutField.GetFieldValue(innerField);&#xA;&#xA;        if (fieldValue.IsWhiteSpaceOrNull())&#xA;            return null;&#xA;&#xA;        return XDocument.Parse(fieldValue).Root;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets the rendering out of the xml node and injects some values in&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;renderingNode&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;deviceId&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;layoutId&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;renderingType&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;parser&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;MVC rendering&amp;lt;/returns&amp;gt;&#xA;    protected virtual Rendering GetRendering(XElement renderingNode, Guid deviceId, Guid layoutId, string renderingType, XmlBasedRenderingParser parser)&#xA;    {&#xA;        Rendering rendering = parser.Parse(renderingNode, false);&#xA;        rendering.DeviceId = deviceId;&#xA;        rendering.LayoutId = layoutId;&#xA;        if (renderingType != null)&#xA;            rendering.RenderingType = renderingType;&#xA;&#xA;        // if the xBlock is rendering in the context of another page, renderings with no data source should be repointed to the xBlock page item&#xA;        // as opposed to the context page item&#xA;        if (string.IsNullOrWhiteSpace(rendering.DataSource)) rendering.DataSource = Item.ID.ToString();&#xA;&#xA;        return rendering;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Get all renderings out of the layout definition&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;layoutDefinition&quot;&amp;gt;xml of the layout definition&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;list of renderings&amp;lt;/returns&amp;gt;&#xA;    protected virtual IEnumerable&amp;lt;Rendering&amp;gt; GetRenderings(XElement layoutDefinition)&#xA;    {&#xA;        XmlBasedRenderingParser parser = MvcSettings.GetRegisteredObject&amp;lt;XmlBasedRenderingParser&amp;gt;();&#xA;        foreach (XElement xelement in layoutDefinition.Elements(&quot;d&quot;))&#xA;        {&#xA;            Guid deviceId = xelement.GetAttributeValueOrEmpty(&quot;id&quot;).ToGuid();&#xA;            Guid layoutId = xelement.GetAttributeValueOrEmpty(&quot;l&quot;).ToGuid();&#xA;&#xA;            yield return GetRendering(xelement, deviceId, layoutId, &quot;Layout&quot;, parser);&#xA;&#xA;            foreach (XElement renderingNode in xelement.Elements(&quot;r&quot;))&#xA;                yield return GetRendering(renderingNode, deviceId, layoutId, renderingNode.Name.LocalName, parser);&#xA;        }&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, using the &lt;code&gt;ItemRenderer&lt;/code&gt;, you can render the item to a string. To ease the usage, you can add an extension method to &lt;code&gt;Item&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Renders an item with a layout definition to a string&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;item&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;Rendered output for the item&amp;lt;/returns&amp;gt;&#xA;public static string Render(this Item item)&#xA;{&#xA;    return new ItemRenderer(item).Render();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that this approach requires the rendered item to have a stripped down layout assigned, so that only the actual content is rendered (i.e. without html, head, body tags).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Placeholder(&quot;content&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To add Experience Editor support, switch on PageMode to add containing HTML-tags:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Sitecore.Context.PageMode.IsExperienceEditor || Sitecore.Context.PageMode.IsPreview)&#xA;{&#xA;    &amp;lt;!DOCTYPE html&amp;gt;&#xA;    &amp;lt;html lang=&quot;da&quot;&amp;gt;&#xA;    &amp;lt;head&amp;gt;&#xA;        &amp;lt;!-- Header content here --&amp;gt;&#xA;    &amp;lt;/head&amp;gt;&#xA;    &amp;lt;body&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;content&quot;)&#xA;    &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;}&#xA;else&#xA;{&#xA;    @Html.Sitecore().Placeholder(&quot;content&quot;)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="180" LastActivityDate="2017-04-11T06:55:48.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5320" PostTypeId="2" ParentId="5280" CreationDate="2017-04-11T07:08:08.680" Score="4" Body="&lt;p&gt;If you are trying to go active active. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd look at using the new publishing service in the context of Azure SQL (PAAS) to get the web database changes published out to different regions. &#xA;(as Azure SQL Geo-Replication is read only in the replicas, and sitecore requires write access to update the properties table) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the Core database though no equivalent of the new publishing service AFAIK. &#xA;Depending what you need out of the Core database, you may be able to get away with having a Core database in each region not kept in sync. (and manually update/keep in sync changes as required) &#xA;There is a scaling guide with 3 scenarios I recall, where outside of PAAS you could setup replication (I recall some modifications required to Core databases to support this), which won't work in PAAS. &#xA;Or replay security events.&lt;br&gt;&#xA;Main issues are keeping security tables in sync. &#xA;If your content authors are only in one region, and you don't rely on that for authentication on content delivery, may not need it to be kept in sync. &#xA;Other usages of core database are links database. &#xA;Storing which is the active solr collection for each index. &#xA;Would be good to have a definitive list. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For DR scenario you could have a Geo Replicated core database, and fail over that when you want to fail over content authoring. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope that helps. &lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2017-04-11T07:08:08.680" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5321" PostTypeId="2" ParentId="5108" CreationDate="2017-04-11T07:15:19.150" Score="0" Body="&lt;p&gt;Thanks Patirck and Hishaam for your kind help, I've found the cause of the reported behavior. There was difference in databases on CM and CD servers, when we made our connection string same on CD servers as CM server, it's been resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Amit&lt;/p&gt;&#xA;" OwnerUserId="913" LastActivityDate="2017-04-11T07:15:19.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5322" PostTypeId="2" ParentId="5315" CreationDate="2017-04-11T08:46:55.133" Score="1" Body="&lt;p&gt;As Kasper Gadensgaard mentioned in the comments, the &lt;code&gt;StandardValuesManager&lt;/code&gt; requires a provider &lt;em&gt;inherited&lt;/em&gt; from the &lt;code&gt;StandardValuesProvider&lt;/code&gt; class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class StandardValuesManager&#xA;{&#xA;    private static readonly ProviderHelper&amp;lt;StandardValuesProvider, StandardValuesProviderCollection&amp;gt; _helper = &#xA;        new ProviderHelper&amp;lt;StandardValuesProvider, StandardValuesProviderCollection&amp;gt;(&quot;standardValues&quot;);&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-04-11T08:46:55.133" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5323" PostTypeId="1" AcceptedAnswerId="5465" CreationDate="2017-04-11T09:57:40.873" Score="7" ViewCount="4655" Body="&lt;p&gt;Sitecore Admin will not present in CD server, how to get to know the Cache limit and usage in CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In local environment, where CD and CM are available we'll use the below URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://[domain]/sitecore/admin/cache.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But is there any other way to check the CD server cache utilization?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The below link will provide information like how to disable the Sitecore capability in CD. So you can set appropriate 'Authentication' (may be Windows authentication ) and access the 'Sitecore' folder!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jondjones.com/learn-sitecore-cms/sitecore-developers-guide/sitecore-deployments/how-to-disable-sitecore-admin-from-your-content-delivery-servers&quot; rel=&quot;noreferrer&quot;&gt;http://jondjones.com/learn-sitecore-cms/sitecore-developers-guide/sitecore-deployments/how-to-disable-sitecore-admin-from-your-content-delivery-servers&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="1698" LastEditDate="2017-04-11T12:05:37.507" LastActivityDate="2023-09-19T00:48:20.800" Title="How do I get to know the CD server Cache details" Tags="|caching|content-delivery|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5324" PostTypeId="2" ParentId="5295" CreationDate="2017-04-11T11:03:01.290" Score="2" Body="&lt;p&gt;So after talking to Adam and Vlad I figured out was wrong. First thing I needed was to define the endpoint settings in the pipeline step. I was doing the wrong plugin. When using BaseReadStepProcessor in your Pipeline processor endpoint settings must be added as a plugin.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep)&#xA;{&#xA;  AddEndpointSettings(source, pipelineStep);&#xA;}&#xA;private void AddEndpointSettings(ItemModel source, PipelineStep pipelineStep)&#xA;{&#xA;  var settings = new EndpointSettings();&#xA;  settings.EndpointFrom = base.ConvertReferenceToModel&amp;lt;Endpoint&amp;gt;(source, ContactReadStepItemModel.EndpointFrom);&#xA;  pipelineStep.Plugins.Add(settings);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The second thing I had wrong was my spelling for Converter in my endpoint in Sitecore was off. I had an extra space.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-04-11T11:03:01.290" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5325" PostTypeId="1" CreationDate="2017-04-11T11:31:07.587" Score="0" ViewCount="175" Body="&lt;p&gt;We need to configure Solr 4.1 for our sc8.0 u5 instance. This will be used as a platform for the website search (not the internal search).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The official doc I feel is not really helpful or incomplete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To start with, it asks to place the schema in a relevant core. But which one is it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have installed Solr 4.1, but when adding a new core, it gives an error saying - &lt;em&gt;Could not load config for solrconfig.xml&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could someone please help me with the right steps to setup &amp;amp; configure.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2017-04-11T23:24:25.930" LastActivityDate="2017-04-11T23:24:25.930" Title="How to configure solr 4.1 for Sitecore 8.0" Tags="|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5326" PostTypeId="2" ParentId="5325" CreationDate="2017-04-11T11:51:18.080" Score="1" Body="&lt;ol&gt;&#xA;&lt;li&gt;Ensure you have Solr Running Properly.&lt;/li&gt;&#xA;&lt;li&gt;Copy the Solr Support Package components to bin folder.&lt;/li&gt;&#xA;&lt;li&gt;Enable the solr config files and disable the Lucene configuration.&lt;/li&gt;&#xA;&lt;li&gt;Configure Indexes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can look at this be link url for Solr Support Package details, also you can look the reference link provided in the blog post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sivalingaamorthy.wordpress.com/2017/03/25/sitecore-solr-support-package-open-source/?iframe=true&amp;amp;theme_preview=true&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr Support Package&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For detailed Step by step Solr &amp;amp; Sitecore configuration, you can refer below links,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://thinking.edynamic.net/making-solr-search-work-with-sitecore-8-part-1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Part1&lt;/a&gt;, &lt;a href=&quot;http://thinking.edynamic.net/making-solr-search-work-with-sitecore-8-part-2&quot; rel=&quot;nofollow noreferrer&quot;&gt;Part2&lt;/a&gt;, &lt;a href=&quot;http://thinking.edynamic.net/making-solr-search-work-with-sitecore-8-part-3&quot; rel=&quot;nofollow noreferrer&quot;&gt;Part3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope you will find useful.&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="1698" LastEditDate="2017-04-11T13:14:02.763" LastActivityDate="2017-04-11T13:14:02.763" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5327" PostTypeId="2" ParentId="5316" CreationDate="2017-04-11T12:50:45.023" Score="6" Body="&lt;p&gt;While both answers so far will work. I believe it would be far simpler to setup the email as a &quot;campaign&quot; style page on the site. Most emails that contain html should have a &quot;cannot view this page? click here to view in a browser&quot; link anyway, so this could serve as that page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then it would be a simple &lt;code&gt;WebClient&lt;/code&gt; to get the html and insert into the body of your email.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using(var client = new WebClient())&#xA;{&#xA;    var html = client.DownloadString(pageUrl);&#xA;    return html;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Nice and simple, and now you have a way of viewing the page in the browser for those email clients that don't play nice with complex markup or block markup in emails.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-04-11T12:50:45.023" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5328" PostTypeId="1" AcceptedAnswerId="5353" CreationDate="2017-04-11T13:40:48.443" Score="2" ViewCount="347" Body="&lt;p&gt;I want to enable field level fallback for Layout-&gt;Final Renderings so when ever content editor creates a version in  new language he/she will get all the content from Fallback language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But whats the best way to do this. Enabling field level fallback checkbox on &lt;code&gt;/sitecore/templates/System/Templates/Sections/Layout/Layout/__Final Renderings&lt;/code&gt; item seems to be the only way. But this gets override on sitecore upgrade? Is there a better way to do it?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2017-04-13T05:25:47.753" Title="Enable Field level fallback for Final Renderings Field" Tags="|content-editor|multilingual|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5329" PostTypeId="1" AcceptedAnswerId="5330" CreationDate="2017-04-11T15:08:57.117" Score="6" ViewCount="1550" Body="&lt;p&gt;I have created a new rendering parameter to be used with a specific page layout. Everything is sync'd up but when I go to edit the Control Properties, my new section shows up below the &quot;General&quot; section. How can i make it so that my new section (Services Rendering Parameters Data) shows up first?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was reading something that says to make a copy of the template instead of inheriting so that my fields will show first but I'm not sure I understand what that means.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be greatly appreciated!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FbxnT.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FbxnT.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1789" LastEditorUserId="73" LastEditDate="2017-04-11T23:24:47.297" LastActivityDate="2017-08-24T15:33:01.157" Title="Change the Order that Component Properties Display In" Tags="|presentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5330" PostTypeId="2" ParentId="5329" CreationDate="2017-04-11T15:12:23.140" Score="7" Body="&lt;p&gt;The only thing you need to do is to set &lt;code&gt;Sortorder&lt;/code&gt; of &lt;code&gt;Services Rendering Parameters Data&lt;/code&gt; section to value lower than &lt;code&gt;General&lt;/code&gt; section &lt;code&gt;Sortorder&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find &lt;code&gt;Services Rendering Parameters Data&lt;/code&gt; section item in Content Editor&lt;/li&gt;&#xA;&lt;li&gt;Make sure that &lt;code&gt;Standard Field&lt;/code&gt; checkbox is checked in &lt;code&gt;View&lt;/code&gt; ribbon&lt;/li&gt;&#xA;&lt;li&gt;Find &lt;code&gt;Sortorder&lt;/code&gt; field in the &lt;code&gt;Appearance&lt;/code&gt; section &lt;/li&gt;&#xA;&lt;li&gt;Set its value to &lt;code&gt;-100&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/f3CIS.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f3CIS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-04-11T15:12:23.140" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5332" PostTypeId="1" CreationDate="2017-04-11T17:55:11.060" Score="1" ViewCount="1641" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/N5lE2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N5lE2.png&quot; alt=&quot;I have restricted the the access for the role &amp;quot;**AdminUser**&amp;quot; in the Access viewer as below.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have restricted the the access for the role &quot;&lt;strong&gt;AdminUser&lt;/strong&gt;&quot; in the Access viewer as above.&#xA;Later in the code when I am accessing using the below code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; try&#xA;            {&#xA;                if (Sitecore.Security.Accounts.User.Exists(@&quot;Sitecore\AdminUser&quot;))&#xA;                {&#xA;                    isAuthenticated = Sitecore.Security.Authentication.AuthenticationManager.Login(@&quot;Sitecore\AdminUser&quot;, true);&#xA;                }&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is authenticating the user and I am able to see the user role in the Sitecore.Context.User.Roles as &quot;&lt;strong&gt;Admin User&lt;/strong&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when we access the Page it loads well and fine. Is there a way I can stop the user with Role &quot;AdminUser&quot; from accessing the page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; I am not accessing the item from Sitecore but as a webpage. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://domain/Support/Global-editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://domain/Support/Global-editor&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1333" LastActivityDate="2017-09-15T02:26:34.140" Title="Sitecore restrict users from accessing the page using Sitecore security" Tags="|security|login|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5333" PostTypeId="1" CreationDate="2017-04-11T21:55:59.577" Score="3" ViewCount="690" Body="&lt;p&gt;We have set up one CM and two CD nodes( CD1 &amp;amp; CD2 ). After publishing cache not gets cleared on CD1 node but on CD2 it's working fine i.e. we can see published content immediately on CD2 but for CD1 I have to clear cache going through /admin/cache.aspx page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have gone through some articles and find out below which I'm planning to implement on production but just wanted to confirm if caching issue on CD1 will be really fixed.&#xA;We have same connection string on CM and CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CM node&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;abc12efdcms01&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;abc12efdcms01&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where abc12efdcms01 is CM node machine name&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CD1 node&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;abc12efdcms01&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CD2 node&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;abc12efdcms01&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this correct settings on both node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In IIS the name of website in CMS Website. Should I put &lt;code&gt;abc12efdcms01-CMS Website&lt;/code&gt; OR the current one is fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We already have below settings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EnableEventQueues&quot; value=&quot;true&quot;&amp;gt;&#xA;&#xA;&amp;lt;eventQueue&amp;gt;&#xA;  &amp;lt;!-- Time between checking the queue for newly queued events. If new events are found they will be raised. --&amp;gt;&#xA;  &amp;lt;processingInterval&amp;gt;00:00:02&amp;lt;/processingInterval&amp;gt;&#xA;&amp;lt;/eventQueue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="73" LastEditDate="2017-04-11T23:24:11.257" LastActivityDate="2017-04-18T17:10:09.577" Title="Scalability Setting on two CD servers" Tags="|publishing|publishing-targets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5334" PostTypeId="1" AcceptedAnswerId="5401" CreationDate="2017-04-12T00:27:52.337" Score="6" ViewCount="1698" Body="&lt;p&gt;Is there any best practice or recommendation around &lt;a href=&quot;https://www.iis.net/configreference/system.webserver/applicationinitialization&quot; rel=&quot;nofollow noreferrer&quot;&gt;applicationIntialization&lt;/a&gt;?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Should we use this?&lt;/li&gt;&#xA;&lt;li&gt;What is the best way to warm up or improve start up time of CMS and CD website after swap deployment slot?&lt;/li&gt;&#xA;&lt;li&gt;Any recommendation or best practice?&lt;/li&gt;&#xA;&lt;li&gt;Pros and cons if any?&lt;/li&gt;&#xA;&lt;li&gt;Suggestion Warmup around prefetch cache after app pool recycle or changes to production?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="102" LastEditorUserId="312" LastEditDate="2017-04-12T13:13:44.487" LastActivityDate="2020-08-24T12:42:23.700" Title="Best Practice around &lt;applicationInitialization&gt; for Sitecore WebApps" Tags="|best-practices|azure|performance|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5335" PostTypeId="1" AcceptedAnswerId="5422" CreationDate="2017-04-12T02:26:58.797" Score="1" ViewCount="894" Body="&lt;p&gt;I'm using interfaces for my Glass Mapper mappings, and I have a scenario where a view rendering I'm creating has a null datasource (due to the item being marked as never publish). I'm getting the message &quot;the model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel' but this dictionary requires...&quot; as a YSOD. Normally I'd create a model entry in Sitecore and hook it to the rendering, which usually covers this, but when I did it using an interface I got a message saying a constructor was required, which you can't create in an interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have code in the rendering to check if it has a datasource, but it never gets there and errors out immediately. Is there any way to do what I'm trying to do with interfaces for models, or do I either a) need a concrete class, or b) need to use a controller rendering? The main reason for the interface models is there are a number of inheritances that I'm trying to set up, where a template might be inheriting from six others, and I didn't want to &quot;junk up&quot; the model with all of the repeated properties, if that makes sense. I'm trying to figure out the best practice here.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-04-19T09:11:37.907" Title="Handling null datasource with Glass Mapper GlassView" Tags="|glass-mapper|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5338" PostTypeId="1" CreationDate="2017-04-12T07:45:30.853" Score="3" ViewCount="433" Body="&lt;p&gt;To integrate an external news feed, I've setup an overview page + wildcard detail page.&lt;br&gt;&#xA;To load the detail page, the last URL segment contains the title and is used to get the required data externally. That way my overview + detail page works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the actual issue.&lt;br&gt;&#xA;Since it's a wildcard page, its presentation details + values are used for each detail page. Which results in the same page title, metadata, header image, ... for each news item.&lt;br&gt;&#xA;I could adjust all of my renderings to check if it's used on a wildcard page, but that seems unmanageable.&lt;br&gt;&#xA;I'd rather be able to adjust the wildcard page values on the go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found the following article which seems to describe what I require:&#xA;&lt;a href=&quot;http://www.awareweb.com/awareblog/using-sc-wildcard&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.awareweb.com/awareblog/using-sc-wildcard&lt;/a&gt;&lt;br&gt;&#xA;I was just wondering if any of you has a similar use case and perhaps a more recent solution for this.&lt;/p&gt;&#xA;" OwnerUserId="877" LastActivityDate="2017-06-12T10:23:06.730" Title="Wildcard page using external data" Tags="|wildcards|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5339" PostTypeId="2" ParentId="5301" CreationDate="2017-04-12T09:45:02.480" Score="1" Body="&lt;p&gt;@Mark his answer is correct. As an additional to his answer on moving the rules backwards: This might not be so easy. OOTB you only have access to data stored in the xDB Shared Session, the shared session state data includes all data that is unique to a contact and that can be shared across simultaneous sessions, the Shared Session includes data as contact details, devices and engagement automation states triggered. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Campaign data is stored in the private session and only available during that current visit. That's why the rule &quot;where the specific campaign was triggered during the &lt;strong&gt;current&lt;/strong&gt; visit' is available. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/session_state/session_state&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/session_state/session_state&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="685" LastActivityDate="2017-04-12T09:45:02.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5340" PostTypeId="1" AcceptedAnswerId="5341" CreationDate="2017-04-12T10:36:54.167" Score="6" ViewCount="345" Body="&lt;p&gt;I have created a sitecore security accounts package with an updated permissions on roles. When i try to install it, its says &quot;Role will not be installed as it already exists&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that mean i can't override permissions on the roles using sitecore packages? is there a way to achieve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J3nZP.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J3nZP.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2017-04-12T10:55:21.590" Title="Role will not be installed as it already exists" Tags="|security|packages|package-designer|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5341" PostTypeId="2" ParentId="5340" CreationDate="2017-04-12T10:48:53.690" Score="5" Body="&lt;p&gt;If you added/changed/removed item access for a role, you don't need to package that role and install it in the other environment. Role is not changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing you have to do is to add the item which has new security rules to the package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find your item in Content Editor, make sure that &lt;code&gt;Standard Fields&lt;/code&gt; checkbox is checked and scroll to the &lt;code&gt;Security&lt;/code&gt; section to see how Sitecore stores your new item rights:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NDVvZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NDVvZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a link to &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/securityadministratorscookbook-usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;Security Administrator´s&#xA;Cookbook&lt;/a&gt;. It's for Sitecore 6 but the concepts haven't changed. It all works in the same way in Sitecore 8.x.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-04-12T10:55:21.590" LastActivityDate="2017-04-12T10:55:21.590" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5342" PostTypeId="1" CreationDate="2017-04-12T11:58:59.757" Score="1" ViewCount="1950" Body="&lt;p&gt;I'm new to search and indexing. We are implementing this for a search feature on the website for the end user (not the internal search) and using Solr 4.10.3 with sc8.0 u5&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Solr is setup with all the cores/indexes&lt;/li&gt;&#xA;&lt;li&gt;I have created a patch config - &lt;em&gt;MySite.ContentSearch.Solr.MySiteIndexConfiguration.config&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;which has custom configuration node&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;indexConfigurations&amp;gt;&#xA;   &amp;lt;mysiteSolrIndexConfiguration type ..&#xA;   &amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&#xA;...&#xA;&amp;lt;/indexConfigurations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3. Also included required template &amp;amp; field IDs in respective nodes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The search works only partially. These are the issues I see:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(1) There are no results from Home page. Though I have included the home page template, its inherited template and all the other templates and fields where the term being searched, exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(2) To troubleshoot, I set &lt;code&gt;&amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&lt;/code&gt; and removed all included template &amp;amp; field IDs from this config. But surprisingly, the search still gives results. How come !!!. Should it not return null or empty?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the config for web index&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;mysite_web_index&quot; &#xA;...&#xA;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/mysiteSolrIndexConfiguration&quot; /&amp;gt;&#xA;&amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Home/MySite&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;code:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;mysite_web_index&quot;).CreateSearchContext())&#xA;{&#xA;  var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                    .Where(x =&amp;gt; x.Content.Contains(searchText));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2017-04-19T08:55:31.080" LastActivityDate="2017-04-19T08:55:31.080" Title="Search indexing not working as expected" Tags="|solr|content-search|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="5344" PostTypeId="1" CreationDate="2017-04-12T12:46:28.227" Score="5" ViewCount="8250" Body="&lt;p&gt;I bought the Professional Sitecore 8 Development book and I am following the Sitecore Helix architecture approach.  And following the examples in the book and online I am using Gulp in the Task Runner Explorer window to build and deploy the solution.  Often times when I run the &quot;Publish-Site&quot; Gulp task I see error codes in red that say &lt;code&gt;MSBuild failed with code 1&lt;/code&gt;.  I have no idea what that means or how to troubleshoot it.  Can anyone help me understand what that message means and how to troubleshoot it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a screen shot:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ELMjK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ELMjK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code from my gulpfile.js&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var gulp = require(&quot;gulp&quot;);&#xA;var msbuild = require(&quot;gulp-msbuild&quot;);&#xA;var debug = require(&quot;gulp-debug&quot;);&#xA;var foreach = require(&quot;gulp-foreach&quot;);&#xA;var gulpConfig = require(&quot;./gulp-config.js&quot;)();&#xA;&#xA;module.exports.config = gulpConfig;&#xA;&#xA;gulp.task(&quot;Publish-Site&quot;, function () {&#xA;    return gulp.src(&quot;./{Feature,Foundation,Project}/**/**/*.csproj&quot;)&#xA;    .pipe(foreach(function (stream, file) {&#xA;        return stream&#xA;        .pipe(debug({ title: &quot;Publishing&quot; }))&#xA;        .pipe(msbuild({&#xA;            targets: [&quot;Build&quot;],&#xA;            gulpConfiguration: gulpConfig.buildConfiguration,&#xA;            properties: {&#xA;                publishUrl: gulpConfig.webRoot,&#xA;                DeployDefaultTarget: &quot;WebPublish&quot;,&#xA;                WebPublishMethod: &quot;FileSystem&quot;,&#xA;                DeployOnBuild: &quot;true&quot;,&#xA;                DeleteExistingFiles: &quot;false&quot;,&#xA;                _FindDependencies: &quot;false&quot;&#xA;            }&#xA;        }));&#xA;    }));&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT:&#xA;I also noticed that when I do a rebuild of the entire solution that I get a few warnings about versions of System.Web.Mvc.  Below is the text of the warning in Visual Studio:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;8&gt;  No way to resolve conflict between &quot;System.Web.Mvc,&#xA;  Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; and&#xA;  &quot;System.Web.Mvc, Version=3.0.0.0, Culture=neutral,&#xA;  PublicKeyToken=31bf3856ad364e35&quot;. Choosing &quot;System.Web.Mvc,&#xA;  Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot;&#xA;  arbitrarily. 8&gt;  Consider app.config remapping of assembly&#xA;  &quot;System.Web.Mvc, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot;&#xA;  from Version &quot;3.0.0.0&quot; [] to Version &quot;5.2.3.0&quot;&#xA;  [C:\Projects\SitecoreDev\Foundation\Ioc\SitecoreDev.Foundation.Ioc\bin\System.Web.Mvc.dll]&#xA;  to solve conflict and get rid of warning. 8&gt;C:\Program Files&#xA;  (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5):&#xA;  warning MSB3247: Found conflicts between different versions of the&#xA;  same dependent assembly. In Visual Studio, double-click this warning&#xA;  (or select it and press Enter) to fix the conflicts; otherwise, add&#xA;  the following binding redirects to the &quot;runtime&quot; node in the&#xA;  application configuration file:  8&gt; &#xA;  SitecoreDev.Foundation.Repository -&gt;&#xA;  C:\Projects\SitecoreDev\Foundation\Repository\SitecoreDev.Foundation.Repository\bin\SitecoreDev.Foundation.Repository.dll&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I believe that what this is telling me is that I need to add some assembly binding redirection to the web.config of the SitecoreDev.Foundation.Repository project to resolve this.  However I am not completely sure how to accomplish this in the Helix architecture.  If I understand correctly I don't want to have a web.config file in any of my projects.  If I do then it will overwrite the Sitecore web.config file when it copies files from the dev root to the web root.  Right?  So I'm not sure how to fix problems like this in a particular project in my solution.&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2017-04-12T16:10:09.677" LastActivityDate="2019-05-23T11:01:24.783" Title="When using Gulp to build a Helix based solution, what does &quot;MSBuild failed with code 1&quot; mean?" Tags="|helix|gulp|" AnswerCount="3" CommentCount="15" ContentLicense="CC BY-SA 3.0" />
  <row Id="5345" PostTypeId="1" AcceptedAnswerId="5513" CreationDate="2017-04-12T12:50:56.223" Score="0" ViewCount="839" Body="&lt;p&gt;When I try to rebuild the link database I get the following error from the dialog:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: RebuildLinkDatabasesIndex|System.UriFormatException: Invalid URI: The hostname could not be parsed.&#xA;at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)&#xA;at Sitecore.XA.Foundation.Multisite.LinkManagers.LocalizableLinkProvider.GetLocalizedUrl(Item item, String url, UrlOptions options)&#xA;at Sitecore.XA.Foundation.Multisite.LinkManagers.LocalizableLinkProvider.GetItemUrl(Item item, UrlOptions options)&#xA;at Sitecore.Xml.Xsl.LinkUrl.GetInternalUrl(Database database, String url, String itemID, String anchor, String queryString)&#xA;at Sitecore.Xml.Xsl.LinkUrl.GetUrl(XmlField field, Database database)&#xA;at Sitecore.Data.Fields.LinkField.get_InternalPath()&#xA;at Sitecore.Data.Fields.LinkField.ValidateLinks(LinksValidationResult result)&#xA;at Sitecore.Links.ItemLinks.AddLinks(Field field, List`1 links, ItemLinkState linkState)&#xA;at Sitecore.Links.ItemLinks.GetLinks(ItemLinkState linkState, Boolean allVersions, Boolean includeStandardValuesLinks)&#xA;at Sitecore.Links.ItemLinks.GetAllLinks(Boolean allVersions)&#xA;at Sitecore.Links.LinkDatabase.UpdateReferences(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;at Sitecore.Links.LinkDatabase.Rebuild(Database database)&#xA;at Sitecore.Shell.Applications.Dialogs.RebuildLinkDatabase.RebuildLinkDatabaseForm.Builder.Build()|Job ended: RebuildLinkDatabasesIndex (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 with SXA.&#xA;Possibly related; when I view the broken links report many of the broken links show a blank field. Presumably because the content was installed from a package including content and templates which had changed. So those blanks probably relate to removed template fields. It is possible there are orphaned field items lying around, but I'm not sure how I would delete those.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="2727" LastEditDate="2018-04-03T06:52:20.303" LastActivityDate="2018-04-03T06:52:20.303" Title="&quot;The hostname could not be parsed.&quot; Error while rebuilding Link database" Tags="|sxa|link-database|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5346" PostTypeId="2" ParentId="5334" CreationDate="2017-04-12T13:01:57.153" Score="1" Body="&lt;p&gt;Currently there is no official Sitecore recommendation on this. Also applications can be different and require different settings.&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-04-12T13:01:57.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5347" PostTypeId="2" ParentId="5342" CreationDate="2017-04-12T13:15:13.033" Score="1" Body="&lt;p&gt;The search you are performing is on the &lt;code&gt;Content&lt;/code&gt; property of the &lt;code&gt;SearchResultItem&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[IndexField(&quot;_content&quot;)]&#xA;public virtual string Content { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see this value maps on the IndexField &lt;code&gt;_content&lt;/code&gt;, which is a build-in computed field that aggregates the content.&#xA;This is why your &lt;code&gt;indexAllFields&lt;/code&gt; setting doesn't make any difference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To see why your IncludeTemplates are not working, we would need to see that config ;)&#xA;Make sure it looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;indexConfigurations&amp;gt;&#xA;  &amp;lt;ProductIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;&amp;gt;&#xA;    ...&#xA;    &amp;lt;documentOptions ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/documentOptions&quot;&amp;gt;&#xA;       &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;          &amp;lt;Product&amp;gt;{843B9598-318D-4AFA-B8C8-07E3DF5C6738}&amp;lt;/Product&amp;gt;&#xA;          ...&#xA;       &amp;lt;/include&amp;gt;&#xA;    &amp;lt;/documentOptions&amp;gt;&#xA;  &amp;lt;/ProductIndexConfiguration&amp;gt;&#xA;&amp;lt;/indexConfigurations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-04-12T13:15:13.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5349" PostTypeId="2" ParentId="5323" CreationDate="2017-04-12T16:44:13.973" Score="0" Body="&lt;p&gt;The way I do my scalability settings is for CD servers where I need to access certain pages like cache page I implement the Windows auth and restrict all other pages by disabling anonymous.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the answer would be to leave Windows auth enabled for the desired pages.  &lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorDisplayName="user62" LastEditDate="2017-04-21T12:26:42.510" LastActivityDate="2017-04-21T12:26:42.510" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5350" PostTypeId="2" ParentId="5323" CreationDate="2017-04-12T18:00:56.063" Score="3" Body="&lt;p&gt;If you aren't able to use windows authentication for some reason, I have implemented security for the Sitecore areas on CDs by using IP filterings and only allowing the local server IP address to access the pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This forces the user to be on the physical box (meaning they at the very least have RDP permissions, so hopefully are a trusted administrator) and can then access the Sitecore pages from there.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-04-12T18:00:56.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5351" PostTypeId="2" ParentId="5338" CreationDate="2017-04-12T18:04:32.517" Score="1" Body="&lt;p&gt;If you have output that should pull from an external piece of data and not from the current Sitecore item, then by definition you can't use renderings and logic that has been built only to look at the current Sitecore item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you pointed out, this likely means adjusting all your renderings. You could use controller logic to determine the current Model for a rendering and keep the same View, just the model is changed by the Controller. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also use separate renderings that have specific logic for this scenario, which is probably easier to build initially but does mean you have repetition of your View, and possibly Model and Controller.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-04-12T18:04:32.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5352" PostTypeId="2" ParentId="5333" CreationDate="2017-04-12T18:11:42.200" Score="2" Body="&lt;p&gt;You want to set the InstanceName to unique values on your CDs, such as abc12efdcms01-cd1 and abc12efdcms01-cd2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The servers are looking at that value to see if it has already completed the actions in the queue.  With both servers set to the same name, the second one is thinking it has already completed the task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server#_Changes_to_configuration_1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server#_Changes_to_configuration_1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use a patch file in a zzz folder that has a different value for each server.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CD1&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="32" LastEditorUserId="32" LastEditDate="2017-04-18T17:10:09.577" LastActivityDate="2017-04-18T17:10:09.577" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="5353" PostTypeId="2" ParentId="5328" CreationDate="2017-04-13T05:25:47.753" Score="1" Body="&lt;p&gt;I think it's okay if you change that. Also don't see any other option. But it's only possible if you are on Sitecore 8.2 update 1 or higher regarding to the release notes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update1/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update1/Release%20Notes&lt;/a&gt; - reference number 105306&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this information here - &lt;a href=&quot;http://www.sitecorecoffee.com/2016/12/language-fallback-on-final-layout.html?m=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecorecoffee.com/2016/12/language-fallback-on-final-layout.html?m=1&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-04-13T05:25:47.753" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5354" PostTypeId="1" AcceptedAnswerId="5357" CreationDate="2017-04-13T07:37:02.430" Score="4" ViewCount="1101" Body="&lt;p&gt;Am using sitecore 8.0, below code gets the analytics from the mongo db. I have two collections &quot;ineractions&quot; and &quot;ContactId&quot;, I want to join both the collections using common field &quot;contact&quot; from interactions collection and &quot;_id&quot; from contacts collection. Please refer my code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MongoDbReportDataSource mongoDBSource = new MongoDbReportDataSource(&quot;analytics&quot;);&#xA;&#xA;string queryInteractions = &quot;{collection: \&quot;Interactions\&quot;,query: {_t: \&quot;VisitData\&quot;},fields: [\&quot;_id\&quot;,\&quot;ContactId\&quot;,\&quot;StartDateTime\&quot;,\&quot;Pages.Item._id\&quot;,\&quot;Pages.Duration\&quot;,\&quot;Pages.Url.Path\&quot;,\&quot;Pages.Url.QueryString\&quot;,\&quot;Pages.PageEvents.Timestamp\&quot;]}&quot;;&#xA;ReportDataQuery interactionsReportQuery = new ReportDataQuery(queryInteractions);&#xA;DataTable interactions = mongoDBSource.GetData(interactionsReportQuery);&#xA;&#xA;string queryContacts = &quot;{collection: \&quot;Contacts\&quot;,fields: [\&quot;_id\&quot;,\&quot;Identifiers.Identifier\&quot;]}&quot;;&#xA;ReportDataQuery contactsReportQuery = new ReportDataQuery(queryContacts);&#xA;DataTable contacts = mongoDBSource.GetData(contactsReportQuery);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please suggest best approach to achieve this.&lt;/p&gt;&#xA;" OwnerUserId="1545" LastActivityDate="2017-04-13T10:11:35.947" Title="How to Join MongoDb Collections Using Sitecore Mongo Db Report Data Source" Tags="|mongodb|sitecore-query|datasource|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="5355" PostTypeId="1" AcceptedAnswerId="5356" CreationDate="2017-04-13T08:43:16.383" Score="0" ViewCount="57" Body="&lt;p&gt;There are numerous articles describing &lt;em&gt;how&lt;/em&gt; to define and register a new Sitecore event:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Community Docs: &lt;a href=&quot;http://sitecore-community.github.io/docs/pipelines-and-events/events/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Events&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Old SDN (still actual): &lt;a href=&quot;https://sdn.sitecore.net/articles/api/using%20events.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Using Events&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Are there any recommendations &lt;em&gt;when&lt;/em&gt; to do so?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One can simply raise and handle &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/edzehd2t(v=vs.110).aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;.NET events in code&lt;/a&gt;. Sitecore events can be registered in a config file which &lt;em&gt;might&lt;/em&gt; add some visibility and maintenance flexibility; Sitecore events have built-in support for &lt;em&gt;remote&lt;/em&gt; communication. Any other reasons to define a Sitecore event?&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-04-13T09:05:58.640" Title="When to define a new Sitecore event" Tags="|configuration|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5356" PostTypeId="2" ParentId="5355" CreationDate="2017-04-13T09:05:58.640" Score="4" Body="&lt;p&gt;One reason I can think of is &lt;em&gt;decoupling&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To subscribe to a regular .NET Event, I need to reference the assembly wherein it is defined. With Sitecore events, this is handled via configuration and therefore the Sitecore Configuration Factory. No reference to your assembly is necessary.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-04-13T09:05:58.640" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5357" PostTypeId="2" ParentId="5354" CreationDate="2017-04-13T10:11:35.947" Score="6" Body="&lt;p&gt;You can access MongoDB directly through the C# driver:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string connectionString = ConfigurationManager.ConnectionStrings[&quot;analytics&quot;].ConnectionString;&#xA;&#xA;var client = new MongoDB.Driver.MongoClient(connectionString);&#xA;&#xA;var database = client.GetServer().GetDatabase(&quot;your_database_name&quot;);&#xA;&#xA;var contacts = database.GetCollection(&quot;Contacts&quot;);&#xA;var results =&#xA;    contacts.Aggregate(&#xA;        new BsonDocument&#xA;        {&#xA;            {&#xA;                &quot;$lookup&quot;,&#xA;                new BsonDocument&#xA;                {&#xA;                    {&quot;from&quot;, &quot;Interactions&quot;},&#xA;                    {&quot;localField&quot;, &quot;_id&quot;},&#xA;                    {&quot;foreignField&quot;, &quot;ContactId&quot;},&#xA;                    {&quot;as&quot;, &quot;Interactions&quot;}&#xA;                }&#xA;            }&#xA;        });&#xA;&#xA;// This may be a very large string, depending on the amount of data you have&#xA;string json = results.ResultDocuments.ToJson();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the mongo shell, you can execute the same query using the following command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Contacts.aggregate({&#xA;    $lookup: {&#xA;        from: &quot;Interactions&quot;,&#xA;        localField: &quot;_id&quot;,&#xA;        foreignField: &quot;ContactId&quot;,&#xA;        as: &quot;Interactions&quot;&#xA;    }&#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This query performs a sort of a join between &lt;code&gt;Contacts&lt;/code&gt; and &lt;code&gt;Interactions&lt;/code&gt;. An array of Interactions will be nested in every contact object. Here's an example of the output:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[&#xA;    {&#xA;        &quot;_id&quot; : NUUID(&quot;35d21c9d-5135-436f-8da4-fd3cb9fe597d&quot;),&#xA;        &quot;System&quot; : {&#xA;            &quot;VisitCount&quot; : 2,&#xA;            &quot;Value&quot; : 0&#xA;        },&#xA;        &quot;Lease&quot; : {&#xA;            &quot;ExpirationTime&quot; : ISODate(&quot;2017-02-10T16:47:39.985Z&quot;),&#xA;            &quot;Owner&quot; : {&#xA;                &quot;Identifier&quot; : &quot;default-cd-cluster&quot;,&#xA;                &quot;Type&quot; : 0&#xA;            }&#xA;        },&#xA;        &quot;Interactions&quot; : [ &#xA;            {&#xA;                &quot;_id&quot; : NUUID(&quot;5395b002-f305-4210-82b1-7f89329f04e8&quot;),&#xA;                &quot;_t&quot; : &quot;VisitData&quot;,&#xA;                &quot;ContactId&quot; : NUUID(&quot;35d21c9d-5135-436f-8da4-fd3cb9fe597d&quot;),&#xA;                &quot;StartDateTime&quot; : ISODate(&quot;2017-02-10T11:46:53.949Z&quot;),&#xA;                &quot;EndDateTime&quot; : ISODate(&quot;2017-02-10T11:46:53.949Z&quot;),&#xA;                &quot;SaveDateTime&quot; : ISODate(&quot;2017-02-10T12:07:40.522Z&quot;),&#xA;                &quot;ChannelId&quot; : NUUID(&quot;b418e4f2-1013-4b42-a053-b6d4dca988bf&quot;),&#xA;                &quot;Browser&quot; : {&#xA;                    &quot;BrowserVersion&quot; : &quot;56.0&quot;,&#xA;                    &quot;BrowserMajorName&quot; : &quot;Chrome&quot;,&#xA;                    &quot;BrowserMinorName&quot; : &quot;56.0&quot;&#xA;                },&#xA;                &quot;Screen&quot; : {&#xA;                    &quot;ScreenHeight&quot; : 480,&#xA;                    &quot;ScreenWidth&quot; : 640&#xA;                },&#xA;                &quot;ContactVisitIndex&quot; : 1,&#xA;                &quot;DeviceId&quot; : NUUID(&quot;35d21c9d-5135-436f-8da4-fd3cb9fe597d&quot;),&#xA;                &quot;Ip&quot; : { &quot;$binary&quot; : &quot;fwAAAQ==&quot;, &quot;$type&quot; : &quot;00&quot; },&#xA;                &quot;Language&quot; : &quot;en&quot;,&#xA;                &quot;LocationId&quot; : NUUID(&quot;d98c1dd4-008f-04b2-e980-0998ecf8427e&quot;),&#xA;                &quot;OperatingSystem&quot; : {&#xA;                    &quot;_id&quot; : &quot;WinNT&quot;&#xA;                },&#xA;                &quot;Pages&quot; : [ &#xA;                    {&#xA;                        &quot;DateTime&quot; : ISODate(&quot;2017-02-10T11:46:54.189Z&quot;),&#xA;                        &quot;Duration&quot; : 0,&#xA;                        &quot;Item&quot; : {&#xA;                            &quot;_id&quot; : NUUID(&quot;110d559f-dea5-42ea-9c1c-8a5df7e70ef9&quot;),&#xA;                            &quot;Language&quot; : &quot;en&quot;,&#xA;                            &quot;Version&quot; : 1&#xA;                        },&#xA;                        &quot;PageEvents&quot; : [ &#xA;                            {&#xA;                                &quot;Name&quot; : &quot;Long running request&quot;,&#xA;                                &quot;ItemId&quot; : NUUID(&quot;110d559f-dea5-42ea-9c1c-8a5df7e70ef9&quot;),&#xA;                                &quot;Timestamp&quot; : NumberLong(0),&#xA;                                &quot;Data&quot; : &quot;7448&quot;,&#xA;                                &quot;DataKey&quot; : &quot;7,449&quot;,&#xA;                                &quot;Text&quot; : &quot;Request took 7,449ms to complete&quot;,&#xA;                                &quot;PageEventDefinitionId&quot; : NUUID(&quot;dc6f6aff-6aa9-423f-a824-49f9ee741aa9&quot;),&#xA;                                &quot;DateTime&quot; : ISODate(&quot;2017-02-10T11:46:57.028Z&quot;),&#xA;                                &quot;Value&quot; : 0&#xA;                            }&#xA;                        ],&#xA;                        &quot;PersonalizationData&quot; : {&#xA;                            &quot;ExposedRules&quot; : []&#xA;                        },&#xA;                        &quot;SitecoreDevice&quot; : {&#xA;                            &quot;_id&quot; : NUUID(&quot;fe5d7fdf-89c0-4d99-9aa3-b5fbd009c9f3&quot;),&#xA;                            &quot;Name&quot; : &quot;Default&quot;&#xA;                        },&#xA;                        &quot;MvTest&quot; : {&#xA;                            &quot;ValueAtExposure&quot; : 0&#xA;                        },&#xA;                        &quot;Url&quot; : {&#xA;                            &quot;Path&quot; : &quot;/&quot;&#xA;                        },&#xA;                        &quot;VisitPageIndex&quot; : 1&#xA;                    }&#xA;                ],&#xA;                &quot;SiteName&quot; : &quot;website&quot;,&#xA;                &quot;TrafficType&quot; : 20,&#xA;                &quot;UserAgent&quot; : &quot;Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36&quot;,&#xA;                &quot;Value&quot; : 0,&#xA;                &quot;VisitPageCount&quot; : 1&#xA;            }&#xA;        ]&#xA;    }&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-04-13T10:11:35.947" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5358" PostTypeId="2" ParentId="5283" CreationDate="2017-04-13T14:50:19.613" Score="0" Body="&lt;pre&gt;&lt;code&gt;using Sitecore.Data;&#xA;using Sitecore.WFFM.Abstractions.Actions;&#xA;using Sitecore.WFFM.Abstractions.Shared;&#xA;&#xA;namespace Sample.Namespace&#xA;{&#xA;    public class SendMessage : global::Sitecore.WFFM.Actions.SaveActions.SendMessage&#xA;    {&#xA;        public SendMessage(ISettings settings, IMailSender mailSender) : base(settings, mailSender)&#xA;        {&#xA;        }&#xA;&#xA;        public override void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;        {&#xA;            var dataToAppend = &quot;Get user profile data here... I had a custom extension method&quot;&#xA;            //Note that Mail is a property inherited from the base class&#xA;            //There are many other properties with setters that allow &#xA;            //customization of other things if necessary which can be&#xA;            //seen with the IsBodyHtml and IsIncludeAttachments properties&#xA;            Mail = $@&quot;{dataToAppend}{Mail}&quot;;&#xA;&#xA;            IsBodyHtml = true;&#xA;            IsIncludeAttachments = true;&#xA;&#xA;            base.Execute(formId, adaptedFields, actionCallContext, data);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-04-13T15:28:59.633" LastActivityDate="2017-04-13T15:28:59.633" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5359" PostTypeId="1" AcceptedAnswerId="5360" CreationDate="2017-04-13T15:06:29.333" Score="5" ViewCount="902" Body="&lt;p&gt;We use several environments in Sitecore and sometimes developers get confused about which environment they're currently using. Is it possible to edit the Sitecore applications header somehow, so that each environment has a different color?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/rn58c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be even nicer to put some text in that space, if possible.&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastEditorUserId="73" LastEditDate="2017-04-19T08:55:18.657" LastActivityDate="2017-04-19T08:55:18.657" Title="How to change the default header color in Sitecore's internal applications?" Tags="|sitecore-client|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5360" PostTypeId="2" ParentId="5359" CreationDate="2017-04-13T15:08:41.087" Score="5" Body="&lt;p&gt;There is a module on Sitecore Marketplace which does exactly what you need and even more. It's called &lt;strong&gt;ENVIRONMENT STYLER FOR SITECORE&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find it here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/E/Environment_Styler_for_Sitecore.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/E/Environment_Styler_for_Sitecore.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about it on author's blog: &lt;a href=&quot;https://jammykam.wordpress.com/2017/01/03/environment-styler-for-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://jammykam.wordpress.com/2017/01/03/environment-styler-for-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not 100% sure but I think it's this css line which changes the color of the header:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.sc-globalHeader {&#xA;    background-color: #FF0000;&#xA;    background: radial-gradient(circle, #FF0000, #FF8C00, #FF0000);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-04-13T15:08:41.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5361" PostTypeId="2" ParentId="5359" CreationDate="2017-04-13T15:41:37.630" Score="2" Body="&lt;p&gt;The module that Marek mentioned is great. Another option that does also add text is the Sitecore Extensions Google Chrome extension. It is open source (&lt;a href=&quot;https://github.com/alan-null/sc_ext&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/alan-null/sc_ext&lt;/a&gt;) so you can contribute if you want too :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the link to add the extension to Chrome: &lt;a href=&quot;https://chrome.google.com/webstore/detail/sitecore-extensions/aoclhcccfdkjddgpaaajldgljhllhgmd&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://chrome.google.com/webstore/detail/sitecore-extensions/aoclhcccfdkjddgpaaajldgljhllhgmd&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An advantage here is that you don't have to install a module on each Sitecore instance, once its installed it works for all Sitecore sites you visit. A limitation is that you have to use Chrome, that is fine for most people.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once installed if you are on the web database it will change the titlebar to red and add &lt;em&gt;WEB&lt;/em&gt; to it:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zYZAl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zYZAl.png&quot; alt=&quot;Sitecore Extensions Web DB&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is limited to highlighting web vs master - so if you want different colors for each client, go with the module from JammyKam - there are a lot of other really useful features with the extension tho - so maybe a combination of both is the best!&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-04-13T15:41:37.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5362" PostTypeId="1" CreationDate="2017-04-13T16:38:06.287" Score="1" ViewCount="63" Body="&lt;p&gt;I'm new to Sitecore and am hoping someone can help. What is the best/easiest way to set this up for content editors so that if they choose a value from one tree, it automatically tags for other assigned values. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example if I choose value X, it automatically also selects A and C from tree 2, and A,B and F from tree 4. If I choose value Y, it automatically also selects B and G from tree 2 and A and C from tree 5. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this something I can do with tag groups?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help.&lt;/p&gt;&#xA;" OwnerUserId="1798" LastActivityDate="2017-04-13T16:38:06.287" Title="Automatically assign tags based on a single parent value" Tags="|content-editor|taxonomy|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="5363" PostTypeId="1" AcceptedAnswerId="5526" CreationDate="2017-04-13T18:32:36.013" Score="2" ViewCount="266" Body="&lt;p&gt;I want to be able to change the display name of the publishing target item and not change the item name as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ym31U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ym31U.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the config/global folder for the Sitecore Publishing Service, there is a XML file to apply the additional publishing targets.  Below is an example leaving out some of the other targets:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;Publishing&amp;gt;&#xA;      &amp;lt;Services&amp;gt;&#xA;        &amp;lt;StoreFactory&amp;gt;&#xA;          &amp;lt;Options&amp;gt;&#xA;            &amp;lt;Stores&amp;gt;&#xA;              &amp;lt;Targets&amp;gt;&#xA;                &amp;lt;!--Additional targets can be configured here--&amp;gt;&#xA;                &amp;lt;Production_DR&amp;gt;&#xA;                  &amp;lt;Type&amp;gt;Sitecore.Framework.Publishing.Data.TargetStore, Sitecore.Framework.Publishing.Data&amp;lt;/Type&amp;gt;&#xA;                  &amp;lt;ConnectionName&amp;gt;DisasterRecovery&amp;lt;/ConnectionName&amp;gt;&#xA;                  &amp;lt;FeaturesListName&amp;gt;TargetStoreFeatures&amp;lt;/FeaturesListName&amp;gt;&#xA;                  &amp;lt;!-- The id of the target item definition in Sitecore. --&amp;gt;&#xA;                  &amp;lt;Id&amp;gt;964c28ac-46be-409a-8ff8-ba5412694a2b&amp;lt;/Id&amp;gt;&#xA;                  &amp;lt;!-- The name of the Database entity in Sitecore. --&amp;gt;&#xA;                  &amp;lt;ScDatabase&amp;gt;disaster_recovery&amp;lt;/ScDatabase&amp;gt;&#xA;                &amp;lt;/Production_DR&amp;gt;                    &#xA;             &amp;lt;/Targets&amp;gt;&#xA;            &amp;lt;/Stores&amp;gt;&#xA;          &amp;lt;/Options&amp;gt;&#xA;        &amp;lt;/StoreFactory&amp;gt;&#xA;      &amp;lt;/Services&amp;gt;&#xA;    &amp;lt;/Publishing&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After changing the display name from &lt;code&gt;Production_DR&lt;/code&gt; to &lt;code&gt;Production Disaster Recovery&lt;/code&gt;, publishing fails for that specific target:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/inxAt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/inxAt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand that the targets configured for Sitecore Publishing Service must match the publishing targets in Sitecore.  Is there another way to achieve the same results?  Or, how would you configure publishing targets that have spaces in the name?&lt;/p&gt;&#xA;" OwnerUserId="653" LastActivityDate="2017-06-14T10:49:05.563" Title="Change in Publishing Target Display Name Breaks Target Mapping in Publishing Service" Tags="|publishing-service|publishing-targets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5364" PostTypeId="1" AcceptedAnswerId="5370" CreationDate="2017-04-14T02:26:42.147" Score="3" ViewCount="222" Body="&lt;p&gt;I am running a process in the Data Exchange Framework so I don't really have access to the tracker. Is there a way to tell if a contact is locked/in session other than using the following and checking the status (already locked)?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LockAttemptResult&amp;lt;Contact&amp;gt; lockResult = contactRepository.TryLoadContact(emailAddress, leaseOwner, TimeSpan.FromMinutes(1));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That returns a status, but also tries and locks it. I just need to know if it is already locked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was hoping &lt;code&gt;var contact = contactRepository.LoadContactReadOnly(email);&lt;/code&gt; would also include a lock status, but does not seem to be a way to get it. I need a way basically to pass in an email and return a lock status. This post was helpful, but I am hoping there is another way to do it. Thanks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2642/identify-contact-without-using-tracker-current-session-identify/2644#2644&quot;&gt;Identify contact without using Tracker.Current.Session.Identify()&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-04-16T17:54:12.027" Title="Checking for Locked/In Session Contact Running Data Exchange Framework" Tags="|xdb|data-exchange-framework|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5365" PostTypeId="1" CreationDate="2017-04-14T10:26:42.620" Score="4" ViewCount="101" Body="&lt;p&gt;I am in the process of analyzing the option of migrating the existing commerce data into Sitecore Commerce, what are the activities are involved in that ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far i know,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a. Analyze existing Commerce Structure&lt;br&gt;&#xA;b. Document the Existing Category, Product Definitions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;c. Design new Category, Product, Property Definitions&lt;br&gt;&#xA;d. Create new Category, Product, Property Definitions&lt;br&gt;&#xA;e. Review the implementation&lt;br&gt;&#xA;f. Create sample Products&lt;br&gt;&#xA;g. Organize Existing Products Data for Import&lt;br&gt;&#xA;h. Import existing Products into Commerce system&lt;br&gt;&#xA;i. Review the Data Import&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone add if anything to be considered.&lt;/p&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2017-04-14T10:26:42.620" Title="What are the activities involved in Commerce Content Migration?" Tags="|sitecore-commerce|migration|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5367" PostTypeId="2" ParentId="4147" CreationDate="2017-04-14T13:53:28.783" Score="1" Body="&lt;p&gt;While doing an install and a reporting database rebuild on a local development environment, I started receiving the exact same error messages on pretty much any SSC web API call. I evaluated all of the links provided in comments, and the one answer that seemed to help me exactly was the forcible removal and clearing of all cookies for the development domain that I was working on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Chrome &quot;Clear Cache and Hard Reset&quot; did not do the trick.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open up Chrome Tools, Go to Application, and right click on your local site, and press the clear button.  Then refresh your browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T4Omf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T4Omf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-04-14T13:53:28.783" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5370" PostTypeId="2" ParentId="5364" CreationDate="2017-04-15T00:04:06.463" Score="0" Body="&lt;p&gt;No. There is no way to do this with Sitecore 8.2 or earlier.&lt;/p&gt;&#xA;" OwnerUserId="256" LastActivityDate="2017-04-15T00:04:06.463" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5372" PostTypeId="1" CreationDate="2017-04-15T10:17:42.017" Score="0" ViewCount="133" Body="&lt;p&gt;I just want to understand the best content strategy that we need to employ for future large content sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a scenario the customer is using the Sitecore 7.x for about 4+ years, pure content site, which got rolled out for 10+ countries. Over time the Content authors created as much content as possible and the site performance is in unacceptable limit, with the consideration and limitation of using caching at CD, Load Balance Cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As we know this could be the case for many future websites as well. I just want to understand from the architecture perspective and content management perspective, what factors do we need to consider to manage large content and ever growing content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The below may not be right, but just a thought.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Anyway the master / core database can be split ?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;What archive strategy we can apply to manage such situations?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Is sitecore is going to move away from SQL server to No SQL ? to maintain the scale and volume ?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can anyone share your experience on how did you manage/managing huge content ?&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="423" LastEditDate="2017-08-07T20:20:32.760" LastActivityDate="2017-08-07T20:20:32.760" Title="Sitecore Content Limitation, best strategy way forward" Tags="|content-management|scaling|information-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5373" PostTypeId="1" AcceptedAnswerId="5374" CreationDate="2017-04-15T11:17:39.153" Score="2" ViewCount="182" Body="&lt;p&gt;I've got the Sitemap XML package installed and I'm interested in using the new publishing service. Because the publish:end pipeline is no longer used with the publishing service, where would I put that call for the Sitemap XML now so it fires after the publishing service runs?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-04-15T14:46:38.220" Title="Publishing service with Sitemap XML" Tags="|publishing-service|sitemap|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5374" PostTypeId="2" ParentId="5373" CreationDate="2017-04-15T14:46:38.220" Score="0" Body="&lt;p&gt;In v2.0, the publishing service module exposes a new event in Sitecore: &lt;code&gt;publishingservice:publishend&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the publishing service completes a publishing job, this event is triggered once for the entire job in addition to the three events from the existing publishing system:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;publish:begin&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;publish:complete&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;publish:fail&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So apparently the &lt;code&gt;publish:end&lt;/code&gt; is not yet supported but you could use the new event from the service or the publish:complete.&#xA;I tested that last one and it works, but has a small bug: the published languages are not all send to the event (just the first one). That has been fixed in a hotfix though (can give the number as soon as I can access the support site again).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be aware that the arguments for the events are not the same, so you will need to write the event code again.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-04-15T14:46:38.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5375" PostTypeId="2" ParentId="5372" CreationDate="2017-04-15T18:30:10.567" Score="3" Body="&lt;p&gt;From the experience I have with Sitecore, we have rolled out 70+ sites on sitecore. Below are the following points/practice we usually follow when implementing our sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Content Sharing&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may have a main content repository which stores all the common content for the different sites. Contents that are specific to a site are created under the site node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Content Size&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is preferable to make use of Sitecore buckets to store contents because it is the number of contents which will keep on growing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Indexing&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make use of Sitecore indexes so that you index the contents and when loaded on the site, instead of performing a call to the database, perform a call to the indexes to retrieve the contents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Environment Cluster&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Breaking the different sites on different cluster may helps in terms of performance. For example, if you have sites found in the Europe, Middle East, Americas, you may have different server clusters such as EU which will hold all Europe Sites, NALA which will hold the different sites in the North ou South of America.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Query&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perform query which does not have to loop through the whole content tree. Example, when using the &lt;code&gt;Axes.GetDescendents()&lt;/code&gt;. I saw many times that the item is the root site and when the mention method is used, it loops through all items in the sites. So, you need to try as much as possible to perform a call ti the database which targets the item precisely and also make use of &lt;code&gt;query&lt;/code&gt; instead of &lt;code&gt;fast query&lt;/code&gt; because fast query is not cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Assets&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make use of CDN to load the different assets such as images, JavaScript and CSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Server Configuration&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for server configuration, please follow the scalability guide of Sitecore found at the Sitecore knowledge base.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-04-15T18:30:10.567" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5376" PostTypeId="2" ParentId="5364" CreationDate="2017-04-16T17:54:12.027" Score="2" Body="&lt;h2&gt;Direct query approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can check whether a contact is locked using a direct MongoDB query. Keep in mind that the way contacts are locked may be changed in the future versions of Sitecore. The code below has been tested on Sitecore 8.1 and 8.2&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;bool IsContactLocked(Guid contactId)&#xA;{&#xA;    MongoDbDriver driver = MongoDbDriver.FromConnectionString(&quot;analytics&quot;);&#xA;&#xA;    long count = driver.Contacts.Count(&#xA;        Query.And(&#xA;            Query.EQ(&quot;_id&quot;, contactId),&#xA;            Query.GT(&quot;Lease.ExpirationTime&quot;, DateTime.UtcNow)));&#xA;&#xA;    return count &amp;gt; 0;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's how to use the method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid contactId = new Guid(&quot;54A0D46A-A843-42BC-B62B-9F947167FD65&quot;);&#xA;&#xA;if (IsContactLocked(contactId))&#xA;{&#xA;    // ... postpone your contact update&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Proper approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You should still use the &lt;code&gt;ContactRepository.TryLoadContact()&lt;/code&gt; API. Based on your comments, I can see you want to check whether a contact is unlocked, and only then schedule an update operation. The thing is, your code is running in a multithreading/multiprocess environment. So even if you make sure the contact is free with the code above, once the scheduled job starts, the contact may &lt;em&gt;become&lt;/em&gt; locked by that time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The concurrency-aware approach here is for the scheduled job to try to lock the contact. If it succeeds, it will know for sure it can update the contact. If the lock attempt fails, the job should just reschedule itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way you'll use the standard Sitecore API, and when you think about it, this approach won't be any slower compared to the direct query approach above.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-04-16T17:54:12.027" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5377" PostTypeId="1" AcceptedAnswerId="5378" CreationDate="2017-04-16T19:38:24.343" Score="2" ViewCount="392" Body="&lt;p&gt;I am currently implementing a module on SPEAK UI. I have a dialog which shows up when the user clicks on a button. Then, on the dialog, I have a &lt;code&gt;label&lt;/code&gt; with a &lt;code&gt;combo box&lt;/code&gt; which displays a list of items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The list is retrieved as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;jquery&quot;], function (sitecore, $) {&#xA;&#xA;    var initStepDefinition = sitecore.Definitions.App.extend({&#xA;&#xA;        initialized: function () {&#xA;            this.getOptions();&#xA;        },&#xA;        getOptions: function () {&#xA;            var app = this;&#xA;&#xA;            $.get(&quot;/api/experimental/getoptionlist&quot;).done(&#xA;                function (data) {&#xA;                    app.OptionBox.set(&quot;items&quot;,data);&#xA;                }&#xA;            );          &#xA;        }&#xA;    });&#xA;&#xA;    return initStepDefinition;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, I need to display a form under the &lt;code&gt;combo box&lt;/code&gt; when the user selects an item from the list. The &lt;code&gt;data&lt;/code&gt; being returned from the server is a list of objects (Value and Text) and converted into &lt;code&gt;JSON&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; I don't know how to bind in the &lt;code&gt;change event&lt;/code&gt; so that on each selection, I get the Id of the selected item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've seen that Sitecore makes use of the &lt;code&gt;Knockout.js&lt;/code&gt; and that it is the &lt;code&gt;options: items&lt;/code&gt; data bind which I need to check but I don't know how. I am new to the SPEAK Framework and this is the first module I am implementing using SPEAK.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-04-16T20:30:17.560" Title="SPEAK Combobox options binding" Tags="|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5378" PostTypeId="2" ParentId="5377" CreationDate="2017-04-16T20:30:17.560" Score="1" Body="&lt;p&gt;I have been able to do it by using the event &lt;code&gt;change:selectedItemId&lt;/code&gt;. Below is the code that I have used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;jquery&quot;], function (sitecore, $) {&#xA;&#xA;    var initStepDefinition = sitecore.Definitions.App.extend({&#xA;&#xA;        initialized: function () {&#xA;            this.getOptions();&#xA;            this.getChangeOption();&#xA;        },&#xA;        getOptions: function () {&#xA;            var app = this;&#xA;&#xA;            $.get(&quot;/api/experimental/getoptionlist&quot;).done(&#xA;                function (data) {&#xA;                    app.OptionBox.set(&quot;items&quot;,data);&#xA;                }&#xA;            );          &#xA;        },&#xA;        getChangeOption: function (){&#xA;            var app = this;&#xA;&#xA;            app.OptionBox.on(&quot;change:selectedItemId&quot;, (function (){&#xA;                alert(app.OptionBox.viewModel.selectedItemId());&#xA;            }));&#xA;        }&#xA;    });&#xA;&#xA;    return initStepDefinition;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-04-16T20:30:17.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5379" PostTypeId="1" CreationDate="2017-04-17T06:00:52.427" Score="2" ViewCount="416" Body="&lt;p&gt;I am working on getting the Data Exchange Framework to update xDB contacts.&#xA;I have it working for email and phone numbers, but now I have some properties that I'd like to store in the contacts' tags. I have tried different setups with a Facet Collection Property Value Accessor and a Facet Indexer Property Value Accessor, but that results in failed mappings. Is there anyone who has managed to update the contacts visitor tags with DEF?&lt;/p&gt;&#xA;" OwnerUserId="1035" LastActivityDate="2017-04-19T14:09:27.870" Title="Setting contact tags with data exchange framework" Tags="|xdb|contact-facets|data-exchange-framework|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5381" PostTypeId="1" CreationDate="2017-04-17T10:25:47.390" Score="5" ViewCount="2396" Body="&lt;p&gt;We have created a Virtual User in Sitecore (to reside in Sitecore memory) - we are able to see the virtual user with all the profile data we save but on a redirect to a new page, the Virtual user and its data is lost. We are just seeing a normal anonymous user which is not a virtual user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The virtual user is created using the below code syntax -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Security.Accounts.User user = Sitecore.Security.Authentication.AuthenticationManager.BuildVirtualUser(@&quot;domain\user&quot;, true);&#xA;if (user != null)&#xA;{&#xA;   string domainRole = @&quot;domain\role&quot;;&#xA;   if (Sitecore.Security.Accounts.Role.Exists(domainRole))&#xA;   {&#xA;     user.Roles.Add(Role.FromName(domainRole));&#xA;   }&#xA;&#xA;   user.Profile.Email = &quot;user@domain.com&quot;;&#xA;   user.Profile[&quot;Custom Property&quot;] = &quot;Custom Value&quot;;&#xA;   user.Profile.Save();&#xA;   Sitecore.Security.Authentication.AuthenticationManager.LoginVirtualUser(user);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Are we missing something to make the virtual user available on all pages of our application.&lt;/p&gt;&#xA;" OwnerUserId="1339" LastEditorUserId="73" LastEditDate="2017-11-21T09:59:28.473" LastActivityDate="2019-03-25T19:11:47.037" Title="Sitecore Virtual User is lost on new page request" Tags="|user-profile|membership-provider|" AnswerCount="3" CommentCount="14" ContentLicense="CC BY-SA 3.0" />
  <row Id="5382" PostTypeId="1" CreationDate="2017-04-17T13:49:46.350" Score="3" ViewCount="1650" Body="&lt;p&gt;Using sc8.0 with MVC.&lt;br&gt;&#xA;There is a rendering to render banner items. Each banner item has a checkbox field &quot;Is Featured&quot;. I would like to give the author to use the checkbox field in experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is something I tried, following an online article. I change the option in the dropdown and click on Save. It shows the red banner under menu - an error occurred. But there are no logs in console or in the data folder. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (isPageEditorEditing)&#xA;{&#xA;  &amp;lt;div&amp;gt;                                                    &#xA;    &amp;lt;select onchange=&quot;Sitecore.WebEdit.setFieldValue('@myitem.Uri', '@Fields.IsFeatured.ToShortID()', this.options[this.selectedIndex].value);&quot;&amp;gt;&#xA;     &amp;lt;option value=&quot;1&quot;&amp;gt;Yes&amp;lt;/option&amp;gt;&#xA;     &amp;lt;option value=&quot;0&quot;&amp;gt;No&amp;lt;/option&amp;gt;&#xA;    &amp;lt;/select&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-06-14T13:59:23.987" Title="How to edit a checkbox field in experience editor" Tags="|experience-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5383" PostTypeId="2" ParentId="5382" CreationDate="2017-04-17T14:26:38.087" Score="1" Body="&lt;p&gt;I would prefer adding a custom experience button in the Core Database. Once the button is created we can show this button in a floating toolbar on the component. Also, in Sitecore we need to mark this as editable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check the link below on how to add custom fields to enhance experience editor for the editors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/maximizing_usability/posts/enhancing-the-page-editor-experience-with-custom-experience-buttons&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/maximizing_usability/posts/enhancing-the-page-editor-experience-with-custom-experience-buttons&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2016/03/Sitecore-8-and-8-1-How-to-add-a-Field-Editor-Button-to-a-component-in-Experience-Editor-Mode.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2016/03/Sitecore-8-and-8-1-How-to-add-a-Field-Editor-Button-to-a-component-in-Experience-Editor-Mode.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it helps.&lt;/p&gt;&#xA;" OwnerUserId="1339" LastEditorUserId="1339" LastEditDate="2017-04-18T08:17:56.857" LastActivityDate="2017-04-18T08:17:56.857" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5384" PostTypeId="1" AcceptedAnswerId="5386" CreationDate="2017-04-17T14:40:14.780" Score="3" ViewCount="522" Body="&lt;p&gt;I have a user that needs access to both Experience Profile and Presentation Details. We found a Sitecore KB reference (&lt;a href=&quot;https://kb.sitecore.net/articles/820320&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/820320&lt;/a&gt;) that stated if a user had the Author or Designer permissions assigned, they couldn't see the Experience Profile. This appears accurate, as my user - when they had those permissions - would click Experience Profile and be bounced to the login page. If I take away Author/Designer, they can access the Experience Profile, but then trying to access presentation details in either Content or Experience Editors is not available (they can still edit content, but not presentation).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Beyond assigning the user full admin rights, does anyone have experience with this setup? Or is this a case where they might need an analytics user account separate from their authoring account? They use AD integration, but I could create a sitecore domain user for it, I'd rather not have to go that route though.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-04-17T16:43:51.230" Title="Access to both Experience Profile and Presentation Details" Tags="|experience-editor|content-editor|presentation|security|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5385" PostTypeId="1" AcceptedAnswerId="5389" CreationDate="2017-04-17T15:13:08.653" Score="0" ViewCount="364" Body="&lt;p&gt;We are having some issues with Active Directory and redirecting to the &lt;code&gt;/sitecore/admin/LDAPLogin.aspx&lt;/code&gt; page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should be properly setup so users are redirected to this page to login? Also just to confirm this is the correct page? The goal is to have it redirect to an HTTPS (secured login). &lt;/p&gt;&#xA;" OwnerUserId="853" LastEditorUserId="70" LastEditDate="2017-04-17T15:20:06.773" LastActivityDate="2017-04-17T18:10:09.917" Title="Redirecting to /sitecore/admin/LDAPLogin.aspx and Forcing Login" Tags="|active-directory-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5386" PostTypeId="2" ParentId="5384" CreationDate="2017-04-17T16:43:51.230" Score="1" Body="&lt;p&gt;There is another option - define your own user access role - &lt;code&gt;sitecore/YourOwnUserRole&lt;/code&gt; - then give that user all the same access as a &lt;code&gt;sitecore/Author&lt;/code&gt; and &lt;code&gt;sitecore/Designer&lt;/code&gt; and then make sure they have access in the core database to: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/client/Applications/ExperienceProfile&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/client/Applications/ExperienceAnalytics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;ref: &lt;a href=&quot;https://kb.sitecore.net/articles/820320&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/820320&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-04-17T16:43:51.230" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5387" PostTypeId="1" AcceptedAnswerId="5388" CreationDate="2017-04-17T17:51:50.977" Score="0" ViewCount="55" Body="&lt;p&gt;My issue is that I need to be able to allow a user to use the General Link FieldType and when the field is rendered I only want part of the text to be linkable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link Description: This is my link to test please click here&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I only want the &quot;click here&quot; portion to be clickable.   Is there any way to do this with the current field types in SiteCore or would I have to create a custom Field Type?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. I wasn't sure how to name my request so I went with Partial LinkField.&lt;/p&gt;&#xA;" OwnerUserId="766" LastActivityDate="2017-04-17T17:56:25.667" Title="Partial LinkField for Sitecore 8.1 rev. 160302" Tags="|fieldtype|renderfield|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5388" PostTypeId="2" ParentId="5387" CreationDate="2017-04-17T17:56:25.667" Score="1" Body="&lt;p&gt;No, this is not doable with the existing General Link Field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your options are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Have a Single Line Text field for first part, and generic link for the second part&lt;/li&gt;&#xA;&lt;li&gt;Use Rich Text &lt;/li&gt;&#xA;&lt;li&gt;Custom Field Type (this is definitely the most complicated options)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'd recommend first option if this only is needed in a few places. The third option is not trivial, so wouldn't recommend that if you only need this once or twice.&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-04-17T17:56:25.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5389" PostTypeId="2" ParentId="5385" CreationDate="2017-04-17T18:10:09.917" Score="1" Body="&lt;p&gt;I've been using the AD module for some time now and here are some items for consideration.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The &lt;code&gt;LDAPLogin.aspx&lt;/code&gt; page could be substituted for the &lt;code&gt;/sitecore/login/default.aspx&lt;/code&gt; in the event you want all users to use AD.&lt;/li&gt;&#xA;&lt;li&gt;I recommend you make the entire site HTTPS for Content Authors, that way there is no special setup for the login page.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;There is a post &lt;a href=&quot;http://www.nehemiahj.com/2013/01/how-to-enable-single-sign-on-in-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; that provides a more detailed example as to which files to rename.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-04-17T18:10:09.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5390" PostTypeId="1" CreationDate="2017-04-17T19:42:10.223" Score="2" ViewCount="1329" Body="&lt;p&gt;I was able to download all the legacy image files in my media library via an ASP.net script (&lt;a href=&quot;https://gist.github.com/DaveGoosem/6289015&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/DaveGoosem/6289015&lt;/a&gt;), in order to optimize them.  I've finished doing this and now want to re-upload/attach them to the media items and replace the old ones.  Wondering if there is an easy way to do this either via .Net or via a Powershell script?  There are hundreds, so I'm not keen on replacing them manually within the content editor!&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="237" LastEditDate="2017-12-18T10:26:29.473" LastActivityDate="2017-12-18T11:08:05.477" Title="Reattach images to media library items after optimization?" Tags="|media-library|powershell-extensions|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5391" PostTypeId="2" ParentId="5390" CreationDate="2017-04-17T20:07:46.400" Score="2" Body="&lt;p&gt;This can certainly be performed using Sitecore PowerShell Extensions. Read more about setting up SPE Remoting &lt;a href=&quot;https://doc.sitecorepowershell.com/remoting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following gets an item and uploads through SPE Remoting.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$session = New-ScriptSession -Username &quot;sitecore\admin&quot; -Password &quot;b&quot; -ConnectionUri &quot;https://remotesitecore&quot;&#xA;$localFilePath = &quot;C:\temp&quot;&#xA;$filename = &quot;kitten.jpg&quot;&#xA;$filenameWithoutExtension = [System.IO.Path]::GetFileNameWithoutExtension($filename)&#xA;Get-Item -Path &quot;$($localFilePath)\$($filename)&quot; | Send-RemoteItem -Session $session -RootPath Media -Destination &quot;Images/&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you wish to update using a GUID then the command changes slightly like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;... | Send-RemoteItem -Session $session -RootPath Media -Destination &quot;{GUID}&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check out the modules directory for more samples &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/tree/master/Modules&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-04-17T23:28:32.060" LastActivityDate="2017-04-17T23:28:32.060" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="5392" PostTypeId="1" CreationDate="2017-04-17T20:09:25.850" Score="0" ViewCount="1420" Body="&lt;p&gt;My code is below. The Log.Info functions are being called and writing to the log on my CM box. But, nothing is being logged on the CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 Update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;XML Code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events timingLevel=&quot;custom&quot;&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Modules.SitemapXML.SitemapHandler, Sitemap.XML&quot; method=&quot;RefreshSitemap&quot; /&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Modules.SitemapXML.SitemapHandler, Sitemap.XML&quot; method=&quot;RefreshSitemap&quot; /&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;C# Code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using System;&#xA;&#xA;namespace Sitecore.Modules.SitemapXML&#xA;{&#xA;    public class SitemapHandler&#xA;    {&#xA;        public void RefreshSitemap(object sender, EventArgs args)&#xA;        {&#xA;            Log.Info(&quot;SitemapXML Module - RefreshSitemap Function Has Been Started&quot;, this);&#xA;&#xA;            SitemapManager sitemapManager = new SitemapManager();&#xA;            sitemapManager.SubmitSitemapToSearchenginesByHttp();&#xA;            //sitemapManager.RegisterSitemapToRobotsFile();&#xA;&#xA;&#xA;            Log.Info(&quot;SitemapXML Module - RefreshSitemap Function Has Finished&quot;, this);&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ShowConfig.xml:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Modules.SitemapXML.SitemapHandler, Sitemap.XML&quot; method=&quot;RefreshSitemap&quot; patch:source=&quot;SitemapXML.config&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log File Error (Possibly Related):&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Heartbeat 2017:04:17 17:19:10 ERROR One or more exceptions occurred while processing the subscribers to the 'publish:end:remote' event.&#xA;Exception[1]: System.NullReferenceException &#xA;Message[1]: Object reference not set to an instance of an object. &#xA;Source[1]: MyCompany.Framework &#xA;   at MyCompany.Framework.Pipelines.CustomLinkProvider.CustomLinkProvider.GetItemUrl(Item item, UrlOptions options) in E:\Agents\PRG01\_work\5\s\Features\UpgradeToSitecore8.1\Source\MyCompany.Framework\Pipelines\CustomLinkProvider\CustomLinkProvider.cs:line 15&#xA;   at Sitecore.Modules.SitemapXML.SitemapManager.GetItemUrl(Item item, Site site, Language language) in E:\Agents\PRG01\_work\5\s\Features\UpgradeToSitecore8.1\Source\SitempXML\SitemapXML\SitemapManager.cs:line 306&#xA;   at Sitecore.Modules.SitemapXML.SitemapManager.BuildSitemapItem(XmlDocument doc, Item item, Site site) in E:\Agents\PRG01\_work\5\s\Features\UpgradeToSitecore8.1\Source\SitempXML\SitemapXML\SitemapManager.cs:line 257&#xA;   at Sitecore.Modules.SitemapXML.SitemapManager.BuildSitemapXML(List`1 items, Site site) in E:\Agents\PRG01\_work\5\s\Features\UpgradeToSitecore8.1\Source\SitempXML\SitemapXML\SitemapManager.cs:line 230&#xA;   at Sitecore.Modules.SitemapXML.SitemapManager.WriteInXml(List`1 items, Site site, Int32 skip, Int32 take, String fullPath) in E:\Agents\PRG01\_work\5\s\Features\UpgradeToSitecore8.1\Source\SitempXML\SitemapXML\SitemapManager.cs:line 74&#xA;   at Sitecore.Modules.SitemapXML.SitemapManager.BuildSiteMap(String sitename, String sitemapUrlNew) in E:\Agents\PRG01\_work\5\s\Features\UpgradeToSitecore8.1\Source\SitempXML\SitemapXML\SitemapManager.cs:line 105&#xA;   at Sitecore.Modules.SitemapXML.SitemapManager..ctor() in E:\Agents\PRG01\_work\5\s\Features\UpgradeToSitecore8.1\Source\SitempXML\SitemapXML\SitemapManager.cs:line 65&#xA;   at Sitecore.Modules.SitemapXML.SitemapHandler.RefreshSitemap(Object sender, EventArgs args) in E:\Agents\PRG01\_work\5\s\Features\UpgradeToSitecore8.1\Source\SitempXML\SitemapXML\SitemapHandler.cs:line 30&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;I am now seeing the logging on each CD server. This issue seemed to be that I have to browse at least one page on the each CD server. Maybe the issue is that the application needs to be started.&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2017-04-18T17:37:33.157" LastActivityDate="2017-04-18T17:37:33.157" Title="publish:end:remote Event Does Not Seem to be Firing on CD Servers" Tags="|publishing|" AnswerCount="0" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="5396" PostTypeId="1" AcceptedAnswerId="5398" CreationDate="2017-04-18T07:49:16.807" Score="0" ViewCount="4962" Body="&lt;p&gt;I've deployed a local instance of our Sitecore project and I'm trying to get TDS to work. The tests page shows all green:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/jo2BQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However when attempting to click on &lt;em&gt;Sync with Sitecore&lt;/em&gt; I receive a 500 error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/nKWE7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the TDS log shows the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception ProtocolException:&#xA;&#xA;Server stack trace: &#xA;   at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)&#xA;   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)&#xA;   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)&#xA;   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)&#xA;   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)&#xA;   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)&#xA;   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)&#xA;&#xA;Exception rethrown at [0]: &#xA;   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)&#xA;   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoap.Version(VersionRequest request)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoap.Version(VersionRequest request)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.Version()&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.CheckClientVersion(TdsServiceSoapClient client, SitecoreProjectNode project, Boolean retry)&#xA;&#xA;&#xA;Inner Exception Details:&#xA;Exception The remote server returned an error: (500) Internal Server Error. (WebException):&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)&#xA;Exception An error occured getting the TDS service version. Please review the Sitecore logs and/or windows events on the server to determine the problem. (ApplicationException):&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.GetTdsServiceSoapClient(String sitecoreWebUrl, String sitecoreAccessGuid, SitecoreProjectNode project, Boolean checkVersion)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.GetTdsServiceSoapClient(SitecoreProjectNode project, Boolean checkVersion)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.ToolWindows.SyncWithSitecoreToolWindow.SyncItemsWithSitecore(SitecoreProjectNode project, SitecoreItemNode syncRoot, Boolean sycnChildren)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreProjectPackage.ShowSitecoreSyncWindow(SitecoreProjectNode project, SitecoreItemNode selectedItem, Boolean syncChildren)&#xA;Exception ProtocolException:&#xA;&#xA;Server stack trace: &#xA;   at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)&#xA;   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)&#xA;   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)&#xA;   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)&#xA;   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)&#xA;   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)&#xA;   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)&#xA;&#xA;Exception rethrown at [0]: &#xA;   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)&#xA;   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoap.Version(VersionRequest request)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoap.Version(VersionRequest request)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.Version()&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.CheckClientVersion(TdsServiceSoapClient client, SitecoreProjectNode project, Boolean retry)&#xA;&#xA;&#xA;Inner Exception Details:&#xA;Exception The remote server returned an error: (500) Internal Server Error. (WebException):&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)&#xA;Exception An error occured getting the TDS service version. Please review the Sitecore logs and/or windows events on the server to determine the problem. (ApplicationException):&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.GetTdsServiceSoapClient(String sitecoreWebUrl, String sitecoreAccessGuid, SitecoreProjectNode project, Boolean checkVersion)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.GetTdsServiceSoapClient(SitecoreProjectNode project, Boolean checkVersion)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.ToolWindows.SyncWithSitecoreToolWindow.SyncItemsWithSitecore(SitecoreProjectNode project, SitecoreItemNode syncRoot, Boolean sycnChildren)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreProjectPackage.ShowSitecoreSyncWindow(SitecoreProjectNode project, SitecoreItemNode selectedItem, Boolean syncChildren)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Sitecore log doesn't show any relevant errors. I am also able to access the &lt;em&gt;/_DEV/TdsService.asmx&lt;/em&gt; page without an error. What could I do to fix the TDS connection?&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastEditorUserId="180" LastEditDate="2017-04-19T04:52:58.447" LastActivityDate="2017-04-19T04:52:58.447" Title="TDS shows error 500 when syncing with Sitecore - how to fix?" Tags="|tds|" AnswerCount="2" CommentCount="5" ClosedDate="2017-04-18T11:44:29.233" ContentLicense="CC BY-SA 3.0" />
  <row Id="5398" PostTypeId="2" ParentId="5396" CreationDate="2017-04-18T08:06:09.000" Score="0" Body="&lt;p&gt;Just as luck might have it, fiddling around with the Sitecore Web Url mysteriously fixed the error. I'm not sure what caused it, possibly a badly cached URL within TDS.&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-04-18T08:06:09.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5400" PostTypeId="2" ParentId="5396" CreationDate="2017-04-18T09:42:54.643" Score="2" Body="&lt;p&gt;we too had faced this earlier and from what I remember, TDS sync will break if the Sitecore instance for any reason could not be accessed in a browser.&#xA;During the time you received the error, if you had tried browsing your local sitecore instance it too would have thrown error. Once the Sitecore instance is up and running, the TDS sync should also work.&lt;/p&gt;&#xA;" OwnerUserId="1339" LastActivityDate="2017-04-18T09:42:54.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5401" PostTypeId="2" ParentId="5334" CreationDate="2017-04-18T10:05:58.953" Score="5" Body="&lt;p&gt;I can give some input regarding App Initialization in general on Azure App Service:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;During slot swap&lt;/strong&gt;, you don’t want your 'preprod' to be activated into production (swap) without having been warmed up beforehand. Using AppInit the swapping operation will only occur once the load balancer received an HTTP Response from the init module. (Note this response can be anything, also a 404 or 500 so take that into account).&#xA;If you are using Swap with Preview and running smoke tests or UI tests on that slot before swapping then the appinit will have less impact.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;During scale up:&lt;/strong&gt; in Web apps, scale up of an App Service Plan means the Web App is moved onto new machines. These are going through cold start. Again using the AppInit the scale up will only take place through the DNS load balancer once a response has been received from the module.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;During scale out: when a new machine is added to the App Service plan, you’d want the requests to be distributed to the new machine as well, but only after cold start. App Init will also have effect here as the new machine will only be added to the load balancer after going through the appinit.&#xA;In all cases, ongoing requests to the production slot, or to the smaller scale app will be gracefully completed, and new requests will end up on the new slot/machine).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;See also this article: &lt;a href=&quot;http://ruslany.net/2015/09/how-to-warm-up-azure-web-app-during-deployment-slots-swap/&quot; rel=&quot;noreferrer&quot;&gt;http://ruslany.net/2015/09/how-to-warm-up-azure-web-app-during-deployment-slots-swap/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1812" LastActivityDate="2017-04-18T10:05:58.953" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5402" PostTypeId="2" ParentId="5272" CreationDate="2017-04-18T10:10:53.153" Score="1" Body="&lt;p&gt;You do not need to manually patch the config file to make a field facet, you can instead declare them in the facet/bucket folder of the Content Editor like you would do with Lucene: &lt;a href=&quot;https://developers.coveo.com/x/jIcdAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/SitecoreV4/Making+a+Sitecore+Field+Facettable&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you would need to re-index yes.&#xA;If the field is &quot;all of a sudden&quot; no longer a facet, then maybe you have conflicting configuration files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure your CD share the same configuration file as your CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers,&#xA;Simon&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="264" LastEditDate="2017-10-02T14:37:50.173" LastActivityDate="2017-10-02T14:37:50.173" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5403" PostTypeId="2" ParentId="5379" CreationDate="2017-04-18T11:48:47.813" Score="2" Body="&lt;p&gt;After much debugging and decompiling I found the answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be done by implementing a ValueAccessor that uses &lt;code&gt;PropertyValueReader(&quot;Tags&quot;)&lt;/code&gt; and &lt;code&gt;IndexerPropertyValueWriter(&quot;tagname&quot;)&lt;/code&gt;.&#xA;I was on the wrong track for long because the class structure of the tags seems related to how email addresses and phone numbers are implemented, however reading and setting them using DEF is completely different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When running a repeating import, be aware that visitor tags are timestamped values, so be sure to add an &quot;Objects Are Different Mapping Rule&quot;, which comes with the Sitecore provider, to prevent the contact tags filling with useless duplicate values.&lt;/p&gt;&#xA;" OwnerUserId="1035" LastActivityDate="2017-04-18T11:48:47.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5405" PostTypeId="1" CreationDate="2017-04-18T12:30:33.187" Score="0" ViewCount="1139" Body="&lt;p&gt;CM and CD hosted in azure web apps. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are seeing a quiet lot of exception below on both CD and CMS environments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that we have a patch file which patches and we have custom rewrite rule from http to https.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.UrlAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;url&quot;&amp;gt;https://mysite.azurewebsite.net/sitecore/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA;        &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;      &amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;ERROR:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #9 04:16:02 INFO  Scheduling.UrlAgent started. Url: https://mysite.azurewebsite.net/sitecore/service/keepalive.aspx&#xA;ManagedPoolThread #9 04:16:02 ERROR Exception in UrlAgent (url: https://mysite.azurewebsite.net/sitecore/service/keepalive.aspx)&#xA;Exception: System.Net.WebException&#xA;Message: The underlying connection was closed: An unexpected error occurred on a send.&#xA;Source: System&#xA;   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&amp;amp; request)&#xA;   at System.Net.WebClient.DownloadData(Uri address)&#xA;   at Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection headers)&#xA;   at Sitecore.Tasks.UrlAgent.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.IO.IOException&#xA;Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.&#xA;Source: System&#xA;   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)&#xA;   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)&#xA;   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&#xA;   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)&#xA;   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;   at System.Net.ConnectStream.WriteHeaders(Boolean async)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: An existing connection was forcibly closed by the remote host&#xA;Source: System&#xA;   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)&#xA;   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone faced this issue and have possible solution?&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="70" LastEditDate="2018-05-03T17:09:21.833" LastActivityDate="2018-05-03T17:09:21.833" Title="Keepalive.aspx - The underlying connection was closed: An unexpected error occurred on a send" Tags="|configuration|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="5406" PostTypeId="1" CreationDate="2017-04-18T13:38:14.013" Score="1" ViewCount="237" Body="&lt;p&gt;Currently I have two projects with different Analytics issues.&#xA;The first project do not contain &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; in layout. So if I open Experience profile I still can see contacts but If I try to get more info about contact I see an error like:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zLz8E.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zLz8E.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second project missing &lt;code&gt;enableTracking=&quot;true&quot;&lt;/code&gt; in site definition config section. But I can not to find any issues with it. But I think that it affects something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is how these two things (&lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; and  &lt;code&gt;enableTracking=&quot;true&quot;&lt;/code&gt;) affect to process of collecting contact information?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What consequences does missing &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt;line have?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What consequences does missing &lt;code&gt;enableTracking=&quot;true&quot;&lt;/code&gt;configuration attribute have?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastActivityDate="2017-04-18T14:02:44.897" Title="Visitor Identifier &amp; enableTracking" Tags="|xdb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5407" PostTypeId="2" ParentId="5406" CreationDate="2017-04-18T14:02:44.897" Score="1" Body="&lt;p&gt;Missing @Html.Sitecore().VisitorIdentification() will not set a cookie on the visiting client, so every request will be identified as a new visitor&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Missing enabletracking=true will have no consequences, since true is the default.&lt;/p&gt;&#xA;" OwnerUserId="1432" LastActivityDate="2017-04-18T14:02:44.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5408" PostTypeId="2" ParentId="4721" CreationDate="2017-04-18T14:05:56.280" Score="0" Body="&lt;p&gt;I was either updated to the wrong spot in source control or must have missed a setup step. I uninstalled, updated to &lt;code&gt;490b4a58e6d3a83ea0c4d12cc1ad8ec7672826ce&lt;/code&gt;, reinstalled what I needed to and then it started working.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-04-18T14:05:56.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5409" PostTypeId="1" CreationDate="2017-04-18T14:13:21.607" Score="5" ViewCount="697" Body="&lt;p&gt;Sitecore 8.0 update 5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've set up clean &lt;code&gt;sitecore.analytics&lt;/code&gt; and &lt;code&gt;sitecore.analytics_secondary&lt;/code&gt; databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I've deployed the Marketing Definitions and ran necessary SQL script to copy data from old to new reporting databases. Mongo collections have been downloaded from live site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During the rebuilding reporting database I have a lot of errors like&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Exception when storing an aggregation result into reporting database. Item will be postponed and retried later.&#xA;  Exception: System.Data.SqlClient.SqlException&#xA;  Message: String or binary data would be truncated.&#xA;  The statement has been terminated.&#xA;  Source: .Net SqlClient Data Provider&#xA;     at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action&lt;code&gt;1 wrapCloseInAction)&#xA;     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady)&#xA;     at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)&#xA;     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)&#xA;     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource&lt;/code&gt;1 completion, Int32 timeout, Task&amp;amp; task, Boolean&amp;amp; usedCache, Boolean asyncWrite, Boolean inRetry)&#xA;     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource&lt;code&gt;1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean&amp;amp; usedCache, Boolean asyncWrite, Boolean inRetry)&#xA;     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()&#xA;     at Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.Commit(SqlDataApi api, IReportingStorageItemBatch batch, Func&lt;/code&gt;2 filter)&#xA;     at Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.&amp;lt;&gt;c__DisplayClass6.b__1()&#xA;     at Sitecore.Data.DataProviders.NullRetryer.ExecuteNoResult(Action action, Action recover)&#xA;     at Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.StoreBatch(IReportingStorageItemBatch batch)&#xA;     at Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.Store(IReportingStorageItemBatch batch)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've already tried &lt;code&gt;Sitecore.Support&lt;/code&gt; fix number &lt;strong&gt;97934&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can be the reason of these errors?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like I mentioned in question I've set up new sitecore instance and get mongo data and sitecore items package from live. So when I deploy Deploy Marketing Definitions on my new reporting database, segments has Deployed Date &gt; Interaction date time. I've found an post about it.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Segments are used while aggregating the data for the Experience&#xA;  Analytics application. If the interaction.SaveDateTime &amp;lt;=&#xA;  segment.DeployDate, the interaction won't be aggregated (That's why we&#xA;  need to change the deploy date manually).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/1028&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/9/t/1028&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;it help me to get rid of part of mistakes. But I still have a couple of these errors in logs.&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="605" LastEditDate="2017-06-19T04:58:25.767" LastActivityDate="2023-07-24T07:28:23.310" Title="Rebuild reporting database. Exception Message: String or binary data would be truncated" Tags="|xdb|indexing|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5410" PostTypeId="1" AcceptedAnswerId="5411" CreationDate="2017-04-18T14:59:30.907" Score="8" ViewCount="3370" Body="&lt;p&gt;I've been given this markup from the front-end developers and am working on figuring out how to implement it so that it is editable.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;img/logo@1x.png&quot; srcset=&quot;img/logo@2x.png 2x&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found some examples online, but they all seemed fairly complex. Is there a simple way of making this editable?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: &#xA;I am looking to be able to change images from within the experience editor. I don't need to edit image properties. I've been using Glass Mapper throughout this project and for images without the srcset attribute I've just been using @RenderImage(x =&gt; x.CompanyLogo, isEditable: true). I don't know how to maintain the same type of functionality now that the front-end devs have added the srcset attribute to the images.&lt;/p&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="1133" LastEditDate="2017-04-19T13:02:13.833" LastActivityDate="2017-04-19T13:44:18.027" Title="How can I make responsive images editable?" Tags="|glass-mapper|media-library|responsive-design|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5411" PostTypeId="2" ParentId="5410" CreationDate="2017-04-18T15:11:35.720" Score="7" Body="&lt;p&gt;There are a couple good ways to do this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Provide a different interface when the page is in edit mode.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Image with retina/non-retina support using Glass:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Sitecore.Context.PageMode.IsExperienceEditorEditing)&#xA;{&#xA;    &amp;lt;div class=&quot;container-fluid&quot; style=&quot;width: 100%;&quot;&amp;gt;&#xA;        &amp;lt;h3&amp;gt;Logo Images&amp;lt;/h3&amp;gt;&#xA;        &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;            &amp;lt;h4&amp;gt;1x - non-retina&amp;lt;/h4&amp;gt;&#xA;            @RenderImage(m =&amp;gt; m.Image, isEditable: true, parameters: new { @class = &quot;img-responsive&quot; }, outputHeightWidth: true)&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;            &amp;lt;h4&amp;gt;2x - retina&amp;lt;/h4&amp;gt;&#xA;            @RenderImage(m =&amp;gt; m.Image_Retina, isEditable: true, parameters: new { @class = &quot;img-responsive&quot; }, outputHeightWidth: true)&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;else /* Normal or Preview Mode */&#xA;{&#xA;    &amp;lt;img src=&quot;@Model.Image.Src&quot; srcset=&quot;@Model.Image_Retina.Src 2x&quot;&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the page is in edit mode the view is rendered completely differently, with in-page edit fields for the two images. (&lt;code&gt;@Editable&lt;/code&gt; will also work here, but &lt;code&gt;@RenderImage&lt;/code&gt; is more appropriate for Image fields)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add a Custom Experience Button&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a custom experience button that will expose all of the source image fields in a dialog:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;In the Core database:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a new item to &lt;code&gt;/sitecore/content/Applications/WebEdit/Custom Experience Buttons&lt;/code&gt;, based on the &lt;code&gt;Field Editor Button&lt;/code&gt; template&lt;/li&gt;&#xA;&lt;li&gt;Set the &lt;code&gt;Fields&lt;/code&gt; field to a pipe-separated list of the field names that you want to edit (the names of your image source fields)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;In the Master database:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to the rendering that outputs these images&lt;/li&gt;&#xA;&lt;li&gt;Find the Experience Editor Buttons field in the Editor Options section&lt;/li&gt;&#xA;&lt;li&gt;Add the new custom experience button to the Selected list&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now you'll have this new button in the context menu for the rendering when in edit more. Clicking it will open a dialog with the fields that you set in the &lt;code&gt;Fields&lt;/code&gt; field of the button item.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VJfAh.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VJfAh.png&quot; alt=&quot;rendering context menu&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ICzSN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ICzSN.png&quot; alt=&quot;Image Picker&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Talk to your content authors&lt;/strong&gt;&#xA;If this is a possibility, it's good to get input from the people who will actually be using this. Preferences vary from person to person&lt;/p&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="1150" LastEditDate="2017-04-19T13:44:18.027" LastActivityDate="2017-04-19T13:44:18.027" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5412" PostTypeId="2" ParentId="5410" CreationDate="2017-04-18T15:17:11.417" Score="2" Body="&lt;p&gt;The simplest way would be to render different markup for Normal vs Experience Editor modes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Sitecore.Context.PageMode.IsExperienceEditor) &#xA;{&#xA;    &amp;lt;img src=&quot;@(addImageUrlHere)&quot; srcset=&quot;img/logo@2x.png 2x&quot;&amp;gt;&#xA;}&#xA;else&#xA;{&#xA;    @Html.Sitecore().Field(&quot;logo1x&quot;, new { w = 100, h = 100 })&#xA;    @Html.Sitecore().Field(&quot;logo2x&quot;, new { w = 100, h = 100 })&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you can render a Sitecore image field for each different image you have in the srcset. If they are the same image and just different sizes provided by query string parameters - then just provide one image field.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-04-18T15:17:11.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5413" PostTypeId="5" CreationDate="2017-04-18T15:58:47.027" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-04-18T15:58:47.027" LastActivityDate="2017-04-18T15:58:47.027" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5414" PostTypeId="4" CreationDate="2017-04-18T15:58:47.027" Score="0" Body="All queries related to dynamically setting/configuring Sitecore Users and their relationship with Asp.Net Membership provider." OwnerUserId="1339" LastEditorUserId="1339" LastEditDate="2017-04-19T07:44:36.363" LastActivityDate="2017-04-19T07:44:36.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5415" PostTypeId="1" AcceptedAnswerId="5418" CreationDate="2017-04-18T18:00:51.870" Score="2" ViewCount="1445" Body="&lt;p&gt;I have a POC of a Mongo Replica (Mongo 3.0.14) set created locally using VirtualBox.  I have a Primary, Secondary and Arbiter created and initiated in the replica set:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ixwo8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ixwo8.png&quot; alt=&quot;rs.status&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Robomongo from my host machine (local OS, Win10), I am able to connect to the Primary and Secondary servers.  I am unable to connect to the arbiter- though I think this may be expected?  I wasn't able to find a clear answer to that question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My connection string is as follows in a native 8.1 rev 160519 install:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;analytics&quot;       connectionString=&quot;mongodb://rootAdmin:rootAdmin@192.168.1.203/analytics?replicaSet=test-rs&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;tracking.live&quot;   connectionString=&quot;mongodb://rootAdmin:rootAdmin@192.168.1.203/tracking_live?replicaSet=test-rs&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;tracking.history&quot;    connectionString=&quot;mongodb://rootAdmin:rootAdmin@192.168.1.203/tracking_history?replicaSet=test-rs&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;tracking.contact&quot;    connectionString=&quot;mongodb://rootAdmin:rootAdmin@192.168.1.203/tracking_contact?replicaSet=test-rs&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tested with and without (current) the secondary server and arbiter included in the connection string, yet I receive the same error in the logs, always:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Unable to connect to a member of the replica set matching the read preference Primary&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This error is followed by a number of other connection related issues, though this is the first error present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Mongo VM's are all running Ubuntu (v 16.04.2).  From the Primary VM, I can authenticate to the Primary and Secondary instances, but not the arbiter.  Prior to initiating the replica set, I created the same users on all Mongo instances and was able to login prior to the creation of the replica set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not 100% convinced that my issue is with the Arbiter, but it appears that I &lt;em&gt;should&lt;/em&gt; be able to log in to it.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-04-21T13:24:28.913" Title="Mongo Replica Set Connection Error, Sitecore 81" Tags="|xdb|mongodb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5416" PostTypeId="2" ParentId="5415" CreationDate="2017-04-18T19:04:43.783" Score="0" Body="&lt;p&gt;Can you try passing all your servers into connection string like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;add name=&quot;tracking.live&quot; connectionString=&quot;mongodb://rootAdmin:rootAdmin@192.168.1.SERVER1,rootAdmin:rootAdmin@192.168.1.SERVER2,rootAdmin:rootAdmin@192.168.1.SERVER3/analytics?replicaSet=rs_test&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I compared your connection string with mine I found that I was using all 3 servers in my connection string and you were only using one. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you can follow this link for @ symbol issue: &lt;a href=&quot;https://stackoverflow.com/questions/37186849/how-to-format-the-connection-string-for-a-mongodb-replica-set-in-sitecore&quot;&gt;How to format the connection string for a MongoDB replica set in Sitecore?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1341" LastEditorDisplayName="user62" LastEditDate="2017-04-21T13:24:28.913" LastActivityDate="2017-04-21T13:24:28.913" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5417" PostTypeId="2" ParentId="1601" CreationDate="2017-04-18T19:23:44.007" Score="2" Body="&lt;p&gt;I know this is late, but here are the undocumented properties for the Admin Service secure installation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;ADMIN_SERVICE_CES_SERVER_NAME&lt;/strong&gt; This is used for the certificate Common Name&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ADMIN_SERVICE_PORT&lt;/strong&gt; Port for the secured Admin Service. The dialog will set it to 443 in an attended installation&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ADMIN_SERVICE_CERTIFICATE_EXPORT_PATH&lt;/strong&gt; Local path where the certificate will be created&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ADMIN_SERVICE_PRIVATE_KEY_PASSWORD&lt;/strong&gt; The password that will be used to secure the certificate's private key. Can be an empty string&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1816" LastActivityDate="2017-04-18T19:23:44.007" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5418" PostTypeId="2" ParentId="5415" CreationDate="2017-04-18T21:55:58.013" Score="3" Body="&lt;p&gt;After reviewing the Mongo logs on the primary server, I found that I was receiving authentication errors for each connection attempt.  Without specifying the &lt;code&gt;authSource&lt;/code&gt;, Mongo uses the database defined in the connection string.  Therefore a connection string like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;analytics&quot; connectionString=&quot;mongodb://rootAdmin:rootAdmin@192.168.1.131/analytics?replicaSet=test-rs&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;uses the &lt;code&gt;analytics&lt;/code&gt; database when authenticating the &lt;code&gt;rootAdmin&lt;/code&gt; user.  Since there are no users defined in this database, the authentication fails.  To get around this, you need to add an additional parameter: &lt;code&gt;authSource&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following the &lt;a href=&quot;https://docs.mongodb.com/manual/reference/connection-string/&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDocs&lt;/a&gt; verbatim ends up causing a configuration error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...analytics?authSource=admin&amp;amp;replicaSet=test-rs&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The solution is to encode the &lt;code&gt;&amp;amp;&lt;/code&gt; character.  This allows you to pass in as many parameters as you wish:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...analytics?authSource=admin&amp;amp;amp;replicaSet=test-rs&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, to ensure a connection to all members in the replica set, the multiple members need to be defined as follows: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;analytics&quot; connectionString=&quot;mongodb://rootAdmin:rootAdmin@192.168.1.131,192.168.1.203,192.168.1.194/analytics?authSource=admin&amp;amp;amp;replicaSet=test-rs&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was able to confirm that data is now being written to both the Primary and Secondary servers and the arbiter is participating in voting properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also of note, the Arbiter MUST be able to authenticate with the given user.  I redid my arbiter and made sure to create the users against the &lt;code&gt;admin&lt;/code&gt; database.  By default, users are created in the &lt;code&gt;test&lt;/code&gt; database.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2017-04-19T13:31:02.667" LastActivityDate="2017-04-19T13:31:02.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5421" PostTypeId="1" CreationDate="2017-04-19T07:59:38.590" Score="0" ViewCount="1162" Body="&lt;p&gt;AB Testing: In Test Definition Item under the Test Lab I have set the workflow as sample Workflow and workflow state as Awaiting Approval. But when I saved the item  I am only getting &quot;item has a test in draft&quot; notification message. There is no submit option visible in experience editor's notification area. How can I get &quot;Create a test&quot; option? &lt;/p&gt;&#xA;" OwnerUserId="1811" LastEditorDisplayName="user62" LastEditDate="2017-04-24T07:57:23.330" LastActivityDate="2018-10-30T17:36:22.927" Title="AB testing: Only getting &quot;Item has a test in draft message&quot; in Sitecore 8.1" Tags="|content-testing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5422" PostTypeId="2" ParentId="5335" CreationDate="2017-04-19T09:11:37.907" Score="2" Body="&lt;p&gt;Please see this class:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc.Mvc/Pipelines/Response/GetRenderer/GetViewRenderWithItemValidation.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc.Mvc/Pipelines/Response/GetRenderer/GetViewRenderWithItemValidation.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and this blog post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecorepromenade.blogspot.co.uk/2015/05/passing-invalid-id-in-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorepromenade.blogspot.co.uk/2015/05/passing-invalid-id-in-rendering.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-04-19T09:11:37.907" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5424" PostTypeId="1" CreationDate="2017-04-19T10:17:38.187" Score="1" ViewCount="747" Body="&lt;p&gt;We are using sc8.0u5. When the &lt;em&gt;Insert Link&lt;/em&gt; of a &lt;em&gt;General Link&lt;/em&gt; field is clicked, there is a Select Target dropdown. But there are no options being populated in it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works fine in the DEV system but not in the UAT environment. Both have the same sc versions. However, UAT is a multi-site instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried the fix &lt;a href=&quot;https://jammykam.wordpress.com/2015/08/26/general-link-field-bug-with-internal-links-opening-in-new-window/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; but no luck.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1671" LastEditDate="2017-12-22T14:14:17.620" LastActivityDate="2018-01-21T15:43:55.540" Title="Internal Link 'Target' dropdown options not populating" Tags="|content-editor|links|fieldtype|" AnswerCount="1" CommentCount="2" ClosedDate="2018-01-22T08:13:16.077" ContentLicense="CC BY-SA 3.0" />
  <row Id="5427" PostTypeId="2" ParentId="5379" CreationDate="2017-04-19T14:09:27.870" Score="2" Body="&lt;p&gt;One more approach how to map tag value by tag name.&#xA;The example shows only a writer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Writer&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class ContactTagValueWriter : IValueWriter&#xA;{&#xA;    public string TagName { get; set; }&#xA;&#xA;    public CanWriteResult CanWrite(object target, object value, DataAccessContext context)&#xA;    {&#xA;        var contact = target as Contact;&#xA;        if (contact == null || value == null || string.IsNullOrEmpty(this.TagName))&#xA;        {&#xA;            return CanWriteResult.NegativeResult();&#xA;        }&#xA;&#xA;        return CanWriteResult.PositiveResult();&#xA;    }&#xA;&#xA;    public bool Write(object target, object value, DataAccessContext context)&#xA;    {&#xA;        if (!this.CanWrite(target, value, context).CanWriteValue)&#xA;        {&#xA;            return false;&#xA;        }&#xA;        var contact = target as Contact;&#xA;        contact.Tags.Set(this.TagName, value.ToString());&#xA;        return true;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Converter:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a template based on Value Accessor. &lt;/li&gt;&#xA;&lt;li&gt;Add field: FieldName:&quot;TagName&quot;, Type: Single-Line Text.&lt;/li&gt;&#xA;&lt;li&gt;Change [custom template id] according to created template id.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SupportedIds(&quot;[custom template id]&quot;)]&#xA;public class ContactTagValueAccessorConverter : ValueAccessorConverter&#xA;{&#xA;    public ContactTagValueAccessorConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;    }&#xA;&#xA;    public override IValueAccessor Convert(ItemModel source)&#xA;    {&#xA;        var valueAccessor = base.Convert(source);&#xA;        if (valueAccessor.ValueWriter!=null)&#xA;        {&#xA;            return valueAccessor;&#xA;        }&#xA;&#xA;        valueAccessor.ValueWriter = new ContactTagValueWriter() {TagName = source[&quot;TagName&quot;].ToString()};&#xA;        return valueAccessor;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastActivityDate="2017-04-19T14:09:27.870" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5428" PostTypeId="1" CreationDate="2017-04-19T15:18:33.880" Score="2" ViewCount="109" Body="&lt;p&gt;I think it would be really useful for Content Authors if when we create custom fields we could add help text for the fields properties like you do for Fields on an Items Data Template in Sitecore. This would allow you to explain things about the options in smaller light-grey text under or next to the field property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've mocked up how this might look below using an example of a custom date field we use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/INtwT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/INtwT.png&quot; alt=&quot;![enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if this is possible to achieve? &lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-04-19T15:18:33.880" Title="Help Text for WFFM Form Designer" Tags="|wffm|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5430" PostTypeId="1" CreationDate="2017-04-19T15:33:50.517" Score="4" ViewCount="254" Body="&lt;p&gt;Thanks to Dmytro Shevchenko&#xA;&lt;a href=&quot;http://structuredcode.com/replacing-default-di-container-sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://structuredcode.com/replacing-default-di-container-sitecore-8-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are replacing default DI Container with Windsor Castle. All project works perfectly fine, except out of box Item Service and our custom Entity Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However it is registered fine to container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone tried to replace DI container with any other and have same issue?&#xA;&lt;a href=&quot;http://www.domain.com/sitecore/api/ssc/item/110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9?includeMetadata=true&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.domain.com/sitecore/api/ssc/item/110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9?includeMetadata=true&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does this url work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1823" LastEditorUserId="2727" LastEditDate="2018-02-28T11:20:46.067" LastActivityDate="2018-02-28T11:20:46.067" Title="After replacing default DI container Sitecore 8.2 Sitecore ItemService and EntityService stop working" Tags="|dependency-injection|sitecore-services-client|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5431" PostTypeId="1" AcceptedAnswerId="5432" CreationDate="2017-04-19T15:45:40.807" Score="4" ViewCount="320" Body="&lt;p&gt;Recently we discovered than we have some versioned items in Sitecore tree, in languages not supported by our sites, event not set as language in our Sitecore settings. Today we were removing these versioned items of not supported languages, when we noticed that the languages added in core database are different than languages added in master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which is the purpose of the languages defined in core? In master we have set the supported languages in our web sites, but in core all the languages set are language which we never have supported them. Looking at it, we have several questions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all why Sitecore allow to have different languages set in Core and Master? Which are the purpose of Core language? In master we added only the languages supported in our sitecore websites is it that right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the future our current Sitecore websites will support more languages, these new languages have to be added only in Master as we have done until now, or is it recommend to add to in Core too?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1700" LastEditorUserId="1700" LastEditDate="2017-04-19T15:52:38.633" LastActivityDate="2017-04-19T16:25:48.007" Title="Language settings in master vs core" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5432" PostTypeId="2" ParentId="5431" CreationDate="2017-04-19T16:25:48.007" Score="2" Body="&lt;p&gt;IIRC the languages in the Core database relate the the language versions that the Sitecore admin pages are displayed in. So this would change the text in the Sitecore interface. This is known as the &lt;code&gt;Client Language&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The languages in the master DB relate the the &lt;code&gt;Content Language&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-04-19T16:25:48.007" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5433" PostTypeId="1" AcceptedAnswerId="5806" CreationDate="2017-04-19T17:10:47.070" Score="2" ViewCount="1475" Body="&lt;p&gt;I have a class (SBJSearchItem) that inherits SearchResultItem that I'm using with the ContentSearchManager.  The problem is that some of my SBJSearchItem properties are not populating. I'm using Azure Search as part of Sitecore Azure PaaS.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SBJSearchItem : SearchResultItem&#xA;{&#xA;    #region Public Properities&#xA;&#xA;    // Type is working. This stores an ID and comes back as a string, which is fine.&#xA;    [IndexField(&quot;type&quot;)]&#xA;    public string Type { get; set; }&#xA;&#xA;    // Authors is working. This stores a list of IDs.&#xA;    [IndexField(&quot;authors&quot;)]&#xA;    public string Authors { get; set; }&#xA;&#xA;    // Title is working. It stores a string.&#xA;    [IndexField(&quot;title&quot;)]&#xA;    public string Title { get; set; }&#xA;&#xA;    /*&#xA;    Publish Date does not work. This is just a date/time field in Sitecore.&#xA;    It is stored as a string type in the index. I made it nullable because&#xA;    I get an error that says that it cannot convert null to DataTime.&#xA;    I believe that's because it also pulls the template which doesn't have&#xA;    a date set.&#xA;    */&#xA;    [IndexField(&quot;publish_date&quot;)]&#xA;    public DateTime? PublishDate { get; set; }&#xA;&#xA;    // Section does not work. It is a computed field that I set to a string.&#xA;    [IndexField(&quot;section&quot;)]&#xA;    public string Section { get; set; }&#xA;&#xA;    /*&#xA;    DateSearch does not work. This is a computed field. It is stored as a &#xA;    DateTimeOffset type. I get a DateTime.MinValue.&#xA;    */&#xA;    // EDIT: Added this per comments&#xA;    [TypeConverter(typeof(IndexFieldDateTimeValueConverter))]&#xA;    [IndexField(&quot;date_search&quot;)]&#xA;    public DateTime DateSearch { get; set; }&#xA;&#xA;    #endregion&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 4&lt;/strong&gt;&#xA;Apparently getting the index in the manner that I was doesn't work the same as getting the index specifically by name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example of how I'm executing the query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Be careful if you use the commented lines here:&#xA;//var indexableItem = new SitecoreIndexableItem(currentStory);&#xA;//var index = ContentSearchManager.GetIndex(indexableItem);&#xA;&#xA;// This apparently is DIFFERENT than the previous index declaration above&#xA;var index = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;);&#xA;&#xA;using (var context = index.CreateSearchContext())&#xA;{&#xA;    var query = context.GetQueryable&amp;lt;SBJSearchItem&amp;gt;()&#xA;                .Where(i =&amp;gt; i.TemplateId == SitecoreItemIds.BLOG_STORY_TEMPLATE&#xA;                    &amp;amp;&amp;amp; i.ItemId == currentStory.ID)&#xA;                .ToList();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The query works except those few properties that I mentioned above are null in my list of items (well one item in this case).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my patch that adds the computed fields into the index.  I have verified that the values are actually in the index.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;index id=&quot;sitecore_master_index&quot;&amp;gt;&#xA;        &amp;lt;configuration&amp;gt;&#xA;          &amp;lt;!-- EDIT: Added per comments --&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.Azure.FieldMaps.CloudFieldMap, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field type=&quot;System.String&quot;   fieldName=&quot;section&quot;     cloudFieldName=&quot;section&quot;     boost=&quot;1f&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;              &amp;lt;field type=&quot;System.DateTime&quot; fieldName=&quot;date_search&quot; cloudFieldName=&quot;date_search&quot; boost=&quot;1f&quot; format=&quot;yyyy-MM-ddTHH:mm:ssZ&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;          &amp;lt;!-- END EDIT --&amp;gt;&#xA;          &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;section&quot; storageType=&quot;yes&quot; indexType=&quot;tokenized&quot;&amp;gt;&#xA;              SBJSitecore.Components.Editorial.SectionComputedField,SBJSitecore&#xA;            &amp;lt;/field&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;date_search&quot; storageType=&quot;yes&quot; indexType=&quot;tokenized&quot; type=&quot;System.DateTime&quot;&amp;gt;&#xA;              SBJSitecore.Components.Editorial.DateSearchComputedField,SBJSitecore&#xA;            &amp;lt;/field&amp;gt;&#xA;          &amp;lt;/fields&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per comments added my Computed fields into the Map.  Reindex and tried again. Still not returning &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;cloudTypeMapper type=&quot;Sitecore.ContentSearch.Azure.Schema.CloudSearchTypeMapper, Sitecore.ContentSearch.Azure&quot; patch:source=&quot;Sitecore.ContentSearch.Azure.Index.SectionField.config&quot;&amp;gt;&#xA;    &amp;lt;maps hint=&quot;raw:AddMap&quot; patch:source=&quot;Sitecore.ContentSearch.Azure.Index.SectionField.config&quot;&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Char&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.String&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Guid&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Int32&quot; cloudType=&quot;Edm.Int32&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Int64&quot; cloudType=&quot;Edm.Int64&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Double&quot; cloudType=&quot;Edm.Double&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Single&quot; cloudType=&quot;Edm.Double&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Boolean&quot; cloudType=&quot;Edm.Boolean&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.DateTime&quot; cloudType=&quot;Edm.DateTimeOffset&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.DateTimeOffset&quot; cloudType=&quot;Edm.DateTimeOffset&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.String[]&quot; cloudType=&quot;Collection(Edm.String)&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Guid[]&quot; cloudType=&quot;Collection(Edm.String)&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Int32[]&quot; cloudType=&quot;Collection(Edm.String)&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;System.Object[]&quot; cloudType=&quot;Collection(Edm.String)&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;Sitecore.ContentSearch.IIndexableId, Sitecore.ContentSearch&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;Sitecore.ContentSearch.IIndexableUniqueId, Sitecore.ContentSearch&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;Sitecore.Data.ItemUri, Sitecore.Kernel&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;Sitecore.ContentSearch.SitecoreItemId, Sitecore.ContentSearch&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;Sitecore.ContentSearch.SitecoreItemUniqueId, Sitecore.ContentSearch&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;Sitecore.Marketing.Taxonomy.Model.TaxonUri, Sitecore.Marketing.Taxonomy&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;Sitecore.Marketing.Definitions.TaxonomicClassification, Sitecore.Marketing&quot; cloudType=&quot;Edm.String&quot;/&amp;gt;&#xA;        &amp;lt;!-- Patched these values in --&amp;gt;&#xA;        &amp;lt;map type=&quot;SBJSitecore.Components.Editorial.SectionComputedField,SBJSitecore&quot; cloudType=&quot;Edm.String&quot; patch:source=&quot;Sitecore.ContentSearch.Azure.Index.SectionField.config&quot;/&amp;gt;&#xA;        &amp;lt;map type=&quot;SBJSitecore.Components.Editorial.DateSearchComputedField,SBJSitecore&quot; cloudType=&quot;Edm.DateTimeOffset&quot; patch:source=&quot;Sitecore.ContentSearch.Azure.Index.SectionField.config&quot;/&amp;gt;&#xA;        &amp;lt;!-- End Patch --&amp;gt;&#xA;    &amp;lt;/maps&amp;gt;&#xA;&amp;lt;/cloudTypeMapper&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Snippit of the index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;value&quot;: [&#xA;    {&#xA;        &quot;date_search&quot;: &quot;2017-02-14T17:23:00Z&quot;,&#xA;        &quot;publish_date&quot;: &quot;20170214T122300&quot;,&#xA;    }&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made a couple of edits per comments.  Neither of these changes seem to have any impact.  I am in touch with Sitecore support on this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also noticed that the CreatedDate &amp;amp; Updated fields are DateTime.MinValue on my search results (&lt;code&gt;var query&lt;/code&gt; above).&lt;/p&gt;&#xA;" OwnerUserId="933" LastEditorUserId="933" LastEditDate="2017-05-22T11:39:21.487" LastActivityDate="2017-06-03T01:29:51.687" Title="SearchResultItem POCO not populated" Tags="|content-search|azure-search|" AnswerCount="3" CommentCount="16" ContentLicense="CC BY-SA 3.0" />
  <row Id="5435" PostTypeId="1" AcceptedAnswerId="5436" CreationDate="2017-04-20T01:31:02.027" Score="1" ViewCount="197" Body="&lt;p&gt;Is there a way to implement Azure Search with Sitecore 8.1x? Currently I can see only one option to update current Sitecore instance to 8.2x.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastEditorUserId="312" LastEditDate="2017-04-21T12:21:15.843" LastActivityDate="2017-04-22T09:59:43.667" Title="Any guide to implement Azure Search with Sitecore 8.1x?" Tags="|azure-search|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5436" PostTypeId="2" ParentId="5435" CreationDate="2017-04-20T03:16:14.930" Score="4" Body="&lt;p&gt;Out of the box Azure Search is only available on Sitecore 8.2 update 1 and above. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you wanted to use it on earlier versions you would have to write your own provider for it.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="312" LastEditDate="2017-04-21T12:20:22.167" LastActivityDate="2017-04-21T12:20:22.167" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5437" PostTypeId="2" ParentId="5433" CreationDate="2017-04-20T06:48:10.560" Score="0" Body="&lt;p&gt;Add a date mask in the configuration:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;pubdate&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.DateTime&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; format=&quot;yyyyMMdd&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="828" LastActivityDate="2017-04-20T06:48:10.560" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5438" PostTypeId="1" CreationDate="2017-04-20T10:15:52.420" Score="3" ViewCount="122" Body="&lt;p&gt;I have an odd situation where I publish from master to web a single item with the following options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Republish&lt;/li&gt;&#xA;&lt;li&gt;No Child Items&lt;/li&gt;&#xA;&lt;li&gt;No Related Items&lt;/li&gt;&#xA;&lt;li&gt;Only 1 language&lt;/li&gt;&#xA;&lt;li&gt;Only 1 version&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And the item is published twice. I can see from the logs that the updated items are two, and I can see from the custom index ComputeFieldValue method that the code is executed twice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am, of course, concerned about performance when large amount of items are published. I went through the logs and index configuration files without luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is causing this? How can I start troubleshooting this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&#xA;this is my development machine, which is both CM and CD. The stacktrace is exactly the same in both instances when the ComputeFieldValue is hit.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2017-04-20T10:22:57.670" LastActivityDate="2017-04-20T10:22:57.670" Title="Items apparently being published to web twice every time" Tags="|publishing|lucene|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5439" PostTypeId="1" CreationDate="2017-04-20T10:50:38.807" Score="2" ViewCount="58" Body="&lt;p&gt;I've rebuild reporting database. After that all reports had been appeared. But reports which are based on Date has empty date axes:&lt;a href=&quot;https://i.stack.imgur.com/7seyC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7seyC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I have an error in logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR [Experience Analytics]: System.InvalidCastException: Specified cast is not valid.&#xA;     at Sitecore.ExperienceAnalytics.Api.Response.ReportResponseData.ReportRowData..ctor(DataRow row, IReportQueryData queryData, Boolean readKeyIndexColumn)&#xA;     at Sitecore.ExperienceAnalytics.Api.ReportingService.&amp;lt;&gt;c__DisplayClass4.b__1(DataRow dataRow)&#xA;     at System.Linq.Enumerable.WhereSelectEnumerableIterator&lt;code&gt;2.MoveNext()&#xA;     at System.Collections.Generic.List&lt;/code&gt;1..ctor(IEnumerable&lt;code&gt;1 collection)&#xA;     at Sitecore.ExperienceAnalytics.Api.Response.ReportResponseData.DataInflator.NullDataInjector..ctor(IReportQueryData queryData, IEnumerable&lt;/code&gt;1 rows, List`1 dimensionKeys)&#xA;     at Sitecore.ExperienceAnalytics.Api.Response.ReportResponseData.LiveReportResponseBuilder.WithResults()&#xA;     at Sitecore.ExperienceAnalytics.Api.ReportingService.RunQuery(ReportQuery reportQuery)&#xA;     at Sitecore.ExperienceAnalytics.Api.Http.AnalyticsDataController.Get(ReportQuery reportQuery)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8 update 5&#xA;Segments, goals and etc. has been deployed and DeployDate has been overrided to 2001 year before rebuilding.&#xA;What can be the reason of these errors?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastActivityDate="2017-04-20T10:50:38.807" Title="Reports date axes is null" Tags="|reporting|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5440" PostTypeId="1" AcceptedAnswerId="8265" CreationDate="2017-04-20T11:19:10.900" Score="10" ViewCount="1831" Body="&lt;p&gt;I am working on a large Sitecore solution based on the Helix principles, with +20 different TDS projects. In general this works fine, but if one of the developers changes a value for a &quot;Deploy Once&quot; item, it is difficult to update the item across all developer machines. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our usual process is to do a &quot;Deploy&quot; on the solution, but this does not update &quot;Deploy Once&quot; items if they are already there. Instead we have to sync each TDS project using the &quot;Sync Project with Sitecore&quot; option. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to sync all projects, perhaps by forcing Sitecore to be updated with all TDS items, even the items with &quot;Deploy once&quot;? &lt;/p&gt;&#xA;" OwnerUserId="758" LastActivityDate="2017-11-02T18:53:29.893" Title="TDS: Sync Project with Sitecore for entire solution" Tags="|helix|tds|serialization|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5442" PostTypeId="1" AcceptedAnswerId="5443" CreationDate="2017-04-20T12:25:25.233" Score="4" ViewCount="1003" Body="&lt;p&gt;I have a field on a template using the &quot;Attachment&quot; type.  There's only 1 attachment field on the template and it's named &quot;Blob&quot; (I read that these were requirements of that field type). The upload worked great in 8.1.  We recently upgraded to 8.2.  Now when I click &quot;Attach&quot; it lets me select a file and it appears to upload but then I get a prompt to &quot;Save&quot; the file.  It renames the file to the name of the Sitcore item but it is the file I just uploaded and nothing has been uploaded to the field.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This has been attempted in Chrome, Edge, FF and IE11 in multiple environments with the same result.&lt;/p&gt;&#xA;" OwnerUserId="1756" LastEditorUserId="423" LastEditDate="2017-08-08T14:15:38.910" LastActivityDate="2017-08-08T14:15:38.910" Title="Attachment Blob Not Uploading File" Tags="|media-library|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5443" PostTypeId="2" ParentId="5442" CreationDate="2017-04-20T14:20:15.327" Score="3" Body="&lt;p&gt;It looks like in Sitecore 8.2, you now need an &quot;Extension&quot; field for Sitecore to understand the attachment type properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a single-line text field called &quot;Extension&quot; to your template, alongside the blob field. Make sure it has the same specs as the blob field (unversioned or shared).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once this field is in place, Sitecore will properly fill it out for files you attach. As a bonus, Sitecore will now render the file preview properly for known types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix existing attachments, I can see three possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Put together a script to fill out the Extension field. Presumably you are saving the file name in addition to the blob, so this should be possible.&lt;/li&gt;&#xA;&lt;li&gt;If you know what extension to expect, you could set it using standard values.&lt;/li&gt;&#xA;&lt;li&gt;Re-attach existing attachments.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For the new Publishing Service to publish your blob fields, see this answer: &lt;a href=&quot;https://sitecore.stackexchange.com/a/999/890&quot;&gt;https://sitecore.stackexchange.com/a/999/890&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2017-04-21T17:49:39.420" LastActivityDate="2017-04-21T17:49:39.420" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5444" PostTypeId="2" ParentId="5223" CreationDate="2017-04-20T15:36:12.217" Score="5" Body="&lt;p&gt;OK, so I've spoken with Sitecore support about this issue, and they were able to help me come up with the answer. The reason for the difference is because of the way that I was counting the interactions. I was running the following query to find out how many pageviews I had (according to Mongo):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Interactions.count({&quot;StartDateTime&quot;:{$gt: ISODate(&quot;2017-03-27T00:00:00:00.000-06:00&quot;)}})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;According to Sitecore support, this is not the correct query that I should have been running. This counts the interactions, but there could be multiple page views in a single interaction. So in order to get the correct numbers, you have to use a different piece of data in the mongo db collection. Here's a couple of examples.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will find all of the interactions that just had a single page view.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Interactions.find({&quot;StartDateTime&quot;:{$gt: ISODate(&quot;2017-03-27T00:00:00:00.000-06:00&quot;)},&quot;VisitPageCount&quot;: 1 })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will find all of the interactions that have more than 1 page view.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Interactions.find({&quot;StartDateTime&quot;:{$gt: ISODate(&quot;2017-03-27T00:00:00:00.000-06:00&quot;)},&quot;VisitPageCount&quot;: {$gt: 1}})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, the moral of the story is that in order to find out how many page views a visitor experienced, you have to write a query to add the &lt;strong&gt;VisitPageCount&lt;/strong&gt; for each interaction record.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that this helps someone else understand how to interpret the analytics data that is stored in Mongo.&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-04-20T15:36:12.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5445" PostTypeId="1" AcceptedAnswerId="5447" CreationDate="2017-04-20T15:47:40.573" Score="5" ViewCount="1863" Body="&lt;p&gt;I have a database and website folder backup provided by the client. How can I configure a sitecore site manually or by using the Sitecore Instance Manager?&lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="1000" LastEditDate="2017-04-20T23:17:49.897" LastActivityDate="2017-04-20T23:17:49.897" Title="How to setup sitecore site from existing database and website folder?" Tags="|configuration|sim|settings|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5446" PostTypeId="2" ParentId="5230" CreationDate="2017-04-20T15:53:29.070" Score="2" Body="&lt;p&gt;You can retrieve contact's behavioural information with the help of &lt;code&gt;ContactRepository&lt;/code&gt; which is the recommended way to work with contact data in the situation you described (requesting information as not the website user).&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;    var repository = Factory.CreateObject(&amp;quot;tracking/contactRepository&amp;quot;, true) as ContactRepositoryBase;&#xA;    var contact = repository.LoadContactReadOnly(ID.NewID);&#xA;&#xA;    foreach (IBehaviorProfileContext behaviorProfile in contact.BehaviorProfiles.Profiles)&#xA;    {&#xA;        var profileScores = behaviorProfile.Scores;&#xA;        ID patternId = behaviorProfile.PatternId;&#xA;        //and other properties                &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It returns contact data from xDB (MongoDB). Data representation in &lt;em&gt;Contacts&lt;/em&gt; collection:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BG6ta.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BG6ta.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Hope it helps.&lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-04-20T15:53:29.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5447" PostTypeId="2" ParentId="5445" CreationDate="2017-04-20T16:03:57.283" Score="9" Body="&lt;p&gt;For an existing site, you would want to create the site manually in IIS.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a new website in IIS, point the folder to your &lt;code&gt;website&lt;/code&gt; folder. &lt;/li&gt;&#xA;&lt;li&gt;Make sure the binding is setup to something like &lt;code&gt;mywebsite.local&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Make sure the permissions on the website folder are set to allow the AppPool user for your new website to have read &amp;amp; write access.&lt;/li&gt;&#xA;&lt;li&gt;Restore the database&lt;/li&gt;&#xA;&lt;li&gt;Update the &lt;code&gt;/app_config/ConnectionStrings.config&lt;/code&gt; file with your database connection details&lt;/li&gt;&#xA;&lt;li&gt;Make sure the data folder is set correctly &lt;code&gt;/app_config/include/datafolder.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Update the site definition to include your host name in the binding.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That should allow you to load up the site, then you can rebuild the indexes and should be ready to go.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-04-20T16:03:57.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5448" PostTypeId="2" ParentId="5445" CreationDate="2017-04-20T18:52:26.870" Score="5" Body="&lt;p&gt;@Richard Seal's answer is entirely correct, but if you are worried about setting IIS and NTFS security things manually, you can also follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install a fresh Sitecore instance like you normally would using SIM or the installer.&lt;/li&gt;&#xA;&lt;li&gt;Replace the installed Website folder with the Website folder you received from the client.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Then proceed as with the final steps that Richard highlighted:&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Restore the database&lt;/li&gt;&#xA;&lt;li&gt;Update the /app_config/ConnectionStrings.config file with your database connection details&lt;/li&gt;&#xA;&lt;li&gt;Make sure the data folder is set correctly /app_config/include/datafolder.config&lt;/li&gt;&#xA;&lt;li&gt;Update the site definition to include your host name in the binding.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-04-20T18:52:26.870" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5450" PostTypeId="1" AcceptedAnswerId="12740" CreationDate="2017-04-20T21:15:37.400" Score="0" ViewCount="1697" Body="&lt;p&gt;I'm trying to set up an item to allow a content editor to easily select a group of items in a subtree. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can use a droptree that points to a root item and then a &lt;code&gt;Multilist&lt;/code&gt; to select template types to use but I ran into the field type &lt;code&gt;Query Builder&lt;/code&gt;. That seems like it can do what I want and more (potentially omit specific items that would be a match using the droptree/multilist method which I cannot do for the other option but would like to be able to do). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm having trouble using this though. I didn't see any fields that made sense to cast a field with the type &lt;code&gt;Query Builder&lt;/code&gt; to but tried to do a few anyway which didn't seem to work out. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried using &lt;code&gt;Sitecore.Data.Database.SelectItems&lt;/code&gt; but got errors about the string being invalid (sample raw values: &lt;code&gt;+location:{ID};template:{ID}&lt;/code&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone has any input on using this field that would be appreciated. I know that you can use the query builder while setting the datasource of a rendering so I will look into how that is set (&lt;strong&gt;ItemResolver&lt;/strong&gt;?).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on &lt;a href=&quot;https://sitecore.stackexchange.com/questions/69/filtering-results-when-field-is-empty-with-query-builder-fields&quot;&gt;Filtering results when field is empty with query builder fields&lt;/a&gt; it looks like I will need to get a search context and pass this query to that.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-04-25T14:28:48.707" LastActivityDate="2018-07-18T05:00:44.133" Title="Using the Query Builder Field Type" Tags="|querybuilder|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5451" PostTypeId="1" CreationDate="2017-04-21T00:03:02.813" Score="3" ViewCount="1347" Body="&lt;p&gt;We are using Sitecore 7.2 Update 4, jQuery 1.9.1 and Bootstrap 3.2.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using &lt;code&gt;TypeAhead&lt;/code&gt; which uses Bootstrap but it's not working in our solution as it's picking up jQuery version 1.5.1 included by Sitecore which isn't compatible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are not in preview mode - the Sitecore toolbar is not visible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;jQuery 1.9.1 is included in the head&#xA;jQuery 1.5.1 is added by Sitecore towards the end of the body&#xA;Bootstrap is included at the end of the body&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried adding &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jQuery.noConflict(true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And moving jQuery 1.9.1 to the end of the body but this didn't change things.&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="70" LastEditDate="2017-04-21T15:29:20.773" LastActivityDate="2017-04-21T15:29:20.773" Title="Sitecore jQuery version compatibility" Tags="|javascript|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5452" PostTypeId="2" ParentId="5308" CreationDate="2017-04-21T07:43:33.167" Score="1" Body="&lt;p&gt;Certain property names do trigger that - same as Id gets automapped to the ID of the Sitecore element. To get around that you would simply need to map the Name property normally using attribute / fluent configuration.&lt;/p&gt;&#xA;" OwnerUserId="1832" LastActivityDate="2017-04-21T07:43:33.167" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5453" PostTypeId="1" CreationDate="2017-04-21T07:56:54.920" Score="0" ViewCount="998" Body="&lt;p&gt;How can we make the fast queries work in multi lingual and Language fall back scenarios?&#xA;We are using Fast queries across our code to fetch items. and we are facing issue when trying with multi-lingual scenarios fro language fall back. &#xA;Can someone please help me with this.&lt;/p&gt;&#xA;" OwnerUserId="1333" LastEditorUserId="73" LastEditDate="2017-04-25T03:00:51.370" LastActivityDate="2017-04-25T03:00:51.370" Title="Sitecore Fast Query on Multi Lingual/Language Fallback solutions" Tags="|language-fallback|sitecore-query|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5454" PostTypeId="1" AcceptedAnswerId="5461" CreationDate="2017-04-21T10:22:08.403" Score="3" ViewCount="515" Body="&lt;p&gt;I am setting up commerce server site. But I can't access CSServices site. I followed all steps mentioned at commercesdn site:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a folder named C:\inetpub\CSServices\ In IIS, add a new&#xA;website named CSServices, with the physical path pointing to the&#xA;folder that you previously created. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure this IIS site listens    on port 1004, which will be used&#xA;in a later stage. Create a new app    pool &quot;CSServices&quot;, and set its&#xA;identity to .\CSFndRuntimeUser    Depending on your IIS hostname&#xA;binding, you may need to disable the    loop back check. Please refer&#xA;to    &lt;a href=&quot;http://support.microsoft.com/kb/896861&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://support.microsoft.com/kb/896861&lt;/a&gt; for more details.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I run commands to grant admin rights as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But can't access following url:&#xA;&lt;a href=&quot;http://localhost:1004/CFSolutionStorefrontSite_CatalogWebService/CatalogWebService&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:1004/CFSolutionStorefrontSite_CatalogWebService/CatalogWebService&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is showing below error:&#xA;HTTP Error 401.2 - Unauthorized&#xA;You are not authorized to view this page due to invalid authentication headers.&lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="73" LastEditDate="2017-06-08T13:40:16.160" LastActivityDate="2017-07-21T01:19:22.537" Title="Can't access CFSolutionStorefrontSite_CatalogWebService/CatalogWebService" Tags="|sitecore-commerce|commerce-connect|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5455" PostTypeId="1" AcceptedAnswerId="5514" CreationDate="2017-04-21T10:49:01.287" Score="4" ViewCount="1752" Body="&lt;p&gt;On my local environment all WFFM forms are working ok, however on our test environment when any form is submitted we get the error:&lt;/p&gt;&#xA;&lt;h1&gt;An item with the same key has already been added.&lt;/h1&gt;&#xA;&lt;p&gt;&lt;strong&gt;Description:&lt;/strong&gt; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Exception Details:&lt;/strong&gt; System.ArgumentException: An item with the same key has already been added.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Source Error:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Line 24:     if (!IsPost)&#xA;Line 25:     {&#xA;Line 26:       queryString.Add(&amp;quot;wffm.&amp;quot; + Constants.FormItemId, Model.Item.ID.ToGuid());&#xA;Line 27:       queryString.Add(&amp;quot;wffm.&amp;quot; + Constants.Id, Model.UniqueId);&#xA;Line 28:     }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Source File:&lt;/strong&gt; D:\home\site\wwwroot\Views\Form\EditorTemplates\FormViewModel.cshtml    Line: 26&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; I have tried uncehcking the field on the form &lt;code&gt;Is Ajax Mvc Form&lt;/code&gt; and this seems to resolve the issue.&lt;/p&gt;&#xA;&lt;p&gt;Is there some configuration setting which could be causing this, since there is no difference in the form content itself between the two environments.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-04-26T21:31:17.280" Title="WFFM Error - An Item with the same key has already been added" Tags="|wffm|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="5456" PostTypeId="2" ParentId="5453" CreationDate="2017-04-21T12:08:39.483" Score="1" Body="&lt;p&gt;If I remember correctly, Fast Query doesn't support language fallback scenarios. I would suggest to change your code and use search indexes to get items.&lt;/p&gt;&#xA;" OwnerUserId="676" LastActivityDate="2017-04-21T12:08:39.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5458" PostTypeId="2" ParentId="5451" CreationDate="2017-04-21T14:33:27.030" Score="2" Body="&lt;p&gt;There are some ideas here that you might be able to use Steve:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/484/dealing-with-jquery-version-collisions-in-wffm&quot;&gt;Dealing with jQuery version collisions in WFFM&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g unloading jquery after testing it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (typeof jQuery != 'undefined' &amp;amp;&amp;amp; jQuery.fn.jquery == &quot;1.4.2&quot;) {&#xA;    jQuery.noConflict(true);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or the answer I posted on the above link about using HTML Agility Pack, loading in the DOM, removing JQuery version added by Sitecore and then adding your own.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-04-21T14:33:27.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5459" PostTypeId="2" ParentId="5450" CreationDate="2017-04-21T16:10:00.410" Score="2" Body="&lt;p&gt;I tend to find a treelist control with support for multiple roots works well as described by Kam here: &lt;a href=&quot;https://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can use all the filters available to filter out templates and so on to only show the items you want:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ExcludeTemplatesForSelection, ExcludeItemsForDisplay or&#xA;  ExcludeTemplatesForDisplay&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This might work as an approach instead of using the Query Builder type.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-04-21T16:10:00.410" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="5460" PostTypeId="1" AcceptedAnswerId="6215" CreationDate="2017-04-21T16:56:28.263" Score="7" ViewCount="796" Body="&lt;p&gt;We're running Sitecore 8.1 Update-3 (160519) and are running into issues with serialization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the standard admin account, if we select an item, for example &lt;strong&gt;/sitecore/content/home&lt;/strong&gt; and run &quot;Serialize item&quot; in the Developer tab there's no message in the Sitecore Desktop, no browser console errors (Chrome or IE, see &lt;strong&gt;Edit 1&lt;/strong&gt;), and no messages of any sort in the standard Sitecore logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sadly, no serialization directory is created, and if one exists, it is not populated with any files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we visit &lt;a href=&quot;https://example.com/sitecore/admin/serialization.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://example.com/sitecore/admin/serialization.aspx&lt;/a&gt; and run the serialization process, however, the serialization directory is properly populated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've checked permissions and the user account associated with the site does have the appropriate rights to the entire data directory, and can obviously populate it if we use the admin page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the admin serialization took place we also tried renaming the &lt;strong&gt;master&lt;/strong&gt; directory in the serialization folder and running Serialize item on an individual item again, to no avail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a reason serializing an individual item might not work? What would be the recommended next steps to determine why the Serialize item command isn't working?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Edit 1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are three console errors in Chrome, all with the same text:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;X-Frame-Options may only be set via an HTTP header sent along with a document. It may not be set inside .&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;These are on the following items, after starting up the Content Editor in Sitecore Desktop. They've been going on for a while, and don't seem to have an impact on using the content editor.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;EditorWindow.aspx:4&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Shell.Applications.Analytics.TrackingFieldDetails.aspx?db=master&amp;amp;id={110D559F-DEA5-42EA-9C…:39&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Shell.Applications.Security.SecurityDetails.aspx?db=master&amp;amp;id={110D559F-DEA5-42EA-9C1C-8A5…:41&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This appears to be &lt;a href=&quot;https://community.sitecore.net/developers/f/5/t/3810&quot; rel=&quot;nofollow noreferrer&quot;&gt;a known issue&lt;/a&gt; so I don't typically count these.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Edit 2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;After digging into the code, and posting to a Sitecore Slack channel, it appears there may be &lt;a href=&quot;https://github.com/kamsar/Unicorn/issues/219&quot; rel=&quot;nofollow noreferrer&quot;&gt;a bug in Unicorn where serialization is not passed back to Sitecore&lt;/a&gt;. Per the documentation it should be. Issue created and will update as I find out more.&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2017-04-25T19:49:30.903" LastActivityDate="2017-06-17T18:47:35.187" Title="Unable to Serialize item, but running admin serialization works fine" Tags="|serialization|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5461" PostTypeId="2" ParentId="5454" CreationDate="2017-04-21T19:14:12.913" Score="3" Body="&lt;p&gt;You need to make sure:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- the user CSFndRuntimeUser is an administrator&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- on the CSService on IIS you set Windows Authentication and Anonymous Authentication as enabled&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.1 - on the Catalog and Profile sites on IIS you set only Windows Authentication as enabled&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-04-21T19:55:54.087" LastActivityDate="2017-04-21T19:55:54.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5462" PostTypeId="2" ParentId="3121" CreationDate="2017-04-21T19:24:00.617" Score="5" Body="&lt;p&gt;Just recently had a conversation about the same issue on a Sitecore 8.0-4 instance of xDB Cloud 1.0. The client was having issues with latency when mongoDB became unavailable and I was confused on why as the only time their instance was calling into mongoDB was on initial login. Login seemed to be fine but the application was very slow when mongoDb was unavailable. Since the only time the application should be communicating with mongoDB was on initial Contact Identification and on Session End, my assumption was performance shouldn't impact current session tracking. After speaking with Sitecore, they have released a KB Article explaining potential causes to the Content Delivery Server if mongoDB becomes unavailable. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some recommendations are&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Update mongoDB to 3.0 and use WiredTiger storage engine for performance improvements. &quot;May want to verify this with Sitecore but I think xDB Cloud 2.0 is configured with this architecture.&lt;/li&gt;&#xA;&lt;li&gt;Decrease the mongoDB Connection Timeout's, ex. connectTimeoutMS=2000&amp;amp;socketTimeoutMS=2000. To make this change for xDB Cloud 1.0, you need the following patch: &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.155426&quot; rel=&quot;noreferrer&quot;&gt;Sitecore.Support.155426&lt;/a&gt;. For xDB Cloud 2.0 you shouldn't need the patch, just change the connection string to something other than default.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is the link to the article for more indepth explaination of how Sitecore communicates with MongoDB: &lt;a href=&quot;https://kb.sitecore.net/articles/930657&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/930657&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1837" LastEditorUserId="1837" LastEditDate="2017-04-21T22:08:36.047" LastActivityDate="2017-04-21T22:08:36.047" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5463" PostTypeId="2" ParentId="5435" CreationDate="2017-04-22T09:59:43.667" Score="1" Body="&lt;p&gt;Jamie Scott has implemented Azure Search for Sitecore 8.1. However this is not officially supported by Sitecore. Here is the git repo for the same.&#xA;&lt;a href=&quot;https://github.com/jscott1277/SitecoreAzureSearchProvider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/jscott1277/SitecoreAzureSearchProvider&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-04-22T09:59:43.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5464" PostTypeId="2" ParentId="5450" CreationDate="2017-04-22T14:31:24.773" Score="1" Body="&lt;p&gt;A possible solution apart from using the Query Builder is the Multilist with Search field Type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the source field you can specify the root to where the multilist should point and add a filter using the template name.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/RutZ3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RutZ3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the value in the source field should be like this:&#xA;&lt;code&gt;StartSearchLocation={11111111-1111-1111-1111-111111111111}&amp;amp;Filter=+_templatename:my template&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;{11111111-1111-1111-1111-111111111111} - replace with id of your container&lt;/li&gt;&#xA;&lt;li&gt;my template - replace with your template name.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can visit this &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/using-the-new-sitecore-7-field-types&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt; to check the available filter options that can be used.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2017-04-22T14:31:24.773" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5465" PostTypeId="2" ParentId="5323" CreationDate="2017-04-24T10:11:25.003" Score="10" Body="&lt;p&gt;If you are using Sitecore 8.0 Update 3 upwards then a couple of new default processors were added to the Health Monitors to periodically dump the Cache Status and Rendering Statistics to files on disk. By default this process is run every 10 minutes, and they are run on the CD servers as well so you can use these files to check how your caches have been behaving.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the Sitecore 8 Update-3 release notes:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Periodic dumping data from /sitecore/admin/stats.aspx and /sitecore/admin/cache.aspx pages to the file system has been implemented. New processors have been added to the pipeline. The location and format of the log file can be configured as part of the processor configuration. By default, dump files are stored in /diagnostics/health_monitor in the Data folder. (415409, 415411)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The specific processors are:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;healthMonitor&amp;gt;&#xA;    &amp;lt;!-- Dumps the information that the /sitecore/admin/cache.aspx page contains --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Pipelines.HealthMonitor.HealthMonitor, Sitecore.Kernel&quot; method=&quot;DumpAllCacheStatus&quot;&amp;gt;&#xA;      &amp;lt;dumpFile&amp;gt;$(dataFolder)/diagnostics/health_monitor/CacheStatus.{date}.{time}.html&amp;lt;/dumpFile&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;!-- Dumps the information that the /sitecore/admin/stats.aspx page contains --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Pipelines.HealthMonitor.HealthMonitor, Sitecore.Kernel&quot; method=&quot;DumpRenderingsStatistics&quot;&amp;gt;&#xA;      &amp;lt;dumpFile&amp;gt;$(dataFolder)/diagnostics/health_monitor/RenderingsStatistics.{date}.{time}.html&amp;lt;/dumpFile&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;&amp;lt;/healthMonitor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The processors simply read the caches and rendering statistics, create an HTML table of the values and then dump them in the folder location specified. The output is very similar to what you see when you visit &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt; or &lt;code&gt;/sitecore/admin/stats.aspx&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When tuning caches, particularly during performance or load testing you may want to record the statistics more frequently, which you can do by reducing the configuration setting to a more suitable value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  HEALTH MONITOR INTERVAL&#xA;       Specifies the interval between running the healthMonitor pipeline.&#xA;        Default value: 00:10:00 (10 minutes)&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;HealthMonitorInterval&quot; value=&quot;00:10:00&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more about this feature in &lt;a href=&quot;https://jammykam.wordpress.com/2015/12/18/periodically-saving-information-about-cache-and-rendering-statistics/&quot; rel=&quot;noreferrer&quot;&gt;this blog post&lt;/a&gt; which I previously wrote. &lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-04-24T10:17:32.263" LastActivityDate="2017-04-24T10:17:32.263" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5466" PostTypeId="1" AcceptedAnswerId="5469" CreationDate="2017-04-24T13:16:50.347" Score="0" ViewCount="1424" Body="&lt;p&gt;Using &lt;strong&gt;Sitecore 8.2 along with SXA 1.2 rev. 161216&lt;/strong&gt;,&#xA;I am trying to add a simple SectionTitle (a title and a bit of HTML below it) rendering to the available renderings in SXA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed a few tutorials, each of them presenting quite different approaches, still none worked. This is what I did,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Created the View&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.XA.Foundation.MarkupDecorator.Extensions&#xA;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@model myworkspace.Models.SectionTitle&#xA;&#xA;&amp;lt;div @Html.Sxa().Component(&quot;section-title&quot;, Model.Attributes)&amp;gt;&#xA;  &amp;lt;div class=&quot;component-content text-green section-title&quot;&amp;gt;&#xA;      @Html.Sxa().Field(&quot;Title&quot;, Model.Item, Model.GetRenderingWebEditingParams())&#xA;      &amp;lt;span class=&quot;underline-shape-line&quot;&amp;gt;&amp;lt;/span&amp;gt;&#xA;      &amp;lt;span class=&quot;underline-shape-disc&quot;&amp;gt;&amp;lt;/span&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Created the Model&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SectionTitle : RenderingModelBase&#xA;{&#xA;    public SectionTitle() { }&#xA;    public string Title { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Created the Controller&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SectionTitleController : StandardController&#xA;{&#xA;    private readonly ISectionTitleRepository _repository;&#xA;&#xA;    public SectionTitleController(ISectionTitleRepository repository)&#xA;    {&#xA;          _repository = repository;&#xA;    }&#xA;&#xA;    protected override object GetModel()&#xA;    {&#xA;        return _repository.GetModel();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Created a Repository class&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(to be honest, I didn't fully understand why it is better than just ue CreateModel())&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface ISectionTitleRepository: IModelRepository&#xA;{&#xA;}&#xA;&#xA;public class SectionTitleRepository : ModelRepository, ISectionTitleRepository&#xA;{&#xA;    public override IRenderingModelBase GetModel()&#xA;    {&#xA;        SectionTitle model = new SectionTitle();&#xA;        FillBaseProperties(model);&#xA;        model.Title = GetTitle();&#xA;        return base.GetModel();&#xA;    }&#xA;&#xA;    private string GetTitle()&#xA;    {&#xA;        return PageContext.Current[Templates.SectionTitle.Fields.Title];&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Created a Parameters Template&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Called SectionTitle, inherits from IStyling and Standard Rendering Parameters&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Created a Template&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Called SectionTitle, with a section called Section and a field called Title (Rich Text)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Created a Controller Rendering&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller:&lt;/strong&gt; SectionTitle&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller Action:&lt;/strong&gt; Index&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Parameters Template:&lt;/strong&gt; The one created above&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Datasource Location:&lt;/strong&gt; query:$site/&lt;em&gt;[@@name='Data']/&lt;/em&gt;[@@templatename='Text Folder']&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Datasource Template:&lt;/strong&gt; The template created above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Still, when I try to add a new item in Experience Editor, I get &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Could not find the rendering in the HTML loaded from server&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried lots of other configurations and always get this error, does someone have a hint ?&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="1833" LastEditDate="2017-04-24T13:30:35.743" LastActivityDate="2018-12-10T14:55:21.840" Title="&quot;Could not find the rendering in the HTML loaded from server&quot; when adding custom rendering to SXA" Tags="|sxa|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5468" PostTypeId="1" AcceptedAnswerId="6016" CreationDate="2017-04-24T14:01:12.053" Score="4" ViewCount="731" Body="&lt;p&gt;This is Sitecore.NET 7.5 (rev. 141003), already with MongoDB;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created some Profile Cards:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/6vNHv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6vNHv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With some matching Pattern Cards with same values:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/80TtI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/80TtI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I assigned these profile cards to lots of pages:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/lcb8P.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lcb8P.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Published and browsed my pages several times to make sure xDB is registering, then I have a code looking the Tracker.Current.Interaction.Profiles property. I see some results as expected in there, but the PatternLabel property in specific always comes NULL:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/yTfSO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yTfSO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone knows how that property can be fed?&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have tested our solution in a fresh installation of Sitecore 8.2 update 1, along with all the checks proposed by @Pete - great summary of important things to check!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But indeed the key to my problem was that I needed to have proper Pattern Cards created (and published) with scores matching to their respective Profile Cards, so @Hedipo got the answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Thank you very much to all who contributed!&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="471" LastEditorUserId="605" LastEditDate="2017-06-07T16:01:30.020" LastActivityDate="2017-10-30T18:01:28.807" Title="Tracker.Current.Interaction.Profiles PatternLabel is always null" Tags="|xdb|tracking|experience-profile|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5469" PostTypeId="2" ParentId="5466" CreationDate="2017-04-24T14:26:58.537" Score="0" Body="&lt;p&gt;Looking into the logs, it appeared I had the same error as &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2973/sxa-custom-component-looking-for-parameterless-constructor?rq=1&quot;&gt;here&lt;/a&gt; but in french. I solved it adding a new constructor to the controller,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public SectionTitleController()&#xA;    {&#xA;        _repository = new SectionTitleRepository();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also miswrote the return value of GetModel(), I was returning base.GetModel() instead of model.&lt;/p&gt;&#xA;" OwnerUserId="1833" LastActivityDate="2017-04-24T14:26:58.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5470" PostTypeId="1" AcceptedAnswerId="5912" CreationDate="2017-04-24T14:45:13.260" Score="0" ViewCount="128" Body="&lt;p&gt;We are using the Coveo Cloud edition, and I've added an external data source to the index. I see the results in the context browser in the admin tool, but not on the search page after adding the &lt;code&gt;CoveoForSitecore.componentsOptions.externalSources.push('source');&lt;/code&gt; command (I do see the source in the headers of the REST call). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look at an item in the content browser, under Permissions, it says anonymous users are denied. I set the source security to &quot;shared&quot; when I created it, and there's no authentication on the site (it's publicly browsable). I don't see anywhere to tell it that anonymous users are allowed (my Sitecore items say anonymous users are allowed as I'd expect).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I figure it's a setting somewhere, but I'm not seeing where to change it, whether it's in the cloud admin or something I need to add to the code of the search page.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-05-29T21:03:55.350" Title="Coveo external source - anonymous users denied" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5472" PostTypeId="1" AcceptedAnswerId="5473" CreationDate="2017-04-24T14:55:45.353" Score="2" ViewCount="2455" Body="&lt;p&gt;Somewhere between upgrading Sitecore/SXA and merging conflicts with the themes, all of a sudden the toolbox does not appear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I verify to get it working again?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-05-24T15:05:13.103" Title="SXA toolbox missing when editing pages and partial designs" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5473" PostTypeId="2" ParentId="5472" CreationDate="2017-04-24T14:55:45.353" Score="7" Body="&lt;p&gt;After working with Adam N. and him pointing me in the right direction I discovered a few things.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Confirm that the &lt;strong&gt;Drag and Drop&lt;/strong&gt; settings is enabled while in the &lt;em&gt;Experience Editor&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XXg9i.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XXg9i.png&quot; alt=&quot;Drag and Drop&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Confirm that the &lt;strong&gt;Editing Theme&lt;/strong&gt; in your site's theme has the BaseLayout themes added and in the right order.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xy1hM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xy1hM.png&quot; alt=&quot;Editing Theme&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Take notice that the first Base Theme in the list is for &lt;strong&gt;Editing Theme&lt;/strong&gt;. This is an SXA theme that includes the &lt;em&gt;toolbox.js&lt;/em&gt; required to show the theme.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now the beautiful toolbox appears!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ji4Px.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ji4Px.png&quot; alt=&quot;Toolbox&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-04-24T14:55:45.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5474" PostTypeId="1" AcceptedAnswerId="5475" CreationDate="2017-04-24T14:57:32.853" Score="4" ViewCount="3171" Body="&lt;p&gt;I've created my own &lt;code&gt;custom experience button&lt;/code&gt; to edit some responsive images for a logo in my header and I added the button to the &lt;code&gt;rendering&lt;/code&gt;. It works as expected and I am not having any problems with it.&lt;/p&gt;&#xA;&lt;p&gt;However, I would like to move the button to an edit frame using &lt;code&gt;Glass Mapper's BeginEditFrame&lt;/code&gt; so that the content manager can just click on some placeholder text to access the custom button.&lt;/p&gt;&#xA;&lt;p&gt;I'm trying to use the edit frame with this signature - &lt;code&gt;BeginEditFrame&lt;/code&gt;(string buttons, string dataSource, string title).&lt;/p&gt;&#xA;&lt;p&gt;My code is as follows:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using (BeginEditFrame(&amp;quot;{CDA69877-442C-47CC-87D3-E1D2BF61E5B8}&amp;quot;, &amp;quot;{6F455DBC-29FE-40FC-9803-0A738677EC04}&amp;quot;, &amp;quot;Logo Images&amp;quot;))&#xA;{&#xA;    &amp;lt;p&amp;gt;Click here to edit the logo.&amp;lt;/p&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The first Guid represents the ID of my custom button. The second Guid represents the datasource item containing my logo images.&lt;/p&gt;&#xA;&lt;p&gt;I also tried using the filepaths instead of Guids but got the same results.&lt;/p&gt;&#xA;&lt;p&gt;In case it helps, my button is found at &lt;code&gt;/sitecore/content/Applications/WebEdit/Custom Experience Buttons/Responsive Images&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;And my datasource item is at &lt;code&gt;/sitecore/content/siteroot/Data/Headers/Header&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;I don't get any errors with this code, but the edit frame that pops up does not have anything useful. I've pasted it below.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E4qkr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E4qkr.png&quot; alt=&quot;Edit Frame Pop-up&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Am I correct in using my custom button &lt;code&gt;filepath/Guid&lt;/code&gt; for the buttons parameter? (Edit: I just figured this part out. I needed to use the &lt;code&gt;filepath/Guid&lt;/code&gt; for the folder containing the buttons and not the filepath/Guid for the button item itself.)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;And is the &lt;code&gt;datasource&lt;/code&gt; item that holds the logos in question the datasource parameter that the method signature is asking for?&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="5774" LastEditDate="2021-06-13T18:03:49.577" LastActivityDate="2021-06-13T18:03:49.577" Title="How to use Glass Mapper's BeginEditFrame(string buttons, string dataSource, string title)" Tags="|experience-editor|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5475" PostTypeId="2" ParentId="5474" CreationDate="2017-04-24T15:44:38.623" Score="1" Body="&lt;p&gt;I figured it out. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;For the buttons parameter, I needed to use the filepath/Guid for the folder continaing the buttons I want to be displayed on the edit frame.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;This worked when I used the Guid of the datasource item containing my logo images, which is what I thought it should be. I'm not sure why it didn't work initially. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1133" LastActivityDate="2017-04-24T15:44:38.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5476" PostTypeId="1" AcceptedAnswerId="5478" CreationDate="2017-04-24T16:15:30.920" Score="4" ViewCount="2407" Body="&lt;p&gt;I'm writing a script to show the missing/new items between two content branches. For the target of the comparison, I build an item path and then call &lt;code&gt;Get-Item&lt;/code&gt; on that path to see if there is an equivalent item. The problem is that Get-Item throws an exception if no item is found - I would just like to handle a case of a 'null' item in my script.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#$source is the root path of the source branch&#xA;$localPath = $sourceItem.Paths.FullPath.SubString($source.Length)&#xA;$targetPath = &quot;master:&quot; + $target + &quot;/&quot; + $localPath&#xA;$targetItem = Get-Item $targetPath&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The script works in that $targetItem is null if no item is found using $targetPath but I would like to suppress the error message in the script.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-04-24T18:45:41.740" Title="SPE prevent Get-Item from throwing error if no item found" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5477" PostTypeId="1" AcceptedAnswerId="5480" CreationDate="2017-04-24T17:18:03.370" Score="6" ViewCount="945" Body="&lt;p&gt;I'm using Areas in my Sitecore MVC solution.  I &lt;em&gt;THINK&lt;/em&gt; I want to post to my form back to the same controller just like a typical MVC project (having a HttpPost attribute in my controller). Maybe that's not the best practice with Sitecore, I don't know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found how to do this without areas, but not with. Can this be done with Areas? Or why should I not do with with Areas?&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2017-04-25T02:57:26.953" Title="Sitecore MVC Form Post with Area" Tags="|mvc-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5478" PostTypeId="2" ParentId="5476" CreationDate="2017-04-24T18:45:41.740" Score="8" Body="&lt;p&gt;Just use the standard PowerShell error handling parameters:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$localPath = $sourceItem.Paths.FullPath.SubString($source.Length)&#xA;$targetPath = &quot;master:&quot; + $target + &quot;/&quot; + $localPath&#xA;$targetItem = Get-Item $targetPath -ErrorAction Ignore&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sounds like in your case this would be more than enough. But if you want the ability to check for other potential errors, you could combine the &lt;code&gt;SilentlyContinue&lt;/code&gt; action with the &lt;code&gt;ErrorVariable&lt;/code&gt; option, and then act out based on what's in the variable. For instance:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# ...&#xA;$targetItem = Get-Item $targetPath -ErrorAction SilentlyContinue -ErrorVariable myError&#xA;if ($myError.Count -gt 0 -and&#xA;    !($myError[0].FullyQualifiedErrorId.Contains(&quot;ItemDoesNotExist&quot;))) {&#xA;    Write-Warning $myError[0]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lots more details in this blog post: &lt;a href=&quot;https://blogs.technet.microsoft.com/heyscriptingguy/2014/07/09/handling-errors-the-powershell-way/&quot; rel=&quot;noreferrer&quot;&gt;https://blogs.technet.microsoft.com/heyscriptingguy/2014/07/09/handling-errors-the-powershell-way/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-04-24T18:45:41.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5479" PostTypeId="1" AcceptedAnswerId="6775" CreationDate="2017-04-24T23:28:28.347" Score="2" ViewCount="1130" Body="&lt;p&gt;Is it possible to use personalization on a SXA partial design? I am building a header component and want to use a personalization rule to alternate menu items shown depending on whether or not the user is authenticated. I have disabled caching entirely on the rendering for the menu items, but the partial design seems to cache the rendering per-page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 with SXA 1.2 rev 161216&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2017-04-25T09:42:59.343" LastActivityDate="2017-07-25T22:23:20.113" Title="Personalization on SXA Partial Design" Tags="|sxa|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5480" PostTypeId="2" ParentId="5477" CreationDate="2017-04-25T02:57:26.953" Score="6" Body="&lt;p&gt;Well I must admit before attempting to answer this question, I've never tried to build a form within a separate Area, but I thought it would be easy, so I went ahead and created my own test in my local sandbox environment.  Turns out, it was relatively straight forward, but you might run into issues once you start putting this form on more complex pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I started out with a basic MVC project.  My environment is 8.2 update 3 with Mvc 5.2.3.  So if you are in a much older version of Sitecore, I could see how this might be more challenging.  I know support for Areas, was only built in, with more recent versions of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that basic MVC project, I created an area called &lt;code&gt;Site&lt;/code&gt;.  Once it was done scaffolding, I created a new FormController and defined the following code in that Controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Example.Web.Areas.Site.Controllers &#xA;{&#xA;    public class FormController : GlassController&#xA;    {&#xA;        public ActionResult Submit()&#xA;        {&#xA;            var model = new SubmitModel();&#xA;            return View(model);&#xA;        }&#xA;&#xA;        [HttpPost]&#xA;        public ActionResult Submit(SubmitModel model)&#xA;        {&#xA;            if (ModelState.IsValid)&#xA;            {&#xA;                Response.Redirect(&quot;/&quot;);&#xA;            }&#xA;            return View(model);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So really quick explanation, is that I have to action results with the same name.  The one without the http verb attribute, will be &lt;code&gt;get&lt;/code&gt; by default.  Then I specify HttpPost for the submit action, which will run on the click of the submit button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My model for this, just looks like the follow.  So nothing too crazy, and I'm skipping the handling of validation, but you should probably add in atleast e-mail validation.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Example.Web.Areas.Site.Models&#xA;{&#xA;    public class SubmitModel&#xA;    {&#xA;        public string FirstName { get; set; }&#xA;        public string LastName { get; set; }&#xA;        public string Email { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lastly I define the view with the code below.  Very straight forward, but the difference is that I'm triggering the entire page to post back, which is typically what you'd want to do.  You would just use the Sitecore Mvc Route here instead and it'll take care of everything for you.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Example.Web.Areas.Site.Models&#xA;@using Sitecore.Mvc&#xA;@using Glass.Mapper.Sc.Web.Mvc&#xA;&#xA;@model SubmitModel&#xA;&#xA;@using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;{&#xA;&#xA;    @Html.Sitecore().FormHandler()&#xA;    &amp;lt;div class=&quot;form-control&quot;&amp;gt;&#xA;        @Html.LabelFor(x =&amp;gt; x.FirstName)&#xA;        @Html.TextBoxFor(x =&amp;gt; x.FirstName)&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;form-control&quot;&amp;gt;&#xA;        @Html.LabelFor(x =&amp;gt; x.LastName)&#xA;        @Html.TextBoxFor(x =&amp;gt; x.LastName)&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;form-control&quot;&amp;gt;&#xA;        @Html.LabelFor(x =&amp;gt; x.Email)&#xA;        @Html.TextBoxFor(x =&amp;gt; x.Email)&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;button type=&quot;submit&quot;&amp;gt;Submit&amp;lt;/button&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So basically my Website structure looks like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;App_Config&lt;/li&gt;&#xA;&lt;li&gt;Areas&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Site&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Controllers&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;FormController.cs&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Models&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SubmitModel.cs&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Views&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Form&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Submit.cshtml&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Controllers&lt;/li&gt;&#xA;&lt;li&gt;Models&lt;/li&gt;&#xA;&lt;li&gt;Views&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Once all of that is setup, you'll need to go into Sitecore.  Go to Sitecore/Layouts and open up Renderings.  Create a new Controller Rendering and make sure to set it's Controller, Controller Action and Area correctly to match the controller Action Submit that we created early.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That is it, now you should be able to assign this rendering to a view, and publish your changes to start seeing your form.  Like I said this is a fairly quick setup, but should get you running with making a more advanced page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also just to clarify, if you are doing multi-tenancy, than yes Areas is a good approach to achieve this.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-04-25T02:57:26.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5481" PostTypeId="2" ParentId="5453" CreationDate="2017-04-25T02:57:35.143" Score="1" Body="&lt;h2&gt;You cannot&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Sitecore Fast Query does [not] take the context language into account when it checks the value of non-shared fields. The query results therefore include all the items that have one or more language versions that match the query expression.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/developer/using%20sitecore%20fast%20query/using%20sitecore%20fast%20query.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Using Sitecore Fast Query&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;While the document is based on Sitecore 6, &lt;code&gt;fast:&lt;/code&gt; query became obsolete with the introduction of &lt;a href=&quot;https://sitecore-community.github.io/docs/documentation/Search/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore ContentSearch&lt;/a&gt; in versions 7 and above.&lt;/p&gt;&#xA;&lt;p&gt;You need to update your code to current Best Practices standards. There's good resources available.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://soen.ghost.io/a-re-introduction-to-the-contentsearch-api-in-sitecore-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;A re-introduction to the ContentSearch API in Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore-community.github.io/docs/documentation/Search/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Search Community Documentation&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Further...&lt;/h2&gt;&#xA;&lt;p&gt;As stated, &lt;code&gt;fast:&lt;/code&gt; query is obsolete. It is also extremely damaging for your runtime environment, as it doesn't scale &lt;em&gt;at all&lt;/em&gt;. You are pretty much putting all the load onto your SQL servers running the solution, bypassing all the advanced caching, indexing and so on that Sitecore has to offer.&lt;/p&gt;&#xA;&lt;p&gt;For additional information on the role of Fast Query and performance, here are a few additional resources.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://intothecore.cassidy.dk/2016/05/effective-use-of-sitecore-linkdatabase.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Effective use of Sitecore LinkDatabase&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://blog.coates.dk/2014/11/19/sitecore-fast-query-syntax-can-kill-your-sql-server-or-website/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Fast Query Syntax – Can kill your SQL Server or website&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-04-25T02:57:35.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5482" PostTypeId="1" CreationDate="2017-04-25T09:55:34.887" Score="3" ViewCount="1066" Body="&lt;p&gt;I'm having trouble reading the value from a Web Forms For Marketeers Upload File field within my Custom Save Action. As I understand it I should just be able to do this in the Save action Execute method like so (note: my field name is 'Upload' on the form):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;{           &#xA;    var fileUpload = adaptedFields.GetEntryByName(&quot;Upload&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm expecting the value to be an item id to the file uploaded but it is null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've looked at the out of the box ProcessMessage pipeline and the AddAttachments() method does something similar as it loops through each field in the form (AdaptedControlResult) and then grabs &lt;strong&gt;&lt;em&gt;field.Value&lt;/em&gt;&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Jonathan Robins also does something similar in his blog post here: &lt;a href=&quot;https://jonathanrobbins.co.uk/2015/02/18/sitecore-web-forms-for-marketers-send-email-with-attachment-save-action/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2015/02/18/sitecore-web-forms-for-marketers-send-email-with-attachment-save-action/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it looks like what I'm doing is right but I've no idea why the value is null and how to resolve this. Any help would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-06-01T11:30:58.857" Title="Reading a value from an WFFM Upload file field" Tags="|wffm|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5483" PostTypeId="1" CreationDate="2017-04-25T12:03:09.330" Score="4" ViewCount="668" Body="&lt;p&gt;Do we have any limitation for documents( pdfs , excels , msword ) in media library in sitecore 8.1. Actually We are planning to upload around 60,000 documents in media library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I know the purpose of CMS is that we can full have control on content as per our need but sure not sure about this scenario &lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="73" LastEditDate="2017-04-27T17:12:00.363" LastActivityDate="2017-04-27T17:12:00.363" Title="Good or bad:: Keeping large volume of documents in sitecore 8.1 Media Library" Tags="|media-library|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5484" PostTypeId="2" ParentId="5483" CreationDate="2017-04-25T13:28:58.697" Score="7" Body="&lt;p&gt;While Sitecore would be able to store that many documents, There are some things you may want to consider:&lt;/p&gt;&#xA;&lt;h3&gt;Maintenance&lt;/h3&gt;&#xA;&lt;p&gt;With the Search API in the content editor maintenance will be easier than it used to be, but still managing that amount of documents will not be simple.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;e.g&lt;/strong&gt; there is no way to bulk edit documents, or bulk move documents around. Sure you could use &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore PowerShell Extentions&lt;/a&gt; for that, but its still not the easiest.&lt;/p&gt;&#xA;&lt;h3&gt;Database Size&lt;/h3&gt;&#xA;&lt;p&gt;Another potential problem would be the size of the master and web DB's once you have that amount of documents in. This will make backup/restoring and general DB maintenance take longer, disk requirements will go up etc..&lt;/p&gt;&#xA;&lt;h3&gt;Publishing&lt;/h3&gt;&#xA;&lt;p&gt;Because you are on 8.1 the new publishing service is not available, so if you ever need to publish large parts of the media library, or worst case need to republish the entire site, this will take an extremely long time. Publishing media items is slower than normal items anyway because of the blob data.&lt;/p&gt;&#xA;&lt;p&gt;With those considerations, if I were looking at storing that many documents and the budget allowed for it, I would look at a dedicated Digital Asset Management system (DAM) - Sitecore have &lt;a href=&quot;http://www.damforsitecore.com/&quot; rel=&quot;noreferrer&quot;&gt;DAM for Sitecore&lt;/a&gt; and there are others around. A dedicated DAM will solve a number of the above issues as they are built to manage that many documents.&lt;/p&gt;&#xA;&lt;p&gt;If you have no budget for that, then Sitecore will be able to handle it, but plan the content tree carefully so you have the min amount of maintenance to do once the documents are there.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-04-25T13:28:58.697" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5486" PostTypeId="1" AcceptedAnswerId="7233" CreationDate="2017-04-25T14:00:56.910" Score="7" ViewCount="566" Body="&lt;p&gt;I am trying to remove access to shared presentation for a particular role.  I have denied read on this item: /sitecore/content/Applications/WebEdit/Ribbons/Chunks/Layout Modes/Shared Layout.  This works as the user is no longer able to toggle between shared and final.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, my user role can still open the presentation details dialog and edit the shared layout from there.  They can also use the reset presentation dialog to reset the shared presentation.  How do I deny access to these items?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2023-05-08T07:53:42.653" Title="Remove access to Shared presentation?" Tags="|experience-editor|presentation|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5487" PostTypeId="1" CreationDate="2017-04-25T14:21:38.097" Score="2" ViewCount="100" Body="&lt;p&gt;We have a scenario where each view is counting as 2 with regards to Experience Analytics.  This is in 8.1 rev. 151207. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm verifying the duplicate views by using Experience Explorer, with the right-hand pane opened.  It starts at 1, then goes 3, 5, 7, etc.  It is also duplicating goal counts associated with the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dSFTH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dSFTH.png&quot; alt=&quot;Duplicate View Counts&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had considered if we had an Iframe on the page that would essentially make each request equal 2, but that is not the case.  Is someone familiar with when the view count gets incremented?  &lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-04-25T14:21:38.097" Title="Experience Analytics, Each Single Page View Counting as Two" Tags="|experience-analytics|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5488" PostTypeId="1" CreationDate="2017-04-25T17:50:56.350" Score="0" ViewCount="1754" Body="&lt;p&gt;I have a factory of sorts that gets the proper instance of an object at runtime.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public AbstractPrompt GetPrompt(object prompt, EducationAwardsModel model)&#xA;        {&#xA;            var apiType = prompt.GetType();&#xA;&#xA;            var type = Type.GetType(&quot;TI.Web.Models.Education.AwardPrompts.&quot; + apiType.Name)&#xA;                ?? Type.GetType(&quot;TI.Web.Models.Education.AwardPrompts.LegacyAwardPrompts.&quot; + apiType.Name)&#xA;                ?? apiType;&#xA;&#xA;            return Activator.CreateInstance(type, prompt, model) as AbstractPrompt;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'd like to turn those models into glass mapper models with Sitecore fields on them. Is it possible to do that after the instance has been created? Something like educationAwards.GlassCast(myInstance)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The alternative I've come up with is to package each model with a SitecoreFieldCollection class and then each model will have a property of that class which is then glasscast in the constructor. Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Folder Structure: Models &gt; Education &gt; AwardPrompts &gt; LegacyAwardPrompts &gt; RedundantAwardPrompt &gt; RedundantAwardPrompt.cs // SitecoreFieldCollection.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RedundantAwardPrompt : AbstractPrompt&#xA;    {&#xA;        public RedundantAwardPrompt() {&#xA;              Fields = item.GlassCast&amp;lt;SitecoreFieldCollection&amp;gt;();&#xA;        }&#xA;&#xA;        public RedundantAwardPrompt(object prompt, EducationAwardsModel model)&#xA;        {&#xA;            RedundantAwards = ((EducationGateway.RedundantAwardPrompt)prompt).RedundantAwards;&#xA;&#xA;            using (var g = GatewayManager.Provider.Create&amp;lt;ClubDataGatewayClient&amp;gt;())&#xA;            {&#xA;                ClubNames = g.GetClubByClubId(AuthorizationUtility.ApplicationKey,&#xA;                    RedundantAwards.Select(c =&amp;gt; c.ClubAwarded).Distinct().ToArray())&#xA;                    .ToDictionary(x =&amp;gt; x.Id, x =&amp;gt; x.Name);&#xA;            }&#xA;        }&#xA;&#xA;        public IEnumerable&amp;lt;LegacyEducationProgramAward&amp;gt; RedundantAwards { get; set; }&#xA;&#xA;        public IDictionary&amp;lt;ClubID, string&amp;gt; ClubNames { get; set; }&#xA;&#xA;        public SitecoreFieldCollection Fields { get; set; } &#xA;&#xA;        public override IEnumerable&amp;lt;object&amp;gt; GetResponse()&#xA;        {&#xA;            return new[] { new RedundantAwardPromptResponse() };&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I would do that for each prompt, but that seems redundant.&lt;/p&gt;&#xA;" OwnerUserId="1845" LastActivityDate="2017-05-27T09:08:50.437" Title="How to GlassCast to an item type at runtime?" Tags="|glass-mapper|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5489" PostTypeId="1" AcceptedAnswerId="5497" CreationDate="2017-04-25T18:03:13.750" Score="1" ViewCount="1426" Body="&lt;p&gt;I have a class where I have a set of objects such as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreQuery(&quot;./*[@@templateid='&quot; + MyItem.TemplateId + &quot;']&quot;, IsRelative = true, IsLazy = false)]&#xA;public virtual IEnumerable&amp;lt;MyItem&amp;gt; MyItems { get; set; } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now I would like to add a new object which would be mapped to a specific item ID, rather than a template. I've therefore tried adding:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreQuery(&quot;//*[@@id='{&quot; + MySpecificItem.RootId + &quot;}']&quot;, IsRelative = false, IsLazy = false)]&#xA;public virtual MySpecificItem MyItem { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However Glass Mapper seems to return a null object when I run the code. I could map the object using &lt;em&gt;Sitecore.Context.Database.GetItem&lt;/em&gt; within the constructor, however I'd prefer to use the attributes for consistency.&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-04-26T07:46:42.503" Title="How to map an object to a specific item ID using Glass Mapper attributes?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5490" PostTypeId="2" ParentId="5486" CreationDate="2017-04-25T18:46:45.387" Score="1" Body="&lt;p&gt;It doesn’t seem there is a way to do that via configuration.&lt;/p&gt;&#xA;&lt;p&gt;To disable access to shared presentation based on a security role, you can try customizing &lt;code&gt;Sitecore.Shell.Applications.Layouts.PageDesigner.Commands.Reset&lt;/code&gt; and &lt;code&gt;Sitecore.Shell.Applications.ContentManager.Dialogs.LayoutDetails.LayoutDetailsForm&lt;/code&gt; logic.&lt;/p&gt;&#xA;&lt;p&gt;To replace the Reset command, you’ll need to patch the &lt;code&gt;pagedesigner:reset&lt;/code&gt; command via the include config file.&lt;/p&gt;&#xA;&lt;p&gt;To replace &lt;code&gt;LayoutDetailsForm&lt;/code&gt;, you’ll need&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Copy &lt;code&gt;\Website\sitecore\shell\Applications\Content Manager\Dialogs\LayoutDetails\LayoutDetails.xml&lt;/code&gt; file&lt;/li&gt;&#xA;&lt;li&gt;Put it into &lt;code&gt;Website\sitecore\shell\Override&lt;/code&gt; folder&lt;/li&gt;&#xA;&lt;li&gt;In copied file replace the &lt;code&gt;CodeBeside&lt;/code&gt; type with a custom type&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1598" LastEditorUserId="6495" LastEditDate="2023-05-08T07:53:42.653" LastActivityDate="2023-05-08T07:53:42.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5491" PostTypeId="1" AcceptedAnswerId="5949" CreationDate="2017-04-25T20:02:58.207" Score="4" ViewCount="1778" Body="&lt;p&gt;I would like to add an option to change class on an image that is inserted into the RTE of the content item. In particularly I would like to add bootstrap class &quot;img-responsive&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So what i have done:&lt;/strong&gt;&#xA;&lt;br&gt;Added bootstrap.css to the directory&#xA;&lt;br&gt;Changed Sitecore.config to point to the bootstrap.css&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;WebStylesheet&quot; value=&quot;/sitecore/shell/Controls/Rich Text Editor/bootstrap.css&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br&gt;&#xA;Edited Website\sitecore\shell\Controls\Rich Text Editor\ToolsFile.xml&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;classes&amp;gt;&#xA;    &amp;lt;class name=&quot;Bootstrap Img Responsive&quot; value=&quot;.img-responsive&quot;/&amp;gt;    &#xA;&amp;lt;/classes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Nothing shows up in the RTE. What have I missed?&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="73" LastEditDate="2017-05-01T10:43:23.350" LastActivityDate="2019-11-13T13:13:31.257" Title="How to add a class img-responsive to RTE in Sitecore 8.x" Tags="|richtext-editor|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5492" PostTypeId="1" AcceptedAnswerId="5494" CreationDate="2017-04-25T22:17:19.403" Score="0" ViewCount="98" Body="&lt;p&gt;I'm working on practicing some good solid DevOps/Agile methodologies, and so one of the things that I'm working on is testing some custom reporting logic that I've written. Here's the scenario that I'm trying to test:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to the home page (this triggers a page event that I'm looking to track)&lt;/li&gt;&#xA;&lt;li&gt;Navigate to another page that does not trigger this page event.&lt;/li&gt;&#xA;&lt;li&gt;Wait for an agent to run (it runs every 30 seconds) to process the page event count.&lt;/li&gt;&#xA;&lt;li&gt;Run an API call to verify that my page event count logic is working.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So, doing this manually, I am able to do each of these steps without issue. However, I really want to automated this because it is error prone, takes time (and concentration) to run, and when my manager comes back and asks if I tested this scenario, I can tell them &quot;Yes, we've been testing that every time that we commit code changes&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what I've tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Visual Studio&lt;/strong&gt;: I've written a call to the website (using WebRequest), but I never get any Contact/Interaction information written to the Mongo DB.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;LoadCompletePro&lt;/strong&gt;: I've used this tool to simulate someone clicking around on the website, but again, I don't get any Contact or Interaction information written to the Mongo DB.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Selenium&lt;/strong&gt;: I ran our Smoke Test on my local computer, which simulates about 20 minutes of solid traffic to the website, but again, I don't get any Contact or Interaction information written to the Mongo DB. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So at this point, I'm stuck at step #2, as I can't seem to get the data recorded to run my custom queries against. I believe that once I get past this hurdle, I can have the code wait for a certain amount of time to give Sitecore a chance to write the data to Mongo, and then for my agent to process the new data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone been able to get any automated tools to trigger Sitecore's Analytics? If so, what did you do to make that happen?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm currently running on Sitecore 8.1 (original release).&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-04-26T05:34:04.217" Title="How do you get analytics when you use automated tools?" Tags="|xdb|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5493" PostTypeId="1" CreationDate="2017-04-26T02:08:12.230" Score="1" ViewCount="302" Body="&lt;p&gt;I need to extend the interactions object so I can add some custom data for the user's interactions. The data isn't page related, so I can't use a page event. And its in the tracker initialized pipeline, so I don't even have a page yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't find much information on extending the interactions object. I imagined it is similar to extended the contact object, but none of the interaction properties (browser version, geoip, region, etc...) are in configs. All there are is the fields on the analytics index. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-30T08:23:43.640" Title="Extend the interactions xDB object" Tags="|xdb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5494" PostTypeId="2" ParentId="5492" CreationDate="2017-04-26T05:34:04.217" Score="2" Body="&lt;p&gt;We run VS Load Tests against Sitecore and get results consistently.For some tests, we force session close, to make writing tests easier, so that we don't have to wait for 20 mins to session to close and the data to get written to Mongo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One obvious thing that can cause Sitecore to skips analytics is robots detection. I.e. if sitecore thinks the page is from a robot/crawler, it doesn't get included.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/robot_detection/visitor_identification_using_robot_detection&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/robot_detection/visitor_identification_using_robot_detection&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So try disabling Robot detection or including mouse movement into the tests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, make sure that your User Agent or IP is not in the excluded list:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/robot_detection/robot_detection&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/robot_detection/robot_detection&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-04-26T05:34:04.217" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5495" PostTypeId="2" ParentId="4560" CreationDate="2017-04-26T05:34:08.787" Score="2" Body="&lt;p&gt;Sitecore have registered the behavior as a bug for Sitecore 8.2.1 version.Use public reference number 158997 to track the future status of this bug report.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please apply the following patch in order to overcome the issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Place the attached Sitecore.Support.158997.dll assembly to the bin folder of your solution. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have uploaded this dll on onedrive. Please use this &lt;strong&gt;&lt;a href=&quot;https://1drv.ms/f/s!AlklfAV2EyrBprpKonU5qCQwgRe7aQ&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;&lt;/strong&gt; to access the same&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Open ...App_Config/Includes/Social/Sitecore.Social.Facebook.config file and replace the following row: &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;provider type=&quot;Sitecore.Social.Facebook.Networks.Providers.FacebookProvider, Sitecore.Social.Facebook&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;with the following one:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;provider type=&quot;Sitecore.Support.Social.Facebook.Networks.Providers.FacebookProvider, Sitecore.Support.158997&quot;/&lt;/code&gt;&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-08-01T02:39:55.090" LastActivityDate="2017-08-01T02:39:55.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5496" PostTypeId="2" ParentId="5488" CreationDate="2017-04-26T05:36:46.473" Score="2" Body="&lt;p&gt;I am not 100% sure what you are trying to achieve but if you want to map a model after it has been instantiated then you can use the Map method:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/SitecoreService.cs#L1511&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/SitecoreService.cs#L1511&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was originally designed for working with Sitecore search. Your model will need ID and Language  properties that already have values so that Glass can work out which item to map onto your model.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-04-26T05:36:46.473" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5497" PostTypeId="2" ParentId="5489" CreationDate="2017-04-26T07:46:42.503" Score="1" Body="&lt;p&gt;Can you try this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreNode(Id = MySpecificItem.RootId)]&#xA;public virtual MySpecificItem MyItem { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It sounds good regarding to the &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/8f4506a14b7c1cd3f9179ed6459741c73fa7ea1a/Source/Glass.Mapper.Sc/Configuration/Attributes/SitecoreNodeAttribute.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;source code&lt;/a&gt; of Glass.Mapper.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-04-26T07:46:42.503" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5500" PostTypeId="2" ParentId="4274" CreationDate="2017-04-26T10:48:53.163" Score="4" Body="&lt;p&gt;I had the same problem before. After adding the below lines to GlassMapperScCustom class, the InferType attribute works.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static IConfigurationLoader[] GlassLoaders()&#xA;{&#xA;    var attributes = new AttributeConfigurationLoader(&quot;your assembly name where the models locate&quot;);&#xA;&#xA;    return new IConfigurationLoader[] { attributes };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1058" LastActivityDate="2017-04-26T10:48:53.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5501" PostTypeId="1" AcceptedAnswerId="6440" CreationDate="2017-04-26T12:00:21.557" Score="0" ViewCount="388" Body="&lt;p&gt;I have a several fields that are of type &quot;Drop list&quot;. The fields are added to the body of the &quot;Send Email Editor&quot; email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 7.5, the email body was getting the displayed text on the drop list. Now that we upgraded to Sitecore 8.1, the email body is getting the hidden value of the drop list. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need the displayed text, not the hidden value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if this is relevant, but the drop list is being populated with metadata. In terms of the metadata, the value I want displayed in the email body is the Title. But, the value is being displayed instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that the values are coded and not useful to the people getting the emails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version - 8.1 rev. 160519 (Update-3)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM Version - 8.1 rev. 160523&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Send Email Editor:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eJvD0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eJvD0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;HTML From Email Editor:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;Province China: [&amp;lt;label id=&quot;{A7421C76-8AAF-4782-865B-42868AF7AA48}&quot;&amp;gt;Province_China&amp;lt;/label&amp;gt;]&amp;lt;br /&amp;gt;&#xA;&amp;lt;em&amp;gt;default: Anhui&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Metadata:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iLtmx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iLtmx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Email Body (Should say Anhui, not 110):&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2SW9K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2SW9K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We noticed that the List on the Form Designer has lost its Items during the upgrade. If we re-enter the Items in the Form Designer it works correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Form Designer - List in 7.5:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h7Dxg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h7Dxg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Form Designer - List in 8.1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/87O3l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/87O3l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastEditorUserId="404" LastEditDate="2017-04-26T12:34:14.590" LastActivityDate="2017-07-03T20:05:16.467" Title="WFFM - Email Body Inserted Value from Drop list Should be the Display Text, Not the Hidden Value" Tags="|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5502" PostTypeId="1" CreationDate="2017-04-26T12:10:15.013" Score="1" ViewCount="157" Body="&lt;p&gt;I'm trying to insert a WFFM form via content editor (Presentation &gt; Insert Form) in a page. Instead of showing the list of placeholders, it shows the page. When I add via experience editor it is fine. Using sc8.0 u5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mPKzN.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mPKzN.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;br&gt;&#xA;I see this error.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; 8512 20:07:08 ERROR Model has not been found Exception:&#xA;&amp;gt; System.ArgumentNullException Message: Value cannot be null. Parameter&#xA;&amp;gt; name: type Source: Sitecore.Kernel    at&#xA;&amp;gt; Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String&#xA;&amp;gt; argumentName)    at&#xA;&amp;gt; Sitecore.Forms.Mvc.Models.SectionModel.GetFieldModel(String&#xA;&amp;gt; typestring, Item item)    at&#xA;&amp;gt; System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()    at&#xA;&amp;gt; System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()    at&#xA;&amp;gt; System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)   &#xA;&amp;gt; at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)    at&#xA;&amp;gt; Sitecore.Forms.Mvc.Models.SectionModel.Initialize(IEnumerable`1&#xA;&amp;gt; fields)    at&#xA;&amp;gt; Sitecore.Forms.Mvc.Models.FormModel.&amp;lt;Initialize&amp;gt;b__0(Item x)    at&#xA;&amp;gt; System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()    at&#xA;&amp;gt; System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()    at&#xA;&amp;gt; System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)   &#xA;&amp;gt; at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)    at&#xA;&amp;gt; Sitecore.Forms.Mvc.Models.FormModel.Initialize()    at&#xA;&amp;gt; Sitecore.Forms.Mvc.Data.ModelFactory.GetModel(Item formItem)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="2727" LastEditDate="2018-10-28T06:57:12.670" LastActivityDate="2018-10-28T06:57:12.670" Title="Model has not been found Exception while adding WFFM form in Content Editor" Tags="|wffm|content-editor|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="5503" PostTypeId="1" CreationDate="2017-04-26T13:28:48.457" Score="2" ViewCount="522" Body="&lt;p&gt;I am using Sitecore version : Sitecore.NET 7.2 (rev. 140526) and &#xA;Web form version 2.4.0 rev. 140117.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the time of installing &lt;em&gt;Web Forms for Marketers&lt;/em&gt; I am getting below error :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;An item name cannot contain any of the following characters:&#xA;  /:?&quot;&amp;lt;&gt;|[]-&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have removed the value for the InvalidItemNameChars setting but still I am getting the same error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InvalidItemNameChars&quot; value=&quot;&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="237" LastEditDate="2019-02-25T16:01:55.753" LastActivityDate="2019-02-25T16:01:55.753" Title="Sitecore WFFM installation error :- An item name cannot contain any of the following characters" Tags="|wffm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="5504" PostTypeId="1" AcceptedAnswerId="5544" CreationDate="2017-04-26T14:10:39.870" Score="1" ViewCount="143" Body="&lt;p&gt;I have a number of EXM Automated Email Campaigns which include links to Sitecore items that are protected by one or more Sitecore roles. It seems that when the emails are sent, all of the links are resolved to empty strings, instead of links to the correct sitecore items (which then requires login).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I insert links to unsecured pages, the links works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way of disabling this security check when the emails are generated?&lt;/p&gt;&#xA;" OwnerUserId="758" LastEditorUserId="73" LastEditDate="2017-04-28T18:45:15.970" LastActivityDate="2017-04-28T19:07:57.837" Title="Link to secured page is empty in emails" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5505" PostTypeId="2" ParentId="5503" CreationDate="2017-04-26T14:59:13.363" Score="2" Body="&lt;p&gt;You need to disable &lt;code&gt;ItemNameValidation&lt;/code&gt;. Add a config file to &lt;code&gt;App_Config/Include&lt;/code&gt; named &lt;code&gt;z.DisableItemNameValidation.config&lt;/code&gt; and put this in it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;ItemNameValidation&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-04-26T14:59:13.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5506" PostTypeId="2" ParentId="4407" CreationDate="2017-04-26T15:56:54.277" Score="1" Body="&lt;p&gt;The answer will be partly informed by why you're switching to Solr. If you have a low-trafficked, smaller site and need to take advantage of Solr's language parsing capabilities, for example, you can get away with running it alongside your Sitecore application on the same server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that Solr can be a memory hog. If you're opting to run it alongside you're Sitecore application on the same server, you want to take steps to constrain its memory usage. This is a complex topic, but this page will get you started: &lt;a href=&quot;https://cwiki.apache.org/confluence/display/solr/JVM+Settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cwiki.apache.org/confluence/display/solr/JVM+Settings&lt;/a&gt; As a rule of thumb, give Solr enough RAM to keep the entire index in memory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're switching to Solr because you need to scale your application, Solr needs its own dedicated hardware. A single server will work fine for most mid-level Sitecore applications. Solr Cloud should be considered when your indexes are very large and require sharding or when high-availability of search is a requirement.&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2017-04-26T15:56:54.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5507" PostTypeId="2" ParentId="4031" CreationDate="2017-04-26T16:03:09.010" Score="2" Body="&lt;p&gt;I think since you have a DI configured that will be resetting any routes registered after you've added them so you need to do this afterwards in the initialize Pipeline like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create a pipeline to register your route:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterMySampleRoute&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapHttpRoute(&quot;my_sample_route&quot;, &#xA;            &quot;mysample/api/{controller}/{action}&quot;, &#xA;            new {controller = &quot;SampleController&quot;}&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Then patch it in like so:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&quot;MyNamespace.Pipelines.RegisterMySampleRoute, MyNamespace&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should do it.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-04-26T16:03:09.010" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5509" PostTypeId="1" AcceptedAnswerId="5522" CreationDate="2017-04-26T16:50:58.917" Score="8" ViewCount="635" Body="&lt;p&gt;I'm seeing a weird inconsistent problem that causes the Publishing Service to fail (we're on 2.0.0). Roughly once per day, usually in the morning, the Publish Jobs start failing. Doing an iisreset fixes the problem for a while, but that won't be acceptable on our Production environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've seen this on our local dev computers, our dev server, and our production server. All of them have the Sitecore Publishing site running on the same machine as the Sitecore CM. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's inconsistent, of course today I haven't been able to reproduce it locally so I don't have any screenshots, I'll post more information next time I see it happen. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best lead I have is something I'm seeing in the logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-04-25 10:22:39.961 -04:00 [Fatal] Instance Activation strategy &quot;MultiInstanceActivationStrategy&quot; on &quot;af7a5a55-de82-45a3-abad-4e196ca74604&quot; failed to communicate with the ActivationLockRepository.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Guid is different for the different environments, but it does not seem to be the id of an item in Sitecore master or core. I guess I can't be entirely sure that this message is related to our problem, but it seems very likely. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the full log message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-04-25 10:22:39.961 -04:00 [Fatal] Instance Activation strategy &quot;MultiInstanceActivationStrategy&quot; on &quot;af7a5a55-de82-45a3-abad-4e196ca74604&quot; failed to communicate with the ActivationLockRepository.&#xA;System.AggregateException: One or more errors occurred. ---&amp;gt; System.AggregateException: One or more errors occurred. ---&amp;gt; System.InvalidOperationException: Invalid operation. The connection is closed.&#xA;   at System.Data.SqlClient.SqlConnection.GetOpenConnection()&#xA;   at System.Data.SqlClient.SqlConnection.BeginTransaction(IsolationLevel iso, String transactionName)&#xA;   at System.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel)&#xA;   at Sitecore.Framework.Publishing.Service.Sql.InstanceActivation.ActivationLockProvider.&amp;lt;&amp;gt;c__DisplayClass0_0.&amp;lt;&amp;lt;TryObtainLock&amp;gt;b__0&amp;gt;d.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Service.Sql\InstanceActivation\ActivationLockProvider.cs:line 17&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.AdoNet.NoRetryConnectionBehaviour.&amp;lt;ExecuteAsync&amp;gt;d__10`1.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\AdoNet\NoRetryConnectionBehaviour.cs:line 50&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.AdoNet.DatabaseConnection`1.&amp;lt;ExecuteAsync&amp;gt;d__27`1.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\AdoNet\DatabaseConnection.cs:line 106&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.Framework.Publishing.Service.Sql.InstanceActivation.ActivationLockProvider.&amp;lt;&amp;gt;c.&amp;lt;TryObtainLock&amp;gt;b__0_1(Task`1 x) in C:\builds\1\s\src\Sitecore.Framework.Publishing.Service.Sql\InstanceActivation\ActivationLockProvider.cs:line 40&#xA;   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()&#xA;   at System.Threading.Tasks.Task.Execute()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Service.Sql.InstanceActivation.ActivationLockProvider.&amp;lt;TryObtainLock&amp;gt;d__0.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Service.Sql\InstanceActivation\ActivationLockProvider.cs:line 15&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.InstanceActivation.ActivationLockRepository.&amp;lt;TryObtainLock&amp;gt;d__3.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing\InstanceActivation\ActivationLockRepository.cs:line 28&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.Framework.Publishing.InstanceActivation.MultiInstanceActivationStrategy.ObtainActivationLock(IActivationLockRepository repo) in C:\builds\1\s\src\Sitecore.Framework.Publishing\InstanceActivation\MultiInstanceActivationStrategy.cs:line 121&#xA;---&amp;gt; (Inner Exception #0) System.AggregateException: One or more errors occurred. ---&amp;gt; System.InvalidOperationException: Invalid operation. The connection is closed.&#xA;   at System.Data.SqlClient.SqlConnection.GetOpenConnection()&#xA;   at System.Data.SqlClient.SqlConnection.BeginTransaction(IsolationLevel iso, String transactionName)&#xA;   at System.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel)&#xA;   at Sitecore.Framework.Publishing.Service.Sql.InstanceActivation.ActivationLockProvider.&amp;lt;&amp;gt;c__DisplayClass0_0.&amp;lt;&amp;lt;TryObtainLock&amp;gt;b__0&amp;gt;d.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Service.Sql\InstanceActivation\ActivationLockProvider.cs:line 17&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.AdoNet.NoRetryConnectionBehaviour.&amp;lt;ExecuteAsync&amp;gt;d__10`1.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\AdoNet\NoRetryConnectionBehaviour.cs:line 50&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.AdoNet.DatabaseConnection`1.&amp;lt;ExecuteAsync&amp;gt;d__27`1.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\AdoNet\DatabaseConnection.cs:line 106&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.Framework.Publishing.Service.Sql.InstanceActivation.ActivationLockProvider.&amp;lt;&amp;gt;c.&amp;lt;TryObtainLock&amp;gt;b__0_1(Task`1 x) in C:\builds\1\s\src\Sitecore.Framework.Publishing.Service.Sql\InstanceActivation\ActivationLockProvider.cs:line 40&#xA;   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()&#xA;   at System.Threading.Tasks.Task.Execute()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Service.Sql.InstanceActivation.ActivationLockProvider.&amp;lt;TryObtainLock&amp;gt;d__0.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Service.Sql\InstanceActivation\ActivationLockProvider.cs:line 15&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.InstanceActivation.ActivationLockRepository.&amp;lt;TryObtainLock&amp;gt;d__3.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing\InstanceActivation\ActivationLockRepository.cs:line 28&#xA;---&amp;gt; (Inner Exception #0) System.InvalidOperationException: Invalid operation. The connection is closed.&#xA;   at System.Data.SqlClient.SqlConnection.GetOpenConnection()&#xA;   at System.Data.SqlClient.SqlConnection.BeginTransaction(IsolationLevel iso, String transactionName)&#xA;   at System.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel)&#xA;   at Sitecore.Framework.Publishing.Service.Sql.InstanceActivation.ActivationLockProvider.&amp;lt;&amp;gt;c__DisplayClass0_0.&amp;lt;&amp;lt;TryObtainLock&amp;gt;b__0&amp;gt;d.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Service.Sql\InstanceActivation\ActivationLockProvider.cs:line 17&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.AdoNet.NoRetryConnectionBehaviour.&amp;lt;ExecuteAsync&amp;gt;d__10`1.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\AdoNet\NoRetryConnectionBehaviour.cs:line 50&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.AdoNet.DatabaseConnection`1.&amp;lt;ExecuteAsync&amp;gt;d__27`1.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\AdoNet\DatabaseConnection.cs:line 106&amp;lt;---&#xA;&amp;lt;---&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1746" LastActivityDate="2017-06-14T10:45:27.880" Title="Sitecore Publishing Service &quot;MultiInstanceActivationStrategy&quot; causing publishing failure" Tags="|publishing-service|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5510" PostTypeId="2" ParentId="5223" CreationDate="2017-04-26T19:45:54.083" Score="4" Body="&lt;p&gt;Another thing to consider- and this could potentially count for a good deal of page views is how Sitecore's algorithm automatically detects bots.  A page view is considered a bot if:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No mouse movement is observed&lt;/li&gt;&#xA;&lt;li&gt;No touch movement is observed (for mobile)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is achieved by the &lt;code&gt;visitorIdentification&lt;/code&gt; control.  This ultimately calls &lt;code&gt;~/layouts/system/VisitorIdentification.js&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you review this JavaScript file, you will see that on &lt;code&gt;mousemove&lt;/code&gt; or &lt;code&gt;touchstart&lt;/code&gt;, a css page is requested: &lt;code&gt;~/layouts/system/VisitorIdentificationCss.aspx&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When this page is requested, the user is classified as a human.  Therefore to put it concisely, &lt;strong&gt;you are not a robot if you move your mouse or touch your screen.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, we can imagine a scenario where users click to visit a site, but then do not interact with it- perhaps opening a background tab, then closing their browser.  There is also the possibility of keyboard-only users, especially those that rely on screen-readers.  These users will be seen as bots based on Sitecore's automatic bot detection.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This setting can be disabled. However, then the only method of determining bots is via the &lt;code&gt;Sitecore.Analytics.ExcludeRobots.config&lt;/code&gt;, which allows you to classify bots by user agent strings or IP adresses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All and all, this may not account for 26% of traffic missing, but has to account for some of it.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-04-26T19:45:54.083" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5513" PostTypeId="2" ParentId="5345" CreationDate="2017-04-26T21:23:11.290" Score="2" Body="&lt;p&gt;This problem was related to the site definition configuration. Our site mistakenly had multiple pipe-separated hostnames in the &lt;code&gt;targetHostName&lt;/code&gt; property (it should have just one hostName value). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this out by decompiling the SXA assembly &lt;code&gt;Sitecore.XA.Foundation.Multisite.dll&lt;/code&gt; and creating a copy of the class &lt;code&gt;Sitecore.XA.Foundation.Multisite.LinkManagers.LocalizableLinkProvider&lt;/code&gt; with some additional exception handling and logging code.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-04-26T21:23:11.290" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5514" PostTypeId="2" ParentId="5455" CreationDate="2017-04-26T21:31:17.280" Score="5" Body="&lt;p&gt;The issue turned out to be due to a custom 404 error handler (&lt;a href=&quot;https://sitecore.stackexchange.com/users/14/sitecore-climber&quot;&gt;Sitecore Climber&lt;/a&gt; was on the right track when he mentioned about the IIS rewrite module - &lt;strong&gt;redirects can mess up WFFM!&lt;/strong&gt;). It was intercepting requests (with a &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline handler) and returning the 404 page content. The solution was to change the 404 handler to ignore requests where the URL started with &lt;code&gt;/form&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: if you create a 404 handler, make sure it can ignore certain paths where a sitecore item is not resolved, otherwise you will break lots of things in Sitecore!&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-04-26T21:31:17.280" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5515" PostTypeId="1" CreationDate="2017-04-27T02:20:26.350" Score="1" ViewCount="1567" Body="&lt;p&gt;I got a scenario where solr connections are working fine in Sitecore CMS where it is giving some issue in Content Delivery. We have defensive code in place where we check if sitecore content indexing search returns null we get it from CMS. Now Is there a way in configuration where we can just set search enabled =false or something which can stop referring to solr server. &lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="95" LastEditDate="2017-04-27T03:23:01.810" LastActivityDate="2017-05-28T15:43:43.443" Title="How to disable solr in the sitecore content delivery environment?" Tags="|solr|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5517" PostTypeId="2" ParentId="5515" CreationDate="2017-04-27T04:03:19.843" Score="1" Body="&lt;p&gt;I don't know of any way to turn off search that has already been configured through the proper configs. You could just do something like this in your search queries and turn them on and off in Sitecore or an settings config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext())&#xA;{&#xA;     var searchOn = true; // pull this from Sitecore or Setting&#xA;&#xA;     var query = context.GetQueryable&amp;lt;SearchResultItemBase&amp;gt;()&#xA;                .Where(item =&amp;gt; item.Path.StartsWith(startPath)&#xA;                               &amp;amp;&amp;amp; true == searchOn);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-04-27T04:03:19.843" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5518" PostTypeId="2" ParentId="4601" CreationDate="2017-04-27T04:55:59.517" Score="3" Body="&lt;p&gt;Your list though simple, goes several different directions. Lets cover this at a high level and maybe ask questions for each one to get a more detailed answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore xDB is configurable and extendable. Its what makes it so powerful. You can accomplish all of this using xDB and a little bit of code.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Create a list of the most liked videos in ranked order.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can think of this the same way you think of how Sitecore keeps track of search terms people have entered. Page Events are your best friend in this case. Create a new page event for Video's watched an fire that event from code. Maybe even client side via an API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/events/register_a_page_event_programmatically&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/events/register_a_page_event_programmatically&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You call up the videos watched page event and put the video on the data of the event.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var interaction = Tracker.Current.Session.Interaction;&#xA;&#xA;var pageEventData = new PageEventData(name, definitionId)&#xA;{&#xA;    ItemId = itemId,&#xA;    Data = [Video ID, or Name, or Url],&#xA;    Text = text&#xA;};&#xA;&#xA;interaction.CurrentPage.Register(pageEventData);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you will want to add the report of your top videos to experience analytics. This will require creating a dimension from your page event and create a new report using Speak in the experience analytics. This a great how to, to get you started on creating the dimension and the custom report by copying an existing one. &lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/127&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/9/t/127&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Be able to identify trends (e.g. current user likes certain tags).&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This would be the same as above. Just a different page event for the video tag. You could then see, in the last 7 days certain tags have been more popular than others.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Be able to profile users by videos they liked (e.g. they liked these 5 videos so we can predict they'll like these ones).&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is will be handled by profile and patterns cards in Analytics. You will want to make a new profile card for your video and add profiles for each tag you want to offer. Then you will want to make pattern cards for how you want organize your video users. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And example of this would be to create profiles for cars, computers, watercraft and hot air balloon. Then create pattern cards for cars, water, inside and outside. Notice that its not one to one with your profiles. It could be anything you like. Then score the pattern cards to place users in the appropriate patter. And example is that Cars pattern would be a 5 for cars, 0 watercraft, 0 inside, and 2 outside.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the user gets votes on 3 or more (it's Sitecore setting) video, the video that vote on will trigger them to be put into a pattern card there profile scores line up with. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wrote a good answer (my opinion :) ) in this answer how profiles work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/799/behavioral-personalization/2221#2221&quot;&gt;Behavioral personalization?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you have scored your user, you can then personalize their experience by offering them videos based on the pattern they are in. If they are in the outside pattern, you offer video that are tagged as cars and watercraft. You can certainly tailor your profiles and patterns to get you the spread you need.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Keep a history of videos a user has seen so future suggestions aren't repeated.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is going to be a custom facet on the user's xDB profile. You are going to want to create a custom IElementDictionary facet and for each video the user watches, put a new record in the user xDB profile. When you are showing the user a list of videos, query their tracker profile for their past videos. You can then mark them as &quot;watched&quot; or just hide them. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var data = Tracker.Current.Contact.GetFacet&amp;lt;IVideos&amp;gt;(&quot;Videos&quot;);&#xA;data.videoId = Id;&#xA;data.Tag = Tag;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I wrote an article of how to set up a IElementDictionary facet in this article. &lt;a href=&quot;http://www.waitingimpatiently.com/multi-node-xdb-facet/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.waitingimpatiently.com/multi-node-xdb-facet/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Jonathan Robbins has a good article here that can get you started.&lt;a href=&quot;https://jonathanrobbins.co.uk/2015/12/08/how-to-extend-sitecore-experience-database/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2015/12/08/how-to-extend-sitecore-experience-database/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-04-27T04:55:59.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5519" PostTypeId="2" ParentId="5488" CreationDate="2017-04-27T08:33:42.597" Score="0" Body="&lt;p&gt;You could potentially use the CreateType(Type type) overload, this would allow you to do Type.FromName(string typeName) to allow you to map at runtime&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/ISitecoreService.cs#L102&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/ISitecoreService.cs#L102&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1832" LastActivityDate="2017-04-27T08:33:42.597" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5520" PostTypeId="2" ParentId="5503" CreationDate="2017-04-27T09:15:48.233" Score="2" Body="&lt;p&gt;The reason for the error is your &lt;code&gt;ItemNameValidation&lt;/code&gt; setting includes a &lt;code&gt;-&lt;/code&gt; (dash). The default OOTB setting does not include this value in this setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The WFFM package contains one or more items which include a dash in the item name. Most likely your project has overwritten the default &lt;code&gt;ItemNameValidation&lt;/code&gt; hence the reason you are getting this error when trying to install the package. The changes are possibly as part of solution along with &lt;code&gt;encodeNameReplacements&lt;/code&gt; replacing spaces with dashes for SEO friendly URLs and I've &lt;a href=&quot;https://jammykam.wordpress.com/2015/07/13/seo-friendly-urls-in-sitecore-prevention-is-better-than-cure/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blogged about this issue previously&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution is either:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install the WFFM package on a clean Sitecore instance before deploying any of your solution specific customisations or,&lt;/li&gt;&#xA;&lt;li&gt;Revert the &lt;code&gt;ItemNameValidation&lt;/code&gt; back to it's default value of &lt;code&gt;/:?&quot;&amp;lt;&amp;gt;|[]&lt;/code&gt; whilst you install the package using either a patch config or removing your custom config/setting.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-04-27T09:15:48.233" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5521" PostTypeId="1" CreationDate="2017-04-27T10:53:43.650" Score="3" ViewCount="383" Body="&lt;p&gt;Sitecore 8.2 Update 1, hosted in Azure web apps. Noticed that, every first request is very slow to load. After 2nd request, the site loads pretty quick.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use Glass Mapper map Sitecore templates on to strongly type in our solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some examples on, how we retrieve item and items includes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;To get single item&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var myModel = _contentService.GetEntity&amp;lt;myModel&amp;gt;(renderingContextItem.ToString());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;To get sub items&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;_contentService.GetEntity&amp;lt;IMenuItem&amp;gt;(navigationRootItemId)&#xA;&#xA;[SitecoreChildren(IsLazy = true)]&#xA;public virtual IEnumerable&amp;lt;IMenuItem&amp;gt; SubItems { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Ants profiler shows that Glass Mapper &lt;code&gt;GetModel&lt;/code&gt; as HOT path below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/jNynJ.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jNynJ.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would be get your thoughts on above implementation and why ANTS profiling is complaining about Glass Mapper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the code snippet :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public partial class MenuItemEntity&#xA; {&#xA;       /// &amp;lt;summary&amp;gt;&#xA;       /// Gets or sets the sub items for a menu item.&#xA;       /// &amp;lt;/summary&amp;gt;&#xA;       [SitecoreChildren(IsLazy = true)]&#xA;       public virtual IEnumerable&amp;lt;IMenuItem&amp;gt; SubItems { get; set; }&#xA; }&#xA;&#xA;&#xA; public TModel GetEntity&amp;lt;TModel&amp;gt;(string identity) where TModel : class&#xA; {&#xA;      return _context.GetItem&amp;lt;TModel&amp;gt;(identity);&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="316" LastEditorUserId="2727" LastEditDate="2018-02-07T14:10:34.070" LastActivityDate="2018-02-07T14:10:34.070" Title="Ants Profiler shows slow performance on Glass Mapper calls" Tags="|glass-mapper|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="5522" PostTypeId="2" ParentId="5509" CreationDate="2017-04-27T11:28:13.013" Score="3" Body="&lt;p&gt;&lt;strong&gt;Edit 14/6/17:  This has indeed been fixed in v2.0 Update 1 (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Publishing%20Service/20/Sitecore%20Publishing%20Service%2020%20Update1/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes&lt;/a&gt;)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error message you are seeing is indeed the cause of the Publish Service ceasing to function.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, the Service is configured to always assume it's running in a multi-instance setup.  On a repeating interval, it will try to obtain an 'activation lock', i.e. it will try and nominate itself as the leader instance.  If it fails (i.e. there is already another leader or the DB is down), then the service will become dormant.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In fact, you are encountering an unforeseen scenario (which we have never seen before), hence the exception propagation - something is causing the underlying connection to be closed during the lifetime of this activation algorithm.  The algorithm should be tolerant of this - it's a bug that we will aim to include in the next release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now, if you are only running the Publishing Service in a single instance setup, you can switch to the simpler 'single instance activation strategy' that is shipped with the service, but is not enabled by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following Service configuration will set the activation strategy to the Single instance implementation.  This will always set the Service to be the leader, and doesn't require any DB communication.  Please see the Service documentation for details on how to provide custom configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;Publishing&amp;gt;&#xA;      &amp;lt;Services&amp;gt;&#xA;        &amp;lt;InstanceActivationStrategy&amp;gt;&#xA;           &amp;lt;Type&amp;gt;Sitecore.Framework.Publishing.InstanceActivation.SingleInstanceActivationStrategy, Sitecore.Framework.Publishing&amp;lt;/Type&amp;gt;&#xA;        &amp;lt;/InstanceActivationStrategy&amp;gt;&#xA;      &amp;lt;/Services&amp;gt; &#xA;    &amp;lt;/Publishing&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="588" LastEditorUserId="588" LastEditDate="2017-06-14T10:45:27.880" LastActivityDate="2017-06-14T10:45:27.880" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5523" PostTypeId="1" CreationDate="2017-04-27T12:42:24.527" Score="1" ViewCount="262" Body="&lt;p&gt;I'm trying to add a custom button to the ribbon in the Experience Editor (Sitecore 8.2). I've been following this blogpost: &lt;a href=&quot;http://reyrahadian.com/2015/04/15/sitecore-8-adding-edit-meta-data-button-in-experience-editor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://reyrahadian.com/2015/04/15/sitecore-8-adding-edit-meta-data-button-in-experience-editor/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I Click my custom button, I get this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;Parser Error&#xA;&#xA;Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. &#xA;&#xA;Parser Error Message: The base class includes the field 'warningText', but its type (Sitecore.Web.UI.HtmlControls.Literal) is not compatible with the type of control (System.Web.UI.WebControls.Literal).&#xA;&#xA;Source Error: &#xA;&#xA;&#xA;Line 135:    &amp;lt;/div&amp;gt;&#xA;Line 136:    &amp;lt;div Visible=&quot;False&quot; id=&quot;WarningRow&quot; runat=&quot;server&quot;&amp;gt;&#xA;Line 137:      &amp;lt;sc:ThemedImage runat=&quot;server&quot; Height=&quot;16&quot; Width=&quot;16&quot; style=&quot;vertical-align:middle; margin-right: 4px&quot; Src=&quot;Applications/16x16/warning.png&quot; /&amp;gt;&amp;lt;asp:Literal runat=&quot;server&quot; ID=&quot;warningText&quot;&amp;gt;&amp;lt;/asp:Literal&amp;gt;&#xA;Line 138:    &amp;lt;/div&amp;gt;&#xA;Line 139:    &amp;lt;div id=&quot;MainPanel&quot; class=&quot;scFlexContent&quot; onclick=&quot;javascript:scContent.onEditorClick(this, event);&quot;&amp;gt;&#xA;&#xA;Source File: /sitecore/shell/applications/Content Manager/FieldEditor.aspx    Line: 137 &#xA;&#xA;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1088.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone an idea how to solve this?&lt;/p&gt;&#xA;" OwnerUserId="1854" LastEditorUserId="1854" LastEditDate="2017-04-28T07:56:56.037" LastActivityDate="2017-04-28T07:56:56.037" Title="Custom Experience Editor Ribbon Button: error in FieldEditor.aspx" Tags="|experience-editor|ribbon|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5525" PostTypeId="2" ParentId="5483" CreationDate="2017-04-27T14:37:40.950" Score="1" Body="&lt;p&gt;I believe that is not the number but the size that will drive your decision. Having a lot of blobs in your database means that you have to multiply this by 2 or 3 (master, web, public? database) + backups. Disk size consumption and restore time may be an issue.  &lt;/p&gt;&#xA;" OwnerUserId="1856" LastActivityDate="2017-04-27T14:37:40.950" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5526" PostTypeId="2" ParentId="5363" CreationDate="2017-04-27T16:12:50.027" Score="1" Body="&lt;p&gt;&lt;strong&gt;Edit 14/6/17: This has indeed been fixed in v2.0 Update 1 (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Publishing%20Service/20/Sitecore%20Publishing%20Service%2020%20Update1/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes&lt;/a&gt;)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a bug - the UI should use the Publishing Target Item name, not display name, when queuing the job.  .  We will aim to fix this in the upcoming release (&quot;2.0 Update 1&quot;, May-ish 2017).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To work around this problem in the mean time, you could provide your configuration in JSON form, this will allow you to provide the Target display name with spaces.  (Obviously this won't be good enough if you want to set different display names across multiple languages.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, you would provide a file, e.g. 'sc.publishing.custom.Targets.ProductionDR.json', with the following contents:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-json prettyprint-override&quot;&gt;&lt;code&gt; {&#xA;  &quot;Sitecore&quot;: {&#xA;    &quot;Publishing&quot;: {&#xA;      &quot;Services&quot;: {&#xA;        &quot;StoreFactory&quot;: {&#xA;          &quot;Options&quot;: {&#xA;            &quot;Stores&quot;: {&#xA;              &quot;Targets&quot;: {&#xA;                &quot;Production Disaster Recovery&quot;: {&#xA;                  &quot;Type&quot;: &quot;Sitecore.Framework.Publishing.Data.TargetStore, Sitecore.Framework.Publishing.Data&quot;,&#xA;                  &quot;ConnectionName&quot;: &quot;DisasterRecovery&quot;,&#xA;                  &quot;FeaturesListName&quot;: &quot;TargetStoreFeatures&quot;,&#xA;                  &quot;Id&quot;: &quot;964c28ac-46be-409a-8ff8-ba5412694a2b&quot;,&#xA;                  &quot;ScDatabase&quot;: &quot;disaster_recovery&quot;&#xA;                }&#xA;              }&#xA;            }&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="588" LastEditorUserId="588" LastEditDate="2017-06-14T10:49:05.563" LastActivityDate="2017-06-14T10:49:05.563" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5527" PostTypeId="1" AcceptedAnswerId="5537" CreationDate="2017-04-27T19:56:45.953" Score="7" ViewCount="1245" Body="&lt;p&gt;I'm running a script in which I want to mark as checked all renderings of a specific template with the Vary By Data parameter. But running the script it is adding to the Additional Parameters the value as opposed to checking the checkbox for the respective parameter as shown bellow:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DZPq3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DZPq3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know what I'm missing?&#xA;Here is my script&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items = Get-ChildItem -Recurse | Where-Object {$_.TemplateID -match &quot;{79A0F7AB-17C8-422C-B927-82A1EC666ABC}&quot;} | ForEach-Object {&#xA;$renderingInstance = Get-Rendering -Item $_ -Rendering $rendering&#xA;if($renderingInstance){&#xA;    Set-Rendering -Item $_ -Instance $renderingInstance -Parameter @{&#xA;        VaryByData = &quot;$true&quot;&#xA;    }&#xA;}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-04-28T14:42:59.827" Title="Updating parameters using SPE" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5528" PostTypeId="1" AcceptedAnswerId="5529" CreationDate="2017-04-28T07:07:22.247" Score="6" ViewCount="2465" Body="&lt;p&gt;In sitecore 7.2 I had customized sitecore web api to expose data from sitecore to external system as API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am just wondering if something new/enhanced has been added in sitecore 8.2 to expose data from sitecore to external system.&lt;/p&gt;&#xA;" OwnerUserId="1861" LastEditorUserId="73" LastEditDate="2019-12-04T16:26:43.123" LastActivityDate="2023-12-06T16:08:47.420" Title="Best way to expose sitecore data to external system as web api" Tags="|webapi|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="5529" PostTypeId="2" ParentId="5528" CreationDate="2017-04-28T07:09:26.090" Score="7" Body="&lt;p&gt;You can use Sitecore Client Services to expose data from Sitecore&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Services.Client&lt;/code&gt; provides a service layer on both the server and the client side of Sitecore applications that you use to develop data-driven applications.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Services.Client&lt;/code&gt; is configurable and extendable, and the framework and scaffolding it provides help you create the client-server communication in an application in a consistent way. &lt;code&gt;Sitecore.Services.Client&lt;/code&gt; uses the ASP.NET Web API as a foundation.&lt;/p&gt;&#xA;&lt;p&gt;Links:&#xA;&lt;a href=&quot;https://doc.sitecore.com/xp/en/developers/91/sitecore-experience-manager/sitecore-services-client.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/xp/en/developers/91/sitecore-experience-manager/sitecore-services-client.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/xp/en/developers/91/sitecore-experience-manager/sitecore-services-client-security.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/xp/en/developers/91/sitecore-experience-manager/sitecore-services-client-security.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/xp/en/developers/92/sitecore-experience-manager/the-restful-api-for-the-itemservice.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/xp/en/developers/92/sitecore-experience-manager/the-restful-api-for-the-itemservice.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="3395" LastEditDate="2023-12-06T16:08:47.420" LastActivityDate="2023-12-06T16:08:47.420" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="5530" PostTypeId="1" CreationDate="2017-04-28T09:17:11.113" Score="2" ViewCount="279" Body="&lt;p&gt;I have a component returning content from a set up fallback language, so far so good. Is there anyway for me to find out the originating language code for this? At the moment, everything I have tried gives me the language code for the current language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So context language is Arabic, component fallbacks to English; how do I get the language code &quot;en&quot; through the API?&lt;/p&gt;&#xA;" OwnerUserId="105" LastActivityDate="2017-04-28T09:30:34.013" Title="Get originating language code when using language fallback" Tags="|multilingual|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5532" PostTypeId="2" ParentId="5530" CreationDate="2017-04-28T09:30:34.013" Score="1" Body="&lt;p&gt;It is hard without intellisense sometimes, here we go:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Model.Item.OriginalLanguage.CultureInfo.TwoLetterISOLanguageName&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="105" LastActivityDate="2017-04-28T09:30:34.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5533" PostTypeId="2" ParentId="5479" CreationDate="2017-04-28T11:10:36.843" Score="5" Body="&lt;p&gt;The scenario is possible to achieve using multiple mechanisms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Sitecore security on items (unauthenticated users will have no way of accessing the pages). &#xA;SXA fully respects the Sitecore security model and you could simply revoke the read rights to everyone for the restricted items and grant it selectively to the authenticated users. The component will render the items with respect to what the Sitecore API returns.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Personalization + navigation filters. (if you want pages to be reachable for unauthorized users just not showing in navigation) Have 2 navigations in your header and show one for authenticated users and another one for anonymous visitors. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add one or two navigation filters under &lt;strong&gt;//Data/Navigation Filters&lt;/strong&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/40R2U.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/40R2U.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the page you want to hide for anonymous visitors check the checkbox to filter the page out:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SkqNJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SkqNJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the navigation that personalization shows to anonymous visitors pick the &quot;Anonymous visitors&quot; filter:&lt;a href=&quot;https://i.stack.imgur.com/j2vpj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/j2vpj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Last option requires that you have SXA 1.3 and in this option simply specify the personalization rule on your rendering variant. This allows you to evaluate each item before it's rendered and you can set any personalization rule there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vFgoQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vFgoQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That means you can have various fields and say e.g. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;if this field has that value and user is in this profile card - show&#xA;  if this item is of that template and user is returning - show&#xA;  etc.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="202" LastActivityDate="2017-04-28T11:10:36.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5535" PostTypeId="2" ParentId="5515" CreationDate="2017-04-28T13:49:05.313" Score="1" Body="&lt;p&gt;I would try to disable search configuration files. You can see the complete list &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/the_search_and_indexing_configuration_files&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another quick option is to patch &lt;code&gt;InitializeSolrProvider&lt;/code&gt; processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;patch:instead=&quot;*[@type='Sitecore.ContentSearch.SolrProvider.Pipelines.Loader.InitializeSolrProvider, Sitecore.ContentSearch.SolrProvider']&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-04-28T13:49:05.313" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5537" PostTypeId="2" ParentId="5527" CreationDate="2017-04-28T14:42:59.827" Score="6" Body="&lt;p&gt;It's actually easier than that (only showing partial code):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if ($renderingInstance) {&#xA;    $renderingInstance.Cachable = 1&#xA;    $renderingInstance.VaryByData = 1&#xA;    Set-Rendering -Item $_ -Instance $renderingInstance&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will update the checkboxes on the shared layout. You can omit the &lt;code&gt;Cachable&lt;/code&gt; (sic) setting if your rendering instances are already set to be cached, or if don't want to activate caching for all of them.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-04-28T14:42:59.827" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5538" PostTypeId="1" AcceptedAnswerId="5576" CreationDate="2017-04-28T15:44:28.503" Score="0" ViewCount="1153" Body="&lt;p&gt;Just started noticing this recently, I don't think it was an issue before but can't see what would have changed to cause this. We have General Link field for one of our templates and when I click the &lt;strong&gt;Insert Media Link&lt;/strong&gt; in it and find the media item I want to link to, it inserts the correct path but leaves out the initial &lt;code&gt;/~/media&lt;/code&gt; and so when that item is published, we get a 404 when clicking on that link.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I manually add &lt;code&gt;/~/media&lt;/code&gt; at the beginning of that inserted path, however, the link resolves fine.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone give me a hint as to why either the &lt;code&gt;/~/media&lt;/code&gt; isn't being inserted when clicking on this button, or why the path without that prefix wouldn't be resolving (if indeed it should be able to)? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just looked at my configs and the medialink prefix is set to &quot;&quot; and there's a customhandler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;handler trigger=&quot;~media/&quot; handler=&quot;sitecore_media.ashx&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As far as I can tell, this should all be working fine, but I still don't get this prefix added to paths when clicking the Insert Media Link button for the content item...&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="1809" LastEditDate="2017-04-28T18:27:13.893" LastActivityDate="2017-05-03T18:02:47.973" Title="Insert Media Link does not create a valid path to media item" Tags="|media-library|links|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5539" PostTypeId="1" AcceptedAnswerId="5540" CreationDate="2017-04-28T15:53:59.237" Score="2" ViewCount="119" Body="&lt;p&gt;I've got some insert rules defined for my website, now I have to convert this into a multi site solution. My current insert rules apply to the new site. How can I restrict insert rules to work only on a single site in multi site environment?&lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="1000" LastEditDate="2017-04-28T18:39:28.680" LastActivityDate="2017-04-28T18:39:28.680" Title="How to handle insert rules in multisite environment?" Tags="|multisite|rules-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5540" PostTypeId="2" ParentId="5539" CreationDate="2017-04-28T16:35:41.473" Score="2" Body="&lt;p&gt;You could create site-specific rules for insert options in /sitecore/System/Settings/Rules/Insert Options/Rules &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For each rule you can select a condition (for a site-specific rule it would probably be 'where the item is the specific item or one of its descendants' for your site root) and an action (adding/removing specific insert options).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to have custom rules per site and add them under each site node you could create site-specific folders with rules and override the default uiGetMasters/runrules processor with a custom class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Links&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site Specific Insert Option Rules For Sitecore&#xA;&lt;a href=&quot;https://www.markstiles.net/blog/2013/1/18/site-specific-insert-option-rules-for-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.markstiles.net/blog/2013/1/18/site-specific-insert-option-rules-for-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All About Insert Options in the Sitecore ASP.NET CMS&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-insert-options-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-insert-options-in-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Insert Rules using Rule Magic&#xA;&lt;a href=&quot;https://trayek.wordpress.com/2013/05/24/insert-rules-using-rules-magic/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://trayek.wordpress.com/2013/05/24/insert-rules-using-rules-magic/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="794" LastActivityDate="2017-04-28T16:35:41.473" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5541" PostTypeId="1" CreationDate="2017-04-28T18:06:23.977" Score="0" ViewCount="360" Body="&lt;p&gt;We are happily running unicorn in VS2015 with Sitecore 8.2, but we need to bring in some items from a Sitecore 7.2 instance. Unfortunately I cannot get Unicorn to install via NuGet. Every time I try, it errors out on Rainbow with this message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Install-Package : Could not install package 'Rainbow.Core 1.4.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.1', but the package does not contain any assembly references or content files that are compatible with that framework.&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't see anywhere that a particular .NET framework version is required. SC82 is running on 4.6.1, but I don't think I can do that for SC72. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried installing Rainbow by itself first, which attempts to install 1.4.2, but that fails with the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, I tried adding the NuGet package with a new Visual Studio 2015 project created by the SIM tool and it errors out with the same message (except it is using .NET 4.5)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anything I can try?&lt;/p&gt;&#xA;" OwnerUserId="599" LastActivityDate="2017-04-28T18:21:10.950" Title="Error message trying to install Unicorn" Tags="|unicorn|" AnswerCount="2" CommentCount="0" ClosedDate="2017-05-01T10:30:25.520" ContentLicense="CC BY-SA 3.0" />
  <row Id="5542" PostTypeId="2" ParentId="5541" CreationDate="2017-04-28T18:21:10.207" Score="2" Body="&lt;p&gt;Looking at the assembly in ILSpy, you need 4.5.2.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[assembly: TargetFramework(&quot;.NETFramework,Version=v4.5.2&quot;, FrameworkDisplayName = &quot;.NET Framework 4.5.2&quot;)]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-04-28T18:21:10.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5543" PostTypeId="2" ParentId="5541" CreationDate="2017-04-28T18:21:10.950" Score="0" Body="&lt;p&gt;Updating my project TargetFrameworkVersion to 4.5.2 allowed me to install Rainbow and therefore the Unicorn nuget packages. So the issue was that I had my TargetFrameworkVersion set too low (4.5 or 4.5.1). Looking at the source on github allowed me to see that the TargetFrameworkVersion listed in &lt;a href=&quot;https://github.com/kamsar/Rainbow/blob/master/src/Rainbow/Rainbow.csproj&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/Rainbow/blob/master/src/Rainbow/Rainbow.csproj&lt;/a&gt; was newer than what I was using. &lt;/p&gt;&#xA;" OwnerUserId="599" LastActivityDate="2017-04-28T18:21:10.950" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5544" PostTypeId="2" ParentId="5504" CreationDate="2017-04-28T19:07:57.837" Score="3" Body="&lt;p&gt;You can use the SecurityDisabler, which runs the code in the context of an administrator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;using (new Sitecore.Security.Accounts.SecurityDisabler())&#xA;{&#xA;    //Get your link here&#xA;}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;there is also a Sitecore.Security.Accounts.UserSwitcher(user), where you can have more control over the access rights for the context you run the code in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More can be read about this in the Security API Cookbook (section 4.2 and 4.3): &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/60/security_api_cookbook_sc60_and_later-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/60/security_api_cookbook_sc60_and_later-a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1720" LastActivityDate="2017-04-28T19:07:57.837" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5545" PostTypeId="2" ParentId="5491" CreationDate="2017-04-28T23:36:15.620" Score="1" Body="&lt;p&gt;For the RTE in Sitecore (Telerik RadEditor), it's a one or the other type of scenario. So, you can either use the &quot;WebStyleSheet&quot; setting in Sitecore, or you can modify the RTE's ToolsFile.xml to add your own custom classes. I have a blog post about this &lt;a href=&quot;http://www.symsoftsolutions.com/Blog/List/Sitecore-Rich-Text-Editor-Styles&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. I suspect this may be your issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also note that if you modify the ToolsFile.xml file, you will likely run into issues when you perform a Sitecore upgrade, because the file may get overwritten. In my experience, it is better to generate a style sheet specifically for classes needed in the RTE, use the &quot;WebStyleSheet&quot; Sitecore setting to load that style sheet, and not touch the RTE's ToolsFile.xml.&lt;/p&gt;&#xA;" OwnerUserId="1085" LastActivityDate="2017-04-28T23:36:15.620" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5547" PostTypeId="1" AcceptedAnswerId="10395" CreationDate="2017-04-29T02:15:25.263" Score="7" ViewCount="859" Body="&lt;p&gt;I've seen a few diagrams on the Sitecore developer sites and but does anyone know if they are distributing the stencils somewhere?  I'd like to capture the infrastructure topology at our client.&lt;/p&gt;&#xA;" OwnerUserId="1839" LastActivityDate="2018-02-23T21:00:20.933" Title="Sitecore Visio Stencils" Tags="|solution-architecture|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5548" PostTypeId="2" ParentId="5538" CreationDate="2017-04-29T07:16:10.917" Score="0" Body="&lt;p&gt;You should set your media link prefix to &lt;code&gt;~/media&lt;/code&gt;, as follows: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.MediaLinkPrefix&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;~/media&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, your handler trigger value should be: &lt;code&gt;~/media/&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: it is recommended to use hyphen &lt;code&gt;-&lt;/code&gt; prefix due to performance issues &lt;a href=&quot;https://kb.sitecore.net/articles/723979&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/723979&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-04-29T07:16:10.917" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5549" PostTypeId="2" ParentId="5491" CreationDate="2017-04-30T21:26:37.423" Score="2" Body="&lt;p&gt;Another option you might have, is if you want to add class=&quot;img-responsive&quot; to all images added via the RichText Editor, you can do this programmatically by patching the saveRichTextContent pipeline.  Also by going this approach, you can automatically clear out any height/widths that could cause images from being responsive as well.  Example of what I did is below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;saveRichTextContent&amp;gt;&#xA;                &amp;lt;processor type=&quot;Site.Components.Pipelines.FormatImagesRichText, Site.Components&quot;&amp;gt;&amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/saveRichTextContent&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will just append an additional pipeline onto the SaveRichTextContent Processor.  Then use the code below with the HTML Agility Pack to add/remove the html you need on the images added via the rich text editor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Site.Components.Pipelines&#xA;{&#xA;    public class FormatImagesRichText&#xA;    {&#xA;        public void Process(SaveRichTextContentArgs args)&#xA;        {&#xA;            args.Content = FormatImages(args.Content);&#xA;        }&#xA;&#xA;        private string FormatImages(string content)&#xA;        {&#xA;            var doc = new HtmlDocument();&#xA;            doc.LoadHtml(content);&#xA;&#xA;            if (doc == null || !doc.DocumentNode.InnerHtml.Contains(&quot;img&quot;))&#xA;                return content;&#xA;&#xA;            foreach (var img in doc.DocumentNode.Descendants(&quot;img&quot;))&#xA;            {&#xA;                // Remove Image Width/Height + Append img-responsive class&#xA;                HtmlNode imgNode = img;&#xA;&#xA;                imgNode = RemoveAttribute(imgNode, &quot;height&quot;);&#xA;                imgNode = RemoveAttribute(imgNode, &quot;width&quot;);&#xA;&#xA;                HtmlAttribute attrClass = imgNode.Attributes[&quot;class&quot;];&#xA;&#xA;                if (attrClass != null)&#xA;                {&#xA;                    if (!attrClass.Value.Contains(&quot;img-responsive&quot;))&#xA;                    {&#xA;                        // c# 6 interpolated&#xA;                        attrClass.Value = $&quot;{attrClass.Value} img-responsive&quot;;&#xA;                    }&#xA;                }&#xA;                else&#xA;                {&#xA;                    imgNode.Attributes.Add(&quot;class&quot;, &quot;img-responsive&quot;);&#xA;                }&#xA;&#xA;                // Remove Height &amp;amp; Width from Styles Tag&#xA;                HtmlAttribute attrStyle = imgNode.Attributes[&quot;style&quot;];&#xA;&#xA;                if (attrStyle != null &amp;amp;&amp;amp; !string.IsNullOrEmpty(attrStyle.Value))&#xA;                {&#xA;                    string style = attrStyle.Value;&#xA;&#xA;                    Regex regex = new Regex(@&quot;(max-width|max-height|width|height)(.*?)(;)&quot;, RegexOptions.IgnoreCase);&#xA;&#xA;                    style = regex.Replace(style, string.Emtpy);&#xA;&#xA;                    imgNode.Attributes[&quot;style&quot;].Value = style.Trim();&#xA;                }&#xA;            }&#xA;&#xA;            return doc.DocumentNode.OuterHtml;&#xA;        }&#xA;&#xA;        private HtmlNode RemoveAttribute(HtmlNode htmlNode, string attribute)&#xA;        {&#xA;            HtmlAttribute imgAttribute = htmlNode.Attributes[attribute];&#xA;&#xA;            if (imgAttribute != null)&#xA;            {&#xA;                htmlNode.Attributes.Remove(imgAttribute);&#xA;            }&#xA;&#xA;            return htmlNode;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-04-30T21:26:37.423" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5550" PostTypeId="1" AcceptedAnswerId="5943" CreationDate="2017-04-30T21:32:19.807" Score="0" ViewCount="247" Body="&lt;p&gt;Is there a way to automatically add visitors to a specific site definition to a specific engagement plan OOTB? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way this could be implemented programmatically?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="95" LastEditDate="2017-04-30T22:20:46.117" LastActivityDate="2017-05-31T12:30:33.237" Title="Add Anonymous Users into an Engagement Plan" Tags="|engagement-plans|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5551" PostTypeId="1" AcceptedAnswerId="5554" CreationDate="2017-04-30T23:29:40.177" Score="5" ViewCount="853" Body="&lt;p&gt;I am creating a custom event to allow CD to inform CM about a specific user action in a production environment.  My local development environment is a single server.&#xA;Despite subscribing to the remote event, I do not see the remote event handler firing in my environment.  Is this the expected behavior?  Does my server not see the remote event because it is the server that raised it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines;&#xA;using System;&#xA;&#xA;namespace Test.Website.Configuration.Events&#xA;{&#xA;    public class EventRemote&#xA;    {&#xA;        public string ItemId { get; set; }&#xA;    }&#xA;&#xA;    public class EventHandlers&#xA;    {&#xA;        public virtual void InitializeFromPipeline(PipelineArgs args)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error(&quot;EventHandlers.InitializeFromPipeline() called&quot;, this);&#xA;            var action = new Action&amp;lt;EventRemote&amp;gt;(RaiseRemoteEvent);&#xA;            Sitecore.Eventing.EventManager.Subscribe&amp;lt;EventRemote&amp;gt;(action);&#xA;        }&#xA;        private void RaiseRemoteEvent(EventRemote myEvent)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error(&quot;EventHandlers.RaiseRemoteEvent() called&quot;, this);&#xA;            Sitecore.Events.Event.RaiseEvent(&quot;event:happened:remote&quot;, new object[] { myEvent.ItemId });&#xA;        }&#xA;    }&#xA;&#xA;    public class EventManager&#xA;    {&#xA;        public static void RaiseEventRemote()&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error(&quot;EventManager.RaiseEventRemote() called&quot;, typeof(EventManager));&#xA;            var parameters = new object[] { new Guid().ToString() };&#xA;            Sitecore.Events.Event.RaiseEvent(&quot;event:happened&quot;, parameters);&#xA;            Sitecore.Eventing.EventManager.QueueEvent&amp;lt;EventRemote&amp;gt;(new EventRemote {ItemId = &quot;bas&quot;});&#xA;        }&#xA;        public void OnEvent(object sender, EventArgs args)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error(&quot;EventManager.OnEvent() called&quot;, this);&#xA;        }&#xA;        public void OnEventRemote(object sender, EventArgs args)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error(&quot;EventManager.OnEventRemote() called&quot;, this);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&quot;Test.Website.Configuration.Events.EventHandlers, Test.Website&quot; method=&quot;InitializeFromPipeline&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;        &amp;lt;events&amp;gt;&#xA;            &amp;lt;event name=&quot;event:happened&quot;&amp;gt;&#xA;                &amp;lt;handler type=&quot;Test.Website.Configuration.Events.EventManager, Test.Website&quot; method=&quot;OnEvent&quot; /&amp;gt;&#xA;            &amp;lt;/event&amp;gt;&#xA;            &amp;lt;event name=&quot;event:happened:remote&quot;&amp;gt;&#xA;                &amp;lt;handler type=&quot;Test.Website.Configuration.Events.EventManager, Test.Website&quot; method=&quot;OnEventRemote&quot; /&amp;gt;&#xA;            &amp;lt;/event&amp;gt;&#xA;        &amp;lt;/events&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="19" LastActivityDate="2017-05-01T11:02:13.523" Title="Can a server subscribe to its own remote events?" Tags="|events|event-queue|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5553" PostTypeId="1" CreationDate="2017-05-01T07:31:39.253" Score="2" ViewCount="1812" Body="&lt;p&gt;I have a rendering parameter template with a generic link field, now I want to get the friendly url (No glass mapper in this project), is there a way to convert rendering parameters to fields based on the template?&lt;/p&gt;&#xA;" OwnerUserId="1616" LastActivityDate="2017-05-01T15:50:33.503" Title="Getting generic link's friendly url from rendering parameters" Tags="|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5554" PostTypeId="2" ParentId="5551" CreationDate="2017-05-01T11:02:13.523" Score="7" Body="&lt;p&gt;The event queue table has two columns related to the matter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are &lt;code&gt;RaiseGlobally&lt;/code&gt; (&lt;code&gt;true&lt;/code&gt; by default) and &lt;code&gt;RaiseLocally&lt;/code&gt; (&lt;code&gt;false&lt;/code&gt; by default).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These flags control the event execution appropriately (i.e. if &lt;code&gt;RaiseGlobally&lt;/code&gt; is &lt;em&gt;false&lt;/em&gt;, the event will not be processed by remote servers)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to control those flags, you can use the second overload of the &lt;code&gt;QueueEvent&amp;lt;T&amp;gt;&lt;/code&gt; method:&#xA;&lt;code&gt;EventManager.QueueEvent&amp;lt;EventRemote&amp;gt;(new EventRemote {ItemId = &quot;bas&quot;}, true, true)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first flag is for &lt;code&gt;RaiseGlobally&lt;/code&gt;, the second is for &lt;code&gt;RaiseLocally&lt;/code&gt;. &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-05-01T11:02:13.523" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5555" PostTypeId="2" ParentId="5550" CreationDate="2017-05-01T11:13:21.923" Score="0" Body="&lt;p&gt;You can do that in couple of ways:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Using the WFFM Module save action.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more info on the official documentation &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/engagement_plans/creating_engagement_plans/use_a_web_form_to_enroll_a_visitor_in_an_engagement_plan&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Using the campaign trigger&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a way of achieving what you need without additional modules, but a bit hacky.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a campaign and associate it with the desired plan. &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/engagement_plans/creating_engagement_plans/associate_a_campaign_activity_with_an_engagement_plan&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation link&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the script to your page: &lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;$(function() { $.get('/?sc_camp=[campaignid]'); });&amp;lt;/script&amp;gt;&lt;/code&gt;. Alternatively, you can add this query string element &lt;code&gt;?sc_camp=[campaignid]&lt;/code&gt; to the required page. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-05-01T11:13:21.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5556" PostTypeId="2" ParentId="5553" CreationDate="2017-05-01T15:35:08.427" Score="2" Body="&lt;p&gt;Well there's almost two questions there.  One is how to get a friendly Url from a General Link Field.  This will first require you to determine if it's an internal link and therefore there is an ID for the item they link to, or if it's external, that should already have a friendly url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind the General Link field stores everything in Xml, so you'll need to parse this xml to determine the link type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it's an internal Url and therefore ID, you can get the Item by it's ID and then pass it into the Link Manager to get it's friendly url based on Link Manager settings for your site.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ID itemId = new ID(&quot;{EB18D6BC-4264-42B0-9480-21C10BA13706}&quot;);&#xA;Sitecore.Links.UrlOptions urlOptions = Sitecore.Links.UrlOptions.DefaultOptions;&#xA;string friendlyUrl = string.Empty;&#xA;&#xA;if (itemId != null)&#xA;{&#xA;    Item urlItem = Sitecore.Context.Database.GetItem(itemId);&#xA;&#xA;    if (urlItem != null) &#xA;    {&#xA;        friendlyUrl = Sitecore.Links.LinkManager.GetItemUrl(urlItem, urlOptions);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you would want to get the id from the xml, whereas I just show how to get the Url using the LinkManager once you have an id above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you wanted to build that into a class that represents the Rendering Parameter Template, that's fairly straight forward as well, just create a Property on your class called &lt;code&gt;Url&lt;/code&gt; or something like that, and inside that Property declaration you can perform the logic I mention above.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2017-05-01T15:50:33.503" LastActivityDate="2017-05-01T15:50:33.503" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5559" PostTypeId="1" AcceptedAnswerId="5728" CreationDate="2017-05-02T08:41:32.387" Score="2" ViewCount="2828" Body="&lt;p&gt;In SXA's carousels, slides only take one rich text to display their content. &#xA;I would like to have a testimonial slide which has a title and a content, so that the contributor doesn't have to structure its text with HTML but just fill in the two fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a TestimonialSlide template inheriting from SXA's Slide template and adding three fields,&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Name&lt;/li&gt;&#xA;&lt;li&gt;JobTitle&lt;/li&gt;&#xA;&lt;li&gt;Testimonial&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The template is referenced in carousel's insert options. I can therefore add a TestimonialSlide to a carousel but then it freezes. Of course, it is not linked with any Model, Controller nor any View. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my problem, I want to link this template to a View, Model, Controller, Rendering but I don't get how the link is done in SXA to copy the same structure. &#xA;I get the impression that we only link a template and not a rendering... I am confused !&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone help me link my custom slide template to a View, Model, Controller and Rendering so that it can be added to a Carousel ?&lt;/p&gt;&#xA;" OwnerUserId="1833" LastActivityDate="2019-02-01T01:46:39.123" Title="SXA: Add custom slide template to Carousel" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5560" PostTypeId="1" AcceptedAnswerId="5567" CreationDate="2017-05-02T09:38:42.663" Score="1" ViewCount="714" Body="&lt;p&gt;I am trying to only display certain languages for Editors in the Sitecore Content Editor Language dropdown/selector.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the access viewer, it shows the permission correctly for the editors. (i.e. only have language read/write permission to the few languages in /system/languages for the editors). But, in content editor, it still display all the language options in the language selector. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a language without permission selected, it displays &quot;The security settings for the current language prevent you from seeing this item.&quot; warning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But what I need is totally remove the languages without permission from the editor dropdown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea/help on this highly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-05-03T06:35:13.963" Title="Restrict Content Editor Language Dropdown Options" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5561" PostTypeId="1" AcceptedAnswerId="5562" CreationDate="2017-05-02T10:05:52.310" Score="0" ViewCount="177" Body="&lt;p&gt;We are about to push a site to live developed using habitat. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are chances that more localization and multi-sites would be developed in future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But some of the default habitat feature will not be relevant for us (even in future). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a right-time to remove those features from solution before pushing to development or will there be any performance issues when un-used feature/foundation deployed to production.&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-05-02T14:06:27.707" Title="Sitecore Habitat Performance" Tags="|performance-optimization|habitat|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5562" PostTypeId="2" ParentId="5561" CreationDate="2017-05-02T10:28:08.213" Score="10" Body="&lt;p&gt;Habitat is an example implementation of the &lt;a href=&quot;http://helix.sitecore.net/introduction/what-is-helix.html#what-is-helix-and-habitat&quot; rel=&quot;noreferrer&quot;&gt;Helix guidelines&lt;/a&gt; and shouldn't be used as a starter kit. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;With that said, you should review what you will need now and remove what you can. It can always be brought back in at a later time if it's deemed appropriate. &lt;/p&gt;&#xA;" OwnerUserId="731" LastEditorUserId="272" LastEditDate="2017-05-02T14:06:27.707" LastActivityDate="2017-05-02T14:06:27.707" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5564" PostTypeId="2" ParentId="5245" CreationDate="2017-05-02T11:21:56.517" Score="1" Body="&lt;p&gt;&lt;strong&gt;Edit 14/6/17:  This has indeed been fixed in v2.0 Update 1 (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Publishing%20Service/20/Sitecore%20Publishing%20Service%2020%20Update1/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes&lt;/a&gt;)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason you are seeing the pre-updated Items is because the data caches in the authoring instance for the Web DB are stale at the time the publish:end event is executed (in the authoring instance).  I.e the events that trigger the clearing of the caches of 'web' data in the authoring site have not been handled before your publish:end handler is triggered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a bug that we are working to fix for v2 Update 1, out in the next month or so.&lt;/p&gt;&#xA;" OwnerUserId="588" LastEditorUserId="588" LastEditDate="2017-06-14T10:47:32.320" LastActivityDate="2017-06-14T10:47:32.320" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5566" PostTypeId="1" CreationDate="2017-05-02T16:19:08.013" Score="0" ViewCount="469" Body="&lt;p&gt;We are in the process of resetting up our Analytics on 8.2 Update 2.   While reviewing logs, I noticed this error in the log that did not occur in our old 8.0 instance.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;3084 08:49:45 INFO  MARKETO: [Method: Marketo &gt; GenerateCookie]&#xA;  [username: user@example.com]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;3084 08:49:45 ERROR General error when submitting contact.&#xA;      Exception: System.NotImplementedException&#xA;      Message: The current data adapter provider does not support renumbering interactions.&#xA;      Source: Sitecore.Analytics.DataAccess&#xA;         at Sitecore.Analytics.DataAccess.DataAdapterProvider.RenumberInteractions(ID&#xA;  contactId)&#xA;         at Sitecore.Analytics.Data.ContactRepository.ReconcileContact(Contact&#xA;  contact, LeaseOwner owner, TimeSpan duration)&#xA;         at Sitecore.Analytics.Tracking.ContactManager.SubmitContact(Contact&#xA;  contact, ContactSaveOptions options, Contact&amp;amp; realContact)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;3084 08:49:45 INFO  MySite.Analytics.ContactManagement.TrackContact:&#xA;  Known contact identified: user@example.com&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;3084 08:49:45 INFO  SITECORE ANALYTICS: Outcome added for contact:&#xA;  {F5A28B73-F58B-44F2-A011-4D76BB4984C9} for the definition:&#xA;  {52054874-4767-47DC-8099-8C08BFA307AA}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The code that appears to be raising this...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;controller.Response.Cookies.Add(cookie);&#xA;Sitecore.Diagnostics.Log.Info(&quot;MARKETO: [Method: Marketo &amp;gt; GenerateCookie] [username: &quot; + username + &quot;]&quot;, this);&#xA;&#xA;try&#xA;{&#xA;    ContactManagement contactManagement = new ContactManagement();&#xA;    bool trackedContact = contactManagement.TrackContact(username, true);&#xA;    bool updatedPreferred = contactManagement.UpdatePreferred(username);&#xA;    ThirdParty thirdParty = new ThirdParty();&#xA;    bool syncedThirdParty = thirdParty.Sync(username, &quot;marketo&quot;);&#xA;}&#xA;catch (Exception ex)&#xA;{&#xA;    Sitecore.Diagnostics.Log.Error(&quot;MySite.BusinessLogic.Marketo.GenerateCookie (Analytics): [&quot; + ex.StackTrace + &quot;]&quot;, ex, this);&#xA;}&#xA;return true;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and... &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool TrackContact(string identifier, bool addMarketingLead = false) {&#xA;    try&#xA;    {&#xA;        Tracker.Current.Session.Identify(identifier);&#xA;        var contact = Tracker.Current.Session.Contact;&#xA;        contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;        if (contact.Identifiers.IdentificationLevel != ContactIdentificationLevel.Known)&#xA;        {&#xA;           contact.Identifiers.IdentificationLevel = ContactIdentificationLevel.Known;&#xA;        }&#xA;        Log.Info(&quot;MySite.Analytics.ContactManagement.TrackContact: Known contact identified: &quot; + identifier, this);&#xA;        if (addMarketingLead == true) &#xA;        {&#xA;            bool addedMarketingLeadOutcome = new Outcomes().AddMarketingLead(contact.ContactId);&#xA;        }&#xA;        return true;&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        Log.Error(&quot;MySite.Analytics.ContactManagement.TrackContact: [&quot; + ex.StackTrace + &quot;]&quot;, ex, this);&#xA;        return false;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will see that we log that the cookie was created okay, then we log that the Known contact has been identified.  So the error appears to be occurring between those two &lt;code&gt;Log.Info&lt;/code&gt; calls.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas why this error about renumbering interactions is now being raised?&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="73" LastEditDate="2017-08-03T13:25:32.600" LastActivityDate="2017-08-03T13:25:32.600" Title="The current data adapter provider does not support renumbering interactions" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5567" PostTypeId="2" ParentId="5560" CreationDate="2017-05-02T18:58:35.340" Score="1" Body="&lt;p&gt;It looks like a bug in the Languages Gallery form (&lt;code&gt;Sitecore.Shell.Applications.ContentManager.Galleries.Languages.GalleryLanguagesForm&lt;/code&gt;). The following code in the &lt;code&gt;OnLoad&lt;/code&gt; method is expected to skip rendering languages if a user hasn't got &lt;em&gt;Read&lt;/em&gt; access rights granted. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (Language language in languages)&#xA;{&#xA;  Item languageItem = LanguageManager.GetLanguageItem(language, item.Database);&#xA;  // this is ALLWAYS null if a user hasn't got Read access&#xA;  if (languageItem != null)&#xA;  {&#xA;    if (!languageItem.Access.CanRead())&#xA;    {&#xA;      continue;&#xA;    }&#xA;&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Problem&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The problem is in the &lt;code&gt;if (languageItem != null)&lt;/code&gt; statement which is expected to be &lt;code&gt;true&lt;/code&gt; to skip a language, but in fact it's always &lt;code&gt;false&lt;/code&gt; because the user &lt;em&gt;hasn't got&lt;/em&gt; the read access and cannot read the language item.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Workaround&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You may try &lt;a href=&quot;https://sdn.sitecore.net/scrapbook/customize%20an%20xml%20control.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;override the entire form code-behind class&lt;/a&gt; and skip languages if there are no corresponding language items found:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (Language language in languages)&#xA;{&#xA;  Item languageItem = LanguageManager.GetLanguageItem(language, item.Database);&#xA;  // do not render language if it cannot be read&#xA;  if (languageItem == null)&#xA;  {&#xA;    continue;&#xA;  }&#xA;&#xA;  if (!languageItem.Access.CanRead())&#xA;  {&#xA;    continue;&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The side effect of that is  that all the languages from the &lt;code&gt;core&lt;/code&gt; database that have not been duplicated in &lt;code&gt;master&lt;/code&gt; will disappear. That's happening because in the code above the &lt;code&gt;LanguageManager&lt;/code&gt; tries to read and check &lt;em&gt;availability&lt;/em&gt; for languages from the &lt;code&gt;item.Database&lt;/code&gt; only (which is &lt;code&gt;master&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LanguageManager.GetLanguageItem(language, item.Database);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastEditorUserId="272" LastEditDate="2017-05-03T06:35:13.963" LastActivityDate="2017-05-03T06:35:13.963" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5568" PostTypeId="1" AcceptedAnswerId="9861" CreationDate="2017-05-02T19:30:01.983" Score="0" ViewCount="508" Body="&lt;p&gt;I have a custom pipeline processor that is patched in before the &lt;code&gt;ResizeProcessor&lt;/code&gt; in the &lt;code&gt;getMediaStream&lt;/code&gt; pipeline.  When I request an image from sitecore that has no query parameters, such as &lt;code&gt;site/-/media/.../my-image.jpg&lt;/code&gt;, the media cache entry for that file will have the &lt;code&gt;[key]&lt;/code&gt; stored as the list of query parameters with all values set to 0 or false (depending on type). An example entry looks like this &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[key]&#xA;?as=False&amp;amp;bc=0&amp;amp;h=0&amp;amp;iar=False&amp;amp;mh=0&amp;amp;mw=0&amp;amp;sc=0&amp;amp;thn=False&amp;amp;w=0&#xA;&#xA;[extension]&#xA;jpg&#xA;&#xA;[headers]&#xA;Content-Type: image/jpeg&#xA;&#xA;[dataFile]&#xA;9ec21b9f3d964272a32da412422fec97.jpg&#xA;&#xA;;-----&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is what I would expect, but a problem occurs when using custom parameters and requesting an image with parameters before requesting the original.  Say I request the same image, but with my custom cropping parameters added, as such,&#xA;&lt;code&gt;site/-/media/images/test/rally-scoob?w=1200&amp;amp;h=300&amp;amp;cha=l&amp;amp;c=1&amp;amp;hash=682947F3A745596DF0B8991F41BEC2709CED7755&lt;/code&gt; which generates the following media cache entry:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[key]&#xA;?as=False&amp;amp;bc=0&amp;amp;h=300&amp;amp;iar=False&amp;amp;mh=0&amp;amp;mw=0&amp;amp;sc=0&amp;amp;thn=False&amp;amp;w=1200&amp;amp;cha=l&#xA;&#xA;[extension]&#xA;jpg&#xA;&#xA;[headers]&#xA;Content-Type: image/jpeg&#xA;&#xA;[dataFile]&#xA;b0ae589092754a6b9376f0c6d76351cd.jpg&#xA;&#xA;;-----&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is fine, as long as the image with the query parameters is requested after the original.  If the order is switched, then the returned image for the parameterless image is not correct.  The only workaround that I can think of is to append my custom parameters to the &lt;code&gt;[key]&lt;/code&gt; of the media entry in the same way that the other parameters are defaulted.  The problem is that I'm not sure what needs to be patched in order to add custom parameters to the Media Cache keys by default.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any experience with altering the way that keys are stored in the media cache?  Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="637" LastEditorUserId="2727" LastEditDate="2018-02-04T11:00:53.213" LastActivityDate="2018-02-04T20:10:51.660" Title="How to provide default values for custom parameters with the Sitecore Media Cache" Tags="|caching|media-library|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5569" PostTypeId="1" AcceptedAnswerId="5572" CreationDate="2017-05-02T20:36:52.440" Score="3" ViewCount="278" Body="&lt;p&gt;We're currently in the process of upgrading to Sitecore 8.2 Update-3, and as part of this are finally moving customizations out of the Sitecore.config into patch files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of our needs is to define a new &lt;code&gt;database&lt;/code&gt; element for a production/content delivery database on our authoring server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that we have a patch file that looks like this on the server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;databases&amp;gt;&#xA;            &amp;lt;!-- Edit will need to be able to point to both the edit and production databases. --&amp;gt;&#xA;            &amp;lt;database id=&quot;prodweb&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot; patch:after=&quot;database[@id='web']&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;                &amp;lt;icon&amp;gt;Network/16x16/earth.png&amp;lt;/icon&amp;gt;&#xA;                &amp;lt;securityEnabled&amp;gt;true&amp;lt;/securityEnabled&amp;gt;&#xA;                &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;                    &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;                        &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;                        &amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;                            &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Common.config&quot;/&amp;gt;&#xA;                            &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Webdb.config&quot;/&amp;gt;&#xA;                        &amp;lt;/prefetch&amp;gt;&#xA;                    &amp;lt;/dataProvider&amp;gt;&#xA;                &amp;lt;/dataProviders&amp;gt;&#xA;                &amp;lt;proxiesEnabled&amp;gt;false&amp;lt;/proxiesEnabled&amp;gt;&#xA;                &amp;lt;proxyDataProvider ref=&quot;proxyDataProviders/main&quot; param1=&quot;$(id)&quot;/&amp;gt;&#xA;                &amp;lt;archives hint=&quot;raw:AddArchive&quot;&amp;gt;&#xA;                    &amp;lt;archive name=&quot;archive&quot;/&amp;gt;&#xA;                    &amp;lt;archive name=&quot;recyclebin&quot;/&amp;gt;&#xA;                &amp;lt;/archives&amp;gt;&#xA;                &amp;lt;cacheSizes hint=&quot;setting&quot;&amp;gt;&#xA;                    &amp;lt;data&amp;gt;20MB&amp;lt;/data&amp;gt;&#xA;                    &amp;lt;items&amp;gt;10MB&amp;lt;/items&amp;gt;&#xA;                    &amp;lt;paths&amp;gt;500KB&amp;lt;/paths&amp;gt;&#xA;                    &amp;lt;itempaths&amp;gt;10MB&amp;lt;/itempaths&amp;gt;&#xA;                    &amp;lt;standardValues&amp;gt;500KB&amp;lt;/standardValues&amp;gt;&#xA;                &amp;lt;/cacheSizes&amp;gt;&#xA;            &amp;lt;/database&amp;gt;&#xA;        &amp;lt;/databases&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If we pull up the admin page that shows the final config, &lt;a href=&quot;https://example.com/sitecore/admin/showconfig.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://example.com/sitecore/admin/showconfig.aspx&lt;/a&gt; we have the following, where we can see that &lt;code&gt;sc.include&lt;/code&gt; elements aren't being replaced as they are with the other sites.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;sitecore xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; database=&quot;SqlServer&quot;&amp;gt;&#xA;    &amp;lt;databases&amp;gt;&#xA;        &amp;lt;!-- web --&amp;gt;&#xA;        &amp;lt;database id=&quot;web&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.Database, Sitecore.Kernel&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;icon&amp;gt;Images/database_web.png&amp;lt;/icon&amp;gt;&#xA;            &amp;lt;securityEnabled&amp;gt;true&amp;lt;/securityEnabled&amp;gt;&#xA;            &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;                &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;                    &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;                    &amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;                        &amp;lt;childLimit&amp;gt;100&amp;lt;/childLimit&amp;gt;&#xA;                        &amp;lt;logStats&amp;gt;false&amp;lt;/logStats&amp;gt;&#xA;                        &amp;lt;template desc=&quot;template&quot;&amp;gt;{AB86861A-6030-46C5-B394-E8F99E8B87DB}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;template desc=&quot;template section&quot;&amp;gt;{E269FBB5-3750-427A-9149-7AA950B49301}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;template desc=&quot;template field&quot;&amp;gt;{455A3E98-A627-4B40-8035-E683A0331AC7}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;template desc=&quot;node&quot;&amp;gt;{239F9CF4-E5A0-44E0-B342-0F32CD4C6D8B}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;template desc=&quot;folder&quot;&amp;gt;{A87A00B1-E6DB-45AB-8B54-636FEC3B5523}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;template desc=&quot;language&quot;&amp;gt;{F68F13A6-3395-426A-B9A1-FA2DC60D94EB}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;template desc=&quot;device&quot;&amp;gt;{B6F7EEB4-E8D7-476F-8936-5ACE6A76F20B}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;item desc=&quot;root&quot;&amp;gt;{11111111-1111-1111-1111-111111111111}&amp;lt;/item&amp;gt;&#xA;                        &amp;lt;children desc=&quot;main sections&quot;&amp;gt;{11111111-1111-1111-1111-111111111111}&amp;lt;/children&amp;gt;&#xA;                        &amp;lt;!--&#xA;    scdev: 10MB&#xA;    scstage: 10MB&#xA;    scedit: 75MB&#xA;    scprod: 150MB&#xA;    --&amp;gt;&#xA;                        &amp;lt;cacheSize&amp;gt;50MB&amp;lt;/cacheSize&amp;gt;&#xA;                        &amp;lt;template desc=&quot;alias&quot;&amp;gt;{54BCFFB7-8F46-4948-AE74-DA5B6B5AFA86}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;template desc=&quot;layout&quot;&amp;gt;{3A45A723-64EE-4919-9D41-02FD40FD1466}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;template desc=&quot;xsl rendering&quot;&amp;gt;{F1F1D639-4F54-40C2-8BE0-81266B392CEB}&amp;lt;/template&amp;gt;&#xA;                        &amp;lt;item desc=&quot;home&quot;&amp;gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&amp;lt;/item&amp;gt;&#xA;                        &amp;lt;children desc=&quot;main items&quot;&amp;gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&amp;lt;/children&amp;gt;&#xA;                    &amp;lt;/prefetch&amp;gt;&#xA;                &amp;lt;/dataProvider&amp;gt;&#xA;            &amp;lt;/dataProviders&amp;gt;&#xA;            &amp;lt;proxiesEnabled&amp;gt;false&amp;lt;/proxiesEnabled&amp;gt;&#xA;            &amp;lt;proxyDataProvider ref=&quot;proxyDataProviders/main&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;archives hint=&quot;raw:AddArchive&quot;&amp;gt;&#xA;                &amp;lt;archive name=&quot;archive&quot; /&amp;gt;&#xA;                &amp;lt;archive name=&quot;recyclebin&quot; /&amp;gt;&#xA;            &amp;lt;/archives&amp;gt;&#xA;            &amp;lt;cacheSizes hint=&quot;setting&quot;&amp;gt;&#xA;                &amp;lt;data&amp;gt;100MB&amp;lt;/data&amp;gt;&#xA;                &amp;lt;items&amp;gt;50MB&amp;lt;/items&amp;gt;&#xA;                &amp;lt;paths&amp;gt;2500KB&amp;lt;/paths&amp;gt;&#xA;                &amp;lt;itempaths&amp;gt;50MB&amp;lt;/itempaths&amp;gt;&#xA;                &amp;lt;standardValues&amp;gt;2500KB&amp;lt;/standardValues&amp;gt;&#xA;            &amp;lt;/cacheSizes&amp;gt;&#xA;            &amp;lt;Engines.DataEngine.Commands.AddFromTemplatePrototype patch:source=&quot;Sitecore.Buckets.config&quot;&amp;gt;&#xA;                &amp;lt;obj type=&quot;Sitecore.Buckets.Commands.AddFromTemplateCommand, Sitecore.Buckets&quot; /&amp;gt;&#xA;            &amp;lt;/Engines.DataEngine.Commands.AddFromTemplatePrototype&amp;gt;&#xA;        &amp;lt;/database&amp;gt;&#xA;        &amp;lt;!-- Edit will need to be able to point to both the edit and production databases. --&amp;gt;&#xA;        &amp;lt;database id=&quot;prodweb&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.Database, Sitecore.Kernel&quot; patch:source=&quot;Wsb.Sites.config&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;icon&amp;gt;Network/16x16/earth.png&amp;lt;/icon&amp;gt;&#xA;            &amp;lt;securityEnabled&amp;gt;true&amp;lt;/securityEnabled&amp;gt;&#xA;            &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;                &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;                    &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;                    &amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;                        &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Common.config&quot; /&amp;gt;&#xA;                        &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Webdb.config&quot; /&amp;gt;&#xA;                    &amp;lt;/prefetch&amp;gt;&#xA;                &amp;lt;/dataProvider&amp;gt;&#xA;            &amp;lt;/dataProviders&amp;gt;&#xA;            &amp;lt;proxiesEnabled&amp;gt;false&amp;lt;/proxiesEnabled&amp;gt;&#xA;            &amp;lt;proxyDataProvider ref=&quot;proxyDataProviders/main&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;archives hint=&quot;raw:AddArchive&quot;&amp;gt;&#xA;                &amp;lt;archive name=&quot;archive&quot; /&amp;gt;&#xA;                &amp;lt;archive name=&quot;recyclebin&quot; /&amp;gt;&#xA;            &amp;lt;/archives&amp;gt;&#xA;            &amp;lt;cacheSizes hint=&quot;setting&quot;&amp;gt;&#xA;                &amp;lt;data&amp;gt;20MB&amp;lt;/data&amp;gt;&#xA;                &amp;lt;items&amp;gt;10MB&amp;lt;/items&amp;gt;&#xA;                &amp;lt;paths&amp;gt;500KB&amp;lt;/paths&amp;gt;&#xA;                &amp;lt;itempaths&amp;gt;10MB&amp;lt;/itempaths&amp;gt;&#xA;                &amp;lt;standardValues&amp;gt;500KB&amp;lt;/standardValues&amp;gt;&#xA;            &amp;lt;/cacheSizes&amp;gt;&#xA;        &amp;lt;/database&amp;gt;&#xA;    &amp;lt;/databases&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can't find any documentation about this, so while things appear to be working properly, I'm unclear whether it's okay that the &lt;code&gt;sc.include&lt;/code&gt; elements are not being expanded in this view for the site being patched in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should I update the patch file to manually include the items from the two config files (&lt;strong&gt;/App_Config/Prefetch/Common.config&lt;/strong&gt; and &lt;strong&gt;/App_Config/Prefetch/Webdb.config&lt;/strong&gt;) or will Sitecore still do the necessary replacements?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or is there a better way to add a new &lt;code&gt;site&lt;/code&gt; via Sitecore patch files?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2017-06-02T11:24:16.970" Title="Does it matter that sc.include elements display in the admin showconfig page?" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5571" PostTypeId="2" ParentId="5566" CreationDate="2017-05-03T10:03:50.463" Score="1" Body="&lt;p&gt;After some investigation in &lt;code&gt;Sitecore.Analytics.dll&lt;/code&gt; and &lt;code&gt;Sitecore.Analytics.DataAccess.dll&lt;/code&gt; I found that it is called by the &lt;code&gt;Tracker.Current.Session.Identify&lt;/code&gt; method. So actually the stacktrace is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.ContactManager.FlushContactToXdb(Contact contact)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.ContactManager.SubmitContact(Contact contact, ContactSaveOptions options, Contact&amp;amp; realContact)&lt;/code&gt;&#xA;...&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This method was totally different in Sitecore 8.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So at the end the &lt;code&gt;RenumberInteractions(ID contactId)&lt;/code&gt; throws the exception.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual void RenumberInteractions(ID contactId)&#xA;{&#xA;  throw new NotImplementedException(&quot;The current data adapter provider does not support renumbering interactions.&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tested locally on a clean instance and I don't have this error so maybe setting is different. I think somehow the &lt;code&gt;contact.IsTemporaryInstance&lt;/code&gt; is true. And that's why it is going to that branch. I suggest to decompile the these 2 assemblies and check what happens there. Especailly I am talking about the &lt;code&gt;Tracker.Current.Session.Identify(string userName)&lt;/code&gt; method. Something happens in this branch I guess:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (contact1 == null || contact1.ContactId == Guid.Empty)&#xA;  {&#xA;    bool flag = false;&#xA;    if (this.Contact.Identifiers.IdentificationLevel != ContactIdentificationLevel.Known)&#xA;    {&#xA;      if (this.Contact.ContactSaveMode != ContactSaveMode.NeverSave &amp;amp;&amp;amp; !this.Settings.IsTransient &amp;amp;&amp;amp; (ContactClassification.IsHuman(this.Contact.System.Classification) || ContactClassification.IsAutoDetectedRobot(this.Contact.System.Classification)))&#xA;      {&#xA;        if (this.Contact.System.VisitCount &amp;gt; 1)&#xA;          contact1 = contactManager.LoadContactReadOnly(this.Contact.ContactId);&#xA;        if (contact1 == null)&#xA;        {&#xA;          contact1 = contactManager.CreateContact(this.Contact.ContactId);&#xA;          contact1.IsTemporaryInstance = true;&#xA;        }&#xA;        flag = true;&#xA;      }&#xA;      else&#xA;        contact1 = this.Contact;&#xA;    }&#xA;    else&#xA;    {&#xA;      flag = true;&#xA;      ID id = string.Equals(this.Contact.Identifiers.Identifier, userName, StringComparison.InvariantCultureIgnoreCase) ? TypeExtensions.ToID(this.Contact.ContactId) : ID.NewID;&#xA;      contact1 = contactManager.CreateContact(id);&#xA;    }&#xA;    contact1.Identifiers.IdentificationLevel = ContactIdentificationLevel.Known;&#xA;    contact1.Identifiers.Identifier = userName;&#xA;    if (flag)&#xA;      contactManager.FlushContactToXdb(contact1);&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-05-03T10:03:50.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5572" PostTypeId="2" ParentId="5569" CreationDate="2017-05-03T11:08:20.443" Score="4" Body="&lt;p&gt;It’s a bug, public reference number 91385.&lt;/p&gt;&#xA;&lt;h1&gt;Problem&lt;/h1&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sc.include&amp;gt;&lt;/code&gt; cannot be expanded, when it is used in a config file under the Include folder&lt;/p&gt;&#xA;&lt;h1&gt;Workaround&lt;/h1&gt;&#xA;&lt;p&gt;Manually include items from the referenced configs (or move your configuration to sitecore.config)&lt;/p&gt;&#xA;" OwnerUserId="1598" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-05-03T11:08:20.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5573" PostTypeId="1" AcceptedAnswerId="5589" CreationDate="2017-05-03T12:35:11.540" Score="8" ViewCount="15851" Body="&lt;p&gt;How can I enable caching for static resources such as CSS and JavaScript files in a Sitecore solution? I need these resources to have the following response header present:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Cache-Control:public, max-age=14400&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have the following settings in web.config with no success.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;#1 system.webServer/caching&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This breaks Sitecore completely. Returns 500 response code with no error information.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;caching enabled=&quot;true&quot; enableKernelCache=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;profiles&amp;gt;&#xA;        &amp;lt;add extension=&quot;.js&quot; policy=&quot;CacheForTimePeriod&quot; duration=&quot;365.00:00:00&quot;/&amp;gt;&#xA;      &amp;lt;/profiles&amp;gt;&#xA;    &amp;lt;/caching&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;#2 system.webServer/staticContent/clientCache&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This makes no change to the response headers.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;staticContent&amp;gt;&#xA;      &amp;lt;clientCache cacheControlCustom=&quot;public&quot; cacheControlMode=&quot;UseMaxAge&quot; cacheControlMaxAge=&quot;365.00:00:00&quot;/&amp;gt;&#xA;    &amp;lt;/staticContent&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;#3 location/system.webServer/staticContent/clientCache&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This also makes no change to the response headers.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;location path=&quot;themes&quot;&amp;gt;&#xA;    &amp;lt;system.webServer&amp;gt;&#xA;      &amp;lt;staticContent&amp;gt;&#xA;        &amp;lt;clientCache cacheControlMode=&quot;UseMaxAge&quot; cacheControlMaxAge=&quot;00:00:15&quot; /&amp;gt;&#xA;      &amp;lt;/staticContent&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;  &amp;lt;/location&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="131" LastEditDate="2017-05-04T11:16:34.237" LastActivityDate="2017-05-05T09:13:28.367" Title="How to configure caching for static resources in Sitecore" Tags="|configuration|caching|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5574" PostTypeId="2" ParentId="5421" CreationDate="2017-05-03T16:13:41.667" Score="2" Body="&lt;p&gt;In Sitecore 8.1 and above there is a setting which can be turned on to allow the content authors to start test via experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please add the below settings either as  patch config file or &#xA;You can edit the value in the config file (Sitecore.ContentTesting.config).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting name is “ContentTesting.AlwaysShowTestCandidateNotification”&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;&#xA;&#xA;  &#xA;    &#xA;         &#xA;    &#xA;  &#xA;&lt;/p&gt;&#xA;" OwnerUserId="1875" LastActivityDate="2017-05-03T16:13:41.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5575" PostTypeId="1" CreationDate="2017-05-03T17:01:04.947" Score="8" ViewCount="385" Body="&lt;p&gt;When adding a form to a page in Sitecore, you are presented with a dialog when choosing the datasource of the form. You have the options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a blank form&lt;/li&gt;&#xA;&lt;li&gt;Insert an existing form&lt;/li&gt;&#xA;&lt;li&gt;Select a form to copy&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My site is in a multi-site instance of Sitecore and I created the site as a copy of another site (including the forms). It seems that &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5563/wffm-error-server-cannot-modify-cookies-after-http-headers-have-been-sent-whe&quot;&gt;there are problems&lt;/a&gt; with forms which were copied from other forms without using the WFFM dialog.  What exactly does WFFM do internally when you choose the option &quot;Select a form to copy&quot; is there something other than simply copying the content items in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="2056" LastEditDate="2018-03-31T12:37:40.777" LastActivityDate="2019-01-21T09:37:50.363" Title="WFFM Create a form by copying an existing one" Tags="|wffm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5576" PostTypeId="2" ParentId="5538" CreationDate="2017-05-03T18:02:47.973" Score="0" Body="&lt;p&gt;It turned out that it had nothing to do with the medialinkprefix setting, which was fine.  Rather it turned out to be an issue with how the url was being generated on the delivery end.  This particular sublayout apparently had never been used to link to media files, only to internal or external urls, and so the code behind did not account for media item links, which are different.  I ended up using some of the code specified in this helpful post: &lt;a href=&quot;https://briancaos.wordpress.com/2012/08/24/sitecore-links-with-linkmanager-and-mediamanager/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2012/08/24/sitecore-links-with-linkmanager-and-mediamanager/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2017-05-03T18:02:47.973" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5577" PostTypeId="1" AcceptedAnswerId="5578" CreationDate="2017-05-03T19:45:31.280" Score="4" ViewCount="562" Body="&lt;p&gt;I would like to replace the default RTE in Sitecore with tinyMCE, how would I do it? Where do I start?&lt;/p&gt;&#xA;" OwnerUserId="1171" LastActivityDate="2021-05-01T08:30:14.007" Title="Has anyone ever tried to replace an RTE in Sitecore, with something custom like tinyMCE? If there is there any instructions?" Tags="|sitecore-client|richtext-editor|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5578" PostTypeId="2" ParentId="5577" CreationDate="2017-05-03T21:56:51.460" Score="7" Body="&lt;p&gt;I went down this path in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2812/rich-text-editor-options&quot;&gt;this&lt;/a&gt; question. To this point I don't think anyone has pulled it off. And its mainly because there is so much Sitecore functionality in the RTE (i.e. Links, photos, etc...) Your best bet it to just allow the editors to have a custom HTML editor similar to what Michael West did. You can wire in your client side editor the same way Mike did.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See his module here &lt;a href=&quot;http://marketplace.sitecore.net/en/Modules/Code_Editor.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://marketplace.sitecore.net/en/Modules/Code_Editor.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A great video on it here &lt;a href=&quot;http://youtube.com/watch?v=JgOSdjgG_qs&quot; rel=&quot;noreferrer&quot;&gt;http://youtube.com/watch?v=JgOSdjgG_qs&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-03T21:56:51.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5583" PostTypeId="1" AcceptedAnswerId="5963" CreationDate="2017-05-04T10:12:48.410" Score="3" ViewCount="572" Body="&lt;p&gt;On my local Environment and Staging Environment we have a problem where WFFM is appending the following querystring format to the urls after a form is submitted:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;?wffm.FormItemId=79961446-e442-4b54-aee7-c6288041e852&amp;amp;wffm.Id=f09e1638-3610-42f7-9008-4ba91547b053&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It wasn't doing this previously but I re-installed the WFFM Module and since then it has been happening.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It doesn't do this in our dev environment so it's a bit odd as the database used is the same as that used locally where it does append the querystring to the url. This suggests some file differences or config differences but I can't see anything obvious. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other info:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update 2  &lt;/li&gt;&#xA;&lt;li&gt;WFFM 8.1 rev. 160304 (Update-2)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-05-04T10:24:19.847" LastActivityDate="2017-06-01T11:13:46.227" Title="Strange behaviour with WFFM form submissions (?wffm.FormItemId in url)" Tags="|wffm|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="5584" PostTypeId="1" AcceptedAnswerId="5591" CreationDate="2017-05-04T21:11:04.707" Score="4" ViewCount="495" Body="&lt;p&gt;I want to display an list of folders and images within them as clickable folders that expand and contract within a SPEAK modal page. However these are not items in Sitecore, they need to be loaded from an 3rd party API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ItemTreeView seems like the right component to use but looking at the ItemTreeView.cshtml file and the documentation (&lt;a href=&quot;https://doc.sitecore.net/speak/components/itemtreeview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak/components/itemtreeview&lt;/a&gt;) it doesn't seem to support an external data source and expects and root item path passing into it from Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Short of Creating an Custom Data Provider to pull the items from the API into Sitecore I can't think of how best to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any advice would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-05-05T11:04:31.320" Title="Using SPEAK ItemTreeView with an external data source" Tags="|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5585" PostTypeId="1" AcceptedAnswerId="5588" CreationDate="2017-05-05T03:06:36.643" Score="7" ViewCount="6536" Body="&lt;p&gt;We are using Unicorn as sync mechanism for items between the dev machines.Currently we are manually deploying the yml files to different environments like SIT, UAT and PROD. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to use Unicorn for Continuous deployment between environments like SIT, UAT and PROD. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so how can we achieve this.   &lt;/p&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="1000" LastEditDate="2017-07-24T00:17:34.980" LastActivityDate="2020-05-28T13:31:06.487" Title="How to use Unicorn for continuous deployment between environments (UAT, Prod, etc.)?" Tags="|unicorn|deployment|continuous-delivery|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5586" PostTypeId="1" AcceptedAnswerId="5587" CreationDate="2017-05-05T06:48:00.403" Score="1" ViewCount="273" Body="&lt;p&gt;I am trying to install Web Form for marketers (Web Forms for Marketers 8.2 rev. 161129 NOT SC PACKAGE) on my sitecore 8.2 update 1 instance. It's not installing, neither throwing any error or nothing logging in logs. I checked windows event viewer but there is nothing related to wffm. Any clue what could be the issue?&lt;/p&gt;&#xA;" OwnerUserId="803" LastActivityDate="2017-05-05T06:49:27.537" Title="Can't install WFFM on Sitecore 8.2 update 1" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5587" PostTypeId="2" ParentId="5586" CreationDate="2017-05-05T06:49:27.537" Score="4" Body="&lt;p&gt;&lt;strong&gt;Web Forms for Marketers 8.2 rev. 161129 NOT SC PACKAGE&lt;/strong&gt; is not a Sitecore Package like its name say. This zip file contains 3 other zip file: one for CM,one for Content Delivery and one for Reporting.  Please unzip this file and install packages for CM or for other servers. Please see below picture: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Hdwvc.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hdwvc.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-05T06:49:27.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5588" PostTypeId="2" ParentId="5585" CreationDate="2017-05-05T07:25:20.960" Score="10" Body="&lt;p&gt;Yes, you can do the sync with almost any kind of script. Basically you can call the &lt;em&gt;/unicorn.aspx&lt;/em&gt; with parameters. &lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn#use-the-automated-tool-api&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; you can find the whole documentation about this. This example is working with PowerShell.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;Generate a very long random shared secret key, preferably using a password generator. There are no limits on character count, character types, etc but it must be &gt; 30 characters.&lt;/li&gt;&#xA;  &lt;li&gt;Install the shared secret into the Unicorn.UI.config file - or a patch thereof, under the authenticationProvider/SharedSecret node. There are comments to help.&lt;/li&gt;&#xA;  &lt;li&gt;To call the tool API from a script, a PowerShell module is provided. Acquire the module and its supporting files from the doc\PowerShell Remote Scripting folder of the Unicorn git repository.&lt;/li&gt;&#xA;  &lt;li&gt;Review the sample.ps1 file and adapt it to your needs, including putting the shared secret into it and setting the URL as needed. Don't worry the guts of sample.ps1 are two simple lines of code :)&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is the sample.ps1 provided by Unicorn:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$ErrorActionPreference = 'Stop'&#xA;&#xA;$ScriptPath = Split-Path $MyInvocation.MyCommand.Path&#xA;&#xA;# This is an example PowerShell script that will remotely execute a Unicorn sync using the new CHAP authentication system.&#xA;&#xA;Import-Module $ScriptPath\Unicorn.psm1&#xA;&#xA;# SYNC ALL CONFIGURATIONS&#xA;Sync-Unicorn -ControlPanelUrl 'https://localhost/unicorn.aspx' -SharedSecret 'your-sharedsecret-here'&#xA;&#xA;# SYNC SPECIFIC CONFIGURATIONS&#xA;Sync-Unicorn -ControlPanelUrl 'https://localhost/unicorn.aspx' -SharedSecret 'your-sharedsecret-here' -Configurations @('Test1', 'Test2')&#xA;&#xA;# SYNC ALL CONFIGURATIONS, SKIPPING ANY WITH TRANSPARENT SYNC ON&#xA;Sync-Unicorn -ControlPanelUrl 'https://localhost/unicorn.aspx' -SharedSecret 'your-sharedsecret-here' -SkipTransparentConfigs&#xA;&#xA;# Note: you may pass -Verb 'Reserialize' for remote reserialize. Usually not needed though.&#xA;&#xA;# Note: If you are having authorization issues, add -DebugSecurity to your cmdlet invocation; this will display the raw signatures being used to compare to the server.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/trnktms/Meetup.Unicorn.Demo&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; is my demo with a concrete example, maybe it also helps you.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="288" LastEditDate="2020-05-28T13:31:06.487" LastActivityDate="2020-05-28T13:31:06.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5589" PostTypeId="2" ParentId="5573" CreationDate="2017-05-05T09:13:28.367" Score="8" Body="&lt;p&gt;Option #3 actually &lt;strong&gt;&lt;em&gt;does&lt;/em&gt;&lt;/strong&gt; work. I forgot to do a hard refresh in my browser during testing. Oops.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you can add this to your main web.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;location path=&quot;themes&quot;&amp;gt;&#xA;    &amp;lt;system.webServer&amp;gt;&#xA;      &amp;lt;staticContent&amp;gt;&#xA;        &amp;lt;clientCache cacheControlCustom=&quot;public&quot; cacheControlMode=&quot;UseMaxAge&quot; cacheControlMaxAge=&quot;365.00:00:00&quot; /&amp;gt;&#xA;      &amp;lt;/staticContent&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;  &amp;lt;/location&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or if you prefer, you can create a new web.config in the &lt;code&gt;themes&lt;/code&gt; folder with the following content which achieves the same thing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;staticContent&amp;gt;&#xA;      &amp;lt;clientCache cacheControlCustom=&quot;public&quot; cacheControlMode=&quot;UseMaxAge&quot; cacheControlMaxAge=&quot;365.00:00:00&quot; /&amp;gt;&#xA;    &amp;lt;/staticContent&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;When testing caching settings, don't forget to do a hard refresh!&lt;/h1&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-05-05T09:13:28.367" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5591" PostTypeId="2" ParentId="5584" CreationDate="2017-05-05T11:04:31.320" Score="6" Body="&lt;p&gt;Yeah, you are right, ItemTreeView doesn't support external source. I ran into this during imlementing a module where I've overrided a the defoult select rendering dialog but the &quot;TreeViewEx&quot; control is used there. It is a bit different with control that you are going to customize, but the meaning of changes is the same&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You actually need to override (my recommendation add your own control based on the existing) some functions at the  &lt;strong&gt;ItemTreeView.cshtml&lt;/strong&gt; and at the &lt;strong&gt;ItemTreeView.js&lt;/strong&gt;. You can find them by the following paths:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\sitecore\shell\client\Business Component Library\Layouts\Renderings\ListsAndGrids\TreeViews\ItemTreeView.cshtml&#xA;&#xA;\sitecore\shell\client\Business Component Library\Layouts\Renderings\ListsAndGrids\TreeViews\ItemTreeView.js&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As far as I can see ItemTreeView.cshtml is used just for initialize attributes which are subsequently used by the javascript for building the control. You need to debug the ItemTreeView.js and see what is a data a passes to the following method (at the bottom of the file):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;_sc.Factories.createJQueryUIComponent(_sc.Definitions.Models, _sc.Definitions.Views, control);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I guess the &quot;control&quot; parameter is the most important for you. The source of the tree should be there. You need to prepare your own source with the same structure and pass the instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see there are two ways how to prepare data:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) You can call your api at the CustomItemTreeView.cshtml (that you will be added, for example) and build the source for tree and put that entirely to a data attribute. It is easer way but I am not recommend it as your data can have a large size and it can exceed the limits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) You can call your api at the CustomItemTreeView.cshtml and put to a data attributes just values that needs for building tree. Then, at the &quot;CustomItemTreeView.js&quot;, You can get those values and build the source use the ajax call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've described just an idea how it can be implemented. Some pitfalls can be there. Put a further comments and I will try to help you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you can see the implementation of the treeview that I've added for my module: &lt;a href=&quot;https://github.com/ampach/Recommended-Renderings-Module/blob/master/Module/Controls/RecommendedRenderingTreeview.cs&quot; rel=&quot;noreferrer&quot;&gt;Recommended Renderings Tree View&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-05-05T11:04:31.320" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5592" PostTypeId="1" AcceptedAnswerId="5594" CreationDate="2017-05-05T11:14:56.683" Score="5" ViewCount="545" Body="&lt;p&gt;We are using an Email Experience Manager (EXM) on a current project. After applying new design (we added new layout and list of renderings to the presentaion of email), we’ve got an issue with &lt;strong&gt;subject field&lt;/strong&gt;. Every time when we try to fill and save it (using EXM’s interface), it always appears empty and email can’t be send (“The message status has been changed to 'Paused'” message is shown).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any idea why it happens?&lt;/p&gt;&#xA;" OwnerUserId="1880" LastEditorUserId="73" LastEditDate="2019-09-09T12:25:46.180" LastActivityDate="2019-09-09T12:25:46.180" Title="Subject field is empty" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5593" PostTypeId="2" ParentId="5592" CreationDate="2017-05-05T11:20:59.093" Score="3" Body="&lt;p&gt;Usually such issues with email subject are caused by the incorrectly added 'Set Page Title' rendering (/sitecore/layout/Renderings/Email Campaign/Set Page Title).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please make sure that your message layout doesn't have the  tag in the  section, but instead there is a placeholder, and the rendering is added to this placeholder: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;head&amp;gt;&#xA;   &amp;lt;title&amp;gt;your custom title&amp;lt;/title&amp;gt;&#xA;   &amp;lt;sc:Placeholder Key=&quot;msg-html-title&quot; runat=&quot;server&quot; /&amp;gt;&#xA;    ....&#xA; &amp;lt;/head&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please read this article : &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/33/configuring_messages/types_and_templates/walkthrough_building_a_custom_message_template&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/33/configuring_messages/types_and_templates/walkthrough_building_a_custom_message_template&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The 'Set Page Title' control is mentioned in the article.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This control is used to ensure that message subject is used as page title in online version of the email - it is important that title and subject have the same value.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-05T11:20:59.093" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5594" PostTypeId="2" ParentId="5592" CreationDate="2017-05-05T11:42:16.820" Score="3" Body="&lt;p&gt;The EXM checks if email has the “Set Page Title” rendering (/sitecore/layout/Renderings/Email Campaign/Set Page Title) at the presentation. And if it is not, EXM will skip subject and leave it empty. As a result, EXM throws the exception. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add the “Set Page Title” rendering to the presentation and the issue will be solved. The “Set Page Title” rendering has to be added between the &lt;code&gt;&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;&lt;/code&gt; tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, take into account that the  rendering have to be  added at the &lt;strong&gt;Shared Layout&lt;/strong&gt;. If it is added to the Final Layout, it will not work.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-05-05T12:07:36.427" LastActivityDate="2017-05-05T12:07:36.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5595" PostTypeId="2" ParentId="5585" CreationDate="2017-05-05T12:05:08.487" Score="5" Body="&lt;p&gt;It is exactly possible to use the Unicorn for Continuous Delivery. I have some suggestions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all, you need to put files (which are generated by Unicorn) under source control. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to use a config transformations for filling a correct path to the folder with the Unicorn's files. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next very important part is that you should deny Unicorn to deploy the content and media items to PROD server. It can override the LIVE content with dummy data. The best way to achive that is also to use the config transformations. The other way to achive that is enable the Unicorn.Configs.NewItemsOnly config. You need to configure the paths to root item of content and media and then Unicorn will add new items under it and skip existing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the last one is it is better to disable a transparent sync for PROD environment and run it form PowerShell scripts as it mention at the previous answer or manually. It will allow to avoid any casual updates of content on LIVE.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-05-05T12:05:08.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5596" PostTypeId="1" CreationDate="2017-05-05T14:11:10.380" Score="0" ViewCount="766" Body="&lt;p&gt;I've a datasource item on my rendering that contains child items. &#xA;In those items I want to edit them using &lt;code&gt;Html.Glas().BeginEditFrame&lt;/code&gt;. The problem I'm having is that I cannot click the frame, the only click I can get is from the entire rendering.&#xA;This is part of my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;l-video-highlights large-11 medium-11 column push-1&quot;&amp;gt;&#xA;                &amp;lt;div class=&quot;large-11 medium-11 small-12 columns page-intro&quot;&amp;gt;&#xA;                    &amp;lt;div class=&quot;title&quot;&amp;gt;&#xA;                        &amp;lt;h1&amp;gt;@Html.Glass().Editable(m =&amp;gt; m.Title)&amp;lt;/h1&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;div class=&quot;title-copy&quot;&amp;gt;@Html.Glass().Editable(m =&amp;gt; m.Description)&amp;lt;/div&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;                @foreach (IVideoHighlight highlight in Model.Highlights)&#xA;                {&#xA;                    if (Html.Glass().IsInEditingMode)&#xA;                    {&#xA;                        &amp;lt;div class=&quot;large-11 medium-11 small-12 columns page-intro&quot;&amp;gt;&#xA;                            @using (Html.Glass().BeginEditFrame(highlight, &quot;Edit Highlight&quot;))&#xA;                            {&#xA;&#xA;                                &amp;lt;div data-alert class=&quot;alert-box alert info margin margin_bottom-0&quot; role=&quot;alert&quot;&amp;gt;&#xA;                                    Click here to edit the Highlight&#xA;                                &amp;lt;/div&amp;gt;&#xA;&#xA;                            }&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    }&#xA;....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1462" LastActivityDate="2017-05-06T17:13:03.770" Title="BeginEditFrame in child component makes frame not clickable" Tags="|experience-editor|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5597" PostTypeId="1" AcceptedAnswerId="5623" CreationDate="2017-05-05T15:04:52.497" Score="1" ViewCount="952" Body="&lt;p&gt;We're experiencing the 'No model set' error message in the markup where we are calling the Glass &lt;code&gt;Editable&lt;/code&gt; method. This is present after adding the rendering via the &lt;code&gt;Experience Editor&lt;/code&gt; and choosing to 'Create New Content' for the &lt;code&gt;datasource&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;No model set&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Glass.Mapper.Sc.GlassHtml.MakeEditable[T](Expression&lt;code&gt;1 field,&#xA;  Expression&lt;/code&gt;1 standardOutput, T model, Object parameters, Context&#xA;  context, Database database, TextWriter writer) in&#xA;  ~\Glass.Mapper.Sc\GlassHtml.cs:line 565&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm assuming it's because after selecting to create the new Item the rendering is reloaded but before the Item has finished being created hence the Model not being set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code isn't particularly fancy&lt;/p&gt;&#xA;&#xA;&lt;p&gt;View&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Html.Glass().IsInEditingMode || !string.IsNullOrEmpty(Model.HeadingTitle))&#xA;{&#xA;    &amp;lt;h3&amp;gt;@Html.Glass().Editable(Model, x =&amp;gt; x.HeadingTitle)&amp;lt;/h3&amp;gt;&#xA;}&#xA;&amp;lt;div class=&quot;sitecore-content&quot;&amp;gt;&#xA;    @Html.Glass().Editable(Model, x =&amp;gt; x.Information, x =&amp;gt; Html.Sitecore().Field(I_BaseInformationConstants.InformationFieldName).ToString())&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Controller&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult TextBlock()&#xA;{&#xA;    // GetLayoutItem method from GlassController&#xA;    var basicContent = GetLayoutItem&amp;lt;ITextBlock&amp;gt;();&#xA;&#xA;    return View(&quot;/Views/Shared/Components/TextBlocks/TextBlock.cshtml&quot;, basicContent);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can wrap the code in a &lt;code&gt;Null&lt;/code&gt; check to prevent the error but then the &lt;code&gt;Editable&lt;/code&gt; aren't present to enter content. Anyone address this problem before?&lt;/p&gt;&#xA;" OwnerUserId="145" LastEditorUserId="145" LastEditDate="2017-05-09T09:54:30.920" LastActivityDate="2017-05-09T09:54:30.920" Title="'No model set' after choosing Create new Content for the datasource of the rendering" Tags="|experience-editor|glass-mapper|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="5598" PostTypeId="1" AcceptedAnswerId="5615" CreationDate="2017-05-05T18:11:57.243" Score="3" ViewCount="1695" Body="&lt;p&gt;I have a Lucene index for the Master db. It seems like every save creates a new entry in the Lucene index.  At first I thought it was versioning but as you can see in the screen shot, it's the same version (varsion is &quot;1&quot; for all entries).  The only columns that are different are &quot;Doc. Id&quot;,&quot;_updated&quot; and any content fields have have changed between saves.  If i do a rebuild of the index, everything looks correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aUWD6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aUWD6.png&quot; alt=&quot;Luke Results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are running 8.2.  I saw this behavior in 8.1 as well. Is there a configuration or column that I am missing to ensure there's only 1 entry per item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is my configuration&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;foo_bar_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/masterProductConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;Limit&amp;gt;300&amp;lt;/Limit&amp;gt;&#xA;            &amp;lt;/policy&amp;gt;&#xA;          &amp;lt;/policies&amp;gt;&#xA;        &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/content/FooBar/Home&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I saw this thread, which looks similar to my issue but my issue does not have to do with media files or publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1095/sitecore-8-items-duplicated-in-web-index-after-publish/1096&quot;&gt;Sitecore 8: Items Duplicated in Web Index After Publish&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1756" LastEditorUserId="423" LastEditDate="2017-08-08T14:15:08.010" LastActivityDate="2017-08-08T14:15:08.010" Title="Duplicate Item in Lucene Index" Tags="|indexing|lucene|" AnswerCount="1" CommentCount="5" ClosedDate="2017-05-09T11:04:45.817" ContentLicense="CC BY-SA 3.0" />
  <row Id="5599" PostTypeId="1" CreationDate="2017-05-05T21:06:57.133" Score="3" ViewCount="3701" Body="&lt;p&gt;I need to kill a job that is surfacing back from a:&#xA;Sitecore.Jobs.JobManager.GetJobs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see it after I've copy/paste this resource in a &quot;Jobs.aspx&quot; :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2014/11/11/sitecore-job-viewer-see-what-sitecore-is-doing-behind-your-back/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2014/11/11/sitecore-job-viewer-see-what-sitecore-is-doing-behind-your-back/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But how do I GET RID OF IT? Where I right-click the corresponding Windows Server 'Scheduled Tasks' and select &quot;End all instances of this Task&quot; it is followed by no effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see a deprecated Sitecore.Jobs.JobManager.removeJob(Handle handle) in John West's article. Beyond this, the desert or read-only stuff showing the jobs (already good). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought it could be a flag in the Sitecore back-end database tables, but found nothing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Someone's help much appreciated..&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="73" LastEditDate="2017-05-06T10:40:28.400" LastActivityDate="2020-02-10T19:11:57.413" Title="I have a stuck Sitecore.Jobs.Job, now how do I kill that?" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5601" PostTypeId="2" ParentId="5585" CreationDate="2017-05-06T03:10:36.313" Score="3" Body="&lt;p&gt;To add to the answers above. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;No Content in PRD&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Make sure you make content in its own config/project. Then with transformation kill the config in QA/PRD.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;No data provider in PRD&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Make sure you turn off the the Unicorn data provider in QA/PRD. When the provider is on, Sitecore reads directly from the disk instead of the database. This makes it so production Sitecore will update your yml files. When the data providers are off, Unicorn and Sitecore will only be in contact when you push the sync button. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This also guarantees that Sitecore will not contact the yml files until you are completely ready for your deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your transform file would look like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;!-- For more information on using transformations &#xA;     see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. --&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;dataProviders xdt:Transform=&quot;RemoveAll&quot;&amp;gt;&#xA;&#xA;    &amp;lt;/dataProviders&amp;gt;&#xA;    &amp;lt;databases xdt:Transform=&quot;RemoveAll&quot;&amp;gt;&#xA;&#xA;    &amp;lt;/databases&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-06T03:10:36.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5603" PostTypeId="1" CreationDate="2017-05-06T13:26:37.280" Score="6" ViewCount="1021" Body="&lt;p&gt;If I am using the Sitecore desktop and have switched to view the web database in the bottom right corner, what happens if I perform a publish (assuming I have only the web DB as a publishing target).&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-05-08T03:17:20.923" Title="What happens if you perform a publish in Sitecore desktop while on the web database" Tags="|publishing|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5604" PostTypeId="2" ParentId="5599" CreationDate="2017-05-06T14:05:23.043" Score="4" Body="&lt;p&gt;You can use next code to stop a Sitecore job :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            Sitecore.Jobs.Job job = Sitecore.Jobs.JobManager.GetJob(&quot;yourjobname&quot;);&#xA;            if (job != null)&#xA;            {    &#xA;                job.Status.State = Sitecore.Jobs.JobState.Finished;&#xA;                job.Status.Expiry = DateTime.Now.AddMinutes(-1.0);&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I used jobviewer from your link and I stopped few jobs and in jobview appear like on above picture &#xA;  &lt;a href=&quot;https://i.stack.imgur.com/FnAVU.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FnAVU.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-06T14:05:23.043" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5605" PostTypeId="2" ParentId="5596" CreationDate="2017-05-06T17:13:03.770" Score="1" Body="&lt;p&gt;I have figured out what was happening. &#xA;The problem was that I've missed the third parameter that corresponds to the fields that should be editable by the editor. &#xA;So the method should be like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Html.Glass().BeginEditFrame(highlight, &quot;Edit Highlight&quot;, m=&amp;gt;m.Title, m=&amp;gt;m.Description,etc,etc)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1462" LastActivityDate="2017-05-06T17:13:03.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5606" PostTypeId="1" CreationDate="2017-05-06T17:19:49.770" Score="2" ViewCount="304" Body="&lt;p&gt;After upgrading from Sitecore 7.5 to 8 .when i try to open Control panel in CMS i get an Error saying &quot;Error occurred during a cryptographic operation.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note : i do have an entry for machine in my config &#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B4D8s.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B4D8s.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1865" LastActivityDate="2017-05-06T17:19:49.770" Title="Error occurred during a cryptographic operation" Tags="|content-editor|" AnswerCount="0" CommentCount="1" ClosedDate="2017-05-08T16:20:56.593" ContentLicense="CC BY-SA 3.0" />
  <row Id="5608" PostTypeId="1" AcceptedAnswerId="5617" CreationDate="2017-05-07T23:57:49.513" Score="7" ViewCount="2502" Body="&lt;p&gt;We've been noticing that some of the items we publish using the Sitecore Publishing Service are not showing up on the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've verified that the published items DO appear correctly in the Web Database, and they do show up in the preview from the Content Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may be some kind of issue with the caches not being cleared properly, but we aren't really sure. Here's some more information about our setup:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Publishing service is set up as single instance&lt;/li&gt;&#xA;&lt;li&gt;Publishing Service version 2.0&lt;/li&gt;&#xA;&lt;li&gt;CM and CD on separate servers&lt;/li&gt;&#xA;&lt;li&gt;When changing content, it shows up on in the SC preview&lt;/li&gt;&#xA;&lt;li&gt;When publishing, the master and web databases have the same data&#xA;(used Razl to verify)&lt;/li&gt;&#xA;&lt;li&gt;However, content updates don’t appear on the site (CM or CD web&#xA;pages)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I've also found this error in the logs. Not sure if it's relevant or not, but might as well include it&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-05-07 11:14:16.670 -04:00 [Error] Error in the VariantsRelatedNodesTargetProducer&#xA;System.AggregateException: One or more errors occurred. ---&amp;gt; System.Data.SqlClient.SqlException: T-SQL ERROR 1205, SEVERITY 13, STATE 51, PROCEDURE (null), LINE 8, MESSAGE: Transaction (Process ID 53) was deadlocked on lock | generic waitable object resources with another process and has been chosen as the deadlock victim. Rerun the transaction.&#xA;   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)&#xA;   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady)&#xA;   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)&#xA;   at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader()&#xA;   at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult)&#xA;   at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(IAsyncResult asyncResult)&#xA;   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Dapper.SqlMapper.&amp;lt;ExecuteImplAsync&amp;gt;d__29.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.Classic.SqlServer.ClassicSqlServerDataProvider.&amp;lt;&amp;gt;c__DisplayClass23_0.&amp;lt;&amp;lt;InitialiseDataQueryParams&amp;gt;b__0&amp;gt;d.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data.Classic\SqlServer\ClassicSqlServerDataProvider.cs:line 501&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.AdoNet.NoRetryConnectionBehaviour.&amp;lt;ExecuteAsync&amp;gt;d__10`1.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\AdoNet\NoRetryConnectionBehaviour.cs:line 50&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.AdoNet.DatabaseConnection`1.&amp;lt;ExecuteAsync&amp;gt;d__27`1.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\AdoNet\DatabaseConnection.cs:line 106&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.Classic.ClassicItemRepository.&amp;lt;GetItemNodes&amp;gt;d__16.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data.Classic\Repositories\ClassicItemRepository.cs:line 265&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.CompositeItemReadRepository.&amp;lt;GetNodesFromRepos&amp;gt;d__14.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\FeatureRepositories\CompositeItemReadRepository.cs:line 141&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.Data.CompositeItemReadRepository.&amp;lt;GetItemNodes&amp;gt;d__8.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing.Data\FeatureRepositories\CompositeItemReadRepository.cs:line 66&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Publishing.ManifestCalculation.PublishCandidateSource.&amp;lt;GetAncestors&amp;gt;d__16.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing\ManifestCalculation\Data\PublishCandidateSource.cs:line 130&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.Framework.Publishing.ManifestCalculation.PublishValidator.ValidateAncestors(IPublishCandidate node) in C:\builds\1\s\src\Sitecore.Framework.Publishing\ManifestCalculation\Validators\PublishValidator.cs:line 30&#xA;   at Sitecore.Framework.Publishing.ManifestCalculation.VariantsRelatedNodesTargetProducer.&amp;lt;ProcessCandidatesBatch&amp;gt;b__11_0(IPublishCandidate n) in C:\builds\1\s\src\Sitecore.Framework.Publishing\ManifestCalculation\TargetProducers\VariantsRelatedNodesTargetProducer.cs:line 84&#xA;   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()&#xA;   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xA;   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)&#xA;   at Sitecore.Framework.Publishing.ManifestCalculation.VariantsRelatedNodesTargetProducer.&amp;lt;ProcessCandidatesBatch&amp;gt;d__11.MoveNext() in C:\builds\1\s\src\Sitecore.Framework.Publishing\ManifestCalculation\TargetProducers\VariantsRelatedNodesTargetProducer.cs:line 83&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1746" LastActivityDate="2017-07-27T13:26:04.177" Title="Sitecore Publishing seems to work, but site not updating" Tags="|publishing-service|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5609" PostTypeId="2" ParentId="5603" CreationDate="2017-05-08T03:17:20.923" Score="4" Body="&lt;p&gt;It looks like web compares to web when you publish from the web database. Installed a module with a lot of changes and published from web. The event looked the same in the log.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore Log&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From web:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;4788 22:43:54 INFO  AUDIT (sitecore\admin): Publish, root: null,&#xA;     languages:en, targets:Internet, databases:web, incremental:false,&#xA;     smart:true, republish:false, children:false, related:true &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4788 22:43:54 INFO  AUDIT (sitecore\admin): [Publishing]: Starting to&#xA;     process 1 publishing options&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;From master&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;16620 22:45:36 INFO  AUDIT (sitecore\admin): Publish, root: null, languages:en, targets:Internet, databases:web, incremental:false, smart:true, republish:false, children:false, related:true &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;16620 22:45:36 INFO  AUDIT (sitecore\admin): [Publishing]: Starting to process 1 publishing options&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Publishing Log&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;But when I look in the publishing log it tells a different story.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;from web (No items updated):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;4788 22:43:54 INFO  [Publishing]: Starting to process 1 publishing options&lt;br&gt;&#xA;  4788 22:43:54 INFO  [PublishOptions]: root:null, language:en,    targets:Internet, database:web, mode:Full, smart:True children:True,    related:True&lt;br&gt;&#xA;  3204 22:43:55 WARN  SitePublish detected. PublishContext was overridden with DisableDatabaseCaches=True.&lt;br&gt;&#xA;  3204 22:43:55 INFO     Starting [Publishing] - AddItemsToQueue&lt;br&gt;&#xA;  3204 22:43:55 INFO  Finished [Publishing] - AddItemsToQueue in 0 ms&lt;br&gt;&#xA;  3204 22:43:55 INFO  Starting  [Publishing] - ProcessQueue&lt;br&gt;&#xA;  3204 22:43:59 INFO  Finished [Publishing] ProcessQueue in 3720 ms&lt;br&gt;&#xA;  3204 22:43:59 INFO  Publish Mode : Smart&lt;br&gt;&#xA;  3204 22:43:59 INFO  Created : 0&lt;br&gt;&#xA;  3204 22:43:59 INFO  Updated : 0&lt;br&gt;&#xA;  3204 22:43:59 INFO  Deleted : 0&lt;br&gt;&#xA;  3204 22:43:59 INFO  Skipped : 4593&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;from master (73 updated, 503 created):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;16620 22:45:36 INFO  [Publishing]: Starting to process 1 publishing&#xA;  options&lt;br&gt;&#xA;  16620 22:45:36 INFO  [PublishOptions]: root:null,&#xA;  language:en, targets:Internet, database:web, mode:Full, smart:True children:True, related:True&lt;br&gt;&#xA;  10640 22:45:37 WARN  SitePublish detected. PublishContext was overridden with DisableDatabaseCaches=True.&lt;br&gt;&#xA;  10640 22:45:37 INFO  Starting [Publishing] - AddItemsToQueue&lt;br&gt;&#xA;  10640 22:45:37 INFO  Finished [Publishing] - AddItemsToQueue in 0 ms&lt;br&gt;&#xA;  10640 22:45:37 INFO  Starting [Publishing] - ProcessQueue&lt;br&gt;&#xA;  10640 22:46:42 INFO  Finished [Publishing] - ProcessQueue in 65023 ms&lt;br&gt;&#xA;  10640 22:46:42 INFO  Publish Mode : Smart&lt;br&gt;&#xA;  10640 22:46:42 INFO  Created : &lt;code&gt;503&lt;/code&gt; &#xA;  10640 22:46:42 INFO Updated : &lt;code&gt;73&lt;/code&gt; &#xA;  10640 22:46:42 INFO  Deleted : 0&lt;br&gt;&#xA;  10640 22:46:42 INFO  Skipped : &lt;code&gt;4523&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-08T03:17:20.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5611" PostTypeId="1" AcceptedAnswerId="5614" CreationDate="2017-05-08T07:28:21.907" Score="4" ViewCount="2777" Body="&lt;p&gt;I have implement micro-site solution in Sitecore 8.1 as described in below post&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/5115/set-up-microsites-in-sitecore-8.1&quot;&gt;Set up microsites in Sitecore 8.1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but we are not getting correct site context for each individual micro-sites. Following code is being used to get site context:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var url = System.Web.HttpContext.Current.Request.Url;&#xA;var siteContext = Sitecore.Sites.SiteContextFactory.GetSiteContext(url.Host, url.PathAndQuery);&#xA;string siteSettingsRoot = siteContext.Properties[&quot;SiteSettingsNode&quot;].ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and below is &lt;code&gt;sitedefinition&lt;/code&gt; for micro-sites&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;name=&quot;micrositemainone&quot; hostName=&quot;microsite.mysite.com&quot; virtualFolder=&quot;/company1&quot; startItem=&quot;/Home&quot;&#xA;physicalFolder=&quot;/company1&quot; rootPath=&quot;/sitecore/content/Site/Microsites/company1&quot; SiteSettingsNode=&quot;/sitecore/content/Site/Microsites/company1/Site Settings&quot;&#xA;&#xA;name=&quot;micrositemain&quot; hostName=&quot;microsite.mysite.com&quot; virtualFolder=&quot;/&quot;  startItem=&quot;/Home&quot;&#xA;physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/Site/Microsite/Main&quot;  SiteSettingsNode=&quot;/sitecore/content/Site/Microsites/Main/Site Settings&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I browse &lt;a href=&quot;http://microsite.mysite.com/en/company1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://microsite.mysite.com/en/company1&lt;/a&gt; it shows content specific to company1 but it returns &lt;code&gt;SiteSettingsNode&lt;/code&gt; of &lt;strong&gt;micrositemain&lt;/strong&gt; site not &lt;strong&gt;micrositemainone&lt;/strong&gt;&#xA;In this case I should get &lt;code&gt;sitecontext&lt;/code&gt; of &lt;code&gt;micrositemainone&lt;/code&gt;. Looks like need to change in code where I access Sitecore context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note: we have two settings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;Languages.AlwaysStripLanguage = true&lt;/code&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;languageEmbedding=always&lt;/code&gt; in &lt;code&gt;linkprovider&lt;/code&gt; element&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;because we already have running live site, so I can't change these for ex:&#xA;www.mysite.com/en&#xA;www.mysiteca.com/en&#xA;www.mysiteca.com/fr-ca&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE: 05-08-2017&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I have virtualFolder=&quot;/company1&quot; &amp;amp; physicalFolder=&quot;/company1&quot; in sitedefinition see below &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nmsFk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nmsFk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As we can see &lt;code&gt;/en/&lt;/code&gt; is already added in as prefix that's why might be If I update both &lt;code&gt;virtualFolder&lt;/code&gt; &amp;amp; &lt;code&gt;physicalFolder&lt;/code&gt; value to &lt;code&gt;&quot;/en/company1&quot;&lt;/code&gt; I got 404 page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE: 05-09-2017&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ok so I changed &lt;code&gt;Languages.AlwaysStripLanguage&lt;/code&gt; value to &lt;code&gt;false&lt;/code&gt; with following settings for micro-sites:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;virtualFolder=&quot;/en/company1&quot;&#xA;&#xA;physicalFolder=&quot;/en/company1&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and now I'm getting correct &lt;code&gt;sitecontext&lt;/code&gt; for each microsites but getting problem with other 4 sites i.e. If I browse &lt;code&gt;http://mysite.com&lt;/code&gt; &amp;amp; &lt;code&gt;http://mysiteca.com&lt;/code&gt; I got following error message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;This page isn’t working&#xA;ERR_TOO_MANY_REDIRECTS&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to load other sites properly I updated &lt;code&gt;virtualFolder=&quot;/en&quot;&lt;/code&gt; &amp;amp; &lt;code&gt;physicalFolder=&quot;/en&quot;&lt;/code&gt; in all 4 sites's &lt;code&gt;sitedefinition.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I kept virtualFolder=&quot;/company1&quot; &amp;amp; physicalFolder=&quot;/company1&quot; as it is for micro-sites but to get correct site context I made below change in function:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public static Sitecore.Sites.SiteContext CurrentSiteNode&#xA;        {&#xA;            get&#xA;            {&#xA;                var url = System.Web.HttpContext.Current.Request.Url;&#xA;                var siteContext= Sitecore.Sites.SiteContextFactory.GetSiteContext(url.Host, url.PathAndQuery);&#xA;                if (siteContext.StartPath != null &amp;amp;&amp;amp; siteContext.StartPath.Contains(&quot;Microsites&quot;) &amp;amp;&amp;amp; url.PathAndQuery.Split('/').Length &amp;gt; 2)&#xA;                {&#xA;                    var currentsite = &quot;/&quot; + url.PathAndQuery.Split('/')[2];&#xA;                    return Sitecore.Sites.SiteContextFactory.GetSiteContext(url.Host,currentsite); // currentsite = company1 &amp;amp; url.Host = microsite.mysite.com&#xA;                }&#xA;&#xA;                return siteContext;&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So in &lt;strong&gt;option 1&lt;/strong&gt; I have to &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;update &lt;code&gt;Languages.AlwaysStripLanguage = false&lt;/code&gt; (I'm not sure do I really have to make this change because it's value is trued from the beginning of the project) &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;update all 4 site's &lt;code&gt;sitedefinition.config&lt;/code&gt; file&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And in &lt;strong&gt;option 2&lt;/strong&gt;, the change in only at one place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which option would you suggest?&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="2727" LastEditDate="2018-02-28T22:21:33.803" LastActivityDate="2018-02-28T22:21:33.803" Title="How to get correct site context in micro-site implementation in Sitecore 8.1" Tags="|sitecore-client|multisite|site-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5613" PostTypeId="1" AcceptedAnswerId="6454" CreationDate="2017-05-08T10:17:56.840" Score="6" ViewCount="628" Body="&lt;p&gt;When a user sets an item's publishing restrictions, it's possible to define dates and times in the &quot;publishable from&quot; and &quot;publishable to&quot; fields. These date/time values will be interpreted in the time zone of the server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CkxU2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CkxU2.png&quot; alt=&quot;Publishing settings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a problem for our users because a single Sitecore CM instance will have content for many country-specific sites and content authors are located across different time zones. If the server time zone is UTC, then the UK content authors might be OK, but the US content authors will have a hard time setting up the publishing date/time, especially since there is no indication as to what time zone is used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is a good way to solve, or at least mitigate this issue?&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-05-08T10:35:04.200" LastActivityDate="2017-07-04T13:10:38.740" Title="How can I make the publishing restrictions dialog use the user's time zone?" Tags="|content-editor|publishing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5614" PostTypeId="2" ParentId="5611" CreationDate="2017-05-08T10:29:39.337" Score="5" Body="&lt;p&gt;The reason why you are receiving the &lt;code&gt;SiteContext&lt;/code&gt; as &lt;strong&gt;micrositemain&lt;/strong&gt; is because &lt;code&gt;url.Host&lt;/code&gt; will return &lt;code&gt;microsite.mysite.com&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see updated &lt;code&gt;SiteDefinition&lt;/code&gt; below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;name=&quot;micrositemainone&quot;&#xA;hostName=&quot;microsite.mysite.com&quot; &#xA;virtualFolder=&quot;/{language_here}/company1&quot; //ex: /en/company1&#xA;startItem=&quot;/en/Home&quot;&#xA;physicalFolder=&quot;/{language_here}/company1&quot; &#xA;rootPath=&quot;/sitecore/content/Site/Microsites/company1&quot; &#xA;SiteSettingsNode=&quot;/sitecore/content/Site/Microsites/company1/Site Settings&quot;&#xA;&#xA;name=&quot;micrositemain&quot; &#xA;hostName=&quot;microsite.mysite.com&quot; &#xA;virtualFolder=&quot;/&quot;  &#xA;startItem=&quot;/Home&quot;&#xA;physicalFolder=&quot;/&quot; &#xA;rootPath=&quot;/sitecore/content/Site/Microsite/Main&quot;  &#xA;SiteSettingsNode=&quot;/sitecore/content/Site/Microsites/Main/Site Settings&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tested the above locally and saw that you need to update the setting &lt;code&gt;Languages.AlwaysStripLanguage&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; and add the above changes to the &lt;code&gt;SiteDefinition.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on your question updates, I would suggest to manage it through the code, which is, option 2. The reason because you will have more control of it.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-05-09T17:52:06.883" LastActivityDate="2017-05-09T17:52:06.883" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="5615" PostTypeId="2" ParentId="5598" CreationDate="2017-05-08T11:40:21.950" Score="2" Body="&lt;p&gt;Even though Sitecore automaticallly adds the &quot;_uniqueid&quot; column, it seems that explicitly adding the column to the configuration fixes this issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;productSearchConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA; &amp;lt;fieldMap&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;_uniqueid&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;    &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;  &amp;lt;/field&amp;gt;&#xA; &amp;lt;/fieldMap&amp;gt;&#xA; &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;  &amp;lt;fieldId&amp;gt;_uniqueid&amp;lt;/fieldId&amp;gt;&#xA; &amp;lt;/include&amp;gt;&#xA;&amp;lt;/productSearchConfiguration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1756" LastActivityDate="2017-05-08T11:40:21.950" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5616" PostTypeId="2" ParentId="5608" CreationDate="2017-05-08T12:15:25.097" Score="1" Body="&lt;p&gt;If you properly see the items published in web, either output caching or some caching layer in your application itself needs invalidated. For output caching, there is configuration that needs added. Look for this section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="98" LastActivityDate="2017-05-08T12:15:25.097" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5617" PostTypeId="2" ParentId="5608" CreationDate="2017-05-08T13:01:09.047" Score="5" Body="&lt;p&gt;In case sestocker answer is not the problem you are having:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need also to make sure you have setup properly the instance properties(if you don't know what this is reffer to Sitecore's scaling guide).&#xA;This is really important to enable Sitecore to clear the cache properly after the content is published from the content management server into the content delivery nodes. Let's assume you have one content management box with 2 content delivery nodes, here is an example on how the content management instance configuration should look like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;InstanceName = CA&#xA;Publishing.PublishingInstance = CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you need to make this right for the content delivery nodes. They should have the Publishing.PublishingInstance properties with the exact same value as defined on the content management instance. In this case the value would be CA. So for the content delivery 1 you would have the values like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;InstanceName = CD1&#xA;Publishing.PublishingInstance = CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the same goes for the content delivery 2 which in this case would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;InstanceName = CD2&#xA;Publishing.PublishingInstance = CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Don't forget that the InstanceName property defined on the content management server(value CA) can assume any value but they should be consistent across CA, CD1 and CD2. &lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-05-08T13:01:09.047" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5618" PostTypeId="1" CreationDate="2017-05-08T13:12:07.210" Score="6" ViewCount="290" Body="&lt;p&gt;I dont seems to be able to find any documentation on this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am upgrading from 7.2 to 8.2 using the Express Migration Tool. I am including WFFM in the upgrade. To upgrade WFFM analytics data I need to make 82 use SQL for storing data, as opposed to Mongo. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the implications of this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mostly worried about the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Can I switch back to Mongo after the Upgrade? &lt;/li&gt;&#xA;&lt;li&gt;Will I lose my data then? &lt;/li&gt;&#xA;&lt;li&gt;Will I need to rebuild the reporting database? &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;noreferrer&quot;&gt;Walkthrough: Rebuilding the reporting database&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="73" LastEditDate="2017-05-08T15:02:30.747" LastActivityDate="2017-07-02T08:12:53.070" Title="Using Express Migration Tool to migrate WFFM data" Tags="|wffm|express-migration-tool|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5620" PostTypeId="1" CreationDate="2017-05-08T17:25:23.767" Score="1" ViewCount="1971" Body="&lt;p&gt;I am trying to optimize image, js, and css delivery by enabling gzip compression and setting the client cache policy. The issue is, it doesn't seem like any of the settings are being used. Here is the settings I am trying to use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;caching&amp;gt;&#xA;  &amp;lt;profiles&amp;gt;&#xA;    &amp;lt;add extension=&quot;.js&quot; policy=&quot;CacheForTimePeriod&quot; kernelCachePolicy=&quot;CacheForTimePeriod&quot; duration=&quot;21.00:00:00&quot;/&amp;gt;&#xA;    &amp;lt;add extension=&quot;.css&quot; policy=&quot;CacheForTimePeriod&quot; kernelCachePolicy=&quot;CacheForTimePeriod&quot; duration=&quot;21.00:00:00&quot;/&amp;gt;&#xA;    &amp;lt;add extension=&quot;.png&quot; policy=&quot;CacheForTimePeriod&quot; kernelCachePolicy=&quot;CacheForTimePeriod&quot; duration=&quot;21.00:00:00&quot;/&amp;gt;&#xA;    &amp;lt;add extension=&quot;.svg&quot; policy=&quot;CacheForTimePeriod&quot; kernelCachePolicy=&quot;CacheForTimePeriod&quot; duration=&quot;21.00:00:00&quot;/&amp;gt;&#xA;    &amp;lt;add extension=&quot;.jpg&quot; policy=&quot;CacheForTimePeriod&quot; kernelCachePolicy=&quot;CacheForTimePeriod&quot; duration=&quot;21.00:00:00&quot;/&amp;gt;&#xA;  &amp;lt;/profiles&amp;gt;&#xA;&amp;lt;/caching&amp;gt;&#xA;&amp;lt;httpCompression directory=&quot;%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files&quot;&#xA;        staticCompressionDisableCpuUsage=&quot;95&quot; staticCompressionEnableCpuUsage=&quot;60&quot;&#xA;        dynamicCompressionDisableCpuUsage=&quot;95&quot; dynamicCompressionEnableCpuUsage=&quot;50&quot;&amp;gt;&#xA;  &amp;lt;scheme name=&quot;gzip&quot; dll=&quot;%Windir%\system32\inetsrv\gzip.dll&quot; staticCompressionLevel=&quot;9&quot; /&amp;gt;&#xA;  &amp;lt;dynamicTypes&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;text/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;image/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;message/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/x-javascript&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;*/*&quot; enabled=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/json&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/json; charset=utf-8&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/dynamicTypes&amp;gt;&#xA;  &amp;lt;staticTypes&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;text/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;image/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;message/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/x-javascript&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/atom+xml&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/xaml+xml&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/json&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/json; charset=utf-8&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;*/*&quot; enabled=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;/staticTypes&amp;gt;&#xA;&amp;lt;/httpCompression&amp;gt;&#xA;&amp;lt;urlCompression doStaticCompression=&quot;true&quot; doDynamicCompression=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Client Caching&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have specified 21 days caching for js, css, png, svg, and jpg. When I examine the headers for images stored in the Media Library the expires header is set to 7 days, and anything served from the file system has cache-control set to no-cache. Nothing I do changes this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Compression&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CSS and JS files are being compressed, but png and svg files are not&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing here? Are there Sitecore settings that might be interfering with IIS?&lt;/p&gt;&#xA;" OwnerUserId="1522" LastEditorUserId="1522" LastEditDate="2017-05-08T22:02:23.067" LastActivityDate="2017-05-09T15:08:39.440" Title="Client caching and gzip settings not working" Tags="|configuration|performance-optimization|site-configuration|iis|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5622" PostTypeId="1" CreationDate="2017-05-08T22:58:14.270" Score="4" ViewCount="1285" Body="&lt;p&gt;We've found another interesting possible issue with the Publishing Service (v2.0).&#xA;When we change the Datasource for a rendering in an item's presentation details (and nothing else), then publish that item, the change sometimes doesn't make it to the Web database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To reproduce the issue we had to change the datasource to different things and publish four or five times, but our content authors have reported it happening on the first change. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we then publish the item With Subitems it seems to push out the datasource consistently, but it's of course possible that that's coincidence. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what I've found in the log. The first is when it did work, and the second when it didn't. On the second it didn't do the &quot;Added 1 steps to manifest&quot;, so it seems like it just sometimes doesn't notice the change. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have any of you seen something like this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-05-08 18:41:05.650 -04:00 [Information] New Job queued : aa7213aa-567f-4aa0-9f8c-204eddff717c - Targets: &quot;Internet&quot;&#xA;2017-05-08 18:41:05.666 -04:00 [Information] Start building source index&#xA;2017-05-08 18:41:07.798 -04:00 [Information] Source index built successfully&#xA;2017-05-08 18:41:07.954 -04:00 [Information] Executing Publish : &#xA;Source: &quot;master&quot;, &#xA;Targets: [&quot;Internet&quot;], &#xA;Start Item: c011c230-1f5b-401e-9974-7a23ca97d7a6, &#xA;Languages: [&quot;en&quot;], &#xA;Process Descendants: False, &#xA;Process Related Items: True&#xA;&#xA;2017-05-08 18:41:08.017 -04:00 [Information] Created manifest d786f616-6fb3-4596-90af-23e8b41032b7, for target 8e080626-ddc3-4ef4-a1d1-f0be4a200254&#xA;2017-05-08 18:41:08.017 -04:00 [Information] Starting the manifest calculation for target : &quot;Internet&quot; (Id : 8e080626-ddc3-4ef4-a1d1-f0be4a200254)&#xA;2017-05-08 18:41:08.033 -04:00 [Information] Start building item index for target: 8e080626-ddc3-4ef4-a1d1-f0be4a200254&#xA;2017-05-08 18:41:15.544 -04:00 [Information] Item index built successfully for target: 8e080626-ddc3-4ef4-a1d1-f0be4a200254&#xA;2017-05-08 18:41:16.091 -04:00 [Information] Added 1 steps to manifest: d786f616-6fb3-4596-90af-23e8b41032b7.&#xA;2017-05-08 18:41:16.091 -04:00 [Information] Starting to promote the manifests to all targets..&#xA;2017-05-08 18:41:16.091 -04:00 [Information] Starting to promote Target : &quot;Internet&quot;, Manifest : d786f616-6fb3-4596-90af-23e8b41032b7.&#xA;2017-05-08 18:41:16.123 -04:00 [Information] Promote completed successfully -&amp;gt; Target : &quot;Internet&quot;, Manifest : d786f616-6fb3-4596-90af-23e8b41032b7.&#xA;2017-05-08 18:41:16.138 -04:00 [Information] Job Result: aa7213aa-567f-4aa0-9f8c-204eddff717c - &quot;Complete&quot; - &quot;OK&quot;. Duration: 00:00:10.4882483&#xA;--------------------------------------------------------------------------------------------------------------------------------------------------&#xA;2017-05-08 18:41:47.818 -04:00 [Information] New Job queued : e1583126-756c-46ef-adc4-fa109c0447cf - Targets: &quot;Internet&quot;&#xA;2017-05-08 18:41:47.849 -04:00 [Information] Start building source index&#xA;2017-05-08 18:41:49.584 -04:00 [Information] Source index built successfully&#xA;2017-05-08 18:41:49.740 -04:00 [Information] Executing Publish : &#xA;Source: &quot;master&quot;, &#xA;Targets: [&quot;Internet&quot;], &#xA;Start Item: c011c230-1f5b-401e-9974-7a23ca97d7a6, &#xA;Languages: [], &#xA;Process Descendants: False, &#xA;Process Related Items: True&#xA;&#xA;2017-05-08 18:41:49.896 -04:00 [Information] Created manifest 5fe6669e-32ed-4fd1-a5e5-a27079867d52, for target 8e080626-ddc3-4ef4-a1d1-f0be4a200254&#xA;2017-05-08 18:41:49.896 -04:00 [Information] Starting the manifest calculation for target : &quot;Internet&quot; (Id : 8e080626-ddc3-4ef4-a1d1-f0be4a200254)&#xA;2017-05-08 18:41:49.912 -04:00 [Information] Start building item index for target: 8e080626-ddc3-4ef4-a1d1-f0be4a200254&#xA;2017-05-08 18:41:57.747 -04:00 [Information] Item index built successfully for target: 8e080626-ddc3-4ef4-a1d1-f0be4a200254&#xA;2017-05-08 18:41:58.012 -04:00 [Information] Starting to promote the manifests to all targets..&#xA;2017-05-08 18:41:58.028 -04:00 [Information] Starting to promote Target : &quot;Internet&quot;, Manifest : 5fe6669e-32ed-4fd1-a5e5-a27079867d52.&#xA;2017-05-08 18:41:58.028 -04:00 [Information] Promote completed successfully -&amp;gt; Target : &quot;Internet&quot;, Manifest : 5fe6669e-32ed-4fd1-a5e5-a27079867d52.&#xA;2017-05-08 18:41:58.028 -04:00 [Information] Job Result: e1583126-756c-46ef-adc4-fa109c0447cf - &quot;Complete&quot; - &quot;OK&quot;. Duration: 00:00:10.1941100&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1746" LastActivityDate="2017-05-08T22:58:14.270" Title="Sitecore Publishing: Sometimes not publishing Datasource Changes" Tags="|publishing-service|" AnswerCount="0" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="5623" PostTypeId="2" ParentId="5597" CreationDate="2017-05-09T07:29:31.267" Score="3" Body="&lt;p&gt;As you said that it looks like it gets the web database not the master. If you post the whole &lt;code&gt;GetLayoutItem&amp;lt;T&amp;gt;()&lt;/code&gt; methond then I can add a more precise answer, but it looks like that something wrong in that method.&lt;/p&gt;&#xA;&lt;h3&gt;Possible reason&lt;/h3&gt;&#xA;&lt;p&gt;I assume that you initialize somewhere an &lt;code&gt;ISitecoreContext&lt;/code&gt; object and you use the &lt;code&gt;GetItem&amp;lt;T&amp;gt;()&lt;/code&gt; method of &lt;code&gt;ISitecoreContext&lt;/code&gt;. Could be that you initialize it as a Singleton if you are using IOC. But it should be at least &lt;code&gt;LifestylePerWebRequest&lt;/code&gt; because if you call the &lt;code&gt;new SitecoreContext()&lt;/code&gt; without parameters then it's using the context database. So if it's a Singleton then it uses always that database which was the context initially.&lt;/p&gt;&#xA;&lt;p&gt;These are just assumptions but could be helpful if you have this case.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-05-09T07:29:31.267" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5624" PostTypeId="1" CreationDate="2017-05-09T09:54:39.233" Score="2" ViewCount="110" Body="&lt;p&gt;We are experiencing some problems when accessing items using a Timer which is not consistent for all items. We have the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        var database =Sitecore.Configuration.Factory.GetDatabase(indexItem.TargetDatabase);&#xA;        var item = database.GetItem(indexItem.Id, indexItem.Language);&#xA;&#xA;        if(item == null)&#xA;        {&#xA;            Diagnostics(indexItem.WithDiagnostics, &quot;Item missing in database {0}:{1}:{2}&quot;, indexItem.TargetDatabase, indexItem.Id, indexItem.Language);&#xA;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the item &lt;strong&gt;/sitecore/content/site/home&lt;/strong&gt; it works, however for the item &lt;strong&gt;/sitecore/content/site/home/page1&lt;/strong&gt; it fails. This is the same if we access master or web.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Testing the above code in a webpage it works fine for both items on master and web, it just seems to be on the timer event that it fails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The failure is consistent for each item, i.e. it always fails or it always succeeds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The time is implemented as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            _processingTimer = new System.Timers.Timer(processingInterval);&#xA;            _processingTimer.Elapsed += (obj, args) =&amp;gt; ProcessQueue(queueStartParams);&#xA;            _processingTimer.AutoReset = true;&#xA;            _processingTimer.Start();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone know of any issues related to threading and events in SC?&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="423" LastEditDate="2017-08-08T14:14:53.303" LastActivityDate="2017-08-08T14:14:53.303" Title="Accessing Database Items in a Timer" Tags="|events|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5625" PostTypeId="2" ParentId="5620" CreationDate="2017-05-09T11:09:35.717" Score="0" Body="&lt;p&gt;I had a partly related question myself a few days ago &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5573/how-to-configure-caching-for-static-resources-in-sitecore&quot;&gt;How to configure caching for static resources in Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It turned out that my problem was forgetting to do a hard-refresh (&lt;kbd&gt;CTRL&lt;/kbd&gt; + &lt;kbd&gt;SHIFT&lt;/kbd&gt;+&lt;kbd&gt;R&lt;/kbd&gt;) in the browser!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;BTW I found that the &lt;code&gt;&amp;lt;caching&amp;gt;...&amp;lt;/caching&amp;gt;&lt;/code&gt; section in web.config broke Sitecore completely.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-05-09T11:09:35.717" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5626" PostTypeId="1" AcceptedAnswerId="5632" CreationDate="2017-05-09T11:37:25.773" Score="2" ViewCount="1250" Body="&lt;p&gt;I have a script that copies a page with renderings from a set language to 1 or more other languages that are selected by checkboxes. The whole script works when i run it in the ISE, but when I run it from the Context Menu it doesn't seem to find any renderings and therefore it only copies the page (with renderings), however the data source items are not copied.&#xA;Thankful for any help I can get!&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$sourceItem = get-item .&#xA;$sourceLanguage = $sourceItem.Language.Name&#xA;&#xA;$options = @{&#xA;    &quot;Danish&quot;=&quot;da-DK&quot;&#xA;    &quot;Norwiegan&quot;=&quot;nb-NO&quot;&#xA;    &quot;German&quot;=&quot;de-DE&quot;&#xA;}&#xA;&#xA;$result = Read-Variable -Parameters `&#xA; @{ Name = &quot;languageItem&quot;; Title=&quot;Choose The Target Language&quot;; &#xA;     Options=$options;&#xA; editor=&quot;check&quot;} `&#xA;&#xA; -Title &quot;Create Language Version Script&quot; -Width 400 -Height 200 -&#xA;OkButtonName &quot;Create Version&quot; -CancelButtonName &quot;Cancel&quot; -ShowHints&#xA;&#xA;if($result -ne &quot;ok&quot;)&#xA;{&#xA;    Exit&#xA;}&#xA;&#xA;function Add-TranslationForItemAndDataSources {&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Item]$Item,&#xA;        [string]$Language,&#xA;        [string]$TargetLanguage&#xA;    )&#xA;&#xA;&#xA;# adds new version of the page&#xA;Add-ItemLanguage -Item $item -Language $Language -TargetLanguage &#xA;$TargetLanguage -IfExist Skip&#xA;&#xA;&#xA;&#xA;Get-Rendering -Item $item -FinalLayout -Device(Get-LayoutDevice -Default) |&#xA;Where-Object { -not [string]::IsNullOrEmpty($_.Datasource)} ` |&#xA;    ForEach-Object { &#xA;        Write-Host $_.Datasource&#xA;        $datasourceItem = Get-Item &quot;$($item.Database):&quot; -ID $_.Datasource&#xA;        Write-Host &quot;$($item.Database):&quot;&#xA;        Write-Host $datasourceItem.Name&#xA;        Add-ItemLanguage -Item $datasourceItem -Language $Language -&#xA;        TargetLanguage $TargetLanguage -IfExist Append        &#xA;    } &#xA;}&#xA;&#xA;&#xA;foreach ($i in $languageItem)&#xA;{ Add-TranslationForItemAndDataSources -Item $sourceItem -Language &quot;sv-SE&quot; -&#xA;TargetLanguage $i }&#xA;&#xA;write-host 'Script ended'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1890" LastActivityDate="2017-05-09T15:39:03.300" Title="Sitecore Powershell Get-Rendering doesn't find any renderings from Context Menu, but works in ISE" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5628" PostTypeId="1" CreationDate="2017-05-09T14:46:59.707" Score="3" ViewCount="676" Body="&lt;p&gt;We want to lock down a Sitecore install when hitting it from the web with Windows Authentication to avoid brute force style attacks and to add a second layer of security on the web interfaces. Particularly on the /login and /shell folders. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By simply turning Windows Authentication on for those folders and disabling Anonymous Authentication, we do seem to be able to get it working. However, we use the Hedgehog Sitecore Package Deployer as part of the deploy process. It appears to be breaking and causing unexpected behaviour as a result of the security changes, which is indicative of a greater permissions issue, meaning that clearly there is more setup we need to do to allow backend tasks / processes to run properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are currently working on implementing the following solutions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/7356638/configuring-subdirectory-authentication-mode-in-applications-hosted-under-root-s&quot;&gt;Configuring subdirectory authentication mode in applications hosted under root site&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecoreblog.alexshyba.com/windows_authentication_for_sitecore_repost/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Windows Authentication for Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;However, a more concise answer for how to properly tackle this in Sitecore 8.2 would be appreciated. Cheers.&lt;/p&gt;&#xA;" OwnerUserId="946" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-05-11T20:26:32.833" Title="How to properly enable Windows Authentication on the /login and /shell folders (or any Sitecore folder)" Tags="|security|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5629" PostTypeId="2" ParentId="4500" CreationDate="2017-05-09T14:58:29.853" Score="0" Body="&lt;p&gt;After contacting with Sitecore support I got the answer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The field which should be used in order to achieve the required behavior is the &quot;Associated Content (if empty search results will be narrowed to the current site)&quot; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, the actual article should be updated as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to /sitecore/content/TENANT_GROUP/TENANT/SITE/Settings and in the Search Criteria section, in the DatasourceSearchScope field, click the sites that you want to include in the search. If you leave this field empty, only the current site will be searched.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;should say&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to /sitecore/content/TENANT_GROUP/TENANT/SITE/Settings and in the Search Criteria section, in the &#xA;Associated Content field, click the sites that you want to include in the search. If you leave this field empty, only the current site will be searched. &#xA;changes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The actual change is only the used field: DatasourceSearchScope -&gt; Associated Content.&lt;/p&gt;&#xA;" OwnerUserId="1306" LastActivityDate="2017-05-09T14:58:29.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5630" PostTypeId="2" ParentId="5620" CreationDate="2017-05-09T15:08:39.440" Score="2" Body="&lt;p&gt;To optimize images in the media library I recommend using &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dianoga&lt;/a&gt; from the mind of @kamsar - it optimizes the image files after they are added into the media cache as an async process. So it doesn't affect the front end response times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can cause issues if you want to make sure images are cached on the client or if you are using a CDN, but you can change the async in to a synchronous call so that the CDN or browser will instantly get the optimized file. In those cases, you may want to consider a warm up script to prevent users from seeing the first hit delay as it processes the media.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-05-09T15:08:39.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5631" PostTypeId="2" ParentId="5628" CreationDate="2017-05-09T15:15:47.917" Score="1" Body="&lt;p&gt;To set up authentication through a local build follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the config file. The location and name of this file depends on the version of Visual Studio you are using. You will have to choose the correct file for each version of Visual Studio. The location and name for VS2012 is: C:\Program Files (x86)\Hedgehog Development\Team Development for Sitecore (VS2012)\HedgehogDevelopment.SitecoreProject.VSIP2012.dll.config&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Locate the binding: &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Under TdsServiceSoap change:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;security mode=”None”&lt;/strong&gt; to  s&lt;strong&gt;ecurity mode=”TransportCredentialOnly”&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;transport clientCredentialType=&quot;None&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot;&lt;/strong&gt;  to &lt;strong&gt;transport clientCredentialType=&quot;Windows&quot;&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Restart your IDE and test getting items from Sitecore.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More informations you can find here: &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/setting-authenticated-access-tds&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Blog/setting-authenticated-access-tds&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-09T15:15:47.917" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5632" PostTypeId="2" ParentId="5626" CreationDate="2017-05-09T15:39:03.300" Score="1" Body="&lt;p&gt;When you're in PowerShell ISE, you can select the context language. From the context menu however, you don't have that luxury.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have yet to figure out how to detect which language is currently selected in Content Editor, and in any case it's probably best to ask the user which is the source language from the list of available languages on the source item. For that, you could replace the first line of your script with this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$contextItem = gi .&#xA;$sourceOptions = @{}&#xA;$contextItem.Languages | &#xA;    Where {(gi $contextItem.FullPath -Language $_.Name).Versions.Count -ge 1} |&#xA;    % {$sourceOptions.Add($_.Title, $_.Name)}&#xA;if ($sourceOptions.Count -gt 1) {&#xA;    $sourceResult = Read-Variable -Parameters @{ &#xA;        Name = &quot;sourceLanguage&quot;;&#xA;        Title = &quot;Choose The Source Language&quot;; &#xA;        Options = $sourceOptions;&#xA;        editor = &quot;dropdown&quot;} `&#xA;        -Title &quot;Create Language Version Script&quot; -Width 400 -Height 200 `&#xA;        -OkButtonName &quot;Continue&quot; -CancelButtonName &quot;Cancel&quot; -ShowHints&#xA;&#xA;    if($sourceResult -ne &quot;ok&quot;) { Exit }&#xA;} else {&#xA;    $sourceLanguage = $sourceOptions.Values[0]&#xA;}&#xA;&#xA;$sourceItem = gi -Path $contextItem.FullPath -Language $sourceLanguage&#xA;&#xA;# The rest of your script goes here&#xA;$sourceLanguage = $sourceItem.Language.Name&#xA;# ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will present you with a dropdown list of available source languages for the item. If the item exists in only one language, it will auto-select that language and skip the dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key here is this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$sourceItem = gi -Path $contextItem.FullPath -Language $sourceLanguage&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where the source-language-specific variant of the item is selected. With this in place, &lt;code&gt;Get-Rendering&lt;/code&gt; will correctly select the final layout for that language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you opt for this path, you also will probably want to remove the hard-coding of the source language (&lt;code&gt;sv-SE&lt;/code&gt;) found in your sample code.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-05-09T15:39:03.300" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5633" PostTypeId="1" CreationDate="2017-05-09T16:29:46.357" Score="4" ViewCount="852" Body="&lt;p&gt;A client I'm working with has an internal API built that they use for search purposes, now API URLs are being built like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;website/internal-api/sitecore/controller/method&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Question is if there is a way to hide the &lt;code&gt;/sitecore&lt;/code&gt; part, as to hide the platform used by them.&lt;/p&gt;&#xA;" OwnerUserId="329" LastEditorUserId="423" LastEditDate="2017-08-08T14:39:52.597" LastActivityDate="2017-08-08T14:39:52.597" Title="How do I remove /sitecore from API calls?" Tags="|sitecore-services-client|routing|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5634" PostTypeId="2" ParentId="3993" CreationDate="2017-05-09T19:18:32.497" Score="3" Body="&lt;p&gt;Sitecore provided a support package for this issue. You can find it under &lt;a href=&quot;https://kb.sitecore.net/articles/844911&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/844911&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just copy the Sitecore.Support.139810.config and the Sitecore.Support.139810.dll from the package to your servers and the issue should be fixed.&lt;/p&gt;&#xA;" OwnerUserId="1282" LastActivityDate="2017-05-09T19:18:32.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5635" PostTypeId="2" ParentId="5633" CreationDate="2017-05-09T19:57:50.500" Score="2" Body="&lt;p&gt;As I see it, your options are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Change the routing setup to remove the &lt;code&gt;/sitecore&lt;/code&gt; part from the expected route information. Not knowing your code, this could have side effects and would need a thorough regression test.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Using your Load Balancer (LB) or Url Rewrite rules, you can rewrite the public Url to remove the &lt;code&gt;/sitecore&lt;/code&gt; part, and then route that from the LB to your servers. Again without specifics on your setup, the details on how to do this would vary depending on what LB you are using etc...&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Personally I would go with the first option as it will be less confusing in the future.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-05-09T19:57:50.500" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5636" PostTypeId="1" AcceptedAnswerId="5640" CreationDate="2017-05-10T05:44:29.117" Score="3" ViewCount="925" Body="&lt;p&gt;I'm working on performance tuning the sitecore media images. Noticed Dianoga module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Appreciate if some one can help clarify below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Does this module optimize the image parameter such as w,h etc. Does this module optimize the the sitecore has already optimized for given parameter?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Noticed bunch of exe files been added under App_data folder. Will this expose any security issue in prod:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5utZ2.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5utZ2.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Finally how do we test that module is doing it's job properly? I guess view the image size on profiler?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2017-05-10T08:17:19.070" LastActivityDate="2017-05-10T08:17:19.070" Title="Clarification sitecore Dianoga Module" Tags="|media-library|dianoga|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5637" PostTypeId="1" AcceptedAnswerId="5639" CreationDate="2017-05-10T06:43:53.697" Score="4" ViewCount="308" Body="&lt;p&gt;We have few custom fields in User profile. All users are set with data for those custom fields. I am trying to rename a custom field name in User Profile (Core DB) which results in that field value becoming empty. Again if we revert back the field name to old name then value is showing back. Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="1893" LastEditorUserId="890" LastEditDate="2017-05-10T14:01:43.347" LastActivityDate="2017-05-10T14:01:43.347" Title="Renaming a custom field name in User profile" Tags="|user-profile|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5638" PostTypeId="2" ParentId="5633" CreationDate="2017-05-10T07:17:27.277" Score="3" Body="&lt;p&gt;With WebAPI you may define your custom controller routes using &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/web-api/overview/web-api-routing-and-actions/attribute-routing-in-web-api-2&quot; rel=&quot;nofollow noreferrer&quot;&gt;Route&lt;/a&gt; attribute. The controller below excludes the &lt;code&gt;/sitecore&lt;/code&gt; prefix from the URL and accessible as &lt;code&gt;&amp;lt;hostname&amp;gt;/api/my&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[RoutePrefix(&quot;api/my&quot;)]&#xA;public class MyController : ServicesApiController&#xA;{&#xA;    [HttpGet]&#xA;    [Route]&#xA;    public string Get()&#xA;    {&#xA;        return DateTime.Now.ToString();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-05-10T07:17:27.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5639" PostTypeId="2" ParentId="5637" CreationDate="2017-05-10T07:18:08.860" Score="2" Body="&lt;p&gt;User profile fields are not &lt;code&gt;Sitecore.Data.Field&lt;/code&gt;. What you define in the custom profile is merely a mapping so that Sitecore can provide a basic UI for the user, such as this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I8ml6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I8ml6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Behind the scenes, these profile fields are used with the standard ASP.NET ProfileProvider - and this uses the profile name as key. Which means you cannot rename these, and expect to keep their value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;user.Profile.SetCustomProperty(&quot;Address&quot;, address);&#xA;user.Profile.SetCustomProperty(&quot;Phone&quot;, phone);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Explained here: &lt;a href=&quot;https://briancaos.wordpress.com/2014/06/12/sitecore-users-custom-profile-properties/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore users custom profile properties&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-10T07:18:08.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5640" PostTypeId="2" ParentId="5636" CreationDate="2017-05-10T08:16:10.660" Score="6" Body="&lt;ol&gt;&#xA;&lt;li&gt;Yes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;When media images are requested, Dianoga automatically runs mozjpeg, PNGOptimizer, nQuant, or SVGO on the image data &lt;strong&gt;immediately after&lt;/strong&gt; it is placed in the Sitecore media cache.&lt;/p&gt;&#xA;&lt;p&gt;Dianoga ensures that your site is always serving fully optimised media library images even if you are using Sitecore's dynamic resizing features (for example with Adaptive Images). Even if you have already optimized every image uploaded into the media library, after Sitecore performs image processing the result is not optimized (an unfortunate limitation of most other image optimization libraries for Sitecore is that they only apply to the original image).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;In short; Dianoga will optimise all versions of your image. It does not touch the Media Library items at all, it operates purely on images served by Sitecore - these are all placed in the Media Cache.&lt;/p&gt;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;No. Outside callers to the website would not be able to execute these - and if there is a security gap here, it would be present whether or not you had Dianoga installed.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Sure. But also check logfiles, Dianoga logs extensively. Be aware that you will see NO effect from Dianoga, if your Media Cache is already populated.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;More information here: &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;noreferrer&quot;&gt;Dianoga&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-05-10T08:16:10.660" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5641" PostTypeId="2" ParentId="5637" CreationDate="2017-05-10T08:53:28.530" Score="3" Body="&lt;p&gt;Additional notes for Mark Cassidy's answer that, if you change the name of the user profile field in Sitecore you can migrate these values for the changed name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you need something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var user in UserManager.GetUsers())&#xA;{&#xA;    var oldvalue = user.Profile.GetCustomProperty(&quot;Old Fields Name&quot;);&#xA;    user.Profile.SetCustomProperty(&quot;New Fields Name&quot;, oldvalue);&#xA;    user.Profile.Save();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Be careful because this &lt;code&gt;UserManager.GetUsers()&lt;/code&gt; gets all users, and maybe you want to filter by domain for instance. Then you can use the &lt;code&gt;Domain.GetDomain(&quot;yourdomain&quot;).GetUsers()&lt;/code&gt; method.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-05-10T08:53:28.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5642" PostTypeId="1" AcceptedAnswerId="5648" CreationDate="2017-05-10T10:46:44.793" Score="2" ViewCount="484" Body="&lt;p&gt;I am using Visual Studio Professional 2013, and Sitecore 8.1. My project is configured using the Good Old Web Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever I try to add a new item, all I get in the dialog where I'm supposed to choose the template for the new item is a screen which reads &quot;Loading...&quot;, like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H4OFR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H4OFR.png&quot; alt=&quot;like so&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried uninstalling and reinstalling several versions, I am always getting the same behavior - effectively preventing me from adding Items through Sitecore Rocks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone has any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="4547" LastEditDate="2018-11-05T09:53:51.370" LastActivityDate="2018-11-05T09:53:51.370" Title="Sitecore Rocks stuck in the &quot;Add New Item&quot; menu whilst connecting using Good Old Web Sevice?" Tags="|sitecore-rocks|visual-studio|" AnswerCount="1" CommentCount="7" ClosedDate="2017-05-10T17:59:10.457" ContentLicense="CC BY-SA 4.0" />
  <row Id="5643" PostTypeId="1" AcceptedAnswerId="5647" CreationDate="2017-05-10T12:54:36.170" Score="3" ViewCount="529" Body="&lt;p&gt;I have created a Small CheckBox Button within Experience editor in the View tab called &quot;ABC&quot; checking/unchecking that injects/removes html around renderings on the page. Till now everything works fine. Now i have issue where If i go to View tab and Check &quot;ABC&quot; it adds sample HTML around controls than i navigate to &quot;Home&quot; Tab and refresh the page and My java script is not called that resides within View tab on page refresh. Although after page refresh as i click on View tab my script gets executed as I am storing the state in registry and HTML gets injected but not on page load although stored state is still there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can some one throw a light what can be a issue here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my sample script.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;/-/speak/v1/ExperienceEditor/ExperienceEditor.js&quot;], function (Sitecore, ExperienceEditor) {&#xA;Sitecore.Commands.AddHtmlToControls =&#xA;{&#xA;    commandContext: null,&#xA;    isEnabled: true,&#xA;&#xA;    canExecute: function (context) {&#xA;        if (!ExperienceEditor.isInMode(&quot;edit&quot;)&#xA;          || !context&#xA;          || !context.button&#xA;          || context.currentContext.isFallback) {&#xA;            return false;&#xA;        }&#xA;&#xA;        toggleRenderingHtml(context.button.get(&quot;isChecked&quot;) == &quot;1&quot;)&#xA;        if (!Sitecore.Commands.AddHtmlToControls.commandContext) {&#xA;            this.commandContext = ExperienceEditor.getContext().instance.clone(context);&#xA;        }&#xA;&#xA;        return true;&#xA;    },&#xA;&#xA;    execute: function (context) {&#xA;        ExperienceEditor.PipelinesUtil.generateRequestProcessor(&quot;ExperienceEditor.ToggleRegistryKey.Toggle&quot;, function (response) {&#xA;            response.context.button.set(&quot;isChecked&quot;, response.responseValue.value ? &quot;1&quot; : &quot;0&quot;);&#xA;&#xA;            toggleRenderingHtml(response.context.button.get(&quot;isChecked&quot;) == &quot;1&quot;);&#xA;&#xA;        }, { value: context.button.get(&quot;registryKey&quot;) }).execute(context);&#xA;    }&#xA;};&#xA;&#xA;var toggleRenderingHtml = function (enabled) {&#xA;&#xA;    if (enabled) {&#xA;       //some code logic here &#xA;    } else {&#xA;&#xA;       //some code logic here &#xA;    }&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1107" LastEditorUserId="73" LastEditDate="2017-05-10T13:06:05.857" LastActivityDate="2017-05-10T16:20:23.840" Title="Initialize custom JS attached to Small Checkbox button on Experience Editor page load" Tags="|experience-editor|speak|ribbon|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5644" PostTypeId="1" AcceptedAnswerId="5645" CreationDate="2017-05-10T14:17:41.343" Score="3" ViewCount="430" Body="&lt;p&gt;So I was installing this morning the Sitecore Publishing Service 2.0 package available &lt;a href=&quot;https://dev.sitecore.net/en/Downloads/Sitecore_Publishing_Service/20/Sitecore_Publishing_Service_20_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; but when I got to the step of running the database schema upgrade(cmd is schematool.exe upgrade) I noticed it didn't come with the package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since I didn't had this issue running with version 1.1 I downloaded the 1.1 package and noticed that the schematool.exe executable is part of the package itself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know what extra steps need to be made to run it in 2.0? Anything I should install or is it missing from the package itself?&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-05-10T14:28:59.253" Title="Where is the schematool command in Sitecore Publishing Service 2.0?" Tags="|publishing-service|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5645" PostTypeId="2" ParentId="5644" CreationDate="2017-05-10T14:28:59.253" Score="4" Body="&lt;p&gt;According to the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Publishing%20Service/20/Sitecore%20Publishing%20Service%2020%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes&lt;/a&gt;, &quot;The schema tools are now part of the Publishing Service.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore the command should now be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Framework.Publishing.Host schema upgrade&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is also covered in the installation guide for Sitecore Publishing Service 2.0. The guide was recently updated (yesterday in fact), so maybe there were errors in earlier versions.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-05-10T14:28:59.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5646" PostTypeId="1" AcceptedAnswerId="5665" CreationDate="2017-05-10T15:08:39.287" Score="2" ViewCount="537" Body="&lt;p&gt;At our current project we have two GIT branches which have quite a lot of changes within the TDS sub-project. Merging the two branches in GIT is easy for individual &lt;strong&gt;.item&lt;/strong&gt; files (and TDS &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/en/blog/tds-item-file-merging&quot; rel=&quot;nofollow noreferrer&quot;&gt;provides a tool for that&lt;/a&gt;), but nearly impossible for the &lt;strong&gt;.csproj&lt;/strong&gt; file, since it's too large for a meaningful line-by-line comparison. I see several solutions, none of which are perfect:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use the &quot;Sync with Sitecore&quot; tool to manually sync between the two versions, by connecting from branch A to a deployment of branch B&lt;/li&gt;&#xA;&lt;li&gt;Ignore the &lt;strong&gt;.csproj&lt;/strong&gt; file and simply recreate it from the merged &lt;strong&gt;.item&lt;/strong&gt; files&lt;/li&gt;&#xA;&lt;li&gt;Somehow optimize the &lt;strong&gt;.csproj&lt;/strong&gt; file to be readable for a merge tool (how?)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So what's the proper solution? &lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-05-11T16:53:56.193" Title="How to merge TDS projects properly when merging branches in GIT?" Tags="|tds|git|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5647" PostTypeId="2" ParentId="5643" CreationDate="2017-05-10T16:20:23.840" Score="2" Body="&lt;p&gt;The reason why on Page Load it does not trigger the JavaScript is because you need to set the &lt;code&gt;PostponedCall&lt;/code&gt; value to &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Using Sitecore Rocks, on the rendering SmallCheckButton, view the Properties window and scroll down up to the Event Section. Then, in the field &lt;code&gt;PostponedCall&lt;/code&gt;, set the value to &lt;code&gt;false&lt;/code&gt;. A screenshot is provided below:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6TkKd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6TkKd.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Your JavaScript methods will then get triggered even if you have click the Home Tab and the refreshes the page.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-05-10T16:20:23.840" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5648" PostTypeId="2" ParentId="5642" CreationDate="2017-05-10T17:20:10.180" Score="1" Body="&lt;p&gt;What finally worked for me:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I uninstalled Sitecore Rocks;&lt;/li&gt;&#xA;&lt;li&gt;I closed Visual Studio;&lt;/li&gt;&#xA;&lt;li&gt;I searched my ENTIRE hard drive for &quot;Sitecore Rocks&quot; and deleted &lt;strong&gt;every single file and folder&lt;/strong&gt; with this name. NOTE: a lot of those files live under C:\Users\[username]\AppData folder, so you will need the appropriate privileges to access them.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I reinstalled Sitecore Rocks and everything was fine.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2017-05-11T08:24:43.313" LastActivityDate="2017-05-11T08:24:43.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5649" PostTypeId="1" CreationDate="2017-05-10T18:14:52.400" Score="3" ViewCount="703" Body="&lt;p&gt;I know that Tracker.Current.Interaction.Pages should return all the pages user has visited in the current session. Where as in my case it is returning only the current page. Can someone please let me know what could have gone wrong here. Is there any config setting or someplace which could be causing this to behave this way.&lt;/p&gt;&#xA;" OwnerUserId="1333" LastActivityDate="2017-05-10T18:14:52.400" Title="Tracker.Current.Interaction.Pages in Sitecore is returning only the current page" Tags="|experience-analytics|tracking|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5650" PostTypeId="1" CreationDate="2017-05-10T20:14:52.263" Score="6" ViewCount="693" Body="&lt;p&gt;&lt;strong&gt;UPDATED WITH LATEST RESULTS AND QUESTION&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've converted everything to pipeline and integrated Simple Injector. As I mentioned, I've never used SI before, and I'm having trouble with the controller using EntityService. I can't seem to get the SI configuration for that controller to work. I get the following error: &quot;Make sure the controller has a parameterless public constructor. All of the other registrations are working fine with SI. I debug and see those being populated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here is the controller:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    namespace ProjectA.Controllers&#xA;{&#xA;    [EnableCors(origins: &quot;*&quot;, headers: &quot;*&quot;, methods: &quot;*&quot;)]&#xA;    [ServicesController]&#xA;    public class ProductServiceController : EntityService&amp;lt;Product&amp;gt;&#xA;    {&#xA;        public ProductServiceController(IRepository&amp;lt;Product&amp;gt; repository) : base(repository)&#xA;        {&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;And here is the registration with the working ones:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(PipelineArgs args)&#xA;    {&#xA;        // Create the container&#xA;        var container = Container.CreateContainer();&#xA;        container.Options.DefaultScopedLifestyle = new WebRequestLifestyle();&#xA;&#xA;        var assemblies = AppDomain.CurrentDomain.GetAssemblies().Where(a =&amp;gt; a.FullName.StartsWith(&quot;ProjectA.&quot;) || a.FullName.StartsWith(&quot;ProjectB.&quot;));&#xA;        container.RegisterWebApiControllers(GlobalConfiguration.Configuration);&#xA;        container.RegisterMvcControllers(assemblies.ToArray());&#xA;        // Register Mvc filter providers&#xA;        container.RegisterMvcIntegratedFilterProvider();&#xA;&#xA;    //these all work&#xA;        container.Register&amp;lt;IProductsReader, ProductsReader&amp;gt;();&#xA;        container.Register&amp;lt;IProductsUpdater, ProductsUpdater&amp;gt;();&#xA;        container.Register&amp;lt;IProductsCreator, ProductsCreator&amp;gt;();&#xA;        container.Register&amp;lt;IProductMapper, ProductMapper&amp;gt;();&#xA;        container.Register&amp;lt;IFieldUpdater, FieldUpdater&amp;gt;();&#xA;        container.Register(typeof(IRepository&amp;lt;Product&amp;gt;), typeof(ProductRepository));&#xA;&#xA;        //tried this for EntityService Controller, but no good&#xA;        //container.Register&amp;lt;IRepository&amp;lt;Product&amp;gt;&amp;gt;(() =&amp;gt; new ProductRepository(container.GetInstance&amp;lt;IProductsReader&amp;gt;(), container.GetInstance&amp;lt;IProductsUpdater&amp;gt;(), container.GetInstance&amp;lt;IProductsCreator&amp;gt;()));&#xA;&#xA;        container.Verify();&#xA;&#xA;        GlobalConfiguration.Configuration.DependencyResolver = new SimpleInjectorWebApiDependencyResolver(container);&#xA;&#xA;        // Set the ASP.NET dependency resolver&#xA;        DependencyResolver.SetResolver(new SimpleInjectorDependencyResolver(container));&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've used a lot of Ninject in the past, but was hoping to get SI working here. I'm sure it will end up being a missing registration line ;) Thanks for the help!&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;ORIGINAL QUESTION&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hoping someone can help. I am using EntityService and have implemented Simple Injector. I know Simple Injector defaults to allow a single constructor and that is the recommended approach. With that in place, I'm getting the following error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;An error occurred when trying to create a controller of type 'ProductServiceController'. Make sure that the controller has a parameterless public constructor.&quot; &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Should I add a default constructor to the ProductRepository and if so, what do I add to global.asax for Simple Injector? Below is my related code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sample from Global.asax&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var container = new Container();&#xA;        container.Options.DefaultScopedLifestyle = new WebRequestLifestyle();&#xA;&#xA;        // Register your types&#xA;        container.Register&amp;lt;IProductsReader, ProductsReader&amp;gt;();&#xA;        container.Register&amp;lt;IProductsUpdater, ProductsUpdater&amp;gt;();&#xA;        container.Register&amp;lt;IProductsCreator, ProductsCreator&amp;gt;();&#xA;        container.Register&amp;lt;IProductMapper, ProductMapper&amp;gt;();&#xA;        container.Register&amp;lt;IFieldUpdater, FieldUpdater&amp;gt;();&#xA;        container.Register(typeof(IRepository&amp;lt;Product&amp;gt;), typeof(ProductRepository));&#xA;        container.RegisterMvcControllers(Assembly.GetExecutingAssembly());&#xA;        container.RegisterMvcIntegratedFilterProvider();&#xA;        container.Verify();&#xA;&#xA;        DependencyResolver.SetResolver(new SimpleInjectorDependencyResolver(container));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [EnableCors(origins: &quot;*&quot;, headers: &quot;*&quot;, methods: &quot;*&quot;)]&#xA;[ServicesController]&#xA;public class ProductServiceController : EntityService&amp;lt;Product&amp;gt;&#xA;{&#xA;    public ProductServiceController(IRepository&amp;lt;Product&amp;gt; repository) : base(repository)&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sample from Repository&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ProductRepository : Sitecore.Services.Core.IRepository&amp;lt;Product&amp;gt;&#xA;{&#xA;    private IProductsReader productsReader;&#xA;    private IProductsUpdater productsUpdater;&#xA;    private IProductsCreator productsCreator;&#xA;&#xA;    public ProductRepository(IProductsReader productsReader, IProductsUpdater productsUpdater, IProductsCreator productsCreator)&#xA;    {&#xA;        this.productsReader = productsReader;&#xA;        this.productsUpdater = productsUpdater;&#xA;        this.productsCreator = productsCreator;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks!&#xA;Dan&lt;/p&gt;&#xA;" OwnerUserId="1844" LastEditorUserId="1844" LastEditDate="2017-05-15T20:08:55.540" LastActivityDate="2017-05-15T20:08:55.540" Title="IOC (Simple Injector) with EntityService" Tags="|controller|dependency-injection|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5651" PostTypeId="1" AcceptedAnswerId="5657" CreationDate="2017-05-10T22:40:47.440" Score="2" ViewCount="317" Body="&lt;p&gt;I had a method which worked fine in 8.0 but now is throwing an error in 8.2 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The method is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool AddPageEvent(Guid DefinitionId, Guid PageEventItemId, string PageEventName, string PageEventData, string PageEventText) {&#xA;    try&#xA;    {&#xA;        Assert.IsNotNull(Tracker.Current, &quot;Tracker.Current&quot;);&#xA;        Assert.IsNotNull(Tracker.Current.Session, &quot;Tracker.Current.Session&quot;);&#xA;        var interaction = Tracker.Current.Session.Interaction;&#xA;        Assert.IsNotNull(interaction, &quot;Tracker.Current.Session.Interaction&quot;);&#xA;        Assert.IsNotNull(interaction.CurrentPage, &quot;Tracker.Current.Session.Interaction.CurrentPage&quot;);&#xA;        var pageEventData = new PageEventData(PageEventName, DefinitionId)&#xA;        {&#xA;            ItemId = PageEventItemId,&#xA;            Data = PageEventData,&#xA;            Text = PageEventText&#xA;        };&#xA;        interaction.CurrentPage.Register(pageEventData);&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        Log.Error(&quot;MySite.Analytics.PageEvents.AddPageEvent&quot;, ex, this);&#xA;        return false;&#xA;    }&#xA;    return true;&#xA;}   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The following error is being thrown on the first &lt;code&gt;Assert.IsNotNull&lt;/code&gt; :  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.InvalidOperationException Message: Tracker.Current&#xA;  Source: MySite.Analytics    at MySite.Analytics.PageEvents.AddPageEvent(Guid&#xA;  DefinitionId, Guid PageEventItemId, String PageEventName, String&#xA;  PageEventData, String PageEventText) in&#xA;  C:\SRC\Main\Sitecore\MySite.Analytics\PageEvents.cs:line 27&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any ideas why this would throw this error in 8.2?&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2017-05-11T08:59:28.997" Title="New error being thrown after upgrade to 8.2" Tags="|xdb|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5652" PostTypeId="1" AcceptedAnswerId="5654" CreationDate="2017-05-10T23:21:15.407" Score="5" ViewCount="3285" Body="&lt;p&gt;Because of EU legislation, sometimes you have to block tracking cookies from being deployed. In Sitecore's case this would mean the SC_ANALYTICS_GLOBAL_COOKIE, since it's not absolutely necessary for the functioning of the site (it's necessary for analytics/personlization).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking through Sitecore, this cookie is deployed by the &lt;code&gt;Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureDevice&lt;/code&gt; pipeline. But I always dislike overriding Sitecore pipeline if I can avoid it (rather add pipepeline components if necessary).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, have you found other/better ways to to block the SC_ANALYTICS_GLOBAL_COOKIE from being deployed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Secondary Answer (Edit):&lt;/strong&gt; &#xA;The link provided by sestocker in the comment has excellent options, such as settig Tracker.Enable to false in the pre-initialization stage of your page, etc. Those work really well for disabling the SC_ANALYTICS_GLOBAL_COOKIE, but Sitecore Climbers answer also works, and will help with for example the #lang cookie, since there's no switch to turn that one off.  &lt;/p&gt;&#xA;" OwnerUserId="1342" LastEditorUserId="1342" LastEditDate="2017-05-23T17:11:46.533" LastActivityDate="2018-09-28T15:47:33.510" Title="Ways to block SC_ANALYTICS_GLOBAL_COOKIE from being deployed?" Tags="|experience-analytics|pipelines|cookies|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5653" PostTypeId="2" ParentId="5650" CreationDate="2017-05-11T03:02:45.643" Score="1" Body="&lt;p&gt;It's not Sitecore best practice to modify the &lt;code&gt;global.ascx&lt;/code&gt; file. In 8.2 &lt;code&gt;global.ascx&lt;/code&gt; has been moved private so you no longer allowed to modify the &lt;code&gt;global.ascx&lt;/code&gt; anymore. You should build it all and register it with the initialization pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are on 8.2, you can use the DI built into Sitecore itself. See it &lt;a href=&quot;https://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you still want to use Simple Injector, the code below should work for you. I have used it in 7.2 up to 8.2.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;InitializeDependencyInjectionArgs.cs&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines;&#xA;&#xA;namespace Foundation.DependancyInjection.IoC&#xA;{&#xA;    public class InitializeDependencyInjectionArgs : PipelineArgs&#xA;    {&#xA;        public SimpleInjector.Container Container { get; set; }&#xA;&#xA;        public InitializeDependencyInjectionArgs(SimpleInjector.Container container)&#xA;        {&#xA;            this.Container = container;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;InitializeDependencyInjection.cs&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using SimpleInjector.Integration.Web;&#xA;&#xA;namespace Foundation.DependancyInjection.IoC&#xA;{&#xA;    using System;&#xA;    using System.Linq;&#xA;    using System.Web.Mvc;&#xA;    using Sitecore.Pipelines;&#xA;    using Services;&#xA;    using SimpleInjector;&#xA;    using SimpleInjector.Integration.Web.Mvc;&#xA;&#xA;    public class InitializeDependencyInjection&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            // Create the container&#xA;            var container = Container.CreateContainer();&#xA;            container.Options.DefaultScopedLifestyle = new WebRequestLifestyle();&#xA;&#xA;            // Register Mvc controllers (all assemblies in your solution)&#xA;            var assemblies = AppDomain.CurrentDomain.GetAssemblies()&#xA;                .Where(a =&amp;gt; a.FullName.StartsWith(&quot;Client.Web&quot;));&#xA;&#xA;            container.RegisterMvcControllers(assemblies.ToArray());&#xA;&#xA;            // Register Mvc filter providers&#xA;            container.RegisterMvcIntegratedFilterProvider();&#xA;&#xA;            container.Register&amp;lt;ISearchService, SearchService&amp;gt;();&#xA;&#xA;            // Verify if the container&#xA;            container.Verify();&#xA;&#xA;            // Set the ASP.NET dependency resolver&#xA;            DependencyResolver.SetResolver(new SimpleInjectorDependencyResolver(container));&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;container.cs&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Foundation.DependancyInjection.IoC&#xA;{&#xA;    using System;&#xA;&#xA;    public static class Container&#xA;    {&#xA;        private static SimpleInjector.Container configuration;&#xA;&#xA;        public static SimpleInjector.Container CreateContainer()&#xA;        {&#xA;            configuration = new SimpleInjector.Container();&#xA;            return configuration;&#xA;        }&#xA;&#xA;        public static T Resolve&amp;lt;T&amp;gt;() where T : class&#xA;        {&#xA;            return configuration.GetInstance&amp;lt;T&amp;gt;();&#xA;        }&#xA;&#xA;        public static object Resolve(Type type)&#xA;        {&#xA;            return configuration.GetInstance(type);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The config to bring it all together&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Foundation.DependancyInjection.IoC.InitializeDependencyInjection, Foundation.DependancyInjection&quot;&#xA;                patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeControllerFactory, Sitecore.Mvc']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="70" LastEditDate="2017-05-12T13:00:46.020" LastActivityDate="2017-05-12T13:00:46.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5654" PostTypeId="2" ParentId="5652" CreationDate="2017-05-11T04:54:49.340" Score="9" Body="&lt;p&gt;You can create your own class: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ClearCookieHttpModule : IHttpModule&#xA;{&#xA;        public void Dispose() { }&#xA;&#xA;        public void Init(HttpApplication context)&#xA;        {&#xA;                //hook end request&#xA;                context.EndRequest += new EventHandler(OnEndRequest);&#xA;        }&#xA;&#xA;        void OnEndRequest(object sender, EventArgs e)&#xA;        {&#xA;                if (clearCookies)&#xA;                {&#xA;                        HttpApplication app = (HttpApplication)sender;&#xA;                        var request = app.Request;&#xA;&#xA;                        foreach (var cookieName in response.Cookies.AllKeys)&#xA;                        {&#xA;                                if (cookieName == &quot;SC_ANALYTICS_GLOBAL_COOKIE&quot; ||&#xA;                                        &quot;SC_ANALYTICS_SESSION_COOKIE&quot;)&#xA;                                {&#xA;                                        response.Cookies.Remove(cookie);&#xA;                                }&#xA;                        }&#xA;                }&#xA;        }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;you have to create your own httpModule: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;modules&amp;gt;&#xA;      &amp;lt;add type=&quot;ClearCookieHttpModule, AssemblyName&quot; name=&quot;ClearCookieHttpModule&quot;/&amp;gt;&#xA;    &amp;lt;/modules&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://derekdysart.com/disabling-the-sitecore-analytics-cookie/&quot; rel=&quot;noreferrer&quot;&gt;http://derekdysart.com/disabling-the-sitecore-analytics-cookie/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-11T04:54:49.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5655" PostTypeId="1" AcceptedAnswerId="5658" CreationDate="2017-05-11T07:11:05.020" Score="7" ViewCount="1129" Body="&lt;p&gt;I was wondering if anybody knows how to set up a multilingual site that switches languages but doesnt make the language switch persistent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I want &lt;code&gt;www.mysite.com&lt;/code&gt; to show the english page and &lt;code&gt;www.mysite.com/sv-se&lt;/code&gt; to show the Swedish. But if I visit &lt;code&gt;www.mysite.com/page&lt;/code&gt; after visiting a Swedish page it should show the English (default) page again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I set the &lt;code&gt;languageEmbedding=&quot;always&quot;&lt;/code&gt; I am halfway there, but I cant figure out how to disable the content language change from being persistent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1597" LastEditorUserId="1899" LastEditDate="2017-05-11T20:28:21.423" LastActivityDate="2017-05-11T20:28:21.423" Title="Multiple Languages per site, not persistant language" Tags="|multilingual|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5656" PostTypeId="2" ParentId="5651" CreationDate="2017-05-11T08:26:07.720" Score="1" Body="&lt;p&gt;It can happen when the Tracker is not active. So you need the following check and start the Tracking if it is not active.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!Tracker.IsActive)&#xA;{&#xA;    Tracker.StartTracking();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also a good practice the check the Tracker is enabled or not. Before start tracking you can check it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!Tracker.Enabled)&#xA;{&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-05-11T08:26:07.720" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5657" PostTypeId="2" ParentId="5651" CreationDate="2017-05-11T08:52:21.437" Score="2" Body="&lt;p&gt;It looks like I'va got the same issue. I've fixed that with the following code. Thy this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool AddPageEvent(Guid DefinitionId, Guid PageEventItemId, string PageEventName, string PageEventData, string PageEventText)&#xA;    {&#xA;        try&#xA;        {&#xA;            //check id tracker is active. start it if it is not.&#xA;            if (!Sitecore.Analytics.Tracker.IsActive)&#xA;            {&#xA;                Sitecore.Analytics.Tracker.StartTracking();&#xA;            }&#xA;&#xA;            //ensure that tracker has a CurrentPage and already activated&#xA;            if (Sitecore.Analytics.Tracker.IsActive &amp;amp;&amp;amp; Sitecore.Analytics.Tracker.Current.CurrentPage != null)&#xA;            {                    &#xA;                if (PageEventItemId != Guid.Empty) {&#xA;&#xA;                    var pageEventData = new Sitecore.Analytics.Data.PageEventData(PageEventName)&#xA;                    {&#xA;                        ItemId = PageEventItemId,&#xA;                        Data = PageEventData,&#xA;                        Text = PageEventText&#xA;                    };&#xA;&#xA;                    var pageEventsRow = Tracker.Current.CurrentPage.Register(pageEventData);                         &#xA;                    Sitecore.Analytics.Tracker.Current.Interaction.AcceptModifications(); &#xA;                }&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(&quot;MySite.Analytics.PageEvents.AddPageEvent&quot;, ex, this);&#xA;            return false;&#xA;        }&#xA;        return true;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-05-11T08:59:28.997" LastActivityDate="2017-05-11T08:59:28.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5658" PostTypeId="2" ParentId="5655" CreationDate="2017-05-11T09:28:03.420" Score="13" Body="&lt;p&gt;Try the following solution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to override &lt;strong&gt;Sitecore.Pipelines.PreprocessRequest.StripLanguage&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using Sitecore.Globalization;&#xA;using Sitecore.Web;&#xA;using System.Web;&#xA;using Sitecore;&#xA;using Sitecore.Pipelines.PreprocessRequest;&#xA;&#xA;namespace YourProject&#xA;{&#xA;public class StripLanguage : Sitecore.Pipelines.PreprocessRequest.StripLanguage&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;Processes the specified arguments.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;    public override void Process(PreprocessRequestArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;&#xA;        Language language = StripLanguage.ExtractLanguage(args.Context.Request);&#xA;        if (language == (Language) null)&#xA;        {&#xA;            //if url doesn't contain language name, we will set the default language&#xA;            language = Sitecore.Globalization.Language.Parse(&quot;en&quot;);&#xA;        }&#xA;        Context.Language = language;&#xA;        Context.Data.FilePathLanguage = language;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Extracts the language from the file path of the current request.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;request&quot;&amp;gt;The HTTP request.&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;The language.&amp;lt;/returns&amp;gt;&#xA;    private static Language ExtractLanguage(HttpRequest request)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)request, &quot;request&quot;);&#xA;        string languageName = WebUtil.ExtractLanguageName(request.FilePath);&#xA;        if (string.IsNullOrEmpty(languageName))&#xA;            return (Language)null;&#xA;        Language result;&#xA;        if (!Language.TryParse(languageName, out result))&#xA;            return (Language)null;&#xA;        return result;&#xA;    }&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need to replace the Sitecore's StripLanguage with your implementation. Add the following CustomStripLanguageProcessor.config file into the include folder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;!--Pipelines--&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;preprocessRequest&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Pipelines.PreprocessRequest.StripLanguage, Sitecore.Kernel&quot; &amp;gt;&#xA;          &amp;lt;patch:delete/&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourProject.StripLanguage, YourProject&quot; /&amp;gt;&#xA;      &amp;lt;/preprocessRequest&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, when your url have the &lt;strong&gt;/sv-se/&lt;/strong&gt; , the Swedish language will be set as a context language. But if it is not, the default language will be used.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-05-11T09:28:03.420" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5659" PostTypeId="2" ParentId="5655" CreationDate="2017-05-11T09:35:56.943" Score="4" Body="&lt;p&gt;One way to solve this could be by placing a custom processor in the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline after the LanguageResolver (&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.HttpRequest.LanguageResolver, Sitecore.Kernel&quot;/&amp;gt;&lt;/code&gt;). You let Sitecore resolve the language first, and you switch the language based on your custom business rules - in this case that rule should be that if the url did not contain a language the language should always be English.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to check in your custom resolver that the url is not a Sitecore url, you don't want to mess with those.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But: if you really have urls with and without language, you should also think about &lt;strong&gt;duplicate content&lt;/strong&gt;. So you should actually redirect those pages to a url with the language included or at least put a canonical url in the head.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would decide to redirect, another option could be to use the &lt;code&gt;IIS rewrite module&lt;/code&gt;. You could create a rule that checks if &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the url begins with /en/ or /sv-se/ (one of the languages allowed) &lt;/li&gt;&#xA;&lt;li&gt;and is not a media request or a Sitecore related request &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;and redirect that to a url with /en/ in front...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-05-11T09:35:56.943" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5660" PostTypeId="1" AcceptedAnswerId="5661" CreationDate="2017-05-11T09:50:27.363" Score="2" ViewCount="334" Body="&lt;p&gt;Below are the possible ways to expose sitecore data to third party:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Item Web API&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Client Services&lt;/li&gt;&#xA;&lt;li&gt;Data exchange framework&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Data Providers&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I've following challenges to implement these approaches:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Item Web API&lt;/strong&gt; -&gt; As per my knowledge we can't customize this so I am not using this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Client Services&lt;/strong&gt; -&gt; Can we customize this and expose through Asp.net Web API? If yes then any reference to kick start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Data exchange framework&lt;/strong&gt; -&gt; I used to import data from xml but how to expose sitecore data to third party?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Data Providers&lt;/strong&gt; -&gt; I've gone through &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/when-to-implement-data-providers-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;John West&lt;/a&gt; article but it seems Sitecore Data Providers is not suitable approach to expose data to third party. If you have different thoughts then please share.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apart from this, is there any other approach that we can use? &lt;/p&gt;&#xA;" OwnerUserId="803" LastActivityDate="2017-05-11T10:26:58.417" Title="Expose Sitecore/Sitecore Commerce Items to third party by using custom API" Tags="|data-exchange-framework|sitecore-services-client|data-provider|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5661" PostTypeId="2" ParentId="5660" CreationDate="2017-05-11T10:26:58.417" Score="1" Body="&lt;p&gt;Sitecore Client Services is the one you need to be looking at. There might be a way with DXF as well but I am not too familiar with it.&lt;/p&gt;&#xA;&lt;p&gt;As for Sitecore Client Services:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Sitecore.Services.Client provides a service layer on both the server and the client side of Sitecore applications that you use to develop data-driven applications.&lt;/p&gt;&#xA;&lt;p&gt;Sitecore.Services.Client is configurable and extendable, and the framework and scaffolding it provides help you create the client-server communication in an application in a consistent way. Sitecore.Services.Client uses the &lt;strong&gt;ASP.NET Web API&lt;/strong&gt; as a foundation.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;A few links:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Services.Client&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/75/developer%27s_guide_to_sitecore.services.client_sc75-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Developer's Guide to Sitecore.Services.Client&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;On a final note; you can expose data through pretty much any means allowed by regular ASP.NET. So Web Services and so on. Sitecore Client Services just provides you with a framework to jumpstart things a bit.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-05-11T10:26:58.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5662" PostTypeId="2" ParentId="5646" CreationDate="2017-05-11T13:08:05.330" Score="1" Body="&lt;p&gt;I've found an easy solution in the end - simply use an appropriate Merge Tool for XML files. In my case I've used the &lt;a href=&quot;https://osocorporation.com/xmlmerge/downloads.php&quot; rel=&quot;nofollow noreferrer&quot;&gt;OSO XML Merge Tool&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/zjU9V.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above tool can also be used for regular VS project files.&lt;/p&gt;&#xA;" OwnerDisplayName="user1475" LastActivityDate="2017-05-11T13:08:05.330" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5663" PostTypeId="1" AcceptedAnswerId="5666" CreationDate="2017-05-11T13:41:19.857" Score="0" ViewCount="398" Body="&lt;p&gt;I want to get the VisitorIdentification html string in my C# code. So I do the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var viewContext = Sitecore.Mvc.Common.ContextService.Get().GetCurrent&amp;lt;ViewContext&amp;gt;();&#xA;var htmlHelper = new HtmlHelper(viewContext, new Sitecore.Mvc.Presentation.ViewDataContainer(viewContext.ViewData));&#xA;var sitecoreHelper = htmlHelper.Sitecore();&#xA;var result = sitecoreHelper.VisitorIdentification().ToHtmlString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the &lt;code&gt;result&lt;/code&gt; is just an empty string. Of course, the string should be something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link href='/layouts/System/VisitorIdentification.aspx' rel='stylesheet' type='text/css' /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How do I get this result?&lt;/p&gt;&#xA;" OwnerDisplayName="user103" LastActivityDate="2017-05-11T14:06:24.163" Title="VisitorIdentification is empty" Tags="|xdb|presentation|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5664" PostTypeId="2" ParentId="5650" CreationDate="2017-05-11T13:50:00.657" Score="3" Body="&lt;p&gt;While @dnstommy is correct, what you are doing is &lt;em&gt;not&lt;/em&gt; best practice and you really should refactor if you can to use a pipeline approach. The answer to your question is in this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;container.RegisterMvcControllers(Assembly.GetExecutingAssembly());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With that you are only registering MVC Controllers that live in the website project. Its hard to tell because you have not included namespaces in your examples, but if your controller is in a different assembly, it will not get registered with Simple Injector and give you the exact error you are getting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To register all controllers in your solution you can use this code from @dnstommys answer:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Register Mvc controllers (all assemblies in your solution)&#xA;var assemblies = AppDomain.CurrentDomain.GetAssemblies()&#xA;    .Where(a =&amp;gt; a.FullName.StartsWith(&quot;PATTERN TO YOUR PROJECT ASSEMBLIES&quot;));&#xA;container.RegisterMvcControllers(assemblies.ToArray());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will work either in the &lt;code&gt;Global.asax&lt;/code&gt; or in the pipeline method. You should not add a default constructor to your controller as then none of your dependencies would be injected into the controller and it still would not work. It just needs registering with the container properly.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-05-11T13:50:00.657" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5665" PostTypeId="2" ParentId="5646" CreationDate="2017-05-11T13:58:07.497" Score="2" Body="&lt;p&gt;I have been testing using unicorn for site content and TDS, in a Helix format, for templates/layouts/etc.... It reduces the merge conflicts a lot. Unicorn for content because content is changing A LOT in dev. And Helix so I don't have 10 developers in 1 TDS project. I have 35 TDS projects with a minimal number of developers and conflicts.&lt;/p&gt;&#xA;&lt;p&gt;Making my life a lot easier.&lt;/p&gt;&#xA;&lt;p&gt;Do have to remember to sync TDS before unicorn because the templates that unicorn needs are in TDS.&lt;/p&gt;&#xA;&lt;h2&gt;How to do it&lt;/h2&gt;&#xA;&lt;h3&gt;Unicorn&lt;/h3&gt;&#xA;&lt;p&gt;You can install unicorn into your solution via Nuget.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Install-Package Unicorn -Version 3.3.2&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This will install the dlls and some sample configs. What you want is a unicorn serialization config that only does content. I great example of that is the &lt;a href=&quot;https://github.com/Sitecore/Habitat/&quot; rel=&quot;nofollow noreferrer&quot;&gt;official habitat solution&lt;/a&gt;. For each project in Helix you will have a config that deals with just content. For Habitat that config is &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Project/Habitat/code/App_Config/Include/Project/Habitat.Website.Serialization.config&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat.Website.Serialization.config&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This is an example of that config. What you want is for unicorn to keep track of the site content and media. This will make it so any developer who adds, removes or updates content in the dev solution, will automatically get that updated in source control. This make merging content very easy.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;            &amp;lt;configurations&amp;gt;&#xA;                &amp;lt;configuration name=&amp;quot;Project.Habitat.Website&amp;quot; description=&amp;quot;Habitat content&amp;quot; &amp;gt;&#xA;                    &amp;lt;targetDataStore physicalRootPath=&amp;quot;$(sourceFolder)\project\habitat\serialization&amp;quot; type=&amp;quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&amp;quot; useDataCache=&amp;quot;false&amp;quot; singleInstance=&amp;quot;true&amp;quot; /&amp;gt;&#xA;                    &amp;lt;predicate type=&amp;quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&amp;quot; singleInstance=&amp;quot;true&amp;quot;&amp;gt;&#xA;                        &amp;lt;include name=&amp;quot;Habitat.Website.Content&amp;quot; database=&amp;quot;master&amp;quot; path=&amp;quot;/sitecore/content/Habitat&amp;quot; /&amp;gt;&#xA;                        &amp;lt;include name=&amp;quot;Habitat.Website.Media&amp;quot; database=&amp;quot;master&amp;quot; path=&amp;quot;/sitecore/media library/Habitat&amp;quot; /&amp;gt;&#xA;                    &amp;lt;/predicate&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;/configurations&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You an find more info on unicorn is &lt;a href=&quot;https://github.com/kamsar/Unicorn&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;TDS&lt;/h3&gt;&#xA;&lt;p&gt;For TDS and Helix, lucky for us Hedgehog has taken the Helix solution and TDS'ified it. You can find that branch in Hedgehogs &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/feature/sean-poc-not-working&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix fork&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Specifially, looking at this &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/feature/sean-poc-not-working/src/Feature/Accounts&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;, you can see how TDS is used in a feature in Helix. Each feature, foundation and project project gets  its own TDS project in a folder called tds. The only thing that the tds project would track is just the templates, layouts, renderings, etc... for this feature. This limits the number of developers who would be updating this single TDS project.&lt;/p&gt;&#xA;&lt;p&gt;To deploy all the projects, I am using a platform TDS project that uses the &lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#package-bundling&quot; rel=&quot;nofollow noreferrer&quot;&gt;package bundling&lt;/a&gt; feature of TDS to bring all the TDS projects together into one single .update file that you can send to production.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-05-11T16:53:56.193" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5666" PostTypeId="2" ParentId="5663" CreationDate="2017-05-11T14:06:24.163" Score="4" Body="&lt;p&gt;You are definitely moving into unsupported waters here. The output of &lt;code&gt;VisitorIdentification&lt;/code&gt; is dependent on a lot of different facors; not the least of which is &lt;code&gt;Robots Detection&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I can tell; just asking for a rendered output of the control is not going to work, unless prior steps have happened to activate the &lt;code&gt;Tracker&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I encourage you to share the actual business case you're working to solve here, and open up for a better answer to your question. Until then, this is how you render the above. Use at your own risk.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;untested code&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (Sitecore.Web.UI.HtmlControls.Page page = new Sitecore.Web.UI.HtmlControls.Page())&#xA;{&#xA;      System.Web.UI.Control identificationControl = page.LoadControl(&quot;~/layouts/system/VisitorIdentification.ascx&quot;);&#xA;&#xA;      if (identificationControl != null)&#xA;      {&#xA;        HtmlForm htmlForm = new HtmlForm();&#xA;        page.Controls.Add((System.Web.UI.Control) htmlForm);&#xA;        htmlForm.Controls.Add(identificationControl);&#xA;        return new HtmlString(HtmlUtil.RenderControl(identificationControl));&#xA;      }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But you might as well just do the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;output.Write(&quot;&amp;lt;link href=\&quot;/layouts/System/VisitorIdentification.aspx\&quot; rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot; /&amp;gt;&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As nothing in the above; is actually guaranteed to reflect any changes in logic from Sitecore's end. Nor are any cookies written - something the normal VisitorIdentification control would do - and this cannot be captured in a &lt;code&gt;HtmlString&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-11T14:06:24.163" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5667" PostTypeId="1" AcceptedAnswerId="5668" CreationDate="2017-05-11T14:19:47.010" Score="0" ViewCount="230" Body="&lt;p&gt;Do I need Read access to an item if I need codebehind to get that item programatically?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Context.Database.GetItem(ID)&lt;/code&gt; will return null if I don't put read access on the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code worked before upgrade from sitecore 7.2 to 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone confirm that you need read access to the item you want to get since a release after 7.2?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not, any idea why it worked on Sitecore 7.2?&lt;/p&gt;&#xA;" OwnerUserId="756" LastEditorUserId="73" LastEditDate="2017-05-11T19:36:42.560" LastActivityDate="2017-05-11T19:36:42.560" Title="Sitecore read access to get items, Sitecore 8.2u2" Tags="|security|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5668" PostTypeId="2" ParentId="5667" CreationDate="2017-05-11T14:55:45.543" Score="4" Body="&lt;p&gt;Calls through the Sitecore API will take the security settings into account so you'll need to have read access to the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get around this by using the &lt;code&gt;SecurityDisabler&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using(Sitecore.SecurityModel.SecurityDisabler()){&#xA;  Sitecore.Context.Database.GetItem(ID)&#xA;  ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-05-11T14:55:45.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5669" PostTypeId="1" AcceptedAnswerId="5670" CreationDate="2017-05-11T17:38:52.030" Score="3" ViewCount="611" Body="&lt;p&gt;I have a scenario where each page of a site has a checkbox for &quot;is in header&quot; and &quot;is in footer&quot;. The universe of items that needs to be traversed is a couple of hundred in nature, and I'm looking for the most efficient way to retrieve them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, I'm using foreach loops, but there's four levels of hierarchy I need to go through, so going through the children of each is not the most efficient method and takes a few seconds per page load. I've got caching on the rendering going, but while that hides the issue, it doesn't solve it from a code perspective.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been looking at Sitecore Query and the like as an option as well. I know fast query won't work because the data won't maintain its hierarchy, but I also see that Sitecore Query is slow. Also, I read that using Axes.Descendants and the like is slow as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thought I had was to read the entire tree into a single object and cache it with .NET caching, but then there's an issue of security rights for a particular user...you'd need to use the SecurityDisabler to get the whole universe, then when outputting it somehow compare the logged-in user to the tree and exclude anything they don't have read rights to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last option might work, if someone can point me in that direction for manually checking if a user has rights to an item. Beyond that, does anyone have a suggestion for running this efficiently?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-05-12T00:21:17.233" Title="Creating a very large footer menu efficiently" Tags="|caching|sitecore-query|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5670" PostTypeId="2" ParentId="5669" CreationDate="2017-05-11T18:02:45.120" Score="8" Body="&lt;p&gt;The question is quite broad and there are many ways you can achieve this obviously (you mentioned sitecore query and foreach loop). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option would be to use the sitecore content search (with rendering cache on top, of course). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, you can define your custom POCO object with &lt;strong&gt;IsInFooter&lt;/strong&gt; and &lt;strong&gt;IsInHeader&lt;/strong&gt; fields and query your index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Simplified code &lt;em&gt;(without declaring the context)&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var items = searchContext.GetQueriable&amp;lt;MySearchResultItem&amp;gt;().Where(x=&amp;gt;x.IsInHeader).ToList()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-05-11T18:02:45.120" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5671" PostTypeId="2" ParentId="5669" CreationDate="2017-05-11T19:30:48.647" Score="6" Body="&lt;p&gt;There are only two viable options; short of simply not building up navigation structures in this manner. I would normally have any form of navigation being components of their own, and have a menu hierarchy of navigational items define what they show. But that's a separate story.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Content Search&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As already demonstrated by @Andrey Bobrov. Performance wise, this is your second best option.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Link Database&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;But you would need to change your two Checkbox fields to one Multilist field, where you would then &quot;tag&quot; your items with &quot;HeaderNavigation&quot; and &quot;FooterNavigation&quot;. Advantage being; you could then easily expand upon this taxonomy later, should you desire.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once tagged like this, you could retrieve the required items using LinkDatabase, which would outperform any other option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example found here: &lt;a href=&quot;http://intothecore.cassidy.dk/2016/05/effective-use-of-sitecore-linkdatabase.html&quot; rel=&quot;noreferrer&quot;&gt;Effective use of Sitecore LinkDatabase&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Do not - ever...&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Use Sitecore Query at runtime. That includes fast:/ query.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-11T19:30:48.647" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5672" PostTypeId="2" ParentId="5669" CreationDate="2017-05-11T21:15:35.070" Score="1" Body="&lt;p&gt;I am going to approach this from a different perspective than the code channel. And focus on the performance building the footer on the server and the rendering speed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Build your footer using the best code practices that fit into your organization optimizing as much as possible. And then you cache the output of the footer rendering using Sitecore rendering caching options. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You did mention that you might be security trimming pages based on a users permissions. In that case you can set the key for caching to be by user. When a user publishes to the CD server, the cache will be cleared and the footer will re-render. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WQ1mU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WQ1mU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-05-11T22:33:03.907" LastActivityDate="2017-05-11T22:33:03.907" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5673" PostTypeId="1" AcceptedAnswerId="6217" CreationDate="2017-05-11T21:20:00.987" Score="4" ViewCount="598" Body="&lt;p&gt;I have been working to get a Powershell script to execute through a workflow action in Sitecore and I'm running into an issue. Previously I was able to insert a new Powershell action from the provided template. Having it as a direct child of a Workflow state worked pretty well. When moving my content item to that workflow state, I got the &quot;script running&quot; dialog and things behaved accordingly. Made total sense and worked pretty well out of the box for me. Good directions were provided here:&#xA;&lt;a href=&quot;https://doc.sitecorepowershell.com/v/v4.5.0/workflows.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/v/v4.5.0/workflows.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed when I moved this over to my production environment, the Powershell workflow action wouldn't run. I checked and my production environment was on (SPE) 4.3. My dev environment was still on 4.1. Just to see, I upgraded my dev environment to 4.5 and encountered the same issue of the action not running. Nothing in the logs that I could find. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reading the release notes, it says there were some pretty significant security updates for 4.3. My going theory is that my workflow actions were previously mis-configured in regards to permissions and security but ran anyway. Now that there's a security update, what can I troubleshoot to help solve the problem? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I configured workflow command execute access on the Powershell Action item and assigned it to the right user group. &lt;/li&gt;&#xA;&lt;li&gt;I've tried using a variety of accounts (admin and non) to pass the item into the workflow state.&lt;/li&gt;&#xA;&lt;li&gt;I've tried making the action a direct child of a workflow command.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'm on sitecore version 8.0 update 6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your time. Any pointers are appreciated! Given that 4.5 has the most up-to-date security, I would like to use that version. &lt;/p&gt;&#xA;" OwnerUserId="1900" LastEditorUserId="73" LastEditDate="2017-05-12T08:51:39.330" LastActivityDate="2017-08-13T01:11:48.387" Title="Sitecore Powershell Workflow Actions Not Executing" Tags="|powershell-extensions|workflow|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5674" PostTypeId="2" ParentId="5669" CreationDate="2017-05-12T00:21:17.233" Score="1" Body="&lt;p&gt;So I accepted an answer because I think it's the overall best one, but I wanted to share a solution I came up with. It involved keeping the foreach loops nested, but moving it to a static class that's cached with MemoryCache for an hour. I use SecurityDisabler to ensure I'm getting the entire tree and passing the values I need into my own POCO.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The trick around the security bit I used was to add a field called Security, and passing in the item's Security value. Then, when I loop through to create the output in my CSHTML file, I add a check like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;navItems.Subpages.Where(x =&amp;gt; x.Security.CanRead(user)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;user&lt;/code&gt; is the &lt;code&gt;Sitecore.Context.User&lt;/code&gt;. This is working as I'd expect, and the speed of the page load is comparable to using the Sitecore rendering caching (cacheable and cache by user, as suggested in another answer). The one advantage is that instead of each user having to get spun up once before the rendering hits, only the first user in gets the small hit, then everyone benefits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd be curious to others' thoughts on this. I know I'm describing a bit abstractly, but everyone's given some great feedback on the topic.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-05-12T00:21:17.233" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5675" PostTypeId="1" CreationDate="2017-05-12T08:17:14.703" Score="4" ViewCount="554" Body="&lt;p&gt;We have many Sitecore admin users in Sitecore. I want Full site publish only allowed to some admin users and not to all admin users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can't hide the &quot;Publish Site&quot; option as some of the admin require to access it. When any other admin user, who is not from authorized admin user list, try to publish the full site, I want to cancel the publish operation itself. Below is the code which I am referring to cancel the operation on publish:begin event, but unfortunately, its not cancelling the publishing operation?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnPublishStart(object sender, EventArgs args)&#xA;    {&#xA;        try&#xA;        {&#xA;            Publisher publisher = Sitecore.Events.Event.ExtractParameter(args, 0) as Publisher;&#xA;&#xA;            if (publisher.Options.Mode == PublishMode.Full || publisher.Options.Mode == PublishMode.Smart || publisher.Options.Mode == PublishMode.Incremental)&#xA;            {&#xA;                ((SitecoreEventArgs)args).Result.Cancel = true;&#xA;&#xA;                publisher = null;&#xA;                args = null;&#xA;                sender = null;&#xA;&#xA;                return;&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(&quot;Error : &quot; + ex.ToString(), this);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do anybody have any workaround to cancel the publish site operation programmatically?&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2017-05-12T08:50:50.497" Title="How to cancel publishing site operation programatically" Tags="|publishing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5676" PostTypeId="2" ParentId="5675" CreationDate="2017-05-12T08:50:50.497" Score="5" Body="&lt;h2&gt;You need to have code in the publish item process to do it&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You won't be able to just &quot;find&quot; the task running and abort or delete it in any way - you have to get &quot;in there&quot; and interact with the task directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are ways. The most creative I've found, essentially works like this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Have a Singleton class instantiated, as part of your &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; pipeline&lt;/li&gt;&#xA;&lt;li&gt;Insert a bit of code into the &lt;code&gt;publishItem&lt;/code&gt; pipeline, checking if it should terminate (by checking on the Singleton)&lt;/li&gt;&#xA;&lt;li&gt;If so, throw an exception. This is the only way to abort the publish thread&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;With this in place, all you need is to tell the Singleton you want publishing terminated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of this is demonstrated in &lt;a href=&quot;https://github.com/mikeedwards83/Glass.PublishViewer&quot; rel=&quot;noreferrer&quot;&gt;Mike Edward's &lt;code&gt;Glass.PublishViewer&lt;/code&gt; module on GitHub&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.PublishViewer/tree/master/Glass.PublishViewer/Pipelines&quot; rel=&quot;noreferrer&quot;&gt;The Inizialize and PublishItem processors&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.PublishViewer/blob/master/Glass.PublishViewer/PublishJobManager.cs&quot; rel=&quot;noreferrer&quot;&gt;The PublishJobManager&lt;/a&gt; (the Singleton)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-12T08:50:50.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5677" PostTypeId="1" AcceptedAnswerId="5678" CreationDate="2017-05-12T09:28:04.443" Score="0" ViewCount="1670" Body="&lt;p&gt;I am quite new to sitecore and want to know if there is a way where i will just create header and footer component once and reuse them in all my pages without having to select them on individual pages.&#xA;For e.g. i have a site with 100 pages and each page having same master layout containing header and footer. I can create a base page template with header and footer rendering assigned to it but i do not want to go to individual pages and select header and footer as datasource for the rendering.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2017-05-12T13:02:07.067" Title="Data template for header and footer" Tags="|templates|" AnswerCount="1" CommentCount="3" ClosedDate="2017-05-12T14:54:21.563" ContentLicense="CC BY-SA 3.0" />
  <row Id="5678" PostTypeId="2" ParentId="5677" CreationDate="2017-05-12T09:39:24.597" Score="2" Body="&lt;p&gt;You can add a template for the header and footer datasources. Create a datasource items somewhere in your content tree. Then you need to add a &lt;code&gt;__Standard Values&lt;/code&gt; for your base page template. After that you should add the footer and header renderings at the presentation of the &lt;code&gt;__Standard Values&lt;/code&gt; and select the corresponding datasource for those. You need do that once and the other pages will inherit that from base template.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="70" LastEditDate="2017-05-12T13:02:07.067" LastActivityDate="2017-05-12T13:02:07.067" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5679" PostTypeId="2" ParentId="5264" CreationDate="2017-05-12T09:42:42.090" Score="2" Body="&lt;p&gt;What if you just patch your custom controllers into the &lt;code&gt;&amp;lt;allowedControllers&amp;gt;&lt;/code&gt; section in &lt;code&gt;Sitecore.config&lt;/code&gt;, instead of changing the Security Policy.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;api&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;            &amp;lt;configuration&amp;gt;&#xA;                  &amp;lt;allowedControllers&amp;gt;&#xA;                      &amp;lt;allowedController desc=&quot;DummyCustom&quot;&amp;gt;Namespace.DummyController, Dummy.Assembly&amp;lt;/allowedController&amp;gt;&#xA;                  &amp;lt;/allowedControllers&amp;gt;&#xA;            &amp;lt;/configuration&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;     &amp;lt;/api&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1457" LastActivityDate="2017-05-12T09:42:42.090" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5680" PostTypeId="1" CreationDate="2017-05-12T11:44:45.233" Score="1" ViewCount="166" Body="&lt;p&gt;My company decided to get more involved with Sitecore Analytics, with the goal of Personalization in mind. I have a good understanding of Sitecore in general, but I never prepared a custom report or configured the value of individual interactions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to understand how Analytics work as close to the metal as possible: how and which data is stored in the database, how to track my own custom data, how this data is queried to build the reports, and how to track the behavior of Sitecore Users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been googling around with some success, but if someone knows of comprehensive, exhaustive articles / book on the subject &lt;strong&gt;aimed at developers&lt;/strong&gt; I would be grateful.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="104" LastEditDate="2017-05-12T12:23:40.090" LastActivityDate="2017-05-12T15:00:10.680" Title="Where can I find Developer Resources for Sitecore Analytics?" Tags="|xdb|experience-analytics|mongodb|experience-profile|reporting|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5681" PostTypeId="1" CreationDate="2017-05-12T12:56:18.350" Score="1" ViewCount="856" Body="&lt;p&gt;While doing a publish from CM to CD in Azure using Sitecore 8.2 we encountered the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Publish to 'web'|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args)&#xA;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.DefaultItemManager.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item)&#xA;   at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent)&#xA;   at Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent)&#xA;   at Sitecore.Data.Items.EditContext.Dispose()&#xA;   at Sitecore.Publishing.PublishHelper.CopyToTarget(Item sourceVersion)&#xA;   at Sitecore.Publishing.PublishHelper.PublishVersionToTarget(Item sourceVersion, Item targetItem, Boolean targetCreated)&#xA;   at Sitecore.Publishing.PublishHelper.PublishVersion(Item sourceVersion)&#xA;   at Sitecore.Publishing.Pipelines.PublishItem.PerformAction.Process(PublishItemContext context)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Publishing.Pipelines.PublishItem.PublishItemPipeline.Run(PublishItemContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context, List`1&amp;amp; referrers, List`1&amp;amp; children)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.Process(PublishContext context)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Publishing.Pipelines.Publish.PublishPipeline.Run(PublishContext context)&#xA;   at Sitecore.Publishing.Publisher.PublishWithResult()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anybody know a possible cause of this / resolution?&lt;/p&gt;&#xA;" OwnerUserId="1905" LastEditorUserId="982" LastEditDate="2017-05-12T13:31:42.617" LastActivityDate="2017-05-12T13:31:42.617" Title="Job started: Publish to 'web'|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation" Tags="|publishing|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5682" PostTypeId="2" ParentId="5680" CreationDate="2017-05-12T13:12:17.253" Score="2" Body="&lt;p&gt;I will be interesting what information @Dmytro and @pete-navarra have, they have a lot of knowledge xDB as well. But I have never found a concise resource for how to write analytics in Sitecore. I spend most of my time talking in the &lt;a href=&quot;https://www.akshaysura.com/2015/10/27/how-to-join-sitecore-slack-community-chat/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Slack&lt;/a&gt; channel, decompiling Sitecore dlls and open source GitHub projects. We need someone to write a book or Sitecore to release some more guidance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your question, I would start on the &lt;a href=&quot;http://sitecore.link/analytics&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore links&lt;/a&gt; list, filtered on analytics. Its has a ton of great info that you can use to start to build your xDB implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;http://rads.stackoverflow.com/amzn/click/1784396524&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Cookbooks for developers&lt;/a&gt; has a section on xDB that can help. It shows how to create custom facets and report on them.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-12T13:12:17.253" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5684" PostTypeId="1" AcceptedAnswerId="5699" CreationDate="2017-05-13T08:29:02.373" Score="4" ViewCount="745" Body="&lt;p&gt;What is the best way to boost a template (in standard values?) when a specific search term is entered?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;eg. when a user searches on &quot;training &lt;em&gt;events&lt;/em&gt;&quot; I would like to boost all &quot;Event&quot; template pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was hoping this could have been done with &quot;Item Rules&quot; but I could not find the parameters in the rule set editor.&lt;/p&gt;&#xA;" OwnerUserId="1665" LastActivityDate="2017-05-15T15:05:16.693" Title="Boosting template based on search term" Tags="|content-search|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5685" PostTypeId="1" CreationDate="2017-05-13T11:32:09.103" Score="5" ViewCount="2980" Body="&lt;p&gt;I have created some test content in english on the sitecore site that I am working on. But I want the site to be in french, so I want to convert all the english content to french one-on-one and I want to do this without code. So I want to create a french versions with all the field content from the english versions (and thereafter I will remove the english content). I have been looking around the sitecore interface, but can't find anything for this purpose. So what is the easiest way to accomplish?  &lt;/p&gt;&#xA;" OwnerUserId="1912" LastActivityDate="2017-05-15T02:59:35.847" Title="How to convert a language item to another language" Tags="|multilingual|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5687" PostTypeId="2" ParentId="5685" CreationDate="2017-05-13T18:03:54.200" Score="5" Body="&lt;p&gt;Most easy way is to use Sitecore Powershell : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First time you need to add copy from english to french.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For recursive you can try below PowerShell script&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem /sitecore/content/home -Recurse  |&#xA;  ForEach-Object { Add-ItemLanguage $_ -Language &quot;en&quot; -TargetLanguage &quot;fr-fr&quot; -IfExist Over&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To delete old items from english you can use: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $path = &quot;master:\sitecore\content\yourpath&quot;&#xA;@(Get-Item $path) + (Get-ChildItem $path -Recurse) | Remove-ItemLanguage -Language &quot;en&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-13T18:03:54.200" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5688" PostTypeId="1" AcceptedAnswerId="5689" CreationDate="2017-05-14T00:41:29.253" Score="4" ViewCount="834" Body="&lt;p&gt;I'm using Azure search in Sitecore 8.2 update 1 version, looking for configuration to set switch on rebuild index. Every time when we do rebuilding indexes, we are seeing downtime with empty results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen switch on rebuild indexes for Lucene/Solr but not for azure search in the Sitecore documentation.&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/configure_azure_search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/configure_azure_search&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone tried on Azure search configuration to set switchonRebuild Index, Please share your thoughts.&lt;/p&gt;&#xA;" OwnerUserId="1279" LastEditorUserId="73" LastEditDate="2019-01-22T19:28:29.287" LastActivityDate="2019-01-22T19:28:29.287" Title="Switch OnRebuildIndex using Azure Search" Tags="|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5689" PostTypeId="2" ParentId="5688" CreationDate="2017-05-14T01:45:33.157" Score="5" Body="&lt;p&gt;Azure Search does not yet support (or simulate) this functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best you could do is to reconfigure your CM and build a new index name out, then update the configs on the CDs. Will likely need an AppPool recycle unless you do something tricky, so I hope you have load balancers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a bit ugly at the moment, but getting better...&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-05-14T01:45:33.157" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5691" PostTypeId="1" CreationDate="2017-05-14T13:26:24.597" Score="2" ViewCount="333" Body="&lt;p&gt;We're planning to work on a new project that'll use Azure Web Apps, we are also trying to adhere to Helix.&#xA;Since by default Azure Web Apps needs VS to do the deployment, is there a solution to deploy Helix based projects?&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2017-05-14T15:26:06.500" Title="Does Helix work with Azure Web Apps?" Tags="|helix|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5692" PostTypeId="2" ParentId="5691" CreationDate="2017-05-14T15:26:06.500" Score="10" Body="&lt;p&gt;Helix is just an software architecture pattern, it has nothing to do with how should be deployed. Your statement &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Since by default Azure Web Apps needs VS to do the deployment&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;is not true. My adivce would be to create separate web deployment packages and deploy  them using msdeploy, from your Release management solution, not directly from Visual Studio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the end of &lt;a href=&quot;http://blog.baslijten.com/sitecore-on-azure-create-custom-web-deploy-packages-using-the-sitecore-azure-toolkit/&quot; rel=&quot;noreferrer&quot;&gt;this blogpost&lt;/a&gt; you can find out how to deploy a webdeploy package: &lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2017-05-14T15:26:06.500" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5693" PostTypeId="2" ParentId="5685" CreationDate="2017-05-15T02:59:35.847" Score="2" Body="&lt;p&gt;Without code, there is a manual approach that you can do to copy paste values across.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;On the item, select the French language version. It should warn you that no versions exists.&lt;/li&gt;&#xA;&lt;li&gt;Create a new version. By default, the fields will be blank.&lt;/li&gt;&#xA;&lt;li&gt;Turn on the 'Translate' button in the ribbon and it will let you see the English and French side-by-side.&lt;/li&gt;&#xA;&lt;li&gt;Copy paste the values.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For added ease, you can enable Raw Values display so you can easily copy over GUIds and the like for select fields and media fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way, which I haven't tried before, and is incredibly hacky, would be to change all your template fields to be Shared, then create the French versions, then change the fields on the templates back to unshared. Not sure, but it might copy the values over in that scenario?&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-05-15T02:59:35.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5694" PostTypeId="1" CreationDate="2017-05-15T06:48:08.793" Score="4" ViewCount="831" Body="&lt;p&gt;What is the difference between &quot;Component definition item&quot; and &quot;Components or Rendering&quot; in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="1918" LastEditorUserId="1342" LastEditDate="2017-05-17T20:54:25.257" LastActivityDate="2017-05-17T20:54:25.257" Title="Difference between &quot;Component definition item&quot; and &quot;Components or Rendering&quot;?" Tags="|experience-editor|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5695" PostTypeId="2" ParentId="5694" CreationDate="2017-05-15T07:02:28.353" Score="5" Body="&lt;p&gt;A rendering is more than a component definition item.  it consists of a definition item in Sitecore and a file on the file system. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A view rendering is the simplest Sitecore MVC rendering type. As with all presentation items in Sitecore, a view rendering consists of a definition item in Sitecore and a file on the file system. In the case of view renderings, the file is a standard Razor view (.cshtml) which expects a model of type RenderingModel by default (but can be configured to use a custom class). The model is assembled by the Sitecore MVC pipeline - you do not create a controller and ActionResult as you would with standard ASP.NET MVC. For this reason, controller renderings may be a better choice for complex business logic .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/sitecore-mvc/view-renderings/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecore-community.github.io/docs/sitecore-mvc/view-renderings/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A controller rendering is an advanced component type that allows you to specify a controller and an action on the component definition item. The action must return a result that can be rendered  - such as a view. The controller itself does not need to inherit from a Sitecore-specific class - it is just a normal MVC controller.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/sitecore-mvc/controller-renderings/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecore-community.github.io/docs/sitecore-mvc/controller-renderings/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-15T07:02:28.353" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5696" PostTypeId="1" AcceptedAnswerId="5731" CreationDate="2017-05-15T11:42:16.523" Score="2" ViewCount="89" Body="&lt;p&gt;I created a custom report using the &quot;All visits by page&quot; Segment under the &quot;By page&quot; Dimension.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The results, however, have left me wondering; is there any way to access the code that generates the graph's data?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2018-12-20T10:08:00.573" Title="Can I view the implementation of existing Analytics Segments? And if yes, how?" Tags="|xdb|experience-analytics|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5697" PostTypeId="1" AcceptedAnswerId="5745" CreationDate="2017-05-15T11:47:38.247" Score="4" ViewCount="368" Body="&lt;p&gt;Our &lt;code&gt;Search.Log&lt;/code&gt; files are becoming huge (50-100 MB daily). In it I can see a large amount of queries regarding Contacts and Contactlists to analytics index that run 24/7. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Query - (type_t:(contact) AND (contact.tags_sm:(ContactLists\:\{088822A7\-FCA4\-4588\-932D\-048BE98FA115\}) OR (contact.tags_sm:(\{088822A7\-FCA4\-4588\-932D\-048BE98FA115\}) AND contact.tags_sm:(ContactLists~0.5))))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The queries run even if there is no editing happening so my guess is that its some process run by the EXM.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;EDIT: This issue is with List Manager, and not EXM specifically.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I would love to find out which process it is and find out if its really necessary for it to use all these resources or if its an error in configuration by me&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution is 8.2 initial release and EXM 3.4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anybody know?&lt;/p&gt;&#xA;" OwnerUserId="1597" LastEditorUserId="246" LastEditDate="2017-05-22T19:56:10.280" LastActivityDate="2017-05-22T19:56:10.280" Title="Huge Search.Log due to List Manager (while using EXM)?" Tags="|exm|logging|list-manager|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5698" PostTypeId="2" ParentId="5697" CreationDate="2017-05-15T13:50:37.527" Score="2" Body="&lt;p&gt;Sitecore uses log4net as its logging component. You can change the logging levels for different parts of the Sitecore install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the default log settings found in the &lt;code&gt;Sitecore.ContentSearch.config&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;log4net&amp;gt;&#xA;  &amp;lt;appender name=&quot;SearchLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;    &amp;lt;file value=&quot;$(dataFolder)/logs/Search.log.{date}.txt&quot;/&amp;gt;&#xA;    &amp;lt;appendToFile value=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;      &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot;/&amp;gt;&#xA;    &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;encoding value=&quot;utf-8&quot;/&amp;gt;&#xA;  &amp;lt;/appender&amp;gt;&#xA;  &amp;lt;appender name=&quot;CrawlingLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;    &amp;lt;file value=&quot;$(dataFolder)/logs/Crawling.log.{date}.txt&quot;/&amp;gt;&#xA;    &amp;lt;appendToFile value=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;      &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot;/&amp;gt;&#xA;    &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;encoding value=&quot;utf-8&quot;/&amp;gt;&#xA;  &amp;lt;/appender&amp;gt;&#xA;  &amp;lt;logger name=&quot;Sitecore.Diagnostics.Search&quot; additivity=&quot;false&quot;&amp;gt;&#xA;    &amp;lt;level value=&quot;INFO&quot;/&amp;gt;&#xA;    &amp;lt;appender-ref ref=&quot;SearchLogFileAppender&quot;/&amp;gt;&#xA;  &amp;lt;/logger&amp;gt;&#xA;  &amp;lt;logger name=&quot;Sitecore.Diagnostics.Crawling&quot; additivity=&quot;false&quot;&amp;gt;&#xA;    &amp;lt;level value=&quot;INFO&quot;/&amp;gt;&#xA;    &amp;lt;appender-ref ref=&quot;CrawlingLogFileAppender&quot;/&amp;gt;&#xA;  &amp;lt;/logger&amp;gt;&#xA;&amp;lt;/log4net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It looks like your logging level for &lt;code&gt;Sitecore.Diagnostics.Search&lt;/code&gt; is set too high. You can change this to &lt;code&gt;WARN' or&lt;/code&gt;ERROR&lt;code&gt;or even&lt;/code&gt;OFF` to reduce the number of entries. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Always make sure this is done via a patch file. For example, this would set the level to &lt;code&gt;WARN&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;log4net&amp;gt;&#xA;            &amp;lt;logger name=&quot;Sitecore.Diagnostics.Search&quot; additivity=&quot;false&quot;&amp;gt;&#xA;                &amp;lt;level&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;WARN&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/level&amp;gt;&#xA;            &amp;lt;/logger&amp;gt;&#xA;      &amp;lt;/log4net&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-05-15T13:50:37.527" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5699" PostTypeId="2" ParentId="5684" CreationDate="2017-05-15T15:05:16.693" Score="5" Body="&lt;p&gt;If we speak about the search that implimented in the code, you can use something like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public List&amp;lt;SearchResultItem&amp;gt; Search(string keyword)&#xA;{&#xA;    var sparePartsIndex = ContentSearchManager.GetIndex(IndexName);&#xA;    var sparePartsSearchContext = sparePartsIndex.CreateSearchContext();&#xA;&#xA;    var predicateRoots = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;&#xA;    //Here you can put your conditions&#xA;&#xA;    if (!string.IsNullOrWhiteSpace(keyword))&#xA;    {&#xA;&#xA;         if (keyword.Contains(&quot;root&quot;) || keyword.Contains(&quot;roots&quot;))&#xA;         {&#xA;              predicateRoots = predicateRoots.Or(itm =&amp;gt; (itm.TemplateName == &quot;Highlights Root&quot;).Boost(5));&#xA;              predicateRoots = predicateRoots.Or(itm =&amp;gt; (itm.TemplateName != &quot;Highlights Root&quot;).Boost(4));&#xA;          }&#xA;&#xA;          if (keyword.Contains(&quot;high&quot;) || keyword.Contains(&quot;high&quot;))&#xA;          {&#xA;              predicateRoots = predicateRoots.Or(itm =&amp;gt; (itm.TemplateName == &quot;Highlight&quot;).Boost(5));&#xA;              predicateRoots = predicateRoots.Or(itm =&amp;gt; (itm.TemplateName != &quot;Highlight&quot;).Boost(4));&#xA;           }&#xA;     }&#xA;&#xA;     var queryable = sparePartsSearchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(predicateRoots);&#xA;&#xA;     var searchresults = queryable.GetResults();&#xA;&#xA;     return searchresults.Hits.Select(x =&amp;gt; x.Document).ToList();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've implemented that on the test environment and it works for me:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sVvlJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sVvlJ.png&quot; alt=&quot;result of executing the search method&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to understand that method is implemented as an example and conditions can be more flexible, without a hardcodes. &lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-05-15T15:05:16.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5700" PostTypeId="1" AcceptedAnswerId="5701" CreationDate="2017-05-15T15:07:08.393" Score="4" ViewCount="990" Body="&lt;p&gt;Is there any way from an API level to obtain a list of roles which are &quot;base&quot; roles from an existing Role object? i.e. the roles which would grant inherited read access?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've noticed that when querying a users roles via &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.User.Roles&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;these inherited or &quot;base&quot; roles are not listed.&lt;/p&gt;&#xA;" OwnerUserId="1572" LastEditorUserId="890" LastEditDate="2017-05-15T19:26:14.410" LastActivityDate="2017-05-15T19:26:14.410" Title="Get base or inherited roles from Role or User object" Tags="|security|role-management|permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5701" PostTypeId="2" ParentId="5700" CreationDate="2017-05-15T15:16:13.750" Score="7" Body="&lt;p&gt;If you need to get a base roles for role, you can use the &lt;code&gt;GetRolesForRole(Role role, bool includeIndirectMembership)&lt;/code&gt; method of &lt;code&gt;RolesInRolesManager&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you need to get a base roles for each role of user, you can use something like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var role in Sitecore.Context.User.Roles)&#xA;{&#xA;    var basedRoldes = RolesInRolesManager.GetRolesForRole(role, true);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;RolesInRolesManager&lt;/code&gt; is defined at the &lt;code&gt;Sitecore.Security.Accounts&lt;/code&gt; namespace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If includeIndirectMembership flag is false, the method will return just a base roles for role. If flag is true, the method will also return a base roles of each base role.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="408" LastEditDate="2017-05-15T17:27:34.940" LastActivityDate="2017-05-15T17:27:34.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5702" PostTypeId="1" AcceptedAnswerId="5704" CreationDate="2017-05-15T16:35:59.333" Score="2" ViewCount="2642" Body="&lt;p&gt;I am trying to attach a handler/code when the Sitecore web application instance is starting up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What event is triggered when the application instance starts?&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="2727" LastEditDate="2018-02-28T21:21:27.260" LastActivityDate="2019-09-24T16:19:12.327" Title="What is the event called when application starts?" Tags="|events|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5704" PostTypeId="2" ParentId="5702" CreationDate="2017-05-15T17:56:39.040" Score="17" Body="&lt;p&gt;Ok - for attaching code to when the application starts, you have a couple of options.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Initialize Pipeline&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The standard way to do this is via the &lt;code&gt;Initialize&lt;/code&gt; pipeline. Create yourself a new processor class. It does not need to inherit from anything, but must have a public method called &lt;code&gt;Process&lt;/code&gt; that takes a &lt;code&gt;PipelineArgs&lt;/code&gt; object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DoSomethingOnStartup&#xA;{&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;        // Add your code here&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would then patch that into Sitecore via an include file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyNamespace.DoSomethingOnStartup, MyAssembley&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;WebActivatorEx&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is a slightly less Sitecorian way of doing it, but does work. Add &lt;a href=&quot;https://github.com/davidebbo/WebActivator&quot; rel=&quot;noreferrer&quot;&gt;&lt;code&gt;WebActivatorEx&lt;/code&gt;&lt;/a&gt; to your project from NuGet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create your class and add it to the &lt;code&gt;App_Start&lt;/code&gt; folder and add the &lt;code&gt;WebActivatorEx&lt;/code&gt; attribute:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Diagnostics;&#xA;using System.Web.Mvc;&#xA;using System.Web.Routing;&#xA;&#xA;[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(TestWebApp.TestStartupCode.MyStartupCode), &quot;Start&quot;,Order = 1)]&#xA;&#xA;namespace TestWebApp.TestStartupCode&#xA;{&#xA;    public static class MyStartupCode&#xA;    {&#xA;        public static bool StartCalled { get; set; }&#xA;&#xA;        public static void Start()&#xA;        {&#xA;            StartCalled = true;&#xA;            Debug.WriteLine(&quot;MyStartUpCode1&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Which to use?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It really is up to your requirements, both methods work. Using the Sitecore pipeline, means you can get access to other data in the Sitecore initialize pipeline and also you can position your startup code to run at a specific point in the start up. Its the option I would take 95% of the time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If for some reason you can't or don't want to rely on the Sitecore pipeline, &lt;code&gt;WebActivator&lt;/code&gt; is a good alternative. E.g if you are writing a component and don't have access to modify any configuration.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What about the Global.asax&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Historically, this was also an option, but as this has now been made private by Sitecore, it is not a viable option anymore.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="95" LastEditDate="2019-09-24T16:19:12.327" LastActivityDate="2019-09-24T16:19:12.327" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5705" PostTypeId="1" AcceptedAnswerId="5707" CreationDate="2017-05-15T18:08:54.337" Score="5" ViewCount="1272" Body="&lt;p&gt;I've been using computed fields forever when I need to build a custom type of functionality that doesn't exist as a physical field in Sitecore when using ContentSearch, but I was just reading about Virtual Fields in the index and I'm not really sure where the use case is for using one other another.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How are they different? How are they the same? Is there a performance benefit over one vs. the other?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-10-14T15:12:15.923" Title="What's the difference between a Virtual Field and a Computed Field?" Tags="|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5706" PostTypeId="1" AcceptedAnswerId="10575" CreationDate="2017-05-15T20:04:00.063" Score="5" ViewCount="376" Body="&lt;p&gt;To start, please forgive the length of this question, and that it goes into potentially more general concepts than hard coding, but we're trying to crack the black box here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are currently working on a Sitecore Analytics effort and are looking to expand our understanding of what we can do with Analytics, both within the Sitecore UI and outside of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One example that we're looking at relates to downloads and users. What we have so far is setting up a contact card to track logged-in users, which makes them show up in the Experience Profile with their name, email, etc. Within that, you can see what that user has done on the site. We also have the dashboards in Experience Analytics, which includes a dashboard for asset downloads, but appears to be solely related to the asset itself. The customer is looking to generate reports off the data, but is looking for things such as a chart that would show an asset and what users downloaded it, as one possibility. This is just one potential example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In doing some research on the topic, I've gone over the Experience Analytics chapter of &quot;Practical Sitecore 8 Configuration and Strategy.&quot; This goes into general information about analytics, but doesn't get deep into the coding world, such as how to create analytics reports, facets, etc. I've found some related links that speak more to this, shown at the end for reference material. There is also some sample code in the “Sitecore Cookbook for Developers” book around creating custom dimensions and reports, but it’s a little more abstract and the main example (using browser versions) is shown in one of the links as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, the “Practical Sitecore 8” book does mention using tools like Excel's PowerView or Office 365's PowerBI to connect to the Sitecore SQL reporting database directly to do some custom reporting without involving a Sitecore developer necessarily; these methods were a little more fleshed out in the book for steps on how to get started.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My thinking is the Excel/Office tools may provide the greatest flexibility with the least amount of development work, and would probably be the avenue I'd pursue, and then add in custom code to capture more data or refine what was already available. I feel like, when looking at what Sitecore offers from 10,000 feet via the built-in reports, that the various data points should be connected somewhere and are able to be aggregated, but perhaps just not in the out-of-the-box tools provided. Excel/Office tools also have the benefit of being more easily manipulated by the client, so if the data points are there, they can generate the reports needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have extended experience with Sitecore Analytics, the creation of custom reports/facets/etc, and/or using the Excel/Office tools that could provide some guidance on understanding what's possible (and not possible) with what Sitecore collects? Reference materials and/or sample code that we could review would be great.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&quot;Practical Sitecore 8 Configuration and Strategy” by Phil Wicklund&lt;/li&gt;&#xA;&lt;li&gt;“Sitecore Cookbook for Developers” by Yogesh Patel&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jonathanrobbins.co.uk/2015/12/08/how-to-extend-sitecore-experience-database/&quot; rel=&quot;noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2015/12/08/how-to-extend-sitecore-experience-database/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/xDB/reports/extending-experience-analytics-reports/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecore-community.github.io/docs/xDB/reports/extending-experience-analytics-reports/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://thinking.edynamic.net/sitecore-analytics-101-a-complete-list-of-the-sitecore-reports-you-cannot-ignore&quot; rel=&quot;noreferrer&quot;&gt;http://thinking.edynamic.net/sitecore-analytics-101-a-complete-list-of-the-sitecore-reports-you-cannot-ignore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecorepromenade.blogspot.com/2015/08/sitecore-8-tracking-media-download.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecorepromenade.blogspot.com/2015/08/sitecore-8-tracking-media-download.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-03-05T11:32:04.670" Title="Sitecore Analytics inquiries" Tags="|xdb|experience-analytics|experience-profile|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5707" PostTypeId="2" ParentId="5705" CreationDate="2017-05-15T20:09:02.627" Score="12" Body="&lt;p&gt;Virtual fields are processed at runtime. When you query the index with the Sitecore search context, the field is calculated and filled. A virtual field is not in the on disk index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Computed fields are processed when the index is generated (traditional). These are physically on disk in the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Virtual fields are expensive because they require the fields to be generated when the query is run. Computed fields are generated when the index is generated. making the search API request vey fast. On most cases computed fields should be used since all the work is on the indexer and the index server. If virtual fields are used, care should be taken to make sure the results are cached. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A good example of virtual field is a &lt;strong&gt;daterange&lt;/strong&gt; field that turns absolute value of &lt;strong&gt;__smallcreateddate&lt;/strong&gt;, like &lt;em&gt;20171014&lt;/em&gt; into a relative value like &lt;em&gt;thismonth&lt;/em&gt;. This value cannot be stored in index because it quickly become out of date. It has to be calculated when the query is run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.kasaku.co.uk/2015/08/16/implementing-a-virtual-field-in-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://www.kasaku.co.uk/2015/08/16/implementing-a-virtual-field-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="35" LastEditDate="2017-10-14T15:12:15.923" LastActivityDate="2017-10-14T15:12:15.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5708" PostTypeId="1" CreationDate="2017-05-15T20:26:37.193" Score="0" ViewCount="7735" Body="&lt;p&gt;I have a page in sitecore called SingleField.cshtml. It only has a 1 field from the content item that it's associated to.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;@Html.Sitecore().Field(&quot;Title&quot;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What I am searching for is how to dynamically tie a MVC page to a content item. Is there a way to do this? One thought is to pass in a content item id to the MVC page. Is there any API call like the following?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;@Html.Sitecore().SetContentItem(&quot;f358f263-ee1b-4c40-a444-540d3fb636d9&quot;)&#xA;  @Html.Sitecore().Field(&quot;Title&quot;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="70" LastEditDate="2017-08-08T14:38:49.547" LastActivityDate="2017-08-08T14:38:49.547" Title="Using Sitecore().Field() helper" Tags="|mvc|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5709" PostTypeId="2" ParentId="5708" CreationDate="2017-05-15T20:30:56.840" Score="1" Body="&lt;p&gt;There's an overloaded version that allows you to pass in the item. So you could just put in a call first to get the item you want. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;Title&quot;, Item)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-05-15T20:30:56.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5710" PostTypeId="2" ParentId="5708" CreationDate="2017-05-16T02:09:53.697" Score="2" Body="&lt;h3&gt;Use the rendering datasource&lt;/h3&gt;&#xA;&lt;p&gt;I would recommend not tying an item directly to a rendering, in code, in the rendering. The way that Sitecore MVC works is that the context for &lt;code&gt;@Html.Sitecore()&lt;/code&gt; is determined by the datasource being set or not.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;If datasouce not set, @Html.Sitecore() = current page/item&lt;/p&gt;&#xA;&lt;p&gt;If datasouce set, @Html.Sitecore() = datasource item&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h3&gt;How to do it&lt;/h3&gt;&#xA;&lt;p&gt;I would recommend that you set the Title the way you currently are.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&amp;quot;event__title&amp;quot;&amp;gt;&#xA;    @Html.Sitecore().Field(&amp;quot;Title&amp;quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Then set the datasource in the rendering itself. Not on the rendering in the page, but in the actual rendering item. This &amp;quot;hard codes&amp;quot; the datasource to the rendering. But it doesn't take a deployment to change it.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/r4TCu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/r4TCu.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Override it&lt;/h3&gt;&#xA;&lt;p&gt;You can override the item by setting the datasource in the traditional way.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-05-16T02:55:24.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5711" PostTypeId="1" CreationDate="2017-05-16T05:06:35.483" Score="3" ViewCount="408" Body="&lt;p&gt;I am new to engagement plans and trying to setup one for a requirement, using Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Requirement:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Send an Offer Email with offer link to user email-id&lt;/li&gt;&#xA;&lt;li&gt;Send a reminder email after 24 hours if the user does not respond to the Offer link provided in the email&lt;/li&gt;&#xA;&lt;li&gt;Expire the Offer Link after 2 days&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am trying to achieve this using an Email Template/sitecore/templates/Email Campaign/Messages/AB Test Message and associating it with engagement plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to send an email I get the below error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;*Failed to enroll a contact in the engagement plan.&#xA;&lt;em&gt;Exception: Sitecore.Modules.EmailCampaign.Exceptions.EmailCampaignException&#xA;Message: The automation state for contact 093523b5-9e57-4294-88a5-c5e92f3d7376 and plan bbbaa175-b07d-41b3-b0cc-d9a192376fef has not been found.&lt;/em&gt;&#xA;(Guid contactId, DispatchQueueItem dispatchQueueItem, Guid planId, String stateName, ExmCustomValues customValues)&#xA;   at Sitecore.Modules.EmailCampaign.Core.Dispatch.DispatchTask.OnSendToNextRecipient()&#xA;MessageTaskRunner worker thread 4 16:38:08 ERROR Exception: Sitecore.Modules.EmailCampaign.Exceptions.NonCriticalException&#xA;Message: Recipient xdb:093523b5-9e57-4294-88a5-c5e92f3d7376 skipped. Failed to enroll its corresponding contact in the engagement plan.&#xA;Source: Sitecore.EmailCampaign&#xA;   at Sitecore.Modules.EmailCampaign.Core.Dispatch.DispatchTask.OnSendToNextRecipient()*&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if I am missing anything to achieve the requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cTcDL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cTcDL.png&quot; alt=&quot;mailTemplate&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0dOdx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0dOdx.png&quot; alt=&quot;Engagement Plan&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1921" LastEditorUserId="1342" LastEditDate="2017-05-16T21:26:17.230" LastActivityDate="2017-05-16T21:26:17.230" Title="Trigger Engagement Plan for an email-id when Email is sent to an user" Tags="|exm|engagement-plans|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5712" PostTypeId="1" AcceptedAnswerId="5713" CreationDate="2017-05-16T08:48:43.277" Score="2" ViewCount="214" Body="&lt;p&gt;can we delete list item in WFFM?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Hx22f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hx22f.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to delete &quot;3HUTCHISON&quot; from dropdown field, but when i clicked (x)(delete) nothing happened.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i am new to sitecore, i need to make 48 items for dropdown list and i need to cut into 32 items :/&lt;/p&gt;&#xA;" OwnerUserId="1591" LastActivityDate="2017-05-17T05:43:05.807" Title="how to delete item in dropdown list wffm" Tags="|wffm|sitecore-query|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5713" PostTypeId="2" ParentId="5712" CreationDate="2017-05-16T09:04:47.210" Score="2" Body="&lt;p&gt;I understood what is happening. Your value was locked out after saving the list. You need to click on the &quot;Value&quot; label and confirm that you want to change the value. After that you will be able to remove the row.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JqZfm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JqZfm.png&quot; alt=&quot;unlock editing&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and confirm:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/z7dU3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/z7dU3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1000" LastEditDate="2017-05-17T05:43:05.807" LastActivityDate="2017-05-17T05:43:05.807" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5714" PostTypeId="1" CreationDate="2017-05-16T10:20:45.407" Score="4" ViewCount="273" Body="&lt;p&gt;I've got a strange error with a droptree field, it works for all items except those below a certain folder, as below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2sPt1.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2sPt1.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Debugging with Chrome the last request before the null item is returned was to the content editor with a massive query string, and when i browsed to it i got an IIS error about querystring length, so i changed the &lt;code&gt;web.config&lt;/code&gt; settings as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;system.webServer&amp;gt;&#xA; &amp;lt;security&amp;gt;&#xA;      &amp;lt;requestFiltering&amp;gt;&#xA;        &amp;lt;requestLimits maxAllowedContentLength=&quot;524288000&quot;  maxQueryString=&quot;65536&quot; maxUrl=&quot;65536&quot; /&amp;gt;&#xA;      &amp;lt;/requestFiltering&amp;gt;&#xA;&amp;lt;/security&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;httpRuntime maxRequestLength=&quot;512000&quot;  maxQueryStringLength=&quot;65536&quot; maxUrlLength=&quot;65536&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;still getting the issue, any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 initial release&lt;/p&gt;&#xA;" OwnerUserId="1513" LastEditorUserId="73" LastEditDate="2017-05-20T14:53:41.567" LastActivityDate="2019-02-21T14:48:31.593" Title="Droptree fails on certain items" Tags="|content-editor|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5715" PostTypeId="1" AcceptedAnswerId="5717" CreationDate="2017-05-16T11:00:56.963" Score="1" ViewCount="628" Body="&lt;p&gt;We had started the sitecore development in the Version 8.1 update 3 using Habitat.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are plan to have localization more localization in feature. In this what will be the best option for creating localization.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Can we create a new language in the same node for localization.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;OR&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Can we create a separate node for localization.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;What is the pros and cons between these option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assumptions&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;There might be changes in the layout between the locales(hope this is sorted in the shared and final version)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Some pages will not be required between locales Example : page 1 is applicable for US locale and Page 2 is applicable for UK locale.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="73" LastEditDate="2017-05-16T11:57:05.837" LastActivityDate="2017-05-16T12:04:53.430" Title="What is best way to create a localized site?" Tags="|best-practices|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5716" PostTypeId="1" AcceptedAnswerId="5718" CreationDate="2017-05-16T12:01:59.880" Score="6" ViewCount="558" Body="&lt;p&gt;We are setting up a new Helix based system, and are looking at making the development process as easy as possibly from a devOps point of view, I seem to have a disconnect however in assembly versions after the deploy. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example we have updated a few packages to the latest version, Newtonsoft for example is now version 10.0.0 however the generic Sitecore install has binding mappings up to version 6.0.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone got a good way of collecting those binding mappings from the projects and having them deployed out into the Website root web.config?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example that I'm talking for example about would be automatically changing the below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&quot;Newtonsoft.Json&quot; publicKeyToken=&quot;30ad4fe6b2a6aeed&quot; /&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-6.0.0.0&quot; newVersion=&quot;6.0.0.0&quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and updating it to the below based on an amalgamation I guess of all of the web config's from the different feature, foundation and project projects.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&quot;Newtonsoft.Json&quot; publicKeyToken=&quot;30ad4fe6b2a6aeed&quot; /&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-10.0.0.0&quot; newVersion=&quot;10.0.0.0&quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any insight welcome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1923" LastActivityDate="2017-05-16T12:51:58.830" Title="Is there a way to deploy assembly bindings out using the gulpfile" Tags="|best-practices|helix|deployment|continuous-integration|continuous-delivery|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5717" PostTypeId="2" ParentId="5715" CreationDate="2017-05-16T12:04:53.430" Score="5" Body="&lt;p&gt;Both practices are valid. In the years I've been doing this; I think it's likely split 60/40 or so between the two approaches - with in-place versioning coming up slightly over the split content trees.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To summarise; these are the points to consider when deciding one approach over the other.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Will there be major differences between multiple language versions of the site?&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It's important to remember here (and often overlooked early on): Language != Country. Often content will vary from country (market) to country, but German as an example, will be used in Germany, Austria and Switzerland.&lt;/li&gt;&#xA;&lt;li&gt;Make sure to separate the language versus market discussion early on&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Will the people working on the site for one market, be the same as for all other markets?&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore security settings apply on Item level. If you want different groups of editors with restricted access to only the parts of the site related to their specific market, this calls for a split content tree. &lt;/li&gt;&#xA;&lt;li&gt;If on the other hand, it will be one and the same Center of Excellence working with the site globally, this speaks in favour of a unified content tree (but again - only if they are largely similar)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Are you expecting to use Language Fallback facilities?  if so; only the unified tree really makes sense.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;There is no real &quot;right&quot; answer here. I find that separate trees per site/language/market is more intuitive and easier to understand for content editors. However, given largely similar language versions, it also often is a preferred option to just have the one content tree and manage versions - be mindful that this approach requires more training and care.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-16T12:04:53.430" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5718" PostTypeId="2" ParentId="5716" CreationDate="2017-05-16T12:51:58.830" Score="4" Body="&lt;p&gt;If you take a look at the &lt;a href=&quot;https://github.com/Sitecore/Habitat&quot; rel=&quot;noreferrer&quot;&gt;habitat&lt;/a&gt; demo - you will see that they use &lt;code&gt;web.config.transform&lt;/code&gt; files. This is an example file from the &lt;code&gt;Project/Common&lt;/code&gt; website project:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;﻿&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration  xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;system.codedom xdt:Transform=&quot;InsertIfMissing&quot;&amp;gt;&#xA;    &amp;lt;compilers xdt:Transform=&quot;InsertIfMissing&quot;&amp;gt;&#xA;      &amp;lt;compiler xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(language)&quot; language=&quot;c#;cs;csharp&quot; extension=&quot;.cs&quot; type=&quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; warningLevel=&quot;4&quot; compilerOptions=&quot;/langversion:6 /nowarn:1659;1699;1701&quot; /&amp;gt;&#xA;      &amp;lt;compiler xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(language)&quot; language=&quot;vb;vbs;visualbasic;vbscript&quot; extension=&quot;.vb&quot; type=&quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; warningLevel=&quot;4&quot; compilerOptions=&quot;/langversion:14 /nowarn:41008 /define:_MYTYPE=\&amp;amp;quot;Web\&amp;amp;quot; /optionInfer+&quot; /&amp;gt;&#xA;    &amp;lt;/compilers&amp;gt;&#xA;  &amp;lt;/system.codedom&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, they are standard &lt;code&gt;.config&lt;/code&gt; transform files using xdt. They get applied to the &lt;code&gt;web.config&lt;/code&gt; file deployed to your solution using a gulp task:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;04-Apply-Xml-Transform&lt;/code&gt; uses msbuild to apply those transform files and update the &lt;code&gt;web.config&lt;/code&gt; file in the website root folder defined in &lt;code&gt;gulp-config.js&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You do have to be careful with your xdt transforms with this method tho - you will notice that the example uses &lt;code&gt;InsertIfMissing&lt;/code&gt; over a straight &lt;code&gt;Insert&lt;/code&gt; - this is because once the transform has been applied to the target file, it is there for all future transforms. So you could get things added multiple times if you do your transforms without checking that.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-05-16T12:51:58.830" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5719" PostTypeId="1" AcceptedAnswerId="5720" CreationDate="2017-05-16T21:08:19.037" Score="3" ViewCount="3254" Body="&lt;p&gt;I'm getting ready to move my Sitecore 8.1 instance from HTTP to HTTPS. Since we have a distributed environment, my networking team has the idea of just using the Load Balancer to serve HTTPS content to the web, while keeping the internal domain at HTTP.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've read some articles by &lt;a href=&quot;https://briancaos.wordpress.com/2017/03/17/sitecore-how-to-configure-ssl-https-in-your-sitecore-config-files/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Brian Pedersen&lt;/a&gt; and &lt;a href=&quot;https://laubplusco.net/https-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Anders Laub&lt;/a&gt; that give some steps that need to be done to run Sitecore in SSL, but what if I just want to run the CD Server in SSL? Can the CD Servers run in SSL and not the CM/Processing and Aggregation/Reporting servers? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For us, this is an issue of maintaining the SSL certificates in 1 place instead of 7+ servers.&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-10-24T03:09:02.110" Title="How to configure Sitecore to work with HTTPS" Tags="|configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5720" PostTypeId="2" ParentId="5719" CreationDate="2017-05-16T21:29:22.690" Score="8" Body="&lt;p&gt;I just use &lt;a href=&quot;https://www.iis.net/downloads/microsoft/url-rewrite&quot; rel=&quot;noreferrer&quot;&gt;IIS rewriting module&lt;/a&gt; to keep my CD servers in HTTPS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You do need to take care if you use any 301 redirect modules. Since the IIS rules run before the Sitecore 301 redirect modules, your rules need to be prepared for https urls.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rewrite&amp;gt;&#xA;  &amp;lt;rules&amp;gt;&#xA;    &amp;lt;rule name=&quot;HTTP to HTTPS redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;      &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;off&quot; ignoreCase=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/conditions&amp;gt;&#xA;      &amp;lt;action type=&quot;Redirect&quot; redirectType=&quot;Found&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;  &amp;lt;/rules&amp;gt;&#xA;&amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-16T21:29:22.690" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5721" PostTypeId="2" ParentId="5719" CreationDate="2017-05-16T22:49:55.727" Score="2" Body="&lt;p&gt;Since you're going to be terminating the SSL at the load balancer you won't be able to see the HTTPS condition on the web servers.  You'll need to setup the load balancer to forward the protocol (HTTP_X_FORWARDED_PROTO) and check that otherwise you'll end up in an endless loop.  Since as far as the CDs are concerned all traffic is coming in over port 80.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rewrite&amp;gt;&#xA;    &amp;lt;rules&amp;gt;&#xA;        &amp;lt;rule name=&quot;HTTP to HTTPS redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;            &amp;lt;conditions&amp;gt;&#xA;                &amp;lt;add input=&quot;{HTTP_X_FORWARDED_PROTO}&quot; pattern=&quot;https&quot; negate=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;/conditions&amp;gt;&#xA;            &amp;lt;action type=&quot;Redirect&quot; redirectType=&quot;Found&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; /&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;    &amp;lt;/rules&amp;gt;&#xA;&amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="32" LastActivityDate="2017-05-16T22:49:55.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5722" PostTypeId="1" AcceptedAnswerId="5723" CreationDate="2017-05-17T04:28:52.070" Score="4" ViewCount="1075" Body="&lt;p&gt;I'm using 8.2 Update-3 with the Azure Toolkit 1.1, deployed to Web App. I've got a template with a Date field on it, and I took a search class that works with Lucene and Solr like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;date start&quot;)]&#xA;public DateTime DateStart { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the query expression:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DateTime time;&#xA;// ...&#xA;.Where(i =&amp;gt; i.DateStart &amp;gt;= time)&#xA;.OrderBy(i =&amp;gt; i.DateStart);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I run this with Azure Search I get this exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.NotSupportedException: The constant part of the 'GreaterThanOrEqualNode' was expected to be of type 'System.DateTimeOffset', but was of type 'System.DateTime'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So I converted my result class property and &lt;code&gt;time&lt;/code&gt; variable to &lt;code&gt;DateTimeOffset&lt;/code&gt;. Then I got this exception instead:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException: {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;Invalid expression: Unsupported function call: search.ismatchscoring. This function is not supported in this API version.\r\nParameter name: $filter&quot;}}&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And this one:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;System.NotSupportedException: IndexFieldUtcDateTimeOffsetValueConverter cannot convert from System.DateTime.&#xA;     at System.ComponentModel.TypeConverter.GetConvertFromException(Object value)&#xA;     at System.ComponentModel.TypeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)&#xA;     at Sitecore.ContentSearch.Azure.Converters.CloudIndexFieldStorageValueFormatter.ReadFromIndexStorageBase(Object indexValue, String fieldName, Type destinationType)&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Am I doing date mapping wrong or is this just a limitation of the Azure Search provider or service?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: found the actual search expression in App Insights:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Azure Search Error [Index=sitecore_web_index] &#xA;ERROR:Error in the request URI, headers, or body Search expression:&amp;amp;search=language_1:(en)&amp;amp;$filter=not search.ismatchscoring('name__:(__Standard Values)', null, 'full', null) and date_start ge 2017-05-17T04:55:13.340Z and (templatesimplemented__/any(t:t eq '{DFFD8BFE-9C7E-4033-AD70-6C600088A9E6}')) and latestversion_1&amp;amp;queryType=full&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Weirdly, the unsupported &lt;code&gt;ismatchscoring&lt;/code&gt; is apparently coming from &lt;code&gt;.Where(i =&amp;gt; i.Name != Sitecore.Constants.StandardValuesItemName)&lt;/code&gt; and not the date.&lt;/p&gt;&#xA;" OwnerUserId="267" LastEditorUserId="267" LastEditDate="2017-05-17T05:18:06.343" LastActivityDate="2017-05-17T05:45:53.220" Title="Azure Search and Date fields" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5723" PostTypeId="2" ParentId="5722" CreationDate="2017-05-17T05:45:53.220" Score="3" Body="&lt;p&gt;Regarding the &lt;code&gt;ismatchscoring&lt;/code&gt; error, this is the cause - apparently the default settings for Azure Search rely on an old preview version of the Azure Search API:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!--  USE ISMATCHSCORING&#xA;        Determines if Azure Search provider uses ismatchscoring() function to build complex search expressions. &#xA;        This function is available in version 2015-02-28-Preview of Azure Search API and is not available in version 2016-09-01 or earlier versions. &#xA;        When using Azure Search API version 2016-09-01 or earlier versions, this setting must be changed to false. &#xA;        Changing the value to false will limit the support for complex search queries.&#xA;&#xA;        Default value: true&#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;ContentSearch.Azure.UseIsMatchScoring&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Changing this to false resolved that exception.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-05-17T05:45:53.220" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5725" PostTypeId="1" AcceptedAnswerId="5746" CreationDate="2017-05-17T07:56:59.260" Score="2" ViewCount="1290" Body="&lt;p&gt;If a user provides me their username and password, I am able to log them in using&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Security.Authentication.AuthenticationManager.Login(username, password)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or validate their account with &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Web.Security.Membership.ValidateUser(userName, password)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However both of these fail if the user provides the correct password but is currently disabled (IsApproved = false).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to check a disabled user's password? If a disabled user is attempting to log in I would like to be able to provide a specific error message to tell them that their password is correct but their account is disabled.&lt;/p&gt;&#xA;" OwnerUserId="1466" LastEditorUserId="890" LastEditDate="2017-05-18T18:59:37.703" LastActivityDate="2017-05-18T18:59:37.703" Title="How to validate a &quot;Disabled&quot; user account" Tags="|authentication|membership-provider|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5726" PostTypeId="2" ParentId="5725" CreationDate="2017-05-17T08:43:33.700" Score="2" Body="&lt;p&gt;If login fails, you could try to fetch the user and check the Membership user object properties for the status. You can detect the IsApproved flag this way, but not verify the password. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you actually do not want to give that kind of information. Just tell the user that his account is blocked, don't tell him that the password was correct. As he can't login anyway you're not helping him with it, but you might give away security details.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-05-17T08:43:33.700" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5727" PostTypeId="1" AcceptedAnswerId="5730" CreationDate="2017-05-17T09:37:39.157" Score="2" ViewCount="1199" Body="&lt;p&gt;When trying to create a connection to a Sitecore environment with the Hhogdev Razl sync tool, I get the error&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The connector test failed. The reason is 'Can't install connector. The web root can't be found'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9Agyp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9Agyp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site is running under HTTPS and I am using the &quot;Package Connections&quot; option in the Razl connection wizard.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="2727" LastEditDate="2018-04-03T06:15:35.473" LastActivityDate="2022-08-17T01:08:15.093" Title="Razl connection error &quot;Can't install connector. The web root can't be found&quot;" Tags="|razl|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5728" PostTypeId="2" ParentId="5559" CreationDate="2017-05-17T10:35:37.710" Score="5" Body="&lt;p&gt;Alright, I figured it out !&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are basically two ways of doing so. &lt;strong&gt;In every case, the first div inside the slide shouldn't have any attributes (else SXA Carousel breaks !)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;First Way, with rendering variants&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is the most easy to use and also the quickest, but you can't use any controller's logic here&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create Rendering Variant&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to /sitecore/system/Settings/Foundation/Experience Accelerator/Rendering Variants/Rendering Variants/Page Content&lt;/li&gt;&#xA;&lt;li&gt;Insert Variant Definition&lt;/li&gt;&#xA;&lt;li&gt;In inserted variant definition, click insert &gt; field and insert the fields you want to have in you custom slide. &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&quot; rel=&quot;nofollow noreferrer&quot;&gt;You can also add html structure and css classes using section&lt;/a&gt; but be sure the first HTML tag does not contain any class !&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create custom slide template&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create custom slide template with appropriate fields (must be exact same names that in variant definition). The template should inherit from Carousel Slide&lt;/li&gt;&#xA;&lt;li&gt;Add Standard Values&lt;/li&gt;&#xA;&lt;li&gt;Design Layout on Standard Values, add Page Content in section-content placeholder with Styling &gt; Variant set to the ID of the variant definition you have just defined&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add Template to Carousel's insert options&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Second Way, with a rendering&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way is closer to the classic way of using renderings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create custom slide rendering&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create Controller&lt;/li&gt;&#xA;&lt;li&gt;Create View&lt;/li&gt;&#xA;&lt;li&gt;Create Rendering&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create custom slide template&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create custom slide template with appropriate fields. The template should inherit from Carousel Slide&lt;/li&gt;&#xA;&lt;li&gt;Add Standard Values&lt;/li&gt;&#xA;&lt;li&gt;Design Layout on Standard Values, just add your custom slide rendering in section-content placeholder?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add Template to Carousel's insert options&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's it !&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="1833" LastEditDate="2017-05-17T14:58:31.653" LastActivityDate="2017-05-17T14:58:31.653" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5730" PostTypeId="2" ParentId="5727" CreationDate="2017-05-17T12:40:48.833" Score="0" Body="&lt;p&gt;My site is running in an Azure WebApp and it seems that you need to use the hostname that ends with &lt;code&gt;.azurewebsites.net&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-05-17T12:40:48.833" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5731" PostTypeId="2" ParentId="5696" CreationDate="2017-05-17T13:28:15.510" Score="2" Body="&lt;p&gt;As Sitecore is not open source system, your best option would be to use .Net decompiler (e.g. &lt;a href=&quot;http://ilspy.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;ILSpy&lt;/a&gt;) to peek at the implementation. &quot;By page&quot; dimension is located in &lt;em&gt;Sitecore.ExperienceAnalytics.Aggregation.dll&lt;/em&gt;.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-05-17T13:28:15.510" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5732" PostTypeId="1" CreationDate="2017-05-17T14:27:13.680" Score="3" ViewCount="75" Body="&lt;p&gt;We have a bilingual site with the languages &quot;fr&quot; and &quot;en&quot;. There is a WFFM on a page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On submitting the form, it will create an item. The owner of the created item will be the name of the logged in user. For &quot;fr&quot; it works fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When browsing the page in &quot;en&quot; and submitting the form, the item owner is &quot;sitecore\admin&quot; or some other sitecore\. Why does this happen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The form is available in both languages and never did any setting/configuration to assign the owner name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I always want the item's owner to be the logged in user. How can I fix this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using sc8.0 u5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1671" LastEditDate="2018-01-11T19:02:49.687" LastActivityDate="2018-09-06T13:03:07.150" Title="WFFM Item creation issue" Tags="|wffm|multilingual|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5736" PostTypeId="1" AcceptedAnswerId="5737" CreationDate="2017-05-17T16:55:50.407" Score="1" ViewCount="373" Body="&lt;p&gt;I am auditing the xDB configuration on a site based on Sitecore 7.5.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The setup is plain with no custom interactions being registered.&lt;/li&gt;&#xA;&lt;li&gt;We are dealing with the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/session_state/session_state_configuration_scenarios&quot; rel=&quot;nofollow noreferrer&quot;&gt;last scenario here&lt;/a&gt;, &quot;Content delivery cluster with a non-sticky load balancer&quot;.&lt;/li&gt;&#xA;&lt;li&gt;There are two load-balanced CD servers.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Previously, there was an error in the configuration, where shared session state was set to &quot;InProc&quot;. The private session state has always been pointing to the MongoDB session database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was fixed recently, and the shared session state is now also stored in MongoDB. Ever since then, the number of interactions has declined sharply in the analytics database (from about 1.5M per month to around 200K). This makes sense to me, but I haven't found any documentation to back that up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the question is: if one mistakenly sets the shared session state to &quot;InProc&quot; in a load-balanced scenario, can that result in an artificially high number of interactions? And if not, what else could be causing this?&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2017-05-17T17:43:07.993" LastActivityDate="2017-05-17T17:43:07.993" Title="xDB InProc shared session state in load-balanced environment" Tags="|xdb|mongodb|session-state|load-balancer|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5737" PostTypeId="2" ParentId="5736" CreationDate="2017-05-17T17:35:14.530" Score="2" Body="&lt;p&gt;Storing the session vs. storing the interaction data is a different thing, although both can be stored in Mongo. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And yes, you are correct, if, in a load-balanced environment (with no sticky session), you set the session state to be InProc, you would have a much higher number of concurrent sessions, since if the user went to a different server, then they would start a new session on that server. So one user would have multiple sessions on-going. Once those sessions would end, then yes, it would be written as separate entities into Mongo. And this I am not 100% sure, but I doubt that Sitecore would combine those records, i.e. you would end up with a record for each server per user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But drop from 1.5m records to 200k, seems extreme (unless you have 7 CD servers), unless for some reason the user moving from one server to the next would cause each interaction to end after each page load. That would explain that drop. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does your Sitecore analytics numbers still map roughly correctly to your Google Analytics or other analytics data? If so, then you shouldn't have a problem. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way to validate this would be to look at the records in Mongo from the inProc time, those records would have less interactions, and also, you should see multiple records (from the different servers) for all individual visits.&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-05-17T17:35:14.530" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5738" PostTypeId="1" CreationDate="2017-05-18T02:20:42.203" Score="2" ViewCount="482" Body="&lt;p&gt;i have 2 sites, A and B in Sitecore. Some items in site A are linked to items in site B. I need a query to list all items in site A that are linked to any items in site B.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't touch in code. Any solution to query in sitecore query notation or xpath?&lt;/p&gt;&#xA;" OwnerUserId="1926" LastEditorUserId="432" LastEditDate="2017-05-18T12:38:04.013" LastActivityDate="2018-01-08T18:55:18.980" Title="Query item in Xpath" Tags="|content-search|sitecore-query|" AnswerCount="1" CommentCount="4" ClosedDate="2018-01-08T19:25:17.087" ContentLicense="CC BY-SA 3.0" />
  <row Id="5740" PostTypeId="2" ParentId="3548" CreationDate="2017-05-18T08:01:23.357" Score="1" Body="&lt;p&gt;Actually this is a bug - rename the field in the definition item of the component as Datasource (i.e. remove the space) and it will work just fine.&lt;/p&gt;&#xA;" OwnerUserId="1931" LastActivityDate="2017-05-18T08:01:23.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5741" PostTypeId="1" AcceptedAnswerId="5888" CreationDate="2017-05-18T10:12:10.257" Score="2" ViewCount="409" Body="&lt;p&gt;In Sitecore Powershell while running simple command like &lt;code&gt;get-item&lt;/code&gt; or &lt;code&gt;get-childitem&lt;/code&gt; i am getting following error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Get-Item : The member &quot;ProviderPath&quot; is already present from the extended type data file.&#xA;At line:1 char:2&#xA;+  Get-Item  master:/sitecore/content/Test/TestPage&#xA;+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Get-Item], ExtendedTypeSystemException&#xA;    + FullyQualifiedErrorId : AlreadyPresentInTypesXml,Microsoft.PowerShell.Commands.GetItemCommand&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="1093" LastEditorUserId="73" LastEditDate="2017-05-26T23:49:20.650" LastActivityDate="2017-05-27T01:21:52.980" Title="Sitecore Powershell - Getting Error &quot;ProviderPath is already present&quot;" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5743" PostTypeId="1" CreationDate="2017-05-18T12:32:18.043" Score="3" ViewCount="715" Body="&lt;p&gt;What are the best practice we should follow when we are moving a UAT site package to Prod Server.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Do we need to crate a package of whole website of Prod before&#xA;uploding the UAT Pkg item&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Master and web DB backup&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Serialize the item and keep it&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1338" LastActivityDate="2017-05-18T13:57:46.780" Title="Best practice while moving Sitecore packages from UAT to Prod Server" Tags="|sitecore-client|multisite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5744" PostTypeId="2" ParentId="5743" CreationDate="2017-05-18T12:59:40.367" Score="6" Body="&lt;p&gt;When you say package, I am assuming you mean a Sitecore package ending in .update. If you mean a zip file from the Sitecore Package Designer, then option two below isn't valid.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You always want to have some way of getting back to pre-deployment is something goes wrong. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Full backup (this is what I do in production)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your 1st option is to just back up the website files. That is if you update package has files being deployed and not just Sitecore items. Also do a SQL backup of the core, master and web databases. I never go into production without having a plan to rollback. As long as I have access to SQL console and the web file system, this is the most reliable approach. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Rollback package&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;@Jammykam wrote a &lt;a href=&quot;https://jammykam.wordpress.com/2017/01/24/anti-update-rollback-package/&quot; rel=&quot;nofollow noreferrer&quot;&gt;great article&lt;/a&gt; on how an update package installations create a rollback package when they are installed. You can use &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Powershell&lt;/a&gt; to rollback your install if something happens during the update. This is a good option in lower environments, and possibly production if your environment is well backed up.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Create an anti-package when you create your package&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;An additional option is to &lt;a href=&quot;http://www.xcentium.com/blog/2015/11/10/sitecore-and-powershell&quot; rel=&quot;nofollow noreferrer&quot;&gt;create an anti-package&lt;/a&gt; of your package before you install it. This will create a package you can use to roll your install back in case it fails. This is similar to option 2, but you have the package ahead of time and don't need to rely on the rollback being processed on the server.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your backup approach can change based on if you are installing just Sitecore items or you are installing items and files. But you always want to have some way to get back if the install goes wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using a Package Designer installation, zip file, then your options are limited for rollback. You only have options 1 and 3. So take care in your planning and test your rollback plans in an alternate environment before you trust them in production. &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-05-18T13:57:46.780" LastActivityDate="2017-05-18T13:57:46.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5745" PostTypeId="2" ParentId="5697" CreationDate="2017-05-18T14:28:48.013" Score="5" Body="&lt;p&gt;First of all, you should &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_processing_server#_How_to_configure&quot; rel=&quot;noreferrer&quot;&gt;disable List Manager on the processing server&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The search messages in logs are likely caused by the &lt;code&gt;Sitecore.ListManagement.Analytics.UnlockContactListsAgent&lt;/code&gt; class. It looks for &lt;em&gt;locked&lt;/em&gt; contact lists every 10 seconds (configured in the &lt;code&gt;Sitecore.ListManagement.config&lt;/code&gt; file) and tries to &lt;em&gt;unlock&lt;/em&gt; them as soon as the real (indexed) contacts count reaches the expected one (stored in the list item). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The list locking is an important mechanism preventing a half-built lists from being used for dispatching or creating another lists. You can unlock a list &lt;em&gt;manually&lt;/em&gt; using the Contact List task page on UI.&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-05-18T14:28:48.013" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5746" PostTypeId="2" ParentId="5725" CreationDate="2017-05-18T14:49:29.817" Score="1" Body="&lt;p&gt;You could override the &lt;code&gt;SqlMembershipProvider&lt;/code&gt; and configure ASP.NET (and Sitecore) to use your version, but the extensibility points are so limited that I feel it's not really worth it. Also, the goal of overriding the membership provider is generally to change one of the public methods, in this case &lt;code&gt;ValidateUser&lt;/code&gt;. But I think we should leave that method as is, and in any case Sitecore double-checks if the user is enabled even if that method returns true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only decent quick solution I can think of involves temporarily enabling the user and checking the password again. You should only do this after the &quot;normal&quot; check. Note that as a side effect, this will update the &quot;last login date&quot; for that user.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool CheckUnapprovedUserPassword(string username, string password)&#xA;{&#xA;    var isValid = false;&#xA;    var provider = System.Web.Security.Membership.Provider;&#xA;    var user = provider.GetUser(username, false);&#xA;    if (user?.IsApproved == false)&#xA;    {&#xA;        user.IsApproved = true;&#xA;        provider.UpdateUser(user);&#xA;        isValid = provider.ValidateUser(username, password);&#xA;        user.IsApproved = false;&#xA;        provider.UpdateUser(user);&#xA;    }&#xA;    return isValid;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-05-18T14:49:29.817" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5747" PostTypeId="2" ParentId="5277" CreationDate="2017-05-18T15:27:58.200" Score="1" Body="&lt;p&gt;I think your best answer here is to use a &lt;a href=&quot;https://blog.horizontalintegration.com/2016/01/27/adding-code-query-to-a-renderings-datasource-location-field/&quot; rel=&quot;nofollow noreferrer&quot;&gt;coded datasource&lt;/a&gt; for the speaker field in feature template. And in that code define some vague logic of where the speaker list will be located. i.e. $site/SiteData/Speakers/ &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also use an IsDerived item extension find the items that are derived from your feature template, knowing that your project template has to be derived from your feature template. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public static bool IsDerived(this Item item, ID templateId)&#xA;    {&#xA;        if (item == null)&#xA;        {&#xA;            return false;&#xA;        }&#xA;&#xA;        return !templateId.IsNull &amp;amp;&amp;amp; item.IsDerived(item.Database.Templates[templateId]);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-05-18T16:14:01.733" LastActivityDate="2017-05-18T16:14:01.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5748" PostTypeId="1" CreationDate="2017-05-18T15:45:12.370" Score="0" ViewCount="360" Body="&lt;p&gt;I am testing the search functionnality in SXA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this, I have just added a Search Box with default datasource and default fields and a Search Result all with default also to my page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm typing something in the search bar in preview mode, I get a 400 GET (Bad Request) message in console and in log,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;5920 17:25:46 ERROR Could not resolve type name: &#xA;Sitecore.ContentSearch.Analytics.Pipelines.TranslateQuery.AnalyticsContextResolver, Sitecore.ContentSearch.Analytics (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).&#xA;5920 17:25:46 WARN  Results endpoint exception&#xA;Exception: System.Exception&#xA;&#xA;&#xA;Message: Could not resolve type name: Sitecore.ContentSearch.Analytics.Pipelines.TranslateQuery.AnalyticsContextResolver, Sitecore.ContentSearch.Analytics (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).&#xA;Source: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   à Sitecore.Diagnostics.Error.Raise(String error, String method)&#xA;   à Sitecore.Configuration.DefaultFactory.CreateType(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   à Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   à Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   à Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert)&#xA;   à Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode processorNode)&#xA;   à Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode processorNode)&#xA;   à Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters)&#xA;   à Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   à Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   à Sitecore.Abstractions.CorePipelineWrapper.Run(String pipelineName, PipelineArgs args)&#xA;   à Sitecore.ContentSearch.Pipelines.TranslateQuery.TranslateQueryPipeline.Run(ICorePipeline pipeline, TranslateQueryArgs args)&#xA;   à Sitecore.ContentSearch.Utilities.QueryBuilder.CreateQuery[T](IProviderSearchContext context, IEnumerable`1 searchStringModel, Item startLocationItem, IEnumerable`1 additionalContexts)&#xA;   à Sitecore.ContentSearch.Utilities.QueryBuilder.CreateQuery[T](IProviderSearchContext context, IEnumerable`1 searchStringModel)&#xA;   à Sitecore.XA.Foundation.Search.Controllers.SearchController.GetQuery(String query, String scope, String language, Coordinates center, String&amp;amp; indexName)&#xA;   à Sitecore.XA.Foundation.Search.Controllers.SearchController.GetResults(String v, String q, String s, String l, String g, String n, String o, Int32 e, Int32 p, String sig)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I guess parameters should be wrong, but according to tutorials I read, you can set basic search with no further coding or configuration... Where am I wrong ? What should I do to make this work ?&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="2727" LastEditDate="2018-10-28T06:50:12.713" LastActivityDate="2018-10-28T06:50:12.713" Title="400 - Bad Request Error when using SXA search bar in preview mode" Tags="|sxa|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="5749" PostTypeId="1" CreationDate="2017-05-18T17:14:11.093" Score="2" ViewCount="151" Body="&lt;p&gt;When we click the Publish button in the Experience Editor, we receive the following error in the ExperienceEditor.js:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Uncaught TypeError: Cannot read property 'get' of undefined&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The particular line (911) is &quot;if (pipeline.get(&quot;isPipelineReady&quot;))&quot;. In this instance, the pipeline variable is undefined. As I walk back through the call stack in Chrome Dev Tools, objects seem to be populating (for instance, 531 objects are returned from an ajax call that models whether items are in their final state or not).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The call just before this comes from Publish.js, line 40. That call tries to pass the PublishPipeline in from &quot;context.app&quot;. That PublishPipeline property is undefined. Lots of things are defined on context.app, but I'm not sure how or when PublishPipeline is supposed to get defined.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Debugging from our Visual Studio project never sees the error, so it's client-side only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="599" LastActivityDate="2017-05-18T17:37:55.343" Title="Undefined error when clicking Publish in Experience Editor" Tags="|experience-editor|pipelines|javascript|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5750" PostTypeId="1" CreationDate="2017-05-18T17:24:30.960" Score="0" ViewCount="112" Body="&lt;p&gt;If there are no placeholder settings defined then we cannot add any components to the page through Page/Experience Editor in any version of Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="1918" LastActivityDate="2017-05-18T19:05:10.683" Title="Page/Experience Editor" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5751" PostTypeId="2" ParentId="5749" CreationDate="2017-05-18T17:37:55.343" Score="2" Body="&lt;p&gt;We were able to track down the issue. It had to do with a pipeline patch in the mvc.getRenderer pipeline--we were patching in before &quot;Sitecore.Mvc.Pipelines.Response.GetRenderer.GetViewRenderer, Sitecore.Mvc&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Removing our patch config file resolved the issue.&lt;/p&gt;&#xA;" OwnerUserId="599" LastActivityDate="2017-05-18T17:37:55.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5752" PostTypeId="1" AcceptedAnswerId="5757" CreationDate="2017-05-18T18:38:13.743" Score="2" ViewCount="170" Body="&lt;p&gt;I am trying to Target Publish from CM-A to CM-B. I setup a target from CM-A to CM-B (web). Every time I target Publish. I remotely see that the content got pushed to CM-B. When I login to CM-B, and switch to web database I do not see the changes. Is this a permissions issue? or what is wrong? In fact if I restart an instance everything shows up.&lt;/p&gt;&#xA;" OwnerUserId="1171" LastActivityDate="2017-05-18T19:18:35.740" Title="Target Publishing Issues CM to CM" Tags="|sitecore-client|publishing|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5754" PostTypeId="2" ParentId="5752" CreationDate="2017-05-18T18:53:29.300" Score="0" Body="&lt;p&gt;It's probably a caching or Publish event issue, since you can see the data if you restart the server (not a security issue). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What SC version are you using? What's the infra setup,  how many Authoring servers?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you're on CM-A, and switch to the CM-B (Web database) do you see the contente?&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-05-18T18:53:29.300" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5755" PostTypeId="2" ParentId="5702" CreationDate="2017-05-18T18:57:07.473" Score="-4" Body="&lt;p&gt;Create your own &lt;code&gt;Global.asax&lt;/code&gt; codebehind inheriting the sitecore one. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There you can put an event handler for the &lt;code&gt;Application_Start&lt;/code&gt; event to execute your custom code.&lt;/p&gt;&#xA;" OwnerUserId="1936" LastEditorUserId="982" LastEditDate="2017-05-19T08:51:14.613" LastActivityDate="2017-05-19T08:51:14.613" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5756" PostTypeId="2" ParentId="5750" CreationDate="2017-05-18T19:05:10.683" Score="3" Body="&lt;p&gt;That is correct. Experience Editor works for adding components by having somewhere to add the component (the placeholder) and the options are dictated by the placeholder settings and the security applicable to the current editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are building for Experience Editor support, you will need to have placeholders to have visual adding to the page using the &quot;add component&quot; button. Users can add renderings via the presentation details dialog manually, but this is not a best practice and should be avoided.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-05-18T19:05:10.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5757" PostTypeId="2" ParentId="5752" CreationDate="2017-05-18T19:12:06.657" Score="4" Body="&lt;p&gt;No, this is not a permission issue but rather caching. The issue is that when publishing to the CM-B, sitecore cache is not cleared on the server. Instead of restarting the instance, you can navigate to the &lt;code&gt;http://[domain]/sitecore/admin/cache.aspx&lt;/code&gt; page on the CM-B server and clears the cache. You will see the published items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Points to checks:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that the agent &lt;code&gt;HtmlCacheClearer&lt;/code&gt; is present in the &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5Huca.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5Huca.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check this by going to the &lt;code&gt;http://[domain]/sitecore/admin/showconfig.aspx&lt;/code&gt; page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make use of the Scalability Settings. More info can be found &lt;a href=&quot;https://hishaamn.wordpress.com/2016/03/19/sitecore-scalability-setting/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; on how to setup it and also how the Event Queue works &lt;a href=&quot;https://hishaamn.wordpress.com/2016/02/24/sitecore-event-queues/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;. Below is a brief example of the Scalability Setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;On CM-A&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;On CM-B&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you see, since you are publishing from CM-A to CM-B, the Publishing Instance on CM-A is blank but on CM-B it contains the name of the Publishing Instance Name from CM-A. This tells Sitecore that when an event is triggered on CM1 (CM-A), all other servers which has the Publishing Instance Name set to CM1 need to trigger the different events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Event Queue should be enable. Again, from the &lt;code&gt;showconfig.aspx&lt;/code&gt; page, check if the below setting is &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;EnableEventQueues&quot; value=&quot;true&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-05-18T19:18:35.740" LastActivityDate="2017-05-18T19:18:35.740" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5758" PostTypeId="1" AcceptedAnswerId="5760" CreationDate="2017-05-18T21:33:46.493" Score="3" ViewCount="619" Body="&lt;p&gt;I'm using Sitecore 8.1 Original Release, and I've created a banner advertisement that I want to display on every page of my website. The banner is using personalization to determine which variation it should show. I've got that all working just fine from my home page. Here's the problem that I've got:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I put this same banner (with the same personalization rules) on every page of my website? It seems inefficient to have to go through every page and have to put the same personalization rules on each page individually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-05-18T22:20:18.407" Title="How do you personalize a banner that is on multiple pages?" Tags="|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5760" PostTypeId="2" ParentId="5758" CreationDate="2017-05-18T22:20:18.407" Score="0" Body="&lt;p&gt;You need to add a base template and the &lt;code&gt;__Standard Values&lt;/code&gt; for that. After that you should add your banner's rendering at the presentation of the &lt;code&gt;__Standard Values&lt;/code&gt; and set the personalization rules for those. You need do that once and the other pages will inherit that from base template.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-05-18T22:20:18.407" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5761" PostTypeId="1" CreationDate="2017-05-18T22:39:36.873" Score="0" ViewCount="2231" Body="&lt;p&gt;We are using Solr for Search in Sitecore.Is there any &quot;Solr API&quot; or i can use existing Sitecore's LINQ-based search API?&#xA;If yes, then how since I am not find any SolrAPI implementation example?&#xA;or Should I process with LINQ-based search APIs?&#xA;Any example would be highly appreciable&lt;/p&gt;&#xA;" OwnerUserId="1918" LastActivityDate="2017-05-19T12:42:06.127" Title="Search using SOLR" Tags="|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5762" PostTypeId="2" ParentId="5761" CreationDate="2017-05-19T00:06:43.287" Score="5" Body="&lt;p&gt;You may find the following articles helpful for setting up and using Sitecore's Content Search API, which was introduced in version 7.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://soen.ghost.io/setting-up-solr-for-sitecore-8-x/&quot; rel=&quot;noreferrer&quot;&gt;https://soen.ghost.io/setting-up-solr-for-sitecore-8-x/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://soen.ghost.io/a-re-introduction-to-the-contentsearch-api-in-sitecore-part-1/&quot; rel=&quot;noreferrer&quot;&gt;https://soen.ghost.io/a-re-introduction-to-the-contentsearch-api-in-sitecore-part-1/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://soen.ghost.io/a-re-introduction-to-the-contentsearch-api-in-sitecore-part-2/&quot; rel=&quot;noreferrer&quot;&gt;https://soen.ghost.io/a-re-introduction-to-the-contentsearch-api-in-sitecore-part-2/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Some keywords you may also find helpful when researching the topic include &lt;strong&gt;SOLR&lt;/strong&gt;, &lt;strong&gt;Sitecore&lt;/strong&gt;, and &lt;strong&gt;Content Search API&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-05-19T00:06:43.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5763" PostTypeId="1" AcceptedAnswerId="5766" CreationDate="2017-05-19T07:25:29.863" Score="4" ViewCount="3539" Body="&lt;p&gt;Is there a single Unicorn setting which can completely disable unicorn synchronisation for a Sitecore instance? At the moment if I want to turn off synchronisation, I just delete the App_Config\Include\Unicorn folder, but I would like an easier to restore option if possible!&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2020-08-15T12:12:15.707" Title="Unicorn: Single setting to disable unicorn synchronisation" Tags="|unicorn|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5764" PostTypeId="1" AcceptedAnswerId="5770" CreationDate="2017-05-19T08:17:50.830" Score="9" ViewCount="2156" Body="&lt;p&gt;I am trying to deploy a WFFM package on top of the already working Sitecore deploy. My Azure Resource Manager template is based on the work of &lt;a href=&quot;https://github.com/robhabraken/Sitecore-Azure-Scripts&quot; rel=&quot;noreferrer&quot;&gt;Rob Habraken&lt;/a&gt; and on the &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/Sitecore%208.2.3&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Azure Quickstart Templates for 8.2.3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, I can't seem to get the last step (deploy WFFM) working. This is my template (with some parameters left out for readability):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &quot;resources&quot;: [&#xA;    {&#xA;      &quot;type&quot;: &quot;Microsoft.Web/sites&quot;,&#xA;      &quot;name&quot;: &quot;[parameters('cmWebAppNameTidy')]&quot;,&#xA;      &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;      &quot;properties&quot;: {},&#xA;      &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;      &quot;resources&quot;: [&#xA;        {&#xA;          &quot;type&quot;: &quot;slots&quot;,&#xA;          &quot;name&quot;: &quot;cm-staging&quot;,&#xA;          &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;          &quot;properties&quot;: {},&#xA;          &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;          &quot;dependsOn&quot;: [&#xA;            &quot;[resourceId('Microsoft.Web/sites', parameters('cmWebAppNameTidy'))]&quot;&#xA;          ],&#xA;          &quot;resources&quot;: [&#xA;            {&#xA;              &quot;name&quot;: &quot;MSDeploy&quot;,&#xA;              &quot;type&quot;: &quot;extensions&quot;,&#xA;              &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;              &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;              &quot;dependsOn&quot;: [&#xA;                &quot;[resourceId('Microsoft.Web/sites/slots', parameters('cmWebAppNameTidy'), 'cm-staging')]&quot;&#xA;              ],&#xA;              &quot;properties&quot;: {&#xA;                &quot;packageUri&quot;: &quot;[parameters('cm_msdeploy_packageurl')]&quot;,&#xA;                &quot;dbType&quot;: &quot;SQL&quot;,&#xA;                &quot;connectionString&quot;: &quot;[concat('Data Source=tcp:', parameters('sqlserver_connection'), ',1433;Initial Catalog=master;User Id=', parameters('sqlserver_admin_login'), '@', parameters('dbServerNameTidy'), ';Password=', parameters('sqlserver_admin_password'), ';')]&quot;,&#xA;                &quot;setParameters&quot;: {&#xA;                  &quot;Application Path&quot;: &quot;[parameters('cmWebAppNameTidy')]&quot;,&#xA;                  [...]&#xA;                  &quot;IP Security Client IP Mask&quot;: &quot;[parameters('security_clientIpMask')]&quot;&#xA;                }&#xA;              }&#xA;            },&#xA;            {&#xA;              &quot;name&quot;: &quot;[concat(parameters('cmWebAppNameTidy'), '/', 'MSDeploy')]&quot;,&#xA;              &quot;type&quot;: &quot;Microsoft.Web/sites/extensions&quot;,&#xA;              &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;              &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;              &quot;dependsOn&quot;: [&#xA;                &quot;[resourceId('Microsoft.Web/sites/slots', parameters('cmWebAppNameTidy'), 'cm-staging')]&quot;,&#xA;                &quot;[concat('Microsoft.Web/sites/', parameters('cmWebAppNameTidy'), '/slots/cm-staging/extensions/MSDeploy')]&quot;&#xA;              ],&#xA;              &quot;properties&quot;: {&#xA;                &quot;mode&quot;: &quot;incremental&quot;,&#xA;                &quot;addOnPackages&quot;: [&#xA;                  {&#xA;                    &quot;dbType&quot;: &quot;SQL&quot;,&#xA;                    &quot;connectionString&quot;: &quot;[concat('Data Source=tcp:', parameters('sqlserver_connection'), ',1433;Initial Catalog=master;User Id=', parameters('sqlserver_admin_login'), '@', parameters('dbServerNameTidy'), ';Password=', parameters('sqlserver_admin_password'), ';')]&quot;,&#xA;                    &quot;packageUri&quot;: &quot;[parameters('cm_wffm_msdeploy_packageurl')]&quot;,&#xA;                    &quot;setParameters&quot;: {&#xA;                      &quot;Application Path&quot;: &quot;[parameters('cmWebAppNameTidy')]&quot;,&#xA;                      &quot;Core Admin Connection String&quot;: &quot;[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', parameters('sqlserver_connection'), ',1433;Initial Catalog=',parameters('coreDbNameTidy'),';User Id=', parameters('sqlserver_admin_login'), ';Password=', parameters('sqlserver_admin_password'), ';')]&quot;,&#xA;                      &quot;Master Admin Connection String&quot;: &quot;[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', parameters('sqlserver_connection'), ',1433;Initial Catalog=',parameters('masterDbNameTidy'),';User Id=', parameters('sqlserver_admin_login'), ';Password=', parameters('sqlserver_admin_password'), ';')]&quot;&#xA;                    }&#xA;                  }&#xA;                ]&#xA;              }&#xA;            }&#xA;          ]&#xA;        }&#xA;      ]&#xA;    }&#xA;  ]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This template does not give any warnings or errors when executing. Every step succeeds, but in the end the necessary WFFM files are just not there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When running only the first step (deploy CM) everything works as expected. When running only the second step (deploy WFFM), there are again no errors, but nothing seems to get deployed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nowhere in the Azure documention or Github account can I find anything regarding &quot;addOnPackages&quot;, so I'm wondering if I'm using it correctly here, and if not, how should I be using this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="845" LastEditorUserId="845" LastEditDate="2017-05-19T13:34:42.830" LastActivityDate="2017-05-19T13:34:42.830" Title="How to use an ARM Template to deploy WFFM into a staging slot?" Tags="|azure|azure-resource-manager|arm-template|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5766" PostTypeId="2" ParentId="5763" CreationDate="2017-05-19T11:52:38.390" Score="1" Body="&lt;p&gt;It is enough to  make a &lt;strong&gt;Unicorn&lt;/strong&gt; folder hidden. But you need to make sure that you don't have any other config patches in out of the &lt;strong&gt;Unicorn&lt;/strong&gt; folder for &lt;code&gt;/sitecore/unicorn/&lt;/code&gt; section or it's children.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2020-01-27T09:34:38.617" LastActivityDate="2020-01-27T09:34:38.617" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="5767" PostTypeId="2" ParentId="5764" CreationDate="2017-05-19T12:28:53.937" Score="1" Body="&lt;p&gt;CAVEAT: I haven't actually any of these suggestions, so I might be off the track here, but there are two things that look like they might need attention to me:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I think it's a bad idea to try to put a &quot;/&quot; into a resource name, since this is the delimiter for resource URIs.  I'd be tempted to use something like &quot;MSDeploy.1&quot; and &quot;MSDeploy.2&quot;, but I'm not clear on whether the 'name' property in this case is actually the name of the extension type (such that it &lt;em&gt;must&lt;/em&gt; be MSDeploy) or that it's purely decorative.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I'm not comfortable about the setup for the second dependency on the second MSDeploy: &lt;code&gt;&quot;[concat('Microsoft.Web/sites/', parameters('cmWebAppNameTidy'), '/slots/cm-staging/extensions/MSDeploy')]&quot;&lt;/code&gt; - it &lt;em&gt;seems&lt;/em&gt; like it's setup right but I'm not sure if using the &lt;code&gt;resourceId()&lt;/code&gt; of the extension is a better idea instead, something like &lt;code&gt;&quot;[resourceId('Microsoft.Web/sites/slots/extensions', parameters('cmWebAppNameTidy'), 'cm-staging', 'MSDeploy')]&quot;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Again not 100% sure that's helpful but that's where I'd start.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-05-19T12:28:53.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5768" PostTypeId="2" ParentId="5761" CreationDate="2017-05-19T12:42:06.127" Score="1" Body="&lt;p&gt;Mike's post will get a SOLR up and running for you. As for the question about SOLR specific linq statements, there are none. You just continue to use the normal Sitecore Search Context and Sitecore translates it for you under the covers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whether you are using Lucene, SOLR or Azure Search, it's the same search context query.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;)  &#xA;using (var context = index.CreateSearchContext())  &#xA;{&#xA;  var results = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                       .Where(x =&amp;gt; x.Content.Contains(&quot;Your search text&quot;));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-19T12:42:06.127" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5770" PostTypeId="2" ParentId="5764" CreationDate="2017-05-19T13:10:16.497" Score="9" Body="&lt;p&gt;So, I managed to figure out what I was doing wrong. Finally.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There were 2 big issues with my code:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-template-best-practices&quot; rel=&quot;noreferrer&quot;&gt;naming&lt;/a&gt; of an item is seriously important and has a few different purposes, especially &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-template-child-resource&quot; rel=&quot;noreferrer&quot;&gt;in the case of child resources&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;It is &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-update&quot; rel=&quot;noreferrer&quot;&gt;impossible to update a resource in the same template&lt;/a&gt; due to the unique naming restriction.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For point 1, it is also important to keep in mind that &quot;MSDeploy&quot; &lt;strong&gt;must&lt;/strong&gt; be the exact name given to that resource if you want to deploy something (I have not found any documentation stating this, but I did not manage to get it working with any other name). If someone knows where to find more details about why this is the case, please let me know in the comments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in the code above we already know that due to the naming restriction, this can never work, so we need to add a new template to be able to update an already used resource. There are 2 ways of doing adding a second template: linking it or including it as a subtemplate. To keep things simple I'm going with option 2 in my example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second mistake is also the reason why I wasn't getting any &quot;resource is defined multiple times in a template&quot; error. Because of this bit:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;name&quot;: &quot;[concat(parameters('cmWebAppNameTidy'), '/', 'MSDeploy')]&quot;,&#xA;&quot;type&quot;: &quot;Microsoft.Web/sites/extensions&quot;,&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Even though I am inside a collection of resources inside my staging slot (according to the json structure), due to the name I gave &quot;&lt;em&gt;WebApp&lt;/em&gt;/MSDeploy&quot;, I'm actually telling Azure that this resource is a child of my &quot;WebApp&quot;, instead of a child of my staging slot. Essentially, it was deploying to my actual WebApp instead of to the staging slot (meaning that I wasn't actually calling the same resource twice).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This problem can be fixed by either removing the &quot;&lt;em&gt;WebAppName&lt;/em&gt;&quot; (to allow Azure to know about the parent/child relationship due to the json structure), or by adding the &quot;&lt;em&gt;slot&lt;/em&gt;&quot; to the name and type as well so that the parent/child relationship is also correctly defined in there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the end that leaves us with the following working example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;resources&quot;: [&#xA;    {&#xA;      &quot;type&quot;: &quot;Microsoft.Web/sites&quot;,&#xA;      &quot;name&quot;: &quot;[parameters('cmWebAppNameTidy')]&quot;,&#xA;      &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;      &quot;properties&quot;: {},&#xA;      &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;      &quot;resources&quot;: [&#xA;        {&#xA;          &quot;type&quot;: &quot;slots&quot;,&#xA;          &quot;name&quot;: &quot;cm-staging&quot;,&#xA;          &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;          &quot;properties&quot;: {},&#xA;          &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;          &quot;dependsOn&quot;: [&#xA;            &quot;[resourceId('Microsoft.Web/sites', parameters('cmWebAppNameTidy'))]&quot;&#xA;          ],&#xA;          &quot;resources&quot;: [&#xA;            {&#xA;              &quot;name&quot;: &quot;MSDeploy&quot;,&#xA;              &quot;type&quot;: &quot;extensions&quot;,&#xA;              &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;              &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;              &quot;dependsOn&quot;: [&#xA;                &quot;[resourceId('Microsoft.Web/sites/slots', parameters('cmWebAppNameTidy'), 'cm-staging')]&quot;&#xA;              ],&#xA;              &quot;properties&quot;: {&#xA;                &quot;packageUri&quot;: &quot;[parameters('cm_msdeploy_packageurl')]&quot;,&#xA;                &quot;dbType&quot;: &quot;SQL&quot;,&#xA;                &quot;connectionString&quot;: &quot;[concat('Data Source=tcp:', parameters('sqlserver_connection'), ',1433;Initial Catalog=master;User Id=', parameters('sqlserver_admin_login'), '@', parameters('dbServerNameTidy'), ';Password=', parameters('sqlserver_admin_password'), ';')]&quot;,&#xA;                &quot;setParameters&quot;: {&#xA;                  &quot;Application Path&quot;: &quot;[parameters('cmWebAppNameTidy')]&quot;,&#xA;                  &quot;IP Security Client IP Mask&quot;: &quot;[parameters('security_clientIpMask')]&quot;&#xA;                }&#xA;              }&#xA;            }&#xA;          ]&#xA;        }&#xA;      ]&#xA;    },&#xA;    {&#xA;      &quot;apiVersion&quot;: &quot;2015-01-01&quot;,&#xA;      &quot;type&quot;: &quot;Microsoft.Resources/deployments&quot;,&#xA;      &quot;name&quot;: &quot;updateMSDeploy&quot;,&#xA;      &quot;dependsOn&quot;: [&#xA;        &quot;MSDeploy&quot; /* Wait until the first deploy is finished, strangely enough doesn't work with the &quot;full name&quot; */&#xA;      ],&#xA;      &quot;properties&quot;: {&#xA;        &quot;mode&quot;: &quot;Incremental&quot;,&#xA;        &quot;parameters&quot;: {},&#xA;        &quot;template&quot;: {&#xA;          &quot;$schema&quot;: &quot;http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#&quot;,&#xA;          &quot;contentVersion&quot;: &quot;1.0.0.0&quot;,&#xA;          &quot;parameters&quot;: {},&#xA;          &quot;variables&quot;: {},&#xA;          &quot;resources&quot;: [&#xA;            {&#xA;              &quot;type&quot;: &quot;Microsoft.Web/sites&quot;,&#xA;              &quot;name&quot;: &quot;[parameters('cmWebAppNameTidy')]&quot;,&#xA;              &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;              &quot;properties&quot;: {&#xA;              },&#xA;              &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;              &quot;resources&quot;: [&#xA;                {&#xA;                  &quot;type&quot;: &quot;slots&quot;,&#xA;                  &quot;name&quot;: &quot;cm-staging&quot;,&#xA;                  &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;                  &quot;properties&quot;: {&#xA;                  },&#xA;                  &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;                  &quot;dependsOn&quot;: [&#xA;                    &quot;[resourceId('Microsoft.Web/sites', parameters('cmWebAppNameTidy'))]&quot;&#xA;                  ],&#xA;                  &quot;resources&quot;: [&#xA;                    {&#xA;                      &quot;name&quot;: &quot;[concat(parameters('cmWebAppNameTidy'), '/', 'cm-staging', '/', 'MSDeploy')]&quot;, /*&quot;MSDeploy&quot;,*/&#xA;                      &quot;type&quot;: &quot;Microsoft.Web/sites/slots/extensions&quot;, /*&quot;extensions&quot;,*/&#xA;                      &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;                      &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;                      &quot;dependsOn&quot;: [&#xA;                        &quot;[resourceId('Microsoft.Web/sites/slots', parameters('cmWebAppNameTidy'), 'cm-staging')]&quot;&#xA;                      ],&#xA;                      &quot;properties&quot;: {&#xA;                        &quot;addOnPackages&quot;: [&#xA;                          {&#xA;                            &quot;dbType&quot;: &quot;SQL&quot;,&#xA;                            &quot;connectionString&quot;: &quot;[concat('Data Source=tcp:', parameters('sqlserver_connection'), ',1433;Initial Catalog=master;User Id=', parameters('sqlserver_admin_login'), '@', parameters('dbServerNameTidy'), ';Password=', parameters('sqlserver_admin_password'), ';')]&quot;,&#xA;                            &quot;packageUri&quot;: &quot;[parameters('cd_wffm_msdeploy_packageurl')]&quot;,&#xA;                            &quot;setParameters&quot;: {&#xA;                              &quot;Application Path&quot;: &quot;[parameters('cdWebAppNameTidy')]&quot;&#xA;                            }&#xA;                          }&#xA;                        ]&#xA;                      }&#xA;                    }&#xA;                  ]&#xA;                }&#xA;              ]&#xA;            }&#xA;          ]&#xA;        }&#xA;      }&#xA;    }&#xA;  ]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="845" LastActivityDate="2017-05-19T13:10:16.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5771" PostTypeId="1" AcceptedAnswerId="5773" CreationDate="2017-05-19T15:47:40.353" Score="1" ViewCount="432" Body="&lt;p&gt;I am trying to add a shortcut to Content Editor in Workbox ribbon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VAi5M.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VAi5M.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't figure out what template it will be either a panel or a button, if panel then what data type. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would be great if someone can guide me in the right direction. Thanks&lt;/p&gt;&#xA;" OwnerUserId="1940" LastEditorUserId="73" LastEditDate="2019-05-27T09:43:35.813" LastActivityDate="2019-05-27T09:43:35.813" Title="Sitecore Ribbon Shortcuts" Tags="|sitecore-client|workbox|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="5772" PostTypeId="1" AcceptedAnswerId="9155" CreationDate="2017-05-19T17:19:17.947" Score="5" ViewCount="841" Body="&lt;p&gt;Using Sitecore 8.2.current we're seeing &lt;code&gt;la=en&lt;/code&gt; added to a number of our media library (unversioned) image usages (&lt;code&gt;&amp;lt;img src=&quot;_.jpg?la=en&quot; /&amp;gt;&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore version 7.something (7.2?) the recommendation was to &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/981&quot; rel=&quot;nofollow noreferrer&quot;&gt;override &lt;code&gt;GetMediaUrl&lt;/code&gt;&lt;/a&gt; to work around Sitecore not having configuration options to cover this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that still the best practice in Sitecore 8.x, or can we make a configuration change to workaround this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the master database we only have &lt;strong&gt;en&lt;/strong&gt; in /sitecore/system/Languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Verifying with /sitecore/admin/showconfig.aspx, on &lt;code&gt;linkManager&lt;/code&gt; we have &lt;code&gt;&amp;lt;add name=&quot;sitecore&quot; languageLocation=&quot;filePath&quot; languageEmbedding=&quot;never&quot; /&amp;gt;&lt;/code&gt; (only relevant attributes shown).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case it mattered, I also added &lt;code&gt;language=&quot;en&quot;&lt;/code&gt; to the relevant &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; declaration, to no avail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 1:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Thanks to some assistance in the comments, if we use &lt;code&gt;Sitecore.Resources.Media.MediaManager.GetMediaUrl(imageField.MediaItem, mediaUrlOptions);&lt;/code&gt; and set &lt;code&gt;mediaUrlOptions&lt;/code&gt; to &lt;code&gt;new Sitecore.Resources.Media.MediaUrlOptions()&lt;/code&gt; or &lt;code&gt;Sitecore.Resources.Media.MediaUrlOptions.Empty&lt;/code&gt; &lt;code&gt;la=en&lt;/code&gt; is not added&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we use &lt;code&gt;Sitecore.Links.LinkManager.ExpandDynamicLinks()&lt;/code&gt; with a Rich Text field type image sources are expanded, but include the language parameter.&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2017-05-19T21:01:37.387" LastActivityDate="2017-12-21T18:04:17.827" Title="Can I remove the language parameter from Media Library images via config changes?" Tags="|media-library|multilingual|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="5773" PostTypeId="2" ParentId="5771" CreationDate="2017-05-19T18:16:39.533" Score="5" Body="&lt;p&gt;It all depends on your requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;When to use the Panel&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the panel, it will act as a &lt;code&gt;container&lt;/code&gt; where you can add labels, button and so on via code. Let's take the example for the &lt;strong&gt;Page Size&lt;/strong&gt;. The page size is a panel and in the code-behind you will see that Sitecore actually build the label &lt;code&gt;Items per page&lt;/code&gt; and the &lt;code&gt;combo box&lt;/code&gt; for the number of items. See below screenshot of the code snippet from the namespace &lt;code&gt;Sitecore.Shell.Applications.Workbox.PageSizePanel,Sitecore.Client&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IOxvK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IOxvK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your case, I think you can directly create a button based on the template &lt;code&gt;/sitecore/templates/System/Ribbon/Small Button&lt;/code&gt; and then add the method for the command in the &lt;code&gt;Click&lt;/code&gt; Field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Implementation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create an item in the Core database using the &lt;code&gt;/sitecore/templates/System/Ribbon/Small Button&lt;/code&gt; template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, in the &lt;code&gt;Click Field&lt;/code&gt;, add a command. For example: &lt;strong&gt;contenteditor:open&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, the code. Create a new class which extends the &lt;code&gt;Sitecore.Shell.Framework.Commands.Command&lt;/code&gt; and add the required code. A snippet is shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ContentEditor : Command&#xA;{&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        // Any additional logic goes here.&#xA;&#xA;        // Create a new UrlString to pass the different querystrings.&#xA;        UrlString str = new UrlString(); &#xA;&#xA;        // The querystring id and fo should have an item id.&#xA;        // You may set them to the Home item id.&#xA;        str.Add(&quot;id&quot;, &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;);&#xA;        str.Add(&quot;fo&quot;, &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;);&#xA;&#xA;        // This will generate the url for the Content Editor with the different querystrings.&#xA;        Windows.RunApplication(&quot;Content editor&quot;, str.ToString());&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to add a patch for the command to run. This is shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration  xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;contenteditor:open&quot; type=&quot;YourNamespaceWithClassName,YourAssemblyName&quot;/&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;    &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: If you decide not to use the &lt;code&gt;contenteditor:open&lt;/code&gt; but another one, make sure to change it also in the config file.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-05-20T17:30:15.910" LastActivityDate="2017-05-20T17:30:15.910" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="5774" PostTypeId="1" AcceptedAnswerId="5776" CreationDate="2017-05-19T18:37:06.470" Score="2" ViewCount="862" Body="&lt;p&gt;I have been getting the error below since following this &lt;a href=&quot;https://blogs.perficient.com/microsoft/2016/10/using-azure-documentdb-with-sitecore-xdb/#comment-935986&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure DocumentDB guide&lt;/a&gt; which causes the analytics and other xDB functionally not to work (an example being Experience Analytics graphs not loading due to an error).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the new Cosmos DB with MongoDB API for xDB along with using Sitecore 8.1 Update 1 which I suspect could be part of the problem as 8.1 supports up to version 3.0 of Mongo and Cosmos might be using a newer version. The actual connection appears to be fine since I am getting no TLS related access errors and all the collections were made as soon as I updated my connection strings although I have virtually no actual documents in any of the xDB databases. However, since I have not done as much work with xDB in the past I'm unsure if this is compatibly issue vs something that I haven't configured.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: System.InvalidCastException&#xA;Message: Unable to cast object of type 'MongoDB.Bson.BsonInt32' to type 'MongoDB.Bson.BsonInt64'.&#xA;Source: Sitecore.Analytics.MongoDB&#xA;   at Sitecore.Analytics.RangeScheduler.MongoDbRangeMap2.BuildRangeRecord(BsonDocument document)&#xA;   at Sitecore.Analytics.RangeScheduler.MongoDbRangeMap2.TryLockRange(WorkerHandle worker, DateTime leaseExpiration, RangeHandle&amp; range)&#xA;   at Sitecore.Analytics.Processing.RangeScheduler.RangeMapWorkScheduler3`1.TryLockRange(WorkScheduler`1&amp; context)&#xA;   at Sitecore.Analytics.Processing.RangeScheduler.RangeMapWorkScheduler3`1.GetNextRange(WorkScheduler`1&amp; context, Boolean returning)&#xA;   at Sitecore.Analytics.Processing.RangeScheduler.RangeMapWorkScheduler3`1.TryGetNext(ItemBatch`1&amp; item)&#xA;   at Sitecore.Analytics.Processing.WorkSchedulerWithBacklog`1.TryGetNext(ItemBatch`1&amp; batch)&#xA;   at Sitecore.Analytics.Aggregation.Data.Processing.InteractionBatchHistoryWorker.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="1937" LastEditorUserId="890" LastEditDate="2017-05-19T21:48:41.550" LastActivityDate="2017-05-19T21:48:41.550" Title="Sitecore 8.1 with CosmosDB for xDB Issues" Tags="|xdb|azure|cosmos-db|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5775" PostTypeId="1" AcceptedAnswerId="5781" CreationDate="2017-05-19T18:40:06.613" Score="1" ViewCount="361" Body="&lt;p&gt;We've built a register form inside WFFM with a custom save action.  The custom save action tries to create a new user with an exterior service.  However sometimes the e-mail they use to register, already exists in the exterior service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a user registers with an account that's already in use, we would like to display a message at the top where the usual error message that says: &quot;There was a problem while trying to register your account&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-05-20T11:27:30.010" Title="WFFM Custom Error Message" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5776" PostTypeId="2" ParentId="5774" CreationDate="2017-05-19T20:20:07.993" Score="3" Body="&lt;p&gt;At this time, Sitecore doesn't officially support Cosmos DB / DocumentDB. But with all the push towards Azure, I would expect this to be ready sometime this year.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the notes here: &lt;a href=&quot;https://kb.sitecore.net/articles/599633&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/599633&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Using DocumentDB protocol support for MongoDB with Azure DocumentDB service is not supported. A MongoDB server instance must be used.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And the &lt;a href=&quot;https://kb.sitecore.net/articles/682999&quot; rel=&quot;nofollow noreferrer&quot;&gt;compatibility table&lt;/a&gt; confirms that. But based on its presence there, and the fact that they've already switched the name to &quot;Cosmos DB&quot;, I suspect they're actively working on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's a &lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/3045&quot; rel=&quot;nofollow noreferrer&quot;&gt;great thread&lt;/a&gt; on the Sitecore community forum where this is discussed at some length (and the article you mention is linked). This might be a good source of support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Considering the speed of evolution of both Azure services and Sitecore, it would be safer to wait for official support before using this in production. But if you're still feeling intrepid, here are a couple of more recent blog entries on the subject that you should read.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.galysoft.es/post/2016/12/06/Using-Azure-document-Db-as-Mongo-provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.galysoft.es/post/2016/12/06/Using-Azure-document-Db-as-Mongo-provider&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://getfishtank.ca/blog/sitecore-azure-paas-mongodb-api-database-as-a-service&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://getfishtank.ca/blog/sitecore-azure-paas-mongodb-api-database-as-a-service&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It might also be interesting for you to try this integration with Sitecore 8.2 Update 3.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-05-19T20:20:07.993" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5777" PostTypeId="2" ParentId="1358" CreationDate="2017-05-19T22:22:41.633" Score="11" Body="&lt;p&gt;Have recently implemented this module, works perfectly for me so far, give it a try.&#xA;&lt;a href=&quot;https://vohil.net/2017/05/16/rebuild-sitecore-analytics-index-without-re-building-reporting-database/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://vohil.net/2017/05/16/rebuild-sitecore-analytics-index-without-re-building-reporting-database/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="915" LastEditDate="2022-06-17T13:03:04.973" LastActivityDate="2022-06-17T13:03:04.973" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="5778" PostTypeId="1" CreationDate="2017-05-20T02:32:39.140" Score="0" ViewCount="132" Body="&lt;p&gt;Can we apply for Multivariant testing on Static Components?&#xA;If Yes, then how or Is Multivariant testing recommended only for Dynamic Components?&lt;/p&gt;&#xA;" OwnerUserId="1918" LastActivityDate="2017-05-20T10:44:45.673" Title="Multivariant Testing for Components" Tags="|content-testing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5780" PostTypeId="2" ParentId="5778" CreationDate="2017-05-20T10:44:45.673" Score="1" Body="&lt;p&gt;As long as a component has been added to a placeholder, it can be tested.  I assume by static component, you mean something like a breadcrumb that wouldn't typically be editable by a content author.  In that case, you could edit do an MV test from inside the presentation details.  I'd see this as an edge case and something that we'd want to keep content authors out of.  Hope I understood your question correctly.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Fwo20.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Fwo20.png&quot; alt=&quot;Non-editable component w/ test option present&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2017-05-20T10:44:45.673" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5781" PostTypeId="2" ParentId="5775" CreationDate="2017-05-20T11:27:30.010" Score="1" Body="&lt;p&gt;You should be able to create a custom form verification action, similar to your custom save action.  Look at WFFM &gt; settings &gt; actions &gt; form verification &gt; user exists for a model to follow.  The error messaging is part of the form verification action&#xA;&lt;a href=&quot;https://i.stack.imgur.com/BBaXM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BBaXM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2017-05-20T11:27:30.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5783" PostTypeId="2" ParentId="799" CreationDate="2017-05-20T14:42:42.637" Score="6" Body="&lt;p&gt;Refer to this &lt;a href=&quot;https://adarshbh.wordpress.com/2017/04/22/sitecore-personalization-out-of-the-box/&quot; rel=&quot;noreferrer&quot;&gt;blog&lt;/a&gt; that I wrote on Sitecore Personalization OTB&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all, you will need to define a profile to segment your contents and your visitors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example you want to track the readers interest.&#xA;Your profile name can be &quot;Readers&quot; and the keys you will need can be each brand you have.In this example we will have as keys: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Career&lt;/li&gt;&#xA;&lt;li&gt;Fashion&lt;/li&gt;&#xA;&lt;li&gt;Prom Party&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LxB76.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LxB76.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create the profile cards(not mandatory) - these are used to tag your contents.&#xA;Profile card is just like a combination of the profile keys and weights that can be used to tag multiple contents.&#xA;Even if you do not have profile cards, you can specify the weights of each keys for each content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next you will have to create the different patterns that can represent the behavior of your users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the rendering you want personalized contents to appear, you will need to define the rules &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DYjSt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DYjSt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2017-05-20T14:42:42.637" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5784" PostTypeId="1" AcceptedAnswerId="5785" CreationDate="2017-05-20T17:53:43.057" Score="3" ViewCount="1896" Body="&lt;p&gt;How can we programmatically get the contacts associated to a ContactList by its ContactList Id?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Versions we are using:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.2 (rev. 161221)&lt;/li&gt;&#xA;&lt;li&gt;EXM 4.0.1 (rev. 170105)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="595" LastEditorUserId="982" LastEditDate="2017-05-20T20:11:42.467" LastActivityDate="2017-11-12T13:18:51.227" Title="How to programmatically get a list of contacts by a ContactList Id in Sitecore 8.2" Tags="|exm|list-manager|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5785" PostTypeId="2" ParentId="5784" CreationDate="2017-05-20T18:12:56.157" Score="5" Body="&lt;p&gt;Just to clear up a common misconception. EXM uses List Manager to retrieve contact lists and contacts, but they are two different products/APIs. EXM is a module released separately, whereas List Manager is a component released as part of the Sitecore Experience Platform. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you don't want to look at the EXM API to do what you're asking, but rather the List Manager API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, to get all the contacts associated to a contact list you do the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Configuration;&#xA;using Sitecore.ListManagement;&#xA;using Sitecore.ListManagement.ContentSearch.Model;&#xA;&#xA;var listId = Guid.NewGuid();&#xA;var listManager = Factory.CreateObject(&quot;contactListManager&quot;, false) as ListManager&amp;lt;ContactList, ContactData&amp;gt;;&#xA;var list = listManager.FindById(listId.ToString());&#xA;var contacts = listManager.GetContacts(list);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that you can only do this on a CM role.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-05-20T18:12:56.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5788" PostTypeId="1" AcceptedAnswerId="5791" CreationDate="2017-05-21T07:59:22.773" Score="8" ViewCount="2034" Body="&lt;p&gt;How to sort/filter search result in Sitecore SXA by &lt;code&gt;__created date&lt;/code&gt; or &lt;code&gt;__updated date&lt;/code&gt; to retrieve recent search items&lt;/p&gt;&#xA;" OwnerUserId="1946" LastEditorUserId="2727" LastEditDate="2018-11-08T05:39:04.940" LastActivityDate="2018-11-08T05:39:04.940" Title="Sitecore SXA Search Result Sorting by date" Tags="|content-search|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5789" PostTypeId="2" ParentId="5788" CreationDate="2017-05-21T09:10:54.960" Score="2" Body="&lt;p&gt;To be able to sort by date you have to create a facet for your date field. Then you can use that facet as a default sort order in the Sort Results rendering. You can also use Sort Results rendering.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2017-05-22T11:13:25.217" LastActivityDate="2017-05-22T11:13:25.217" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5790" PostTypeId="1" CreationDate="2017-05-21T14:14:05.607" Score="1" ViewCount="1171" Body="&lt;p&gt;What is the core usage of a Component Definition item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it used to store the rendering parameters of the component? Or does it allow the component to be added to a placeholder? Or Both?&lt;/p&gt;&#xA;" OwnerUserId="1918" LastEditorUserId="1000" LastEditDate="2017-05-22T06:52:08.060" LastActivityDate="2017-05-22T06:52:08.060" Title="Component Definition item" Tags="|experience-editor|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5791" PostTypeId="2" ParentId="5788" CreationDate="2017-05-21T16:19:01.580" Score="5" Body="&lt;h3&gt;Create facet item&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to your site facets node &lt;code&gt;/sitecore/content/tenant/site/Settings/Facets&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add new item using following template &lt;code&gt;/sitecore/templates/Feature/Experience Accelerator/Search/Settings/Facets/DateFacet&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Fill field name with the name of the field stored in index. (In my case it will be &lt;code&gt;movie_released&lt;/code&gt; as I am showing you configuration from my example site)&lt;a href=&quot;https://i.stack.imgur.com/wTEaB.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wTEaB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Add rendering to a page&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open page where you want to display results&lt;/li&gt;&#xA;&lt;li&gt;Add &lt;strong&gt;Search Results&lt;/strong&gt; rendering (will be used to display sorted results)&lt;/li&gt;&#xA;&lt;li&gt;Add &lt;strong&gt;Sort Results&lt;/strong&gt; rendering. When adding create new data source item for it (template: &lt;code&gt;/sitecore/templates/Feature/Experience Accelerator/Search/Datasource/SortingGroups&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Next create your filter configuration items under datasource created above. You can do it in CE.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JNkci.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JNkci.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Fields:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Title - used for displaying purposes&lt;/li&gt;&#xA;&lt;li&gt;Facet - select your date facet that you create in step 1.&lt;/li&gt;&#xA;&lt;li&gt;Direction - there are two directions: ascending and descending. Normally you create two option items for a single facet, on for asc. and another for desc. order.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Summary&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Once you configure everything properly you should be able to sort your results using different drop down options. See example:&#xA;&lt;a href=&quot;https://raw.githubusercontent.com/alan-null/XA.Reference.Wraith/master/shots_base/renderings_search_sort-results/MULTI_casperjs_pattern.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://raw.githubusercontent.com/alan-null/XA.Reference.Wraith/master/shots_base/renderings_search_sort-results/MULTI_casperjs_pattern.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are new to &lt;strong&gt;SXA&lt;/strong&gt; you can learn how to use different renderings from &lt;strong&gt;XA.Reference&lt;/strong&gt;. I created a reference site which shows how to configure every rendering in SXA. It is standard Sitecore package with example site inside.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Latest release supports &lt;strong&gt;SXA 1.2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/alan-null/XA.Reference/releases&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/alan-null/XA.Reference/releases&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-05-21T16:19:01.580" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5792" PostTypeId="2" ParentId="5790" CreationDate="2017-05-21T16:43:31.990" Score="3" Body="&lt;p&gt;Component/Rendering/Sublayout (depending how you call it or which technology you are using WebForms or MVC) definition item is an item in Sitecore content tree which defines a rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is used for storing following information:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Name&lt;/li&gt;&#xA;&lt;li&gt;Description&lt;/li&gt;&#xA;&lt;li&gt;Experience Editor buttons&lt;/li&gt;&#xA;&lt;li&gt;Global Caching options (if set here will be applied to all instance of rendering).&lt;/li&gt;&#xA;&lt;li&gt;what is the Controller name and Action name that should be used to render rendering (in case you are using MVC)&lt;/li&gt;&#xA;&lt;li&gt;What is the path to the view file (if you are using WebForms or xslt)&lt;/li&gt;&#xA;&lt;li&gt;Parameters Template - what is the template of rendering paramters. If you open renderings options in Experience Editor you will see those options&lt;/li&gt;&#xA;&lt;li&gt;Default datasource location&lt;/li&gt;&#xA;&lt;li&gt;Datasource template&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As you can see it describe the rendering in general. We can say it describe the type of a rendering (similar analogy to object oriented programming concept of type and instance of types)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;It is used to store the rendering parameters of the component &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;No. Like I said above it is just a rendering (type) definition. If you add rendering to a page then it will create an instance of this rendering but rendering parameters won't be stored in component definition item but in &lt;code&gt;__Renderings&lt;/code&gt; or &lt;code&gt;__Final Renderings&lt;/code&gt; fields of your current page item)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how rendering instance is stored in one of those fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;r uid=&quot;{B343725A-3A93-446E-A9C8-3A2CBD3DB489}&quot; s:par=&quot;Param1=Value1&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice the &lt;code&gt;s:par&lt;/code&gt; attribute.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;or it allows the components to be added to a placeholder?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To define whether rendering can be added to a particular placeholder is set in different place. Search for &lt;code&gt;Placeholder Settings&lt;/code&gt; to learn more. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This video might give you some overview: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Friday Sitecore Best Practice: How to Properly Use Placeholder Settings&lt;/em&gt;&#xA; &lt;a href=&quot;https://www.youtube.com/watch?v=HDNdVLFTNLc&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=HDNdVLFTNLc&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-05-21T16:43:31.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5793" PostTypeId="1" AcceptedAnswerId="6055" CreationDate="2017-05-22T03:06:43.127" Score="4" ViewCount="511" Body="&lt;p&gt;I am working on an assignment to add some extra columns to Order entity when order save into database. But it's using database table name _SitecoreCommerce.SharedEnviornment table and data store in db like given below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nw6hD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nw6hD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where to add a new column in this scenario? Can we solve this by creating a new plugin for order customization? If yes then how to define columns and assign the values while order capturing?&lt;/p&gt;&#xA;" OwnerUserId="803" LastActivityDate="2017-06-08T15:34:29.140" Title="How to add extra column to Order Entity in Sitecore Commerce 8.2.1" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5795" PostTypeId="1" CreationDate="2017-05-22T07:13:35.113" Score="0" ViewCount="1448" Body="&lt;p&gt;We are using Azure B2C for Login into Our website, but in CM server we are getting below error . The Same code is working in CD server. I don't remember what i have missed in CM server (any config entry or any setting).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Object reference not set to an instance of an object.&#xA;&#xA;Description: An unhandled exception occurred. &#xA;&#xA;Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.&#xA;&#xA;Source Error: &#xA;&#xA;&#xA;Line 10:      &#xA;Line 11: Claim _B2CEmailAuthenticationClaim = cookieAuthenticationTicket.Identity.Claims.Where(x =&amp;gt; x.Type.Equals(UserProfileDetails.Email)).Single();&#xA;Line 12: Sitecore.Analytics.Tracker.Current.Session.Identify(&quot;shailesh.kumar.sahu@e.com&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In  Log File&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;9048 07:11:07 ERROR Exception when executing agent aggregation/contactProcessing&#xA;Exception: System.Collections.Generic.KeyNotFoundException&#xA;Message: The given key was not present in the dictionary.&#xA;Source: mscorlib&#xA;   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)&#xA;   at Sitecore.Analytics.Aggregation.Data.Contact.ContactWorkDispatcher.TryGetNext(ContactWorkItem&amp;amp; workItem)&#xA;   at Sitecore.Analytics.Aggregation.Data.Contact.ContactProcessingAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="73" LastEditDate="2018-02-28T22:44:44.127" LastActivityDate="2018-02-28T22:44:44.127" Title="Getting System.NullReferenceException while setting value into Sitecore.Analytics.Tracker.Current.Session.Identify" Tags="|xdb|experience-analytics|mongodb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5796" PostTypeId="1" AcceptedAnswerId="5797" CreationDate="2017-05-22T08:16:20.000" Score="41" ViewCount="4300" Body="&lt;p&gt;The Sitecore MVP program is mentioned everywhere. What factors do Sitecore consider for MVPs, and how would I go about working to become one myself? And what is the process?&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2017-06-08T08:51:19.917" LastActivityDate="2020-11-24T10:41:13.590" Title="How to become a Sitecore MVP?" Tags="|community|mvp|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5797" PostTypeId="2" ParentId="5796" CreationDate="2017-05-22T08:16:20.000" Score="38" Body="&lt;p&gt;&lt;em&gt;First of all: No one should have a goal to become a Sitecore MVP, the goal should contribute to the Sitecore community with passion as much as possible and the MVP award will be a consequence.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1&gt;What is the Sitecore MVP Award&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;The Sitecore MVP Award celebrates the most active Sitecore community members from around the world who provide valuable online and offline expertise that enriches the community experience and makes a difference.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Each year, the Sitecore Most Valuable Professional (MVP) Awards recognize individuals with a passion for sharing their knowledge and expertise through active participation in online and offline Sitecore communities.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Type of MVPs are: Technology, Strategy, Commerce and Ambassador&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;General Recommendations&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;One of the key things to remember with the MVP piece is around individual community involvement on a specific topic and that people can nominate for multiple categories. A big part of it comes down to the information they submit in their dossier as part of the review process.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The roll up of this was probably 5-10 hours per week of your personal time beyond day job, as well as hours for self-learning on top of this, but there can be an overlap as a large portion of the learnings became posts.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;Ideas&lt;/h1&gt;&#xA;&lt;p&gt;As an idea of what some of the MVPs do:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;6 hours most Saturdays writing blog posts/tutorials&lt;/li&gt;&#xA;&lt;li&gt;Contributed to 2 or 3 open source projects a year&lt;/li&gt;&#xA;&lt;li&gt;Answered questions for people outside of their own org on Stack Exchange and Twitter, probably averaging 1 or 2 a month&lt;/li&gt;&#xA;&lt;li&gt;Participated in conversations on Twitter – would probably move this to the Sitecore community slack channels now&lt;/li&gt;&#xA;&lt;li&gt;Organised user groups&lt;/li&gt;&#xA;&lt;li&gt;Presented at conferences&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;General Suggestions&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Keep up the good work month-by-month, not just around the MVP nomination period.&lt;/li&gt;&#xA;&lt;li&gt;When you blog it is not only the quantity, but mainly the quality that matters. Before blogging about something please check if someone else has already written about that topic and reference it while adding something new to it.&lt;/li&gt;&#xA;&lt;li&gt;Community.sitecore.net is our base where Sitecore enthusiasts are connected. We are upgrading it this year to deliver a better experience for everyone.&#xA;Sitecore Slack channels have been there for you for more than a year, please be present in there also.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Stack Exchange is the new opportunity for everyone to ask questions and to share your knowledge and experience.&lt;/li&gt;&#xA;&lt;li&gt;If you can, consider contributing to an open source modules or start a new project yourself.&lt;/li&gt;&#xA;&lt;li&gt;Being at User Groups or conferences are always great, but speaking is the real opportunity to share your expertise.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;For more suggestions you can listen the &lt;a href=&quot;https://coresampler.fm/tags/gettoknowmvp&quot; rel=&quot;nofollow noreferrer&quot;&gt;Get to know an MVP podcast&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h1&gt;The Sitecore Community / Relevant Resources&lt;/h1&gt;&#xA;&lt;p&gt;Best reference to get involved with the community: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1689/how-can-i-connect-with-the-sitecore-community&quot;&gt;How can I connect with the Sitecore Community?&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;See also:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2294/how-to-be-recommended-to-be-a-sitecore-mvp&quot;&gt;How to be Recommended to be a Sitecore MVP?&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h1&gt;Process&lt;/h1&gt;&#xA;&lt;p&gt;The nomination is open in November. Once you have received at least one recommendation from existing MVPs and Sitecore employees you will receive an email with a link to apply. You can then create an account and submit your application for review.&lt;/p&gt;&#xA;&lt;p&gt;From the 1st December multiple Sitecore teams and selected MVPs are reviewing the nominations. For new nomination existing MVPs review them first. Also Sitecore regional representatives are reviewing the applications. Then Sitecore product teams are reviewing them. At the end the MVP team is summarizing the results.&lt;/p&gt;&#xA;&lt;p&gt;The MVP Award is usually announced at the end of January.&lt;/p&gt;&#xA;&lt;p&gt;You can read more details in the &lt;a href=&quot;https://sitecore.stackexchange.com/a/8678/135&quot;&gt;What should I expect in the MVP nomination or first-time application process?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2020-11-24T10:41:13.590" LastActivityDate="2020-11-24T10:41:13.590" CommentCount="1" CommunityOwnedDate="2017-05-22T08:16:55.293" ContentLicense="CC BY-SA 4.0" />
  <row Id="5799" PostTypeId="1" CreationDate="2017-05-22T10:12:07.930" Score="8" ViewCount="466" Body="&lt;p&gt;I have done the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I created a new Dimension and Segment;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I created a class inheriting from PageEventDimensionBase:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ByProfilesEdited : PageEventDimensionBase {&#xA;  public ByProfilesEdited(Guid dimensionId)&#xA;    : base(dimensionId) {&#xA;  }&#xA;&#xA;  public override IEnumerable&amp;lt;string&amp;gt; ExtractDimensionKeys(PageEventData pageEvent) {&#xA;    Assert.IsNotNull(pageEvent, &quot;pageEvent&quot;);&#xA;    List&amp;lt;string&amp;gt; result = new List&amp;lt;string&amp;gt;();&#xA;    result.Add(string.Format(&quot;( {0} ) test! {1}&quot;, pageEvent.Name, pageEvent.Text));&#xA;&#xA;    return result;&#xA;  }&#xA;&#xA;  public override bool Filter(PageEventData pageEvent) {&#xA;    Assert.IsNotNull(pageEvent, &quot;pageEvent&quot;);&#xA;    return true;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;in Sitecore.ExperienceAnalytics.Aggregation.Config I added the following line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt; dimension id=&quot;&amp;lt; ID of my dimension &amp;gt;&quot; type=&quot;&amp;lt; type of the class created above &amp;gt;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;to Sitecore.ExperienceAnalytics.Aggregation.config, Sitecore.ExperienceAnalytics.Reduce.config and Sitecore.ExperienceAnalytics.WebAPI.config.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Finally, I register each Page Event like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Register Page Event&#xA;PageEventData pageEvent = new PageEventData(GlobalDefinitions.Analytics.Events.EditedProfile.Name) {&#xA;    Name = GlobalDefinitions.Analytics.Events.EditedProfile.Name,&#xA;    Text = GlobalDefinitions.Analytics.Events.EditedProfile.Description,&#xA;    Data = name,&#xA;    ItemId = person.Id&#xA;};&#xA;try {&#xA;    currentPage.Register(pageEvent);&#xA;} catch (Exception exception) {&#xA;    _logService.Error(string.Format(&quot;{0} pageevent not created in current Sitecore Instance&quot;, GlobalDefinitions.Analytics.Events.EditedProfile.Name), exception);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My PageEvent is recorded successfully in the xDB database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/S3sot.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/S3sot.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;However&lt;/strong&gt;, when I rebuild the Reporting Database, I only get the Long Running Requests in the ReportDataView.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QUESTION&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone knows what I'm doing wrong? I decompiled and studied painstakingly the Sitecore.ExperienceAnalytics.dll, and I'm going to thoroughly dissect Sitecore.Analytics.Sql.dll next as all types of Page Events were working fine in it. I absolutely, positively need to show up custom Page Events in our Experience Analytics reports, and nothing I found online helped so far.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: I have since created a new Dimension and Segment and restarted the process from scratch - it is now working. I'm afraid I will not have the time to go back to the original problem and figure out what went wrong there.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2018-06-29T08:26:02.543" LastActivityDate="2023-12-10T05:27:47.587" Title="Custom PageEvent processed, visible in xDB; yet not showing up in reports after rebuilding database" Tags="|xdb|experience-analytics|reporting|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="5800" PostTypeId="2" ParentId="5796" CreationDate="2017-05-22T10:12:41.827" Score="4" Body="&lt;p&gt;My Personal Experience and Suggestion as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, it takes passion&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Blog about your passion,If you don't have one already, create your own blog-there are plenty of sites, such as Wordpress, that will host your blog for free. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contribute to it regularly with relevant information and talk about your own experience including the lessons that you've learned in your area of expertise.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contribute samples and walkthroughs in Gitub and Sitecore Marketplace. This could mean code samples or steps to setting up an environment that folks can both use and learn from&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Speak to others MVPs about your passions. Ask them what user groups or local conferences are located near you and start small. Or take it one step further and organize a local event on your own&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maintain a constant, but not overly aggressive, professional-only Twitter account&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be active in any online/offline Sitecore communities, forums, newsgroups, User Groups &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Report bugs to Sitecore on Support portal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Help other people on &lt;a href=&quot;https://sitecore.stackexchange.com&quot;&gt;https://sitecore.stackexchange.com&lt;/a&gt; and community.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Upload Sitecore technical videos on Youtube.&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2017-05-22T10:12:41.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5801" PostTypeId="1" CreationDate="2017-05-22T10:27:59.790" Score="3" ViewCount="1027" Body="&lt;p&gt;I need to create the separate ASP.NET Web API 2 Application for the Native mobiles Apps (Andriod and IOS), that will consume the Sitecore web application data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently it’s on the same solution and exposed the APIs by controller and we are using the Sitecore context directly using DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, there are a couple of options to get Sitecore Data in separate application as below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore.Services.Client&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Item WebApi&lt;/li&gt;&#xA;&lt;li&gt;Direct Sitecore API using Sitecore Database and Sitecore reference.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;What would be the best approach for this scenarios? Any suggestion&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: My Sitecore instance and new Mobile API server will be on the same network and part of Subdomain &lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="2727" LastEditDate="2018-03-03T16:02:19.800" LastActivityDate="2018-03-03T16:02:19.800" Title="Best way to Use Sitecore Data for other Application?" Tags="|sitecore-api|sitecore-services-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5802" PostTypeId="1" AcceptedAnswerId="5807" CreationDate="2017-05-22T11:07:38.553" Score="5" ViewCount="257" Body="&lt;p&gt;Here is the situation:&#xA;I have three items - Categories - Corporate, Financial and Product which I am using to categorize other items. They can be selected from a Droplink field (so Sitecore holds ID in this field).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Items which are being categorized had been imported and had been assigned one of the three IDs, corresponding to my categories (Corporate, Financial and Product).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to correctly index values of those fields in Lucene I have implemented simple FieldReader which converts the category field to LookupField and then reads either one of the fileds of the category item or it's name (so it does not index the ID which is stored in the field but the name of the category).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This worked like a charm when I have been manually adding my items and have been assigning categories by hand. However when I imported them, strange things started to happen:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of three possible categories I have 5: Corporate, Corpora, Financial, Product, Produc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first thing I have checked is my custom field reader but it is always reading one of the three categories, because I only have three items representing categories.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I attach debugger to LuceneDocumentBuilder and add conditial breakpoint which should react on &quot;Corpora&quot; being added to the index it never breaks there. Yet in the index there is this strange creature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the things get even more interesting when I change the name of the category, to let's say 'Historical' - this one is indexed only once in its correct form. However when I introduce a typo (eg. Croporate) then it follows this strange behavior and I got &quot;Cropora&quot; and &quot;Croporate&quot; in the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have removed the indexes couple of times and this didn't help. The name of the field is pretty unique so the strange value should not come from elswhere besides it disappears when I change from Corporate to something entirely different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does any of you has any ideas where I should look for the source of this, pretty strange, issue?&lt;/p&gt;&#xA;" OwnerUserId="66" LastActivityDate="2017-05-22T11:47:22.643" Title="Sitecore Lucene indexing two versions of the same keyword" Tags="|sxa|lucene|indexing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5803" PostTypeId="1" AcceptedAnswerId="5818" CreationDate="2017-05-22T11:10:15.790" Score="4" ViewCount="1102" Body="&lt;p&gt;What options do I have for caching statically added components that render the top menu of the site.  It should always highlight the selected section the visitor is currently visiting in the top right corner?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it Vary by data or Vary by section or can we not cache statically?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any link with an example&lt;/p&gt;&#xA;" OwnerUserId="1918" LastEditorUserId="1000" LastEditDate="2017-05-22T15:17:14.660" LastActivityDate="2023-12-13T16:42:21.610" Title="Caching of static components" Tags="|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5804" PostTypeId="2" ParentId="5784" CreationDate="2017-05-22T11:14:14.280" Score="0" Body="&lt;p&gt;A refinement of the solution:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var listManager = (ListManager&amp;lt;ContactList, ContactData&amp;gt;)Factory.CreateObject(&quot;contactListManager&quot;, true);&#xA;//here you work with contact.ContactId to get contact object for reading/editing&#xA;ContactManager contactManager = (ContactManager)Factory.CreateObject(&quot;tracking/contactManager&quot;, true);&#xA;&#xA;var list = listManager.FindById(&quot;{5A144595-1EDD-4109-A271-25CB13E83503}&quot;);&#xA;var contacts = listManager.GetContacts(list); //this is how to get all contacts&#xA;foreach (ContactData contactData in contacts)&#xA;{&#xA;   Contact contact = contactManager.LoadContactReadOnly(contactData.ContactId);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code above allows to get a Contact object from the ContactData object provided by the list manager.&lt;/p&gt;&#xA;" OwnerUserId="595" LastActivityDate="2017-05-22T11:14:14.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5805" PostTypeId="2" ParentId="5803" CreationDate="2017-05-22T11:19:19.857" Score="1" Body="&lt;p&gt;You can use : &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;@Html.Sitecore().Rendering(&quot;your rendering definition item id&quot;, new&#xA;  { Cacheable = true, CacheKey = &quot;your_rendering&quot;, Cache_VaryByData =&#xA;  true })&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-22T11:19:19.857" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5806" PostTypeId="2" ParentId="5433" CreationDate="2017-05-22T11:43:21.460" Score="1" Body="&lt;p&gt;When getting the index it seems like it is better to call an index by name &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was calling the index like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var indexableItem = new SitecoreIndexableItem(currentStory);&#xA;var index = ContentSearchManager.GetIndex(indexableItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it didn't work as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I changed it to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And it works properly.&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2017-05-22T11:43:21.460" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5807" PostTypeId="2" ParentId="5802" CreationDate="2017-05-22T11:47:22.643" Score="4" Body="&lt;h1&gt;Lucene Analyzers and Tokenizers&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Essentially, Lucene is preparing your content to be the target of a general &quot;free text search&quot;. In doing so, Lucene will break down the terms it parses in your content - a process known as word-stemming. It also filters out stop words and other things you would normally expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It then &lt;code&gt;Tokenizes&lt;/code&gt; your content, breaking it down into the component parts you show us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are lots of resources available on the web, explaining this. Here is one example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/5483903/comparison-of-lucene-analyzers&quot;&gt;Comparison of Lucene Analyzers&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;The solution&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Stop Lucene from Analyzing and Tokenizing the fields you do not want this behaviour on. Usually, field definitions for Lucene can be TOKENIZED and UNTOKENIZED (turns Tokenization on and off). Also, the default for the Lucene StandardAnalyzer is TOKENIZED. You can switch your Analyzer to KeywordAnalyzer which will treat your content differently.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Additional resources&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/39627329/sitecore-computed-index-fields-how-to-store-untokenized&quot;&gt;Sitecore computed index fields - how to store untokenized&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/9431114/termquery-not-returning-on-a-known-search-term-but-wildcardquery-does/9512833#9512833&quot;&gt;TermQuery not returning on a known search term, but WildcardQuery does&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2017-05-23T12:39:33.693" LastActivityDate="2017-05-22T11:47:22.643" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5809" PostTypeId="2" ParentId="5796" CreationDate="2017-05-22T11:55:23.607" Score="6" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vWfxn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vWfxn.png&quot; alt=&quot;The flow diagram of becoming Sitecore MVP process:&quot;&gt;&lt;/a&gt;&#xA;This article will also help you to answer : &lt;a href=&quot;https://sitecorebasics.wordpress.com/2013/02/13/basics-of-sitecore-mvp-award/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorebasics.wordpress.com/2013/02/13/basics-of-sitecore-mvp-award/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1528" LastActivityDate="2017-05-22T11:55:23.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5810" PostTypeId="1" AcceptedAnswerId="5813" CreationDate="2017-05-22T13:01:31.033" Score="5" ViewCount="693" Body="&lt;p&gt;Does anyone know how the following rule works:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;where the &lt;strong&gt;business name&lt;/strong&gt; compares to specific value&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ShEso.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ShEso.png&quot; alt=&quot;personalization rule by business name&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is it the &lt;strong&gt;Business name&lt;/strong&gt; and how it populates?&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-05-22T13:05:30.127" Title="Personalization rule by GeoIP -&gt; Business name" Tags="|personalization|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5811" PostTypeId="5" CreationDate="2017-05-22T13:04:23.830" Score="0" Body="&lt;p&gt;The Sitecore IP Geolocation service provides information about the location and owner of an IP address beyond that provided by a reverse DNS lookup. IP Geolocation information includes the country, state, city, and the registered company name of every visitor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use IP Geolocation lookups to create conditional renderings or personalization rules that show different content based on the visitor's location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/ip_geolocation&quot; rel=&quot;nofollow noreferrer&quot;&gt;IP Geolocation Definition&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-05-22T14:38:36.177" LastActivityDate="2017-05-22T14:38:36.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5812" PostTypeId="4" CreationDate="2017-05-22T13:04:23.830" Score="0" Body="The Sitecore IP Geolocation service provides information about the location and owner of an IP address beyond that provided by a reverse DNS lookup. " OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-05-22T14:38:40.577" LastActivityDate="2017-05-22T14:38:40.577" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5813" PostTypeId="2" ParentId="5810" CreationDate="2017-05-22T13:05:30.127" Score="8" Body="&lt;p&gt;&lt;strong&gt;Where the Business Name Compares to Specific Value Rule&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In some cases, a business or institution may be available for an IP address. This rule compares against that name. The incidences of these are rather low, however, and when they are not available, the name of the user's ISP is exposed to be tested against.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please look here &lt;a href=&quot;http://www.berndtgroup.net/thinking/blog/sitecore/explaining-sitecore-dms-geographic-personalization-rules&quot; rel=&quot;noreferrer&quot;&gt;http://www.berndtgroup.net/thinking/blog/sitecore/explaining-sitecore-dms-geographic-personalization-rules&lt;/a&gt;, few rules are explained. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Business Name&lt;/strong&gt;: the name of the organization, institution, or business that belongs to the IP address. Often this value and the ISP correspond, leading to misidentification. As a result, this value is only effective for targeting large businesses or corporations whose have large and identifiable networks. Not good for targeting wider geographic areas or small, local businesses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2017/01/Exploring-the-capabilities-of-geographic-personalization-in-Sitecore.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2017/01/Exploring-the-capabilities-of-geographic-personalization-in-Sitecore.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-22T13:05:30.127" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5814" PostTypeId="1" AcceptedAnswerId="5815" CreationDate="2017-05-22T13:34:07.033" Score="3" ViewCount="454" Body="&lt;p&gt;When I am adding available renderings into SXA, they do show in the Experience Editor's toolbox but after a some time, they disappear (only one stays permanently in the folder, and it has the same configuration as others !).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the steps I followed to add my renderings,&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a folder in Renderings hosting all my custom renderings&lt;/li&gt;&#xA;&lt;li&gt;For each rendering in the folder, create a controller rendering inheriting from Standard Controller, the repository inherits from ModelRepository, the model from RenderingModelBase&lt;/li&gt;&#xA;&lt;li&gt;Create an available renderings item in Presentation/Available Renderings&lt;/li&gt;&#xA;&lt;li&gt;Add renderings to the renderings field.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After having noticed the first disappearances, I also tried to follow &lt;a href=&quot;https://ggullentops.blogspot.fr/2017/04/how-add-custom-rendering-SXA-Sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Gatogordo's tutorial&lt;/a&gt;, with no more luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did I do something wrong ? Has anybody experienced the same issue ? Any clue is welcome !&lt;/p&gt;&#xA;" OwnerUserId="1833" LastActivityDate="2020-05-15T15:31:52.987" Title="SXA: Renderings disappearing from Available Renderings" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5815" PostTypeId="2" ParentId="5814" CreationDate="2017-05-22T13:53:42.300" Score="3" Body="&lt;p&gt;We have experienced something similar and we discovered that this has to do with the fact that when we were syncing the items, sometimes the checkbox would get unchecked. Make sure that &lt;em&gt;Editable&lt;/em&gt; is checked on the &lt;em&gt;Rendering Controller&lt;/em&gt;.&lt;/p&gt;&#xA;" OwnerUserId="21" LastActivityDate="2017-05-22T13:53:42.300" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5816" PostTypeId="1" AcceptedAnswerId="5824" CreationDate="2017-05-22T14:43:01.467" Score="3" ViewCount="928" Body="&lt;p&gt;At the moment we are sending emails using engagement plans and automated actions for EXM. &#xA;Sometimes we get &lt;code&gt;Sitecore.EDS.Core.Exceptions.ConnectionTimeoutException&lt;/code&gt; exceptions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example checked now we sent 1800 emails and 30 of them failed with this exception. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can be wrong? Is there any suggestion how to nail this down?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.NET 8.2 (rev. 160729)&lt;/li&gt;&#xA;&lt;li&gt;Email Experience Manager 3.4.0 rev. 161028 &lt;/li&gt;&#xA;&lt;li&gt;Sendgrid as MTA.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Exception details are here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;at Sitecore.EDS.Core.Net.Smtp.ChilkatConnectionPool.&amp;lt;GetConnectionAsync&amp;gt;d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;ValidateDispatchAsync&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;ValidateDispatchAsync&amp;gt;d__7.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.Modules.EmailCampaign.SendingManager.CheckMailServer(String&amp;amp; error)&#xA;   at Sitecore.Modules.EmailCampaign.SendingManager..ctor(Boolean checkConnection, MessageItem message, Boolean isService, ILogger logger, ISenderManager senderManager, IDispatchManager dispatchManager)&#xA;   at Sitecore.Modules.EmailCampaign.SendingManager..ctor(Boolean checkConnection, MessageItem message, Boolean isService, ILogger logger)&#xA;   at Sitecore.Modules.EmailCampaign.Core.Dispatch.SendingHelper.SendStandardMessage(String messageId, RecipientId recipientId, Boolean async, ILogger logger)&#xA;   at Sitecore.Modules.EmailCampaign.Core.ClientApiLocal.SendStandardMessage(Guid messageId, RecipientId recipientId, Boolean async)&#xA;   at Sitecore.Modules.EmailCampaign.ClientApi.SendStandardMessage(Guid messageId, RecipientId recipientId, Boolean async)&#xA;---&amp;gt; (Inner Exception #0) Sitecore.EDS.Core.Exceptions.ConnectionTimeoutException: Unable to obtain connection within the given number of retries.&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatConnectionPool.&amp;lt;GetConnectionAsync&amp;gt;d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;ValidateDispatchAsync&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;ValidateDispatchAsync&amp;gt;d__7.MoveNext()&amp;lt;---&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="246" LastEditDate="2017-05-22T17:44:26.407" LastActivityDate="2017-05-22T20:21:57.100" Title="EXM 3.4 EDS connection timeout exceptions" Tags="|exm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5818" PostTypeId="2" ParentId="5803" CreationDate="2017-05-22T15:13:08.480" Score="4" Body="&lt;p&gt;What Sitecore Climber mentioned for Static Renderings in a layout is correct.  However I think you also asked how you would vary the cache by a page (or section).  VaryBySection doesn't exist, neither does VaryByUrl.  But you can add custom Vary By logic pretty easily.  On my blog: &lt;a href=&quot;https://dylanyoung.dev/insights/customizing-html-caching-with-sitecore-xm-with-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dylanyoung.dev/insights/customizing-html-caching-with-sitecore-xm-with-mvc/&lt;/a&gt; I talk about how you can do this.&lt;/p&gt;&#xA;&lt;p&gt;So to achieve a Vary By Url, you would need to extend the GenerateCacheKey pipeline in RenderRendering processor group, using code like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Mvc.Pipelines.Response.RenderRendering;&#xA;using Sitecore.Mvc.Presentation;&#xA;using Sitecore.Web;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;&#xA;namespace Site.Infrastructure.Pipelines.Renderings&#xA;{&#xA;    public class GenerateCacheKey : &#xA;      Sitecore.Mvc.Pipelines.Response.RenderRendering.GenerateCacheKey&#xA;    {&#xA;        private const string VARYBYURL = &amp;quot;VaryByUrl&amp;quot;;&#xA;&#xA;        protected override string GenerateKey(Rendering rendering, RenderRenderingArgs args)&#xA;        {&#xA;            string cacheKey = base.GenerateKey(rendering, args);&#xA;            Item renderingItem = rendering.RenderingItem.InnerItem;&#xA;&#xA;            if (!string.IsNullOrEmpty(renderingItem[VARYBYURL]))&#xA;            {&#xA;                cacheKey += &amp;quot;_#url:&amp;quot; + Sitecore.Context.RawUrl;&#xA;            }&#xA;&#xA;            return cacheKey;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And you would patch it by using the following code:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&#xA;    &amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;        &amp;lt;sitecore&amp;gt;&#xA;            &amp;lt;pipelines&amp;gt;&#xA;                &amp;lt;mvc.renderRendering&amp;gt;&#xA;                    &amp;lt;processor patch:instead=&amp;quot;processor[@type='Sitecore.Mvc.Pipelines.Response.RenderRendering.GenerateCacheKey, Sitecore.Mvc']&amp;quot;&#xA;               type=&amp;quot;Site.Infrastructure.Pipelines.Renderings.GenerateCacheKey, Site.Infrastructure&amp;quot; /&amp;gt;&#xA;                &amp;lt;/mvc.renderRendering&amp;gt;&#xA;            &amp;lt;/pipelines&amp;gt;&#xA;        &amp;lt;/sitecore&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You would need to extend /sitecore/templates/System/Layout/Sections/Caching to include the checkbox option to &amp;quot;VaryByUrl&amp;quot; for the rendering that you've defined.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2023-12-13T16:42:21.610" LastActivityDate="2023-12-13T16:42:21.610" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5819" PostTypeId="1" AcceptedAnswerId="5820" CreationDate="2017-05-22T15:44:16.883" Score="3" ViewCount="645" Body="&lt;p&gt;Does anyone know exactly how the fallback works on rendering variants in SXA? &#xA;I was checking the default variant of the navigation, and I can see:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Navigation title&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Title&lt;/li&gt;&#xA;&lt;li&gt;__Display name&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I assumed that the &lt;code&gt;navigation title&lt;/code&gt; is used if present. Which seems to be correct. And I think it fallbacks to &lt;code&gt;title&lt;/code&gt; as that is it's child.. which also seems to work. But what is the &lt;code&gt;display name&lt;/code&gt; doing there? Based on the item definitions I would expect the &lt;code&gt;display name&lt;/code&gt; to be rendered after the &lt;code&gt;title&lt;/code&gt; in case we have no &lt;code&gt;navigation title&lt;/code&gt;.. but that is not the case. I see in the rendered html that the &lt;code&gt;display name&lt;/code&gt; is rendered as title-attribute of the link on my &lt;code&gt;title&lt;/code&gt; (or &lt;code&gt;navigation title&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, why is it rendering this way? &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-05-22T16:34:16.423" Title="SXA rendering variants fallback" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5820" PostTypeId="2" ParentId="5819" CreationDate="2017-05-22T16:23:03.347" Score="3" Body="&lt;p&gt;Nesting will have different behavior, depending on which variant field you select. The most popular field used to wrap something is &lt;code&gt;Section&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For &lt;code&gt;VariantField&lt;/code&gt; if you nest another &lt;code&gt;VariantField&lt;/code&gt; it will work like a fallback for the parent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If parent field is empty then first child will be taken as a fallback value. If first child is also missing, then second and so on. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Variant Definition&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;VariantField1&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;VariantField2&lt;/code&gt; - first fallback for &lt;code&gt;VariantField1&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;VariantField3&lt;/code&gt; - second fallback for &lt;code&gt;VariantField1&lt;/code&gt; (if &lt;code&gt;VariantField2&lt;/code&gt; empty)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So nested variant fields are used to define fallback values only.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Why you see &lt;code&gt;Display name&lt;/code&gt; as a title attribute?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Because it is hard-coded in code &lt;code&gt;RenderRenderingVariantFieldProcessor.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;CreateHyperLink&lt;/code&gt; call&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (customField is FileField)&#xA;{&#xA;    FileField fileField = item.Fields[linkFieldName];&#xA;    string fileUrl = fileField.MediaItem != null ? MediaManager.GetMediaUrl(fileField.MediaItem) : string.Empty;&#xA;    return CreateHyperLink(fileUrl, item.DisplayName, isDownloadLink, attributes);&#xA;}            &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;CreateHyperLink&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual HyperLink CreateHyperLink(string href, string title, bool isDownloadLink, NameValueCollection attributes)&#xA;{&#xA;    HyperLink hpl = new HyperLink();&#xA;    hpl.Attributes[&quot;title&quot;] = title;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Solution&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If this is a huge problem, you can fix it.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create derived type of &lt;code&gt;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderVariantField&lt;/code&gt; class&lt;/li&gt;&#xA;&lt;li&gt;Override &lt;code&gt;CreateHyperLink&lt;/code&gt; method with your logic&lt;/li&gt;&#xA;&lt;li&gt;Replace old implementation with your by patching configuration file&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;pipeline: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;renderVariantField&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;processor &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderVariantField, Sitecore.XA.Foundation.RenderingVariants&quot; patch:source=&quot;Sitecore.XA.Foundation.RenderingVariants.config&quot;/&amp;gt;`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-05-22T16:34:16.423" LastActivityDate="2017-05-22T16:34:16.423" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5821" PostTypeId="2" ParentId="5816" CreationDate="2017-05-22T19:35:26.367" Score="2" Body="&lt;p&gt;My recommendation is to put EXM into Debug mode and review the contents of the EDS.log file that is created. Any issues with the Email Delivery Service will be logged in the &lt;strong&gt;EDS.log&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Chilkat library which Sitecore EDS depends on doesn't always fail gracefully. When it does fail, it fails within the Async Task, which is generating the above error message, which is denoted by the &lt;code&gt;System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess()&lt;/code&gt; stack trace. Now, the EXM DispatchManager is smart enough to allow the failure to occur, send all of the other email messages, and then, when the dispatch is completely, places the Dispatch in a &lt;strong&gt;Paused&lt;/strong&gt; state, to allow you to fix whatever issue might have been caused, so that you can &lt;em&gt;Resume&lt;/em&gt; the send.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the messaging and logging from this process is generally difficult to find, and you won't find it in the EXM.log, but in the EDS.log rather.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen instances where failure on the MTA side bubbles up to this type of error (which doesn't explain a lot).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Factors that can go into an error on the MTA side:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Badly formed email addresses&lt;/li&gt;&#xA;&lt;li&gt;Connection/Latency Issues&lt;/li&gt;&#xA;&lt;li&gt;Account Issues&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The Chilkat output that ends up in the EDS.log when in debug mode, while difficult to read, does lend itself to being a bit more transparent with what's going on.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-05-22T19:35:26.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5823" PostTypeId="2" ParentId="5795" CreationDate="2017-05-22T19:47:52.040" Score="2" Body="&lt;p&gt;&lt;code&gt;Tracker.Current&lt;/code&gt; really is only meant to be run on the &lt;strong&gt;Content Delivery&lt;/strong&gt; servers and not the Content Management server. It would seem to me, you are executing code at a time where Tracker isn't available, without checking to see if Tracker is enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When &lt;code&gt;Tracker&lt;/code&gt; isn't available, calls like &lt;code&gt;Sitecore.Analytics.Tracker.Current.Session...&lt;/code&gt; will generate an object not found error because of &lt;code&gt;Tracker.Current = null&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I advise, anywhere where you are executing &lt;code&gt;Tracker.Current&lt;/code&gt;, that you check to see if Tracker.Current is equal to &lt;strong&gt;null&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so, you may need to reconfigure how you are obtaining contact/interaction data by using the &lt;code&gt;ContactManager&lt;/code&gt;, &lt;code&gt;ContactRepository&lt;/code&gt;, or &lt;code&gt;SharedSessionManager&lt;/code&gt; classes.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-05-22T19:47:52.040" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5824" PostTypeId="2" ParentId="5816" CreationDate="2017-05-22T20:21:57.100" Score="3" Body="&lt;p&gt;This is most likely a configuration issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing the NumberThreads setting is larger than the maxPoolSize? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NumberThreads&lt;/strong&gt; (Sitecore.EmailExperience.ContentManagement.config): Specifies the number of threads to use when dispatching. Each thread creates a dispatch task responsible for sending an email campaign to one contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;exm/eds/connectionPoolSettings/&lt;strong&gt;maxPoolSize&lt;/strong&gt; (Sitecore.EDS.Providers.CustomSMTP/SparkPost/Dyn.config): Specify the number of connections that can be created in the connection pool. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have more threads generating emails than available connections, you can run into a timeout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, see &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/setting_up_exm/configuration/the_exm_configuration_settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;The EXM configuration settings&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/setting_up_exm/configuration/the_exm_connection_pool_settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;The EXM connection pool settings&lt;/a&gt;on doc.sitecore.net.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;MaxGenerationThreads&lt;/strong&gt; (Sitecore.EmailExperience.ContentManagement.config)&#xA;In addition, but unrelated to your problem, the MaxGenerationThread settings can be used to throttle the dispatch speed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;MaxGenerationThreads acts as a semaphore to limit the number of dispatch tasks that can be running concurrently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an example, if NumberThreads and MaxGenerationThreads are both set to 16, 16 dispatch tasks will be processed concurrently. If MaxGenerationThreads is 8, and NumberThreads is 16, only 8 of the dispatch tasks will be processed concurrently while the other 8 tasks are blocked waiting to be processed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A high value in NumberThreads and MaxGenerationThreads will (possibly) increase the dispatch speed of a campaign, but it will also have a higher CPU load.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-05-22T20:21:57.100" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5825" PostTypeId="1" CreationDate="2017-05-23T05:37:35.190" Score="4" ViewCount="952" Body="&lt;p&gt;&lt;strong&gt;Scenario:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our project we have a requirement that load items in pageload by ajax call and if there are more items, click on &quot;LoadMore&quot; button then load rest of the items by the same ajax call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The items which are loaded in page load are editable in experience editor.But the items which are loaded by &quot;LoadMore&quot; button are not editable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly advise on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CategoryController : Controller&#xA;{&#xA;    CategoryRepository categoryRepository = new CategoryRepository();&#xA;&#xA;    public ActionResult Index()&#xA;    {&#xA;         var categoryViewModel = new CategoryViewModel();&#xA;         categoryViewModel.ContextDatabase = PageContext.Current.Database.Name;&#xA;         categoryViewModel.ContextItem = PageContext.Current.Item;&#xA;         return View(categoryViewModel);&#xA;    }&#xA;&#xA;    public PartialViewResult GetCategories(int size, string itemID, string itemDB)&#xA;    {&#xA;         var model = categoryRepository.GetCategories(itemID, itemDB).Skip(size).Take(9);&#xA;         return PartialView(&quot;_Category&quot;, model);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;View:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model CategoryViewModel&#xA;&amp;lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;    $(function () {&#xA;        var loadCount = 0;&#xA;        var itemId = $(&quot;#contextItemId&quot;).val();&#xA;        var itemDb = $(&quot;#contextDb&quot;).val();&#xA;        LoadCategoires(loadCount, itemId, itemDb);&#xA;        loadCount += 1;&#xA;        $(&quot;#loadMore&quot;).click(function () {&#xA;            LoadCategoires(loadCount, itemId, itemDb);&#xA;            loadCount += 1;&#xA;        });&#xA;    });&#xA;&#xA;    function LoadCategoires(loadCount, itemId, itemDb) {&#xA;        $.ajax({&#xA;            url: '/api/sitecore/Category/GetCategories',&#xA;            type: 'POST',&#xA;            dataType: 'html',&#xA;            async: true,&#xA;            data: { size: loadCount * 9, itemID: itemId, itemDB: itemDb },&#xA;            success: function (data) {&#xA;                if (data.length !== 0) {&#xA;                    $(&quot;#loadMore&quot;).show();&#xA;                    $(&quot;#catContainer&quot;).append(data);&#xA;                }&#xA;                else {&#xA;                    $(&quot;#loadMore&quot;).hide();&#xA;                }&#xA;            },&#xA;            error: function (data) {&#xA;                alert(data.responseText);&#xA;            }&#xA;        });&#xA;    }&#xA;&amp;lt;/script&amp;gt;&#xA;&amp;lt;div class=&quot;row&quot; id=&quot;catContainer&quot;&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;input type=&quot;hidden&quot; value=&quot;@Model.ContextItem.ID.ToString()&quot; id=&quot;contextItemId&quot; /&amp;gt;&#xA;&amp;lt;input type=&quot;hidden&quot; value=&quot;@Model.ContextDatabase&quot; id=&quot;contextDb&quot; /&amp;gt;&#xA;&amp;lt;div class=&quot;col-md-12&quot;&amp;gt;&#xA;    &amp;lt;button id=&quot;loadMore&quot; style=&quot;display:none;&quot; class=&quot;center-block&quot; value=&quot;Load More&quot;&amp;gt;Load More&amp;lt;/button&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Partial View:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model IEnumerable&amp;lt;Category&amp;gt;&#xA;&#xA;@foreach (var item in Model)&#xA;{&#xA;&#xA;    &amp;lt;div&amp;gt;&#xA;        &amp;lt;h4 class=&quot;text-center&quot; style=&quot;font-weight: 600; margin-bottom: 1px;&quot;&amp;gt;@Html.Sitecore().Field(&quot;Title&quot;, item.InnerItem)&amp;lt;/h4&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1956" LastEditorUserId="432" LastEditDate="2017-05-25T00:51:49.660" LastActivityDate="2017-05-25T02:12:44.447" Title="Items loaded by ajax call are not editable in experience editor" Tags="|experience-editor|mvc|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5828" PostTypeId="1" CreationDate="2017-05-23T09:28:41.400" Score="3" ViewCount="116" Body="&lt;p&gt;On my site, some WFFM forms allow data to be downloaded in Excel format without any issues, whereas other forms seem to fail with a timeout error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;500 - The request timed out.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In the Chrome network tab, the request seems to time out after 3.8 minutes (228 seconds), but on checking the web.config the timeout is set at 3600 seconds, so this should not be a timeout error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpRuntime maxRequestLength=&quot;512000&quot;&#xA;             executionTimeout=&quot;3600&quot;&#xA;             enableKernelOutputCache=&quot;false&quot;&#xA;             relaxedUrlToFileSystemMapping=&quot;true&quot;&#xA;             requestValidationMode=&quot;2.0&quot;&#xA;             enableVersionHeader=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there some other setting specific to WFFM that I need to check?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.2 Update 1 and WFFM 8.2 rev 161129.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried increasing the Sitecore settings, per the article suggested by Mark Cassidy, but this still does not work: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;DefaultSQLTimeout&quot; value=&quot;00:10:00&quot;/&amp;gt;&#xA;&amp;lt;setting name=&quot;DataProviderTimeout&quot; value=&quot;00:10:00&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2017-05-23T10:47:56.790" LastActivityDate="2017-05-23T10:47:56.790" Title="WFFM Timeout error on form report" Tags="|wffm|" AnswerCount="0" CommentCount="2" ClosedDate="2017-06-16T11:49:35.333" ContentLicense="CC BY-SA 3.0" />
  <row Id="5829" PostTypeId="1" AcceptedAnswerId="5831" CreationDate="2017-05-23T09:33:52.820" Score="5" ViewCount="918" Body="&lt;p&gt;We are upgrading from Sitecore 7.2 to 8.2. In 7.2, we have many sublayouts (.ascx controls). What's the best practice on upgrading those? Should we just migrate the site with the sublayouts or do we need to convert these in MVC renderings?&lt;/p&gt;&#xA;" OwnerUserId="1401" LastEditorUserId="237" LastEditDate="2017-05-23T09:57:49.673" LastActivityDate="2017-05-23T09:57:49.673" Title="Upgrading from 7.2 to 8.2" Tags="|mvc|upgrade|webforms|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5830" PostTypeId="2" ParentId="5829" CreationDate="2017-05-23T09:42:03.350" Score="1" Body="&lt;p&gt;Sitecore 8.2 still supports both MVC and Webforms. However, a page should be either completely webform or completely MVC. This should not be a blocker in your case as you will be upgrading existing application on Sitecore 8 webforms&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-05-23T09:42:03.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5831" PostTypeId="2" ParentId="5829" CreationDate="2017-05-23T09:42:40.640" Score="0" Body="&lt;p&gt;For upgrading I recommed you to use Sitecore Upgrade Tool. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The release supports migration of any version of Sitecore 6.6 or Sitecore 7.2 to the Sitecore Experience Platform 8.2 Update-1  and migration of Web Forms For Marketers module 2.4 to Web Forms For Marketers  8.2 Update-1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You don't have to rewrite sublayout, site it will work but is recommended to switch entire site from Asp .Net Webforms to Asp. Net Mvc&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-23T09:42:40.640" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5832" PostTypeId="2" ParentId="5829" CreationDate="2017-05-23T09:55:51.927" Score="3" Body="&lt;p&gt;As mentioned here already, use the Sitecore Express Migration tool: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this will migrate the data to a new clean instance (always use clean instances when upgrading).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Onces your databases are migrated to the new version, you can update the code. You do not need to move to mvc at this point if you don't want to. It might be recommended to do so at a certain point, but you are not required to do this now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are required to update any references in your code to Sitecore (use Sitecore Nuget, this will make your life much easier). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should check the Sitecore compatibility table for any further necessary updates (&lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/087164&lt;/a&gt;) although I think you should be fine there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you are using a DI-framework, remember that Sitecore changed some things on that in 8.2 - you will need to decide to adapt to the built-in (MS) framework or add some code to use your existing. Also make sure to check your global.asax code (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2305/global-asax-application-start-not-hit-after-upgrade-to-sitecore-8-2&quot;&gt;Global.asax Application_Start not hit after upgrade to Sitecore 8.2&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After your code has been adapted, publish it to the new migrated instance and you should be good to go.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-05-23T09:55:51.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5835" PostTypeId="2" ParentId="5771" CreationDate="2017-05-23T11:46:24.653" Score="1" Body="&lt;p&gt;Created a generic class to handle any shortcuts:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class ApplicationShortcuts : Command&#xA;{&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        if (!string.IsNullOrEmpty(context.Parameters[&quot;url&quot;]))&#xA;        {&#xA;            // Redirect to URL&#xA;            SheerResponse.Eval(&quot;window.parent.location.href ='&quot;+context.Parameters[&quot;url&quot;]+ &quot;';&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Passing in the URL as a parameter. Makes it easy to change the URL if needed through editor and flexibility to create more shortcuts. &lt;/p&gt;&#xA;" OwnerUserId="1940" LastActivityDate="2017-05-23T11:46:24.653" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5836" PostTypeId="1" AcceptedAnswerId="5839" CreationDate="2017-05-23T11:48:09.290" Score="2" ViewCount="837" Body="&lt;p&gt;I'm trying to use the same control (MVC ControllerRendering) multiple times in a page type template, similar to www.launchsitecore.net/.../binding-content-and-presentation (please check Fixed Toolbar that has been used twice).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a template and assigned multiple controls based on same ControllerRendering in the presentations details of template, these are using same placeholder. When I create a page based on this template I want to setup different values for the Controllers in the Content Tab of the page. At the moment it only only allows setting up content for a single control and just shows same content on all the instances of Controls that I've added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Controller code is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Company.Website.Controllers&#xA;{&#xA;    public class SharedController : SitecoreController&#xA;    {&#xA;        // GET: Shared&#xA;        public ViewResult EmailForm()&#xA;        {            &#xA;            ISitecoreContext service = new SitecoreContext();&#xA;&#xA;            Foreign_Language_Email_Block model = service.GetCurrentItem&amp;lt;Foreign_Language_Email_Block&amp;gt;();&#xA;&#xA;            return View(model);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It uses GlassMapper to get the data from the page and the View displays the values using Razor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure what I'm missing? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please could you all Sitecore Experts help!!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1241" LastEditorUserId="73" LastEditDate="2017-05-23T13:55:11.683" LastActivityDate="2017-05-23T16:19:14.743" Title="Cannot setup content for same control multiple times in a page created using a template in sitecore 7.5" Tags="|presentation|glass-mapper|mvc|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5837" PostTypeId="2" ParentId="5801" CreationDate="2017-05-23T13:08:21.757" Score="8" Body="&lt;p&gt;This is a tricky question to answer as what is &quot;best&quot; can often depend on your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So let's look at the options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Item Web API&lt;/strong&gt; - as @sitecorebasics said, the Item Web API is not supported in later versions of Sitecore, so even if you are on a version that it supports, I would not use it as it will make upgrades harder.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore Services Client&lt;/strong&gt; - This is a good option &lt;em&gt;if&lt;/em&gt; you have fairly simple requests for items or groups of items and you are ok with the data being an instance of &lt;code&gt;Sitecore.Services.Core.Model.ItemModel&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Custom&lt;/strong&gt; - This is the option I pick most often, if you need a custom format returned, or need to do anything complex in the service call, its probably best to roll your own rest API using controller methods that return &lt;code&gt;Json&lt;/code&gt; objects.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Ultimately - you need to look at the requirements for the project and work out what is the best option for &lt;strong&gt;that&lt;/strong&gt; project.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-05-23T13:08:21.757" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5838" PostTypeId="1" CreationDate="2017-05-23T14:04:33.460" Score="4" ViewCount="749" Body="&lt;p&gt;I am having trouble sorting out how to set Url options in fluent configuration. Basically, I want to do this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(UrlOptions=SitecoreInfoUrlOptions.AlwaysIncludeServerUrl)]&#xA;public virtual Link MyLink{get;set;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But with fluent configuration. Im using V4.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-05-24T05:33:40.400" Title="Glass Mapper Fluent Configuration - How to set Url Options on Link Field" Tags="|glass-mapper|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5839" PostTypeId="2" ParentId="5836" CreationDate="2017-05-23T14:34:58.080" Score="2" Body="&lt;p&gt;I am presuming &lt;code&gt;Foreign_Language_Email_Block&lt;/code&gt; is currently a base template of your page item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your pages will feature multiple controls of the same type, that pattern can't work. You need to use separate, dynamically bound data sources. Not only will this allow you to insert multiple distinct controls of the same type on the page, but it's also a best practice for leveraging Sitecore's advanced personalization and marketing experiment features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you will need to do:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create two data items based directly on your &lt;code&gt;Foreign_Language_Email_Block&lt;/code&gt; template (or a derivative of that template). These would normally reside either within a global &quot;resources&quot; folder for the site (outside of the &lt;code&gt;Home&lt;/code&gt; node), or under your page within a &quot;page data&quot; folder. (Names used are just examples. See &lt;a href=&quot;https://sitecore.stackexchange.com/a/493/890&quot;&gt;this answer&lt;/a&gt; for more details on data source locations.)&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure your controller inherits from &lt;code&gt;GlassController&lt;/code&gt;, and change the logic to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SharedController : GlassController&#xA;{&#xA;    public ViewResult EmailForm()&#xA;    {            &#xA;        Foreign_Language_Email_Block model = this.GetLayoutItem&amp;lt;Foreign_Language_Email_Block&amp;gt;();&#xA;        return View(model);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Using Content Editor, attach the data sources to your instantiated renderings (controls).&#xA;&lt;a href=&quot;https://i.stack.imgur.com/QwLca.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QwLca.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove &lt;code&gt;Foreign_Language_Email_Block&lt;/code&gt; from your page template's base templates.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Note that by calling &lt;code&gt;GetLayoutItem&lt;/code&gt;, you can still add data directly to your page as a fallback option. This could still be a useful shortcut if you will only have one rendering of that type per page.&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2017-05-23T16:19:14.743" LastActivityDate="2017-05-23T16:19:14.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5840" PostTypeId="2" ParentId="5836" CreationDate="2017-05-23T16:00:47.173" Score="-1" Body="&lt;p&gt;You can take a look into Dynamic Placeholder concept in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to add two or more components of the same type on a single page, you can add the component to the existing Placeholder and can also define the name for a new placeholder on it. The second time you want to add the component again just add it to the new placeholder defined just above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can think of any similar approach based on your problem complexity.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it helps :)&lt;/p&gt;&#xA;" OwnerUserId="1339" LastActivityDate="2017-05-23T16:00:47.173" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5843" PostTypeId="1" AcceptedAnswerId="5844" CreationDate="2017-05-23T19:07:44.430" Score="2" ViewCount="736" Body="&lt;p&gt;I am attempting an update from Sitecore 8.1 Update 1 to 8.2 Update 2 and after running the update package and and showing now errors on the update, I am getting the below error after logging in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspect it could be my version of glass mapper as I am running version v4.0.30319 and I have seen a few people suggest to others to update glass, but those people also said that the update didn't fix the error or simply gave them a new one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it is glass that needs to be updated is it simply of matter of updating all the references in each project?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[MissingMethodException: Method not found: 'Boolean PageMode.get_IsPageEditor()'.]&#xA;   Glass.Mapper.Sc.SitecoreService.Initiate(IDependencyResolver resolver) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\SitecoreService.cs:109&#xA;   Foundation.Multisite.Services.MultisiteService..ctor() in C:\gnca\Foundation\Multisite\code\Services\MultisiteService.cs:30&#xA;   Foundation.Multisite.Pipelines.Assets.GetPageRendering.AddAssets..ctor() in C:\gnca\Foundation\Multisite\code\Pipelines\Assets\GetPageRendering\AddAssets.cs:30&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +438&#xA;   Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters) +119&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +117&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +163&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert) +68&#xA;   Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode processorNode) +91&#xA;   Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode processorNode) +145&#xA;   Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters) +143&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +465&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func`2 resultGetter) +161&#xA;   Sitecore.Mvc.Presentation.PageContext.GetPageView() +293&#xA;   Sitecore.Mvc.Presentation.PageContext.get_PageView() +31&#xA;   Sitecore.Mvc.Controllers.SitecoreController.GetDefaultAction() +26&#xA;   lambda_method(Closure , ControllerBase , Object[] ) +90&#xA;   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +229&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39&#xA;   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +71&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42&#xA;   System.Web.Mvc.Async.AsyncInvocationWithFilters.b__3d() +72&#xA;   System.Web.Mvc.Async.c__DisplayClass46.b__3f() +385&#xA;   System.Web.Mvc.Async.c__DisplayClass46.b__3f() +385&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42&#xA;   System.Web.Mvc.Async.c__DisplayClass2b.b__1c() +38&#xA;   System.Web.Mvc.Async.c__DisplayClass21.b__1e(IAsyncResult asyncResult) +36&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="1937" LastActivityDate="2017-05-23T19:13:41.440" Title="Sitecore 8.1 to 8.2 Glass Mapper Related Error?" Tags="|glass-mapper|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5844" PostTypeId="2" ParentId="5843" CreationDate="2017-05-23T19:13:41.440" Score="4" Body="&lt;p&gt;&lt;code&gt;PageMode.IsPageEditor&lt;/code&gt; property is no longer there in Sitecore 8.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like the version of Sitecore Glass Mapper you're using was compiled against an older Sitecore version. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the exception you have. It tries to access &lt;code&gt;PageMode.IsPageEditor&lt;/code&gt; in &lt;code&gt;Glass.Mapper.Sc.SitecoreService.Initiate&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You definitely need to upgrade to the newer Glass version.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-05-23T19:13:41.440" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5845" PostTypeId="2" ParentId="5838" CreationDate="2017-05-23T19:14:17.083" Score="1" Body="&lt;p&gt;I think you can use the following expression:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;x.Field(x =&amp;gt; x.MyLink).Configuration.UrlOptions = SitecoreInfoUrlOptions.AlwaysIncludeServerUrl;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And if you want to setup more options then you use the &lt;code&gt;&amp;amp;&lt;/code&gt; operator:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;x.Field(x =&amp;gt; x.MyLink).Configuration.UrlOptions = SitecoreInfoUrlOptions.AlwaysIncludeServerUrl &amp;amp; SitecoreInfoUrlOptions.LanguageEmbeddingAlways;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I did not test yet, but it could work.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-05-24T05:33:40.400" LastActivityDate="2017-05-24T05:33:40.400" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5846" PostTypeId="1" AcceptedAnswerId="5865" CreationDate="2017-05-23T19:47:20.297" Score="5" ViewCount="138" Body="&lt;p&gt;What is the difference between physical read and cache miss and how are these calculated in the Sitecore Debug tool?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-05-24T14:15:57.397" Title="Sitecore Debug Tool Question" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5847" PostTypeId="1" AcceptedAnswerId="5848" CreationDate="2017-05-23T20:34:44.193" Score="5" ViewCount="535" Body="&lt;p&gt;I want to allow the content editor to remove broken renderings. I am aware that there is a remove broken links tool, but it's too broad. It will remove ALL broken links across any site the the DB. In this case, I just want to remove a few specific ones. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, the content editor is able to access the layout and edit the individual renderings. However, is there a way to delete them? The only way I can think of is to display its raw values and edit them directly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tEFtG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tEFtG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is very easy to mess up and is not something we want the content editor to do themselves. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a graphical way to delete an individual rendering from the layout details? We are on version 7.5.&lt;/p&gt;&#xA;" OwnerUserId="1964" LastActivityDate="2017-05-23T20:41:02.847" Title="Remove Renderings From Layout Through Content Editor" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5848" PostTypeId="2" ParentId="5847" CreationDate="2017-05-23T20:41:02.847" Score="6" Body="&lt;p&gt;In Content Editor go to Presentation tab and click Details&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will be listed on each device the layout associated with it as well as all the renderings. You can click on the Edit button and on the Controls tab on the left you will see the list of all renderings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can select the ones you and to delete and click on the Remove button(highlighted bellow) on the right&#xA;&lt;a href=&quot;https://i.stack.imgur.com/yEU8A.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yEU8A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-05-23T20:41:02.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5849" PostTypeId="1" AcceptedAnswerId="5859" CreationDate="2017-05-23T22:11:32.903" Score="6" ViewCount="722" Body="&lt;p&gt;Due to EU cookie law, I have a site where we are disabling the Tracker via a pipeline processor ala: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1454/disable-xdb-tracking-for-single-requests&quot;&gt;Disable xDB tracking for single requests&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By interacting with the site, this will serve as consent to use tracking cookies.  Once consent it given, the plan is to programmatically log the initial page view without refreshing the entire page, if possible. It looks like we can programmatically register a page event (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/events/register_a_page_event_programmatically&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/events/register_a_page_event_programmatically&lt;/a&gt;) and there is a page event for &quot;page visited.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is: can this even work when the tracker is not enabled?  In order to register the event, it looks like it has to be attached to the interaction:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;interaction.CurrentPage.Register(pageEventData);&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="374" LastActivityDate="2017-05-24T12:18:09.837" Title="Programmatically log visit when Analytics cookie is disabled" Tags="|xdb|tracking|cookies|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5850" PostTypeId="1" CreationDate="2017-05-23T23:32:22.343" Score="13" ViewCount="738" Body="&lt;p&gt;I have a page that is completely component based. All images, html, etc are individual components with datasources in a grid system. The datasources are in a folder under the page called pagedata or in a site level folder called sitedata.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I want to accomplish is to have the components follow the same publishing date restrictions as the parent page. Right now if I want an image to switch out on June 1, I have to version the image datasource item and add publishing restrictions to it. Or I can make a new image item (separate from the current image datasource item). Then the presentation details of the page item, in the June 1 version, will switch out the image datasource on June 1st. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I had a page with 10 images and 3 html components, it would be difficult to create 13 new items and then update the datasources for all the components. Or go to all 13 datasource items and set publishing restrictions on them all. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have a simpler pipeline that allows adding publishing restrictions to a component based page? I have not researched how SXA does it yet.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-05-23T23:51:08.580" LastActivityDate="2018-03-06T05:55:01.187" Title="Publishing restrictions for components in page" Tags="|presentation|publishing|versions|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5851" PostTypeId="1" AcceptedAnswerId="5853" CreationDate="2017-05-24T01:50:26.847" Score="5" ViewCount="2133" Body="&lt;p&gt;I followed the below article to create users programmatically&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Code Samples Programmatically Add/Edit Users&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; http://sitecorecodesamples.blogspot.in/2010/11/programmatically-addedit-users.html&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Working great, but the user domain always saved as blank, please suggest any configurations need full.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8Ened.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8Ened.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1947" LastEditorUserId="73" LastEditDate="2017-05-24T17:29:11.033" LastActivityDate="2017-05-24T17:29:11.033" Title="How to add domain name of Programmatically added Users in Sitecore" Tags="|user-management|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5852" PostTypeId="2" ParentId="5851" CreationDate="2017-05-24T03:06:19.563" Score="1" Body="&lt;p&gt;I can see Domain property of the User class doesn't have a setter, so you cannot do it programatically. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Sitecore.Security.Accounts.User&#xA;/// &amp;lt;summary&amp;gt;&#xA;/// Gets the domain to which the user belongs.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;value&amp;gt;The domain.&amp;lt;/value&amp;gt;&#xA;public override Domain Domain&#xA;{&#xA;    get&#xA;    {&#xA;        if (this._domain == null)&#xA;        {&#xA;            this._domain = Domain.GetAccountDomain(this.Name);&#xA;        }&#xA;        return this._domain;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&quot;Domains&quot; concept is the additional abstract level (as well as &quot;RolesInRoles&quot;) provided by Sitecore over Asp.NET security model.&#xA;In reality it's just a prefix/part of the user name, which is stored in the Core database in the &quot;aspnet_Users&quot;. So the &quot;admin&quot; user from the &quot;sitecore&quot; domain is presented as &quot;sitecore\admin&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to change user domain you need to rename the user in the &quot;aspnet_Users&quot; table via SQL Server Managemnet Studio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that renaming the domain can cause the issues with configured access right for a user. Because access right for the particular user for the specific item are stored in this item, and mapped to user name.&#xA;So when you changed user name, it will not be updated on the item level, and  it can break security rights.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-24T03:06:19.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5853" PostTypeId="2" ParentId="5851" CreationDate="2017-05-24T06:05:52.767" Score="10" Body="&lt;p&gt;As @Balaji Kuppuswamy stated in comments, you simply need to include the domain name into the &lt;em&gt;full user name&lt;/em&gt; when creating a user:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Web.Security.Membership.CreateUser(@&quot;sitecore\myuser&quot;, &quot;b&quot;, &quot;myuser@sample.com&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please note that the domain column on UI is fulfilled only if an &lt;em&gt;existing&lt;/em&gt; domain is specified:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/urBcp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/urBcp.png&quot; alt=&quot;[1]: https://i.stack.imgur.com/sYa&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-05-24T06:05:52.767" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5854" PostTypeId="1" CreationDate="2017-05-24T06:43:40.310" Score="6" ViewCount="318" Body="&lt;p&gt;I have installed Sitecore Rocks 2.0 and it seems not working with Visual Studio 2013 Ultimate. I have established connection and when going to create rendering from my Visual Studio solution it's throwing below error.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load file or assembly 'Sitecore.Rocks, Version=1.0.0.0,&#xA;  Culture=neutral, PublicKeyToken=a3d60f56f7d71b90' or one of its&#xA;  dependencies. The system cannot find the file specified.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZqLmU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZqLmU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1965" LastEditorUserId="73" LastEditDate="2017-05-24T07:13:46.763" LastActivityDate="2019-04-29T12:29:46.300" Title="Sitecore Rocks fails when creating new rendering" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5855" PostTypeId="1" CreationDate="2017-05-24T10:10:02.883" Score="3" ViewCount="649" Body="&lt;p&gt;I've got an issue with edit frames on a multi-lingual site.  I've got a view which renders an item, plus the children of the item.  The parent item and each of the child items have Edit Frames for controlling the content.  The code essentially looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;component&quot;&amp;gt;&#xA;    @using (BeginEditFrame(ItemIds.ParentEditFrame, Model.Id.ToString()))&#xA;    {&#xA;        &amp;lt;p class=&quot;cms-helper&quot;&amp;gt;Click here to edit parent component&amp;lt;/p&amp;gt;&#xA;    }&#xA;    &amp;lt;div class=&quot;parent-content&quot;&amp;gt;@Editable(Model, m =&amp;gt; m.RichTextData)&amp;lt;/div&amp;gt;&#xA;    @foreach (var subContent in Model.SubContent.Where(sc =&amp;gt; sc != null))&#xA;    {&#xA;        using (BeginEditFrame(ItemIds.SubContentEditFrame, subContent.Id.ToString()))&#xA;        {&#xA;            &amp;lt;p class=&quot;cms-helper&quot;&amp;gt;Click here to edit sub-content&amp;lt;/p&amp;gt;&#xA;        }&#xA;        &amp;lt;div class=&quot;parent-content&quot;&amp;gt;@Editable(subContent, m =&amp;gt; m.RichTextData)&amp;lt;/div&amp;gt;&#xA;    }&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works well when I'm using the default language variant for the site, however when I switch to another language, the second edit frame (for the sub-items) doesn't always work:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If the child item exists in the secondary language only, then any updates made through the edit frame are lost on save.  &lt;/li&gt;&#xA;&lt;li&gt;If the item exists in the default site language and the secondary language, then it works as expected (changes are saved to the secondary language version).  &lt;/li&gt;&#xA;&lt;li&gt;It always works for the default language.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Has anyone seen this behaviour before?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Mark&lt;/p&gt;&#xA;" OwnerUserId="129" LastActivityDate="2017-05-25T14:55:13.120" Title="Sitecore MVC - Edit frame not working for secondary language variant" Tags="|experience-editor|mvc|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5857" PostTypeId="2" ParentId="2609" CreationDate="2017-05-24T12:01:25.527" Score="1" Body="&lt;p&gt;It seems like this item is configured to sync with Unicorn. When that is set, when you try to edit an item, Unicorn will try to write the into file system location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check your set the Unicorn file path correctly and your app pool user has write permission to Unicorn folder location.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-05-24T12:01:25.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5858" PostTypeId="1" AcceptedAnswerId="5860" CreationDate="2017-05-24T12:09:50.920" Score="9" ViewCount="2953" Body="&lt;p&gt;If I check both shared and unversioned checkboxes in a template, what will happen?&#xA;I knew difference between shared and unversioned. Want to know final result of checking both field in template.&lt;/p&gt;&#xA;" OwnerUserId="1969" LastEditorUserId="1025" LastEditDate="2018-04-19T10:56:21.997" LastActivityDate="2018-04-19T10:56:21.997" Title="what will happen when a field is marked as both Shared and Unversioned" Tags="|templates|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5859" PostTypeId="2" ParentId="5849" CreationDate="2017-05-24T12:18:09.837" Score="9" Body="&lt;p&gt;First of all, just to make it 100% clear: if you've disabled the tracker, then you can't track anything.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;No consent is required for session tracking&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;According to the &quot;EU cookie law&quot;, you cannot store certain types of information in the user's browser without the user's consent. Some cookies are covered by this, but not all of them. For example, session cookies are exempt from the restriction (see &lt;a href=&quot;http://ec.europa.eu/justice/data-protection/article-29/documentation/opinion-recommendation/files/2012/wp194_en.pdf&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;here&lt;/strong&gt;&lt;/a&gt;, section 3.1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that user sessions are fine to track, and the ASP.NET session cookie does not require the user's consent. The &lt;code&gt;Tracker&lt;/code&gt; mostly relies on the ASP.NET session, so you don't need to disable it. I believe you are free to track the first page of the visit without any consent from the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So. &lt;strong&gt;Don't disable the Tracker&lt;/strong&gt;, as you are not obliged to.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Storing the Analytics cookie requires consent&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The Analytics cookie is persistent, so it's not exempted from the user's consent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest that you prevent the Analytics cookie from being sent to the user's browser on the first request of the session. See the link below for how you can do that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/5652/&quot;&gt;Ways to block SC_ANALYTICS_GLOBAL_COOKIE from being deployed?&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe that the tracking will work fine without this cookie on the first request, and then the cookie will just be added to the user's browser on the second request.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-05-24T12:18:09.837" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5860" PostTypeId="2" ParentId="5858" CreationDate="2017-05-24T12:23:01.090" Score="2" Body="&lt;p&gt;Shared will get priority since it covered all versinos in all languages, rather than only versions of a given language happen by Unversioned&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-05-24T12:23:01.090" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5861" PostTypeId="2" ParentId="5858" CreationDate="2017-05-24T12:59:45.407" Score="16" Body="&lt;p&gt;In reality, you have only 3 options. However the combination of checkboxes gives you 4.&lt;/p&gt;&#xA;&lt;h1&gt;The Answer&lt;/h1&gt;&#xA;&lt;h2&gt;A versioned field (default)&lt;/h2&gt;&#xA;&lt;p&gt;This acts like one would expect. The field can have multiple values and multiple versions of a value; for multiple languages.&lt;/p&gt;&#xA;&lt;h2&gt;The Unversioned Field&lt;/h2&gt;&#xA;&lt;p&gt;Essentially this field gets 1 version &lt;em&gt;per language&lt;/em&gt;, so the designation &amp;quot;Unversioned&amp;quot; is a little misleading. However there will be only 1 version of the field per language, not multiple versions within a language.&lt;/p&gt;&#xA;&lt;h2&gt;The Shared Field&lt;/h2&gt;&#xA;&lt;p&gt;Only one version of this field exists, across language versions.&lt;/p&gt;&#xA;&lt;p&gt;This leaves out the last combination:&lt;/p&gt;&#xA;&lt;h2&gt;The Shared Unversioned Field&lt;/h2&gt;&#xA;&lt;p&gt;Now one could argue; that in theory it could make sense to have multiple versions of a shared field, but then have the field value propagate across language versions.&lt;/p&gt;&#xA;&lt;p&gt;However, on a Data Provider level this just isn't possible. There are also areas of the Sitecore UI that would make this approach unworkable.&lt;/p&gt;&#xA;&lt;p&gt;To find out why, I refer you to Yan Sklyarenko's post &lt;a href=&quot;http://sklyarenko.net/blog/2010/09/10/back-to-basics-versioned-unversioned/&quot; rel=&quot;noreferrer&quot;&gt;Back to Basics: Versioned, Unversioned and Shared Fields&lt;/a&gt;, where he explains that field values in Sitecore is essentially stored in one of 3 different tables:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;VersionedFields&lt;/li&gt;&#xA;&lt;li&gt;UnversionedFields&lt;/li&gt;&#xA;&lt;li&gt;SharedFields&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;When selecting field values, Sitecore executes a JOIN statement across these 3. A field value will therefore only be selected from 1 of the above.&lt;/p&gt;&#xA;&lt;p&gt;This is also reflected in the UI of &lt;a href=&quot;http://vsplugins.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Rocks&lt;/a&gt;, where this setting is presented as a Dropdown choice.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CUU57.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CUU57.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Shared is therefore a superset of Unversioned&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h1&gt;So to answer your question:&lt;/h1&gt;&#xA;&lt;p&gt;&lt;em&gt;Setting both boxes will make your field be &lt;strong&gt;Shared&lt;/strong&gt;. Unversioned is ignored.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1&gt;Additional reading:&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.kewlcodes.com/posts/1159/Versioned-vs-Shared-vs-Unversioned-fields-in-Sitecore&quot; rel=&quot;noreferrer&quot;&gt;http://www.kewlcodes.com/posts/1159/Versioned-vs-Shared-vs-Unversioned-fields-in-Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://ysdevlog.blogspot.ch/2010/09/back-to-basics-versioned-unversioned.html&quot; rel=&quot;noreferrer&quot;&gt;http://ysdevlog.blogspot.ch/2010/09/back-to-basics-versioned-unversioned.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/3893888/in-sitecore-when-adding-a-field-to-a-template-theres-a-checkbox-called-share&quot;&gt;https://stackoverflow.com/questions/3893888/in-sitecore-when-adding-a-field-to-a-template-theres-a-checkbox-called-share&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecoreblog.alexshyba.com/changing_field_sharing_settings_in_sitecore/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreblog.alexshyba.com/changing_field_sharing_settings_in_sitecore/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This last article describes the processes that happen &lt;em&gt;under the hood&lt;/em&gt; in Sitecore, when you check and uncheck these boxes. A data migration process essentially takes place, moving field values around between the 3 above mentioned tables.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-05-24T13:06:28.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5862" PostTypeId="1" AcceptedAnswerId="5875" CreationDate="2017-05-24T13:49:47.433" Score="2" ViewCount="436" Body="&lt;p&gt;I have a interface that is instantiated by Glass using a Glass sitecoreService.Cast method. The interface has a couply of properties I would like to populate using a query but this doesn't work. Using 'SitecoreChildren' attribute does work though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my interface&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial interface IVergoeding&#xA;{&#xA;    [SitecoreQuery(&quot;./*[@@templateid='1AEE2D9C-1599-4B49-9DB2-FD638969963C']&quot;, IsRelative = true)]&#xA;    IEnumerable&amp;lt;IVergoedingRegel&amp;gt; VergoedingRegels { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I checked the templateID and that is OK. Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="924" LastActivityDate="2017-05-25T06:26:38.060" Title="SitecoreQuery not working on interface mapping with Glass?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5863" PostTypeId="2" ParentId="5825" CreationDate="2017-05-24T14:02:20.083" Score="3" Body="&lt;p&gt;In your GetCategories function, instead of returning items, return an HTML string. Then the editor will render the html with the js/html to make editable fields.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public List&amp;lt;HtmlString&amp;gt; GetCategories()&#xA;{&#xA;    var rtn = new List&amp;lt;HtmlString&amp;gt;();&#xA;    var items = new List&amp;lt;Item&amp;gt;();&#xA;    foreach (var item in items)&#xA;    {&#xA;        rtn.Add(new HtmlString(Sitecore.Web.UI.WebControls.FieldRenderer.Render(item, &quot;title&quot;)));&#xA;    }&#xA;&#xA;    return rtn;&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in your markup&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var itemHtml in Model)&#xA;{&#xA;    &amp;lt;div&amp;gt;&#xA;        &amp;lt;h4 class=&quot;text-center&quot; style=&quot;font-weight: 600; margin-bottom: 1px;&quot;&amp;gt;@Html.Raw(itemHtml)&amp;lt;/h4&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-24T14:02:20.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5864" PostTypeId="1" CreationDate="2017-05-24T14:02:35.077" Score="0" ViewCount="758" Body="&lt;p&gt;I'd like TDS / GIT / Visual Studio to ignore, forget, delete all my ancient, un-commited work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And pull a new branch fresh, complete, as if I had a new laptop.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But no, a lot of time spent already and I still have sticky traces of previous interactions. I want and need this out. I was considering deleting the underlying Windows folders but there's got to be an easier way? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Welcoming any help.. &lt;/p&gt;&#xA;" OwnerUserId="1888" LastActivityDate="2017-05-24T14:49:37.310" Title="TDS or GIT question.. how to wipe branches clean in Visual Studio &quot;Team Explorer&quot;" Tags="|tds|git|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5865" PostTypeId="2" ParentId="5846" CreationDate="2017-05-24T14:15:57.397" Score="1" Body="&lt;p&gt;After looking through the implementation of the counters is looks like a cache miss is when an item is not found in cache and physical read is when Sitecore does a SQL call. I'm not 100% sure but it looks like cache miss is only considering ItemCache which would cause the numbers to be different.&lt;/p&gt;&#xA;" OwnerUserId="1971" LastActivityDate="2017-05-24T14:15:57.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5866" PostTypeId="2" ParentId="5864" CreationDate="2017-05-24T14:49:37.310" Score="3" Body="&lt;p&gt;As a side note, this has nothing to do with Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the git command line, you can can navigate to the repository root and execute this command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;git reset --hard&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can also do this from Visual Studio:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the Team Explorer&lt;/li&gt;&#xA;&lt;li&gt;Go to Branches&lt;/li&gt;&#xA;&lt;li&gt;Right click on the currently checked out branch&lt;/li&gt;&#xA;&lt;li&gt;Choose Reset -&gt; Delete Changes&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The outcome is the same: all modified, added or untracked files (apart from the files under the &lt;code&gt;.git&lt;/code&gt; folder) will be deleted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://git-scm.com/docs/git-reset#git-reset---hard&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://git-scm.com/docs/git-reset#git-reset---hard&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you clean up your repository folder, you should of course get the latest version — for that you can use &lt;a href=&quot;https://git-scm.com/docs/git-pull&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;&lt;code&gt;git pull&lt;/code&gt;&lt;/strong&gt;&lt;/a&gt; from the command line, or the Sync tab in Visual Studio.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-05-24T14:49:37.310" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5867" PostTypeId="2" ParentId="5851" CreationDate="2017-05-24T14:52:20.510" Score="4" Body="&lt;p&gt;As the other suggested answers suggest is correct.  When you are creating a new user programmatically, you can get the Full name by using the following code:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;string domainUser = Sitecore.Context.Domain.GetFullName(&quot;some@example.com&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will give you the full user which would include the current context domain.  This is what you should pass to your Create User method:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;System.Web.Security.Membership.CreateUser(domainUser, &quot;password&quot;, &quot;some@example.com&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can define which domain applies to the current context site, by setting the attribute in the SiteDefinition.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-05-24T14:52:20.510" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5869" PostTypeId="2" ParentId="5825" CreationDate="2017-05-25T02:12:44.447" Score="1" Body="&lt;p&gt;Another option you could do, is handle the experience editor interface differently than the rest of the page.  You can get knowledge from the page by using the page mode detection methods, which can be done from within Javascript:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var isPageEditor = function(){&#xA;    return !!(Sitecore &amp;amp;&amp;amp; Sitecore.PageModes &amp;amp;&amp;amp; Sitecore.PageModes.PageEditor);&#xA;};&#xA;&#xA;if(isPageEditor()) {&#xA;    // Logic for when in the experience editor&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or you can determine the page mode via c# razor syntax like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Sitecore.Context.PageMode.IsExperienceEditor) &#xA;{&#xA;    // Load a unique interface that contains all items &#xA;    // (not paginated using ajax so you can use experience editor to make changes)&#xA;} else {&#xA;    // Load existing logic (for when not in experience editor&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now there is a slight issue with loading everything all at once, if you have a lot of data (since that's the reason you are paginating the data in the first place).  You could build some sort of custom speak interface to manipulate the large data set of information.  Also in this situation is when I would think it would make more sense to edit the data in the content editor, if the user might be editing 1 item on page 100 out of 1000 pages of data.  Even if you could get the data to paginate and be editable via the experience editor with the use of ajax, there would be usability concerns with this scenario. &lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-05-25T02:12:44.447" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5871" PostTypeId="5" CreationDate="2017-05-25T02:59:29.593" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-05-25T02:59:29.593" LastActivityDate="2017-05-25T02:59:29.593" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5872" PostTypeId="4" CreationDate="2017-05-25T02:59:29.593" Score="0" Body="Anything related to cascading style sheets (CSS) as they specifically relate to Sitecore, official Sitecore modules, CSS file storage in and serving from the Media Library, and beyond. This tag is not meant for generall CSS questions that are not specifically related to Sitecore." OwnerUserId="1000" LastEditorUserId="423" LastEditDate="2017-09-15T13:41:16.850" LastActivityDate="2017-09-15T13:41:16.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5873" PostTypeId="1" CreationDate="2017-05-25T05:39:52.117" Score="8" ViewCount="1374" Body="&lt;p&gt;If I don't include &lt;code&gt;&amp;lt;site name=&quot;shell&quot;&amp;gt;&lt;/code&gt;, what impact will it have? &lt;/p&gt;&#xA;" OwnerUserId="1969" LastEditorUserId="73" LastEditDate="2017-05-25T08:10:22.557" LastActivityDate="2017-05-25T08:10:22.557" Title="What is the use of &quot;shell&quot; website in the Sitecore.LanguageFallback.config file" Tags="|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5874" PostTypeId="2" ParentId="5873" CreationDate="2017-05-25T06:10:59.257" Score="6" Body="&lt;p&gt;Shell website is a Sitecore site used by Sitecore backend. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;!-- ENABLE ITEM AND LANGUAGE FALLBACK PER SITE&#xA;         Using attribute patching below you can pick which fallback mode to enable (item-level or field-level or both) for each site &#xA;         Consult official documentation on how to enable fallback feature in complex multi-site environments.&#xA;    --&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;shell&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On Sitecore.LanguageFallback.config you have this config that tell you FieldLanguageFallback and ItemLanguageFallback is disabled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be able to use language fallback in your Sitecore solution, you have to enable it for each relevant site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To enable site-level language fallback:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open \Website\App_Config\Include\Sitecore.LanguageFallback.config and set the following attributes to true:&#xA;&lt;strong&gt;enableItemLanguageFallback&lt;/strong&gt; and &#xA;&lt;strong&gt;enableFieldLanguageFallback&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You must enable the attributes on the shell and on each of the relevant websites.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;shell&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;      &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In multisite environments where you only want to enable language fallback on a subset of the websites, you need to create a specific shell site for each website where you want the language fallback feature enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More informations about language fallback you can find here: &#xA;  &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-05-25T06:19:29.680" LastActivityDate="2017-05-25T06:19:29.680" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5875" PostTypeId="2" ParentId="5862" CreationDate="2017-05-25T06:26:38.060" Score="2" Body="&lt;p&gt;I transformed my comment in an answer. Looks like yoo missed curly brackets on SitecoreQuery attribute. Please try bellow code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial interface IVergoeding&#xA;{&#xA;    [SitecoreQuery(&quot;./*[@@templateid='{1AEE2D9C-1599-4B49-9DB2-FD638969963C}']&quot;, IsRelative = true)]&#xA;    IEnumerable&amp;lt;IVergoedingRegel&amp;gt; VergoedingRegels { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-05-25T06:26:38.060" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5876" PostTypeId="1" AcceptedAnswerId="5953" CreationDate="2017-05-25T06:48:11.363" Score="5" ViewCount="1121" Body="&lt;p&gt;Sitecore indexing works great for simple indexing scenario's, as the main working entity is a sitecore item. With computed fields you can add custom logic and fields for a record. But I have 2 more advanced scenario's and wonder how to implement those:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) I have item A and another item B. I don't want to index them separately, but as 1 document. So if Sitecore is indexing A, then it should merge the fields of Item A with those of item B (with possible renamings) and create 1 document in the index. (I realize that computed fields may be used here, but that becomes bulky and is not very elegant)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) I have item A and I do want to create 2 documents in the index, originating from Item A. The two documents will get their fields from other items in the content tree and be combined with the fields of A.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="73" LastEditDate="2017-05-25T08:06:51.170" LastActivityDate="2017-06-05T00:19:11.070" Title="Combining multiple Items into one Document" Tags="|content-search|indexing|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5877" PostTypeId="1" AcceptedAnswerId="5952" CreationDate="2017-05-25T07:31:38.320" Score="1" ViewCount="863" Body="&lt;p&gt;I need a role that only allows creation/edition/delete of the users, roles and domains in Sitecore 8.1. I've done some research and the sitecore\Sitecore Client Account Managing role fits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding some Sitecore documentation, sitecore\Sitecore Client Account Managing role &quot;gives the user access to maintain users, roles, and domains in the Access Manager, the Domain Manager, the Role Manager, and the User Manager&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created an user, member of Account Managing role, and the user has access  to Access Manager, Domain Manager, Role Manager, and User Manager. However, the list of users in User Manager is empty. The user is able to create a new user and add some roles to it, however it is not able to see the list of the existing/new users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to see the list of existing/new users I need to login as admin. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if anyone faced similar issue. &lt;/p&gt;&#xA;" OwnerUserId="539" LastActivityDate="2017-05-31T16:08:56.813" Title="Should the list of users in Sitecore User Manager be empty, when using Sitecore Client Account Managing role?" Tags="|sitecore-client|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5878" PostTypeId="1" CreationDate="2017-05-25T12:23:27.687" Score="0" ViewCount="626" Body="&lt;p&gt;We are trying to build a stand-alone API, which has to meet this requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The API gets inputs for &quot;Name&quot; &amp;amp; &quot;Email&quot; and should then create user in any chosen Sitecore instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As this is a stand-alone API, it will have to make use of Sitecore dlls &amp;amp; configs, to be able to do what is required. But will this be violating the license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way, that I know of, is to host this service/API in the Sitecore instance  itself. These user creation requests are huge in number, so can't have them in CD. Also, is it advisable to have such an API in CM which should be secure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would appreciate any suggestions to achieve this functionality.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="423" LastEditDate="2017-08-08T14:39:11.830" LastActivityDate="2017-08-08T14:39:11.830" Title="Create users from API" Tags="|webapi|sitecore-api|membership-provider|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5879" PostTypeId="2" ParentId="5877" CreationDate="2017-05-25T12:57:13.437" Score="0" Body="&lt;p&gt;By default, your user should be able to see all users. However, the likeliest explanation is that this access has been restricted to specific domains on which no users exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While logged in as admin, check the &quot;Member of&quot; tab of your user, and click the &quot;Domains&quot; button. Make sure to either add or remove all domains if you want the user to manage users for all domains. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RkbZj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RkbZj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-05-25T12:57:13.437" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5880" PostTypeId="2" ParentId="5855" CreationDate="2017-05-25T14:55:13.120" Score="2" Body="&lt;p&gt;We've been able to resolve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It turns out that one of the base templates of the sub items' template had the &lt;code&gt;&#xA;Enforce Version Presence&lt;/code&gt; checkbox ticked in its Standard Values item.  Unchecking this (at the item level or at the __Standard Values level) allowed the edit frame to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even though this has resolved the immediate issue, I've raised this with Sitecore.  I'm not sure that edit frames not working in that way is part of the expected behaviour if &quot;Ensure Version Presence&quot; is ticked.  I'll update here if they acknowledge it as an issue and release a patch or similar.&lt;/p&gt;&#xA;" OwnerUserId="129" LastActivityDate="2017-05-25T14:55:13.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5881" PostTypeId="1" CreationDate="2017-05-25T16:24:07.847" Score="2" ViewCount="1478" Body="&lt;p&gt;Sitecore 8.2 rev.170407, WFFM v8.2 rev.161129&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am working on creating custom send email save action which should update some email body and do some extra logic before sending an email. To modify the content of email I need to get &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; or &lt;code&gt;Sitecore.Context.Item.Id&lt;/code&gt; but &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here the code example: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SendCustomMessage : SendMessage&#xA; {&#xA;    public SendCustomMessage(ISettings settings, IMailSender mailSender) : base(settings, mailSender)&#xA;    {&#xA;    }&#xA;&#xA;    public override void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;    {&#xA;         ProcessMessageArgs processMessageArgs = new ProcessMessageArgs(formId, adaptedFields, this.MessageType, null);&#xA;         //update email body based on Sitecore.Context.Item and put everything to processMessageArgs &#xA;         CorePipeline.Run(&quot;processMessage&quot;, (PipelineArgs)processMessageArgs);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found out the post about &lt;code&gt;Hidden Item Id&lt;/code&gt; field &lt;a href=&quot;http://www.sitecorecoffee.com/2016/06/wffm-creating-custom-hidden-field-with.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But is it possible to get sitecore context item id without adding &lt;code&gt;Hidden Id field&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="73" LastEditDate="2017-05-26T07:16:33.867" LastActivityDate="2017-10-09T00:54:08.823" Title="WFFM get Sitecore Context Item ID during form submit" Tags="|wffm|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5882" PostTypeId="1" AcceptedAnswerId="7798" CreationDate="2017-05-25T18:03:09.643" Score="8" ViewCount="1887" Body="&lt;p&gt;So I am architecting a solution that uses Glass in a Helix implementation.  We would like to automatically generate the Glass models using a T4 template, but one of the challenges we are running into is that we have a feature that relies on base item types and it's recreating the model for those base types multiple times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So an example from the habitat project, is that you have the &quot;Feature&quot; Metadata, which contains a base template _PageMetadata.  We would then have either other Feature or Project templates that define _PageMetadata as a base template.  When the T4 generator runs, it generates models for the pages that we created in the &quot;Feature&quot; or &quot;Project&quot;, but also it recreates the _PageMetadata model, even though it would also get generated in the Sitecore.Feature.MetaData project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across this challenge with Helix and the use of auto-generated glass models?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-09-29T19:05:49.723" Title="Auto Generating Glass Models in Helix Implementation" Tags="|glass-mapper|helix|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5883" PostTypeId="1" CreationDate="2017-05-25T18:05:59.280" Score="7" ViewCount="4895" Body="&lt;p&gt;Using GlassMapper 4, Sitecore 8.2 update 3 and Microsoft DI&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I register the GlassMapper SitecoreService in my Ioc. It requires a Database and Im not entirely clear on how to get that inside my method for registering items in my Ioc:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DependencyInjection : IServicesConfigurator&#xA;{&#xA;    public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;&#xA;        var serviceProvider = serviceCollection.BuildServiceProvider();&#xA;&#xA;        serviceCollection.AddTransient&amp;lt;ISitecoreContext&amp;gt;(provider =&amp;gt; new SitecoreContext());&#xA;        serviceCollection.AddTransient&amp;lt;IGlassHtml&amp;gt;(provider =&amp;gt; new GlassHtml(serviceProvider.GetService&amp;lt;ISitecoreContext&amp;gt;()));&#xA;        serviceCollection.AddTransient&amp;lt;IControllerSitecoreContext&amp;gt;(provider =&amp;gt; new ControllerSitecoreContext(serviceProvider.GetService&amp;lt;IGlassHtml&amp;gt;()));&#xA;        serviceCollection.AddTransient&amp;lt;ISitecoreService&amp;gt;(provider =&amp;gt; new SitecoreService(serviceProvider.GetService&amp;lt;ISitecoreContext&amp;gt;().Database));&#xA;&#xA;        serviceCollection.AddGlassMaps(&quot;DD.Data*&quot;);&#xA;        serviceCollection.AddMvcControllers(&quot;DD.Web*&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This does not work. The database item in null at this point.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2021-03-18T20:49:13.120" Title="How to register Glass Mapper ISitecoreService in my Ioc" Tags="|glass-mapper|dependency-injection|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5884" PostTypeId="2" ParentId="5878" CreationDate="2017-05-25T21:31:35.100" Score="2" Body="&lt;p&gt;If all you really need to do, is create users based on &quot;Name&quot; and &quot;Email&quot;, you don't have to put this in Sitecore at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore runs on a completely standard ASP.NET Membership Provider implementation. Sitecore has a layer on top to allow for Roles-in-Roles membership amongst other things, but under the hood it remains vanilla ASP.NET.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Base your code on the &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.web.security.sqlmembershipprovider.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;SqlMembershipProvider&lt;/a&gt;, point it to your &quot;core&quot; database (assuming you've not moved the Sql Membership Provider tables from its default location) and create/remove/delete users to your heart's content. You can host your API code in any IIS instance, and no Sitecore license is required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Be mindful though&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Likely Sitecore will have user and role caching going on, so any updates you do behind the scenes like this, might not be immediately picked up by running Sitecore instances.&lt;/li&gt;&#xA;&lt;li&gt;Also be aware of whatever security hardening is in place in your Sitecore instances, and set your ASP.NET Membership API to the same settings. See: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/change_the_hash_algorithm_for_password_encryption&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/change_the_hash_algorithm_for_password_encryption&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-25T21:31:35.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5885" PostTypeId="2" ParentId="5883" CreationDate="2017-05-26T01:05:47.323" Score="2" Body="&lt;p&gt;Since what you want is for Glass to have the current user's Sitecore Context, I believe this is right. I just tested it local and it works.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddTransient&amp;lt;ISitecoreService&amp;gt;(provider =&amp;gt; new SitecoreService(Sitecore.Context.Database));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-26T01:05:47.323" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5886" PostTypeId="1" CreationDate="2017-05-26T02:59:53.533" Score="1" ViewCount="195" Body="&lt;p&gt;I have cloned Sitecore Demo repository from &lt;a href=&quot;https://github.com/Sitecore/Sitecore.Demo.git&quot; rel=&quot;nofollow noreferrer&quot;&gt;github&lt;/a&gt;. I have also cloned Sitecore Habitat repository with TDS from &lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat.git&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. I have followed the steps mentioned for habitat and able to deploy solution locally using TDS. (Not using Gulp). I have setup this as different repository. i.e (Sitecore Habitat and Sitecore habitat Demo, however deploying on Single Sitecore instance).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm Facing below issues&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;As per habitat demo guidelines, I have installed all required modules in Sitecore instance. When I build solution, it is failing due to Sitecore.PrintStudio dlls are missing in reference. Even after doing restore nuget packages I am still unable to build.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Am I missing Anything? &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;I didn't find nuget packages for Unicorn. After manually added nuget packages for Unicorn, Gulp default task is throwing exception as below.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;05-Sync-Unicorn'...&#xA;Reading shared secret from C:\websites\Habitat.dev.local\Website/App_config/Include/Unicorn/Unicorn.UI.config&#xA;[09:59:12] '05-Sync-Unicorn' errored after 25 ms&#xA;[09:59:12] TypeError: Cannot read property '0' of undefined&#xA;    at D:\Habitat.Demo\scripts\unicorn.js:26:98&#xA;    at Parser.&amp;lt;anonymous&amp;gt; (D:\Habitat.Demo\node_modules\xml2js\lib\xml2js.js:489:18)&#xA;    at emitOne (events.js:96:13)&#xA;    at Parser.emit (events.js:188:7)&#xA;    at Object.onclosetag (D:\Habitat.Demo\node_modules\xml2js\lib\xml2js.js:447:26)&#xA;    at emit (D:\Habitat.Demo\node_modules\sax\lib\sax.js:640:35)&#xA;    at emitNode (D:\Habitat.Demo\node_modules\sax\lib\sax.js:645:5)&#xA;    at closeTag (D:\Habitat.Demo\node_modules\sax\lib\sax.js:905:7)&#xA;    at Object.write (D:\Habitat.Demo\node_modules\sax\lib\sax.js:1452:13)&#xA;    at Parser.exports.Parser.Parser.parseString (D:\Habitat.Demo\node_modules\xml2js\lib\xml2js.js:508:31)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Authentication provider section in /App_config/Include/Unicorn/Unicorn.UI.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;authenticationProvider type=&quot;Unicorn.ControlPanel.Security.ChapAuthenticationProvider, Unicorn&quot;&amp;gt;&#xA;            &amp;lt;!--&amp;lt;SharedSecret&amp;gt;&amp;lt;/SharedSecret&amp;gt; Uncomment this line and provide a strong randomized shared secret here. At least 64 characters is recommended, for example https://www.grc.com/passwords.htm --&amp;gt;&#xA;            &amp;lt;!-- Authentication challenges are stored in a Sitecore database. You can select which database here. No item installs/templates are required. --&amp;gt;&#xA;            &amp;lt;ChallengeDatabase&amp;gt;web&amp;lt;/ChallengeDatabase&amp;gt;&#xA;            &amp;lt;!-- &#xA;                Writes the reason why failed automated tool authentications failed to the Sitecore logs.&#xA;                Will result in writing your shared secret to the logs as part of the signature base,&#xA;                so you can disable it if you wish.&#xA;            --&amp;gt;&#xA;            &amp;lt;WriteAuthFailuresToLog&amp;gt;false&amp;lt;/WriteAuthFailuresToLog&amp;gt;&#xA;        &amp;lt;/authenticationProvider&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please help.&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-06-25T06:57:34.693" Title="Sitecore Habitat Demo Repsitory" Tags="|unicorn|habitat|" AnswerCount="1" CommentCount="0" ClosedDate="2017-06-25T10:12:34.233" ContentLicense="CC BY-SA 3.0" />
  <row Id="5887" PostTypeId="2" ParentId="5886" CreationDate="2017-05-26T05:44:12.420" Score="0" Body="&lt;p&gt;I have now found what's causing issue, I have fetched one repository Sitecore Habitat from Hedgehog using &quot;TDS&quot; items. So obviously my Unicorn Serialization setup is missing completely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Demo repository is not been setup by Hedgehog using TDS items. So I had to setup my repository using Nuget Unicorn packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Regarding Unicorn Script error&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is fixed by adding shared secret tag in App_config/Unicorn/Unicorn.UI.config&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-05-26T05:44:12.420" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5888" PostTypeId="2" ParentId="5741" CreationDate="2017-05-26T06:58:30.810" Score="1" Body="&lt;p&gt;The issue is because you have a mix of old and new SPE files in the sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution is to re-install the Sitecore Powershell Module. Preferably, install the latest one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When installing the package, you need to overwrite all items and files.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-05-26T06:58:30.810" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5889" PostTypeId="2" ParentId="5881" CreationDate="2017-05-26T07:14:08.683" Score="1" Body="&lt;p&gt;In short: No.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Context&lt;/code&gt; gets built during a regular page request by the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline. This pipeline gets bypassed when submitting a form generated via WFFM for a lot different reasons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could probably extend and override base WFFM processors and pipeline steps in some way to achieve it; but it would be more invasive than just going with the clean solution you already have.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-26T07:14:08.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5890" PostTypeId="1" CreationDate="2017-05-26T08:34:02.807" Score="4" ViewCount="151" Body="&lt;p&gt;We have 2 Environments say a CM server and a CD server.&#xA;The CD server is in different region far from CM DB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So we have a replicated DB for CD server in same CD servers region. Right now this is Sql Replication and we have to get rid of the Sql Replication for some reasons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other way where I can publish the item whenever it is changed in the CM server?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or any other better way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="73" LastEditDate="2017-05-26T09:02:15.770" LastActivityDate="2017-05-26T09:07:39.097" Title="How do i Replicate the DB using sitecore?" Tags="|publishing|publishing-targets|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5891" PostTypeId="2" ParentId="5890" CreationDate="2017-05-26T09:07:39.097" Score="5" Body="&lt;p&gt;One way is to use &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-publishing-targets-in-the-sitecore-asp-net-cms&quot; rel=&quot;noreferrer&quot;&gt;Publishing Targets&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially you can publish to one or more target &quot;web&quot; databases. It would show up as additional checkboxes whenever you publish from your CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You set up a new Publishing Target by adding it under &lt;code&gt;/system/Publishing Targets&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/L4CEA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/L4CEA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You then specify a &lt;code&gt;Target Database&lt;/code&gt;. Add a connection string to match it in your &lt;code&gt;ConnectionStrings.Config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/r164P.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/r164P.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want this process to happen automatically, you should utilise a Sitecore Workflow set up for &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/auto-publish-workflow-action-updates&quot; rel=&quot;noreferrer&quot;&gt;automatic publishing&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-26T09:07:39.097" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5892" PostTypeId="1" AcceptedAnswerId="5893" CreationDate="2017-05-26T09:58:19.130" Score="3" ViewCount="482" Body="&lt;p&gt;Once we are ready with CM server when deploying the files to CD server,what are all the config changes i should make? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example shell site(CM related) is not required in CD. Is there a list?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="73" LastEditDate="2017-05-26T10:25:25.167" LastActivityDate="2017-05-26T11:59:08.540" Title="How do i configure CD Servers by removing unwanted config entries?" Tags="|site-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5893" PostTypeId="2" ParentId="5892" CreationDate="2017-05-26T10:29:37.883" Score="3" Body="&lt;p&gt;Yes there is. Several, in fact. It depends on your Sitecore version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should read through the official guide: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure a content delivery server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It describes things you need to consider, depending on your particular setup. It also describes any inline edits you should make to existing config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, again depending on your setup, there are a number of config files you can toggle off on a CD server.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;For Sitecore 8.2, download the &lt;a href=&quot;https://doc.sitecore.net//~/media/E81335534D694F7997DA3BB9882CBBDB.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Config Enable Disable Excel spreadsheet for Sitecore 8.2 initial release.&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;For Sitecore 8.2 Update 1, download the &lt;a href=&quot;https://doc.sitecore.net//~/media/2D2D26345F5D41EA8D35B7965F3B914E.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Config Enable Disable Excel spreadsheet for Sitecore 8.2 Update 1.&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;For Sitecore 8.2 Update 2, download the &lt;a href=&quot;https://doc.sitecore.net//~/media/0E14F3842E1A411B9811DB17B695B7B2.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Config Enable Disable Excel spreadsheet for Sitecore 8.2 Update 2.&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I've not seen a version for 8.2 Update 3, as of yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Windows PowerShell, there is also a script available that can help. For more information, see: &lt;a href=&quot;http://sitecoreunleashed.blogspot.ch/2015/09/sitecore-8-toggle-cd-configuration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8: Toggle CD Configuration Files Powershell Script&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-05-26T11:59:08.540" LastActivityDate="2017-05-26T11:59:08.540" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5894" PostTypeId="1" AcceptedAnswerId="5895" CreationDate="2017-05-26T11:38:11.070" Score="3" ViewCount="1895" Body="&lt;p&gt;After configuring the sitecore Habitat based on the instruction from GIThub, we could see sometimes locale code is getting added and not added to the URL.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is happening inconsistently.But the content are loading as expected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both below URL are working fine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://habitat.dev.local/en/About-Habitat/Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.dev.local/en/About-Habitat/Getting-Started&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://habitat.dev.local/About-Habitat/Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.dev.local/About-Habitat/Getting-Started&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same is happening EN and DA locale. &#xA;Is there a way to show the locale code permanently in the URL&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-05-26T12:08:40.053" Title="Language locale not getting added to URL" Tags="|multilingual|habitat|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5895" PostTypeId="2" ParentId="5894" CreationDate="2017-05-26T12:08:40.053" Score="6" Body="&lt;p&gt;This is controlled by the &lt;code&gt;languageEmbedding&lt;/code&gt; attribute on your &lt;code&gt;linkManager&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, Sitecore adds the language code to your URLs &lt;code&gt;asNeeded&lt;/code&gt;. Which is a bit fuzzy; but essentially Sitecore should add it when it isn't sure of your current &lt;code&gt;Context.Language&lt;/code&gt; and wants to make sure the URL points to the desired result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other options are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Always (always enforce language in the url, this is what you ask for)&lt;/li&gt;&#xA;&lt;li&gt;Never&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can find the configuration in your &lt;code&gt;Sitecore.Config&lt;/code&gt; located under &lt;code&gt;App_Include&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!-- Options (first is default):&#xA;           addAspxExtension: false | true (If you set this to false, remember to configure IIS to map all requests (*) to ASP.NET)&#xA;           alwaysIncludeServerUrl: false | true&#xA;           encodeNames: true | false&#xA;           languageEmbedding: asNeeded | always | never&#xA;           languageLocation: filePath | queryString&#xA;           lowercaseUrls: true | false&#xA;           shortenUrls: true | false&#xA;           useDisplayName: false | true&#xA;    --&amp;gt;&#xA;  &amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;      &amp;lt;clear /&amp;gt;&#xA;      &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;asNeeded&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;  &amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is &lt;strong&gt;not&lt;/strong&gt; recommended practice to modify this file directly however. I recommend you implement any changes as a Sitecore Config Patch file. Described many places, for instance in &lt;a href=&quot;http://sitecore.stockpick.nl/english/change-linkmanager-config/&quot; rel=&quot;noreferrer&quot;&gt;Create a Sitecore LinkProvider to use different LinkManager&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-26T12:08:40.053" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5896" PostTypeId="2" ParentId="5468" CreationDate="2017-05-26T13:47:12.823" Score="3" Body="&lt;h2&gt;Things to Check&lt;/h2&gt;&#xA;&lt;p&gt;There are a number of reasons why the StartTracking pipeline might not work, which are &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3666/error-cannot-create-tracker-messagesession-is-not-initialized-sitecore-8-1-u&quot;&gt;heavily documented on Sitecore Stack Exchange&lt;/a&gt;.  That being said, I would start with working backward and ensuring that the processor configurations are showing up as shown below.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Check Log Files for Errors about Tracker not Initialized or Running&lt;/li&gt;&#xA;&lt;li&gt;Check ShowConfig.aspx to ensure that ProcessItem processor in &lt;code&gt;&amp;lt;startTracking&amp;gt;&lt;/code&gt; hasn't been removed or overridden.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2&gt;Background Info&lt;/h2&gt;&#xA;&lt;p&gt;In Sitecore 7.5 Rev 141003, &lt;code&gt;PatternLabel&lt;/code&gt; and &lt;code&gt;PatternId&lt;/code&gt; are updated via the method &lt;code&gt;Profile.UpdatePattern()&lt;/code&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public void UpdatePattern()&#xA;{&#xA;  ProfileItem profile = Tracker.DefinitionItems.Profiles[this.ProfileName];&#xA;  if (profile == null)&#xA;    return;&#xA;  PatternCardItem patternCardItem = (PatternCardItem) null;&#xA;  try&#xA;  {&#xA;    patternCardItem = profile.MatchPattern((IProfileData) this);&#xA;  }&#xA;  catch (Exception ex)&#xA;  {&#xA;    Log.Error(&amp;quot;Failed to update profile pattern&amp;quot;, ex, (object) this);&#xA;  }&#xA;  if (patternCardItem == null)&#xA;    return;&#xA;  this.PatternId = new Guid?(patternCardItem.ID.Guid);&#xA;  this.PatternLabel = patternCardItem.Name;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This method is called via either &lt;code&gt;Profile.OnScore()&lt;/code&gt; or &lt;code&gt;Profile.OnRollBack()&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The method &lt;code&gt;Profile.OnScore()&lt;/code&gt; is called by &lt;code&gt;Profile.Score()&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The method &lt;code&gt;Profile.Score()&lt;/code&gt; is called by the &lt;code&gt;TrackingFieldProcessor.ProcessProfiles()&lt;/code&gt; method which is called during the &lt;code&gt;&amp;lt;processItem&amp;gt;&lt;/code&gt; pipeline execution.&lt;/p&gt;&#xA;&lt;p&gt;This is called from the &lt;code&gt;&amp;lt;startTracking&amp;gt;&lt;/code&gt; pipeline execution, which is handled at the beginning of requests, and is from the &lt;code&gt;Sitecore.Analytics.Pipelines.StartTracking.ProcessItem&lt;/code&gt; processor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;startTracking&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.StartTracking.RaiseStartTracking, Sitecore.Analytics&amp;quot; /&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.StartTracking.InitializeTracker, Sitecore.Analytics&amp;quot; /&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.StartTracking.TrackerInitialized, Sitecore.Analytics&amp;quot; /&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.StartTracking.UpdateGeoIpData, Sitecore.Analytics&amp;quot; /&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.StartTracking.PageLevelTestItemResolver, Sitecore.Analytics&amp;quot; /&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.StartTracking.ProcessQueryStringCampaign, Sitecore.Analytics&amp;quot; /&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.StartTracking.ProcessQueryStringPageEvent, Sitecore.Analytics&amp;quot; /&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.StartTracking.ProcessQueryStringTriggers, Sitecore.Analytics&amp;quot;&amp;gt;&#xA;      &amp;lt;triggers hint=&amp;quot;raw:AddTrigger&amp;quot;&amp;gt;&#xA;        &amp;lt;trigger querystring=&amp;quot;sc_rss&amp;quot; eventname=&amp;quot;RSS&amp;quot;/&amp;gt;&#xA;      &amp;lt;/triggers&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Sitecore.Analytics.Pipelines.StartTracking.ProcessItem, Sitecore.Analytics&amp;quot;/&amp;gt;&#xA;  &amp;lt;/startTracking&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;Changes in Sitecore 8.2&lt;/h3&gt;&#xA;&lt;p&gt;There are additional changes in 8.2 where PatternLabel and PatternId are updated from various other processes via the &lt;code&gt;BehaviorProfileConverter&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-05-26T13:47:12.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5897" PostTypeId="1" CreationDate="2017-05-26T17:48:30.017" Score="1" ViewCount="110" Body="&lt;p&gt;I am using sitecore 8.2 initial version. Sitecore launchpad window appearing when I am trying open it for french version of item. It's working fine for english. Anyone experience same issue?&lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="73" LastEditDate="2017-05-26T18:32:48.893" LastActivityDate="2017-05-26T18:32:48.893" Title="Sitecore launchpad appearing when I open preview window for french version" Tags="|sitecore-client|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5898" PostTypeId="5" CreationDate="2017-05-26T19:53:24.720" Score="0" Body="&lt;p&gt;Anything related to the usage of Sitecore MVC (Model-View-Controller) Forms&lt;/p&gt;&#xA;&lt;p&gt;Questions related to Sitecore Forms should be tackled with corresponding tags - &lt;a href=&quot;/questions/tagged/sitecore-forms&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;sitecore-forms&amp;#39;&quot; rel=&quot;tag&quot;&gt;sitecore-forms&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-01-11T08:19:51.177" LastActivityDate="2021-01-11T08:19:51.177" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5899" PostTypeId="4" CreationDate="2017-05-26T19:53:24.720" Score="0" Body="Questions related to Sitecore MVC (Model-View-Controller) with the use of forms." OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2017-05-27T07:40:17.980" LastActivityDate="2017-05-27T07:40:17.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5900" PostTypeId="1" CreationDate="2017-05-26T21:41:29.103" Score="3" ViewCount="840" Body="&lt;p&gt;I'm running Sitecore 8.1 (Original Release), using the personalization features of Sitecore. Here's what my setup looks like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a &quot;donate&quot; banner component that is personalized based on how much money a user has donated in the past. For example, if someone gave $25 last time, I want to show them a personalized variation of the donate banner component this time. I've been able to get that to work just fine. Now I want to determine if the personalization actually increases or decreases my donations from those users. That sounds like a perfect use for Sitecore's A/B or Multivariate or Component testing. My only problem is that I can't seem to figure out how to activate any kind of content testing on my personalized content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On this screen, when I already have personalization rules setup, it appears that the test button is disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Tr0tq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Tr0tq.png&quot; alt=&quot;Test button is disabled&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On this screen, if I start out with the tests first, then I can have Sitecore test the content, but I can't apply personalization rules (i.e. it just uses a random variation instead)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UwzYE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UwzYE.png&quot; alt=&quot;No personalization&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, how do I test that personalization is bringing the result that I'm hoping for?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-05-26T21:57:28.513" Title="How do I do a component test for a personalized component?" Tags="|personalization|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5901" PostTypeId="2" ParentId="2161" CreationDate="2017-05-26T21:55:42.773" Score="0" Body="&lt;p&gt;Create a processor like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class MySampleFilterProcessor : ResultExecutedProcessor&#xA;    {&#xA;        public override void Process(ResultExecutedArgs args)&#xA;        {&#xA;            var response = args.Context.HttpContext.Response;&#xA;&#xA;            if (response.Filter == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            response.Filter = new MySampleFilter(response.Filter, response.ContentEncoding);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then register the processor &lt;strong&gt;mvc.resultExecuted&lt;/strong&gt; pipeline&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mvc.resultExecuted&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyNamespace.MySampleFilterProcessor , SampleAssembly&quot;/&amp;gt;&#xA;&amp;lt;/mvc.resultExecuted&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="708" LastActivityDate="2017-05-26T21:55:42.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5902" PostTypeId="2" ParentId="5900" CreationDate="2017-05-26T21:57:28.513" Score="4" Body="&lt;p&gt;By, almost literally, stepping outside the box. If I'm reading you right, you want to test the following&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Original Banner&lt;/code&gt; versus &lt;code&gt;Personalised Banner&lt;/code&gt;, the latter of which can be one of 3 different data sources. One way to go about it is to swap containers as opposed to swapping content. Bit difficult to explain, but it goes like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create 2 very simple components. All they do, is output a &lt;code&gt;placeholder&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;OriginalBannerContainer =&amp;gt; placeholder key: &quot;original&quot;&#xA;PersonalisedBannerContainer =&amp;gt; placeholder key: &quot;personalised&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then proceed to add the original banner to placeholder &lt;code&gt;original&lt;/code&gt;, and set up your personalised condition banners and add these to &lt;code&gt;personalised&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then proceed to M/V test on the containers, OriginalBannerContainer and PersonalisedBannerContainer. Only one of the placeholders will be selected and Sitecore will ignore any components in the other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There might be other ways, maybe some new trickery have appeared in recent xDBs that I've not noticed. In the past however, the above did the trick for me.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-26T21:57:28.513" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5903" PostTypeId="2" ParentId="5741" CreationDate="2017-05-27T01:21:52.980" Score="2" Body="&lt;p&gt;Your error message is referencing a type file used in Windows PowerShell. The file has the extension &lt;code&gt;.ps1xml&lt;/code&gt;; in our case the file is named &lt;code&gt;Sitecore.Types.ps1xml&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In version 4.5 you can find the file under &lt;code&gt;/sitecore modules/PowerShell/Assets/&lt;/code&gt;. Looking at this version, there is a &lt;code&gt;ScriptProperty&lt;/code&gt; defined with that name. I recommend that you cleanup all the files generated by SPE in the previous version and then reinstall. Check out the Github repository if you want to see where the files were stored in that version...or perhaps open up the original package and see where they were dropped.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please provide the original and current versions of SPE you have installed in that instance so we can provide a more detailed answer.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-05-27T01:21:52.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5904" PostTypeId="1" CreationDate="2017-05-27T08:57:52.583" Score="2" ViewCount="839" Body="&lt;p&gt;My sitecore item contains dropdown for City, state, category etc. It's all in multiple languages but on sitecore item dropdown, it's appearing in english only. I've created computed index field for all referenced dropdown. It's indexing only english language content for all languages. Below is my code to get refernce field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; internal static Item GetTargetItemsFromField(this Item item, ID fieldId)&#xA;    {&#xA;        if (item.Fields.Contains(fieldId))&#xA;        {&#xA;            ReferenceField field = item.Fields[fieldId];&#xA;            if (field != null &amp;amp;&amp;amp; field.TargetItem != null)&#xA;            {&#xA;                return field.TargetItem;&#xA;            }&#xA;        }&#xA;&#xA;        return null;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Debug mode:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zHwVr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zHwVr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code is working fine but this code (item.Fields[fieldId]) return english language always. So it's indexing english content only. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using below code for language in config file: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;field fieldName=&quot;_language&quot; &#xA;        storageType=&quot;YES&quot; &#xA;        indexType=&quot;TOKENIZED&quot;    &#xA;        vectorType=&quot;NO&quot; &#xA;        boost=&quot;1f&quot; &#xA;        type=&quot;System.String&quot;&#xA;        settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;              &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;  &amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As per luke output it's indexing only english content for all other language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to fix this code to return all language content? &lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="73" LastEditDate="2017-05-29T07:43:00.170" LastActivityDate="2017-05-29T07:43:00.170" Title="Reference field computed index field in multiple language" Tags="|lucene|indexing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5907" PostTypeId="1" CreationDate="2017-05-29T07:03:55.623" Score="3" ViewCount="168" Body="&lt;p&gt;I need to use sitecore rules to personalize the contents that I want to display to users. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cJq8f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cJq8f.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I configured two basic rules on a component.&#xA;When used separately, both rules evaluate to true. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to have rule chaining that is to execute rule 2 even if rule 1 returns true?&lt;/p&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2017-05-29T07:34:19.483" Title="Personalization Rules Chaining" Tags="|personalization|rules-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5908" PostTypeId="2" ParentId="5907" CreationDate="2017-05-29T07:34:19.483" Score="2" Body="&lt;p&gt;You do this by chaining conditions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically you can keep adding rule conditions to your expression, and combine them using AND and OR logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ieb3W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ieb3W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-29T07:34:19.483" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5909" PostTypeId="2" ParentId="5904" CreationDate="2017-05-29T07:38:44.277" Score="3" Body="&lt;p&gt;The request for the targetitem does not take into account the language of the item the field is on:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Item TargetItem&#xA;{&#xA;  get&#xA;  {&#xA;    return this.Database.Items[this.Path];&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This means that it just uses the context language. Your computed index field code is run in the context of an index update, and that will be in an English context. To solve your issue you could use a LanguageSwitcher. You can find some information here: &lt;a href=&quot;https://ctor.io/correctly-switching-sitecore-contextes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ctor.io/correctly-switching-sitecore-contextes/&lt;/a&gt; but you actually just need a using statement around the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new Sitecore.Globalization.LanguageSwitcher(item.Language.Name))&#xA;{&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-05-29T07:38:44.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5910" PostTypeId="1" AcceptedAnswerId="5911" CreationDate="2017-05-29T10:12:38.617" Score="7" ViewCount="691" Body="&lt;p&gt;By default in SXA, images of crosses are shown instead of the real images uploaded in the experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6r7as.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6r7as.png&quot; alt=&quot;Cross image is showing instead of real image&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess this must be the behaviour of the default theme, but why is that so ? And most of all, how to show the real images ? I don't know what stylesheet/script to remove &lt;/p&gt;&#xA;" OwnerUserId="1833" LastActivityDate="2017-05-29T10:15:31.960" Title="How to show real images instead of crosses in SXA experience editor" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5911" PostTypeId="2" ParentId="5910" CreationDate="2017-05-29T10:15:31.960" Score="11" Body="&lt;p&gt;Find your Theme item and uncehck &lt;code&gt;Support Wireframe Images&lt;/code&gt; checkbox&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VsBLB.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VsBLB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to clear your browser cache when switching this option as those images might get cached.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-05-29T10:15:31.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5912" PostTypeId="2" ParentId="5470" CreationDate="2017-05-29T21:03:55.350" Score="0" Body="&lt;p&gt;I'm not sure if security is the problem here. Actually having Anonymous Denied on External Sources is normal, since it will by default fall on the Email Security Provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So your external Shared source should have the &lt;code&gt;*@*&lt;/code&gt; identity Allowed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Sitecore side, Coveo for Sitecore will send security in the Expended Security Provider which falls back on the Email Security Provider. So in brief, all Coveo for Sitecore identities (aka all Sitecore user and roles) are in the &lt;code&gt;*@*&lt;/code&gt; group so they do not need the external content to be Anonymous allowed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This said, apart from security and the &lt;code&gt;externalSources&lt;/code&gt; property, you also need to check the filters on your page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest to open the Network tab and look for the &lt;code&gt;aq&lt;/code&gt; and &lt;code&gt;cq&lt;/code&gt; parameters. Then paste them in the Content Browser and see if your external content is returned. If not, then your filter is the problem.&lt;/p&gt;&#xA;" OwnerUserId="264" LastActivityDate="2017-05-29T21:03:55.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5913" PostTypeId="2" ParentId="5493" CreationDate="2017-05-30T08:23:43.640" Score="3" Body="&lt;h1&gt;Persisting data with an interaction&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you want your custom data to be stored as part of every interaction in the Collection database, then you should use the &lt;code&gt;CustomValues&lt;/code&gt; dictionary.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Interaction.CustomValues[&quot;CUSTOM_DATA_KEY&quot;] = someObject;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since &lt;code&gt;CustomValues&lt;/code&gt; does not restrict what you can store, your custom data type will need to meet some requirements:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It has to be marked as &lt;code&gt;[Serializable]&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;It needs to be registered in the MongoDB driver like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Data.DataAccess.MongoDb;&#xA;&#xA;// [...]&#xA;&#xA;MongoDbObjectMapper.Instance.RegisterModelExtension&amp;lt;YourCustomClassName&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This only needs to be done once per application lifetime—for example, in an &lt;code&gt;initialize&lt;/code&gt; pipeline processor.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Temporary interaction data&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Some data you might only need during an interaction's session, and such data should not be stored in the Collection database. Then you can use the tracker session API:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Session.CustomData[&quot;CUSTOM_DATA_KEY&quot;] = someObject;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, you don't even have to use the xDB API for this. You can just store your data in the ASP.NET session:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpContext.Current.Session[&quot;CUSTOM_DATA_KEY&quot;] = someObject;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-05-30T08:23:43.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5915" PostTypeId="1" CreationDate="2017-05-30T09:01:40.623" Score="0" ViewCount="372" Body="&lt;p&gt;In our application, I am trying to implement stopword for various language. We are having country wise core index. One of my search, I am fetching search item using Content, Headline and SearchKeyword fields.  Below is my custom search result item model.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SiteSearchResultItem: SearchResultItem&#xA;{&#xA;       [IndexField(&quot;headline&quot;)]&#xA;       public string HeadLine { get; set; }&#xA;&#xA;       [IndexField(&quot;searchkeywords&quot;)]&#xA;       public string SearchKeywords { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Content maps to “Sitecore.ContentSearch.SearchTypes.SearchResultItem” Property.  I am building filter using predicate builder as below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;predicate = predicate.Or(p =&amp;gt; p.Content.Contains(searchParms.SearchTerm))&#xA;                .Or(p =&amp;gt; p.Content.Equals(searchParms.SearchTerm))&#xA;                .Or(p =&amp;gt; p.HeadLine.Contains(searchParms.SearchTerm).Boost(5f))&#xA;                .Or(p =&amp;gt; p.HeadLine.Equals(searchParms.SearchTerm).Boost(5f))&#xA;                .Or(p =&amp;gt; p.SearchKeywords.Contains(searchParms.SearchTerm))&#xA;                .Or(p =&amp;gt; p.SearchKeywords.Equals(searchParms.SearchTerm));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am testing stopword for Portuguese language. So, I have added a stopword “estávamos” in corresponding stopword_pt.txt file. While query through solr admin, it’s working fine. Below are the queries, I have tested. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In sitecore, I have create two item which has title and “menu_title” which points to headline in solr field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr Admin Raw Query:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;headline_t_pt:&lt;em&gt;estávamos brazil&lt;/em&gt;  =&gt; Providing no data&lt;/p&gt;&#xA;&#xA;&lt;p&gt;headline_t_pt:”estávamos brazil”  =&gt; Providing only  Item which has title brazil data&lt;/p&gt;&#xA;&#xA;&lt;p&gt;menu_title_t_pt:&quot;estávamos brazil&quot; =&gt; Providing only item which has menu title brazil.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;&lt;strong&gt;Query which passed to solr:&lt;/strong&gt;&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;(_content:(&lt;em&gt;estávamos brazil&lt;/em&gt;) OR _content:(&quot;estávamos brazil&quot;) OR headline_t_pt:(&lt;em&gt;estávamos brazil&lt;/em&gt;) OR headline_t_pt:(&quot;estávamos brazil&quot;)) AND _language:(pt-BR)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, It’s working fine in solr Admin tool. But in my sitecore application, it’s not excluding those data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And Also I need what are the fields will be in content property in solr sitecore. It's mapping to &quot;_content&quot; solr field?&lt;/p&gt;&#xA;" OwnerUserId="1093" LastEditorUserId="73" LastEditDate="2018-04-17T07:14:33.230" LastActivityDate="2018-04-17T07:14:33.230" Title="Solr Stopword not working in multilingual application?" Tags="|content-search|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5918" PostTypeId="1" CreationDate="2017-05-30T09:52:25.457" Score="3" ViewCount="175" Body="&lt;p&gt;Using sc8.0u5 with WFFM u4&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The WFFM that is assigned to a page doesn't load in the live mode. It shows in preview/exp. editor though.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Also, I'm mapping template fields to the WFFM form fields. After Save&amp;amp;close, when I open the form again in form designer, all the mappings are gone and it shows as &quot;Not Defined&quot;. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Not just the field mappings, but also the &quot;Template&quot; &amp;amp; &quot;Destination&quot;, that are set for this form, in the previous screen, are not saved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These issues occur only in our QA environment and not local. Both use the same versions of sitecore and wffm. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could this be a bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t2p62.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t2p62.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-06-07T07:32:04.333" LastActivityDate="2017-06-07T07:32:04.333" Title="Template items not mapped to WFFM form" Tags="|wffm|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5921" PostTypeId="1" CreationDate="2017-05-30T11:37:53.507" Score="1" ViewCount="549" Body="&lt;p&gt;I have a lot of pages and media items in my database, but the &lt;strong&gt;Navigate to item&lt;/strong&gt; and the &lt;strong&gt;Select media&lt;/strong&gt; panes are completely empty and search does not return any results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My initial thought was that something with the search index was broken. So I rebuilt them, but without luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sp8f3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sp8f3.png&quot; alt=&quot;Screenshots&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do get this, when using Chrome Developer Tools&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LUzob.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LUzob.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1224" LastEditorUserId="73" LastEditDate="2017-05-30T12:10:41.757" LastActivityDate="2017-05-31T08:37:47.533" Title="Experience editor: Navigate to item and Select media views empty?" Tags="|experience-editor|media-library|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="5922" PostTypeId="2" ParentId="3282" CreationDate="2017-05-30T11:46:58.657" Score="1" Body="&lt;p&gt;I had a similar issue and managed to get the connection via POST as explained &lt;a href=&quot;http://www.galysoft.es/post/2017/05/28/Using-POST-to-communicate-with-Solr-from-Sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create a new SolrStartUp class inheriting from the default one:&lt;/strong&gt; Here is where you use The PostSolrnConnection&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PostSolrStartUp: DefaultSolrStartUp&#xA;    {&#xA;        protected override ISolrConnection CreateConnection(string serverUrl)&#xA;        {&#xA;            SolrConnection basecon = new SolrConnection(serverUrl) { Timeout = SolrContentSearchManager.ConnectionTimeout };&#xA;&#xA;&#xA;            FieldInfo field = typeof(DefaultSolrStartUp).GetField(&quot;solrCache&quot;, BindingFlags.Instance | BindingFlags.NonPublic);&#xA;            var basecache = field.GetValue(this);&#xA;            if (basecache != null)&#xA;            {&#xA;                basecon.Cache = (ISolrCache)basecache;&#xA;            }&#xA;            PostSolrConnection solrConnection = new PostSolrConnection(basecon, serverUrl);&#xA;            return solrConnection;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create a new Sitecore Initializer&lt;/strong&gt; and use your start up class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class InitializeSolrProvider&#xA;    {&#xA;        public InitializeSolrProvider()&#xA;        {&#xA;        }&#xA;&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            if (!SolrContentSearchManager.IsEnabled)&#xA;            {&#xA;                return;&#xA;            }&#xA;            if (!IntegrationHelper.IsSolrConfigured())&#xA;            {&#xA;                (new PostSolrStartUp()).Initialize();&#xA;                return;&#xA;            }&#xA;            IntegrationHelper.ReportDoubleSolrConfigurationAttempt(this.GetType());&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Replace the default initializer with yours&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;ClearPeople.Sitecore.ContentSearch.SolrProvider.InitializeSolrProvider, ClearPeople.Sitecore&quot; patch:instead=&quot;processor[@type='Sitecore.ContentSearch.SolrProvider.Pipelines.Loader.InitializeSolrProvider, Sitecore.ContentSearch.SolrProvider']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please, comment any issue you could see with this solution&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-05-30T11:46:58.657" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5923" PostTypeId="1" AcceptedAnswerId="5924" CreationDate="2017-05-30T14:20:33.303" Score="11" ViewCount="2670" Body="&lt;p&gt;I have a site definition which is being resolved without a hostName tag set. Do you know what could be causing it to get resolved?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what the showconfig of my custom site looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site &#xA;name=&quot;MySite&quot; &#xA;virtualFolder=&quot;/&quot; &#xA;physicalFolder=&quot;/&quot; &#xA;requireLogin=&quot;false&quot; &#xA;rootPath=&quot;/sitecore/content/MySite&quot; &#xA;startItem=&quot;/home&quot; &#xA;database=&quot;web&quot; &#xA;domain=&quot;extranet&quot; &#xA;allowDebug=&quot;false&quot; &#xA;cacheHtml=&quot;true&quot; &#xA;htmlCacheSize=&quot;10MB&quot; &#xA;registryCacheSize=&quot;0&quot; &#xA;viewStateCacheSize=&quot;0&quot; &#xA;xslCacheSize=&quot;5MB&quot; &#xA;filteredItemsCacheSize=&quot;2MB&quot; &#xA;language=&quot;en&quot; &#xA;enablePreview=&quot;true&quot; &#xA;enableWebEdit=&quot;true&quot; &#xA;enableDebugger=&quot;false&quot; &#xA;disableClientData=&quot;false&quot; &#xA;patch:source=&quot;Sites.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that there is not port nor hostname attribute associated with it. Also this is the site just above the &quot;website&quot; site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I open the site on anonymous tab it does resolve to my site.&#xA;I also did a test on IIS and added a dummy binding and updated hosts config file. When I opened the url on the browser with the dummy hostname it did also resolve. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a local environment.&#xA;Anyone know what I'm missing?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="1994" LastEditDate="2017-05-30T22:31:35.920" LastActivityDate="2017-10-10T03:18:42.013" Title="Site resolving without hostname" Tags="|multisite|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5924" PostTypeId="2" ParentId="5923" CreationDate="2017-05-30T14:22:28.007" Score="12" Body="&lt;p&gt;Seems like &quot;working as intended&quot;, no?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I mean - the way Sitecore does Site Resolving is, to work it's way down the list of defined &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; until it finds one that matches. And since your definition is set to trigger on &quot;anything&quot; (&lt;code&gt;virtualFolder&lt;/code&gt; and &lt;code&gt;physicalFolder&lt;/code&gt; being &lt;code&gt;&quot;/&quot;&lt;/code&gt;) - it will catch everything that isn't caught by &lt;code&gt;shell&lt;/code&gt; and &lt;code&gt;login&lt;/code&gt; and so on above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your &lt;code&gt;&quot;website&quot;&lt;/code&gt; will never be reached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;hostname&lt;/code&gt; is not a required attribute. Default &lt;code&gt;&quot;website&quot;&lt;/code&gt; doesn't have one either.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-05-30T14:22:28.007" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5925" PostTypeId="2" ParentId="5923" CreationDate="2017-05-30T14:41:30.823" Score="3" Body="&lt;p&gt;when a user visits site using a host name (ex: mysite.com/en), &#xA;sitecore will go into site definitions, from top to bottom and try to find any matching First site definition for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;sitecore takes hostname, i.e. mysite.com  and language part of the url i.e. /en&lt;/p&gt;&#xA;&#xA;&lt;p&gt;sitecore goes to first site definition and check its hostName is equal to &quot;mysite.com&quot;&#xA;if YES, it directly takes that site definition as current site&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if false, AND that site definition doesn't have a hostName attribute define, it match virtualFolder &amp;amp; physicalFolder to &quot;/en&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if that is a MATCH, sitecore also takes that site definition as current site&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: if a site definition have a hostName attribute define, then hostname of the URL request should be equal to exact same, to process virtulFolder/physicalFoder setting of that site definition. if hostname attribute is define and its not equal to current requested url hostname, then that site definition will be totally ignored and moved to next site definition to find a match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has defined &quot;website&quot; site definition in a way, that all the non-matching url request are matched into &quot;website&quot; site definition.&#xA;i.e. by not having &quot;hostName&quot; attribute and virtualPath/physicalPath are set to &quot;/&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to note is, you need to position the site definitions in such order that, site detinitions that have most conditions should be position first. And the site definitions that are more generic (ex: &quot;website&quot;) should be position last in the /sitecore/configuration/sites node.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-05-30T14:41:30.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5926" PostTypeId="2" ParentId="1647" CreationDate="2017-05-30T14:58:28.580" Score="6" Body="&lt;p&gt;&lt;strong&gt;UPDATE March 2018&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Docker is still not supported, but you can find some base images here: &lt;a href=&quot;https://github.com/Sitecore/docker-images&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/docker-images&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This repository was created by combining efforts / assets from repos such as sitecoreops and sitecore-nine-docker and sitecore-docker repos.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Docker is currently (as of May 2017) not supported, but it is on the roadmap.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand Sitecore provide role specific templates for Azure App Services with the latest versions (8.2 update 1+), you can find them here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update3.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2018-03-28T07:44:32.587" LastActivityDate="2018-03-28T07:44:32.587" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5927" PostTypeId="1" AcceptedAnswerId="5928" CreationDate="2017-05-30T18:42:15.837" Score="11" ViewCount="2718" Body="&lt;p&gt;I have a custom SOLR index that I need to start from a few location, as to not include items I don't need. I thought the xml below was the proper location node for the index config, but it only crawls the first path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 U3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on crawling several different locations in one search config?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;   &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;      &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;      &amp;lt;Root&amp;gt;/sitecore/content/LocOne/Home/&amp;lt;/Root&amp;gt;&#xA;   &amp;lt;/crawler&amp;gt;&#xA;   &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;      &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;      &amp;lt;Root&amp;gt;/sitecore/content/LocTwo/Home/&amp;lt;/Root&amp;gt;&#xA;   &amp;lt;/crawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Full config file &lt;a href=&quot;https://gist.github.com/dnstommy/c10cc91d83bb7299f5678e6d1de80a21&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-05-30T18:49:20.243" LastActivityDate="2017-06-05T00:54:19.837" Title="One index with multiple start locations" Tags="|content-search|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5928" PostTypeId="2" ParentId="5927" CreationDate="2017-05-30T18:51:21.440" Score="17" Body="&lt;p&gt;The generic &lt;code&gt;crawler&lt;/code&gt; name is good when you will only have one crawler in your index. If you have multiple crawlers then you need to have nodes with distinct names:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;   &amp;lt;locOneCrawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;      &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;      &amp;lt;Root&amp;gt;/sitecore/content/LocOne/Home/&amp;lt;/Root&amp;gt;&#xA;   &amp;lt;/locOneCrawler&amp;gt;&#xA;   &amp;lt;locTwoCrawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;      &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;      &amp;lt;Root&amp;gt;/sitecore/content/LocTwo/Home/&amp;lt;/Root&amp;gt;&#xA;   &amp;lt;/locTwoCrawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Further reading: &lt;a href=&quot;https://ankitjoshi2409.wordpress.com/2017/02/12/creating-multiple-crawlers-for-custom-index-in-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://ankitjoshi2409.wordpress.com/2017/02/12/creating-multiple-crawlers-for-custom-index-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following seem to work also:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- &quot;name&quot; Attribute --&amp;gt;&#xA;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;    &amp;lt;crawler name=&quot;locOneCrawler&quot; type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;        &amp;lt;Root&amp;gt;/sitecore/content/LocOne/Home/&amp;lt;/Root&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler name=&quot;locTwoCrawler&quot; type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;        &amp;lt;Root&amp;gt;/sitecore/content/LocTwo/Home/&amp;lt;/Root&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&#xA;&amp;lt;!-- &quot;CrawlerName&quot; node --&amp;gt;&#xA;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;CrawlerName&amp;gt;locOneCrawler&amp;lt;/CrawlerName&amp;gt;&#xA;        &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;        &amp;lt;Root&amp;gt;/sitecore/content/LocOne/Home/&amp;lt;/Root&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;CrawlerName&amp;gt;locTwoCrawler&amp;lt;/CrawlerName&amp;gt;&#xA;        &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;        &amp;lt;Root&amp;gt;/sitecore/content/LocTwo/Home/&amp;lt;/Root&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2017-05-30T19:04:17.623" LastActivityDate="2017-05-30T19:04:17.623" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5929" PostTypeId="1" CreationDate="2017-05-30T19:00:56.630" Score="2" ViewCount="449" Body="&lt;p&gt;How do I prevent a user from entering an invalid date format (i.e 22/34/2090) and restrict them from manually entering a date into date picker field in WFFM?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;--&gt; Whenever I submit the form with an invalid date format, I'm getting a loading symbol and I'm not able to submit the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ztuBQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ztuBQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Screen shot of entered manually invalid date format&lt;/p&gt;&#xA;" OwnerUserId="1969" LastEditorUserId="1000" LastEditDate="2017-05-30T20:46:46.503" LastActivityDate="2017-06-30T12:39:13.667" Title="How to prevent a user from entering an invalid date within WFFM" Tags="|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5930" PostTypeId="2" ParentId="5927" CreationDate="2017-05-30T19:56:32.427" Score="5" Body="&lt;p&gt;&lt;strong&gt;Sitecore 8.1&lt;/strong&gt; has an issue with using two different locations for the same index and it is fixed just in Sitecore 8.2 Update 1. It is registred as a bug by Sitecore support. There is should be a package with &lt;strong&gt;#108165&lt;/strong&gt;, but I haven't found that in the public access. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was disscussed here not so far ago:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/3480/issue-with-multiple-crawlers-on-solr-custom-search-index&quot;&gt;Issue with multiple crawlers on Solr custom search index&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-06-01T05:48:25.840" LastActivityDate="2017-06-01T05:48:25.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5931" PostTypeId="1" CreationDate="2017-05-30T21:12:13.090" Score="0" ViewCount="140" Body="&lt;p&gt;When I run the &lt;code&gt;rebuildreportingdb.aspx&lt;/code&gt; tool, it deletes all existing marketing definitions (Segments, GoalDefinitions, etc. tables) from secondary reporting database. I came to know about this after checking logs as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Experience Analytics]: SegmentProcessor cannot execute. No segments were found&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Before running this, I am deploying all marketing definitions, and they exist on both Primary and Secondary databases. MongoDB is also connected to the instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing here?&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2017-07-02T02:02:37.410" Title="All Marketing Definitions get deleted from Secondary reporting database after rebuilding Reporting DB" Tags="|xdb|reporting|marketing-definitions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5933" PostTypeId="1" AcceptedAnswerId="5936" CreationDate="2017-05-31T02:06:35.677" Score="6" ViewCount="606" Body="&lt;p&gt;I have multiple websites running on Single Sitecore instance. e.g.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://xyz.com&quot; rel=&quot;noreferrer&quot;&gt;http://xyz.com&lt;/a&gt; (&lt;strong&gt;Main Website&lt;/strong&gt;) and &lt;a href=&quot;http://abc.xyz.com&quot; rel=&quot;noreferrer&quot;&gt;http://abc.xyz.com&lt;/a&gt; (&lt;strong&gt;another Sitecore website&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Customer now wish to have only one site as below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://xyz.com/abc/&quot; rel=&quot;noreferrer&quot;&gt;http://xyz.com/abc/&lt;/a&gt;{pages from abc site}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we achieve this without disturbing current content structure in Sitecore. Just with some config changes?&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-05-31T05:26:38.070" Title="Moving Sitecore subdomain website to main website" Tags="|multisite|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5934" PostTypeId="1" AcceptedAnswerId="5935" CreationDate="2017-05-31T03:10:36.360" Score="2" ViewCount="704" Body="&lt;p&gt;I have a Article View Rendering that contain Datasource Location that points to its Article Datasource item. The view rendering cshtml file is Article.cshtml. I'm using Glass Mapper to map Article Model on View.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{3C578C91-12FD-4E43-A9EB-4AEB053D0F8E}&quot;, AutoMap = true)]&#xA;public class Article&#xA;{&#xA;    [SitecoreId]&#xA;    public virtual Guid ID { get; set; }&#xA;    [SitecoreField]&#xA;    public virtual string Tittle { get; set; }&#xA;&#xA;    [SitecoreField]&#xA;    public virtual string Text { get; set; }&#xA;&#xA;    [SitecoreField]&#xA;    public virtual string Colour { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But on Page get Article Rendering,i have Article Metadata section,i want to get field of that on Views include Article. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{B3B677AC-1C3B-44E8-91B7-14B42C77058E}&quot;, AutoMap = true)]&#xA;public class WebPage : IArticleMetaData&#xA;{&#xA;    [SitecoreField]&#xA;    public virtual string Title { get; set; }&#xA;    [SitecoreField]&#xA;    public virtual string Description { get; set; }&#xA;&#xA;}&#xA;&#xA;[SitecoreType(TemplateId = &quot;AACF09E7-A7B8-4D32-946B-B84098738BEE&quot;, AutoMap = true)]&#xA;public interface IArticleMetaData&#xA;{&#xA;    [SitecoreField]&#xA;      string Title { get; set; }&#xA;&#xA;    [SitecoreField]&#xA;      string   Description { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any soloution for that?Thanks&lt;/p&gt;&#xA;" OwnerUserId="1926" LastEditorUserId="432" LastEditDate="2017-05-31T03:55:43.747" LastActivityDate="2017-05-31T04:11:25.790" Title="Map Model Metadata on page in View" Tags="|glass-mapper|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5935" PostTypeId="2" ParentId="5934" CreationDate="2017-05-31T04:11:25.790" Score="4" Body="&lt;p&gt;So it sounds like you are trying to get access to a datasource (Article) item as well as the current context item (WebPage).  To do that, you would need to use a controller rendering.  And within that controller rendering, you would want to have code that looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Display()&#xA;{&#xA;   var model = new ArticleViewModel();&#xA;&#xA;   model.Article = GetDataSourceItem&amp;lt;Article&amp;gt;();&#xA;   model.CurrentPage = GetContextItem&amp;lt;WebPage&amp;gt;();&#xA;&#xA;   return View(model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure that your Controller inherits from GlassController.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously with that you will need to create a new View Model that has two properties.  And then in your view you would have something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model ArticleViewModel&#xA;&#xA;@* Pull Article Datasource Data *@&#xA;@Html.Glass().Editable(Model.Article, x =&amp;gt; x.Tittle)&#xA;&#xA;@* Pull WebPage Data *@&#xA;@Html.Glass().Editable(Model.CurrentPage, x =&amp;gt; x.Description)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-05-31T04:11:25.790" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5936" PostTypeId="2" ParentId="5933" CreationDate="2017-05-31T05:02:18.500" Score="6" Body="&lt;p&gt;As per commented by Chris, This is the correct answer.&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/9378122/accessing-sitecore-content-with-virtual-folders&quot;&gt;https://stackoverflow.com/questions/9378122/accessing-sitecore-content-with-virtual-folders&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to mention physical folder same as virtual folder. Patch before attribute is very important here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add below attributes in our abc.xyz.com website settings&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;site name=&quot;abc.xyz.com&quot; patch:before=&quot;site[@name='xyz.com']&quot; &#xA;    virtualFolder=&quot;/abc&quot; physicalFolder=&quot;/abc&quot;&#xA;    targetHostName=&quot;xyz.com&quot; &#xA;&#xA;....&#xA;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties/virtualFolder.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties/virtualFolder.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-05-31T05:26:38.070" LastActivityDate="2017-05-31T05:26:38.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5937" PostTypeId="2" ParentId="5252" CreationDate="2017-05-31T06:06:28.767" Score="6" Body="&lt;p&gt;I cannot give you a detailed answer but you should know that in the future (not yet scheduled) the AD module will be retired and Sitecore will move away from the Microsoft Membership model and towards Microsoft Identity. This introduces support for the Microsoft.Owin authentication middleware. This can be used as a replacement for the AD module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Owin middlewares available include: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;OpenId Connect (AzureAD, Identity Server)&lt;/li&gt;&#xA;&lt;li&gt;Microsoft Account&lt;/li&gt;&#xA;&lt;li&gt;Google&lt;/li&gt;&#xA;&lt;li&gt;Facebook&lt;/li&gt;&#xA;&lt;li&gt;Twitter&lt;/li&gt;&#xA;&lt;li&gt;WsFederation&lt;/li&gt;&#xA;&lt;li&gt;OAuth&lt;/li&gt;&#xA;&lt;li&gt;SAML (3rd party - not developed by MS)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2017-05-31T06:45:56.507" LastActivityDate="2017-05-31T06:45:56.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5938" PostTypeId="2" ParentId="1535" CreationDate="2017-05-31T07:13:10.453" Score="-1" Body="&lt;p&gt;I was also facing that same issue (read access was always true, even check with user viwer in sitecore), So I tried an alternative to achieve the solutions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;string accessValue = standardFieldValueItem.Fields[&quot;__Security&quot;].Value;&#xA; string[] spliter = new string[] { &quot;au|&quot; };&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;string[] usersAccess = accessValue.Split(spliter, StringSplitOptions.None);&#xA;bool isNotReadAccess = false;&#xA;foreach (var userAccess in usersAccess)&#xA;{&#xA;    if (userAccess.Contains(u.DisplayName))&#xA;    {&#xA;          isNotReadAccess = userAccess.Contains(&quot;-item:read&quot;);&#xA;    }&#xA; }&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1307" LastEditorUserId="1307" LastEditDate="2017-08-23T07:09:50.267" LastActivityDate="2017-08-23T07:09:50.267" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5939" PostTypeId="2" ParentId="5921" CreationDate="2017-05-31T08:37:47.533" Score="1" Body="&lt;p&gt;The empty Select media pane was solved by adding a missing config file&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Heading into the App_Config\Include folder, I sure enough found a sneaky “Sitecore.Speak.ContentSearch.Solr.config.example” hiding away.  Why was it not named “Sitecore.ContentSearchSpeak.Speak.Solr.config.example” so it showed up with all the other configs? I have no idea.  Either way, when you open this file, you see exactly what you’re looking for: Renaming that file to remove the “.example” extension leaves me with something I like.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Read more: &lt;a href=&quot;http://www.rockpapersitecore.com/2016/05/16/sitecore-8-1-the-select-media-speak-ui-and-solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.rockpapersitecore.com/2016/05/16/sitecore-8-1-the-select-media-speak-ui-and-solr/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1224" LastActivityDate="2017-05-31T08:37:47.533" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5942" PostTypeId="2" ParentId="3282" CreationDate="2017-05-31T12:25:54.677" Score="0" Body="&lt;p&gt;There is no limit on Solr side - may be try with increasing maxFormContentSize if you are using Jetty if you are using POST. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For GET, I think you can increase 1024 in your solrconfig.xml. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully, it should work for you!&lt;/p&gt;&#xA;" OwnerUserId="1996" LastActivityDate="2017-05-31T12:25:54.677" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5943" PostTypeId="2" ParentId="5550" CreationDate="2017-05-31T12:30:33.237" Score="2" Body="&lt;p&gt;To add a user to an engagement plan (EP) with code is very simple. You just need to new up an AutomationStateManager and enroll the user in the EP. Just supply the ID of the EP.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var a = AutomationStateManager.Create(Tracker.Current.Contact);&#xA;a.EnrollInEngagementPlan([ID of the EngagementPlan], IDs.EngagementPlans.State.BeginingState);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-05-31T12:30:33.237" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5944" PostTypeId="1" CreationDate="2017-05-31T13:05:57.517" Score="2" ViewCount="96" Body="&lt;p&gt;We are using external APIs as data source values for some template fields within Sitecore. We would like to change that data source depending on the environment. For example, on staging the data source would be stage.foo.com/getstuff, and prod would be foo.com/getstuff.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using TDS, and all the templates are synced for continuous integration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My initial instinct is to put the values in app settings and use a post deploy PowerShellscript or something. I'll also look into pipelines which might allow us to use tokens instead of PowerShell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm curious if there is a community recommended approach?&lt;/p&gt;&#xA;" OwnerUserId="433" LastActivityDate="2017-06-01T14:44:52.697" Title="Managing field data sources per environment" Tags="|datasource|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5945" PostTypeId="1" AcceptedAnswerId="5948" CreationDate="2017-05-31T13:35:51.510" Score="0" ViewCount="1589" Body="&lt;p&gt;So I need the ability to trigger a Speak Application (either a Dialog or a Dashboard) from within code.  This is going to happen from a custom command I have created that will process specific logic about the current context to determine which speak dialog to display.  Is there a way to do this from within c# code?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-05-31T14:07:51.447" Title="How do a open a Speak Dialog (or Dashboard Application) from within code?" Tags="|sitecore-client|content-editor|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5946" PostTypeId="2" ParentId="5944" CreationDate="2017-05-31T13:58:29.203" Score="4" Body="&lt;p&gt;There are multiple ways that you can do this. But you are on the right track with putting the value in app settings and changing the values on deployment (not build).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The implementation will depend on your deployment tooling. I will give you an example using Octopus Deploy:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create your settings in a config file. As this is a Sitecore site, I would create a new include file (something like &lt;code&gt;ExternalApi.config&lt;/code&gt;) and add the values as Sitecore settings. Use a token as the value, this is important for deployment e.g:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;apiurl&quot; value=&quot;#{apiurl}&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a &lt;code&gt;.debug&lt;/code&gt; transform, that transforms the above setting to your local development environment&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create variables in Octopus, that will be substituted for the token set in the main file.&lt;/li&gt;&#xA;&lt;li&gt;Setup your deployment to use Variable Substitution on all your config files (see &lt;a href=&quot;https://octopus.com/docs/deploying-applications/substitute-variables-in-files&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; for details on that)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now this is just one way of doing it with Octopus Deploy - you could use TeamCity with PowerShell scripts, or VSTS Online - or your deployment tool of choice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key is that you use a token in the main file, transform that for local builds, and substitute the token on deployment for each target environment.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-05-31T13:58:29.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5948" PostTypeId="2" ParentId="5945" CreationDate="2017-05-31T14:07:51.447" Score="3" Body="&lt;p&gt;You can open a SPEAK dialog using the &lt;code&gt;SheerResponse.ShowModalDialog&lt;/code&gt; command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SheerResponse.ShowModalDialog(new ModalDialogOptions(url)&#xA;{&#xA;  Width = &quot;100&quot;,&#xA;  Height = &quot;200&quot;,&#xA;  Response = true,&#xA;  ForceDialogSize = true&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;url&lt;/code&gt; parameter is the Sitecore path of the SPEAK page, e.g: &lt;code&gt;/sitecore/client/applications/dialogs/myPage&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should work if calling the dialog from a back end code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/speak/development/open_a_speak_dialog&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak/development/open_a_speak_dialog&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-05-31T14:07:51.447" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5949" PostTypeId="2" ParentId="5491" CreationDate="2017-05-31T14:14:16.763" Score="5" Body="&lt;p&gt;Pointing to the entire &lt;code&gt;bootstrap.css&lt;/code&gt; is a bit overkill. (And I suspect Sitecore / Telerik is having a hard time parsing it.) What you should do is ignore the &lt;code&gt;ToolsFile.xml&lt;/code&gt; entirely (make sure the &lt;code&gt;&amp;lt;classes&amp;gt;&lt;/code&gt; element is empty), and point the &lt;code&gt;WebStylesheet&lt;/code&gt; setting to a custom CSS file that only includes classes that should be exposed for selection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you will be including &lt;code&gt;bootstrap.css&lt;/code&gt; in your layout, you can leave the class selectors empty in your custom editor CSS:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;a.blue-button {}&#xA;&#xA;a.red-button {}&#xA;&#xA;img.img-responsive {}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could also add your editor-specific styling in there, or you could use the technique described in &lt;a href=&quot;https://jammykam.wordpress.com/2015/03/11/user-specific-or-multi-site-specific-css-styles-in-sitecore-rich-text-editor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blog post&lt;/a&gt; to add other CSS files to the editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An important point here is that the RTE in Sitecore hasn't been getting much love. One &lt;a href=&quot;https://stackoverflow.com/a/37150257/1327412&quot;&gt;issue&lt;/a&gt; you'll likely run into is that if you right-click your image and select &quot;Properties&quot;, the CSS class list in the dialog will be empty. I've never been able to find a workaround for that. Other elements like tables and links work as expected. Let us know if you figure out a fix. Meanwhile, the &quot;Apply CSS Class&quot; dropdown which is part of the toolbar at least works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EdGrO.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EdGrO.jpg&quot; alt=&quot;CSS Class Toolbar&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, you can still set your classes in &lt;code&gt;ToolsFile.xml&lt;/code&gt;, which will allow you to present user-friendly names instead of direct CSS class names. But then, you will need to keep both CSS and XML in sync.&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2017-05-31T15:33:46.053" LastActivityDate="2017-05-31T15:33:46.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5950" PostTypeId="1" CreationDate="2017-05-31T14:26:12.243" Score="0" ViewCount="1950" Body="&lt;p&gt;We are facing a strange issue on Sitecore 8.1 Update-1 environment. While rebuilding Reporting database, we always find below error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;10528 09:55:18 ERROR [Experience Analytics]: SegmentProcessor failed to process interaction 'b92e3a39-d037-4926-82cd-208f350a6e07' segment '7b0bc1b1-3c16-44b4-a4f0-bd12b647d157' - System.InvalidOperationException: Definition not found: itemId: '{60AD67C5-D927-4316-9B03-EDCCE11DEBA6}' culture: 'Invariant Language (Invariant Country)' type: 'Sitecore.Marketing.Definitions.Goals.IGoalDefinition'&#xA;   at Sitecore.ExperienceAnalytics.Core.Repositories.ClassificationResolver`1.GetClassificationUris(ID itemId)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Dimensions.ByGoalFacetGroup.Filter(PageEventData pageEvent)&#xA;   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Dimensions.PageEventDimensionBase.GetDimensionKeys(IVisitAggregationContext context)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Dimensions.PageEventDimensionBase.&amp;lt;GetData&amp;gt;d__2.MoveNext()&#xA;   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(AggregationPipelineArgs args, IEnumerable`1 segments)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Mostly this happens when we have the item in master DB, and it's not found in the reporting database. But it's not the case here.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The item &lt;strong&gt;{60AD67C5-D927-4316-9B03-EDCCE11DEBA6}&lt;/strong&gt; does not exist in Master/Web DB.&lt;/li&gt;&#xA;&lt;li&gt;We used a new Mongo DB database for Analytics&lt;/li&gt;&#xA;&lt;li&gt;We used clean Reporting databases.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;How can I ignore processing this Goal or other marketing definitions (Those might be created earlier and then deleted from database).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If I create a Goal with same ID, it works, and jumps for throwing errors for other deleted Goals&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2017-06-30T21:24:01.500" Title="Error - SegmentProcessor failed to process interaction" Tags="|xdb|reporting|aggregation|" AnswerCount="1" CommentCount="4" ClosedDate="2017-07-03T09:01:53.303" ContentLicense="CC BY-SA 3.0" />
  <row Id="5951" PostTypeId="2" ParentId="5929" CreationDate="2017-05-31T15:39:06.667" Score="5" Body="&lt;p&gt;WFFM &lt;em&gt;only supports client-side validation when using regular expression-based validation or otherwise native validations&lt;/em&gt; &lt;strong&gt;(updated 6/29)&lt;/strong&gt;. Custom validations beyond that is something that you need to add on your own. However, it does include native support for custom server-side validation &lt;strong&gt;(updated 6/29)&lt;/strong&gt;. From your description, it sounds like you have the server-side validation set up in Sitecore, but you are missing the client-side validation. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;UPDATE 6/29: Clarifications, as requested&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Re-reading this post, @jrap is correct that the wording was confusing. The following is meant to clarify the post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM &lt;em&gt;does&lt;/em&gt; include client-side validation for its built-in &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/the_formspecific_validations&quot; rel=&quot;nofollow noreferrer&quot;&gt;form-specific&lt;/a&gt;, &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/the_fieldtype_validations&quot; rel=&quot;nofollow noreferrer&quot;&gt;field-type&lt;/a&gt; validations (including the &quot;Custom&quot; validation) and required field validator. However, the use of these validations is somewhat limited, with the field-type validations applying to all fields of a particular type that use it and the form-specific validations being specific to a field but only supporting regular expressions. This means that if you have a more complex validation, e.g. checking to see if a chosen date is within a predefined range, then these validation features are somewhat limiting. In these cases, your best bet is often to write your own &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/walkthrough_create_and_assign_a_custom_fieldtype_validator&quot; rel=&quot;nofollow noreferrer&quot;&gt;custom field-type validators&lt;/a&gt;. You can specify error messages and your logic, but you will still need to add your own custom client-side validation. This is because custom field-type validators are server-side and thus validation is only triggered when the form posts to the server. If the field is invalid then the form will display again with the necessary validations. However, client-side validation can be used here if you want to prevent the form from being submitted if invalid. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="2126" LastEditDate="2017-06-30T12:39:13.667" LastActivityDate="2017-06-30T12:39:13.667" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5952" PostTypeId="2" ParentId="5877" CreationDate="2017-05-31T16:08:56.813" Score="1" Body="&lt;p&gt;I tested this on a clean version of Sitecore 8.1.1, 8.1.3, and 8.2.3 and - as confirmed by @maz - a user with the Sitecore Client Account Managing role should have access to view the list of items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple of things that I would do to try to validate and correct the issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install a clean &lt;code&gt;core&lt;/code&gt; database and point your connection strings at it. Log in as an admin and create some test users, including one, testmanager (name is arbitrary), that has only the &lt;code&gt;sitecore\Sitecore Client Account Managing&lt;/code&gt; role. Log out of the admin account and log back in with the &quot;testmanager&quot; account. Verify that you can see the list of users. If this works, then you know that the issue is in your &lt;code&gt;core&lt;/code&gt; database only, and can be solved by replacing it. If not, then you may have another corruption in your Sitecore instance. At this point, I would continue to Step 2.&lt;/li&gt;&#xA;&lt;li&gt;Only try this after you have tried Step 1. Go into your App_Config folder and replace your configs, excluding your ConnectionStrings and DataFolder settings, with clean ones. Specifically, make sure that you have replaced those in the App_Config\Security folder. If that doesn't work, replace the remainder of the configs, still excluding ConnectionStrings and DataFolder settings, and retest. If you are still unable to see the list of users at this point, there is a more serious issue with your Sitecore instance. I recommend that you file a Sitecore Support Ticket and send then a full Sitecore Support Package, using SSPG. &lt;/li&gt;&#xA;&lt;li&gt;Reconnect your original &lt;code&gt;core&lt;/code&gt; database and add all of the custom and default security roles available to a new &quot;testmanager&quot; account. Log in as the &quot;testmanager&quot; user and verify that you can see the list of all users. Either one-by-one (brute-force-search) or in groups (binary-search), remove roles from the &quot;testmanager&quot; user until the list of displayed roles is no longer displayed. If troubleshooting via binary-search, re-add the last set of removed roles and proceed with brute-force-search until you find the role that is required to see the list. Note that this investigation step seeks to find a role that grants the ability to see the list of users in the User Manager. If there is not, then you know that replacing your &lt;code&gt;core&lt;/code&gt; database is your only viable option. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-05-31T16:08:56.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5953" PostTypeId="2" ParentId="5876" CreationDate="2017-05-31T16:56:55.477" Score="10" Body="&lt;p&gt;From your description, it looks like you have run into the same predicament that all Sitecore developers inevitably run into with regard to Content Search indexing: why don't my data source items just index with the item for the page that they display on? Of course, this question doesn't just apply to data source items and the item for the page that they display on, but that is a valid, real-life example of this situation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The answer is that, unfortunately, the indexing technology out of the box isn't quite on par with the more atomic architecture of splitting data into multiple templates and re-merging them together after using Presentation Details. There are some ways for you to get around this, however:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Computed Index Fields - Traditional Use:&lt;/strong&gt; I read your question, and I know you're aware of them, but I have to say them. They do get clunky, and it's painful to need to create a separate one for every field. However, you could index all text-based content from item B in a single CIF on item A, should you so choose. CIFs do not have to be complex. You could write an abstract base class that does all of the work and simply have each implementing class pass the field name/ID to a method that identifies the field on item B that you wish to index. You could even do this with a single class that uses a custom constructor to read from a custom attribute in the configuration that identifies the field to be indexed (and maybe even the item or how to search for the item via an enum, like &lt;code&gt;AncestorSearch&lt;/code&gt;, &lt;code&gt;ChildSearch&lt;/code&gt;, &lt;code&gt;DescendantSearch&lt;/code&gt;, etc).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Computed Index Fields - Merging Like Documents:&lt;/strong&gt; This really isn't different from the traditional use of CIFs, but if your goal is to take Item A and Item B, both of which inherit from the same template, and index them as the same document without adding any new fields then you can use one CIF per field on the template and the values from both items will be added to the same fields on the resulting document. Both Solr and Lucene append additional values for an existing field to the exising field, rather than creating new fields. This may, however, result in some unexpected results in your boosting. &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Custom Search Provider:&lt;/strong&gt; This step is more work and adds more risk, since Sitecore supports the native providers but you would have to support your custom one, but it is doable. If you write your own search provider, you could write your own implementation for creating relationships between items that should be indexed together. IMHO, this feature should be native with Sitecore and will hopefully come in a future version (or at least support for being able to tap into code points that let us add this functionality ourselves). Currently, however, there is no way to do this in the system without writing your own provider. &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Dynamic Search Configuration:&lt;/strong&gt; This is something that I have started to experiment with recently, since Sitecore has exposed the &lt;code&gt;Sitecore.Configuration.ConfigReader.LoadAutoIncludeFiles&lt;/code&gt; methods for override. This implementation is a bit more complex, but it is, IMHO, lower effort than creating a custom provider, and it leaves the responsibility of supporting your search and indexing implementation up to Sitecore, rather than taking it on yourself. Basically, what you need to do is create a T4 template (or similar tool) for generating Computed Index Field config entries and then write a custom implementation for configuring the relationships between items that should be indexed together (i.e. between items A and B or between templates, etc.). On initialize, the &lt;code&gt;Sitecore.Configuration.ConfigReader.LoadAutoIncludeFiles&lt;/code&gt; method would be called, which would in turn call a custom method to retrieve these relationships  and generate all of the necessary entries for each relationship. The issue that you will likely come across is that you will need to create the class(es) for the CIFs ahead of time. At this point, you need to know the field name/ID that the CIF should index. One option would be to use the &lt;code&gt;FieldName&lt;/code&gt; property, which holds the name of the field that was set in the configuration, thus mandating that this field name be consistent with what is in Sitecore. Another, and IMHO better solution could be to have your T4 template (or other generation mechanism) add a custom attribute to your CIF config entry that contains the name/ID of the field to index. You would then write a constructor for your CIF class, like the one below, and you would need only to read the &quot;SitecoreFieldIdentifier&quot; property to know the field to index in the CIF. Beyond that, the rest is left up to how you chose to implement the relationship management. My recommendation would be to have a thread-safe mapping between the index-field name and the item that the Sitecore Field to be indexed lives on. There are many other options though. One additional thing to note is that this implementation is likely to slow your instance's initialization time down based on how many indexing relationships your solution supports.  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Constructor for DynamicComputedIndexField:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public abstract class DynamicComputedIndexField : AbstractComputedIndexField&#xA; {&#xA;     public virtual string SitecoreFieldIdentifier { get; set; }&#xA;&#xA;     protected DynamicComputedIndexField(XmlNode configNode) : base(configNode)&#xA;     {&#xA;         SitecoreFieldIdentifier = XmlUtil.GetAttribute(&quot;sitecoreFieldIdentifier&quot;, configNode);&#xA;     }&#xA;&#xA;     ...&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-05-31T17:02:22.693" LastActivityDate="2017-05-31T17:02:22.693" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5954" PostTypeId="1" AcceptedAnswerId="5956" CreationDate="2017-05-31T17:57:52.067" Score="3" ViewCount="776" Body="&lt;p&gt;I have a URL, &lt;code&gt;myWebsite.com/locations&lt;/code&gt;, and currently if you go to  &lt;code&gt;myWebsite.com/locations/{any valid ID}&lt;/code&gt; you get a page with content about the location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you go to &lt;code&gt;myWebsite.com/locations/{anything except a valid id}&lt;/code&gt;, instead of a 404 page, you get a page with just the header and footer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of loading a page with the header and footer I would like it to lead to a 404 page with some content, however I'm struggling to find documentation on how to accomplish this.&lt;/p&gt;&#xA;" OwnerUserId="1824" LastEditorUserId="237" LastEditDate="2017-05-31T19:47:12.930" LastActivityDate="2017-05-31T19:47:12.930" Title="Redirect requests based on missing data on wildcard item" Tags="|routing|wildcards|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5955" PostTypeId="2" ParentId="5954" CreationDate="2017-05-31T18:21:11.480" Score="1" Body="&lt;p&gt;You will need to have a custom processor in the &lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&lt;/code&gt; which see if the item in the url is valid or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, the patch will be as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;    &#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourNamespaceHere, YourAssemblyHere&quot;&#xA;                 patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;/&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;      &#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Basically, what you need to do is to see first if the request url contains elements which should be neglected. Then, you need to see if the &lt;code&gt;Context.Item&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt;. If it is &lt;code&gt;null&lt;/code&gt;, therefore it should redirect to the Error 404. So, the code will look something as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NotFoundProcessor : HttpRequestProcessor&#xA;{&#xA;    #region Fields&#xA;&#xA;    private static readonly List&amp;lt;string&amp;gt; UrlsToIgnoreByCustomProcessors = new List&amp;lt;string&amp;gt; { &quot;/sitecore/&quot;, &quot;/sitecore&quot;, &quot;/layouts&quot;, &quot;/layouts/&quot;, &quot;/error500.aspx&quot; };&#xA;&#xA;    #endregion&#xA;&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (UrlsToIgnoreByCustomProcessors.Any())&#xA;        {&#xA;            foreach (var urlsToIgnore in UrlsToIgnoreByCustomProcessors)&#xA;            {&#xA;                if (HttpContext.Current.Request.Url.PathAndQuery.ToLower().Contains(urlsToIgnore))&#xA;                {&#xA;                    return;&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        //Check if Context Item is null&#xA;        if(Sitecore.Context.Item != null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        //Get Path of Error 404 item from Site Definition&#xA;        var error404ItemPath = Sitecore.Context.Site.Properties[&quot;notFoundPageItemPath&quot;];&#xA;&#xA;        var database = GetDatabase();&#xA;&#xA;        //Get Error 404 item from Sitecore&#xA;        var error404Item = database.GetItem(error404ItemPath);&#xA;&#xA;        //Generate url for Error 404 item&#xA;        var itemUrl = LinkManager.GetItemUrl(error404Item).Replace(context.DomainName, string.Empty);&#xA;&#xA;        //Perform Redirection&#xA;        HttpContext.Current.Server.TransferRequest(string.Format(&quot;~/{0}?status=404&quot;, itemUrl.TrimStart('/')));   &#xA;        HttpContext.Current.ApplicationInstance.CompleteRequest();&#xA;&#xA;        return;&#xA;    }&#xA;&#xA;    protected virtual Database GetDatabase()&#xA;    {&#xA;        return Context.ContentDatabase ?? Context.Database;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will be able to add presentation to show some content to the Error 404 item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Note:&lt;/em&gt;&lt;/strong&gt; It is recommended to add caching so that it will not each time go and fetch the item in the Sitecore database. For more information, you may check the following &lt;a href=&quot;https://sitecorejunkie.com/2016/01/24/yet-another-httprequestbegin-pipeline-processor-to-handle-page-not-found-404-status-code/&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-05-31T18:28:00.150" LastActivityDate="2017-05-31T18:28:00.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5956" PostTypeId="2" ParentId="5954" CreationDate="2017-05-31T19:46:22.053" Score="1" Body="&lt;p&gt;The reason why you are seeing an empty page (with header and footer) when requesting a faulty id is probably because the code in the rendering that shows your actual content can't find any data and therefor is not showing anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see two possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. Custom processor in &lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In this case you need to move some logic to the processor as you will need to define if the id is valid or not. But you don't want to do this again in your rendering code (when it is valid) to get the data - so you might want to try and fetch the data and store it in a context object for the request - reusable for the code that renders the data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you detect a bad id, you can handle it as a 404 request (set the context item to a 404 item - how to handle 404's is described in several blogs and also here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/221/how-do-you-setup-a-404-and-500-error-page-for-missing-files-and-media-items&quot;&gt;How do you setup a 404 and 500 error page for missing files and media items?&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. Handle it in your rendering on the wildcard item&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This approach can work if you have one rendering on the wildcard page that renders it all (or have some central place for that logic at least). When you detect a false id, you could show a 404 instead - you could e.g. render another view and set the response status code. Just make sure not to use a redirect as that will not generate the correct status code (important for search engines).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's hard to tell which solution is best in your case as we do not know how the code on your wildcard page is structured but this might give you some ideas.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-05-31T19:46:22.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5957" PostTypeId="2" ParentId="5950" CreationDate="2017-05-31T20:07:14.170" Score="1" Body="&lt;p&gt;The reason this is failing is that of the obvious indication that the GOAL has been deleted from Sitecore. However, when a goal is removed from Sitecore Mongo still contains the Page Events which track back to the Goal ID that doesn't exist, thereby failing the Segment Processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This might be expected behavior, as the Goal is no longer in Sitecore. To xDB/Mongo, Goals are stored as Page Events. Because it is in Mongo, there's no way to tell Sitecore NOT to process it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could manually delete the Page Events in Mongo DB and rebuild reporting database, but that is generally not advised.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you could override the &lt;code&gt;ProcessSegments()&lt;/code&gt; processor, and adjust the exception logic to fail gracefully and log, instead of throwing an error up the stack.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ProcessSegments(AggregationPipelineArgs args, IEnumerable&amp;lt;IAggregationSegment&amp;gt; segments)&#xA;{&#xA;  VisitData visit = args.Context.Visit;&#xA;  Hash32 siteNameId = AggregationProcessor.UpdateSiteNamesDimension(args);&#xA;  DateTime date = new DateTimeDayPrecisionStrategy().Translate(DateUtil.ToServerTime(visit.StartDateTime).SpecifyKind(DateTimeKind.Local));&#xA;  IVisitAggregationContext context = args.Context;&#xA;  foreach (IAggregationSegment segment in segments)&#xA;  {&#xA;    try&#xA;    {&#xA;      lock (segment)&#xA;      {&#xA;        foreach (DimensionData item_0 in segment.GetData(context).Where&amp;lt;DimensionData&amp;gt;((Func&amp;lt;DimensionData, bool&amp;gt;) (data =&amp;gt;&#xA;        {&#xA;          if (data != null)&#xA;            return !data.DimensionKey.IsNullOrEmpty();&#xA;          return false;&#xA;        })))&#xA;        {&#xA;          Hash64 local_8 = args.GetDimension&amp;lt;DimensionKeys&amp;gt;().Add(item_0.DimensionKey);&#xA;          Hash64 local_10 = args.GetDimension&amp;lt;SegmentRecords&amp;gt;().Add(segment.SegmentId, date, siteNameId, local_8);&#xA;          SegmentMetricsKey local_11 = new SegmentMetricsKey()&#xA;          {&#xA;            SegmentRecordId = local_10,&#xA;            ContactTransitionType = ContactStateResolver.Resolve(visit)&#xA;          };&#xA;          SegmentMetrics local_12 = args.GetFact&amp;lt;SegmentMetrics&amp;gt;();&#xA;          if (item_0.MetricsValue != null)&#xA;          {&#xA;            local_12.Emit(local_11, item_0.MetricsValue);&#xA;            AggregationContainer.GetLogger().Debug(string.Format(&quot;SegmentProcessor emitted metrics. VisitDate={0}, SegmentRecordId={1},ContactTransitionType={2},DimensionKey={3} Metrics:Bounces={4},Conversions={5},Count={6},PageViews={7},TimeOnSite={8},Value={9},Visits={10}&quot;, (object) date, (object) local_11.SegmentRecordId, (object) local_11.ContactTransitionType, (object) local_8, (object) item_0.MetricsValue.Bounces, (object) item_0.MetricsValue.Conversions, (object) item_0.MetricsValue.Count, (object) item_0.MetricsValue.Pageviews, (object) item_0.MetricsValue.TimeOnSite, (object) item_0.MetricsValue.Value, (object) item_0.MetricsValue.Visits));&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;      AggregationContainer.GetLogger().SingleError(string.Format(&quot;SegmentProcessor failed to process interaction '{2}' segment '{0}' - {1}&quot;, (object) segment.SegmentId, (object) ex, (object) context.Visit.InteractionId), (object) this);&#xA;      throw new InvalidOperationException(ex.Message, ex);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-05-31T20:25:36.360" LastActivityDate="2017-05-31T20:25:36.360" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="5958" PostTypeId="1" AcceptedAnswerId="5959" CreationDate="2017-05-31T22:18:01.653" Score="10" ViewCount="1823" Body="&lt;p&gt;After installing the Sitecore Publishing Service 2.0 and the associated module, I'm receiving a number of 404 errors in the browser console and the languages are missing from the publishing dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After opening one of the links in a new browser tab, I see the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;Message&quot;:&quot;No HTTP resource was found that matches the request URI '&lt;a href=&quot;http://www.company.com/sitecore/api/ssc/publishing/Languages/&quot; rel=&quot;noreferrer&quot;&gt;http://www.company.com/sitecore/api/ssc/publishing/Languages/&lt;/a&gt;{00000000-0000-0000-0000-000000000000}/All'.&quot;}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What should I do to resolve this issue?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-11-20T16:33:34.077" Title="Sitecore Publishing Service does not show the languages and seeing 404 errors" Tags="|publishing-service|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5959" PostTypeId="2" ParentId="5958" CreationDate="2017-05-31T22:18:01.653" Score="19" Body="&lt;p&gt;Turns out that this issue is fairly common. Saw this happen in both SXA and the Publishing Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution is to clear the &lt;strong&gt;Temporary Asp.Net files from IIS&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Stop IIS. This can be performed through the UI by selecting the server name in the tree and on the right panel choosing &lt;em&gt;Stop&lt;/em&gt;. You can also use the command &lt;code&gt;iisreset /stop&lt;/code&gt; from an elevated prompt.&lt;/li&gt;&#xA;&lt;li&gt;The website is running in 64-bit mode so you can delete the contents of the path &lt;code&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files&lt;/code&gt;. You'll probably see a folder named &lt;strong&gt;root&lt;/strong&gt; along with some others.&lt;/li&gt;&#xA;&lt;li&gt;Start IIS. Reverse the actions from step 1 by choosing &lt;em&gt;Start&lt;/em&gt; from the UI or running the command &lt;code&gt;iisreset /start&lt;/code&gt; from an elevated prompt.&lt;/li&gt;&#xA;&lt;li&gt;Clear browser cache for extra measure!&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Alternative to&lt;code&gt;IISReset.exe&lt;/code&gt;:&#xA;This is less aggressive because it stops and starts only the critical IIS services. Read more &lt;a href=&quot;https://blogs.msdn.microsoft.com/sudeepg/2009/02/15/windows-2008-and-iisreset-exe/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;net stop w3svc&#xA;net stop IISAdmin&#xA;net start IISAdmin&#xA;net start w3svc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; Sometimes you may be able to get away with &lt;code&gt;iisreset&lt;/code&gt; without the switches if you immediately delete the temp files and no traffic is being served up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a short article &lt;a href=&quot;https://technet.microsoft.com/en-us/library/ff625735(v=ws.10).aspx&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; on how to stop IIS from the UI. You may also explore automated PowerShell scripts to perform this task for you, however it is not likely to happen very often. Do note that once the files are deleted, the website will take some time to recompile everything before it's ready for use.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-11-20T16:33:34.077" LastActivityDate="2018-11-20T16:33:34.077" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="5960" PostTypeId="1" AcceptedAnswerId="5961" CreationDate="2017-06-01T08:58:39.720" Score="2" ViewCount="387" Body="&lt;p&gt;What is _content in SOLR. While mapping through Sitecore, what are the fields will it map?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it good practice to use Content property in search query builder? In that case, How will it work in solr stopword functionality language wise?&#xA;Or We need to use specific property to search. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not, how to achieve language wise _content mapping?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.ContentSearch.SearchTypes&#xA;{&#xA;    public class SearchResultItem : ISearchResult, IObjectIndexers&#xA;    {&#xA;        [IndexField(&quot;_content&quot;)]&#xA;        public virtual string Content { get; set; }&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1093" LastEditorUserId="1093" LastEditDate="2017-06-01T09:23:12.183" LastActivityDate="2017-06-01T10:56:17.990" Title="What is Sitecore.ContentSearch.SearchTypes.Content Property which maps solr _content field?" Tags="|content-search|solr|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5961" PostTypeId="2" ParentId="5960" CreationDate="2017-06-01T09:33:05.017" Score="3" Body="&lt;p&gt;When your Sitecore application is configured to use Solr, default configuration contains &lt;code&gt;_content&lt;/code&gt; field which is a computed field using &lt;code&gt;MediaItemContentExtractor&lt;/code&gt; to populate its value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It uses &lt;code&gt;mediaIndexing&lt;/code&gt; configuration to determine which mime types and extensions should be indexed and indexes their content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I know, when you upload new media item to media library, Sitecore creates unversioned media item with a version in every language version there is defined in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, I don't think it's a good idea to use &lt;code&gt;_content&lt;/code&gt; computed field. If you upload EN document to media library, it will create a version of that document for every single language defined in Sitecore and while indexing it won't care about EN stopwords when other language version document will be created in Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a setting in Sitecore which allows to upload items as &lt;code&gt;versionable&lt;/code&gt; by default:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.UploadAsVersionableByDefault&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but it's disabled in vanilla Sitecore apps.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You're right. There is hardcoded functionality in &lt;code&gt;LuceneDocumentBuilder&lt;/code&gt; (I there is similar in Solr but I cannot confirm it now) which adds value of all text fields (&quot;Single-Line Text&quot;, &quot;Rich Text&quot;, &quot;Multi-Line Text&quot;, &quot;text&quot;, &quot;rich text&quot;, &quot;html&quot;, &quot;memo&quot;, &quot;Word Document&quot;) to the &lt;code&gt;_content&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I might be wrong here but from what I remember all the fields starting with &lt;code&gt;_&lt;/code&gt; in their names are considered as &quot;internal&quot; fields and there are no language specific. If I'm right here, there would be no option to use language specific stopwords for &lt;code&gt;_content&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-06-01T10:56:17.990" LastActivityDate="2017-06-01T10:56:17.990" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5962" PostTypeId="1" CreationDate="2017-06-01T09:50:37.693" Score="2" ViewCount="360" Body="&lt;p&gt;In our articles we have a publisher control where we select the publisher in the data source:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VuF3T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VuF3T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is when I try moving the publisher to another location in Sitecore some of the links break and some don't. So the publisher might appear for some articles and some will be referencing to the publisher at the old location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way I can move the publisher and still be able to point to the new location in all articles? I have tried moving them but it's flaky some publishers show some don't and moving them back solves the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&#xA;Same publisher referenced in two different articles:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Article 1:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ud587.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ud587.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Article 2:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eobHN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eobHN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did rebuild link databases but it hasn't updated the links.&lt;/p&gt;&#xA;" OwnerUserId="1940" LastEditorUserId="1940" LastEditDate="2017-06-01T15:30:10.693" LastActivityDate="2017-06-01T15:56:15.620" Title="Relocating items referenced by Datasources" Tags="|datasource|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="5963" PostTypeId="2" ParentId="5583" CreationDate="2017-06-01T11:13:46.227" Score="2" Body="&lt;p&gt;This ended up being to do with the missing WFFM Javascript as mentioned by Matthew.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We'd removed some of this as it was causing problems with our own css and js. Oddly this was still working previously but then stopped working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to fix this ensure you have the following in your WFFM \Views\Form\Index.cshtml file and these exist in the /libs folder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  var scripts = new List&amp;lt;string&amp;gt;&#xA;  {&#xA;    &quot;libs/jquery/jquery-2.1.3.min.js&quot;,&#xA;    &quot;libs/jquery/jquery-ui-1.11.3.min.js&quot;,&#xA;    &quot;libs/jquery/jquery.validate.min.js&quot;,&#xA;    &quot;libs/jquery/jquery.validate.unobtrusive.min.js&quot;,&#xA;    &quot;libs/bootstrap/bootstrap.min.js&quot;,&#xA;    &quot;wffm.min.js&quot;,&#xA;    &quot;main.min.js&quot;    &#xA;  };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These seem to be required in order to set the form post url correctly and avoid the issue with the ?wffm.FormItemId param being added to the url.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-06-01T11:13:46.227" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5964" PostTypeId="2" ParentId="5482" CreationDate="2017-06-01T11:30:58.857" Score="1" Body="&lt;p&gt;In the end this turned out to be because we had the &lt;code&gt;&quot;WFM.IsRemoteActions&quot;&lt;/code&gt; value on CD set to &lt;code&gt;&quot;true&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The WFFM Install Guide says to set this value to &quot;true&quot; on the CD servers: &lt;a href=&quot;https://dev.sitecore.net/~/media/90C33269880C4E259D47CCA5A71EAA9A.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/~/media/90C33269880C4E259D47CCA5A71EAA9A.ashx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However according to Sitecore Support: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This setting indicates that Wffm should not execute actions on this&#xA;  server, but write them to EventQueue of core database only.&#xA;  Afterwards, a server which shares this core database and has the hook&#xA;  and event handler for wffm:action:remote can process these actions.&#xA;  Generally, removing (or setting to false) this setting makes wffm to&#xA;  work in the simplest way on CD.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;With this setting set to true files will be saved to the CM server only and not CD so this explains why the value of the PostedFile field was empty on CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we are using CMS Only Mode and don't have any analytics save actions tied to our forms then setting this to &quot;false&quot; isn't an issue for us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest way to do this is via a patch file like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;settings&amp;gt;&#xA;            &amp;lt;setting name=&quot;WFM.IsRemoteActions&quot; value=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hopefully this helps others who come across this problem as it was a painful one to diagnose.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-06-01T11:30:58.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5965" PostTypeId="1" CreationDate="2017-06-01T12:14:46.087" Score="10" ViewCount="5382" Body="&lt;p&gt;We are performance testing our Sitecore hosted in azure web apps (2 CD S3) which uses Premium Redis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no error during normal UAT and SIT. However, on performance testing there are quiet a lot of errors similar to one below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've done below per this site &lt;a href=&quot;https://gist.github.com/JonCole/db0e90bedeb3fc4823c2#diagnosing-redis-errors-on-the-client-side&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/JonCole/db0e90bedeb3fc4823c2#diagnosing-redis-errors-on-the-client-side&lt;/a&gt;  but still seeing these errors:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Increased the minThread to 200&lt;/li&gt;&#xA;&lt;li&gt;Increase retry to 6000&lt;/li&gt;&#xA;&lt;li&gt;Increase connection time out to 10000&lt;/li&gt;&#xA;&lt;li&gt;Increase SyncTimeout to 5000&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;   &#xA;10696 2017:06:01 00:29:55 ERROR Cannot create tracker.&#xA;   Exception: System.TimeoutException&#xA;   Message: Timeout performing EVAL, inst: 86, mgr: Inactive, err: never, queue: 72, qu: 3, qs: 69, qc: 0, wr: 1, wq: 1, in: 65536, ar: 0, IOCP: (Busy=3,Free=997,Min=4,Max=1000), WORKER: (Busy=123,Free=32644,Min=200,Max=32767), clientName: RD0003FF8C5B59&#xA;   Source: StackExchange.Redis.StrongName&#xA;      at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server)&#xA;      at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor`1 processor, ServerEndPoint server)&#xA;      at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags)&#xA;      at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.c__DisplayClass7.b__6()&#xA;      at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryForScriptNotFound(Func`1 redisOperation)&#xA;      at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryLogic(Func`1 redisOperation)&#xA;      at Sitecore.SessionProvider.Redis.RedisConnectionWrapper.TryTakeWriteLockAndGetData(String sessionId, DateTime lockTime, Object&amp; lockId, ISessionStateItemCollection&amp; data, Int32&amp; sessionTimeout)&#xA;      at Sitecore.SessionProvider.Redis.RedisSessionStateProvider.GetItemFromSessionStore(Boolean isWriteLockRequired, HttpContext context, String id, Boolean&amp; locked, TimeSpan&amp; lockAge, Object&amp; lockId, SessionStateActions&amp; actions)&#xA;      at Sitecore.SessionProvider.Redis.RedisSessionStateProvider.GetItemExclusive(HttpContext context, String id, Boolean&amp; locked, TimeSpan&amp; lockAge, Object&amp; lockId, SessionStateActions&amp; actions)&#xA;      at Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateManager.LockAndLoadContact(Guid contactId)&#xA;      at Sitecore.Analytics.Tracking.ContactManager.TryLoadContact(Guid contactId, Int32 lockDurationMinutes, Boolean exclusive)&#xA;      at Sitecore.Analytics.Tracking.ContactManager.TryLoadContact(Guid contactId, Boolean exclusive)&#xA;      at Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact.Process(InitializeTrackerArgs args)&#xA;      at (Object , Object[] )&#xA;      at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;      at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;      at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()&#xA;      at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)&#xA;      at (Object , Object[] )&#xA;      at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;      at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;      at Sitecore.Analytics.Tracker.Initialize()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any help will be good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's our setting for shared session:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;tracking&amp;gt;&#xA;      &amp;lt;sharedSessionState&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;defaultProvider&quot;&amp;gt;redis&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;          &amp;lt;add name=&quot;redis&quot; type=&quot; Sitecore.SessionProvider.Redis.RedisSessionStateProvider, Sitecore.SessionProvider.Redis&quot; connectionString=&quot;redis.sessions&quot;&#xA;            pollingInterval=&quot;2&quot; applicationName=&quot;shared&quot; patch:instead=&quot;add[@name='InProc']&quot;/&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;      &amp;lt;/sharedSessionState&amp;gt;&#xA;    &amp;lt;/tracking&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="1278" LastEditDate="2019-02-24T00:21:34.197" LastActivityDate="2021-01-28T20:19:28.180" Title="Azure Web App Redis timeout exceptions when under load" Tags="|azure|session-state|redis|paas|" AnswerCount="4" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="5966" PostTypeId="1" CreationDate="2017-06-01T13:55:31.153" Score="2" ViewCount="932" Body="&lt;p&gt;It's now been a few times I am getting this error. Using &lt;strong&gt;Sitecore 8.2 rev. 160729 along with SXA 1.2 rev. 161216&lt;/strong&gt;, when I modify a SXA javascript file (ie. a component-* file) inside the &lt;em&gt;Media Library &gt; Wireframe &gt; Themes &gt; Scripts&lt;/em&gt;, everything works fine but after a while I get in JS console: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&quot;Uncaught SyntaxError: Unexpected token &gt;&quot;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside the optimized javascript file that yields this error there indeed is a &quot;&amp;lt;&quot; missing at the first &lt;strong&gt;link&lt;/strong&gt; tag after the jQuery code&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XdXE4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XdXE4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This error is always yielded by a missing &quot;&amp;lt;&quot; at the end of the file I modified &lt;strong&gt;no matter what I modified, even if I put back the original version or just change an unsignificant character inside a string&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, the portion of code that has the error corresponds to the source which does not miss the &quot;&amp;lt;&quot;,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ebJ6M.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ebJ6M.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get this error in sitecore logs in the middle of Indexes rebuild jobs,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;10116 15:10:27 ERROR Application error.&#xA;Exception: System.NullReferenceException&#xA;Message: La référence d'objet n'est pas définie à une instance d'un objet.&#xA;Source: AjaxMin&#xA;   à Microsoft.Ajax.Utilities.JSParser.ParseUnaryExpression(Boolean&amp;amp; isLeftHandSideExpr, Boolean isMinus)&#xA;   à Microsoft.Ajax.Utilities.JSParser.ParseExpressionStatement(Boolean fSourceElement)&#xA;   à Microsoft.Ajax.Utilities.JSParser.ParseStatement(Boolean fSourceElement, Boolean skipImportantComment)&#xA;   à Microsoft.Ajax.Utilities.JSParser.ParseStatements(Block block)&#xA;   à Microsoft.Ajax.Utilities.JSParser.InternalParse()&#xA;   à Microsoft.Ajax.Utilities.Minifier.MinifyJavaScript(String source, CodeSettings codeSettings)&#xA;   à Sitecore.XA.Foundation.Theming.Bundler.AssetBundler.MinifyContent(MemoryStream memoryStream, StreamWriter writer, OptimizationType type)&#xA;   à Sitecore.XA.Foundation.Theming.Bundler.AssetBundler.PrepareContent(List`1 items, OptimizationType type, Boolean minify, StreamWriter writer, MemoryStream memoryStream)&#xA;   à Sitecore.XA.Foundation.Theming.Bundler.AssetBundler.CreateOptimizedItemForDirectory(Item directory, OptimizationType type, Boolean minify)&#xA;   à Sitecore.XA.Foundation.Theming.Pipelines.MediaRequestHandler.OptimizedFiles.ReGenerateOptimizedItem(String path, MediaRequest request)&#xA;   à Sitecore.XA.Foundation.Theming.Pipelines.MediaRequestHandler.OptimizedFiles.Process(MediaRequestHandlerArgs handlerArgs)&#xA;   à (Object , Object[] )&#xA;   à Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   à Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, Boolean failIfNotExists)&#xA;   à Sitecore.XA.Foundation.MediaRequestHandler.MediaRequestHandler.DoProcessRequest(HttpContext context)&#xA;   à Sitecore.Resources.Media.MediaRequestHandler.ProcessRequest(HttpContext context)&#xA;   à System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   à System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After a few times waiting, the error sometimes goes away but I would like to have a way to fix it rightaway without losing time.&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="73" LastEditDate="2022-03-12T10:23:10.470" LastActivityDate="2022-03-12T10:23:10.470" Title="JS scripts optimization results in syntax error" Tags="|sxa|javascript|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="5967" PostTypeId="2" ParentId="5966" CreationDate="2017-06-01T14:20:23.503" Score="2" Body="&lt;p&gt;This seem to be not a bug in &lt;strong&gt;SXA&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could check whether you can download some media item (js/css) from media library and see how it behave? I can see server response with error appended to a file after I download it on a disk.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I reported such issue some time ago (November 2016) and it was an issue of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, the support page with this fix is no longer available. Reference number: &lt;strong&gt;95901&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://webcache.googleusercontent.com/search?q=cache:Utf8d8yiBMwJ:https://github.com/sitecoresupport/Sitecore.Support.95901/releases%20&amp;amp;cd=1&amp;amp;hl=en&amp;amp;ct=clnk&amp;amp;gl=pl&quot; rel=&quot;nofollow noreferrer&quot;&gt;Cached version&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-06-01T14:20:23.503" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5968" PostTypeId="2" ParentId="5944" CreationDate="2017-06-01T14:44:52.697" Score="1" Body="&lt;p&gt;In our case we were using custom datatypes. When I implemented a custom token, I realized there was logic within the code for the custom data types that was using the data source before the tokens were replaced. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This actually made it easier since now I could create a tagging pattern like #foo[whatevertag]foo#. Then I could regex parse and easily identify which Sitecore config setting I was looking for (in the example there would be a setting named &quot;whatevertag&quot;). The upside is that now we don't have to create tokens every time we want to reference a config value. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Simple Slow cheetah config transforms allows us to control the values using deployment build profiles.&lt;/p&gt;&#xA;" OwnerUserId="433" LastActivityDate="2017-06-01T14:44:52.697" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5969" PostTypeId="1" CreationDate="2017-06-01T15:41:53.533" Score="7" ViewCount="625" Body="&lt;p&gt;The short version is that we have Sitecore 6.x running right now. It was put into place about 3 or 4 web developers ago. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm currently without a dedicated web developer, though I've got someone I'm training (I also develop, but have really no time for a project this size). Due to a number of developers working on it over the years, there are a number of varied forms, styles, etc. The last guy worked hard to make it all look cohesive, but there are still forms that are used that are less than ideal. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyway, it has become a pain to work on and I've been told, by our Sitecore rep, that the newest version is leaps and bounds better. I've also been told it is a huge leap to upgrade from what we have. They have given us a quote for some hours, but it seems very high. I'm looking into some trusted partners for help as well. Now, for my actual question! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How difficult is it to put in the latest version of Sitecore (8.2 at time of writing) and move/port/redo what we have in 6.x? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: just wanted to say thanks! Y'all are giving me some great insight on how we will go forward. To clarify, when I said &quot;they&quot; on the quote, I meant a quote straight from Sitecore and I have to imagine this is the most expensive route. I'm going to discuss some of these ideas with my boss and see what direction we will be going down. &lt;/p&gt;&#xA;" OwnerUserId="2001" LastEditorUserId="2001" LastEditDate="2017-06-06T18:35:57.733" LastActivityDate="2017-08-18T16:53:40.740" Title="Upgrade to Sitecore 8.x from 6.x" Tags="|upgrade|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5970" PostTypeId="2" ParentId="5962" CreationDate="2017-06-01T15:56:15.620" Score="3" Body="&lt;p&gt;I agree with Chris Auer (see comments on the OP) that Sitecore should be updating these references for you, even if the reference is a path. That issue should be investigated, and this solution does not seek to dissuade you from finding the cuase of that issue. However, I have experienced issues like this that did not actualize (or, at least, were not discovered) until after the solution made it to production. As such, in order to ensure that such issues do not plague production environments, I liketo have a fallback. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use the Rules Engine for this, and have a rule for changing rendering Data Source values to an ID, which I run on &lt;code&gt;item:saved&lt;/code&gt;. The idea is that when the item is saved, it converts the Data Source path for each rendering an ID, so even if you move the referenced item the actual reference (the ID) should still be correct. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code for the Action that does the conversion:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class EnsureLayoutDataSourcePathIsConvertedToId&amp;lt;TRuleContext&amp;gt; :&#xA;    Sitecore.Rules.Actions.RuleAction&amp;lt;TRuleContext&amp;gt;&#xA;    where TRuleContext : RuleContext&#xA;{&#xA;    #region Methods&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// The apply rule.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;ruleContext&quot;&amp;gt;&#xA;    /// The rule context.&#xA;    /// &amp;lt;/param&amp;gt;&#xA;    public override void Apply([NotNull] TRuleContext ruleContext)&#xA;    {&#xA;        Assert.IsNotNull(ruleContext, &quot;ruleContext&quot;);&#xA;        Assert.IsNotNull(ruleContext.Item, &quot;ruleContext.Item&quot;);&#xA;&#xA;        if (ruleContext.IsAborted)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Item item = ruleContext.Item;&#xA;&#xA;        var layoutField = new LayoutField(item.Fields[global::Sitecore.FieldIDs.LayoutField]);&#xA;        if (!layoutField.InnerField.HasValue)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Item existingItem = item.Database.GetItem(item.ID, item.Language, item.Version);&#xA;        if (existingItem == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var oldLayout = new LayoutField(existingItem.Fields[global::Sitecore.FieldIDs.LayoutField]);&#xA;&#xA;        /*&#xA;         * NOTE:&#xA;         *      Check if control datasource with paths and if old and new values are equal exit&#xA;         */&#xA;        if (!oldLayout.Value.Contains(&quot; ds=\&quot;/&quot;)&#xA;            &amp;amp;&amp;amp; (string.IsNullOrEmpty(layoutField.Value) || layoutField.Value == oldLayout.Value))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        LayoutDefinition layout = LayoutDefinition.Parse(layoutField.Value);&#xA;        foreach (DeviceDefinition device in layout.Devices)&#xA;        {&#xA;            if (device == null)&#xA;            {&#xA;                continue;&#xA;            }&#xA;&#xA;            foreach (RenderingDefinition rendering in device.Renderings)&#xA;            {&#xA;                // ReSharper disable UseNullPropagation&#xA;                if (rendering == null)&#xA;                // ReSharper restore UseNullPropagation&#xA;                {&#xA;                    continue;&#xA;                }&#xA;&#xA;                if (!string.IsNullOrEmpty(rendering.Datasource)&#xA;                    &amp;amp;&amp;amp; !rendering.Datasource.StartsWith(&quot;{&quot;, StringComparison.InvariantCultureIgnoreCase))&#xA;                {&#xA;                    Item datasourceItem = item.Database.GetItem(rendering.Datasource);&#xA;                    if (datasourceItem == null)&#xA;                    {&#xA;                        Log.Warn(&#xA;                            $&quot;Could not find datasource item at path {rendering.Datasource} while saving item {item.ID}&quot;,&#xA;                            this);&#xA;                        continue;&#xA;                    }&#xA;&#xA;                    rendering.Datasource = datasourceItem.ID.ToString();&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        layoutField.Value = layout.ToXml();&#xA;    }&#xA;&#xA;    #endregion&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Credit:&lt;/strong&gt; Jimbo Baltika and Matt Gramolini wrote this Action, and shared it with me while I was working with them on another project. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-06-01T15:56:15.620" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5971" PostTypeId="2" ParentId="5969" CreationDate="2017-06-01T16:01:52.830" Score="3" Body="&lt;p&gt;You have different options but it all depends on timings and budget. Also, there can be other different options apart from the one I've listed below. It's mostly based on my experience while doing Sitecore upgrades.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Express Migration 2.0 module can be used to update the Sitecore Instance 6.x to 8.2. More info about the tool can be found &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Making use of upgrade packages only. This is a very long process whereby you will need to upgrade the sitecore instance gradually. In other words, you update from 6.x to 7.0, then perform the adjustment of config and dlls files. Then 7.0 to 7.1 and it goes like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Install a fresh Sitecore Instance v8.2 directly and then start migrating your code and items. You may use TDS to sync your items or Razl to migrate the items or Sitecore packages. Note that TDS and Razl are paid modules. Moreover, before deploying your code, it needs to be built with the new Sitecore 8.2 dlls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that code changed will be required as there are many namespaces from 6.x are obsolete or have changed completely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will tend to choose option 3 as from my experience it is much quicker and also, reduce the number of errors in terms of configuration files and dlls versions. &lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-06-01T16:13:54.140" LastActivityDate="2017-06-01T16:13:54.140" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="5972" PostTypeId="2" ParentId="5969" CreationDate="2017-06-01T16:12:21.100" Score="8" Body="&lt;p&gt;In short it's not easy to do this as version 6 is pretty old (nearly 9 years old to be exact!).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore have released a tool to upgrade from 6.6 or 7.2 to 8.2 but it will not do everything for you and it depends on the customisation and how they have been done as to how much manual work there will be to do: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At SUGCON last week there was mention of improving this tool further to support 6 or even older versions so that may help. I'm not sure when this will be available though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key thing though is that how things were done back in the days of 6.0 is very different to how things should be done now in 8+, for example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;6.0 will be using Web Forms and you should now be using MVC to build components and layouts&lt;/li&gt;&#xA;&lt;li&gt;6.0 didn't support doing config overrides in the same way so they are likely disorganised &lt;/li&gt;&#xA;&lt;li&gt;6.0 didn't have all of the APIs in place that are available now or is using old/depreciated/changed APIs and references &lt;/li&gt;&#xA;&lt;li&gt;Code written for 6.0 is likely implemented in a non-best practice way and will need re-writing to be more manageable and more in-line with modern approaches&lt;/li&gt;&#xA;&lt;li&gt;6.0 is written against .NET 2.0 and 8 is .NET 4.5&lt;/li&gt;&#xA;&lt;li&gt;In 6.0 Stored Analytics data in an SQL database in a specific format and in 8 it is stored in MongoDB so the data and any related code will need migrating/updatingA&lt;/li&gt;&#xA;&lt;li&gt;Any custom modules you are using will need upgrading (some may not be supported on 8.0 either)&lt;/li&gt;&#xA;&lt;li&gt;Often 6.0 solutions used custom caching layers due to performance problems with Sitecore 6.0, these are no longer needed in 8.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are many other things to consider here too, this is just some of them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately you may find a migration from 6.6 to take your data/content over 8.2 and starting again with building your solution is the best bet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As others have mentioned there are tools to help with migrating content over so you don't have to completely start again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maintenance of the solution and future upgrades would certainly be better if you started again in terms of custom code, config and so forth though. It will also allow you to create a solution using more modern approaches such as DI/IoC and tools such as GlassMapper and Unicorn.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-06-01T16:29:41.900" LastActivityDate="2017-06-01T16:29:41.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5973" PostTypeId="2" ParentId="5969" CreationDate="2017-06-01T17:16:31.117" Score="10" Body="&lt;p&gt;Having done a fair few of such upgrades in the past, I'll chip in with my own view as well.&lt;/p&gt;&#xA;&lt;p&gt;And it will probably not be entirely without controversy.&lt;/p&gt;&#xA;&lt;h1&gt;Scrap and rebuild&lt;/h1&gt;&#xA;&lt;p&gt;My advise to you would be: scrap it. And rebuild. And since you indicate you've already received a &amp;quot;very high&amp;quot; quote for the work, my guess would be that this is more or less what the vendor who quoted, has in mind. This remains speculative though.&lt;/p&gt;&#xA;&lt;p&gt;But I'll sum up the reasons why - just keep in mind, I have nothing to base this on but own personal (anecdotal) experience, and what you've shared with us.&lt;/p&gt;&#xA;&lt;h2&gt;It's old, and it's costing you money&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;IT was put into place about 3 or 4 web developers ago. I'm currently without a dedicated web developer, though I've got someone I'm training (I also develop, but have really no time for a project this size). Due to a number of developers working on it over the years, there are a number of varied forms, styles, etc. The last guy worked hard to make it all look cohesive, but there are still forms that are used that are less than ideal.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;And you have now come to the (right) conclusion.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Anyway, it has become a pain to work on&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Paraphrasing what you outline here is; would be something like &lt;em&gt;the maintenance cost of this beast is killing us, and it's no longer worth it&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;h2&gt;Upgrading won't solve your problem (alone)&lt;/h2&gt;&#xA;&lt;p&gt;Nothing in what you say tells me, that you and your users are in any particular way &lt;em&gt;unhappy&lt;/em&gt; with the Sitecore version as such. With the Page Editing experience, with the limited OMS/DMS capabilities (or if they are even used). All the problems you describe point to an aging codebase and the aches and pains associated with it; and the increased maintenance hassle in keeping it airborne.&lt;/p&gt;&#xA;&lt;p&gt;Also; 4-5 different developers have been involved over the years - each with their unique coding approach, each with their own Sitecore background (or perhaps even lack thereof). I've seen codebases like that. They are what they are.&lt;/p&gt;&#xA;&lt;p&gt;Just be clear; none of these problems will get fixed by an upgrade. Those require a rewrite.&lt;/p&gt;&#xA;&lt;h2&gt;Difficulty of this task&lt;/h2&gt;&#xA;&lt;p&gt;Nowhere &lt;em&gt;near&lt;/em&gt; as bad as you might fear. The initial reaction - especially from non technical managers - tends to be: &amp;quot;But we've invested 4 years of development hours into this. No way we're scrapping it&amp;quot;. Reality is however; code I've spent maybe 2 weeks to create for a custom solution, I could usually re-do in 1-2 days were I to scrap it and do it again. If you're just rebuilding without actually changing everything around, functionally, the task is much less cumbersome than one might be inclined to think.&lt;/p&gt;&#xA;&lt;p&gt;In your case; you're also looking at .NET framework upgrades; possibly a shift from the soon obsolete Webforms to MVC; maybe take a look at that dated and likely not optimal HTML and CSS that's been clogging up mobile phones for years - add all that up, and the benefits of a rewrite become more apparent.&lt;/p&gt;&#xA;&lt;h2&gt;How to estimate the workload&lt;/h2&gt;&#xA;&lt;p&gt;I'll tell you this; it has very little to do with the amount of pages you have. Usually, content can be scripted across in one form or another - and the only thing that changes when a script runs through 100 or 1000 pages, is the time it takes to execute.&lt;/p&gt;&#xA;&lt;p&gt;These factors influence the price, both to upgrade and to rebuild:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Number of unique components. You may refer to them as &amp;quot;renderings&amp;quot;, &amp;quot;sublayouts&amp;quot;, &amp;quot;stylesheets&amp;quot; (shudder).  Any way - unique building blocks that make up the framework of your site.&lt;/li&gt;&#xA;&lt;li&gt;Number of integration points, to any and all third party systems&lt;/li&gt;&#xA;&lt;li&gt;Information Architecture. If done really badly (and there was a lot of that going around, back around the time your solution was originally crafted) - then it might need to be completely redone. This has the potential to make your content migration significantly more difficult.&lt;/li&gt;&#xA;&lt;li&gt;HTML crafting; actually does affect how easy it is to componentisize. Again; the world has come a long way with HTML and frontend developer tools since the turn of this decade.&lt;/li&gt;&#xA;&lt;li&gt;Functionality. If for instance there's ecommerce functionality on the solution, this will significantly increase development time AND (more importantly) testing time.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;And yes, find a trusted partner.&lt;/h2&gt;&#xA;&lt;p&gt;I simply &lt;em&gt;cannot stress&lt;/em&gt; how important this is. Find one of the core partners in your region, the ones that live and breathe Sitecore, and have the right people around to get things done right. The worst thing that can happen in your case, will be to get another team of inexperienced developers on board to rewrite the solution, only to end up pretty much back where you are now - only shinier and with lighter pockets.&lt;/p&gt;&#xA;&lt;h2&gt;In summary&lt;/h2&gt;&#xA;&lt;p&gt;Your solution is upwards of 6-8 years old. Financially it should be written off by now; but the amount of technical debt (a term not chosen by coincidence, at all) is still crippling your platform. Likely taking up so much time, there is no room for new development. As you also state:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;I also develop, but have really no time for a project this size&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Get it re-done. To make it an easier sell to management (or whoever foots the bill); you might want to re-term this slightly differently; use maybe car analogies like &amp;quot;we're going to keep the frame and bodywork intact, but all the electrics and most of the engine parts need to be replaced&amp;quot; or some such. Whatever works.&lt;/p&gt;&#xA;&lt;p&gt;But rebuilding is, in my opinion, your best course of action here.&lt;/p&gt;&#xA;&lt;p&gt;I bring 12 years of Sitecore experience to the argument, since we're dealing with a highly subjective question here.&lt;/p&gt;&#xA;&lt;h2&gt;A few additional resources&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://softwareengineering.stackexchange.com/questions/6268/when-is-a-big-rewrite-the-answer&quot;&gt;When is a BIG Rewrite the answer?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.ben-morris.com/why-refactoring-code-is-almost-always-better-than-rewriting-it/&quot; rel=&quot;noreferrer&quot;&gt;Why refactoring code is almost always better than rewriting it&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://xkcd.com/844/&quot; rel=&quot;noreferrer&quot;&gt;Good Code&lt;/a&gt; (couldn't resist)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-06-01T17:34:52.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5974" PostTypeId="1" AcceptedAnswerId="5975" CreationDate="2017-06-01T17:17:54.450" Score="6" ViewCount="3920" Body="&lt;p&gt;I am trying to move items, upon expiration date from one folder to another. It is possible? Is there a way for the items to be moved maybe programmatically at the end of the month, or every 10 days. Or even better when Arhive day is set, and the item gets Archived. So for example, I will set up Archive date for the item, and then it will move to the &quot;Archive&quot; when the time comes, that I can access from Desktop&gt;All Applications. But it will automatically appear in the &quot;News Archive&quot;. See the screenshot below. I want to be able to automatically move items from &quot;news&quot; to &quot;news archive&quot; when certain day and time occur.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KbrrP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KbrrP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to be able to consider expiration date in the the code also:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8FzE5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8FzE5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="423" LastEditDate="2017-08-08T14:14:32.763" LastActivityDate="2019-09-07T08:51:17.600" Title="Move items between folders programmatically" Tags="|sitecore-client|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5975" PostTypeId="2" ParentId="5974" CreationDate="2017-06-01T18:13:23.267" Score="13" Body="&lt;p&gt;You would want to setup a Sitecore Scheduled task to do this. You have 2 options:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. C# Scheduled Task&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The code to move an item is pretty simple:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var currentDb = Sitecore.Data.Database.GetDatabase(&quot;master&quot;);&#xA;var folderItem = currentDb.GetItem(&quot;/sitecore/content/AutoArchive/NewsArchive&quot;);&#xA;var archiveItem = currentDb.GetItem(&quot;/sitecore/content/AutoArchive/News/News01&quot;);&#xA;archiveItem.MoveTo(folderItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would want to use the search API to get you a list of news items that need archiving rather than getting the &lt;strong&gt;News&lt;/strong&gt; item and looping through the child items, depending on how many child items it has.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To create that as a scheduled task, create a class for the task:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Utils;&#xA;&#xA;namespace WebsiteNamespace&#xA;{&#xA;     public class ArchiveNewsItemsScheduledTask&#xA;     {&#xA;         private static readonly object Monitor = new object();&#xA;&#xA;         public void Run()&#xA;         {&#xA;             lock (Monitor)&#xA;             {&#xA;                 // Code to move the items here&#xA;             }&#xA;         }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then add your config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;scheduling&amp;gt;&#xA;            &amp;lt;agent type=&quot;MyNamespace.ArchiveNewsScheduledTask, MyAssembly&quot; method=&quot;Run&quot; interval=&quot;00:20:00&quot;&amp;gt;&amp;lt;/agent&amp;gt;&#xA;        &amp;lt;/scheduling&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Set the &lt;code&gt;interval&lt;/code&gt; to daily or however often you want to run the task to pick up items it needs to archive.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;strong&gt;UPDATE: Get items based on expiry date&lt;/strong&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is based on your code from the deleted question:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var itemContainer = _sourceDatabase.GetItem(&quot;/sitecore/content/AutoArchive/News&quot;);&#xA;var destinationContainer = _sourceDatabase.GetItem(&quot;/sitecore/content/AutoArchive/News Archive&quot;);&#xA;&#xA;if (itemContainer != null)&#xA;{&#xA;    var items = itemContainer.Children;&#xA;    foreach (Item item in items)&#xA;    {&#xA;        // Only move the item if the expiry date is in the past&#xA;        var expiryDate = (DateField)item.Fields[&quot;Expiration Date&quot;];&#xA;        if (expiryDate.DateTime &amp;lt; System.DateTime.Now.ToUniversalTime()) {&#xA;            item.MoveTo(destinationContainer);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are more efficient ways of doing this, but it should give you a start. I suggest you look up a simple &lt;a href=&quot;http://sitecoreworld.blogspot.com/2014/09/querying-items-from-sitecore.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore query&lt;/a&gt;, or for more performance use the &lt;a href=&quot;http://www.bugdebugzone.com/2015/06/querying-lucene-index-with-sitecore.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Search API and pull the items from the index&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. Use Sitecore PowerShell Extensions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;SPE&lt;/a&gt; you can setup a scheduled task without having to write or deploy any .net code. Again moving an item is pretty simple:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$destinationPath = &quot;/sitecore/content/AutoArchive/News Archive&quot;;&#xA;&#xA;#templateName = &quot;News&quot;&#xA;Get-ChildItem master:/sitecore/content/AutoArchive/News | Where-Object { $_.TemplateName -match $templateName } | ForEach-Object {&#xA;    Move-Item -Path $_.ItemPath -Destination $destinationPath;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Write a new SPE module that does the archiving, then create a scheduled task to run that SPE script. The instructions are already available for those things so I wont add all that detail here as its not the main answer to the question&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/tasks.html&quot; rel=&quot;noreferrer&quot;&gt;Create SPE Tasks&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Either option would work.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Are You Sure?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Some things to think about tho - automatically moving items will change the Urls that may already have links created to them, so how will you handle redirects or broken links?&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="1171" LastEditDate="2017-06-05T19:31:37.147" LastActivityDate="2017-06-05T19:31:37.147" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5976" PostTypeId="2" ParentId="5974" CreationDate="2017-06-01T18:29:22.600" Score="8" Body="&lt;p&gt;You can achieve this by scheduling a task. You can use&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecron and implement a job which performs the desired actions&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Powershell.&lt;/li&gt;&#xA;&lt;li&gt;Default Sitecore Schedule Job&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2&gt;Option 1&lt;/h2&gt;&#xA;&lt;p&gt;First, you need to install the Sitecron Module if not available on your Sitecore Instance. You can download it from Marketplace &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecron&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class ArchiveItemJob : IJob&#xA;{&#xA;    private readonly Database _sourceDatabase = Factory.GetDatabase(&amp;quot;master&amp;quot;);&#xA;&#xA;    public void Execute(IJobExecutionContext context)&#xA;    {&#xA;        var itemContainer = _sourceDatabase.GetItem(&amp;quot;path or item id of the container to archive&amp;quot;);&#xA;&#xA;        var destinationContainer = _sourceDatabase.GetItem(&amp;quot;path or item id of the destination container&amp;quot;);&#xA;&#xA;        if (itemContainer != null)&#xA;        {&#xA;            var items = itemContainer.Children;&#xA;&#xA;            foreach (Item item in items)&#xA;            {&#xA;                item.MoveTo(destinationContainer);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;In Sitecore, you will need to create a Sitecron Job. So, navigate to &lt;code&gt;/sitecore/system/Modules/Sitecron&lt;/code&gt; and insert a Sitecron job item. Then, fill in the fields.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Type: Insert the namespace and the assembly name here. Example: &lt;code&gt;experimental.Jobs.ArchiveItemJob,experimental&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Cron Expression: Insert the expression here. You can use the following site to generate the expression: &lt;a href=&quot;http://www.cronmaker.com/&quot; rel=&quot;noreferrer&quot;&gt;CronMaker&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Option 2&lt;/h2&gt;&#xA;&lt;p&gt;Using Sitecore Powershell can allow you to easily schedule a task to trigger a Powershell Script&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Powershell Script&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;$sourceContainer = &amp;quot;Your source path here&amp;quot;;&#xA;$destinationContainer = &amp;quot;Your destination path here&amp;quot;;&#xA;&#xA;Get-ChildItem $sourceContainer | ForEach-Object {&#xA;    Move-Item -Path $_.ItemPath -Destination $destinationContainer;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You can download the Sitecore Powershell Module from Marketplace &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Then, again you will need to create the task. The following &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/tasks.html&quot; rel=&quot;noreferrer&quot;&gt;link&lt;/a&gt; explain how to create the Task item for powershell.&lt;/p&gt;&#xA;&lt;h2&gt;Option 3&lt;/h2&gt;&#xA;&lt;p&gt;This option is similar to &lt;strong&gt;Option 1&lt;/strong&gt; but with a slight modification. The class will not extend the &lt;code&gt;IJob&lt;/code&gt; and does not require Sitecron. Only thing is to have a config file with the agent and the interval.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class ArchiveItemJob&#xA;{&#xA;    private readonly Database _sourceDatabase = Factory.GetDatabase(&amp;quot;master&amp;quot;);&#xA;&#xA;    public void Execute()&#xA;    {&#xA;        var itemContainer = _sourceDatabase.GetItem(&amp;quot;path or item id of the container to archive&amp;quot;);&#xA;&#xA;        var destinationContainer = _sourceDatabase.GetItem(&amp;quot;path or item id of the destination container&amp;quot;);&#xA;&#xA;        if (itemContainer != null)&#xA;        {&#xA;            var items = itemContainer.Children;&#xA;&#xA;            foreach (Item item in items)&#xA;            {&#xA;                item.MoveTo(destinationContainer);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Config&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;scheduling&amp;gt;&#xA;      &amp;lt;agent type=&amp;quot;NamespaceHere&amp;quot; method=&amp;quot;Execute&amp;quot; interval=&amp;quot;01:00:00&amp;quot;/&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The only drawback here is that if the App Pool is restarted, the timer will reset. In other words, for example, if only 5 minutes remain for the job to trigger and the App pool restarts, you will need to wait again for the interval for another 1 hour.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;access from Desktop -&amp;gt; All Applications&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;You will require to implement a custom module which makes use of any above options in order to display the list of archive items.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-07T08:51:17.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="5977" PostTypeId="1" CreationDate="2017-06-01T19:30:53.447" Score="3" ViewCount="650" Body="&lt;p&gt;We have a custom workflow implemented in one of the projects.  Content admins could edit all contents and publish them while 'restricted' publishing users could edit all content and submit it for review (content admins get notified and then approve it to go to the final workflow state or reject it to go back to draft mode).  All sections currently use the same custom workflow with custom security settings for different user groups that enable or disable publishing.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now they want to create a new user role that would have content admin rights in certain sections of the website and restricted publishing rights in other sections. Since all security settings are managed directly within this workflow I'm wondering if there is a way to accomplish it without having to create new workflows? &lt;/p&gt;&#xA;" OwnerUserId="794" LastEditorUserId="605" LastEditDate="2017-06-01T20:34:15.470" LastActivityDate="2017-06-06T17:07:20.677" Title="Custom workflow security settings" Tags="|workflow|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5978" PostTypeId="1" AcceptedAnswerId="5980" CreationDate="2017-06-01T20:34:40.480" Score="3" ViewCount="2667" Body="&lt;p&gt;I am using Sitecore 8.2 and I am working with the RenderingModel. I have a template field called &quot;Header Image&quot; that I would like to render on my Layout. Here is the css&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.microsite-banner{&#xA;            background: url(../images/trees_banner_2.jpg)  no-repeat center fixed; &#xA;            -webkit-background-size: cover;&#xA;            -moz-background-size: cover;&#xA;            -o-background-size: cover;&#xA;            background-size: cover;&#xA;            background-attachment: scroll;&#xA;            position: relative;&#xA;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is my markup:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;div id=&quot;banner-nav-container&quot; class=&quot;microsite-banner&quot;&amp;gt;&#xA;&#xA;          &amp;lt;div class=&quot;home-banner-overlay&quot;&amp;gt; &amp;lt;/div&amp;gt;&#xA;&#xA;          &amp;lt;div class=&quot;clearfix&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;&#xA;          &amp;lt;div style=&quot;width: 100%;position:relative;&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and here is the code I thought might swap out the css image&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;script&amp;gt;&#xA;&#xA;&#xA;        $('.microsite-banner').css(&quot;background&quot;, &quot;url(@Html.Sitecore().Field(&quot;Header Image&quot;)&quot;);&#xA;&#xA;    &amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="2727" LastEditDate="2018-03-02T09:43:15.060" LastActivityDate="2018-03-02T09:43:15.060" Title="How do I replace css background url with @html.Sitecore().field(&quot;Header Image&quot;)" Tags="|css|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5979" PostTypeId="1" AcceptedAnswerId="6000" CreationDate="2017-06-01T20:52:29.477" Score="3" ViewCount="2482" Body="&lt;p&gt;I am trying to make a file field editable in the Experience Editor. But neither &lt;code&gt;@Html.Glass.Editable(field, f =&amp;gt; f.File)&lt;/code&gt; nor the usage of an &lt;code&gt;@Html.BeginEditFrame&lt;/code&gt; works. Is there a way with Glass Mapper for doing this?&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="73" LastEditDate="2017-06-02T10:15:47.973" LastActivityDate="2017-06-04T00:01:54.857" Title="Making field of type 'File' editable in Experience Editor with Glass Mapper" Tags="|experience-editor|glass-mapper|renderfield|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5980" PostTypeId="2" ParentId="5978" CreationDate="2017-06-01T21:18:18.707" Score="5" Body="&lt;p&gt;The code &lt;code&gt;@Html.Sitecore().Field(&quot;Header Image&quot;)&lt;/code&gt; will render a full image tag like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;~/media/imageid.ashx&quot; alt=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the background image, you need to get the Url of the image. For that you can use the &lt;code&gt;MediaManager&lt;/code&gt; to generate the media asset url:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ImageField backgroundImage = (ImageField)Sitecore.Context.Item[&quot;Header Image&quot;];&#xA;var imageUrl = Sitecore.Resources.Media.MediaManager.GetMediaUrl(imgField.MediaItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can use that &lt;code&gt;imageUrl&lt;/code&gt; to change the background image:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script&amp;gt;&#xA;    $('.microsite-banner').css(&quot;background&quot;, &quot;url(@imageUrl)&quot;);&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Obviously that is very crude code and really you would want to get all that done in your controller and then populate a property on your view model with the Url, but it gives you a starting point.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-06-01T21:18:18.707" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5981" PostTypeId="1" AcceptedAnswerId="5986" CreationDate="2017-06-02T03:29:44.920" Score="7" ViewCount="1163" Body="&lt;p&gt;I have created a Test Campaign. I am now trying to Personalize a home page component using the Campaign trigger. However the Personalization rule is not firing.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Hn0oG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hn0oG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see the campaign has been triggered. Campaign is triggered using the campaign tracking code.&#xA;&lt;a href=&quot;http://habitat.dev.local/?sc_camp=322A72E385B047879F481FB2FE7B7A2D&quot; rel=&quot;noreferrer&quot;&gt;http://habitat.dev.local/?sc_camp=322A72E385B047879F481FB2FE7B7A2D&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cgxMW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cgxMW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore &lt;strong&gt;8.2 update 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Updating Some Findings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click on &lt;strong&gt;End Visit&lt;/strong&gt; and refresh the page again I can see the Component Personalized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vfbKC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vfbKC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the personalization rule, isn't it should be triggered in &lt;strong&gt;&lt;em&gt;Current Visit&lt;/em&gt;&lt;/strong&gt;?&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-06-02T04:11:03.240" LastActivityDate="2017-09-15T14:40:32.770" Title="Personalization using a Campaign not working" Tags="|experience-editor|personalization|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5982" PostTypeId="2" ParentId="5618" CreationDate="2017-06-02T07:34:34.140" Score="1" Body="&lt;p&gt;The &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Express Migration Tool 2.0&lt;/a&gt; migrates Web Forms For Marketers 2.4 items and data. &lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-06-02T07:34:34.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5983" PostTypeId="1" AcceptedAnswerId="5984" CreationDate="2017-06-02T08:33:45.383" Score="6" ViewCount="1911" Body="&lt;p&gt;By mistake an editor created thousands of sitecore users that now need to me removed. Using the User Manager would take too long as it allows you to remove them one by one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If deleting the users by SQL from the Core database directly, it is enough with deleting the user from the tables listed below or do I need to do something else?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;aspnet_Users&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;aspnet_UserInRoles&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;aspnet_Membership&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;aspnet_PersonalizationPerUser&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;aspnet_Profile&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is there any other method to remove them?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: This client uses Sitecore 6.6&lt;/p&gt;&#xA;" OwnerUserId="120" LastEditorUserId="120" LastEditDate="2017-06-04T16:13:33.830" LastActivityDate="2017-06-04T16:13:33.830" Title="Bulk deleting Sitecore users" Tags="|sql-database|user-profile|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5984" PostTypeId="2" ParentId="5983" CreationDate="2017-06-02T08:41:22.467" Score="5" Body="&lt;p&gt;Yes, basically.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT UserID, UserName&#xA;into #temp&#xA;FROM aspnet_Users&#xA;WHERE UserName in&#xA;('MEMBER10001','MEMBER10002','MEMBER10003','MEMBER10004','MEMBER10005')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should adjust this &lt;code&gt;WHERE&lt;/code&gt; clause to catch the users you want, presumably on something like Created Date or so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DELETE FROM dbo.aspnet_Membership WHERE UserId IN (Select UserId from #temp)&#xA;DELETE FROM dbo.aspnet_UsersInRoles WHERE UserId IN (Select UserId from #temp)&#xA;DELETE FROM dbo.aspnet_Profile WHERE UserId IN (Select UserId from #temp)&#xA;DELETE FROM dbo.aspnet_PersonalizationPerUser WHERE UserId IN (Select UserId from #temp)&#xA;DELETE FROM dbo.aspnet_Users WHERE UserId IN (Select UserId from #temp)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://blogs.visigo.com/chriscoulson/bulk-delete-asp-net-membership-users/&quot; rel=&quot;noreferrer&quot;&gt;Bulk Delete ASP.NET Membership Users&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you flip the Sitecore AppPool when you're done, to prevent any user caching.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-06-02T08:41:22.467" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5985" PostTypeId="2" ParentId="5979" CreationDate="2017-06-02T10:13:55.570" Score="2" Body="&lt;h1&gt;No&lt;/h1&gt;&#xA;&lt;p&gt;Not with Glass Mapper, not using vanilla tools and APIs.&lt;/p&gt;&#xA;&lt;p&gt;Looking at the official Sitecore Documentation for this (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/creating_and_editing_items/editing/edit_content_directly_on_the_page_in_the_experience_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;Edit content directly on the page&lt;/a&gt;) we learn that these are the fields are supported for inline editing (which is essentially what &lt;code&gt;.Editable&lt;/code&gt; enables):&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Simple text fields – this field can only contain simple text, such as single-line and multi-line text, dates, and links.&lt;/li&gt;&#xA;&lt;li&gt;Rich Text fields – this field gives you more control over how the text appears on the webpage. You can edit a Rich Text field directly on the page or open the Rich Text Editor to get access to more formatting functionality.&lt;/li&gt;&#xA;&lt;li&gt;Word fields – this field allows you to use Microsoft Word to edit the text. Depending on the configuration of your website, you can edit the Word field in Microsoft Word or directly on the page. If your website supports inline editing, all of the features of Microsoft Word are also available in the inline editing pane.&lt;/li&gt;&#xA;&lt;li&gt;Image fields – a field that only contains images. In an image field, you can change the image, modify the image appearance, or remove the image directly on the page.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;For more information, refer to the linked article.&lt;/p&gt;&#xA;&lt;p&gt;Also, as mentioned in comments, more information available here:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1520/which-sitecore-fields-can-be-rendered-using-a-fieldrenderer&quot;&gt;Which Sitecore fields can be rendered using a FieldRenderer&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/246/editable-sitecore-fields-with-glass&quot;&gt;Editable Sitecore fields with Glass&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-06-02T10:13:55.570" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5986" PostTypeId="2" ParentId="5981" CreationDate="2017-06-02T13:05:52.737" Score="1" Body="&lt;p&gt;So I have been working with campaigns in several different environments and have gotten them to work in all of the.  A few things to check the first is the Sitecore logs to see if an error is thrown when you trigger the campaign.   I have seen multiple issues especially if are you running on a CD server and running switch master to web.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other thing I remember is that this works best when you use a clean session I have seen Sitecore get confused when you visit the page then trigger the campaign.&lt;/p&gt;&#xA;" OwnerUserId="498" LastActivityDate="2017-06-02T13:05:52.737" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5987" PostTypeId="2" ParentId="5958" CreationDate="2017-06-02T13:29:15.653" Score="0" Body="&lt;p&gt;We had this same issue as we included an external package from a vendor that interfered with routes.  Although your error looks a little different that what we saw.  We had to do the following:&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;When any third-party dlls are referenced in Sitecore, you must configure your MVC application to not resolve third-party dlls unless required. This configuration varies based on how your application is set up (DI, custom routes table, etc). For OOTB Sitecore configuration, as mentioned in the Sitecore configs, please add the assembly names to the following sections in config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;api&amp;gt;&#xA;          &amp;lt;services&amp;gt;&#xA;              &amp;lt;configuration type=&quot;Sitecore.Services.Infrastructure.Configuration.ServicesConfiguration, Sitecore.Services.Infrastructure&quot;&amp;gt;&#xA;               &amp;lt;excludedAssemblies hint=&quot;list:AddExcludedAssembly&quot;&amp;gt;&#xA;                &amp;lt; !--  Dlls  --&amp;gt;&#xA;               &amp;lt;/excludedAssemblies&amp;gt;&lt;br&gt;&#xA;               &amp;lt;/configuration&amp;gt;&#xA;          &amp;lt;/services&amp;gt;&#xA;        &amp;lt;/api&amp;gt;&#xA;        &amp;lt;mvc&amp;gt;&#xA;          &amp;lt;configurationAssemblies type=&quot;Sitecore.Mvc.Configuration.ExcludedAssembliesConfiguration, Sitecore.Mvc&quot;&amp;gt;&#xA;           &amp;lt;excludedAssemblies hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt; !--  Dlls  --&amp;gt;&#xA;           &amp;lt;/excludedAssemblies&amp;gt;&#xA;          &amp;lt;/configurationAssemblies&amp;gt;&#xA;        &amp;lt;/mvc&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This section defines a list of assembly name matches to filter out any assemblies that are not required by the IAssemmblyResolver. Assembly names that start with a name within the excludedAssemblies will not be returned in the results from  IAssembleResolver.GetAssemblies()&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that the above-mentioned configs are OOTB sitecore configurations and may change with new version of sitecore and will not work if you are using a non OOTB DI. Please customize your these settings based on your DI container, if needed.&lt;/p&gt;&#xA;" OwnerUserId="498" LastActivityDate="2017-06-02T13:29:15.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5989" PostTypeId="2" ParentId="5983" CreationDate="2017-06-02T14:13:26.927" Score="3" Body="&lt;p&gt;Another way to do this would be from User Manager, by leveraging the serialization feature. For this to work, you need direct access to the server.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Click on &quot;Serialize All Users&quot;.&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/393ID.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/393ID.png&quot; alt=&quot;serialize all button&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Go to your security serialization folder (by default: &lt;code&gt;data/serialization/security&lt;/code&gt;). Users will be organized by domain. If all offending users are part of the same domain, it should be easy to delete them, either via GUI (Explorer) or command line. If you already have a list, you can turn it into a batch file where each line deletes one file (user).&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/BqOCw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BqOCw.png&quot; alt=&quot;user files&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Cick on &quot;Revert All Users&quot;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can't recover from this operation so make sure you first back up the Core database and/or the unmodified serialized users.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-06-02T14:13:26.927" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="5990" PostTypeId="1" CreationDate="2017-06-02T14:52:49.857" Score="5" ViewCount="233" Body="&lt;p&gt;On this one site, I frequently have to go in and deploy media items. In order not to publish things from other users that might not be ready, I publish the items individually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the most annoying situations I keep running into is that media items automatically activate a contextual &quot;Media&quot; ribbon. I would prefer that the &quot;Publish&quot; ribbon remain active. As I try to quickly publish successive items, I often hit the &quot;Deploy&quot; button from the Media ribbon by mistake, since on this website it's perfectly aligned with the &quot;Publish&quot; button of the &quot;Publish&quot; ribbon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Media ribbon is useful, but I would rather it not to be auto-focused. Is there any way to achieve that?&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-06-03T03:39:01.233" Title="Prevent Content Editor from automatically switching ribbons" Tags="|content-editor|media-library|content-management|ribbon|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5991" PostTypeId="2" ParentId="5990" CreationDate="2017-06-02T15:29:53.543" Score="4" Body="&lt;p&gt;The contextual ribbon is controlled by the &lt;code&gt;Ribbon&lt;/code&gt; field on the template of the item you are on. So for images, it would be on either the &lt;code&gt;/sitecore/templates/System/Media/Unversioned/Image&lt;/code&gt; or &lt;code&gt;/sitecore/templates/System/Media/Versioned/Image&lt;/code&gt; (also could be on the &lt;code&gt;Jpeg&lt;/code&gt; templates - depending on the type of image you uploaded). Those ribbon bars are defined in the core db.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vrDCO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vrDCO.png&quot; alt=&quot;Image Contextual Ribbon&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't need the menu options that are on that ribbon bar, setting the &lt;code&gt;Ribbon&lt;/code&gt; field to &lt;code&gt;none&lt;/code&gt; would stop it switching to the contextual ribbon when opening an image or jpeg item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OQySK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OQySK.png&quot; alt=&quot;After removing the contextual ribbon&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although this will remove the contextual ribbon, it does involve changing a core Sitecore template, so the change may get reverted when upgrading. You also will lose the functionality that the contextual ribbon bar provided.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-06-02T15:29:53.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5992" PostTypeId="2" ParentId="5977" CreationDate="2017-06-02T16:17:13.793" Score="0" Body="&lt;p&gt;You can create a new role, open the security editor from the control panel and start assigning the permissions for all the sections of your content and also you can assign the permissions for the workflow items too based on what the users in this role can do on every item in each workflow state.&lt;a href=&quot;https://i.stack.imgur.com/BaD5d.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BaD5d.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1870" LastActivityDate="2017-06-02T16:17:13.793" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5993" PostTypeId="1" CreationDate="2017-06-02T20:47:25.297" Score="2" ViewCount="404" Body="&lt;p&gt;I would like to update some data on my rendering parameter template from the rendering toolbar. Like when I click a custom experience button, I could set my vertical alignment field, on the rendering's parameter template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand that the rendering data is stored in xml in the rendering field. And that the parameter data is url encoded in the xml. Just not sure how to update it from a button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try and update it from a customer experience button, the parameters object is readonly in the command arguments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HY2I6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HY2I6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-06-06T15:30:45.760" Title="Edit rendering parameter data from a rendering toolbar" Tags="|sitecore-client|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5994" PostTypeId="2" ParentId="5344" CreationDate="2017-06-02T21:58:35.827" Score="10" Body="&lt;p&gt;I'm also going through the Professional Sitecore 8 Development book and ran into the same issue. Not sure if you found the fix but thought I'd share my findings. I'm using Visual Studio 2017 Professional (toolsVersion = 15) and it turns out that gulp-msbuild doesn't support VS 2017. I made the following edits to the gulp-msbuild files to make this work:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SolutionRoot/node_modules/gulp-msbuild/lib/constants.js:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Modified the MSBUILD_VERSIONS from ...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MSBUILD_VERSIONS: {&#xA;1.0: 'v1.0.3705',&#xA;1.1: 'v1.1.4322',&#xA;2.0: 'v2.0.50727',&#xA;3.5: 'v3.5',&#xA;4.0: 'v4.0.30319',&#xA;12.0: '12.0',&#xA;14.0: '14.0'&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to this ...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MSBUILD_VERSIONS: {&#xA;1.0: 'v1.0.3705',&#xA;1.1: 'v1.1.4322',&#xA;2.0: 'v2.0.50727',&#xA;3.5: 'v3.5',&#xA;4.0: 'v4.0.30319',&#xA;12.0: '12.0',&#xA;14.0: '14.0',&#xA;15.0: '15.0'&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SolutionRoot/node_modules/gulp-msbuild/lib/msbuild-finder.js:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added the following starting at line 31 ...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (version === '15.0') {&#xA;  var env_var_dir = process.env['ProgramFiles(x86)'] || process.env['ProgramFiles'];&#xA;  var pathRoot = env_var_dir || path.join('C:', is64Bit ? 'Program Files (x86)' : 'Program Files');&#xA;&#xA;  return path.join(pathRoot, 'Microsoft Visual Studio', '2017', 'Professional', 'MSBuild', version, 'Bin', 'MSBuild.exe');&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm sure there are more elements in that path that could/should be parameterized but I'm just interested in getting this to work for this project. After I made these changes I had to reboot and then running the &quot;Publish-Site&quot; task worked as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, I updated my gulpfile.js to look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var gulp = require(&quot;gulp&quot;);&#xA;var msbuild = require(&quot;gulp-msbuild&quot;);&#xA;var debug = require(&quot;gulp-debug&quot;);&#xA;var foreach = require(&quot;gulp-foreach&quot;);&#xA;var gulpConfig = require(&quot;./gulp-config.js&quot;)();&#xA;module.exports.config = gulpConfig;&#xA;gulp.task(&quot;Publish-Site&quot;, function () {&#xA;return gulp.src(&quot;./{Feature,Foundation,Project}/**/**/*.csproj&quot;)&#xA;    .pipe(foreach(function (stream, file) {&#xA;        return stream&#xA;            .pipe(debug({ title: &quot;Publishing&quot; }))&#xA;            .pipe(msbuild({&#xA;                targets: [&quot;Build&quot;],&#xA;                gulpConfiguration: gulpConfig.buildConfiguration,&#xA;                properties: {&#xA;                    publishUrl: gulpConfig.webRoot,&#xA;                    DeployDefaultTarget: &quot;WebPublish&quot;,&#xA;                    WebPublishMethod: &quot;FileSystem&quot;,&#xA;                    DeployOnBuild: &quot;true&quot;,&#xA;                    DeleteExistingFiles: &quot;false&quot;,&#xA;                    _FindDependencies: &quot;false&quot;,&#xA;                    VisualStudioVersion: &quot;15.0&quot;&#xA;                },&#xA;                verbosity: &quot;diagnostic&quot;,&#xA;                toolsVersion: 15.0&#xA;            }));&#xA;    }));&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the two extra parameters: &lt;code&gt;VisualStudioVersion&lt;/code&gt; and &lt;code&gt;toolsVersion&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that helps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers&lt;/p&gt;&#xA;" OwnerUserId="2005" LastEditorUserId="2005" LastEditDate="2017-06-02T22:16:08.053" LastActivityDate="2017-06-02T22:16:08.053" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="5995" PostTypeId="2" ParentId="5433" CreationDate="2017-06-03T01:29:51.687" Score="0" Body="&lt;p&gt;Let me summary the outcome of this issue, in case somebody will face it in the future.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Field #1&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;[IndexField(&quot;publish_date&quot;)]`&#xA;public DateTime PublishDate { get; set; }&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In an index's schema, the &lt;code&gt;publish_date&lt;/code&gt; field was defined as &lt;code&gt;Edm.String&lt;/code&gt; date type, like shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;{&#xA;  &quot;@odata.context&quot;: &quot;https://[search-service-name].search.windows.net/$metadata#indexes/$entity&quot;,&#xA;  &quot;@odata.etag&quot;: &quot;\&quot;0x1B38DCC03076AB8\&quot;&quot;,&#xA;  &quot;name&quot;: &quot;sitecore-master-index&quot;,&#xA;  &quot;fields&quot;: [&#xA;   ...&#xA;   {&#xA;     &quot;name&quot;: &quot;publish_date&quot;,&#xA;     &quot;type&quot;: &quot;Edm.String&quot;,&#xA;     ...&#xA;   },&#xA;  ...&#xA;  ],&#xA;  ...&#xA;}&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A value was stored in the same format as Sitecore keeps it when viewing &lt;code&gt;Raw Values&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;{&#xA;  &quot;@odata.context&quot;: &quot;...&quot;,&#xA;  &quot;value&quot;: [&#xA;    {&#xA;      ...&#xA;      &quot;publish_date&quot;: &quot;20161208T073400&quot;,&#xA;      ...&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a result, when Sitecore tried populating an instance of a POCO class, it caused the following exception:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;System.FormatException: 'String was not recognized as a valid DateTime.'.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solutions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In a POCO class, change type from the &lt;code&gt;DateTime&lt;/code&gt; to &lt;code&gt;string&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;OR&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;In an index schema, change type from the &lt;code&gt;Edm.String&lt;/code&gt; to &lt;code&gt;Edm.DateTimeOffset&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Field #2&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;[IndexField(&quot;section&quot;)]&#xA;public string Section { get; set; }&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If an index'a document has no value, then an instance of a POCO class will have no value either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;{&#xA;  &quot;@odata.context&quot;: &quot;...&quot;,&#xA;  &quot;value&quot;: [&#xA;    {&#xA;      ...&#xA;      &quot;section&quot;: null,&#xA;      ...&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get a document from an index and check whether it has any value or not.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Field #3&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;[IndexField(&quot;date_search&quot;)]&#xA;public DateTime DateSearch { get; set; }&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When calling the &lt;code&gt;ContentSearchManager.GetIndex(IIndexable indexable)&lt;/code&gt; method, Sitecore triggers the &lt;code&gt;contentSearch.getContextIndex&lt;/code&gt; pipeline to resolve an index name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;&amp;lt;contentSearch.getContextIndex patch:source=&quot;Sitecore.ContentSearch.config&quot;&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While calling the &lt;code&gt;ContentSearchManager.GetIndex(string name)&lt;/code&gt; one, you directly say which index you want to use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When using the &lt;code&gt;ContentSearchManager.GetIndex(new SitecoreIndexableItem(item))&lt;/code&gt; method, check what you have in the above pipeline to make sure there is no custom processor that might change the default behavior.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NB:&lt;/strong&gt;&#xA;There is &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/&quot; rel=&quot;nofollow noreferrer&quot;&gt;REST API for Azure Search&lt;/a&gt;, which you can use to get data from your index before map it on an instance of a POCO class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, &lt;a href=&quot;https://www.getpostman.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Postman&lt;/a&gt; is my favorite tool when I need to work with any REST API&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best Wishes, Oleg&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2017-06-03T01:29:51.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5996" PostTypeId="2" ParentId="5990" CreationDate="2017-06-03T03:39:01.233" Score="3" Body="&lt;p&gt;If you would like to avoid changing core Sitecore templates, you could consider another approach and adding a contextual right-click action to the item. That way it wouldn't matter what ribbon loaded because you would always have the right-click option available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Outlined here:&lt;/strong&gt; &lt;a href=&quot;https://cardinalcore.co.uk/2014/08/20/simple-sitecore-tip-right-click-publish-item/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cardinalcore.co.uk/2014/08/20/simple-sitecore-tip-right-click-publish-item/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the core database copy:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;/sitecore/content/Applications/Content Editor/Menues/Publish/Publish&#xA;  Item&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;To here:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;/sitecore/content/Applications/Content Editor/Context Menues/Default&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-06-03T03:39:01.233" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="5997" PostTypeId="1" AcceptedAnswerId="6010" CreationDate="2017-06-03T14:22:12.283" Score="6" ViewCount="954" Body="&lt;p&gt;I'm deploying Sitecore PaaS using &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&quot; rel=&quot;noreferrer&quot;&gt;ARM templates&lt;/a&gt; within &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit/1x/Sitecore_Azure_Toolkit_100.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Azure Toolkit&lt;/a&gt; by running a &lt;strong&gt;Powershell script that looks like&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SubscriptionID = &quot;[my Subscription ID]&quot; # Azure Subscription ID&#xA;$Name = &quot;myresourcegroup&quot; # Resource Group&#xA;$LicenseXMLPath = &quot;.\license.xml&quot;&#xA;$ArmTemplatePath = &quot;.\azureploy.json&quot;&#xA;$ArmParametersPath = &quot;.\azuredeploy.parameters.json&quot;&#xA;$location = &quot;East US&quot;&#xA;Import-Module .\Sitecore Azure Toolkit 1.1 rev 170509\tools\Sitecore.Cloud.Cmdlets.psm1&quot; -Verbose&#xA;Add-AzureRMAccount&#xA;Set-AzureRMContext -SubscriptionId $SubscriptionId&#xA;Start-SitecoreAzureDeployment -location $location -Name $Name -ArmTemplatePath $ArmTemplatePath  -ArmParametersPath $ArmParametersPath -LicenseXmlPath $LicenseXmlPath -SetKeyValue @{}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The file azuredeploy.parameters.json has the following parameters&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;deploymentId&quot;: {&#xA;    &quot;value&quot;: &quot;myresourcegroup&quot;&#xA;  },&#xA;  &quot;sitecore.admin.password&quot;: {&#xA;    &quot;value&quot;: &quot;AmVWnvU36KqD9xB&quot;&#xA;  },&#xA;  &quot;rep.authentication.apikey&quot;: {&#xA;    &quot;value&quot;: &quot;a2cce0b0-19cd-45a3-8947-f92d0ac4ecd2&quot;&#xA;  },&#xA;  &quot;analytics.mongodb.connectionstring&quot;: {&#xA;    &quot;value&quot;: &quot;mongodb://mdbu:mysecret@scmongo.mlab.com:13650/analytics&quot;&#xA;  },&#xA;  &quot;tracking.live.mongodb.connectionstring&quot;: {&#xA;    &quot;value&quot;: &quot;mongodb://mdbu:mysecret@scmongo.mlab.com:13650/tracking_live&quot;&#xA;  },&#xA;  &quot;tracking.history.mongodb.connectionstring&quot;: {&#xA;    &quot;value&quot;: &quot;mongodb://mdbu:mysecret@scmongo.mlab.com:13650/tracking_history&quot;&#xA;  },&#xA;  &quot;tracking.contact.mongodb.connectionstring&quot;: {&#xA;    &quot;value&quot;: &quot;mongodb://mdbu:mysecret@scmongo.mlab.com:13650/tracking_contact&quot;&#xA;  },&#xA;  &quot;sqlserver.login&quot;: {&#xA;    &quot;value&quot;: &quot;sql-admin&quot;&#xA;  },&#xA;  &quot;sqlserver.password&quot;: {&#xA;    &quot;value&quot;: &quot;2W4T7ZsAGcNHPkx&quot;&#xA;  },&#xA;  &quot;cm.msdeploy.packageurl&quot;: {&#xA;    &quot;value&quot;: &quot;https://mysitecorestorage.blob.core.windows.net/xpscpackages/Sitecore%208.2%20rev.%20161221_cm.scwdp.zip&quot;&#xA;  },&#xA;  &quot;cd.msdeploy.packageurl&quot;: {&#xA;    &quot;value&quot;: &quot;https://mysitecorestorage.blob.core.windows.net/xpscpackages/Sitecore%208.2%20rev.%20161221_cd.scwdp.zip&quot;&#xA;  },&#xA;  &quot;prc.msdeploy.packageurl&quot;: {&#xA;    &quot;value&quot;: &quot;https://mysitecorestorage.blob.core.windows.net/xpscpackages/Sitecore%208.2%20rev.%20161221_cd.scwdp.zip&quot;&#xA;  },&#xA;  &quot;rep.msdeploy.packageurl&quot;: {&#xA;    &quot;value&quot;: &quot;https://mysitecorestorage.blob.core.windows.net/xpscpackages/Sitecore%208.2%20rev.%20161221_rep.scwdp.zip&quot;&#xA;  },&#xA;  &quot;licenseXml&quot;: {&#xA;    &quot;value&quot;: &quot;https://mysitecorestorage.blob.core.windows.net/xpscpackages/license.xml&quot;&#xA;  },&#xA;  &quot;sitecoreSKU&quot;: {&#xA;    &quot;value&quot;: &quot;xP1&quot;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;And every time I'm getting the follow error&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;New-AzureRmResourceGroupDeployment : 10:26:16 AM - Resource&#xA;  Microsoft.Web/sites/extensions 'sug-br4-prc/MSDeploy' failed with&#xA;  message '{   &quot;status&quot;: &quot;failed&quot;,   &quot;error&quot;: {&#xA;      &quot;code&quot;: &quot;ResourceDeploymentFailure&quot;,&#xA;      &quot;message&quot;: &quot;The resource operation completed with terminal provisioning state 'failed'.&quot;,&#xA;      &quot;details&quot;: [&#xA;        {&#xA;          &quot;code&quot;: &quot;Failed&quot;,&#xA;          &quot;message&quot;: &quot;AppGallery Deploy Failed: 'Microsoft.Web.Deployment.DeploymentXmlException: The declared&#xA;  parameter 'Master DB User Name' is not recognized.\r\n\r\n   at&#xA;  Microsoft.Web.Deployment.DeploymentSyncParameterCollection.LoadFromFile(XPathNavigator&#xA;  nav, String fileName, Boolean ignoreExtraSetParameters)\r\n   at&#xA;  Microsoft.Web.Deployment.WebApi.AppGalleryPackage.LoadSetParameters(DeploymentObject&#xA;  deploymentObject, IDictionary`2 setParams, String setParamXmlFile)\r\n&#xA;  at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.Deploy(String&#xA;  deploymentSite, String siteSlotId, Boolean doNotDelete)\r\n   at&#xA;  Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;lt;DownloadAndDeployPackage&amp;gt;d__11.MoveNext()'&quot;&#xA;  }&#xA;    ]&#xA;   }&#xA;  }'&#xA;  At C:\Azure Provisioning\Sitecore Azure Toolkit 1.1 rev &#xA;  170509\tools\Sitecore.Cloud.Cmdlets.psm1:112 char:35&#xA;  + ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;      + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep&#xA;  loymentCmdlet&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;New-AzureRmResourceGroupDeployment : 10:26:16 AM - AppGallery Deploy&#xA;  Failed: 'Microsoft.Web.Deployment.DeploymentXmlException: The declared&#xA;  parameter 'Master DB User Name' is not recognized.    at&#xA;  Microsoft.Web.Deployment.DeploymentSyncParameterCollection.LoadFromFile(XPathNavigator&#xA;  nav, String fileName, Boolean ignoreExtraSetParameters)    at&#xA;  Microsoft.Web.Deployment.WebApi.AppGalleryPackage.LoadSetParameters(DeploymentObject&#xA;  deploymentObject, IDictionary`2 setParams, String setParamXmlFile)&lt;br&gt;&#xA;  at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.Deploy(String&#xA;  deploymentSite, String siteSlotId, Boolean doNotDelete)    at&#xA;  Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;lt;DownloadAndDeployPackage&amp;gt;d__11.MoveNext()'&#xA;  At C:\Azure Provisioning\Sitecore Azure Toolkit 1.1 rev&#xA;  170509\tools\Sitecore.Cloud.Cmdlets.psm1:112 char:35&#xA;  + ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;      + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep&#xA;  loymentCmdlet&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;New-AzureRmResourceGroupDeployment : 10:29:23 AM - Template output&#xA;  evaluation skipped: at least one resource deployment operation failed.&#xA;  Please list deployment operations for details. Please see&#xA;  &lt;a href=&quot;https://aka.ms/arm-debug&quot; rel=&quot;noreferrer&quot;&gt;https://aka.ms/arm-debug&lt;/a&gt; for usage details. At C:\Azure&#xA;  Provisioning\Sitecore Azure Toolkit 1.1 rev&#xA;  170509\tools\Sitecore.Cloud.Cmdlets.psm1:112 char:35&#xA;  + ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;      + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep&#xA;  loymentCmdlet&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;New-AzureRmResourceGroupDeployment : 10:29:23 AM - Template output&#xA;  evaluation skipped: at least one resource deployment operation failed.&#xA;  Please list deployment operations for details. Please see&#xA;  &lt;a href=&quot;https://aka.ms/arm-debug&quot; rel=&quot;noreferrer&quot;&gt;https://aka.ms/arm-debug&lt;/a&gt; for usage details. At C:\Azure&#xA;  Provisioning\Sitecore Azure Toolkit 1.1 rev&#xA;  170509\tools\Sitecore.Cloud.Cmdlets.psm1:112 char:35&#xA;  + ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;      + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep&#xA;  loymentCmdlet&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any idea why is this happening?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-06-27T15:04:24.460" Title="Sitecore PaaS using ARM templates throws &quot;Master DB User Name is not recognized&quot;" Tags="|azure|azure-resource-manager|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="5998" PostTypeId="1" CreationDate="2017-06-03T15:45:55.913" Score="2" ViewCount="780" Body="&lt;p&gt;I have a created a simple user control and dynamically added that control to a new custom field in Sitecore. When viewing the item having that custom field in content editor, it works just fine. If I click on any other item or even try to save that item I get a popup error saying:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Could not load file or assembly'file:///G:\SitecoreInetpub\wwwroot\SitecoreInstance\Website\bin\App_Web_test.ascx.cdcab7d2.z3kp1dyl.dll' or one of its dependencies. The system cannot find the file specified.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DLL name changes every time I clean build the solution. Also dynamically adding a control creates a temp dll (App_Web_test.ascx.cdcab7d2.z3kp1dyl.dll) in &quot;C:\windows\Framework64\v4.0.30319\Temporary ASP.NET Files&quot; folder however it is looking for the same in inetpub which it couldn't find.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure what is causing this.&#xA;This is the Custom field class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class XMLField : Sitecore.Shell.Applications.ContentEditor.File, Sitecore.Shell.Applications.ContentEditor.IContentField&#xA;    {&#xA;        protected override void OnLoad(EventArgs e)&#xA;        {&#xA;            if (!Sitecore.Context.ClientPage.IsEvent)&#xA;            {&#xA;                    Test test = (Test)Page.LoadControl(&quot;/Test.ascx&quot;);&#xA;                    test.ID = &quot;TEST_ID&quot;;&#xA;                    test.Visible = true;&#xA;                    Controls.Add(test);&#xA;            }&#xA;            base.OnLoad(e);&#xA;        }&#xA;&#xA;&#xA;        public new string GetValue()&#xA;        {&#xA;            return Value;&#xA;        }&#xA;&#xA;        public new void SetValue(string value)&#xA;        {&#xA;            Value = value;&#xA;        }&#xA;&#xA;        protected override void Render(HtmlTextWriter output)&#xA;        {&#xA;            base.Render(output);&#xA;        }&#xA;&#xA;        public override void HandleMessage(Message message)&#xA;        {&#xA;            base.HandleMessage(message);&#xA;        }&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;User control Test.ascx:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Control Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;Test.ascx.cs&quot; Inherits=&quot;SitecoreWebsite.Test&quot; %&amp;gt;&#xA;&amp;lt;div id=&quot;testdiv&quot;&amp;gt;&#xA;    Test Div&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;User control backend Test.ascx.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public partial class Test : System.Web.UI.UserControl&#xA;    {&#xA;        protected void Page_Load(object sender, EventArgs e)&#xA;        {&#xA;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2007" LastEditorUserId="423" LastEditDate="2017-08-07T19:11:08.467" LastActivityDate="2017-08-07T19:11:08.467" Title="Adding custom control dynamically to Custom Field in Sitecore gives App_Web_xxxx.dll not found" Tags="|content-editor|custom-field|" AnswerCount="0" CommentCount="7" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6000" PostTypeId="2" ParentId="5979" CreationDate="2017-06-04T00:01:54.857" Score="4" Body="&lt;p&gt;Like Mark Cassidy said, no you can't do this with Glass.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However you have another option in the Experience Editor (although not specific to Glass), if you want to give users the ability to still edit the field that is of type &quot;File Upload&quot;.  You can add a custom experience editor button to the rendering that displays the file upload.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first step is to create the button in the core here: &lt;code&gt;/sitecore/content/Applications/WebEdit/Custom Experience Buttons&lt;/code&gt;.  You would insert a new item from template.  The template you would want to select is &lt;code&gt;/sitecore/templates/System/WebEdit/Field Editor Button&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should give the item a descriptive name.  It can be only ever used with that specific rendering, or if you always use the same name for all file upload fields, you could make it very generic to use across renderings.  You will be presented with the following fields to complete:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Header: Just the name of the Button&lt;/li&gt;&#xA;&lt;li&gt;Icon: Specify an icon to represent the button&lt;/li&gt;&#xA;&lt;li&gt;Fields: This is the most important part.  You should specify the item name in a pipe separated list.  Example in my system I created a field called &quot;Upload&quot; that is of type &quot;File Upload&quot;, so i just specified &quot;Upload&quot; in this text box.&lt;/li&gt;&#xA;&lt;li&gt;ToolTip: Just a friendly hover label for your button.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WYIWM.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WYIWM.jpg&quot; alt=&quot;Example of my setup&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's it for the configuration.  By using that item type, Sitecore out of the box handles all the heavy lifting of displaying the modal etc.  So the next step is to assign this new button to your rendering.  To do so, navigate back to the &quot;Master&quot; database and find your rendering in &lt;code&gt;/sitecore/layout/Renderings&lt;/code&gt; although this could also apply to sublayouts.  Click on the rendering you want to edit and find the field &lt;code&gt;Experience Editor Buttons&lt;/code&gt; under the editor options section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should see the field you defined, plus some default buttons that are part of Sitecore OOTB.  Select the button you created.  You are all set to check out the experience editor.  Navigate to a page that will have the rendering you just configured and open up that page in the experience edit.  Click on the rendering and now you should see something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Qimdh.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qimdh.jpg&quot; alt=&quot;Buttons specific to my rendering&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first button you see is the button you customized.  You will of course see other buttons you can use to customize options related to your rendering.  If you click on the button, then it'll automatically trigger a modal popup and display any fields you specified when you configured the button:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6FGQA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6FGQA.jpg&quot; alt=&quot;customize experience editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This setup is perfect for scenarios where either there isn't a field renderer for a field you are needing the user to edit, but also in the scenario where you have linked fields where the Sitecore item just stores an id.  You can allow the user to use a Content Editor style field instead.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-06-04T00:01:54.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6001" PostTypeId="2" ParentId="5876" CreationDate="2017-06-05T00:19:11.070" Score="3" Body="&lt;p&gt;If you're trying to include multiple fields from another document, I'd argue that the best integration point would be to provide a custom document builder (extending &lt;code&gt;LuceneDocumentBuilder&lt;/code&gt; / &lt;code&gt;SolrDocumentBuilder&lt;/code&gt;) and overriding &lt;code&gt;AddItemFields()&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2017-06-05T00:19:11.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6002" PostTypeId="2" ParentId="5927" CreationDate="2017-06-05T00:54:19.837" Score="4" Body="&lt;p&gt;There is actually a scenario where you'll want to use a custom crawler over multiple crawlers:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use the &lt;code&gt;indexing.getDependencies&lt;/code&gt; pipeline to force an item to be (re)indexed when another item is indexed, that pipeline is only executed within the context of a single crawler. That means that an item from one crawler cannot cause the item of another crawler to be re-indexed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a basic &lt;code&gt;MultiRootCrawler&lt;/code&gt; that we use in production that gets around the above limitation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Handles multiple root locations, specified by a pipe delimited Root value&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public class MultiRootCrawler : SitecoreItemCrawler&#xA;{&#xA;    protected override bool IsAncestorOf(Item item)&#xA;    {&#xA;        using (new SecurityDisabler())&#xA;        using (new WriteCachesDisabler())&#xA;        {&#xA;            var rootItems = GetRootItems();&#xA;&#xA;            return rootItems.Any(x =&amp;gt; item.Paths.LongID.StartsWith(x.Paths.LongID, &#xA;                StringComparison.InvariantCulture));&#xA;        }&#xA;    }&#xA;&#xA;    public override void RebuildFromRoot(IProviderUpdateContext context, &#xA;        IndexingOptions indexingOptions, CancellationToken cancellationToken)&#xA;    {&#xA;&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        if (!base.ShouldStartIndexing(indexingOptions))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var indexableRoots = this.GetRootItems()&#xA;            .Select(x =&amp;gt; (SitecoreIndexableItem)x)&#xA;            .ToList();&#xA;&#xA;        IDocumentBuilderOptions documentOptions = base.DocumentOptions;&#xA;        Assert.IsNotNull(documentOptions, &quot;DocumentOptions&quot;);&#xA;&#xA;        var eventEmitter = context.Index.Locator.GetInstance&amp;lt;IEvent&amp;gt;();&#xA;&#xA;        foreach (var indexableRoot in indexableRoots)&#xA;        {&#xA;            eventEmitter.RaiseEvent(&quot;indexing:addingrecursive&quot;, &#xA;                context.Index.Name, indexableRoot.UniqueId, indexableRoot.AbsolutePath);&#xA;&#xA;            this.AddHierarchicalRecursive(indexableRoot, context, &#xA;                this.index.Configuration, cancellationToken);&#xA;&#xA;            eventEmitter.RaiseEvent(&quot;indexing:addedrecursive&quot;, &#xA;                context.Index.Name, indexableRoot.UniqueId, indexableRoot.AbsolutePath);&#xA;        }&#xA;    }&#xA;&#xA;    public override int GetContextIndexRanking(IIndexable indexable)&#xA;    {&#xA;        var sitecoreIndexableItem = indexable as SitecoreIndexableItem;&#xA;        if (sitecoreIndexableItem == null)&#xA;        {&#xA;            return 2147483647;&#xA;        }&#xA;&#xA;        Item item = sitecoreIndexableItem;&#xA;&#xA;        using (new SecurityDisabler())&#xA;        using (new SitecoreCachesDisabler())&#xA;        {&#xA;            foreach (var rootItem in GetRootItems())&#xA;            {&#xA;                if (item.Paths.LongID.StartsWith(&#xA;                    rootItem.Paths.LongID, StringComparison.InvariantCulture))&#xA;                {&#xA;                    return item.Axes.Level - rootItem.Axes.Level;&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        return 2147483647;&#xA;    }&#xA;&#xA;&#xA;&#xA;    /*&#xA;     * RefreshFromRoot does refer to GetIndexableRoot, but (in 8.1 at least) &#xA;       only after a scenario where it would have thrown a NullReferenceException, so &#xA;       we can safetly assume it doesn't actually occur.&#xA;     */&#xA;&#xA;    public new string Root&#xA;    {&#xA;        get { return base.Root; }&#xA;        set&#xA;        {&#xA;            if (value == null)&#xA;            {&#xA;                this.Roots = new string[0];&#xA;                base.Root = null;&#xA;                return;&#xA;            }&#xA;&#xA;            this.Roots = value.Split('|');&#xA;            base.Root = this.Roots[0];&#xA;        }&#xA;    }&#xA;&#xA;    public string[] Roots&#xA;    {&#xA;        get; set;&#xA;    }&#xA;&#xA;    private List&amp;lt;Item&amp;gt; rootItems;&#xA;    private List&amp;lt;Item&amp;gt; GetRootItems()&#xA;    {&#xA;        if (this.rootItems == null)&#xA;        {&#xA;            var db = ContentSearchManager.Locator.GetInstance&amp;lt;IFactory&amp;gt;()&#xA;                .GetDatabase(this.Database);&#xA;&#xA;            using (new SecurityDisabler())&#xA;            {&#xA;                this.rootItems = this.Roots&#xA;                    .Select(path =&amp;gt; db.GetItem(path))&#xA;                    .Where(item =&amp;gt; item != null)&#xA;                    .ToList();&#xA;            }&#xA;        }&#xA;&#xA;        return this.rootItems;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2017-06-05T00:54:19.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6004" PostTypeId="5" CreationDate="2017-06-05T12:03:28.180" Score="0" Body="&lt;p&gt;Habitat is a real Sitecore project implemented on the Sitecore Experience Platform using Helix. It is an example that allows developers to see how Helix is applied and lets developers experience a project based on these principles. It also provides an excellent basis on which to develop additional modules and extend existing ones. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, it saves the developer from having to create these modules from scratch. Throughout this document is a series of examples of how Habitat implements the described principles and conventions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://helix.sitecore.net/introduction/what-is-helix.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/introduction/what-is-helix.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://habitat.demo.sitecore.net/en/About-Habitat/Introduction&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.demo.sitecore.net/en/About-Habitat/Introduction&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://habitat.demo.sitecore.net/en/About-Habitat/Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.demo.sitecore.net/en/About-Habitat/Getting-Started&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="1671" LastEditDate="2018-02-14T08:10:40.333" LastActivityDate="2018-02-14T08:10:40.333" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6005" PostTypeId="4" CreationDate="2017-06-05T12:03:28.180" Score="0" Body="Questions on Habitat - the implementation (https://github.com/Sitecore/Habitat/). For questions on the Helix guidelines themselves, use the helix tag." OwnerUserId="237" LastEditorUserId="890" LastEditDate="2018-07-04T18:37:37.753" LastActivityDate="2018-07-04T18:37:37.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6006" PostTypeId="5" CreationDate="2017-06-05T12:05:12.203" Score="0" Body="&lt;p&gt;Sitecore Data Exchange Framework is designed to facilitate the transfer of data between systems. It allows you to define the logic needed to read data from a source system, transform that data into a format that is compatible with a target system, and write the transformed data into a target system. Developers can build connectors that allow 3rd party systems to serve as source and target systems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Data_Exchange_Framework.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Data_Exchange_Framework.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/data_exchange_framework&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/data_exchange_framework&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.DataExchange.Examples&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.DataExchange.Examples&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="1671" LastEditDate="2018-02-13T15:41:56.370" LastActivityDate="2018-02-13T15:41:56.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6007" PostTypeId="4" CreationDate="2017-06-05T12:05:12.203" Score="0" Body="All questions on the Data Exchange Framework - a framework used to build connections that integrate third-party content, analytics, and other data with the Sitecore Experience Platform." OwnerUserId="237" LastEditorUserId="1671" LastEditDate="2018-02-13T15:22:13.650" LastActivityDate="2018-02-13T15:22:13.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6008" PostTypeId="5" CreationDate="2017-06-05T12:06:26.097" Score="0" Body="&lt;p&gt;SIM 1.5 is an open source tool for managing the local park of Sitecore instances. You can install, locate, maintain, reinstal or delete Sitecore products. It has API and plugin engine so you can extend it for any your need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_Instance_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Sitecore_Instance_Manager.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://dl.sitecore.net/updater/sim/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dl.sitecore.net/updater/sim/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Instance-Manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Instance-Manager&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Instance-Manager/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Instance-Manager/releases&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="1671" LastEditDate="2018-02-22T06:50:45.923" LastActivityDate="2018-02-22T06:50:45.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6009" PostTypeId="4" CreationDate="2017-06-05T12:06:26.097" Score="0" Body="Questions about the Sitecore Instance Manager (SIM) - http://dl.sitecore.net/updater/sim/" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-06-05T12:06:26.097" LastActivityDate="2017-06-05T12:06:26.097" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6010" PostTypeId="2" ParentId="5997" CreationDate="2017-06-05T13:20:16.363" Score="5" Body="&lt;p&gt;After some troubleshooting, the error was expected as I used the same Sitecore package for different roles.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &quot;cd.msdeploy.packageurl&quot;: {&#xA;     &quot;value&quot;: &quot;https://mysitecorestorage.blob.core.windows.net/xpscpackages/Sitecore%208.2%20rev.%20161221_cd.scwdp.zip&quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;prc.msdeploy.packageurl&quot;: {&#xA;    &quot;value&quot;: &quot;https://mysitecorestorage.blob.core.windows.net/xpscpackages/Sitecore%208.2%20rev.%20161221_cd.scwdp.zip&quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As soon as I found it, and replaced by the correct package, the ARM templates were successfully provisioned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;It should looks like this instead&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &quot;cd.msdeploy.packageurl&quot;: {&#xA;    &quot;value&quot;: &quot;https://stgscautodeploy.blob.core.windows.net/blob/Sitecore%208.2%20rev.%20161221_cd.scwdp.zip&quot;&#xA;  },&#xA;  &quot;prc.msdeploy.packageurl&quot;: {&#xA;    &quot;value&quot;: &quot;https://stgscautodeploy.blob.core.windows.net/blob/Sitecore%208.2%20rev.%20161221_prc.scwdp.zip&quot;&#xA;  },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-06-05T13:20:16.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6011" PostTypeId="1" AcceptedAnswerId="6013" CreationDate="2017-06-05T14:06:32.237" Score="2" ViewCount="285" Body="&lt;p&gt;I tried to markup my html using markup button in the proofing section in experience editor mode. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's working fine in Experience Editor mode but when the page is in Preview mode, on clicking the button a new tab pop ups and blank page is shown. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the logs and found nothing is getting logged. It behaves the same in Testing environment also. I tried setting the proxy in testing environment but no luck. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.1&lt;/p&gt;&#xA;" OwnerUserId="1468" LastEditorUserId="73" LastEditDate="2017-06-05T16:17:20.857" LastActivityDate="2017-06-05T16:59:25.397" Title="Markup button under proofing tab is not working in preview mode" Tags="|experience-editor|validation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6013" PostTypeId="2" ParentId="6011" CreationDate="2017-06-05T16:30:35.910" Score="3" Body="&lt;p&gt;When you click the &quot;Markup&quot; button, what should happen is that the page &lt;code&gt;sitecore/shell/Applications/Content Manager/Validator.aspx&lt;/code&gt; should pop up and all Rich-Text content stored in fields &lt;strong&gt;that live on&lt;/strong&gt; (may be different from those that display on) the page item that you are previewing will be displayed and their markup validated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that if you're previewing a page with the public URL &lt;code&gt;http://mysite.com/foo/bar&lt;/code&gt; and the Sitecore item path &lt;code&gt;/sitecore/content/sites/My Site/home/foo/bar&lt;/code&gt;, then only Rich-Text content that is stored in fields that exist directly on the item &lt;code&gt;/sitecore/content/sites/My Site/home/foo/bar&lt;/code&gt; will be validated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In other words, &lt;strong&gt;rich-text content that is stored in fields on items that are used as rendering/sublayout data sources &lt;em&gt;will not&lt;/em&gt; be validated,&lt;/strong&gt; unless that data source item also happens to be the page item (in such cases, the field will not be validated twice). If you do not have any rich-text content stored in Rich Text fields on the item that you are previewing then the &lt;code&gt;/sitecore/shell/Applications/Content Manager/Validator.aspx&lt;/code&gt; page will be blank. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Opinion on the Markup Button in 'Preview' and 'Experience Editor' Mode&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;IMHO, I think that the &quot;Markup&quot; button - as it has been designed - is a bit out of place in both the &quot;Preview&quot; and &quot;Experience Editor&quot; modes. This is because the &quot;Markup&quot; button only executes in the scope of a single item, the context item, whereas the rendering of an item's presentation in the &quot;Preview&quot; and &quot;Experience Editor&quot; modes means that you may be rendering and possibly editing content from multiple items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since only the Content Editor limits the scope of the item fields visible to those of the &quot;context item&quot; (quoted because in the Content Editor the item is technically the selected item but not the context item), I believe that this is - from a UX perspective - the only location where the &quot;Markup&quot; button's purpose and functionality is truly intuitive. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Potential Improvement 1: Remove the Markup Button from the Toolbars&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You could remove the markup button from the Experience Editor and Preview toolbars entirely, but I recommend instead removing it from &lt;em&gt;display&lt;/em&gt; via Access Rights. You can make it so that the button only displays for Developers and Administrators, whom you would then train on its functionality. You can do this by assigning Access Rights in the &quot;core&quot; database for the item &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Page Editor/Proofing/Markup&lt;/code&gt; to restrict access to only members of the developer and administrator roles. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Potential Improvement 2: Replace the Markup Button with an Extended Markup Button&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You could replace the code executed by the markup button with your own implementation that validates all rich text content from items that are displayed on the page (limiting the fields may be a bit of a challenge, so I would just do the full items). Improving on this idea, you could create your own Markup button, and only replace the ones that display in the Experience Editor and in &quot;Preview&quot; mode with it. You can find the Markup button to replace it or update its functionality at the path &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Page Editor/Proofing/Markup&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Potential Improvement 3: Add Custom Experience Editor Markup Buttons&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This doesn't really do much to help you if you are in &quot;Preview&quot; mode, but it is still an improvement. You could add your own Custom Experience Editor Button for Markup so so that it displays when you click on a field and can execute for the item that the field comes from. This way, if an author is editing content from a field that is stored on a data source item and clicks the &quot;Markup&quot; button then the author will be validating the item on which the content they were just editing is stored. You can add Custom Experience Editor buttons at the path &lt;code&gt;/sitecore/content/Applications/WebEdit/Custom Experience Buttons&lt;/code&gt;. &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/maximizing_usability/posts/enhancing-the-page-editor-experience-with-custom-experience-buttons&quot; rel=&quot;nofollow noreferrer&quot;&gt;This article&lt;/a&gt; may be a good starting point.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-06-05T16:59:25.397" LastActivityDate="2017-06-05T16:59:25.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6014" PostTypeId="1" AcceptedAnswerId="6015" CreationDate="2017-06-05T17:17:28.677" Score="1" ViewCount="717" Body="&lt;p&gt;We are on latest version -Sitecore 8.2 update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the query we are using to get all composers for language es-es. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's giving back 3 results. That's partially right as there are only 3 composer items in Sitecore for es-es. But we have language fallback enabled for es-es. So ideally below query should give us 3 (es-es) items + X (en-gb) items as es-es is falling back to en-gb?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var results = context.GetQueryable&amp;lt;ComposerSearchResultItem&amp;gt;(&#xA;                            new CultureExecutionContext(Context.Language.CultureInfo))&#xA;                            .Where(x =&amp;gt; x.TemplateId == composerId)&#xA;                            .Select(x =&amp;gt; x.ComposerId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I need to pass any new parameter to Sitecore content search to specify this like give me items with language fallback?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2017-06-05T17:52:17.683" Title="Sitecore Content Search not returning back fallback items" Tags="|content-search|multilingual|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6015" PostTypeId="2" ParentId="6014" CreationDate="2017-06-05T17:52:17.683" Score="9" Body="&lt;p&gt;For future use:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a solution for this, we need to enable language fallback for master and web indexes like below, and rebuild them. By default, this setting is set to false&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;&#xA;    &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;contentSearch&amp;gt;&#xA;        &amp;lt;configuration&amp;gt;&#xA;            &amp;lt;indexes&amp;gt;&#xA;                &amp;lt;index id=&quot;sitecore_master_index&quot;&amp;gt;&#xA;                    &amp;lt;enableItemLanguageFallback&amp;gt;true&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;                    &amp;lt;enableFieldLanguageFallback&amp;gt;true&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;                &amp;lt;/index&amp;gt;&#xA;&#xA;                &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;                    &amp;lt;enableItemLanguageFallback&amp;gt;true&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;                    &amp;lt;enableFieldLanguageFallback&amp;gt;true&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;                &amp;lt;/index&amp;gt;&#xA;            &amp;lt;/indexes&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2017-06-05T17:52:17.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6016" PostTypeId="2" ParentId="5468" CreationDate="2017-06-05T19:28:22.690" Score="3" Body="&lt;p&gt;I found a possible solution to your problem, besides checking what @Pete saids about settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to check if you get all items created to analytics works, it including &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Profiles and Keys &lt;/li&gt;&#xA;&lt;li&gt;Profile Cards (that you assign to some content)&lt;/li&gt;&#xA;&lt;li&gt;Pattern Cards (that sitecore based on the analytics automaticly&#xA;will set to your visit)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&quot;Profile vs Pattern&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main concept that must be understood is that Profiles are related to your content (i.e. they are statically assigned to your Sitecore items) and Pattern Cards are related to your visitors (i.e. they are dynamically assigned to visitors). Sitecore assigns a pattern card to the visitor according to the content they see on the website.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more about how profiles works Incredible as it may seem&#xA;on coveo community &lt;a href=&quot;https://developers.coveo.com/display/public/SitecoreV4/Understanding+Profiles+and+Pattern+Cards;jsessionid=F215E121D1D72E091EDCFA3C5D69CB17&quot; rel=&quot;nofollow noreferrer&quot;&gt;Coveo Community&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4ujqf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4ujqf.png&quot; alt=&quot;sitecore tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="521" LastEditorUserId="521" LastEditDate="2017-06-05T19:36:32.423" LastActivityDate="2017-06-05T19:36:32.423" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6017" PostTypeId="1" AcceptedAnswerId="6018" CreationDate="2017-06-05T21:50:57.557" Score="1" ViewCount="444" Body="&lt;h2&gt;Version&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 Update 3&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Issue&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have created rendering templates that are composed of several base templates. Its actually a single template for each column in this case. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;RenderingParameter_Column1 (template)&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Column 1 (section)&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Vertical Alignment (field)&lt;/li&gt;&#xA;  &lt;/ul&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When I look at the standard values for the rendering parameter template, the sections &lt;code&gt;Column 1&lt;/code&gt; and &lt;code&gt;Column 2&lt;/code&gt; are being honored in the display.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YlQHC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YlQHC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when looking at the rendering parameters, it always shows the 1st section in the list of base templates templates. If &lt;code&gt;Column 1&lt;/code&gt; is the high ordered template, it shows &lt;code&gt;Column 1&lt;/code&gt;. If I reorder so &lt;code&gt;Column 2&lt;/code&gt; is highest, it shows &lt;code&gt;Column 2&lt;/code&gt;.&lt;a href=&quot;https://i.stack.imgur.com/i8MnG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i8MnG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Reason it fails&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From debugging, I found the reason they are grouped together is because the field names, Vertical Alignment, are the same. If I rename the field, it works as expected. Maybe its a Sitecore bug.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-06-05T22:19:41.527" LastActivityDate="2017-06-06T00:21:49.483" Title="Rendering Parameters not honoring sections" Tags="|sitecore-client|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6018" PostTypeId="2" ParentId="6017" CreationDate="2017-06-06T00:21:49.483" Score="6" Body="&lt;h1&gt;Sections are irrelevant&lt;/h1&gt;&#xA;&lt;p&gt;In short. Sections only serve to group clusters of fields together for usability and UX purposes. From a data perspective, identical field names on one template has never been supported. And even if we can get around this to some extend by referencing fields by their ID, it remains an unsupported practice.&lt;/p&gt;&#xA;&lt;p&gt;From the dated (but still valid) &lt;a href=&quot;http://sdn.sitecore.net/upload/sitecore6/datadefinitionreference-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;Data Definition Reference&lt;/a&gt;, we learn:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;2.1.1 Data Template Fields&lt;/p&gt;&#xA;&lt;p&gt;A data template field defines the user interface control and other&#xA;properties that influence how the field behaves in the Content Editor&#xA;and Page Editor. For more information about fields, see Chapter 4, The&#xA;Template Field.&lt;/p&gt;&#xA;&lt;p&gt;Note When defining field names, ensure that they are unique even&#xA;between field sections. Both XSLT and .NET code use field names alone,&#xA;without reference to sections, to extract content from fields.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://stackoverflow.com/questions/785265/sitecore-how-to-access-same-field-name-in-different-sections&quot;&gt;Sitecore: How to access same field name in different sections&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h1&gt;Furthermore, they are UrlEncoded&lt;/h1&gt;&#xA;&lt;p&gt;Rendering Templates or not; you are really just adding regular parameters to your rendering. The templates gives you a bit better control and allows you to use smarter fields like Droplinks, Checkboxes and so on. But it ends up like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J0qKl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J0qKl.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;And the resulting XML Element in the &lt;code&gt;__Renderings&lt;/code&gt; field:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r uid=&amp;quot;{43222D12-08C9-453B-AE96-D406EBB95126}&amp;quot;&#xA;   s:par=&amp;quot;parameter1=test&amp;amp;amp;parameter2=another%2520test&amp;quot; /&amp;gt;&amp;lt;/d&amp;gt;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Notice how it UrlEncodes it, as Key/Value pairs based on Field Name (not ID).&lt;/p&gt;&#xA;&lt;h1&gt;In Summary&lt;/h1&gt;&#xA;&lt;p&gt;It's by design. Or at least a known limitation that has been in place for as long as I've worked with the product.&lt;/p&gt;&#xA;&lt;h1&gt;Addendum&lt;/h1&gt;&#xA;&lt;p&gt;I realise you're not specifically asking about this (yet), as you're experiencing odd behaviour in the UI. But you're walking on unsupported ground, which is what I wanted to point out. Even if the UI didn't bug out, you would not get the final result you were expecting.&lt;/p&gt;&#xA;&lt;p&gt;For the record; Sections &lt;em&gt;can&lt;/em&gt; be re-ordered. They respect the &lt;code&gt;__SortOrder&lt;/code&gt; field - but it takes a little planning across your templates, to get it right.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-06-06T00:21:49.483" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6019" PostTypeId="1" CreationDate="2017-06-06T01:49:00.040" Score="3" ViewCount="1089" Body="&lt;p&gt;I'm  using Sitecore 8.0 update 5. I'm a having a strange issue with Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to update a product in the index with the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var tempItem = (SitecoreIndexableItem)item;  &#xA;&#xA;ContentSearchManager.GetIndex(&quot;sitecore_products_index&quot;).Refresh(tempItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Instead of an update, the code creates a new product entry in the index with no data (blank). If I debug, I can see the uniqueid is matching, so I'm not sure what is causing this behavior. If I simply do a '.Rebuild()', it refreshes the index with the new product, but I don't want to do that for one product change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition to this, OnPublishEndAsync wasn't working either. Products change and the index won't refresh.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this bug fix, but it didn't seem to work for me: &lt;a href=&quot;https://kb.sitecore.net/articles/992608&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/992608&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for any help!&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_products_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&#xA;            &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot;&amp;gt;&#xA;&#xA;            &amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&#xA;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                    &amp;lt;field fieldName=&quot;Back Image&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;Service.Lucene.ImageIndexField, Service&amp;lt;/field&amp;gt;&#xA;                    &amp;lt;field fieldName=&quot;Front Image&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;Service.Lucene.ImageIndexField, Service&amp;lt;/field&amp;gt;&#xA;                    &amp;lt;field fieldName=&quot;ExternalID&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;Service.Lucene.TextIndexFieldAddOn, Service&amp;lt;/field&amp;gt;&#xA;                    &amp;lt;field fieldName=&quot;Brand&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;Service.Lucene.TextIndexFieldAddOn, Service&amp;lt;/field&amp;gt;&#xA;                    &amp;lt;field fieldName=&quot;Region&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;Service.Lucene.TextIndexFieldAddOn, Service&amp;lt;/field&amp;gt;&#xA;                    &amp;lt;field fieldName=&quot;Substrates&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;Service.Lucene.TextIndexFieldAddOn, Service&amp;lt;/field&amp;gt;&#xA;                    &amp;lt;field fieldName=&quot;Categories&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;Service.Lucene.TreeListexIndexFieldAddOn, Service&amp;lt;/field&amp;gt;&#xA;                    &amp;lt;field fieldName=&quot;Certification Icons&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; patch:after=&quot;field[last()]&quot;&amp;gt;Service.Lucene.TreeListexIndexField, Service&amp;lt;/field&amp;gt;&#xA;                    &amp;lt;field fieldName=&quot;Applications&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; patch:after=&quot;field[last()]&quot;&amp;gt;Service.Lucene.TreeListexIndexField, Service&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;&#xA;            &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;Page Title&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;&#xA;                       settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                &amp;lt;field fieldName=&quot;Product Number&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;&#xA;                       settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                       &amp;lt;field fieldName=&quot;Short Description&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;&#xA;                       settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                       &amp;lt;field fieldName=&quot;Full Description&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;&#xA;                       settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                       &amp;lt;field fieldName=&quot;Features Description&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;&#xA;                       settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                       &amp;lt;field fieldName=&quot;Patent Numbers&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;&#xA;                       settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                       &amp;lt;field fieldName=&quot;Discontinued&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;&#xA;                       settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                       &amp;lt;field fieldName=&quot;_uniqueid&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;&#xA;                       settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                &amp;lt;/fieldNames&amp;gt;&#xA;&#xA;              &amp;lt;/fieldMap&amp;gt;&#xA;              &amp;lt;/configuration&amp;gt;&#xA;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Products&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1844" LastEditorUserId="605" LastEditDate="2017-06-06T12:16:41.883" LastActivityDate="2017-06-06T19:57:19.147" Title="Programmatically refresh lucene index" Tags="|lucene|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6021" PostTypeId="2" ParentId="280" CreationDate="2017-06-06T03:18:31.440" Score="116" Body="&lt;p&gt;The accepted answer is valid for previous version of Sitecore, but it does not reset the password salt and doesn't in fact reset the password to 'b'.  In order to do this, you need the following script (which also will unlock the admin user if locked):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;UPDATE &#xA;    [aspnet_Membership] &#xA;SET &#xA;    [Password]='qOvF8m8F2IcWMvfOBjJYHmfLABc=', &#xA;    [PasswordSalt]='OM5gu45RQuJ76itRvkSPFw==', &#xA;    [IsApproved] = '1', &#xA;    [IsLockedOut] = '0'&#xA;WHERE &#xA;    UserId IN (&#xA;        SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\Admin'&#xA;    ) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="249" LastActivityDate="2017-06-06T03:18:31.440" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="6022" PostTypeId="1" CreationDate="2017-06-06T06:22:24.030" Score="5" ViewCount="891" Body="&lt;p&gt;What will happen if there are multiple field section with same name?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its a general question, and I thought if there are multiple Field Sections, the Content Editor will get confused while changing the content.&lt;/p&gt;&#xA;" OwnerUserId="1886" LastEditorUserId="73" LastEditDate="2017-06-06T09:30:25.487" LastActivityDate="2017-06-06T09:30:25.487" Title="Multiple templates sections with same name" Tags="|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6023" PostTypeId="2" ParentId="6022" CreationDate="2017-06-06T06:33:43.627" Score="9" Body="&lt;p&gt;Template field sections are for grouping purposes only. It doesn't matter if there are multiple sections with the same name. If there are multiple sections with the same name, Sitecore will display all their fields under one section while author wants to edit item based on that template in Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's different with fields. It is possible to use fields with same name but it's not recommended. That would only allow you to access fields by field ID, not field name and can be really confusing for content editors.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-06-06T06:33:43.627" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6024" PostTypeId="2" ParentId="6019" CreationDate="2017-06-06T07:26:56.720" Score="2" Body="&lt;p&gt;For updating the index for a specific item, you can use the &lt;code&gt;IndexCustodian&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var toIndex = ContentSearchManager.GetIndex(&quot;sitecore_products_index&quot;);&#xA;&#xA;if(toIndex != null)&#xA;{&#xA;    var tempItem = (SitecoreIndexableItem)item;&#xA;    IndexCustodian.Refresh(toIndex,tempItem);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The index custodian will start a job for updating your index.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="605" LastEditDate="2017-06-06T12:25:36.613" LastActivityDate="2017-06-06T12:25:36.613" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6026" PostTypeId="2" ParentId="4504" CreationDate="2017-06-06T12:45:49.393" Score="3" Body="&lt;p&gt;I used a variation of Balaji's answer to search for &lt;strong&gt;data templates&lt;/strong&gt; that contain a particular field type (in this case &quot;link&quot;), rather than for content with the field type. This also pops up the results in SPE's nice data grid for printing as HTML or exporting to a spreadsheet.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -Path &quot;/sitecore/templates&quot; -Recurse | Where-Object {$_.Fields[&quot;{AB162CC0-DC80-4ABF-8871-998EE5D7BA32}&quot;] -like &quot;link&quot;} | Show-ListView -Property FullPath, Id&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="599" LastActivityDate="2017-06-06T12:45:49.393" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6027" PostTypeId="1" AcceptedAnswerId="6045" CreationDate="2017-06-06T13:34:05.710" Score="7" ViewCount="980" Body="&lt;p&gt;Using Sitecore 8.2 Update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the Sitecore Services Client EntityService with Token authentication. When I try to access to the service after the token has expired, I should get a 403, but instead I get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Message&quot;: &quot;An error has occurred.&quot;,&#xA;&quot;ExceptionMessage&quot;: &quot;Input string was not in a correct format.&quot;,&#xA;&quot;ExceptionType&quot;: &quot;System.FormatException&quot;,&#xA; &quot;StackTrace&quot;: &quot;   at &#xA;System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, &#xA;String format, ParamsArray args)   at &#xA;System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)&#xA; at System.String.Format(String format, Object[] args)   at   &#xA;Sitecore.Services.Infrastructure.Sitecore.Diagnostics.SitecoreLogger.Debug( String messageFormat, Object[] args) &#xA;at  Sitecore.Services. Infrastructure.Sitecore.Security.SigningTokenProvider.ValidateToken(String token) &#xA;at Sitecore.Services.Infrastructure.Sitecore.Security.TokenDelegatingHandler.AttemptLoginWithToken(HttpRequestMessage request)\r\n  &#xA; at Sitecore.Services. Infrastructure.Sitecore.Security.TokenDelegatingHandler.&amp;lt;SendAsync&amp;gt;d__0.MoveNext()\r\n&#xA; ---  End of stack trace from previous location where exception was thrown ---   &#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Web.Http.HttpServer.&amp;lt;SendAsync&amp;gt;d__0.MoveNext()&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So basically, the stringbuilder blows up when trying to write to the log. How do I intercept this to handle this error more appripriately? I want the end user to get a 403.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is occurring on the ValidateToken method. The token is expired, so it throws a SecurityTokenInvalidLifetimeException which then logs like os:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; this._logger.Debug(string.Format(&quot;Token invalid: {0}&quot;, (object) ex), (object) this);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is in the class SigningTokenProvider, which I could maybe replace if I could figure out how to swap it out with my own version. Its not referenced anywhere in ShowConfig, so I dont really know where to look.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did implement replacing Sitecore's token provider as per @zacharykneibel. Once that was replaced, I determined the problem was how they are generating the error message. It generated the error message with some fixed string and an anonymous object. They then log like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this._logger.Debug(string.Format(&quot;Token invalid: {0}&quot;, (object) ex), (object) this);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is that exception, the message contains a string representation of an object that contains items in double quotes and also brackets ({ and }) which are not escaped. This would be fine in an api call, it would com back as json, but they are logging it to the Sitecore log, where things go awry. This feels a bit hacky, but I fixed this by replacing the characters in the error message. For the above mentioned reason, I editing the logging method, and the the error itself:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;his._logger.Debug(string.Format(&quot;Token invalid: {0}&quot;, ex.Message.Replace(&quot;{&quot;,&quot;{{&quot;).Replace(&quot;}&quot;,&quot;}}&quot;).Replace(@&quot;&quot;&quot;&quot;,@&quot;&quot;&quot;&quot;&quot;&quot;)), (object)this);&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I might write a method to better convert this object to a cleaner string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make matters worse, once this was resolved, it seemed there was no logic to prevent a call to the api if the token authentication failed. It noted that the token was no good, but it still processed the call to the api, so I had to rewrite that method as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's Sitecore method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;rotected override async Task&amp;lt;HttpResponseMessage&amp;gt; SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)&#xA;{&#xA;  this.AttemptLoginWithToken(request);&#xA;  return await base.SendAsync(request, cancellationToken);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I will need to do something lime this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override async Task&amp;lt;HttpResponseMessage&amp;gt; SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)&#xA;    {&#xA;        if (!AttemptLoginWithToken(request))&#xA;        {&#xA;            var response = new HttpResponseMessage(HttpStatusCode.Forbidden);&#xA;            return response;&#xA;        }&#xA;        return await base.SendAsync(request, cancellationToken);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2017-06-07T19:30:31.373" LastActivityDate="2017-06-07T19:30:31.373" Title="Sitecore Services Client EntityService Token Authentication InputStringError" Tags="|sitecore-services-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6029" PostTypeId="2" ParentId="5993" CreationDate="2017-06-06T15:30:45.760" Score="2" Body="&lt;p&gt;Chris do you mean you want to expose these in the toolbar like rendering variants in SXA? If so I was thinking supporting this kind of thing in standard Sitecore would be cool too but I'm not sure how possible it would be to implement an actual interface for editing rendering paramaters within the Chrome toolbar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've only really found solutions that provide custom experience buttons. However this post from non linearcreations goes a bit further than this and might prove useful:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2016/05/How-to-customize-the-Sitecore-Experience-Editor.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2016/05/How-to-customize-the-Sitecore-Experience-Editor.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone knows how to expose textboxes or dropdowns in the chrome toolbar though I'd be really interested in knowing how.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-06-06T15:30:45.760" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6030" PostTypeId="2" ParentId="5977" CreationDate="2017-06-06T17:05:55.610" Score="3" Body="&lt;p&gt;I am not aware of a way to do this out of the box. Here are some things you can try...&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a custom workflow action that removes the users write access after a specific step for specific locations in the content tree. The downside to this is that they will not be able edit the item after this step. So if they want to create a new version then someone would need to give them access again and they could potentially publish an unpublished item.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You could also create a custom workflow action that fires first during the publish action. This action would check to see if that user should be able to publish and if not stop the execution of the workflow step and show them a message.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(WorkflowPipelineArgs args)&#xA;    {&#xA;        if (CanUserProceed())&#xA;        {&#xA;            Sitecore.Context.ClientPage.ClientResponse.Alert(&quot;You do not have permission to proceed.&quot;);&#xA;            args.AbortPipeline();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1971" LastEditorUserId="73" LastEditDate="2017-06-06T17:07:20.677" LastActivityDate="2017-06-06T17:07:20.677" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6031" PostTypeId="1" CreationDate="2017-06-06T17:52:27.977" Score="0" ViewCount="462" Body="&lt;p&gt;I have a multisite setup and I want to use a dedicated folder under media library for all the images that editors can upload to sitecore. And under that folder, I want to have subfolders per website, so the structure is like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/media library&#xA; /Customer&#xA;   /France&#xA;   /Belgium&#xA;   /Spain &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I have setup editor roles for the different sites (countries) and want them to be able to only upload to their corresponding media library folder. So, for example, an editor for the France website should only be able to upload to the media library/Customer/France path. I also set the source of the image fields to /media library/Customer and expected the editors to only see the subfolder of their site. But when a user tries to add an image, he can only add images directly to the folder /media library/Customer and none of the subfolders is visible/available. How is that possible? And is this the way to go to achieve what I am trying to achieve?&lt;/p&gt;&#xA;" OwnerUserId="1973" LastActivityDate="2017-06-06T17:52:27.977" Title="Access rules for media library upload path" Tags="|security|media-library|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6032" PostTypeId="2" ParentId="6019" CreationDate="2017-06-06T19:57:19.147" Score="0" Body="&lt;p&gt;We are going to upgrade soon, so hopefully this will resolve that issue. In the meantime, I updated this to .Rebuild() with an optimized configuration file. The index process is extremely quick. Thanks for the suggestions. &lt;/p&gt;&#xA;" OwnerUserId="1844" LastActivityDate="2017-06-06T19:57:19.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6033" PostTypeId="1" AcceptedAnswerId="6034" CreationDate="2017-06-06T21:32:20.400" Score="3" ViewCount="5257" Body="&lt;p&gt;I'm new to Unicorn, but recently we tried to add an item to a section that's been configured in Unicorn and we are getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The parent item of /sitecore/templates/Site/Foundation/MultiTenant/New Template was not serialized.  You cannot have a sparse serialized tree.  You may need to serialize this item's parent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I have the patch configured like the following, which I thought would serialize the parent and all items underneath:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;    See Unicorn.config for commentary on how configurations operate, or https://github.com/kamsar/Unicorn/blob/master/README.md&#xA;--&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;      &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;configuration name=&quot;Foundation.MultiTenant&quot; description=&quot;MultiTenant Items&quot; dependencies=&quot;Foundation.Serialization&quot;&amp;gt;&#xA;          &amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\Foundation\MultiTenant\Serialization&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; useDataCache=&quot;false&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;include name=&quot;Foundation.MultiTenant.Templates&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/Site/Foundation/MultiTenant&quot; /&amp;gt;&#xA;          &amp;lt;/predicate&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/configurations&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can someone clue me into what this error message means and what might be missing from my Serialization patch that would fix this issue?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="73" LastEditDate="2019-06-11T14:17:59.410" LastActivityDate="2020-02-21T05:18:31.930" Title="You cannot have a sparse serialized tree" Tags="|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6034" PostTypeId="2" ParentId="6033" CreationDate="2017-06-06T22:01:50.913" Score="8" Body="&lt;p&gt;It could be a couple of things. When does this error happen to you?  when starting up your Sitecore instance, or when you try and add new items to be serialised?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error comes, when an item under Unicorn control is updated/saved/created, but where an initial serialisation of the entire tree has not been performed yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most likely, you have forgotten the initial serialisation. If you then proceed to create items under the &lt;code&gt;MultiTenant&lt;/code&gt; node, this error would come knocking.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At least that's my best guess. If this doesn't help you along, please update your question with contents of your file system folder structure and information on when this error triggers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://github.com/kamsar/Unicorn/issues/48&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/kamsar/Unicorn/issues/48&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-06-06T22:01:50.913" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6035" PostTypeId="1" CreationDate="2017-06-07T01:14:56.100" Score="4" ViewCount="890" Body="&lt;p&gt;I am getting some strange characters in my View when using Experience Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the main layout;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html lang=&quot;en&quot;&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&quot;utf-8&quot;&amp;gt;&#xA;    &amp;lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&amp;gt;&#xA;    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&amp;gt;&#xA;&#xA;    &amp;lt;link href=&quot;https://fonts.googleapis.com/css?family=Fira+Sans:100,100i,300,300i,400,400i,700,700i&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;    &amp;lt;link href=&quot;https://fonts.googleapis.com/css?family=Patua+One&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;title&amp;gt;Trees for Wildlife&amp;lt;/title&amp;gt;&#xA;&#xA;    &amp;lt;link href=&quot;Css/bootstrap/bootstrap.min.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;    &amp;lt;link href=&quot;Css/custom_css.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;    &amp;lt;link href=&quot;Css/NWF.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;!-- Owl Carousel Stylesheets --&amp;gt;&#xA;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;Css/owl.carousel.min.css&quot;&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;Css/owl.theme.default.css&quot;&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;script src=&quot;Scripts/jquery-3.1.1.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.0/TweenMax.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;Scripts/bootstrap.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;Scripts/custom.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;Scripts/owl.carousel.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&#xA;    &amp;lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --&amp;gt;&#xA;    &amp;lt;!--[if lt IE 9]&amp;gt;&#xA;      &amp;lt;script src=&quot;https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;      &amp;lt;script src=&quot;https://oss.maxcdn.com/respond/1.4.2/respond.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;![endif]--&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;&#xA;    &amp;lt;div id=&quot;main-mobile-search&quot; class=&quot;collapse&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;input-group&quot;&amp;gt;&#xA;            &amp;lt;input type=&quot;text&quot; class=&quot;form-control&quot; placeholder=&quot;Search for...&quot;&amp;gt;&#xA;            &amp;lt;span class=&quot;input-group-btn&quot;&amp;gt;&#xA;                &amp;lt;button class=&quot;btn btn-default&quot; type=&quot;button&quot;&amp;gt;Search&amp;lt;/button&amp;gt;&#xA;            &amp;lt;/span&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;div id=&quot;banner-nav-container&quot; class=&quot;microsite-banner&quot;&amp;gt;&#xA;&#xA;        &amp;lt;div class=&quot;home-banner-overlay&quot;&amp;gt; &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div class=&quot;clearfix&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;&#xA;        @Html.Sitecore().Placeholder(&quot;head-content&quot;)&#xA;        @Html.Sitecore().Placeholder(&quot;header-content&quot;)&#xA;        @Html.Sitecore().Placeholder(&quot;HeroImage&quot;)&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;main-content&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;    @Html.Sitecore().Placeholder(&quot;microsite-footer-sub-navigation&quot;)&#xA;    @Html.Sitecore().Placeholder(&quot;footer-content&quot;)&#xA;    @Html.Sitecore().Placeholder(&quot;footerNavigation&quot;)&#xA;&#xA;    &amp;lt;a href=&quot;#top&quot;&amp;gt;&#xA;        &amp;lt;div style=&quot;position: relative&quot;&amp;gt;&#xA;            &amp;lt;div id=&quot;back-to-top&quot; class=&quot;hidden-xs&quot;&amp;gt;&#xA;                &amp;lt;img class=&quot;center-block&quot; src=&quot;images/arrow-up-circle.svg&quot; onerror=&quot;this.onerror=null; this.src='arrow-up-circle.png'&quot; alt=&quot;Back to Top&quot;&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/a&amp;gt;&#xA;&#xA;    &amp;lt;script&amp;gt;&#xA;        $('a[href*=&quot;top&quot;]:not([href=&quot;top&quot;])').click(function () {&#xA;            if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') &amp;amp;&amp;amp; location.hostname == this.hostname) {&#xA;                var target = $(this.hash);&#xA;                target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');&#xA;                if (target.length) {&#xA;                    $('html, body').animate({&#xA;                        scrollTop: target.offset().top&#xA;                    }, 1000);&#xA;                    return false;&#xA;                }&#xA;            }&#xA;        });&#xA;    &amp;lt;/script&amp;gt;&#xA;&#xA;    &amp;lt;div id=&quot;mobile_social_sticky&quot; class=&quot;hidden-sm hidden-md hidden-lg&quot;&amp;gt;&#xA;        &amp;lt;div id=&quot;mobile-donate-sticky&quot;&amp;gt;&#xA;            Donate &amp;lt;img class=&quot;heart-icon&quot; src=&quot;images/heart-icon.svg&quot; onerror=&quot;this.onerror=null; this.src='images/heart-icon.png'&quot; alt=&quot;Donate&quot;&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div id=&quot;mobile-facebook-sticky&quot; class=&quot;mobile-sticky-item&quot;&amp;gt;&#xA;            &amp;lt;img class=&quot;center-block&quot; src=&quot;images/facebook-footer.svg&quot; onerror=&quot;this.onerror=null; this.src='images/facebook-footer.png'&quot; alt=&quot;Visit our Facebook&quot;&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div id=&quot;mobile-twitter-sticky&quot; class=&quot;mobile-sticky-item&quot;&amp;gt;&#xA;            &amp;lt;img class=&quot;center-block&quot; src=&quot;images/twitter-footer.svg&quot; onerror=&quot;this.onerror=null; this.src='images/twitter-footer.png'&quot; alt=&quot;Visit our Twitter&quot;&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div id=&quot;mobile-email-sticky&quot; class=&quot;mobile-sticky-item&quot;&amp;gt;&#xA;            &amp;lt;img class=&quot;center-block&quot; src=&quot;images/email-footer.svg&quot; onerror=&quot;this.onerror=null; this.src='images/email-footer.png'&quot; alt=&quot;Email to a Friend&quot;&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;script&amp;gt;&#xA;        var searchIcon = document.getElementById(&quot;search-icon&quot;);&#xA;        var closeIcon = document.getElementById(&quot;close-icon&quot;);&#xA;        TweenMax.set(closeIcon, { x: -100 });&#xA;&#xA;        searchIcon.addEventListener('click', function () {&#xA;            TweenMax.to(searchIcon, .5, { x: -100 });&#xA;            TweenMax.to(closeIcon, .5, { x: 0 });&#xA;            console.log('search clicked');&#xA;        });&#xA;&#xA;        closeIcon.addEventListener('click', function () {&#xA;            TweenMax.to(searchIcon, .5, { x: 0 });&#xA;            TweenMax.to(closeIcon, .5, { x: -100 });&#xA;            console.log('close clicked');&#xA;        });&#xA;    &amp;lt;/script&amp;gt;&#xA;&#xA;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is a partial MVC Controller Rendering in the placeholder &lt;code&gt;head-content&lt;/code&gt;, which works great in Preview mode but when I try to work with it in Experience Editor, I have two problems:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I have all of these weird markup&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;here&quot;,&quot;icon&quot;:&quot;/temp/iconcache/office/16x16/add.png&quot;,&quot;disabledIcon&quot;:&quot;/temp/add_disabled16x16.png&quot;,&quot;isDivider&quot;:false,&quot;tooltip&quot;:&quot;Add a new rendering to the '{0}' placeholder.&quot;,&quot;type&quot;:&quot;&quot;},{&quot;click&quot;:&quot;chrome:placeholder:editSettings&quot;,&quot;header&quot;:&quot;&quot;,&quot;icon&quot;:&quot;/temp/iconcache/office/16x16/window_gear.png&quot;,&quot;disabledIcon&quot;:&quot;/temp/window_gear_disabled16x16.png&quot;,&quot;isDivider&quot;:false,&quot;tooltip&quot;:&quot;Edit the placeholder settings.&quot;,&quot;type&quot;:&quot;&quot;}],&quot;contextItemUri&quot;:&quot;sitecore://master/{7CAFC3BA-B846-46DF-8B0D-2AE218541158}?lang=en&amp;amp;ver=1&quot;,&quot;custom&quot;:{&quot;allowedRenderings&quot;:[],&quot;editable&quot;:&quot;false&quot;},&quot;displayName&quot;:&quot;header-content&quot;,&quot;expandedDisplayName&quot;:null}{&quot;commands&quot;:[{&quot;click&quot;:&quot;chrome:rendering:sort&quot;,&quot;header&quot;:&quot;Change position&quot;,&quot;icon&quot;:&quot;/temp/iconcache/office/16x16/document_size.png&quot;,&quot;disabledIcon&quot;:&quot;/temp/document_size_disabled16x16.png&quot;,&quot;isDivider&quot;:false,&quot;tooltip&quot;:&quot;Move component.&quot;,&quot;type&quot;:&quot;&quot;},{&quot;click&quot;:&quot;javascript:Sitecore.PageModes.PageEditor.postRequest('webedit:componentoptions(renderingId={3A64C4E1-B1D8-47EF-AB5C-D013F60E81A0},id={7CAFC3BA-B846-46DF-8B0D-2AE218541158},referenceId={49929205-3267-42&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I added a placeholder in my layout in Sitecore, and then in the Presentation details I set a rendering to the &lt;code&gt;main-content&lt;/code&gt; placeholder.  I gave it a Datasource and assigned some allowed renderings&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Normally, in Experience Editor mode I would have a tab, called &quot;Add Here&quot; when I press the &quot;add new component&quot; in the experience editor, nothing happens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note, I did get a message the &lt;code&gt;webedit.css&lt;/code&gt; is not found, I don't know what this is or where to get it, but I checked my include &lt;code&gt;/AppConfig/Include&lt;/code&gt; for &lt;code&gt;Sitecore.MvcExperienceEditor.config&lt;/code&gt; and it is there. I just don't know what to do. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have worked with Sitecore MVC successfully in the past but I did not set this up.&lt;/p&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="605" LastEditDate="2017-06-10T19:10:47.210" LastActivityDate="2017-06-10T19:10:47.210" Title="Why can't I use MVC Experience Editor" Tags="|experience-editor|mvc|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6036" PostTypeId="2" ParentId="6035" CreationDate="2017-06-07T01:33:52.433" Score="1" Body="&lt;p&gt;So it sounds like you might be having a couple of issues.  For the issue with weird mark up refer to this article: &lt;a href=&quot;https://kb.sitecore.net/articles/286042&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/286042&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To sum that issue up, if you have jquery on the page, the Prototype Javascript library might conflict with your Jquery library.  To get past this issue, just use Jquery in the No-Conflict Mode.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you may want to wrap the &lt;code&gt;@Html.Sitecore().Placeholder(&quot;head-content&quot;)&lt;/code&gt; placeholder in a Div, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;&#xA;    @Html.Sitecore().Placeholder(&quot;head-content&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the second issue, this probably means you don't have an Placeholder settings defined.  It will not show an option to &lt;code&gt;Add Here&lt;/code&gt; until you configure placeholder settings.  Or as a second option, you would need to enable setting &lt;code&gt;WebEdit.PlaceholdersEditableWithoutSettings&lt;/code&gt; and set the value to true.  This will allow you to use the experience editor and add renderings to placeholders without having placeholder settings defined.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-06-07T01:33:52.433" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="6039" PostTypeId="1" AcceptedAnswerId="6197" CreationDate="2017-06-07T11:37:24.563" Score="9" ViewCount="1441" Body="&lt;p&gt;We implemented the Autofac to work with Sitecore default DI implementation by following the guide below:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dependency_injection&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dependency_injection&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here's the code snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AutofacServiceProviderBuilder&#xA;  : BaseServiceProviderBuilder&#xA;    {&#xA;        protected override IServiceProvider BuildServiceProvider(IServiceCollection serviceCollection)&#xA;        {&#xA;            var builder = new ContainerBuilder();&#xA;&#xA;            builder.Populate(serviceCollection);&#xA;&#xA;            // Register our custom services via a module.&#xA;            builder.RegisterModule&amp;lt;ServicesModule&amp;gt;();&#xA;&#xA;            // Register all MVC controllers in the current assembly.&#xA;            builder.RegisterControllers(Assembly.GetExecutingAssembly());&#xA;            RegisterServices(builder);&#xA;            //builder.RegisterFilterProvider();&#xA;            IContainer container = builder.Build();&#xA;            Platform.ServiceLocator.SetLocator(container);&#xA;            return container.Resolve&amp;lt;IServiceProvider&amp;gt;();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While doing a load testing, we are seeing a steady increase of memory usage for our asp.net mvc application hosted in azure web app. Once memory hits 90% site become unresponsive and crashes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at memory dump we noticed a top large objects are related to autofac. enter image description here&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zy2jJ.gif&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zy2jJ.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By analyzing the memory dump we found that ALL of our Controllers are referencing to the Root scope hence they never get garbage collected and eventually fills up the memory. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would be good if I can get any suggestions on what we are doing very wrong that makes all our controllers hanging off Root.&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2018-12-11T14:05:15.570" Title="Sitecore 8.2 memory leak with autofac DI on load test" Tags="|dependency-injection|performance|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6040" PostTypeId="1" AcceptedAnswerId="6295" CreationDate="2017-06-07T12:09:09.007" Score="4" ViewCount="285" Body="&lt;p&gt;I followed the documentation about Sitecore Commerce installation. I finished configuring everything, then try to open storefront. It returns error something like &quot;HTTP Error 502.3 - Bad Gateway&#xA;The specified CGI application encountered an error and the server terminated the process.&quot; and requested url is &quot; &lt;a href=&quot;http://localhost:5000/api/GetBulkPrices&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:5000/api/GetBulkPrices&lt;/a&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This url is by default Commerce Authoring service. Then I tried with postman and send request and after 2min it returns same error. So that I changed Authoring request time out to 20min and it stills running. I don't thing this will take that much. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S: I can send request to other api methods and returns with success result. It seems configuration are correct. Does anyone any idea why it is taking too long?&lt;/p&gt;&#xA;" OwnerUserId="2020" LastActivityDate="2017-06-22T12:38:14.700" Title="Commerce Authoring GetBulkPrice method Problem" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6041" PostTypeId="1" CreationDate="2017-06-07T14:00:52.390" Score="4" ViewCount="472" Body="&lt;p&gt;I try to setup Sitecore commerce 8.2.1 using the steps in document mentioned below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i complete the Commerce Site setup and try to reinstall the Package (Sitecore.Reference.Storefront.Powered.by.SitecoreCommerce.10.0.xxx.update package), I am getting the below error.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application The catalog set you specified does not&#xA;  exist.  Description: An unhandled exception occurred during the&#xA;  execution of the current web request. Please review the stack trace&#xA;  for more information about the error and where it originated in the&#xA;  code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: CommerceServer.Core.EntityDoesNotExistException:&#xA;  The catalog set you specified does not exist.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error:  An unhandled exception was generated during the&#xA;  execution of the current web request. Information regarding the origin&#xA;  and location of the exception can be identified using the exception&#xA;  stack trace below.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2021" LastEditorUserId="605" LastEditDate="2017-06-07T14:25:20.393" LastActivityDate="2017-06-29T19:15:38.167" Title="Getting error after complete the Commerce Site setup and try to reinstall the Package Storefront.Powered package)" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6043" PostTypeId="1" CreationDate="2017-06-07T15:16:37.247" Score="3" ViewCount="480" Body="&lt;p&gt;My item.tt file references a custom dll. This is being done with the assembly tag which contains an absolute path to the dll and then and import for the associated namespace. I want a way for that absolute path to be relative however when I've changed this to not be an absolute path I get an error which states that the file could not be found in &lt;code&gt;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\&lt;/code&gt;. Is there a way to make this a relative path or am I stuck between either using an absolute path or require placing the dll in that path on every dev's environment?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-06-07T15:43:03.983" Title="TDS TT File Reference Custom Dll" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6044" PostTypeId="2" ParentId="6043" CreationDate="2017-06-07T15:25:27.637" Score="1" Body="&lt;p&gt;The Assembly Directive requires an absolute path. But you can use variables to make the path &quot;relative&quot; from a known path - for example in the Fortis T4 template we add this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;#@ Assembly Name=&quot;$(SolutionDir)\packages\Fortis.3.5.5.2\lib\net45\Fortis.dll&quot; #&amp;gt;&#xA;&amp;lt;#@ assembly name=&quot;$(ProjectDir)$(OutDir)Transitus.Rainbow.dll&quot; #&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Than we can have a binary that is in the repo, or just built into the output project or just something from a NuGet package referenced in the T4 template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use environment variables by using &lt;code&gt;%variableName%&lt;/code&gt; syntax. the &lt;code&gt;$(variableName)&lt;/code&gt; syntax is used for Visual Studio variables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://docs.microsoft.com/en-us/visualstudio/modeling/t4-assembly-directive&quot; rel=&quot;nofollow noreferrer&quot;&gt;Using the Assembly Directive&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Alternate Solution&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If that is not working for you, you could try the &lt;code&gt;AssemblyReferences.tt&lt;/code&gt; project by @herskinduk &lt;a href=&quot;https://github.com/herskinduk/AssemblyReferencesTT&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/herskinduk/AssemblyReferencesTT&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This project adds a new tt file called &lt;code&gt;AssemblyReferences.tt&lt;/code&gt; that can be used to build T4 references based on the projects references. Any references with a hint path and solution references will be listed in that file. Then you can include that file in your main T4 template like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;#@ include file=&quot;AssemblyReferences.tt&quot; #&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The binary you are trying to reference must be included in your project with a hint path or as a solution reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Install it as a NuGet package: &lt;a href=&quot;https://www.nuget.org/packages/AssemblyReferencesTT/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nuget.org/packages/AssemblyReferencesTT/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-06-07T15:43:03.983" LastActivityDate="2017-06-07T15:43:03.983" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6045" PostTypeId="2" ParentId="6027" CreationDate="2017-06-07T16:02:29.360" Score="2" Body="&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;SigningTokenProvider&lt;/code&gt; is instantiated in the constructors of the &lt;code&gt;Sitecore.Services.Infrastructure.Sitecore.Security.TokenDelegatingHandler&lt;/code&gt; (which you discovered and shared with me offline). The type used for the &lt;code&gt;TokenDelegatingHandler&lt;/code&gt; is set in the &lt;code&gt;api/services/configuration/delegatingHandlers&lt;/code&gt; node list in the config, which means that you can add a patch to use your own implementation. Your implementation would then be used to instantiate your own &lt;code&gt;SigningTokenProvider&lt;/code&gt; type, which you could then customize to suit your needs.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Implementing the &lt;code&gt;SigningTokenProvider&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The first thing that you will need to do is create your own implementation of the &lt;code&gt;SigningTokenProvider&lt;/code&gt; class. Unfortunately, since the &lt;code&gt;ValidateToken&lt;/code&gt; method that you are looking to override is not marked virtual and - even if it was - all of the properties and fields that it uses are either private or internal, you are going to need to completely replace the native &lt;code&gt;SigningTokenProvider&lt;/code&gt; type with your own implementation. IMHO, the easiest way to do this is to decompile the &lt;em&gt;Sitecore.Services.Infrastructure.Sitecore.dll&lt;/em&gt; assembly and copy and paste the class' body into your own. For clarity, let's assume that your copy of this is named &lt;code&gt;MySigningTokenProvider&lt;/code&gt;, and that you have performed the necessary refactoring of the class name and constructor names.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have added/resolved any and all missing references, you will notice a slight problem in your parameterless constructor: the &lt;code&gt;ApplicationContainer.ConfigurationSettingsLoader&lt;/code&gt; delegate is marked &lt;code&gt;internal&lt;/code&gt;, and thus cannot be referenced from your implementation. The delegate looks as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;internal static Func&amp;lt;Sitecore.Services.Core.Configuration.ConfigurationSettings&amp;gt; ConfigurationSettingsLoader = (Func&amp;lt;Sitecore.Services.Core.Configuration.ConfigurationSettings&amp;gt;) (() =&amp;gt; new ConfigurationReader((IConfigurationSectionProvider) new ConfigurationSectionReader()).Load());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After removing the namespaces and explicit type-casts and formatting a little to make it a little easier to read on SSE:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;internal static Func&amp;lt;ConfigurationSettings&amp;gt; ConfigurationSettingsLoader = &#xA;    () =&amp;gt; &#xA;        new ConfigurationReader(new ConfigurationSectionReader()).Load();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are a few ways around this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;NO:&lt;/strong&gt; Replace the &lt;code&gt;ApplicationContainer&lt;/code&gt; with your own that marks the delegate &lt;code&gt;public&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;NO:&lt;/strong&gt; Rename your project to &lt;code&gt;Sitecore.Services.Infrastructure.Sitecore.Test&lt;/code&gt; so that you can reference &lt;code&gt;internal&lt;/code&gt; members&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;YES:&lt;/strong&gt; Copy the very simple delegate that simply instantiates a new instance of a public type and doesn't pass in anything internal, private, etc. from the &lt;code&gt;ApplicationContainer&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Once you have replaced the invocation of &lt;code&gt;ApplicationContainer.ConfigurationSettingsLoader&lt;/code&gt; with the invocation of a local, duplicate implementation of the delegate, you should be free to implement your own version of the &lt;code&gt;ValidateToken&lt;/code&gt; method. All that should remain is to make sure that your new &lt;code&gt;MySigningTokenProvider&lt;/code&gt; class is used instead of the native &lt;code&gt;SigningTokenProvider&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Implementing the &lt;code&gt;TokenDelegatingHandler&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To make sure that your new &lt;code&gt;SigningTokenProvider&lt;/code&gt; implementation is used instead of the native one, there are two constructors in the native &lt;code&gt;TokenDelegatingHandler&lt;/code&gt; type that you will need to replace. Fortunately, both of the constructors are marked &lt;code&gt;protected&lt;/code&gt; and are bodiless. Since the constructors that you need to replace do not have property-setting bodies and none of the methods, properties, etc. need to be replaced, you can get away with simply inheriting from the native &lt;code&gt;TokenDelegatingHandler&lt;/code&gt; type and overriding the two constructors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The constructors that you will need to replace are the following: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public TokenDelegatingHandler()&#xA;  : this((ITokenProvider) new ConfiguredOrNullTokenProvider((ITokenProvider) new SigningTokenProvider()), (IUserService) new UserService())&#xA;{&#xA;}&#xA;&#xA;...&#xA;&#xA;protected TokenDelegatingHandler(HttpMessageHandler innerHandler)&#xA;  : this(innerHandler, (ITokenProvider) new ConfiguredOrNullTokenProvider((ITokenProvider) new SigningTokenProvider()), (IUserService) new UserService())&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your &lt;code&gt;TokenDelegatingHandler&lt;/code&gt; should then look something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyTokenDelegatingHandler : Sitecore.Services.Infrastructure.Sitecore.Security.TokenDelegatingHandler &#xA;{&#xA;    public MyTokenDelegatingHandler()&#xA;        : this((ITokenProvider) new ConfiguredOrNullTokenProvider((ITokenProvider) new MySigningTokenProvider()), (IUserService) new UserService())&#xA;    {&#xA;    }&#xA;&#xA;    protected MyTokenDelegatingHandler(HttpMessageHandler innerHandler)&#xA;        : this(innerHandler, (ITokenProvider) new ConfiguredOrNullTokenProvider((ITokenProvider) new MySigningTokenProvider()), (IUserService) new UserService())&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Sitecore Support&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The behavior that you described sounds to me like a bug, since the code is blowing up when trying to write to the log. I recommend that you file a Sitecore Support ticket for this issue, in order to make them aware and get their teams working on a patch. They may also provide you with a Support patch that you can use in place of rolling your own &lt;code&gt;SigningTokenProvider&lt;/code&gt; and &lt;code&gt;TokenDelegatingHandler&lt;/code&gt; types, which - IMHO - is a better long-term solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you reach out to Sitecore Support and they provide you with a patch and/or a reference number, be sure to update your post with that information for other members to use as a reference if they experience the same issue ;)&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-06-07T16:02:29.360" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6046" PostTypeId="1" AcceptedAnswerId="6047" CreationDate="2017-06-07T17:09:40.433" Score="18" ViewCount="9170" Body="&lt;p&gt;Currently, when a user clicks on a PDF link on my site (served from the Media Library), the browser will download the PDF file. I'd like to change the behavior from downloading to opening in browser (I am aware that users can change their browser settings to force the behavior they want; I want to change the default behavior).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I need to change the &lt;code&gt;Content-Disposition&lt;/code&gt; response header to have &lt;code&gt;inline;&lt;/code&gt; instead of &lt;code&gt;attachment;&lt;/code&gt;. I could write a pipeline processor to change the &lt;code&gt;Content-Disposition&lt;/code&gt; header, but I was hoping Sitecore had a setting for this specific behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My site is currently on Sitecore 8.2 rev 161221.&lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="312" LastEditDate="2017-06-08T06:13:47.213" LastActivityDate="2022-09-19T03:48:02.080" Title="Configuring Sitecore to display PDFs in browser" Tags="|configuration|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6047" PostTypeId="2" ParentId="6046" CreationDate="2017-06-07T17:09:40.433" Score="24" Body="&lt;p&gt;The &lt;code&gt;&amp;lt;mediaLibrary&amp;gt;&amp;lt;mediaTypes&amp;gt;&lt;/code&gt; section of Sitecore.config (or web.config in older versions of Sitecore) contains a &lt;code&gt;&amp;lt;mediatype&amp;gt;&lt;/code&gt; element for each file type. Within each mediatype element is a &lt;code&gt;&amp;lt;forceDownload&amp;gt;&lt;/code&gt; element. The &lt;code&gt;Content-Disposition&lt;/code&gt; header will be set according to the value of the &lt;code&gt;forceDownload&lt;/code&gt; setting; &lt;code&gt;attachment;&lt;/code&gt; for true, &lt;code&gt;inline;&lt;/code&gt; for false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, &lt;code&gt;forceDownload&lt;/code&gt; is set to &lt;code&gt;true&lt;/code&gt; for PDFs. Changing this value to false will instruct browsers to view the file instead of download.&lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2017-06-07T17:09:40.433" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6048" PostTypeId="1" AcceptedAnswerId="6049" CreationDate="2017-06-07T17:23:58.283" Score="2" ViewCount="6416" Body="&lt;p&gt;I am new to using the RenderingModel, preferably I would just use a strongly typed model, but my company wants to keep things thin and out of the box, here is my code, I just need to understand how to get the media library image&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;@{ &#xA;    var image = @Html.Sitecore().Field(&quot;Feature Image&quot;, Model.Item);&#xA;&#xA;}&#xA;&#xA;&amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&amp;lt;img class=&quot;img-responsive&quot; src=&quot;@image&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1227" LastActivityDate="2017-06-07T17:40:08.167" Title="how do I get an image from the Media library using RendingModel" Tags="|mvc|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6049" PostTypeId="2" ParentId="6048" CreationDate="2017-06-07T17:40:08.167" Score="4" Body="&lt;p&gt;As Mark mentioned, &lt;a href=&quot;https://stackoverflow.com/questions/24828908/get-media-url-in-view-in-sitecore-mvc&quot;&gt;this post&lt;/a&gt; provides you with one answer, using extension methods.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe what you want is simpler tho. The &lt;code&gt;@Html.Sitecore().Field(....)&lt;/code&gt; method will return you a fully rendered &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag. So you can just use that in your mark up:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;&amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;    @Html.Sitecore().Field(&quot;Feature Image&quot;, Model.Item, new { @class = &quot;img-responsive&quot; })&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that you can pass in a new dynamic object to the field renderer, that dynamic object will be converted to attributes on the rendered image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This would render out to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;    &amp;lt;img src=&quot;~/media/path-to-your-image.ashx&quot; class=&quot;img-responsive&quot; /&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-06-07T17:40:08.167" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6050" PostTypeId="1" CreationDate="2017-06-07T18:27:11.933" Score="1" ViewCount="2550" Body="&lt;p&gt;Here is my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;btn-lg&quot;&amp;gt;@Html.Sitecore().Field(&quot;Feature Link&quot;, Model.Item, new { text = @Html.Sitecore().Field(&quot;Feature Link Button Text&quot;, Model.Item)})&amp;lt;/div&amp;gt;  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;here is what it is rendering:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a  Apply &amp;gt;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="277" LastEditDate="2017-06-07T18:31:29.797" LastActivityDate="2017-06-08T06:20:55.630" Title="Why is my href not being rendered on @html.Sitecore().Field(link)" Tags="|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6051" PostTypeId="2" ParentId="6050" CreationDate="2017-06-07T18:31:14.607" Score="3" Body="&lt;h2&gt;Original problem was data related. Answer below explains how to achieve same thing in cleaner (and possibly safer) way&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I guess Sitecore cannot handle nested &lt;code&gt;@Html.Sitecore().Field()&lt;/code&gt; code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;btn-lg&quot;&amp;gt;&#xA;    @Html.Sitecore().BeginField(&quot;Feature Link&quot;, Model.Item)&#xA;    @Html.Sitecore().Field(&quot;Feature Link Button Text&quot;, Model.Item)&#xA;    @Html.Sitecore().EndField()&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-06-08T06:20:55.630" LastActivityDate="2017-06-08T06:20:55.630" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6052" PostTypeId="1" AcceptedAnswerId="6063" CreationDate="2017-06-08T08:34:15.543" Score="8" ViewCount="380" Body="&lt;p&gt;I want to use &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Instance-Manager/releases&quot; rel=&quot;noreferrer&quot;&gt;SIM&lt;/a&gt; in my local deployment scripts but I cannot figure out where to find the tool. I expected it to be here, but the &lt;code&gt;Apps&lt;/code&gt; folder is empty:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;%appdata%\Sitecore\Sitecore Instance manager\Apps\SIMCMD\sim.exe&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found &lt;code&gt;SIM.Tool.exe&lt;/code&gt;under the following (quite strange) path, but that is just a UI tool launcher:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;%AppData%\Local\Apps\2.0\3THNC6J1.QKG\1JZ9G8ZG.8MR\sim...tion_abafaebf7cc9a2b2_0001.0005_f7e46463611ea296 &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea if the command line tool is still supported?&lt;br&gt;&#xA;My version: SIM 1.5.0.2&lt;/p&gt;&#xA;" OwnerUserId="272" LastEditorUserId="73" LastEditDate="2017-06-08T14:21:42.440" LastActivityDate="2017-06-09T00:12:48.677" Title="Can I use SIM command line for local deployments?" Tags="|sim|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6053" PostTypeId="2" ParentId="6052" CreationDate="2017-06-08T08:55:57.470" Score="3" Body="&lt;h1&gt;SIM is a click-once application&lt;/h1&gt;&#xA;&lt;p&gt;You can launch it from command line, but it's not so obvious how. There are a couple of ways to launch it. One would be to invoke something like iexplore.exe, pointing it to the URL of the SIM installation.&lt;/p&gt;&#xA;&lt;p&gt;My preferred method is launching it via the local &lt;code&gt;.appref-ms&lt;/code&gt; file. You find it like this:&lt;/p&gt;&#xA;&lt;p&gt;Open up &amp;quot;Start&amp;quot;, find SIM.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tjMkn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tjMkn.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Right click and Open File Location.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dh5gp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dh5gp.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In this folder, you will find your &lt;code&gt;.appref-ms&lt;/code&gt; file. This is what you need to launch from your command line.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dJNOw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dJNOw.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h1&gt;Automated installation from the command line&lt;/h1&gt;&#xA;&lt;p&gt;Is planned for SIM 2.0. Reference: &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Instance-Manager/issues/18&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Instance-Manager/issues/18&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;But there is another way.&lt;/h2&gt;&#xA;&lt;p&gt;Using the &lt;a href=&quot;https://github.com/HedgehogDevelopment/BuildExtensions/tree/master/Hedgehog.Tds.Build.Sim.Console&quot; rel=&quot;nofollow noreferrer&quot;&gt;Hedgehog.Tds.Build.Sim.Console&lt;/a&gt;, which is a tool meant specifically to handle this current shortcoming.&lt;/p&gt;&#xA;&lt;p&gt;Also blogged about by Jeremy Davis here: &lt;a href=&quot;https://jermdavis.wordpress.com/2015/04/13/how-did-i-miss-this-bit-of-sim-automation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;HOW DID I MISS THIS BIT OF SIM AUTOMATION?&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Example use:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Hedgehog.Tds.Build.Sim.Console.exe install&#xA;  &amp;quot;InstanceName:demo.tds&amp;quot;&#xA;  &amp;quot;InstanceDirectory:c:\sitecore&amp;quot;&#xA;  &amp;quot;RepoDirectory:c:\sitecorerepo&amp;quot;&#xA;  &amp;quot;RepoFile:Sitecore 7.1 rev. 130926.zip&amp;quot;&#xA;  &amp;quot;ConnectionString:Data Source=.;User ID=sitecore;Password=sitecore123&amp;quot;&#xA;  &amp;quot;AppPoolIdentity:NetworkService&amp;quot;&#xA;  &amp;quot;LicencePath:C:\Sitecore\license.xml&amp;quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-06-08T13:16:15.353" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6055" PostTypeId="2" ParentId="5793" CreationDate="2017-06-08T15:34:29.140" Score="6" Body="&lt;p&gt;Sitecore Commerce 8.2.1 uses a sort-of NOSQL approach to data, so what you see in SQL Server is a JSON-serialized representation of your order. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add extra information to an order by adding a new Component to an order. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kelly Heard from Sitecore has a blogpost (&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/the_commerce_experience/posts/simple-commerce-plugin&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/the_commerce_experience/posts/simple-commerce-plugin&lt;/a&gt;) on how to extend a line item which you can easily extend to extending an order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need help, let me know.&lt;/p&gt;&#xA;" OwnerUserId="1749" LastActivityDate="2017-06-08T15:34:29.140" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6056" PostTypeId="1" CreationDate="2017-06-08T17:21:41.387" Score="1" ViewCount="716" Body="&lt;p&gt;We are having an issue with Synthesis and Unicorn in the same solution.  I'm not sure if Helix really applies in this scenario but might be something to consider, since there are multiple projects and multiple Synthesis and Unicorn configurations.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if Developer A creates new Sitecore items and then creates a new Unicorn configuration (usually for a feature).  They then create the Synthesis based models.  That all works perfectly fine.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Developer B gets latest and runs the gulp task to publish all files.  Then they go to /unicorn.aspx to sync the new sitecore items, but they get a Synthesis error about the items not existing in the tree. (because they didn't sync the items with unicorn yet)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an option in Synthesis to prevent this scenario from occurring, and to give the developer enough time to Sync Unicorn, before any Synthesis functionality occurs?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-07-10T08:12:10.523" Title="Unicorn with Synthesis Solution in a Helix Implementation" Tags="|helix|unicorn|synthesis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6057" PostTypeId="1" AcceptedAnswerId="6058" CreationDate="2017-06-08T18:01:04.037" Score="5" ViewCount="5347" Body="&lt;p&gt;I have an item bucket, and what is the best way to get all their children programatically?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="90" LastEditDate="2017-07-21T20:45:31.653" LastActivityDate="2017-07-21T20:45:31.653" Title="How to get all the items from a bucket" Tags="|buckets|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6058" PostTypeId="2" ParentId="6057" CreationDate="2017-06-08T18:12:39.353" Score="4" Body="&lt;p&gt;The best way would be to leverage the &lt;code&gt;Sitecore.ContentSearch&lt;/code&gt; APIs to search for all items&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public List&amp;lt;T&amp;gt; GetAllItemsFromBucket(string bucketPath)&#xA;{&#xA;    var index = ContentSearchManager.GetIndex(&quot;{index name}&quot;);&#xA;    using (var context = index.CreateSearchContext())&#xA;    {&#xA;        var results = context.GetQueryable&amp;lt;T&amp;gt;().Where(x =&amp;gt; x.Path.StartsWith(bucketPath)).ToList();&#xA;        foreach (var result in results) _service.Map(result);&#xA;        return results;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Depending on where you are using this logic you can either setup a custom index or leverage one of the built in sitecore indexes (&lt;code&gt;sitecore_master_index&lt;/code&gt; or &lt;code&gt;sitecore_web_index&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information on how to setup and use the Sitecore.ContentSearch API, you can read more at the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/searching&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation Search section&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="731" LastEditorUserId="70" LastEditDate="2017-06-08T18:33:13.710" LastActivityDate="2017-06-08T18:33:13.710" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6059" PostTypeId="2" ParentId="6057" CreationDate="2017-06-08T18:31:33.560" Score="4" Body="&lt;p&gt;To add to Patricks answer, you can also instantiate a search context using the root bucket item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;given Item bucketItem&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IIndexable index = new SitecoreIndexableItem(bucketItem);&#xA;using (var context = ContentSearchManager.GetIndex(index).CreateSearchContext())&#xA;{&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-06-08T18:31:33.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6060" PostTypeId="1" AcceptedAnswerId="6069" CreationDate="2017-06-08T20:49:34.360" Score="2" ViewCount="265" Body="&lt;p&gt;I have a scenario where I need to programmatically set a Profile to the &lt;code&gt;Tracker.Current.Interaction.Profiles&lt;/code&gt; if it is not present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to achieve this by using &lt;code&gt;BehaviorProfileConverter&lt;/code&gt; but I rolled back the code. The reason of rollback is because I fear it will cost me in terms of performance as it makes use of &lt;strong&gt;Reflection&lt;/strong&gt; to create objects but also, this will need to run each time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The below snippet is from the &lt;code&gt;Sitecore.Analytics.Pipelines.InitializeInteractionProfile.CopyProfiles&lt;/code&gt; and it is the &lt;code&gt;BehaviorProfileConverterBase&lt;/code&gt; which makes use of Reflection&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;BehaviorProfileConverterBase profileConverterBase = BehaviorProfileConverterBase.Create();&#xA;&#xA;IList&amp;lt;ProfileData&amp;gt; profileDataList = (IList&amp;lt;ProfileData&amp;gt;)new List&amp;lt;ProfileData&amp;gt;();&#xA;&#xA;foreach (IBehaviorProfileContext profiles in behaviorProfiles.Profiles)&#xA;{&#xA;    ProfileData profileData = profileConverterBase.Convert(profiles);&#xA;    profileDataList.Add(profileData);&#xA;}&#xA;&#xA;args.Session.Interaction.Profiles.Initialize((IEnumerable&amp;lt;ProfileData&amp;gt;)profileDataList);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas how to set the &lt;strong&gt;&lt;em&gt;Profile&lt;/em&gt;&lt;/strong&gt; programmatically?&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-06-08T21:34:44.760" LastActivityDate="2017-06-09T10:49:05.757" Title="Add Profile programmatically if not present" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6061" PostTypeId="1" AcceptedAnswerId="6081" CreationDate="2017-06-08T21:21:27.213" Score="1" ViewCount="364" Body="&lt;p&gt;I publish some items in two languages(NZL and AUS) but when I came back to my US site i found that those items were not found in US site..Any idea why did this happen?&#xA;Appreciate with examples or any link would be helpful too.&lt;/p&gt;&#xA;" OwnerUserId="1918" LastActivityDate="2017-06-09T18:13:45.780" Title="Publishing issue in various languages" Tags="|publishing|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6063" PostTypeId="2" ParentId="6052" CreationDate="2017-06-09T00:07:39.987" Score="4" Body="&lt;p&gt;It is very simple to run &lt;strong&gt;SIMCMD&lt;/strong&gt; (Command Line version of SIM):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open SIM&lt;/li&gt;&#xA;&lt;li&gt;Click Bundled Tools - Command Line&lt;/li&gt;&#xA;&lt;li&gt;Voilà&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WwnZa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WwnZa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;N.B.&lt;/strong&gt; Step 2 here simply downloads latest version from &lt;a href=&quot;http://dl.sitecore.net/updater/1.1/simcmd/simcmd.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;dl.sitecore.net&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; even though it is available in Release version, this feature is still kind of experimental and does not support all functions of full version. So I highly recommend to check the source code of the commands before using them in (pre-)production environment. &lt;/p&gt;&#xA;" OwnerUserId="2026" LastEditorUserId="2026" LastEditDate="2017-06-09T00:12:48.677" LastActivityDate="2017-06-09T00:12:48.677" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6064" PostTypeId="1" AcceptedAnswerId="6074" CreationDate="2017-06-09T02:30:39.847" Score="4" ViewCount="688" Body="&lt;p&gt;I have one Sitecore Register Form (not with WFFM). When user Register, I am trying to send confirmation email. However, somehow this is not working for the first time. My contact is not receiving verification email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what briefly I am doing &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Identify contact using identify method&lt;/li&gt;&#xA;&lt;li&gt;Set preferred email address by setting up Facet on contact if not already set&lt;/li&gt;&#xA;&lt;li&gt;and then use EXM send standard message passing message id and current&#xA;contact.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I suspect this is because there is no Facet is stored in Mongo contact for the first time. At least I did not see using Robo Mongo. After Session End Contact data will be flushed to Mongo.&#xA;When visitor does registration again, this time contact has Email Facet and able to receive registration email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Appreciate any help on this&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-06-09T12:22:10.527" LastActivityDate="2017-06-12T12:54:20.973" Title="Sitecore Contact Send Email using EXM" Tags="|xdb|exm|contact-facets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6065" PostTypeId="1" AcceptedAnswerId="6066" CreationDate="2017-06-09T08:23:26.603" Score="1" ViewCount="103" Body="&lt;p&gt;We are testing a project that got upgraded from an ancient 6.5 version to 8.1. We noticed that events related to publishing certain items got fired without any reason (well, not that we can see). The logs do mention publishes, so the event is right: somehow the publish does get triggered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But we have no clue why.. we certainly did not perform a manual publish. We do have some automated processes but not on those items. And it doesn't happen on the old version. Any idea why since the upgrade items get published without anyone actually publishing them? &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-09T08:23:26.603" Title="Items getting published unexpectedly after upgrade to 8.1" Tags="|publishing|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6066" PostTypeId="2" ParentId="6065" CreationDate="2017-06-09T08:23:26.603" Score="3" Body="&lt;p&gt;In our solution we had some code that published single items using the &lt;code&gt;PublishManager.PublishItem&lt;/code&gt;. This still works in Sitecore 8, but an overloaded method was added with one extra parameter: &quot;related items&quot;. And we found that this parameter is true if not added explicitly:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static Handle PublishItem(Item item, Database[] targets, Language[] languages, bool deep, bool compareRevisions)&#xA;{&#xA;  return PublishManager.PublishItem(item, targets, languages, deep, compareRevisions, true);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So our publish code was still calling a working publish method, but included the related items now - which was not intended. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info on publishing with related items can be found here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1615/what-does-the-publish-related-items-checkbox-do-in-sitecore&quot;&gt;What does the &amp;quot;Publish related items&amp;quot; checkbox do in Sitecore?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are upgrading a code base from a real old version (pre 7.2) to a new version, remember to check if you have any automated publishes as publishing these related items is probably not what you want.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-09T08:23:26.603" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6067" PostTypeId="1" AcceptedAnswerId="6068" CreationDate="2017-06-09T09:44:15.863" Score="9" ViewCount="305" Body="&lt;p&gt;We have two websites on separate physical installations with each there webservers, databases and mongodb.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to have the two websites use the same mongodb and thereby leverage the same contact/user data?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&lt;/p&gt;&#xA;" OwnerUserId="2027" LastActivityDate="2017-06-09T13:47:50.940" Title="Share xDB data between two installations - possible?" Tags="|xdb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6068" PostTypeId="2" ParentId="6067" CreationDate="2017-06-09T09:49:39.380" Score="8" Body="&lt;p&gt;We asked this question to Sitecore support a while ago as we had 2 instances with websites of the same company (one with sxa and one without).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We wanted to be able to use xDB without limitations, and asked if we could share Mongo to match contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The answer:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In order to have different goals, outcomes and so on you will have to&#xA;  use different content databases on different environments. If the&#xA;  analytics bases are the same, aggregation might work, but you will&#xA;  definitely see incorrect data in reports, as the analytics definition&#xA;  items are not shared.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Best practice is either use same databases in all environments, or use&#xA;  all different databases in different environments (which is better).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So if you have different databases, you should not use the same Mongo's. Which makes sense in a way, but can be a pity in some setups. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-09T09:49:39.380" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6069" PostTypeId="2" ParentId="6060" CreationDate="2017-06-09T10:49:05.757" Score="5" Body="&lt;h2&gt;Background&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;While we're at it, I'm going to explain the life cycle of profile objects in xDB.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When a new contact is created, its &lt;code&gt;BehaviorProfiles&lt;/code&gt; property doesn't have any objects.&lt;/li&gt;&#xA;&lt;li&gt;During a session, some profile objects may be added to the current interaction.&lt;/li&gt;&#xA;&lt;li&gt;On session end, profile data will be copied from the interaction to the contact.&lt;/li&gt;&#xA;&lt;li&gt;Between sessions, profile data persists in the &quot;Behavior Profiles&quot; facet of the contact document in the Collection database.&lt;/li&gt;&#xA;&lt;li&gt;In a new session, profile data is loaded as a part of the contact and is copied to a new interaction.&lt;/li&gt;&#xA;&lt;li&gt;Go to step 2.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The take-home point here is that normally you should add new profiles through the interaction API. Later on, this data will be automatically copied to the contact before it is stored in MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Adding a profile&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that the profile exists in &lt;code&gt;Tracker.DefinitionItems.Profiles[&quot;YOUR PROFILE NAME&quot;]&lt;/code&gt;. This basically means that the profile should be present under this path:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;/sitecore/system/Marketing Control Panel/Profiles&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Simply access the profile like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Profile profile = Tracker.Current.Interaction.Profiles[&quot;YOUR PROFILE NAME&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will create a profile object if it doesn't exist in the interaction yet. Then you can work with this profile as you normally would.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-06-09T10:49:05.757" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6070" PostTypeId="1" CreationDate="2017-06-09T10:49:40.177" Score="3" ViewCount="102" Body="&lt;p&gt;Whenever there is an error while logging in through facebook using Sitecore social connector, we get redirected to a url with query string &lt;code&gt;/?authResult=error&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But how do we get the cause of the error? Which pipeline do we use to catch and show the appropriate error message to the client? &lt;/p&gt;&#xA;" OwnerUserId="2019" LastEditorUserId="2727" LastEditDate="2018-03-22T13:29:23.373" LastActivityDate="2018-03-22T13:29:23.373" Title="Redirection to /?authResult=error whenever there is an error while logging using social connector" Tags="|social-connected|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6072" PostTypeId="1" AcceptedAnswerId="6076" CreationDate="2017-06-09T11:52:40.097" Score="3" ViewCount="564" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 8.1  (rev. 160519)&lt;/code&gt;. In Sitecore &lt;code&gt;FXM&lt;/code&gt; experience editor I have added one placeholder and component on it and publish all these changes, but it is not reflected on External Site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no errors in the FXM log files and the component is showing correctly in the FXM Experience Editor. When I try to figure out the external app post call request all was good but the component data is not present in the post call response. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also one capture click action which is working fine on external site and the click event is also getting captured in Sitecore Analytics. But the added component is not showing on external site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the response for the external site post call ,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;ContactId&quot;:&quot;17c0b00fdc2940bb9bfd9e18ebe16b1b|True&quot;,&#xA;    &quot;SessionId&quot;:&quot;pwes2czzeopmpwu5yxvsinv4&quot;,&#xA;    &quot;ContactExpires&quot;:&quot;2019-06-09T15:38:33.2587405&quot;,&#xA;    &quot;SessionPath&quot;:&quot;/&quot;,&#xA;    &quot;ElementMatches&quot;: [&#xA;        {&#xA;            &quot;Event&quot;:&quot;click&quot;,&#xA;            &quot;Selector&quot;:&quot;#sampleTest8&quot;,&#xA;            &quot;MatchType&quot;:&quot;event&quot;,&#xA;            &quot;Id&quot;:&quot;{55E71BAE-B122-4368-8336-87971355D099}&quot;&#xA;        },&#xA;        {&#xA;            &quot;Event&quot;:&quot;click&quot;,&#xA;            &quot;Selector&quot;:&quot;#myButton&quot;,&#xA;            &quot;MatchType&quot;:&quot;event&quot;,&#xA;            &quot;Id&quot;:&quot;{A3433F6F-CFE2-4642-B98F-DBFA8937B1AC}&quot;&#xA;        },&#xA;        {&#xA;            &quot;RenderedContent&quot;:&quot;&amp;lt;form method=\&quot;post\&quot; action=\&quot;/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=17c0b00fdc2940bb9bfd9e18ebe16b1b%7CTrue&amp;amp;amp;sessionId=pwes2czzeopmpwu5yxvsinv4&amp;amp;amp;page=http%3A%2F%2Fuatatpredesignexternalappfxm%2F&amp;amp;amp;referrer=&amp;amp;amp;rt=1497008313221\&quot; id=\&quot;ctl00\&quot;&amp;gt;\r\n&amp;lt;div class=\&quot;aspNetHidden\&quot;&amp;gt;\r\n&amp;lt;input type=\&quot;hidden\&quot; name=\&quot;__VIEWSTATE\&quot; id=\&quot;__VIEWSTATE\&quot; value=\&quot;/wEPDwUENTM4MQ8WAh4TVmFsaWRhdGVSZXF1ZXN0TW9kZQIBZGS4wHrFc7sgWChOhH+pjsBq5hYlqg==\&quot;/&amp;gt;\r\n&amp;lt;/div&amp;gt;\r\n\r\n &amp;lt;div class=\&quot;aspNetHidden\&quot;&amp;gt;\r\n\r\n\t&amp;lt;input type=\&quot;hidden\&quot; name=\&quot;__VIEWSTATEGENERATOR\&quot; id=\&quot;__VIEWSTATEGENERATOR\&quot;  value=\&quot;B82EF22B\&quot; /&amp;gt;\r\n&amp;lt;/div&amp;gt;&amp;lt;/form&amp;gt;&quot;,&#xA;            &quot;RenderedPosition&quot;:&quot;{B8F49EBF-2542-4CB0-B3BB-63858918CE8B}&quot;,&#xA;            &quot;Selector&quot;:&quot;#sampleTest1&amp;gt; &amp;gt; b&quot; ,&#xA;            &quot;MatchType&quot;:&quot;content&quot;,&#xA;            &quot;Id&quot;:&quot;{D8C7CE48-E12A-4703-A16D-C0F20D728B2F}&quot;&#xA;        }&#xA;    ],&#xA;    &quot;Id&quot;:null,&#xA;    &quot;Url&quot;:null&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1422" LastEditorUserId="70" LastEditDate="2019-06-11T13:55:59.157" LastActivityDate="2019-06-11T13:55:59.157" Title="FXM External Site Not Showing Added Component" Tags="|fxm|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="6074" PostTypeId="2" ParentId="6064" CreationDate="2017-06-09T13:43:56.737" Score="3" Body="&lt;p&gt;You can force the contact email into xDB so it will be available during the session.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Contact contact = Tracker.Current.Session.Contact;&#xA;&#xA;//update email in xDB&#xA;var recipientRepository = RecipientRepository.GetDefaultInstance();&#xA;RecipientId recipientId = new XdbContactId(contact.ContactId);&#xA;recipientRepository.UpdateRecipientEmail(recipientId, emailAddress);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Contact Repository Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ContactRepository&#xA;{&#xA;    private readonly RecipientRepository _recipientRepository;&#xA;&#xA;    public ContactRepository()&#xA;    {&#xA;        _recipientRepository = RecipientRepository.GetDefaultInstance();&#xA;    }&#xA;&#xA;    protected Sitecore.Analytics.Tracking.Contact CurrentContact&#xA;    {&#xA;        get { return Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.Session != null ? Tracker.Current.Session.Contact : null; }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Identifies the current contact using the provided email string&#xA;    /// and forces that email into xDB&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;email&quot;&amp;gt;identifier string&amp;lt;/param&amp;gt;&#xA;    public void SetIdentifier(string email)&#xA;    {&#xA;        Tracker.Current.Session.Identify(email);&#xA;&#xA;        var recipientId = new XdbContactId(CurrentContact.ContactId);&#xA;        _recipientRepository.UpdateRecipientEmail(recipientId, email);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The ContactRepository is a dependency of any component or other fixture that needs to use or interact with contact information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The RecipientRepository can be a dependency of the ContactRepository, instantiated in its constructor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This class can also be used to manage existing or custom contact facets such as PersonalInfo, EmailInfo, etc.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="1150" LastEditDate="2017-06-12T12:54:20.973" LastActivityDate="2017-06-12T12:54:20.973" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6076" PostTypeId="2" ParentId="6072" CreationDate="2017-06-09T14:04:37.820" Score="5" Body="&lt;p&gt;This is a general issue if you don't publish or you not configure Language rules. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please look on a attached picture how to configure Language rules. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t1rbK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t1rbK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-09T14:04:37.820" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6077" PostTypeId="1" CreationDate="2017-06-09T14:16:14.857" Score="6" ViewCount="307" Body="&lt;p&gt;Our website has a search feature where the user types in a keyword and the results page lists out links to all the pages that the keyword is found on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want one particular page to come up at the top for one specific search term. The term is &quot;download&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get that one specific page to always be the first result for the &quot;download&quot; search?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 Update 3&lt;/p&gt;&#xA;" OwnerUserId="404" LastActivityDate="2017-06-09T14:56:58.417" Title="Boost Search Placement for One Page and One Keyword" Tags="|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6078" PostTypeId="2" ParentId="6077" CreationDate="2017-06-09T14:56:58.417" Score="1" Body="&lt;p&gt;If you want it guaranteed to be the first result any time the term &lt;code&gt;download&lt;/code&gt; is used, you might be better off manually adding it to the top of the list when you detect that word. Its a bit of a hack, but would guarantee the result you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to do it by boosting, your code will need to add that page ID to the query and boost that. You can use the PredicateBuilder to do it, something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;).CreateSearchContext())&#xA;{&#xA;    var forcedPageId = new ID(&quot;your pages guid&quot;);&#xA;    Expression&amp;lt;Func&amp;lt;SearchResultItem, bool&amp;gt;&amp;gt; innerPredicate = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;&#xA;    if (searchTerm.Contains(&quot;download&quot;))&#xA;    {&#xA;        innerPredicate = innerPredicate.And(i =&amp;gt; i.Content.Contains(searchTerm))&#xA;            .Or(i =&amp;gt; i.Content.Contains(searchTerm) &amp;amp;&amp;amp; i.ItemId.Equals(forcedPageId).Boost(5f));&#xA;    }&#xA;    else&#xA;    {&#xA;        innerPredicate = innerPredicate.And(i =&amp;gt; i.Content.Contains(searchTerm));&#xA;    }&#xA;&#xA;    var results = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;        .Where(innerPredicate);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where the search term contains &quot;download&quot; we are searching on the term and &quot;or&quot;ing that with the same search also filtered by your pages ID and boosting that part of the search. So any results that contain that page ID should be boosted higher than other pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note - this is not tested and intended to give you a guide on how you might achieve this, the code is not production worthy ;)&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-06-09T14:56:58.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6079" PostTypeId="1" AcceptedAnswerId="6266" CreationDate="2017-06-09T16:07:51.223" Score="3" ViewCount="2333" Body="&lt;p&gt;We are upgrading from sitecore 7.2 website to the latest 8.2 update 3. and the website is giving this error - Could not find configuration node: &lt;code&gt;settings/setting[@name='MediaFolder']/@value&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any fix?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References to MediaFolder word in Configuration:&lt;a href=&quot;https://i.stack.imgur.com/fBCym.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fBCym.jpg&quot; alt=&quot;search results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stack Trace:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[InvalidOperationException: Could not find configuration node: settings/setting[@name='MediaFolder']/@value]&#xA;     Sitecore.Configuration.DefaultFactory.GetConfigNode(String xpath, Boolean assert) +525&#xA;     Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +273&#xA;     Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +170&#xA;     Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +116&#xA;     Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;     Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +615&#xA;     Sitecore.Configuration.DefaultFactory.GetString(String configPath, Boolean assert) +57&#xA;     Sitecore.IO.FileWatcher..ctor(String configReference) +235&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;     System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck) +0&#xA;     System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark) +197&#xA;     System.Activator.CreateInstance(Type type, Boolean nonPublic) +105&#xA;     System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp;amp; stackMark) +1484&#xA;     System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +289&#xA;     System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +27&#xA;     System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +79&#xA;     System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +222&#xA;     System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1086&#xA;     System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +123&#xA;     System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169&#xA;     System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +396&#xA;     System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +333&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]&#xA;     System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525&#xA;     System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +124&#xA;     System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +700&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2025" LastEditorUserId="70" LastEditDate="2017-06-09T17:26:10.757" LastActivityDate="2017-06-20T19:57:48.670" Title="Could not find configuration node: settings/setting[@name='MediaFolder']/@value" Tags="|configuration|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="6081" PostTypeId="2" ParentId="6061" CreationDate="2017-06-09T18:13:45.780" Score="3" Body="&lt;p&gt;You have a US Site which I assume is in language &lt;code&gt;en-US&lt;/code&gt; and you are publishing 2 languages (NZL and AUS). The reason why the published item will not be available on the US Site is because of the context language of the site. The US Site will only load items which have a version in the &lt;code&gt;en-US&lt;/code&gt; language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on this comment&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Actually I published some items from AUD and NZD sites that has&#xA;  publishing target to one WEB DB so by mistake Config team has&#xA;  published the whole folder but due to that publishing Items got&#xA;  deleted from US sites&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The main reason why the items for the US Site got disappear is due to the Publish Restriction. The Publish Restriction will remove the items from the Target Database if set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can directly see on the item if there is a publish restriction set on it if you have &lt;code&gt;unchecked&lt;/code&gt; the Publishable checkbox from the &lt;strong&gt;Item Tab&lt;/strong&gt; of the Publish Restriction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nW62D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nW62D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have 2 Databases in the &lt;strong&gt;Target Tab&lt;/strong&gt; and only 1 is selected, the item will only be published to the selected one and get removed from the other one. When this is &lt;em&gt;activated&lt;/em&gt;, it will not show any warnings like the one for &lt;strong&gt;Item Tab&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-06-09T18:13:45.780" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6082" PostTypeId="1" AcceptedAnswerId="6117" CreationDate="2017-06-09T18:34:51.480" Score="5" ViewCount="1380" Body="&lt;p&gt;I've seen an SSL/TLS error a couple of times which causes EXM to fail to send emails (some still work, but not all). It's kind of weird because it happens pretty infrequently and it goes away if you restart the server (not an iisreset, a full machine reboot), both of which seem very odd for an SSL problem. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This previously only happened on our Staging site, which did have a valid cert and could be hit with https. &#xA;Earlier this week they changed the certs on our Prod site and now I've seen the problem for the first time there. As far as I know the only difference in the cert is that the ProdCD is now using an EV SSL cert instead of a wildcard cert. I'm not sure that this is the cause of the problem, but it seems worth mentioning. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're using a Custom SMTP, Sendgrid, with the following settings. I've tried with StartTls set to both true and false, doesn't seem to matter. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;exm&amp;gt;&#xA;      &amp;lt;eds&amp;gt;&#xA;        &amp;lt;smtpSettings type=&quot;Sitecore.EDS.Core.Net.Smtp.SmtpSettings, Sitecore.EDS.Core&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;          &amp;lt;server&amp;gt;smtp.sendgrid.net&amp;lt;/server&amp;gt;&#xA;          &amp;lt;port&amp;gt;PORT&amp;lt;/port&amp;gt;&#xA;          &amp;lt;userName&amp;gt;USERNAME&amp;lt;/userName&amp;gt;&#xA;          &amp;lt;password&amp;gt;PASSWORD&amp;lt;/password&amp;gt;&#xA;          &amp;lt;authenticationMethod&amp;gt;LOGIN&amp;lt;/authenticationMethod&amp;gt;&#xA;          &amp;lt;startTls&amp;gt;true&amp;lt;/startTls&amp;gt;&#xA;          &amp;lt;proxySettings ref=&quot;exm/eds/proxySettings&quot; /&amp;gt;&#xA;        &amp;lt;/smtpSettings&amp;gt;&#xA;      &amp;lt;/eds&amp;gt;&#xA;    &amp;lt;/exm&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's the log from one of the times it happened on Stage, but on the new Prod site the error is the same:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Security.Authentication.AuthenticationException&#xA;Message: The remote certificate is invalid according to the validation procedure.&#xA;Source: System&#xA;   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)&#xA;   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)&#xA;   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&#xA;   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)&#xA;   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;   at System.Net.ConnectStream.WriteHeaders(Boolean async)&#xA;&#xA;&#xA;MessageTaskRunner worker thread 18 19:13:07 ERROR Exception: Sitecore.Modules.EmailCampaign.Exceptions.NonCriticalException&#xA;Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.&#xA;Source: Sitecore.EmailCampaign&#xA;   at Sitecore.Modules.EmailCampaign.Core.WebContent.DownloadString(String url, Boolean useIisCredentials, String userAgent)&#xA;   at Sitecore.Modules.EmailCampaign.Messages.WebPageMail.GetMessageBody(Boolean preview)&#xA;   at Sitecore.Modules.EmailCampaign.Core.Dispatch.DispatchTask.GenerateEmailContent(Recipient recipient, String emailAddress, Language language, Guid recipientId, Dictionary`2 customPersonTokens, DateTime&amp;amp; startGetPageTime, DateTime&amp;amp; endGetPageTime, DateTime&amp;amp; startCollectFilesTime, DateTime&amp;amp; endCollectFilesTime)&#xA;   at Sitecore.Modules.EmailCampaign.Core.Dispatch.DispatchTask.OnSendToNextRecipient()&#xA;&#xA;MessageTaskRunner worker thread 18 19:13:07 ERROR Failed to send 'stage-internal-warranty-4_19_17' to 'xdb:d2292776-70e3-42a0-9f01-8dac692fa911'.&#xA;ManagedPoolThread #3 19:13:07 INFO  Dispatch Message (stage-internal-warranty-4_19_17): Finished&#xA;  Result:          FINISHED&#xA;  Message Id:      {9B40A687-9F0A-4AAC-9C4A-2F817145BB7A}&#xA;  Message Path:    /sitecore/content/Email Campaign/Messages/2017/04/17T153429/stage-internal-warranty-4_19_17&#xA;  Recipients Processed:    0&#xA;  Message Total Sent Recipients:    0&#xA;  Message Total Failed Recipients:  0&#xA;  Included Recipient Lists: &#xA;  Excluded Recipient Lists: &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1746" LastEditorUserId="90" LastEditDate="2017-06-09T23:09:05.700" LastActivityDate="2017-06-13T07:35:07.320" Title="EXM Could not establish trust relationship for the SSL/TLS Secure channel" Tags="|exm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6084" PostTypeId="1" CreationDate="2017-06-09T19:34:05.040" Score="2" ViewCount="157" Body="&lt;p&gt;We are in the process of upgrading website (sitecore 7.2 + glass.mapper 4.0 + glass.mapper.castlewindsor) to sitecore 8.2 + glass.mapper 4.3. Glass.Mapper.Sc.CastleWindsor has been discontinued and I came across an outdated article &lt;a href=&quot;http://www.glass.lu/Blog/MixingInIoc&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/Blog/MixingInIoc&lt;/a&gt;. Is there any latest documentation to integrating IoC with Glass.Mapper? Please advice.&lt;/p&gt;&#xA;" OwnerUserId="2025" LastEditorUserId="2025" LastEditDate="2017-06-13T15:29:37.193" LastActivityDate="2017-06-20T19:40:59.177" Title="Mixing in IoC containers in asp.net mvc website project with Sitecore 8.2 and latest glass mapper" Tags="|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6086" PostTypeId="1" CreationDate="2017-06-09T21:38:29.033" Score="4" ViewCount="1842" Body="&lt;p&gt;While integrating castle windsor into sitecore 8.2 project with glass.mapper, we are getting below error when it was trying to map Internal Link field type. Is there any specific version of glass mapper that resolves this issue? relevant glass issue # 227 - &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/issues/227&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/issues/227&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/LmeWy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LmeWy.png&quot; alt=&quot;Sitecore showconfig initialize section&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Exception:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: Glass.Mapper.MapperException Message: Failed to map&#xA;  property WidgetTitle on&#xA;  UNWomen.SC.Common.Model.Communications.sitecore.templates.UN_Women.Communications.Items.Generic_Highlight&#xA;  Source: Glass.Mapper    at&#xA;  Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object&#xA;  obj, IAbstractService service, AbstractTypeCreationContext context) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Configuration\AbstractTypeConfiguration.cs:line&#xA;  138&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Glass.Mapper.MapperException Message: Failed to map to&#xA;  property 'WidgetTitle' on type&#xA;  'UNWomen.SC.Common.Model.Communications.sitecore.templates.UN_Women.Communications.Items.Generic_Highlight'&#xA;  Source: Glass.Mapper    at&#xA;  Glass.Mapper.AbstractDataMapper.MapCmsToProperty(AbstractDataMappingContext&#xA;  mappingContext) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\AbstractDataMapper.cs:line&#xA;  68    at&#xA;  Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object&#xA;  obj, IAbstractService service, AbstractTypeCreationContext context) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Configuration\AbstractTypeConfiguration.cs:line&#xA;  121&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Glass.Mapper.MapperException Message: Failed to map to&#xA;  property 'WidgetTitle' on type&#xA;  'UNWomen.SC.Common.Model.Communications.sitecore.templates.UN_Women.Communications.Items.Generic_Highlight'&#xA;  Source: Glass.Mapper    at&#xA;  Glass.Mapper.AbstractDataMapper.MapCmsToProperty(AbstractDataMappingContext&#xA;  mappingContext) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\AbstractDataMapper.cs:line&#xA;  68    at&#xA;  Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object&#xA;  obj, IAbstractService service, AbstractTypeCreationContext context) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Configuration\AbstractTypeConfiguration.cs:line&#xA;  121&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Glass.Mapper.MapperException Message: Failed to map field&#xA;  {DD6452B1-3612-462B-92D3-534212C67172} with value&#xA;  /sitecore/content/Settings/Common&#xA;  Text/Communications/Widgets/Highlights Source: Glass.Mapper.Sc    at&#xA;  Glass.Mapper.Sc.DataMappers.AbstractSitecoreFieldMapper.GetField(Field&#xA;  field, SitecoreFieldConfiguration config, SitecoreDataMappingContext&#xA;  context) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\DataMappers\AbstractSitecoreFieldMapper.cs:line&#xA;  147    at&#xA;  Glass.Mapper.AbstractDataMapper.MapCmsToProperty(AbstractDataMappingContext&#xA;  mappingContext) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\AbstractDataMapper.cs:line&#xA;  60&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.NullReferenceException Message: Configuration&#xA;  Resolver pipeline did not return a type. Has the type been loaded by&#xA;  Glass.Mapper. Type: System.Object Source: Glass.Mapper    at&#xA;  Glass.Mapper.AbstractService.InstantiateObject(AbstractTypeCreationContext&#xA;  abstractTypeCreationContext) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\AbstractService.cs:line&#xA;  144    at Glass.Mapper.Sc.SitecoreService.CreateType(Type type, Item&#xA;  item, Boolean isLazy, Boolean inferType, Dictionary`2 parameters,&#xA;  Object[] constructorParameters) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\SitecoreService.cs:line&#xA;  506    at&#xA;  Glass.Mapper.Sc.DataMappers.SitecoreFieldTypeMapper.GetFieldValue(String&#xA;  fieldValue, SitecoreFieldConfiguration config,&#xA;  SitecoreDataMappingContext context) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\DataMappers\SitecoreFieldTypeMapper.cs:line&#xA;  64    at&#xA;  Glass.Mapper.Sc.DataMappers.AbstractSitecoreFieldMapper.GetField(Field&#xA;  field, SitecoreFieldConfiguration config, SitecoreDataMappingContext&#xA;  context) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\DataMappers\AbstractSitecoreFieldMapper.cs:line&#xA;  134&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2025" LastEditorUserId="605" LastEditDate="2017-06-09T22:34:24.853" LastActivityDate="2017-08-19T20:53:28.113" Title="Glass.Mapper.MapperException Message: Failed to map field" Tags="|glass-mapper|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6087" PostTypeId="1" CreationDate="2017-06-09T23:23:31.367" Score="1" ViewCount="132" Body="&lt;p&gt;I have installed and configured Enterprise Coveo Search as per documentation and after installing Coveo for Sitecore, when I browse the diagnostic page I am facing the issue below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/G2IwK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G2IwK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried connecting to CES, but couldn't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fvWQo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fvWQo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;AdminService is working as expected&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update Added Showconfig&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T0OP4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T0OP4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/io1dq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/io1dq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-06-10T22:42:33.197" LastActivityDate="2017-06-10T22:42:33.197" Title="Installing Coveo Enterprise Search 7.0 throwing COM Error" Tags="|coveo|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6088" PostTypeId="2" ParentId="6087" CreationDate="2017-06-10T04:19:34.507" Score="2" Body="&lt;p&gt;&lt;strong&gt;1&lt;/strong&gt; small mistake in the installation and it ruined all day. So, this is the issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you install Sitecore package, at one stage it's ask for &lt;strong&gt;secret key&lt;/strong&gt; for your REST endpoint. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;You must provide the &lt;code&gt;application secret key&lt;/code&gt; in &lt;code&gt;config.yml&lt;/code&gt; at &lt;strong&gt;C:\Program Files\Coveo Search API 8&lt;/strong&gt; (depends on your COVEO Search API  Installation folder).&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have &lt;strong&gt;mistakenly&lt;/strong&gt; generated new key instead of following above step which caused communication issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fjRD8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fjRD8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="605" LastEditDate="2017-06-10T16:48:54.407" LastActivityDate="2017-06-10T16:48:54.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6089" PostTypeId="2" ParentId="6084" CreationDate="2017-06-10T11:36:48.877" Score="1" Body="&lt;p&gt;In Sitecore 8.2 the old (good) config-based &lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Sitecore%20Configuration%20Factory/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Factory&lt;/a&gt; IoC container has been extended and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dependency_injection&quot; rel=&quot;nofollow noreferrer&quot;&gt;integrated with Microsoft DependencyInjection&lt;/a&gt;. Both frameworks are available OOTB now which allows to configure dependencies using either config files or code-based approach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before switching back to Castle Windsor (and paying the &lt;em&gt;integration&lt;/em&gt; price), you may want to evaluate the Microsoft DependencyInjection &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection&quot; rel=&quot;nofollow noreferrer&quot;&gt;capabilities&lt;/a&gt; and decide if this functionality is sufficient for the project needs. You can also read more about the new Siteore DI in &lt;a href=&quot;https://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-06-10T11:36:48.877" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6090" PostTypeId="1" AcceptedAnswerId="6096" CreationDate="2017-06-10T12:16:37.837" Score="2" ViewCount="205" Body="&lt;p&gt;I created a custom page event under &lt;code&gt;/Settings/Analytics/Page events/&lt;/code&gt; and assigned it on a page using the ribbon option under &lt;code&gt;Analytics -&amp;gt; Attributes&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to dynamically get the pageDefinitionId (GUID) of this custom event in code behind when registering the page event and not hard code the GUID. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried using &lt;code&gt;Tracker.Current.CurrentPage.PageEvents&lt;/code&gt; but it returns null. Looks like we can get the pageDefinitionId only after page event is registered by&lt;code&gt;page.Register(pageEventData)&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="354" LastEditorUserId="73" LastEditDate="2017-06-10T15:43:55.953" LastActivityDate="2017-06-10T16:33:18.040" Title="How can we get the pagedefinitionId of the page event dynamically?" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6092" PostTypeId="5" CreationDate="2017-06-10T14:21:31.330" Score="0" Body="&lt;p&gt;Dynamic placeholders helps us adding the same placeholder name several times. We can do this across multiple renderings, and we can even use the same placeholder multiple times in a single rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Dynamic placeholders mean that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Unique keys are guaranteed across different renderings and within&#xA;one rendering. &lt;/li&gt;&#xA;&lt;li&gt;We can build functionality that generates multiple placeholders within the same rendering dynamically.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dynamic_placeholders&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dynamic_placeholders&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2017/10/17/sitecore-9-dynamic-placeholders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2017/10/17/sitecore-9-dynamic-placeholders/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecorenutsbolts.net/2017/10/17/Sitecore-9-Dynamic-Placeholders-At-Last/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecorenutsbolts.net/2017/10/17/Sitecore-9-Dynamic-Placeholders-At-Last/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T07:06:09.923" LastActivityDate="2018-02-14T07:06:09.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6093" PostTypeId="4" CreationDate="2017-06-10T14:21:31.330" Score="0" Body="Anything related to dynamic placeholders, which includes the practice of having multiple renderings on a page that includes the same placeholder key, and trying to assign a specific rendering to one specific placeholder key from those renderings." OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2017-06-10T15:43:01.663" LastActivityDate="2017-06-10T15:43:01.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6094" PostTypeId="1" CreationDate="2017-06-10T14:32:11.993" Score="0" ViewCount="1306" Body="&lt;p&gt;My Sitecore version is 7.2 (150408). I am getting a lot of &quot;Could not decrypt&quot; errors in log files.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Could not decrypt &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;valueB932413866B90802C114BA50892879F7B6FABD54309CC8FCF630D72FDBBA7419046DA7C9069650348C5118CF32DFB94756DBA3369CD56EF9DC6AFB432AB83D6A53CA0109D17FDAAF2ABD2C33E40A9B2A7A5DE1C9ABB04279DBE12C3FF97667C0662C366CE77126357671DA3FBEDE831DF9A0E39CDD5981AE711C5EF949BE66480A6FABD0C3EB332D91F6913A86764B1BD92D47A8A9AE27F2F3A31D22C5A87EE5&#xA;  Exception: System.Web.HttpException Message: Unable to validate data.&#xA;  Source: System.Web    at&#xA;  System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean&#xA;  fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length,&#xA;  Boolean useValidationSymAlgo, Boolean &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;useLegacyMode, IVType ivType, Boolean signData)    at&#xA;  System.Web.Security.FormsAuthentication.Decrypt(String&#xA;  encryptedTicket)    at&#xA;  Sitecore.Security.Authentication.AuthenticationHelper.GetSavedUser(String&#xA;  cookieName)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What can be the possible reason?&lt;/p&gt;&#xA;" OwnerUserId="1226" LastEditorUserId="73" LastEditDate="2017-06-10T15:43:33.123" LastActivityDate="2017-06-10T15:43:33.123" Title="How to fix &quot;Could not decrypt&quot; errors in log files" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6095" PostTypeId="2" ParentId="6094" CreationDate="2017-06-10T14:39:09.077" Score="3" Body="&lt;p&gt;Problem Root Cause&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have also faced some kind of same error. Machine key is used to encrypt/decrypt data like view state. We were having multiple CD servers. As we didn't have the same Machine key on multiple CD servers, this leads to invalid data issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to set static MachineKey. To set a machine key, add a MachineKey element inside System.Web in your web.config file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can review this blog on how to generate machine key &lt;a href=&quot;https://blogs.msdn.microsoft.com/amb/2012/07/31/easiest-way-to-generate-machinekey/&quot; rel=&quot;noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/amb/2012/07/31/easiest-way-to-generate-machinekey/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also this is known issue article: &lt;a href=&quot;https://kb.sitecore.net/articles/051243&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/051243&lt;/a&gt;. You can review this also for more information.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-06-10T14:39:09.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6096" PostTypeId="2" ParentId="6090" CreationDate="2017-06-10T16:33:18.040" Score="2" Body="&lt;p&gt;Assuming you have access to the context item, you can get the &lt;code&gt;pageDefinitionId&lt;/code&gt; by reading the &lt;code&gt;Tracking&lt;/code&gt; field on the item. Below is a code snippet that you can use to retrieve the event:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void GetEventDefinition(Item item)&#xA;{&#xA;    Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;&#xA;    var field = item.Fields[&quot;__Tracking&quot;];&#xA;&#xA;    if (field != null)&#xA;    {&#xA;        var trackingField = new TrackingField(field);&#xA;&#xA;        foreach (var events in trackingField.Events)&#xA;        {&#xA;            var definitionId = events.DefinitionItem.ID;&#xA;&#xA;            // Your processing goes here&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-06-10T16:33:18.040" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6097" PostTypeId="2" ParentId="6057" CreationDate="2017-06-10T18:16:21.263" Score="0" Body="&lt;p&gt;I'm adding this as an answer as it wouldn't fit as a single comment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing that it's important to take into consideration is that when you use buckets the parent-child relationship between the items gets removed, and instead the items are organized in a folder structure according to the date and time they were created. Therefore, the item buckets feature is primarily designed for storing content items that do not need to be stored in a hierarchy.&#xA;You can read more about buckets &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/item_buckets/item_buckets&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to the questions's original comment on getting the children what you are really getting is all the buckets for that item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now how do you get them? Just make a Content search call and I think Patrick's answer pretty much covers how you do that.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-06-10T18:16:21.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6099" PostTypeId="1" CreationDate="2017-06-11T17:47:16.143" Score="9" ViewCount="1023" Body="&lt;p&gt;I'm running Sitecore 8.1 Update 1 and am trying to get the basic built-in Experience Analytics working. However, I am getting an error on all the graphs such as&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The OnlineInteractionsByVisitsAndValuePerVisit graph cannot be&#xA;displayed due to a server error. Contact your system administrator&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;After looking at the logs, I am getting errors such as the ones below:&lt;/p&gt;&#xA;&lt;pre&gt;15196 12:00:55 ERROR [Experience Analytics]: Could not find segment '786fba3a-4573-445e-a745-04e3ca5e48c1'&#xA;15196 12:00:55 ERROR [Experience Analytics]: Failed to construct segment from data row - Sitecore.ExperienceAnalytics.Api.NotFoundException: Could not find segment '786fba3a-4573-445e-a745-04e3ca5e48c1'&#xA;   at Sitecore.ExperienceAnalytics.Core.Repositories.LocalSegmentDefinitionService.GetSegmentTitle(Guid segmentId)&#xA;   at Sitecore.ExperienceAnalytics.Core.Repositories.LocalSegmentDefinitionService.CreateEntityFromReader(IDataRecord reader)&#xA;15196 12:00:55 ERROR [Experience Analytics]: Could not find segment 'dc0db760-b0f5-4690-b9eb-1bbf7a4f7bd1'&#xA;15196 12:00:55 ERROR [Experience Analytics]: Failed to construct segment from data row - Sitecore.ExperienceAnalytics.Api.NotFoundException: Could not find segment 'dc0db760-b0f5-4690-b9eb-1bbf7a4f7bd1'&#xA;   at Sitecore.ExperienceAnalytics.Core.Repositories.LocalSegmentDefinitionService.GetSegmentTitle(Guid segmentId)&#xA;   at Sitecore.ExperienceAnalytics.Core.Repositories.LocalSegmentDefinitionService.CreateEntityFromReader(IDataRecord reader)&#xA;15196 12:17:56 INFO  [Experience Analytics]: Reduce agent found zero segments to process&lt;/pre&gt;&#xA;&lt;p&gt;I have tried to follow the common steps, such as the ones below and I also tried the ones suggested by Sitecore (&lt;a href=&quot;https://kb.sitecore.net/articles/977445&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/977445&lt;/a&gt;) but nothing resolved the problem. The only thing, I can think of is maybe MongoDB doesn't have access to the reporting DB in SQL, but I didn't see anything called out that it needed special permissions.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;redeploy segments setting the deploy date&#xA;to a much earlier time (a year ago)&lt;/li&gt;&#xA;&lt;li&gt;rebuilding the reporting database&lt;/li&gt;&#xA;&lt;li&gt;cleared browser cache&lt;/li&gt;&#xA;&lt;li&gt;checked the &lt;code&gt;MongoDB&lt;/code&gt; shows data (and it correctly shows page visits in interactions collection)&lt;/li&gt;&#xA;&lt;li&gt;checked that my reporting DB does contain segments.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1937" LastEditorUserId="11347" LastEditDate="2022-05-04T07:37:13.980" LastActivityDate="2024-03-16T10:04:45.550" Title="Sitecore 8.1 and xDB, Experience Analytics Tables Empty, Showing Errors" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="6100" PostTypeId="2" ParentId="5338" CreationDate="2017-06-12T10:23:06.730" Score="0" Body="&lt;p&gt;You can try usign my module for wildcards&#xA;&lt;a href=&quot;https://vladimirhil.com/2016/02/22/wildcards-module-for-sitecore-7-using-content-search-api/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://vladimirhil.com/2016/02/22/wildcards-module-for-sitecore-7-using-content-search-api/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use it on at least 3 projects seems to be all ok.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In regards to your question - your renderings should use RendeingItem or PageItem properties of the rendering model for reading fields.&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2017-06-12T10:23:06.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6101" PostTypeId="1" AcceptedAnswerId="6102" CreationDate="2017-06-12T11:17:37.223" Score="4" ViewCount="316" Body="&lt;p&gt;I am using Sitecore 8.1 with WFFM. And i am new to WFFM. I found that when user enters data to WFFM forms it will get stored in MongoDB formdata collection. What will happen if the WFFM form will get deleted from CMS?. Will it remove the data from MongoDB also?. &lt;/p&gt;&#xA;" OwnerUserId="2035" LastActivityDate="2017-06-12T11:45:50.803" Title="WFFM: What happens when we delete a wffm form?" Tags="|wffm|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6102" PostTypeId="2" ParentId="6101" CreationDate="2017-06-12T11:38:40.800" Score="3" Body="&lt;p&gt;If you delete a form enter data is not deleted from Mongo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 7, we were able to delete the responses for each webform from the Report tab.&#xA;However, there is no such option available in Sitecore 8. Opening the tab (Detailed Reports) displayes an overview of all entered data in the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This functionality was removed in WFFM 2.5 (Data tab has been removed from the Form Reports application. Users can use the export functionality to export an XML or Excel file for handling detailed individual data.) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see release notes: &lt;a href=&quot;https://sdn.sitecore.net/products/web%20forms%20for%20marketers/web%20forms%20for%20marketers%202,-d-,5/release%20notes.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/products/web%20forms%20for%20marketers/web%20forms%20for%20marketers%202,-d-,5/release%20notes.aspx&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-06-12T11:45:50.803" LastActivityDate="2017-06-12T11:45:50.803" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6103" PostTypeId="2" ParentId="5381" CreationDate="2017-06-12T12:09:05.713" Score="-5" Body="&lt;p&gt;Try to clear the cache by using below code before creating user.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;if (Sitecore.Context.ClientData != null)&#xA;{&#xA;    var ClientDataValues = Sitecore.Context.ClientData.GetValueNames();&#xA;    if (ClientDataValues != null &amp;amp;&amp;amp; ClientDataValues.Any())&#xA;    {&#xA;        var KeyName = &quot;SC_USR_&quot; + userName;&#xA;        var clientDataValue = Sitecore.Context.ClientData.GetValue(KeyName);&#xA;        if (clientDataValue != null)&#xA;        {&#xA;            Sitecore.Context.ClientData.RemoveValue(KeyName);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Give it a try and let me know.&lt;/p&gt;&#xA;" OwnerUserId="1088" LastEditorUserId="237" LastEditDate="2017-06-12T13:39:33.660" LastActivityDate="2017-06-12T13:39:33.660" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6104" PostTypeId="1" AcceptedAnswerId="6107" CreationDate="2017-06-12T12:21:45.997" Score="3" ViewCount="3137" Body="&lt;p&gt;I'm using &lt;code&gt;Sitecore on Azure&lt;/code&gt;, and I followed the wizard to create a project with a &lt;code&gt;CD and a CM&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a custom index &lt;code&gt;SinglePageUrl&lt;/code&gt; on both of them with a web and a master version to Rewrite some URLs. The index is well populated in both versions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On CM, when I request a page with a rewritten URL, it works fine. On CD, I get the following error caused by the line of code below, &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-06-12T11:44:17  PID[1440] Error       4900 11:44:17 ERROR Application error.&#xA;Exception: System.InvalidOperationException&#xA;Message: Index has not been initialized.&#xA;Source: Sitecore.ContentSearch.Azure&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchProviderIndex.EnsureInitialized()&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchProviderIndex.CreateSearchContext(SearchSecurityOptions options)&#xA;   at castelis.Services.ContentSearchService.GetAllResult[T](Expression`1 predicate)&#xA;   at castelis.Services.ContentSearchService.GetAllResultByLanguage[T](Expression`1 predicate, String languageCode)&#xA;   at castelis.Pipelines.SinglePageUrlResolver.SearchItemsHavingRequestedUrlAsSinglePageUrlIndex(HttpRequestArgs args)&#xA;   at castelis.Pipelines.SinglePageUrlResolver.Process(HttpRequestArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Nexus.Web.HttpModule.��(Object ��, EventArgs ��)&#xA;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Line causing an error,&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContentSearchManager.GetIndex(&quot;single_page_url_web_index&quot;).CreateSearchContext();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The index is found but then calling &lt;code&gt;CreateSearchContext&lt;/code&gt; throws the exception&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked at the config files for differences but I can't see where this comes from. CD and CM share the same &lt;code&gt;Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config&lt;/code&gt; file, hit the same search service, have the same index definition (except CD only has web, not master). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have an idea what configuration may differ or where else can the problem come from?&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="5387" LastEditDate="2019-12-26T09:13:51.423" LastActivityDate="2019-12-26T09:14:19.777" Title="Index has not been initialized on content delivery server" Tags="|indexing|azure|azure-search|content-delivery|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6105" PostTypeId="2" ParentId="6104" CreationDate="2017-06-12T12:29:38.223" Score="-1" Body="&lt;p&gt;You mentioned that the index was named &quot;SinglePageUrl&quot; but the request for the index seems to be using the name &quot;single_page_url_web_index&quot;. Is that a typo? If not, then the first thing I would investigate is how the name is being set. You can do this in ShowConfig.aspx to see which patch file set the index definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The name you use to call needs to match the name defined for the index in the configurations.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-06-12T12:29:38.223" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6106" PostTypeId="2" ParentId="4671" CreationDate="2017-06-12T13:50:30.233" Score="3" Body="&lt;p&gt;This problem was related to some jquery function, in the header html, a section has id=”header” and some jquery functions are based on this id in a custom jquery file “jquery.layout.js”.Our placeholder key and the id jquery using was same so updated the id for the section in both html and js to resolve the problem.&#xA;I have write a blog for this problem and provided some suggestion for creating placeholder key based on the discussion with Sitecore Support - &lt;a href=&quot;https://sitecorexpblog.wordpress.com/2017/06/12/resolve-xhtml-markup-is-incorrect-near-placeholder-header-error-only-for-header-key/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorexpblog.wordpress.com/2017/06/12/resolve-xhtml-markup-is-incorrect-near-placeholder-header-error-only-for-header-key/&lt;/a&gt;&#xA;Thanks Everyone for your support.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2017-06-12T13:50:30.233" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6107" PostTypeId="2" ParentId="6104" CreationDate="2017-06-12T14:16:30.487" Score="4" Body="&lt;p&gt;Alright, the &lt;code&gt;Sitecore.ContentSearch.Azure.dll&lt;/code&gt; file in the CD was not (by default) the same version as in the CM. I copied the CM version to the CD bin folder and it works. (but I have no idea why the default installation puts two different files)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a comparison of the detail of the two dlls,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;LEFT: CM version, RIGHT: CD version&lt;/strong&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/hx2n4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hx2n4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="5387" LastEditDate="2019-12-26T09:14:19.777" LastActivityDate="2019-12-26T09:14:19.777" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6108" PostTypeId="1" CreationDate="2017-06-12T15:28:24.523" Score="4" ViewCount="1189" Body="&lt;p&gt;In our sitecore website, we have English and Japanese as versions.&#xA;We are updating content for Japanese version and not using English. We have updated content for some of the items throughout the day. All of a sudden the updated content is replaced with older content for that item. This behavior is intermittent. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are sure, that we are updating the right content, there is only one user who is updating the content. The updated content is saved and we are doing incremental publishing with all sub-items. The updated content is shown on the site for sometime and then after a while the older content appears.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please let us know if you have come across such cases and what could be the possible cause and fix for this.&#xA;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1792" LastActivityDate="2017-07-19T11:03:09.357" Title="Content is getting reverted to old content automatically" Tags="|publishing|" AnswerCount="2" CommentCount="5" ClosedDate="2017-07-19T11:17:54.657" ContentLicense="CC BY-SA 3.0" />
  <row Id="6109" PostTypeId="1" AcceptedAnswerId="6115" CreationDate="2017-06-12T16:00:11.667" Score="3" ViewCount="1568" Body="&lt;p&gt;I am using Sitecore on azure and have a CD and a CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Web API works fine on CM but throws a 404 error (and no more information in logs).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have deleted the following &lt;code&gt;dll&lt;/code&gt; files from server as recommended in Sitecore documentation,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.ExperienceAnalytics.dll&#xA;Sitecore.ExperienceAnalytics.Client.dll&#xA;Sitecore.ExperienceAnalytics.ReAggregation.dll&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found a line in the &lt;code&gt;Sitecore.config&lt;/code&gt; that might be helpful but refers to a file I cannot find on any server,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;handler trigger=&quot;~/api/&quot; handler=&quot;sitecore_api.ashx&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To go further into my research of the source of the problem, I would need to know if the web API feature is linked to a particular &lt;code&gt;dll&lt;/code&gt; or &lt;code&gt;config file&lt;/code&gt; I can investigate, or even the fix if someone has already encountered the problem.&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="605" LastEditDate="2017-06-12T18:03:12.253" LastActivityDate="2018-02-27T11:01:51.407" Title="Web API 404 on content delivery server" Tags="|azure|webapi|content-delivery|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6110" PostTypeId="2" ParentId="6108" CreationDate="2017-06-12T16:11:40.487" Score="0" Body="&lt;p&gt;There are a few possible causes for a behavior just like you described:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Someone is manually overwriting the content. Based on your question I'm assuming this is not the case&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- The version it's being published is not the right one. Please go to Publishing viewer and selec the start and end date to see which version is publishable&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- Expanding #2 if you go to publishing restriction you can have a good picture on which versions are publishable and when&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4- You have a task scheduled that is publishing content async and causing you this behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5- if none of these address your issue you can always reffer to the Sitecore logs and they will give a good idea on what's going on with the publishing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-06-12T16:11:40.487" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6111" PostTypeId="1" AcceptedAnswerId="6121" CreationDate="2017-06-12T20:01:32.630" Score="6" ViewCount="1006" Body="&lt;p&gt;I would like to edit the Lock/Unlock button in Experience Editor, in order to enable it for a specific user role. By default, it is only enabled for an admin user and for the user who locked it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe I can do it through the Sitecore LockItem pipeline, but I am struggling a bit. Is there another way? &lt;/p&gt;&#xA;" OwnerUserId="539" LastEditorUserId="73" LastEditDate="2017-06-14T10:40:17.383" LastActivityDate="2017-06-14T10:40:17.383" Title="How can I edit the Lock/Unlock button in Sitecore Experience Editor?" Tags="|sitecore-client|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6112" PostTypeId="2" ParentId="1380" CreationDate="2017-06-12T20:12:36.413" Score="0" Body="&lt;p&gt;We ended up using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Dynamic_Workflow.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dynamic Workflow&lt;/a&gt; module from Sitecore marketplace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which gave us all of these features &lt;code&gt;Site-specific workflows&lt;/code&gt; + &lt;code&gt;Email notifications based on Sitecore Rules-engine&lt;/code&gt; + &lt;code&gt;Content validations&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2017-06-12T20:12:36.413" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6113" PostTypeId="1" AcceptedAnswerId="6119" CreationDate="2017-06-13T04:38:08.187" Score="6" ViewCount="387" Body="&lt;p&gt;I am using Sitecore 8.1 with WFFM. Can anyone please explain me how the multi-site information get saved in FormData?. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per my understanding FormData will get saved with &lt;code&gt;FormID&lt;/code&gt; and its Fields in MongoDB collection, how do we know from which multi-site that form is belong to?. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also is there any relation between any other collections which has the site information along with FormData?  &lt;/p&gt;&#xA;" OwnerUserId="2035" LastEditorUserId="70" LastEditDate="2017-06-13T13:34:42.323" LastActivityDate="2017-06-13T13:34:42.323" Title="WFFM: How multisite FormData get saved in MongoDB?" Tags="|wffm|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6115" PostTypeId="2" ParentId="6109" CreationDate="2017-06-13T07:16:35.523" Score="4" Body="&lt;p&gt;One option is to enable Sitecore.Speak.Mvc.Config file . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore.Speak.Mvc.config file, the InitializeCommandRoute processor maps the /api/sitecore/{controller}/{action} route for SPEAK UI Applications, which are used by Sitecore Content Management installation. Probably your ajax call are using /api/sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there is not a specific reason why your AJAX calls start with /api/sitecore/ prefix, please register a custom route using the standard ASP.NET MVC approach through Initialize pipeline. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-13T07:16:35.523" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6116" PostTypeId="1" CreationDate="2017-06-13T07:32:39.117" Score="3" ViewCount="103" Body="&lt;p&gt;I am using sitecore 8.1 (rev. 160519) and it is updated from 7.5. I am facing error on FXM Domain Dashboard page i.e the spinner run continuously and in console i saw below error,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Uncaught Failed to data-bind: ProgressIndicator TypeError: Cannot read property 'attributes' of undefined.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I try to rebuild FXM indexs but still it is given same error. So can anyone help me to resolve this.&lt;/p&gt;&#xA;" OwnerUserId="1422" LastActivityDate="2017-06-14T10:44:08.887" Title="FXM Domain Dashboard Spinner Run Continuously" Tags="|fxm|" AnswerCount="1" CommentCount="9" ClosedDate="2017-06-14T12:22:29.130" ContentLicense="CC BY-SA 3.0" />
  <row Id="6117" PostTypeId="2" ParentId="6082" CreationDate="2017-06-13T07:35:07.320" Score="3" Body="&lt;p&gt;The error in your logs is related to generating the HTML content of your email message. EXM makes a web request internally. See this if you need to force the RendererUrl to be consistent, and perhaps with HTTP instead of HTTPS, etc. &lt;a href=&quot;https://kb.sitecore.net/articles/837879&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/837879&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="85" LastActivityDate="2017-06-13T07:35:07.320" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6118" PostTypeId="1" CreationDate="2017-06-13T08:00:34.880" Score="3" ViewCount="2740" Body="&lt;p&gt;I am trying to find a way to change the source from an image field when an user clicks the &amp;quot;Choose an image&amp;quot; button (webedit:chooseimage command) from Experience Editor, and points to specific folder each time when he is at different pages for example.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8G9Iu.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8G9Iu.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I don't want to create a new custom button for this but I search for a solution, if it is feasible, which I will change the source before displayed the MediaBrowser popup.&lt;/p&gt;&#xA;&lt;p&gt;What is the responsible pipeline/s for passing the arguments and open the MediaBrowser popup?&#xA;Can I extend this pipeline?&#xA;I am using sitecore 8.2&lt;/p&gt;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="2039" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-10T13:36:55.040" Title="How to change the source from an image field programmatically?" Tags="|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6119" PostTypeId="2" ParentId="6113" CreationDate="2017-06-13T08:57:45.363" Score="1" Body="&lt;p&gt;I don't know of an out of the box solution for this. The &quot;site&quot; is not stored with the form data - you only get the form id. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could create your own reporting. With the formdID, you can get the form item from the Sitecore database. If all your sites have a distinct form root set (more info on this here: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/installing/multisite_implementation_with_web_forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/installing/multisite_implementation_with_web_forms&lt;/a&gt;) you could detect to which site the form belongs (collect all form roots and see which one matches a parent of the form).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another solution could be to add an extra (hidden) field to all forms where you store the site. This way you could have the information in the forms database - as a field and not a real property though. And if you don't want the form creators having to add this hidden field, you might also be able to hook into the save pipeline and add the information there - although I never tried this myself.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-13T08:57:45.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6120" PostTypeId="1" CreationDate="2017-06-13T09:27:31.250" Score="4" ViewCount="209" Body="&lt;p&gt;We have 2 publishing targets say X and Y. When someone makes a change in current DB, I need the changes to be automatically published to X but not Y.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I don't want to show X in the Publish Item/Site Panel when I manually publish.&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="237" LastEditDate="2017-06-13T09:40:27.343" LastActivityDate="2017-08-12T11:58:09.143" Title="Sitecore AutoPublish only for one Publishing target" Tags="|publishing|publishing-targets|" AnswerCount="1" CommentCount="2" ClosedDate="2017-08-12T13:44:59.613" ContentLicense="CC BY-SA 3.0" />
  <row Id="6121" PostTypeId="2" ParentId="6111" CreationDate="2017-06-13T09:38:16.223" Score="2" Body="&lt;p&gt;I don't think you can fix this.. even if you would be able to toggle the button (which is not just setting security), Sitecore is checking the user (admin or user holding the lock) on several locations in code so it will be very hard (if not impossible) to achieve this using the default buttons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative could be to create a new custom button that gets it done. I would assume you need to switch to an admin user in your code to get the lock away (disabling security might help, but I'm not sure as this is not really a security issue). In that custom code you can create your own security based on the role you want to use. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Information on how to add a custom button can be found here: &lt;a href=&quot;https://www.sitecore.net/en/company/blog/394/adding-a-custom-button-to-the-ribbon-3919&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.net/en/company/blog/394/adding-a-custom-button-to-the-ribbon-3919&lt;/a&gt; and here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1426/how-do-i-add-a-button-to-the-experience-editor-ribbon/1430&quot;&gt;How do I add a button to the Experience Editor Ribbon?&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-13T09:38:16.223" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6122" PostTypeId="2" ParentId="6120" CreationDate="2017-06-13T09:46:12.240" Score="0" Body="&lt;p&gt;What if you keep Y as usual, linked to web database, and set up x in live mode, linked to master database as described &lt;a href=&quot;https://sitecore.stackexchange.com/a/340/151&quot;&gt;here&lt;/a&gt;&#xA;This way you will only see Y in the publish option, and you don't have to publish to X at all.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-06-13T09:46:12.240" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6124" PostTypeId="2" ParentId="6111" CreationDate="2017-06-13T11:25:37.477" Score="1" Body="&lt;p&gt;This answer is just to complete @Gatogordo answer : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you add a custom Unlock button to content editor you need to assign next command to the Unlock button &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create your own class for Unlock Item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  [Serializable]&#xA;  public class UnlockItemCommand : Command&#xA;  {&#xA;&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;      Item item = context.Items[0];&#xA;      if (item.Access.CanWriteLanguage() &amp;amp;&amp;amp; item.Locking.IsLocked())&#xA;      {&#xA;        Log.Audit(this, &quot;Check in: {0}&quot;, new[] {AuditFormatter.FormatItem(item)});&#xA;        item.Editing.BeginEdit();&#xA;        item.Locking.Unlock();&#xA;        item.Editing.EndEdit();&#xA;        Context.ClientPage.SendMessage(this, &quot;item:checkedin&quot;);&#xA;      }&#xA;    }&#xA;&#xA;&#xA;    public override CommandState QueryState(CommandContext context)&#xA;    {&#xA;      Item item = context.Items[0];&#xA;      if (item.Access.CanWriteLanguage() &amp;amp;&amp;amp; item.Locking.IsLocked() &amp;amp;&amp;amp; !item.Locking.HasLock() &amp;amp;&amp;amp; !Context.IsAdministrator)&#xA;        return CommandState.Enabled;&#xA;      return CommandState.Hidden;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add your custom command to a new config file located in Include folder: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;mycommand:unlockitem&quot; type=&quot;yourNamespace.UnlockItemCommand,yourAssembly&quot; /&amp;gt;   &#xA;    &amp;lt;/commands&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-13T11:25:37.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6125" PostTypeId="2" ParentId="6118" CreationDate="2017-06-13T14:23:06.810" Score="4" Body="&lt;p&gt;Create a custom Image Field Type and create a new class for it (or override the default Image Field) to provide the Source path string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Custom Image Field class:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomImageField : Sitecore.Shell.Applications.ContentEditor.Image&#xA;{&#xA;    #region Fields&#xA;    private string _itemId;&#xA;    private Item _item;&#xA;    #endregion&#xA;&#xA;    #region Properties&#xA;&#xA;    public string ItemId&#xA;    {&#xA;        get { return _itemId; }&#xA;        set&#xA;        {&#xA;            Assert.ArgumentNotNull(value, &quot;value&quot;);&#xA;            _itemId = value;&#xA;        }&#xA;    }&#xA;&#xA;    // This is the context item&#xA;    public Item Item =&amp;gt; _item ?? (_item = Client.GetItemNotNull(ItemId));&#xA;&#xA;    public new string Source&#xA;    {&#xA;        get { return base.Source; }&#xA;        set&#xA;        {&#xA;            if (getCustomMediaPath) // this check is not necessarily required&#xA;            {&#xA;                // add custom code to set the path that will be used by the Media Browser dialog&#xA;                var mediaFolder = &quot;media folder&quot;;&#xA;                var mediaRoot = $&quot;/sitecore/media library/{mediaFolder}&quot;;&#xA;                base.Source = mediaRoot;&#xA;            }&#xA;            else&#xA;            {&#xA;                base.Source = value;&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    #endregion&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In the Sitecore Core DB:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new Image Field item. Field items are located at:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Field types&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The default Image field is located at:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Field types/Simple Types/Image&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Custom Fields can be added to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Field types/Custom Field Types&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Set the Assembly and Class fields of your custom image field class to make use of that code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively you can define a custom prefix that maps to an assembly and namespace and use that shortcut to point to the new Class via the Control field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;config patch for Control prefix:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;controlSources&amp;gt;&#xA;      &amp;lt;source mode=&quot;on&quot; namespace=&quot;Project.Web.Shell.Applications.ContentEditor&quot; assembly=&quot;Project.Web&quot; prefix=&quot;CustomFields&quot; /&amp;gt;&#xA;    &amp;lt;/controlSources&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With this configuration the Control field can be set to &lt;code&gt;CustomFields.CustomImageField&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Use the new Field&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you can use this field type (if you made a custom one, otherwise it's just the default Image field) in your templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note on Custom Fields:&lt;/strong&gt;&#xA;Using a new Field Type item will require additional work to get the field to render properly in Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;SitecoreHelper&lt;/code&gt; ends up calling &lt;code&gt;BeginField&lt;/code&gt;, which in turn calls the &lt;code&gt;renderField&lt;/code&gt; pipeline, passing in the &lt;code&gt;RenderFieldArgs&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;renderField&lt;/code&gt; pipeline has a processor called &lt;code&gt;Sitecore.Pipelines.RenderField.GetImageFieldValue&lt;/code&gt;. You will need to patch in an override of this processor. The &lt;code&gt;Process&lt;/code&gt; method of this processor first checks the &lt;code&gt;FieldTypeKey&lt;/code&gt; of the args. This check will need to be updated to support the new image field type.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="1150" LastEditDate="2017-06-21T22:18:54.233" LastActivityDate="2017-06-21T22:18:54.233" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6126" PostTypeId="1" AcceptedAnswerId="6134" CreationDate="2017-06-13T15:10:14.767" Score="3" ViewCount="99" Body="&lt;p&gt;I have a Sitecore instance using Dynamics CRM within the follow ConnectionStrings.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;Dynamics-2011&quot; connectionString=&quot;url=http://crmdevvm:5555/crmdev/XRMServices/2011/Organization.svc; user id=domain\Myaccount;password=P@ssw0rd;organization=crmdev;authentication type=0&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As this is a development environment, the user &lt;strong&gt;MyAccount&lt;/strong&gt; has &lt;strong&gt;System Administrator&lt;/strong&gt; permission (Security Role) in CRM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, this needs to go to Production and I wonder which permission level would be necessary to keep things up &amp;amp; running without messing up with the communication between Sitecore and CRM. &lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-06-13T18:52:15.907" Title="Sitecore using Dynamics CRM - which permission level does the user used in ConnectionStrings needs to have?" Tags="|security|module|dynamics-crm-module|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6127" PostTypeId="1" AcceptedAnswerId="6144" CreationDate="2017-06-13T15:18:42.203" Score="7" ViewCount="962" Body="&lt;p&gt;We are using the new Sitecore Publishing Service version 2 on one of our projects, but are running into a problem since it does not keep the descendants table up to date on the web database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The documentation states: &quot;The Publishing Service does not maintain the descendant table by default&quot; but provides no guidance on how to change the configuration to make it update the descendants table. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to keep the descendants table updated when using the publish service?&lt;/p&gt;&#xA;" OwnerUserId="2043" LastEditorUserId="2043" LastEditDate="2017-06-13T15:31:07.763" LastActivityDate="2017-06-14T08:30:55.717" Title="Sitecore Publishing Service how to keep descendants table up to date?" Tags="|publishing|publishing-service|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6128" PostTypeId="1" AcceptedAnswerId="6130" CreationDate="2017-06-13T15:37:46.237" Score="2" ViewCount="1029" Body="&lt;p&gt;We have a requirement to work with MVC Areas in Sitecore 8.2 Update1 CMS application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried to use the Area field in Item definition, but view engine is still searching in the default controller path (instead of areas).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anybody please help with any example or documentation of implementing MVC areas with Sitecore 8.2 Update1&lt;/p&gt;&#xA;" OwnerUserId="2042" LastActivityDate="2017-06-13T15:53:16.033" Title="MVC Areas using with Sitecore 8.2 Update1" Tags="|mvc|sitecore-query|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6129" PostTypeId="2" ParentId="6128" CreationDate="2017-06-13T15:51:19.037" Score="0" Body="&lt;p&gt;Did you follow the instructions from here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/mvc_areas&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/mvc_areas&lt;/a&gt; ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check that you have the processor: &lt;code&gt;Sitecore.Mvc.Pipelines.Response.RenderRendering.ResolveArea, Sitecore.Mvc&lt;/code&gt; in your &lt;code&gt;App_Config/Include/Sitecore.Mvc.config&lt;/code&gt; file. &lt;/p&gt;&#xA;" OwnerUserId="2043" LastEditorUserId="605" LastEditDate="2017-06-13T15:52:51.167" LastActivityDate="2017-06-13T15:52:51.167" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6130" PostTypeId="2" ParentId="6128" CreationDate="2017-06-13T15:53:16.033" Score="4" Body="&lt;p&gt;For each MVC rendering, the pipeline mvc.renderRendering is called. In the Sitecore.Mvc.config there is a new processor ResolveArea configured for this pipeline. Within the processor configuration, you can configure a list of area resolving strategies, which are responsible for resolving the area for the current rendering: Each strategy is called after each other, until one strategy can resolve the area.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The configuration looks like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d92eh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d92eh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, the default resolver is ChainedAreaResolveStrategy. This allows you to configure multiple resolvers which are called in a chain. If you know that you will always only have exactly one resolver, you could also change this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Available strategies&lt;/strong&gt;&#xA;By default, there are three strategies available. The following paragraphs describe all of them. Of course you can remove these strategies from the configuration if you don’t need it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Resolve by rendering definition item&lt;/strong&gt;&#xA;In the controller rendering definition item, there is a new field Area:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ntCuS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ntCuS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The area token is mostly used for the view resolution in your controllers and views, not for resolving your controller from the definition item. Please consider that Sitecore still needs a unique controller name in your rendering definition items. You either need to have a unique controller name or add the full name of the controller class into the Controller field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Resolve by rendering parameters&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When adding a rendering to the presentation of your item (statically or dynamically binded) you can add rendering parameters. This strategy allows to add a parameter area. For a statically binded rendering in the code, this could look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;&amp;lt;path or id&amp;gt;&quot;, new { area = &quot;MyArea&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Resolve by layout definition&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similar to the rendering definition items, also the layout definition items got a new Area field. This strategy takes the area from the layout attached to the current item. Of course this means that each rendering of the current item takes the same area (if no other strategy has resolved the area before).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More informations you can find here: &lt;a href=&quot;https://ctor.io/new-in-sitecore-8-1-mvc-areas/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ctor.io/new-in-sitecore-8-1-mvc-areas/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-13T15:53:16.033" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6131" PostTypeId="2" ParentId="6127" CreationDate="2017-06-13T16:27:39.657" Score="2" Body="&lt;h3&gt;For an Official Solution...Sitecore Support&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The documentation that you are referring to is actually the &lt;a href=&quot;https://kb.sitecore.net/articles/631685&quot; rel=&quot;nofollow noreferrer&quot;&gt;KnowledgeBase article&lt;/a&gt; for &quot;Known issues for Sitecore 8.2&quot;, and the statement that you quoted is actually an entry that lists this as a known issue for the Publishing Service in Sitecore 8.2:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Publishing Service does not maintain the descendant table by default.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You should reach out to Sitecore Support for this issue. Since there is no reference number included with the entry, you should link them to the KB article and mention the quoted text to see if they can provide you with a workaround/patch.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Workaround Mentioned by @MarkCassidy:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;As mentioned by Mark in the comments on this post, you could work around this issue by writing a handler for the &lt;code&gt;publish:complete&lt;/code&gt; event that executes the database cleanup for the Web database. Note that this may or may not be the most desirable solution - I still recommend reaching out to Sitecore first, in case they have a more efficient patch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you would need is a patch-config, similar to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;     &#xA;    &amp;lt;events&amp;gt;     &#xA;        &amp;lt;event name=&quot;publish:complete&quot;&amp;gt;     &#xA;            &amp;lt;handler type=&quot;MyProject.EventHandlers.DatabaseCleanup, MyProject&quot; method=&quot;OnPublishComplete&quot; /&amp;gt;     &#xA;        &amp;lt;/event&amp;gt;      &#xA;    &amp;lt;/events&amp;gt;     &#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then a class similar to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyProject.EventHandlers&#xA;{&#xA;    public class DatabaseCleanup &#xA;    {&#xA;        public void OnPublishComplete(object sender, EventArgs args)     &#xA;        {     &#xA;            var sitecoreArgs = args as Sitecore.Events.SitecoreEventArgs;     &#xA;            if (sitecoreArgs == null) &#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            var publishingOptions = sitecoreArgs.Parameters[0] as IEnumerable&amp;lt;DistributedPublishOptions&amp;gt;;&#xA;            if (publishingOptions == null) &#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            var targetDatabases = publishingOptions&#xA;                .Select(option =&amp;gt; option.TargetDatabaseName);&#xA;            foreach(var databaseName in targetDatabases) &#xA;            {&#xA;                var database = Sitecore.Configuration.Database.GetDatabase(databaseName);&#xA;                database?.CleanupDatabase();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-06-13T17:03:24.367" LastActivityDate="2017-06-13T17:03:24.367" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6132" PostTypeId="1" AcceptedAnswerId="6142" CreationDate="2017-06-13T17:48:22.930" Score="5" ViewCount="493" Body="&lt;p&gt;Ran into an odd caching issue with glass mapper (v. 4.2.1.188). We have 2 languages in our site (Chinese and English). Here's the scenario (could replicate after every iisreset):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Load the page in Chinese - all content displays correctly (in Chinese)&lt;/li&gt;&#xA;&lt;li&gt;Switch the page to English - content seems to be 'stuck' in Chinese.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The code is pretty straight-forward - in a controller I just get the current item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ICustomPageGlass currentPage = GetContextItem&amp;lt;ICustomPageGlass&amp;gt;(inferType: true);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When switching from Chinese to English &lt;code&gt;Sitecore.Context.Language&lt;/code&gt; is correct (&quot;en&quot;), but currentPage.__Language is actually wrong (Chinese). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works fine when I wrap my code in &lt;code&gt;using (new DisableCache()) { ... }&lt;/code&gt; block. &lt;/p&gt;&#xA;" OwnerUserId="794" LastEditorUserId="3136" LastEditDate="2018-03-06T12:59:03.890" LastActivityDate="2018-03-06T12:59:03.890" Title="Glass Mapper language caching" Tags="|glass-mapper|multilingual|caching|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6133" PostTypeId="1" CreationDate="2017-06-13T18:49:49.887" Score="1" ViewCount="633" Body="&lt;p&gt;I'm getting a  System.ArgumentNullException while in Preview or Experience Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have since pointed a blank instance of Sitecore  (8.1 update 3) to the dbs and can replicate the issue but cannot find the root cause:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iG2K8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iG2K8.png&quot; alt=&quot;Stack Trace&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the trace it would appear that the issue is access related - the item cannot be read by the current user. However, I cannot identify any items that have security on them for the user (admin).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have run the SPE report to find items with security on for the user but this yields no results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any other areas I can investigate here? Please ask if you require additional information, I am fairly new to Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="1298" LastEditorUserId="423" LastEditDate="2017-06-22T14:14:23.587" LastActivityDate="2017-06-22T14:14:23.587" Title="500 Error on Experience Editor - Security" Tags="|experience-editor|security|" AnswerCount="1" CommentCount="5" ClosedDate="2017-06-14T08:04:26.463" ContentLicense="CC BY-SA 3.0" />
  <row Id="6134" PostTypeId="2" ParentId="6126" CreationDate="2017-06-13T18:52:15.907" Score="6" Body="&lt;p&gt;In order for Sitecore to be able to access account information from CRM, the CRM user used to connect to CRM must have the following permissions assigned:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Read account entities&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If these permissions are not assigned, an error will occur when Sitecore tries to read data from CRM.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-06-13T18:52:15.907" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6135" PostTypeId="2" ParentId="6133" CreationDate="2017-06-13T20:03:36.467" Score="0" Body="&lt;p&gt;In the end - I reinstalled the sitecore and sitecore/content items (preserving the subtree) from a clean install and this resolved the issue. The CMS was unable to access the database's root item.&lt;/p&gt;&#xA;" OwnerUserId="1298" LastActivityDate="2017-06-13T20:03:36.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6137" PostTypeId="2" ParentId="5382" CreationDate="2017-06-13T21:29:14.487" Score="4" Body="&lt;p&gt;Since there is one rendering for many items you can almost follow Amit's answer but you will need to use an edit frame. Glass has a method that helps start an edit frame in mvc. For more info about incorporating that see the following link: &lt;a href=&quot;https://visionsincode.wordpress.com/2015/01/08/how-to-use-editframe-in-sitecore-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://visionsincode.wordpress.com/2015/01/08/how-to-use-editframe-in-sitecore-mvc/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will have to pass the edit frame helper the current item that will have the checkbox to change and the id or path to your custom experience button. My example item: &lt;a href=&quot;https://www.screencast.com/t/y3WnJod3&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.screencast.com/t/y3WnJod3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach(var bannerItem in myBannerList)&#xA;{&#xA;&#xA;    using (Html.BeginEditFrame(bannerItem, &quot;{FDE5A219-C691-4978-B9D2-939E98582626}&quot;)&#xA;    {&#xA;        ...banner html here...&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your id will be different and should be maintained in a constants file instead of as a raw unnamed string but this should demonstrate the idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is another more elegant option too but it takes a little more work and I have not actually tried it myself. You can create an Edit Frame Small Button and give it a command. You would then assign this button to the edit frame instead of the one shown earlier. This type of button takes a command which you will want to insert into the command section of Sitecore's configuration through a patch config. It would be worth while to make the code the command points to somewhat generic in that it should read in a parameter for the name/id of the field that it will try to toggle. This method allows a user to simply click the button that appears on the edit frame and toggle the checkbox. The other way opens a modal which displays the checkbox field.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-06-14T13:59:23.987" LastActivityDate="2017-06-14T13:59:23.987" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6138" PostTypeId="1" CreationDate="2017-06-13T23:05:18.780" Score="0" ViewCount="1431" Body="&lt;p&gt;We've just deployed to a new environment and expected images from the Media library to be referenced with their original file extensions e.g. .jpg as the &lt;code&gt;Media.RequestExtension&lt;/code&gt; setting is &amp;quot;&amp;quot;. They are however served as .ashx files rather than .jpg etc which is different than other environments.&lt;/p&gt;&#xA;&lt;p&gt;I can't see any relevant differences in &lt;code&gt;App_config&lt;/code&gt; and &lt;code&gt;web.config&lt;/code&gt; between environments.&lt;/p&gt;&#xA;&lt;p&gt;I know this post may be lacking details but not sure what else to include as my understanding is that the &lt;code&gt;Media.RequestExtension&lt;/code&gt; setting should control this.&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="251" LastEditDate="2024-03-29T15:15:50.417" LastActivityDate="2024-03-29T15:15:50.417" Title="Sitecore images served as ashx when Media.RequestExtension setting is blank" Tags="|configuration|media-library|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="6139" PostTypeId="1" AcceptedAnswerId="10789" CreationDate="2017-06-13T23:23:57.090" Score="4" ViewCount="836" Body="&lt;p&gt;Is it possible to display a temporary custom message in Sitecore launch pad. The main idea is to reminder/heads up for content authors regarding activities like planned maintenance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="1517" LastEditorUserId="2056" LastEditDate="2018-03-15T08:53:25.627" LastActivityDate="2018-03-15T08:53:25.627" Title="Custom message in Sitecore Content Editor, Experience Editor, or Launchpad" Tags="|sitecore-client|experience-editor|content-editor|launchpad|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6140" PostTypeId="5" CreationDate="2017-06-14T03:55:22.133" Score="0" Body="&lt;p&gt;The Rich Text Editor is the standard text editor in Sitecore. In this editor, you can edit all the content in a rich text field.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;In the Rich Text Editor, you can:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Paste text from Microsoft Word.&lt;/li&gt;&#xA;&lt;li&gt;Find and replace text.&lt;/li&gt;&#xA;&lt;li&gt;Insert pictures or other media items.&lt;/li&gt;&#xA;&lt;li&gt;Insert and delete links to other parts of the website and to external websites.&lt;/li&gt;&#xA;&lt;li&gt;Insert symbols.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-01-13T08:16:07.393" LastActivityDate="2021-01-13T08:16:07.393" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6141" PostTypeId="4" CreationDate="2017-06-14T03:55:22.133" Score="0" Body="Any questions related to the customization or utilization of the Rich Text Editor (RTE) inside the Sitecore CMS." OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2017-06-14T07:38:08.753" LastActivityDate="2017-06-14T07:38:08.753" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6142" PostTypeId="2" ParentId="6132" CreationDate="2017-06-14T05:29:28.647" Score="8" Body="&lt;p&gt;If &lt;em&gt;Cachable&lt;/em&gt; attribute equals &lt;em&gt;true&lt;/em&gt;, it means that Glass Mapper will apply cache for this object. I've decompiled the Glass.Mapper.Sc.dll, where CacheKeyGenerator is defined and we can see that it doesn't consider the language in the key for cache:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Glass.Mapper.Sc.Caching&#xA;{&#xA;  public class CacheKeyGenerator : ICacheKeyGenerator&#xA;  {&#xA;    public string Generate(ObjectConstructionArgs args)&#xA;    {&#xA;      SitecoreTypeCreationContext typeCreationContext = args.AbstractTypeCreationContext as SitecoreTypeCreationContext;&#xA;      return string.Format(&quot;{0}{1}{2}{3}{4}{5}{6}&quot;, (object) typeCreationContext.SitecoreService.GlassContext.Name, Sitecore.Context.Site == null ? (object) string.Empty : (object) Sitecore.Context.Site.Name, (object) typeCreationContext.Item.ID, (object) typeCreationContext.Item[&quot;__Revision&quot;], (object) typeCreationContext.Item.Database.Name, (object) typeCreationContext.RequestedType.FullName, (object) typeCreationContext.IsLazy);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It means the key for each language will be the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess if you set &lt;em&gt;Cachable = false&lt;/em&gt;, your issue will be solved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other way is to override the CacheManager and add contextual language to the key.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="713" LastEditDate="2017-06-16T09:29:46.553" LastActivityDate="2017-06-16T09:29:46.553" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6144" PostTypeId="2" ParentId="6127" CreationDate="2017-06-14T08:30:55.717" Score="3" Body="&lt;p&gt;Maintaining the descendants table &lt;em&gt;is&lt;/em&gt; supported by the Publishing Service, it's just not enabled by default, and not documented.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not enabled by default because it adds a performance cost to each publish, which scales with the size of the content tree, regardless of the size of the publish job.  It's only required by the 'fast query' API, which is no longer a recommended practice and so very seldom used by 8.0+ sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following configuration can be used to enable the descendants table support. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Please see the Installation and Configuration guide for guidance on how to provide custom configuration files.)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;   &#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;Publishing&amp;gt;&#xA;      &amp;lt;Services&amp;gt;&#xA;        &amp;lt;PromotionCoordinator&amp;gt;&#xA;          &amp;lt;Options&amp;gt;&#xA;            &amp;lt;RebuildDescendantsTable&amp;gt;true&amp;lt;/RebuildDescendantsTable&amp;gt;&#xA;          &amp;lt;/Options&amp;gt;&#xA;        &amp;lt;/PromotionCoordinator&amp;gt;&#xA;      &amp;lt;/Services&amp;gt;&#xA;    &amp;lt;/Publishing&amp;gt;   &#xA;  &amp;lt;/Sitecore&amp;gt; &#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="588" LastActivityDate="2017-06-14T08:30:55.717" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6145" PostTypeId="2" ParentId="6116" CreationDate="2017-06-14T10:44:08.887" Score="1" Body="&lt;p&gt;Finally the error was resolved after installing a hotfix package please refer to below link using which my problem was resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2762/federated-experience-manager-fxm-wont-start&quot;&gt;Federated Experience Manager (FXM) won&amp;#39;t start&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1422" LastActivityDate="2017-06-14T10:44:08.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6146" PostTypeId="1" CreationDate="2017-06-14T10:55:33.003" Score="11" ViewCount="2334" Body="&lt;p&gt;In sitecore DMS is there any way to associate goal triggering on button click without code , i read some blogs which are giving info regarding how to associate item or pdf to trigger goal . So is it possible to trigger goal on button click without any coding means just configuring it within CMS?&lt;/p&gt;&#xA;" OwnerUserId="1422" LastEditorUserId="666" LastEditDate="2020-04-13T18:21:15.963" LastActivityDate="2020-07-25T12:53:42.467" Title="Is it possible to associate goal triggering on button click without code?" Tags="|xdb|experience-analytics|events|goals|dms|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6147" PostTypeId="2" ParentId="6146" CreationDate="2017-06-14T10:58:59.443" Score="5" Body="&lt;h1&gt;No.&lt;/h1&gt;&#xA;&lt;p&gt;You can only associate goals to items. Described here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/goals__events/associate_a_goal_with_an_item&quot; rel=&quot;noreferrer&quot;&gt;Associate a goal with an item&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;But I would add; you're likely also thinking about this wrong. The goal you have, is not &amp;quot;the user presses the button&amp;quot;. The real goal is &amp;quot;the user sees the content of my target page&amp;quot; - the page targeted by your Call to Action.&lt;/p&gt;&#xA;&lt;p&gt;So you should proceed to associate your desired goal, with the item your &amp;quot;Go&amp;quot; button is linking to.&lt;/p&gt;&#xA;&lt;h2&gt;Further&lt;/h2&gt;&#xA;&lt;p&gt;Sitecore marketing philosophy is &amp;quot;value driven engagement&amp;quot;. So you associate events and happenings on your site by value. Not by click, as clicks in and on their own, mean so very little.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-06-14T10:58:59.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6148" PostTypeId="1" AcceptedAnswerId="6150" CreationDate="2017-06-14T11:08:27.250" Score="4" ViewCount="474" Body="&lt;p&gt;We are using Sitecore 8.2 Update 2 along with WFFM 8.2 to render an MVC form on a page. Setting the form type to 'Inline' makes the Title of the field (as set in the form designer) to be displayed as placeholder text. This works perfectly for all fields except for Multiple Line Text Field, where no placeholder attribute is added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried modifying the MultipleLineTextField.cshtml file but I am unable to get the field title there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to add title as placeholder text by modifying any of the WFFM views for Multi Line text Field?&lt;/p&gt;&#xA;" OwnerUserId="1724" LastActivityDate="2017-06-14T12:05:07.083" Title="WFFM Multiple Line Text Field missing placeholder text" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6150" PostTypeId="2" ParentId="6148" CreationDate="2017-06-14T11:48:48.687" Score="1" Body="&lt;p&gt;Based upon &lt;a href=&quot;https://stackoverflow.com/questions/15021268/mvc-helper-textarea-placeholder-not-displaying&quot;&gt;https://stackoverflow.com/questions/15021268/mvc-helper-textarea-placeholder-not-displaying&lt;/a&gt; I would assume you should alter (in MultipleLineTextField.cshtml):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.TextAreaFor(x =&amp;gt; Model.Value, Model.Rows, Model.Columns, new { @class = &quot;form-control&quot;}) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;into&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.TextAreaFor(x =&amp;gt; Model.Value, Model.Rows, Model.Columns, new { @class = &quot;form-control&quot;, @placeholder = (Model.FormType == Sitecore.WFFM.Abstractions.Data.Enums.FormType.Inline) ? Model.Title : string.Empty })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just tested it (on latest version) and it seems to work...&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-06-14T12:05:07.083" LastActivityDate="2017-06-14T12:05:07.083" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6151" PostTypeId="1" CreationDate="2017-06-14T12:03:35.227" Score="6" ViewCount="396" Body="&lt;p&gt;I have several WFFM forms in my solution. Some of them have a very large number of responses (30000+). When I attempt to download that form data, I get timeout errors and the whole CM server seems to grind to a halt producing repeated 500 timeout errors afterwards. Is there some way to download the data in chunks (by some filtering mechanism?) or is there some accepted approach for clearing out data after a certain age? This seems strange as I can write a query to bring back the equivalent data and that takes only a few seconds (albeit not nicely formatted with form fields as columns).&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-08-15T11:13:47.727" Title="WFFM how to manage large amounts of data" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6152" PostTypeId="1" AcceptedAnswerId="6154" CreationDate="2017-06-14T12:05:37.517" Score="7" ViewCount="3372" Body="&lt;p&gt;I am working with a multi-lingual multi site solution and I come across a case where I need to set a different link manager provider settings for only one of the sites in my solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to set the custom link provider for only one site, ignoring the default provider ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;   &amp;lt;providers&amp;gt;&#xA;      ...&#xA;      &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;asNeeded&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;siteSpecificLinkManager&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;always&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; /&amp;gt;&#xA;      ...&#xA;   &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to set &quot;siteSpecificLinkManager&quot; as a link manager provider for only one site. &lt;/p&gt;&#xA;" OwnerUserId="2045" LastEditorUserId="73" LastEditDate="2017-06-14T12:29:22.693" LastActivityDate="2019-10-30T19:20:26.360" Title="Is there any way to add the custom Link manager provider just for a particular site" Tags="|multisite|site-configuration|link-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6153" PostTypeId="1" AcceptedAnswerId="6296" CreationDate="2017-06-14T12:07:49.907" Score="7" ViewCount="751" Body="&lt;p&gt;I would like to Validate the Image Field say i shouldn't allow the image more than 1 MB. How do I do that in content editor?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="73" LastEditDate="2017-06-14T12:21:15.610" LastActivityDate="2017-06-22T15:07:41.453" Title="How do i validate an image for byte-size in Content Editor?" Tags="|content-editor|validation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6154" PostTypeId="2" ParentId="6152" CreationDate="2017-06-14T12:11:39.987" Score="10" Body="&lt;p&gt;There is no out of the box way to make custom link manager configurations scope to a particular site, however you could always include that logic in the custom link manager itself. You can make your link manager resolve the site that a link is for. Then, if the resolved site is Site A then use the custom link manager logic; otherwise, if the resolved site is Site B then use the native link manager logic; and so on. This is not an original idea, but rather one that I took from JammyKam's &lt;a href=&quot;https://jammykam.wordpress.com/2015/02/03/site-specific-link-provider-for-multi-site-implementation-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SwitchingLinkProvider&lt;/a&gt; implementation (credit to @MarkCassidy for finding the link before I did).&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;SwitchingLinkProvider&lt;/h1&gt;&#xA;&#xA;&lt;h2&gt;Core Concepts&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The following are the core concepts on which the &lt;code&gt;SwitchingLinkProvider&lt;/code&gt; implementation is based:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore supports a &lt;code&gt;LinkProviderCollection&lt;/code&gt; allowing more than one &lt;code&gt;LinkProvider&lt;/code&gt; to be specified&lt;/li&gt;&#xA;&lt;li&gt;One &lt;code&gt;LinkProvider&lt;/code&gt; must be the default&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;LinkProvider&lt;/code&gt; can resolve the context site&lt;/li&gt;&#xA;&lt;li&gt;Custom config attributes can be added to &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definitions &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Implementation at a High-Level&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Implementing the &lt;code&gt;SwitchingLinkProvider&lt;/code&gt;, the first thing that you need to do is create a default &lt;code&gt;LinkProvider&lt;/code&gt; that does nothing except choose which site-specific &lt;code&gt;LinkProvider&lt;/code&gt;'s logic will be used. This &lt;code&gt;LinkProvider&lt;/code&gt; is the switcher. This provider should be patched into the list of providers and set as the &lt;code&gt;defaultProvider&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next thing that you need to do is create and patch in your site-specific &lt;code&gt;LinkProvider&lt;/code&gt; types into the list, (conventionally) giving them a name that will help you recognize which site(s) they belong to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, you will need to add custom &lt;code&gt;linkProvider&lt;/code&gt; attributes to each of your &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definitions for which you wish to use a custom, site-specific &lt;code&gt;LinkProvider&lt;/code&gt;. The &lt;code&gt;linkProvider&lt;/code&gt; attribute value will be set to the name of the &lt;code&gt;LinkProvider&lt;/code&gt; configuration that you wish to use. In your &lt;code&gt;SwitchingLinkProvider&lt;/code&gt; class, you will resolve the context site, retrieve the configuration from its &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definition, and then read the value of the &lt;code&gt;linkProvider&lt;/code&gt; attribute to decide which &lt;code&gt;LinkProvider&lt;/code&gt; configuration you will use. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Code and Patches&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;The &lt;code&gt;SwitchingLinkProvider&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The following is the class for the &lt;code&gt;SwitchingLinkProvider&lt;/code&gt;, as copied from &lt;a href=&quot;https://jammykam.wordpress.com/2015/02/03/site-specific-link-provider-for-multi-site-implementation-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;JammyKam's blog&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SwitchingLinkProvider : Sitecore.Links.LinkProvider&#xA;{&#xA;    private const String FALLBACK_ATTRIBUTE_KEY = &quot;fallback&quot;;&#xA;    private const String LINKPROVIDER_ATTRIBUTE_KEY = &quot;linkProvider&quot;;&#xA;    private string Fallback { get; set; }&#xA;&#xA;    public override void Initialize(string name, NameValueCollection config)&#xA;    {&#xA;        base.Initialize(name, config);&#xA;        this.Fallback = config[FALLBACK_ATTRIBUTE_KEY];&#xA;        Assert.IsNotNullOrEmpty(this.Fallback, &quot;fallback&quot;);&#xA;    }&#xA;&#xA;    private Sitecore.Links.LinkProvider SiteLinkProvider&#xA;    {&#xA;        get&#xA;        {&#xA;            var siteLinkProvider = (Sitecore.Context.Site != null)&#xA;                                    ? Sitecore.Context.Site.Properties[LINKPROVIDER_ATTRIBUTE_KEY] : String.Empty;&#xA;&#xA;            if (String.IsNullOrEmpty(siteLinkProvider))&#xA;                siteLinkProvider = this.Fallback;&#xA;&#xA;            return LinkManager.Providers[siteLinkProvider] &#xA;                   ?? LinkManager.Providers[this.Fallback];&#xA;        }&#xA;    }&#xA;    ...    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that JammyKam includes support for &lt;code&gt;LinkProvider&lt;/code&gt; fallback, which I highly recommend that you use, but will not go into in this post as it is extra, optional functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note also that the site-resolving logic that you are looking for occurs in the &lt;code&gt;SiteLinkProvider&lt;/code&gt; property's getter method. This is where the context site is resolved and the &lt;code&gt;LinkProvider&lt;/code&gt; to be used is resolved. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following is the patch-config for the &lt;code&gt;SwitchingLinkProvider&lt;/code&gt;, which JammyKam aptly named &quot;switcher&quot;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;defaultProvider&quot; value=&quot;switcher&quot; /&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;switcher&quot; fallback=&quot;sitecore&quot; type=&quot;Sitecore.Custom.Links.SwitchingLinkProvider, Sitecore.Custom&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the &lt;code&gt;defaultProvider&lt;/code&gt; is set to &lt;code&gt;switcher&lt;/code&gt; so that the &lt;code&gt;SwitchingLinkProvider&lt;/code&gt; will be used first, giving it the ability to choose which &lt;code&gt;LinkProvider&lt;/code&gt;'s logic should actually be used.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Site-Specific Providers&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The following is the patch configuration for two sample site-specific providers that JammyKam included in his post. He uses the naming convention &quot;provider-[sitename]&quot; which is totally valid and descriptive, but you can change it, if you like. Remember that the name is not really functional, but more for description and reference purposes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;provider-site1&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; addAspxExtension=&quot;false&quot; languageEmbedding=&quot;never&quot; useDisplayName=&quot;true&quot; ... /&amp;gt;&#xA;    &amp;lt;add name=&quot;provider-site2&quot; type=&quot;Sitecore.Custom.Links.SpecificLinkProvider, Sitecore.Custom&quot; alwaysIncludeServerUrl=&quot;true&quot; languageEmbedding=&quot;always&quot; lowercaseUrls=&quot;true&quot; ... /&amp;gt;    &#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lastly, the following is the patch-config for the custom &lt;code&gt;linkProvider&lt;/code&gt; attributes added to the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definitions, in order to tie each site-specific &lt;code&gt;LinkProvider&lt;/code&gt; to its respective site(s):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;site1&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;linkProvider&quot; value=&quot;provider-site1&quot; /&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;  &amp;lt;site name=&quot;site2&quot;&amp;gt; &#xA;    &amp;lt;patch:attribute name=&quot;linkProvider&quot; value=&quot;provider-site2&quot; /&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;  &amp;lt;site name=&quot;site3&quot;&amp;gt;&#xA;    ...&#xA;  &amp;lt;/site&amp;gt;&#xA;  ...&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Adapting to Your Use-Case&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In order to use this solution, you will need to implement the &lt;code&gt;SwitchingLinkProvider&lt;/code&gt;, add in the necessary patch configuration for it, and patch the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definition for the site that you wish to use the &quot;siteSpecificLinkManager&quot; to include a &lt;code&gt;linkProvider=&quot;siteSpecificLinkManager&quot;&lt;/code&gt; attribute. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The patches should end up looking something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;defaultProvider&quot; value=&quot;switcher&quot; /&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;switcher&quot; fallback=&quot;sitecore&quot; type=&quot;Sitecore.Custom.Links.SwitchingLinkProvider, Sitecore.Custom&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;siteSpecificLinkManager&quot; fallback=&quot;sitecore&quot; type=&quot;...&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;mySiteWithCustomLinkProvider&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;linkProvider&quot; value=&quot;siteSpecificLinkManager&quot; /&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Important Note for Those Using Sitecore 8.x...&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In the comments, @jwsadler points out that the &lt;code&gt;LinkManager.Providers&lt;/code&gt; property has been marked obsolete in 8.x, which means that this solution will result in compiler warnings. The property has been marked with the &lt;code&gt;ObsoleteAttribute&lt;/code&gt; and given the comment &lt;code&gt;&quot;Use methods from&lt;/code&gt;LinkManager&lt;code&gt;instead.&quot;&lt;/code&gt; The property looks as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Obsolete(&quot;Use methods from LinkManager instead.&quot;)]&#xA;public static LinkProviderCollection Providers&#xA;{&#xA;  get&#xA;  {&#xA;    return LinkManager.ProviderHelper.Value.Providers;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, Sitecore has not provided any methods for getting the providers on the &lt;code&gt;LinkManager&lt;/code&gt;, so the technique above is really the only way of doing. However, if your goal is to simply get rid of the compiler warnings (for code analysis, etc.) then what you can do is instantiate your own &lt;code&gt;ProviderHelper&lt;/code&gt; and get the values from there, using the same logic as the &lt;code&gt;LinkManager.Providers&lt;/code&gt; property. Note that the logic would be exactly the same as the obsolete logic, but the warnings would not show up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that &lt;strong&gt;I do NOT recommend the below implementation&lt;/strong&gt;, as it circumvents good compiler warnings for a property that may be removed and replaced in an upcoming release. Instead, I recommend the same implementation as was described earlier in this post, using the &lt;code&gt;LinkManager.Providers&lt;/code&gt; property. However, if you are still set on eliminating the compiler warnings then you can change your &lt;code&gt;SwitchingLinkProvider&lt;/code&gt; to be as follows: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SwitchingLinkProvider : Sitecore.Links.LinkProvider&#xA;{&#xA;    private const String FALLBACK_ATTRIBUTE_KEY = &quot;fallback&quot;;&#xA;    private const String LINKPROVIDER_ATTRIBUTE_KEY = &quot;linkProvider&quot;;&#xA;&#xA;    private string Fallback { get; set; }&#xA;&#xA;    private static readonly LazyResetable&amp;lt;Sitecore.Configuration.ProviderHelper&amp;lt;LinkProvider, LinkProviderCollection&amp;gt;&amp;gt; ProviderHelper = ServiceLocator.GetRequiredResetableService&amp;lt;Sitecore.Configuration.ProviderHelper&amp;lt;LinkProvider, LinkProviderCollection&amp;gt;&amp;gt;();&#xA;&#xA;    public override void Initialize(string name, NameValueCollection config)&#xA;    {&#xA;        base.Initialize(name, config);&#xA;        this.Fallback = config[FALLBACK_ATTRIBUTE_KEY];&#xA;        Assert.IsNotNullOrEmpty(this.Fallback, &quot;fallback&quot;);&#xA;    }&#xA;&#xA;    private Sitecore.Links.LinkProvider SiteLinkProvider&#xA;    {&#xA;        get&#xA;        {&#xA;            var siteLinkProvider = (Sitecore.Context.Site != null)&#xA;                                    ? Sitecore.Context.Site.Properties[LINKPROVIDER_ATTRIBUTE_KEY] : String.Empty;&#xA;&#xA;            if (String.IsNullOrEmpty(siteLinkProvider))&#xA;                siteLinkProvider = this.Fallback;&#xA;&#xA;            var providers = ProviderHelper.Value.Providers;&#xA;&#xA;            return providers[siteLinkProvider] &#xA;                   ?? providers[this.Fallback];&#xA;        }&#xA;    }&#xA;    ...    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To summarize, if you're using Sitecore 8.x, my recommendation would be to use the same technique as described for earlier versions, including the use of the &lt;code&gt;LinkManager.Providers&lt;/code&gt; property, and make an exception for the resulting compiler warnings in your CI/CD processes, code analysis, etc. If and when Sitecore adds a new technique for getting the providers, this answer will be updated. Until then, the &lt;code&gt;LinkManager.Providers&lt;/code&gt; property still works and is the way to go. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-13T17:20:59.523" LastActivityDate="2017-09-13T17:20:59.523" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6155" PostTypeId="2" ParentId="6153" CreationDate="2017-06-14T12:17:15.620" Score="7" Body="&lt;h1&gt;The setting&lt;/h1&gt;&#xA;&lt;p&gt;Well there isn't really a built in validator for this; &lt;a href=&quot;http://blog.building-blocks.com/technical-tips/creating-a-custom-sitecore-field-validator-in-twenty-minutes&quot; rel=&quot;noreferrer&quot;&gt;although you could build one&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;But you can - generally - restrict the size of media in your solution. It is controlled via this setting:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;Media.MaxSizeInDatabase&amp;quot; value=&amp;quot;500MB&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Setting it to 1MB would restrict your content authors from uploading large media.&lt;/p&gt;&#xA;&lt;h1&gt;The alternative&lt;/h1&gt;&#xA;&lt;p&gt;Rather than restricting media like this, a better option (in my opinion) is to make sure all your images are web-optimised when Sitecore sends them to the client.&lt;/p&gt;&#xA;&lt;p&gt;There are several solutions for this; my preference would be &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;noreferrer&quot;&gt;Dianoga - An automatic image optimizer for the Sitecore media library&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-06-14T12:17:15.620" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6156" PostTypeId="1" CreationDate="2017-06-14T12:47:32.270" Score="4" ViewCount="1685" Body="&lt;p&gt;So here is my issue, I have built a universal layout, which is a partial view that has a bunch of placeholders on it. All of the pages built work great that are under the home node in preview and Experience Editor, then I try to run the site in my production (web) version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first page works, great and the child pages load but seems to have a problem loading the scripts and css, even though these are using the same universal layout. So, my page does not have any styling and it just looks like a skeleton. I am working with Sitecore version 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for any advice&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is the layout being used ... once again Parent Items work, child items using the same layout do not, except in preview and Experience Editor&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html lang=&quot;en&quot;&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&quot;utf-8&quot;&amp;gt;&#xA;    &amp;lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&amp;gt;&#xA;    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&amp;gt;&#xA;&#xA;    &amp;lt;link href=&quot;https://fonts.googleapis.com/css?family=Fira+Sans:100,100i,300,300i,400,400i,700,700i&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;    &amp;lt;link href=&quot;https://fonts.googleapis.com/css?family=Patua+One&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;title&amp;gt;Trees for Wildlife&amp;lt;/title&amp;gt;&#xA;&#xA;    &amp;lt;link href=&quot;Css/bootstrap/bootstrap.min.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;    &amp;lt;link href=&quot;Css/custom_css.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;    &amp;lt;link href=&quot;Css/NWF.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;!-- Owl Carousel Stylesheets --&amp;gt;&#xA;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;Css/owl.carousel.min.css&quot;&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;Css/owl.theme.default.css&quot;&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;script src=&quot;Scripts/jquery-3.1.1.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.0/TweenMax.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;Scripts/bootstrap.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;Scripts/custom.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;Scripts/owl.carousel.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&#xA;    &amp;lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --&amp;gt;&#xA;    &amp;lt;!--[if lt IE 9]&amp;gt;&#xA;      &amp;lt;script src=&quot;https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;      &amp;lt;script src=&quot;https://oss.maxcdn.com/respond/1.4.2/respond.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;![endif]--&amp;gt;&#xA;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;&#xA;    &amp;lt;div id=&quot;main-mobile-search&quot; class=&quot;collapse&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;input-group&quot;&amp;gt;&#xA;            &amp;lt;input type=&quot;text&quot; class=&quot;form-control&quot; placeholder=&quot;Search for...&quot;&amp;gt;&#xA;            &amp;lt;span class=&quot;input-group-btn&quot;&amp;gt;&#xA;                &amp;lt;button class=&quot;btn btn-default&quot; type=&quot;button&quot;&amp;gt;Search&amp;lt;/button&amp;gt;&#xA;            &amp;lt;/span&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    @{&#xA;        Sitecore.Data.Fields.CheckboxField heroImageOverlay = (Sitecore.Data.Fields.CheckboxField)Sitecore.Context.Item.Fields[&quot;Display Hero Overlay&quot;];&#xA;        if (heroImageOverlay.Checked)&#xA;        {&#xA;&#xA;            &amp;lt;div id=&quot;banner-nav-container&quot; class=&quot;microsite-banner&quot;&amp;gt;&#xA;&#xA;                &amp;lt;div class=&quot;home-banner-overlay&quot;&amp;gt; &amp;lt;/div&amp;gt;&#xA;&#xA;                &amp;lt;div class=&quot;clearfix&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;                &amp;lt;div&amp;gt;&#xA;                    @Html.Sitecore().Placeholder(&quot;head-content&quot;)&#xA;                &amp;lt;/div&amp;gt;&#xA;                &amp;lt;div&amp;gt;&#xA;                    @Html.Sitecore().Placeholder(&quot;header-content&quot;)&#xA;                &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;                &amp;lt;div&amp;gt;&#xA;                    @Html.Sitecore().Placeholder(&quot;HeroImage&quot;)&#xA;                &amp;lt;/div&amp;gt;&#xA;&#xA;            &amp;lt;/div&amp;gt;&#xA;        }&#xA;        else&#xA;        {&#xA;&#xA;            &amp;lt;div&amp;gt;&#xA;                @Html.Sitecore().Placeholder(&quot;head-content&quot;)&#xA;            &amp;lt;/div&amp;gt;&#xA;                        &amp;lt;div&amp;gt;&#xA;                            @Html.Sitecore().Placeholder(&quot;header-content&quot;)&#xA;                        &amp;lt;/div&amp;gt;&#xA;                        &amp;lt;div class=&quot;interior-banner-skinny&quot;&amp;gt;&#xA;                            &amp;lt;div class=&quot;skinny-banner-bg skinny-banner-bg-TWF&quot;&amp;gt;&#xA;                                &amp;lt;!--different themed sections of the site will have its own BG class--&amp;gt;&#xA;                                &amp;lt;div class=&quot;interior-banner-overlay skinny-overlay&quot;&amp;gt;&#xA;                                    &amp;lt;div class=&quot;container flush-box&quot;&amp;gt;&#xA;                                        &amp;lt;h1&amp;gt;&#xA;                                            Section Title&#xA;                                        &amp;lt;/h1&amp;gt;&#xA;                                    &amp;lt;/div&amp;gt;&#xA;                                &amp;lt;/div&amp;gt;&amp;lt;!--overlay--&amp;gt;&#xA;&#xA;                            &amp;lt;/div&amp;gt;&#xA;&#xA;                        &amp;lt;/div&amp;gt;&amp;lt;!-- / banner--&amp;gt;&#xA;        }&#xA;    }&#xA;    &amp;lt;div&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;main-content&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;div&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;microsite-footer-sub-navigation&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;footer-content&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;footerNavigation&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;a href=&quot;#top&quot;&amp;gt;&#xA;        &amp;lt;div style=&quot;position: relative&quot;&amp;gt;&#xA;            &amp;lt;div id=&quot;back-to-top&quot; class=&quot;hidden-xs&quot;&amp;gt;&#xA;                &amp;lt;img class=&quot;center-block&quot; src=&quot;images/arrow-up-circle.svg&quot; onerror=&quot;this.onerror=null; this.src='arrow-up-circle.png'&quot; alt=&quot;Back to Top&quot;&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/a&amp;gt;&#xA;&#xA;    &amp;lt;script&amp;gt;&#xA;        $('a[href*=&quot;top&quot;]:not([href=&quot;top&quot;])').click(function () {&#xA;            if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') &amp;amp;&amp;amp; location.hostname == this.hostname) {&#xA;                var target = $(this.hash);&#xA;                target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');&#xA;                if (target.length) {&#xA;                    $('html, body').animate({&#xA;                        scrollTop: target.offset().top&#xA;                    }, 1000);&#xA;                    return false;&#xA;                }&#xA;            }&#xA;        });&#xA;    &amp;lt;/script&amp;gt;&#xA;&#xA;    &amp;lt;div id=&quot;mobile_social_sticky&quot; class=&quot;hidden-sm hidden-md hidden-lg&quot;&amp;gt;&#xA;        &amp;lt;div id=&quot;mobile-donate-sticky&quot;&amp;gt;&#xA;            Donate &amp;lt;img class=&quot;heart-icon&quot; src=&quot;images/heart-icon.svg&quot; onerror=&quot;this.onerror=null; this.src='images/heart-icon.png'&quot; alt=&quot;Donate&quot;&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div id=&quot;mobile-facebook-sticky&quot; class=&quot;mobile-sticky-item&quot;&amp;gt;&#xA;            &amp;lt;img class=&quot;center-block&quot; src=&quot;images/facebook-footer.svg&quot; onerror=&quot;this.onerror=null; this.src='images/facebook-footer.png'&quot; alt=&quot;Visit our Facebook&quot;&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div id=&quot;mobile-twitter-sticky&quot; class=&quot;mobile-sticky-item&quot;&amp;gt;&#xA;            &amp;lt;img class=&quot;center-block&quot; src=&quot;images/twitter-footer.svg&quot; onerror=&quot;this.onerror=null; this.src='images/twitter-footer.png'&quot; alt=&quot;Visit our Twitter&quot;&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div id=&quot;mobile-email-sticky&quot; class=&quot;mobile-sticky-item&quot;&amp;gt;&#xA;            &amp;lt;img class=&quot;center-block&quot; src=&quot;images/email-footer.svg&quot; onerror=&quot;this.onerror=null; this.src='images/email-footer.png'&quot; alt=&quot;Email to a Friend&quot;&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;script&amp;gt;&#xA;        var searchIcon = document.getElementById(&quot;search-icon&quot;);&#xA;        var closeIcon = document.getElementById(&quot;close-icon&quot;);&#xA;        TweenMax.set(closeIcon, { x: -100 });&#xA;&#xA;        searchIcon.addEventListener('click', function () {&#xA;            TweenMax.to(searchIcon, .5, { x: -100 });&#xA;            TweenMax.to(closeIcon, .5, { x: 0 });&#xA;            console.log('search clicked');&#xA;        });&#xA;&#xA;        closeIcon.addEventListener('click', function () {&#xA;            TweenMax.to(searchIcon, .5, { x: 0 });&#xA;            TweenMax.to(closeIcon, .5, { x: -100 });&#xA;            console.log('close clicked');&#xA;        });&#xA;    &amp;lt;/script&amp;gt;&#xA;&#xA;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;errors:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;GET&#xA;  &lt;a href=&quot;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/owl.carousel.min.css&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/owl.carousel.min.css&lt;/a&gt;&#xA;  Affiliates:16 GET&#xA;  &lt;a href=&quot;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/bootstrap/bootstrap.min.css&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/bootstrap/bootstrap.min.css&lt;/a&gt;&#xA;  Affiliates:18 GET&#xA;  &lt;a href=&quot;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/NWF.css&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/NWF.css&lt;/a&gt;&#xA;  Affiliates:24 GET&#xA;  &lt;a href=&quot;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/owl.theme.default.css&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/owl.theme.default.css&lt;/a&gt;&#xA;  Affiliates:17 GET&#xA;  &lt;a href=&quot;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/custom_css.css&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Css/custom_css.css&lt;/a&gt;&#xA;  Affiliates:30 GET&#xA;  &lt;a href=&quot;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Scripts/custom.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Scripts/custom.js&lt;/a&gt;&#xA;  Affiliates:27 GET&#xA;  &lt;a href=&quot;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Scripts/jquery-3.1.1.min.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Scripts/jquery-3.1.1.min.js&lt;/a&gt;&#xA;  Affiliates:29 GET&#xA;  &lt;a href=&quot;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Scripts/bootstrap.min.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Scripts/bootstrap.min.js&lt;/a&gt;&#xA;  Affiliates:31 GET&#xA;  &lt;a href=&quot;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Scripts/owl.carousel.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:10305/Home/Trees%20for%20Wildlife/About%20Us/Scripts/owl.carousel.js&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="2727" LastEditDate="2018-02-28T17:48:06.143" LastActivityDate="2018-02-28T17:48:06.143" Title="Why isn't my CSS or my scripts loading on subsequent pages that work fine in my Preview and Experience Editor" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6157" PostTypeId="2" ParentId="6156" CreationDate="2017-06-14T15:54:04.063" Score="2" Body="&lt;p&gt;Yes so the problem is that you have relative script/style paths.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So instead of:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;script src=&quot;Scripts/bootstrap.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;script src=&quot;/Scripts/bootstrap.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That should fix your issue.  You need to do that for every reference.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-06-14T15:54:04.063" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6160" PostTypeId="1" CreationDate="2017-06-14T17:28:37.067" Score="6" ViewCount="739" Body="&lt;p&gt;On one of my templates I need to restrict the write/rename and deletion of a component that gets added by default on the items for a specific role to a placeholder only. I cannot restrict the user from adding the same component on other sections of the page, just on the header placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried restricting permissions on the placeholder settings and I have confirmed on access viewer that the role has read only permissions but for some reason I can still edit it using experience editor.&#xA;I'm looking for ideas here, ideally that does not require customizations code wise.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-10-21T20:56:55.277" Title="Restricting just a section of the page from editing" Tags="|security|placeholders|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6161" PostTypeId="1" AcceptedAnswerId="6224" CreationDate="2017-06-14T17:40:13.470" Score="4" ViewCount="1708" Body="&lt;p&gt;I am in the process of migrating my solution from VS 2013 to VS 2017. I installed the correct version of TDS (TDS &lt;code&gt;5.6.0.15&lt;/code&gt; for VS 2017) and when trying to open the solution in VS 2017, TDS projects are not loading and throwing following error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UGXBv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UGXBv.png&quot; alt=&quot;TDS - Project Target Framework Not Installed&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tried an option in the error dialog box to convert TDS project to &lt;code&gt;.NET Framework 4.6.1&lt;/code&gt; but it does nothing and TDS projects are still not loading. Not sure how to fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I really need &lt;code&gt;.NET Framework 4.0&lt;/code&gt; installed on this machine?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would appreciate if someone can chime in with a solution for similar migration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is &lt;code&gt;PropertyGroup&lt;/code&gt; node from Project definition file (&lt;code&gt;.csproj&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Project ToolsVersion=&quot;4.0&quot; DefaultTargets=&quot;Build&quot; xmlns=&quot;http://schemas.microsoft.com/developer/msbuild/2003&quot;&amp;gt;&#xA;  &amp;lt;PropertyGroup&amp;gt;&#xA;    &amp;lt;Configuration Condition=&quot; '$(Configuration)' == '' &quot;&amp;gt;Debug&amp;lt;/Configuration&amp;gt;&#xA;    &amp;lt;Platform Condition=&quot; '$(Platform)' == '' &quot;&amp;gt;AnyCPU&amp;lt;/Platform&amp;gt;&#xA;    &amp;lt;ProductVersion&amp;gt;9.0.21022&amp;lt;/ProductVersion&amp;gt;&#xA;    &amp;lt;SchemaVersion&amp;gt;2.0&amp;lt;/SchemaVersion&amp;gt;&#xA;    &amp;lt;ProjectGuid&amp;gt;{1a9cd7e6-633b-4cfd-a018-c68ce1f57482}&amp;lt;/ProjectGuid&amp;gt;&#xA;    &amp;lt;TargetFrameworkVersion&amp;gt;v2.0&amp;lt;/TargetFrameworkVersion&amp;gt;&#xA;    &amp;lt;SourceWebPhysicalPath&amp;gt;..\GexaNes.Web&amp;lt;/SourceWebPhysicalPath&amp;gt;&#xA;    &amp;lt;SourceWebProject&amp;gt;{b8d502fa-286e-45e9-b41f-584dadd80d16}|GexaNes.Web\GexaNes.Web.csproj&amp;lt;/SourceWebProject&amp;gt;&#xA;    &amp;lt;SourceWebVirtualPath&amp;gt;/GexaNes.Web.csproj&amp;lt;/SourceWebVirtualPath&amp;gt;&#xA;    &amp;lt;TargetFrameworkVersion&amp;gt;v2.0&amp;lt;/TargetFrameworkVersion&amp;gt;&#xA;    &amp;lt;EnableUpdateable&amp;gt;true&amp;lt;/EnableUpdateable&amp;gt;&#xA;    &amp;lt;UseMerge&amp;gt;true&amp;lt;/UseMerge&amp;gt;&#xA;    &amp;lt;SingleAssemblyName&amp;gt;GexaNes.TDS.Core&amp;lt;/SingleAssemblyName&amp;gt;&#xA;    &amp;lt;UseWebConfigReplacement&amp;gt;false&amp;lt;/UseWebConfigReplacement&amp;gt;&#xA;    &amp;lt;DeleteAppCodeCompiledFiles&amp;gt;true&amp;lt;/DeleteAppCodeCompiledFiles&amp;gt;&#xA;    &amp;lt;LegacyFileReplacement&amp;gt;false&amp;lt;/LegacyFileReplacement&amp;gt;&#xA;    &amp;lt;AssemblyName&amp;gt;GexaNes.TDS.Core&amp;lt;/AssemblyName&amp;gt;&#xA;    &amp;lt;Name&amp;gt;GexaNes.TDS.Core&amp;lt;/Name&amp;gt;&#xA;    &amp;lt;RootNamespace&amp;gt;GexaNes.TDS.Core&amp;lt;/RootNamespace&amp;gt;&#xA;    &amp;lt;SitecoreDatabase&amp;gt;core&amp;lt;/SitecoreDatabase&amp;gt;&#xA;    &amp;lt;SccProjectName&amp;gt;&#xA;    &amp;lt;/SccProjectName&amp;gt;&#xA;    &amp;lt;SccProvider&amp;gt;&#xA;    &amp;lt;/SccProvider&amp;gt;&#xA;    &amp;lt;SccAuxPath&amp;gt;&#xA;    &amp;lt;/SccAuxPath&amp;gt;&#xA;    &amp;lt;SccLocalPath&amp;gt;&#xA;    &amp;lt;/SccLocalPath&amp;gt;&#xA;    &amp;lt;EnableCodeGeneration&amp;gt;false&amp;lt;/EnableCodeGeneration&amp;gt;&#xA;    &amp;lt;ManageRoles&amp;gt;False&amp;lt;/ManageRoles&amp;gt;&#xA;    &amp;lt;AssemblyStatus&amp;gt;Exclude&amp;lt;/AssemblyStatus&amp;gt;&#xA;  &amp;lt;/PropertyGroup&amp;gt;&#xA;  ....&#xA;&amp;lt;/Project&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2051" LastEditorUserId="172" LastEditDate="2017-06-15T18:14:06.870" LastActivityDate="2017-06-19T15:58:58.790" Title="TDS project not loading while migrating solution from VS 2013 to VS 2017" Tags="|tds|visual-studio|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6162" PostTypeId="1" AcceptedAnswerId="6171" CreationDate="2017-06-14T18:51:10.647" Score="2" ViewCount="1435" Body="&lt;p&gt;We are in the process of upgrading sitecore website from v7.2 to v8.2 and are not seeing the indexing manager links in sitecore control panel and Developer tab is also not showing up within content editor with builtin admin account login.&lt;/p&gt;&#xA;" OwnerUserId="2025" LastActivityDate="2017-06-15T15:18:47.673" Title="Indexing options are not showing up in sitecore control panel (v8.2 update 3) and developer tab is not visible" Tags="|upgrade|indexing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6163" PostTypeId="1" AcceptedAnswerId="6166" CreationDate="2017-06-14T18:53:29.913" Score="4" ViewCount="506" Body="&lt;p&gt;Where does sitecore xdb Aggregation / Processing background services run, will this run in worker process when sitecore app pool starts or as a windows services? &lt;/p&gt;&#xA;" OwnerUserId="1870" LastEditorUserId="2056" LastEditDate="2018-06-06T12:02:09.270" LastActivityDate="2018-06-06T12:02:09.270" Title="xdb Aggregation / Processing background services" Tags="|xdb|processing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6164" PostTypeId="1" AcceptedAnswerId="6167" CreationDate="2017-06-14T19:03:43.773" Score="7" ViewCount="902" Body="&lt;p&gt;My requirement is to use Sitecore Experience Accelerator in conjunction with a Sitecore 8.2 Update-2 site. However, none of the Sitecore Experience Accelerator packages specify compatibility with Sitecore 8.2 Update-2 - they all state that Update-1 or Update-3 is required. Which version should I use?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SXA 1.0.0 states compatibility with Sitecore 8.2 initial release&lt;/li&gt;&#xA;&lt;li&gt;SXA 1.1 states compatibility with Sitecore 8.2 initial release&lt;/li&gt;&#xA;&lt;li&gt;SXA 1.2 states compatibility with Sitecore 8.2 Update-1&lt;/li&gt;&#xA;&lt;li&gt;SXA 1.3 states compatibility with Sitecore 8.2 Update-3&lt;/li&gt;&#xA;&lt;li&gt;SXA 1.3.1 states compatibility with Sitecore 8.2 Update-3&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2054" LastActivityDate="2017-06-14T19:16:40.240" Title="Which Sitecore Experience Accelerator version should be used with Sitecore 8.2 Update 2?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6166" PostTypeId="2" ParentId="6163" CreationDate="2017-06-14T19:07:51.600" Score="7" Body="&lt;p&gt;Aggregation processing extracts data from the collection database, then groups and reduces it before storing the data in the reporting database for use by Sitecore reporting applications.&#xA;It runs on CM server or in a standalone Processing Server. So is a worker process not a windows service. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt; &lt;strong&gt;for When aggregation process runs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When Sitecore starts, a hook runs that starts the AggregationLoader. The loader instantiates the AggregationModule, which is basically a container for agents. The agents are specified in the Sitecore config files. These agents handle the various processes that ensure the aggregation process runs properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of these agents is the aggregation agent. This agent has a property named Dispatcher. The dispatcher provides InteractionWorkItem objects to the agent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the session ends an entry is made in the tracking database (which is another MongoDB database) that identifies the interaction that represents the session activity. The aggregation agent's Dispatcher reads the entries from the tracking database. Those entries are exposed as InteractionWorkItem objects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference :- &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/introducing-the-sitecore-analytics-index&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/introducing-the-sitecore-analytics-index&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="526" LastEditDate="2017-06-15T07:40:02.920" LastActivityDate="2017-06-15T07:40:02.920" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6167" PostTypeId="2" ParentId="6164" CreationDate="2017-06-14T19:16:40.240" Score="6" Body="&lt;p&gt;The compatibility is normally a minimal version. So in your case that would mean SXA 1.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I would really recommend you to upgrade your Sitecore solution to update-3 first (minor upgrade) so you can use SXA 1.3(.1). It has some major benefits (e.g. bootstrap) that will make your SXA experience a lot better. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also note that if you have used a &quot;dynamic placeholder&quot; solution in your existing site, you might run into issues when installing SXA on top of it - take a backup ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-14T19:16:40.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6168" PostTypeId="1" AcceptedAnswerId="6237" CreationDate="2017-06-14T19:27:21.363" Score="1" ViewCount="1658" Body="&lt;p&gt;I have a rendering based on a data source. One of the fields on the data source is a DropLink. I added a Custom Experience Editor Button to the rendering to edit the DropLink. The field I want to edit is called Theme:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gAlC5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gAlC5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My custom button appears in the experience editor:&lt;a href=&quot;https://i.stack.imgur.com/Lu9UO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Lu9UO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I click on it, the popup has no fields available to edit:&lt;a href=&quot;https://i.stack.imgur.com/q9KYe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q9KYe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-06-19T21:19:21.500" Title="Custom Experience Editor Buttons - no fields appear" Tags="|experience-editor|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="6169" PostTypeId="1" CreationDate="2017-06-14T19:58:25.620" Score="1" ViewCount="126" Body="&lt;p&gt;So my knowledge in this area is limited as most of the implementations I've been involved with have been less focused on the xDB system and as a result I have questions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Current situation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Load Balanced between two CD servers with own SQL Server and MongoDB instance&lt;/li&gt;&#xA;&lt;li&gt;One CM with own SQL Server and MongoDB instance&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Do both CD servers point to one SQL and MongoDB?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where does a user access the Analytical data, though CM or through one of the CD servers?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How does this all change if we decide to use Sitecore's Cloud xDB option?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone knows where I can find documentation, has advice to help or provide any pitfalls I might encounter I'd greatly appreciate it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="2050" LastActivityDate="2017-06-14T19:58:25.620" Title="What is Sitecore xDB best practice for scalability and usage" Tags="|xdb|experience-analytics|scaling|" AnswerCount="0" CommentCount="5" ClosedDate="2017-06-15T15:23:22.410" ContentLicense="CC BY-SA 3.0" />
  <row Id="6170" PostTypeId="1" AcceptedAnswerId="6173" CreationDate="2017-06-14T19:59:14.750" Score="4" ViewCount="1166" Body="&lt;p&gt;I am attempting an update from Sitecore 8.1 Initial to 8.2 Update 3 and after running the update package and showing normal warnings on the update, I am getting the below error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already updated my version of GlassMapper so I am running version v4.3.4.197 Not quite sure what is going on. I am using 4.6.2 .Net Framework also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using dotPeek I see that GlassMapper 4.3.4.197 does not have IsExperienceEditor which is the only choice in Sitecore 8.2 Update 3.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Method not found: 'Boolean PageMode.get_IsPageEditor()'.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.MissingMethodException: Method not found:&#xA;  'Boolean PageMode.get_IsPageEditor()'.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[MissingMethodException: Method not found: 'Boolean&#xA;  PageMode.get_IsPageEditor()'.]&lt;br&gt;&#xA;  Glass.Mapper.Sc.Utilities.get_IsPageEditor() in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Utilities.cs:54&#xA;  Glass.Mapper.Sc.SitecoreService.Initiate(IDependencyResolver resolver)&#xA;  in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\SitecoreService.cs:111&#xA;  Glass.Mapper.Sc.IoC.SitecoreContextFactory.GetSitecoreContext(Context&#xA;  context) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\IoC\SitecoreContextFactory.cs:63&#xA;  Glass.Mapper.Sc.Pipelines.Response.GetModelFromView.Process(GetModelArgs&#xA;  args) in&#xA;  c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc.Mvc\Pipelines\Response\GetModelFromView.cs:91&#xA;  (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +196&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args, Func&lt;code&gt;2 resultGetter) +161&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.Rendering.GetModel() +281&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.Rendering.get_Model() +30&lt;br&gt;&#xA;  Sitecore.Mvc.Extensions.ObjectExtensions.ValueOrDefault(T source,&#xA;  Func&lt;/code&gt;2 resultGetter) +57&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.get_Model() +150&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +255&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/Views/MainLayout.cshtml'. ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +148&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +75    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +196&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext&#xA;  viewContext, TextWriter writer) +302&lt;br&gt;&#xA;  System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;  +375    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +90&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;/code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +833&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +833&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext&#xA;  controllerContext, IList&lt;/code&gt;1 filters, ActionResult actionResult) +81&lt;br&gt;&#xA;  System.Web.Mvc.Async.&amp;lt;&gt;c__DisplayClass21.b__1e(IAsyncResult&#xA;  asyncResult) +37&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Version Information: Microsoft .NET Framework Version:4.0.30319;&#xA;  ASP.NET Version:4.6.1637.0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2052" LastEditorUserId="2052" LastEditDate="2017-06-14T20:19:09.090" LastActivityDate="2017-06-14T20:43:56.367" Title="Sitecore 8.1 initial to 8.2 Update 3 Glass Mapper 4.3 looking for IsPageEditor" Tags="|sitecore-client|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6171" PostTypeId="2" ParentId="6162" CreationDate="2017-06-14T20:21:24.230" Score="2" Body="&lt;p&gt;&lt;strong&gt;Sitecore Developer Tab&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, Sitecore hides the Developer Tab. In order to active the Developer Tab, you need to right click on the Content Editor Ribbon and select the Developer option from the list. Please see below screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/u7OJY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u7OJY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Index Manager Link&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may be that when upgrading to Sitecore 8.2 from 7.2, some items were not properly installed or have been missed. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that you have the &lt;code&gt;Indexing Manager&lt;/code&gt; item under the path &lt;code&gt;/sitecore/content/Applications/Control Panel/Indexing/Indexing Manager&lt;/code&gt; in the &lt;strong&gt;Core Database&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that the field &lt;code&gt;Click&lt;/code&gt; is populated with the value &lt;code&gt;indexing:runmanager&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fGEtV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fGEtV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the index configuration has changed in Sitecore 8.2. In the different indexes (core, master and web), it makes use of the following configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you need to make sure that all your custom indexes have this configuration. Moreover, the &lt;code&gt;Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config&lt;/code&gt; should be something as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dj1XO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dj1XO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-06-15T15:18:47.673" LastActivityDate="2017-06-15T15:18:47.673" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6172" PostTypeId="1" CreationDate="2017-06-14T20:32:43.280" Score="4" ViewCount="112" Body="&lt;p&gt;I'm running Sitecore 8.1 (Original Release), and last night we switched our SOLR indexes to use a dedicated SOLR Cloud set of servers instead of using a stand-alone SOLR instance on our CM server. Everything seemed to be working fine last night when we made the switch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, our Content Editors reported to us this morning that things were not working very well. We started investigating the issue and we found that 1 of our &lt;code&gt;Multi-list with Search&lt;/code&gt; fields looked like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b7O4m.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b7O4m.png&quot; alt=&quot;Garbled Multi-list with search field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This only happens on a few (but not all) of our &lt;code&gt;Multi-list with Search&lt;/code&gt; fields. We see the same behavior on any template that is based on the template(s) that are having the issue. The garbage displayed here seems to be the &lt;code&gt;GUIDs&lt;/code&gt; of the items that were selected prior to this field not displaying properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Could this have anything to do with moving my indexes to SOLR Cloud?&lt;/li&gt;&#xA;&lt;li&gt;Where do I start looking to figure out how to fix this problem?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="339" LastEditorUserId="605" LastEditDate="2017-06-15T07:00:33.900" LastActivityDate="2017-06-15T07:00:33.900" Title="Multi-list with search showing gibberish after switching to SOLR Cloud" Tags="|content-editor|solr|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6173" PostTypeId="2" ParentId="6170" CreationDate="2017-06-14T20:43:56.367" Score="3" Body="&lt;p&gt;Jim - so, I think the problem is the same - you are running with a Glass binary that has been compiled against a version of Sitecore where &lt;code&gt;IsPageEditor&lt;/code&gt; was still available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you install the Glass nuget package, it runs a PowerShell script that tries to detect which version of Sitecore you have installed and then references the matching Glass binaries. My guess is that your project may have still referenced the previous version of Sitecore &lt;em&gt;or&lt;/em&gt; when you upgraded the Glass nuget package, it didn't re-check your &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt; version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look in your packages folder, you should see all the versions listed like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZVhFp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZVhFp.png&quot; alt=&quot;Glass Nuget Versions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check in your project the path to the Glass.Mapper.Sc binary - it should be referencing the one in the &lt;code&gt;100&lt;/code&gt; folder to match 8.2 update 3, like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZQ0Tm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZQ0Tm.png&quot; alt=&quot;Glass.Mapper.Sc reference&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it is not, just delete the reference and re-add it pointing at the right version, or remove it via NuGet and re-add the NuGet reference, if you do that, make sure that your project is referencing the correct version of &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-06-14T20:43:56.367" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6174" PostTypeId="1" AcceptedAnswerId="6388" CreationDate="2017-06-15T02:11:04.067" Score="6" ViewCount="216" Body="&lt;p&gt;Is it possible to pre-populate a WFFM field with campaign link id?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a campaign from Twitter, Facebook, and messenger. In the export excel/report we want to know where that visitor came from (ex. is it from Twitter, Facebook or messenger).&lt;/p&gt;&#xA;" OwnerUserId="1591" LastEditorUserId="1000" LastEditDate="2017-06-15T02:15:44.780" LastActivityDate="2017-10-27T16:23:46.433" Title="How to pre-populate a field in WFFM with campaign information" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6175" PostTypeId="1" AcceptedAnswerId="6178" CreationDate="2017-06-15T04:31:47.867" Score="7" ViewCount="389" Body="&lt;p&gt;I am using a Page Content Rendering with a custom variant to output an Image property. How could I control the dimensions of the raw image output. &lt;/p&gt;&#xA;" OwnerUserId="2055" LastActivityDate="2018-03-22T07:01:30.730" Title="Control output size of Image field in SXA Page Content Rendering" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6177" PostTypeId="1" AcceptedAnswerId="6181" CreationDate="2017-06-15T07:06:02.050" Score="4" ViewCount="361" Body="&lt;p&gt;​I have created 4 tags in Sitecore at &lt;code&gt;Sitecore/System/Settings/Buckets/TagRepository&lt;/code&gt;. I have added Coveo Facet View rendering on the page and selected &lt;code&gt;Tags&lt;/code&gt; field in the properties. It is only showing up 2 tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Environment&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore version 8.2 update 2 &lt;/li&gt;&#xA;&lt;li&gt;Coveo Cloud Free trial&lt;/li&gt;&#xA;&lt;li&gt;Coveo for Sitecore 4.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QflYS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QflYS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/iewLg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iewLg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="605" LastEditDate="2017-06-15T19:58:05.547" LastActivityDate="2017-06-15T19:58:05.547" Title="Coveo Facet View only showing up 2 Tags instead of all" Tags="|content-search|coveo|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6178" PostTypeId="2" ParentId="6175" CreationDate="2017-06-15T07:57:33.020" Score="2" Body="&lt;p&gt;There is no variant definition for an Image field (like there is for a Date field). This is definitely something that is missing in the current version of SXA - I do expect that it is on the roadmap though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So with simple variants, I'm afraid you cannot scale the image (you could use css to control dimensions but that is not what you want to do).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might be able to do this using NVelocity, but that will not be as user-friendly as a 'normal' variant definition.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-15T07:57:33.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6179" PostTypeId="2" ParentId="6151" CreationDate="2017-06-15T11:02:30.833" Score="2" Body="&lt;p&gt;Adding indexing onto the two WFFM database tables increases performance significantly, enough to eliminate the timeout issues. I used the following SQL script to add indexing to the &lt;code&gt;FieldData&lt;/code&gt; and &lt;code&gt;FormData&lt;/code&gt; tables and to rebuild the indexes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;--Create index on FieldData table&#xA;CREATE NONCLUSTERED INDEX [IX_FormId] ON [dbo].[FieldData]&#xA;(&#xA;   [FormId] ASC&#xA;)WITH (&#xA;    PAD_INDEX = OFF,&#xA;    STATISTICS_NORECOMPUTE = OFF,&#xA;    SORT_IN_TEMPDB = OFF,&#xA;    DROP_EXISTING = OFF,&#xA;    ONLINE = OFF,&#xA;    ALLOW_ROW_LOCKS = ON,&#xA;    ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]&#xA;GO&#xA;&#xA;--Create index on FormData table&#xA;CREATE NONCLUSTERED INDEX [IX_FormItemId] ON [dbo].[FormData]&#xA;(&#xA;    [FormItemId] ASC&#xA;)WITH (&#xA;    PAD_INDEX = OFF,&#xA;    STATISTICS_NORECOMPUTE = OFF,&#xA;    SORT_IN_TEMPDB = OFF,&#xA;    DROP_EXISTING = OFF,&#xA;    ONLINE = OFF,&#xA;    ALLOW_ROW_LOCKS = ON,&#xA;    ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]&#xA;GO&#xA;&#xA;--Rebuild indexes on FieldData table&#xA;ALTER INDEX ALL ON [dbo].[FieldData]&#xA;REBUILD WITH (&#xA;    FILLFACTOR = 80,&#xA;    SORT_IN_TEMPDB = ON,&#xA;    STATISTICS_NORECOMPUTE = ON);&#xA;GO&#xA;&#xA;--Rebuild indexes on FormData table&#xA;ALTER INDEX ALL ON [dbo].[FormData]&#xA;REBUILD WITH (&#xA;    FILLFACTOR = 80,&#xA;    SORT_IN_TEMPDB = ON,&#xA;    STATISTICS_NORECOMPUTE = ON);&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Previous Comment&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After bringing a backup of our data and attaching it locally, I ran SQL Profiler while running the export. It seems that WFFM actually issues a separate SELECT statement for each form submission, which seems crazy to me. I guess this explains the slowness/timeouts when working with significant amounts of data. Not sure if there is a solution to this, beyond simply writing your own SQL query to extract the data.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2017-06-16T10:15:00.757" LastActivityDate="2017-06-16T10:15:00.757" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6180" PostTypeId="2" ParentId="6177" CreationDate="2017-06-15T11:41:39.900" Score="2" Body="&lt;p&gt;Assuming that everything is published and indexed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only the facets that apply to the items in the current result set will be displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is done to prevent applying facets that will result in an empty result set.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-06-15T11:41:39.900" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6181" PostTypeId="2" ParentId="6177" CreationDate="2017-06-15T12:01:15.527" Score="3" Body="&lt;p&gt;The values shown in facets depend on what is indexed and what is currently filtered in the search interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are not &lt;em&gt;directly&lt;/em&gt; using the tag repository, you need to index content that has these tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are many reasons as to why it would &lt;em&gt;not&lt;/em&gt; show some values, here are some things to validate:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Not indexed at all&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Items with your tags have not been reindexed with their new tag for some reason. =&gt; Reindex&lt;/li&gt;&#xA;&lt;li&gt;Items that do contain those tags are not in the crawled root. =&gt; Change the crawlers&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;li&gt;Security&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your public identity does not have access to those documents. =&gt; Validate the security and adjust as needed.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;li&gt;Items that have those tags are not returned in the results&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;By default, Coveo for Sitecore shows only items that has a layout, with the current language and latest version =&gt; Remove those filters and see if they show up, or simply go in the Cloud Administration Console and test some custom queries.&lt;/li&gt;&#xA;&lt;li&gt;Other custom filters added to the &lt;code&gt;aq&lt;/code&gt; part of the query =&gt; Validate anything custom and see if they interfere.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="290" LastActivityDate="2017-06-15T12:01:15.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6182" PostTypeId="1" AcceptedAnswerId="6183" CreationDate="2017-06-15T12:08:41.597" Score="5" ViewCount="608" Body="&lt;p&gt;We are currently using custom SMTP provider with Sitecore EXM 3.3. As we know from Sitecore Support, Sitecore handles all bounces (that are read through POP3) as hard bounces in custom SMTP scenario.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are currently investigating option to consume event APIs for either Sendgrid or MailJet which provide bounce api but don;t know whether we can somehow use Sitecore API (EXM API) to set bounces on contacts based on email address.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="73" LastEditDate="2019-09-09T12:25:56.630" LastActivityDate="2019-09-09T12:25:56.630" Title="Handling bounces using Sendgrid or Mailjet API" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6183" PostTypeId="2" ParentId="6182" CreationDate="2017-06-15T12:43:48.097" Score="3" Body="&lt;p&gt;If you want to customize the bounce handling, your best option would be to implement a custom IPop3ReceiversCollection and IPop3BounceReceiver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The IPop3ReceiversCollection is defined in the receiversCollection element of /App_Config/Include/EmailExperience/Sitecore.EDS.Providers.CustomSMTP.Sync.config, by default Sitecore.EDS.Providers.CustomSmtp.Reporting.Pop3ReceiversCollection which uses a Sitecore.EDS.Providers.CustomSmtp.Reporting.ChilkatPop3BounceReceiver to process the actual messages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ChilkatPop3BounceReceiver is what's actually determining if it's a hard bounce or not. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately you cannot replace ChilkatPop3BounceReceiver as Pop3ReceiversCollection is hardcoded to use it, so you will have to override both.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-06-15T12:43:48.097" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6185" PostTypeId="1" CreationDate="2017-06-15T13:12:41.387" Score="10" ViewCount="3018" Body="&lt;p&gt;I would like to &lt;strong&gt;update&lt;/strong&gt; a workflow (any Standard Field) for all &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;existing items&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;new items&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What is the best way to do this? Can I use Sitecore Rocks or Sitecore Powershell Extensions? Any other better way?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="605" LastEditDate="2017-06-15T19:56:17.737" LastActivityDate="2017-06-18T07:23:59.960" Title="Updating Workflow for all the Items in Sitecore Instance" Tags="|powershell-extensions|workflow|sitecore-rocks|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6186" PostTypeId="2" ParentId="6185" CreationDate="2017-06-15T13:16:05.443" Score="10" Body="&lt;p&gt;You can use below powershell script (&lt;a href=&quot;https://gist.github.com/marcduiker/950e0358bb4752ed5b047931a8c958c1&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/marcduiker/950e0358bb4752ed5b047931a8c958c1&lt;/a&gt;)  : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# This is the ID of the workflow that will be set on the content items.&#xA;$script:workflowID = &quot;{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}&quot; #Sample Workflow&#xA;&#xA;# This is the ID of the workflow state that will be set on the content items.&#xA;$script:workflowStateID = &quot;{FCA998C5-0CC3-4F91-94D8-0A4E6CAECE88}&quot; #Approved State&#xA;&#xA;#endregion&#xA;&#xA;function GetTemplatesWhichUseTheWorkflow()&#xA;{&#xA;    $itemsWithMatchingDefaultWorkflow = Get-Item -Path master: -Query &quot;/sitecore/templates//*[@__Default workflow='$script:workflowID']&quot;&#xA;&#xA;    Write-Host &quot;Templates which use workflow&quot; $script:workflowID&quot;:&quot;&#xA;    foreach ($item in $itemsWithMatchingDefaultWorkflow)&#xA;    {&#xA;        # The Default workflow field can only be set for __Standard Value items but checking that nevertheless.&#xA;        if ($item.Name -eq &quot;__Standard Values&quot;)&#xA;        {&#xA;            $script:templateIDsWithDefaultWorkflow.Add($item.TemplateID) &amp;gt; $null # The output of the Add is ignored&#xA;            Write-Host &quot; -&quot; $item.TemplateName $item.TemplateID&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;function SetWorkflowAndState([Sitecore.Data.Items.Item]$contentItem)&#xA;{&#xA;    $contentItem.__Workflow = $script:workflowID&#xA;    $contentItem.&quot;__Workflow state&quot; = $script:workflowStateID&#xA;    $script:itemCount++&#xA;    Write-Host &quot; -&quot; $contentItem.Name $contentItem.ID&#xA;}&#xA;&#xA;function ProcessContentItems()&#xA;{&#xA;    # Update only the content items for the matching templateIDs and an empty Workflow field.&#xA;    Write-Host &quot;Updating content items to set workflow to&quot; $script:workflowID &quot;and state to&quot; $script:workflowStateID&quot;:&quot; &#xA;    $processedItems = Get-ChildItem -Path master:/content `&#xA;                -Recurse | `&#xA;                Where-Object { ($script:templateIDsWithDefaultWorkflow.Contains($_.TemplateID)) -and ($_.__Workflow -eq &quot;&quot;) } | `&#xA;                ForEach-Object { SetWorkflowAndState($_) }&#xA;&#xA;    Write-Host &quot;# of processed items:&quot; $script:itemCount&#xA;}&#xA;&#xA;# Declare a new ArrayList to add the IDs of the templates which use the workflow.&#xA;# An ArrayList is used instead of the the default PS Array because the latter is immutable and not efficient when working with large arrays.&#xA;$script:templateIDsWithDefaultWorkflow = New-Object System.Collections.ArrayList&#xA;&#xA;# Counter to keep track of the updated content items. &#xA;$script:itemCount = 0&#xA;&#xA;GetTemplatesWhichUseTheWorkflow&#xA;&#xA;if ($script:templateIDsWithDefaultWorkflow.Count -eq 0)&#xA;{&#xA;    Write-Warning &quot;No templates found which use the workflow.&quot;&#xA;}&#xA;else&#xA;{&#xA;    ProcessContentItems&#xA;}&#xA;&#xA;Write-Host &quot;Done.&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To assign workflow to an item please follow bellow link : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/workflowreference-usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/workflowreference-usletter.pdf&lt;/a&gt; &#xA;You need to assing on standard values of the template Default Workflow.  &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-06-15T13:53:38.597" LastActivityDate="2017-06-15T13:53:38.597" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6187" PostTypeId="2" ParentId="6185" CreationDate="2017-06-15T13:59:44.820" Score="2" Body="&lt;p&gt;Here is a powershell script to update all templates standard values. Just update the guid and the path to your templates.&#xA;Note that you can easily enhance this script to adapt for existing items on the content tree as well. This should get you going:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    $templates = Get-ChildItem -Path &quot;/sitecore/templates/My Project Templates&quot; -Recurse | Where-Object { $_.Name -match &quot;__Standard Values&quot; } | ForEach-Object{&#xA;        $_.__Workflow = &quot;{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastEditorUserId="73" LastEditDate="2017-06-18T07:23:59.960" LastActivityDate="2017-06-18T07:23:59.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6188" PostTypeId="1" CreationDate="2017-06-15T15:42:46.393" Score="2" ViewCount="2064" Body="&lt;p&gt;Using the Sitecore API, I can use the following to get all of the languages that an item has a version in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var itemLanguages = &#xA;    ItemManager.GetContentLanguages(Sitecore.Context.Item)&#xA;        .Select(&#xA;            lang =&amp;gt; &#xA;                new &#xA;                { &#xA;                    Language = lang, &#xA;                    HasLanguage = ItemManager.GetVersions(Sitecore.Context.Item, lang).Count &amp;gt; 0&#xA;                })&#xA;        .Where(langInfo =&amp;gt; langInfo.HasLanguage)&#xA;        .Select(langInfo =&amp;gt; langInfo.Language);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since the &lt;code&gt;ItemManager&lt;/code&gt; does not have any overloads for the &lt;code&gt;ItemManager.GetContentLanguages&lt;/code&gt; or the &lt;code&gt;ItemManager.GetVersions&lt;/code&gt; methods that accept item IDs instead of items, does anyone know of a way to map a glass property on a glass model that holds all of the languages that an item has a version in without doing an extra item-get, i.e. without re-getting the item as a &lt;code&gt;Sitecore.Data.Items.Item&lt;/code&gt; via a &lt;code&gt;GetItem&lt;/code&gt; call?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-06-15T15:56:07.123" LastActivityDate="2017-06-15T15:56:07.123" Title="Get all languages that an item has a version in using Glass Mapper" Tags="|glass-mapper|multilingual|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6189" PostTypeId="1" AcceptedAnswerId="14637" CreationDate="2017-06-15T16:02:28.073" Score="12" ViewCount="2001" Body="&lt;p&gt;I want to create custom new languages. On-premise or IaaS I can use &#xA;  &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Custom_Language_Registration.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Custom_Language_Registration.aspx&lt;/a&gt;&#xA;to register a new language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have some knowledge adding custom language to Sitecore Azure Web Apps?&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="312" LastEditDate="2018-11-09T10:33:11.430" LastActivityDate="2018-11-09T10:33:11.430" Title="How to add custom language to Sitecore on Azure PaaS Web Apps?" Tags="|azure|paas|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="6191" PostTypeId="2" ParentId="6161" CreationDate="2017-06-15T18:07:31.887" Score="0" Body="&lt;p&gt;I remember running into this issue a while back. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To address it I had to download manually the .net Framework on the corresponding version(in my case I think it was 4.5) and install it on my environment. After that the TDS project would load properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this is an option on your side&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-06-15T18:07:31.887" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6192" PostTypeId="1" AcceptedAnswerId="10351" CreationDate="2017-06-16T06:45:06.290" Score="2" ViewCount="159" Body="&lt;p&gt;I am hoping to use the Solr QueryElevationComponent for best bets on my site search. Hooking it up was easy enough, the biggest issue I have is &lt;code&gt;_uniqueid&lt;/code&gt; field which is used by the component to identify the document (because it's defined as the uniqueKey in the schema). The &lt;code&gt;_uniqueid&lt;/code&gt; field by default contains the index name and the version number, which makes using the component quite unmanageable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;eg.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;query text=&quot;boo&quot;&amp;gt;&#xA;    &amp;lt;doc id=&quot;sitecore://master/{0a5cce11-62fa-40da-ad28-6ec05e236b0b}?lang=en&amp;amp;amp;ver=18&amp;amp;amp;ndx=sitecore_master_index&quot; /&amp;gt;&#xA;&amp;lt;/query&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone got any ideas on, how I can get this to work? I have thought of a few options, but have no idea on the repercussions or if they are even possible:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rewrite the &lt;code&gt;_uniqueid&lt;/code&gt; to something more usable and static between versions&lt;/li&gt;&#xA;&lt;li&gt;Use a different field as the &lt;code&gt;uniquekey&lt;/code&gt; (e.g. &lt;code&gt;_group&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Store only the latest version of the Sitecore item in Solr, so I can use the GUID as an identifier.&lt;/li&gt;&#xA;&lt;li&gt;List the next few document versions (18,19,20 etc) in the xml file in current format to handle version updates to the Sitecore item&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1665" LastEditorUserId="2727" LastEditDate="2018-02-07T14:10:55.190" LastActivityDate="2018-02-21T21:40:15.773" Title="Solr QueryElevationComponent component usage" Tags="|content-search|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6195" PostTypeId="1" AcceptedAnswerId="6239" CreationDate="2017-06-16T11:31:55.523" Score="2" ViewCount="428" Body="&lt;p&gt;We have hosted our sitecore CMS on to azure web apps. The HTTP is disabled on NSG layer, so only HTTPs is allowed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use azure provided certificate (i.e. azurewebsite wild card cert.) Noticed that URL agent isn't working with SSL. Read few posts below but didn't help:&#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3984&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/3984&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the exception that's been logged.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #6 00:13:05 INFO  Job started:&#xA;  Sitecore.Tasks.UrlAgent ManagedPoolThread #6 00:13:05 INFO &#xA;  Scheduling.UrlAgent started. Url:&#xA;  &lt;a href=&quot;https://cms.myasite.azurewebsite.com/sitecore/service/keepalive.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cms.myasite.azurewebsite.com/sitecore/service/keepalive.aspx&lt;/a&gt;&#xA;  ManagedPoolThread #6 00:13:05 ERROR Exception in UrlAgent (url:&#xA;  &lt;a href=&quot;https://cms.myasite.azurewebsite.com/sitecore/service/keepalive.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cms.myasite.azurewebsite.com/sitecore/service/keepalive.aspx&lt;/a&gt;)&#xA;  Exception: System.Net.WebException Message: The underlying connection&#xA;  was closed: An unexpected error occurred on a send. Source: System&lt;br&gt;&#xA;  at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&amp;amp;&#xA;  request)    at System.Net.WebClient.DownloadData(Uri address)    at&#xA;  Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection&#xA;  headers)    at Sitecore.Tasks.UrlAgent.Run()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.IO.IOException Message: Unable to read data from the&#xA;  transport connection: An existing connection was forcibly closed by&#xA;  the remote host. Source: System    at&#xA;  System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset,&#xA;  Int32 size)    at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer,&#xA;  Int32 offset, Int32 count)    at&#xA;  System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,&#xA;  AsyncProtocolRequest asyncRequest)    at&#xA;  System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst,&#xA;  Byte[] buffer, AsyncProtocolRequest asyncRequest)    at&#xA;  System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult&#xA;  lazyResult)    at&#xA;  System.Threading.ExecutionContext.RunInternal(ExecutionContext&#xA;  executionContext, ContextCallback callback, Object state, Boolean&#xA;  preserveSyncCtx)    at&#xA;  System.Threading.ExecutionContext.Run(ExecutionContext&#xA;  executionContext, ContextCallback callback, Object state, Boolean&#xA;  preserveSyncCtx)    at&#xA;  System.Threading.ExecutionContext.Run(ExecutionContext&#xA;  executionContext, ContextCallback callback, Object state)    at&#xA;  System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)&lt;br&gt;&#xA;  at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;  at System.Net.ConnectStream.WriteHeaders(Boolean async)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Net.Sockets.SocketException Message: An existing&#xA;  connection was forcibly closed by the remote host Source: System    at&#xA;  System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32&#xA;  size, SocketFlags socketFlags)    at&#xA;  System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset,&#xA;  Int32 size)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It looks related to azure certificate but not having any luck on how to resolve. Buying a proper certificate is not an option as we have no plan to setup custom domain for CMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions will be good.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2017-06-20T10:00:52.747" LastActivityDate="2017-06-20T10:00:52.747" Title="Sitecore URL Agent SSL Exception hosted in Azure Website" Tags="|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6196" PostTypeId="2" ParentId="5965" CreationDate="2017-06-16T11:36:09.080" Score="5" Body="&lt;p&gt;We managed to solve this issue with the help of Sitecore and Microsoft:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Increase the min worker thread pool to xxx (where xxx should be greater than busy value on log)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Increase PollingTime to 30.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If above doesn't help upgrade the redis.stackexcahange to latest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;And increase sync timeout 5k, connection time 10k and retry timeout 6k (should be greater than sync timeout)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="316" LastActivityDate="2017-06-16T11:36:09.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6197" PostTypeId="2" ParentId="6039" CreationDate="2017-06-16T11:43:45.700" Score="4" Body="&lt;p&gt;We managed to identify the root cause of our memory leak. With help of MS and Sitecore, memory dump had lots of our controller and services hanging off of Root scope. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By design the sitecore disposes the objects on request end. Given that the controllers injected by Autofac were not compatible with Sitecore controllers, the objects didn't get disposed. As a result our controllers built over time, reached 100% memory limit and app pool got restarted. As a result 500 error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to fix? Ask support to provide the patch applicable to your DI.&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2017-06-16T11:43:45.700" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6198" PostTypeId="1" CreationDate="2017-06-16T13:28:57.283" Score="3" ViewCount="185" Body="&lt;p&gt;I'm doing the Sitecore Cookbook and I have a question about the async feature. Is &lt;code&gt;@Html.Sitecore.Placeholder(&quot;async-content&quot;)&lt;/code&gt; a sitecore convention name?&#xA;Because I don't understand how that placeholder knows which component to accept/render.&lt;/p&gt;&#xA;" OwnerUserId="1462" LastEditorUserId="73" LastEditDate="2017-06-22T14:11:47.203" LastActivityDate="2017-06-22T14:11:47.203" Title="Is placeholder async-content a sitecore convention name?" Tags="|placeholders|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6199" PostTypeId="2" ParentId="6198" CreationDate="2017-06-16T13:39:52.060" Score="2" Body="&lt;p&gt;Placeholder names can be what ever you want/need them to be. When adding a placeholder to a layout, you provide the placeholder key name, in this case &lt;code&gt;async-content&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore, You'll want to add a &lt;code&gt;Placeholder&lt;/code&gt; item under &lt;code&gt;/sitecore/layout/Placeholder Settings&lt;/code&gt;. The &lt;code&gt;Placeholder Key&lt;/code&gt; field will be set to your &lt;code&gt;async-contnet&lt;/code&gt; and the &lt;code&gt;Allowed Controls&lt;/code&gt; is where you would set what components you want to allow in the placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Puyjb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Puyjb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&#xA;Adding the placeholder item in Sitecore will allow you to add the controls in the Experience Editor. You can still add components to the placeholder without the placeholder item if you go through the Presentation Details (along with adding any component to the placeholder).&lt;/p&gt;&#xA;" OwnerUserId="731" LastEditorUserId="731" LastEditDate="2017-06-16T13:49:26.070" LastActivityDate="2017-06-16T13:49:26.070" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6200" PostTypeId="2" ParentId="6198" CreationDate="2017-06-16T13:42:30.323" Score="0" Body="&lt;p&gt;this is not a Sitecore convention name, this is the just the name of a placeholder. I can see in the book that you mention they have a new device Async and they added a component on &quot;async-content&quot; placeholder. Please have a look how components are binded dynamically to a page: &#xA;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/presentation_component_reference_sc62_a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/presentation_component_reference_sc62_a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J9x9j.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J9x9j.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-16T13:42:30.323" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6201" PostTypeId="1" AcceptedAnswerId="6350" CreationDate="2017-06-16T13:51:13.623" Score="4" ViewCount="1242" Body="&lt;p&gt;I am trying to use Experience Editor but it keeps throwing server error in the ribbon:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xb04u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xb04u.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see the page loads under the bar and progress indicator keeps going on. Here is the error in detail:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gf0Bb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gf0Bb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried removing the Control from cshtml file which produces the following result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/U83jv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/U83jv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the progress indicator keeps going on. Has anyone else come across this before or can point me in the right direction :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version: 8.1 (rev. 160519)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stack Trace is follows:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[InvalidOperationException: Icon and label request in null or empty.] &#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Controls.LargeDropDownButton.LargeDropDownButton.InitializeAttributes(RenderingParametersResolver&#xA;  renderingParametersResolver) +589&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonIconButtonBase..ctor(RenderingParametersResolver&#xA;  parametersResolver) +23&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Controls.LargeDropDownButton.ControlsExtension.LargeDropDownButton(Controls&#xA;  controls, Rendering rendering) +100&lt;br&gt;&#xA;  ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_LargeDropDownButton_LargeDropDownButton_cshtml.Execute()&#xA;  in&#xA;  c:\inetpub\wwwroot-----\Website\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\LargeDropDownButton\LargeDropDownButton.cshtml:4&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&lt;br&gt;&#xA;  System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +137    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/LargeDropDownButton/LargeDropDownButton.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +30&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +75    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +184&lt;br&gt;&#xA;  Sitecore.Mvc.Extensions.EnumerableExtensions.Each(IEnumerable&lt;code&gt;1&#xA;  source, Action&lt;/code&gt;1 action) +191&lt;br&gt;&#xA;  Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderItem(TextWriter&#xA;  output, Item item) +265&lt;br&gt;&#xA;  Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.Render(HtmlTextWriter&#xA;  output) +157    Sitecore.Web.UI.Controls.ComponentBase.Render() +127&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Chunk.Chunk.DoRender(HtmlTextWriter&#xA;  output) +250    Sitecore.Web.UI.Controls.ComponentBase.Render() +127&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Chunk.ControlsExtension.Chunk(Controls&#xA;  controls, Rendering rendering) +131&lt;br&gt;&#xA;  ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_Chunk_Chunk_cshtml.Execute()&#xA;  in&#xA;  c:\inetpub\wwwroot-----\Website\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\Chunk\Chunk.cshtml:4&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&lt;br&gt;&#xA;  System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +137    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/Chunk/Chunk.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +30&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +75    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +184&lt;br&gt;&#xA;  Sitecore.Mvc.Extensions.EnumerableExtensions.Each(IEnumerable&lt;code&gt;1&#xA;  source, Action&lt;/code&gt;1 action) +191&lt;br&gt;&#xA;  Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderItem(TextWriter&#xA;  output, Item item) +265&lt;br&gt;&#xA;  Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.Render(HtmlTextWriter&#xA;  output) +157    Sitecore.Web.UI.Controls.ComponentBase.Render() +127&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Strip.Strip.DoRender(HtmlTextWriter&#xA;  output) +313    Sitecore.Web.UI.Controls.ComponentBase.Render() +127&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Strip.ControlsExtension.Strip(Controls&#xA;  controls, Rendering rendering) +220&lt;br&gt;&#xA;  ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_Strip_Strip_cshtml.Execute()&#xA;  in&#xA;  c:\inetpub\wwwroot-----\Website\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\Strip\Strip.cshtml:4&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&lt;br&gt;&#xA;  System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +137    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/Strip/Strip.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +30&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +75    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +184&lt;br&gt;&#xA;  Sitecore.Mvc.Extensions.EnumerableExtensions.Each(IEnumerable&lt;code&gt;1&#xA;  source, Action&lt;/code&gt;1 action) +191&lt;br&gt;&#xA;  Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderItem(TextWriter&#xA;  output, Item item) +265&lt;br&gt;&#xA;  Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.Render(HtmlTextWriter&#xA;  output) +157    Sitecore.Web.UI.Controls.ComponentBase.Render() +127&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Ribbon.Ribbon.DoRender(HtmlTextWriter&#xA;  output) +198    Sitecore.Web.UI.Controls.ComponentBase.Render() +127&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Ribbon.ControlsExtension.Ribbon(Controls&#xA;  controls, Rendering rendering) +220&lt;br&gt;&#xA;  ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_Ribbon_Ribbon_cshtml.Execute()&#xA;  in&#xA;  c:\inetpub\wwwroot----\Website\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\Ribbon\Ribbon.cshtml:4&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&lt;br&gt;&#xA;  System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +137    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/Ribbon/Ribbon.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +30&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +75    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +184&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String&#xA;  placeholderName, TextWriter writer, RenderPlaceholderArgs args) +216&lt;br&gt;&#xA;  (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +184&lt;br&gt;&#xA;  Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String&#xA;  placeholderName) +259&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.PageEditbar.PageEditBar.Render(HtmlTextWriter&#xA;  output) +265    Sitecore.Web.UI.Controls.ComponentBase.Render() +127&lt;br&gt;&#xA;  Sitecore.ExperienceEditor.Speak.PageEditbar.ControlsExtension.PageEditBar(Controls&#xA;  controls, Rendering rendering, HtmlHelper`1 htmlHelper) +139&lt;br&gt;&#xA;  ASP._Page_sitecore_shell_client_Sitecore_ExperienceEditor_PageEditbar_PageEditBar_cshtml.Execute()&#xA;  in&#xA;  c:\inetpub\wwwroot-----\Website\sitecore\shell\client\Sitecore\ExperienceEditor\PageEditbar\PageEditBar.cshtml:4&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&lt;br&gt;&#xA;  System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +137    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Sitecore/ExperienceEditor/PageEditbar/PageEditBar.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +30&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +75    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +184&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String&#xA;  placeholderName, TextWriter writer, RenderPlaceholderArgs args) +216&lt;br&gt;&#xA;  (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +184&lt;br&gt;&#xA;  Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String&#xA;  placeholderName) +259&lt;br&gt;&#xA;  ASP._Page_sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute()&#xA;  in&#xA;  c:\inetpub\wwwroot-----\Website\sitecore\shell\client\Speak\Layouts\Layouts\Speak-Layout.cshtml:28&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&lt;br&gt;&#xA;  System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +137    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +30&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +75    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +184&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext&#xA;  viewContext, TextWriter writer) +302&lt;br&gt;&#xA;  System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;  +375    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +90&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;/code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +833&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +833&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext&#xA;  controllerContext, IList&lt;/code&gt;1 filters, ActionResult actionResult) +81&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext&#xA;  controllerContext, String actionName) +710&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1940" LastEditorUserId="605" LastEditDate="2017-06-16T14:44:07.927" LastActivityDate="2017-06-27T09:28:35.897" Title="Experience Editor Server Error 8.1" Tags="|experience-editor|" AnswerCount="2" CommentCount="1" ClosedDate="2017-06-27T10:49:55.373" ContentLicense="CC BY-SA 3.0" />
  <row Id="6202" PostTypeId="1" CreationDate="2017-06-16T13:56:21.330" Score="8" ViewCount="118" Body="&lt;p&gt;I'm using the bucketing feature for the first time. The content structure is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;|_Sitecore&#xA;  |_Content&#xA;    |_Home&#xA;      |_Products&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Products&lt;/em&gt; is an item of &lt;em&gt;ProductFolder&lt;/em&gt; template. I have made this template as bucketable. To confirm whether this is bucketed, I select &lt;em&gt;Products&lt;/em&gt; and see that the Bucket icon is greyed out and the Revert &amp;amp; Sync icons are active.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The requirement is to add bucketable items under &lt;em&gt;Products&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created another template &lt;em&gt;Product&lt;/em&gt; with few fields. This template is mapped to the fields of a WFFM and configured so that, when user submits the form, an item of template &lt;em&gt;Product&lt;/em&gt;, is saved under &lt;em&gt;/Home/Products&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The save functionality works fine. After saving a few items, I check the CMS and the structure is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;|_Sitecore&#xA;  |_Content&#xA;    |_Home&#xA;      |_Products&#xA;        |_Product1&#xA;        |_Product2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I click on &lt;em&gt;Product1&lt;/em&gt;, &lt;em&gt;Product2&lt;/em&gt;, etc., the Bucket icon is greyed out and the Revert &amp;amp; Sync icons are active, confirming that these are bucketed items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I was expecting that these items will be hidden or have a different folder structure by year/month.... Is that correct?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I select &lt;em&gt;Products&lt;/em&gt; and click on Sync, only then the child items were hidden.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In, real time, end users will submit WFFM form on page. In this case, does the content author have to periodically check and sync the folder. Or is there any way we can automate that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using sc 8.0 u5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-09-12T10:14:33.060" Title="How to bucket a WFFM item" Tags="|wffm|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6203" PostTypeId="1" AcceptedAnswerId="6205" CreationDate="2017-06-16T14:43:33.800" Score="10" ViewCount="3123" Body="&lt;p&gt;I have found an odd behavior of an uploading images into media library. Depends on a browser, I can select multiple files at the time or not. For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;It doesn't work in Chrome and in Firefox:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qPaXB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qPaXB.png&quot; alt=&quot;Chrome and Firefox - Multiple select is not available&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;It works fine in Opera:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Q0Qzw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q0Qzw.png&quot; alt=&quot;Opera - Multiple select is available&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it works fine in the Chrome browser on the machine of my colleague. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought that the reason is in Adobe Flash which isn't probably installed in my Chrome and is installed for Chrome of my colleague, but not, it isn't installed for both. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe someone knows a reason of this behavior? I need to explain client why he can't select multiple files, but I don't have any idea and I can't recommend him to use Opera browser :).&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="73" LastEditDate="2019-08-30T20:27:11.303" LastActivityDate="2019-10-28T16:56:59.590" Title="Multiple images upload failing in Chrome and Firefox" Tags="|media-library|" AnswerCount="3" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="6204" PostTypeId="1" AcceptedAnswerId="6206" CreationDate="2017-06-16T15:27:32.160" Score="6" ViewCount="742" Body="&lt;p&gt;In Habitat, we have gulp tasks for:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Publish All Projects&lt;/li&gt;&#xA;&lt;li&gt;Publish-Foundation-Projects&lt;/li&gt;&#xA;&lt;li&gt;Publish-Feature-Projects&lt;/li&gt;&#xA;&lt;li&gt;Publish-Project-Projects&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I want to publish a single Project. I can use &lt;code&gt;msbuild&lt;/code&gt;, as described here: &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/web-forms/overview/deployment/visual-studio-web-deployment/command-line-deployment&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/aspnet/web-forms/overview/deployment/visual-studio-web-deployment/command-line-deployment&lt;/a&gt; - but I'm not sure this will work, as the Gulpfile pulls in config from &lt;code&gt;gulp-config.js&lt;/code&gt;, and performs tasks such as 'Apply XML transform' and 'Sync unicorn'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's the recommended way to publish a single Habitat project?&lt;/p&gt;&#xA;" OwnerUserId="1106" LastEditorUserId="1106" LastEditDate="2017-06-16T15:36:48.300" LastActivityDate="2017-06-16T15:53:51.210" Title="Publish single Habitat project" Tags="|habitat|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6205" PostTypeId="2" ParentId="6203" CreationDate="2017-06-16T15:38:17.583" Score="9" Body="&lt;p&gt;I saw this behavior when you have a firewall, antivirus or cookies are corrupted.&#xA;Somehow&lt;br&gt;&#xA;Please try to delete all your cookies and try again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cookie with key : &lt;strong&gt;sc_fv&lt;/strong&gt; contains Flash Version and probably somehow this one was corrupted.&lt;br&gt;&#xA;On the method Sitecore.Shell.Framework.Commands.Media.MultiUpload.QueryState(CommandContext context) is verifying method &lt;strong&gt;UseFlashUpload&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This method verify if your Sitecore Client SupportFlashUpload:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual bool SupportsFlashUpload&#xA;{&#xA;    get&#xA;    {&#xA;        return this.GetFlashVersion().Major &amp;gt;= 9;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;on the method GetFlashVersion it reads sc_fv cookie value: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    protected virtual Version GetFlashVersion()&#xA;    {&#xA;    string cookieValue = WebUtil.GetCookieValue(&quot;sc_fv&quot;);&#xA;    if (string.IsNullOrEmpty(cookieValue))&#xA;    {&#xA;        return new Version(0, 0, 0);&#xA;    }&#xA;    string[] array = cookieValue.Split(new char[]&#xA;    {&#xA;        '.'&#xA;    });&#xA;    if (array.Length != 3)&#xA;    {&#xA;        Log.Error(&quot;Unexpected flash version cookie value: &quot; + cookieValue, this);&#xA;        return new Version(0, 0, 0);&#xA;    }&#xA;    int @int = MainUtil.GetInt(array[0], 0);&#xA;    int int2 = MainUtil.GetInt(array[1], 0);&#xA;    int int3 = MainUtil.GetInt(array[2], 0);&#xA;    return new Version(@int, int2, int3);&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-16T15:38:17.583" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6206" PostTypeId="2" ParentId="6204" CreationDate="2017-06-16T15:53:51.210" Score="6" Body="&lt;p&gt;You can publish a single project by right clicking on the project and selecting the &lt;code&gt;Publish&lt;/code&gt; option in Visual Studio.  Or if you have Click Once publishing toolbar open, you can select the project and publish by clicking the &lt;code&gt;Publish Web&lt;/code&gt; button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Typically I will use this process when I am working on a single project, vs waiting for all the projects to complete publishing.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-06-16T15:53:51.210" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6208" PostTypeId="1" AcceptedAnswerId="8073" CreationDate="2017-06-16T19:28:35.837" Score="5" ViewCount="1060" Body="&lt;p&gt;while rebuilding the sitecore_master_index the rebuild is taking forever and when taking a look at the logs i found several errors similar to the below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any idea ? Thank you&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;17064 2017:06:16 17:29:12 WARN Crawler : AddRecursive DoItemAdd failed&#xA;  - {2DEC7F1B-A664-4EC2-9CBB-D661763B952A} Exception: System.AggregateException Message: One or more errors occurred.&#xA;  Source: mscorlib    at&#xA;  System.Threading.Tasks.Task.ThrowIfExceptional(Boolean&#xA;  includeTaskCanceledExceptions)    at&#xA;  System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,&#xA;  CancellationToken cancellationToken)    at&#xA;  System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive,&#xA;  Int32 toExclusive, ParallelOptions parallelOptions, Action&lt;code&gt;1 body,&#xA;  Action&lt;/code&gt;2 bodyWithState, Func&lt;code&gt;4 bodyWithLocal, Func&lt;/code&gt;1 localInit,&#xA;  Action&lt;code&gt;1 localFinally)    at&#xA;  System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable&lt;/code&gt;1&#xA;  source, ParallelOptions parallelOptions, Action&lt;code&gt;1 body, Action&lt;/code&gt;2&#xA;  bodyWithState, Action&lt;code&gt;3 bodyWithStateAndIndex, Func&lt;/code&gt;4&#xA;  bodyWithStateAndLocal, Func&lt;code&gt;5 bodyWithEverything, Func&lt;/code&gt;1 localInit,&#xA;  Action&lt;code&gt;1 localFinally)    at&#xA;  System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable&lt;/code&gt;1 source,&#xA;  Action&lt;code&gt;1 body)    at&#xA;  Sitecore.ContentSearch.Azure.Http.CompositeSearchService.PostDocuments(ICloudBatch&#xA;  batch)    at&#xA;  Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.Commit()    at&#xA;  Sitecore.ContentSearch.CommitPolicyExecutor.IndexModified(IProviderUpdateContext&#xA;  context, Object document, IndexOperation operation)    at&#xA;  Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.AddDocument(Object&#xA;  itemToAdd, IExecutionContext[] executionContexts)    at&#xA;  Sitecore.ContentSearch.Azure.CloudSearchIndexOperations.Add(IIndexable&#xA;  indexable, IProviderUpdateContext context, ProviderIndexConfiguration&#xA;  indexConfiguration)    at&#xA;  Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext&#xA;  context, SitecoreIndexableItem indexable)    at&#xA;  Sitecore.ContentSearch.HierarchicalDataCrawler&lt;/code&gt;1.CrawlItem(T&#xA;  indexable, IProviderUpdateContext context, CrawlState`1 state)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception:&#xA;  Sitecore.ContentSearch.Azure.Http.Exceptions.BadRequestException&#xA;  Message: Error in the request URI, headers, or body Source:&#xA;  Sitecore.ContentSearch.Azure    at&#xA;  Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage&#xA;  response)    at&#xA;  Sitecore.ContentSearch.Azure.Http.SearchServiceClient.CreateIndex(IEnumerable&lt;code&gt;1&#xA;  fields)    at&#xA;  Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.SyncRemoteService(IEnumerable&lt;/code&gt;1&#xA;  sourceSchema, IEnumerable&lt;code&gt;1 incomingSchema)    at&#xA;  Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.&amp;lt;&amp;gt;c__DisplayClass11_0.&amp;lt;EnsureIsInSync&amp;gt;b__0()&#xA;  at&#xA;  Sitecore.ContentSearch.Azure.Utils.Retryer.RetryPolicy.Execute(Action&#xA;  action)    at&#xA;  Sitecore.ContentSearch.Azure.Http.SearchService.PostDocuments(ICloudBatch&#xA;  batch)    at&#xA;  Sitecore.ContentSearch.Azure.Http.CompositeSearchService.&amp;lt;&amp;gt;c__DisplayClass11_0.&amp;lt;PostDocuments&amp;gt;b__0(ISearchService&#xA;  searchService)    at&#xA;  System.Threading.Tasks.Parallel.&amp;lt;&amp;gt;c__DisplayClass17_0&lt;/code&gt;1.b__1()&#xA;  at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&lt;br&gt;&#xA;  at&#xA;  System.Threading.Tasks.Task.&amp;lt;&gt;c__DisplayClass176_0.b__0(Object&#xA;  )&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception:&#xA;  Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;  Message: {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;The request is invalid.&#xA;  Details: definition : Invalid field name: '301redirect'. Field names&#xA;  must begin with a letter and can contain only letters, digits, or&#xA;  underscore ('_').\r\n&quot;}}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1057" LastEditorUserId="731" LastEditDate="2017-06-16T19:31:46.970" LastActivityDate="2017-10-19T13:25:42.513" Title="Sitecore Azure Search - Invalid field name" Tags="|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6209" PostTypeId="2" ParentId="6208" CreationDate="2017-06-16T20:05:39.353" Score="1" Body="&lt;p&gt;This is an error from Azure Search Service. Can you try to rename fieldname 301redirect to something else to not start with digits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look here: &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/create-index&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/rest/api/searchservice/create-index&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The index name must be lower case, start with a letter or number, have&#xA;  no slashes or dots, and be less than 128 characters. After starting&#xA;  the index name with a letter or number, the rest of the name can&#xA;  include any letter, number and dashes, as long as the dashes are not&#xA;  consecutive.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-16T20:05:39.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6210" PostTypeId="1" AcceptedAnswerId="6220" CreationDate="2017-06-16T21:41:31.913" Score="3" ViewCount="799" Body="&lt;p&gt;I am trying to register a button click event on a page.  For this I created a custom click event under &lt;code&gt;/Settings/Analytics/Page events/&lt;/code&gt; and assigned it on a page.&lt;br&gt;&#xA;But the problem is: button event gets registered in xDB at session end though the button was never clicked. Looks like Sitecore flushes all the events registered on the page.                                                                   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want authors to create custom page events and assign to a page, for example, &quot;CTA Click&quot;, &quot;Register Event click&quot;, &quot;Learn More click&quot; but register programmatically through javascript click events and avoid other events to flush to xDB.&lt;br&gt;&#xA;I am able to call my custom register event from javascript click as below:&lt;br&gt;&#xA;   &lt;pre&gt; function trackClick(){&#xA;    var dataValue = { &quot;name&quot;: this.getAttribute(&quot;name&quot;), &quot;data&quot;: this.getAttribute(&quot;data&quot;), &quot;text&quot;: this.getAttribute(&quot;datatext&quot;),&quot;itemId&quot;: $('#hidItemGUID').val() };&#xA;    var valstring = JSON.stringify(dataValue);&#xA;     $.ajax({&#xA;        cache: false,&#xA;        url: &quot;/Website/TrackEvents.aspx?query=&quot;+valstring,&#xA;        contentType: 'application/json; charset=utf-8',&#xA;        dataType: 'json',&#xA;        success: function (data) {&#xA;            alert(&quot;success&quot;);&#xA;        },&#xA;        error: function (data)&#xA;                {&#xA;            console.log(data);&#xA;                }&lt;/p&gt;&#xA;&#xA;&lt;code&gt;        });                                                          &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I am looking to avoid registering any event which are attached to the page but not necessarily triggered by the visitor.  Any pointers on this?                                                            &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, in xDB I noticed there are page events getting recorded with &quot;Long running request&quot; as the event name. Any clues where does this come from and how can I avoid?                                                                                     &lt;/p&gt;&#xA;" OwnerUserId="354" LastEditorUserId="354" LastEditDate="2017-06-17T00:05:19.553" LastActivityDate="2017-06-19T08:41:52.767" Title="Custom click event getting registered in xDB without triggered by the visitor" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6212" PostTypeId="1" CreationDate="2017-06-17T11:52:07.673" Score="2" ViewCount="1201" Body="&lt;p&gt;We have a number of different sites (probably in 100+) and we have requirement of sharing content along with meta items across different Sitecore instances. We need this sharing feature as there is a number of global content that remains same and needs to be consistent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't want to use a simple Sitecore package or any other serialization method like TDS etc as this content is updated by business users. It will be difficult for them to create or install the packages. Also, there are too many sites (probably in 100+) to be updated regularly. So anytime any new component along with content is available, then it should be shared (component + content) across multiple Sitecore instances. We create this global component in our Corporate Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have different Sitecore instances that hosts multiple sites. So here is the requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)  All instances will host a Shared Components folder in their instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a.  Example: Our Corporate Website instance&#xA;/sitecore/content/Corp/shared-content/Sliders/Corp&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and so on…&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b.  Example: for Sports Site instance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/content/sports/shared-content/Sliders/Corp&#xA;and so on….&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially, all instances will have the share-content folder in the path shown above;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All these folders across all instances are required to be synchronized based on a schedule (every 24 hours) so that content is available across all instances with all necessary meta including template. If corporate were to create a new component, they would create it on the corporate instance in the &lt;/p&gt;&#xA;&#xA;&lt;p&gt;…/ shared-content/.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)  We will create a page in the instance to share available component:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example url: Corp/share&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3)  Content that is created on other Sitecore instances should be synchronized in the corporate Sitecore Instance so that the share page shows the listing of all components (titles)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Examples&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Corp Sitecore Instance – Component 1, 2, 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sports Sitecore Instance – Component 5, 6, 7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The global shared components folder across all instances should have all the required files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So we need the approach to share (automatically at regular interval) the content (along with assets), files (rendering/layout/sublayouts), templates, assemblies (DLL) across different Sitecore instances so that these global components can be used by marketers without manual intervention of creating/deploying the packages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are thinking and open to use following tools for it.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Job that listens and installs packages as well as uses a&#xA;manifest to gather assemblies install automatically. &lt;/li&gt;&#xA;&lt;li&gt;PowerShell scripting  &lt;/li&gt;&#xA;&lt;li&gt;Continuous Integration/Deployment&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I hope this will help in more clarification.  &lt;/p&gt;&#xA;" OwnerUserId="607" LastEditorUserId="70" LastEditDate="2018-05-03T17:06:05.820" LastActivityDate="2018-05-03T17:06:05.820" Title="Content/Component Sharing across multiple Sitecore Instances" Tags="|multisite|components|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6213" PostTypeId="1" CreationDate="2017-06-17T12:09:11.720" Score="0" ViewCount="92" Body="&lt;p&gt;I am trying to install E-mail Campaign Manager 2.1 rev. 140214 but I am unable to do so because of the fact that &quot;InvalidItemNameChars&quot; attribute value contains - (hyphen).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The setting is as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;InvalidItemNameChars&quot; value=&quot;\/:?&quot;&amp;lt;&amp;gt;|[]-&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would like to know if there is a workaround for installing this package. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help us in installation. For information, we are using 7.2 rev. 150408 and ECM 2.1. I know it is old version but still trying to find some solution.&lt;/p&gt;&#xA;" OwnerUserId="1297" LastActivityDate="2017-06-17T20:55:45.217" Title="Issue occuring in ECM 2.1 installation on 7.2 Version" Tags="|ecm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6214" PostTypeId="2" ParentId="6213" CreationDate="2017-06-17T12:14:46.097" Score="1" Body="&lt;p&gt;The root cause for this is using hypen in InvalidItemNameChars.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember default value of the InvalidItemNameChars is &lt;code&gt;&quot;\/:?&amp;amp;quot;&amp;amp;lt;&amp;amp;gt;|[]&quot;&lt;/code&gt;. With this value the ECM package can be installed. So you can use following steps.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Remove the dash from your InvalidItemNameChars and set the default&#xA;value. &lt;/li&gt;&#xA;&lt;li&gt;Install the module package. &lt;/li&gt;&#xA;&lt;li&gt;Set the InvalidItemNameChars back&#xA;to your value.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="607" LastEditorUserId="607" LastEditDate="2017-06-17T20:55:45.217" LastActivityDate="2017-06-17T20:55:45.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6215" PostTypeId="2" ParentId="5460" CreationDate="2017-06-17T18:47:35.187" Score="1" Body="&lt;p&gt;At this point this appears to be from a bug in Unicorn 3.3.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Upgrading to Unicorn 4.0 prerelease 9 resolved the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://github.com/kamsar/Unicorn/issues/219&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/Unicorn/issues/219&lt;/a&gt; for more information.&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2017-06-17T18:47:35.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6216" PostTypeId="2" ParentId="6201" CreationDate="2017-06-17T21:42:50.200" Score="4" Body="&lt;p&gt;You may need to request the patch &lt;code&gt;Sitecore.Support.98798&lt;/code&gt; from Sitecore Support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is due to the fact that the &lt;code&gt;web&lt;/code&gt; database has been hardcoded in the Sitecore dll.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info is found at the following link: &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3979&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/3979&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-06-18T21:47:45.823" LastActivityDate="2017-06-18T21:47:45.823" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6217" PostTypeId="2" ParentId="5673" CreationDate="2017-06-17T23:19:11.707" Score="3" Body="&lt;p&gt;Turns out that the error was introduced while refactoring for &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/757&quot; rel=&quot;nofollow noreferrer&quot;&gt;#757&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The templates &lt;strong&gt;PowerShell Script&lt;/strong&gt; and &lt;strong&gt;PowerShell Script Workflow Action&lt;/strong&gt; both contain a field called &lt;em&gt;Script&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, for the &lt;strong&gt;PowerShell Script&lt;/strong&gt; item the field contains the script text while the &lt;strong&gt;PowerShell Script Workflow Action&lt;/strong&gt; item field contains an item reference (Droplink).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E2FV1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E2FV1.png&quot; alt=&quot;Workflow Action&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fix actually requires a new build. Release 4.6 should include &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/911&quot; rel=&quot;nofollow noreferrer&quot;&gt;#911&lt;/a&gt; to address this.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;SPE 4.6 has been released and includes addresses this issue.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-08-13T01:11:48.387" LastActivityDate="2017-08-13T01:11:48.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6218" PostTypeId="1" CreationDate="2017-06-19T07:52:11.017" Score="4" ViewCount="491" Body="&lt;p&gt;I am working on the following requirement:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A page on the website has a form for end users to submit. The first half of the form has fields that are common and the second half is a WFFM. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The content author can change this WFFM. They will create a template (which will always inherit another fixed template &lt;em&gt;CommonWFFMTemplate&lt;/em&gt;), map its fields to the form's fields and in the save actions, choose &quot;create item&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The developer will not be aware of what the WFFM fields are. The default WFFM submit button is hidden by CSS and the action is triggered by a custom button which submits an ajax post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The submit function has to create the item and also update the common fields' values in the same item. I was able to achieve all of it like this - create the wffm item first, then get the item by &quot;__created by&quot; value as it will be context.user and then update its common field values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now the requirement is such that, a user can submit the data multiple times(earlier it was one submission per user). Retrieving the just created item is tricky now, because two users can login with the same ID and submit. Though rare, but still a possibility.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I am unable to think of any way to move further.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Tried to create a custom save action. When I add the custom save action to the wffm form and click on OK, it says &quot;This action cannot be added. Your configuration does not support it.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Is there a way without custom actions that I can - get the ItemID of the just created item or maybe I can save a unique ID in one of the common template fields, when the wffm form data gets saved.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;using sc8.0 u5 with WFFM u4&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-06-19T12:57:58.790" LastActivityDate="2017-06-28T09:01:05.707" Title="How to get item ID of created WFFM data item" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6219" PostTypeId="1" AcceptedAnswerId="6262" CreationDate="2017-06-19T07:56:33.993" Score="0" ViewCount="396" Body="&lt;p&gt;We have a strange issue where components seem to be duplicating on the front end (web DB) but everything looks correct in the experience editor. I have checked the presentation details on both shared/final layouts in both master and web - but it looks fine. It also renders fine when viewing the experience editor when switching to web.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using dynamic placeholder - based on &lt;a href=&quot;http://www.techphoria414.com/blog/2011/august/dynamic_placeholder_keys_prototype&quot; rel=&quot;nofollow noreferrer&quot;&gt;this implementation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The strange thing is it was all working fine and then suddenly happened at some point but we can't track down what might be the cause.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version: 8.2 - web forms.&lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2017-06-21T07:43:12.263" Title="Components duplicating on front end" Tags="|placeholders|dynamic-placeholder|webforms|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6220" PostTypeId="2" ParentId="6210" CreationDate="2017-06-19T08:41:52.767" Score="3" Body="&lt;p&gt;If you don't want to trigger a page event while hitting a page, then you shouldn't associate pages with events. Instead your item template could contain a field that defines which page events to trigger on button click. Then &lt;em&gt;TrackEvents.aspx&lt;/em&gt; will need to find that field and register those page events on the page using &lt;code&gt;Sitecore.Analytics.Tracker.CurrentPage.Register()&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding &quot;Long Running request&quot; page event, it gets triggered when a request runs longer than specified by &lt;em&gt;Analytics.LongRunningRequest&lt;/em&gt; setting in &lt;em&gt;Sitecore.Analytics.Tracking.config&lt;/em&gt; (default value is 5 seconds). It helps to detect pages that need to be optimized and you should not disable it unless you have a good reason for that.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-06-19T08:41:52.767" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6221" PostTypeId="2" ParentId="6108" CreationDate="2017-06-19T10:36:34.687" Score="0" Body="&lt;p&gt;Thank you all for your inputs, views. Those are learnings indeed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We found that, the master and web DBs are not in sync. There are more entries in Web than in Master. If any updates done directly on Web for any reasons, the publishing messup inevitable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best way is to edit the content in master, clear the Sitecore cache and publish the content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not able to see the change in web, then check the publishing queue table. If there are more than 1000 entries, truncate the table and try publishing it again.  Never attempt to make the change in Web directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once again thank you all. &lt;/p&gt;&#xA;" OwnerUserId="1792" LastActivityDate="2017-06-19T10:36:34.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6222" PostTypeId="2" ParentId="6212" CreationDate="2017-06-19T12:38:22.957" Score="1" Body="&lt;p&gt;Based on the wording of using &quot;Sitecore instance&quot; I think you have decentralized your authoring? One architectural approach would be to use a centralized authoring pool that manages all the content as multiple sites and then have your separate CD's with separate publishing targets so that you can maintain your end-user performance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this way, you could easily create shared content at a 'global' level across the entire system and allow each site to make use of it. This would be the typical approach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you could have a regular task that serializes content from a specific path on one instance and deserializes it to your other authoring instances. You'd have to select one instance that is the 'master' though so you can make sure you are always going in the right direction. However, if you start doing this you need to start questioning why you have multiple authoring instances.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-06-19T12:38:22.957" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6223" PostTypeId="1" AcceptedAnswerId="6230" CreationDate="2017-06-19T15:02:57.877" Score="3" ViewCount="2569" Body="&lt;p&gt;I'm using Glass 4.2.0.184 with Sitecore 8.1 Update 2. I'm receiving an error in an API controller setup with a helper function that's retrieving items from search and then casting them to a model. This functionality is working in our QA and CD environments, but locally I keep getting the error. It boils down to a &lt;code&gt;failed to map properties on [item path]&lt;/code&gt; error, and the consistent error is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;ExceptionType&quot;:&quot;Glass.Mapper.MapperException&quot;,&quot;StackTrace&quot;:&quot;   at Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object obj, IAbstractService service, AbstractTypeCreationContext context) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Configuration\\AbstractTypeConfiguration.cs:line 151\r\n   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\ObjectConstruction\\Tasks\\CreateConcrete\\CreateConcreteTask.cs:line 104&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Failed to map property Hours on Models.Store&quot;,&quot;ExceptionType&quot;:&quot;Glass.Mapper.MapperException&quot;,&quot;StackTrace&quot;:&quot;   at Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object obj, IAbstractService service, AbstractTypeCreationContext context) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Configuration\\AbstractTypeConfiguration.cs:line 142&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Failed to map to property 'Hours' on type 'Models.Store'&quot;,&quot;ExceptionType&quot;:&quot;Glass.Mapper.MapperException&quot;,&quot;StackTrace&quot;:&quot;   at Glass.Mapper.AbstractDataMapper.MapCmsToProperty(AbstractDataMappingContext mappingContext) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\AbstractDataMapper.cs:line 64\r\n   at Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object obj, IAbstractService service, AbstractTypeCreationContext context) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Configuration\\AbstractTypeConfiguration.cs:line 121&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Object reference not set to an instance of an object.&quot;,&quot;ExceptionType&quot;:&quot;System.NullReferenceException&quot;,&quot;StackTrace&quot;:&quot;   at Glass.Mapper.Sc.DataMappers.SitecoreFieldStringMapper.RunPipeline(Field field) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper.Sc\\DataMappers\\SitecoreFieldStringMapper.cs:line 92\r\n   at Glass.Mapper.Sc.DataMappers.SitecoreFieldStringMapper.GetField(Field field, SitecoreFieldConfiguration config, SitecoreDataMappingContext context) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper.Sc\\DataMappers\\SitecoreFieldStringMapper.cs:line 87\r\n   at Glass.Mapper.AbstractDataMapper.MapCmsToProperty(AbstractDataMappingContext mappingContext) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\AbstractDataMapper.cs:line 60&quot;}}}}}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only change made lately was the Hours field was changed from a single-line text to a rich-text field. Code-wise I wouldn't think this would matter, since the field is a string type when you declare the model in both cases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code we're using that's throwing the error is this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   public List&amp;lt;Store&amp;gt; GetStores() {&#xA;        using (IProviderSearchContext context = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext()) {&#xA;            ID storeTemplateId = new ID(Store.ModelTemplateId);&#xA;            IQueryable&amp;lt;SearchResultItem&amp;gt; query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(i =&amp;gt; i.TemplateId == storeTemplateId);&#xA;            SearchResults&amp;lt;SearchResultItem&amp;gt; results = query.Filter(y =&amp;gt; y.Language == Sitecore.Context.Language.Name).GetResults();&#xA;&#xA;            if (!results.Hits.Any()) {&#xA;                return new List&amp;lt;Store&amp;gt;();&#xA;            }&#xA;&#xA;            ISitecoreService masterService = new SitecoreService(&quot;web&quot;);&#xA;            ConcurrentBag&amp;lt;Store&amp;gt; stores = new ConcurrentBag&amp;lt;Store&amp;gt;();&#xA;            Parallel.ForEach(results, result =&amp;gt; stores.Add(masterService.Cast&amp;lt;Store&amp;gt;(result.Document.GetItem())));&#xA;&#xA;            return stores.Where(x =&amp;gt; x != null).ToList();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error occurs on the &lt;code&gt;Parallel.ForEach&lt;/code&gt; line, but I've deconstructed that back to a standard foreach loop and it's the &lt;code&gt;.Cast&amp;lt;Store&amp;gt;&lt;/code&gt; area that's causing it. I also changed the code to take the item ID from search and use a &lt;code&gt;.GetItem&amp;lt;Store&amp;gt;([ID])&lt;/code&gt; but I got the exact same error. I've confirmed the property is marked virtual in the model as well...it has a &lt;code&gt;SitecoreField&lt;/code&gt; attribute on it, but doesn't need it being a single word field name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've republished the entire site, republished by sections, rebuilt the index, with no luck. My only other recourse right now might be to dump the sitecore_web_index files and rebuild from ground zero, or to wipe out my web database and create an empty to do a republish to (or both). But I'm hoping someone might have an insight I'm missing. The lack of reproducibility across all environments gives me hope that it is, perhaps, just my environment, but I'm understandably nervous about pushing code to production that could knock out an important client function.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per alexp83's suggestion, I took the code down to a direct item retrieval and then a cast:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item item = Database.GetDatabase(&quot;web&quot;).GetItem(new ID(&quot;{B1AFA586-58D9-498D-95EE-FA4B6A0FA7F7}&quot;));&#xA;Store store = masterService.Cast&amp;lt;Store&amp;gt;(item);&#xA;stores.Add(store);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I got the same error on the cast line. For Michael Edwards, I was trying to just pull what I thought was relevant, but this is the entire stack trace I get back for the test code I wrote above:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Failed to create type Models.Store&quot;,&quot;ExceptionType&quot;:&quot;Glass.Mapper.MapperException&quot;,&quot;StackTrace&quot;:&quot;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\ObjectConstruction\\Tasks\\CreateConcrete\\CreateConcreteTask.cs:line 115\r\n   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.Execute(ObjectConstructionArgs args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\ObjectConstruction\\Tasks\\CreateConcrete\\CreateConcreteTask.cs:line 68\r\n   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\AbstractPipelineRunner.cs:line 77\r\n   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\AbstractPipelineRunner.cs:line 82\r\n   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\AbstractPipelineRunner.cs:line 82\r\n   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\AbstractPipelineRunner.cs:line 82\r\n   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\AbstractPipelineRunner.cs:line 82\r\n   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreateTaskExpression&amp;gt;b__2(T args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\AbstractPipelineRunner.cs:line 82\r\n   at Glass.Mapper.AbstractService.InstantiateObject(AbstractTypeCreationContext abstractTypeCreationContext) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\AbstractService.cs:line 139\r\n   at Glass.Mapper.Sc.SitecoreService.CreateType(Type type, Item item, Boolean isLazy, Boolean inferType, Dictionary`2 parameters, Object[] constructorParameters) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper.Sc\\SitecoreService.cs:line 506\r\n   at Glass.Mapper.Sc.SitecoreService.CreateType[T](Item item, Boolean isLazy, Boolean inferType, Object[] constructorParameters) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper.Sc\\SitecoreService.cs:line 484\r\n   at Glass.Mapper.Sc.SitecoreService.CreateType[T](Item item, Boolean isLazy, Boolean inferType) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper.Sc\\SitecoreService.cs:line 362\r\n   at Repositories.Cms.LocationRepository.GetStores() in C:\\Code\\FiveGuys\\Source\\PublicSite\\Repositories.Cms\\LocationRepository.cs:line 43\r\n   at Services.LocationService.GetAllStores() in C:\\Code\\FiveGuys\\Source\\PublicSite\\Services\\LocationService.cs:line 84\r\n   at Services.LocationService.GetStoreByDistance(Double lat, Double lng, Int32 distance, Units units) in C:\\Code\\FiveGuys\\Source\\PublicSite\\Services\\LocationService.cs:line 36\r\n   at PublicSite.Web.ApiControllers.StoresController.ByDistance(Double lat, Double lng, Int32 distance, Int32 secondaryDistance, String units) in C:\\Code\\FiveGuys\\Source\\PublicSite\\PublicSite.Web\\ApiControllers\\StoresController.cs:line 29\r\n   at lambda_method(Closure , Object , Object[] )\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&amp;gt;c__DisplayClass10.&amp;lt;GetExecutor&amp;gt;b__9(Object instance, Object[] methodParameters)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.&amp;lt;InvokeActionAsyncCore&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext()&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Failed to map properties on /sitecore/content/Global Resources/Locations/Canada/Quebec/CLOSED 22013--1482.&quot;,&quot;ExceptionType&quot;:&quot;Glass.Mapper.MapperException&quot;,&quot;StackTrace&quot;:&quot;   at Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object obj, IAbstractService service, AbstractTypeCreationContext context) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Configuration\\AbstractTypeConfiguration.cs:line 151\r\n   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Pipelines\\ObjectConstruction\\Tasks\\CreateConcrete\\CreateConcreteTask.cs:line 104&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Failed to map property Hours on Models.Store&quot;,&quot;ExceptionType&quot;:&quot;Glass.Mapper.MapperException&quot;,&quot;StackTrace&quot;:&quot;   at Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object obj, IAbstractService service, AbstractTypeCreationContext context) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Configuration\\AbstractTypeConfiguration.cs:line 142&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Failed to map to property 'Hours' on type 'Models.Store'&quot;,&quot;ExceptionType&quot;:&quot;Glass.Mapper.MapperException&quot;,&quot;StackTrace&quot;:&quot;   at Glass.Mapper.AbstractDataMapper.MapCmsToProperty(AbstractDataMappingContext mappingContext) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\AbstractDataMapper.cs:line 64\r\n   at Glass.Mapper.Configuration.AbstractTypeConfiguration.MapPropertiesToObject(Object obj, IAbstractService service, AbstractTypeCreationContext context) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\Configuration\\AbstractTypeConfiguration.cs:line 121&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Object reference not set to an instance of an object.&quot;,&quot;ExceptionType&quot;:&quot;System.NullReferenceException&quot;,&quot;StackTrace&quot;:&quot;   at Glass.Mapper.Sc.DataMappers.SitecoreFieldStringMapper.RunPipeline(Field field) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper.Sc\\DataMappers\\SitecoreFieldStringMapper.cs:line 92\r\n   at Glass.Mapper.Sc.DataMappers.SitecoreFieldStringMapper.GetField(Field field, SitecoreFieldConfiguration config, SitecoreDataMappingContext context) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper.Sc\\DataMappers\\SitecoreFieldStringMapper.cs:line 87\r\n   at Glass.Mapper.AbstractDataMapper.MapCmsToProperty(AbstractDataMappingContext mappingContext) in c:\\TeamCity\\buildAgent\\work\\8567e2ba106d3992\\Source\\Glass.Mapper\\AbstractDataMapper.cs:line 60&quot;}}}}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2017-06-19T16:23:34.113" LastActivityDate="2017-06-19T18:35:13.193" Title="Glass Mapper: Failed to map property" Tags="|content-search|glass-mapper|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="6224" PostTypeId="2" ParentId="6161" CreationDate="2017-06-19T15:58:58.790" Score="0" Body="&lt;p&gt;I am able to resolve this by re-installing VS 2010.&#xA;I had VS 2010 which I uninstalled as I am not using it anymore but after reinstalling it back, I am able to load TDS project correctly in VS 2017.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Someone mentioned &lt;a href=&quot;https://stackoverflow.com/questions/14570827/net-framework-4-0-does-not-install-when-4-5-is-already-installed&quot;&gt;here&lt;/a&gt; a repair option, which I didn't try but looks like it can resolve such issues. May be helpful.&lt;/p&gt;&#xA;" OwnerUserId="2051" LastActivityDate="2017-06-19T15:58:58.790" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6225" PostTypeId="1" CreationDate="2017-06-19T16:47:01.077" Score="7" ViewCount="778" Body="&lt;p&gt;I would like to list out the languages by display name in the language selection. &#xA; Right now they default to the item name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KG7cU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KG7cU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="342" LastEditDate="2019-05-01T13:56:14.417" LastActivityDate="2019-11-18T21:06:45.470" Title="Order the Languages by Display Name in the Content Editor" Tags="|content-editor|multilingual|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="6226" PostTypeId="1" AcceptedAnswerId="6235" CreationDate="2017-06-19T17:03:12.930" Score="6" ViewCount="500" Body="&lt;p&gt;I am using an icon in code. First I access the ThemeManager to get the URL to the icon like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  var result =  ThemeManager.GetImage(icon, 32, 32);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As described in &lt;a href=&quot;https://briancaos.wordpress.com/2010/06/11/getting-the-theme-icons-from-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2010/06/11/getting-the-theme-icons-from-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However when I then render the image tag to the page the icon image is broken until I open the Icon picker in Sitecore and force the icons to be unpacked by Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I force Sitecore to unpack the icons when I make the request in code?&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="1542" LastEditDate="2023-09-08T01:54:06.490" LastActivityDate="2023-09-08T01:54:06.490" Title="Using Icon in Sitecore Code" Tags="|untagged|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6227" PostTypeId="1" CreationDate="2017-06-19T17:06:15.757" Score="3" ViewCount="1436" Body="&lt;p&gt;I would like to do pivoted search using SXA Search filter facet Component. Is there a way to customize SXA Search component and have pivoted kind of search? I see that sxa delivers SearchController with two actions (Results,Facet). Does it have any action for pivot search?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using CheckList Filter component, I can only break down the values by a single facet category but  I also want to do by any additional sub-categories.  I have two filters . Days(Category) filter and During(Sub Category) Filter . I am trying to get all morning days for a single result item. Example: location1 is open on sunday morning and monday morning. location2 is open on tuesday morning only. Now in this scenario, when I select tuesday and morning , I should get location 2 back in the Search result. Now to achieve this, I tried with one multilist field with 21 options with the combination(sun-mor,mon-mor,tue-mon etc). I created two computed field - Days to group all days  and then not sure how i should tag day to morning/afternoon/evening using the computed field. This is kind of pivoted search I am trying to achieve here. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any alternative solution to have pivot search kind of functionality using SXA Component?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here is what I am trying to achieve:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have two multi select checklist filter facet on page for &lt;strong&gt;Days&lt;/strong&gt;(sun,mon,tue etc) and &lt;strong&gt;During hours&lt;/strong&gt;(morning, afternoon, evening). Trying to pull all morning, afternoon and evening days and allow multi selection as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here is an example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Days facet Filters&lt;/strong&gt; : Sunday, Monday, Tueday,Wednesday, Thrusday, Friday , Saturday&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;During facet Filters&lt;/strong&gt;: morning, afternoon, evening &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be much appreacited!!&lt;/p&gt;&#xA;" OwnerUserId="1729" LastEditorUserId="1729" LastEditDate="2017-06-19T19:02:04.447" LastActivityDate="2021-03-24T17:55:14.993" Title="Customizing SXA checklist filter facet component" Tags="|content-search|solr|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6228" PostTypeId="2" ParentId="6227" CreationDate="2017-06-19T17:36:36.710" Score="2" Body="&lt;p&gt;As far as I understand your use case there is no need to write any custom component. All you need to use is Search Results and Filter (Checklist) components. Filter (Checklist) can be configured so that you will be able to select multiple values. Just check &lt;strong&gt;Multiple Selection&lt;/strong&gt; checkbox in the Control Properties dialogue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aNiG1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aNiG1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this option checked, you will see checkboxes next to each value displayed by Filter (Checklist). With this option you probably will like to display button which will trigger the search. To do that you need to provide &lt;strong&gt;Button label&lt;/strong&gt;. It can be done here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MjZxN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MjZxN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-06-19T17:36:36.710" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6229" PostTypeId="1" AcceptedAnswerId="6234" CreationDate="2017-06-19T17:52:19.473" Score="1" ViewCount="290" Body="&lt;p&gt;I am trying to use Angular Directive with MVC. Following Alex's blog post &lt;a href=&quot;https://asmagin.com/2016/07/05/using-angularjs-directives-in-sitecore-edit-mode/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://asmagin.com/2016/07/05/using-angularjs-directives-in-sitecore-edit-mode/&lt;/a&gt; It is supposed to be working. But I am keep running into a problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to get Text and Title to render in the browser (not logged in, preview mode).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I open the page in Experience Editor, it breaks for me with the layout that has my angular code. So I am trying to solve the problem of double quotes, Sitecore outputs long line of code for the editing purposes, and this is where it all breaks, if anyone can help it would be greatly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Layout Code (angularLayout.cshtml)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@{&#xA;    Layout = null;&#xA;}&#xA;       &amp;lt;!DOCTYPE html&amp;gt;&#xA;        &amp;lt;html&amp;gt;&#xA;        &amp;lt;head&amp;gt;&#xA;            &amp;lt;title&amp;gt;angular Layout | @Html.Sitecore().CurrentItem.Name&amp;lt;/title&amp;gt;&#xA;            &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&amp;gt;&#xA;            &amp;lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.8/angular.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;            &amp;lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular-sanitize.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;            &amp;lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;            &amp;lt;script src=&quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;            &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&quot; integrity=&quot;sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u&quot; crossorigin=&quot;anonymous&quot;&amp;gt;&#xA;&#xA;            &amp;lt;script src=&quot;~/Scripts/angular-stuff.js?v=1.1&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&#xA;        &amp;lt;/head&amp;gt;&#xA;        &amp;lt;body ng-app=&quot;sc.sample&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;container&quot; ng-controller=&quot;SampleDemoController&quot;&amp;gt;&#xA;                &amp;lt;div sample-component='{Title: &quot;@Html.Sitecore().Field(&quot;Title&quot;)&quot;,Text: &quot;@Html.Sitecore().Field(&quot;Text&quot;)&quot;}'&amp;gt;&amp;lt;/div&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/body&amp;gt;&#xA;    &amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Angular Code (angular-stuff.js)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;angular.module('sc.sample', [&#xA;  'ngSanitize'&#xA;]).directive('sampleComponent', function () {&#xA;    return {&#xA;        scope: {&#xA;            data: '=sampleComponent'&#xA;        },&#xA;        template: `&#xA;&amp;lt;section class=&quot;row page-header sampleComponent spaced-row&quot; ng-show=&quot;data&quot;&amp;gt;&#xA;  &amp;lt;div class=&quot;col-xs-12&quot;&amp;gt;&#xA;    &amp;lt;h1 class=&quot;header&quot; ng-bind-html=&quot;data.Title | asTrusted&quot;&amp;gt;&amp;lt;/h1&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;  &amp;lt;article class=&quot;col-md-8&quot;&amp;gt;&#xA;    &amp;lt;p ng-bind-html=&quot;data.Text | asTrusted&quot;&amp;gt;&amp;lt;/p&amp;gt;&#xA;  &amp;lt;/article&amp;gt;&#xA;  &amp;lt;figure class=&quot;col-md-4&quot;&amp;gt;&#xA;    &amp;lt;p ng-bind-html=&quot;data.Image | asTrusted&quot;&amp;gt;&amp;lt;/p&amp;gt;&#xA;  &amp;lt;/figure&amp;gt;&#xA;&amp;lt;/section&amp;gt;&#xA;`&#xA;    };&#xA;}).controller('SampleDemoController', ['$scope', function ($scope) {&#xA;    $scope.data = {&#xA;        Title: 'Title Text that is coming from Angular JS file',&#xA;        Text: 'Text that is coming from Angular JS file &amp;lt;br&amp;gt; Second line of Text that is coming from Angular JS file',&#xA;        Image: '&amp;lt;img src=&quot;https://unsplash.it/400/400&quot;&amp;gt;'&#xA;    };&#xA;}]).filter('asTrusted', ['$sce', function ($sce) {&#xA;    return function (text) {&#xA;        return $sce.trustAsHtml(text);&#xA;    };&#xA;}])&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I visit the page it looks good with no errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RIqzf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RIqzf.png&quot; alt=&quot;Good&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I visit in Experience Editor it is blank:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Wm4mC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Wm4mC.png&quot; alt=&quot;Blank&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the error message, I have a feeling it has to do with double quotes, or the timing:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ikBkk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ikBkk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Recommendations or help would be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1171" LastActivityDate="2017-06-19T19:45:36.123" Title="Angular JS directive with MVC integration Experience Editor errors" Tags="|sitecore-client|experience-editor|javascript|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6230" PostTypeId="2" ParentId="6223" CreationDate="2017-06-19T18:35:13.193" Score="4" Body="&lt;p&gt;I found a reproducible answer to the problem, and I think it's because the functions involved were running via an API controller. If I made the field a single-line text field, the function worked correctly, but when I switched back to a rich text field, the error occurred again. (It also worked correctly if I removed the field from the model, no other field had an issue.) I added the &lt;code&gt;Setting = SitecoreFieldSettings.RichTextRaw&lt;/code&gt; attribute to the property in the model, and my code worked correctly after that.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-06-19T18:35:13.193" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6231" PostTypeId="1" CreationDate="2017-06-19T19:01:52.480" Score="2" ViewCount="574" Body="&lt;p&gt;I am using Glass.Mapper.Sc 4.3.4.197 and for some reason the &quot;title&quot; attribute (&quot;Alternative Text&quot; property of the link field in Sitecore; &lt;code&gt;Link.Title&lt;/code&gt; property in Glass.Mapper) appears to not be mapping correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a Sitecore link field that I am mapping to a glass model. I have set the &quot;Alternative Text&quot; property of the link field, and the destination. In my code, I have defined the property mapping to the link as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface Foo&#xA;{&#xA;    ID ID { get; set; }&#xA;    ID TemplateID { get; set; }&#xA;    Link MyLink { get; set; }&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I have mapped this property using the following fluent mapping:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Map(&#xA;    x =&amp;gt;&#xA;    {&#xA;        ImportMap&amp;lt;IBaseGlassModel&amp;gt;(); // maps ID and TemplateID properties&#xA;        x.AutoMap();&#xA;        x.Id(y =&amp;gt; y.ID);&#xA;        x.TemplateId(FooConstants.TemplateId);&#xA;        x.EnforceTemplateAndBase();&#xA;        x.Field(y =&amp;gt; y.MyLink).FieldType(SitecoreFieldType.GeneralLink);&#xA;        ...&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the link destination is coming through, as are all of the other fields and properties, but for some reason &lt;code&gt;Foo.MyLink.Title&lt;/code&gt; is never set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After noticing that the value wasn't being rendered, I debugged and found that the value was not being set for the property of &lt;code&gt;MyLink&lt;/code&gt; on my glass model. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what might be causing this?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-06-19T19:16:38.963" LastActivityDate="2017-06-19T19:16:38.963" Title="Link 'title' attribute not mapping correctly in Glass Mapper" Tags="|glass-mapper|links|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6232" PostTypeId="1" AcceptedAnswerId="6238" CreationDate="2017-06-19T19:08:02.007" Score="4" ViewCount="1931" Body="&lt;p&gt;I have an item type called footnote. Whenever a content editor links to an item of this type I want a data attribute to be set instead of setting an href. The data attribute will contain the html that will be used to populate a modal that appears when the link is clicked. I know there are plenty of ways to go about doing this but is there a &quot;best way&quot; to do this? I was planning on adding a step in the renderField pipeline before the ExpandLinks process that would set the appropriate data attributes (can be seen here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2955/adding-attributes-to-rendered-link-programmatically&quot;&gt;Adding Attributes to Rendered Link Programmatically&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A second option would be to create a custom Sitecore.Pipelines.HttpRequest.DynamicLinkResolver that will have to use a custom Sitecore.Links.DynamicLink object. I do want this to work for both rich text fields and link fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A third option would be to create a custom field renderer that handles this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should work for both link fields and rich text fields.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-06-20T12:59:39.750" LastActivityDate="2017-06-22T16:53:32.760" Title="Set Data Attributes for Links to Certain Items" Tags="|links|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6234" PostTypeId="2" ParentId="6229" CreationDate="2017-06-19T19:45:36.123" Score="2" Body="&lt;p&gt;There is a helper method @Html.RawJsEncodedString in my post that you need to use here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to wrap you @Html.Sitecore().Field(&quot;Title&quot;) in that method so that it will encode quotes and correctly output it via ng directive.&lt;/p&gt;&#xA;" OwnerUserId="646" LastActivityDate="2017-06-19T19:45:36.123" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6235" PostTypeId="2" ParentId="6226" CreationDate="2017-06-19T19:53:44.190" Score="3" Body="&lt;p&gt;I poked around a bit through the assembly and it looks like the method you're looking for is &lt;code&gt;Sitecore.Resources.ZippedIcon.Extract(string source, string tempFileName, string zipFile)&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like the parameters you'll need are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;source&lt;/code&gt; - It looks like this is the relative path to the icon&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;tempFileName&lt;/code&gt; - It looks like you can get this from &lt;code&gt;FileUtil.MapPath(FileUtil.MakePath(Settings.Icons.CacheFolder, source))&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;zipFile&lt;/code&gt; - It looks like you can get this from &lt;code&gt;Sitecore.Resources.ZippedIcon.GetZipFile(string relativeIconPath)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I haven't had a chance to test this, but it should be a good starting point for what you're looking to do.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2017-06-19T19:53:44.190" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6236" PostTypeId="2" ParentId="887" CreationDate="2017-06-19T20:53:19.400" Score="2" Body="&lt;p&gt;I had the exact same issue, and Sitecore Support confirmed a connection leaking bug in the SessionStateStoreProvider that causes unnecessary load on SQL server making it unresponsive. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is fixed in Sitecore 8.2 update-2. Prior versions will require a ticket to request the patch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Support registered the issue as bug #98800 and my support ticket number was #487192.&lt;/p&gt;&#xA;" OwnerUserId="1375" LastEditorUserId="423" LastEditDate="2017-06-20T21:44:00.110" LastActivityDate="2017-06-20T21:44:00.110" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6237" PostTypeId="2" ParentId="6168" CreationDate="2017-06-19T21:19:21.500" Score="1" Body="&lt;p&gt;When specifying fields for the &lt;code&gt;Field Editor Button&lt;/code&gt; type button, make sure the Fields you specify are using the &lt;strong&gt;Item Name&lt;/strong&gt; instead of the Display Name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, you must make sure that field that you are specifying in the &lt;code&gt;Fields&lt;/code&gt; field, maps directly to the same field in the data that's being displayed by your rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I covered this and other topics related to creating &lt;code&gt;Field Editor Buttons&lt;/code&gt; in Sitecore in my video: &lt;a href=&quot;https://www.youtube.com/watch?v=D6jqqaBMu0s&amp;amp;t=25s&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=D6jqqaBMu0s&amp;amp;t=25s&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-06-19T21:19:21.500" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6238" PostTypeId="2" ParentId="6232" CreationDate="2017-06-19T22:05:28.347" Score="3" Body="&lt;p&gt;From the way that the issue is described in your post, the actual links that you are trying to intercept are a bit ambiguous. If your links are all from link fields, then the answer is very different from what it would be if you are trying to intercept all links on the site. If your links are all in link fields, I implore you to read the first section. If that isn't the case with your solution, then - recognizing that the first section still had to be said - read onto the second section.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;If your links are all coming from Link fields...&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If your links are all coming from Link fields, then I think that you may be thinking too much about the HTML that you are planning to render and not enough about the data. It's something that I feel like every developer, myself included, goes through when learning a CMS. If you separate the data from the rendered markup in your mind, it doesn't matter whether you use an anchor tag to pop up your modal or a span. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If all of the links that you are referring to are link fields, then you can accomplish what you are looking for with a droplink that points to a footnote item that holds the data you plan to render in your attributes. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;If your links are coming (or may come) from the RTE...&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The solution for links that do not come from RTE fields is the same as in the first section. However, in order to intercept the way that Sitecore expands links inside of the RTE, you can create a custom &lt;code&gt;LinkProvider&lt;/code&gt; that uses a custom &lt;code&gt;LinkParser&lt;/code&gt; and custom &lt;code&gt;ItemLinkExpander&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this, you will need to override the &lt;code&gt;LinkProvider.CreateLinkParser&lt;/code&gt; method to return your custom &lt;code&gt;LinkParser&lt;/code&gt; type, and you will need to make your &lt;code&gt;LinkParser&lt;/code&gt; return your custom &lt;code&gt;LinkExpander&lt;/code&gt; that will handle the &quot;footnote links&quot; inside of the RTE content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To start, you will need to implement your new &lt;code&gt;FootnoteSupportingLinkParser&lt;/code&gt;, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FootnoteSupportingLinkParser : LinkProvider.LinkParser &#xA;{&#xA;    public override IEnumerable&amp;lt;LinkExpander&amp;gt; GetExpanders() &#xA;    {&#xA;        return (IEnumerable&amp;lt;LinkExpander&amp;gt;) new Collection&amp;lt;LinkExpander&amp;gt;()&#xA;        {&#xA;            (LinkExpander) new MediaLinkExpander(),&#xA;            (LinkExpander) new FootnoteSupportingItemLinkExpander()&#xA;        };&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the type &lt;code&gt;FootnoteSupportingItemLinkExpander&lt;/code&gt; does not actually exist. The idea, here, is to create your own implementation of the &lt;code&gt;Sitecore.Links.ItemLinkExpander&lt;/code&gt; that will expand links to footnote items one way and links to other items the default way. You can do this like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FootnoteSupportingItemLinkExpander : ItemLinkExpander &#xA;{&#xA;    public override void Expand(ref string text, UrlOptions urlOptions) &#xA;    {&#xA;        Assert.ArgumentNotNull((object) text, &quot;text&quot;);&#xA;        Assert.ArgumentNotNull((object) urlOptions, &quot;urlOptions&quot;);&#xA;        int startIndex1 = text.IndexOf(&quot;~/link.aspx?&quot;, StringComparison.InvariantCulture);&#xA;        if (startIndex1 == -1)&#xA;            return;&#xA;        StringBuilder stringBuilder = new StringBuilder(text.Length);&#xA;        int startIndex2 = 0;&#xA;        for (; startIndex1 &amp;gt;= 0; startIndex1 = text.IndexOf(&quot;~/link.aspx?&quot;, startIndex2, StringComparison.InvariantCulture))&#xA;        {&#xA;            int num = text.IndexOf(&quot;_z=z&quot;, startIndex1, StringComparison.InvariantCulture);&#xA;            if (num &amp;lt; 0)&#xA;            {&#xA;                text = stringBuilder.ToString();&#xA;                return;&#xA;            }&#xA;&#xA;            // TODO: change this to resolve target item (or null)&#xA;            string url = DynamicLink.Parse(text.Substring(startIndex1, num - startIndex1)).GetUrl(urlOptions);&#xA;&#xA;            // TODO: write in logic to check if target item is a footnote item&#xA;            // TODO: if a footnote item, change the following to parse the footnote link as desired&#xA;&#xA;            string str = text.Substring(startIndex2, startIndex1 - startIndex2);&#xA;            stringBuilder.Append(str);&#xA;            stringBuilder.Append(url);&#xA;            startIndex2 = num + &quot;_z=z&quot;.Length;&#xA;        }&#xA;        stringBuilder.Append(text.Substring(startIndex2));&#xA;        text = stringBuilder.ToString();&#xA;    }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next, you will need to implement your new &lt;code&gt;FootnoteSupportingLinkProvider&lt;/code&gt;, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FootnoteSupportingLinkProvider : LinkProvider&#xA;{&#xA;    protected override LinkProvider.LinkParser CreateLinkParser() &#xA;    {&#xA;        return new FootnoteSupportingLinkParser();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lastly, you will need to register your new &lt;code&gt;FootnoteSupportingLinkProvider&lt;/code&gt; type, which you can do with the following patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;defaultProvider&quot; value=&quot;footnoteSupportingProvider&quot; /&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;footnoteSupportingProvider&quot; type=&quot;MyProject.MyNamespace.FootnoteSupportingLinkProvider, MyProject&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;At this point, you should be ready for testing and your new &lt;code&gt;LinkProvider&lt;/code&gt; should automatically render links created in the Rich Text Editor that point to your footnote items the way you want.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-06-19T22:10:33.630" LastActivityDate="2017-06-19T22:10:33.630" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6239" PostTypeId="2" ParentId="6195" CreationDate="2017-06-20T03:22:13.990" Score="0" Body="&lt;p&gt;Ok managed to solve this issue by adding this line as part of application startup:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More detail on this issue is here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/28286086/default-securityprotocol-in-net-4-5&quot;&gt;https://stackoverflow.com/questions/28286086/default-securityprotocol-in-net-4-5&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2017-06-20T03:22:13.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6240" PostTypeId="1" AcceptedAnswerId="6244" CreationDate="2017-06-20T07:39:21.023" Score="3" ViewCount="579" Body="&lt;p&gt;I need to have a dialog box with 2 dates at sitecore 8.2 admin page, and call sitecore powershell script with parameters that came from dialog box ?&#xA;what is the best way to do it ?&#xA;it seems like SPEAK should be used here. Does any one has some examples ?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2017-06-20T09:36:38.810" Title="How to display dialog before call powershell script?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6242" PostTypeId="1" AcceptedAnswerId="6243" CreationDate="2017-06-20T09:34:47.930" Score="4" ViewCount="660" Body="&lt;p&gt;Using SXA 1.2 rev. 161216, I am not able to click on an image's external link even when I specified one in it's URL field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to enable it ?&lt;/p&gt;&#xA;" OwnerUserId="1833" LastActivityDate="2017-07-06T09:17:06.450" Title="SXA: Image with external link not working" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6243" PostTypeId="2" ParentId="6242" CreationDate="2017-06-20T09:34:47.930" Score="1" Body="&lt;p&gt;You just have to edit the &lt;strong&gt;Image.cshtml&lt;/strong&gt; view and change the following condition,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Model.LinkItem != null &amp;amp;&amp;amp; Model.LinkItem.TargetItem != null)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Model.LinkItem != null &amp;amp;&amp;amp; (Model.LinkItem.TargetItem != null || (!Model.LinkItem.IsInternal &amp;amp;&amp;amp; !string.IsNullOrEmpty(Model.LinkItem.TargetUrl))))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;as a matter of fact, in case there is an external link, the LinkItem.TargetItem is null and we need to get into this piece of code and in the case there is no specified link, we need to avoid getting in the code because it would render a link to this page (thank you guschti !)&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="1833" LastEditDate="2017-07-06T09:17:06.450" LastActivityDate="2017-07-06T09:17:06.450" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6244" PostTypeId="2" ParentId="6240" CreationDate="2017-06-20T09:36:38.810" Score="3" Body="&lt;p&gt;You can use this snippet in your powershell script.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$dialog = Read-Variable -Parameters `&#xA;@{ Name = &quot;Date1&quot;; Title = &quot;Date 1&quot;; Editor=&quot;Date&quot;}, `&#xA;@{ Name = &quot;Date2&quot;; Title = &quot;Date 1&quot;;  Editor=&quot;Date&quot;} `&#xA;-Description &quot;Input Date.&quot; `&#xA;-Width 800 -Height 600 `&#xA;-Title &quot;Date Input&quot; `&#xA;-OkButtonName &quot;Start&quot; `&#xA;-CancelButtonName &quot;Cancel&quot;&#xA;&#xA;if($dialog -ne &quot;ok&quot;){exit}&#xA;&#xA;Write-Host $Date1;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will create the dialog for inputting the different dates that you need.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2017-06-20T09:36:38.810" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6245" PostTypeId="2" ParentId="6226" CreationDate="2017-06-20T10:02:01.920" Score="4" Body="&lt;p&gt;I think you may just need to tweak how you are generating the icon URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're using the path that invokes the &lt;code&gt;Sitecore.Resources.IconRequestHandler&lt;/code&gt;, e.g. &lt;code&gt;/~/icon/People/16x16/cubes_blue.png&lt;/code&gt;, then the icon should be automatically extracted if required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This handler uses the &lt;code&gt;ZippedIcon.GetStream&lt;/code&gt; method to retrieve the file stream, and this method extracts the icon to the icon cache if necessary.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-06-20T10:02:01.920" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6246" PostTypeId="1" CreationDate="2017-06-20T10:06:55.390" Score="6" ViewCount="2906" Body="&lt;p&gt;I have a responsive website on Sitecore. The same image gets rendered for my website articles on all devices. I do not want to crop the images while rendering them in different devices as a relevant part of the image might end up getting cropped. I would like to know the best way to handle these situations wrt Sitecore. Thanks for your help in advance!&lt;/p&gt;&#xA;" OwnerUserId="2074" LastActivityDate="2017-06-20T11:16:06.550" Title="How does Sitecore handle images for responsive websites?" Tags="|responsive-design|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6247" PostTypeId="2" ParentId="6246" CreationDate="2017-06-20T10:52:57.933" Score="0" Body="&lt;p&gt;Suppose you have a article page where you want to show the image as full width and you have another module where you want to show the article listing with smaller images. You can upload an image of size of your full width module and you can specify the width on the img tag for your article listing module. It will resize the image with the correct aspect ratio. &#xA;You should give a thought about what minimum number of sizes you need to use on different image placeholders.&lt;/p&gt;&#xA;" OwnerUserId="2075" LastActivityDate="2017-06-20T10:52:57.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6248" PostTypeId="2" ParentId="6246" CreationDate="2017-06-20T11:16:06.550" Score="4" Body="&lt;p&gt;Images won't be cropped by Sitecore by default, and in fact this is additional custom functionality that needs to be implemented if required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you display the image on a page and your site has been designed to be responsive (i.e. using CSS to make images have a relative width rather than an absolute one), the browser will scale the image dependent on the width of the page. This is nothing specific to Sitecore and is just regular HTML/CSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, this does mean the same image gets downloaded regardless of device size. This can be a waste of bandwidth, especially for mobile users who may be downloading an image that is suitably large for it to look great at high-resolutions, only for it to be scaled right down in the browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fortunately, Sitecore can help here. Sitecore's image handler allows images to be dynamically resized by using URL parameters, so that a single image in the media library can be downloaded in the browser at multiple different sizes. These also get cached on the server so that future requests for the images are faster.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Display image at default size --&amp;gt;&#xA;&amp;lt;img src=&quot;/-/media/Default%20Website/sc_logo.ashx&quot; /&amp;gt;&#xA;&#xA;&amp;lt;!-- Display same image but at a maximum width of 100px --&amp;gt;&#xA;&amp;lt;img src=&quot;/-/media/Default%20Website/sc_logo.ashx?mw=100&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I have done previously is to combine this with the &lt;a href=&quot;https://github.com/scottjehl/picturefill&quot; rel=&quot;nofollow noreferrer&quot; title=&quot;PictureFill&quot;&gt;PictureFill&lt;/a&gt; library, which allows you to specify a series of different URLs to use for an image and a CSS media query condition for each, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;picture&amp;gt;&#xA;    &amp;lt;source srcset=&quot;/-/media/images/article.jpg&quot; media=&quot;(min-width: 1600px)&quot; /&amp;gt;&#xA;    &amp;lt;source srcset=&quot;/-/media/images/article.jpg?mw=1600&quot; media=&quot;(min-width: 1000px)&quot; /&amp;gt;&#xA;    &amp;lt;img srcset=&quot;/-/media/images/article.jpg?mw=800&quot; alt=&quot;Article image&quot; /&amp;gt;&#xA;&amp;lt;/picture&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With this in place, you can have a single image stored in Sitecore, but the browser will only download the image that is most suitable to the current device's width.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note that for simplicity, the above examples are using Sitecore Media URLs with the Request Protection disabled.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-06-20T11:16:06.550" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6249" PostTypeId="1" AcceptedAnswerId="6257" CreationDate="2017-06-20T11:23:09.323" Score="3" ViewCount="306" Body="&lt;p&gt;I am using Azure Cosmos DB as my xDB, I am currently at test phase and have very few data and requests made by my app. I know this is not a fully supported platform, still I find it very useful and easy to use. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When my app is runing, I have an incredibly high number of requests registered by the db,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ibJjm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ibJjm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am very surprised to see that, even when there is no visit on the cd website, during the night (which is not in production, so there was absolutely no one), there are 2k queries, updates and 6k other requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I disable xDB, the number of requests goes to 0 and I still get other &#xA;requests (in an affordable number though)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nIZIu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nIZIu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that normal behaviour ? Is there something I can fix to lower the number of requests ?&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="73" LastEditDate="2017-06-20T11:33:57.317" LastActivityDate="2017-06-20T14:18:02.660" Title="Sitecore and Azure Cosmos DB: number of requests abnormally high" Tags="|xdb|azure|cosmos-db|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6250" PostTypeId="1" CreationDate="2017-06-20T12:06:18.920" Score="0" ViewCount="126" Body="&lt;p&gt;I am trying to add a feature on this module - &#xA;&lt;a href=&quot;http://klpatil.github.io/Sitecore-Audit-Trail/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://klpatil.github.io/Sitecore-Audit-Trail/&lt;/a&gt; &#xA;so that I can store the old and new changed value of the Sitecore Item in the Logs Table.&#xA;But I am not sure how to get the old value. Anyone done this before ? I am on Sitecore 8.1 &lt;/p&gt;&#xA;" OwnerUserId="106" LastEditorUserId="73" LastEditDate="2017-06-20T12:17:08.477" LastActivityDate="2017-06-20T12:17:08.477" Title="Add feature to Audit Trail Module to store value of Changed Item" Tags="|logging|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6251" PostTypeId="1" AcceptedAnswerId="6256" CreationDate="2017-06-20T12:54:12.753" Score="10" ViewCount="6683" Body="&lt;p&gt;I need to get all HTML page content that sitecore generate for an page item. But I need to do it programmatically just for some special tests. &#xA;I can of course just use URL but it is not good for me.&#xA;Does LayoutDefinition should work for it ?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2018-04-05T22:00:19.350" Title="Is it possible to get page rendering result programmatically ?" Tags="|presentation|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6252" PostTypeId="2" ParentId="6251" CreationDate="2017-06-20T12:59:23.513" Score="1" Body="&lt;p&gt;I have worked once created whole page in sitecore and added renderings and settings rendering parameters all programatically.&#xA;Getting and settings renderings on a page with code is possible. Have a look on something like this &lt;a href=&quot;https://briancaos.wordpress.com/2013/12/17/get-sitecore-placeholders-and-rendering-hierarchy-from-a-sitecore-item/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2013/12/17/get-sitecore-placeholders-and-rendering-hierarchy-from-a-sitecore-item/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can make an ajax call and get html for a single rendering as a string.you can enhance below for your use case&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        private static string GetHtmlFromPlaceholder(string placeholderKey, string returnHtml, PageContext pd, Item targetItem)&#xA;    {&#xA;        pd.Item = targetItem;&#xA;        var renderings = new List&amp;lt;Rendering&amp;gt;();&#xA;        var renderingCount = pd.Item.Visualization.GetRenderings(Context.Device, false).ToList();if (renderingCount.Count &amp;gt; 0)&#xA;        {&#xA;            renderings.AddRange(renderingCount.Select(r =&amp;gt; new Rendering&#xA;            {&#xA;                RenderingItemPath = r.RenderingID.ToString(),&#xA;                Parameters = new RenderingParameters(r.Settings.Parameters),&#xA;                DataSource = r.Settings.DataSource,&#xA;                Placeholder = r.Placeholder,&#xA;&#xA;            }));&#xA;            pd.PageDefinition.Renderings.AddRange(renderings);&#xA;            if (targetItem.TemplateID.ToString() == VirtualPDPPageTemplateGuid)&#xA;            {&#xA;                foreach (var r in renderings.Where(r =&amp;gt; r.Placeholder.Contains(&quot;One-Column-Teaser&quot;) || r.Placeholder.Contains(&quot;Two-Column-Teaser&quot;)))&#xA;                {&#xA;&#xA;                    using (var stringWriter = new StringWriter())&#xA;                    {&#xA;                        PipelineService.Get()&#xA;                            .RunPipeline(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(r, stringWriter));&#xA;                        returnHtml += stringWriter.ToString();&#xA;                    }&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                foreach (var r in renderings.Where(r =&amp;gt; r.Placeholder == placeholderKey))&#xA;                {&#xA;&#xA;                    using (var stringWriter = new StringWriter())&#xA;                    {&#xA;                        PipelineService.Get()&#xA;                            .RunPipeline(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(r, stringWriter));&#xA;                        returnHtml += stringWriter.ToString();&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;        return returnHtml;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2075" LastEditorUserId="2075" LastEditDate="2017-06-20T13:31:45.077" LastActivityDate="2017-06-20T13:31:45.077" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6254" PostTypeId="1" AcceptedAnswerId="6255" CreationDate="2017-06-20T13:45:53.787" Score="5" ViewCount="876" Body="&lt;p&gt;What is the proper syntax for a 'Grouped Droplink' field? I can't seem to find proper documentation on this anywhere. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x4u8B.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x4u8B.png&quot; alt=&quot;grouped droplink&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I use this to group results from 2 sections of the content tree?&lt;/p&gt;&#xA;" OwnerUserId="961" LastEditorUserId="961" LastEditDate="2017-06-20T14:04:15.717" LastActivityDate="2017-06-20T14:23:30.693" Title="What is the proper syntax for a 'Grouped Droplink' field?" Tags="|content-editor|fieldtype|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6255" PostTypeId="2" ParentId="6254" CreationDate="2017-06-20T14:11:25.250" Score="3" Body="&lt;p&gt;Short answer - Sort of, but only in a specific way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similar to fields such as Lookup, Multilist and TreeList, this field uses the fields's &lt;code&gt;source&lt;/code&gt; property to retrieve a collection of items using the &lt;code&gt;getLookupSourceItems&lt;/code&gt; pipeline. This pipeline allows for the &lt;code&gt;source&lt;/code&gt; property to be interpreted in different ways for how to retrieve these items (e.g. a single item ID, a piped list of IDs, or a query). This pipeline is extensible so you can add other ways of interpreting the property to retrieve a list of items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the field then renders each of these items from the pipeline as the group headers, and then shows the &lt;em&gt;children&lt;/em&gt; of each of these as the selectable items under each header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if what you had in mind involved the selectable items as always being the children of a collection of items, then yes you could likely use this field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need more flexibility, you could instead look at creating a new field type that implements similar functionality to &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.GroupedDroplink&lt;/code&gt; for how it renders the list, but it could interpret the &lt;code&gt;source&lt;/code&gt; property differently to build the grouped collection of items.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-06-20T14:11:25.250" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6256" PostTypeId="2" ParentId="6251" CreationDate="2017-06-20T14:14:12.453" Score="12" Body="&lt;p&gt;I think AlokBhatt's method is a good start, though I would make use of pipelines throughout. I think this is a better solution because it doesn't involve trying to parse presentation details, and should handle personalization and other Sitecore features. Here's an example that works for me:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string RenderItem(string itemPath)&#xA;{&#xA;&#xA;    var item = Sitecore.Context.Database.GetItem(itemPath);&#xA;&#xA;    var pageContext = new PageContext&#xA;    {&#xA;        RequestContext = HttpContext.Current.Request.RequestContext,&#xA;        Item = item&#xA;    };&#xA;&#xA;    ContextService.Get().Push(pageContext);&#xA;&#xA;    var pageDefinition = pageContext.PageDefinition;&#xA;&#xA;    var getPageRenderingArgs = new GetPageRenderingArgs(pageDefinition);&#xA;&#xA;    PipelineService.Get().RunPipeline(&quot;mvc.getPageRendering&quot;, getPageRenderingArgs);&#xA;&#xA;    var rendering = getPageRenderingArgs.Result;&#xA;&#xA;    var textWriter = new StringWriter();&#xA;&#xA;    var renderRenderingArgs = new RenderRenderingArgs(rendering, textWriter);&#xA;&#xA;    PipelineService.Get().RunPipeline(&quot;mvc.renderRendering&quot;, renderRenderingArgs);&#xA;&#xA;    ContextService.Get().Pop&amp;lt;PageContext&amp;gt;();&#xA;&#xA;    return textWriter.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2017-06-20T14:56:10.467" LastActivityDate="2017-06-20T14:56:10.467" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="6257" PostTypeId="2" ParentId="6249" CreationDate="2017-06-20T14:18:02.660" Score="2" Body="&lt;p&gt;Have you looked at your aggregation services? These regularly hit the collection database and update the reporting SQL tables and the analytics index by aggregating the information in xDB. Try disabling your processing server (or processing configs if you do have a separate service running) and see if you still get all those requests.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-06-20T14:18:02.660" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6258" PostTypeId="2" ParentId="6254" CreationDate="2017-06-20T14:23:30.693" Score="3" Body="&lt;p&gt;The 'Groupped Droplink' field treats every item &quot;returned&quot; by its source as a separate group.  Then all child items of every &quot;group&quot; item are selected and rendered as options for each group. That is why the above approach does not work with the 'Groupped Droplink' field&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following documents on SDN provide description of the field specifics:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content API Cookbook (chapter 4.1.8: How to access Droplink, Droptree and Grouped Droplink Fields): &lt;a href=&quot;http://sdn.sitecore.net/Reference/Sitecore%206/Content%20API%20Cookbook.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sdn.sitecore.net/Reference/Sitecore%206/Content%20API%20Cookbook.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Data Definition Reference ('The Grouped Droplink Field Type' section in the chapter 4.2.3): &lt;a href=&quot;http://sdn.sitecore.net/Reference/Sitecore%206/Data%20Definition%20Reference.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sdn.sitecore.net/Reference/Sitecore%206/Data%20Definition%20Reference.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Data Definition Cookbook ('Root Item' section in the chapter 2.4.2): &lt;a href=&quot;http://sdn.sitecore.net/Reference/Sitecore%206/Data%20Definition%20Cookbook.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sdn.sitecore.net/Reference/Sitecore%206/Data%20Definition%20Cookbook.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-20T14:23:30.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6259" PostTypeId="1" AcceptedAnswerId="6327" CreationDate="2017-06-20T14:46:24.877" Score="5" ViewCount="729" Body="&lt;p&gt;I am using EXM 3.4 on Sitecore 8.2 initial release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I try to import a list of contacts with CSV and send the regular campaign - it works.&#xA;But if I try to create a segmented contact list in the list manager first, and then try to use it as a source - I am getting the next message: &lt;code&gt;You must add at least one populated recipient list to the message.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details:&#xA;So I go to list manager and create a segmented list from all contacts, I give it a name and define the segmentation conditions. Saving it and Can see correct number of recepients and they are listed below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I go to EXM and create a regular email campaign. On &lt;code&gt;Recipients&lt;/code&gt; tab I select the previously created list:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vnBLS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vnBLS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I go to &lt;code&gt;Message&lt;/code&gt; tab, I can actually do the &quot;preview fr recipient&quot; from my list and I see the same contacts as on the list manager. &#xA;But when I go to lat tab - &lt;code&gt;Delivery&lt;/code&gt; and click &quot;Send message&quot; I am getting next message &lt;code&gt;You must add at least one populated recipient list to the message.&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TMdWq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TMdWq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also see the correct amount of recipients in the right sidebar &quot;Email campaign info&quot; But there is the same amount of customers are treated as &lt;code&gt;Globally excluded&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8oAlw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8oAlw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I check my &lt;code&gt;Global Opt-Out&lt;/code&gt; list - it is empty and contains no recipients.&#xA;My segmented list uses one custom segmentation condition which I implemented, but as I said it works fine if I look into the list on list manager and even it allows me to select the contact for the email preview feature. Any thoughts about that? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like the list manager issue. If I, for example, go to my segmented list and add &lt;code&gt;Global Opt-Out&lt;/code&gt; list which is empty as a &lt;code&gt;exclude source&lt;/code&gt; - the list returns no contacts:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4Z0Xy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4Z0Xy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably the same happens in EXM when it tries to exclude &lt;code&gt;global opt out's&lt;/code&gt; from the segmented list.&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="73" LastEditDate="2019-12-04T14:15:18.847" LastActivityDate="2019-12-04T14:15:18.847" Title="Unable to use segmented contact list as a source for email campaign - all contacts are globally excluded?" Tags="|xdb|exm|list-manager|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="6262" PostTypeId="2" ParentId="6219" CreationDate="2017-06-20T16:32:26.697" Score="2" Body="&lt;p&gt;This was just because caching had been mistakenly added to the Sublayouts that use dynamic placeholders. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Edit (further explanation):&lt;/em&gt;&#xA;We have a set of sublayouts/renderings that are used for page structure, and just contain (dynamic) placeholders - i.e. &quot;one column row&quot;, &quot;two column row&quot; etc. They are just used to add actual components into. Adding caching to these sublayouts is a mistake because they could contain dynamic components within them and adding caching at this top level would cause these components to not function correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In terms of why the caching caused duplication, I'm not sure.&lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="1125" LastEditDate="2017-06-21T07:43:12.263" LastActivityDate="2017-06-21T07:43:12.263" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6263" PostTypeId="1" AcceptedAnswerId="6278" CreationDate="2017-06-20T18:17:46.627" Score="3" ViewCount="2529" Body="&lt;p&gt;Got SOLR setup and working on my local machine with all my cores installed. Everything is functioning as intended when starting SOLR from Command Prompt via a &quot;bin\solr start&quot; command. However, I installed SOLR as a service via NSSM and while the service was created and is in place, the service will not start for some reason. The error I am getting back is as follows when I attempt to start the service:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Windows could not start the SOLR 6.5.1 service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact your system administrator.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;These are the steps that I followed when setting up Sitecore 8.2 (Update 3) with SOLR (6.5.1): &lt;a href=&quot;https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made sure that I have the JAVA_HOME environment variable in place with the correct path as variable, and I am using 64 bit version of JAVA while using the 64 bit version of NSSM as well when creating the service. Any help is appreciated to solve this issue!&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="475" LastEditDate="2017-06-22T22:28:37.903" LastActivityDate="2017-06-22T22:28:37.903" Title="SOLR 6.5.1 will not run with Sitecore as a service on Windows machine" Tags="|solr|" AnswerCount="1" CommentCount="19" ClosedDate="2017-06-22T13:00:56.143" ContentLicense="CC BY-SA 3.0" />
  <row Id="6264" PostTypeId="2" ParentId="6086" CreationDate="2017-06-20T19:33:45.313" Score="2" Body="&lt;p&gt;This issue has been mentioned here: &lt;a href=&quot;http://www.glass.lu/Mapper/Sc/Documentation/CommonQuestionsAndProblems/SystemObjectError&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/Mapper/Sc/Documentation/CommonQuestionsAndProblems/SystemObjectError&lt;/a&gt;. When &lt;a href=&quot;http://www.glass.lu/Mapper/Sc/Tutorials/Tutorial24&quot; rel=&quot;nofollow noreferrer&quot;&gt;T4 templates&lt;/a&gt; are used to generate glass based models, it generated model properties of type &quot;object&quot; for every &quot;internal link&quot; field type. And glass.mapper.sc has stopped mapping properties of type 'object' as part of a fix for issue# 85 in glass mapper github repo. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, one can start using Glass.Mapper.Sc.Fields.Link type to corresponding to sitecore fields of type &quot;internal link&quot;. Then, Any version of glass.mapper would work.&lt;/p&gt;&#xA;" OwnerUserId="2025" LastActivityDate="2017-06-20T19:33:45.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6265" PostTypeId="2" ParentId="6084" CreationDate="2017-06-20T19:40:59.177" Score="0" Body="&lt;p&gt;We could use latest glass mapper without mixing IoC and Request for documentation to mix in IoC has been created here  &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/issues/308&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/issues/308&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2025" LastActivityDate="2017-06-20T19:40:59.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6266" PostTypeId="2" ParentId="6079" CreationDate="2017-06-20T19:57:48.670" Score="4" Body="&lt;p&gt;As specified in the comment, this is not a Sitecore bug. The reason of this issue is that, Sitecore cannot evaluate the &lt;code&gt;@value&lt;/code&gt; because &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Issue with the xml syntax where the xml is not well formed.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check for special characters.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can have overridden the value of the MediaFolder setting.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Based on your provided comment, for your issue, it was due to the 2nd point. Special characters.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-06-20T19:57:48.670" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6267" PostTypeId="1" CreationDate="2017-06-20T20:05:57.903" Score="3" ViewCount="493" Body="&lt;p&gt;We are getting below error when publishing content for the first time to web database after Sitecore upgrade. The publishing method is &lt;code&gt;publish site -&amp;gt; republish /smart publish&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Job started: Publish to 'web'|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.ArgumentException: The supplied DateTime represents an invalid time.  For example, when the clock is adjusted forward, any time in the period that is skipped is invalid.&#xA;  Parameter name: dateTime&#xA;     at System.TimeZoneInfo.ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone, TimeZoneInfoOptions flags, CachedData cachedData)&#xA;     at Sitecore.DateUtil.ToUniversalTime(DateTime serverTime)&#xA;     at Sitecore.Data.Items.ItemPublishing.GetDate(ID fieldId, DateTime defaultValue)&#xA;     at Sitecore.Data.Items.ItemPublishing.get_ValidFrom()&#xA;     at Sitecore.Data.Items.ItemPublishing.InValidRange(DateTime date)&#xA;     at Sitecore.Data.Items.ItemPublishing.IsValid(DateTime date, Boolean requireApproved, Database targetDatabase)&#xA;     at Sitecore.Data.Items.ItemPublishing.GetValidVersion(DateTime date, Boolean requireApproved, Boolean allowEmpty, Database targetDatabase)&#xA;     at Sitecore.Data.Items.ItemPublishing.GetValidVersion(DateTime date, Boolean requireApproved, Database targetDatabase)&#xA;     at Sitecore.Publishing.Pipelines.PublishItem.DetermineAction.Process(PublishItemContext context)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.Publishing.Pipelines.PublishItem.PublishItemPipeline.Run(PublishItemContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context, List&lt;code&gt;1&amp;amp; referrers, List&lt;/code&gt;1&amp;amp; children)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;/code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;/code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;/code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;/code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.Process(PublishContext context)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.Publishing.Pipelines.Publish.PublishPipeline.Run(PublishContext context)&#xA;     at Sitecore.Publishing.Publisher.PublishWithResult()&#xA;     --- End of inner exception stack trace ---&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;     at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.Jobs.Job.ThreadEntry(Object state)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across this error? Please advice.&lt;/p&gt;&#xA;" OwnerUserId="2025" LastEditorUserId="2727" LastEditDate="2018-02-07T07:59:13.230" LastActivityDate="2024-03-16T11:07:15.893" Title="Publishing error with Sitecore 8.2 Update 3 and Solr 6.1" Tags="|publishing|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="6268" PostTypeId="1" AcceptedAnswerId="6280" CreationDate="2017-06-21T06:44:37.600" Score="2" ViewCount="571" Body="&lt;p&gt;I am iterating over users of the same domain and all of the users are assigned the same profile. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;user.Profile.GetCustomPropertyNames()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are around 50 profile fields but for some users, this method returns only few. Like for some users it just returns 8, for some 32. ..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why does this happen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I check the User Manager, all those users have all those fields. They are empty but even filling them did not change the result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should something else be done to read all available profile fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using sc8.0 u5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2017-06-21T13:39:08.240" LastActivityDate="2017-06-23T05:28:36.580" Title="GetCustomPropertyNames does not return all profile fields" Tags="|user-profile|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6269" PostTypeId="2" ParentId="6268" CreationDate="2017-06-21T08:18:48.177" Score="-1" Body="&lt;p&gt;Can you try with &lt;code&gt;user.Profile.GetCustomProperty(&quot;Property&quot;)&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And for saving the profile values - you need to add &lt;code&gt;user.Profile.Save();&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can refer these articles:&#xA;&lt;a href=&quot;http://blog.nikkipunjabi.com/2015/08/how-to-store-custom-user-profile.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.nikkipunjabi.com/2015/08/how-to-store-custom-user-profile.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1847" LastEditorUserId="1847" LastEditDate="2017-06-23T05:28:36.580" LastActivityDate="2017-06-23T05:28:36.580" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6270" PostTypeId="1" CreationDate="2017-06-21T09:20:04.480" Score="6" ViewCount="2006" Body="&lt;p&gt;I can publish an item with a blank field that have validation rule where required. How can I use workflow to prevent publish item with a blank field?&lt;/p&gt;&#xA;" OwnerUserId="1926" LastEditorUserId="423" LastEditDate="2017-06-21T13:40:55.190" LastActivityDate="2017-06-22T06:32:32.043" Title="How to prevent publish item using validation rule?" Tags="|publishing|workflow|validation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6271" PostTypeId="2" ParentId="6270" CreationDate="2017-06-21T09:27:40.573" Score="8" Body="&lt;p&gt;Yes, it is possible to do this without customization. &#xA;Sitecore has the special validation rule that is named &quot;Required&quot;,  which checks fields that contain the value​​. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find it in Sitecore/System/Settings/Validation Rules/Field Rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, configure the workflow and validation rules for your template, in this way:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &quot;master&quot; database open template, whose fields you want to check before publishing.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to the template field item, - that must be validated&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the section &quot;Validation Rules&quot;, in the &quot;Workflow&quot; field, select the &quot;Required&quot; validation rule.&#xA;Note: If you want that your users got the notifying that the field must contain a value when they edits item, set the &quot;Required&quot; rule to the other fields in this section.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Then, go to &quot;__Standard Values&quot; item of your template and in &quot;Workflow&quot; section (in &quot;Standard Fields&quot;) set the &quot;Default Workflow&quot; field to &quot;Sample Workflow&quot;. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please have a look on these links: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://sdn.sitecore.net/upload/sitecore6/64/client_configuration_cookbook_sc64-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;http://sdn.sitecore.net/upload/sitecore6/64/client_configuration_cookbook_sc64-a4.pdf&lt;/a&gt; ( section 4.2 ) &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/64/workflow_reference-usletter_sc60-64.pdf&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/64/workflow_reference-usletter_sc60-64.pdf&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-21T09:27:40.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6273" PostTypeId="1" CreationDate="2017-06-21T10:48:11.510" Score="7" ViewCount="205" Body="&lt;p&gt;Currently facing an issue where when you search bucketed items within Sitecore, in let us say Danish language, you get Danish results but clicking on that item opens an English version in new content editor tab.&#xA;Has anyone ever reported this to Sitecore and got a hotfix?&#xA;Or has anyone done any customization to fix this?&lt;/p&gt;&#xA;" OwnerUserId="1107" LastEditorUserId="73" LastEditDate="2018-02-04T11:00:24.447" LastActivityDate="2018-07-04T15:58:07.867" Title="Open item in language version in which search result was returned" Tags="|content-editor|buckets|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6274" PostTypeId="1" AcceptedAnswerId="6293" CreationDate="2017-06-21T12:48:11.410" Score="5" ViewCount="1121" Body="&lt;p&gt;We are using sitecore publishing service 2.0. For couple of days things seemed to be working fine, but we have added the:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;PromotionCoordinator&amp;gt;&#xA;      &amp;lt;Options&amp;gt;&#xA;        &amp;lt;RebuildDescendantsTable&amp;gt;true&amp;lt;/RebuildDescendantsTable&amp;gt;&#xA;      &amp;lt;/Options&amp;gt;&#xA;    &amp;lt;/PromotionCoordinator&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to keep the descendants table up to date after publishes. The problem is that when I try to publish something, I have following error in the service logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-06-21 14:00:26.471 +02:00 [Information] Created manifest 690c673d-27bd-482a-8ce7-874e16272e5c, for target 8e080626-ddc3-4ef4-a1d1-f0be4a200254&#xA;2017-06-21 14:00:26.471 +02:00 [Information] Starting the manifest calculation for target : &quot;web&quot; (Id : 8e080626-ddc3-4ef4-a1d1-f0be4a200254)&#xA;2017-06-21 14:00:26.657 +02:00 [Information] Start building item index for target: 8e080626-ddc3-4ef4-a1d1-f0be4a200254&#xA;2017-06-21 14:01:26.177 +02:00 [Information] Item index built successfully for target: 8e080626-ddc3-4ef4-a1d1-f0be4a200254&#xA;2017-06-21 14:01:33.986 +02:00 [Information] Added 43 steps to manifest: 690c673d-27bd-482a-8ce7-874e16272e5c.&#xA;2017-06-21 14:01:33.986 +02:00 [Information] Starting to promote the manifests to all targets..&#xA;2017-06-21 14:01:34.046 +02:00 [Information] Starting to promote Target : &quot;web&quot;, Manifest : 690c673d-27bd-482a-8ce7-874e16272e5c.&#xA;2017-06-21 14:03:47.713 +02:00 [Information] New Job queued : 71399e26-2175-48fe-aaa7-bf4b86e1ecf3 - Targets: &quot;web&quot;&#xA;2017-06-21 14:03:51.727 +02:00 [Error] Item Descendants Promote from &quot;Master&quot; to &quot;web&quot; failed. - Error: &quot;Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.&quot;&#xA;2017-06-21 14:03:51.727 +02:00 [Warning] An error occured running an operation on Manifest 690c673d-27bd-482a-8ce7-874e16272e5c, _connection &quot;web&quot;. - Error: &quot;Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.&quot;&#xA;2017-06-21 14:03:51.728 +02:00 [Information] Rolling back the transaction for the operation on Manifest 690c673d-27bd-482a-8ce7-874e16272e5c, sourceStore &quot;web&quot;.&#xA;2017-06-21 14:03:51.970 +02:00 [Error] One or more targets were not succesfully promoted.&#xA;System.AggregateException: One or more targets were not succesfully promoted.  The failed target(s) are: Manifest=690c673d-27bd-482a-8ce7-874e16272e5c Target=8e080626-ddc3-4ef4-a1d1-f0be4a200254.&#xA; See inner exceptions for details. ---&amp;gt; System.AggregateException: One or more errors occurred. ---&amp;gt; System.Data.SqlClient.SqlException: Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ---&amp;gt; System.ComponentModel.Win32Exception: The wait operation timed out&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)&#xA;   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;   at System.Data.SqlClient.SqlCommand.InternalEndExecuteNonQuery(IAsyncResult asyncResult, String endMethod, Boolean isInternal)&#xA;   at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult)&#xA;   at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(IAsyncResult asyncResult)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where should I increase the timeout, and what might be the optimal value here? Also, could changing the timeout have impact on other, publish related activities?&lt;/p&gt;&#xA;" OwnerUserId="1329" LastActivityDate="2017-06-22T10:42:09.170" Title="Publishing service fails rebuilding descendants table" Tags="|publishing|publishing-service|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6275" PostTypeId="1" CreationDate="2017-06-21T16:28:26.937" Score="5" ViewCount="348" Body="&lt;p&gt;ASP.NET Web API 2 allows to &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/web-api/overview/web-api-routing-and-actions/attribute-routing-in-web-api-2#route-names&quot; rel=&quot;noreferrer&quot;&gt;set route name on a controller&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Route names are useful for generating links, so that you can include a link in an HTTP response.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I define two controllers, each of them returns a link to another one in the response (it does not matter if that is a SSC &lt;code&gt;ServicesApiController&lt;/code&gt; or standard Web API &lt;code&gt;ApiController&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Route(&quot;api/valuesA&quot;, Name = &quot;ValuesA&quot;)]&#xA;public class ValuesAController : ServicesApiController&#xA;{&#xA;    public object Get()&#xA;    {&#xA;        var link = Url.Link(&quot;ValuesB&quot;, new { });&#xA;        return new { link_to_valuesB = link };&#xA;    }&#xA;}&#xA;&#xA;[Route(&quot;api/valuesB&quot;, Name = &quot;ValuesB&quot;)]&#xA;public class ValuesBController : ServicesApiController&#xA;{&#xA;    public object Get()&#xA;    {&#xA;        var link = Url.Link(&quot;ValuesA&quot;, new { });&#xA;        return new { link_to_valuesA = link };&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Request &lt;code&gt;api/valuesA&lt;/code&gt; returns link to &lt;code&gt;valuesB&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;link_to_valuesB&quot;: &quot;http://mysite/api/valuesB&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The controllers work fine, but &lt;em&gt;all&lt;/em&gt; the existing SSC controllers inherited from either &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/create_an_entityservice&quot; rel=&quot;noreferrer&quot;&gt;&lt;code&gt;EntityService&amp;lt;&amp;gt;&lt;/code&gt;&lt;/a&gt; or &lt;code&gt;ServiceBaseODataController&amp;lt;&amp;gt;&lt;/code&gt; class just crash. All the SPEAK-based marketing applications heavily rely on the &lt;code&gt;EntityService&amp;lt;&amp;gt;&lt;/code&gt; and all of them just stop working returning numerous 500 Server Errors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;A route named 'ValuesA' is already in the route collection. Route names must be unique.\r\n&#xA;Parameter name: name&quot;,&quot;ExceptionType&quot;:&quot;System.ArgumentException&quot;,&quot;StackTrace&quot;:&quot;   at System.Web.Routing.RouteCollection.Add(String name, RouteBase item)\r\n&#xA;at System.Web.Http.Routing.AttributeRoutingMapper.AddGenerationHooksForSubRoutes(HttpRouteCollection routeTable, IEnumerable`1 entries)\r\n&#xA;at System.Web.Http.Routing.AttributeRoutingMapper.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;MapAttributeRoutes&amp;gt;b__0(HttpConfiguration config)\r\n&#xA;at System.Web.Http.HttpConfiguration.ApplyControllerSettings(HttpControllerSettings settings, HttpConfiguration configuration)\r\n&#xA;at System.Web.Http.Controllers.HttpControllerDescriptor.InvokeAttributesOnControllerType(HttpControllerDescriptor controllerDescriptor, Type type)\r\n&#xA;at System.Web.Http.Controllers.HttpControllerDescriptor..ctor(HttpConfiguration configuration, String controllerName, Type controllerType)\r\n&#xA;at System.Web.Http.Dispatcher.DefaultHttpControllerSelector.InitializeControllerInfoCache()\r\n&#xA;at System.Lazy`1.CreateValue()\r\n&#xA;--- End of stack trace from previous location where exception was thrown ---\r\n&#xA;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&#xA;at System.Lazy`1.get_Value()\r\n&#xA;at System.Web.Http.Dispatcher.DefaultHttpControllerSelector.SelectController(HttpRequestMessage request)\r\n&#xA;at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext()&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea why is that? (Sitecore 8.2.3).&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-06-23T05:04:51.980" Title="EntityService-based controllers stop working when adding a controller with a named route" Tags="|routing|sitecore-services-client|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6277" PostTypeId="2" ParentId="6275" CreationDate="2017-06-21T17:00:48.970" Score="4" Body="&lt;p&gt;This will be the way the routes get registered when applied by attributes. The correct way to register your own routes with Sitecore is to write a custom &lt;code&gt;initialize&lt;/code&gt; pipeline processor and patch it in before the Sitecore &lt;code&gt;InitializeRoutes&lt;/code&gt; processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take this example from the Habitat project:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterWebApiRoutes&#xA;{&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapRoute(&quot;Feature.Accounts.Api&quot;, &quot;api/accounts/{action}&quot;, new&#xA;        {&#xA;            controller = &quot;Accounts&quot;&#xA;        });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This registers the route, and then the config registers the pipeline processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Feature.Accounts.Pipelines.RegisterWebApiRoutes, Sitecore.Feature.Accounts&quot; &#xA;                           patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that you register &lt;strong&gt;before&lt;/strong&gt; the Sitecore processor to initialize routes, this is important so you don't override any of the standard Sitecore routes.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-06-21T17:00:48.970" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6278" PostTypeId="2" ParentId="6263" CreationDate="2017-06-21T19:48:52.453" Score="5" Body="&lt;p&gt;The issue of services failing to start is mentioned on NSSM homepage: Users of Windows 10 Creators Update should use &lt;a href=&quot;http://nssm.cc/ci/nssm-2.24-101-g897c7ad.zip&quot; rel=&quot;noreferrer&quot;&gt;prerelease build 2.2.4-101&lt;/a&gt; to avoid an issue with services failing to start.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-06-21T19:48:52.453" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6279" PostTypeId="1" AcceptedAnswerId="6281" CreationDate="2017-06-21T19:56:49.863" Score="7" ViewCount="2489" Body="&lt;p&gt;I'm attempting to grasp how to access analytics/mongodb data when in a CM/CD setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I'm a content author do I do all my report building/personas/personalizations/analytic reviews on the CM instance or will I have to perform some of those tasks on the CD directly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The part I'm not grasping right now is... CM and CD have their respective DB Instances and other than workflows &amp;amp; publishing tasks to transfer data... how does CD send analytics info back to CD, if at all? Is it out of the box or do I have to configure it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most of my experience surrounds the main Sitecore system and I am not very well versed in the Analytical/xDB portion. Yet.&lt;/p&gt;&#xA;" OwnerUserId="2050" LastEditorUserId="73" LastEditDate="2017-06-21T21:46:59.153" LastActivityDate="2018-02-22T15:59:23.953" Title="How does Sitecore xDB work in a basic CM/CD setup" Tags="|xdb|experience-analytics|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6280" PostTypeId="2" ParentId="6268" CreationDate="2017-06-21T20:58:40.367" Score="2" Body="&lt;h1&gt;Because a Security Profile Item in &amp;quot;core&amp;quot; is not a Schema&lt;/h1&gt;&#xA;&lt;p&gt;And you're going about it wrong.&lt;/p&gt;&#xA;&lt;h2&gt;To reach the &amp;quot;schema&amp;quot; for a user&lt;/h2&gt;&#xA;&lt;p&gt;If you want to read all available fields defined for your user, you will have to refer to the &lt;em&gt;definition&lt;/em&gt; you have defined for your user, which would be the Sitecore Security Profile. And essentially it would involve reading it and looping through the defined fields.  But the Security Profile item in &amp;quot;core&amp;quot; really shouldn't be your guide here; instead YOU define what properties should be shown for any user and go from there.&lt;/p&gt;&#xA;&lt;h2&gt;To read properties for a user&lt;/h2&gt;&#xA;&lt;p&gt;For the user itself, you will only ever get profile fields and values that have been set on &lt;em&gt;that specific user&lt;/em&gt;. Changing the Security Profile definition in &amp;quot;core&amp;quot; does &lt;em&gt;nothing&lt;/em&gt; to update your existing users - it is simply there to give Sitecore a basic UI for user editing. For convenience.&lt;/p&gt;&#xA;&lt;p&gt;As a side note; the fact that it is stored in &amp;quot;core&amp;quot; should give this away. &amp;quot;Core&amp;quot; is the Sitecore database from which the Sitecore UI runs - nothing else.&lt;/p&gt;&#xA;&lt;h2&gt;Further&lt;/h2&gt;&#xA;&lt;p&gt;Underneath the Sitecore Profile Provider lies a completely standard ASP.NET Profile Provider. In a very simplified form, &lt;code&gt;GetPropertyValues&lt;/code&gt; for a user is done by executing the &lt;code&gt;dbo.aspnet_Profile_GetProperties&lt;/code&gt; Stored Procedure, and then splitting the key/value pairs on &lt;code&gt;:&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;      connectionHolder = SqlConnectionHelper.GetConnection(this._sqlConnectionString, true);&#xA;      this.CheckSchemaVersion(connectionHolder.Connection);&#xA;      SqlCommand sqlCommand = new SqlCommand(&amp;quot;dbo.aspnet_Profile_GetProperties&amp;quot;, connectionHolder.Connection);&#xA;      sqlCommand.CommandTimeout = this.CommandTimeout;&#xA;      sqlCommand.CommandType = CommandType.StoredProcedure;&#xA;      sqlCommand.Parameters.Add(this.CreateInputParam(&amp;quot;@ApplicationName&amp;quot;, SqlDbType.NVarChar, (object) this.ApplicationName));&#xA;      sqlCommand.Parameters.Add(this.CreateInputParam(&amp;quot;@UserName&amp;quot;, SqlDbType.NVarChar, (object) userName));&#xA;      sqlCommand.Parameters.Add(this.CreateInputParam(&amp;quot;@CurrentTimeUtc&amp;quot;, SqlDbType.DateTime, (object) DateTime.UtcNow));&#xA;      sqlDataReader = sqlCommand.ExecuteReader(CommandBehavior.SingleRow);&#xA;      if (sqlDataReader.Read())&#xA;      {&#xA;        names = sqlDataReader.GetString(0).Split(':');&#xA;        values = sqlDataReader.GetString(1);&#xA;        int bytes = (int) sqlDataReader.GetBytes(2, 0L, (byte[]) null, 0, 0);&#xA;        numArray = new byte[bytes];&#xA;        sqlDataReader.GetBytes(2, 0L, numArray, 0, bytes);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Notice how this code makes no references to any User Profile &amp;quot;definition&amp;quot; of sorts. At this level; profile attributes are just treated as key/value pairs.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-06-21T20:58:40.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6281" PostTypeId="2" ParentId="6279" CreationDate="2017-06-21T21:26:53.323" Score="13" Body="&lt;p&gt;Normally analytics data are stored in the MongoDb on session end. Then, with Sitecore Aggregators, the data is flushed into the Sitecore Reporting database at a defined interval. If not mistaken, the default value is each minute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your CD server should have access to the MongoDB analytics collections so that the tracker can store the value into MongoDB and the CM have access to the Sitecore Reporting database so that the reporting can be available on the Experience Analytics and Profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to note, I've seen that the Experience Profile takes some data directly from MongoDB. So, CM Servers should have access to both Sitecore Reporting Database and the MongoDB Analytics collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content Authors will only require access to the CM server to be able to perform the different reporting required. Items such as profile cards, pattern cards, personas etc, that they will create will automatically get published to the target database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Point to note here is since CM and CD make use of the same MongoDB Analytics collection, you need to disable the Analytics Tracker on CM Frontal Server so that it doesn't interfere with the real analytics data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The below image show how analytics works&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w0Vgm.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w0Vgm.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-06-21T21:44:34.887" LastActivityDate="2017-06-21T21:44:34.887" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="6282" PostTypeId="2" ParentId="6279" CreationDate="2017-06-21T21:30:35.140" Score="8" Body="&lt;p&gt;Your personas, and personalizations are stored either on as items in the Master database or as part of an item (personlization rules for renderings) just like any other content item in Sitecore. You will need to publish the items (and run through workflow if it's applied to the item) for them to be active/present on the content delivery instances. You should never manually change items in content delivery (or the associated database) as it could be removed/changed on the next publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a user interacts with your website, the xDB collects all contact and interaction data. The data flows through the xDB system in the following sequence:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;A contact decides to interact with a website.&lt;/li&gt;&#xA;&lt;li&gt;During the session, details of the contact, the interaction, and the device are stored in either a private or shared session state. On session end, Sitecore flushes this data to the collection database and schedules it for processing.&lt;/li&gt;&#xA;&lt;li&gt;The processing layer reduces and groups interaction (online visit) data and stores it in the reporting database for use by the reporting layer. This is known as aggregation. Data is also aggregated by the processing layer for use by the segmentation index.&lt;/li&gt;&#xA;&lt;li&gt;The Reporting Service queries the reporting database to fetch reporting data for use in applications such as Experience Analytics (xAnalytics)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="731" LastEditorUserId="605" LastEditDate="2017-06-21T21:31:56.427" LastActivityDate="2017-06-21T21:31:56.427" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6283" PostTypeId="2" ParentId="6270" CreationDate="2017-06-22T00:53:45.733" Score="0" Body="&lt;p&gt;For absolutely required validation rules, I sometimes set the &quot;Parameters&quot; field for the validation rule to include the &quot;Result=FatalError&quot; which then won't allow users to change an item until the field is filled in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other options for Result parameter include: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Suggestion&lt;/li&gt;&#xA;&lt;li&gt;Warning&lt;/li&gt;&#xA;&lt;li&gt;Error&lt;/li&gt;&#xA;&lt;li&gt;Critical Error&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Only the FatalError setting will force the user to resolve the validation rule before they are allowed to save.  The others will display the appropriate message but will still allow users to save the item. &lt;/p&gt;&#xA;" OwnerUserId="575" LastEditorUserId="1000" LastEditDate="2017-06-22T01:54:39.830" LastActivityDate="2017-06-22T01:54:39.830" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6284" PostTypeId="1" AcceptedAnswerId="6286" CreationDate="2017-06-22T05:31:16.003" Score="7" ViewCount="243" Body="&lt;p&gt;I have set up an Auto Publish Workflow OnSave event. But some events like Rename and Copy doesn't Auto Publish. Basically I don't save these changes explicitly, they autosave. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do i handle this and make sure all my changes (for all the events)&#xA;are Auto Published?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="73" LastEditDate="2017-06-23T08:25:16.583" LastActivityDate="2017-06-23T08:25:16.583" Title="AutoPublishing doesn't work on Rename &amp; Copy" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6285" PostTypeId="2" ParentId="6270" CreationDate="2017-06-22T05:51:16.550" Score="0" Body="&lt;p&gt;Just assign the item with appropriate workflow and it will not be included in publishing. The default behavior of Sitecore is if the item is in workflow (draft or awaiting approval), it will exclude the item to get published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also if you have a validation rule applied and then also if you are able to save the item, check is there any JS error which is preventing the validation to get executed or not. Just a thought.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps or let me know.&lt;/p&gt;&#xA;" OwnerUserId="1078" LastEditorUserId="605" LastEditDate="2017-06-22T06:32:32.043" LastActivityDate="2017-06-22T06:32:32.043" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6286" PostTypeId="2" ParentId="6284" CreationDate="2017-06-22T05:57:11.490" Score="6" Body="&lt;p&gt;You should make use of the other Sitecore item events. For your case, you will need to add a handler on the below events:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;item:copied&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;item:renamed&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Note that you can check &lt;code&gt;web.config&lt;/code&gt; if you are still on Sitecore v6.x to v7.2 and &lt;code&gt;Sitecore.config&lt;/code&gt; for Sitecore v8.x to see the different events that are available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same code you applied on the item save event can be applied on the above event. All you need to do is to use the same handler as the one you used for the save event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also directly publish the item when the user updates / creates or rename an item. Please see below code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PublishingOnSaved&#xA;{&#xA;    public void OnSavedItem(object sender, EventArgs args)&#xA;    {&#xA;        var currentItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;        if (currentItem == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var targetDatabase = Factory.GetDatabase(&quot;your target database name&quot;);&#xA;&#xA;        // The publishOptions determine the source and target database,&#xA;        // the publish mode and language, and the publish date&#xA;        Sitecore.Publishing.PublishOptions publishOptions = new Sitecore.Publishing.PublishOptions&#xA;        (&#xA;            currentItem.Database,&#xA;            targetDatabase,&#xA;            Sitecore.Publishing.PublishMode.SingleItem,&#xA;            currentItem.Language,&#xA;            System.DateTime.Now&#xA;        );&#xA;&#xA;        // Create a publisher with the publishoptions&#xA;        Sitecore.Publishing.Publisher publisher = new Sitecore.Publishing.Publisher(publishOptions);&#xA;&#xA;        // Choose where to publish from&#xA;        publisher.Options.RootItem = currentItem;&#xA;&#xA;        // Publish children as well?&#xA;        publisher.Options.Deep = true;&#xA;&#xA;        // Do the publish!&#xA;        publisher.Publish();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need to bind this piece of code to the event.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;item:saved&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;YourNamespaceWithClass, YourAssembly&quot; method=&quot;OnSavedItem&quot;&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-06-22T14:27:42.987" LastActivityDate="2017-06-22T14:27:42.987" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6288" PostTypeId="2" ParentId="6279" CreationDate="2017-06-22T08:00:46.263" Score="2" Body="&lt;p&gt;It is of key importance that you have setup the CD and CM in the correct manner using the following 2 guides:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When setup correctly the CM and CD shared the same MongoDB and also shares the Analytics (Reporting) database on the SQL server.&#xA;The CM has access to the master and core database and the CD has access to the web and core datasbse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also of key importance that xDB is setup correctly and especially Analytics.ClusterName needs to be configured to point to the CD servers public url and the CM server needs to be able to reach the CD server url.&#xA;See this post for more info on Analytics.ClusterName:&#xA;&lt;a href=&quot;https://blog.roeermose.com/post/how-important-is-analyticsclustername-for-sitecore-xdb&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.roeermose.com/post/how-important-is-analyticsclustername-for-sitecore-xdb&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CD server should be setup as the main tracker for xDB and the CM server uses /sitecore/AutomationStates.ashx on the CD server for goal registration on e.g. engagement plans and EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to sum up your question you do all the content setup on the CM master database and then publish the content to the CD web database.&lt;/p&gt;&#xA;" OwnerUserId="1558" LastActivityDate="2017-06-22T08:00:46.263" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6289" PostTypeId="2" ParentId="6279" CreationDate="2017-06-22T08:06:10.613" Score="3" Body="&lt;p&gt;I think that official Sitecore documentation is very good starting point to get familiar with xDB and reporting architectures. Once you are familiar with it, you are more than welcome to ask more specific questions for further details.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/architecture_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;xDB architecture overview&lt;/a&gt; describes general concepts, dataflow between CD, collection and processing servers.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/platform/reporting_architecture&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore reporting architecture&lt;/a&gt; illustrates how data processing is done and lists some of Sitecore applications that take advantage of that.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you're looking for setup guides, please see &lt;a href=&quot;https://sitecore.stackexchange.com/a/6288/842&quot;&gt;Morten's answer&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-06-22T08:06:10.613" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6290" PostTypeId="2" ParentId="6275" CreationDate="2017-06-22T08:39:42.793" Score="0" Body="&lt;p&gt;&lt;em&gt;This is rather a workaround than the answer to the original question.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used &lt;a href=&quot;https://sitecore.stackexchange.com/a/6277/272&quot;&gt;Richard Seal's idea&lt;/a&gt; and registered my Web API controllers manually. I removed all the &lt;code&gt;[Route(Name=&quot;...&quot;)]&lt;/code&gt; attributes, implemented &lt;code&gt;Sitecore.Services.Infrastructure.Web.Http.IMapRoutes&lt;/code&gt; interface and registered it instead of the default one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyRouteMapper : IMapRoutes&#xA;{&#xA;    private readonly IMapRoutes _defaultRoutes = new DefaultRouteMapper();&#xA;&#xA;    public void MapRoutes(HttpConfiguration config)&#xA;    {&#xA;        config.Routes.MapHttpRoute(&quot;ValuesA&quot;, &quot;api/valuesA&quot;, new { });&#xA;        config.Routes.MapHttpRoute(&quot;ValuesB&quot;, &quot;api/valuesB&quot;, new { });&#xA;        _defaultRoutes.MapRoutes(config);&#xA;    }&#xA;&#xA;    public void MapRoutes(RouteCollection routes)&#xA;    {&#xA;        _defaultRoutes.MapRoutes(routes);&#xA;    }&#xA;}&#xA;&#xA;&#xA;&amp;lt;settings&amp;gt;&#xA;  &amp;lt;setting name=&quot;Sitecore.Services.RouteMapper&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;MyProj.MyRouteMapper,MyProj&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now all the existing and new controllers work fine but the question with named routes is still open.&lt;/p&gt;&#xA;" OwnerUserId="272" LastEditorUserId="272" LastEditDate="2017-06-23T05:04:51.980" LastActivityDate="2017-06-23T05:04:51.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6292" PostTypeId="1" AcceptedAnswerId="6309" CreationDate="2017-06-22T09:45:48.367" Score="5" ViewCount="1107" Body="&lt;p&gt;In the settings folder created by SXA, I have modified &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The browser title&lt;/li&gt;&#xA;&lt;li&gt;The favicon&lt;/li&gt;&#xA;&lt;li&gt;The Cookie Warning&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But they do not display neither on CM or CD. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I do to make those changes effective and see the modifications ?&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="73" LastEditDate="2017-06-22T09:48:12.903" LastActivityDate="2017-06-28T15:23:28.157" Title="Site Settings not taken into account - Browser Title, Favicon and so on" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6293" PostTypeId="2" ParentId="6274" CreationDate="2017-06-22T10:42:09.170" Score="1" Body="&lt;p&gt;The short answer is this looks like a SQL command timeout.  You can try increasing the command timeout (default is 120) via the appropriate connection behavior using the following configuration.&lt;/p&gt;&#xA;&#xA;   &lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Sitecore&amp;gt;&#xA;   &amp;lt;Publishing&amp;gt;&#xA;      &amp;lt;Services&amp;gt;&#xA;         &amp;lt;DbConnectionBehaviours&amp;gt;&#xA;            &amp;lt;Options&amp;gt;&#xA;               &amp;lt;Entries&amp;gt;            &#xA;                  &amp;lt;sql-backend-default&amp;gt;&#xA;                     &amp;lt;Options&amp;gt;                     &#xA;                        &amp;lt;CommandTimeout&amp;gt;xxxx&amp;lt;/CommandTimeout&amp;gt;&#xA;                     &amp;lt;/Options&amp;gt;&#xA;                  &amp;lt;/sql-backend-default&amp;gt;&#xA;               &amp;lt;/Entries&amp;gt;&#xA;            &amp;lt;/Options&amp;gt;&#xA;         &amp;lt;/DbConnectionBehaviours&amp;gt;&#xA;      &amp;lt;/Services&amp;gt;&#xA;   &amp;lt;/Publishing&amp;gt;&#xA;&amp;lt;/Sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(Note: this increases the timeout for all databases, if you want to just restrict it to the target, you'll need to define a specific DbConnectionBehaviour and set that for the target connection).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The longer answer is that you should move away from using the Fast Query API, and use Content Search, which is more appropriate for querying larger content trees.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll try and justify this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;The Publishing Service is delivered on v8.0+.  The Fast Query API is no longer recommended practice for any Sitecore solutions.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The Publishing Service was developed to improve performance with large solutions.  The Fast Query API (and descendants table) is not appropriate for large solutions; that's a restriction imposed by the physics of trying to maintain descendants data in a relational store.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The Publishing Service is built on the concept of performing bulk updates on the underlying data store.  The way in which descendants data must be modeled in a relational store does not allow for bulk updates - we cannot provide a solution that is in line with the tenants of the Publishing Service even if we wanted to.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="588" LastActivityDate="2017-06-22T10:42:09.170" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6294" PostTypeId="1" CreationDate="2017-06-22T11:22:51.347" Score="2" ViewCount="139" Body="&lt;p&gt;I am using Sitecore 8.1, while i am trying to delete any node in content tree then getting &lt;code&gt;Invalid object name 'diagnostics482413' error&lt;/code&gt;. This error is getting on prod cms server, while the dev and qa is working fine. After some analysis i found below things,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i) Table name as &lt;code&gt;diagnostics482413&lt;/code&gt; is missing in prod master database but it is present in our DEV and QA master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ii) There is one config patch file &lt;code&gt;Sitecore.Support.Diagnostics.482413.config&lt;/code&gt;, this is present on all instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So can any one explain me what exactly the issue is and for which purpose this &lt;code&gt;Sitecore.Support.Diagnostics.482413.config&lt;/code&gt; patch file is used? &lt;/p&gt;&#xA;" OwnerUserId="1422" LastEditorUserId="2727" LastEditDate="2018-02-07T14:11:03.673" LastActivityDate="2018-02-07T14:11:03.673" Title="Getting Invalid object name 'diagnostics482413' error on deletion of any node in content tree" Tags="|site-configuration|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="6295" PostTypeId="2" ParentId="6040" CreationDate="2017-06-22T12:38:14.700" Score="2" Body="&lt;p&gt;The problem got fixed by re-doing a part of the Commerce Authoring Service setup:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Run the &lt;strong&gt;Bootstrap&lt;/strong&gt; on the service, which loads the environments from&#xA;  the data/environments directory in the physical location of the IIS&#xA;  service&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Use a browser and call &lt;a href=&quot;http://localhost:5000/commerceops/Bootstrap()&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:5000/commerceops/Bootstrap()&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this process was done, the website works. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-22T12:38:14.700" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6296" PostTypeId="2" ParentId="6153" CreationDate="2017-06-22T15:07:41.453" Score="3" Body="&lt;p&gt;As Mark Cassidy explained, you can only achieve this via the implementation of a custom validation rule. Please see below the code for the custom validation.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;public class ImageWeightDynamicValidator : StandardValidator&#xA;{&#xA;    public int Weight;&#xA;&#xA;    public override string Name&#xA;    {&#xA;        get&#xA;        {&#xA;            return &quot;ImageWeightDynamicValidator&quot;;&#xA;        }&#xA;    }&#xA;    protected override ValidatorResult Evaluate()&#xA;    {&#xA;        ItemUri = ItemUri;&#xA;        var field = GetField();&#xA;        if (Parameters.ContainsKey(&quot;Weight&quot;))&#xA;        {&#xA;            Weight = MainUtil.GetInt(Parameters[&quot;Weight&quot;], 0);&#xA;        }&#xA;&#xA;        var str = field.Value;&#xA;&#xA;        if (string.IsNullOrEmpty(str))&#xA;        {&#xA;            return ValidatorResult.Valid;&#xA;        }&#xA;&#xA;        if (string.CompareOrdinal(str, &quot;&amp;lt;image /&amp;gt;&quot;).Equals(0))&#xA;        {&#xA;            return ValidatorResult.Valid;&#xA;        }&#xA;&#xA;        var database = Factory.GetDatabase(ItemUri.DatabaseName);&#xA;&#xA;        Assert.IsNotNull(database, ItemUri.DatabaseName);&#xA;        var attribute = new XmlValue(str, &quot;image&quot;).GetAttribute(&quot;mediaid&quot;);&#xA;&#xA;        MediaItem item = database.GetItem(attribute);&#xA;&#xA;        if (string.IsNullOrEmpty(attribute))&#xA;        {&#xA;            item = Context.Database.Items[$&quot;/sitecore/media library/{str}&quot;, LanguageManager.GetLanguage(ItemUri.Language.Name, Context.Database)];&#xA;&#xA;            if (item == null)&#xA;            {&#xA;                return ValidatorResult.Valid;&#xA;            }&#xA;        }&#xA;&#xA;        if (item == null)&#xA;            return ValidatorResult.Valid;&#xA;&#xA;        var size = item.Size;&#xA;&#xA;        var mediaSizeKb = ConvertBytesToKilobytes(size);&#xA;&#xA;        if (mediaSizeKb &amp;gt; Weight)&#xA;        {&#xA;            Text = Translate.Text(&quot;The image referenced in the Image field \&quot;{0}\&quot; is too big. Max size is \&quot;{1}\&quot; kB&quot;, field.DisplayName, Weight.ToString(CultureInfo.InvariantCulture));&#xA;&#xA;            return GetFailedResult(ValidatorResult.FatalError);&#xA;        }&#xA;&#xA;        return ValidatorResult.Valid;&#xA;    }&#xA;&#xA;    private static double ConvertBytesToKilobytes(long bytes)&#xA;    {&#xA;        return (double)bytes / 1024;&#xA;    }&#xA;&#xA;    protected override ValidatorResult GetMaxValidatorResult()&#xA;    {&#xA;        return GetFailedResult(ValidatorResult.Warning);&#xA;    }&#xA;&#xA;    private ValidatorResult GetResult(string text, params string[] arguments)&#xA;    {&#xA;        Text = GetText(text, arguments);&#xA;        return GetFailedResult(ValidatorResult.Error);&#xA;    }&#xA;&#xA;    public override void GetObjectData(SerializationInfo info, StreamingContext context)&#xA;    {&#xA;        if (info == null)&#xA;            throw new ArgumentNullException(nameof(info));&#xA;&#xA;        base.GetObjectData(info, context);&#xA;    }&#xA;&#xA;    protected ImageWeightDynamicValidator(SerializationInfo info, StreamingContext context) : base(info, context)&#xA;    {&#xA;        if (info == null)&#xA;        {&#xA;            throw new ArgumentNullException(nameof(info));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once the code has been set into the solution, you need to create the validation rule item.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to the path &lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Rules/&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a Validation Rule Item (Right-click -&gt; Insert -&gt; Validation Rule).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Fill in the item fields as shown in the screenshot below.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sWHn5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sWHn5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you only need to change the &lt;code&gt;Type&lt;/code&gt; to match your Namespace and Assembly name and also the &lt;code&gt;Weight&lt;/code&gt; in the Parameter fields. Right now it is set to 1. 1 is in &lt;code&gt;KB&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Assign the validation rule to your field in the template. You can read the link provided by &lt;strong&gt;Mark Cassidy&lt;/strong&gt; in his answer or this &lt;a href=&quot;https://briancaos.wordpress.com/2011/05/09/using-sitecore-field-validators/&quot; rel=&quot;nofollow noreferrer&quot;&gt;one&lt;/a&gt;. This will help on how to set the validation on the field.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-06-22T15:07:41.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6297" PostTypeId="1" AcceptedAnswerId="6302" CreationDate="2017-06-22T15:35:48.303" Score="6" ViewCount="536" Body="&lt;p&gt;I have an implementation that uses Sheer UI and I'm creating a combobox on a page which on changes will perform a certain action.&#xA;On the implementation of the Change method should it be registered as a command? &#xA;Or is the method declaration on the MyClass is not correct?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Xml combobox looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;Combobox ID=&quot;Target&quot; Width=&quot;100%&quot; Change=&quot;OnSortChanged&quot;&amp;gt;&#xA;                  &amp;lt;ListItem Value=&quot;Alphabetical&quot; Header=&quot;Alphabetical&quot;/&amp;gt;&#xA;                  &amp;lt;ListItem Value=&quot;Created&quot; Header=&quot;Date Created&quot;/&amp;gt;&#xA;                  &amp;lt;ListItem Value=&quot;Updated&quot; Header=&quot;Date Modified&quot;/&amp;gt;&#xA;                &amp;lt;/Combobox&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code beside has a method declared as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; protected void OnSortChanged(Combobox sender, EventArgs args)&#xA; {                &#xA;     //Do stuff&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I change the dropdown value on the interface I get the exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.Exception Message: Method &quot;OnSortChanged&quot; not found&#xA;  in MyNamespace.Web.XmlControls.MyClass. (method:&#xA;  Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command)). Source:&#xA;  Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command)    at&#xA;  Sitecore.Diagnostics.Error.Raise(String error, String method)    at&#xA;  Sitecore.Shell.Framework.Commands.CommandManager.GetMethodCommand(String&#xA;  command)    at Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String&#xA;  command)    at Sitecore.Web.UI.Sheer.ClientPage.RaiseEvent()    at&#xA;  Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e)    at&#xA;  System.Web.UI.Control.PreRenderRecursiveInternal()    at&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-06-22T17:04:19.937" Title="ComboBox issue with Sheer UI" Tags="|sheer-ui|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6298" PostTypeId="1" AcceptedAnswerId="6299" CreationDate="2017-06-22T16:37:15.510" Score="10" ViewCount="592" Body="&lt;p&gt;Can I (and if so how) setup SC 7 and SC 8 on the same server? I do all my dev work in a VM and I need access to both at various times of the day. It would really make my life easier on my laptop if I could have them as different IIS apps on the same VM. Is it just a matter of changing the host/app/etc settings in SIM when I do the install? Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="173" LastActivityDate="2017-06-22T23:06:01.860" Title="Can v7 and v8 coexist on the same server" Tags="|site-configuration|installation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6299" PostTypeId="2" ParentId="6298" CreationDate="2017-06-22T16:40:52.787" Score="10" Body="&lt;p&gt;You can have multiple versions of Sitecore on a single server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Firstly, just install them into different folders and have them pointed to different Databases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And secondly either have them both sit on their own domains so they can both run simultaenously, or if they need to sit on the same domain, then switch in IIS between the two. I'd recommend having them sit on different domains, this way you don't have to change any configurations when you want to switch between the two. &lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-06-22T16:40:52.787" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6300" PostTypeId="2" ParentId="6232" CreationDate="2017-06-22T16:53:32.760" Score="0" Body="&lt;p&gt;In order to keep this logic in one place I ended up doing the rtf logic in the render field pipeline too. This has a reference to two extension methods that will need to be substituted. They are &lt;code&gt;InheritsFrom&lt;/code&gt; and &lt;code&gt;ParseQueryString&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public abstract class ExpandLinkAttributes&#xA;{&#xA;    internal abstract Dictionary&amp;lt;ID, string&amp;gt; FieldIdToDataAttribute { get; }&#xA;    internal abstract ID TemplateId { get; }&#xA;&#xA;    public void Process(global::Sitecore.Pipelines.RenderField.RenderFieldArgs args)&#xA;    {&#xA;        if (Context.PageMode.IsExperienceEditorEditing)&#xA;            return;&#xA;&#xA;        var field = FieldTypeManager.GetField(args.GetField());&#xA;&#xA;        if (args.FieldTypeKey == &quot;rich text&quot;)&#xA;        {&#xA;            if (!string.IsNullOrEmpty(args.Result.FirstPart))&#xA;            {&#xA;                args.Result.FirstPart = SetRichTextAttributes(args.Result.FirstPart);&#xA;            }&#xA;            if (!string.IsNullOrEmpty(args.Result.LastPart))&#xA;            {&#xA;                args.Result.LastPart = SetRichTextAttributes(args.Result.LastPart);&#xA;            }&#xA;        }&#xA;        else if (field is LinkField)&#xA;        {&#xA;            LinkField linkField = (LinkField)field;&#xA;&#xA;            SetLinkFieldAttribute(linkField, args);&#xA;        }&#xA;    }&#xA;&#xA;    private void SetLinkFieldAttribute(LinkField linkField, global::Sitecore.Pipelines.RenderField.RenderFieldArgs args)&#xA;    {&#xA;        if (!linkField.IsInternal)&#xA;            return;&#xA;&#xA;        var targetItem = linkField.TargetItem;&#xA;&#xA;        if(targetItem?.InheritsFrom(TemplateId) != true)&#xA;            return;&#xA;&#xA;        foreach (var fieldIdToDataAttribute in FieldIdToDataAttribute)&#xA;        {&#xA;            var fieldValue = HttpUtility.HtmlAttributeEncode(FieldRenderer.Render(targetItem, fieldIdToDataAttribute.Key.ToString()));&#xA;            args.Parameters.Add(fieldIdToDataAttribute.Value, fieldValue);&#xA;        }&#xA;&#xA;        args.Parameters.Add(&quot;href&quot;, &quot;javascript:void(0);&quot;);&#xA;    }&#xA;&#xA;    protected string SetRichTextAttributes(string html)&#xA;    {&#xA;        var doc = new HtmlDocument();&#xA;        doc.LoadHtml(html);&#xA;&#xA;        if (doc.DocumentNode == null)&#xA;            return html;&#xA;&#xA;        var links = doc.DocumentNode.SelectNodes(&quot;//a[@href]&quot;);&#xA;&#xA;        if (links == null)&#xA;            return html;&#xA;&#xA;        foreach (var link in links)&#xA;        {&#xA;            var hrefAttribute = link.Attributes[&quot;href&quot;];&#xA;&#xA;            if (string.IsNullOrEmpty(hrefAttribute?.Value))&#xA;                continue;&#xA;&#xA;            var urlParts = hrefAttribute.Value.Split('?');&#xA;&#xA;            if (urlParts.Length != 2)&#xA;                continue;&#xA;&#xA;            var queryString = urlParts[1].ParseQueryString();&#xA;&#xA;            var shortId = queryString[&quot;_id&quot;];&#xA;&#xA;            Item item;&#xA;            if (!TryGetItem(shortId, out item) || !item.InheritsFrom(TemplateId))&#xA;                continue;&#xA;&#xA;            foreach (var fieldIdToDataAttribute in FieldIdToDataAttribute)&#xA;            {&#xA;                var fieldValue = HttpUtility.HtmlAttributeEncode(FieldRenderer.Render(item, fieldIdToDataAttribute.Key.ToString()));&#xA;                link.Attributes.Add(fieldIdToDataAttribute.Value, fieldValue);&#xA;            }&#xA;&#xA;            hrefAttribute.Value = &quot;javascript:void(0);&quot;;&#xA;        }&#xA;&#xA;        return doc.DocumentNode.OuterHtml;&#xA;    }&#xA;&#xA;    private static bool TryGetItem(string itemIdText, out Item item)&#xA;    {&#xA;        if (!string.IsNullOrEmpty(itemIdText))&#xA;        {&#xA;            var itemId = ShortID.DecodeID(itemIdText);&#xA;            if (!itemId.IsNull &amp;amp;&amp;amp; itemId != ID.Null)&#xA;            {&#xA;                if (Context.Database != null)&#xA;                {&#xA;                    item = Context.Database.GetItem(itemId);&#xA;                    return item != null;&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        item = default(Item);&#xA;        return false;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I made a class that inherited from ExpandLinkAttributes and filled in the abstract properties. You can set this up to read from a config if necessary instead. Then add that custom class to a patch config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;renderField&amp;gt;&#xA;        &amp;lt;processor patch:before=&quot;processor[@type='Sitecore.Pipelines.RenderField.ExpandLinks, Sitecore.Kernel']&quot; &#xA;                   type=&quot;My.Namespace.ClassInheritingExpandLinkAttributes, MyDll&quot; /&amp;gt;&#xA;      &amp;lt;/renderField&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-06-22T16:53:32.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6301" PostTypeId="2" ParentId="6297" CreationDate="2017-06-22T16:58:43.150" Score="2" Body="&lt;p&gt;The issue is with the method declaration. You need to change it to the one below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void OnSortChanged()&#xA;{       &#xA;    //Retrieve the selected value&#xA;    var targetValue = this.Target.SelectedItem.Value         &#xA;&#xA;    //Do stuff&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All the different actions do not take any parameters. Even if it is a &lt;code&gt;Click&lt;/code&gt;, &lt;code&gt;DblClick&lt;/code&gt;. They will not take any parameters in the method. The main reason is because you already defined the Type of the ID in the code-beside.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-06-22T17:04:06.993" LastActivityDate="2017-06-22T17:04:06.993" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6302" PostTypeId="2" ParentId="6297" CreationDate="2017-06-22T17:04:19.937" Score="6" Body="&lt;p&gt;You need to remove the parameters from the method declaration. It should be&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void OnSortChange()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should then be able to access the sender by the ID used on the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You many need to define the control in the codebehind if you have not already:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected Sitecore.Web.UI.HtmlControls.Combobox Target&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4" LastActivityDate="2017-06-22T17:04:19.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6303" PostTypeId="2" ParentId="6298" CreationDate="2017-06-22T18:46:01.223" Score="0" Body="&lt;p&gt;I love Sitecore because of its architecture. Everything related to Sitecore is in your instance's directory, so there are no other dependencies/dlls gets copied in windows/system etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;so you can run multiple versions side by side. as mentioned by Jarmo, keep you host entry/domain different, Instance name so the database names.&lt;/p&gt;&#xA;" OwnerUserId="2031" LastActivityDate="2017-06-22T18:46:01.223" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6306" PostTypeId="1" AcceptedAnswerId="6315" CreationDate="2017-06-23T04:17:04.837" Score="4" ViewCount="712" Body="&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am working on this requirement - A visitor on the website will be assigned points for their activities on the website like views, likes, shares etc. Based on those points, they will be awarded levels - level1, level2, etc., which will be shown on page when they are logged in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm working on the xDB features for the first time and have a few questions listed below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The points assigned to a &lt;code&gt;Goal&lt;/code&gt;/&lt;code&gt;Page Event&lt;/code&gt; combine &amp;amp; accumulate as &lt;code&gt;Engagement Value&lt;/code&gt; for a user. Is this correct?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When reading data from MongoDB, can we get the &lt;code&gt;Engagement Value&lt;/code&gt; of logged in user from just one field, or do we need to read each &lt;code&gt;Goal&lt;/code&gt;/&lt;code&gt;Page Event&lt;/code&gt; by ID, and get their values.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There is something called &lt;code&gt;Persona&lt;/code&gt; which has Min. &amp;amp; Max. points. Are these mapped to the &lt;code&gt;Engagement Value&lt;/code&gt;. Say, there is a &lt;code&gt;Persona&lt;/code&gt; called &lt;code&gt;Business man&lt;/code&gt; with Min. points as 0 and Max. points as 10, and if a user's &lt;code&gt;Engagement Value&lt;/code&gt; &gt;=10, will this persona be automatically associated with that user.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If I create personas for each such level by setting the respective points, will the engagement value of the user be auto mapped to the persona. Then I can try to get the persona name and display.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I going the right way. If not, please advise how to proceed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using sc 8.0 u4 with MongoDB 3.4.3&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2017-06-23T14:05:58.053" LastActivityDate="2017-07-03T17:21:14.107" Title="How to get engagement value or persona" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6309" PostTypeId="2" ParentId="6292" CreationDate="2017-06-23T08:45:31.707" Score="4" Body="&lt;p&gt;Now it seems obvious but it took me some time to see this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was not including the &lt;strong&gt;Metadata Partial Design&lt;/strong&gt; into my pages designs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Doing so worked well, excepted that the browser title's prefix was in between &quot;span&quot; tags to I used the following expression to erase all html tags inside title.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also had to html-decode the title to show special characters&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;strong&gt;Views/BrowserTitle.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;title&amp;gt;@System.Text.RegularExpressions.Regex.Replace(WebUtility.HtmlDecode(@Model.Title), &quot;&amp;lt;[^&amp;gt;]*&amp;gt;&quot;, &quot;&quot;)&amp;lt;/title&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="1833" LastEditDate="2017-06-28T15:23:28.157" LastActivityDate="2017-06-28T15:23:28.157" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6310" PostTypeId="1" AcceptedAnswerId="6344" CreationDate="2017-06-23T08:45:40.783" Score="5" ViewCount="1663" Body="&lt;p&gt;I'm using PowerShell toolkit for Azure and ARM Templates for XP1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After running deployment command I get following error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    New-AzureRmResourceGroupDeployment : 10:36:03 - Error: Code=InvalidTemplate; Message=Deployment template validation failed: 'The template resource 'templateLinkBase' at line '28' and column '30' is not valid: The language expression&#xA;    property 'templateLink' doesn't exist, available properties are 'template, parameters, mode, provisioningState'.. Please see https://aka.ms/arm-template-expressions for usage details.'.&#xA;    At D:\Sitecore-Azure-Quickstart-Templates-master\Sitecore 8.2.3\xp0\Sitecore Azure Toolkit 1.1\tools\Sitecore.Cloud.Cmdlets.psm1:112 char:35&#xA;    + ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&#xA;    New-AzureRmResourceGroupDeployment : The deployment validation failed&#xA;    At D:\Sitecore-Azure-Quickstart-Templates-master\Sitecore 8.2.3\xp0\Sitecore Azure Toolkit 1.1\tools\Sitecore.Cloud.Cmdlets.psm1:112 char:35&#xA;    + ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : CloseError: (:) [New-AzureRmResourceGroupDeployment], InvalidOperationException&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I followed steps from docs &lt;a href=&quot;https://doc.sitecore.net/cloud/82/working_with_sitecore_azure/configuring_sitecore_azure/deploy_a_new_sitecore_environment_to_azure_app_service&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/cloud/82/working_with_sitecore_azure/configuring_sitecore_azure/deploy_a_new_sitecore_environment_to_azure_app_service&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2095" LastEditorUserId="73" LastEditDate="2017-06-23T08:50:50.157" LastActivityDate="2017-07-04T08:11:30.323" Title="Start-SitecoreAzureDeployment ends with: property 'templateLink' doesn't exist" Tags="|azure|arm-template|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6311" PostTypeId="1" AcceptedAnswerId="6349" CreationDate="2017-06-23T10:16:34.647" Score="15" ViewCount="2015" Body="&lt;p&gt;I am using Azure search service (Pricing Tier: Standard with 15 Million docs/partition) connected to Sitecore 8.2 instance. It is throwing me an error when I try to build Sitecore core index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;Message: {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;The request is invalid. Details: definition : Invalid index: The index contains 1028 field(s). An index can have at most 1000 fields.\r\n&quot;}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I understand that there is a limitation of 1000 field per index. Info &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/search/search-limits-quotas-capacity&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any work around for this ?&lt;/p&gt;&#xA;" OwnerUserId="1193" LastEditorUserId="1671" LastEditDate="2018-11-20T14:45:38.287" LastActivityDate="2018-11-20T14:45:38.287" Title="Rebuilding Sitecore Core Index on Azure search throwing exceeding index limitation exception" Tags="|azure-search|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="6312" PostTypeId="2" ParentId="6311" CreationDate="2017-06-23T10:31:51.250" Score="6" Body="&lt;p&gt;This is a limitation from Azure Search. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have this issue for a custom index I recommend you to split the index into multiple indexes to have less than 1000 fields per index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have this issue for a Sitecore index I recommend to investigate what fields can be removed from the Sitecore index. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-06-23T10:31:51.250" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6313" PostTypeId="1" AcceptedAnswerId="6326" CreationDate="2017-06-23T11:27:00.800" Score="5" ViewCount="497" Body="&lt;p&gt;In my example, Sitecore PowerShell Extensions (SPE) patches the command in order to provide insert options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reviewing the &lt;em&gt;ShowConfig.aspx&lt;/em&gt; I see the following:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;item:new&quot; type=&quot;Cognifide.PowerShell.Client.Commands.MenuItems.ItemNew, Cognifide.PowerShell&quot; patch:source=&quot;Cognifide.PowerShell.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My concern is that when I patch over the same command name SPE will break.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to support multiple command implementations? Perhaps this would make a great module!&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Based on Mark's feedback I came up with this quick script to determine what might be possible. The script just queries the items that are already in the list. Perhaps I could use this to determine if I should add more items to the list. Also, not sure how I could add my own dividers.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$commandName = &quot;item:new&quot;&#xA;$item = Get-Item -Path &quot;master:&quot; -ID &quot;{A3572733-5062-43E9-A447-54698BC1C637}&quot;&#xA;$commandContext = New-Object -TypeName Sitecore.Shell.Framework.Commands.CommandContext -ArgumentList $item&#xA;&#xA;[Sitecore.Shell.Framework.Commands.CommandManager]::GetCommand($commandName).GetSubMenuItems($commandContext) | &#xA;    Where-Object { $_.GetType().Name -eq 'MenuItem' } | Select-Object -Property header&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5V2O6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5V2O6.png&quot; alt=&quot;Output&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what I think might work.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new insert options with condition and action to render the desired items.&lt;/li&gt;&#xA;&lt;li&gt;Figure out what happens when the user click the insert option.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Update 2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I found a solution by writing a module for it. See the answer below.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-06-24T19:13:56.753" LastActivityDate="2017-06-24T19:13:56.753" Title="How do you extend the item:new command without breaking a previous patch for it?" Tags="|content-editor|commands|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6314" PostTypeId="2" ParentId="6313" CreationDate="2017-06-23T11:37:29.663" Score="4" Body="&lt;p&gt;Not easily, no.&lt;/p&gt;&#xA;&lt;p&gt;Commands are bound to that identifier string (e.g. &lt;code&gt;&amp;quot;item:new&amp;quot;&lt;/code&gt;) and that's how they are identified across the system.&lt;/p&gt;&#xA;&lt;p&gt;You could override (replace) by inheriting the PowerShell command and calling it via &lt;code&gt;base.&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h2&gt;Another option&lt;/h2&gt;&#xA;&lt;p&gt;And perhaps the better one, if you need Insert Options, is to use the Rules Engine.&lt;/p&gt;&#xA;&lt;p&gt;Depending on your specific use case, even out-of-the-box you have the ability to dynamically add Insert Options.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8zGmV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8zGmV.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can then extend this with custom Conditions and Actions as needed.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-06-23T11:37:29.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6315" PostTypeId="2" ParentId="6306" CreationDate="2017-06-23T13:23:30.950" Score="8" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;The points assigned to a Goal/Page Event combine &amp;amp; accumulate as&#xA;  Engagement Value for a user. Is this correct?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Yes, you are correct. You assign engagement value points to score specific contact actions and behaviors, such as achieving a goal or triggering a page event.&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/engagement_value_points&quot; rel=&quot;noreferrer&quot;&gt; [Engagement Value]&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When reading data from MongoDB, can we get the Engagement Value of&#xA;  logged in user from just one field, or do we need to read each&#xA;  Goal/Page Event by ID, and get their values.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can get the Engagement Value for each visitor from the MongoDB Contacts Collections. You need to perform a query to the Contact Collection to retrieve the data from the field &lt;code&gt;value&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sIu6z.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sIu6z.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There is something called Persona which has Min. &amp;amp; Max. points. Are&#xA;  these mapped to the Engagement Value. Say, there is a Persona called&#xA;  Business man with Min. points as 0 and Max. points as 10, and if a&#xA;  user's Engagement Value &gt;=10, will this persona be automatically&#xA;  associated with that user.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Personas are the same as Profile. Based on your example, the Min and Max is used to see in which pattern the visitor is in. Sitecore makes use of the different Interactions of the visitor to know in which pattern the user is. So, for example, if a visitor has visited most pages which was tag with the Profile Card Business man, he will be added to the pattern. The value of Min Max is for Sitecore to be able to perform the &lt;strong&gt;Euclidean distance&lt;/strong&gt; to know which pattern the visitor is matched and does not depend on the Engagement Value.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If I create personas for each such level by setting the respective&#xA;  points, will the engagement value of the user be auto mapped to the&#xA;  persona. Then I can try to get the persona name and display.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sitecore will automatically set the visitor to a Persona based on the interaction. If the visitor is, for example, visiting pages that are tag with &lt;strong&gt;Level 1&lt;/strong&gt;, the user pattern will be Level 1. But this will keep on changing based on the pages being visited.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your case, I think, it will be better to make use of Goals and Outcome to know on which Level the user is. Because the Pattern and Profile Cards will change. A user may be in Level 4 but if he browses pages which were tag with Level 1, Sitecore will change the pattern of the user to Level 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, by making use of Goals and Outcome, you can see if the User trigger a certain goal, you assigned it to a Level.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-06-23T13:58:05.277" LastActivityDate="2017-06-23T13:58:05.277" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6316" PostTypeId="1" AcceptedAnswerId="6318" CreationDate="2017-06-23T15:30:37.420" Score="4" ViewCount="280" Body="&lt;p&gt;I'm working on upgrading a client from 6.2 Update 1 (don't faint!) to 8.2 Update 1 (thank you migration express tool). In their current environment, they have been running their media library external to the database, so when they add a media library item the physical file is written to the App_Data/MediaFiles directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As part of this effort, we want to re-integrate the physical files back into the database (the &quot;default&quot; as it were) so that the publishing/management of the media is more in line with the standard practice. I'm looking for what the best method or tool would be to perform this action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The customer currently has one one CM and one CD environment, but we're trying to future-plan here for possibly more CD environments, and it seems using Sitecore for media management as it works &quot;out of the box&quot; is the best way to do this. One catch could be the files themselves are at least 100 GB when unzipped, which could certainly take some time to process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If someone wants to suggest a file management approach instead, I'd need to know what the suggestion would be for pushing the files to CD on publish, both the file management application or process as well as a suggestion on a pipeline that might accomplish this (instead of just pushing the image on load, I figure it needs to wait for someone to publish to the web database to go to CD).&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-06-23T16:41:59.267" Title="Re-integrating media library files" Tags="|media-library|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6318" PostTypeId="2" ParentId="6316" CreationDate="2017-06-23T16:41:59.267" Score="2" Body="&lt;p&gt;I have had to do this in the past and I had great success with the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Media_Conversion_Tool.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Media Conversion Tool&lt;/a&gt;, available on the &lt;a href=&quot;https://marketplace.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Marketplace&lt;/a&gt;. That was a good number of media items, but was still only around 2.5 GB as the items themselves were mostly lower-res images.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This tool brings up a media library browser and allows you to move media items from the filesystem into blob (database) storage, and vice-versa.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tool hasn't been updated in a while so I'm not sure if it's compatible with Sitecore 8.2, and the earliest version it shows compatability for is 6.4, but the source is available on &lt;a href=&quot;https://github.com/ivansharamok/Sitecore-Media-ConversionTool&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitHub&lt;/a&gt; so you might be able to fix issues if there are any.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Despite this, I think you might be right to look into an alternative option, as 100 GB of media items alone is going to make your databases large. I'll leave this as answer for an approach to move media items from the file-system into the database, but your problem might need a different approach.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-06-23T16:41:59.267" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6319" PostTypeId="2" ParentId="6160" CreationDate="2017-06-23T17:34:23.587" Score="1" Body="&lt;p&gt;You should set deny Write / Create / Delete permissions on the standard values of the component itself. If it's added via a branch template, and you specifically want it restricted only in this situation, you can set the permissions on the component in the branch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Side note: When using the access viewer, I'd recommend checking access for a user, not a role. Users can typically have more than 1 role that could affect access. &lt;/p&gt;&#xA;" OwnerUserId="4" LastActivityDate="2017-06-23T17:34:23.587" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6320" PostTypeId="1" AcceptedAnswerId="6321" CreationDate="2017-06-23T18:08:50.580" Score="1" ViewCount="246" Body="&lt;p&gt;In the process of upgrading a site from 6.2 Update 1 to 8.2 Update 1, it appears the accounts of users are no longer able to log in. The client had a separate &quot;security&quot; database, which looks like a clone of the core database but is tied into the security settings in the config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing one of our developers noticed is that in the original code's web.config (from 6.2), this was the machineKey setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;machineKey validationKey=&quot;EDDCDC4C5983ACDF268E6DD423F9FF6923E97F630E7C7352CCC48FDA3D6F0D200DC3AADB48BD4954587CF3CBF3170F89303F00D6C9AD6D646AD5DE51EDE8E740,IsolateApps&quot; decryptionKey=&quot;EA0CA374099152981504E4E116347F808F33D14293AF2131,IsolateApps&quot; validation=&quot;SHA1&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And in 8.2, this is the setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;machineKey validationKey=&quot;91903C9C49AF0E10E4915871C5D8F40F494395BEECD034E3BBAEF3A64212C3C3F033D8E03DF1DE239EEC1CF5E4B1E50F91800857CB623CE8927D3961017732ED&quot; decryptionKey=&quot;67508682CE1F2321888230909DD8F26D2D8E67C5C42A2C2CBEBB2D4354948DDA&quot; validation=&quot;SHA1&quot; decryption=&quot;AES&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't know if the machineKey changes could have this affect or if it could be something else deeper in the mechanics of Sitecore, given the range of version changes we're talking about. We also used the migration tool to jump from 6.6 to 8.2, so I don't know if that could have anything to do with it. These were the questions my developer was asking:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;It is my understanding that this machine key is used in encryption and decryption so it would need to remain consistent across the upgrade to have the ability to log into old accounts. The key was clearly changed at some point during the upgrade process, possibly when the automatic upgrade tool was used. Is accessing old accounts as simple as switching in the old machineKey for the new one or does this expose us to future security risks? Are there additional configuration or database changes that are needed to access old accounts? The new machineKey specifies a decryption algorithm, is this compatible with the old key which does not?&quot;&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-06-23T18:17:01.447" Title="Security changes from 6.2 to 8.2" Tags="|security|login|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6321" PostTypeId="2" ParentId="6320" CreationDate="2017-06-23T18:09:43.213" Score="2" Body="&lt;h1&gt;In short&lt;/h1&gt;&#xA;&lt;p&gt;Yep. Just switch to previous machine key.&lt;/p&gt;&#xA;&lt;h1&gt;But be aware&lt;/h1&gt;&#xA;&lt;p&gt;That these were updated for a reason. You should look into a migration scenario, moving your user accounts to a more secure form of encryption.&lt;/p&gt;&#xA;&lt;h1&gt;MachineKey and Membership&lt;/h1&gt;&#xA;&lt;p&gt;Essentially, your user passwords are encrypted using the MachineKey configuration settings. This is also why, the MachineKey needs to be the same across multiple servers in your Sitecore setup.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;If you use the membership feature, password hashes are stored in the membership database by default. The membership system also supports encrypted passwords. If you select encrypted password format, then the  settings are used when encrypting and decrypting the data. If you want to store encrypted passwords, use the following configuration in the Web.config file. Notice that passwordFormat is set to &amp;quot;Encrypted&amp;quot;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ff649308.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;How To: Configure MachineKey&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h1&gt;Additional&lt;/h1&gt;&#xA;&lt;p&gt;I highly recommend upgrading from your default security setup, to something more appropriate in this day and age. Kam Figy has an excellent article to get you started.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kamsar.net/index.php/2013/09/upgrading-sitecores-password-security/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Upgrading Sitecore's Password Security with PBKDF2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-06-23T18:17:01.447" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6322" PostTypeId="1" AcceptedAnswerId="6829" CreationDate="2017-06-23T18:24:00.057" Score="6" ViewCount="1311" Body="&lt;p&gt;I want to add the insert web edit button but only when the current rendering has a datasource item of a specific type. I see two ways to do this. I can add an edit frame to the view that shows up if the datasource item is not null. This would mean that there would basically be 2 frames for the rendering though, the normal one that goes around renderings and the one I'm adding manually. The other option is to create a custom insert button. Currently I'm attempting to do this and overriding the QueryState however no matter what the &lt;code&gt;CommandContext&lt;/code&gt; passed in seems to have items. Is this even a good idea? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ultimate goal is that I want to use the insert button but if a content editor removes the datasource then the insert option will target the current page. If I can change the insert button to behave like the button that adds or changes associated content that would be even better. If this is something that can be done out of the box I'd like to know the way to do that.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-07-29T17:01:09.087" LastActivityDate="2017-08-28T17:45:55.117" Title="Insert Web Edit Button" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6323" PostTypeId="1" CreationDate="2017-06-24T14:41:41.190" Score="4" ViewCount="1106" Body="&lt;p&gt;We have a requirement for using Single Sign On. So, basically, we have an application that is developed in Sitecore. Anyone who logins to our network through windows credentials should be able to login directly to this application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know we have AD (Active Directory) module available in Sitecore but I am not able to figure out using Single Sign On through this AD module.&lt;/p&gt;&#xA;" OwnerUserId="2107" LastEditorUserId="605" LastEditDate="2017-06-24T20:55:30.957" LastActivityDate="2017-06-26T17:55:59.073" Title="Sitecore Single Sign On" Tags="|login|active-directory-module|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6324" PostTypeId="1" CreationDate="2017-06-24T15:33:16.787" Score="3" ViewCount="327" Body="&lt;p&gt;We are getting below error in EXM when we were performing quick test during setup.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href='/sitecore/shell/applications/SitecoreApps/Loader.aspx' target='_blank'&amp;gt;Sitecore App Center&amp;lt;/a&amp;gt; password is not set. &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We are using local MTA. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;UseLocalMTA&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2107" LastEditorUserId="2727" LastEditDate="2018-04-02T12:40:03.000" LastActivityDate="2018-08-29T18:00:54.407" Title="EXM Quick Test Error &quot;Sitecore App Center password is not set&quot; for SitecoreApps/Loader.aspx page" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6325" PostTypeId="2" ParentId="6324" CreationDate="2017-06-24T15:50:33.727" Score="0" Body="&lt;p&gt;We also had received this error during one of our setup. The main cause for this issue is that it uses EmailPreview / SpamCheck features which are not available without App Center. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not using App Center, there is a workaround for the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can disable these features, so they won't cause this error to appear. To perform this action, just archive or remove the following items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Modules/SPEAK/EmailCampaign/TaskPages/AdHockTaskPage/Review/EmailPreview&#xA;/sitecore/system/Modules/SPEAK/EmailCampaign/TaskPages/AdHockTaskPage/Review/SpamCheck&#xA;/sitecore/system/Modules/SPEAK/EmailCampaign/TaskPages/PeriodicalTaskPage/Review/EmailPreview&#xA;/sitecore/system/Modules/SPEAK/EmailCampaign/TaskPages/PeriodicalTaskPage/Review/SpamCheck&#xA;/sitecore/system/Modules/SPEAK/EmailCampaign/TaskPages/TrickleTaskPage/Review/EmailPreview&#xA;/sitecore/system/Modules/SPEAK/EmailCampaign/TaskPages/TrickleTaskPage/Review/SpamCheck &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="607" LastEditorUserId="605" LastEditDate="2017-06-25T22:22:03.127" LastActivityDate="2017-06-25T22:22:03.127" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6326" PostTypeId="2" ParentId="6313" CreationDate="2017-06-24T19:12:25.143" Score="2" Body="&lt;p&gt;I finally found a solution, but required some light coding to get working. I've created a module for this solution in case anyone wants to do this without duplicating effort. Check it out &lt;a href=&quot;https://github.com/michaellwest/westco-ss-commandextender&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution involves a few steps.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Override the &lt;code&gt;ItemNew&lt;/code&gt; command with an implementation that will render the submenu for other classes.&lt;/li&gt;&#xA;&lt;li&gt;Patch the command with the list of class names.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here's a single patch to both override the &lt;code&gt;ItemNew&lt;/code&gt; command and add in the list of classes.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;item:new&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Westco.SS.Foundation.CommandExtender.Commands.ItemNew, Westco.SS.Foundation.CommandExtender&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;menucommands hint=&quot;list&quot;&amp;gt;&#xA;          &amp;lt;menucommand type=&quot;Cognifide.PowerShell.Client.Commands.MenuItems.ItemNew, Cognifide.PowerShell&quot; /&amp;gt;&#xA;          &amp;lt;menucommand type=&quot;Sitecore.SharedSource.Shell.Framework.Commands.MenuItems.ItemNew, Sitecore.SharedSource.CodeEditor&quot; /&amp;gt;&#xA;        &amp;lt;/menucommands&amp;gt;&#xA;      &amp;lt;/command&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, SPE is installed and the Code Editor module is still able to render the items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pdXYJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pdXYJ.png&quot; alt=&quot;Sample&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-06-24T19:12:25.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6327" PostTypeId="2" ParentId="6259" CreationDate="2017-06-25T12:35:17.170" Score="3" Body="&lt;p&gt;I have figured out this one.&#xA;I am using SOLR contentSearch provider and SOLR 5.4.1 server. In my search.log file I found an error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1880 14:10:54 ERROR Solr Error : [&quot;org.apache.solr.search.SyntaxError: Cannot parse '((((contact.hasemail_b:(True) AND contact.isregisteredplayer_b:(True)) AND type_t:(contact)) AND (-(((contact.tags_sm:(ContactLists:{7785E04C-9481-454C-A597-9E56D7CE224C}) OR (contact.tags_sm:({7785E04C-9481-454C-A597-9E56D7CE224C}) AND contact.tags_sm:(ContactLists~0.5))) AND (contact.hasemail_b:(True) AND contact.isregisteredplayer_b:(True))) AND type_t:(contact))  *:*)) AND contact.preferredemail_t:[* TO *])': Encountered &quot; &quot;}&quot; &quot;} &quot;&quot; at line 1, column 169.&#xA;Was expecting one of:&#xA;    &quot;TO&quot; ...&#xA;    &amp;lt;RANGE_QUOTED&amp;gt; ...&#xA;    &amp;lt;RANGE_GOOP&amp;gt; ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and this part looked suspicion to me:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;contact.tags_sm:(ContactLists:{7785E04C-9481-454C-A597-9E56D7CE224C})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I go to my SOLR server and try to execute this query - I am getting same error. This is because of &lt;code&gt;{}&lt;/code&gt; symbols. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In SOLR I can see how &lt;code&gt;contact.tags_sm&lt;/code&gt; field looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;contact.tags_sm&quot;: [&#xA;  &quot;ContactLists:{A94AC903-121D-43C9-94C5-04F694FE6C0C}&quot;,&#xA;  &quot;ContactLists:{7785E04C-9481-454C-A597-9E56D7CE224C}&quot;&#xA;],&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So correct query should include string escaping and looking like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;contact.tags_sm:(&quot;ContactLists:{7785E04C-9481-454C-A597-9E56D7CE224C}&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After few investigations I found that this query is being added in &#xA;&lt;code&gt;Sitecore.ListManagement.ContentSearch.ContactListContactQueryProvider&amp;lt;TContactData&amp;gt;&lt;/code&gt; in &lt;code&gt;Sitecore.ListManagement.ContentSearch.dll&lt;/code&gt;&#xA;class and there is a method here which does it: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override IQueryable&amp;lt;TContactData&amp;gt; GetContactQueryable(IProviderSearchContext searchContext)&#xA;{&#xA;    IQueryable&amp;lt;TContactData&amp;gt; source = this.IndexedContactRuleEngine != null &#xA;        ? (IQueryable&amp;lt;TContactData&amp;gt;) this.IndexedContactRuleEngine.GetEntitiesFilteredByRules(this.IndexedContactRuleEngine.DeserializeRuleList(this.RuleListSerialization), searchContext) &#xA;        : searchContext.GetQueryable&amp;lt;TContactData&amp;gt;();&#xA;&#xA;    string tagFormat = string.Format(&quot;{0}:{1}&quot;, (object) &quot;ContactLists&quot;, (object) this.contactListId);&#xA;    return source.Where&amp;lt;TContactData&amp;gt;((Expression&amp;lt;Func&amp;lt;TContactData, bool&amp;gt;&amp;gt;) (x =&amp;gt; x.Tags.Contains&amp;lt;string&amp;gt;(tagFormat) || x.Tags.Contains&amp;lt;string&amp;gt;(this.contactListId) &amp;amp;&amp;amp; x.Tags.Like&amp;lt;string[]&amp;gt;(&quot;ContactLists&quot;)));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Perhaps that will work on &lt;code&gt;Lucene&lt;/code&gt;, but not in &lt;code&gt;SOLR&lt;/code&gt;. So apparently, I need to change that. And here is my overload class for &lt;code&gt;ContactListContactQueryProvider&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Cabana.Xdb.ListManagement&#xA;{&#xA;    using System.Linq;&#xA;    using Sitecore.Analytics.Rules.SegmentBuilder;&#xA;    using Sitecore.ContentSearch;&#xA;    using Sitecore.ContentSearch.Analytics.Models;&#xA;    using Sitecore.ContentSearch.Linq;&#xA;    using Sitecore.ListManagement.ContentSearch;&#xA;    using Sitecore.ListManagement.ContentSearch.Model;&#xA;&#xA;    public class ContactListContactQueryProvider&amp;lt;TContactData&amp;gt;: Sitecore.ListManagement.ContentSearch.ContactListContactQueryProvider&amp;lt;TContactData&amp;gt;&#xA;        where TContactData : ContactData&#xA;    {&#xA;        public ContactListContactQueryProvider(&#xA;                ISearchIndex index, &#xA;                string contactListId, &#xA;                IRuleEngine&amp;lt;IndexedContact, VisitorRuleContext&amp;lt;IndexedContact&amp;gt;&amp;gt; indexedContactRuleEngine, &#xA;                string ruleListSerialization) &#xA;            : base(index, contactListId, indexedContactRuleEngine, ruleListSerialization)&#xA;        {&#xA;        }&#xA;&#xA;        public ContactListContactQueryProvider(&#xA;                ISearchIndex index, &#xA;                string contactListId) &#xA;            : base(index, contactListId)&#xA;        {&#xA;        }&#xA;&#xA;        protected override IQueryable&amp;lt;TContactData&amp;gt; GetContactQueryable(IProviderSearchContext searchContext)&#xA;        {&#xA;            var source = this.IndexedContactRuleEngine != null &#xA;                ? (IQueryable&amp;lt;TContactData&amp;gt;)this.IndexedContactRuleEngine.GetEntitiesFilteredByRules(&#xA;                    this.IndexedContactRuleEngine.DeserializeRuleList(this.RuleListSerialization), searchContext) &#xA;                : searchContext.GetQueryable&amp;lt;TContactData&amp;gt;();&#xA;&#xA;            var tagFormat = $&quot;\&quot;ContactLists:{this.ContactListId}\&quot;&quot;;&#xA;            return source.Where(x =&amp;gt; x.Tags.Contains(tagFormat) || x.Tags.Contains($&quot;\&quot;{this.ContactListId}\&quot;&quot;) &amp;amp;&amp;amp; x.Tags.Like(&quot;\&quot;ContactLists\&quot;&quot;));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Ok, now I need to patch something in configs to make it work. I figured out that there are 2 pipelines for retrieving contacts from lists:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;listManagement.getSegmentedListContacts&amp;gt;&#xA;&#xA;&amp;lt;listManagement.getAssociatedContacts&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, the &lt;code&gt;SegmentedListContactQueryProvider&lt;/code&gt; class depends on &lt;code&gt;ContactListContactQueryProvider&lt;/code&gt; one (direct hardcoded usage).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So there are 3 more classes to implement:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Cabana.Xdb.ListManagement&#xA;{&#xA;    using System.Linq;&#xA;    using Sitecore.Analytics.Rules.SegmentBuilder;&#xA;    using Sitecore.ContentSearch;&#xA;    using Sitecore.ContentSearch.Analytics.Models;&#xA;    using Sitecore.ListManagement.ContentSearch;&#xA;    using Sitecore.ListManagement.ContentSearch.Model;&#xA;&#xA;    public class SegmentedListContactQueryProvider&amp;lt;TContactData&amp;gt; : Sitecore.ListManagement.ContentSearch.SegmentedListContactQueryProvider&amp;lt;TContactData&amp;gt; &#xA;        where TContactData : ContactData&#xA;    {&#xA;        public SegmentedListContactQueryProvider(&#xA;                ISearchIndex index, &#xA;                IRuleEngine&amp;lt;IndexedContact, VisitorRuleContext&amp;lt;IndexedContact&amp;gt;&amp;gt; ruleEngine, &#xA;                string ruleListSerialization, &#xA;                ListSource listSource) &#xA;            : base(index, ruleEngine, ruleListSerialization, listSource)&#xA;        {&#xA;        }&#xA;&#xA;        protected override IQueryable&amp;lt;TContactData&amp;gt; GetContactQueryable(IProviderSearchContext searchContext)&#xA;        {&#xA;            var queryable = Enumerable.Empty&amp;lt;TContactData&amp;gt;().AsQueryable();&#xA;            if (!this.ListSource.AllDatabase &amp;amp;&amp;amp; this.ListSource.IncludedLists.Count &amp;lt;= 0)&#xA;            {&#xA;                return queryable;&#xA;            }&#xA;&#xA;            var ruleList = this.RuleEngine.DeserializeRuleList(this.RuleListSerialization);&#xA;&#xA;            if (ruleList.Count == 0 || ruleList.Rules.All(r =&amp;gt; r.Condition == null))&#xA;            {&#xA;                return queryable;&#xA;            }&#xA;&#xA;            return this.ListSource.ExcludedLists.Aggregate(!this.ListSource.AllDatabase&#xA;                ? this.ListSource.IncludedLists.Skip(1).Aggregate(this.GetContactListContacts(this.ListSource.IncludedLists.First()), (current, includedList) =&amp;gt; current.Union(this.GetContactListContacts(includedList)))&#xA;                : (IQueryable&amp;lt;TContactData&amp;gt;)this.RuleEngine.GetEntitiesFilteredByRules(ruleList, searchContext), (current, excludedList) =&amp;gt; current.Except(this.GetContactListContacts(excludedList)))/*.Where(c =&amp;gt; !string.IsNullOrEmpty(c.PreferredEmail))*/;&#xA;&#xA;        }&#xA;        private IQueryable&amp;lt;TContactData&amp;gt; GetContactListContacts(string listId)&#xA;        {&#xA;            return new QueryableProxy&amp;lt;TContactData&amp;gt;(new Cabana.Xdb.ListManagement.ContactListContactQueryProvider&amp;lt;TContactData&amp;gt;(this.Index, listId, this.RuleEngine, this.RuleListSerialization));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Pipeline processors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Cabana.Xdb.ListManagement.Pipelines&#xA;{&#xA;    using Sitecore.ContentSearch;&#xA;    using Sitecore.Diagnostics;&#xA;    using Sitecore.ListManagement.Configuration;&#xA;    using Sitecore.ListManagement.ContentSearch;&#xA;    using Sitecore.ListManagement.ContentSearch.Model;&#xA;    using Sitecore.ListManagement.ContentSearch.Pipelines;&#xA;&#xA;    public class GetContactAssociations&#xA;    {&#xA;        private readonly ISearchIndex index;&#xA;&#xA;        public GetContactAssociations()&#xA;        {&#xA;            this.index = ContentSearchManager.GetIndex(ListManagementSettings.ContactsIndexName);&#xA;        }&#xA;&#xA;        public virtual void Process(GetAssociatedContactsArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, nameof(args));&#xA;            args.Contacts = new QueryableProxy&amp;lt;ContactData&amp;gt;(new ListManagement.ContactListContactQueryProvider&amp;lt;ContactData&amp;gt;(this.index, args.ContactList.Id));&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;namespace Cabana.Xdb.ListManagement.Pipelines&#xA;{&#xA;    using System.Linq;&#xA;    using Sitecore.Analytics.Rules.SegmentBuilder;&#xA;    using Sitecore.ContentSearch;&#xA;    using Sitecore.ContentSearch.Analytics.Models;&#xA;    using Sitecore.Diagnostics;&#xA;    using Sitecore.ListManagement.Configuration;&#xA;    using Sitecore.ListManagement.ContentSearch;&#xA;    using Sitecore.ListManagement.ContentSearch.Model;&#xA;    using Sitecore.ListManagement.ContentSearch.Pipelines;&#xA;&#xA;    public class GetSegmentedListContacts&#xA;    {&#xA;        private readonly ISearchIndex index;&#xA;        private readonly IRuleEngine&amp;lt;IndexedContact, VisitorRuleContext&amp;lt;IndexedContact&amp;gt;&amp;gt; ruleEngine;&#xA;&#xA;        public GetSegmentedListContacts(IRuleEngine&amp;lt;IndexedContact, VisitorRuleContext&amp;lt;IndexedContact&amp;gt;&amp;gt; ruleEngine)&#xA;        {&#xA;            Assert.ArgumentNotNull(ruleEngine, nameof(ruleEngine));&#xA;            this.index = ContentSearchManager.GetIndex(ListManagementSettings.ContactsIndexName);&#xA;            this.ruleEngine = ruleEngine;&#xA;        }&#xA;&#xA;        public virtual void Process(GetAssociatedContactsArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, nameof(args));&#xA;            var contactList = args.ContactList as SegmentedList;&#xA;&#xA;            args.Contacts = !string.IsNullOrEmpty(contactList?.Query) &#xA;                ? new QueryableProxy&amp;lt;ContactData&amp;gt;(new Cabana.Xdb.ListManagement.SegmentedListContactQueryProvider&amp;lt;ContactData&amp;gt;(this.index, this.ruleEngine, contactList.Query, contactList.Source)) &#xA;                : Enumerable.Empty&amp;lt;ContactData&amp;gt;().AsQueryable();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and finally patch for configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;listManagement.getSegmentedListContacts&amp;gt;&#xA;                &amp;lt;processor&#xA;                    type=&quot;Cabana.Xdb.ListManagement.Pipelines.GetSegmentedListContacts, Cabana.Xdb&quot;&#xA;                    patch:instead=&quot;*[@type='Sitecore.ListManagement.ContentSearch.Pipelines.GetAssociatedContacts.GetSegmentedListContacts, Sitecore.ListManagement.ContentSearch']&quot;&amp;gt;&#xA;                    &amp;lt;param ref=&quot;ruleEngine&quot;/&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/listManagement.getSegmentedListContacts&amp;gt;&#xA;            &amp;lt;listManagement.getAssociatedContacts&amp;gt;&#xA;                &amp;lt;processor&#xA;                    type=&quot;Cabana.Xdb.ListManagement.Pipelines.GetContactAssociations, Cabana.Xdb&quot;&#xA;                    patch:instead=&quot;*[@type='Sitecore.ListManagement.ContentSearch.Pipelines.GetAssociatedContacts.GetContactAssociations, Sitecore.ListManagement.ContentSearch']&quot;&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/listManagement.getAssociatedContacts&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sounds like a Sitecore bug so probably will contact support.&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2017-06-25T12:35:17.170" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6328" PostTypeId="2" ParentId="1245" CreationDate="2017-06-26T01:51:04.813" Score="2" Body="&lt;p&gt;Please Also note that we can get this kind of error if we mistakenly enable solr cloud config. If we are not using Solr Cloud, then solr cloud configuration should be disabled. (By default it's in disabled mode)&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-06-26T01:51:04.813" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6330" PostTypeId="1" CreationDate="2017-06-26T10:06:34.603" Score="5" ViewCount="177" Body="&lt;p&gt;I created a new screen in sitecore and added a button. On clicking of this button I am calling a method. Everything works fine except following piece of code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (sitecoreItem.Visualization.Layout != null) &#xA;    {&#xA;    // code&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;sitecoreItem.Visualization.Layout is throwing &#xA;StackTrace: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;   at System.Web.UI.Page.get_Request()\r\n   at&#xA;  Sitecore.UIUtil.IsWebkit()\r\n   at&#xA;  Sitecore.UIUtil.SupportsInlineEditing()\r\n   at&#xA;  Sitecore.Sites.SiteContext.SetDisableWebEditEditing(String value)\r\n &#xA;  at Sitecore.Sites.SiteContext..ctor(SiteInfo siteInfo, Boolean&#xA;  processQueryString)\r\n   at&#xA;  Sitecore.Sites.DefaultSiteContextFactory.GetSiteContext(String&#xA;  name)\r\n   at&#xA;  Sitecore.Links.LinkProvider.PreviewLinkBuilder.ResolveTargetSite(Item&#xA;  item)\r\n   at Sitecore.Links.LinkProvider.GetPreviewSiteContext(Item&#xA;  item)\r\n   at&#xA;  Sitecore.Data.Items.ItemVisualization.ResolveContextDevice()\r\n   at&#xA;  Sitecore.Data.Items.ItemVisualization.get_Layout()&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But when I call the same method from a Sitecore Agent it is working fine. Is there any configuration settings I am missing here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Updated:&#xA;It is an anchor link&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;#&quot; class=&quot;btn btn-success js-import&#xA;                                        &amp;lt;%# ((TargetLanguage)Container.DataItem).LanguageTranslatedStatus.ToLower() == &quot;delivered&quot; || ((TargetLanguage)Container.DataItem).LanguageTranslatedStatus.ToLower() == &quot;approved&quot; || ((TargetLanguage)Container.DataItem).LanguageTranslatedStatus.ToLower() == &quot;in_review&quot; ?  &quot;&quot; : &quot;disabled&quot; %&amp;gt;&quot;&#xA;                                        data-projectid=&quot;&amp;lt;%= Project.ProjectId %&amp;gt;&quot; data-lang=&quot;&amp;lt;%# Eval(&quot;LanguageCode&quot;) %&amp;gt;&quot;&amp;gt;Import&#xA;                                                &amp;lt;span class=&quot;glyphicon glyphicon-cloud-upload&quot;&amp;gt;&amp;lt;/span&amp;gt;&#xA;                                    &amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;call to the method&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[WebMethod]&#xA;        [ScriptMethod(ResponseFormat = ResponseFormat.Json)]&#xA;        public static object ImportLanguage(string projectId, string lang)&#xA;        {&#xA;            try&#xA;            {&#xA;                var sitecoreService = new SitecoreService();&#xA;                return sitecoreService.ImportLanguage(projectId, lang);&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;&#xA;                throw;&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Full Stack:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Failed to import language {&quot;Message&quot;:&quot;Request is not available in this context&quot;,&quot;StackTrace&quot;:&quot; at System.Web.UI.Page.get_Request()\r\n at Sitecore.UIUtil.IsWebkit()\r\n at Sitecore.UIUtil.SupportsInlineEditing()\r\n at Sitecore.Sites.SiteContext.SetDisableWebEditEditing(String value)\r\n at Sitecore.Sites.SiteContext..ctor(SiteInfo siteInfo, Boolean processQueryString)\r\n at Sitecore.Sites.DefaultSiteContextFactory.GetSiteContext(String name)\r\n at Sitecore.Links.LinkProvider.PreviewLinkBuilder.ResolveTargetSite(Item item)\r\n at Sitecore.Links.LinkProvider.GetPreviewSiteContext(Item item)\r\n at Sitecore.Data.Items.ItemVisualization.ResolveContextDevice()\r\n at Sitecore.Data.Items.ItemVisualization.get_Layout()\r\n at xxxxx.xxxx.xxx.xxx.xxxx.xxxxx(String itemGuid, String lang) in E:\\MyFolder\\xxxx.xxx.xxx\\xxx\\SitecoreService.cs:line 643\r\n at xxxxx.xxxx.xxxx.xxxx.SitecoreService.ImportLanguage(String projectId, String lang) in E:\\MyFolder\\xxxx.xxx.xxx\\xxx\\SitecoreService.cs:line 785\r\n at xxxxx.xxx.xxx.xxx.xxxx.ImportLanguage(String projectId, String lang) in E:\\MyFolder\\xxxx.xxx.xxx\\xxxxx\\ProjectDetails.aspx.cs:line 83&quot;,&quot;ExceptionType&quot;:&quot;System.Web.HttpException&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="955" LastEditorUserId="955" LastEditDate="2017-06-26T11:02:27.683" LastActivityDate="2017-06-26T11:11:29.613" Title="SitecoreItem.Visualization.Layout throws exception" Tags="|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6331" PostTypeId="2" ParentId="6330" CreationDate="2017-06-26T11:11:29.613" Score="1" Body="&lt;p&gt;In short, your &lt;code&gt;[WebMethod]&lt;/code&gt; doesn't run in the context of a Sitecore Site. The reason it works when run from an Agent is; it runs in the context of the &lt;code&gt;&quot;scheduler&quot;&lt;/code&gt; site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can force a site context, with this change:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SiteContextSwitcher(&quot;website&quot;) {&#xA;    var sitecoreService = new SitecoreService();&#xA;    return sitecoreService.ImportLanguage(projectId, lang);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it isn't the best or most flexible approach. Likely someone can outline a better example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further reading: &lt;a href=&quot;https://ctor.io/correctly-switching-sitecore-contextes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Correctly switching Sitecore contextes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-06-26T11:11:29.613" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6332" PostTypeId="1" CreationDate="2017-06-26T11:17:52.597" Score="1" ViewCount="43" Body="&lt;p&gt;We have the requirement like, pull the all dropout users information and send email to our client.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that WFFM captures form dropout data, but how to get this data pro-grammatically,I check with mongoDB &lt;strong&gt;&quot;FormData&quot;&lt;/strong&gt; Collection, but am not able get the exact drop out data, please suggest if any API's are available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I refereed below article , didn't get the solution- &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/820/wffm-analytics-is-it-possible-to-report-on-dropouts-by-field&quot;&gt;WFFM Analytics - is it possible to report on dropouts by field?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;actually we need to run the scheduler and prepare the excel sheet with all the drop out users data and send an email  on daily basis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; we are using Sitecore 8.2 update 3 and Mongo Db 3.4 version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks all in advance.&lt;/p&gt;&#xA;" OwnerUserId="1947" LastEditorUserId="1947" LastEditDate="2017-06-26T11:27:29.267" LastActivityDate="2017-06-26T11:27:29.267" Title="Sitecore WFFM- get all dropouts data programmatically" Tags="|mongodb|sitecore-query|" AnswerCount="0" CommentCount="5" ClosedDate="2017-06-26T11:20:27.770" ContentLicense="CC BY-SA 3.0" />
  <row Id="6333" PostTypeId="2" ParentId="1975" CreationDate="2017-06-26T12:33:30.630" Score="0" Body="&lt;p&gt;I found a similar issue. If the Sitecore component has 'position : fixed' style, in that case, if the component is added on the top of the page, it disappears from the Experience Editor. Here is a good article about this issue &lt;a href=&quot;https://blog.richardszalay.com/2017/03/24/sitecore-experience-ribbon-header/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Positioning a fixed header below the Sitecore Experience Editor ribbon&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2113" LastEditorUserId="2113" LastEditDate="2017-06-27T20:16:43.947" LastActivityDate="2017-06-27T20:16:43.947" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6334" PostTypeId="2" ParentId="5258" CreationDate="2017-06-26T14:49:35.247" Score="1" Body="&lt;p&gt;I recently ran into this as well (7.2) and since I didn't want to mess with the XML, I first went into all of the controls to verify they had a placeholder set, and if they did not, put in and then erased a space.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After pressing OK and saving the item I was able to go back into Presentation Details and Edit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a second item that this was happening I went into the control I thought was causing the issue (it has a default placeholder and the datasource points to an item now set to never publish) then pressed OK with no changes. I was then able to click Edit without touching any of the other controls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Interestingly enough, the final XML from this item had only one &lt;code&gt;ph&lt;/code&gt; set, with the others missing the parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a number of controls on the page adding &lt;code&gt;ph=&quot;&quot;&lt;/code&gt; might be faster, otherwise updating/viewing one of the controls might get Sitecore to update the Renderings XML.&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2017-06-26T14:49:35.247" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6335" PostTypeId="1" AcceptedAnswerId="6336" CreationDate="2017-06-26T14:59:59.920" Score="8" ViewCount="1112" Body="&lt;p&gt;In an installation of Sitecore 7.2 with WFFM 2.4 rev 151103, I am trying to create a new save action that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Send an email with an attachment&lt;/li&gt;&#xA;&lt;li&gt;Uses field conditions so that it is only executed when specific fields are for an example checked.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Looking at what is built-in from start, we have &quot;Send Email&quot; save action that... sends an email, and we have &quot;Send SMS&quot; that allows field conditions to determine whether it is executed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So basically I've set out to inherit (or duplicate) the functionality from Send Email, and make my additions with file attachments etc. The problem I have is that I can't understand how to wire up my new Save Action Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reading the documentation for this: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/save_actions/create_an_action_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/save_actions/create_an_action_editor&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The third step just says &quot;...specify the editor that you have created.&quot; but doesn't at all explain how that is done. Send Email Message have &lt;code&gt;control:SendMail.Editor&lt;/code&gt; and I cannot understand how that is wired. &lt;/p&gt;&#xA;" OwnerUserId="2114" LastEditorUserId="5096" LastEditDate="2019-12-05T03:21:33.970" LastActivityDate="2019-12-05T03:21:33.970" Title="Configuring Custom Save Action Editor WFFM" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6336" PostTypeId="2" ParentId="6335" CreationDate="2017-06-26T15:20:25.487" Score="3" Body="&lt;p&gt;You need to specify the a reference to Sheer UI control in the editor field of the action. Remember, in order to refer to a control in Sheer UI we reference the name of the child element of the root control element inside the XML layout file.&#xA;Please see below blog its not based on latest sitecore version but it will be helpful for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://adeneys.wordpress.com/2012/06/29/custom-wfm-action-settings-ui/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://adeneys.wordpress.com/2012/06/29/custom-wfm-action-settings-ui/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Mahendra&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2017-06-26T15:20:25.487" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6337" PostTypeId="1" AcceptedAnswerId="6338" CreationDate="2017-06-26T17:29:03.077" Score="1" ViewCount="364" Body="&lt;p&gt;In Sitecore 7.2 I was setting the content editor context language in code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DefaultLanguageContentEditorForm : Sitecore.Shell.Applications.ContentManager.ContentEditorForm&#xA;{&#xA;    protected override void OnLoad(EventArgs e)&#xA;    {&#xA;        ContentEditorDataContext.Language = Sitecore.Data.Managers.LanguageManager.DefaultLanguage;&#xA;        base.OnLoad(e);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In 8.2, stuff has moved. Where is &lt;code&gt;Sitecore.Shell.Applications.ContentManager.ContentEditorForm&lt;/code&gt;? Can I even access it this way anymore?&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="423" LastEditDate="2017-08-07T20:02:36.440" LastActivityDate="2017-08-07T20:02:36.440" Title="Where is the Content Manager in 8.2" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6338" PostTypeId="2" ParentId="6337" CreationDate="2017-06-26T17:42:18.760" Score="4" Body="&lt;p&gt;The &lt;code&gt;ContentEditorForm&lt;/code&gt; is still located in &lt;code&gt;Sitecore.Shell.Applications.ContentManager&lt;/code&gt; in the latest version of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you have referenced the &lt;code&gt;Sitecore.Client&lt;/code&gt; assembly correctly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yxj1L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yxj1L.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-06-26T17:42:18.760" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6339" PostTypeId="2" ParentId="6323" CreationDate="2017-06-26T17:55:59.073" Score="2" Body="&lt;p&gt;There are multiple ways of approaching Single Sign On, entirely dependent on how you plan on managing it. Given you have AD, using the AD module and consulting the documentation there for setting up the SSO for the authoring interface is probably the easiest way. As @Diego mentioned, you should consult the doc here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Active_Directory/1_0/Active_Directory_1_2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Active_Directory/1_0/Active_Directory_1_2.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use centralized single-sign on systems which give out claims tokens, or use something like Shibboleth, which you use to intercept requests to your application. This is helpful when you have multiple applications that require login with different authentication needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of using Shibboleth is available here:&#xA;&lt;a href=&quot;https://github.com/jst-cyr/SitecoreShibbolethLogin&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/jst-cyr/SitecoreShibbolethLogin&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-06-26T17:55:59.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6340" PostTypeId="1" AcceptedAnswerId="6341" CreationDate="2017-06-26T19:16:08.553" Score="2" ViewCount="1366" Body="&lt;p&gt;I want to see three different tabs. For example, if we are on the &lt;code&gt;Sports&lt;/code&gt; page, we would like it to have the following tabs in the body section of the page:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Cricket&lt;/li&gt;&#xA;&lt;li&gt;Football&lt;/li&gt;&#xA;&lt;li&gt;Tennis&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So if someone clicks on Cricket tab there will be some cricket related article. And we want the same for each of the other tabs on this page also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how can we achieve this with a controller rendering with Sitecore MVC?&lt;/p&gt;&#xA;" OwnerUserId="2117" LastEditorUserId="73" LastEditDate="2018-06-03T08:15:25.787" LastActivityDate="2018-06-03T08:15:25.787" Title="How to show three different Tabs rendering by using Sitecore in ASP.NET MVC" Tags="|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6341" PostTypeId="2" ParentId="6340" CreationDate="2017-06-26T19:28:43.557" Score="1" Body="&lt;p&gt;You should be able to achieve this with Sitecore and Placeholders.  This doesn't really rely on the use of Sitecore MVC or using a Controller Rendering.  You would want to create 2 renderings (either controller or a view rendering would also work here):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Tab Container&lt;/li&gt;&#xA;&lt;li&gt;Tab Item&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Tab Container&lt;/code&gt; rendering would have a placeholder such as &lt;code&gt;Tab.Container&lt;/code&gt; that you would add Tab Items to it, for any number of tab items you want for that page.  The code would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;&amp;lt;div&amp;gt;&#xA;    @Html.Sitecore().Placeholder(&quot;Tab.Container&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you would define another rendering.  It would be called &lt;code&gt;Tab Item&lt;/code&gt;.  It would have a data source Template which would contain the following fields:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Title (Single-Line Text)&lt;/li&gt;&#xA;&lt;li&gt;Placeholder Key (optional) (Single-Line Text)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The code for this rendering would look like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;&amp;lt;div class=&quot;tab&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;header&quot;&amp;gt;@Html.Sitecore().Field(&quot;Title&quot;)&amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;content&quot;&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;Tab&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would define items that will represent the data source for your &lt;code&gt;Tab Item&lt;/code&gt; rendering.  In the case of your sports page, you would define 3 items:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Cricket&lt;/li&gt;&#xA;&lt;li&gt;Football&lt;/li&gt;&#xA;&lt;li&gt;Tennis&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Next you would need to configure the Presentation details for the &lt;code&gt;Sports&lt;/code&gt; page.  You would add the initial &lt;code&gt;Tab Container&lt;/code&gt; to the presentation details by assigning it to the placeholder used in your layout.  Then you would assign 3 renderings for the tab item rendering.  Their placeholder key would be set to &lt;code&gt;Tab.Container&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly when you want to assign renderings to a specific tab item, you would do so via the placeholder key.  So example, if you wanted to assign a &lt;code&gt;Article Rendering&lt;/code&gt; to the first tab, you can add it to the presentation details and set the placeholder key to &lt;code&gt;Tab&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now there's one caveat to what I mentioned above.  If you don't have Dynamic Placeholders defined, you will run into an issue, because it won't know which &lt;code&gt;Tab&lt;/code&gt; (since in our example there would be 3 &lt;code&gt;Tab&lt;/code&gt; placeholder keys defined) to assign the &lt;code&gt;Article Rendering&lt;/code&gt; to.  You could get around that by either setting the placeholder key in the view with something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;@{&#xA;    Rendering currentRendering = RenderingContext.Current.Rendering;&#xA;}&#xA;&#xA;&amp;lt;div class=&quot;tab&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;header&quot;&amp;gt;@Html.Sitecore().Field(&quot;Title&quot;)&amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;content&quot;&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;Tab-@(currentRendering.UniqueId)&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I would highly recommend using a Dynamic Placeholder control on your site. I have one on the Sitecore Market place: &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/T/True_Dynamic_Placeholders.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/T/True_Dynamic_Placeholders.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Going this approach, is the best approach, because you don't lose any of the benefits such as personalization or A/B testing, or the flexibility to use any type of rendering in your tabs in any order.  Also this approach will work well with the experience editor.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2017-06-26T23:28:54.737" LastActivityDate="2017-06-26T23:28:54.737" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6342" PostTypeId="5" CreationDate="2017-06-26T20:22:48.090" Score="0" Body="&lt;p&gt;Sitecore IP Geolocation is a service that provides information about the location and owner of an IP address. It is a dynamic tool that you can use to create conditional renderings or personalization rules that show different content based on a visitor's location. This creates a bespoke user experience. It is also an invaluable research and campaign tool for marketers.&lt;/p&gt;&#xA;&lt;p&gt;With the Sitecore IP Geolocation services, visitors to your website benefit from a more enhanced, personalized experience with the many tools and activities that marketers can also benefit from.&lt;/p&gt;&#xA;&lt;p&gt;With IP Geolocation you can set up personalization for different geographical regions and view reports pertinent to those locations. For visitors to your website, you can identify their: Time zone, Longitude and latitude, Country, Region etc.&lt;/p&gt;&#xA;&lt;p&gt;Refer to this doc for more information: &lt;a href=&quot;https://doc.sitecore.com/xp/en/developers/102/sitecore-experience-manager/ip-geolocation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/xp/en/developers/102/sitecore-experience-manager/ip-geolocation.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2022-11-01T10:17:34.707" LastActivityDate="2022-11-01T10:17:34.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6343" PostTypeId="4" CreationDate="2017-06-26T20:22:48.090" Score="0" Body="For questions related to Sitecore IP Geolocation, Location Data, Location Reporting and Location Personalization." OwnerUserId="1342" LastEditorUserId="237" LastEditDate="2017-06-27T07:20:23.800" LastActivityDate="2017-06-27T07:20:23.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6344" PostTypeId="2" ParentId="6310" CreationDate="2017-06-26T21:55:00.633" Score="1" Body="&lt;p&gt;try this post.&#xA;&lt;a href=&quot;http://sitecore.stockpick.nl/english/sitecore-azure-arm/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.stockpick.nl/english/sitecore-azure-arm/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you supply a ArmTemplatePath like c:\Sitecore-Azure-Quickstart-Templates\master\Sitecore 8.2.3\xm\azuredeploy.json to the ArmTemplateUrl parameter instead of a Url you get this error.&lt;/p&gt;&#xA;" OwnerUserId="2118" LastActivityDate="2017-06-26T21:55:00.633" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6345" PostTypeId="5" CreationDate="2017-06-26T21:56:24.853" Score="0" Body="&lt;p&gt;Anything related to Azure Search: querying, configuring, maintaining, ... &#xA;Azure (PaaS) replacement for Solr and Lucene.&#xA;Questions related to Solr or Lucene should be tackled with corresponding tags - &lt;a href=&quot;/questions/tagged/solr&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;solr&amp;#39;&quot; rel=&quot;tag&quot;&gt;solr&lt;/a&gt; or &lt;a href=&quot;/questions/tagged/lucene&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;lucene&amp;#39;&quot; rel=&quot;tag&quot;&gt;lucene&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-23T12:58:19.003" LastActivityDate="2018-03-23T12:58:19.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6346" PostTypeId="4" CreationDate="2017-06-26T21:56:24.853" Score="0" Body="Anything related to Azure Search: querying, configuring, maintaining, ... &#xD;&#xA;Azure (PaaS) replacement for Solr and Lucene." OwnerUserId="1342" LastEditorUserId="2056" LastEditDate="2018-03-23T12:58:24.303" LastActivityDate="2018-03-23T12:58:24.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6349" PostTypeId="2" ParentId="6311" CreationDate="2017-06-27T06:19:30.893" Score="16" Body="&lt;p&gt;Azure Search has an upper limit of 1000 fields per index, even for the top tier. In the default Sitecore indexes, all template fields are added as a field in the index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a clean Sitecore installation with WFFM and EXM, there at just below 1000 fields in the core database, and just below 400 fields in the master and web index by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that almost any addition to the core database will have you hit the limit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has provided a &lt;a href=&quot;https://sitecore.app.box.com/s/r2gm5an55ldvyi6olsr0kabgvf5gnfgs&quot; rel=&quot;noreferrer&quot;&gt;patch&lt;/a&gt; to &quot;fix&quot; this issue for the core database. It is a config patch, excluding a range of standard templates from the index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the master and web databases, you have to trim the indexes by hand. For our need, we excluded all custom templates from the indexes and created custom indexes where needed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that when using Azure Search, you are required to continuously trim all your indexes to not hit the 1000 fields limit.&lt;/p&gt;&#xA;" OwnerUserId="180" LastActivityDate="2017-06-27T06:19:30.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6350" PostTypeId="2" ParentId="6201" CreationDate="2017-06-27T09:28:35.897" Score="0" Body="&lt;p&gt;Regarding this issue I requested the support patch from Sitecore and they replied say that this will not apply in this instance. Doing some more investigation I did figure out that previously I tried to upgrade 8.1 to 8.2 and due to facing some errors I rolled it back but I think the database wasn't reverted hence causing the error. I restored the database from 8.1 and the error was resolved. &lt;/p&gt;&#xA;" OwnerUserId="1940" LastActivityDate="2017-06-27T09:28:35.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6351" PostTypeId="1" CreationDate="2017-06-27T10:11:29.190" Score="6" ViewCount="8010" Body="&lt;p&gt;Hi On Save event i am publishing the changes to another database (another environment).&#xA;Please refer Below link &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6284/autopublishing-doesnt-work-on-rename-copy&quot;&gt;AutoPublishing doesn&amp;#39;t work on Rename &amp;amp; Copy&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do i clear those published items from the cache in the destination .&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="1865" LastEditDate="2017-06-27T10:24:34.757" LastActivityDate="2022-03-05T19:21:41.923" Title="How do i clear the cache of the item after publishing" Tags="|publishing|caching|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6352" PostTypeId="1" AcceptedAnswerId="6353" CreationDate="2017-06-27T10:23:18.777" Score="2" ViewCount="587" Body="&lt;p&gt;In a scenario, using DXF 100’s of products get added/updated to the content tree, added on the workflow, approval process. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a Content Authors what are the options I have to get list of pending approval items, with out going to each tree node. I would like hear about Sitecore Out of Box capability.&lt;/p&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2017-06-27T10:31:42.683" Title="Pending workflow Approvals Items List" Tags="|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6353" PostTypeId="2" ParentId="6352" CreationDate="2017-06-27T10:31:42.683" Score="1" Body="&lt;p&gt;You could use the WorkBox: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Workbox is a tool for reviewing and managing items that are in a&#xA;  workflow. When you need to review your items, use the Workbox to see&#xA;  all the items that are currently in workflows and the workflow states&#xA;  that they are in.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;All info can be found here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/review_an_item_in_the_workbox&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/review_an_item_in_the_workbox&lt;/a&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/the_workbox_commands&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/the_workbox_commands&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It does allow bulk operations which might help you as you seem to have lots of items.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Before you publish a content item on your website, commands in the&#xA;  Workbox let you preview, open, or compare different versions of an&#xA;  item, as well as approve or reject the content.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Some commands can be executed on many items at the same time, and only&#xA;  certain commands are shown for all items, while others appear&#xA;  depending on the workflow commands configured for the corresponding&#xA;  workflow state.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;In the Workbox, in the Workflows section, you can configure the&#xA;  Workbox to only show specific workflows.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5fV41.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5fV41.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can open the Workbox from the Launchpad.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-27T10:31:42.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6354" PostTypeId="1" AcceptedAnswerId="6355" CreationDate="2017-06-27T11:31:27.527" Score="1" ViewCount="2465" Body="&lt;p&gt;Is there any Sitecore API which can be used to clear the publish queue?&#xA;Occasionally (possibly related to Unicorn sync) I find that there are hundreds of publishing operations in the job viewer (/sitecore/admin/jobs.aspx). I would like to build an admin page which would allow me to clear this publish queue. Obviously, I could just write some crude SQL statements to delete the records in the &lt;code&gt;PublishQueue&lt;/code&gt; table, but it's better to use the API when possible.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-06-27T12:06:40.623" Title="API Method for clearing the publish / jobs queue" Tags="|publishing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6355" PostTypeId="2" ParentId="6354" CreationDate="2017-06-27T11:49:48.777" Score="1" Body="&lt;p&gt;As said, the &lt;code&gt;sitecore/admin/PublishQueueStats.aspx&lt;/code&gt; will allow you to cleanup a publish queue so you might not have to write it yourself.&#xA;If you still want to, this is the code behind the cleanup button on that page:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void OnClick(object sender, EventArgs e)&#xA;{&#xA;    Database database = Factory.GetDatabase(this.Databases.SelectedValue);&#xA;    if (database == null)&#xA;    {&#xA;      ...&#xA;    }&#xA;    else&#xA;    {&#xA;      TimeSpan timeSpan = DateUtil.ParseTimeSpan(this.IntervalToKeep.Text, TimeSpan.MaxValue);&#xA;      if (timeSpan == TimeSpan.MaxValue)&#xA;      {&#xA;        ...&#xA;      }&#xA;      else&#xA;      {&#xA;        PublishManager.CleanupPublishQueue(DateTime.Now - timeSpan, database);&#xA;      }&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the API you are looking for is &lt;code&gt;PublishManager.CleanupPublishQueue&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should call the &lt;code&gt;CleanupPublishQueue&lt;/code&gt; in the &lt;code&gt;SqlProvider&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override bool CleanupPublishQueue(DateTime to, Sitecore.Data.DataProviders.CallContext context)&#xA;{&#xA;    to = DateUtil.ToUniversalTime(to);&#xA;    this.Api.Execute(&quot; DELETE FROM {0}PublishQueue{1} WHERE {0}Date{1} &amp;lt;= {2}to{3}&quot;, (object) &quot;to&quot;, (object) to);&#xA;    return true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-06-27T12:06:40.623" LastActivityDate="2017-06-27T12:06:40.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6356" PostTypeId="1" AcceptedAnswerId="6381" CreationDate="2017-06-27T12:33:58.527" Score="4" ViewCount="1765" Body="&lt;p&gt;I have next powershell code for getting page url by item&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Get-ItemUrl($item){&#xA;    $urlOptions = [Sitecore.Links.LinkManager]::GetDefaultUrlOptions()&#xA;    $urlOptions.AlwaysIncludeServerUrl = $True&#xA;    $urlOptions.ShortenUrls = $True&#xA;    $urlOptions.SiteResolving = $True;&#xA;    $url = [Sitecore.Links.LinkManager]::GetItemUrl($item, $urlOptions)&#xA;    $url&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in general code works good, but on production it is return page URL via HTTP protocol instead of HTTPS.&#xA;Why it is happens how to solve it ?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2017-06-28T14:25:20.483" Title="Sitecore LinkManager in PowerShell generate wrong protocol" Tags="|powershell-extensions|link-manager|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="6360" PostTypeId="1" AcceptedAnswerId="6361" CreationDate="2017-06-27T14:13:29.987" Score="4" ViewCount="1308" Body="&lt;p&gt;If I rebuild any search index, whether through Indexing Manager, or programatically, the CPU pegs at 100% until the rebuilding operation completes.  This happens on development machines and production server alike.  It happens for a custom index as well as sitecore_master_index and sitecore_web_index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this just standard behavior or is there some way the CPU usage can be managed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the configuration for the custom index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;publications_search&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.SwitchOnRebuildLuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/publicationsLuceneIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Insurance Research Items/Documents&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any advice would be helpful, thanks.&lt;/p&gt;&#xA;" OwnerUserId="1392" LastEditorUserId="73" LastEditDate="2017-06-27T15:22:29.240" LastActivityDate="2017-06-27T15:22:29.240" Title="Why does Rebuilding a Search Index peg my CPU at 100%?" Tags="|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6361" PostTypeId="2" ParentId="6360" CreationDate="2017-06-27T14:28:23.083" Score="5" Body="&lt;p&gt;Pretty much as expected. Means your disks perform great and you have enough memory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a setting; &lt;code&gt;ContentSearch.ParallelIndexing.Enabled&lt;/code&gt; defined in &lt;code&gt;Sitecore.ContentSearch.config&lt;/code&gt; you can try setting to &lt;code&gt;&quot;false&quot;&lt;/code&gt;. It would slow down your index rebuild time, but might make it less intense while running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://community.sitecore.net/developers/f/6/t/3620&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/developers/f/6/t/3620&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-06-27T14:28:23.083" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6362" PostTypeId="2" ParentId="6351" CreationDate="2017-06-27T14:29:40.443" Score="7" Body="&lt;p&gt;If you are referring to HTML Cache, by default, Sitecore includes cache-clearing event handlers that clear the HTML cache when the &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt; events are raised. The handler is typed to the &lt;code&gt;Sitecore.Publishing.HtmlCacheClearer&lt;/code&gt; class and calls the &lt;code&gt;ClearCache&lt;/code&gt; method. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find the subscriptions for these events in your ShowConfig (/sitecore/admin/showconfig.aspx) by searching for &lt;em&gt;publish:end&lt;/em&gt; and &lt;em&gt;publish:end:remote&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot; patch:source=&quot;Sitecore.Social.config&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;      &amp;lt;!-- list of sites to clear the cache for--&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;  ...&#xA;&amp;lt;/event&amp;gt;&#xA;&amp;lt;event name=&quot;publish:end:remote&quot; patch:source=&quot;Sitecore.ContentSearch.config&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;      &amp;lt;!-- list of sites to clear the cache for--&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt; &#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;  ...&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that if you set a custom name for your site (i.e. a name other than &quot;website&quot;) or if you have multiple sites, then you will need to make sure that these sites are included in the list of sites to be cleared. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-06-27T14:29:40.443" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6363" PostTypeId="1" CreationDate="2017-06-27T14:33:31.963" Score="3" ViewCount="7785" Body="&lt;p&gt;After sitecore upgrade from 7.2 to 8.2u3 and solr from 5.4.1 to v6.1, below solr timeout starts to happen in one server, works fine in local machine setup. We have increased  from 125500 (on local win10) to 200000 (on win2012 server). but that didn't help. Wonder what could be the root cause. Please advice.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Job started: Index_Update_IndexName=sitecore_master_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; SolrNet.Exceptions.SolrConnectionException: The operation has timed out ---&gt; System.Net.WebException: The operation has timed out&#xA;     at System.Net.HttpWebRequest.GetResponse()&#xA;     at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;     at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;     at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable&lt;code&gt;1 parameters)&#xA;     --- End of inner exception stack trace ---&#xA;     at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable&lt;/code&gt;1 parameters)&#xA;     at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)&#xA;     at SolrNet.Commands.OptimizeCommand.Execute(ISolrConnection connection)&#xA;     at SolrNet.Impl.SolrBasicServer&lt;code&gt;1.SendAndParseHeader(ISolrCommand cmd)&#xA;     at SolrNet.Impl.SolrBasicServer&lt;/code&gt;1.Optimize(CommitOptions options)&#xA;     at Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex.PerformRebuild(Boolean resetIndex, Boolean optimizeOnComplete, IndexingOptions indexingOptions, CancellationToken cancellationToken)&#xA;     at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Rebuild(Boolean resetIndex, Boolean optimizeOnComplete)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.Jobs.Job.ThreadEntry(Object state)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2025" LastEditorUserId="2025" LastEditDate="2017-06-27T14:41:07.227" LastActivityDate="2017-07-03T14:38:15.217" Title="SolrNet.Exceptions.SolrConnectionException: The operation has timed out" Tags="|solr|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6365" PostTypeId="2" ParentId="6363" CreationDate="2017-06-27T15:41:31.397" Score="1" Body="&lt;p&gt;You may need to request a patch from Sitecore Support as this is a known issue. The Sitecore Patch number is &lt;code&gt;#405677&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same issue was raised on Sitecore Community &lt;a href=&quot;https://community.sitecore.net/general/f/16/t/3325&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. You may find the patch at the following &lt;a href=&quot;https://github.com/andrew-at-sitecore/Sitecore.Support.405677&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitHub Repository&lt;/a&gt; but I would recommend to contact Sitecore Support directly and also provide them the details along with the IoC library you are using.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-06-27T15:41:31.397" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6366" PostTypeId="2" ParentId="6351" CreationDate="2017-06-27T16:13:12.437" Score="0" Body="&lt;p&gt;As Zachary already mentioned, you can use the Sitecore OOTB HTML Cache agent to clear the cache. As quoted below, you mentioned&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;clear those published items from the cache in the destination&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Using the default Sitecore HTML Cache Clearance agent, will clear all the cache for all the sites presents between the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; tag. I think that you can clear the cache specific to the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you have published an item which is present in &lt;strong&gt;Site A&lt;/strong&gt;, you'll want to clear the cache for &lt;strong&gt;Site A&lt;/strong&gt; instead of all sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can accomplish this by implementing a handler which clears the cache for a specific site based on the item. Below is a sample code. Note that I haven't yet tested the code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PublishingOnSaved&#xA;{&#xA;    public string SiteName { get; set; }&#xA;&#xA;    public void OnSavedItem(object sender, EventArgs args)&#xA;    {&#xA;        var currentItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;        if (currentItem == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        this.SiteName = GetSiteFromItem(currentItem);&#xA;&#xA;        // Codes for publishing is here&#xA;    }&#xA;&#xA;    public void OnSiteCacheClearance(object sender, EventArgs args)&#xA;    {&#xA;        var caches = CacheManager.GetAllCaches();&#xA;&#xA;        foreach (var cache in caches)&#xA;        {&#xA;            if (cache.Name.ToLower().Contains(this.SiteName))&#xA;            {&#xA;                cache.Clear();&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    private string GetSiteFromItem(Item item)&#xA;    {&#xA;        // Add logic to get site from item. &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then add your handler to the &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;YourNamespaceWithClass, YourAssembly&quot; method=&quot;OnSiteCacheClearance&quot;&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;YourNamespaceWithClass, YourAssembly&quot; method=&quot;OnSiteCacheClearance&quot;&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-06-27T16:13:12.437" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6367" PostTypeId="1" AcceptedAnswerId="6394" CreationDate="2017-06-27T16:43:41.527" Score="13" ViewCount="1198" Body="&lt;p&gt;I've got a site where I'm invoking &lt;code&gt;Tracker.Current.Session.Identify()&lt;/code&gt;, passing in the authenticated user's email address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works fine locally, but when deployed the identify call often - but not always - throws the following exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactLockException: The contact {guid} could not be locked in the xDB&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's where it seems to get weird: the contact ID in the exception:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is not the same as &lt;code&gt;Tracker.Current.Contact.ContactId&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Changes every request, if the identify is retried&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Tracker.Current.Contact.ContactId&lt;/code&gt; remains the same throughout. The &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; is also static, as is the session ID cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked that the &lt;code&gt;Analytics.ClusterName&lt;/code&gt; is correctly set in all cases.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update-1&lt;/li&gt;&#xA;&lt;li&gt;SQL Session (shared + private)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced this before and solved it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: I know what is happening, but I don't yet know why.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;alice&lt;/code&gt; visits the site, logs in, and gets a &lt;code&gt;Known&lt;/code&gt; contact associated to the browser cookie&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;bob&lt;/code&gt; visits the site, on the same computer as Alice, and logs in using the same browser. Now when we identify the contact as &lt;code&gt;bob&lt;/code&gt;, xDB realizes that the current contact needs to be split off because it's already identified as someone else (&lt;code&gt;alice&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;so xDB creates a new contact ID to put &lt;code&gt;bob&lt;/code&gt; into, sets it to have &lt;code&gt;Identifier = bob&lt;/code&gt; and &lt;code&gt;Level = Known&lt;/code&gt;, and then calls &lt;code&gt;ContactManager.FlushContactToXdb()&lt;/code&gt; on it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Good so far, right? Making sure &lt;code&gt;bob&lt;/code&gt;'s data doesn't overwrite &lt;code&gt;alice&lt;/code&gt;'s, even though they have been from the same browser/global analytics cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error here comes into play later in the identify process when it calls &lt;code&gt;contactManager.TryLoadContact()&lt;/code&gt;. This is done to get the existing contact from xDB - in this case, it's using the new contact ID it created for &lt;code&gt;bob&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;TryLoadContact()&lt;/code&gt;, however, is returning that the contact was not found (&lt;code&gt;LockAttemptStatus = NotFound&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; it appears that calling &lt;code&gt;ContactManager.FlushContactToXdb(id)&lt;/code&gt; immediately followed by &lt;code&gt;contactManager.TryLoadContact(id)&lt;/code&gt; is resulting in being unable to load the contact from xDB!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FWIW, Mongo is not a replica set in this case so it couldn't be that a write hadn't propagated to a replica member. Unless Mongo writes are async, which maybe they are...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've verified that for some reason data is not being written to xDB. The only contacts present are those that were written as a test when I pointed my local dev instance at the shared dev mongo DBs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also verified steps in &lt;a href=&quot;https://kb.sitecore.net/articles/977445&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/977445&lt;/a&gt; are okay&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Checked connectivity from CM server to Mongo using robomongo&lt;/li&gt;&#xA;&lt;li&gt;Private and shared session are using SQL sessions&lt;/li&gt;&#xA;&lt;li&gt;CDN not present&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Global.asax&lt;/code&gt; is present and inherits from Sitecore base class&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sc.VisitorIdentification()&lt;/code&gt; is on the layout&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IgnoreUrlPrefixes&lt;/code&gt; does not contain layouts&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.MvcAnalytics.config&lt;/code&gt; is present&lt;/li&gt;&#xA;&lt;li&gt;Verified that enableTracking is true on the site&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So data isn't being written. And worse exceptions don't seem to be getting thrown - there's nothing at all in the logs, and Sitecore seems unaware that &lt;code&gt;FlushContactToXdb()&lt;/code&gt; has not worked.&lt;/p&gt;&#xA;" OwnerUserId="267" LastEditorUserId="2727" LastEditDate="2018-02-09T08:34:10.000" LastActivityDate="2018-02-09T08:34:10.000" Title="Contact (guid) could not be locked in the xDB" Tags="|xdb|mongodb|session-state|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6368" PostTypeId="1" AcceptedAnswerId="6369" CreationDate="2017-06-27T17:45:33.263" Score="2" ViewCount="51" Body="&lt;p&gt;Post upgrading with the Express Migration Tool, my fonts and forms are a little wonky. If I didnt know any better Id say a css file was missing. But, nothing in the browser console to this point.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example - This is how 8.2 Upgrade 3 should look:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hkabT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hkabT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And my upgraded instance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lk7Zm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lk7Zm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its particularly noticeable on dialogs. Everything is small and scrunched together:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2ldiH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2ldiH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="237" LastEditDate="2017-06-28T07:20:32.280" LastActivityDate="2017-06-28T07:20:32.280" Title="Post Upgrade Content Editor Font Problem" Tags="|content-editor|upgrade|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6369" PostTypeId="2" ParentId="6368" CreationDate="2017-06-27T20:17:06.493" Score="3" Body="&lt;p&gt;One of the steps to complete upgrades is always to clear the caches on the browsers that are used for Sitecore administration. Static files used in there get stuck in those caches causing issues (mostly css like issues as the one you are facing, sometimes js issues).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Clearing the cache should do the trick - and don't forget to inform other editors to do the same.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-27T20:17:06.493" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6370" PostTypeId="1" CreationDate="2017-06-27T20:34:35.007" Score="13" ViewCount="10141" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rvRjk.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rvRjk.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;this is the value on my Rich text field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Did you know the monarch population has declined by more than 90 percent?&amp;lt;/strong&amp;gt; Did you know that much of the monarch summer breeding habitats have been destroyed due to agricultural and gardening practices in the United States? &amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;As part of National Wildlife Federation's&amp;amp;nbsp;&amp;lt;strong&amp;gt;Garden for Wildlife&amp;lt;/strong&amp;gt; program, Butterfly Heroes seeks to bring awareness to the declining population and connect gardeners and kids and families alike to help the monarchs and other pollinators. Take the pledge to help to create new habitats for monarch butterflies by providing a place to rest their wings and lay their eggs.&amp;amp;nbsp;&amp;lt;a href=&quot;http://www.nwf.org/Butterfly-Heroes/Pledge.aspx&quot;&amp;gt;Submit your photo pledge and become a Butterfly Hero &amp;amp;gt;&amp;amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;this is my c# code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    var sectionName = Sitecore.Context.Item.Fields[&quot;Name&quot;];&#xA;    var pageTitle = Sitecore.Context.Item.Fields[&quot;Title&quot;];&#xA;    var mainContent = Sitecore.Context.Item.Fields[&quot;Main Content&quot;].Value;&#xA;    Sitecore.Data.Fields.ImageField linkIcon = (Sitecore.Data.Fields.ImageField)Sitecore.Context.Item.Fields[&quot;Image&quot;];&#xA;    var linkIconUrl = Sitecore.Resources.Media.MediaManager.GetMediaUrl(linkIcon.MediaItem);&#xA;}&#xA;&#xA;   &amp;lt;div class='col-xs-12 col-md-9 content'&amp;gt;&#xA;&#xA;                &amp;lt;h2&amp;gt;@pageTitle&amp;lt;/h2&amp;gt;&#xA;                &amp;lt;p&amp;gt;&#xA;                    &amp;lt;div class=&quot;pull-right&quot;&amp;gt;&amp;lt;img width=&quot;219&quot; height=&quot;219&quot; class=&quot;img-responsive&quot; alt=&quot;OB9&quot; src=&quot;@linkIconUrl&quot; /&amp;gt;&amp;lt;/div&amp;gt;&#xA;                    @mainContent&#xA;                &amp;lt;/p&amp;gt;&#xA;&#xA;&#xA;&#xA;            &amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="73" LastEditDate="2017-08-03T13:25:11.807" LastActivityDate="2021-01-07T03:27:53.240" Title="why is my Richtext field not rendering as rich text?" Tags="|mvc|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6371" PostTypeId="2" ParentId="6370" CreationDate="2017-06-27T20:39:42.647" Score="1" Body="&lt;p&gt;When you use @ to render a variable that includes HTML, it will automatically escape it. If you want to render the variable as HTML, use &lt;code&gt;@Html.Raw()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, I would recommend you look at using the Sitecore MVC helpers to render fields instead of manually extracting fields and values. A quick Google turned up the following: &lt;a href=&quot;http://sitecore-community.github.io/docs/sitecore-mvc/rendering-content/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/sitecore-mvc/rendering-content/&lt;/a&gt; Basically, the gist of it is to use &lt;code&gt;@Html.Sitecore().Field(&quot;field name&quot;)&lt;/code&gt; when rendering fields.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="70" LastEditDate="2017-06-27T20:53:32.403" LastActivityDate="2017-06-27T20:53:32.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6373" PostTypeId="2" ParentId="6370" CreationDate="2017-06-27T20:52:09.207" Score="14" Body="&lt;p&gt;Its because you are not using the Sitecore field render to render the field content. This code:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var mainContent = Sitecore.Context.Item.Fields[&amp;quot;Main Content&amp;quot;].Value;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;just outputs the raw value of the field. It bypasses all of the Sitecore field rendering pipeline. This includes all the markup, and because razor automatically encodes html in variables you are seeing that encoding output.&lt;/p&gt;&#xA;&lt;p&gt;Also - if the field is null, this code would throw a null reference exception.&lt;/p&gt;&#xA;&lt;p&gt;The correct way to render a field if you want to use the raw Sitecore API and not use an ORM/Wrapper would be to use the Sitecore Html helper class and call the field renderer like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var mainContent = Html.Sitecore().Field(&amp;quot;Main Content&amp;quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;In fact you don't really need to put the value in a variable. This would work:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class='col-xs-12 col-md-9 content'&amp;gt;&#xA;    &amp;lt;h2&amp;gt;@Html.Sitecore().Field(&amp;quot;Title&amp;quot;)&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;p&amp;gt;&#xA;        &amp;lt;div class=&amp;quot;pull-right&amp;quot;&amp;gt;&#xA;            @Html.Sitecore().Field(&amp;quot;Image&amp;quot;, new { @class = &amp;quot;img-responsive&amp;quot; })&#xA;        &amp;lt;/div&amp;gt;&#xA;        @Html.Sitecore().Field(&amp;quot;Main Content&amp;quot;)&#xA;    &amp;lt;/p&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Doing it this way means that you will get all the experience editor functions also.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2021-01-07T03:27:53.240" LastActivityDate="2021-01-07T03:27:53.240" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="6374" PostTypeId="2" ParentId="6367" CreationDate="2017-06-28T01:15:36.790" Score="1" Body="&lt;p&gt;Have you checked if you have sporadic availability problems with your Mongo?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try setting this to true in your sitecore.analytics.tracking.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.UseSubmitQueue&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If with that setting the problem goes away, then Sitecore has intermittent problems with Mongo not being available. That setting makes Sitecore use a failover local queue for contact activities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, the sitecore community site describes a similar issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1771&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/1771&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="701" LastActivityDate="2017-06-28T01:15:36.790" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6375" PostTypeId="1" CreationDate="2017-06-28T02:59:52.973" Score="1" ViewCount="154" Body="&lt;p&gt;I am using sitecore 7.2 and web forms module and I am not using MVC.&#xA;I have a secured page that only authenticated users can access.&#xA;If user tries to access this page, he is sent to the login page, this login page has form built using the form module and on submission I am using &quot;Login with password&quot; action provided by the forms module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Login is successful but user is not redirected to the secured page, page refreshes and shows the login form again but no redirect is happening.&#xA;If I change the redirect page to a non secure page, it works fine.&lt;/p&gt;&#xA;" OwnerUserId="2119" LastEditorUserId="2119" LastEditDate="2017-06-29T07:42:23.533" LastActivityDate="2017-06-29T07:42:23.533" Title="Sitecore web forms module redirect to secure page" Tags="|wffm|" AnswerCount="0" CommentCount="5" ClosedDate="2017-08-07T00:48:19.863" ContentLicense="CC BY-SA 3.0" />
  <row Id="6376" PostTypeId="2" ParentId="6218" CreationDate="2017-06-28T09:01:05.707" Score="1" Body="&lt;p&gt;The error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;action cannot be added. Your configuration does not support it.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;means that you have specified a namespace/class/dll that sitecore can't find.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you have the dll with your custom save action in the bin directory and the namespace is correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wouldn't know any other clean way to get the just created item, so I strongly suggest to use the save action.&lt;/p&gt;&#xA;" OwnerUserId="2126" LastActivityDate="2017-06-28T09:01:05.707" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6378" PostTypeId="2" ParentId="4522" CreationDate="2017-06-28T09:46:11.290" Score="4" Body="&lt;p&gt;You need to tell the form editor that you want that field to be editable by an attribute, e.g. the line&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[VisualFieldType(typeof(EditField))]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;before &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;public string  PlaceholderText { get; set; }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;should do the trick.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case Visual studio can't resolve the namespace try adding &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;using Sitecore.Form.Core.Attributes;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;See e.g. &lt;a href=&quot;https://github.com/islaytitans/FileUploadValidator/blob/master/JonathanRobbins.FileUploadValidator/Webforms/Controls/SecureFileUpload.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/islaytitans/FileUploadValidator/blob/master/JonathanRobbins.FileUploadValidator/Webforms/Controls/SecureFileUpload.cs&lt;/a&gt; for an example of fields with different editable properties.&lt;/p&gt;&#xA;" OwnerUserId="2126" LastActivityDate="2017-06-28T09:46:11.290" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6379" PostTypeId="1" CreationDate="2017-06-28T09:57:04.313" Score="6" ViewCount="116" Body="&lt;p&gt;I want to acess the sitecore items from outside context . Do we have an API to acess Sitecore Items in Sitecore 6.6?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="73" LastEditDate="2017-06-28T12:06:59.710" LastActivityDate="2017-06-28T12:06:59.710" Title="Do we have an API for sitecore 6.6" Tags="|webapi|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6380" PostTypeId="2" ParentId="6379" CreationDate="2017-06-28T10:03:25.803" Score="5" Body="&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/Products/Sitecore%20Item%20Web%20API/SitecoreItemWebApi12.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/Products/Sitecore%20Item%20Web%20API/SitecoreItemWebApi12.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Item Web API 1.2.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This version of the module only runs on Sitecore CMS 6.6.0 rev. 131211 (6.6.0 Update-7) and later. It seems you will need to install it as a module (it was not included in the product - that happened in 7.1).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-06-28T10:03:25.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6381" PostTypeId="2" ParentId="6356" CreationDate="2017-06-28T14:16:52.460" Score="9" Body="&lt;p&gt;Your problem is that Powershell is running in the context of the &quot;shell&quot; site, which gives you /sitecore/shell as the path. When using &lt;code&gt;Sitecore.Links.LinkManager.GetItemUrl()&lt;/code&gt;, you'll need to be in the context of the site for which you want the URL. For this, you can use the &lt;code&gt;SiteContextSwitcher&lt;/code&gt;, which can be used in a using block. In C#, you would do this as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var site = Sitecore.Sites.SiteContext.GetSite(&quot;website&quot;);&#xA;&#xA;using (var siteContextSwitcher = new SiteContextSwitcher(site)) {&#xA;    var urlOptions = Sitecore.Links.LinkManager.GetDefaultUrlOptions();&#xA;    urlOptions.AlwaysIncludeServerUrls = true;&#xA;    urlOptions.ShortenUrls = true;&#xA;    urlOptions.SiteResolving = true;&#xA;    var url = Sitecore.Links.LinkManager.GetItemUrl(item, urlOptions);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Powershell, you'll need to use the New-UsingBlock cmdlet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Get-ItemUrl($item){&#xA;    $site = [Sitecore.Sites.SiteContext]::GetSite(&quot;website&quot;)&#xA;&#xA;    New-UsingBlock(New-Object -TypeName &quot;Sitecore.Sites.SiteContextSwitcher&quot; -ArgumentList $site) {&#xA;        $urlOptions = [Sitecore.Links.LinkManager]::GetDefaultUrlOptions()&#xA;        $urlOptions.AlwaysIncludeServerUrl = $True&#xA;        $urlOptions.ShortenUrls = $True&#xA;        $urlOptions.SiteResolving = $True;&#xA;        $url = [Sitecore.Links.LinkManager]::GetItemUrl($item, $urlOptions)&#xA;        return $url&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, if you're running this on a CM instance, the URL that you get now will use the hostname and scheme of the the site on the &lt;em&gt;CM instance&lt;/em&gt;. Assuming you're looking for the URL for CD, you'll need to do some parsing, as the CM instance doesn't know the hostname and scheme for the CD instance.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Get-ItemUrl($item){&#xA;    $site = [Sitecore.Sites.SiteContext]::GetSite(&quot;website&quot;)&#xA;&#xA;    New-UsingBlock(New-Object -TypeName &quot;Sitecore.Sites.SiteContextSwitcher&quot; -ArgumentList $site) {&#xA;        $urlOptions = [Sitecore.Links.LinkManager]::GetDefaultUrlOptions()&#xA;        $urlOptions.AlwaysIncludeServerUrl = $True&#xA;        $urlOptions.ShortenUrls = $True&#xA;        $urlOptions.SiteResolving = $True;&#xA;        $urlString = [Sitecore.Links.LinkManager]::GetItemUrl($item, $urlOptions)&#xA;        $url = New-Object -TypeName System.Uri -ArgumentList $urlString&#xA;        $absolutePath = $url.AbsolutePath&#xA;        return &quot;https://mysite.com&quot; + $absolutePath&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that we still use &lt;code&gt;AlwaysIncludeServerUrl&lt;/code&gt; so that the URI we generate will be able to be parsed by the &lt;code&gt;System.Uri&lt;/code&gt; constructor. We then strip out the CM hostname and scheme, and replace it with the scheme and hostname for the CD instance (in this case, &lt;code&gt;https://mysite.com&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: There's no error handling currently. For example, if you don't have the scheme or hostname set on the site node, it won't generate a URL that can be parsed by the &lt;code&gt;System.Uri&lt;/code&gt; constructor. In this case, make sure that your site node is fully configured, or modify the code to make sure that the URL is valid and fully-qualified before you pass it to the &lt;code&gt;System.Uri&lt;/code&gt; constructor.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2017-06-28T14:25:20.483" LastActivityDate="2017-06-28T14:25:20.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6383" PostTypeId="1" CreationDate="2017-06-28T19:39:07.923" Score="3" ViewCount="654" Body="&lt;p&gt;Trying to solve the issue where an editor is updating content and gets timed out.  When they log back in they lost changes.  I know you can increase that time out, but can you implement auto save?  Assuming they are using best practices and version the content before editing so they can get back changes if needed.  I found this, but it is out of date and download link doesn't work.&#xA;&lt;a href=&quot;http://sitecoregadgets.blogspot.com/2011/11/rich-text-auto-save.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoregadgets.blogspot.com/2011/11/rich-text-auto-save.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="191" LastActivityDate="2018-01-03T08:56:46.867" Title="Can Sitecore be customized to auto save pages including the rich text editor?" Tags="|sitecore-client|experience-editor|content-editor|richtext-editor|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6384" PostTypeId="1" AcceptedAnswerId="6385" CreationDate="2017-06-29T08:30:52.590" Score="12" ViewCount="3014" Body="&lt;p&gt;After a deploy, my Sitecore Azure instance is heavily slowed down and I get the following error on and on,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-06-29T08:22:15  PID[42864] Error       54964 08:22:15 ERROR Error in FileWatcher. Internal buffer overflow.&#xA;Exception: System.IO.InternalBufferOverflowException&#xA;Message: Too many changes at once in directory:D:\home\site\wwwroot\.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried the dark magic of &quot;change sitecore license file location&quot; &lt;a href=&quot;https://mikael.com/2016/01/sitecore-file-watcher-internal-buffer-overflow-exception/&quot; rel=&quot;noreferrer&quot;&gt;described here&lt;/a&gt; but it had no effect&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can I do to remove this error / speed up the instance so that contributors can do their work ?&lt;/p&gt;&#xA;" OwnerUserId="1833" LastActivityDate="2017-08-14T07:34:40.077" Title="FileWatcher Error, Internal buffer overflow" Tags="|azure|deployment|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6385" PostTypeId="2" ParentId="6384" CreationDate="2017-06-29T08:42:48.453" Score="7" Body="&lt;p&gt;We currently have the same issue and have been advised to set the following config (in &lt;strong&gt;Sitecore.config&lt;/strong&gt;) to a higher value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.FileSystemWatcher.BufferSize&quot; value=&quot;16384&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We are currently trial &amp;amp; erroring this value right now, but others have reported a positive outcome. &lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="1833" LastEditDate="2017-06-29T08:46:53.040" LastActivityDate="2017-06-29T08:46:53.040" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6386" PostTypeId="1" CreationDate="2017-06-29T08:53:05.963" Score="6" ViewCount="572" Body="&lt;p&gt;When starting our application we are seeing lots of these entries:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-06-29T08:38:59  PID[60944] Error       8168 08:38:59 ERROR Custodian.UpdateIndexTimestampTimerTick. Update index last updated failed&#xA;Exception: Sitecore.ContentSearch.Exceptions.IndexNotFoundException&#xA;Message: Index sitecore_web_index was not found&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.UpdateIndexTimestampTimerTick(Object state)&#xA;&#xA;&#xA;2017-06-29T08:39:00  PID[60944] Error       57480 08:39:00 ERROR Custodian.UpdateIndexTimestampTimerTick. Update index last updated failed&#xA;Exception: Sitecore.ContentSearch.Exceptions.IndexNotFoundException&#xA;Message: Index sitecore_web_index was not found&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.UpdateIndexTimestampTimerTick(Object state)&#xA;&#xA;&#xA;2017-06-29T08:39:01  PID[60944] Error       57480 08:39:01 ERROR Custodian.UpdateIndexTimestampTimerTick. Update index last updated failed&#xA;Exception: Sitecore.ContentSearch.Exceptions.IndexNotFoundException&#xA;Message: Index sitecore_web_index was not found&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.UpdateIndexTimestampTimerTick(Object state)&#xA;&#xA;&#xA;2017-06-29T08:39:02  PID[60944] Error       28556 08:39:02 ERROR Custodian.UpdateIndexTimestampTimerTick. Update index last updated failed&#xA;Exception: Sitecore.ContentSearch.Exceptions.IndexNotFoundException&#xA;Message: Index sitecore_web_index was not found&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.UpdateIndexTimestampTimerTick(Object state)&#xA;&#xA;&#xA;2017-06-29T08:39:03  PID[60944] Error       8168 08:39:03 ERROR Custodian.UpdateIndexTimestampTimerTick. Update index last updated failed&#xA;Exception: Sitecore.ContentSearch.Exceptions.IndexNotFoundException&#xA;Message: Index sitecore_web_index was not found&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.UpdateIndexTimestampTimerTick(Object state)&#xA;&#xA;&#xA;2017-06-29T08:39:04  PID[60944] Error       8168 08:39:04 ERROR Custodian.UpdateIndexTimestampTimerTick. Update index last updated failed&#xA;Exception: Sitecore.ContentSearch.Exceptions.IndexNotFoundException&#xA;Message: Index sitecore_web_index was not found&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.UpdateIndexTimestampTimerTick(Object state)&#xA;&#xA;&#xA;2017-06-29T08:39:05  PID[60944] Error       8168 08:39:05 ERROR Custodian.UpdateIndexTimestampTimerTick. Update index last updated failed&#xA;Exception: Sitecore.ContentSearch.Exceptions.IndexNotFoundException&#xA;Message: Index sitecore_web_index was not found&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.UpdateIndexTimestampTimerTick(Object state)&#xA;&#xA;&#xA;2017-06-29T08:39:06  PID[60944] Error       44084 08:39:06 ERROR Custodian.UpdateIndexTimestampTimerTick. Update index last updated failed&#xA;Exception: Sitecore.ContentSearch.Exceptions.IndexNotFoundException&#xA;Message: Index sitecore_web_index was not found&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.UpdateIndexTimestampTimerTick(Object state)&#xA;&#xA;&#xA;2017-06-29T08:39:07  PID[60944] Error       28556 08:39:07 ERROR Custodian.UpdateIndexTimestampTimerTick. Update index last updated failed&#xA;Exception: Sitecore.ContentSearch.Exceptions.IndexNotFoundException&#xA;Message: Index sitecore_web_index was not found&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.UpdateIndexTimestampTimerTick(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have found the &lt;a href=&quot;https://kb.sitecore.net/articles/398869&quot; rel=&quot;nofollow noreferrer&quot;&gt;following fix&lt;/a&gt; for what appears to be for a similar issue, but in that case, it was for distributed environments. In this case, we are running the CD &amp;amp; CM together. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Eventually, the instance starts, but it takes a good few minutes and the logs are littered with these entries which suggest there is something wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are running &lt;code&gt;Sitecore 8.2 rev. 161221&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="2152" LastEditDate="2019-08-12T09:06:20.997" LastActivityDate="2019-08-12T09:06:20.997" Title="Index errors on start up on Azure environment" Tags="|azure|azure-search|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="6388" PostTypeId="2" ParentId="6174" CreationDate="2017-06-29T11:06:52.340" Score="1" Body="&lt;p&gt;Create a custom field, render it hidden (&lt;code&gt;style=&quot;display:none&quot;&lt;/code&gt;) and prepopulate it via query string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you use the field name to select the query string, you end up with a nice flexible solution.&lt;/p&gt;&#xA;" OwnerUserId="2126" LastEditorUserId="70" LastEditDate="2017-10-27T16:23:46.433" LastActivityDate="2017-10-27T16:23:46.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6389" PostTypeId="2" ParentId="5929" CreationDate="2017-06-29T11:15:59.913" Score="2" Body="&lt;p&gt;WFFM has a validation type for dates:&#xA;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/the_fieldtype_validations&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/the_fieldtype_validations&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case that's not client-side you can build a regex via the DynamicRegularExpression attribute which are definetly client-side.&lt;/p&gt;&#xA;" OwnerUserId="2126" LastActivityDate="2017-06-29T11:15:59.913" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6390" PostTypeId="1" CreationDate="2017-06-29T12:48:15.827" Score="3" ViewCount="1164" Body="&lt;p&gt;We have the requirement like some items need to be published on specific time automatically.All Items are in two versions English and Japanese.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I downloaded the sitecore schedule publish package from market place.&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Scheduled_Publish.aspx#&quot; rel=&quot;nofollow noreferrer&quot;&gt;SITECORE SCHEDULED PUBLISH&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I installed  this on a Sitecore 8.2 update 3 instance without any error. I set a publishing schedule on a single item. But getting error &quot;no valid version&quot;,please see below screen:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oQs01.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oQs01.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;is there any settings need to do?&lt;/p&gt;&#xA;" OwnerUserId="1947" LastEditorUserId="1947" LastEditDate="2017-06-29T14:03:13.370" LastActivityDate="2017-06-30T18:54:23.750" Title="Sitecore Schedule Publish Not Working" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6391" PostTypeId="2" ParentId="6383" CreationDate="2017-06-29T13:23:23.637" Score="1" Body="&lt;p&gt;If the exact error message is the following then there is a support dll to help: &lt;code&gt;The operation could not be completed. Your session may have been lost due to a timeout or a server failure. Please try again.&lt;/code&gt; Please see this link: &lt;a href=&quot;http://kb.sitecore.net/articles/135940&quot; rel=&quot;nofollow noreferrer&quot;&gt;kb.sitecore.net/articles/135940&lt;/a&gt;. Basically, from what I understand, Sitecore is identifying your user as a bot because they haven't hit a frontend page before logging into the shell.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-06-29T13:23:23.637" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6393" PostTypeId="1" CreationDate="2017-06-29T14:09:07.460" Score="7" ViewCount="1524" Body="&lt;p&gt;We are seeing a lot of Depenendy Failures in Application Insights because some non exisiting Azure Search indexes are queried.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following indexes on Azure search return a 404:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore-marketing-asset-index-master&lt;/li&gt;&#xA;&lt;li&gt;sitecore-marketing-asset-index-web&lt;/li&gt;&#xA;&lt;li&gt;sitecore-testing-index&lt;/li&gt;&#xA;&lt;li&gt;sitecore-fxm-web-index&lt;/li&gt;&#xA;&lt;li&gt;sitecore-fxm-master-index&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We've tried rebuilding the indexes using &lt;code&gt;IndexCustodian.FullRebuild(ContentSearchManager.GetIndex(name));&lt;/code&gt; but this doesn't create the index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we create these indexes or prevent them from being queried?&lt;/p&gt;&#xA;" OwnerUserId="2134" LastActivityDate="2019-07-13T07:28:04.797" Title="Azure Search indexes are not created" Tags="|content-search|azure|indexing|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6394" PostTypeId="2" ParentId="6367" CreationDate="2017-06-29T14:17:48.800" Score="5" Body="&lt;p&gt;I have solved this issue. It was due to following the recommended enable/disable configuration guide (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/configuring_servers/configure_a_content_management_server&lt;/a&gt;), which tells me to disable the following config files for a CM instance (this was occurring on a test environment that had only one CM):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Tracking.Aggregation.config&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Tracking.Database.config&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Tracking.RobotDetection.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Specifically disabling &lt;code&gt;Sitecore.Analytics.Tracking.Database.config&lt;/code&gt; caused no data to be written to MongoDB - which might be ok in a production CM, except that in this case it breaks &lt;code&gt;Identify()&lt;/code&gt; because of its need to read a contact &lt;em&gt;back&lt;/em&gt; out of xDB after creating it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No database, nothing to read back from = contact not found, so cannot get a lock on what doesn't exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moral of the story: Don't disable these files on a CM if you're identifying contacts, or if there are no CDs in the environment. I've filed a bug with support (487945).&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-06-29T14:17:48.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6397" PostTypeId="1" CreationDate="2017-06-29T15:11:25.830" Score="3" ViewCount="547" Body="&lt;p&gt;I am using FakeDB trying to mock a media provider.  I get this message when attempting the example shown in the wiki.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Starting from Sitecore 8.2, the Sitecore.Resources.Media.MediaProvider class is marked as obsolete and will be removed in the next major release. Please use new abstract type Sitecore.Abstractions.BaseMediaManager from the Sitecore.Kernel assembly.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would this look in 8.2 exactly?  I've tried the following but nothing is returned.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var mediaProvider =&#xA;          Substitute.For&amp;lt;BaseMediaManager&amp;gt;();&#xA;&#xA;        mediaProvider&#xA;          .GetMediaUrl(target)&#xA;          .Returns(expectedUri);&#xA;&#xA;       // act&#xA;        var mediaUrl = Database.GetDatabase(&quot;master&quot;).GetItem(newID).MediaUrl(template.FieldId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2136" LastActivityDate="2018-01-10T10:16:03.023" Title="Mock MediaProvider on 8.2" Tags="|unit-testing|fakedb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6400" PostTypeId="2" ParentId="6384" CreationDate="2017-06-29T15:39:39.370" Score="1" Body="&lt;p&gt;Disabling the Sitecore config &lt;code&gt;Sitecore.Diagnostics.config&lt;/code&gt; seems to have resolved the issue for us, this stops data being written to the diagnostics folder.&lt;/p&gt;&#xA;" OwnerUserId="240" LastActivityDate="2017-06-29T15:39:39.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6401" PostTypeId="1" CreationDate="2017-06-29T15:44:06.407" Score="5" ViewCount="700" Body="&lt;p&gt;&lt;strong&gt;Issue:&lt;/strong&gt; I want to add two accordion components to one page. The IDs are the same so both of the components will not work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My Proposed Solution:&lt;/strong&gt; Using MVC, add code to the component that will check if there is already an existing component of the same (accordion) type on the page. If so, start the incrementing of IDs at a different number. I would think that should solve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an MVC way to check if a component has already been added to a page in Experience Editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be greatly appreciated!&lt;/p&gt;&#xA;" OwnerUserId="1789" LastEditorUserId="73" LastEditDate="2017-06-29T17:31:36.793" LastActivityDate="2019-12-05T18:37:54.647" Title="Code to determine if a specific component is already on page" Tags="|experience-editor|presentation|mvc|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="6402" PostTypeId="2" ParentId="6397" CreationDate="2017-06-29T16:46:20.387" Score="1" Body="&lt;p&gt;&lt;code&gt;BaseMediaManager&lt;/code&gt; is an abstract class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try using &lt;code&gt;Sitecore.Resources.Media.DefaultMediaManager&lt;/code&gt; which is derived class of &lt;code&gt;BaseMediaManager&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/edfKO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/edfKO.png&quot; alt=&quot;JustDecompile view&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using &lt;code&gt;JustDecompile&lt;/code&gt; to see the class and inheritance chain of Sitecore classes.&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2017-06-29T16:46:20.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6403" PostTypeId="2" ParentId="6401" CreationDate="2017-06-29T17:14:58.553" Score="6" Body="&lt;p&gt;Rather than dealing with the Layout via Sitecore, we can generate an ID string that will be unique for each instance of the component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Model can have a property that returns a unique ID string which can be bound to the view. Perhaps a standard prefix + Unique ID will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g.: &lt;code&gt;id=&quot;accordion-CE675E37357D47C1853B81A90F93BE12&quot;&lt;/code&gt;, where the suffix is a sitecore shortid.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AccordionComponent&#xA;{&#xA;    public string ComponentId { get; private set; }&#xA;&#xA;    public AccordionComponent()&#xA;    {&#xA;        var shortId = ID.NewID.ToShortID();&#xA;        ComponentId = $&quot;accordion-{shortId}&quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And use the &lt;code&gt;ComponentId&lt;/code&gt; property in the View like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div id=&quot;@Model.ComponentId&quot; class=&quot;accordion_selector_class&quot;&amp;gt;&#xA;    ...&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Each accordion container element will have a common class that can be used to select all of them with javascript. This array of elements can then be used to apply the accordion behavior as needed.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="1150" LastEditDate="2019-12-05T18:37:54.647" LastActivityDate="2019-12-05T18:37:54.647" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6405" PostTypeId="1" CreationDate="2017-06-29T18:37:52.533" Score="1" ViewCount="687" Body="&lt;p&gt;I'm able to call this compiled dll's controller directly in a Sitecore rendering - e.g. I can create a rendering where I reference the controller, controller action, and area and the content from the compiled dll displays perfectly. However, I need to be able to create a separate rendering that calls a controller that I create, and within that controller I call the compiled dll controller action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another developer suggested that I try using &quot;return RedirectToAction&quot; for this, but this is not working (it's using the /sitecore/api route which is not a part of this compiled dll, and redirects the browser entirely to that route, which I do not want).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or insight would be very appreciated!&lt;/p&gt;&#xA;" OwnerUserId="18" LastActivityDate="2017-06-30T13:20:37.280" Title="I need to integrate a controller from a compiled dll into a controller I can build/control. How can I call that as a rendering?" Tags="|mvc|routing|integration|controller|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6406" PostTypeId="2" ParentId="6041" CreationDate="2017-06-29T19:15:38.167" Score="3" Body="&lt;p&gt;The Initialize-CSSite step in &lt;em&gt;Set up a Commerce Server Site&lt;/em&gt; should have installed the catalogs for you. Check the content editor here &lt;code&gt;/sitecore/Commerce/Catalog Management/Catalogs&lt;/code&gt; to see if you have any catalogs. If you do, and none are selected, select one and save the item. If you don't have any catalogs, try re-importing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-CSCatalog -Name MySiteName -File $catalogFile&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitename should be CFSolutionStorefrontSite based on the install process and the catalog file should be located in &lt;code&gt;\Website\SitecoreCommerce\Data&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Details on individual Commerce Powershell CmdLets are &lt;a href=&quot;http://commercesdn.sitecore.net/SCpbCS82/SitecoreCommerceGettingStarted/en-us/#DeploymentGuide/c_PowerShellCmdLets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2139" LastActivityDate="2017-06-29T19:15:38.167" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6407" PostTypeId="2" ParentId="6384" CreationDate="2017-06-29T19:21:35.483" Score="6" Body="&lt;p&gt;This is a known issue and acknowledged by Sitecore. Whilst it is being further investigated, Sitecore recommend in their &lt;a href=&quot;https://kb.sitecore.net/articles/983839&quot; rel=&quot;noreferrer&quot;&gt;Knowledge Base article&lt;/a&gt; one of the following solutions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Disable Dynamic Cache by creating an App Setting for the impacted App Service:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;App Setting Name:&lt;/strong&gt; WEBSITE_DYNAMIC_CACHE&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;App Setting Value:&lt;/strong&gt; 0&#xA;&lt;a href=&quot;https://i.stack.imgur.com/mDoOL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mDoOL.png&quot; alt=&quot;WEBSITE_DYNAMIC_CACHE&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Updating Sitecore Configuration and disable  &lt;code&gt;\wwwroot\App_config\Include\Sitecore.Diagnostics.config&lt;/code&gt; file as mentioned in the &lt;a href=&quot;https://sitecore.stackexchange.com/a/6400/135&quot;&gt;answer&lt;/a&gt; from @Tom Dudfield&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-06-29T19:21:35.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6408" PostTypeId="2" ParentId="6405" CreationDate="2017-06-29T19:24:12.480" Score="1" Body="&lt;p&gt;If I'm understanding correctly, you're looking to get the result from a controller, and return that through an API controller. The problem with that is that a controller action &lt;em&gt;generally&lt;/em&gt; returns an &lt;code&gt;ActionResult&lt;/code&gt; object, not just a string of HTML. There are many types of &lt;code&gt;ActionResult&lt;/code&gt; that would be hard to handle, or would have to be special-cased, such as &lt;code&gt;FileStreamResult&lt;/code&gt;, &lt;code&gt;RedirectResult&lt;/code&gt;, &lt;code&gt;ContentResult&lt;/code&gt;, etc. This is also complicated by the fact that a controller transparently handles applying the returned &lt;code&gt;ActionResult&lt;/code&gt;. It doesn't simply write the result to the response output, but actually &lt;em&gt;applies&lt;/em&gt; the &lt;code&gt;ActionResult&lt;/code&gt; to a &lt;code&gt;ControllerContext&lt;/code&gt; by running the &lt;code&gt;ActionResult&lt;/code&gt;'s &lt;code&gt;ExecuteResult()&lt;/code&gt; method. If you really needed to do this, and were willing to accept the numerous possible &lt;code&gt;ActionResult&lt;/code&gt; subclasses and handle each one of them, I believe you could create a temporary &lt;code&gt;ControllerContext&lt;/code&gt; and use &lt;code&gt;ExecuteResult()&lt;/code&gt; on it, but I think you'll find that this is a lot of work for little return.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're looking to just return HTML (ie, not trying to embed the result in JSON/XML), then you can simply use &lt;code&gt;@Html.Sitecore.Rendering()&lt;/code&gt; within your view pointing towards the rendering item which represents the controller in the compiled DLL, which will render that rendering (and therefore go through the other controller). See here for how to do that: &lt;a href=&quot;https://ctor.io/specify-datasource-item-of-a-statically-binded-rendering/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ctor.io/specify-datasource-item-of-a-statically-binded-rendering/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, I just want to bring up that you shouldn't be using &lt;code&gt;/api/sitecore&lt;/code&gt;. This is actually a route that's configured in the Speak configuration IIRC, and is actually supposed to be disabled on CD machines if you follow Sitecore's suggestions on configuring the machines. Instead, you should register your own custom route in the initialize pipeline. This is easy to do, and is a better practice. See here for more info: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/use_mvc_routing&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/use_mvc_routing&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're able to ensure that you get a ViewResult back from the other controller, you can do something like the following to render the returned view to a string, which you can then manipulate as you wish. It's hard to give you perfect code since you're still at the planning stage, but if you need to go this route, something like this should work. Note that I took some inspiration from here: &lt;a href=&quot;https://stackoverflow.com/questions/483091/render-a-view-as-a-string&quot;&gt;https://stackoverflow.com/questions/483091/render-a-view-as-a-string&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult MyMethod() {&#xA;    var param1 = 1;&#xA;    var param2 = &quot;test&quot;;&#xA;&#xA;    var controller = new MyOtherController{ControllerContext = ControllerContext};&#xA;&#xA;    var viewResult = (ViewResult)controller.Display(param1, param2);&#xA;&#xA;    var result = string.Empty;&#xA;&#xA;    using (var sw = new StringWriter())&#xA;    {&#xA;        var viewData = new ViewDataDictionary(viewResult.Model);&#xA;        var tempData = new TempDataDictionary();&#xA;&#xA;        var viewContext = new ViewContext(ControllerContext, viewResult.View, viewData, tempData, sw);&#xA;        viewResult.View.Render(viewContext, sw);&#xA;&#xA;        result = sw.GetStringBuilder().ToString();&#xA;    }&#xA;&#xA;    // Do something with result&#xA;&#xA;    return Content(result);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2017-06-30T13:20:37.280" LastActivityDate="2017-06-30T13:20:37.280" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="6409" PostTypeId="1" AcceptedAnswerId="6411" CreationDate="2017-06-30T06:41:12.053" Score="6" ViewCount="208" Body="&lt;p&gt;Whenever we look at email reports in the ExM it only displays links like RedirectUrlPage.aspx, we would like to see the actual destination links people click on. Any idea how to fix this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OAmh5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OAmh5.png&quot; alt=&quot;Landing Page urls are not helpful&quot;&gt;&lt;/a&gt;&#xA;We are using Sitecore version 8.2 Initial Release with ExM 3.4 Initial Release.&lt;/p&gt;&#xA;" OwnerUserId="1599" LastActivityDate="2017-06-30T11:40:29.107" Title="Landing pages on ExM 3.4 is only showing RedirectUrlPage.aspx" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6411" PostTypeId="2" ParentId="6409" CreationDate="2017-06-30T11:40:29.107" Score="4" Body="&lt;p&gt;For &lt;code&gt;8.2 Initial Release + 3.4 Initial Release&lt;/code&gt;, please request &lt;strong&gt;SC Hotfix 152518-1-CMS 8.2 Initial Release (rev. 160729) EXM 3.4 Initial Release (rev. 161028)&lt;/strong&gt; from Sitecore Support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For others using &lt;code&gt;8.2 Update 2 + EXM 3.4 Update 1&lt;/code&gt;, please request hotfix &lt;strong&gt;SC Hotfix 151869-1-CMS 8.2 Update 2 (rev. 161221) EXM 3.4 Update 1 (rev. 170105)&lt;/strong&gt; from Sitecore Support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In both cases, there is a package to install on CM servers, and a zip to extract on CD servers.&lt;/p&gt;&#xA;" OwnerUserId="85" LastActivityDate="2017-06-30T11:40:29.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6412" PostTypeId="2" ParentId="6405" CreationDate="2017-06-30T12:44:06.820" Score="0" Body="&lt;p&gt;To quote &lt;a href=&quot;https://stackoverflow.com/questions/16870413/how-to-call-another-controller-action-from-a-controller-in-mvc&quot;&gt;this answer&lt;/a&gt; by &lt;a href=&quot;https://stackoverflow.com/users/534109/tieson-t&quot;&gt;Tiesen T&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Controllers are just classes - new one up and call the action method just like you would any other class member:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var result = new ControllerB().FileUploadMsgView(&quot;some string&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your Rendering will use your own custom Controller which will invoke the methods of the controller from the assembly you're referencing. Of course the specifics are important, but this should work with all &lt;code&gt;public&lt;/code&gt; methods of the third party Controller.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-06-30T12:44:06.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6413" PostTypeId="1" CreationDate="2017-06-30T14:17:14.983" Score="5" ViewCount="679" Body="&lt;p&gt;One of our clients has reported an issue wherein after our most recent deployment some of their content appears to have gone missing and/or been reverted. I'm not looking for a way to find out the cause of or a fix for the issue just yet, but rather I am looking for a way to confirm that it occurred and - if confirmed - the time period(s) that have been affected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I am wondering is if knows if a SQL or SPE script could be used to iterate through all of the content items and use item statistics (specifically last updated time stamps) to identify the greatest periods of time within the last month when no content was edited.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-06-30T22:54:05.080" Title="Script to identify largest gap(s) in content entry over a period of time" Tags="|powershell-extensions|sql-database|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6414" PostTypeId="2" ParentId="6413" CreationDate="2017-06-30T14:35:22.577" Score="4" Body="&lt;p&gt;I would think SPE can handle the job. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a bundled report called &lt;strong&gt;Items last updated before date&lt;/strong&gt; which may meet part of the requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PmTEQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PmTEQ.png&quot; alt=&quot;Filter&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;filter Where-LastUpdated {&#xA;    param(&#xA;        [Parameter(Mandatory=$true,ValueFromPipeline=$true)]&#xA;        [Sitecore.Data.Items.Item]$Item,&#xA;&#xA;        [datetime]$Before=([datetime]::Today)&#xA;    )&#xA;&#xA;    if($Item.&quot;__Updated&quot; -le $Before) {&#xA;        $Item&#xA;    }&#xA;}&#xA;&#xA;$before = [System.DateTime]::Now&#xA;$items = Get-ChildItem -Path &quot;master:\content\home&quot; -Recurse | &#xA;    Where-LastUpdated -Before $before&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You may need to further explore the versions of each item to see those dates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use the &lt;code&gt;Get-Member&lt;/code&gt; command to help determine fields available on the item.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Here are some more ideas to consider.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Scan over all the items. This is not too expensive, plus you can run this during low usage time.&lt;/li&gt;&#xA;&lt;li&gt;Create an array and tally up all the days in which content has been updated. Essentially a histogram.&lt;/li&gt;&#xA;&lt;li&gt;Render a line chart with this information and let someone interpret the data. Use the SPE Web API to build HTML reports.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Update 2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can find the above report here (screenshot from v 4.6):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nnr0L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nnr0L.png&quot; alt=&quot;Report Path&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-06-30T21:40:21.690" LastActivityDate="2017-06-30T21:40:21.690" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6415" PostTypeId="2" ParentId="6413" CreationDate="2017-06-30T15:17:43.177" Score="4" Body="&lt;p&gt;As an alternative to Michael West's solution, I've written a quick script that should identify the actual ranges you're looking for.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$dates = @()&#xA;&#xA;Get-ChildItem -recurse master:\sitecore\content\Home | ForEach-Object {&#xA;    $date = $_.Statistics.Updated.Date&#xA;&#xA;    if (!$dates.Contains($date)) {&#xA;        $dates += $date&#xA;    }&#xA;}&#xA;&#xA;$dates = $dates | Sort-Object&#xA;&#xA;$results = @{}&#xA;&#xA;For ($i = 1; $i -le $dates.Count; $i++) {&#xA;    $prevDate = $dates[$i - 1]&#xA;    $currentDate = $dates[$i]&#xA;&#xA;    $diff = ($currentDate - $prevDate).TotalDays&#xA;&#xA;    if ($results.ContainsKey($diff)) {&#xA;        $results[$diff] += @($prevDate, $currentDate)&#xA;    }&#xA;    else {&#xA;        $results[$diff] = ,@($prevDate, $currentDate)&#xA;    }&#xA;}&#xA;&#xA;$result = $results.GetEnumerator() | Sort-Object -Descending { $_.Key }&#xA;&#xA;$largestGap = $result | Select-Object -First 1&#xA;&#xA;Write-Host &quot;Largest Gap: &quot; + $largestGap.Key&#xA;Write-Host &quot;Date Ranges: &quot;&#xA;&#xA;$largestGap.Value | ForEach-Object {&#xA;    Write-Host $_[0].ToString(&quot;D&quot;) &quot;to&quot; $_[1].ToString(&quot;D&quot;)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What this script does is get all of the unique updated dates and sorts them ascending, then iterates through each group of 2 dates in the list. It uses the difference in dates as the key in a hash and adds the date range to it. Then, it just has to get the largest key in that hash and retrieve the date ranges. I tested this on an instance I have and it works fine. Note as well that this only covers the most recent version of the items. Iterating through the versions is also possible, but it would be a much more intense load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know what formatting you're looking for, but this should do the job if you're just looking for something to pass back to your client.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2017-06-30T15:28:53.423" LastActivityDate="2017-06-30T15:28:53.423" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6416" PostTypeId="1" AcceptedAnswerId="6531" CreationDate="2017-06-30T17:50:49.040" Score="4" ViewCount="775" Body="&lt;p&gt;Telerik recently announced that there is &lt;a href=&quot;http://www.telerik.com/support/kb/aspnet-ajax/details/cryptographic-weakness&quot; rel=&quot;nofollow noreferrer&quot;&gt;a security vulnerability&lt;/a&gt; with all versions of Telerik.Web.UI.dll assembly prior to 2017.2.621.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore includes documentation on &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/secure_the_telerik_controls&quot; rel=&quot;nofollow noreferrer&quot;&gt;how to secure Telerik for Sitecore 8.x&lt;/a&gt; (edit: note that the &lt;a href=&quot;https://kb.sitecore.net/articles/978654&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; referenced in the accepted answer provides better information than this one), but there appears to be no documentation for earlier versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Sitecore 7.2 is there any issue with following the same guidelines as those for 8.x? Those would be removing these six lines from the web.config of content delivery environments:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;Telerik_Web_UI_DialogHandler_aspx&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.DialogHandler.aspx&quot; type=&quot;Telerik.Web.UI.DialogHandler&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;Telerik_Web_UI_SpellCheckHandler_axd&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.SpellCheckHandler.axd&quot; type=&quot;Telerik.Web.UI.SpellCheckHandler&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;Telerik_Web_UI_WebResource_axd&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.WebResource.axd&quot; type=&quot;Telerik.Web.UI.WebResource&quot; /&amp;gt;&#xA;&#xA;&amp;lt;add verb=&quot;*&quot; path=&quot;Telerik.Web.UI.DialogHandler.aspx&quot; type=&quot;Telerik.Web.UI.DialogHandler&quot; /&amp;gt;&#xA;&amp;lt;add verb=&quot;*&quot; path=&quot;Telerik.Web.UI.SpellCheckHandler.axd&quot; type=&quot;Telerik.Web.UI.SpellCheckHandler&quot; /&amp;gt;&#xA;&amp;lt;add verb=&quot;*&quot; path=&quot;Telerik.Web.UI.WebResource.axd&quot; type=&quot;Telerik.Web.UI.WebResource&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It would also include adding a new app setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;Telerik.AsyncUpload.ConfigurationEncryptionKey&quot; value=&quot;STRONG-RANDOM-VALUE-UNIQUE-TO-YOUR-APP&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or do earlier versions of Sitecore require the Telerik UI controls for content delivery environments?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2017-07-11T13:45:47.377" LastActivityDate="2017-07-11T13:45:47.377" Title="Securing Telerik on Sitecore 7.2" Tags="|security|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6417" PostTypeId="2" ParentId="6416" CreationDate="2017-06-30T18:00:52.403" Score="2" Body="&lt;p&gt;You should be able to follow the 8.x updates for previous version of Sitecore as the changes are not Sitecore specific. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Telerik controls are only used for the authoring of content (Rich Text Editor for example), so they are not needed on a Content Delivery server.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-06-30T18:00:52.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6418" PostTypeId="2" ParentId="6390" CreationDate="2017-06-30T18:54:23.750" Score="1" Body="&lt;p&gt;Based on the code in the &lt;code&gt;ScheduledPublish.dll&lt;/code&gt;, the reasons why you have this error is because &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;One or more of your selected languages do not have at least a version.&lt;/li&gt;&#xA;&lt;li&gt;The item is either in &lt;strong&gt;Draft&lt;/strong&gt; or &lt;strong&gt;Awaiting Approval&lt;/strong&gt; workflow.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The code make use of the &lt;code&gt;Sitecore.Data.Items.GetValidVersion&lt;/code&gt; to see if the item has a valid version. It checks the date, if the item has been approved and allow empty items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O1Kw6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O1Kw6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-06-30T18:54:23.750" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6419" PostTypeId="1" AcceptedAnswerId="6420" CreationDate="2017-06-30T19:04:29.587" Score="3" ViewCount="1006" Body="&lt;p&gt;I have a rendering in a placeholder that has an image field.  When in edit mode in Experience Editor without an image it shows a default image from Sitecore.  This default image allows the user to set that image field or manipulate it.  However, the image is optional and when working with the Experience Editor it &quot;throws off&quot; the layout and the only way to see the more accurate rendering is to save and go into preview mode.  I'd like to avoid having the user go through that every time they need to make an edit just to line things up better.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So is there a way to not display the default image in Experience Editor but still allow a user to add an image into the rendering?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe that I could put a placeholder in the rendering and allow the user to add an image to the placeholder.  But that brings up a bunch of issues (dynamic placeholders) so I don't want to do it that way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6RLZo.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6RLZo.jpg&quot; alt=&quot;The rendering on the left won&amp;#39;t have an image so I&amp;#39;d like to hide the image when in editing mode, but still have the option to add an image.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2017-06-30T19:40:20.747" Title="Allow user to insert image without showing default image" Tags="|experience-editor|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6420" PostTypeId="2" ParentId="6419" CreationDate="2017-06-30T19:23:35.710" Score="4" Body="&lt;p&gt;I get what you're saying, but you're not walking on Sitecore's path of least resistance here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While there are (several) ways to achieve this, I don't particularly like either of them for a variety of reasons - one of them being Edit Frames, as mentioned by Marek. Essentially Edit Frames will allow you to have a different handling of the image field. It will involve user clicks and a bit of a clunky interface - also a bit of setup and complexity.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My personal preference would be this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set up an additional component, make it compatible with your current one. One would be &quot;Blurp without image&quot;, the other &quot;Blurp with image&quot;. They will act the same, run on the same code, use the same data source template. Only difference will be, one of them will output the image tag for the image field - one will not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This also saves you, outputting HTML for the image when none is selected - something you likely already have to work your way around in some way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting up components like this, is a matter of defining &quot;Compatible Renderings&quot; on the Component Definition Item. Like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5sIb0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5sIb0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally; when you have compatible components like this, your editors can easily switch between one or the other as required. It becomes a button on the rendering context bar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LhiWS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LhiWS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, don't forget to define your alternate components as placeholder settings - Sitecore will only enable the &quot;Replace Component&quot; button if there are more to choose from. In my vanilla solution, this is where it is set:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OcIOd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OcIOd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For you, likely these settings will look different of course.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-06-30T19:40:20.747" LastActivityDate="2017-06-30T19:40:20.747" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6421" PostTypeId="2" ParentId="6419" CreationDate="2017-06-30T19:28:24.270" Score="0" Body="&lt;p&gt;Based on your question my understanding is that the size of the default image is causing you the layout to break correct?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In cases like this you can fix it through css specific for experience editor mode to have a default size for the images when not selected. I personally prefer this option&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or you could go directly to the placeholder image and create your own and replace with it.&#xA;The path to the default one is:&#xA;&quot;/sitecore/shell/Themes/Standard/Images/WebEdit/default_image.png&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This second option carries a caveat which is, if you upgrade Sitecore your image will be overridden so you might consider adding to source control or taking other routes.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-06-30T19:28:24.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6422" PostTypeId="2" ParentId="6413" CreationDate="2017-06-30T22:47:14.687" Score="0" Body="&lt;p&gt;I have faced such situation when someone did something and we need to figure out what went wrong and root cause analysis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in Sitecore, you have &lt;code&gt;Updated Date&lt;/code&gt; and &lt;code&gt;Updated&lt;/code&gt; which gives you the required information but those are also fields in the end and can be updated by any module running in Sitecore, so I had to find out something more reliable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is the SQL script which stores the history (at high-level such as who deleted, created, added, saved, added version or removed version, etc for the item in question or missing)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT [Id]&#xA;      ,[Category]&#xA;      ,[Action]&#xA;      ,[ItemId]&#xA;      ,[ItemLanguage]&#xA;      ,[ItemVersion]&#xA;      ,[ItemPath]&#xA;      ,[UserName]&#xA;      ,[TaskStack]&#xA;      ,[AdditionalInfo]&#xA;      ,[Created]&#xA;  FROM [dbo].[History]&#xA;  WHERE [ItemId] = '{Guide of Item}'&#xA;  ORDER BY [Created] DESC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and if you don't know the &lt;code&gt;ItemId&lt;/code&gt; you can query by &lt;code&gt;ItemPath&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT [Id]&#xA;      ,[Category]&#xA;      ,[Action]&#xA;      ,[ItemId]&#xA;      ,[ItemLanguage]&#xA;      ,[ItemVersion]&#xA;      ,[ItemPath]&#xA;      ,[UserName]&#xA;      ,[TaskStack]&#xA;      ,[AdditionalInfo]&#xA;      ,[Created]&#xA;  FROM [dbo].[History]&#xA;  WHERE [ItemPath] LIKE '/sitecore/content/home/products%' -- An Example. And here '%' symbol is wildcard character&#xA;  ORDER BY [Created] DESC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SQL result example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PxMf4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PxMf4.png&quot; alt=&quot;Example SQL results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope it helps.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2017-06-30T22:54:05.080" LastActivityDate="2017-06-30T22:54:05.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6423" PostTypeId="1" AcceptedAnswerId="6424" CreationDate="2017-07-01T18:17:30.017" Score="1" ViewCount="146" Body="&lt;p&gt;We are using WFFM on 7.2 version and I see that we can still use SQL for WFFM in latest version. Are there any disadvantages if we migrate to latest version of Sitecore and still uses SQL?&lt;/p&gt;&#xA;" OwnerUserId="1259" LastActivityDate="2017-07-01T19:39:38.537" Title="Disadvantage of using SQL with WFFM?" Tags="|wffm|migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6424" PostTypeId="2" ParentId="6423" CreationDate="2017-07-01T19:39:38.537" Score="8" Body="&lt;p&gt;This might be an opinionated question/answer, but I don't think there are real disadvantages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming you have xDB enabled (otherwise the answer is simple and you have to use sql) you should choose between analyticsFormsDataProvider (all in Mongo) or the combinedFormsDataProvider (analytics in Mongo, data in sql). Don't take the sqlFormsDataProvider as you won't have analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default the analytics is used as this is easy - everything is stored in the xDB, no need for extra sql databases.. But if you want to create your own reports/exports/... on the wffm data, most people will choose the combined as the sql is easier to use. With this configuration, the actual data is stored in a sql database and the analytics data (link between the interaction/contact and the form data) is stored in xDB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's all a matter of architecture - the decision should be made on what you want to do with your data (or possibly restrictions on where/how you have to save the data, e.g. security) &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-07-01T19:39:38.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6426" PostTypeId="2" ParentId="5931" CreationDate="2017-07-02T02:02:37.410" Score="1" Body="&lt;p&gt;that is exactly what should happen. It's part of the notes on the official rebuild reporting database instructions (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt;): &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you run the rebuild process (synchronization), this erases all information in the Sitecore_Reporting_Secondary database. Therefore, you should always use a clean copy of the database when you rebuild the reporting database because this speeds up the rebuild process and uses fewer resources.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="88" LastActivityDate="2017-07-02T02:02:37.410" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6427" PostTypeId="1" AcceptedAnswerId="6434" CreationDate="2017-07-02T09:48:25.353" Score="0" ViewCount="246" Body="&lt;p&gt;We know the Sitecore Media Library will store images. I have a requirement to set the image with an expiry date, if an image used in multiple places, based on expiry the same should not be shown. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the OOTB solution available. What are the possible options, to set the Image with Expiry date.&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="73" LastEditDate="2017-07-03T12:25:24.180" LastActivityDate="2017-07-03T12:25:24.180" Title="Sitecore Media Library - Image Expiry support?" Tags="|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6428" PostTypeId="2" ParentId="6427" CreationDate="2017-07-02T10:05:18.843" Score="1" Body="&lt;p&gt;It doesn't exist such a functionality OOTB. &#xA;You can use publishing restristriction to unpublish your image at Expiry date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To set up publishing restrictions for every version and in every language for an item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Content Editor or the Experience Editor, navigate to the item or page that you want to set up publishing restrictions for.&#xA;1. Open the Publishing Settings dialog box:&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Content Editor, on the Publish tab, in the Restrictions group, click Change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ERzZi.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ERzZi.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Publishing Settings dialog box, click the Item &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ApSEv.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ApSEv.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/set_up_publishing_restrictions_for_an_item&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/set_up_publishing_restrictions_for_an_item&lt;/a&gt; for more informations. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-07-02T10:05:18.843" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6429" PostTypeId="1" AcceptedAnswerId="6549" CreationDate="2017-07-02T10:30:49.567" Score="2" ViewCount="2027" Body="&lt;p&gt;I'm receiving an error while trying to edit any content item in the Content Tree,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this is the error message&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rYTZg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rYTZg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you help how to fix it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Updated:  Trace information&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[InvalidOperationException: ContentEditorDataContext]&#xA;  Sitecore.Diagnostics.Assert.IsNotNull(Object value, String message)&#xA;  +55    Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnLoad(EventArgs&#xA;  e) +184&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TargetInvocationException: Exception has been thrown by the target of&#xA;  an invocation.]    System.RuntimeMethodHandle.InvokeMethod(Object&#xA;  target, Object[] arguments, Signature sig, Boolean constructor) +0&lt;br&gt;&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments) +76&lt;br&gt;&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;  +211    System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35    Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs&#xA;  e) +337    System.Web.UI.Control.LoadRecursive() +71&lt;br&gt;&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;  +3178&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Update: the issue appears on a load balancing environment where having two Sitecore CMS instances that point to the same databases.&lt;/p&gt;&#xA;" OwnerUserId="2140" LastEditorUserId="2727" LastEditDate="2018-02-28T18:30:34.743" LastActivityDate="2018-04-02T11:24:44.693" Title="An exception is shown while trying to save any content item in Sitecore Content Editor" Tags="|sitecore-client|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6430" PostTypeId="1" CreationDate="2017-07-02T11:59:53.817" Score="6" ViewCount="1864" Body="&lt;p&gt;I am working on SXA 1.2 along with sitecore 8.2 rev. 161129.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to build a search functionality using SXA toolbox controls. I tried adding a Filter(dropdown) control to the page, added a class to the facet field to fill this dropdown with certain items in a folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a class implementing ISimpleFacet which returns an array of strings (Item IDs), and the value of the &quot;Field Name&quot;, was a single line text field that has a string value. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately the dropdown is not filling any value.. it is still empty. Any idea what I might be missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;following is the class written to get the items IDs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemsFacet : ISimpleFacet&#xA;{  &#xA;    public string[] Filters()&#xA;    {&#xA;        return new string[2]&#xA;        {&#xA;            &quot;1bfe1a9765d9451a9c77f9fc7210cb64&quot;,&#xA;            &quot;c9b58de777584040be1af11253b56a2a&quot;&#xA;        };&#xA;    }  &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="838" LastEditorUserId="73" LastEditDate="2018-03-12T10:26:38.613" LastActivityDate="2018-06-10T12:57:15.467" Title="Filter Dropdown datasource" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6431" PostTypeId="1" CreationDate="2017-07-03T07:35:15.793" Score="12" ViewCount="504" Body="&lt;p&gt;For a customer, we are using Profiles and Paterns to segment visitors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the attached screenshot from the Experience Profile, we see something strange in the data:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;The sum of the values in the spider chart does not match what is calculated in the paterns.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the spider chart, we see a clear interest towards Flights, but the pattern-match evens out around 25% for each pattern.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Roundtrips gathered 0 points, but the Roundtrip pattern matches almost 24%.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any suggestions on how to explain this data?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Releated questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If a visitor visits the same page multiple times during a visit, is it calculated multiple times in the Profile score?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DVge0.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DVge0.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Screenshots of Profile cards:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Kn8f4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Kn8f4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/85vZI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/85vZI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://i.stack.imgur.com/GXCS4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GXCS4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://i.stack.imgur.com/t1kTe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t1kTe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2142" LastEditorUserId="2727" LastEditDate="2018-02-10T10:00:35.103" LastActivityDate="2018-04-15T14:55:43.150" Title="How are Profile Patterns calculated during a visit?" Tags="|xdb|user-profile|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6434" PostTypeId="2" ParentId="6427" CreationDate="2017-07-03T12:15:17.470" Score="1" Body="&lt;p&gt;While the solution from Sitecore Climber might work for you, another option would be to implement it on your own:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add an &quot;expirydate&quot; field to your &lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/templates/System/Media/Versioned/File&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/templates/System/Media/Unversioned/File&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Write a processor for the HttpRequestBegin pipeline where you check if you have a mediaitem and the expirydate field is set to a past date. In case its expired, you can either 404 or redirect to another item. You might want to set the fallback item on the file item, so add another field there and you end up with a nice flexible solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The advantage compared to publishing restrictions is that you can get second-precise unpublishing more easily and have a fallback item.&lt;/p&gt;&#xA;" OwnerUserId="2126" LastActivityDate="2017-07-03T12:15:17.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6435" PostTypeId="1" AcceptedAnswerId="6442" CreationDate="2017-07-03T14:05:14.690" Score="0" ViewCount="1122" Body="&lt;p&gt;We have two scheduled tasks and the requirement is to make them run at the same time everyday. One of them is &lt;code&gt;Async&lt;/code&gt; (Task1) and the other &lt;code&gt;Non-Async&lt;/code&gt; (Task2).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore by default, auto updates its &lt;code&gt;Last Run&lt;/code&gt; field after a task is completed, and for this reason, tasks do not run at the same time everyday. For this to happen, an alternative is to update the &lt;code&gt;Last Run&lt;/code&gt; field's value to our desired DateTime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to achieve this for the &lt;code&gt;Async&lt;/code&gt; task, by following this &lt;a href=&quot;https://sitecorebasics.wordpress.com/2015/09/17/one-more-way-to-run-sitecore-scheduled-task-at-the-same-time-every-day/&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt;.&#xA;The trick is to have a &lt;code&gt;try-catch&lt;/code&gt; statement and keep the update code inside the &lt;code&gt;finally&lt;/code&gt; block.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void MethodForAsyncTask()&#xA;{&#xA;  try&#xA;  {&#xA;     //code to get some data&#xA;  }&#xA;  catch&#xA;  {&#xA;  }&#xA;  finally&#xA;  {&#xA;    //code to update the last run field value&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works only if the task is Async. Because, code in the &lt;code&gt;finally&lt;/code&gt; block gets executed after Sitecore updates the Last run field. All good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now, I need to know, how can I do this for a synchronous task, i.e updating the Last Run field value after the task is completed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One idea I had, was to create another scheduled task to run for every 1 minute and update the Last Run field value of Task2. But how do I know if the task2 was successfully completely today. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;using &lt;strong&gt;Sitecore v8.0 Update-5&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-07-04T06:00:24.067" LastActivityDate="2017-07-04T07:53:35.457" Title="How to programmatically update Last Run time for a synchronous scheduled task" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6436" PostTypeId="2" ParentId="6363" CreationDate="2017-07-03T14:38:15.217" Score="3" Body="&lt;p&gt;We had to increase the timeout further to 50000 to complete index rebuild. The timeout was caused by optimize command. It is the final step of index rebuild.&#xA;After all items are already added to the index, an optimization command is sent to Solr server. It reduces size of the index and improves search speed.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Solr.ConnectionTimeout&quot; value=&quot;500000&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2025" LastActivityDate="2017-07-03T14:38:15.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6439" PostTypeId="1" CreationDate="2017-07-03T17:47:12.810" Score="0" ViewCount="413" Body="&lt;p&gt;I'm running Sitecore 8.1 Original Release, and I've started using contact cards for storing information about my visitors. Two weeks ago I launched a campaign that personalized content based on a previous action that was taken on the website. For example, if someone completed a certain goal, I will display personalized content for them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tested the code in all of our environments (sandbox/Dev/Test/UA) and everything worked fine. When I rolled my code to our PRODUCTION environment, the personalization worked fine, however I'm getting server errors (500 error code) when the google bot is trying to access the site. I've figure out that's because Sitecore is identifying the visitor as a bot, and so it's not tracking it. In theory that's great, but now I've got to figure out how to replicate the bot error so I can fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to replicate the error using the following techniques with no error:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Curl the URL simulating the google bot agent&lt;/li&gt;&#xA;&lt;li&gt;Turn off analytics/tracking (by disabling the 2 settings in &lt;code&gt;Sitecore.xdb.config&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Installed several Chrome extensions to block cookies, simulate user agents, clear all cache, etc.&lt;/li&gt;&#xA;&lt;li&gt;I've removed the google bot agent from the list found in &lt;code&gt;Sitecore.Analytics.ExcludeRobots.config&lt;/code&gt;, and the error goes away. However, I don't want the google bot to start filling up my analytics reports.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;What else can I do to replicate the issue in a non-prod environment so I can find the offending code and fix it?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-07-03T17:47:12.810" Title="Personalization is causing 500 errors for the google bot. How do I fix this?" Tags="|xdb|experience-analytics|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6440" PostTypeId="2" ParentId="5501" CreationDate="2017-07-03T20:05:16.467" Score="1" Body="&lt;p&gt;We noticed that the List on the Form Designer has lost its Items during the upgrade. If we re-enter the Items in the Form Designer it works correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Form Designer - List in 7.5:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/otfs8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/otfs8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Form Designer - List in 8.1:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I4SiM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I4SiM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastActivityDate="2017-07-03T20:05:16.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6441" PostTypeId="2" ParentId="4311" CreationDate="2017-07-03T20:36:40.563" Score="0" Body="&lt;p&gt;OK, so we were finally able to figure out how to solve the problem: We had to upgrade our SXA install to use 1.3 Update 1. We hadn't touched this project for a few months, and decided to go ahead and start with the latest version of SXA. We synced with TDS, and now everything seems to be working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps someone else!&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-07-03T20:36:40.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6442" PostTypeId="2" ParentId="6435" CreationDate="2017-07-03T20:44:48.877" Score="3" Body="&lt;p&gt;Since you did not provide any context of the task, let's say that you have a task which needs to update the fields of Sitecore Items. So, when the time comes, the task will trigger the code and the method you provided and it will be something as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Run()&#xA;{&#xA;    var items = Factory.GetDatabase(&quot;master&quot;).GetItem(&quot;Path or Id here&quot;).Children.ToList();&#xA;&#xA;    foreach(var item in items)&#xA;    {&#xA;        // Perform the update of the field here&#xA;    }&#xA;&#xA;    // Once all items have been processed, the task is completed.&#xA;    // Perform the update the the Last Run field here.&#xA;&#xA;    using (new SecurityDisabler())&#xA;    {&#xA;        // Update the item that contains the Last Run field here&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Normally, you can use the listed modules below to perform your requirement.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecron&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Powershell&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I would recommend to use the Sitecore Powershell since it already has an in-built task functionality and also you can set if the task is async or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, it will automatically update the Last Run field on the task item. So, all you will need to do is to create the Powershell script. You can use the powershell script to call your &lt;code&gt;C#&lt;/code&gt; code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For you to be able to update the field Last Run based on your requirement, you need to add a handler to the &lt;code&gt;item:saved&lt;/code&gt; event. Then, in the code&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;First check if the item being saved is the task item.&lt;/li&gt;&#xA;&lt;li&gt;If yes, proceed with the Last Run field update else skip.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/tasks.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Powershell Task&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://hishaamn.wordpress.com/2017/03/05/sitecore-powershell-from-powershell-to-net-code/&quot; rel=&quot;nofollow noreferrer&quot;&gt;From Sitecore Powershell Script to C# code&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-07-04T07:53:35.457" LastActivityDate="2017-07-04T07:53:35.457" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6443" PostTypeId="1" AcceptedAnswerId="6447" CreationDate="2017-07-03T20:54:03.170" Score="4" ViewCount="2625" Body="&lt;p&gt;I have a branch template that is used to create a landing page with related content. I want to set the data source of the parent page's content sublayout to the parent page's content item child.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;test-landing-page&lt;/code&gt; &amp;lt;-- This is the parent page item with the content sublayout&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;--test-content-item&lt;/code&gt; &amp;lt;-- This is the content item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since I control the name of the content item via the branch template, I can reliably predict what the data source ought to be (using $name for the child content item that is). This Sitecore query returns my item when I test it in XPath Builder:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/content/Sites/home/landing-pages/descendant::*[@@name = 'test-landing-page']/*[@@name = 'test-landing-page']&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only issue is that the query does not set the data source for the sub layout. Indeed, when I use the 'Build query' option it does not return any results. I tried using the query builder to create something similar but the options (and documentation) are too limited.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is setting the data source via a Sitecore query or fast query just not possible or is there a way to construct this query using the Query builder that I am somehow missing? &lt;/p&gt;&#xA;" OwnerUserId="583" LastEditorUserId="890" LastEditDate="2018-04-11T18:55:43.517" LastActivityDate="2018-04-11T21:24:39.567" Title="Is it possible to use a Sitecore query to set an item's data source?" Tags="|sitecore-query|branch|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6447" PostTypeId="2" ParentId="6443" CreationDate="2017-07-04T06:58:16.957" Score="5" Body="&lt;p&gt;As mentioned in my comment, I noticed on a project that it was not possible to use queries in a datasource field. I had a branch template that created some children and the parent item might have renderings that have a datasource linked to one of the children. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first step was to get the items that I needed for the datasource: the original one (in the branch template) and the newly created one. As you mention that this should not be an issue in your case, let's skip this part.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created an OnItemAdded event and set it first in the item:added event:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;item:added&quot;&amp;gt;&#xA;  &amp;lt;handler patch:before=&quot;*[1]&quot; type=&quot;...,...&quot; method=&quot;OnItemAdded&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this event, I check if the item was created from a branch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var item = Event.ExtractParameter(args, 0) as Item;&#xA;if (item != null &amp;amp;&amp;amp; item.BranchId != ID.Null)&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could even check for a specific branch here if needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Knowing the source and target item (branch datasource and new one) I call a function to process the both layout fields on the newly created (parent) item  the one that has the renderings on:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ProcessField(item.Fields[Sitecore.FieldIDs.LayoutField], ...);&#xA;ProcessField(item.Fields[Sitecore.FieldIDs.FinalLayoutField], ...);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you are sure that the rendering will always be in one those, you can skip the other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this &lt;code&gt;ProcessField&lt;/code&gt; method, I use string replacements on the field value to change the datasource(s). I am replacing these both on ID and path, but for datasources just on the ID should be enough I think.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use an EditContext for the replacement:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new EditContext(field.Item, false, false))&#xA;{&#xA;    field.Value = value;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the parameters in the EditContext: I'm not updating the statistics (as I don't want my interference to be seen there) and also using silent mode (to avoid new events being fired).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That should do it.. you can check the full code of the module where I used this here: &lt;a href=&quot;https://github.com/Gatogordo/LocalDatasources/tree/master/source&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Gatogordo/LocalDatasources/tree/master/source&lt;/a&gt;  and the blog post about it here: &lt;a href=&quot;https://ggullentops.blogspot.be/2017/03/local-datasources-standard-values-branch.html&quot; rel=&quot;noreferrer&quot;&gt;https://ggullentops.blogspot.be/2017/03/local-datasources-standard-values-branch.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-07-04T06:58:16.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6448" PostTypeId="2" ParentId="6310" CreationDate="2017-07-04T07:20:51.483" Score="3" Body="&lt;p&gt;You should upload your ARM templates and parameters to blob storage and make them available for the script.&#xA;Define parameter &quot;templateLinkBase&quot; in the parameters JSON file and provide the value for that which is the direct link to the container in your blob storage. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;templateLinkBase&quot;: {&#xA;  &quot;value&quot;: &quot;https://ibuazurews.blob.core.windows.net/arm/&quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: the URI should have a trailing slash.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to make it accessible for the script generate the SAS token for that container (for example using Azure Storage Explorer application) and put that SAS token into the parameter &quot;templateLinkAccessToken&quot; that should be also defined in the parameters JSON file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, as a result, you have 2 additional parameters in your parameters JSON file: one is defined above and the second one is for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;templateLinkAccessToken&quot;: {&#xA;      &quot;value&quot;: &quot;?st=2017-07-03T08%3A23%3A00Z&amp;amp;se=2017-07-04T08%3A23%3A00Z&amp;amp;sp=rwl&amp;amp;sv=2015-12-11&amp;amp;sr=c&amp;amp;sig=fj%2BhsmNYDBcYLcbRpcHkb794mHa9K5F3dElArsg05zg%3D&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And of course upload the ARM templates, &quot;nested&quot; and &quot;addons&quot; folders with their content to that container. See on the picture below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9pYNR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9pYNR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="234" LastEditorUserId="73" LastEditDate="2017-07-04T08:11:30.323" LastActivityDate="2017-07-04T08:11:30.323" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6449" PostTypeId="1" AcceptedAnswerId="6451" CreationDate="2017-07-04T09:13:14.100" Score="1" ViewCount="253" Body="&lt;p&gt;Is there any setting out of the box that allows Sitecore logins to differentiate between capital and lowercase letters so the username has to match exactly?&lt;/p&gt;&#xA;" OwnerUserId="120" LastActivityDate="2017-07-04T10:05:57.923" Title="Can logins in Sitecore be configured to be Case sensitive?" Tags="|login|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6451" PostTypeId="2" ParentId="6449" CreationDate="2017-07-04T09:24:13.627" Score="8" Body="&lt;p&gt;No.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no out of the box setting for this. In general, the overall consensus on the web is - that having usernames such as &lt;code&gt;user1&lt;/code&gt;, &lt;code&gt;UsEr1&lt;/code&gt;, &lt;code&gt;USER1&lt;/code&gt; in your membership database is... should we say &quot;less than ideal&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Likely you would run into all sorts of trouble, even if you were to implement it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional reading:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://forums.asp.net/t/1050454.aspx?Login+name+is+not+case+sensitive&quot; rel=&quot;noreferrer&quot;&gt;https://forums.asp.net/t/1050454.aspx?Login+name+is+not+case+sensitive&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of curiosity, I took a deep dive into Sitecore Security code to see if your scenario would be supported even. And the answer is; &lt;em&gt;it will not be supported&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a snippet of code from &lt;code&gt;ItemAuthorizationHelper&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;account.Name.Equals(item.Security.GetOwner(), StringComparison.InvariantCultureIgnoreCase)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore, internally, treats all Account Names and User Names as case-insensitive.  If you were to have user names like &lt;code&gt;User1&lt;/code&gt; and &lt;code&gt;USER1&lt;/code&gt; they would be indistinguishable from a Sitecore perspective - not a place you want to be.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-07-04T10:05:57.923" LastActivityDate="2017-07-04T10:05:57.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6452" PostTypeId="1" CreationDate="2017-07-04T10:40:54.893" Score="5" ViewCount="2108" Body="&lt;p&gt;I am setting up the Hedgehog.TDS nuget package as per &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/TDS-Classic-License-NuGet-Package&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Blog/TDS-Classic-License-NuGet-Package&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using this on TeamCity and we still have agents that have TDS installed&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was hoping that I could use the Nuget package setup alongside other projects that still required TDS to be installed while we migrate. However I am getting the following error on the build server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; E:\Work\23fd9662408071fa\src\Demo\packages\HedgehogDevelopment.TDS.5.6.0.13\build\&#xA; HedgehogDevelopment.TDS.targets(362,109): error MSB4064: The &quot;ConfigurationToBuild&quot; parameter is not supported by the &quot;GetProjectContentFiles&quot; task. Verify the parameter exists on the task, &#xA; and it is a settable public instance property. [E:\Work\23fd9662408071fa\src\Demo&#xA; \Demo.Components.TDS.Master\Demo.Components.TDS.Master.scproj]&#xA;&#xA;&#xA; E:\Work\23fd9662408071fa\src\Demo\packages\HedgehogDevelopment.TDS.5.6.0.13\build\&#xA; HedgehogDevelopment.TDS.targets(362,5): error MSB4063: The &quot;GetProjectContentFiles&quot; task &#xA; could not be initialized with its input parameters.  [E:\Work\23fd9662408071fa\src\Demo\&#xA; Demo.Components.TDS.Master\Demo.Components.TDS.Master.scproj]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is causing this error? Is it because the Nuget and MSBuild target files or DLLs compete with each other?&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="418" LastEditDate="2017-07-05T17:00:02.847" LastActivityDate="2020-07-06T21:24:46.460" Title="Using the HedgehogDevelopment.TDS NuGet package causes build error in TeamCity" Tags="|tds|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6453" PostTypeId="2" ParentId="4655" CreationDate="2017-07-04T12:49:02.007" Score="1" Body="&lt;p&gt;For anyone coming across this here is what I did. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a DI configured it resets any routes registered after you've added them so you need to register them in the initialize Pipeline like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create a pipeline to register your route:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterMySampleRoute&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapHttpRoute(&quot;my_sample_route&quot;, &#xA;            &quot;mysample/api/{controller}/{action}&quot;, &#xA;            new {controller = &quot;SampleController&quot;}&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Then patch it in like so:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&quot;MyNamespace.Pipelines.RegisterMySampleRoute, MyNamespace&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should then find your custom routes will work as expected.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-07-04T12:49:02.007" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6454" PostTypeId="2" ParentId="5613" CreationDate="2017-07-04T13:10:38.740" Score="4" Body="&lt;p&gt;I would recommend using the ServerTimeZone setting in Sitecore.config, especially when you have servers set to UTC as often happens, or you have servers distributed in different timezones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The doc site has a really good write-up on dates, UTC and timezones here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/utc/settings_supporting_utc_implementation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/utc/settings_supporting_utc_implementation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case that link dies in future, the main comment is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This setting specifies the server time zone that is  used by the&#xA;  server to convert UTC time to local time, for example &quot;GMT Standard&#xA;  Time&quot;.&#xA;              The value must be parsable to a valid Time Zone ID.                   See &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/gg154758.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://msdn.microsoft.com/en-us/library/gg154758.aspx&lt;/a&gt;&#xA;              If blank, Sitecore uses the operating system time zone.&#xA;              Default value: &quot;&quot; (use the operating system time zone)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Hopefully soon the platform will support allowing a User to choose their own preferred timezone. In the meantime I wouldn't try and work around this but rather rely on training, as others have suggested. It would be even more confusing if the dates across the different screens in Sitecore were all based off an inconsistent timezone.&lt;/p&gt;&#xA;" OwnerUserId="85" LastActivityDate="2017-07-04T13:10:38.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6455" PostTypeId="1" AcceptedAnswerId="6483" CreationDate="2017-07-04T13:10:48.923" Score="1" ViewCount="835" Body="&lt;p&gt;If you don't switch to another tier in time; Sitecore returns an Application error and is not available anymore. Monitoring Redis can be one solution, but are there any other options available?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://stackoverflow.com/questions/9987832/redis-with-resque-and-rails-err-command-not-allowed-when-used-memory-maxmemo&quot;&gt;https://stackoverflow.com/questions/9987832/redis-with-resque-and-rails-err-command-not-allowed-when-used-memory-maxmemo&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Server Error in '/' Application.&lt;/strong&gt; ERR Error running script (call to f 7e0662727036231aea0363a485a8ee05e576df94): Causer script:2: Causer&#xA;  script: 2: -OOM command not allowed when used memory &gt; 'maxmemory'.&#xA;  Description: An unhandled exception occurred during the execution of&#xA;  the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code.&#xA;  Exception Details: StackExchange.Redis.RedisServerException: ERR Error&#xA;  running script (call to f_7e0662727036231aea0363a485a8ee05e576df94):&#xA;  @user_script:2: @user_script: 2: -0011 command not allowed when used&#xA;  &lt;strong&gt;memory. &gt; 'maxmemory&lt;/strong&gt;. Source Error:  An unkandled exception was generated during the execution of the current web request. Information&#xA;  regarding the origin and location of the exception can be identified&#xA;  using the exception stack trace below.  Stack Trace: &#xA;  [RedisServerException: ERR Error running script (call to&#xA;  f_7e0662727036231aea0363a485a8ee05e576df94): @user_script:2:&#xA;  @user_script: 2: -OOM command not allowed when used memory &gt;&#xA;  'maxmemory'.&#xA;  StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl(Message&#xA;  message, ResultProcessor'1 processor, ServerEndPoint server) +2886&#xA;  StackExchange.Redis.RedisBase.ExecuteSync(Message message,&#xA;  ResultProcessor'1 processor, ServerEndPoint server) +122&#xA;  StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script,&#xA;  RedisKey[] keys, RedisValuen values, CommandFlags flags) +279&#xA;  Sitecore.SessionProvider.Redis.&amp;lt;&gt;c DisplayClass7.b 6() +55&#xA;  Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryForScriptNotFound(Func'1&#xA;  redisOperation) +135&#xA;  Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryLogic(Func'1&#xA;  redisOperation) +144&#xA;  Sitecore.SessionProvider.Redis.StackExchangeClientConnection.Eval(String&#xA;  script, String[] keyArgs, Object[] valueArgs) +542&#xA;  Sitecore.SessionProvider.Redis.RedisConnectionWrapper.Set(String&#xA;  sessionId, ISessionStateltemCollection data, Int32 sessionTimeout)&#xA;  +169 Sitecore.SessionProvider.Redis.RedisSessionStateProvider.SetAndReleaseItemExclusive(HttpContext&#xA;  context, String id, SessionStateStoreData item, Object lockld, Boolean&#xA;  newltem) +902&#xA;  System.Web.SessionState.SessionStateModule.0nReleaseState(Object&#xA;  source, EventArgs eventArgs) +909&#xA;  System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  +142 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +92  I  Version Information:&#xA;  Microsoft NET Framework Version:4.0.30319; ASP.NET Version:4.6.1590.0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="714" LastEditorUserId="70" LastEditDate="2017-07-05T17:08:45.647" LastActivityDate="2017-07-06T14:06:11.743" Title="Sitecore fails when memory &gt; maxmemory in Redis" Tags="|azure|redis|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6457" PostTypeId="1" AcceptedAnswerId="6458" CreationDate="2017-07-04T17:00:39.173" Score="2" ViewCount="6333" Body="&lt;p&gt;When trying to save changes to page layout in Experience Editor, errors appear and the page does not save.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The details in the logs showed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Xml.XmlException  Message[1]: Root element is missing.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I could see this was an issue to do with &lt;code&gt;DyanamicPlaceholdersDebug.OnItemSaved&lt;/code&gt; failing but wasn't sure what.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="2151" LastEditDate="2017-07-05T08:51:31.073" LastActivityDate="2017-07-05T08:51:31.073" Title="ERROR One or more exceptions occurred while processing the subscribers to the 'item:saved' event" Tags="|pipelines|dynamic-placeholder|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6458" PostTypeId="2" ParentId="6457" CreationDate="2017-07-04T17:00:39.173" Score="5" Body="&lt;p&gt;After some debugging by overriding the pipeline with my own I figured out this was due to an empty _renderings field. The _finalrenderings field was populated but the _renderings field wasn't and the Dynamic Placeholders save pipeline expects it to be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AeKvA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AeKvA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was due to a miss-configuration on the standard values of the template for the page. Updating this so that the standard values set a layout and components on the shared layout instead of the final layout solved the problem.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-07-04T17:00:39.173" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6460" PostTypeId="1" AcceptedAnswerId="6464" CreationDate="2017-07-05T09:18:44.237" Score="2" ViewCount="580" Body="&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/setting_up/enable_and_set_up_language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; the Sitecore documentation says:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In multisite environments where you only want to enable language fallback on a subset of the websites, you need to &lt;em&gt;create a specific shell site for each website where you want the language fallback feature enabled.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What should be the configuration for the the &lt;em&gt;specific shell site&lt;/em&gt;?&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-07-05T10:12:17.490" Title="How to enable item language fallback in a multi-site solution for particular sites?" Tags="|multilingual|multisite|language-fallback|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6461" PostTypeId="1" AcceptedAnswerId="6468" CreationDate="2017-07-05T09:36:37.933" Score="1" ViewCount="630" Body="&lt;p&gt;I have a Sitecore multi-site solution set up to use a third party service to authenticate users, these sites are mostly divisions under the main site, but each one has its own host name and site definition and my client is asking if there is a way that a user can stay authenticated while navigating through these sub-sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to share the session variable between these sites?&lt;/p&gt;&#xA;" OwnerUserId="329" LastActivityDate="2017-07-06T16:11:53.613" Title="Share Session across Sitecore subsites" Tags="|multisite|authentication|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6462" PostTypeId="2" ParentId="6461" CreationDate="2017-07-05T09:41:29.120" Score="1" Body="&lt;p&gt;You need to pass the credentials between the different subsites (when they are on different domains). You can do that by having specific landing pages between sites, to do the work (&lt;a href=&quot;https://stackoverflow.com/questions/351873/passing-credentials-between-sites&quot;&gt;https://stackoverflow.com/questions/351873/passing-credentials-between-sites&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another solution could be to have user id token in each websites cookie and automatically log in when referrer is a known site (not so pretty).&lt;/p&gt;&#xA;" OwnerUserId="327" LastEditorUserId="605" LastEditDate="2017-07-05T10:05:36.557" LastActivityDate="2017-07-05T10:05:36.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6463" PostTypeId="1" AcceptedAnswerId="6465" CreationDate="2017-07-05T09:55:21.273" Score="10" ViewCount="1453" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore Experience Accelerator 1.4&lt;/code&gt; and I do not want to use &lt;code&gt;Bootstrap, Foundation or Grid960&lt;/code&gt;. I have my &lt;code&gt;custom CSS framework&lt;/code&gt;. Anyone can provide me a solution that how I can add a new Grid?&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="5387" LastEditDate="2020-04-03T06:46:52.990" LastActivityDate="2020-04-03T06:46:52.990" Title="Create new Grid in Sitecore Experience Accelerator" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="6464" PostTypeId="2" ParentId="6460" CreationDate="2017-07-05T10:12:17.490" Score="4" Body="&lt;p&gt;In short; I probably wouldn't do it.&lt;/p&gt;&#xA;&lt;h3&gt;Background&lt;/h3&gt;&#xA;&lt;p&gt;The issue here is; that Language Fallback is a mechanism that not only affects your content delivery; it also affects behaviour inside the Sitecore clients themselves (Experience Editor and Content Editor).&lt;/p&gt;&#xA;&lt;p&gt;These both run in the context of the &lt;code&gt;&amp;quot;shell&amp;quot;&lt;/code&gt; site.&lt;/p&gt;&#xA;&lt;p&gt;For a solution wide approach, see the answer already given here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5873/what-is-the-use-of-shell-website-in-the-sitecore-languagefallback-config-file&quot;&gt;What is the use of &amp;quot;shell&amp;quot; website in the Sitecore.LanguageFallback.config file&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The issue is; once you enable Language Fallback for &lt;code&gt;&amp;quot;shell&amp;quot;&lt;/code&gt;, it will take effect on Experience Editor and Content Editor - &lt;em&gt;regardless of what site you are actually editing&lt;/em&gt;. There is no way around this; this is just how these Sitecore client interfaces work.&lt;/p&gt;&#xA;&lt;h3&gt;What it means&lt;/h3&gt;&#xA;&lt;p&gt;So essentially; if you want different behaviour &lt;em&gt;by-site&lt;/em&gt;, you are going to have to configure separate Content Editing (Sitecore Client) environments per site. The way to do this, would be to configure additional &lt;code&gt;&amp;quot;shell&amp;quot;&lt;/code&gt; sites.&lt;/p&gt;&#xA;&lt;p&gt;It's easy enough to do, as such. At least on paper. You can define multiple sites inheriting from your &lt;code&gt;&amp;quot;shell&amp;quot;&lt;/code&gt; site (as shown in the linked answer), and additionally configure them with a &lt;code&gt;hostName&lt;/code&gt; attribute to respond to. The end result being; you go to &lt;code&gt;www.site1.com/sitecore&lt;/code&gt;, the &lt;code&gt;&amp;quot;shell&amp;quot;&lt;/code&gt; site without Language Fallback gets triggered. And then &lt;code&gt;www.site2.com/sitecore&lt;/code&gt; with Language Fallback enabled.&lt;/p&gt;&#xA;&lt;p&gt;But your editors would need to log in and out using different host names, and I don't really think they're going to appreciate this.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-07-05T10:12:17.490" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6465" PostTypeId="2" ParentId="6463" CreationDate="2017-07-05T10:14:46.567" Score="12" Body="&lt;p&gt;&lt;strike&gt;It is easy.&lt;/strike&gt; The implementation steps are low complexity.&#xA;See how bootstrap is configured&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Create Grid Theme&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/media library/Feature/Experience Accelerator/Bootstrap/Bootstrap&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why/What?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is your custom grid theme. The most important thing is to include your css file with all your grid classes&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Create Grid Definition&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Settings/Feature/Experience Accelerator/Bootstrap/Grid Definition&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why/What?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This item contains children which defines your devices (Phone, Desktop). Each device can have different properties (Size, Push, Pull, Offset) and each property can have different values (css classes, for example &lt;code&gt;col-xs-1&lt;/code&gt; for &lt;code&gt;Phone Device-&amp;gt;Size-&amp;gt;1&lt;/code&gt;, you will use your grid classes here)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Fields:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;RenderingParametersFieldType&lt;/code&gt; - I assume you are not doing anything custom here, so you can use default field renderer: &lt;code&gt;Sitecore.XA.Foundation.Grid.Fields.FieldRenderers.GridRenderingParametersFieldRenderer, Sitecore.XA.Foundation.Grid&lt;/code&gt;. Once you fill this field and save an item you should see &lt;code&gt;DefaultGridParameters&lt;/code&gt; rendering your configuration.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;DefaultGridParameters&lt;/code&gt; - provide default values here&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Grid Theme&lt;/code&gt; - link to your grid theme defined in &lt;strong&gt;step 1&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;GridFieldParserType&lt;/code&gt; - link in first point, use default: &lt;code&gt;Sitecore.XA.Foundation.Grid.Parser.GridFieldParser,Sitecore.XA.Foundation.Grid&lt;/code&gt; if you are not going to customize anything.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;GridBodyViewPath&lt;/code&gt; - path to your &lt;code&gt;cshtml&lt;/code&gt; file which contains your grid layout. Remember to include all necessary placeholders (&lt;code&gt;header&lt;/code&gt;, &lt;code&gt;main&lt;/code&gt;, &lt;code&gt;footer&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Create Scaffolding Setup&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Settings/Feature/Experience Accelerator/Bootstrap/Grid Setup&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why/What?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This item contains only link to a &lt;code&gt;Grid Definition&lt;/code&gt; and &lt;code&gt;Name&lt;/code&gt; that will appear in a new &lt;em&gt;Site Dialog&lt;/em&gt; in the tab with grid selection&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="95" LastEditDate="2019-12-04T19:29:09.397" LastActivityDate="2019-12-04T19:29:09.397" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="6468" PostTypeId="2" ParentId="6461" CreationDate="2017-07-05T12:58:58.077" Score="5" Body="&lt;p&gt;You can use SSO software to treat all of the sites as part of a single 'authentication' realm. That way you log in once and then each site pings back to your SSO software to get the token or authentication confirmation.&lt;/p&gt;&#xA;&lt;h2&gt;Shibboleth&lt;/h2&gt;&#xA;&lt;p&gt;One example of SSO Software is Shibboleth. It acts as a central gatekeeper and you can set up Service Providers on your server to protect your site and send it to the Identity Provider. Some details on using Shibboleth with Sitecore are here:&#xA;&lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2017/04/Using-Shibboleth-SSO-for-a-Sitecore-Intranet-Experience.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2017/04/Using-Shibboleth-SSO-for-a-Sitecore-Intranet-Experience.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Owin/SAML federated authentication&lt;/h2&gt;&#xA;&lt;p&gt;Another example would be using something like Owin for federated authentication. Bas Litjen has a module for federated authentication which can consume authentication tokens and log users in:&#xA;&lt;a href=&quot;https://github.com/BasLijten/SitecoreFederatedLogin&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/BasLijten/SitecoreFederatedLogin&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;More details are also available on this SSE post: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3447/does-sitecore-support-saml&quot;&gt;Does Sitecore support SAML?&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Active Directory module&lt;/h2&gt;&#xA;&lt;p&gt;Another option is using Sitecore's active directory module for authentication. There are some details on using it for SSO in this SSE post: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4927/active-directory-and-sso-in-sitecore-8-1&quot;&gt;Active Directory and SSO in Sitecore 8.1&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Gigya (credit to @Mohit Dharmadhikari)&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.gigya.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Gigya&lt;/a&gt; is one of the top Identity as a service (IDaaS) platform. It has loads of other offering as well. There's a &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/G/GigyaSitecore_Connector.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Gigya Connector for Sitecore&lt;/a&gt; available on the Sitecore Marketplace.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-07-06T16:11:53.613" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6469" PostTypeId="1" AcceptedAnswerId="6473" CreationDate="2017-07-05T13:40:40.530" Score="5" ViewCount="2587" Body="&lt;p&gt;Im am trying to mimic the functionality of using a custom item resolver. In Sitecore 7.2, I had a custom item resolver. It would look at the resolved item, and if it was of a specific Template, it would fall back to a different item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.2, this doesnt work because in the PageContext GetItem method, it looks at the Context.Item and checks the ID against the mvc.GetPageItem result ID. If they are different, it resets the Context.Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I created a custom PageContext, and added my fallback logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I replaced Sitecore's SetupPageContext with my own that created my custom PageContext:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SetupPageContext : RequestBeginProcessor&#xA;{&#xA;    public override void Process(RequestBeginArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        this.SetupContext(args);&#xA;    }&#xA;&#xA;    protected virtual PageContext CreateInstance(RequestContext requestContext, RequestBeginArgs args)&#xA;    {&#xA;        return new PageContext()&#xA;        {&#xA;            RequestContext = requestContext&#xA;        };&#xA;    }&#xA;&#xA;    protected virtual void SetCurrent(PageContext pageContext, RequestBeginArgs args)&#xA;    {&#xA;        ContextService.Get().Push&amp;lt;PageContext&amp;gt;(pageContext);&#xA;    }&#xA;&#xA;    protected virtual void SetupContext(RequestBeginArgs args)&#xA;    {&#xA;        this.SetCurrent(this.CreateInstance(args.RequestContext, args), args);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I made a custom PageContext that inherits from Sitecore's PageContext:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageContext : Sitecore.Mvc.Presentation.PageContext&#xA;{&#xA;    private readonly Flag _getItemFlag = new Flag();&#xA;&#xA;    public new static PageContext Current =&amp;gt; ContextService.Get().GetCurrent&amp;lt;PageContext&amp;gt;();&#xA;&#xA;    protected override Item GetItem()&#xA;    {&#xA;        using (new RecursionPreventer(&quot;GetItem&quot;, _getItemFlag))&#xA;        {&#xA;            using (TraceBlock.Start(&quot;Get item for {0}.&quot;.FormatWith((object)typeof(PageContext))))&#xA;            {&#xA;                Item obj = PipelineService.Get().RunPipeline&amp;lt;GetPageItemArgs, Item&amp;gt;(&quot;mvc.getPageItem&quot;, new GetPageItemArgs(), (Func&amp;lt;GetPageItemArgs, Item&amp;gt;)(args =&amp;gt; args.Result));&#xA;                obj = GetFallbackItem(obj);&#xA;&#xA;                if (obj != null)&#xA;                {&#xA;                    if (Context.Language == (Language)null || Context.Language != obj.Language)&#xA;                        Context.Language = obj.Language;&#xA;                    if (Context.Item == null || Context.Item.ID != obj.ID)&#xA;                        Context.Item = obj;&#xA;                    return obj;&#xA;                }&#xA;                Tracer.Info((object)&quot;Using Sitecore.Context.Item.&quot;);&#xA;                return Context.Item;&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    protected virtual Item GetFallbackItem(Item requestItem)&#xA;    {&#xA;        var defaultPath = System.Configuration.ConfigurationManager.AppSettings[&quot;CountryResolver.DefaultPath&quot;].ToString();&#xA;&#xA;        var localPath = string.Empty;&#xA;        if (RequestContext.HttpContext != null)&#xA;        {&#xA;            if (RequestContext.HttpContext.Request.Url != null)&#xA;            {&#xA;                localPath = RequestContext.HttpContext.Request.Url.LocalPath;&#xA;            }&#xA;        }&#xA;        if (localPath == string.Empty)&#xA;            return requestItem;&#xA;&#xA;        if (!ShouldRun(localPath))&#xA;        {&#xA;            return requestItem;&#xA;        }&#xA;&#xA;        // Use the item under the client home if it exists, otherwise use the item under the default item       &#xA;        var countryItem = Context.Database.GetItem($&quot;{Context.Site.StartPath}{localPath}&quot;);&#xA;        var defaultItem = Context.Database.GetItem($&quot;{defaultPath}{localPath}&quot;);&#xA;        var countryItemTemplate = countryItem?.TemplateName.ToLower() ?? &quot;&quot;;&#xA;&#xA;        var excludedTemplates = System.Configuration.ConfigurationManager.AppSettings[&quot;CountryResolver.ExcludedTemplates&quot;].Split(&quot;,&quot;.ToCharArray());&#xA;&#xA;        if (countryItem != null &amp;amp;&amp;amp; !excludedTemplates.Contains(countryItemTemplate))&#xA;        {&#xA;            return !countryItem.HasLanguageVersion(countryItem.Language.Name) ? Context.Database.GetItem(Context.Site.StartPath) : countryItem;&#xA;        }&#xA;        else&#xA;        {&#xA;            if (defaultItem != null) //This check is necessary to permit aliases to pass.&#xA;            {&#xA;                return !defaultItem.HasLanguageVersion(defaultItem.Language.Name) ? Context.Database.GetItem(Context.Site.StartPath) : defaultItem;&#xA;            }&#xA;        }&#xA;        return requestItem;&#xA;    }&#xA;&#xA;    private static bool ShouldRun(string localPath)&#xA;    {&#xA;        // Has context NOT been established&#xA;        // or is this not a page request?&#xA;        if (Context.Database == null || localPath.Length == 0)&#xA;            return false;&#xA;&#xA;&#xA;        // This is here to avoid slowing down TDS Sitecore syncs on developer machines.&#xA;        if (localPath.StartsWith(&quot;/_dev/&quot;, StringComparison.InvariantCultureIgnoreCase))&#xA;            return false;&#xA;&#xA;&#xA;        // This is here to avoid interfering with system functions like visitor identification.&#xA;        if (localPath.StartsWith(&quot;/layouts/system&quot;, StringComparison.InvariantCultureIgnoreCase))&#xA;            return false;&#xA;&#xA;&#xA;        // This prevents this resolver from running for excluded sites&#xA;        var excludedSites = System.Configuration.ConfigurationManager.AppSettings[&quot;ItemResolver.ExcludedSites&quot;].ToString().Split(&quot;,&quot;.ToCharArray());&#xA;&#xA;        return !excludedSites.Contains(Context.Site.Name.ToLower());&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This worked fine, in that it compiled, and I was able to have Sitecore create my PageContext instead of theirs, except when it tries to retrieve the current PageContext, I get an error because it is looking specifically for Sitecore.Mvc.Presentation.PageContext, and not my custom PageContext. Although the methods on PageContext are mostly all virtual, and thus overrideable, the PageContext.Current method is static.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static PageContext Current&#xA;{&#xA;  get&#xA;  {&#xA;    return ContextService.Get().GetCurrent&amp;lt;PageContext&amp;gt;();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried replacing that call using 'new' as you can see above but that did not seem to solve the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And so, it looks for Sitecore's PageContext and not mine. How can I get past this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Attempt to retrieve context object of type 'Sitecore.Mvc.Presentation.PageContext' from empty stack.&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.InvalidOperationException: Attempt to retrieve context object of type 'Sitecore.Mvc.Presentation.PageContext' from empty stack.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[InvalidOperationException: Attempt to retrieve context object of type 'Sitecore.Mvc.Presentation.PageContext' from empty stack.]&#xA;  Sitecore.Mvc.Common.ContextService.Peek() +267&#xA;  Sitecore.Mvc.Pipelines.MvcPipelineArgs.get_PageContext() +23 &#xA;&#xA;Sitecore.Mvc.Pipelines.Request.RequestBegin.ExecuteFormHandler. &#xA; Process(RequestBeginArgs args) +26&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +479&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +74&#xA;System.Web.CallHandlerExecutionStep.System.Web.HttpApplication. IExecutionStep.Execute() +1028&#xA; System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +134&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2017-07-05T13:48:10.623" LastActivityDate="2017-07-05T15:51:47.103" Title="Overriding Page Context - Retrieving the page context seems to be type specific" Tags="|mvc|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6470" PostTypeId="1" AcceptedAnswerId="6471" CreationDate="2017-07-05T14:18:51.470" Score="1" ViewCount="89" Body="&lt;p&gt;Need to sign up user using Facebook account without using Social Connector.&#xA;I've created UserMembership with random password. But now how to signin this user? I mean complete &lt;code&gt;AuthenticationManager.Login(userName, password)&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1008" LastEditorUserId="605" LastEditDate="2017-07-07T05:43:00.003" LastActivityDate="2017-07-07T05:43:00.003" Title="SignUp and SignIn user using facebook" Tags="|security|social-connected|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6471" PostTypeId="2" ParentId="6470" CreationDate="2017-07-05T15:01:41.063" Score="4" Body="&lt;p&gt;The &lt;code&gt;Sitecore.Security.Authentication.AuthenticationManager.Login&lt;/code&gt; function has an overload that just accepts the &lt;code&gt;username&lt;/code&gt; as a string. You don't need to add in the password to authenticate the user. So once you have got back from Facebook that the user is authenticated, you could use that overload to log the user into Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-07-05T15:01:41.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6472" PostTypeId="2" ParentId="6469" CreationDate="2017-07-05T15:30:50.533" Score="0" Body="&lt;p&gt;is this answer any use to you? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/5084/custom-item-resolver-not-setting-context-item&quot;&gt;Custom Item Resolver not setting context item&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The processor GetFromOldContext will set the PageItem to Context.Item only if the previous processors haven't already identified an item.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In Sitecore MVC the MVC pipeline overrides the context Item so this might be what you are seeing. &lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-07-05T15:30:50.533" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6473" PostTypeId="2" ParentId="6469" CreationDate="2017-07-05T15:51:47.103" Score="1" Body="&lt;p&gt;Let me start by saying that I think this should be raised to Sitecore Support as a bug, as the MVC pipelines shouldn't be overriding your custom &lt;code&gt;ItemResolver&lt;/code&gt; processor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That aside, I have a workaround for you. Start by taking a look at the &lt;code&gt;mvc.getPageItem&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/teE7F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/teE7F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this pipeline, Sitecore tries to get the page item first from the Route Value, then the Route Url, and finally from the &quot;Old Context&quot; (the context that you created a custom &lt;code&gt;ItemResolver&lt;/code&gt; for). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the &lt;code&gt;GetFromOldContext&lt;/code&gt; processor is the fourth to run, and both it and the processors that run before it first check if an item has already been resolved and return if it does, rather than running their own logic. The problem is that the &lt;code&gt;GetFromOldContext&lt;/code&gt; processor is the one that does what you're looking for - it gets the item from the existing Sitecore Context, and your custom &lt;code&gt;ItemResolver&lt;/code&gt; set that item - but it isn't actually being used because the item is being resolved by the &lt;code&gt;GetFromRouteValue&lt;/code&gt; or the &lt;code&gt;GetFromRouteUrl&lt;/code&gt; processor. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Solution&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;What you can do here is add your own custom processor to the beginning of this pipeline and have it do relatively the same thing as the &lt;code&gt;GetFromOldContext&lt;/code&gt; processor. However, since you don't want to duplicate behavior or accidentally override any native logic (since I'm not sure why the &lt;code&gt;GetFromOldContext&lt;/code&gt; processor is so late in the pipeline), what I would do is first check the Sitecore Context for a custom flag, e.g. &lt;code&gt;IsItemResolvedByCustomResolver&lt;/code&gt;, which if &lt;code&gt;true&lt;/code&gt; indicates that you should run your custom processor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, you could extend the &lt;code&gt;Sitecore.Context&lt;/code&gt; with &lt;code&gt;ExtendedSitecoreContext&lt;/code&gt; class and have a property like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool IsItemResolvedByCustomResolver&#xA;{&#xA;    get&#xA;    {&#xA;        var obj = Context.Items[&quot;sccustom_IsItemResolvedByCustomResolver&quot;];&#xA;        return obj == null || (bool)obj;&#xA;  }&#xA;  set&#xA;  {&#xA;    Context.Items[&quot;sccustom_IsItemResolvedByCustomResolver&quot;] = (object) value;&#xA;  } &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then your processor would look something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GetFromOldContext : GetPageItemProcessor&#xA;{&#xA;    public override void Process(GetPageItemArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;      if (!ExtendedSitecoreContext.IsItemResolvedByCustomResolver || args.Result != null)&#xA;        return;&#xA;&#xA;      args.Result = this.ResolveItem(args);&#xA;    }&#xA;&#xA;    protected virtual Item ResolveItem(GetPageItemArgs args)&#xA;    {&#xA;      return Sitecore.Context.Item;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-07-05T15:51:47.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6474" PostTypeId="2" ParentId="6443" CreationDate="2017-07-05T18:35:45.563" Score="3" Body="&lt;p&gt;There is a solution out there to help deal with this in a different way. Using the linked solution called &lt;code&gt;Branch Presets&lt;/code&gt;, you would set your datasource as a normal, full path in your branch template. When a new item is added, if it is added from a branch template then datasources pointing under the branch template will update to the relative to the current item. The benefit of this is that things out of the box that use ids will work fine such as links between the datasource item/item with renderings in the link database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/kamsar/BranchPresets&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/BranchPresets&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Blog post about it: &lt;a href=&quot;https://kamsar.net/index.php/2016/03/Branch-Datasource-Presets/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2016/03/Branch-Datasource-Presets/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-04-11T21:24:39.567" LastActivityDate="2018-04-11T21:24:39.567" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6476" PostTypeId="1" CreationDate="2017-07-05T22:35:47.817" Score="5" ViewCount="350" Body="&lt;p&gt;I have a branch template in Sitecore with a bucket.  Inside the bucket I want to include two saved searches that are available to users as soon as they create an instance of the branch.  The problem is that the query for the saved search contains something like the following&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;custom:IsActive|true;template:{d9577b16-776f-48c3-b2f8-e31514acd492};location:{f0401dc9-d076-4a3c-b9c5-5ac42bc25d48}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My problem is the &lt;strong&gt;location&lt;/strong&gt; filter.  The id refers to the branch template location which is fine for the moment, but when an instance of the branch is created I want it to point to the actual location where the item was created.  How do I achieve this? do I need to write custom code?&lt;/p&gt;&#xA;" OwnerUserId="2158" LastEditorUserId="95" LastEditDate="2017-07-05T23:05:03.853" LastActivityDate="2017-07-06T15:11:02.017" Title="Sitecore branch with a saved search, how do I change the location dynamically when the branch is created" Tags="|buckets|branch|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6478" PostTypeId="2" ParentId="6476" CreationDate="2017-07-06T01:32:02.907" Score="3" Body="&lt;p&gt;I don't know much about bucket location filters, but it looks to be a field on the bucket item. Where you want to start is with the &lt;code&gt;addFromTemplate&lt;/code&gt; pipeline. This is the pipeline that is called when you create an item from a branch. Once you access this pipeline you can gain access to the branch items after it is created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used code from Kamsar's &lt;a href=&quot;https://github.com/kamsar/BranchPresets&quot; rel=&quot;nofollow noreferrer&quot;&gt;Branch Presets&lt;/a&gt; project to update my layout datasource paths after creating an item from a branch. This same code can be used in your case. You just want to update &lt;code&gt;Id_Of_Your_Bucket_Item&lt;/code&gt; with the template of you bucket item or some other way of finding it after it was created. And update &lt;code&gt;your query&lt;/code&gt; to whatever you need it to be.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The code&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddFromBranchPreset : AddFromTemplateProcessor&#xA;{&#xA;    public override void Process(AddFromTemplateArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        if (args.Destination.Database.Name != &quot;master&quot;) return;&#xA;&#xA;        var templateItem = args.Destination.Database.GetItem(args.TemplateId);&#xA;&#xA;        Assert.IsNotNull(templateItem, &quot;Template did not exist!&quot;);&#xA;&#xA;        // if this isn't a branch template, we can use the stock behavior&#xA;        if (templateItem.TemplateID != TemplateIDs.BranchTemplate) return;&#xA;&#xA;        Assert.HasAccess((args.Destination.Access.CanCreate() ? 1 : 0) != 0, &quot;AddFromTemplate - Add access required (destination: {0}, template: {1})&quot;, args.Destination.ID, args.TemplateId);&#xA;&#xA;        // Create the branch template instance - analogous to base.AddFromTemplate(...)&#xA;        var newItem = args.Destination.Database.Engines.DataEngine.AddFromTemplate(args.ItemName, args.TemplateId, args.Destination, args.NewId);&#xA;&#xA;        // find all rendering data sources on the branch root item that point to an item under the branch template,&#xA;        // and repoint them to the equivalent subitem under the branch instance&#xA;        UpdateBucketLocationFilter(newItem, templateItem);&#xA;&#xA;        args.Result = newItem;&#xA;    }&#xA;&#xA;    protected virtual void UpdateBucketLocationFilter(Item item, BranchItem branchTemplateItem)&#xA;    {&#xA;        var bucketTemplate = new TemplateID(new ID(&quot;Id_Of_Your_Bucket_Item&quot;));&#xA;&#xA;        var bucketItem = item.Children.FirstOrDefault(x =&amp;gt; x.TemplateID == bucketTemplate);&#xA;&#xA;        if (bucketItem == null) return; &#xA;&#xA;        bucketItem.Editing.BeginEdit();&#xA;        bucketItem.Fields[Sitecore.Buckets.Util.Constants.DefaultQuery].Value = &quot;your query&quot;;&#xA;        bucketItem.Editing.AcceptChanges();&#xA;        bucketItem.Editing.EndEdit();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The patch file&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;group name=&quot;itemProvider&quot; groupName=&quot;itemProvider&quot;&amp;gt;&#xA;                &amp;lt;pipelines&amp;gt;&#xA;                    &amp;lt;addFromTemplate&amp;gt;&#xA;                        &amp;lt;processor type=&quot;YourApp.BranchTemplates.AddFromBranchPreset, YourApp.BranchTemplates&quot; /&amp;gt;&#xA;                    &amp;lt;/addFromTemplate&amp;gt;&#xA;                &amp;lt;/pipelines&amp;gt;&#xA;            &amp;lt;/group&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="423" LastEditDate="2017-07-06T15:11:02.017" LastActivityDate="2017-07-06T15:11:02.017" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6480" PostTypeId="1" AcceptedAnswerId="6489" CreationDate="2017-07-06T06:28:12.833" Score="0" ViewCount="167" Body="&lt;p&gt;I am using SOLR search provider with Sitecore 8.2 Update 1. I have separate sites for CMS and CDE. As per the the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;, I should disable &lt;code&gt;Sitecore.ContentSearch.Solr.Index.Web.config&lt;/code&gt; file in CMS. If I remove this file, it is not showing the check box to select rebuild web index from the control panel. It will leave me dependent on the the publishing to get web index updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to resolve this issue where I am not able to rebuild the web index at all?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another point is, I want to index selective nodes of content tree in web index. Configuration for that exist in &lt;code&gt;Sitecore.ContentSearch.Solr.Index.Web.config&lt;/code&gt;.&#xA;In the absence of this file how publishing will decide that only selective nodes of content tree should index?&lt;/p&gt;&#xA;" OwnerUserId="2075" LastEditorUserId="605" LastEditDate="2017-07-06T09:00:20.383" LastActivityDate="2017-07-06T19:36:06.257" Title="Rebuild web index option disappeared on disabling Sitecore.ContentSearch.Solr.Index.Web.config in CMS" Tags="|sitecore-client|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="6483" PostTypeId="2" ParentId="6455" CreationDate="2017-07-06T14:06:11.743" Score="1" Body="&lt;p&gt;&lt;strong&gt;from support:&lt;/strong&gt; Some Azure resources can call automatically and some cannot, unfortunately, Redis is one that cannot scale.&#xA;Sitecore XP has no way of knowing what size Redis cache the customer is using so you will either need to set up an Alert using Azure Monitor for when Redis gets within a certain threshold or you should just size up permanently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can automate the update of sizing using a Webhook or Logic App associated to the alert.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4yV2E.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4yV2E.png&quot; alt=&quot;alert&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="714" LastActivityDate="2017-07-06T14:06:11.743" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6484" PostTypeId="1" AcceptedAnswerId="6495" CreationDate="2017-07-06T15:14:57.340" Score="4" ViewCount="370" Body="&lt;p&gt;I have implemented a custom Rich text editor button. When I click on the custom RTE button it opens a Sheer dialog where the user can select an item from a list and I build a link based on the selected item. At the end it the link value has a value similar to any Sitecore media links like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;~/media/c91e6ce67216446c8c2af1ae5d2a8120.ashx&quot;&amp;gt;PDF_test&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That works fine except that the link is not inserted into the RTE within the content but it becomes the content. In other words all the content is cleared and the new link is applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Dialog inherits from Sitecore.Web.UI.Pages.DialogForm. Here is how the OnOK overridden method looks like of my dialog(adapted for the question)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void OnOK(object sender, EventArgs args)&#xA;        {&#xA;&#xA;            //previous code cleared from this question&#xA;&#xA;            var dialogValue = AssetService.GetValue();&#xA;&#xA;            SheerResponse.SetDialogValue(dialogValue);&#xA;&#xA;            base.OnOK(sender, args);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also this is the custom command item set on the RichTextCommands.js:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Telerik.Web.UI.Editor.CommandList[&quot;SelectAsset&quot;] = function (commandName, editor, args) {&#xA;&#xA;&#xA;    scEditor = editor;&#xA;&#xA;    editor.showExternalDialog(&#xA;        &quot;/sitecore/shell/default.aspx?xmlcontrol=SelectAsset&amp;amp;currentItemId=&quot; + scItemID + &quot;&amp;amp;assetType=link&quot;,&#xA;        null, //argument&#xA;        1105,&#xA;        700,&#xA;        scInsertSitecoreLink,&#xA;        null,&#xA;        &quot;Asset&quot;,&#xA;        true, //modal&#xA;        Telerik.Web.UI.WindowBehaviors.Close, // behaviors&#xA;        false, //showStatusBar&#xA;        false //showTitleBar&#xA;    );&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on what I'm missing here?&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-07-07T01:11:40.887" Title="Rich text editor getting cleared on Sheer's UI ok click" Tags="|richtext-editor|sheer-ui|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6485" PostTypeId="1" AcceptedAnswerId="6508" CreationDate="2017-07-06T16:01:34.363" Score="2" ViewCount="670" Body="&lt;p&gt;I have a SXA Carousel component on my homepage I would like to personalize. I added a few rules and associated datasources for each of them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I noticed the same datasource was always used, no matter the pattern card assigned, so I erased the shared datasource of the rendering&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gcPD2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gcPD2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, the carousel is always white, I can see it displays the right number of slides but they are empty:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NRXtY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NRXtY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that because I did not add the slides manually in the experience editor but just added the slides as children of my carousel in content editor ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another reason ? Please help &lt;/p&gt;&#xA;" OwnerUserId="1833" LastActivityDate="2017-07-07T15:07:47.477" Title="SXA: Personalization not working with Carousel" Tags="|sxa|personalization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6486" PostTypeId="1" AcceptedAnswerId="7205" CreationDate="2017-07-06T16:18:05.520" Score="21" ViewCount="4061" Body="&lt;p&gt;I created a specific role inheriting the following sitecore roles :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Iwuf7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Iwuf7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I gave it the access to my media library folder and inheritance but i still can't click on the attach button, while i can detach and download the media.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the error message triggering when i click on attach : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zP9pF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zP9pF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;[EDIT]&#xA;The project is a multi-site instance with specifics hostnames. For information, I have access to the item in the back-office no matter what the hostname is.&#xA;Here is a sample of the cases where i get the errors: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Attach media&quot; functionnality via BO&#xA;&#xA;| Hostname      | Role Admin  | Role User       |&#xA;|:-------------:|:-----------:|:------------:   |&#xA;| www.SiteA.com | Access      |    Access OK    |&#xA;| www.SiteB.com | Access      |    Access DENIED|  &#xA;| www.SiteC.com | Access      |    Access OK    |  &#xA;&#xA;&lt;/code&gt;&lt;/pre&gt; &#xA;&#xA;&lt;p&gt;Stack trace : &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[AccessDeniedException: Application access denied.]&#xA;     Sitecore.Diagnostics.Assert.HasAccess(Boolean accessAllowed, String message) +158&#xA;     Sitecore.Shell.Applications.Dialogs.Attach.AttachForm.OnLoad(EventArgs e) +72&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;     System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;     System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +76&#xA;     System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +211&#xA;     System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35&#xA;     Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +337&#xA;     Sitecore.Shell.Applications.Dialogs.Attach.AttachPage2.OnLoad(EventArgs e) +66&#xA;     System.Web.UI.Control.LoadRecursive() +71&#xA;     System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Could you provide me any help on this, please? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;[EDIT 2]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/N0hWH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N0hWH.png&quot; alt=&quot;Screen from Access viewer on the Attach item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2166" LastEditorUserId="2166" LastEditDate="2017-07-07T14:58:24.607" LastActivityDate="2019-01-04T22:26:36.493" Title="Access denied security roles on media attach" Tags="|media-library|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6487" PostTypeId="1" CreationDate="2017-07-06T16:40:11.103" Score="9" ViewCount="505" Body="&lt;p&gt;My web application has just been upgraded to Sitecore 8.2.4 in Stage and I am experiencing slow response from Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same application running in 8.2.1 gets results twice or even faster than 8.2.4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on how to troubleshoot this slowness?&lt;/p&gt;&#xA;" OwnerUserId="456" LastEditorUserId="1342" LastEditDate="2017-07-06T16:59:48.290" LastActivityDate="2017-07-21T00:55:42.070" Title="Azure Search really slow with Sitecore 8.2.4 compared to 8.2.1" Tags="|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6488" PostTypeId="1" AcceptedAnswerId="6554" CreationDate="2017-07-06T16:42:39.647" Score="0" ViewCount="1143" Body="&lt;p&gt;I have a component whose assigned controller does not have an Index method. This is intentional, as the controller action is set to a specific action method. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regardless, Sitecore still attempts to invoke the Index method and errors out because there is none:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not invoke action method: Index. Controller name: Training.&#xA;  Controller type:&#xA;  {client name}.Website.Controllers.{client name}.Components.TrainingController&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've double checked the Controller and Controller Action component rendering settings are pointing the right place, and both these properties are properly assigned: (This was configured by someone else)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Controller: {client name}.Website.Controllers.{client&#xA;  name}.Components.TrainingController Controller Action:&#xA;  TrainingListingComponent&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The assigned action &lt;code&gt;TrainingListingComponent&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult TrainingListingComponent()&#xA;{&#xA;    var rendering = RenderingContext.Current.Rendering;&#xA;    var allItems = rendering.GetAllItemsFromFieldValue(&quot;Training Items&quot;);&#xA;    var model = CreateTrainingListModel(rendering.Parameters[&quot;Single Column&quot;] == &quot;1&quot;, allItems);&#xA;    model.RenderingItemId = rendering.Item.ID.Guid;            &#xA;&#xA;    return View(GetViewDirectory(&quot;PageElements&quot;, &quot;TrainingListingComponent&quot;), model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I missing an additional setting? Are there special requirements of controller which do not contain Index methods? Please assist.&lt;/p&gt;&#xA;" OwnerUserId="2167" LastEditorUserId="1342" LastEditDate="2017-07-06T18:31:10.947" LastActivityDate="2017-07-11T16:20:01.057" Title="Sitecore invoking Index() method from the Controller errantly" Tags="|mvc|controller|" AnswerCount="1" CommentCount="6" FavoriteCount="0" ClosedDate="2017-07-11T16:33:22.527" ContentLicense="CC BY-SA 3.0" />
  <row Id="6489" PostTypeId="2" ParentId="6480" CreationDate="2017-07-06T19:36:06.257" Score="0" Body="&lt;p&gt;Based on experience, I would suggest to create a custom index which is targeting your target database (ex: web). There is no need to disable the index config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since your CM server has access to the web database, the only way to rebuild the web index is by not disabling it. From my point of view, there is no issues if the web index is enabled on CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you disable the web index config file on the CM server, the only way to rebuild the web index is by login into the CD server and rebuild it.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-07-06T19:36:06.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6490" PostTypeId="1" CreationDate="2017-07-06T19:59:35.267" Score="0" ViewCount="78" Body="&lt;p&gt;I'm on the exercises in chapter 4 and am having issues with cleaning up the webroot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;18.Open File Explorer and navigate to your web root. In the Website folder, open the App_Config\Include folder. Delete the SitecoreDev folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;19.Now, go to the bin directory in the Website folder and delete the SitecoreDev.Web.* files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;20.Finally, in the Website\Views\Shared folder, delete DefaultMVCLayout.cshtml. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I delete the SitecoreDev.Web.* files, my Sitecore instance no longer runs.&lt;/p&gt;&#xA;" OwnerUserId="2168" LastEditorUserId="2727" LastEditDate="2018-03-03T20:00:45.733" LastActivityDate="2018-03-03T20:00:45.733" Title="Deleting SitecoreDev.Web, as per the Professional Sitecore 8 Developer book, breaks Sitecore" Tags="|installation|" AnswerCount="1" CommentCount="2" ClosedDate="2017-07-07T12:50:50.090" ContentLicense="CC BY-SA 3.0" />
  <row Id="6491" PostTypeId="2" ParentId="6490" CreationDate="2017-07-06T20:41:10.670" Score="3" Body="&lt;p&gt;thanks for reading and working through the book!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe the problem is that the &lt;code&gt;Global.asax&lt;/code&gt; file in your webroot is still inheriting from &lt;code&gt;SitecoreDev.Web.Application&lt;/code&gt;.  Open this file and make it inherit from &lt;code&gt;Sitecore.Web.Application&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@Application Language='C#' Inherits=&quot;Sitecore.Web.Application&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Let me know if this does not work and I'll dig a little deeper!&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2017-07-06T20:41:10.670" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6492" PostTypeId="1" AcceptedAnswerId="6496" CreationDate="2017-07-06T22:50:46.320" Score="4" ViewCount="600" Body="&lt;p&gt;I have a solution that I have been running gradually incrementing load-tests on (i.e. I am using jmeter to create some load but I'm incrementing the load slowly, rather than all at once) until CPU and memory usage max out. When my application finally gets up to peak memory consumption, rather than seeing the caches evicted (observing using the cache admin page and performance counters in perfmon) I am seeing the site simply fall over and the app pool recycle (which does clear the cache, but obviously not in the way that I am looking for).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I did not set a default cache priority (via the &lt;code&gt;Caching.Priority&lt;/code&gt; setting; confirmed in the ShowConfig), so my cache entries should all have the &lt;code&gt;Sitecore.Caching.CachePriority.Lowest&lt;/code&gt; caching priority, though I don't think this is related (posting a separate question about the purpose of this enum).&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Expectations After Reviewing the &lt;code&gt;Sitecore.Caching&lt;/code&gt; Namespace&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;From analyzing the types in the &lt;code&gt;Sitecore.Caching&lt;/code&gt; namespace of the Sitecore.Kernel assembly, it looks like Sitecore's caching leverages .NET's &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.runtime.caching.aspx&quot; rel=&quot;noreferrer&quot;&gt;System.Runtime.Caching&lt;/a&gt; assembly (specifically, the &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.runtime.caching.memorycache.aspx&quot; rel=&quot;noreferrer&quot;&gt;&lt;code&gt;MemoryCache&lt;/code&gt;&lt;/a&gt; type) in order to support features like cache expiration and cache eviction when system resources are running low (see the &lt;code&gt;Sitecore.Caching.MemoryCacheAdapter&lt;/code&gt; class).  However, if this is true then the application should be evicting objects from the caches when resources are running low. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Expected Behavior vs Cache Size Limits&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I know that Sitecore allows developers to set various cache size limits and will automatically purge caches of entries when those size limits are reached. This is not the behavior that I'm looking for. I am looking to see if there is a way to get Sitecore to proactively respond to high server memory consumption by evicting items from its caches, which should be native functionality of the &lt;code&gt;MemoryCache&lt;/code&gt; class (given that all cache entries in Sitecore are given the &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.runtime.caching.cacheitempriority(v=vs.110).aspx&quot; rel=&quot;noreferrer&quot;&gt;&lt;code&gt;System.Runtime.Caching.CacheItemPriority.Default&lt;/code&gt;&lt;/a&gt; priority). For this reason, I have intentionally disabled cache size limits (via the &lt;code&gt;Caching.DisableCacheSizeLimits&lt;/code&gt; setting).&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Question&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if this is a bug, or if this is expected native behavior. Can anyone help to clarify the actual expected behavior and, if different from what I described, perhaps a way to customize Sitecore's caches so that they do react to system resource consumption?&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-06T22:55:46.760" LastActivityDate="2017-07-07T02:12:14.807" Title="Caches not evicting until application fails despite high memory usage" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6493" PostTypeId="1" CreationDate="2017-07-06T23:04:40.927" Score="4" ViewCount="199" Body="&lt;p&gt;I am struggling to figure out what the &lt;code&gt;Sitecore.Caching.CachePriority&lt;/code&gt; enum type is used for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The type looks somewhat similar to .NET's &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.web.caching.cacheitempriority(v=vs.110).aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;System.Web.Caching.CacheItemPriority&lt;/code&gt;&lt;/a&gt; type, however, the values are slightly different and the Sitecore type does not appear to map to the native type anywhere. If I assume that the two are meant to function similarly, this would imply that the &lt;code&gt;Sitecore.Caching.CachePriority&lt;/code&gt; enum type is meant to control the priority in which Sitecore caches and/or their entries would be evicted (lower priorities being evicted before higher priorities), in the case of high memory usage. However, when looking at the decompiled &lt;code&gt;Sitecore.Caching.Cache&amp;lt;T&amp;gt;&lt;/code&gt; and the nested &lt;code&gt;Sitecore.Caching.Cache&amp;lt;T&amp;gt;.CacheEntry&lt;/code&gt; classes, each has a property holding the &lt;code&gt;CachePriority&lt;/code&gt; for each but that property does not appear to be used anywhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help to clarify the purpose of the &lt;code&gt;Sitecore.Caching.CachePriority&lt;/code&gt; type, including where it is used and what for? &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-07-11T14:35:36.087" Title="What is the Sitecore.Caching.CachePriority enum type used for?" Tags="|caching|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6494" PostTypeId="1" AcceptedAnswerId="6509" CreationDate="2017-07-07T00:05:15.777" Score="5" ViewCount="6253" Body="&lt;p&gt;What is the best practice to enable maintenance page in Sitecore Azure PaaS webapp? Also is there a way we can switch on maintenance page such as app_offline in application settings. I m looking at more automated way that can just save time without using option such as FTP publish or Kudu changes.&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="423" LastEditDate="2017-08-07T19:38:35.890" LastActivityDate="2017-08-07T19:38:35.890" Title="Azure PaaS webapp app_offline.htm Maintenance page" Tags="|azure|paas|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6495" PostTypeId="2" ParentId="6484" CreationDate="2017-07-07T01:11:40.887" Score="2" Body="&lt;p&gt;To address this issue I had to change the dialog OnOk method. Instead of calling the SetDialogValue I called the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    //writes the url and link name(dialogValue .Value). This will build the link on the Rich Text Editor&#xA;     SheerResponse.Eval(&quot;scClose(&quot; + StringUtil.EscapeJavascriptString(dialogValue.Url) + &quot;,&quot; + StringUtil.EscapeJavascriptString(dialogValue.Text) + &quot;)&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What this is doing is passing the url and text the will be used to build the anchor tag. Note also that it's evaluating a javascript function called scClose accepting these 2 parameters(url and text).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now all I had to do was define a new js file and reference it on my xml dialog. This is what the js file looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function getRadWindow() {&#xA;    if (window.radWindow) {&#xA;        return window.radWindow;&#xA;    }&#xA;&#xA;    if (window.frameElement &amp;amp;amp;&amp;amp;amp; window.frameElement.radWindow) {&#xA;        return window.frameElement.radWindow;&#xA;    }&#xA;&#xA;    return null;&#xA;}&#xA;&#xA;var isRadWindow = true;&#xA;&#xA;var radWindow = getRadWindow();&#xA;&#xA;if (radWindow) {&#xA;    if (window.dialogArguments) {&#xA;        radWindow.Window = window;&#xA;    }&#xA;}&#xA;&#xA;function GetDialogArguments() {&#xA;    return getRadWindow().ClientParameters;&#xA;} &#xA;&#xA;function scCancel() {&#xA;    getRadWindow().close();&#xA;}&#xA;&#xA;function scClose(url, text) {&#xA;    //builds the link and anchor name&#xA;    var returnValue = {&#xA;        url: url,&#xA;        text: text&#xA;    };&#xA;&#xA;    getRadWindow().close(returnValue);&#xA;&#xA;}     &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-07-07T01:11:40.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6496" PostTypeId="2" ParentId="6492" CreationDate="2017-07-07T02:12:14.807" Score="3" Body="&lt;p&gt;I have seen the behavior you describe when using &lt;code&gt;MemoryCache&lt;/code&gt; before and &lt;a href=&quot;https://stackoverflow.com/questions/6895956/memorycache-does-not-obey-memory-limits-in-configuration&quot;&gt;so have others&lt;/a&gt;. Unfortunately, it seems to be treated as a feature rather than a bug. However, when I looked into this previously on 8.2 update 2, I found that Sitecore does not use &lt;code&gt;MemoryCache&lt;/code&gt; by default. It should only use &lt;code&gt;MemoryCache&lt;/code&gt; if you configure it to in the &lt;code&gt;&amp;lt;cacheContainerConfiguration&amp;gt;&lt;/code&gt; section of the configuration. A clean instance will contain a CacheContainers.config.example file with the following contents:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;Purpose: This include file configures the Cache containers for various cache instances&#xA;To enable this file, rename it so that it has a &quot;.config&quot; extension.&#xA;If no containers are specified for a cache, the default Sitecore.Caching.Generics.Cache&amp;lt;TKey&amp;gt; instance is used. &#xA;--&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;!-- CACHE CONTAINER CONFIGURATION&#xA;      Defines the configuration of the cache containers.&#xA;      Supported attributes:&#xA;          name:       the name of the cache instance.&#xA;          type:       the cache container that is instantiated for the cache instance.&#xA;      Supported child parameters:&#xA;          name:       the name of the cache container.&#xA;          maxSize     the maximum size of the cache container.&#xA;    --&amp;gt;&#xA;    &amp;lt;cacheContainerConfiguration&amp;gt;&#xA;      &amp;lt;!-- Example --&amp;gt;&#xA;      &amp;lt;!--&amp;lt;cacheContainer name=&quot;website[html]&quot; type=&quot;Sitecore.Caching.MemoryCacheAdapter, Sitecore.Kernel&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(0)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;maxSize&quot;&amp;gt;$(1)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;cacheSizeCalculationStrategy type=&quot;Sitecore.Caching.DefaultCacheSizeCalculationStrategy, Sitecore.Kernel&quot; /&amp;gt;&#xA;      &amp;lt;/cacheContainer&amp;gt;--&amp;gt;&#xA;    &amp;lt;/cacheContainerConfiguration&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the comment about the default type being &lt;code&gt;Sitecore.Caching.Generics.Cache&amp;lt;TKey&amp;gt;&lt;/code&gt;. This class will normally check the size of a new cache entry as it is being added. If the new entry would put the cache over it's configured size limit, it will evict expired and, if necessary, random entries to make room for the new entry. However, if the &lt;code&gt;DisableCacheSizeLimits&lt;/code&gt; setting is &lt;code&gt;true&lt;/code&gt;, it will not check the size or evict any entries.  You should only set this to &lt;code&gt;true&lt;/code&gt; if you are very confident that your server has more than enough memory for you worst case scenario.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2017-07-07T02:12:14.807" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6497" PostTypeId="1" AcceptedAnswerId="6505" CreationDate="2017-07-07T09:09:26.737" Score="3" ViewCount="501" Body="&lt;p&gt;In the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/deny_anonymous_users_access_to_a_folder&quot; rel=&quot;nofollow noreferrer&quot;&gt;security hardening directions&lt;/a&gt; for 8.2 on denying anonymous access the screen shots all show having all access disabled for the /sitecore/admin folder and others.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question is, those screen shots are from 8.2 initial, I'm guessing, because sometime during the updates (definitely by Update 3) Sitecore made the authentication mode Forms out of the box instead of None like it used to be. The result is that /sitecore/admin shows Forms Authentication enabled now, and the only way to change it is to change it in the web.config (you can't change it at just the /sitecore/admin level).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should changing the authentication mode to None be done on CDs as part of security hardening as well, or is just setting the anonymous access to Disabled sufficient and Sitecore needs to update their screen shots appropriately?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="423" LastEditDate="2017-07-07T15:32:00.623" LastActivityDate="2019-02-20T16:17:47.203" Title="Security Hardening: Folder Access Question" Tags="|security|content-delivery|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6500" PostTypeId="2" ParentId="6485" CreationDate="2017-07-07T10:59:42.107" Score="1" Body="&lt;p&gt;I appeared to have the same problem. I have debugged the code, and composite model gets filled properly. I think the problem comes from the dynamic placeholders not being filled with the slides (Page Content renderings). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After de-compiling SXA's source code, I found the following piece of code (&lt;strong&gt;in Sitecore.XA.Feature.Composites.Pipelines.GetXmlBasedLayoutDefinition InjectCompositeComponents&lt;/strong&gt;) was assigning placeholders to children. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uLhPe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uLhPe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think this is the source of the problem and thus we can't do anything but ask for Sitecore's help.&lt;/p&gt;&#xA;" OwnerUserId="2166" LastActivityDate="2017-07-07T10:59:42.107" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6501" PostTypeId="1" AcceptedAnswerId="6510" CreationDate="2017-07-07T12:01:20.383" Score="7" ViewCount="467" Body="&lt;p&gt;I want to explain to our client where the numbers from the SPAM complaints come from.&lt;br&gt;&#xA;But I actually don't know how this gets tracked or functions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each email campaign report shows a bunch of different statistics. And Spam complaints is one of them:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4JeYO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4JeYO.png&quot; alt=&quot;Spam complaints&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it the mail client itself that sends a message back, hey your email is spam?&#xA;It's not when a user himself marks an email as spam?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So, how does SC know when a mail was marked as spam by its receiver?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-07-07T16:12:50.727" Title="How does the SPAM detection work with EXM and Sitecore MTA" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6502" PostTypeId="1" CreationDate="2017-07-07T12:08:02.467" Score="1" ViewCount="244" Body="&lt;p&gt;We have a CM - CD setup. On the CD server an error is getting logged:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Message: Failed to create the agent 'processing/taskAgent'&#xA;Source: Sitecore.Kernel&#xA;at Sitecore.Diagnostics.Assert.IsNotNull(Object value, String message)&#xA;at Sitecore.Diagnostics.Assert.IsNotNull(Object value, String format, Object[] args)&#xA;at Sitecore.Analytics.Core.BackgroundService.CreateAgent()&#xA;at Sitecore.Analytics.Core.BackgroundService.ExecuteAgent()&#xA;at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Could anyone let me know the root cause of the issue?&lt;/p&gt;&#xA;" OwnerUserId="1377" LastEditorUserId="237" LastEditDate="2019-07-24T13:21:45.217" LastActivityDate="2019-07-24T13:21:45.217" Title="Failed to create the agent 'processing/taskAgent'" Tags="|processing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6503" PostTypeId="2" ParentId="6502" CreationDate="2017-07-07T12:28:47.200" Score="2" Body="&lt;p&gt;Your error appear because you have processing/taskAgent inside the file &lt;strong&gt;Sitecore.Analytics.Processing.Services.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processing&amp;gt;&#xA;      &amp;lt;module type=&quot;Sitecore.Analytics.Processing.ProcessingModule&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;BackgroundServices hint=&quot;list:Add&quot;&amp;gt;&#xA;          &amp;lt;taskagent type=&quot;Sitecore.Analytics.Core.BackgroundService&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;agentName&quot;&amp;gt;processing/taskAgent&amp;lt;/param&amp;gt;&#xA;            &amp;lt;Interval&amp;gt;0.00:00:15&amp;lt;/Interval&amp;gt;&#xA;            &amp;lt;MaxThreads&amp;gt;1&amp;lt;/MaxThreads&amp;gt;&#xA;          &amp;lt;/taskagent&amp;gt;&#xA;        &amp;lt;/BackgroundServices&amp;gt;&#xA;      &amp;lt;/module&amp;gt;&#xA;    &amp;lt;/processing&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;According to &quot;&lt;strong&gt;How to configure Content Delivery server&lt;/strong&gt;&quot; : &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&lt;/a&gt; this file should be disabled. Please have a look on  Config Enable Disable Excel spreadsheet for Sitecore X and enable/disable config file. Be careful you need to verify spreadsheet for your current solution I give you the link for version 8.2 &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-07-07T12:28:47.200" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6504" PostTypeId="2" ParentId="6501" CreationDate="2017-07-07T13:47:26.477" Score="3" Body="&lt;p&gt;Every email service which receives email will have a different mechanism of reporting spam complaints to the ISP responsible for sending emails. The Sitecore Email Cloud entrusts our email provider to reach agreements with the various services such as Microsoft, Google, Yahoo, etc, to capture this data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM then polls this information at regular intervals so that it can be included in the reporting dashboard.&lt;/p&gt;&#xA;" OwnerUserId="85" LastActivityDate="2017-07-07T13:47:26.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6505" PostTypeId="2" ParentId="6497" CreationDate="2017-07-07T14:32:42.443" Score="2" Body="&lt;p&gt;Let me start by saying that I don't think that there is going to be any &lt;em&gt;one&lt;/em&gt; right or wrong answer to this question, but rather that this question will (and should) receive a lot of good opinion-based answers. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Using IP Restrictions Instead of Disabling Access&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;IMHO, the authentication mode should be left as-is and instead of following Sitecore's &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/deny_anonymous_users_access_to_a_folder&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; at all, what you should do is use IP restrictions to block requests to the entire /sitecore folder from all locations except the IP of the server itself (for sake of the /KeepAlive.aspx, local access and so on), and the IP of the responsible party for maintaining the site (e.g. the development agency, client's IT department, development VPN, etc.). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Troubleshooting issues on CD environments can be a challenge, especially when log4net priorities are raised to make Sitecore only log &lt;em&gt;ERRORS&lt;/em&gt; and access to admin pages like  the &lt;em&gt;Jobs Viewer&lt;/em&gt; and the &lt;em&gt;Show Config&lt;/em&gt; are disabled. Moreover, issues on production CD environments tend to be of the highest priority, since they are on production and on the applications that the general public is hitting. By using IP restrictions to block access to all but those specifically authorized for access, you maintain the same level of security and performance while giving yourself more tools and visibility into the application at troubleshooting time. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;If You Still Want to Disable Access...&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you do not want to use IP restrictions (due client security policies, or some other reason) and instead want to follow the guide and blanket-disable access to the &lt;em&gt;/sitecore/admin&lt;/em&gt; section then my recommendation would be to change the web.config (preferably via a transform, as described by @ChrisAuer in his comment on the OP) to disable both Forms Authentication and Anonymous Access. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-07T15:09:35.017" LastActivityDate="2017-07-07T15:09:35.017" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6507" PostTypeId="2" ParentId="1517" CreationDate="2017-07-07T14:59:38.370" Score="1" Body="&lt;p&gt;The behavior you are describing is expected if your presentation version-specific. Support for &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/versioned_layouts&quot; rel=&quot;nofollow noreferrer&quot;&gt;versioned Presentation Details&lt;/a&gt; is a native feature of Sitecore 8, and you can control the versioned (final) or the shared presentation &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/use_versioned_layouts&quot; rel=&quot;nofollow noreferrer&quot;&gt;when editing &#xA;the presentation details&lt;/a&gt; of your item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Pd017.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Pd017.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the screenshot above, note that there is a &lt;em&gt;Shared Layout&lt;/em&gt; and a &lt;em&gt;Final Layout&lt;/em&gt; tab in the Layout Details (Presentation Details) dialog. The &lt;em&gt;Shared Layout&lt;/em&gt; tab corresponds to the presentation that is &quot;shared&quot; and should display regardless of the language version. In contrast, the &lt;em&gt;Final Layout&lt;/em&gt; tab corresponds to the presentation that is &quot;versioned&quot; and should display only when the item is rendered in the context language. This means that presentation set in the &lt;em&gt;Final Layout&lt;/em&gt; tab is specific to the language version of the item you are editing. If you want the same presentation settings to apply to all language versions of the item, make sure to set up your presentation in the &lt;em&gt;Shared Layout&lt;/em&gt; tab. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-07-07T14:59:38.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6508" PostTypeId="2" ParentId="6485" CreationDate="2017-07-07T15:07:47.477" Score="1" Body="&lt;p&gt;Not being able to edit SXA's code, here is the ugly workaround I found. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its main drawback is that it doesn't take benefit from the rendering variants. But at least it works. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Carousel.cshtml, depending on the template used for the slide, I invoke the right html instead of creating a placeholder for a slide,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (composite.Value.TemplateID.Equals(StandardSlideID)))&#xA;    {&#xA;         @Html.Partial(&quot;../StandardSlide/StandardSlide&quot;, new StandardSlide { Item = composite.Value })&#xA;    }&#xA;&#xA;@if (composite.Value.TemplateID.Equals(TestimonialSlideID))&#xA;    {&#xA;         @Html.Partial(&quot;../TestimonialSlide/TestimonialSlide&quot;, new TestimonialSlide { Item = composite.Value })&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have to admit I'm a bit disapointed SXA isn't fully tested even with personalization which is one of my favourite Sitecore feature&lt;/p&gt;&#xA;" OwnerUserId="1833" LastActivityDate="2017-07-07T15:07:47.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6509" PostTypeId="2" ParentId="6494" CreationDate="2017-07-07T15:29:22.267" Score="6" Body="&lt;h3&gt;Using Maintenance Slots to Eliminate Deployment Downtime&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Rather than use a maintenance page, you can actually avoid downtime in Azure by using multiple &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-staged-publishing&quot; rel=&quot;noreferrer&quot;&gt;deployment slots&lt;/a&gt;. Think of this kind of like Content Search indexes with Solr or Lucene, using &lt;em&gt;SwitchOnRebuild&lt;/em&gt;. Basically, you have (at least) two slots: one for your live site and another for a maintenance site that is essentially an exact duplicate of production. When you go to deploy, you deploy to the &quot;maintenance slot&quot;, leaving the site in the &quot;production slot&quot; untouched and unaffected. Once the deployment is complete, you can start the maintenance site, thus initializing it so that it runs without any slowdown and once ready you can swap it with the site in the production slot. You would then update the site that was formerly in the production slot so that it matches what is now in production.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Adding in Support for a Rollback Plan&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Improving upon this, you could use three slots to provide the ability to immediately rollback if the situation calls for it. To do so, you would deploy to two maintenance slots, warm one up for production and upon swapping the warmed maintenance site in you would leave the site that was formerly in the production slot (now swapped out) as-is. This means that if an issue occurs, you can quickly swap the old production site - still unmodified - back in to effectively roll back the deployment. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Credit&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Tamas Varga deserves much of the credit for this post, including the additional references. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;More information:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Read about zero downtime deployment by Bas Lijten: &lt;a href=&quot;http://blog.baslijten.com/zero-downtime-deployments-with-sitecore-on-azure/&quot; rel=&quot;noreferrer&quot;&gt;http://blog.baslijten.com/zero-downtime-deployments-with-sitecore-on-azure/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Read about Blue-Green deployment on Azure by Rob Habraken: &lt;a href=&quot;https://www.robhabraken.nl/index.php/2740/blue-green-sitecore-deployments-on-azure/&quot; rel=&quot;noreferrer&quot;&gt;https://www.robhabraken.nl/index.php/2740/blue-green-sitecore-deployments-on-azure/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-07-07T15:29:22.267" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="6510" PostTypeId="2" ParentId="6501" CreationDate="2017-07-07T16:12:50.727" Score="6" Body="&lt;p&gt;What @steve-mcgill said is completely correct, but I can offer a bit of background on the implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming EXM 3.3/4/+:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the file &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\App_Config\Include\EmailExperience\Sitecore.EDS.Providers.XXX.Sync.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where XXX is the provider (Dyn/SparkPost), there are a number of agents. One of them, the &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PullComplaintsAgent&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;pulls complaints from the provider at a configurable interval. You can configure how often it runs, and how many complaints it should request at once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These (spam) complaints will not be processed at once, as that could potentially have a negative impact on the performance of your CM server(s). Instead, EXM creates tasks in the Tasks table of the exm.master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the same configuration file, the&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;complaintsTaskProcessor type=&quot;Sitecore.EDS.Providers.SparkPost.Tasks.ComplaintsTaskProcessor, Sitecore.EDS.Providers.SparkPost&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is responsible for actually processing the complaints. The&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;complaintsTaskAgent type=&quot;Sitecore.ExM.Framework.Distributed.Tasks.Processing.ShortRunning.DatabaseTaskAgent,Sitecore.ExM.Framework&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is used to configure how the tasks are processed. There are a number of configuration options (warning, wall of text incoming. TL;DR below):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;taskPool&lt;/strong&gt; is a reference to the task pool to execute tasks from.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;targetMinBufferAmount&lt;/strong&gt; The agent will attempt to adjust the amount of tasks retrieved from the pool so a small amount of unprocessed tasks remain at the end of each iteration. This is to prevent the processors from running out of work during the iteration in case there are variations in the processing speed. This parameter defines the minimum number of tasks it will attempt to have remaining. It should be set to a number of tasks that one thread would be able to process during one iteration with time to spare during normal operation.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;maxBatchSize&lt;/strong&gt; The largest number of tasks the agent can request in each iteration. This number should be higher than the number of tasks expected to be processed per iteration during normal operation.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;idleIterationDuration&lt;/strong&gt; The length of an iteration when the agent is idling. The agent will idle if no work is available.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;activeIterationDuration&lt;/strong&gt; The length of an iteration when the agent is processing tasks. This should be longer than the expected time to process a task during normal operation.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;leaseTime&lt;/strong&gt; The amount of time a task is reserved by the agent when retrievede from the task pool. A task is reserved for a limited amount of time so it will be available for other agents to process after a while in case the agent that reserved it crashes before it has finished the task. It is recommended not to set this lease time shoter than the connection timeout of the task pool's database connection.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;postponeTime&lt;/strong&gt; A processor can choose to postpone a task in which case it will be returned to the task pool and scheduled for later processing. This is the amount of time a task will be postponed.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;maxDegreeOfParallelism&lt;/strong&gt; The maximum number of threads the agent can use for processing tasks.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;maxFailedProcessingAttempts&lt;/strong&gt; If the user-defiend processor throws an unhandled exception while processing a task the task will be returned to the pool and retried later. After the number of failed attempts to process a task defined by this setting the task will be considered invalid and removed from the pool.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;processor&lt;/strong&gt; A reference to a user-defined class which will be invoked for every task to process. The class must extend the abstract class Sitecore.ExM.Framework.Distributed.Tasks.Processing.ShortRunning.TaskProcessor.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I do not suggest changing the default parameters unless you know what you are doing ;) &lt;strong&gt;TL;DR&lt;/strong&gt; It allows EXM to throttle and retry tasks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For each task processed by the task processor, the &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.EmailCampaign.Cm.Tasks.SpamComplaintTaskProcessor&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;fires off the &lt;strong&gt;handleSpamComplaint&lt;/strong&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In EXM 3.4+ the &lt;strong&gt;handleSpamComplaint&lt;/strong&gt; pipeline is split up into three pipelines:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;exm.recipientListManagement.add&lt;/strong&gt; (adds the contact to the global opt out list)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;exm.recipientListManagement.remove&lt;/strong&gt; (removes the contact from the list(s) they were included in - note, it cannot remove contacts from segmented lists)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In EXM 3.3 these actions were done directly in the &lt;strong&gt;handleSpamComplaint&lt;/strong&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition to this, the &lt;strong&gt;handleSpamComplaint&lt;/strong&gt; pipeline creates an Interaction in xDB, which is what EXM is using to generate the reports you're asking about.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-07-07T16:12:50.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6511" PostTypeId="1" AcceptedAnswerId="6512" CreationDate="2017-07-07T20:11:34.067" Score="2" ViewCount="1194" Body="&lt;p&gt;I have a site that allows visitors to upload a PDF via a WFFM form. However, each time a visitor does so, the logs fill up with the following errors: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #2 17:14:20 WARN  Could not compute value for ComputedIndexField: _content for indexable: sitecore://web/{9E1A9941-79F8-4371-9AE1-E77572BBE9B7}?lang=en&amp;amp;ver=1&#xA;Exception: System.Runtime.InteropServices.COMException&#xA;Message: Exception from HRESULT: 0x80048605&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.Extracters.IFilterTextExtraction.IPersistStream.Load(IStream stream)&#xA;   at Sitecore.ContentSearch.Extracters.IFilterTextExtraction.FilterLoader.InitializeFilterAsPersistStream(IFilter filter, String fileName) in C:\Users\Juozas\AppData\Local\JetBrains\Shared\v03\DecompilerCache\decompiler\2283837D-E4E9-4FD7-9CCD-0BCBFD59410F\ea\34d3cbb0\FilterLoader.cs:line 118&#xA;   at Sitecore.ContentSearch.Extracters.IFilterTextExtraction.FilterLoader.LoadAndInitIFilter(String fileName, String extension) in C:\Users\Juozas\AppData\Local\JetBrains\Shared\v03\DecompilerCache\decompiler\2283837D-E4E9-4FD7-9CCD-0BCBFD59410F\ea\34d3cbb0\FilterLoader.cs:line 66&#xA;   at Sitecore.ContentSearch.Extracters.IFilterTextExtraction.FilterReader..ctor(String fileName) in C:\Users\Juozas\AppData\Local\JetBrains\Shared\v03\DecompilerCache\decompiler\2283837D-E4E9-4FD7-9CCD-0BCBFD59410F\ee\7cf1a832\FilterReader.cs:line 24&#xA;   at Sitecore.ContentSearch.ComputedFields.MediaItemIFilterTextExtractor.ComputeFieldValue(IIndexable indexable) in C:\Users\Juozas\AppData\Local\JetBrains\Shared\v03\DecompilerCache\decompiler\2283837D-E4E9-4FD7-9CCD-0BCBFD59410F\f5\458fd1ac\MediaItemIFilterTextExtractor.cs:line 48&#xA;   at Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor.ComputeFieldValue(IIndexable indexable) in C:\Users\Juozas\AppData\Local\JetBrains\Shared\v03\DecompilerCache\decompiler\2283837D-E4E9-4FD7-9CCD-0BCBFD59410F\ef\54811fff\MediaItemContentExtractor.cs:line 53&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilder.AddComputedIndexField(IComputedIndexField computedIndexField, ParallelLoopState parallelLoopState, ConcurrentQueue`1 exceptions)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have two questions with regard to these errors:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Since we do not actually need to index media on the site (and thus do not have any IFilters configured on the servers), do I even need to the &lt;code&gt;MediaItemContentExtractor&lt;/code&gt; registered for the &lt;code&gt;_content&lt;/code&gt; computed index field, or can I just comment it out?&lt;/li&gt;&#xA;&lt;li&gt;As can be seen in the error, I am using Solr and this is happening on a Content Delivery server. I was under the impression that if my instance uses Solr and is a CD then there shouldn't be any indexing performed on the actual instance. Can someone help to clarify whether or not this is true (i.e. whether or not it is safe to disable indexing on a CD server when Solr is the provider being used)? Additionally, since I did not see anything in the Sitecore docs that suggest disabling indexing on CD servers when using Solr, can anyone provide some guidance on whether or not there are any special steps/customizations required in order to disable indexing on a CD using Solr?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1 update 2. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-07T20:53:45.507" LastActivityDate="2017-07-07T21:15:26.710" Title="Do I really need MediaItemContentExtractor if I'm not indexing media?" Tags="|solr|indexing|content-delivery|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6512" PostTypeId="2" ParentId="6511" CreationDate="2017-07-07T20:29:29.050" Score="6" Body="&lt;p&gt;With Solr/Sitecore setup, you only need to enable indexing on CM, and disable it on CD servers,  After any publish operation, Sitecore will try to update indexes on CD instances if the index have OnPublishEndAsync strategy enabled, Which is by default enabled on sitecore_web_index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To disable indexing on CD, you need to change the indexing strategy for each index to be &quot;Manual&quot; on CD servers, like :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot; /&amp;gt;&#xA;  &amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can disable PDF indexing by applying this patch to CM server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultCloudIndexConfiguration&amp;gt;&#xA;          &amp;lt;mediaIndexing&amp;gt;&#xA;           &amp;lt;mimeTypes&amp;gt;&#xA;             &amp;lt;includes&amp;gt;&#xA;              &amp;lt;mimeType&amp;gt;&#xA;               &amp;lt;patch:delete&amp;gt;&#xA;                application/pdf&#xA;               &amp;lt;/patch:delete&amp;gt;&#xA;             &amp;lt;/mimeType&amp;gt;&#xA;            &amp;lt;/includes&amp;gt;&#xA;           &amp;lt;mimeTypes&amp;gt;&#xA;          &amp;lt;/mediaIndexing&amp;gt;&#xA;        &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Link : &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/index_update_strategies&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/index_update_strategies&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2017-07-07T21:15:26.710" LastActivityDate="2017-07-07T21:15:26.710" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6513" PostTypeId="1" AcceptedAnswerId="6725" CreationDate="2017-07-07T20:56:56.650" Score="1" ViewCount="386" Body="&lt;p&gt;I have a sitecore 7.2 site. It has a custom 404 set with a patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;settings&amp;gt;&#xA;  &amp;lt;setting name=&quot;ItemNotFoundUrl&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/other/404&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt; &#xA;&amp;lt;/settings&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using aliases and some of them work and some do not. In some cases, I have nested aliases, meaning I have an alias Foo with a child alias Bar so the url would be /Foo/Bar. The child item has the link back to an actual page. Sometimes this works and sometimes it does not and I cannot figure out why its not working. In the cases where it doesn't work, I get an IIS 404 and not my custom 404&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/s96oM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s96oM.png&quot; alt=&quot;404 image not found&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some new information. It seems that it is these specific aliases that are a problem. I can create new ones to do the same thing and they work fine. I can find nothing different about these specific aliases, even looking at the raw values. But they do not work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/slMb8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/slMb8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is nothing in logs related to this 404.&#xA;I got a copy of the IIS trace for the failing request. Its actually looking for a file on the drive named the same as the alias, which obviously fails:&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;261&quot;&gt;&#xA;&lt;li&gt;-FILE_CACHE_ACCESS_START &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;FileName&#xA;E:\MyWebsiteFolder\Website\vocrules\k12 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;UserName&#xA;IUSR &lt;/p&gt;&#xA;&#xA;&lt;p&gt;DomainName&#xA;NT AUTHORITY &lt;/p&gt;&#xA;&#xA;&lt;p&gt;0 ms&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Informational&#xA;262.  -FILE_CACHE_ACCESS_END &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Successful&#xA;false &lt;/p&gt;&#xA;&#xA;&lt;p&gt;FileFromCache&#xA;false &lt;/p&gt;&#xA;&#xA;&lt;p&gt;FileAddedToCache&#xA;false &lt;/p&gt;&#xA;&#xA;&lt;p&gt;FileDirmoned&#xA;true &lt;/p&gt;&#xA;&#xA;&lt;p&gt;LastModCheckErrorIgnored&#xA;true &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ErrorCode&#xA;The system cannot find the path specified.&#xA; (0x80070003) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;LastModifiedTime&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="70" LastEditDate="2018-05-03T17:01:46.840" LastActivityDate="2018-05-03T17:01:46.840" Title="Alias returns true 404, not custom sitecore 404 page" Tags="|untagged|" AnswerCount="1" CommentCount="2" ClosedDate="2017-07-21T09:29:49.177" ContentLicense="CC BY-SA 3.0" />
  <row Id="6514" PostTypeId="1" CreationDate="2017-07-08T00:19:59.853" Score="10" ViewCount="1534" Body="&lt;p&gt;I have some overlays and some markup that seems to hide some of my placeholder in my experience editor and I would like to know how to make the areas larger and visible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thank you for any advice.&lt;/p&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="172" LastEditDate="2017-07-09T02:01:26.300" LastActivityDate="2017-07-11T14:16:27.260" Title="How do I make my placeholder area more visible and larger?" Tags="|experience-editor|placeholders|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6515" PostTypeId="2" ParentId="6514" CreationDate="2017-07-08T02:05:23.993" Score="-1" Body="&lt;p&gt;To make it visible and large, please make sure&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;A placeholder settings item exists in Sitecore with the correct Placeholder Key matching that declared in the cshtml rendering.&lt;/li&gt;&#xA;&lt;li&gt;The placeholder settings item has the Editable setting checked.&lt;/li&gt;&#xA;&lt;li&gt;The CSS in the page is not preventing the placeholder from being visible.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Follow steps described in below link for settings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/maximizing_usability/posts/the-power-of-placeholder-settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/maximizing_usability/posts/the-power-of-placeholder-settings&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1377" LastEditorUserId="1377" LastEditDate="2017-07-08T02:16:23.377" LastActivityDate="2017-07-08T02:16:23.377" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6516" PostTypeId="2" ParentId="6514" CreationDate="2017-07-08T02:08:49.953" Score="1" Body="&lt;p&gt;One approach is to use alternate markup or styles for Experience Editor mode. This way you can have a more editor-friendly display which does not hide your placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you are in MVC, you can use something like this in your controller to output different Views:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Context.PageMode.IsExperienceEditor){&#xA;   return View(&quot;MyViewEdit&quot;, model);&#xA;}&#xA;else {&#xA;   return View(&quot;MyView&quot;, model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can put a similar test in the View itself, but my personal preference is to do the test at the controller level.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-07-08T02:08:49.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6517" PostTypeId="1" AcceptedAnswerId="6518" CreationDate="2017-07-08T02:50:04.270" Score="1" ViewCount="322" Body="&lt;p&gt;Sitecore 8.2 Update 4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking to run Sitecore in IaaS. Azure VMs for web and Azure SQL for database. Not the new Azure service stack.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its great that Sitecore comes with dacpac files in all installations now. In the /Databases/dacpac folder, in the Sitecore installation zip. But when I try to import Sitecore's dacpac files into an Azure data I get errors.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error encountered during the service operation. &#xA;      Cannot create a BACPAC from a file that does not contain exported data.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So I thought I would just create new dacpac files and try that. When I try and create new dacpac file, by exporting data tier in SQL Management Studio, I get errors on every database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zT7c6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zT7c6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am starting to think I have to use the Azure toolkit to do this even though I don't want to use the Azure service stack at all.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2024-01-24T14:02:55.323" Title="Sitecore 8.2 Update 4 in Azure SQL" Tags="|azure|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6518" PostTypeId="2" ParentId="6517" CreationDate="2017-07-08T05:28:10.533" Score="0" Body="&lt;p&gt;The way I got around this was not to use the dacpac files from Sitecore. From what I read dacpac only contain schema where bacpac contain schema and data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my scenario I was using SQL 2014, not sure how much that matters. But I was not able to create a bacpac file out of my Sitecore 8.2 U4 databases. To fix that, I installed the latest SSMS package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, I was able to &lt;code&gt;Export Data-Tier Application&lt;/code&gt; on core, master, web and reporting. Creating my bacpac files. Then I was able to &lt;code&gt;Import Data-Tier Application&lt;/code&gt; into my Azure instance. I could also use the import tool in Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wonder what the dacpac files in the Sitecore zip are for.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-07-08T05:28:10.533" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6519" PostTypeId="2" ParentId="5136" CreationDate="2017-07-08T07:16:48.403" Score="1" Body="&lt;p&gt;To provide the detailed explanation, here is how we can run it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This install exe supports the following switches and flags&lt;/p&gt;&#xA;&#xA;&lt;p&gt;switches&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;log:&lt;code&gt;&amp;lt;filename&amp;gt;&lt;/code&gt;  log file to use&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;quiet -silent     unattended install (requires flag CSCONFIGXML)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;passive           unattended install with progress bar&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;flags&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;CSCONFIGXML=      file to use for CSConfig&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;INSTALLDIR=                   32bit path for installing files&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;INSTALLDIR64=              64 bit path for installing files&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We have used the CSConfig.xml file with following content (you need to update with your details) to install silently to the default locations and using the default log file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;Configuration&amp;gt;&#xA;  &amp;lt;SQL ID=&quot;CommerceAdminDB&quot;&amp;gt;&#xA;    &amp;lt;Server&amp;gt;LT-ROHIT&amp;lt;/Server&amp;gt;&#xA;    &amp;lt;Database&amp;gt;MSCS_Admin&amp;lt;/Database&amp;gt;&#xA;    &amp;lt;WindowsSecurity&amp;gt;no&amp;lt;/WindowsSecurity&amp;gt;&#xA;    &amp;lt;UserName&amp;gt;sa&amp;lt;/UserName&amp;gt;&#xA;    &amp;lt;Password&amp;gt;******&amp;lt;/Password&amp;gt;&#xA;  &amp;lt;/SQL&amp;gt;&#xA;  &amp;lt;VirtualDirectory ID=&quot;Publishing&quot; Create=&quot;True&quot; /&amp;gt;&#xA;  &amp;lt;NTService ID=&quot;StagingService&quot;&amp;gt;&#xA;    &amp;lt;UserName&amp;gt;rchopra&amp;lt;/UserName&amp;gt;&#xA;    &amp;lt;Domain&amp;gt;domain\rchopra&amp;lt;/Domain&amp;gt;&#xA;    &amp;lt;Password&amp;gt;*****&amp;lt;/Password&amp;gt;&#xA;  &amp;lt;/NTService&amp;gt;&#xA;&amp;lt;/Configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have run following command to install silently. It worked fine without any issue. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CommerceServer-11.2.189.0.exe -silent CSCONFIGXML=&quot;c:\CSConfig.xml&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-07-08T07:16:48.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6520" PostTypeId="1" AcceptedAnswerId="6522" CreationDate="2017-07-08T08:21:28.287" Score="13" ViewCount="2723" Body="&lt;p&gt;What is the main difference between Profile Card and Pattern Card. They both look similar. I would like to know what are the use cases where I can use profile card and use cases for Pattern Cards. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't see any OOTB personalization rules for profile cards. However there are couple of rules on pattern cards.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While profiling the content, we can only assign Profile cards to the content item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So is it safe to assume both are mutually inclusive?&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-07-08T08:34:17.903" LastActivityDate="2017-07-08T08:44:50.700" Title="What is difference between Sitecore Profile Card and Pattern Card" Tags="|personalization|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6521" PostTypeId="2" ParentId="6514" CreationDate="2017-07-08T08:37:16.070" Score="2" Body="&lt;p&gt;We sometimes use an approach very similar to the one Jay is suggesting, but instead of creating separate views we put an extra class on the body tag indicating editing mode. When you have this issue a lot, this might save you some views.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It does mean that the logic is in your layout (which might not be as good - I can follow Jay's argument) but you do have the benefit that it is on one place only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our css experts use this identifying class to handle the placeholders where needed giving them a minimal width or height (or anything you want probably), e.g. : &lt;code&gt;.pageEditMode .content-block .row{ width: 100%; }&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-07-08T08:37:16.070" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6522" PostTypeId="2" ParentId="6520" CreationDate="2017-07-08T08:44:50.700" Score="12" Body="&lt;p&gt;&lt;strong&gt;Profile cards&lt;/strong&gt; contain saved profile keys and profile values. You can use profile cards to assign standardized profile values to items across your website.&#xA;So you will use these to &quot;profile&quot; your content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/content_profiles#_Profile_cards&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/content_profiles#_Profile_cards&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pattern cards&lt;/strong&gt; are used to map profile values to specific types of visitors and implement personalization rules (as you noticed). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You typically use pattern cards to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Implement personalization rules based upon one or more pattern cards&lt;/li&gt;&#xA;&lt;li&gt;Define engagement plan steps that take effect when a visitor's behavior matches the pattern card&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/pattern_cards&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/pattern_cards&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a visitor navigates through a website, the profile values of all the pages and resources that they request are accumulated. Sitecore calculates the average score that the visitor has accumulated for each profile and maps the visitor to the pattern card that is the closest match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A visitor can only be mapped to one pattern card at a time. However, as a visitor navigates through your website, the pattern card that they are mapped to can change as they interact with different items and resources.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-07-08T08:44:50.700" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6523" PostTypeId="1" AcceptedAnswerId="6526" CreationDate="2017-07-08T09:36:47.110" Score="4" ViewCount="943" Body="&lt;p&gt;I want to import the Sitecore packages in Sitecore through code. Is there way to do this?&lt;/p&gt;&#xA;" OwnerUserId="2176" LastActivityDate="2017-08-26T23:02:43.010" Title="Importing packages from Sitecore through Code" Tags="|packages|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6524" PostTypeId="2" ParentId="6487" CreationDate="2017-07-08T09:56:14.610" Score="1" Body="&lt;p&gt;One way to improve the performance is to create enough replicas (copies of the index) to handle the query load. A single replica Basic service is targeted to handle low single digit QPS(queries per second). If you go beyond the limits of the service, latency can certainly become an issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as tool is concerned then one nice way to troubleshoot is to get more details on use of Azure Search Traffic Analytics which can expose the search metrics that include data such as the number of queries per second over various timeframe as well as the latency metrics that we are seeing internally. You can look at this article for more detail on how to review traffic. &lt;a href=&quot;https://azure.microsoft.com/en-us/blog/analyzing-your-azure-search-traffic/&quot; rel=&quot;noreferrer&quot;&gt;https://azure.microsoft.com/en-us/blog/analyzing-your-azure-search-traffic/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-07-08T09:56:14.610" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6525" PostTypeId="2" ParentId="6523" CreationDate="2017-07-08T09:57:35.130" Score="2" Body="&lt;p&gt;You can use Sitecore API to import the packages. You can use the code like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new ProxyDisabler())  &#xA;    {  &#xA;        using (new SyncOperationContext())  &#xA;        {  &#xA;            IProcessingContext context = new SimpleProcessingContext();  &#xA;            IItemInstallerEvents events = new DefaultItemInstallerEvents(new BehaviourOptions(InstallMode.Overwrite, MergeMode.Undefined));  &#xA;            context.AddAspect(events);  &#xA;            IFileInstallerEvents events1 = new DefaultFileInstallerEvents(true);  &#xA;            context.AddAspect(events1);  &#xA;&#xA;            Sitecore.Install.Installer packageInstaller = new Sitecore.Install.Installer();  &#xA;            packageInstaller.InstallPackage(MainUtil.MapPath(&quot;exact path for package with file name&quot;), context);  &#xA;        }  &#xA;    }  &#xA;}  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally you can use Sitecore API to export the package also.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-07-08T09:57:35.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6526" PostTypeId="2" ParentId="6523" CreationDate="2017-07-08T09:57:50.493" Score="14" Body="&lt;p&gt;Here is a nice blog post from Akshay Sura describing how to export and import packages:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.webdatasource.com/2011/08/exporting-and-importing-packages-from-sitecore-through-code-using-sitecore-api/&quot; rel=&quot;noreferrer&quot;&gt;http://www.webdatasource.com/2011/08/exporting-and-importing-packages-from-sitecore-through-code-using-sitecore-api/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code for import is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SecurityDisabler())&#xA;{&#xA;    using (new ProxyDisabler())&#xA;    {&#xA;        using (new SyncOperationContext())&#xA;        {&#xA;            IProcessingContext context = new SimpleProcessingContext();&#xA;            IItemInstallerEvents events = new DefaultItemInstallerEvents(new BehaviourOptions(InstallMode.Overwrite, MergeMode.Undefined));&#xA;            context.AddAspect(events);&#xA;            IFileInstallerEvents events1 = new DefaultFileInstallerEvents(true);&#xA;            context.AddAspect(events1);&#xA;&#xA;            Sitecore.Install.Installer installer = new Sitecore.Install.Installer();&#xA;            installer.InstallPackage(MainUtil.MapPath(&quot;INSERT PACKAGE PATH INCLUDING THE FILE NAME&quot;), context);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-07-08T09:57:50.493" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6527" PostTypeId="2" ParentId="6523" CreationDate="2017-07-08T15:51:55.427" Score="8" Body="&lt;p&gt;Your question did not specify which language the code needed to be written in, so here is an example in PowerShell.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PS master:\&amp;gt; Install-Package -Path YourPackageName.zip -InstallMode Merge -MergeMode Merge&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unless you have a really good reason to use C# code to install the packages, I would recommend you use Sitecore PowerShell Extensions (SPE).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check out the book for more details:&#xA;&lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/commands/Install-Package.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/appendix/commands/Install-Package.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-08-26T23:02:43.010" LastActivityDate="2017-08-26T23:02:43.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6528" PostTypeId="1" CreationDate="2017-07-08T21:35:20.317" Score="0" ViewCount="234" Body="&lt;p&gt;I'm using an item bucket for an article content type.  For this project, we're trying to empower the author to do as much work as possible within the Experience Editor, and hopefully stay out of the Content Editor.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Experience Editor doesn't have item bucket search/filter functionality; like filter by template, author, etc.&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nDB6T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nDB6T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question:  Does anyone have experience/recommendations for making item bucket content search/filterable within the Experience Editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;7/9:  Adding clarification - Within the Experience Editor we're limited to the 'browse to' functionality in the navigation bar...&#xA;&lt;a href=&quot;https://i.stack.imgur.com/niHZG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/niHZG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I'm curious about any options to use the search/filter functionality from within the search tab of the Content Editor, but from within the Experience Editor.  The ultimate goal is to keep the author out of the Content Editor.&lt;/p&gt;&#xA;" OwnerUserId="165" LastEditorUserId="165" LastEditDate="2017-07-09T13:18:18.657" LastActivityDate="2017-07-09T13:18:18.657" Title="How to access item bucket search filters from within Experience Editor" Tags="|experience-editor|buckets|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6529" PostTypeId="2" ParentId="6056" CreationDate="2017-07-09T21:54:04.853" Score="1" Body="&lt;p&gt;Maybe you did find the answer meanwhile but still ... In Habitat one of the gulp tasks is &lt;code&gt;Run Unicorn&lt;/code&gt; and this will sync the serialized items in the repository to the database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Considering Kamsar pushed Unicorn 4 now you can directly implement the new updated way for your gulp task. &#xA;Basically the database is sorted before you can get to the website so no problems with synthesis. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, for the synthesis and your development environment, let the auto-generate config to do its job. Having these two you won't have to browse &lt;code&gt;/unicorn&lt;/code&gt; or &lt;code&gt;/synthesis&lt;/code&gt; on regular basis. &lt;/p&gt;&#xA;" OwnerUserId="2177" LastEditorUserId="605" LastEditDate="2017-07-10T08:12:10.523" LastActivityDate="2017-07-10T08:12:10.523" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6530" PostTypeId="1" AcceptedAnswerId="6533" CreationDate="2017-07-09T22:52:13.660" Score="2" ViewCount="746" Body="&lt;p&gt;Security Bulletin SC2017-001-170504 asks us to remove some handlers from CD, but looking at them I'm not sure if any of the others are actually needed. SC V8.2.1&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;handlers&amp;gt;&#xA;  &amp;lt;add name=&quot;WebDAVRoot&quot; path=&quot;*&quot; verb=&quot;OPTIONS,PROPFIND&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness32&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;WebDAVRoot64&quot; path=&quot;*&quot; verb=&quot;OPTIONS,PROPFIND&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness64&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_webDAV.ashx&quot; type=&quot;Sitecore.Resources.Media.WebDAVMediaRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.WebDAVMediaRequestHandler&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;Custom.Handlers.MediaRequestHandler, Custom&quot; name=&quot;Sitecore.MediaRequestHandler&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_xaml.ashx&quot; type=&quot;Sitecore.Web.UI.XamlSharp.Xaml.XamlPageHandlerFactory, Sitecore.Kernel&quot; name=&quot;Sitecore.XamlPageRequestHandler&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_icon.ashx&quot; type=&quot;Sitecore.Support.Resources.IconRequestHandler, Sitecore.Support.136135&quot; name=&quot;Sitecore.Support.IconRequestHandler&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_temp.ashx&quot; type=&quot;Sitecore.Resources.TempRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.TempRequestHandler&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_feed.ashx&quot; type=&quot;Sitecore.Shell.Feeds.FeedRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.FeedRequestHandler&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_handlers.ashx&quot; type=&quot;Sitecore.Web.CustomHandlerFactory, Sitecore.Kernel&quot; name=&quot;Sitecore.GenericHandler&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_device_simulation.ashx&quot; type=&quot;Sitecore.Shell.DeviceSimulation.SimulationRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.SimulationRequestHandler&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;Telerik_Web_UI_DialogHandler_aspx&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.DialogHandler.aspx&quot; type=&quot;Telerik.Web.UI.DialogHandler&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;Telerik_Web_UI_SpellCheckHandler_axd&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.SpellCheckHandler.axd&quot; type=&quot;Telerik.Web.UI.SpellCheckHandler&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;Telerik_Web_UI_WebResource_axd&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.WebResource.axd&quot; type=&quot;Telerik.Web.UI.WebResource&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;LoggerHandler&quot; verb=&quot;*&quot; path=&quot;*.logger&quot; type=&quot;JSNLog.LoggerHandler, Sitecore.Logging.Client&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;integratedMode&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;LoggerHandler-Classic&quot; path=&quot;*.logger&quot; verb=&quot;*&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;*.aspx&quot; type=&quot;Sitecore.DependencyInjection.AutowiredPageHandlerFactory, Sitecore.Kernel, Version=8.2.0, Culture=neutral&quot; name=&quot;AutowiredPageHandlerFactory&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; name=&quot;Sitecore.SpeakJS64&quot; path=&quot;*/speak/v1/*/*.js&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness64&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; name=&quot;Sitecore.SpeakJS32&quot; path=&quot;*/speak/v1/*/*.js&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness32&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; name=&quot;Sitecore.SpeakClassic64&quot; path=&quot;sitecore_speak.ashx&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness64&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; name=&quot;Sitecore.SpeakClassic32&quot; path=&quot;sitecore_speak.ashx&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness32&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_speak.ashx&quot; type=&quot;Sitecore.Resources.Scripts.ScriptHandler, Sitecore.Speak.Client&quot; name=&quot;Sitecore.Speak&quot; /&amp;gt;&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_expeditor_speak_request.ashx&quot; type=&quot;Sitecore.ExperienceEditor.Speak.Server.RequestHandler, Sitecore.ExperienceEditor.Speak&quot; name=&quot;Sitecore.ExperienceEditor.Speak&quot; /&amp;gt;&#xA;&amp;lt;/handlers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2017-07-09T22:59:22.087" LastActivityDate="2017-07-10T11:15:52.797" Title="What webServer handlers does a sitecore CD instance need?" Tags="|configuration|content-delivery|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6531" PostTypeId="2" ParentId="6416" CreationDate="2017-07-10T02:04:37.377" Score="3" Body="&lt;p&gt;Sitecore has now released the official fix for the Telerik vulnerability, it can be found at &lt;a href=&quot;https://kb.sitecore.net/articles/978654&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/978654&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The knowledge base article provides steps for fixing versions 6.6–8.2; the only other impacted version is 6.5, for which Sitecore has not released a fix, but recommends upgrading to a later version.&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-07-10T02:04:37.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6533" PostTypeId="2" ParentId="6530" CreationDate="2017-07-10T06:28:15.453" Score="3" Body="&lt;p&gt;You can definitely remove Telerik, Speak, Webdav and other CM side related handlers.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;WebDAVRoot&lt;/li&gt;&#xA;&lt;li&gt;WebDAVRoot64&lt;/li&gt;&#xA;&lt;li&gt;sitecore_webDAV.ashx&lt;/li&gt;&#xA;&lt;li&gt;sitecore_xaml.ashx&lt;/li&gt;&#xA;&lt;li&gt;sitecore_icon.ashx&lt;/li&gt;&#xA;&lt;li&gt;sitecore_feed.ashx&lt;/li&gt;&#xA;&lt;li&gt;sitecore_handlers.ashx&lt;/li&gt;&#xA;&lt;li&gt;Telerik_Web_UI_DialogHandler_aspx&lt;/li&gt;&#xA;&lt;li&gt;Telerik_Web_UI_SpellCheckHandler_axd&lt;/li&gt;&#xA;&lt;li&gt;Telerik_Web_UI_WebResource_axd&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.SpeakJS64 &lt;/li&gt;&#xA;&lt;li&gt;Sitecore.SpeakJS32&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.SpeakClassic64&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.SpeakClassic32 &lt;/li&gt;&#xA;&lt;li&gt;sitecore_speak.ashx&lt;/li&gt;&#xA;&lt;li&gt;sitecore_expeditor_speak_request.ashx&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;also check following link: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/limit_access_to_xml_xslt_and_mrt_files&quot; rel=&quot;nofollow noreferrer&quot;&gt;Limit access to .XML, .XSLT, and .MRT files&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2031" LastEditorUserId="73" LastEditDate="2017-07-10T11:15:52.797" LastActivityDate="2017-07-10T11:15:52.797" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6535" PostTypeId="1" CreationDate="2017-07-10T09:08:35.013" Score="2" ViewCount="897" Body="&lt;p&gt;I have added one extra publish target for some reason. I want only admins to see this.This has to be hidden in both the places (publish window and DB switcher) for non admins.&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="605" LastEditDate="2017-07-10T10:30:07.027" LastActivityDate="2017-07-10T13:05:57.597" Title="How to Hide one publish target?" Tags="|content-editor|publishing-targets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6539" PostTypeId="2" ParentId="6535" CreationDate="2017-07-10T12:46:40.200" Score="4" Body="&lt;p&gt;You can achieve this by removing &lt;code&gt;Read&lt;/code&gt; access to the &lt;code&gt;Publish Target&lt;/code&gt; for the users.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the &lt;code&gt;Security Editor&lt;/code&gt; from &lt;code&gt;Sitecore menu &amp;gt; Security Tools&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Select the &lt;code&gt;Everyone&lt;/code&gt; role from the &lt;code&gt;Roles and users&lt;/code&gt; selector&lt;/li&gt;&#xA;&lt;li&gt;Expand &lt;code&gt;/sitecore/System/Publishing targets&lt;/code&gt; node&lt;/li&gt;&#xA;&lt;li&gt;Select the option to remove &lt;code&gt;Inheritance&lt;/code&gt; from the targets you wish to restrict access to.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q9dUf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q9dUf.png&quot; alt=&quot;Security Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The target will now be removed from database switcher and as a Publishing target for your regular users. Any user which is an Administrator will still have these targets available, since admin role ignores all security settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If certain roles need to have these targets available, you can grant access to those specific roles by granting &quot;Read&quot; access to them.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-07-10T13:05:57.597" LastActivityDate="2017-07-10T13:05:57.597" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6540" PostTypeId="2" ParentId="6493" CreationDate="2017-07-10T12:54:02.287" Score="3" Body="&lt;p&gt;You are 100% correct - &lt;code&gt;Sitecore.Caching.Generics.Cache&amp;lt;T&amp;gt;.CacheEntry&lt;/code&gt; is not used out of the box to prioritize cache entries in any way. My guess is that &lt;code&gt;CachePriority&lt;/code&gt; property is meant to be used by custom &lt;code&gt;ICache&amp;lt;T&amp;gt;&lt;/code&gt; implementations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, each item added to the cache gets a default priority which is &lt;code&gt;Sitecore.Caching.CachePriority.Normal&lt;/code&gt;. It can be overridden in configuration file by specifying value for &quot;&lt;em&gt;Caching.Priority&lt;/em&gt;&quot; setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Disassembled code for &lt;code&gt;Sitecore.Configuration.Settings.Caching.DefaultPriority&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;get&#xA;    {&#xA;        string setting = Settings.GetSetting(&quot;Caching.Priority&quot;);&#xA;        if (setting.Length &amp;gt; 0)&#xA;        {&#xA;            Enum.Parse(typeof(CacheItemPriority), setting, true);&#xA;        }&#xA;        return CachePriority.Normal;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2017-07-10T13:12:00.023" LastActivityDate="2017-07-10T13:12:00.023" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6542" PostTypeId="2" ParentId="6514" CreationDate="2017-07-10T16:52:08.903" Score="7" Body="&lt;p&gt;One approach which we took on a previous project was to include some additional markup in Experience Editor mode and then apply some CSS to style those elements in a way that highlights them and makes placeholder and components more obvious to the authors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a number of ways to achieve this, such as adding additional pipelines to wrap your component with additional markup, but my approach can be found in this blog post: &lt;a href=&quot;https://jammykam.wordpress.com/2017/01/16/rendering-chrome/&quot; rel=&quot;noreferrer&quot;&gt;https://jammykam.wordpress.com/2017/01/16/rendering-chrome/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At a high level, the premise is to add some attributes to your HTML.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;div class=&quot;row&quot; data-container-title=&quot;Four Column Container&quot;&amp;gt;&#xA;    ...&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But by using an HTML helper the attribute text can be looked up from Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private static IHtmlString GetChromeAttribute(this SitecoreHelper helper, string title, string attribute)&#xA;{&#xA;    /* Earlier version of Sitecore? Use: Sitecore.Context.PageMode.IsPageEditorEditing */&#xA;    if (!Sitecore.Context.PageMode.IsExperienceEditorEditing)&#xA;        return null;&#xA;&#xA;    if (string.IsNullOrWhiteSpace(title))&#xA;        title = helper.CurrentRendering.RenderingItem.DisplayName;&#xA;&#xA;    if (Settings.GetBoolSetting(DisplayExtendedInfo, false))&#xA;        title += $&quot; ({helper.CurrentRendering.Renderer})&quot;;&#xA;&#xA;    string htmlString = $&quot;data-{attribute}-title=\&quot;{title}\&quot;&quot; + WrapperTitle(title);&#xA;    return new HtmlString(htmlString);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then use some CSS to add a border around the placeholder/component and use the content of the attribte to add a label:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt;html.chromeRenderingHighlight *[data-container-title],&#xA;html.chromeRenderingHighlight *[data-widget-title] {&#xA;  border: 3px solid rgba(169, 169, 169, 0.7);&#xA;  position: relative;&#xA;  ...&#xA;}&#xA;&#xA;html.chromeRenderingHighlight *[data-container-title]::before,&#xA;html.chromeRenderingHighlight *[data-widget-title]::before {&#xA;  color: #fff;&#xA;  content: attr(data-container-title);&#xA;  background-color: rgba(169, 169, 169, 0.7);&#xA;  display: block;&#xA;  position: absolute;&#xA;  top: 0;&#xA;  left: 0;&#xA;  ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The general concept can be seen in this CodePen demo: &lt;a href=&quot;https://codepen.io/jammykam/pen/ozPgZq&quot; rel=&quot;noreferrer&quot;&gt;https://codepen.io/jammykam/pen/ozPgZq&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-07-11T14:16:27.260" LastActivityDate="2017-07-11T14:16:27.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6544" PostTypeId="1" AcceptedAnswerId="6545" CreationDate="2017-07-10T17:32:38.820" Score="0" ViewCount="219" Body="&lt;p&gt;I'm using Sitecore 8.2 Update 3. I created an item with a branch template, and I see that template/ID in the &quot;Created From&quot; area of the quick info. However, when I publish to the web database, the &quot;Created From&quot; goes back to &quot;unknown.&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've republished the branch template to web and confirmed it's there, so I don't know why the ID would be disconnected going to web. We're using code that's checking if there's a specific branch ID, so this is pretty important.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We just upgraded from 8.1 Initial, and I confirmed this is working properly there. I've opened a ticket with Sitecore but wanted to see if anyone here has run into something similar.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-07-26T12:16:51.350" Title="Branch ID missing from web db" Tags="|content-editor|branch|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6545" PostTypeId="2" ParentId="6544" CreationDate="2017-07-11T01:33:40.573" Score="0" Body="&lt;p&gt;Sitecore Support said this was a known issue that was fixed in 8.2 Update 4. There's also a hot fix that's an updated version of Sitecore.Kernel.dll but they say it should only be used if the kernel's not otherwise patched.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-07-11T01:33:40.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6547" PostTypeId="1" CreationDate="2017-07-11T06:03:11.070" Score="1" ViewCount="763" Body="&lt;p&gt;I am writing a &lt;code&gt;item:created&lt;/code&gt; event. I need to update one of these values, however the .Fields collection comes up empty&lt;/p&gt;&#xA;" OwnerUserId="2158" LastEditorUserId="73" LastEditDate="2017-07-11T06:12:05.560" LastActivityDate="2017-07-13T11:05:06.123" Title="Sitecore item:created fields coming up empty" Tags="|events|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6548" PostTypeId="2" ParentId="6547" CreationDate="2017-07-11T08:33:18.250" Score="2" Body="&lt;p&gt;Try to use &lt;code&gt;item:added&lt;/code&gt; event like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;item:added&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;MyAssembly.MyNamespace.ItemEventHandler, MyAssembly&quot; method=&quot;OnItemAdded&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then in your code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemEventHandler&#xA;{&#xA;    protected void OnItemAdded(object sender, System.EventArgs args)&#xA;    {&#xA;        if (args == null)&#xA;            return;&#xA;&#xA;        var item = Sitecore.Events.Event.ExtractParameter(args, 0) as Sitecore.Data.Items.Item;&#xA;        if (item == null)&#xA;            return;&#xA;&#xA;        var field = item.Fields[&quot;TestField&quot;];&#xA;        if (field != null)&#xA;        {&#xA;            item.Editing.BeginEdit();&#xA;            field.Value += &quot;ItemEventHandler&quot;;&#xA;            item.Editing.EndEdit();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-07-11T08:33:18.250" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6549" PostTypeId="2" ParentId="6429" CreationDate="2017-07-11T12:56:43.717" Score="2" Body="&lt;p&gt;It seems like your issue is related to the load balancer setup -  Sitecore content management (CM instance) should be a single server in your pool (eg give one server the host cms.yoursite.com, setup the loadbalancer to forward to that one machine, or use external ip on 1 server for instance); or you need to configure sticky sessions to ensure the request goes back to the same instance.  The issue you are seeing is related to one server sending the response, and when you save the second server tries to process the response, but it doesn't match what it would have generated so it throws an exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore provide detailed instructions on how to scale for production, it's quite complex and there are number of considerations you (may) need to address for instance do you need to scale dbs, and your indexing solution - Sitecore recommend using solr and not lucene if you have multiple content delivery servers.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check on Sitecore's document site &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure a Content management server&lt;/a&gt; for your version and advice they provide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will also need to follow the documentation for security hardening on your servers.&lt;/p&gt;&#xA;" OwnerUserId="511" LastEditorUserId="511" LastEditDate="2017-07-11T14:17:25.197" LastActivityDate="2017-07-11T14:17:25.197" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6550" PostTypeId="2" ParentId="6493" CreationDate="2017-07-11T14:35:36.087" Score="2" Body="&lt;p&gt;After conferring with Sitecore Support, it was their determination as well that the &lt;code&gt;Sitecore.Caching.CachePriority&lt;/code&gt; enum type has not been used since Sitecore 5.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, note that the related &lt;code&gt;Caching.Priority&lt;/code&gt; config setting is not even taken into account, and the &lt;code&gt;CachePriority.Normal&lt;/code&gt; is always returned (see @grg's answer or the decompiled source of the &lt;code&gt;Sitecore.Configuration.Settings.Caching.DefaultPriority&lt;/code&gt; propert). &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;From Sitecore Support in regards to the eviction flow:&lt;/h3&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the current caching implementation, the eviction happens when a new key should be added, but there is not enough space left to add it.&#xA;  When a new entry is added to the cache, the CheckSize method checks if there is enough space. If not, cache entries should be evicted or the whole cache should be cleared.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The Scavenge method performs eviction (or cleanup, if necessary). Note: as a result, the scavenge is not performed in case the cache size limits are disabled.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;By default, the DefaultScavengeStrategy is used. This strategy does not take the priority of the cache or cache entries into the account. There are no other strategies available by default. Therefore, it looks like the CachePriority is obsolete as well as the related properties.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;We have registered a bug related to the unused CachePriority enum and the related Caching.Priority configuration setting (reference number 93317).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;Sitecore Support later clarified the nature of the bug:&lt;/h3&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The bug is related to the fact that there are unused configuration settings, enums and properties.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;It is not specified if this functionality should be deleted or included in the eviction logic. Therefore, hat's up to developers to review it and decide if the cache priority can be used to improve the eviction functionality (for example, by adding a new scavenge strategy) or there are some potential drawbacks and this functionality should be deprecated.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Hopefully, the developers at Sitecore will see this post and realize that there is value in either adding in the missing cache priority logic and/or making it possible to write custom scavenge strategies.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-07-11T14:35:36.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6551" PostTypeId="1" CreationDate="2017-07-11T15:04:19.757" Score="2" ViewCount="1154" Body="&lt;p&gt;Is it possible to have the English version of a page with multiple rich text editors and each rich text editor will show text in a different language? Or even in the same rich text editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would I make this happen?&lt;/p&gt;&#xA;" OwnerUserId="1789" LastEditorUserId="1000" LastEditDate="2017-07-12T23:19:47.403" LastActivityDate="2017-07-13T18:39:17.247" Title="Multiple Languages on One Page" Tags="|multilingual|richtext-editor|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6552" PostTypeId="1" AcceptedAnswerId="6553" CreationDate="2017-07-11T15:19:46.693" Score="12" ViewCount="7144" Body="&lt;p&gt;I was having an issue on a clients Staging environment where I was trying to use the Sitecore Item API to get items and I was getting an 403 error. It worked fine locally, I have a login method that sets the cookie and lets me get an item via the Item API. However on the Staging servers where CD and CA are on separate load-balanced servers this isn't working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is sample of the code I'm using to get an item using the login cookies created in the login method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;           HttpWebRequest request = WebRequest.CreateHttp($&quot;https://{_baseAPIUrl}/sitecore/api/ssc/item/{HttpUtility.UrlEncode(parentItemId)}/children?includeStandardTemplateFields=true&quot;);&#xA;            request.Method = &quot;GET&quot;;&#xA;            request.ContentType = &quot;multipart/form-data&quot;;&#xA;            request.CookieContainer = loginCookies;&#xA;&#xA;            using (WebResponse response = request.GetResponse())&#xA;            {&#xA;                using (Stream stream = response.GetResponseStream())&#xA;                {&#xA;                    using (StreamReader streamReader = new StreamReader(stream))&#xA;                    {&#xA;                        string responseContent = streamReader.ReadToEnd();&#xA;                    }&#xA;                }&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error I get back is (403) Forbidden, even though the item definitely exists in Sitecore and the user has access to the item. I've tried multiple items too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I look in the logs I get: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unauthorised request (originated from IP : x.y.z.a) for&#xA;  Sitecore.Services.Infrastructure.Sitecore.Controllers.ItemServiceController&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I knew the if you inherit from ServicesApiController you need to exclude the controller from the security policy you use it by adding an allowedController element under: api/services/configuration/allowedControllers. However this didn't work for me as my controller is just an standard ApiController and I want to keep it this way to de-couple it from Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further details on the Item API can be found here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="423" LastEditDate="2017-08-08T14:27:15.057" LastActivityDate="2021-10-21T07:48:23.433" Title="Getting item from the Sitecore Item Service API not working remotely (403 Forbidden)" Tags="|security|sitecore-services-client|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6553" PostTypeId="2" ParentId="6552" CreationDate="2017-07-11T15:19:46.693" Score="20" Body="&lt;p&gt;The issue here turned out to be the Sitecore.Services.SecurityPolicy setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default it only allows local requests to the API and as I have more servers in the mix and a load balancer on Staging I needed to allow remote requests with a patch file like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;    &amp;lt;setting name=&quot;Sitecore.Services.SecurityPolicy&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy, Sitecore.Services.Infrastructure&quot; /&amp;gt;&#xA;    &amp;lt;/setting&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is more info on this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient_security&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient_security&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone knows a better way to handle this then please let me know.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-07-11T15:19:46.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6554" PostTypeId="2" ParentId="6488" CreationDate="2017-07-11T16:20:01.057" Score="0" Body="&lt;p&gt;The solution ended up being something along the lines of Andrey Bobrov's suggestion:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Are you sure that there are no additional route definitions in your&#xA;  project? Try search (ctrl+shift+F) for &quot;Route&quot; and check if there is&#xA;  anything defining a new route with an Index method as default or just&#xA;  hard-coded.&#xA;  I had defined a JSON service route that implemented the same path as the page I was tying to access. Changed the service route solved the issue quickly.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2167" LastActivityDate="2017-07-11T16:20:01.057" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6555" PostTypeId="1" AcceptedAnswerId="6556" CreationDate="2017-07-11T17:53:49.463" Score="6" ViewCount="1813" Body="&lt;p&gt;I am trying to get all personalization set in a given page from a RenderingController context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult GetPersonalizationRule()&#xA;{&#xA;    var contextItem = Sitecore.Context.Item;           &#xA;    // Code to get all personalizations&#xA;    return View();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="522" LastActivityDate="2020-12-22T09:48:34.380" Title="How can I programmatically list all personalization in my page?" Tags="|presentation|personalization|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6556" PostTypeId="2" ParentId="6555" CreationDate="2017-07-11T18:19:25.463" Score="10" Body="&lt;p&gt;You can get the personalization from the renderings field.&#xA;If you open an item that contains personalization you will notice on the renderings field in Raw mode something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rls&amp;gt;&amp;lt;ruleset&amp;gt;&amp;lt;rule uid=&quot;{088B27BA-3E2E-4928-9F67-3951C7C0F112}&quot; s:name=&quot;test&quot;&amp;gt;&amp;lt;conditions&amp;gt;&amp;lt;condition uid=&quot;7B0698159A914755B99BE5A5D6A0786D&quot; s:id=&quot;{8A9B001F-FB59-4F0F-B3F3-C6C5360ED451}&quot; s:Now=&quot;20170728T180300Z&quot; /&amp;gt;&amp;lt;/conditions&amp;gt;&amp;lt;actions&amp;gt;&amp;lt;action uid=&quot;239294CA205E4A0CBD648A3C07037E89&quot; s:id=&quot;{25F351A1-712D-45F8-857D-8AD95BB2ACE9}&quot; /&amp;gt;&amp;lt;/actions&amp;gt;&amp;lt;/rule&amp;gt;&amp;lt;rule uid=&quot;{00000000-0000-0000-0000-000000000000}&quot; s:name=&quot;Default&quot;&amp;gt;&amp;lt;conditions&amp;gt;&amp;lt;condition uid=&quot;A33C959CAB4E4AC783FB25888B10A759&quot; s:id=&quot;{4888ABBB-F17D-4485-B14B-842413F88732}&quot; /&amp;gt;&amp;lt;/conditions&amp;gt;&amp;lt;actions /&amp;gt;&amp;lt;/rule&amp;gt;&amp;lt;/ruleset&amp;gt;&amp;lt;/rls&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the personalization rules set on the field with an XML format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the first thing you need to do is loop and filter which renderings you want to check for personalization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this will be something like this(haven't tested the code but should work)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.LayoutField layoutField = item.Fields[&quot;__renderings&quot;];&#xA;Sitecore.Layouts.RenderingReference[] renderings = layoutField.GetReferences(Sitecore.Context.Device);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'll add the remaining code shortly but this should point you to the right direction&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-07-11T18:19:25.463" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6557" PostTypeId="1" CreationDate="2017-07-11T19:36:23.263" Score="2" ViewCount="227" Body="&lt;p&gt;I have a Sitecore site that has a section of region pages. I need to create roles for sites that will allow a user to only see their assigned region in the shell. This role should not keep the user from being able to see other regions on the front end though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to separate read access in the shell vs read access on the front end of the site? The site is going to be accessible to anonymous users. The goal of this is to allow a content editor that only has permission to edit a region to still be able to look at the front end of any other region on the site without needing to log out of the shell. I have discussed just not allowing write access to other regions however a requirement is that regions cannot see unpublished data another region has.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="73" LastEditDate="2017-07-12T11:49:58.473" LastActivityDate="2017-07-12T11:49:58.473" Title="Deny Read Access in &quot;shell&quot; but allow Read Access on the front end" Tags="|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6558" PostTypeId="2" ParentId="6557" CreationDate="2017-07-11T20:02:22.213" Score="2" Body="&lt;p&gt;Sitecore uses domains for this purpose: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/security_domains&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/security_domains&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You can use security domains to manage user's access to different&#xA;  parts of Sitecore, for example, if you have multiple websites within a&#xA;  single system.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;A Sitecore domain is a collection of security accounts (users and&#xA;  roles) that you can administer as a unit with common rules and&#xA;  procedures. A domain is used to collect security accounts that have&#xA;  some logical relationship, for example, all the accounts that have&#xA;  access to use the Sitecore clients could be stored in the Sitecore&#xA;  domain, whereas all the accounts with access to the published website&#xA;  could be stored in the Extranet domain.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So your users in the shell (Sitecore admin) will not be the same as the users used on the frontend - they will be in a different domain. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mostly roles are not used over domains, although you should be able to mix roles and domains (and users), but if you would go that way it might become very complex - and probably still impossible for a single user to deny read access in the shell while having read access elsewhere (never mixed these myself).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Edit after comments&lt;/em&gt;:&#xA;if you need a user to have different rights, you need 2 users (one in each domain). But if this is only to have your editors browse the site while editing, this can be achieved by using another browser or by using an incognito window in Chrome (anything that does not uses the same session actually).&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-07-12T07:38:11.623" LastActivityDate="2017-07-12T07:38:11.623" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6559" PostTypeId="2" ParentId="6557" CreationDate="2017-07-11T20:03:11.710" Score="2" Body="&lt;p&gt;The security administration should be your friend in anything security related with Sitecore. You can access it &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on your question there should not be any issues in setting up things the way you want BUT you are talking about two different domains:&#xA;1- sitecore domain which is the backend&#xA;2- extranet domain which is the frontend.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A security account can only be assigned to one domain. If, for example, a user needs to access multiple domains which seems to be your case, you must create separate roles for each domain that they need to access and make the user a member of all the relevant roles to have proper access.&#xA;You can use the Role Manager to create your roles and the security editor to assign the permissions.&#xA;With access viewer you can see the permissions for the roles so you can have a good way of seeing which permissions are being set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-07-11T20:03:11.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6560" PostTypeId="1" AcceptedAnswerId="6574" CreationDate="2017-07-11T21:26:19.460" Score="4" ViewCount="1303" Body="&lt;p&gt;Does anyone know how I can add a new link button to perform custom actions for the fields Image, General Link and Rich text editor on the content editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example on the Rich text field we get this as out of the box:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/gic0E.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gic0E.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'm looking for in this case is to add a new link besides the &quot;Edit HTML&quot; link to perform custom actions. &#xA;The same would go for the fields General Link and Image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;:&#xA;Although Dylan's response does cover part of the question I'm expanding the question to be more specific. It's not just creating the menu items on core but the implementation of it. So here are two points:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) ideally not use a new custom field but instead add a new menu item to existing field types&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) how should be the declaration of the menu items in terms of specifying what are the commands that it trigger and how should those be implemented? For example in Experience Editor one might declare a command on a config patch file setting the type and using it to trigger the command. How would that go for the content editor?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-07-12T16:09:20.397" LastActivityDate="2017-07-12T19:56:34.997" Title="Content Editor: Add properties link for General Link, Image field and Rich text editor" Tags="|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6562" PostTypeId="2" ParentId="6560" CreationDate="2017-07-11T22:34:38.117" Score="3" Body="&lt;p&gt;Sounds like you are looking for custom menu options, which you can edit in the &lt;code&gt;Core&lt;/code&gt; database by going to this location:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Field types&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd suggest creating a new custom field that extends upon the Rich Text, General Link or other Field Types rather than customizing the existing sitecore OOTB fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So for example if you wanted to add additional menu items to the Rich Text Field, you could go to this item &lt;code&gt;/sitecore/system/Field types/Simple Types/Rich Text&lt;/code&gt; and open up the options and under &lt;code&gt;Menu&lt;/code&gt; you should see the 3 options that you showed in the screenshot above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when you add an additional menu item, you will need to specify what it triggers.  Typically you would want it to trigger an action that would take place in the main code base for your custom field, which depending on the message you send, it would trigger custom logic.  Often this would trigger a custom Sheer/Speak dialog where the user would fill in further input information to affect the field depending on your needs.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-07-11T22:34:38.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6563" PostTypeId="1" CreationDate="2017-07-12T04:30:22.037" Score="0" ViewCount="314" Body="&lt;p&gt;I need to programmatically update the Default Bucket Query in a Saved Search in Sitecore. I am fairly new to this area, how do I get this done?&lt;/p&gt;&#xA;" OwnerUserId="2158" LastEditorUserId="423" LastEditDate="2017-08-08T14:38:33.003" LastActivityDate="2017-09-11T18:11:25.093" Title="Programmatically update Default Bucket Query in a Saved Search" Tags="|sitecore-client|buckets|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6568" PostTypeId="1" AcceptedAnswerId="6569" CreationDate="2017-07-12T13:08:24.157" Score="11" ViewCount="2440" Body="&lt;p&gt;I've been trying to get Solr configured right with Sitecore, but the one bit that's still causing background errors is indexing PDF content. I've been searching about and I'm not finding a clear-cut answer to the issue. I'm using the Bitnami Solr 6.5.1 with Sitecore 8.2 Update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I reindex, I see many of these errors in the Crawling.log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;4896 07:53:04 WARN  Could not compute value for ComputedIndexField: _content for indexable: sitecore://master/{C59FEEF5-9C81-463A-8C4C-3E5C2B0D634F}?lang=en&amp;amp;ver=1&#xA;Exception: System.Runtime.InteropServices.COMException&#xA;Message: Exception from HRESULT: 0x80048605&#xA;Source: Sitecore.ContentSearch&#xA;   at Sitecore.ContentSearch.Extracters.IFilterTextExtraction.IPersistStream.Load(IStream stream)&#xA;   at Sitecore.ContentSearch.Extracters.IFilterTextExtraction.FilterLoader.InitializeFilterAsPersistStream(IFilter filter, String fileName)&#xA;   at Sitecore.ContentSearch.Extracters.IFilterTextExtraction.FilterLoader.LoadAndInitIFilter(String fileName, String extension)&#xA;   at Sitecore.ContentSearch.Extracters.IFilterTextExtraction.FilterReader..ctor(String fileName)&#xA;   at Sitecore.ContentSearch.ComputedFields.MediaItemIFilterTextExtractor.ComputeFieldValue(IIndexable indexable)&#xA;   at Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor.ComputeFieldValue(IIndexable indexable)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilder.AddComputedIndexField(IComputedIndexField computedIndexField, ParallelLoopState parallelLoopState, ConcurrentQueue`1 exceptions)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my ContentSearch.Solr.DefaultIndexConfiguration.config, I see the following line in my fields list:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;_content&quot; returnType=&quot;string&quot; type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&quot;&amp;gt;&#xA;     &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/mediaIndexing&quot;/&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then there's an entire mediaIndexing section where it includes application/PDF as a mimeType. I think it's all pretty out-of-the-box. Also, in the schema.xml, I see the _content field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field name=&quot;_content&quot; type=&quot;text_general&quot; indexed=&quot;true&quot; stored=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it looks like everything is good to go. When I was searching around, I saw mention of maybe needing to install IFilters manually, but I see pdfbox as part of the standard Sitecore install, which I believe is a valid option, and it's using a Sitecore call to do the work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was reading also about configuring library entries in the solrconfig.xml to do PDF indexing, but these logs seem to suggest Sitecore is handling that through its auspices and sending the data into the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I figure this might require more information, so please ask in comments if so.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-07-19T17:35:25.317" Title="Indexing PDF content with Solr error" Tags="|content-search|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6569" PostTypeId="2" ParentId="6568" CreationDate="2017-07-12T14:23:47.327" Score="7" Body="&lt;p&gt;Please install IFilter, because it is required for indexing media items.&#xA;For general information about the IFilter integration with Sitecore, you can refer to the following &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/75/developer&amp;#39;s_guide_to_item_buckets_and%20search_sc75-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;documentation&lt;/a&gt;  (Uploading Files to the Media Library):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it is already installed, please confirm that after installation of Adobe PDF iFilter 11:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;you executed the steps mentioned in its readme:&#xA;C:\Program Files\Adobe\Adobe PDF iFilter 11 for 64-bit platforms\ReadMe.txt&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;added the following folder to system Path variable:&#xA;C:\Program Files\Adobe\Adobe PDF iFilter 11 for 64-bit platforms\bin&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In addition, try to perform the solution from the following article:&#xA;&lt;a href=&quot;https://helpx.adobe.com/acrobat/kb/pdf-search-breaks-110-install.html&quot; rel=&quot;noreferrer&quot;&gt;https://helpx.adobe.com/acrobat/kb/pdf-search-breaks-110-install.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-07-12T14:23:47.327" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6572" PostTypeId="1" AcceptedAnswerId="6573" CreationDate="2017-07-12T16:49:04.907" Score="5" ViewCount="4221" Body="&lt;p&gt;We are currently working on migrating from Lucene to Solr and we're having a couple of issues with our index data. There hasn't been any code changes so we're assuming it is stemming from the indexed data. We have a couple of multivalued field &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field name=&quot;indexname_s&quot; type=&quot;string&quot; indexed=&quot;true&quot; multiValued=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This field is supposed to be multivalued, which as you can see, it is. However, I was wondering if that &lt;code&gt;_s&lt;/code&gt; postfix would have an effect of any sort. The field contains a string collection, which I know should be postfixed with &lt;code&gt;_sm&lt;/code&gt;. Does the postfix really affect data?&lt;/p&gt;&#xA;" OwnerUserId="2157" LastEditorUserId="70" LastEditDate="2017-07-12T18:24:12.333" LastActivityDate="2017-07-12T18:24:12.333" Title="Solr multivalued fields" Tags="|solr|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6573" PostTypeId="2" ParentId="6572" CreationDate="2017-07-12T17:01:10.823" Score="3" Body="&lt;p&gt;Yes it does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or rather, yes, it can do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the fields are not defined in the &lt;code&gt;schema.xml&lt;/code&gt;, SOLR will map field types based on patterns in the field name. Sort of like &lt;em&gt;convention over configuration&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some common conventions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AiBwo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AiBwo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Information sourced from: &lt;a href=&quot;http://yonik.com/solr-tutorial/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr Tutorial&lt;/a&gt; by &lt;a href=&quot;https://twitter.com/lucene_solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;@lucene_solr&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-07-12T17:01:10.823" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6574" PostTypeId="2" ParentId="6560" CreationDate="2017-07-12T17:51:55.667" Score="2" Body="&lt;p&gt;I followed this article here in order to add a &quot;Insert Telephone Link&quot; to the General Link field: &lt;a href=&quot;https://www.akshaysura.com/2015/02/22/add-telephone-link-to-the-general-link-field-type-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.akshaysura.com/2015/02/22/add-telephone-link-to-the-general-link-field-type-in-sitecore/&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, you'll do:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the Core database, add a menu to the field;&lt;/li&gt;&#xA;&lt;li&gt;Create a new class to handle the link message you set in the menu;&lt;/li&gt;&#xA;&lt;li&gt;Create a patch for the class that handles the link message;&lt;/li&gt;&#xA;&lt;li&gt;Create a Dialog for the menu using XML;&lt;/li&gt;&#xA;&lt;li&gt;Create a class to act as the code behind for the XML;&lt;/li&gt;&#xA;&lt;li&gt;Create a class to handle the rendering of the new menu;&lt;/li&gt;&#xA;&lt;li&gt;Finally, create a config patch for the handler.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Let me know if that works for you.&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2017-07-12T19:56:34.997" LastActivityDate="2017-07-12T19:56:34.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6575" PostTypeId="1" CreationDate="2017-07-12T18:56:33.967" Score="7" ViewCount="2924" Body="&lt;p&gt;Is there any way if we can download bulk PDF (or any media) from Sitecore Media Library?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically we have to change one logo in all PDFs in Media Library and re-upload all.&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="73" LastEditDate="2017-07-12T19:11:58.150" LastActivityDate="2017-07-12T19:11:58.150" Title="Bulk download PDF media in Sitecore Media Library" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6576" PostTypeId="2" ParentId="6575" CreationDate="2017-07-12T19:03:03.657" Score="7" Body="&lt;p&gt;You can use Sitecore PowerShell Extensions to do both.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right after you install you can bulk download from the media library using the context menu options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can selectively download in a package or just download everything.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Download - Used to download a regular zip of the files.&lt;/li&gt;&#xA;&lt;li&gt;Packaging - Used to generate a Sitecore zip package of the items.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Aclot.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Aclot.png&quot; alt=&quot;Bulk Download&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use SPE to bulk upload through the PowerShell Remoting module.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-07-12T19:03:03.657" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="6577" PostTypeId="1" AcceptedAnswerId="6584" CreationDate="2017-07-12T20:19:17.187" Score="-2" ViewCount="203" Body="&lt;p&gt;Do we have any Solr based blog module available in Sitecore? We have looked for different blog solution but didn't find any blog module based on Solr.&lt;/p&gt;&#xA;" OwnerUserId="2107" LastActivityDate="2017-07-12T23:02:51.977" Title="Solr based Sitecore Blog Module" Tags="|solr|" AnswerCount="1" CommentCount="3" ClosedDate="2017-07-13T13:27:35.663" ContentLicense="CC BY-SA 3.0" />
  <row Id="6578" PostTypeId="1" AcceptedAnswerId="6580" CreationDate="2017-07-12T20:22:39.163" Score="3" ViewCount="652" Body="&lt;p&gt;As I try to migrate an existing Sitecore site over to Helix (specifically focusing on new areas of the site and sublayouts) I'm running into what I believe is contradictory information, or a lack of understanding on my part.&lt;/p&gt;&#xA;&lt;p&gt;According to &lt;a href=&quot;http://helix.sitecore.net/principles/templates/template-types.html#page-type-templates&quot; rel=&quot;nofollow noreferrer&quot;&gt;2.5.3. Template Types in the Helix documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Page Type templates are only ever present in the Project layer, as these are the integration points for the functionality in feature and foundation modules. Page Type Templates are therefore maintained in a common folder for a Project, equivalent to a site type. Each page in a site of the given Project type are instances of a Page Type template. This is actually very handy as all page types of a site are maintained in a single location, which can make it easier to manage site-wide changes to all page types.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Which is a bit verbose, but looking at the Habitat Example image (below) makes things a bit clearer and suggests that templates for pages should exist in Sitecore under &lt;strong&gt;/sitecore/templates/Project/Site/Page Types&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This seems to be &lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/master/src/Project/Habitat/serialization/Habitat.Website.Templates/Habitat/Page%20Types&quot; rel=&quot;nofollow noreferrer&quot;&gt;backed up by the Habitat project&lt;/a&gt;, so I setup Unicorn serialization accordingly.&lt;/p&gt;&#xA;&lt;p&gt;However, when reading through the documentation further I see &lt;a href=&quot;http://helix.sitecore.net/principles/sitecore-items/item-types.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;2.4.1 Item types&lt;/a&gt; where it states:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The items in your Sitecore databases can be split, for management and governance purposes, into two main categories: Content Items and Definition Items.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;For definition items:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Definition items are items that typically define the configuration or structure of the implementation or which contain metadata for assets in the solutions. These items are owned, i.e. created and managed, in the development environment and moved as part of versioned deployments from development to test to production.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;In the Habitat Example section:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Note how in the Habitat example sites, all Feature and Foundation modules almost exclusively contain Definition Items. [...]&lt;/p&gt;&#xA;&lt;p&gt;The Project layer modules on the other hand consist of a majority of Content items, which are managed by editors.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This suggests to me that the Page Types should belong with the Feature instead.&lt;/p&gt;&#xA;&lt;p&gt;Am I understanding this correctly, and safe to assume that in the case of page types Helix would recommend those could be created under the Project layer, per 2.5.3?&lt;/p&gt;&#xA;&lt;p&gt;For the sake of this, the items will be created in Sitecore by a developer, and will have Presentation Details set on their standard values with the basic layout and controls we want on all pages in the section, again in Sitecore.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xMOr9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xMOr9.png&quot; alt=&quot;Figure: Page Type Templates of the Habitat website&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-07-12T21:17:33.640" Title="According to Helix, where should Page Type templates belong?" Tags="|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6580" PostTypeId="2" ParentId="6578" CreationDate="2017-07-12T21:17:33.640" Score="4" Body="&lt;p&gt;Page Type templates should only ever exist in the Project Layer.  They should also only inherit (via the Base Templates Field) from interface templates.  For best practice purposes it's better to follow the Guidelines in Helix and not necessarily follow everything you see in Habitat.  Habitat is built to be a guide to Helix principles, but there are definitely places even in Habitat that don't exactly follow the Helix standards.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-07-12T21:17:33.640" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6581" PostTypeId="1" CreationDate="2017-07-12T21:26:08.203" Score="0" ViewCount="910" Body="&lt;p&gt;Recently I've been exploring Glass Mapper for Sitecore and stumbled upon a very strange issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;PROBLEM&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Imagine  you have an item of &lt;code&gt;MyModel&lt;/code&gt; and it contains a few Droplink fields that point to other items. The &lt;code&gt;MyModel&lt;/code&gt; item exists only in one language (so are the linked items), i.e. it is a helper item that is used in dropdowns and has only shared fields, so it makes no sense to keep a version of it in every language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, the Glass Mapper team recommends using &lt;code&gt;VersionCountDisabler&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using(new VersionCountDisabler()){&#xA;&#xA;    var model =  sitecoreService.GetItem&amp;lt;MyModel&amp;gt;(&quot;/sitecore/content/home&quot;);&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But in my project I've noticed that if I don't access any property of &lt;code&gt;model&lt;/code&gt; while inside the using statement and the code reaches the closing curly bracket (and the instance of the &lt;code&gt;VersionCountDisabler&lt;/code&gt; get disposed of) then all the properties in my model get set back to null.&#xA;If I, however, access &lt;em&gt;any&lt;/em&gt; property while &lt;em&gt;inside&lt;/em&gt; the using statement, I will be able to access my model properties even when the &lt;code&gt;VersionCountDisabler&lt;/code&gt; is disposed of.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently the proxy object is killed when the &lt;code&gt;VersionCountDisabler&lt;/code&gt; is being disposed of.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;DESIRED BEHAVIOR&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my world Glass Mapper should keep the field values regardless of me accessing them inside the &lt;code&gt;VersionCountDisabler&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1739" LastEditorUserId="73" LastEditDate="2017-08-03T13:25:02.017" LastActivityDate="2019-05-15T07:59:46.440" Title="Sitecore Glass.Mapper VersionCountDisabler is disposed of too early" Tags="|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6582" PostTypeId="2" ParentId="6581" CreationDate="2017-07-12T21:26:08.203" Score="0" Body="&lt;p&gt;Well, I am not sure if it's a bug in Glass Mapper or not (I think it's not), but there seems to be an article on the Internet that kind of addresses the problem: &lt;a href=&quot;https://ctor.io/shared-field-references-in-glass-mapper/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ctor.io/shared-field-references-in-glass-mapper/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the article is rather outdated (it has been written for Glass.Mapper V3) and it covers only the attribute part of the problem without even touching the FluentAPI which I prefer to attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I decided to extend the solution proposed there and add support for FluentAPI mappings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I took the &lt;code&gt;SitecoreSharedFieldTypeMapper&lt;/code&gt; and &lt;code&gt;SitecoreSharedFieldConfiguration&lt;/code&gt; almost as they are (The &lt;code&gt;SitecoreSharedFieldConfiguration' does not have the&lt;/code&gt;Copy()` override anymore, so I removed it) and added two more classes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SitecoreSharedField&amp;lt;T&amp;gt; : AbstractPropertyBuilder&amp;lt;T, SitecoreSharedFieldConfiguration&amp;gt;&#xA;{&#xA;    public SitecoreSharedField(Expression&amp;lt;Func&amp;lt;T, object&amp;gt;&amp;gt; ex) : base(ex)&#xA;    {&#xA;        this.Configuration.FieldName = this.Configuration.PropertyInfo.Name;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; IsCodeFirst()&#xA;    {&#xA;        this.Configuration.CodeFirst = true;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; FieldId(string id)&#xA;    {&#xA;        return this.FieldId(new ID(id));&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; FieldId(Guid id)&#xA;    {&#xA;        return this.FieldId(new ID(id));&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; FieldId(ID id)&#xA;    {&#xA;        this.Configuration.FieldId = id;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; FieldName(string name)&#xA;    {&#xA;        this.Configuration.FieldName = name;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; FieldSource(string fieldSource)&#xA;    {&#xA;        this.Configuration.FieldSource = fieldSource;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; FieldTitle(string fieldTitle)&#xA;    {&#xA;        this.Configuration.FieldTitle = fieldTitle;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; FieldType(SitecoreFieldType fieldType)&#xA;    {&#xA;        this.Configuration.FieldType = fieldType;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; IsShared()&#xA;    {&#xA;        this.Configuration.IsShared = true;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; IsUnversioned()&#xA;    {&#xA;        this.Configuration.IsUnversioned = true;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; CustomFieldType(string fieldType)&#xA;    {&#xA;        this.Configuration.CustomFieldType = fieldType;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; Setting(SitecoreFieldSettings setting)&#xA;    {&#xA;        this.Configuration.Setting = setting;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; SectionName(string sectionName)&#xA;    {&#xA;        this.Configuration.SectionName = sectionName;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; ReadOnly()&#xA;    {&#xA;        this.Configuration.ReadOnly = true;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; FieldSortOrder(int order)&#xA;    {&#xA;        this.Configuration.FieldSortOrder = order;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; SectionSortOrder(int order)&#xA;    {&#xA;        this.Configuration.SectionSortOrder = order;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; ValidationErrorText(string text)&#xA;    {&#xA;        this.Configuration.ValidationErrorText = text;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; ValidationRegularExpression(string regex)&#xA;    {&#xA;        this.Configuration.ValidationRegularExpression = regex;&#xA;        return this;&#xA;    }&#xA;&#xA;    public SitecoreSharedField&amp;lt;T&amp;gt; IsRequired()&#xA;    {&#xA;        this.Configuration.IsRequired = true;&#xA;        return this;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class SitecoreTypeExtensions&#xA;{&#xA;    public static SitecoreSharedField&amp;lt;T&amp;gt; SharedField&amp;lt;T&amp;gt;(this SitecoreType&amp;lt;T&amp;gt; type, Expression&amp;lt;Func&amp;lt;T, object&amp;gt;&amp;gt; ex)&#xA;    {&#xA;        SitecoreSharedField&amp;lt;T&amp;gt; sitecoreField = new SitecoreSharedField&amp;lt;T&amp;gt;(ex);&#xA;        type.Config.AddProperty((AbstractPropertyConfiguration)sitecoreField.Configuration);&#xA;        return sitecoreField;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The first one simply adds a proper instance &lt;code&gt;SitecoreSharedFieldConfiguration&lt;/code&gt; class to the field configuration and the second one is an extension method for &lt;code&gt;SitecoreType&lt;/code&gt; that adds the new field to the FluentApi.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, whenever I have an item in Sitecore which I want glass mapper to take any available language version of and get the values from it, I use the following FluentApi configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var themeConfiguration = loader.Add&amp;lt;Core.Models.Theme&amp;gt;();&#xA;themeConfiguration.TemplateId(TemplateIDs.MaterialThemeTemplate);&#xA;themeConfiguration.SharedField(x =&amp;gt; x.DarkerPrimaryColor).FieldId(FieldIDs.DarkerPrimaryColor);&#xA;themeConfiguration.SharedField(x =&amp;gt; x.LighterPrimaryColor).FieldId(FieldIDs.LighterPrimaryColor);&#xA;themeConfiguration.SharedField(x =&amp;gt; x.PrimaryColor).FieldId(FieldIDs.PrimaryColor);&#xA;themeConfiguration.SharedField(x =&amp;gt; x.SecondaryColor).FieldId(FieldIDs.SecondaryColor);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And each individual color is mapped like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var colorConfiguration = loader.Add&amp;lt;Core.Models.Color&amp;gt;();&#xA;colorConfiguration.TemplateId(TemplateIDs.ColorTemplate);&#xA;colorConfiguration.Field(x =&amp;gt; x.ColorHex).FieldId(FieldIDs.ColorHex);&#xA;colorConfiguration.Field(x =&amp;gt; x.CssClass).FieldId(FieldIDs.CssClass);&#xA;colorConfiguration.Field(x =&amp;gt; x.TextColor).FieldId(FieldIDs.TextColor);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1739" LastActivityDate="2017-07-12T21:26:08.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6583" PostTypeId="1" CreationDate="2017-07-12T22:00:26.263" Score="6" ViewCount="1402" Body="&lt;p&gt;I need an 8 characters length enforcing validator. I created a MaxLength=8 and combined it with a MinLength=8 validation rule. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I enter &quot;1234567890123' and it's saving, no question asked! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It does work if I click the &quot;REVIEW&quot; tab then &quot;Validation&quot;. At the very bottom of a long list of schema warnings for each and every field. Our users won't do that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been researching quite a bit already. One talk about &quot;Quick Action Bar&quot; that I don't see anywhere, and so on. I just need a simple, text field validation like exist in any html form. You enter data wrong, it displays a message and you can't save. Period. How do you do that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="1206" LastActivityDate="2017-07-13T13:54:09.270" Title="Field level Validation Rule =&gt; &quot;OnSave&quot;?" Tags="|templates|validation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6584" PostTypeId="2" ParentId="6577" CreationDate="2017-07-12T23:02:51.977" Score="1" Body="&lt;p&gt;WeBlog works with Solr. You can find more information at &lt;a href=&quot;https://github.com/WeTeam/WeBlog/issues/172&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/WeTeam/WeBlog/issues/172&lt;/a&gt; that talks about the issue, but then in the comments below, SMRaxa and varitw provide the necessary fixes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have successfully used their approach.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-07-12T23:02:51.977" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6585" PostTypeId="2" ParentId="6551" CreationDate="2017-07-12T23:15:09.377" Score="1" Body="&lt;p&gt;Have you tried using Sitecore's &lt;code&gt;LanguageSwitcher&lt;/code&gt;? It's a fantastic and IMHO very underrated and underused little &lt;code&gt;IDisposable&lt;/code&gt;that effectively allows you to temporarily change the &lt;code&gt;Sitecore.Context.Language&lt;/code&gt; until the &lt;code&gt;LanguageSwitcher&lt;/code&gt; is disposed. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Getting Started with the &lt;code&gt;LanguageSwitcher&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can use the &lt;code&gt;LanguageSwitcher&lt;/code&gt; like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// context language: &quot;en-US&quot;&#xA;var multilingualItem = Sitecore.Context.Database.GetItem(id); // en-US version&#xA;&#xA;using (new Sitecore.Globalization.LanguageSwitcher(&quot;fr-CA&quot;)) &#xA;{&#xA;    // context language: &quot;fr-CA&quot;&#xA;    multilingualItem = Sitecore.Context.Database.GetItem(id); // fr-CA version&#xA;}&#xA;&#xA;// context language: &quot;en-US&quot;&#xA;multilingualItem = Sitecore.Context.Database.GetItem(id); // en-US version&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Using the &lt;code&gt;LanguageSwitcher&lt;/code&gt; for Your Use-Case&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;First, let's align on some assumptions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You have a multi-lingual item &lt;em&gt;MyItem&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;MyItem&lt;/em&gt; has a Rich-Text field on it, &lt;em&gt;MyContent&lt;/em&gt;, that holds the content meant to be rendered for that item&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;MyItem&lt;/em&gt; has one language-version for each language that has content that you wish to render, i.e. you created a language-version and populated the &lt;em&gt;MyContent&lt;/em&gt; field for each language that you wish to render content for&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Building Your View Model&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can use something similar to the following code to add the multilingual content for the &lt;em&gt;MyContent&lt;/em&gt; field to your view model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// get all of the languages that the item has a version in&#xA;var myItemLanguages = &#xA;    // get all of the languages of the item&#xA;    ItemManager.GetContentLanguages(myItem)&#xA;        .Select(&#xA;            lang =&amp;gt; &#xA;                new &#xA;                { &#xA;                    Language = lang, &#xA;                    // indicates whether the item has a version in the language&#xA;                    HasLanguage = ItemManager.GetVersions(myItem, lang).Count &amp;gt; 0&#xA;                })&#xA;        // only select languages that the item has a version in&#xA;        .Where(langInfo =&amp;gt; langInfo.HasLanguage)&#xA;        .Select(langInfo =&amp;gt; langInfo.Language);&#xA;&#xA;// Tuple is used for demonstration only; feel free to change as needed&#xA;viewModel.MyContentModels = new List&amp;lt;Tuple&amp;lt;Language, string&amp;gt;&amp;gt;();&#xA;&#xA;// iterate through the languages and add the field's value for each to the list&#xA;foreach (var language in myItemLanguages) &#xA;{&#xA;    // change the context language to the current language&#xA;    using (new Sitecore.Globalization.LanguageSwitcher(language)) &#xA;    {&#xA;        // get the item in the current language&#xA;        var myItemInLang = myItem.Database.GetItem(myItem.ID, language);&#xA;        var myContentInLang = myItemInLang.Fields[&quot;MyContent&quot;].Value;&#xA;&#xA;        // add a new Tuple to the list with the item's content and its associated language&#xA;        myContentModels.Add(new Tuple&amp;lt;Language, string&amp;gt;(language, myContentInLang));&#xA;    }&#xA;}&#xA;&#xA;return viewModel;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Rendering the Content&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In your rendering, you would then do something like the following to render content on your page similarly to how it was rendered on the &lt;a href=&quot;https://www.ghs.org/notice-nondiscrimination&quot; rel=&quot;nofollow noreferrer&quot;&gt;page you liked to&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var myContentModel in Model.MyContentModels) &#xA;{&#xA;    &amp;lt;div&amp;gt;&#xA;        &amp;lt;h3&amp;gt;@(myContentModel.Item1.Name)&amp;lt;/h3&amp;gt;&#xA;        &amp;lt;div&amp;gt;@Html.Raw(myContentModel.Item2)&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Of course, if you would like to have the language written in its own language you can always add support for that, but this should get you started. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-12T23:29:29.380" LastActivityDate="2017-07-12T23:29:29.380" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6586" PostTypeId="1" CreationDate="2017-07-13T02:35:19.520" Score="3" ViewCount="496" Body="&lt;p&gt;In Sitecore, I am referring one content item using multilist. While checking selected content item references in content editor &lt;strong&gt;Navigate -&gt; links&lt;/strong&gt; in CM it's showing all referring item. After published to web database, it's not displaying latest referred item. But, same functionality working fine in local system. In my code, I have used following snippet. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Globals.LinkDatabase.GetReferrers(item)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After rebuild link database, it's working as expected. &#xA;Please help how to fix this issue?&lt;/p&gt;&#xA;" OwnerUserId="1093" LastEditorUserId="2727" LastEditDate="2018-02-06T17:08:31.843" LastActivityDate="2018-02-06T17:08:31.843" Title="Linkdatabase not working in CD Server" Tags="|link-database|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6587" PostTypeId="2" ParentId="6583" CreationDate="2017-07-13T03:18:04.543" Score="4" Body="&lt;p&gt;you missed to add Parameters on your validator &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lZsTc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lZsTc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Parameters are applied using a QueryString-like list like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[parameter]=[value]&amp;amp;[parameter]=[value]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The “Result” paremeter determines the default result value of a validation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Possible values are:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Valid&lt;/strong&gt; = Green, everything is fine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Suggestion&lt;/strong&gt; = Bright Orange, hmm, take a look at this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Warning&lt;/strong&gt; = Orange, you should do something about this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error&lt;/strong&gt; = Red, this is an error you know&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CriticalError&lt;/strong&gt;  = Red, user is warned before saving&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;FatalError&lt;/strong&gt; = Red, user cannot save item before validator is cleared&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More informations you can find &lt;a href=&quot;https://briancaos.wordpress.com/2011/05/09/using-sitecore-field-validators/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-07-13T03:18:04.543" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6588" PostTypeId="1" CreationDate="2017-07-13T06:03:12.233" Score="6" ViewCount="4207" Body="&lt;p&gt;I have a scenario where I need to modify a certain value of an item when it is created (not saved) off a particular template.  In order to do that I tapped into the &lt;code&gt;item:created&lt;/code&gt; event, however I noticed that I cannot read any of the field values in this event (even with &lt;code&gt;item.ReadAll()&lt;/code&gt;), however on the &lt;code&gt;item:saved&lt;/code&gt; event I can.  So what should I use and why cant I read any value on the &lt;code&gt;item:created&lt;/code&gt; event?&lt;/p&gt;&#xA;" OwnerUserId="2158" LastEditorUserId="423" LastEditDate="2017-07-13T14:12:27.917" LastActivityDate="2017-07-14T05:56:16.913" Title="When to use item:Created vs Item:Saved" Tags="|events|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6589" PostTypeId="2" ParentId="6588" CreationDate="2017-07-13T06:12:48.433" Score="0" Body="&lt;p&gt;If it is only on created you need to modify an item, I would not recommend using &lt;code&gt;item:saved&lt;/code&gt;. However have a look at &lt;code&gt;item:versionAdded&lt;/code&gt;. At this point your item should be populated with field values and you should be able to read and change it.&lt;/p&gt;&#xA;" OwnerUserId="1510" LastEditorUserId="1510" LastEditDate="2017-07-13T08:21:06.947" LastActivityDate="2017-07-13T08:21:06.947" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6590" PostTypeId="2" ParentId="6581" CreationDate="2017-07-13T06:52:31.213" Score="4" Body="&lt;p&gt;I believe linked items by default are loaded lazily, which is probably what is causing this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you first access the property outside the &lt;code&gt;VersionCountDisabler&lt;/code&gt; then the items are loaded without it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative solution to your own answer could be to try and use &lt;code&gt;SitecoreFieldSettings.DontLoadLazily&lt;/code&gt; on the properties in question. The items should then all be loaded and mapped inside the &lt;code&gt;VersionCountDisabler&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Attribute configuration&#xA;[SitecoreField(Setting = SitecoreFieldSettings.DontLoadLazily)]&#xA;public IList&amp;lt;MyLinkedItem&amp;gt; LinkedItems { get; set; }&#xA;&#xA;// Fluent configuration&#xA;Map(x =&amp;gt; x.Field(y =&amp;gt; y.LinkedItems ).Setting(SitecoreFieldSettings.DontLoadLazily));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2019-05-15T07:59:46.440" LastActivityDate="2019-05-15T07:59:46.440" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="6591" PostTypeId="1" AcceptedAnswerId="6592" CreationDate="2017-07-13T07:25:06.823" Score="3" ViewCount="303" Body="&lt;p&gt;I've seen a world of different documentation on analytics settings, including Sitecore's docs and &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4431/analytics-tracker-current-is-not-initialized-error-after-changing-clustername&quot;&gt;this StackExchange question&lt;/a&gt;. So I'm trying to get the best answer to this scenario.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a CM and two CDs. The CDs are load-balanced. There is a single domain involved (not multi-site). What is the best setting to use for each of the following on both CM and CD?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Analytics.ClusterName&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Analytics.HostName&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Based on the reading I've done, here's what we ended up with so far:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CM: Tried setting &lt;code&gt;Analytics.ClusterName&lt;/code&gt; to point to one of the CDs using a hosts file entry, got the YSOD &lt;code&gt;Tracker.Current&lt;/code&gt; error. Ended up setting &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; to false.&lt;/li&gt;&#xA;&lt;li&gt;CDs: Set &lt;code&gt;Analytics.ClusterName&lt;/code&gt; to match a localhost entry (the one used when installing Sitecore) and the &lt;code&gt;Analytics.HostName&lt;/code&gt; to the domain name of the site. (What I didn't know before, setting &lt;code&gt;Analytics.HostName&lt;/code&gt; causes the site to redirect to that domain).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But from a best configuration/best practice standpoint, is that right?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-07-13T08:09:59.813" Title="Understanding Analytics settings" Tags="|xdb|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6592" PostTypeId="2" ParentId="6591" CreationDate="2017-07-13T08:09:59.813" Score="3" Body="&lt;p&gt;&lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; defines whether xDB will track any visitor data in the session. This should definitely be enabled on the CDs. On the CM, it is up to you whether you want xDB / personalization features to be available in its front end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Analytics.ClusterName&lt;/code&gt; serves two main purposes:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It is used as the identifier of the cluster that locks contacts in xDB;&lt;/li&gt;&#xA;&lt;li&gt;It is used by clusters to transfer sessions and jobs to other clusters.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I talked about this setting in detail here: &lt;a href=&quot;https://sitecore.stackexchange.com/a/4971/104&quot;&gt;https://sitecore.stackexchange.com/a/4971/104&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, I would set this setting to e.g. &lt;code&gt;yoursite.com&lt;/code&gt; for your CD servers and to e.g. &lt;code&gt;cm.yoursite.com&lt;/code&gt; for the CM. This way, the CDs are considered a part of the same cluster. Also, make sure to configure the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/session_state/session_state#_Toc396298780&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;Shared Session&lt;/strong&gt;&lt;/a&gt; to be shared between the two CDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Analytics.HostName&lt;/code&gt; — since you only have one CD cluster, this setting is not useful for you and can be left blank.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-07-13T08:09:59.813" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6593" PostTypeId="2" ParentId="6588" CreationDate="2017-07-13T08:11:06.833" Score="6" Body="&lt;p&gt;The &lt;code&gt;item:created&lt;/code&gt; event will come too soon as the fields will not be populated yet (as you have noticed).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;item:saved&lt;/code&gt; event will do the trick, but created overhead as it is called on every save (so it works, but you really don't want to take that hit).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an &lt;code&gt;item:added&lt;/code&gt; event that could help. I've used this one before and it works, but apparently only when added through the UI and not when added with the api (don't know your requirements on this).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option, next to events, is using one of the pipelines. I would take a look a the &lt;code&gt;AddFromTemplate&lt;/code&gt; pipeline as that seems to be a very good match to your requirement. Zachary wrote a nice blog on it: &lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/march/30/using-sitecores-new-addfromtemplate-item-provider-pipeline&quot; rel=&quot;noreferrer&quot;&gt;http://zacharykniebel.com/blog/sitecore/2016/march/30/using-sitecores-new-addfromtemplate-item-provider-pipeline&lt;/a&gt; in which he states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline differs from the &lt;code&gt;&amp;lt;uiAddFromTemplate&amp;gt;&lt;/code&gt;&#xA;  pipeline in that the &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline is run whenever an&#xA;  item is added, regardless of whether it is added programmatically or&#xA;  from the UI. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;You should use the &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline when you want to execute&#xA;  custom code whenever an item is created. Note that this is also the&#xA;  best option if you want to run custom logic whenever an item is&#xA;  created from a specific or nonspecific branch template.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-07-13T08:11:06.833" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6595" PostTypeId="2" ParentId="6547" CreationDate="2017-07-13T11:05:06.123" Score="1" Body="&lt;p&gt;Hope the below details about the events give you a better understanding.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;item:added&lt;/strong&gt; and &lt;strong&gt;item:created&lt;/strong&gt;&#xA;•  These events seem similar, but Sitecore only fires item:added when a user creates an item through the UI.&#xA;•  It fires item:created when code creates items through APIs. &#xA;•  Use item:added if you only need to trap manual item additions.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;item:saved&lt;/strong&gt; and &lt;strong&gt;item:saving&lt;/strong&gt;&#xA;•  Sitecore fires &lt;strong&gt;item:saved&lt;/strong&gt; in either case(&lt;strong&gt;item:added&lt;/strong&gt; and &lt;strong&gt;item:created&lt;/strong&gt;), Using item:saved lets me put all the logic in a single handler, which fires after create, update, rename, move and potentially other events.&#xA;•  &lt;strong&gt;item:saving&lt;/strong&gt; event before committing the change, while it raises the &lt;strong&gt;item:saved&lt;/strong&gt; event afterwards. An advantage of using the &lt;strong&gt;item:saving&lt;/strong&gt; event as opposed to the &lt;strong&gt;item:saved&lt;/strong&gt; event is that you can access the values from the item before the save, and the new values, and can prevent the user from saving their changes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2017-07-13T11:05:06.123" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6596" PostTypeId="1" AcceptedAnswerId="6598" CreationDate="2017-07-13T11:06:21.153" Score="1" ViewCount="256" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'xxx.models.Sitecore.IPage'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I get above error if I statically load this like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().ViewRendering(&quot;~/Views/xxx/Generic/PageIntro.cshtml&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I create a &quot;View Rendering&quot; item in Sitecore and load it from Presentation Details dynamically it works okay.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;View I am trying to load &quot;PageIntro&quot; is a GlassView&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is this?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2017-07-13T13:08:50.620" LastActivityDate="2017-07-13T13:08:50.620" Title="Error Loading Glass view statically" Tags="|glass-mapper|presentation|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6598" PostTypeId="2" ParentId="6596" CreationDate="2017-07-13T12:23:01.990" Score="2" Body="&lt;p&gt;A View Rendering must always declare a Model of type &lt;code&gt;RenderingModel&lt;/code&gt; which is the default used by Sitecore and that's the only type that will be returned if you use &lt;code&gt;@Html.Sitecore().ViewRendering(&quot;&quot;)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My guess is that your View &lt;code&gt;~/Views/xxx/Generic/PageIntro.cshtml&lt;/code&gt; defines a Glass Model as the model type being returned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead you should be using a Controller Rendering.  To do that, I would recommend that you use `@Html.Sitecore().Rendering(&quot;{Guid of Defined Controller Rendering In Sitecore}&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then define in your controller rendering definition in Sitecore a Controller and Action that will be used to build that custom model used by your view.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-07-13T12:23:01.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6599" PostTypeId="1" CreationDate="2017-07-13T12:37:06.933" Score="6" ViewCount="1330" Body="&lt;p&gt;I am looking into access viewer in Sitecore. My goal is to restrict certain users with just read-only access to &lt;code&gt;core&lt;/code&gt; and &lt;code&gt;web&lt;/code&gt; database. However these users need to have a write access to some items in the &lt;code&gt;master&lt;/code&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this, I have created a new role and I plan to add those users to this specific role. However the problem arises when I try to set access rights, I do not see a distinction between the databases and I am thinking it will probably apply those permissions to all the databases. Hence I am not able to figure out a way to restrict &lt;code&gt;core&lt;/code&gt; and &lt;code&gt;web&lt;/code&gt; to read-only but &lt;code&gt;master&lt;/code&gt; to read-write.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was also wondering, if read-only access is not possible, can I deny the access to &lt;code&gt;core&lt;/code&gt; and &lt;code&gt;web&lt;/code&gt; databases entirely? I found this link: &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/433&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/433&lt;/a&gt; but it looks like this will only hide the databases in the tray icons and users would be still able to reach the databases by tweaking the url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So, my question is&lt;/strong&gt; : Is there a way to restrict read-only access to &lt;code&gt;core&lt;/code&gt; and &lt;code&gt;web&lt;/code&gt; databases. If not, is there a way to completely deny access to these databases for certain groups while setting different access rights for &lt;code&gt;master&lt;/code&gt; database for those exact users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="403" LastEditorUserId="403" LastEditDate="2017-07-13T12:53:12.940" LastActivityDate="2017-07-13T17:54:34.843" Title="Restricting certain users with read-only access to core and web database?" Tags="|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6602" PostTypeId="2" ParentId="6583" CreationDate="2017-07-13T13:54:09.270" Score="3" Body="&lt;p&gt;As well as using a rules engine based validator, there are also validation fields on the Field template that you can use:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/e9uvN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/e9uvN.png&quot; alt=&quot;Field template validation fields&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Validation&lt;/code&gt; field takes a regex and the &lt;code&gt;ValidationText&lt;/code&gt; field can be used for the warning text. Using the following regex:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/^.{8,}$/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That makes sure that the content has a minimum length of 8 characters. Now when the content editor tries to save an item that fails that validation, the message will be shown and the user cannot save the item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UyKZ2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UyKZ2.png&quot; alt=&quot;Validation failed&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be a simpler setup than rules based validation, although it is limited to what you can do with a single regex statement.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-07-13T13:54:09.270" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6603" PostTypeId="1" CreationDate="2017-07-13T15:29:02.093" Score="4" ViewCount="848" Body="&lt;p&gt;We have our analytics_index over 150 million documents now (with Solr on a standalone windows server). How can we stop Sitecore from optimizing the index? Solr says optimizing should only be done on fairly static indexes. (Also, it places a copy of the index in disk cache as it optimizes it, building a new index and the I/Ops on the disk is always through the roof.) Any way to tell Sitecore not to optimize the analytics index when it adds more documents to it?&#xA;We noticed that Sitecore.ContentSearch.Solr.Index.Analytics.config has a TimedIndexRefreshStrategy of one minute for this index. Should we set that to nightly as well?&lt;/p&gt;&#xA;" OwnerUserId="1664" LastActivityDate="2017-07-13T18:38:25.030" Title="How do you stop optimizing sitecore_analytics_index" Tags="|solr|indexing|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6604" PostTypeId="2" ParentId="6599" CreationDate="2017-07-13T15:56:31.707" Score="3" Body="&lt;p&gt;Aha, found a way to do this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So looks like the important piece of functionality that I was unaware about, is that the &lt;code&gt;Access Viewer&lt;/code&gt; only treats the permissions for the current database. So to set different permissions to different databases, I need to first switch a database, open the access viewer again and then set necessary permissions for the items in that database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This also would explain why there is no &quot;Database Selector / Switcher&quot; which I was expecting inside &lt;code&gt;Access Viewer&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To summarize, these are the steps that I followed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Login as Admin. &lt;br/&gt;&#xA;2) Create a new role that I want to apply restrictions for. &lt;br/&gt;&#xA;3) Add all the necessary users to that particular role. &lt;br/&gt;&#xA;4) Open &lt;code&gt;Access Viewer&lt;/code&gt; and assign appropriate permissions for that role. &lt;br/&gt;&#xA;5) Switch database either by using desktop view or url. &lt;br/&gt;&#xA;6) Repeat step 4 and 5 for all the required databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case, when I set up the permissions to the core database, 'database selector' disappeared from the sitecore tray in desktop view (which is already a good sign) and when I tweaked url to open core database, I did get a read-only view as I expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, here is the screenshot of 'read-only' core database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0rB4q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0rB4q.png&quot; alt=&quot;Read only core database&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;br/&gt;&#xA;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This approach works well for core database. However for web database, since publishing can overwrite permissions, you would have to take some extra measures such as preventing publishing for certain items etc.&lt;/p&gt;&#xA;" OwnerUserId="403" LastEditorUserId="403" LastEditDate="2017-07-13T16:08:55.863" LastActivityDate="2017-07-13T16:08:55.863" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6606" PostTypeId="2" ParentId="6599" CreationDate="2017-07-13T17:54:34.843" Score="2" Body="&lt;p&gt;Your idea works but in the case where an admin publishes the entire site. If that happens then the permissions set in master will clobber the permissions set in web (or any other dbs that are being published to). Assuming you are setting these permissions on items that content editors will never need to edit (i.e. the item /sitecore) the following processor should allow for a way to avoid this issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using Sitecore.Publishing;&#xA;using Sitecore.Publishing.Pipelines.PublishItem;&#xA;using System.Linq;&#xA;&#xA;namespace MyNamespace.Sitecore.Pipelines&#xA;{&#xA;    public class SkipItemsProcessor : PublishItemProcessor&#xA;    {&#xA;        public override void Process(PublishItemContext context)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)context, &quot;context&quot;);&#xA;&#xA;            var idsToSkip = global::Sitecore.Configuration.Settings.GetSetting(&quot;Publishing.ItemsToSkip&quot;, string.Empty).Split('|');&#xA;            if (!idsToSkip.Contains(context.ItemId.ToString()))&#xA;                return;&#xA;&#xA;            context.AbortPipeline(PublishOperation.Skipped, PublishChildAction.Allow, string.Empty, true);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Publishing.ItemsToSkip&quot; value=&quot;_Insert list of ids to skip_&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;publishItem&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyNamespace.Sitecore.Pipelines.SkipItemsProcessor, MyDll&quot; &#xA;                   patch:after=&quot;*[@type='Sitecore.Publishing.Pipelines.PublishItem.CheckSecurity, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/publishItem&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's definitely worth noting that this should be used very sparingly. It will essentially disable publishing for the chosen item(s) which can cause troubleshooting nightmares if abused. This has not been thoroughly tested.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-07-13T17:54:34.843" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6607" PostTypeId="1" AcceptedAnswerId="22430" CreationDate="2017-07-13T18:07:15.903" Score="8" ViewCount="561" Body="&lt;p&gt;I am using the Sitecore Item Rest API and all the existing fields (both standard and custom) I need to use from the template come back fine (e.g: &lt;code&gt;Start Date&lt;/code&gt; below). However I've added a new one (a droplist field) and it is not returned by the API. E.g this is the request: &lt;code&gt;/sitecore/api/ssc/item/%7bA3FE61CA-82F1-43EE-BA6A-5C923FD81639%7d/children?includeStandardTemplateFields=true&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;ItemID&quot;: &quot;2cdd1808-31c2-4c88-8b11-39bb8526a033&quot;,&#xA;    &quot;ItemName&quot;: &quot;Adams Test&quot;,&#xA;    &quot;TemplateName&quot;: &quot;Template 1 Test&quot;,&#xA;    &quot;__Updated&quot;: &quot;20170713T100944Z&quot;,&#xA;    &quot;Start Date&quot;: &quot;20170302T104743Z&quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's very strage as other custom fields are returned. Is there some config I'm missing somewhere to register my new custom field? Is the Item API Powered by Solr in the back ground and I need to update the search config or indexing?&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="423" LastEditDate="2017-08-08T14:26:32.837" LastActivityDate="2019-10-07T11:55:36.100" Title="Custom field not returned via Item API" Tags="|sitecore-services-client|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6608" PostTypeId="2" ParentId="6603" CreationDate="2017-07-13T18:38:25.030" Score="2" Body="&lt;p&gt;There is an agent, &lt;code&gt;Sitecore.ContentSearch.Tasks.Optimize&lt;/code&gt;, that controls which indexes are regularly optimized and how frequently. Open up your &lt;code&gt;&amp;lt;your_site&amp;gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; and look for this agent. It should look something like the below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.ContentSearch.Tasks.Optimize&quot; method=&quot;Run&quot; interval=&quot;12:00:00&quot;&amp;gt;&#xA;  &amp;lt;indexes hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;index&amp;gt;sitecore_master_index&amp;lt;/index&amp;gt;&#xA;    ...&#xA;  &amp;lt;/indexes&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Take a look and see if there is an entry in the &lt;code&gt;&amp;lt;indexes&amp;gt;&lt;/code&gt; list for the &lt;code&gt;sitecore_analytics_index&lt;/code&gt;. If so, remove it from the list and the index should no longer be regularly optimized. If not, then scheduled optimization is likely not your issue, but rather on-demand (i.e. at the end of a rebuild) optimization. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If on-demand indexing is your issue, share with us the &lt;code&gt;&amp;lt;strategies&amp;gt;&lt;/code&gt; that you have configured for your &lt;code&gt;sitecore_analytics_index&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-07-13T18:38:25.030" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6609" PostTypeId="2" ParentId="6551" CreationDate="2017-07-13T18:39:17.247" Score="0" Body="&lt;p&gt;Sitecore does not care what text or language you enter in the fields, whether that is Single Line Text field, Rich Text field or any of the other fields. There are no checks made, out of the box, to validate that you have for example only entered English text when Item lanuage&lt;code&gt;en&lt;/code&gt; is selected or Japanese is entered when &lt;code&gt;ja-jp&lt;/code&gt; is selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The simplest out of the box solution for what you are trying to achieve is to simply enter the text into the single Rich Text field in as many languages as you require one after the other:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Al6M4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Al6M4.png&quot; alt=&quot;Multiple Languages in RTE&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Entering the text this way allows you to control the order of inclusion of paragraphs of text as well - maybe you want Chinese first on one page, but Japanese first on another.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also do not need to deal with Language versions and/or fallback. Language versions may add an extra layer of complexity for your content authors which may not be needed, esp since looking at your site all the content is in English apart from a few blocks of text. Adding additional languages will also impact your publishing times, since items will be published for all languages, at least some checks need to be made whether an item in that language exists etc. This would be a big consideration for me when deciding whether to add additional languages given the scope of your multi-lingual content (i.e. a single text block).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are having issues with text being cut off after entering/pasting it, then it may be due to some customisations in your implemention of Sitecore, maybe something to now allow more than a certain length of text to be entered. You should investigate this issue rather than trying to solve using complex code in my opinion.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-07-13T18:39:17.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6610" PostTypeId="1" AcceptedAnswerId="6642" CreationDate="2017-07-13T20:20:27.533" Score="4" ViewCount="439" Body="&lt;p&gt;From a rendering controller, I am trying to list the variable names / each outcome of an A/B test programmatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my A/B test:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pGL11.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pGL11.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zByKz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zByKz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Firstly, I inspected the renderings using the code below but found nothing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var item = Sitecore.Context.Item;&#xA;Sitecore.Data.Fields.LayoutField layoutField = item.Fields[&quot;__renderings&quot;];&#xA;Sitecore.Layouts.RenderingReference[] renderings = layoutField.GetReferences(Sitecore.Context.Device);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mgPD2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mgPD2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, I inspected the &lt;strong&gt;Sitecore.Analytics.Tracker.Current&lt;/strong&gt;, but found nothing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hIDnk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hIDnk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea?&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-07-17T14:07:09.627" Title="How can I get the variable names / each outcome of an A/B test from the code?" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6611" PostTypeId="1" AcceptedAnswerId="6612" CreationDate="2017-07-13T23:02:55.520" Score="2" ViewCount="218" Body="&lt;p&gt;I am trying to figure out how to give multiple 'AND' conditions in a Saved Search which is under an item bucket.  Currently I have the following&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;location:{0a6536b7-afe8-4121-ae74-ef7501e36491};template:{d9577b16-776f-48c3-b2f8-e31514acd492};custom:IsActive|true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However this seems to run OR conditions instead of AND.  How do I change this to an AND?&lt;/p&gt;&#xA;" OwnerUserId="2158" LastEditorUserId="70" LastEditDate="2017-07-14T03:29:08.010" LastActivityDate="2017-07-14T03:29:08.010" Title="SearchQuery in a saved search given multiple conditions" Tags="|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6612" PostTypeId="2" ParentId="6611" CreationDate="2017-07-14T03:08:10.850" Score="0" Body="&lt;p&gt;You will want to check out the Sitecore documentation site on how to properly format the queries. The best article I found is &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/searching/build_a_search_query&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I understand correctly, you'll want the &lt;code&gt;+&lt;/code&gt; to appear in the query. When using the query builder, click the icon until it changes to the green plus.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-07-14T03:08:10.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6613" PostTypeId="2" ParentId="6588" CreationDate="2017-07-14T05:56:16.913" Score="3" Body="&lt;p&gt;Hope the below details help you understand item:Created,item:added,item:Saved and item:saving, .&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;item:added&lt;/strong&gt; and &lt;strong&gt;item:created&lt;/strong&gt;&#xA;•  These events seem similar, but Sitecore only fires item:added when a user creates an item through the UI.&#xA;•  It fires item:created when code creates items through APIs. &#xA;•  Use item:added if you only need to trap manual item additions.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;item:saved&lt;/strong&gt; and &lt;strong&gt;item:saving&lt;/strong&gt;&#xA;•  Sitecore fires &lt;strong&gt;item:saved&lt;/strong&gt; in either case(&lt;strong&gt;item:added&lt;/strong&gt; and &lt;strong&gt;item:created&lt;/strong&gt;), Using item:saved lets me put all the logic in a single handler, which fires after create, update, rename, move and potentially other events.&#xA;•  &lt;strong&gt;item:saving&lt;/strong&gt; event before committing the change, while it raises the &lt;strong&gt;item:saved&lt;/strong&gt; event afterwards. An advantage of using the &lt;strong&gt;item:saving&lt;/strong&gt; event as opposed to the &lt;strong&gt;item:saved&lt;/strong&gt; event is that you can access the values from the item before the save, and the new values, and can prevent the user from saving their changes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2017-07-14T05:56:16.913" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6615" PostTypeId="1" CreationDate="2017-07-14T06:16:10.933" Score="1" ViewCount="381" Body="&lt;p&gt;I have implemented multiple validations in base template &lt;strong&gt;field items&lt;/strong&gt; and suppressed most of the validation in each children template &lt;strong&gt;standard values&lt;/strong&gt; using the &quot;&lt;strong&gt;Suppressed validation rules&lt;/strong&gt;&quot; field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works perfectly in Sitecore Content Editor when I fill in the fields. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately in Experience Editor, the suppress validation is not considered and it looks like its validating all the applied validations. I have set the error level to fatal hence I'm not able to save any fields from Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong, Or is this a bug from Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="1508" LastEditorUserId="2056" LastEditDate="2018-03-31T15:04:52.370" LastActivityDate="2018-05-30T15:22:53.103" Title="Suppress validation not working on Experience Editor" Tags="|sitecore-client|experience-editor|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6617" PostTypeId="1" AcceptedAnswerId="6619" CreationDate="2017-07-14T08:09:41.303" Score="2" ViewCount="629" Body="&lt;p&gt;I'm trying to fetch a user by its custom profile property. The code times out because there are more than 100000 records. So, I wrote a second method, which seems a little better, but maybe because the user was found in the first set itself.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I would like to know if there is a better or faster way to get the result.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Also, is there a way to get &lt;code&gt;var pagewiseUsers&lt;/code&gt; ordered by Descending order of created date, as it will improve the search time for this particular use case.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static User GetUserByProfileProperty(string domain, ID profileID, string profilePropertyName, string profilePropertyValue)&#xA;{&#xA;  User user = null;&#xA;  Item profileItem = GetItemFromCoreDB(profileID);&#xA;&#xA;  if (profileItem != null)&#xA;  {&#xA;    //METHOD 1 - which times out&#xA;    user = Domain.GetDomain(domain).GetUsers()&#xA;           .Where(x =&amp;gt; x.Profile.GetCustomProperty(profilePropertyName) == profilePropertyValue).FirstOrDefault();&#xA;&#xA;    //METHOD 2&#xA;    int totalUsersCount = Domain.GetDomain(domain).GetUserCount();&#xA;    int pageSize = 10000;                &#xA;    int totalPages = (totalUsersCount + pageSize - 1) / pageSize;                &#xA;&#xA;    for (int pageIndex = 0; pageIndex &amp;lt; totalPages; pageIndex++)&#xA;    {&#xA;      var pagewiseUsers = Domain.GetDomain(domain).GetUsers(pageIndex, pageSize);&#xA;&#xA;      if (pagewiseUsers != null &amp;amp;&amp;amp; pagewiseUsers.Count() &amp;gt; 0)&#xA;      {&#xA;        user = pagewiseUsers.Where(x =&amp;gt; x.Profile.GetCustomProperty(profilePropertyName) == profilePropertyValue).FirstOrDefault();&#xA;&#xA;        if(user != null)&#xA;           break;&#xA;      }&#xA;    }                    &#xA;  }&#xA;&#xA;  return user;&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-07-15T09:59:35.617" Title="How to perform a faster search on User list" Tags="|user-profile|user-management|account|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6618" PostTypeId="2" ParentId="6397" CreationDate="2017-07-14T08:19:52.893" Score="1" Body="&lt;p&gt;The decision to obsolete the switchers was predicted by &lt;code&gt;SitecoreAuthenticationProvider&lt;/code&gt; which &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/issues/173&quot; rel=&quot;nofollow noreferrer&quot;&gt;became obsolete&lt;/a&gt; in 8.2:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;SitecoreAuthenticationProvider class&amp;lt;/summary&amp;gt;&#xA;[Obsolete]&#xA;public class SwitchingAuthenticationProvider : AuthenticationProvider&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There was a wrong dependency on that class which has been fixed in &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/releases/tag/v1.6.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;v1.6.0&lt;/a&gt;.&#xA;But it looks like it was a premature decision to obsolete the FakeDb classes. All the mentioned Sitecore providers are still valid and work fine (at least for 8.2 versions including Update-4). There is no reason in showing the warning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The FakeDb switchers have been restored in &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/releases/tag/v1.7.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;v1.7.0&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-07-14T08:19:52.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6619" PostTypeId="2" ParentId="6617" CreationDate="2017-07-14T09:04:56.733" Score="3" Body="&lt;p&gt;There is, but none of the ways I know of will go via the standard API.&lt;/p&gt;&#xA;&lt;p&gt;The &amp;quot;problem&amp;quot; is; while the standard API will allow you to paginate through the user base, it will not allow you to filter based on profile properties. Which, from your code, is what you need here.&lt;/p&gt;&#xA;&lt;p&gt;This leaves you with a few options.&lt;/p&gt;&#xA;&lt;h2&gt;Option 1, the SQL route&lt;/h2&gt;&#xA;&lt;p&gt;Turns out, even this isn't as straight forward as one would hope. The problem being the way the Property Store is organised. Your first step would be to create enough SQL to actually execute a query against it, which you would then be able to paginate.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.karpach.com/Get-asp-net-profile-value-MS-SQL-database-using-T-SQL.htm&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to get asp.net profile value from MS SQL database using T-SQL?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I would need to paste in the entire article here, which would be too much. But essentially you need to declare a few SQL functions to help you extract profile data from the property store, which you can then use in a &lt;code&gt;SELECT CROSS FUNCTION&lt;/code&gt; when selecting your users.&lt;/p&gt;&#xA;&lt;p&gt;A bit of additional reading:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/7315284/sql-aspnet-profile&quot;&gt;https://stackoverflow.com/questions/7315284/sql-aspnet-profile&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Option 2, the SQL route with a twist&lt;/h2&gt;&#xA;&lt;p&gt;Ages ago, ScottGu released a &lt;code&gt;SQL Table Profile Provider&lt;/code&gt;. Essentially a standard Profile Provider, that relied on a full table for provider properties. The idea being, once you have it in a standard SQL table; &lt;code&gt;JOIN&lt;/code&gt; and &lt;code&gt;SELECT&lt;/code&gt; becomes easy.&lt;/p&gt;&#xA;&lt;p&gt;I've never used this myself and I don't even know if it is applicable to current ASP.NET implementations.&lt;/p&gt;&#xA;&lt;p&gt;Anyway, it's an option to look into.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://weblogs.asp.net/scottgu/435038&quot; rel=&quot;nofollow noreferrer&quot;&gt;ASP.NET 2.0 SQL Table Profile Provider Released Today&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://code.msdn.microsoft.com/Using-the-SQL-Table-4c220996&quot; rel=&quot;nofollow noreferrer&quot;&gt;Using the SQL Table Profile Provider in ASP.NET 4 Web Applications&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Option 3, indexing&lt;/h2&gt;&#xA;&lt;p&gt;This is what I've normally done. Create a job that, on regular intervals, sweeps up the users and their properties and throws them into an index. SOLR or Lucene or whatever is on hand. Once there, it becomes easy to query, filter, facet and sort your user base - and it just overall a far more appropriate way of querying a large userbase.&lt;/p&gt;&#xA;&lt;p&gt;Unfortunately, none of the above would be a &amp;quot;quick fix&amp;quot; for where you're at right now. I would recommend taking a closer look at option 3.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-07-15T09:59:35.617" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6620" PostTypeId="2" ParentId="6202" CreationDate="2017-07-14T09:15:06.390" Score="1" Body="&lt;p&gt;Your Product Folder must be a bucket, not bucketable, then your product template is the one that must be bucketable, in standard values.&#xA;The idea is: Bucketable means &quot;can be added into a bucket&quot;, not &quot;it can be converted into a bucket&quot;. You add bucketable elements into a bucket. &lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-07-14T09:15:06.390" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6622" PostTypeId="1" AcceptedAnswerId="6623" CreationDate="2017-07-14T11:05:14.103" Score="2" ViewCount="533" Body="&lt;p&gt;Hey I can't get my head around this and haven't worked to much in Sitecore but can anyone help? The code is getting the children of a item putting them into an array and then running another section depending on the items in the array. What I want is to remove any items that doesn't have the current language version. Here is what I've got. Even telling me I'm on the wrong track will help Thanks.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    @{&#xA;    var detailPages = Sitecore.Context.Item.Children.AsStronglyTypedCollectionOf&amp;lt;IDetailPageItem&amp;gt;().ToArray();&#xA;&#xA;    @foreach (var detailPage in detailPages)&#xA;    {&#xA;        if (Sitecore.Context.Item.Versions.Count == 0)&#xA;        {&#xA;            Array.remove(detailPages, detailPage);&#xA;        }&#xA;    }&#xA;&#xA;&#xA;    if (!RenderingContext.IsEditing &amp;amp;&amp;amp; detailPages.Length == 0)&#xA;    {&#xA;        return;&#xA;    }&#xA;}&#xA;&#xA;&amp;lt;div class=&quot;cardsmenu&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;wrapper&quot;&amp;gt;&#xA;        @if (RenderingContext.IsEditing &amp;amp;&amp;amp; detailPages.Length == 0)&#xA;        {&#xA;            &amp;lt;p class=&quot;edit-only&quot;&amp;gt;No detail page children exist. This list will be invisible when viewed outside edit mode.&amp;lt;/p&amp;gt;&#xA;        }&#xA;        @foreach (var detailPage1 in detailPages)&#xA;        {&#xA;            @Html.Partial(&quot;/Areas/mytestsite/Views/Shared/DetailPageLink.cshtml&quot;, detailPage1)&#xA;        }&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="892" LastEditorUserId="2031" LastEditDate="2017-07-14T12:02:39.467" LastActivityDate="2017-07-14T12:02:39.467" Title="Removing items that don't have language version from an array" Tags="|multilingual|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6623" PostTypeId="2" ParentId="6622" CreationDate="2017-07-14T11:11:50.183" Score="2" Body="&lt;p&gt;You're on the right track. The problem you have is; you're checking &lt;code&gt;Item&lt;/code&gt; for &lt;code&gt;Versions&lt;/code&gt;. Any versions - not related to your current &lt;code&gt;Context.Language&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While this is still not ideal, you could loop around your array like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var detailPage in detailPages)&#xA;{&#xA;    var currentItem = Sitecore.Context.Database.GetItem(detailPage.ID, Sitecore.Context.Language);&#xA;&#xA;    if (currentItem == null || !currentItem.Versions.Any())&#xA;    {&#xA;        Array.remove(detailPages, detailPage);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(may need minor syntax adjustment, I'm typing this as I go).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://stackoverflow.com/questions/8231987/check-if-items-exist-in-the-current-language&quot;&gt;https://stackoverflow.com/questions/8231987/check-if-items-exist-in-the-current-language&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(but please don't use &lt;code&gt;Count &amp;gt; 0&lt;/code&gt;, use &lt;code&gt;Any()&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edited to add&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just noticed you tagged your question with &lt;code&gt;language-fallback&lt;/code&gt;.  This further complicates things a bit since - depending on how your solution is set up - Sitecore might actually always give you an item version (using fallback) and therefore mess up the above code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is the case, you may need to wrap your code in a &lt;code&gt;LanguageFallbackItemSwitcher&lt;/code&gt;. I've never used this one, but it would look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    using(new LanguageFallbackItemSwitcher(false)) {&#xA;        var currentItem = Sitecore.Context.Database.GetItem(detailPage.ID, Sitecore.Context.Language);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Again, with apologies for possible minor syntax adjustments needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/809/items-with-fallback-language-missing-in-content-search-index&quot;&gt;Items with fallback language missing in Content Search index&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-07-14T11:38:44.387" LastActivityDate="2017-07-14T11:38:44.387" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6624" PostTypeId="1" AcceptedAnswerId="6684" CreationDate="2017-07-14T11:51:52.433" Score="3" ViewCount="374" Body="&lt;p&gt;I'm installing a Content Delivery node, and accordingly, to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore guidelines&lt;/a&gt; says that some &lt;a href=&quot;https://doc.sitecore.net//~/media/0E14F3842E1A411B9811DB17B695B7B2.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;CONFIG files must be disabled&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I've done it manually, I was expecting that Sitecore Diagnostics Tool would check it, and in fact, it did. However, now I'm seeing a lot of warnings and don't know if would be safe to ignore.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Launched Sitecore Diagnostics Tool&lt;/li&gt;&#xA;&lt;li&gt;Choose the Local Sitecore instance&lt;/li&gt;&#xA;&lt;li&gt;Marked on &quot;Selected instance is&quot; these boxes &lt;strong&gt;Content Delivery&lt;/strong&gt; and &lt;strong&gt;Production&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Marked on &quot;Selected test categories&quot; these boxes &lt;strong&gt;General&lt;/strong&gt;, &lt;strong&gt;Security Vulnerabilities&lt;/strong&gt;, &lt;strong&gt;Performance and Scalability&lt;/strong&gt;, and &lt;strong&gt;Search and Indexing&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The pipelines/initialize configuration pipeline definition data was changed: &#xA;  •Sitecore.PathAnalyzer.Pipelines.Initialize.Loader, Sitecore.PathAnalyzer&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;◦Missing&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;•Sitecore.Pipelines.Loader.CheckWebDAVConfiguration, Sitecore.Kernel&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;◦Missing&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any ideas why is this happening?&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="73" LastEditDate="2017-07-14T12:25:48.370" LastActivityDate="2017-07-18T16:35:58.350" Title="Sitecore Diagnostics Tool shows a lot of warnings for Configuration Pipelines consistency for CD role" Tags="|configuration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6625" PostTypeId="1" AcceptedAnswerId="6633" CreationDate="2017-07-14T13:50:02.800" Score="3" ViewCount="310" Body="&lt;p&gt;I'm installing a Content Delivery (Sitecore 8.2 update 3) node and also running Sitecore Diagnostics Tool to validate it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6624/sitecore-diagnostics-tool-shows-a-lot-of-warnings-for-configuration-pipelines-co&quot;&gt;my other question&lt;/a&gt;, I'm also seeing a warning that says&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;WebDAV must be disabled on Content Delivery server&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;WebDAV is enabled. It is recommended to disable this feature on CD servers using the WebDAV.Enabled setting&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;At first, I &lt;a href=&quot;http://sitecoreblog.alexshyba.com/disable_web_dav_in_sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;followed these steps&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Remove WebDAV config references within &lt;strong&gt;log4net&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Remove WebDAV config references within &lt;strong&gt;system.WebServer&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Remove WebDAV config references within &lt;strong&gt;httpHandlers&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Disable Sitecore.WebDAV.config&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And after doing them all, the warning remains.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea why is this happening?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-07-14T17:10:33.860" Title="Sitecore Diagnostics Tool shows WebDAV must be disabled on CD but it is already" Tags="|configuration|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6626" PostTypeId="1" CreationDate="2017-07-14T14:02:48.303" Score="1" ViewCount="785" Body="&lt;p&gt;I am facing issue, scheduler is not hitting the method using the scheduler Agent. Please find below script:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;scheduling&amp;gt;&#xA;    &amp;lt;!-- default agents go here... --&amp;gt;&#xA;    &amp;lt;agent type=&quot;******.Web.Controllers.IW.GenerateExcelutility, ******.Web.Controllers&quot; method=&quot;GenerateExcelAndSendMail&quot; interval=&quot;00:02:00&quot;&amp;gt;&#xA;    &amp;lt;/agent&amp;gt;&#xA;&amp;lt;/scheduling&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GenerateExcelutility&#xA;{&#xA;    public void GenerateExcelAndSendMail()&#xA;    {&#xA;        System.Data.DataTable dataTable = new System.Data.DataTable(typeof(T).Name);&#xA;&#xA;        //Get all the properties&#xA;        PropertyInfo[] Props = typeof(T).GetProperties(BindingFlags.Public | BindingFlags.Instance);&#xA;        foreach (PropertyInfo prop in Props) …………………………………….&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2199" LastEditorUserId="1150" LastEditDate="2017-07-14T15:13:50.813" LastActivityDate="2017-07-19T09:06:04.550" Title="Scheduler not hitting the methods" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6627" PostTypeId="1" CreationDate="2017-07-14T15:01:54.500" Score="7" ViewCount="665" Body="&lt;p&gt;I see that we can add attribute to a link variant tag but not for other tags like div, span etc. Is there a way i can add attribute to these tags without using template variant?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to add schema attributes as mentioned in this link &lt;a href=&quot;http://schema.org/JobPosting&quot; rel=&quot;noreferrer&quot;&gt;http://schema.org/JobPosting&lt;/a&gt; to all of the variant tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you &lt;/p&gt;&#xA;" OwnerUserId="1729" LastActivityDate="2017-07-17T07:21:33.580" Title="How to add attribute to variant tags without using template variant" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6629" PostTypeId="2" ParentId="6627" CreationDate="2017-07-14T15:32:49.777" Score="2" Body="&lt;p&gt;I don't think at this time it is possible. I asked Sitecore Support to be sure a while ago (SXA was n v1.3 back then) and they confirmed. You could use NVelocity templates to achieve it, but that is not as nice as using actual variants..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is now a Feature Request (reference number 7096), but I have no idea where it is on the roadmap. Hopefully they can release a solution for it somewhere soon as I think it would be a big gain (with not so big effort).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-07-14T15:32:49.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6630" PostTypeId="2" ParentId="6626" CreationDate="2017-07-14T15:33:01.960" Score="6" Body="&lt;p&gt;Your class needs to be non-generic. I recommend inheriting from &lt;code&gt;BaseAgent&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now, Sitecore can't instantiate your class. I don't know exactly how your class is defined, but I know it has a &lt;code&gt;generics&lt;/code&gt; component to it, based on this line of code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Data.DataTable dataTable = new System.Data.DataTable(typeof(T).Name);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;T&lt;/code&gt; would be the generic component in a class declaration like this &lt;code&gt;public class MyExcelAgent&amp;lt;T&amp;gt; where T: something&lt;/code&gt;.  This cannot be instantiated by Sitecore for an agent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change it to something like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyExcelAgent : Sitecore.Tasks.BaseAgent&#xA;{&#xA;    public void GenerateExcelAndSendMail()&#xA;    {&#xA;        .... your code here&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(and the code you've posted can't be the actual code - T would be undeclared in this case)&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-07-14T16:03:16.303" LastActivityDate="2017-07-14T16:03:16.303" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6631" PostTypeId="1" CreationDate="2017-07-14T15:59:37.903" Score="2" ViewCount="490" Body="&lt;p&gt;We are using: &#xA;Sitecore.NET 8.2 (rev. 170407)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Email Experience Manager 4.0.1 rev. 170105&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception details as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;10000 17:25:39 ERROR Exception: System.Data.SqlClient.SqlException&#xA;Message: Execution Timeout Expired.  The timeout period elapsed prior to     &#xA;completion of the operation or the server is not responding.&#xA;The statement has been terminated.&#xA;Source: .Net SqlClient Data Provider&#xA;at System.Data.SqlClient.SqlConnection.OnError(SqlException exception,Boolean breakConnection, Action`1 wrapCloseInAction)&#xA;at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady)&#xA;at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)&#xA;at System.Data.SqlClient.SqlBulkCopy.RunParser(BulkCopySimpleResultSet bulkCopyHandler)&#xA;at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinuedOnSuccess(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)&#xA;at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinued(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)&#xA;at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsync(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)&#xA;at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)&#xA;at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)&#xA;at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)&#xA;at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)&#xA;at System.Data.SqlClient.SqlBulkCopy.WriteToServer(IDataReader reader)&#xA;at Sitecore.Modules.EmailCampaign.Core.Data.SqlDbEcmDataProvider.AddToDispatchQueue(Guid messageId, MessageType messageType, IEnumerable`1 recipients, Dictionary`2 customPersonTokens)&#xA;at Sitecore.Modules.EmailCampaign.Core.Gateways.DefaultEcmDataGateway.AddToDispatchQueue(Guid messageId, MessageType messageType, IEnumerable`1 recipients, Dictionary`2 customPersonTokens)&#xA;at Sitecore.Modules.EmailCampaign.Core.Dispatch.DispatchManager.AddRecipients(DispatchNewsletterArgs args, QueueOrganizer queueOrganizer, HashSet`1 optOutContactListIds)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ComponentModel.Win32Exception&#xA;Message: The wait operation timed out&#xA;&#xA;&#xA;ManagedPoolThread #2 17:25:39 INFO  Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.&#xA;The statement has been terminated.&#xA;ManagedPoolThread #2 17:25:39 INFO  &#xA;ManagedPoolThread #2 17:25:39 INFO  Dispatch Message (Test exm): Finished&#xA;Result:          ABORTED&#xA;Message Id:      {EA3FDFEE-C109-4C4A-ADB8-36ECD98FC51A}&#xA;Message Path:    /sitecore/content/Email Campaign/Messages/2017/07/10T140501/Test exm&#xA;Recipients Processed:    &#xA;Message Total Sent Recipients:    0&#xA;Message Total Failed Recipients:  0&#xA;Included Recipient Lists: Test List&#xA;Excluded Recipient Lists: Common Global Opt-out&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2200" LastEditorUserId="1000" LastEditDate="2017-07-14T20:42:39.760" LastActivityDate="2017-07-14T20:42:39.760" Title="EXM not dispatching emails, timeout error, sql exception" Tags="|exm|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6633" PostTypeId="2" ParentId="6625" CreationDate="2017-07-14T17:10:33.860" Score="2" Body="&lt;p&gt;The assembly that evaluates if the WebDAV is enabled is the Sitecore.DiagnosticsToolset.Tests. I managed to disassemble it and found that it checks the following in the Sitecore configuration to determine whether WebDAV is enabled or not:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/configuration/sitecore/settings/setting[@name='WebDAV.Enabled']&#xA;/configuration/sitecore/pipelines/initialize/processor[@type='Sitecore.Pipelines.Loader.CheckWebDAVConfiguration, Sitecore.Kernel']&#xA;/configuration/sitecore/pipelines/preprocessRequest/processor[@type='Sitecore.Pipelines.PreprocessRequest.WebDAVCustomHandler, Sitecore.Kernel']&#xA;/configuration/sitecore/pipelines/group[@name='WebDAV']&#xA;/configuration/sitecore/webdav&#xA;/configuration/sitecore/scheduling/agent[@type='Sitecore.Tasks.CleanupFDAObsoleteMediaData']&#xA;/configuration/sitecore/scheduling/agent[@type='Sitecore.Tasks.WebDAVOptionsCleanupAgent']&#xA;/configuration/sitecore/mediaLibrary/mediaPrefixes/prefix[@value='$(webDAVPrefix)']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Owxzg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Owxzg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do agree the warning is not suggestive and maybe the documentation is lacking this information. Please, let me know if that works for you.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-07-14T17:10:33.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6635" PostTypeId="1" CreationDate="2017-07-14T19:20:27.630" Score="0" ViewCount="435" Body="&lt;p&gt;We have a Sitecore site that was built on an older version of Sitecore and after upgrading to 8.1 we are experiencing a few thousand of MediaRequestProtection errors each day. After the upgrade, we did our best to find all of the places in code where custom media link building/rendering was performed to ensure that the hash was added, but unfortunately some slipped through the cracks. This is a very media-intensive site and I want to make sure that we get this issue corrected promptly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following is an example of the error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1728 00:17:09 ERROR Resources.Media.MediaRequest MediaRequestProtection: An invalid/missing hash value was encountered. The expected hash value: F2E4CF4256335155E96722521B87026038DC32EC. Media URL: /-/media/sites/mysite/path/to/myimage.png?w=300&amp;amp;hash=F2E4CF4256335155E96722521B87026038DC32EC?w=60, Referring URL: https://mysite.com/some-page&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I know that at the end of the URL, the &lt;code&gt;Referring URL&lt;/code&gt; indicates the URL from which the media was requested, but we find new referring url's all the time and the client would like this issue resolved. Does anyone know if there is a tool or a script that can be used to help us identify on the site where these issues are occurring, or do we just have to take this one occurrence of the issue at a time? &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-14T19:27:40.900" LastActivityDate="2017-07-14T19:27:40.900" Title="Analyzing site for MediaRequestProtection errors" Tags="|media-library|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6636" PostTypeId="1" CreationDate="2017-07-14T20:14:56.477" Score="2" ViewCount="3178" Body="&lt;p&gt;I'm progressing in a Sitecore installation on a Dev laptop.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SQL Server up-and-running, able to login as Sitecore / ..... to whom I gave Sysadmin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far, OK.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the SIM connection string: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Data Source=MYMACHINE\MSSQLSERVER;Initial Catalog=master;User ID=AAAA;Password=BBBB&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;produces a:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;25 - Connection string is not valid)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that it's finding the SQL Server instance I believe, because if I intentionally wrong the instance name, it produces a different:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;26 - Error Locating Server/Instance Specified&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea?&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="73" LastEditDate="2017-07-15T10:13:30.823" LastActivityDate="2017-07-15T10:13:30.823" Title="SIM =&gt; SQL Server Connection String Error: 25" Tags="|sql-database|sim|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6637" PostTypeId="1" AcceptedAnswerId="6640" CreationDate="2017-07-14T20:18:52.380" Score="3" ViewCount="116" Body="&lt;p&gt;I've a Sitecore 6.5 installed and the databases are huge - Core &amp;amp; Master have 14GB each - and I was looking to get them cleaned up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After sign-in Sitecore 6.5 Desktop, here are the steps&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore start menu&lt;/li&gt;&#xA;&lt;li&gt;Control Panel&lt;/li&gt;&#xA;&lt;li&gt;Database&lt;/li&gt;&#xA;&lt;li&gt;Clean Up Databases&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And nothing happens, I did check the logs but nothing is there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-07-21T04:43:54.987" Title="Sitecore 6.5 - Clean Up Databases option nothing happen / shows when I click on it" Tags="|configuration|sql-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6638" PostTypeId="1" AcceptedAnswerId="6641" CreationDate="2017-07-14T20:29:23.443" Score="5" ViewCount="613" Body="&lt;p&gt;I have a user uploading this PDF file to the media library: &lt;code&gt;Predictability_of_outcomes_in_discovery_disputes_at_cbca_improves_over_cbcas_first_ten_years_with_trend_toward_public.pdf&lt;/code&gt;. The filename clocks in at 121 characters according to Word's counter. This is going in a folder structure where the URL ends up being &lt;code&gt;/-/media/Files/Corporate/Publications/2017/07&lt;/code&gt;. If I shorten the PDF file name, it imports with the underscores intact, but if I import the filename as you see it, the underscores are removed automatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way in Sitecore to extend the file name length it can take? Is this something to do with a length limit on the item name that's created to correspond, hence the change?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="70" LastEditDate="2017-07-14T21:25:09.097" LastActivityDate="2017-07-14T21:25:09.097" Title="Sitecore automatically removing underscores in media library upload" Tags="|media-library|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6639" PostTypeId="1" AcceptedAnswerId="6682" CreationDate="2017-07-14T20:30:04.620" Score="4" ViewCount="960" Body="&lt;p&gt;I have a speak dialog that creates a group of items based on some user input. I want to be able to open a new content editor frame if the user is currently in the shell. I have access to the id or path of the item that I want to select in the content editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This comes very close to what I want: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1945/how-to-open-the-content-editor-from-speak&quot;&gt;How to open the content editor from SPEAK?&lt;/a&gt;. I don't want to refresh the page in case the content editor is working on something in that same window though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically the flow I want is if the user is in the desktop view of the shell open a new content editor window in the shell with the item selected. If the user is in content editor or anything other than shell I'm going to just close the dialog.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-07-18T14:43:18.217" LastActivityDate="2019-11-06T10:40:12.790" Title="Open Content Editor From Speak Dialog with Specific Item Selected" Tags="|content-editor|speak|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6640" PostTypeId="2" ParentId="6637" CreationDate="2017-07-14T20:32:49.890" Score="3" Body="&lt;p&gt;Personally I think the cleanup process can help reduce the sizes but not really sure how much you can reduce considering the sizes of those dbs.&#xA;That being said, when you execute the cleanup databases command what will happen is that Sitecore will get the list of databases you select on the dialog and add them to a cleaner job that will get executed.&#xA;You should see logs on Audit mode(if you don't have it you can always set them on log4net).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now back to your original problem(db sizes) one thing I would suggest you to do is run a powershell script to get things like unused items, unused media items(this can be a cause for big dbs - hugh media library), etc.&#xA;This can pinpoint a few things on your build that can be improved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One last thing: I remember that the last time I had to deal with Sitecore 6.5 versions I was using Chrome and some of Sitecore's features were not working with newer Chrome versions. Not sure if that's the case for you but if you are using Chrome I'd suggest you to try in the old Internet Explorer to trigger them just in case. That would explain why clicking on the cleanup databases link and nothing showing up on the logs.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-07-14T21:00:44.520" LastActivityDate="2017-07-14T21:00:44.520" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6641" PostTypeId="2" ParentId="6638" CreationDate="2017-07-14T21:11:30.523" Score="7" Body="&lt;p&gt;The issue you are facing is that you are hitting the &lt;code&gt;MaxItemNameLength&lt;/code&gt; length, which by default is 100:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;  MAX ITEM NAME&#xA;            Specifies the maximum length of an item name.&#xA;            Default value: 100&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;MaxItemNameLength&quot; value=&quot;100&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore will &quot;sanitize&quot; the item name based on the file uploaded to ensure it meets various criteria (&lt;code&gt;MaxItemNameLength&lt;/code&gt; and &lt;code&gt;InvalidItemNameChars&lt;/code&gt;), if not it will strip those characters and shorten the item name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either increase this to a higher value or shorten the name of the media item that is uploaded.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-07-14T21:16:55.723" LastActivityDate="2017-07-14T21:16:55.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6642" PostTypeId="2" ParentId="6610" CreationDate="2017-07-15T04:19:35.700" Score="4" Body="&lt;p&gt;Just like personalizations, the AB tests are stored on the rendering fields. If you are able to see the AB test on the Experience editor so it means that the test has been set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now where does Sitecore store the tests items it associate with my page?&#xA;On the Marketing Control Panel /Test Lab bucket. If you open the content editor and search for the existing tests you should be able to see the results there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a test I have configured on my build associated with my home page:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/d5x3O.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d5x3O.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at your code above I can say you are on the right track but your problem most likely is that the test is configured on the final layout as opposed to the shared layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code slightly changed(look at in this case I'm reading the final layout as opposed to the shared):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.LayoutField layoutField = RenderingContext.Current.PageContext.Item.Fields[&quot;__final renderings&quot;];&#xA;            var renderings= layoutField.GetReferences(Sitecore.Context.Device).FirstOrDefault();&#xA;            if (renderings != null)&#xA;            {&#xA;                var testID = renderings.Settings.MultiVariateTest;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With this code you should be able to see the ID on a string format of the test on the renderings.Settings.MultiVariateTest property.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/magWR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/magWR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the Guid I'm getting on the MultiVariateTest property is matching to the guid from the item the Marketing Control Panel(first screenshot).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-07-17T14:07:09.627" LastActivityDate="2017-07-17T14:07:09.627" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6643" PostTypeId="2" ParentId="6636" CreationDate="2017-07-15T10:12:02.613" Score="2" Body="&lt;p&gt;By default, SQL Server is only configured to allow Windows Authenticated connections. When using a &quot;normal&quot; connection string like the one you mention here, you need Mixed Mode authentication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uBz2E.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uBz2E.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting Mixed Mode for the first time will force you to define the &lt;code&gt;sa&lt;/code&gt; account and a password. For your dev box (and only your dev box) I would normally recommend just using this &lt;code&gt;sa&lt;/code&gt; account in your local connection strings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Last thing to be aware of is, that for SIM to work you need to ensure your local SQL is running as a local system account (not &lt;code&gt;NETWORK SERVICE&lt;/code&gt;). This can be set up here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xk1Rv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xk1Rv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-07-15T10:12:02.613" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6644" PostTypeId="1" AcceptedAnswerId="6658" CreationDate="2017-07-16T02:03:47.550" Score="8" ViewCount="3810" Body="&lt;p&gt;I see a ton of these warnings in my Sitecore log file, using 8.2 Update 3:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;5304 01:57:06 WARN  web[isLanguageFallbackValid] cache is cleared by Sitecore.Caching.Generics.Cache`1+DefaultScavengeStrategy[[Sitecore.Caching.IsLanguageFallbackValidCacheKey, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 89.9 KB.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;They come across sometimes multiple times a second. Does anyone have insight into this and how to quiet up the log file?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="3136" LastEditDate="2018-03-06T10:24:03.053" LastActivityDate="2018-03-06T10:24:03.053" Title="Log file warning about caching and DefaultScavengeStrategy" Tags="|caching|logging|language-fallback|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6645" PostTypeId="1" AcceptedAnswerId="8932" CreationDate="2017-07-16T02:10:26.437" Score="1" ViewCount="2376" Body="&lt;p&gt;I'm using the Bitnami Solr 6.5.1 installer, and I've used it successfully on other servers. On our QA server, which is sharing CM/CD in one site and has Solr installed locally, I'm getting the following message each time I reindex. This is a custom index that's set up with a rebuild core to swap after a rebuild. Again, I'm using this same setup locally with no problem. The only difference might be that the QA is on an Azure VM, but I set the firewall rules to open a &quot;loopback&quot; to itself just in case that was an issue. So I'm not sure what the issue would be, does anyone have insight?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #14 01:55:04 ERROR Exception&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: SolrNet.Exceptions.SolrConnectionException&#xA;Message: &amp;lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&amp;gt;&#xA;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&#xA;&amp;lt;title&amp;gt;502 Proxy Error&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&#xA;&amp;lt;h1&amp;gt;Proxy Error&amp;lt;/h1&amp;gt;&#xA;&amp;lt;p&amp;gt;The proxy server received an invalid&#xA;response from an upstream server.&amp;lt;br /&amp;gt;&#xA;The proxy server could not handle the request &amp;lt;em&amp;gt;&amp;lt;a href=&quot;/solr/content_index_web_temp/update&quot;&amp;gt;POST&amp;amp;nbsp;/solr/content_index_web_temp/update&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;.&amp;lt;p&amp;gt;&#xA;Reason: &amp;lt;strong&amp;gt;Error reading from remote server&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/p&amp;gt;&#xA;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&#xA;&#xA;Source: SolrNet&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;   at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)&#xA;   at SolrNet.Commands.OptimizeCommand.Execute(ISolrConnection connection)&#xA;   at SolrNet.Impl.SolrBasicServer`1.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex.PerformRebuild(Boolean resetIndex, Boolean optimizeOnComplete, IndexingOptions indexingOptions, CancellationToken cancellationToken)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Rebuild(Boolean resetIndex, Boolean optimizeOnComplete)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (502) Bad Gateway.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-12-11T03:01:32.520" Title="502 Bad Gateway error when reindexing with Solr to localhost address" Tags="|solr|indexing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6646" PostTypeId="1" AcceptedAnswerId="6656" CreationDate="2017-07-16T10:44:52.627" Score="3" ViewCount="721" Body="&lt;p&gt;Sitecore advises that you should sync a bucket after you delete an item from it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a mass import process that adds/updates/deletes items. The bucket contains hundreds of thousands of items and I would prefer not to do a full bucket sync at the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've decompiled the Buckets code and it looks like syncing just moves unbucketable items to the root and deletes empty folders. There is a IsSynced flag in the pipeline args but I don't think it's used for anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my questions are:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the advice to sync after deleting items just a housekeeping thing (cleaning up empty folders), or does it have some material impact on the functionality of the bucket?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could I just implement some logic to clean up the ancestor folders at the point that I delete an item, or is there some other magic that the sync process does that I'd be missing?&lt;/p&gt;&#xA;" OwnerUserId="473" LastActivityDate="2017-07-17T12:00:47.173" Title="Bucket Sync after item deletion" Tags="|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6647" PostTypeId="1" AcceptedAnswerId="6648" CreationDate="2017-07-16T15:40:28.023" Score="3" ViewCount="545" Body="&lt;p&gt;In the &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;wiki&lt;/a&gt; it states that default url is &lt;a href=&quot;http://habitat.dev.local/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.dev.local/&lt;/a&gt;&#xA;and in App_Config\Include\Project\z.Habitat.DevSettings.config, it states that &#xA;rootHostName = &quot;dev.local&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we implement default url name(as mentioned in wiki) using SIM. What should we give in &quot;Site Name&quot; and &quot;Host Name&quot; for local development set up? &#xA;&lt;a href=&quot;https://i.stack.imgur.com/3oGiP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3oGiP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2028" LastEditorUserId="1000" LastEditDate="2017-07-16T16:07:23.653" LastActivityDate="2018-03-01T07:49:47.397" Title="Habitat setup host name confusion" Tags="|habitat|sim|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6648" PostTypeId="2" ParentId="6647" CreationDate="2017-07-16T15:56:19.157" Score="5" Body="&lt;p&gt;The hostname should be habitat.dev.local on your Sim installation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the site definition you have: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;habitat&quot; patch:after=&quot;site[@name='modules_website']&quot; &#xA;                  targetHostName=&quot;habitat.$(rootHostName)&quot; &#xA;                  database=&quot;web&quot; &#xA;                  virtualFolder=&quot;/&quot; &#xA;                  physicalFolder=&quot;/&quot; &#xA;                  rootPath=&quot;/sitecore/content/habitat&quot; &#xA;                  startItem=&quot;/Home&quot; &#xA;                  dictionaryPath=&quot;/sitecore/content/habitat/global/dictionary&quot; &#xA;                  dictionaryAutoCreate=&quot;false&quot; &#xA;                  placeholderSettingsRoot=&quot;/sitecore/layout/Placeholder Settings/Project/Habitat&quot;&#xA;                  domain=&quot;habitat&quot; &#xA;                  allowDebug=&quot;true&quot; &#xA;                  cacheHtml=&quot;true&quot; &#xA;                  htmlCacheSize=&quot;50MB&quot; &#xA;                  registryCacheSize=&quot;0&quot; &#xA;                  viewStateCacheSize=&quot;0&quot; &#xA;                  xslCacheSize=&quot;25MB&quot; &#xA;                  filteredItemsCacheSize=&quot;10MB&quot; &#xA;                  enablePreview=&quot;true&quot; &#xA;                  enableWebEdit=&quot;true&quot; &#xA;                  enableDebugger=&quot;true&quot; &#xA;                  disableClientData=&quot;false&quot; &#xA;                  cacheRenderingParameters=&quot;true&quot; &#xA;                  renderingParametersCacheSize=&quot;10MB&quot; &#xA;                  formsRoot=&quot;{4BC8A78C-44A7-46EB-8126-040D3F12CAA0}&quot;&#xA;                  loginPage=&quot;/login&quot;&#xA;                  enableItemLanguageFallback=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where the hostname is a concat between &lt;strong&gt;&quot;habitat.&quot;&lt;/strong&gt; and the value of variable &lt;strong&gt;rootHostName&lt;/strong&gt; wich is &lt;strong&gt;dev.local&lt;/strong&gt; .&#xA; The site defintion is defined in file &lt;strong&gt;/src/Project/Habitat/code/App_Config/Include/Project/Habitat.Website.config&lt;/strong&gt;  &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-07-16T16:04:33.133" LastActivityDate="2017-07-16T16:04:33.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6649" PostTypeId="1" AcceptedAnswerId="6650" CreationDate="2017-07-17T05:39:34.123" Score="5" ViewCount="3337" Body="&lt;p&gt;I have added a new sc.variable (just like dataFolder, tempFolder). We see the setting in &lt;code&gt;showconfig.aspx&lt;/code&gt; but it returns an empty string when getting it with &lt;code&gt;Sitecore.Configuration.Settings.GetSetting(&quot;mySetting&quot;)&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried playing around with lowercase/uppercase as &lt;code&gt;Sitecore.Configuration.Settings.GetSetting(&quot;dataFolder&quot;)&lt;/code&gt; returns empty but  &lt;code&gt;Sitecore.Configuration.Settings.GetSetting(&quot;DataFolder&quot;)&lt;/code&gt; returns the actual value; but didn't work either. Is it not possible to read custom &lt;code&gt;sc.variable&lt;/code&gt; settings?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: We are using sc.variable so we can read this setting from other .config files e.g. &lt;code&gt;&amp;lt;bla value=&quot;$(mySetting)xxx /&amp;gt;&lt;/code&gt; but we also happen to need to read it programmatically.&lt;/p&gt;&#xA;" OwnerUserId="88" LastEditorUserId="88" LastEditDate="2017-07-17T15:23:39.203" LastActivityDate="2018-11-20T03:50:09.807" Title="How to read sc.variable programmatically" Tags="|configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6650" PostTypeId="2" ParentId="6649" CreationDate="2017-07-17T06:20:32.663" Score="8" Body="&lt;p&gt;All the variables from sc.variable are defined in two places&#xA;For example tempFolder is defined :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sc.variable name=&quot;tempFolder&quot; value=&quot;/temp&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;setting name=&quot;TempFolder&quot; value=&quot;$(tempFolder)&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The value of the TempFolder you can get using : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;return Settings.GetSetting(&quot;TempFolder&quot;, &quot;/temp&quot;)&lt;/code&gt; where the second parameter is default value. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I recommend to declare your variable not like a &lt;strong&gt;sc.variable&lt;/strong&gt;, but like normal setting. Or if you declare like a sc.variable declare a setting with a variable parameter. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&#xA;   How sitecore replace this variables : &#xA;  On Sitecore.Configuration.ConfigReader it has a method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual void ReplaceGlobalVariables(System.Xml.XmlNode rootNode)&#xA;{&#xA;    Assert.ArgumentNotNull(rootNode, &quot;rootNode&quot;);&#xA;    System.Xml.XmlNodeList xmlNodeList = rootNode.SelectNodes(&quot;.//sc.variable&quot;);&#xA;    StringDictionary stringDictionary = new StringDictionary();&#xA;    foreach (System.Xml.XmlAttribute xmlAttribute in rootNode.Attributes)&#xA;    {&#xA;        string name = xmlAttribute.Name;&#xA;        string @string = StringUtil.GetString(new string[]&#xA;        {&#xA;            xmlAttribute.Value&#xA;        });&#xA;        if (name.Length &amp;gt; 0)&#xA;        {&#xA;            string key = &quot;$(&quot; + name + &quot;)&quot;;&#xA;            stringDictionary[key] = @string;&#xA;        }&#xA;    }&#xA;    for (int i = 0; i &amp;lt; xmlNodeList.Count; i++)&#xA;    {&#xA;        string attribute = XmlUtil.GetAttribute(&quot;name&quot;, xmlNodeList[i]);&#xA;        string attribute2 = XmlUtil.GetAttribute(&quot;value&quot;, xmlNodeList[i]);&#xA;        if (attribute.Length &amp;gt; 0)&#xA;        {&#xA;            string key2 = &quot;$(&quot; + attribute + &quot;)&quot;;&#xA;            stringDictionary[key2] = attribute2;&#xA;        }&#xA;    }&#xA;    if (stringDictionary.Count == 0)&#xA;    {&#xA;        return;&#xA;    }&#xA;    this.ReplaceGlobalVariables(rootNode, stringDictionary);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-07-17T06:33:29.843" LastActivityDate="2017-07-17T06:33:29.843" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6651" PostTypeId="1" AcceptedAnswerId="6653" CreationDate="2017-07-17T07:10:13.290" Score="5" ViewCount="103" Body="&lt;p&gt;First of all a little context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.1 with Solr 5.5.0-1 and my data are stored like this :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore  &#xA;-&amp;gt;content  &#xA;--&amp;gt;Assistance  &#xA;---&amp;gt;Products  &#xA;----&amp;gt;Alarms  &#xA;-----&amp;gt;Themes  &#xA;------&amp;gt;Theme1  &#xA;-------&amp;gt;Questions  &#xA;----&amp;gt;Interruptors  &#xA;-----&amp;gt;Themes  &#xA;------&amp;gt;Theme1  &#xA;-------&amp;gt;Questions  &#xA;----&amp;gt;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a way I can set the root of my crawler like so to index the themes and questions ? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Root&amp;gt;/sitecore/content/Assistance/Produits/*/Themes&amp;lt;/Root&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The real problem is that if my client add a new type of product the index will not search at all in it.&lt;/p&gt;&#xA;" OwnerUserId="2205" LastActivityDate="2017-07-17T07:32:51.257" Title="Is there a way to use asterix in Sitecore SOLR configuration root?" Tags="|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6652" PostTypeId="2" ParentId="6627" CreationDate="2017-07-17T07:21:33.580" Score="5" Body="&lt;h2&gt;TL;DR&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;No at this time.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Why?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There is an additional field for that on each variant field item (&lt;strong&gt;SXA 1.4&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5aLRH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5aLRH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, for some reason those field values are not used to render data attributes (bug).&#xA;If you wish you can contact Sitecore support to get hot fix to it or wait till the next release.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-07-17T07:21:33.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6653" PostTypeId="2" ParentId="6651" CreationDate="2017-07-17T07:32:51.257" Score="6" Body="&lt;p&gt;I don't think you can use a wildcard in the root - a path or guid should work. What you could do to solve your problem is set &lt;code&gt;/sitecore/content/Assistance/Produits&lt;/code&gt; as root and use the &lt;code&gt;list:IncludeTemplate&lt;/code&gt;  (or &lt;code&gt;list:ExcludeTemplate&lt;/code&gt;) feature in the index configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will take your global root, but filter the items on the template(s). If you only want themes and questions on your index, you can only include those templates:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=”list:IncludeTemplate”&amp;gt;&#xA;   &amp;lt;Theme&amp;gt;{....}&amp;lt;/Theme&amp;gt;&#xA;   &amp;lt;Question&amp;gt;{...}&amp;lt;/Question&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This way your customer (editor) can add as many products (s)he wants, the index will pick up the themes and questions. Whether to use include or exclude depends on the templates (how many are used / how many you need) but I usually use the include feature as this configuration is more clear (to see what's all in there) and allows you to add other templates in the tree without changing the config.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-07-17T07:32:51.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6655" PostTypeId="2" ParentId="6649" CreationDate="2017-07-17T11:27:45.083" Score="6" Body="&lt;p&gt;While the answer given by Sitecore Climber is spot on, I'd like to clarify a bit on the difference between &lt;code&gt;sc.variable&lt;/code&gt; and a &lt;code&gt;setting&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at how &lt;code&gt;sc.variable&lt;/code&gt; is used throughout the (original) &lt;code&gt;Sitecore.config&lt;/code&gt;, it is almost always in places that would differ &lt;em&gt;by environment&lt;/em&gt;. So the config defines a &lt;code&gt;sc.variable&lt;/code&gt; for &lt;code&gt;dataFolder&lt;/code&gt; for instance, and then an actual &lt;code&gt;setting&lt;/code&gt; for it later like &lt;code&gt;&amp;lt;setting name=&quot;dataFolder&quot; value=&quot;$(dataFolder&quot; /&amp;gt;&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;reason&lt;/em&gt; for this is, that you can then isolate all the &lt;em&gt;environment specific settings&lt;/em&gt; in your solution, and have a simple patch for them. All &lt;code&gt;sc.variable&lt;/code&gt; declarations would be at the top of the config file, so they could be easily found and replaced.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't often see this used any more however. Sitecore later introduced &lt;code&gt;config patching&lt;/code&gt; and I think, generally, people just use different layers of patch config files to achieve the same result; making the use of &lt;code&gt;sc.variable&lt;/code&gt; largely obsolete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further reading: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hermanussen.eu/sitecore/wordpress/2011/05/manage-sitecore-config-across-environments-dtap/&quot; rel=&quot;noreferrer&quot;&gt;Manage Sitecore config across environments (DTAP)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/improve_the_security_of_the_website_folder&quot; rel=&quot;noreferrer&quot;&gt;Improve the security of the website folder&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-07-17T11:27:45.083" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6656" PostTypeId="2" ParentId="6646" CreationDate="2017-07-17T12:00:47.173" Score="1" Body="&lt;p&gt;I can find no magic ;-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While the bucket sync takes care of a great many things, in your specific case (deleting a bucket item), it really is just a cleanup. The hosting folder will get deleted if there are no other child items in the folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    if (!this.ShouldDeleteInCreationOfBucket(current) || current.GetChildren(ChildListOptions.SkipSorting).Any&amp;lt;Item&amp;gt;())&#xA;      return;&#xA;    current.Delete();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;ShouldDeleteInCreationOfBucket&lt;/code&gt; call really just tests if the current items being processed is a &lt;code&gt;BucketFolder&lt;/code&gt;.  So to paraphrase &quot;if this is not a BucketFolder or if there are .Any children present, return. Otherwise delete the item (BucketFolder without children)&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could implement similar logic on the delete event; but it really is just a bit of housekeeping that I can't see breaking any stuff even if you don't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, when deleting via the UI, the event &lt;code&gt;item:bucketing:deleting&lt;/code&gt; will get raised. I don't see this happening in a programmatic item delete.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-07-17T12:00:47.173" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6658" PostTypeId="2" ParentId="6644" CreationDate="2017-07-17T14:59:38.090" Score="12" Body="&lt;p&gt;The &lt;code&gt;DefaultScavengeStrategy&lt;/code&gt; is responsible for &lt;em&gt;scavenging&lt;/em&gt; (freeing up) memory from your caches when your application is maxing out on its memory resources, as determined by the configured cache size limits. The warning that you are seeing indicates that memory usage was maxing out for the specified cache, based on your configured maximum cache sizes, and so Sitecore decided to use the &lt;code&gt;DefaultScavengeStrategy&lt;/code&gt; to free up some memory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to eliminate this warning from your logs there are two things that you can do: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Disable the size limits of your caches via the &lt;code&gt;Caching.DisableCacheSizeLimits&lt;/code&gt; setting.&lt;/strong&gt; Disabling the caching size limits will actually disable the &lt;code&gt;DefaultScavengeStrategy&lt;/code&gt;, entirely (excluding the eviction of expired entries). Only do this if your server has a surplus of RAM and will be able to handle ever-growing caches. This means that entries will only evict when expired, not if the system gets short on memory, which could cause the application to eventually crash if it doesn't have enough resources. However, if your server does have enough RAM then this is usually the best option for performance.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Tune your caches by following the procedure outlined in the the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/cms_tuning_guide_sc70-72-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;CMS Performance Tuning Guide&lt;/a&gt;&lt;/strong&gt;. This is often a safer, albeit more time-consuming solution than simply disabling the cache size limits, but if you aren't confident that your servers have enough RAM to let the caches get as big as they want then this is the route that you should take. Note that this solution does not guarantee that the warnings will be eliminated from your logs, but rather it does have you allocate as much memory as is necessary to each cache so that the warning can be ignored unless it becomes very frequent. This also means that if you add more memory to your server, that will not boost your application's caching ability without re-tuning or then disabling the cache size limits. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;More About Cache Eviction and the &lt;code&gt;DefaultScavengeStrategy&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In a &lt;a href=&quot;https://sitecore.stackexchange.com/a/6550/423&quot;&gt;recent answer&lt;/a&gt; that I posted to a question about &lt;code&gt;CachePriority&lt;/code&gt;, I included the following excerpt from Sitecore support, in which they describe the general cache eviction process: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the current caching implementation, the eviction happens when a new&#xA;  key should be added, but there is not enough space left to add it.&#xA;  When a new entry is added to the cache, the CheckSize method checks if&#xA;  there is enough space. If not, cache entries should be evicted or the&#xA;  whole cache should be cleared.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The Scavenge method performs eviction (or cleanup, if necessary).&#xA;  Note: as a result, the scavenge is not performed in case the cache&#xA;  size limits are disabled.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Following with the above, the flow in the code is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.DisableCacheSizeLimits&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;New cache key, &lt;code&gt;key&lt;/code&gt;, is generated&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Cache&amp;lt;T&amp;gt;.Add(key, ...)&lt;/code&gt; is called to add the new entry, &lt;code&gt;entry&lt;/code&gt;, to the cache with the generated key&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Cache&amp;lt;T&amp;gt;.CheckSize(entry)&lt;/code&gt; is called to check if the cache can fit the size of the new entry, &lt;code&gt;dataLength&lt;/code&gt;, without breaking its maximum size limit&lt;/li&gt;&#xA;&lt;li&gt;If there is not enough space for the new entry, &lt;code&gt;Cache&amp;lt;T&amp;gt;.Scavenge(dataLength)&lt;/code&gt; is called to free up enough space for the new entry to be added. &lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;Cache&amp;lt;T&amp;gt;.Scavenge(dataLength)&lt;/code&gt; method calls the &lt;code&gt;DefaultScavengeStrategy.Scavenge(...)&lt;/code&gt; method to execute the scavenging. The idea is that newer entries are more relevant and thus should replace old entries if necessary. The method starts with expired entries and then moves onto random entries.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Source of the &lt;code&gt;Cache&amp;lt;TKey&amp;gt;.CheckSize&lt;/code&gt; method:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private bool CheckSize(Cache&amp;lt;TKey&amp;gt;.CacheEntry entry)&#xA;{&#xA;    if (Settings.Caching.DisableCacheSizeLimits)&#xA;    {&#xA;        return true;&#xA;    }&#xA;&#xA;    long dataLength = entry.DataLength;&#xA;    if (dataLength &amp;gt; this.MaxSize)&#xA;    {&#xA;        return false;&#xA;    }&#xA;    if (this.RemainingSpace &amp;gt; dataLength)&#xA;    {&#xA;        return true;&#xA;    }&#xA;&#xA;    this.Scavenge(dataLength);&#xA;    return true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Source of the &lt;code&gt;Cache&amp;lt;TKey&amp;gt;.Scavenge&lt;/code&gt; method:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual void Scavenge(long required)&#xA;{&#xA;    if (this.RemainingSpace &amp;gt; required || this.scavengeRunning == 1)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    bool flag = false;&#xA;    try&#xA;    {&#xA;        flag = Interlocked.CompareExchange(ref this.scavengeRunning, 1, 0) == 0;&#xA;        if (!flag)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Cache&amp;lt;TKey&amp;gt;.DefaultScavengeStrategy.Instance.Scavenge(this, this.box.Data.Values, required);&#xA;    }&#xA;    finally&#xA;    {&#xA;        if (flag)&#xA;        {&#xA;            this.scavengeRunning = 0;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Source of the &lt;code&gt;DefaultScavengeStrategy.Scavenge&lt;/code&gt; method:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;internal virtual void Scavenge(Cache&amp;lt;TKey&amp;gt; cache, ICollection&amp;lt;Cache&amp;lt;TKey&amp;gt;.CacheEntry&amp;gt; cacheContent, long bytesToFree)&#xA;{&#xA;    Assert.ArgumentNotNull((object) cache, &quot;cache&quot;);&#xA;    Assert.ArgumentNotNull((object) cacheContent, &quot;cacheContent&quot;);&#xA;&#xA;    bytesToFree = this.AdjustSize(cache, cacheContent, bytesToFree);&#xA;    if (this.IsFullCleanupLimitReached(cache, cacheContent, bytesToFree))&#xA;    {&#xA;        this.ClearCache(cache);&#xA;    }&#xA;    else&#xA;    {&#xA;        this.ScavengeObsolete(cache, cacheContent, bytesToFree);&#xA;&#xA;        long leftToScavenge;&#xA;        if (this.ShouldStopCleanup(cache, bytesToFree, out leftToScavenge))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        this.DoCleanup(cache, cacheContent, leftToScavenge);&#xA;&#xA;        if (this.ShouldStopCleanup(cache, bytesToFree, out leftToScavenge))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        this.ClearCache(cache);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-18T13:07:14.173" LastActivityDate="2017-07-18T13:07:14.173" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6659" PostTypeId="1" CreationDate="2017-07-17T15:22:26.173" Score="4" ViewCount="1432" Body="&lt;p&gt;On my sitecore Azure environment, I already have a working xDB collecting data about visitors. Now I want to display graphs to see for instance, with what frequency goals were registered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried enabling some configuration files here and there. I also created reporting and reporting.secondary SQL databases on Azure (with no further configuration) and referenced them in connection strings. Still, &lt;strong&gt;I can't see any data in the reporting databases&lt;/strong&gt;. Plus, I get those errors when loading the Experience Analytics dashboard,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The TopTenCampaignsByValue graph cannot be displayed due to a server error. Contact you system administrator.   &#xA;The OnlineInteractions graph cannot be displayed due to a server error. Contact you system administrator.   &#xA;The TopTenPatternsByValuePerVisit graph cannot be displayed due to a server error. Contact you system administrator.    &#xA;The OnlineInteractionsByVisitsAndValuePerVisit graph cannot be displayed due to a server error. Contact you system administrator.   &#xA;The TopTenGoalsByConversions graph cannot be displayed due to a server error. Contact you system administrator. &#xA;The ChannelsByVisits graph cannot be displayed due to a server error. Contact you system administrator.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can't manage to find any precise documentation on this yet important Sitecore feature. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Does anyone know how to set up all the experience analytics features end to end ?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Errors in the logs: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2017-07-17T13:38:05  PID[149424] Error       73080 13:38:05 ERROR Exception when executing agent aggregation/automationCleanupService&#xA;Exception: System.Exception&#xA;Message: Invalid object name 'Properties'.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Data.DataProviders.Sql.DataProviderCommand.ExecuteReader()&#xA;   at Sitecore.Data.DataProviders.Sql.DataProviderReader..ctor(DataProviderCommand command)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;&amp;gt;c__DisplayClass12.&amp;lt;CreateReader&amp;gt;b__10()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func`1 action, Action recover)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateReader(String sql, Object[] parameters)&#xA;   at Sitecore.Analytics.Aggregation.SqlReportingStorageProviderProperties.GetProperties()&#xA;   at Sitecore.Analytics.Aggregation.SqlReportingStorageProviderProperties.get_Item(String key)&#xA;   at Sitecore.Analytics.Aggregation.SqlReportingStorageProviderProperties.GetCutoffDate()&#xA;   at Sitecore.Analytics.Automation.Aggregation.Data.Processing.CleanupAgent.&amp;lt;Execute&amp;gt;b__0(IAggregatedAutomationStateStorageProvider r)&#xA;   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()&#xA;   at System.Linq.Enumerable.Min[TSource](IEnumerable`1 source)&#xA;   at Sitecore.Analytics.Automation.Aggregation.Data.Processing.CleanupAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Data.DataException&#xA;Message: Error executing SQL command: SELECT [Key], [Value] FROM [Properties]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1833" LastActivityDate="2017-07-17T16:02:23.347" Title="How to set up Sitecore Experience Analytics?" Tags="|experience-analytics|reporting|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6660" PostTypeId="2" ParentId="6659" CreationDate="2017-07-17T16:02:23.347" Score="1" Body="&lt;p&gt;Setting up xDB and your website connection to it is the first step so your instance can collect data. Do you get any rows in the interations collection on the analytics database after browsing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore then takes the xDB data and aggregates it, storing it on your reporting database. It seems like it's the reporting service setup that you might be missing hence why you don't get reports.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_reporting_service_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;This documentation page&lt;/a&gt; guides you on how to setup the reporting service, local or remote.&lt;/p&gt;&#xA;" OwnerUserId="1625" LastActivityDate="2017-07-17T16:02:23.347" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6661" PostTypeId="1" AcceptedAnswerId="6662" CreationDate="2017-07-17T16:49:04.777" Score="1" ViewCount="1340" Body="&lt;p&gt;We have one caching issues on live site. Actually we keep JS/CSS files in sitecore media library so after every  prod deployment when we publish updates JS file we have to press Ctrl+F5 to load latest JS file updates. This is fine for Developers but not for visitors and we can't instruct every visitors to press Ctrl+F5.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script src=&quot;/-/media/common/js/productlisting.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To mitigate this issue we are planning to add time-stamp as a query string in &lt;strong&gt;src&lt;/strong&gt; attribute in &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; element as described in below URL&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://css-tricks.com/can-we-prevent-css-caching/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://css-tricks.com/can-we-prevent-css-caching/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;and this looks like need modification in sitecore media pipelines. Any idea how can we do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OR&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any other suggestion much appreciated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 07/17/2017&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below Patch works for me&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaProvider&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;MyProject.Pipelines.CacheBustingMediaProvider, MyProject&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/mediaProvider&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I see very strange behavior see screenshot. While debugging I found code between line no. 16 and 34 is not getting executed. You can see when I tried to set debug at line no. 14 it throw exception. finally debug point come to line no. 12 and then directly goes to line no. 36 and goes out. Any idea on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iu8dW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iu8dW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="73" LastEditDate="2017-07-18T08:20:18.253" LastActivityDate="2017-07-18T08:20:18.253" Title="Caching issue for JS/CSS in Media Library node" Tags="|media-library|caching|javascript|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6662" PostTypeId="2" ParentId="6661" CreationDate="2017-07-17T17:19:12.907" Score="1" Body="&lt;p&gt;If you're looking to continue storing these files in the media library (there are pros and cons to this approach), you'll need to subclass &lt;code&gt;Sitecore.Resources.Media.MediaProvider&lt;/code&gt;, override &lt;code&gt;GetMediaUrl(MediaItem item, MediaUrlOptions options)&lt;/code&gt;, and patch it into your configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default Media Provider is set in Sitecore.config with &lt;code&gt;&amp;lt;mediaProvider type=&quot;Sitecore.Resources.Media.MediaProvider, Sitecore.Kernel&quot; /&amp;gt;&lt;/code&gt;. You'll want to use a config file to patch this value to your custom MediaProvider class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;GetMediaUrl()&lt;/code&gt;, you have access to the MediaItem object, you have access to the &lt;code&gt;Extension&lt;/code&gt; field which you could use to determine if the item is JS/CSS. You'll also need to pull the updated date from the statistics of the Sitecore item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, you'll want to get the URL that the default MediaProvider returns, and modify that. The following is the basic jist of what I'm suggesting.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CacheBustingMediaProvider : Sitecore.Resources.Media.MediaProvider {&#xA;    public override string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;    {&#xA;        var requiredExtensions = new[] {&quot;js&quot;, &quot;css&quot;};&#xA;&#xA;        var baseURL = base.GetMediaUrl(item, options);&#xA;&#xA;        if (requiredExtensions.Contains(item.Extension))&#xA;        {&#xA;            var rawItem = item.Database.GetItem(item.ID);&#xA;            var itemTimestamp = (rawItem.Statistics.Updated.Ticks - 621355968000000000) / 10000000;&#xA;            var urlComponents = baseURL.Split('?');&#xA;&#xA;            Sitecore.Collections.SafeDictionary&amp;lt;string&amp;gt; queryString;&#xA;&#xA;            if (urlComponents.Length &amp;gt; 1)&#xA;            {&#xA;                queryString = Sitecore.Web.WebUtil.ParseQueryString(urlComponents[1]);&#xA;            }&#xA;            else&#xA;            {&#xA;                queryString = new Sitecore.Collections.SafeDictionary&amp;lt;string&amp;gt;();&#xA;            }&#xA;&#xA;            queryString[&quot;t&quot;] = itemTimestamp.ToString();&#xA;&#xA;            var finalQueryString = Sitecore.Web.WebUtil.BuildQueryString(queryString, true);&#xA;&#xA;            return urlComponents[0] + &quot;?&quot; + finalQueryString;&#xA;        }&#xA;&#xA;        return baseURL;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There's another few examples of using a MediaProvider here: &lt;a href=&quot;https://allthingssitecore.com/2014/03/26/integrating-a-cdn-into-your-sitecore-solution/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://allthingssitecore.com/2014/03/26/integrating-a-cdn-into-your-sitecore-solution/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2017-07-17T17:33:32.540" LastActivityDate="2017-07-17T17:33:32.540" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="6663" PostTypeId="1" AcceptedAnswerId="11574" CreationDate="2017-07-17T17:30:30.993" Score="1" ViewCount="498" Body="&lt;p&gt;On an 8.2 new installation I am getting a few Entry and Exit page URL entries on the Experience Analytics reports which I would not expect:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/api/sitecore/settings/setuserprofilekey&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;/sitecore/shell/client/speak/assets/lib/ui/1.1/deps/nvd3/nv.d3.min.js.map&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;/sitecore/shell/client/applications/pathanalyzer/help/fonts/glyphicons-halflings-regular.woff2&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've made no modification to the  configurations so the shell site has its enableTracking setting set to false, however those 3 urls come up under the &quot;website&quot; site filter on the dashboard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on why those are being tracked? I might look into filter them out but I'd like first to understand why they come up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1625" LastEditorUserId="73" LastEditDate="2017-07-17T17:34:16.837" LastActivityDate="2018-05-14T13:38:09.743" Title="System requests on Experience Analytics reports" Tags="|xdb|experience-analytics|reporting|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6667" PostTypeId="1" AcceptedAnswerId="6723" CreationDate="2017-07-17T18:59:48.583" Score="3" ViewCount="448" Body="&lt;p&gt;I have a folder which is a bucket and I'm using the search functionality to get the results. &#xA;By default I have 4 facets on the right column: Template, Language, Author and Date Range.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6bjtc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6bjtc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I see on the path: /sitecore/system/Settings/Buckets/Facets&#xA;that there are a few out of the box facets there. I have tried to create a new facet but it's not showing on the facets column. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zgl1q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zgl1q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know what I'm missing? I will need to add 3 other facets so looking for a solution to this.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-07-20T17:45:16.160" Title="Add facets to the Content Editor search page" Tags="|content-editor|content-search|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="6668" PostTypeId="2" ParentId="6639" CreationDate="2017-07-17T20:50:38.917" Score="0" Body="&lt;p&gt;EDIT: I think this first solution is better for opening a new tab (taken from here: &lt;a href=&quot;https://mikerobbins.co.uk/2015/07/14/sitecore-content-editor-tabs-in-speak/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mikerobbins.co.uk/2015/07/14/sitecore-content-editor-tabs-in-speak/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically - you should be able to open a new tab using the following Javascript (assuming the blog is still relevant):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;parent.scForm.postRequest(\'\', \'\', \'\',&#xA;  \'contenteditor:launchtab(url={ITEMIDHERE}, la={LANGUAGENAMEHERE},&#xA;  datasource=sitecore)\')&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;A simpler solution: If you don't want the possibility that the user is going to lose work if they're already doing something in the content editor - I think the safest thing to do would be to open a new tab in the browser pointing to the selected item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do this with a specifically formatted URL (as mentioned in the referenced question). If you add target=&quot;_blank&quot; to the link being pressed by the user - then this will open a new tab.&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="428" LastEditDate="2017-07-18T14:24:26.740" LastActivityDate="2017-07-18T14:24:26.740" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6669" PostTypeId="1" CreationDate="2017-07-17T22:54:14.043" Score="4" ViewCount="771" Body="&lt;p&gt;I am writing a processor for the &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline.  I noticed the following code in a number of the examples&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;var item = args.FallbackProvider.AddFromTemplate(args.ItemName, args.TemplateId, args.Destination, args.NewId);&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;args.ProcessorItem = args.Result = item;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;What do 1 and 2 do?&lt;/p&gt;&#xA;" OwnerUserId="2158" LastEditorUserId="423" LastEditDate="2017-07-18T13:18:10.190" LastActivityDate="2017-08-17T13:46:01.073" Title="AddFromTemplate Pipeline Processor Explanation" Tags="|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6670" PostTypeId="1" AcceptedAnswerId="6799" CreationDate="2017-07-18T01:21:29.567" Score="4" ViewCount="192" Body="&lt;p&gt;Sitecore 8.1 U3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to fetch customer details from BI and pushing them to sitecore by creating customer items with the necessary details. Each of these customers should be enrolled in an engagement plan when we push/create the customer item in sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using WCF service on CM server which creates the customer item and using the below code to programatically enroll the contact in engagement plan as there wont be contact in session to use. Took inspiration from &lt;a href=&quot;https://maigruen.netzkern.de/use-sitecore-analytics-from-wcf-service.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://maigruen.netzkern.de/use-sitecore-analytics-from-wcf-service.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  if (!Tracker.IsActive) { Tracker.StartTracking(); }&#xA; var siteContext = scConfig.Factory.GetSite(&quot;dev&quot;);&#xA;        using(var context = new SiteContextSwitcher(siteContext))&#xA;        {&#xA;           Tracker.Current.Session.Identify(contact.Identifiers.Identifier);&#xA;            var managerInContext = &#xA;           Tracker.Current.Session.CreateAutomationStateManager();&#xA;managerInContext.EnrollInEngagementPlan(engagementPlanId, engagementPlanStateId);&#xA;       }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have also tried creating contact using contactRepository and used the below but dint work either.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var manager = AutomationStateManager.Create(contact);&#xA;            manager.EnrollInEngagementPlan(engagementPlanId, engagementPlanStateId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I am getting the contact created in xDb but the automation states are not being set for the contact with the engagement plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts around this would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Sri&lt;/p&gt;&#xA;" OwnerUserId="1921" LastEditorUserId="1921" LastEditDate="2017-07-23T10:29:12.097" LastActivityDate="2017-07-27T00:06:55.773" Title="Engagement Plans: Enroll contact in Engagement Plan through WCF service" Tags="|engagement-plans|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6672" PostTypeId="1" CreationDate="2017-07-18T12:20:21.393" Score="2" ViewCount="115" Body="&lt;p&gt;This &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/using_solr_or_lucene&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; mentions that Azure Search can be used if you use Sitecore Azure Paas. But I don't see any reason why you couldn't use Azure Search with a standalone Sitecore solution. Do you really need to run Sitecore as a Paas to be able to use Azure Search?&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="73" LastEditDate="2017-07-18T12:33:00.570" LastActivityDate="2017-07-22T12:15:14.217" Title="Can Azure Search be used outside a Sitecore PaaS solution?" Tags="|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6673" PostTypeId="2" ParentId="6672" CreationDate="2017-07-18T12:26:42.343" Score="0" Body="&lt;p&gt;Nope. The document is slightly misleading - I believe what it means to say is; that if you use Sitecore Azure PaaS, you need to use Azure Search (or SOLR); Lucene will not work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't see any reason what so ever, that Azure Search should not be supported in an on-premise installation; be mindful of the potential performance impact however.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-07-18T12:26:42.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6674" PostTypeId="2" ParentId="6669" CreationDate="2017-07-18T13:12:49.290" Score="2" Body="&lt;p&gt;When you write an &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline processor, you are actually replacing the default behavior of the &lt;code&gt;ItemProvider.AddFromTemplate&lt;/code&gt; method. Every &lt;code&gt;ItemProvider&lt;/code&gt; pipeline sends in the native &lt;code&gt;ItemProvider&lt;/code&gt; as the &lt;code&gt;args.FallbackProvider&lt;/code&gt;. As such, when you call the following, what you are actually doing is analogous to &lt;code&gt;base.AddFromTemplate&lt;/code&gt;, wherein you are calling the native logic within your &quot;overriding&quot; (sort of - this isn't really the right term) method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// analogous to base.AddFromTemplate&#xA;var item = args.FallbackProvider.AddFromTemplate(args.ItemName, args.TemplateId, args.Destination, args.NewId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since you are writing a processor, the only way to return a result is by setting a property on your Pipeline arguments. As such, we &quot;return&quot; (sort of - again, this isn't really the right term) a result by setting the &lt;code&gt;args.Result&lt;/code&gt; property. Additionally, if there are any other processors then they should use the &quot;result&quot; of this processor instead of the item this processor started with as the &lt;code&gt;args.ProcessorItem&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.ProcessorItem =    // any other processors should use this item&#xA;    args.Result = item; // this is the result&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;More Information:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/march/30/using-sitecores-new-addfromtemplate-item-provider-pipeline&quot; rel=&quot;nofollow noreferrer&quot;&gt;Example of how to write an &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline processor&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/529/423&quot;&gt;This post on writing custom disablers shows the same pattern used for the &lt;code&gt;&amp;lt;saveItem&amp;gt;&lt;/code&gt; item provider pipeline&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/2927/423&quot;&gt;This post shows how the &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline can be used to write code that adds support for Branch Presets&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-18T13:20:42.517" LastActivityDate="2017-07-18T13:20:42.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6675" PostTypeId="1" AcceptedAnswerId="6678" CreationDate="2017-07-18T13:26:02.443" Score="1" ViewCount="234" Body="&lt;p&gt;Looking at the way the Habitat site logs users in has got me thinking. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems overly complex to me. I presume I'm missing some important concept, but what?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The feature accounts controller calls login&lt;/li&gt;&#xA;&lt;li&gt;This logs the user in then calls the Foundation method RunLoggedIn which initiates the accounts.loggedIn pipeline&lt;/li&gt;&#xA;&lt;li&gt;This pipeline points back to a method in the Accounts Feature project which then tracks the user in xDb&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Guess my question is .. why bother running a pipeline from Foundation? Shouldn't tracking etc. be done in the Feature (which it is technically, it's just via the Foundation layer). In which case login is simply .. auth.login(user) -&gt; xdb.identify?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or is it done this way so the pipeline can be extended to include other actions if needed too. If so, why isn't everything designed as a pipeline?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems a tad overcomplicated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is the benefit of a pipeline in this scenario?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="2046" LastEditorUserId="423" LastEditDate="2017-07-18T14:07:04.520" LastActivityDate="2017-07-18T14:25:23.723" Title="Habitat Login Process" Tags="|habitat|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6676" PostTypeId="1" CreationDate="2017-07-18T13:53:28.660" Score="6" ViewCount="606" Body="&lt;p&gt;Back in Sitecore 5 there used to be a class, &lt;code&gt;Sitecore.SecurityModel.SecurityField&lt;/code&gt;. Seems like this class was removed in later versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, how does one access a Security field on an item now?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Clarification&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'm looking for is the Field class to use when I'm reading a field of type Security on an item.  For example, the Security Preset field on the item, &lt;code&gt;/sitecore/system/Settings/Security/Presets/Require Login&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="648" LastEditorUserId="70" LastEditDate="2017-08-08T14:36:53.513" LastActivityDate="2017-08-08T14:36:53.513" Title="How does one access a Security field programmatically?" Tags="|security|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6677" PostTypeId="2" ParentId="6676" CreationDate="2017-07-18T13:59:47.240" Score="5" Body="&lt;p&gt;You can use item.Security to get an item security field. Return type is ItemSecurity class .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On ItemSecurity class you have few methods :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class ItemSecurity&#xA; {&#xA;        protected ItemSecurity(Item item);&#xA;&#xA;        public static ItemSecurity FromItem(Item item);&#xA;        public virtual bool CanAdmin(Account account);&#xA;        public virtual bool CanCreate(Account account);&#xA;        public virtual bool CanDelete(Account account);&#xA;        public virtual bool CanRead(Account account);&#xA;        public virtual bool CanRemoveVersion(Account account);&#xA;        public virtual bool CanRename(Account account);&#xA;        public virtual bool CanWrite(Account account);&#xA;        public virtual AccessRuleCollection GetAccessRules();&#xA;        public virtual string GetOwner();&#xA;        public virtual void SetAccessRules(AccessRuleCollection accessRules);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="70" LastEditDate="2017-07-18T15:23:20.877" LastActivityDate="2017-07-18T15:23:20.877" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6678" PostTypeId="2" ParentId="6675" CreationDate="2017-07-18T14:25:23.723" Score="1" Body="&lt;p&gt;Before I answer, I should preface by saying that I think this is an opinion-based question that might generate better discussion on Sitecore Community Slack. Having said that, my opinion is below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a highly scaled solution (which habitat is meant to be an example of a scalable solution) then you might have more than one authentication feature with unique tracking logic or you may have project-specific tracking logic for specific sites or tenants. In these cases, the application still requires that when a user authenticates his contact is identified. We can say this because the feature calls an extensible (important for scalability) pipeline in the Foundation layer, which then calls a method implemented in the feature layer (so that it can have different logic for each implementing feature) that performs the contact identification. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The idea here is that not only does this make the solution more extensible and scalable, but if you were to start a new project you could take the foundation layer with you and likely some of the features and reuse it as a starting point. Of course, if you reuse it in a far simpler solution then, yes, you will likely have logic that is far more complicated than what you would have otherwise needed, but the trade-off is that you don't actually have to write any of it from scratch. All you would have to do is write the implementing logic that identifies the contact, which is required for the code to run so it's even self-documenting for developers of all skill-levels. In other words, while it may be more complicated than what you need it will work &quot;every time&quot; (grain of salt) and will require less coding and documentation (maybe even has reusable documentation), and thus will be cheaper than writing it from scratch.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update: What is the benefit of a pipeline in this scenario?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Pipelines are great because they're extensible. You can add an implementing processor in any layer (of course, put it in the layer most appropriate for your use-case; usually in the foundation or feature layers), and can patch it in from that layer as well. This means that processors are one of those wonderful tools that have minimal risk of violating the directions of your dependencies, and if you ever need to change or extend the behavior later you can do so without actually removing or modifying the code that's already been deployed, but rather you can just add a new DLL to it. I could talk for ages about the benefits of a pipeline in most any scenario. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-07-18T14:25:23.723" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6679" PostTypeId="1" AcceptedAnswerId="6680" CreationDate="2017-07-18T14:34:22.520" Score="7" ViewCount="1397" Body="&lt;p&gt;So recently noticed a compiler warning on a custom pipeline I wrote to override what pages &quot;Page Not Found&quot;, &quot;Layout Not Found&quot; get redirected to (in order to make them site specific pages in a mutlisite solution).&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'ExecuteRequest.ExecuteRequest()' is obsolete: 'Use another&#xA;  constructor overload with dependency injection.`&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on how to properly implement these types of redirects now?&lt;/p&gt;&#xA;" OwnerUserId="54" LastEditorUserId="70" LastEditDate="2017-07-18T15:47:31.270" LastActivityDate="2019-06-17T13:30:48.323" Title="ExecuteRequest is Obsolete, How should we derive from the ExecuteRequest pipeline processor?" Tags="|pipelines|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6680" PostTypeId="2" ParentId="6679" CreationDate="2017-07-18T15:42:45.150" Score="4" Body="&lt;p&gt;After taking this to Slack - here was the problem. In the base class, the default constructor is using poor mans DI to resolve the references:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Obsolete(&quot;Use another constructor overload with dependency injection.&quot;)]&#xA;public ExecuteRequest()&#xA;  : this(ServiceLocator.ServiceProvider.GetRequiredService&amp;lt;BaseSiteManager&amp;gt;(), ServiceLocator.ServiceProvider.GetRequiredService&amp;lt;BaseItemManager&amp;gt;())&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the derived class, you need to have a constructor setup that injects the required dependencies and passes those through to the base class, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyDerivedClass : ExecuteRequest&#xA;{&#xA;    public MyDerivedClass(BaseSiteManager baseSiteManager, BaseItemManager baseItemManager)&#xA;     : this(baseSiteManager, baseItemManager)&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now the derived class is calling the new constructor in the base class and injecting the dependencies correctly. &lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-06-17T13:30:48.323" LastActivityDate="2019-06-17T13:30:48.323" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6681" PostTypeId="1" AcceptedAnswerId="6687" CreationDate="2017-07-18T15:44:17.663" Score="2" ViewCount="895" Body="&lt;p&gt;I ran into a weird issue with the navigation component and I can't find what the problem is. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GlZ6W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GlZ6W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the navigation I have. The selected styles are &quot;Main Navigation - Drop down vertical&quot; and a custom style that adds some spacing (the problem is still there if I remove the custom style.) There should be an FAQs page under About but for some reason the dropdown doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I change the style to &quot;Mobile Navigation&quot; the FAQs link is there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kl8YI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kl8YI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a screenshot of the navigation settings:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8OIJn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8OIJn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have an idea about what the problem might be I would appreciate your help!&lt;/p&gt;&#xA;" OwnerUserId="1327" LastActivityDate="2017-07-18T17:13:54.377" Title="Navigation component in SXA: dropdown doesn't work when the selected style is &quot;Main Navigation - Drop down vertical&quot;" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6682" PostTypeId="2" ParentId="6639" CreationDate="2017-07-18T16:09:51.490" Score="2" Body="&lt;p&gt;Here's what I ended up doing. I'm sure there's a way to do it in one step though (somehow emulate a shortcut pointing to an item?). If that ever gets posted I'll accept that answer. This does it in multiple steps with a lot of assumptions. It opens a content editor window using the default content editor window id which should be fine. The sketchier parts are where it gets the last window in the scManager.windows array (which SEEMS to be in order). Then blindly setting the url can be improved upon by just looking for the fo parameter and replacing or adding that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the success function of an ajax call (data is an id):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;success: function (data) {&#xA;    var topScForm,&#xA;        topScManager,&#xA;        contentEditorWindow;&#xA;&#xA;    topScForm = window.top.scForm;&#xA;    topScManager = window.top.scManager;&#xA;&#xA;    if (typeof topScForm != 'undefined' &amp;amp;&amp;amp; topScForm != null) {&#xA;        //open the default content editor shortcut&#xA;        topScForm.postRequest('', '', '', 'RunShortcut(&quot;{E28353A0-FB68-455B-9B2E-99AD280EF64E}&quot;)');&#xA;&#xA;        if (topScManager.windows.length) {&#xA;            //get the window we just opened&#xA;            contentEditorWindow = topScManager.getWindow(topScManager.windows[topScManager.windows.length - 1]);&#xA;&#xA;            //set the url to open our new item&#xA;            contentEditorWindow.src = '/sitecore/shell/Applications/Content-Editor?ic=Apps%2F48x48%2FPencil.png&amp;amp;he=Content%20Editor&amp;amp;cl=0&amp;amp;fo=' + encodeURIComponent(data);&#xA;        }&#xA;&#xA;        //close our dialog&#xA;        window.top.dialogClose();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-07-18T19:25:23.343" LastActivityDate="2017-07-18T19:25:23.343" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6683" PostTypeId="1" CreationDate="2017-07-18T16:21:30.157" Score="2" ViewCount="274" Body="&lt;p&gt;I have installed and configured the Sitecore Demo Retail site on top of Sitecore Commerce 8.2.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been having issues with the commerce page events and analytics. I cannot seem to get any data in the experience analytics reports tab&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are the Error in Logs (This happens when Checkout process is completed)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Event custom value key 'ExternalId' could not be found. ERROR&#xA;  Event custom value key 'ShopName' could not be found. ERROR Event&#xA;  custom value key 'Total' could not be found. ERROR [Experience&#xA;  Analytics]: SegmentProcessor failed to process interaction&#xA;  '4c0f5d2b-8b18-41bc-bff8-50ade2db6ed0' segment&#xA;  '5505a370-dcb2-4772-8574-000f6c3ddb5c' -&#xA;  System.NullReferenceException: Object reference not set to an instance&#xA;  of an object. at&#xA;  Sitecore.Commerce.ExperienceAnalytics.Models.OrderModel..ctor(OrderGoalAnalyticsData&#xA;  analyticsData) at&#xA;  Sitecore.Commerce.ExperienceAnalytics.Dimensions.ByOrder.GetOrderModels(PageData&#xA;  pageData) at&#xA;  Sitecore.Commerce.ExperienceAnalytics.Dimensions.ByOrder.d__2.MoveNext()&#xA;  at System.Linq.Enumerable.WhereEnumerableIterator&lt;code&gt;1.MoveNext() at&#xA;  Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(AggregationPipelineArgs&#xA;  args, IEnumerable&lt;/code&gt;1 segments)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="678" LastEditorUserId="73" LastEditDate="2017-07-18T16:22:36.387" LastActivityDate="2017-11-28T21:18:31.397" Title="Sitecore Commerce Analytics Errors" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6684" PostTypeId="2" ParentId="6624" CreationDate="2017-07-18T16:35:58.350" Score="2" Body="&lt;p&gt;Particularly, I do not think it is a bug. It seems to be just a warning about what was changed in your Sitecore installation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have disassembled the SDT code and I have found that this warning is being logged by a class named &lt;strong&gt;PipelinesConsistency.cs&lt;/strong&gt; in the assembly &lt;strong&gt;Sitecore.DiagnosticsTool.Tests&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, the method &lt;strong&gt;Process&lt;/strong&gt; compares the &quot;default&quot; Sitecore configuration with what you have and warns you about what is different. Now, that does not necessarily mean that you have something wrong or if it is a bug of the SDT tool. By &quot;default&quot; I mean the initial configuration after installing Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the path the SDT tool follows to get the default Sitecore configuration:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It gets the index.json file according to the Sitecore version you are using from here &lt;a href=&quot;http://dl.sitecore.net/updater/info/v3/index.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dl.sitecore.net/updater/info/v3/index.json&lt;/a&gt;;&lt;/li&gt;&#xA;&lt;li&gt;Next it gets the URL of the showconfig.xml file from the index.json file in the step 1. e. g. &lt;a href=&quot;http://dl.sitecore.net/updater/info/v3/Sitecore%20CMS/8.2/170614/default/index.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dl.sitecore.net/updater/info/v3/Sitecore%20CMS/8.2/170614/default/index.json&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Finally, it gets the default configuration from the showconfig.xml file. e.g. &lt;a href=&quot;http://dl.sitecore.net/updater/info/v3/Sitecore%20CMS/8.2/170614/default/configs/showconfig.xml&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dl.sitecore.net/updater/info/v3/Sitecore CMS/8.2/170614/default/configs/showconfig.xml&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here is the piece of code that is logging this message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BcI4m.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BcI4m.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Summing up, I believe you will get this message everytime you remove a pipeline/processor that is in the default Sitecore configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if that makes sense for you.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-07-18T16:35:58.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6685" PostTypeId="1" AcceptedAnswerId="6691" CreationDate="2017-07-18T16:50:29.897" Score="1" ViewCount="1272" Body="&lt;p&gt;The following wonderful error is thrown when I try to enter &quot;Explore&quot; mode in the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ArgumentNullException: Value cannot be null.&#xA;Parameter name: view]&#xA;   System.Web.Mvc.ViewContext..ctor(ControllerContext controllerContext, IView view, ViewDataDictionary viewData, TempDataDictionary tempData, TextWriter writer) +326&#xA;   Sitecore.ExperienceExplorer.Business.Pipelines.Mvc.RenderPageExtenders.InjectExperienceExplorerControl.RenderPartial(String partialName, Object model, TextWriter writer) +463&#xA;   Sitecore.ExperienceExplorer.Business.Pipelines.Mvc.RenderPageExtenders.InjectExperienceExplorerControl.Render(TextWriter writer) +293&#xA;   Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderPageExtendersProcessor.Process(RenderPageExtendersArgs args) +65&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +193&#xA;   Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.GetExtendersHtml() +158&#xA;   Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.get_ExtendersHtml() +31&#xA;   Sitecore.Mvc.ExperienceEditor.Pipelines.Request.RequestEnd.AddPageExtenders.Process(RequestEndArgs args) +200&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +193&#xA;   Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result) +135&#xA;   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +399&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +137&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The page displays okay when I am in &quot;Edit&quot; or &quot;Preview&quot; mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.2 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea why this would be happening?&lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="423" LastEditDate="2017-08-07T19:58:09.950" LastActivityDate="2017-08-07T19:58:09.950" Title="Error thrown when attempting to enter &quot;Explore&quot; mode of Experience Editor" Tags="|experience-editor|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6686" PostTypeId="2" ParentId="6639" CreationDate="2017-07-18T16:50:37.543" Score="3" Body="&lt;p&gt;You can make use of the below command in the Javascript file to open the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;window.top.scForm.postRequest('','','','RunShortcut(&quot;{E28353A0-FB68-455B-9B2E-99AD280EF64E}&quot;)');&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-07-18T16:50:37.543" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6687" PostTypeId="2" ParentId="6681" CreationDate="2017-07-18T17:06:59.417" Score="1" Body="&lt;p&gt;We noticed this behavior in on of our projects as well and it was acknowledged as a bug (nr 6374) by Sitecore support - so it should be fixed someday but I don't think it already is. We had a navigation that seemed to have the correct elements in the html but didn't show the lower levels.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Luckily it can be easily fixed: what we found was that there is some extra html that gets in the way:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Apparently the sxa script doesn't take in consideration the extra div&#xA;  on the navigation items. The trigger is on &quot;.rel-level1 &gt; a&quot;  , but&#xA;  the html is something like: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;code&gt;&amp;lt;li class=&quot;level1 submenu item4 odd last rel-level1&quot;&amp;gt; &#xA;   &amp;lt;div class=&quot;field-title&quot;&amp;gt;&amp;lt;a title=&quot;...&quot;&amp;gt; href=&quot;/en/...&quot;&amp;gt;...&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So the div in the li breaks the trigger. &#xA;This also means it can be fixed it by changing the default rendering variant of the navigation component of SXA:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to &lt;code&gt;/sitecore/content/.../Presentation/Rendering Variants/Navigation/Default&lt;/code&gt; in the content editor&lt;/li&gt;&#xA;&lt;li&gt;On each child (NavigationTitle, Title, __Display Name) set the &lt;code&gt;Tag&lt;/code&gt; field to empty (no more &lt;code&gt;div&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Publish the variant&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You could also create a new variant for this if you want (copy the original and make the changes).&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-07-18T17:13:54.377" LastActivityDate="2017-07-18T17:13:54.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6688" PostTypeId="1" AcceptedAnswerId="6693" CreationDate="2017-07-18T17:14:53.880" Score="4" ViewCount="516" Body="&lt;p&gt;I'm working on an ecommerce site following Helix principles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is it OK to store product data on (or under) the product page items?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The project layer page template could inherit a data template from a feature module.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SiteName&#xA; - Home&#xA;  - Products&#xA;   - Product XYX&#xA;    - Local Content&#xA;     - Product Data (could do this, or make product page inherit this item's template)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Benefits:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Simple IA and easy for content editors to manage&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Drawbacks:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Product pages can grow quite large with many fields&lt;/li&gt;&#xA;&lt;li&gt;Restricted to using a 1:1 relationship between products and pages. (difficult to show same product in two different places).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Another other approach is for product pages to reference items under a separate branch of the tree e.g. a data folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SiteName&#xA; - Home&#xA;  - Products&#xA;   - Product XYZ (links to Data/Products/Product XYZ)&#xA; - Data&#xA;  - Products&#xA;   - Product XYZ&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Benefits:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Easy to share product data between different pages&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Drawbacks:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Harder for content editors to manage. New product, means new page item and new data item plus needing to establish link between the two. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To summarise my question: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is it within Helix principles to have product data on product page items?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there other benefits or drawbacks of these approaches I need to consider?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="423" LastEditDate="2017-09-15T14:17:54.453" LastActivityDate="2017-09-15T14:17:54.453" Title="How to structure product data in a Helix based solution" Tags="|helix|content-management|information-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6689" PostTypeId="2" ParentId="6685" CreationDate="2017-07-18T17:52:03.813" Score="2" Body="&lt;p&gt;Based on your comments, I would suggest you explore more the log that you found in your browser's console:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Failed to call scGetFrameValue in IFrame tag. This typically happens&#xA;  due to a Permission Denied exception in IE9 caused by an intricate&#xA;  issue with Popup and ShowModalDialog calls. Blocked a frame with&#xA;  origin &quot;&lt;a href=&quot;https://stage.example.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://stage.example.com&lt;/a&gt;&quot; from accessing a cross-origin&#xA;  frame. and ExperienceEditor.js:672 ApplicationCache is not declared.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've found the following article on Sitecore KB &quot;&lt;a href=&quot;https://kb.sitecore.net/articles/286042&quot; rel=&quot;nofollow noreferrer&quot;&gt;Experience Editor not functioning properly on the pages with jQuery&lt;/a&gt;&quot; where the message you got is mentioned in this article.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Their proposed solution is in order to avoid editing issues in Experience Editor use jQuery JavaScript library in the No-Conflict mode. Please check the following article for details:&#xA;&lt;a href=&quot;http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With regards to the question:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Plenty of modules. No javascript error. I do note that the url loaded&#xA;  is&#xA;  about/executive-team?sc_mode=normal&amp;amp;sc_debug=0&amp;amp;sc_trace=0&amp;amp;sc‌​_prof=0&amp;amp;sc_ri=0&amp;amp;sc_r‌​b=0&amp;amp;sc_expview=1&#xA;  (why is the sc_mode=normal, shouldn't it be explore or something?)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Yes, it is correct. &#xA;I've just installed a new Sitecore 8.2 instance and here is the URL it gives me when in Explore mode:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;SITECORE_URL&lt;/em&gt;?&lt;strong&gt;sc_mode=normal&lt;/strong&gt;&amp;amp;sc_itemid={110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&amp;amp;sc_version=1&amp;amp;sc_lang=en&amp;amp;sc_site=website&amp;amp;sc_debug=0&amp;amp;sc_trace=0&amp;amp;sc_prof=0&amp;amp;sc_ri=0&amp;amp;sc_rb=0&amp;amp;&lt;strong&gt;sc_expview=1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is what the browser logs in the console in a new Sitecore instance:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/N11u6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N11u6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-07-18T17:52:03.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6691" PostTypeId="2" ParentId="6685" CreationDate="2017-07-18T21:38:50.150" Score="4" Body="&lt;p&gt;I've actually seen this issue before.  It is caused when the view &lt;code&gt;ExperienceExplorerView.cshtml&lt;/code&gt; doesn't exist in the your /Views/Shared folder in your website root.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this, just make sure you drop a copy of that file from a fresh install into this folder.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-07-18T21:38:50.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6693" PostTypeId="2" ParentId="6688" CreationDate="2017-07-18T23:50:19.020" Score="3" Body="&lt;p&gt;This is a similar discussion I've been considering on something we are currently building.  Typically another scenario is adding data directly to the Product item for them to configure and then you would pull using the context item.  Although in that approach you would also still want a datasource reference, so that things could be personalized or A/B tested etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which approach you end up taking depends on a lot of factors and doesn't necessarily relate to a good question on Stack Exchange because its opinion based.  However that's not exactly what you asked.  So the question is can you add product data to product page item (I'm assuming you mean a page type template called product page).  Absolutely, but not directly.  You should define interface templates (which are defined in the foundation/feature layer) which then your page type templates would inherit from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also if you went with your first approach where you have datasources that are specific to a product, then there again you would define a datasource template (at the project layer only) and optionally you could also define folder templates (any layer) to organize your datasource templates.  Those datasource templates just like page type templates wouldn't contain any fields directly, but instead inherit from interface templates which would be defined in the various modules in helix based on their functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only issues with this approach that I can see, is if you have renderings that might have datasources located in multiple locations, you would either have to customize where it pulls those datasources from or just not specify a datasource location on the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second approach you described benefits because you can have one data source shared across multiple renderings.  The only issue which you need to decide based on your architecture, is if it even makes sense to do that.  Example, a product model number shared across multiple renderings, probably doesn't make much sense.  Whereas a Section Title or some form of Ad, very well might make sense.  You could always vary and do both approaches as well.  Using this approach for the datasources that are shared, and then renderings that are specific to products, to use the local children data source approach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also one thing to note, is yes your content tree shouldn't be extremely confusing for content editors, but it should always be logical, so yes it might require editing items in another part of the tree with the content editor, but I wouldn't base this decision just on that.  Especially if your content editors are using the experience editor, they wouldn't really know where all of the datasources exist inside of the content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should follow Helix best practices with template types and how each type inherits or is used in specific places in your solution: &lt;a href=&quot;http://helix.sitecore.net/principles/templates/template-types.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/templates/template-types.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-07-18T23:50:19.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6694" PostTypeId="1" CreationDate="2017-07-19T00:16:15.953" Score="7" ViewCount="1749" Body="&lt;p&gt;We are having an issue with the azure search results that we are receiving, we have set a filter to only retrieve the current language as per the Habitat example code, i.e.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;queryable = queryable.Filter(item =&amp;gt; item.Language.Equals(Context.Language.Name));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However that is performing a wildcard search rather then the strings having to be equal, what I mean by that is that with the Language Name being &quot;en&quot;, we receive results for &quot;en&quot;, &quot;en-AU&quot;, &quot;en-UK&quot;, en-GB&quot;. This is causing us issues as you can imagine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have done a fair amount of digging and we can see that the query generated from our code base has the language restriction as a search query.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;search=language_1:(en)&amp;amp;queryType=full&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have also determined that if we had that as a filter instead it works as expected&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;$filter=language_1 eq 'en' &amp;amp;queryType=full&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anybody have some insight into why this is happening and how we can go about getting our desired result, as we have run out of ideas.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Henry&lt;/p&gt;&#xA;" OwnerUserId="1923" LastActivityDate="2018-03-16T19:36:53.113" Title="Azure search matching wildcard instead of equals" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6695" PostTypeId="1" CreationDate="2017-07-19T02:00:16.177" Score="4" ViewCount="743" Body="&lt;p&gt;The &lt;code&gt;custom.css&lt;/code&gt; and all other &lt;code&gt;css&lt;/code&gt; files under Themes folder &lt;code&gt;\Website\sitecore modules\Shell\Web Forms for Marketers\Themes&lt;/code&gt; gets loaded in web browser on vanilla version of Sitecore 8.1 update 3 but it does not work on my project instance. I believe the developer who worked on it before me has made some changes to pipelines which call these &lt;code&gt;css&lt;/code&gt; files to load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1g5Ed.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1g5Ed.png&quot; alt=&quot;Theme files&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zn6TK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zn6TK.png&quot; alt=&quot;Sitecore&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I cannot seem to find anything related to this on internet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="1768" LastEditorUserId="605" LastEditDate="2017-07-19T07:07:49.420" LastActivityDate="2017-12-16T16:41:36.150" Title="Custom.css does not get loaded in Sitecore WFFM mvc" Tags="|wffm|mvc-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6696" PostTypeId="2" ParentId="6695" CreationDate="2017-07-19T05:41:27.543" Score="1" Body="&lt;p&gt;if you want to load CSS from custom files you need to include into : &lt;strong&gt;\Website\Views\Form\Index.cshtml&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a content of the file: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Form.Core.Configuration&#xA;@using Sitecore.Forms.Mvc&#xA;@using Sitecore.Forms.Mvc.Html&#xA;@model Sitecore.Forms.Mvc.ViewModels.FormViewModel&#xA;@{&#xA;  ViewContext.ViewData.TemplateInfo.HtmlFieldPrefix = Model.ClientId;&#xA;&#xA;  var styles = new List&amp;lt;string&amp;gt; { &quot;content/themes/base/all.css&quot;, &quot;content/Fields.css&quot; };&#xA;&#xA;  var scripts = new List&amp;lt;string&amp;gt;&#xA;  {&#xA;    &quot;libs/jquery/jquery-2.1.3.min.js&quot;,&#xA;    &quot;libs/jquery/jquery-ui-1.11.3.min.js&quot;,&#xA;    &quot;libs/jquery/jquery.validate.min.js&quot;,&#xA;    &quot;libs/jquery/jquery.validate.unobtrusive.min.js&quot;,&#xA;    &quot;wffm.min.js&quot;,&#xA;    &quot;main.min.js&quot;&#xA;  };&#xA;&#xA;  if (Sitecore.Forms.Mvc.Settings.EnableBootstrapCssRendering)&#xA;  {&#xA;      styles.Add(&quot;content/bootstrap.min.css&quot;);&#xA;      scripts.Add(&quot;libs/bootstrap/bootstrap.min.js&quot;);&#xA;  }&#xA;}&#xA;&#xA;&#xA;@Html.RenderStyles(styles.Select(s =&amp;gt; Constants.ScriptsBaseUrl + s).ToArray())&#xA;@Html.RenderStyles(string.Format(StaticSettings.CustomCssPath, string.Empty))&#xA;@Html.EditorFor(x =&amp;gt; Model)&#xA;@Html.RenderScripts(scripts.Select(s =&amp;gt; Constants.ScriptsBaseUrl + s).ToArray())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can modify this line to add your custom css file : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var styles = new List&amp;lt;string&amp;gt; { &quot;content/themes/base/all.css&quot;, &quot;content/Fields.css&quot; };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="70" LastEditDate="2017-07-19T14:05:53.710" LastActivityDate="2017-07-19T14:05:53.710" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6702" PostTypeId="2" ParentId="2232" CreationDate="2017-07-19T09:30:45.383" Score="1" Body="&lt;p&gt;Ok this might help anyone else that gets stuck, you basically need to make sure you add this section to your site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;goto:&lt;/strong&gt; &lt;code&gt;Site&amp;gt; Presentation &amp;gt; Available Renderings&amp;gt;&lt;/code&gt; (add the section and the applicable renderings)&lt;/p&gt;&#xA;" OwnerUserId="2216" LastEditorUserId="5387" LastEditDate="2019-08-09T06:46:30.550" LastActivityDate="2019-08-09T06:46:30.550" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6704" PostTypeId="1" AcceptedAnswerId="6706" CreationDate="2017-07-19T12:50:02.560" Score="9" ViewCount="1689" Body="&lt;p&gt;Im facing a problem with sitecore item validator when I try to save the data.&#xA;The purpose of my validator (the class inherit from StandardValidator) is to simply check if, atleast, field A or field B has a value. If not, I prevent the data to be saved by throwing a &lt;code&gt;ValidatorResult.CriticalError&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, sitecore is having a strange behaviour. Instead of doing the validation on the newly inputed data, he's getting the data already saved and trying to perform the validation on them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the purpose of the validator is to validate the new data before saving, but at the moment it try to validate the data already saved. Is this a bug ? Or Am I missing something ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By the way, here is how I retrieve my fields inside of the Evaluate() function&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override ValidatorResult Evaluate()&#xA;{&#xA;    Sitecore.Data.Items.Item item = this.GetItem();&#xA;    Sitecore.Data.Fields.MultilistField first = item.Fields[FieldOne_Name];&#xA;    Sitecore.Data.Fields.MultilistField second = item.Fields[FieldTwo_Name];&#xA;    //Processing code here...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any hint is more than welcome!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank's&lt;/p&gt;&#xA;" OwnerUserId="2146" LastEditorUserId="70" LastEditDate="2017-07-19T14:18:12.740" LastActivityDate="2017-07-19T14:51:20.927" Title="Item validator access already stored data instead of newly inputed data" Tags="|validation|custom-field|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6705" PostTypeId="2" ParentId="6694" CreationDate="2017-07-19T13:10:00.927" Score="1" Body="&lt;p&gt;Well. Some.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/support_reference_for_azure_search&quot; rel=&quot;nofollow noreferrer&quot;&gt;Support reference for Azure Search&lt;/a&gt; states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You must not apply queries such as StartsWith, Contains to fields that&#xA;  contain paths or collections of GUIDs. This is because Azure Search&#xA;  matches regular expression searches to single words.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And while yours is not a collection of GUIDs, I'm fairly sure the issue is the dashes contained in GUIDs, which are also contained in your language codes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Two things don't add up however:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You are not using .Contains&lt;/li&gt;&#xA;&lt;li&gt;I've found nothing in Azure Search documentation to support the claim that regex is applied unconditionally to a search word&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It can be put to a test however. Write a regular expression that accurately matches &lt;code&gt;en&lt;/code&gt; but not &lt;code&gt;en-AU&lt;/code&gt; (I, unfortunately, am terrible at regex syntax :P) and putting that through the filter. There may be transformations happening at deeper levels of Sitecore ContentSearch that are not immediately obvious.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;clarification&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After re-reading the quote from above and doing some more digging into Azure Search, I now know what is meant. And unfortunately it brings us no closer to an explanation. I'm going to leave this answer in here for reference.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;fields that contain paths or collections of GUIDs&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This refers to the fact that Azure Search will treat expressions inside &lt;code&gt;/&lt;/code&gt; as regular expressions. So if you had a path like &lt;code&gt;/home/products/something&lt;/code&gt;, this would be interpreted by Azure Search as an attempt to regex.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From &lt;a href=&quot;https://docs.microsoft.com/da-dk/rest/api/searchservice/Lucene-query-syntax-in-Azure-Search#bkmk_regex&quot; rel=&quot;nofollow noreferrer&quot;&gt;Lucene query syntax in Azure Search&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Regular expression search&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;A regular expression search finds a match based on the contents&#xA;  between forward slashes &quot;/&quot;, as documented in the RegExp class.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;For example, to find documents containing &quot;motel&quot; or &quot;hotel&quot;, specify&#xA;  /[mh]otel/. Regular expression searches are matched against single&#xA;  words.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-07-19T15:06:17.793" LastActivityDate="2017-07-19T15:06:17.793" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6706" PostTypeId="2" ParentId="6704" CreationDate="2017-07-19T13:50:15.430" Score="2" Body="&lt;h2&gt;My answer is incorrect. See Richard's answer below. Answer is &quot;use &lt;code&gt;fatal&lt;/code&gt; validation result instead of &lt;code&gt;critical&lt;/code&gt;&quot;. Or use &lt;code&gt;item:saving&lt;/code&gt; event like described in my answer.&lt;/h2&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;You can use workflow and not allow to proceed to the final state if any of the validators failed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can use &lt;code&gt;item:saving&lt;/code&gt; event instead of validation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way is using &lt;code&gt;saveUI&lt;/code&gt; pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to use code like this to prevent item from being saved:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Web.UI.Sheer.SheerResponse.Alert(message, new string[0]); &#xA;args.SaveAnimation = false; &#xA;args.AbortPipeline(); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More details can be found in John West blog post &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-intercepting-item-updates-with-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;Intercepting Item Updates with Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-07-19T14:51:20.927" LastActivityDate="2017-07-19T14:51:20.927" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6707" PostTypeId="2" ParentId="6704" CreationDate="2017-07-19T14:15:51.300" Score="6" Body="&lt;p&gt;So one thing to note - &lt;strong&gt;CriticalError&lt;/strong&gt; - the user is warned before saving, but the data is &lt;em&gt;still&lt;/em&gt; saved. &lt;strong&gt;FatalError&lt;/strong&gt; will stop the item from being saved if validation fails. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you are trying to do is not possible in a validator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;this.GetItem()&lt;/code&gt; method in the base validator, gets the item from the database. Remember that a validator works on a single field at a time. So it then updates &lt;em&gt;that&lt;/em&gt; field in the item to have the new value for that field &lt;em&gt;only&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you would not be able to use it to get new values for 2 fields to validate those. Your only option there would be the &lt;code&gt;item:saving&lt;/code&gt; event. But be careful with that, it will fire for the save of every single item you have, so you can easily make Sitecore run very slow there.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-07-19T14:36:22.657" LastActivityDate="2017-07-19T14:36:22.657" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6708" PostTypeId="1" AcceptedAnswerId="6710" CreationDate="2017-07-19T14:31:05.170" Score="5" ViewCount="833" Body="&lt;p&gt;A client has recently had an issue come up during a email campaign blast in EXM. They experienced an error at some point during the process of sending out emails and the statistics show that they only sent out about 25% of the planned emails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to figure out exactly which email contacts are associated with those successful emails? The idea would be to build an exclusion list and try the email blast again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="856" LastEditorUserId="73" LastEditDate="2017-07-19T14:58:37.473" LastActivityDate="2017-07-19T15:59:27.193" Title="How to find list of of successfully sent emails in EXM" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6709" PostTypeId="2" ParentId="6704" CreationDate="2017-07-19T14:46:33.493" Score="1" Body="&lt;p&gt;What is throwing you off, is the ambiguous labeling of method &lt;code&gt;GetItem()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what it looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual Item GetItem()&#xA;{&#xA;  if (this.itemUri == (ItemUri) null)&#xA;    return (Item) null;&#xA;  Item obj = Database.GetItem(this.itemUri);&#xA;  if (obj == null || obj.Versions.Count == 0)&#xA;    return (Item) null;&#xA;  this.UpdateItem(obj);&#xA;  return obj;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The thing to note here is, it calls &lt;code&gt;UpdateItem()&lt;/code&gt;, which is essentially loading up the proposed new item values into the in-memory copy of your Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So when you say you are getting &quot;already saved&quot; values, this actually isn't the case. Not if you abort the validation with a FatalError like described elsewhere here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to get field values &lt;em&gt;as they are in the database right now&lt;/em&gt;, you need to mimic what &lt;code&gt;GetItem()&lt;/code&gt; is doing, but &lt;em&gt;avoiding&lt;/em&gt; the &lt;code&gt;UpdateItem()&lt;/code&gt; functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like this, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual Item GetStoredItem()&#xA;{&#xA;    return Database.GetItem(this.itemUri);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(parameter guarding omitted)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if you then decide to throw a Fatal validation error on your field, the values will be rejected outright and never stored to DB.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-07-19T14:46:33.493" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6710" PostTypeId="2" ParentId="6708" CreationDate="2017-07-19T15:59:27.193" Score="2" Body="&lt;p&gt;By default, up to and including EXM 3.4.2, if anything happens during dispatch and all recipients cannot be processed, the message will be moved to the &quot;Paused&quot; state and the campaign can be retried - meaning EXM will process the recipients that have not already received the email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also extract the data of who the campaign has not been sent to. Look in the DispatchQueue table of the exm database. Query by message id and you'll get a list of all the contacts that have not received the email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're working with EXM 3.3 or later, EXM creates an interaction at the time of dispatch for every recipient, allowing you can to query xDB to determine who the mail has been sent to. Look for interactions with the &quot;Email Sent&quot; page event. This tells you who the email has been sent to, but not that it was actually received e.g. it may have hard bounced.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-07-19T15:59:27.193" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6711" PostTypeId="2" ParentId="6568" CreationDate="2017-07-19T17:35:25.317" Score="1" Body="&lt;p&gt;If you have a non-trivial amount of content to index, I would recommend looking at the &lt;a href=&quot;https://www.foxitsoftware.com/products/pdf-ifilter/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Foxit PDF IFilter&lt;/a&gt;. It's not free, but it's &lt;strong&gt;much&lt;/strong&gt; faster than Adobe (8x), which can make a &lt;strong&gt;big&lt;/strong&gt; difference on large document libraries. Our re-indexing times have come down from around 4 hours to only 30 mins (we have a &lt;strong&gt;lot&lt;/strong&gt; of documents).&lt;/p&gt;&#xA;" OwnerUserId="2222" LastActivityDate="2017-07-19T17:35:25.317" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6712" PostTypeId="1" AcceptedAnswerId="6753" CreationDate="2017-07-19T20:42:39.427" Score="2" ViewCount="432" Body="&lt;p&gt;I have implemented a custom button on the Content Editor which triggers a Custom command(which inherits from Sitecore.Shell.Framework.Commands.Command), and when I click on the button two things happen:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;It creates an excel file on the server which is working just fine&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I try to download it. That's the piece that is not working.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here is my command slightly adapted to the post:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected IReportService ReportService;&#xA;        public override void Execute(CommandContext context)&#xA;        {&#xA;            if (context == null)&#xA;            {&#xA;                Sitecore.Diagnostics.Log.Warn(&quot;Report not generated. The context is null&quot;, context);&#xA;                return;&#xA;            }&#xA;&#xA;            try&#xA;            {                    &#xA;                Context.ClientPage.Start(this, &quot;GenerateReport&quot;, context.Parameters);&#xA;&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Sitecore.Diagnostics.Log.Error(&quot;Error while generating the Excel report&quot;, ex, this);&#xA;            }&#xA;        }&#xA;&#xA;        public void GenerateReport(ClientPipelineArgs args)&#xA;        {&#xA;            if (ReportService != null)&#xA;            {&#xA;                var list = ReportService.GetAssetsReport();&#xA;&#xA;                var file = ExportToExcel(list);&#xA;                //The ExportToExcel returns a FileInfo object &#xA;                Sitecore.Diagnostics.Log.Info(&quot;File name: &quot;+ file.FullName, file);&#xA;                SheerResponse.Download(file.FullName);&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I get the value from file.FullName I see the absotule path to the file which exists on the server. If I copy this value and use it on windows explorer I see the file.&#xA;But the SheerResponse.Download will not download it.&#xA;Logs don't show any potential errors.&#xA;Any thoughts on what could be wrong?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="605" LastEditDate="2017-07-20T06:28:13.767" LastActivityDate="2017-07-24T07:37:25.283" Title="Sheer Download not downloading" Tags="|sheer-ui|" AnswerCount="2" CommentCount="3" ClosedDate="2017-07-24T13:05:40.680" ContentLicense="CC BY-SA 3.0" />
  <row Id="6713" PostTypeId="1" CreationDate="2017-07-19T21:39:05.177" Score="2" ViewCount="631" Body="&lt;p&gt;I created a custom template to use with the SXA carousel component. On the standard values &gt; presentation &gt; details, I selected the Page Content control and I want to use a custom variant (which is already created, published) with it but only the default options appear in the dropdown. Does anyone know how to add a custom variant?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fI1QD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fI1QD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1327" LastActivityDate="2017-07-20T06:19:55.117" Title="Custom template standard values (SXA): add a custom variant to a page content control" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6714" PostTypeId="2" ParentId="6713" CreationDate="2017-07-20T06:19:55.117" Score="1" Body="&lt;p&gt;There are couple of ways how you can use your own &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rendering Variant&lt;/a&gt; with Page Content rendering:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Put it under Page Content node and as variants for certain renderings are matched by rendering name. So rendering placed under Page Content will be assigned to Page Content rendering. Like this:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vP0VC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vP0VC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Put your rendering variant wherever you want in .../Tenant/Site/Presentation/Rendering Variants node and link certain variant to certain rendering. For example, here I'm assigning &lt;em&gt;Default&lt;/em&gt; Title rendering variant to be used with Page Content:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lDbM9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lDbM9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Assign the whole set of variants from one rendering to another. Bellow, I'm assigning all Promo renderings variants to Page Content:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9iaUD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9iaUD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-07-20T06:19:55.117" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6715" PostTypeId="1" CreationDate="2017-07-20T07:53:57.757" Score="0" ViewCount="272" Body="&lt;p&gt;I am currently upgrading a Sitecore environment from 8.0 update-2 to 8.2 update-4, but am running into some problems with our custom websearch module.&#xA;This module uses the old Sitecore.Search implementation to create a Lucene index and search in it. But since 8.2 this is obsolete and I can't find the right way to upgrade this module.&#xA;I used the Sitecore.Search.ISearchContext to create a custom SearchContext, but I can't find anything similar in the new ContentSearch implementation.&#xA;The full code is found here: &lt;a href=&quot;https://github.com/efocus-nl/sitecorewebsearch/blob/develop/src/FixedSearchContext.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/efocus-nl/sitecorewebsearch/blob/develop/src/FixedSearchContext.cs&lt;/a&gt;&#xA;Has anybody already been able to fix something similar as this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kind regards,&#xA;Guido&lt;/p&gt;&#xA;" OwnerUserId="2225" LastActivityDate="2017-07-20T08:12:32.960" Title="Upgrading from Sitecore.Search to Sitecore.ContentSearch" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6716" PostTypeId="2" ParentId="6715" CreationDate="2017-07-20T08:12:32.960" Score="1" Body="&lt;p&gt;In my case, I didn't have a search context, but another solution full of old termQuery, terms, etc.&#xA;Instead of rewriting the whole logic to the new LINQ implementation, we implemented a &quot;.toLinq()&quot; method to our main objects, and then did something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A method to be able to use our objects transparently with linq:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public static IQueryable&amp;lt;Result&amp;gt; Where(this IQueryable&amp;lt;Result&amp;gt; query, IMyObject parameter)&#xA;    {&#xA;        var pq = PredicateBuilder.True&amp;lt;Result&amp;gt;();&#xA;        query = query.Where(parameter.ToLinq(pq));&#xA;        return query;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The we can use our objects like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex(indexName);&#xA;            using (var context = index.CreateSearchContext())&#xA;            {&#xA;                var q = context.GetQueryable&amp;lt;Result&amp;gt;();&#xA;                q = q.Where(myObject);&#xA;                var results = q.GetResults&amp;lt;Result&amp;gt;();&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-07-20T08:12:32.960" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6717" PostTypeId="1" AcceptedAnswerId="6718" CreationDate="2017-07-20T12:22:53.117" Score="1" ViewCount="283" Body="&lt;p&gt;I'm trying to install an instance with SOLR search provider but it fails with unauthorized error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ob7dU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ob7dU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suppose the reason is pretty simple, I've never set any SOLR credentials in SIM because I didn't manage to find the settings. I checked Settings and Advanced Settings dialogs but found no SOLR-related configurations. Am I missing something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[Sitecore 8.2.4, Solr 6.6, SIM 1.5.0]  &lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2017-07-20T12:45:27.913" Title="Installing a SOLR-based instance via SIM fails with 401 Unauthorized error" Tags="|solr|sim|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6718" PostTypeId="2" ParentId="6717" CreationDate="2017-07-20T12:45:27.913" Score="1" Body="&lt;p&gt;Assuming you have installed Solr using the Bitnami Wizard:&#xA;To disable authentication, remove the LocationMatch section that you will find at installdir/apache-solr/conf/solr.conf&#xA;Restart all services (Solr and maybe Zookeeper) after saving the changes. Now Solr won't ask you for credentials.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Solr installer of SIM is not very clever, and if it fails after renaming the config fails, it won't be able to run again. You'll have to reinstall or revert the changes to the default Lucene configuration before you can run it again.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-07-20T12:45:27.913" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6719" PostTypeId="2" ParentId="6712" CreationDate="2017-07-20T13:56:54.500" Score="1" Body="&lt;p&gt;Instead of using the &lt;code&gt;SheerResponse.Download&lt;/code&gt;, you can make use of the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Context.ClientPage.ClientResponse.Download(file.FullName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is also used in the Download Package and it is meant for downloading files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8UAmy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8UAmy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I haven't tested the code. Just make sure that the file path is correct.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-07-20T13:56:54.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6722" PostTypeId="1" CreationDate="2017-07-20T17:20:29.450" Score="2" ViewCount="280" Body="&lt;p&gt;When loading the Campaign Creator for the first time, I see the 9 default Campaigns. However, if I refresh the page or leave a go back to the Campaign Creator, I just get the spinning icon and nothing loads. The console displays the following error...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://dev.mydomain.com/sitecore/api/ssc/CampaignManagement/Campai&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dev.mydomain.com/sitecore/api/ssc/CampaignManagement/Campai&lt;/a&gt;…oad=full&amp;amp;language=en&amp;amp;name=&amp;amp;startDate=&amp;amp;endDate=&amp;amp;classifications=&amp;amp;sc_lang=en 403 (Forbidden)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Further inspection show the following response...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;The required anti-forgery cookie \&quot;__RequestVerificationToken\&quot; is not present.&quot;,&quot;ExceptionType&quot;:&quot;System.Web.Mvc.HttpAntiForgeryException&quot;,&quot;StackTrace&quot;:&quot;   at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken)\r\n   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext, String cookieToken, String formToken)\r\n   at Sitecore.Web.Http.Filters.ValidateHttpAntiForgeryTokenAttribute.OnAuthorization(HttpActionContext actionContext)&quot;}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The __RequestVerificationToken cookie &lt;strong&gt;IS&lt;/strong&gt; still present. &lt;/li&gt;&#xA;&lt;li&gt;Clearing cookies does not help. &lt;/li&gt;&#xA;&lt;li&gt;All configs are accounted for and appear to be correct.&lt;/li&gt;&#xA;&lt;li&gt;No logs of any kind have errors.&lt;/li&gt;&#xA;&lt;li&gt;Debugging the project reveals no exceptions&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The only way I've found to get it to work is to restart the browser. It will work on initial load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specs:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.2 Update 4&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Powershell Extension 4.6&lt;/li&gt;&#xA;&lt;li&gt;Sitecore SXA 1.4&lt;/li&gt;&#xA;&lt;li&gt;SOLR (Lucene has been completely disabled)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; This appears to be caused by the SXA Tenant package I was given. A fresh site has no problems after Powershell Extension 4.6 and SXA 1.4 are installed and SOLR is configured. Once I install the Tenant package, the problem occurs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, deleting the Tenant resolves the problem. Even after restoring it from the Recycle Bin the problem no longer occurs, for a time. Making an update to the items in the Tenant will break it again.&lt;/p&gt;&#xA;" OwnerUserId="1742" LastEditorUserId="73" LastEditDate="2017-07-26T10:22:44.033" LastActivityDate="2017-07-26T10:22:44.033" Title="Sitecore Campaign Creator responds with a status of 403 (Forbidden) on page refresh" Tags="|sxa|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6723" PostTypeId="2" ParentId="6667" CreationDate="2017-07-20T17:45:16.160" Score="0" Body="&lt;p&gt;The problem ended up being that the contenttype field was not getting indexed properly and the facets didn't work because of that.&#xA;Also the facets will only show on the Search page facets if the facet does exist on the results&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-07-20T17:45:16.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6724" PostTypeId="1" AcceptedAnswerId="6771" CreationDate="2017-07-20T20:24:39.720" Score="5" ViewCount="351" Body="&lt;p&gt;In the following code...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactManager = GetContactManager();&#xA;var contact = contactManager.LoadContactReadOnly(contactId);&#xA;if (contact == null)&#xA;{&#xA;    Log.Info(&quot;MySite.Presentation.Controllers.ExperienceProfileController.GetAdditionalInfo: Contact not found!: &quot; + contactId.ToString(), this);&#xA;    throw new ContactNotFoundException();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;... contact is apparently &lt;code&gt;null&lt;/code&gt; because the ContactNotFoundException is being thrown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The odd thing is that the contact DOES appear to exist.   For example, passing a &lt;code&gt;contactId&lt;/code&gt; of &lt;code&gt;f5a28b73-f58b-44f2-a011-4d76bb4984c9&lt;/code&gt; (or any other GUID) results in this error being thrown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I execute the following in the MongoDB...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;db.getCollection('Contacts').find({&quot;_id&quot; : NUUID(&quot;f5a28b73-f58b-44f2-a011-4d76bb4984c9&quot;)})&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;... I get back a valid result, with visits, etc.:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8oWoy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8oWoy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code worked fine with 8.1 Update 2/xDB 1.0, but does not work with 8.2 Update 2/xDB 2.0. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any ideas why this behavior would be occurring and how to fix it?   &lt;/p&gt;&#xA;" OwnerUserId="369" LastEditorUserId="369" LastEditDate="2017-07-20T20:55:35.363" LastActivityDate="2017-07-25T16:51:25.760" Title="Contact Not Found Exception thrown with valid contact IDs" Tags="|xdb|mongodb|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6725" PostTypeId="2" ParentId="6513" CreationDate="2017-07-20T21:17:07.090" Score="0" Body="&lt;p&gt;Hidden in my patch files was an IgnoreUrlPrefix for the prefix in question: vocrules. No idea why it was there. I deleted that particular prefix and all was well.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-07-20T21:17:07.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6726" PostTypeId="1" CreationDate="2017-07-20T22:09:57.630" Score="10" ViewCount="4335" Body="&lt;p&gt;I have not ever had to submit a form in Sitecore before, in my previous experience I used WFFM, thus I didn't have to create or process forms. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My form is simply to take in some information and forward the information from the form via email, thus we are not saving the data to a database. Along with that I need to send back a confirmation note to my user &lt;/p&gt;&#xA;&#xA;&lt;p&gt;so, I have created two partial views (view Renderings) that I will use for this task. These view Renderings are components that sit inside of placeholders on my template sharing the page layout that I created for my site. These View renderings have their own datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h23vc.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h23vc.jpg&quot; alt=&quot;Visual Studio Solution&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the View Renderings (FormGeneric.cshtml) contains the form below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;@{ &#xA;&#xA;    var formTitle = &quot;&quot;;&#xA;    var formSubTitle = &quot;&quot;;&#xA;    var formText = &quot;&quot;;&#xA;    var ImageUrl = &quot;&quot;;&#xA;    var buttonText = &quot;&quot;;&#xA;&#xA;    try&#xA;    {&#xA;&#xA;        formTitle = Model.Item.Fields[&quot;Heading&quot;].Value;&#xA;        formSubTitle = Model.Item.Fields[&quot;Sub Heading&quot;].Value;&#xA;        formText = Model.Item.Fields[&quot;Form Text&quot;].Value;&#xA;        var formImage = (Sitecore.Data.Fields.ImageField) Model.Item.Fields[&quot;Image&quot;];&#xA;        buttonText = Model.Item.Fields[&quot;Button Text&quot;].Value;&#xA;&#xA;        if (formImage.Value != &quot;&quot; &amp;amp;&amp;amp; formImage != null)&#xA;        {&#xA;            ImageUrl = Sitecore.Resources.Media.MediaManager.GetMediaUrl(formImage.MediaItem);&#xA;        }&#xA;&#xA;    }&#xA;    catch { }&#xA;&#xA;}&#xA;&#xA;&amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;&#xA;    &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;        &amp;lt;h2&amp;gt;@formTitle&amp;lt;/h2&amp;gt;&#xA;&#xA;        &amp;lt;p class=&quot;large-subhead&quot;&amp;gt;@formSubTitle&amp;lt;/p&amp;gt;&#xA;&#xA;        &amp;lt;p&amp;gt;@formText&amp;lt;/p&amp;gt;&#xA;&#xA;        &amp;lt;img class=&quot;img-responsive&quot; src=&quot;@ImageUrl&quot;&amp;gt;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;&#xA;    &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;        &amp;lt;form class=&quot;content-form&quot;&amp;gt;&#xA;            @using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;            {&#xA;            &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                &amp;lt;input type=&quot;&quot; class=&quot;form-control&quot; id=&quot;&quot; placeholder=&quot;Full Name&quot;&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                &amp;lt;input type=&quot;&quot; class=&quot;form-control&quot; id=&quot;&quot; placeholder=&quot;Street Address&quot;&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;&#xA;            &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                &amp;lt;input type=&quot;&quot; class=&quot;form-control&quot; id=&quot;&quot; placeholder=&quot;City&quot;&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;&#xA;            &amp;lt;div class=&quot;input-group input-group-lg&quot;&amp;gt;&#xA;                &amp;lt;input type=&quot;text&quot; class=&quot;form-control&quot; aria-label=&quot;...&quot;&amp;gt;&#xA;                &amp;lt;div class=&quot;input-group-btn&quot;&amp;gt;&#xA;                    &amp;lt;button type=&quot;button&quot; class=&quot;btn btn-default dropdown-toggle&quot; data-toggle=&quot;dropdown&quot; aria-haspopup=&quot;true&quot; aria-expanded=&quot;false&quot;&amp;gt;State &amp;lt;span class=&quot;caret&quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/button&amp;gt;&#xA;                    &amp;lt;ul class=&quot;dropdown-menu dropdown-menu-right&quot;&amp;gt;&#xA;                        &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Option&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;                        &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Option&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;                        &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Option&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;                    &amp;lt;/ul&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&amp;lt;!-- /btn-group --&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&amp;lt;!-- /input-group --&amp;gt;&#xA;&#xA;&#xA;&#xA;&#xA;            &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                &amp;lt;input type=&quot;&quot; class=&quot;form-control&quot; id=&quot;&quot; placeholder=&quot;Zip/Postal Code&quot;&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;&#xA;            &amp;lt;div class=&quot;input-group input-group-lg&quot;&amp;gt;&#xA;                &amp;lt;input type=&quot;text&quot; class=&quot;form-control&quot; aria-label=&quot;...&quot;&amp;gt;&#xA;                &amp;lt;div class=&quot;input-group-btn&quot;&amp;gt;&#xA;                    &amp;lt;button type=&quot;button&quot; class=&quot;btn btn-default dropdown-toggle&quot; data-toggle=&quot;dropdown&quot; aria-haspopup=&quot;true&quot; aria-expanded=&quot;false&quot;&amp;gt;Country &amp;lt;span class=&quot;caret&quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/button&amp;gt;&#xA;                    &amp;lt;ul class=&quot;dropdown-menu dropdown-menu-right&quot;&amp;gt;&#xA;                        &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Option&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;                        &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Option&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;                        &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Option&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&#xA;                    &amp;lt;/ul&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&amp;lt;!-- /btn-group --&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&amp;lt;!-- /input-group --&amp;gt;&#xA;&#xA;&#xA;&#xA;            @Html.Sitecore().FormHandler(&quot;GreatAmericanCampoutController&quot;, &quot;SignUp&quot;)&#xA;            &amp;lt;button type=&quot;submit&quot; class=&quot;inline-btn&quot;&amp;gt;@buttonText&amp;lt;/button&amp;gt;&#xA;            }&#xA;        &amp;lt;/form&amp;gt;&#xA;&#xA;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and as you can see I have placed a line &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().FormHandler(&quot;GreatAmericanCampoutController&quot;, &quot;SignUp&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I added a controller called &quot;GreatAmericanCampoutController&quot; under my &quot;controllers&quot; folder in my solution, there will be more processing in this controller, but I just wanted to test the redirect to the Confirmation page&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Website.Controllers&#xA;{&#xA;    public class GreatAmericanCampoutController : Controller&#xA;    {&#xA;        // GET: GreatAmericanCampout&#xA;        public ActionResult Index()&#xA;        {&#xA;            return View();&#xA;        }&#xA;&#xA;        [HttpPost]&#xA;        public ActionResult SignUp()&#xA;        {&#xA;            var options = new UrlOptions&#xA;            {&#xA;                AddAspxExtension = false,&#xA;                LanguageEmbedding = LanguageEmbedding.Never&#xA;            };&#xA;&#xA;            var pathInfo = LinkManager.GetItemUrl(PageContext.Current.Item.Children.FirstOrDefault(), options);&#xA;&#xA;            return RedirectToRoute(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, new { pathInfo = pathInfo.TrimStart(new char[] { '/' }) });&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I created a partial view (FormConfirmation.cshtml) that contains my Confirmation message&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;@{ &#xA;    var subject = &quot;&quot;;&#xA;    var textualContent = &quot;&quot;;&#xA;    var signatureLine = &quot;&quot;;&#xA;&#xA;    try&#xA;    {&#xA;        subject = Model.Item.Fields[&quot;Subject&quot;].Value;&#xA;        textualContent = Model.Item.Fields[&quot;Textual Content&quot;].Value;&#xA;        signatureLine = Model.Item.Fields[&quot;Signature Line&quot;].Value;&#xA;    }&#xA;    catch { }&#xA;&#xA;}&#xA;&amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;col-sm-12 col-md-6 col-lg-9&quot;&amp;gt;&#xA;        &amp;lt;h2&amp;gt;@subject&amp;lt;/h2&amp;gt;&#xA;        &amp;lt;br /&amp;gt;&#xA;        &amp;lt;p&amp;gt;&#xA;        @textualContent&#xA;        &amp;lt;/p&amp;gt;&#xA;        &amp;lt;br /&amp;gt;&#xA;        &amp;lt;br /&amp;gt;&#xA;        &amp;lt;p&amp;gt;Sincerely,&#xA;        &amp;lt;br /&amp;gt;&#xA;        &amp;lt;br /&amp;gt;&#xA;        @signatureLine&#xA;        &amp;lt;/p&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;when I press the &quot;submit&quot; button ... Nothing happens. I don't know if it just can't locate the controller or what. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have enclosed an illustration of my Visual Studio Solution&lt;/p&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="73" LastEditDate="2017-07-26T10:20:51.123" LastActivityDate="2017-07-26T10:20:51.123" Title="How do I set up my Sitecore MVC Post form and receive a confirmation page" Tags="|mvc|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6727" PostTypeId="2" ParentId="6726" CreationDate="2017-07-20T22:47:49.173" Score="4" Body="&lt;p&gt;I think your main problem is that you have this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;form class=&quot;content-form&quot;&amp;gt;&#xA;    @using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;    {&#xA;        @Html.Sitecore().FormHandler(&quot;GreatAmericanCampoutController&quot;, &quot;SignUp&quot;)&#xA;        @* Contents of Form *@&#xA;        &amp;lt;button type=&quot;submit&quot; class=&quot;inline-btn&quot;&amp;gt;@buttonText&amp;lt;/button&amp;gt;&#xA;    }&#xA;&amp;lt;/form&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should be doing this instead:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    @using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;    {&#xA;        @Html.Sitecore().FormHandler(&quot;GreatAmericanCampoutController&quot;, &quot;SignUp&quot;)&#xA;        @* Contents of Form *@&#xA;        &amp;lt;button type=&quot;submit&quot; class=&quot;inline-btn&quot;&amp;gt;@buttonText&amp;lt;/button&amp;gt;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also it's important to note, that the form will only post back to the current rendering.  Which will cause problems if you are using a View Rendering. &#xA; Typically forms should always be controller renderings.  Although there might be a way around if you post the form directly to a controller action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But &lt;code&gt;Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName)&lt;/code&gt; will cause the entire page to post back, and all http verb post actions to fire for any renderings on the page, that's why you would use the Form Handler to prevent this, so only the correct Controller Action fires.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;* Update *&lt;/strong&gt; &#xA;Added ViewModel&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using Sitecore.Mvc.Presentation;&#xA;&#xA;namespace Website.ViewModels&#xA;{&#xA;    public class FormViewModel : IRenderingModel&#xA;    {&#xA;        public string formTitle { get; set; }&#xA;        public string formSubTitle { get; set; }&#xA;        public string formText { get; set; }    &#xA;        public string imageUrl { get; set; }&#xA;        public string pageId { get; set; }&#xA;&#xA;        public string buttonText { get; set; }&#xA;        public string fullName { get; set; }&#xA;        public string streetAddress { get; set; }&#xA;        public string city { get; set; }&#xA;        public string state { get; set; }&#xA;        public string zipCode { get; set; }&#xA;        public string country { get; set; }&#xA;&#xA;        public void Initialize(Rendering rendering)&#xA;        {&#xA;            var dataSourceItem = rendering.Item;&#xA;            if (dataSourceItem == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            this.pageId = PageContext.Current.Item.ID.ToString();&#xA;            this.formTitle = dataSourceItem.Fields[&quot;Heading&quot;].Value;&#xA;            this.formSubTitle = dataSourceItem.Fields[&quot;Sub Heading&quot;].Value;&#xA;            this.formText = dataSourceItem.Fields[&quot;Form Text&quot;].Value;&#xA;            this.buttonText = dataSourceItem.Fields[&quot;Button Text&quot;].Value;&#xA;            var formImage = (Sitecore.Data.Fields.ImageField)dataSourceItem.Fields[&quot;Image&quot;];&#xA;&#xA;            if (formImage.Value != &quot;&quot; &amp;amp;&amp;amp; formImage != null)&#xA;            {&#xA;                this.imageUrl = Sitecore.Resources.Media.MediaManager.GetMediaUrl(formImage.MediaItem);&#xA;            }&#xA;&#xA;&#xA;        }&#xA;    }&#xA;    } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1227" LastEditDate="2017-07-21T20:47:12.640" LastActivityDate="2017-07-21T20:47:12.640" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6730" PostTypeId="2" ParentId="6487" CreationDate="2017-07-21T00:55:42.070" Score="6" Body="&lt;p&gt;Sitecore has come up with hotfix patch on the performance improvement of Azure search with Update 8.2 u4, did you try &lt;a href=&quot;https://kb.sitecore.net/en/Articles/2017/07/20/23/49/188173.aspx&quot; rel=&quot;noreferrer&quot;&gt;this&lt;/a&gt;?? &lt;/p&gt;&#xA;" OwnerUserId="1279" LastActivityDate="2017-07-21T00:55:42.070" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6731" PostTypeId="2" ParentId="5454" CreationDate="2017-07-21T01:19:22.537" Score="0" Body="&lt;ul&gt;&#xA;&lt;li&gt;Set CSSServices authentication to Anonymous&lt;/li&gt;&#xA;&lt;li&gt;Set CSSServices\CFSolutionStorefrontsite_CatalogWebService authentication to Anonymous&lt;/li&gt;&#xA;&lt;li&gt;Set CSSServices\CFSolutionStorefrontsite_ProfilesWebService authentication to Anonymous&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2100" LastActivityDate="2017-07-21T01:19:22.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6732" PostTypeId="2" ParentId="6637" CreationDate="2017-07-21T04:43:54.987" Score="1" Body="&lt;p&gt;When you said nothing in logs, you mean no action or event trigger captured in logs, though in &quot;DEBUG&quot; mode? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can try &lt;a href=&quot;http://www.craigtaylor.us/2014/02/sitecore-clean-up-databases-tool-fails.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference:&lt;br/&gt;&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/14654826/sitecore-cleanup-agent-and-database-cleanup&quot;&gt;https://stackoverflow.com/questions/14654826/sitecore-cleanup-agent-and-database-cleanup&lt;/a&gt;&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/19527521/sitecore-database-cleanup-fails/19635431#19635431&quot;&gt;https://stackoverflow.com/questions/19527521/sitecore-database-cleanup-fails/19635431#19635431&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1279" LastActivityDate="2017-07-21T04:43:54.987" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6734" PostTypeId="1" AcceptedAnswerId="6739" CreationDate="2017-07-21T06:20:02.843" Score="5" ViewCount="406" Body="&lt;p&gt;I'm getting a &lt;code&gt;Sitecore.Exceptions.AccessDeniedException: Application access denied.&lt;/code&gt; exception when opening the Log Viewer, even though my user is Administrator. I have upgraded the project from 7.2 to 8.2 using the Express Migration Tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting this error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HCFjs.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HCFjs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the Access Viewer and as expected for the Admin user, the user have access to the application in the Core DB:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fQuPg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fQuPg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked folder security, which is set to full control, and the error indicates a Sitecore Security deny. &#xA;I can't figure out why access is denied. Any tips or pointers where to look ?&lt;/p&gt;&#xA;" OwnerUserId="1510" LastEditorUserId="1510" LastEditDate="2017-07-21T06:32:45.330" LastActivityDate="2017-07-21T11:09:38.107" Title="Sitecore Log Viewer: Application access denied for all users including admin after upgrade" Tags="|security|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6735" PostTypeId="1" AcceptedAnswerId="6860" CreationDate="2017-07-21T06:21:25.233" Score="0" ViewCount="80" Body="&lt;p&gt;I'm looking into this issue where I'm trying to understand how this event queue and publishing works with respect to shared master db with 2 CM Instances &amp;amp; respective 2 CD instances with dedicated web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm referring to this &lt;a href=&quot;https://www.robhabraken.nl/index.php/2683/the-staging-slot-eventqueue-issue/#comments&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whereas according to &lt;a href=&quot;http://sitecoreblog.blogspot.com.au/2012/02/remote-events-how-to-investigate.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt;, respective CD's Event-Queue database table register corresponding CM instance details from where the request initiated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need help to understand how event-queue and publish queue is initiated from CM to CD. Have anyone came across this scenario. Please help. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="2031" LastEditDate="2017-07-21T06:30:59.123" LastActivityDate="2017-08-02T05:02:07.217" Title="Published some content from staging slots and they appeared in production web database?" Tags="|azure|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6736" PostTypeId="1" AcceptedAnswerId="6737" CreationDate="2017-07-21T06:27:08.213" Score="4" ViewCount="1607" Body="&lt;p&gt;I am currently working on migration of our customer's On-Premise infrastructure to Azure.&lt;/p&gt;&#xA;&lt;p&gt;Website was developed by some other vendor. In Sitecore application I found that &lt;strong&gt;only shared Session&lt;/strong&gt; connection string is mentioned. When I have checked session state mode. It was configured as below.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Connection string&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&amp;quot;sharedsession&amp;quot; connectionString=&amp;quot;user id=user-id;password={some-pwd};Data Source=db-server;Database=Sitecore.Sessions&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Session State&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&amp;quot;mssql&amp;quot; type=&amp;quot; Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&amp;quot; connectionStringName=&amp;quot;sharedsession&amp;quot; pollingInterval=&amp;quot;2&amp;quot; compression=&amp;quot;true&amp;quot; sessionType=&amp;quot;private&amp;quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Currently, customer is not using any Analytics. However in near-future, it may start using that.&#xA;Does this mean above session is actually '&lt;strong&gt;Private&lt;/strong&gt;&amp;quot; session despite being marked as shared.&lt;/p&gt;&#xA;&lt;p&gt;What is the correct way to configure it? Should I go ahead and change sessionType as &lt;strong&gt;&amp;quot;shared&amp;quot;&lt;/strong&gt;&#xA;Do I need to add both shared and private session state?&lt;/p&gt;&#xA;&lt;h1&gt;Update&lt;/h1&gt;&#xA;&lt;p&gt;Will it be okay if I use same database for both Shared and Private session? I mean, let's say only one connection string with name as &amp;quot;&lt;strong&gt;sharedsession&lt;/strong&gt;&amp;quot; for which I will configure session state in &lt;strong&gt;web.config&lt;/strong&gt; and &lt;strong&gt;Sitecore.Analytics.Tracking.config&lt;/strong&gt; patch&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Environment&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Sitecore v8.1 Update 2 with xDB Cloud&#xA;2 CD instances.&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-07-21T07:45:40.170" Title="Shared Session State configured as Private" Tags="|session-state|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6737" PostTypeId="2" ParentId="6736" CreationDate="2017-07-21T07:06:35.787" Score="3" Body="&lt;p&gt;From the sitecore site: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;&#xA;You must configure both private and shared session states. You can choose to use the same session provider for both but to ensure that the system can distinguish between them you must configure the correct attribute in the web.config and the Sitecore.Analytics.Tracking.config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/session_state/session_state&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/session_state/session_state&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To configure sql session state provider you need to follow next steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add two new connection string into   /Website/App_Config/ConnectionStrings.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;add name=&quot;session&quot; connectionString=&quot;user id=user;password= pass;Server=server;Database=database_Session&quot;/&amp;gt;&#xA;&#xA; &amp;lt;add name=&quot;sharedsession&quot; connectionString=&quot;user id=user;password= pass;Server=server;Database=database_Session&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add a config file with bellow text into /website/App_Config/Include/zzz folder. &#xA;This is for shared session&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;     &amp;lt;!-- &#xA;       Patching file for SQL SharedSession provider &#xA;    --&amp;gt;&#xA;    &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;      &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;tracking&amp;gt;&#xA;          &amp;lt;!-- it removes existing shared session provider--&amp;gt;&#xA;          &amp;lt;sharedSessionState&amp;gt;&#xA;            &amp;lt;patch:delete  /&amp;gt;&#xA;          &amp;lt;/sharedSessionState&amp;gt;&#xA;          &amp;lt;!-- add new sql session state provider--&amp;gt;&#xA;          &amp;lt;sharedSessionState defaultProvider=&quot;mssql&quot;&amp;gt;&#xA;            &amp;lt;providers&amp;gt;&#xA;              &amp;lt;clear/&amp;gt;&#xA;              &amp;lt;add&#xA;         name=&quot;mssql&quot;&#xA;         type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot;&#xA;         connectionStringName=&quot;sharedsession&quot;&#xA;         pollingInterval=&quot;2&quot;&#xA;         compression=&quot;true&quot;&#xA;         sessionType=&quot;shared&quot;/&amp;gt;&#xA;            &amp;lt;/providers&amp;gt;&#xA;            &amp;lt;manager type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateManager, Sitecore.Analytics&quot;&amp;gt;&#xA;              &amp;lt;param desc=&quot;configuration&quot; ref=&quot;tracking/sharedSessionState/config&quot; /&amp;gt;&#xA;            &amp;lt;/manager&amp;gt;&#xA;            &amp;lt;config type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateConfig, Sitecore.Analytics&quot;&amp;gt;&#xA;              &amp;lt;param desc=&quot;maxLockAge&quot;&amp;gt;5000&amp;lt;/param&amp;gt;&#xA;              &amp;lt;param desc=&quot;timeoutBetweenLockAttempts&quot;&amp;gt;10&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/config&amp;gt;&#xA;          &amp;lt;/sharedSessionState&amp;gt;&#xA;        &amp;lt;/tracking&amp;gt;&#xA;      &amp;lt;/sitecore&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For private session follow next steps : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open \Website\web.config file and locate the sessionState section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update the sessionState section by adding the SQL Server provider as shown in the following example. Also, change the name attribute value to mssql:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;mssql&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;mssql&quot;&#xA;type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; &#xA;         sessionType=&quot;private&quot;/&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-07-21T07:32:20.997" LastActivityDate="2017-07-21T07:32:20.997" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6739" PostTypeId="2" ParentId="6734" CreationDate="2017-07-21T11:09:38.107" Score="6" Body="&lt;p&gt;Finally found the root of this problem. Some how the Core database was missing random items after the migration. Not sure what happened, but started to compare items in Core, and found some items missing.The Log Viewer was dependent on these items and this caused this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I re-ran the migration to get a new migrated Core database, and nothing was missing this time.  &lt;/p&gt;&#xA;" OwnerUserId="1510" LastActivityDate="2017-07-21T11:09:38.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6741" PostTypeId="2" ParentId="4169" CreationDate="2017-07-21T11:43:38.720" Score="6" Body="&lt;p&gt;I added &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Glass.Mapper.Sc.Web.Mvc &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;on Top and it solved my problem&lt;/p&gt;&#xA;" OwnerUserId="2230" LastActivityDate="2017-07-21T11:43:38.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6742" PostTypeId="2" ParentId="6676" CreationDate="2017-07-21T11:56:19.670" Score="0" Body="&lt;p&gt;You should use the raw value of the field and parse it with *AccessRuleCollection&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string serializedRules = item[&quot;Security Preset&quot;];    &#xA;AccessRuleCollection accessRuleCollection = aAccessRuleCollection.FromString(serializedRules);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can the run through the AccessRules (Sitecore use this in their &lt;em&gt;item:securitypresent&lt;/em&gt; command):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (AccessRule current in accessRuleCollection)&#xA;{&#xA;  accessRules.Helper.RemoveExactMatches(current.Account, current.AccessRight, current.PropagationType, current.PermissionType);&#xA;  accessRules.Add(current);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1510" LastActivityDate="2017-07-21T11:56:19.670" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6743" PostTypeId="1" CreationDate="2017-07-21T14:38:13.263" Score="8" ViewCount="398" Body="&lt;p&gt;Using SXA 1.2 rev. 161216, rows and columns sometimes disapear from pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By this I mean that the Row Splitter component &lt;strong&gt;still exists&lt;/strong&gt; and its content is still visible in the &lt;strong&gt;design layout&lt;/strong&gt; menu.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I add a row using the &lt;strong&gt;+&lt;/strong&gt; button to the corrupted row splitter, the hidden row that was here before &lt;strong&gt;comes back&lt;/strong&gt;. Video : &lt;a href=&quot;https://www.screencast.com/t/XDHSMXTje&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.screencast.com/t/XDHSMXTje&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is very annoying since this breaks our work. Does anyone have a solution to this ?&lt;/p&gt;&#xA;" OwnerUserId="1833" LastEditorUserId="1833" LastEditDate="2017-08-14T07:43:14.950" LastActivityDate="2017-08-14T07:43:14.950" Title="SXA: Rows and columns disappearing" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6745" PostTypeId="1" CreationDate="2017-07-21T16:27:59.850" Score="0" ViewCount="345" Body="&lt;p&gt;I implemented a simple search on Sitecore 8.1 and it works&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I copied the same example for Sitecore 8.0 and got some error&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unsupported expression node type: Lambda&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sagepath.com/blogs/development/articles/sitecore-8-basic-search&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sagepath.com/blogs/development/articles/sitecore-8-basic-search&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It uses the same Lucene, ContentSearch DLL version, the only difference is the Sitecore Version (8.0/8.1)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have a clue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="73" LastEditDate="2017-07-21T17:18:17.690" LastActivityDate="2017-07-21T17:18:17.690" Title="Unsupported expression node type: Lambda" Tags="|content-search|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6746" PostTypeId="1" AcceptedAnswerId="6749" CreationDate="2017-07-21T18:09:45.670" Score="4" ViewCount="955" Body="&lt;p&gt;I have create a new facet for a categories field for a bucketable item. This field is a treelistex which means the user can select multiple categories for an item. Each category is an item with a single field: Title.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm running the search the facets are showing but the Category facet shows the guids instead of the title field for example:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/PZgXo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PZgXo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how the facet is defined:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pjlrT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pjlrT.png&quot; alt=&quot;enter code here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any thoughts on what needs to be changed to start showing the facet title as opposed to it's guid?&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-07-22T03:17:00.553" Title="Buckets search page: Facets showing by guid. how to change that?" Tags="|content-search|buckets|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="6748" PostTypeId="2" ParentId="6746" CreationDate="2017-07-21T23:07:52.517" Score="1" Body="&lt;p&gt;The field is a GUID because that is what is in the Sitecore value field, for the category field. I imagine its a droplist or a multilist. So what you need to do is create a new ComputedIndexField to turn that GUID into a name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am going to break the code up into Multilist field and a droplist field. They are a little different.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Code For Multilist Field&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the code below, I am taking the MultiList field and getting the selected items, find the Display Names of the items, adding them a list of strings that is my return. I return the list of strings to the indexer, which with then show me names in my facets.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;&#xA;namespace Sitecore.Feature.Article.Search.ComputedFields&#xA;{&#xA;    using Sitecore.ContentSearch;&#xA;    using Sitecore.ContentSearch.ComputedFields;&#xA;    using Sitecore.ContentSearch.Utilities;&#xA;    using Sitecore.Data;&#xA;    using Sitecore.Data.Fields;&#xA;    using Sitecore.Foundation.SitecoreExtensions.Extensions;&#xA;&#xA;    public class TagNameComputedField : IComputedIndexField&#xA;    {&#xA;        public object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;            var item = (SitecoreIndexableItem)indexable;&#xA;&#xA;            if (item == null)&#xA;            {&#xA;                return null;&#xA;            }&#xA;&#xA;            if (!item.Item.IsDerived(Template.Article.ID)) return null;&#xA;&#xA;            var db = item.Item.Database;&#xA;            MultilistField tags = item.Item.Fields[Template.Article.Fields.Tags];&#xA;&#xA;            if (tags == null || tags.TargetIDs.Length == 0) return null;&#xA;&#xA;            var list = new List&amp;lt;string&amp;gt;();&#xA;            this.GetTags(tags.TargetIDs, list, db);&#xA;&#xA;            return list;&#xA;        }&#xA;&#xA;        public void GetTags(ID[] tags, List&amp;lt;string&amp;gt; list, Database db)&#xA;        {&#xA;            tags.ForEach(tag =&amp;gt; list.Add(db.GetItem(tag)?.DisplayName));&#xA;        }&#xA;&#xA;&#xA;        public string FieldName { get; set; }&#xA;        public string ReturnType { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The Config For Multilist Field&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is where we tie it together. I am adding my new &lt;code&gt;tag_name&lt;/code&gt; index field to my default Lucene indexes. The most important this here is the use os &lt;code&gt;UNTOKENIZED&lt;/code&gt; in the indexType. This makes Lucene save the whole name to the index in one piece. Not breaking up into terms. So &lt;code&gt;My brown dog&lt;/code&gt; goes into the index as a whole and not three different words. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultLuceneIndexConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                    &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                        &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                            &amp;lt;field fieldName=&quot;tag_name&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.Collections.Generic.List`1[[System.String, mscorlib]]&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                                &amp;lt;Analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                            &amp;lt;/field&amp;gt;&#xA;                        &amp;lt;/fieldNames&amp;gt;&#xA;                    &amp;lt;/fieldMap&amp;gt;&#xA;                    &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneDocumentBuilderOptions, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                        &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                            &amp;lt;field fieldName=&quot;tag_name&quot; storageType=&quot;no&quot; indexType=&quot;untokenized&quot;&amp;gt;Sitecore.Feature.Article.Search.ComputedFields.TagNameComputedField, Sitecore.Feature.Article&amp;lt;/field&amp;gt;&#xA;                        &amp;lt;/fields&amp;gt;&#xA;                    &amp;lt;/documentOptions&amp;gt;&#xA;                &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Sitecore facet&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Now create your facet again, but use the index field name of tag_name. It will show you tags with real names and not GUIDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1Mi0U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Mi0U.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a droplist field, we don't want a list of strings. We just need a single string of the name. So here is the code and config for a single item in a droplist.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The Code For Droplist Field&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Here we just want to return a single string to the index.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.Article.Search.ComputedFields&#xA;{&#xA;    using Sitecore.ContentSearch;&#xA;    using Sitecore.ContentSearch.ComputedFields;&#xA;    using Sitecore.Data;&#xA;    using Sitecore.Data.Fields;&#xA;    using Sitecore.Diagnostics;&#xA;    using Sitecore.Foundation.SitecoreExtensions.Extensions;&#xA;&#xA;    public class AuthorNameComputedField : IComputedIndexField&#xA;    {&#xA;        public object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;            var item = (SitecoreIndexableItem)indexable;&#xA;&#xA;            if (item == null)&#xA;            {&#xA;                return null;&#xA;            }&#xA;&#xA;            if (!item.Item.IsDerived(Template.Article.ID)) return null;&#xA;&#xA;            var db = item.Item.Database;&#xA;            var itemId = item.Item.Fields[Template.Article.Fields.Author].Value;&#xA;            if (itemId == null || !ID.IsID(itemId)) return null;&#xA;&#xA;            var author = db.GetItem(new ID(itemId));&#xA;&#xA;            Log.Info($&quot;Saving the index author value {author.DisplayName}&quot;, &quot;indexing&quot;);&#xA;&#xA;            return author.DisplayName;&#xA;        }&#xA;&#xA;&#xA;        public string FieldName { get; set; }&#xA;        public string ReturnType { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The Config For Droplist Field&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultLuceneIndexConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                    &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                        &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                            &amp;lt;field fieldName=&quot;author_name&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                        &amp;lt;/fieldNames&amp;gt;&#xA;                    &amp;lt;/fieldMap&amp;gt;&#xA;                    &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneDocumentBuilderOptions, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                        &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                            &amp;lt;field fieldName=&quot;author_name&quot; storageType=&quot;no&quot; indexType=&quot;untokenized&quot;&amp;gt;Sitecore.Feature.Article.Search.ComputedFields.AuthorNameComputedField, Sitecore.Feature.Article&amp;lt;/field&amp;gt;&#xA;                        &amp;lt;/fields&amp;gt;&#xA;                    &amp;lt;/documentOptions&amp;gt;&#xA;                &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-07-21T23:17:02.077" LastActivityDate="2017-07-21T23:17:02.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6749" PostTypeId="2" ParentId="6746" CreationDate="2017-07-22T03:17:00.553" Score="7" Body="&lt;p&gt;You need to set &lt;strong&gt;BucketConfiguration.ResolveFacetValueToFriendlyName&lt;/strong&gt; equals to true.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;!-- RESOLVE FACET VALUE TO FRIENDLY NAME&#xA;       If you are storing a field in the index that is being faceted on, it may be stored as an ID. This Setting&#xA;       when set to true, &#xA;       will try and resolve this to the friendly item name instead. &#xA;       USAGE: In an environment with huge amounts of items (e.g. 1 Million), this will not scale properly.           &#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;BucketConfiguration.ResolveFacetValueToFriendlyName&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-07-22T03:17:00.553" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6750" PostTypeId="1" CreationDate="2017-07-22T07:58:48.870" Score="3" ViewCount="1153" Body="&lt;p&gt;I am unable to figure out the correct route configuration for this scenario.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tree structure is as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Home&#xA;|_Articles&#xA;  |_Topic1&#xA;    |_Blogs&#xA;      |_blog1&#xA;      |_blog2&#xA;  |_Topic2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Each topic page will show the list of all its blogs, with pagination.&lt;br&gt;&#xA;So, &lt;em&gt;example.com/en/Articles/Topic1&lt;/em&gt; is the topic page which shows list of all its related blogs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I want to have a custom URL like this - &lt;code&gt;example.com/en/Articles/Topic1/1&lt;/code&gt;&#xA;to indicate that it is page1 and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Route setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;routes.MapRoute(&#xA;  name: &quot;TopicsListing&quot;,&#xA;  url: &quot;{scItemPath}/{pg}&quot;,&#xA;  defaults: new { scItemPath = &quot;/{*pathInfo}&quot;, controller = &quot;Topics&quot;, action = &quot;TopicsListing&quot;, pg = UrlParameter.Optional },                &#xA;  constraints: new { pg = @&quot;^[0-9]+$&quot; }    &#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There was a similar route setting configured, but it used a class in the constraints. I just followed it to create mine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a multi-site instance and I'm aware url defined could match with any other pattern,  but not sure what else to configure here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We aren't using any wild card modules. Also, it is not an option for us to have any new items/folders with &quot;*&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I browse &lt;em&gt;example.com/en/Articles/Topic1/1&lt;/em&gt;, it doesn't hit the controller method and redirects to the default page not found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to implement the solution mentioned &lt;a href=&quot;https://sitecore.stackexchange.com/questions/925/passing-a-parameter-to-controller-rendering-through-url&quot;&gt;here&lt;/a&gt; by zzzzBov, but have a few questions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My new structure will be like this. Is it correct?  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Home  &#xA;|_Articles  &#xA;  |_Topic1  &#xA;    |_*  &#xA;    |_Blogs  &#xA;      |_blog1  &#xA;      |_blog2  &#xA;  |_Topic2  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Of what template will be the * item.&lt;/li&gt;&#xA;&lt;li&gt;Should it have a layout. I would like to assign just a controller rendering, but how to read the * value&lt;/li&gt;&#xA;&lt;li&gt;Any changes reqd in the Routeconfig in this case&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;All I want to do is pass a query string parameter in the URL as&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;example.com/en/articles/topic1/1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;instead of  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;example.com/en/articles/topic1?pg=1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The existing controller method I have is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult TopicsListing(string pg)&#xA;{&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-07-22T12:02:46.263" LastActivityDate="2017-07-24T04:46:13.723" Title="How to have a custom url for a listing page" Tags="|routing|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6751" PostTypeId="2" ParentId="6672" CreationDate="2017-07-22T12:15:14.217" Score="1" Body="&lt;p&gt;You can use Azure Search in an IaaS or on-prem setting.  You have to use the Azure Portal to manually provision Azure Search; vs. using Azure Marketplace or Sitecore ARM Templates in a PaaS setting.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's a webinar on this topic in the Sitecore Global Virtual Summit.  &lt;a href=&quot;http://vshow.on24.com/vshow/SitecoreGVS/lobby/14168&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://vshow.on24.com/vshow/SitecoreGVS/lobby/14168&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2017-07-22T12:15:14.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6753" PostTypeId="2" ParentId="6712" CreationDate="2017-07-22T20:24:04.343" Score="1" Body="&lt;p&gt;The root cause of the problem was that the Download method was not either finding the file or having permissions to run the download.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The file itself was not being saved within the Website folder but on another folder within the server(this prevented the download from working).&#xA;I noticed that and changed the ExportToExcel method to start saving the file within a specific folder within the website folder.&#xA;After that the download started working.&#xA;I also tested Hishaam's suggestion on changing to the &lt;code&gt;Context.ClientPage.ClientResponse.Download(file.FullName);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that after changing to code to store within the Website folder both:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Context.ClientPage.ClientResponse.Download(file.FullName);&#xA;&#xA;SheerResponse.Download(file.FullName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;worked fine&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="605" LastEditDate="2017-07-24T07:37:25.283" LastActivityDate="2017-07-24T07:37:25.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6754" PostTypeId="1" AcceptedAnswerId="6755" CreationDate="2017-07-23T10:50:09.483" Score="4" ViewCount="940" Body="&lt;p&gt;I created a partial design called &lt;em&gt;Footer&lt;/em&gt;, and added a &lt;em&gt;Link List&lt;/em&gt; rendering to this Footer by using the presentation details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assigned this partial design to the page design &lt;em&gt;Default&lt;/em&gt; and assigned this page design to the homepage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this situation the only way to change the content of the &lt;em&gt;Link List&lt;/em&gt; rendering via the Experience Editor is by opening the partial design in the xEditor. So when I open the Experience Editor for the homepage I'm not able to change the links in the &lt;em&gt;Link List&lt;/em&gt; rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know whether this is by design or maybe there is a setting which can change this this behaviour?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like all renderings to be editable on page level even when they are defined on partial designs.&lt;/p&gt;&#xA;" OwnerUserId="2234" LastActivityDate="2017-07-28T13:21:11.053" Title="How to edit the content of renderings defined on Partial Designs with the Experience Editor on page level?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6755" PostTypeId="2" ParentId="6754" CreationDate="2017-07-23T15:23:27.663" Score="3" Body="&lt;p&gt;Editing partial designs can only be done on the partial design itself - that is by design. There is no setting to change that. &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/create_and_change_a_partial_design&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/create_and_change_a_partial_design&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A partial design is an item on itself. So you need to get to that 'item' in the experience editor to change it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;On the ribbon, on the Experience Accelerator tab, click Partial&#xA;Design. &lt;/li&gt;&#xA;&lt;li&gt;Select the partial design that you want to change.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;As a change to a partial designs can have consequences on lots of pages, there is some logic in the design choice to edit them separately. Otherwise editors might make changes without knowing the results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand your question and feeling to edit everything on the page itself, but I'm afraid that is not the way it works.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-07-23T15:23:27.663" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6756" PostTypeId="2" ParentId="6750" CreationDate="2017-07-24T04:46:13.723" Score="2" Body="&lt;p&gt;I have implemented something similar to this using the wildcard solution. I had a begin request pipeline that fired when an item of a specific type was being hit (the type that my wildcard was). The item had a droplink field and template type field. The droplink pointed to a folder of pages that was in a global location so many sites could reference the same pages and the content for those sites could be edited by one content editing team. In your case you can probably skip these two fields knowing that it will redirect to the parent item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I patched the pipeline processor right after the item resolver. What it did was save the current item (wildcard item) in Sitecore.Context.Items and then set Sitecore.Context.Item to the new item which in your case would be the parent item. Here's some sample code. Please note that it was written from memory and untested:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PointerResolver : HttpRequestProcessor&#xA;{&#xA;   public override void Process(HttpRequestArgs args)&#xA;   {&#xA;      //Inherits is a custom extension method to check &#xA;      //if an item inherits from a template. If using code generation&#xA;      //you should leverage that for this check&#xA;      if(Sitecore.Context.Item == null &#xA;         || !Sitecore.Context.Item.Inherits(Constants.MyWildcardTemplateId))&#xA;         return;&#xA;&#xA;      //You may want to do some validation against the value&#xA;      //the user is using here (ex: validate it is a number)&#xA;&#xA;      //The string for MyConstants.OriginalItemKey was stored in a &#xA;      //class holding our constants&#xA;      Sitecore.Context.Items[MyConstants.OriginalItemKey] = Sitecore.Context.Item;&#xA;&#xA;      //You might not want to blindly redirect to the parent&#xA;      Sitecore.Context.Item = Sitecore.Context.Item.Parent;&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;processor &#xA;patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; type=&quot;My.Namespace.PointerResolver, MyDll&quot;&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-07-24T04:46:13.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6757" PostTypeId="1" CreationDate="2017-07-24T07:44:39.457" Score="9" ViewCount="6303" Body="&lt;p&gt;How do I figure out whether or not an item is indexed properly? Indexing depends on which tables in the Sitecore DBs?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I search for an item in the search field, I am not able to fetch the item. However, when when I moved through the folders in the Content Tree, I can see the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The item is properly published and it is available in both the master and web DBs.&lt;/p&gt;&#xA;" OwnerUserId="2154" LastEditorUserId="423" LastEditDate="2017-08-07T13:31:25.053" LastActivityDate="2018-06-04T17:23:41.647" Title="How does one verify that an item is properly indexed in Sitecore?" Tags="|indexing|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6759" PostTypeId="1" AcceptedAnswerId="6763" CreationDate="2017-07-24T15:16:50.040" Score="3" ViewCount="525" Body="&lt;p&gt;I added another checkbox to the publish dialog, and I'm trying to get it to the pipeline processors. I extended 'PublishOptions' and added a property for my checkbox, thinking they'd be available in the processor(s), but they aren't. &#xA; Perhaps I should override PublishStrategy.Publish and put data into job.Options.CustomData which is available in the processors?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why are publish job parameters null in my processor? I thought it would be the same as what was put on the job processing queue (has two objects in parameters array).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Populated parameters:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YcdwA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YcdwA.png&quot; alt=&quot;Populated Parameters&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Null parameters:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vepyv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vepyv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1283" LastEditorUserId="1283" LastEditDate="2017-07-24T17:47:56.957" LastActivityDate="2017-07-25T11:11:00.640" Title="How can I get a new Sitecore Publish Dialog Option into the Publish Processors?" Tags="|publishing|pipelines|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6760" PostTypeId="2" ParentId="6757" CreationDate="2017-07-24T17:50:50.417" Score="1" Body="&lt;p&gt;Forgive me for asking but did you REBUILD the search indexes after publishing?&lt;/p&gt;&#xA;&lt;p&gt;Assuming you have not changed your searching and indexing configuration then after rebuilding the indexes you should see your definition items there.&lt;/p&gt;&#xA;&lt;p&gt;Make sure your re-indexing operation complete without errors and also please make sure to select the sitecore_web_index in order to have your web items indexed.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RYRx3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RYRx3.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you already did this AND if you are using LUCENE then you could use LUKE like @ThomasBaek suggested.&lt;/p&gt;&#xA;&lt;p&gt;Another possibility would be to write some code to query your indexes.&lt;/p&gt;&#xA;&lt;p&gt;Please adapt the code below according to your needs.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;    public List&amp;lt;Item&amp;gt; SeachItemInIndex()&#xA;    {&#xA;                var webDB= Sitecore.Data.Database.GetDatabase(&amp;quot;web&amp;quot;);&#xA;                var itemId = webDB.GetItem(&amp;quot;{46587368-HA19-48BB-8FC9-F1DF31GB6C8E}&amp;quot;);&#xA;                var index = Sitecore.ContentSearch.ContentSearchManager.GetIndex(&amp;quot;sitecore_web_index&amp;quot;);&#xA;                var allItems = new List&amp;lt;Item&amp;gt;();&#xA;                    &#xA;                using (Sitecore.ContentSearch.IProviderSearchContext context = index.CreateSearchContext())&#xA;                {&#xA;                    allItems = context.GetQueryable&amp;lt;Item&amp;gt;().Where(x =&amp;gt; x.ID == itemID).ToList();&#xA;                }    &#xA;&#xA;                return allItems;        &#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I hope that helps!&lt;/p&gt;&#xA;&lt;p&gt;Regards&lt;/p&gt;&#xA;" OwnerUserId="1203" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-07-24T17:50:50.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6761" PostTypeId="2" ParentId="6757" CreationDate="2017-07-24T18:01:37.810" Score="2" Body="&lt;p&gt;It depends what search technologies you are using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Lucene&lt;/strong&gt;: As mentioned you can use Luke or the Index Viewer tool which comes with Sitecore powershell extensions module. The Index Viewer comes in a separate package (check the downloads section and look for the Authorable Reports for SPE package). See &lt;a href=&quot;https://sitecore.stackexchange.com/a/2848/1436&quot;&gt;this&lt;/a&gt; link for more details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLR&lt;/strong&gt;: Solr has it's own dashboard where you can query the index and check what's been indexed or not directly on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Coveo&lt;/strong&gt;: Pretty much like Solr, Coveo has the Admin tool which has a very nice toolset to check your index contents as well as fields indexed, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this answers your question&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="1436" LastEditDate="2017-08-27T03:40:31.857" LastActivityDate="2017-08-27T03:40:31.857" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6762" PostTypeId="1" AcceptedAnswerId="6764" CreationDate="2017-07-24T18:21:09.627" Score="3" ViewCount="471" Body="&lt;p&gt;I have item level fallback enabled and it works.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;&#xA;&#xA;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;shell&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;!--&amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;--&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;  &amp;lt;site name=&quot;DotCom&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;!--&amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;--&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;  &amp;lt;site name=&quot;DotNet&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;!--&amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;--&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&#xA;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes&amp;gt;&#xA;      &amp;lt;index id=&quot;sitecore_master_index&quot;&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;true&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;!--&amp;lt;enableFieldLanguageFallback&amp;gt;true&amp;lt;/enableFieldLanguageFallback&amp;gt;--&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes&amp;gt;&#xA;      &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;true&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;!--&amp;lt;enableFieldLanguageFallback&amp;gt;true&amp;lt;/enableFieldLanguageFallback&amp;gt;--&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On one particular template I have an SVG. When I switch languages, it generates a 404 in the content editor:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1YngT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1YngT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fill text of the 404:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HTTP Error 404.0 - Not Found&#xA;The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.&#xA;&#xA;Most likely causes:&#xA;The directory or file specified does not exist on the Web server.&#xA;The URL contains a typographical error.&#xA;A custom filter or module, such as URLScan, restricts access to the file.&#xA;&#xA;Things you can try:&#xA;Create the content on the Web server.&#xA;Review the browser URL.&#xA;Create a tracing rule to track failed requests for this HTTP status code and &#xA;see which module is calling SetStatus. For more information about creating a &#xA;tracing rule for failed requests, click here.&#xA;&#xA;Detailed Error Information:&#xA;Module     ManagedPipelineHandler&#xA;Notification       ExecuteRequestHandler&#xA;Handler    Sitecore.MediaRequestHandler&#xA;Error Code     0x00000000&#xA;Requested URL      http://local.blahblahblah.com:80/sitecore/shell/applications/-/media/672d4bfecbcc43bf9651d6103790b549.ashx?bc=white&amp;amp;db=master&amp;amp;h=128&amp;amp;la=es-mx&amp;amp;mw=640&amp;amp;thn=1&amp;amp;ts=20170724t1816095659&amp;amp;udi=1&#xA;Physical Path      C:\inetpub\wwwroot\local.blahblahblah.com\Website\sitecore\shell\applications\-\media\672d4bfecbcc43bf9651d6103790b549.ashx&#xA;Logon Method       Anonymous&#xA;Logon User     sitecore\Admin&#xA;&#xA;More Information:&#xA;This error means that the file or directory does not exist on the server. &#xA;Create the file or directory and try the request again.&#xA;View more information »&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How come I dont just see the image/svg when I switch to Spanish. Why does it generate 404?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The template of the svg:    /sitecore/templates/System/Media/Versioned/Image&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2017-07-24T19:27:27.083" LastActivityDate="2017-07-26T12:59:24.497" Title="Image field with SVG selected not falling back correctly when using item fallback" Tags="|multilingual|language-fallback|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6763" PostTypeId="2" ParentId="6759" CreationDate="2017-07-24T19:10:11.083" Score="2" Body="&lt;p&gt;Instead of going and overriding the different Sitecore Publishing Processors, you may achieve it in a simpler way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ITIYm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ITIYm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to keep your custom checkbox on the Publishing Dialog and then, when the user clicks on the Publish button, you retrieve the value of the custom checkbox. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you see if the checkbox is checked, you store it on an item. You need to add a handler to the &lt;code&gt;publish:itemProcessing&lt;/code&gt;. From there you can check if the value of the checkbox on the item is checked or not.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnItemProcessed(object sender, EventArgs args)&#xA;{&#xA;    var itemArgs = args as ItemProcessedEventArgs;&#xA;&#xA;    if (itemArgs != null)&#xA;    {&#xA;        var publishContext = itemArgs.Context.PublishContext;&#xA;&#xA;        // Your Logic here&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For performance gain, you can put the value into a custom cache and using the job handle, you will know if the job is completed or not. When the job is completed, you need to clear the custom cache so that for the next publish, it needs to retrieve the latest value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This method will only require an update on the Publishing Dialog which you already did. It will not require the overriding of other processors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read my post &lt;a href=&quot;https://hishaamn.wordpress.com/2016/04/07/sitecore-incremental-publish-summary/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; for more information on how I used the event &lt;code&gt;publish:itemProcessed&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-07-24T19:15:17.913" LastActivityDate="2017-07-24T19:15:17.913" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6764" PostTypeId="2" ParentId="6762" CreationDate="2017-07-24T19:35:01.210" Score="2" Body="&lt;h2&gt;The Problem&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have most often seen this issue occur when using versioned media on multi-lingual sites.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your media item is a versioned media item and you don't have a version for the Spanish language then when the field falls back it will try to point at the Spanish version of the item. Since the Spanish version doesn't exist, you would get a 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that, by default, Sitecore ships with all media items set to be unversioned. This is for sake of storage space.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why is unversioned media the default?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Imagine the number of languages on your site is &lt;code&gt;num_langs&lt;/code&gt;, the number of media items is &lt;code&gt;num_media&lt;/code&gt;, and the average size of a media item is &lt;code&gt;avg_media_size&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If all of the media on your site was versioned and you add a version for every language (so that media is never &quot;not found&quot;) then the size of your media library would be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SIZE_OF(MediaLibrary) = num_langs * num_media * avg_media_size&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In contrast, if you use unversioned media then the size of your media library would be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SIZE_OF(MediaLibrary) = num_media * avg_media_size&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This means that if you used versioned media then the number of languages that you have becomes a coefficient for the size of your media library, in the worst case. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why is versioned media supported if the storage difference is so dramatic?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;While the it may seem like there is a pretty dramatic difference in storage when using versioned media vs unversioned media, the equations that we looked at were biased for unversioned media. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your site makes effective use of versioned media then you will benefit from it greatly. This is because you will have avoided adding a separate image field for each language (if the instance of an image, PDF, video, or other media types is language-specific), and avoided having a separate media item for every language of the media. Additionally, you will be able to reduce your code and increase performance by simply rendering the field values for the context language (after checking for &lt;code&gt;null&lt;/code&gt; on reference field types, of course). However, you need to make sure that versioned media is something that you really should use. If you don't have language-specific images then it's often a step too far. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When considering using versioned media, my typical recommendation is to add a custom Ribbon button to upload a versioned media item and to change an unversioned media item to a versioned media item and vice-versa. Then, you can keep the default as unversioned and decide on a case-by-case basis.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How to tell if unversioned media is being used&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are two ways to tell if you are using unversioned media:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Check your configuration&lt;/strong&gt; - not definitive but tells you the default&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Look at the item's template&lt;/strong&gt; - tells you about the specific instance &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;The &lt;code&gt;Media.UploadAsVersionableByDefault&lt;/code&gt; setting&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Have a look at the &lt;code&gt;Media.UploadAsVersionableByDefault&lt;/code&gt; setting. If true, all media items will be added as versioned, by default. Otherwise, they will be unversioned (Sitecore ships with unversioned as the default).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While this will tell you whether or not media is uploaded as versioned by default, it won't necessarily tell you that your item is versioned or unversioned. Regardless of the value of this setting, you can manually add or create custom buttons/tools to add both versioned and unversioned media.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Using the template path to determine versioned vs unversioned&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can tell if unversioned media is being used by looking at the template of your media item. For each media template, Sitecore includes both a versioned and an unversioned template that can be used. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The native versioned media templates live in the &lt;code&gt;/sitecore/templates/System/Media/Versioned&lt;/code&gt; folder, while the &lt;code&gt;/sitecore/templates/System/Media/Unversioned&lt;/code&gt; folder contains the native unversioned media templates. Each versioned template is associated with its unversioned template &quot;mate&quot; via configuration, in the &lt;code&gt;/sitecore/mediaLibrary/mediaTypes&lt;/code&gt; section. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following screenshot (from a clean Sitecore 8.1 site) shows a few examples of how Sitecore associates the versioned and unversioned templates:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cbuzA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cbuzA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-26T12:59:24.497" LastActivityDate="2017-07-26T12:59:24.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6765" PostTypeId="1" AcceptedAnswerId="6766" CreationDate="2017-07-24T19:47:48.767" Score="1" ViewCount="705" Body="&lt;p&gt;I want to give a custom image field's property dialog a class dropdown. Currently I have a custom image field which points to a custom image control. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That control overrides &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.Image&lt;/code&gt;'s ShowProperties method. The only line that I have really changed in that method is the line that has a namespace reference. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have overriden it to point to a custom class that inherits from &lt;code&gt;Sitecore.Shell.Applications.Media.ImageProperties.ImagePropertiesPage&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm getting the following error indicating that my class cannot be found: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Xaml control &quot;MyNamespace.CustomSitecore.Shell.Applications.Media.BrandedImageProperties.BrandedImagePropertiesPage, MyNamespace.Common&quot; not found. The last error was: [No error]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The line I have changed is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    UrlString urlString = new UrlString(FileUtil.MakePath(&quot;/sitecore/shell&quot;, &#xA;        ControlManager.GetControlUrl(&#xA;            new ControlName(&#xA;                &quot;MyNamespace.CustomSitecore.Shell.Applications.Media.BrandedImageProperties.BrandedImagePropertiesPage&quot;))&#xA;        )&#xA;    );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm assuming that's because it looks in Sitecore.Client. Is there any way to change this so it will look through a dll I specify? Is this even the right way to do something like this (override 1 dialog on a field by creating a completely new field)?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="605" LastEditDate="2017-07-24T21:09:03.543" LastActivityDate="2017-07-24T21:09:03.543" Title="Customize Sitecore Image Field Property Dialog" Tags="|custom-field|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6766" PostTypeId="2" ParentId="6765" CreationDate="2017-07-24T20:54:47.253" Score="2" Body="&lt;p&gt;You need to make sure that you have created your control and is present in the &lt;code&gt;website/sitecore/shell&lt;/code&gt; or &lt;code&gt;website/sitecore modules/&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, the namespace used in the code should match the one in the control, i.e, the xaml/xml file.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-07-24T20:54:47.253" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6767" PostTypeId="1" CreationDate="2017-07-25T05:42:53.177" Score="3" ViewCount="537" Body="&lt;p&gt;I have a requirement to send an email with &lt;code&gt;View in Browser&lt;/code&gt; link. On clicking the link, it has to open the mail in browser. We need to implement this by using EXM Template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a solution for this in Sitecore EXM?&lt;/p&gt;&#xA;" OwnerUserId="2241" LastEditorUserId="605" LastEditDate="2017-07-25T08:47:03.433" LastActivityDate="2017-07-25T08:47:03.433" Title="How to open an Sitecore Email Experience Manager email in browser" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6768" PostTypeId="2" ParentId="6767" CreationDate="2017-07-25T06:25:18.100" Score="1" Body="&lt;p&gt;In a default installation, the Email Experience Manager (EXM) contains a number of predefined templates and import options. One of the predefined template is Newsletter : a template with a header containing a link to the online version of the email campaign and a footer with links to opt-out pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you download EXM 3.4.2 from: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Update2.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;you will see inside the package Email Experience Manager 3.4.2 rev. 170713 NOT SC PACKAGE.zip a zip file with the next name. &lt;strong&gt;Email Experience Manager Sample Newsletter 3.4.2 rev. 170713.zip&lt;/strong&gt; . On this zip file is an example how to view newsletter in browser. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally you add the link in the header of the newsletter in this way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Request.QueryString[&quot;sc_pd_view&quot;] != &quot;1&quot;)&#xA;{&#xA;    &amp;lt;div style=&quot;margin: 10px 0; font-size: 10px; font-family: @Model.NewsletterOptions.FontFamily&quot;&amp;gt;&#xA;        @Html.Sitecore().Field(Templates.Header.Fields.ViewOnlineHavingTrouble, Model.ContentItem)&#xA;        &amp;amp;#32;&#xA;        &amp;lt;a href=&quot;/?sc_itemid=@Sitecore.Context.Item.ID&amp;amp;sc_lang=@Sitecore.Context.Language.Name&amp;amp;sc_pd_view=1&quot;&amp;gt;&#xA;            @Html.Sitecore().Field(Templates.Header.Fields.ViewOnlineClickHere, Model.ContentItem)&#xA;        &amp;lt;/a&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-07-25T06:25:18.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6771" PostTypeId="2" ParentId="6724" CreationDate="2017-07-25T16:20:32.137" Score="3" Body="&lt;p&gt;Without seeing the implementation of &lt;code&gt;GetContactManager&lt;/code&gt;, I can't say what is wrong exactly, but it is most likely the way you're creating the contact manager object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the correct way of creating it: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactManager manager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyway, the easiest way of achieving what you want is using the &lt;code&gt;ContactRepository&lt;/code&gt; instead: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactRepository = (ContactRepositoryBase)Factory.CreateObject(&quot;contactRepository&quot;, true);&#xA;var contact = contactRepository.LoadContactReadOnly(contactId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-07-25T16:51:25.760" LastActivityDate="2017-07-25T16:51:25.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6772" PostTypeId="1" CreationDate="2017-07-25T20:22:57.140" Score="2" ViewCount="775" Body="&lt;p&gt;Using Sitecore 8.2 Update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had the following folder structure in templates:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-User Defined&#xA;--Global&#xA;--User Defined&#xA;    --|--Core&#xA;    --|--Site Specific&#xA;    --|--|--Site 1&#xA;    --|--|--Site 2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I did some reorganization, so now my Master database looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-User Defined&#xA;--Core&#xA;--User Defined&#xA;    --|--Site Specific&#xA;    --|--|--Site 1&#xA;    --|--|--Site 2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I published (republish) it seemed to move everything around OK, but it wont rename the Global folder to Core, so my web actually looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-User Defined&#xA;--Global&#xA;--User Defined&#xA;    --|--Site Specific&#xA;    --|--|--Site 1&#xA;    --|--|--Site 2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In another instance, I changed the template of an item, and that does not seem to want to publish either.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-07-26T13:46:53.410" Title="Publishing Not Working for item rename or change template" Tags="|publishing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6774" PostTypeId="1" CreationDate="2017-07-25T22:02:02.790" Score="5" ViewCount="2455" Body="&lt;p&gt;I have a Helix based solution using Glass mapper. I want to build a Feature module with a component that renders an item and its children with a controller rendering. Per &lt;a href=&quot;http://helix.sitecore.net/principles/templates/template-types.html#interface-templates&quot; rel=&quot;noreferrer&quot;&gt;Helix guidelines&lt;/a&gt;, my feature module defines &quot;interface&quot; templates for the item and its children and in the project layer, I have &quot;concrete&quot; templates which inherit the feature's interface templates. Is there a way to write Glass Mapper code (only in the Feature module) which will work with templates &lt;em&gt;derived&lt;/em&gt; from the interface templates?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Feature module code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(true, &quot;{152BC181-FF05-4FDD-863A-47557CDAB763}&quot;, TemplateName = &quot;_RichTextList&quot;)]&#xA;public interface IDatasource : ISitecoreItem&#xA;{&#xA;}&#xA;&#xA;[SitecoreType(true, &quot;{1DE3EB16-98D4-4787-88CB-2E065E00B219}&quot;)]&#xA;public interface IDatasourceChild : ISitecoreItem&#xA;{&#xA;    [SitecoreField(&quot;{4502C93C-FAA2-4FC5-8D3D-993B64E5E187}&quot;, SitecoreFieldType.RichText, FieldName = &quot;Text&quot;, ReadOnly = true)]&#xA;    string Text { get; set; }&#xA;}&#xA;&#xA;public class DataSourceViewModel&#xA;{&#xA;    public IDatasource Datasource { get; set; }&#xA;    public IList&amp;lt;IDatasourceChild&amp;gt; Items { get; set; }&#xA;}&#xA;&#xA;&#xA;public class MyController : GlassController&#xA;{&#xA;    public ActionResult MyComponent(IDatasource datasource)&#xA;    {&#xA;        var viewModel = new DataSourceViewModel&#xA;        {&#xA;            Datasource = datasource,&#xA;            Items = datasource?.Children.OfType&amp;lt;IDatasourceChild&amp;gt;().ToList() ?? new List&amp;lt;IDatasourceChild&amp;gt;()&#xA;        };&#xA;        return View(viewModel);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above code only works when the child items of the datasource use the interface template from the feature module, but not when it uses the &quot;concrete&quot; template from the project layer.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-07-26T20:02:07.690" Title="How to use Glass mapper with base template" Tags="|glass-mapper|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6775" PostTypeId="2" ParentId="5479" CreationDate="2017-07-25T22:23:20.113" Score="1" Body="&lt;p&gt;This issue turned out to be related to a cache setting on the &lt;em&gt;parent&lt;/em&gt; rendering, rather than the rendering itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Don't forget:&lt;/em&gt; if using personalisation, &lt;strong&gt;turn off caching&lt;/strong&gt;. Sitecore does not do this automatically for you!&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-07-25T22:23:20.113" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6776" PostTypeId="1" CreationDate="2017-07-25T22:55:25.687" Score="0" ViewCount="2005" Body="&lt;p&gt;I am using glass mapper and have a Controller Rendering with a DataSource specified.  In the controller I am using the following code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        var context = new SitecoreContext();&#xA;&#xA;&#xA;        var siteSettings = context.GetItem&amp;lt;Alert_Settings&amp;gt;(RenderingContext.Current.Rendering.Item.ID.Guid);&#xA;        return View(siteSettings);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However siteSettings return null.  Plus what is the difference between&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RenderingContext.Current.Rendering.Item &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RenderingContext.Current.Rendering.DataSource&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I noticed that .DataSource returns only the guid(string) where as the Rendering.Item returns the complete datasource item.&lt;/p&gt;&#xA;" OwnerUserId="2158" LastActivityDate="2017-07-26T02:15:41.697" Title="GlassMapper not returning item" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6777" PostTypeId="2" ParentId="6776" CreationDate="2017-07-25T23:15:33.053" Score="1" Body="&lt;p&gt;You need to do the following to get the item back:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var siteSettings = this.GetDataSourceItem&amp;lt;Alert_Settings&amp;gt;();&#xA;return View(siteSettings);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But you must inherit from the &lt;code&gt;GlassController&lt;/code&gt; to have access to the &lt;code&gt;GetDataSourceItem&lt;/code&gt; method.  This will return your strongly typed model instead of the guid for your datasource item.  If you don't have the ability to inherit in your current Controller directly from GlassController, you can use a different base controller (which we typically do in our own instances) and have that controller reference the GlassController.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if you still need to do it without access to the GetDataSourceItem method on the Glass Controller, you could do the following instead:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid dataSourceId = RenderingContext.Current.Rendering.DataSource;&#xA;&#xA;if (dataSourceId != Guid.Empty) {&#xA;    var siteSettings = SitecoreContext.GetItem&amp;lt;ISiteSettings&amp;gt;(dataSourceId);&#xA;&#xA;    return View(siteSettings);&#xA;}&#xA;&#xA;return new EmptyViewResult();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can figure this solution out (assuming you didn't already know how to do this) by deconstructing the GlassController on &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/8f4506a14b7c1cd3f9179ed6459741c73fa7ea1a/Source/Glass.Mapper.Sc.Mvc/Web/Mvc/GlassController.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;Github&lt;/a&gt;.  You can see that the T GetDataSourceItem() is passing in a Datasource which is the id returned from &lt;code&gt;RenderingContext.Current.Rendering.Datasource&lt;/code&gt; into the standard .GetItem method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you asked what exactly is Rendering.Item and how is that different from the datasource on that rendering.  The Rendering.Item is pretty much the same as calling Context.Item which would be the page you are on.  Which the datasource would be the item directly assigned to the current rendering.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2017-07-26T02:15:41.697" LastActivityDate="2017-07-26T02:15:41.697" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6778" PostTypeId="2" ParentId="6774" CreationDate="2017-07-25T23:36:35.277" Score="3" Body="&lt;p&gt;When you define the &lt;code&gt;IDatasourceChild&lt;/code&gt; interface, you need to make sure that the &#xA;&lt;code&gt;EnforceTemplate&lt;/code&gt; property on the &lt;code&gt;SitecoreType&lt;/code&gt; attribute is set to enable inheritance. The options are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public enum SitecoreEnforceTemplate&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Will not enforce template check&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    No,&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Checks only the items template&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    Template,&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Checks the items template and any base templates&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    TemplateAndBase&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So set it to &lt;code&gt;TemplateAndBase&lt;/code&gt; and it should work with your inheritance. The default is &lt;code&gt;Template&lt;/code&gt; so that will not work for derived templates, so it only works with your interface template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(true, &quot;{1DE3EB16-98D4-4787-88CB-2E065E00B219}&quot;, EnforceTemplate = SitecoreEnforceTemplate.TemplateAndBase)]&#xA;public interface IDatasourceChild : ISitecoreItem&#xA;{&#xA;    [SitecoreField(&quot;{4502C93C-FAA2-4FC5-8D3D-993B64E5E187}&quot;, SitecoreFieldType.RichText, FieldName = &quot;Text&quot;, ReadOnly = true)]&#xA;    string Text { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-07-26T20:02:07.690" LastActivityDate="2017-07-26T20:02:07.690" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6783" PostTypeId="1" CreationDate="2017-07-26T12:01:01.493" Score="6" ViewCount="5573" Body="&lt;p&gt;I have a synchronous scheduled task that has to run everyday at 1:00 AM. But its last run time keeps increasing. How to fix this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the &quot;&lt;code&gt;Schedule&lt;/code&gt;&quot; field, the value is &lt;code&gt;20170419|20200422|127|23:59:59&lt;/code&gt;&lt;br&gt;&#xA;I have a custom code to fire for the &lt;code&gt;OnItemSaving&lt;/code&gt; event, so as to always have the Last Run time as 1:00 AM&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the task runs for the first time, the last run field correctly gets updated to current date 1:00AM, but the next day I check, the last run is like 1:08, then 1:10....and it keeps on increasing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;config:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;events&amp;gt;&#xA; &amp;lt;event name=&quot;item:saving&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;MySite.XdbToJson, MySite&quot; method=&quot;OnItemSaving&quot;&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA; &amp;lt;/event&amp;gt;&#xA;&amp;lt;/events&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void GetJsonData()&#xA;{&#xA;  try&#xA;  {&#xA;    //this is the code that will execute when the scheduler is run&#xA;  }&#xA;  catch(Exception)&#xA;  {&#xA;  }&#xA;  finally&#xA;  {&#xA;     Item scheduledTaskItem = GetItemFromMasterDB(&quot;{id of the scheduled task item}&quot;);&#xA;     UpdateLastRunTime(scheduledTaskItem.ID);&#xA;  }&#xA;}&#xA;&#xA;private void UpdateLastRunTime(ID scheduledTaskID)&#xA;{&#xA;  string isoLastRunTimeToSet = GetToBeSetLastRunIsoTime();&#xA;  UpdateFieldValue(scheduledTaskID, new ID(&quot;{idOfLastRunFieldOfTask}&quot;), isoLastRunTimeToSet);&#xA;}&#xA;&#xA;private void UpdateFieldValue(ID itemID, ID fieldID, string fieldValue)&#xA;{&#xA;  Database db = Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;  Item item = db.GetItem(itemID, Context.Language, Version.Latest);&#xA;&#xA;  using (new SecurityDisabler())&#xA;  {&#xA;    item.Editing.BeginEdit();&#xA;&#xA;    using (new EditContext(item))&#xA;    {&#xA;      item.Fields[fieldID].Value = fieldValue;&#xA;    }&#xA;&#xA;    item.Editing.EndEdit();&#xA;    item.Editing.AcceptChanges();&#xA;  }&#xA; }&#xA;&#xA;private string GetToBeSetLastRunIsoTime()&#xA;{&#xA;  string isoLastRunTimeToSet = string.Empty;&#xA;  string lastRunTimeToSet = &quot;01:00:00&quot;;&#xA;  var parseDateString = string.Format(&quot;{0}/{1}/{2} {3}&quot;, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Year, lastRunTimeToSet);&#xA;  System.DateTime lastRunDateTimeToSet;&#xA;&#xA;  if (DateTime.TryParse(parseDateString, out lastRunDateTimeToSet))&#xA;  {&#xA;    isoLastRunTimeToSet = DateUtil.ToIsoDate(lastRunDateTimeToSet, false, true); &#xA;  }&#xA;&#xA;  return isoLastRunTimeToSet;&#xA;}&#xA;&#xA;public void OnItemSaving(object sender, EventArgs args)&#xA;{&#xA;    Item scheduledTaskItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;    if (scheduledTaskItem.ID == new ID(&quot;{id of scheduled task}&quot;))&#xA;    {&#xA;       string lastRunIsoDateTime = scheduledTaskItem.Fields[&quot;Last Run&quot;].Value;&#xA;&#xA;        /*This condition will check if the last run time is as reqd. If not, it will proceed.&#xA;         * If the last run field is not empty and also equal to the reqd. time, it means that the Json get data functions&#xA;         * were executed and the last run time got updated. No need to continue in this case.&#xA;         */&#xA;        if (!string.IsNullOrEmpty(lastRunIsoDateTime) &amp;amp;&amp;amp; lastRunIsoDateTime != GetToBeSetLastRunIsoTime())&#xA;        {&#xA;           //check if the task is synchronous&#xA;           if (scheduledTaskItem.Fields[Utility.CommonReferences.Templates.Schedule.Fields.Async].Value != &quot;1&quot;)&#xA;           {&#xA;              using (new EventDisabler())&#xA;              {&#xA;                 UpdateLastRunTime(scheduledTaskItem.ID);&#xA;               }&#xA;            }&#xA;         }&#xA;      }         &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-01-02T18:19:38.053" Title="How to make the scheduled task to run at the same time everyday" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6785" PostTypeId="2" ParentId="6544" CreationDate="2017-07-26T12:16:51.350" Score="0" Body="&lt;p&gt;For these publishing issues in 8.2 u3, Sitecore has released a patch which you should integrate. Please refer &lt;a href=&quot;https://kb.sitecore.net/en/Articles/2017/06/23/10/52/136794.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/en/Articles/2017/06/23/10/52/136794.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1279" LastActivityDate="2017-07-26T12:16:51.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6786" PostTypeId="2" ParentId="6783" CreationDate="2017-07-26T12:26:20.687" Score="8" Body="&lt;p&gt;It's not possible to run at exactly the same time but it’s possible to get it close to the same time every day.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scheduled tasks are run in sequence by the Sitecore scheduler. The scheduler checks within a certain interval (defined in the web.config in the /scheduling/frequency and /scheduling/agent settings) for tasks to be run. If a task is over due, it is run, and the time where the task finished is recorded as the next checkpoint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is not possible to define a certain time a day the task needs to run. It’s only possible to determine which days a task needs to run, and the interval.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how do you make a task run once a day, at a certain time?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Well, instead of configuring the task to run every 23:59:59, I make my task run every minute, but only executing the functionality once a day. Inside the task I check the time, and only if the time is inside a certain interval I execute the functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how to do it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Create your task and make it run every 1 minute or 5 minutes (or at least twice as often as your interval).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Define an interval where the task is allowed to run. For example at night between 01:00 am and 02:00 am.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Build your task in the following manner:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TaskRunningOnceAday&#xA;{&#xA;  public void Execute(Item[] itemArray, CommandItem commandItem, ScheduleItem scheduleItem)&#xA;  {&#xA;    if (!IsDue(scheduleItem))&#xA;      return;&#xA;&#xA;    // EXECUTE MY FUNCTIONALITY&#xA;  }&#xA;&#xA;  /// &amp;lt;summary&amp;gt;&#xA;  /// Determines whether the specified schedule item is due to run.&#xA;  /// &amp;lt;/summary&amp;gt;&#xA;  /// &amp;lt;remarks&amp;gt;&#xA;  /// The scheduled item will only run between defined hours (usually at night) to ensure that the&#xA;  /// task is run once a day&#xA;  /// Make sure you configure the task to run at least double so often than the time span.&#xA;  /// &amp;lt;/remarks&amp;gt;&#xA;  private bool IsDue(ScheduleItem scheduleItem)&#xA;  {&#xA;    DateTime time;&#xA;    DateTime time2;&#xA;&#xA;    DateTime.TryParse(&quot;01:00:00&quot;, out time);&#xA;    DateTime.TryParse(&quot;02:00:00&quot;, out time2);&#xA;&#xA;    return (CheckTime(DateTime.Now, time, time2) &amp;amp;&amp;amp; !CheckTime(scheduleItem.LastRun, time, time2));&#xA;  }&#xA;&#xA;  private bool CheckTime(DateTime time, DateTime after, DateTime before)&#xA;  {&#xA;    return ((time &amp;gt;= after) &amp;amp;&amp;amp; (time &amp;lt;= before));&#xA;  }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The scheduleItem.LastRun property contains the date and time from where the task was last run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The function “IsDue” checks to see if the task has run within the selected interval. If not, it returns true and the task may execute it’s functionality. If it has already run, it returns false, and the functionality is skipped.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Credits to &lt;a href=&quot;https://briancaos.wordpress.com/2011/06/28/run-sitecore-scheduled-task-at-the-same-time-every-day/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2011/06/28/run-sitecore-scheduled-task-at-the-same-time-every-day/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="1072" LastEditDate="2018-01-02T18:19:38.053" LastActivityDate="2018-01-02T18:19:38.053" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6787" PostTypeId="1" AcceptedAnswerId="6809" CreationDate="2017-07-26T13:27:35.320" Score="3" ViewCount="1271" Body="&lt;p&gt;Using Sitecore 8.2 Update 3 with the hot fix for the item/branch/template publishing issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are working on functionality for our client where when certain items are moved, the item:moving event is triggered and the template of the item could be changed to another similar template, used for differentiating item categories. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When looking at one of the renderings in this item, pre-move the rendering has parameters that were set to be different from its standard values (for example, an Amount to Show parameter has a value of 6, while the standard value is 5). After the move and template change, the UI shows that all of the rendering parameters have reverted to their standard values. However, if I look in the raw values of the item and scroll down to the Layout section, in the rendering XML string I can see the rendering parameters set correctly. It also appears the incorrect parameters are being read through to the display code as well, as only 5 items show in the designated rendering, but I see the parameter string in raw values in the web database as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to find a fix that doesn't involve the client needing to manually reset parameters that, honestly, look like they're still there in one aspect of Sitecore's data handling.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: The code I'm using to implement the change is this (where &lt;code&gt;item&lt;/code&gt; and &lt;code&gt;MasterDb&lt;/code&gt; have been established):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TemplateItem newTemplate = MasterDb.GetTemplate([templateId]);&#xA;item.ChangeTemplate(newTemplate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT 2: Interestingly, if I change the template through the content editor back to the original template it started as, the rendering parameters reappear as they should. As far as I know, there's nothing in the rendering parameters that should tie it to template necessarily, especially if I can see the correct raw values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT 3: I heard back from Sitecore support...no solution as yet, but I confirmed the same behavior happens if I'm in the content editor and use the Change Template functionality in the ribbon.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2017-07-26T19:38:27.643" LastActivityDate="2017-11-24T15:09:57.303" Title="Issue with rendering parameters after template change" Tags="|content-editor|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6789" PostTypeId="2" ParentId="754" CreationDate="2017-07-26T13:44:17.763" Score="1" Body="&lt;p&gt;I ran into this issue again of late.  To resolve the issue, I ran CleanUp on the &lt;code&gt;master&lt;/code&gt; and &lt;code&gt;web&lt;/code&gt; databases.  Due to TDS syncing, some orphaned items were created and not being abolished by the publishing process.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-07-26T13:44:17.763" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6790" PostTypeId="2" ParentId="6772" CreationDate="2017-07-26T13:46:53.410" Score="2" Body="&lt;p&gt;Based on @Siva Sankar - I downloaded the Hotfix and this fixed the problem. The only downside is that the hotfix is an updated Sitecore.Kernell.dll, which means I am no longer using the NuGet feed for Sitecore.Kernell.dll.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-07-26T13:46:53.410" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6794" PostTypeId="1" AcceptedAnswerId="6798" CreationDate="2017-07-26T19:40:13.390" Score="1" ViewCount="239" Body="&lt;p&gt;I had setup the display of some custom facet info about a year ago.   At the time I followed: &lt;a href=&quot;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I need to tweak two fields that are being rendered.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the life of me, I can not find how to get to the &quot;Renderings and Placeholders&quot; screen in Sitecore Rocks 2.1.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help, would be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2017-07-26T21:30:28.453" Title="Sitecore Rocks 2.1, where are &quot;renderings and placeholders&quot;" Tags="|sitecore-rocks|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6795" PostTypeId="2" ParentId="6794" CreationDate="2017-07-26T21:06:25.183" Score="3" Body="&lt;p&gt;Select the item and press &lt;kbd&gt;CTRL&lt;/kbd&gt;+&lt;kbd&gt;Return&lt;/kbd&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This shortcut is shown in the context menu as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hgpRO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hgpRO.png&quot; alt=&quot;Sitecore rocks&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To edit tab layout located here &lt;code&gt;core &amp;gt; sitecore &amp;gt; client &amp;gt; Applications &amp;gt; Experience Profile &amp;gt; Contact &amp;gt; PageSettings &amp;gt; Tabs&lt;/code&gt; you need to select the individual tab item beneath that 'Tabs' Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yUXwC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yUXwC.png&quot; alt=&quot;Edit Tab Layout&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2017-07-26T21:12:04.810" LastActivityDate="2017-07-26T21:12:04.810" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6796" PostTypeId="1" AcceptedAnswerId="6800" CreationDate="2017-07-26T21:15:52.787" Score="5" ViewCount="2309" Body="&lt;p&gt;I came across this multi-list field restrictions to limit range(selection) using regex. I got few references to add basic validations. Both work fine. &lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ref1: ^({[^}]+}\|?){0,5}$ &lt;br/&gt; &lt;a href=&quot;http://www.benramey.com/2012/06/12/limit-selected-items-on-sitecore-multilist-field/&quot; rel=&quot;noreferrer&quot;&gt;http://www.benramey.com/2012/06/12/limit-selected-items-on-sitecore-multilist-field/&lt;/a&gt; &lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ref2: ^.{38,116}$ &lt;br/&gt; &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-validate-a-sitecore-checklist-multilist-treelist-or-treelistex-field&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-validate-a-sitecore-checklist-multilist-treelist-or-treelistex-field&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm looking to add regex which makes the user to select even no. items only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone come across regex to handle custom validation at field level like this? I have added a custom field level validation rule in normal, but looking if there is any regex to handle this scenario. (Sitecore 8.2u3)&lt;/p&gt;&#xA;" OwnerUserId="1279" LastEditorUserId="1279" LastEditDate="2017-07-26T22:45:52.687" LastActivityDate="2017-07-27T11:24:04.550" Title="Sitecore validation rule at field level in multi-list value selection range" Tags="|sitecore-client|rules-engine|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6798" PostTypeId="2" ParentId="6794" CreationDate="2017-07-26T21:30:28.453" Score="1" Body="&lt;p&gt;Thanks to @Teeknow 's moral support, I discovered that...&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;my Sitecore Rocks connection was somehow configured for &quot;Good Old Web Service&quot;&lt;/li&gt;&#xA;&lt;li&gt;changing to Hard Rock Service resulted in some nasty error.&lt;/li&gt;&#xA;&lt;li&gt;by performing an update of the server components I was able to change to &quot;Hard Rock Service&quot; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now, I have the missing menu items back.  &lt;em&gt;phew&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2017-07-26T21:30:28.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6799" PostTypeId="2" ParentId="6670" CreationDate="2017-07-27T00:06:55.773" Score="0" Body="&lt;p&gt;Calling manager.SaveChanges(AutomationManager.Provider) after enrolling user to the plan made the automation transitions work as expected.&lt;/p&gt;&#xA;" OwnerUserId="1921" LastActivityDate="2017-07-27T00:06:55.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6800" PostTypeId="2" ParentId="6796" CreationDate="2017-07-27T07:36:11.870" Score="3" Body="&lt;p&gt;You can pretty much reuse the first regex, just instead of saying that you need &lt;code&gt;0-5 guids&lt;/code&gt;, you should say that you need 0 or more groups of 2 guids:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;^({[^}]+}[|]{[^}]+}[|]?)*$&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So in fact you use regex which says:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;a guid &lt;code&gt;{[^}]+}&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;a pipe &lt;code&gt;|&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;and another guid &lt;code&gt;{[^}]+}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;then maybe pipe &lt;code&gt;|?&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Everything is wrapped with &lt;code&gt;(&lt;/code&gt; and &lt;code&gt;)*&lt;/code&gt; so you say that you want 0 or more of those groups above (change &lt;code&gt;*&lt;/code&gt; to &lt;code&gt;+&lt;/code&gt; if you need at least 2 guids to be selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And &lt;code&gt;^&lt;/code&gt; and &lt;code&gt;$&lt;/code&gt; chars are at the beginning and at the end to make sure nothing is before or after.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to remember that this regex will not help you if your user starts playing with raw value of the field and enter value with is not pipe delimited guid list.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-07-27T11:24:04.550" LastActivityDate="2017-07-27T11:24:04.550" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6801" PostTypeId="1" AcceptedAnswerId="6802" CreationDate="2017-07-27T09:47:15.263" Score="9" ViewCount="1305" Body="&lt;p&gt;I have a task wherein I need to create a functionality that may need to trigger a pattern card programmatically if a specific radio button (where an item is assigned to this with a profile card) is selected and a submit button is clicked. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone enlighten me on how to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am a newbie on this matter please respect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="423" LastEditDate="2017-08-07T18:27:28.373" LastActivityDate="2017-08-07T18:27:28.373" Title="Programmatically Trigger a Pattern Card/Profile Card in a selected content in Sitecore" Tags="|xdb|experience-profile|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6802" PostTypeId="2" ParentId="6801" CreationDate="2017-07-27T09:57:20.863" Score="8" Body="&lt;p&gt;In order to be able to boost the user pattern, you may use the below code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void BoostUserPattern(Session userSession, string patternName)&#xA;{&#xA;    var patternCards = // Get your predefined pattern cards&#xA;&#xA;    var patternCard = // Get the specific pattern you want from the list&#xA;&#xA;    if (patternCard == null)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    var profile = Tracker.Current.Interaction.Profiles[patternCard.Parent.Parent.Name];&#xA;&#xA;    BoostUserPattern(userSession, patternCard, profile);&#xA;}&#xA;&#xA;public static void BoostUserPattern(Session session, Item patternCard, Profile profile)&#xA;{&#xA;    if (patternCard != null &amp;amp;&amp;amp; !patternCard.Name.Equals(profile.PatternLabel))&#xA;    {&#xA;        Sitecore.Data.Fields.XmlField xmlData = patternCard.Fields[&quot;Pattern&quot;];&#xA;        XmlDocument xmlDoc = xmlData.Xml;&#xA;&#xA;        XmlNodeList parentNode = xmlDoc.GetElementsByTagName(&quot;key&quot;);&#xA;        var scores = new Dictionary&amp;lt;string, float&amp;gt;();&#xA;&#xA;        foreach (XmlNode childrenNode in parentNode)&#xA;        {&#xA;            if (childrenNode.Attributes != null)&#xA;            {&#xA;                scores.Add(childrenNode.Attributes[&quot;name&quot;].Value, 0);&#xA;            }&#xA;        }&#xA;&#xA;        // Set a score value here&#xA;        scores[patternCard.Name] = 5;&#xA;&#xA;        profile.Score(scores);&#xA;&#xA;        profile.PatternId = patternCard.ID.ToGuid();&#xA;        profile.PatternLabel = patternCard.Name;&#xA;&#xA;        UpdateBehaviorProfile(session);&#xA;    }&#xA;}&#xA;&#xA;private static void UpdateBehaviorProfile(Session session)&#xA;{&#xA;    var profileConverterBase = BehaviorProfileConverterBase.Create();&#xA;&#xA;    if (session?.Contact == null || Tracker.Current.Interaction == null)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    session.Contact.BehaviorProfiles.RemoveAll();&#xA;&#xA;    foreach (var profileName in session.Interaction.Profiles.GetProfileNames())&#xA;    {&#xA;        var profile = session.Interaction.Profiles[profileName];&#xA;&#xA;        if (!IgnoreInteractionProfile(profile))&#xA;        {&#xA;            var matchedBehaviorProfile = profileConverterBase.Convert(profile);&#xA;&#xA;            session.Contact.BehaviorProfiles.Add(matchedBehaviorProfile.Id, matchedBehaviorProfile);&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;private static bool IgnoreInteractionProfile(Profile profile)&#xA;{&#xA;    Assert.ArgumentNotNull(profile, &quot;profile&quot;);&#xA;&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the user clicks on the radio and submit the value, you trigger the method &lt;code&gt;BoostUserPattern(Session userSession, string patternName)&lt;/code&gt;. The code will set the pattern to the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can retrieve the predefined pattern cards by fetching them from Sitecore. Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var patternCards = Context.Database.GetItem(&quot;Path of your Pattern Container Item&quot;).Children;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By using the parameter &lt;code&gt;patternName&lt;/code&gt;, you can perform a query from the list &lt;code&gt;patternCards&lt;/code&gt;. Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var patternCard = patternName.ToLower().Equals(&quot;Pattern A&quot;)&#xA;                ? patternCards.FirstOrDefault(w =&amp;gt; w.Name.ToLower().Equals(&quot;Pattern A&quot;))&#xA;                : patternCards.FirstOrDefault(w =&amp;gt; w.Name.ToLower().Equals(&quot;Pattern B&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that you can already have a list or some values in a config file where you can read from it and the do the comparison.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pattern A and B are as shown below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3jquG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3jquG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-08-01T06:44:12.360" LastActivityDate="2017-08-01T06:44:12.360" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="6803" PostTypeId="1" AcceptedAnswerId="6811" CreationDate="2017-07-27T10:19:11.640" Score="13" ViewCount="3694" Body="&lt;p&gt;Can someone help me with the Sitecore Powershell query which  I can use for finding the images more than the given size.&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="73" LastEditDate="2017-07-28T14:26:27.900" LastActivityDate="2019-08-16T15:57:01.260" Title="Sitecore Powershell query for big images of a certain size" Tags="|powershell-extensions|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6804" PostTypeId="2" ParentId="6803" CreationDate="2017-07-27T10:43:14.283" Score="8" Body="&lt;p&gt;This should do the trick&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Call Initialize-Item so that SPE adds the automatic properties.&#xA;$mediaItemContainer = Get-Item &quot;master:/media library&quot;&#xA;$items = $mediaItemContainer.Axes.GetDescendants() | Where-Object { [int]$_.Fields[&quot;Size&quot;].Value -gt 100000 } | Initialize-Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And if you want to see a nice report use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Call Initialize-Item so that SPE adds the automatic properties.&#xA;$mediaItemContainer = Get-Item &quot;master:/media library&quot;&#xA;$items = $mediaItemContainer.Axes.GetDescendants() | Where-Object { [int]$_.Fields[&quot;Size&quot;].Value -gt 100000 } | Initialize-Item&#xA;&#xA;if ($items.Count -eq 0){&#xA;    Show-Alert &quot;There are no big media items&quot;&#xA;} else {&#xA;    $props = @{&#xA;    InfoTitle = &quot;Big media items&quot;&#xA;    InfoDescription = &quot;Lists all media items which are bigger than 100000 bytes.&quot;&#xA;    PageSize = 25}&#xA;}&#xA;&#xA;$items |&#xA;    Show-ListView @props -Property @{Label=&quot;Name&quot;; Expression={$_.DisplayName} },&#xA;        @{Label=&quot;Updated&quot;; Expression={$_.__Updated} },&#xA;        @{Label=&quot;Updated by&quot;; Expression={$_.&quot;__Updated by&quot;} },&#xA;        @{Label=&quot;Size&quot;; Expression={$_.Size} },&#xA;        @{Label=&quot;Path&quot;; Expression={$_.ItemPath} }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="2126" LastEditDate="2018-01-08T15:39:52.287" LastActivityDate="2018-01-08T15:39:52.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6805" PostTypeId="2" ParentId="6803" CreationDate="2017-07-27T10:50:38.107" Score="4" Body="&lt;p&gt;Please find below the script you may use to get the images which their size is greater than a defined value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;## Change the path your your specific container and also the language&#xA;$mediaItemContainer = Get-Item &quot;master:/media library&quot; -Language en-GB&#xA;&#xA;$media = $mediaItemContainer.Axes.GetDescendants()&#xA;&#xA;ForEach($mediaItem in $media){&#xA;&#xA;    $size = [int]$mediaItem.Fields[&quot;Size&quot;].Value&#xA;&#xA;    ## Change the value 20 to your required size&#xA;    if($size -gt 20){&#xA;        $mediaItem.Name&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the value &quot;20&quot; is in Byte.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-07-27T10:50:38.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6809" PostTypeId="2" ParentId="6787" CreationDate="2017-07-27T13:35:31.853" Score="1" Body="&lt;p&gt;It turned out to be a matter of layout deltas. The two templates in question had the same rendering, but the &quot;uid&quot; field in the raw values was different between the two. I wrote something to flip them as well, and the values mapped correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I'd note this was a legacy project we took over and upgraded, and from an architecture standpoint, I'd recommend different approaches to the problem if designing from scratch. Either putting the renderings on a common base template (so the &quot;uid&quot; field should be the same) or, better still, doing the operation to not rely on needing to change the template to make the content flow properly.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-07-27T13:35:31.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6810" PostTypeId="1" AcceptedAnswerId="6813" CreationDate="2017-07-27T15:23:33.173" Score="7" ViewCount="1370" Body="&lt;p&gt;There's a great article (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/531/sitecore-8-2-convert-disk-media-to-database&quot;&gt;Sitecore 8.2 - Convert disk media to database&lt;/a&gt;) on converting disk media to the database, but I'm trying to do the opposite, temporarily at least.  I want to optimize images (using ImageMagick), but I need them out of the database first.  I just need to get the blob in the database down to a file system as a recognizable jpg or png.  I know how to replace the original media in the database with the optimized image.  I'm running a few thousand images through the process, so SPE seems the only reasonable approach.&lt;/p&gt;&#xA;" OwnerUserId="2254" LastEditorUserId="73" LastEditDate="2017-07-27T15:24:19.830" LastActivityDate="2020-08-05T16:46:21.047" Title="Exporting database-based media to the file system" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6811" PostTypeId="2" ParentId="6803" CreationDate="2017-07-27T19:16:42.397" Score="21" Body="&lt;h3&gt;August 2019 Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There is a report included with SPE allowing you to find images by a specific size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WVyzF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WVyzF.png&quot; alt=&quot;Filter&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AbP9a.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AbP9a.png&quot; alt=&quot;Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;January 2018 Update - 6 months later&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;So we've added a few more websites with media to our database. Updated results are below. I've also added a SQL Query example with looks promising but may give some people heartburn.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Example: Use Sitecore Query to find the content.&lt;/h3&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Look for media greater than 500k in size.&#xA;Get-Item -Path &quot;master:&quot; -Query &quot;/sitecore/media library/Images//*[@size &amp;gt; '500000']&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o0Ec2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o0Ec2.png&quot; alt=&quot;Sitecore Query&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Query Performance&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A quick non-scientific test produced the following timing&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Get-ChildItem&lt;/code&gt; followed by &lt;code&gt;Where-Object&lt;/code&gt; returned &lt;strong&gt;1764&lt;/strong&gt; items : 8.62 seconds&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Get-Item&lt;/code&gt; followed by &lt;code&gt;Axes&lt;/code&gt; returned &lt;strong&gt;1764&lt;/strong&gt; items : 2.08 seconds&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Get-Item&lt;/code&gt; using query returned &lt;strong&gt;260&lt;/strong&gt; items (&lt;code&gt;Query.MaxItems&lt;/code&gt; setting) : .6 seconds&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Get-Item&lt;/code&gt; using fast query returned &lt;strong&gt;6240&lt;/strong&gt; items : 9.2 seconds&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sql Query&lt;/code&gt; returned &lt;strong&gt;1764&lt;/strong&gt; items : 5.1 seconds&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Content Search API&lt;/code&gt; returned &lt;strong&gt;~3000&lt;/strong&gt; items (need to retest) : 2.1 seconds&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Thoughts&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I did not expect how fast the &lt;code&gt;Axes&lt;/code&gt; command could be when searching recursively. I will have to try that out in more of the reports we have in SPE. Marek and Hishaam both gave some good examples at how you can achieve it. I hope that you will find the below queries useful when trying to determine an optimal query for your use case.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Performance Measurements&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Run these queries in the ISE if you want to see an output of how long each command took to run. Substitute your own filters to see which meets your requirements.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Measure-Command {&#xA;    $items = Get-ChildItem -Path &quot;/sitecore/media library&quot; -Recurse | Where-Object { ($_.Size / 1) -gt 100000 }&#xA;} | Select-Object -Expand TotalSeconds&#xA;&#xA;Measure-Command {&#xA;    # Call Initialize-Item so that SPE adds the automatic properties.&#xA;    $mediaItemContainer = Get-Item &quot;master:/media library&quot;&#xA;    $items = $mediaItemContainer.Axes.GetDescendants() | Where-Object { [int]$_.Fields[&quot;Size&quot;].Value -gt 100000 } | Initialize-Item&#xA;} | Select-Object -Expand TotalSeconds&#xA;&#xA;Measure-Command {&#xA;    $items = Get-Item -Path &quot;master:&quot; -Query &quot;/sitecore/media library//*[@size &amp;gt; '100000']&quot;&#xA;} | Select-Object -Expand TotalSeconds&#xA;&#xA;Measure-Command {&#xA;    $items = Get-Item -Path &quot;master:&quot; -Query &quot;fast:/sitecore/media library//*[@size &amp;gt; '100000']&quot;&#xA;} | Select-Object -Expand TotalSeconds&#xA;&#xA;Measure-Command {&#xA;    Import-Function -Name Invoke-SqlCommand&#xA;    $database = Get-Database -Name &quot;master&quot;&#xA;    $connection = [Sitecore.Configuration.Settings]::GetConnectionString($database.Name)&#xA;    $sizeFieldId = &quot;{6954B7C7-2487-423F-8600-436CB3B6DC0E}&quot;&#xA;    $parameters = @{&#xA;        &quot;size&quot; = 100000&#xA;        &quot;fieldId&quot; = $sizeFieldId&#xA;    }&#xA;&#xA;    $query = &quot;SELECT [ItemId] ,[Value] FROM [dbo].[SharedFields] WHERE FieldId = @fieldId AND [Value] &amp;gt; @size UNION ALL SELECT [ItemId] ,[Value] FROM [dbo].[VersionedFields] WHERE [FieldId] = '{5BE6C122-84C9-4661-A0C9-3718909C8DAD}' AND [Value] &amp;gt; @size&quot;&#xA;    $itemIds = Invoke-SqlCommand -Connection $connection -Query $query -Parameters $parameters | Select-Object -ExpandProperty &quot;ItemId&quot;&#xA;    $items = $itemIds | ForEach-Object { Get-Item -Path &quot;master:&quot; -ID $_ }&#xA;} | Select-Object -Expand TotalSeconds&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Content Search API&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;After much trial and error, I found a way to use the Content Search API to query the items. In the following example, I had to change the field type from &lt;code&gt;Single-line text&lt;/code&gt; to &lt;code&gt;Number&lt;/code&gt; on the &lt;code&gt;File&lt;/code&gt; data template. SOLR then interpreted the field as a &lt;code&gt;float&lt;/code&gt;. If you want to use this approach consider creating a computed field instead so you can leave the &lt;code&gt;File&lt;/code&gt; template alone.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$code = @&quot;&#xA;using System.Collections.Generic;&#xA;using System.ComponentModel;&#xA;using System.Linq;&#xA;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Linq;&#xA;using Sitecore.ContentSearch.Linq.Utilities;&#xA;using Sitecore.ContentSearch.SearchTypes;&#xA;using Sitecore.ContentSearch.Utilities;&#xA;&#xA;namespace Demo {&#xA;    public class ExtendedSearchResultItem : Sitecore.ContentSearch.SearchTypes.SearchResultItem {&#xA;        [IndexField(&quot;size&quot;)]&#xA;        public float Size { get; set; }&#xA;    }&#xA;&#xA;    public class SearchRunner {&#xA;        public IEnumerable&amp;lt;ExtendedSearchResultItem&amp;gt; DoSearch() {&#xA;            using (var context = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;).CreateSearchContext())&#xA;            {&#xA;                var predicate = PredicateBuilder.False&amp;lt;ExtendedSearchResultItem&amp;gt;();&#xA;                predicate = predicate.Or(i=&amp;gt; i.Size &amp;gt; 100);&#xA;                return context.GetQueryable&amp;lt;ExtendedSearchResultItem&amp;gt;().Where(predicate).ToList();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&quot;@&#xA;&#xA;Add-Type -TypeDefinition $code -ReferencedAssemblies @(&quot;Sitecore.Kernel&quot;, &quot;Sitecore.ContentSearch&quot;, &quot;Sitecore.ContentSearch.Linq&quot;)&#xA;&#xA;$search = New-Object Demo.SearchRunner&#xA;Measure-Command {&#xA;    $items = $search.DoSearch()&#xA;} | Select-Object -Expand TotalSeconds&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-08-16T15:57:01.260" LastActivityDate="2019-08-16T15:57:01.260" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="6812" PostTypeId="2" ParentId="6801" CreationDate="2017-07-27T21:36:53.130" Score="3" Body="&lt;p&gt;If I am understanding your question correctly, you have a pattern configured in Sitecore and you would like to test to see if the visitor matches that pattern. If that is the case and all you want to do is check to see what pattern the visitor currently matches then the below should be what you are looking for:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// get the name of the pattern&#xA;Tracker.Current.Interaction.Profiles[profileName].PatternLabel;&#xA;// get the ID of the pattern&#xA;Tracker.Current.Interaction.Profiles[profileName].PatternId;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you're looking to actually change the visitor's scores, then code like @HishaamNamooya's or any other code that modifies scores and ends in the below (called by Hishaam's code as well) will do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// get the profile - I didn't, but be sure to null-check&#xA;var profile = Tracker.Current.Interaction.Profiles[profileName]; &#xA;&#xA;var updatedProfileKeys = ... do your scoring logic here ...&#xA;// updatedProfileKeys is now a Dictionary&amp;lt;string,float&amp;gt; with the updated scores to apply&#xA;&#xA;// update the scores on the profile&#xA;profile.Score(updatedProfileKeys); &#xA;// update the pattern based on the scores you updated - this is supposed to be called from Score as well, but in my experience it doesn't always update unless you call it explicitly&#xA;profile.UpdatePattern(); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-27T21:42:32.977" LastActivityDate="2017-07-27T21:42:32.977" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6813" PostTypeId="2" ParentId="6810" CreationDate="2017-07-28T03:54:37.853" Score="4" Body="&lt;p&gt;While I don't know that actually writing the media library to disk is a great idea (you'll want to look at Nathan Hase's suggestion), I wrote a script that will do what you're asking.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, the crux is to use the &lt;code&gt;MediaItem&lt;/code&gt;'s method &lt;code&gt;GetMediaStream()&lt;/code&gt;, and writing that stream to a file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll want to tweak &lt;code&gt;$fileRootPath&lt;/code&gt; to point to the directory where you want to store the files on disk (Sitecore will need write access to this directory), and &lt;code&gt;$mediaLibraryRootPath&lt;/code&gt; to point to the area of the media library you want to write. It will write to the disk with the same directory structure as in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also want to modify &lt;code&gt;Include-Item&lt;/code&gt; to tune which items get written. You could, for instance, only deal with items with the template name Jpeg, for instance.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$fileRootPath = &quot;C:\\media&quot;&#xA;$mediaLibraryRootPath = &quot;master:\sitecore\media library&quot;&#xA;&#xA;Function Write-Item([Sitecore.Data.Items.Item]$item) {&#xA;    $mediaItem = New-Object Sitecore.Data.Items.MediaItem -ArgumentList $item&#xA;    $directory = $root + $item.Parent.Paths.FullPath.Replace(&quot;/sitecore/media library&quot;, &quot;&quot;).Replace(&quot;/&quot;, &quot;\\&quot;)&#xA;    $fileName =  $directory + &quot;\\&quot; + $item.Name + &quot;.&quot; + $item[&quot;Extension&quot;]&#xA;    [System.IO.Directory]::CreateDirectory($directory) &amp;gt; $null&#xA;&#xA;    New-UsingBlock ($file = [System.IO.File]::Create($fileName)) {&#xA;        $mediaStream = $mediaItem.GetMediaStream()&#xA;        $mediaStream.CopyTo($file)&#xA;    }&#xA;&#xA;    Write-Host &quot;Wrote $fileName&quot;&#xA;}&#xA;&#xA;Function Include-Item([Sitecore.Data.Items.Item]$item) {&#xA;    return $_.TemplateName -ne &quot;Media folder&quot; -and $_.TemplateName -ne &quot;Node&quot;&#xA;}&#xA;&#xA;Get-ChildItem -Recurse $mediaLibraryRootPath `&#xA;| Where-Object { Include-Item($_) } `&#xA;| ForEach-Object { Write-Item $_ }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Disclaimer: This worked for me, but I can't attest to the speed, particularly if you have a large media library. I'd recommend running it against a subset of the media library first. Be especially careful, as this could result in a large amount of disk space used. I also didn't implement any error checking in this proof of concept&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2017-07-28T03:54:37.853" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6814" PostTypeId="1" CreationDate="2017-07-28T04:14:58.783" Score="1" ViewCount="933" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/32vIo.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/32vIo.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;Here is my controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Website.Controllers&#xA;{&#xA;    public class FormsController : Controller&#xA;    {&#xA;        // GET: Forms&#xA;        public ActionResult Index()&#xA;        {&#xA;            return View();&#xA;        }&#xA;&#xA;        [HttpGet]&#xA;        public ActionResult formGeneric()&#xA;        {  &#xA;            var model = new FormViewModel();&#xA;            return View(model);&#xA;        }&#xA;&#xA;        [HttpPost]&#xA;        public ActionResult formGeneric(FormViewModel formModel)&#xA;        {&#xA;            return View();&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is my setup in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;controller Rendering:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;controller: Website.Controllers.FormsController, Website&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Action: formGeneric&lt;/p&gt;&#xA;&#xA;&lt;p&gt;View:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Website.ViewModels.FormViewModel&#xA;&#xA;&#xA;&#xA;&amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;&#xA;    &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;&#xA;        @Html.Raw(Model.content)&#xA;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;&#xA;    &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;        &amp;lt;h2&amp;gt;@Model.formTitle&amp;lt;/h2&amp;gt;&#xA;&#xA;        &amp;lt;p class=&quot;large-subhead&quot;&amp;gt;@Model.formSubTitle&amp;lt;/p&amp;gt;&#xA;&#xA;        &amp;lt;p&amp;gt;@Model.formText&amp;lt;/p&amp;gt;&#xA;    @using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;    {&#xA;        &amp;lt;div class=&quot;content-form&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                @Html.TextBoxFor(x=&amp;gt; x.fullName, new { @class = &quot;form-control&quot;, @placeholder = &quot;Full Name&quot; })&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                @Html.TextBoxFor(x =&amp;gt; x.emailAddress, new { @class = &quot;form-control&quot;, @placeholder = &quot;Email Address&quot; })&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                @Html.TextBoxFor(x =&amp;gt; x.streetAddress, new { @class = &quot;form-control&quot; , @placeholder = &quot;Street Address&quot; })&#xA;            &amp;lt;/div&amp;gt;&#xA;&#xA;            &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                @Html.TextBoxFor(x =&amp;gt; x.city, new { @class = &quot;form-control&quot;, @placeholder = &quot;City&quot; })&#xA;            &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;&#xA;            &amp;lt;div class=&quot;input-group input-group-lg&quot;&amp;gt;&#xA;                @Html.TextBoxFor(x =&amp;gt; x.state, new { @id = &quot;stateVal&quot;, @class = &quot;form-control&quot; })&#xA;                &amp;lt;div class=&quot;input-group-btn&quot;&amp;gt;&#xA;                @if (Model.states != null)&#xA;                {&#xA;                    @Html.DropDownList(&quot;StateList&quot;, Model.states, &quot;State&quot;, new { @id = &quot;stateDrop&quot;, @class = &quot;btn btn-default dropdown-toggle&quot; })&#xA;                }&#xA;                &amp;lt;/div&amp;gt;&amp;lt;!-- /btn-group --&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;&#xA;            &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                @Html.TextBoxFor(x =&amp;gt; x.zipCode, new { @class = &quot;form-control&quot;, @placeholder = &quot;Zip/Postal Code&quot; })&#xA;            &amp;lt;/div&amp;gt;&#xA;&#xA;            @{ &#xA;                var countries = new List&amp;lt;SelectListItem&amp;gt;()&#xA;                {&#xA;                    new SelectListItem() { Text = &quot;USA&quot;, Value = &quot;USA&quot; },&#xA;                    new SelectListItem() { Text = &quot;CAN&quot;, Value = &quot;CAN&quot; },&#xA;                };&#xA;            }&#xA;&#xA;            &amp;lt;div class=&quot;input-group input-group-lg&quot;&amp;gt;&#xA;                @Html.TextBoxFor(x =&amp;gt; x.country, new {@id = &quot;countryVal&quot;, @class = &quot;form-control&quot; })        &#xA;                &amp;lt;div class=&quot;input-group-btn&quot;&amp;gt; &#xA;                    @Html.DropDownList(&quot;CountryList&quot;, countries, &quot;Country&quot;, new { @id = &quot;countryDrop&quot;, @class = &quot;btn btn-default dropdown-toggle&quot;})&#xA;                 &amp;lt;/div&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&amp;lt;!-- /input-group --&amp;gt;&#xA;&#xA;            &amp;lt;!-- Hidden Fields from Model --&amp;gt;&#xA;            @Html.HiddenFor(x =&amp;gt; x.pageId)&#xA;            @Html.HiddenFor(x =&amp;gt; x.emailSubject)&#xA;            @Html.HiddenFor(x=&amp;gt; x.replyMessage)&#xA;            @Html.HiddenFor(x=&amp;gt; x.recipientEmail)&#xA;            @Html.HiddenFor(x =&amp;gt; x.fromEmail);&#xA;&#xA;&#xA;            &amp;lt;button type=&quot;submit&quot; class=&quot;inline-btn&quot;&amp;gt;@Model.buttonText&amp;lt;/button&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    }&#xA;&#xA;&#xA;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;script&amp;gt;&#xA;    $(document).ready(function () {&#xA;        $('#stateDrop').change(function () {&#xA;            $('#stateVal').val($(this).val());&#xA;        });&#xA;&#xA;        $('#countryDrop').change(function () {&#xA;        $('#countryVal').val($(this).val());&#xA;        });&#xA;    });&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yzNmQ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yzNmQ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="1227" LastEditDate="2017-07-28T13:32:25.237" LastActivityDate="2017-11-03T21:38:13.103" Title="Why am I receiving the error :Could not find the rendering in the HTML loaded from server" Tags="|mvc|controller|" AnswerCount="0" CommentCount="12" ClosedDate="2017-11-03T22:15:58.590" ContentLicense="CC BY-SA 3.0" />
  <row Id="6815" PostTypeId="1" CreationDate="2017-07-28T11:05:11.793" Score="2" ViewCount="222" Body="&lt;p&gt;We are having issues on WFFM in 8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Values for the checboxlist field are stored in xdb and form reports in some format like follows.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;item&amp;gt;US&amp;lt;/item&amp;gt;&amp;lt;item&amp;gt;UK&amp;lt;/item&amp;gt;&amp;lt;item&amp;gt;Australia&amp;lt;/item&amp;gt;.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can we store values as comma separated values or any other way. In simple, can we modify the values before exporting? &lt;/p&gt;&#xA;" OwnerUserId="2176" LastActivityDate="2017-07-28T12:55:45.607" Title="WFFM Data Manipulation before Export" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6816" PostTypeId="2" ParentId="6815" CreationDate="2017-07-28T11:10:21.910" Score="1" Body="&lt;p&gt;You can modify the values during exporting. To do this, please modify the following classes and modify the output as per your requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Export to XML -  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.WFFM.Services.Pipelines.ExportToXml.ExportFormDataToXml, Sitecore.WFFM.Services&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Export to Excel - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.WFFM.Services.Pipelines.ExportToExcel.ExportFormDataToExcel, Sitecore.WFFM.Services&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above mentioned services can be configured in &lt;code&gt;Website\App_Config\Include\Sitecore.WFFM.Services.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also please don't change the values in xDB as it is not best practice.&lt;/p&gt;&#xA;" OwnerUserId="607" LastEditorUserId="607" LastEditDate="2017-07-28T12:55:45.607" LastActivityDate="2017-07-28T12:55:45.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6817" PostTypeId="1" AcceptedAnswerId="6820" CreationDate="2017-07-28T12:56:58.937" Score="6" ViewCount="158" Body="&lt;p&gt;I've asked a question about &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6625/sitecore-diagnostics-tool-shows-webdav-must-be-disabled-on-cd-but-it-is-already&quot;&gt;WebDAV being disabled on Content Delivery servers but Sitecore Diagnostics Tool&lt;/a&gt; keeps showing that I was still missing something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At that time the answer showed what Sitecore Diagnostics Tool uses to verify where WebDAV is enabled or not. So, I ended up finding that &lt;code&gt;Sitecore.Tasks.CleanupFDAObsoleteMediaData&lt;/code&gt; in &lt;code&gt;SwitchMasterToWeb.config&lt;/code&gt; was the cause.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said I was wondering what exactly &lt;code&gt;Sitecore.Tasks.CleanupFDAObsoleteMediaData&lt;/code&gt; is used for and the reason of being related to WebDAV if any?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Vbele.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Vbele.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="605" LastEditDate="2017-07-28T13:00:56.617" LastActivityDate="2017-07-28T13:41:25.500" Title="What is Sitecore.Tasks.CleanupFDAObsoleteMediaData in SwitchMasterToWeb.config?" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6818" PostTypeId="2" ParentId="6754" CreationDate="2017-07-28T13:21:11.053" Score="0" Body="&lt;p&gt;You can access these in the Content Editor under the Data directory.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4dO61.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4dO61.jpg&quot; alt=&quot;SxA Data Directory&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1012" LastActivityDate="2017-07-28T13:21:11.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6820" PostTypeId="2" ParentId="6817" CreationDate="2017-07-28T13:36:33.503" Score="1" Body="&lt;p&gt;FDA is short for &lt;code&gt;File Drop Area&lt;/code&gt; - as in WebDAV File Drop Area.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a field type that allows content editors to drag and drop media data (well files) directly into the CMS via WebDAV.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It machine generates folder names to drop these files into; this cleanup task will remove any of these machine generated folders that may no longer be in use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/27422275/sitecore-file-drop-area-destination-folder&quot;&gt;Sitecore file drop area destination folder&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3468&quot; rel=&quot;nofollow noreferrer&quot;&gt;File Drop Area - Media save location&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/62/whats_new_62-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore CMS 6.2 - What's New?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-07-28T13:36:33.503" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6821" PostTypeId="2" ParentId="6817" CreationDate="2017-07-28T13:41:25.500" Score="0" Body="&lt;p&gt;According to the class definition from dotPeek:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Removes media folders that are no longer referenced via the File Drop Area field.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The File Drop Area field allows you to add fields to templates where you can upload multiple media files without going to the media library. A root folder is specified in config, then when a file is uploaded, a path is created based on a GUID. E.g. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/Media Library/System/C/8/1/5/C815CC829A7979229E47E544FABDC7D6/image.jpg&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you then delete the media item, the empty folders will stick around in Sitecore. This processor will find all those folders that no longer have media items in them and remove un-needed ones.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-07-28T13:41:25.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6822" PostTypeId="2" ParentId="221" CreationDate="2017-07-28T16:54:57.717" Score="18" Body="&lt;p&gt;&lt;em&gt;Edit: February 2020&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;NuGet package 2.0.0 was released exclusively for Sitecore 9.x support. Full implementation available at &lt;a href=&quot;https://github.com/jraps20/SitecoreFriendlyErrors&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/jraps20/SitecoreFriendlyErrors&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Edit: November 2017&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;The technique described in this answer has been packaged up and added to NuGet: &lt;a href=&quot;https://www.nuget.org/packages/Sitecore.FriendlyErrors/&quot; rel=&quot;noreferrer&quot;&gt;https://www.nuget.org/packages/Sitecore.FriendlyErrors/&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;~ ~ ~&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Due to the popularity of this post, I decided to review the approved answer by @Justin and verify it solved all use-case's.  I performed an exhaustive review and made a few tweaks to improve upon his answer. I reviewed other posts throughout the community as well and apologize for not tagging each post that helped contribute to this.  It is all outlined in the &lt;a href=&quot;https://github.com/jraps20/SitecoreFriendlyErrors&quot; rel=&quot;noreferrer&quot;&gt;repo ReadMe&lt;/a&gt;. It has been condensed for brevity on this answer.  Each step is explained much more thoroughly in the blog post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note: This answer uses &lt;code&gt;HttpRequestBase&lt;/code&gt;.  The blog post outlines this usage.  It can be removed and the processors can inherit from &lt;code&gt;HttpRequestProcessor&lt;/code&gt; instead.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add 404 Item to Site&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/content/Site1/home/404&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note: This method assumes all sites in a multisite environment contain a page at their root named &lt;code&gt;404&lt;/code&gt;. This page must have presentation details defined.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update Settings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;LayoutNotFoundUrl&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/404&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;setting name=&quot;ItemNotFoundUrl&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/404&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Transfer Bad Requests to Friendly 404 Page&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box, Sitecore will perform a &lt;code&gt;302&lt;/code&gt; redirect to the &lt;code&gt;404&lt;/code&gt; page, to instead immediately serve up the &lt;code&gt;404&lt;/code&gt; page, the following changes are necessary.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;RequestErrors.UseServerSideRedirect&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To read this value properly and perform a &lt;code&gt;TransferRequest&lt;/code&gt; (which retains the URL), we need to replace the existing &lt;code&gt;ExecuteRequest&lt;/code&gt; processor with the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomExecuteRequest : global::Sitecore.Pipelines.HttpRequest.ExecuteRequest&#xA;{&#xA;    private readonly BaseLinkManager _baseLinkManager;&#xA;&#xA;    public CustomExecuteRequest(BaseSiteManager baseSiteManager, BaseItemManager baseItemManager, BaseLinkManager baseLinkManager) : base(baseSiteManager, baseItemManager)&#xA;    {&#xA;        _baseLinkManager = baseLinkManager;&#xA;    }&#xA;&#xA;// Use the below constructor if you're experiencing issues with DI (can't find 'ctor' method)&#xA;/*&#xA;public CustomExecuteRequest()&#xA;{&#xA;    _baseLinkManager = ServiceLocator.ServiceProvider.GetRequiredService&amp;lt;BaseLinkManager&amp;gt;();&#xA;}&#xA;*/&#xA;&#xA;    protected override void PerformRedirect(string url)&#xA;    {&#xA;        if (Context.Site == null || Context.Database == null || Context.Database.Name == &quot;core&quot;)&#xA;        {&#xA;            _404Logger.Log.Info(&quot;Attempting to redirect url {0}, but no Context Site or DB defined (or core db redirect attempted)&quot;.Fmt(url));&#xA;            return;&#xA;        }&#xA;&#xA;        // need to retrieve not found item to account for sites utilizing virtualFolder attribute&#xA;        var notFoundItem = Context.Database.GetItem(Context.Site.StartPath + Settings.ItemNotFoundUrl);&#xA;&#xA;        if (notFoundItem == null)&#xA;        {&#xA;            _404Logger.Log.Info(&quot;No 404 item found on site: {0}&quot;.Fmt(Context.Site.Name));&#xA;            return;&#xA;        }&#xA;&#xA;        var notFoundUrl = _baseLinkManager.GetItemUrl(notFoundItem);&#xA;&#xA;        if (string.IsNullOrWhiteSpace(notFoundUrl))&#xA;        {&#xA;            _404Logger.Log.Info(&quot;Found 404 item for site, but no URL returned: {0}&quot;.Fmt(Context.Site.Name));&#xA;            return;&#xA;        }&#xA;&#xA;        _404Logger.Log.Info(&quot;Redirecting to {0}&quot;.Fmt(notFoundUrl));&#xA;        if (Settings.RequestErrors.UseServerSideRedirect)&#xA;        {&#xA;            HttpContext.Current.Server.TransferRequest(notFoundUrl);&#xA;        }&#xA;        else&#xA;            WebUtil.Redirect(notFoundUrl, false);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;!-- Reads updated &quot;RequestErrors.UseServerSideRedirect&quot; value and transfers request to LayoutNoutFoundUrl or ItemNotFoundUrl, preserving requested URL --&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyDll.CustomExecuteRequest, MyDll&quot; resolve=&quot;true&quot; patch:instead=&quot;*[@type='Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel']&quot;/&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Return Proper HTTP Status Code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, the status code must be updated from &lt;code&gt;200&lt;/code&gt; to &lt;code&gt;404&lt;/code&gt;. This technique relies on a new processor added to the &lt;code&gt;httpRequestEnd&lt;/code&gt; pipeline after &lt;code&gt;EndDiagnostics&lt;/code&gt;, which, while it adds minimal overhead to all requests, it avoids setting the status code via a component, which IMHO feels tacky.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Set404StatusCode : HttpRequestBase&#xA;{&#xA;    protected override void Execute(HttpRequestArgs args)&#xA;    {&#xA;        // retain 500 response if previously set&#xA;        if (HttpContext.Current.Response.StatusCode &amp;gt;= 500 || args.Context.Request.RawUrl == &quot;/&quot;)&#xA;            return;&#xA;&#xA;        // return if request does not end with value set in ItemNotFoundUrl, i.e. successful page&#xA;        if (!args.Context.Request.Url.LocalPath.EndsWith(Settings.ItemNotFoundUrl, StringComparison.InvariantCultureIgnoreCase))&#xA;            return;&#xA;&#xA;        _404Logger.Log.Warn(&quot;Page Not Found: &quot; + args.Context.Request.RawUrl + &quot;, current status: &quot; + HttpContext.Current.Response.StatusCode);&#xA;        HttpContext.Current.Response.TrySkipIisCustomErrors = true;&#xA;        HttpContext.Current.Response.StatusCode = (int)HttpStatusCode.NotFound;&#xA;        HttpContext.Current.Response.StatusDescription = &quot;Page not found&quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestEnd&amp;gt;&#xA;        &amp;lt;!-- Sets a 404 status code on the response --&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyDll.Set404StatusCode, MyDll&quot; patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.EndDiagnostics, Sitecore.Kernel']&quot;&amp;gt;&#xA;          &amp;lt;disallowedDatabases&amp;gt;core&amp;lt;/disallowedDatabases&amp;gt;&#xA;          &amp;lt;disallowedSites&amp;gt;shell&amp;lt;/disallowedSites&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/httpRequestEnd&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log URLs to Fine-Tune Detection&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We find it extremely useful to log any requests that are returned as 404 to ensure we aren't hindering any out-of-the-box Sitecore functionality.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;log4net&amp;gt;&#xA;      &amp;lt;appender name=&quot;404Appender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;        &amp;lt;file value=&quot;$(dataFolder)/logs/404.log.{date}.txt&quot;/&amp;gt;&#xA;        &amp;lt;appendToFile value=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;          &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot;/&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;        &amp;lt;encoding value=&quot;utf-8&quot;/&amp;gt;&#xA;      &amp;lt;/appender&amp;gt;&#xA;      &amp;lt;logger name=&quot;CustomErrors._404Logger&quot; additivity=&quot;false&quot;&amp;gt;&#xA;        &amp;lt;level value=&quot;INFO&quot;/&amp;gt;&#xA;        &amp;lt;appender-ref ref=&quot;404Appender&quot;/&amp;gt;&#xA;      &amp;lt;/logger&amp;gt;&#xA;    &amp;lt;/log4net&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class _404Logger&#xA;{&#xA;    public static ILog Log =&amp;gt; LogManager.GetLogger(&quot;CustomErrors._404Logger&quot;) ?? LoggerFactory.GetLogger(typeof(_404Logger));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;        _404Logger.Log.Warn(&quot;Page Not Found: &quot; + args.Context.Request.RawUrl);&#xA;        HttpContext.Current.Response.TrySkipIisCustomErrors = true;&#xA;        HttpContext.Current.Response.StatusCode = (int)HttpStatusCode.NotFound;&#xA;        HttpContext.Current.Response.StatusDescription = &quot;Page not found&quot;;&#xA;    }&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Failed Media Requests Return Friendly 404 Error Page&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To ensure media requests return a proper 404 (mostly used for PDF's, but applicable to all), we need to modify the base web.config.  It is recommended this approach be implemented via a Config Transformation to preserve the native web.config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MediaRequestHandler : global::Sitecore.Resources.Media.MediaRequestHandler&#xA;{&#xA;    protected override bool DoProcessRequest(HttpContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;&#xA;        var request = MediaManager.ParseMediaRequest(context.Request);&#xA;&#xA;        if (request == null)&#xA;            return false;&#xA;&#xA;        var media = MediaManager.GetMedia(request.MediaUri);&#xA;&#xA;        if (media != null)&#xA;            return DoProcessRequest(context, request, media);&#xA;&#xA;        using (new SecurityDisabler())&#xA;            media = MediaManager.GetMedia(request.MediaUri);&#xA;&#xA;        string str;&#xA;&#xA;        if (media == null)&#xA;        {&#xA;            str = Settings.ItemNotFoundUrl;&#xA;        }&#xA;        else&#xA;        {&#xA;            Assert.IsNotNull(Context.Site, &quot;site&quot;);&#xA;            str = Context.Site.LoginPage != string.Empty ? Context.Site.LoginPage : Settings.NoAccessUrl;&#xA;        }&#xA;        if (Settings.RequestErrors.UseServerSideRedirect)&#xA;            HttpContext.Current.Server.TransferRequest(str);&#xA;        else&#xA;            HttpContext.Current.Response.Redirect(str);&#xA;        return true;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The web.config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;      Commented original MediaRequestHandler to account for 404&#xA;      &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;Sitecore.Resources.Media.MediaRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.MediaRequestHandler&quot;/&amp;gt;--&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;MyDll.MediaRequestHandler, MyDll&quot; name=&quot;Sitecore.MediaRequestHandler&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Handling Requests for Improper Extensions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To handle completely arbitrary requests (e.g. &lt;code&gt;http://mysite.com/asdf.asdf.asdf&lt;/code&gt;) in a friendly way, we need to add a static 404.html page to our web root.  IIS will take care of setting the status code to &lt;code&gt;404&lt;/code&gt;.  This fringe-case simply needs to output standard 404 markup to alert the user that the page is not found.  It is also patched in the web.config, shown below via a config transformation.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;httpErrors errorMode=&quot;DetailedLocalOnly&quot; existingResponse=&quot;Auto&quot; xdt:Transform=&quot;Insert&quot; &amp;gt;&#xA;      &amp;lt;remove statusCode=&quot;404&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;      &amp;lt;error statusCode=&quot;404&quot; path=&quot;404.html&quot; responseMode=&quot;File&quot; /&amp;gt;&#xA;    &amp;lt;/httpErrors&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;500 Errors&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To handle 500 errors, aka Yellow Screens of Death, the following is added to the web.config, again shown as a config transformation.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;customErrors mode=&quot;RemoteOnly&quot; defaultRedirect=&quot;500.aspx&quot; redirectMode=&quot;ResponseRewrite&quot; xdt:Transform=&quot;SetAttributes&quot;&amp;gt;&#xA;      &amp;lt;error statusCode=&quot;500&quot; redirect=&quot;500.aspx&quot; xdt:Transform=&quot;Insert&quot; /&amp;gt;&#xA;    &amp;lt;/customErrors&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The 500.aspx page added to the site root contains the following markup at the top of the file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;% &#xA;    Response.StatusCode = 500;&#xA;    Response.TrySkipIisCustomErrors = true;&#xA; %&amp;gt;&#xA;&#xA;&amp;lt;!doctype html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This ensures the response sent to the browser is &lt;code&gt;500&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note: This is not ideal for a multi-site environment where the 500 page should be site-specific.  To account for this, add logic to the 500.aspx page to transfer requests appropriately given the &lt;code&gt;hostName&lt;/code&gt; requested.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;In our experience, this combination satisfies all SEO requirements.  It can be packaged into a library and added to any existing implementation for easier implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note, all patches defined in this answer can be combined into a single patch config, with the exception of the web.config changes.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2020-02-13T18:42:44.587" LastActivityDate="2020-02-13T18:42:44.587" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="6823" PostTypeId="1" AcceptedAnswerId="6836" CreationDate="2017-07-28T19:06:18.877" Score="5" ViewCount="570" Body="&lt;p&gt;A client wants to use emails as usernames. The reason is that this multisite solution has users with different email domains so there's a chance that stripping @domain.com will cause a duplicate username to be created by an automated process. I found &lt;a href=&quot;https://briancaos.wordpress.com/2013/04/22/sitecore-allow-email-adress-as-user-name/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blog&lt;/a&gt; but I started getting an error saying that the email I was using was invalid when trying to create a user with &lt;code&gt;Sitecore.Security.Accounts.User.Create(string userName, string password)&lt;/code&gt;. The error was as follows:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception thrown: 'System.Web.Security.MembershipCreateUserException'&#xA;  in System.Web.dll. The E-mail supplied is invalid.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at System.Web.Security.Membership.CreateUser(String username,&#xA;  String password, String email)    at&#xA;  Sitecore.Security.Accounts.User.Create(String userName, String&#xA;  password)    at&#xA;  CroweHorwath.SiteGenerator.Generic.Services.BaseSiteGeneratorService.CreateUser(UserInformation&#xA;  userInformation, INotifySiteGeneratorProgress progress) in&#xA;  C:\Projects\Crowe\Code\CroweHorwath\CroweHorwath.SiteGenerator.Generic\Services\BaseSiteGeneratorService.cs:line&#xA;  358&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is there a different method that I should use instead of &lt;code&gt;Sitecore.Security.Accounts.User.Create(string userName, string password)&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-07-31T15:42:52.770" LastActivityDate="2017-07-31T15:48:04.810" Title="Using Emails As Usernames" Tags="|membership-provider|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6824" PostTypeId="1" AcceptedAnswerId="6827" CreationDate="2017-07-28T19:56:44.360" Score="7" ViewCount="909" Body="&lt;p&gt;Sitecore puts a constraint on the number of CM and CD servers that a license can be used for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Suppose a Sitecore license is only applicable for &lt;code&gt;X&lt;/code&gt; number of CM servers and &lt;code&gt;Y&lt;/code&gt; number of CD servers. Does this mean that I can only install Sitecore on &lt;code&gt;X&lt;/code&gt; number of machines?&lt;/p&gt;&#xA;" OwnerUserId="1884" LastEditorUserId="423" LastEditDate="2017-07-28T20:36:21.283" LastActivityDate="2017-07-31T12:55:32.257" Title="Sitecore license applicable for X number of CM server and Ynumber of CD server" Tags="|licensing|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6825" PostTypeId="2" ParentId="6824" CreationDate="2017-07-28T20:18:40.303" Score="5" Body="&lt;p&gt;Yes. You can only run as many &lt;em&gt;instances&lt;/em&gt; of Sitecore as your license permits. What that is exactly, differs from case to case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instance means &quot;Application&quot; really. As in one IIS Application / AppPool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need licenses for QA, Test, Dev and so on - these need to be purchased separately. Usually these go at a slightly lower rate (Dev ones, at least) - but I am no expert on Sitecore license pricing. You need to contact your Sitecore Partner Manager for questions on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are further restrictions to a Sitecore license that aren't included here. Don't regard this answer as legally binding or anything, I am not a lawyer.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-07-28T20:18:40.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6826" PostTypeId="1" CreationDate="2017-07-28T20:42:00.790" Score="0" ViewCount="1865" Body="&lt;p&gt;Here is my View&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Website.ViewModels.FormViewModel&#xA;&#xA;&#xA;&#xA;&amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;&#xA;    &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;&#xA;        @Html.Raw(Model.content)&#xA;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;&#xA;    &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;        &amp;lt;h2&amp;gt;@Model.formTitle&amp;lt;/h2&amp;gt;&#xA;&#xA;        &amp;lt;p class=&quot;large-subhead&quot;&amp;gt;@Model.formSubTitle&amp;lt;/p&amp;gt;&#xA;&#xA;        &amp;lt;p&amp;gt;@Model.formText&amp;lt;/p&amp;gt;&#xA;        @using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;        {&#xA;            &amp;lt;div class=&quot;content-form&quot;&amp;gt;&#xA;                &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                    @Html.TextBoxFor(x =&amp;gt; x.fullName, new { @class = &quot;form-control&quot;, @placeholder = &quot;Full Name&quot; })&#xA;                &amp;lt;/div&amp;gt;&#xA;                &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                    @Html.TextBoxFor(x =&amp;gt; x.emailAddress, new { @class = &quot;form-control&quot;, @placeholder = &quot;Email Address&quot; })&#xA;                &amp;lt;/div&amp;gt;&#xA;                &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                    @Html.TextBoxFor(x =&amp;gt; x.streetAddress, new { @class = &quot;form-control&quot;, @placeholder = &quot;Street Address&quot; })&#xA;                &amp;lt;/div&amp;gt;&#xA;&#xA;                &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                    @Html.TextBoxFor(x =&amp;gt; x.city, new { @class = &quot;form-control&quot;, @placeholder = &quot;City&quot; })&#xA;                &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;&#xA;                &amp;lt;div class=&quot;input-group input-group-lg&quot;&amp;gt;&#xA;                    @Html.TextBoxFor(x =&amp;gt; x.state, new { @id = &quot;stateVal&quot;, @class = &quot;form-control&quot; })&#xA;                    &amp;lt;div class=&quot;input-group-btn&quot;&amp;gt;&#xA;                        @if (Model.states != null)&#xA;                {&#xA;                            @Html.DropDownList(&quot;StateList&quot;, Model.states, &quot;State&quot;, new { @id = &quot;stateDrop&quot;, @class = &quot;btn btn-default dropdown-toggle&quot; })&#xA;                        }&#xA;                    &amp;lt;/div&amp;gt;&amp;lt;!-- /btn-group --&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;&#xA;                &amp;lt;div class=&quot;form-group form-group-lg&quot;&amp;gt;&#xA;                    @Html.TextBoxFor(x =&amp;gt; x.zipCode, new { @class = &quot;form-control&quot;, @placeholder = &quot;Zip/Postal Code&quot; })&#xA;                &amp;lt;/div&amp;gt;&#xA;&#xA;                @{&#xA;                    var countries = new List&amp;lt;SelectListItem&amp;gt;()&#xA;                {&#xA;                    new SelectListItem() { Text = &quot;USA&quot;, Value = &quot;USA&quot; },&#xA;                    new SelectListItem() { Text = &quot;CAN&quot;, Value = &quot;CAN&quot; },&#xA;                };&#xA;                }&#xA;&#xA;                &amp;lt;div class=&quot;input-group input-group-lg&quot;&amp;gt;&#xA;                    @Html.TextBoxFor(x =&amp;gt; x.country, new { @id = &quot;countryVal&quot;, @class = &quot;form-control&quot; })&#xA;                    &amp;lt;div class=&quot;input-group-btn&quot;&amp;gt;&#xA;                        @Html.DropDownList(&quot;CountryList&quot;, countries, &quot;Country&quot;, new { @id = &quot;countryDrop&quot;, @class = &quot;btn btn-default dropdown-toggle&quot; })&#xA;                    &amp;lt;/div&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&amp;lt;!-- /input-group --&amp;gt;&#xA;                &amp;lt;!-- Hidden Fields from Model --&amp;gt;&#xA;                @Html.HiddenFor(x =&amp;gt; x.pageId)&#xA;                @Html.HiddenFor(x =&amp;gt; x.emailSubject)&#xA;                @Html.HiddenFor(x =&amp;gt; x.replyMessage)&#xA;                @Html.HiddenFor(x =&amp;gt; x.recipientEmail)&#xA;                @Html.HiddenFor(x =&amp;gt; x.fromEmail);&#xA;&#xA;&#xA;                &amp;lt;input type=&quot;submit&quot; class=&quot;inline-btn&quot; name=&quot;@Model.buttonText&quot;&amp;gt; &#xA;            &amp;lt;/div&amp;gt;&#xA;                    }&#xA;&#xA;&#xA;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;script&amp;gt;&#xA;    $(document).ready(function () {&#xA;        $('#stateDrop').change(function () {&#xA;            $('#stateVal').val($(this).val());&#xA;        });&#xA;&#xA;        $('#countryDrop').change(function () {&#xA;        $('#countryVal').val($(this).val());&#xA;        });&#xA;    });&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and here is my action in the Controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Website.Controllers&#xA;{&#xA;    public class GenericFormsController : Controller&#xA;    {&#xA;        // GET: GenericForms&#xA;        public ActionResult Index()&#xA;        {&#xA;            return View();&#xA;        }&#xA;&#xA;        [HttpGet]&#xA;        public ActionResult GenericForm()&#xA;        {&#xA;            var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;            var dataSourceItem = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;&#xA;            var model = new FormViewModel();&#xA;            model.pageId = PageContext.Current.Item.ID.ToString();&#xA;            model.formTitle = dataSourceItem.Fields[&quot;Heading&quot;].Value;&#xA;            model.formSubTitle = dataSourceItem.Fields[&quot;Sub Heading&quot;].Value;&#xA;            model.formText = dataSourceItem.Fields[&quot;Form Text&quot;].Value;&#xA;            model.content = dataSourceItem.Fields[&quot;Left Column Content&quot;].Value;&#xA;            model.buttonText = dataSourceItem.Fields[&quot;Button Text&quot;].Value;&#xA;            model.emailSubject = dataSourceItem.Fields[&quot;Email Subject&quot;].Value;&#xA;            model.replyMessage = dataSourceItem.Fields[&quot;Reply Message&quot;].Value;&#xA;            model.recipientEmail = dataSourceItem.Fields[&quot;Recipient Email&quot;].Value;&#xA;            model.fromEmail = dataSourceItem.Fields[&quot;From Email&quot;].Value;&#xA;            model.states = model.stateList();&#xA;&#xA;            return View(model);&#xA;        }&#xA;&#xA;        [HttpPost]&#xA;        public ActionResult GenericForm(FormViewModel model)&#xA;        {&#xA;            return View();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: I haven't added all of the code to process, but my breakpoint isn't even being hit, and it is loading the home page. &lt;/p&gt;&#xA;" OwnerUserId="1227" LastActivityDate="2017-07-28T21:03:52.450" Title="Why is my form not posting back to my controller httppost" Tags="|mvc|" AnswerCount="0" CommentCount="2" ClosedDate="2017-07-28T21:02:24.337" ContentLicense="CC BY-SA 3.0" />
  <row Id="6827" PostTypeId="2" ParentId="6824" CreationDate="2017-07-28T20:43:37.377" Score="4" Body="&lt;p&gt;Just to add onto what @MarkCassidy said, if you have a Partner license for development that is separate from your client's license, the limits imposed by the clients license do not prohibit the developer from installing as many development instances as are necessary up to the limit imposed by their Partner license. In this case, a &quot;development instance&quot; is basically any instance not available for public access or client access. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you install any instance, it must installed with the license that it applies to. Thus, if you install a development instance against a Partner license, it must be installed with the partner license and not the client's license. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The rule of thumb is that if the client can see the site then that site must use the client's license. As such, so long as the site is inaccessible to the client and the general public, developers may install as many instances as are necessary (up to any limits stated in the Partner license) without being in violation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Again, like Mark said, there are further restrictions that aren't included here and this answer should not be regarded as legally binding in any way. This is merely meant to be a guide to help point you in the right direction. Please defer to and confirm all information with your Regional Sitecore Sales office or Sitecore Representative. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-07-31T12:55:32.257" LastActivityDate="2017-07-31T12:55:32.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6829" PostTypeId="2" ParentId="6322" CreationDate="2017-07-29T17:02:01.863" Score="3" Body="&lt;p&gt;Here's my current implementation. It consists of a command, patch and web edit command button. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Current command button code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NewIfDatasourceExists : global::Sitecore.Shell.Applications.WebEdit.Commands.New&#xA;{&#xA;    public override CommandState QueryState(CommandContext context)&#xA;    {&#xA;        var db = context.Items?.FirstOrDefault()?.Database;&#xA;&#xA;        if (db == null)&#xA;            return CommandState.Hidden;&#xA;&#xA;        var renderingId = context.Parameters[&quot;renderingId&quot;];&#xA;&#xA;        if (!ID.IsID(renderingId))&#xA;            return CommandState.Hidden;&#xA;&#xA;        var rendering = db.GetItem(new ID(renderingId));&#xA;&#xA;        if (rendering == null)&#xA;            return CommandState.Hidden;&#xA;&#xA;        var datasourceTemplateField = FieldTypeManager.GetField(rendering.Fields[&quot;Datasource Template&quot;]) as global::Sitecore.Data.Fields.InternalLinkField;&#xA;&#xA;        if (datasourceTemplateField?.TargetItem == null)&#xA;            return CommandState.Hidden;&#xA;&#xA;        var hasItemOfDatasourceType = context.Items.Any(item =&amp;gt; item.InheritsFrom(datasourceTemplateField.TargetID));&#xA;&#xA;        if (!hasItemOfDatasourceType)&#xA;            return CommandState.Hidden;&#xA;&#xA;        return base.QueryState(context);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config with custom command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;custom:newifdatasourceexists&quot; type=&quot;CustomCode.Sitecore.Shell.Application.WebEdit.Commands.NewIfDatasourceExists, CustomCode&quot; /&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lastly, I duplicated the normal insert button into the custom experience editor button folder and changed the command on that to use my command and added that to my rendering.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-07-29T17:02:01.863" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6830" PostTypeId="2" ParentId="6824" CreationDate="2017-07-30T01:58:01.700" Score="4" Body="&lt;p&gt;I'll preface this with stating I am in no ways a lawyer nor an expert in Sitecore licensing, but I believe from my experience the answer to the question (as stated) is &quot;No&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on a license supporting &lt;strong&gt;X&lt;/strong&gt; CM and &lt;strong&gt;Y&lt;/strong&gt; CD servers, typically you should be able to install Sitecore between &lt;strong&gt;X&lt;/strong&gt; and &lt;strong&gt;X+Y&lt;/strong&gt; times. Also, your installations may not equal your number of machines (physical or virtual) if you install multiple instances on a single server, or go beyond the typical core limits on a given server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, you will only have a maximum of &lt;strong&gt;X&lt;/strong&gt; Sitecore master databases. Essentially, you have license to have &lt;strong&gt;X&lt;/strong&gt; separate Sitecore topologies, which you can then use your &lt;strong&gt;Y&lt;/strong&gt; CD servers for as you need to.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-07-30T01:58:01.700" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6832" PostTypeId="2" ParentId="4035" CreationDate="2017-07-31T12:42:11.027" Score="3" Body="&lt;p&gt;I am facing the same issue with WFFM 8.2 rev. 161129 along with Sitecore 8.2 update 2. Initially thinking it was something version specific, tried using rev 170518 with Sitecore 8.2 update 3, but faced the same issue again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further analysed the &lt;strong&gt;Sitecore.Forms.PopupMenu.js&lt;/strong&gt; and other list related JavaScript provided with WFFM. &#xA;Not sure if this is the perfect solution to this issue but adding the below line of code did the job for me:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.show = function(event, controlid, height, width, args) {&#xA;      window.Sitecore.Forms.PopupMenu.args = args;&#xA;...&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It was the missing popup arguments on field selection that were preventing the update.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding this as an answer here, as this was the only question that exactly matched the issue I was facing, except for the version difference. Hope it helps.&lt;/p&gt;&#xA;" OwnerUserId="1724" LastEditorUserId="1724" LastEditDate="2017-07-31T13:00:53.910" LastActivityDate="2017-07-31T13:00:53.910" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6834" PostTypeId="1" AcceptedAnswerId="6852" CreationDate="2017-07-31T15:07:56.693" Score="0" ViewCount="378" Body="&lt;p&gt;When connecting a website via the Sitecore Federated Experience Manager I was prompted to add a script to the destination site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script src=&quot;//linkedwebsite.com/bundle/beacon&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After adding the script, I receiving the following error on all the pages the script was added to: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;XMLHttpRequest cannot load&#xA;  &lt;a href=&quot;http://mywebsite.com/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?co&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mywebsite.com/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?co&lt;/a&gt;…=&amp;amp;sessionId=&amp;amp;page=http%3A%2F%2Flinkedwebsite.com%2F&amp;amp;referrer=&amp;amp;rt=1501507187250.&#xA;  No 'Access-Control-Allow-Origin' header is present on the requested&#xA;  resource. Origin '&lt;a href=&quot;http://linkedwebsite.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://linkedwebsite.com&lt;/a&gt;' is therefore not allowed&#xA;  access.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I found this Sitecore article which detailed two possible sources of the error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/150778&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/150778&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first was &lt;code&gt;EnableCors()&lt;/code&gt; was not being called before &lt;code&gt;GlobalConfiguration.Configure(...)&lt;/code&gt; in a custom pipeline. I noticed that we had in fact called &lt;code&gt;GlobalConfiguration.Configure(...)&lt;/code&gt; without calling &lt;code&gt;EnableCors()&lt;/code&gt; so I added the &lt;code&gt;EnableCors&lt;/code&gt; call before the Configure call, restarted IIS, but continued to receive the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next possible source of error was the use of IIS redirects. The site I'm working on makes extensive use of these redirects so it was tough to tell if this configuration was causing a problem. To test, I removed all IIS redirects from the site but still received the &lt;code&gt;XMLHttpRequest&lt;/code&gt; error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The linked website as well as my Sitecore website are being run on my local IIS server. I searched through our source code and found no additional places that &lt;code&gt;GlobalConfiguration.Configure(...)&lt;/code&gt; is called. I also tracked the &lt;code&gt;GlobalConfiguration.Configuration&lt;/code&gt; variable in the debugger and it appears that the changes &lt;code&gt;EnableCors()&lt;/code&gt; makes to the object remain throughout the Sitecore session (I set a breakpoint in one of the controller renderings to test this). Any ideas on additional steps I could take to test or resolve this error? Thank you for your time and help!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT 1:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the response header when I hit the FXM API at the error location and the JSON that is returned:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HTTP/1.1 200 OK&#xA;Cache-Control: no-cache&#xA;Pragma: no-cache&#xA;Content-Type: application/json&#xA;Expires: -1&#xA;Server: Microsoft-IIS/10.0&#xA;Set-Cookie: sc_expview=0; path=/&#xA;P3P: CP=&quot;CURa ADMa DEVa TAIi PSAi PSDi IVAi IVDi CONi HISa TELi OUR IND DSP CAO COR&quot;&#xA;Set-Cookie: SC_ANALYTICS_GLOBAL_COOKIE=7730eccae6524d60adcc7b822c28f8a6|True; domain=.mywebsite.com; expires=Sat, 31-Jul-2027 15:18:10 GMT; path=/; HttpOnly&#xA;X-UA-Compatible: IE=edge&#xA;Date: Mon, 31 Jul 2017 15:18:10 GMT&#xA;Content-Length: 198&#xA;&#xA;{&quot;ContactId&quot;:&quot;7730eccae6524d60adcc7b822c28f8a6|True&quot;,&quot;SessionId&quot;:&quot;yvcffcceb1j4asjxsv3j2zfj&quot;,&quot;ContactExpires&quot;:&quot;2019-07-31T09:14:10.648051&quot;,&quot;SessionPath&quot;:&quot;/&quot;,&quot;ElementMatches&quot;:[],&quot;Id&quot;:null,&quot;Url&quot;:null}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT 2:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've removed all custom routing relevant to the api path, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RouteTable.Routes.MapHttpRoute(&#xA;            &quot;DefaultApiRoute&quot;,&#xA;            &quot;api/{controller}/{action}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I continued to experience the same error. &lt;/p&gt;&#xA;" OwnerUserId="1080" LastEditorUserId="1080" LastEditDate="2017-07-31T16:13:27.320" LastActivityDate="2017-08-01T16:35:28.627" Title="FXM XMLHttpRequest cannot load" Tags="|security|javascript|fxm|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6835" PostTypeId="2" ParentId="6823" CreationDate="2017-07-31T15:10:12.070" Score="0" Body="&lt;p&gt;Did you try by adding &quot;AccountNameValidation&quot; regex? here is a KB article - &lt;a href=&quot;https://kb.sitecore.net/articles/259229&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/259229&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can try by changing value to the simple regex expression or expression for the email.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2017-07-31T15:10:12.070" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6836" PostTypeId="2" ParentId="6823" CreationDate="2017-07-31T15:40:47.760" Score="0" Body="&lt;p&gt;This is my current work around for the error. I changed the attribute that was mentioned in the post to be false again (&lt;code&gt;requiresUniqueEmail&lt;/code&gt;) since username uniqueness should handle my use case. If someone has a more appropriate method to use other than Sitecore's user creation method I mentioned in my question that can get around the issue I was seeing with that attribute set I would like to know it (and would accept that as the more proper answer).&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-07-31T15:48:04.810" LastActivityDate="2017-07-31T15:48:04.810" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6838" PostTypeId="1" AcceptedAnswerId="6869" CreationDate="2017-07-31T19:51:39.587" Score="1" ViewCount="339" Body="&lt;p&gt;After installing &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Data Exchange Framework 1.4 170419&lt;/li&gt;&#xA;&lt;li&gt;Data Exchange Frameowrk1.4 SDK &lt;/li&gt;&#xA;&lt;li&gt;Sitecore Provider for Data Exchange Framework 1.4.0 rev 170419 &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;and going through the &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.4/implementing-a-provider/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;tutorial&lt;/a&gt;, I get the following error.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load type&#xA;  'Sitecore.DataExchange.Converters.BaseItemModelConverter `2' from&#xA;  assembly 'Sitecore.DataExchange, Version=1.4.0.0, Culture=neutral,&#xA;  PublicKeyToken=null'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/Owziq.jpg&quot; alt=&quot;Sitecore Admin Error&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on what may be causing it? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;To remove any of my existing code, I performed the following with a fresh install.   &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Using SIM install 8.2 Update 1 (16115)  &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Install Sitecore Packages&lt;br&gt;&#xA;a. Data Exchange Framework 1.4.0 rev 170419&lt;br&gt;&#xA;b. Data Exchange Framework SDK 1.4.0 rev 170419&lt;br&gt;&#xA;c. File System Provider for Data Exchange Framework 1.4&lt;br&gt;&#xA;d. Sitecore Provider for Data Exchange Framework 1.4.0 rev 170419  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Go through and run the example here: &lt;a href=&quot;https://www.youtube.com/watch?v=boaGaoRKAns&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=boaGaoRKAns&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Same error exists when trying to add a Pipeline Batch&lt;/p&gt;&#xA;" OwnerUserId="2263" LastEditorUserId="2263" LastEditDate="2017-08-02T05:49:34.670" LastActivityDate="2017-08-02T11:55:22.933" Title="Data Exchange Framework returning BaseItemModelConverter error" Tags="|sitecore-client|data-exchange-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6839" PostTypeId="1" CreationDate="2017-07-31T20:01:11.200" Score="2" ViewCount="583" Body="&lt;p&gt;I'm trying to use &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;The RESTful API for the ItemService&lt;/a&gt; to create items based off a branch template. When I pass the branch ID as the TemplateID in the request, the service returns a &lt;strong&gt;400 &quot;Template is invalid&quot;&lt;/strong&gt; error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if there is a way to create a new item based off a branch using the REST API?&lt;/p&gt;&#xA;" OwnerUserId="2264" LastEditorUserId="423" LastEditDate="2017-08-08T14:35:35.637" LastActivityDate="2017-08-08T14:35:35.637" Title="Create Item using REST API and Branch as template" Tags="|sitecore-services-client|branch|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6840" PostTypeId="1" AcceptedAnswerId="6841" CreationDate="2017-07-31T20:32:20.130" Score="2" ViewCount="481" Body="&lt;p&gt;I'm trying to set hidden items to true for a certain role. There's a very similar question &lt;a href=&quot;https://sitecore.stackexchange.com/a/2288/1436&quot;&gt;here&lt;/a&gt;. I thought this might be a caching issue so I tried setting &lt;code&gt;UserOptions.View.ShowHiddenItems&lt;/code&gt; how it is set &lt;a href=&quot;https://stackoverflow.com/a/18530132/2597149&quot;&gt;here&lt;/a&gt; but that didn't work out either. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After setting the value both ways I tried manually reloading all my site's registries and I also tried using &lt;code&gt;user.Profile.Reload()&lt;/code&gt; to see if that would update the value of &lt;code&gt;UserOptions.View.ShowHiddenItems&lt;/code&gt; to be true but that didn't work out either.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="73" LastEditDate="2017-08-01T11:41:02.997" LastActivityDate="2017-08-31T11:47:35.867" Title="Set Hidden Items to True for certain roles" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6841" PostTypeId="2" ParentId="6840" CreationDate="2017-07-31T20:52:30.920" Score="1" Body="&lt;p&gt;After drilling down further in the code I found the issue. The property &lt;code&gt;ShowEntireTree&lt;/code&gt; returns what is saved in the registry straight up while &lt;code&gt;ShowHiddenItems&lt;/code&gt; returns &lt;code&gt;false&lt;/code&gt; if it is false otherwise it returns whether or not the user can read the item in the core db that relates to the hidden item checkbox (&lt;code&gt;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/View/Hidden Items&lt;/code&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Giving my role read access to that made the solution &lt;a href=&quot;https://sitecore.stackexchange.com/a/2288/1436&quot;&gt;here&lt;/a&gt; work as expected.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="605" LastEditDate="2017-08-01T08:54:24.690" LastActivityDate="2017-08-01T08:54:24.690" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6842" PostTypeId="1" AcceptedAnswerId="6844" CreationDate="2017-07-31T23:39:39.790" Score="9" ViewCount="8860" Body="&lt;p&gt;Is there a way to get all items where a certain template appears in its template inheritance? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Say I want to get all items where &lt;code&gt;/sitecore/Templates/Common/Sections/Search&lt;/code&gt; appears in that inheritance tree. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately, what I want to do is get all items in Sitecore that contain a certain field. I tried achieving this with a Sitecore query (&lt;code&gt;/sitecore/templates//*[contains(@__Base template,'{C8615DF9-65D1-4529-859F-9ABB4DA977B8}')]&lt;/code&gt;), however, this only returns items that directly inherit from the specified template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This doesn't give me complete coverage so it seems that I would need something that works recursively...&lt;/p&gt;&#xA;" OwnerUserId="2157" LastEditorUserId="73" LastEditDate="2017-08-01T00:00:49.697" LastActivityDate="2019-06-01T19:54:57.453" Title="Get all items where a certain template appears in its template inheritance" Tags="|templates|sitecore-query|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6843" PostTypeId="2" ParentId="6842" CreationDate="2017-08-01T00:00:11.280" Score="2" Body="&lt;h3&gt;Not using Sitecore Query&lt;/h3&gt;&#xA;&lt;p&gt;Not using Sitecore Query. The reason is - as you also point out yourself - Sitecore simply does not have a by-query way of recursively deducing the complete template inheritance chain.&lt;/p&gt;&#xA;&lt;h2&gt;The SQL route&lt;/h2&gt;&#xA;&lt;p&gt;But you &lt;em&gt;can&lt;/em&gt; rather easily get the Item IDs you want. Your question doesn't mention what the actual purpose is of what you're trying to do here, so I can only point in a direction, hoping you can take it from there.&lt;/p&gt;&#xA;&lt;p&gt;Sitecore stores all &lt;em&gt;field values&lt;/em&gt; in one of three tables in SQL. &lt;code&gt;[SharedFields]&lt;/code&gt;, &lt;code&gt;[UnversionedFields]&lt;/code&gt; and &lt;code&gt;[VersionedFields]&lt;/code&gt;. Which one your field belongs to, depends on the settings defined for the field. Like if it is marked &lt;code&gt;Shared&lt;/code&gt;, it will be in &lt;code&gt;[SharedFields]&lt;/code&gt; and so on.&lt;/p&gt;&#xA;&lt;p&gt;Knowing this, it becomes rather simple. The &lt;code&gt;[UnversionedFields]&lt;/code&gt; table looks like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SsWYN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SsWYN.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;And so querying it for what you want, would be as simple as:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;SELECT [ItemId]&#xA;  FROM [sc80rev140922_master].[dbo].[UnversionedFields]&#xA;  WHERE FieldId='B5E02AD9-D56F-4C41-A065-A133DB87BDEB'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;(replace database name and FieldId value to fit your own, obviously)&lt;/p&gt;&#xA;&lt;h2&gt;The caveat&lt;/h2&gt;&#xA;&lt;p&gt;The above will not find any Items, where the field in question has never had a value (is NULL). This may invalidate this solution for your use case, your question isn't 100% clear on that.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-08-01T00:00:11.280" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6844" PostTypeId="2" ParentId="6842" CreationDate="2017-08-01T00:37:39.810" Score="6" Body="&lt;h2&gt;Sitecore PowerShell Extensions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;At first your question made me think of &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6803/sitecore-powershell-query-for-big-images-of-a-certain-size/6811#6811&quot;&gt;this&lt;/a&gt; where the user wants to find media items of a certain length. I encourage you to check that out to see some different ways you can use SPE to query items.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 1&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Your case is similar but may be a little expensive. In that case the Sitecore Content Search API may be ideal for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need a computed field that stores all the base templates in the index. It's very likely the field is simply not being indexed by default and you need to uncomment it as described &lt;a href=&quot;https://mikerobbins.co.uk/2013/12/17/sitecore-7-search-by-base-templates/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. Alternatively, you can add a computed index as seen &lt;a href=&quot;https://mikael.com/2013/05/sitecore-7-query-items-that-inherits-a-template/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Taking a guess at the field name in the search index.&#xA;$criteria = @(&#xA;    @{Filter=&quot;Contains&quot;;Field=&quot;_templates&quot;;Value=&quot;c8615df965d14529859f9abb4da977b8&quot;}&#xA;)&#xA;Find-Item -Index sitecore_master_index -Criteria $criteria&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Option 2&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Matthew makes a good point in the comment below. Another option would be to query all of the items under the specified root and test for the inheritance.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$templateId = [Sitecore.Data.ID]::Parse(&quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&quot;)&#xA;$searchPath = &quot;master:/sitecore/content/home&quot;&#xA;$allthethings = @(Get-Item -Path $searchPath) + @(Get-ChildItem -Path $searchPath -Recurse)&#xA;foreach($onething in $allthethings) {&#xA;    $doesItInherit = [Sitecore.Data.Managers.TemplateManager]::GetTemplate($onething.TemplateID, $onething.Database).InheritsFrom($templateId)&#xA;    if($doesItInherit) {&#xA;        $onething&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Option 3 :thumbs-up:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Likely the best option is to simply use the Link Database to find all items referenced.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Sample Item&#xA;$template = Get-Item -Path &quot;master:&quot; -ID &quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&quot;&#xA;Get-ItemReferrer -Item $template | Where-Object { $_.Paths.IsContentItem }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A more complete example for looking at all levels of inheritance can be found &lt;a href=&quot;https://sitecore.stackexchange.com/a/15168/95&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-06-01T19:54:57.453" LastActivityDate="2019-06-01T19:54:57.453" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="6845" PostTypeId="1" AcceptedAnswerId="6847" CreationDate="2017-08-01T09:20:40.067" Score="5" ViewCount="2742" Body="&lt;p&gt;I need to create a temporary file. I'd like to save it in the temp folder, but I'm not sure what's the best way of getting the full path of this folder.&#xA;If I use &lt;code&gt;Sitecore.Configuration.Settings.TempFolderPath&lt;/code&gt; it only gives me the folder name, not the full path.&#xA;Is there any helper or similar that gives me this information?&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2018-12-10T08:29:49.657" Title="How to get the path to the temp folder" Tags="|best-practices|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6846" PostTypeId="2" ParentId="6845" CreationDate="2017-08-01T09:27:11.907" Score="0" Body="&lt;p&gt;you can use : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string tempFullPath = Sitecore.MainUtil.MapPath(Settings.TempFolderPath);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string tempFullPath = Sitecore.IO.FileUtil.MapPath(Settings.TempFolderPath);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="73" LastEditDate="2017-08-01T13:11:56.350" LastActivityDate="2017-08-01T13:11:56.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6847" PostTypeId="2" ParentId="6845" CreationDate="2017-08-01T09:31:27.390" Score="7" Body="&lt;h3&gt;For a temporary file&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Actually, Sitecore itself doesn't use TempFolderPath when it needs to create a temporary file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking inside the Sitecore PackageManager classes, Sitecore does this when it needs a temporary file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string tempFileName = System.IO.Path.GetTempFileName();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Using TempFolderPath&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The thing about this setting is; it &lt;em&gt;can&lt;/em&gt; be relative to the current web root folder, but it could also be defined as an &lt;em&gt;absolute path&lt;/em&gt; (outside your webroot) in which case a MapPath call could fail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has a utility class that deals with this. You can find it in FileUtil, so your code would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string tempFolder = Sitecore.IO.FileUtil.MapPath(Sitecore.Configuration.Settings.TempFolderPath);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This snippet would work, with both relative and absolute path definitions.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-08-01T09:44:31.017" LastActivityDate="2017-08-01T09:44:31.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6852" PostTypeId="2" ParentId="6834" CreationDate="2017-08-01T16:35:28.627" Score="0" Body="&lt;p&gt;In addition to using FXM, we also have Sitecore Media Framework installed. In &lt;code&gt;Sitecore.MediaFramework.config&lt;/code&gt; I noticed there was a patch for WebAPI processor. I decompiled this processor and found the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines;&#xA;using System;&#xA;using System.Web.Http;&#xA;&#xA;namespace Sitecore.MediaFramework.Pipelines.Initialize&#xA;{&#xA;  public class WebApiInitializer&#xA;  {&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;      GlobalConfiguration.Configure(new Action&amp;lt;HttpConfiguration&amp;gt;(this.Configure));&#xA;    }&#xA;&#xA;    protected void Configure(HttpConfiguration configuration)&#xA;    {&#xA;      configuration.Routes.MapHttpRoute(&quot;Reports&quot;, &quot;sitecore/api/mediaframework/reports/{datasource}/{sitename}&quot;, (object) new&#xA;      {&#xA;        controller = &quot;Reports&quot;,&#xA;        action = &quot;Get&quot;&#xA;      });&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This processor occurs upstream of &lt;code&gt;ServicesWebApiInitializer&lt;/code&gt; and does not call &lt;code&gt;EnableCors()&lt;/code&gt;. I wrote a patch to replace this processor with my own version that calls the &lt;code&gt;EnableCors()&lt;/code&gt; method. With the &lt;code&gt;EnableCors()&lt;/code&gt; call in place before both in our own call to &lt;code&gt;GlobalConfiguration.Configure(...)&lt;/code&gt; and in the call made by the Media Framework, FXM stopped displaying the XMLHttpRequest error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--Overwrite default Media Manager Web API processor with one with call to EnableCORS(). Needed for FXM functionality--&amp;gt;&#xA;        &amp;lt;processor patch:instead=&quot;processor[@type='sitecore.mediaframework.pipelines.initialize.webapiinitializer, sitecore.mediaframework']&quot; type=&quot;MyWebsite.MediaFramework.Pipelines.Initialize.WebApiInitializer, MyWebsite&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using System.Web.Http;&#xA;&#xA;namespace MyWebsite.MediaFramework.Pipelines.Initialize&#xA;{&#xA;    public class WebApiInitializer&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            GlobalConfiguration.Configuration.EnableCors();&#xA;            GlobalConfiguration.Configure(new Action&amp;lt;HttpConfiguration&amp;gt;(this.Configure));&#xA;        }&#xA;&#xA;        protected void Configure(HttpConfiguration configuration)&#xA;        {&#xA;            configuration.Routes.MapHttpRoute(&quot;Reports&quot;, &quot;sitecore/api/mediaframework/reports/{datasource}/{sitename}&quot;, (object)new&#xA;            {&#xA;                controller = &quot;Reports&quot;,&#xA;                action = &quot;Get&quot;&#xA;            });&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2017-08-01T16:35:28.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6854" PostTypeId="1" AcceptedAnswerId="6900" CreationDate="2017-08-01T18:09:13.760" Score="5" ViewCount="3595" Body="&lt;p&gt;8.2 Update 4 (170614).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have several instances that were installed via SIM tool and Sitecore exe. All of them have no records in the Experience Profile after several visits. I have contacts and interactions in Mongo. I have contacts in the reporting database. I have experience analytics (page visits, languages, etc..). Just no visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nothing in the logs points me in the right direction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The API call from EP does not error. Just no records.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have rebuild the reporting database. It seems like 8.2 U4 has some extra steps required to make it work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run this code from Adam Conn, I see it is processing items, but none show up.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContentSearchManager.GetIndex(&quot;sitecore_analytics_index&quot;).Reset();&#xA;var poolPath = &quot;aggregationProcessing/processingPools/live&quot;;&#xA;var pool = Factory.CreateObject(poolPath, true) as ProcessingPool;&#xA;var driver = MongoDbDriver.FromConnectionString(&quot;analytics&quot;);&#xA;var visitorData = driver.Interactions.FindAllAs&amp;lt;VisitData&amp;gt;();&#xA;var keys = visitorData.Select(data =&amp;gt; new InteractionKey(data.ContactId, data.InteractionId));&#xA;&#xA;Log.Info($&quot;Analytics: {keys.Count()}&quot;, this);&#xA;&#xA;foreach(var key in keys)&#xA;{&#xA;    var poolItem = new ProcessingPoolItem(key.ToByteArray());&#xA;    pool.Add(poolItem);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I3jTA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I3jTA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PsipD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PsipD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: It looks like all the instance's analytics index are empty. Weirdest part is event a new SIM site is empty. Install SIM site, publish, change session timeout to 1 minute, visit site in incognito, wait. EP still empty in SIM site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE 2: I switched over to SOLR thinking maybe its a lucene issue with the latest Sitecore update. But even on Lucene, none of the installs (SIM or EXE) will show any EP data. My current test site has 8 interactions to list, but shows none. The Analytics index is still empty. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE 3: I moved the indexes for 1 site from Lucene to SOLR and installed &lt;a href=&quot;https://github.com/vhil/helpfulcore-analytics-index-builder&quot; rel=&quot;noreferrer&quot;&gt;this tool&lt;/a&gt;. I was able to force records into the analytics index. On all other instances of 8.2 U4, I still have not found a solution. I have opened a support ticket.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-08-02T02:26:13.187" LastActivityDate="2018-08-02T14:14:31.637" Title="No records on Experience Profile" Tags="|experience-profile|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6855" PostTypeId="1" CreationDate="2017-08-01T19:37:41.997" Score="2" ViewCount="716" Body="&lt;p&gt;Using sitecore 8 (8.2 update 3 to be specific) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm looking to be able to create a rule based on some condition which will set the datasource (and maybe rendering) to the most appropriate result from a search result given a users context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Personalising a rendering only allows you to pick a datasource (and rendering) to a fixed item by id. &#xA;But I'm looking for a dynamic result based on the results of a query. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When searching the nearest I can find is&#xA;&lt;a href=&quot;https://adeneys.wordpress.com/2011/04/28/decoupling-through-the-rules-engine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://adeneys.wordpress.com/2011/04/28/decoupling-through-the-rules-engine/&lt;/a&gt;&#xA;Which allows for performing a sitecore query to select the datasource. &#xA;But this is for an older version of sitecore, and now in v8 when Personalising a rendering you have a limited set of actions (hide, change rendering, change datasource) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also found an article on building up a search query in sitecore via rule queries &#xA;&lt;a href=&quot;https://cardinalcore.co.uk/2014/07/23/rules-queries-pt-iii-what-can-we-use-rules-queries-for/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cardinalcore.co.uk/2014/07/23/rules-queries-pt-iii-what-can-we-use-rules-queries-for/&lt;/a&gt;&#xA;And at the end mentions future posts about extending rule queries for conditions and actions, but I can't find the follow up posts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea of if what I'm trying to achieve is possible, and what I need to extend to make this possible in sitecore 8.&lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2017-10-04T18:26:45.050" Title="Rule to set datasource based on search result" Tags="|content-search|personalization|rules-engine|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6857" PostTypeId="2" ParentId="6683" CreationDate="2017-08-01T20:39:58.470" Score="5" Body="&lt;p&gt;I managed to find out the root cause of this issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Commerce has a lot of goals and events being triggered programatically, My issue was that the goal &quot;Visitor Order Created&quot; was checked on the &quot;Order Confirmation Page&quot; and this was causing the goal to be triggered twice (Once programatically and other through the UI)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had to uncheck the goal in content editor and then this seem to solve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added detailed notes here in the blog post&#xA;&lt;a href=&quot;https://blog.horizontalintegration.com/2017/11/25/sitecore-commerce-8-2-1-analytics-issue/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.horizontalintegration.com/2017/11/25/sitecore-commerce-8-2-1-analytics-issue/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="678" LastEditorUserId="678" LastEditDate="2017-11-28T21:18:31.397" LastActivityDate="2017-11-28T21:18:31.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6858" PostTypeId="1" CreationDate="2017-08-02T00:47:20.057" Score="2" ViewCount="661" Body="&lt;p&gt;Classic use case.  We have &quot;Authors&quot; and &quot;Approvers&quot; roles in our setup.  When an item has transitioned from Draft to Review state, we're sending an email notification to a list of &quot;Approvers&quot; to inform then an &quot;Author&quot; has submitted an item through workflow.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've implemented this through the item saved event using a custom event handler.  The rub is, the workflow history hasn't been written at the time the item saved event fires.  I've looked through Context.Items dictionary thinking Sitecore might have stowed the comments there but no dice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to capture the workflow comments from the item saved event handler without using Workflow History (since it's not there)?&lt;/p&gt;&#xA;" OwnerUserId="2271" LastActivityDate="2017-10-31T12:44:05.433" Title="Getting workflow comments during item saved event handling" Tags="|content-editor|workflow|events|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6860" PostTypeId="2" ParentId="6735" CreationDate="2017-08-02T05:02:07.217" Score="0" Body="&lt;p&gt;Fix: Leave the sitecore settings InstanceName empty in all cms staging and production instance. It will by default pick up the InstanceName +website name from IIS.&#xA;Below is the code that sitecore uses to get instance name:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string setting = GetSetting(&quot;InstanceName&quot;, null);&#xA;    if (!setting.IsNullOrEmpty())&#xA;    {&#xA;        return setting;&#xA;    }&#xA;    string machineName = MainUtil.GetMachineName(); // this function returns ((SystemInformation.ComputerName ?? Environment.MachineName) ?? string.Empty);&#xA;    try&#xA;    {&#xA;        string siteName = HostingEnvironment.SiteName;&#xA;        if (!string.IsNullOrEmpty(siteName))&#xA;        {&#xA;            machineName = machineName + &quot;-&quot; + siteName;&#xA;        }&#xA;    }&#xA;    catch&#xA;    {&#xA;    }&#xA;    return machineName;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="102" LastActivityDate="2017-08-02T05:02:07.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6861" PostTypeId="1" AcceptedAnswerId="6863" CreationDate="2017-08-02T08:00:40.827" Score="1" ViewCount="39" Body="&lt;p&gt;I want to update our EXM version to the latest version. We are already on Update 1 but EXM 3.4 Update 2 solves a breaking bug for our client.&lt;br&gt;&#xA;(importing HTML templates are broken after changes that were made to SPEAK in SXP 8.2 Update-3)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The download page specifies an update package and update instructions: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Update2.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all, the instructions mention the wrong prerequisite: Sitecore XP 8.2 (rev. 170713).&lt;br&gt;&#xA;Which should be Sitecore XP 8.2 (rev. 170407) or Sitecore XP 8.2 (rev. 170614).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The instructions use the UpdateInstallationWizard and don't specify any kind of environment to use. So I'm assuming that I only need to install this update on the &lt;strong&gt;Content Management&lt;/strong&gt; environment?&lt;br&gt;&#xA;How can I validate that I don't need to install this update on the CD nor Processing servers?&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-08-02T09:17:17.087" Title="How do I update EXM 3.4 Update 1 to Update 2 on my different servers?" Tags="|exm|update-packages|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6862" PostTypeId="2" ParentId="6858" CreationDate="2017-08-02T08:25:10.107" Score="3" Body="&lt;p&gt;I would change the approach, and as @jammykam mentioned, implement it as an action.&#xA;The sample workflow, already comes with an action to send emails here: &lt;code&gt;/sitecore/system/Workflows/Sample Workflow/Awaiting Approval/Approve with Test/Action&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is using the class &lt;code&gt;Sitecore.Workflows.Simple.EmailAction, Sitecore.Kernel&lt;/code&gt;. &#xA;I would create my own action using that one as an example, or even inheriting from it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to implement the process method, which receives an object of type &lt;code&gt;WorkflowPipelineArgs&lt;/code&gt;. In this object, you have the property &lt;code&gt;CommentFields&lt;/code&gt;, a string dictionary with the comments of each field.&#xA;Once you collect those fields, it is easy to include them in the email.&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="605" LastEditDate="2017-08-02T10:44:03.387" LastActivityDate="2017-08-02T10:44:03.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6863" PostTypeId="2" ParentId="6861" CreationDate="2017-08-02T09:17:17.087" Score="1" Body="&lt;p&gt;You will only be able to install the .update package on the CM environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a single server setup that's all you need to do, but if you have a scaled setup (which it sounds like you do) then you need to also manually apply the server role specific packages on those roles c.f. &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/setting_up_exm/configuration/walkthrough_configuring_the_exm_module_in_a_scaled_environment&quot; rel=&quot;nofollow noreferrer&quot;&gt;Walkthrough: Configuring EXM in a scaled environment&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in your case, when upgrading from 3.4.1 to 3.4.2 the changes are &lt;em&gt;very&lt;/em&gt; few. There are a few items that have changed, which will be updated by installing the .update package, and the following files:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.EmailCampaign.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.EmailExperience.Core.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So you should make sure to update at least those two files on all server roles.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-08-02T09:17:17.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6865" PostTypeId="1" CreationDate="2017-08-02T11:04:49.020" Score="0" ViewCount="332" Body="&lt;p&gt;I get this error after query &lt;code&gt;$filter=ancestors/any(t: search.in(t, 'region:1014') )&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;error&quot;: {&#xA;        &quot;code&quot;: &quot;&quot;,&#xA;        &quot;message&quot;: &quot;Invalid expression: Unsupported function call: search.in. This function is not supported in this API version.\r\nParameter name: $filter&quot;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With version 2015-02-28-Preview it work but with my version 2016-09-01 it doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My document (entities)  is this &#xA; [&lt;img src=&quot;https://i.stack.imgur.com/Pwhgu.png&quot; alt=&quot;DOCUMENT DB[1]&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And would like to know how to filter entities that have ancestor that contains value for ex. &quot;AA&quot;,&quot;NN&quot;. for version 2016-09-01.&lt;/p&gt;&#xA;" OwnerUserId="2275" LastEditorUserId="73" LastEditDate="2017-08-03T13:47:35.740" LastActivityDate="2017-08-03T13:47:35.740" Title="&quot;search.in&quot; support for Azure Search 2016-09-01" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6866" PostTypeId="1" AcceptedAnswerId="6868" CreationDate="2017-08-02T11:23:13.263" Score="1" ViewCount="821" Body="&lt;p&gt;Does anyone have examples on, how to create list, add items to List Manager programatically? &lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="70" LastEditDate="2017-08-02T12:33:56.797" LastActivityDate="2018-06-13T10:17:40.840" Title="Adding to and creating a List Manager list programatically" Tags="|list-manager|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6868" PostTypeId="2" ParentId="6866" CreationDate="2017-08-02T11:48:11.530" Score="5" Body="&lt;p&gt;There are 2 types of lists: Contact List and segmented list, each one has its own class to handle them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need a reference to: Sitecore.ListManagement.ContentSearch.dll&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Contact List&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//Get the manager&#xA;var listManager = Sitecore.Configuration.Factory.CreateObject(&quot;contactListManager&quot;, false) as ContactListManager;&#xA;&#xA;//Create a list&#xA;ContactList list =  new ContactList()&#xA;{&#xA;    Name = name,&#xA;    Description = description,&#xA;    ParentId = new ID(parentId)&#xA;};&#xA;listManager.Create(list);&#xA;&#xA;//Move the list to a folder (its parent)&#xA;listManager.MoveList(list.Id, list.ParentId.ToString());&#xA;&#xA;//Finding a list by ID.&#xA;var list = listManager.FindById(listId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Segmented List Manager&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var segmentedListManager = Sitecore.Configuration.Factory.CreateObject(&quot;segmentedListManager&quot;, false) as SegmentedListManager;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All the other methods are the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the most basic operations you can do with lists, let me know if you need to do something else.&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="151" LastEditDate="2018-06-13T10:17:40.840" LastActivityDate="2018-06-13T10:17:40.840" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="6869" PostTypeId="2" ParentId="6838" CreationDate="2017-08-02T11:55:22.933" Score="1" Body="&lt;p&gt;The sample provider was written for DEF 1.3 and you are trying to use it with DEF 1.4. You must recompile the sample provider. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recompiling will fail until you make changes to the sample provider. DEF 1.4 includes breaking changes. The exception you are getting it's the result of this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The constructor on the base item converter now accepts a single generic parameter. In DEF 1.3 it accepted 2. This is what the exception is describing.&lt;/p&gt;&#xA;" OwnerUserId="256" LastActivityDate="2017-08-02T11:55:22.933" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6871" PostTypeId="1" CreationDate="2017-08-02T15:29:23.263" Score="2" ViewCount="876" Body="&lt;p&gt;I'm currently following the online Sitecore developer formation (official) and i'm unfortunately having troubles to go any further due to a compilation error while trying to preview an item.&lt;/p&gt;&#xA;&lt;p&gt;Basically, all what i'm trying to do is, binding a component statically, as explained in the lab.&#xA;In order to do that, i created a controller, a model class and a view :&lt;/p&gt;&#xA;&lt;p&gt;Controller:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Mvc.Presentation;&#xA;using Sitecore.Web.UI.WebControls;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using System.Web.Mvc;&#xA;using Website.Models;&#xA;&#xA;namespace Website.Controllers&#xA;{&#xA;    public class EventIntroController : Controller&#xA;    {&#xA;        // GET: EventIntro&#xA;        public ActionResult Index()&#xA;        {&#xA;            return View(CreateModel());&#xA;        }&#xA;        private static EventIntro CreateModel()&#xA;        {&#xA;            var item = RenderingContext.Current.ContextItem;&#xA;            var eventIntro = new EventIntro()&#xA;            {&#xA;                Heading = new HtmlString(FieldRenderer.Render(item,&amp;quot;ContentHeading&amp;quot;)),&#xA;                EventImage = new HtmlString(FieldRenderer.Render(item, &amp;quot;Event Image&amp;quot;,&amp;quot;mw=400&amp;quot;)),&#xA;                Highlights = new HtmlString(FieldRenderer.Render(item, &amp;quot;Highlights&amp;quot;)),&#xA;                Intro = new HtmlString(FieldRenderer.Render(item, &amp;quot;ContentIntro&amp;quot;)),&#xA;                StartDate = new HtmlString(FieldRenderer.Render(item, &amp;quot;Start Date&amp;quot;)),&#xA;                Duration = new HtmlString(FieldRenderer.Render(item, &amp;quot;Duration&amp;quot;)),&#xA;                Difficulty = new HtmlString(FieldRenderer.Render(item, &amp;quot;Difficulty Level&amp;quot;)),&#xA;            };&#xA;            return eventIntro;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Model:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;&#xA;namespace Website.Models&#xA;{&#xA;    public class EventIntro&#xA;    {&#xA;        public EventIntro() { }&#xA;        public HtmlString Heading { get; set; }&#xA;        public HtmlString Intro { get; set; }&#xA;        public HtmlString Body { get; set; }&#xA;        public HtmlString EventImage { get; set; }&#xA;        public HtmlString Highlights { get; set; }&#xA;        public HtmlString StartDate { get; set; }&#xA;        public HtmlString Duration { get; set; }&#xA;        public HtmlString Difficulty { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;View:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;@model Website.Models.EventIntro&#xA;&amp;lt;header&amp;gt;&#xA;    &amp;lt;h1&amp;gt;@Model.Heading&amp;lt;/h1&amp;gt;&#xA;&amp;lt;/header&amp;gt;&#xA;&amp;lt;!-- [Event Details] --&amp;gt;&#xA;&amp;lt;div class=&amp;quot;well&amp;quot;&amp;gt;&#xA;    &amp;lt;p class=&amp;quot;text-muted&amp;quot;&amp;gt;@Model.StartDate&amp;lt;/p&amp;gt;&#xA;    &amp;lt;p class=&amp;quot;text-muted&amp;quot;&amp;gt;Duration: @Model.Duration&amp;lt;/p&amp;gt;&#xA;    &amp;lt;span class=&amp;quot;text-muted&amp;quot;&amp;gt;Difficulty:&amp;lt;/span&amp;gt;&#xA;    &amp;lt;div class=&amp;quot;difficulty-circle&amp;quot;&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-0 value=10 /&amp;gt;&#xA;        &amp;lt;label class=red for=group-2-0&amp;gt;&amp;lt;/label&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; checked=&amp;quot;checked&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-1 value=9 /&amp;gt;&#xA;        &amp;lt;label class=red for=group-2-1&amp;gt;&amp;lt;/label&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-2 value=8 /&amp;gt;&#xA;        &amp;lt;label class=red for=group-2-2&amp;gt;&amp;lt;/label&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-3 value=7 /&amp;gt;&#xA;        &amp;lt;label class=yellow for=group-2-3&amp;gt;&amp;lt;/label&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-4 value=6 /&amp;gt;&#xA;        &amp;lt;label class=yellow for=group-2-4&amp;gt;&amp;lt;/label&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-5 value=5 /&amp;gt;&#xA;        &amp;lt;label class=yellow for=group-2-5&amp;gt;&amp;lt;/label&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-6 value=4 /&amp;gt;&#xA;        &amp;lt;label class=green for=group-2-6&amp;gt;&amp;lt;/label&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-7 value=3 /&amp;gt;&#xA;        &amp;lt;label class=green for=group-2-7&amp;gt;&amp;lt;/label&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-8 value=2 /&amp;gt;&#xA;        &amp;lt;label class=green for=group-2-8&amp;gt;&amp;lt;/label&amp;gt;&#xA;        &amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;group-2&amp;quot; id=group-2-9 value=1 /&amp;gt;&#xA;        &amp;lt;label class=green for=group-2-9&amp;gt;&amp;lt;/label&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;!-- [/Event Details] --&amp;gt;&#xA;&amp;lt;!-- [Event Content] --&amp;gt;&#xA;&amp;lt;div class=&amp;quot;lead&amp;quot;&amp;gt;&#xA;    @Model.Body&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;div class=&amp;quot;article image&amp;quot;&amp;gt;&#xA;    @Model.EventImage&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;div class=&amp;quot;highlights&amp;quot;&amp;gt;&#xA;    &amp;lt;h4&amp;gt;Trip @Sitecore.Globalization.Translate.Text(&amp;quot;Highlights&amp;quot;)&amp;lt;/h4&amp;gt;&#xA;    @Model.Highlights&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;!-- [/Event Content] --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I also created a new rendering in the layout/renderings folder of my Sitecore instance(through Sitcore Rocks). Then in another view, i call it this way:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; @*@Html.Sitecore().Rendering(&amp;quot;/sitecore/layout/Renderings/TAC/Events/Event Intro&amp;quot;)*@&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;With the help of Sitecore Rocks, i simply synchronized the folders containing all those files copied above and i get the following error:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Description: An error occurred during the compilation of a resource&#xA;required to service this request. Please review the following specific&#xA;error details and modify your source code appropriately.&lt;/p&gt;&#xA;&lt;p&gt;Compiler Error Message: CS0246: The type or namespace name 'Website'&#xA;could not be found (are you missing a using directive or an assembly&#xA;reference?)&lt;/p&gt;&#xA;&lt;p&gt;Source Error:&lt;/p&gt;&#xA;&lt;p&gt;Line 26:     using System.Web.Optimization; Line 27:     using&#xA;System.Web.Routing; Line 28:     using Website; Line 29:      Line 30:&lt;/p&gt;&#xA;&lt;h1&gt;line 1 &amp;quot;C:\inetpub\wwwroot\ssd.tac.local\Website\Views\TAC\Events\Layouts\Events.cshtml&amp;quot;&lt;/h1&gt;&#xA;&lt;p&gt;Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary&#xA;ASP.NET&#xA;Files\root\a832d361\1901ffbf\App_Web_events.cshtml.9351e6fa.xdrjtduy.0.cs&#xA;Line: 28&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Thanks in advance for your help&lt;/p&gt;&#xA;" OwnerUserId="2278" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-02-07T14:27:38.720" Title="The type or namespace name 'Project name' could not be found" Tags="|sitecore-rocks|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6872" PostTypeId="1" AcceptedAnswerId="6873" CreationDate="2017-08-02T16:05:25.057" Score="1" ViewCount="2002" Body="&lt;p&gt;I’m trying to hit the Sitecore Webservices with the following Script:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following function comes from &lt;code&gt;Sitecore/system/Modules/PowerShell/Script Library/Platform/Functions/Remoting&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Set-SitecoreConfiguration {&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Parameter(Position=0, Mandatory=$true, ValueFromPipeline=$true)]&#xA;        [ValidateNotNullOrEmpty()]&#xA;        [string]$SitecoreHost,&#xA;&#xA;        [Parameter(Position=1, Mandatory=$true, ValueFromPipeline=$true)]&#xA;        [ValidateNotNullOrEmpty()]&#xA;        [string]$User,&#xA;&#xA;        [Parameter(Position=2, Mandatory=$true, ValueFromPipeline=$true)]&#xA;        [ValidateNotNullOrEmpty()]&#xA;        [string]$Password&#xA;    )&#xA;    $URI = $SitecoreHost + &quot;/sitecore%20modules/PowerShell/Services/RemoteAutomation.asmx&quot;;&#xA;    $GLOBAL:SpeRemoteProxy = New-WebServiceProxy -Uri $URI&#xA;    $GLOBAL:SpeRemoteUser = $User;&#xA;    $GLOBAL:SpeRemotePassword = $Password;&#xA;} &#xA;&#xA;#Connect to SiteCore utilizing function above&#xA;Set-SitecoreConfiguration –SitecoreHost 'http://sitecorehostname' -User 'Admin' –Password 'b'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This fails with a 404. As you can see, the final URI is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecorehostname/sitecore%20modules/PowerShell/Services/RemoteAutomation.asmx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorehostname/sitecore%20modules/PowerShell/Services/RemoteAutomation.asmx&lt;/a&gt;, which actually does exist in the directory structure of the website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One directive that sitecorepowershell.gitbooks.io tells you to do is to update the following in C:\inetpub\wwwroot\SiteCoreSite\Website\App_Config\Include\Cognifide.Powershell.config:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/security.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/security.html&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;powershell&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;      &amp;lt;restfulv1 enabled=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;restfulv2 enabled=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;remoting enabled=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;fileDownload enabled=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;fileUpload enabled=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;mediaDownload enabled=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;mediaUpload enabled=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;handleDownload enabled=&quot;true &quot; /&amp;gt;&#xA;      &amp;lt;client enabled=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;execution enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;  &amp;lt;/powershell&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Even so, I get the following Powershell error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;New-WebServiceProxy : The request failed with HTTP status 404: Not&#xA;  Found. At C:\Scripts\SitecoreConnectionPOC.ps1:17 char:30&#xA;  +     $GLOBAL:SpeRemoteProxy = New-WebServiceProxy -Uri $URI&#xA;  +                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : ObjectNotFound: (&lt;a href=&quot;http://sitecorehostname...Automation.asmx:Uri&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorehostname...Automation.asmx:Uri&lt;/a&gt;) [New-WebServiceProxy],&#xA;  WebException&#xA;      + FullyQualifiedErrorId : WebException,Microsoft.PowerShell.Commands.NewWebServiceProxy&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any idea what the issue might be? Do we need to enable some sort of capability in Sitecore? I have SPE installed, fyi.&lt;/p&gt;&#xA;" OwnerUserId="2279" LastEditorUserId="237" LastEditDate="2017-12-18T10:25:45.803" LastActivityDate="2017-12-18T10:25:45.803" Title="Having trouble remoting into Sitecore with Powershell" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6873" PostTypeId="2" ParentId="6872" CreationDate="2017-08-02T16:44:54.383" Score="4" Body="&lt;p&gt;I'm guessing that the version of the script stored in SPE is out of date. I'd prefer you not use it anyways.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First download and install the SPE Remoting module from the marketplace; last one in the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9xPmu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9xPmu.png&quot; alt=&quot;Remoting Download&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setup instructions on Youtube &lt;a href=&quot;https://www.youtube.com/watch?v=fGvT8eDdWrg&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then run this script.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Module -Name SPE&#xA;$session = New-ScriptSession -Username admin -Password b -ConnectionUri https://remotesitecore&#xA;Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;        // Do something remotely&#xA;}&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/remoting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helpful link to book for remoting&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-08-02T16:44:54.383" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6875" PostTypeId="2" ParentId="6865" CreationDate="2017-08-02T18:44:24.150" Score="2" Body="&lt;p&gt;Sitecore 8.2 Update-3 and later require the 2015-02-28 schema version unless the &lt;code&gt;ContentSearch.Azure.UseIsMatchScoring&lt;/code&gt; setting is set to false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note, however that this restricts functionality - possibly including your query, per the description of that setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;USE ISMATCHSCORING&#xA;Determines if Azure Search provider uses ismatchscoring() function to build complex search expressions. &#xA;This function is available in version 2015-02-28-Preview of Azure Search API and is not available in version 2016-09-01 or earlier versions. &#xA;When using Azure Search API version 2016-09-01 or earlier versions, this setting must be changed to false. &#xA;Changing the value to false will limit the support for complex search queries.&#xA;&#xA;Default value: true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-08-02T18:44:24.150" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6876" PostTypeId="1" CreationDate="2017-08-03T01:16:50.177" Score="2" ViewCount="151" Body="&lt;p&gt;I have two different cloud services for CM and CD environment. In scalability setting we need to mention Publishing Instance (setting name is &lt;strong&gt;Publishing.PublishingInstance&lt;/strong&gt;). Since I am using Cloud services for deployment, Post OS updates machine name keeps changing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How we can set the value of publishing instance to make sure it will not be impacted even if machine name changes?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Environment Details :-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Authoring - &lt;strong&gt;Cloud Service &quot;A&quot;&lt;/strong&gt; with one web role instance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Delivery - &lt;strong&gt;Cloud Service &quot;B&quot;&lt;/strong&gt; with Two Web roles instance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version - &lt;strong&gt;Sitecore 8.1 update -2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we really need publishing instance if we have only one CM server?&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-08-03T02:06:35.093" LastActivityDate="2017-08-03T07:23:40.497" Title="Sitecore Scalabilty Settings - Publishing instance on Azure cloud Service" Tags="|publishing|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6877" PostTypeId="1" AcceptedAnswerId="6878" CreationDate="2017-08-03T02:29:55.947" Score="0" ViewCount="784" Body="&lt;p&gt;By default files are getting uploaded to the media library folder. How do I make WFFM upload the files to a different path by default? This is in MVC WFFM forms.&lt;/p&gt;&#xA;" OwnerUserId="2280" LastEditorUserId="73" LastEditDate="2017-08-03T12:21:29.883" LastActivityDate="2017-08-03T23:53:22.253" Title="How to restrict file being uploaded to Media Library folder in WFFM MVC" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6878" PostTypeId="2" ParentId="6877" CreationDate="2017-08-03T03:14:35.587" Score="4" Body="&lt;p&gt;One of the properties on the &lt;code&gt;File upload&lt;/code&gt; field type is &lt;code&gt;Upload to&lt;/code&gt;. Select the elipsis then set the correct folder in the media library from the dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to publish the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FRH0f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FRH0f.png&quot; alt=&quot;WFFM Upload to Media Library&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;If you want to always default the value a different folder then you will need to override the field and the attributes of the &lt;code&gt;UploadTo&lt;/code&gt; property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a class with the following, which will be used in the Form Designer interface and WebForms implementations:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System.ComponentModel;&#xA;using Sitecore.Form.Core.Attributes;&#xA;using Sitecore.Form.Core.Visual;&#xA;&#xA;namespace MyProject.CMS.Custom.WFFM.Fields&#xA;{&#xA;    public class FileUpload : Sitecore.Form.Web.UI.Controls.UploadFile&#xA;    {&#xA;        private string uploadDir = &quot;/sitecore/media library/Uploads&quot;;&#xA;&#xA;        [VisualCategory(&quot;Upload&quot;)]&#xA;        [VisualProperty(&quot;Upload To:&quot;, 0)]&#xA;        [VisualFieldType(typeof(SelectDirectoryField))]&#xA;        [DefaultValue(&quot;/sitecore/media library/Uploads&quot;)]&#xA;        public new string UploadTo&#xA;        {&#xA;            get&#xA;            {&#xA;                return this.uploadDir;&#xA;            }&#xA;            set&#xA;            {&#xA;                this.uploadDir = value;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create another class for MVC implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System.ComponentModel;&#xA;&#xA;namespace MyProject.CMS.Custom.WFFM.Fields&#xA;{&#xA;    public class FileUploadField : Sitecore.Forms.Mvc.ViewModels.Fields.FileUploadField&#xA;    {&#xA;        [DefaultValue(&quot;/sitecore/media library/Uploads&quot;)]&#xA;        public string UploadTo { get; set; }&#xA;&#xA;        public FileUploadField()&#xA;        {&#xA;            if (!string.IsNullOrEmpty(this.UploadTo))&#xA;                return;&#xA;            this.UploadTo = &quot;/sitecore/media library/Uploads&quot;;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Set the &lt;code&gt;DefaultValue&lt;/code&gt; and other properties to whatever your default folder should be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next update the &lt;code&gt;File Upload&lt;/code&gt; field located at &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/File Upload&lt;/code&gt; with the details of your assembly:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Assembly:&lt;/strong&gt;  &lt;code&gt;MyProject.CMS.Custom&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Class:&lt;/strong&gt;     &lt;code&gt;MyProject.CMS.Custom.WFFM.Fields.FileUpload&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;MVC Type:&lt;/strong&gt;  &lt;code&gt;MyProject.CMS.Custom.WFFM.Fields.FileUploadField, MyProject.CMS.Custom&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;NOTE: It is recommended that instead of directly updating the above field you instead make a copy and use that copy throughout your forms instead. The downside if you'll have 2 file upload type fields available, but you also risk potential issues if an upgrade modifies this field type.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-08-03T23:53:22.253" LastActivityDate="2017-08-03T23:53:22.253" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="6879" PostTypeId="2" ParentId="2448" CreationDate="2017-08-03T04:25:46.510" Score="0" Body="&lt;p&gt;I got rid of that error by disabling &lt;code&gt;Sitecore.forms.config&lt;/code&gt;. Probably because the wffm was not updated and I now need to update wffm to version 8.&lt;/p&gt;&#xA;" OwnerUserId="2281" LastEditorUserId="605" LastEditDate="2017-08-03T06:30:54.050" LastActivityDate="2017-08-03T06:30:54.050" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6880" PostTypeId="1" AcceptedAnswerId="6897" CreationDate="2017-08-03T06:22:25.673" Score="2" ViewCount="234" Body="&lt;p&gt;The &lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter5.html#tds-classic-builds-using-cloud-servers&quot; rel=&quot;nofollow noreferrer&quot;&gt;TDS documentation&lt;/a&gt; specifies that the TDS_OWNER and TDS_KEY should be added to the environment variables of the build server. &#xA;Does this mean the Windows environment variables through control panel, build configuration variables, or something else?&lt;/p&gt;&#xA;" OwnerUserId="2283" LastEditorUserId="418" LastEditDate="2017-08-03T18:05:31.387" LastActivityDate="2017-08-03T18:13:28.303" Title="TDS Classic 'TDS_OWNER' and 'TDS_KEY' variables with TFS Automated Builds" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6881" PostTypeId="2" ParentId="6876" CreationDate="2017-08-03T07:23:40.497" Score="1" Body="&lt;p&gt;If you don't specify a publishing instance, the instance where the editor clicks &quot;publish&quot; (the 1 CM you have) will be the one publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to specify the publishing instance only when you want to have a specific server, other than the CM, handling the publishing.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-03T07:23:40.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6883" PostTypeId="1" AcceptedAnswerId="6886" CreationDate="2017-08-03T13:09:08.630" Score="4" ViewCount="1452" Body="&lt;p&gt;I am investigating using Sitecore virtual users so that I can authenticate with an external system and log users in that way. However, I also need to be able to support the persistent flag. Currently my code looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;       var virtualUser = AuthenticationManager.BuildVirtualUser($&quot;domain\\{username}&quot;, true);&#xA;        //setup custom properties we want in user&#xA;        virtualUser.Profile.Name = memberData.FirstName;&#xA;        virtualUser.Profile.FullName = $&quot;{memberData.FirstName} {memberData.LastName}&quot;;&#xA;&#xA;        virtualUser.Profile.Save();&#xA;        AuthenticationManager.LoginVirtualUser(virtualUser);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, the &lt;code&gt;AuthenticationManager&lt;/code&gt; class doesn't have a persistent option for logging in virtual users. Is there a reason why persisting virtual user logins is bad/unsupported? What is the recommended workaround? I'm guessing I'll need to setup a concrete membership provider but wanted to see if there is another viable workaround. &lt;/p&gt;&#xA;" OwnerUserId="961" LastEditorUserId="73" LastEditDate="2017-08-03T13:24:33.413" LastActivityDate="2017-08-03T13:44:25.610" Title="Log in virtual user with persistent flag" Tags="|authentication|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6884" PostTypeId="1" CreationDate="2017-08-03T13:14:35.957" Score="1" ViewCount="8353" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mMoqp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mMoqp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've this document called &lt;strong&gt;entities&lt;/strong&gt;.&#xA;I would like to execute this query that contains &quot;IN&quot; to allow me to select a document based on whether one or more values are contained in a string list field:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KfK8k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KfK8k.png&quot; alt=&quot;query&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sample shown includes the value &lt;code&gt;'region:1094'&lt;/code&gt; but it is possible we need to search against more than one value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the code above, I get this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&#xA;      &quot;error&quot;: {&#xA;          &quot;code&quot;: &quot;&quot;,&#xA;          &quot;message&quot;: &quot;Invalid expression: ')' or ',' expected at position 46 in 'entity_type eq 'store' and (ancestors/any(t:t in&#xA;  'region:1094') or entity_id eq 'region:1094')'.\r\nParameter name:&#xA;  $filter&quot;&#xA;      } }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My version is 2016-09-01&lt;/p&gt;&#xA;" OwnerUserId="2275" LastEditorUserId="131" LastEditDate="2017-08-04T10:58:17.767" LastActivityDate="2017-08-04T10:58:17.767" Title="ODATA search against a string collection field, searching for one or more values" Tags="|azure-search|odata|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6885" PostTypeId="2" ParentId="6883" CreationDate="2017-08-03T13:23:43.757" Score="1" Body="&lt;p&gt;Sitecore does not support persistent login for virtual users by design. Virtual users are transitory; they do not persist on the system after the user logs out or their seesion ends. The idea of virtual users is to provide a one time access to the system.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-08-03T13:23:43.757" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6886" PostTypeId="2" ParentId="6883" CreationDate="2017-08-03T13:44:25.610" Score="2" Body="&lt;p&gt;As mentioned already, a Virtual user is transitory - it cannot be persisted from visit to visit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you need to look at this differently. When integrating with an external authentication service, such as ADFS or Azure AD - the login persistence occurs with the authentication service, not in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So when the user goes to a secured page in Sitecore - your code that integrates with the auth service would kick in and redirect the user to the login process - if the user is already logged in, that would then send back the authentication approval and you would run through your code to create the Virtual User etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To the users perception - they are just logged in automatically. It would add complexity to go down the route of having a concrete membership provider when using an external auth service. You would have to sync the users, sync password changes etc... lots of things to go wrong. Letting the service handle the persistence makes the process a lot simpler.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-08-03T13:44:25.610" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6891" PostTypeId="1" AcceptedAnswerId="6909" CreationDate="2017-08-03T16:45:27.903" Score="3" ViewCount="899" Body="&lt;p&gt;The project I am currently working on requires that content created by members of a content authoring team is approved by a review team in order to publish - this is achieved by a workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a requirement that when the reviewer either approves or rejects an item of content, the original author is emailed to tell them that this has happened.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an extended email action in place that fires when the reviewer approves or rejects the content, but I am struggling to work my way back from the Item passed in by the &lt;code&gt;WorkflowPipelineArgs&lt;/code&gt; to the email address of the original creator - &lt;code&gt;Item.Statistics.CreatedBy&lt;/code&gt; returns an empty string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Web searching has proved fruitless. Can anyone advise? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1594" LastEditorUserId="605" LastEditDate="2017-08-03T18:58:58.870" LastActivityDate="2017-08-04T12:42:48.890" Title="Get the email address of an item's creating user in code" Tags="|workflow|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6892" PostTypeId="1" AcceptedAnswerId="6894" CreationDate="2017-08-03T16:58:23.487" Score="3" ViewCount="1944" Body="&lt;p&gt;I am running the following script using SPE Remoting (trying to find all images on all sitecore sites, but this doesn't matter as it is off subject for this post):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module -Name SPE&#xA;$session = New-ScriptSession -Username admin -Password b -ConnectionUri http://sitecorehostname&#xA;&#xA;$script = {Get-ChildItem -Path &quot;master:\&quot; -Recurse | Where-Object { $_.Extension -match &quot;png&quot; -or $_.Extension -match &quot;jpg&quot; -or $_.Extension -match &quot;bmp&quot;}}&#xA;&#xA;$TheStuff = Invoke-RemoteScript -Session $session -ScriptBlock $script &#xA;&#xA;Write-Host $TheStuff&#xA;&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This gives me a timeout error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception calling &quot;ExecuteScriptBlock2&quot; with &quot;5&quot; argument(s): &quot;The&#xA;  operation has timed out&quot; At&#xA;  \Documents\WindowsPowerShell\Modules\SPE\Invoke-RemoteScript.ps1:257&#xA;  char:13&#xA;  +             $response = $singleConnection.Proxy.ExecuteScriptBlock2($ ...&#xA;  +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException&#xA;      + FullyQualifiedErrorId : WebException&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I run the same script in the Sitecore Powershell SPE, it runs fine and returns 4413 records.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The httpRuntime setting in my Sitecore root Web,config is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web&amp;gt;&#xA;        &amp;lt;httpRuntime maxRequestLength=&quot;512000&quot; executionTimeout=&quot;3600&quot; enableKernelOutputCache=&quot;false&quot; relaxedUrlToFileSystemMapping=&quot;true&quot; requestValidationMode=&quot;4.0&quot; enableVersionHeader=&quot;false&quot; /&amp;gt;&#xA;&amp;lt;/system.web&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So that timeout is at 60 minutes. This script times out in 102 seconds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to increase the timeout, or am I invoking an incorrect script?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how I implemented the code, based on the answer below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module -Name SPE&#xA;$session = New-ScriptSession -Username admin -Password b -ConnectionUri http://sitecorehostname&#xA;$jobId = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;        # This may make the code easier to maintain.&#xA;        $extensions = @(&quot;jpg&quot;, &quot;png&quot;, &quot;bmp&quot;)&#xA;        #Get-ChildItem -Path &quot;master:/media library&quot; -Recurse | Where-Object { $_.DisplayName -eq &quot;CoveoFacet&quot;}&#xA;        Get-ChildItem -Path &quot;master:\media library&quot; -Recurse | Where-Object { $extensions -contains $_.Extension } | Select-Object -Property Name, Id, TemplateName&#xA;} -AsJob&#xA;$results = Wait-RemoteScriptSession -Session $session -Id $jobId -Delay 5 -Verbose&#xA;Stop-ScriptSession -Session $session&#xA;&#xA;ForEach($result in $results)&#xA;{&#xA;    Write-Host $result.Name&#xA;    Write-Host $result.Id&#xA;    Write-Host $result.TemplateName&#xA;    Write-Host $newline&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2279" LastEditorUserId="2279" LastEditDate="2017-08-03T20:16:07.697" LastActivityDate="2017-08-03T20:16:07.697" Title="Timeout while running remote script using SPE Remoting" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6893" PostTypeId="2" ParentId="6891" CreationDate="2017-08-03T17:03:27.590" Score="0" Body="&lt;p&gt;First of all check if &quot;Created by&quot; field in &quot;Statistics&quot; section of item is populated in the content editor under admin user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If no then something is wrong with updating statistics. And you should fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If &quot;Created by&quot; field is populated then check that reviewer user have permission to read information from &quot;Created By&quot; field(using Access Viewer). And you will be able either give him this rights or use security disabler to get information from &quot;Created by&quot;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;{&#xA;    //Code to get &quot;Create by&quot; field value&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-08-03T17:03:27.590" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6894" PostTypeId="2" ParentId="6892" CreationDate="2017-08-03T17:11:08.757" Score="4" Body="&lt;p&gt;You'll want to make use of the &lt;code&gt;Wait-RemoteScriptSession&lt;/code&gt; command. A more ideal scenario than increasing the web.config timeout is to simply poll the server for updates. Another idea after discussing could be that the timeout occurs because there is a significant amount of data serialized and returned by the service. The example filters to a few properties using &lt;code&gt;Select-Object&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Module -Name SPE&#xA;$session = New-ScriptSession -Username admin -Password b -ConnectionUri https://remotesitecore&#xA;$jobId = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;        # This may make the code easier to maintain.&#xA;        $extensions = @(&quot;png&quot;,&quot;jpg&quot;,&quot;bmp&quot;)&#xA;        Get-ChildItem -Path &quot;master:\media library&quot; -Recurse | Where-Object { $extensions -contains $_.Extension } | Select-Object -Property Name, ID, TemplateName&#xA;} -AsJob&#xA;Wait-RemoteScriptSession -Session $session -Id $jobId -Delay 5 -Verbose&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-08-03T18:53:43.733" LastActivityDate="2017-08-03T18:53:43.733" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6895" PostTypeId="2" ParentId="6892" CreationDate="2017-08-03T17:13:55.740" Score="3" Body="&lt;p&gt;I think that you are changing timeout wrong web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to change it in web.config located here:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;sitecore modules\PowerShell\Services\web.config&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-08-03T17:13:55.740" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6897" PostTypeId="2" ParentId="6880" CreationDate="2017-08-03T18:13:28.303" Score="3" Body="&lt;p&gt;The TDS_Owner and TDS_KEY variables are only required when using cloud builds. This is because you obviously can't install TDS through the MSI on 'the cloud'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For regular build servers, you just need to install TDS using the MSI, and enter your license details in the steps in that wizard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For cloud builds, you should have the ability to add environment variables to the build settings. For instance, when I use AppVeyor, I can select Project-&gt;Settings-&gt;Environment, and add these variable there.&#xA;For VSTS (which is cloud TFS), you should be able to just add a build variable for each of these settings.&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2017-08-03T18:13:28.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6899" PostTypeId="1" AcceptedAnswerId="6907" CreationDate="2017-08-03T21:32:58.423" Score="3" ViewCount="1692" Body="&lt;p&gt;My team is creating a new site using SXA and I am working on a page which will display a list of event locations and a list of events scheduled at each location. In the content tree, Events are items underneath the Location item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We know how to display a list of event locations using a Page List using the process described &lt;a href=&quot;https://sitecore.stackexchange.com/a/4829/2194&quot; title=&quot;here&quot;&gt;here&lt;/a&gt;. Unfortunately, we can't seem to figure out how to add another another Page List to the event location Page List to display the events.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the event location Page List, we have created a Variant Definition with a Placeholder which worked just fine.  We have added a Page List to the the Placeholder and have been able to configure the second Placeholder to display a given set of data for each location.  We can't, however, figure out how to either 1) display the child items of the location or 2) configure a query that takes the current item as a parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have already tried setting the Source Type on the event Page List to Children, but nothing is displayed.&lt;/p&gt;&#xA;" OwnerUserId="2194" LastEditorUserId="2194" LastEditDate="2017-08-04T16:12:57.280" LastActivityDate="2017-08-04T16:12:57.280" Title="How do you display children of an item in a Page List using SXA?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6900" PostTypeId="2" ParentId="6854" CreationDate="2017-08-04T01:41:28.647" Score="5" Body="&lt;p&gt;OK, the answer is in update 3 of 8.2. In the update, they changed the setting &lt;code&gt;ContentSearch.Analytics.IndexAnonymousContacts&lt;/code&gt; from &lt;code&gt;true&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;. This makes it so the system &lt;strong&gt;ONLY&lt;/strong&gt; tracks visitors that have been identified in xDB. Via a login, EXM or some other means. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is in the config file Sitecore.ContentSearch.Analytics.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;!--  CONTENT SEARCH - ANALYTICS - INDEX ANONYMOUS CONTACTS&#xA;            This setting specifies whether anonymous contacts and their interactions are indexed.&#xA;            If true, all contacts and all their interactions are indexed.&#xA;            If false, only identified contacts and their interactions are indexed.&#xA;            Default value: false&#xA;            --&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Analytics.IndexAnonymousContacts&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;8.2 Update 3 &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update3/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To improve performance and optimize indexing, in the Sitecore.ContentSearch.Analytics.config file, we changed the default value of ContentSearch.Analytics.IndexAnonymousContacts setting from true to false. We also updated the description of this setting to explicitly state that false is the new default value.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="432" LastEditorUserId="3681" LastEditDate="2018-07-26T09:37:24.100" LastActivityDate="2018-07-26T09:37:24.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6901" PostTypeId="1" CreationDate="2017-08-04T06:49:26.607" Score="3" ViewCount="3680" Body="&lt;p&gt;How do I get User Roles based on Username?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UserRoles roles = user.Roles;&#xA;string role = roles.GetEnumerator().ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I have a user, I can get it like this. But how do I get the roles when all I have is a Username?&lt;/p&gt;&#xA;" OwnerUserId="2192" LastEditorUserId="73" LastEditDate="2017-08-04T14:13:39.837" LastActivityDate="2020-09-26T21:41:37.170" Title="Getting User Roles from Username" Tags="|user-management|membership-provider|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6902" PostTypeId="2" ParentId="6901" CreationDate="2017-08-04T07:00:26.153" Score="7" Body="&lt;p&gt;To get a user by a username you can use : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class UserRepository&#xA;{&#xA;    public static User GetUser(string domainName, string userName)&#xA;    {&#xA;       if (User.Exists(domainName + @&quot;\&quot; + userName))&#xA;       {&#xA;           return User.FromName(domainName + @&quot;\&quot; + userName, true);&#xA;       }&#xA;       return null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To get a user roles you can use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  Sitecore.Security.Accounts.User user = UserRepository.GetUser(&quot;yourdomain&quot;,&quot;youruserName&quot;);&#xA;&#xA;  if (user==null) return;&#xA;&#xA;  var rolesList = user.Roles.ToList();&#xA;&#xA;  foreach(var role in rolesList)&#xA;  {&#xA;     var roleName = role.DisplayName;&#xA;     var roleDomain = role.Domain;&#xA;     // you have all the properties of a role in role object&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="70" LastEditDate="2017-08-04T13:50:56.313" LastActivityDate="2017-08-04T13:50:56.313" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6903" PostTypeId="2" ParentId="6899" CreationDate="2017-08-04T07:49:48.567" Score="0" Body="&lt;p&gt;The &quot;children&quot; option in the source type will list the children of the current item, which is in your case the item that displays the list - not the event location item. Assuming that the events are under the event location, you will not find them this way. (had to make a few assumptions here as it's not clear how your content is organized in Sitecore)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option is to use an &quot;Item Query&quot;. That is a predefined query (under &lt;code&gt;settings/item queries&lt;/code&gt;) that you are able to use in the page list (more info on &lt;a href=&quot;https://ggullentops.blogspot.be/2017/04/sitecore-sxa-pagelist-item-query.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;my blog&lt;/a&gt;). But as you need the parent item as a parameter in the query, I don't see how this would match your requirement either - you can set a start point in a query, but I don't think you can make it configurable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next option could be not to use another page list, but fix it in the original variant definition (let that variant display the children). It won't work out of the box, but you might be able to get it done with a NVelocity template (intro on on M.West &lt;a href=&quot;https://michaellwest.blogspot.be/2017/04/custom-rendering-variant-token-tool-for-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt;). Problem here is that you crossed the line to custom coding, and you should wonder if it won't be easier to create the necessary component in a custom way all together...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And actually, I'm afraid that might be the best answer for you. Create a custom rendering... Use variants in your custom rendering (&lt;a href=&quot;https://ggullentops.blogspot.be/2017/03/variants-sxa-sitecore-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt;) to make them easier to maintain. And add the rendering to the sxa system. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-08-04T07:49:48.567" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6904" PostTypeId="2" ParentId="6884" CreationDate="2017-08-04T08:00:48.073" Score="2" Body="&lt;p&gt;Going to take a punt based on the ODATA syntax operators listed at &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/odata-expression-syntax-for-azure-search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/rest/api/searchservice/odata-expression-syntax-for-azure-search&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This appears to suggest that &lt;code&gt;any()&lt;/code&gt; and &lt;code&gt;all()&lt;/code&gt; functions don't support arbitrary lambdas but only those of simple equality or with the &lt;code&gt;search.in()&lt;/code&gt; function, which is probably not what you want.  If I'm right in guessing that you would like any document that contains the value 'region:1094' within the &lt;code&gt;Collection(Edm.String)&lt;/code&gt; value for the &lt;code&gt;ancestors&lt;/code&gt; field you will probably get the result you're looking for from something along the lines of the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;entity_type eq 'store' and (ancestors/any(t: t eq 'region:1094') or (entity_id eq 'region:1094'))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In plain English I would describe this search as &lt;em&gt;any document such that&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the &lt;code&gt;entity_type&lt;/code&gt; value is &lt;code&gt;'store'&lt;/code&gt;, and&lt;/li&gt;&#xA;&lt;li&gt;either&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the &lt;code&gt;entity_id&lt;/code&gt; value is &lt;code&gt;'region:1094'&lt;/code&gt;, or&lt;/li&gt;&#xA;&lt;li&gt;the value &lt;code&gt;'region:1094'&lt;/code&gt; is contained in the list of values in the &lt;code&gt;ancestors&lt;/code&gt; field&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It's not clear why you have decided you &lt;strong&gt;must&lt;/strong&gt; use the &lt;code&gt;in&lt;/code&gt; operator (not even totally sure there &lt;em&gt;is&lt;/em&gt; an &lt;code&gt;in&lt;/code&gt; operator in ODATA actually).  Perhaps you can clarify that in your question?  Typically the &lt;code&gt;any()&lt;/code&gt; or &lt;code&gt;all()&lt;/code&gt; functions accept a lambda to be executed against all the elements of a list, and pass that value to the lambda (that's the &lt;code&gt;t:&lt;/code&gt; bit in your query).  &lt;code&gt;in&lt;/code&gt; would seem redundant in this context, right?  Unless you mean that &lt;code&gt;region:1024&lt;/code&gt; is only &lt;strong&gt;part&lt;/strong&gt; of the value you're searching for.  In which case you should try the functions &lt;code&gt;startswith(myField,'val')&lt;/code&gt;, &lt;code&gt;endswith(myField,'val')&lt;/code&gt; or &lt;code&gt;substringof(myField,'val')&lt;/code&gt;.  Note that while these are all valid ODATA operators the doco above explicitly states that only simple equality operators are supported by the &lt;code&gt;all()&lt;/code&gt; and &lt;code&gt;any()&lt;/code&gt; functions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; To extend the above search to cover two fields (assuming these are 'equals' matches and not partial matches) such as &lt;code&gt;'region:1094'&lt;/code&gt; and &lt;code&gt;'store:361'&lt;/code&gt; you can use something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;entity_type eq 'store' and (ancestors/any(t: search.in(t,'region:1094|store:361','|') ) or (entity_id eq 'region:1094'))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;search.in()&lt;/code&gt; function will return &lt;code&gt;true&lt;/code&gt; if the value in the first parameter (the field) matches any of the values in the second parameter which should be comma-separated.  If supplied, the third parameter (in the above case, &lt;code&gt;|&lt;/code&gt;) swaps a comma list item separator for whatever is supplied.  I prefer the pipe since it's less likely to appear as a value - I assume your values are user-generated in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Otherwise, swapping to the Lucene syntax will support the expressiveness of the query you are trying to form? &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/lucene-query-syntax-in-azure-search&quot; rel=&quot;nofollow noreferrer&quot;&gt;Try doco here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="131" LastEditorUserId="131" LastEditDate="2017-08-04T10:53:31.530" LastActivityDate="2017-08-04T10:53:31.530" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="6905" PostTypeId="1" CreationDate="2017-08-04T10:00:02.280" Score="1" ViewCount="64" Body="&lt;p&gt;I'm doing some testing for our client on my local environment but I can't see any suggested tests.&#xA;I've inspected the sitecore_suggested_test_index and it contains documents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone has an idea why it is empty? Or knows a way to force suggested tests in the list?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kB35X.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kB35X.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="73" LastEditDate="2017-08-04T10:11:57.343" LastActivityDate="2017-08-04T10:11:57.343" Title="How to test Suggested Tests? List is empty" Tags="|xdb|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6906" PostTypeId="1" AcceptedAnswerId="6908" CreationDate="2017-08-04T10:11:01.193" Score="8" ViewCount="1422" Body="&lt;p&gt;I am using the Sitecore 8.2 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a template &lt;strong&gt;T1&lt;/strong&gt; which has rendering &lt;em&gt;R1&lt;/em&gt; set on its Standard Values (set a long time ago, maybe at the age of Sitecore 7 or earlier). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a set of templates &lt;strong&gt;T2&lt;/strong&gt;, &lt;strong&gt;T3&lt;/strong&gt;, etc. which inherit presentation details from the &lt;strong&gt;T1&lt;/strong&gt; standard values + each of them has some additional renderings assigned to their Standard Values. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that if I update a placeholder name of &lt;em&gt;R1&lt;/em&gt; on the &lt;strong&gt;T1&lt;/strong&gt; standard values, &lt;em&gt;it is not populated to the rest of the inherited templates&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Is that an expected behavior?&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;What would be your suggestion on updating all of the template's placeholders for R1?&lt;/em&gt;  &lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="982" LastEditDate="2017-08-06T07:03:17.277" LastActivityDate="2017-08-06T07:03:17.277" Title="Updating Presentation details and Template Inheritance (Rendering Inheritance)" Tags="|presentation|best-practices|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6907" PostTypeId="2" ParentId="6899" CreationDate="2017-08-04T10:20:02.533" Score="2" Body="&lt;p&gt;In fact, you don't need Page List for this at all. Thanks to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rendering Variants&lt;/a&gt; and Query field which is available there you can render the whole tree of items on the page using just Page Content. All you need to do is to create proper queries. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EZFiH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EZFiH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just put Page Content rendering on a home item and use bellow Items Tree variant for Page Content. It will render Title of Home item and then should render titles of child items.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-08-04T10:20:02.533" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6908" PostTypeId="2" ParentId="6906" CreationDate="2017-08-04T11:28:03.640" Score="6" Body="&lt;p&gt;By default, Sitecore doesn't support rendering inheritance for templates standard value items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you created T2 and T3 standard values items, the &lt;code&gt;__Rendering&lt;/code&gt; and &lt;code&gt;__Final Rendering&lt;/code&gt; field values were copied from T1, not inherited. That's why modifying the rendering of T1 standard values doesn't affect T2 and T3 standard values rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple of blog posts with workarounds to get the desired behavior using layout deltas (also called patches). Here's one of them: &lt;a href=&quot;https://www.cognifide.com/our-blogs/sitecore/complex-layouts-in-sitecore-using-standard-values-hierarchy/&quot; rel=&quot;noreferrer&quot;&gt;https://www.cognifide.com/our-blogs/sitecore/complex-layouts-in-sitecore-using-standard-values-hierarchy/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The idea is to attach to the item saved event, monitor standard values items changes, and modify what is about to be saved for the &lt;code&gt;__Rendering&lt;/code&gt; and &lt;code&gt;__Final Rendering&lt;/code&gt; field values. The original value would be a copy of the base template field plus the changes that were done. You have to calculate the delta between this value and the base template field value. Then store this delta in the field instead.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2017-08-04T11:28:03.640" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6909" PostTypeId="2" ParentId="6891" CreationDate="2017-08-04T12:42:48.890" Score="4" Body="&lt;p&gt;This post is an old one from Alex Shyba: &lt;a href=&quot;http://sitecoreblog.alexshyba.com/who_moved_the_item_to_the_workflow_state/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreblog.alexshyba.com/who_moved_the_item_to_the_workflow_state/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It highlights a way to go back through the workflow history to find a user. This can be more accurate than going to the Created field as an item might go through workflow multiple times, or the user that created an item might not be the one who edits it and sends it into the workflow for review. The code below might need some updating for your version of Sitecore, but the concepts should be accurate.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override string GetRecipient(WorkflowPipelineArgs args)&#xA; {&#xA;    IWorkflowProvider workflowProvider = Context.ContentDatabase.WorkflowProvider;&#xA;&#xA;    if (workflowProvider != null)&#xA;    {&#xA;       IWorkflow workflow = workflowProvider.GetWorkflow(args.DataItem[FieldIDs.Workflow]);&#xA;&#xA;       if (workflow != null)&#xA;       {&#xA;           WorkflowEvent[] history = workflow.GetHistory(args.DataItem);&#xA;           if (history.Length &amp;gt; 0)&#xA;           {&#xA;               WorkflowEvent wfEvent = history[history.Length - 1];&#xA;               string fullUserName = wfEvent.User;&#xA;&#xA;               if (User.Exists(fullUserName))&#xA;               {&#xA;                  System.Web.Security.MembershipUser mUser = Membership.GetUser(fullUserName);&#xA;&#xA;                  if (mUser.Email != string.Empty)&#xA;                  {&#xA;                       return mUser.Email;&#xA;                  }&#xA;               }&#xA;           }&#xA;        }&#xA;     }&#xA;  }&#xA;&#xA; return string.Empty;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-08-04T12:42:48.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6910" PostTypeId="1" AcceptedAnswerId="6917" CreationDate="2017-08-04T15:24:10.133" Score="3" ViewCount="367" Body="&lt;p&gt;In a speak application I am trying to get a csv file that I will send to a controller when a button is clicked. The content editor should be able to select the csv file from their local instance so I am currently trying to use the uploader rendering to do this (&lt;code&gt;/sitecore/client/Business Component Library/version 1/Layouts/Renderings/Forms/Uploader&lt;/code&gt;). &lt;a href=&quot;https://www.screencast.com/t/9c2i7lP2Y&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here are my dialog's renderings.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my javascript when the submit button is clicked I cannot seem to get the file a user uploads. &lt;a href=&quot;https://www.screencast.com/t/CS2PaJVB&quot; rel=&quot;nofollow noreferrer&quot;&gt;This is what I see in the console.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the js associated with my speak dialog:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;], function (Sitecore) {&#xA;    var extendedPage = Sitecore.Definitions.App.extend({&#xA;        initialized: function () {&#xA;&#xA;        },&#xA;        initialize: function () {&#xA;&#xA;        },&#xA;        //button click&#xA;        generateItems: function () {&#xA;            var self;&#xA;&#xA;            self = this;&#xA;&#xA;            var attributes = self.Uploader.attributes;&#xA;&#xA;        }&#xA;    });&#xA;&#xA;    return extendedPage;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would also like to know if the uploader can be restricted to allowing a single file to be uploaded.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="2727" LastEditDate="2018-03-25T00:26:13.580" LastActivityDate="2018-03-25T00:26:13.580" Title="Speak Upload CSV File &quot;can uploader be restricted to allowing a single file to be uploaded?&quot;" Tags="|speak|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6911" PostTypeId="1" AcceptedAnswerId="6922" CreationDate="2017-08-04T15:24:41.770" Score="6" ViewCount="1260" Body="&lt;p&gt;I am trying to create an XDB contact when someone submits a contact form.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Session.Identify(model.Email);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Above line is creating a contact with an identifier (in this case email).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, is there any special reason to create a contact separately like mentioned in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3054/how-to-create-or-update-list-of-contacts-in-xdb/3058#3058&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public override Contact GetXdbContact(string identifier)&#xA; {&#xA;    var contact = XdbContactRepository.LoadContactReadOnly(identifier);&#xA;&#xA;    if (contact != null) return contact;&#xA;&#xA;    var leaseOwner = new LeaseOwner(GetType()  + Guid.NewGuid().ToString(),LeaseOwnerType.OutOfRequestWorker);&#xA;&#xA;    contact = XdbContactRepository.CreateContact(Guid.NewGuid());&#xA;&#xA;    if (contact == null) return null;&#xA;&#xA;    contact.Identifiers.Identifier = identifier;&#xA;&#xA;    //Setting these values allows processing and aggregation to process this contact without erroring.&#xA;    contact.System.Value = 0;&#xA;    contact.System.VisitCount = 0;&#xA;&#xA;    //MAKE OTHER Contact Changes here too if you need to on Create.&#xA;&#xA;    XdbContactRepository.SaveContact(contact, new ContactSaveOptions(true,leaseOwner));&#xA;&#xA;    return contact;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which way is better?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="237" LastEditDate="2017-08-04T15:26:34.793" LastActivityDate="2017-08-04T21:14:58.140" Title="Difference between Identify contact and create a contact" Tags="|xdb|contact-facets|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6912" PostTypeId="2" ParentId="6911" CreationDate="2017-08-04T15:40:35.893" Score="5" Body="&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No, just use that method, it's enough.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Long answer&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, Sitecore has already created a contact the first time it requested a page and tracked information against that contact. You may not see it in mongo yet if it's the first visit, but Sitecore has already created that contact in memory, as unknown and without an identifier, so there is no point creating a new one. Even more, creating a new one, you would lose all the information already tracked against the first one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you use the method &quot;identify&quot;, you are telling Sitecore that you know that &quot;person&quot;. If the system already has information about that &quot;person&quot; as a contact in Mongo, it will merge both, having all the information in a single contact, if not, it will simply mark this contact (The one in memory) as &quot;known&quot; and assign the email as identifier. Once the session ends, it will then be saved to mongo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example that you mentioned is designed for creating contacts from scratch, in your case, as the user is browsing the site, Sitecore already did the dirty job for you.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-04T15:40:35.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6913" PostTypeId="1" AcceptedAnswerId="6939" CreationDate="2017-08-04T16:11:25.237" Score="0" ViewCount="876" Body="&lt;p&gt;I have a form at my page and postback action to controller rendering, sitecore 8.2 I wounder why Sitecore.Analytics.Tracker.Current.Contact is null at postback ?&#xA;at all other parts it works correctly including WebApi,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;public ActionResult CPostback(CPostbackModel postbackData)&#xA;{&#xA;    Sitecore.Analytics.Tracker.Current.Contact - null &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;how to fix it ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using(Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post, new { @class=&quot;comp-entry-form comp-entry-full-width&quot; }))&#xA;{&#xA;    @Html.Sitecore().FormHandler(&quot;Comp&quot;,&quot;CPostback&quot;)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="73" LastEditDate="2017-08-04T16:24:27.140" LastActivityDate="2017-08-07T09:53:56.243" Title="Sitecore.Analytics.Tracker.Current.Contact is null at controller post back action" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6914" PostTypeId="1" CreationDate="2017-08-04T16:41:43.793" Score="1" ViewCount="329" Body="&lt;p&gt;I need to create a unit test that will use the following pipeline&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Analytics.Pipelines.StartTracking&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It then needs to see if the tracking is enabled and then check if a cookie exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I saw some code that could help me get started but I am new to pipeline unit tests for Sitecore so I am a little confused what I need to do to make it work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using xunit and Sitecore.FakeDB for Sitecore version: 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Fact]&#xA;public void ProcessTest()&#xA;{&#xA;    var args = new Sitecore.Pipelines.PipelineArgs();&#xA;&#xA;    using (Sitecore.FakeDb.Db db = new Sitecore.FakeDb.Db())&#xA;    {&#xA;        // register a processor mock in the Pipeline Watcher&#xA;        var processor = Substitute.For&amp;lt;Sitecore.FakeDb.Pipelines.IPipelineProcessor&amp;gt;();&#xA;        db.PipelineWatcher.Register(&quot;mypipeline&quot;, processor);&#xA;&#xA;        // call the pipeline&#xA;        Sitecore.Pipelines.CorePipeline.Run(&quot;mypipeline&quot;, args);&#xA;&#xA;        // check the mocked processor is called&#xA;        processor.Received().Process(args);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="766" LastActivityDate="2017-08-04T16:41:43.793" Title="Analytics Tracking Unit Test" Tags="|unit-testing|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6915" PostTypeId="1" CreationDate="2017-08-04T17:50:42.620" Score="1" ViewCount="254" Body="&lt;p&gt;Based on the folder structure below, I am trying to display all the locations on a page, each of them having their own carousel item (each carousel item has different images inside.) I can display a carousel for each item using rendering variants (insert a placeholder and assign a carousel to it) but I can't find a way to point each carousel component to its correspondent carousel item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B112y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B112y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know of an out of the box way to do something like this?&lt;/p&gt;&#xA;" OwnerUserId="1327" LastEditorUserId="73" LastEditDate="2017-08-04T18:08:22.887" LastActivityDate="2017-09-04T08:59:55.553" Title="List items that each contain a different Carousel Item" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6916" PostTypeId="1" AcceptedAnswerId="6918" CreationDate="2017-08-04T18:35:38.893" Score="5" ViewCount="388" Body="&lt;p&gt;I'm able to update the &lt;code&gt;package.xml&lt;/code&gt; using below script in command-line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;gulp -b &quot;D:\projects\Habitat&quot; --color --gulpfile &quot;D:\projects\Habitat\Gulpfile-ci.js&quot; CI-Do-magic&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;package.xml&lt;/code&gt; is located here on Github - &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/package.xml&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/package.xml&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help in understanding the purpose of &lt;code&gt;package.xml&lt;/code&gt; and how it is used for deployment (if it is meant for it)?&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2017-08-07T17:28:09.190" Title="Does the package.xml file in Habitat project help to deploy to server and how?" Tags="|habitat|gulp|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6917" PostTypeId="2" ParentId="6910" CreationDate="2017-08-04T18:39:54.947" Score="3" Body="&lt;p&gt;You can easily achieve this by using Sitecore Powershell. If Sitecore Powershell is an option, you can easily create a dialog with SPE and also perform an upload of files. The below script will allow you to specify the folder you want to store the csv file and also whether the user can overwrite existing file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$props = @{&#xA;    Parameters = @(&#xA;        @{ Name = &quot;fileSystem&quot;; Title = &quot;Destination Folder&quot;; Tab = &quot;General&quot; },&#xA;        @{ Name = &quot;overwriteFile&quot;; Value=$false; Title = &quot;Overwrite existing file&quot;; Tooltip=&quot;Check this if you want to overwrite existing file&quot;; Tab = &quot;General&quot; }&#xA;    )&#xA;    Title = &quot;File Uploader&quot;&#xA;    Description = &quot;Fills in the required fields below&quot;&#xA;    OkButtonName = &quot;Proceed&quot;&#xA;    CancelButtonName = &quot;Abort&quot;&#xA;    Width = 500&#xA;    Height = 500&#xA;}&#xA;&#xA;$result = Read-Variable @props &#xA;&#xA;if ($result -ne &quot;ok&quot;) {&#xA;    Exit&#xA;}&#xA;&#xA;$uploadPath = $AppPath + $fileSystem&#xA;&#xA;if($overwriteFile -eq 1){&#xA;    Receive-File -Title &quot;CSV Uploader&quot; $uploadPath -Overwrite&#xA;} else{&#xA;    Receive-File -Title &quot;CSV Uploader&quot; $uploadPath&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is a screenshot of the flow&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Tg2Au.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Tg2Au.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You only require to create a button which will perform the powershell script call to trigger the script above.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-08-04T18:39:54.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6918" PostTypeId="2" ParentId="6916" CreationDate="2017-08-04T19:20:45.833" Score="4" Body="&lt;p&gt;I believe the use of this package is internal to Sitecore employees who maintain and publish the demo on GitHub: &lt;a href=&quot;https://github.com/Sitecore/Habitat/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/releases&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They update the file, upload it to Sitecore, manually create a Sitecore package with it and upload that package to GitHub. Maybe they to the above automatically using custom CI tasks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have done some work with the scripts used to generate this package some months ago. I found out the users/roles are not included in the file anymore. That's a problem of recent official Habitat packages from some time.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2017-08-04T19:20:45.833" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6919" PostTypeId="1" CreationDate="2017-08-04T19:29:38.323" Score="6" ViewCount="358" Body="&lt;p&gt;The challenge I am trying to solve is to create dynamic roles for an SXA site, knowing that my client will be creating multiple SXA sites over time, and thinking that possibly the best way to accomplish this is to tap into the Powershell scripts that are being fired when the &quot;Setup Security&quot; option is selected under a given site.  If anyone has a perspective about solving this in general, or if they could direct me to where I can find those Powershell scripts to modify them, I would be very appreciative!&lt;/p&gt;&#xA;" OwnerUserId="2289" LastEditorUserId="95" LastEditDate="2017-08-04T20:04:53.263" LastActivityDate="2017-08-05T23:21:10.937" Title="Setting up automated role creation for various SXA sites" Tags="|security|sxa|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6920" PostTypeId="2" ParentId="6919" CreationDate="2017-08-04T20:04:37.240" Score="5" Body="&lt;p&gt;David, you've come to the right place! When we rolled out an SXA site (v 1.3) there was no supplied examples to manage security.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SPE provides some simple commands to do what you are asking.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Script Samples&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; Create a new editor user for your domain and add to an existing domain role.&#xA;    $editor = New-User -Identity &quot;company\Editor-Eddie&quot; -Password &quot;Sitecore!&quot; -Email &quot;editor-eddie@company.demo&quot; -FullName &quot;Editor Eddie&quot; -Enabled&#xA;    Add-RoleMember -Identity &quot;company\editor&quot; -Members $editor&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; Assign security to the Virtual Data Item template so that everyone has access to create local page data. A helper function was used because you may have to do this for several roles on several items.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function New-AccessRuleList {&#xA;    [CmdletBinding()]&#xA;    [OutputType(&quot;System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]&quot;)]&#xA;    param(&#xA;        [string]$Identity,&#xA;        [string[]]$AccessRule,&#xA;        [Sitecore.Security.AccessControl.PropagationType]$PropagationType,&#xA;        [Sitecore.Security.AccessControl.SecurityPermission]$SecurityPermission&#xA;    )&#xA;&#xA;    $list = New-Object &quot;System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]&quot;&#xA;    foreach($rule in $accessrule) {&#xA;        $list.Add((New-ItemAcl -Identity $Identity -AccessRight $rule -PropagationType $PropagationType -SecurityPermission $SecurityPermission))&#xA;    }&#xA;    @(,$list)&#xA;}&#xA;&#xA;$allowItemProps = @{&#xA;    PropagationType = [Sitecore.Security.AccessControl.PropagationType]::Entity&#xA;    SecurityPermission = [Sitecore.Security.AccessControl.SecurityPermission]::AllowAccess&#xA;}&#xA;&#xA;function Setup-SystemEveryoneSecurity {&#xA;    Write-Host &quot;[System Settings Security]&quot; -Foreground Yellow&#xA;    $realEveryone = &quot;\Everyone&quot;&#xA;&#xA;    $virtualDataItem = Get-Item -Path &quot;master:&quot; -ID &quot;{9700DC24-8969-4638-ACC3-34D54335829E}&quot;&#xA;    $accessRules = New-Object Sitecore.Security.AccessControl.AccessRuleCollection&#xA;    $accessRules.AddRange((New-AccessRuleList -Identity $realEveryone -AccessRule item:create @allowItemProps))&#xA;    $virtualDataItem | Add-ItemAcl -AccessRules $accessRules&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Documentation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Start with the book &lt;a href=&quot;https://doc.sitecorepowershell.com/users-and-roles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; and work your way to viewing all of the security commands.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module also comes with some examples for building dialogs. Check out the &lt;em&gt;Getting Started&lt;/em&gt; module for examples on the use of &lt;code&gt;Read-Variable&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-08-05T23:21:10.937" LastActivityDate="2017-08-05T23:21:10.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6921" PostTypeId="2" ParentId="6910" CreationDate="2017-08-04T20:57:11.153" Score="2" Body="&lt;p&gt;I was able to get this off the ground as a speak application but I had to use FormData to pass it off to a controller. Here are the steps I took:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a UploaderInfo rendering to my speak application. Then in my js instead of using the Uploader control I got the file by using my upload info field. I created a FormData object and appended it to that. Here's what my sample js ended up looking like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;], function (Sitecore) {&#xA;    var extendedPage = Sitecore.Definitions.App.extend({&#xA;        initialized: function () {&#xA;&#xA;        },&#xA;        initialize: function () {&#xA;&#xA;        },&#xA;        generateItems: function () {&#xA;            var self = this;&#xA;&#xA;            var files = self.UploaderInfo.viewModel.files();&#xA;            var file = files != null &amp;amp;&amp;amp; files.length === 1 ? files[0].data() : null;&#xA;&#xA;            if (file != null) {&#xA;&#xA;                var formData = new FormData();&#xA;                formData.append(&quot;csv&quot;, file);&#xA;&#xA;                jQuery.ajax({&#xA;                    processData: false,&#xA;                    contentType: false,&#xA;                    type: &quot;POST&quot;,&#xA;                    url: &quot;/api/sitecore/Generator/GenerateItems&quot;,&#xA;                    data: formData,&#xA;                    success: function(data) {&#xA;                        //close our dialog&#xA;                        window.top.dialogClose();&#xA;                    },&#xA;                    error: function(e) {&#xA;&#xA;                    },&#xA;                    complete: function(e) {&#xA;&#xA;                    }&#xA;                });&#xA;            }&#xA;        }&#xA;    });&#xA;&#xA;    return extendedPage;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Controller's method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [System.Web.Http.AcceptVerbs(&quot;POST&quot;)]&#xA;    [RequireAuthentication]&#xA;    public object BatchGenerate()&#xA;    {&#xA;        //get file by key added to FormData&#xA;        var csv = Request.Files[&quot;csv&quot;];&#xA;&#xA;        //do logic here&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you are against adding the UploaderInfo rendering another option would be to call &lt;code&gt;MyUploaderId.viewModel.upload()&lt;/code&gt; and then find the file that was just uploaded. If you were to use that approach &lt;a href=&quot;https://mikerobbins.co.uk/2014/10/30/sitecore-speak-uploader-uploaded-item/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this post&lt;/a&gt; looks like the way to get the media item that gets uploaded.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because this is something that I'm going to need to run once to import some items I'm going to use Hishaam's solution. If someone needs a way for a content editor in a speak application to upload a file this is a possible solution provided their browser supports FormData.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-08-04T21:03:15.867" LastActivityDate="2017-08-04T21:03:15.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6922" PostTypeId="2" ParentId="6911" CreationDate="2017-08-04T21:06:39.303" Score="5" Body="&lt;p&gt;@VicentGaliana is exactly right. The difference between &lt;em&gt;identifying&lt;/em&gt; a contact and &lt;em&gt;creating&lt;/em&gt; a contact essentially boils down to whether or not you are able to &quot;recognize&quot; the contact. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What is contact identification and why is it important?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Think of a contact's session like short-term memory. The contact is here, and while the contact is here you remember who they are. You can personalize them based on their interactions, etc. Once that uses leaves the site and you no longer have the contact in session, how are you supposed to know who that user was?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Identifying&lt;/em&gt; a contact is essentially using data that is unique to the user to remember who (s)he is on return visits. For sites that have membership, the most common indentifier that I have seen is &quot;username&quot;. As soon as the visitor logs into the site, the contact is identified by username, causing the information from their current visit to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/merge_contacts&quot; rel=&quot;noreferrer&quot;&gt;automatically merge&lt;/a&gt; with information from their previous visit and enabling you to personalize their experience based on their previous behavior, as well as their current behavior. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Example&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Imagine that you have membership on your website, and once a user logs in you then identify that user's contact via the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Session.Identify(Sitecore.Contact.User.Profile.UserName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Every time the user returns to your site and logs in, the contact/tracking information from their current visit will combine with that of their previous visits via &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/contacts/merge_contacts&quot; rel=&quot;noreferrer&quot;&gt;contact merging&lt;/a&gt;, enabling you to personalize the user's experience based on both their past and present contact history. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Contact creation with &lt;code&gt;VisitorIdentification&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Like Vicent said, you don't need to actually create contacts on your own, manually. Remember that &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; call that everyone says you need to have in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; of all of the pages that you want Sitecore to track on? IMHO this method should have been named &lt;code&gt;GetOrCreateVisitor&lt;/code&gt;, or something like that. When you think about this method, think &quot;creation&quot; instead of &quot;identification&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;VisitorIdentification&lt;/code&gt; method is basically responsible for creating the contact if this is the first visit, or else retrieving the contact (which may or may not have already been identified) from session. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;More on Contact Identification and Merging&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Have a look at &lt;a href=&quot;https://sitecore.stackexchange.com/a/4725/423&quot;&gt;this post&lt;/a&gt; (it's a bit lengthy), and scroll to the sub-section entitled &quot;Understanding Contact Identification&quot;. There you will find a more detailed explanation of contact identification and merging.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-04T21:14:58.140" LastActivityDate="2017-08-04T21:14:58.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6923" PostTypeId="2" ParentId="6916" CreationDate="2017-08-04T21:11:26.857" Score="4" Body="&lt;p&gt;After reading @jflheureux's answer and little bit digging around Habitat release package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First Aha!, it is a Sitecore package definition file which contains everything - content items, security items, files. Second Aha!, we can &lt;code&gt;Generate Package&lt;/code&gt; using &lt;code&gt;Sitecore Rocks&lt;/code&gt; by using &lt;code&gt;package.xml&lt;/code&gt; which is a similar process as &lt;code&gt;Package Designer&lt;/code&gt; in &lt;code&gt;Sitecore Desktop&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To test this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I just had to rename &lt;code&gt;package.xml&lt;/code&gt; to &lt;code&gt;HabitatBuild.package&lt;/code&gt; and open this file using Visual Studio with Sitecore Rocks preinstalled.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Manual steps to make this working:  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Rename &lt;code&gt;package.xml&lt;/code&gt; to &lt;code&gt;HabitatBuild.package&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open Visual Studio&lt;/li&gt;&#xA;&lt;li&gt;Make sure you have Sitecore Rocks extension installed in Visual Studio&lt;/li&gt;&#xA;&lt;li&gt;Make sure you have Sitecore website connection added in Sitecore Explorer&lt;/li&gt;&#xA;&lt;li&gt;Open &lt;code&gt;HabitatBuild.package&lt;/code&gt; in Visual Studio&lt;/li&gt;&#xA;&lt;li&gt;Select the Sitecore website for connection in pop-up dialog&lt;/li&gt;&#xA;&lt;li&gt;Click on &lt;code&gt;Build&lt;/code&gt; button&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Still, I need to find out how to automate this process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks again @jflheureux for helping indirectly :)&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We can use the &lt;code&gt;Package Designer&lt;/code&gt; directly with &lt;code&gt;package.xml&lt;/code&gt;, just drop the file in &lt;code&gt;Data/packages&lt;/code&gt; folder of Sitecore instance and Open the &lt;code&gt;package.xml&lt;/code&gt; from &lt;code&gt;Package Designer&lt;/code&gt; and generate the package.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2017-08-07T17:28:09.190" LastActivityDate="2017-08-07T17:28:09.190" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6926" PostTypeId="2" ParentId="6915" CreationDate="2017-08-05T08:02:36.117" Score="1" Body="&lt;p&gt;I'm afraid this won't be possible with Page List + variant with the placeholder. In general, it might be hard to achieve this out of the box.&#xA;I would try to output just images and then use Java Script to turn HTML into a carousel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem with list components and placeholders in variants is that for example, Page List is not switching context item. For the placeholder generated by Page List current page list item should be taken as a context item. But I'm afraid that it's not like that and page on which Page List is placed is treated as a context item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I knew that we were discussing this problem some time ago but I'm not sure if this has already been solved. I would need to check this...&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-08-05T08:02:36.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6927" PostTypeId="2" ParentId="6855" CreationDate="2017-08-05T17:57:40.437" Score="1" Body="&lt;p&gt;One way to do this is to use a controller rendering. On the personalization tab, you can define your conditions and action.&#xA;Instead of picking a content in the action, you can choose an item that will contain parameters for your query in the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yc235.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yc235.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here the UK users contains parameters such as Country, Content Type, Total Count, Sort By.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iev8k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iev8k.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in your controller, you will need to retrieve these values. The item &lt;code&gt;UK users&lt;/code&gt; will be passed as a datasource to the controller. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class BlockAggregatorController : SitecoreController&#xA;{&#xA;    public ActionResult RenderBox()&#xA;    {&#xA;        var currentDatasource = Datasource;&#xA;&#xA;        var totalCount= currentDatasource.Fields[&quot;Total Count&quot;].Value;&#xA;        //get the other values you need to do the index query&#xA;&#xA;&#xA;    }&#xA;&#xA;&#xA;    private Item Datasource&#xA;    {&#xA;        get&#xA;        {&#xA;            var dataSourceId = RenderingContext.Current.Rendering.DataSource;&#xA;            return ID.IsID(dataSourceId) ? Context.Database.GetItem(dataSourceId) : null;&#xA;        }&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is what your controller rendering will be like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p76dO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p76dO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2017-08-05T17:57:40.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6928" PostTypeId="1" CreationDate="2017-08-05T21:11:49.650" Score="5" ViewCount="960" Body="&lt;p&gt;I have a field called &quot;description&quot; but I want to use different Rich Text editors with it.  Can I do this with the same template, or do I have to make different templates with the same field name?&lt;/p&gt;&#xA;" OwnerUserId="2168" LastActivityDate="2017-08-05T22:38:48.880" Title="Templates and Rich Text Editor properties" Tags="|templates|richtext-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6929" PostTypeId="2" ParentId="6928" CreationDate="2017-08-05T22:32:07.993" Score="2" Body="&lt;p&gt;You just put the path to the editor in the datasource for the Rich Text field. Path you see here is in the core database. You can just copy an existing profile rename it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want one field to the OOTB editor and one to use you custom, yes you need two templates with two different rich text fields. One with datasource set and one not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bWA2D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bWA2D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-08-05T22:32:07.993" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6930" PostTypeId="2" ParentId="6928" CreationDate="2017-08-05T22:38:48.880" Score="2" Body="&lt;p&gt;The RTE definition is put in the source field of your field definition. If you inherit  a template with such a field you cannot change that property in the new template as you don't have access to the inherited field definitions. So: yes, you will need separate fields if you want other RTE profiles. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There could be a way to achieve this with custom code - there usually is in Sitecore ;) But in this case I don't think you would want to go that way. It will overcomplicate things.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-08-05T22:38:48.880" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6931" PostTypeId="1" CreationDate="2017-08-06T12:58:28.300" Score="4" ViewCount="966" Body="&lt;p&gt;I have TFS On-Premises 2015 and I would like to transform app_config/include files with SlowCheetah on build using TFS, but I am running into some issues. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Existing Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, we already have a solution in place where we created an &lt;code&gt;Environment_Config\$(Environment)&lt;/code&gt; folder which overwrites the appropriate &lt;code&gt;app_config/include&lt;/code&gt; files on deploy to specific environments.But this results in config duplication and it would be much cleaner to perform transforms like we do with &lt;code&gt;Web.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue(s)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using SlowCheetah 3.0.6 and there are a couple of issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) The final &lt;code&gt;app_config/include&lt;/code&gt; directory also has the environment config files in there which results in Sitecore picking them up and applying those settings when looking at &lt;code&gt;/Sitecore/Admin/ShowConfig.aspx&lt;/code&gt;. How can I get rid of the environment specific transform files so they are not included in the final build artifact?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) On build, when I look at the original config file, the transforms haven't been applied at all. When I publish using Visual Studio, it works fine but on build the transform doesn't happen. I've looked at another StackOverflow question that suggested removing the condition in &lt;code&gt;C:\Users\Users\AppData\Local\Microsoft\MSBuild\SlowCheetah\v2.5.11\SlowCheetah.Transforms.targets&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;&amp;lt;BuildDependsOn Condition=&quot; '$(IsWap)'!='true' &quot;&amp;gt;&#xA;      $(BuildDependsOn);&#xA;      TransformAllFiles;&#xA;      ScReplaceAppConfigItem;&#xA;&amp;lt;/BuildDependsOn&amp;gt;&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but instead I set &lt;code&gt;IsWap = &quot;False&quot;&lt;/code&gt; as my build MSBuild argument. But the transform still doesn't occur. Apparently, this variable is used to determine when to perform the transform in SlowCheetah but I'm not sure this is applicable since it seems to be for SlowCheetah v2. How can I get SlowCheetah to transform on build using TFS? What else can I try?&lt;/p&gt;&#xA;" OwnerUserId="2283" LastActivityDate="2017-08-07T13:25:02.807" Title="How to perform app_config/include transforms with SlowCheetah and TFS?" Tags="|mvc|tds|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6932" PostTypeId="2" ParentId="6931" CreationDate="2017-08-06T13:54:00.193" Score="1" Body="&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;So as a direct answer to your question - a PowerShell script can help with this as you have found. But this is not a &lt;em&gt;good&lt;/em&gt; way of controlling environment config transforms. Doing it this way requires you to create a unique build for each environment. That is inherently a flawed way of deploying. It means that the code you test in DEV or UAT etc... is not the same as the code that you deploy to Production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For environment config transforms you should be doing this in Release Manager, not as part of your build. Set up tokens that Release Manager (or whatever your release management tool is, e.g Octopus Deploy) can replace on deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is much better than having everything in build transforms, as you then only need to build once. You shouldn't have to build for each environment.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-08-07T01:34:54.987" LastActivityDate="2017-08-07T01:34:54.987" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6934" PostTypeId="1" CreationDate="2017-08-06T18:11:41.673" Score="2" ViewCount="337" Body="&lt;p&gt;I have a dynamic source for a treelist field in my template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OuQXS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OuQXS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to resolve the source location, I created a pipeline in &lt;code&gt;getLookupSourceItems&lt;/code&gt; section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code snippet is shown below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ResolveCustomSource&#xA;{&#xA;&#xA;    public void Process(GetLookupSourceItemsArgs args)&#xA;    {&#xA;       Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;        Assert.IsNotNull((object)args.Item, &quot;Item&quot;);&#xA;        if (this.SkipProcessor(args))&#xA;            return;&#xA;&#xA;        //here i have some cutom processing to get the source&#xA;&#xA;    }&#xA;&#xA;    public virtual bool SkipProcessor(GetLookupSourceItemsArgs args)&#xA;    {&#xA;        if (string.IsNullOrWhiteSpace(args.Source))&#xA;            return true;&#xA;       //check if datasource is present in the source of the field&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I select the template containing the field in content editor or experience editor, the pipeline does not get triggered and the list is empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After reading some blogs, I decided to create a custom treelist inheriting from treelist. using this, the list gets populated on the content editor, but not on experience editor.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="1674" LastEditDate="2017-08-06T18:21:11.313" LastActivityDate="2017-08-06T18:21:11.313" Title="Get Lookup Source Pipeline not triggering for treelist" Tags="|datasource|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6935" PostTypeId="2" ParentId="6931" CreationDate="2017-08-06T23:10:09.943" Score="0" Body="&lt;p&gt;So, as it turns out SlowCheetah does perform the transforms on build, but after looking at the diagnostic build logs the transformed config files are stored in the &lt;code&gt;bin/$(Environment)/App_Config/Include&lt;/code&gt; directory. So it should be easy enough to create a Powershell script(s) that do the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Grab all config files in &lt;code&gt;bin/$(BuildPlatform)/App_Config/*&lt;/code&gt;, overwrite the ones in the &lt;code&gt;Source/App_Config/*&lt;/code&gt; directory, and then remove all config files that &lt;code&gt;EndsWith $(BuildPlatform).config&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a small PS script I wrote that does this, could be better but it gets the job done, I think:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;# &#xA;    Apply configuration transforms from the bin/App_Config directory after successful build and remove environment specific config files.&#xA;#&amp;gt;&#xA;param([string]$BuildConfiguration)&#xA;&#xA;$ENVIRONMENTS = @(&quot;Dev&quot;, &quot;Local&quot;, &quot;QA&quot;, &quot;Release&quot;, &quot;Stage&quot;)&#xA;&#xA;&amp;lt;# &#xA;    Remove environment config files.&#xA;#&amp;gt;&#xA;function RemoveEnvironmentConfigs() {&#xA;    For ($i = 0; $i -lt $ENVIRONMENTS.Length; $i++) {&#xA;        $Environment = $ENVIRONMENTS[$i]&#xA;        Get-ChildItem ..\Project\App_Config\ -Include &quot;*$Environment.config&quot; -Recurse | ForEach-Object ($_) { &#xA;            Remove-Item $_.FullName -Force&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;&amp;lt;#&#xA;    Copy transformed config files from bin/$(BuildConfiguration)&#xA;#&amp;gt;&#xA;function CopyTransformedConfigs() {&#xA;    If ($ENVIRONMENTS -notcontains $BuildConfiguration) {&#xA;        Throw &quot;Error finding $BuildConfiguration&quot;&#xA;    }&#xA;&#xA;    Copy-Item -Path ..\Project\bin\$BuildConfiguration\App_Config -Filter *.config -Destination ..\Project\ -Force -Recurse&#xA;}&#xA;&#xA;RemoveEnvironmentConfigs&#xA;CopyTransformedConfigs&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2283" LastEditorUserId="2283" LastEditDate="2017-08-07T00:56:02.187" LastActivityDate="2017-08-07T00:56:02.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6936" PostTypeId="1" AcceptedAnswerId="6946" CreationDate="2017-08-07T00:45:04.370" Score="2" ViewCount="937" Body="&lt;p&gt;I am trying to render an Image in Sitecore 7.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using following markup but it is showing text only, images is not being displayed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;advisor-advertisement&quot;&amp;gt;&#xA;    some text here&#xA;    &amp;lt;sc:Image ID=&quot;Image1&quot; runat=&quot;server&quot; Field=&quot;Image&quot; /&amp;gt;&#xA;    &amp;lt;sc:FieldRenderer ID=&quot;FieldRenderer1&quot; runat=&quot;server&quot; FieldName=&quot;Image&quot; /&amp;gt;&#xA;    &amp;lt;sc:Link ID=&quot;lnkAd&quot; runat=&quot;server&quot; Field=&quot;Link&quot;&amp;gt;&#xA;        &amp;lt;sc:FieldRenderer ID=&quot;imgAd&quot; runat=&quot;server&quot; FieldName=&quot;Image&quot; /&amp;gt;&#xA;    &amp;lt;/sc:Link&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qpFRS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qpFRS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but it is rendering text only.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VORZg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VORZg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2119" LastEditorUserId="1342" LastEditDate="2017-08-07T20:31:23.600" LastActivityDate="2017-08-07T20:31:23.600" Title="FieldRenderer not rendering an image" Tags="|mvc|media-library|renderfield|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6937" PostTypeId="1" AcceptedAnswerId="6947" CreationDate="2017-08-07T09:02:45.123" Score="2" ViewCount="257" Body="&lt;p&gt;Is it possible to remove the pattern cards matched in sitecore by the current user when he navigates back to a specific page programmatically?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just want to have an idea on how to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="423" LastEditDate="2017-08-07T17:50:26.040" LastActivityDate="2017-08-08T13:46:52.580" Title="Remove the Pattern Matched of current user" Tags="|xdb|experience-profile|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6938" PostTypeId="2" ParentId="6937" CreationDate="2017-08-07T09:47:39.297" Score="0" Body="&lt;p&gt;You need to remove the Pattern from both Interaction and BehaviorProfiles. When the user enters the specific page, you need to trigger the methods below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Remove from the Interaction&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Interaction.Profiles.Remove(&quot;Your Profile Name&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Remove from Behavioral Profile&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private static void UpdateBehaviorProfile(Session session)&#xA;{&#xA;    var profileConverterBase = BehaviorProfileConverterBase.Create();&#xA;&#xA;    if (session?.Contact == null || Tracker.Current.Interaction == null)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    session.Contact.BehaviorProfiles.RemoveAll();&#xA;&#xA;    foreach (var profileName in session.Interaction.Profiles.GetProfileNames())&#xA;    {&#xA;        var profile = session.Interaction.Profiles[profileName];&#xA;&#xA;        if (!IgnoreInteractionProfile(profile))&#xA;        {&#xA;            var matchedBehaviorProfile = profileConverterBase.Convert(profile);&#xA;&#xA;            session.Contact.BehaviorProfiles.Add(matchedBehaviorProfile.Id, matchedBehaviorProfile);&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;private static bool IgnoreInteractionProfile(Profile profile)&#xA;{&#xA;    Assert.ArgumentNotNull(profile, &quot;profile&quot;);&#xA;&#xA;    // Logic goes here whether to add the profile to the contact behavior or not&#xA;&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Warning&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Point to note here is that when removing the pattern from the user profile interaction and behavior, you'll no longer be able to have the values again as it will remove it completely.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-08-07T16:47:38.423" LastActivityDate="2017-08-07T16:47:38.423" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6939" PostTypeId="2" ParentId="6913" CreationDate="2017-08-07T09:53:56.243" Score="0" Body="&lt;p&gt;Unfortunately I did it but in manyal way, &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var contactCookie = new Sitecore.Analytics.Web.ContactKeyCookie();&#xA;  contact = GetXdbContact(contactCookie.ContactId);&#xA; public static Contact GetXdbContact(Guid identifier)&#xA;        {&#xA;            if (Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.Contact != null)&#xA;            {&#xA;                //This is the current user&#xA;                return Tracker.Current.Contact;&#xA;            }&#xA;&#xA;            //There is no Tracker.Current.Contact, so this must be running in some non-user context&#xA;            var repository = Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepositoryBase;&#xA;            var sessionManager = Factory.CreateObject(&quot;tracking/sharedSessionState/manager&quot;, true) as SharedSessionStateManager;&#xA;            if (repository != null)&#xA;            {&#xA;                var dbContact = repository.LoadContactReadOnly(identifier);&#xA;                if (dbContact != null)&#xA;                {&#xA;                    //Now we have the Contact Id.  Use that Id to actually get the contact from shared session&#xA;                    var contactId = dbContact.ContactId;&#xA;                    if (sessionManager != null)&#xA;                    {&#xA;                        var sessionContact = sessionManager.LoadContactReadonly(contactId);&#xA;                        if (sessionContact != null)&#xA;                        {&#xA;                            return sessionContact;&#xA;                        }&#xA;                    }&#xA;                    return dbContact;&#xA;                }&#xA;            }&#xA;&#xA;            return null;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2017-08-07T09:53:56.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6940" PostTypeId="1" AcceptedAnswerId="6945" CreationDate="2017-08-07T09:58:05.413" Score="2" ViewCount="417" Body="&lt;p&gt;I have a template in the project layer. Let's call it &lt;code&gt;Author&lt;/code&gt;. That template inherits from a base template called &lt;code&gt;_Author&lt;/code&gt; which is a template in the feature layer. Now I create a list of Authors in my Global folder. That list of authors is synchronized by the project layer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I set up a template in the project layer called &lt;code&gt;Article&lt;/code&gt; which inherits from a base template called &lt;code&gt;_Article&lt;/code&gt; in the feature layer. The &lt;code&gt;_Article&lt;/code&gt; template has a droplink field called Author which has a datasource that points to the Author folder in the Global folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I have a template in the feature layer that references an item in the project layer. What am I missing here? I have looked through Habitat to find a similar scenario, but I can't find any. Since this is a fairly common scenario I must be missing something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This, however, seems to be the exact same scenario as with the site-specific datasources in Habitat where a pipeline is used to determine datasource settings. That setting then references a folder which is syncronised by the project layer. That way there is no reference between the rendering in the feature layer and the datasource in the project layer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does that mean that the solution is to create a similar pipeline solution for field datasources? If yes, I am surprised that this is not part of the Habitat solution...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &lt;/p&gt;&#xA;" OwnerUserId="1026" LastEditorUserId="70" LastEditDate="2017-08-07T14:35:17.540" LastActivityDate="2017-08-07T15:06:33.540" Title="Layering and droplink/multilist references in Helix" Tags="|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6941" PostTypeId="1" CreationDate="2017-08-07T12:23:24.320" Score="3" ViewCount="577" Body="&lt;p&gt;I have Sitecore 8.2 initial, integrated with EXM 3.4. I am using the &quot;MVC subscription form&quot; for adding an email ID into an already created contact list. Upon submitting the email ID, I can see a contact with the &lt;code&gt;SMTPAddress&lt;/code&gt; field getting created in MongoDB. However, I am not able to see the same contact in the configured list within the List Manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other configuration necessary in order to see the contact in the List Manager?&lt;/p&gt;&#xA;" OwnerUserId="1363" LastEditorUserId="423" LastEditDate="2017-08-07T16:30:23.907" LastActivityDate="2017-10-27T14:56:23.650" Title="Contact data not visible in ListManager list upon submitting data using &quot;MVC Subscription form&quot; of EXM 3.4" Tags="|exm|list-manager|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6942" PostTypeId="2" ParentId="6931" CreationDate="2017-08-07T13:25:02.807" Score="2" Body="&lt;p&gt;If you have TDS, it can do the configuration transformation for you, as you do for web.config files. It is there since version 4 as you can see &lt;a href=&quot;http://www.seanholmesby.com/sitecore-tds-4-0-config-transforms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&#xA;NO need for extra configuration or software. It does the clean-up in the results folder, meaning you don't need to worry about anything . Depending on how you later publish your files, it can be a bit tricky to find and move them to the target server.&#xA;In my case, I build the TDS project related to master, and then I do MSdeploy of the results to the server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It means a build per environment, who some consider wrong by definition, but at the same time, it means you can add as new settings depending on the environment, without having to modify the deployment process, just your solution.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-07T13:25:02.807" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6943" PostTypeId="1" AcceptedAnswerId="6948" CreationDate="2017-08-07T14:26:42.797" Score="1" ViewCount="474" Body="&lt;p&gt;This is using 8.1 Update 2. Going by this Sitecore doc - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/searching/search_for_an_item&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/searching/search_for_an_item&lt;/a&gt; - I'm looking at the last section, Add a criterion to a search from the content tree in the Content Editor. I've clicked on the type of item I want, and I click the default Name field to see the dropdown list of the fields in my selected type. I'm trying to click on one of these fields so I can search on it instead of Name, but it won't let me select any custom criteria.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm also trying to use the main body search in Content Editor to do the same thing. If I click on the top-level folder and click the Search icon in the main body, I get the Search[1] tab. I click the dropdown arrow and choose Search Filter, the Search by a Field Value. It adds a &quot;custom&quot; tag with a textbox to type, but whatever combo of &quot;field name = field value&quot; I try, it says it's invalid.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-08-07T17:48:49.050" Title="Content tree search - add criterion" Tags="|content-editor|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6944" PostTypeId="1" AcceptedAnswerId="6999" CreationDate="2017-08-07T14:47:04.423" Score="5" ViewCount="1109" Body="&lt;p&gt;I'm adding a new custom button to Sitecore Rich Text Editor which should enable a user to add a triggerable modal to RTE content. I haven't found a case quite like that when researching, but there is plenty of references which describe adding a custom button to RTE and I've closely followed &lt;a href=&quot;https://darjimaulik.wordpress.com/2016/11/23/adding-a-custom-button-in-the-rich-text-editor-in-sitecore-8-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I have done so far:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;created a new button in the core db for my html editor profile with &lt;code&gt;InsertModal&lt;/code&gt; as a click action&lt;/li&gt;&#xA;&lt;li&gt;created &lt;code&gt;InsertModal&lt;/code&gt; folder in &lt;code&gt;/sitecore/shell/controls/rich text editor/&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;created &lt;code&gt;InsertModal Commands.js&lt;/code&gt;, &lt;code&gt;InsertModal.js&lt;/code&gt; and &lt;code&gt;InsertModal.xml&lt;/code&gt; in this folder following the instruction's examples and changing the name where applicable&lt;/li&gt;&#xA;&lt;li&gt;created a class to reflect the &lt;code&gt;CodeBehind&lt;/code&gt; reference in the &lt;code&gt;.xml&lt;/code&gt; and published the dll&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;added this to one of my config files: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;clientscripts&amp;gt;&#xA;  &amp;lt;htmleditor&amp;gt;&#xA;    &amp;lt;script src=&quot;sitecore\shell\Controls\Rich Text Editor\InsertModal\InsertModal Commands.js&quot; language=&quot;JavaScript&quot;/&amp;gt;&#xA;  &amp;lt;/htmleditor&amp;gt;&#xA;&amp;lt;/clientscripts&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As a result, I'm able to see my dialog if I &#xA;open it via &lt;code&gt;/sitecore/shell/default.aspx?xmlcontrol=RichText.InsertModal&amp;amp;la=en&amp;amp;sc_lang=en&lt;/code&gt; link, but if I try to click the custom button in the RTE itself, nothing happens and there is an error in the console: &lt;strong&gt;Uncaught ReferenceError: InsertModal is not defined&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm able to see my custom config referring to &lt;code&gt;InsertModal Commands.js&lt;/code&gt; in &lt;code&gt;/sitecore/admin/ShowConfig.aspx&lt;/code&gt;. Same error happens when I move the &lt;code&gt;Telerik.Web.UI.Editor.CommandList[&quot;InsertModal&quot;]= function &amp;lt;...&amp;gt;&lt;/code&gt; piece of code from &lt;code&gt;InsertModal Commands.js&lt;/code&gt; to &lt;code&gt;RichText Commands.js&lt;/code&gt;. I've tried refreshing Sitecore cash, but there's no improvement the code behaviour. Anyone has an idea on what I'm doing wrong? Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; Here's what &lt;code&gt;InsertModal Commands.js&lt;/code&gt; contains:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var scEditor = null;&#xA;var scTool = null;&#xA;&#xA;Telerik.Web.UI.Editor.CommandList[&quot;InsertModal&quot;]= function(commandName, editor, args) {&#xA;    scEditor = editor;&#xA;&#xA;    editor.showExternalDialog(&#xA;       &quot;/sitecore/shell/default.aspx?xmlcontrol=RichText.InsertModal&amp;amp;la=&quot; + scLanguage,&#xA;       null, //argument&#xA;       500,&#xA;       400,&#xA;       scInsertModal, //callback&#xA;       null, // callback args&#xA;       &quot;Insert Modal&quot;,&#xA;       true, //modal&#xA;       Telerik.Web.UI.WindowBehaviors.Close, // behaviors&#xA;       false, //showStatusBar&#xA;       false //showTitleBar&#xA;   );&#xA;};&#xA;&#xA;function scInsertModal(sender, dialogInfo) {&#xA;   if (!dialogInfo) {&#xA;       return;&#xA;   }&#xA;&#xA;   var placeholderHtml = &quot;&amp;lt;hr class=\&quot;dialog-placeholder\&quot; style=\&quot;width: 100px; display: inline-block; height: 20px;border: blue 4px solid;\&quot;&quot;&#xA;                    + &quot;data-dialogContentItemId=\&quot;&quot; + dialogInfo.dialogContentItemId +&quot;\&quot; &quot;&#xA;                    + &quot;title=\&quot;Dialog Content Path: &quot; + dialogInfo.dialogContentItemPath + &quot;\&quot; /&amp;gt;&quot;;&#xA;&#xA;   scEditor.pasteHtml(placeholderHtml, &quot;DocumentManager&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1034" LastEditorUserId="1034" LastEditDate="2017-08-07T20:21:11.527" LastActivityDate="2017-08-08T08:39:30.943" Title="Sitecore RTE: a custom button does not trigger a dialog" Tags="|richtext-editor|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="6945" PostTypeId="2" ParentId="6940" CreationDate="2017-08-07T14:54:19.250" Score="1" Body="&lt;p&gt;This is a common problem, but one that is simple to solve. What you need to do is instead of setting a direct path in your DropLink's source field, you want to do a &quot;site&quot; datasource.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Relative Datasource Query&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are a couple of ways you can do this. The source field of a drop link does support a query. So you could do a relative query, something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@templatename='SiteRoot']/Global/Authors/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have used this before and it works well. The only problem in a Helix solution is that you have technically only moved the dependency on the project layer from the &lt;code&gt;Authors&lt;/code&gt; template to the &lt;code&gt;Site Root&lt;/code&gt; template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look &lt;a href=&quot;http://blog.arkesystems.com/post/2011/03/22/Sitecore-Using-the-Source-Property.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; for more information on what you can do with the source field on link field types.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-08-07T15:06:33.540" LastActivityDate="2017-08-07T15:06:33.540" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6946" PostTypeId="2" ParentId="6936" CreationDate="2017-08-07T16:16:27.310" Score="1" Body="&lt;p&gt;Your code looks correct, so long as the &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; is the item that you took a screenshot of in the experience editor. Otherwise, you should also set the &lt;code&gt;Item&lt;/code&gt; preoperty of those &lt;code&gt;&amp;lt;sc:Image&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;sc:FieldRenderer&amp;gt;&lt;/code&gt; controls. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Publishing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The first thing that you should look at is publishing, like @JayS mentioned in his comment. More specifically, in addition to making sure that the item that you took the screenshot of is published, you also need to &lt;strong&gt;make sure that the media item, itself, is published&lt;/strong&gt;. By the same token, make sure that the media item is not an orphan in the web database by making sure that the media item's ancestors are published. If you can see the media item in the web database then its ancestors are inherently published.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Common Circumstances&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I most often get reports of issues like this when the an order of events similar to the following occurs:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;An author uploaded a new image to Sitecore, thus creating a new media item&lt;/li&gt;&#xA;&lt;li&gt;Author added a reference to the new media item (i.e. set an image field to point at the new media item) from another item, &lt;em&gt;Foo&lt;/em&gt;, (usually a page item, but sometimes a data source)&lt;/li&gt;&#xA;&lt;li&gt;Author published the &lt;em&gt;Foo&lt;/em&gt; item. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;See the mistake?&lt;/strong&gt; The author never actually published the media item, so it never appeared on the page. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Other Things to Try&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If none of the above solve the issue, then try publishing the entire content tree. If that still doesn't fix the issue, post the rendered markup for the specific section of the page and, if the image tag is rendered, let us know if the image URL leads to a 404. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T18:05:38.263" LastActivityDate="2017-08-07T18:05:38.263" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6947" PostTypeId="2" ParentId="6937" CreationDate="2017-08-07T17:17:01.157" Score="5" Body="&lt;h2&gt;Simple answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;No - there is no way to remove a Pattern matched by the current visitor when the visitor navigates back to a specific page. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How does pattern matching work and why isn't this possible?&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Computing Pattern Matches&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Pattern matching is based on &lt;a href=&quot;https://en.wikipedia.org/wiki/Euclidean_distance&quot; rel=&quot;nofollow noreferrer&quot;&gt;Euclidean Distance&lt;/a&gt; across vectors. This means that Sitecore calculates the pattern that a visitor matches by taking all of the possible patterns, using their configured profile key scores as vectors, using the visitor's interaction scores as vectors, and then deducing which pattern vector has the shortest distance (i.e. is the most similar) to visitor's interaction vector. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In English, this means that Sitecore looks at the visitor's scores, as accumulated from the visitor's interactions with the site, and finds the pattern with the scores that are most similar (often most proportionate).&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Why we can't disassociate a visitor from a pattern&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Because the matched pattern is always the pattern with the most similar scores to the visitor's interactions, the only way to disassociate a visitor from a pattern is to change the visitor's interaction scores. You have to do this manually, if it is really something that you want to do, and there's no way to really guarantee accuracy, as the computation is based entirely on computing the smallest distance between two vectors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Think of it this way: assume that you have a visitor with a bunch of scores for a profile, and that the visitor currently matches the &lt;em&gt;Foo&lt;/em&gt; pattern. You have an item reference to the &lt;em&gt;Foo&lt;/em&gt; pattern (assume from configs or something like that) and you can see what profile key scores are configured for it. How would you remove this pattern from the user? You can remove all of the scores for which the &lt;em&gt;Foo&lt;/em&gt; pattern has points, but then you might remove scores for other patterns, as well. You could try removing scores proportionate to &lt;em&gt;Foo&lt;/em&gt;'s scores in a loop until the visitor no longer matches &lt;em&gt;Foo&lt;/em&gt;, but then you may, again, remove scores for other patterns. No matter what you do, here, there is no way to guarantee that you are removing the pattern match from the visitor without affecting other patterns. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How can I attempt to remove a pattern match?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are two ways to change scores: by increasing them or by decreasing them. It would be very difficult (and bad for performance) to try to accurately roll a visitor back to a specific pattern, but you could back a visitor's scores from specific interactions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you store the profile and score values that were associated with each interaction and you know the interaction that you want to roll back to then you should be able to simply roll back all of the scores that were added after that point. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Caution and Recommendation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I do not recommend that you roll back scores or interactions, under any circumstances. When you do that, you are taking good analytics data and tainting it and/or throwing it out, programmatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have had clients and UX team members ask me about doing things like this and it has been my experience that each time they are just trying to use the wrong tool for the job. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the goal is to personalize and always show the same personalized content to the visitor when they navigate back to the page then add a custom rule for that in Sitecore. Store on the visitor's profile or in session (depending on long-term vs. short term), etc. a value that indicates which rendering you showed previously and add the custom logic to show it on repeat visits before attempting to render the personalized component (you can do this via pipelines or code in your controllers - I recommend pipelines over controllers). &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What are we missing in Sitecore that would make this possible?&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Pattern exclusions, in concept&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In Sitecore, there is currently no concept of &quot;exclusion&quot; with regard to pattern matches for a specific visitor. In other words, there is no way to do something like the following, given that you want to update the visitor to match the closest pattern that is not the &lt;em&gt;Foo&lt;/em&gt; pattern:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;profile.UpdatePattern(excludedPatterns: new [] { &quot;Foo&quot; });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Conceptually, what the above code would (ideally) do is compute the Euclidean Distance between the visitor's profile, &lt;code&gt;profile&lt;/code&gt;, and each of the patterns except for the &lt;em&gt;Foo&lt;/em&gt; pattern. This way, analytics data would not have to be modified and you could still ensure that the visitor doesn't match a specific pattern when navigating back to a given page. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Doing this through customization of Sitecore&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Before writing this post, I took a look inside the decompiled Sitecore.Analytics assemblies in order to see how difficult it would be to add support for these computations yourself. The answer is that it would be very high effort and risk. You would have to rewrite some pretty large pieces of Sitecore.Analytics in order to do this, so my recommendation is that you instead open a support ticket and request that this feature be added to a future release of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What's wrong with deleting the Interaction records and the Behavior Profiles?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the solution that @HishaamNamooya posted, he advises that you delete the Interaction records and the Behavior Profiles in order to delete the pattern. That code will do what you are looking for in the same way that an elephant gun can be used to kill a mouse...you'll be doing a lot more damage than you probably intended. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Deleting the interaction records and behavior profiles &lt;em&gt;will&lt;/em&gt; remove the Pattern, but it will also obliterate &lt;em&gt;all&lt;/em&gt; scores and interactions that the visitor has had with the site in their behavior profiles, and all scores and interactions from the current visit within the profile that contains the pattern you are trying to remove. Effectively, you're throwing out other good data that you probably don't mean to get rid of. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;By Example&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Consider that you have configured a Profile in Sitecore, named Cars (going to go somewhat 2D, here, for Simplicity's sake). The Cars profile has the following profile keys:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Outdoors&lt;/li&gt;&#xA;&lt;li&gt;Manual Labor&lt;/li&gt;&#xA;&lt;li&gt;Power&lt;/li&gt;&#xA;&lt;li&gt;Wealth&lt;/li&gt;&#xA;&lt;li&gt;Family&lt;/li&gt;&#xA;&lt;li&gt;Environment&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When a visitor clicks on one of your pages, that page has scores for each of those profile keys that are proportional to how likely the key is to be &quot;important&quot; to the user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, assume that you have the following Patterns configured for the Cars profile (generally, I try to go more abstract with pattern names, but the below is meant for demonstration):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Pickup&lt;/li&gt;&#xA;&lt;li&gt;All-Terrain&lt;/li&gt;&#xA;&lt;li&gt;Supercar&lt;/li&gt;&#xA;&lt;li&gt;Luxury SUV&lt;/li&gt;&#xA;&lt;li&gt;Minivan&lt;/li&gt;&#xA;&lt;li&gt;Hybrid&lt;/li&gt;&#xA;&lt;li&gt;Luxury Hybrid&lt;/li&gt;&#xA;&lt;li&gt;Sedan&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Assume that you have a visitor who browses to a few pages that indicate that they are interested the outdoors and family. Right now, this visitor matches the All-Terrain pattern the closest. The visitor then navigates to a few other pages, indicating a strong interest in manual labor (construction, carpentry, etc.). With this new information added to the visitor's scores, the visitor now matches the Pickup pattern the closest. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now consider that our site should implement logic as described in the OP. When the visitor navigates back to some specific page, &lt;em&gt;Foo&lt;/em&gt;, the visitor's match with the Pickup pattern should be removed. Implicitly, the result is that the visitor should once again be matched with the All-Terrain pattern. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you achieve this logic by deleting all of the interaction records and behavior profiles then the results will not be as expected. What will actually happen is that you will be erasing everything that you currently know about the user and their interactions, as they relate to the &quot;Cars&quot; profile, including all of their interactions that led up to the match with the All-Terrain pattern, as well as the Pickup pattern. You would be throwing out good data and there would be no way to distinguish between data that matches the Pickup pattern vs data that matches the All-Terrain pattern.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Alternative&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;What you likely want to do instead is remember the pattern that a visitor had on the specific page. Once you have that, you can work from there to manually override your personalization flow (my recommendation is to do this through a pipeline) to use the stored pattern rather than the visitor's current pattern. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a situation like this, you could even leverage Sitecore Caching, though I don't recommend that you rely on this alone. If you set your rendering caching options to Vary By User, then the rendered output that was first displayed to the user will be the output that is &quot;always&quot; (until the cache clears) shown to the user. Again, I don't recommend that you solely rely on Sitecore Caching, but if that is the general logic that you're looking to implement then that should point you in the right direction. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;In Summary&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;While Hishaam's solution is more of a blunt object, there really isn't a scalpel that will get you what you want. Regardless, I believe that deleting interactions and behavior profiles is typically a far more drastic solution than what is needed, and will have repercussions that you may not be willing to accept. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My recommendation is that you take a hard look at what you are trying to accomplish and find a different and better way to do so. Ask yourself what it is that you're actually trying to implement and accomplish and then ask the community. I recommend, asking your question in the #sitecore-chat channel of the Sitecore Community Slack to see if other developers and MVPs can help you to brainstorm alternatives. Feel free to direct message me @zachary_kniebel too, if you just want to talk through your thoughts, needs or implementation. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T13:46:52.580" LastActivityDate="2017-08-08T13:46:52.580" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6948" PostTypeId="2" ParentId="6943" CreationDate="2017-08-07T17:48:49.050" Score="0" Body="&lt;p&gt;I was able to reproduce the issue with the Content Tree search in a clean instance of 8.1.2, but I was not able to reproduce the issue with the Content Search in the Content Editor. For the first issue, I recommend that you file a Support Ticket. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the second issue, first check to make sure that you don't have any errors in your logs. Next, make sure that you have the syntax for the search correct. The syntax should be as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;custom:fieldname|fieldvalue&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;fieldname&lt;/code&gt; is the name of the field that you are searching against and &lt;code&gt;fieldvalue&lt;/code&gt; is the value in the field that you are searching for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are still having issues with the Content Search, update your support ticket to also include details about the issue and also update this post with any errors from your logs, the exact criteria that you are searching for, what you've tried, etc.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-08-07T17:48:49.050" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="6949" PostTypeId="1" AcceptedAnswerId="6950" CreationDate="2017-08-07T18:57:27.400" Score="6" ViewCount="390" Body="&lt;p&gt;I am trying to setup solr to work with Sitecore. Locally, it was easy to set up on my Windows machine. In the other environments I naturally want to use a dedicated Solr server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question is: can I use a Windows machine to act as a Solr server and would that be sensible to do so? Does Solr on Windows have all the capabilities that Solr on Linux has, for example, in scaling out scenario's? My experience with Linux is limited, so my preferred solution would be to go with Windows, but I need to know if this will not bite in the long run. &lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="73" LastEditDate="2017-08-07T19:39:35.020" LastActivityDate="2017-08-07T19:39:35.020" Title="Solr on Windows with Sitecore" Tags="|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6950" PostTypeId="2" ParentId="6949" CreationDate="2017-08-07T19:10:29.523" Score="8" Body="&lt;p&gt;You are good to go with Windows.&lt;/p&gt;&#xA;&lt;p&gt;There was same question asked on community.sitecore.net and was already answered there by &lt;strong&gt;Jason St-Cyr&lt;/strong&gt;: &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3435&quot; rel=&quot;noreferrer&quot;&gt;SOLR on Windows instead of Linux&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;I will let those with specific Linux experience speak to the actual SOLR performance, though I've heard anecdotally that there is a performance benefit to running on Linux. However, I always recommend that regardless of minor performance benefits that an organization should look at the cost of ownership.&lt;/p&gt;&#xA;&lt;p&gt;If your organization doesn't have a team that knows how to manage a Windows server, you shouldn't be adding a Windows server just for SOLR. Similarly for Linux... you will run into far higher costs of ownership bringing in operating systems that your team does not know how to operate or manage. When you have something like SOLR that can run on either, I find it best to go with the operating system that fits best into your organization's regular backup and maintenance practices.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-08-07T19:28:16.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6951" PostTypeId="2" ParentId="6949" CreationDate="2017-08-07T19:24:17.297" Score="3" Body="&lt;p&gt;As Marek says, you can go for Windows. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a single Solr installation, there are no issues. I've been running them on Windows for years without issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your scaling options: it is also possible to run SolrCloud with Zookeeper on windows machines. We just did it on a project that will go into production very soon. But.. in the &lt;a href=&quot;http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html#sc_supportedPlatforms&quot; rel=&quot;nofollow noreferrer&quot;&gt;docs for Zookeeper&lt;/a&gt; they mention:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Win32 is supported as a development platform only for both server and&#xA;  client.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;where as Linux is mentioned as supported for development and production. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the advice Jason gave on the Sitecore community site (quoted by Marek) is in my opinion probably the best one: if you are familiar with Windows and not with Linux, choose the familiar one.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-08-07T19:24:17.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6952" PostTypeId="1" AcceptedAnswerId="7229" CreationDate="2017-08-07T20:05:21.377" Score="1" ViewCount="1348" Body="&lt;p&gt;&lt;strong&gt;EDIT 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to get this functioning by overriding the GetModel() method after recieving some guidance from Gatogordo and Dawid Rutkowski and decompling the sitecore DLLs. See &lt;a href=&quot;https://sitecore.stackexchange.com/a/7229/2054&quot;&gt;below&lt;/a&gt; for answer including working code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Original Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm working with the new SXA 1.4 module that Sitecore recently released. After a lot of trial and error I was able to get a basic custom control working and added to the SXA toolbox. I figured the logical next task was to update my control to use different Rendering Variants but I've run into some problems. I started by modifying based on these blog posts:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://unaverhoeven.ghost.io/2017/04/05/starting-with-sxa-part-1-custom-rendering-and-rendering-variants/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://unaverhoeven.ghost.io/2017/04/05/starting-with-sxa-part-1-custom-rendering-and-rendering-variants/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://ggullentops.blogspot.com/2017/03/variants-sxa-sitecore-rendering.html?spref=tw&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2017/03/variants-sxa-sitecore-rendering.html?spref=tw&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Here are my updated code files:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CallToActionWithImageBackground.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;ioc&amp;gt;&#xA;                &amp;lt;processor type=&quot;Company.Feature.CallToActionWithImageBackground.Configurator.CallToActionWithImageBackgroundConfigurator, Company.Feature.CallToActionWithImageBackground&quot; /&amp;gt;&#xA;            &amp;lt;/ioc&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CallToActionWithImageBackgroundConfigurator.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.DependencyInjection;&#xA;using Microsoft.Extensions.DependencyInjection;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using Company.Feature.CallToActionWithImageBackground.Repositories;&#xA;using Company.Feature.CallToActionWithImageBackground.Controllers;&#xA;using Sitecore.XA.Foundation.IOC.Pipelines.IOC;&#xA;&#xA;namespace Company.Feature.CallToActionWithImageBackground.Configurator&#xA;{&#xA;    public class CallToActionWithImageBackgroundConfigurator : IocProcessor&#xA;    {&#xA;        public override void Process(IocArgs args)&#xA;        {&#xA;            args.ServiceCollection.AddTransient&amp;lt;ICallToActionWithImageBackgroundRepository, CallToActionWithImageBackgroundRepository&amp;gt;();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CallToActionWithImageBackgroundController.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using System.Web.Mvc;&#xA;using Sitecore;&#xA;using Sitecore.Data;&#xA;using Sitecore.ExperienceEditor;&#xA;using Company.Feature.CallToActionWithImageBackground.Repositories;&#xA;using Sitecore.XA.Foundation.IoC;&#xA;using Sitecore.XA.Foundation.Mvc.Controllers;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Controllers;&#xA;using Company.Feature.CallToActionWithImageBackground.Models;&#xA;&#xA;namespace Company.Feature.CallToActionWithImageBackground.Controllers&#xA;{&#xA;    public class CallToActionWithImageBackgroundController : VariantsController&#xA;    {&#xA;&#xA;        private readonly ICallToActionWithImageBackgroundRepository _repository;&#xA;&#xA;        public CallToActionWithImageBackgroundController(ICallToActionWithImageBackgroundRepository repository)&#xA;        {&#xA;            this._repository = repository;&#xA;        }&#xA;&#xA;        protected object GetVariantsModel()&#xA;        {&#xA;            return _repository.GetModel();&#xA;        }&#xA;&#xA;        //public ActionResult BlogList()&#xA;        //{&#xA;        //    var model = _repository.GetModel();&#xA;        //    return View(model);&#xA;        //}&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CallToActionWithImageBackgroundModel.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.Multisite.LinkManagers;&#xA;using Sitecore.XA.Foundation.Mvc.Models;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Models;&#xA;using Sitecore.XA.Foundation.Variants.Abstractions.Models;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using System.Web.Mvc;&#xA;&#xA;namespace Company.Feature.CallToActionWithImageBackground.Models&#xA;{&#xA;    public class CallToActionWithImageBackgroundModel : VariantsRenderingModel&#xA;    {&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CallToActionWithImageBackgroundRepository.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Company.Feature.CallToActionWithImageBackground.Models;&#xA;using Sitecore.XA.Foundation.Multisite.LinkManagers;&#xA;using Sitecore.XA.Foundation.Mvc.Repositories.Base;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Repositories;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using System.Web.Mvc;&#xA;//using static Sitecore.Configuration.Settings;&#xA;&#xA;namespace Company.Feature.CallToActionWithImageBackground.Repositories&#xA;{&#xA;    public class CallToActionWithImageBackgroundRepository : VariantsRepository, ICallToActionWithImageBackgroundRepository&#xA;    {&#xA;&#xA;        //public T GetModel&amp;lt;T&amp;gt;(object model) where T : IRenderingModelBase&#xA;        //{&#xA;        //    FillBaseProperties(model);&#xA;        //    return (T)model;&#xA;        //}&#xA;&#xA;        //public CallToActionWithImageBackgroundModel GetModel&amp;lt;CallToActionWithImageBackgroundModel&amp;gt;(object model)&#xA;        //{&#xA;        //    FillBaseProperties(model);&#xA;        //    return (CallToActionWithImageBackgroundModel)model;&#xA;        //}&#xA;&#xA;        public override IRenderingModelBase GetModel()&#xA;        {&#xA;            CallToActionWithImageBackgroundModel model = new CallToActionWithImageBackgroundModel();&#xA;            FillBaseProperties(model);&#xA;            return model;&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ICallToActionWithImageBackgroundRepository.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.Mvc.Repositories.Base;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Repositories;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;&#xA;namespace Company.Feature.CallToActionWithImageBackground.Repositories&#xA;{&#xA;    public interface ICallToActionWithImageBackgroundRepository : IVariantsRepository&#xA;    {&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Call to Action With Image Background.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.XA.Foundation.MarkupDecorator.Extensions&#xA;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@using Sitecore.Data;&#xA;@using Sitecore.Extensions&#xA;@using Sitecore.XA.Foundation.MarkupDecorator.Extensions&#xA;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@using Sitecore.XA.Foundation.RenderingVariants.Extensions&#xA;@using Sitecore.XA.Foundation.RenderingVariants.Fields&#xA;@using Sitecore.XA.Foundation.Variants.Abstractions.Fields&#xA;&#xA;@model Company.Feature.CallToActionWithImageBackground.Models.CallToActionWithImageBackgroundModel&#xA;&#xA;@if (Model.DataSourceItem != null || Html.Sxa().IsEdit)&#xA;{&#xA;    &amp;lt;div @Html.Sxa().Component(&quot;call-to-action-with-image-background-component&quot;, Model.Attributes)&amp;gt;&#xA;        &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;            @if (Model.DataSourceItem == null)&#xA;            {&#xA;                @Model.MessageIsEmpty&#xA;            }&#xA;            else&#xA;            {&#xA;                foreach (BaseVariantField variantField in Model.VariantFields)&#xA;                {&#xA;                    @Html.RenderingVariants().RenderVariant(variantField, Model.Item, Model.RenderingWebEditingParams)&#xA;                }&#xA;            }&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here are my settings within Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ADbaX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ADbaX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/31I2j.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/31I2j.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sUd29.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sUd29.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/duyeX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/duyeX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/eLztm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eLztm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4f9YS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4f9YS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/REGA1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/REGA1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/X1Y4x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/X1Y4x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the error message I receive:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;11708 15:59:56 ERROR Failed to render rendering&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.ExecuteCore()&#xA;   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.ExecuteController(Controller controller)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.Execute()&#xA;   at Sitecore.Mvc.Presentation.ControllerRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: The model item passed into the dictionary is of type 'Sitecore.XA.Foundation.RenderingVariants.Models.VariantListsRenderingModel', but this dictionary requires a model item of type     'Company.Feature.CallToActionWithImageBackground.Models.CallToActionWithImageBackgroundModel'.&#xA;Source: System.Web.Mvc&#xA;   at System.Web.Mvc.ViewDataDictionary`1.SetModel(Object value)&#xA;   at System.Web.Mvc.ViewDataDictionary..ctor(ViewDataDictionary dictionary)&#xA;   at System.Web.Mvc.WebViewPage`1.SetViewData(ViewDataDictionary viewData)&#xA;   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&#xA;&#xA;8140 16:00:05 ERROR Failed to render rendering&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.ExecuteCore()&#xA;   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.ExecuteController(Controller controller)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.Execute()&#xA;   at Sitecore.Mvc.Presentation.ControllerRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: The model item passed into the dictionary is of type 'Sitecore.XA.Foundation.RenderingVariants.Models.VariantListsRenderingModel', but this dictionary requires a model item of type     'Company.Feature.CallToActionWithImageBackground.Models.CallToActionWithImageBackgroundModel'.&#xA;Source: System.Web.Mvc&#xA;   at System.Web.Mvc.ViewDataDictionary`1.SetModel(Object value)&#xA;   at System.Web.Mvc.ViewDataDictionary..ctor(ViewDataDictionary dictionary)&#xA;   at System.Web.Mvc.WebViewPage`1.SetViewData(ViewDataDictionary viewData)&#xA;   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I feel like I am doing something silly but I have never worked with Sitecore before so the learning curve has been rather drastic. Any ideas what I could be doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="2054" LastEditorUserId="2054" LastEditDate="2017-08-25T15:57:03.007" LastActivityDate="2017-08-25T15:57:03.007" Title="SXA Custom Toolbox Control Rendering Variants" Tags="|sxa|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="6953" PostTypeId="5" CreationDate="2017-08-07T20:13:05.450" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:13:05.450" LastActivityDate="2017-08-07T20:13:05.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6954" PostTypeId="4" CreationDate="2017-08-07T20:13:05.450" Score="0" Body="For questions related to the configuration of sites, including site-definitions, SXA site configuration in the Content Editor, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:13:05.450" LastActivityDate="2017-08-07T20:13:05.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6955" PostTypeId="5" CreationDate="2017-08-07T20:15:06.730" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:15:06.730" LastActivityDate="2017-08-07T20:15:06.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6956" PostTypeId="4" CreationDate="2017-08-07T20:15:06.730" Score="0" Body="For questions related to Sitecore's Reporting feature, wherein tracking and contact info sent to the collections database, including the process, functionality, architecture, server-role, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:15:06.730" LastActivityDate="2017-08-07T20:15:06.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6957" PostTypeId="5" CreationDate="2017-08-07T20:16:22.163" Score="0" Body="&lt;p&gt;Session state is a way of identifying contacts on your website by assigning them a unique session ID and by using cookies. Every time a contact makes a request, such as triggering a campaign or a goal this information is held in session state until the end of session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that fewer server trips are needed to write data back and forth to the collection database. Instead, xDB makes one trip at the start of a session to identify the contact and a second at the end to save all the session data back to the collection database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/xdb/session_state/session_state&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/xdb/session_state/session_state&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configuring_a_shared_session_state_database_using_the_redis_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configuring_a_shared_session_state_database_using_the_redis_provider&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-17T01:01:45.187" LastActivityDate="2018-02-17T01:01:45.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6958" PostTypeId="4" CreationDate="2017-08-07T20:16:22.163" Score="0" Body="For questions related to Sitecore session-state configuration, usage, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:16:22.163" LastActivityDate="2017-08-07T20:16:22.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6960" PostTypeId="5" CreationDate="2017-08-07T20:18:06.393" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:18:06.393" LastActivityDate="2017-08-07T20:18:06.393" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6961" PostTypeId="4" CreationDate="2017-08-07T20:18:06.393" Score="0" Body="For questions related to logging in Sitecore, typically covering log4net, log tools and readers, and other related logging features, configuration and code" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:18:06.393" LastActivityDate="2017-08-07T20:18:06.393" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6962" PostTypeId="5" CreationDate="2017-08-07T20:21:07.163" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:21:07.163" LastActivityDate="2017-08-07T20:21:07.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6963" PostTypeId="4" CreationDate="2017-08-07T20:21:07.163" Score="0" Body="For questions related to the management and authoring of content and items within the Sitecore Client" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:21:07.163" LastActivityDate="2017-08-07T20:21:07.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6964" PostTypeId="5" CreationDate="2017-08-07T20:21:58.403" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:21:58.403" LastActivityDate="2017-08-07T20:21:58.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6965" PostTypeId="4" CreationDate="2017-08-07T20:21:58.403" Score="0" Body="For questions related to the installation of a Sitecore instance, package, or update package" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:21:58.403" LastActivityDate="2017-08-07T20:21:58.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6966" PostTypeId="5" CreationDate="2017-08-07T20:23:50.063" Score="0" Body="&lt;p&gt;Sitecore Commerce Connect is the Sitecore commerce API for storefront developers and is an integration layer between a front-end webshop solution and a back-end external commerce system. The back-end system can be any e-commerce system for which Commerce Connect connectors have been created by Sitecore or a third-party vendor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Commerce Connect service layer has two purposes:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Integrating one or more webshops with one or more external commerce systems.&lt;/li&gt;&#xA;&lt;li&gt;Applying the unique customer engagement features of Sitecore in e-commerce solutions, regardless of the external commerce system being used.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Commerce Connect enables e-commerce solutions to use customer engagement features such as tracking customer behavior, acting on it with personalization, and following up with engagement automation and reporting. This is facilitated by having common e-commerce related engagement functionalities integrated into the Commerce Connect framework.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="2727" LastEditDate="2018-02-24T20:39:27.470" LastActivityDate="2018-02-24T20:39:27.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6967" PostTypeId="4" CreationDate="2017-08-07T20:23:50.063" Score="0" Body="Sitecore Commerce Connect is the Sitecore commerce API for storefront developers and is an integration layer between a front-end webshop solution and a back-end external commerce system." OwnerUserId="423" LastEditorUserId="2727" LastEditDate="2018-02-15T15:55:33.653" LastActivityDate="2018-02-15T15:55:33.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6968" PostTypeId="5" CreationDate="2017-08-07T20:24:51.803" Score="0" Body="&lt;p&gt;Sitecore’s Rules Engine provides the ability to evaluate conditions and perform actions that is usable for business users. Using the Rules Engine provides a consistent means for configuring complex, rule-based business logic within Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Rules%20Engine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Rules%20Engine/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-the-sitecore-asp-net-cms-rules-engine&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-the-sitecore-asp-net-cms-rules-engine&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/the_rule_set_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/the_rule_set_editor&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-22T06:50:42.633" LastActivityDate="2018-02-22T06:50:42.633" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6969" PostTypeId="4" CreationDate="2017-08-07T20:24:51.803" Score="0" Body="For questions related to Sitecore's Rules Engine feature, which facilitates the processing of conditions and actions in Sitecore for personalization and other features, both native and custom" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:24:51.803" LastActivityDate="2017-08-07T20:24:51.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6970" PostTypeId="5" CreationDate="2017-08-07T20:25:39.627" Score="0" Body="&lt;p&gt;You can use Sitecore query to select items that meet specific criteria from a Sitecore database. Sitecore query uses a syntax based on XPath to access something like an XML representation of a Sitecore database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unlike SQL queries, this technique abstracts the underlying database technology; like most things in Sitecore, Sitecore queries that you develop with one database technology (such as Microsoft SQL Server) work without modification in Sitecore solutions that use other database technologies (such as Oracle).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-22T06:51:04.487" LastActivityDate="2018-02-22T06:51:04.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6971" PostTypeId="4" CreationDate="2017-08-07T20:25:39.627" Score="0" Body="For questions related to the syntax of and issues with Sitecore Query notation" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:25:39.627" LastActivityDate="2017-08-07T20:25:39.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6972" PostTypeId="5" CreationDate="2017-08-07T20:27:26.600" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:27:26.600" LastActivityDate="2017-08-07T20:27:26.600" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6973" PostTypeId="4" CreationDate="2017-08-07T20:27:26.600" Score="0" Body="For questions related to links and link field-types within Sitecore, including rendering, setting, references, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:27:26.600" LastActivityDate="2017-08-07T20:27:26.600" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6974" PostTypeId="5" CreationDate="2017-08-07T20:28:07.370" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:28:07.370" LastActivityDate="2017-08-07T20:28:07.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6975" PostTypeId="4" CreationDate="2017-08-07T20:28:07.370" Score="0" Body="For questions related to the Sitecore API, i.e. the Sitecore code-base" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:28:07.370" LastActivityDate="2017-08-07T20:28:07.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6976" PostTypeId="5" CreationDate="2017-08-07T20:28:30.337" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:28:30.337" LastActivityDate="2017-08-07T20:28:30.337" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6977" PostTypeId="4" CreationDate="2017-08-07T20:28:30.337" Score="0" Body="For questions related to the deployment of Sitecore instances" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T20:28:30.337" LastActivityDate="2017-08-07T20:28:30.337" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6978" PostTypeId="1" AcceptedAnswerId="6979" CreationDate="2017-08-07T20:35:34.880" Score="5" ViewCount="197" Body="&lt;p&gt;Clearly, Sitecore has great support for internationalization with built in language versions. However, one thing I have not been a fan of is that fact that all languages will have the same Url (at least that was the case). So the url /store in English might be /es-es/store in Spanish instead of /es-es/tienda.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has Sitecore introduced or have I been unaware of the ability to provide language specific Url name for the same item?&lt;/p&gt;&#xA;" OwnerUserId="2068" LastActivityDate="2017-08-07T20:40:23.183" Title="Does Sitecore support internationalization with Urls?" Tags="|multilingual|urls|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6979" PostTypeId="2" ParentId="6978" CreationDate="2017-08-07T20:40:23.183" Score="7" Body="&lt;p&gt;For your request you can use Display name functionality&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Display names can include characters not allowed in item names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Display names can vary by language, where item names cannot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because display names can vary by language, and item URLs can contain display names rather than item names, URLs for individual items can vary by language (beyond hostname, language path prefix, and/or query string variations that can specify languages)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-idiosyncrasies-display-name&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-idiosyncrasies-display-name&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/39090959/sitecore-8-how-to-set-display-name&quot;&gt;https://stackoverflow.com/questions/39090959/sitecore-8-how-to-set-display-name&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-08-07T20:40:23.183" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6980" PostTypeId="5" CreationDate="2017-08-07T21:14:27.670" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:14:27.670" LastActivityDate="2017-08-07T21:14:27.670" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6981" PostTypeId="4" CreationDate="2017-08-07T21:14:27.670" Score="0" Body="For questions related to Sitecore placeholders, including dynamic placeholders and non-dynamic placeholders" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:14:27.670" LastActivityDate="2017-08-07T21:14:27.670" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6982" PostTypeId="5" CreationDate="2017-08-07T21:15:59.827" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:15:59.827" LastActivityDate="2017-08-07T21:15:59.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6983" PostTypeId="4" CreationDate="2017-08-07T21:15:59.827" Score="0" Body="For questions related to Sitecore user profiles, including custom and native profile types, properties and storage" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:15:59.827" LastActivityDate="2017-08-07T21:15:59.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6984" PostTypeId="5" CreationDate="2017-08-07T21:18:08.620" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:18:08.620" LastActivityDate="2017-08-07T21:18:08.620" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6985" PostTypeId="4" CreationDate="2017-08-07T21:18:08.620" Score="0" Body="For questions related to Sitecore server architecture and scaling options, including Sitecore server roles (CM, CD, Reporting, Processing, Collections), shared session-state, performance and configuration at scale, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:18:08.620" LastActivityDate="2017-08-07T21:18:08.620" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6986" PostTypeId="5" CreationDate="2017-08-07T21:19:54.787" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:19:54.787" LastActivityDate="2017-08-07T21:19:54.787" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6987" PostTypeId="4" CreationDate="2017-08-07T21:19:54.787" Score="0" Body="For questions related to Sitecore item and field validation rules within the Sitecore Client" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:19:54.787" LastActivityDate="2017-08-07T21:19:54.787" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6988" PostTypeId="5" CreationDate="2017-08-07T21:21:02.730" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:21:02.730" LastActivityDate="2017-08-07T21:21:02.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6989" PostTypeId="4" CreationDate="2017-08-07T21:21:02.730" Score="0" Body="For questions related to Sitecore's scheduled tasks feature, including configuration, implementation of tasks and agents, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:21:02.730" LastActivityDate="2017-08-07T21:21:02.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6990" PostTypeId="5" CreationDate="2017-08-07T21:22:55.803" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:22:55.803" LastActivityDate="2017-08-07T21:22:55.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6991" PostTypeId="4" CreationDate="2017-08-07T21:22:55.803" Score="0" Body="For questions related to the Sitecore administrative interface - commonly referred to as Shell or Client - where authors and developers log in to create and manage content, analytics, permissions, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:22:55.803" LastActivityDate="2017-08-07T21:22:55.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6992" PostTypeId="5" CreationDate="2017-08-07T21:25:05.070" Score="0" Body="&lt;p&gt;The Experience Profile lets you monitor the behavior of contacts that have interacted with your company or with your website. You can identify current as well as future customers from their very first point of contact, even if they have not provided a name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/experience_profile&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/experience_profile&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/experience_profile_configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/experience_profile_configuration&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/using_the_xfile/experience_profile_faqs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/using_the_xfile/experience_profile_faqs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/using_the_xfile/use_the_experience_profile_search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/using_the_xfile/use_the_experience_profile_search&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-14T08:11:01.033" LastActivityDate="2018-02-14T08:11:01.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6993" PostTypeId="4" CreationDate="2017-08-07T21:25:05.070" Score="0" Body="For questions related to the Experience Profile of a Sitecore contact, including questions goal, campaign, visit, etc. tracking on experience profiles, customization of experience profiles, managing and accessing experience profiles from code, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:25:05.070" LastActivityDate="2017-08-07T21:25:05.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6994" PostTypeId="5" CreationDate="2017-08-07T21:28:08.997" Score="0" Body="&lt;p&gt;Sitecore List Manager allows you to create lists of recipients that can be used for Sitecore Email Experience Manager campaigns, marketing automation campaigns or any other external system.&lt;/p&gt;&#xA;&lt;p&gt;Two types of lists can be created in the List Manager - a segmented list and a contact list. You can create lists with different list sources for both list types.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Contact list&lt;/strong&gt; – a standard list that contacts can be members of. A contact can be a member of one or more contact lists.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Segmented lists&lt;/strong&gt; – a list that is a filtered list of one or more selected contact lists. The contacts in a Segmented list are not actually members of the list - they only appear in the list if they are in the list source (the selected contact lists) and meet the conditions you define.&#xA;A segmented list updates continually when the contacts in the sources of the list meet the defined conditions.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="4817" LastEditDate="2021-07-12T11:07:37.587" LastActivityDate="2021-07-12T11:07:37.587" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="6995" PostTypeId="4" CreationDate="2017-08-07T21:28:08.997" Score="0" Body="For questions related to the use or customization of the Sitecore List Manager, used for creating lists of Sitecore contacts to help manage email campaigns; covers customization, adding contacts to and removing contacts from a list, general list and segmented list questions, configuration and list imports and exports" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:28:08.997" LastActivityDate="2017-08-07T21:28:08.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6996" PostTypeId="5" CreationDate="2017-08-07T21:30:20.713" Score="0" Body="&lt;p&gt;Social Connected improves the social engagement of your website. It lets you promote your website in social networks by posting messages automatically and manually to both your timeline and the timelines of your customers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/social_connected&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/social_connected&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/social_connected/setting_up_social_connected&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/social_connected/setting_up_social_connected&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/social_connected/setting_up_social_connected/configuring/walkthrough_configuring_social_connector_to_work_with_a_social_network&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/social_connected/setting_up_social_connected/configuring/walkthrough_configuring_social_connector_to_work_with_a_social_network&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/social_connected/setting_up_social_connected/configuring/walkthrough_configuring_social_connected_in_scaled_environment&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/social_connected/setting_up_social_connected/configuring/walkthrough_configuring_social_connected_in_scaled_environment&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-17T01:01:29.343" LastActivityDate="2018-02-17T01:01:29.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6997" PostTypeId="4" CreationDate="2017-08-07T21:30:20.713" Score="0" Body="For questions related to the Sitecore Social Connected feature, including its configuration, use, social login other social media integration questions that relate to the feature" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-07T21:30:20.713" LastActivityDate="2017-08-07T21:30:20.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="6998" PostTypeId="1" AcceptedAnswerId="7972" CreationDate="2017-08-08T02:30:30.033" Score="1" ViewCount="325" Body="&lt;p&gt;In the past, you could capture global errors in the Application_Error function of the Global.asax. But since that has been made private, and lets be honest its not best practice. Is there a way to capture that information? I don't know of anyway right now. Mvc has a pipeline for capturing errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look in Sitecore.Web.Application, I don't see Sitecore extending the Application_Error function.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JDswA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JDswA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on how to capture all errors on a Sitecore Web Forms application?&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-10-20T21:57:36.260" Title="Capturing errors on Web Forms site" Tags="|webforms|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="6999" PostTypeId="2" ParentId="6944" CreationDate="2017-08-08T08:39:30.943" Score="0" Body="&lt;p&gt;Turns out I created a WebEdit button instead of Html Editor Button, this is why understandibly any of the button id's from &lt;code&gt;Telerik.Web.UI.Editor.CommandList&lt;/code&gt; couldn't be triggered. After I created a correct type of button and placed it under &lt;code&gt;Toolbar 1&lt;/code&gt; everything works as expected. &lt;/p&gt;&#xA;" OwnerUserId="1034" LastActivityDate="2017-08-08T08:39:30.943" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7000" PostTypeId="2" ParentId="6952" CreationDate="2017-08-08T09:12:34.683" Score="1" Body="&lt;p&gt;Dawid is right in his comment: the problem is that you are using the built-in Index method in the controller. This index method uses the &lt;code&gt;GetModel&lt;/code&gt; method - which will go to the default ModelRepository and not your CallToActionWithImageBackgroundRepository. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have a few options to fix this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;override Index and make it use your repository to get the model&lt;/li&gt;&#xA;&lt;li&gt;create a new action in the controller and change the config in Sitecore to refer to the action&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Both cases come down to the same actually: write your own action in the controller to get the model from your custom repository.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-08-08T09:12:34.683" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7001" PostTypeId="1" AcceptedAnswerId="7003" CreationDate="2017-08-08T09:30:46.377" Score="2" ViewCount="301" Body="&lt;p&gt;When creating a Helix based solution with SXA is it ok to just use the Feature and Foundation layer templates as-is for our content items, or should we be creating derived templates in our Project layer? If we should be doing the latter, is there any automated way to do this?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-08-08T10:17:38.913" Title="Should we create project layer templates in a Helix solution using SXA" Tags="|sxa|helix|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7003" PostTypeId="2" ParentId="7001" CreationDate="2017-08-08T10:17:38.913" Score="6" Body="&lt;p&gt;When you are creating new Tenant and Site in SXA we have it automated with our scaffolding logic, you will find actions to create tenants and sites and they basically do all the work for you. You don't need to think about defining any inheritance as those scripts will do this for you (unless you have any custom extensions).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you are creating tenant then inside of &lt;code&gt;Template/Project/YOUR_TENANT_NAME&lt;/code&gt; path needed templates will be created for you. Take a look here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V08Ah.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V08Ah.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see everything is there. Of course you can extend it by adding your base templates but you should inherit from SXA page. We are checking this in code and if it won't be using our base template then your page might not be recognized as an SXA page.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-08-08T10:17:38.913" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7004" PostTypeId="1" AcceptedAnswerId="7022" CreationDate="2017-08-08T10:56:16.177" Score="1" ViewCount="741" Body="&lt;p&gt;We are using Sitecore 8.1 update-1 with WFFM 8.1. We are using 2 CD servers and both servers we have given the msterdatabase as below in Sitecore.Forms.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;setting name=&quot;WFM.MasterDatabase&quot; value=&quot;web&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When we try to upload the files through WFFM file upload field, the uploaded files are getting added to Web database media library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we move these files to Master database, any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="2035" LastActivityDate="2017-08-08T15:21:54.880" Title="WFFM: How to move uploaded files from Web to Master database" Tags="|wffm|configuration|media-library|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7005" PostTypeId="1" AcceptedAnswerId="7025" CreationDate="2017-08-08T13:27:55.427" Score="9" ViewCount="7703" Body="&lt;p&gt;this is my markup: the ajax is supposed to get called when there is a change to my dropdown selection:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this is my ajax jquery:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script&amp;gt;&#xA;    $(&quot;#AffiliateList&quot;).change(function (e) {&#xA;        var textval = $(&quot;AffiliateList :selected&quot;).text();&#xA;        var selected = $(&quot;#AffiliateList :selected&quot;).val();&#xA;&#xA;        $.ajax({&#xA;&#xA;            type: &quot;GET&quot;,&#xA;            url: &quot;Website/Controllers/FindAnAffiliateController/getAffiliate&quot;,&#xA;            data: { id : selected },&#xA;            content: &quot;html&quot;,&#xA;            success: function (response) {&#xA;                $(&quot;#affiliateDetail&quot;).empty();&#xA;                $(&quot;#affiliateDetail&quot;).append(response);&#xA;            }&#xA;&#xA;&#xA;            })&#xA;    })&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is my controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Website.Controllers&#xA;{&#xA;    public class FindAnAffiliateController : Controller&#xA;    {&#xA;        // GET: findAnAffiliate&#xA;        public ActionResult Index()&#xA;        {&#xA;            return View();&#xA;        }&#xA;&#xA;        public ActionResult FindAnAffiliate()&#xA;        {&#xA;            var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;            var dataSourceItem = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;&#xA;            var model = new AffiliateViewModel();&#xA;            model.title = dataSourceItem.Fields[&quot;Title&quot;].Value;&#xA;            model.description = dataSourceItem.Fields[&quot;Description&quot;].Value;&#xA;            model.affiliateList = model.affiliates();&#xA;&#xA;            var selectedItem = model.affiliateList.FirstOrDefault();&#xA;&#xA;&#xA;            var affiliateDetail = new Affiliate();&#xA;&#xA;            var affiliateItem = Sitecore.Context.Database.GetItem(selectedItem.Value);&#xA;            affiliateDetail.title = affiliateItem.Fields[&quot;Affiliate Name&quot;].Value;&#xA;            var linkUrl =(Sitecore.Data.Fields.LinkField) affiliateItem.Fields[&quot;Affiliate Link&quot;];&#xA;            affiliateDetail.linkText = linkUrl.Text != &quot;&quot; ? linkUrl.Text : &quot;No Link Available&quot;;&#xA;            affiliateDetail.linkUrl = linkUrl.Url != &quot;&quot; ? linkUrl.Url : &quot;#&quot;;&#xA;            affiliateDetail.description = affiliateItem.Fields[&quot;Description&quot;].Value;&#xA;            model.affiliate = affiliateDetail;&#xA;&#xA;&#xA;            return View(model);&#xA;        }&#xA;&#xA;        public ActionResult getAffiliate(string id)&#xA;        {&#xA;            return PartialView();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and finally my RouteConfig&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Website&#xA;{&#xA;    public class RouteConfig&#xA;    {&#xA;        public static void RegisterRoutes(RouteCollection routes)&#xA;        {&#xA;            routes.IgnoreRoute(&quot;{resource}.axd/{*pathInfo}&quot;);&#xA;&#xA;            routes.MapRoute(&#xA;                name: &quot;Default&quot;,&#xA;                url: &quot;{controller}/{action}/{id}&quot;,&#xA;                defaults: new { controller = &quot;Home&quot;, action = &quot;Index&quot;, id = UrlParameter.Optional }&#xA;            );&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and here is my PartialView that should be returned:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;h4&amp;gt;Testing this stuff&amp;lt;/h4&amp;gt;&#xA;&amp;lt;p class=&quot;media-link&quot;&amp;gt;www.alabamawildlife.org&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;The Alabama Wildlife Federation (AWF) is the oldest and largest non-profit conservation organization in Alabama. The AWF was established by sportsmen in 1935 to promote the conservation and wise use of our wildlife and natural resources and to ensure a high quality of life for future generations of Alabamians.&amp;lt;/p&amp;gt;&#xA;&#xA;&amp;lt;div class=&quot;col-xs-6&quot;&amp;gt;&#xA;    &amp;lt;p class=&quot;uppercase-headline text-center&quot;&amp;gt;Co-certification of Certified Wildlife Habitat&amp;lt;/p&amp;gt;&#xA;    &amp;lt;img class=&quot;center-block&quot; src=&quot;images/cwh-icon.png&quot;&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;div class=&quot;col-xs-6&quot;&amp;gt;&#xA;    &amp;lt;p class=&quot;uppercase-headline text-center&quot;&amp;gt;Ranger Rick Subscription&amp;lt;/p&amp;gt;&#xA;    &amp;lt;img class=&quot;center-block&quot; src=&quot;images/ranger-rick-logo-regional.png&quot;&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am running on my localhost, I don't know if that is part of the problem, but outside of Sitecore, I have build ajax commands off of regular MVC applications with no issues. &lt;/p&gt;&#xA;" OwnerUserId="1227" LastActivityDate="2018-06-13T09:09:06.333" Title="Why is my Ajax url not recognizing my sitecore controller or hitting my breakpoint in my sitecore controller?" Tags="|mvc|ajax|javascript|" AnswerCount="4" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="7006" PostTypeId="2" ParentId="7005" CreationDate="2017-08-08T13:34:37.753" Score="1" Body="&lt;p&gt;It looks like the URL you are sending the request to doesn't match your route configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your URL is &lt;code&gt;/Website/Controllers/FindAnAffiliateController/getAffiliate&lt;/code&gt; and your rout is &lt;code&gt;{controller}/{action}/{id}&lt;/code&gt; so it's looking for &lt;code&gt;/FindAnAffiliateController/getAffiliate&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would update your route to be &lt;code&gt;Website/Controllers/{controller}/{action}/{id}&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-08-08T13:34:37.753" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7007" PostTypeId="5" CreationDate="2017-08-08T13:52:27.000" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T13:52:27.000" LastActivityDate="2017-08-08T13:52:27.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7008" PostTypeId="4" CreationDate="2017-08-08T13:52:27.000" Score="0" Body="For questions related to JavaScript in Sitecore, including JS for Sitecore SPEAK applications (typically ReactJS), bugs or other issues with JS in Sitecore, hosting site JS in Sitecore, and beyond" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T13:52:27.000" LastActivityDate="2017-08-08T13:52:27.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7009" PostTypeId="5" CreationDate="2017-08-08T13:55:34.587" Score="0" Body="&lt;p&gt;Not to be confused with goal facets or search facets, a contact facet is a property of a contact - such their first name, e-mail address, or job title. You can easily add your own facets .&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/101/sitecore-experience-platform/en/facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/101/sitecore-experience-platform/en/facets.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="4817" LastEditDate="2021-03-14T19:19:08.937" LastActivityDate="2021-03-14T19:19:08.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7010" PostTypeId="4" CreationDate="2017-08-08T13:55:34.587" Score="0" Body="For questions related to Contact Facets in Sitecore, including their creation and implementation, registration, reading data from and writing data to a contact facet, and other general use questions" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T13:55:34.587" LastActivityDate="2017-08-08T13:55:34.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7011" PostTypeId="5" CreationDate="2017-08-08T13:57:16.813" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T13:57:16.813" LastActivityDate="2017-08-08T13:57:16.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7012" PostTypeId="4" CreationDate="2017-08-08T13:57:16.813" Score="0" Body="For questions related to redirects in Sitecore, covering native redirects configuration and functionality, customization, programmatic redirects as part of page functionality, and other redirect-related questions" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T13:57:16.813" LastActivityDate="2017-08-08T13:57:16.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7013" PostTypeId="5" CreationDate="2017-08-08T14:08:42.253" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T14:08:42.253" LastActivityDate="2017-08-08T14:08:42.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7014" PostTypeId="4" CreationDate="2017-08-08T14:08:42.253" Score="0" Body="For questions related to Sitecore data sources, including data source queries, data source locations, data source items, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T14:08:42.253" LastActivityDate="2017-08-08T14:08:42.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7015" PostTypeId="5" CreationDate="2017-08-08T14:11:52.727" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T14:11:52.727" LastActivityDate="2017-08-08T14:11:52.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7016" PostTypeId="4" CreationDate="2017-08-08T14:11:52.727" Score="0" Body="For questions related to login in Sitecore, covering questions about login using Sitecore membership and membership integration, login to the Sitecore Client or admin pages, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T14:11:52.727" LastActivityDate="2017-08-08T14:11:52.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7017" PostTypeId="2" ParentId="2710" CreationDate="2017-08-08T15:02:40.157" Score="0" Body="&lt;p&gt;I don't see anything wrong with having your Template references in the Foundation Indexing or Foundation Search project. That way your Feature project is not referencing other Feature projects.&lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2017-08-08T15:02:40.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7018" PostTypeId="5" CreationDate="2017-08-08T15:05:47.497" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T15:05:47.497" LastActivityDate="2017-08-08T15:05:47.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7019" PostTypeId="4" CreationDate="2017-08-08T15:05:47.497" Score="0" Body="For questions related to Sitecore's API, covering questions about how to access, create, update or or delete data, as well as questions about how the Sitecore code-base is or can be used for custom or native logic, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T15:05:47.497" LastActivityDate="2017-08-08T15:05:47.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7020" PostTypeId="5" CreationDate="2017-08-08T15:06:58.047" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T15:06:58.047" LastActivityDate="2017-08-08T15:06:58.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7021" PostTypeId="4" CreationDate="2017-08-08T15:06:58.047" Score="0" Body="For questions related to the creation of custom or use of default routes in Sitecore, covering routing for MVC and WebAPI, in addition to ReactJS routing, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T15:06:58.047" LastActivityDate="2017-08-08T15:06:58.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7022" PostTypeId="2" ParentId="7004" CreationDate="2017-08-08T15:16:15.073" Score="3" Body="&lt;h3&gt;The Problem&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The problem that you are facing is that the CD servers do not have access to the &lt;code&gt;master&lt;/code&gt; database. This is intentional, as your CDs should not, in concept, need access to the &lt;code&gt;master&lt;/code&gt; database and so it's better for security if they do not have access to it. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;User Generated Content&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;From a user-generated content (UGC) standpoint, however, this poses some issues. If you want your authors to be able to see what users uploaded in Sitecore then this isn't feasible. Since your CM is the instance that has access to the &lt;code&gt;master&lt;/code&gt; database, one option is to create a service on the CM that will upload your data to the &lt;code&gt;master&lt;/code&gt; database. I do not recommend this, if you're maximizing your securities, since the CM server should never be open to the public. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Typical Recommendation: Custom Viewer&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;As such, I typically inform my clients up front that when users submit uploaded content it will not go to the &lt;code&gt;master&lt;/code&gt; database, if they have a split CM and CD. If the client would like the ability to view this data from the CM, I offer to write them a custom viewer that they can access from the launchpad. I try to avoid offering to teach them to switch databases to the &lt;code&gt;web&lt;/code&gt; database, as - more often than not - doing so tends to cause more issues down the line (client editing in the wrong DB, etc.).&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Alternative: Service to Copy from &lt;code&gt;web&lt;/code&gt; to &lt;code&gt;master&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Another option is to have a service that runs on your CM, that is responsible for pulling the items from the &lt;code&gt;web&lt;/code&gt; database and recreating them in the &lt;code&gt;master&lt;/code&gt; database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could create a scheduled task that crawls the section of your &lt;code&gt;web&lt;/code&gt; database's Media Library that contains WFFM-uploaded media, downloads the media and uploads it into Sitecore. You should, of course, include support for comparing with what has already been copied to the &lt;code&gt;master&lt;/code&gt; DB, so that you don't copy the same item twice. You can do this by ensuring that the item you copy into the &lt;code&gt;master&lt;/code&gt; database has the same ID as the item from the &lt;code&gt;web&lt;/code&gt; database. If you do so, you should also copy all of the field contents, as well. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-08T15:21:54.880" LastActivityDate="2017-08-08T15:21:54.880" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7023" PostTypeId="2" ParentId="7005" CreationDate="2017-08-08T15:32:14.090" Score="4" Body="&lt;p&gt;First off, @PatrickBarron is absolutely correct about your route. However, there is one other issue that I see. Have you tried dropping the word &quot;Controller&quot; off the name of your controller when making the request? By default, the word Controller will be appended for you. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In other words, you are currently requesting this URL:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Website/Controllers/FindAnAffiliateController/getAffiliate&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for this route (corrected, based on Patrick Barron's solution):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Website/Controllers/{controller}/{action}/{id}&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in an attempt to make a request that invokes the specified controller and action with the specified value for the ID argument (which can be null), as described below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Controller: FindAnAffiliateController&#xA;Action:     getAffiliate&#xA;ID:         null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, because word &lt;code&gt;&quot;Controller&quot;&lt;/code&gt; is automatically appended to the name of the requested controller when attempting to resolve it, what you are effectively doing is making a request that invokes the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Controller: FindAnAffiliateControllerController&#xA;Action:     getAffiliate&#xA;ID:         null    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Solution&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Update your route, as described by @PatrickBarron, to: &lt;code&gt;&quot;Website/Controllers/{controller}/{action}/{id}&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Change your AJAX call to instead request the following URL: &lt;code&gt;&quot;Website/Controllers/FindAnAffiliate/getAffiliate&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For updating your route, you don't want to change the default route. Instead, what you want to do is add the route suggested by Patrick Barron as a new route, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;routes.MapRoute(&#xA;    name: &quot;Default&quot;,&#xA;    url: &quot;Website/Controllers/{controller}/{action}/{id}&quot;,&#xA;    defaults: new { controller = &quot;Home&quot;, action = &quot;Index&quot;, id = UrlParameter.Optional }&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thus, your &lt;code&gt;RegisterRoutes&lt;/code&gt; method should look something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void RegisterRoutes(RouteCollection routes)&#xA;{&#xA;    routes.IgnoreRoute(&quot;{resource}.axd/{*pathInfo}&quot;);&#xA;&#xA;    routes.MapRoute(&#xA;        name: &quot;Default&quot;,&#xA;        url: &quot;{controller}/{action}/{id}&quot;,&#xA;        defaults: new { controller = &quot;Home&quot;, action = &quot;Index&quot;, id = UrlParameter.Optional }&#xA;    );&#xA;&#xA;    routes.MapRoute(&#xA;        name: &quot;Default&quot;,&#xA;        url: &quot;Website/Controllers/{controller}/{action}/{id}&quot;,&#xA;        defaults: new { controller = &quot;Home&quot;, action = &quot;Index&quot;, id = UrlParameter.Optional }&#xA;    );&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="2480" LastEditDate="2017-09-27T14:18:48.970" LastActivityDate="2017-09-27T14:18:48.970" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7025" PostTypeId="2" ParentId="7005" CreationDate="2017-08-08T16:37:11.653" Score="6" Body="&lt;p&gt;It's worth mentioning that the route in the question is called out in a setting. The comment above &lt;code&gt;Mvc.IllegalRoutes&lt;/code&gt; explains itself a bit.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!--  MVC: Pipe separated list of route URL's that are not valid for use with Sitecore.Mvc.&#xA;        For instance, the default ASP.NET route ({controller}/{action}/{id}) catches most requests&#xA;        that are actually meant to be handled by the default Sitecore route.&#xA;        Default: &quot;{controller}/{action}/{id}&quot;&#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;Mvc.IllegalRoutes&quot; value=&quot;|{controller}/{action}/{id}|&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another thing to note is that Sitecore will try to register your controllers at &lt;code&gt;/api/sitecore/{Controller}/{Action}&lt;/code&gt;. &lt;a href=&quot;https://www.linkedin.com/pulse/sitecore-took-my-custom-api-route-zachary-kniebel&quot; rel=&quot;noreferrer&quot;&gt;There can be issues if there's ever an overlap though.&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-08-08T16:37:11.653" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7026" PostTypeId="2" ParentId="3726" CreationDate="2017-08-08T17:24:45.867" Score="1" Body="&lt;p&gt;I had an issue dealing with versions and cloning items when using language fallback. This article mentions that it isn't solely an issue with clones:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;We uncovered a bug - any time an item was created outside of the main Home item and using anything other than “Insert Item from Template” (eg. copy, clone, package installation) any item that was set as a Fallback would switch to an actual empty version of the item in all languages.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.xcentium.com/blog/2016/05/11/field-fallback-in-the-new-world-of-sitecore-81&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.xcentium.com/blog/2016/05/11/field-fallback-in-the-new-world-of-sitecore-81&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The patch I got to fix my issue was &lt;code&gt;Sitecore.Support.120002&lt;/code&gt;. The behavior I was focused on isn't exactly the same however the dll has a processor called &lt;code&gt;RemoveExtraVersions&lt;/code&gt;. The code in that processor checks each language of the copied item and if the latest version of the item in that language is a fallback item is removes the version from the current language. This does get added in the &lt;code&gt;uiCloneItems&lt;/code&gt; node so it might not be exactly what you want though.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-08-08T17:24:45.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7028" PostTypeId="1" AcceptedAnswerId="7033" CreationDate="2017-08-08T23:45:05.807" Score="5" ViewCount="870" Body="&lt;p&gt;I'm working on a new project with Sitecore 8.2 update 2 and SolrCloud to provide high availability for Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For SolrCloud, I'll have 3 Zookeepers and 2 Solrs but every solution will run on its own machine, separately from each other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a regular environment with a standalone Solr, the &lt;strong&gt;&lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt;&lt;/strong&gt; uses &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Solr.ServiceBaseAddress&quot; value=&quot;http://Standalone:8983/solr&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, my question is: how should I point SolrCloud in Sitecore configuration? I understand that a load balancer but don't know exactly where should it be for Zookeeper or for Solr or both?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-08-09T07:57:54.087" Title="How point SolrCloud in Sitecore configuration?" Tags="|configuration|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7029" PostTypeId="1" CreationDate="2017-08-09T00:12:30.777" Score="3" ViewCount="238" Body="&lt;p&gt;I'm trying to configure a 500 error page.h I have successfully done this for handling exceptions once the application is already up and running.&#xA;However I'm having an issue where if Solr Or MongoDB are not running before your website starts up, then IIS cannot handle any configured 500 page. It will not even return any direct file system requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Web.config looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;httpErrors errorMode=&quot;Custom&quot; existingResponse=&quot;Auto&quot; &amp;gt;&#xA;    &amp;lt;remove statusCode=&quot;404&quot; /&amp;gt;&#xA;    &amp;lt;remove statusCode=&quot;500&quot; /&amp;gt;&#xA;    &amp;lt;error statusCode=&quot;404&quot; responseMode=&quot;File&quot; path=&quot;404.html&quot; /&amp;gt;&#xA;    &amp;lt;error statusCode=&quot;500&quot; responseMode=&quot;File&quot; path=&quot;500.html&quot; /&amp;gt;&#xA;  &amp;lt;/httpErrors&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;system.web&amp;gt;&#xA;  &amp;lt;customErrors mode=&quot;On&quot; defaultRedirect=&quot;~/404.aspx&quot; redirectMode=&quot;ResponseRewrite&quot;&amp;gt;&#xA;    &amp;lt;error statusCode=&quot;500&quot; redirect=&quot;~/500.aspx&quot; /&amp;gt;&#xA;    &amp;lt;error statusCode=&quot;404&quot; redirect=&quot;~/404.aspx&quot; /&amp;gt;&#xA;  &amp;lt;/customErrors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The browser receives the following output:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UJpY5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UJpY5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When looking in the windows event viewer I receive the following stack trace:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Process information: &#xA;      Process ID: 1592 &#xA;      Process name: w3wp.exe &#xA;      Account name: NT AUTHORITY\NETWORK SERVICE &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception information: &#xA;      Exception type: HttpException &#xA;      Exception message: Connection error to search provider [Solr] : Unable to connect to [localhost:8983/solr], Core: [sitecore_analytics_index]&#xA;     at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)&#xA;     at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)&#xA;     at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)&#xA;     at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)&#xA;     at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Connection error to search provider [Solr] : Unable to connect to [localhost:8983/solr], Core: [sitecore_analytics_index]&#xA;     at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Initialize()&#xA;     at Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.Initialize()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Request information: &#xA;      Request URL: localhost/ffg.js &#xA;      Request path: /ffg.js &#xA;      User host address: ::1 &#xA;      User:&lt;br&gt;&#xA;      Is authenticated: False &#xA;      Authentication Type:&lt;br&gt;&#xA;      Thread account name: NT AUTHORITY\NETWORK SERVICE &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Thread information: &#xA;      Thread ID: 32 &#xA;      Thread account name: NT AUTHORITY\NETWORK SERVICE &#xA;      Is impersonating: False &#xA;      Stack trace:    at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)&#xA;     at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)&#xA;     at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)&#xA;     at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)&#xA;     at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm wondering if anyone is aware of what is going on here?&#xA;If the application is running and any of these severs go down then it successfully handles the 500.aspx.&lt;/p&gt;&#xA;" OwnerUserId="2300" LastEditorUserId="70" LastEditDate="2017-09-08T12:57:45.243" LastActivityDate="2017-12-07T15:56:11.263" Title="500 error page for Sitecore Start Up with no Solr or mongo connected" Tags="|solr|mongodb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7030" PostTypeId="2" ParentId="7028" CreationDate="2017-08-09T01:32:41.483" Score="0" Body="&lt;p&gt;The setting provided &quot;ContentSearch.Solr.ServiceBaseAddress&quot; isn't just for a standalone Sitecore, you can have multiple nodes pointing to the same ServiceBaseAddress.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ZooKeeper is the integration for the cluster, so, Probably it has an Address/IP configured that should be pointed on the ServiceBaseAddress&lt;/p&gt;&#xA;" OwnerUserId="998" LastActivityDate="2017-08-09T01:32:41.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7031" PostTypeId="1" AcceptedAnswerId="7078" CreationDate="2017-08-09T02:11:09.697" Score="2" ViewCount="758" Body="&lt;p&gt;&lt;strong&gt;Updated&lt;/strong&gt;: &lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added field validations to multi list field to select items from the data source, validation works fine in the content editor. But In Experience editor, validation error message keeps popping-up and unable to update field value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To replicate issue, please find below steps: &lt;br&gt;&#xA;1. Create Template with Multi List field (having data source items to select) &lt;br&gt;&#xA;2. Add Validation to Multi List field : I have used custom regular expression (^({[^}]+}[|]{[^}]+}[|]?){1,3}$) with validation text &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6796/sitecore-validation-rule-at-field-level-in-multi-list-value-selection-range&quot;&gt;Similar to this &lt;/a&gt;    &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c9qsB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c9qsB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open experience editor to render field components accordingly: &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Try to add/remove multi list items and update save.&lt;/li&gt;&#xA;&lt;li&gt;Error message is popping-up all the time though and unable to update field value from experience editor &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/u6nRE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u6nRE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 u3 | Validations are not working properly, error messages are shown though and unable to update field value to make it valid in Experience editor. I have tried in multiple browsers, facing the same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if anybody got expertise on these issues, add comments if need any further info.&lt;/p&gt;&#xA;" OwnerUserId="1279" LastEditorUserId="73" LastEditDate="2017-08-09T14:26:36.597" LastActivityDate="2017-08-14T02:13:12.370" Title="Multi List field validation fails and unable to update field value from Experience Editor" Tags="|validation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7032" PostTypeId="2" ParentId="7029" CreationDate="2017-08-09T07:31:09.690" Score="3" Body="&lt;p&gt;it depends on your Sitecore version. This was a known issue in the Sitecore 8.0/8.1 stack, where Solr had to be up and running in for a succesful start of your Sitecore application. At the moment that Solr would be offline, this wouldn't bring Sitecore down. I &lt;em&gt;believe&lt;/em&gt; that this was fixed in Sitecore 8.2, where Sitecore can start with an offline Solr instance.&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2017-08-09T07:31:09.690" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7033" PostTypeId="2" ParentId="7028" CreationDate="2017-08-09T07:57:54.087" Score="5" Body="&lt;p&gt;&lt;a href=&quot;http://smartsitecore.com/en/setup-solr-sitecore-production/&quot; rel=&quot;noreferrer&quot;&gt;This&lt;/a&gt; is a good article describing your scenario (last section, Sitecore and SolrCloud).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this scenario, you need 2 levels of load balancing.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;For high availability, you need a network load balancer. It will be in front of the 3 Zookepers, checking which of them are available and sending the request to one of them. The IP of this load balancer is the one that you must set as ContentSearch.Solr.ServiceBaseAddress. If you don't have a network load balancer and point this setting to one of the Zookepers directly and it is down, no matter how clever SolarCloud is, there is no way to handle the request by another server.&lt;/li&gt;&#xA;&lt;li&gt;At application level and for splitting the load, you have Zookeper as load balancer too. Once of the servers receives the request, Zookper will decide which Solr must actually perform the operation, ask him and send the response back to the client.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/8Z2LX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8Z2LX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-09T07:57:54.087" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7035" PostTypeId="1" CreationDate="2017-08-09T08:34:50.420" Score="2" ViewCount="169" Body="&lt;p&gt;We have a WFFM form on Sitecore 8.1 rev 160523, with a custom save action where we want to store the form data as a Sitecore item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we try to retrieve the value of a checkbox, we always get &lt;em&gt;False&lt;/em&gt;. The checkbox is default WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how we get the value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;adaptedFields.GetEntryByID(fieldId).Value&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When we check the post values in Fiddler we see the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;------WebKitFormBoundaryvNC5aqyb3BnVxz0V&#xA;Content-Disposition: form-data; name=&quot;wffm538c1e5743a34e1c86f9c4ea9a7557ba.Sections[3].Fields[0].{E8252991-D75B-4479-8FDB-4DCD72BA35FA}&quot;&#xA;&#xA;true&#xA;&#xA;------WebKitFormBoundaryvNC5aqyb3BnVxz0V    &#xA;Content-Disposition: form-data; name=&quot;wffm538c1e5743a34e1c86f9c4ea9a7557ba.Sections[3].Fields[0].{E8252991-D75B-4479-8FDB-4DCD72BA35FA}&quot;&#xA;false&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone have an idea how to solve this?&lt;/p&gt;&#xA;" OwnerUserId="1854" LastEditorUserId="1671" LastEditDate="2018-06-29T14:44:39.420" LastActivityDate="2018-06-29T14:44:39.420" Title="WFFM Checkbox value is always false" Tags="|wffm|fieldtype|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7036" PostTypeId="1" AcceptedAnswerId="7037" CreationDate="2017-08-09T08:45:34.950" Score="3" ViewCount="103" Body="&lt;p&gt;I am asking this question, because last time link to Express Migration Tool 2.0 ( &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool/20/Express_Migration_Tool_20_Initial_Release.aspx&lt;/a&gt; ) is present on Sitecore 8.2 Update-1 ( &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update1.aspx&lt;/a&gt; ). All further updates does not show this link&lt;/p&gt;&#xA;" OwnerUserId="181" LastActivityDate="2017-08-17T06:02:08.980" Title="Can Express Migration Tool 2.0 migrate to Sitecore 8.2 Update-4" Tags="|express-migration-tool|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7037" PostTypeId="2" ParentId="7036" CreationDate="2017-08-09T08:48:47.050" Score="2" Body="&lt;p&gt;The tool is not compatible with version newer than Sitecore 8.2 Update 1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should install install upgrade package using the &lt;strong&gt;UpdateInstallationWizard&lt;/strong&gt; to upgrade from 8.2.1 to to 8.2.4&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-08-09T09:01:00.063" LastActivityDate="2017-08-09T09:01:00.063" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7038" PostTypeId="1" AcceptedAnswerId="7061" CreationDate="2017-08-09T08:56:49.683" Score="2" ViewCount="99" Body="&lt;p&gt;Probably some one knows why the Layout Switcher in the Experience Editor mode can be disabled and I can't manage the Shared Layout? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IDOrV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IDOrV.png&quot; alt=&quot;Layout Switcher is not available&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;I want to manage the shared layout for my branch template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ATfWh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ATfWh.png&quot; alt=&quot;Editing brunch template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;I guess the reason is pretty simple but I need help.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="69" LastEditDate="2017-08-10T02:41:50.350" LastActivityDate="2017-08-10T12:51:54.603" Title="Layout switcher is not available" Tags="|experience-editor|presentation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7039" PostTypeId="1" AcceptedAnswerId="7070" CreationDate="2017-08-09T09:26:36.230" Score="1" ViewCount="1708" Body="&lt;p&gt;I'm getting started with Sitecore and there is something i don't understand. I know how to add a specific rendering and placeholder to a template in the standard values window but when i do it through the experience editor, nothing is automatically updated in my Sitecore solution when i save my changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I expected for instance to see a new line in my template/standard values/Renderings and Placeholders.&#xA;Thank you for your help &lt;/p&gt;&#xA;" OwnerUserId="2278" LastEditorUserId="69" LastEditDate="2017-08-10T02:38:19.073" LastActivityDate="2017-08-11T21:26:28.460" Title="Changes done through the Experience Editor are not visible in the Sitecore Solution" Tags="|experience-editor|" AnswerCount="1" CommentCount="5" ClosedDate="2017-08-12T13:49:40.517" ContentLicense="CC BY-SA 3.0" />
  <row Id="7040" PostTypeId="1" CreationDate="2017-08-09T09:33:23.967" Score="2" ViewCount="640" Body="&lt;p&gt;I am new to Sitecore, and working on my first project, so please forgive any obvious questions here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am working on building the project using the Helix architecture, using Habitat as inspiration (but not using project itself as my starting point).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting confused about placeholders. Habitat uses a placeholder called &quot;head&quot; to put metadata onto the page.. I can't find this placeholder as an item anywhere within any sitecore item in the habitat project (unless I am being totally blind).. As I understand, in Sitecore, you define the placeholder in your layout.cshtml file (i.e.  &lt;strong&gt;@Html.Sitecore().Placeholder(&quot;head&quot;)&lt;/strong&gt;  ), but you must also create a Placeholder item within Sitecore , whose placeholder Key matches what you defined in the layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My metadata rendering didn't appear until I created the &quot;head&quot; Placeholder item in my own project. (I bound this to the &quot;head&quot; placeholder as Habitat does)&#xA;I am just confused as to why/how the Habitat one works.. is the placeholder defined somewhere else?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My next question is regarding where/how sitecore rocks populates the &quot;Browse&quot; window the lists available placeholders when adding renderings to a layout?&#xA;I've added new placeholders in sitecore, and defined these in the layout.cshtml file, but they still don't appear.. What am I missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kXHHb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kXHHb.png&quot; alt=&quot;Browse window&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers,&#xA;Danny&lt;/p&gt;&#xA;" OwnerUserId="2302" LastEditorUserId="73" LastEditDate="2017-08-09T14:26:21.167" LastActivityDate="2017-08-09T14:26:21.167" Title="Sitecore, placeholders, sitecore Rocks" Tags="|sitecore-rocks|" AnswerCount="2" CommentCount="1" ClosedDate="2017-08-09T13:59:51.737" ContentLicense="CC BY-SA 3.0" />
  <row Id="7042" PostTypeId="2" ParentId="7040" CreationDate="2017-08-09T12:29:46.650" Score="2" Body="&lt;p&gt;Sitecore placeholder is an object to add the presentation rendering on the predefined positions. In your example &quot;Head&quot; is a placeholder key which works same as ID for a html element so when sitecore resolve the rendering and its position it check the placeholder key assign to that rendering and render content at that key. &quot;Head&quot; key's position is some where in head tag so it basically render meta thing in head section. You don't need to create any placeholder item in Sitecore. But yeah you can create placeholder setting to restrict the placeholder wizard to provide and limited options for any particular placeholder key, for example there only need to add a footer at footer placeholder So you can create placeholder setting to allow on footer rendering for footer placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With Regards to your second question. Sitecore rocks scan the current selected layouts and renderings for the placeholder key so developer can easily select anyone of them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2017-08-09T12:29:46.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7043" PostTypeId="2" ParentId="7040" CreationDate="2017-08-09T12:30:44.737" Score="1" Body="&lt;p&gt;The dialog lists all the placeholders for the selected layout and for all renderings that were added to the page. It parse Layout and renderings that were added to the page for @Html.Sitecore().Placeholder(&quot;placeholder-key&quot;) and it shows you in the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example,you have Default Layout on page.  Default Layout contains 3 placeholders : &lt;strong&gt;header&lt;/strong&gt;, &lt;strong&gt;content&lt;/strong&gt; and &lt;strong&gt;footer&lt;/strong&gt;. On header placeholder you have a view rendering Header which has 2 placeholders : &lt;strong&gt;header-left&lt;/strong&gt; and &lt;strong&gt;header-right&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your list you will have 5 placeholders: &lt;strong&gt;header, content and footer&lt;/strong&gt; from the layout and &#xA;&lt;strong&gt;header-left&lt;/strong&gt; and &lt;strong&gt;header-right&lt;/strong&gt; from the Header view-rendering.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-08-09T12:37:34.120" LastActivityDate="2017-08-09T12:37:34.120" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7044" PostTypeId="1" CreationDate="2017-08-09T13:43:13.140" Score="2" ViewCount="326" Body="&lt;p&gt;For some reason, I am unable to get Sitecore Rocks Folder sync to work correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've set up the sync, and pointed to the related folder in the web directory, but changes are not being synced. Choosing &quot;sync now&quot; does not work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am pretty sure Rocks is connected correctly, as I can create new layouts in the solution explorer, and the related item appears in the Sitecore explorer. Not sure if it's a permissions issue, but I have tried adding &quot;everyone&quot; to folder in question just to test, and this did not help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Logs seem show show file being deleted, and some random file appearing??&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nw1OO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nw1OO.png&quot; alt=&quot;Logs&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2302" LastEditorUserId="2302" LastEditDate="2017-08-09T14:02:41.413" LastActivityDate="2017-08-16T11:10:57.643" Title="Folder Sync not working" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7045" PostTypeId="1" CreationDate="2017-08-09T14:04:51.660" Score="12" ViewCount="3587" Body="&lt;p&gt;Sitecore constructs the default URL of an item based on its 'name' and it can also be configured to use 'Display Name' instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are Sitecore routines that prevent the content editor from typing Special characters on item names however, any character can be typed on a  Display Name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a scenario where the website has 3 languages and the URLs are built based on DisplayNames (useDisplayName set to true).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;patch:attribute name=&quot;useDisplayName&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The content editors have been typing characters like áêã so I am creating my own routine to remove the special characters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These characters are obviously not desired on a URL so that led me to think...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a Sitecore routine or configuration that could prevent the user to type special characters on Display Name or all developers out there need to develop their own routine?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1203" LastEditorUserId="73" LastEditDate="2017-08-09T14:25:15.157" LastActivityDate="2017-08-09T14:59:46.470" Title="Special Characters and Spaces in Display Name" Tags="|validation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7046" PostTypeId="2" ParentId="7045" CreationDate="2017-08-09T14:14:17.280" Score="6" Body="&lt;p&gt;&lt;code&gt;Display Name&lt;/code&gt; is a field. As such, you can enforce its value using normal Sitecore validation and workflow tools.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am by no means a specialist in writing RegEx expressions, but I'm pretty sure you can arrive at what you need by setting one such validator up for your &lt;code&gt;Display Name&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will only work on new changes however; the content your authors have already put into &lt;code&gt;Display Name&lt;/code&gt; will have to be cleaned up; using code or perhaps &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;SPE&lt;/a&gt; scripting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional info:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2011/05/09/using-sitecore-field-validators/&quot; rel=&quot;noreferrer&quot;&gt;Using Sitecore Field Validators&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/getting_started_with_content_authoring/working_with_items/validate_an_item&quot; rel=&quot;noreferrer&quot;&gt;Validate an item&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecoreworld.blogspot.ch/2014/12/sitecore-validation-examples.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Validation Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-08-09T14:14:17.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7047" PostTypeId="5" CreationDate="2017-08-09T14:28:57.963" Score="0" Body="" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-08-09T14:28:57.963" LastActivityDate="2017-08-09T14:28:57.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7048" PostTypeId="4" CreationDate="2017-08-09T14:28:57.963" Score="0" Body="For use only in relation with Sitecore integration of uCommerce; e.g via Commerce Connect or uCommerce's own Sitecore integration.&#xD;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-08-09T14:28:57.963" LastActivityDate="2017-08-09T14:28:57.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7049" PostTypeId="2" ParentId="7045" CreationDate="2017-08-09T14:59:46.470" Score="7" Body="&lt;p&gt;Following up on Mark's answer, if you wanted to do just use a regex you could use the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to &lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Rules/&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a folder called &lt;code&gt;Custom&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create an item called &lt;code&gt;Is Valid Display Name&lt;/code&gt; based on the template &lt;code&gt;/sitecore/templates/System/Validation/Validation Rule&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set the field appropriately. Type should be &lt;code&gt;Sitecore.Data.Validators.FieldValidators.RegexValidator,Sitecore.Kernel&lt;/code&gt; and the parameters should be something like &lt;code&gt;Pattern=^[\w*$][\w-$]*((\d{1,})){0,1}$&amp;amp;Text=Field &quot;{0}&quot; is not a valid display name.&amp;amp;Result=FatalError&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add the new validator to the &lt;code&gt;__Display name&lt;/code&gt; field's &lt;code&gt;Validator Bar&lt;/code&gt; field&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The regex pattern was pulled from the setting &lt;code&gt;ItemNameValidation&lt;/code&gt; with the &lt;code&gt;\s&lt;/code&gt; removed. Adding it to the validator bar will prevent the user from being able to save an item with an illegal display name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might want to also take into account other checks that are done against item names. These settings come to mind as an example of that: &lt;code&gt;InvalidItemNameChars&lt;/code&gt;, &lt;code&gt;AllowDuplicateItemNamesOnSameLevel&lt;/code&gt;, and &lt;code&gt;ItemNameAllowMixingReplacementCharacters&lt;/code&gt;. If something more complicated like this is needed you may need multiple validators or a custom validator that can tie it all together.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-08-09T14:59:46.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7050" PostTypeId="1" AcceptedAnswerId="7054" CreationDate="2017-08-09T15:11:44.827" Score="3" ViewCount="606" Body="&lt;p&gt;We have a client that makes use of the Send Email Message Save Action with WFFM 8.1 r 150323. The problem is that the mail server responsible for sending the email is horribly slow. While this is a problem in and of itself, I was curious if there was a solution to get around the deficiency.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems that there are two options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find a built-in option to solve the problem.&lt;/li&gt;&#xA;&lt;li&gt;Modify the &lt;code&gt;processMessage&lt;/code&gt; pipeline to replace &lt;code&gt;SendEmail&lt;/code&gt; with a custom sender that kicks off a Sitecore Job which sends the email.&lt;/li&gt;&#xA;&lt;li&gt;Modify the &lt;code&gt;processMessage&lt;/code&gt; pipeline to replace &lt;code&gt;SendEmail&lt;/code&gt; with a custom sender that stores the required information, and implement an agent which reads these and processes unsent messages in bulk.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I don't think a built-in solution exists, but it's worth a try. Barring a small miracle, does anyone have a preference for the custom &lt;code&gt;processMessage&lt;/code&gt; idea, or another solution?&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2017-08-09T18:59:49.100" Title="WFFM Asynchronous/Batched Send Email Message Save Action" Tags="|wffm|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7051" PostTypeId="1" CreationDate="2017-08-09T15:18:07.900" Score="0" ViewCount="431" Body="&lt;p&gt;I have been requested to provide an XML feed for Sitecore items, as for example an XML feed for News section, All the fields should be provided using this XML Feeds, I wonder if I can do this using Sitecore.Services.Client? Or if there is a better way to serve this.&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="200" LastEditDate="2017-08-09T16:04:26.023" LastActivityDate="2017-12-08T18:34:58.667" Title="Using Sitecore.Services.Client to provide XML Feeds" Tags="|sitecore-services-client|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7052" PostTypeId="2" ParentId="7050" CreationDate="2017-08-09T15:21:25.817" Score="1" Body="&lt;h3&gt;Out of the box&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I think you're right. I don't know of any way to make WFFM Save Action run async either.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Override SendMail&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I wouldn't create a job. I would probably just override &lt;code&gt;SendEmail&lt;/code&gt; to fire off the message async, like described (among other places) here: &lt;a href=&quot;https://stackoverflow.com/questions/8747483/proper-way-to-asynchronously-send-an-email-in-asp-net-am-i-doing-it-right&quot;&gt;https://stackoverflow.com/questions/8747483/proper-way-to-asynchronously-send-an-email-in-asp-net-am-i-doing-it-right&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In essence, something along these lines:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var smtpClient = new SmtpClient())&#xA;{&#xA;    await smtpClient.SendMailAsync(message);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Custom sender, processor, bulk and so on&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This, I believe, would be overkill. But there is an out-of-the-(Windows)-box solution you could consider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use the local SMTP service available on any Windows machine. Configure it to act as a relay to the real SMTP service (the slow one). The built-in one stores mails locally, and will dispatch them as quickly as it can. In essence doing the steps you considered yourself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://smallbusiness.chron.com/create-smtp-server-computer-51563.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to Create a SMTP Server on Your Computer&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://woshub.com/how-to-install-and-configure-smtp-server-on-windows-server-2012-r2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to Install and Configure SMTP Server on Windows Server 2012 R2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-08-09T15:21:25.817" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7053" PostTypeId="1" AcceptedAnswerId="7057" CreationDate="2017-08-09T15:42:20.853" Score="1" ViewCount="785" Body="&lt;p&gt;I am using Microsoft DI with Sitecore 8.2 Update 3. I have registered my Glass Items like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddTransient&amp;lt;ISitecoreContext&amp;gt;(provider =&amp;gt; new SitecoreContext());&#xA;serviceCollection.AddTransient&amp;lt;IGlassHtml&amp;gt;(provider =&amp;gt; new GlassHtml(serviceProvider.GetService&amp;lt;ISitecoreContext&amp;gt;()));&#xA;serviceCollection.AddTransient&amp;lt;ICustomSitecoreContext&amp;gt;(provider =&amp;gt; new CustomSitecoreContext(serviceProvider.GetService&amp;lt;IGlassHtml&amp;gt;()));&#xA;serviceCollection.AddScoped&amp;lt;ISitecoreService&amp;gt;(provider =&amp;gt; new SitecoreService(Sitecore.Context.Database));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Most of these things are resolving. But, when I use the CustomSitecoreContext, the parameter GlassHTML is null. I can see on showservicesconfig.aspx that IGlassHtml is registered. Im thinking its maybe not registered in time to use it this way?&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-08-10T01:04:11.213" Title="Glass Mapper and Microsoft DI" Tags="|glass-mapper|dependency-injection|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7054" PostTypeId="2" ParentId="7050" CreationDate="2017-08-09T18:54:09.527" Score="3" Body="&lt;p&gt;Since WFFM 8.0 Update-3 the module no longer uses the &amp;quot;remoteWfmService&amp;quot; web-service and instead uses the event queue via the Core database to communicate. From the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Downloads/Web%20Forms%20For%20Marketers/Web%20Forms%20for%20Marketers%2080/Release%20Notes.aspx#update3&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The WFFM security for multiserver configuration has been improved. Sitecore EventQueue is now used and the &amp;quot;remoteWfmService&amp;quot; web-service has been removed.(24829)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This change brings with it the ability to perform a Save Action on the CM server, effectively meaning that the Send Email action is deferred and processed at a later stage, allowing all other save actions to process and the form submission to continue as normal.&lt;/p&gt;&#xA;&lt;p&gt;Assuming you have followed the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers/Web_Forms_For_Marketers_81/Web_Forms_For_Marketers_81_Update3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;installation guide&lt;/a&gt; correctly, in particular section &amp;quot;1.2.2 Configuring the CD server&amp;quot;, one of the steps listed is:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;In the &lt;code&gt;\Website\App_Config\Include\Sitecore.Forms.Config&lt;/code&gt; file,&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add the following node to the  section:&#xA;&lt;code&gt;&amp;lt;setting name=&amp;quot;WFM.IsRemoteActions&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Now on your Send Email Save Action ensure that Client Action is &lt;strong&gt;not&lt;/strong&gt; checked.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iYFAx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iYFAx.png&quot; alt=&quot;Save Action&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If this field is checked, it will cause the Save Action to run immediately on the CD server. Leaving it unchecked means it is added to the Event Queue and processed by the CM server.&lt;/p&gt;&#xA;&lt;p&gt;You can read more in &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/save_actions/the_save_action_item_fields&quot; rel=&quot;nofollow noreferrer&quot;&gt;the save action item fields&lt;/a&gt; document:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Client Action&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This field is only used in the staging environment. If this check box is cleared, this save action is transferred from the Slave to the Master server and is performed there. If this check box is selected, a save action is performed on the Slave server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This should ensure that the form submission occurs immediatelty and any delays due to the mail server are not visible to the user.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-08-09T18:59:49.100" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7056" PostTypeId="1" AcceptedAnswerId="10171" CreationDate="2017-08-09T22:59:39.750" Score="7" ViewCount="100" Body="&lt;p&gt;Is it possible to reuse the tristate from the security manager i.e.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/BVgGv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BVgGv.png&quot; alt=&quot;Secuirty Tristate&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see &quot;Developer Types -&gt; Tristate&quot; in the select list, but it's just a select list itself, not the nicer security one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KZVqC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KZVqC.png&quot; alt=&quot;Default tristate&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-02-15T04:31:52.217" Title="Is it possible to reuse the security tristate control field?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7057" PostTypeId="2" ParentId="7053" CreationDate="2017-08-10T01:04:11.213" Score="3" Body="&lt;p&gt;Not knowing the details of your implementation on &lt;code&gt;ICustomSitecoreContext&lt;/code&gt;, it looks to me like you are registering the dependencies incorrectly. While the &lt;code&gt;ISitecoreContext&lt;/code&gt; needs the factory method to instantiate a &lt;code&gt;new SitecoreContext&lt;/code&gt; - your other dependencies should be able to be created by the container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddTransient&amp;lt;ISitecoreContext&amp;gt;(provider =&amp;gt; new SitecoreContext());&#xA;serviceCollection.AddTransient&amp;lt;IGlassHtml, GlassHtml&amp;gt;();&#xA;serviceCollection.AddTransient&amp;lt;ICustomSitecoreContext, CustomSitecoreContext&amp;gt;();&#xA;serviceCollection.AddScoped&amp;lt;ISitecoreService&amp;gt;(provider =&amp;gt; new SitecoreService(Sitecore.Context.Database));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you register them like that, your container then takes care of making sure that the &lt;code&gt;IGlassHtml&lt;/code&gt; object injected into your &lt;code&gt;CustomSitecoreContext&lt;/code&gt; class is instantiated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively - if you need to use the factory method, then you need to use the &lt;code&gt;provider&lt;/code&gt; method from the lambda. Like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddTransient&amp;lt;IGlassHtml&amp;gt;(provider =&amp;gt; new GlassHtml(provider.GetService&amp;lt;ISitecoreContext&amp;gt;()));&#xA;serviceCollection.AddTransient&amp;lt;ICustomSitecoreContext&amp;gt;(provider =&amp;gt; new CustomSitecoreContext(provider.GetService&amp;lt;IGlassHtml&amp;gt;()));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope that helps!&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-08-10T01:04:11.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7058" PostTypeId="2" ParentId="7051" CreationDate="2017-08-10T05:16:21.593" Score="0" Body="&lt;p&gt;I would think of Sitecore.Services.Client as an API to use in conjunction with SPEAK apps, which however can be used for different purposes. &#xA;You can also do that using the normal Asp.net MVC web API controllers (Sitecore.Services.Client is based on that).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an option, you could go for Web Services or WCF, but that is likely an overkill for your case.&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-08-10T05:16:21.593" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7059" PostTypeId="1" CreationDate="2017-08-10T05:36:10.453" Score="5" ViewCount="293" Body="&lt;p&gt;The internal search stopped working. It was working fine until I configured Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The changes I made are :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Disable all Lucene configs except the DefaultIndexConfiguration.config and enabled all Solr configs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Solr DefaultIndexConfiguration.config, I have included some templates &amp;amp; fields in the respective nodes &amp;amp; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;this is set to true - &lt;code&gt;&amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AdaKA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AdaKA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no exceptions logged and I've checked Search.log, Crawling.log and the regular log.txt&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, when I try to rebuild indexes in the Developer tab, it shows none.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.0 Update 5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-08-10T15:41:43.037" LastActivityDate="2017-09-23T07:18:34.287" Title="Internal search doesn't work after configuring solr" Tags="|content-search|solr|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="7060" PostTypeId="1" CreationDate="2017-08-10T09:36:46.353" Score="4" ViewCount="501" Body="&lt;p&gt;I currently have the requirement to set up page level tests to test two different pages against each other. I am doing this in the Experience Optimization application using the 'use existing' button when adding pages to test against. We are looking at testing pages based on different templates, however on the Sitecore community pages it states that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Page Level Tests don’t support testing items with different templates. All the items that are included in the test must have the same template.&quot; -&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/the-difference-between-the-content-test-and-page-level-test&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/the-difference-between-the-content-test-and-page-level-test&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have managed to set up a page level test so the user sees one of two pages based on two different templates. Is this functionality supported as it seems to be or am I going to hit a snag down the line based on what the community document states?&lt;/p&gt;&#xA;" OwnerUserId="367" LastActivityDate="2024-01-24T08:07:10.907" Title="Page level tests with different templates" Tags="|content-testing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7061" PostTypeId="2" ParentId="7038" CreationDate="2017-08-10T12:51:54.603" Score="1" Body="&lt;p&gt;The reason was simple. It happens when current site is resolves incorrect. When I set a correct site in sc_site parameter in the URL, I will be enabled the swither.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-08-10T12:51:54.603" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7062" PostTypeId="1" AcceptedAnswerId="7195" CreationDate="2017-08-10T13:38:38.200" Score="6" ViewCount="257" Body="&lt;p&gt;I have an issue  with the following Module &quot;Microsft Dynamics CRM Security Provider 2.1.2&quot; &#xA;I´m using Sitecore 8.0 with Microsoft Dynamics Office 365(online on Microsoft)&#xA;I read all the documentation, and I could not find anything Related to OFFICE 365(Dynamics online) &#xA;Connection string Syntax :(&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/modules/dynamics%20crm%20campaign%20integration/dynamics_crm_security_provider_module_guide_for_sc60-70-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sdn5/modules/dynamics%20crm%20campaign%20integration/dynamics_crm_security_provider_module_guide_for_sc60-70-a4.pdf&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The release notes say that works with Office 365 (&lt;a href=&quot;https://dev.sitecore.net/en/Downloads/Dynamics%20CRM%20Security%20Provider/2%201/Dynamics%20CRM%20Security%20Provider%202%201%202/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/en/Downloads/Dynamics%20CRM%20Security%20Provider/2%201/Dynamics%20CRM%20Security%20Provider%202%201%202/Release%20Notes&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I use the old crm connection string syntax. it works, and if I click on &quot;user Manager&quot;, Sitecore User Manager works(get all CRM contacts)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OLD CRM Connection String SYNTAX&lt;/strong&gt;&#xA;  https://crm.crmdev.XXXX.com/XXXX-dev/XRMServices/2011/Organization.svc;user id=Sitecore-myusername;password=pass@12345;organization=XXXX-DEV;authentication type=0&quot; /&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NEW OFFICE 365 CONNECTION STRING SYNTAX&lt;/strong&gt;&#xA;If I use the new connection string, my Sitecore &quot;user Manager&quot; is not able to get CRM contacts&lt;/p&gt;&#xA;&#xA;&lt;p&gt;https://clientsandbox.api.crm3.dynamics.com/XRMServices/2011/Organization.svc;user id=myuser;password=myusername2017;authtype=Office365&quot; /&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The documentation tells me that works, but this is not the case it´s not &#xA;The logs files complaints about the structure of the ConnectionString&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-Missing Organization Param&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-Missing authentication type&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But even if I adapt, still not working&#xA;Do anyone knows if this Provider works with &quot;Dynamics ONLINE Office 365&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="998" LastEditDate="2017-08-11T21:16:34.993" LastActivityDate="2022-06-02T06:09:03.467" Title="Sitecore Microsoft Dynamics CRM Security Provider 2.1 fails on Sitecore 8" Tags="|dynamics-crm-module|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="7063" PostTypeId="1" AcceptedAnswerId="7066" CreationDate="2017-08-10T14:47:20.457" Score="8" ViewCount="2569" Body="&lt;p&gt;I'm creating a new SXA site and have the requirement to inject Google Tag Manager (GTM) scripts into all of our pages. Unfortunately, the content editors want to manage these scripts (and other similar ones) themselves by adding content items to the content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know how to do this and inject these scripts into the &lt;code&gt;&amp;lt;body&amp;gt;/&amp;lt;header&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;body&amp;gt;/&amp;lt;footer&amp;gt;&lt;/code&gt;, but GTM expects one script to be added to the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; and another to be added &lt;em&gt;immediately&lt;/em&gt; after the opening &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag (which would be prior to the wrapper &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked into doing this using a Metadata Partial Design, but I couldn't find documentation and, while experimenting, I could only figure out how to add &lt;code&gt;&amp;lt;meta&amp;gt;&lt;/code&gt; tags... nor could I figure out how to activate the partial on my pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to do this out of the box with SXA?  If not, where is the best place to start with a custom solution?&lt;/p&gt;&#xA;" OwnerUserId="2194" LastActivityDate="2017-08-10T16:32:28.223" Title="Injecting Google Tag Manager from content using SXA" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7064" PostTypeId="2" ParentId="7059" CreationDate="2017-08-10T15:40:56.247" Score="0" Body="&lt;p&gt;When I first configured Solr, I disabled all Lucene configs except &lt;code&gt;Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I enabled &lt;code&gt;Sitecore.ContentSearch.Lucene.Indexes.Sharded.Master.config&lt;/code&gt; and its working fine now.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-08-10T15:40:56.247" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7065" PostTypeId="2" ParentId="7063" CreationDate="2017-08-10T15:52:35.703" Score="0" Body="&lt;p&gt;My first thought is that you would perform the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add a script to the theme which loads the GTM code asynchronously. By default SXA will add the scripts to the end of the body; GTM will later load Google scripts to the head.&lt;/li&gt;&#xA;&lt;li&gt;Use GTM to create and load the scripts dynamically using Google's interface rather than using the media library directly. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;For the website my company just rolled out we have the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Theme contains script called &lt;code&gt;z-company-google-tag-manager.js&lt;/code&gt;. This script loads in the &lt;code&gt;optimized-min.js&lt;/code&gt; file generated by SXA. Since it's a script it appears at the end of the &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt; tag.&lt;/li&gt;&#xA;&lt;li&gt;When the script runs it adds a new &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; which contains the file to download. This meets the need you described in your comment and the behavior is expected as well as supported by Google. Moreover, the snippet of code provided by Google adds the following to the correct place.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;head&amp;gt;&#xA;...&#xA;&amp;lt;script async=&quot;&quot; src=&quot;//www.googletagmanager.com/gtm.js?id=ABC-123456&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;...&#xA;&amp;lt;/head&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;One point to remember is that GTM actually supports JavaScript injection.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you want to control which scripts are being added then the below solution may work for you.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;SXA Extensions&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I built a way for you to add a script to the site or to a specific page as seen &lt;a href=&quot;https://github.com/michaellwest/westco-sxa-extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. You can load the GTM script using the module directly if you like and there is even a field where you can paste raw JavaScript.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-08-10T16:32:28.223" LastActivityDate="2017-08-10T16:32:28.223" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7066" PostTypeId="2" ParentId="7063" CreationDate="2017-08-10T16:06:06.907" Score="0" Body="&lt;p&gt;I've had the same issue in a recent sxa project: injecting a script immediately after the body tag without any surrounding divs or spans.&#xA;I didn't find a solution out of the box that suited our SEO experts, but managed to fix it with just a little customization:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created an empty controller &quot;TextController&quot; inherited from the &lt;code&gt;StandardController&lt;/code&gt;. And a new View in the &quot;Text&quot; folder, called it &quot;PlainText&quot; - looking like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@model Sitecore.XA.Foundation.Mvc.Models.RenderingModelBase&#xA;&#xA;@if (Model.DataSourceItem == null)&#xA;{&#xA;    @Model.MessageIsEmpty&#xA;}&#xA;else&#xA;{&#xA;    @Model.MessageEditHere&#xA;    @Html.Sxa().Field(&quot;HtmlCode&quot;, Model.DataSourceItem, true)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Register this rendering in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a new rendering item (I called it &quot;Plain Text (Reusable)&quot;)&lt;/li&gt;&#xA;&lt;li&gt;Fill in the Controller (&lt;code&gt;Text&lt;/code&gt;) and Action (&lt;code&gt;Index&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;For the &lt;code&gt;Parameters Template&lt;/code&gt;, &lt;code&gt;Datasource Location&lt;/code&gt; and &lt;code&gt;Datasource Template&lt;/code&gt; I took the same values as in the standard &quot;Plain HTML (Reusable)&quot; rendering&lt;/li&gt;&#xA;&lt;li&gt;If you want your rendering in the toolbox, you need to add a few steps (adding it to the &lt;code&gt;Available Renderings&lt;/code&gt;) but I assume you don't really want that&lt;/li&gt;&#xA;&lt;li&gt;Add the rendering to a &lt;code&gt;Partial Layout&lt;/code&gt; that is used on all pages - I added it to the (shared) layout of the &lt;code&gt;Metadata Partial Design&lt;/code&gt; - not sure if that is a good idea but it works. You can use the &lt;code&gt;body-top&lt;/code&gt; placeholder. Create a datasource item for the GTM rendering, add place your tagging code in it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That's it I think.. been a while so I hope I didn't forget anything..&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-08-10T16:06:06.907" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7067" PostTypeId="1" CreationDate="2017-08-11T06:23:47.400" Score="4" ViewCount="1178" Body="&lt;p&gt;recently we upgarded to sitecore 8.2 &#xA;and while selecting an item in the content editor i see so may calls to the server &lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/shell/Applications/Content-Editor?ic=Apps%2F48x48%2FPencil.png&amp;amp;he=Content%20Editor&amp;amp;cl=0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Analytics.TrackingFieldDetails.aspx?db=master&amp;amp;id=%7BD2130E52-B828-4383-A3A0-AD45DBE53A10%7D&amp;amp;la=en&amp;amp;vs=1&amp;amp;fld=%7BB0A67B2A-8B07-4E0B-8809-69F751709806%7D&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Security.SecurityDetails.aspx?db=master&amp;amp;id=%7BD2130E52-B828-4383-A3A0-AD45DBE53A10%7D&amp;amp;la=en&amp;amp;vs=1&amp;amp;fld=%7BDEC8D2D5-E3CF-48B6-A653-8E69E2716641%7D&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/shell/~/xaml/Sitecore.Shell.Applications.ContentEditor.Editors.Folder.aspx?id=%7BD2130E52-B828-4383-A3A0-AD45DBE53A10%7D&amp;amp;la=en&amp;amp;language=en&amp;amp;vs=1&amp;amp;version=1&amp;amp;database=master&amp;amp;readonly=0&amp;amp;db=master&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/shell/Applications/Buckets/Services/Search.ashx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do i need all these calls ?how do i disable few (we have disabled tracking ) still some tracking related call is getting fired .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;how do i improve content editor performance ?&#xA;Am getting kill session in chrome often when i use sitecore and switch between items.&#xA;please advice &lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="95" LastEditDate="2017-08-11T12:18:37.457" LastActivityDate="2017-08-29T11:03:44.297" Title="How to avoid unnecessary calls in 8.2 Content Editor" Tags="|content-editor|performance-optimization|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7068" PostTypeId="2" ParentId="7067" CreationDate="2017-08-11T07:04:14.603" Score="6" Body="&lt;p&gt;Most of the calls you mentioned are related to Sitecore Standard Fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. if you Content Editor is about to display Tracking field in a user friendly way, it does extra call to &lt;code&gt;TrackingFieldDetails.aspx&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do is to &lt;strong&gt;uncheck&lt;/strong&gt; &lt;code&gt;Standard Fields&lt;/code&gt; in the &lt;code&gt;VIEW&lt;/code&gt; tab of the ribbon (or use CTRL + SHIFT + ALT + T keyboard shortcut). That will hide the Standard Fields but in most of cases you don't use them anyway and you can always show them again if needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DyU9f.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DyU9f.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-08-11T07:50:29.313" LastActivityDate="2017-08-11T07:50:29.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7069" PostTypeId="2" ParentId="7067" CreationDate="2017-08-11T09:30:48.020" Score="4" Body="&lt;p&gt;Just to add to what Marek is saying; Content Editor performance (once hardware is out of the way) is really about the fields being shown. As such, the recommended practice of &lt;em&gt;not&lt;/em&gt; displaying &lt;code&gt;Standard Fields&lt;/code&gt; unless you need them - should be the first thing to check.&lt;/p&gt;&#xA;&lt;p&gt;If you still experience performance issues, this is what you should be looking at:&lt;/p&gt;&#xA;&lt;h3&gt;Hardware&lt;/h3&gt;&#xA;&lt;p&gt;Make sure the hardware running your solution is adequate. I cannot possibly tell you what &amp;quot;adequate&amp;quot; would be, it really depends on so many factors - but make sure the server (or your machine, if running locally) has enough RAM and enough disk space. First and foremost.&lt;/p&gt;&#xA;&lt;h3&gt;More fields&lt;/h3&gt;&#xA;&lt;p&gt;Second thing to check is the actual fields you have, on the items you switch between. Certain field types can slow down a Content Editor tremendously, if configured incorrectly. For instance if you make heavy use of DropList or DropLink fields and these are all configured with an expensive Sitecore Query as their datasource - this can slow your CE experience down quite massively.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-08-11T09:30:48.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7070" PostTypeId="2" ParentId="7039" CreationDate="2017-08-11T10:20:29.417" Score="0" Body="&lt;p&gt;In Sitecore version 8.2 update 3 this is a known issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you look in your Sitecore desktop. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Select from the menu in the bottom right, the master database.&lt;/li&gt;&#xA;&lt;li&gt;Now go into the content editor and check to see if the data is there vs the web database.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Solution: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If after a publish the information is still not correct, you can delete the items in the web database, and publish again. Now it should be published correctly.&lt;/p&gt;&#xA;" OwnerUserId="2309" LastEditorUserId="1000" LastEditDate="2017-08-11T21:26:28.460" LastActivityDate="2017-08-11T21:26:28.460" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7071" PostTypeId="1" AcceptedAnswerId="7072" CreationDate="2017-08-11T11:37:07.497" Score="3" ViewCount="224" Body="&lt;p&gt;I have to sync (external) data into contacts facets and was looking for possible ways to do this. I stumbled upon some -limited- information based on the &lt;code&gt;SubmitContact&lt;/code&gt; pipeline. But I can't seem to find a lot of information on that pipeline. So, does anyone know:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;when this pipeline is called?&lt;/li&gt;&#xA;&lt;li&gt;what the actual purpose of the pipeline is?&lt;/li&gt;&#xA;&lt;li&gt;if this is the right place to place a processor to fill facet data - or was the information I found outdated and should I use the Data Exchange Framework?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-08-11T12:33:33.297" Title="Sync xDB contact data: SubmitContact pipeline" Tags="|xdb|contact-facets|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7072" PostTypeId="2" ParentId="7071" CreationDate="2017-08-11T12:33:33.297" Score="2" Body="&lt;p&gt;For you case I suggest you to use Sitecore Data Exchange Framework. &#xA;You  have to create your own facets, you set what fields you have to map, create scheduler tasks and configure how often to run. For all you will need to create custom code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SubmitContact pipeline is used by : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Sitecore.Analytics.Pipelines.SubmitContact.SubmitContactPipeline&#xA;public static void Run(SubmitContactArgs args)&#xA;{&#xA;    Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;    if (!XdbSettings.Enabled)&#xA;    {&#xA;        args.AbortPipeline();&#xA;        return;&#xA;    }&#xA;    CorePipeline.Run(&quot;submitContact&quot;, args);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The method Run is used by : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Sitecore.Analytics.Data.ContactRepository&#xA;public override bool SaveContact(Contact contact, ContactSaveOptions options)&#xA;{&#xA;    Assert.ArgumentNotNull(contact, &quot;contact&quot;);&#xA;    Assert.ArgumentNotNull(options, &quot;options&quot;);&#xA;    ContactContext contactContext = (ContactContext)contact;&#xA;    if (contactContext.IsTemporaryInstance)&#xA;    {&#xA;        contactContext = (ContactContext)this.MergeTemporaryContact(contactContext, options.LeaseOwner, System.TimeSpan.FromSeconds(10.0));&#xA;        contactContext.IsTemporaryInstance = false;&#xA;    }&#xA;    if (!options.Release &amp;amp;&amp;amp; options.LeaseOwner != null &amp;amp;&amp;amp; contactContext.Contact.Lease == null)&#xA;    {&#xA;        System.DateTime expirationTime = System.DateTime.UtcNow + AnalyticsSettings.MaxAcceptedClockDeviation + options.LeaseDuration;&#xA;        contactContext.Contact.Lease = new LeaseData&#xA;        {&#xA;            ExpirationTime = expirationTime,&#xA;            Owner = options.LeaseOwner&#xA;        };&#xA;    }&#xA;    SubmitContactArgs args = new SubmitContactArgs(contactContext, this.provider, true);&#xA;    SubmitContactPipeline.Run(args);&#xA;    if (this.provider.SaveContact(contactContext.Contact, options))&#xA;    {&#xA;        ProcessingReason reason = contactContext.IsNew ? ProcessingReason.Created : ProcessingReason.Updated;&#xA;        this.ScheduleForProcessing(contactContext.Contact.Id.Guid, reason);&#xA;        LeaseOwner leaseOwner = new LeaseOwner(AnalyticsSettings.ClusterName, LeaseOwnerType.WebCluster);&#xA;        ID successorId = new ID(contact.ContactId);&#xA;        System.Guid[] mergingSources = contact.GetMergingSources();&#xA;        System.Guid[] array = mergingSources;&#xA;        for (int i = 0; i &amp;lt; array.Length; i++)&#xA;        {&#xA;            System.Guid sourceContactId = array[i];&#xA;            this.ObsoleteContact(sourceContactId, leaseOwner, successorId);&#xA;        }&#xA;        foreach (System.Collections.Generic.KeyValuePair&amp;lt;string, object&amp;gt; current in from pair in contact.Attachments&#xA;        where pair.Value is IUpdatableObject&#xA;        select pair)&#xA;        {&#xA;            this.provider.Update(current.Value as IUpdatableObject);&#xA;        }&#xA;        return true;&#xA;    }&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-08-11T12:33:33.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7075" PostTypeId="2" ParentId="2710" CreationDate="2017-08-12T15:28:40.603" Score="0" Body="&lt;p&gt;You will need to either build this search functionality at the project level, thus being able to see all the feature templates. Or you can move the field you want to search, like Title or Abstract, to the foundation level and search on those fields. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have searchable fields in a new Foundation.Taxonomy project and then filter my pages on that taxonomy fields. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-08-12T15:28:40.603" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7076" PostTypeId="2" ParentId="6743" CreationDate="2017-08-12T16:42:39.827" Score="1" Body="&lt;p&gt;While working with SXA 1.3 we too noticed an issue with the row splitter; since corrected with SXA 1.4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As part of my support ticket (7147) to Sitecore, I indicated that whenever I add a 3rd+ row, the new row appears 50% width.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/af0TQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/af0TQ.png&quot; alt=&quot;Busted Row&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further inspection revealed the component contained column properies, which it should not. Manually removing them corrected the issue for that one row.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dwR37.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dwR37.png&quot; alt=&quot;Extra Properties&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the patch by Sitecore has worked for us just fine.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-08-13T01:09:12.653" LastActivityDate="2017-08-13T01:09:12.653" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7077" PostTypeId="2" ParentId="6563" CreationDate="2017-08-12T17:29:50.280" Score="2" Body="&lt;h2&gt;Updating the field&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The field you need is ID &lt;code&gt;Sitecore.Buckets.Util.Constants.DefaultQuery&lt;/code&gt; and then if you have your query already you can just update it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;BucketItem.Editing.BeginEdit();&#xA;BucketItem.Fields[Sitecore.Buckets.Util.Constants.DefaultQuery].Value = ['The query you want in there']&#xA;BucketItem.Editing.AcceptChanges();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The query looks like this &lt;code&gt;+location:021e2ec55a614a3d8b2f5575e709c632;template:{03360FC1-B4C0-4770-9E1D-79E8317B74DD}&lt;/code&gt;. So you can update it to whatever you want.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Doing it on an item created from a branch template&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As far as your branch update goes, I would do that work in a AddFromTemplate pipeline. This gives you the ability to focus on branches and not every single time an item is updated. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddFromBranchPreset : AddFromTemplateProcessor&#xA;{&#xA;    public override void Process(AddFromTemplateArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        if (args.Destination.Database.Name != &quot;master&quot;) return;&#xA;&#xA;        var templateItem = args.Destination.Database.GetItem(args.TemplateId);&#xA;&#xA;        Assert.IsNotNull(templateItem, &quot;Template did not exist!&quot;);&#xA;&#xA;        // if this isn't a branch template, we can use the stock behavior&#xA;        if (templateItem.TemplateID != TemplateIDs.BranchTemplate) return;&#xA;&#xA;        [DO YOUR BRANCH WORK HERE]&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The config is like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Add this to App_Config/Include to enable branch presets --&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;group name=&quot;itemProvider&quot; groupName=&quot;itemProvider&quot;&amp;gt;&#xA;                &amp;lt;pipelines&amp;gt;&#xA;                    &amp;lt;addFromTemplate&amp;gt;&#xA;                        &amp;lt;processor type=&quot;YourApp.BranchPresets.AddFromBranchPreset, YourApp.BranchPresets&quot; /&amp;gt;&#xA;                    &amp;lt;/addFromTemplate&amp;gt;&#xA;                &amp;lt;/pipelines&amp;gt;&#xA;            &amp;lt;/group&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-08-12T17:29:50.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7078" PostTypeId="2" ParentId="7031" CreationDate="2017-08-14T02:13:12.370" Score="1" Body="&lt;p&gt;Sitecore has reported this issue as BUG and provided workaround fix as below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Fix: &lt;br&gt;&lt;/strong&gt;&#xA;comment out the following processor in your 'App_Config\sitecore.config' file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Applications.ContentManager.ReturnFieldEditorValues.RegexValidate&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br&gt;&#xA;The Sitecore.Shell.Applications.ContentManager.ReturnFieldEditorValues.RegexValidate processor is a part of the uiReturnFieldEditorValues pipeline. &#xA;The RegexValidate processor must check fields with a regular expression validation when you click the Ok button in your Edit Form. If the result is invalid, a pop-up with the validation message will appear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in this case multi-list field will not be validated when you will edit multi-list field in Experience Editor and click OK button. But will be validated when you will click on Save button, and an error message will appear if any field does not meet the regular expression.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For future reference, Please reach out to Sitecore with #49573.&lt;/p&gt;&#xA;" OwnerUserId="1279" LastActivityDate="2017-08-14T02:13:12.370" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7081" PostTypeId="2" ParentId="6384" CreationDate="2017-08-14T07:34:40.077" Score="1" Body="&lt;p&gt;You might also consider disabling/deleting the FileWatchers completely. In general, we do this because we won't make any changes to the filesystem outside of a deploy (we don't change views, configs etc. and we only upload medias through Sitecore, not by using the file system). Hereby we save the additional work-load and threads caused by the FileWatchers, but keep the watchers locally so you can make changes without recycling the application...&lt;/p&gt;&#xA;" OwnerUserId="185" LastActivityDate="2017-08-14T07:34:40.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7083" PostTypeId="1" AcceptedAnswerId="7085" CreationDate="2017-08-14T15:32:36.303" Score="1" ViewCount="1036" Body="&lt;p&gt;We are working on a multilingual sitecore solution and have been seeing some performance issues related to Sitecore Dictionary calls. Especially what I am seeing is increased direct SQL queries every time a call to &lt;strong&gt;Translate.TextByDomain&lt;/strong&gt; method to get a dictionary value. I am not exactly sure how the caching with dictionary by domain works and wondering if there are any settings that I should be looking into? Any help would be great.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Hetal&lt;/p&gt;&#xA;" OwnerUserId="1199" LastActivityDate="2017-08-14T17:06:07.453" Title="Sitecore Dictionary Performance question" Tags="|dictionary|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7085" PostTypeId="2" ParentId="7083" CreationDate="2017-08-14T17:06:07.453" Score="6" Body="&lt;p&gt;I was pretty sure, the use of dictionary items for translation was pretty quick, due to the fact that Sitecore caches the dictionary into a binary file but...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It turns out that when you use the domain, the first thing that Sitecore (always) does is look for the domain item with this query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;fast://*[@@templateid='{0A2847E6-9885-450B-B61E-F9E6528480EF}' and @@key!='__standard values']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This can explain why you see the direct SQL queries. It does a query across the whole content looking for items with template &quot;Dictionary Domain&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can avoid this query by passing the item ID (as string) of the domain, instead of the domain name, as if the text is an ID (&lt;code&gt;ID.IsID(str)&lt;/code&gt;) Sitecore does a GetItem. Please note I never tried this approach, it is only based on the piece of code I just read.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once it has the domain, then it calls TryTranslateTextByLanguage, which is the one that actually uses the binary file (dictionary.dat).&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-14T17:06:07.453" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7086" PostTypeId="2" ParentId="4620" CreationDate="2017-08-14T19:00:18.857" Score="0" Body="&lt;p&gt;if you need to reset only some specific Components on the Final Layout, you can use this Sitecore Module &quot;Layout Modes Comparer&quot;: &lt;a href=&quot;https://marketplace.sitecore.net/Modules/L/Layout_Modes_Comparer.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/L/Layout_Modes_Comparer.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the Module also highlights the Components, created/updated/deleted on the Final Layout. That can be realy helpfull in your case:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/G2hcm.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G2hcm.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2314" LastEditorUserId="2314" LastEditDate="2017-08-16T12:47:08.707" LastActivityDate="2017-08-16T12:47:08.707" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7091" PostTypeId="1" CreationDate="2017-08-15T10:50:21.340" Score="0" ViewCount="2245" Body="&lt;p&gt;I tried to install Habitat and followed all the instructions mentioned at:&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the default task as mentioned in step 5 of wiki, I keep on getting the following error (i have already executed npm install and npm install -g gulp-cli):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[10:44:53] Starting '03-Publish-All-Projects'... [10:44:53] Starting&#xA;  'Build-Solution'... [10:44:53] { Error: spawn C:\Program Files&#xA;  (x86)\MSBuild\15.0\Bin\amd64\MSBuild. exe ENOENT&#xA;      at exports._errnoException (util.js:1020:11)&#xA;      at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)&#xA;      at onErrorNT (internal/child_process.js:367:16)&#xA;      at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;      at process._tickCallback (internal/process/next_tick.js:104:9)   code: 'ENOENT',   errno: 'ENOENT',   syscall: 'spawn C:\Program Files&#xA;  (x86)\MSBuild\15.0\Bin\amd64\MSBuild.ex e',   path: 'C:\Program&#xA;  Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe',   spawnargs:&lt;br&gt;&#xA;  [ 'C:\Projects\Habitat\Habitat.sln',&#xA;       '/target:Clean;Build',&#xA;       '/verbosity:minimal',&#xA;       '/toolsversion:15.0',&#xA;       '/nologo',&#xA;       '/maxcpucount',&#xA;       '/nodeReuse:False',&#xA;       '/property:Configuration=Debug',&#xA;       '/property:Platform=Any CPU' ] } [10:44:53] MSBuild failed! [10:44:53] 'Build-Solution' errored after 36 ms [10:44:53] Error:&#xA;  spawn C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.ex e&#xA;  ENOENT&#xA;      at exports._errnoException (util.js:1020:11)&#xA;      at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)&#xA;      at onErrorNT (internal/child_process.js:367:16)&#xA;      at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;      at process._tickCallback (internal/process/next_tick.js:104:9) [10:44:53] 'default' errored after 2.12 s [10:44:53] Error in plugin&#xA;  'run-sequence(Build-Solution)' Message:&#xA;      spawn C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT Details:&#xA;      code: ENOENT&#xA;      errno: ENOENT&#xA;      syscall: spawn C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;      path: C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;      spawnargs: C:\Projects\Habitat\Habitat.sln,/target:Clean;Build,/verbosity:mi&#xA;  nimal,/toolsversion:15.0,/nologo,/maxcpucount,/nodeReuse:False,/property:Configu&#xA;  ration=Debug,/property:Platform=Any CPU Stack: Error: spawn C:\Program&#xA;  Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;      at exports._errnoException (util.js:1020:11)&#xA;      at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)&#xA;      at onErrorNT (internal/child_process.js:367:16)&#xA;      at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;      at process._tickCallback (internal/process/next_tick.js:104:9) [10:44:53] '03-Publish-All-Projects' errored after 49 ms [10:44:53]&#xA;  Error in plugin 'run-sequence(default)' Message:&#xA;      spawn C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT Details:&#xA;      code: ENOENT&#xA;      errno: ENOENT&#xA;      syscall: spawn C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;      path: C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;      spawnargs: C:\Projects\Habitat\Habitat.sln,/target:Clean;Build,/verbosity:mi&#xA;  nimal,/toolsversion:15.0,/nologo,/maxcpucount,/nodeReuse:False,/property:Configu&#xA;  ration=Debug,/property:Platform=Any CPU Stack: Error: spawn C:\Program&#xA;  Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;      at exports._errnoException (util.js:1020:11)&#xA;      at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)&#xA;      at onErrorNT (internal/child_process.js:367:16)&#xA;      at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;      at process._tickCallback (internal/process/next_tick.js:104:9) [10:44:53] '03-Publish-All-Projects' errored after 58 ms [10:44:53]&#xA;  Error in plugin 'run-sequence(Build-Solution)' Message:&#xA;      spawn C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT Details:&#xA;      code: ENOENT&#xA;      errno: ENOENT&#xA;      syscall: spawn C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;      path: C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;      spawnargs: C:\Projects\Habitat\Habitat.sln,/target:Clean;Build,/verbosity:mi&#xA;  nimal,/toolsversion:15.0,/nologo,/maxcpucount,/nodeReuse:False,/property:Configu&#xA;  ration=Debug,/property:Platform=Any CPU Stack: Error: spawn C:\Program&#xA;  Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;      at exports._errnoException (util.js:1020:11)&#xA;      at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)&#xA;      at onErrorNT (internal/child_process.js:367:16)&#xA;      at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;      at process._tickCallback (internal/process/next_tick.js:104:9)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any suggetions to fix the error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nicks&lt;/p&gt;&#xA;" OwnerUserId="1482" LastEditorUserId="731" LastEditDate="2017-08-15T12:49:28.430" LastActivityDate="2018-09-17T09:41:59.447" Title="Sitecore Habitat Installation issue" Tags="|habitat|installation|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7092" PostTypeId="2" ParentId="7091" CreationDate="2017-08-15T12:09:17.983" Score="0" Body="&lt;p&gt;Try the following: In Visual Studio, open Tools &gt; Options &gt; Web Package Management &gt; In &quot;Locations of external tools&quot;, move the $(PATH) to the top (before .\node_modules.bin).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pLwfl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pLwfl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in Task Runner Explorer, try running the &lt;strong&gt;default&lt;/strong&gt; task.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-08-15T12:09:17.983" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7093" PostTypeId="1" AcceptedAnswerId="7095" CreationDate="2017-08-15T12:54:42.147" Score="3" ViewCount="566" Body="&lt;p&gt;I've a template name &quot;teacher&quot;. Teacher template has following fields :&#xA;- Name&#xA;- Designation&#xA;- DateOfJoin&#xA;- Social&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where social field should capture following data:&#xA;- Type (FB/Twitter/Instagram)&#xA;- Link&#xA;- Icon&lt;/p&gt;&#xA;&#xA;&lt;p&gt;what should be the datatype of &quot;Social&quot; field so that we can add multiple social links.  Can somebody suggest me the best approch to achieve this.&lt;a href=&quot;https://i.stack.imgur.com/Er5EW.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Er5EW.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2226" LastEditorUserId="2226" LastEditDate="2017-08-15T13:13:31.803" LastActivityDate="2017-08-15T13:46:42.737" Title="what is the best way to have multivalue fields in template?" Tags="|templates|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7094" PostTypeId="2" ParentId="7093" CreationDate="2017-08-15T13:02:34.907" Score="2" Body="&lt;p&gt;The simplest thing to do would be to split that into three fields on your Teacher template. It would also be reasonable to have these three fields in a separate &quot;Social&quot; section of the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SocialType&lt;/strong&gt; - Droplink field with a source pointing at a folder with simple Items that have names which will be set as the value of the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SocialLink&lt;/strong&gt; - General Link field&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SocialIcon&lt;/strong&gt; - Image field with a source pointing at a media folder that contains the available icons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These can be collected into an object within the Model that uses this data, if necesary. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Multiple social networks&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a General Link field for each of the possible social networks. You'll know which network by the name of the field. Icons are generally a consistent application via css so those don't need to be selected in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="1150" LastEditDate="2017-08-15T13:13:16.683" LastActivityDate="2017-08-15T13:13:16.683" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7095" PostTypeId="2" ParentId="7093" CreationDate="2017-08-15T13:46:42.737" Score="3" Body="&lt;p&gt;A good option for this would be to use Sub Items (children) to store the Social data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you would create a new template with fields as @nathanhase mentioned, e.g.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;SocialLink&lt;/code&gt; with fields:&#xA;* &lt;strong&gt;SocialType&lt;/strong&gt; - Droplink pointing at a set of lookup items to define the type, e.g. Twitter, Facebook etc...&#xA;* &lt;strong&gt;SocialLink&lt;/strong&gt; - General Link field&#xA;* &lt;strong&gt;SocialIcon&lt;/strong&gt; - Image field &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you would create sub items of your &lt;code&gt;Teacher&lt;/code&gt; data item for each social account the teacher has.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This would work, but if you wanted to make it easier for content editors, you could use the &lt;strong&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/Express_Subitem.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Express Sub Item&lt;/a&gt;&lt;/strong&gt; module from the market place. This module enables editing of child items from the parent.&#xA;You would get this type of effect (screen shots are pre sc8, but sc8.2 is supported):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6sYis.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6sYis.jpg&quot; alt=&quot;Collapsed&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8LhCv.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8LhCv.jpg&quot; alt=&quot;Expanded&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This meets all your requirements mentioned above.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-08-15T13:46:42.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7096" PostTypeId="1" AcceptedAnswerId="7097" CreationDate="2017-08-15T14:01:31.680" Score="4" ViewCount="191" Body="&lt;p&gt;I'm looking at the list of licenses and wondering if there is one specific license that enables personalization. If so, which license should I be looking for?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore.NET 8.0 (rev. 151127)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9pXZ9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9pXZ9.png&quot; alt=&quot;Licenses menu option&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Hm5iO.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hm5iO.jpg&quot; alt=&quot;List of active licenses&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="509" LastEditorUserId="509" LastEditDate="2017-08-15T14:08:20.163" LastActivityDate="2017-08-15T14:08:20.163" Title="Does personalization require a specific license?" Tags="|xdb|experience-analytics|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7097" PostTypeId="2" ParentId="7096" CreationDate="2017-08-15T14:04:54.720" Score="4" Body="&lt;p&gt;You should have Sitecore.xDB.base license.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore 8.1 now requires a license with the “Sitecore.xDB.base” key&#xA;  to enable all features of the Experience Platform. If your license&#xA;  file does not contain this key, Sitecore will default to Experience&#xA;  Management (CMS-only) mode. Any customers or partners with a license&#xA;  to Experience Platform should contact their account manager or login&#xA;  to SPN if they are missing this key.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/Sitecore_81/Sitecore_Experience_Platform_81_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/Sitecore_81/Sitecore_Experience_Platform_81_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-08-15T14:04:54.720" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7098" PostTypeId="1" AcceptedAnswerId="7278" CreationDate="2017-08-15T18:06:54.777" Score="5" ViewCount="160" Body="&lt;p&gt;I'm upgrading a site from Sitecore 6.5 SP2 to Sitecore 8.2 Update 4.  When running the Express Migration Tool (version 2.0) it isn't migrating over archived items.  I've tried doing a SQL insert to move the data from the Archive, ArchivedFields, and ArchivedItems tables.  While that does make the items show up in the Archive screen the items are not recoverable.  There are no errors in the log when trying to recover.  Just an audit entry.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;AUDIT (sitecore\lyle): Restore: archive: archive, id: 8f08168e-095d-4d2f-9d56-ea0233c19b93&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The item doesn't show up back in the main tree and remains as an entry in the archive table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone successfully migrated the Archived Items?&lt;/p&gt;&#xA;" OwnerUserId="32" LastActivityDate="2017-08-29T21:33:44.303" Title="Express Migration Tool Archived Items" Tags="|upgrade|migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7099" PostTypeId="1" AcceptedAnswerId="8363" CreationDate="2017-08-15T19:14:08.223" Score="2" ViewCount="3246" Body="&lt;p&gt;Sitecore 8.2 Update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Im getting the following error in my logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;40752 14:56:12 FATAL [Experience Analytics]: Failed to synchronize segments. Message: Value cannot be null.&#xA;Parameter name: item. Details:    at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.Workflows.Simple.WorkflowProvider.GetWorkflow(Item item)&#xA;   at Sitecore.ExperienceAnalytics.Core.Extensions.SegmentDefinitionExtensions.GetLanguageIndependentWorkFlowState(SegmentDefinition segmentDefinition)&#xA;   at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.&amp;lt;&amp;gt;c.&amp;lt;GetSegmentsToSynchronize&amp;gt;b__7_0(SegmentDefinition segmentDefinition)&#xA;   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()&#xA;   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&#xA;   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)&#xA;   at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.GetSegmentsToSynchronize()&#xA;   at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.SynchronizeAllSegments()&#xA;   at System.Threading.Tasks.Task.Execute()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsProcessor.&amp;lt;Process&amp;gt;d__4.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Google does not seem to be returning useful advice this issue...&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-11-08T15:15:25.350" Title="Failed to synchronize segments" Tags="|experience-analytics|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7100" PostTypeId="1" AcceptedAnswerId="7101" CreationDate="2017-08-15T19:49:23.993" Score="1" ViewCount="602" Body="&lt;p&gt;I'm writing a command that should end up downloading a file for the user who clicks the button associated with the command. &lt;code&gt;SheerResponse.Download&lt;/code&gt; requires a file and there doesn't seem to be an override for anything else. Is there an equivalent function that takes a stream? I do not want to save a file on the server when creating this file if possible.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-08-15T20:24:19.690" Title="Download File In Command" Tags="|commands|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7101" PostTypeId="2" ParentId="7100" CreationDate="2017-08-15T20:24:19.690" Score="2" Body="&lt;p&gt;There is no current OOTB feature to download file via stream in Sitecore as far as I know. As Michael suggested in the comment above, you can use &lt;strong&gt;Sitecore Powershell&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option is to save the file on the server itself, like for example in the &lt;code&gt;Data&lt;/code&gt; folder, and then download it using the &lt;code&gt;SheerResponse.Download&lt;/code&gt;. At the end of the day, you may have an agent which removes the files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you still want to use the stream to download, you will require to implement an extension of the download feature to pass the stream as parameter. There are lots of links on the net which explains how to do it. Example: &lt;a href=&quot;https://stackoverflow.com/questions/16558317/how-to-download-memorystream-to-a-file&quot;&gt;https://stackoverflow.com/questions/16558317/how-to-download-memorystream-to-a-file&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on my previous experience, I had a similar task where I need to generate and download a &lt;code&gt;csv&lt;/code&gt; file on command click (SPE wasn't available yet). The issue I've gone through was&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Files got messed up in terms of content.&lt;/li&gt;&#xA;&lt;li&gt;Not the whole file was downloaded.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-08-15T20:24:19.690" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7102" PostTypeId="1" AcceptedAnswerId="7108" CreationDate="2017-08-15T20:24:58.733" Score="1" ViewCount="1028" Body="&lt;p&gt;My website is using the &lt;code&gt;App Center Placeholder&lt;/code&gt; device on all of the pages. I would like to use &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore PowerShell Extensions (SPE)&lt;/a&gt; to deprecate the &lt;code&gt;App Center Placeholder&lt;/code&gt; device and move all the associated presentation details for all the pages within &lt;code&gt;sitecore/content/MyWebSite&lt;/code&gt; to the &lt;code&gt;Mobile&lt;/code&gt; device instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Figure 1 shows the devices. Figure 2 shows an example of where I am currently at. And, Figure 3 is an example of where I want to be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the pages have different child controls and the child control properties would also need to be copied to the &lt;code&gt;Mobile&lt;/code&gt; device from the &lt;code&gt;App Center Placeholder&lt;/code&gt; device. (See Figure 4)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.1 Update 3 and SPE 4.6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Figure 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2pNrr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2pNrr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Figure 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0QsIb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0QsIb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Figure 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4K9Wt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4K9Wt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Figure 4&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jG6VH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jG6VH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="404" LastActivityDate="2017-08-16T02:14:27.993" Title="Using Sitecore PowerShell Extensions to Copy Layout Details from One Device to Another" Tags="|powershell-extensions|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7103" PostTypeId="1" AcceptedAnswerId="7104" CreationDate="2017-08-15T20:40:34.687" Score="2" ViewCount="2602" Body="&lt;p&gt;I am getting an item from Sitecore, then taking the return and messing with the FullName to build the URL. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module -Name SPE&#xA;&#xA;        $Id = [Some Id]&#xA;&#xA;        $session = New-ScriptSession -Username [un]-Password [pw] -ConnectionUri http://sitecorehostname&#xA;        $Item = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;                $item = Get-Item -Path &quot;master:/media library&quot; -Id &quot;$($params.id)&quot;&#xA;                $item | Get-Member&#xA;                $item&#xA;        } -Arguments @{&quot;id&quot;=$Id}&#xA;        Stop-ScriptSession -Session $session&#xA;&#xA;        $Url = $Item.FullPath&#xA;        $Url = $Url -replace &quot;^/sitecore/shell/sitecore/&quot;, &quot;/-/&quot;&#xA;        $Url = $Url -replace &quot;^/sitecore/&quot;, &quot;/-/&quot;&#xA;        $Url = $Url -replace &quot;^/media library/&quot;, &quot;/media/&quot;&#xA;        $tempKey = $Item.Key + &quot;/&quot;&#xA;        $Url = $Url -replace $tempKey, $Item.Key&#xA;        $Url = &quot;http://sitecorehostname&quot; + $Url&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;At the end of this code, the value of $Url is &quot;http//sitecorehostname[About 1000 spaces]+[$Item.FullPath with replaced strings]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What confuses me is if I take the text of $Item.FullPath and just run some test code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Url = &quot;/sitecore/media library/Images/ThatOneImage&quot;&#xA;$Url = $Url -Replace &quot;^/sitecore/shell/sitecore/&quot;, &quot;/-/&quot;&#xA;$Url = $Url -Replace &quot;^/sitecore/&quot;, &quot;/-/&quot;&#xA;$Url = $Url -Replace &quot;^/media library/&quot;, &quot;/media/&quot;&#xA;etc...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get a proper URL without all the extra spaces. What am I missing?&lt;/p&gt;&#xA;" OwnerUserId="2279" LastEditorUserId="2279" LastEditDate="2017-08-15T20:46:07.527" LastActivityDate="2017-08-16T17:31:20.967" Title="Replacing Text in strings from SPE Invoke-RemoteScript Return adds many spaces" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7104" PostTypeId="2" ParentId="7103" CreationDate="2017-08-15T20:49:53.573" Score="4" Body="&lt;p&gt;The first change I can see here that I would make is to not return the entire item. SPE serializes the entire item and re-hydrates on the other end. From your example you only need the &lt;code&gt;FullPath&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Import-Module -Name SPE&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Id = &quot;{6AA5AA9F-071A-4808-91AC-709FAAFFB310}&quot;&#xA;&#xA;$session = New-ScriptSession -Username &quot;admin&quot; -Password &quot;b&quot; -ConnectionUri https://remotesitecore&#xA;$Url = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;    $item = Get-Item -Path &quot;master:/media library&quot; -Id &quot;$($params.id)&quot;&#xA;    $item.FullPath&#xA;} -Arguments @{&quot;id&quot;=$Id}&#xA;Stop-ScriptSession -Session $session&#xA;&#xA;$Url = $Url -replace &quot;/sitecore/shell/sitecore/&quot;, &quot;/-/&quot;&#xA;$Url = $Url -replace &quot;/sitecore/&quot;, &quot;/-/&quot;&#xA;$Url = $Url -replace &quot;/media library/&quot;, &quot;/media/&quot;&#xA;$tempKey = $Item.Key + &quot;/&quot;&#xA;$Url = $Url -replace $tempKey, $Item.Key&#xA;$Url = &quot;http://sitecorehostname&quot; + $Url&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I run it I don't get the trailing spaces. You can however simply call &lt;code&gt;Trim&lt;/code&gt; on the string and it'll take care of it.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can also change the script to return a specific set of properties. You'll essentially get a skinny object back.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item | Select-Object -Property Name, ID, FullPath&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-08-15T21:22:51.477" LastActivityDate="2017-08-15T21:22:51.477" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7106" PostTypeId="2" ParentId="7099" CreationDate="2017-08-15T21:15:52.790" Score="0" Body="&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The cause of the error is because the item is null. Sitecore will read into the Segment table from the Sitecore Analytics database to retrieve all the segments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the items will then go through the method &lt;code&gt;GetLanguageIndependentWorkFlowState&lt;/code&gt; to get the workflow. The screenshot below shows where the error is being raised (inside the implementation of the &lt;code&gt;GetWorkflow&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gon9U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gon9U.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The item &lt;code&gt;obj1&lt;/code&gt; is null. Reason: The id is not present in the Master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Possible Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Populate your current Segement Table with data from a clean Sitecore reporting database or redeploy reporting definitions through the &lt;code&gt;/sitecore/admin/RedeployMarketingData.aspx administrative page&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Search and see which item is missing from master by taking the &lt;code&gt;SegmentId&lt;/code&gt; (itemId) from the Segment table and then restore it from another installation. In other words, from the Segment table, copy the Segment Id and log into the Sitecore CMS and search for the ID you copied. For restoring the item, you can see if the item is present on a fresh Sitecore Instance. If yes, you can package it from the fresh instance and install it on your Sitecore Instance which is getting the error.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that the default and custom dimensions are in the deploy state. If some were not, set the deploy state. This will normally deploy the segment to the Segment Table.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Might be that the SegmentId is no more available in the current sitecore version or if it is a custom one, it was removed. It may be deleted from the segment table.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More information of Sitecore Segments can be found &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/scot_gillis/posts/guide-to-segments-in-xanalytics&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-08-16T15:31:43.947" LastActivityDate="2017-08-16T15:31:43.947" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7107" PostTypeId="2" ParentId="7103" CreationDate="2017-08-15T21:18:40.587" Score="2" Body="&lt;p&gt;Instead of parsing the Media Item Path and building up the URl yourself, you should instead use the &lt;code&gt;MediaManager.GetMediaUrl()&lt;/code&gt; method to return the URL. If you are string parsing from Item Path then it also will not include the file extension.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$site = [Sitecore.Sites.SiteContextFactory]::GetSiteContext(&quot;website&quot;)&#xA;$mediaItem = Get-Item -Path &quot;master:&quot; -Id &quot;{6AA5AA9F-071A-4808-91AC-709FAAFFB310}&quot;&#xA;&#xA;$Url = New-UsingBlock (New-Object Sitecore.Sites.SiteContextSwitcher $site) {&#xA;    [Sitecore.Resources.Media.MediaManager]::GetMediaUrl($mediaItem)&#xA;}&#xA;&#xA;$Url = &quot;http://sitecorehostname&quot; + $Url&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This ensures that any custom Link Provider that may be implemented is also used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: If your &lt;code&gt;Media.AlwaysIncludeServerUrl&lt;/code&gt; setting is &lt;code&gt;true&lt;/code&gt; then you will need to call the overloaded &lt;code&gt;GetMediaUrl&lt;/code&gt; method and pass in &lt;code&gt;MediaUrlOptions&lt;/code&gt; and set the value to false (else strip out the current server URL).&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-08-16T17:31:20.967" LastActivityDate="2017-08-16T17:31:20.967" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7108" PostTypeId="2" ParentId="7102" CreationDate="2017-08-15T21:37:18.183" Score="3" Body="&lt;p&gt;You could loop through the content items you need to update, and then use a string replace to change the &lt;code&gt;App Center Placeholder&lt;/code&gt; device Id with the &lt;code&gt;Mobile&lt;/code&gt; device Id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example of how you might script it. Caveat - this is untested code, so test it before running it on your entire content tree! Also, with this code, it doesn't check if the item already has content &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$mobileDeviceId = Get-LayoutDevice -Name &quot;Mobile&quot; | % { $_.Id.Guid.ToString(&quot;B&quot;) } | Select-Object -First 1&#xA;$appCenterDeviceId = Get-LayoutDevice -Name &quot;App Center Placeholder&quot; | % { $_.Id.Guid.ToString(&quot;B&quot;) } | Select-Object -First 1&#xA;&#xA;$items = Get-ChildItem -Path master:\content\mysite -Recurse &#xA;foreach($item in $items) {&#xA;    # Replace the appcenter device id with the mobile device id&#xA;    $renderingsText = $item.__Renderings&#xA;    $newRenderingsText = $renderingsText.Replace($appCenterDeviceId, $mobileDevice)&#xA;&#xA;    # do the same for the Final Layout&#xA;    $finalLayoutText = $item.__Final&#xA;    $newFinalLayoutText = $finalLayoutText.Replace($appCenterDeviceId, $mobileDevice)&#xA;&#xA;    $item.Editing.BeginEdit()&#xA;    $item[&quot;__Renderings&quot;] = $newRenderingsText&#xA;    $item[&quot;__Final Renderings&quot;] = $newFinalLayoutText&#xA;    $item.Editing.EndEdit()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastEditorUserId="95" LastEditDate="2017-08-16T02:14:27.993" LastActivityDate="2017-08-16T02:14:27.993" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7110" PostTypeId="2" ParentId="249" CreationDate="2017-08-16T03:23:26.547" Score="2" Body="&lt;p&gt;Additionally, you have to check the &lt;code&gt;Sitecore.Media.RequestProtection.config&lt;/code&gt; file to ensure you add your custom query string parameter into the &lt;code&gt;protectedMediaQueryParameters&lt;/code&gt; list if you have any.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  PROTECTED MEDIA QUERY PARAMETERS&#xA;      Specifies a list of parameters that are used to calculate hash values for media requests. &#xA;      The list of parameters is used when the module calculates hash values and appends them to the query strings of the generated&#xA;          media URLs, and when the hash values are calculated for incoming media requests and compared to the expected hash values.&#xA;      You should add any custom image scaling parameters to this setting if these parameters affect the dimensions or file size of&#xA;          dynamically resized images.&#xA;--&amp;gt;&#xA;&amp;lt;protectedMediaQueryParameters&amp;gt;&#xA;  &amp;lt;parameter description=&quot;XYZ is my custom parameter&quot; name=&quot;xyz&quot;/&amp;gt;&#xA;  ...&#xA;&amp;lt;/protectedMediaQueryParameters&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, if you have a specific site, which media URLs you don't want to be protected, you can add it into the &lt;code&gt;ignoreSites&lt;/code&gt; list.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  IGNORE SITES&#xA;      Specifies a list of site names for which the media protection module should not sign image ULRs with a hash value. When&#xA;      Sitecore processes an incoming media request for these sites, it does not check if there is a valid hash value.&#xA;--&amp;gt;&#xA;&amp;lt;ignoreSites&amp;gt;&#xA;  &amp;lt;site name=&quot;my-xyz-site&quot;/&amp;gt;&#xA;  ...&#xA;&amp;lt;/ignoreSites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="973" LastActivityDate="2017-08-16T03:23:26.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7111" PostTypeId="1" CreationDate="2017-08-16T06:29:21.950" Score="1" ViewCount="363" Body="&lt;p&gt;While using query string as data-source getting some issue and facing challanges, here is the Query-string: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ancestor::*[@@templatename='A']/Shared/*[@@templatename='AB']/*[contains(@MutlilistFieldName,'wants to pass parentid')]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can we pass &lt;code&gt;parentid&lt;/code&gt; as string to the contains method? Or how can we declare string variable to the Sitecore Query string?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I am trying &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ancestor::*[@@templatename='A']/Shared/*[@@templatename='AB']/*[contains(@MutlilistFieldName,@@parentid)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then it's return all the items instead of checking &lt;code&gt;parentid&lt;/code&gt; selected from multilist.&lt;/p&gt;&#xA;" OwnerUserId="1307" LastEditorUserId="605" LastEditDate="2017-08-16T07:34:53.900" LastActivityDate="2017-08-16T07:34:53.900" Title="Issue while using contains() for multilist with sitecore Query string?" Tags="|sitecore-query|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7112" PostTypeId="2" ParentId="7044" CreationDate="2017-08-16T07:03:47.703" Score="1" Body="&lt;p&gt;Sitecore Rocks uses the &quot;robocopy&quot; DOS command for mirroring the folder. Possibly this fails on your machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try executing this from a command prompt:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;robocopy [source] [dest] /mir /njh /njs /ndl /nc /ns /np /A-:R&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2318" LastEditorUserId="73" LastEditDate="2017-08-16T11:10:57.643" LastActivityDate="2017-08-16T11:10:57.643" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7115" PostTypeId="1" CreationDate="2017-08-16T13:30:02.957" Score="4" ViewCount="576" Body="&lt;p&gt;I am trying to create a subdomain for my current site in Sitecore that is simply a mirror or my primary site. The reason for this is that our partner CDN provider is requiring us to host a copy of our main site on a &quot;www-origin&quot; subdomain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To expand on what our goal is a bit; We want to have 2 sites www.example.com and www-origin.example.com. Both of these sites should have the same content, structure, languages, forms and overall should be a perfect mirror of our current site. We have made some changes that have enabled the www-origin subdomain but it currently adds the root directory into the url which is not done for our main site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only changes we have made thus far are to the sitecore.config file. We have not created any site or structure for the subdomain in the Sitecore CMS as we don't want it to be any different from the main site. The config file changes we have made are outlined below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot;&#xA;           method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;origin&amp;lt;/site&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.RenderingParametersCacheClearer, Sitecore.Kernel&quot;&#xA;           method=&quot;ClearCache&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot;&#xA;           method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;origin&amp;lt;/site&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/handler&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.RenderingParametersCacheClearer, Sitecore.Kernel&quot;&#xA;           method=&quot;ClearCache&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&#xA;&#xA;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;origin&quot; scheme=&quot;https&quot; hostName=&quot;www-origin.example.com&quot;&#xA;        targetHostName=&quot;www-origin.example.com&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot;&#xA;        database=&quot;example&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot;&#xA;        viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot;&#xA;        enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; /&amp;gt;&#xA;  &amp;lt;site name=&quot;website&quot; scheme=&quot;https&quot; hostName=&quot;example.com&quot;&#xA;        targetHostName=&quot;example.com&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot;&#xA;        database=&quot;example&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot;&#xA;        viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot;&#xA;        enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; /&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&#xA;&#xA;&amp;lt;cacheSizes&amp;gt;&#xA;  &amp;lt;sites&amp;gt;&#xA;    &amp;lt;website&amp;gt;&#xA;      &amp;lt;html&amp;gt;50MB&amp;lt;/html&amp;gt;&#xA;      &amp;lt;registry&amp;gt;0&amp;lt;/registry&amp;gt;&#xA;      &amp;lt;viewState&amp;gt;0&amp;lt;/viewState&amp;gt;&#xA;      &amp;lt;xsl&amp;gt;25MB&amp;lt;/xsl&amp;gt;&#xA;    &amp;lt;/website&amp;gt;&#xA;    &amp;lt;origin&amp;gt;&#xA;      &amp;lt;html&amp;gt;50MB&amp;lt;/html&amp;gt;&#xA;      &amp;lt;registry&amp;gt;0&amp;lt;/registry&amp;gt;&#xA;      &amp;lt;viewState&amp;gt;0&amp;lt;/viewState&amp;gt;&#xA;      &amp;lt;xsl&amp;gt;25MB&amp;lt;/xsl&amp;gt;&#xA;    &amp;lt;/origin&amp;gt;&#xA;  &amp;lt;/sites&amp;gt;&#xA;&amp;lt;/cacheSizes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What do I still need to do in order make the www-origin subdomain match the example.com domain but without the root directory being added to the url by Sitecore? We are currently on Sitecore version 8.1.&lt;/p&gt;&#xA;" OwnerUserId="2059" LastEditorUserId="2059" LastEditDate="2017-08-16T13:36:08.943" LastActivityDate="2017-08-16T13:57:00.683" Title="How do I remove the root directory from a subdomain url" Tags="|configuration|multisite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7116" PostTypeId="2" ParentId="7115" CreationDate="2017-08-16T13:49:29.087" Score="4" Body="&lt;p&gt;I think this might help solve the problem assuming the base website is working as expected. If the mirrored site can be the exact same site (same content and exact same items) which it seems like your example is then you can use the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; scheme=&quot;https&quot; hostName=&quot;example.com|www-origin.example.com&quot;&#xA;        targetHostName=&quot;example.com&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot;&#xA;        database=&quot;example&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot;&#xA;        viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot;&#xA;        enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the hostname attribute: &lt;code&gt;hostName=&quot;example.com|www-origin.example.com&quot;&lt;/code&gt;. Making these two hostnames map to the same exact site definition should force them to act the same assuming there is no custom code doing something based on the domain being used for a request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The links while navigating to the site with the &lt;code&gt;www-origin.example.com&lt;/code&gt; url that should link to the current site (item links to the current site) will resolve using the &lt;code&gt;targetHostName&lt;/code&gt;. If that will cause an issue for your use case then this will not work out. For the definition of the targetHostName attribute see &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties/targetHostName.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;this link&lt;/a&gt;. For the definition of the hostname attribute see &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties/hostName.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;this link&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-08-16T13:57:00.683" LastActivityDate="2017-08-16T13:57:00.683" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7117" PostTypeId="1" AcceptedAnswerId="7118" CreationDate="2017-08-16T15:23:49.510" Score="5" ViewCount="743" Body="&lt;p&gt;Still new to Sitecore..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am making content changes in the master database (either via Rocks, or in the Content Editor), but if I refresh the page, I can see the changes without having to publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I view item on &quot;web&quot; database, it's still showing the old content..&#xA;I've double checked my     .... entry in my config file, and it's set to use &quot;web&quot;... I'm sure I am missing something obvious, but some pointers would be great. &lt;/p&gt;&#xA;" OwnerUserId="2302" LastActivityDate="2017-08-16T15:24:52.490" Title="Development Environment - I can see changes without publishing" Tags="|content-editor|publishing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7118" PostTypeId="2" ParentId="7117" CreationDate="2017-08-16T15:24:39.733" Score="6" Body="&lt;p&gt;You might have the database for your website set to master. To check this go to &lt;code&gt;yourBaseUrl/sitecore/admin/showconfig.aspx&lt;/code&gt;. After that locate your &lt;code&gt;site&lt;/code&gt; node and check the database attribute. This should tell you the file that is setting that attribute by mentioning the patch it is coming from (&lt;code&gt;patch:source&lt;/code&gt;). If nothing is noted then it is coming from your &lt;code&gt;Sitecore.config&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-08-16T15:24:39.733" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7119" PostTypeId="2" ParentId="7117" CreationDate="2017-08-16T15:24:52.490" Score="1" Body="&lt;p&gt;You are running &quot;Live Mode&quot; - which is quite customary for development environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Described here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/334/how-to-run-sitecore-in-live-mode&quot;&gt;How to run Sitecore in Live Mode?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially; Live Mode runs everything off the &quot;master&quot; database and is preferred by many developers to save the overhead of having to publish all changes all the time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your &lt;code&gt;App_Config\Include&lt;/code&gt; folder will likely have a &lt;code&gt;LiveMode.config&lt;/code&gt; that enables this. If you want to revert to normal Sitecore behaviour, remove or disable that file.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-08-16T15:24:52.490" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7120" PostTypeId="1" AcceptedAnswerId="7122" CreationDate="2017-08-16T18:27:47.467" Score="4" ViewCount="307" Body="&lt;p&gt;I am trying to upgrade from Sitecore 8.1 update 4 to Sitecore 8.2 update 2. I am on Solr 6.1 and while doing the upgrade we are getting the below error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not find configuration node: marketingDefinitions/funnel/funnelStepTypeResolver&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.InvalidOperationException: Could not find &#xA;configuration node: marketingDefinitions/funnel/funnelStepTypeResolver&#xA;&#xA;Source Error: &#xA;&#xA;windsorSolrStartUp.AddCore(suggestionsIndex.SwapIndexName, typeof(SuggestionsIndexMapper), ConfigurationSettings.ContentSearch_Solr_ServiceBaseAddress + &quot;/&quot; + suggestionsIndex.SwapIndexName);&#xA;&#xA;&#xA;windsorSolrStartUp.Initialize();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All the Dll's are updated to the new ones and also the references are updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone please help me with this..Thank You.&lt;/p&gt;&#xA;" OwnerUserId="1345" LastEditorUserId="1345" LastEditDate="2017-08-16T18:47:13.250" LastActivityDate="2017-08-16T19:49:39.280" Title="Could not find configuration node: marketingDefinitions/funnel/funnelStepTypeResolver" Tags="|solr|upgrade|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7121" PostTypeId="1" CreationDate="2017-08-16T18:58:19.023" Score="2" ViewCount="924" Body="&lt;p&gt;I want to enable 'Edit' button in the Sitecore ribbon. The problem is that this button is disabled for non-admins.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9kwsl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9kwsl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note the following things which might help to better understand the issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The users that are facing this problem are in a custom role.&lt;/li&gt;&#xA;&lt;li&gt;This role is a member of 'Sitecore Client Developing' and 'Sitecore Client Authoring'&lt;/li&gt;&#xA;&lt;li&gt;For this custom role, I have already given 'Workflow State Write', 'Workflow State Delete' and 'Workflow State Execute' permissions.&lt;/li&gt;&#xA;&lt;li&gt;In the core database, I have also given all the necessary permissions to the edit button which I found at '/content/applications/content editor/ribbons/chunks/workflow edit/edit'&lt;/li&gt;&#xA;&lt;li&gt;In my config file, I have set 'AutomaticLockOnSave' to 'false' for some other purpose.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If I make a certain user an administrator, then the button gets enabled. However I would like to enable that button without elevating the user permissions to admin level. I am unable to understand which permissions I need to set in order to enable the Edit button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help!&lt;/p&gt;&#xA;" OwnerUserId="403" LastActivityDate="2017-08-16T19:59:47.680" Title="How to enable 'Edit' ribbon button for non-admins" Tags="|content-editor|security|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7122" PostTypeId="2" ParentId="7120" CreationDate="2017-08-16T19:49:39.280" Score="2" Body="&lt;p&gt;The issue being raised is because it cannot find the XPath &lt;code&gt;marketingDefinitions/funnel/funnelStepTypeResolver&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that you have the &lt;code&gt;Sitecore.Marketing.config&lt;/code&gt; in the include folder. If the file is present, you need to see if the config file is not disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While performing Sitecore upgrades, normally, the changes to config files are not done properly. So, make sure that you have the XPath &lt;code&gt;marketingDefinitions/funnel/funnelStepTypeResolver&lt;/code&gt; in the file.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-08-16T19:49:39.280" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7124" PostTypeId="2" ParentId="7121" CreationDate="2017-08-16T19:59:47.680" Score="1" Body="&lt;p&gt;You need to provide the Write access to the user in order for the Edit Button to appear. Note that, instead of setting the Write access on the user, you can set it on the Role itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let say you have a role named &lt;strong&gt;&lt;em&gt;Testing Role&lt;/em&gt;&lt;/strong&gt;. Open the Role Manager Dialog and select the role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wXQUn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wXQUn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once selected, click on the Security Editor. When the Security Editor opens, select the Parent Item and set the Read, Write access to it&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LLvSb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LLvSb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, if you have sub items, instead of doing it one by one, you can click on the &lt;strong&gt;Assign&lt;/strong&gt; button in the ribbon and then check the descendants as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C8XGJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C8XGJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will automatically allows the sub items to be edited by any user who has the role &lt;strong&gt;&lt;em&gt;Testing Role&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IMPORTANT NOTE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore role can override other roles. You need to make sure that when setting the read and write access, there are no other roles which are overriding it.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-08-16T19:59:47.680" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7126" PostTypeId="2" ParentId="7036" CreationDate="2017-08-17T06:02:08.980" Score="0" Body="&lt;p&gt;Officially the tool do not support 8.2 Update-4. However I have succesfully migrated to from 6.5 and 6.6 to 8.2 update 4. This was done on simple solutions, with limited or no usages of other features but the Sitecore CMS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use WFFM or anything else like this, I would recommend using the tool to 8.2 update 1, and upgrade manually to 8.2 update 4.&lt;/p&gt;&#xA;" OwnerUserId="1510" LastActivityDate="2017-08-17T06:02:08.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7127" PostTypeId="2" ParentId="4308" CreationDate="2017-08-17T07:58:23.713" Score="3" Body="&lt;p&gt;WFFM and EXM are now compatible with new Sitecore Versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM: since version 3.5 &lt;a href=&quot;https://dev.sitecore.net/Downloads/Email%20Experience%20Manager/35/Email%20Experience%20Manager%2035%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email%20Experience%20Manager/35/Email%20Experience%20Manager%2035%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;WFFM: since Sitecore Azure Tookit 1.1  &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Azure%20Toolkit/1x/Sitecore%20Azure%20Toolkit%20110/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Azure%20Toolkit/1x/Sitecore%20Azure%20Toolkit%20110/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="113" LastActivityDate="2017-08-17T07:58:23.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7128" PostTypeId="1" CreationDate="2017-08-17T08:52:03.037" Score="2" ViewCount="748" Body="&lt;p&gt;I'm updating my server architecture at an awkward time. I want to get Windows Server 2016 so I can support HTTP/2 but I'm currently running Sitecore 8.2 which doesn't officially support Windows Server 2016 (and therefore HTTP/2).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.3 is about to be released which &lt;em&gt;does&lt;/em&gt; support Windows Server 2016. I plan to upgrade to this, but it seems a shame to get a new server with Windows Server 2012 R2 (just to accommodate Sitecore's official requirements for 8.2) for a short period only to then upgrade to Windows Server 2016 when 8.3 is released.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I'm planning to run Sitecore 8.2 on Windows Server 2016 in the interim period. I'm aware that my solution will not be supported by Sitecore Tech Support. My questions are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Is there any actual reason why Sitecore won't run on Windows Server 2016 or is it just that Sitecore haven't fully tested it?&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Are there any caveats I may not have thought of?&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Does anyone have any experience of running a production Sitecore instance on Windows Server 2016?&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1417" LastEditorUserId="1417" LastEditDate="2017-08-17T13:53:56.093" LastActivityDate="2017-08-18T13:33:31.043" Title="Sitecore 8.2 does not officially support Windows Server 2016 but is it compatible in reality and will it work in production" Tags="|scaling|solution-architecture|infrastructure|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7129" PostTypeId="1" AcceptedAnswerId="7130" CreationDate="2017-08-17T08:53:05.823" Score="4" ViewCount="557" Body="&lt;p&gt;EDIT: I was using dialog in Sitecore Rocks - seems there is a better one in actual admin interface where I can set publish to/from dates for each version..&#xA;Just testing to see if this works..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I am looking into delayed publishing, and want to know what I can acheive out of the box, and what I might need to use a plugin for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Simple example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a page, that is already published, i.e. the homepage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to make a change to this page (in this case, on a field on page itself, and not any dynamically bound content), at a specific Date/Time but don't want to have to publish at that specific moment.. so, I set the &quot;Publishable from&quot; date to my required date/time, and publish item. Issue I am having is this causes the page to become unpublished (and therefore I get an error) until the required time comes along. I want to keep V1 active until V2's publish time as come and that becomes the active version..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've already enabled &lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.PublishAgent&quot; ...&lt;/code&gt; in the config file.&lt;/p&gt;&#xA;" OwnerUserId="2302" LastEditorUserId="2302" LastEditDate="2017-08-17T09:03:27.133" LastActivityDate="2017-08-17T09:04:04.017" Title="Delayed publish - version of page" Tags="|publishing|publishing-service|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7130" PostTypeId="2" ParentId="7129" CreationDate="2017-08-17T09:04:04.017" Score="4" Body="&lt;p&gt;You should set the publish date for the latest version. You need to make use of the &lt;code&gt;Versions tab&lt;/code&gt; to be able to set which version to be published and when. Please see screenshot below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qIrd7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qIrd7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let say you have 2 versions on the item. Version 2 contains the updated data. So, you need to set this version to be published at your defined date/time.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-08-17T09:04:04.017" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7131" PostTypeId="2" ParentId="7128" CreationDate="2017-08-17T10:24:33.363" Score="8" Body="&lt;p&gt;It comes down to support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a known reason Sitecore wouldn't work on 2016?  No.  It will run on 2016 and in all likelihood there will not be any major issues in doing so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if there is; this is what it comes down to. Let's say you ran into an issue and Sitecore Support was not able to help you out due to it being rooted in something around Server 2016 - &lt;em&gt;you would be on your own&lt;/em&gt; then. At the very least from a legal perspective; so no suing Sitecore over stuff that doesn't work on a platform they already told you they do not support yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So this is the caveat. You're looking at a compatibility table of Sitecore and Server versions that Sitecore officially &lt;em&gt;support&lt;/em&gt;.  That you can, in all likelihood, make it run on platforms outside the realm of support is fine. Just be aware of the shift in liability.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said; I've heard of several people saying they run Sitecore on Server 2016 in production environments. Keeping the above in mind; I'd say you'll probably be fine doing it too.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-08-17T10:24:33.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7133" PostTypeId="1" AcceptedAnswerId="7137" CreationDate="2017-08-17T17:02:36.697" Score="10" ViewCount="5304" Body="&lt;p&gt;I am aware there are a number of Cache settings for media library items in Sitecore (as described here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2544/sitecore-implementation-html-cache-control-setting-options&quot;&gt;Sitecore Implementation - HTML Cache Control Setting options&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However the MediaResponse.MaxAge value stays the same (default is 7 days) even when I publish an update to an image within Sitecore. If I update and image but keep the same name then the cache doesn't expire until 7 days has passed so end-users won't see the updated image straight away unless they clear their browser cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can work-around this by uploading the image with a new name and including the new image in my component instead of the old one. However is there a way to ensure Sitecore clears the cache for updated images without renaming the image? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further info:&lt;/strong&gt; Sitecore 8.1 Update 2 and MediaResponse.Cacheability = &quot;public&quot;. All other MediaResponse settings set to default.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-05-19T15:28:29.820" Title="Forcing Sitecore to clear the cache for updated images" Tags="|media-library|caching|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7134" PostTypeId="2" ParentId="7133" CreationDate="2017-08-17T17:20:14.210" Score="4" Body="&lt;p&gt;The problem is that the cache in this case is the browser cache, so the cache expiration for the image was set when the image file was originally retrieved. So there's no way for the browser to know that a new file was published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only easy way to do this, is if you are willing to drop the 7 day browser cache period to a smaller duration, like 1 second. This makes Sitecore set Cache-Control: max-age and Expires headers of the HTTP response for media request to 1 second. So basically, when the user reloads the page, the image in the browser cache has expired. But this means that there's basically no caching of images.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could build somekind of extension where you add a query string parameter with a hash based on the image file for every image. Replacing the image, would therefore change the hash, which means the browser would request the new image. Basically buildling the same mechanism used by JavaScript and CSS bundling. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Links:&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/218124&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/218124&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2017-08-17T17:20:14.210" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7136" PostTypeId="2" ParentId="7133" CreationDate="2017-08-17T17:25:14.333" Score="3" Body="&lt;p&gt;Jarmo's answer nails it - Sitecore cannot force a new version of the image to be downloaded, when the browser simply &lt;em&gt;never requests it&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing you could do, however, short of disabling caching as suggested by Jarmo (and I would add, I would &lt;em&gt;not&lt;/em&gt; recommend this approach at all).  If you incorporate the &lt;code&gt;Revision&lt;/code&gt; field into your Media Urls (you would need to override/extend the MediaManager for this) - a new Url would be generated for your image, even if you just change the media. Revision gets a new stamp every time the item updates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That would work you around the caching issues, and not give you the hassle of uploading new media side by side and relinking content.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-08-17T17:25:14.333" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7137" PostTypeId="2" ParentId="7133" CreationDate="2017-08-17T17:43:45.433" Score="8" Body="&lt;p&gt;Adding a unique URL parameter will force the browser to request the updated image, as mentioned by both the other answers. You'll also face this same issue if you are using a CDN by the way and using the same technique works well in this situation too. I provided code for an updated &lt;code&gt;MediaProvider&lt;/code&gt; in my &lt;a href=&quot;https://jammykam.wordpress.com/2017/02/13/sitecore-azure-cdn/&quot; rel=&quot;noreferrer&quot;&gt;post about CDNs&lt;/a&gt;. This will ensure you don't need to upload the image with a different name and stops the issue of re-linking the image to your components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new &lt;code&gt;MediaProvider&lt;/code&gt; which inherits from the default Sitecore one and override the &lt;code&gt;GetMediaUrl()&lt;/code&gt; appending the revision or date property. You only need to append one of these and which one you append is down to preference - both achieve the same goal.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Resources.Media;&#xA;&#xA;namespace MyProject.CMS.Custom.Media&#xA;{&#xA;    public class MediaProvider: Sitecore.Resources.Media.MediaProvider&#xA;    {&#xA;        public override string GetMediaUrl(MediaItem item)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)item, &quot;item&quot;);&#xA;            return this.GetMediaUrl(item, MediaUrlOptions.Empty);&#xA;        }&#xA;&#xA;        public override string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;        {&#xA;            Assert.ArgumentNotNull((object) item, &quot;item&quot;);&#xA;            Assert.ArgumentNotNull((object) options, &quot;options&quot;);&#xA;&#xA;            string mediaURL = base.GetMediaUrl(item, options);&#xA;&#xA;            mediaURL = Sitecore.Web.WebUtil.AddQueryString(mediaURL, new string[] {&quot;revision&quot;, ((Item)item).Statistics.Revision });&#xA;            //OR, you only need one of these&#xA;            mediaURL = Sitecore.Web.WebUtil.AddQueryString(mediaURL, new string[] {&quot;modified&quot;, ((Item)item).Statistics.Updated.ToString(&quot;yyyyMMddHHmmss&quot;) });&#xA;&#xA;            return mediaURL;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then create a config patch to use the new provider.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaLibrary&amp;gt;&#xA;  &amp;lt;mediaProvider&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;MyProject.CMS.Custom.Media.MediaProvider, MyProject.CMS.Custom&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/mediaProvider&amp;gt;&#xA;&amp;lt;/mediaLibrary&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The URLs generated for the media items should now be in the format &lt;code&gt;/-/media/path-to/image.png?la=en&amp;amp;h=123&amp;amp;w=123&amp;amp;hash={hash}&amp;amp;modified=20170817134500&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-08-17T17:43:45.433" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7138" PostTypeId="2" ParentId="7060" CreationDate="2017-08-17T19:13:18.113" Score="0" Body="&lt;p&gt;I'm going to take a stab at answering this generally, since I don't have the particulars of your specific issue.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All tests in Sitecore (Page tests, content tests, component tests, the tests that run as part of personalization…) are based on a single test definition template.  The variations that I'm aware of are those related to editor presentation and workflow options.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you've figured out how to hack the page tests to use different templates, and you're getting test results out of them, I can't envision a scenario where you'd run into trouble.  Especially, because tests are designed to run for a short period of time; we test, we learn something and repeat.  We're not (at least, not yet) tracking the history of tests &amp;amp; test results.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last comment relates to having to select from different templates.  Templates are typically tied to data sources.  And, we don't typically test different content against one another - an article against an event… If you're Sitecore architecture requires that you make template variations to affect presentation, there's probably a better way -- Component based design.&lt;/p&gt;&#xA;" OwnerUserId="165" LastEditorUserId="165" LastEditDate="2017-08-18T14:14:43.220" LastActivityDate="2017-08-18T14:14:43.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7139" PostTypeId="1" AcceptedAnswerId="7183" CreationDate="2017-08-18T03:28:48.133" Score="4" ViewCount="2873" Body="&lt;p&gt;I am working on refactoring some code and want to create WebApi services to do so.  I have created an initialization pipeline that registers custom routes.  I am still able to follow base sitecore ssc webapi methods if need be.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My issue is that I am not able to get my Post controller method to bind to my ajax post request JSON object. High level I have a controller method called Post, the method parameter is an object with two public properties, &lt;code&gt;FirstName&lt;/code&gt; and &lt;code&gt;LastName&lt;/code&gt;. In my ajax request I set the &lt;code&gt;contentType&lt;/code&gt; to &lt;code&gt;application/json&lt;/code&gt; and set the following as data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;FirstName&quot;:&quot;first&quot;, &quot;LastName&quot;: &quot;last&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The pieces are as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyApiController : ServicesApiController&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Controller Method&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;public IHttpActionResult Search([FromBody]SearchRequest searchRequest)&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Model Class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]    &#xA;public class SearchRequest&#xA;{&#xA;   public string FirstName { get; set; }&#xA;   public string LastName { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;CustomRoute &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DefaultRouteMapper.MapRoutes(config);&#xA;&#xA;var routes = config.Routes;&#xA;&#xA;routes.MapHttpRoute(&quot;Test_Search&quot;,&#xA;    &quot;sitecore/api/test/{controller}&quot;,&#xA;     new { controller = &quot;MyApi&quot; });&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Ajax Method&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jQuery.ajax({&#xA;   type: 'Post',&#xA;   contentType: 'application/json',&#xA;   data: { &quot;FirstName&quot; : &quot;first&quot;, &quot;LastName&quot; : &quot;last&quot; },&#xA;   url: '/sitecore/api/test/myapi'&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I appreciate anyone's help.  &lt;/p&gt;&#xA;" OwnerUserId="1400" LastEditorUserId="1400" LastEditDate="2017-08-18T16:54:53.837" LastActivityDate="2017-08-21T17:08:13.587" Title="ServiceApiController Method not found when using HttpPost and ComplexType (Sitecore 8.1.3)" Tags="|webapi|routing|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7140" PostTypeId="2" ParentId="7139" CreationDate="2017-08-18T05:57:44.540" Score="1" Body="&lt;p&gt;It looks like you need to use the &lt;code&gt;JSON.stringify()&lt;/code&gt; to pass an object.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jQuery.ajax({&#xA;   type: 'Post',&#xA;   contentType: 'application/json',&#xA;   data: JSON.stringify({ &quot;firstName&quot; : &quot;first&quot;, &quot;lastName&quot; : &quot;last&quot; })&#xA;   url: '/sitecore/api/test/myapi'&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-08-18T05:57:44.540" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7144" PostTypeId="1" CreationDate="2017-08-18T10:03:59.617" Score="6" ViewCount="1240" Body="&lt;p&gt;We have a Sitecore 8.1.1 with Sharepoint Connector 2.1. the connector imports 4000 documents from the Sharepoint (max 10 GB).&#xA;The problem is that the Blob Tables last time were more than 80 Gb on master and web.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we did CleanUp using the the Sql Query to delete the Blobs, not connected with any item. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    USE [Sitecore_web]&#xA;GO&#xA;/****** Object: Table [dbo].[Blobs] Script Date: 24/07/2017 16:41:16 ******/&#xA;SET ANSI_NULLS ON&#xA;GO&#xA;SET QUOTED_IDENTIFIER ON&#xA;GO&#xA;delete from Blobs &#xA;where BlobId NOT IN &#xA;(&#xA;Select Value from SharedFields with (nolock)&#xA;where FieldId = '40E50ED9-BA07-4702-992E-A912738D32DC' and Value != ''&#xA;Union&#xA;Select Value from VersionedFields with (nolock)&#xA;where FieldId = 'DBBE7D99-1388-4357-BB34-AD71EDF18ED3'&#xA;Union&#xA;Select Value from ArchivedFields with (nolock)&#xA;where FieldId in ('40E50ED9-BA07-4702-992E-A912738D32DC','DBBE7D99-1388-4357-BB34-AD71EDF18ED3')&#xA;)&#xA;&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But in three weeks the blobs Tables are big again and there are almost 19000 extra files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea why Sitecore doesn't do CleanUp?&lt;/p&gt;&#xA;" OwnerUserId="2314" LastActivityDate="2022-08-04T00:37:48.287" Title="Why CleanUp doesn't work for the Blobs Table?" Tags="|configuration|media-library|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7145" PostTypeId="1" AcceptedAnswerId="7158" CreationDate="2017-08-18T11:41:52.423" Score="7" ViewCount="2829" Body="&lt;p&gt;I'm using 8.2 Update-3 and have deployed it to Azure with Sitecore's ARM template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have indexed a page called &lt;code&gt;Event Page&lt;/code&gt;. The &lt;code&gt;Event Page&lt;/code&gt; has a DateTime field called &lt;code&gt;Start Date&lt;/code&gt; on it. It is indexed as an Edm.DateTimeOffset field. I have mapped the index to a custom SearchResultItem called &lt;code&gt;EventItem&lt;/code&gt;. The &lt;code&gt;EventItem&lt;/code&gt; looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class EventItem : IndexedItem&#xA;{&#xA;    [IndexField(Constants.IndexFields.Header)]&#xA;    public string Header { get; set; }&#xA;&#xA;    [IndexField(Constants.IndexFields.Content)]&#xA;    public override string Content { get; set; }&#xA;&#xA;    [IndexField(Constants.IndexFields.StartDate)]&#xA;    public DateTimeOffset StartDate { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to search for all events that has a &lt;code&gt;Start Date&lt;/code&gt; in the future:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = this.SearchIndexResolver.GetIndex(&quot;my_index&quot;).CreateSearchContext())&#xA;{&#xA;    var queryable = this.CreateAndInitializeQuery(context);&#xA;&#xA;    queryable = queryable.OrderBy(x =&amp;gt; x.StartDate);&#xA;&#xA;    var dateTime = new DateTimeOffset(DateTime.UtcNow);&#xA;    queryable = queryable.Where(x =&amp;gt; x.StartDate &amp;gt;= dateTime);&#xA;&#xA;    var results = queryable.GetResults();&#xA;&#xA;    return results;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This gives me the search result that I want. If I stick a breakpoint on the &lt;code&gt;results&lt;/code&gt; variable I can see that there are 3 hits which is correct. However, when I use the mapped &lt;code&gt;EventItem&lt;/code&gt;'s from the search result I get the following exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[NotSupportedException: IndexFieldUtcDateTimeOffsetValueConverter cannot convert from System.DateTime.]&#xA;   System.ComponentModel.TypeConverter.GetConvertFromException(Object value) +184&#xA;   System.ComponentModel.TypeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +8035992&#xA;   Sitecore.ContentSearch.Azure.Converters.CloudIndexFieldStorageValueFormatter.ReadFromIndexStorageBase(Object indexValue, String fieldName, Type destinationType) +596&#xA;   Sitecore.ContentSearch.Azure.Converters.CloudIndexFieldStorageValueFormatter.ReadFromIndexStorage(Object indexValue, String fieldName, Type destinationType) +234&#xA;   Sitecore.ContentSearch.DocumentTypeMapInfo.SetProperty(Object target, String propertyName, String documentFieldName, Object value) +801&#xA;   Sitecore.ContentSearch.DefaultDocumentMapper`1.MapFieldValuesToType(IDictionary`2 fieldValues, TElement result, DocumentTypeMapInfo documentTypeMapInfo) +1789&#xA;   Sitecore.ContentSearch.DefaultDocumentMapper`1.MapToType(TDocument document, SelectMethod selectMethod, IEnumerable`1 virtualFieldProcessors, IEnumerable`1 executionContexts, SearchSecurityOptions securityOptions) +760&#xA;   Sitecore.ContentSearch.Azure.Query.CloudSearchResults`1.Map(IDictionary`2 fields) +813&#xA;   Sitecore.ContentSearch.Azure.Query.&amp;lt;GetSearchHits&amp;gt;d__13.MoveNext() +366&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried changing my &lt;code&gt;EventItem&lt;/code&gt; type to a DateTime instead of DateTimeOffset and query with a DateTime.Now but that gives me a &quot;Specified cast is not valid&quot; exception when it comes the the &lt;code&gt;GetResults()&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[InvalidCastException: Specified cast is not valid.]&#xA;   Sitecore.ContentSearch.Azure.Query.Operations.PrepareValue(Object value, String edmType) +201&#xA;   Sitecore.ContentSearch.Azure.Query.CloudQueryMapper.HandleGreaterThanOrEqual(String srcFieldName, Object value, Single boost) +244&#xA;   Sitecore.ContentSearch.Azure.Query.CloudQueryMapper.HandleGreaterThanOrEqual(GreaterThanOrEqualNode node, CloudQueryMapperState state) +147&#xA;   Sitecore.ContentSearch.Azure.Query.CloudQueryMapper.HandleWhere(WhereNode node, CloudQueryMapperState mappingState) +37&#xA;   Sitecore.ContentSearch.Azure.Query.CloudQueryMapper.MapQuery(IndexQuery query) +64&#xA;   Sitecore.ContentSearch.Linq.Parsing.GenericQueryable`2.GetQuery(Expression expression) +271&#xA;   Sitecore.ContentSearch.Linq.Parsing.GenericQueryable`2.Execute(Expression expression) +37&#xA;   Sitecore.ContentSearch.Linq.QueryableExtensions.GetResults(IQueryable`1 source) +334&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So how do I fix this? What am I doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2017-08-18T17:42:32.777" Title="Azure Search and Date field filtering" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7147" PostTypeId="2" ParentId="7128" CreationDate="2017-08-18T13:33:31.043" Score="2" Body="&lt;p&gt;Sitecore 8.2 Update 3 does support Windows Server 2016.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/087164&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the operation systems table, Windows Server 2016 is checked under 8.2 and links to the following note: &quot;[21] Compatible beginning with Sitecore XP 8.2 Update-3.&quot;&lt;/p&gt;&#xA;" OwnerUserId="905" LastActivityDate="2017-08-18T13:33:31.043" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7148" PostTypeId="1" CreationDate="2017-08-18T14:37:07.453" Score="16" ViewCount="1857" Body="&lt;h1&gt;Should I stick with Webforms?&lt;/h1&gt;&#xA;&lt;p&gt;I currently work for a Digital Agency and I have been tasked with building a new website for one of our clients based on Sitecore.&lt;/p&gt;&#xA;&lt;p&gt;I have a couple of years of experience with C#/ASP.NET. Up until now most of the work I have done has been on ASP.NET Webforms, but I understand that Sitecore (and the industry as a whole) is moving away from Webforms onto newer technologies such as MVC, React, AngularJS and so on.&lt;/p&gt;&#xA;&lt;p&gt;My worry is, that if I start a new project on a platform I am new to, would I not be better off sticking with Webforms to try and minimize the learning I have to do?&lt;/p&gt;&#xA;&lt;p&gt;And if not, why not?   The alternatives seems to be MVC, AngularJS and React, but I am unfamiliar with all of them. I do know a bit of MVC, but I wouldn't consider myself &amp;quot;experienced&amp;quot; with it.&lt;/p&gt;&#xA;&lt;p&gt;I've been doing a bit of research on my own, there seems to be plenty of examples around on how to do Sitecore based on Webforms, even if some of the posts are a couple of years old by now.&lt;/p&gt;&#xA;&lt;p&gt;Requirements for the site seem fairly straight forward. I will not need to integrate any third party tools or legacy code into my new solution.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-10-12T09:01:33.017" Title="Are there any reasons to start a new Sitecore project today, using Webforms?" Tags="|best-practices|" AnswerCount="6" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7149" PostTypeId="1" CreationDate="2017-08-18T15:38:05.440" Score="2" ViewCount="135" Body="&lt;p&gt;A Brightcove module is available for Sitecore from the old SDN site, &lt;a href=&quot;https://sdn.sitecore.net/Products/Sitecore%20Media%20Framework/Brightcove.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Media Framework Brightcove Edition&lt;/a&gt;, which integrates the Brightcove Video Cloud and the Sitecore Media Library&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A number of &lt;a href=&quot;https://support.brightcove.com/node/16838&quot; rel=&quot;nofollow noreferrer&quot;&gt;changes to the Brightcove Video Cloud Service&lt;/a&gt; mean that this Brightcove module will stop working with Sitecore 7.2 from Dec 2017 onwards. We are on SC7.2 and planning an upgrade in Q2 2018. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any alternatives available to continue using Brightcove with Sitecore after this date, or is it possible to perhaps purchase extended support for our Sitecore version until we have the upgrade in place?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ST3OQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ST3OQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="135" LastEditDate="2017-08-19T17:50:00.480" LastActivityDate="2017-08-19T17:50:00.480" Title="Are there any alternatives to Brightcove, now that support for Sitecore 7.2 is scheduled to end?" Tags="|brightcove|" AnswerCount="1" CommentCount="2" ClosedDate="2017-08-22T18:29:13.170" ContentLicense="CC BY-SA 3.0" />
  <row Id="7150" PostTypeId="2" ParentId="7148" CreationDate="2017-08-18T15:39:19.760" Score="13" Body="&lt;p&gt;For me I always use WebForms for POCs because its so fast and easy. But for projects I 95% of the time use MVC. The 5% being for a client requirement where existing projects are WebForms and they want to keep that. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;I use MVC for the projects because:&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Much of the demo code you find and want to steal (I mean borrow) (i.e. Habitat, uCommerce) is in MVC. &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;uCommerce: &lt;a href=&quot;https://bitbucket.org/uCommerce/avenue-clothing-for-sitecore/src/dbcfa75b0961/src/AvenueClothing.Project.Website/?at=default&quot; rel=&quot;noreferrer&quot;&gt;https://bitbucket.org/uCommerce/avenue-clothing-for-sitecore/src/dbcfa75b0961/src/AvenueClothing.Project.Website/?at=default&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Habitat: &lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/master/src&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/tree/master/src&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Top level developers will want to MVC to match their desired patterns.&lt;/li&gt;&#xA;&lt;li&gt;The project is much cleaner, using MVC, when developing in architecture like Helix.&lt;/li&gt;&#xA;&lt;li&gt;Using Sitecore's IoC container is much simpler in MVC.&lt;/li&gt;&#xA;&lt;li&gt;Testing is MUCH simpler in MVC. So then developers will actually do it.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore's codebase seems focused on MVC since its almost completely written in MVC.&lt;/li&gt;&#xA;&lt;li&gt;Using next level technology like JSS will require the user of API controllers that you will most likely already have.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I struggled to move from Forms to MVC a few years back. But the effort to get there was worth it for the outcome. Make the switch, you will be a better developer for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My 2 cents. &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="73" LastEditDate="2017-08-18T23:47:05.747" LastActivityDate="2017-08-18T23:47:05.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7151" PostTypeId="2" ParentId="7148" CreationDate="2017-08-18T15:45:12.587" Score="0" Body="&lt;p&gt;You should always use MVC for your Sitecore projects even if you replace the view and go headless having the models and controllers separate will provide you with a cleaner architecture.  WebForms is disappearing and so any work you do in it will be throw away as you move to future versions.&lt;/p&gt;&#xA;" OwnerUserId="512" LastActivityDate="2017-08-18T15:45:12.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7154" PostTypeId="2" ParentId="7148" CreationDate="2017-08-18T16:08:11.220" Score="8" Body="&lt;p&gt;A lot will depend on why you are asking this question. WebForms are not going anywhere anytime soon - there are too many legacy implementations out there that use WebForms - for Sitecore or Microsoft to not have support for it... But...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a lot of problems with WebForms as a framework. With MVC you get a better development experience (&lt;em&gt;see what I did there&lt;/em&gt;) and can produce (IMO) a better quality implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the benefits:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Full control of the markup - For projects with dedicated front end teams, this is a massive bonus. If you have ever tried to shoe-horn dedicated front end markup into a WebForms page - it can be tricky&lt;/li&gt;&#xA;&lt;li&gt;No ViewState - view state is often misunderstood by developers and can kill page weight and performance when not dealt with properly&lt;/li&gt;&#xA;&lt;li&gt;UNIT TESTING.... do I need to say more? I mean, sure you can unit test your service and repository layers with a web forms implementation, but you can't test any code that devs put in the code behind... and while I'm on that subject...&lt;/li&gt;&#xA;&lt;li&gt;DI/Inversion of Control - again - you &lt;em&gt;can&lt;/em&gt; do it with WebForms, but its not fun.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have heard devs say that you can get projects built faster with WebForms - but I would argue that is only if you don't know MVC well - I have been doing MVC for a while now and there is no way WebForms development is faster, you just have to learn it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately I would say the &lt;em&gt;only&lt;/em&gt; reason to use WebForms in a &lt;em&gt;NEW&lt;/em&gt; project would be if you had zero developers that know MVC and your project timescales and budget do not allow for the learning curve of MVC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you &lt;em&gt;did&lt;/em&gt; decide to use WebForms for a new project, be sure that if you think its hard to find Sitecore developers - its just as hard to find a talented developer that &lt;em&gt;wants&lt;/em&gt; to stick to WebForms - the trend is towards MVC, WebForms is old news - I certainly wouldn't take a position with a company if any of the projects used WebForms, just not interested in it. So resourcing could become an issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its already been mentioned, this will be an opinionated answer - but I'd be willing to bet that 9/10 of the opinions will be - Use MVC!&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-08-18T16:08:11.220" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7156" PostTypeId="2" ParentId="5969" CreationDate="2017-08-18T16:53:40.740" Score="1" Body="&lt;p&gt;Until your Sitecore implementation doesn't have much customizations, multiple integration points and variety of add-on modules, Express migration tool is your best bet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if the answer of above three points if yes, I will recommend to go by the incremental upgrade approach, Option 2 by Hishaam above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Extracting the experience of 4 upgrades, i penned these two blogs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorecompetencies.wordpress.com/2016/08/24/planning-a-sitecore-upgrade-tips/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorecompetencies.wordpress.com/2016/08/24/planning-a-sitecore-upgrade-tips/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorecompetencies.wordpress.com/2016/08/24/estimation-tips-for-a-sitecore-upgrade/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorecompetencies.wordpress.com/2016/08/24/estimation-tips-for-a-sitecore-upgrade/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2017-08-18T16:53:40.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7157" PostTypeId="2" ParentId="7149" CreationDate="2017-08-18T17:27:01.830" Score="0" Body="&lt;p&gt;As I see it you have 2 options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You could write your own connector for Brightcove. I know you are currently on 7.2 - but the 8.0+ Mediaframework Brightcove edition has been open sourced (&lt;em&gt;&lt;a href=&quot;https://github.com/Sitecore/Media-Framework-Brightcove-Edition&quot; rel=&quot;nofollow noreferrer&quot;&gt;Media-Framework-Brightcove-Edition&lt;/a&gt;&lt;/em&gt;) so you could use that as a starting point to write a custom connector for 7.2&lt;/li&gt;&#xA;&lt;li&gt;Move over to Ooyala - Ooyala is another video platform provider similar to Brightcove and there is a Mediaframework edition for Ooyala too. This would be a pretty big project tho depending on how many videos you have on your site.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;There is a 3rd option too - move up the upgrade timescales, but that might not be feasible. I think the option with the least amount of risk would be to write a custom connector for the new Brightcove API.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-08-18T17:27:01.830" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7158" PostTypeId="2" ParentId="7145" CreationDate="2017-08-18T17:42:32.777" Score="3" Body="&lt;p&gt;I have been digging a little further. As the stacktrace says the issue lies in the &lt;code&gt;IndexFieldUtcDateTimeOffsetValueConverter&lt;/code&gt;. So I reflected on &lt;code&gt;Sitecore.ContentSearch.Azure.Converters.IndexFieldUtcDateTimeOffsetValueConverter, Sitecore.ContentSearch.Azure&lt;/code&gt; and created my own implementation of the TypeConverter. The issue lies in the &lt;code&gt;ConvertFrom&lt;/code&gt; method in the &lt;code&gt;System.ComponentModel.TypeConverter&lt;/code&gt; class. So an override of the &lt;code&gt;ConvertFrom&lt;/code&gt; method fixed the issue:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.ContentSearch.Converters;&#xA;using System;&#xA;using System.ComponentModel;&#xA;using System.Globalization;&#xA;&#xA;public class IndexFieldUtcDateTimeOffsetValueConverter : AbstractTypeConverter&#xA;{&#xA;    public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)&#xA;    {&#xA;        DateTime dateTimeValue = DateTime.MinValue;&#xA;        bool success = value != null &amp;amp;&amp;amp; DateTime.TryParse(value.ToString(), out dateTimeValue);&#xA;&#xA;        if (success)&#xA;        {&#xA;            return new DateTimeOffset(dateTimeValue);&#xA;        }&#xA;&#xA;        throw GetConvertFromException(value);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now I am able to query on DateTimes, compare them in queries and sort on DateTimes. This fixes my problem. I'll open a ticket with Sitecore and if there is a different way of fixing this, I will update this post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you face the same problem and are using the above TypeConverter, remember to switch the TypeConverter with the standard Sitecore one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;        &amp;lt;indexConfigurations&amp;gt;&#xA;            &amp;lt;defaultCloudIndexConfiguration&amp;gt;&#xA;                &amp;lt;indexFieldStorageValueFormatter&amp;gt;&#xA;                    &amp;lt;converters&amp;gt;&#xA;                        &amp;lt;converter handlesType=&quot;System.DateTimeOffset&quot; typeConverter=&quot;Sitecore.Foundation.Indexing.IndexFieldUtcDateTimeOffsetValueConverter, Sitecore.Foundation.Indexing&quot; patch:instead=&quot;*[@handlesType='System.DateTimeOffset']&quot; /&amp;gt;&#xA;                    &amp;lt;/converters&amp;gt;&#xA;                &amp;lt;/indexFieldStorageValueFormatter&amp;gt;&#xA;            &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;        &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2017-08-18T17:42:32.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7160" PostTypeId="1" CreationDate="2017-08-18T20:35:43.117" Score="2" ViewCount="680" Body="&lt;p&gt;I'm running Sitecore 8.2 Update 4, and am currently running Sitecore on my Sandbox using Docker. I've got 3 different containers: MongoDB, SQL Server, and then my Sitecore/IIS container. I've actually got my website up and running, with 1 caveat. Whenever I try to go to Experience Editor, I get a BUNCH of Require.js errors, making it impossible for the Experience Editor to work. Here's some of the errors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:449 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/preview.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:466 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/16x16/delete.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:475 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/16x16/document_header.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:481 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/16x16/view_locked_documents.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:481 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/16x16/arrow_fork.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:496 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/markup.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:487 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/publish.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:532 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/layout_details.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:529 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/windows.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:532 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/reset_layout.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:568 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/32x32/navigate_right.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:576 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/camera.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:600 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/reset_fields.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:612 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/16x16/compare_versions.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:666 GET http://sandbox.hoperestored.com:8000/sitecore/shell/client/Applications/ContentTesting/Assets/tests/16x16/suggested_test.png 500 (Internal Server Error)&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:666 GET http://sandbox.hoperestored.com:8000/sitecore/shell/client/Applications/ContentTesting/Assets/tests/16x16/active_test.png 500 (Internal Server Error)&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:666 GET http://sandbox.hoperestored.com:8000/sitecore/shell/client/Applications/ContentTesting/Assets/tests/16x16/historical_test.png 500 (Internal Server Error)&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:750 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/target.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:750 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/tags.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:750 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/pencil.png net::ERR_CONNECTION_RESET&#xA;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={818C35A2-2E91-4ED2-BD46-147F9EEDC607}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b818C35A2-2E91-4ED2-BD46-147F9EEDC607%7d%26sc_lang%3Den%26sc_version%3D1%26sc_site%3DHopeRestored&amp;amp;lang=en&amp;amp;pageSite=HopeRestored&amp;amp;version=1:756 GET http://sandbox.hoperestored.com:8000/temp/iconcache/office/24x24/inbox_into.png net::ERR_CONNECTION_RESET&#xA;require.js:1895 GET http://sandbox.hoperestored.com:8000/sitecore%20modules/Web/ExperienceExplorer/Commands/ExplorerMode.js net::ERR_CONNECTION_RESET&#xA;req.load @ require.js:1895&#xA;(More Stack trace in here)&#xA;require.js:166 Uncaught Error: Script error for: /sitecore modules/Web/ExperienceExplorer/Commands/ExplorerMode.js&#xA;http://requirejs.org/docs/errors.html#scripterror&#xA;    at makeError (require.js:166)&#xA;    at HTMLScriptElement.onScriptError (require.js:1681)&#xA;makeError @ require.js:166&#xA;onScriptError @ require.js:1681&#xA;require.js:1895 GET http://sandbox.hoperestored.com:8000/sitecore/shell/client/Sitecore/ContentTesting/ShowActiveTestsCommand.js net::ERR_CONNECTION_RESET&#xA;req.load @ require.js:1895&#xA;require.js:166 Uncaught Error: Script error for: /sitecore/shell/client/Sitecore/ContentTesting/ShowActiveTestsCommand.js&#xA;http://requirejs.org/docs/errors.html#scripterror&#xA;    at makeError (require.js:166)&#xA;    at HTMLScriptElement.onScriptError (require.js:1681)&#xA;makeError @ require.js:166&#xA;onScriptError @ require.js:1681&#xA;require.js:1895 GET http://sandbox.hoperestored.com:8000/sitecore/shell/client/Sitecore/ContentTesting/ShowHistoricalTestsCommand.js net::ERR_CONNECTION_RESET&#xA;req.load @ require.js:1895&#xA;load @ require.js:1639&#xA;require.js:166 Uncaught Error: Script error for: /sitecore/shell/client/Sitecore/ContentTesting/ShowHistoricalTestsCommand.js&#xA;http://requirejs.org/docs/errors.html#scripterror&#xA;    at makeError (require.js:166)&#xA;    at HTMLScriptElement.onScriptError (require.js:1681)&#xA;makeError @ require.js:166&#xA;onScriptError @ require.js:1681&#xA;require.js:1895 GET http://sandbox.hoperestored.com:8000/sitecore/shell/client/Sitecore/ExperienceEditor/Commands/EnableEditing.js net::ERR_CONNECTION_RESET&#xA;req.load @ require.js:1895&#xA;load @ require.js:1639&#xA;require.js:166 Uncaught Error: Script error for: /sitecore/shell/client/Sitecore/ExperienceEditor/Commands/EnableEditing.js&#xA;http://requirejs.org/docs/errors.html#scripterror&#xA;    at makeError (require.js:166)&#xA;    at HTMLScriptElement.onScriptError (require.js:1681)&#xA;makeError @ require.js:166&#xA;onScriptError @ require.js:1681&#xA;require.js:1895 GET http://sandbox.hoperestored.com:8000/sitecore/shell/client/Sitecore/ExperienceEditor/Commands/EnableFieldsValidation.js net::ERR_CONNECTION_RESET&#xA;req.load @ require.js:1895&#xA;load @ require.js:1639&#xA;require.js:166 Uncaught Error: Script error for: /sitecore/shell/client/Sitecore/ExperienceEditor/Commands/EnableFieldsValidation.js&#xA;http://requirejs.org/docs/errors.html#scripterror&#xA;    at makeError (require.js:166)&#xA;    at HTMLScriptElement.onScriptError (require.js:1681)&#xA;makeError @ require.js:166&#xA;onScriptError @ require.js:1681&#xA;require.js:1895 GET http://sandbox.hoperestored.com:8000/sitecore/shell/client/Sitecore/ExperienceEditor/Commands/ShowNavigationBar.js net::ERR_CONNECTION_RESET&#xA;req.load @ require.js:1895&#xA;load @ require.js:1639&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The files all seem to exist at the right place, and so I know that the problem is not with the file location. However, I can't seem to figure out why the host machine can't get access to those files. If I try to access the individual files from a browser, those resources load fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where do I start in figuring out what the problem is?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;Here's my dockerfile that I am using to create my sitecore website.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# More information about the aspnet base container;&#xA;# https://hub.docker.com/r/microsoft/aspnet/&#xA;FROM microsoft/aspnet:4.6.2-windowsservercore&#xA;&#xA;# Create the website directory which hold the sitecore website files.&#xA;RUN mkdir C:\website&#xA;&#xA;# DNS Resolver Cache Service&#xA;RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' \&#xA;    -Name ServerPriorityTimeLimit -Value 0 -Type DWord&#xA;&#xA;# Configure IIS&#xA;RUN powershell -NoProfile -Command \&#xA;    Import-module IISAdministration; \&#xA;    New-IISSite -Name &quot;Sitecore&quot; -PhysicalPath C:\website -BindingInformation &quot;*:8000:&quot;&#xA;&#xA;# Make the exposed port is the same as the -BindingInformation option&#xA;# given in the powershell command.&#xA;EXPOSE 8000&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here's my Docker-compose.yml file that I am using to put everything together:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;version: &quot;2.1&quot;&#xA;services:&#xA;  mongodb:&#xA;    image: istern/windows-mongo&#xA;  mssql:&#xA;    image: microsoft/mssql-server-windows-express:latest&#xA;    mem_limit: 2g&#xA;    expose:&#xA;    - &quot;1433&quot;&#xA;    environment:&#xA;    - sa_password=MyPassword&#xA;    - ACCEPT_EULA=Y&#xA;    - attach_dbs=&quot;[{'dbName':'Sitecore_Analytics','dbFiles':['C:\\databases\\Sitecore.Analytics.mdf','C:\\databases\\Sitecore.Analytics.ldf']},{'dbName':'Sitecore_Core','dbFiles':['C:\\databases\\Sitecore.Core.mdf','C:\\databases\\Sitecore.Core.ldf']},{'dbName':'Sitecore_Master','dbFiles':['C:\\databases\\Sitecore.Master.mdf','C:\\databases\\Sitecore.Master.ldf']},{'dbName':'Sitecore_Sessions','dbFiles':['C:\\databases\\Sitecore.Sessions.mdf','C:\\databases\\Sitecore.Sessions.ldf']},{'dbName':'Sitecore_Web','dbFiles':['C:\\databases\\Sitecore.Web.mdf','C:\\databases\\Sitecore.Web.ldf']}]&quot; &#xA;    volumes:&#xA;    - ./sitecore/Databases:C:/databases/&#xA;  web:&#xA;    build: ./web &#xA;    mem_limit: 6g    &#xA;    ports:&#xA;    - &quot;8000:8000&quot;&#xA;    volumes:&#xA;    - ./sitecore/Website:C:/website/&#xA;    - ./sitecore/Data:C:/website-data/&#xA;    depends_on:&#xA;    - mssql&#xA;    - mongodb&#xA;    links:&#xA;    - mssql&#xA;    - mongodb&#xA;networks:&#xA;  default:&#xA;    external:&#xA;      name: nat&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks for any insight that you might be able to share!&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="339" LastEditDate="2017-08-21T20:04:50.547" LastActivityDate="2017-08-21T20:04:50.547" Title="Experience Editor returning lots of JS Errors when running in Docker" Tags="|experience-editor|docker|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7161" PostTypeId="1" AcceptedAnswerId="7162" CreationDate="2017-08-18T23:07:30.323" Score="5" ViewCount="970" Body="&lt;p&gt;Is there a built in way to get all items in an index that inherit from a base template? I've seen a custom solution doing something similar to what is described &lt;a href=&quot;https://cardinalcore.co.uk/2014/10/31/sitecore-7-search-searching-by-inherited-template/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; and was surprised there wasn't a way to do this out of the box. Is this the case in the newest version of Sitecore (&lt;code&gt;8.2 Update-5&lt;/code&gt;)? Are there any updates that can/should be made to a solution like this or can I consider this the gold standard?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I know using the &lt;code&gt;GetItem&lt;/code&gt; method on a &lt;code&gt;SearchResultItem&lt;/code&gt; hits the database for item data so I can't use that to use any extension methods I have available on a normal item.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-08-18T23:12:46.363" LastActivityDate="2017-08-18T23:27:28.593" Title="Checking For Template Inheritance In An Index" Tags="|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7162" PostTypeId="2" ParentId="7161" CreationDate="2017-08-18T23:27:28.593" Score="5" Body="&lt;p&gt;You are definitely right, &lt;code&gt;GetItem&lt;/code&gt; on every result would completely defy the purpose of having an index in place and should be avoided.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially nothing has changed. The information you link to is correct, although I prefer the original post on the subject which is focused entirely on a &lt;em&gt;vanilla&lt;/em&gt; Sitecore. And as far as I can tell, everything in that article still holds true for Sitecore 8.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://mikael.com/2013/05/sitecore-7-query-items-that-inherits-a-template/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore 7 – Query items that inherits a template&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I don't have a Sitecore 8.2u5 on hand right now, but in 8.2u2 the code for the calculated &lt;code&gt;_templates&lt;/code&gt; field looks like this. And as such, still only selects 1 layer of BaseTemplates for any item it indexes. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IEnumerable&amp;lt;string&amp;gt; collection = ((IEnumerable&amp;lt;TemplateItem&amp;gt;)item.Template.BaseTemplates)&#xA;    .Select&amp;lt;TemplateItem, string&amp;gt;((Func&amp;lt;TemplateItem, string&amp;gt;) &#xA;        (item2 =&amp;gt; IdHelper.NormalizeGuid(item2.ID)));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code taken with dotPeek tends to sometimes be a bit hard on the eyes, but in essence this code would need to be recursive, to grab all the base templates in play. And it isn't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially, you need to create your own computed field that recursively works through BaseTemplates on the item - taking care that you don't end up in an endless recursive loop by circling over the same template more than once. Then use your computed field instead of the OOTB one supplied by Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-08-18T23:27:28.593" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7163" PostTypeId="1" AcceptedAnswerId="7164" CreationDate="2017-08-19T03:01:03.420" Score="2" ViewCount="53" Body="&lt;p&gt;In our application we have different pages like Employee List, Product List, Voting List, FAQ list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it good approach to have different Views to display the List mentioned above&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OR &lt;/p&gt;&#xA;&#xA;&lt;p&gt;can we create a dynamic table (with one View) that displays the List based on the input type&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-08-19T04:08:20.947" Title="Is it good approach to have one common functionality in Habitat (feature layer)" Tags="|helix|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7164" PostTypeId="2" ParentId="7163" CreationDate="2017-08-19T04:08:20.947" Score="2" Body="&lt;p&gt;Just make sure you don't make a view that has logic in it to determine what kind of data you are dealing with. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can have one view that shows generic data, but you need to make sure that your Employee List, FAQ, etc... use the same data template. Or you can transform your different templates in a common model and render that common model in your single view. The transforming function will have to be in the Foundation layer since your Employee List feature can't talk directly to another feature. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My recommendation is that should keep your employee list view in your employee feature. And your FAQ list in you FAQ. Its clean, its simple and again you don't want determinative logic in your view for processing different types of data.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-08-19T04:08:20.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7166" PostTypeId="1" CreationDate="2017-08-19T11:39:29.320" Score="1" ViewCount="632" Body="&lt;p&gt;When having just upgraded our old 6.x Sitecore solutions to 8, some content seem to be broken because html tags are getting rendered on pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this problem was not there in Sitecore 6.x version. How to resolve this? I have tried to test it on multiple browser versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have recently migrated our one of application from version 6 to version 8 and we are facing some issue. Here I am trying to get solution for one problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content seem to be broken on pages as html tags start being rendered on pages. We have not made any changes in content and it was working fine in previous version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can be the possible reason?&lt;/p&gt;&#xA;" OwnerUserId="2330" LastEditorUserId="605" LastEditDate="2017-08-19T17:27:35.130" LastActivityDate="2017-08-19T17:27:35.130" Title="HTML tags are getting rendered along with content" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7167" PostTypeId="2" ParentId="7166" CreationDate="2017-08-19T11:44:54.983" Score="2" Body="&lt;p&gt;This must be related to your field type. If you have HTML tags saved in Single-Line Text or Multi-line text field then it is expected behavior as the both Single-Line Text and Multi-Line are not supposed to contain any HTML tags in this version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Text fields are not supposed to contain any HTML tags, but the Rich-Text Field is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way we have tried to solve this problem is by extending the Sitecore RenderField pipeline. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public void Process(RenderFieldArgs args) &#xA;{ &#xA;  Assert.ArgumentNotNull((object)args, &quot;args&quot;); &#xA;  string fieldTypeKey = args.FieldTypeKey; &#xA;  if (fieldTypeKey != &quot;text&quot; &amp;amp;&amp;amp; fieldTypeKey != &quot;single-line text&quot;) &#xA;  { return;  } &#xA;&#xA;  args.Result.FirstPart = HttpUtility.HtmlDecode(args.Result.FirstPart); &#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can use either way whichever works for you.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-08-19T11:44:54.983" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7168" PostTypeId="1" CreationDate="2017-08-19T14:18:07.927" Score="0" ViewCount="1288" Body="&lt;p&gt;I have class CarouselViewModel as below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType]&#xA;    public class CarouselViewModel&#xA;    {&#xA;        [SitecoreField(FieldName = &quot;Selected Items&quot;)]&#xA;        public IEnumerable&amp;lt;CarouselSlides&amp;gt; CarouselSlides { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The CarouselViewModel containes carouselSlides&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType]&#xA;    public class CarouselSlides&#xA;    {&#xA;           [SitecoreField(FieldType = SitecoreFieldType.Image, FieldName = &quot;Image&quot;)]&#xA;        public virtual Image Image { get; set; }&#xA;&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using glass mapper I am getting count as 3 in CarouselViewModel but the imagefield in individual carouselSlides is always coming as null. Is there something i am doing wrong while mapping the field. The field contains value and while using direct sitecore fields I am able to populate the model.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="1902" LastEditDate="2017-08-20T15:11:00.823" LastActivityDate="2017-08-20T15:11:00.823" Title="Sitecore glassmapper not mapping fields inside field" Tags="|glass-mapper|" AnswerCount="1" CommentCount="4" ClosedDate="2017-08-19T16:15:23.697" ContentLicense="CC BY-SA 3.0" />
  <row Id="7170" PostTypeId="2" ParentId="7168" CreationDate="2017-08-19T15:21:40.580" Score="1" Body="&lt;p&gt;Inheriting the classes from GlassBase solved the issue&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GlassBase&#xA;{&#xA;    [SitecoreInfo(SitecoreInfoType.Name)]&#xA;    string Name { get; set; }&#xA;    [SitecoreInfo(SitecoreInfoType.TemplateName)]&#xA;    string Template { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="135" LastEditDate="2017-08-19T17:21:31.927" LastActivityDate="2017-08-19T17:21:31.927" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7172" PostTypeId="2" ParentId="7148" CreationDate="2017-08-20T01:28:29.500" Score="3" Body="&lt;p&gt;This will probably get me downvoted to oblivion, but I still like WebForms for lots of reasons. My move to MVC is only going to happen completely once tag helpers are being used throughout Sitecore, so we can finally stop putting code inside Views.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to use WebForms, however, strongly consider a pattern like Model-View-Presenter.  There is an excellent framework called &lt;a href=&quot;https://github.com/webformsmvp/webformsmvp&quot; rel=&quot;nofollow noreferrer&quot;&gt;WebFormsMVP&lt;/a&gt; that will provide a solid support structure as well as inter-component communications that are very important in a component-driven CMS, and still not well done in MVC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just because WebForms allows you to do silly things like backing a table with ViewState, doesn't mean you have to do it.  You can't build a robust, professional site with WebForms if you know what you're doing.  As with so many things, the onus is on you to do it right.  You can make a huge mess of MVC without trying too hard if you don't know what you're doing. So we're clear, putting logic into code-behind is the equivalent of &quot;not knowing what you are doing&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The MVP pattern will support a range of Helix-compliant, fully testable, SOLID, TDD-driven practices. The result will be fully compiled at design-time, and highly performant if you've done it correctly. You will also avoid a half-dozen or so Sitecore rendering pipelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know there isn't much love on the web for WebForms these days, but don't be fooled by zealots. It's just as easy to mess up MVC by putting methods in your models and executing business logic from your views as it is to mess up WebForms by dragging toolbox components to your &quot;design surface&quot; and forgetting to manage your ViewState.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A word of warning in parting: WebForms controls emit HTML (some MVC calls do too by the way) - so if you want to have very strict control over the HTML output you are going to be forced to either: a) lean on LiteralControl, or b) create a number of Server Controls of your own. That's not especially difficult, but it will add some build time to your project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that in Sitecore, neither WebForms nor MVC components are executed in their &quot;native habitat&quot;, and that Sitecore is faking the component lifecycles in both cases.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-08-20T01:28:29.500" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7173" PostTypeId="1" AcceptedAnswerId="7174" CreationDate="2017-08-20T17:52:33.680" Score="10" ViewCount="1637" Body="&lt;p&gt;Is it possible to load different default Rich Text Editor profiles (default for most users but the &quot;full&quot; for a select few) based on Sitecore Roles a user belongs to? For example, if a user is in the &quot;Reviewer&quot; role, we give them the full editor - while everyone else gets the default.&lt;/p&gt;&#xA;" OwnerUserId="98" LastActivityDate="2017-08-21T14:00:30.287" Title="Is it possible to customize HTML Editor Profile based on Sitecore Role a user belongs to?" Tags="|richtext-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7174" PostTypeId="2" ParentId="7173" CreationDate="2017-08-20T18:15:40.000" Score="10" Body="&lt;p&gt;Yes you can do it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can customize the constructor of the EditorConfiguration class:&#xA;&#xA;You can use Reflector, IlSpy or .Peek or any disssamble tool to investigate the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is example of the constructor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public EditorConfiguration(Item profile)&#xA;{&#xA;    Assert.ArgumentNotNull(profile, &quot;profile&quot;);&#xA;    this.Result = new EditorConfigurationResult();&#xA;    if (Sitecore.Context.User.Roles.Contains (new Sitecore.Security.Accounts.Role(&quot;roleName&quot;)))&#xA;   {&#xA;       this.profile = Sitecore.Configuration.Factory.GetDatabase(&quot;core&quot;).GetItem(Id of the item profile in the Core database);&#xA;    } &#xA;    this.profile = profile;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore determines the configuration type for the Rich Text Editor:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore retrieves the profile of the current Rich Text Editor field (e.g. Rich Text Medium);&lt;/li&gt;&#xA;&lt;li&gt;It then goes to the Core database and looks the children of the profile item;&lt;/li&gt;&#xA;&lt;li&gt;If Sitecore finds the Configuration Type item among the children, the Configuration Type in the Web.config will be ignored.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In conclusion (make the solution to work for the Rich Text Default type):&#xA;In the Core database navigate to the /sitecore/system/Settings/Html Editor Profiles/Rich Text Default/Configuration Type item and configure there your custom configuration type too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. Profiles can be found in Core database under the  /sitecore/system/Settings/Html Editor Profiles item&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-08-20T18:15:40.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7175" PostTypeId="2" ParentId="7139" CreationDate="2017-08-21T10:07:08.990" Score="0" Body="&lt;p&gt;I have seen this issue before if u set default controller or method Sitecore has thrown 404 for me too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try setting the custom route as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RouteTable.Routes.MapRoute(&quot;CustomRoute1&quot;, &quot;sitecore/api/test/{controller}/{action}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info on creating a custom route here - &lt;a href=&quot;http://sitecoreblog.tools4geeks.com/Blog/38/Creating-a-web-API-in-sitecore-for-ajax-calls-with-in-sitecore-context&quot; rel=&quot;nofollow noreferrer&quot;&gt;creating custom routes in sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2017-08-21T10:07:08.990" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7176" PostTypeId="2" ParentId="7173" CreationDate="2017-08-21T14:00:30.287" Score="3" Body="&lt;p&gt;The solution from @Sitecore Climber is robust, but if you are looking for a quick-and-dirty solution, you can analyze your role capabilities and look for subsets of capabilities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If all your users are subsets of each other, you define a new HTML Editor Profile in the Core database and then update the &lt;code&gt;HtmlEditor.DefaultProfile&lt;/code&gt; setting to use your custom profile. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Core database, you can then group the buttons of the profile into toolbars for different roles and secure with Sitecore security. This will allow you to open up more functionality based on role using a single profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of this described in this blog: &lt;a href=&quot;http://bluetubeinc.com/blog/2012/9/limiting-sitecore-rich-text-editor-buttons-by-security-role&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://bluetubeinc.com/blog/2012/9/limiting-sitecore-rich-text-editor-buttons-by-security-role&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Rich Text Editor configuration is stored in the Core database&#xA;  at/sitecore/system/Settings/Html Editor Profiles.   Rich Text Default&#xA;  is the default configuration. You can override this on any Rich Text&#xA;  Field by pointing to a different location.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;If you use multiple profiles, you'll need to apply this to all of&#xA;  them, but to keep things simple I will be focusing on just the&#xA;  default.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Open the Security Editor and select the role you wish to edit. In this&#xA;  example, I'm going to use the Author role.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Navigate to the path above in the Core database.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Browse to the toolbars. In this example, I'm using the default, so&#xA;  there is a single toolbar. In the full (which is commonly renamed and&#xA;  used), there are three.  First, turn off item inheritance, then apply&#xA;  Read Permissions to the buttons you wish to show in the toolbar.  All&#xA;  other buttons should have their inheritance turned off.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;If you want to turn off an entire toolbar, simply remove the&#xA;  inheritace from the toolbar - you do not need to turn off or change&#xA;  permissions on individual buttons unless you only want to show buttons&#xA;  within that toolbar.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Final note- you can use the deny read rather than inheritance and&#xA;  allow.  This is typically much faster. However, keep in mind in&#xA;  Sitecore that deny reads win out over allows. So if a user is in a&#xA;  role with a Deny and a role with an Allow, they will not be granted&#xA;  permissions.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Another example described in this SO post:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/10434054/in-sitecore-how-do-i-assign-an-html-editor-profile-to-a-user-or-role&quot;&gt;https://stackoverflow.com/questions/10434054/in-sitecore-how-do-i-assign-an-html-editor-profile-to-a-user-or-role&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Just have one profile that includes everything, but deny everyone read&#xA;  or break security inheritance. Then admin has everything and everyone&#xA;  else has nothing. Add rights for the various roles as required. This&#xA;  involves using the Security Editor and drilling down in the core&#xA;  database to:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;/sitecore/system/Settings/Html Editor Profiles//Toolbar 1/ /sitecore/system/Settings/Html Editor&#xA;  Profiles//Toolbar 2/&#xA;  /sitecore/system/Settings/Html Editor Profiles//Toolbar 3/&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;...and denying &quot;Read&quot; rights for user roles.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-08-21T14:00:30.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7177" PostTypeId="1" AcceptedAnswerId="7179" CreationDate="2017-08-21T14:15:10.220" Score="1" ViewCount="88" Body="&lt;p&gt;I need to add some custom icons to &lt;strong&gt;Icons.config&lt;/strong&gt;, but I would like to do it through a patch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to do so?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;&#xA;  &amp;lt;collection name=&quot;Foo&quot;&amp;gt;&#xA;    Foo/16x16/logo.png&#xA;  &amp;lt;/collection&amp;gt;&#xA;  &amp;lt;collection name=&quot;Foo2&quot;&amp;gt;&#xA;    Foo/16x16/logo.png&#xA;  &amp;lt;/collection&amp;gt;&#xA;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-08-21T14:32:42.680" Title="How can I patch Icons.config file?" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7179" PostTypeId="2" ParentId="7177" CreationDate="2017-08-21T14:32:42.680" Score="5" Body="&lt;p&gt;Actually, I found out a way to patch the Icons.config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;icons&amp;gt;&#xA;      &amp;lt;collection name=&quot;Foo&quot;&amp;gt;&#xA;        Foo/16x16/logo.png&#xA;      &amp;lt;/collection&amp;gt;&#xA;      &amp;lt;collection name=&quot;Foo2&quot;&amp;gt;&#xA;        Foo/16x16/logo.png&#xA;      &amp;lt;/collection&amp;gt;&#xA;    &amp;lt;/icons&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In theory, everything you see in the /sitecore/admin/showconfig.aspx is patchable.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-08-21T14:32:42.680" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7180" PostTypeId="1" AcceptedAnswerId="7181" CreationDate="2017-08-21T15:18:15.143" Score="1" ViewCount="343" Body="&lt;p&gt;I've carried out some testing with etags (used to determine if content has changed since a browser last requested it: &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_a4.pdf&lt;/a&gt;) and Sitecore returns an etag for media items like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ETag:9c8e1229037c470899e369e903945bcf&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if I update some properties on the image such as the alt text the tag does not update. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I update the image though and add a different image (even with the same name) then this does update. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this the expected behaviour and are there any settings for this other than &lt;code&gt;'MediaResponse.Cacheability'&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-08-21T16:00:50.893" Title="When do etags update on Media Items?" Tags="|media-library|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7181" PostTypeId="2" ParentId="7180" CreationDate="2017-08-21T15:43:16.927" Score="3" Body="&lt;h3&gt;Expected Behaviour?&lt;/h3&gt;&#xA;&lt;p&gt;That, I can't tell you. My first thought was, that the ETAG on a media request would be set to the &lt;code&gt;Revision&lt;/code&gt; field of the underlying item. That's not what happens.&lt;/p&gt;&#xA;&lt;p&gt;Here is the snippet of code responsible, inside &lt;code&gt;MediaRequestHandler&lt;/code&gt;, under the &lt;code&gt;SetMediaHeaders()&lt;/code&gt; method.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;cache.SetETag(media.MediaData.MediaId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So basically it takes the &lt;code&gt;MediaId&lt;/code&gt; of the underlying Media blob. Not the Media Item itself.&lt;/p&gt;&#xA;&lt;p&gt;This seems 100% in line with what you're experiencing yourself - updating the Media &lt;em&gt;will&lt;/em&gt; provoke a new ETAG. Updating meta information on the image, will not.&lt;/p&gt;&#xA;&lt;h3&gt;But isn't this good enough anyway?&lt;/h3&gt;&#xA;&lt;p&gt;You're trying to prevent a re-download of expensive media data, and if the data hasn't changed (the media itself) - the ETAG should stay the same?  no?&lt;/p&gt;&#xA;&lt;p&gt;I mean, if you output additional meta information about the media on your page - this would come from the Media Item itself and not be restricted by caches.&lt;/p&gt;&#xA;&lt;h3&gt;In summary&lt;/h3&gt;&#xA;&lt;p&gt;I think this works as intended and expected. ETAG updates when the media is updated, not the media meta information.&lt;/p&gt;&#xA;&lt;h3&gt;Workaround, if you want&lt;/h3&gt;&#xA;&lt;p&gt;The method responsible for the ETAG header (and all other headers) is &lt;code&gt;SendMediaHeaders&lt;/code&gt; on the &lt;code&gt;MediaRequestHandler&lt;/code&gt;. It is implemented as a &lt;code&gt;protected virtual&lt;/code&gt; method, so it would be relatively easy for you to override this behaviour if you still require it. Write a new class that overrides this method, and replace the default Sitecore one in &lt;code&gt;Web.config&lt;/code&gt; under &lt;code&gt;&amp;lt;handlers&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;add verb=&amp;quot;*&amp;quot; path=&amp;quot;sitecore_media.ashx&amp;quot; type=&amp;quot;Sitecore.Resources.Media.MediaRequestHandler, Sitecore.Kernel&amp;quot; name=&amp;quot;Sitecore.MediaRequestHandler&amp;quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-08-21T16:00:50.893" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7182" PostTypeId="1" CreationDate="2017-08-21T17:06:53.237" Score="3" ViewCount="1210" Body="&lt;p&gt;I've read the documentation regarding caching and also a number of posts on SSE and I'm trying to understand if there is anything else to consider other than the following when enabling caching for a page by turning off the &lt;code&gt;DisableBrowserCaching&lt;/code&gt; option:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Personalisation - of any components on any of the pages we wish to Cache&lt;/li&gt;&#xA;&lt;li&gt;Content changes - If we have dynamic content (which we do)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As I understand it by default Sitecore pages are not cached due to the dynamic nature of Sitecore pages it is unlikely that the data source, device, authentication status, user, rendering parameters and/or query string parameters are the same as a previous request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore instead caching should really be set on specific components instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are looking to cache a number of key/high-traffic pages only (e.g the homepage) for 1 or 2 minutes as most of the components on this page are dynamic so are not cached by Sitecore - but we are happy that the content might be a minute or two out of date for the performance gains we might get for a full page cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other than the content not being immediately up-to-date (if updated in Sitecore or from a 3rd party) is there anything else to think about or side-affects to be aware of?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further info:&lt;/strong&gt; We are not using Personalisation at all currently. Sitecore 8.1 update 2.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-08-21T19:01:11.967" Title="Considerations for Caching Sitecore Content Pages (HTML markup)" Tags="|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7183" PostTypeId="2" ParentId="7139" CreationDate="2017-08-21T17:08:13.587" Score="0" Body="&lt;p&gt;I found my issue.  There was another controller with the same name.  Once I changed the name of the controller to something unique, I got the expected results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm a bit surprised that I didn't get a different exception, but nonetheless I'm moving forward.&lt;/p&gt;&#xA;" OwnerUserId="1400" LastActivityDate="2017-08-21T17:08:13.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7184" PostTypeId="1" AcceptedAnswerId="7187" CreationDate="2017-08-21T17:19:13.650" Score="9" ViewCount="707" Body="&lt;p&gt;I am having an error when publishing Sitecore profiles on a test environment.&#xA;I created the profile &lt;code&gt;Test&lt;/code&gt; with profile keys &lt;code&gt;Key1&lt;/code&gt; and &lt;code&gt;Key2&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Profile card and pattern cards were created also. See screenshot below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FB9Mo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FB9Mo.png&quot; alt=&quot;Screenshot of Pattern/Profile Cards created&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tagged content (an article page) with the profile card &lt;code&gt;Tag1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything appears good on the master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3KOiO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3KOiO.png&quot; alt=&quot;Screenshot of Profile Cards&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After publishing the profile and the content, I accessed the article page (more than 3 times) on the website for the user to get assigned a pattern card.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When checking the interaction of the user using:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Tracker.Current.Session.Interaction.Profiles[&quot;Test&quot;]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no profile &lt;code&gt;Test&lt;/code&gt; assigned to the current user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I went to check the web database if everything has been published correctly. &#xA;My article was no longer tagged with the profile card.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nMQ40.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nMQ40.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The profile cards and pattern cards are present in &lt;code&gt;Marketing Control Panel&lt;/code&gt; but the radar chart is not populated with anything but the raw values contains the value that were set in the master db.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w0wFE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w0wFE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2OViM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2OViM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to delete the &lt;code&gt;Profiles&lt;/code&gt; container in the web db and re publish everything. There were some profiles that were created earlier and were working. Now these too are not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to clean up the database, rebuild link database and even deploy marketing definition from control panel. Still no luck.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="1000" LastEditDate="2017-11-19T21:54:20.887" LastActivityDate="2018-06-15T08:13:03.440" Title="Sitecore profile card values not being published" Tags="|experience-analytics|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7185" PostTypeId="2" ParentId="7182" CreationDate="2017-08-21T17:21:58.547" Score="2" Body="&lt;p&gt;When I was in a similar situation, what I did was to create a custom cache key and extended it off of the &lt;code&gt;VaryByData&lt;/code&gt; cache option for renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do then is to based on the dynamic properties that makes your dynamic contents (UserGroupId, Affiliate, etc...) you can generate a cache just for that situation. In the example below, based on the info in the visitors cookie, we cache the renderings differently. This caches the output (HTML) of the rendering. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The code&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Mvc.Pipelines.Response.RenderRendering;&#xA;using Sitecore.Mvc.Presentation;&#xA;&#xA;namespace Customer.Mvc.Theme.Pipelines.mvc.renderRendering&#xA;{&#xA;    public class GenerateCacheKey : Sitecore.Mvc.Pipelines.Response.RenderRendering.GenerateCacheKey&#xA;    {&#xA;        protected override string GenerateKey(Rendering rendering, RenderRenderingArgs args)&#xA;        {&#xA;            var cacheKey = base.GenerateKey(rendering, args);&#xA;&#xA;            if (rendering.RenderingItem.ID == new ID(Constants.Renderings.Product.ProductGrid))&#xA;            {&#xA;                var caching = rendering.Caching;&#xA;&#xA;                var cookie =&#xA;                    System.Web.HttpContext.Current.Request.Cookies[&#xA;                        Foundation.Constants.Strings.AffiliationCookieName];&#xA;&#xA;                if (caching.VaryByData &amp;amp;&amp;amp; !string.IsNullOrWhiteSpace(cookie?.Value))&#xA;                {&#xA;                    cacheKey += &quot;_#affiliateId:&quot; + cookie.Value;&#xA;                }&#xA;            }&#xA;&#xA;            return cacheKey;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The Config&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.renderRendering&amp;gt;&#xA;        &amp;lt;processor patch:instead=&quot;processor[@type='Sitecore.Mvc.Pipelines.Response.RenderRendering.GenerateCacheKey, Sitecore.Mvc']&quot;&#xA;                     type=&quot;Customer.Mvc.Theme.Pipelines.mvc.renderRendering.GenerateCacheKey, Customer.Mvc.Theme&quot;/&amp;gt;&#xA;      &amp;lt;/mvc.renderRendering&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-08-21T17:21:58.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7186" PostTypeId="1" CreationDate="2017-08-21T18:32:22.217" Score="1" ViewCount="696" Body="&lt;p&gt;I've got a problem with one of my clients' sites (Sitecore 8.0, Azure cloud services (custom deployment model)) and could really use a solution. Here's the story in bullet point form:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Deployment of code (some by us and some by client) was Thursday last week. This deployment included some code that uses xDB, both mongoDB and reporting DB.&lt;/li&gt;&#xA;&lt;li&gt;Friday last week the site slowly (over the course of 3-4 hours) started to go down/become unresponsive.&lt;/li&gt;&#xA;&lt;li&gt;Azure monitoring showed that the sessions DB (on an Azure SQL DB instance) was nearly 100% usage (500 DTUs).&lt;/li&gt;&#xA;&lt;li&gt;Client IT recycled the app pools and upsized the sessions DB to 1000 DTUs. This seemed to abate the problem, though it was nearing the end of the day on Friday (and traffic was declining), so we decided to meet Monday morning to be ready in case the site acted up again.&lt;/li&gt;&#xA;&lt;li&gt;This morning the site started out fine, but around 10AM-11AM started to slow down. &lt;/li&gt;&#xA;&lt;li&gt;The sessions DB usage was climbing. When it hit about 60% DTU usage, client IT upsized the sessions DB to 1750 DTUs. We also disabled xDB.&lt;/li&gt;&#xA;&lt;li&gt;The site has been stable since and sessions DB usage has hovered at around 5%, but we want to know the cause.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Things I've checked so far:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore logs don't show any obvious causes. There is a significant number of errors in the log, but nothing that seems clearly related (N.B. the client has updated the format of the log files in such a way that SCLA doesn't work with them). &#xA;** There are contact errors like this one: &lt;code&gt;ERROR General error when submitting contact. Exception: System.InvalidOperationException Message: A contact is locked by another operation.&lt;/code&gt; I confirmed this is not the anonymous user (i.e. it is not the specific problem &lt;a href=&quot;https://briancaos.wordpress.com/2015/07/02/sitecore-8-and-tracker-current-session-identify-overriding-expired-contact-session-lock-for-contact-id/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Brian Pederson called out here&lt;/a&gt;). &#xA;** There are Maxmind errors like this one: &lt;code&gt;ERROR Failed to perform GeoIp lookup for 70.210.74.243 Exception: Sitecore.Analytics.Lookups.CannotParseResponseException Message: Unexpected format. Cannot parse the MaxMind response for IP address: 70.210.74.243&lt;/code&gt;. Obviously, MaxMind is deprecated, but I don't think these are causing the problem... or are they?&lt;/li&gt;&#xA;&lt;li&gt;I looked at IIS logs to see if there was a surge in traffic or other interesting details. While traffic did rise significantly during the Friday outage, the traffic only appeared to be double, which probably shouldn't have been enough to cause the problems. Additionally, the traffic on Monday (today) was about the same as the previous Monday.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'm not sure where to go from here.&lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="368" LastEditDate="2017-08-21T19:11:45.273" LastActivityDate="2017-08-21T19:11:45.273" Title="Sessions DB usage spiking, causing performance problems" Tags="|xdb|session-state|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7187" PostTypeId="2" ParentId="7184" CreationDate="2017-08-21T18:50:09.813" Score="2" Body="&lt;p&gt;Sitecore Publishing Service was being used to handle all publishing on the environment. I do not know if the issue was from this or not but when I tried to transfer Profile item with sub items to the web database, it seems to have fixed the issue.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="1674" LastEditDate="2017-08-21T18:58:04.580" LastActivityDate="2017-08-21T18:58:04.580" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7188" PostTypeId="2" ParentId="7182" CreationDate="2017-08-21T19:01:11.967" Score="2" Body="&lt;p&gt;I would never use &lt;code&gt;DisableBrowserCaching&lt;/code&gt; as it will cache media files on browser, nothing to do with html pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore driven content, we should leverage HTML Caching on renderings with relevant &lt;strong&gt;Vary By&lt;/strong&gt; options. While using it, take care for below things:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Define HTML cache Size as per its utilization. Use the /sitecore/admin/cache.aspx or /sitecore/admin/stats.aspx to know the utilization.&lt;/li&gt;&#xA;&lt;li&gt;Choose the &lt;strong&gt;Vary By&lt;/strong&gt; option wisely. Refer -  [&lt;a href=&quot;http://www.xcentium.com/blog/2016/09/23/sitecore-caching-and-how-it-works-in-mvc-solutions][1]&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.xcentium.com/blog/2016/09/23/sitecore-caching-and-how-it-works-in-mvc-solutions][1]&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Never cache renderings which needs postbacks, if you use so, post backs won't work.&lt;/li&gt;&#xA;&lt;li&gt;Make sure HTML Cache is getting cleared on every publish. It gets cleared on publish:end:remote event on CD servers.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;While using &lt;strong&gt;Dynamic Content&lt;/strong&gt;, never apply Sitecore caching on renderings. Try to use .NET Time based cache to serve dynamic content. So that the cache will be cleared after provided internal of time automatically. See below example -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Cache.Insert(cacheKey, response, null, System.DateTime.Now.AddMinutes(10), TimeSpan.Zero, System.Web.Caching.CacheItemPriority.NotRemovable, null);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="255" LastActivityDate="2017-08-21T19:01:11.967" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7189" PostTypeId="2" ParentId="7160" CreationDate="2017-08-21T20:04:08.977" Score="2" Body="&lt;p&gt;So I ended up rebuilding my docker image, this time not using the &lt;code&gt;volumes&lt;/code&gt; capability on the &lt;code&gt;docker-compose.yml&lt;/code&gt; file. So my file now looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;version: &quot;2.1&quot;&#xA;services:&#xA;  mongodb:&#xA;    image: istern/windows-mongo&#xA;  mssql:&#xA;    image: microsoft/mssql-server-windows-express:latest&#xA;    mem_limit: 2g&#xA;    expose:&#xA;    - &quot;1433&quot;&#xA;    environment:&#xA;    - sa_password=myPassword&#xA;    - ACCEPT_EULA=Y&#xA;    - attach_dbs=&quot;[{'dbName':'Sitecore_Analytics','dbFiles':['C:\\databases\\Sitecore.Analytics.mdf','C:\\databases\\Sitecore.Analytics.ldf']},{'dbName':'Sitecore_Core','dbFiles':['C:\\databases\\Sitecore.Core.mdf','C:\\databases\\Sitecore.Core.ldf']},{'dbName':'Sitecore_Master','dbFiles':['C:\\databases\\Sitecore.Master.mdf','C:\\databases\\Sitecore.Master.ldf']},{'dbName':'Sitecore_Sessions','dbFiles':['C:\\databases\\Sitecore.Sessions.mdf','C:\\databases\\Sitecore.Sessions.ldf']},{'dbName':'Sitecore_Web','dbFiles':['C:\\databases\\Sitecore.Web.mdf','C:\\databases\\Sitecore.Web.ldf']}]&quot; &#xA;    volumes:&#xA;    - ./sitecore/Databases:C:/databases/&#xA;  web:&#xA;    image: myCompany/Sitecore82u4&#xA;    mem_limit: 6g    &#xA;    ports:&#xA;    - &quot;8000:8000&quot;&#xA;    depends_on:&#xA;    - mssql&#xA;    - mongodb&#xA;    links:&#xA;    - mssql&#xA;    - mongodb&#xA;networks:&#xA;  default:&#xA;    external:&#xA;      name: nat&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Sitecore docker image loads a LOT faster, and everything seems to be working now. So it seems as if the version of Docker for Windows that I'm using &lt;code&gt;(17.06.0-ce, build 02c1d87)&lt;/code&gt; doesn't handle the volumes very well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that helps others!&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2017-08-21T20:04:08.977" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7191" PostTypeId="1" AcceptedAnswerId="7201" CreationDate="2017-08-22T09:54:09.380" Score="1" ViewCount="114" Body="&lt;p&gt;I have a contribution folder with items on my sitecore website. I had to manually map the displayname to the items in my HttpRequestProcessor resolvers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I would like to confirm there is no other (easier) way to process, such as telling sitecore to automatically get an item either by its name or its display name for an item which is outside of the &quot;Home&quot; folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To give you a better idea of what im currently doing :&#xA;In my Resolver, I retrieve the item name from the URL, I check if UseDisplayName is enabled and if so, I do a Solr request with looking for either the Name or the Item name, otherwise I only search for the name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If i get a result, I set my Context.Item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any kind of magic to make this easier ? :)&#xA;Thank's you&lt;/p&gt;&#xA;" OwnerUserId="2146" LastEditorUserId="73" LastEditDate="2017-08-23T14:45:36.797" LastActivityDate="2017-08-23T22:02:56.847" Title="Can we use &quot;useDisplayName&quot; for items outside of the Home folder?" Tags="|urls|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="7192" PostTypeId="1" AcceptedAnswerId="7236" CreationDate="2017-08-22T10:06:51.833" Score="3" ViewCount="879" Body="&lt;p&gt;quick background, got a standalone app (.exe) which imports &quot;products&quot; into a Sitecore site and basically i need to do a content search for a field on the external product e.g. &lt;code&gt;productId&lt;/code&gt; (saved on the sitecore item equavalent of that products, so i can work out if that product exists or i need to create a new one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far, the best way i have is to get the children from sitecore products parent and loop through them to check using e.g. &lt;code&gt;http://{host}/sitecore/api/ssc/item/{guid}/children?database=master&lt;/code&gt; but as you can image with a lot of products this is going to take ages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally i want to do something like &lt;code&gt;http://{host}/sitecore/api/ssc/item/?searchterm=productId&amp;amp;database=master&lt;/code&gt;, so that i can pass the term to search , in this case the &lt;code&gt;productid&lt;/code&gt;, and get either 1 item back or null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen a few examples using the old web API with something like query:fast wonder if there is something similar in the new API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please can you provide some examples to try, keep in mind am still new to sitecore as well so treat me like i dont know anything at all :).&lt;/p&gt;&#xA;" OwnerUserId="2338" LastEditorUserId="70" LastEditDate="2017-08-22T18:31:29.303" LastActivityDate="2017-08-28T00:41:44.177" Title="Use the ItemService to perform a content search" Tags="|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7194" PostTypeId="1" CreationDate="2017-08-22T12:25:55.357" Score="0" ViewCount="155" Body="&lt;p&gt;On a site that was recently upgraded from v8.0 Update 3 to v8.1 Update 3, editors are reporting that when they attempt to change the template of an item, they end up on the login page. These users are all members of the  &lt;code&gt;sitecore\Sitecore Client Maintaining&lt;/code&gt; group and should have access to this functionality. When they click the button in the ribbon, the following appears in the logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WARN  Request is redirected to login page. Requested url: /sitecore/shell/Applications/Templates/Change template.aspx?id=%7B05F2603F-DF10-42E8-B9E2-4A25DECFDFF1%7D, User: sitecore\editorUserId, Website: shell&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There have been several other cases where the security settings in core have impacted the editors, but I can't find what is causing this one.&lt;/p&gt;&#xA;" OwnerUserId="249" LastEditorUserId="2727" LastEditDate="2018-10-28T06:34:58.267" LastActivityDate="2018-10-28T06:34:58.267" Title="Attempting to Change Template logs out user" Tags="|content-editor|security|content-management|role-management|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7195" PostTypeId="2" ParentId="7062" CreationDate="2017-08-22T13:19:41.587" Score="3" Body="&lt;p&gt;&lt;strong&gt;Problem Solved&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; If you are using just Sitecore CRM Provider, you should use&#xA;&lt;code&gt;&amp;quot;authentication type=2&amp;quot;&lt;/code&gt;, if you are using Microsoft.Xrm.dl then you should use &lt;code&gt;authtype=Office365&lt;/code&gt;, if you are using both dlls on the project (since they do different stuff), you can use &lt;code&gt;&amp;quot;authentication type=2;authtype=Office365&amp;quot;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Sitecore helped me on this issue (on the Sitecore part) but I suggested then to use the Microsoft Standard, to avoid this type of issue, anyway the solution would be using both Sitecore and Microsoft Parameter on the same ConnectionString&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Final Connection string would be&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;url=https://CHANGEME.api.crm3.dynamics.com/XRMServices/2011/Organization.svc;user id=CHANGEME;password=CHANGEME;authtype=Office365;authentication type=2&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="946" LastEditDate="2022-06-02T06:09:03.467" LastActivityDate="2022-06-02T06:09:03.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7196" PostTypeId="1" CreationDate="2017-08-22T15:10:34.300" Score="5" ViewCount="782" Body="&lt;p&gt;As per the Sitecore recommendation from the below link Mongo DB 3.2.1 is recommended, but when we look at the Mongo DB we are having 3.2.15 patch update as the latest. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Recommendation : &lt;a href=&quot;https://kb.sitecore.net/articles/633863&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/633863&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone comment whether going forward with latest patch update (3.2.15) has issues with Sitecore 8.2 update 3.&lt;/p&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2017-08-24T19:37:46.550" Title="Sitecore MongoDB Compatibility Version" Tags="|mongodb|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7197" PostTypeId="1" AcceptedAnswerId="7199" CreationDate="2017-08-22T17:13:27.343" Score="4" ViewCount="4078" Body="&lt;p&gt;I am getting the following error when opening the content editor or loading my site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;Value cannot be null.&#xA;Parameter name: fieldNameTranslator&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.ArgumentNullException: Value cannot be null.&#xA;Parameter name: fieldNameTranslator&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've referred to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5022/value-cannot-be-null-parameter-name-fieldnametranslator-opening-content-edit&quot;&gt;Value cannot be null[...].&lt;/a&gt; but have everything mentioned in that already in place. We regenerated the schema.xml for all our cores as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also looked at &lt;a href=&quot;https://stackoverflow.com/questions/32516859/getting-error-on-content-editor-after-upgrading-to-sitecore-8&quot;&gt;Getting error on Content Editor after upgrading to Sitecore 8&lt;/a&gt; but that did not help either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr is running fine, but for some reason, I'm not able to rebuild my indexes, it throws the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR One or more exceptions occurred while processing the subscribers to the 'indexing:end' event.&#xA;Exception[1]: System.InvalidOperationException &#xA;Message[1]: search index summary &#xA;Source[1]: Sitecore.ContentSearch &#xA;at Sitecore.ContentSearch.Events.IndexingEventHandler.UpdateIndexTimestampDirectHandler(Object sender, EventArgs args) &#xA;at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1345" LastEditorUserId="2359" LastEditDate="2019-10-17T17:45:04.233" LastActivityDate="2020-07-30T11:10:16.620" Title="Value cannot be null. Parameter name: fieldNameTranslator | Upgrade 8.1 update 4 to 8.2 Update 2" Tags="|solr|upgrade|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7198" PostTypeId="2" ParentId="7192" CreationDate="2017-08-22T18:44:56.477" Score="4" Body="&lt;p&gt;You can run a Sitecore search right from the REST Api:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The url would be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://{host}/sitecore/api/ssc/item/?term&amp;amp;pageSize&amp;amp;page&amp;amp;database&amp;amp;language&amp;amp;includeStandardTemplateFields&amp;amp;fields&amp;amp;sorting&amp;amp;facet&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For you the relevant query string variables would be:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;term&lt;/strong&gt;: this is the text to search for - the field that it searches can be defined.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;database&lt;/strong&gt;: self-explanatory&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;fields&lt;/strong&gt;: A comma separated list of fields you want to search&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So as an example you might have:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://{host}/sitecore/api/ssc/item/?term=12345&amp;amp;database=master&amp;amp;fields=ProductId&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The full documentation for running a Sitecore Search is here:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice#_Toc395865048&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice#_Toc395865048&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-08-22T18:44:56.477" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7199" PostTypeId="2" ParentId="7197" CreationDate="2017-08-22T21:18:01.377" Score="3" Body="&lt;p&gt;I had the same issue on my local instance and also when setting up one of our staging environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my local instance, I was using a normal Solr Server. To fix the issue on my local instance, I had to recreate the different solr cores as they were corrupted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the staging server, we were using solr cloud. The issue was due to the wrong setup of a solr server within a cluster.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you have just upgraded the Sitecore instance to 8.2, note that the &lt;code&gt;global.asax&lt;/code&gt; should inherits the &lt;code&gt;Sitecore.Web.Application&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, if the issue still persists, please see the checklist below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that the &lt;code&gt;Sitecore.ContentSearch.SolrProvider.dll&lt;/code&gt; has been updated.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that the &lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt; has been updated and enabled.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Re-creates the solr cores since it may have been corrupted as there has been some changes in the way the cores get rebuild.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that the custom indexes that you have are properly updated.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you are using Solr Cloud, make sure that all the solr instances are up and running and that the load balancer is able to connect to each of them.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Note that if you have Sitecore Patch &lt;code&gt;Sitecore.Support.405677&lt;/code&gt; and &lt;code&gt;z.Sitecore.Support.449298&lt;/code&gt;, those needs to be removed.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-08-23T10:55:19.907" LastActivityDate="2017-08-23T10:55:19.907" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7201" PostTypeId="2" ParentId="7191" CreationDate="2017-08-23T10:51:58.563" Score="1" Body="&lt;p&gt;If the contribution folder is always at the same path and all the sites have access to it, you can easily hard code the path of the container or read it from a custom config file and then search within the container if the item is present. Then you may cache that request for performance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By hard coding, I mean that you can hardcode the parent path only. Then you fetch the item to get the descendants. Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contributionContainer = Factory.GetDatabase(&quot;web&quot;).GetItem(&quot;path to contribution container&quot;, Sitecore.Context.Language);&#xA;&#xA;var contextItem = contributionContainer.Axes.GetDescendants().FirstOrDefault(w =&amp;gt; w.Name.Equals(&quot;your item name from url&quot;) || w.DisplayName.Equals(&quot;your item name from url&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I have pass the language as parameter so that it fetches only items where the context language is available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using solr, you are already improving the performance but you need to make sure that the query you are performing is not resource intensive. You will need to add the Language filter in the query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For performance gain, the flow will be as follows &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Query the index first.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If result is not available/empty/not found, check the cache.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If item is not found from cache, query database.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Once the result is obtained, you need to cache the result so that next time when steps 3 is executed, it will get it from the cache. Make use of server cache instead of Sitecore cache as the Sitecore cache will get cleared after publishing &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-08-23T22:02:56.847" LastActivityDate="2017-08-23T22:02:56.847" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7204" PostTypeId="1" AcceptedAnswerId="7536" CreationDate="2017-08-23T14:49:06.180" Score="1" ViewCount="180" Body="&lt;p&gt;We are using Azure B2C AD integration to our project. As part of this integration all our user's verification would be done using MS Azure interface (using different identities like Facebook, Google, etc)&#xA;To get this working we created a Tenant in Azure portal and within this Tenant we created an App with our policies and attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to create Tenant and App with all my policies and attributes for UAT in the Azure portal. But when i created one more tenant (new one) on the portal again, and when i tried updating the attributes - i am able to update the policies but getting error when i create a custom attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already verified all related permissions and I am Admin user to the azure portal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea of what could be missing on the Production Azure B2C AD which is restricting creation of Custom Attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Attached below is a screen of the error, i am receiving on the portal - &#xA;&lt;a href=&quot;https://i.stack.imgur.com/4f3kD.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4f3kD.jpg&quot; alt=&quot;Azure portal error message&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1339" LastEditorUserId="1339" LastEditDate="2017-08-23T15:14:24.367" LastActivityDate="2017-09-15T12:14:49.780" Title="Unable to create Custom Attributes in Azure B2C AD" Tags="|azure|azure-ad|" AnswerCount="1" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7205" PostTypeId="2" ParentId="6486" CreationDate="2017-08-23T15:49:00.843" Score="28" Body="&lt;p&gt;Since it has been more than a month after you asked this question, you may have already resolved this issue. However I would post the answer here for future reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Short answer is that, &lt;code&gt;Attach&lt;/code&gt; tries to open the 'Upload' dialog box. To resolve the issue, you need to give 'read' access to &lt;code&gt;sitecore/content/Applications/Dialogs/Upload&lt;/code&gt; in the core database.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also written a detailed post about it at &lt;a href=&quot;https://akshaystechdiary.wordpress.com/2017/08/23/access-denied-for-attach-media-item-in-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://akshaystechdiary.wordpress.com/2017/08/23/access-denied-for-attach-media-item-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that my Sitecore version is 8.2 - Update 4. Also, I just have a single site but still encountered the same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="403" LastActivityDate="2017-08-23T15:49:00.843" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7206" PostTypeId="1" CreationDate="2017-08-23T18:32:14.343" Score="5" ViewCount="590" Body="&lt;p&gt;I have a requirement to change the file name of the uploaded file before saving it to the database in a predetermined naming convention &quot;branchname_Formname&quot;. For this I need to know either the form name/form id.&#xA;Sitcore.forms.MVC.ViewModels.Fields.FileUploadField is the class which is getting hit when you click submit. Here there is no property related to Forms. And also unable to fetch it using Sitecore.Context as well.&#xA;Can someone provide me suggestions on how to retrieve the formname and sitename after you submit the form.&lt;/p&gt;&#xA;" OwnerUserId="2345" LastActivityDate="2017-09-23T15:39:24.973" Title="How to get formid/form name and the site name while uploading a file from CD server through WFFM fileupload field" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7209" PostTypeId="2" ParentId="6941" CreationDate="2017-08-23T21:12:15.867" Score="2" Body="&lt;p&gt;EXM uses a double opt-in process, so a contact will not be subscribed to a list before confirming subscription, see &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/subscription_management/configuring/the_exm_double_optin_process&quot; rel=&quot;nofollow noreferrer&quot;&gt;The EXM double opt-in process&lt;/a&gt;. In short:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Contact subscribes to a list using the &lt;a href=&quot;https://doc.sitecore.net/email%20experience%20manager/subscription%20management/the%20exm%20client%20api&quot; rel=&quot;nofollow noreferrer&quot;&gt;EXM ClientAPI&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;An email which contains a link to confirm the subscription, is sent to the contact&lt;/li&gt;&#xA;&lt;li&gt;Contact clicks the link and is added to the list &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;As the contact is being created, and (I'm assuming) you're not seeing any errors, I believe you simply need to confirm the subscription, after which you will see the contact in the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition to this, I recommend that you disable list locking. If you don't, you are very likely to see problems when contacts subscribe/unsubscribe. To do so, you simply need to enable the following configuration file on your CM instance:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;App_Config\Include\ListManagement\Sitecore.ListManagement.DisableListLocking.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More details about list locking can be found in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update2/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes for 8.2 update 2&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-08-23T21:12:15.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7210" PostTypeId="1" AcceptedAnswerId="7231" CreationDate="2017-08-23T22:27:19.083" Score="7" ViewCount="1122" Body="&lt;p&gt;I'm running Sitecore 8.2 update 4 and SXA 1.3 Update 1. I'm trying to get some custom 404 pages working so that my marketing team can enjoy creating their own 404 pages for each of the sites running on the Sitecore server. I've followed the instructions found &lt;a href=&quot;https://gist.github.com/janhebnes/3962756&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;https://laubplusco.net/handling-404-sitecore-avoid-302-redirects/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;, however I'm getting an odd error when I go to a non-existent page.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   Sitecore.XA.Foundation.LocalDatasources.Pipelines.GetXmlBasedLayoutDefinition.ResolveLocalDatasources.Process(GetXmlBasedLayoutDefinitionArgs args) +85&#xA;   (Object , Object[] ) +73&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +478&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +21&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +194&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func`2 resultGetter) +160&#xA;   Sitecore.Mvc.Pipelines.Response.BuildPageDefinition.ProcessXmlBasedLayoutDefinition.AddRenderings(PageDefinition pageDefinition, BuildPageDefinitionArgs args) +237&#xA;   (Object , Object[] ) +73&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +478&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +21&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +194&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func`2 resultGetter) +160&#xA;   Sitecore.Mvc.Presentation.PageContext.GetPageDefinition() +269&#xA;   Sitecore.Mvc.Presentation.PageContext.get_PageDefinition() +30&#xA;   Sitecore.Mvc.Presentation.PageContext.GetPageView() +125&#xA;   Sitecore.Mvc.Presentation.PageContext.get_PageView() +30&#xA;   Sitecore.Mvc.Controllers.SitecoreController.GetDefaultAction() +25&#xA;   lambda_method(Closure , ControllerBase , Object[] ) +89&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've looked all over the internet for an answer for how to setup a custom error page using SXA. If I remove the config file that loads the &lt;code&gt;GetXmlBasedLayoutDefintion&lt;/code&gt; call, then my 404 page handler resolves fine. I'm sure that there is something that I've missed, but I'd love some help.&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="73" LastEditDate="2020-12-03T17:12:20.817" LastActivityDate="2022-04-01T11:50:32.180" Title="How do you write a Custom 404 page that is compatible with SXA?" Tags="|sxa|error-handling|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7211" PostTypeId="1" AcceptedAnswerId="7219" CreationDate="2017-08-23T23:05:38.097" Score="4" ViewCount="227" Body="&lt;p&gt;I have my Recursive Deploy action set to &quot;Delete Sitecore Items not in the project&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my Deployment Property Manager for the project:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/yGWKo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yGWKo.png&quot; alt=&quot;Deployment Property Manager&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The purpose of the project is to remove all publishing targets except the 2 included targets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I deploy the update it successfully adds the two targets in the project, but it does not remove the existing publishing targets that are not in the project. Is there a reason for this? Are publishing targets protected from being deleted by updates?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: Here's the log info from the update:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;6824 17:33:45 INFO  Installing item '/sitecore/system'&#xA;6824 17:33:46 INFO  Installing item '/sitecore/system/Publishing targets'&#xA;6824 17:33:46 INFO  Installing item '/sitecore/system/Publishing targets/Target1'&#xA;6824 17:33:46 INFO  Installing item '/sitecore/system/Publishing targets/Internet'&#xA;6824 17:33:46 INFO  Installing file '_DEV\DeployedItems.xml'&#xA;6824 17:33:46 INFO  Installing file 'bin\HedgehogDevelopment.SitecoreProject.PackageInstallPostProcessor.dll'&#xA;6824 17:33:47 INFO  Committing files.&#xA;6824 17:33:47 INFO  F:\\..\Website\sitecore\admin\Packages\PublishingTargets.update package was installed via SitecoreUpdateService with history path: &#xA;F:\\..\Website\temp\__UpgradeHistory\Upgrade_PublishingTargets_20170823T223345304&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This shows up a bit later in the logs, I manually deleted my test item:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;5756 17:34:08 INFO  AUDIT (sitecore\admin): Recycle item: master:/sitecore/system/Publishing targets/test, language: en, version: 1, id: {EB839CDC-03E9-4DA3-8547-09B091791427}&lt;/blockquote&gt;&#xA;" OwnerUserId="2346" LastEditorUserId="2346" LastEditDate="2017-08-24T14:53:31.430" LastActivityDate="2017-08-24T21:50:23.303" Title="Is it possible to remove publishing targets using TDS?" Tags="|tds|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7212" PostTypeId="2" ParentId="1904" CreationDate="2017-08-24T00:46:28.360" Score="2" Body="&lt;p&gt;I think this is a bug with Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look more closely at their &lt;a href=&quot;https://kb.sitecore.net/articles/820842&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; you can see that in their sample code they have a TryCatch that expects a &lt;strong&gt;NullReferenceException&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        if (this.ShouldAutomaticallyAcceptChanges(notification))&#xA;        {&#xA;            try&#xA;            {&#xA;                notification.Accept(ItemManager.GetItem(notification.Uri.ItemID,&#xA;                notification.Uri.Language, notification.Uri.Version,&#xA;                Database.GetDatabase(notification.Uri.DatabaseName)));&#xA;            }&#xA;            catch (NullReferenceException ex)&#xA;            { }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Interesting that they would put that specific exception as an example... as if they knew ahead of time it's very likely that call to notification.Accept() will throw that type of error. Hate to to say it, as I don't think swallowing that type of exception is a good solution, but it is the only solution for now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing Sheer UI is looking for something inside that Item object you are passing and not finding it. That object is huge so it could be anything. Sitecore needs to fix this issue as it's still present in 8.2 as well.&lt;/p&gt;&#xA;" OwnerUserId="2060" LastActivityDate="2017-08-24T00:46:28.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7213" PostTypeId="2" ParentId="7196" CreationDate="2017-08-24T12:03:02.580" Score="0" Body="&lt;p&gt;We recently contacted support about this subject, and the answer was, it's not officially supported, but it should work:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;According to the mentioned MongoDB compatibility table, Sitecore XP&#xA;  8.2 is compatible with Mongo 3.2.1. &lt;a href=&quot;https://kb.sitecore.net/articles/633863&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/633863&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;However, you can try to use Mongo 3.2.16. Please note that we didn’t&#xA;  test this version with Sitecore XP 8.2 but I don’t see reasons why it&#xA;  shouldn’t work.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We are planning the upgrade, but haven't done it yet.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-24T12:03:02.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7214" PostTypeId="1" CreationDate="2017-08-24T12:21:23.740" Score="4" ViewCount="848" Body="&lt;p&gt;I am looking for some help in figuring out an appropriate approach to this setup.&lt;br&gt;&#xA;I have a Sitecore tree that looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;content&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;settings&lt;/li&gt;&#xA;&lt;li&gt;home&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;potato&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;spud1&lt;/li&gt;&#xA;&lt;li&gt;spud2&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;settings&lt;/code&gt; node has a droplink field that points to the &lt;code&gt;potato&lt;/code&gt; item.  I have a POCO model that roughly looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType( AutoMap=true, TemplateId=&quot;1234...&quot; )]&#xA;public class ModelA {&#xA;   public virtual Guid Id { get; set;}&#xA;   public virtual String Name { get; set; }&#xA;   public virtual ModelB Potato { get; set; }&#xA;}&#xA;&#xA;[SitecoreType( AutoMap=true, TemplateId=&quot;1235...&quot; )]&#xA;public class ModelB {&#xA;   public virtual Guid Id { get; set;}&#xA;   public virtual IEnumerable&amp;lt;Spud&amp;gt; Children { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While the general rendering behaviour of this setup seems fine, we're having some issues trying to get an edit frame where we can add a new &lt;code&gt;spud3&lt;/code&gt; to the list of spuds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The current setup has been centered around:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using( BeginEditFrame( Model, &quot;Title&quot;, m =&amp;gt; m.Potato ) ) {}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but this isn't really doing what we want (haven't got &lt;em&gt;exactly&lt;/em&gt; what it's not doing at hand as I'm posting on behalf of someone, but will update in 12hrs time with additional detail).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming what we're trying to do is reasonable, can anyone spot the issue in the setup above?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've also noticed a (probably known) bug where if the last 2 (supposedly optional) arguments of the &lt;code&gt;BeginEditFrame()&lt;/code&gt; method are omitted a &lt;code&gt;NullReferenceException&lt;/code&gt; is thrown from Sitecore's &lt;code&gt;WebControl::GetItem()&lt;/code&gt;.&lt;br&gt;&#xA;[Note please @MikeEdwards if you're reading this ;)]&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-08-24T13:48:57.843" Title="Glass BeginEditFrame to edit children of a referenced DropLink field" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7215" PostTypeId="2" ParentId="7214" CreationDate="2017-08-24T13:48:57.843" Score="1" Body="&lt;p&gt;Can you change this to use datasources? If you did that then the rendering would point to &lt;code&gt;potato&lt;/code&gt; as its datasource. You would add the &lt;code&gt;Insert&lt;/code&gt; web edit button to your rendering's &lt;code&gt;Experience Editor Buttons&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it isn't possible then try changing your edit frame code to pass in the insert button. You should create a custom folder under &lt;code&gt;/sitecore/content/Applications/WebEdit/Edit Frame Buttons&lt;/code&gt; in core and duplicate the insert button into it (the insert button is located at &lt;code&gt;/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Default/Insert&lt;/code&gt;). Then you would pass in your datasource item and the button folder's id to the edit frame:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@using(Html.BeginEditFrame(Model.Potato.Id, {Your_Custom_Button_Folder}) ) {}&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-08-24T13:48:57.843" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7216" PostTypeId="2" ParentId="7206" CreationDate="2017-08-24T15:23:02.520" Score="3" Body="&lt;p&gt;I had to do something similar to do with this a while ago and had some problems due to the value of &quot;WFM.IsRemoteActions&quot; so make sure you have that set correctly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/5482/reading-a-value-from-an-wffm-upload-file-field&quot;&gt;Reading a value from an WFFM Upload file field&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyway once you have that set correctly your form Id and file upload values should come through correctly so you can create a save action similar to the one I've written for you below to read the values and then hopefully rename them accordingly:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RenameAttachment : SendMessage&#xA;{&#xA;    public RenameAttachment(ISettings settings, IMailSender mailSender) : base(settings, mailSender)&#xA;    {&#xA;        Assert.IsNotNull((object)settings, &quot;settings&quot;);&#xA;        Assert.IsNotNull((object)mailSender, &quot;mailSender&quot;);&#xA;        this.mailSender = mailSender;&#xA;        this.emailAttributes = (IEmailAttributes)new EmailAttributes(settings.EmailFromAddress, settings.MailServer, settings.MailServerUserName, settings.MailServerPassword, settings.MailServerPort);&#xA;    }&#xA;&#xA;    public override void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;    {&#xA;        try&#xA;        {&#xA;            ProcessMessageArgs processMessageArgs = new ProcessMessageArgs(formId, adaptedFields, this.MessageType, this);&#xA;&#xA;            processMessageArgs.Recipient = this.Recipient;&#xA;            processMessageArgs.RecipientGateway = this.RecipientGateway;&#xA;            processMessageArgs.IsBodyHtml = this.IsBodyHtml;&#xA;&#xA;            List&amp;lt;Attachment&amp;gt; attachments = RetrieveAttachments(formId, adaptedFields);&#xA;&#xA;            //loop attachments here and rename file using with formId above&#xA;&#xA;            processMessageArgs.Attachments.AddRange(attachments);&#xA;&#xA;            CorePipeline.Run(&quot;processMessage&quot;, (PipelineArgs) processMessageArgs);&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(&quot;Error with RenameAttachment WFFM save action&quot;, ex, this);&#xA;            throw ex;&#xA;        }&#xA;    }&#xA;&#xA;    private List&amp;lt;Attachment&amp;gt; RetrieveAttachments(ID formId, IEnumerable&amp;lt;AdaptedControlResult&amp;gt; fields)&#xA;    {&#xA;        var attachments = new List&amp;lt;Attachment&amp;gt;();&#xA;        Item item = Sc.Context.Database.Items[formId];&#xA;        if (item != null)&#xA;        {&#xA;            var mediaItemIds = new List&amp;lt;string&amp;gt;();&#xA;            var formItem = new FormItem(item);&#xA;&#xA;            foreach (AdaptedControlResult field in fields)&#xA;            {&#xA;                GetMediaIds(formItem, field, mediaItemIds);&#xA;            }&#xA;&#xA;            GetAttachmentsFromMediaItems(mediaItemIds, attachments);&#xA;        }&#xA;&#xA;        return attachments;&#xA;    }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm assuming Sitecore 8.x here by the way as a number of things changed in WFFM since 8.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-08-24T15:23:02.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7217" PostTypeId="2" ParentId="5329" CreationDate="2017-08-24T15:33:01.157" Score="1" Body="&lt;p&gt;@Marek's answer was helpful but it took me a while to figure out which item to set the sort order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to the &lt;code&gt;Template&lt;/code&gt; that you have used for your &lt;code&gt;Rendering&lt;/code&gt;. In that template, select the &lt;code&gt;section title item&lt;/code&gt; and then set the sort under.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lISdY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lISdY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-08-24T15:33:01.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7218" PostTypeId="2" ParentId="7196" CreationDate="2017-08-24T19:37:46.550" Score="7" Body="&lt;p&gt;I'll use some common sense from another post that I saw &lt;a href=&quot;https://sitecore.stackexchange.com&quot;&gt;here&lt;/a&gt; that was about &lt;a href=&quot;https://sitecore.stackexchange.com/questions/7128/sitecore-8-2-does-not-officially-support-windows-server-2016-but-is-it-compatibl&quot;&gt;Sitecore 8.2 does not officially support Windows Server 2016 but is it compatible in reality and will it work in production?&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using &lt;a href=&quot;https://sitecore.stackexchange.com/users/73/mark-cassidy&quot;&gt;Mark Cassidy&lt;/a&gt; words&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;It comes down to support&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Based on that, I don't think Sitecore wouldn't work with MongoDB 3.2.n - &lt;code&gt;where n goes from 1 to 16&lt;/code&gt; - and you shouldn't face any major issues in doing so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you ended up facing issues Sitecore support will not be able to help you because accordingly to their &lt;a href=&quot;https://kb.sitecore.net/articles/633863&quot; rel=&quot;noreferrer&quot;&gt;compatible table&lt;/a&gt; Sitecore 8.2 only supports the following MongoDB version&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Mongo 2.6 mmapv1&lt;/li&gt;&#xA;&lt;li&gt;Mongo 3.0 mmapv1&lt;/li&gt;&#xA;&lt;li&gt;Mongo 3.0 Wired Tiger&lt;/li&gt;&#xA;&lt;li&gt;Mongo 3.2.1 mmapv1&lt;/li&gt;&#xA;&lt;li&gt;Mongo 3.2.1 Wired Tiger&lt;/li&gt;&#xA;&lt;li&gt;Mongo 3.2.1 Enterprise with data-at-rest encryption (Wired Tiger only)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So, until Sitecore update their compatibility table you cannot blame Sitecore over stuff that they do not support yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I truly believe that you should be fine doing it but keep the above in mind.&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-08-24T19:37:46.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7219" PostTypeId="2" ParentId="7211" CreationDate="2017-08-24T21:50:23.303" Score="2" Body="&lt;p&gt;Solved. The issue was I was running the update package through a bit of server code, rather than running a TDS sync in Visual Studio. The code being executed was:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;UpdateHelper.Install(info, installationProcessLogger, out historyPath);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, this does not execute post installation instructions that TDS uses to allow for field level deployments and child tree syncs. I added this code to fix my issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;MetadataView metadata = UpdateHelper.LoadMetadata(packagePath);&#xA;DiffInstaller diffInstaller = new DiffInstaller(UpgradeAction.Upgrade);&#xA;diffInstaller.ExecutePostInstallationInstructions(packagePath, historyPath, InstallMode.Install, metadata, installationProcessLogger, ref entries);&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2346" LastActivityDate="2017-08-24T21:50:23.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7220" PostTypeId="1" AcceptedAnswerId="7230" CreationDate="2017-08-25T00:23:33.167" Score="3" ViewCount="1011" Body="&lt;p&gt;I have the following scenario on Sitecore 8.2 (MVC Project)&#xA;I have a scaled Sitecore (CM/CD), and after the user hits a page on CD Server, it needs to update a Sitecore Item, that contains a field called &lt;code&gt;Counter&lt;/code&gt; and this must be republished as well, triggered by the code, at the same time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know it's possible to perform this operation using Javascript (&lt;code&gt;Sitecore Services Client&lt;/code&gt;), but I'm afraid of using that due to Security. Which would be the best approach to perform that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that, I cannot use &lt;code&gt;.GetDatabase(&quot;Master&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank You&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="172" LastEditDate="2017-08-25T02:39:13.633" LastActivityDate="2017-08-25T16:49:06.767" Title="How to programmatically update item on master database from Content Delivery MVC Sitecore 8" Tags="|mvc|sitecore-services-client|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="7221" PostTypeId="1" CreationDate="2017-08-25T10:39:10.983" Score="2" ViewCount="77" Body="&lt;p&gt;We are two developers working together on a Sitecore project, based on Habitat. I'm using VS 2017, while my colleague is using VS 2015. Our computers are roughly the same, with mine having more memory and more hard disk. Other than that, hardware specs are pretty much identical.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the &quot;publish all projects&quot; task in taskrunner, it takes north of 8 minutes to complete (~50 projects now). When he runs the same, it takes him about 2.5 minutes to complete. The difference is huge and consistent. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing here? I don't want to downgrade to VS 2015. Is there something that I could do to reduce the time it takes to build/publish?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards,&#xA;Yiannis&lt;/p&gt;&#xA;" OwnerUserId="2348" LastEditorUserId="1000" LastEditDate="2017-08-25T15:46:16.607" LastActivityDate="2017-08-25T15:46:16.607" Title="Publish performance for Habitat VS 2017 and VS 2015" Tags="|habitat|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="7222" PostTypeId="1" AcceptedAnswerId="7242" CreationDate="2017-08-25T10:45:39.680" Score="7" ViewCount="1253" Body="&lt;p&gt;Some how, the local &quot;Data&quot; folder (the one from SXA), underneath a page, is not displayed for content editors in the Content Editor:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eeFji.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eeFji.png&quot; alt=&quot;Screenshot from content editors perspective&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While an admin is able to see it in the Content Editor:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/tKpZt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tKpZt.png&quot; alt=&quot;Screenshot from admin perspective&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the access viewer the content editor should be able to see it:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/tnpPS.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tnpPS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a &quot;feature&quot; of the SXA local &quot;Data&quot; folder, to prevent users from editing it in the content editor because they should use the Experience Editor?&lt;/p&gt;&#xA;" OwnerUserId="2234" LastActivityDate="2017-08-28T10:39:08.540" Title="SXA's Local &quot;Data&quot; datasource folder not displayed in the Content Editor for content editors" Tags="|sxa|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7223" PostTypeId="1" AcceptedAnswerId="7224" CreationDate="2017-08-25T11:27:54.387" Score="3" ViewCount="70" Body="&lt;p&gt;I have used this module &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_CDN_Connector.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore CDN Connector&lt;/a&gt; before and now updated it for Sitecore 8.1 and 8.2 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I upload the new package to the marketplace? Do I need to add this as a new module?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, it's better to update the existing one. Is there a way to do that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: I am not the author of the original module.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2017-08-25T11:34:56.293" LastActivityDate="2017-08-25T11:50:06.640" Title="How can I contribute to existing marketplace module" Tags="|module|sitecore-marketplace|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7224" PostTypeId="2" ParentId="7223" CreationDate="2017-08-25T11:50:06.640" Score="7" Body="&lt;p&gt;You can't directly update someone else's package. You need to be added as a contributor to that package. I would follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update source and create a pull request&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As you have found, the source for the project is on &lt;a href=&quot;https://github.com/NTTDATA/SitecoreCDN&quot; rel=&quot;noreferrer&quot;&gt;GitHub&lt;/a&gt;. You can update that and make a pull request. At the same time you can request the author update the package on the marketplace.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Locate the author on Sitecore Slack&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The package says that NTT Data in the author of the package with a single checkin by Anton Setiadi. Using &lt;a href=&quot;https://www.akshaysura.com/2015/10/27/how-to-join-sitecore-slack-community-chat/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Slack&lt;/a&gt; you can reach out to the authors and ask to be added as a contributor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;With quick scan of Linked In, I have found several users that work at NTT and also are on Sitecore Slack. You just need to locate the original author and then get authorized to update it.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-08-25T11:50:06.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7225" PostTypeId="1" AcceptedAnswerId="7235" CreationDate="2017-08-25T12:18:52.500" Score="6" ViewCount="471" Body="&lt;p&gt;I'm setting up some local development tests to properly validate the functionality of AB Page- and Component tests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using the /admin/kill.aspx page to succesfully kill a session. I can see data in the Mongo after visiting that page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I want to force the reporting screen to update as soon as possible. Like this one:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MxwDV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MxwDV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Does anyone have an idea which timeout value and in which config file I must make the necessary changes?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version 8.2 Update 3&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="483" LastEditDate="2017-08-25T12:34:38.837" LastActivityDate="2017-08-27T18:23:44.643" Title="How to visualize the results from A/B testing as soon as possible in the reporting?" Tags="|personalization|reporting|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7226" PostTypeId="2" ParentId="7222" CreationDate="2017-08-25T12:38:27.763" Score="0" Body="&lt;p&gt;While trying to configure security for the users of our system, I found that I needed to grant access to the template used for the &lt;em&gt;Data&lt;/em&gt; item; which I believe is a &lt;em&gt;Virtual Page Data&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following applies security changes to the Data folders.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# This is a helper method to simplify the changes.&#xA;function New-AccessRuleList {&#xA;    [CmdletBinding()]&#xA;    [OutputType(&quot;System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]&quot;)]&#xA;    param(&#xA;        [string]$Identity,&#xA;        [string[]]$AccessRule,&#xA;        [Sitecore.Security.AccessControl.PropagationType]$PropagationType,&#xA;        [Sitecore.Security.AccessControl.SecurityPermission]$SecurityPermission&#xA;    )&#xA;&#xA;    $list = New-Object &quot;System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]&quot;&#xA;    foreach($rule in $accessrule) {&#xA;        $list.Add((New-ItemAcl -Identity $Identity -AccessRight $rule -PropagationType $PropagationType -SecurityPermission $SecurityPermission))&#xA;    }&#xA;&#xA;    @(,$list)&#xA;}&#xA;&#xA;$allowItemProps = @{&#xA;    PropagationType = [Sitecore.Security.AccessControl.PropagationType]::Entity&#xA;    SecurityPermission = [Sitecore.Security.AccessControl.SecurityPermission]::AllowAccess&#xA;}&#xA;&#xA;$realEveryone = &quot;\Everyone&quot;&#xA;$virtualDataItem = Get-Item -Path &quot;master:&quot; -ID &quot;{9700DC24-8969-4638-ACC3-34D54335829E}&quot;&#xA;$accessRules = New-Object Sitecore.Security.AccessControl.AccessRuleCollection&#xA;$accessRules.AddRange((New-AccessRuleList -Identity $realEveryone -AccessRule item:create @allowItemProps))&#xA;$virtualDataItem | Add-ItemAcl -AccessRules $accessRules&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The final results:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FZLZd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FZLZd.png&quot; alt=&quot;Security Settings On Item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-08-25T14:10:38.713" LastActivityDate="2017-08-25T14:10:38.713" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7227" PostTypeId="2" ParentId="3926" CreationDate="2017-08-25T13:51:42.890" Score="2" Body="&lt;p&gt;To me this makes sense as a default behavior for Glass (as seen &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/DataMappers/SitecoreFieldTypeMapper.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;)... if an item is loaded in a language, traversing other content off that item should be in the same language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is why &lt;a href=&quot;https://cardinalcore.co.uk/2014/08/06/glass-mapper-introducing-glass-maps/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Glass Maps and delegates&lt;/a&gt; are great, imho, because you can easily override these behaviors or otherwise introduce your own mapping logic.&#xA;For example, assuming that &lt;code&gt;Config&lt;/code&gt; is your configuration (in English) and &lt;code&gt;ConfigReference&lt;/code&gt; is the type you want to retrieve from the &lt;code&gt;Config Reference&lt;/code&gt; field (in the context language):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;    public class ConfigGlassMap : SitecoreGlassMap&amp;lt;Config&amp;gt;&#xA;    {&#xA;        public override void Configure()&#xA;        {&#xA;            Map(config =&amp;gt;&#xA;            {&#xA;                config.Delegate(x =&amp;gt; x.ConfigReference).GetValue(context =&amp;gt;&#xA;                    context.Service.GetItem&amp;lt;ConfigReference&amp;gt;(Guid.Parse(context.Item[&quot;Config Reference&quot;]), Sitecore.Context.Language));&#xA;            });&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2017-08-25T16:15:25.517" LastActivityDate="2017-08-25T16:15:25.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7228" PostTypeId="2" ParentId="7220" CreationDate="2017-08-25T15:28:44.173" Score="0" Body="&lt;p&gt;&lt;strong&gt;If you have xdb enabled see Adam Seabridge's post&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think I would keep this data in a separate sql table. Sql has an atomic increment operation which is something you'll want for this. You also probably don't want that field to be editable in any way by a content editor. Then you would be dealing with a connection string to decide where to pull/write the data based on the environment. I do generally try to avoid a custom db outside of Sitecore but I'm not seeing a great alternative.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I know there is no atomic increment option for a Sitecore field. You might be able to get away with a custom api using a field if you lock before reading the number of times a donation happened and then update it but it just seems like a lot of hoops to go through to edit the master db to then publish that up to the web db. Putting this in a field would also give me cause to pause when it comes to anything that would by default update the master db (submitting a test donation while previewing the page).&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-08-25T16:49:06.767" LastActivityDate="2017-08-25T16:49:06.767" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7229" PostTypeId="2" ParentId="6952" CreationDate="2017-08-25T15:43:05.117" Score="1" Body="&lt;p&gt;After decompiling the Sitecore DLLs I found that I had to override the GetModel() function to ensure the view was receiving the custom model. I ended up removing the CallToActionWithImageBackground project from my original question so here is another example project named IconListItem that is working in my environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IconListItem.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;ioc&amp;gt;&#xA;                &amp;lt;processor type=&quot;Company.Feature.IconListItem.Configurator.IconListItemConfigurator, Company.Feature.IconListItem&quot; /&amp;gt;&#xA;            &amp;lt;/ioc&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IconListItemConfigurator.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Company.Feature.IconListItem.Repositories;&#xA;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.XA.Foundation.IOC.Pipelines.IOC;&#xA;&#xA;namespace Company.Feature.IconListItem.Configurator&#xA;{&#xA;    public class IconListItemConfigurator : IocProcessor&#xA;    {&#xA;        public override void Process(IocArgs args)&#xA;        {&#xA;            args.ServiceCollection.AddTransient&amp;lt;IIconListItemRepository, IconListItemRepository&amp;gt;();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IconListItemController.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Company.Feature.IconListItem.Models;&#xA;using Company.Feature.IconListItem.Repositories;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Controllers;&#xA;&#xA;namespace Company.Feature.IconListItem.Controllers&#xA;{&#xA;    public class IconListItemController : VariantsController&#xA;    {&#xA;&#xA;        private readonly IIconListItemRepository _repository;&#xA;&#xA;        public IconListItemController(IIconListItemRepository repository)&#xA;        {&#xA;            this._repository = repository;&#xA;        }&#xA;&#xA;        protected override object GetModel()&#xA;        {&#xA;            var model = _repository.GetModel&amp;lt;IconListItemModel&amp;gt;(new IconListItemModel());&#xA;            return model;&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IconListItemModel.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.Variants.Abstractions.Models;&#xA;&#xA;namespace Company.Feature.IconListItem.Models&#xA;{&#xA;    public class IconListItemModel : VariantsRenderingModel&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IconListItemRepository.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.Mvc.Repositories.Base;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Repositories;&#xA;&#xA;namespace Company.Feature.IconListItem.Repositories&#xA;{&#xA;    public class IconListItemRepository : VariantsRepository, IIconListItemRepository&#xA;    {&#xA;&#xA;        public T GetModel&amp;lt;T&amp;gt;(object model) where T : IRenderingModelBase&#xA;        {&#xA;            FillBaseProperties(model);&#xA;            return (T)model;&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IIconListItemRepository.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.Mvc.Repositories.Base;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Repositories;&#xA;&#xA;namespace Company.Feature.IconListItem.Repositories&#xA;{&#xA;    public interface IIconListItemRepository : IVariantsRepository&#xA;    {&#xA;        T GetModel&amp;lt;T&amp;gt;(object model) where T : IRenderingModelBase;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Icon List Item.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.XA.Foundation.MarkupDecorator.Extensions&#xA;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@using Sitecore.XA.Foundation.MarkupDecorator.Extensions&#xA;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;&#xA;@model Company.Feature.IconListItem.Models.IconListItemModel&#xA;&#xA;@if (Model.DataSourceItem != null || Html.Sxa().IsEdit)&#xA;{&#xA;    &amp;lt;div @Html.Sxa().Component(&quot;company-icon-list-item-component&quot;, Model.Attributes)&amp;gt;&#xA;        &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;company-icon-list-item-image&quot;&amp;gt;@Html.Sxa().Field(Company.Feature.IconListItem.Templates.IconListItem.Content.Fields.Image)&amp;lt;/div&amp;gt;&#xA;            &amp;lt;h5 class=&quot;company-icon-list-item-title&quot;&amp;gt;@Html.Sxa().Field(Company.Feature.IconListItem.Templates.IconListItem.Content.Fields.Title)&amp;lt;/h5&amp;gt;&#xA;            &amp;lt;p class=&quot;company-icon-list-item-content&quot;&amp;gt;@Html.Sxa().Field(Company.Feature.IconListItem.Templates.IconListItem.Content.Fields.Content)&amp;lt;/p&amp;gt;&#xA;            &amp;lt;div class=&quot;company-icon-list-item-link&quot;&amp;gt;&#xA;                @Html.Sxa().Field(Company.Feature.IconListItem.Templates.IconListItem.Content.Fields.Link)&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Templates.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Company.Feature.IconListItem&#xA;{&#xA;    using Sitecore.Data;&#xA;&#xA;    public struct Templates&#xA;    {&#xA;        public struct IconListItem&#xA;        {&#xA;            public static readonly ID ID = new ID(&quot;{FAKEGUID-0000-0000-0000-000000000000}&quot;);&#xA;&#xA;            public struct Content&#xA;            {&#xA;                public static readonly ID ID = new ID(&quot;{FAKEGUID-0000-0000-0000-000000000000}&quot;);&#xA;&#xA;                public struct Fields&#xA;                {&#xA;                    public static readonly ID Image = new ID(&quot;{FAKEGUID-0000-0000-0000-000000000000}&quot;);&#xA;&#xA;                    public static readonly ID Title = new ID(&quot;{FAKEGUID-0000-0000-0000-000000000000}&quot;);&#xA;                    public const string Title_FieldName = &quot;Title&quot;;&#xA;&#xA;                    public static readonly ID Content = new ID(&quot;{FAKEGUID-0000-0000-0000-000000000000}&quot;);&#xA;                    public const string Content_FieldName = &quot;Content&quot;;&#xA;&#xA;                    public static readonly ID Link = new ID(&quot;{FAKEGUID-0000-0000-0000-000000000000}&quot;);&#xA;                    public const string Link_FieldName = &quot;Link&quot;;&#xA;&#xA;                }&#xA;            }&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KKjly.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KKjly.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/b3Cj8.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b3Cj8.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/W8xcM.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W8xcM.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2Zaor.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2Zaor.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vHKlT.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vHKlT.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2054" LastActivityDate="2017-08-25T15:43:05.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7230" PostTypeId="2" ParentId="7220" CreationDate="2017-08-25T16:25:41.117" Score="6" Body="&lt;p&gt;Assuming you have xDB enabled you could perhaps use MongoDB to store your data instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There look to be a few approaches for doing this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1) custom page events:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This looks like your best bet, Here are Sitecore's official docs for this:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/events/register_a_page_event_programmatically&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/marketing_operations/events/register_a_page_event_programmatically&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then do something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MyPageDataService service = new MyPageDataService();&#xA;service.MyPageDataService(&quot;Goal&quot;, &quot;Donated&quot;, &quot;£100&quot;, string.Empty);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Some examples from around the web of doing this:&#xA;&lt;a href=&quot;https://pramisoni.wordpress.com/2017/02/27/sitecore-analytics-tracking-on-click-of-events/&quot; rel=&quot;noreferrer&quot;&gt;https://pramisoni.wordpress.com/2017/02/27/sitecore-analytics-tracking-on-click-of-events/&lt;/a&gt;&#xA;&lt;a href=&quot;https://developers.coveo.com/display/public/SitecoreV3/Handling+Custom+Events;jsessionid=A59AE33C36B1AB36ED6906785D67547C&quot; rel=&quot;noreferrer&quot;&gt;https://developers.coveo.com/display/public/SitecoreV3/Handling+Custom+Events;jsessionid=A59AE33C36B1AB36ED6906785D67547C&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2015/10/07/sitecore-register-page-events/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2015/10/07/sitecore-register-page-events/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2) a page aggregation table:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This looks more complex to do:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_creating_a_rate_page_custom_aggregation&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/server_considerations/walkthrough_creating_a_rate_page_custom_aggregation&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-08-25T16:25:41.117" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7231" PostTypeId="2" ParentId="7210" CreationDate="2017-08-25T19:25:24.533" Score="9" Body="&lt;p&gt;Since you are using SXA, the module provides OOTB error handling settings which allow you to set site specific 404 and 500 pages. I couldn't find any linked documention on the Sitecore site but you can set the error pages on the &lt;code&gt;/{tenant/{site}/Settings&lt;/code&gt; Item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TO8J8.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TO8J8.png&quot; alt=&quot;SXA Error Handling&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These settings are added when you create the tenant, make sure you have selected &lt;code&gt;Error Handling&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rfZF3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rfZF3.png&quot; alt=&quot;SXA Create Tenant&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have already created the tenant/site but did not select the option then ensure &lt;code&gt;/sitecore/templates/Project/{tenant}/Settings&lt;/code&gt; inherits from &lt;code&gt;/sitecore/templates/Feature/Experience Accelerator/Error Handling/_Error Handling&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-08-25T19:25:24.533" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7232" PostTypeId="2" ParentId="6757" CreationDate="2017-08-26T15:39:27.350" Score="2" Body="&lt;p&gt;In addition to &lt;a href=&quot;https://sitecore.stackexchange.com/a/6761/1282&quot;&gt;Diegos answer&lt;/a&gt;, I would like to mention the &quot;LinqScratchPad.aspx&quot;, that &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-linqscratchpad&quot; rel=&quot;nofollow noreferrer&quot;&gt;ships with Sitecore 7 and above&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find in under &lt;code&gt;http://yourdomain.com/sitecore/admin/LinqScratchPad.aspx&lt;/code&gt;.&#xA;You can use it to query your indexes by writing C# code.&#xA;The following code is based on the sample code, that comes with the page, that should show all items with a specific path. If the result does not list your item, it's not part of the index.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/* &#xA;    keep the standard usings, &#xA;    that comes with the sample code,&#xA;    to make this code work &#xA;*/&#xA;namespace Test &#xA;{&#xA;    class Program &#xA;    {&#xA;        public static IEnumerable&amp;lt;SearchResultItem&amp;gt; Main(string str)&#xA;        {&#xA;            using (var context = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;).CreateSearchContext())&#xA;            {&#xA;                return context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                  .Where(n=&amp;gt;n.Path==&quot;/path/to/your/item&quot;).ToList();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I thought it's good to have a tool mentioned here, that comes out-of-the-box with Sitecore. There are environments where you have a hard time installing third-party software.&lt;/p&gt;&#xA;" OwnerUserId="1282" LastActivityDate="2017-08-26T15:39:27.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7233" PostTypeId="2" ParentId="5486" CreationDate="2017-08-26T23:19:58.070" Score="3" Body="&lt;p&gt;In addition to what you have done you can do the following using a role:&lt;/p&gt;&#xA;&lt;p&gt;In the master database deny field read and write access to &lt;code&gt;/sitecore/templates/System/Templates/Sections/Layout/Layout/__Renderings&lt;/code&gt;. This will keep the user from being able to manually edit the shared field. This is not necessary is you already deny access to view standard fields in any way.&lt;/p&gt;&#xA;&lt;p&gt;After doing that you will need to go to the file &lt;code&gt;webroot/sitecore/shell/Applications/Content Manager/Dialogs/LayoutDetails/LayoutDetails.xml&lt;/code&gt; and change the &lt;code&gt;CodeBeside&lt;/code&gt; to point to a custom class that inherits from &lt;code&gt;Sitecore.Shell.Applications.ContentManager.Dialogs.LayoutDetails.LayoutDetailsForm&lt;/code&gt;. Here is an something you could use:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Shell.Applications.ContentManager.Dialogs.LayoutDetails;&#xA;using System;&#xA;&#xA;namespace MyProject.Common&#xA;{&#xA;    public class CustomLayoutDetailsForm : LayoutDetailsForm&#xA;    {&#xA;        private const string DenySharedLayoutViewRole = &amp;quot;{YOUR_ROLE}&amp;quot;;&#xA;&#xA;        protected override void OnLoad(EventArgs e)&#xA;        {&#xA;            if (Sitecore.Context.User.IsInRole(DenySharedLayoutViewRole))&#xA;            {&#xA;                SharedLayoutTab.Active = false;&#xA;                FinalLayoutTab.Active = true;&#xA;                Tabs.Active = (int)TabType.Final;&#xA;&#xA;                SharedLayoutTab.Visible = false;&#xA;            }&#xA;&#xA;            base.OnLoad(e);&#xA;        }&#xA;&#xA;        //Had to add this because the base TabType enum the base&#xA;        //type uses is private. You can just use a number if you&#xA;        //really wanted to where I use this if you are worried &#xA;        //someone will see that Shared/Unknown aren't used and&#xA;        //remove them&#xA;        private enum TabType&#xA;        {&#xA;            Shared,&#xA;            Final,&#xA;            Unknown,&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You would copy in your role with its domain where I put &lt;code&gt;{YOUR_ROLE}&lt;/code&gt;. You could put the role in a config file. If you need multiple roles to do this make a base role to deny access to the shared layout and have those inherit that.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2023-05-07T18:41:51.583" LastActivityDate="2023-05-07T18:41:51.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7235" PostTypeId="2" ParentId="7225" CreationDate="2017-08-27T18:23:44.643" Score="4" Body="&lt;p&gt;These reports are made from the aggregated xdb data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can tweak the aggregation and processing intervals to make sure your data is put to the reporting database more frequently. You need to alter the following setting value for aggregation agents: &lt;code&gt;&amp;lt;Interval&amp;gt;0.00:00:15&amp;lt;/Interval&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer to this guideline from official Sitecore documentation: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_agreggation_agents&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_agreggation_agents&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, do note that the more frequently it runs, the bigger is the performance impact (and even more on high load solutions)&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-08-27T18:23:44.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7236" PostTypeId="2" ParentId="7192" CreationDate="2017-08-28T00:41:44.177" Score="1" Body="&lt;p&gt;So after a few painful tries and experiments, discovered that what is missing in all the API examples i can see is the most important and obvious word &quot;Search&quot; so the URL Should be &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://{host}/sitecore/api/ssc/item/search?term=12345&amp;amp;database=master&amp;amp;fields=ProductId&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also a few more pointers , i think for custom fields you will need an index set with those fields otherwise it will only search the standard sitecore fields. As for the standard field like ItemName can only do a full term search e.g. cant do a partial search for the term &quot;the&quot; in &quot;climbing the roof&quot; it would have to be the full term &quot;climbing the roof&quot;.&lt;/p&gt;&#xA;" OwnerUserId="2338" LastActivityDate="2017-08-28T00:41:44.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7237" PostTypeId="1" CreationDate="2017-08-28T04:34:48.613" Score="0" ViewCount="854" Body="&lt;p&gt;I would like to implement custom logging in my sc8.2u4 instance.  The patch config has this code. When I browse CMS it gives the error - &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find configuration node: watchers/media/folder&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I did not add any settings in the &lt;code&gt;web.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;log4net&amp;gt;&#xA;      &amp;lt;appender name=&quot;MySiteCustomLoggerAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;        &amp;lt;file value=&quot;$(dataFolder)/logs/MySite.{date}.txt&quot;/&amp;gt; &#xA;        &amp;lt;appendToFile value=&quot;true&quot;/&amp;gt; &#xA;        &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;          &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot;/&amp;gt; &#xA;        &amp;lt;/layout&amp;gt; &#xA;        &amp;lt;encoding value=&quot;utf-8&quot;/&amp;gt;              &#xA;      &amp;lt;/appender&amp;gt; &#xA;        &#xA;      &amp;lt;logger name=&quot;MySite.Foundation.Common.Utilities.BBLCustomLogger&quot; additivity=&quot;false&quot;&amp;gt;&#xA;        &amp;lt;level value=&quot;INFO&quot;/&amp;gt; &#xA;        &amp;lt;appender-ref ref=&quot;MySiteCustomLoggerAppender&quot;/&amp;gt;              &#xA;      &amp;lt;/logger&amp;gt; &#xA;    &amp;lt;/log4net&amp;gt; &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For another instance which had sc8.0, I added the &lt;code&gt;appender&lt;/code&gt; &amp;amp; &lt;code&gt;logger&lt;/code&gt; settings in &lt;code&gt;web.config&lt;/code&gt;.  But for 8.2, we can do it from the patch configs. Is that correct?&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-08-28T15:07:51.993" Title="Custom logging in Sitecore 8.2 update 4" Tags="|logging|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7240" PostTypeId="1" CreationDate="2017-08-28T07:45:36.123" Score="3" ViewCount="306" Body="&lt;p&gt;I would like to have a sitecore task to run differently depending on the current site.&#xA;My task is scheduled to run every 24h to regenerate the sitemap.xml file. Im working on a multisite environement where I have different domains :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;DOMAIN.com &lt;/li&gt;&#xA;&lt;li&gt;fr.DOMAIN.com &lt;/li&gt;&#xA;&lt;li&gt;cn.DOMAIN.com&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The problem is, when I launch my task from cn.DOMAIN.com, the &lt;code&gt;Sitecore.Context&lt;/code&gt; is not set to my CN site, the language is not and even when using &lt;code&gt;Sitecore.Globals.ServerUrl&lt;/code&gt; Im getting the base website url (DOMAIN.com) instead of the CN one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My goal is to get the domain or the language of the site, FR for fr.DOMAIN.com or CN for cn.DOMAIN.com, to generate my sitemap.xml for each of my website in the correct language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any tips ?&lt;/p&gt;&#xA;" OwnerUserId="2146" LastActivityDate="2017-08-29T13:33:08.887" Title="Execute a site dependent sitecore task" Tags="|multilingual|multisite|scheduled-tasks|sitemap|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7242" PostTypeId="2" ParentId="7222" CreationDate="2017-08-28T10:39:08.540" Score="9" Body="&lt;p&gt;The local &lt;code&gt;Data&lt;/code&gt; folder in SXA is usually hidden.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check for the other users in the &lt;code&gt;View&lt;/code&gt; ribbon tab, if &lt;code&gt;Hidden items&lt;/code&gt; checkbox is checked:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TXW6d.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TXW6d.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-08-28T10:39:08.540" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7244" PostTypeId="2" ParentId="7237" CreationDate="2017-08-28T12:57:19.140" Score="3" Body="&lt;p&gt;The configuration error that you're reporting looks unrelated to your patch config. The &lt;code&gt;watchers/media/folder&lt;/code&gt; node should be defined in your &lt;code&gt;App_Config/Sitecore.config&lt;/code&gt; file by default. Open up that file and make sure that the node is in there. Since the path &lt;code&gt;watchers/media/folder&lt;/code&gt; is XPath, you're going to need to look for a structure similar to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;watchers&amp;gt;&#xA;  &amp;lt;media&amp;gt;&#xA;    &amp;lt;folder&amp;gt;&#xA;      ...&#xA;    &amp;lt;/folder&amp;gt;&#xA;  &amp;lt;/media&amp;gt;&#xA;&amp;lt;watchers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If this structure is found in your Sitecore.config and you don't see anything wrong with it (missing/mismatched closings, syntax errors, etc.) then first try removing all of your other custom patch configs and see if the error is fixed. If so, add them back one-by-one to identify the patch that is breaking your solution. If not, try replacing your Sitecore.config with one from a clean download of Sitecore 8.2 update 4.&lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-08-28T12:57:19.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7245" PostTypeId="1" CreationDate="2017-08-28T13:08:09.347" Score="3" ViewCount="254" Body="&lt;p&gt;We are having contactIDs with their an email address, but for specific engagement plans we have for the same user a different email address. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we define which mail to use when sending out. Today the fallback is always up to the default mail address in the xdb, but if we start building a preference center with multiple selections/categories and email addresses this is not working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also we need to capture all the optins and optouts for the different selections/Categories linked to their email address. the only solution we see now is to create a new ContactID in the xdb but than we loose the full power of the 1 view on a contact. &lt;/p&gt;&#xA;" OwnerUserId="2351" LastActivityDate="2017-10-18T21:17:23.603" Title="EXM using different emails but only have 1 contactID in xdb" Tags="|xdb|exm|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7246" PostTypeId="1" AcceptedAnswerId="7250" CreationDate="2017-08-28T13:23:12.283" Score="1" ViewCount="552" Body="&lt;p&gt;This is an oddball, but I'm curious if anyone else ran into this. When we installed Sitecore, we used a name that we didn't want to at the end of the day. We went through and stopped the site and app pool, then did a rename on the site, app pool, folder, etc, then started back up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As soon as we hit Sitecore, we noticed the memory usage of the IIS worker process spike to 99% almost immediately, just trying to hit the admin login page. We reversed out the changes and things returned to normal, then tried reintroducing them one at a time, and the one change that caused the issue was renaming the IIS site. If it stayed on the original name, no problem, but change it to anything else and the memory spiked and held.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else seen this and know what might cause it?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-08-28T19:49:29.813" Title="Renaming Sitecore IIS site causes memory leak?" Tags="|iis|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7247" PostTypeId="2" ParentId="7245" CreationDate="2017-08-28T13:32:26.217" Score="0" Body="&lt;p&gt;If I am understanding your question correctly, you have added the ability for users to provide more than one email address. The user may be the same, but they may prefer emails for some things to go to &lt;em&gt;Email Address A&lt;/em&gt; and other things to go to &lt;em&gt;Email Address B&lt;/em&gt;. If this is the case, then you need to find a different way to identify contacts, other than by their email addresses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look at it this way: if you know that it's the same user then you must inherently have a way to identify that user (e.g. User ID/username, account number, phone number, etc.) that is not using their email address. Use one of those things that are enforced to be unique for each user. This could actually be a &quot;primary&quot; email address, if email addresses are used as usernames and additional emails can be added to the account, as well. If this is the case, then once the user logs in you should know their &quot;primary&quot; email address and you can use this value as the Contact ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By identifying contacts by a value that is unique for each user, you can ensure that, regardless of what email address you plan to send an email, you only have one xDB contact per user. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-08-28T13:32:26.217" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7248" PostTypeId="2" ParentId="7246" CreationDate="2017-08-28T13:35:21.520" Score="3" Body="&lt;p&gt;That doesn't sound like a memory leak to me - just not enough information for me to make that conclusion -, but the described symptoms may still indicate a problem. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before doing anything, have a look at @VincentGaliana's answer, and try clearing out your EventQueue and PublishQueue tables. If the issue persists, proceed with with the below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To troubleshoot the issue further, first try the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Perform the renaming of your IIS site&lt;/li&gt;&#xA;&lt;li&gt;Verify that all of your permissions are set correctly for your website folder (this should switch over automatically, but this is just to make sure that nothing weird happened)&lt;/li&gt;&#xA;&lt;li&gt;Clear out all of your Temporary ASP.NET files&lt;/li&gt;&#xA;&lt;li&gt;Recycle the App Pool from IIS &lt;/li&gt;&#xA;&lt;li&gt;Try pinging the site again. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If, at this point, memory spikes for more than a few minutes (longer, if your site typically has longer initialization periods) then try the following analysis steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Allow the site to continue initializing (with the high memory usage)&lt;/li&gt;&#xA;&lt;li&gt;Look in the data folder to see if Sitecore is writing to its logs and report any errors that you see&lt;/li&gt;&#xA;&lt;li&gt;Check to see how SQL is performing (whether running locally or not). If possible, connect to the SQL Profiler and check to see what kinds of queries (if any) are executing&lt;/li&gt;&#xA;&lt;li&gt;Test out the connection to and availability of MongoDB from the server (using RoboMongo or another tool), and, if you're running MongoDB locally, check the activity of the MongoDB process&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It is likely that one or more of the above will help give you an indication of what is causing your memory to spike. If none of the above pan out, I recommend attaching &lt;a href=&quot;https://www.jetbrains.com/dotmemory/&quot; rel=&quot;nofollow noreferrer&quot;&gt;JetBrains dotMemory&lt;/a&gt; to the process to analyze exactly where the memory is going. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-08-28T19:49:29.813" LastActivityDate="2017-08-28T19:49:29.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7249" PostTypeId="1" AcceptedAnswerId="7261" CreationDate="2017-08-28T13:36:26.260" Score="2" ViewCount="684" Body="&lt;p&gt;I am creating a process that reads in the Sitecore analytics contact collection and gets information needed for a report. It is read and inserted in SQL Server. Not sure how to get some of the fields though. Particularly Visit Duration and Latest Date Visited. I was able to get Visits Count, Email, First Name, Last Name etc..., but can't seem to find these fields. Update these fields I believe can be retrieved from the interactions collection. However not sure how to get a dataset from contacts and interactions to get these fields. &lt;/p&gt;&#xA;" OwnerUserId="853" LastEditorUserId="853" LastEditDate="2017-08-29T02:02:04.530" LastActivityDate="2017-08-29T03:58:17.990" Title="Where to find Visit Duration and Latest Date Visited in Code Behind" Tags="|experience-analytics|mongodb|reporting|sitecore-query|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7250" PostTypeId="2" ParentId="7246" CreationDate="2017-08-28T14:06:27.953" Score="9" Body="&lt;p&gt;The only thing I can think off is the fact that renaming the IIS would change Sitecore's instance name if you haven't specified it explicitly with the setting &quot;InstanceName&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has several queues and uses this &quot;instance name&quot; to keep track of which servers have done what. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a lot of elements in the EventQueue and PublishQueue tables, Sitecore should consider that it hasn't executed any of these actions, having to reprocess the whole queue. The spike you are experiencing could be explained by this extra work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would truncate these tables on core, master and web databases and try again.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-28T14:06:27.953" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7251" PostTypeId="2" ParentId="6941" CreationDate="2017-08-28T14:21:37.260" Score="0" Body="&lt;p&gt;For how long did you wait? It will take a while to appear...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, the information will be saved in the contact (session), once the session times out, it will be sent to Mongo, and then an aggregation process executed periodically will send the information to the indexes. Once the update reaches the index, then it will appear in the list manager.&#xA;As you can see, depending on your configuration it could take easili even more than 30' to appear.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-28T14:21:37.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7252" PostTypeId="2" ParentId="7237" CreationDate="2017-08-28T15:07:51.993" Score="4" Body="&lt;p&gt;You are correct in that you can patch in log4net settings in recent Sitecore releases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But your patch file is unrelated to your error, as Zach already pointed out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My guess; given that the missing config lies right above log4net - you removed this by mistake earlier. &lt;code&gt;Sitecore.config&lt;/code&gt; needs to look like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;watchers&amp;gt;&#xA;    &amp;lt;media&amp;gt;&#xA;      &amp;lt;folder ref=&quot;settings/setting[@name='MediaFolder']/@value&quot;&amp;gt;&#xA;      &amp;lt;/folder&amp;gt;&#xA;      &amp;lt;filter&amp;gt;*&amp;lt;/filter&amp;gt;&#xA;    &amp;lt;/media&amp;gt;&#xA;    &amp;lt;xsl&amp;gt;&#xA;      &amp;lt;folder&amp;gt;/&amp;lt;/folder&amp;gt;&#xA;      &amp;lt;filter&amp;gt;*.xslt&amp;lt;/filter&amp;gt;&#xA;    &amp;lt;/xsl&amp;gt;&#xA;    &amp;lt;layout&amp;gt;&#xA;      &amp;lt;folder ref=&quot;settings/setting[@name='LayoutFolder']/@value&quot; /&amp;gt;&#xA;      &amp;lt;filter&amp;gt;*&amp;lt;/filter&amp;gt;&#xA;    &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;config&amp;gt;&#xA;      &amp;lt;folder&amp;gt;/App_Config&amp;lt;/folder&amp;gt;&#xA;      &amp;lt;filter&amp;gt;*.config&amp;lt;/filter&amp;gt;&#xA;    &amp;lt;/config&amp;gt;&#xA;  &amp;lt;/watchers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LjxNC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LjxNC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-08-28T15:07:51.993" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7253" PostTypeId="2" ParentId="7240" CreationDate="2017-08-28T18:06:12.367" Score="3" Body="&lt;p&gt;If the different domains map 1 to 1 with a site node and those site nodes have different root paths then this should help. You should be able to make an extension method that finds the context site based on the root path like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static SiteInfo GetSite(this Item source)&#xA;{&#xA;   return Factory.GetSiteInfoList().FirstOrDefault(&#xA;      site =&amp;gt; source.Paths.FullPath.StartsWith(site.RootPath));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that you might want to avoid other site contexts (i.e. &lt;code&gt;modules_website&lt;/code&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you could use the site context switcher. Inside the using your context site should be set to the correct site context if your root path is set up correctly:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SiteContextSwitcher(Factory.GetSite(item.GetSite().Name)))&#xA;{&#xA;   //Your code here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If your domains are all a part of one site definition using &lt;code&gt;|&lt;/code&gt; as a delimiter in the hostname attribute this solution will not work. I found something that may be useful in this case: &lt;code&gt;Sitecore.Data.Proxies.DomainSwitcher&lt;/code&gt;. I have never used this personally though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you are using multiple site nodes that point to the same root item you can use the following to get the correct site contexts.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static IEnumerable&amp;lt;SiteInfo&amp;gt; GetSites(this Item source)&#xA;{&#xA;   return Factory.GetSiteInfoList().Where(&#xA;      site =&amp;gt; source.Paths.FullPath.StartsWith(site.RootPath));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-08-29T13:33:08.887" LastActivityDate="2017-08-29T13:33:08.887" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7254" PostTypeId="1" AcceptedAnswerId="7258" CreationDate="2017-08-28T18:15:35.260" Score="4" ViewCount="165" Body="&lt;p&gt;Sorry if this question already exists, haven't seen it before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My dilemma is that I have certain field values, which could theoretically be any field type (general link, single-line text, etc.) which need to be different for different environments/publishing targets that exist within the same Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the past, we've dealt with this through configuration files which differ on the actual servers, but I'm wondering if there's a better way to handle this so they can be updated on the fly within sitecore (things like GTM keys, etc that may differ between environments).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing I can think of is publishing to each individual environment separately and changing the values in sitecore for each, but this isn't really a sustainable solution since each environment would need to be republished each time there was a change to any of them. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone dealt with something like this before? How did you solve this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1519" LastActivityDate="2017-08-28T19:42:45.743" Title="How to achieve different field values based on environment?" Tags="|publishing|scaling|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7255" PostTypeId="2" ParentId="7091" CreationDate="2017-08-28T19:25:08.700" Score="0" Body="&lt;p&gt;Make sure you have the correct build tools installed (Gulp is expecting MSBuild 15). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a separate download to VS2017 - look for &lt;strong&gt;Build Tools for VS2017&lt;/strong&gt; here: &lt;a href=&quot;https://www.visualstudio.com/downloads/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.visualstudio.com/downloads/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1106" LastActivityDate="2017-08-28T19:25:08.700" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7256" PostTypeId="2" ParentId="7254" CreationDate="2017-08-28T19:40:13.410" Score="1" Body="&lt;p&gt;I would create multiple items for your settings. You can use different approaches, I'll explain some that come to mind - all using multiple items:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;add the environment as a field to the setting(s) item and adapt your code to check for the current environment when looking for settings&lt;/li&gt;&#xA;&lt;li&gt;use the environment in the name of the setting(s) item and adapt your code to check for the current environment when looking for settings (if you have multiple setting(s) items, you could alter this approach a bit and use a folder) &lt;/li&gt;&#xA;&lt;li&gt;use publish restrictions to publish the setting(s) item to the correct publishing target&lt;/li&gt;&#xA;&lt;li&gt;a combination of the above&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As you see, by using multiple items you have several options. Just make sure your solution stays user friendly for the editors: you should have an easy overview of all data for all environment when editing in the master database.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-08-28T19:40:13.410" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7257" PostTypeId="2" ParentId="7254" CreationDate="2017-08-28T19:40:22.107" Score="1" Body="&lt;p&gt;I have not seen such a scenario before (different items per publishing target?), and would probably try to stick to configuration files, but I'll take a stab at one solution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you access the items via path? If so, you could theoretically:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create an item for each environment&lt;/li&gt;&#xA;&lt;li&gt;Give them all the same name&lt;/li&gt;&#xA;&lt;li&gt;Use Display Name to distinguish them&lt;/li&gt;&#xA;&lt;li&gt;Use publishing restrictions to enforce which item publishes to what target&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dBHAX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dBHAX.png&quot; alt=&quot;Environment Items&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2017-08-28T19:40:22.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7258" PostTypeId="2" ParentId="7254" CreationDate="2017-08-28T19:42:45.743" Score="3" Body="&lt;p&gt;The best approach is to used configuration file. You can easily deploy the configuration files to the required environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Doing this in Sitecore is typically very difficult and there is no OOTB feature for this. You'll require to manually set the value on each environment which is error prone and also time consuming in the sense that you need to go on each environment and update the value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, best approach is to use configuration file. For example, you may have separate files for UAT, Prod CM and CD. But the only drawback here is that it requires deployment.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-08-28T19:42:45.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7259" PostTypeId="1" CreationDate="2017-08-28T20:49:13.220" Score="4" ViewCount="369" Body="&lt;p&gt;I have Sitecore on Azure &quot;Paas&quot;. I need to expose some Sitecore functionality to external system, for example allow external system to create Sitecore item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally I would create a web service for this, but since its Sitecore on Azure I am not sure. I believe this might be handled with Sitecore client API but not really sure what solution to look for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in Advance&lt;/p&gt;&#xA;" OwnerUserId="2290" LastEditorUserId="73" LastEditDate="2017-08-29T13:29:45.877" LastActivityDate="2017-08-29T13:29:45.877" Title="How to create web service on Sitecore Paas" Tags="|azure|sitecore-services-client|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7260" PostTypeId="2" ParentId="7259" CreationDate="2017-08-28T21:54:14.023" Score="2" Body="&lt;p&gt;You can still create web services using Azure Platform Services, including:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Azure Functions&lt;/strong&gt; with HTTP Trigger will enable you to make external Web service calls and Functions can then make API calls to Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Use &lt;strong&gt;API Gateway&lt;/strong&gt; to enable metered and secured access if you have multiple clients that require tracking and throttling of usage.&lt;/li&gt;&#xA;&lt;li&gt;Or &lt;strong&gt;Azure API Apps&lt;/strong&gt; provides hosting for API that is closest to the traditional &quot;Web Services&quot; project build in VS.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In all of the options above, you can leverage Sitecore APIs the same way you would if you had Sitecore hosted on-prem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://azure.microsoft.com/en-us/services/functions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://azure.microsoft.com/en-us/services/functions/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://azure.microsoft.com/en-us/services/app-service/api/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://azure.microsoft.com/en-us/services/app-service/api/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2354" LastActivityDate="2017-08-28T21:54:14.023" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7261" PostTypeId="2" ParentId="7249" CreationDate="2017-08-29T03:58:17.990" Score="4" Body="&lt;p&gt;That data is in the sitecore_analytics_index. It is not in the analytics model for you to pull from. You are going to have to make a call into the index to get that data for each of your contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you look at Experience Profile, the data you see if coming from an API call to &lt;code&gt;/sitecore/api/ao/v1/aggregates/latest-visitors&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tracking that back to the config, the pipeline constructor for that API is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;   &amp;lt;latest-visitors&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Cintel.Reporting.Aggregate.Visitors.Processors.ConstructVisitorsDataTable, Sitecore.Cintel&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Cintel.Reporting.Aggregate.Visitors.Processors.QueryLatestVisitorsFromSearch, Sitecore.Cintel&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Cintel.Reporting.Processors.ApplySorting, Sitecore.Cintel&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Cintel.Reporting.Processors.ApplyPaging, Sitecore.Cintel&quot;/&amp;gt;&#xA;   &amp;lt;/latest-visitors&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The one you really care about is &lt;code&gt;Sitecore.Cintel.Reporting.Aggregate.Visitors.Processors.QueryLatestVisitorsFromSearch&lt;/code&gt;. This is the dll that gets the data you require.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Gather the latest record on your contact by ID. Sort by date descending and pick one.&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var ctx = ContentSearchManager.GetIndex(CustomerIntelligenceConfig.ContactSearch.SearchIndexName).CreateSearchContext();&#xA;&#xA;var visit = ctx.GetQueryable&amp;lt;IndexedVisit&amp;gt;().Where(iv =&amp;gt; iv.ContactId == contact.ContactId).OrderByDescending(iv =&amp;gt; iv.StartDateTime).Take(1).FirstOrDefault();&#xA;&#xA;IContactSearchResult contact;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Pick out the details and send it to SQL as you requested.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Then you can send a contact and the result into this function to the the details you need out.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void PopulateLatestVisit(IndexedVisit visit, ref IContactSearchResult contact)&#xA;{&#xA;   contact.LatestVisitId = visit.InteractionId;&#xA;   contact.LatestVisitStartDateTime = visit.StartDateTime;&#xA;   contact.LatestVisitEndDateTime = visit.EndDateTime;&#xA;   contact.LatestVisitPageViewCount = visit.VisitPageCount;&#xA;   contact.LatestVisitValue = visit.Value;&#xA;   contact.ValuePerVisit = Calculator.GetAverageValue(contact.Value, contact.VisitCount);&#xA;   if (visit.WhoIs == null)&#xA;      return;&#xA;   contact.LatestVisitLocationCityDisplayName = visit.WhoIs.City;&#xA;   contact.LatestVisitLocationCountryDisplayName = visit.WhoIs.Country;&#xA;   contact.LatestVisitLocationRegionDisplayName = visit.WhoIs.Region;&#xA;   contact.LatestVisitLocationId = visit.LocationId;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-08-29T03:58:17.990" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7262" PostTypeId="1" CreationDate="2017-08-29T06:12:38.220" Score="1" ViewCount="241" Body="&lt;p&gt;Where can i find the Sitecore Rocks Standalone Installation for 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note:- i i have the older version and getting the following error &lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;Warning&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The Hard Rock Web Service has an unexpected version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hard Rock Web Service: 2.1.70.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Expected version: 1.5.1.8&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Do you want to install the expected version?&lt;/h2&gt;&#xA;&#xA;&lt;h2&gt;OK   Cancel&lt;/h2&gt;&#xA;" OwnerUserId="1865" LastActivityDate="2017-08-29T06:12:38.220" Title="Sitecore Rocks Stand Alone Installation for 8.2" Tags="|sitecore-rocks|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7263" PostTypeId="2" ParentId="7259" CreationDate="2017-08-29T06:26:46.103" Score="1" Body="&lt;p&gt;A fourth option would be to create a WebAPI / MVC controller in your Sitecore solution (a new feature if you use a Helix/Habitat approach).&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/use_mvc_routing&quot; rel=&quot;nofollow noreferrer&quot; title=&quot;MVC routing in Sitecore&quot;&gt;MVC routing in Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2356" LastActivityDate="2017-08-29T06:26:46.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7264" PostTypeId="2" ParentId="7259" CreationDate="2017-08-29T06:50:13.043" Score="2" Body="&lt;p&gt;If your question is what is the best approach to allow external resources to interact with Sitecore, and not about how to create a web service:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wouldn't re-invent the wheel. If you just need to expose Sitecore's functionality, just use Sitecore's functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore already exposes its &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;API&lt;/a&gt; with CRUD operations, including search: For the requirements you are mentioning, no need to create custom web services.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-29T06:50:13.043" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7265" PostTypeId="1" CreationDate="2017-08-29T10:17:04.957" Score="1" ViewCount="673" Body="&lt;p&gt;I need to build a registration form in Sitecore 8.2 (update 4) using Web Forms For Marketers (WFFM) and MVC. How can I build email and email-confirm fields to verify that the user has typed the address correctly? This should work in exactly the same way as the built-in Password-confirmation field type.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="73" LastEditDate="2017-08-29T11:02:03.803" LastActivityDate="2017-08-29T15:36:04.620" Title="WFFM How to build custom Email-Confirmation field" Tags="|wffm|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7266" PostTypeId="1" CreationDate="2017-08-29T10:48:45.060" Score="0" ViewCount="345" Body="&lt;p&gt;For an item I have 2 version for 2 languages with a different displayName for each. &#xA;The displayName are :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Item_01_EN for the EN version&lt;/li&gt;&#xA;&lt;li&gt;Item_01_FR for the FR version&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now the problem is, when I use &lt;code&gt;LinkManager.GetItemUrl(item, opts)&lt;/code&gt; with my opts.Language set to the FR culture, sitecore keeps generating an URL with Item_01_EN displayName instead of Item_01_FR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I solve this ?&lt;/p&gt;&#xA;" OwnerUserId="2146" LastEditorUserId="73" LastEditDate="2017-08-29T13:28:19.353" LastActivityDate="2017-08-29T13:28:19.353" Title="displayName for each language is not used by LinkManager" Tags="|multilingual|link-manager|versions|" AnswerCount="1" CommentCount="0" ClosedDate="2017-08-29T11:26:35.727" ContentLicense="CC BY-SA 3.0" />
  <row Id="7267" PostTypeId="2" ParentId="7266" CreationDate="2017-08-29T10:57:15.383" Score="1" Body="&lt;p&gt;It should work if you set in your options &lt;code&gt;useDisplayName = true&lt;/code&gt; Have you tried it?&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-29T10:57:15.383" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7268" PostTypeId="2" ParentId="7067" CreationDate="2017-08-29T11:03:44.297" Score="2" Body="&lt;p&gt;A couple of other things you can do to help with Content Editor Performance are to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Disable Rendering of all items in the tree on initial load. This will mean a slower load when browsing lower levels of the tree but should make the initial page load quicker when browsing around content editor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;setting name=&quot;ContentEditor.RenderCollapsedSections&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Turn off Security checking on tree nodes. This has one downside that means content editors will see parent items in the tree they shouldn't see and get a error message saying they don't have access if they click on it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;setting name=&quot;ContentEditor.CheckSecurityOnTreeNodes&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Turn off Checking for children on tree nodes. This has one downside that means content editors will see an arrow for child items in the tree (even if there are no child items) then if they click on it it will disappear.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentEditor.CheckHasChildrenOnTreeNodes&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It's worth noting that you need to experiment with these settings as you will see different performance gains depending on how many items you have in your tree. If you have less than 500 items you might not see much improvement for some of these settings.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-08-29T11:03:44.297" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7269" PostTypeId="1" AcceptedAnswerId="7430" CreationDate="2017-08-29T15:01:15.030" Score="5" ViewCount="362" Body="&lt;p&gt;I try to setup Sitecore commerce 8.2.1 using the steps in the documentation by sitecore (&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;If the Commerce Authoring Service, wants to connect to Sitecore, a connection is always set up via SSL.&lt;/p&gt;&#xA;&lt;h3&gt;Connection, observed with fiddler&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aBnRT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aBnRT.png&quot; alt=&quot;Connection, observed with fiddler&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;The Connector use always SSL&lt;/h3&gt;&#xA;&lt;p&gt;The Connector (Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager) use static https.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public static HttpResponseMessage ProcessRequest(SitecoreConnectionPolicy connectionPolicy, string action, string method, ItemModel itemModel)&#xA;{&#xA;    Uri baseAddress = new Uri(string.Format(&amp;quot;https://{0}&amp;quot;, connectionPolicy.Host));&#xA;    using (HttpClient httpClient = new HttpClient{BaseAddress = baseAddress})&#xA;    {&#xA;        ...&#xA;    }&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So, the Commerce Authoring Service, will only work, if Sitecore runs with SSL.&lt;/p&gt;&#xA;&lt;p&gt;For &lt;strong&gt;PROD&lt;/strong&gt; environments, this is this fine.&#xA;But, for &lt;strong&gt;DEV&lt;/strong&gt; environment, we would like run Sitecore without SSL.&lt;/p&gt;&#xA;&lt;p&gt;Is it possible to change this connector from &lt;strong&gt;https&lt;/strong&gt; to &lt;strong&gt;http&lt;/strong&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1982" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-09-13T19:46:51.530" Title="How do you configure Commerce Authoring Service without SSL / TLS" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7270" PostTypeId="1" AcceptedAnswerId="7273" CreationDate="2017-08-29T15:13:08.670" Score="2" ViewCount="1504" Body="&lt;p&gt;We have a multilingual website and using language fallback(Item Level). I am finding hard to get the fallback language of an item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have fr-FR which is falling back to en-FR. But when I get the item in fr-FR and check for &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;LangugaeFallbackEnabled field is &lt;strong&gt;false&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I could not find any other fields specifying this information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have double checked in Sitecore it's falling back to en-FR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's the best way to check for the fallback language of an item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version - 8.1 update 3&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2017-08-29T16:04:21.687" Title="How to find if Item language is falling back to another language?" Tags="|multilingual|language-fallback|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7271" PostTypeId="2" ParentId="7265" CreationDate="2017-08-29T15:36:04.620" Score="2" Body="&lt;p&gt;There are a few things to understand when building a WFFM MVC custom field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first is that there is an non mvc type defined and an mvc type. You will usually need both of these. The non MVC type is used for the form designer as well as for webforms so you will usually need to implement it and define it too. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will take a while to write this code for you so I'm going to give you some guidance on how to do it instead:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Copy this item here: /sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Complex/Password-Confirmation&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Rename the item and sub-items accordingly to Email Confirmation&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Create a copy of the Password Confirmation field code by de-compiling the ViewModels.Fields.PasswordConfirmationField from this dll: Sitecore.Forms.Mvc.dll. Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class EmailConfirmationField : EmailField&#xA;  {&#xA;    [DataType(DataType.Email)]&#xA;    [DynamicCompare(&quot;Value&quot;, &quot;EmailTitle&quot;, &quot;ConfirmationTitle&quot;, ErrorMessage = &quot;The {0} and {1} fields must be the same.&quot;)]&#xA;    public string Confirmation { get; set; }&#xA;&#xA;    public string ConfirmationHelp { get; set; }&#xA;&#xA;    public string EmailHelp { get; set; }&#xA;&#xA;    public string EmailTitle { get; set; }&#xA;&#xA;    public string ConfirmationTitle { get; set; }&#xA;&#xA;    public EmailConfirmationField()&#xA;    {&#xA;      this.EmailTitle = &quot;Email&quot;;&#xA;      this.ConfirmationTitle = &quot;Confirmation&quot;;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;4) Update to reference your code in the MVC Type field instead of the out of the box one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) Copy and rename the mvc view here and update the code as required: Views\Form\EditorTemplates\PasswordConfirmationField.cshtml&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6) Update the validators on the Email-Confirmation item to validate the email instead of a password&lt;/p&gt;&#xA;&#xA;&lt;p&gt;7) Add your new confirmation field to your form and test it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't actually done this to test it, but this is the process you would usually follow for creating a custom field for WFFM MVC based on an existing field. It may be a bit more complex and also involve copying and updating the PasswordConfirmation class from the Sitecore.Forms.Custom.dll and referencing this instead. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should set you along the right track though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some useful references for you too: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://soen.ghost.io/creating-a-custom-field-type-in-wffm-for-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://soen.ghost.io/creating-a-custom-field-type-in-wffm-for-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoresolutions.blogspot.co.uk/2012/01/web-forms-for-marketers-email.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoresolutions.blogspot.co.uk/2012/01/web-forms-for-marketers-email.html&lt;/a&gt; (based on web forms I think so is a bit outdated)&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-08-29T15:36:04.620" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7272" PostTypeId="1" CreationDate="2017-08-29T15:37:14.873" Score="2" ViewCount="34" Body="&lt;p&gt;Hi everyone: I am getting the following error on a Sitecore 8.2 update 2 instance.&#xA;The error is related to the &lt;em&gt;indexing.getDependencies Pipeline&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This error wasn't happening on Sitecore 8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error says:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: Sitecore.Exceptions.InvalidStructureException&#xA;  Message: No group node for sub node: indexing.getDependencies&#xA;  Source: Sitecore.Kernel&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Have any of you have a fix to this issue?&lt;/p&gt;&#xA;" OwnerUserId="1589" LastActivityDate="2017-09-03T01:04:12.977" Title="Error: No group node for sub node: indexing.getDependencies" Tags="|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7273" PostTypeId="2" ParentId="7270" CreationDate="2017-08-29T15:44:35.380" Score="3" Body="&lt;p&gt;To check if an item you are accessing is a fallback use the &lt;code&gt;IsFallback&lt;/code&gt; property:&#xA;&lt;code&gt;Sitecore.Data.Items.Item.IsFallback&lt;/code&gt;. To get the actual language being used you could use the method &lt;code&gt;Sitecore.Data.Items.Item.GetFallbackItem()&lt;/code&gt; and check the language on that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's possible that you could do this more efficiently while looking at that method by using the language fallback manager:&#xA;&lt;code&gt;Sitecore.Data.Managers.LanguageFallbackManager.GetFallbackLanguage(Language language, Database database, ID relatedItemId)&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-08-29T16:04:21.687" LastActivityDate="2017-08-29T16:04:21.687" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="7274" PostTypeId="1" CreationDate="2017-08-29T17:19:05.730" Score="1" ViewCount="68" Body="&lt;p&gt;I have the following JustMock call in my old 8.0.7 Sitecore project:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var siteGuid = Guid.NewGuid();&#xA;var siteItem = Mock.Create&amp;lt;Item&amp;gt;();&#xA;var id = new ID(siteGuid);&#xA;Mock.Arrange(() =&amp;gt; siteItem.ID).Returns(id);&#xA;Mock.Arrange(() =&amp;gt; Sitecore.Context.Database.SelectSingleItem(Arg.AnyString)).Returns(siteItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The same call is duplicated in my upgraded project. As part of the upgrade, the Sitecore Client and Kernel dlls were updated to their new versions. I'm currently using JustMock version 2016.2.426.1 for both projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the test on the 8.0.7 project I can see the following output when I watch the Sitecore.Context.Database variable:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zA5fr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zA5fr.png&quot; alt=&quot;8.0.7 Sitecore.Context.Database watch&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, the Sitecore variables in this object are mapped to null. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the same test on the 8.2.4 project I get the following output:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LjJ5l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LjJ5l.png&quot; alt=&quot;8.2.4 Sitecore.Context.Database watch&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here I get exception values for all of the Sitecore properties. When I drill into the exception a bit I can see that it displays:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;error CS0246: The type or namespace name 'Castle' could not be found (are you missing a using directive or an assembly reference?)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These exception values in the Sitecore.Context.Database object are causing many tests to break. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm a bit at a loss for what's going on here. I know it has to be related to updating the version of Sitecore.Kernel but I'm not sure why this would cause the test to break in this way. Any ideas on where to go from here? Thanks for the help!&lt;/p&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2017-08-29T17:19:05.730" Title="Using JustMock With Sitecore 8.2.4 Kernel DLL" Tags="|upgrade|unit-testing|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7275" PostTypeId="2" ParentId="3038" CreationDate="2017-08-29T17:27:18.387" Score="0" Body="&lt;p&gt;Regarding the Feature-to-Feature, I found the series of blogs which explained most of the cases of the dependency among modules which are same layer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.coates.dk/2017/04/18/sitecore-helix-modules-that-need-to-reference-another-module-in-the-same-layer-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.coates.dk/2017/04/18/sitecore-helix-modules-that-need-to-reference-another-module-in-the-same-layer-part-1/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can find part 2 and 3 in that blog.&lt;/p&gt;&#xA;" OwnerUserId="1352" LastEditorUserId="1352" LastEditDate="2017-08-30T01:51:12.160" LastActivityDate="2017-08-30T01:51:12.160" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7278" PostTypeId="2" ParentId="7098" CreationDate="2017-08-29T21:33:44.303" Score="3" Body="&lt;p&gt;Sitecore support has filed a feature request to have the Express Migration Tool move data from the archives.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the meantime running a SQL query to get the data over works.  You will need to get to Sitecore 6.6 Initial before executing the query as a new table was added to support the Archives.  The lack of the data from this fourth table was the issue with my query attempts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the SQL the ultimately worked.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;USE sc820u4_master;&#xA;&#xA;INSERT INTO dbo.Archive (ArchivalId, ItemId, ParentId, Name, OriginalLocation, ArchiveDate, ArchivedBy, ArchiveName)&#xA;SELECT ArchivalId, ItemId, ParentId, Name, OriginalLocation, ArchiveDate, ArchivedBy, ArchiveName &#xA;FROM sc660u0_master.dbo.Archive;&#xA;&#xA;INSERT INTO dbo.ArchivedFields (RowId, ArchivalId, VersionId, FieldId, Value, Created, Updated)&#xA;SELECT RowId, ArchivalId, VersionId, FieldId, Value, Created, Updated&#xA;FROM sc660u0_master.dbo.ArchivedFields;&#xA;&#xA;INSERT INTO dbo.ArchivedItems (RowId, ArchivalId, ItemId, Name, TemplateID, MasterID, ParentID, Created, Updated)&#xA;SELECT RowId, ArchivalId, ItemId, Name, TemplateID, MasterID, ParentID, Created, Updated &#xA;FROM sc660u0_master.dbo.ArchivedItems;&#xA;&#xA;INSERT INTO dbo.ArchivedVersions (VersionId, ArchivalId, ItemId, dbo.ArchivedVersions.Language, dbo.ArchivedVersions.Version, ArchivedDate, ArchivedBy)&#xA;SELECT VersionId, ArchivalId, ItemId, Language, Version, ArchivedDate, ArchivedBy&#xA;FROM sc660u0_master.dbo.ArchivedVersions;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="32" LastActivityDate="2017-08-29T21:33:44.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7279" PostTypeId="1" CreationDate="2017-08-30T01:48:10.440" Score="4" ViewCount="1338" Body="&lt;p&gt;I am new with the Sitecore and Helix as well. I'm studying the Helix and its example - Habitat. I think it's missing the example of Feature get references from other Features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding the Feature-to-Feature, I found the series of blogs which explained most of the cases of the dependency among modules which are same layer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.coates.dk/2017/04/18/sitecore-helix-modules-that-need-to-reference-another-module-in-the-same-layer-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.coates.dk/2017/04/18/sitecore-helix-modules-that-need-to-reference-another-module-in-the-same-layer-part-1/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can find part 2 and 3 in that blog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So i'm looking for an example for the scenario&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Feature.Blogs has Feature.Person as an author&lt;/li&gt;&#xA;&lt;li&gt;The ability to show the list of blogs within the author (Feature.Person.Templates.Person.Name)&lt;/li&gt;&#xA;&lt;li&gt;The ability to show the Author within the total of their blogs, some kind of Facet&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I appreciate your resources/examples.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1352" LastActivityDate="2017-08-30T02:56:52.837" Title="Helix Feature references to Feature(s)" Tags="|helix|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7280" PostTypeId="2" ParentId="7091" CreationDate="2017-08-30T02:00:46.253" Score="2" Body="&lt;p&gt;The newest update from Habitat is using MSBuild v15 which is included in VS 2017. Hence, you should install VS2017 or use the way from @peaks. There is also the alternative way is change the configuration in gulp-config.js by v14 instead of v15 in case you are using VS2015.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z8oLb.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;" OwnerUserId="1352" LastEditorUserId="1352" LastEditDate="2017-08-30T02:41:58.973" LastActivityDate="2017-08-30T02:41:58.973" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7281" PostTypeId="2" ParentId="7279" CreationDate="2017-08-30T02:56:52.837" Score="9" Body="&lt;p&gt;That blog post from Alan covers the scenarios nicely. The problem is that you are looking for Feature to Feature dependencies and if you follow Helix guidelines, that is expressly forbidden:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;A strict awareness of dependencies within the Feature layer is very important. One Feature module must never depend on another Feature module&lt;/p&gt;&#xA;&lt;p&gt;ref: &lt;a href=&quot;http://helix.sitecore.net/principles/architecture-principles/layers.html#feature-layer&quot; rel=&quot;noreferrer&quot;&gt;Helix Feature Layer&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So lets look at your scenario:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Feature.Blogs has Feature.Person as an author&lt;/li&gt;&#xA;&lt;li&gt;The ability to show the list of blogs within the author (Feature.Person.Templates.Person.Name)&lt;/li&gt;&#xA;&lt;li&gt;The ability to show the Author within the total of their blogs, some kind of Facet&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;First problem, the &lt;code&gt;Feature.Blogs&lt;/code&gt; module needs to display an author, and you have added the author data to &lt;code&gt;Feature.Person&lt;/code&gt; - so here is where you might consider either adding a &lt;code&gt;Foundation.Person&lt;/code&gt; module, that allows a &lt;code&gt;Person&lt;/code&gt; to be used by multiple features. This could be done via an abstraction of &lt;code&gt;Person&lt;/code&gt; into the foundation module, with the implementation still in the &lt;code&gt;Feature.Person&lt;/code&gt; module, or by just moving the relevant models and services to the Foundation module.&lt;/p&gt;&#xA;&lt;p&gt;The next 2 problems are also solved by creating a &lt;code&gt;Foundation.Person&lt;/code&gt; module, this would allow interaction with the &lt;code&gt;Person&lt;/code&gt; part of the module from the &lt;code&gt;Feature.Blogs&lt;/code&gt; module.&lt;/p&gt;&#xA;&lt;p&gt;Note that this doesn't remove the &lt;code&gt;Feature.Person&lt;/code&gt; module, you would still have that Feature module to provide specific implementations of the &lt;code&gt;Person&lt;/code&gt; business unit, e.g. Login, Sign Up, Account Profile.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-08-30T02:56:52.837" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7282" PostTypeId="1" CreationDate="2017-08-30T05:21:44.183" Score="3" ViewCount="1384" Body="&lt;p&gt;while this seems easy, it isn't working&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public ActionResult RenderSelectedItem(string id)&#xA;    {&#xA;        var itemURL = Sitecore.Context.Database.GetItem(id);&#xA;        var link = Sitecore.Links.LinkManager.GetItemUrl(itemURL);&#xA;        return Redirect(link);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am calling this action from this .ajax routine:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $(&quot;#SearchBtn&quot;).click(function () {&#xA;        var textval = $(&quot;#SubCatagoryList :selected&quot;).text();&#xA;        var selected = $(&quot;#SubCatagoryList :selected&quot;).val();&#xA;&#xA;        $.ajax({&#xA;            type: &quot;GET&quot;,&#xA;            url: &quot;api/Sitecore/MultiSelectAndSearch/RenderSelectedItem/&quot;,&#xA;            data: { id: selected },&#xA;            content: &quot;html&quot;,&#xA;            success: function (response) {&#xA;&#xA;&#xA;            }&#xA;&#xA;&#xA;&#xA;        })&#xA;    })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am hitting the Action and getting the ID, but the Redirect doesn't redirect to the item's link. upon further investigation ... it looks as though my Ajax call response is in error&lt;/p&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="1227" LastEditDate="2017-08-30T05:37:10.267" LastActivityDate="2017-08-31T02:08:30.680" Title="How do I redirect to another item in Sitecore" Tags="|mvc|ajax|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7283" PostTypeId="1" AcceptedAnswerId="7367" CreationDate="2017-08-30T06:27:09.343" Score="0" ViewCount="3211" Body="&lt;p&gt;I have created a custom workflow with four steps and created three roles to access the website, editor, reviewer and publisher.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I gave every user the proper role and needed permissions, however the user cannot edit any item under the content tree and all fields look grey out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xs3Ut.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xs3Ut.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;below is how the role's permissions are set&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QV3Zt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QV3Zt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you help?&lt;/p&gt;&#xA;" OwnerUserId="2140" LastActivityDate="2019-05-23T09:12:22.947" Title="Worfklow's editor user cannot edit content items" Tags="|sitecore-client|workflow|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7284" PostTypeId="2" ParentId="7282" CreationDate="2017-08-30T06:33:15.537" Score="4" Body="&lt;p&gt;You cannot redirect from an AJAX post. You could return the URL you want to redirect and redirect from Javascript.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;success: function(response){&#xA;   window.location.href = response;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="113" LastActivityDate="2017-08-30T06:33:15.537" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7285" PostTypeId="2" ParentId="7283" CreationDate="2017-08-30T07:01:47.177" Score="2" Body="&lt;p&gt;When you assign a workflow to an item, the user must have some special rights for the workflow too, not only for the item.&#xA;In your case, to be able to edit the item, your editor must have &quot;Workflow state write&quot; for the current state of the item to be able to edit the item.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WTs2G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WTs2G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore defines three workflow specific access rights.&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Workflow State Delete — controls whether or not a user can delete items which are currently associated with a specific workflow state&lt;/li&gt;&#xA;&lt;li&gt;Workflow State Write controls whether or not a user can update items which are currently associated with a specific workflow state.&lt;/li&gt;&#xA;&lt;li&gt;Workflow Command Execute — controls whether or not a user is shown&#xA;specific workflow commands.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Extracted from section 3.4 of this old but still valid &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/workflowreference-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;document&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2017-08-30T07:01:47.177" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7286" PostTypeId="1" AcceptedAnswerId="7321" CreationDate="2017-08-30T07:31:38.260" Score="5" ViewCount="1557" Body="&lt;p&gt;I am trying to publish bucketable items from master to web database.For this purpose i am using the below code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void PublishItem(Sitecore.Data.Items.Item scItem, Sitecore.Data.Database _db)&#xA;    {&#xA;        using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;        {&#xA;            var publishingTargetItems = Sitecore.Publishing.PublishManager.GetPublishingTargets(_db);&#xA;            foreach (var publishingTarget in publishingTargetItems)&#xA;            {&#xA;                var useDatabaseName = publishingTarget[&quot;Target Database&quot;];&#xA;                var webDatabase = Sitecore.Data.Database.GetDatabase(useDatabaseName);&#xA;                var publisher = new Sitecore.Publishing.Publisher(new Sitecore.Publishing.&#xA;                                                      PublishOptions(&#xA;                                                      scItem.Database,&#xA;                                                      webDatabase,&#xA;                                                      Sitecore.Publishing.PublishMode.Smart,&#xA;                                                      scItem.Language,&#xA;                                                      System.DateTime.Now));&#xA;                publisher.Options.RootItem = scItem;&#xA;                publisher.Options.Deep = true;&#xA;                publisher.Publish();&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works fine for non-bucketable items but fails for bucketable items.&#xA;I tried with the below solutions available in net but still it is not working&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/256968&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/256968&lt;/a&gt; &#xA;&lt;a href=&quot;https://stackoverflow.com/questions/38362267/sitecore-not-publishing-bucket-folders&quot;&gt;https://stackoverflow.com/questions/38362267/sitecore-not-publishing-bucket-folders&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we are using Sitecore 8.1 update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am i missing anything which need to be done to programmatically publish bucketable items ?&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2017-09-05T06:17:42.217" Title="How to programmatically publish a bucketable items in sitecore?" Tags="|publishing|buckets|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="7287" PostTypeId="1" AcceptedAnswerId="7292" CreationDate="2017-08-30T13:41:21.387" Score="5" ViewCount="1005" Body="&lt;p&gt;I'm having a strange issue with my &lt;code&gt;Sitecore.Context.User&lt;/code&gt;. I set up a custom MVC route for a controller that looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RouteConfig&#xA;{&#xA;    public static void RegisterRoutes(RouteCollection routes)&#xA;    {&#xA;        routes.MapRoute(&quot;accounts api&quot;, &quot;accountsapi/{action}&quot;, new {controller = &quot;Accounts&quot;, action = &quot;{action}&quot;});&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I hit one of the controller actions using regular Sitecore MVC, the &lt;code&gt;Sitecore.Context.User&lt;/code&gt; is authenticated and all my cookies etc. are present as I expected. However, if I access the same controller over the route that I have set up, the &lt;code&gt;Sitecore.Context.User&lt;/code&gt; is the anonymous user (even when I'm already logged in) and I can see that I get a completely different set of cookies showing up (the auth cookie isn't 1 of them). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I first noticed the issue because I was attempting to authenticate over the route and noticed that the context was immediately lost when accessing the context via the normal sitecore routing process.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The routing is initialized via a pipeline like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LoadCustomRoutes&#xA;{&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;        Log.Info(&quot;Loading custom routes&quot;, this);&#xA;        RouteConfig.RegisterRoutes(RouteTable.Routes);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Processor loaded like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;initialize&amp;gt;&#xA;    &amp;lt;processor type=&quot;ABC.Project.Common.Pipelines.LoadCustomRoutes, ABC.Project.Common&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot; /&amp;gt;&#xA;&amp;lt;/initialize&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this expected behaviour? The &lt;code&gt;AccountsController&lt;/code&gt; is a &lt;code&gt;SitecoreController&lt;/code&gt; so it shouldn't be affected by any of the WebAPI drawbacks (as far as I know). I feel like I'm missing something but I'm not sure what it is. Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="961" LastEditorUserId="605" LastEditDate="2017-09-02T06:24:27.840" LastActivityDate="2017-09-02T06:24:27.840" Title="Sitecore context user lost in custom MVC Route" Tags="|mvc|authentication|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="7288" PostTypeId="2" ParentId="7282" CreationDate="2017-08-31T02:08:30.680" Score="1" Body="&lt;p&gt;The response from Controller should be JsonResult, in which you can define the Url that you want to redirect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;new Json { newurl = link };&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in the success method of ajax, you can do window.location.href = response.newurl for example.&lt;/p&gt;&#xA;" OwnerUserId="1352" LastActivityDate="2017-08-31T02:08:30.680" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7291" PostTypeId="1" CreationDate="2017-08-31T12:12:22.337" Score="2" ViewCount="296" Body="&lt;p&gt;When using WFFM with MVC are the validation items under&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Validation&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;actually used, or are those items WebForms-specific? Does all MVC client validation take place within jQuery / unobtrusive validation?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-08-31T12:12:22.337" Title="WFFM and MVC validation" Tags="|wffm|mvc|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7292" PostTypeId="2" ParentId="7287" CreationDate="2017-08-31T13:34:06.583" Score="1" Body="&lt;p&gt;So this was a classic case of chasing a red herring's shadow down a rabbit hole. The actual issue here had nothing to do with the custom route configuration. The authentication call was using the &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch&quot; rel=&quot;nofollow noreferrer&quot; title=&quot;Fetch API&quot;&gt;Fetch API&lt;/a&gt; to trigger the request. Upon further inspection, I noticed that the cookies were being returned in the response correctly, but were not being saved automatically. From the fetch docs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;By default, fetch won't send or receive any cookies from the server,&#xA;  resulting in unauthenticated requests if the site relies on&#xA;  maintaining a user session (to send cookies, the credentials init&#xA;  option must be set).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The fix for this was to add a &lt;code&gt;credentials: 'include'&lt;/code&gt; property to the fetch call so that it saved cookies (even though the domain was the same).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;fetch('/accountsapi/login', {&#xA;                    method: &quot;post&quot;,&#xA;                    headers: {&#xA;                        &quot;Accept&quot;: &quot;application/json, text/plain, */*&quot;,&#xA;                        &quot;Content-Type&quot;: &quot;application/json&quot;&#xA;                    },&#xA;                    credentials: 'include',&#xA;                    body: JSON.stringify(valueObj)&#xA;                })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now things work like I would have expected... So nothing specific to sitecore on this one. &lt;/p&gt;&#xA;" OwnerUserId="961" LastActivityDate="2017-08-31T13:34:06.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7293" PostTypeId="1" AcceptedAnswerId="7299" CreationDate="2017-08-31T14:23:38.987" Score="1" ViewCount="350" Body="&lt;p&gt;I need to disable adding clone references when publishing related items and add logic to do this on an item by item basis based on custom fields that were added. My plan is to replace the processor &lt;code&gt;Sitecore.Publishing.Pipelines.GetItemReferences.AddItemCloneReferences, Sitecore.Kernel&lt;/code&gt; with a custom one. Is &lt;code&gt;getItemReferences&lt;/code&gt; used anywhere outside of publishing that would make this approach affect things outside of publishing?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-09-01T00:00:07.677" Title="Where is the getItemReferences Pipeline Used" Tags="|publishing|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7294" PostTypeId="1" CreationDate="2017-08-31T15:11:57.477" Score="3" ViewCount="143" Body="&lt;p&gt;I'm looking to upgrade our production environment to 8.1 initial, then 8.1 update 3.  Unfortunately, one of the last steps is doing a full publish of the site.  My problem is that our Content Authors have made a lot of changes that can't go live yet.  Can i skip that step or will it break the site?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perhaps I can just publish the system node or maybe the templates as well, but leave the content area the way it is and have the CA's publish when it's time.  I asked support, but they said it was never tested that way and I should just follow the steps.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is I can't upgrade if I have to publish the full site.&lt;/p&gt;&#xA;" OwnerUserId="1872" LastEditorUserId="70" LastEditDate="2017-08-31T15:30:56.850" LastActivityDate="2017-09-02T06:23:01.740" Title="How can i get away with NOT publishing site after Sitecore 8.1 upgrade?" Tags="|publishing|upgrade|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7295" PostTypeId="2" ParentId="7294" CreationDate="2017-08-31T15:30:07.677" Score="3" Body="&lt;p&gt;You should use Publish restrictions to set the versions of the items that should not go live to unpublishable for now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select the item and click the &lt;code&gt;Change&lt;/code&gt; button on the Publish tab:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1rTVD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1rTVD.png&quot; alt=&quot;Change publish restrictions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then disable the publishing on the version of the item you don't want published:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OFREw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OFREw.png&quot; alt=&quot;Disable Publishing&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That way a full site publish will not publish the content you can't push live yet.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-08-31T15:30:07.677" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7296" PostTypeId="1" CreationDate="2017-08-31T17:27:17.567" Score="2" ViewCount="72" Body="&lt;p&gt;I am trying to get rid of these warnings that I get when I use the creative exchange import. All the links in the html have been updated to the new location of those items automatically so I don't know what is still referencing the old location of the items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I get in the results window after the import:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LvGg7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LvGg7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone has any ideas what the source of the problem might be?&lt;/p&gt;&#xA;" OwnerUserId="1327" LastActivityDate="2017-08-31T17:27:17.567" Title="Creative exchange import warnings: &quot;cannot relink image on item...&quot;" Tags="|sxa|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7297" PostTypeId="1" CreationDate="2017-08-31T19:32:24.357" Score="1" ViewCount="218" Body="&lt;p&gt;We want to test Sitecore personalization on staging instance before directly making changes on live pages.&#xA;We have one Geo IP location license active on prod CM instance, so to test personalization implementation on staging instance &lt;strong&gt;Do we need one more license?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think country related condition that we apply in Rule Set editor is associated with Geo IP location application so personalization will work only on prod not in non-prod env.&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="2727" LastEditDate="2018-02-28T18:29:36.703" LastActivityDate="2018-02-28T18:29:36.703" Title="Test Sitecore personalization on Non-Prod enviroment" Tags="|personalization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7298" PostTypeId="2" ParentId="7294" CreationDate="2017-08-31T23:48:10.873" Score="1" Body="&lt;p&gt;You could try to clone the current production environment on a different environment (Local or Dev), Then Publish only templates, System, Layouts nodes, Then continue the upgrade process, If everything works out well and no errors in the logs, Then you can go back to the production environment and do the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest in future upgrade that you do the upgrade process on separate environment than Production, And once its done, you can refresh the content from original production server through Serialization or sitecore packages, then switch to use the new upgraded environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-08-31T23:48:10.873" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7299" PostTypeId="2" ParentId="7293" CreationDate="2017-09-01T00:00:07.677" Score="2" Body="&lt;p&gt;I believe its used only for publishing related items, This pipeline &quot;&lt;strong&gt;getitemreferences&lt;/strong&gt;&quot; existed in pre-7.2 versions with only &quot;&lt;strong&gt;AddItemCloneReferences&lt;/strong&gt;&quot; and &quot;&lt;strong&gt;AddFileDropAreaMediaReferences&lt;/strong&gt;&quot; processors that adds additional items to the publishing queue and was updated on 7.2 to include &quot;&lt;strong&gt;AddItemLinkReferences&lt;/strong&gt;&quot; and &quot;&lt;strong&gt;AddItemAliasReferences&lt;/strong&gt;&quot; processors .&#xA;Even from the Namespace itself it implies that its a Publishing pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/related-item-publishing-updated&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/related-item-publishing-updated&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-09-01T00:00:07.677" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7300" PostTypeId="2" ParentId="7297" CreationDate="2017-09-01T00:26:34.957" Score="0" Body="&lt;p&gt;If your company is Sitecore Partner, you can also request partner benefits such as device detection, EXM cloud delivery service and Geo location. Please connect with your regional Sitecore office and request the license. &lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-09-01T00:26:34.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7301" PostTypeId="2" ParentId="7297" CreationDate="2017-09-01T03:50:18.230" Score="5" Body="&lt;p&gt;If all you want to do is test country and IP on your content before it goes live, you can use the Experience Explorer. It lets you specify an IP or Country and see what your personalization will look like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E80P6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E80P6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the left panel you can specify your personalization details. Just a reminder you have to click the little arrow again the left side to pull the experience explorer panel out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EOcD4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EOcD4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-09-01T03:50:18.230" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7304" PostTypeId="5" CreationDate="2017-09-01T13:47:43.870" Score="0" Body="" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-09-01T13:47:43.870" LastActivityDate="2017-09-01T13:47:43.870" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7305" PostTypeId="4" CreationDate="2017-09-01T13:47:43.870" Score="0" Body="Questions related to NitroNet for Sitecore" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-09-01T13:47:43.870" LastActivityDate="2017-09-01T13:47:43.870" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7306" PostTypeId="1" AcceptedAnswerId="9822" CreationDate="2017-09-01T18:10:38.310" Score="2" ViewCount="714" Body="&lt;p&gt;I'm trying to use SXA to display a form as an overlay on a page. I added the &quot;Links Shown in Overlay&quot; style to the form link.  When I click on the link, all I get is a blank, narrow box with a close button, none of my content is shown.  &lt;/p&gt;&#xA;" OwnerUserId="525" LastEditorUserId="525" LastEditDate="2017-09-01T20:09:53.313" LastActivityDate="2018-02-01T19:13:06.130" Title="I can't get my content to display in a page overlay" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7307" PostTypeId="1" CreationDate="2017-09-01T19:47:03.133" Score="2" ViewCount="307" Body="&lt;p&gt;When overriding SitecoreFieldLinkMapper, I add my new custom mapper to the CreateResolver method so it can be ran with all the other custom mappers. How do I ensure that only this custom mapper is ran and not the standard glass link field mapper? I think both might be executing.&lt;/p&gt;&#xA;" OwnerUserId="2375" LastActivityDate="2017-09-15T10:47:31.617" Title="I need to override the SitecoreFieldLinkMapper, how do I ensure that the mapper isn't ran twice?" Tags="|glass-mapper|links|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7308" PostTypeId="2" ParentId="7294" CreationDate="2017-09-02T03:07:09.857" Score="1" Body="&lt;p&gt;You can make use of the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Publish_Exclusions.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Publish Exclusion&lt;/a&gt; available at marketplace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This tool allows you to select an item or the parent and exclude it when publishing is being performed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, there is an option which allows you to exclude the excluded item. For example, suppose you have Container A and you put an exclusion on it and you want that some of its sub items get published, you can exclude those items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module has 4 types of publishing mode namely&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Incremental&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Smart&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Full&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Item&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So, you can disable the publishing of the excluded items for specific publishing mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, when using Incremental publishing, the Sitecore Publish Queue is used. Any item that has been published, will not be process through the next incremental publish. The module has a setting which allows you to send the item back to the publish queue if it is excluded.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-09-02T06:23:01.740" LastActivityDate="2017-09-02T06:23:01.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7310" PostTypeId="2" ParentId="7272" CreationDate="2017-09-03T01:04:12.977" Score="1" Body="&lt;p&gt;Well, it seems I found the fix. I was upgrading a pipeline processor from a 8.1 instance to a 8.2 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In 8.1 I was using castle windsor to inject a dependency into the custom processor, therefore I was using &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;type=&quot;1&quot; ref=&quot;Demo.Extensions.Pipelines.GetDatasourceDependencies,Demo.Extensions&quot; resolve=&quot;true&quot;&#xA;  in the configuration.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In 8.2 as we know Sitecore now provides a dependency injector by default, I didn't updated this processor configuration to use that. Anyway the fix was to change the processor to:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;type=&quot;Demo.Extensions.Pipelines.GetDatasourceDependencies,Demo.Extensions&quot; resolve=&quot;true&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I hope this helps to solve any future problem with a similar case.&lt;/p&gt;&#xA;" OwnerUserId="1589" LastActivityDate="2017-09-03T01:04:12.977" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7311" PostTypeId="1" AcceptedAnswerId="7362" CreationDate="2017-09-03T13:41:24.823" Score="0" ViewCount="998" Body="&lt;p&gt;I created a new site and added few basic components like Rich-Text and Image&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then followed below did below changes after reading few articles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Duplicate Basic2 Theme with ExploreSXABasic2&lt;br&gt;&#xA;2) Changed Theme in Settings - /sitecore/content/Tenants/exploresxa/Explore-SXA/Settings -- Compatible themes:&lt;br&gt;&#xA;3) Selected Theme in Experience Editor -- ExploreSXABasic2&lt;br&gt;&#xA;4) Export Theme&lt;br&gt;&#xA;5) Edit index.html and component-richtext-content&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/unXTW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/unXTW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;br&gt;&#xA;6) Import Theme&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a class after add-your-css-classes-here in index.html -- It is imported properly. And I can see that in Selected Styles.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zYMFA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zYMFA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But changes done in component-richtext-content are not imported. &lt;/p&gt;&#xA;" OwnerUserId="1847" LastActivityDate="2017-09-08T21:11:36.943" Title="Sitecore SXA CSS Changes not importing with Creative Exchange" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7313" PostTypeId="1" AcceptedAnswerId="7314" CreationDate="2017-09-04T11:27:54.330" Score="2" ViewCount="192" Body="&lt;p&gt;Is there some way to enable a custom WFFM field to be used for the username in the &quot;Create User&quot; save action? The dialog is shown here:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pgmPh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pgmPh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried looking at the xaml file for this dialog (&lt;code&gt;\Website\sitecore\shell\Applications\Modules\Web Forms for Marketers\Dialogs\Action Editor\CreateUser.xaml.xml&lt;/code&gt;) and the associated code-behind (&lt;code&gt;Sitecore.Forms.Shell.UI.Dialogs.CreateUserPage, Sitecore.Forms.Core&lt;/code&gt;) but cannot see any way to customise what field types are accepted. I noticed that the allowed types for a password are configurable via query parameter, but cannot see any reference to the &lt;code&gt;NameField&lt;/code&gt; dropdown in the code-behind. &lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-09-04T12:06:31.350" Title="WFFM enable custom field type for username in &quot;Create User&quot; save action" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7314" PostTypeId="2" ParentId="7313" CreationDate="2017-09-04T12:06:31.350" Score="2" Body="&lt;p&gt;The answer lies in a base class of &lt;code&gt;CreateUserPage&lt;/code&gt;. This class inherits &lt;code&gt;AuditMembershipActionPage&lt;/code&gt; which inherits &lt;code&gt;MemberhipActionPage&lt;/code&gt;. &lt;code&gt;MemberhipActionPage&lt;/code&gt; has a property called &lt;code&gt;UserNameAllowedTypes&lt;/code&gt; which appears to read a query string parameter but defaults to a set list of field type IDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to supply the necessary query string parameter, I created a new save action as a copy of the OOTB &quot;Create User&quot; save action. The only thing I changed was to modify the &quot;Editor&quot; field to include query string parameters &lt;code&gt;?UserNameAllowedTypes=%7B88CECAB3-B76C-4E77-9255-DE5916334B8D%7D&lt;/code&gt; where &lt;code&gt;88CECAB3-B76C-4E77-9255-DE5916334B8D&lt;/code&gt; is the ID of my custom field type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZZy5p.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZZy5p.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-09-04T12:06:31.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7315" PostTypeId="1" AcceptedAnswerId="7318" CreationDate="2017-09-04T12:34:19.173" Score="7" ViewCount="8279" Body="&lt;p&gt;I need to serialize some custom WFFM save actions in my solution but would like to avoid needing to store each one in its own folder on the filesystem. Is there a way to indicate that I want to serialize &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions&lt;/code&gt; and just one or two of its children and place the serialized children all into the same filesystem folder?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-09-04T13:36:45.507" Title="Unicorn how to serialize parent folder and only specific children" Tags="|unicorn|serialization|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7318" PostTypeId="2" ParentId="7315" CreationDate="2017-09-04T12:50:34.760" Score="11" Body="&lt;p&gt;Unicorn 3 and above has an option to exclude child items under parent item. In your case you can use as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include database=&quot;master&quot; name=&quot;WFFMSaveActions&quot; path=&quot;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions&quot;&amp;gt;&#xA;          &amp;lt;exclude path=&quot;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/xxx&quot;/&amp;gt;&#xA;          &amp;lt;exclude path=&quot;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/YYY&quot;/&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With unicorn 4 you can also exclude using namePatterns and templateIds:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include database=&quot;master&quot; name=&quot;WFFMSaveActions&quot; path=&quot;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions&quot;&amp;gt;&#xA;          &amp;lt;exclude templateId=&quot;{3B4F2B85-778D-44F3-9B2D-BEFF1F3575E6}&quot; /&amp;gt;&#xA;          &amp;lt;exclude namePattern=&quot;^__Standard values$&quot; /&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This exclusion makes items not to be serialised by unicorn. More information about exclusions in unicorn can be found in this &lt;a href=&quot;https://kamsar.net/index.php/category/Unicorn/#Exclude_all_children_with_the_predicate&quot; rel=&quot;noreferrer&quot;&gt;blog post&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2017-09-04T13:01:47.607" LastActivityDate="2017-09-04T13:01:47.607" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7319" PostTypeId="2" ParentId="7315" CreationDate="2017-09-04T13:36:45.507" Score="8" Body="&lt;p&gt;One way to do this using Unicorn 3 is with &lt;code&gt;&amp;lt;exclude&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;except&amp;gt;&lt;/code&gt; elements. This can be done like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include name=&quot;xxxxxx.Foundation.CustomWffmFieldTypes.SaveActions&quot;&#xA;         database=&quot;master&quot;&#xA;         path=&quot;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions&quot;&amp;gt;&#xA;  &amp;lt;exclude children=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;except name=&quot;My Custom WFFM Save Action&quot;/&amp;gt;&#xA;  &amp;lt;/exclude&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This approach is described here: &lt;a href=&quot;https://github.com/kamsar/Unicorn/blob/ce1e7aacdb65d53cffa617f8a11106dd70b944e0/src/Unicorn.Tests/Predicates/TestConfiguration.xml&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/kamsar/Unicorn/blob/ce1e7aacdb65d53cffa617f8a11106dd70b944e0/src/Unicorn.Tests/Predicates/TestConfiguration.xml&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-09-04T13:36:45.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7321" PostTypeId="2" ParentId="7286" CreationDate="2017-09-05T06:17:42.217" Score="3" Body="&lt;p&gt;Instead of publishing the specific item, i published the Item bucket with smart publish option.Now the bucket folders and the item are getting published to target database.&#xA;Not sure this is the best way to do but it is working for me.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2017-09-05T06:17:42.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7322" PostTypeId="1" CreationDate="2017-09-05T07:18:48.797" Score="3" ViewCount="504" Body="&lt;p&gt;We have requirement where if a Content Item is Tagged with  “Espresso” and “Cappuccino” then this content Item will automatically be populated in the page when searched for both types of tags “Espresso” and “Coffee” where Coffee is parent Tag. So my question is&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;How do I do this in CMS when if a Content Author when selects one type of tag(Cappuccino) parent Tag(Coffee) would be automatically applied&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;To avoid performance hit how should we do this in CD we are using Solr &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Regards&#xA;SA&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="605" LastEditDate="2017-09-05T15:07:35.043" LastActivityDate="2017-09-05T15:07:35.043" Title="Sitecore Tagging" Tags="|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7323" PostTypeId="1" CreationDate="2017-09-05T07:21:59.520" Score="0" ViewCount="344" Body="&lt;p&gt;I created a custom handler to handle 301 redirect for .html extensions which is working fine. But now my client also wants to serve static html files too. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I deploy those html files into our website root they are not getting served because of the custom handler as it do not find any 301 redirect for the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to achieve both the scenarios like if no 301 redirect it should look for html file on that path and if look it should serve?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance :)&lt;/p&gt;&#xA;" OwnerUserId="676" LastActivityDate="2017-09-05T13:25:43.277" Title="Custom HTML handler" Tags="|sitecore-api|" AnswerCount="1" CommentCount="2" ClosedDate="2017-09-05T18:31:06.867" ContentLicense="CC BY-SA 3.0" />
  <row Id="7324" PostTypeId="2" ParentId="7323" CreationDate="2017-09-05T08:12:33.493" Score="1" Body="&lt;p&gt;What happens when you remove your handler from the pipeline? Does it resolve the HTML files properly? If yes, try placing your handler later in the pipeline and then Sitecore might be able to resolve your HTML files from website, before executing your redirect handler.&lt;/p&gt;&#xA;" OwnerUserId="1329" LastActivityDate="2017-09-05T08:12:33.493" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7325" PostTypeId="2" ParentId="7322" CreationDate="2017-09-05T09:49:32.320" Score="0" Body="&lt;p&gt;Espresso or Cappuccino are actually the types of coffee. You can use Sitecore rules for personalization. You can create a rule and check if current item's tag field has the value of type coffee(like for “Espresso” and “Cappuccino”) then show the rendering else hide. You should refer to rule based personlization.&lt;/p&gt;&#xA;" OwnerUserId="2075" LastActivityDate="2017-09-05T09:49:32.320" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7326" PostTypeId="1" AcceptedAnswerId="7328" CreationDate="2017-09-05T10:53:22.343" Score="1" ViewCount="349" Body="&lt;p&gt;I am building registration pages for my site using WFFM. There are 4 steps in this process which I am handling with a separate form on a separate page. To prevent users being able to access the next step before completing the previous, I am using roles and security and the &quot;Edit Role Membership&quot; Save Action for each form. What I am finding, is that if the &quot;Success Page&quot; item is denied read access for the user (until they submit the form) I get the error message &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;em&gt;Redirect item is null&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I was writing some navigation code myself I would I would just wrap my call to &lt;code&gt;LinkManager.GetItemUrl()&lt;/code&gt; with a security disabler using statement, but I'm not sure if there is a way to achieve that with WFFM? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another idea is to create intermediate redirect items without any security settings on them and link to those redirect items. When the user arrives on a redirect item, they would get redirected to the secured page and the WFFM form would be able to render the link to the redirect item without any security problems.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-09-05T11:28:33.140" Title="WFFM How to work-around error &quot;Redirect item is null&quot;" Tags="|wffm|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7328" PostTypeId="2" ParentId="7326" CreationDate="2017-09-05T11:28:33.140" Score="2" Body="&lt;p&gt;The quick and dirty approach here is to set the Success Page link as an external link (i.e. just enter &lt;code&gt;/path/to/your-page&lt;/code&gt; ) this way Sitecore does not check the security when rendering the link.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-09-05T11:28:33.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7329" PostTypeId="2" ParentId="7322" CreationDate="2017-09-05T12:24:14.710" Score="1" Body="&lt;p&gt;The approach I have taken in the past to do the least index customization was to make sure my call from the code to the ContentSearch API passed in all options. I would make sure my call included both the selected parent as well as possible children.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When search code would execute, I would try to find all the ones the user didn't select that would also apply. So, if the user picked &quot;Coffee&quot; and &quot;Espresso&quot; I would then try to make sure I passed &quot;Coffee&quot;, &quot;Espresso&quot;, and &quot;Cappucino&quot; into the search query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The general approach would be this (pseudo-code, not real C#):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;List&amp;lt;Item&amp;gt; GetTags(List&amp;lt;Tag&amp;gt; tags){&#xA;  List&amp;lt;Tag&amp;gt; allTags = copy of tags;&#xA;&#xA;  //Get the children of the selected tag (and their children)&#xA;  foreach(tag in tags){&#xA;     if(tag has children){&#xA;       allTags.Add(GetTags(tag.children))&#xA;     }&#xA;  }&#xA;&#xA;  return allTags;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above was for illustration purposes of a brute-force method. In actual implementation, you would probably execute a content search for all tags that had the selected tag as a parent in the index so that you could quickly get all of the tags in a sub-tree of your taxonomy. You would then pass this tag list as the actual filters for your search instead of the ones selected by the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are already loading all of the taxonomy into memory for display on the screen, you might already have an in-memory object you could search to find the children as well.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-09-05T12:24:14.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7330" PostTypeId="2" ParentId="5882" CreationDate="2017-09-05T13:23:02.047" Score="3" Body="&lt;p&gt;Kam Figy wrote a tool called &lt;a href=&quot;https://github.com/kamsar/leprechaun&quot; rel=&quot;nofollow noreferrer&quot;&gt;Leprechaun&lt;/a&gt; that can do what you're trying to do. It uses Roslyn code gen instead of T4 templates, but the premise is about the same. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It uses Sitecore items, serialized by Rainbow, and creates models around them. It's currently built for Synthesis out of the box, but you can create a new template based off your Glass T4 template and it'll work just fine. I actually used it to create Fortis models a couple weeks ago. &lt;/p&gt;&#xA;" OwnerUserId="4" LastActivityDate="2017-09-05T13:23:02.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7331" PostTypeId="1" AcceptedAnswerId="7332" CreationDate="2017-09-05T13:58:33.690" Score="2" ViewCount="563" Body="&lt;p&gt;I am looking out for option for creating a Multi Site Project in Sitecore 8.2.&#xA;I do see the option available that can help me in doing so are :&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;SXA &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/create_a_tenant_and_a_site&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/create_a_tenant_and_a_site&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Multiple Sites Manager&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Multiple_Sites_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Multiple_Sites_Manager.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Foundry&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Foundry_Site_Center.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Foundry_Site_Center.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Does they work in Sitecore 8.2? What are there specific features that can help me in achieving Multiple websites in better way? How they differ from each other?&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="946" LastEditDate="2024-02-07T22:49:24.590" LastActivityDate="2024-02-07T22:49:24.590" Title="SXA or Multiple Sites Manager or Sitecore Foundry for Multi Sites in Sitecore 8.2" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7332" PostTypeId="2" ParentId="7331" CreationDate="2017-09-05T15:29:49.280" Score="6" Body="&lt;p&gt;First, it is worth pointing out, that to create a multi-site implementation in Sitecore, you don't &lt;em&gt;need&lt;/em&gt; any of the modules you mention. Sitecore supports multi-site out of the box - you just need to set the configuration in the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; node to point domains at the right part of the content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said that, here is overview of the 3 options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Foundry - AFAIK, Foundry is not supported on the latest versions of Sitecore. The module hasn't been updated since 4-17-2015, so I would not consider it an option.&lt;/li&gt;&#xA;&lt;li&gt;Multiple Sites Manager - does look like a good option. It has a good team behind it. This would be a good fall back if you don't have SXA&lt;/li&gt;&#xA;&lt;li&gt;SXA - This would be my choice... &lt;em&gt;if&lt;/em&gt; you have the license for it. Remember that SXA is an extra license for Sitecore 8.2. Also, this is a good option &lt;em&gt;IF&lt;/em&gt; you plan to build your site using SXA. If you are only looking for multi-site options and you want to custom build your site, then this would be overkill. Just roll your own out. BUT if you take advantage of all that SXA has to offer, it is the best option here because of all the extra enhancements that you get with SXA.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Ultimately, the best option comes down to your implementation. If you plan to build the site with SXA, it is a great option. If you don't have the license, or just want to build everything custom, Multiple Sites Manager also looks good. And remember, you can always roll your own solution out.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-09-05T15:29:49.280" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7333" PostTypeId="1" AcceptedAnswerId="7341" CreationDate="2017-09-06T05:02:40.680" Score="1" ViewCount="1438" Body="&lt;p&gt;I've recently imported a couple of the Test projects from a site running Sitecore 8.2 into a site running 7.2.  When I run the tests, they all error with the message &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not resolve type name: Sitecore.Data.DefaultDatabase, Sitecore.Kernel.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;app.config&lt;/code&gt;, I found this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- DATABASE TYPE&#xA;     For Sitecore versions prior to 8.2 should be 'Sitecore.Data.Database, Sitecore.Kernel'.&#xA;     For Sitecore 8.2 and later should be 'Sitecore.Data.DefaultDatabase, Sitecore.Kernel'. --&amp;gt;&#xA;&amp;lt;sc.variable name=&quot;databaseType&quot; value=&quot;Sitecore.Data.Database, Sitecore.Kernel&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I replaced all instances in the solution of &lt;code&gt;Sitecore.Data.DefaultDatabase&lt;/code&gt; with &lt;code&gt;Sitecore.Data.Database&lt;/code&gt;, but I still get the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The test projects are using FakeDb.&lt;/p&gt;&#xA;" OwnerUserId="1490" LastEditorUserId="70" LastEditDate="2017-09-06T13:02:05.760" LastActivityDate="2017-09-07T03:51:22.530" Title="Error: Could not resolve type name: Sitecore.Data.DefaultDatabase, Sitecore.Kernel" Tags="|fakedb|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7334" PostTypeId="2" ParentId="4311" CreationDate="2017-09-06T06:09:28.650" Score="0" Body="&lt;p&gt;In my case , i had to create the folders manually in the system as per the configuration and it stared working . &lt;a href=&quot;https://i.stack.imgur.com/0eyIk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0eyIk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The creativeExchangeFolder path can be found in the config file &quot;App_Config\Include\Feature\Sitecore.XA.Feature.CreativeExchange.config&quot;&lt;/p&gt;&#xA;" OwnerUserId="2384" LastActivityDate="2017-09-06T06:09:28.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7335" PostTypeId="2" ParentId="7333" CreationDate="2017-09-06T07:20:10.273" Score="2" Body="&lt;p&gt;Sitecore 8.2 introduced changes to the way &lt;code&gt;Database&lt;/code&gt; is handled internally. To make FakeDB work on 8.2, you need to add a configuration snippet to &lt;code&gt;App_Config\Include&lt;/code&gt; containing the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;databases&amp;gt;&#xA;      &amp;lt;database id=&quot;core&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/database&amp;gt;&#xA;      &amp;lt;database id=&quot;master&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/database&amp;gt;&#xA;      &amp;lt;database id=&quot;web&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/database&amp;gt;&#xA;    &amp;lt;/databases&amp;gt;&#xA;    &amp;lt;!-- EVENTING --&amp;gt;&#xA;    &amp;lt;eventing defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear /&amp;gt;&#xA;        &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Eventing.EventProvider, Sitecore.Kernel&quot; systemDatabaseName=&quot;core&quot; /&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/eventing&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More information to be found here: &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/issues/139&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 - Could not create instance of type: Sitecore.Data.Database. No matching constructor was found.&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-09-06T07:20:10.273" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7336" PostTypeId="1" AcceptedAnswerId="7762" CreationDate="2017-09-06T08:03:11.367" Score="2" ViewCount="763" Body="&lt;p&gt;I've recently upgraded a &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 7.2 (rev. 140526) with Webforms for Marketers 2.4 (rev. 141008)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.2, Update 1 (rev. 161115) with Webforms for Marketers 8.2 (rev. 161129)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have a single server setup, with no CD servers. Everything is done on the same server. No analytics or tracking enabled. I use a pure SQL setup without any Mongo database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the most part, it has been working well, but periodically I get the following error when I try to log into Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;&#xA;contextDatabase&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.InvalidOperationException: contextDatabase&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[InvalidOperationException: contextDatabase]&#xA;   Sitecore.Forms.Core.Dependencies.DefaultImplItemRepository..ctor(Database contextDatabase, Database masterDatabase) +103&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +438&#xA;   Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters) +119&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +117&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +163&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +615&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +170&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +116&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +109&#xA;   Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert) +161&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +103&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +163&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +615&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +170&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +116&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +109&#xA;   Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert) +161&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +103&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +163&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert) +68&#xA;   Sitecore.Events.EventSubscribers.Add(String eventName, XmlNode configNode) +545&#xA;   Sitecore.Events.Event.GetConfigSubscribers() +562&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +373&#xA;   Sitecore.Data.DataProviders.Sql.SqlDataProvider.SetProperty(String parameterName, String value, CallContext context) +274&#xA;   Sitecore.Data.DataProviders.DataProvider.SetProperty(String name, String value, CallContext context, DataProviderCollection providers) +124&#xA;   Sitecore.Data.DataManager.SetProperty(String name, String value) +116&#xA;   Sitecore.Web.Authentication.DefaultTicketManager.CreateTicket(String userName, String startUrl, Boolean persist) +436&#xA;   Sitecore.Pipelines.LoggedIn.Ticket.Process(LoggedInArgs args) +57&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;   Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;   Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline) +313&#xA;   Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic) +173&#xA;   Sitecore.Pipelines.Pipeline.Start(String pipelineName, PipelineArgs args, Boolean atomic) +89&#xA;   Sitecore.sitecore.login.Default.LoggedIn() +134&#xA;   Sitecore.sitecore.login.Default.LoginClicked(Object sender, EventArgs e) +76&#xA;   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +11773413&#xA;   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +150&#xA;   System.Web.UI.&amp;lt;ProcessRequestMainAsync&amp;gt;d__523.MoveNext() +8499&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It appears to be an issue with WFFM's item repository. To further investigate I've done the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I've checked the code that provides the context database (StaticSettings.ContextDatabase) and not matter when I call it during my pipeline it returns the database and not null.&lt;/li&gt;&#xA;&lt;li&gt;I've tried to create my own instance of DefaultImplItemRepository and it also works fine. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Sometimes the error goes away by itself. I do stuff like restart the browser, clear the cache, clear the cookies, restart the IIS, the website or the application pool, log into sitecore using incognito, or open the console and disable caching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the error is gone it will normally be gone for the rest of the day. But once it comes back it can take hours before it &quot;leaves&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is welcome as I am pulling my hair out of my head, trying to fix this&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After looking into the Sitecore logs I've found the following error thrown. It starts of differently but then has the other 3 nested exceptions with in it. The entire error from the logs can be seen here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;30592 11:27:13 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;Source: System.Web&#xA;   at System.Web.UI.Page.HandleError(Exception e)&#xA;   at System.Web.UI.Page.&amp;lt;ProcessRequestMainAsync&amp;gt;d__523.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()&#xA;   at System.Web.UI.Page.&amp;lt;ProcessRequestAsync&amp;gt;d__515.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.UI.Page.&amp;lt;ProcessRequestAsync&amp;gt;d__554.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)&#xA;   at ASP.sitecore_login_default_aspx.EndProcessRequest(IAsyncResult ar) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ef3f15d9\94a73b47\App_Web_cfepw0f1.0.cs:line 0&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline)&#xA;   at Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic)&#xA;   at Sitecore.Pipelines.Pipeline.Start(String pipelineName, PipelineArgs args, Boolean atomic)&#xA;   at Sitecore.sitecore.login.Default.LoggedIn()&#xA;   at Sitecore.sitecore.login.Default.LoginClicked(Object sender, EventArgs e)&#xA;   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)&#xA;   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)&#xA;   at System.Web.UI.Page.&amp;lt;ProcessRequestMainAsync&amp;gt;d__523.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert)&#xA;   at Sitecore.Events.Event.EventSubscribers.Add(String eventName, XmlNode configNode)&#xA;   at Sitecore.Events.Event.GetConfigSubscribers()&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Data.DataProviders.Sql.SqlDataProvider.SetProperty(String parameterName, String value, CallContext context)&#xA;   at Sitecore.Data.DataProviders.DataProvider.SetProperty(String name, String value, CallContext context, DataProviderCollection providers)&#xA;   at Sitecore.Data.DataManager.SetProperty(String name, String value)&#xA;   at Sitecore.Web.Authentication.DefaultTicketManager.CreateTicket(String userName, String startUrl, Boolean persist)&#xA;   at Sitecore.Pipelines.LoggedIn.Ticket.Process(LoggedInArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: contextDatabase&#xA;Source: Sitecore.Forms.Core&#xA;   at Sitecore.Forms.Core.Dependencies.DefaultImplItemRepository..ctor(Database contextDatabase, Database masterDatabase)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am still clueless to what can cause this error. Any help is welcome&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something that temporarily remove the error was upgrading our old MongoDB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our server was running MongoDB 2.6.3. &#xA;My local machine is running MongoDB 3.2.13&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever I tried to access my local mongo everything would work. Updating the server's mongoDB to 3.0.15-10-g056b343 removed the issue temporarily.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Mongo upgrade did not fix the issue. Another workaround has been found. Adding the following to the url, should allow login:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;?sc_content=master&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So if you try to login at your site at www.mysite.com/sitecore/login, add the above query to the url, reload the site and then login agian&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;www.mysite.com/sitecore/login?sc_content=master&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works because sitecore makes a lookup for the content database on login and adding this allows it to find the master database instead of null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this code snippet for more information:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore&#xA;{ &#xA;    /// &amp;lt;summary&amp;gt;Gets the current content database.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;The content database.&amp;lt;/value&amp;gt;&#xA;    /// &amp;lt;remarks&amp;gt;&#xA;    ///     &amp;lt;para&amp;gt;This property specifies which database is being edited by the client. Usually&#xA;    /// this is the Master database.&amp;lt;/para&amp;gt;&#xA;    ///     &amp;lt;para&amp;gt;Normally this property is only accessed from within the client.&amp;lt;/para&amp;gt;&#xA;    ///     &amp;lt;para&amp;gt;The value is specified in the Sites section in the web.config.&amp;lt;/para&amp;gt;&#xA;    /// &amp;lt;/remarks&amp;gt;&#xA;    public static Database ContentDatabase&#xA;    {&#xA;      get&#xA;      {&#xA;        Database database = Context.Items[&quot;sc_ContentDatabase&quot;] as Database;&#xA;        if (database == null)&#xA;        {&#xA;          string name = WebUtil.GetQueryString(&quot;sc_content&quot;);&#xA;          if (name.Length == 0)&#xA;            name = Sitecore.Configuration.State.ContentDatabase;&#xA;          SiteContext site = Context.Site;&#xA;          if (site != null)&#xA;          {&#xA;            string property = site.Properties[&quot;content&quot;];&#xA;            if (name.Length == 0)&#xA;              name = property;&#xA;          }&#xA;          if (string.IsNullOrEmpty(name))&#xA;            return (Database) null;&#xA;          database = Factory.GetDatabase(name, false);&#xA;          Assert.IsNotNull((object) database, &quot;Content database '&quot; + name + &quot;' not found.&quot;);&#xA;          Assert.IsTrue(!database.Protected || Context.IsAdministrator, &quot;Content database '&quot; + name + &quot;' requires administrative priviliges.&quot;);&#xA;          Context.Items[&quot;sc_ContentDatabase&quot;] = (object) database;&#xA;        }&#xA;        return database;&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 4&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further investigation, using decompiled assemblies of Sitecore.Forms.Core and Sitecore.Kernel reveals that a WFFM evnet is fired during login. At the line&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Events.EventSubscribers.Add(String eventName, XmlNode configNode) +545&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The variable eventName has the value wffm:action:remote. So for some reason this event is fired at login, which triggers WFFM to get the context database, which again fails&lt;/p&gt;&#xA;" OwnerUserId="2367" LastEditorUserId="2367" LastEditDate="2017-10-06T13:25:55.480" LastActivityDate="2017-10-24T13:14:18.367" Title="Q: WFFM DefaultImpItemResolver contextDatabase is null" Tags="|wffm|express-migration-tool|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="7337" PostTypeId="1" CreationDate="2017-09-06T08:37:04.250" Score="0" ViewCount="3469" Body="&lt;p&gt;I'm facing issue running gulp successfully for installing Habitat with VS2017 Community edition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked the Node version, msbuild version and all is fine. But when I run gulp it automatically detects msbuild path as:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;C:\Program Files (x86)\Microsoft Visual Studio\2017\&lt;strong&gt;Enterprise&lt;/strong&gt;\MSBuild\15.0\Bin\amd64\MSBuild.exe&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;where as the actual path is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;C:\Program Files (x86)\Microsoft Visual Studio\2017\&lt;strong&gt;Community&lt;/strong&gt;\MSBuild\15.0\Bin\amd64\MSBuild.exe&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any help to fix the msbuild path detection by gulp would be really appreaciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the error I'm facing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\projects\Habitat&amp;gt;gulp&#xA;[11:57:14] O---o   _____ _ _                            _   _      _ _&#xA;[11:57:14]  O-o   /  ___(_) |                          | | | |    | (_)&#xA;[11:57:14]   O    \ `--. _| |_ ___  ___ ___  _ __ ___  | |_| | ___| |___  __&#xA;[11:57:14]  o-O    `--. \ | __/ _ \/ __/ _ \| '__/ _ \ |  _  |/ _ \ | \ \/ /&#xA;[11:57:14] o---O  /\__/ / | ||  __/ (_| (_) | | |  __/ | | | |  __/ | |&amp;gt;  &amp;lt;&#xA;[11:57:14] O---o  \____/|_|\__\___|\___\___/|_|  \___| \_| |_/\___|_|_/_/\_\&#xA;[11:57:14]  O-o&#xA;[11:57:14]   O    -------------------- helix.sitecore.net ------------------&#xA;[11:57:14]  o-O&#xA;[11:57:14] o---O  The Habitat source code, tools and processes are examples of &#xA;Sitecore Helix.&#xA;[11:57:14] O---o  Habitat is not supported by Sitecore and should be used at your own risk.&#xA;[11:57:14]  O-o&#xA;[11:57:14]   O    ----------------------------------------------------------&#xA;[11:57:14]  o-O&#xA;[11:57:14] o---O&#xA;[11:57:14] Using gulpfile C:\projects\Habitat\gulpfile.js&#xA;[11:57:14] Starting 'default'...&#xA;[11:57:14] Starting '01-Copy-Sitecore-License'...&#xA;Copying Sitecore License file&#xA;[11:57:14] Finished '01-Copy-Sitecore-License' after 43 ms&#xA;[11:57:14] Starting '02-Nuget-Restore'...&#xA;[11:57:15] MSBuild auto-detection: using msbuild version '4.0' from 'C:\Windows\Microsoft.NET\Framework\v4.0.30319'.&#xA;All packages listed in packages.config are already installed.&#xA;[11:57:15] Finished '02-Nuget-Restore' after 1.01 s&#xA;[11:57:15] Starting '03-Publish-All-Projects'...&#xA;[11:57:15] Starting 'Build-Solution'...&#xA;[11:57:15] { Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;    at exports._errnoException (util.js:1020:11)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32)&#xA;    at onErrorNT (internal/child_process.js:376:16)&#xA;    at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;    at process._tickCallback (internal/process/next_tick.js:104:9)&#xA;  code: 'ENOENT',&#xA;  errno: 'ENOENT',&#xA;  syscall: 'spawn C:\\Program Files (x86)\\Microsoft Visual &#xA;Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\amd64\\MSBuild.exe',&#xA;  path: 'C:\\Program Files (x86)\\Microsoft Visual &#xA;Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\amd64\\MSBuild.exe',&#xA;  spawnargs:&#xA;   [ 'C:\\projects\\Habitat\\Habitat.sln',&#xA;     '/target:Clean;Build',&#xA;     '/verbosity:minimal',&#xA;     '/toolsversion:15.0',&#xA;     '/nologo',&#xA;     '/maxcpucount',&#xA;     '/nodeReuse:False',&#xA;     '/property:Configuration=Debug',&#xA;     '/property:Platform=Any CPU' ] }&#xA;[11:57:15] MSBuild failed!&#xA;[11:57:15] 'Build-Solution' errored after 26 ms&#xA;[11:57:15] Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;    at exports._errnoException (util.js:1020:11)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32)&#xA;    at onErrorNT (internal/child_process.js:376:16)&#xA;    at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;    at process._tickCallback (internal/process/next_tick.js:104:9)&#xA;[11:57:15] 'default' errored after 1.11 s&#xA;[11:57:15] Error in plugin 'run-sequence(Build-Solution)'&#xA;Message:&#xA;    spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;Details:&#xA;    code: ENOENT&#xA;    errno: ENOENT&#xA;    syscall: spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;    path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;    spawnargs: C:\projects\Habitat\Habitat.sln,/target:Clean;Build,/verbosity:minimal,/toolsversion:15.0,/nologo,/maxcpucount,/nodeReuse:False,/property:Configuration=Debug,/property:Platform=Any CPU&#xA;Stack:&#xA;Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;    at exports._errnoException (util.js:1020:11)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32)&#xA;    at onErrorNT (internal/child_process.js:376:16)&#xA;    at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;    at process._tickCallback (internal/process/next_tick.js:104:9)&#xA;[11:57:15] '03-Publish-All-Projects' errored after 48 ms&#xA;[11:57:15] Error in plugin 'run-sequence(default)'&#xA;Message:&#xA;    spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;Details:&#xA;    code: ENOENT&#xA;    errno: ENOENT&#xA;    syscall: spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;    path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;    spawnargs: C:\projects\Habitat\Habitat.sln,/target:Clean;Build,/verbosity:minimal,/toolsversion:15.0,/nologo,/maxcpucount,/nodeReuse:False,/property:Configuration=Debug,/property:Platform=Any CPU&#xA;Stack:&#xA;Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;    at exports._errnoException (util.js:1020:11)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32)&#xA;    at onErrorNT (internal/child_process.js:376:16)&#xA;    at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;    at process._tickCallback (internal/process/next_tick.js:104:9)&#xA;[11:57:15] '03-Publish-All-Projects' errored after 55 ms&#xA;[11:57:15] Error in plugin 'run-sequence(Build-Solution)'&#xA;Message:&#xA;    spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;Details:&#xA;    code: ENOENT&#xA;    errno: ENOENT&#xA;    syscall: spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;    path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe&#xA;    spawnargs: C:\projects\Habitat\Habitat.sln,/target:Clean;Build,/verbosity:minimal,/toolsversion:15.0,/nologo,/maxcpucount,/nodeReuse:False,/property:Configuration=Debug,/property:Platform=Any CPU&#xA;Stack:&#xA;Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT&#xA;    at exports._errnoException (util.js:1020:11)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32)&#xA;    at onErrorNT (internal/child_process.js:376:16)&#xA;    at _combinedTickCallback (internal/process/next_tick.js:80:11)&#xA;    at process._tickCallback (internal/process/next_tick.js:104:9)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is my Packacge.json:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;name&quot;: &quot;habitat&quot;,&#xA;  &quot;version&quot;: &quot;1.0.0&quot;,&#xA;  &quot;description&quot;: &quot;Sitecore Habitat Node Dependencies&quot;,&#xA;  &quot;main&quot;: &quot;gulpfile.js&quot;,&#xA;  &quot;dependencies&quot;: {&#xA;    &quot;async&quot;: &quot;^1.5.2&quot;,&#xA;    &quot;glob&quot;: &quot;^7.0.3&quot;,&#xA;    &quot;gulp&quot;: &quot;^3.9.0&quot;,&#xA;    &quot;gulp-autoprefixer&quot;: &quot;^3.1.0&quot;,&#xA;    &quot;gulp-debug&quot;: &quot;^2.1.2&quot;,&#xA;    &quot;gulp-exec&quot;: &quot;^2.1.2&quot;,&#xA;    &quot;gulp-foreach&quot;: &quot;^0.1.0&quot;,&#xA;    &quot;gulp-load-plugins&quot;: &quot;^1.0.0&quot;,&#xA;    &quot;gulp-msbuild&quot;: &quot;^0.4.4&quot;,&#xA;    &quot;gulp-newer&quot;: &quot;^1.0.0&quot;,&#xA;    &quot;gulp-rename&quot;: &quot;^1.2.2&quot;,&#xA;    &quot;gulp-rimraf&quot;: &quot;^0.2.0&quot;,&#xA;    &quot;gulp-sass&quot;: &quot;^2.0.4&quot;,&#xA;    &quot;gulp-util&quot;: &quot;^3.0.7&quot;,&#xA;    &quot;gulp-watch&quot;: &quot;^4.3.5&quot;,&#xA;    &quot;merge-stream&quot;: &quot;^1.0.0&quot;,&#xA;    &quot;node-sass&quot;: &quot;^4.5.3&quot;,&#xA;    &quot;rimraf&quot;: &quot;^2.4.3&quot;,&#xA;    &quot;run-sequence&quot;: &quot;^1.1.4&quot;,&#xA;    &quot;vinyl&quot;: &quot;^1.1.0&quot;,&#xA;    &quot;xml2js&quot;: &quot;^0.4.16&quot;,&#xA;    &quot;xmlpoke&quot;: &quot;^0.1.12&quot;,&#xA;    &quot;yargs&quot;: &quot;^6.4.0&quot;&#xA;  },&#xA;  &quot;devDependencies&quot;: {&#xA;    &quot;gulp-msbuild&quot;: &quot;^0.4.8&quot;,&#xA;    &quot;gulp-nuget-restore&quot;: &quot;^0.4.0&quot;&#xA;  },&#xA;  &quot;scripts&quot;: {&#xA;    &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;amp;&amp;amp; exit 1&quot;&#xA;  },&#xA;  &quot;repository&quot;: {&#xA;    &quot;type&quot;: &quot;git&quot;,&#xA;    &quot;url&quot;: &quot;git+https://github.com/Sitecore/Habitat.git&quot;&#xA;  },&#xA;  &quot;author&quot;: &quot;Sitecore Corporation A/S&quot;,&#xA;  &quot;license&quot;: &quot;ISC&quot;,&#xA;  &quot;bugs&quot;: {&#xA;    &quot;url&quot;: &quot;https://github.com/Sitecore/Habitat/issues&quot;&#xA;  },&#xA;  &quot;homepage&quot;: &quot;https://github.com/Sitecore/Habitat#readme&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;gulp-config.js:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;module.exports = function () {&#xA;  var instanceRoot = &quot;C:\\websites\\Habitat.dev.local&quot;;&#xA;  var config = {&#xA;    websiteRoot: instanceRoot + &quot;\\Website&quot;,&#xA;    sitecoreLibraries: instanceRoot + &quot;\\Website\\bin&quot;,&#xA;    licensePath: instanceRoot + &quot;\\Data\\license.xml&quot;,&#xA;    solutionName: &quot;Habitat&quot;,&#xA;    buildConfiguration: &quot;Debug&quot;,&#xA;    buildToolsVersion: 15.0,&#xA;    buildMaxCpuCount: 0,&#xA;    buildVerbosity: &quot;minimal&quot;,&#xA;    buildPlatform: &quot;Any CPU&quot;,&#xA;    publishPlatform: &quot;AnyCpu&quot;,&#xA;    runCleanBuilds: false&#xA;  };&#xA;  return config;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;gulp task:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;gulp.task(&quot;03-Publish-All-Projects&quot;, function (callback) {&#xA;  return runSequence(&#xA;    &quot;Build-Solution&quot;,&#xA;    &quot;Publish-Foundation-Projects&quot;,&#xA;    &quot;Publish-Feature-Projects&quot;,&#xA;    &quot;Publish-Project-Projects&quot;, callback);&#xA;});&#xA;gulp.task(&quot;Build-Solution&quot;, function () {&#xA;  var targets = [&quot;Build&quot;];&#xA;  if (config.runCleanBuilds) {&#xA;    targets = [&quot;Clean&quot;, &quot;Build&quot;];&#xA;  }&#xA;&#xA;  var solution = &quot;./&quot; + config.solutionName + &quot;.sln&quot;;&#xA;  return gulp.src(solution)&#xA;      .pipe(msbuild({&#xA;          targets: targets,&#xA;          configuration: config.buildConfiguration,&#xA;          logCommand: false,&#xA;          verbosity: config.buildVerbosity,&#xA;          stdout: true,&#xA;          errorOnFail: true,&#xA;          maxcpucount: config.buildMaxCpuCount,&#xA;          nodeReuse: false,&#xA;          toolsVersion: config.buildToolsVersion,&#xA;          properties: {&#xA;            Platform: config.buildPlatform&#xA;          }&#xA;        }));&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="206" LastEditorUserId="73" LastEditDate="2017-09-10T10:10:18.787" LastActivityDate="2017-09-11T14:27:24.260" Title="How to fix msbuild path detection from Enterprise to Community edition" Tags="|habitat|gulp|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7339" PostTypeId="1" AcceptedAnswerId="7340" CreationDate="2017-09-06T18:44:52.110" Score="1" ViewCount="1006" Body="&lt;p&gt;I need to write a Powershell script to find items that refer to a specific composite component and break inheritance for presentation. If I go to the Navigation Tab in the Content Editor and click Links I get a list of these items but I want to filter out the ones that are marked as [Inherited]. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$props = @{&#xA;   InfoTitle = &quot;Referrers&quot;&#xA;    InfoDescription = &quot;Lists all items that are using this item&quot;&#xA;    PageSize = 25&#xA;}&#xA;&#xA;function Get-ItemReferrers {&#xA;    $item = Get-Item -Path &quot;/sitecore/content/Shared/Composite components/Header&quot;&#xA;    $linkDb = [Sitecore.Globals]::LinkDatabase&#xA;    $links = $linkDb.GetReferrers($item)&#xA;    foreach($link in $links){&#xA;        $linkedItem = Get-Item -Path master:\ -ID $link.SourceItemID&#xA;        $linkedItem&#xA;    }&#xA;}&#xA;&#xA;$items = Get-ItemReferrers&#xA;$items | Show-ListView @props -Property @{Label=&quot;Name&quot;; Expression={$_.DisplayName} },&#xA;        @{Label=&quot;Path&quot;; Expression={$_.ItemPath} },&#xA;        @{Label=&quot;Inheritance&quot;; Expression={$_.&quot;__Renderings&quot;} },&#xA;        @{Label=&quot;Updated&quot;; Expression={$_.__Updated} },&#xA;        @{Label=&quot;Updated by&quot;; Expression={$_.&quot;__Updated by&quot;} },&#xA;        @{Label=&quot;Created&quot;; Expression={$_.__Created} },&#xA;        @{Label=&quot;Created by&quot;; Expression={$_.&quot;__Created by&quot;} }&#xA;&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried a number of fields for the Inheritance field but I don't think that is stored in a field. How do I tell if the item does not inherit presentation from standard values?&lt;/p&gt;&#xA;" OwnerUserId="2388" LastEditorUserId="237" LastEditDate="2017-12-18T10:24:37.187" LastActivityDate="2017-12-18T10:24:37.187" Title="Sitecore Powershell script to find items that break inheritance" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7340" PostTypeId="2" ParentId="7339" CreationDate="2017-09-06T19:27:42.453" Score="4" Body="&lt;p&gt;When I use the built-in command &lt;code&gt;Get-ItemReferrer&lt;/code&gt; I do not see inherited items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Avoid writing your own function and use the OOTB one.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Get the Sample Inner Sublayout item&#xA;$item = Get-Item &quot;master:&quot; -ID &quot;{CE4ADCFB-7990-4980-83FB-A00C1E3673DB}&quot;&#xA;Get-ItemReferrer -Item $item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/djNLY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/djNLY.png&quot; alt=&quot;Output&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3oBnR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3oBnR.png&quot; alt=&quot;Referrers&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-09-06T19:27:42.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7341" PostTypeId="2" ParentId="7333" CreationDate="2017-09-07T03:51:22.530" Score="0" Body="&lt;p&gt;It turns out that I had a couple of the patch files hanging around on the file system.  They weren't in the solution, so I didn't spot them at first until I did a search through the file system for &quot;Sitecore.Data.DefaultDatabase&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I have a whole new unrelated error to work through.&lt;/p&gt;&#xA;" OwnerUserId="1490" LastActivityDate="2017-09-07T03:51:22.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7342" PostTypeId="1" AcceptedAnswerId="7347" CreationDate="2017-09-07T11:34:45.570" Score="5" ViewCount="708" Body="&lt;p&gt;Is it ok for a Feature module to reference the &lt;em&gt;name&lt;/em&gt; (nothing else) of an item in the project layer?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I can tell this would be classified as a &lt;em&gt;weak&lt;/em&gt; dependency as it is only in the name of an item. However, this dependency is in the wrong direction as the Feature module effectively becomes dependent on content in the Project layer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of this is the use of Dictionary items. You would call a (Foundation level) extension method to get a dictionary translation within a Feature layer component. But the dictionary item actually lives in the project layer (in the content of the site. Is there some rule about failing gracefully in the event of one of these dependent items not existing?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-09-07T19:35:19.387" Title="Helix: Is it OK to reference Project layer content items by name in the Feature layer" Tags="|helix|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7343" PostTypeId="2" ParentId="7342" CreationDate="2017-09-07T11:46:27.767" Score="7" Body="&lt;h1&gt;No.&lt;/h1&gt;&#xA;&lt;p&gt;One of the core principles of Helix is, that it relies on the &lt;em&gt;Stable Dependency Principle&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Stable Dependency Principle&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The dependencies between packages should be in the direction of the stability of the packages. A package should only depend upon packages that are more stable than it is.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod&quot; rel=&quot;noreferrer&quot;&gt;http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Which means your dependencies should always flow from unstable (project) towards stable (Feature -&amp;gt; Foundation).&lt;/p&gt;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;http://helix.sitecore.net/principles/architecture-principles/layers.html&quot; rel=&quot;noreferrer&quot;&gt;Layers [Helix]&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;It doesn't really matter if all you reference is an item name, an item path or whatever else - your Foundation code should never rely on anything at all in layers above it.&lt;/p&gt;&#xA;&lt;p&gt;Architecturally, it would be acceptable to have Foundation code and interfaces define what is required (in terms of an Interface or perhaps a base template), to make specific functionality work - and then the Project layer sending down an item or whatever conforming to this interface definition for the Foundation code to work with.&lt;/p&gt;&#xA;&lt;p&gt;I'll exemplify&lt;/p&gt;&#xA;&lt;h2&gt;Naughty Foundation Code&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;public void KeywordExtractor()&#xA;{&#xA;    // just go home already, will ya?&#xA;    var itemToExtractFrom = Sitecore.Context.Item;&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Doesn't really matter if it goes to Context Item or it references a specific Project Layer item directly - it's a clear no-go zone.&lt;/p&gt;&#xA;&lt;h2&gt;Better behaved Foundation Code&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;public void KeywordExtractor(Item keywordItem)&#xA;{&#xA;    Assert.That(keywordItem).InheritsFrom(myFoundationBaseTemplate);&#xA;    DoGreatFoundationThings(keywordItem);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-09-07T11:54:45.137" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7345" PostTypeId="1" AcceptedAnswerId="7346" CreationDate="2017-09-07T16:13:09.130" Score="1" ViewCount="424" Body="&lt;p&gt;I need to patch in a fix for a bug with Sitecore MVC Caching (confirmed by support).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pipeline I need to patch into is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to set cache settings on the page object, e.g: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;page.Response.Cache.SetCacheability(HttpCacheability.NoCache);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However to do that I need access to the System.Web.UI.Page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whatever I try the page is coming up null:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PageContext page = Context.Page;&#xA;Page page = HttpContext.Current.Handler as Page;&#xA;Page page = Sc.Context.Page.Page;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I know I can use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Page page = PageContext.CurrentOrNull.Item;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To get the Sitecore page item but I need the System.Web.UI.Page, not the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing this is due to the order in which the MVC Pipelines run etc: &lt;a href=&quot;http://jockstothecore.com/sitecore-mvc-item-maze/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jockstothecore.com/sitecore-mvc-item-maze/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other info:&lt;/strong&gt; Sitecore 8.1 Update 2, MVC&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-09-07T16:35:43.573" LastActivityDate="2017-09-07T16:38:57.320" Title="Setting the Page Cache headers in the mvc.getPageRendering Pipeline" Tags="|mvc|pipelines|caching|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7346" PostTypeId="2" ParentId="7345" CreationDate="2017-09-07T16:38:57.320" Score="2" Body="&lt;p&gt;As mentioned in the comments I was going about this in the wrong way for MVC. This is the solution for my pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Process(GetPageRenderingArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;            Profiler.StartOperation(&quot;Update browser caching headers.&quot;);&#xA;            HttpContext currentContext = HttpContext.Current;&#xA;            Item currentItem = PageContext.CurrentOrNull.Item;&#xA;&#xA;            if (currentContext == null)&#xA;                return;&#xA;&#xA;            MvcBrowserCaching.SetCacheHeaders(currentContext);&#xA;&#xA;            if (currentItem != null)&#xA;                MvcBrowserCaching.SetUpdateHeaders(currentItem, currentContext);&#xA;&#xA;            Profiler.EndOperation();&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can then set the cache like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;currentContext.Response.Cache.SetCacheability(HttpCacheability.NoCache);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-09-07T16:38:57.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7347" PostTypeId="2" ParentId="7342" CreationDate="2017-09-07T19:35:19.387" Score="3" Body="&lt;h1&gt;It depends.&lt;/h1&gt;&#xA;&lt;p&gt;Whilst the answer from Mark is technically correct and would be the general principle to use when following the Helix guidelines, there are always the &amp;quot;it depends&amp;quot; cases.&lt;/p&gt;&#xA;&lt;p&gt;The specific example you are looking at from the Habitat example is the Dictionary Foundation module, so it's worth looking at the specifics of this and the actual &amp;quot;dependencies&amp;quot;.&lt;/p&gt;&#xA;&lt;h2&gt;But there's a dependency...&lt;/h2&gt;&#xA;&lt;p&gt;In this instance the reference is on the &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Project/Habitat/serialization/Content/Habitat/Global/Dictionary/Accounts/Accounts%20Menu/Login.yml&quot; rel=&quot;nofollow noreferrer&quot;&gt;Login dictionary item&lt;/a&gt; in Project layer from &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Feature/Accounts/code/Views/Accounts/AccountsMenu.cshtml#L25&quot; rel=&quot;nofollow noreferrer&quot;&gt;AccountsMenu.cshtml&lt;/a&gt; in Feature layer.&lt;/p&gt;&#xA;&lt;p&gt;The dependency is on content. Content changes, and content can also be deleted. Your code should always be defensive to cater for these types of scenarios, which in this particular example does this. The  built in &lt;code&gt;Translate.Text(&amp;quot;key&amp;quot;)&lt;/code&gt; method for example will return the key if the Dictionary Item is not found, or &lt;code&gt;Settings.GetSetting(&amp;quot;SettingName&amp;quot;, &amp;quot;default value&amp;quot;)&lt;/code&gt; allows for a default value to be returned if none is set.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;A package should only depend upon packages that are more stable than it is.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;But there is no dependency in the traditional sense, there are no Feature layers referencing Project layers. If the Project layer instance was remove, the feature module would continue to function without any issues or compile/runtime errors.&lt;/p&gt;&#xA;&lt;h2&gt;Default Values&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Dictionary/code/Extensions/SitecoreExtensions.cs#L15&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;DictionaryField&lt;/code&gt; helper&lt;/a&gt; accepts a default value, e.g.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().DictionaryField(&amp;quot;/Accounts/Accounts Menu/Login&amp;quot;, &amp;quot;Login&amp;quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Again, Sitecore does this for it's own Dictionary implementation, through the use of Dictionary Domains and fallback (then finally returning the key itself), which allows you to override the default value of an item in a higher level, in this instance your Project layer. Your Project can &lt;strong&gt;decide&lt;/strong&gt; to set a different value, or use the default value, in this case &amp;quot;Login&amp;quot;. This is &lt;strong&gt;not&lt;/strong&gt; a dependency IMO.&lt;/p&gt;&#xA;&lt;p&gt;It's also worth noting the code in the &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Dictionary/code/Repositories/DictionaryPhraseRepository.cs#L63&quot; rel=&quot;nofollow noreferrer&quot;&gt;DictionaryPhraseRepository GetItem&lt;/a&gt; implementation:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public Item GetItem([NotNull] string relativePath, string defaultValue = &amp;quot;&amp;quot;)&#xA;{&#xA;  ...&#xA;  var item = this.GetOrAutoCreateItem(relativePath, defaultValue);&#xA;  if (item == null)&#xA;  {&#xA;    Log.Debug($&amp;quot;Could not find the dictionary item for the site '{this.Dictionary.Site.Name}' with the path '{relativePath}'&amp;quot;, this);&#xA;  }&#xA;  return item;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;If you look at the implemenation of &lt;code&gt;GetOrAutoCreateItem()&lt;/code&gt; then setting &lt;code&gt;dictionaryAutoCreate=true&lt;/code&gt; on the &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Project/Habitat/code/App_Config/Include/Project/Habitat.Website.config#L38&quot; rel=&quot;nofollow noreferrer&quot;&gt;sites config&lt;/a&gt; means that if the Dictionary item does not exist in your Project content then it will be autocreated (later allowing your Content Editors to change the value with greater ease).&lt;/p&gt;&#xA;&lt;h2&gt;Is there some rule about failing gracefully in the event of one of these dependent items not existing?&lt;/h2&gt;&#xA;&lt;p&gt;Is there a rule? There are no rules, just guidelines. But bear in mind that this is just good software practice anyway, and Sitecore does this internally for a lot of it's own settings.&lt;/p&gt;&#xA;&lt;p&gt;In this instance, due to the way the Foundation and Feature code is written there is no reverse dependency placed on the Project layer. You could argue there is a &amp;quot;soft dependency&amp;quot; but the code is defensive enough to cater for this and even allows that dependency to be auto-created if required.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-09-07T19:35:19.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7348" PostTypeId="1" CreationDate="2017-09-07T22:50:02.083" Score="5" ViewCount="1298" Body="&lt;p&gt;Our site is implemented using SXA. Currently,caching is set on CloudFlare for our site.  Due to this caching, any media file(eg: pdf, excel) we update in sitecore does not reflect on the site. I can download updated media item by appending some query string to the media url but not using the original URL. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an ideal solution for this issue? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can think of adding a query string params based on the media modified date? is this a right approach?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any advice and suggestions on this will be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1729" LastEditorUserId="73" LastEditDate="2017-09-08T13:04:01.663" LastActivityDate="2021-02-24T07:24:05.510" Title="Updated media Item is not showing on the site due to caching set on CloudFlare/CDN" Tags="|cdn|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7349" PostTypeId="1" CreationDate="2017-09-08T01:21:59.610" Score="2" ViewCount="768" Body="&lt;p&gt;I have a &quot;NewsItems&quot; node in sitecore with multiple &quot;News&quot; children nodes with same name, same display name and same item path, only body content of each news item is different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am displaying all news items using sitecore 7.2 search api on a page with a link to individual news item, when user clicks on a link and navigates on the individual news item page and there I am displaying body of the news item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is that same body content is being displayed for all news items, although they are different items and have different body content but somehow sitecore is picking the first news item and use that as currently selected item and displays its content.&lt;/p&gt;&#xA;" OwnerUserId="2119" LastEditorUserId="2119" LastEditDate="2017-09-08T01:31:44.810" LastActivityDate="2017-09-08T14:19:09.267" Title="Sitecore search for multiple children with same name and path" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7350" PostTypeId="2" ParentId="7348" CreationDate="2017-09-08T01:43:03.710" Score="4" Body="&lt;p&gt;Adding a query string will fix your issue. But it will break all your analytics reports(For example you won't be able to track number of downloads for any given pdf etc)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would utilise cloudflare API to purge the individual media item cache when upload a new one. &lt;a href=&quot;https://api.cloudflare.com/#zone-purge-individual-files-by-url-and-cache-tags&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://api.cloudflare.com/#zone-purge-individual-files-by-url-and-cache-tags&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="914" LastActivityDate="2017-09-08T01:43:03.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7351" PostTypeId="2" ParentId="7349" CreationDate="2017-09-08T04:19:48.067" Score="7" Body="&lt;p&gt;Your problem is that the links will be generating a path, and all the links will have a path like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/newsitems/news&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore can only match an item there by path name, so its going to pick the first one in the list that it finds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have 2 options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1&lt;/strong&gt; - generate the links using the Guid of the item, this is terrible for SEO (although having multiple page with the same URL is just as bad)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt; - and the one most would go for, is to name your child items with unique names. Although Sitecore allows duplicate names in the tree, this should never be allowed to happen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not just because it causes a content delivery and path matching problem, but also, it must be a nightmare for content editors to work out which item they should be editing? Your news items most probably have a Title or Subject Heading - you can use that for the item name. Don't name them all &lt;code&gt;News&lt;/code&gt; - it will never work.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="95" LastEditDate="2017-09-08T14:19:09.267" LastActivityDate="2017-09-08T14:19:09.267" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7352" PostTypeId="2" ParentId="7348" CreationDate="2017-09-08T06:24:55.653" Score="2" Body="&lt;p&gt;The simplest solution is to append an additional querystring parameter such as the &lt;code&gt;updated date&lt;/code&gt; or &lt;code&gt;revision id&lt;/code&gt; like in this &lt;a href=&quot;https://sitecore.stackexchange.com/a/7137/135&quot;&gt;previous answer&lt;/a&gt; I provided. You can do this by inheriting &lt;code&gt;MediaProvider&lt;/code&gt; and override  &lt;code&gt;GetMediaUrl()&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Resources.Media;&#xA;&#xA;namespace MyProject.CMS.Custom.Media&#xA;{&#xA;    public class MediaProvider: Sitecore.Resources.Media.MediaProvider&#xA;    {      &#xA;        public override string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;        {&#xA;            string mediaURL = base.GetMediaUrl(item, options);&#xA;&#xA;            mediaURL = Sitecore.Web.WebUtil.AddQueryString(mediaURL, new string[] {&quot;revision&quot;, ((Item)item).Statistics.Revision });&#xA;            //OR, you only need one of these&#xA;            mediaURL = Sitecore.Web.WebUtil.AddQueryString(mediaURL, new string[] {&quot;modified&quot;, ((Item)item).Statistics.Updated.ToString(&quot;yyyyMMddHHmmss&quot;) });&#xA;&#xA;            return mediaURL;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then create a config patch to use the new provider.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaLibrary&amp;gt;&#xA;  &amp;lt;mediaProvider&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;MyProject.CMS.Custom.Media.MediaProvider, MyProject.CMS.Custom&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/mediaProvider&amp;gt;&#xA;&amp;lt;/mediaLibrary&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The URLs generated for the media items should now be in the format &lt;code&gt;/-/media/path-to/image.png?la=en&amp;amp;h=123&amp;amp;w=123&amp;amp;hash={hash}&amp;amp;modified=20170817134500&lt;/code&gt;, the modified parameter will be updated whenever there is a change causing CloudFlare to request the media asset from the CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to track downloads of certain media items then you can &lt;a href=&quot;http://www.techguilds.com/blog/2016/07/how-to-track-pdf-downloads-with-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;track Download events in Sitecore&lt;/a&gt;, although they may tracking individually in external analytics tools as @JB has stated. &lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-09-08T06:24:55.653" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7353" PostTypeId="1" CreationDate="2017-09-08T08:19:43.720" Score="0" ViewCount="534" Body="&lt;p&gt;I have an item that has two language versions - &lt;em&gt;en&lt;/em&gt; &amp;amp; &lt;em&gt;jp&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a &lt;code&gt;General Link&lt;/code&gt; field in this item, I have used &lt;code&gt;insert media link&lt;/code&gt; for both en &amp;amp; jp, &amp;amp; pointed to a pdf file in the media library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works fine when the page loads in en, but for jp the link url comes as empty string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I check in code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LinkField linkField = item.Fields[fieldId.ToString()];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;linkFiled.LinkType&lt;/code&gt; is &quot;media&quot; for en, but for jp it comes as &quot;external&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is this happening and how to fix this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The raw value for the en version of the link field is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link linktype=&quot;media&quot; target=&quot;&quot; id=&quot;{0B17D555-9CE5-48AC-803D-B81C7931F9A4}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and for jp it is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link text=&quot;Savings Bonds BE 2560 No1&quot; linktype=&quot;media&quot; target=&quot;&quot; id=&quot;{0B17D555-9CE5-48AC-803D-B81C7931F9A4}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;using sc8.2u4&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-09-08T10:30:18.327" LastActivityDate="2019-09-25T08:01:26.560" Title="Insert Media link not working" Tags="|links|fieldtype|" AnswerCount="0" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="7354" PostTypeId="1" AcceptedAnswerId="7355" CreationDate="2017-09-08T08:56:16.880" Score="2" ViewCount="226" Body="&lt;p&gt;I've read &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/walkthrough_publishing_items_to_a_preview_publishing_target&quot; rel=&quot;nofollow noreferrer&quot;&gt;this guide on publishing to a preview publishing target&lt;/a&gt; but still can't get my head around a few things. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to have a separate Sitecore instance called QA which shows &lt;em&gt;preview content&lt;/em&gt; not in the final workflow state. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When creating a new Publishing Target in the CMS, I'm prompted to enter a 'target database'. Do I have to create a new database called 'QA'? If so, how do I do this?&lt;/li&gt;&#xA;&lt;li&gt;When I create my new Sitecore instance for QA, how do I configure this instance to pull from the QA database? Is there a guide for this?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I'm sure this should be documented somewhere, but I can only find the Sitecore documentation above, which doesn't detail how to configure my new instance. &lt;/p&gt;&#xA;" OwnerUserId="1106" LastActivityDate="2017-09-08T11:45:32.020" Title="Setting up a QA publishing target" Tags="|workflow|publishing-targets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7355" PostTypeId="2" ParentId="7354" CreationDate="2017-09-08T11:45:32.020" Score="2" Body="&lt;p&gt;The guide isn't very clear.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You need a new Database, yes. I would suggest you clone your &quot;web&quot; database in SQL Management Studio and name the new database &quot;qa&quot;&lt;/li&gt;&#xA;&lt;li&gt;Then you need to configure a new site. In your existing site definition, add a new one like this: &lt;code&gt;&amp;lt;site name=&quot;site2&quot; inherits=&quot;site1&quot; database=&quot;qa&quot; /&amp;gt;&lt;/code&gt; (adjust names as appropriate)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But there are several other modes you could arrive at something similar, it all depends on your use case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option would be, to just configure an additional site, have it respond to a different &lt;code&gt;hostName&lt;/code&gt; attribute, and on this site display content straight from &quot;master&quot;. Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;site name=&quot;qasite&quot; inherits=&quot;website&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;hostName&quot;&amp;gt;qa.mysite&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;database&quot;&amp;gt;master&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;filterItems&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableWorkflow&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-09-08T11:45:32.020" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7357" PostTypeId="2" ParentId="5285" CreationDate="2017-09-08T18:13:59.323" Score="2" Body="&lt;p&gt;Ran into this exact same issue, but by adding the &lt;code&gt;SupportedTemplates&lt;/code&gt; to both the &lt;code&gt;Converter&lt;/code&gt; &lt;em&gt;and&lt;/em&gt; the &lt;code&gt;Endpoint&lt;/code&gt;, that seemed to resolve the issue: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    //For the Converter:&#xA;    private static readonly Guid TemplateId = Guid.Parse(&quot;{89E0E664-0F1F-471E-A382-D73D22C51C65}&quot;);&#xA;    public YourStepConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;        this.SupportedTemplateIds.Add(TemplateId);&#xA;    }&#xA;&#xA;    //For the Endpoint: &#xA;    private static readonly Guid TemplateId = Guid.Parse(&quot;{5E7AD77B-6968-4DAA-A516-0762C6FCDD07}&quot;);&#xA;    public YourEndpointConverter(IItemModelRepository repository) : base(repository) {&#xA;        this.SupportedTemplateIds.Add(TemplateId);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To be honest, I originally thought adding the &lt;code&gt;SupportedTemplates&lt;/code&gt; was a security restricting measure but I am starting to think its quite the opposite and is intended to &lt;em&gt;add&lt;/em&gt; to the supported templates &lt;em&gt;(deny all, add explicity)&lt;/em&gt; rather than restrict &lt;em&gt;to&lt;/em&gt; the specific templates only &lt;em&gt;(allow all until explicitly defined)&lt;/em&gt;.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2017-09-08T18:13:59.323" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7358" PostTypeId="1" CreationDate="2017-09-08T18:29:19.570" Score="2" ViewCount="282" Body="&lt;p&gt;I have a task to remove all current submission data from a particular form. We're running Sitecore at 8.1. I can't seem to find an interface that Sitecore provides to do this. I remember at 7.2 you could view individual form submissions through form reports but that seems to be gone with 8.1. Is this going to require a sql script?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know, thanks! &lt;/p&gt;&#xA;" OwnerUserId="2157" LastEditorUserId="135" LastEditDate="2017-10-01T18:10:03.353" LastActivityDate="2017-10-01T18:10:03.353" Title="How to clear all submission data from a single wffm form" Tags="|wffm|sitecore-client|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7359" PostTypeId="1" AcceptedAnswerId="7360" CreationDate="2017-09-08T18:43:45.333" Score="8" ViewCount="2895" Body="&lt;p&gt;I have a Sitecore application, and some of my content authors want to work on some &quot;secret pages&quot; that should not be available to anyone else, including other content authors. Only a few of the content authors should have access to these &quot;secret pages&quot; as well as page. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;What I've done so far...&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Let's say the item is &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sitecore/content/home/mysite/myLocked-item&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and the website url is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://mywebsite-stage.com/mylocked-item&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All content Editors are part of the role &lt;em&gt;sitecore\MySite Content Editors&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since some of them need special privileges, I created a special role. Before doing so, I went to the &lt;em&gt;Access Viewer&lt;/em&gt; and marked the &lt;code&gt;myLocked-Item&lt;/code&gt; as &#xA;Requires Login. Then I made sure that I removed the read, write, rename, create, delete, administer properties to the following roles &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Defaut/Anonymous&lt;/li&gt;&#xA;&lt;li&gt;Extranet/Anoymous and &lt;/li&gt;&#xA;&lt;li&gt;sitecore/MySite Content Editors&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now, when I log in as a content author, I am neither able to see the item in Sitecore nor am I able to see the page on the website - I am instead redirected to the Sitecore login page. This is all the expected behavior. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next part is to make a role that grants the authors who will be editing the &quot;secret pages&quot; the necessary permissions to access and edit those pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I first created a role called &lt;em&gt;sitecore\Special rights&lt;/em&gt;. I then went into the &lt;em&gt;Security Editor&lt;/em&gt; and provided all rights for read, write, rename, create, delete, administer for the &lt;code&gt;mylocked-item&lt;/code&gt; for this role. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the last step, I went to the users who will be editing the &quot;secret pages&quot; and gave them the &lt;em&gt;sitecore\Special rights&lt;/em&gt; role. The problem is that I am still not able to provide them with access.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Content Authors who will be editing the &quot;secret pages&quot; are members of 2 groups: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore\Special rights&lt;/li&gt;&#xA;&lt;li&gt;sitecore\My Site Content Editor &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Whereas everyone else is part of just one the group &lt;em&gt;sitecore\My Site Content Editor&lt;/em&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;What am I missing? &lt;/p&gt;&#xA;" OwnerUserId="2396" LastEditorUserId="423" LastEditDate="2017-09-08T20:05:49.333" LastActivityDate="2017-09-11T17:21:05.863" Title="Sitecore access to an Item based on role" Tags="|sitecore-client|security|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7360" PostTypeId="2" ParentId="7359" CreationDate="2017-09-08T19:24:02.687" Score="9" Body="&lt;h3&gt;The Problem&lt;/h3&gt;&#xA;&lt;p&gt;The problem is that the &amp;quot;Deny&amp;quot; access right trumps the &amp;quot;Grant&amp;quot; access right. For this reason, if neither the &amp;quot;Deny&amp;quot; or &amp;quot;Grant&amp;quot; have been applied, then the &amp;quot;Deny&amp;quot; access right is assumed. It is only in this case (i.e. no access right explicitly assigned) that subsequently applying the &amp;quot;Grant&amp;quot; access right will trump the &amp;quot;Deny&amp;quot; access right. In other words, the &amp;quot;Grant&amp;quot; access right only works if there is no explicit &amp;quot;Deny&amp;quot; access right that is also assigned and conflicts with the &amp;quot;Grant&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;The following diagram is from &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/assigning_access_rights&quot; rel=&quot;noreferrer&quot;&gt;Sitecore's official documentation&lt;/a&gt; and illustrates how access rights are calculated when there are conflicts between them:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/igYCG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/igYCG.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Access rights&lt;/strong&gt; – Denied overrides Allowed.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Security accounts&lt;/strong&gt;– Access rights assigned to a user account override access rights assigned to a role.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Item&lt;/strong&gt; – Access rights assigned specifically on an item override access rights specified for the descendants on the parent item.&#xA;Access rights assigned specifically on an item or on the descendants of an item override the Inheritance access right.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This means that explicitly assigning the &amp;quot;Deny&amp;quot; access right to a permission means that that access right will ways trump the &amp;quot;Grant&amp;quot; access right for that permission.&lt;/p&gt;&#xA;&lt;h3&gt;Solution&lt;/h3&gt;&#xA;&lt;p&gt;Rather than applying the &amp;quot;Deny&amp;quot; access right, open up the &lt;em&gt;Security Editor&lt;/em&gt; (it is recommended that you make all security changes in the Security Editor, not the Access Viewer) and remove the &amp;quot;Deny&amp;quot; access right, as well as the &amp;quot;Grant&amp;quot; access right from each of the items in question. The roles for which you wish to allow access should be given the explicit &amp;quot;Grant&amp;quot; access right for each of the desired permissions, which will give them (and administrators, by default) access.&lt;/p&gt;&#xA;&lt;h3&gt;The Challenges with Permission Inheritance&lt;/h3&gt;&#xA;&lt;p&gt;Permission inheritance makes things tricky, here. In order to do what you are attempting, what you need to do, conceptually, is to deny inheritance for the permissions on the &lt;code&gt;sitecore/content/home/mysite&lt;/code&gt; item (the parent item), and re-apply the permissions (with inheritance allowed) on each of the sibling items to &lt;code&gt;sitecore/content/home/mysite/myLocked-item&lt;/code&gt;. Doing this manually would work, but it could be a lot of work and expose long-term maintenance challenges.&lt;/p&gt;&#xA;&lt;p&gt;Alternatively, you should be able to avoid having to assign access rights on all of the siblings by explicitly denying the &amp;quot;Inheritance&amp;quot; property of the permissions for the &lt;code&gt;mylocked-item&lt;/code&gt; and its descendants (unless they should be available for some other reason). This should save you some time and make long-term maintenance easier.&lt;/p&gt;&#xA;&lt;p&gt;These steps are a bit tedious, but it is the way to get you what you want. Unfortunately, permissions are not all that straightforward, and though the system may seem a bit &amp;quot;hacky&amp;quot; it is actually the industry standard (OSX, Ubuntu, and Windows permissions work this way, as well, to name a few).&lt;/p&gt;&#xA;&lt;h3&gt;More Information&lt;/h3&gt;&#xA;&lt;p&gt;Unfortunately, without being able to see your content tree, the Access Viewer for each of the roles that you mentioned before applying permissions and the Security editor for each of the roles that you mentioned before applying permissions, there's not much more direct instruction that I can give you. However, I highly recommend that you &lt;em&gt;thoroughly&lt;/em&gt; review each of the following articles from &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration&quot; rel=&quot;noreferrer&quot;&gt;Sitecore's official security administration documentation&lt;/a&gt;, as they explain everything that you need to know to achieve what you are attempting:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/assigning_access_rights&quot; rel=&quot;noreferrer&quot;&gt;Assigning Access Rights&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/the_inheritance_access_right&quot; rel=&quot;noreferrer&quot;&gt;The Inheritance Access Right&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-09-08T19:54:44.987" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="7362" PostTypeId="2" ParentId="7311" CreationDate="2017-09-08T21:11:36.943" Score="0" Body="&lt;p&gt;The system won't allow updating the default themes -- So even if we update, it won't import, We have to create a new theme while creating the Site. And in Step 3 select the newly created theme. The new theme will be created at path: /sitecore/media library/Themes/(Sitecore Tenant Folder)/(SXA Site)/&lt;/p&gt;&#xA;" OwnerUserId="1847" LastActivityDate="2017-09-08T21:11:36.943" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7363" PostTypeId="1" AcceptedAnswerId="7366" CreationDate="2017-09-09T08:25:56.543" Score="3" ViewCount="1338" Body="&lt;p&gt;I am trying to setup my Sitecore project in my new laptop with Windows 10 using Sitecore Instance Manager (SIM). I am also using their Solr add-on option. Everything is marked as &quot;DONE&quot; in the SIM setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I am trying to access my sitecore/login page it is just loading forever. I have provided necessary &quot;Full Control&quot; permissions to IUSR, NETWORK SERVICE and IIS_IUSRS accounts for the deploy folder. And of-course to the App pool instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know where I missed the things&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-EDIT-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my log, which is showing some error related to Analytics, but I am sure this shouldn't be a problem or is it ?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;10860 14:15:21 ERROR Exception when executing agent&#xA;  aggregation/automationAggreg ator Exception:&#xA;  System.NullReferenceException Message: Object reference not set to an&#xA;  instance of an object. Source: Sitecore.Analytics.MongoDB    at&#xA;  Sitecore.Analytics.RangeScheduler.MongoDbRangeMap2.TryLockRange(WorkerHand&#xA;  le worker, DateTime leaseExpiration, RangeHandle&amp;amp; range)    at&#xA;  Sitecore.Analytics.Core.RangeScheduler.RangeMapWorkScheduler2&lt;code&gt;1.TryLockRan&#xA;  ge(WorkScheduler&lt;/code&gt;1&amp;amp; context)    at&#xA;  Sitecore.Analytics.Core.RangeScheduler.RangeMapWorkScheduler2&lt;code&gt;1.GetNextRan&#xA;  ge(WorkScheduler&lt;/code&gt;1&amp;amp; context)    at&#xA;  Sitecore.Analytics.Core.RangeScheduler.RangeMapWorkScheduler2`1.TryGetNext&#xA;  (TKey&amp;amp; item)    at&#xA;  Sitecore.Analytics.Automation.Aggregation.AutomationWorkDispatcher.TryGetN&#xA;  ext(AutomationWorkItem&amp;amp; workItem)    at&#xA;  Sitecore.Analytics.Automation.Aggregation.Data.Processing.AggregatorAgent.&#xA;  Execute()    at Sitecore.Analytics.Core.BackgroundService.Run()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8232 14:15:22 ERROR Exception when executing agent&#xA;  aggregation/automationAggrega tor Exception:&#xA;  System.NullReferenceException Message: Object reference not set to an&#xA;  instance of an object. Source: Sitecore.Analytics.MongoDB    at&#xA;  Sitecore.Analytics.RangeScheduler.MongoDbRangeMap2.TryLockRange(WorkerHand&#xA;  le worker, DateTime leaseExpiration, RangeHandle&amp;amp; range)    at&#xA;  Sitecore.Analytics.Core.RangeScheduler.RangeMapWorkScheduler2&lt;code&gt;1.TryLockRan&#xA;  ge(WorkScheduler&lt;/code&gt;1&amp;amp; context)    at&#xA;  Sitecore.Analytics.Core.RangeScheduler.RangeMapWorkScheduler2&lt;code&gt;1.GetNextRan&#xA;  ge(WorkScheduler&lt;/code&gt;1&amp;amp; context)    at&#xA;  Sitecore.Analytics.Core.RangeScheduler.RangeMapWorkScheduler2`1.TryGetNext&#xA;  (TKey&amp;amp; item)    at&#xA;  Sitecore.Analytics.Automation.Aggregation.AutomationWorkDispatcher.TryGetN&#xA;  ext(AutomationWorkItem&amp;amp; workItem)    at&#xA;  Sitecore.Analytics.Automation.Aggregation.Data.Processing.AggregatorAgent.&#xA;  Execute()    at Sitecore.Analytics.Core.BackgroundService.Run()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2397" LastEditorUserId="605" LastEditDate="2017-09-09T12:23:20.170" LastActivityDate="2019-06-14T05:37:57.413" Title="Sitecore Admin login page loads forever with nothing to display" Tags="|sitecore-client|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7365" PostTypeId="1" CreationDate="2017-09-09T12:54:04.237" Score="2" ViewCount="536" Body="&lt;p&gt;In Sitecore WFFM if we add a required field, it displays the error in the top(which is OOB).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to display in different areas of WFFM. Example&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Next to the text box.&lt;/li&gt;&#xA;&lt;li&gt;Displaying it as popup. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-09-11T14:56:53.777" Title="how to change the default behaviour of displaying the WFFM required field error text" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7366" PostTypeId="2" ParentId="7363" CreationDate="2017-09-09T14:34:31.080" Score="3" Body="&lt;p&gt;The issue is related to connection to the MongoDB database. You need to make sure that the MongoDB service is on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If ever you do not intend to use MongoDB, you need to disable the Sitecore Analytics in the config file from the &lt;code&gt;Include&lt;/code&gt; folder.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-09-09T14:34:31.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7367" PostTypeId="2" ParentId="7283" CreationDate="2017-09-10T08:31:06.603" Score="1" Body="&lt;p&gt;The solution was to add Habitat roles to the membership of the users,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZUQOi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZUQOi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After adding the required roles, I was able to edit and modify content items normally&lt;/p&gt;&#xA;" OwnerUserId="2140" LastActivityDate="2017-09-10T08:31:06.603" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7368" PostTypeId="2" ParentId="4692" CreationDate="2017-09-10T11:46:20.383" Score="1" Body="&lt;p&gt;I just had this issue myself. In essence, I had a typo in the AppPool account used to run the &lt;code&gt;CSServices&lt;/code&gt; website, so the account failed to log in properly and therefore stopping the AppPool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This lead to the above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did some further testing. In general this error message is pretty useless; it covers pretty much anything that could be going wrong further behind the scenes. I stopped the SQL server, got this message. I stopped IIS, got this message. Not really helpful at all.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-09-10T16:24:08.123" LastActivityDate="2017-09-10T16:24:08.123" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7369" PostTypeId="1" AcceptedAnswerId="7880" CreationDate="2017-09-10T19:29:37.683" Score="2" ViewCount="417" Body="&lt;p&gt;I am facing an issue with WFFM form submit action. When there are more than one language version for forms and when I navigate to the version other than the parent language version and on submitting the form, its getting redirected to parent language version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For e.g.&lt;/strong&gt; If there is an item in English version which is the parent language and submit the form from German version of the same item, then the page will get redirect to English version on submit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This happens only in &lt;strong&gt;CD&lt;/strong&gt; environment. In &lt;strong&gt;CM its working as expected&lt;/strong&gt;.&#xA;On success action its mentioned to show message only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In vanilla instance of sitecore this issue is not reproducible and is working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have gone through some dll's like Wffm.Forms.Custom.dll, core dll etc but not able to find where this redirection is happening. Please provide some help on this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Details of my environment:&lt;/em&gt;&lt;p&gt;&#xA;Sitecore version :  8.1 (rev. 151207)&lt;br&gt;&#xA;WFFM version :  8.1 (rev. 151217)&lt;br&gt;&#xA;.NET Framework   :  4.0&lt;/p&gt;&lt;/p&gt;&#xA;" OwnerUserId="1468" LastActivityDate="2017-10-05T09:30:41.083" Title="WFFM - Forms in other language getting redirected to parent language after submitting" Tags="|wffm|multilingual|multisite|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7370" PostTypeId="1" AcceptedAnswerId="7382" CreationDate="2017-09-11T09:02:08.437" Score="5" ViewCount="243" Body="&lt;p&gt;I'm writing some scripts that will process a large quantity of items and have naturally split out some parts of it to functions. Within these functions I'll get a Sitecore item in a local variable, do some stuff with it and then exit. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having seen how some of my other scripts consume huge amounts of memory I'd like to be sure these local items are released from memory when out of scope. Is this the case, or do I need to do something manually?&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2017-09-11T16:33:40.980" Title="Are locally scoped objects in Sitecore Powershell released from memory when out of scope?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7373" PostTypeId="1" AcceptedAnswerId="7376" CreationDate="2017-09-11T13:49:47.643" Score="2" ViewCount="661" Body="&lt;p&gt;According to the following sitecore post:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/pattern_cards&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/pattern_cards&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Sitecore calculates the average score that the visitor has accumulated for each profile and maps the visitor to the pattern card that is the closest match&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What i  would like to do is personalize certain modules depending on a users pattern card and in order to do so, programmatically aquire the best matching pattern card for the current visitor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried looking under Tracking.Current.Interactions and Tracking.Current.Contact to find the best matching pattern card but to no avail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is such data available or am i approaching this the wrong way?&lt;/p&gt;&#xA;" OwnerUserId="2400" LastActivityDate="2017-09-11T18:19:12.090" Title="Programmatically acquiring the best matching pattern card for the current visitor" Tags="|personalization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7374" PostTypeId="2" ParentId="7337" CreationDate="2017-09-11T14:27:24.260" Score="1" Body="&lt;p&gt;The current master branch of Habitat is using v0.4.4 of the &lt;a href=&quot;https://www.npmjs.com/package/gulp-msbuild&quot; rel=&quot;nofollow noreferrer&quot;&gt;gulp-msbuild&lt;/a&gt; package. That version was still using an iterative process to figure out the location of msbuild. Priority is given to the following versions, in order:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;BuildTools&lt;/li&gt;&#xA;&lt;li&gt;Enterprise&lt;/li&gt;&#xA;&lt;li&gt;Professional&lt;/li&gt;&#xA;&lt;li&gt;Community&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This is a pretty limited process, because it doesn't allow for non-standard installations. It looks for each of the above folder names within &lt;code&gt;C:\Program Files (x86)\Microsoft Visual Studio\2017&lt;/code&gt;. When it finds a folder that exists, it's considered the official version for building. So presumably you do have that folder on your drive: &lt;code&gt;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise&lt;/code&gt;. Removing it, if not needed, would resolve your issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I would recommend though is updating the gulp-msbuild package (from your solution root: &lt;code&gt;npm update gulp-msbuild --save&lt;/code&gt;). Since that version, this package has been updated to use &lt;a href=&quot;https://blogs.msdn.microsoft.com/heaths/2017/04/21/vswhere-is-now-installed-with-visual-studio-2017/&quot; rel=&quot;nofollow noreferrer&quot;&gt;vswhere&lt;/a&gt; in order to locate msbuild. You can see the change &lt;a href=&quot;https://github.com/hoffi/gulp-msbuild/pull/60/commits/4388552aad26a6e4de892e568834dea8f4fd1be2&quot; rel=&quot;nofollow noreferrer&quot;&gt;in this commit on GitHub&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2017-09-11T14:27:24.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7375" PostTypeId="2" ParentId="7365" CreationDate="2017-09-11T14:56:53.777" Score="2" Body="&lt;p&gt;PVM, I'm assuming you are using Webforms? as the validators are in-line in MVC but are a validation group at the top of the page in the Webforms version. I wouldn't recommend a pop-up as this won't be a nice UI on  Mobile. Moving the validation to an in-line validator looks to be a bit tricky in Webforms as it looks like the validators are all generated server-side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are 3 options I can see here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) &lt;strong&gt;Update the server side validation to be in-line&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't fully tested this but it seems to work ok:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit the validation summary here and turn off the validation by setting ShowSummary=&quot;false&quot;: Website\sitecore modules\Web\Web Forms for Marketers\Control\SitecoreSimpleFormAscx.ascx &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;asp:ValidationSummary ID=&quot;summary&quot; runat=&quot;server&quot; ShowSummary=&quot;false&quot; ValidationGroup=&quot;submit&quot; CssClass=&quot;scfValidationSummary&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then add some Javascript that runs on all wffm pages that loops the validators and grabs the text from the title field and replaces the * with the full validation text:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;(function ($) {&#xA;    $(document).ready(function() {&#xA;       $('.scfValidatorRequired').each(function(index) {&#xA;         $(this).text($(this).attr(&quot;title&quot;));&#xA;        });&#xA;    });&#xA;})($scw);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) &lt;strong&gt;Use Client Side Validation Only&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A bit clunky but you could not enable validation in the WFFM Form Builder add instead add your own Javascript validation on submit of any form with Jquery, something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(&quot;.scfForm &amp;gt; input[type='submit']&quot;).on('submit', onSubmit);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3) &lt;strong&gt;Switch to the MVC version of WFFM&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will then get in-line validation as standard and much more control over the layout of the fields etc.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-09-11T14:56:53.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7376" PostTypeId="2" ParentId="7373" CreationDate="2017-09-11T15:15:07.420" Score="4" Body="&lt;p&gt;You have to take each profile and test it for a pattern match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For each profile, you can run the code below against the profile name. &lt;code&gt;userPattern.PatternId.HasValue&lt;/code&gt; tells you if the pattern is hit.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var interactionProfile = Tracker.Current.Interaction.Profiles[visibleProfileItem.Name];&#xA;if (interactionProfile != null)&#xA;{&#xA;    // load the details about the matching pattern&#xA;    if (interactionProfile.PatternId.HasValue)&#xA;    {&#xA;        Item matchingPattern = Sitecore.Context.Database.GetItem(interactionProfile.PatternId.ToId());&#xA;        if (matchingPattern != null)&#xA;        {&#xA;            //handle your patterns here    &#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Habitat Code&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Here is the a link to the similar code in habitat. You can use this for almost anything you are trying to accomplish. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/muso31/Habitat-Glass.Mapper/blob/master/src/Feature/Demo/code/Services/ProfileProvider.cs#L30&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/muso31/Habitat-Glass.Mapper/blob/master/src/Feature/Demo/code/Services/ProfileProvider.cs#L30&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-09-11T18:19:12.090" LastActivityDate="2017-09-11T18:19:12.090" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7377" PostTypeId="1" CreationDate="2017-09-11T15:21:21.283" Score="4" ViewCount="623" Body="&lt;p&gt;I am currently using the Azure Quickstart templates found on Sitecore's Github page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've successfully used these before, with both xp0 and xp configurations, however that was a couple of months ago.&#xA;I've pulled down the latest, but noticed that there weren't any changes from the 8.2.3 and 8.2.4 templates from when I last used them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am now attempting to use the Azure Toolkit, v1.1, which I also previously used successfully, and have all the appropriate packages and permissions for things in my Azure storage account. I also have a lot of credits remaining on my Azure account, so no issue there.... However....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I go to run&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Name = &quot;myspecialdeployment&quot;&#xA;&#xA;Start-SitecoreAzureDeployment -Location &quot;East US&quot; -Name $Name -ArmTemplateUrl &quot;xxxxxxxxxxxxx.blob.core.windows.net/.../azuredeploy.json&quot; -ArmParametersPath &quot;D:\SitecoreAzure\xp\azuredeploy.parameters.8.2.4.json&quot; -LicenseXmlPath &quot;D:\_Sitecores\license.xml&quot; -SetKeyValue @{ &quot;deploymentId&quot; = $Name } -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I first see an error&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;New-AzureRmResourceGroupDeployment : 12:11:39 PM - Resource&#xA;  Microsoft.Insights/Components/CurrentBillingFeatures&#xA;  'myspecialdeployment-ai/myspecialdeployment-ai-pp' failed with message&#xA;  '{ &quot;code&quot;: &quot;BadRequest&quot;, &quot;message&quot;: &quot;Bad Request&quot;, &quot;innererror&quot;: {&#xA;  &quot;diagnosticcontext&quot;: &quot;fda85feb-f0d3-43f2-a15f-73076378d052&quot;, &quot;time&quot;:&#xA;  &quot;2017-09-09T16:11:36.9342218Z&quot; } }' At&#xA;  D:_Sitecores_Azure\Toolkits\Sitecore Azure Toolkit 1.1 rev&#xA;  170509\Tools\Sitecore.Cloud.Cmdlets.psm1:115 char:35&#xA;  + ... eployment = New-AzureRmResourceGroupDeployment -Na...&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;  + CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;  + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep&#xA;  loymentCmdlet&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The deployment continues....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then see the deployment fail about 20 minutes later with...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;New-AzureRmResourceGroupDeployment : 12:22:49 PM - Template output&#xA;  evaluation skipped: at least one resource deployment operation failed.&#xA;  Please list deployment operations for details. Please see&#xA;  &lt;a href=&quot;https://aka.ms/arm-debug&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://aka.ms/arm-debug&lt;/a&gt; for usage details. At&#xA;  D:_Sitecores_Azure\Toolkits\Sitecore Azure Toolkit 1.1 rev&#xA;  170509\Tools\Sitecore.Cloud.Cmdlets.psm1:115 char:35&#xA;  + ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;  + CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;  + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep&#xA;  loymentCmdlet&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;New-AzureRmResourceGroupDeployment : 12:22:49 PM - Template output&#xA;  evaluation skipped: at least one resource deployment operation failed.&#xA;  Please list deployment operations for details. Please see&#xA;  &lt;a href=&quot;https://aka.ms/arm-debug&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://aka.ms/arm-debug&lt;/a&gt; for usage details. At&#xA;  D:_Sitecores_Azure\Toolkits\Sitecore Azure Toolkit 1.1 rev&#xA;  170509\Tools\Sitecore.Cloud.Cmdlets.psm1:115 char:35&#xA;  + ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;  + CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;  + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep&#xA;  loymentCmdlet New-AzureRmResourceGroupDeployment : 12:22:54 PM -&#xA;  Resource Microsoft.Resources/deployments&#xA;  'myspecialdeployment-infrastructure' failed with message '{ &quot;status&quot;:&#xA;  &quot;Failed&quot;, &quot;error&quot;: { &quot;code&quot;: &quot;ResourceDeploymentFailure&quot;, &quot;message&quot;:&#xA;  &quot;The resource operation completed with terminal provisioning state&#xA;  'Failed'.&quot;, &quot;details&quot;: [ { &quot;code&quot;: &quot;DeploymentFailed&quot;, &quot;message&quot;: &quot;At&#xA;  least one resource deployment operation failed. Please list deployment&#xA;  operations for details. Please see &lt;a href=&quot;https://aka.ms/arm-debug&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://aka.ms/arm-debug&lt;/a&gt; for usage&#xA;  details.&quot;, &quot;details&quot;: [ { &quot;code&quot;: &quot;BadRequest&quot;, &quot;message&quot;: &quot;{\r\n&#xA;  \&quot;code\&quot;: \&quot;BadRequest\&quot;,\r\n \&quot;message\&quot;: \&quot;Bad Request\&quot;,\r\n&#xA;  \&quot;innererror\&quot;: {\r\n \&quot;diagnosticcontext\&quot;:&#xA;  \&quot;fda85feb-f0d3-43f2-a15f-73076378d052\&quot;,\r\n \&quot;time\&quot;:&#xA;  \&quot;2017-09-09T16:11:36.9342218Z\&quot;\r\n }\r\n}&quot; } ] } ] } }'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As I said.....I've had this working previously....and all URLs are correct and accessible.&#xA;Further more, while the deployment says ProvisioningState       : Failed, I still see things like the initial Application Insights App Service available in the Resource Group....along with all the other App Services....just the site doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has something changed with Microsoft's billing and resource availability for some of these App Services (like ApplicationInsights)?&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2017-12-19T19:04:40.233" Title="Azure, Quickstart templates, xp config error: Microsoft.Insights/Components/CurrentBillingFeatures failed with message code:BadRequest" Tags="|azure|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7379" PostTypeId="2" ParentId="7359" CreationDate="2017-09-11T15:57:05.600" Score="1" Body="&lt;p&gt;As Zach said the key for this to know is that a deny will override granting access. That is the reason that denying and then trying to give access with a different role (while using the role that denies) does not work. You have 2 options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You can invert the logic. Remove the deny access given to the content editor role and let accessing those items be the norm for a content editor. Make a restricted content editor role and deny read access to the secret items there. Then apply this role to the editors that should not be able to see it. I don't think Zach's answer goes over this option directly. You can use this if the norm will be that content editors can see the hidden pages.&lt;/li&gt;&#xA;&lt;li&gt;Deny inheritance to the items for the content editor role instead of denying read access. This will cause a &quot;soft&quot; read denial because the content editor no longer inherits read access to that item. Then in your special role you can explicitly grant read access.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Regardless of the choice, denying read access at the base content editor role shouldn't be done if these editors will end up inheriting that role.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-09-11T15:57:05.600" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7380" PostTypeId="2" ParentId="7373" CreationDate="2017-09-11T16:06:52.270" Score="3" Body="&lt;p&gt;The &lt;a href=&quot;https://sitecore.stackexchange.com/a/7376/423&quot;&gt;answer provided by @ChrisAuer&lt;/a&gt; is 100% correct, but I wanted to share a little more detail with you, as well.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Taxonomy and Profiles&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore includes support for personalizing and tracking a visitor against an indeterminate number of &lt;em&gt;profiles&lt;/em&gt; at any given time. A &lt;em&gt;profile&lt;/em&gt; can be thought of as a context for personalization. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As highlighted in the below image, Sitecore includes four different profiles out of the box: Focus, Function, Persona and Score. Each of these profiles have their own profile keys, pattern cards, and profile cards, and they can all be tracked and personalized against at the same time. This means that if you're tracking against 10 different profiles, then your visitor might actually have matched 10 different patterns, one for each profile. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rzDjI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rzDjI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Finding the Right Pattern&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Given that your visitor might have any number of matched patterns but at most one for each profile, if you know the profile that you are looking to personalize against then you can find the singular pattern, if any, that the visitor matches for that profile. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is where &lt;a href=&quot;https://sitecore.stackexchange.com/a/7376/423&quot;&gt;@ChrisAuer's solution&lt;/a&gt; comes into play: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Retrieve the &lt;em&gt;interaction profile&lt;/em&gt; from the visitor that matches the &lt;em&gt;profile&lt;/em&gt; that you are looking to personalize against&lt;/li&gt;&#xA;&lt;li&gt;Ensure that the &lt;em&gt;interaction profile&lt;/em&gt; is not null (it will be if the user has not yet been scoredfor the &lt;em&gt;profile&lt;/em&gt; you are looking to personalize against)&lt;/li&gt;&#xA;&lt;li&gt;Check if the &lt;em&gt;interaction profile&lt;/em&gt; has a &lt;code&gt;PatternId&lt;/code&gt; (holds the ID of the matched pattern, if any - automatically updated when visitor is scored for the &lt;em&gt;profile&lt;/em&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Retrieve the pattern card with the &lt;code&gt;PatternId&lt;/code&gt; from Sitecore and ensure that it is not null&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Personalizing Components without Code&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are looking to personalize renderings, you can &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components&quot; rel=&quot;nofollow noreferrer&quot;&gt;use the native personalization tools&lt;/a&gt; to do so without any additional coding. You can do this using &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/conditional_renderings&quot; rel=&quot;nofollow noreferrer&quot;&gt;Conditional Renderings&lt;/a&gt; and the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/the_rule_set_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rule Set Editor&lt;/a&gt;, which you can access from the page item's Layout Details. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-09-11T16:06:52.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7381" PostTypeId="1" CreationDate="2017-09-11T16:19:58.533" Score="2" ViewCount="155" Body="&lt;p&gt;I have created WFFM form and I am able to submit the form as well. But when I see the form report by downloading in Excel format, I am getting duplicate records. For each entry in WFFM form, I am getting it two times in excel. Is anybody know why this is happening?&lt;/p&gt;&#xA;" OwnerUserId="930" LastEditorUserId="73" LastEditDate="2017-09-11T16:20:35.773" LastActivityDate="2017-09-11T17:03:56.873" Title="WFFM reports showing duplicate records in excel file" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7382" PostTypeId="2" ParentId="7370" CreationDate="2017-09-11T16:33:40.980" Score="3" Body="&lt;p&gt;SPE creates a runspace using the Windows PowerShell API. While I can't speak to the specifics of how Windows PowerShell manages memory, I can say that functions executed within the same session will accumulate in memory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the ISE you can manage how sessions are used whenever you run a script. There is even a Toolbox item to see which session are running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dGKfQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dGKfQ.png&quot; alt=&quot;Sessions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SPE will automatically clear out the sessions after some period of time; I believe 30 min by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Manually clear out the session using the PowerShell Background Session Manager&lt;/li&gt;&#xA;&lt;li&gt;Change the setting in the ISE to dispose after each script execution.&lt;/li&gt;&#xA;&lt;li&gt;Use commands such as &lt;code&gt;Clear-Variable&lt;/code&gt; and &lt;code&gt;Remove-Variable&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Do nothing.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-09-11T16:33:40.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7383" PostTypeId="2" ParentId="6430" CreationDate="2017-09-11T16:52:13.253" Score="1" Body="&lt;p&gt;You don't need to create a ISimpleFacet class to get values in the drop-down, it is much simpler and can be achieved via CMS only. Assuming that you need to dropdown to filter down the results from broad search query, please do the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create your name/value pairs in a folder under the 'Data' section of&#xA;    your site, you can use 'Enums' folder and 'Enum' value templates or&#xA;    your own one.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add a 'droptree' field in your template that refers to the 'Enums' folder&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a 'Search Scope' for that the page/section, let say you want to search only news articles,  under /sitecore/content/{your-site}/Settings/Scopes&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a 'List Facet' for that field under /sitecore/content/{your-site}/Settings/Facets&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Switch to experience editor mode for the search page, Drag &amp;amp; drop&#xA;    'Dropdown' filter on the page and select the list facet within the&#xA;    'Facet' field.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Save and publish and your dropdown values should be coming up.&lt;/p&gt;&#xA;" OwnerUserId="318" LastActivityDate="2017-09-11T16:52:13.253" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7384" PostTypeId="2" ParentId="7359" CreationDate="2017-09-11T16:56:23.493" Score="0" Body="&lt;p&gt;You have setup access deny to main content editor role (sitecore/MySite Content Editors) for read, write, rename, create, delete and administrator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now for \Special rights, you have inherited the same role, that may be the cause of this issue - overriding the inheritance access&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please try the below steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a duplicate role same as (sitecore/MySite Content Editors)&lt;br&gt;&#xA;– Without any access deny – let’s say (sitecore/MySite Content Editors Secure)  &lt;/li&gt;&#xA;&lt;li&gt;Provide role to user - Special rights and (sitecore/MySite Content Editors Secure)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2403" LastEditorUserId="2403" LastEditDate="2017-09-11T17:21:05.863" LastActivityDate="2017-09-11T17:21:05.863" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7385" PostTypeId="1" AcceptedAnswerId="7387" CreationDate="2017-09-11T17:03:00.153" Score="11" ViewCount="3844" Body="&lt;p&gt;All examples or directions on implementing xDB always include placing the VisitorIdentification (@Html.Sitecore().VisitorIdentification()) in the head?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This to me is code smell (render-blocking JavaScript). Is there any reason why this must exist in the header? Does this block need to exist on the page prior to rendering html?&lt;/p&gt;&#xA;" OwnerUserId="2068" LastActivityDate="2017-09-11T23:00:51.047" Title="Does VisitorIdentification really need to be in the head element" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7386" PostTypeId="2" ParentId="7381" CreationDate="2017-09-11T17:03:56.873" Score="1" Body="&lt;p&gt;This was an issue with Sitecore and that got fixed in Sitecore Web Forms for Marketers 8.1 rev. 160304 (Update-2)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using the old version - Please raise a ticket to Sitecore support team to provide the Patch for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are the details for the fixed issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An issue had caused duplicate rows of submitted data to be written to the database table when using the combinedFormsDataProvider setting from the Sitecore.WFFM.Dependencies.config file in scaled environments. (88634)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details, Please find the Sitecore release note.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/Web%20Forms%20For%20Marketers%2081/Web%20Forms%20For%20Marketers%2081%20Update2/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/Web%20Forms%20For%20Marketers%2081/Web%20Forms%20For%20Marketers%2081%20Update2/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this will answer your query&lt;/p&gt;&#xA;" OwnerUserId="2403" LastActivityDate="2017-09-11T17:03:56.873" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7387" PostTypeId="2" ParentId="7385" CreationDate="2017-09-11T17:07:05.713" Score="12" Body="&lt;h1&gt;Yes it does&lt;/h1&gt;&#xA;&lt;p&gt;Except if you don't use xDB or Analytics. In this case, VisitorIdentification is redundant.&lt;/p&gt;&#xA;&lt;h2&gt;What it does&lt;/h2&gt;&#xA;&lt;p&gt;It serves a number of purposes; but the most relevant to you is, it aids robot detection on your site. Sitecore (speaking broadly) functions like this:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Assume a new visitor is a robot&lt;/li&gt;&#xA;&lt;li&gt;Send some code to the client via VisitorIdentification&lt;/li&gt;&#xA;&lt;li&gt;If the code responds as expected; assumes it's a real browser client&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;If you leave it out, Sitecore will assume all your visits are robots (crawlers etc) - and your sessions will time out after 60 seconds.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The robot detection component is enabled by default but to implement it fully you must ensure that you have added the visitor identification control to the layout of each page on your website.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/robot_detection/configure_the_robot_detection_component&quot; rel=&quot;noreferrer&quot;&gt;Configure robot detection functionality&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Additional links:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/28626563/sitecore-7-5-mvc-and-httpcontext-session-timeout-set-to-1-min&quot;&gt;https://stackoverflow.com/questions/28626563/sitecore-7-5-mvc-and-httpcontext-session-timeout-set-to-1-min&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/983/content-delivery-session-times-out-in-1-2-minute-with-mongodb-session-provider/1004&quot;&gt;Content delivery session times out in 1/2 minute with MongoDB session provider&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://geekrocket.com/blog/sitecore-robot-detection/&quot; rel=&quot;noreferrer&quot;&gt;Fast session timeouts and Sitecore robot detection&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;And to ease your worry&lt;/h2&gt;&#xA;&lt;p&gt;The VisitorIdentification control actually only outputs the blocking Javascript once - at the initial stage where the system has &amp;quot;auto detected a robot&amp;quot;. Once it is satisfied that the session is not a robot, it outputs blank content and is out of your way from that point on.&lt;/p&gt;&#xA;&lt;p&gt;Witnessed from this, not entirely pretty, piece of code driving this control.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%  if (Sitecore.Context.Diagnostics.Tracing || Sitecore.Context.Diagnostics.Profiling)&#xA;    {%&amp;gt;&#xA;&amp;lt;!-- Visitor identification is disabled because debugging is active. --&amp;gt;&#xA;&amp;lt;%        &#xA;    }&#xA;    else if (Sitecore.Analytics.Tracker.IsActive &amp;amp;&amp;amp; Sitecore.Analytics.Core.ContactClassification.IsAutoDetectedRobot(Sitecore.Analytics.Tracker.Current.Session.Contact.System.Classification))&#xA;    {&#xA;%&amp;gt;&#xA;&amp;lt;meta name=&amp;quot;VIcurrentDateTime&amp;quot; content=&amp;quot;&amp;lt;%: DateTime.UtcNow.Ticks %&amp;gt;&amp;quot; /&amp;gt;&#xA;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;/layouts/system/VisitorIdentification.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;%&#xA;    }&#xA;%&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-09-11T23:00:51.047" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7388" PostTypeId="2" ParentId="4002" CreationDate="2017-09-11T17:21:53.547" Score="1" Body="&lt;p&gt;Looks like you are trying to make a menu. There are some out of box controls for menu items like 'Navigation' or 'Link List', you can use them and then apply rendering variants to achieve your navigation layout. I would suggest to use controller renderings if you code behind contains some business or domain logic. If your components are only for querying certain items and displaying them as iss, use rendering variants.&lt;/p&gt;&#xA;" OwnerUserId="318" LastActivityDate="2017-09-11T17:21:53.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7389" PostTypeId="1" AcceptedAnswerId="7392" CreationDate="2017-09-11T22:29:48.887" Score="1" ViewCount="576" Body="&lt;p&gt;Suddenly the button for Edit is not displayed anymore and I can't edit the layout, I can edit the fields for the item but I need to edit the layout to actually see something, any ideas of what is causing this? I've been looking at different things for days now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/S5F2o.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/S5F2o.png&quot; alt=&quot;This is how it looks&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: I think I figured it out, it may not have to do anything with permissions, it seems that the db was corrupted and the base templates lost their base fields (__Base template) and so a lot of stuff is broken, I've been trying to fix them but it seems to be a bit more complicated than I first thought and I may need to restore the database. I'll leave the question open until I confirm this is indeed the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Final Edit: I managed to fix the database and that was indeed the main issue, once the base templates had the proper fields and values everything was back to normal (I still need to fix some stuff but main functionality is ok).&lt;/p&gt;&#xA;" OwnerUserId="2408" LastEditorUserId="2408" LastEditDate="2017-09-14T02:16:54.527" LastActivityDate="2017-09-14T02:16:54.527" Title="Can't lock and edit, can't edit layout even as admin" Tags="|content-editor|presentation|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7390" PostTypeId="1" CreationDate="2017-09-12T04:58:32.520" Score="2" ViewCount="185" Body="&lt;p&gt;I am new to SPEAK and trying to implement a module. I have a combo-box which will list item names. I am trying to add items to combo-box through JavaScript but items are not getting added. Below is my code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;], function (Sitecore) {&#xA;var model = Sitecore.Definitions.Models.ControlModel.extend({&#xA;    initialize: function (options) {&#xA;        this._super();&#xA;        app = this;&#xA;        this.set(&quot;itemlist&quot;, &quot;&quot;);&#xA;        this.on(&quot;change:itemlist&quot;, this.FillItems, this);&#xA;    },&#xA;    FillItems:function(){&#xA;         var tmpData = '{ &quot;items&quot; : [' +&#xA;        '{ &quot;itemId&quot;:&quot;{E932156B-3269-44AB-ADB2-60E50C56730A}&quot; , &quot;itemName&quot;:&quot;My item 1&quot; },' +&#xA;        '{ &quot;itemId&quot;:&quot;{DB534C88-F1D2-4BC5-B5A6-AF341E331432}&quot; , &quot;itemName&quot;:&quot;My item 2&quot; }]}';&#xA;        var obj = JSON.parse(tmpData);&#xA;        this.viewModel.app.ComboBox1.viewModel.rebind(obj,null,null,&quot;itemName&quot;,&quot;itemId&quot;);&#xA;    }&#xA;});&#xA;&#xA;var view = Sitecore.Definitions.Views.ControlView.extend({&#xA;    initialize: function (options) {&#xA;        this._super();&#xA;    }&#xA;});&#xA;&#xA;Sitecore.Factories.createComponent(&quot;ItemsList&quot;, model, view, &quot;.sc-ItemsList&quot;);});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can anyone tell what I have done wrong in this code?.&lt;/p&gt;&#xA;" OwnerUserId="2035" LastActivityDate="2017-12-12T10:13:45.290" Title="SPEAK: Not able to add items to ComboBox" Tags="|speak|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7391" PostTypeId="2" ParentId="6615" CreationDate="2017-09-12T06:57:31.547" Score="1" Body="&lt;p&gt;This looks like a bug in Sitecore 8.3 update. Sitecore provided a fix regarding the same. It may be added to the upcoming update. &lt;/p&gt;&#xA;" OwnerUserId="1508" LastActivityDate="2017-09-12T06:57:31.547" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7392" PostTypeId="2" ParentId="7389" CreationDate="2017-09-12T11:59:50.960" Score="2" Body="&lt;p&gt;It looks like you are not logged in as a Sitecore admin (where the user account have the &quot;Administrator&quot; checkbox checked). if you were, you would see more buttons/commands both in the home tab and in the Presentation tab. When logging in with an account that has the &quot;Administrator&quot; checkbox checked, all security is disregarded and you have access to everything. You need to check your current users access rights to applications, tabs, and commands in the core database for access to specific tabs, buttons, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An admin could also have accidentally moved or deleted buttons or tabs in the core database. if you have access rights, please check if the missing buttons are actually there in the core database. If not, check if you can restore them from the recycle bin&lt;/p&gt;&#xA;" OwnerUserId="2411" LastActivityDate="2017-09-12T11:59:50.960" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7393" PostTypeId="1" AcceptedAnswerId="7394" CreationDate="2017-09-12T13:44:43.390" Score="6" ViewCount="167" Body="&lt;p&gt;Seem to be suffering an inconsistent issue whereby jpegtrans is not completing / locking a resource during deployments despite the application being shut down. Any help would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="2415" LastEditorUserId="73" LastEditDate="2017-09-12T20:35:25.610" LastActivityDate="2017-09-12T20:35:25.610" Title="Dianoga - JPEGTrans locking resource during deployment" Tags="|dianoga|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7394" PostTypeId="2" ParentId="7393" CreationDate="2017-09-12T13:50:41.507" Score="8" Body="&lt;p&gt;If you're on Dianoga 2.0.2 I would strongly recommend upgrading to the latest 3.x version. 3.x uses much safer integration methods, is more modular, uses more modern compression tools, and most importantly for your use-case is much smarter about releasing resources.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-09-12T13:50:41.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7395" PostTypeId="1" AcceptedAnswerId="7396" CreationDate="2017-09-12T14:34:29.473" Score="6" ViewCount="1792" Body="&lt;p&gt;I have looked at the documentation but I can't find anything that either confirms or denies that it's possible to run an agent every 48 or 72 hours for example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I can see the longest interval for any out of the box agent is 24hrs.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-09-12T15:02:52.277" Title="Is it possible to have an Sitecore Agent interval set to more than 24hrs?" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7396" PostTypeId="2" ParentId="7395" CreationDate="2017-09-12T14:41:36.640" Score="12" Body="&lt;p&gt;Definitely - all Sitecore does when reading in your agents is parse the interval as a &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.timespan(v=vs.110).aspx&quot; rel=&quot;noreferrer&quot;&gt;TimeSpan&lt;/a&gt; via the following line of code, from the &lt;code&gt;Sitecore.Tasks.Scheduler.ReadAgents&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TimeSpan timeSpan = DateUtil.ParseTimeSpan(XmlUtil.GetAttribute(&quot;interval&quot;, configNode), TimeSpan.FromSeconds(0.0), CultureInfo.InvariantCulture);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Sitecore.DateUtil&lt;/code&gt; method that is called to actually parse the interval is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static TimeSpan ParseTimeSpan(string time, TimeSpan defaultValue, CultureInfo cultureInfo)&#xA;{&#xA;  Assert.ArgumentNotNull((object) cultureInfo, &quot;cultureInfo&quot;);&#xA;  return DateUtil.ParseTimeSpan(time, cultureInfo) ?? defaultValue;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore's &lt;code&gt;DateUtil.ParseTimeSpan&lt;/code&gt; method includes a lot of custom parsing logic that adds support for custom syntaxes. All of the following are valid format strings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;00:00:24&quot;   -&amp;gt; 24 seconds&#xA;&quot;00:24:00&quot;   -&amp;gt; 24 minutes&#xA;&quot;24:00:00&quot;   -&amp;gt; 24 hours&#xA;&quot;1.00:00:00&quot; -&amp;gt; 1 day (24 hours)&#xA;&quot;1.24:00:00&quot; -&amp;gt; 1 day and 24 hours (2 days or 48 hours)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Word of Caution&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Before you set such a long interval for your agents, have a look at the section &quot;The Problem with Agents&quot; in &lt;a href=&quot;https://sitecore.stackexchange.com/a/4676/423&quot;&gt;this post&lt;/a&gt;. It explains a major pitfall of scheduler agents that you should be aware of. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To summarize, the because agents cannot be attached to a particular time of day, the clock resets whenever the application restarts, meaning that as the duration of the interval increases so too does the likelihood that the agent will not run at all within the defined duration of the interval. This means that if your application restarts every 1-47 hours (due to a crash, app pool recycle, etc.) then your agent will never run at all. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are looking to set an agent to run at a longer interval, my first recommendation is that you assess to make sure that nothing will break if your agent doesn't run, that an agent really is the right tool for you to use and that you have logging set up so that you can always tell if and when your agent ran.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-12T15:02:52.277" LastActivityDate="2017-09-12T15:02:52.277" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7397" PostTypeId="1" AcceptedAnswerId="7977" CreationDate="2017-09-12T15:42:01.363" Score="7" ViewCount="433" Body="&lt;p&gt;We have an &lt;em&gt;8.1 update-2&lt;/em&gt; &lt;strong&gt;processing instance&lt;/strong&gt; configured as per &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/configuring_servers/configure_a_processing_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some reason the segments tables are empty and even if I run the RedeployMarketingData admin page, nothing will be written. Thus Experience Analytics doesn't show any stats.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that if I activate the following config files on the processing instance, the segments table is populated immediately:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ExperienceAnalytics\Sitecore.ExperienceAnalytics.Client.config&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Tracking.config&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Reporting.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But this leads to other issues when rebuilding the database.&#xA;How does a processing instance need to be configured in order to correctly process segments?&lt;/p&gt;&#xA;" OwnerUserId="681" LastEditorUserId="2056" LastEditDate="2018-06-06T12:02:27.920" LastActivityDate="2018-06-06T12:02:27.920" Title="Processing server not populating segments table" Tags="|xdb|experience-analytics|processing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7398" PostTypeId="1" CreationDate="2017-09-12T15:55:47.583" Score="9" ViewCount="628" Body="&lt;p&gt;I have a situation where a rendering could use a set of customization buttons that are all related. Rather than filling up the rendering's edit frame, I'd like to add a button that can expand into a dropdown similar to how the datasource menu expands to show additional commands.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qIcYx.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qIcYx.png&quot; alt=&quot;edit frame showing datasource dropdown&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything built in that would allow custom buttons to open submenus of buttons?&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Alternatively, is there a component that can be used in a custom command to open a custom dropdown that contain buttons to trigger different commands?&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;sub&gt;&lt;strong&gt;Note&lt;/strong&gt;: I'm aware I can add buttons to the datasource and more dropdown menus, however this would be inappropriate for the buttons that I'd like to add.&lt;/sub&gt;&lt;/p&gt;&#xA;" OwnerUserId="286" LastActivityDate="2017-09-14T07:37:17.607" Title="Is there a way to create a custom experience button (or edit frame button) that opens a dropdown with additional experience editor buttons?" Tags="|experience-editor|commands|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7399" PostTypeId="1" AcceptedAnswerId="7400" CreationDate="2017-09-12T16:05:18.237" Score="4" ViewCount="1102" Body="&lt;p&gt;What access in security editor should i give when i want a role to have login capability. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to create a new role that is &lt;strong&gt;NOT&lt;/strong&gt; a member of any other existing roles (like client author or Author or anything) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But i want to customize that role, so that the user can LOG IN and see some content items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now i created some sample role and gave &lt;strong&gt;read&lt;/strong&gt; access to the entire sitecore content tree - like &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;content, templates, layouts and Media&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;but when some with that role tries to log in - sitecore doesn't allow to log him in. &#xA;It says&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You do not have access to the system. If you think this is wrong,&#xA;  please contact the system administrator.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Should i be doing anything in core database also? &lt;/p&gt;&#xA;" OwnerUserId="2396" LastActivityDate="2017-09-12T16:30:54.633" Title="create custom role with login" Tags="|security|user-management|role-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7400" PostTypeId="2" ParentId="7399" CreationDate="2017-09-12T16:08:37.650" Score="2" Body="&lt;p&gt;You actually answered the first part of your question in your comment on this post, while responding to my incorrect suggestion that the user should be a member of the &lt;code&gt;sitecore&lt;/code&gt; domain to access Sitecore. I have updated my answer with the correct information and my recommendations for your needs, below. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Adding Access to the Sitecore Client&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Sitecore Client Users&lt;/code&gt; role is all that is required in order to have access to Sitecore. Being a member of the &lt;code&gt;sitecore&lt;/code&gt; domain is actually not required. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's documentation&lt;/a&gt;, the &lt;code&gt;Sitecore Client Users&lt;/code&gt; role adds the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Gives the user minimal access to Sitecore. With this role, the user can log in to the Sitecore Desktop, but will not have access to any applications.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This means that so long as you add the &lt;code&gt;Sitecore Client Users&lt;/code&gt; role to a user, said user should be able to log into Sitecore but will not have access to any of the applications. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Adding in Access to the Content Editor&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The next step is to give your user access to the Content Editor. I recommend adding the &lt;code&gt;Sitecore Limited Content Editor&lt;/code&gt; role, as it grants access to the Content Editor with the minimum rights granted. Note that if you add this role to your users, you don't actually need to add the &lt;code&gt;Sitecore Client Users&lt;/code&gt; role, since it is included in the &lt;code&gt;Sitecore Limited Content Editor&lt;/code&gt; role, as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's documentation&lt;/a&gt;, the &lt;code&gt;Sitecore Limited Content Editor&lt;/code&gt; role does the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When a content author is assigned this role, they only have access to the Home, Review, and Publish tabs on the Content Editor ribbon and have no access to copy, move, or sort from the item's right-click menu.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;Adding Ability to Read Specific Items&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Lastly, you should create an extra role that has read access to the items that your limited users should be able to read. Give that role to your users, as well, as the &lt;code&gt;Sitecore Limited Content Editor&lt;/code&gt; role and your should be good to go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that for your content authors to be able to read an item, they should be able to read that item and its ancestors. The only exception to this is if you have the &lt;code&gt;ContentEditor.CheckSecurityOnTreeNodes&lt;/code&gt; setting set to &lt;code&gt;false&lt;/code&gt;. If so, then your authors will be able to see but not click on items in the tree that they do not have access to. See &lt;a href=&quot;https://sitecore.stackexchange.com/a/4007/423&quot;&gt;this post&lt;/a&gt; for more details on the &lt;code&gt;ContentEditor.CheckSecurityOnTreeNodes&lt;/code&gt; setting.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-12T16:30:54.633" LastActivityDate="2017-09-12T16:30:54.633" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="7401" PostTypeId="1" AcceptedAnswerId="7406" CreationDate="2017-09-12T17:02:08.537" Score="3" ViewCount="1206" Body="&lt;p&gt;I'm working on something which requires giving the content editor a language selector. After selecting languages, a group of items should have any language except the selected languages removed. The language selector uses the actual language items. These have an &lt;code&gt;iso&lt;/code&gt; field and &lt;code&gt;regional iso code&lt;/code&gt; field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a language item has both an &lt;code&gt;iso&lt;/code&gt; and &lt;code&gt;regional iso code&lt;/code&gt;, passing either field value to &lt;code&gt;LanguageManager.GetLanguage&lt;/code&gt; will result in a language. It looks like items will only have versions for either the iso code language or regional iso code language but not both though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I know when to use the regional iso code vs the regular iso code given a certain language item that has values for both?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="605" LastEditDate="2017-09-12T21:26:08.740" LastActivityDate="2017-09-12T21:46:13.200" Title="Regional Iso Code vs Iso Code" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7402" PostTypeId="5" CreationDate="2017-09-12T17:43:15.950" Score="0" Body="&lt;p&gt;The Brightcove Video Cloud Connect allows Sitecore integrators and clients to easily manage their video assets from Brightcove Video Cloud within the Sitecore content management system. Once installed, Brightcove customers can view, edit and publish videos directly into their website-- all within the Sitecore UI.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sync Brightcove videos, playlists and keyword tags into Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Embed videos as modal video content or as Sitecore sub-layouts&lt;/li&gt;&#xA;&lt;li&gt;Upload new videos via custom interface in the Sitecore content tree&lt;/li&gt;&#xA;&lt;li&gt;Search video titles and metadata via custom Sitecore search interface&lt;/li&gt;&#xA;&lt;li&gt;Preview Brightcove video content in Sitecore before publishing.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The Brightcove Video Cloud Connect module is available from the Sitecore Developer Network at &lt;a href=&quot;http://sdn.sitecore.net/Products/Brightcove.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sdn.sitecore.net/Products/Brightcove.aspx&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="4817" LastEditDate="2021-06-28T05:17:34.887" LastActivityDate="2021-06-28T05:17:34.887" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7403" PostTypeId="4" CreationDate="2017-09-12T17:43:15.950" Score="0" Body="For questions related to the integration between Brightcove and Sitecore, including the Brightcove Connector, Sitecore Media Framework (specifically in regard to Brightcove), etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-12T17:43:15.950" LastActivityDate="2017-09-12T17:43:15.950" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7404" PostTypeId="5" CreationDate="2017-09-12T17:46:38.727" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-12T17:46:38.727" LastActivityDate="2017-09-12T17:46:38.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7405" PostTypeId="4" CreationDate="2017-09-12T17:46:38.727" Score="0" Body="For questions related to the use of AJAX that are specific to Sitecore (i.e. not general AJAX questions that would be better suited for StackOverflow)" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-12T17:46:38.727" LastActivityDate="2017-09-12T17:46:38.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7406" PostTypeId="2" ParentId="7401" CreationDate="2017-09-12T21:46:13.200" Score="2" Body="&lt;p&gt;Instead of using the &lt;code&gt;Regional&lt;/code&gt; or &lt;code&gt;ISO&lt;/code&gt; code, you can directly &lt;strong&gt;&lt;em&gt;use the item name&lt;/em&gt;&lt;/strong&gt; instead. Sitecore will always create the languages using the Regional Code. Examples:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;en-US&lt;/li&gt;&#xA;&lt;li&gt;en&lt;/li&gt;&#xA;&lt;li&gt;da&lt;/li&gt;&#xA;&lt;li&gt;af-ZA&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So, if you use the item name, you don't need to check if the field &lt;code&gt;Regional&lt;/code&gt; or &lt;code&gt;ISO&lt;/code&gt; has a value.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-09-12T21:46:13.200" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7407" PostTypeId="1" AcceptedAnswerId="7408" CreationDate="2017-09-13T00:36:32.537" Score="1" ViewCount="193" Body="&lt;p&gt;When adding items to my TDS project under Git resource control, VS adds a little lock to show me it's under source control.  However I have some items which are displaying a green plus sign (pending) or a red minus sign (ignored).  I've tried deleting the item from VS and then using Get Sitecore Items to get a fresh copy, but it doesn't stick.  The items aren't getting pushed up to Git because it doesn't notice the change.  How can I add these items?&lt;/p&gt;&#xA;" OwnerUserId="2168" LastActivityDate="2017-09-13T01:55:06.220" Title="Status of items added to TDS projects" Tags="|tds|git|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7408" PostTypeId="2" ParentId="7407" CreationDate="2017-09-13T01:55:06.220" Score="4" Body="&lt;p&gt;Sounds very much like you have items that are being ignored by your &lt;code&gt;.gitignore&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To find out what is being ignore, open a git command prompt (Git Bash/PowerShell/Command Prompt - whatever your choice of command line tool is) and run this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;git check-ignore -v filename&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;filename&lt;/code&gt; is the name and path of your TDS &lt;code&gt;.item&lt;/code&gt; file. It will return you the line in the &lt;code&gt;.gitignore&lt;/code&gt; file of the rule that is ignoring your file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&#xA;My &lt;code&gt;.gitignore&lt;/code&gt; is setup to ignore my &lt;code&gt;.vs&lt;/code&gt; folder. To check that I can run:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;git check-ignore -v .vs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;it would return&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.gitignore:21:/.vs    .vs&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The first part is the file adding the ignore rule, in this case &lt;code&gt;.gitignore&lt;/code&gt;, the second part is the line number - &lt;code&gt;21&lt;/code&gt; and the third part is the rule - &lt;code&gt;/.vs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have that you can either remove the rule or force the add. To force the add on the command line do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;git add --force path/filename&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then git will pick up that file and start tracking it for changes. If you are using a Gui for git, the method to force and add will change based on the tool.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-09-13T01:55:06.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7409" PostTypeId="1" AcceptedAnswerId="7421" CreationDate="2017-09-13T02:02:46.277" Score="6" ViewCount="1287" Body="&lt;p&gt;I am working on some site performance issues with image sizes and quality on a home page. I can take care of the quality with javascript and post loading. But I thought about converting all images to WebP as they are uploaded by the editors. So when they upload a new jpeg or png, it would be converted and the extension would be changed to webp. Then the converted image would be stored in the database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on what pipelines to inject/override to capture the file before the item is created in Sitecore and before the image makes it into the blog field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked into some existing source code like &lt;a href=&quot;https://github.com/kamsar/Dianoga/tree/3.0/src/Dianoga/Default%20Config%20Files&quot; rel=&quot;noreferrer&quot;&gt;this one&lt;/a&gt;, but it handles it on the request of the image. I want to do it on upload.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-01-21T11:08:12.323" Title="Convert uploaded images to WebP codec on upload" Tags="|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7411" PostTypeId="1" CreationDate="2017-09-13T06:13:37.590" Score="1" ViewCount="491" Body="&lt;p&gt;I am trying to add a new facet to the content editor, everything is working fine with single word fields (Ex: Authors, Subjects, locations, etc), but same is not working with &lt;strong&gt;two word fields&lt;/strong&gt; (EX: Author Location, or Content Type).&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Used the lower case name of the field, and underscore as the separator, (author_location, content_type)&lt;/li&gt;&#xA;&lt;li&gt;Checked the master index, field is present.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Not sure, what i am missing here, and also renamed the two word field, to single word field, then it started working, again changed back to two word field, it is not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When two world field name facet is added, default facets are also not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version: &lt;strong&gt;8.2 update 2 (rev. 161221)&lt;/strong&gt;&#xA;Search Engine: &lt;strong&gt;Solr&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1003" LastActivityDate="2017-09-13T06:30:54.087" Title="Add facet to Content editor search - field name with two words not working" Tags="|content-editor|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7412" PostTypeId="2" ParentId="7411" CreationDate="2017-09-13T06:18:48.367" Score="2" Body="&lt;p&gt;Please have a look on Sitecore facets documentation : &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/search_and_item_buckets/facets&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/search_and_item_buckets/facets&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can specify item field names. When you specify a field name in the Field Name field of the facet item, Sitecore creates a facet based on this field. You can enter multiple field names as a comma-separated list and when you do, Sitecore creates hierarchical filters (for example, belts/black, belts/white, and so on.) &lt;strong&gt;You specify the field name in lower case, and use the name of the field as it is in the index.&lt;/strong&gt;&#xA;Fields that can have many different values across items are not good candidates for facets, and you should avoid using such fields. For example, a field that has a unique value in each item would cause Sitecore to create a filter for each item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on Author Name default Sitecore facets : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lVjPf.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lVjPf.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-09-13T06:30:54.087" LastActivityDate="2017-09-13T06:30:54.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7413" PostTypeId="1" CreationDate="2017-09-13T09:40:28.077" Score="1" ViewCount="332" Body="&lt;p&gt;I'm using Sitecore 7.2 and WFFM 2.4 (141008). Following this article &lt;a href=&quot;https://divamatrix.wordpress.com/category/wffm/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://divamatrix.wordpress.com/category/wffm/&lt;/a&gt;  I crated a custom field type with 2 dropdown lists. First list I'm populating on control load and second using JSON web service depending on first selection. Form is working very nice on load.&#xA;I have a problem in submit custom action related to this form. Problem is that when I submit a form first custom field (user control) on load event is fired and then Result is selected. Since I'm populating lists in load event result is always empty and no list item is selected. If I add !IsPOstBack list will be empty. Looks like controls view state is not enabled and controls are always empty. Other fields in form are OK.Maybe somebody can show me what I did wrong:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Custom WFFM field contains 2 linked lists: countries and dealers for selected country.  &#xA;/// &amp;lt;/summary&amp;gt;&#xA;public partial class DealerInCountrySelector : ValidateUserControl, IHasTitle&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Collect dealer name and country, comma separated&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public override ControlResult Result&#xA;    {&#xA;        get&#xA;        {&#xA;            var countryName = ddlCountries.SelectedIndex &amp;gt; -1 ? ddlCountries.SelectedItem.Text : &quot;&quot;;&#xA;            var dealerName = ddlDealers.SelectedIndex &amp;gt; -1 ? (ddlDealers.SelectedValue.Equals(&quot;-1&quot;) ? txtOther.Text : ddlDealers.SelectedItem.Text) : &quot;&quot;;&#xA;            return new ControlResult(this.ControlName, string.Format(&quot;{0},{1}&quot;, countryName , dealerName), null);&#xA;        }&#xA;    }&#xA;    public string Title&#xA;    {&#xA;        get&#xA;        {&#xA;            return lbCountry.Text;&#xA;        }&#xA;&#xA;        set&#xA;        {&#xA;            lbCountry.Text = value;&#xA;        }&#xA;    }&#xA;    protected override void OnInit(EventArgs e)&#xA;    {&#xA;        try&#xA;        {&#xA;            //Clear country selector list&#xA;            ddlCountries.Items.Clear();&#xA;            //Add default select item&#xA;            AddDefaultItem();&#xA;            //Populate country selector list&#xA;            foreach (var country in GlobalData.Dealers.DealersList.Keys.OrderBy(item =&amp;gt; item.Name))&#xA;            {&#xA;                var storesList = GlobalData.Dealers.DealersList[country];&#xA;                if (storesList.Any())&#xA;                {&#xA;                    var item = new ListItem(country.Name, country.Code);&#xA;                    ddlCountries.Items.Add(item);&#xA;                }&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(&quot;DealerInCountrySelector ERROR:&quot; + ex.Message, ex, this);&#xA;        }&#xA;    }        &#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Add Please select as default item&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    void AddDefaultItem()&#xA;    {&#xA;        var defaultItem = new ListItem();&#xA;        defaultItem.Text = Translate.Text(&quot;Please select a country&quot;);&#xA;        defaultItem.Value = &quot;&quot;;&#xA;        defaultItem.Selected = true;&#xA;        ddlCountries.Items.Add(defaultItem);&#xA;    }&#xA;    protected override Control ValidatorContainer&#xA;    {&#xA;        get&#xA;        {&#xA;            return this;&#xA;        }&#xA;    }&#xA;    protected override Control InnerValidatorContainer&#xA;    {&#xA;        get { return this.pSelector; }&#xA;    }        &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wHF43.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wHF43.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2421" LastEditorUserId="423" LastEditDate="2017-09-13T13:58:28.043" LastActivityDate="2019-01-29T14:38:18.390" Title="WFFM Custom field user control result" Tags="|wffm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7415" PostTypeId="2" ParentId="7369" CreationDate="2017-09-13T10:10:54.753" Score="1" Body="&lt;p&gt;Possible areas to look for customizations is in the pipeline &quot;successAction&quot;. The pipeline processors &quot;SuccessRedirect&quot; and &quot;FormatSuccessMessage&quot; are in the Sitecore.Forms.config file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(The code is located in Sitecore.Form.Core.dll and the namespace is &quot;Sitecore.Form.Core.Pipelines.FormSubmit&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using MVC, make sure to look in the Sitecore.MvcForms.config for anything custom that may be highjacking things.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If the form is supposed to redirect, are you sure the that the item the form is redirecting to isn't falling back to English? Is there a German Version? &lt;/li&gt;&#xA;&lt;li&gt;Did you look at all the items on CD and make sure everything published correctly?&lt;/li&gt;&#xA;&lt;li&gt;Is the German form item configured the same in all environments.&lt;/li&gt;&#xA;&lt;li&gt;Is the vanilla instance of Sitecore set up with the same server configuration as the CM/CD environment where it's not working?&lt;/li&gt;&#xA;&lt;li&gt;Does the vanilla instance have the same items as CD along with the same WFFM configs? &lt;/li&gt;&#xA;&lt;li&gt;Are there any customizations to the WFFM pipelines?&lt;/li&gt;&#xA;&lt;li&gt;Are there any custom Save Actions or Form Verifications that could be interfering with the submission?&lt;/li&gt;&#xA;&lt;li&gt;Are the configurations basically the same in all environments?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Personally, I've experienced a lot of weird behavior with WFFM on 8.1 with multiple languages. Language Fallback was extremely buggy prior to version 8.1 update 3. It was a nightmare... oh the headaches it caused.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the issue could be related to items not publishing or Language Fallback. &lt;/p&gt;&#xA;" OwnerUserId="1556" LastEditorUserId="1556" LastEditDate="2017-09-13T10:36:36.260" LastActivityDate="2017-09-13T10:36:36.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7417" PostTypeId="1" CreationDate="2017-09-13T12:44:22.590" Score="2" ViewCount="1151" Body="&lt;p&gt;Upgrading from Sitecore 8.1 to 8.2 update 5, I get the error below when trying to access a page that uses WFFM (which has also been upgraded). All assemblies and config files from the WFFM update package seem to have been installed correctly to the Website folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After a bit of googling (found &lt;a href=&quot;https://cardinalcore.co.uk/2014/10/08/web-form-for-marketers-mvc-hijacked-my-pipeline/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; among others) I suspect that this has something do to with dependency injection gone wrong, but I don't know where to proceed from here to investigate that. We use Castle Windsor as a custom dependency injector and I have not reconfigured this after the upgrade. Do I perhaps need to do that so Sitecores built-in DI can live next to Castle Windsor?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ArgumentNullException: Value cannot be null.&#xA;Parameter name: analyticsTracker]&#xA;   Sitecore.Forms.Mvc.Controllers.FormController..ctor(IRepository`1 repository, IAutoMapper`2 mapper, IFormProcessor`1 processor, IAnalyticsTracker analyticsTracker) +471&#xA;   Sitecore.Forms.Mvc.Controllers.FormController..ctor() +152&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck) +0&#xA;   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark) +159&#xA;   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark) +256&#xA;   System.Activator.CreateInstance(Type type, Boolean nonPublic) +127&#xA;   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp;amp; stackMark) +14297981&#xA;   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +198&#xA;   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28&#xA;   Sitecore.Mvc.Helpers.TypeHelper.CreateObject(Type type, Object[] parameters) +43&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateControllerInstance(RequestContext requestContext, String controllerName) +350&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName) +119&#xA;&#xA;[ControllerCreationException: Could not create controller: 'Sitecore.Forms.Mvc.Controllers.FormController, Sitecore.Forms.Mvc'. &#xA;The context item is: '/sitecore/content/something/something/some-page'. &#xA;The current route url is: '{*pathInfo}'. This is the default Sitecore route which is set up in the 'InitializeRoutes' processor of the 'initialize' pipeline. ]&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName) +346&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.GetController() +24&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.Execute() +50&#xA;   Sitecore.Mvc.Presentation.ControllerRenderer.Render(TextWriter writer) +127&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +156&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +62&#xA;   (Object , Object[] ) +83&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +445&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +20&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +221&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +163&#xA;   (Object , Object[] ) +83&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +445&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +20&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +221&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +331&#xA;   ASP._Views_Layouts_Main_cshtml.Execute() in c:\Code\Something\MyProject\obj\CodeGen\Views\views\layouts\Main.cshtml:75&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +126&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +125&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +147&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +358&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/Views/Layouts/Main.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +877&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +156&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +62&#xA;   (Object , Object[] ) +83&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +445&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +20&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +221&#xA;   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +318&#xA;   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +109&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +97&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult) +57&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: On some pages that use WFFM, the exception is another:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Exception: Could not create instance of the Sitecore.Forms.Core.Handlers.FormDataHandler class.]&#xA;   Sitecore.WFFM.Abstractions.Dependencies.DependenciesManager.Resolve(String path) +373&#xA;   Sitecore.WFFM.Abstractions.Dependencies.DependenciesManager.Resolve() +291&#xA;   Sitecore.Form.Core.Ascx.Controls.SimpleForm..ctor() +52&#xA;   Sitecore.Form.Web.UI.Controls.SitecoreSimpleForm..ctor(Item item) +45&#xA;   Sitecore.Form.Core.Renderings.FormRender.OnInit(EventArgs e) +465&#xA;   System.Web.UI.Control.InitRecursive(Control namingContainer) +186&#xA;   System.Web.UI.Control.InitRecursive(Control namingContainer) +291&#xA;   System.Web.UI.Control.InitRecursive(Control namingContainer) +291&#xA;   System.Web.UI.Control.InitRecursive(Control namingContainer) +291&#xA;   System.Web.UI.Control.InitRecursive(Control namingContainer) +291&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2098&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2247" LastEditorUserId="423" LastEditDate="2017-09-13T14:01:43.547" LastActivityDate="2017-09-13T18:36:01.803" Title="WFFM &quot;Could not create controller&quot; exception after upgrade to 8.2" Tags="|wffm|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7418" PostTypeId="1" CreationDate="2017-09-13T13:12:58.597" Score="2" ViewCount="280" Body="&lt;p&gt;Currently I am using Sitecore version 8.2 update 3, I already set the presentation in the standard value of the template, and created couple of item from that template, all the item presentation (&lt;code&gt;__rendering&lt;/code&gt; field) value inherited from the standard value that is the default behavior of the Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now I want to change some default presentation rendering in the standard field of the template, and don’t want to reflect that's changes on the &lt;code&gt;__rendering&lt;/code&gt; field value for the existing items that i have already created, I want to see the new changes in the newly created items only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently Presentation field(&lt;code&gt;__rendering&lt;/code&gt;) of the items getting value from the standard value , until and unless I change the item presentation value itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jMgLm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jMgLm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to control the standard field value behavior on the item level, means if I don’t want to inherit the standard value to the Item field value ? Can I mark it on the field level of the item? so I can allow the Item Field to check the value from the standard value or not ?&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="70" LastEditDate="2017-09-13T16:54:45.880" LastActivityDate="2017-09-13T16:54:45.880" Title="How to control the default inheritance behavior of the item __Renderings field?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7419" PostTypeId="5" CreationDate="2017-09-13T13:31:37.983" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-13T13:31:37.983" LastActivityDate="2017-09-13T13:31:37.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7420" PostTypeId="4" CreationDate="2017-09-13T13:31:37.983" Score="0" Body="For questions related to the git source control technology, specifically pertaining to Sitecore solutions" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-13T13:31:37.983" LastActivityDate="2017-09-13T13:31:37.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7421" PostTypeId="2" ParentId="7409" CreationDate="2017-09-13T13:36:43.333" Score="3" Body="&lt;p&gt;You have two options: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;tap into the &lt;code&gt;&amp;lt;uiUpload&amp;gt;&lt;/code&gt; pipeline &lt;/li&gt;&#xA;&lt;li&gt;Use media upload events&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Generally speaking, I almost always recommend going with a pipeline over eventing, if the option is available. However, in this case, if there is any possibility that your media could be uploaded programmatically then I recommend that you subscribe to one or more of the following events, based on your requirements:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;media:upload&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;media:batchupload&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;media:multiupload&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;The &lt;code&gt;uiUpload&lt;/code&gt; pipeline&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;&amp;lt;uiUpload&amp;gt;&lt;/code&gt; pipeline is a great solution if you know that your custom logic only needs to fire when a content author uploads the media. The processor fires once per content authoring action, meaning that regardless of whether the author uploads one file or five the logic will only have to run one time. This is great for performance, and means that both &quot;multi-upload&quot; and &quot;single upload&quot; are covered. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only problem with the &lt;code&gt;uiUpload&lt;/code&gt; pipeline is the &lt;code&gt;ui&lt;/code&gt; part: it only runs when the upload is triggered from the Sitecore Client. For this reason, if there is a possibility that the media that your logic needs to run on will be uploaded programmatically then the &lt;code&gt;uiUpload&lt;/code&gt; pipeline is not the solution for you. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The &lt;code&gt;media:upload&lt;/code&gt; and related events&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Sitecore's eventing model is a fantastic tool for use in a variety of circumstances. In this case, the eventing model fills in the gap left by the &lt;code&gt;&amp;lt;uiUpload&amp;gt;&lt;/code&gt; pipeline by providing support for the execution of custom logic when a media item is uploaded outside of the Sitecore Client.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The upload events are as follows: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;media:upload&lt;/code&gt;&lt;/strong&gt; - raised when a media item is uploaded to Sitecore. The &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;media:multiupload&lt;/code&gt;&lt;/strong&gt; - raised when multiple media items are uploaded at once.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;media:batchupload&lt;/code&gt;&lt;/strong&gt; - raised when media is uploaded via the &lt;code&gt;/upload&lt;/code&gt; folder on the file system&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The greatest negative to the media events is their performance cost to the Sitecore Client authoring experience, as compared to the &lt;code&gt;&amp;lt;uiUpload&amp;gt;&lt;/code&gt; pipeline. In general, events tend to be a bit heavier than pipelines - one of, if not the worst being the &lt;code&gt;item:saved&lt;/code&gt; event. However, due to the fact that the media events are not repeatedly called for a single action, the performance cost for the three listed events is minimal. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-13T13:56:51.833" LastActivityDate="2017-09-13T13:56:51.833" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7422" PostTypeId="2" ParentId="7418" CreationDate="2017-09-13T14:27:11.423" Score="2" Body="&lt;p&gt;Unfortunately, there is no field or setting that allows you to control the behavior the way that you are trying to do so. However, in the below, I have provided you with two solutions that should achieve the result that you are looking for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My recommendation is that you go with the second option: creating a new template for the new items. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Breaking the Presentation Inheritance&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You should be able to achieve what you are looking for by simply making and saving an arbitrary change to the value of the &lt;code&gt;_Renderings&lt;/code&gt; field on the existing item(s) before making your changes to the &lt;code&gt;__Standard Values&lt;/code&gt;. This way, the field on the existing item(s) will no longer inherit the &lt;code&gt;__Standard Values&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a large number of items, you can do this with a simple script or with &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore PowerShell Extensions (SPE)&lt;/a&gt;, if you have it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Important:&lt;/strong&gt; I advise caution when going down this road. From a maintainability perspective, it's typically better to be able too control presentation on multiple items from a single place. As soon as you break this inheritance, you lose that ability. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Creating a New Template for the Presentation of the New Items&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;An alternative solution that I recommend before you intentionally break presentation inheritance is to create a new template with its own &lt;code&gt;__Standard Values&lt;/code&gt; for the new items. This template can be set to inherit the existing template, which means that its &lt;code&gt;__Standard Values&lt;/code&gt; will initially inherit the presentation of the existing template's &lt;code&gt;__Standard Values&lt;/code&gt;. You can make the modifications that you want to reflect on the new items, which will break the inheritance, as desired. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The benefit of this solution is that the existing items will still inherit the presentation from the original template's &lt;code&gt;__Standard Values&lt;/code&gt;, while the new items will inherit the presentation of the new template's &lt;code&gt;__Standard Values&lt;/code&gt;. This avoids the maintenance issue and can save you on future effort. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If changing the template is a problem, note that you could also do the same thing with a branch template, but you will lose the presentation inheritance for the newly-created items. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-13T14:38:22.343" LastActivityDate="2017-09-13T14:38:22.343" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7423" PostTypeId="1" CreationDate="2017-09-13T14:39:29.353" Score="8" ViewCount="2331" Body="&lt;p&gt;Sitecore licences have an expiry date. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you've deployed up-to Azure using the wizard in the portal, how can you upload or attach a new licence file to prevent Sitecore returning an Invalid Licence exception?&lt;/p&gt;&#xA;" OwnerUserId="443" LastEditorUserId="443" LastEditDate="2017-09-14T12:45:41.963" LastActivityDate="2017-09-18T15:58:04.017" Title="How do you update a license file that is installed in your Azure deployment?" Tags="|azure|licensing|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7424" PostTypeId="2" ParentId="7417" CreationDate="2017-09-13T15:46:41.850" Score="2" Body="&lt;p&gt;It could be that Castle Windsor (to my knowledge) tries to get the constructor with the most parameters. If there are more than one with the same amount of parameters it picks the first... which looks like it's causing those errors. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had a similar issue on a project a while back. I used Simple Injector and the following example. It fixed my WFFM issue.  Although this example using SI, you should be able to do something similar with Castle Windsor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix the issue, I needed to override the Constructor Resolution Behavior. I added the following code to my project:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MostResolvableConstructorBehavior : IConstructorResolutionBehavior&#xA;{&#xA;    private readonly Container container;&#xA;&#xA;    public MostResolvableConstructorBehavior(Container container)&#xA;    {&#xA;        this.container = container;&#xA;    }&#xA;&#xA;    private bool IsCalledDuringRegistrationPhase =&amp;gt; !this.container.IsLocked();&#xA;&#xA;    public ConstructorInfo GetConstructor(Type service, Type implementation)&#xA;    {&#xA;        var constructors = implementation.GetConstructors();&#xA;&#xA;        if (!constructors.Any())&#xA;            return null;&#xA;&#xA;        return (&#xA;            from ctor in constructors&#xA;            let parameters = ctor.GetParameters()&#xA;            where this.IsCalledDuringRegistrationPhase&#xA;                  || constructors.Length == 1&#xA;                  || parameters.All(p =&amp;gt; this.CanBeResolved(p, service, implementation))&#xA;            orderby parameters.Length descending&#xA;            select ctor)&#xA;            .First();&#xA;    }&#xA;&#xA;    private bool CanBeResolved(ParameterInfo p, Type service, Type implementation)&#xA;    {&#xA;        return this.container.GetRegistration(p.ParameterType) != null ||&#xA;               this.CanBuildType(p, service, implementation);&#xA;    }&#xA;&#xA;    private bool CanBuildType(ParameterInfo p, Type service, Type implementation)&#xA;    {&#xA;        try&#xA;        {&#xA;            this.container.Options.DependencyInjectionBehavior.BuildExpression(&#xA;                new InjectionConsumerInfo(service, implementation, p));&#xA;            return true;&#xA;        }&#xA;        catch (ActivationException)&#xA;        {&#xA;            return false;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next I added to the InitializeDependencyResolver located in App_Start. That looked like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var container = new Container();&#xA;container.Options.ConstructorResolutionBehavior = new MostResolvableConstructorBehavior(container);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here are two links that provide really good and in depth information regarding this.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://simpleinjector.readthedocs.io/en/latest/extensibility.html?highlight=Resolution#overriding-constructor-resolution-behavior&quot; rel=&quot;nofollow noreferrer&quot;&gt;Overriding Constructor Resolution Behavior&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.sitecorenutsbolts.net/2015/07/27/Simple-Injector-and-WFFM-Controller-Injection-Woes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Simple Injector and WFFM Controller Injection Woes&#xA;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1556" LastEditorUserId="1556" LastEditDate="2017-09-13T18:36:01.803" LastActivityDate="2017-09-13T18:36:01.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7425" PostTypeId="2" ParentId="7423" CreationDate="2017-09-13T16:49:36.250" Score="4" Body="&lt;p&gt;The license file is stored in the &lt;code&gt;/site/wwwroot/App_Data&lt;/code&gt; folder on your server.  You can use FTP to upload a new license.xml file.&lt;/p&gt;&#xA;" OwnerUserId="933" LastEditorUserId="70" LastEditDate="2017-09-13T16:51:28.083" LastActivityDate="2017-09-13T16:51:28.083" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7426" PostTypeId="2" ParentId="7423" CreationDate="2017-09-13T16:49:57.360" Score="4" Body="&lt;p&gt;You can use a FTPS or Web Deploy client to connect directly to the filesystem on the deployed App Service instance. Open up your &lt;code&gt;.publishsettings&lt;/code&gt; file with a text editor, and you can see the endpoints to use and the username/passwords.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure you use an FTP client that supports explicit TLS encryption (like WinSCP).&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-09-13T16:49:57.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7427" PostTypeId="1" AcceptedAnswerId="7432" CreationDate="2017-09-13T17:47:00.347" Score="3" ViewCount="2050" Body="&lt;p&gt;I need to send a copy of my MongoDB to Sitecore Support for investigation. For security reasons I want all sensitive data to be anonymized.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fields I'm talking about are: FirstName, LastName, Addresses and Email addresses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is there an easy and fast way to do this?&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Contacts collection contains around 350.000 entries.&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-09-13T19:47:48.327" Title="How do I anonymize contact data in MongoDB?" Tags="|mongodb|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7428" PostTypeId="1" AcceptedAnswerId="7433" CreationDate="2017-09-13T18:57:40.163" Score="7" ViewCount="202" Body="&lt;p&gt;I'm starting to explore building a custom save action in WFFM using an implementation of &lt;code&gt;ISaveAction&lt;/code&gt;.  I know the bulk of my work will be in the &lt;code&gt;Execute()&lt;/code&gt; method, but I'd like to know what all of the other properties do. All of the examples that I've found use either a default implementation of the getters and setters (for &lt;code&gt;ActionID&lt;/code&gt; and &lt;code&gt;UniqueKey&lt;/code&gt;) or else a hard coded response (&lt;code&gt;ActionType.Save&lt;/code&gt; for &lt;code&gt;ActionType&lt;/code&gt; or &lt;code&gt;ActionState.Enabled&lt;/code&gt; for &lt;code&gt;QueryState()&lt;/code&gt;).  I can't seem to locate any documentation, discussion of what they all do, or any other indication of what the &quot;right&quot; implementation are.  Can anyone point me in the right direction?&lt;/p&gt;&#xA;" OwnerUserId="2194" LastEditorUserId="2194" LastEditDate="2017-09-13T21:24:02.503" LastActivityDate="2017-09-13T21:24:02.503" Title="Purpose of properties in ISaveAction" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7429" PostTypeId="1" AcceptedAnswerId="7438" CreationDate="2017-09-13T19:28:29.550" Score="2" ViewCount="656" Body="&lt;p&gt;So we are working with xDb and we would like to collect data about the user when they are anonymous but haven't been identified using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.Identify(emailAddress);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this possible, to store information such as their Name, etc without having them identified based on their e-mail?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-09-14T02:17:16.260" Title="How to store data to a Contact before it's been Identified" Tags="|xdb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7430" PostTypeId="2" ParentId="7269" CreationDate="2017-09-13T19:46:51.530" Score="2" Body="&lt;p&gt;My suggestion would be to generate a &lt;a href=&quot;https://stackoverflow.com/questions/19441155/how-to-create-a-self-signed-certificate-for-a-domain-name-for-development&quot;&gt;self-signed certificate&lt;/a&gt; for DEV environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you've mentioned in question description &lt;code&gt;Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager&lt;/code&gt; uses &lt;code&gt;https&lt;/code&gt; in its source code. This class is widely used to access Sitecore items from Commerce Engine. &lt;code&gt;SitecoreConnectionManager&lt;/code&gt; uses &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Services.Client (SSC)&lt;/a&gt; to get information from Sitecore. &#xA;To send API requests to SSC &lt;code&gt;SitecoreConnectionManager&lt;/code&gt; first sends request for authentication to &lt;code&gt;sitecore/api/ssc/auth/login&lt;/code&gt; endpoint that is available only over &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient_security&quot; rel=&quot;nofollow noreferrer&quot;&gt;https&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You must make requests to auth/login over HTTPS.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Note that Commerce Engine uses credentials from &lt;code&gt;SitecoreConnectionPolicy&lt;/code&gt; to integrate with SSC. E.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;$type&quot;: &quot;Sitecore.Commerce.Plugin.Management.SitecoreConnectionPolicy, Sitecore.Commerce.Plugin.Management&quot;,&#xA;    &quot;Host&quot;: &quot;retail.dev.local&quot;,&#xA;    &quot;SitecoreDatabase&quot;: &quot;master&quot;,&#xA;    &quot;UserName&quot;: &quot;CommerceEngineUser&quot;,&#xA;    &quot;Domain&quot;: &quot;sitecore&quot;,&#xA;    &quot;Password&quot;: &quot;demopass&quot;,&#xA;    &quot;PolicyId&quot;: &quot;a12d609f37124c4fb9007519a8e18b69&quot;,&#xA;    &quot;Models&quot;: {&#xA;        &quot;$type&quot;: &quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Model, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;        &quot;$values&quot;: [&#xA;&#xA;        ]&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="139" LastActivityDate="2017-09-13T19:46:51.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7431" PostTypeId="1" AcceptedAnswerId="7437" CreationDate="2017-09-13T19:47:00.437" Score="1" ViewCount="460" Body="&lt;p&gt;I'm trying to find out the best-performance way to make personalized sidebar menus. Each link has conditions that determine whether or not it should be included in or excluded from the menu. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand that I could define different groups of links depending on the situation and include/exclude them in that way (and need 1 rendering for a menu) but that could lead to endless combinations of links so that's not really editor-friendly. Alternatively, I could make every link a separate rendering, but that might also not be the most performant (or is it?). Item-rendering doesn't support personalisation as far as I know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The conditions on whether to add the menu option is driven by backend data. This could be the status of a purchase or whether the customer already had a certain product. But basic triggers like showing interest by visiting a productpage can also be a future use case. Each link could have different conditions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Suggestions on the best solution for this use-case would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1015" LastEditorUserId="1015" LastEditDate="2017-09-13T21:00:30.360" LastActivityDate="2017-09-14T12:40:45.880" Title="Personalisation on item's children" Tags="|personalization|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7432" PostTypeId="2" ParentId="7427" CreationDate="2017-09-13T19:47:48.327" Score="3" Body="&lt;p&gt;You can mass-replace personal data right from the MongoDB console:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var i = 0;&#xA;db.Contacts.find({}, {_id: 1}).forEach(function(contact) {&#xA;  db.Contacts.update({_id: contact._id}, {$set: {&#xA;    &quot;Personal.FirstName&quot;: &quot;RandomFirstName&quot; + i,&#xA;    &quot;Personal.Surname&quot;: &quot;RandomSurname&quot; + i&#xA;    /* etc. for other personal data */&#xA;  }});&#xA;  i++;&#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-09-13T19:47:48.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7433" PostTypeId="2" ParentId="7428" CreationDate="2017-09-13T19:54:13.570" Score="4" Body="&lt;p&gt;Sitecore's documentation on the &lt;code&gt;ISaveAction&lt;/code&gt; interface is a bit limited, and I can certainly appreciate wanting to know more about it before trying to implement it, yourself. Below, I have provided a detailed breakdown of each of the properties that you mentioned from the &lt;code&gt;ISaveAction&lt;/code&gt; interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be noted that all of the mentioned properties are actually defined on the &lt;code&gt;Sitecore.WFFM.Abstractions.Actions.IAction&lt;/code&gt; interface, which is inherited by the &lt;code&gt;Sitecore.WFFM.Abstractions.Actions.ISaveAction&lt;/code&gt; interface. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, I primarily used Web Forms for Marketers 8.2 rev. 161129 during my analysis. I looked through a couple of other versions as well, but did not see any significant differences. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;ActionID&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;ActionID&lt;/code&gt; property is pretty straight-forward: it is the ID of the Save Action item, in Sitecore. It should have a default getter and setter, as Sitecore's internal logic is responsible for setting the property's value. For a Save Action, this happens in the &lt;code&gt;DefaultImplActionExecutor.ExecuteSaving&lt;/code&gt; method. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;UniqueKey&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;UniqueKey&lt;/code&gt; property of the &lt;code&gt;ISaveAction&lt;/code&gt; (inherited from &lt;code&gt;IAction&lt;/code&gt;) maps to the &lt;code&gt;Sitecore.WFFM.Abstractions.Actions.IActionDefinition.UniqueKey&lt;/code&gt; property, which is a unique string that helps to identify the instance definition of the action on a form. Like the &lt;code&gt;ActionID&lt;/code&gt;, the &lt;code&gt;UniqueKey&lt;/code&gt; should have a default getter and setter, as Sitecore's internal logic, again in the &lt;code&gt;DefaultImplActionExecutor.ExecuteSaving&lt;/code&gt; method, is responsible for setting the property's value. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The purpose of the &lt;code&gt;UniqueKey&lt;/code&gt; property is a bit trickier to wrap your mind around, but is a bit easier when thinking about an example. Consider that you have an Email Save Action. There is an item for that Save Action and that item has an ID that maps to &lt;code&gt;ActionID&lt;/code&gt;. The default settings for the action are stored on the action item itself, but now assume that you add the action to the form &lt;em&gt;Foo&lt;/em&gt;. At this point, you need to update the instance-specific settings for the action (e.g. To, From, Message Body, Subject, etc.) and save the settings such that Sitecore knows that the settings you updated belong only to the instance of the Email Save Action that is on the &lt;em&gt;Foo&lt;/em&gt; form. Sitecore doesn't change the template, so instead it saves the data as an &lt;code&gt;ActionDefinition&lt;/code&gt; (which I believe is stored as XML). The &lt;code&gt;UniqueKey&lt;/code&gt; on the save action then helps to identify the instance of the save action that your class represents. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;ActionType&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;It makes sense that the &lt;code&gt;ActionType&lt;/code&gt; property would be hard-coded for a save action. The &lt;code&gt;ActionType&lt;/code&gt; property is typed to the following enum:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.WFFM.Abstractions.Actions&#xA;{&#xA;  public enum ActionType&#xA;  {&#xA;    Undefined,&#xA;    Check,&#xA;    Save,&#xA;    System,&#xA;    Custom,&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since you are implementing a &lt;em&gt;Save&lt;/em&gt; Action, your &lt;code&gt;ActionType&lt;/code&gt; is always going to be &lt;code&gt;ActionType.Save&lt;/code&gt;. As for the other values, it appears that Sitecore does not currently make use of them. They are likely there for future development purposes that have not yet been made clear. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can always file a support ticket to inquire about additional information and more clarity regarding the purpose that the other values will serve, but I would expect that Sitecore will give you the same response as I did. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;QueryState&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Similar to the &lt;code&gt;ActionType&lt;/code&gt; property, the &lt;code&gt;QueryState&lt;/code&gt; also makes sense to be hard-coded for a Save Action. The &lt;code&gt;QueryState&lt;/code&gt; property is typed to the following enum:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.WFFM.Abstractions.Actions&#xA;{&#xA;  public enum ActionState&#xA;  {&#xA;    Undefined,&#xA;    Disabled,&#xA;    Enabled,&#xA;    SingleCall,&#xA;    Hidden,&#xA;    DisabledSingleCall,&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As with the &lt;code&gt;ActionType&lt;/code&gt; enum, Sitecore appears to only use the &lt;code&gt;ActionState.Enabled&lt;/code&gt; value at present, and the other values are likely included for future feature development. Based on the use of the &lt;code&gt;ActionState.Enabled&lt;/code&gt; value and the naming of the other values, I think it is safe to infer that the purpose of these options is to allow the developer to control the frequency in which an action can be called. A &lt;code&gt;Disabled&lt;/code&gt; action would never be called, &lt;code&gt;Enabled&lt;/code&gt; would always be called, and &lt;code&gt;SingleCall&lt;/code&gt; would be called once and would then change to a &lt;code&gt;DisabledSingleCall&lt;/code&gt; so that it won't be called again. I'm not sure what &lt;code&gt;Hidden&lt;/code&gt; would do, but as with the &lt;code&gt;ActionType&lt;/code&gt; enum, we won't know more until Sitecore releases updates that make use of these properties. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Again, you can file a Support ticket with Sitecore to inquire about additional information on this property, but I would expect them to give you the same answer as I did. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-13T20:13:01.577" LastActivityDate="2017-09-13T20:13:01.577" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7434" PostTypeId="1" AcceptedAnswerId="7886" CreationDate="2017-09-13T20:02:55.370" Score="3" ViewCount="104" Body="&lt;p&gt;I am modifying the existing javascript for the SelectRoles modal window, and I would like to add a piece of code to check if the current user has the &quot;Is Administrator&quot; checkbox checked. I need to find out who the current user is and if they have that setting checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are moving towards domain administrators managing their own domain users, but we are not giving them the &quot;Is Administrator&quot; checkbox or the ability to use it. This would allow us to have a general rule on the way roles are assigned, but have select admins override those rules in fringe cases.&lt;/p&gt;&#xA;" OwnerUserId="2425" LastActivityDate="2017-10-05T14:38:47.900" Title="Identify Administrators in Javascript" Tags="|javascript|user-management|role-management|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7435" PostTypeId="1" CreationDate="2017-09-13T20:08:54.123" Score="1" ViewCount="406" Body="&lt;p&gt;Hi I'm working on a POC using Sitecore Retail demo. Yesterday I imported all the images for every product, and now this error is showing on every page. Any idea?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;4464 19:58:16 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.&amp;lt;BeginExecuteCore&amp;gt;b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/Views/Retail/Layouts/Retail.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/Views/Common/Sublayouts/Section.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;   at ASP._Page_Views_Retail_Layouts_Retail_cshtml.Execute() in C:\websites\Habitat.dev.local\Website\Views\Retail\Layouts\Retail.cshtml:line 72&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/Views/Common/Sublayouts/ArticleAsideRight.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;   at Sitecore.Foundation.SitecoreExtensions.Extensions.HtmlHelperExtensions.DynamicPlaceholder(SitecoreHelper helper, String placeholderName, Boolean useStaticPlaceholderNames) in C:\Projects\Habitat\src\foundation\SitecoreExtensions\code\Extensions\HTMLHelperExtensions.cs:line 60&#xA;   at ASP._Page_Views_Common_Sublayouts_Section_cshtml.Execute() in C:\websites\Habitat.dev.local\Website\Views\Common\Sublayouts\Section.cshtml:line 9&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.ExecuteCore()&#xA;   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.ExecuteController(Controller controller)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.Execute()&#xA;   at Sitecore.Mvc.Presentation.ControllerRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;   at Sitecore.Foundation.SitecoreExtensions.Extensions.HtmlHelperExtensions.DynamicPlaceholder(SitecoreHelper helper, String placeholderName, Boolean useStaticPlaceholderNames) in C:\Projects\Habitat\src\foundation\SitecoreExtensions\code\Extensions\HTMLHelperExtensions.cs:line 60&#xA;   at ASP._Page_Views_Common_Sublayouts_ArticleAsideRight_cshtml.Execute() in C:\websites\Habitat.dev.local\Website\Views\Common\Sublayouts\ArticleAsideRight.cshtml:line 9&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Microsoft.OData.Client.DataServiceQueryException&#xA;Message: An error occurred while processing this request.&#xA;Source: Sitecore.Commerce.ServiceProxy&#xA;   at Sitecore.Commerce.ServiceProxy.Proxy.GetValue[T](DataServiceQuerySingle`1 query)&#xA;   at Sitecore.Commerce.Engine.Connect.Pipelines.Prices.GetProductPrices.Process(ServicePipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Commerce.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Commerce.Services.ServiceProvider.RunPipeline[TRequest,TResult](String pipelineName, TRequest request)&#xA;   at Sitecore.Foundation.Commerce.Managers.PricingManager.GetProductPrices(String catalogName, String productId, Boolean includeVariants, String userId, String[] priceTypeIds) in C:\Projects\Sitecore.Demo.Retail\src\Foundation\Commerce\code\Managers\PricingManager.cs:line 66&#xA;   at Sitecore.Foundation.Commerce.Managers.CatalogManager.GetProductPrice(ICatalogProduct productViewModel) in C:\Projects\Sitecore.Demo.Retail\src\Foundation\Commerce\code\Managers\CatalogManager.cs:line 169&#xA;   at Sitecore.Feature.Commerce.Catalog.Factories.ProductViewModelFactory.PopulatePriceInformation(ProductViewModel productViewModel) in C:\Projects\Sitecore.Demo.Retail\src\Feature\Catalog\code\Factories\ProductViewModelFactory.cs:line 106&#xA;   at Sitecore.Feature.Commerce.Catalog.Factories.ProductViewModelFactory.Create(Item item) in C:\Projects\Sitecore.Demo.Retail\src\Feature\Catalog\code\Factories\ProductViewModelFactory.cs:line 87&#xA;   at Sitecore.Feature.Commerce.Catalog.Models.CategoryViewModel..ctor(Item categoryItem, SearchResults products, IEnumerable`1 sortFields, SearchOptions searchOptions) in C:\Projects\Sitecore.Demo.Retail\src\Feature\Catalog\code\Models\CategoryViewModel.cs:line 47&#xA;   at Sitecore.Feature.Commerce.Catalog.Factories.CategoryViewModelFactory.Create(Category category, SearchOptions productSearchOptions) in C:\Projects\Sitecore.Demo.Retail\src\Feature\Catalog\code\Factories\CategoryViewModelFactory.cs:line 54&#xA;   at Sitecore.Feature.Commerce.Catalog.Controllers.CatalogController.GetCategoryViewModel(Category category, SearchOptions productSearchOptions) in C:\Projects\Sitecore.Demo.Retail\src\Feature\Catalog\code\Controllers\CatalogController.cs:line 709&#xA;   at Sitecore.Feature.Commerce.Catalog.Controllers.CatalogController.ProductList(Nullable`1 pageNumber, String facetValues, String sortField, Nullable`1 pageSize, Nullable`1 sortDirection) in C:\Projects\Sitecore.Demo.Retail\src\Feature\Catalog\code\Controllers\CatalogController.cs:line 207&#xA;   at lambda_method(Closure , ControllerBase , Object[] )&#xA;   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.ControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass15.&amp;lt;InvokeActionMethodWithFilters&amp;gt;b__12()&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Microsoft.OData.Client.DataServiceClientException&#xA;Message: {&#xA;  &quot;@odata.context&quot;:&quot;http://habitat.commerceengine.dev.local:5000/Api/$metadata#Sitecore.Commerce.Core.CommandMessage&quot;,&quot;MessageDate&quot;:&quot;2017-09-13T19:58:14.1319894Z&quot;,&quot;Code&quot;:&quot;Error&quot;,&quot;Text&quot;:&quot;Management.block.getitembypath: Object reference not set to an instance of an object.&quot;,&quot;CommerceTermKey&quot;:&quot;Exception&quot;&#xA;}&#xA;Source: Microsoft.OData.Client&#xA;   at Microsoft.OData.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult)&#xA;   at Microsoft.OData.Client.QueryResult.EndExecuteQuery[TElement](Object source, String method, IAsyncResult asyncResult)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After looking at the Commerce Server Catalog Manager, I realized the catalog was wiped, probably by one of the sync task I executed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When restarting Sitecore, I now have a new log error. HTTPS is working properly.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2048 19:08:02 ERROR One or more exceptions occurred while processing the subscribers to the 'commercecacherefresh:remote' event.&#xA;Exception[1]: System.NullReferenceException &#xA;Message[1]: Object reference not set to an instance of an object. &#xA;Source[1]: Sitecore.Kernel &#xA;   at Sitecore.Data.Engines.TemplateEngine.AddItemBasedTemplates(TemplateDictionary result)&#xA;   at Sitecore.Data.Engines.TemplateEngine.InternalGetTemplates()&#xA;   at Sitecore.Data.Engines.TemplateEngine.GetTemplate(ID templateId)&#xA;   at Sitecore.Data.Items.TemplateItem.GetTemplate()&#xA;   at Sitecore.Data.Items.TemplateItem.GetSection(String sectionName)&#xA;   at Sitecore.Commerce.Connect.CommerceServer.Catalog.Pipelines.CatalogToSitecoreItemProcessor.Process(CatalogToSitecoreItemArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Commerce.Connect.CommerceServer.Catalog.CatalogProvider.GetItemFields(DataProvider dataProvider, ItemDefinition itemDefinition, VersionUri versionUri, CallContext context, ExternalIdInformation information)&#xA;   at Sitecore.Commerce.Connect.CommerceServer.Catalog.ReadOnlyCatalogDataProvider.GetItemFields(ItemDefinition itemDefinition, VersionUri versionUri, CallContext context)&#xA;   at Sitecore.Data.DataProviders.DataProvider.GetItemFields(ItemDefinition item, VersionUri version, CallContext context, DataProviderCollection providers)&#xA;   at Sitecore.Data.DataSource.LoadItemData(ItemDefinition itemDefinition, Language language, Version version)&#xA;   at Sitecore.Data.DataSource.GetItemData(ID itemID, Language language, Version version)&#xA;   at Sitecore.Nexus.Data.DataCommands.GetItemCommand.GetItem(ID , Language , Version , Database )&#xA;   at Sitecore.Nexus.Data.DataCommands.GetItemCommand.Execute(ID , Language , Version , Database )&#xA;   at Sitecore.Data.Engines.DataCommands.GetItemCommand.DoExecute()&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language language, Version version, Database database)&#xA;   at Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;   at Sitecore.ContentTesting.Pipelines.ItemProvider.GetItem.GetItemUnderTestProcessor.Process(GetItemArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Data.Managers.DefaultItemManager.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.DefaultItemManager.GetItem(ID itemId, Language language, Version version, Database database)&#xA;   at Sitecore.Data.Managers.ItemManager.GetItem(ID itemId, Language language, Version version, Database database)&#xA;   at Sitecore.Commerce.Connect.CommerceServer.Caching.CacheRefresh.RemoveItemFromSitecoreCaches(ID itemId, String databaseName)&#xA;   at Sitecore.Commerce.Connect.CommerceServer.Caching.CacheRefresh.Refresh(String cacheEventName, ICommerceServerContextManager contextManager, String databaseName, ID itemId)&#xA;   at Sitecore.Commerce.Connect.CommerceServer.Events.CommerceCacheRefreshEventHandler.OnCacheRefresh(Object sender, EventArgs args)&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) &#xA;&#xA;&#xA;12048 19:08:02 ERROR Exception while handling event Sitecore.Commerce.Connect.CommerceServer.Events.CacheRefreshEvent&#xA;Exception: System.AggregateException&#xA;Message: One or more exceptions occurred while processing the subscribers to the 'commercecacherefresh:remote' event.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Eventing.Subscription`1.Invoke(Object instance, EventContext context)&#xA;   at Sitecore.Eventing.EventProvider.RaiseEvent(Object event, Type eventType, EventContext context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;UPDATE&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I used Fiddler to diagnose the calls, the &lt;a href=&quot;http://habitat.commerceengine.dev.local:5000/api/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.commerceengine.dev.local:5000/api/&lt;/a&gt;$metadata call works correctly, but no surprise, I find the same error while trying to call &lt;a href=&quot;http://retail.dev.local/shop/Televisions_televisions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://retail.dev.local/shop/Televisions_televisions/&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So basically, all the calls done to commerceengine from retail demo are failing. &lt;/p&gt;&#xA;" OwnerUserId="2426" LastEditorUserId="2426" LastEditDate="2017-09-14T20:13:58.587" LastActivityDate="2017-10-14T21:03:30.990" Title="Issue with habitat.commerceengin.dev.local:5000/Api" Tags="|habitat|sitecore-commerce|" AnswerCount="2" CommentCount="0" ClosedDate="2017-10-16T10:26:11.310" ContentLicense="CC BY-SA 3.0" />
  <row Id="7436" PostTypeId="2" ParentId="7429" CreationDate="2017-09-13T20:19:02.490" Score="4" Body="&lt;p&gt;Yes, Sitecore will still store the data. As a general rule, Sitecore does not throw out good analytics data, regardless of whether or not the visitor has been identified. In fact, what you are looking to do is actually the default behavior, if you are to exclude the visitor identification logic that you included in your post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Think of visitor identification more as &quot;visitor recognition&quot;. If Sitecore doesn't &quot;recognize&quot; a visitor as an existing contact it simply creates a new one. The default behavior of Sitecore is actually to create a new contact for every visitor. Through the use of identification code, like the logic that you specified in your post, this behavior is changed such that repeat visitors can be &quot;recognized&quot; and their experience can be improved by using their historical tracking data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once a visitor has been &quot;recognized&quot; or identified, the new contact that Sitecore created for the visitor is merged with the existing one. Once the session ends and the contact is flushed to Collections (MongoDB) the merged contact data is saved over the existing data for the contact. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In contrast, if a user is never &quot;recognized&quot; or identified, once the session ends the visitor's tracking data is flushed to Collections (MongoDB) and stored as a new contact. When a person makes a repeat visit to the site, if they - as a visitor - are never &quot;recognized&quot; or identified as an repeat visitor (i.e. never matched to an existing contact) then a new contact will be created for the visit. If visitor identification logic is never employed, then there will be a separate contact for each visit that a person makes to the site, since Sitecore will not know how to identify a visit as a repeat or new visit. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-13T20:26:59.147" LastActivityDate="2017-09-13T20:26:59.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7437" PostTypeId="2" ParentId="7431" CreationDate="2017-09-13T21:16:14.757" Score="1" Body="&lt;h1&gt;This calls for the Rules Engine&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;While I wouldn't normally build up a menu based on child items (rather; I would make up a separate navigational structure for this), your use case might just be the exception to the rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of the flexibility you express, in determining whether an items should be shown or not, I believe your best bet would be to invoke the Sitecore Rules Engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a pseudo like manner, your code would execute something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;for-each menuelement in menuelements&#xA;{&#xA;    execute &quot;Rules&quot; field&#xA;    if result is &quot;include&quot;&#xA;        display menuelement&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The reason I pseudocode this is, that setting up a custom rules field requires a fair amount of legwork; more than I feel comfortable I can hand-compile ad-hoc in this response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I can give you some pointers.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What it would take&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you haven't used the Rules Engine before; it is basically what drives e.g. Personalisation on Sitecore. It allows you an Outlook-rule-filter like interface where you can define flexible variable rules. You, being the Content Editor user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would need to allow for a mix of pre-baked conditions and presumably some custom ones you construct yourself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pre-baked ones could be along the lines of &quot;if the &lt;em&gt;current user&lt;/em&gt; has triggered the &lt;em&gt;visited campaign page&lt;/em&gt; goal&quot; or &quot;if the &lt;em&gt;current user&lt;/em&gt; matches the &lt;em&gt;premium purchaser&lt;/em&gt; pattern&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could then add to this; some of your own. &quot;if the &lt;em&gt;current user&lt;/em&gt; has previously made a purchase in the &lt;em&gt;premium&lt;/em&gt; category&quot; and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would then add a Rule field to each of your menu items (child elements, if you must) and your menu generation code would execute the rules on each of them, to determine whether to show the element or not.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;An example custom Condition for the Rules Engine&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It's not even that complicated. Conditions are very light weight; where most of the heavy UI lifting is done by the Sitecore Rules Engine framework.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Website.RulesEngine&#xA;{&#xA;    public class VariableTemplatesAllowed&amp;lt;T&amp;gt; : IntegerComparisonCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;    {&#xA;        public string TemplateId { get; set; }&#xA;&#xA;        protected override bool Execute(T ruleContext)&#xA;        {&#xA;            return Compare(ruleContext.Item.GetChildren(ChildListOptions.IgnoreSecurity).Count(i =&amp;gt; i.TemplateID.ToString().Equals(TemplateId)));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your case, likely you would grab the &lt;em&gt;current user&lt;/em&gt; and query against an order index or something similar.  And in the case of Sitecore standard conditions, they wouldn't require code at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did a presentation in January about the Rules Engine, with more examples and a full setup. You can refer to it here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/cassidydotdk/sugde&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/cassidydotdk/sugde&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-09-13T21:16:14.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7438" PostTypeId="2" ParentId="7429" CreationDate="2017-09-13T21:16:40.720" Score="4" Body="&lt;p&gt;If you question is how to do it in code, then this is the code you want.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IContactPersonalInfo personalFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;personalFacet.FirstName = &quot;Bobby&quot;;&#xA;personalFacet.Surname = &quot;McGee&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you question is theoretical, then the answer is yes. In a project I am working on right now. I have created custom facets that match a registration form the user is filling out. As the user moves from one field to another, I am making an API call to store the already filled out data in xDB. Like first name, email, gender, etc... When the user comes back with the same browser, I pull that data out of xDB and fill in the form for then. This lets the pick up where they left off.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The identification an &quot;Unidentified&quot; user is from a cookie Sitecore drops on the user's browser. In our case, once the user registers, we fully identify them in xDB.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-09-13T21:16:40.720" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7439" PostTypeId="2" ParentId="7431" CreationDate="2017-09-13T21:23:48.840" Score="1" Body="&lt;p&gt;Sitecore's personalization is a fantastic and powerful feature, but it can require special performance considerations depending on how you use it. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Code-Based Approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The first thing that you should ask yourself is &lt;em&gt;do my content authors really need to be able to control the personalization of these menus themselves?&lt;/em&gt; If the answer is yes, then feel free to skip the rest of this approach. Otherwise, read on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fastest possible solution on all visits that you could implement would be a purely code-based solution. Obviously, I'm not going to recommend that you hard-code links or IDs, but what you can do is put checkbox fields on your links that say whether they display if a predefined condition is met. This is not a rule-based or other dynamic condition; think simple, like &quot;Administrators only&quot; or something similar that your application can be made aware of without having to run rules or other dynamic logic. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can make a code-based solution work for your use-case then this will likely be the most performant solution on every visit. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Separate Renderings per Link Approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the case that you mentioned, so long as your menus have 10 or fewer links each and only display on each page once, my recommendation would be that you use a separate rendering for each of the links and personalize the rendering to hide (be excluded from the menu) should the exclusion conditions pass. This will likely be the simplest solution for your content authors, and should not have any noticeable impact on page load speed. This solution is, however, less performant than using groups of links.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Groups of Links with One Rendering Approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you have more than 10 links or if you display your menu multiple times per page, my recommendation would be that you configure groups of links to display for a single rendering. This should be less rules for Sitecore to have to execute when it renders the menu, so that should save you on performance, but it does cost you in the editor-friendliness category.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Cheating and Customizing Sitecore's Caching Approach (Top Choice)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The problem with the personalization-based approaches isn't usually the performance cost of rendering the data (which can be expensive for renderings with lots of business logic), but rather the performance cost of running the rules to figure out what data should actually be rendered. If you need to have editor-friendly personalization control and still have a performant solution, then my advice is to cheat and customize Sitecore's Caching so that you can cache the result once you've rendered it once. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The idea with this approach is that you can add Sitecore Caching support to enable to you cache based on the same conditions that you use for personalizing your renderings. This is a bit of a confusing concept, but it may be easier to wrap your mind around it with an example. Consider that you are personalizing based on favorite color: &lt;code&gt;Red&lt;/code&gt;, &lt;code&gt;Blue&lt;/code&gt;, &lt;code&gt;Green&lt;/code&gt;, &lt;code&gt;Pink&lt;/code&gt;, &lt;code&gt;Purple&lt;/code&gt;, &lt;code&gt;Orange&lt;/code&gt; or &lt;code&gt;Other&lt;/code&gt;. The first thing that you do is implement the &lt;strong&gt;Separate Renderings Per Link Approach&lt;/strong&gt;, adding one rendering per link and personalizing each rendering to hide if the exclusion conditions are met. You then customize your Sitecore Caching to include a setting for varying your caching by favorite color. You can call this setting &lt;code&gt;Vary By Favorite Color&lt;/code&gt; and include it in the caching options of the rendering. You would then extend the &lt;code&gt;GenerateCacheKey&lt;/code&gt; processor to add a key for the current visitor's (or the current user, if favorite color is stored in the User Profile) favorite color, if available. The result would be that the first time the rendering is requested for one of the colors, the personalization rules would run and the page would take a little longer to load. However, on all subsequent loads for a visitor/user with that favorite color, the personalization rules would be skipped, as the output would have already been cached. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following code sample will get you what you are looking for:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using System.Web;&#xA;using Sitecore.Analytics;&#xA;using Sitecore.Data;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Layouts;&#xA;using Sitecore.Mvc.Extensions;&#xA;using Sitecore.Mvc.Pipelines.Response.RenderRendering;&#xA;using Sitecore.Mvc.Presentation;&#xA;using Sitecore.Rules.ConditionalRenderings;&#xA;&#xA;namespace MyNamespace.Pipelines.MvcRenderRendering&#xA;{&#xA;    public class GenerateCacheKey : Sitecore.Mvc.Pipelines.Response.RenderRendering.GenerateCacheKey&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Holds the name of the Sitecore checkbox field that controls whether the cache key &#xA;        /// should vary by favorite color of the user/visitor&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        private const string VaryByFavoriteColorFieldName = &quot;VaryByFavoriteColor&quot;;&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Generates the cache key with all caching variance parts added&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        protected override string GenerateKey(Rendering rendering, RenderRenderingArgs args)&#xA;        {&#xA;            var cacheKey = base.GenerateKey(rendering, args);&#xA;&#xA;            // if set to vary caching by favorite color add the favorite color part to the key&#xA;            if (IsCacheVaryByFavoriteColor(rendering))&#xA;            {&#xA;                cacheKey += GetFavoriteColorPart();&#xA;            }&#xA;&#xA;            return cacheKey;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Checks if the rendering is set to vary caching by favorite color&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        private bool IsCacheVaryByFavoriteColor(Rendering rendering)&#xA;        {&#xA;            // so long as the VaryByFavoriteColor checkbox field exists and is checked, we should be varying by favorite color&#xA;            return rendering.RenderingItem.InnerItem[VaryByFavoriteColorFieldName] != null &amp;amp;&amp;amp; rendering.RenderingItem.InnerItem[VaryByFavoriteColorFieldName] == &quot;1&quot;;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets the part of the cache key that will vary by favorite color&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        public virtual string GetFavoriteColorPart()&#xA;        {           &#xA;            ...logic for getting favorite color from user profile or from tracking session...&#xA;&#xA;            return !string.IsNullOrEmpty(favoriteColor)&#xA;                ? $&quot;_#favoriteColor:{favoriteColor}&quot; // adds a string unique to the favorite color to the cache key&#xA;                : string.Empty;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the above processor should replace the native &lt;code&gt;GenerateCacheKey&lt;/code&gt; processor and you will need to add the &lt;code&gt;VaryByFavoriteColor&lt;/code&gt; field in Sitecore. To add the field, create a new template, named something like &quot;Extended Caching&quot;, and add a field section to it, named &lt;code&gt;Caching&lt;/code&gt;. Add a checkbox field to the new section, named &lt;code&gt;VaryByFavoriteColor&lt;/code&gt; and set the field's title text to &quot;Vary By Favorite Color&quot; (capital &quot;B&quot; in &quot;By&quot; for consistency with Sitecore). Finally, add your new template to the &#xA;Base Templates of the &lt;code&gt;/sitecore/templates/System/Layout/Sections/Caching&lt;/code&gt; template. This is one of the few times that it is appropriate to modify a native Sitecore template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have completed the above, you should be able to set global caching settings on the rendering. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T12:40:45.880" LastActivityDate="2017-09-14T12:40:45.880" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7440" PostTypeId="2" ParentId="7435" CreationDate="2017-09-13T21:23:56.183" Score="0" Body="&lt;p&gt;&lt;code&gt;Management.block.getitembypath&lt;/code&gt; goes to Sitecore through SSC. If it was working previously then try to check:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;your Sitecore site can be still opened via https (required for SSC&#xA;login call)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;you didn't make critical security changes to your Sitecore item structure (note that credentials from&#xA;&lt;code&gt;Sitecore.Commerce.Plugin.Management.SitecoreConnectionPolicy&lt;/code&gt; are&#xA;used) &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;try checking your engine logs for &lt;code&gt;Management.GetItemByPath&lt;/code&gt; lines. (e.g. &lt;code&gt;INFO Management.GetItemByPath.GetItem./sitecore/Commerce/Commerce Control Panel&lt;/code&gt; Check that items are presented in Sitecore&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="139" LastActivityDate="2017-09-13T21:23:56.183" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7441" PostTypeId="1" CreationDate="2017-09-13T21:41:46.337" Score="3" ViewCount="1245" Body="&lt;p&gt;I am just trying to verify the best way to add a self-referening canonical tag to a multilingual Sitecore site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I use something like:&lt;br&gt;&#xA;&lt;code&gt;&amp;lt;link rel=&quot;canonical&quot; href=&quot;@Sitecore.Links.LinkManager.GetItemUrl(Sitecore.Context.Item)&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to put in any checks for language, aliases, or localization?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For examples if I had a page:&#xA;&lt;code&gt;www.mywebsite.com/en/organizations&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would want the tag to be:&lt;br&gt;&#xA;&lt;code&gt;&amp;lt;link rel=&quot;canonical&quot; href=&quot;http://www.mywebsite/en/organizations&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even if that page had an alias -&gt; so if &lt;code&gt;www.mywebsite.com&lt;/code&gt;&lt;strong&gt;/orgs&lt;/strong&gt; was an alias for &lt;code&gt;http://www.mywebsite/en/organizations&lt;/code&gt;, the same canonical tag:&lt;br&gt;&#xA;&lt;code&gt;&amp;lt;link rel=&quot;canonical&quot; href=&quot;http://www.mywebsite/en/organizations&quot; /&amp;gt;&lt;/code&gt; would be rendered to the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or if I turned this into an AMP page, it would still point back to the original (canonical) URL. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I wonder about the regional sites since I could have this page on a UK site but localized:&#xA;&lt;code&gt;www.mywebsite.com/en-GB/organi&lt;/code&gt;&lt;strong&gt;s&lt;/strong&gt;&lt;code&gt;ations&lt;/code&gt; &amp;lt;- note the 's'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the correct canonical tag would be:&lt;br&gt;&#xA;&lt;code&gt;&amp;lt;link rel=&quot;canonical&quot; href=&quot;http://www.mywebsite/en-GB/organi**s**ations&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I know that Sitecore will still show a page if there is a US English version and the US non-localized URL is requested. For example, if I accessed this URL:&lt;br&gt;&#xA;&lt;code&gt;www.mywebsite.com/en-GB/organi&lt;/code&gt;&lt;strong&gt;z&lt;/strong&gt;&lt;code&gt;ations&lt;/code&gt; &amp;lt;- note the 'z'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It won't 404 &lt;em&gt;which is perfectly fine&lt;/em&gt;, but I would still want the canonical tag to be the correct localized URL:&lt;br&gt;&#xA;&lt;code&gt;&amp;lt;link rel=&quot;canonical&quot; href=&quot;http://www.mywebsite/en-GB/organi&lt;/code&gt;&lt;strong&gt;s&lt;/strong&gt;&lt;code&gt;ations&quot; /&amp;gt;&lt;/code&gt; &amp;lt;- Again note the 's' which is the correct canonical version of this page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically I just want to always return the correct, language/region-aware URL despite any edge cases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any insight is much appreciated!&lt;/p&gt;&#xA;" OwnerUserId="583" LastEditorUserId="583" LastEditDate="2017-09-14T13:16:31.833" LastActivityDate="2017-09-20T17:03:59.970" Title="What is the best way to generate a self-referencing canonical tag?" Tags="|multilingual|seo|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7442" PostTypeId="1" AcceptedAnswerId="7443" CreationDate="2017-09-13T23:08:55.743" Score="1" ViewCount="616" Body="&lt;p&gt;I'm trying to use dependency injection with the Helix project structure for a sitecore 8.1 project, but I'm having an issue resolving the correct dependencies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code has been copied from the Helix project from Git Hub and all project references are from Nuget. I've copied the packages.config to ensure I have the correct version of the packages and have changed the .NET version of the project to 4.6&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone point me in the right direction, please? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Foundation.DependencyInjection.Infrastructure&#xA;{&#xA;    using Microsoft.Extensions.DependencyInjection; &amp;lt;-- WILL NOT RESOLVE&#xA;    using Sitecore.DependencyInjection;&#xA;&#xA;    public class MvcControllerServicesConfigurator : IServicesConfigurator &amp;lt;-WILL NOT RESOLVE&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;          //Register interfaces here&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2428" LastActivityDate="2017-09-13T23:20:42.407" Title="Sitecore.DependencyInjection will not resolve" Tags="|helix|dependency-injection|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7443" PostTypeId="2" ParentId="7442" CreationDate="2017-09-13T23:20:42.407" Score="1" Body="&lt;p&gt;Sitecore's dependency injection was introduced in Sitecore 8.2. It appears you are using 8.1.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-09-13T23:20:42.407" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7444" PostTypeId="1" AcceptedAnswerId="7520" CreationDate="2017-09-14T01:01:04.593" Score="1" ViewCount="1979" Body="&lt;p&gt;I have fresh installation of sitecore and have just added only one content into sitecore content tree. Whenever I click on presentation tab and try to preview &quot;mypage&quot; content &lt;strong&gt;&lt;em&gt;&quot;Tracker.Current is not initialized&quot;&lt;/em&gt;&lt;/strong&gt; error is displayed. But my home page preview is working fine. What is the issue here. Sitecore 8.2 is used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PQqZy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PQqZy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2418" LastEditorUserId="2418" LastEditDate="2017-09-15T05:03:04.480" LastActivityDate="2017-09-15T05:03:04.480" Title="Tracker.Current is not initialized + sitecore error" Tags="|xdb|site-configuration|" AnswerCount="1" CommentCount="4" ClosedDate="2018-02-02T12:06:39.513" ContentLicense="CC BY-SA 3.0" />
  <row Id="7446" PostTypeId="1" CreationDate="2017-09-14T06:35:08.003" Score="1" ViewCount="461" Body="&lt;p&gt;I have a data template article which inherit another data template Metadata. I have applied a rendering to standard value of template Metadata to render metadata on the page where it is inherited.  The reason for doing so is that i do not want to apply the same rendering again everywhere I have inherited the Metadata template. Is there a way to achieve this or do I have to apply the rendering to each inheriting template.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2017-09-14T06:57:01.573" Title="Rendering inheritance in sitecore" Tags="|presentation|" AnswerCount="1" CommentCount="0" ClosedDate="2017-09-14T15:59:08.360" ContentLicense="CC BY-SA 3.0" />
  <row Id="7447" PostTypeId="1" AcceptedAnswerId="7614" CreationDate="2017-09-14T06:49:27.283" Score="0" ViewCount="600" Body="&lt;p&gt;While we try to add a WFFM, the HTML generated was &lt;/p&gt;&#xA;&#xA;&lt;p&gt;form action=&quot;/SamplePage&quot; class=&quot;&quot; data-wffm=&quot;{223FE62B-B0FA-449C-AE09-EEF4BE7D5AE6}&quot; enctype=&quot;multipart/form-data&quot; id=&quot;wffm2eabf807b08d42c1ba89db4c5c069aff&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We would like to change the form id=&quot;wffm2eabf807b08d42c1ba89db4c5c069aff&quot; to a valid id, example as &lt;/p&gt;&#xA;&#xA;&lt;p&gt;id=&quot;frm_SamplePage&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need this ID to for styling the css.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me if this is possible and how this can be achieved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;note: We need to similar id to be setup for the text box in the form. &lt;/p&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="73" LastEditDate="2017-09-16T22:21:37.153" LastActivityDate="2017-09-16T22:21:37.153" Title="How to change the ID of the WFFM Form and the form fields" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7448" PostTypeId="2" ParentId="7446" CreationDate="2017-09-14T06:57:01.573" Score="3" Body="&lt;p&gt;I would not recommend trying multi-tier rendering inheritance. I've seen several places that tried setting it up, and it failed every time (and is not meant to be used like that).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe it theoretically works if you do a bottom up approach every time you do this, so if C derives from B and B derives from A. You would set A first, then B, then C. IF you needed to change anything from A, you would the need to reset B and C and configure them from scratch, which kind of defeats the purpose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically what I'm getting at, only set standardvalue renderings on &quot;Page instance&quot;- and not &quot;interface&quot;-templates.&lt;/p&gt;&#xA;" OwnerUserId="2327" LastActivityDate="2017-09-14T06:57:01.573" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7449" PostTypeId="2" ParentId="7398" CreationDate="2017-09-14T07:37:17.607" Score="2" Body="&lt;p&gt;I found a clue but not an exact solution. I found that the this dropdowns are hardcoded in &lt;code&gt;\sitecore\shell\Applications\Page Modes\ChromeControls.js&lt;/code&gt;. The related code is the &lt;code&gt;renderDsSection&lt;/code&gt;. This function is called in the &lt;code&gt;updateCommands&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in my opinion you can create your own function based on the &lt;code&gt;renderDsSection&lt;/code&gt; and then call it in the &lt;code&gt;updateCommands&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see all these sections are hardcoded, because they have some logic inside (&lt;code&gt;renderWorkflowSection&lt;/code&gt;, &lt;code&gt;renderMoreSection&lt;/code&gt;, etc.).&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2017-09-14T07:37:17.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7451" PostTypeId="1" CreationDate="2017-09-14T09:21:56.757" Score="2" ViewCount="1016" Body="&lt;p&gt;Showing selected folder from the content node in tree-list is not working.&#xA;We have used the below query but looks like only parent node is visible not the child nodes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DataSource=/sitecore/content/ABCed/ABC/Editorial/Content&amp;amp;AllowMultipleSelection=true&amp;amp;IncludeItemsForDisplay=article,ads,audio&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: here article, ads and audio are folder names &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example tree structure.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;category1 --&amp;gt; Article --&amp;gt; item1 and items2&#xA;Category1 --&amp;gt; Ads --&amp;gt; item1 and item2&#xA;category1 --&amp;gt; Video --&amp;gt; item1 and item2&#xA;category1 --&amp;gt; Audio --&amp;gt; item1 and item2&#xA;(Many more items)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Example - We wanted to showcase in the tree only article, ads and audio&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have tried through exclude query and other option but that would not work. Can you please suggest the right query here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need include query – as exclude query will not work and have to modify if new items will be created under data source location folder.&#xA;As an additional option, we tried IncludeTemplatesForDisplay filter, a comma separated list of templates names (no IDs) - items based on these templates will be shown to the author. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;includetemplatesfordisplay=Item Name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is also not working&lt;/p&gt;&#xA;" OwnerUserId="2403" LastEditorUserId="2403" LastEditDate="2017-09-14T16:01:05.180" LastActivityDate="2017-11-13T17:44:39.560" Title="Showing selected folder from the content node in tree-list is not working" Tags="|sitecore-query|tree-list|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7452" PostTypeId="1" CreationDate="2017-09-14T10:02:28.777" Score="5" ViewCount="2200" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JFaNf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JFaNf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing that works for me, is the line commented out in the screenshot below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Comment the InsertLinkViaTreeDialog &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OC5G9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OC5G9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I Tried lots of solutions provided in the community but didn't work for me except the one below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/863&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/863&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2015/08/26/general-link-field-bug-with-internal-links-opening-in-new-window/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2015/08/26/general-link-field-bug-with-internal-links-opening-in-new-window/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.horizontalintegration.com/2015/06/20/sitecore-8-general-link-field-internal-link-target-doesnt-render-properly/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.horizontalintegration.com/2015/06/20/sitecore-8-general-link-field-internal-link-target-doesnt-render-properly/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.bugdebugzone.com/2015/06/sitecore-8-general-link-field-target_23.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.bugdebugzone.com/2015/06/sitecore-8-general-link-field-target_23.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Clue? Which direction should we move with?&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="1000" LastEditDate="2017-11-22T13:26:38.333" LastActivityDate="2023-12-20T12:21:14.223" Title="&quot;Target&quot; dropdown in Internal Link options not populating in Sitecore 8.2 Update 3" Tags="|sitecore-client|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7453" PostTypeId="1" AcceptedAnswerId="7454" CreationDate="2017-09-14T10:36:20.513" Score="6" ViewCount="732" Body="&lt;p&gt;I've added a Results Count component to my search results page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Searching, autocompletion, page selector etc all works perfectly, but I cannot get the Results Count to show a number of found results; it just displays the text I entered in the Results count text field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I triend adding {0} as a placeholder to the text but to no avail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, how do I get rid of the progress bar element shown below?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you so much for your help!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zBuCC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zBuCC.png&quot; alt=&quot;results count not showing number of results, grey progress bar&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2369" LastActivityDate="2019-05-16T10:08:26.230" Title="How to configure the search Results Count component in SXA?" Tags="|content-search|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7454" PostTypeId="2" ParentId="7453" CreationDate="2017-09-14T11:07:06.573" Score="7" Body="&lt;p&gt;The Results Count rendering script is looking for &lt;code&gt;{count}&lt;/code&gt; string in the text you've provided. And it replaces this with the number of results. So type something like: &lt;code&gt;&quot;The number of results is: {count}&quot;&lt;/code&gt; inside of &lt;strong&gt;Results count text&lt;/strong&gt; field of Results Count rendering configuration item.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-09-14T11:07:06.573" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7455" PostTypeId="1" CreationDate="2017-09-14T12:41:50.870" Score="3" ViewCount="1148" Body="&lt;p&gt;Using Sitecore 8.1 update 3 for our multilingual web application.&#xA;Here all the items (using the same template, ex : Product template) are rendered as empty/blank page with no error message and don't find any error in logs also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;our url stategy is like this :&#xA;xyz.com      --&gt; en&#xA;sg.xyz.com   --&gt; en-sg&#xA;It is working fine for all countries except one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have verified the below things:&#xA;All these pages are working fine in Preview.&#xA;The items are present in web db.&#xA;The items are available in solr indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any leads on this issue will be helpful.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2018-05-18T04:50:50.210" Title="Blank/Empty Page in sitecore 8.1 application" Tags="|multisite|site-configuration|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7456" PostTypeId="2" ParentId="7455" CreationDate="2017-09-14T12:52:35.590" Score="2" Body="&lt;p&gt;I most commonly see the issue that you are describing when there is something wrong with the site definitions - the &lt;code&gt;&amp;lt;site name=&quot;website&quot;...&amp;gt;&lt;/code&gt; nodes - in the Sitecore configuration.This happens because Sitecore is not resolving the sites correctly. The reason why the pages work in Preview is because Sitecore resolves the item via its ID, which is directly passed in the Query String when in Preview mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first thing that I would do is try to navigate to the your Sitecore item directly in the browser, while in normal browsing mode. You do this as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Log into Sitecore and navigate to your home item in the Content Editor&lt;/li&gt;&#xA;&lt;li&gt;Copy the item path of your home item from the &quot;Quick Info&quot; section &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open up a new browser tab and navigate to &lt;code&gt;http://xyz.com/&amp;lt;sitecore_path_here&amp;gt;&lt;/code&gt;. This should look something like &lt;code&gt;http://xyz.com/sitecore/content/mysite/home&lt;/code&gt;. Note that you can use any host for the site that is configured in IIS to point at your application. By using the Sitecore path to request your item, you are bypassing all site-resolving logic in Sitecore, so the host you use shouldn't matter so long as it points at the right application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;UPDATE:&lt;/strong&gt; Based on your comments, the path to your home node is &lt;code&gt;/sitecore/contet/MasterSG/Home&lt;/code&gt; so you should be doing this test by navigating to &lt;code&gt;http://xyz.com/sitecore/contet/MasterSG/Home&lt;/code&gt;.&lt;/em&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;If your page loads, then you have confirmed that your issue is occurring when Sitecore tries to resolve your sites&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If your page loads after running the above test, update your post with your site definitions configuration and we can troubleshoot further. &lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T13:03:39.577" LastActivityDate="2017-09-14T13:03:39.577" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7457" PostTypeId="2" ParentId="5332" CreationDate="2017-09-14T13:14:05.647" Score="0" Body="&lt;p&gt;I agree with @sestocker, May be Sitecore still thinks extranet\anonymous is the user. Debug your code and check what is the context user after your login code. If it does not work I have a auto login code in my blog which also uses Sitecore Ticket manager please try that. This was provided by Sitecore Support. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://singh-prabhat.blogspot.in/2016/12/sitecore-enable-preview-mode-for.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://singh-prabhat.blogspot.in/2016/12/sitecore-enable-preview-mode-for.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2430" LastActivityDate="2017-09-14T13:14:05.647" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7458" PostTypeId="1" CreationDate="2017-09-14T13:16:36.320" Score="2" ViewCount="60" Body="&lt;p&gt;We have customized passwordrecovery pipeline. In the password recovery email, we are not getting the html content, instead we are getting the tags itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sample mail content we recieved:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/P83WQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P83WQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Below is the code snippet:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if (isHTML)&#xA;args.HtmlEmailContent = mailContent;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KN4f8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KN4f8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Is there any settings we need to change in the config.&lt;/p&gt;&#xA;" OwnerUserId="2357" LastEditorUserId="2357" LastEditDate="2017-09-14T13:45:17.143" LastActivityDate="2017-11-13T18:44:40.613" Title="Password recovery Htmlcontent is not working properly" Tags="|sitecore-api|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7459" PostTypeId="2" ParentId="4882" CreationDate="2017-09-14T13:19:44.027" Score="0" Body="&lt;p&gt;You can create a tool to export your Sitecore items into csv or xml and then use &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Data_Importer.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Data_Importer.aspx&lt;/a&gt; to import it to another instance. You may have to customize the module. &lt;/p&gt;&#xA;" OwnerUserId="2430" LastActivityDate="2017-09-14T13:19:44.027" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7460" PostTypeId="2" ParentId="7451" CreationDate="2017-09-14T13:53:53.407" Score="1" Body="&lt;p&gt;If I'm reading that tree right, then your problem here is that by excluding the &lt;code&gt;Catetgory&lt;/code&gt; item in the display, Sitecore can then not show any children of a &lt;code&gt;Category&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So take this list:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;category1 &#xA;    --&amp;gt; Article &#xA;        --&amp;gt; item1 &#xA;        --&amp;gt; &#xA;    --&amp;gt; Ads &#xA;        --&amp;gt; item1 &#xA;        --&amp;gt; item2&#xA;    --&amp;gt; Video &#xA;        --&amp;gt; item1 &#xA;        --&amp;gt; item2&#xA;    --&amp;gt; Audio &#xA;        --&amp;gt; item1 &#xA;        --&amp;gt; item2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Structuring it like that shows that, if &lt;code&gt;category1&lt;/code&gt; at the top of the tree is not included for display, none of the child items would show.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To limit what can be selected, you need to use a combination of &lt;code&gt;IncludeItemsForDisplay&lt;/code&gt; and &lt;code&gt;IncludeItemsForSelection&lt;/code&gt; or if you wanted to make if a bit more flexible, you could use &lt;code&gt;IncludeTemplatesForSelection&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DataSource=/sitecore/content/abc/abc/Editorial/Content&amp;amp;AllowMultipleSelection=true&amp;amp;IncludeTemplatesForDisplay=category,article,ads,audio&amp;amp;IncludeTemplatesForSelection=Add Templates Names here&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will have to base those settings on your actual tree and template scenarios, but just make sure that any parent items are not excluded for display by those settings, as you then will not see any child items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this post for more info on each of the options for a &lt;code&gt;treelist&lt;/code&gt; &lt;a href=&quot;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="2403" LastEditDate="2017-09-14T16:02:15.937" LastActivityDate="2017-09-14T16:02:15.937" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7461" PostTypeId="2" ParentId="7453" CreationDate="2017-09-14T14:30:55.203" Score="1" Body="&lt;p&gt;For the progress bar, you will have to remove it in the ResultsCount.cshtml file or just hide it with CSS. &lt;/p&gt;&#xA;" OwnerUserId="1012" LastActivityDate="2017-09-14T14:30:55.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7462" PostTypeId="1" CreationDate="2017-09-14T15:42:09.913" Score="3" ViewCount="656" Body="&lt;p&gt;I am testing a process developed by a colleague to upgrade my local copy of a client's Sitecore instance from 8.1.3 to 8.2.5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site front end comes up fine, as does the back office login screen, but upon logging on, I am getting the error &quot;Globalization folders cannot be found&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have searched the web quite extensively to try and find out what is going on, and drilled into the decompiled DLLs where possible, but have drawn a blank.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The full exception is detailed below. Can anyone shed any light on this? Thanks.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [Exception: Globalization folders cannot be found]&#xA;       ASP._sitecore_shell_client_Speak_Layouts_Renderings_Common_PageCodes_PageCode_cshtml.ResolveCultureFolder(String[] cultureNames) +208&#xA;       ASP._sitecore_shell_client_Speak_Layouts_Renderings_Common_PageCodes_PageCode_cshtml.Execute() +3330&#xA;       System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&#xA;       System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;       System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;       System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +137&#xA;       Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&#xA;&#xA;    [InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Renderings/Common/PageCodes/PageCode.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;    ]&#xA;       Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826&#xA;       Lloyds.Site.Infrastructure.HideOnErrorRenderer.Render(TextWriter writer) in C:\Projects\Lloyds-Update\src\Lloyds.Site\Infrastructure\HideOnErrorRenderer.cs:35&#xA;       Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +148&#xA;       Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +75&#xA;       (Object , Object[] ) +74&#xA;       Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;       Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;       Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +196&#xA;       Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +184&#xA;       (Object , Object[] ) +74&#xA;       Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;       Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;       Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +196&#xA;       Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +259&#xA;       ASP._sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute() +1060&#xA;       System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&#xA;       System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;       System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;       System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +137&#xA;       Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&#xA;&#xA;    [InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;    ]&#xA;       Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826&#xA;       Lloyds.Site.Infrastructure.HideOnErrorRenderer.Render(TextWriter writer) in C:\Projects\Lloyds-Update\src\Lloyds.Site\Infrastructure\HideOnErrorRenderer.cs:35&#xA;       Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +148&#xA;       Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +75&#xA;       (Object , Object[] ) +74&#xA;       Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;       Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;       Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +196&#xA;       Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +332&#xA;       System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375&#xA;       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +90&#xA;       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833&#xA;       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833&#xA;       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81&#xA;       System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult) +37&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1594" LastEditorUserId="423" LastEditDate="2017-09-15T14:50:56.057" LastActivityDate="2021-06-14T12:03:25.453" Title="&quot;Globalization folders cannot be found&quot; error following upgrade to 8.2.5" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ClosedDate="2021-06-14T12:24:53.940" ContentLicense="CC BY-SA 3.0" />
  <row Id="7463" PostTypeId="2" ParentId="5332" CreationDate="2017-09-14T17:37:46.377" Score="2" Body="&lt;p&gt;I think you are restricting the wrong domain. In your code you are checking against the Sitecore domain but you said you are accessing the page as a webpage which by default uses the Extranet domain.&#xA;More information on domains can be found &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/security_domains&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-09-14T17:37:46.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7464" PostTypeId="5" CreationDate="2017-09-14T17:42:43.717" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:42:43.717" LastActivityDate="2017-09-14T17:42:43.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7465" PostTypeId="4" CreationDate="2017-09-14T17:42:43.717" Score="0" Body="For Sitecore-specific questions related to the storage and/or management of client and end users, user data and membership provider integrations" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:42:43.717" LastActivityDate="2017-09-14T17:42:43.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7466" PostTypeId="5" CreationDate="2017-09-14T17:44:15.850" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:44:15.850" LastActivityDate="2017-09-14T17:44:15.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7467" PostTypeId="4" CreationDate="2017-09-14T17:44:15.850" Score="0" Body="For questions related to the migration of content into or out of a Sitecore instance" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:44:15.850" LastActivityDate="2017-09-14T17:44:15.850" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7468" PostTypeId="5" CreationDate="2017-09-14T17:45:06.937" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:45:06.937" LastActivityDate="2017-09-14T17:45:06.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7469" PostTypeId="4" CreationDate="2017-09-14T17:45:06.937" Score="0" Body="For questions related to Sitecore application performance, client performance, and other performance-related topics pertaining to Sitecore" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:45:06.937" LastActivityDate="2017-09-14T17:45:06.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7470" PostTypeId="2" ParentId="7458" CreationDate="2017-09-14T17:45:42.970" Score="1" Body="&lt;p&gt;The code we have written is working fine and we are receiving html content in email.&#xA;It is our bad, we forgot to put the else condition in the below code. That resolved our issue!!!.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if (isHTML)&#xA;                    args.HtmlEmailContent = mailContent;&#xA;                else&#xA;                    args.EmailContent = mailContent;&lt;/p&gt;&#xA;" OwnerUserId="2357" LastActivityDate="2017-09-14T17:45:42.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7471" PostTypeId="5" CreationDate="2017-09-14T17:52:41.957" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:52:41.957" LastActivityDate="2017-09-14T17:52:41.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7472" PostTypeId="4" CreationDate="2017-09-14T17:52:41.957" Score="0" Body="For questions related to user authentication in the Sitecore client, as well as site membership questions that are specific to Sitecore" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:52:41.957" LastActivityDate="2017-09-14T17:52:41.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7473" PostTypeId="5" CreationDate="2017-09-14T17:53:45.487" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:53:45.487" LastActivityDate="2017-09-14T17:53:45.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7474" PostTypeId="4" CreationDate="2017-09-14T17:53:45.487" Score="0" Body="For questions related to Sitecore fields types, including both native and custom types" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:53:45.487" LastActivityDate="2017-09-14T17:53:45.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7475" PostTypeId="5" CreationDate="2017-09-14T17:55:41.113" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:55:41.113" LastActivityDate="2017-09-14T17:55:41.113" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7476" PostTypeId="4" CreationDate="2017-09-14T17:55:41.113" Score="0" Body="Only for questions that are specific to unit testing Sitecore-based features, controls, renderings and other Sitecore-specific application logic" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:55:41.113" LastActivityDate="2017-09-14T17:55:41.113" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7477" PostTypeId="1" AcceptedAnswerId="8300" CreationDate="2017-09-14T17:57:46.433" Score="0" ViewCount="659" Body="&lt;p&gt;I have a rendering which has an edit frame for a list of items that are children of the datasource item of the rendering. The issue I'm dealing with happens when I follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add the rendering to the page&lt;/li&gt;&#xA;&lt;li&gt;Create a datasource item in the popup after adding a rendering&lt;/li&gt;&#xA;&lt;li&gt;Add an item under the datasource item using the insert option on the rendering&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;At this point I will receive &lt;a href=&quot;https://www.screencast.com/t/KGmbrfBTLUW&quot; rel=&quot;nofollow noreferrer&quot;&gt;this alert&lt;/a&gt;. I realize &lt;a href=&quot;https://sitecore.stackexchange.com/a/514/1436&quot;&gt;this question&lt;/a&gt; is close to my issue. Is there a way to make it so the page does not refresh when an item is added with the insert button? I would expect it to work in a similar way to the prompt to select associate content for a rendering if this is possible.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-09-14T19:37:30.870" LastActivityDate="2017-11-05T16:24:16.780" Title="Adding Item With Experience Editor Button Attempts to Trigger a Page Refresh" Tags="|experience-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7478" PostTypeId="5" CreationDate="2017-09-14T17:58:01.230" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:58:01.230" LastActivityDate="2017-09-14T17:58:01.230" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7479" PostTypeId="4" CreationDate="2017-09-14T17:58:01.230" Score="0" Body="Only for questions related to Sitecore as a Content Management System " OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:58:01.230" LastActivityDate="2017-09-14T17:58:01.230" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7480" PostTypeId="5" CreationDate="2017-09-14T17:59:57.053" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:59:57.053" LastActivityDate="2017-09-14T17:59:57.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7481" PostTypeId="4" CreationDate="2017-09-14T17:59:57.053" Score="0" Body="For Sitecore-specific questions related to content/data serialization using Sitecore's native features, Unicorn, TDS, and/or other integrations/tools for serializing Sitecore data  " OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T17:59:57.053" LastActivityDate="2017-09-14T17:59:57.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7482" PostTypeId="5" CreationDate="2017-09-14T18:01:32.807" Score="0" Body="&lt;p&gt;Content tests let you test alternative variants of your website's content to find out which pages, components, or combinations of components are the most effective with visitors. The content or components that you are comparing in a test should be designed to achieve the same goal. You can quickly evaluate the test results and gain insight into the content that functions best with your audience. This can help you create more successful campaigns with higher goal-conversion rates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/content_testing_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/content_testing_overview&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/content-testing-in-sitecore-8&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/content-testing-in-sitecore-8&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/setting_up_tests/adding_content_testing_to_a_workflow&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/setting_up_tests/adding_content_testing_to_a_workflow&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/setting_up_tests/preview_and_start_a_content_test&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/setting_up_tests/preview_and_start_a_content_test&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-13T16:02:25.643" LastActivityDate="2018-02-13T16:02:25.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7483" PostTypeId="4" CreationDate="2017-09-14T18:01:32.807" Score="0" Body="For questions related to Sitecore's content testing capabilities and features, including its multivariate A/B testing and EXM Email variant AB testing. " OwnerUserId="423" LastEditorUserId="4817" LastEditDate="2021-03-14T19:19:22.657" LastActivityDate="2021-03-14T19:19:22.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7484" PostTypeId="5" CreationDate="2017-09-14T18:02:48.793" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:02:48.793" LastActivityDate="2017-09-14T18:02:48.793" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7485" PostTypeId="4" CreationDate="2017-09-14T18:02:48.793" Score="0" Body="For questions related to Sitecore's LinkManager, including behavior, customization and extension, custom providers, testing, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:02:48.793" LastActivityDate="2017-09-14T18:02:48.793" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7486" PostTypeId="5" CreationDate="2017-09-14T18:03:54.103" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:03:54.103" LastActivityDate="2017-09-14T18:03:54.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7487" PostTypeId="4" CreationDate="2017-09-14T18:03:54.103" Score="0" Body="For questions related to the management and configuration of roles within Sitecore " OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:03:54.103" LastActivityDate="2017-09-14T18:03:54.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7488" PostTypeId="5" CreationDate="2017-09-14T18:05:42.643" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:05:42.643" LastActivityDate="2017-09-14T18:05:42.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7489" PostTypeId="4" CreationDate="2017-09-14T18:05:42.643" Score="0" Body="Only for questions related to the Sitecore side of integrations between Sitecore and other instances, systems, vendors, tools, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:05:42.643" LastActivityDate="2017-09-14T18:05:42.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7490" PostTypeId="5" CreationDate="2017-09-14T18:08:03.940" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:08:03.940" LastActivityDate="2017-09-14T18:08:03.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7491" PostTypeId="4" CreationDate="2017-09-14T18:08:03.940" Score="0" Body="For questions related to Sitecore's analytics data aggregation process, specifically relating to the architecture, pipelines, functionality, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:08:03.940" LastActivityDate="2017-09-14T18:08:03.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7492" PostTypeId="5" CreationDate="2017-09-14T18:09:04.840" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:09:04.840" LastActivityDate="2017-09-14T18:09:04.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7493" PostTypeId="4" CreationDate="2017-09-14T18:09:04.840" Score="0" Body="For questions related to Sitecore publishing targets, including setup and configuration, architecture, issues, use-cases, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:09:04.840" LastActivityDate="2017-09-14T18:09:04.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7494" PostTypeId="5" CreationDate="2017-09-14T18:10:58.373" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:10:58.373" LastActivityDate="2017-09-14T18:10:58.373" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7495" PostTypeId="4" CreationDate="2017-09-14T18:10:58.373" Score="0" Body="For questions related to Sitecore-specific solution architecture, including content architecture, infrastructure architecture, code architecture, data architecture, planning and SDLC phases, Sitecore-specific implementation strategies and methods, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:10:58.373" LastActivityDate="2017-09-14T18:10:58.373" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7496" PostTypeId="5" CreationDate="2017-09-14T18:13:24.437" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:13:24.437" LastActivityDate="2017-09-14T18:13:24.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7497" PostTypeId="4" CreationDate="2017-09-14T18:13:24.437" Score="0" Body="For general questions related specifically to Sitecore development. This tag is not meant to be used for general C#, .NET or coding questions, or other general questions that are not specific to Sitecore" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:13:24.437" LastActivityDate="2017-09-14T18:13:24.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7498" PostTypeId="5" CreationDate="2017-09-14T18:15:20.230" Score="0" Body="&lt;p&gt;An engagement plan is a predefined plan that lets you control how your website interacts with some visitors. You use engagement plans to nurture relationships with your visitors by adapting communication to use the content, channels, and media that are appropriate for each individual interaction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/engagement_plans&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/engagement_plans&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/xDB/Engagement%20Automation/create-a-plan/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/xDB/Engagement%20Automation/create-a-plan/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-14T08:10:56.733" LastActivityDate="2018-02-14T08:10:56.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7499" PostTypeId="4" CreationDate="2017-09-14T18:15:20.230" Score="0" Body="For questions related to the planning, creation, customization and use of engagement plans in Sitecore" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:15:20.230" LastActivityDate="2017-09-14T18:15:20.230" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7500" PostTypeId="5" CreationDate="2017-09-14T18:18:38.187" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:18:38.187" LastActivityDate="2017-09-14T18:18:38.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7501" PostTypeId="4" CreationDate="2017-09-14T18:18:38.187" Score="0" Body="For questions related to Sitecore's tracking features for analytics, including the tracking data models, architecture, visitor identification, the submission of tracking data to Collections for storage, and the tracking of contacts, interactions, events, goals, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:18:38.187" LastActivityDate="2017-09-14T18:18:38.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7502" PostTypeId="5" CreationDate="2017-09-14T18:22:01.940" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:22:01.940" LastActivityDate="2017-09-14T18:22:01.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7503" PostTypeId="4" CreationDate="2017-09-14T18:22:01.940" Score="0" Body="For questions specifically related to Sitecore's content versioning, including version governance (workflows, etc.), language versions, version retrieval via code, etc. " OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:22:01.940" LastActivityDate="2017-09-14T18:22:01.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7504" PostTypeId="5" CreationDate="2017-09-14T18:23:25.147" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:23:25.147" LastActivityDate="2017-09-14T18:23:25.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7505" PostTypeId="4" CreationDate="2017-09-14T18:23:25.147" Score="0" Body="For questions that do not currently have any applicable tags. Questions with this tag should be re-tagged, either with existing tags, new tags or a combination of the two" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:23:25.147" LastActivityDate="2017-09-14T18:23:25.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7506" PostTypeId="5" CreationDate="2017-09-14T18:24:30.303" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:24:30.303" LastActivityDate="2017-09-14T18:24:30.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7507" PostTypeId="4" CreationDate="2017-09-14T18:24:30.303" Score="0" Body="For Sitecore-specific questions related to Sitecore development in Visual Studio. This tag is not meant for general Visual Studio question, but rather only for those questions that specifically relate to Sitecore" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:24:30.303" LastActivityDate="2017-09-14T18:24:30.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7508" PostTypeId="5" CreationDate="2017-09-14T18:25:24.433" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:25:24.433" LastActivityDate="2017-09-14T18:25:24.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7509" PostTypeId="4" CreationDate="2017-09-14T18:25:24.433" Score="0" Body="For questions related to Sitecore branch templates, including their definition, use, customization, tokens, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:25:24.433" LastActivityDate="2017-09-14T18:25:24.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7510" PostTypeId="5" CreationDate="2017-09-14T18:26:46.037" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:26:46.037" LastActivityDate="2017-09-14T18:26:46.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7511" PostTypeId="4" CreationDate="2017-09-14T18:26:46.037" Score="0" Body="For questions related to the architecture, configuration, purpose and functionality of Sitecore access rights" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:26:46.037" LastActivityDate="2017-09-14T18:26:46.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7512" PostTypeId="5" CreationDate="2017-09-14T18:28:27.140" Score="0" Body="&lt;p&gt;Goals are activities that visitors can perform on your website. You create goals to track and measure how visitors engage with the website and campaigns – both online and offline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/digital%20marketing/campaigns/goals%20%20events/goals&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore%20experience%20platform/digital%20marketing/campaigns/goals%20%20events/goals&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/goals__events/create_and_deploy_a_goal&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/goals__events/create_and_deploy_a_goal&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/goals__events/associate_a_goal_with_an_item&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/goals__events/associate_a_goal_with_an_item&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/goals__events/associate_an_item_with_an_event_or_failure_action&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/goals__events/associate_an_item_with_an_event_or_failure_action&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-14T08:10:33.857" LastActivityDate="2018-02-14T08:10:33.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7513" PostTypeId="4" CreationDate="2017-09-14T18:28:27.140" Score="0" Body="For questions related to the definition, tracking, reporting and use of goals within Sitecore's marketing analytics and reporting tools, including configuration, customization, functionality, use in modules, architecture, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:28:27.140" LastActivityDate="2017-09-14T18:28:27.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7514" PostTypeId="5" CreationDate="2017-09-14T18:31:46.583" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:31:46.583" LastActivityDate="2017-09-14T18:31:46.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7515" PostTypeId="4" CreationDate="2017-09-14T18:31:46.583" Score="0" Body="For questions related to the creation, customization and use of custom field types in Sitecore" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:31:46.583" LastActivityDate="2017-09-14T18:31:46.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7516" PostTypeId="5" CreationDate="2017-09-14T18:33:52.717" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:33:52.717" LastActivityDate="2017-09-14T18:33:52.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7517" PostTypeId="4" CreationDate="2017-09-14T18:33:52.717" Score="0" Body="For questions related to the architecture, maintenance, customization and troubleshooting of Sitecore's Link Database" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:33:52.717" LastActivityDate="2017-09-14T18:33:52.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7518" PostTypeId="5" CreationDate="2017-09-14T18:35:14.937" Score="0" Body="&lt;p&gt;The Sitecore XP Active Directory module provides the integration of a Microsoft Active Directory domain with a Sitecore XP solution. You can integrate domain users and groups available into Sitecore XP as Sitecore users and Sitecore roles immediately after the module installation and configuration. Moreover, user profiles can be easily extended with custom properties from Active Directory.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="277" LastEditDate="2021-05-27T07:12:13.030" LastActivityDate="2021-05-27T07:12:13.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7519" PostTypeId="4" CreationDate="2017-09-14T18:35:14.937" Score="0" Body="For questions related to Sitecore's active directory module, including architecture, configuration, customization, integration, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-14T18:35:14.937" LastActivityDate="2017-09-14T18:35:14.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7520" PostTypeId="2" ParentId="7444" CreationDate="2017-09-14T18:41:42.893" Score="2" Body="&lt;p&gt;When I've seen this issue before it's often been caused by Sitecore being unable to access MongoDB to store analytics data. (As mentioned in the comments above)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That may be because:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The connection strings for access to Analytics data in MongoDB are not correct.&lt;/li&gt;&#xA;&lt;li&gt;The MongoDB service that the connection strings point to is not running.&lt;/li&gt;&#xA;&lt;li&gt;Some sort of firewall or networking issue is blocking connectivity between the Sitecore server and the MongoDB server.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Since you say it's a &quot;fresh install&quot; my guess is that the connection strings aren't correct. They're probably still the default values. So you should check the contents of the &lt;code&gt;ConnectionStrings.xml&lt;/code&gt; file in the &lt;code&gt;Website\App_Config&lt;/code&gt; folder, and make sure the connection settings for the analytics data are right for your MongoDB instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore installer doesn't set up a MongoDB service - you either &lt;a href=&quot;https://docs.mongodb.com/manual/installation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;have to install MongoDB yourself&lt;/a&gt; or you can &lt;a href=&quot;https://mlab.com/plans/&quot; rel=&quot;nofollow noreferrer&quot;&gt;get access to a hosted instance&lt;/a&gt; if you prefer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or, if you don't want to run MongoDB and don't need the analytics-based features in Sitecore you can turn it off by &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/experience_management_an_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;adjusting the configuration of Sitecore to disable xDB&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="233" LastActivityDate="2017-09-14T18:41:42.893" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7521" PostTypeId="1" AcceptedAnswerId="7522" CreationDate="2017-09-14T19:09:04.297" Score="0" ViewCount="617" Body="&lt;p&gt;Im using Sitecore 8.2 project with Unicorn for item syncronization. When I run the Gulp task, Im getting the following error.     &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Missing value for Unicorn config node 'targetDataStore', 'type' attribute (type expected).&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2428" LastEditorUserId="2727" LastEditDate="2018-01-24T09:28:21.137" LastActivityDate="2018-01-24T09:28:21.137" Title="Unicorn sync targetDataStore error" Tags="|helix|unicorn|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7522" PostTypeId="2" ParentId="7521" CreationDate="2017-09-14T19:35:43.827" Score="1" Body="&lt;p&gt;This line is in the Unicorn.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;targetDataStore physicalRootPath=&quot;$(dataFolder)\Unicorn\$(configurationName)&quot; useDataCache=&quot;false&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Seems as though you may be missing this attribute: type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look at your Unicorn.config OR you may be using a patch file, and it would be wise to run a search through the solution for &quot;targetDataStore&quot; and see if the type is missing in the patch file.&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="475" LastEditDate="2017-09-22T21:20:22.540" LastActivityDate="2017-09-22T21:20:22.540" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7523" PostTypeId="1" CreationDate="2017-09-14T20:31:01.463" Score="2" ViewCount="1137" Body="&lt;p&gt;I have an item that has a template with 2 base templates, the field of one of these templates is not showing up on the item, I verified that I'm using the correct template, has this ever occurred with anyone?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given that the field is a multilist field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the Inheritance for the main template&#xA;&lt;a href=&quot;https://i.stack.imgur.com/uJodi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uJodi.png&quot; alt=&quot;This is the Inheritance for the main template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this is the base template definition&#xA;&lt;a href=&quot;https://i.stack.imgur.com/wjkBH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wjkBH.png&quot; alt=&quot;And this is the base template definition&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="329" LastEditorUserId="329" LastEditDate="2017-09-14T21:06:03.837" LastActivityDate="2017-09-14T23:42:20.390" Title="Inherited fields not showing up in Item" Tags="|templates|inheritance|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="7525" PostTypeId="2" ParentId="7435" CreationDate="2017-09-14T21:01:15.317" Score="0" Body="&lt;p&gt;I found out that CommerceEngineUser had been wiped. By adding it as an admin to Sitecore (with the password defined in line 215 in the Habitat.CommerceMinions-1.0.0.json), the communication is now resolved. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that this user is always in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="2426" LastActivityDate="2017-09-14T21:01:15.317" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7526" PostTypeId="2" ParentId="7523" CreationDate="2017-09-14T23:42:20.390" Score="2" Body="&lt;p&gt;to verify this scenario and root cause, can you please do this activity.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Change the field name and display name of both the fields just for testing purpose, You can add an abbreviation like Filed A and Field B.&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Search those field under inheritance section&#xA;&lt;a href=&quot;https://i.stack.imgur.com/jvRcz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jvRcz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Let me know if you are not able to find these fields there&lt;/p&gt;&#xA;" OwnerUserId="2403" LastActivityDate="2017-09-14T23:42:20.390" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7527" PostTypeId="1" AcceptedAnswerId="7633" CreationDate="2017-09-15T01:27:59.497" Score="2" ViewCount="785" Body="&lt;p&gt;We need to modify the folder structure of bucktable items, Sitecore default short this based on the dates but how to setup this based on the months.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example - The current folder structure is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      2017  &#xA;                April&#xA;                February&#xA;                January&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Expectation is&#xA;        2017&#xA;                    January&#xA;                    February&#xA;                    March&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know how to setup this type of structure&lt;/p&gt;&#xA;" OwnerUserId="2403" LastEditorUserId="73" LastEditDate="2017-09-15T14:38:46.277" LastActivityDate="2017-09-18T15:51:16.247" Title="How to change the Sitecore bucktable folder structure based on the months" Tags="|buckets|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7528" PostTypeId="2" ParentId="7462" CreationDate="2017-09-15T02:13:42.870" Score="0" Body="&lt;p&gt;Please try below two steps to resolve this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 1:- Move source globalization folder and content to the destination&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example -Website\sitecore\shell\client\Speak\Assets\lib\globalize to destination&#xA;Website\sitecore\shell\client\Speak\Assets\lib\globalize  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have verified this error that occured in the files located at:- sitecore\shell\client\Speak\Layouts\Renderings\Common\PageCodes\PageCode.cshtml&lt;/p&gt;&#xA;&#xA;&lt;p&gt;there is a function wich trying to fetch the content at above path but not able to find out.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/hT6Ge.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hT6Ge.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step2 - Please make sure to provide access to below folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try adding the ASPNET user with full control for the folder C:\WINDOWS\Globalization.&#xA;~/sitecore/shell/client/Speak/Assets/lib/globalize/supplemental/&#xA;~/sitecore/shell/client/Speak/Assets/lib/globalize/main/&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope that should resolve the problem.&lt;/p&gt;&#xA;" OwnerUserId="2403" LastEditorUserId="2403" LastEditDate="2017-09-18T16:20:32.490" LastActivityDate="2017-09-18T16:20:32.490" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7529" PostTypeId="2" ParentId="5332" CreationDate="2017-09-15T02:26:34.140" Score="0" Body="&lt;p&gt;Can you please try this, Create a new role, let's say &quot;AccessExternalPageName&quot; by default add this rule to all other users and remove this role to Sitecore\AdminUser&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now in you above code check the user role in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have tried a type of the same scenario where security access was not captured then added some custom role and identified those checks.&lt;/p&gt;&#xA;" OwnerUserId="2403" LastActivityDate="2017-09-15T02:26:34.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7530" PostTypeId="1" AcceptedAnswerId="7531" CreationDate="2017-09-15T04:06:24.163" Score="3" ViewCount="498" Body="&lt;p&gt;In our requirement we need to maintain the field value after wffm submission and display success message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;we are using custom save action to pass the form values to services. once the values is passed we are showing a success message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now only the success message is displayed and form fields value disappears. Is there a way to retain the field values&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-09-15T04:29:12.057" Title="How to maintain WFFM Field values after save action" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7531" PostTypeId="2" ParentId="7530" CreationDate="2017-09-15T04:29:12.057" Score="2" Body="&lt;p&gt;You can store your field values into session. It will be retained even after the submission. If you want to show your field values in success message i suggest you to redirect to a success page having a custom component which will use the session values and show the success message. There is a very nice blog you can check that for reference. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2014/06/14/show-submitted-web-forms-for-marketers-form-field-values-on-a-confirmation-page-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2014/06/14/show-submitted-web-forms-for-marketers-form-field-values-on-a-confirmation-page-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2430" LastActivityDate="2017-09-15T04:29:12.057" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7532" PostTypeId="2" ParentId="7307" CreationDate="2017-09-15T10:47:31.617" Score="3" Body="&lt;p&gt;You can replace the standard link resolve in the Glass Dependency resolver. This is done in the  CreateResolver method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public static IDependencyResolver CreateResolver(){&#xA;        var config = new Glass.Mapper.Sc.Config();&#xA;        var dependencyResolver = new DependencyResolver(config);&#xA;        // add any changes to the standard resolver here&#xA;&#xA;&#xA;        dependencyResolver.DataMapperFactory.Replace&amp;lt;SitecoreFieldLinkMapper, MyLinkResolver&amp;gt;(()=&amp;gt; new MyLinkResolver());&#xA;&#xA;&#xA;&#xA;        return dependencyResolver;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-09-15T10:47:31.617" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7533" PostTypeId="1" AcceptedAnswerId="7535" CreationDate="2017-09-15T10:50:51.220" Score="9" ViewCount="98" Body="&lt;p&gt;We have certain users on our site that are used only for testing. We want to excluded these users from our XDB data so that they don't show up in AB Testing,  path analyser, etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone been able to do this? I was think about tagging the user but then I am not sure where to configure XDB to ignore these tagged users.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-09-16T02:56:01.853" Title="Excluding users from XDB Data" Tags="|xdb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7534" PostTypeId="2" ParentId="7527" CreationDate="2017-09-15T11:20:26.323" Score="3" Body="&lt;p&gt;Unfortunately, there is no native way to sort the folders into sequential order unless you change the month folders to be digits, I.e. Change &quot;January&quot;, &quot;February&quot;... to &quot;01&quot;, &quot;02&quot;...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reality is that unless you're having your users view item buckets, which is not recommended except in special circumstances, then they will never see those folders. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your users are able to see the folders and you really have your heart set on sorting them then what you can do is add some custom logic that runs when an item is created that tests whether or not the item is a bucket folder (using &lt;code&gt;Sitecore.Buckets.Extensions&lt;/code&gt;) and if so  sets the &lt;code&gt;_SortOrder&lt;/code&gt; field appropriately. You can either do this with an &lt;code&gt;item:created&lt;/code&gt; or &lt;code&gt;item:added&lt;/code&gt; event, or with a custom &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline processor. There are several examples of these online, so I won't repeat them here. As for the logic, you can use something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;&#xA;if (!item.IsABucketFolder()) &#xA;{&#xA;    return;&#xA;}&#xA;&#xA;var sortOrder = string.Empty;&#xA;switch(item.Name)&#xA;{&#xA;    case &quot;January&quot;&#xA;        sortOrder = &quot;1&quot;;&#xA;        break;&#xA;    case &quot;February&quot;&#xA;        sortOrder = &quot;2&quot;;&#xA;        break;&#xA;    ...&#xA;    default&#xA;        return;&#xA;}&#xA;&#xA;using (new SecurityDisabler()) &#xA;{&#xA;    item.Editing.BeginEdit();&#xA;    item[Sitecore.FieldIDs.SortOrder] = sortOrder;&#xA;    item.Editing.EndEdit();&#xA;}&#xA;&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:37:13.293" LastActivityDate="2017-09-15T14:37:13.293" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7535" PostTypeId="2" ParentId="7533" CreationDate="2017-09-15T11:22:52.243" Score="5" Body="&lt;p&gt;For the user that you want to exclude, do this in a page request:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.NeverSave;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will make sure that neither the interaction nor the contact are saved to the Collection database.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-09-15T11:22:52.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7536" PostTypeId="2" ParentId="7204" CreationDate="2017-09-15T12:14:49.780" Score="2" Body="&lt;p&gt;Raised a ticket with Microsoft to look into the issue. They have got their back-end team to look into the issue, and the investigation result seems that something in Azure platform didn't worked as expected, that caused the issue to happen.&#xA;Their back end team has now made the relevant changes to get the functionality working now.&lt;/p&gt;&#xA;" OwnerUserId="1339" LastActivityDate="2017-09-15T12:14:49.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7537" PostTypeId="5" CreationDate="2017-09-15T12:48:07.893" Score="0" Body="&lt;p&gt;&lt;strong&gt;Gulp&lt;/strong&gt; is a task runner that uses &lt;em&gt;Node.js&lt;/em&gt; as a platform. Gulp purely uses JavaScript code and helps to run front-end tasks and large-scale web applications. It builds system automated tasks like CSS and HTML minification, concatenating library files, and compiling the SASS files. These tasks can be run using Shell or Bash scripts on the command line.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;In the Sitecore context, Gulp can be used for:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Automatisation of the publishing process for solutions with many web projects (helix architecture)&lt;/li&gt;&#xA;&lt;li&gt;Automatic compilation of Sass/Less files.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Few useful plugins:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;gulp-msbuild&lt;/code&gt; - running msbuild command&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;gulp-watch&lt;/code&gt; - file watcher that can make action just as file is changed&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;gulp-sass&lt;/code&gt; - compiles SASS into a CSS file.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="4817" LastEditDate="2022-10-29T17:32:40.207" LastActivityDate="2022-10-29T17:32:40.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7538" PostTypeId="4" CreationDate="2017-09-15T12:48:07.893" Score="0" Body="Only for questions specifically related to Sitecore, including those regarding the use of Gulp for build and deployment when working with a helix-based solution, including habitat and custom solutions" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T12:48:07.893" LastActivityDate="2017-09-15T12:48:07.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7539" PostTypeId="2" ParentId="7377" CreationDate="2017-09-15T12:49:11.317" Score="3" Body="&lt;p&gt;I guess you would like to install it using your MSDN subscription.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Azure monthly credits for Visual Studio subscribers cannot be used&#xA;  towards Application Insights purchases. As a result, this resource is&#xA;  limited to the Basic pricing plan and can only collect up to 32.3 MB&#xA;  of data per day. To enable the collection of additional data and the&#xA;  use of advanced features, you must remove the spending limit from this&#xA;  Azure subscription.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To be able to run this with your Visual Studio Enterprise subscription, you can remove the following from the nested/infrastructure.json file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;type&quot;: &quot;Microsoft.Insights/Components/CurrentBillingFeatures&quot;,&#xA;  &quot;name&quot;: &quot;[concat(variables('appInsightsNameTidy'), '/', variables('appInsightsPricePlanTidy'))]&quot;,&#xA;  &quot;location&quot;: &quot;[parameters('applicationInsightsLocation')]&quot;,&#xA;  &quot;apiVersion&quot;: &quot;[variables('appInsightsApiVersion')]&quot;,&#xA;  &quot;properties&quot;: {&#xA;    &quot;CurrentBillingFeatures&quot;: &quot;[parameters('resourceSizes').ApplicationInsightsPricePlan.CurrentBillingFeatures]&quot;,&#xA;    &quot;DataVolumeCap&quot;: {&#xA;    &quot;Cap&quot;: &quot;[parameters('resourceSizes').ApplicationInsightsPricePlan.DataVolumeCap.Cap]&quot;&#xA;    }&#xA;  },&#xA; &quot;dependsOn&quot;: [&#xA;  &quot;[resourceId('Microsoft.Insights/Components', variables('appInsightsNameTidy'))]&quot;&#xA;  ],&#xA;  &quot;tags&quot;: {&#xA;  &quot;provider&quot;: &quot;[variables('sitecoreTags').provider]&quot;&#xA;  } &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more details see: &lt;a href=&quot;https://github.com/ivanbuzyka/Sitecore.SitecoreOnAzure.Articles/wiki/Application-Insights-issues-when-using-MSDN,-MPN-Azure-subscription&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/ivanbuzyka/Sitecore.SitecoreOnAzure.Articles/wiki/Application-Insights-issues-when-using-MSDN,-MPN-Azure-subscription&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="418" LastEditDate="2017-12-19T19:04:40.233" LastActivityDate="2017-12-19T19:04:40.233" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7540" PostTypeId="5" CreationDate="2017-09-15T12:50:33.860" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T12:50:33.860" LastActivityDate="2017-09-15T12:50:33.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7541" PostTypeId="4" CreationDate="2017-09-15T12:50:33.860" Score="0" Body="For questions related to Sitecore using .NET Webforms. This tag is not meant for general .NET Webforms questions." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T12:50:33.860" LastActivityDate="2017-09-15T12:50:33.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7542" PostTypeId="5" CreationDate="2017-09-15T12:56:21.487" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T12:56:21.487" LastActivityDate="2017-09-15T12:56:21.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7543" PostTypeId="4" CreationDate="2017-09-15T12:56:21.487" Score="0" Body="For questions related to Sitecore Support, including questions about process, Support DLLs, etc. This tag should not be used for questions requesting &quot;support&quot; from the community to answer the question." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T12:56:21.487" LastActivityDate="2017-09-15T12:56:21.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7544" PostTypeId="5" CreationDate="2017-09-15T12:57:19.420" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T12:57:19.420" LastActivityDate="2017-09-15T12:57:19.420" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7545" PostTypeId="4" CreationDate="2017-09-15T12:57:19.420" Score="0" Body="For questions related to Search Engine Optimization (SEO) as it specifically pertains to Sitecore. This tag should not be used for general SEO questions that are not specific to Sitecore." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T12:57:19.420" LastActivityDate="2017-09-15T12:57:19.420" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7546" PostTypeId="5" CreationDate="2017-09-15T12:58:28.477" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T12:58:28.477" LastActivityDate="2017-09-15T12:58:28.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7547" PostTypeId="4" CreationDate="2017-09-15T12:58:28.477" Score="0" Body="For questions related to Sitecore's analytics index, including contents, functionality, rebuilding processes and triggers, issues, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T12:58:28.477" LastActivityDate="2017-09-15T12:58:28.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7548" PostTypeId="5" CreationDate="2017-09-15T13:01:34.130" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:01:34.130" LastActivityDate="2017-09-15T13:01:34.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7549" PostTypeId="4" CreationDate="2017-09-15T13:01:34.130" Score="0" Body="For questions related to the use of cookies as they specifically relate to Sitecore. This tag should not be used for general questions about cookies that are not specific to Sitecore. Typical cookie questions tend to be regarding Sitecore's session cookies and analytics cookies." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:01:34.130" LastActivityDate="2017-09-15T13:01:34.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7550" PostTypeId="5" CreationDate="2017-09-15T13:03:02.367" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:03:02.367" LastActivityDate="2017-09-15T13:03:02.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7551" PostTypeId="4" CreationDate="2017-09-15T13:03:02.367" Score="0" Body="For questions related to Sitecore commands, including the configuration, implementation, use and troubleshooting of both native and custom commands" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:03:02.367" LastActivityDate="2017-09-15T13:03:02.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7552" PostTypeId="5" CreationDate="2017-09-15T13:04:19.890" Score="0" Body="&lt;p&gt;Sitecore uses Apache &lt;em&gt;log4net&lt;/em&gt; for logging. Configuration settings for &lt;em&gt;log4net&lt;/em&gt; are defined in &lt;code&gt;Web.config&lt;/code&gt; under configuration/log4net.  In Sitecore, Log4Net initialization is done by the &lt;code&gt;Sitecore.Diagnostics.LoggerFactory&lt;/code&gt; class inside the Kernel.&lt;/p&gt;&#xA;&lt;p&gt;The following is a list of log levels (priorities) from lowest to highest severity.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;DEBUG&lt;/li&gt;&#xA;&lt;li&gt;INFO&lt;/li&gt;&#xA;&lt;li&gt;WARN&lt;/li&gt;&#xA;&lt;li&gt;ERROR&lt;/li&gt;&#xA;&lt;li&gt;FATAL&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="4817" LastEditDate="2021-06-13T09:46:02.280" LastActivityDate="2021-06-13T09:46:02.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7553" PostTypeId="4" CreationDate="2017-09-15T13:04:19.890" Score="0" Body="For questions specifically related to Sitecore's implementation with and use of log4net. This tag should not be used for general log4net questions that are not specific to Sitecore." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:04:19.890" LastActivityDate="2017-09-15T13:04:19.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7554" PostTypeId="5" CreationDate="2017-09-15T13:05:11.347" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:05:11.347" LastActivityDate="2017-09-15T13:05:11.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7555" PostTypeId="4" CreationDate="2017-09-15T13:05:11.347" Score="0" Body="For questions related to Sitecore's event queues, including architecture, functionality and use, troubleshooting, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:05:11.347" LastActivityDate="2017-09-15T13:05:11.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7556" PostTypeId="5" CreationDate="2017-09-15T13:06:20.137" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:06:20.137" LastActivityDate="2017-09-15T13:06:20.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7557" PostTypeId="4" CreationDate="2017-09-15T13:06:20.137" Score="0" Body="For questions specifically related to the use of MVC controllers with Sitecore. This tag should not be used for general .NET MVC controller questions." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:06:20.137" LastActivityDate="2017-09-15T13:06:20.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7558" PostTypeId="5" CreationDate="2017-09-15T13:07:57.443" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:07:57.443" LastActivityDate="2017-09-15T13:07:57.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7559" PostTypeId="4" CreationDate="2017-09-15T13:07:57.443" Score="0" Body="For questions regarding Sitecore licensing. Please note that any legal questions or questions that specifically inquire about what is and is not permitted should be addressed directly to Sitecore Sales to receive official answers." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:07:57.443" LastActivityDate="2017-09-15T13:07:57.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7560" PostTypeId="5" CreationDate="2017-09-15T13:09:20.400" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:09:20.400" LastActivityDate="2017-09-15T13:09:20.400" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7561" PostTypeId="4" CreationDate="2017-09-15T13:09:20.400" Score="0" Body="For questions related to Sitecore's configuration settings. This tag should not be used for general .NET or IIS settings, or other settings that are not specifically related to Sitecore's &lt;setting&gt; confinguration nodes" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:09:20.400" LastActivityDate="2017-09-15T13:09:20.400" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7562" PostTypeId="5" CreationDate="2017-09-15T13:10:42.820" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:10:42.820" LastActivityDate="2017-09-15T13:10:42.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7563" PostTypeId="4" CreationDate="2017-09-15T13:10:42.820" Score="0" Body="For questions specifically related to continuous integration (CI) with the Sitecore platform. This tag should not be used for general CI questions that are not specific to Sitecore." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:10:42.820" LastActivityDate="2017-09-15T13:10:42.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7564" PostTypeId="5" CreationDate="2017-09-15T13:12:44.543" Score="0" Body="&lt;p&gt;The Path Analyzer is an application that enables you to create a map that shows the sequential paths that contacts take as they navigate through your website. You can see the paths that contacts take while interacting with campaigns, and trigger goals and outcomes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/path_analyzer/path_analyzer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/path_analyzer/path_analyzer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/company/blog/441/getting-visual-with-sitecore-s-path-analyzer-tool-4143&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/company/blog/441/getting-visual-with-sitecore-s-path-analyzer-tool-4143&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-22T06:51:14.117" LastActivityDate="2018-02-22T06:51:14.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7565" PostTypeId="4" CreationDate="2017-09-15T13:12:44.543" Score="0" Body="For questions related to Sitecore's Path Analyzer feature, covering configuration, customization, use, troubleshooting, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:12:44.543" LastActivityDate="2017-09-15T13:12:44.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7566" PostTypeId="5" CreationDate="2017-09-15T13:15:15.583" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:15:15.583" LastActivityDate="2017-09-15T13:15:15.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7567" PostTypeId="4" CreationDate="2017-09-15T13:15:15.583" Score="0" Body="For questions related to URL rewriting that specifically pertain to Sitecore, including Sitecore's native URL rewriting logic, customizations, etc. This tag should not be used for general URL rewriting questions that are not specific to Sitecore." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:15:15.583" LastActivityDate="2017-09-15T13:15:15.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7568" PostTypeId="5" CreationDate="2017-09-15T13:17:13.443" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:17:13.443" LastActivityDate="2017-09-15T13:17:13.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7569" PostTypeId="4" CreationDate="2017-09-15T13:17:13.443" Score="0" Body="For questions specifically related to the upload of files in Sitecore via native features for the media library or custom tools and modules, like Web Forms for Marketers, custom code or other logic. " OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:17:13.443" LastActivityDate="2017-09-15T13:17:13.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7570" PostTypeId="5" CreationDate="2017-09-15T13:30:35.627" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:30:35.627" LastActivityDate="2017-09-15T13:30:35.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7571" PostTypeId="4" CreationDate="2017-09-15T13:30:35.627" Score="0" Body="For questions specifically related to the customization, creation and use of wildcard items in Sitecore. This tag is specifically meant for Sitecore wildcard items for URLs." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:30:35.627" LastActivityDate="2017-09-15T13:30:35.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7572" PostTypeId="5" CreationDate="2017-09-15T13:33:53.197" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:33:53.197" LastActivityDate="2017-09-15T13:33:53.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7573" PostTypeId="4" CreationDate="2017-09-15T13:33:53.197" Score="0" Body="For questions specifically related to Sitecore's Query Builder field type. This tag is not meant for questions about building Sitecore queries." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:33:53.197" LastActivityDate="2017-09-15T13:33:53.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7574" PostTypeId="5" CreationDate="2017-09-15T13:35:25.487" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:35:25.487" LastActivityDate="2017-09-15T13:35:25.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7575" PostTypeId="4" CreationDate="2017-09-15T13:35:25.487" Score="0" Body="For questions specifically related to Sitecore's renderField pipeline. " OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:35:25.487" LastActivityDate="2017-09-15T13:35:25.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7576" PostTypeId="5" CreationDate="2017-09-15T13:36:09.083" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:36:09.083" LastActivityDate="2017-09-15T13:36:09.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7577" PostTypeId="4" CreationDate="2017-09-15T13:36:09.083" Score="0" Body="For questions regarding the ribbons in the Sitecore client, including configuration, customization, troubleshooting and beyond." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:36:09.083" LastActivityDate="2017-09-15T13:36:09.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7578" PostTypeId="5" CreationDate="2017-09-15T13:37:53.857" Score="0" Body="&lt;p&gt;An RSS (Really Simple Syndication) is a web feed that can publish frequently updated material — such as blogs, news headlines, audio, video, and so on — in a standardized format. An RSS feed can contain either the full text of the material or a summarized version, as well as metadata, such as, publishing dates, and authorship.&lt;/p&gt;&#xA;&lt;p&gt;In Sitecore, there are two types of RSS feeds:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;RSS feeds&lt;/strong&gt; – feeds that website visitors can subscribe to. With RSS feeds, publishers can make a summary or update of recently added content available to the website visitor. In this way, the visitors can subscribe to these feeds and automatically receive updates from their favorite websites.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Client RSS feeds&lt;/strong&gt; – feeds in the Content Editor that Sitecore users can subscribe to. In the Content Editor, you can use Client RSS feeds to stay informed about any item that you are interested in. Unlike the regular RSS feeds, you can subscribe to a Client RSS feed for any item in the Content Editor and receive updates on all the changes that are made to the item&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="4817" LastEditDate="2021-08-26T13:18:48.057" LastActivityDate="2021-08-26T13:18:48.057" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7579" PostTypeId="4" CreationDate="2017-09-15T13:37:53.857" Score="0" Body="For questions related to Sitecore's native RSS features, including configuration, customization, consumption and beyond. This tag is not meant for general questions regarding RSS feeds that are not specific to Sitecore." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:37:53.857" LastActivityDate="2017-09-15T13:37:53.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7580" PostTypeId="5" CreationDate="2017-09-15T13:42:20.267" Score="0" Body="&lt;p&gt;Sitecore.Ship is a lightweight means to install Sitecore Update packages via HTTP requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kevinobee/Sitecore.Ship&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.marcduiker.nl/2015/10/21/ruling-the-continuous-integration-seas-with-sitecore-ship-part-1.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.marcduiker.nl/2015/10/21/ruling-the-continuous-integration-seas-with-sitecore-ship-part-1.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoreship.docs.apiary.io/#reference/0/sitecore.ship-information&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoreship.docs.apiary.io/#reference/0/sitecore.ship-information&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="1671" LastEditDate="2018-02-22T07:13:38.570" LastActivityDate="2018-02-22T07:13:38.570" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7581" PostTypeId="4" CreationDate="2017-09-15T13:42:20.267" Score="0" Body="Sitecore.Ship is a small Sitecore module that allows the installation of Sitecore packages (both .zip and .update) using HTTP requests. This tag should be used for questions related to its integration with Sitecore, including configuration, customization, troubleshooting, etc." OwnerUserId="423" LastEditorUserId="2727" LastEditDate="2018-02-15T12:23:47.823" LastActivityDate="2018-02-15T12:23:47.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7582" PostTypeId="5" CreationDate="2017-09-15T13:45:24.040" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:45:24.040" LastActivityDate="2017-09-15T13:45:24.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7583" PostTypeId="4" CreationDate="2017-09-15T13:45:24.040" Score="0" Body="For questions regarding the Sitecore Marketplace, including how to publish modules, update modules, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:45:24.040" LastActivityDate="2017-09-15T13:45:24.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7584" PostTypeId="5" CreationDate="2017-09-15T13:52:45.650" Score="0" Body="&lt;p&gt;The Sitecore.React module adds new rendering types: React Controller Rendering and React View Rendering. These renderings enable a developer to create the front end part of the component using React. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The React components support Experience Editor and Personalization in the same way that standard view and controller renderings do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/SitecoreReact.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/SitecoreReact.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/08/02/Sitecore-React-a-new-Sitecore-module/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecorenutsbolts.net/2016/08/02/Sitecore-React-a-new-Sitecore-module/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/07/23/Sitecore-and-React-It-IS-that-easy/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecorenutsbolts.net/2016/07/23/Sitecore-and-React-It-IS-that-easy/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/07/23/Sitecore-and-React-It-IS-that-easy-Part-II/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecorenutsbolts.net/2016/07/23/Sitecore-and-React-It-IS-that-easy-Part-II/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="1671" LastEditDate="2018-02-22T06:50:49.677" LastActivityDate="2018-02-22T06:50:49.677" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7585" PostTypeId="4" CreationDate="2017-09-15T13:52:45.650" Score="0" Body="Questions related to the open source Sitecore.React module available on the Sitecore Market Place." OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-09-15T13:52:45.650" LastActivityDate="2017-09-15T13:52:45.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7586" PostTypeId="5" CreationDate="2017-09-15T13:55:42.897" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:55:42.897" LastActivityDate="2017-09-15T13:55:42.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7587" PostTypeId="4" CreationDate="2017-09-15T13:55:42.897" Score="0" Body="For questions related to Sitecore's dictionaries, including questions about configuration, implementation, use and beyond." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:55:42.897" LastActivityDate="2017-09-15T13:55:42.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7588" PostTypeId="5" CreationDate="2017-09-15T13:59:00.433" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:59:00.433" LastActivityDate="2017-09-15T13:59:00.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7589" PostTypeId="4" CreationDate="2017-09-15T13:59:00.433" Score="0" Body="For questions related to the use of load-balancers with Sitecore, including configuring Sitecore to work with a load balancer, architecture and other considerations. This tag should not be used for general questions about load-balancers that do not specifically relate to Sitecore" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T13:59:00.433" LastActivityDate="2017-09-15T13:59:00.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7590" PostTypeId="5" CreationDate="2017-09-15T14:00:16.783" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:00:16.783" LastActivityDate="2017-09-15T14:00:16.783" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7591" PostTypeId="4" CreationDate="2017-09-15T14:00:16.783" Score="0" Body="For questions about Sitecore's tree list field type, including use, source setting, customization and extension" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:00:16.783" LastActivityDate="2017-09-15T14:00:16.783" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7592" PostTypeId="5" CreationDate="2017-09-15T14:02:53.390" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:02:53.390" LastActivityDate="2017-09-15T14:02:53.390" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7593" PostTypeId="4" CreationDate="2017-09-15T14:02:53.390" Score="0" Body="For questions related to Sitecore's profile keys, as part of the marketing suite, including configuration, implementation, use, etc." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:02:53.390" LastActivityDate="2017-09-15T14:02:53.390" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7594" PostTypeId="5" CreationDate="2017-09-15T14:06:26.160" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:06:26.160" LastActivityDate="2017-09-15T14:06:26.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7595" PostTypeId="4" CreationDate="2017-09-15T14:06:26.160" Score="0" Body="For questions related to membership in Sitecore, using either Sitecore's native membership or a custom membership provider or integration. This tag should not be used for general membership questions that do not pertain specifically to Sitecore." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:06:26.160" LastActivityDate="2017-09-15T14:06:26.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7596" PostTypeId="5" CreationDate="2017-09-15T14:12:09.197" Score="0" Body="&lt;p&gt;Marketing definitions represent marketing activities such as campaigns or goals and are managed by marketers. The following is true of all definitions:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Definitions are represented by items in Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Definitions are created by marketers.&lt;/li&gt;&#xA;&lt;li&gt;Definitions are deployed to the reference data store. If a definition has not been deployed, it cannot be used in an xDB context such as processing.&lt;/li&gt;&#xA;&lt;li&gt;Every definition type has its own definition manager in the Marketing Operations API.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="423" LastEditorUserId="4817" LastEditDate="2021-04-02T15:17:54.653" LastActivityDate="2021-04-02T15:17:54.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7597" PostTypeId="4" CreationDate="2017-09-15T14:12:09.197" Score="0" Body="For questions related to Sitecore's marketing definitions, including their configuration, use and functionality, deployment, troubleshooting, and beyond. " OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:12:09.197" LastActivityDate="2017-09-15T14:12:09.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7598" PostTypeId="5" CreationDate="2017-09-15T14:13:57.360" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:13:57.360" LastActivityDate="2017-09-15T14:13:57.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7599" PostTypeId="4" CreationDate="2017-09-15T14:13:57.360" Score="0" Body="For questions related to Sitecore's admin pages, including those native admin pages, found by navigating to /sitecore/admin and its sub-pages, as well as custom admin pages." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:13:57.360" LastActivityDate="2017-09-15T14:13:57.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7600" PostTypeId="5" CreationDate="2017-09-15T14:15:10.567" Score="0" Body="" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:15:10.567" LastActivityDate="2017-09-15T14:15:10.567" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7601" PostTypeId="4" CreationDate="2017-09-15T14:15:10.567" Score="0" Body="For general questions related to cloud-based Sitecore implementations" OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:15:10.567" LastActivityDate="2017-09-15T14:15:10.567" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7602" PostTypeId="5" CreationDate="2017-09-15T14:16:18.930" Score="0" Body="&lt;p&gt;The Content Tree allows viewing the Sitecore system as a tree with child items grouped under their parents. When the user right clicks any item in the content tree, the context menu with a set of available commands for this item will appear. See the screenshot below for an example of a menu.&lt;/p&gt;&#xA;" OwnerUserId="423" LastEditorUserId="2727" LastEditDate="2021-03-11T08:59:59.410" LastActivityDate="2021-03-11T08:59:59.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7603" PostTypeId="4" CreationDate="2017-09-15T14:16:18.930" Score="0" Body="For questions related to the Content Tree within the Sitecore Client, including item display, configuration, troubleshooting, etc. This tag should not be used for architecture related questions." OwnerUserId="423" LastEditorUserId="423" LastEditDate="2017-09-15T14:16:18.930" LastActivityDate="2017-09-15T14:16:18.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7604" PostTypeId="2" ParentId="2184" CreationDate="2017-09-15T14:36:08.810" Score="10" Body="&lt;p&gt;Another way to increase the speed of removing items is to skip the recycling bin. Here is an example in combination with using bulk update.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;  Get-Item &quot;master:/content/Something&quot; | Remove-Item -Recurse -Permanently&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the documentation on deleting items permanently:&#xA;&lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecorepowershell.com/working-with-items.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Relevant information:&#xA;&quot;Permanently - Specifies the item should be deleted rather than recycled.&quot;&lt;/p&gt;&#xA;" OwnerUserId="2437" LastActivityDate="2017-09-15T14:36:08.810" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7605" PostTypeId="2" ParentId="5981" CreationDate="2017-09-15T14:40:32.770" Score="2" Body="&lt;p&gt;As a couple of others have mentioned above, campaigns only trigger on the first page of a site visit.  It was actually considered a bug to not have it behave this way and was &quot;fixed&quot; in Sitecore 7.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;When a visitor triggered a campaign, the system updated the CampaignID for the visit even if the current page was not the first page of the visit. This has been fixed so now the system only sets the CampaignID for the visit on the first page of the visit. If the visitor triggers campaigns on subsequent pages, the campaign events will still be registered, but the system will not change the CampaignID. (389296)&quot;&#xA;&lt;a href=&quot;https://sdn.sitecore.net/products/sitecore%20v5/sitecore%20cms%207/releasenotes/changelog.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/products/sitecore%20v5/sitecore%20cms%207/releasenotes/changelog.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="520" LastActivityDate="2017-09-15T14:40:32.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7606" PostTypeId="2" ParentId="7527" CreationDate="2017-09-15T15:41:12.087" Score="0" Body="&lt;p&gt;There is no out of box method provided by Sitecore for this. You can create dictionary items based on month names and keep values as 1, 2, 3... for them . Then you can create a custom handler for item:created event and update the item _SortOrder field value from corresponding month dictionary item value. &lt;/p&gt;&#xA;" OwnerUserId="2430" LastActivityDate="2017-09-15T15:41:12.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7607" PostTypeId="1" CreationDate="2017-09-15T15:42:19.337" Score="14" ViewCount="1302" Body="&lt;p&gt;I was looking for a fallback for Analytics when MongoDB was not available anymore and the &quot;Submit queue&quot; was exactly what I needed on paper.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;My Issue&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It seems that the &quot;&lt;code&gt;Sitecore.Analytics.SubmitQueueService&lt;/code&gt;&quot; is not running. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Expected result&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When MongoDB is down, a queue file will be created in &lt;code&gt;Data\Submit-Queue&lt;/code&gt;. This file will be flushed in MongoDB, when the server is reachable again, resulting in eventually deleting the file (or at least getting smaller in size).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What happens&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The queue file is only created when MongoDB is down, which is good. However, the file keeps growing over time, even though the MongoDB server is back online.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What I did&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Set &lt;code&gt;.config&lt;/code&gt; files according to &lt;a href=&quot;https://kb.sitecore.net/articles/930657&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;this&lt;/strong&gt;&lt;/a&gt; article.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;\App_Config\Include\Sitecore.Analytics.Tracking.Database.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;submitQueue&amp;gt; &#xA;    &amp;lt;backgroundService type=&quot;Sitecore.Analytics.SubmitQueueService, Sitecore.Analytics&quot;&amp;gt; &#xA;       &amp;lt;!-- Service wakeup interval in seconds. --&amp;gt; &#xA;       &amp;lt;Interval&amp;gt;60&amp;lt;/Interval&amp;gt; &#xA;    &amp;lt;/backgroundService&amp;gt; &#xA;&amp;lt;/submitQueue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;\App_Config\Include\Sitecore.Analytics.Tracking.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.UseSubmitQueue&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;\App_Config\Include\Sitecore.Analytics.MongoDb.config&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mongo recoveryTimeout=&quot;60&quot;&amp;gt;&#xA;      &amp;lt;driver type=&quot;Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDriver, Sitecore.Analytics.MongoDB&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;connectionString&quot;&amp;gt;$(0)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;failOnReadErrors&quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/driver&amp;gt;&#xA;&amp;lt;/mongo&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;\App_Config\Include\Sitecore.Analytics.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.FailOnDatabaseErrors&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Testing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I made sure a queue file is created (So MongoDB is made inaccessible).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this, I start the MongoDB server again to see if my queue file is shrinking. Sadly it is not, it grows. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also checked my logs from the moment that I started MongoDB again, but no logs are indicating something is wrong. It was also not running in the background as a Job (assuming it is Sitecore Job).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Enviroment&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.NET 8.2 (rev. 161221)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr /&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additional problem&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There still seem to be MongoDB connection errors, even though Submit queue should be active.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;[DatabaseNotAvailableException: Database not available]&#xA;     Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.Execute(Action action, ExceptionBehavior exceptionBehavior) +110&#xA;     Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.Save(Object value) +155&#xA;     Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.Update(IUpdatableObject container) +418&#xA;     Sitecore.Analytics.Pipelines.SubmitSessionContext.SaveClassificationsMap.Process(SubmitSessionContextArgs args) +1152&#xA;  ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hopefully I gave enough information!&lt;/p&gt;&#xA;" OwnerUserId="1529" LastEditorUserId="153" LastEditDate="2018-02-16T20:52:37.757" LastActivityDate="2018-02-16T20:52:37.757" Title="Submit queue is not working" Tags="|xdb|experience-analytics|mongodb|" AnswerCount="0" CommentCount="7" ClosedDate="2018-09-21T16:34:45.503" ContentLicense="CC BY-SA 3.0" />
  <row Id="7609" PostTypeId="2" ParentId="7533" CreationDate="2017-09-16T02:56:01.853" Score="4" Body="&lt;p&gt;If test users credentials are used within your team and you know their ip address. You can exclude those ip addresses in Sitecore.Analytics.ExcludeRobots.config file. It will not require a code change and can be handled in configurations. &lt;/p&gt;&#xA;" OwnerUserId="2430" LastActivityDate="2017-09-16T02:56:01.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7610" PostTypeId="1" AcceptedAnswerId="7611" CreationDate="2017-09-16T05:11:19.757" Score="4" ViewCount="387" Body="&lt;p&gt;What if I change the username in Sitecore using SQL command?&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;UPDATE dbo.aspnet_Users WITH (ROWLOCK)&#xA;    SET&#xA;       UserName = @NewUserName&#xA;    WHERE&#xA;       UserName = @UserName&#xA;&#xA; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I tried it and found that I can't see all other user data anymore (see screen shot). But the data does exist in core database.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jXjbr.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jXjbr.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;What could be the issue?&lt;/p&gt;&#xA;" OwnerUserId="1230" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-09-16T13:30:11.247" Title="Renaming user names in Sitecore Membership Database" Tags="|membership-provider|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7611" PostTypeId="2" ParentId="7610" CreationDate="2017-09-16T07:38:06.877" Score="4" Body="&lt;p&gt;You need to change the LoweredUserName column as well. I just tried that and it seems to work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I couldn't verify if the affected user can still logon or whether he encountered any issues after the update, but the user list was updated correctly and I can still see the full name, email etc...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-09-16T07:38:06.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7612" PostTypeId="1" AcceptedAnswerId="7613" CreationDate="2017-09-16T14:47:13.437" Score="1" ViewCount="862" Body="&lt;p&gt;Does anyone know how to get a context rendering in Sitecore Web Forms?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a &lt;code&gt;RenderingContext.Current.Rendering&lt;/code&gt; in the Sitecore MVC, but I can't seem to find the same for Web Forms&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-09-16T14:57:47.393" Title="How to get context rendering in web forms" Tags="|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7613" PostTypeId="2" ParentId="7612" CreationDate="2017-09-16T14:57:47.393" Score="1" Body="&lt;p&gt;Oh wow, it's been a while. It isn't completely clear to me exactly what you are after, but I believe this might be helpful to you.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var renderingReference = Sitecore.Context.Page.GetRenderingReference(this);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where 'this' would be your current page control. It &lt;em&gt;might&lt;/em&gt; be that you need to do &lt;code&gt;this.Parent&lt;/code&gt; (to get the actual Sublayout responsible for rendering your control) - I unfortunately don't have a Webforms based solution nearby to test.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-09-16T14:57:47.393" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7614" PostTypeId="2" ParentId="7447" CreationDate="2017-09-16T17:50:37.800" Score="3" Body="&lt;p&gt;The default &lt;code&gt;id&lt;/code&gt; generated for the form by the WFFM module is a valid id and meets both &lt;a href=&quot;https://stackoverflow.com/questions/70579/what-are-valid-values-for-the-id-attribute-in-html&quot;&gt;HTML4 and HTML5 specifications&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend not styling based on ID, espcially if you are following module or atomic design patterns. Instead, you should style based on CSS class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt;.my-form-style {&#xA;   /* add your styles */&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then set this on each form in the &lt;code&gt;Custom CSS Class&lt;/code&gt; field on the form item itself. You must set this from the Content Editor, it is not editable from the Form Designer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dxmot.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dxmot.png&quot; alt=&quot;Custom CSS CLass&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: This is only available in Sitecore MVC implementations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do the same thing for the fields on the form. Again &lt;strong&gt;do not&lt;/strong&gt; style based on ID since it makes your styles inflexible. Instead, use CSS class again:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt;.my-field {&#xA;   /* style all fields with this class */&#xA;}&#xA;&#xA;.my-form-style .my-field {&#xA;   /* only style fields in the form where we set custom css class */&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can add the field styles in &lt;code&gt;sitecore/System/Modules/Web Forms for Marketers/Settings/Meta data/CSS Classes&lt;/code&gt; using template &lt;code&gt;Extended List Item&lt;/code&gt;, then select the style for each field that you require.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rrIGq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rrIGq.png&quot; alt=&quot;WFFM Fild Style&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details in the appearance section of the &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;WFFM documentation&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-09-16T17:50:37.800" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7615" PostTypeId="1" AcceptedAnswerId="7702" CreationDate="2017-09-17T02:42:35.197" Score="4" ViewCount="275" Body="&lt;p&gt;Update: this is what my url is trying to resolve to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/home/about us/api/sitecore/findanaffiliate/getaffiliate/&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so here is my Ajax :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;    $(&quot;#AffiliateList&quot;).change(function () {&#xA;        var textval = $(&quot;AffiliateList :selected&quot;).text();&#xA;        var selected = $(&quot;#AffiliateList :selected&quot;).val();&#xA;&#xA;        $.ajax({&#xA;            type: &quot;GET&quot;,&#xA;            url: &quot;api/Sitecore/FindAnAffiliate/GetAffiliate/&quot;,&#xA;            data: {id: selected},&#xA;            content: &quot;html&quot;,&#xA;            success: function (response) {&#xA;&#xA;                $(&quot;#affiliateDetail&quot;).empty();&#xA;                $(&quot;#affiliateDetail&quot;).append(response);&#xA;            },&#xA;            error: function (jqHRX, textStatus, errorThrown) {&#xA;                alert(jqHRX);&#xA;                alert(errorThrown);&#xA;                alert(textStatus);&#xA;            }&#xA;&#xA;&#xA;&#xA;            })&#xA;    })&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;when I run the this in Sitecore preview mode everything executes fine, when I type the url into my browser and bring up the page... the java script is being executed, but the url is getting a 400 level error. I am running in the same environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is the controller: findAnAffiliate is NOT being hit unless I am in Preview mode:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Website.Controllers&#xA;{&#xA;    public class FindAnAffiliateController : Controller&#xA;    {&#xA;        // GET: findAnAffiliate&#xA;        public ActionResult Index()&#xA;        {&#xA;            return View();&#xA;        }&#xA;&#xA;        public ActionResult FindAnAffiliate()&#xA;        {&#xA;            var dataSourceId = RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;            var dataSourceItem = Sitecore.Context.Database.GetItem(dataSourceId);&#xA;&#xA;            var model = new AffiliateViewModel();&#xA;            model.title = dataSourceItem.Fields[&quot;Title&quot;].Value;&#xA;            model.description = dataSourceItem.Fields[&quot;Description&quot;].Value;&#xA;            model.affiliateList = model.affiliates();&#xA;&#xA;            var selectedItem = model.affiliateList.FirstOrDefault();&#xA;            var affiliateItem = Sitecore.Context.Database.GetItem(selectedItem.Value);&#xA;&#xA;            var affiliateDetail = new Affiliate();&#xA;&#xA;            Sitecore.Data.Fields.MultilistField SponsorLinks = affiliateItem.Fields[&quot;Sponsors&quot;];&#xA;            var sponsorLinkItems = SponsorLinks.GetItems();&#xA;&#xA;            var count = 0;&#xA;            foreach (Sitecore.Data.Items.Item item in sponsorLinkItems)&#xA;            {&#xA;&#xA;&#xA;                var ImageLogo = (Sitecore.Data.Fields.ImageField)item.Fields[&quot;Image&quot;];&#xA;                var ImageLogoUrl = &quot;&quot;;&#xA;                if (ImageLogo.Value != &quot;&quot; &amp;amp;&amp;amp; ImageLogo != null)&#xA;                {&#xA;                    ImageLogoUrl = Sitecore.Resources.Media.MediaManager.GetMediaUrl(ImageLogo.MediaItem);&#xA;                }&#xA;                var linkName = item.Fields[&quot;Link Text&quot;].Value;&#xA;                var ImageUrl = (Sitecore.Data.Fields.LinkField)item.Fields[&quot;Link&quot;];&#xA;                var friendlyLinkUrl = ImageUrl.GetFriendlyUrl();&#xA;&#xA;                if (count == 0)&#xA;                {&#xA;                    affiliateDetail.sponsor1_ImageUrl = ImageLogoUrl;&#xA;                    affiliateDetail.sponsor1_linkText = linkName;&#xA;                    affiliateDetail.sponsor1_linkUrl = friendlyLinkUrl;&#xA;                }&#xA;&#xA;                if (count == 1)&#xA;                {&#xA;                    affiliateDetail.sponsor2_ImageUrl = ImageLogoUrl;&#xA;                    affiliateDetail.sponsor2_linkText = linkName;&#xA;                    affiliateDetail.sponsor2_linkUrl = friendlyLinkUrl;&#xA;                }&#xA;&#xA;                count++;&#xA;            }&#xA;&#xA;            affiliateDetail.title = affiliateItem.Fields[&quot;Affiliate Name&quot;].Value;&#xA;            var linkUrl =(Sitecore.Data.Fields.LinkField) affiliateItem.Fields[&quot;Affiliate Link&quot;];&#xA;            affiliateDetail.linkText = linkUrl.Text != &quot;&quot; ? linkUrl.Text : &quot;No Link Available&quot;;&#xA;            affiliateDetail.linkUrl = linkUrl.GetFriendlyUrl();&#xA;            affiliateDetail.description = affiliateItem.Fields[&quot;Description&quot;].Value;&#xA;            model.affiliate = affiliateDetail;&#xA;&#xA;&#xA;            return View(model);&#xA;        }&#xA;&#xA;        public ActionResult GetAffiliate(string id)&#xA;        {&#xA;            var model = new Affiliate();&#xA;&#xA;            var affiliateItem = Sitecore.Context.Database.GetItem(id);&#xA;&#xA;            Sitecore.Data.Fields.MultilistField SponsorLinks = affiliateItem.Fields[&quot;Sponsors&quot;];&#xA;            var sponsorLinkItems = SponsorLinks.GetItems();&#xA;&#xA;            var count = 0;&#xA;                foreach (Sitecore.Data.Items.Item item in sponsorLinkItems)&#xA;                {&#xA;&#xA;&#xA;                    var ImageLogo = (Sitecore.Data.Fields.ImageField)item.Fields[&quot;Image&quot;];&#xA;                    var ImageLogoUrl = &quot;&quot;;&#xA;                    if (ImageLogo.Value != &quot;&quot; &amp;amp;&amp;amp; ImageLogo != null)&#xA;                    {&#xA;                        ImageLogoUrl = Sitecore.Resources.Media.MediaManager.GetMediaUrl(ImageLogo.MediaItem);&#xA;                    }&#xA;                    var linkName = item.Fields[&quot;Link Text&quot;].Value;&#xA;                    var ImageUrl = (Sitecore.Data.Fields.LinkField)item.Fields[&quot;Link&quot;];&#xA;                    var friendlyLinkUrl = ImageUrl.GetFriendlyUrl();&#xA;&#xA;                if (count == 0)&#xA;                {&#xA;                    model.sponsor1_ImageUrl = ImageLogoUrl;&#xA;                    model.sponsor1_linkText = linkName;&#xA;                    model.sponsor1_linkUrl = friendlyLinkUrl;&#xA;                }&#xA;&#xA;                if (count == 1)&#xA;                {&#xA;                    model.sponsor2_ImageUrl = ImageLogoUrl;&#xA;                    model.sponsor2_linkText = linkName;&#xA;                    model.sponsor2_linkUrl = friendlyLinkUrl;&#xA;                }&#xA;&#xA;                count++;&#xA;                }&#xA;&#xA;&#xA;            model.title = affiliateItem.Fields[&quot;Affiliate Name&quot;].Value;&#xA;            var linkUrl = (Sitecore.Data.Fields.LinkField)affiliateItem.Fields[&quot;Affiliate Link&quot;];&#xA;            model.linkText = linkUrl.Text != &quot;&quot; ? linkUrl.Text : &quot;No Link Available&quot;;&#xA;            model.linkUrl = linkUrl.GetFriendlyUrl();&#xA;            model.description = affiliateItem.Fields[&quot;Description&quot;].Value;&#xA;            return PartialView(model);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lastly, here is the View&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Website.ViewModels.AffiliateViewModel&#xA;&#xA;&amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;&#xA;    &amp;lt;div class=&quot;headline-container&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;headline-lines&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;        &amp;lt;h2 class=&quot;text-center&quot;&amp;gt;@Model.title&amp;lt;/h2&amp;gt;&#xA;        &amp;lt;div class=&quot;headline-lines&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;            &amp;lt;p&amp;gt;@Model.description&amp;lt;/p&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div class=&quot;col-sm-6&quot;&amp;gt;&#xA;            @Html.DropDownList(&quot;AffiliateList&quot;, Model.affiliateList as SelectList, &quot;&quot;, new { @id = &quot;AffiliateList&quot;, @class = &quot;form-control input-lg&quot; })&#xA;        &amp;lt;div id=&quot;affiliateDetail&quot;&amp;gt;&#xA;            &amp;lt;h4&amp;gt;@Model.affiliate.title&amp;lt;/h4&amp;gt;&#xA;            &amp;lt;p class=&quot;affiliateLink&quot;&amp;gt;&amp;lt;a href=&quot;@Model.affiliate.linkUrl&quot;&amp;gt;@Model.affiliate.linkText&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;            &amp;lt;p&amp;gt;@Model.affiliate.description&amp;lt;/p&amp;gt;&#xA;&#xA;            &amp;lt;div class=&quot;col-xs-6&quot;&amp;gt;&#xA;                &amp;lt;img class=&quot;img-responsive&quot; src=&quot;@Model.affiliate.sponsor1_ImageUrl&quot;&amp;gt;&#xA;                &amp;lt;p class=&quot;affiliateLink small_p&quot;&amp;gt;&amp;lt;a href=&quot;@Model.affiliate.sponsor1_linkUrl&quot;&amp;gt;@Model.affiliate.sponsor1_linkText&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;&#xA;            &amp;lt;div class=&quot;col-xs-6&quot;&amp;gt;&#xA;                &amp;lt;img class=&quot;img-responsive&quot; src=&quot;@Model.affiliate.sponsor2_ImageUrl&quot;&amp;gt;&#xA;                &amp;lt;p class=&quot;affiliateLink small_p&quot;&amp;gt;&amp;lt;a href=&quot;@Model.affiliate.sponsor2_linkUrl&quot;&amp;gt;@Model.affiliate.sponsor2_linkText&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;            &amp;lt;/div&amp;gt; &#xA;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;/div&amp;gt;&amp;lt;!--row--&amp;gt;&#xA;&#xA;&#xA;&#xA;&amp;lt;/div&amp;gt;&amp;lt;!--container--&amp;gt;&#xA;      &amp;lt;/div&amp;gt;&amp;lt;!-- /content container--&amp;gt;    &#xA;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;    $(&quot;#AffiliateList&quot;).change(function () {&#xA;        var textval = $(&quot;AffiliateList :selected&quot;).text();&#xA;        var selected = $(&quot;#AffiliateList :selected&quot;).val();&#xA;&#xA;        $.ajax({&#xA;            type: &quot;GET&quot;,&#xA;            url: &quot;api/Sitecore/FindAnAffiliate/GetAffiliate/&quot;,&#xA;            data: {id: selected},&#xA;            content: &quot;html&quot;,&#xA;            success: function (response) {&#xA;&#xA;                $(&quot;#affiliateDetail&quot;).empty();&#xA;                $(&quot;#affiliateDetail&quot;).append(response);&#xA;            },&#xA;            error: function (jqHRX, textStatus, errorThrown) {&#xA;                alert(jqHRX);&#xA;                alert(errorThrown);&#xA;                alert(textStatus);&#xA;            }&#xA;&#xA;&#xA;&#xA;            })&#xA;    })&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="1227" LastEditDate="2017-09-17T12:38:04.507" LastActivityDate="2018-02-02T07:47:38.800" Title="Why is my Ajax url found when I test in preview mode, but not when I bring up the page in a url I get not found errors" Tags="|mvc|javascript|ajax|" AnswerCount="3" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="7616" PostTypeId="2" ParentId="7615" CreationDate="2017-09-17T13:05:41.957" Score="3" Body="&lt;p&gt;I would recommend creating a custom route for Ajax functionality that doesn't reside in the Sitecore Shell. From my understanding, using the default route of &lt;code&gt;/api/Sitecore&lt;/code&gt; only works if you are logged in, which is why it works in preview but not the rest of the time on your site.  Now I'm sure there is a way to change this permission, but you wouldn't want to, since it could open up new security concerns.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To define a custom route you should create a class that defines the route:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void RegisterRoutes(RouteCollection routes)&#xA;{&#xA;    routes.IgnoreRoute(&quot;{resource}.axd/{*pathInfo}&quot;);&#xA;    routes.MapRoute(&#xA;        name: &quot;Default&quot;,&#xA;        url: &quot;FindAnAffiliate/GetAffiliate&quot;,&#xA;        defaults: new { controller = &quot;FindAnAffiliate&quot;, action = &quot;GetAffiliate&quot; }&#xA;    );&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then you would define a patch config, something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;mvc.Pipelines.LoadRoutes,mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The type should match the namespace and assembly for where you placed your &lt;code&gt;RegisterRoutes&lt;/code&gt; definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a helpful resource on the topic:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/use_mvc_routing&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/use_mvc_routing&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added the following to the RouteConfig.cs &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;routes.MapRoute(&#xA;        name: &quot;Default&quot;,&#xA;        url: &quot;FindAnAffiliate/GetAffiliate&quot;,&#xA;        defaults: new { controller = &quot;FindAnAffiliate&quot;, action = &quot;GetAffiliate&quot; }&#xA;    );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I created this LoadRoutes.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; using System.Web.Routing;&#xA;namespace Website.Pipelines&#xA;{&#xA;    using Sitecore.Diagnostics;&#xA;    using Sitecore.Pipelines;&#xA;&#xA;    // TODO: \App_Config\include\LoadRoutes.config created automatically when creating LoadRoutes class.&#xA;&#xA;    public class LoadRoutes&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            Log.Info(&quot;Sitecore is starting&quot;, this);&#xA;            RouteConfig.RegisterRoutes(RouteTable.Routes);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this was created under App.Config\Include&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;mvc.Pipelines.LoadRoutes,mvc&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;it is still trying to resolve to /home/AboutUs/api/Sitecore/FindAnAffiliate/GetAffiliate ... which is giving me a 404 error&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1227" LastEditDate="2017-09-22T07:53:51.963" LastActivityDate="2017-09-22T07:53:51.963" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7617" PostTypeId="1" CreationDate="2017-09-17T14:30:15.237" Score="0" ViewCount="146" Body="&lt;p&gt;We have a page that has 4 WFFM added. In one of the WFFM we have a success redirection another page.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page are located as &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Form Page: sitecore/content/SiteA/Page1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Success Page: sitecore/content/SiteA/SuccessPage&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While clicking the button in the Page1, this page reloads and then redirects to SucessPage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: We had also tried to enable the “IsAjax MVC Form Feild”. But unfortunately, the redirection is not taking place and no action is happening&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-09-17T14:30:15.237" Title="WFFM form is reloading and then redirecting to success page" Tags="|wffm|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7619" PostTypeId="1" AcceptedAnswerId="7632" CreationDate="2017-09-18T08:40:16.913" Score="4" ViewCount="1639" Body="&lt;p&gt;I'm building some scripts that will check that items are localized to a particular branch of the content tree (we have lots of parallel tree structures and we want to copy between them) and can successfully retrieve all links/references an item contains using Get-ItemReference with the -ItemLink parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a command I can use on the links returned to update them to refer to  different items?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The closest I can find is Update-ItemReferrer though this seems to be the reverse (updates items that point to a specific item) and also possibly deprecated (I get a no command found error, and the page in the gitbook has format issues &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/common/update-itemreferrer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/appendix/common/update-itemreferrer&lt;/a&gt; )&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So are the link/reference objects returned able to be updated directly, or do I need to use them to find the fields on the item itself and update there?&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="95" LastEditDate="2018-05-15T02:41:44.950" LastActivityDate="2018-05-15T02:41:44.950" Title="Can I update links retrieved with Get-ItemReference in powershell?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7620" PostTypeId="1" AcceptedAnswerId="7621" CreationDate="2017-09-18T09:49:34.693" Score="2" ViewCount="346" Body="&lt;p&gt;Some of the icons bundled with Sitecore 8 - in my case, core/32x32/home_green.png - seem to be missing their 16x16 counterpart; this causes the Content Editor tree to lack an icon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just downloaded the official Sitecore release (Sitecore 8.0 rev. 141212) to make sure I didn't have an older version of the Core.zip file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a known issue? Are some icons supposed to be broken like that?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="73" LastEditDate="2017-09-18T10:30:31.760" LastActivityDate="2017-09-18T10:30:31.760" Title="Why do some Sitecore icons lack their smaller version?" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7621" PostTypeId="2" ParentId="7620" CreationDate="2017-09-18T09:56:20.277" Score="3" Body="&lt;p&gt;This is a known issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is caused by the fact that some icons are missing in the \sitecore\shell\Themes\Standard\Core.zip\16x16 folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As workaround, please consider using Core3 icon collection instead of Core.&#xA;If this way is inconvenient for you, please copy the lack files from the \16x16 folder of the \sitecore\shell\Themes\Standard\Core3.zip archive to the \16x16 folder of the \sitecore\shell\Themes\Standard\Core.zip archive. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-09-18T09:56:20.277" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7622" PostTypeId="1" CreationDate="2017-09-18T10:27:48.377" Score="0" ViewCount="60" Body="&lt;p&gt;Getting Exception when i clicked on Licence details..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently my Application is host on Azure Pass using sitecore version 8.2 update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FyLoX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FyLoX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.IO.FileNotFoundException&#xA;  Message: Unable to find the specified file.&#xA;  Source: mscorlib&#xA;     at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)&#xA;     at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)&#xA;     at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)&#xA;     at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly&amp;amp; lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType&amp;amp; attributeType, IRuntimeMethodInfo&amp;amp; ctor, Boolean&amp;amp; ctorHasParameters, Boolean&amp;amp; isVarArg)&#xA;     at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)&#xA;     at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Configuration.AboutFormRenderer.GetCustomAttribute[T](Assembly assembly)&#xA;     at Sitecore.Configuration.AboutFormRenderer.GetModuleInfo(String moduleName)&#xA;     at Sitecore.Configuration.AboutFormRenderer.GetModulesInfo(IEnumerable`1 moduleNames)&#xA;     at Sitecore.Configuration.AboutFormRenderer.RenderModules()&#xA;     at Sitecore.Configuration.AboutFormRenderer.RenderForm()&#xA;     at Sitecore.Configuration.About.ToHtml()&#xA;     at Sitecore.Shell.Applications.Dialogs.About.AboutForm.OnLoad(EventArgs e)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="690" LastEditorUserId="73" LastEditDate="2017-09-18T10:35:37.543" LastActivityDate="2017-09-19T07:15:43.380" Title="Getting error when clicking on Licence Details - on a PaaS setup" Tags="|azure|" AnswerCount="1" CommentCount="4" ClosedDate="2017-09-19T07:16:50.903" ContentLicense="CC BY-SA 3.0" />
  <row Id="7623" PostTypeId="2" ParentId="5246" CreationDate="2017-09-18T12:25:55.003" Score="4" Body="&lt;p&gt;This behavior is seen if the custom host header that you use does not match the local computer name. We had the same issue where despite providing the right credentials in the window prompt, we were gettung HTTP Error 401.2 - Unauthorized. (you may get HTTP Error 401.1 too!)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For enabling SSO, the Sitecore Support pointed me to an article at &lt;a href=&quot;https://sdn.sitecore.net/Scrapbook/401,-d-,1%20Error.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/Scrapbook/401,-d-,1%20Error.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically in the article, the resolution steps are outlined here : &lt;a href=&quot;https://support.microsoft.com/en-us/help/896861/you-receive-error-401-1-when-you-browse-a-web-site-that-uses-integrate&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.microsoft.com/en-us/help/896861/you-receive-error-401-1-when-you-browse-a-web-site-that-uses-integrate&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to enable SSO using &lt;em&gt;Method 1: Specify host names (Preferred method if NTLM authentication is desired)&lt;/em&gt; outlined in the above link.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Click Start, click Run, type regedit, and then click OK.&lt;/li&gt;&#xA;&lt;li&gt;In Registry Editor, locate and then click the following registry key:&#xA;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0&lt;/li&gt;&#xA;&lt;li&gt;Right-click MSV1_0, point to New, and then click Multi-String Value.&lt;/li&gt;&#xA;&lt;li&gt;Type BackConnectionHostNames, and then press ENTER.&lt;/li&gt;&#xA;&lt;li&gt;Right-click BackConnectionHostNames, and then click Modify.&lt;/li&gt;&#xA;&lt;li&gt;In the Value data box, type the host name or the host names for the sites that are on the local computer (list each host names in the new line!), and then click OK.&lt;/li&gt;&#xA;&lt;li&gt;Quit Registry Editor, and then restart the IISAdmin service.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After you do this and hit LDAPlogin.aspx once again, you will be prompted to enter the credentials. However once you provide the right credentials and are authenticated, hitting LDAPLogin.aspx subsequently will not prompt for credentials.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in order to make this annoying window pop-up disappear even for the very first time, you should add the host names to the list of &quot;Local intranet sites&quot; in IE.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/L4pBA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/L4pBA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps someone who experiences similar problem as ours!&lt;/p&gt;&#xA;" OwnerUserId="1813" LastEditorUserId="1813" LastEditDate="2017-09-18T20:30:01.333" LastActivityDate="2017-09-18T20:30:01.333" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7624" PostTypeId="1" AcceptedAnswerId="7625" CreationDate="2017-09-18T12:50:52.857" Score="10" ViewCount="26920" Body="&lt;p&gt;In Sitecore Powershell extensions I can use &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;If ( Get-Item ...)&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;to return true if an item exists or false if it doesn't, but if the item isn't found then it outputs an error message as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way of checking for an item's existence that doesn't output an error message (and is possibly less intensive than using Get-Item - I only need to know if it's there or not, I don't need to instantiate it)? &lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="345" LastEditDate="2020-01-16T14:47:57.227" LastActivityDate="2021-02-02T14:05:29.997" Title="How to check an item exists with powershell without raising an error?" Tags="|powershell-extensions|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7625" PostTypeId="2" ParentId="7624" CreationDate="2017-09-18T13:04:13.973" Score="20" Body="&lt;p&gt;Try this &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$database = &quot;master&quot;&#xA;$homeItem = &quot;$($database):\sitecore\content\home123&quot;&#xA;$homeExists = Test-Path -Path $homeItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2430" LastEditorUserId="95" LastEditDate="2017-09-18T14:20:06.157" LastActivityDate="2017-09-18T14:20:06.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7626" PostTypeId="1" AcceptedAnswerId="7630" CreationDate="2017-09-18T14:13:43.133" Score="9" ViewCount="917" Body="&lt;p&gt;I don't want company traffic to show up in Sitecore analytics, because it skews goal scores &amp;amp; bounce rates. How do I prevent Sitecore from recording these visits, or how do I at least null-out their value?&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-09-18T14:20:33.370" Title="How to remove an IP address range from analytics?" Tags="|xdb|experience-analytics|" AnswerCount="2" CommentCount="1" ClosedDate="2018-08-28T09:07:57.927" ContentLicense="CC BY-SA 3.0" />
  <row Id="7627" PostTypeId="1" CreationDate="2017-09-18T14:16:26.933" Score="4" ViewCount="364" Body="&lt;p&gt;My parent company has &quot;thoughtfully&quot; referenced our public website in a frame on the home page of a mandatory-use intranet application, thereby guaranteeing we get a lot of referring traffic from the intranet's address. How do I suppress these visits in reports or even better, prevent them from being logged?&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-09-18T20:01:55.813" Title="How to exclude a specific referring site from Experience Analytics?" Tags="|xdb|experience-analytics|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7628" PostTypeId="2" ParentId="7624" CreationDate="2017-09-18T14:19:26.923" Score="12" Body="&lt;p&gt;An alternative would be to run the &lt;code&gt;Get-Item&lt;/code&gt; command and provide the necessary &lt;code&gt;ErrorAction&lt;/code&gt; parameter to hide the output.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Variable $item will contain the object if found.&#xA;if(($item = Get-Item -Path &quot;master:\content\home1&quot; -ErrorAction SilentlyContinue)) {&#xA;    $item&#xA;} else {&#xA;    Write-Host &quot;Does not exist.&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sometimes you may also see the parameter shortened to &lt;code&gt;-ea 0&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-09-18T14:19:26.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7629" PostTypeId="2" ParentId="7626" CreationDate="2017-09-18T14:19:31.097" Score="3" Body="&lt;p&gt;You could disable tracking of requests from your servers in the &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;\App_Config\Include\Sitecore.Analytics.ExcludeRobots.config&lt;/strong&gt;  file in such way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;!--List of ip addresses of search engines. Requests from following addresses will be ignored by Analytics.&#xA;Supported values and formates:&#xA;IP address, e.g. 10.2.3.4;&#xA;IP range, e.g. 10.1.2.3 - 10.1.2.30;&#xA;Subnet, e.g. 10.2.3.*&#xA;Use # for comments&#xA;See http://iplists.com/ for updates&#xA;--&amp;gt;&#xA;  &amp;lt;excludedIPAddresses&amp;gt;&#xA;  &amp;lt;/excludedIPAddresses&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-09-18T14:19:31.097" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7630" PostTypeId="2" ParentId="7626" CreationDate="2017-09-18T14:20:33.370" Score="12" Body="&lt;p&gt;You can do that by including the company IP range in &#xA;&quot;&lt;strong&gt;excludedIPAddresses&lt;/strong&gt;&quot; section of Sitecore.Analytics.ExcludeRobots.config file (Or by creating a patch config):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA; &amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;analyticsExcludeRobots&amp;gt;&#xA;    &amp;lt;excludedIPAddresses&amp;gt;&#xA;      10.1.2.3 - 10.1.2.30&#xA;    &amp;lt;/excludedIPAddresses&amp;gt;&#xA;  &amp;lt;/analyticsExcludeRobots&amp;gt;&#xA; &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Requests from these IPs will be ignored completely by xDB &lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-09-18T14:20:33.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7631" PostTypeId="2" ParentId="7627" CreationDate="2017-09-18T14:39:59.427" Score="3" Body="&lt;p&gt;ReferingSite are kept into MongoDB on Interactions collection. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see below picture &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IrzD7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IrzD7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The most suitable way to remove old referring site data from Analytics reports includes two steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Remove the unwanted references (ReferringSite) from &quot;Interactions&quot; collection of Mongo DB. It can be done by performing the following query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.getCollection('Interactions').update({&quot;ReferringSite&quot;:&quot;putYourSiteName&quot;},{$unset:{&quot;ReferringSite&quot;:&quot;&quot;}})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This query should remove &quot;ReferringSite&quot; and fields of documents where specified ReferringSite exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Performing the Rebuilding of reporting database: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NB: I didn't test this queries on my environment. I recommend you to make a backup of the mongo db and reporting before running it.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="73" LastEditDate="2017-09-18T14:53:54.520" LastActivityDate="2017-09-18T14:53:54.520" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7632" PostTypeId="2" ParentId="7619" CreationDate="2017-09-18T15:11:00.010" Score="4" Body="&lt;p&gt;Does this example point you in the right direction?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following re-links images.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:\media library\images\koala&quot;&#xA;$itemNew = Get-Item -Path &quot;master:\media library\images\penguins&quot;&#xA;$links = Get-ItemReferrer -Item $item -ItemLink&#xA;foreach($link in $links) {&#xA;    $linkedItem = Get-Item -Path master:\ -ID $link.SourceItemID &#xA;    $itemField = $linkedItem.Fields[$link.SourceFieldID]&#xA;    $field = [Sitecore.Data.Fields.FieldTypeManager]::GetField($itemField)&#xA;&#xA;    $linkedItem.Editing.BeginEdit()&#xA;    $field.Relink($link, $itemNew)&#xA;    $linkedItem.Editing.EndEdit() | Out-Null&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check out the gist here:&#xA;&lt;a href=&quot;https://gist.github.com/michaellwest/f563b0b3597f6c0a75d6&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/michaellwest/f563b0b3597f6c0a75d6&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following gets the list of references to the item.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:\content\home\sample item 1&quot;&#xA;$links = Get-ItemReference -Item $item -ItemLink&#xA;foreach($link in $links) {&#xA;    # Filter out the links you care about and relink if necessary&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-09-18T15:52:43.753" LastActivityDate="2017-09-18T15:52:43.753" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7633" PostTypeId="2" ParentId="7527" CreationDate="2017-09-18T15:51:16.247" Score="0" Body="&lt;p&gt;After a lot of investigation and asked to Sitecore team, We have implemented this through below approach - Suggested by Sitecore support ticket.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Actually, there is no setting which can change the behavior of the sort order according to your needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per current implementation, We have created a custom &quot;BucketFolderPathResolver&quot; class to generate the month names (e.g. January). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resolve the requirement we have changed the folder structure and it works for us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Resolution – We have added the number of the month to the names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2017&#xA;  01-January&#xA;  02-February&#xA;  03-March&lt;/p&gt;&#xA;" OwnerUserId="2403" LastActivityDate="2017-09-18T15:51:16.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7634" PostTypeId="2" ParentId="7423" CreationDate="2017-09-18T15:58:04.017" Score="0" Body="&lt;p&gt;We've had success symlinking the &lt;code&gt;App_Data&lt;/code&gt; folder to a network share. We've got some batch scripts running at deploy time to accomplish this.&lt;/p&gt;&#xA;" OwnerUserId="2441" LastActivityDate="2017-09-18T15:58:04.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7635" PostTypeId="2" ParentId="7627" CreationDate="2017-09-18T20:01:55.813" Score="1" Body="&lt;p&gt;I can think of two ways for you to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.) Overwrite the Sitecore.Analytics.Pipelines.CreateVisits pipeline in the Sitecore.Analytics DLL. There are a couple of changes you can do to prevent it, but to start there is a method called ParseReferrer that sets the value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fX8Xb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fX8Xb.png&quot; alt=&quot;Example:&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.) You can use the Data Exchange Framework to create a process that removes the entry using MongoDB C# code. It will give you more flexibility if you have any other code cleanup things as well.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-09-18T20:01:55.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7636" PostTypeId="2" ParentId="7245" CreationDate="2017-09-18T20:36:24.977" Score="1" Body="&lt;p&gt;EXM gets the email address of the contact in the &lt;strong&gt;getXdbContactRecipient&lt;/strong&gt; pipeline, specifically in the AssignEmailProperties pipeline processor of that pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Change the EmailAddressesFacetName in /App_Config/Include/EmailExperience/Sitecore.EmailExperience.Core.config to use a different facet to load the email address from OR&lt;/li&gt;&#xA;&lt;li&gt;Replace the AssignEmailProperties pipeline processor with your own&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In your case, it sounds like the second option is the way to go.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-09-18T20:36:24.977" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7638" PostTypeId="1" CreationDate="2017-09-19T06:11:21.663" Score="6" ViewCount="1503" Body="&lt;p&gt;We have found one issue when we add a data source to the field MULTILIST with search it works fine but in case if we add a new language version for that data source then it’s giving only first three records.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; – &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Data source values.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1  Argentina – No language version added&#xA;2. Armenia -   No language version added&#xA;3. Belgium -   No language version added&#xA;4. Brazil  -   No language version added&#xA;5. DR Congo -  No language version added&#xA;6. Ecuador -   No language version added&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Without language versions, it’s giving correct data for the selection, below is the screen shot.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JdfQV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JdfQV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue details-&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we add a new language version for these data source values, As the example below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1  Argentina –  Added 1 language version&#xA;2. Armenia –   Added 1 language version&#xA;3. Belgium–    Added 1 language version&#xA;4. Brazil –    Added 1 language version&#xA;5. DR Congo–   Added 1 language version&#xA;6. Ecuador–    Added 1 language version&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is the reference screenshot where one three records are showing.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/BJAPM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BJAPM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:-&lt;/strong&gt; We have also tried with Fiddler tools just to track the request and response details, what we have observed here is-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are getting a response from the backend but somehow it's not showing in the multi-list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the screenshot from the fiddler response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Vpo4I.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Vpo4I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have anyone faced similar issue while using this control(Multilist with search) in multilingual environment, Please suggest &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Query for the datasource&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;StartSearchLocation={56EeeeF8B-272D-4B62-8930-79E1087AD7CE}&amp;amp;Filter=-_name:People&amp;amp;PageSize=210&amp;amp;SortField=_name[asc]&lt;/strong&gt; &lt;/p&gt;&#xA;" OwnerUserId="2403" LastEditorUserId="2403" LastEditDate="2017-09-19T16:41:57.857" LastActivityDate="2017-12-02T02:37:27.847" Title="Why Multilist with search is not showing data in case of data source content setup in multilingual?" Tags="|content-search|multilingual|sitecore-query|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="7639" PostTypeId="2" ParentId="7622" CreationDate="2017-09-19T07:15:43.380" Score="1" Body="&lt;p&gt;I cannot reproduce the error on my instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check that all the custom code is deployed with your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you still have an issue please open a case with Microsoft.&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-09-19T07:15:43.380" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7641" PostTypeId="1" CreationDate="2017-09-19T09:10:01.093" Score="4" ViewCount="302" Body="&lt;p&gt;The sitecore commerce server adds a base product template (CommerceProduct &lt;code&gt;/sitecore/templates/Commerce/Catalog/CommerceProduct&lt;/code&gt;) as inheritance template to the AdHoc generated products templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IIWv0.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IIWv0.jpg&quot; alt=&quot;products templates inheritance&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If all products should have the same layout, we could set the layout  and all renderings in the BaseTemplate (CommerceProduct).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or how is that thought, to define the layout for products?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And, how do you do this when different layouts are required each product template? Or each category template? Or in a multisite Solution?&lt;/p&gt;&#xA;" OwnerUserId="1982" LastEditorUserId="70" LastEditDate="2017-09-19T14:02:11.207" LastActivityDate="2017-11-09T09:09:22.613" Title="How do you add Renderings (Layout) to the Product and Category Template in Sitecore Commerce Server?" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7642" PostTypeId="2" ParentId="7641" CreationDate="2017-09-19T09:42:59.907" Score="2" Body="&lt;p&gt;yes - you should set it on the base template - overriding using the data-provided items in the catalog part of the content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for at multi-site solution - if you need different layouts, you should do virtual catalogs in the Commerce Solution - so you actually have the product in different catalogs (giving you multi Sitecore items) to override&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2017-09-19T09:42:59.907" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7643" PostTypeId="1" AcceptedAnswerId="7644" CreationDate="2017-09-19T12:42:38.923" Score="3" ViewCount="718" Body="&lt;p&gt;I've installed the &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=AndersLaublaubplusco.SitecoreHelixVisualStudioTemplates&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Helix Visual Studio Templates from Anders Laub (laub plus co)&lt;/a&gt; and created an empty Helix project running Visual Studio 2017 in Administrator mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I add a new Project, I noticed that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1 - Visual Studio complains about missing Unicorn config files as if they were deleted&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2 - When I build the solution I get error for missing Sitecore assemblies&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I9EWS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I9EWS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Helix Templates were also installed running Visual Studio 2017 as administrator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fWgTA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fWgTA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-09-19T14:01:10.260" Title="Why I am getting these issues with Sitecore Helix Visual Studio Templates (Anders Laub) on Visual Studio 2017?" Tags="|helix|visual-studio|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7644" PostTypeId="2" ParentId="7643" CreationDate="2017-09-19T13:33:20.707" Score="5" Body="&lt;p&gt;You are getting these errors because the default templates that are installed contain some errors. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore References Fix:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In your folder where you installed the templates, find all the files called &lt;code&gt;$modulenamespace$.csproj&lt;/code&gt;. In those files you will find these lines:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Reference Include=&quot;Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, processorArchitecture=MSIL&quot;&amp;gt;&#xA;  &amp;lt;HintPath&amp;gt;..\..\..\..\packages\Sitecore.Kernel.NoReferences.8.2.161115\lib\NET452\Sitecore.Kernel.dll&amp;lt;/HintPath&amp;gt;&#xA;  &amp;lt;Private&amp;gt;True&amp;lt;/Private&amp;gt;&#xA;&amp;lt;/Reference&amp;gt;&#xA;&amp;lt;Reference Include=&quot;Sitecore.Mvc, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL&quot;&amp;gt;&#xA;  &amp;lt;HintPath&amp;gt;..\..\..\..\packages\Sitecore.Mvc.NoReferences.8.2.161115\lib\NET452\Sitecore.Mvc.dll&amp;lt;/HintPath&amp;gt;&#xA;  &amp;lt;Private&amp;gt;True&amp;lt;/Private&amp;gt;&#xA;&amp;lt;/Reference&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that the package version is hard coded here. This should be changed to &lt;code&gt;$sitecoreVersion$&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Reference Include=&quot;Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, processorArchitecture=MSIL&quot;&amp;gt;&#xA;  &amp;lt;HintPath&amp;gt;..\..\..\..\packages\Sitecore.Kernel.NoReferences.$sitecoreVersion$\lib\NET452\Sitecore.Kernel.dll&amp;lt;/HintPath&amp;gt;&#xA;  &amp;lt;Private&amp;gt;True&amp;lt;/Private&amp;gt;&#xA;&amp;lt;/Reference&amp;gt;&#xA;&amp;lt;Reference Include=&quot;Sitecore.Mvc, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL&quot;&amp;gt;&#xA;  &amp;lt;HintPath&amp;gt;..\..\..\..\packages\Sitecore.Mvc.NoReferences.$sitecoreVersion$\lib\NET452\Sitecore.Mvc.dll&amp;lt;/HintPath&amp;gt;&#xA;  &amp;lt;Private&amp;gt;True&amp;lt;/Private&amp;gt;&#xA;&amp;lt;/Reference&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Config Files Fix:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the project module templates, it is referencing the config files correctly in the &lt;code&gt;.csproj&lt;/code&gt; file, but on disk they are in the wrong place - see this image:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oMD9m.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oMD9m.png&quot; alt=&quot;Wrong Folder Name&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you just rename that &lt;code&gt;Feature&lt;/code&gt; folder to &lt;code&gt;Project&lt;/code&gt; it will work and pick up your config files correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a PR waiting to get merged for it &lt;a href=&quot;https://github.com/LaubPlusCo/LaubPlusCo.Helix.VsTemplates/pull/2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/LaubPlusCo/LaubPlusCo.Helix.VsTemplates/pull/2&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-09-19T14:01:10.260" LastActivityDate="2017-09-19T14:01:10.260" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7645" PostTypeId="1" AcceptedAnswerId="7646" CreationDate="2017-09-19T13:44:42.900" Score="1" ViewCount="296" Body="&lt;p&gt;I have installed fresh Sitecore 8.2 rev 170614 instance on my machine. The installation is successful and when I login to Sitecore CMS, the launchpad opens, but when I am trying to access content editor, desktop or any other features from the control panel, I am getting the error/exception below.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Attempt by method 'Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(System.EventArgs)' to access method 'System.Web.HttpResponse.get_HeadersWritten()' failed.&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.MethodAccessException&lt;br/&gt;&#xA;  Message: Attempt by method 'Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(System.EventArgs)' to access method 'System.Web.HttpResponse.get_HeadersWritten()' failed.&lt;br/&gt;&#xA;  Source: Sitecore.Kernel&lt;br/&gt;&#xA;     at Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e)&#xA;     at Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e)&#xA;     at System.Web.UI.Control.PreRenderRecursiveInternal()&#xA;     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Currently using: 8.2 rev. 170614 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also when I have upgraded Sitecore 8.1 to Sitecore 8.2 rev. 170614, I am facing this same issue.&lt;/p&gt;&#xA;" OwnerUserId="2444" LastEditorUserId="73" LastEditDate="2017-09-20T09:35:17.363" LastActivityDate="2017-09-20T09:35:17.363" Title="Error after Sitecore Installation while accessing content editor" Tags="|upgrade|installation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7646" PostTypeId="2" ParentId="7645" CreationDate="2017-09-19T14:34:05.907" Score="0" Body="&lt;p&gt;According to this information: &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.web.httpresponse.headerswritten(v=vs.110).aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;HttpResponse.HeadersWritten Property&lt;/a&gt;, the &lt;code&gt;HeadersWritten&lt;/code&gt; property was available from .net 4.5.2 and up. Please make sure you have installed at least .net 4.5.2 framework on your machine and then try it again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the installation guide for 8.2 update 4 (rev 170614). .Net 4.5.2 is a minimum requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a quote from the guide:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore XP 8.2 is only compatible with the client and server operating systems that support .NET Framework&#xA;  4.5.2.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;h3&gt;2.1.3 .NET Framework Requirements&lt;/h3&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore XP requires .NET Framework 4.5.2.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;You must apply any available updates to the .NET Framework to every Sitecore installation.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-09-19T14:34:05.907" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7647" PostTypeId="1" AcceptedAnswerId="7671" CreationDate="2017-09-19T15:38:46.903" Score="8" ViewCount="1374" Body="&lt;p&gt;I used &lt;a href=&quot;https://sitecorejunkie.com/2013/06/08/enforce-password-expiration-in-the-sitecore-cms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; before Sitecore 8 to force users to reset their passwords if they are past a certain date. I've been given this task again in Sitecore 8. It looks like the new change password page requires user authentication meaning I cannot invalidate their login. &#xA;The aspx page I am referring to is located at the following location: &lt;code&gt;webroot/sitecore/shell/Applications/Security/ChangePassword/changepassword.aspx&lt;/code&gt;. Is there a different page I should redirect the user?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not is there a pipeline that I could add a processor to other than &lt;code&gt;httprequestbegin&lt;/code&gt; that will do the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If a user is logged in with an expired password redirect them to the change password page (unless the current requested page is the change password page)&lt;/li&gt;&#xA;&lt;li&gt;If page mode is preview mode and the underlying user has an expired password redirect them to the change password page (unless the current requested page is the change password page)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Preview mode seems to be a special case because the context user is &lt;code&gt;extranet\anonymous&lt;/code&gt; so I'm not sure if there's a way to fix up that issue. It's such an edge case anyway. The user following this path would need a url to access preview mode but I would like to cover this if possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using: Sitecore 8.2 (rev. 170614) &lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="73" LastEditDate="2017-09-20T09:34:40.767" LastActivityDate="2017-10-23T13:55:05.420" Title="Force Password Expiration" Tags="|security|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7648" PostTypeId="1" CreationDate="2017-09-19T17:13:40.840" Score="3" ViewCount="2422" Body="&lt;p&gt;We are developing a multi regional and multilingual site in sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have following URL structure:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;www.local.com/ar-bh&#xA;www.local.com/en-bh&#xA;&#xA;www.local.com/ar-kw&#xA;www.local.com/en-kw&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and following sites definition in sitecore.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;Bahrain&quot; hostname=&quot;sitecore/&quot; virtualFolder=&quot;/en-bh&quot; physicalFolder=&quot;/en-bh&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/Bahrain&quot; database=&quot;master&quot; domain=&quot;extranet&quot; language =&quot;en&quot;/&amp;gt;&#xA;&#xA;&amp;lt;site name=&quot;Bahrain_Arabic&quot; hostname=&quot;sitecore/&quot; virtualFolder=&quot;/ar-bh&quot; physicalFolder=&quot;/ar-bh&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/Bahrain&quot; database=&quot;master&quot; domain=&quot;extranet&quot; language =&quot;ar&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Languages.AlwaysStripLanguage&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sites are working perfectly, but I am having issues in language switcher, I need suggestion from experts what would be the optimal way to achieve this.&#xA;Each regional site has two languages English and Arabic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using following code to change site context&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var myItem = Sitecore.Context.Item;&#xA;    string siteurl = string.Empty;&#xA;    var sitesList = Sitecore.Configuration.Factory.GetSiteInfoList();&#xA;    var currentSiteName = Sitecore.Context.GetSiteName();&#xA;    var website = Sitecore.Configuration.Factory.GetSite(&quot;Bahrain_arabic&quot;);&#xA;    using (new Sitecore.Sites.SiteContextSwitcher(website))&#xA;    {&#xA;        var options = LinkManager.GetDefaultUrlOptions();&#xA;        options.AlwaysIncludeServerUrl = true;&#xA;        options.SiteResolving = true;&#xA;        siteurl = LinkManager.GetItemUrl(myItem, options);&#xA;    }   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;LinkManager is always returning the current site url, I am lookin for some dynamic solution.&lt;/p&gt;&#xA;" OwnerUserId="2058" LastEditorUserId="2058" LastEditDate="2017-09-19T17:27:58.703" LastActivityDate="2017-09-19T17:58:08.083" Title="Sitecore Multi Regional and Multilingual Site Language Swicther" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7649" PostTypeId="2" ParentId="2935" CreationDate="2017-09-19T17:20:56.417" Score="3" Body="&lt;p&gt;Sitecore no longer provides support dll on  &lt;a href=&quot;https://github.com/SitecoreSupport&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport&lt;/a&gt;. Having recently tried to access a support dll on github.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you try and access a dll using a path you've been given previously you will receive a 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I asked a question relating to this on slack and Rob Earlam, Technical Evangelist @ Sitecore answered: “We don’t have Support DLL’s on GitHub anymore, if you need a specific fix then you’ll need to open a Support ticket yourself and make the request there.”&lt;/p&gt;&#xA;" OwnerUserId="281" LastActivityDate="2017-09-19T17:20:56.417" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7650" PostTypeId="2" ParentId="7648" CreationDate="2017-09-19T17:58:08.083" Score="3" Body="&lt;p&gt;For the link manager to get the right link for an item in a different language, you need to get the item out of the database &lt;em&gt;in&lt;/em&gt; that language. In your code, you are always getting the &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; - that will be in whatever language your current site is loaded in.  To get the link for the site in another language, you need to get the item out again, specifying the language. Like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string siteurl = string.Empty;&#xA;var sitesList = Sitecore.Configuration.Factory.GetSiteInfoList();&#xA;var currentSiteName = Sitecore.Context.GetSiteName();&#xA;var website = Sitecore.Configuration.Factory.GetSite(&quot;Bahrain_arabic&quot;);&#xA;&#xA;// Get the item from the context database in the language of the site.&#xA;var myItem = Sitecore.Context.Database.GetItem(Sitecore.Context.Item.ID, website.Language);&#xA;&#xA;using (new Sitecore.Sites.SiteContextSwitcher(website))&#xA;{&#xA;    var options = LinkManager.GetDefaultUrlOptions();&#xA;    options.AlwaysIncludeServerUrl = true;&#xA;    options.SiteResolving = true;&#xA;    siteurl = LinkManager.GetItemUrl(myItem, options);&#xA;}  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will generate a URL to the item, in the language of the website.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-09-19T17:58:08.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7651" PostTypeId="1" CreationDate="2017-09-19T22:17:43.710" Score="3" ViewCount="498" Body="&lt;p&gt;I'm using Sitecore 8.2 Update 4 with WFFM Version 170518. I'm trying setup a dropdown list that has country codes as values and names as display. Here's what my setup looks like:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/IQobL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IQobL.png&quot; alt=&quot;List of Sitecore items&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click on the Dropdown arrow next to the &lt;strong&gt;Value&lt;/strong&gt; caption, I get my dropdown list&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VGFjJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VGFjJ.png&quot; alt=&quot;Arrow Highlighted&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I select the &lt;strong&gt;Country Code&lt;/strong&gt; option from the list, but nothing changes, and I don't get the Country Code from my form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ahdyF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ahdyF.png&quot; alt=&quot;Country Code Selection&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to work around this? &lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2019-05-01T14:35:50.507" Title="WFFM Selecting a List Item doesn't work" Tags="|wffm|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7652" PostTypeId="1" AcceptedAnswerId="7654" CreationDate="2017-09-19T22:35:42.830" Score="2" ViewCount="213" Body="&lt;p&gt;I want to publish content to 2 targets (Web1 &amp;amp; Web 2), assume if i have 2 items to publish and using Publishing Service 2.0&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Item A &lt;/li&gt;&#xA;&lt;li&gt;Item B&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If am using Sitecore Publishing service, what will happen in the following scenario ?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Will the Item A &amp;amp; Item B will be published to Web1, then Item A &amp;amp; Item B will be published to Web 2, what is the sequence item will published ?&lt;/li&gt;&#xA;&lt;li&gt;Will the Item A will be published to Web1 &amp;amp; Web 2, then Item B will be published to Web 1 &amp;amp; Web 2 ?&lt;/li&gt;&#xA;&lt;li&gt;What will happen when Item A &amp;amp; Item B will be published to Web1, failed to published to Web 2, will the whole publish transaction roll back ? do we have any configuration setting we can make this happen, so that it will either publish to both web 1 &amp;amp; Web 2 or it will not publish to any Web 1 / Web 2 ?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Appreciate you inputs.&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="1698" LastEditDate="2017-11-14T09:37:14.947" LastActivityDate="2017-11-14T09:37:14.947" Title="Publishing Service, transactions are atomic?" Tags="|publishing|publishing-service|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7653" PostTypeId="2" ParentId="7651" CreationDate="2017-09-19T23:03:51.780" Score="0" Body="&lt;p&gt;I've not used WFFM 8.2 but this kind of setup (custom dropdown lists using items as sources) works fine for us in WFFM 8.1, so I can't see why it wouldn't in this version unless there is a bug or something up with the setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your custom country items have codes in the country code field and they are still coming back empty one way to solve this would be to use something like Sitecore Powershell to set the displayname of the items to the county name and the name of the items to the country code. You can then select __name as the value and __display name as the text to show in WFFM. Perhaps not ideal but this should work if there is a bug or you need a quicker solution.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-09-19T23:03:51.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7654" PostTypeId="2" ParentId="7652" CreationDate="2017-09-20T00:25:26.670" Score="3" Body="&lt;p&gt;This is quite a lot of questions all at once but I'll try and answer as best I can. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if your using version 1 or 2 of the publishing service but you should find that since these are two targets then two manifests are created (one for web1 and one for web2). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However for performance the new publishing service will execute publishing in batches and also will do things in parallel, e.g it might be checking one batch of items for workflow or restrictions and at the same time it will also be getting the next batch from the database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This suggests that it's unlikely to complete the promotion of all content for Web 1 before proceeding with promoting content to Web 2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also the standard publishing pipelines do not fire so you can't use any of these. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can however use the new &lt;code&gt;publishEndResultBatch&lt;/code&gt; pipeline to get a list of items updated in that batch and using this you could perhaps look to apply custom logic to roll-back the publish of item A &amp;amp; B to Web 1 if they subsequently fail to publish to Web 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should also be noted that the Publishing Service does raise the same publish events as the old publishing system, e.g the &lt;code&gt;publish:end:remote&lt;/code&gt; event. So perhaps you could use these to implement some business logic also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this helps.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-09-20T00:40:11.703" LastActivityDate="2017-09-20T00:40:11.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7655" PostTypeId="1" AcceptedAnswerId="8141" CreationDate="2017-09-20T01:20:24.253" Score="1" ViewCount="1694" Body="&lt;p&gt;Quick background, re-building a &quot;product importer&quot; exe that was written for v7 using the old web API and ideally want to replicate all the old logic to work in the new v8 site using the RESTful ItemService API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Part of the logic, involved &quot;creating media items&quot; , i.e. programatically downloading images from a source url and uploading them to the sitecore media library and saving the media items on an image field property on the product item page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the old API this was done using using the Create Media items logic ,see page 10 of the old web API documentation here &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I cant find a way to do the equivalent in the new API, and if someone knows how or can suggest the best alternative to archive the same result, that would be greatly appreciated, please also add some sample code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="2197" LastActivityDate="2019-03-01T09:35:24.587" Title="Creating Media Items using the RESTful ItemService API" Tags="|media-library|sitecore-services-client|sitecore-api|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7656" PostTypeId="1" AcceptedAnswerId="7749" CreationDate="2017-09-20T08:37:43.670" Score="5" ViewCount="1282" Body="&lt;p&gt;I'm using FakeDB to try and set up unit tests for a custom component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While trying to run it, I walked into a couple of missing .dll's which I hadn't expected since the FakeDB install page hadn't mentioned them, but I added them to the references anyway, reasoning this is probably due to SXA. They were System.Web.MVC (logical I guess) and Sitecore.XA.Foundation.IoC (this is where it fails).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The latter one now throws an InvalidOperationException, telling me&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;No locator provider is configured&#xA;      at Sitecore.XA.Foundation.IoC.ServiceLocator.get_Current()&#xA;      at Sitecore.XA.Foundation.Mvc.Repositories.Base.ModelRepository.get_Rendering()&#xA;      at Sitecore.XA.Foundation.Mvc.Repositories.Base.ModelRepository.FillBaseProperties(Object&#xA;  m)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm aware FakeDB allows me to configure settings that may resolve this, but SXA documentation is still so scarce I couldn't find what to do. Can any of you help me figure this out?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ReadSpeakLinkRepository : ModelRepository, IReadSpeakLinkRepository&#xA;{&#xA;    public override IRenderingModelBase GetModel()&#xA;    {&#xA;        ReadSpeakLinkModel model = new ReadSpeakLinkModel();&#xA;        FillBaseProperties(model); // test fails here&#xA;        if (model.DataSourceItem == null || model.DataSourceItem.TemplateID != SitecoreItemConstants.TemplateId)&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        FillExtraProperties(model);&#xA;        return model;&#xA;    }&#xA;&#xA;    private void FillExtraProperties(ReadSpeakLinkModel model)&#xA;    {&#xA;&#xA;        var options = LinkManager.GetDefaultUrlOptions();&#xA;        options.AlwaysIncludeServerUrl = true;&#xA;        model.CurrentUrl = LinkManager.GetItemUrl(Context.Item, options);&#xA;        model.ReadText = model.DataSourceItem[SitecoreItemConstants.TextFieldSelector];&#xA;        model.ReadTitle = model.DataSourceItem[SitecoreItemConstants.TitleFieldSelector];&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the test itself:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private ReadSpeakLinkRepository repository;&#xA;    private Db fakeDb;&#xA;&#xA;    [TestInitialize]&#xA;    public void Initialize()&#xA;    {&#xA;        fakeDb = new Db();&#xA;        repository = new ReadSpeakLinkRepository();&#xA;    }&#xA;&#xA;    [TestMethod]&#xA;    public void TestMethod1()&#xA;    {&#xA;        fakeDb.Add(new DbItem(&quot;ReadSpeakLink&quot;) {&#xA;            { SitecoreItemConstants.TitleFieldSelector, &quot;titel&quot; },&#xA;            { SitecoreItemConstants.TextFieldSelector, &quot;tekst&quot; }&#xA;        });&#xA;&#xA;        var result = repository.GetModel();&#xA;&#xA;        Assert.IsNotNull(result);&#xA;    }&#xA;&#xA;// plus IDisposable implementation&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2369" LastActivityDate="2017-09-26T14:37:54.837" Title="Unit testing SXA component with FakeDB - No locator provider is configured" Tags="|sxa|unit-testing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7657" PostTypeId="2" ParentId="7656" CreationDate="2017-09-20T09:47:06.570" Score="5" Body="&lt;p&gt;You are using SXA ModelRepository which is using dependency injection and service locator pattern to inject for example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;wrapper for Rendering&lt;/li&gt;&#xA;&lt;li&gt;wrapper PageContext&lt;/li&gt;&#xA;&lt;li&gt;ContentRepository&lt;/li&gt;&#xA;&lt;li&gt;few more things...&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now if you want to test you first need to register those in the container and configure that container to be used (of course if you are not using certain wrapper implicity then null will be resolved but as you are not using it that should be a problem).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at your stack trace I see that Rendering property is used: &lt;code&gt;Sitecore.XA.Foundation.Mvc.Repositories.Base.ModelRepository.get_Rendering()&lt;/code&gt;&#xA;so you need to register it into the container. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look bellow at few examples: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example base method which is setting up container and registering mock of IContentRepository (it's perfect method to be placed in base class for your tests):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual void SetupServices(Db fakeDb)&#xA;{&#xA;    var serviceCollection = new ServiceCollection();&#xA;    new DefaultSitecoreServicesConfigurator().Configure(serviceCollection);&#xA;&#xA;    serviceCollection.AddTransient(provider =&amp;gt; MockContentRepository(fakeDb));&#xA;&#xA;    IServiceProvider serviceProvider = serviceCollection.BuildServiceProvider();&#xA;    ServiceLocator.SetServiceProvider(serviceProvider);&#xA;    var instance = typeof(FieldTypeManager).GetField(&quot;Instance&quot;, BindingFlags.Static | BindingFlags.NonPublic);&#xA;    var instanceValue = instance.GetValue(null) as LazyResetable&amp;lt;Sitecore.Abstractions.BaseFieldTypeManager&amp;gt;;&#xA;    instanceValue.Value.Initialize();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Example how you can mock ContentRepository with NSubstitute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IContentRepository contentRepository = Substitute.For&amp;lt;IContentRepository&amp;gt;();&#xA;contentRepository.GetItem(Arg.Any&amp;lt;ID&amp;gt;()).Returns(info =&amp;gt; fakeDb.GetItem(info.Arg&amp;lt;ID&amp;gt;()));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this is how you can mock for example PageContext:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void SetupServices(Db fakeDb)&#xA;{&#xA;    base.SetupServices(fakeDb);&#xA;&#xA;    IPageContext pageContextMock = Substitute.For&amp;lt;IPageContext&amp;gt;();&#xA;    pageContextMock.Current.Returns(info =&amp;gt; fakeDb.GetItem(ID_OF_YOUR_FAKE_PAGE));&#xA;&#xA;    ServiceLocator.ServiceProvider.GetService&amp;lt;IPageContext&amp;gt;().Returns(pageContextMock);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And finally an example how you can mock Rendering:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IRendering renderingMock = Substitute.For&amp;lt;IRendering&amp;gt;();&#xA;renderingMock.Name.Returns(&quot;MY_RENDERING_NAME&quot;);&#xA;renderingMock.DataSource.Returns(HomeId);&#xA;&#xA;serviceCollection.AddTransient(provider =&amp;gt; renderingMock);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2017-09-20T09:52:59.420" LastActivityDate="2017-09-20T09:52:59.420" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7659" PostTypeId="1" AcceptedAnswerId="7678" CreationDate="2017-09-20T13:19:29.217" Score="0" ViewCount="366" Body="&lt;p&gt;I used the serialization features to migrate a large amount of content off of an older Sitecore instance and import it into a newer one (gigabytes of content, so packages wouldn't work). Everything's loaded into CM fine, and I started publishing out to my CDs, but the process is taking awhile (Azure databases in different regions from the CM) and because this is the live CM, if people are trying to publish in their daily work they get stuck in a queue behind me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you serialize content, it always goes to a &quot;master&quot; folder, and I've seen serialized content from other publishing target databases, like the &quot;web&quot; database. The question is, could I theoretically take my serialization folder tree of content and change &quot;master&quot; to &quot;web&quot; for the folder name, then go into CM's desktop and change to the &quot;web&quot; database and do a deserialization from there?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know if there are ramifications for future publishing doing things that way, which is probably my biggest concern. In theory it should work, and the only process it locks up at that point is mine, the publishing queue stays unaffected. Are there pitfalls I'm not seeing and I should just be patient with the publish process?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-10-02T16:24:44.957" Title="Deserialize content to a publishing target" Tags="|publishing|serialization|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7660" PostTypeId="1" CreationDate="2017-09-20T14:32:55.403" Score="0" ViewCount="2562" Body="&lt;p&gt;when I try to load my sitecore website homepage it shows me following error, where i see the default site context being picked is &quot;scheduler&quot; not &quot;Website&quot; which should be the default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mdFDb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mdFDb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sites&amp;gt;&#xA;&amp;lt;site name=&quot;shell&quot; virtualFolder=&quot;/sitecore/shell&quot; physicalFolder=&quot;/sitecore/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/login&quot; content=&quot;master&quot; contentStartItem=&quot;/Home&quot; enableWorkflow=&quot;true&quot; enableTracking=&quot;false&quot; analyticsDefinitions=&quot;content&quot; xmlControlPage=&quot;/sitecore/shell/default.aspx&quot; browserTitle=&quot;Sitecore&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;15MB&quot; viewStateCacheSize=&quot;1MB&quot; xslCacheSize=&quot;25MB&quot; disableBrowserCaching=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;login&quot; virtualFolder=&quot;/sitecore/login&quot; physicalFolder=&quot;/sitecore/login&quot; enableTracking=&quot;false&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; disableXmlControls=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;admin&quot; virtualFolder=&quot;/sitecore/admin&quot; physicalFolder=&quot;/sitecore/admin&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/admin/login.aspx&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;service&quot; enableTracking=&quot;false&quot; virtualFolder=&quot;/sitecore/service&quot; physicalFolder=&quot;/sitecore/service&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;modules_shell&quot; virtualFolder=&quot;/sitecore modules/shell&quot; physicalFolder=&quot;/sitecore modules/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; content=&quot;master&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;modules_website&quot; virtualFolder=&quot;/sitecore modules/web&quot; physicalFolder=&quot;/sitecore modules/web&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;website&quot; enableTracking=&quot;false&quot; virtualFolder=&quot;&amp;lt;my virtualFolder&amp;gt;&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;scheduler&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;system&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;publisher&quot; domain=&quot;sitecore&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me understand why Sitecore is picking Scheduler site context instead of &quot;website&quot;.&lt;/p&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="1000" LastEditDate="2017-12-22T16:51:14.653" LastActivityDate="2017-12-22T16:51:14.653" Title="Sitecore picking wrong site context" Tags="|configuration|site-configuration|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7662" PostTypeId="1" AcceptedAnswerId="14215" CreationDate="2017-09-20T14:41:03.473" Score="7" ViewCount="1072" Body="&lt;p&gt;I would like to add a couple of custom fields for Dataattributes on links and to add in NoFollow for the link in Sitecore 8.2 update 2 and above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So NoFollow would be a check box and Dataattributes would be a single line text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that I have done this before using SPEAK and it works great in the content editor but when you get into the Experience editor, depending on the type of link (internal, external, anchor) Sitecore uses a combination of SPEAK and SheerUI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not want to completely convert everything to SheerUI. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get these custom attributes to work in both Content Editor and Experience Editor?&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="1671" LastEditDate="2018-06-29T13:38:55.857" LastActivityDate="2018-10-02T13:59:22.703" Title="Add custom attributes to the General Link field and have it work in Experience Editor and Content Editor" Tags="|experience-editor|content-editor|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7663" PostTypeId="1" AcceptedAnswerId="7667" CreationDate="2017-09-20T14:45:23.787" Score="5" ViewCount="2481" Body="&lt;p&gt;This is in relation to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/7662/add-custom-attributes-to-the-general-link-field-and-have-it-work-in-experience-e&quot;&gt;Add custom attributes to the General Link field and have it work in Experience Editor and Content Editor&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to get Glass Mapper to automatically render the custom attributes the content editor sets on a General Link field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should handle internal ,external and anchor links and be able to render a checkbox field NoFollow and a Dataattributes field which is a single link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;href=&quot;/test&quot; data-toggle=&quot;modal&quot; data-target=&quot;#orderModal&quot; data-backdrop=&quot;static&quot; data-keyboard=&quot;false&quot; rel=&quot;nofollow&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way I could customize Glass and the developers do not have to add code on each rendering?&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="70" LastEditDate="2017-09-20T15:08:30.347" LastActivityDate="2017-09-20T16:48:51.747" Title="How do I render custom attributes on a General Link using the latest version of Glass Mapper" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7664" PostTypeId="2" ParentId="7651" CreationDate="2017-09-20T14:49:34.993" Score="2" Body="&lt;p&gt;I got a response back from Sitecore support on this issue, and apparently this is a known bug for the particular version of Sitecore and WFFM that I'm using. So if you encounter this, ask Sitecore Support for the appropriate patch file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The support reference number to ask Sitecore about is &lt;strong&gt;133319&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="339" LastEditDate="2017-09-20T16:09:40.487" LastActivityDate="2017-09-20T16:09:40.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7665" PostTypeId="1" AcceptedAnswerId="7666" CreationDate="2017-09-20T14:56:49.597" Score="2" ViewCount="228" Body="&lt;p&gt;We use static html pages for the 500 errors to make sure that something renders assuming that the site is down.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue with this is that these static pages would have to be manually edited and pushed via code deployments for it to get updated on the CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to have a content page for the 500 and on publish it would be great to auto-generate the 500 pages in a multi-site solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does any one know how I could generate these files based on the app pool users security permission on the CD servers?&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2017-09-20T17:48:11.907" Title="Autogenerate Sitecore 500 static pages on publish:end and publish:remote:end" Tags="|error-handling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7666" PostTypeId="2" ParentId="7665" CreationDate="2017-09-20T15:21:34.787" Score="2" Body="&lt;p&gt;Akshay we do something similar to this (for a different use case to 500 errors) but instead of publishing out actual pages we instead write Json files out to the server which store the content for the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The content of these files are managed in Sitecore under a settings item and then on publish of the item the Json file is created (pre-fixed with the sitename) and saved to the /data folder on the server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example Code - reworked for your use-case&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SaveJsonFileOnPublishOfSettings&#xA;{&#xA;  public void SaveJsonFile(object sender, EventArgs args)&#xA;  {&#xA;    try&#xA;    {&#xA;      Item rootItem = SitecoreHelpers.GetRootItem(args);&#xA;&#xA;      if (rootItem != null &amp;amp;&amp;amp; rootItem.TemplateID.Guid == &quot;settings-item-template-id&quot;)&#xA;      {&#xA;        string content = rootItem.Fields[&quot;500-error-page-content-field-id&quot;].Value;&#xA;&#xA;        string siteName = SiteHelper.GetCurrentSiteName(rootItem.Paths.Path);&#xA;        JObject jsonFiveHundredError = JObject.FromObject(new JsonFiveHundredError() {Content = content});&#xA;        string dataFolder = Settings.DataFolder;&#xA;        File.WriteAllText(  string.Format(@&quot;{0}\JsonContent\{1}_FiveHundredError.json&quot;, dataFolder, siteName), jsonFiveHundredError.ToString());&#xA;      }&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;      throw new ArgumentException(ex.ToString());&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example Patch file&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site name=&quot;mysite&quot;&amp;gt;MySite&amp;lt;/site&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;        &amp;lt;handler type=&quot;MySitecore.Extensions.Pipelines.SaveJsonFileOnPublishOfSettings, MySitecore.Extensions&quot; method=&quot;SaveJsonFile&quot; /&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA; &amp;lt;/events&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then have a simple 500 error page that pulls in this json content and doesn't need to connect to database or Sitecore. You could also modify this to instead write out a static HTML file (perhaps based on a Razor template in your website code) which contains this content instead to avoid any code execution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this helps.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-09-20T17:48:11.907" LastActivityDate="2017-09-20T17:48:11.907" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="7667" PostTypeId="2" ParentId="7663" CreationDate="2017-09-20T16:11:17.477" Score="6" Body="&lt;p&gt;Before implementing this solution you will need to download the latest nightly. I made a couple of changes to make it easier to solve this problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ok, firstly create a sub-type to map the additional link attributes onto, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyLink:Glass.Mapper.Sc.Fields.Link{&#xA;   public string MyAttribute{get;set;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then create a new DataMapper:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SitecoreFieldMyLinkMapper : SitecoreFieldLinkMapper&#xA;{&#xA;    public SitecoreFieldMyLinkMapper()&#xA;        : base(new UrlOptionsResolver(), typeof(MyLink))&#xA;    {&#xA;&#xA;    }&#xA;&#xA;    public override object GetField(Sitecore.Data.Fields.Field field, SitecoreFieldConfiguration config,&#xA;        SitecoreDataMappingContext context)&#xA;    {&#xA;        if (field == null || field.Value.Trim().IsNullOrEmpty()) return null;&#xA;&#xA;        MyLink link = new MyLink();&#xA;        LinkField linkField = new LinkField(field);&#xA;&#xA;        MapToLinkModel(link, linkField, config);&#xA;&#xA;        link.MyAttribute = linkField.GetAttribute(&quot;something&quot;);&#xA;&#xA;        return link;&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then create a HTML extension:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class HtmlExtensions&#xA;{&#xA;    public static string RenderMyLink&amp;lt;T&amp;gt;(this IGlassHtml html, T model, Expression&amp;lt;Func&amp;lt;T, object&amp;gt;&amp;gt; field,&#xA;        bool isEditable = false, string contents = null)&#xA;    {&#xA;        var myLink = html.GetCompiled(field).Invoke(model) as MyLink;&#xA;&#xA;        return html.RenderLink(model, field, new {data_type = myLink.MyAttribute}, isEditable, contents);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Again this only works with the latest nightly because I made some changes to support this. If you don't want to use the nightly you will need to copy and paste some code from the SitecoreFieldLinkMapper and the GlassHtml classes.&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="464" LastEditDate="2017-09-20T16:48:51.747" LastActivityDate="2017-09-20T16:48:51.747" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7668" PostTypeId="2" ParentId="7441" CreationDate="2017-09-20T17:03:59.970" Score="4" Body="&lt;p&gt;You're taking the correct approach by using LinkManager to generate the URL for the canonical tag. LinkManager should &lt;em&gt;always&lt;/em&gt; generate the canonical everywhere a content item is referenced. It's critical that whatever LinkProvider you're using is configured properly:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;add name=&quot;custom&quot; &#xA;     type=&quot;Custom.LinkProvider, Custom.Linking&quot; &#xA;     addAspxExtension=&quot;false&quot; &#xA;     alwaysIncludeServerUrl=&quot;false&quot; &#xA;     encodeNames=&quot;true&quot; &#xA;     languageEmbedding=&quot;always&quot; &#xA;     languageLocation=&quot;filePath&quot; &#xA;     lowercaseUrls=&quot;true&quot; &#xA;     shortenUrls=&quot;true&quot; &#xA;     useDisplayName=&quot;false&quot; &#xA;     siteResolving=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If you have more than one site, you absolutely must have &lt;code&gt;siteResolving=&quot;true&quot;&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;If your site has more than one language, you must&#xA;force Sitecore's LinkManager to have the language in the URL, &lt;code&gt;languageEmbedding=&quot;always&quot;&lt;/code&gt;&#xA;otherwise Sitecore may generate non-canonical URLs depending on the&#xA;context of a given Rendering.&lt;/li&gt;&#xA;&lt;li&gt;Any SEO person will also tell you to&#xA;force lowercase on your URLs. &lt;code&gt;lowercaseUrls=&quot;true&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Remember that it is possible to have any number of &lt;code&gt;LinkProviders&lt;/code&gt; to handle a variety of requirements.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;w/regards to URLs that &quot;work&quot; but are not canon, the best way to handle that is with a 301 redirect, either in IIS, before it hits Sitecore, or in Sitecore's HttpRequest Pipeline, just prior to the ItemResolver pipeline handler.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, to handle Sitecore's &quot;default English&quot; you could check the URI Path for &lt;code&gt;&quot;/en/&quot;&lt;/code&gt;, and if it's not present, do a &lt;code&gt;Response.RedirectPermanent()&lt;/code&gt; to the URL with the language embedded as it should be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a few other considerations regarding language resolution that are worth noting, because they affect URL generation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Are you going to use &quot;generic&quot; Languages, or &quot;regional dialects&quot;? The difference between &lt;code&gt;en&lt;/code&gt; and &lt;code&gt;en-UK&lt;/code&gt; will be lost to your content authors. I've generally found that if there is regional content that varies by dialect, it's smarter to insist on the 4-digit ISO code rather than the two digit default. this also makes it easier to align with the visitor's &lt;code&gt;user-agent&lt;/code&gt; language where necessary.&lt;/li&gt;&#xA;&lt;li&gt;Are there regional top level domains? This is related to below, as a regional site with only one language will probably resist your requirement to put the language in the URL. You'll have to set the default language for the site, and to suppress the language from being written to the URL via &lt;code&gt;LinkManager&lt;/code&gt; you're going to have to ensure that URL writing is always done with the correctly configured &lt;code&gt;LinkProvider&lt;/code&gt; for that site.&lt;/li&gt;&#xA;&lt;li&gt;Is there a default language for the site? If so, you will have to modify the language string verifier above to check against the language that Sitecore has already identified in the &lt;code&gt;LanguageResolver&lt;/code&gt; HttpPipeline Processor. Again, a 301 should be called if the expected language is not in the string. As a rule, language in the URL overrides any defaults if you're using Sitecore's stock &lt;code&gt;LanguageResolver&lt;/code&gt;, therefore the URL and the &lt;code&gt;Context.Language&lt;/code&gt; should agree after &lt;code&gt;LanguageResolver&lt;/code&gt; is called.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-09-20T17:03:59.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7669" PostTypeId="1" CreationDate="2017-09-20T19:16:15.703" Score="2" ViewCount="3515" Body="&lt;p&gt;After adding SQL Server private sessions storage I get this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Synonym 'Applications' refers to an invalid object&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the relevant web.config section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;mssql&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot;&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;mssql&quot; type=&quot; Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;private&quot; /&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After changing to using SQL Session as per Sitecore's Instructions, I received the error. The only difference between the site working and not working was the above config change. As soon as I made the change and loaded the site, I got the YSOD with the error.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2017-09-20T20:39:27.113" LastActivityDate="2017-10-20T21:49:17.183" Title="Synonym 'Applications' refers to an invalid object" Tags="|sql-database|session-state|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7670" PostTypeId="2" ParentId="7669" CreationDate="2017-09-20T21:19:56.450" Score="1" Body="&lt;p&gt;This came down to permissions. I could not find anything about this in the Sitecore Installation Guide, but my SQL login needed access to the tempdb in order to run the session boost scripts or use the session dbs.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-09-20T21:19:56.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7671" PostTypeId="2" ParentId="7647" CreationDate="2017-09-20T21:32:54.927" Score="5" Body="&lt;p&gt;I couldn't find a good way to keep a user who logged in from seeing the preview page. With that being said, here's what I ended up doing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RedirectUserToChangedPassword : HttpRequestProcessor&#xA;{&#xA;    private TimeSpan TimeSpanToExpirePassword { get; set; }&#xA;    private string ChangePasswordPageUrl { get; set; }&#xA;&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (((Sitecore.Context.PageMode.IsNormal || Sitecore.Context.PageMode.IsPreview)&#xA;                &amp;amp;&amp;amp; Sitecore.Context.Site != null&#xA;                //custom method: IsContentSite&#xA;                &amp;amp;&amp;amp; Sitecore.Context.Site.IsContentSite())&#xA;            || Sitecore.Context.User == null&#xA;            || Sitecore.Context.User.IsAdministrator&#xA;            || args.Url == null&#xA;            || String.Equals(args.Url.FilePath, ChangePasswordPageUrl, StringComparison.CurrentCultureIgnoreCase))&#xA;            return;&#xA;&#xA;        var membershipUser = Membership.GetUser(Sitecore.Context.User.Name, false);&#xA;&#xA;        if (!HasPasswordExpired(membershipUser))&#xA;            return;&#xA;&#xA;        var queryString = new NameValueCollection();&#xA;        queryString.Add(Constants.Sitecore.ChangePassword.OriginalUrlKey, args.Url.FilePathWithQueryString);&#xA;&#xA;        //custom method: ToQueryString&#xA;        WebUtil.Redirect(ChangePasswordPageUrl + (ChangePasswordPageUrl.Contains(&quot;?&quot;) ? &quot;&amp;amp;&quot; : &quot;?&quot;) + queryString.ToQueryString());&#xA;    }&#xA;&#xA;    private bool HasPasswordExpired(MembershipUser user)&#xA;    {&#xA;        return user.LastPasswordChangedDate.Add(TimeSpanToExpirePassword) &amp;lt;= DateTime.Now;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;httpRequestBegin&amp;gt;&#xA;          &amp;lt;processor type=&quot;MyDll.CustomSitecore.Pipelines.HttpRequest.RedirectUserToChangedPassword, MyDll&quot;&#xA;                     patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.UserResolver, Sitecore.Kernel']&quot;&amp;gt;&#xA;            &amp;lt;TimeSpanToExpirePassword&amp;gt;00:00:01:00&amp;lt;/TimeSpanToExpirePassword&amp;gt;&#xA;            &amp;lt;ChangePasswordPageUrl&amp;gt;/sitecore/shell/Applications/Security/ChangePassword/customchangepassword.aspx&amp;lt;/ChangePasswordPageUrl&amp;gt;&#xA;          &amp;lt;/processor&amp;gt;&#xA;        &amp;lt;/httpRequestBegin&amp;gt;&#xA;      &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From the config you can see that I created a custom change password page. I copied the default one into my project with a new name and had it inherit my own source. The reason I had to do this is that normally this aspx opens in a dialog. After hitting the continue button it is, by default, set up to close the top dialog. Here is my class that &lt;code&gt;customchangepassword.aspx&lt;/code&gt; used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ChangePasswordPage : Sitecore.Shell.Applications.Security.ChangePassword.ChangePasswordPage&#xA;{&#xA;    protected override void OnLoad(EventArgs e)&#xA;    {&#xA;        base.OnLoad(e);&#xA;        ChangePassword.ContinueButtonClick += ChangePassword_ContinueButtonClick;&#xA;    }&#xA;&#xA;    private void ChangePassword_ContinueButtonClick(object sender, EventArgs e)&#xA;    {&#xA;        Sitecore.Diagnostics.Assert.ArgumentNotNull(sender, &quot;sender&quot;);&#xA;        Sitecore.Diagnostics.Assert.ArgumentNotNull(e, &quot;e&quot;);&#xA;&#xA;        var originalUrl = Request.QueryString[Constants.Sitecore.ChangePassword.OriginalUrlKey];&#xA;        if (!originalUrl.IsNullOrEmpty())&#xA;        {&#xA;            WebUtil.Redirect(originalUrl);&#xA;        }&#xA;        else if (Sitecore.Context.User != null)&#xA;        {&#xA;            WebUtil.Redirect(Sitecore.Context.User.Profile.StartUrl);&#xA;        }&#xA;        else&#xA;        {&#xA;            WebUtil.RedirectToLoginPage();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I kept the original contents of &lt;code&gt;changepassword.aspx&lt;/code&gt; the same other than the very top line. I changed the top line of &lt;code&gt;changepassword.aspx&lt;/code&gt; to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;c#&quot; AutoEventWireup=&quot;True&quot; Inherits=&quot;Namespace.To.Custom.Code.ChangePasswordPage&quot; MasterPageFile=&quot;~/sitecore/shell/DialogPage.Master&quot; CodeBehind=&quot;ChangePassword.aspx.cs&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Constants.Sitecore.ChangePassword.OriginalUrlKey&lt;/code&gt; was in a constant file and had a value of &lt;code&gt;originalUrl&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-10-23T13:55:05.420" LastActivityDate="2017-10-23T13:55:05.420" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7672" PostTypeId="1" AcceptedAnswerId="7679" CreationDate="2017-09-21T05:33:47.903" Score="6" ViewCount="366" Body="&lt;p&gt;Has anyone tried this? Is this possible?&#xA;Do they interfere with each other in any way?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a legacy Sitecore instance with many sites on it. The plan is to move them to MVC one by one. But WFFM needs to be available for all sites, so I need to know if this approach is viable.&lt;/p&gt;&#xA;" OwnerUserId="473" LastActivityDate="2017-09-21T08:27:33.170" Title="WFFM MVC and WFFM Webforms in the same instance" Tags="|wffm|mvc|webforms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7673" PostTypeId="2" ParentId="7672" CreationDate="2017-09-21T06:40:44.393" Score="2" Body="&lt;p&gt;I had same question to support if Wffm Mvc and Wffm Web Forms can coexist in a Mvc Application. &#xA;Their answer was they can coexist but with limitation : &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;for one item - use the CSHTML layout, views, View Renderings and Controller Renderings;&lt;/li&gt;&#xA;&lt;li&gt;for another item - in the same solution, presentation can be used with the ASPX layout, ASCX controls and XSLT renderings;&lt;/li&gt;&#xA;&lt;li&gt;however, you should never mix pure ASP.NET layout/renderings with MVC layout/renderings in Presentation details of the same item (only ASP.NET or MVC per content item).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-09-21T06:40:44.393" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7674" PostTypeId="2" ParentId="7660" CreationDate="2017-09-21T06:46:49.453" Score="0" Body="&lt;p&gt;I think you miss the &lt;strong&gt;hostname&lt;/strong&gt; attribute. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore determines the site context based on the incoming URL and the&#xA;  following two attributes hostName and virtualFolder.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;check this - &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Configuring%20Sites%20in%20web,-d-,config%20File.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Configuring%20Sites%20in%20web,-d-,config%20File.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;check multi site configuration also&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/81/how-do-i-configure-sitecore-to-serve-multiple-sites&quot;&gt;How do I configure Sitecore to serve multiple sites?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="914" LastActivityDate="2017-09-21T06:46:49.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7675" PostTypeId="1" CreationDate="2017-09-21T07:16:49.293" Score="2" ViewCount="106" Body="&lt;p&gt;When a user changes the name or deletes an item with a Lucene index attached to it, Sitecore will throw errors when using any index based functionality - it can break site sometimes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can think of 2 possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make Sitecore ignore indexes with non existent items.&lt;/li&gt;&#xA;&lt;li&gt;Try to block item somehow so it cant be renamed/unpublished/deleted by user&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;What do you think? I will need some details on two solutions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Clarification: I'm talking about the index root item. For example I have site with news and the root item is news/technology. If the user deletes or renames this item, there is problem.&lt;/p&gt;&#xA;" OwnerUserId="2450" LastEditorUserId="70" LastEditDate="2017-09-21T17:04:02.023" LastActivityDate="2017-09-21T17:04:02.023" Title="How to avoid errors when item assigned to Lucene index is removed?" Tags="|content-search|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7677" PostTypeId="2" ParentId="7675" CreationDate="2017-09-21T08:11:58.190" Score="0" Body="&lt;p&gt;From what I understand, you're experiencing issue when:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;author removes item from Sitecore&lt;/li&gt;&#xA;&lt;li&gt;end user tries to open a page and get error because item wasn't removed from Lucene index yet.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If that's the case, my answer is: &lt;code&gt;&quot;never trust data which is coming from index&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have SearchHit and you try to call &lt;code&gt;GetItem()&lt;/code&gt; after, always check if it's not null. That should be enough to not get an exception if the item wasn't removed from the index between Sitecore deletion and user page visit.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-09-21T08:11:58.190" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7678" PostTypeId="2" ParentId="7659" CreationDate="2017-09-21T08:20:01.300" Score="2" Body="&lt;p&gt;If you're using versioning or publishing restrictions I would refrain from putting master content directly on the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way publishing works makes sure only 1 valid version of each language is added to the web database. You would get all versions over by doing this, which could cause all sorts of unforeseen problems.&lt;/p&gt;&#xA;" OwnerUserId="2327" LastActivityDate="2017-09-21T08:20:01.300" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7679" PostTypeId="2" ParentId="7672" CreationDate="2017-09-21T08:27:33.170" Score="1" Body="&lt;p&gt;I can confirm that it works on Sitecore 7.2 as well as Sitecore 8.2 (we have upgraded along the way).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a multisite installation with 4 sites running MVC and the last site being Webforms. We're using WFFM on 1 MVC site and the webforms site without any issues (we're not sharing any specific forms between the 2 sites though).&lt;/p&gt;&#xA;" OwnerUserId="2327" LastActivityDate="2017-09-21T08:27:33.170" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7680" PostTypeId="1" CreationDate="2017-09-21T09:41:23.923" Score="5" ViewCount="88" Body="&lt;p&gt;Has anyone tried to stop a Profile Card assigned to a page from being repeatedly applied to a user in a single session?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example if the user hits F5 the Profile Card points are applied to the user again. Ideally we only want the Profile Card to only be applied the first time the visitor visits the page during a session. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the same Profile Card is assigned to another page which the user visits the points should be added again.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-09-21T10:24:57.823" Title="Profile Cards Limit Once Per Session Per Page" Tags="|xdb|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7681" PostTypeId="2" ParentId="7680" CreationDate="2017-09-21T10:24:57.823" Score="2" Body="&lt;p&gt;In order to do this, you will need to have a pipeline in the &lt;code&gt;&amp;lt;processItem&amp;gt;&lt;/code&gt; tag. You can read my post &lt;a href=&quot;https://hishaamn.wordpress.com/2017/07/19/sitecore-prevent-pattern-tracking/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration File&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to patch the Sitecore Process Profile processor with a custom one. The custom processor will check if the Profile to be processed has already been added to the user profile.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;processItem&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourNamespace.ProcessProfileProcessor,YourAssembly&quot;&#xA;                   patch:instead=&quot;processor[@type='Sitecore.Analytics.Pipelines.ProcessItem.ProcessProfiles, Sitecore.Analytics']&quot;/&amp;gt;&#xA;      &amp;lt;/processItem&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the entry point. At this point, the method ProcessProfiles will be called and as parameters, the tracking and interaction are passed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ProcessProfileProcessor : ProcessItemProcessor&#xA;{&#xA;    public override void Process(ProcessItemArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object) args, &quot;args&quot;);&#xA;&#xA;        foreach (TrackingField trackingParameter in args.TrackingParameters)&#xA;        {&#xA;            TrackingProcessor.ProcessProfiles(args.Interaction, trackingParameter);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your main logic to see if Profile needs to be processed for the user can be performed within the &lt;code&gt;ProcessProfiles&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class TrackingProcessor&#xA;{&#xA;    public static void ProcessProfiles(CurrentInteraction interaction, TrackingField field)&#xA;    {&#xA;        // Your Logic goes here.&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You may check my blog as referenced above for more information.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-09-21T10:24:57.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7683" PostTypeId="2" ParentId="7675" CreationDate="2017-09-21T10:58:43.513" Score="4" Body="&lt;h1&gt;Protect The Item&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore has a built-in functionality to solve exactly cases like this; where configuration or system parts rely on a particular Sitecore Item being present and unchanged.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zs3MQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zs3MQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once an item is protected like this, it cannot be changed or deleted - &lt;em&gt;even by admin users&lt;/em&gt;. Admin users are given the option to first unprotect the item before making any changes (alerting them to be aware there is something special about this item). Non-admin users cannot unprotect.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-09-21T10:58:43.513" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7685" PostTypeId="1" AcceptedAnswerId="7687" CreationDate="2017-09-21T16:30:03.450" Score="4" ViewCount="946" Body="&lt;p&gt;I have created a custom pipeline in a Foundation level Helix module. At the moment it has a single processor which can have multiple parameter configuration elements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my project layer, I want to patch this configuration to supply a new set of parameters for the existing pipeline. For some reason only the last parameter is getting patched.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Foundation module config:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getCustomTaggingPageData&amp;gt;&#xA;        &amp;lt;processor type=&quot;Acme.Foundation.Tagging.Pipelines.GetUserProfileData, Acme.Foundation.Tagging&quot;&amp;gt;&#xA;          &amp;lt;variablesMapping hint=&quot;raw:AddMapping&quot;&amp;gt;&#xA;          &amp;lt;/variablesMapping&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/getCustomTaggingPageData&amp;gt;&#xA;    &amp;lt;getCustomTaggingEventData&amp;gt;&#xA;  &amp;lt;/getCustomTaggingEventData&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Project module config:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&#xA;  xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; &#xA;  xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;getCustomTaggingPageData&amp;gt;&#xA;          &amp;lt;processor type=&quot;Acme.Foundation.Tagging.Pipelines.GetUserProfileData, Acme.Foundation.Tagging&quot;&amp;gt;&#xA;            &amp;lt;variablesMapping hint=&quot;raw:AddMapping&quot;&amp;gt;&#xA;              &amp;lt;mapping variableName=&quot;[ui:LoggedStatus]&quot; profileProperty=&quot;Core:LoggedStatus&quot; /&amp;gt;&#xA;              &amp;lt;mapping variableName=&quot;[ui:User]&quot; profileProperty=&quot;Core:User&quot; /&amp;gt;&#xA;              &amp;lt;mapping variableName=&quot;[ui:Email]&quot; profileProperty=&quot;Core:EmailId&quot; /&amp;gt;&#xA;              &amp;lt;mapping variableName=&quot;[ui:Gender]&quot; profileProperty=&quot;{0AE264FA-8D8F-48BC-8AC3-18B7F54F0DB9}&quot; conditionalValue=&quot;mr?m:f&quot; /&amp;gt;&#xA;              &amp;lt;mapping variableName=&quot;[ui:PostalCode]&quot; profileProperty=&quot;{D6BA91E2-F7E4-45CC-8FBB-25C2193536AE}&quot; /&amp;gt;&#xA;              &amp;lt;mapping variableName=&quot;[ui:City]&quot; profileProperty=&quot;{05665E10-F5E6-4CD3-8159-B682D7972936}&quot; /&amp;gt;&#xA;              &amp;lt;mapping variableName=&quot;[ui:Birthday]&quot; profileProperty=&quot;{A465D2A8-3866-4BCC-8352-A106F8C58A92}&quot; dataType=&quot;System.DateTime&quot; formatString=&quot;yyyy&quot; /&amp;gt;&#xA;            &amp;lt;/variablesMapping&amp;gt;&#xA;          &amp;lt;/processor&amp;gt;&#xA;        &amp;lt;/getCustomTaggingPageData&amp;gt;&#xA;      &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Output from ShowConfig.aspx&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;getCustomTaggingPageData patch:source=&quot;Foundation.Tagging.config&quot;&amp;gt;&#xA;  &amp;lt;processor type=&quot;Acme.Foundation.Tagging.Pipelines.GetUserProfileData, Acme.Foundation.Tagging&quot; patch:source=&quot;Sitecore.Project.Overrides.config&quot;&amp;gt;&#xA;    &amp;lt;variablesMapping hint=&quot;raw:AddMapping&quot; patch:source=&quot;Sitecore.Project.Overrides.config&quot;&amp;gt;&#xA;      &amp;lt;mapping variableName=&quot;[ui:Birthday]&quot; profileProperty=&quot;{A465D2A8-3866-4BCC-8352-A106F8C58A92}&quot; patch:source=&quot;Sitecore.Project.Overrides.config&quot; conditionalValue=&quot;mr?m:f&quot; dataType=&quot;System.DateTime&quot; formatString=&quot;yyyy&quot;/&amp;gt;&#xA;    &amp;lt;/variablesMapping&amp;gt;&#xA;  &amp;lt;/processor&amp;gt;&#xA;&amp;lt;/getCustomTaggingPageData&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-09-21T20:07:56.977" Title="Patching custom pipeline parameters in project level config file" Tags="|configuration|helix|site-configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7686" PostTypeId="2" ParentId="7685" CreationDate="2017-09-21T16:58:11.507" Score="4" Body="&lt;p&gt;This is down to how Sitecore patches child items. The same thing happens if you try to patch the &lt;code&gt;publish:end&lt;/code&gt; configuration to add your site in. The problem is that because each of your &lt;code&gt;mapping&lt;/code&gt; entries are effectively the same and don't contain any patching hints, each row patches the one above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve that you can add a &lt;code&gt;hint&lt;/code&gt; attribute to each row like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&#xA;  xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; &#xA;  xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;getCustomTaggingPageData&amp;gt;&#xA;          &amp;lt;processor type=&quot;Acme.Foundation.Tagging.Pipelines.GetUserProfileData, Acme.Foundation.Tagging&quot;&amp;gt;&#xA;            &amp;lt;variablesMapping hint=&quot;raw:AddMapping&quot;&amp;gt;&#xA;              &amp;lt;mapping hint=&quot;LoggedStatus&quot; variableName=&quot;[ui:LoggedStatus]&quot; profileProperty=&quot;Core:LoggedStatus&quot; /&amp;gt;&#xA;              &amp;lt;mapping hint=&quot;User&quot; variableName=&quot;[ui:User]&quot; profileProperty=&quot;Core:User&quot; /&amp;gt;&#xA;              &amp;lt;mapping hint=&quot;Email&quot; variableName=&quot;[ui:Email]&quot; profileProperty=&quot;Core:EmailId&quot; /&amp;gt;&#xA;              &amp;lt;mapping hint=&quot;Gender&quot; variableName=&quot;[ui:Gender]&quot; profileProperty=&quot;{0AE264FA-8D8F-48BC-8AC3-18B7F54F0DB9}&quot; conditionalValue=&quot;mr?m:f&quot; /&amp;gt;&#xA;              &amp;lt;mapping hint=&quot;PostalCode&quot; variableName=&quot;[ui:PostalCode]&quot; profileProperty=&quot;{D6BA91E2-F7E4-45CC-8FBB-25C2193536AE}&quot; /&amp;gt;&#xA;              &amp;lt;mapping hint=&quot;City&quot; variableName=&quot;[ui:City]&quot; profileProperty=&quot;{05665E10-F5E6-4CD3-8159-B682D7972936}&quot; /&amp;gt;&#xA;              &amp;lt;mapping hint=&quot;Birthday&quot; variableName=&quot;[ui:Birthday]&quot; profileProperty=&quot;{A465D2A8-3866-4BCC-8352-A106F8C58A92}&quot; dataType=&quot;System.DateTime&quot; formatString=&quot;yyyy&quot; /&amp;gt;&#xA;            &amp;lt;/variablesMapping&amp;gt;&#xA;          &amp;lt;/processor&amp;gt;&#xA;        &amp;lt;/getCustomTaggingPageData&amp;gt;&#xA;      &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When patching, Sitecore will see the &lt;code&gt;hint&lt;/code&gt; attribute and this time add each line as a new line.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the same way that we would patch in the &lt;code&gt;sites&lt;/code&gt; node on the &lt;code&gt;publish:end&lt;/code&gt; handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;        &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site hint=&quot;mysitename1&quot;&amp;gt;mysitename1&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site hint=&quot;mysitename2&quot;&amp;gt;mysitename2&amp;lt;/site&amp;gt;&#xA;        &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Without the &lt;code&gt;hint&lt;/code&gt; there, these would just replace the &lt;code&gt;website&lt;/code&gt; entry from the default config, and &lt;code&gt;mysitename2&lt;/code&gt; would override &lt;code&gt;mysitename1&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-09-21T16:58:11.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7687" PostTypeId="2" ParentId="7685" CreationDate="2017-09-21T20:01:30.003" Score="5" Body="&lt;p&gt;The issue is the extra &lt;code&gt;&amp;lt;settings&amp;gt;&lt;/code&gt; node in your project module config, at the moment you're not patching anything but inserting a new entry within the &lt;code&gt;&amp;lt;settings&amp;gt;&lt;/code&gt; node (and it's probably not where you're looking in showconfig.aspx)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration&#xA;  xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; &#xA;  xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getCustomTaggingPageData&amp;gt;&#xA;        &amp;lt;processor type=&quot;Acme.Foundation.Tagging.Pipelines.GetUserProfileData, Acme.Foundation.Tagging&quot;&amp;gt;&#xA;          &amp;lt;variablesMapping hint=&quot;raw:AddMapping&quot;&amp;gt;&#xA;            &amp;lt;mapping variableName=&quot;[ui:LoggedStatus]&quot; profileProperty=&quot;Core:LoggedStatus&quot; /&amp;gt;&#xA;            &amp;lt;mapping variableName=&quot;[ui:User]&quot; profileProperty=&quot;Core:User&quot; /&amp;gt;&#xA;            &amp;lt;mapping variableName=&quot;[ui:Email]&quot; profileProperty=&quot;Core:EmailId&quot; /&amp;gt;&#xA;            &amp;lt;mapping variableName=&quot;[ui:Gender]&quot; profileProperty=&quot;{0AE264FA-8D8F-48BC-8AC3-18B7F54F0DB9}&quot; conditionalValue=&quot;mr?m:f&quot; /&amp;gt;&#xA;            &amp;lt;mapping variableName=&quot;[ui:PostalCode]&quot; profileProperty=&quot;{D6BA91E2-F7E4-45CC-8FBB-25C2193536AE}&quot; /&amp;gt;&#xA;            &amp;lt;mapping variableName=&quot;[ui:City]&quot; profileProperty=&quot;{05665E10-F5E6-4CD3-8159-B682D7972936}&quot; /&amp;gt;&#xA;            &amp;lt;mapping variableName=&quot;[ui:Birthday]&quot; profileProperty=&quot;{A465D2A8-3866-4BCC-8352-A106F8C58A92}&quot; dataType=&quot;System.DateTime&quot; formatString=&quot;yyyy&quot; /&amp;gt;&#xA;          &amp;lt;/variablesMapping&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/getCustomTaggingPageData&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would also suggest that you add additional attributes to your processor to make your patching simpler between foundation and project layer, which I &lt;a href=&quot;https://jammykam.wordpress.com/2017/03/15/helix-config-patch/&quot; rel=&quot;noreferrer&quot;&gt;previously blogged about&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Foundation Module Config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getCustomTaggingPageData&amp;gt;&#xA;        &amp;lt;processor name=&quot;GetUserProfileData&quot; type=&quot;Acme.Foundation.Tagging.Pipelines.GetUserProfileData, Acme.Foundation.Tagging&quot;&amp;gt;&#xA;          &amp;lt;variablesMapping hint=&quot;raw:AddMapping&quot;&amp;gt;&#xA;          &amp;lt;/variablesMapping&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/getCustomTaggingPageData&amp;gt;&#xA;    &amp;lt;getCustomTaggingEventData&amp;gt;&#xA;  &amp;lt;/getCustomTaggingEventData&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Project Module Config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getCustomTaggingPageData&amp;gt;&#xA;        &amp;lt;processor name=&quot;GetUserProfileData&quot;&amp;gt;&#xA;          &amp;lt;variablesMapping&amp;gt;&#xA;            &amp;lt;mapping variableName=&quot;[ui:LoggedStatus]&quot; profileProperty=&quot;Core:LoggedStatus&quot; /&amp;gt;&#xA;            ...&#xA;          &amp;lt;/variablesMapping&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/getCustomTaggingPageData&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that we do not specify the &lt;code&gt;type&lt;/code&gt; on our project module config. This will mean that if you change the type signature you no longer need to change it in 2 places and the configuration remains only in the foundation layer.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-09-21T20:07:56.977" LastActivityDate="2017-09-21T20:07:56.977" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7688" PostTypeId="2" ParentId="6160" CreationDate="2017-09-21T20:03:17.693" Score="0" Body="&lt;p&gt;I ran into something similar where certain users should not be allowed to add datasources to certain types of pages. We had a folder for every page that would contain its datasources. What we ended up doing was creating a second datasource folder type, inherited from the original, and then changed it to restrict create for the specific roles we needed to. It's a bummer that we needed a second template type that was basically just a to have different security defaults. It can be argued that a better solution would be to do this at the branch template level with the initial template type just being edited instead of being its own type. You might be able to do something similar where the items that need to be restricted are a different item type in order to have different security settings for every instance.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-09-21T20:03:17.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7689" PostTypeId="1" AcceptedAnswerId="8616" CreationDate="2017-09-21T21:21:59.663" Score="2" ViewCount="311" Body="&lt;p&gt;Since introducing SXA 1.3 on Sitecore 8.2 Update 4 we're seeing some odd behavior from our custom 404 pages. The pages work fine for URLs that have more than one level in the path (i.e. &lt;a href=&quot;http://site/level1/level2&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://site/level1/level2&lt;/a&gt;) but we get an error on URLs with only one level (i.e. &lt;a href=&quot;http://site/level1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://site/level1&lt;/a&gt;). This is happening for both our new SXA site (configured to use the SXA 404 setting) and our legacy site (configured to use the pre-SXA 404 settings). I'm not sure where to look to figure out what isn't configured correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error we get is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   Sitecore.XA.Foundation.LocalDatasources.Pipelines.GetXmlBasedLayoutDefinition.ResolveLocalDatasources.Process(GetXmlBasedLayoutDefinitionArgs args) +85&#xA;   (Object , Object[] ) +73&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +478&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +21&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +191&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func`2 resultGetter) +160&#xA;   Sitecore.Mvc.Pipelines.Response.BuildPageDefinition.ProcessXmlBasedLayoutDefinition.AddRenderings(PageDefinition pageDefinition, BuildPageDefinitionArgs args) +218&#xA;   (Object , Object[] ) +73&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +478&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +21&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +191&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func`2 resultGetter) +160&#xA;   Sitecore.Mvc.Presentation.PageContext.GetPageDefinition() +267&#xA;   Sitecore.Mvc.Presentation.PageContext.get_PageDefinition() +30&#xA;   Sitecore.Mvc.Presentation.PageContext.GetPageView() +123&#xA;   Sitecore.Mvc.Presentation.PageContext.get_PageView() +30&#xA;   Sitecore.Mvc.Controllers.SitecoreController.GetDefaultAction() +25&#xA;   lambda_method(Closure , ControllerBase , Object[] ) +89&#xA;   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +228&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +34&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;BeginInvokeSynchronousActionMethod&amp;gt;b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +38&#xA;   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +70&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +41&#xA;   System.Web.Mvc.Async.AsyncInvocationWithFilters.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3d() +71&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f() +385&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f() +385&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass2b.&amp;lt;BeginInvokeAction&amp;gt;b__1c() +38&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult) +36&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone seen this or know where to look to get moving in the right direction?&lt;/p&gt;&#xA;" OwnerUserId="2194" LastActivityDate="2017-11-22T21:20:00.193" Title="Error displaying 404 page for URLs with only one level in the URL" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7690" PostTypeId="1" AcceptedAnswerId="7693" CreationDate="2017-09-22T02:12:24.857" Score="5" ViewCount="290" Body="&lt;p&gt;From Wikipedia (&lt;a href=&quot;https://en.wikipedia.org/wiki/Scalability#Horizontal_and_vertical_scaling&quot; rel=&quot;noreferrer&quot;&gt;https://en.wikipedia.org/wiki/Scalability#Horizontal_and_vertical_scaling&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To scale vertically (or scale up/down) means to add resources to (or&#xA;  remove resources from) a single node in a system, typically involving&#xA;  the addition of CPUs or memory to a single computer. Such vertical&#xA;  scaling of existing systems also enables them to use virtualization&#xA;  technology more effectively, as it provides more resources for the&#xA;  hosted set of operating system and application modules to share.&#xA;  Taking advantage of such resources can also be called &quot;scaling up&quot;,&#xA;  such as expanding the number of Apache daemon processes currently&#xA;  running. Application scalability is the improved performance of&#xA;  running applications on a scaled-up version of the system.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;A lot of Sitecore documentation I have been reading has been implying that separating out Sitecore instances into dedicated roles (such as Content Delivery and Content Management) is part of Vertical scaling. After isolation, you can then additionally add resources to each role to scale even more. Adding more RAM to a Content Delivery instance is clear Vertical scaling, but is the fact I separated Content Delivery from Content Management also Vertical?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From my perspective, this seemed like doing Horizontal scaling in order to support Vertical scaling. Am I wrong in this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; I do know that you can also run some roles behind load balancers and thus also do horizontal scaling in that manner, I am interested more in the classification of role dedication.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-09-22T05:18:29.980" Title="Is deploying isolated Sitecore roles considered Horizontal or Vertical scaling?" Tags="|scaling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7691" PostTypeId="1" AcceptedAnswerId="7694" CreationDate="2017-09-22T05:17:20.223" Score="2" ViewCount="513" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;For updating sitecore WFFM the downloaded package &quot;Web Forms for&#xA;  Marketers 8.2 rev. 160801 (update package) NOT SC PACKAGE&quot; consist of&#xA;  two .update files, one for CM and one for CD server, I had updated the&#xA;  CM instance but for CD server as we know /sitecore/admin/.. is&#xA;  restricted , so do i will have to update those files manually or there is&#xA;  any other way to install update on CD server ? What is the best&#xA;  approach which will ensure that both CM and CD update are in sync ?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1422" LastActivityDate="2017-09-22T07:42:17.363" Title="How to install .update file on CD server for sitecore WFFM upgrade?" Tags="|wffm|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7692" PostTypeId="1" CreationDate="2017-09-22T05:18:20.823" Score="2" ViewCount="3699" Body="&lt;p&gt;My Question is How we can add parameters to a Sitecore URL. any help is appreciated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;example: &lt;code&gt;example.com/insights/blogs/?category=Skaitmeninė%20transformacija&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2419" LastEditorUserId="70" LastEditDate="2017-09-22T14:59:22.130" LastActivityDate="2017-09-22T14:59:22.130" Title="How to add Parameters to Sitecore Page url" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7693" PostTypeId="2" ParentId="7690" CreationDate="2017-09-22T05:18:29.980" Score="5" Body="&lt;p&gt;From my point of view &lt;strong&gt;Vertical Scaling&lt;/strong&gt; means : increase memory, cpu  and separate standalone server to  one CD, one CM , one processing, one reporting, etc like on below picture. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9SqbP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9SqbP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, to scale horizontally you can deploy:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Multiple content delivery servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Multiple clusters of content delivery servers, either to increase capacity beyond a single cluster, or to create geographically-distributed content delivery and traffic collection points. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A dedicated session state server for handling session data. This is a requirement if you have a cluster with more than one node. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A collection database (MongoDB) for storing contact and interaction data – this can be a single MongoDB replica set (which requires a minimum of three nodes, for example, two data nodes and an arbiter) or it can be a sharded cluster with multiple replica sets. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One or more processing servers. The number of processing servers you have depends on how much website traffic you  need to handle. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Multiple content management servers – depending on your content editing needs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A reporting server that runs the Reporting Service hosted on a dedicated Sitecore server instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A reporting database hosted on a dedicated Microsoft SQL Server&#xA;instance (this could also be a failover cluster).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on above picture it's Sitecore xDB - fully scalable architecture (horizontal scaling)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2Z4mH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2Z4mH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-09-22T05:18:29.980" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7694" PostTypeId="2" ParentId="7691" CreationDate="2017-09-22T05:21:52.300" Score="1" Body="&lt;p&gt;I verified  upgrade package. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest you to delete from CD manually files and folders from &lt;strong&gt;deletedfiles&lt;/strong&gt; and &lt;strong&gt;deletedfolders&lt;/strong&gt;  from the update package &lt;strong&gt;Web Forms for Marketers CD 8.2 rev. 160801.update&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And then you need to copy manually from &lt;strong&gt;Web Forms for Marketers CD 8.2 rev. 160801.zip&lt;/strong&gt; all the files. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-09-22T07:42:17.363" LastActivityDate="2017-09-22T07:42:17.363" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7695" PostTypeId="2" ParentId="7692" CreationDate="2017-09-22T05:33:23.900" Score="6" Body="&lt;p&gt;for example if you want to add query string to current item you can use : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var url=LinkManager.GetItemUrl(Sitecore.Context.Item);&#xA;string urlQS = WebUtil.AddQueryString(url, &quot;category&quot;, &quot;Skaitmeninė transformacija&quot;); // &quot;http://www.mysite.net?print=1&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to add from Sitecore you can use General Link field. In your code you will have next lines to render with query string: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lC9pt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lC9pt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var linkField = (LinkField) Sitecore.Context.Item.Fields[&quot;Link&quot;];&#xA; var url=linkField.GetFriendlyUrl(); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-09-22T08:25:56.447" LastActivityDate="2017-09-22T08:25:56.447" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7697" PostTypeId="1" AcceptedAnswerId="7698" CreationDate="2017-09-22T06:49:29.710" Score="6" ViewCount="1856" Body="&lt;p&gt;Using Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have two custom ItemResolvers in my site, in this order:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;ItemResolver&lt;/code&gt; (The sitecore default)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ProductItemResolver&lt;/code&gt; (Determines if a product exists for a wildcard item)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;NotFoundItemResolver&lt;/code&gt; (Sets a default item, if no item has been set)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The code is as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ProductItemResolver.cs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Based on https://superruub.wordpress.com/2012/07/30/sitecore-wildcard-404-page/&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public class ProductItemResolver : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        Profiler.StartOperation(&quot;Resolve product item&quot;);&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        if (((Context.Item != null &amp;amp;&amp;amp; Context.Item.Name == &quot;*&quot;) &amp;amp;&amp;amp; (Context.Database != null))&#xA;            &amp;amp;&amp;amp; (args.Url.ItemPath.Length != 0)&#xA;            &amp;amp;&amp;amp; Context.Item.TemplateID == SitecoreConstants.Templates.Product.Id)&#xA;        {&#xA;            //Fetch product from elastic&#xA;            var productId = args.Context.Request.Url.GetProductId();&#xA;            var catalogService = ObjectFactory.Instance.Resolve&amp;lt;ICatalogService&amp;gt;();&#xA;            var productExists = catalogService.ProductExists(productId);&#xA;&#xA;            //If it is null, set Context.Item to null to trigger NotFound flow&#xA;            if (!productExists)&#xA;            {&#xA;                Context.Item = null;&#xA;            }&#xA;        }&#xA;        Profiler.EndOperation();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NotFoundItemResolver:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Based on https://laubplusco.net/handling-404-sitecore-avoid-302-redirects/&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public class NotFoundItemResolver : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        //Check if we even need to hande this&#xA;        if (IsValidContextItemResolved()&#xA;            || args.LocalPath.StartsWith(&quot;/sitecore&quot;)&#xA;            || args.Url.FilePath.StartsWith(&quot;/sitecore&quot;)&#xA;            || RequestIsForPhysicalFile(args.Url.FilePath))&#xA;            return;&#xA;&#xA;        var siteSettingsProvider = ObjectFactory.Instance.Resolve&amp;lt;ISiteSettingsProvider&amp;gt;();&#xA;        ISiteSettings siteSettings = siteSettingsProvider.Get();&#xA;&#xA;        if (siteSettings.NotFoundItem == null&#xA;            || siteSettings.NotFoundItem.Empty&#xA;            || !siteSettings.NotFoundItem.HasContextLanguage())&#xA;            return;&#xA;&#xA;        Context.Item = siteSettings.NotFoundItem;&#xA;    }&#xA;&#xA;    protected virtual bool IsValidContextItemResolved()&#xA;    {&#xA;        if (Context.Item == null || !Context.Item.HasContextLanguage())&#xA;            return false;&#xA;        return !(Context.Item.Visualization.Layout == null &amp;amp;&amp;amp; string.IsNullOrEmpty(WebUtil.GetQueryString(&quot;sc_layout&quot;)));&#xA;    }&#xA;&#xA;    protected virtual bool RequestIsForPhysicalFile(string filePath)&#xA;    {&#xA;        return File.Exists(HttpContext.Current.Server.MapPath(filePath));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The NotFound item has a controller configured on the standardvalues of its template.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NotFoundController : BaseController&#xA;{&#xA;    // GET&#xA;    public override ActionResult Index()&#xA;    {&#xA;        Response.StatusCode = (int) HttpStatusCode.NotFound;&#xA;        return View(&quot;~/Views/Shared/Core/NotFound.cshtml&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, if I hit a url where sitecore does not find an item, I get what I expect. I hit my NotFound controller, and render my NotFound view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if Sitecore resolves the wildcard item, and I set the &lt;code&gt;Context.Item = null&lt;/code&gt; in the ProductItemResolver, then I get the layout from the wildcard item rendered, and the &lt;code&gt;Context.Item.Name&lt;/code&gt; in the .cshtml file returns &quot;*&quot;. Even though I just changed the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the http status code of the response is 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is going on here? Am I hitting some sort of caching issue? &lt;/p&gt;&#xA;" OwnerUserId="2460" LastEditorUserId="2460" LastEditDate="2017-09-22T08:24:31.487" LastActivityDate="2017-09-22T08:32:04.367" Title="ItemResolvers not working as expected" Tags="|mvc|pipelines|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7698" PostTypeId="2" ParentId="7697" CreationDate="2017-09-22T08:32:04.367" Score="2" Body="&lt;h1&gt;Sitecore MVC resolves it (again)&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Which is both confusing and (I find) a little odd. But here's what's happening.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You patch after the regular &lt;code&gt;ItemResolver&lt;/code&gt; and do your custom work. And you assume all is well from that point on. And normally it would be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But Sitecore MVC adds a series of steps to the pipeline (for MVC requests, obviously), one of them being an execution of the &lt;code&gt;mvc.getPageItem&lt;/code&gt; pipeline to build up the MVC-specific context class &lt;code&gt;Sitecore.Mvc.Presentation.PageContext&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And &lt;code&gt;mvc.getPageItem&lt;/code&gt; (you probably guessed it), sets a new value in &lt;code&gt;Sitecore.Context.Page&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To work around this behaviour, one of the easiest approaches is to indicate (on &lt;code&gt;HttpContext.Items&lt;/code&gt; for instance) that your processor has done work, and then check for this value at the end of the &lt;code&gt;mvc.GetPageItem&lt;/code&gt; processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For previous and current Sitecore versions, @JammyKam has a full write up on his blog: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2017/08/02/sitecore-mvc-context-item/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Resolving Custom Context.Item in Sitecore MVC&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-09-22T08:32:04.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7699" PostTypeId="2" ParentId="7413" CreationDate="2017-09-22T09:44:16.633" Score="1" Body="&lt;p&gt;Solution is to add hidden field which will be populated with second dropdown list selected value before submitting using js. In this case hidden field will keep selected value after form is reloaded and code for result is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override ControlResult Result&#xA;{&#xA;    get&#xA;    {&#xA;        var countryName = ddlCountries.SelectedIndex &amp;gt; -1 ? ddlCountries.SelectedItem.Text : &quot;&quot;;&#xA;        var dealerName = hfDealers.value; //hidden field to store selected dealer&#xA;        return new ControlResult(this.ControlName, string.Format(&quot;{0},{1}&quot;, countryName , dealerName), null);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2421" LastActivityDate="2017-09-22T09:44:16.633" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7701" PostTypeId="1" CreationDate="2017-09-22T12:07:36.647" Score="7" ViewCount="1387" Body="&lt;p&gt;Umbraco has a type that allows a content editor to add a list of either external/internal links to a document type. The list of links can then be displayed in a view to a user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/e4TOA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/e4TOA.png&quot; alt=&quot;Umbraco Link List&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a field type in sitecore that can generate a list of general links. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The closest thing I have found is this &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Field_Suite.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/Field_Suite.aspx&lt;/a&gt; but I need it to work with version 8.2&lt;/p&gt;&#xA;" OwnerUserId="2428" LastActivityDate="2017-09-22T15:57:10.617" Title="List of general links" Tags="|fieldtype|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7702" PostTypeId="2" ParentId="7615" CreationDate="2017-09-22T14:11:27.660" Score="0" Body="&lt;p&gt;the way I got this to work ... I did not have to change Route.config.cs, I did create a folder called Pipelines/ and in it I added a &quot;LoadProcessor&quot; which is part of Sitecore. the Load Processor is below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Mvc;&#xA;using System.Web.Routing;&#xA;&#xA;namespace Website.Pipelines&#xA;{&#xA;    using Sitecore.Diagnostics;&#xA;    using Sitecore.Pipelines;&#xA;&#xA;    // TODO: \App_Config\include\LoadRoutes.config created automatically when creating LoadRoutes class.&#xA;&#xA;    public class LoadRoutes&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            Log.Info(&quot;Sitecore is starting&quot;, this);&#xA;            RouteTable.Routes.MapRoute(&quot;Find an Affiliate api&quot;, &quot;api/findanaffiliate/{action}&quot;, new { controller = &quot;FindAnAffiliate&quot; });&#xA;            RouteTable.Routes.MapRoute(&quot;Category Search&quot;, &quot;api/multiselectandsearch/{action}&quot;, new { controller = &quot;MultiSelectAndSearch&quot; });&#xA;            RouteTable.Routes.MapRoute(&quot;Magazine Archive&quot;, &quot;api/wildlifemagazinearchive/{action}&quot;, new { controller = &quot;WildlifeMagazineArchive&quot; });&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This next xml is created for you, under App_config/Include: this will be added to the Initialization Pipeline&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Website.Pipelines.LoadRoutes,Website&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I changed my ajax url :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;    $(&quot;#AffiliateList&quot;).change(function () {&#xA;        var textval = $(&quot;AffiliateList :selected&quot;).text();&#xA;        var selected = $(&quot;#AffiliateList :selected&quot;).val();&#xA;        $.ajax({&#xA;            type: &quot;GET&quot;,&#xA;            url: &quot;/api/FindAnAffiliate/GetAffiliate/&quot;,&#xA;            data: { id: selected },&#xA;            content: &quot;html&quot;,&#xA;            success: function (response) {&#xA;&#xA;                $(&quot;#affiliateDetail&quot;).empty();&#xA;                $(&quot;#affiliateDetail&quot;).append(response);&#xA;            },&#xA;            error: function (jqHRX, textStatus, errorThrown) {&#xA;&#xA;&#xA;            }&#xA;&#xA;&#xA;&#xA;        })&#xA;&#xA;    })&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, notice the url matches the routing in the Load Processor.&lt;/p&gt;&#xA;" OwnerUserId="1227" LastActivityDate="2017-09-22T14:11:27.660" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7703" PostTypeId="2" ParentId="7701" CreationDate="2017-09-22T14:12:10.870" Score="0" Body="&lt;p&gt;It doesn't exist this functionality OOTB. &#xA;One option is to get from github the source code of Field Suite and to update to Sitecore 8.2 (&lt;a href=&quot;https://github.com/Velir/SitecoreFieldSuite/tree/master&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Velir/SitecoreFieldSuite/tree/master&lt;/a&gt; ) &#xA;Is not an easy task because on Sitecore 8 was introduced Speak. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other option is to implement something with same functionality in this way: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have a template named Link that contains a field of type GeneralLink. You create items of type Link under a folder &quot;Site Links&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the items where do you want to have External/Internal Links you will have a MultiList field with a Datasource witch point to Site Links folder item; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is not the most elegant way but if you educate editors they can leave with it. And if you upgrade in the future you will not have any problems because is OOTB functionality. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-09-22T14:12:10.870" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7705" PostTypeId="1" CreationDate="2017-09-22T15:36:55.863" Score="4" ViewCount="215" Body="&lt;p&gt;When I am sending an email through EXM 3.4 and add our email to the message (as a way for customers to respond to us) it will always append the port number to the mailto link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, marketing@test.com:25&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we make it that the :25 is not added on to the email mailto link?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="2464" LastEditorUserId="2464" LastEditDate="2017-09-22T15:58:24.550" LastActivityDate="2017-09-26T11:21:58.553" Title="Port number appending to email from EXM" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7706" PostTypeId="2" ParentId="7701" CreationDate="2017-09-22T15:57:10.617" Score="4" Body="&lt;p&gt;I would do this using the Express SubItem module from the market place. &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Express_Subitem.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/Express_Subitem.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this module you can create a child template with the general link on, but instead of adding child items, you can control it all from the parent item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hKjxU.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hKjxU.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then when it comes to rendering that out, you can use out of the box Sitecore code to do that and you don't have to worry about maintaining a field suite with upgrades etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have used this module a few times and it has worked out well.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-09-22T15:57:10.617" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7707" PostTypeId="2" ParentId="7705" CreationDate="2017-09-22T16:14:12.830" Score="4" Body="&lt;p&gt;This looks like a known issue which has been fixed in  3.5 release. Check the release notes of 3.5 . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Email%20Experience%20Manager/35/Email%20Experience%20Manager%2035%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email%20Experience%20Manager/35/Email%20Experience%20Manager%2035%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9mWbT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9mWbT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you cannot upgrade your exm version i would suggest to raise a support ticket and get a patch for this.&lt;/p&gt;&#xA;" OwnerUserId="2430" LastActivityDate="2017-09-22T16:14:12.830" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7708" PostTypeId="1" AcceptedAnswerId="7710" CreationDate="2017-09-22T17:01:13.770" Score="2" ViewCount="817" Body="&lt;p&gt;I have a list of &quot;modules&quot; that I want to load depending on what template the current item is based on. This selection needs to be overridable. So I created a module loader component that has a datasource pointing to a folder that contains these modules. I iterate through the children of the folder, pull the RenderingReference and generate a new rendering. Finally I call the &lt;code&gt;mvc.renderRendering&lt;/code&gt; pipeline. This seems to work great, but it does limit me some.  The &lt;code&gt;Parameters = ...&lt;/code&gt; line doesn't pull the parameters from the RenderingContext as this is a generic reference to the rendering and not the item's rendering properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is, is there a better way to accomplish my overall goal here of loading dynamic items? Or can I get the parameters from my items?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (Item childItem in item.Children)&#xA;{&#xA;    var renderings = childItem.Visualization.GetRenderings(Context.Device, false);&#xA;&#xA;    if (renderings.Length &amp;gt; 0)&#xA;    {&#xA;        var rendering = new Rendering&#xA;        {&#xA;            RenderingItem = renderings[0].RenderingItem,&#xA;            Item = childItem,&#xA;            Parameters = new RenderingParameters(renderings[0].RenderingItem.Parameters)&#xA;        };&#xA;&#xA;        var writer = new StringWriter();&#xA;        var args = new RenderRenderingArgs(rendering, writer);&#xA;        PipelineService.Get().RunPipeline(&quot;mvc.renderRendering&quot;, args);&#xA;&#xA;        output += writer.ToString();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="933" LastActivityDate="2017-09-22T18:35:08.213" Title="Setting up dynamic content" Tags="|best-practices|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7709" PostTypeId="2" ParentId="7708" CreationDate="2017-09-22T17:09:25.377" Score="0" Body="&lt;h1&gt;The Controller Renderer&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;For a while now, I've been using an approach not too dissimilar to what you describe here. In essence, it involves looping over children, picking up a controller name and an action (not too different from your GetRenderings call) and then executing the controller renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now for my uses, all I need is a specific Datasource for each rendering. But the &lt;code&gt;Rendering&lt;/code&gt; I create can also be initialized with &lt;code&gt;RenderingParameters&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The core of it all lies in this bit of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var r = new Rendering {DataSource = item.Paths.FullPath};&#xA;&#xA;using (RenderingContext.EnterContext(r))&#xA;{&#xA;    var runner = new ControllerRunner(controller, action);&#xA;    var result = runner.Execute();&#xA;    return new HtmlString(result);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's not as generic as your approach; but personally I would never consider anything &lt;em&gt;but&lt;/em&gt; Controller Renderings on any solution I'm involved in. I found this to be superior in terms of flexibility.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-09-22T17:09:25.377" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7710" PostTypeId="2" ParentId="7708" CreationDate="2017-09-22T18:29:56.183" Score="1" Body="&lt;p&gt;It seems that my code is solid practice, so I did some more digging and found a way to solve my problem of getting the parameters from any given item.  I made this into an extension method and I call it when instantiating my rendering.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var layout = LayoutDefinition.Parse(LayoutField.GetFieldValue(item.Fields[&quot;__Renderings&quot;]));&#xA;&#xA;if (layout != null &amp;amp;&amp;amp; layout.Devices != null &amp;amp;&amp;amp; layout.Devices.Count &amp;gt; 0)&#xA;{&#xA;    var device = (DeviceDefinition)layout.Devices[0];&#xA;&#xA;    if (device != null)&#xA;    {&#xA;        var renderings = device.Renderings;&#xA;&#xA;        if (renderings != null)&#xA;        {&#xA;            var writer = new StringWriter();&#xA;            var renderingDefinition = renderings.Cast&amp;lt;RenderingDefinition&amp;gt;();&#xA;            var parameters = renderingDefinition.FirstOrDefault().Parameters;&#xA;&#xA;            return parameters;&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;return null;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks to this blog by &lt;a href=&quot;https://sitecore.stackexchange.com/users/903/aceanindita&quot;&gt;aceanindita&lt;/a&gt; I found: &lt;a href=&quot;https://techmusingz.wordpress.com/2014/08/02/programmatically-access-sitecore-item-presentation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://techmusingz.wordpress.com/2014/08/02/programmatically-access-sitecore-item-presentation/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="933" LastEditorUserId="933" LastEditDate="2017-09-22T18:35:08.213" LastActivityDate="2017-09-22T18:35:08.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7711" PostTypeId="1" AcceptedAnswerId="7712" CreationDate="2017-09-22T19:54:29.293" Score="3" ViewCount="1317" Body="&lt;p&gt;So I am trying to bring back a list of Bucket Items and map them using Glass Mapper. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A couple of issues I am running into. I tried as you can see using the &lt;code&gt;News&lt;/code&gt; glass model, but I get back several thousand records instead of just the one I have now. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The records returned are empty. So that is probably incorrect. If you look at the count variable with that I get back two records one being the News item I expect and the other is the standard values of the News item. I believe I am on the right track as Bucket Items get put in the index, but not sure how to map this correctly to Glass Mapper. Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext())&#xA;{&#xA;    var newsitems = context.GetQueryable&amp;lt;Models.sitecore.templates.Feature.News.News&amp;gt;().ToList();&#xA;    var count = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Count(item =&amp;gt; item.TemplateId == INewsConstants.TemplateId)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LM225.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LM225.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="853" LastEditorUserId="853" LastEditDate="2017-09-22T22:15:19.000" LastActivityDate="2017-09-22T22:15:19.000" Title="Bucket Items and Glass Mapper Retrieving" Tags="|content-search|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7712" PostTypeId="2" ParentId="7711" CreationDate="2017-09-22T20:28:32.917" Score="3" Body="&lt;p&gt;This is happening because in your first query, you are not filtering the results by anything:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var newsitems = context.GetQueryable&amp;lt;Models.sitecore.templates.Feature.News.News&amp;gt;().ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your query is returning all the Sitecore items in the index. But if your &lt;code&gt;News&lt;/code&gt; template is setup to enforce the template on the Glass model, it will not be able to cast the Sitecore Item to your Glass model in the results that don't match the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass doesn't automatically apply a query to filter the search results by template Id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could add this in a couple of ways:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Just add the filter to the query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var newsitems = context.GetQueryable&amp;lt;Models.sitecore.templates.Feature.News.News&amp;gt;()&#xA;    .Where(item =&amp;gt; item.TemplateId == INewsConstants.TemplateId)&#xA;    .ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add a predefined query to your model class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[PredefinedQuery(&quot;__templatename&quot;, ComparisonType.Equal, &quot;news&quot;]&#xA;public class News &#xA;{&#xA;    // fields here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This would then automatically add the template query anytime you used that class to return results from the search API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://getfishtank.ca/blog/new-sitecore-7-feature-predefined-queries&quot; rel=&quot;nofollow noreferrer&quot;&gt;this post&lt;/a&gt; for more details on &lt;a href=&quot;https://getfishtank.ca/blog/new-sitecore-7-feature-predefined-queries&quot; rel=&quot;nofollow noreferrer&quot;&gt;predefined queries&lt;/a&gt;/&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-09-22T20:28:32.917" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7713" PostTypeId="2" ParentId="5923" CreationDate="2017-09-22T20:44:45.913" Score="2" Body="&lt;p&gt;I wanted to drop a note, in order to hopefully save someone at least some time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing that we just had to work through for a customer that was determined to utilize &quot;virtual directories&quot; instead of unique host/domain names for their Sitecore sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In fact, it was submitted as a Sitecore bug back in Feb 2015, but at least as of Sitecore 8.2 (rev 170518) it remains an issue, per this StackOverflow posting: &lt;a href=&quot;https://stackoverflow.com/questions/28321433/value-cannot-be-null-parameter-name-virtualpath-sitecore&quot;&gt;https://stackoverflow.com/questions/28321433/value-cannot-be-null-parameter-name-virtualpath-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As stated above, you must make sure your sites are entered in the most detailed criteria first, since Sitecore will resolve to the first possible site that meets the requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now to the meat of the known (Sitecore sponsored workaround): when using same hostname for multiple sites, but differentiating them based on virtualPath=&quot;/xxx&quot;  you must include the same in the physicalPath=&quot;/xxx&quot; attribute as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This requirement also applies to the levels of your virtualPath/physicalPath settings, ie: if you have two sites:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;one virtualPath/physicalPath located at /xxx/yyyy&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It MUST come before the less limiting virtualPath/physicalPath of /xxx&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="2395" LastEditDate="2017-10-10T03:18:42.013" LastActivityDate="2017-10-10T03:18:42.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7715" PostTypeId="2" ParentId="6212" CreationDate="2017-09-23T06:38:58.233" Score="0" Body="&lt;p&gt;I guess it is more &quot;Deployment&quot; issue than content management. &#xA;In this case I would go into Teamcity + Octopus + Powershell approach.&#xA;If Octopus Deploy will be too expensive then you could try to use any other similar software to do the job.&#xA;Because you have got so many environments you probably should also remember about maintenance of all connections - it should be easy and secured well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;With Octopus Deploy it could work in following way:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;TeamCity automatically (Powershell can be used as well) will create package with all changes&lt;/li&gt;&#xA;&lt;li&gt;TeamCity has Octopus connector so after package creation would push changes as a package into Octopus internal nuget server&lt;/li&gt;&#xA;&lt;li&gt;then Octopus when will notice that new package was uploaded will start deployment into Tentacles and all Powershell scripts on target servers (if some will be required)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As the final setup we would have centralized and easy to maintain deployment environment. &lt;/p&gt;&#xA;" OwnerUserId="228" LastEditorUserId="228" LastEditDate="2017-09-23T06:58:58.507" LastActivityDate="2017-09-23T06:58:58.507" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7717" PostTypeId="2" ParentId="7059" CreationDate="2017-09-23T07:18:34.287" Score="1" Body="&lt;p&gt;You can try to check configuration with Sitecore Role Checker Tool: &lt;a href=&quot;https://github.com/reyrahadian/Sitecore-Server-Role-Checker&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/reyrahadian/Sitecore-Server-Role-Checker&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use SOLR all Lucene files should be disabled and when you use Lucene you should disable all SORL configuration files. You shouldn't use SORL &amp;amp; Lucene configuration files in parallel.&lt;/p&gt;&#xA;" OwnerUserId="228" LastActivityDate="2017-09-23T07:18:34.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7719" PostTypeId="2" ParentId="7660" CreationDate="2017-09-23T13:50:30.807" Score="3" Body="&lt;p&gt;As Mark mention in his comment, set virtualFolder=&quot;&quot; value to virtualFolder=&quot;/&quot;&#xA;The reason for your context site is not resolving to &quot;website&quot; is the virtualFolder setting you have.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you request &lt;a href=&quot;http://hostname/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hostname/&lt;/a&gt; , Sitecore will not match to &quot;website&quot; since your &quot;website&quot; site definition have virtualFolder set to &quot;&#xA;&#xA;&lt;p&gt;If you want to add or adjust site definition, its advice not to adjust the default &quot;website&quot; site definition.&#xA;Add your own site definition before &quot;website&quot; site definition and do the adjustments to that.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-09-23T13:50:30.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7727" PostTypeId="1" CreationDate="2017-09-25T10:47:17.240" Score="1" ViewCount="341" Body="&lt;p&gt;I am working on Sitecore 8.1 rev. 151207 (Update-1) and using WFFM version 8.1 rev. 151217.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have set the manual text and value in dropdownlist control in WFFM field and mark this field as &quot;Required&quot;. But dropdownlist required validation is not working when I submit the form?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do anybody know why this is happening?&lt;/p&gt;&#xA;" OwnerUserId="930" LastEditorUserId="2727" LastEditDate="2018-02-28T11:20:35.997" LastActivityDate="2018-05-30T13:20:54.820" Title="WFFM required validation is not working for dropdownlist field" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7728" PostTypeId="1" AcceptedAnswerId="7730" CreationDate="2017-09-25T13:33:53.387" Score="4" ViewCount="4175" Body="&lt;p&gt;How can I get a query-based treelist to return a list of items relative to the current item, that fits a template, instead of only the first result&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search structure:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-Parent Item&#xA;--Segments&#xA;---Item 1 (template = {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx})&#xA;---Item 2 (template = {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For example, if I set this as the source, it correctly finds a descendant but only the first result is available for selection in the treelist, which in the case above would only return &lt;strong&gt;Item 1&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:self:://*[@@templateId = '{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="757" LastEditorUserId="757" LastEditDate="2017-09-25T14:52:01.480" LastActivityDate="2017-09-26T08:16:32.077" Title="Retrieving multiple items in treelist query" Tags="|sitecore-query|tree-list|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7729" PostTypeId="1" CreationDate="2017-09-25T14:29:31.390" Score="4" ViewCount="4504" Body="&lt;p&gt;I tried to Add Anchor Tag with Internal Link in the RTE field using HyperLink Manager in the RTE? But it allows to add either anchor or Internal Link in the RTE field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to add both together like : &lt;a href=&quot;http://localtest/en#Test&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localtest/en#Test&lt;/a&gt; using Internal Link&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rXfUd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rXfUd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only option that worked for me to manually edit the link in the the HTML tab of the RTE and append the anchor tag at the last as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;blockquote&gt;&#xA;    &lt;p&gt;&lt;/p&gt;&#xA;  &lt;/blockquote&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sw306.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sw306.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there Any other solution or other way to achieve this functionality?&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="690" LastEditDate="2017-09-26T02:14:49.340" LastActivityDate="2017-09-26T02:28:39.300" Title="How to Add Anchor Tag with Internal Link in The RTE Field?" Tags="|content-editor|content-management|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7730" PostTypeId="2" ParentId="7728" CreationDate="2017-09-25T14:41:33.857" Score="6" Body="&lt;p&gt;The reason only the first result is available for selection is because the treelist query sets the root item for selection, not the available list of items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead you should use enhanced syntax using Parameterized datasource, which allows you to add some additional restrictions as well as setting the root node.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;datasource=/sitecore/content/location/to/root-item&amp;amp;IncludeTemplatesForDisplay=TemplateName1,TemplateName2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Set the datasource and a list of list of template names (no id's) that should be displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about the syntax and additional options in &lt;a href=&quot;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&quot; rel=&quot;noreferrer&quot;&gt;this blog post&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you cannot specify a &lt;code&gt;query:&lt;/code&gt; &lt;strong&gt;and&lt;/strong&gt; use extended parameters for Treelist field since the field does not support it. You can however extend the behaviour to support this, you can find details in &lt;a href=&quot;https://jammykam.wordpress.com/2016/01/06/specifying-query-and-parameters-for-sitecore-treelist-field-source/&quot; rel=&quot;noreferrer&quot;&gt;this blog post&lt;/a&gt; which I wrote.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Create a new class which extends the default &lt;code&gt;Treelist&lt;/code&gt; implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Web.UI.HtmlControls.Data;&#xA;&#xA;namespace MyProject.CMS.Custom.Controls&#xA;{&#xA;    public class Treelist : Sitecore.Shell.Applications.ContentEditor.TreeList &#xA;    {&#xA;        private string _dataSource = string.Empty;&#xA;        public override string DataSource&#xA;        {&#xA;            get&#xA;            {&#xA;                if (_dataSource.StartsWith(&quot;query:&quot;))&#xA;                {&#xA;                    if (Sitecore.Context.ContentDatabase == null || base.ItemID == null)&#xA;                        return null;&#xA;                    Item current = Sitecore.Context.ContentDatabase.GetItem(base.ItemID);&#xA;&#xA;                    Item obj = null;&#xA;                    try&#xA;                    {&#xA;                        obj = Enumerable.FirstOrDefault&amp;lt;Item&amp;gt;((IEnumerable&amp;lt;Item&amp;gt;)LookupSources.GetItems(current, _dataSource));&#xA;                    }&#xA;                    catch (Exception ex)&#xA;                    {&#xA;                        Log.Error(&quot;Treelist field failed to execute query.&quot;, ex, (object)this);&#xA;                    }&#xA;                    if (obj == null)&#xA;                        return null;&#xA;                    return obj.Paths.FullPath;&#xA;                }&#xA;                return _dataSource;&#xA;            }&#xA;            set { _dataSource = value; }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then switch on over to the core database, make a copy of &lt;code&gt;/sitecore/system/Field types/List Types/Treelist&lt;/code&gt;, delete the existing &lt;code&gt;Control&lt;/code&gt; field text and instead set the ASSEMBLY and CLASS fields to point to your implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you can specify the source as the following in your custom field type:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;datasource=query:./&amp;amp;IncludeTemplatesForDisplay=TemplateName1,TemplateName2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And don't forget to patch the config so the new field type is mapped correctly:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&#xA;    &amp;lt;fieldTypes&amp;gt;&#xA;      &amp;lt;fieldType name=&quot;CustomTreelist&quot; type=&quot;Sitecore.Data.Fields.MultilistField,Sitecore.Kernel&quot;/&amp;gt;&#xA;    &amp;lt;/fieldTypes&amp;gt;&#xA;&#xA;    &amp;lt;contentSearch&amp;gt;      &#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultLuceneIndexConfiguration&amp;gt;&#xA;          &amp;lt;fieldMap&amp;gt;&#xA;            &amp;lt;fieldTypes&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;customtreelist&quot; storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;            &amp;lt;/fieldTypes&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;          &amp;lt;fieldReaders&amp;gt;&#xA;            &amp;lt;mapFieldByTypeName&amp;gt;&#xA;              &amp;lt;fieldReader fieldTypeName=&quot;customtreelist&quot; fieldNameFormat=&quot;{0}&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.MultiListFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;            &amp;lt;/mapFieldByTypeName&amp;gt;&#xA;          &amp;lt;/fieldReaders&amp;gt;&#xA;        &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: The above patches for Lucene, update the config as approrpiate for the provider you are using.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-09-25T16:34:33.663" LastActivityDate="2017-09-25T16:34:33.663" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7731" PostTypeId="1" CreationDate="2017-09-25T18:47:06.753" Score="2" ViewCount="699" Body="&lt;p&gt;In my project, I have to add a login system for users using a different database. These users will not have access to the sitecore functionality, only those with anonymous access.&#xA;Any ideas how I can hook up such a login system? An additional controller that will manage the session?&lt;/p&gt;&#xA;" OwnerUserId="2469" LastActivityDate="2017-09-26T01:08:13.057" Title="Anonymous login system" Tags="|sitecore-client|authentication|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7732" PostTypeId="2" ParentId="7729" CreationDate="2017-09-25T18:56:10.153" Score="4" Body="&lt;p&gt;I just attempted this in Sitecore 8.2 Update 5 with no issues. Here are the steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;&#xA;Open an Item with a Rich Text field and enter some text.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ctHhw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ctHhw.png&quot; alt=&quot;Rich Text Editor open with greek provided for the example.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&#xA;Select the text you want to use for your &lt;em&gt;anchor&lt;/em&gt; tag and then click the Hyperlink Manager button. You should be presented with the pictured dialog. Note that to &lt;em&gt;set&lt;/em&gt; an anchor, you need to switch to the Anchor tab in the dialog.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/y5ags.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/y5ags.png&quot; alt=&quot;Hyperlink Manager open for creating an Anchor tag&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;&#xA;Select the text you want to use to &lt;em&gt;link&lt;/em&gt; to your anchor tag and click the Hyperlink Manager button. You should be presented with the pictured dialog. Note that the &lt;em&gt;Anchor&lt;/em&gt; field will allow you to pick from anchors that are already inserted into this particular Rich Text field. Upon selecting the anchor, the URL field should automatically update to the identifier for the selected anchor, with no protocol, hostname, or path, as expected.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WF0cj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WF0cj.png&quot; alt=&quot;Hyperlink Manager open providing a list of preexisting anchors to choose from.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At this point if you accept out of the Rich Text Editor and save your content, your anchor and link should be all wired up. Here is the HTML from my example to show what markup is produced in the background:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZtL1R.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZtL1R.png&quot; alt=&quot;Rich Text editor open in HTML mode to display the HTML resulting from the operations described here.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-09-25T18:56:10.153" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7735" PostTypeId="2" ParentId="7731" CreationDate="2017-09-25T19:49:02.857" Score="3" Body="&lt;p&gt;You can use a virtual user to accomplish this. &lt;a href=&quot;https://briancaos.wordpress.com/2015/11/13/sitecore-virtual-users-authenticate-users-from-external-systems/&quot; rel=&quot;nofollow noreferrer&quot;&gt;This blog&lt;/a&gt; from briancaos explains you exactly how.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A virtual User is (as the word says) a memory-only Sitecore user that is created &quot;on the fly&quot;. Once you have authorized your user (custom code for your login system), you can create a virtual user that Sitecore will recognize as a normal user.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var user = Sitecore.Security.Authentication.AuthenticationManager.BuildVirtualUser(&quot;extranet\\user@yourdomain.com&quot;, true);&#xA;&#xA;// You can add roles to the Virtual user&#xA;user.Roles.Add(...);&#xA;&#xA;// Login the virtual user&#xA;Sitecore.Security.Authentication.AuthenticationManager.LoginVirtualUser(user);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-09-25T19:56:54.663" LastActivityDate="2017-09-25T19:56:54.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7736" PostTypeId="2" ParentId="7731" CreationDate="2017-09-25T20:08:26.973" Score="0" Body="&lt;p&gt;If all of your externally authenticated users will have access to the same Sitecore content, you could create a single &quot;authenticated&quot; user in the Extranet domain and then, upon authorizing to your external system, log the &quot;authenticated&quot; user in via the Sitecore Security API. This is the &quot;impersonation&quot; strategy, similar to what IIS and ASP.NET have done for years.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-09-25T20:08:26.973" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7737" PostTypeId="2" ParentId="7731" CreationDate="2017-09-26T00:28:24.857" Score="1" Body="&lt;p&gt;You can also make UserResolver processor in httpRequestBegin pipeline to modify the default behaviour. You can override UserResolver to perform authentication using different database as you mentioned above in your question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Class: Sitecore.Pipelines.HttpRequest.UserResolver&#xA;Assembly: Sitecore.Kernel&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This processor determines the current request’s user account. Sets up Sitecore.Context.User property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below link might help.&#xA;&lt;a href=&quot;http://www.letsdositecore.com/sitecore-pipeline-processor-with-httpcontext-current-session/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.letsdositecore.com/sitecore-pipeline-processor-with-httpcontext-current-session/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2418" LastEditorUserId="2418" LastEditDate="2017-09-26T01:08:13.057" LastActivityDate="2017-09-26T01:08:13.057" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7738" PostTypeId="2" ParentId="7729" CreationDate="2017-09-26T02:28:39.300" Score="1" Body="&lt;p&gt;You can still do it with the RTE Hyperlink manager to another item in the site.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select the text you want to create as the Hyperlink and click &lt;code&gt;Insert Sitecore Link&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x1HFU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x1HFU.png&quot; alt=&quot;Select link text&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Now pick the Sitecore item you want to link too and click &lt;code&gt;Insert&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MJXJ5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MJXJ5.png&quot; alt=&quot;Select the item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Now right click the hyperlink text and chose &lt;code&gt;Properties&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uDbMw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uDbMw.png&quot; alt=&quot;Link Properties&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;In the &lt;code&gt;Url&lt;/code&gt; field, go to the end of the text box and add your anchor tag here:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ta6PY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ta6PY.png&quot; alt=&quot;Add anchor to url&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its not the prettiest solution, but is a little easier for content editors if they don't feel comfortable adding the anchor to the markup.  Ideally, the &lt;code&gt;anchor&lt;/code&gt; field would be changeable to a textbox if you wanted to link to another page, rather than forcing you to only be able to link to local anchors - but this is a usable work around.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-09-26T02:28:39.300" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7739" PostTypeId="2" ParentId="7728" CreationDate="2017-09-26T08:16:32.077" Score="0" Body="&lt;p&gt;I managed to get a relative query selection to work out of the box, with a multilist using a hierarchy like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;BASE-TEMPLATE-ID item&#xA;-CHILD-CONTAINER-TEMPLATE-ID&#xA;--Child&#xA;--Child&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With the template source query looking like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:ancestor-or-self::*/.[@@templateid='{BASE-TEMPLATE-ID}']/*[@@templateid='{CHILD-CONTAINER-TEMPLATE-ID}']//*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="757" LastActivityDate="2017-09-26T08:16:32.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7740" PostTypeId="1" AcceptedAnswerId="7741" CreationDate="2017-09-26T09:34:12.593" Score="3" ViewCount="84" Body="&lt;p&gt;Create any template and add Any field under the section and navigate the field name, Type , Source , Unversioned , shared  properties by keyword tabs, it gets stuck in the unversioned field(checkbox), Cannot navigate further by keyword Tabs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.2 update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any solution for the same?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Yk2wP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Yk2wP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2017-09-26T09:36:52.757" Title="Tabs are not navigating properly at the time of template field creation – Keyword Accessibility" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7741" PostTypeId="2" ParentId="7740" CreationDate="2017-09-26T09:36:52.757" Score="4" Body="&lt;p&gt;I just blogged about it recently. Here is the whole blog post: &lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-template-manager-fix-for-the-tab-key&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Template Manager - fix for the Tab key&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the solution in shortcut: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open the &lt;code&gt;\sitecore\shell\Controls\Sitecore.js&lt;/code&gt; file and replace the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (evt.keyCode == 8 &amp;amp;&amp;amp; (srcElement.className &amp;amp;&amp;amp; srcElement.className.toLowerCase().indexOf(&quot;checkbox&quot;) &amp;gt;= 0) ||&#xA;  (srcElement.type &amp;amp;&amp;amp; srcElement.type.toLowerCase() == &quot;checkbox&quot;)) {&#xA;  scForm.browser.clearEvent(evt, false, false, 8);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (evt.keyCode == 8 &amp;amp;&amp;amp; ((srcElement.className &amp;amp;&amp;amp; srcElement.className.toLowerCase().indexOf(&quot;checkbox&quot;) &amp;gt;= 0) ||&#xA;  (srcElement.type &amp;amp;&amp;amp; srcElement.type.toLowerCase() == &quot;checkbox&quot;))) {&#xA;  scForm.browser.clearEvent(evt, false, false, 8);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-09-26T09:36:52.757" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7743" PostTypeId="1" AcceptedAnswerId="7745" CreationDate="2017-09-26T11:08:39.670" Score="2" ViewCount="701" Body="&lt;p&gt;I'm new to Azure deployments. We have installed Sitecore 8.2 webapp and deployed and everything works fine except that our custom indices have not been created. Pages that use indices crash.&#xA;Rebuilding indices through Sitecore completes right away and the folder under App_Data does not get created.&#xA;We're using Lucene. Are we missing something?&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="312" LastEditDate="2017-09-26T12:08:00.103" LastActivityDate="2017-09-26T12:08:00.103" Title="Rebuilding custom Index on Sitecore Azure WebApp doesn't work" Tags="|azure|indexing|lucene|azure-search|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7744" PostTypeId="2" ParentId="7705" CreationDate="2017-09-26T11:21:58.553" Score="3" Body="&lt;p&gt;As mentioned by @prabhat this is indeed a known issue, and it's fixed in the 3.5 release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue only happens if you're sending a quick-test email. This should not be an issue when you're sending emails to actual recipients.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If upgrading to 3.5 is not a solution, you can fix the problem by overriding the Sitecore.Modules.EmailCampaign.Core.Pipelines.GenerateLink.Hyperlink.EncryptQueryString pipeline processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add replace the check that looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if((uri.Scheme.Equals(&quot;http&quot;) &amp;amp;&amp;amp; uri.Port == 80) || (uri.Scheme.Equals(&quot;https&quot;) &amp;amp;&amp;amp; uri.Port == 443))&#xA;{&#xA;  uri.Port = -1;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with something that also checks for mailto and port 25, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if((uri.Scheme.Equals(&quot;http&quot;) &amp;amp;&amp;amp; uri.Port == 80) || (uri.Scheme.Equals(&quot;https&quot;) &amp;amp;&amp;amp; uri.Port == 443) || (uri.Scheme.Equals(&quot;mailto&quot;) &amp;amp;&amp;amp; uri.Port == 25))&#xA;{&#xA;  uri.Port = -1;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-09-26T11:21:58.553" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7745" PostTypeId="2" ParentId="7743" CreationDate="2017-09-26T12:00:44.510" Score="2" Body="&lt;p&gt;The default installation of Sitecore on Azure PaaS is using Azure Search. Lucene indexing is not supported as it is a file based solution. In PaaS you either have to use Azure Search or Solr or Coveo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Make sure to update your custom index config file before publishing and rebuilding the index.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using Azure Search, please read the features and limitations: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/sitecore_azure_search_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/sitecore_azure_search_overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-09-26T12:00:44.510" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7749" PostTypeId="2" ParentId="7656" CreationDate="2017-09-26T14:37:54.837" Score="0" Body="&lt;p&gt;In the end, the problem was in the difference between Sitecore.DependencyInjection and Sitecore.XA.Foundation.IoC. They're easily mixed up since the entry points have the same name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the solution I used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// using Sitecore.XA.Foundation.IoC;&#xA;// using Sitecore.XA.Foundation.IoC.Locator;&#xA;&#xA;protected virtual void SetupServices(Db fakeDb)&#xA;{&#xA;    var mockServiceCollection = new ServiceCollection();&#xA;    new Sitecore.DependencyInjection.DefaultSitecoreServicesConfigurator().Configure(mockServiceCollection);&#xA;&#xA;    var rendering = MockRendering(fakeDb);&#xA;&#xA;    mockServiceCollection.AddTransient(provider =&amp;gt; MockContentRepository(fakeDb));&#xA;    // ...Add more mock services in the way Dawid showed&#xA;&#xA;    // This part was the main difference and what made it instantly work.&#xA;    var serviceProvider = mockServiceCollection.BuildServiceProvider();&#xA;    ServiceLocator.SetLocatorProvider(new Locator(serviceProvider));&#xA;&#xA;    var instance = typeof(FieldTypeManager).GetField(&quot;Instance&quot;, BindingFlags.Static | BindingFlags.NonPublic);&#xA;    var instanceValue = instance.GetValue(null) as sc.DependencyInjection.LazyResetable&amp;lt;sc.Abstractions.BaseFieldTypeManager&amp;gt;;&#xA;    instanceValue.Value.Initialize();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2369" LastActivityDate="2017-09-26T14:37:54.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7750" PostTypeId="1" AcceptedAnswerId="7751" CreationDate="2017-09-26T15:29:38.517" Score="3" ViewCount="247" Body="&lt;p&gt;I'm setting up th &lt;code&gt;excludedIPAddresses&lt;/code&gt; section of the Sitecore.Analytics.ExcludeRobots.config file, and I had one question on format. In the file, it shows for &quot;supported values and formats&quot; having semicolons at the end of the value for IP address and IP range. However, in the Sitecore documentation - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/robot_detection/configure_the_robot_detection_component#_Excluding_user_agents&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/robot_detection/configure_the_robot_detection_component#_Excluding_user_agents&lt;/a&gt; - it doesn't show semicolons between each line. Also, in the existing file it lists a lot of user agents that are excluded and are just one agent per line.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the parser for this using the new line character to do the separation?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-09-26T15:33:20.080" Title="Setting up excludedIPAddresses in robot detection" Tags="|xdb|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7751" PostTypeId="2" ParentId="7750" CreationDate="2017-09-26T15:33:20.080" Score="2" Body="&lt;p&gt;Yes is using new line character for separation &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code for parsing exludedIPAddresses &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Web.IPAddresses.IPList&#xA;/// &amp;lt;summary&amp;gt;&#xA;/// Tries the parse string.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;list&quot;&amp;gt;The string list.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;result&quot;&amp;gt;The result.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;IPList object.&amp;lt;/returns&amp;gt;&#xA;public static bool TryParse(string list, out IPList result)&#xA;{&#xA;    result = null;&#xA;    if (string.IsNullOrEmpty(list))&#xA;    {&#xA;        return false;&#xA;    }&#xA;    string[] array = list.Split(new char[]&#xA;    {&#xA;        '\n'&#xA;    });&#xA;    if (array.Length == 0)&#xA;    {&#xA;        return false;&#xA;    }&#xA;    result = new IPList();&#xA;    string[] array2 = array;&#xA;    for (int i = 0; i &amp;lt; array2.Length; i++)&#xA;    {&#xA;        string text = array2[i];&#xA;        string text2 = text.Trim();&#xA;        if (!text2.IsNullOrEmpty() &amp;amp;&amp;amp; !text2.StartsWith(&quot;#&quot;, StringComparison.InvariantCulture))&#xA;        {&#xA;            IPSubnet subnet;&#xA;            IPRange range;&#xA;            if (IPSubnet.TryParse(text2, out subnet))&#xA;            {&#xA;                result.Add(subnet);&#xA;            }&#xA;            else if (IPRange.TryParse(text2, out range))&#xA;            {&#xA;                result.Add(range);&#xA;            }&#xA;            else&#xA;            {&#xA;                IPAddress address;&#xA;                if (!IPAddress.TryParse(text2, out address))&#xA;                {&#xA;                    Log.Warn(&quot;Failed to initialize IPList. String {0} is not looks like valid value for IPAddress, IPRange or IPSubnet&quot;.FormatWith(new object[]&#xA;                    {&#xA;                        text2&#xA;                    }), new object());&#xA;                    result = null;&#xA;                    return false;&#xA;                }&#xA;                result.Add(address);&#xA;            }&#xA;        }&#xA;    }&#xA;    return true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-09-26T15:33:20.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7752" PostTypeId="2" ParentId="4691" CreationDate="2017-09-26T15:52:16.443" Score="2" Body="&lt;p&gt;You &lt;strong&gt;can&lt;/strong&gt; solve this issue, just not with the OOTB AD connector.  I have built custom AD role/membership/profile providers recently that will address your specific scenario.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way we did it was to create a REST API that connected to the ADs using custom code and staged the roles/profile data in MongoDB for all the accounts we were interested in.  This allows for very flexible processing of inclusions/exclusions as you might imagine.  Also if indexed and organised properly the MongoDB implementation will be very fast even for millions of objects (unless you want them all at once - don't do that, ensure you have server-side paging).  We had about 40k users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the Sitecore end we build a set of providers called &quot;AD Proxy&quot; - these simply connect directly to the REST APIs to get membership, role and profile information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's all well and good for the AD attributes but obviously doesn't work for authentication.  For that step we had the REST API connect live into the AD backend.  So all the membership and profile data was super-cached through MongoDB but password updates were instant as these were being fed back to the source in real time. We implemented some rate limiting with backoff (using Polly) on the login methods to prevent anyone overloading the AD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As it happens this setup was hosted in Azure on a VM and a VPN gave us the AD access we needed. At the time it wasn't possible to support that setup with an App Service but it is now, either through a Premium App Service tier which can be backed onto a Virtual Network (which in turn can be connected to a VPN) or via the App Service Environment - but that's quite a bit more expensive and probably overkill for just this one function.  A small VM or two for uptime is probably still the most cost-effective model.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-09-26T15:52:16.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7753" PostTypeId="1" CreationDate="2017-09-26T17:19:09.743" Score="2" ViewCount="105" Body="&lt;p&gt;I'm having issue with saving presentation details on standard values for a template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I navigate to the template and standard values I'd like to edit in content editor, I open presentation details window. Then I select rendering and, for example, clear data source. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I close the dialog for editing rendering with OK, and then I want to save the presentation details by pressing OK on the dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The dialog freezes, and I can see in the browser network tab following which takes up to 25 minutes to finish:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/shell/applications/content-editor?ic=Apps%2F48x48%2FPencil.png&amp;amp;he=Content%20Editor&amp;amp;cl=0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Payload of the request:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;__RESULT:&amp;lt;container VersionCreated=&quot;false&quot;&amp;gt;&#xA;  &amp;lt;shared&amp;gt;&#xA;    &amp;lt;r xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;&amp;gt;&#xA;      &amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot; l=&quot;{6706F848-B798-489F-9618-4D9946AEA084}&quot;&amp;gt;&#xA;        &amp;lt;p uid=&quot;{FA454E84-E5BD-4B42-A1D2-D523151058DC}&quot; key=&quot;topicpromowidget&quot; md=&quot;{8A1D784E-BEAC-4610-B613-7EE7A83B50C9}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{F1F15125-4136-40BB-8B50-610CA907D9CC}&quot; ph=&quot;searchbox&quot; uid=&quot;{1E645B14-E9E4-4152-8BAB-2A1915A20EA1}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{502314A7-612F-4492-B515-5B01807B2561}&quot; ph=&quot;share&quot; uid=&quot;{94675DB3-76AB-4AB0-8408-9C017C66B7FD}&quot; /&amp;gt;&#xA;        &amp;lt;r cac=&quot;1&quot; id=&quot;{5E445455-51C2-4F75-8E19-6578A7A1BBAB}&quot; ph=&quot;content&quot; uid=&quot;{51A61C29-3146-4202-A4C9-1E626D20D8F8}&quot; vbd=&quot;1&quot; vbdev=&quot;1&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{D13BBEE4-23C3-45D8-8FC8-A02AEB3A262C}&quot; ph=&quot;/header/h_search&quot; uid=&quot;{91F7793F-0002-4902-B0F9-F25DDAD0C92B}&quot; /&amp;gt;&#xA;        &amp;lt;r ds=&quot;&quot; id=&quot;{C328EB7C-CEC7-4987-980B-3718AD6EF607}&quot; par=&quot;&quot; ph=&quot;topicpromowidget&quot; uid=&quot;{B0232425-2182-42F1-9421-05BDB9280C14}&quot; /&amp;gt;&#xA;      &amp;lt;/d&amp;gt;&#xA;      &amp;lt;d id=&quot;{028EB522-0D24-4FCD-99C3-D1C752C599CE}&quot; l=&quot;{6706F848-B798-489F-9618-4D9946AEA084}&quot;&amp;gt;&#xA;        &amp;lt;p uid=&quot;{FF4D593D-E10D-48C8-A3ED-DC8837B4F181}&quot; key=&quot;topicpromowidget&quot; md=&quot;{8A1D784E-BEAC-4610-B613-7EE7A83B50C9}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{F1F15125-4136-40BB-8B50-610CA907D9CC}&quot; ph=&quot;searchbox&quot; uid=&quot;{1E645B14-E9E4-4152-8BAB-2A1915A20EA1}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{502314A7-612F-4492-B515-5B01807B2561}&quot; ph=&quot;share&quot; uid=&quot;{D077AE36-86C4-4D45-81AB-667B54FAE9C1}&quot; /&amp;gt;&#xA;        &amp;lt;r cac=&quot;1&quot; id=&quot;{5E445455-51C2-4F75-8E19-6578A7A1BBAB}&quot; ph=&quot;content&quot; uid=&quot;{51A61C29-3146-4202-A4C9-1E626D20D8F8}&quot; vbd=&quot;1&quot; vbdev=&quot;1&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{D13BBEE4-23C3-45D8-8FC8-A02AEB3A262C}&quot; ph=&quot;/header/h_search&quot; uid=&quot;{91F7793F-0002-4902-B0F9-F25DDAD0C92B}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{C328EB7C-CEC7-4987-980B-3718AD6EF607}&quot; ph=&quot;topicpromowidget&quot; uid=&quot;{297799F1-8702-43DF-BB4B-6390A08E9294}&quot; /&amp;gt;&#xA;      &amp;lt;/d&amp;gt;&#xA;      &amp;lt;d id=&quot;{74417593-C3E0-42C4-9CBC-767F4158DEC1}&quot; l=&quot;{6706F848-B798-489F-9618-4D9946AEA084}&quot;&amp;gt;&#xA;        &amp;lt;p uid=&quot;{C04E5649-6A57-4764-8B7F-B0F411CEFFA4}&quot; key=&quot;topicpromowidget&quot; md=&quot;{8A1D784E-BEAC-4610-B613-7EE7A83B50C9}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{F1F15125-4136-40BB-8B50-610CA907D9CC}&quot; ph=&quot;searchbox&quot; uid=&quot;{1E645B14-E9E4-4152-8BAB-2A1915A20EA1}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{502314A7-612F-4492-B515-5B01807B2561}&quot; ph=&quot;share&quot; uid=&quot;{D077AE36-86C4-4D45-81AB-667B54FAE9C1}&quot; /&amp;gt;&#xA;        &amp;lt;r cac=&quot;1&quot; id=&quot;{5E445455-51C2-4F75-8E19-6578A7A1BBAB}&quot; ph=&quot;content&quot; uid=&quot;{51A61C29-3146-4202-A4C9-1E626D20D8F8}&quot; vbd=&quot;1&quot; vbdev=&quot;1&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{D13BBEE4-23C3-45D8-8FC8-A02AEB3A262C}&quot; ph=&quot;/header/h_search&quot; uid=&quot;{91F7793F-0002-4902-B0F9-F25DDAD0C92B}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{C328EB7C-CEC7-4987-980B-3718AD6EF607}&quot; ph=&quot;topicpromowidget&quot; uid=&quot;{9C9D780F-38A3-4253-8A7B-DA6D41CE8C22}&quot; /&amp;gt;&#xA;      &amp;lt;/d&amp;gt;&#xA;    &amp;lt;/r&amp;gt;&#xA;  &amp;lt;/shared&amp;gt;&#xA;  &amp;lt;final&amp;gt;&#xA;    &amp;lt;r xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;&amp;gt;&#xA;      &amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot; l=&quot;{6706F848-B798-489F-9618-4D9946AEA084}&quot;&amp;gt;&#xA;        &amp;lt;p uid=&quot;{FA454E84-E5BD-4B42-A1D2-D523151058DC}&quot; key=&quot;topicpromowidget&quot; md=&quot;{8A1D784E-BEAC-4610-B613-7EE7A83B50C9}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{F1F15125-4136-40BB-8B50-610CA907D9CC}&quot; ph=&quot;searchbox&quot; uid=&quot;{1E645B14-E9E4-4152-8BAB-2A1915A20EA1}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{502314A7-612F-4492-B515-5B01807B2561}&quot; ph=&quot;share&quot; uid=&quot;{94675DB3-76AB-4AB0-8408-9C017C66B7FD}&quot; /&amp;gt;&#xA;        &amp;lt;r cac=&quot;1&quot; id=&quot;{5E445455-51C2-4F75-8E19-6578A7A1BBAB}&quot; ph=&quot;content&quot; uid=&quot;{51A61C29-3146-4202-A4C9-1E626D20D8F8}&quot; vbd=&quot;1&quot; vbdev=&quot;1&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{D13BBEE4-23C3-45D8-8FC8-A02AEB3A262C}&quot; ph=&quot;/header/h_search&quot; uid=&quot;{91F7793F-0002-4902-B0F9-F25DDAD0C92B}&quot; /&amp;gt;&#xA;        &amp;lt;r ds=&quot;&quot; id=&quot;{C328EB7C-CEC7-4987-980B-3718AD6EF607}&quot; par=&quot;&quot; ph=&quot;topicpromowidget&quot; uid=&quot;{B0232425-2182-42F1-9421-05BDB9280C14}&quot; /&amp;gt;&#xA;      &amp;lt;/d&amp;gt;&#xA;      &amp;lt;d id=&quot;{028EB522-0D24-4FCD-99C3-D1C752C599CE}&quot; l=&quot;{6706F848-B798-489F-9618-4D9946AEA084}&quot;&amp;gt;&#xA;        &amp;lt;p uid=&quot;{FF4D593D-E10D-48C8-A3ED-DC8837B4F181}&quot; key=&quot;topicpromowidget&quot; md=&quot;{8A1D784E-BEAC-4610-B613-7EE7A83B50C9}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{F1F15125-4136-40BB-8B50-610CA907D9CC}&quot; ph=&quot;searchbox&quot; uid=&quot;{1E645B14-E9E4-4152-8BAB-2A1915A20EA1}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{502314A7-612F-4492-B515-5B01807B2561}&quot; ph=&quot;share&quot; uid=&quot;{D077AE36-86C4-4D45-81AB-667B54FAE9C1}&quot; /&amp;gt;&#xA;        &amp;lt;r cac=&quot;1&quot; id=&quot;{5E445455-51C2-4F75-8E19-6578A7A1BBAB}&quot; ph=&quot;content&quot; uid=&quot;{51A61C29-3146-4202-A4C9-1E626D20D8F8}&quot; vbd=&quot;1&quot; vbdev=&quot;1&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{D13BBEE4-23C3-45D8-8FC8-A02AEB3A262C}&quot; ph=&quot;/header/h_search&quot; uid=&quot;{91F7793F-0002-4902-B0F9-F25DDAD0C92B}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{C328EB7C-CEC7-4987-980B-3718AD6EF607}&quot; ph=&quot;topicpromowidget&quot; uid=&quot;{297799F1-8702-43DF-BB4B-6390A08E9294}&quot; /&amp;gt;&#xA;      &amp;lt;/d&amp;gt;&#xA;      &amp;lt;d id=&quot;{74417593-C3E0-42C4-9CBC-767F4158DEC1}&quot; l=&quot;{6706F848-B798-489F-9618-4D9946AEA084}&quot;&amp;gt;&#xA;        &amp;lt;p uid=&quot;{C04E5649-6A57-4764-8B7F-B0F411CEFFA4}&quot; key=&quot;topicpromowidget&quot; md=&quot;{8A1D784E-BEAC-4610-B613-7EE7A83B50C9}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{F1F15125-4136-40BB-8B50-610CA907D9CC}&quot; ph=&quot;searchbox&quot; uid=&quot;{1E645B14-E9E4-4152-8BAB-2A1915A20EA1}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{502314A7-612F-4492-B515-5B01807B2561}&quot; ph=&quot;share&quot; uid=&quot;{D077AE36-86C4-4D45-81AB-667B54FAE9C1}&quot; /&amp;gt;&#xA;        &amp;lt;r cac=&quot;1&quot; id=&quot;{5E445455-51C2-4F75-8E19-6578A7A1BBAB}&quot; ph=&quot;content&quot; uid=&quot;{51A61C29-3146-4202-A4C9-1E626D20D8F8}&quot; vbd=&quot;1&quot; vbdev=&quot;1&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{D13BBEE4-23C3-45D8-8FC8-A02AEB3A262C}&quot; ph=&quot;/header/h_search&quot; uid=&quot;{91F7793F-0002-4902-B0F9-F25DDAD0C92B}&quot; /&amp;gt;&#xA;        &amp;lt;r id=&quot;{C328EB7C-CEC7-4987-980B-3718AD6EF607}&quot; ph=&quot;topicpromowidget&quot; uid=&quot;{9C9D780F-38A3-4253-8A7B-DA6D41CE8C22}&quot; /&amp;gt;&#xA;      &amp;lt;/d&amp;gt;&#xA;    &amp;lt;/r&amp;gt;&#xA;  &amp;lt;/final&amp;gt;&#xA;&amp;lt;/container&amp;gt;&#xA;__PIPELINE:512B876B25B84100B86C1D63DCDCD330&#xA;__CSRFTOKEN:/wEFJDA0YzVkMmZhLWQ3NDUtNDZjOS04ZDc3LWMyNTc1ZDdmMjUzMg==&#xA;__EVENTTARGET:&#xA;__EVENTARGUMENT:&#xA;__VIEWSTATE:5324B75A07C6415C98F56D7369376B5B&#xA;__VIEWSTATE:&#xA;scLanguage:en&#xA;RadSpell:&#xA;RadSpell_dialogOpener_Window_ClientState:&#xA;RadSpell_dialogOpener_ClientState:&#xA;RadSpell_ClientState:&#xA;scActiveRibbonStrip:Ribbon1B9C0A8E346644E1BCB89B52F8BD3A4B_Strip_PresentationStrip&#xA;scEditorTabs:&#xA;scActiveEditorTab:&#xA;scPostAction:&#xA;scShowEditor:1&#xA;scSections:&#xA;scGalleries:&#xA;TreeSearch:{1B9C0A8E-3466-44E1-BCB8-9B52F8BD3A4B}&#xA;SearchOptionsValue0:&#xA;SearchOptionsName0:_name&#xA;SearchOptionsAddCriteria:Field&#xA;ToolTipManager1B9C0A8E346644E1BCB89B52F8BD3A4B_ClientState:&#xA;FIELD544763151:&#xA;FIELD544763154:&#xA;FIELD544763156:&#xA;FIELD544763157:&#xA;FIELD544763166:&#xA;FIELD544763167_Value:&#xA;FIELD544763168:&#xA;FIELD544763169:&#xA;FIELD544763171:&#xA;FIELD544763172:&#xA;FIELD544763173:&#xA;FIELD544763174:&#xA;FIELD544763175:&#xA;FIELD544763176:&#xA;FIELD544763177:&#xA;FIELD544763180:&#xA;FIELD544763182:&#xA;FIELD544763183:&#xA;FIELD544763184:&#xA;FIELD544763185:&#xA;FIELD544763186:&#xA;FIELD544763187:&#xA;FIELD544763188:&#xA;FIELD544763189:&#xA;FIELD544763190:&#xA;FIELD544763191:&#xA;FIELD544763192:&#xA;FIELD544763193:&#xA;FIELD544763194:1&#xA;FIELD544763196:&#xA;FIELD544763198:&#xA;FIELD544763199:&#xA;FIELD544763200:&#xA;FIELD544763203:&#xA;FIELD544763205:&#xA;FIELD544763206:&#xA;FIELD544763207:0&#xA;FIELD544763208:&#xA;FIELD544763210:&#xA;FIELD544763211:&#xA;FIELD544763212:&#xA;FIELD544763213:&#xA;FIELD544763215:&#xA;FIELD544763216:&#xA;FIELD544763218_all_Selected:0B42DC055CF94DD59A3A8BDF11BE2B88&#xA;FIELD544763218_all_Database:master&#xA;FIELD544763218_all_Parameters:?dv=Master&amp;amp;fi&#xA;FIELD544763218_all_Language:en&#xA;FIELD544763221:&#xA;FIELD544763225:&#xA;FIELD544763226:&#xA;FIELD544763227_Value:&#xA;FIELD544763229_Value:&#xA;FIELD544763233:&#xA;FIELD544763234:&#xA;FIELD544763235_all_Selected:D25A8DEA1AA0453788C607E6388E22D3&#xA;FIELD544763235_all_Database:master&#xA;FIELD544763235_all_Parameters:?dv=Master&amp;amp;fi&#xA;FIELD544763235_all_Language:en&#xA;FIELD544763236:&#xA;FIELD544763237:&#xA;FIELD544763238_picker_date:&#xA;FIELD544763238_picker_time:&#xA;FIELD544763239_picker_date:&#xA;FIELD544763239_picker_time:&#xA;FIELD544763241_picker_date:&#xA;FIELD544763241_picker_time:&#xA;FIELD544763242_picker_date:&#xA;FIELD544763242_picker_time:&#xA;FIELD544763245:sitecore\admin&#xA;FIELD544763247_picker_date:10/3/2014&#xA;FIELD544763247_picker_time:3:38 PM&#xA;FIELD544763248:sitecore\admin&#xA;FIELD544763249:f7882b25-d5d6-4cbe-8046-cb89d2ee54e4&#xA;FIELD544763250_picker_date:9/26/2017&#xA;FIELD544763250_picker_time:6:48 PM&#xA;FIELD544763251:sitecore\jczopek&#xA;FIELD544763252_Value:&#xA;filterBoxFIELD544763252:Type here to search&#xA;FIELD544763253_picker_date:&#xA;FIELD544763253_picker_time:&#xA;FIELD544763254_picker_date:&#xA;FIELD544763254_picker_time:&#xA;FIELD544763255_picker_date:&#xA;FIELD544763255_picker_time:&#xA;FIELD544763256:&#xA;FIELD544763263:&#xA;FIELD544763264:&#xA;FIELD544763266:Workflows/Worklfow&#xA;__CurrentItem:sitecore://master/{1B9C0A8E-3466-44E1-BCB8-9B52F8BD3A4B}?lang=en&amp;amp;ver=1&#xA;__PrimaryItem:sitecore://master/{1B9C0A8E-3466-44E1-BCB8-9B52F8BD3A4B}?lang=en&amp;amp;ver=1&#xA;scValidatorsKey:VK_96473FB95AC04FE5BFF8D4AC05A22FFA&#xA;scValidatorsUpdateDelay:750&#xA;__FRAMENAME:CE_D5189FB8843E4CB38A630A2CB312A910&#xA;scHasValidators:1&#xA;FIELD544763158:&#xA;FIELD544763159:&#xA;FIELD544763160:&#xA;FIELD544763161:&#xA;FIELD544763162:&#xA;FIELD544763163:&#xA;FIELD544763164:&#xA;FIELD544763165:&#xA;FIELD544763170:&#xA;FIELD544763179:&#xA;FIELD544763214:&#xA;FIELD544763232:&#xA;FIELD544763257:&#xA;FIELD544763262:&#xA;FIELD544763265:&amp;lt;r /&amp;gt;&#xA;FIELD544763152:&#xA;FIELD544763155:&#xA;FIELD544763178:&#xA;FIELD544763150:All&#xA;FIELD544763181:Topic&#xA;FIELD544763209:{C1FF011E-B02A-44E3-8444-9FC89CFC28CE}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does sitecore go over all items based on the template that I'm editing presentation details for? Is there way to improve it's performance?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;EDIT 1:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;While running another test, I'm looking on performance and I can see high utilization of disk by SQL server. I suspect Sitecore might be going through all the items that use specific temaplate - in our particular case it's around 6k items in english language.&lt;/p&gt;&#xA;" OwnerUserId="1329" LastEditorUserId="1329" LastEditDate="2017-09-27T08:56:23.290" LastActivityDate="2017-09-27T08:56:23.290" Title="Saving presentation details kills browser" Tags="|content-editor|presentation|templates|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7754" PostTypeId="1" AcceptedAnswerId="7757" CreationDate="2017-09-26T17:31:12.827" Score="5" ViewCount="1658" Body="&lt;p&gt;I'm looking for an option to compare programatically using SPE all the fields of an item that have changed from the latest version x the version prior to that and highlight what changed.&#xA;Have anyone done anything like that? &lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="312" LastEditDate="2019-09-19T11:45:01.553" LastActivityDate="2019-09-19T11:45:01.553" Title="Compare item versions with Sitecore PowerShell Extension" Tags="|powershell-extensions|versions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7755" PostTypeId="1" AcceptedAnswerId="8133" CreationDate="2017-09-26T17:47:17.133" Score="4" ViewCount="548" Body="&lt;p&gt;I am setting up personalization on my site (Sitecore 8.2 Update 2).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have set up rules, pattern cards, etc. but apparently have something wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore Experience Editor, I see:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QALJ0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QALJ0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yeah, you have detected my pattern card correctly!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But yet, the personalization that is setup under Presentation Details seems to be ignored?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qDGne.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qDGne.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;+&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why the disparity and how do I correct this issue?&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2017-10-23T22:53:14.487" Title="Personalization Rules Being Ignored In Experience Editor" Tags="|xdb|personalization|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="7756" PostTypeId="1" AcceptedAnswerId="7792" CreationDate="2017-09-26T18:49:03.903" Score="6" ViewCount="293" Body="&lt;p&gt;I have a client with a privacy policy that says we will respect the DNT header coming from a browser. Does Sitecore automatically not track DNT visits or do I specifically have to disable tracking for that visitor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best approach assuming the latter?&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-09-29T14:07:32.293" Title="How does Sitecore XDB handle a DNT=1 (do-not-track) request from a browser?" Tags="|xdb|tracking|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7757" PostTypeId="2" ParentId="7754" CreationDate="2017-09-26T19:07:14.243" Score="11" Body="&lt;p&gt;I found some code from John West some time back and made that into a &lt;a href=&quot;https://github.com/michaellwest/Sitecore-Visual-Compare&quot; rel=&quot;nofollow noreferrer&quot;&gt;module&lt;/a&gt; on Github.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could take the below snippet I converted to PowerShell and make it a report.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Create a list of field names on the Standard Template. This will help us filter out extraneous fields.&#xA;$standardTemplate = Get-Item -Path &quot;master:&quot; -ID &quot;{1930BBEB-7805-471A-A3BE-4858AC7CF696}&quot;&#xA;$standardTemplateTemplateItem = [Sitecore.Data.Items.TemplateItem]$standardTemplate&#xA;$standardFields = $standardTemplateTemplateItem.OwnFields + $standardTemplateTemplateItem.Fields | Select-Object -ExpandProperty key -Unique&#xA;&#xA;$itemTemplate = Get-Item -Path &quot;master:&quot; -ID &quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&quot;&#xA;$itemTemplateTemplateItem = [Sitecore.Data.Items.TemplateItem]$itemTemplate&#xA;$itemTemplateFields = $itemTemplateTemplateItem.OwnFields + $itemTemplateTemplateItem.Fields | Select-Object -ExpandProperty key -Unique&#xA;&#xA;$filterFields = $itemTemplateFields | Where-Object { $standardFields -notcontains $_ } | Sort-Object&#xA;&#xA;$item1 = Get-Item -Path &quot;master:&quot; -ID &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot; -Version 1&#xA;$item2 = Get-Item -Path &quot;master:&quot; -ID &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot; -Version 2&#xA;&#xA;foreach($filterField in $filterFields) {&#xA;    $first = $item1.$filterField&#xA;    $second = $item2.$filterField&#xA;&#xA;    if($first -eq $second) {&#xA;        Write-Host &quot;$($filterField) : NoChange&quot;&#xA;        continue&#xA;    }&#xA;&#xA;    $engine = New-Object Sitecore.Text.Diff.DiffEngine&#xA;    $source = New-Object Sitecore.Text.Diff.DiffListHtml($first)&#xA;    $destination = New-Object Sitecore.Text.Diff.DiffListHtml($second)&#xA;    $engine.ProcessDiff($source, $destination, [Sitecore.Text.Diff.DiffEngineLevel]::SlowPerfect) &amp;gt; $null&#xA;&#xA;    foreach($span in $engine.DiffReport()) {&#xA;        if($span -and $span.Status -ne &quot;NoChange&quot;) {&#xA;            Write-Host &quot;$($filterField) : $($span.Status)&quot;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;$span.Status&lt;/code&gt; indicates the status of NoChange, Replace, DeleteSource, or AddDestination. I recommend you install the module while you test so you can make sure your report is accurate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is where the magic happens in the &lt;code&gt;FieldDifferenceEvaluator.cs&lt;/code&gt; file. I'm creating html &lt;code&gt;span&lt;/code&gt;s and injecting the styling.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public string GetDifferences(string first, string second)&#xA;{&#xA;    var engine = new DiffEngine();&#xA;    var source = new DiffListHtml(first);&#xA;    var destination = new DiffListHtml(second);&#xA;&#xA;    engine.ProcessDiff(source, destination, DiffEngineLevel.SlowPerfect);&#xA;    var builder = new StringBuilder();&#xA;&#xA;    foreach (DiffResultSpan span in engine.DiffReport())&#xA;    {&#xA;        if (span == null) continue;&#xA;        switch (span.Status)&#xA;        {&#xA;            case DiffResultSpanStatus.NoChange:&#xA;                Append(builder, first, span.SourceIndex, span.Length);&#xA;                break;&#xA;            case DiffResultSpanStatus.Replace:&#xA;                Append(builder, first, span.SourceIndex, span.Length, &quot;green&quot;);&#xA;                Append(builder, second, span.DestIndex, span.Length, &quot;red;text-decoration:line-through;font-weight:bold&quot;);&#xA;                break;&#xA;            case DiffResultSpanStatus.DeleteSource:&#xA;                Append(builder, first, span.SourceIndex, span.Length, &quot;red;text-decoration:line-through;font-weight:bold&quot;);&#xA;                break;&#xA;            case DiffResultSpanStatus.AddDestination:&#xA;                Append(builder, second, span.DestIndex, span.Length, &quot;blue;font-weight:bold&quot;);&#xA;                break;&#xA;        }&#xA;    }&#xA;&#xA;    return builder.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-09-18T00:43:06.290" LastActivityDate="2019-09-18T00:43:06.290" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7758" PostTypeId="1" CreationDate="2017-09-27T10:25:07.397" Score="3" ViewCount="389" Body="&lt;p&gt;I have an issue with access child files using Sitecore Powershell script &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have created powershell script under&#xA;   &lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/Tasks&lt;/code&gt; to copy&#xA;   files from a physical folder &lt;code&gt;E:\FolderA\&lt;/code&gt; to another folder under&#xA;   my site &lt;code&gt;E:\inetpub\wwwroot\site\upload\FolderA\&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;The powershell script didn't return child files and return 0 files&#xA;   found.&lt;/li&gt;&#xA;&lt;li&gt;Note that if I save the script in any directory out from Sitecore and&#xA;run it using powershell it works and copy all the data.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is my script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$sourcepath = &quot;E:\FolderA\&quot; &#xA;$targetpath = &quot;E:\inetpub\wwwroot\site\upload\FolderA\&quot;&#xA;&quot;$(get-date -f yyyyMMdd-HHmmss) Getting files from source $sourcepath&quot; | &#xA; out-file -filepath $logFile -append&#xA;&#xA;#$allsourcefiles = get-childitem -path $sourcepath&#xA;#&quot;$(get-date -f yyyyMMdd-HHmmss) Found &quot; + $allsourcefiles.Count | out-file &#xA; -filepath $logFile -append&#xA;&#xA;$initialDate = (Get-Date).AddDays(-1)&#xA;$endDate = (Get-Date).AddDays(1)&#xA;$allsourcefiles = get-childitem -path $sourcepath&#xA;&quot;$(get-date -f yyyyMMdd-HHmmss) Total found &quot; + $allsourcefiles.Count | out-&#xA;file -filepath $logFile -append&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="635" LastEditorUserId="73" LastEditDate="2017-12-21T20:39:13.630" LastActivityDate="2018-01-20T20:39:15.000" Title="Unable to access child files using physical path" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="4" ClosedDate="2018-01-21T03:50:51.400" ContentLicense="CC BY-SA 3.0" />
  <row Id="7759" PostTypeId="1" AcceptedAnswerId="7768" CreationDate="2017-09-27T12:38:11.650" Score="8" ViewCount="713" Body="&lt;p&gt;I need to add some custom html attributes to WFFM submit button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that it is possible to create custom field type for WFFM it is quite easy to do... but it is no way to do it for submit.&#xA;basically it is located in &lt;em&gt;Sitecore.Form.Web.UI.Controls.FormSubmit&lt;/em&gt; namespace at &lt;em&gt;Sitecore.Forms.Core&lt;/em&gt; lib. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;in WFFM form configuration files it is noting about it.&#xA;Any ideas how to do it ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;it seems like should be override &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Sitecore.Forms.Mvc.Html.HtmlHelperExtensions&#xA;public static MvcHtmlString BootstrapSubmit(this HtmlHelper helper, string title = null)&#xA;{&#xA;    TagBuilder tagBuilder = new TagBuilder(&quot;input&quot;);&#xA;    tagBuilder.Attributes.Add(&quot;type&quot;, &quot;submit&quot;);&#xA;    ISubmitSettings submitSettings = helper.ViewData.Model as ISubmitSettings;&#xA;    string value = string.Empty;&#xA;    string value2 = string.Empty;&#xA;    string text = string.Empty;&#xA;    string str = string.Empty;&#xA;    if (submitSettings != null)&#xA;    {&#xA;        value = submitSettings.SubmitButtonSize;&#xA;        value2 = submitSettings.SubmitButtonType;&#xA;        text = submitSettings.SubmitButtonName;&#xA;        str = submitSettings.SubmitButtonPosition;&#xA;    }&#xA;    tagBuilder.Attributes.Add(&quot;value&quot;, title ?? text);&#xA;    StringBuilder stringBuilder = new StringBuilder();&#xA;    stringBuilder.Append(&quot;btn&quot;).Append(&quot; &quot;).Append(value).Append(&quot; &quot;).Append(value2);&#xA;    IStyleSettings styleSettings = helper.ViewData.Model as IStyleSettings;&#xA;    if (styleSettings != null &amp;amp;&amp;amp; styleSettings.FormType != FormType.Inline)&#xA;    {&#xA;        TagBuilder tagBuilder2 = new TagBuilder(&quot;div&quot;);&#xA;        tagBuilder2.AddCssClass((&quot;form-submit-border &quot; + str).Trim());&#xA;        tagBuilder.AddCssClass(stringBuilder.ToString().Trim());&#xA;        TagBuilder expr_10F = tagBuilder2;&#xA;        expr_10F.InnerHtml += tagBuilder;&#xA;        return MvcHtmlString.Create(tagBuilder2.ToString());&#xA;    }&#xA;    tagBuilder.AddCssClass(stringBuilder.ToString().Trim());&#xA;    return MvcHtmlString.Create(tagBuilder.ToString());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="1324" LastEditDate="2017-09-27T14:28:42.310" LastActivityDate="2017-09-28T08:59:23.387" Title="WFFM add custom html attributes to submit button" Tags="|wffm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7762" PostTypeId="2" ParentId="7336" CreationDate="2017-09-27T15:43:39.400" Score="2" Body="&lt;p&gt;The solution to the answer as in the Sitecore event handler pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our project had a custom event that initialized a constructor that threw and exception. This made the entire event pipeline fail, and thus require it to be rebuild. Rebuilding the event pipeline during login made WFFM throw an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code in question was this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end&quot; xdt:Locator=&quot;Match(name)&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;SCommerce.Scheduling.Administration.Logic.SitecoreQuartzTriggerUpdater, SCommerce.Scheduling.Administration&quot; method=&quot;RefreshTriggers&quot; xdt:Transform=&quot;Insert&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was only able to solve this issue with the help from the Sitecore support team. To read more see the entire thread here: &lt;a href=&quot;https://support.sitecore.net/helpdesk/viewitem?id=492421&amp;amp;type=defects&amp;amp;force_use_number=false&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.sitecore.net/helpdesk/viewitem?id=492421&amp;amp;type=defects&amp;amp;force_use_number=false&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and to get the final answer from Sitecore you can read it here:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I think I might know the culprit (atleast have some hunches).&#xA;  When an event occurs, Sitecore &quot;pre-builds&quot; all the required handlers which might be needed in future and saves them to Event.configSubscribers field. Judging by the stack trace you provided, this field must be null, or the chain of constructors would not have been launched. Thus, something prevents the collection from initializing. In the old logs you provided, the WFFM-related exception is surrounded by another event-related error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;at Sitecore.Events.Event.GetConfigSubscribers()&#xA;at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;at Sitecore.Jobs.Job.Start()&#xA;at Sitecore.Jobs.DefaultJobManager.RunJob(Job job)&#xA;at Sitecore.Jobs.DefaultJobManager.ProcessQueue()&#xA;at Sitecore.Jobs.DefaultJobManager.Start(JobOptions options)&#xA;at Sitecore.CES.DeviceDetection.Netbiscuits.DeviceDetectionClient.JobManagerWrapper.Start(JobOptions options)&#xA;at Sitecore.CES.DeviceDetection.Netbiscuits.DeviceDetectionClient.Tick()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ArgumentNullException&#xA;Message: Value cannot be null.&#xA;Parameter name: httpContext&#xA;Source: SCommerce.Core&#xA;   at SCommerce.Core.Context.RequestContext..ctor(HttpContext httpContext) in D:\git\kamstrup-Sitecore8\src\SCommerce.Core\Context\RequestContext.cs:line 26&#xA;   at SCommerce.Core.Context.WebContext.get_Request() in D:\git\kamstrup-Sitecore8\src\SCommerce.Core\Context\WebContext.cs:line 41&#xA;   at SCommerce.Website.SCom.App_Code.ComponentsConfiguration.SchedulingConfiguration.GetSchedulingAdministrationConfiguration() in D:\git\kamstrup-Sitecore8\src\SCommerce.Website\SCom\App_Code\ComponentsConfiguration\SchedulingConfiguration.cs:line 10&#xA;   at SCommerce.Scheduling.Administration.Logic.SitecoreQuartzTriggerUpdater..ctor()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;Perhaps, the failed initialization of other handler prevents the timely initialization of the whole configSubscribers collection. Could you please try to disable the &quot;SCommerce.Scheduling.Administration.Logic.SitecoreQuartzTriggerUpdater&quot; event handler and see if the issue can be reproduced again?&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Also, I would like to clarify that the fix itself would be to get rid of ArgumentNullException in SCommerce.Core . Please re-check the code for SCommerce.Core.Context.RequestContext and make sure that the httpContext value in it is always initialized. This way, the relevant event handler will always be initialized and the login problems should not occur again.&#xA;  Let me know if the issue occurs even after the SCommerce event fix.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Best regards,&#xA;  Artem&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2367" LastEditorUserId="2367" LastEditDate="2017-10-24T13:14:18.367" LastActivityDate="2017-10-24T13:14:18.367" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7764" PostTypeId="1" CreationDate="2017-09-27T17:56:26.390" Score="1" ViewCount="515" Body="&lt;p&gt;I am setting up an environment with the databases stored on Amazon RDS. I am running into a problem with using SQL Session State. I get the YSOD with this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Parser Error Message: Synonym 'Applications' refers to an invalid object.&#xA;&#xA;Source Error: &#xA;&#xA;&#xA;Line 354:    &amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;mssql&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot;&amp;gt;&#xA;Line 355:      &amp;lt;providers&amp;gt;&#xA;Line 356:        &amp;lt;add name=&quot;mssql&quot; type=&quot; Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;private&quot; /&amp;gt;&#xA;Line 357:      &amp;lt;/providers&amp;gt;&#xA;Line 358:    &amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which I have seen before. I have solved this by re-running the sql boost scripts on the session database. BUT, on RDS, I dont seem to be able to run this script. Even as the SA I dont have permission to alter Synonyms or add SPROCs. Has anyone else run into this and come up with a workaround?&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="70" LastEditDate="2017-10-23T15:08:46.760" LastActivityDate="2017-10-23T15:08:46.760" Title="Amazon RDS and SQL Session State" Tags="|sql-database|session-state|amazon-web-services|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7765" PostTypeId="1" AcceptedAnswerId="7766" CreationDate="2017-09-27T19:43:14.143" Score="2" ViewCount="307" Body="&lt;p&gt;Does Sitecore support any options for encrypting analytics data stored in MongoDB? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of our clients wants to store personal information in xDB, but has required that we verify that the data can be stored encrypted while at rest. I took a brief look online and through the decompiled source and I don't see any way to configure this, natively. I'm not sure if Sitecore currently supports encrypting data in MongoDB, but if anyone has found a way to do so then that is what I'm looking for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For clarification, I am aware that MongoDB supports SSL for encrypting the communication of data. Specifically, I am looking for a way to encrypt that data while at rest. &lt;/p&gt;&#xA;" OwnerUserId="423" LastActivityDate="2017-09-27T19:58:01.090" Title="Encrypting Analytics Data in MongoDB" Tags="|xdb|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7766" PostTypeId="2" ParentId="7765" CreationDate="2017-09-27T19:57:50.157" Score="4" Body="&lt;p&gt;According to the &lt;a href=&quot;https://kb.sitecore.net/articles/633863&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore MongoDB compatibility table&lt;/a&gt;, if you are using Sitecore 8.2 and you are using Mongo 3.2.1 Enterprise with data-at-rest encryption (Wired Tiger only), it should be supported by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oS3Ee.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oS3Ee.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are still using the MMAPv1 database engine with Mongo, you can &lt;a href=&quot;https://docs.mongodb.com/v3.0/release-notes/3.0-upgrade/&quot; rel=&quot;nofollow noreferrer&quot;&gt;read this&lt;/a&gt; guide for the steps to convert a database from MMAPv1 to WiredShark.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-09-27T19:57:50.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7767" PostTypeId="2" ParentId="7765" CreationDate="2017-09-27T19:58:01.090" Score="1" Body="&lt;p&gt;You can simply encrypt the data in custom facets on the application layer just before saving in to the MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for the standard facets and contact details, Sitecore do not have such functionality out of the box. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on below article about security encryption at rest. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Storage Encryption: &lt;a href=&quot;https://docs.mongodb.org/v3.0/core/security-encryption-at-rest/#storage-encryption&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.mongodb.org/v3.0/core/security-encryption-at-rest/#storage-encryption&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-09-27T19:58:01.090" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7768" PostTypeId="2" ParentId="7759" CreationDate="2017-09-28T08:36:03.443" Score="6" Body="&lt;p&gt;You exactly can override this. See the solution for that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all you need to implement a your custom html helper which should have updated method for rendering the submit button:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Text;&#xA;using System.Web.Mvc;&#xA;using Sitecore.Forms.Mvc.Interfaces;&#xA;using Sitecore.WFFM.Abstractions.Data.Enums;&#xA;&#xA;namespace Namespace.SC.Extensions&#xA;{&#xA;    public static class WFFMHtmlHelperExtensions&#xA;    {&#xA;        public static MvcHtmlString CustomBootstrapSubmit(this HtmlHelper helper, string title = null)&#xA;        {&#xA;            TagBuilder tagBuilder1 = new TagBuilder(&quot;input&quot;);&#xA;            tagBuilder1.Attributes.Add(&quot;type&quot;, &quot;submit&quot;);&#xA;            ISubmitSettings model1 = helper.ViewData.Model as ISubmitSettings;&#xA;            string str1 = string.Empty;&#xA;            string str2 = string.Empty;&#xA;            string str3 = string.Empty;&#xA;            string str4 = string.Empty;&#xA;            if (model1 != null)&#xA;            {&#xA;                str1 = model1.SubmitButtonSize;&#xA;                str2 = model1.SubmitButtonType;&#xA;                str3 = model1.SubmitButtonName;&#xA;                str4 = model1.SubmitButtonPosition;&#xA;            }&#xA;            tagBuilder1.Attributes.Add(&quot;value&quot;, title ?? str3);&#xA;&#xA;        //*** You can add your cusstom attribute here:&#xA;&#xA;        tagBuilder1.Attributes.Add(&quot;data-customattribute&quot;, &quot;some value&quot;);&#xA;&#xA;        //** Adding custom attribute&#xA;&#xA;        StringBuilder stringBuilder = new StringBuilder();&#xA;        stringBuilder.Append(&quot;btn&quot;).Append(&quot; &quot;).Append(str1).Append(&quot; &quot;).Append(str2);&#xA;        IStyleSettings model2 = helper.ViewData.Model as IStyleSettings;&#xA;        if (model2 != null &amp;amp;&amp;amp; model2.FormType != FormType.Inline)&#xA;        {&#xA;            TagBuilder tagBuilder2 = new TagBuilder(&quot;div&quot;);&#xA;            tagBuilder2.AddCssClass((&quot;form-submit-border &quot; + str4).Trim());&#xA;            tagBuilder1.AddCssClass(stringBuilder.ToString().Trim());&#xA;            tagBuilder2.InnerHtml += (string)(object)tagBuilder1;&#xA;            return MvcHtmlString.Create(tagBuilder2.ToString());&#xA;        }&#xA;        tagBuilder1.AddCssClass(stringBuilder.ToString().Trim());&#xA;        return MvcHtmlString.Create(tagBuilder1.ToString());&#xA;    }&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, after installing WFFM, you should have the following view (FormViewModel.cshtml):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BalN2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BalN2.png&quot; alt=&quot;FormViewModel.cshtml&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you need to find a code there which is below and override it with your custom helper:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Before:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JGyJq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JGyJq.png&quot; alt=&quot;wffm submit button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;After:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Xac3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Xac3.png&quot; alt=&quot;after appling changes&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Don't forget to add reference to your custom helper!&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-09-28T08:59:23.387" LastActivityDate="2017-09-28T08:59:23.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7769" PostTypeId="1" CreationDate="2017-09-28T09:01:38.423" Score="0" ViewCount="328" Body="&lt;p&gt;I want to add a new section to the left panel of the form designer for a custom WFFM field I created, I tried the following code but it didn't work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[VisualFieldType(typeof(EditField))]&#xA;[VisualProperty(&quot;Max file size limit (MB) :&quot;, 5)]&#xA;[VisualCategory(&quot;Upload&quot;)]&#xA;public string FileSizeLimit&#xA;{&#xA;    get&#xA;    {&#xA;&#xA;    }&#xA;    set&#xA;    {&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Following how the custom field I created looks like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MVCSecureFileUpload : Sitecore.Forms.Mvc.ViewModels.Fields.FileUploadField&#xA;{&#xA;    [LimitFileTypeAttribute]&#xA;    [LimitFileSizeAttribute]&#xA;    public override HttpPostedFileBase Value { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Ideas?&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2017-09-28T09:01:38.423" Title="Adding Custom Section and Properties to a Custom WFFM Field" Tags="|wffm|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7770" PostTypeId="1" AcceptedAnswerId="7778" CreationDate="2017-09-28T10:48:07.067" Score="4" ViewCount="301" Body="&lt;p&gt;When I click 'Browse' on my image field and start selecting an image in Media Browser (Sitecore 8.2) I see two tabs: Search and Browse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already restricted my image field to point to a very specific folder. The Search tab doesn't make any sense here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I remove the search tab completely? I don't want this global solution:&#xA;&lt;code&gt;&amp;lt;override xmlControl=&quot;Sitecore.Shell.Applications.Media.MediaBrowser&quot; with=&quot;/sitecore/client/Sitecore/Common/Dialogs/SelectMediaViaTreeDialog&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o4e44.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o4e44.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's for one field only.&lt;/p&gt;&#xA;" OwnerUserId="767" LastEditorUserId="767" LastEditDate="2017-09-28T11:56:38.100" LastActivityDate="2017-09-28T19:35:14.573" Title="Removing Search Tab in Media Browser for a field" Tags="|experience-editor|content-editor|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7771" PostTypeId="1" CreationDate="2017-09-28T11:19:49.720" Score="12" ViewCount="1052" Body="&lt;p&gt;I want to make a package containing only the latest version of a selection/tree of Sitecore items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way I can make achieve this with the Package Designer?&lt;/p&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="73" LastEditDate="2017-09-28T12:06:25.093" LastActivityDate="2017-09-28T14:47:34.483" Title="How to take the only latest version of items as package" Tags="|packages|package-designer|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7773" PostTypeId="2" ParentId="7771" CreationDate="2017-09-28T13:20:22.273" Score="12" Body="&lt;p&gt;Yes you can but not with 1 click.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will require some manual work but if your tree is not too big then it would be fine.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the Package Designer.&lt;/li&gt;&#xA;&lt;li&gt;Add the items you want (Add Items statically)&lt;/li&gt;&#xA;&lt;li&gt;Type the Source Name&lt;/li&gt;&#xA;&lt;li&gt;Select the SOURCE and click on PREVIEW&lt;/li&gt;&#xA;&lt;li&gt;Select the item versions you want to remove, right click and EXCLUDE&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iZget.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iZget.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that helps :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the best&lt;/p&gt;&#xA;" OwnerUserId="1203" LastEditorUserId="1203" LastEditDate="2017-09-28T14:47:34.483" LastActivityDate="2017-09-28T14:47:34.483" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7775" PostTypeId="1" CreationDate="2017-09-28T16:38:06.780" Score="4" ViewCount="465" Body="&lt;p&gt;We have complex requirement where we want to sort the renderings at run time based on Filters For example : Assume that we have controller renderings say BC1,BC2,BC3,BC4 in sequence mentioned. Now problem this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now we have filters in system where based on filtration BC1 may get removed and BC2 will take position of BC1 also BC3 will get position of BC2 and so on&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can some body help me with possible design&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&#xA;UG&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="1533" LastEditDate="2017-09-28T17:30:17.227" LastActivityDate="2017-09-30T07:35:32.553" Title="Sitecore Renderings Sorting" Tags="|presentation|" AnswerCount="1" CommentCount="12" ClosedDate="2017-09-29T17:18:57.253" ContentLicense="CC BY-SA 3.0" />
  <row Id="7777" PostTypeId="1" CreationDate="2017-09-28T18:18:21.703" Score="0" ViewCount="142" Body="&lt;p&gt;We are on Sitecore 7.2 and using Media Framework 1.4. This works fine with flash players.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when we are trying to use an HTML5 player for Bright cove Videos it is not working and throwing errors like:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The video you are trying to watch is currently unavailable. Please check back soon.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any ideas about what would cause this error? Also does media framework 1.4 support HTML5 players?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g0qG1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g0qG1.png&quot; alt=&quot;HTML5 Player Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1000" LastEditDate="2017-12-01T22:53:01.573" LastActivityDate="2017-12-01T22:53:01.573" Title="Sitecore 7.2, Media Framework 1.4 and HTML5 Player" Tags="|media-library|brightcove|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7778" PostTypeId="2" ParentId="7770" CreationDate="2017-09-28T19:35:14.573" Score="0" Body="&lt;p&gt;It looks like you disabled SPEAK UI and using Sheer UI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to make different UI based on what item or field you are working on, you would need to create another class for MediaBrowerForm and replace with original one at the form layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The class you need to take a look at is &lt;code&gt;Sitecore.Shell.Applications.Media.MediaBrowser.MediaBrowserForm&lt;/code&gt; at &lt;code&gt;Sitecore.Client&lt;/code&gt; assembly. Mostly, you might copy the code and add the condition for the item or field you want to hide the tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, go to &lt;code&gt;MediaBrowser.xml&lt;/code&gt; file at &lt;code&gt;\Website\sitecore\shell\Applications\Media\MediaBrowser&lt;/code&gt; and update &lt;code&gt;CodeBeside&lt;/code&gt; with the namespace.class and assembly name. You might need to update layout if needs.&lt;/p&gt;&#xA;" OwnerUserId="554" LastActivityDate="2017-09-28T19:35:14.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7779" PostTypeId="1" AcceptedAnswerId="7780" CreationDate="2017-09-29T01:54:03.730" Score="3" ViewCount="1541" Body="&lt;p&gt;I've noticed that there are URL's that contain dashes, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://www.bob.com.au/insurance/ski-quote/-/media/carol/Images/Logo/bob-logo-master.svg&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Specifically (if it isn't obvious), the dash between the two slashes (&lt;code&gt;.../-/...&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a genuine convention that Sitecore uses for URL's that are supposed to be interpreted by it, or is this an error?&lt;/p&gt;&#xA;" OwnerUserId="2487" LastEditorUserId="135" LastEditDate="2017-09-29T02:13:35.700" LastActivityDate="2017-09-29T02:20:13.920" Title="Dash (&quot;-&quot;) in Media URLs" Tags="|site-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7780" PostTypeId="2" ParentId="7779" CreationDate="2017-09-29T02:12:09.500" Score="6" Body="&lt;p&gt;Yes, this is a convention that Sitecore uses as triggers for a number of custom handlers:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;customHandlers&amp;gt;    &#xA;    &amp;lt;handler trigger=&quot;-/media/&quot; handler=&quot;sitecore_media.ashx&quot;/&amp;gt;&#xA;    &amp;lt;handler trigger=&quot;~/media/&quot; handler=&quot;sitecore_media.ashx&quot;/&amp;gt;&#xA;    &amp;lt;handler trigger=&quot;~/api/&quot; handler=&quot;sitecore_api.ashx&quot;/&amp;gt;&#xA;    &amp;lt;handler trigger=&quot;~/xaml/&quot; handler=&quot;sitecore_xaml.ashx&quot;/&amp;gt;&#xA;    &amp;lt;handler trigger=&quot;~/icon/&quot; handler=&quot;sitecore_icon.ashx&quot;/&amp;gt;&#xA;    &amp;lt;handler trigger=&quot;~/temp/&quot; handler=&quot;sitecore_temp.ashx&quot;/&amp;gt;&#xA;    &amp;lt;handler trigger=&quot;~/feed/&quot; handler=&quot;sitecore_feed.ashx&quot;/&amp;gt;&#xA;    ...    &#xA;&amp;lt;/customHandlers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In turn, there are handlers registered in web.config for these triggers:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;  &amp;lt;handlers&amp;gt;&#xA;    &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;Sitecore.Resources.Media.MediaRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.MediaRequestHandler&quot; /&amp;gt;&#xA;    &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_xaml.ashx&quot; type=&quot;Sitecore.Web.UI.XamlSharp.Xaml.XamlPageHandlerFactory, Sitecore.Kernel&quot; name=&quot;Sitecore.XamlPageRequestHandler&quot; /&amp;gt;&#xA;    &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_icon.ashx&quot; type=&quot;Sitecore.Resources.IconRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.IconRequestHandler&quot; /&amp;gt;&#xA;    &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_temp.ashx&quot; type=&quot;Sitecore.Resources.TempRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.TempRequestHandler&quot; /&amp;gt;&#xA;    &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_feed.ashx&quot; type=&quot;Sitecore.Shell.Feeds.FeedRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.FeedRequestHandler&quot; /&amp;gt;&#xA;    ..&#xA;  &amp;lt;/handlers&amp;gt;&#xA;  ...&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your specific example, the &lt;code&gt;-/media&lt;/code&gt; part of the URL causes the &lt;code&gt;MediaRequestHandler&lt;/code&gt; handler to serve the request. There are a number of reasons for this, but Sitecore stores the media in the database by default and so needs to process this request (as well as allowing various other functionality such as image resizing).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I would have expected in this instance though is that the trigger prefix would have been immediately after the domain, i.e.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://www.bob.com.au/-/media/carol/Images/Logo/bob-logo-master.svg&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would check the value of the &lt;code&gt;Media.MediaLinkPrefix&lt;/code&gt; from &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt;, by default it should be empty in Sitecore 8.1 onwards.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-09-29T02:20:13.920" LastActivityDate="2017-09-29T02:20:13.920" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7781" PostTypeId="1" CreationDate="2017-09-29T05:22:04.630" Score="2" ViewCount="2069" Body="&lt;p&gt;I'm trying to follow the steps from this blog to push the logs for the sitecore application to App Insights however it doesn't seem to push the logs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jan-v.nl/post/using-application-insights-in-your-log4net-application&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jan-v.nl/post/using-application-insights-in-your-log4net-application&lt;/a&gt;&#xA; to APP insights. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to do the client side telemetry implementation with sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="823" LastEditorUserId="73" LastEditDate="2017-11-20T14:26:55.340" LastActivityDate="2017-11-20T14:26:55.340" Title="Application Insights Configuration" Tags="|azure|app-insight|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7782" PostTypeId="2" ParentId="7781" CreationDate="2017-09-29T07:10:50.370" Score="4" Body="&lt;p&gt;This is because Sitecore includes it's own (old) version of log4net in the &lt;code&gt;Sitecore.Logging&lt;/code&gt; assembly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Bas Lijten has written &lt;a href=&quot;http://blog.baslijten.com/improving-the-sitecore-logging-and-diagnostics-experience-part-1-expose-more-information-using-a-new-logger/&quot; rel=&quot;nofollow noreferrer&quot;&gt;a blog post about this&lt;/a&gt; and how to extend the Sitecore logging.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's part of his summary at the end:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The default Sitecore implementation of log4net is not optimal, the implementation is outdated and doesn’t support 3rd party add-ons. It’s not hard to improve the current implementation and building a custom logger façade to use the Sitecore log4net implementation and to be able to write into the standard sitecore logs, is quite easy and opens up possibilities. One of these possibilities is append the information to application insights and take the insights to the next level, as every logged item, your custom logs, as well as the Sitecore logs, would can be correlated and be traced&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Basically you have to create your own appender referencing Sitecore's version of log4net.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is an appender I've been using, which is a cleaned/slightly modified version of &lt;a href=&quot;https://github.com/BasLijten/SitecoreDiagnostics/blob/master/BasLijten.Sitecore.Diagnostics.ApplicationInsights/ApplicationInsightsAppender.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;Bas Lijten's version&lt;/a&gt;. Just make sure you are referencing &lt;code&gt;Sitecore.Logging&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Reflection;&#xA;using log4net.Appender;&#xA;using log4net.spi;&#xA;using Microsoft.ApplicationInsights;&#xA;using Microsoft.ApplicationInsights.Channel;&#xA;using Microsoft.ApplicationInsights.DataContracts;&#xA;using Microsoft.ApplicationInsights.Extensibility.Implementation;&#xA;&#xA;namespace Sandbox.ApplicationInsights&#xA;{&#xA;    public sealed class ApplicationInsightsAppender : AppenderSkeleton&#xA;    {&#xA;        private TelemetryClient TelemetryClient { get; set; }&#xA;&#xA;        /// &amp;lt;summary&amp;gt; &#xA;        /// The &amp;lt;see cref=&quot;T:Microsoft.ApplicationInsights.Log4NetAppender.ApplicationInsightsAppender&quot; /&amp;gt; requires a layout. &#xA;        /// This Appender converts the LoggingEvent it receives into a text string and requires the layout format string to do so. &#xA;        /// &amp;lt;/summary&amp;gt; &#xA;        protected override bool RequiresLayout =&amp;gt; true;&#xA;&#xA;        /// &amp;lt;summary&amp;gt; &#xA;        /// Initializes the Appender and perform instrumentationKey validation. &#xA;        /// &amp;lt;/summary&amp;gt; &#xA;        public override void ActivateOptions()&#xA;        {&#xA;            base.ActivateOptions();&#xA;&#xA;            TelemetryClient = new TelemetryClient&#xA;            {&#xA;                Context =&#xA;                {&#xA;                    InstrumentationKey = &quot;&amp;lt;YOUR INSTRUMENTATION KEY&amp;gt;&quot;&#xA;                }&#xA;            };&#xA;&#xA;            TelemetryClient.Context.GetInternalContext().SdkVersion = &quot;Log4Net: &quot; + GetAssemblyVersion();&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt; &#xA;        /// Append LoggingEvent Application Insights logging framework. &#xA;        /// &amp;lt;/summary&amp;gt; &#xA;        /// &amp;lt;param name=&quot;loggingEvent&quot;&amp;gt;Events to be logged.&amp;lt;/param&amp;gt; &#xA;        protected override void Append(LoggingEvent loggingEvent)&#xA;        {&#xA;            if (!string.IsNullOrEmpty(loggingEvent.GetExceptionStrRep()))&#xA;            {&#xA;                SendException(loggingEvent);&#xA;                return;&#xA;            }&#xA;            SendTrace(loggingEvent);&#xA;        }&#xA;&#xA;        private static string GetAssemblyVersion()&#xA;        {&#xA;            return&#xA;                typeof (ApplicationInsightsAppender).Assembly.GetCustomAttributes(false)&#xA;                    .OfType&amp;lt;AssemblyFileVersionAttribute&amp;gt;()&#xA;                    .First()&#xA;                    .Version;&#xA;        }&#xA;&#xA;        private static void AddLoggingEventProperty(string key, string value, IDictionary&amp;lt;string, string&amp;gt; metaData)&#xA;        {&#xA;            if (value != null)&#xA;            {&#xA;                metaData.Add(key, value);&#xA;            }&#xA;        }&#xA;&#xA;        private void SendException(LoggingEvent loggingEvent)&#xA;        {&#xA;            try&#xA;            {&#xA;                var exception = GetException(loggingEvent);&#xA;                var exceptionTelemetry = new ExceptionTelemetry(exception)&#xA;                {&#xA;                    SeverityLevel = GetSeverityLevel(loggingEvent.Level)&#xA;                };&#xA;                BuildCustomProperties(loggingEvent, exceptionTelemetry);&#xA;                TelemetryClient.Track(exceptionTelemetry);&#xA;            }&#xA;            catch (ArgumentNullException ex)&#xA;            {&#xA;                throw new LogException(ex.Message, ex);&#xA;            }&#xA;        }&#xA;&#xA;        private static Exception GetException(LoggingEvent loggingEvent)&#xA;        {&#xA;            var exception = GetInstanceField(typeof(LoggingEvent), loggingEvent, &quot;m_thrownException&quot;);&#xA;            return exception as Exception;&#xA;        }&#xA;&#xA;        private static object GetInstanceField(Type type, object instance, string fieldName)&#xA;        {&#xA;            var field = type.GetField(fieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static);&#xA;            return field?.GetValue(instance);&#xA;        }&#xA;&#xA;        private void SendTrace(LoggingEvent loggingEvent)&#xA;        {&#xA;            try&#xA;            {&#xA;                var message = (loggingEvent.RenderedMessage != null) ? RenderLoggingEvent(loggingEvent) : &quot;Log4Net Trace&quot;;&#xA;                var traceTelemetry = new TraceTelemetry(message)&#xA;                {&#xA;                    SeverityLevel = GetSeverityLevel(loggingEvent.Level)&#xA;                };&#xA;                BuildCustomProperties(loggingEvent, traceTelemetry);&#xA;                TelemetryClient.Track(traceTelemetry);&#xA;            }&#xA;            catch (ArgumentNullException ex)&#xA;            {&#xA;                throw new LogException(ex.Message, ex);&#xA;            }&#xA;        }&#xA;&#xA;        private static void BuildCustomProperties(LoggingEvent loggingEvent, ITelemetry trace)&#xA;        {&#xA;            trace.Timestamp = loggingEvent.TimeStamp;&#xA;            trace.Context.User.Id = loggingEvent.UserName;&#xA;&#xA;            var telemetry = trace as ExceptionTelemetry;&#xA;            var properties = telemetry != null &#xA;                ? telemetry.Properties &#xA;                : ((TraceTelemetry) trace).Properties;&#xA;&#xA;            AddLoggingEventProperty(&quot;LoggerName&quot;, loggingEvent.LoggerName, properties);&#xA;            AddLoggingEventProperty(&quot;ThreadName&quot;, loggingEvent.ThreadName, properties);&#xA;&#xA;            var locationInformation = loggingEvent.LocationInformation;&#xA;            if (locationInformation != null)&#xA;            {&#xA;                AddLoggingEventProperty(&quot;ClassName&quot;, locationInformation.ClassName, properties);&#xA;                AddLoggingEventProperty(&quot;FileName&quot;, locationInformation.FileName, properties);&#xA;                AddLoggingEventProperty(&quot;MethodName&quot;, locationInformation.MethodName, properties);&#xA;                AddLoggingEventProperty(&quot;LineNumber&quot;, locationInformation.LineNumber, properties);&#xA;            }&#xA;&#xA;            AddLoggingEventProperty(&quot;Domain&quot;, loggingEvent.Domain, properties);&#xA;            AddLoggingEventProperty(&quot;Identity&quot;, loggingEvent.Identity, properties);&#xA;&#xA;            var eventProperties = loggingEvent.Properties;&#xA;            if (eventProperties == null)&#xA;                return;&#xA;&#xA;            var keys = eventProperties.GetKeys();&#xA;            foreach (var text in keys)&#xA;            {&#xA;                if (string.IsNullOrEmpty(text) || text.StartsWith(&quot;log4net&quot;, StringComparison.OrdinalIgnoreCase))&#xA;                    continue;&#xA;&#xA;                var obj = eventProperties[text];&#xA;                if (obj != null)&#xA;                {&#xA;                    AddLoggingEventProperty(text, obj.ToString(), properties);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        private static SeverityLevel? GetSeverityLevel(Level logginEventLevel)&#xA;        {&#xA;            if (logginEventLevel == null)&#xA;                return null;&#xA;&#xA;            if (logginEventLevel &amp;lt; Level.INFO)&#xA;                return SeverityLevel.Verbose;&#xA;&#xA;            if (logginEventLevel &amp;lt; Level.WARN)&#xA;                return SeverityLevel.Information;&#xA;&#xA;            if (logginEventLevel &amp;lt; Level.ERROR)&#xA;                return SeverityLevel.Warning;&#xA;&#xA;            if (logginEventLevel &amp;lt; Level.SEVERE)&#xA;                return SeverityLevel.Error;&#xA;&#xA;            return SeverityLevel.Critical;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastActivityDate="2017-09-29T07:10:50.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7783" PostTypeId="1" CreationDate="2017-09-29T08:14:56.983" Score="2" ViewCount="40" Body="&lt;p&gt;I'm aware of the caching in Sitecore when using it as a website but how about caching in Sitecore Mobile SDK? Is there a caching to consider when using the service? I'm using the Sitecore Mobile SDK (WebAPI).&lt;/p&gt;&#xA;" OwnerUserId="2491" LastEditorUserId="3136" LastEditDate="2018-03-06T12:57:28.083" LastActivityDate="2018-03-06T12:57:28.083" Title="Caching in Sitecore Mobile SDK for Xamarin" Tags="|caching|mobile|xamarin|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7784" PostTypeId="2" ParentId="280" CreationDate="2017-09-29T09:21:20.377" Score="6" Body="&lt;p&gt;It's not a SQL query, but this will work even when you switch HashingAlgorithms.&#xA;You can create a small console application to reset/change passwords. I based this console app on the one from &lt;a href=&quot;https://github.com/BasLijten/SitecoreSecurity/tree/master/ResetPassword&quot; rel=&quot;noreferrer&quot;&gt;Bas Lijten on Github&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Program&#xA;{&#xA;    public static void Main(string[] args)&#xA;    {&#xA;        var userName = args[0];&#xA;        var password = args[1];&#xA;        var user = Membership.GetUser(userName, false);&#xA;        var oldPassword = user.ResetPassword();&#xA;        user.ChangePassword(oldPassword, password);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then use it in the command line like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ResetPassword.exe &quot;sitecore\admin&quot; b&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm switching to a different Hashing algorithm, and when you change the HashAlgorithm both in Sitecore and in your console app config, it just works.&#xA;Here's the app.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;startup&amp;gt; &#xA;      &amp;lt;supportedRuntime version=&quot;v4.0&quot; sku=&quot;.NETFramework,Version=v4.6.1&quot; /&amp;gt;&#xA;  &amp;lt;/startup&amp;gt;&#xA;  &amp;lt;connectionStrings&amp;gt;&#xA;    &amp;lt;add name=&quot;core&quot; connectionString=&quot;connectionstringtocoredb&quot; providerName=&quot;System.Data.SqlClient&quot;/&amp;gt;&#xA;  &amp;lt;/connectionStrings&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;membership defaultProvider=&quot;sql&quot; hashAlgorithmType=&quot;SHA512&quot;&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear /&amp;gt;&#xA;        &amp;lt;add name=&quot;sql&quot; type=&quot;System.Web.Security.SqlMembershipProvider&quot; connectionStringName=&quot;core&quot; applicationName=&quot;sitecore&quot; minRequiredPasswordLength=&quot;1&quot; minRequiredNonalphanumericCharacters=&quot;0&quot; requiresQuestionAndAnswer=&quot;false&quot; requiresUniqueEmail=&quot;false&quot; maxInvalidPasswordAttempts=&quot;5&quot; /&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/membership&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="630" LastActivityDate="2017-09-29T09:21:20.377" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7785" PostTypeId="1" AcceptedAnswerId="7789" CreationDate="2017-09-29T11:15:56.550" Score="4" ViewCount="377" Body="&lt;p&gt;I am having issues about redirection to a page after using the Custom Login/Logout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The scenario is, I need to redirect the user to the Custom Login page, if accessing the Restricted Page (Test Restrict). I can now redirect him to Login Page and can even log in using his Sitecore credentials. After successful login, user is being redirected to the Test Restrict and also seeing the Logout Button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have configured the Logout Button that should redirect user to the &lt;code&gt;/sitecore/content/Site/Home&lt;/code&gt; when clicked. However, if the Home Page is also restricted to anonymous users, I keep getting a message&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Layout request not found&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Below is a snippet of my code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [HttpPost]&#xA;    [ValidRenderingToken]&#xA;    public ActionResult Logout(Login loginModel)&#xA;    {&#xA;        var model = GetDataSourceItem&amp;lt;Login&amp;gt;();&#xA;&#xA;&#xA;        AuthenticationManager.Logout();&#xA;        Session.Abandon();&#xA;        FormsAuthentication.SignOut();&#xA;&#xA;        model.LoginUsername = &quot;&quot;;&#xA;        model.LoginPassword = &quot;&quot;;&#xA;&#xA;        var linkUrl = model.TargetPageUrl;&#xA;&#xA;        if (string.IsNullOrEmpty(linkUrl))&#xA;        {&#xA;            SetReturnUrl();&#xA;        }&#xA;        else&#xA;        {&#xA;            ReturnUrl = linkUrl;&#xA;        }&#xA;&#xA;        return Redirect(string.IsNullOrEmpty(ReturnUrl) ? &quot;/&quot; : ReturnUrl);&#xA;    }&#xA;&#xA;    private void SetReturnUrl()&#xA;    {&#xA;            if (!string.IsNullOrEmpty(Request.QueryString[&quot;returnUrl&quot;]))&#xA;                ReturnUrl = Request.QueryString[&quot;returnUrl&quot;];    &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am new to this and would like to ask for advice/help. Thanks&lt;/p&gt;&#xA;" OwnerUserId="2472" LastEditorUserId="2727" LastEditDate="2018-01-13T20:14:38.590" LastActivityDate="2018-01-13T20:14:38.590" Title="Restricted Home Page showing Layout Requested Not Found" Tags="|authentication|mvc-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7786" PostTypeId="1" AcceptedAnswerId="7787" CreationDate="2017-09-29T11:51:30.023" Score="1" ViewCount="599" Body="&lt;p&gt;I am opening a speak dialog from a custom step that I have introduced to the uiDeleteItems pipeline.&#xA;How can I get access to data from the pipeline (fx the items being deleted) in the javascript code of the dialogue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my pipeline step I open the dialog like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SheerResponse.ShowModalDialog(new ModalDialogOptions(&quot;/sitecore/client/Applications/Dialogs/MyCustomDialog&quot;)&#xA;    {&#xA;        Width = &quot;400&quot;,&#xA;        Height = &quot;800&quot;,&#xA;        Response = true,&#xA;        ForceDialogSize = true,&#xA;        Message = args.Parameters[&quot;items&quot;] //this was an attempt to pass data..&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was hoping that I somehow could acces the Message with the item ids. But I can't find a property on the dialog that gives me access to the message.&lt;/p&gt;&#xA;" OwnerUserId="2296" LastActivityDate="2017-09-29T12:03:13.080" Title="Send data to speak dialogue" Tags="|pipelines|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7787" PostTypeId="2" ParentId="7786" CreationDate="2017-09-29T12:03:13.080" Score="0" Body="&lt;p&gt;I believe the only way, is to pass values through the QueryString. If you need a item in your dialog, you could pass the id:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Text.UrlString _url = new  Sitecore.Text.UrlString(Url);&#xA;url.Append(&quot;id&quot;, args.Parameters[&quot;id&quot;]);&#xA;SheerResponse.ShowModalDialog(_url.ToString());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then get the item form the database in your modal dialog.&lt;/p&gt;&#xA;" OwnerUserId="1510" LastActivityDate="2017-09-29T12:03:13.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7788" PostTypeId="1" CreationDate="2017-09-29T12:05:03.463" Score="3" ViewCount="515" Body="&lt;p&gt;I am trying do manually deploy unicorn serialized yml files into my QA server. But, I am getting exception even while loading the Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have copied all the feature/foundation/project folders, except the code folders inside them. Hence, all the folders have only serialization folder. The same path is mentioned in the source path for unicorn as. Am I missing any thing here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me in understanding how to manually deploy yml files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following is the exception:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;[IOException: The device is not ready.]   &#xA;System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1093    System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) +1258   &#xA;System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) +64   &#xA;Rainbow.Storage.SerializationFileSystemDataStore.InitializeRootPath(String rootPath) +346   &#xA;Rainbow.Storage.SerializationFileSystemDataStore..ctor(String physicalRootPath, Boolean useDataCache, ITreeRootFactory rootFactory, ISerializationFormatter formatter) +233    &#xA;lambda_method(Closure, Object[] ) +246&#xA;Configy.Containers.MicroContainer.Activate(Type type, KeyValuePair2[] unmappedConstructorParameters) +819   &#xA;Unicorn.Configuration.&amp;lt;&amp;gt;c__DisplayClass8_0.&amp;lt;RegisterConfigTypeInterface&amp;gt;b__3() +38&#xA;System.Lazy1.CreateValue() +242    &#xA;System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31   &#xA;System.Lazy1.get_Value() +14803913   &#xA;Unicorn.Data.ConfigurationDataStore.RegisterForChanges(Action2 actionOnChange) +19   &#xA;Unicorn.Data.DataProvider.UnicornDataProvider..ctor(ITargetDataStore targetDataStore, ISourceDataStore sourceDataStore, IPredicate predicate, IFieldFilter fieldFilter, IUnicornDataProviderLogger logger, IUnicornDataProviderConfiguration dataProviderConfiguration, ISyncConfiguration syncConfiguration, PredicateRootPathResolver rootPathResolver) +546    &#xA;lambda_method(Closure , Object[] ) +402   &#xA;Configy.Containers.MicroContainer.Activate(Type type, KeyValuePair2[] unmappedConstructorParameters) +819   &#xA;Configy.Containers.MicroContainer.Resolve() +118   &#xA;System.Linq.WhereSelectArrayIterator2.MoveNext() +75   &#xA;System.Linq.Buffer1..ctor(IEnumerable1 source) +162   &#xA;System.Linq.Enumerable.ToArray(IEnumerable`1 source) +106   &#xA;Unicorn.Data.DataProvider.UnicornSqlServerDataProvider..ctor(String connectionString) +219&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1479" LastEditorUserId="70" LastEditDate="2018-02-25T06:35:36.663" LastActivityDate="2018-02-25T06:35:36.663" Title="Using unicorn for manual deployment on Dev/QA environments" Tags="|unicorn|deployment|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7789" PostTypeId="2" ParentId="7785" CreationDate="2017-09-29T12:15:34.557" Score="3" Body="&lt;p&gt;I have an old support ticket with a confirmed bug by Sitecore Support (on Sitecore 6.5 and 8.0) that a homepage with broken inheritance can lead to a no-layout error. We did get a patch for it (number 325160). If applicable, you should be able to get it from Sitecore Support as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did find the issue as fixed in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update1/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes&lt;/a&gt; of Sitecore Experience Platform 8.2 Update-1 (rev. 161115):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A nolayout page is returned instead of the noaccess page.     90940,&#xA;  325160&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Not sure what you're version is... &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-09-29T12:15:34.557" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7790" PostTypeId="1" AcceptedAnswerId="7791" CreationDate="2017-09-29T12:49:27.317" Score="1" ViewCount="723" Body="&lt;p&gt;In our solution we have some particular cases where we want to provide a &quot;download media&quot; link instead of a straightforward media link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't want to force download for any particular file types, we want to provide a URL that forces download. So setting the &lt;code&gt;&amp;lt;forceDownload&amp;gt;&lt;/code&gt; element in &lt;code&gt;&amp;lt;mediaLibrary&amp;gt;&amp;lt;mediaTypes&amp;gt;&lt;/code&gt; isn't an option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We implemented this some years ago in 6.4, and we're now on 7.2 (which has some extended media options - for instance, we use the &lt;code&gt;AcceptRangeRequests&lt;/code&gt; setting to allow partial requests)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our solution was to build a custom media handler that was inserted into the pipeline. The media handler called the base handler &lt;code&gt;ProcessRequest(context)&lt;/code&gt; method and then set the content-disposition header to &quot;attachment&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to call ProcessRequest prior to setting the content-disposition header, as it fills the context object with data we needed, particularly the filename which needs to be set in the header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This seemed to be working OK, mostly, but we've discovered that when media is served from the server disc cache the headers are appended too late, giving us an error in the logs - &quot;can't append headers after response is sent&quot;. This doesn't occur if the media is fetched from the database (we assume the response must be sent to the client differently if media is served from cache, possibly just handed off to IIS?).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're hoping to avoid replacing ProcessRequest with custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can also see that ProcessRequest contains it's own methods for determining and setting headers, and that there's a &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Resources.Media.MediaStream ForceDownload&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there properties or methods on the context object we can work with to do this, prior to calling ProcessRequest(context)? Or is there some way of modifying how headers are set (a pipeline?) within ProcessRequest?&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2017-09-29T13:03:00.937" Title="How to force download media based on business logic?" Tags="|media-library|multisite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7791" PostTypeId="2" ParentId="7790" CreationDate="2017-09-29T13:03:00.937" Score="1" Body="&lt;p&gt;One way to deal with it, is to just not let this be a problem for the server to deal with. You are right, in that serving media takes a different route through the system based on the particular Media Cache situation. This is further made troublesome if you are offloading to a CDN cache where you will never see the request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the alternative.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Tell the client (browser) to download it&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Modern browsers allows use of the &lt;code&gt;download&lt;/code&gt; attribute. It works like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This attribute instructs browsers to download a URL instead of&#xA;  navigating to it, so the user will be prompted to save it as a local&#xA;  file. If the attribute has a value, it is used as the pre-filled file&#xA;  name in the Save prompt (the user can still change the file name if&#xA;  they want).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download&quot; rel=&quot;nofollow noreferrer&quot;&gt;HTML Element Reference - A&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It really depends on what type of business logic you have in mind. Seems to me however, that this approach would be the path of least resistance for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, @JammyKam also blogged quite extensively on the various options.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2015/11/16/force-download-of-media-files/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Force Download and Prompt User to Save Media from the Sitecore Media Library&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-09-29T13:03:00.937" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7792" PostTypeId="2" ParentId="7756" CreationDate="2017-09-29T14:07:32.293" Score="3" Body="&lt;p&gt;As a comment suggests, the Sitecore does not react to the DNT signals, that is why you have to track it by yourself and stop the Analytics Tracker if there is a DNT header present. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check a DNT simply by checking the header value: &lt;code&gt;Request.Headers[&quot;DNT&quot;]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, refer to the below answer on how to stop tracking (personally, I suggest that you cancel the tracking in a pipeline processor): &lt;a href=&quot;https://sitecore.stackexchange.com/a/1456/982&quot;&gt;https://sitecore.stackexchange.com/a/1456/982&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your code will look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var doNotTrack = Request.Headers[&quot;DNT&quot;];&#xA;if( doNotTrack == &quot;1&quot; ) {&#xA;    Sitecore.Analytics.Tracker.Enabled = false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-09-29T14:07:32.293" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7793" PostTypeId="1" CreationDate="2017-09-29T14:27:39.913" Score="1" ViewCount="335" Body="&lt;p&gt;I have to add a bunch of placeholder settings to a bunch of items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These items already have specific presentation details, so not using the standard values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to add them to standard values, just in case, but didn't change anything as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I moved to PowerShell, but all the scripts I have found so far, show how to add renderings, devices, layouts, but not placeholder settings. Am I missing something on the cmdlet?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried to use the search operations, but it failed while reading the XML...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any other idea?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As it is now:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EgU46.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EgU46.png&quot; alt=&quot;As it is&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I want to achieve&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YLgMp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YLgMp.png&quot; alt=&quot;What I want to achieve&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="151" LastEditDate="2017-09-30T09:50:45.773" LastActivityDate="2017-09-30T09:50:45.773" Title="Adding placeholder settings to presentation details of many items" Tags="|presentation|powershell-extensions|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="7794" PostTypeId="2" ParentId="7775" CreationDate="2017-09-29T14:37:27.763" Score="1" Body="&lt;p&gt;Every B# Component (B1, B2, B3...) should have a cshtml file like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;input type=&quot;hidden&quot; data-selector=&quot;dynamic-component-placeholder&quot; /&amp;gt;&#xA;&amp;lt;div data-selector=&quot;dynamic-component&quot; data-componentid=&quot;@Sitecore.Mvc.Presentation.RenderingContext.Current.Rendering.UniqueId&quot;&amp;gt;&#xA;    &amp;lt;!-- COMPONENT CONTENT --&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;On document ready (assuming that you're using jQuery), create a list containing all the &lt;code&gt;dynamic-component-placeholder&lt;/code&gt; hidden inputs.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;On document ready, create a list containing all the &lt;code&gt;dynamic-component&lt;/code&gt; components.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When Ajax call request returns response, remove all the &lt;code&gt;dynamic-component&lt;/code&gt; components from the dom, create temporary list of filtered &lt;code&gt;dynamic-component&lt;/code&gt; components and add them one by one AFTER the subsequent &lt;code&gt;dynamic-component-placeholder&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-09-30T07:35:32.553" LastActivityDate="2017-09-30T07:35:32.553" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7795" PostTypeId="1" AcceptedAnswerId="7801" CreationDate="2017-09-29T18:05:18.123" Score="5" ViewCount="896" Body="&lt;p&gt;I have a custom context menu item added to &lt;code&gt;/sitecore/content/Applications/Content Editor/Context Menues/Default&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I only want it to be displayed based on the item the context menu is being triggered on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I modify the Command implementation to account for this logic?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also is it possible to have it rules based instead of coding it into the Command Logic?&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="70" LastEditDate="2017-09-29T18:58:17.260" LastActivityDate="2017-09-29T21:30:21.387" Title="Hide Context Menu Item based on logic" Tags="|sitecore-client|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7796" PostTypeId="1" CreationDate="2017-09-29T18:27:40.043" Score="5" ViewCount="189" Body="&lt;p&gt;Is there a way when creating a form (Web Form for Marketers) to make it so when a person fills out the form and it's successfully submitted that the same person cannot submit the form again?&lt;/p&gt;&#xA;" OwnerUserId="2494" LastEditorUserId="135" LastEditDate="2017-10-01T18:08:53.150" LastActivityDate="2017-10-01T18:08:53.150" Title="Allow user to only submit a Web Form for Marketers form once" Tags="|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7797" PostTypeId="2" ParentId="7796" CreationDate="2017-09-29T18:51:38.720" Score="2" Body="&lt;p&gt;I would recommend using Sitecore Personalization to hide the form and show different content based on various criteria, like a contact facet that indicates that this particular form has been submitted already. Personalization is a powerful tool that uses the Sitecore Rules Engine to evaluate various conditions. Components can be hidden or shown, have their datasource changed or rendered with a different compatible rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More detail on personalization can be found on the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation Site&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also handle that scenario more simply during the form post and return a message if that contact has already submitted that form (or any other relevant condition).&lt;/p&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-09-29T18:51:38.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7798" PostTypeId="2" ParentId="5882" CreationDate="2017-09-29T19:05:49.723" Score="4" Body="&lt;p&gt;Code generation can be difficult when working on Sitecore templates (where multiple inheritance is possible) for C# models (where only single inheritance can work).&#xA;The &lt;a href=&quot;https://github.com/HedgehogDevelopment/tds-codegen&quot; rel=&quot;nofollow noreferrer&quot;&gt;example code gen templates for Glass Mapper&lt;/a&gt; use interfaces to overcome this, which means there's duplication of the properties across models....however another possibility is &lt;a href=&quot;https://asmagin.com/2016/08/02/composite-reuse-principle-in-sitecore-code-generation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;model composition&lt;/a&gt;, which trims down the amount of generated code by not re-defining the properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either way, when doing this inheritance across TDS projects, you need your TDS project to know about any other TDS projects that contains base templates.&#xA;This is done on the 'Multi-project Properties' tab on the TDS Project Properties.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pQFxw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pQFxw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now for the current project above, my TDS items will be able to 'see' the base templates my items inherit from the the other project, and will be able to do code gen on them successfully. For the interface method, this means adding an interface for the base model, and then defining all of the properties from that base model, in my own template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of this can be seen in the &lt;a href=&quot;https://github.com/SaintSkeeta/LaunchSitecoreTDS&quot; rel=&quot;nofollow noreferrer&quot;&gt;LaunchSitecoreTDS&lt;/a&gt; repository, when TDS.MVC.Master has a link to TDS.MVC.Base for it's base template items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This won't recreate the base model entirely.... but with the default Glass T4 templates, it will use the base model as an interface, so will kind of 'recreate' the fields from that base model in your own model.&#xA;Using composition will avoid this property duplication, however it shouldn't be a code-breaking issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If, however, you're finding the properties for the base templates are recreated multiple times in your descendant template.... then check if you have multiple inheritance of that base template somewhere. It's possible the code gen is adding the fields twice from the multiple inheritance of the same base template.&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2017-09-29T19:05:49.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7800" PostTypeId="2" ParentId="7795" CreationDate="2017-09-29T21:09:37.393" Score="6" Body="&lt;p&gt;In your command class, you need to override the QueryState method. Here is how Sitecore PowerShell Extensions only shows its &lt;code&gt;Edit with ISE&lt;/code&gt; context menu item on script items (&lt;a href=&quot;https://github.com/SitecorePowerShell/Console/blob/master/Cognifide.PowerShell/Client/Commands/MenuItems/EditPowerShellScript.cs&quot; rel=&quot;noreferrer&quot;&gt;source&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override CommandState QueryState(CommandContext context)&#xA;{&#xA;    if (context.Items.Length != 1)&#xA;        return CommandState.Hidden;&#xA;&#xA;    return context.Items[0].IsPowerShellScript()&#xA;        ? CommandState.Enabled&#xA;        : CommandState.Hidden;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you wanted to invoke the rules engine from that method, you certainly could. Unfortunately, there does not seem to be a built-in way to use the rules engine for this.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2017-09-29T21:09:37.393" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7801" PostTypeId="2" ParentId="7795" CreationDate="2017-09-29T21:30:21.387" Score="6" Body="&lt;p&gt;I would use the Rules Engine for this in a similar way to &lt;a href=&quot;https://stackoverflow.com/questions/37659935/restrict-sitecore-publishing/37691414#37691414&quot;&gt;this answer&lt;/a&gt; I provided to restrict the publishing button.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;string rulesFolder = &quot;/sitecore/system/Settings/Rules/Menu Rules/Rules&quot;;&#xA;&#xA;public override CommandState QueryState(CommandContext context)&#xA;{&#xA;    if (context.Items.Length != 1)&#xA;        return CommandState.Hidden;&#xA;&#xA;    return RunRules(context);&#xA;}&#xA;&#xA;private CommandState RunRules(CommandContext context)&#xA;{&#xA;    Item parentRuleItem;&#xA;&#xA;    var ruleContext = new CommandRuleContext();&#xA;    ruleContext.Item = context.Items[0];&#xA;&#xA;    using (new SecurityDisabler())&#xA;    {&#xA;        parentRuleItem = ruleContext.Item.Database.GetItem(rulesFolder);&#xA;        if (parentRuleItem == null)&#xA;            return CommandState.Hidden;&#xA;    }&#xA;&#xA;    RuleList&amp;lt;CommandRuleContext&amp;gt; rules = RuleFactory.GetRules&amp;lt;CommandRuleContext&amp;gt;(parentRuleItem, &quot;Rule&quot;);&#xA;&#xA;    if (rules == null)&#xA;        return CommandState.Hidden;&#xA;&#xA;    rules.Run(ruleContext);&#xA;    return ruleContext.CommandState;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll have to create the &lt;code&gt;rulesFolder&lt;/code&gt; and populate it with the appropriate rules for your needs. The visibility of the menu options is now based on the defined rules and only visible if one of your rules match.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-09-29T21:30:21.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7802" PostTypeId="1" CreationDate="2017-09-30T05:15:54.870" Score="3" ViewCount="434" Body="&lt;p&gt;I need to update page renderings based on search results using ajax call. I have written a method to get rendering collection based on filter and when I call Html.Sitecore().Rendering via loop in view like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;{450270A9-640A-46B4-80ED-02CCCCCB2549}&quot;, new { DataSource = &quot;{C3D52B5F-F236-49DF-A027-6432FE2F80FE}&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get an error - &lt;code&gt;&quot;Object reference not set to an instance of an object&quot;&lt;/code&gt; only for ajax call but above code works for page request.&#xA;I researched about this issue and I didn't get any solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to call Html.Sitecore().Rendering using Ajax&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EoYVs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EoYVs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TN4fS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TN4fS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2496" LastEditorUserId="2727" LastEditDate="2018-03-25T00:26:40.633" LastActivityDate="2018-03-25T00:26:40.633" Title="NullReferenceError for Html.Sitecore().Rendering in Ajax Calls" Tags="|presentation|ajax|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7803" PostTypeId="1" AcceptedAnswerId="7812" CreationDate="2017-09-30T11:08:24.160" Score="3" ViewCount="340" Body="&lt;p&gt;Is it possible to change the format shown in the Content Editor, of item version mode as &quot;version 1&quot;, &quot;version 2&quot;, etc rater than 1,2,3&lt;/p&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="73" LastEditDate="2017-10-08T22:51:14.013" LastActivityDate="2017-10-08T22:51:14.013" Title="Changing the displayed format of Item Versions" Tags="|sitecore-client|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7804" PostTypeId="2" ParentId="7803" CreationDate="2017-09-30T11:19:09.540" Score="2" Body="&lt;h2&gt;No it isn't&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore treats &lt;code&gt;Version&lt;/code&gt; internally as an integer. To change this behaviour would cascade changes all the way through the system, all the way down to database level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vvel2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vvel2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-09-30T11:19:09.540" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7805" PostTypeId="2" ParentId="7796" CreationDate="2017-09-30T15:02:22.827" Score="1" Body="&lt;p&gt;Agree with @Nathan that you should use Personalization to control the visibility of the form. One option is to use &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/goals__events/goals&quot; rel=&quot;nofollow noreferrer&quot;&gt;Goals&lt;/a&gt;. When you insert a form the wizard gives you the option to create a new form (or select an existing one):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nURah.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nURah.png&quot; alt=&quot;Set Form Goal&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have already added the form then you can add a Goal from the Content Editor using the &lt;code&gt;Tracking&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3jl7h.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3jl7h.png&quot; alt=&quot;Set Goal from Content Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then use Personalization to hide the form is the Goal has previously been triggered (i.e. the form has been completed). Add a new personalization rule for the component, configure the rule to checked if the Goal has been triggered and then set the action to &lt;code&gt;Hide&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8mZrj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8mZrj.png&quot; alt=&quot;Form Completed Personalization Rule&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This relies on the use of xDB, Goals will not be recorded if you are running CMS mode only. You may be able to create a custom Rule in this case to achieve a similar result.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-09-30T15:02:22.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7806" PostTypeId="1" CreationDate="2017-10-01T01:53:46.620" Score="4" ViewCount="51" Body="&lt;p&gt;Is it possible to build a command button that swaps all renderings in one placeholder with another? I'd expect this button to show up when the placeholder itself is selected but I'm not sure how I would go about writing a command for this that content editors could use in Experience Editor. I would think that this command would have to parse the xml of the various rendering fields on an item (and its standard values renderings?). That sounds dangerous to try to do manually though.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-10-01T01:53:46.620" Title="Switch Renderings In Placeholder" Tags="|experience-editor|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7807" PostTypeId="1" CreationDate="2017-10-01T09:48:20.223" Score="4" ViewCount="963" Body="&lt;p&gt;I have problem with MongoDB.Driver.MongoCursor. When I want to set tracking I get an error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Method not found: 'MongoDB.Driver.MongoCursor`1 Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.FindAs(MongoDB.Driver.IMongoQuery)'.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.MissingMethodException: Method not found: 'MongoDB.Driver.MongoCursor`1 Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.FindAs(MongoDB.Driver.IMongoQuery)'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have no idea how I can solve this problem...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2&#xA;MongoDB 3.4.7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Resolve problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem was the bad version of the sitecore libraries downloaded from nuget.&lt;/p&gt;&#xA;" OwnerUserId="2471" LastEditorUserId="2727" LastEditDate="2018-04-02T12:42:33.377" LastActivityDate="2018-04-02T12:42:33.377" Title="&quot;Method not found&quot; error with MongoDB.MongoCursor" Tags="|mongodb|tracking|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7808" PostTypeId="2" ParentId="7807" CreationDate="2017-10-01T20:40:01.210" Score="3" Body="&lt;p&gt;Sitecore 8.2 is not supporting MongoDB 3.4.7 yet, Latest version of mongoDB supported is 3.2.1&#xA;See supported versions table here : &lt;a href=&quot;https://kb.sitecore.net/articles/633863&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/633863&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-10-01T20:40:01.210" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7809" PostTypeId="1" AcceptedAnswerId="7811" CreationDate="2017-10-02T02:50:16.887" Score="7" ViewCount="2049" Body="&lt;p&gt;Is it possible to have workflow without lock and edit option. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also the item version should increment only it had reached the final workflow state.&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-10-02T04:53:14.977" Title="Workflow without lock and edit option" Tags="|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7810" PostTypeId="1" CreationDate="2017-10-02T04:19:48.563" Score="4" ViewCount="1299" Body="&lt;p&gt;I was checking online about integration possibilities for Identity Management solutions like Azure AD with Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could find some good articles like,&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://exploringsitecore.wordpress.com/2017/04/12/active-directory-integration-with-sitecore-on-azure-paas/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Integration with Sitecore on Azure PaaS&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/5252/architecture-choices-for-integrating-azure-ad-with-sitecore&quot;&gt;Architecture choices with Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But nothing on supporting social authentication. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore apps support authentication using Azure AD B2C for Social Identity Providers?&lt;/p&gt;&#xA;" OwnerUserId="2500" LastActivityDate="2017-11-30T00:58:05.777" Title="Does Sitecore support Azure AD B2C?" Tags="|sitecore-client|azure|azure-ad|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7811" PostTypeId="2" ParentId="7809" CreationDate="2017-10-02T04:53:14.977" Score="9" Body="&lt;p&gt;This is not a good idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want remove the requirement to &lt;code&gt;Lock and Edit&lt;/code&gt; an item then you can update the following setting to &lt;code&gt;false&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;  REQUIRE LOCK BEFORE EDITING&#xA;  If true, the user must have a lock on a document before&#xA;  they can edit it, otherwise it is always ready for editing    &#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;RequireLockBeforeEditing&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since the item no longer requires locking, a version is not automatically created when a user edits. In order to create a new version, the user must manually do it from the version tab or version selector. The main problem however is that an author is still able to edit the fields of the current version of an item and immediately publish it without going through the approval process. In theory, you could ensure the user does not have &lt;code&gt;Workflow State Write&lt;/code&gt; permission for the Final Workflow Step:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ugns0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ugns0.png&quot; alt=&quot;Edit Item Final Workflow Step&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However this does not work as expected, although you get a warning the user is still able to edit the fields and publish the item (this may be a bug, I've never worked with this setting disabled).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to minimize the &lt;em&gt;Lock and Edit&lt;/em&gt; flow then instead consider the following setting to &lt;code&gt;true&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;  AUTOMATIC UNLOCK ON SAVED&#xA;  If true, then a saved item is automatically unlocked saving.&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;AutomaticUnlockOnSaved&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will cause the item to be Unlocked Automatically after a user saves it, although submitting for workflow will remove the lock, it does minimize disruption when multiple users need to edit an item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding version numbers, it will &lt;em&gt;always&lt;/em&gt; increment when a new version is created. The item version is what you are saving your changes against and therefore it &lt;strong&gt;must&lt;/strong&gt; increment immediately. You are then approving the item version in the final workflow step. It is not possible to only increment the number once it has reached the final workflow state.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-10-02T04:53:14.977" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7812" PostTypeId="2" ParentId="7803" CreationDate="2017-10-02T06:13:21.723" Score="3" Body="&lt;p&gt;If you want to have Version 1, Version 2,... , Version N in Content editor view is possible but I don't see any advantage to have it.  I didn't change anything in the Sitecore database, I changed just the view from Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I changed a bit the code to have &quot;Version 1&quot; instead to &quot;1.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see below picture : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tnTm8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tnTm8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to make next changes :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a new class GalleryVersionsForm :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GalleryVersionsForm : GalleryForm&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&amp;lt;/summary&amp;gt;&#xA;    protected GalleryMenu Options;&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&amp;lt;/summary&amp;gt;&#xA;    protected Scrollbox Versions;&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Handles the message.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;message&quot;&amp;gt;The message.&amp;lt;/param&amp;gt;&#xA;    public override void HandleMessage(Message message)&#xA;    {&#xA;        Assert.ArgumentNotNull(message, &quot;message&quot;);&#xA;        if (message.Name == &quot;event:click&quot;)&#xA;        {&#xA;            return;&#xA;        }&#xA;        base.Invoke(message, true);&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Raises the load event.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;e&quot;&amp;gt;The &amp;lt;see cref=&quot;T:System.EventArgs&quot; /&amp;gt; instance containing the event data.&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;remarks&amp;gt;&#xA;    /// This method notifies the server control that it should perform actions common to each HTTP&#xA;    /// request for the page it is associated with, such as setting up a database query. At this&#xA;    /// stage in the page lifecycle, server controls in the hierarchy are created and initialized,&#xA;    /// view state is restored, and form controls reflect client-side data. Use the IsPostBack&#xA;    /// property to determine whether the page is being loaded in response to a client postback,&#xA;    /// or if it is being loaded and accessed for the first time.&#xA;    /// &amp;lt;/remarks&amp;gt;&#xA;    protected override void OnLoad(EventArgs e)&#xA;    {&#xA;        Assert.ArgumentNotNull(e, &quot;e&quot;);&#xA;        base.OnLoad(e);&#xA;        if (Context.ClientPage.IsEvent)&#xA;        {&#xA;            return;&#xA;        }&#xA;        Item currentItem = GalleryVersionsForm.GetCurrentItem();&#xA;        if (currentItem != null)&#xA;        {&#xA;            if (currentItem.IsFallback)&#xA;            {&#xA;                HtmlGenericControl htmlGenericControl = new HtmlGenericControl(&quot;div&quot;);&#xA;                htmlGenericControl.InnerText = Translate.Text(&quot;No version exists in the current language. You see a fallback version from '{0}' language.&quot;, new object[]&#xA;                {&#xA;                    currentItem.OriginalLanguage&#xA;                });&#xA;                htmlGenericControl.Attributes[&quot;class&quot;] = &quot;versionNumSelected&quot;;&#xA;                Context.ClientPage.AddControl(this.Versions, htmlGenericControl);&#xA;            }&#xA;            else&#xA;            {&#xA;                Item[] versions = currentItem.Versions.GetVersions();&#xA;                for (int i = versions.Length - 1; i &amp;gt;= 0; i--)&#xA;                {&#xA;                    Item item = versions[i];&#xA;                    XmlControl xmlControl = ControlFactory.GetControl(&quot;Gallery.Versions.Option&quot;) as XmlControl;&#xA;                    Assert.IsNotNull(xmlControl, typeof(XmlControl), &quot;Xml Control \&quot;{0}\&quot; not found&quot;, new object[]&#xA;                    {&#xA;                        &quot;Gallery.Versions.Option&quot;&#xA;                    });&#xA;                    Context.ClientPage.AddControl(this.Versions, xmlControl);&#xA;                    CultureInfo culture = Context.User.Profile.Culture;&#xA;                    string text = (item.Statistics.Updated == DateTime.MinValue) ? Translate.Text(&quot;[Not set]&quot;) : DateUtil.FormatShortDateTime(DateUtil.ToServerTime(item.Statistics.Updated), culture);&#xA;                    string text2 = (item.Statistics.UpdatedBy.Length == 0) ? &quot;-&quot; : item.Statistics.UpdatedBy;&#xA;                    string text3 =&quot;Version &quot;+ item.Version + &quot;.&quot;;&#xA;                    if (item.Version.Number == currentItem.Version.Number)&#xA;                    {&#xA;                        text3 = &quot;&amp;lt;div class=\&quot;versionNumSelected\&quot;&amp;gt;&quot; + text3 + &quot;&amp;lt;/div&amp;gt;&quot;;&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        text3 = &quot;&amp;lt;div class=\&quot;versionNum\&quot;&amp;gt;&quot; + text3 + &quot;&amp;lt;/div&amp;gt;&quot;;&#xA;                    }&#xA;                    xmlControl[&quot;Number&quot;] = text3;&#xA;                    xmlControl[&quot;Header&quot;] = Translate.Text(&quot;Modified &amp;lt;b&amp;gt;{0}&amp;lt;/b&amp;gt; by &amp;lt;b&amp;gt;{1}&amp;lt;/b&amp;gt;.&quot;, new object[]&#xA;                    {&#xA;                        text,&#xA;                        text2&#xA;                    });&#xA;                    xmlControl[&quot;Click&quot;] = string.Format(&quot;item:load(id={0},language={1},version={2})&quot;, currentItem.ID, currentItem.Language, item.Version.Number);&#xA;                }&#xA;            }&#xA;        }&#xA;        Item item2 = Client.CoreDatabase.GetItem(&quot;/sitecore/content/Applications/Content Editor/Menues/Versions&quot;);&#xA;        if (item2 != null &amp;amp;&amp;amp; item2.HasChildren)&#xA;        {&#xA;            string queryString = WebUtil.GetQueryString(&quot;id&quot;);&#xA;            this.Options.AddFromDataSource(item2, queryString, new CommandContext(currentItem));&#xA;        }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets the current item.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;The current item.&amp;lt;/returns&amp;gt;&#xA;    private static Item GetCurrentItem()&#xA;    {&#xA;        string queryString = WebUtil.GetQueryString(&quot;db&quot;);&#xA;        string queryString2 = WebUtil.GetQueryString(&quot;id&quot;);&#xA;        Language language = Language.Parse(WebUtil.GetQueryString(&quot;la&quot;));&#xA;        Sitecore.Data.Version version = Sitecore.Data.Version.Parse(WebUtil.GetQueryString(&quot;vs&quot;));&#xA;        Database expr_3C = Factory.GetDatabase(queryString);&#xA;        Assert.IsNotNull(expr_3C, queryString);&#xA;        return expr_3C.Items[queryString2, language, version];&#xA;    }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Above class is almost the same with class : &lt;strong&gt;Sitecore.Shell.Applications.ContentManager.Galleries.Versions.GalleryVersionsForm&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only one change is :    &lt;strong&gt;string text3 =&quot;Version &quot; + item.Version + &quot;.&quot;;&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;instead of      &lt;strong&gt;string text3 = item.Version + &quot;.&quot;;&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use your code you need to modify  \Website\sitecore\shell\Applications\Content Manager\Galleries\Versions\Gallery Versions.xml . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to change Codebeside section to : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;CodeBeside Type=&quot;YourNamespace.GalleryVersionsForm,YourAssembly&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-02T06:13:21.723" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7813" PostTypeId="2" ParentId="4156" CreationDate="2017-10-02T07:10:24.693" Score="0" Body="&lt;p&gt;I fixed it by adding this config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;  &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;      &amp;lt;sitecore&amp;gt;&#xA;          &amp;lt;AntiCsrf&amp;gt;&#xA;              &amp;lt;rules&amp;gt;&#xA;                  &amp;lt;rule name=&quot;shell&quot;&amp;gt;&#xA;                      &amp;lt;ignore contains=&quot;/sitecore/shell/~/xaml/ExperienceExplorer.SelectUser.aspx&quot;/&amp;gt;&#xA;                  &amp;lt;/rule&amp;gt;&#xA;              &amp;lt;/rules&amp;gt;&#xA;          &amp;lt;/AntiCsrf&amp;gt;&#xA;      &amp;lt;/sitecore&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="35" LastActivityDate="2017-10-02T07:10:24.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7814" PostTypeId="1" AcceptedAnswerId="7826" CreationDate="2017-10-02T08:03:32.903" Score="3" ViewCount="1171" Body="&lt;p&gt;I have created custom variant render called “Success Story”, I create custom variant to display the “description”  only, however the view display “ Description field” with no value, when I look at logs I found &lt;code&gt;WARN  Could not find variants for component {6D6DD358-64AF-4539-95FA-769A8CDDEB05} from page {4C5BE406-5A93-47BE-83A9-530B19F55C83}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I follow below steps:&#xA;1 - Inherit form VariantsController&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SuccessStoryController : VariantsController&#xA;{&#xA;    protected ISuccessStoryRepository SuccessStoryRespository&#xA;    { get; set; }&#xA;    protected ISuccessStoryListRepository SuccessStoryListRespository&#xA;    { get; set; }&#xA;&#xA;&#xA;    protected IVariantsRepository VariantsRespository&#xA;    { get; set; }&#xA;&#xA;    public SuccessStoryController()&#xA;    {&#xA;        SuccessStoryRespository = ServiceLocator.Current.Resolve&amp;lt;ISuccessStoryRepository&amp;gt;();&#xA;        SuccessStoryListRespository = ServiceLocator.Current.Resolve&amp;lt;ISuccessStoryListRepository&amp;gt;();&#xA;        VariantsRespository = ServiceLocator.Current.Resolve&amp;lt;IVariantsRepository&amp;gt;();&#xA;    }&#xA;&#xA;    protected override object GetModel()&#xA;    {&#xA;        return SuccessStoryListRespository.GetModel();&#xA;    }&#xA;}&#xA;&#xA;&#xA; public class SuccessStoryModel : VariantsRenderingModel&#xA;{&#xA;    public string Title { get; set; }&#xA;    public string Description { get; set; }&#xA;    public string Logo { get; set; }&#xA;}public class SuccessStoryListModel : VariantListsRenderingModel &#xA;{&#xA;&#xA;    public List&amp;lt;SuccessStoryModel&amp;gt; SuccessStoryItems { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;4 - The view as below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!(Model.Rendering.DataSourceItem == null &amp;amp;&amp;amp; !Html.Sxa().IsEdit))&#xA;{&#xA;    &amp;lt;div @Html.Sxa().Component(&quot;SuccessStory-list&quot;, Model.Attributes)&amp;gt;&#xA;        &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;&#xA;            @Html.Sxa().RenderHeading(Model.HeadingTag, Model.DataSourceItem, &quot;Title&quot;, Model.GetRenderingWebEditingParams())&#xA;&#xA;            @if (Html.Sxa().IsEdit &amp;amp;&amp;amp; Model.Rendering.DataSourceItem == null)&#xA;            {&#xA;                @Model.MessageIsEmpty&#xA;            }&#xA;&#xA;            @if (Model.Rendering.DataSourceItem != null &amp;amp;&amp;amp; !Model.SuccessStoryItems.Any())&#xA;            {&#xA;                using (Html.Sxa().BeginEditFrame(Html.Sitecore().CurrentRendering.DataSource, &quot;Empty&quot;, Model.IsControlEditable))&#xA;                {&#xA;                    @Model.MessageIsEmpty&#xA;                }&#xA;            }&#xA;&#xA;            @if (Model.Rendering.DataSourceItem != null)&#xA;            {&#xA;                &amp;lt;ul&amp;gt;&#xA;&#xA;&#xA;                    @foreach (var item in Model.SuccessStoryItems)&#xA;                    {&#xA;                        &amp;lt;div data-itemid=&quot;ccc&quot;&amp;gt;&#xA;&#xA;                         @foreach (BaseVariantField variantField in Model.VariantFields)&#xA;                         {&#xA;&#xA;                            @Html.RenderingVariants().RenderVariant(variantField, Model.Item, true)&#xA;&#xA;                         }&#xA;&#xA;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    }&#xA;                &amp;lt;/ul&amp;gt;&#xA;            }&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My parameter template inhert from :&#xA;&lt;a href=&quot;https://i.stack.imgur.com/xtmyc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xtmyc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My render as below and I add it to available render &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UFf3z.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UFf3z.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;my repo&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class SuccessStoryListRepository : ListRepository, ISuccessStoryListRepository, IModelRepository, IAbstractRepository&amp;lt;IRenderingModelBase&amp;gt;&#xA;{&#xA;    public override IRenderingModelBase GetModel()&#xA;    {&#xA;        SuccessStoryListModel model = new SuccessStoryListModel();&#xA;        this.FillBaseProperties(model);&#xA;        //BindSuccessStory();&#xA;        model.SuccessStoryItems = BindSuccessStory(); //this.GetItems().Select&amp;lt;Item, SuccessStoryModel&amp;gt;((Func&amp;lt;Item, SuccessStoryModel&amp;gt;)(item =&amp;gt; new SuccessStoryModel()));&#xA;        return (IRenderingModelBase)model;&#xA;    }&#xA;&#xA;    private List&amp;lt;SuccessStoryModel&amp;gt; BindSuccessStory()&#xA;    {&#xA;       var  items=this.GetItems().ToList();&#xA;&#xA;        List&amp;lt;SuccessStoryModel&amp;gt; list = new List&amp;lt;SuccessStoryModel&amp;gt;();&#xA;&#xA;&#xA;        foreach (var item in items)&#xA;        {&#xA;            //item.Fields[&quot;Description&quot;].Value;&#xA;&#xA;            list.Add(new SuccessStoryModel&#xA;            {&#xA;                Description = item.Fields[&quot;Description&quot;].Value,&#xA;                Title= item.Fields[&quot;Title&quot;].Value&#xA;&#xA;            });&#xA;        }&#xA;        return list;&#xA;&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="2502" LastEditDate="2017-10-02T09:41:33.593" LastActivityDate="2017-10-02T18:39:06.107" Title="Could not find variants for component" Tags="|sxa|site-configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7815" PostTypeId="2" ParentId="7814" CreationDate="2017-10-02T08:44:11.300" Score="0" Body="&lt;p&gt;Messages like &quot;&lt;em&gt;FIELD_NAME field&lt;/em&gt;&quot; (e.g. &quot;&lt;em&gt;Description field&lt;/em&gt;&quot; like in your case) means that the field specified in the variant item doesn't exist on the context item passed to the variant renderer. As far as I can see you are rendering variants like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.RenderingVariants().RenderVariant(variantField, Model.Item, true)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;so ensure that &lt;code&gt;Model.Item&lt;/code&gt; is exactly the item you want to use and if it contains &quot;Description&quot; field (or any other field which you'll specify in the variant items).&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-10-02T08:44:11.300" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7816" PostTypeId="1" CreationDate="2017-10-02T10:37:45.153" Score="12" ViewCount="8797" Body="&lt;p&gt;Azure Deployment Slot is Awesome functionality for regular(Full) production deployment build process using &lt;strong&gt;Deployment Slot Swap&lt;/strong&gt; functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But sometimes we need to deploy the hotfix on production, like need to change only in the web.config or some static files which really don’t required the complete deployment life cycle, then how we can do the hotfix deployment(partially &#xA;deployment) using  staging slot swapping  functionality as my staging slot is not up-to-date, its contain the old stuff( before the last build deployment)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Consider the below scenario:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Deployed full site to staging before production, now staging is latest&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Swap to production, now production is latest, staging become old&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now suppose, we need to deploy the hot fix by changing the value in the web.config, which we can directly change in the staging slot without process with full deployment, but we cannot swap the staging slot with production as staging slot don't have the current version of the website?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wish there should be one button called &lt;strong&gt;copy from production&lt;/strong&gt; addition to swap button, so firstly we quickly copy the production content into staging slot, change on staging slot, verify the changes and boom for production swap.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should be the best approach for this type of deployment? Please suggest&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="70" LastEditDate="2017-11-02T17:00:03.563" LastActivityDate="2023-09-06T17:42:57.123" Title="How to Copy complete site from Production Slot to Staging slot in Azure PaaS?" Tags="|azure|" AnswerCount="7" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7817" PostTypeId="2" ParentId="12" CreationDate="2017-10-02T12:56:23.933" Score="7" Body="&lt;p&gt;Just to say I am looking at GDPR legislation as well and Sitecore has some interesting features that aid compliance some of the notable ones are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Since version 8.2 IP addresses are already anonymised and are hashed, or there is the option not to save the IP address at all&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;With XDB there is a way to find and remove personal data that's been collected&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;EXM support double opt in and verification of identify&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Built in configurable audit logs to prove data has been added, updated or deleted&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Data exchange framework for integration with other systems can be a powerful way to synchronise changes &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2216" LastEditorUserId="2216" LastEditDate="2017-10-02T13:04:59.053" LastActivityDate="2017-10-02T13:04:59.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7820" PostTypeId="2" ParentId="2453" CreationDate="2017-10-02T14:18:14.963" Score="1" Body="&lt;p&gt;After playing with this for a bit I found out that if you name the Property Children then it'll work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not ideal, but if you are intent on using Fluent mapping and willing to adhere to that naming then it'll get you there. &lt;/p&gt;&#xA;" OwnerUserId="2504" LastActivityDate="2017-10-02T14:18:14.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7821" PostTypeId="1" CreationDate="2017-10-02T15:37:59.947" Score="1" ViewCount="507" Body="&lt;p&gt;On an existing multi-site instance, it's been noted that there are several templates that duplicate fields by name.  For example, each site has a set of templates that are used as the base for each page type, and there are fields that repeat across each of these templates.  For example, SEO Metadata fields like &quot;Meta Description&quot;, &quot;Meta Keywords&quot;, etc.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Site 1 Templates&#xA;  Base Page Template&#xA;     SEO&#xA;       Page Title&#xA;       Meta Descriptiopn&#xA;       etc&#xA;Site 2 Templates&#xA;  Base Page Template&#xA;     SEO&#xA;       Page Title&#xA;       Meta Descriptiopn&#xA;       etc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We'd like to refactor these into one template that other templates inherit from:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Global&#xA;  SEO&#xA;    SEO&#xA;      Page Title&#xA;      Meta Descriptiopn&#xA;      etc&#xA;Site 1 Templates&#xA;  Base Page Template (inherits from Global/SEO)&#xA;Site 2 Templates&#xA;  Base Page Template (inherits from Global/SEO)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The challenge is how to do this while maintaining existing values.  In the above example, we could create the global template and move the template section from &quot;Site 1&quot; to it, then set the inheritance and not lose any values. For Site 2, we could set the inheritance, but it we delete the now duplicate files, we'll lose any existing data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thought was to try and update the fields in the database via a SQL script, but I'm always super-hesitant to doing any work in the Sitecore databases.&lt;/p&gt;&#xA;" OwnerUserId="249" LastActivityDate="2017-10-02T18:27:26.197" Title="How to refactor duplicated fields?" Tags="|templates|solution-architecture|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7822" PostTypeId="1" AcceptedAnswerId="7824" CreationDate="2017-10-02T16:17:56.330" Score="1" ViewCount="394" Body="&lt;p&gt;Having recently moved my development environment to another machine, I discovered that Sitecore Rocks no longer works as before; in particular, I cannot access the &amp;quot;Design Template&amp;quot; menu under Tasks:&lt;/p&gt;&#xA;&lt;p&gt;(under Visual Studio 2013)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/COgHk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/COgHk.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I tried installing Sitecore Rocks on a different, more recent version of Visual Studio, but the result is the same.&lt;/p&gt;&#xA;&lt;p&gt;How can I &amp;quot;reset&amp;quot; my Sitecore Rocks installation, or otherwise solve this problem?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-10-02T17:18:53.907" Title="Sitecore Rocks Installation seems corrupted. What to do?" Tags="|sitecore-rocks|visual-studio|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7823" PostTypeId="2" ParentId="7659" CreationDate="2017-10-02T16:24:44.957" Score="2" Body="&lt;p&gt;The safe option is to switch to the &lt;code&gt;web&lt;/code&gt; database from the desktop and then to serialize the tree. This will create a &quot;web&quot; folder which you can then copy across and restore in whatever environments you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned in the answer from @M.Engel, when you publish only the latest version of an item is copied and only items which are approved (if using workflow) and there are no publishing restrictions set (if a publish date restriction has been placed on an item).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just renaming the folder will still not be sufficient though since the serialized item contains the database the item belongs to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;----item----&#xA;version: 1&#xA;id: {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&#xA;database: master&#xA;path: /sitecore/content/Home&#xA;parent: {0DE95AE4-41AB-4D01-9EB0-67441B7C2450}&#xA;name: Home&#xA;master: {00000000-0000-0000-0000-000000000000}&#xA;template: {76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&#xA;templatekey: Sample Item&#xA;created: 20170728T140314Z&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would need to update all the .item files to change the database value from &lt;strong&gt;master&lt;/strong&gt; to &lt;strong&gt;web&lt;/strong&gt;. If you just rename the folder the restore will not work as you are expecting it to, it will just restore back to the master as a result.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-10-02T16:24:44.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7824" PostTypeId="2" ParentId="7822" CreationDate="2017-10-02T17:18:53.907" Score="6" Body="&lt;p&gt;You need to set your Sitecore Rocks connection up using the &lt;strong&gt;Hard Rock Service&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/bc01L.png&quot; width=&quot;440&quot; height=&quot;349&quot; alt=&quot;Hark Rock Service&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will then give access to additional features and options, including the &quot;Design Template&quot; option:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nHNqu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nHNqu.png&quot; alt=&quot;Options with Hard Rock Service&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By comparison, using the &lt;strong&gt;Good Old Web Service&lt;/strong&gt;, the options are as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sIS2j.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sIS2j.png&quot; alt=&quot;Options with Good Old Web Service&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above is using Sitecore Rocks v2.1.69 and Visual Studio 2015. You mention you have set it up in the past using the &lt;em&gt;Good Old Web Service&lt;/em&gt; connection without any issues. Maybe something has changed, or it was previously set up with the &lt;em&gt;Hard Rock Service&lt;/em&gt; without you realising.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-10-02T17:18:53.907" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7825" PostTypeId="2" ParentId="7821" CreationDate="2017-10-02T18:27:26.197" Score="2" Body="&lt;p&gt;The best approach to this will require some data grooming. At its simplest, it can be done with nothing besides stock Sitecore and the Sitecore Powershell module. If you're not comfortable with Powershell, or you need to take a more iterative approach, you could also write code to handle your transformation. I like to park pages in &lt;code&gt;/sitecore/admin&lt;/code&gt; for just such an occasion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ORM Warning&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using an ORM solution such as Glass or Synthesis, you might want to avoid using it while you perform this merge, as duplicate names and duplicate inheritance may cause code generation issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1: Create your new Interface analog&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create your new base template. For the time being, your base template should have a unique content section, so it's easy to find your new fields if you need to review them in the content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 2: Establish Inheritance&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assign your new base templates to the target templates you want to merge. &lt;em&gt;Don't delete the old fields;&lt;/em&gt; just add your new base template to the inheritance chain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 3: The Heavy Lifting&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You want to create a script that crawls the tree and does something like this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Disable security so you can grab all Items and modify them.&lt;/li&gt;&#xA;&lt;li&gt;Identify that an Item inherits from &quot;New Base Template&quot;&lt;/li&gt;&#xA;&lt;li&gt;Identify that an Item inherits from &quot;Old Field Template&quot;&lt;/li&gt;&#xA;&lt;li&gt;Assuming 1 &amp;amp; 2 are true, grab all versions of the Item via &lt;code&gt;Item.Versions&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;For a given Version, copy the values from old-field to new-field.&lt;/li&gt;&#xA;&lt;li&gt;Save the version.&lt;/li&gt;&#xA;&lt;li&gt;Rinse, repeat.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;At this point, all your items and their historic versions should have duplicate values in the old &amp;amp; new fields. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 4: Break the Chain&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can now break inheritance by removing the &quot;Old Field Template&quot; from the target Item Template. This will remove the old fields. If your target Item Template &lt;em&gt;is&lt;/em&gt; the Old Template, go ahead &amp;amp; delete the fields. &lt;em&gt;Warning, you may want to jot down the IDs of these old fields, so you can hunt them down in source code &amp;amp; configuration files if required&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 5: Code Fixes&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your code is very plain, and you're referencing fields by field name ex: &lt;code&gt;item.Fields[&quot;field name&quot;]&lt;/code&gt; you may not have any work to do. If you're using an ORM, you need to rebuild the classes using T4 templates, TDS, Unicorn, or Custom Item Generator. Assuming your new field names are the same as your old field names, once the ORM code is generated, you should be good to go, otherwise, you're in standard refactor land.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you aren't using an ORM and you've got some sort of static FieldIDs class (a-la-Stock Sitecore) you're going to need to re-tool this class to point to your new FieldIDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Warnings Come &lt;em&gt;After&lt;/em&gt; the Spells&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Depending on the size of your codebase, this is probably a good days work to write and test. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally you'd want a &lt;em&gt;content moratorium in production&lt;/em&gt; so that you could roll out the change in one go. If you have to re-run the Sitecore Template changes in production, I would consider using a tool like &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Razl&quot; rel=&quot;nofollow noreferrer&quot;&gt;Razl&lt;/a&gt; for larger databases, possibly TDS for smaller ones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a lot of little sites, each with different Data Template groups (and ideally different VSProjects), I might consider doing this one site at a time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For installations in the 50K to 100K Item range, I wouldn't hesitate, it'll save you trouble in the long run. If you're pushing a million Items, and/or you can't get any content authoring downtime, I would avoid attempting something like this until you could get a major system rebuild scheduled, or I would focus on redoing one site at a time. Assuming each site has their own Template folder (and therefore namespace) you shouldn't have issues with both approaches existing in the same system.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-02T18:27:26.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7826" PostTypeId="2" ParentId="7814" CreationDate="2017-10-02T18:39:06.107" Score="0" Body="&lt;p&gt;Ok - it looks like you are rendering this out wrong. Take a look at your loop:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var item in Model.SuccessStoryItems)&#xA;{&#xA;    &amp;lt;div data-itemid=&quot;ccc&quot;&amp;gt;&#xA;     @foreach (BaseVariantField variantField in Model.VariantFields)&#xA;     {&#xA;        @Html.RenderingVariants().RenderVariant(variantField, Model.Item, true)&#xA;     }&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you are looping through &lt;code&gt;Model.SuccessStoryItems&lt;/code&gt; - but then in your look, you are passing in &lt;code&gt;Model.Item&lt;/code&gt; - that will be the same item for every entry in the loop. It looks like you should be passing in the &lt;code&gt;item&lt;/code&gt; variable you are declaring in your loop.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But&lt;/strong&gt; when you have created your &lt;code&gt;SuccessStoryModel&lt;/code&gt;, you have added fields for &lt;code&gt;Description&lt;/code&gt; and &lt;code&gt;Title&lt;/code&gt;. The &lt;code&gt;@Html.RenderingVariants().RenderVariant()&lt;/code&gt; method, needs a Sitecore Item, so you will need to modify the code to pass this in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, change your &lt;code&gt;SuccessStoryListModel&lt;/code&gt; like to have a list of &lt;code&gt;Item&lt;/code&gt; objects like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SuccessStoryListModel : VariantListsRenderingModel &#xA;{&#xA;    public List&amp;lt;Item&amp;gt; SuccessStoryItems { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now modify your &lt;code&gt;BindSuccessStory&lt;/code&gt; method to populate that list like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private List&amp;lt;Item&amp;gt; BindSuccessStory()&#xA;{&#xA;    var  items = this.GetItems().ToList();&#xA;&#xA;    var list = new List&amp;lt;Item&amp;gt;();&#xA;    list.AddRange(items);&#xA;    return list;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, modify your view to use that item like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var successStoryItem in Model.SuccessStoryItems)&#xA;{&#xA;    &amp;lt;div data-itemid=&quot;ccc&quot;&amp;gt;&#xA;     @foreach (BaseVariantField variantField in Model.VariantFields)&#xA;     {&#xA;        @Html.RenderingVariants().RenderVariant(variantField, successStoryItem, true)&#xA;     }&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you are passing in the item that has the field you want to be rendered correctly and it should get rendered as the variant field.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-10-02T18:39:06.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7827" PostTypeId="1" AcceptedAnswerId="7828" CreationDate="2017-10-02T20:53:15.763" Score="4" ViewCount="922" Body="&lt;p&gt;I have a multi-site Sitecore instance with several sites defined using the &lt;code&gt;physicalFolder/virtualFolder&lt;/code&gt; attributes defined on the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; nodes all done with MVC.  There is some functionality I would like to add to a page in a more native-MVC fashion where I can invoke the controller thru Javascript and update the DOM elements on the response with the updated html from the controller (ie: &lt;code&gt;/api/sitecore/search/results&lt;/code&gt;). The issue I am seeing, since I am inoking the controller directly/natively, it's a bit outside the Sitecore execution pipeline so I have no handle on the &lt;code&gt;Sitecore.Context.Site&lt;/code&gt;.  Ultimately, what I would like is to do make the routing respect the virtual folder so I can at least get a handle on the &lt;code&gt;SiteContext&lt;/code&gt; (ie: &lt;code&gt;/site1/api/sitecore/search/results&lt;/code&gt;).&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="695" LastEditDate="2017-10-02T21:08:49.123" LastActivityDate="2019-01-11T14:28:21.587" Title="Sitecore MVC Routing and Virtual Folders" Tags="|mvc|multisite|routing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7828" PostTypeId="2" ParentId="7827" CreationDate="2017-10-02T20:53:15.763" Score="8" Body="&lt;p&gt;What I ended up doing is registering a single route on &lt;code&gt;pipelines/initialize&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyFramework.Routing.RegisterVirtualFoldersRoutes, MyFramework&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;    &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in the pipeline itself:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace MyFramework.Routing&#xA;{&#xA;    public class RegisterVirtualFoldersRoutes&#xA;    {&#xA;        public virtual void Process(PipelineArgs args)&#xA;        {&#xA;            RouteTable.Routes.MapRoute(&quot;VirtualFolderRouting&quot;, &quot;{virtualFolder}/api/sitecore/{controller}/{action}/{id}&quot;, new { id = UrlParameter.Optional });&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Without any additional customization this allowed me to invoke &lt;code&gt;/site1/api/sitecore/search/results&lt;/code&gt; or &lt;code&gt;/site2/api/sitecore/search/results&lt;/code&gt; directly and get the &lt;code&gt;SiteContext&lt;/code&gt; of the site respective of the &lt;code&gt;virtualFolder&lt;/code&gt;.  I assume there &lt;em&gt;may&lt;/em&gt; be some collisions between the &lt;code&gt;virtualfolder/api/sitecore&lt;/code&gt; and other defined routes, but none of them come to mind currently.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2017-10-02T20:53:15.763" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7829" PostTypeId="2" ParentId="6486" CreationDate="2017-10-02T20:59:36.847" Score="9" Body="&lt;p&gt;Another option is to add the user in question to the Sitecore Client Maintaining role as it already has read access to the upload dialog box.  No need to edit security in the core DB with this route.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that role exposes more functionality than you like @akshaey mahajan answer is the way to go.&lt;/p&gt;&#xA;" OwnerUserId="2505" LastActivityDate="2017-10-02T20:59:36.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7830" PostTypeId="1" CreationDate="2017-10-02T21:01:28.317" Score="2" ViewCount="2284" Body="&lt;p&gt;This is so weird..&lt;br&gt;&#xA;I have an existing template and i created a &lt;strong&gt;new&lt;/strong&gt; field with checkbox property. &#xA;i set it &quot;Shared&quot; and seletected the default value as &quot;Selected&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The weird thing is &#xA;when i go to my existing items and see the value&lt;br&gt;&#xA;the english version doesnt have the default value where as the French version has it. &#xA;Keep in mind this is a Newly created field. so it has not been modified by me. &#xA;there are 100s of such components and all of them behave the same way.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;looks like a sitecore bug - but can some one verify? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My Template&lt;/strong&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/CWfIJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CWfIJ.png&quot; alt=&quot;My Template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br&gt; &#xA;&lt;strong&gt;The English version&lt;/strong&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/vzEif.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vzEif.png&quot; alt=&quot;The English version &quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The French version&lt;/strong&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/N7QG9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N7QG9.png&quot; alt=&quot;The French Version&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2396" LastActivityDate="2017-11-08T16:42:32.160" Title="Sitecore field with standard values not reflecting on item" Tags="|templates|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="7832" PostTypeId="1" CreationDate="2017-10-03T04:57:50.800" Score="3" ViewCount="162" Body="&lt;p&gt;Sitecore 7.2 Analytics DB records has grown in size to 200 GB+.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know of any recommendation for purging old data and this is a production setup so the impact of this data being removed from the database should not impact performance of live site?&lt;/p&gt;&#xA;" OwnerUserId="2418" LastActivityDate="2017-10-03T05:36:26.430" Title="Sitecore 7.2 Analytics DB records grown in size to 200 GB+" Tags="|site-configuration|sitecore-query|sitecore-services-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7833" PostTypeId="2" ParentId="7832" CreationDate="2017-10-03T05:36:26.430" Score="2" Body="&lt;p&gt;One option is to used &lt;a href=&quot;https://marketplace.sitecore.net/Modules/A/Analytics_Database_Manager.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Analytics Database Manager&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to use Analytics Database Manager 2.1&#xA;This version works with: Sitecore CMS 6.5 - 7.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These module it helps you to run next tasks : &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Clean all Analytics data&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Clean Analytics data by the specified criteria&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove all BOTs visitors&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Rebuild index&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I recommend you to not run on live environment, make a backup of your site and bring it locally and it run tasks module. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-03T05:36:26.430" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7834" PostTypeId="1" AcceptedAnswerId="7838" CreationDate="2017-10-03T06:19:17.553" Score="0" ViewCount="202" Body="&lt;p&gt;I have created a custom web api which converts glass object to json string. The glass object involves rich text field where internal links can be used. The link is fully rendered to absolute path in the response if not logged-in to sitecore but if logged-in to sitecore the dynamic sitecore link from the rich text html is returned. &#xA;I know this is the expected behavior in sitecore but I'm wondering if there is any way force the field to pass through the rendering pipeline always.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I create glass sitecore context in api controller to access the item&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;new SitecoreContext(Context.Database)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1508" LastActivityDate="2017-10-03T13:57:30.120" Title="Custom web api returns dynamic links for rich text field if logged in to sitecore" Tags="|sitecore-client|experience-editor|webapi|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7835" PostTypeId="2" ParentId="7816" CreationDate="2017-10-03T10:49:49.637" Score="1" Body="&lt;p&gt;You can download &lt;strong&gt;Publish profile&lt;/strong&gt; for your web app. It contains FTP access to your application root. You can use any FTP client such as FileZila to connect with your Azure website root and deploy hot fix using that if you dont wish to go for full deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also there is &lt;strong&gt;Kudu developer console&lt;/strong&gt; on Azure portal which will be helpful in such scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Publish Profile&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jHukx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jHukx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Kudu Developer Tools&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hf9C0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hf9C0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-10-03T10:49:49.637" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7836" PostTypeId="1" CreationDate="2017-10-03T11:27:37.137" Score="5" ViewCount="233" Body="&lt;p&gt;I have different sets of content that would be relevant to different users. Is it possible to serve this variety of content via an endpoint that exposes JSON?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so, what would need setting up in Sitecore to facilitate it? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is SSC preferable or would a custom layout and view work better?&lt;/p&gt;&#xA;" OwnerUserId="443" LastActivityDate="2017-10-03T17:30:44.740" Title="How can I personalize content within a JSON endpoint served by Sitecore?" Tags="|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7837" PostTypeId="1" CreationDate="2017-10-03T13:57:28.997" Score="2" ViewCount="102" Body="&lt;p&gt;How can I insert internal links into these WFFM places:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;WFFM Introduction and Footer text&lt;/li&gt;&#xA;&lt;li&gt;Text of a checkbox field&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would like to give the chance to the content editor to edit these links with the regular way without using item IDs.&lt;/p&gt;&#xA;" OwnerUserId="552" LastActivityDate="2017-10-03T13:57:28.997" Title="How can I place internal links into WFFM" Tags="|wffm|links|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7838" PostTypeId="2" ParentId="7834" CreationDate="2017-10-03T13:57:30.120" Score="0" Body="&lt;p&gt;You can force the current request to be served in Normal mode by setting the display mode in your code:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;Sitecore.Context.Site.SetDisplayMode(Sitecore.Sites.DisplayMode.Normal, Sitecore.Sites.DisplayModeDuration.ResetAfterRequest);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Glass uses the &lt;code&gt;Sitecore.Context.PageMode&lt;/code&gt; internally, forcing the mode to normal will cause Glass to use it's own internal data mappers rather than using Sitecore's &lt;code&gt;Renderfield&lt;/code&gt; pipelines.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-10-03T13:57:30.120" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7839" PostTypeId="1" AcceptedAnswerId="7852" CreationDate="2017-10-03T16:36:02.290" Score="5" ViewCount="1117" Body="&lt;p&gt;Is there a way to customise the font-style used by a multi-line text field in the Content Editor interface? Note - I don't care about styling for the front-end as this is handled by our regular CSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Bonus points if there is a way of using the source property of the template field to &quot;switch this on&quot; just for certain templates/fields.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2017-10-03T16:47:08.163" LastActivityDate="2021-02-02T17:51:08.517" Title="Customize font style for multi-line text field" Tags="|content-editor|fieldtype|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7840" PostTypeId="1" AcceptedAnswerId="7841" CreationDate="2017-10-03T16:56:08.560" Score="12" ViewCount="26247" Body="&lt;p&gt;I'm trying to install Solr service as described &lt;a href=&quot;https://sitecore.stackexchange.com/a/1212/272&quot;&gt;here&lt;/a&gt;. I use NSSM &lt;a href=&quot;https://nssm.cc/download&quot; rel=&quot;noreferrer&quot;&gt;prelease build 2.2.4-101&lt;/a&gt; to &lt;em&gt;'avoid an issue with services failing to start'&lt;/em&gt;, but after installation the service cannot start anyway:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5MX22.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5MX22.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Windows logs say the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Started C:\solr\bin\solr.cmd start -f -p 8983 for service solr in C:\solr\bin.&#xA;Program C:\solr\bin\solr.cmd for service solr exited with return code 0.&#xA;Killing process tree of process 24764 for service solr with exit code 0&#xA;Killing PID 24764 in process tree of PID 24764 because service solr is stopping.&#xA;Service solr action for exit code 0 is Restart. Attempting to restart C:\solr\bin\solr.cmd.&#xA;Service solr ran for less than 1500 milliseconds. Restart will be delayed by 32000 milliseconds.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;[Solr 5.4.1]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;br&gt;&#xA;I managed to &lt;a href=&quot;https://sitecore.stackexchange.com/a/7841/272&quot;&gt;install it on Win10&lt;/a&gt;, but failed to install it on Win 2016 Server... All the tools and installation steps are the same. Any idea what is wrong?&lt;/p&gt;&#xA;" OwnerUserId="272" LastEditorUserId="272" LastEditDate="2017-10-03T19:40:21.937" LastActivityDate="2020-02-21T16:41:49.337" Title="Unable to start Solr service on Windows 10 / Windows Server 2016 x64" Tags="|solr|nssm|" AnswerCount="2" CommentCount="3" ClosedDate="2017-10-04T19:46:35.527" ContentLicense="CC BY-SA 3.0" />
  <row Id="7841" PostTypeId="2" ParentId="7840" CreationDate="2017-10-03T17:06:36.820" Score="25" Body="&lt;p&gt;It was because the port was already used by another solr service installed via &lt;a href=&quot;https://bitnami.com/stack/solr&quot; rel=&quot;noreferrer&quot;&gt;Bitnami&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;br&gt;&#xA;Tried to run &lt;code&gt;solr.cmd start&lt;/code&gt; in &lt;code&gt;C:\solr\bin&lt;/code&gt; foolder. Appeared that &lt;code&gt;JAVA_HOME&lt;/code&gt; environment variable was missing. Adding the variable fixed the service.&lt;/p&gt;&#xA;" OwnerUserId="272" LastEditorUserId="272" LastEditDate="2017-10-03T20:48:00.510" LastActivityDate="2017-10-03T20:48:00.510" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7842" PostTypeId="2" ParentId="7839" CreationDate="2017-10-03T17:22:17.363" Score="4" Body="&lt;p&gt;You need to include your custom css into file : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;\sitecore\shell\Applications\Content Manager\Default.aspx &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link href=&quot;yourrelativepathtocustom.css&quot; rel=&quot;stylesheet&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your css file it will include:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; **.scContentControlMemo&#xA;   {&#xA;      font-size:50px; &#xA;      font-family: &quot;Times New Roman&quot;, Georgia, Serif;&#xA;&#xA;   }**&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These class used by css is added in the constructor of Multiline field (memo field) &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Sitecore.Shell.Applications.ContentEditor.Memo&#xA;/// &amp;lt;summary&amp;gt;&#xA;/// Initializes a new instance of the &amp;lt;see cref=&quot;T:Sitecore.Shell.Applications.ContentEditor.Memo&quot; /&amp;gt; class.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public Memo()&#xA;{&#xA;    this.Class = &quot;scContentControlMemo&quot;;&#xA;    base.Wrap = &quot;soft&quot;;&#xA;    base.Activation = true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Result of these changes on below picture &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FjtCG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FjtCG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-03T17:22:17.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7843" PostTypeId="2" ParentId="7836" CreationDate="2017-10-03T17:30:44.740" Score="1" Body="&lt;p&gt;Considering that any Sitecore Item can have any number of presentation settings based on &quot;device&quot;, it's possible to create output that emits JSON, (say, using a Controller Rendering). Given that you'd be using Sitecore's presentation pipelines, customizing output based on personalization should be straightforward.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-03T17:30:44.740" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7844" PostTypeId="1" CreationDate="2017-10-03T18:24:57.657" Score="4" ViewCount="1369" Body="&lt;p&gt;I have a multilevel navigation control and I would like to add an &lt;code&gt;active&lt;/code&gt; class and &lt;code&gt;aria-expanded=&quot;true&quot;&lt;/code&gt; to the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag when one of the item's descendants' ID matches the &lt;code&gt;Html.Sitecore().CurrentItem.ID&lt;/code&gt; so that the navigation will load pre-expanded based on wherever the user lands in the hierarchy of the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To demonstrate - if the current URL was &lt;code&gt;/A/A2/A2.2&lt;/code&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if the navigation had a structure like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;A&#xA;    A1&#xA;    A2&#xA;        A2.1&#xA;        A2.2&#xA;    A3&#xA;B&#xA;    B1&#xA;    B2&#xA;        B2.1&#xA;C&#xA;D&#xA;    D1&#xA;        D1.1&#xA;    D2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'd like to have a simple check for each item rendered that would essentially be something like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;a class=&quot;@{i.Axes.Descendants().Any(d =&amp;gt; d.ID == Html.Sitecore().CurrentItem.ID) ? 'active' : '';}&quot;&amp;gt;A&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the &lt;code&gt;A&lt;/code&gt; section would start off expanded while &lt;code&gt;B&lt;/code&gt; - &lt;code&gt;D&lt;/code&gt; would start collapsed.&lt;/p&gt;&#xA;" OwnerUserId="583" LastActivityDate="2017-10-03T23:31:01.460" Title="Site navigation - how to best to set the active class of all parent items of the current context page item?" Tags="|mvc|sitecore-query|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7845" PostTypeId="2" ParentId="7844" CreationDate="2017-10-03T18:28:30.457" Score="3" Body="&lt;p&gt;Instead of checking &lt;code&gt;Axes.Descendants&lt;/code&gt;, create a list of Ancestors (or their IDs) of your current item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then check if your current item is on that list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That will million times faster as you only create the set of &quot;active&quot; IDs once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get the list of current item ancestors IDs from:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;currentItem.Paths.LongID&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var ancestorsIds = currentItem.Item.Paths.LongID.Split(new char[]{'/'}, StringSplitOptions.RemoveEmptyEntries);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-10-03T19:00:28.397" LastActivityDate="2017-10-03T19:00:28.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7846" PostTypeId="2" ParentId="7844" CreationDate="2017-10-03T19:21:36.720" Score="4" Body="&lt;p&gt;The simplest option is to check if the &lt;code&gt;Paths.LongID&lt;/code&gt; property of the current page item contains the menu item ID.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().CurrentItem.Paths.LongID.Contains(i.ID.ToString())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works because the LongID property contains a string representation of all parent item GUIDs and since the item GUIDs are unique you can rely on it only matching if they are descendants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A couple of thoughts. Since you are adding additional properties to the markup for each menu item / site section, it will make it difficult to cache your menu components - you will have a lot of variations or have to cache per page. Personally, &lt;a href=&quot;https://stackoverflow.com/a/37912539/661447&quot;&gt;I would consider moving the logic into JavaScript&lt;/a&gt; and check the current page URL against the href property of the menu items. If you want to avoid a flicker whilst waiting for the &lt;code&gt;document.ready&lt;/code&gt; event to fire then you can inline block the JS code in the menu component so it fires immediately. This will allow you to cache your menu component once for all pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also be careful about using &lt;code&gt;@Html.Sitecore().CurrentItem&lt;/code&gt;, &lt;a href=&quot;http://jockstothecore.com/sitecore-mvc-item-maze/&quot; rel=&quot;nofollow noreferrer&quot;&gt;it will return the datasource ID if one is set&lt;/a&gt;. Perhaps you meant to use &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; or &lt;code&gt;@Model.PageItem&lt;/code&gt; in MVC world.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-10-03T23:31:01.460" LastActivityDate="2017-10-03T23:31:01.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7847" PostTypeId="1" AcceptedAnswerId="7849" CreationDate="2017-10-03T19:24:54.767" Score="5" ViewCount="465" Body="&lt;p&gt;So we have articles on our website, and we would like to place different profile cards on those items based on their category, which there will only ever be one article type at a time associated with an article.  Is there a way to associate profile cards automatically with configuration instead of programmatically building something that can do that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example, if we have the Article &lt;code&gt;How to deploy sites with Azure PaaS&lt;/code&gt;, and we tagged that article in the &lt;code&gt;Azure&lt;/code&gt; category, is there a way we could also assign them to the profile card &lt;code&gt;Azure&lt;/code&gt; as well?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-08-26T13:37:33.560" Title="How dynamically add a profile card to an Item based on a Sitecore Field" Tags="|experience-profile|marketing-definitions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7848" PostTypeId="2" ParentId="7807" CreationDate="2017-10-03T20:04:38.327" Score="0" Body="&lt;p&gt;Sitecore 8.2 update 5 is not supported at this moment.&#xA;Update 5 uses Mongo 2.4.4 but Habitat uses 1.10.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to install 8.2 update 4 and Web Forms for marketers update 1.&lt;/p&gt;&#xA;" OwnerUserId="2499" LastActivityDate="2017-10-03T20:04:38.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7849" PostTypeId="2" ParentId="7847" CreationDate="2017-10-03T20:17:27.443" Score="5" Body="&lt;p&gt;I wrote this pull request just for this case. It applies profile cards to items based on rules in the rules engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/pull/341&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/pull/341&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any rule you can write that analyzes your content, can be applied to this new rules engine to apply a profile to an item on the fly. It does not add it to the item directly. That would require you create a timer job to re-apply your profiles and handle new item added to the tree. What it does it add profile to items and score them during my RunRules pipeline on the item render.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case you are going to want to use existing rules or create new rules to evaluate your content based on your tagging. Then execute the proper profile card to be added if your content meets your required tag.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Code&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The heart of the code is the &lt;code&gt;ApplyProfileValue&lt;/code&gt; class below. When it runs on an item is applies a profile card to an item. The full commit can be found &lt;a href=&quot;https://github.com/Sitecore/Habitat/pull/341/commits/aa698603fa3d20e8a73a58d978500593dc9f37c2&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ApplyProfileValue&amp;lt;T&amp;gt; : RuleAction&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;    public string Profilecardkey { get; set; }&#xA;&#xA;    public override void Apply(T ruleContext)&#xA;    {&#xA;        Assert.ArgumentNotNull(ruleContext, &quot;ruleContext&quot;);&#xA;        Assert.IsNotNull(Tracker.Current.Session.Interaction, &quot;Tracker interaction can not be null.&quot;);&#xA;&#xA;        var profileItem = ruleContext.Item?.Database.GetItem(this.Profilecardkey);&#xA;        if (profileItem == null)&#xA;            return;&#xA;&#xA;        ProcessProfile(profileItem, Tracker.Current.Session.Interaction);&#xA;    }&#xA;&#xA;    private static void ProcessProfile(BaseItem profileItem, CurrentInteraction interaction)&#xA;    {&#xA;        if (profileItem?.Fields[Templates.ProfileCard.Fields.ProfileCardValue] == null) return;&#xA;&#xA;        var trackingFields = new List&amp;lt;TrackingField&amp;gt;&#xA;        {&#xA;            new TrackingField(profileItem.Fields[Templates.ProfileCard.Fields.ProfileCardValue])&#xA;        };&#xA;&#xA;        var fields = (IEnumerable&amp;lt;TrackingField&amp;gt;)trackingFields;&#xA;&#xA;        TrackingFieldProcessor.ProcessProfiles(interaction, fields.FirstOrDefault());&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-08-26T13:37:33.560" LastActivityDate="2018-08-26T13:37:33.560" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7850" PostTypeId="1" AcceptedAnswerId="7976" CreationDate="2017-10-03T20:34:37.647" Score="10" ViewCount="5664" Body="&lt;p&gt;We are exploring using &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;noreferrer&quot;&gt;Dianoga&lt;/a&gt; for dynamic image compression of assets in the media library. After installing the NuGet package and running some simple tests (comparing MediaCache image sizes with and without Dianoga), we are seeing approximately a 13% compression ratio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if we take some example images and run them through online tools, we get much higher compression ratios (numbers below are from an example PNG with the starting size of 424 KB):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://compressimage.toolur.com/&quot; rel=&quot;noreferrer&quot;&gt;toolur&lt;/a&gt;: 30%&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://optimizilla.com/&quot; rel=&quot;noreferrer&quot;&gt;Optimizilla&lt;/a&gt;: 65%&lt;/li&gt;&#xA;&lt;li&gt;Dianoga: 3%&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These seem to be using lossy compression methods, so I'm sure that has an impact, too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else implemented additional compression processors for Dianoga using other tools beyond the defaults?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-02-27T02:26:24.017" Title="Improve image compression using Dianoga" Tags="|media-library|dianoga|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7852" PostTypeId="2" ParentId="7839" CreationDate="2017-10-03T21:52:26.957" Score="5" Body="&lt;p&gt;The &lt;code&gt;Multi-Line Text&lt;/code&gt; field does not read or use the &lt;code&gt;Source&lt;/code&gt; field in any way, unlike some of the other fields. The only way to set additional custom CSS classes using this type of field is to &lt;a href=&quot;https://www.sitecore.net/company/blog/474/creating-a-custom-sitecore-field-4246&quot; rel=&quot;nofollow noreferrer&quot;&gt;create a custom field&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you just want to style all Multi-Line Text fields then overriding the style is the best option, but I would suggest you create a custom processor to &lt;a href=&quot;https://jammykam.wordpress.com/2014/04/24/adding-custom-javascript-and-stylesheets-in-the-content-editor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;inject the resources into the Content Editor&lt;/a&gt;, which keeps it clean for future upgrades:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class InjectResources&#xA;{&#xA;    public List&amp;lt;string&amp;gt; Styles { get; private set; }&#xA;    public List&amp;lt;string&amp;gt; Scripts { get; private set; }&#xA;&#xA;    public InjectResources()&#xA;    {&#xA;        this.Styles = new List&amp;lt;string&amp;gt;();&#xA;        this.Scripts= new List&amp;lt;string&amp;gt;();&#xA;    }&#xA;&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;        if (Sitecore.Context.ClientPage.IsEvent || HttpContext.Current == null || (HttpContext.Current.Handler as Page) == null)&#xA;            return;&#xA;&#xA;        var page = HttpContext.Current.Handler as Page;&#xA;&#xA;        foreach (var style in Styles)&#xA;        {&#xA;            page.Header.Controls.Add(new LiteralControl($&quot;&amp;lt;link href=\&quot;{style}\&quot; rel=\&quot;stylesheet\&quot; /&amp;gt;&quot;));&#xA;        }&#xA;&#xA;        foreach (var script in Scripts)&#xA;        {&#xA;            page.Header.Controls.Add(new LiteralControl($&quot;&amp;lt;script src=\&quot;{script}\&quot;&amp;gt;&amp;lt;/script&amp;gt;&quot;));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And patch this in, specifying your override scripts:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;renderContentEditor&amp;gt;&#xA;    &amp;lt;processor patch:before=&quot;*[1]&quot; type=&quot;MyProject.Pipelines.InjectResources, MyProject.Custom&quot;&amp;gt;&#xA;      &amp;lt;styles hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;style&amp;gt;/path/to/custom.css&amp;lt;/style&amp;gt;&#xA;      &amp;lt;/styles&amp;gt;&#xA;      &amp;lt;scripts hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;script&amp;gt;/path/to/custom.js&amp;lt;/script&amp;gt;&#xA;      &amp;lt;/scripts&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/renderContentEditor&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can use a CSS file like @SitecoreClimber has recommended:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt;.scContentControlMemo&#xA;{&#xA;  font-size: 24px; &#xA;  font-family: &quot;Courier New&quot;, Courier, monospace;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you still want to control the styling per field but do not want to create a custom field, then you could use a bit of JavaScript trickey along with an existing field property such as the &lt;code&gt;Short Description&lt;/code&gt; field. Set the field to something unique like &lt;strong&gt;&quot;[Code]&quot;&lt;/strong&gt; (this also means that the field alt title in EE does not look off since it is still relevant). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w0VWs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w0VWs.png&quot; alt=&quot;Short Description field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inject in a JS file and observe the &lt;code&gt;sc:contenteditorupdated&lt;/code&gt; event which means &lt;a href=&quot;https://jammykam.wordpress.com/2014/04/24/hiding-content-editor-fields-depending-on-selected-values/&quot; rel=&quot;nofollow noreferrer&quot;&gt;your code will fire when a different item is selected in the Content Editor&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;document.observe(&quot;sc:contenteditorupdated&quot;, function(event) {&#xA;    $sc(&quot;.scContentControlMemo&quot;).each(function (index, item) {&#xA;        var $fieldContainer = $sc(this).parent();&#xA;        if ($fieldContainer.prev().immediateText().endsWith(&quot;[Code]:&quot;)) {&#xA;            $fieldContainer.addClass(&quot;code&quot;);&#xA;        };&#xA;    });&#xA;});&#xA;&#xA;$sc.fn.immediateText = function() {&#xA;    return this.contents().not(this.children()).text();&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above will add a &lt;strong&gt;code&lt;/strong&gt; class to the parent &lt;code&gt;div&lt;/code&gt; of the Multi-Line Text field. Update the CSS from earlier to take this into account:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt;.code .scContentControlMemo&#xA;{&#xA;  font-size: 24px; &#xA;  font-family: &quot;Courier New&quot;, Courier, monospace;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This ensures that any default fields, such as those defined in Standard Values, do not have the custom styling applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eDdSE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eDdSE.png&quot; alt=&quot;Updated field styles&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-10-03T23:29:54.763" LastActivityDate="2017-10-03T23:29:54.763" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7853" PostTypeId="2" ParentId="7844" CreationDate="2017-10-03T23:04:44.283" Score="5" Body="&lt;p&gt;There's a method that does basically what jammykam initially suggests. It uses &lt;code&gt;StartsWith&lt;/code&gt; but that really shouldn't ever matter when comparing long ids. It is &lt;code&gt;Sitecore.Data.Items.ItemAxes.IsDescendantOf(Item item)&lt;/code&gt; which can be used as follows: &lt;code&gt;currentItem.Axes.IsDescendantOf(i)&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-10-03T23:04:44.283" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7854" PostTypeId="1" AcceptedAnswerId="7865" CreationDate="2017-10-04T01:25:51.123" Score="3" ViewCount="136" Body="&lt;p&gt;In Experience Editor, the &quot;Explore&quot; button is not enabled. The license has permissions to analytics, and GeoIP was purchased and turned on. I was going to use the &quot;Explore&quot; button to access the test link for the GeoIP, but it's not enabled on the bar. It does work on our QA server, however. I'm marked as an administrator, so I'd think I'd have access.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-10-04T13:50:24.960" Title="&quot;Explore&quot; button not available" Tags="|experience-editor|geo-location|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7856" PostTypeId="2" ParentId="7840" CreationDate="2017-10-04T05:11:21.820" Score="11" Body="&lt;p&gt;I faced the same problem. The solr starts when we execute &lt;code&gt;solr start -p 8983&lt;/code&gt; on the command prompt of solr bin folder. But when we try to start the same from services, then it gives the above error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; Please check the environment variable path of &lt;code&gt;JAVA_HOME&lt;/code&gt; on your system. It should point to the path, where the java has been installed on the system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I corrected the path, and this solves my problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="2512" LastEditorUserId="5387" LastEditDate="2020-02-21T16:41:49.337" LastActivityDate="2020-02-21T16:41:49.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7857" PostTypeId="1" CreationDate="2017-10-04T06:03:53.423" Score="1" ViewCount="140" Body="&lt;p&gt;We had set up an additional publishing target(pub db) apart from the Web db. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While the admin is selecting the web db and publishing, an alert need to be displayed, stating that web db is selected for Publishing. Is this possible?&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-10-09T14:43:56.663" Title="providing pop-up while publishing to Web data base" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7858" PostTypeId="1" AcceptedAnswerId="7864" CreationDate="2017-10-04T06:31:57.680" Score="4" ViewCount="1723" Body="&lt;p&gt;I want to replicate the scenario &lt;code&gt;workflow&lt;/code&gt; scenario programmatically.&#xA;I have a simple workflow with 2 states &lt;code&gt;Draft&lt;/code&gt; and &lt;code&gt;Published&lt;/code&gt; (or Approved). Users with the right permission can edit, save and even submit the changes Or other users can review and submit from their workbox. This works fine when the user edits the changes in the content editor.&lt;/p&gt;&#xA;&lt;p&gt;But I have a code to update some of the items programmatically and I am using switch user to run that piece of code under some specific user context. Now the problem is, those updates are not going through &lt;code&gt;workflows&lt;/code&gt;.&#xA;I am able to update the &lt;code&gt;workflow&lt;/code&gt; details (&lt;code&gt;workflow id, state id&lt;/code&gt;) to the item's corresponding field (&amp;quot;&lt;code&gt;__Workflow&lt;/code&gt;&amp;quot;, &amp;quot;&lt;code&gt;__Workflow state&lt;/code&gt;&amp;quot;) but the problem is those items don't appear in Workbox. The goal is to update the items programmatically (including creating a new version), but someone has to review and submit to get the updated items published.&lt;/p&gt;&#xA;&lt;p&gt;Please let me know if anyone got input.&lt;/p&gt;&#xA;&lt;p&gt;Thanks,&#xA;Sharath&lt;/p&gt;&#xA;" OwnerUserId="2513" LastEditorUserId="6495" LastEditDate="2022-04-28T13:39:50.620" LastActivityDate="2022-04-28T13:39:50.620" Title="How to Run the workflow programmatically and see the draft items in Workbox" Tags="|workflow|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7859" PostTypeId="1" CreationDate="2017-10-04T07:19:14.837" Score="1" ViewCount="788" Body="&lt;p&gt;I am trying to use sitecore Fake DB for unit testing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My custom config look like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;settings&amp;gt;&#xA;  &amp;lt;setting name=&quot;test1&quot; value=&quot;value1&quot; /&amp;gt;&#xA;  &amp;lt;setting name=&quot;test2&quot; value=&quot;value2&quot; /&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Constants:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class Constants&#xA;{&#xA;    public constant string SettingsTest1 = &quot;test1&quot;;&#xA;    public constant string SettingsTest2 = &quot;test2&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Public class Implementation&#xA;{&#xA; private static string _const1 = Sitecore.configuration.Settings.GetSetting(Constants.SettingsTest1);&#xA; private static string _const2 = Sitecore.configuration.Settings.GetSetting(Constants.SettingsTest2);&#xA;&#xA; public string method()&#xA; {&#xA;      var key = _const1;&#xA;      //Do something&#xA; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While writing unit tests, I am trying to use this to assign the value for settings - &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Settings&lt;/a&gt;&#xA;and when I write unit test for the method, the settings value is always null because it is trying to get the value from config file. How can I write unit test for the method to use the settings value from fake db instead of config file? Thanks!&lt;/p&gt;&#xA;" OwnerUserId="823" LastEditorUserId="823" LastEditDate="2017-10-04T08:30:35.033" LastActivityDate="2017-10-04T12:01:13.940" Title="Sitecore Fake Db with GetSetting Sitecore method" Tags="|fakedb|" AnswerCount="1" CommentCount="2" ClosedDate="2017-10-04T12:03:56.737" ContentLicense="CC BY-SA 3.0" />
  <row Id="7860" PostTypeId="1" AcceptedAnswerId="7913" CreationDate="2017-10-04T10:52:42.367" Score="0" ViewCount="1251" Body="&lt;p&gt;&lt;strong&gt;IGlassBase&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class IGlassBase : RenderingModel&#xA;{&#xA;   public HtmlString Name&#xA;   {&#xA;        get&#xA;        {&#xA;            return new HtmlString(FieldRenderer.Render(this.Item, &quot;Name&quot;));&#xA;        }&#xA;        set&#xA;        {&#xA;&#xA;        }&#xA;   }&#xA;   public HtmlString TemplateName&#xA;   {&#xA;        get&#xA;        {&#xA;            return new HtmlString(FieldRenderer.Render(this.Item, &quot;TemplateName&quot;));&#xA;        }&#xA;        set&#xA;        {&#xA;&#xA;        }&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ArticleController&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ArticleController : BaseController&#xA;{&#xA;    public ActionResult Listings()&#xA;    {&#xA;        IGlassBase glassBase = new IGlassBase();&#xA;        glassBase.Initialize(RenderingContext.Current.Rendering);&#xA;        return View(glassBase);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Listings.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Demo_1.Models.IGlassBase&#xA;&amp;lt;p&amp;gt;Sitecore 8.2 demo web&amp;lt;/p&amp;gt;&#xA;&amp;lt;table style=&quot;width:100%&quot;&amp;gt;&#xA;&amp;lt;tr&amp;gt;&#xA;    &amp;lt;th&amp;gt; Name &amp;lt;/th&amp;gt;&#xA;    &amp;lt;th&amp;gt; Template Name &amp;lt;/th&amp;gt;&#xA;&amp;lt;/tr&amp;gt;&#xA;&amp;lt;tr&amp;gt;&#xA;    &amp;lt;td&amp;gt;&#xA;        @Model.Name&#xA;    &amp;lt;/td&amp;gt;&#xA;    &amp;lt;td&amp;gt;&#xA;        @Model.TemplateName&#xA;    &amp;lt;/td&amp;gt;&#xA;&amp;lt;/tr&amp;gt;&#xA;&amp;lt;/table&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I publish this project and run it on sitecore, this error is caused:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error Rendering View: /Views/Article/Listings.cshtml: Error while rendering view: '/Views/Article/Listings.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;    at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;    at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;  Inner Exception: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Demo_1.Models.IGlassBase'.&#xA;     at System.Web.Mvc.ViewDataDictionary`1.SetModel(Object value)&#xA;     at System.Web.Mvc.ViewDataDictionary..ctor(ViewDataDictionary dictionary)&#xA;     at System.Web.Mvc.WebViewPage`1.SetViewData(ViewDataDictionary viewData)&#xA;     at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)&#xA;     at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;     at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2516" LastEditorUserId="70" LastEditDate="2017-10-04T13:56:03.730" LastActivityDate="2017-10-08T20:13:26.187" Title="Inner Exception: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel'" Tags="|glass-mapper|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="7862" PostTypeId="2" ParentId="7859" CreationDate="2017-10-04T12:01:13.940" Score="0" Body="&lt;p&gt;You should abstract the Sitecore.Configuration.Settings.GetSettings method. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IConfigurationSettings&#xA;{&#xA;    string GetSetting(string key);    &#xA;}&#xA;&#xA;public class ConfigurationSettings : IConfigurationSettings&#xA;{&#xA;    public string GetSetting(string key)&#xA;    {&#xA;        return Sitecore.Configuration.Settings.GetSetting(key);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you have abstracted this you can inject the IConfigurationSettings and mock it in your unit test.&lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2017-10-04T12:01:13.940" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7863" PostTypeId="1" AcceptedAnswerId="7871" CreationDate="2017-10-04T12:31:44.193" Score="3" ViewCount="1049" Body="&lt;p&gt;I am having issues using domain in Sitecore when pages are restricted to extranet\anonymous.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my goal is to restrict extranet\anoymous from viewing a page(Test Page) then redirect me to my custom Login Page which requies login credentials. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works when i am using domain=&quot;extranet&quot; however, only extranet accounts can only be used for logging in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is, I need to be able to log in using my Sitecore account. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried changing the domain to &quot;sitecore'; however, if i do that, I can no longer be redirected to my Custom Login Page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to ask for advice/help. Thanks&lt;/p&gt;&#xA;" OwnerUserId="2472" LastEditorUserId="73" LastEditDate="2017-10-04T19:21:46.837" LastActivityDate="2019-06-18T13:53:29.243" Title="Restriction of Pages using sitecore domain" Tags="|authentication|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7864" PostTypeId="2" ParentId="7858" CreationDate="2017-10-04T13:37:19.323" Score="3" Body="&lt;p&gt;You can use Sitecore Workflow API to add the newly created item/version into workflow, the new version will go into the initial state of your workflow, which usually would be the &quot;Draft&quot; state.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ID WorkflowID = ID.Parse(&quot;ID of your workflow Item&quot;);&#xA;newItemVersion.Editing.BeginEdit();&#xA;newItemVersion.Fields[Sitecore.FieldIDs.Workflow].Value = WorkflowID;&#xA;IWorkflow wf = master.WorkflowProvider.GetWorkflow(WorkflowID);&#xA;wf.Start(newItemVersion);&#xA;newItemVersion.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-10-04T13:37:19.323" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7865" PostTypeId="2" ParentId="7854" CreationDate="2017-10-04T13:50:24.960" Score="1" Body="&lt;p&gt;I had Xdb.Tracking.Enabled set to &quot;false&quot; on my CM, which I thought was necessary to keep the CM from doing tracking...Sitecore even seems to suggest doing this: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/configuring/disabling_xdb_and_the_xdb_tracker&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/configuring/disabling_xdb_and_the_xdb_tracker&lt;/a&gt;. Then I saw the note about changing the setting would knock out personalization and GeoIP. I changed it back, the Explore button came back, and I could hit the GeoIP test link again.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-10-04T13:50:24.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7866" PostTypeId="1" CreationDate="2017-10-04T14:55:53.857" Score="2" ViewCount="92" Body="&lt;p&gt;We have deployed our project on Azure Staging CM and CD and everything works fine. We then moved to production instance CM/CD. CM works fine but on CD site freeze on ajax calls and browser prompts to stop running script in jQuery lib (hosted on CDN). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We also noticed that &lt;code&gt;@URL.Action&lt;/code&gt; is returning empty string while on CM it is returning an actual URL.&#xA;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&#xA;Calling &lt;code&gt;hostname/api/sitecore/controller/action&lt;/code&gt; on CM throws an exception when trying to access the &lt;code&gt;RenderingContext&lt;/code&gt;: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Attempt to retrieve context object of type &lt;code&gt;Sitecore.Mvc.Presentation.RenderingContext&lt;/code&gt; from empty stack'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Which means it started executing the action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However &lt;code&gt;hostname/api/sitecore/controller/action&lt;/code&gt; on CD redirects to our page not found page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is: are there MVC routes differences between CM and CD?&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="70" LastEditDate="2017-10-05T15:31:59.040" LastActivityDate="2017-10-05T15:31:59.040" Title="Site freezes with javascript execution on CD instance only (Azure WebApp)" Tags="|azure|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7867" PostTypeId="1" AcceptedAnswerId="7931" CreationDate="2017-10-04T15:16:38.573" Score="1" ViewCount="136" Body="&lt;p&gt;I found this question previously asked and answered on this topic: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5032/sitecore-analytics-location-has-no-data&quot;&gt;Sitecore Analytics Location has no data&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a follow-up to that, if I just purchased the GeoIP service and turned on the Analytics.PerformLookup setting, does data capture of the GeoIP information begin from that point in time, or does Sitecore go back through Mongo and process that information from the day of inception? That is, did Sitecore care about GeoIP data prior to the activation of the service or not?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second, to confirm what some blogs mentioned on the topic (such as &lt;a href=&quot;https://blog.horizontalintegration.com/2016/08/28/sitecore-8-geo-ip-lookup-configuration-tips/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.horizontalintegration.com/2016/08/28/sitecore-8-geo-ip-lookup-configuration-tips/&lt;/a&gt;), I only turned on Analytics.PerformLookup on my CM server, and not my CD servers. Is this the correct setup for optimal usage in a CM with two CD setup?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-10-09T13:58:57.643" Title="Analytics location - no data follow-up" Tags="|xdb|mongodb|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7868" PostTypeId="2" ParentId="7866" CreationDate="2017-10-04T15:27:36.490" Score="1" Body="&lt;p&gt;It turned out to be similar to this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3387/invalidoperationexception-no-route-in-the-route-table-matches-the-supplied-valu&quot;&gt;SO solution&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default &lt;code&gt;{controller}/{action}&lt;/code&gt; pattern was not found and the sitecore.Speak.Mvc.config (which defines such pattern) gets disabled on CD.&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="70" LastEditDate="2017-10-04T22:54:42.823" LastActivityDate="2017-10-04T22:54:42.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7869" PostTypeId="1" AcceptedAnswerId="7873" CreationDate="2017-10-04T17:13:34.460" Score="4" ViewCount="1297" Body="&lt;p&gt;I currently have a script that puts a file in a directory the website but would rather create it in the Data directory.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The powershell script has the below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$FilePath = $AppPath + &quot;Temp_files\MyLists\&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Current Result, file into directory &quot;D:/inetpub/mysite.com/Website/Temp_files/MyLists/&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Preferred Result, file into directory:  &quot;D:/inetpub/mysite.com/Data/Temp_files/MyLists/&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any assistance is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="524" LastEditorUserId="237" LastEditDate="2017-12-18T10:23:09.380" LastActivityDate="2018-11-21T19:47:58.647" Title="Powershell command to get lower directory" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7870" PostTypeId="2" ParentId="7869" CreationDate="2017-10-04T17:25:43.967" Score="1" Body="&lt;p&gt;You can try in this way: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $dataFolder = [Sitecore.Configuration.Settings]::DataFolder&#xA; $tempFolder = $dataFolder + &quot;\Temp_files\MyLists\&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="70" LastEditDate="2017-10-05T15:29:27.743" LastActivityDate="2017-10-05T15:29:27.743" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7871" PostTypeId="2" ParentId="7863" CreationDate="2017-10-04T17:43:35.587" Score="3" Body="&lt;p&gt;&lt;strong&gt;Separate Site Strategy&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given your clarifications, have you considered creating a separate site on which to host this protected content? In the site definition you can specify the security domain, and therefore limit it to Sitecore users/authors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Quick Fix&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Consider: &lt;code&gt;extranet\anonymous&lt;/code&gt; is different from &lt;code&gt;sitecore\anonymous&lt;/code&gt; Sitecore's user names are actually stored in ASP.NET Membership Services as fully-qualified names, including their domain. Sitecore simply looks at the supplied user name, and if it doesn't include the domain portion, prefixes the user name with the current Site's domain. (&lt;code&gt;extranet&lt;/code&gt; by default on public sites)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your login form &lt;em&gt;should&lt;/em&gt; support allowing Sitecore users to enter their user name as &quot;sitecore\myUserName&quot; I have several clients that use this strategy currently, as it saves them from having discrete accounts to edit and read protected content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Caveat Emptor&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order for this to work correctly, your &lt;code&gt;sitecore\Everyone&lt;/code&gt; Role (or other more limited and appropriate role) needs the Read right to the Items you're protecting. If your content authors can currently edit the Items, you're all set, but if your &lt;em&gt;reading&lt;/em&gt; Sitecore users are different from your &lt;em&gt;editing&lt;/em&gt; Sitecore users, you'll have to make sure the permissions are set appropriately.&lt;/p&gt;&#xA;" OwnerUserId="338" LastEditorUserId="338" LastEditDate="2019-06-18T13:53:29.243" LastActivityDate="2019-06-18T13:53:29.243" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="7872" PostTypeId="1" CreationDate="2017-10-04T18:44:57.277" Score="2" ViewCount="207" Body="&lt;p&gt;I have a content tree folder with hundreds of child items. Is there a way to have a profile card assigned to all child items without manually assigning them the card?&lt;/p&gt;&#xA;" OwnerUserId="2520" LastEditorUserId="237" LastEditDate="2017-10-05T08:17:39.730" LastActivityDate="2017-10-05T13:36:11.860" Title="Sitecore 8.2 Automatically assigning profile cards to subitems in a folder" Tags="|experience-profile|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7873" PostTypeId="2" ParentId="7869" CreationDate="2017-10-04T20:27:56.700" Score="5" Body="&lt;p&gt;I assume your question is requesting how to do this using Sitecore PowerShell Extensions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a number of builtin variables that SPE generates. I recommend you make use of those before using the static variables with a fully-qualified namespace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following uses the variable &lt;code&gt;$SitecoreDataFolder&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$filepath = &quot;$($SitecoreDataFolder)\Temp_Files\MyLists&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Reference&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items/variables&quot; rel=&quot;nofollow noreferrer&quot;&gt;List of variables&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="197" LastEditDate="2018-11-21T19:47:58.647" LastActivityDate="2018-11-21T19:47:58.647" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="7874" PostTypeId="2" ParentId="7858" CreationDate="2017-10-04T21:09:36.280" Score="0" Body="&lt;p&gt;Sitecore PowerShell Extensions comes with a few commands to help manipulate workflow data.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/common/invoke-workflow&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Invoke-Workflow&lt;/code&gt;&lt;/a&gt; is likely the command you would use in your scenario.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following transitions the item through the workflow by triggering the command programmatically.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Invoke-Workflow -Path master:/content/home -CommandName &amp;quot;Submit&amp;quot; -Comments &amp;quot;Automated&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Other commands of interest include &lt;code&gt;New-ItemWorkflowEvent&lt;/code&gt; and &lt;code&gt;Get-ItemWorkflowEvent&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="70" LastEditDate="2022-04-28T11:55:49.273" LastActivityDate="2022-04-28T11:55:49.273" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="7875" PostTypeId="1" AcceptedAnswerId="7879" CreationDate="2017-10-05T04:09:14.493" Score="4" ViewCount="355" Body="&lt;p&gt;I have a task to convert the address that was Synced from CRM into Sitecore item upon running the Sync in Data Exchange. I am new to this feature of Sitecore and was thinking of creating a pipeline during the process of Synchronization from the Data Exchange to convert the address from CRM into a latitude and longitude and map it into a GeoLocation field we have in Sitecore Template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just like to have an idea on how to do this and what are the things I need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastActivityDate="2017-11-08T02:45:42.300" Title="Converting Address in CRM to Sitecore via Data Exchange to GeoLocation Latitude Longitude" Tags="|pipelines|data-exchange-framework|geo-location|dynamics-crm-module|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7876" PostTypeId="1" CreationDate="2017-10-05T06:32:33.093" Score="5" ViewCount="1078" Body="&lt;p&gt;I am currently playing around with Sitecore indexes - both Solr and Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have made my own custom index and it works fine for Lucene, but I cannot get it to work with Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is that the &lt;code&gt;FieldNameTranslator&lt;/code&gt; is null for my index, whenever I use the Solr configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the Sitecore ContentSearch dlls to get the indexes in the following manner:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; this.IndexName = indexName;&#xA; this.index = ContentSearchManager.GetIndex(indexName);           &#xA; var i = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As a test, I also tried fetching the &lt;code&gt;sitecore_master_index&lt;/code&gt; and that seems to work. I get the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rjop0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rjop0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get an index, but whenever I query it by calling &lt;code&gt;GetQueryable&amp;lt;T&amp;gt;&lt;/code&gt;, then it fails with the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.ArgumentNullException Message: Value cannot be null.&#xA;  Parameter name: fieldNameTranslator Source:&#xA;  Sitecore.ContentSearch.Linq.Solr    at&#xA;  Sitecore.ContentSearch.Linq.Solr.SolrIndexParameters..ctor(IIndexValueFormatter&#xA;  valueFormatter, IFieldQueryTranslatorMap&lt;code&gt;1 fieldQueryTranslators,&#xA;  FieldNameTranslator fieldNameTranslator, IExecutionContext[]&#xA;  executionContexts, IFieldMapReaders fieldMap, Boolean&#xA;  convertQueryDatesToUtc)    at&#xA;  Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex&lt;/code&gt;1..ctor(SolrSearchContext&#xA;  context, IExecutionContext[] executionContexts)    at&#xA;  Sitecore.ContentSearch.SolrProvider.SolrSearchContext.GetQueryable[TItem](IExecutionContext[]&#xA;  executionContexts)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I am using SolrNet as IOC which, from what I can read in the documentation, should work from 8.2 and upwards. If I use one of the other IOCs then it works just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is, what could go wrong here? And can somebody explain me what the &lt;code&gt;FieldNameTranslator&lt;/code&gt; is and how it is initiated in configuration? (where I suppose it is set)&lt;/p&gt;&#xA;" OwnerUserId="2524" LastEditorUserId="2727" LastEditDate="2018-02-07T13:23:26.307" LastActivityDate="2023-07-24T07:13:35.873" Title="Sitecore Solr index FieldNameTranslator is null" Tags="|solr|indexing|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7878" PostTypeId="1" CreationDate="2017-10-05T08:56:04.097" Score="2" ViewCount="451" Body="&lt;p&gt;I'm getting the below error after deploying on Azure. We're using Azure Search with Helix pattern reusing Habitat's Foundation.Indexing style (indexing providers).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;Invalid expression: A binary operator with incompatible types was detected. Found operand types 'Edm.Boolean' and 'Edm.String' for operator kind 'And'.\r\nParameter name: $filter&quot;}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What does this error mean? Search was working fine on Azure staging but not on production instance.&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="2890" LastEditDate="2018-03-22T14:42:48.687" LastActivityDate="2018-03-22T14:42:48.687" Title="A binary operator with incompatible types was detected error in Azure Search with Helix" Tags="|helix|azure-search|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7879" PostTypeId="2" ParentId="7875" CreationDate="2017-10-05T08:56:44.870" Score="8" Body="&lt;p&gt;I can suggest the following solution: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to implement a custom field reader with a custom field converter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.DataExchange.DataAccess;&#xA;&#xA;namespace Example&#xA;{&#xA;    public interface IBaseValueReader: IValueReader&#xA;    {&#xA;        string AttributeName { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;AddressFieldReader:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.DataExchange.DataAccess;&#xA;using Sitecore.DataExchange.Repositories;&#xA;&#xA;namespace Example&#xA;{&#xA;    public class AddressFieldReader : IBaseValueReader&#xA;    {&#xA;        public string AttributeName { get; set; }&#xA;        public IItemModelRepository Repository { get; private set; }&#xA;        public ExampleFieldReader(IItemModelRepository repository)&#xA;        {&#xA;            Repository = repository;&#xA;        }&#xA;&#xA;        public CanReadResult CanRead(object source, DataAccessContext context)&#xA;        {&#xA;            return new CanReadResult()&#xA;            {&#xA;                CanReadValue = true&#xA;            };&#xA;        }&#xA;&#xA;        public ReadResult Read(object source, DataAccessContext context)&#xA;        {&#xA;            object result = (object)null;&#xA;&#xA;            var sourceObject = source as Microsoft.Xrm.Sdk.Entity;&#xA;            if (sourceObject != null &amp;amp;&amp;amp; AttributeName != null)&#xA;            {&#xA;                object value;&#xA;&#xA;                //Try to read attribute by the attribute name &#xA;&#xA;                if (sourceObject.Attributes.TryGetValue(AttributeName, out value))&#xA;                {&#xA;&#xA;                    //Then you need to cast it to the address field type&#xA;&#xA;                    var searchObject = value as Microsoft.Xrm.Sdk.Money; //It is example. You need to debug and see which type you exactly get. &#xA;&#xA;                    //Then you need to check if field is not null and have value.&#xA;&#xA;                    if (searchObject != null &amp;amp;&amp;amp; searchObject.Value != Decimal.Zero)&#xA;                    {&#xA;                        var fieldValue = searchObject.Value;&#xA;&#xA;                        //Now, when you got a value of field, you can use any API to get GeoLocation. &#xA;                        // Your code here:&#xA;&#xA;                        var geoLocation = fieldValue; &#xA;&#xA;                        //Then you should return result:&#xA;&#xA;                        return new ReadResult(DateTime.UtcNow)&#xA;                        {&#xA;                            WasValueRead = true,&#xA;                            ReadValue = geoLocation&#xA;                        };&#xA;                    }&#xA;                }&#xA;&#xA;            }&#xA;&#xA;            return new ReadResult(DateTime.UtcNow)&#xA;            {&#xA;                WasValueRead = true,&#xA;                ReadValue = String.Empty&#xA;            };&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;AddressFieldReaderConverter:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.DataExchange.DataAccess;&#xA;using Sitecore.DataExchange.Extensions;&#xA;using Sitecore.DataExchange.Repositories;&#xA;using Sitecore.Services.Core.Model;&#xA;using System;&#xA;using Sitecore.DataExchange.Converters;&#xA;&#xA;namespace Example&#xA;{&#xA;    public class AddressFieldReaderConverter : BaseItemModelConverter&amp;lt;ItemModel, IValueReader&amp;gt;&#xA;    {&#xA;        private AddressFieldReader _reader = (AddressFieldReader)null;&#xA;&#xA;&#xA;        private static readonly Guid TemplateId = Guid.Parse(&quot;{C3C9E93C-F197-4FBD-820D-DCB565707AF7}&quot;);&#xA;        public AddressFieldReaderConverter(IItemModelRepository repository)&#xA;      : base(repository)&#xA;        {&#xA;            this.SupportedTemplateIds.Add(TemplateId);&#xA;        }&#xA;&#xA;        public override bool CanConvert(ItemModel source)&#xA;        {&#xA;            return true;&#xA;        }&#xA;&#xA;        public override IValueReader Convert(ItemModel source)&#xA;        {&#xA;            if (source == null)&#xA;            {&#xA;                Sitecore.DataExchange.Context.Logger.Error(&quot;Cannot convert null item to value reader. (converter: {0})&quot;, (object)this.GetType().FullName);&#xA;                return (IValueReader)null;&#xA;            }&#xA;            if (!this.CanConvert(source))&#xA;            {&#xA;                Sitecore.DataExchange.Context.Logger.Error(&quot;Cannot convert item to value reader. (item: {0}, converter: {1})&quot;, (object)source.GetItemId(), (object)this.GetType().FullName);&#xA;                return (IValueReader)null;&#xA;&#xA;            }&#xA;&#xA;            if (_reader == null)&#xA;                _reader = new AddressFieldReader(ItemModelRepository);&#xA;            return (IValueReader)_reader;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You also need to implement a Value Accessor for passing the Attribute Name Value from the Value Accessor to the Field Reader:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.DataExchange.Converters.DataAccess.ValueAccessors;&#xA;using Sitecore.DataExchange.DataAccess;&#xA;using Sitecore.DataExchange.DataAccess.Writers;&#xA;using Sitecore.DataExchange.Providers.DynamicsCrm.DataAccess.Readers;&#xA;using Sitecore.DataExchange.Repositories;&#xA;using Sitecore.Services.Core.Model;&#xA;using System;&#xA;&#xA;namespace Example&#xA;{&#xA;    public class CustomValueAccessorConverter : ValueAccessorConverter&#xA;    {&#xA;        private static readonly Guid TemplateId = Guid.Parse(&quot;{C3C9E93C-F197-4FBD-820D-DCB565707AF7}&quot;);&#xA;&#xA;        public LookupValueAccessorConverter(IItemModelRepository repository)&#xA;          : base(repository)&#xA;        {&#xA;            this.SupportedTemplateIds.Add(LookupValueAccessorConverter.TemplateId);&#xA;        }&#xA;&#xA;        public override IValueAccessor Convert(ItemModel source)&#xA;        {&#xA;            IValueAccessor valueAccessor = base.Convert(source);&#xA;            if (valueAccessor == null)&#xA;                return (IValueAccessor)null;&#xA;&#xA;&#xA;            string stringValue = this.GetStringValue(source, &quot;AttributeName&quot;);&#xA;            if (string.IsNullOrWhiteSpace(stringValue))&#xA;                return (IValueAccessor)null;&#xA;            bool boolValue = this.GetBoolValue(source, &quot;UseValueProperty&quot;);&#xA;&#xA;&#xA;&#xA;            if (valueAccessor.ValueReader == null)&#xA;            {&#xA;                EntityAttributeValueReader attributeValueReader = new EntityAttributeValueReader(stringValue);&#xA;                if (this.GetBoolValue(source, &quot;UseValueProperty&quot;))&#xA;                    attributeValueReader.UseValueProperty = true;&#xA;                valueAccessor.ValueReader = (IValueReader)attributeValueReader;&#xA;            }&#xA;            else&#xA;            {&#xA;                //Custom part. Initialize attribute for read&#xA;&#xA;                var customFieldReader = valueAccessor.ValueReader as IBaseValueReader;&#xA;                if (customFieldReader != null)&#xA;                {&#xA;                    customFieldReader.AttributeName = stringValue;&#xA;                }&#xA;            }&#xA;&#xA;            if (valueAccessor.ValueWriter == null &amp;amp;&amp;amp; !boolValue)&#xA;                valueAccessor.ValueWriter = (IValueWriter)new IndexerPropertyValueWriter(new object[1]&#xA;                {&#xA;          (object) stringValue&#xA;                });&#xA;&#xA;            return valueAccessor;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need to create a template for AddressField Reader and inherit it from the Value Reader template (/sitecore/templates/Data Exchange/Framework/Data Access/Value Readers/Value Reader):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/F9peH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F9peH.png&quot; alt=&quot;Create Value Reader Template&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TLgFf.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TLgFf.png&quot; alt=&quot;Updating _StandardValues&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, based on this template, you need to create a Value Reader Item (make sure the converter is correct):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GXZko.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GXZko.png&quot; alt=&quot;Creating instanse of Value Reader&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next step is to create a Value Accessor for your import object (make sure the Converter type set to your custom implemented):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Y0c5X.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y0c5X.png&quot; alt=&quot;Create Value Accessor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can use this Value Accessor in your Value Mapping Set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you need to run an import and see if it is works. Take into account that it is not exactly your solution. It is just an example. You need debug and correct this code.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-10-05T10:00:34.793" LastActivityDate="2017-10-05T10:00:34.793" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="7880" PostTypeId="2" ParentId="7369" CreationDate="2017-10-05T09:30:41.083" Score="1" Body="&lt;p&gt;Finaly I got a fix for this issue. Added the following lines in &lt;code&gt;attributes&lt;/code&gt; variable in &lt;strong&gt;&lt;em&gt;FormViewModel.cshtml&lt;/em&gt;&lt;/strong&gt; file (&lt;em&gt;Views\Form\EditorTemplates\FormViewModel.cshtml&lt;/em&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    { &quot;enctype&quot;, &quot;multipart/form-data&quot; },&#xA;    { &quot;class&quot;, @Model.CssClass },&#xA;    { &quot;id&quot;, Model.ClientId },&#xA;    { &quot;role&quot;, &quot;form&quot; },&#xA;    { Sitecore.Forms.Mvc.Constants.Wffm, Model.Item.ID },         &#xA;    {&quot;action&quot;, Sitecore.Links.LinkManager.GetItemUrl(Sitecore.Context.Item)}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1468" LastActivityDate="2017-10-05T09:30:41.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7881" PostTypeId="1" AcceptedAnswerId="7927" CreationDate="2017-10-05T11:44:38.243" Score="2" ViewCount="223" Body="&lt;p&gt;When we use &quot;Multilist with Search&quot; as editor option using powershell extension, it shows multilist without any search. It seems the multilist with search is not enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used below line of code in my powershell script&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{ Name = &quot;multilistwithsearch&quot;;  Title=&quot;MultilistDemo&quot;; &#xA;  Source=&quot;StartSearchLocation={CC4E9B0A-17B2-4D78-917A-419620A80D06}&amp;amp;TemplateFilter={18050423-3FCF-4AAC-ACA4-B2EEA541000B}&quot;; &#xA;  editor=&quot;multilist with Search&quot;;             &#xA;     }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can some one tell us that multilist with search is enabled with powershell extension? If yes then could someone show how to configure it?&lt;/p&gt;&#xA;" OwnerUserId="2525" LastEditorUserId="237" LastEditDate="2017-10-05T11:49:04.507" LastActivityDate="2017-10-09T12:31:06.020" Title="Multilist with Search not working with Powershell script" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7882" PostTypeId="1" CreationDate="2017-10-05T11:57:26.273" Score="3" ViewCount="460" Body="&lt;p&gt;When we create an item in a Sitecore bucket folder using PowerShell Extensions like shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-Item -Path &quot;$PathofBucketFolder&quot; -Name $TitleofanItem -ItemType $TemplateofanItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The item gets created in the bucket based on the rule we have set but it does not get focused. I mean after the item is created author has to go to the folder and see. Whereas in normal Sitecore way when we create the item in the bucket, the newly created item is navigated automatically by Sitecore in the content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is, is it not possible to navigate to the item when the item is created using PowerShell Extensions.&lt;/p&gt;&#xA;" OwnerUserId="2527" LastEditorUserId="4050" LastEditDate="2019-10-17T03:44:45.257" LastActivityDate="2021-03-10T06:00:50.103" Title="New item is not in focused after creation using powershell" Tags="|powershell-extensions|buckets|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="7883" PostTypeId="2" ParentId="7802" CreationDate="2017-10-05T12:06:38.130" Score="3" Body="&lt;p&gt;I found the solution @Html.Sitecore().Rendering() will not work for View rendering type. My rendering was of type View rendering which it was throwing above error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And also I tried with @Html.Sitecore().ViewRendering() for view rendering type, it dint work as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I decided to use Controller rendering to make it work.&lt;/p&gt;&#xA;" OwnerUserId="2528" LastActivityDate="2017-10-05T12:06:38.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7884" PostTypeId="2" ParentId="7872" CreationDate="2017-10-05T13:36:11.860" Score="1" Body="&lt;p&gt;As mentioned in the comments, there are two solutions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 1: Standard Values&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming the contents of your folder all share a Data Template (or inherit from one) you can assign the profile card to the Standard Values of the appropriate Data Template, and now all your folder content will automatically have it on creation (and retroactively for existing Items provided they don't have any profile cards assigned already).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 2: Event Handler&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the contents of a given folder are of mixed Template types, you need to get clever. You can create an Item Created or Item Saved rule that does the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Checks to see if the new Item's ancestry includes the folder that &quot;designates&quot; Items that should have a specific profile card.&lt;/li&gt;&#xA;&lt;li&gt;If true, executes a custom Rule Action to add the profile card to the new/saved Item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When creating a custom Rule Action, you can add the Profile Card ID as a parameter, so that you can apply this rule action to other folders, and supply references to other Profile Cards.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-05T13:36:11.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7885" PostTypeId="1" AcceptedAnswerId="7912" CreationDate="2017-10-05T14:25:27.930" Score="3" ViewCount="484" Body="&lt;p&gt;We have a number of goals that can be completed by anonymous users, which we use to do things like measure campaign penetration, etc. Because these goals are anonymous, they are not true &quot;conversions&quot; which IMHO would involve turning an anonymous visitor into a known contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can you use Sitecore to differentiate between anonymous goals and actual conversion goals?&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-08T20:15:30.650" Title="How to distinguish between Goals and Conversions" Tags="|experience-analytics|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7886" PostTypeId="2" ParentId="7434" CreationDate="2017-10-05T14:38:47.900" Score="0" Body="&lt;p&gt;The solution I came up with was to modify the SelectRoles xaml to include a hidden field for IsAdmin, and to check that field while applying the rules I needed to implement. I then wrote a class extending the SelectRoles.SelectRolesPage class that assigns the value of the hidden field on load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The result is now whenever a user opens the Select Roles window, a flag is set whether they are Administrators (according to the IsAdministrator Sitecore value, not any role), and based on that certain rules are applied/ignored.&lt;/p&gt;&#xA;" OwnerUserId="2425" LastActivityDate="2017-10-05T14:38:47.900" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7887" PostTypeId="2" ParentId="280" CreationDate="2017-10-05T15:05:03.500" Score="26" Body="&lt;p&gt;Unlock_Admin doesn't work when you will decide to change your password encryption from SHA1 into SHA512 (regarding to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/change_the_hash_algorithm_for_password_encryption&quot; rel=&quot;noreferrer&quot;&gt;Sitecore recommendations&lt;/a&gt;).&#xA;It does NOT reset password for Sitecore admin - it just unlock the Sitecore account - as the name of method says. &#xA;Here you have got a code of this method: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override bool UnlockUser(string username)&#xA;{&#xA;  this._api.CheckParameter(ref username, true, true, true, this._api.UserNameLength, &quot;username&quot;);&#xA;  ID applicationId = this.GetApplicationID(this.ApplicationName, false);&#xA;  if ((object) applicationId == null || applicationId == ID.Null)&#xA;    return false;&#xA;  SqlMembershipUser userByName = this._api.GetUserByName(username, applicationId);&#xA;  if (userByName == null)&#xA;    return false;&#xA;  return userByName.Unlock();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To reset the password you need to change code inside unlock_admin.aspx file which you will find in path:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\sitecore\admin\unlock_admin&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just replace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Membership.GetUser(&quot;sitecore\\admin&quot;).UnlockUser();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var user = Membership.GetUser(&quot;sitecore\\admin&quot;);&#xA;user.UnlockUser();&#xA;user.ChangePassword(user.ResetPassword(), &quot;b&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally you can put this file directly in the webroot if you can not access it in default location - remember to delete it later.&lt;/p&gt;&#xA;" OwnerUserId="228" LastEditorUserId="228" LastEditDate="2017-10-19T12:02:44.523" LastActivityDate="2017-10-19T12:02:44.523" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7888" PostTypeId="1" AcceptedAnswerId="7890" CreationDate="2017-10-05T16:09:15.140" Score="4" ViewCount="593" Body="&lt;p&gt;I'm quite new to search facets with sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to implement a search facet with lucene, where I need to categorize results based on the Parent of the child items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to use the Location facet which comes by default, but its displaying GUIDs instead of parent names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone add few pointers or links to a correct resource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-10-06T04:52:29.693" Title="Sitecore Search Facet based on Path" Tags="|content-search|search-facet|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7889" PostTypeId="1" AcceptedAnswerId="7898" CreationDate="2017-10-05T16:14:01.807" Score="3" ViewCount="888" Body="&lt;p&gt;I'm trying to implement Recommended Results feature with Sitecore lucene search for our website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm thinking to implement a Tag field, and depending on the tags selected for a page item, boost the lucene content search results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My questions are, &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How can we boost the particular search result entry on indexing time, when we indexing to lucene index ?&lt;/li&gt;&#xA;&lt;li&gt;if we achieve above point, how can be a particular search result entry be boosted only for a given search wording ?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-10-09T10:30:42.733" Title="Boosting Sitecore Lucene Indexing Results" Tags="|content-search|lucene|search-facet|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7890" PostTypeId="2" ParentId="7888" CreationDate="2017-10-05T16:34:48.160" Score="4" Body="&lt;p&gt;It sounds like you are on the right track. What you need is computed index field. You add another field to your index that indexes the parent item name as part of the document that you are indexing. John West has written a blog post about computed index fields here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-computed-index-fields&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-computed-index-fields&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example he returns a boolean but you can return a string instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next you need to create a new facet under &lt;code&gt;/sitecore/system/Settings/Buckets/Facets&lt;/code&gt; where you reference the name of your computed index field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that you should be able to facet on the parent item name.&lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2017-10-05T16:34:48.160" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7892" PostTypeId="1" CreationDate="2017-10-05T19:44:54.840" Score="5" ViewCount="1557" Body="&lt;p&gt;I started getting a strange error on publish in one our our dev sitecore instances that seems to be coming from some &lt;code&gt;Sitecore.Social.Client&lt;/code&gt; piplines.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception[1]: Ninject.ActivationException &#xA;  Message[1]: Error activating ILogManager&#xA;  No matching bindings are available, and the type is not self-bindable.&#xA;  Activation path:&#xA;  1) Request for ILogManager&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Suggestions:&#xA;    1) Ensure that you have defined a binding for ILogManager.&#xA;    2) If the binding was defined in a module, ensure that the module has been loaded into the kernel.&#xA;    3) Ensure you have not accidentally created more than one kernel.&#xA;    4) If you are using constructor arguments, ensure that the parameter name matches the constructors parameter name.&#xA;    5) If you are using automatic module loading, ensure the search path and filters are correct.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3102&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;: Ninject &#xA;     at Ninject.KernelBase.Resolve(IRequest request)&#xA;     at Ninject.ResolutionExtensions.Get[T](IResolutionRoot root, IParameter[] parameters)&#xA;     at &lt;strong&gt;Sitecore.Social.Client.MessagePosting.Handlers.PublishEndHandler.DoClearDbMesageCache&lt;/strong&gt;(EventArgs args)&#xA;     at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) &#xA;  ...&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We use AutoFac for DI and manually adding a registration for &lt;code&gt;ILogManager&lt;/code&gt; to the AutoFac container didn't seem to resolve this issue. I decompiled the dll to see what the offending line was and it was apparently trying resolve &lt;code&gt;IlogManager&lt;/code&gt; to log an exception (which wasn't logged because it threw in the catch).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;try&#xA;  {&#xA;    using (new SiteContextSwitcher(SiteContext.GetSite(&quot;shell&quot;)))&#xA;    {&#xA;                    ItemProcessedEventArgs processedEventArgs = args as ItemProcessedEventArgs;&#xA;                    if (processedEventArgs == null || processedEventArgs.Context.Result.Operation != PublishOperation.Created &amp;amp;&amp;amp; processedEventArgs.Context.Result.Operation != PublishOperation.Updated || processedEventArgs.Context.VersionToPublish == null)&#xA;                        return;&#xA;                    IMessageManager messageManager = (IMessageManager)Ninject.ResolutionExtensions.Get&amp;lt;IMessageManager&amp;gt;((IResolutionRoot)ExecutingContext.Current.IoC, new IParameter[0]);&#xA;                    foreach (Message message in messageManager.GetMessagesByContainer(processedEventArgs.Context.VersionToPublish.Uri.ToString()).Where&amp;lt;Message&amp;gt;((Func&amp;lt;Message, bool&amp;gt;)(message =&amp;gt; message.PostingConfiguration is ContainerPostingConfiguration)).ToList&amp;lt;Message&amp;gt;())&#xA;                    {&#xA;                        //do message things&#xA;                    }&#xA;    }&#xA;  }&#xA;  catch (Exception ex)&#xA;  {&#xA;     //blows on this next line&#xA;    ((ILogManager) ResolutionExtensions.Get&amp;lt;ILogManager&amp;gt;((IResolutionRoot) ExecutingContext.Current.IoC, new IParameter[0])).LogMessage(ex.Message, Sitecore.Social.Infrastructure.Logging.LogLevel.Error, (object) this, ex);&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't want add Ninject and wire up a seperate IOC container if I can avoid it. I'm considering just disabling Sitecore Social altogether but I figured I'd see if there is a better way. I have a different site with identical configs that doesn't have this publishing issue and nothing seemed strange in showconfig. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas? I saw this &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3102&quot; rel=&quot;nofollow noreferrer&quot;&gt;community post&lt;/a&gt; about the same issue but there is no resolution there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I went through and created a Pipeline override and brought my own logging in to see if I could get the original exception. Since it was failing in the &lt;code&gt;catch&lt;/code&gt; clause, I figured the root exception might be more helpful. Unfortunately it just turned out to be a different Ninject Activation error. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//blows up here&#xA;IMessageManager messageManager = (IMessageManager)Ninject.ResolutionExtensions.Get&amp;lt;IMessageManager&amp;gt;((IResolutionRoot)ExecutingContext.Current.IoC, new IParameter[0]);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: Ninject.ActivationException Message: Error activating&#xA;  IMessageManager No matching bindings are available, and the type is&#xA;  not self-bindable. Activation path:   1) Request for IMessageManager&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So it looks like it is not specific to &lt;code&gt;ILogManager&lt;/code&gt; since the previous call to resolve &lt;code&gt;IMessageManager&lt;/code&gt; also fails. More of a global problem with this &lt;code&gt;Ninject.ResolutionExtensions.Get&amp;lt;IMessageManager&amp;gt;&lt;/code&gt; call. &lt;/p&gt;&#xA;" OwnerUserId="961" LastEditorUserId="961" LastEditDate="2017-10-12T13:53:35.463" LastActivityDate="2017-10-12T13:53:35.463" Title="Ninject activation exception on publish: ILogManager" Tags="|dependency-injection|social-connected|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7893" PostTypeId="1" CreationDate="2017-10-06T00:31:42.673" Score="7" ViewCount="7523" Body="&lt;p&gt;I am new to Sitecore MVC and I am trying to set up a simple form post to work. First I have a content item that has a number of renderings set up in the presentation details.  One of those renderings is a Controller Rendering.  In the Controller Rendering, Controller = myFeature and Controller Action = Index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code for myFeatureController looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class myFeatureController : SitecoreController&#xA;{&#xA;    private readonly IMyRepository _myRepository;&#xA;&#xA;    public myController(IMyRepository myRepository)&#xA;    {&#xA;        _myRepository = myRepository;&#xA;    }&#xA;&#xA;    [HttpGet]&#xA;    public ActionResult Index()&#xA;    {&#xA;        var viewModel = new myViewModel();&#xA;&#xA;        viewModel.Value1 = myRepository.GetValue();&#xA;&#xA;        return View(viewModel);&#xA;    }&#xA;&#xA;    [HttpPost]&#xA;    public ActionResult SaveValue(myViewModel viewModel)&#xA;    {&#xA;        _myRepository.SaveData(viewModel.Value1);&#xA;&#xA;        return View(viewModel);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the code for my view looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model myViewModel&#xA;&#xA;@using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;{&#xA;    @Html.Sitecore().FormHandler(&quot;myFeature&quot;, &quot;SaveValue&quot;)&#xA;    @Html.TextBoxFor(x =&amp;gt; x.Value1)&#xA;    &amp;lt;input type=&quot;submit&quot; value=&quot;Save&quot; /&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I load the page for the first time the Index method runs fine.  But when I click the Save button to post the form I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;The view SaveValue was not found or no view engine supports the searched locations...&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously I am doing something wrong here.  Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Corey&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2017-10-07T22:11:13.993" Title="How to get simple form post to work in Sitecore MVC 8.2?" Tags="|mvc-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7894" PostTypeId="2" ParentId="7893" CreationDate="2017-10-06T04:08:22.260" Score="8" Body="&lt;p&gt;The issue is that you are not specifying a &lt;code&gt;ViewName&lt;/code&gt; in the return of the &lt;code&gt;SaveValue()&lt;/code&gt; action, therefore it is trying to locate a View with the name of the action, i.e. &lt;strong&gt;myFeature/SaveValue.cshtml&lt;/strong&gt;. The error is telling you it could not find this file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options. Either specify the specific view to render for the action:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[HttpPost]&#xA;public ActionResult SaveValue(myViewModel viewModel)&#xA;{&#xA;    _myRepository.SaveData(viewModel.Value1);&#xA;    return View(&quot;~/Views/myFeature/Index.cshtml&quot;, viewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or change the Action Name to match the view (i.e. Index). Since the method signatures are different this will compile and the Accept Verbs Attribute will ensure the correct action is called depending on whether a Get or Post is made:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[HttpPost]&#xA;public ActionResult Index(myViewModel viewModel)&#xA;{&#xA;    _myRepository.SaveData(viewModel.Value1);&#xA;    return View(viewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Don't forget to change the helper in the form as well:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().FormHandler(&quot;myFeature&quot;, &quot;Index&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;The above is best used with AJAX posts, since you have the issue of only the specific view being returned. You could redirect in your &lt;code&gt;[HttpPost]&lt;/code&gt; action to the thank you page (using &lt;code&gt;return this.Redirect(&quot;/url/to/redirect-page&quot;)&lt;/code&gt;) but this causes issues with server side form validation.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;using return View will interrupt Sitecore’s page load and return that view only.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;A controller rendering executes much later in page life cycle than a true ‘controller’. By the time your [HttpPost] action executes, the page is already partially loaded. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I would recommend dealing with this issue in a similar manner to how it is solved in Sitecore Habitat demo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new attribute that will be used to determine the selection of an action method on form submission:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class ValidateRenderingIdAttribute : ActionMethodSelectorAttribute&#xA;{&#xA;    internal const string FormUniqueid = &quot;uid&quot;;&#xA;&#xA;    public override bool IsValidForRequest(ControllerContext controllerContext, MethodInfo methodInfo)&#xA;    {&#xA;        var ignoreCase = StringComparison.InvariantCultureIgnoreCase;&#xA;&#xA;        var httpRequest = controllerContext.HttpContext.Request;&#xA;        var isWebFormsForMarketersRequest = httpRequest.Form.AllKeys&#xA;          .Any(key =&amp;gt; key.StartsWith(&quot;wffm&quot;, ignoreCase) &amp;amp;&amp;amp; key.EndsWith(&quot;Id&quot;, ignoreCase));&#xA;&#xA;        if (isWebFormsForMarketersRequest)&#xA;        {&#xA;            return false;&#xA;        }&#xA;        string renderingId;&#xA;        if (!httpRequest.GetHttpMethodOverride().Equals(HttpVerbs.Post.ToString(), ignoreCase) || string.IsNullOrEmpty(renderingId = httpRequest.Form[FormUniqueid]))&#xA;        {&#xA;            return true;&#xA;        }&#xA;&#xA;        var renderingContext = RenderingContext.CurrentOrNull;&#xA;        if (renderingContext == null)&#xA;        {&#xA;            return false;&#xA;        }&#xA;&#xA;        Guid id;&#xA;        return Guid.TryParse(renderingId, out id) &amp;amp;&amp;amp; id.Equals(renderingContext.Rendering.UniqueId);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update your controller action to include this new attribute:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;[HttpPost]&#xA;[ValidateRenderingId]&#xA;public ActionResult Index(myViewModel viewModel)&#xA;{&#xA;    if (ModelState.IsValid())&#xA;    {&#xA;        _myRepository.SaveData(viewModel.Value1);&#xA;        return View(&quot;~/Views/Comments/Thanks.cshtml&quot;, viewModel);&#xA;    }&#xA;    return View(viewModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the above relies on &lt;a href=&quot;https://www.exceptionnotfound.net/asp-net-mvc-demystified-modelstate/&quot; rel=&quot;noreferrer&quot;&gt;ModelState for validation&lt;/a&gt; and checks the data passes validation which may have been set on the model using attributes, and if so returns a different different &quot;Thank you&quot; view (since you probably do not want to show the form again). The model/form data is passed if you want to show the data in the confirmation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new HTML Helper which returns a unique rendering id hidden field:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static class HtmlHelperExtensions&#xA;{&#xA;    public static MvcHtmlString AddUniqueFormId(this HtmlHelper htmlHelper)&#xA;    {&#xA;        var uid = htmlHelper.Sitecore().CurrentRendering?.UniqueId;&#xA;        return !uid.HasValue ? null : htmlHelper.Hidden(ValidateRenderingIdAttribute.FormUniqueid, uid.Value);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, change the view to just use a regular MVC &lt;code&gt;BeginRouteForm&lt;/code&gt; and add the unique form input helper:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.BeginRouteForm(MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;{&#xA;    @Html.AddUniqueFormId()&#xA;    @Html.TextBoxFor(x =&amp;gt; x.Value1)&#xA;    &amp;lt;input type=&quot;submit&quot; value=&quot;Save&quot; /&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By following this approach you are using an approach which is much closer to standard ASP.Net MVC so hopefully it is easier to follow/workaround the in-built Sitecore problems. It also has the benefit that should you require multiple forms on the same page this this code can handle that too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find examples from the Sitecore Habitat repo:&#xA; - &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/SitecoreExtensions/code/Extensions/HTMLHelperExtensions.cs#L97&quot; rel=&quot;noreferrer&quot;&gt;AddUniqueFormId&lt;/a&gt;&#xA; - &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/SitecoreExtensions/code/Attributes/ValidateRenderingIdAttribute.cs&quot; rel=&quot;noreferrer&quot;&gt;ValidateRenderingIdAttribute&lt;/a&gt;&#xA; - Example usage in &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Feature/Accounts/code/Views/Accounts/Register.cshtml&quot; rel=&quot;noreferrer&quot;&gt;Rendering View&lt;/a&gt; and &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Feature/Accounts/code/Controllers/AccountsController.cs#L55&quot; rel=&quot;noreferrer&quot;&gt;Controller&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Further Reading&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I would recommend reading these posts for further background information:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Posting Forms in Sitecore MVC &lt;a href=&quot;https://mhwelander.net/2014/05/28/posting-forms-in-sitecore-mvc-part-1-view-renderings/&quot; rel=&quot;noreferrer&quot;&gt;Part 1&lt;/a&gt; and &lt;a href=&quot;https://mhwelander.net/2014/05/30/posting-forms-in-sitecore-mvc-part-2-controller-renderings/&quot; rel=&quot;noreferrer&quot;&gt;Part 2&lt;/a&gt; by Martina Welander&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://reinoudvandalen.nl/blog/ultimate-fix-for-multiple-forms-on-one-page-with-sitecore-mvc/&quot; rel=&quot;noreferrer&quot;&gt;Ultimate fix for multiple forms on one page with Sitecore MVC&lt;/a&gt; by Reinhoud van Dalen&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://jockstothecore.com/to-the-controller-and-back-part-2-validation/&quot; rel=&quot;noreferrer&quot;&gt;To The Controller And Back. Part 2&lt;/a&gt; by Pavel Veller&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=X1NmfsgA_ME&quot; rel=&quot;noreferrer&quot;&gt;Building a Custom form with Sitecore MVC&lt;/a&gt; by Dylan Young&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-10-07T22:11:13.993" LastActivityDate="2017-10-07T22:11:13.993" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="7895" PostTypeId="2" ParentId="7888" CreationDate="2017-10-06T04:52:29.693" Score="2" Body="&lt;p&gt;To turn the IDs in your facets into real item names, just enable this setting. This will cause Sitecore to translate facets that are IDs into real item names.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- RESOLVE FACET VALUE TO FRIENDLY NAME&#xA;       If you are storing a field in the index that is being faceted on, it may be stored as an ID. This Setting&#xA;       when set to true, &#xA;       will try and resolve this to the friendly item name instead. &#xA;       USAGE: In an environment with huge amounts of items (e.g. 1 Million), this will not scale properly.           &#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;BucketConfiguration.ResolveFacetValueToFriendlyName&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-10-06T04:52:29.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7898" PostTypeId="2" ParentId="7889" CreationDate="2017-10-06T08:43:28.097" Score="8" Body="&lt;p&gt;If you want to boost field during the indexing time, you can use the &quot;boost&quot; property of field in the index configuration. For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xx4WT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xx4WT.png&quot; alt=&quot;lucene boosting field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is another solution how you can boost an item based on keywords, which user entered:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess you are going to use multilist type for the Tags field. The multilist field is a reference field and contains IDs of selected items. First of all, we need to implement a computed field which would store a tag title instead of ID:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    using System.Linq;&#xA;    using Sitecore.ContentSearch;&#xA;    using Sitecore.ContentSearch.ComputedFields;&#xA;    using Sitecore.Data.Items;&#xA;&#xA;&#xA;    namespace SearchBoosting&#xA;    {&#xA;        public class ItemTagsComputedField&#xA;        {&#xA;            public class MediaDownloadCenterGroupComputedField : IComputedIndexField&#xA;            {&#xA;                public object ComputeFieldValue(IIndexable indexable)&#xA;                {&#xA;                    Item item = indexable as SitecoreIndexableItem;&#xA;                    if (item != null)&#xA;                    {&#xA;                        //I guess the tags field will have a multilist typle. &#xA;                        Sitecore.Data.Fields.MultilistField field = item.Fields[&quot;Item Tags&quot;]; //Name of field with tags&#xA;&#xA;                        if (field != null)&#xA;                        {&#xA;                            var items = field.GetItems();&#xA;&#xA;                            return items.Select(q =&amp;gt; q.DisplayName).ToList(); //You can use some field for getting title of tag.&#xA;                        }&#xA;                    }&#xA;&#xA;                    return null;&#xA;                }&#xA;&#xA;                public string FieldName { get; set; }&#xA;                public string ReturnType { get; set; }&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then we need to add them to the index configuration. Just add the following row to the  section. It will look like below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lV2S6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lV2S6.png&quot; alt=&quot;multilist computed field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next step is to add a search model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.ComponentModel;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Converters;&#xA;using Sitecore.ContentSearch.SearchTypes;&#xA;&#xA;namespace SearchBoosting&#xA;{&#xA;    public class BoostingExampleSearchResultItem : SearchResultItem&#xA;    {&#xA;        [IndexField(&quot;item_tags&quot;)]&#xA;        [TypeConverter(typeof(IndexFieldEnumerableConverter))]&#xA;        public virtual IEnumerable&amp;lt;string&amp;gt; Tags { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now we are ready to use this field for boosting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Linq;&#xA;using Sitecore.ContentSearch.Linq.Utilities;&#xA;using Sitecore;&#xA;&#xA;&#xA;namespace SearchBoosting&#xA;{&#xA;    public class SearchBoosting&#xA;    {&#xA;        protected virtual string SearchIndexName&#xA;        {&#xA;            get&#xA;            {&#xA;                return &quot;your_search_index&quot;;&#xA;            }&#xA;        }&#xA;&#xA;        private ISearchIndex _index;&#xA;        private ISearchIndex Index&#xA;        {&#xA;            get { return _index ?? (_index = ContentSearchManager.GetIndex(SearchIndexName)); }&#xA;        }&#xA;&#xA;        public SearchResults&amp;lt;BoostingExampleSearchResultItem&amp;gt; ApplySearch(List&amp;lt;string&amp;gt; keywords)&#xA;        {&#xA;&#xA;            using (IProviderSearchContext searchContext = Index.CreateSearchContext())&#xA;            {&#xA;                var query = searchContext.GetQueryable&amp;lt;BoostingExampleSearchResultItem&amp;gt;(new CultureExecutionContext(Context.Language.CultureInfo));&#xA;&#xA;                var predicateRoots = PredicateBuilder.True&amp;lt;BoostingExampleSearchResultItem&amp;gt;();&#xA;&#xA;                if (keywords != null &amp;amp;&amp;amp; keywords.Any())&#xA;                {&#xA;                    foreach (var keyword in keywords)&#xA;                    {&#xA;                        //If we want just boost some items without theirs filtering, we need to process both conditions:&#xA;                        //if item contains a tag which is equals to entered word and if it doesn't:&#xA;&#xA;                        predicateRoots = predicateRoots.Or(itm =&amp;gt; (itm.Tags.Contains(keyword)).Boost(5f));&#xA;                        predicateRoots = predicateRoots.Or(itm =&amp;gt; (!itm.Tags.Contains(keyword)).Boost(1f));&#xA;                    }&#xA;                }&#xA;&#xA;                var results = query.Where(predicateRoots).GetResults();&#xA;&#xA;                return results;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="713" LastEditDate="2017-10-09T10:30:42.733" LastActivityDate="2017-10-09T10:30:42.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7899" PostTypeId="1" AcceptedAnswerId="7900" CreationDate="2017-10-06T08:51:52.270" Score="12" ViewCount="5540" Body="&lt;p&gt;Default value is &lt;code&gt;ABC&lt;/code&gt;, standard value &lt;code&gt;$name&lt;/code&gt;. I only get &lt;code&gt;ABC&lt;/code&gt; for the item added in the content tree. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;May be my standard values are corrupt and need to reset. But what is the difference between these 2? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; &lt;code&gt;token($name)&lt;/code&gt; works in default too but this example is for clarity&lt;/p&gt;&#xA;" OwnerUserId="2028" LastEditorUserId="5387" LastEditDate="2019-12-10T05:23:48.710" LastActivityDate="2021-07-19T15:45:46.713" Title="What is the difference between default value of a template and it's standard value in Sitecore?" Tags="|templates|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="7900" PostTypeId="2" ParentId="7899" CreationDate="2017-10-06T09:15:52.327" Score="11" Body="&lt;p&gt;From my understanding&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Default Value&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the definition item for each data template field, you can specify a value for the Default value property. When a user creates an item, Sitecore copies the default value from the field definition item into the corresponding field value in the new item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Standard Value&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Standard Value can be a token or set of selection from a multilist which is set onto the item upon creation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most of the time, we tend to use Standard Value rather than Default Value. It is only based on your requirement&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may read the following links: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-standard-values-in-the-sitecore-asp-net-cms&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-standard-values-in-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://www.geekhive.com/buzz/post/2015/01/how-to-manage-default-field-values-in-sitecore-cms/&quot; rel=&quot;noreferrer&quot;&gt;https://www.geekhive.com/buzz/post/2015/01/how-to-manage-default-field-values-in-sitecore-cms/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-10-06T09:15:52.327" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7901" PostTypeId="2" ParentId="7899" CreationDate="2017-10-06T09:29:05.747" Score="9" Body="&lt;p&gt;It is a quite interesting question. I've never thought about it. I fully agree with previous answer except using tokens. Tokens can be used in the Default Value as well as in the Standard Value. I also want to add some differences between them: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Default Value is a shared field and if you develop a multi language solution it will be impossible to set a default value in each language;&lt;/li&gt;&#xA;&lt;li&gt;If you use Default Value for setting default value for droplink (for example), it will be more difficult because you should set an ID as a value manually. In case using Standard Value you can select the value in dropdown.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In general, Default value is obsolete and using the Standard Values is a best practices.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1000" LastEditDate="2017-10-06T13:00:22.483" LastActivityDate="2017-10-06T13:00:22.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7902" PostTypeId="2" ParentId="5881" CreationDate="2017-10-06T14:56:34.923" Score="3" Body="&lt;p&gt;I cleaned up the link contained in the question because I found it overly complex for what it needs to accomplish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;HiddenIdField.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Designer(&quot;System.Windows.Forms.Design.ParentControlDesigner, System.Design&quot;, typeof(IDesigner))]&#xA;public class HiddenIdField : SingleLineText&#xA;{&#xA;    protected override void OnLoad(System.EventArgs e)&#xA;    {&#xA;        Text = Sitecore.Context.Item.ID.ToString();&#xA;&#xA;        Attributes[&quot;style&quot;] = &quot;display: none&quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;HiddenIdFieldViewModel.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class HiddenIdFieldViewModel : Sitecore.Forms.Mvc.ViewModels.Fields.SingleLineTextField&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Initializes field&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public override void Initialize()&#xA;    {&#xA;        if (!string.IsNullOrWhiteSpace(CssClass))&#xA;        {&#xA;            CssClass += &quot; hidden&quot;;&#xA;        }&#xA;&#xA;        else&#xA;        {&#xA;            CssClass = &quot;hidden&quot;;&#xA;        }&#xA;&#xA;        ShowTitle = false;&#xA;&#xA;        Value = Sitecore.Context.Item.ID.ToString();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From link:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The last part is to create (a) Sitecore item. It should be added below&#xA;  /sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types&#xA;  (in master database). This item should be based on (the) template&#xA;  /sitecore/templates/Web Forms for Marketers/Field Type and populated&#xA;  with:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Assembly - file name of code assembly&lt;/li&gt;&#xA;  &lt;li&gt;Class - class name of field type with full namespace&lt;/li&gt;&#xA;  &lt;li&gt;MVC Type - class name of field type view model with full namespace and its assembly name (after comma)&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note: I also had to add the following to CSS&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[data-wffm] &amp;gt; .hidden{&#xA;  display: none;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-10-06T14:56:34.923" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7903" PostTypeId="2" ParentId="7885" CreationDate="2017-10-06T14:56:54.673" Score="1" Body="&lt;p&gt;Sitecore creates a contact id for each user session. In order to know if the goal triggered is anonymous or not, you will need to check whether the contact who has triggered the goal has already been identified as a known contact or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;User A is Anonymous when entering the site. Sitecore gives User A an Interaction and a Contact Id. If User A is authenticated (through login / registration) and triggers some goals, when you check in the conversion table, you will see the Contact Id. With the Contact Id, you can check if Sitecore has already identified the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the user has not been identified, then the goal that has been triggered can be said as &quot;&lt;code&gt;Anonymous Goal&lt;/code&gt;&quot;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-10-06T14:56:54.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7905" PostTypeId="1" AcceptedAnswerId="8000" CreationDate="2017-10-06T17:39:44.730" Score="5" ViewCount="511" Body="&lt;p&gt;In a Sitecore 8.1 Update 3, we have configured the mongodb for shared session state into &quot;Session&quot; collection, and analytics is configured separately into its own collection as well.  The code is configured to preserve obtained location data into a custom facet.  That data is recalled between browser sessions to allow the site visitor (anonymously) to recall its location settings.&#xA;I have confirmed that rebooting iis site, the SC_Analytics_Global_Cookie value is preserved, and the facet is deserialized and location data is accessible.  However, after about 20min or so, of inactivity (closing browser) the value of the cookie still stays the same, but I no longer see the location data.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an expiration set up for &quot;unidentified&quot; contact within Sitecore? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code i use to recall the Location data. IGeoTracker is a child interface of the IFacet.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ITracker current = Tracker.Current;&#xA;if (((current == null) || !current.IsActive) || (current.Contact == null))&#xA;{&#xA;   SetLocationUnknown();&#xA;}&#xA;else&#xA;{&#xA;   IGeoTracker facet = current.Contact.GetFacet&amp;lt;IGeoTracker&amp;gt;(this._geoTrackerFacetName);&#xA;   if (!String.IsNullOrEmpty(facet.FormatedAddress))&#xA;   {&#xA;      string formatedAddress = facet.FormatedAddress;&#xA;      SetLocationKnown(formatedAddress);&#xA; ...&#xA;   }&#xA;   else&#xA;   {&#xA;      SetLocationUnknown();&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been doing a bit of reverse engineering with dotPeek tool, and deduced that the ShareSessionStateManger is designed to be 1 minute longer than a private session state timeout which is defined in the web config. Either way  the shared session state store is not designed to persist the contact data indefinitely.&lt;br&gt;&#xA;Per further research, the contact data must make it back into the Analytics database. That's when I validated that Contact is not being written back into the Analytics Collection.  The default Sitecore configuration actually uses a stub contact repository class which prevents the persistence of analytics data.  To enable that, we must deploy the configuration in &lt;em&gt;Sitecore.Analytics.Tracking.Database.config&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;   &#xA;   &amp;lt;commitSession&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.CheckPreconditions, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.UpdateGeoIpData, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.EnsureClassification, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.UpdateContactBehaviorProfiles, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.Robots, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.IgnoreVisitsWithoutPages, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.UpdateContactSaveMode, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.SubmitSession, Sitecore.Analytics&quot; &amp;gt;&#xA;      &amp;lt;SessionContextManager ref=&quot;tracking/sessionContextManager&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.ProcessSubscriptions, Sitecore.Analytics&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.ReleaseSharedSession, Sitecore.Analytics&quot; runIfAborted=&quot;true&quot;/&amp;gt;&#xA;  &amp;lt;/commitSession&amp;gt;&#xA;&#xA;  &amp;lt;postSessionEnd&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.PostSessionEnd.CommitSession, Sitecore.Analytics&quot; /&amp;gt;&#xA;  &amp;lt;/postSessionEnd&amp;gt;&#xA;&#xA;  &amp;lt;submitSessionContext&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.SaveDevice, Sitecore.Analytics&quot; patch:before=&quot;*&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.SaveClassificationsMap, Sitecore.Analytics&quot; patch:after=&quot;*[1]&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.SaveVisit, Sitecore.Analytics&quot; patch:after=&quot;*[2]&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.RenumberInteractions, Sitecore.Analytics&quot; patch:after=&quot;processor[@type='Sitecore.Analytics.Pipelines.SubmitSessionContext.SaveVisit, Sitecore.Analytics']&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.UpdateKeyBehaviorCache, Sitecore.Analytics&quot; patch:after=&quot;processor[@type='Sitecore.Analytics.Pipelines.SubmitSessionContext.RenumberVisitIndexes, Sitecore.Analytics']&quot; &amp;gt;&#xA;      &amp;lt;ContactManager ref=&quot;tracking/contactManager&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/submitSessionContext&amp;gt;&#xA;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&#xA;&amp;lt;submitQueue&amp;gt;&#xA;  &amp;lt;backgroundService type=&quot;Sitecore.Analytics.SubmitQueueService, Sitecore.Analytics&quot;&amp;gt;&#xA;    &amp;lt;!-- Service wakeup interval in seconds. --&amp;gt;&#xA;    &amp;lt;Interval&amp;gt;60&amp;lt;/Interval&amp;gt;&#xA;  &amp;lt;/backgroundService&amp;gt;&#xA;&amp;lt;/submitQueue&amp;gt;&#xA;&#xA; &amp;lt;tracking&amp;gt;&#xA;   &amp;lt;contactManager type=&quot;Sitecore.Analytics.Tracking.ContactManager, Sitecore.Analytics&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;sharedSessionStateManager&quot; ref=&quot;tracking/sharedSessionState/manager&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;contactRepository&quot;&amp;gt;&#xA;      &amp;lt;patch:delete /&amp;gt;&#xA;    &amp;lt;/param&amp;gt;&#xA;   &amp;lt;/contactManager&amp;gt;&#xA;  &amp;lt;/tracking&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1839" LastEditorUserId="1839" LastEditDate="2017-10-12T18:59:50.550" LastActivityDate="2017-10-12T19:06:41.950" Title="Sitecore Contact expires using out of process session handling" Tags="|session-state|contact-facets|" AnswerCount="1" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="7906" PostTypeId="1" AcceptedAnswerId="8074" CreationDate="2017-10-06T21:03:25.850" Score="4" ViewCount="425" Body="&lt;p&gt;I have the following POCO class: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.SearchTypes;&#xA;using Sitecore.Web.UI.WebControls;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;&#xA;namespace kgSitecoreTraining.Models&#xA;{&#xA;&#xA;public class BlogItem:SearchResultItem&#xA;&#xA;{&#xA;    public BlogItem() { }&#xA;&#xA;    public string  Author {&#xA;        get {&#xA;             GetItem().Statistics.UpdatedBy.ToString();&#xA;        }&#xA;    }&#xA;&#xA;    [IndexField(&quot;AuthorImage&quot;)]&#xA;    public HtmlString AuthorImage {&#xA;        get{&#xA;               return new HtmlString(FieldRenderer.Render(GetItem(), &quot;AuthorImage&quot;, &quot;DisableWebEditing=true&quot;));&#xA;           }            &#xA;    }&#xA;&#xA;    [IndexField(&quot;Title&quot;)]&#xA;    public string Title { get; set; }&#xA;&#xA;    [IndexField(&quot;Subtitle&quot;)]&#xA;    public string Subtitle { get; set; }&#xA;&#xA;    new public string CreatedDate { get; set; }&#xA;    public string URL{ get; set; }&#xA;&#xA; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the Author property I wanted to access the statistics property but it gave me this error:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ollVi.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ollVi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;SO in this POCO class I cant access the Statistics property, but if I modify the Author property to just a get;set; and then  use it like this, it works: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var currentItem = RenderingContext.Current.ContextItem;&#xA;            var databaseName = currentItem.Database.Name.ToLower();&#xA;            var indexName = string.Format(&quot;kgsite_{0}_index&quot;, databaseName);&#xA;            var index = ContentSearchManager.GetIndex(indexName);&#xA;            var model = new BlogItemList();&#xA;&#xA;            using (var context = index.CreateSearchContext()) {&#xA;                var results = context.GetQueryable&amp;lt;BlogItem&amp;gt;().Where(i =&amp;gt; i.Paths.Contains(currentItem.ID)).GetResults();&#xA;                model.Blogs = results.Hits.Select(h =&amp;gt; new BlogItem() {&#xA;                    Title = h.Document.Title,&#xA;                    Subtitle = h.Document.Subtitle,&#xA;                    CreatedDate = h.Document.CreatedDate,&#xA;                    URL = h.Document.Url,&#xA;                   Author =  h.Document.GetItem().Statistics.UpdatedBy.ToString()&#xA;&#xA;                }).ToList();&#xA;                model.TotalResultCount = results.TotalSearchResults;              &#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So why this works and the other one doesnt?&lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="2537" LastEditDate="2017-10-06T21:10:21.570" LastActivityDate="2017-10-18T20:43:06.983" Title="SearchResultItem cant access to Statistics" Tags="|content-search|lucene|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7907" PostTypeId="1" CreationDate="2017-10-06T21:43:51.400" Score="4" ViewCount="636" Body="&lt;p&gt;Is there an efficient way to copy a subtree of items but only keep language versions from the original items that a user chooses? Currently I have a process which duplicates items and then removes the unwanted language version but it is multiple steps. I use &lt;code&gt;Item.CopyTo(Item item, string name)&lt;/code&gt; and then loop through the result removing language versions. Then I find what languages to remove and loop through the new items. For each language to remove I get the item in that language and use &lt;code&gt;myItem.Versions.RemoveAll(false)&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-10-07T14:28:48.563" LastActivityDate="2022-07-17T21:03:32.050" Title="Duplicate Items In Specific Languages" Tags="|performance-optimization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7908" PostTypeId="2" ParentId="7906" CreationDate="2017-10-07T06:27:04.033" Score="1" Body="&lt;p&gt;Looking at the error, it's because it can't get the item on &lt;code&gt;GetItem()&lt;/code&gt; for some reason.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Possibly a context issue. I would decompile in to that method to see how it's generating the key and getting the item compared to the &lt;code&gt;h.Document.GetItem()&lt;/code&gt; method which isn't working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hunch is that it's something to do with which &lt;code&gt;database&lt;/code&gt; you're in, maybe the item isn't published and you're getting it from &lt;code&gt;master&lt;/code&gt; and the context item is &lt;code&gt;web&lt;/code&gt;. Or it could be a bug and the collection used by &lt;code&gt;GetItem()&lt;/code&gt; isn't being populated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyway, it's a good idea to look in to the code to see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What version of Sitecore are you on?&lt;/p&gt;&#xA;" OwnerUserId="428" LastActivityDate="2017-10-07T06:27:04.033" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7909" PostTypeId="2" ParentId="7907" CreationDate="2017-10-07T06:57:53.100" Score="4" Body="&lt;p&gt;I would use PowerShell for this. The simplest way is to use a similar approach to what you're doing now (but in a few less steps):&lt;/p&gt;&#xA;&lt;p&gt;Copy the item:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Copy-Item -Path $source.ItemPath -Destination $destination.ItemPath -Recursive&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Them remove language versions:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem $destination -Recurse | &#xA;    Remove-ItemLanguage -Language &amp;quot;fr-CA&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;However, you could make this a different way by only copying the language versions you want. I'm not sure how you'd do this in PowerShell off the top of my head - but you could do it with some code (you'd need to add some looping to traverse, add items and copy but hopefully this will give you the idea):&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;void Copy(Sitecore.Data.Items.Item sourceItem, Sitecore.Globalization.Language sourceLanguage,&#xA;        Sitecore.Data.Items.Item targetItem, Sitecore.Globalization.Language targetLanguage)&#xA;    {&#xA;        Sitecore.Data.Database masterDB = Sitecore.Configuration.Factory.GetDatabase(&amp;quot;master&amp;quot;);&#xA;&#xA;        targetItem = masterDB.Items[targetItem.ID, targetLanguage];&#xA;        sourceItem = masterDB.Items[sourceItem.ID, sourceLanguage];&#xA;&#xA;        if (targetItem == null || sourceItem == null || sourceItem.Versions.Count == 0)&#xA;            return;&#xA;&#xA;        using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;        {&#xA;            try&#xA;            {&#xA;                if (targetItem.Versions.Count == 0)&#xA;                {&#xA;                    targetItem = targetItem.Versions.AddVersion();&#xA;                }&#xA;                targetItem.Editing.BeginEdit();&#xA;                sourceItem.Fields.ReadAll();&#xA;                foreach (Sitecore.Data.Fields.Field field in sourceItem.Fields)&#xA;                {&#xA;                    if (!field.Shared &amp;amp;&amp;amp; !field.Name.StartsWith(&amp;quot;__&amp;quot;) &amp;amp;&amp;amp; field.Name.Trim() != &amp;quot;&amp;quot;)&#xA;                    {&#xA;                        targetItem.Fields[field.Name].SetValue(field.Value, true);&#xA;                    }&#xA;                }&#xA;&#xA;                targetItem.Editing.EndEdit();&#xA;                targetItem.Editing.AcceptChanges();&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                targetItem.Editing.CancelEdit();&#xA;                Response.Write(ex.Message);&#xA;            }&#xA;        }&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;(The above method &lt;a href=&quot;https://web.archive.org/web/20210123025751/http://geekswithblogs.net/amaniar/archive/2010/10/25/copying-sitecore-items-across-languages.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;taken from here&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;p&gt;Which of these is most efficient probably depends upon the sort of data you're copying (depth of the tree, number of languages, quantity of items etc).&lt;/p&gt;&#xA;&lt;p&gt;If it's a process you need to do often as a developer I'd recommend PowerShell. If you need content editors to do it - I'd recommend wrapping it all in a tool (highly recommend Sitecore Sidekick for this).&lt;/p&gt;&#xA;&lt;p&gt;Hope that helps you find the right solution!&lt;/p&gt;&#xA;" OwnerUserId="428" LastEditorUserId="1542" LastEditDate="2022-07-17T21:03:32.050" LastActivityDate="2022-07-17T21:03:32.050" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="7910" PostTypeId="2" ParentId="7906" CreationDate="2017-10-07T07:28:58.940" Score="4" Body="&lt;p&gt;First of all you don't have to use GetItem() method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you used GetItem it's get the value from Sitecore Database not from index and you will have big performance problem if you query thousands of items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you try in this way ? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string  Author {&#xA;        get {&#xA;             base.UpdatedBy.ToString();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-07T07:28:58.940" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7911" PostTypeId="1" CreationDate="2017-10-07T17:20:21.343" Score="4" ViewCount="297" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/on1Il.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/on1Il.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I merged the C:\inetpub\wwwroot\storefront\Website\MergeFiles\Merge.Commerce.Storefront.config&#xA;C:\inetpub\wwwroot\storefront\Website\MergeFiles\Merge.CommerceServer.config&#xA;to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;C:\inetpub\wwwroot\storefront\Website\web.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;reading the Kb article but it did not fix the issue&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;https://kb.sitecore.net/articles/496086&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;my web.config file is as follows&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jsfiddle.net/rrvttc04/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jsfiddle.net/rrvttc04/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;rocky&lt;/p&gt;&#xA;" OwnerUserId="2467" LastActivityDate="2018-01-08T11:08:00.277" Title="The name 'CommerceTypeLoader' does not exist in the current context" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7912" PostTypeId="2" ParentId="7885" CreationDate="2017-10-08T00:46:48.733" Score="1" Body="&lt;p&gt;Out of the box, the Sitecore UI has no way of knowing how to trigger goals if Identified or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In code, you can check the property &lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.Contact.Identifiers.Identifier&lt;/code&gt; to see if the current user is identified or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can fire your goal in code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Analytics.Tracker.IsActive &amp;amp;&amp;amp; Sitecore.Analytics.Tracker.CurrentPage != null)&#xA;{&#xA;   Sitecore.Data.Items.Item GoaltoTrigger = Sitecore.Context.Database.GetItem(&quot;{Item ID of the Goal}&quot;);&#xA;   if(GoaltoTrigger!=null)&#xA;   {&#xA;      Sitecore.Analytics.Data.Items.PageEventItem registerthegoal = new Sitecore.Analytics.Data.Items.PageEventItem(GoaltoTrigger);&#xA;      Sitecore.Analytics.Data.DataAccess.DataSets.VisitorDataSet.PageEventsRow eventData = Sitecore.Analytics.Tracker.CurrentPage.Register(registerthegoal);&#xA;      eventData.Data = GoaltoTrigger[&quot;Description&quot;];&#xA;      Sitecore.Analytics.Tracker.Submit();&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Doing it this way, in code only, is a tough way to go. But if you want to track it separately, identified vs not, you need to fire one vs the other based on identification.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your other choices are to hide components with a custom rule and place the goal on your identified or un-identified rendering. Or to hide your conversion based goals behind a login screen.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-10-08T20:15:30.650" LastActivityDate="2017-10-08T20:15:30.650" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7913" PostTypeId="2" ParentId="7860" CreationDate="2017-10-08T01:07:03.347" Score="1" Body="&lt;p&gt;I believe your rendering is currently is the template &lt;code&gt;View Rendering&lt;/code&gt; - &lt;code&gt;/sitecore/templates/System/Layout/Renderings/View rendering&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be using the template &lt;code&gt;Controller Rendering&lt;/code&gt; &#xA; - &lt;code&gt;/sitecore/templates/System/Layout/Renderings/Controller rendering&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your controller is passing the model Demo_1.Models.IGlassBase to your rendering. This is for the use of a controller rendering. You can pull it off with a view rendering, but you have to create &lt;a href=&quot;http://www.matthewdresser.com/sitecore/carousel-sitecore-mvc-(part-1-view-renderings)&quot; rel=&quot;nofollow noreferrer&quot;&gt;a model class&lt;/a&gt; that inherits from &lt;code&gt;IRenderingModel&lt;/code&gt;. But that is not the case here.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-10-08T20:13:26.187" LastActivityDate="2017-10-08T20:13:26.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7914" PostTypeId="1" CreationDate="2017-10-08T04:26:07.510" Score="3" ViewCount="747" Body="&lt;p&gt;I am facing strange issue with Image field in Sitecore. When I &quot;Browse&quot; image field of any item in English Version then I am able to get entire Media Library with its children but when I change the language of same item  lets say German and try to &quot;Browse&quot; image field then I getting only media library item and not its children, so I am unable to change the image in other language as shown in below image&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UUfU0.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UUfU0.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help will be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2017-10-09T04:06:04.910" Title="Unable to get media libary items in image field for non-English languages" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7915" PostTypeId="1" CreationDate="2017-10-08T11:09:02.217" Score="5" ViewCount="111" Body="&lt;p&gt;Is it possible to tag the versions of the items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Version 1,2,3 will be tagged to Phase 1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Version 4,5,6 will be tagged to Phase 2&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-10-08T22:53:23.597" Title="Tagging Item Versions" Tags="|versions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7917" PostTypeId="1" AcceptedAnswerId="7921" CreationDate="2017-10-08T15:16:29.217" Score="5" ViewCount="97" Body="&lt;p&gt;Is there an option to switch Contact context programmatically?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say i have some logic that depends on Contact context. When running such logic i would want to use something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new Sitecore....ContactSwitcher(&quot;contactID&quot;))&#xA;{&#xA;    //my logic with rules and personalization&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I.e. Something EXM does with &amp;amp;recipient=xdb:{contactID} parameter&lt;/p&gt;&#xA;" OwnerUserId="713" LastEditorUserId="713" LastEditDate="2017-10-08T20:01:48.733" LastActivityDate="2017-10-08T20:34:24.497" Title="xDB Contact Switcher" Tags="|xdb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7918" PostTypeId="1" CreationDate="2017-10-08T16:31:57.510" Score="3" ViewCount="1086" Body="&lt;p&gt;I need to load renderings and assign Datasource at run-time. We have two kind of renderings; &lt;code&gt;Controller Rendering&lt;/code&gt; and &lt;code&gt;View Rendering&lt;/code&gt; and am using this inbuilt function:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().Rendering&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However this function is only working for &lt;code&gt;Controller Renderings&lt;/code&gt; not for &lt;code&gt;View Renderings&lt;/code&gt;. Is there a way to solve this problem?&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="73" LastEditDate="2017-10-08T22:19:55.810" LastActivityDate="2017-10-09T10:07:35.723" Title="View Renderings at run-time" Tags="|presentation|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7920" PostTypeId="2" ParentId="7918" CreationDate="2017-10-08T18:40:31.680" Score="1" Body="&lt;p&gt;You will need to implement a View Rendering that has a model that inherits from &lt;code&gt;Sitecore.Mvc.Presentation.IRenderingModel&lt;/code&gt;. And also implements the Initialize override.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the initialize you can fetch your custom datasource. See this &lt;a href=&quot;http://www.matthewdresser.com/sitecore/carousel-sitecore-mvc-(part-1-view-renderings)&quot; rel=&quot;nofollow noreferrer&quot;&gt;post&lt;/a&gt; for more detail. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create a new Rendering Model inheriting IRenderingModel.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CarouselRenderingModel : Sitecore.Mvc.Presentation.RenderingModel&#xA;{&#xA;    public override void Initialize(Rendering rendering)&#xA;    {&#xA;        base.Initialize(rendering);&#xA;        CarouselSlides =&#xA;            Sitecore.Data.ID.ParseArray(Item[&quot;SelectedItems&quot;])&#xA;                .Select(id =&amp;gt; Item.Database.GetItem(id)).ToList();&#xA;    }&#xA;&#xA;    public IList CarouselSlides { get; private set; } &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add this model to Sitecore models&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find these in the content tree at /sitecore/layout/Models.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add the model to the rendering model field.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the model field on the View Rendering item itself. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-10-08T18:40:31.680" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7921" PostTypeId="2" ParentId="7917" CreationDate="2017-10-08T20:34:24.497" Score="2" Body="&lt;p&gt;Doesn't exist a ContactSwitcher like LanguageSwitcher or UserSwitcher. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to identify new user when you want to switch to other contact. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            var contactIdentifier = &quot;contactemail or otheridentifier&quot;; &#xA;            if (Tracker.Current.Contact != null &amp;amp;&amp;amp; Tracker.Current.Contact.Identifiers.Identifier == contactIdentifier)&#xA;            {&#xA;                // Contact already identified&#xA;                return;&#xA;            }&#xA;            Tracker.Current.Session.Identify(contactIdentifier);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want to switch back to previous user you need to identify again previous contact. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-08T20:34:24.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7922" PostTypeId="2" ParentId="7918" CreationDate="2017-10-08T21:04:15.720" Score="2" Body="&lt;p&gt;I would highly recommend that you use Controller Renderings if you require any sort of logic to calculate the datasource. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, the helper does not care if you are using View Renderings or Controller Renderings, just pass the path or the guid of the Rendering Item and Sitecore will handle it as if you had inserted this via the Experience Editor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    var renderingItem = &quot;rendering-item-guid-or-path&quot;&#xA;    var dsItem = &quot;guid-or-path-of-datasource-item&quot;&#xA;}&#xA;@Html.Sitecore().Rendering(renderingItem, new { DataSource = dsItem })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-10-08T21:04:15.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7923" PostTypeId="2" ParentId="7915" CreationDate="2017-10-08T22:17:39.593" Score="3" Body="&lt;h2&gt;Yes you can&lt;/h2&gt;&#xA;&lt;p&gt;Tagging is a field that is stored as &lt;code&gt;__Semantics&lt;/code&gt; and it is not shared between item versions. I ran a quick test.&lt;/p&gt;&#xA;&lt;h3&gt;Version 2, untagged.&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4vcPG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4vcPG.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Version 1, tagged&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7hS6c.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7hS6c.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;And searching for this tag&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ri1ir.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ri1ir.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Returns only Version 1, as expected.&lt;/p&gt;&#xA;&lt;h3&gt;And final proof&lt;/h3&gt;&#xA;&lt;p&gt;I tagged both versions.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5Xn5W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5Xn5W.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Further reading: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/content-tagging-with-sitecore-7&quot; rel=&quot;nofollow noreferrer&quot;&gt;Content Tagging with Sitecore 7&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-10-08T22:53:23.597" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7924" PostTypeId="2" ParentId="5881" CreationDate="2017-10-09T00:54:08.823" Score="1" Body="&lt;p&gt;Due to the possiblity of Save Actions executing out of context, via the Event Queue and on the CM server, normally we use also use a &lt;a href=&quot;https://jammykam.wordpress.com/2017/10/06/wffm-hidden-token-field/&quot; rel=&quot;nofollow noreferrer&quot;&gt;hidden field&lt;/a&gt; as well. Any logic is then based off of that GUID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really want to access the Context Item from the Save Action then it is possible. You need to ensure that your form is &lt;strong&gt;not&lt;/strong&gt; an AJAX form. You can only set this field on your form via the Cotent Editor:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oopQa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oopQa.png&quot; alt=&quot;Is Ajax Mvc Form Field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And also verify that your &lt;strong&gt;Save Action&lt;/strong&gt; is marked as a &lt;code&gt;Client Action&lt;/code&gt;. Again, you must do this from the Content Editor:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yUNOl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yUNOl.png&quot; alt=&quot;Save Action&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The combination of both these settings ensures that the Save Action runs under the context of the current Item and on the CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then access &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; as normal from the &lt;a href=&quot;https://imgur.com/a/RW1UG&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Execute()&lt;/code&gt; method&lt;/a&gt; of the &lt;strong&gt;Save Action&lt;/strong&gt; or from &lt;a href=&quot;https://imgur.com/a/8ND1J&quot; rel=&quot;nofollow noreferrer&quot;&gt;processors&lt;/a&gt; in the &lt;strong&gt;processMessage&lt;/strong&gt; pipeline. You need to ensure you defensively code around the Item being null, esp if the processor is also deployed to the CM server and remote actions are enabled.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-10-09T00:54:08.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7925" PostTypeId="2" ParentId="7914" CreationDate="2017-10-09T04:06:04.910" Score="2" Body="&lt;p&gt;I am able to solve this by setting the Source of image field path to &quot;&lt;strong&gt;&lt;em&gt;/sitecore/media library/Images&lt;/em&gt;&lt;/strong&gt;&quot; in template. Now instead of showing media library as a starting item, my image field showing &quot;Images&quot; as a starting item on Browse functionality and I am able to get its child items as well.&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2017-10-09T04:06:04.910" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7926" PostTypeId="2" ParentId="7918" CreationDate="2017-10-09T09:53:34.670" Score="0" Body="&lt;p&gt;You have got also following method: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().ItemRendering()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It takes as parameter path or ID of Item. &#xA;To make it works just do following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;copy the ID of rendering item&lt;/li&gt;&#xA;&lt;li&gt;open data source item&lt;/li&gt;&#xA;&lt;li&gt;paste the ID of rendering inside data source's field &quot;Renderers&quot; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That's all. &lt;/p&gt;&#xA;" OwnerUserId="228" LastEditorUserId="228" LastEditDate="2017-10-09T10:07:35.723" LastActivityDate="2017-10-09T10:07:35.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7927" PostTypeId="2" ParentId="7881" CreationDate="2017-10-09T12:31:06.020" Score="0" Body="&lt;p&gt;I got the answer from The portal when I posted this a bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, the Multilist with Search is not supported in the current version. I did however make some adjustments which would enable the support in a future version, probably 4.8.&lt;/p&gt;&#xA;" OwnerUserId="2525" LastActivityDate="2017-10-09T12:31:06.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7928" PostTypeId="1" AcceptedAnswerId="7947" CreationDate="2017-10-09T12:34:17.393" Score="3" ViewCount="621" Body="&lt;p&gt;I have set up Server Error Page Link field at SXA settings item, but it never &#xA;redirect me to a page, in case of 500 error happen. (400 error works well)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;what I should do for make it work ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that SXA should generate static page , errorhandling:generatestaticpage command should be called. but I don't know how to call it from UI.&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="1324" LastEditDate="2017-10-09T13:55:21.427" LastActivityDate="2017-10-10T06:38:21.357" Title="SXA 500 error handling" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7929" PostTypeId="1" CreationDate="2017-10-09T12:45:28.810" Score="5" ViewCount="48" Body="&lt;p&gt;I was looking into Xamarin SDK and Creating a SSC to provide data to a Xamarin App, but I was wondering ... Is there a way to personalize data shown in Xamarin(or any Mobile App for that matter) based on rules defined on Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, Let´s say that I just want to show a specific content item to a specific region, Is there a way to return to get that information from Xamarin SDK or via SSC? I guess that my question should be, can I get all rules defined for a content item?&lt;/p&gt;&#xA;" OwnerUserId="2499" LastActivityDate="2017-10-09T12:45:28.810" Title="Is it possible to personalize content via Xamarin SDK or SSC using rules?" Tags="|sitecore-services-client|rules-engine|xamarin|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7930" PostTypeId="1" CreationDate="2017-10-09T12:55:40.647" Score="4" ViewCount="1038" Body="&lt;p&gt;We have written one rule for bucket items and it gets triggered when a bucket item is created or the item is saved.&#xA;for creating a bucket item we use below code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$updatedItem=New-Item -Path &quot;$parentPath&quot; -Name $Title -ItemType $Template&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now when the item is created, the rule is triggered which is expected. After that, I want to trigger the same rule again when the item's fields get updated. I have used the below code to update the item fields&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$updatedItem.Editing.BeginEdit()&#xA;$updatedItem.Title=$NewsTitle      &#xA;$updatedItem.DateTime=$NewsDate&#xA;$updatedItem.Editing.EndEdit() &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now these fields get updated silently in sitecore but the save event is not fired and because of that the rule is not triggered.&#xA;I also used the below code to explicitly trigger the event but that too did not work.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$updatedItem.Editing.EndEdit($false,$true)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there any way where I can trigger the rule from PowerShell script or trigger the save event?&lt;/p&gt;&#xA;" OwnerUserId="2525" LastEditorUserId="4050" LastEditDate="2019-12-08T05:50:59.653" LastActivityDate="2019-12-08T05:50:59.653" Title="Item.Editing.EndEdit() is not triggering save event when called from Powershell extension" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7931" PostTypeId="2" ParentId="7867" CreationDate="2017-10-09T13:58:57.643" Score="2" Body="&lt;p&gt;As far as I can tell from my own installation (we ran without GeoIP for a week or so) the answer is no, it does not go back in time. However, if a visitor &lt;em&gt;returns&lt;/em&gt; to the site, their Geo will be captured as part of their profile. I have a few visitors that are anonymous, but hit my site regularly, and they have been classified by GeoIP after the service was turned on.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-09T13:58:57.643" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7932" PostTypeId="2" ParentId="7857" CreationDate="2017-10-09T14:43:56.663" Score="1" Body="&lt;p&gt;As stated by your question, No, not without significant programming and disabling default Sitecore screens. (You'd basically have to replace the publishing dialog with an alternate. Not impossible, but depending on whether you needed the dialog to appear in all the natural places the Sitecore one does, difficult. You'd have to use both Sheer and Speak UI paradigms to cover it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other Approaches:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are quite a few places in Sitecore where you can control the publishing targets. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration Files&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the sitecore.config file you can change the &lt;code&gt;DefaultPublishingTargets&lt;/code&gt; setting to include only the targets that &quot;regular&quot; users should access, a &quot;staging target&quot; for example. You can then use the judicious assignment of super-users to the Sitecore Client Advanced Publishing role, which will give super-users the ability to change/add publishing targets to a specific publishing run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Workflow&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also create publishing targets that are valid for non-final workflow states, and have a publishing action assigned to a given workflow state such that an Item that is moved to that workflow state by a &quot;regular&quot; user is published to the correct target, and only the correct target. In this scenario, the &quot;regular&quot; user doesn't even need to be a member of Sitecore Client Publishing, as publishing is handled automatically. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In Practice&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my opinion, using Workflow to publish Items is probably ideal, however caching and the shallow publishing of related content makes this inconsistent in Sitecore &lt;em&gt;out-of-the-box&lt;/em&gt;. You'll probably have to build your own Workflow Actions that do a better job of publishing the Item, related Media, any required parents, and related items to make this &quot;usable&quot;. I'll put the usual admonition that if you don't have Workflow set up, you &lt;strong&gt;absolutely should&lt;/strong&gt;, Sitecore &lt;em&gt;expects&lt;/em&gt; there to be workflow to govern publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Failing the use of workflow, restricting publishing targets to specific user groups should address your problem.  I'll warn against having content authors be &lt;em&gt;Admin&lt;/em&gt;. &lt;strong&gt;&lt;em&gt;Admin&lt;/em&gt; is not designed to be used during content entry&lt;/strong&gt;, it violates and circumvents too many processes associated with the content lifecycle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is normal to see a blend of these two approaches. In general, I would avoid modifying the Sitecore user experience (an expensive and risky endeavor).&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-09T14:43:56.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7933" PostTypeId="2" ParentId="7830" CreationDate="2017-10-09T14:54:48.777" Score="1" Body="&lt;p&gt;Judging from the screenshots, it appears that the English version doesn't have a Standard Values. I understand for a Shared field this seems counter-intuitive, but I'd like to see a screenshot of the English version &lt;em&gt;after&lt;/em&gt; you've installed Standard Values and set the checkbox to true. It'd also be interesting to see if creating a Standard Values in English &lt;em&gt;automatically&lt;/em&gt; ticks the box due to its shared nature and the existence of a value for the field in French Standard Values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming it's a bug (It'd be useful to know your Sitecore version number), it would appear that Standard Value resolution does not take trans-language Standard Values into consideration.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-09T14:54:48.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7935" PostTypeId="2" ParentId="7930" CreationDate="2017-10-09T15:51:51.820" Score="1" Body="&lt;p&gt;One approach would be to trigger the Bucket Sync command after the edits are completed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following syncs the bucketed items after the careers import finished and before publishing. This could take a while if there is a large number of items.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Write-Verbose &quot;Syncing jobs buckets.&quot;   &#xA;$careersBucketItem = Get-Item -Path $careersPSPath&#xA;[Sitecore.Buckets.Managers.BucketManager]::Sync($careersBucketItem)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-10-09T16:07:08.440" LastActivityDate="2017-10-09T16:07:08.440" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7936" PostTypeId="1" AcceptedAnswerId="9102" CreationDate="2017-10-09T16:30:16.067" Score="12" ViewCount="758" Body="&lt;p&gt;I'm unable to use the Folder Sync functionality in Sitecore Rocks.&#xA;(&lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks/blob/master/docs/Tools/FolderSynchronization.md&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/JakobChristensen/Sitecore.Rocks/blob/master/docs/Tools/FolderSynchronization.md&lt;/a&gt;)&lt;br/&gt;&#xA;When I right-click on a VS folder that contains MVC views, &quot;Sitecore &gt;&quot; option is disabled.  How do I enable this functionality?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setup:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Visual Studio 2017 (v.15.3.5); running as admin&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Rocks Extension is enabled. (v. 2.1.0.79)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore menu -&gt;&quot;Turn Features On&#xA;or Off&quot; - all boxes are checked (but 'All' radio button doesn't stay&#xA;selected after OK).&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Explorer is working; connected via Hard Rock Service&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1033" LastEditorUserId="73" LastEditDate="2018-01-18T15:11:47.317" LastActivityDate="2023-01-03T09:40:53.840" Title="Folder Sync option disabled" Tags="|sitecore-rocks|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7937" PostTypeId="2" ParentId="7051" CreationDate="2017-10-09T17:23:48.577" Score="1" Body="&lt;p&gt;Frankly, if you're looking to produce an RSS or ATOM style document, I would use Sitecore's Presentation Device strategy and create an RSS layout of the root page of your News section (for example). In this way you can either render the children (or some sort of query) out as RSS in extremely easy fashion. The &quot;distributable&quot; URL for your RSS feed would include device=rss or something. 'Been doing it that way for as long as Sitecore and RSS have existed together.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can assign a Controller Rendering as the Device's Layout and have it output the XML directly.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-09T17:23:48.577" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7938" PostTypeId="2" ParentId="7899" CreationDate="2017-10-09T17:33:30.250" Score="2" Body="&lt;p&gt;Default Value is obsolete. It dates back to the days before Standard Values (Sitecore 5.0-5.2 series if I recall correctly). You should stick with Standard Values if at all possible.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-09T17:33:30.250" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7939" PostTypeId="1" AcceptedAnswerId="8064" CreationDate="2017-10-09T20:24:40.937" Score="8" ViewCount="1193" Body="&lt;p&gt;I tried to Kick a Sitecore user using the command below, but it seems it does not work&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Web.Authentication.DomainAccessGuard.Kick(sessionID);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Even if I passed the current session ID, it does not kick the Sitecore User Out, &#xA;Any ideias?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got the Sessions with the following command&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;DomainAccessGuard.Sessions&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="998" LastActivityDate="2017-10-17T23:06:31.997" Title="How to Kick a Sitecore User Programmatically" Tags="|user-management|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7940" PostTypeId="2" ParentId="7939" CreationDate="2017-10-09T20:28:48.097" Score="0" Body="&lt;p&gt;The code to kick all users : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach(Session session in DomainAccessGuard.Sessions) &#xA;{ &#xA;    DomainAccessGuard.Kick(session.SessionID); &#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: Domain access guard manages license slots, not authentication. So after you kick  a session auth cookies and sitecore user ticket remain valid and on the next request user get logged in automatically and occupies free license slot.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-10-09T20:43:16.547" LastActivityDate="2017-10-09T20:43:16.547" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="7941" PostTypeId="1" CreationDate="2017-10-09T21:01:43.113" Score="4" ViewCount="1777" Body="&lt;p&gt;It doesn't happen on Internet Explorer (IE), but does on Firefox, Opera, and Chrome.&lt;/p&gt;&#xA;" OwnerUserId="2254" LastEditorUserId="73" LastEditDate="2017-10-09T21:54:18.967" LastActivityDate="2017-10-10T18:31:51.853" Title="How do I get rid of extra linebreaks &lt;br&gt; in rich text fields when using the Rich Text Editor on Sitecore 8.0?" Tags="|richtext-editor|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="7942" PostTypeId="1" AcceptedAnswerId="10851" CreationDate="2017-10-09T21:47:29.947" Score="7" ViewCount="358" Body="&lt;p&gt;In a Sitecore environment, Sitecore 8.2 update 4, the analytics buttons in the launch pad are hidden. This is what I would expect if analytics were disabled (Xdb.Enabled = false) but analytics are enabled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I thought maybe Sitecore couldn't reach Mongo, so I took a different environment where analytics works, I changed the Mongo connection strings to something that was no good, but the analytics buttons are still visible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, the user I am logged in as is an Administrator, so I dont think its a permissions problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What else would cause these buttons to be hidden? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1Idj2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Idj2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="2056" LastEditDate="2018-03-15T08:53:12.200" LastActivityDate="2018-03-16T16:39:12.260" Title="Sitecore Analytics Buttons in the launchpad" Tags="|xdb|experience-analytics|launchpad|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7943" PostTypeId="1" AcceptedAnswerId="7944" CreationDate="2017-10-09T22:09:50.390" Score="3" ViewCount="3173" Body="&lt;p&gt;Is there a way to find out if a dynamic placeholder has renderings in it? I'm currently using Fortis Collection's implementation of dynamic placeholders which was included in the project through nuget. I've only done this with normal placeholders and it involved using the placeholder's name similar to this: &lt;a href=&quot;https://stackoverflow.com/a/24362438/2597149&quot;&gt;https://stackoverflow.com/a/24362438/2597149&lt;/a&gt;. This won't work since I don't know the exact string of the placeholder to use.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2019-12-08T05:51:10.623" Title="Find Out If Dynamic Placeholder Has Renderings" Tags="|dynamic-placeholder|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7944" PostTypeId="2" ParentId="7943" CreationDate="2017-10-09T22:38:33.720" Score="6" Body="&lt;p&gt;&lt;strong&gt;Updated&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OK - so this is a lot more complex than I thought it might be. Basically, because of the way that Sitecore handles renderings and placeholders, there is no way of getting all the placeholder keys for a page. You can only list placeholder keys where rendering has been added to it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Finding Rendering inside Dynamic Placeholders&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can easily find renderings that have been added to a dynamic placeholder, without knowing the full key name including the Guid:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.Page.Renderings&#xA;    .Where(r =&amp;gt; r.Placeholder.StartsWith(&quot;PromoItems_&quot;, StringComparison.OrdinalIgnoreCase))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code will get you the renderings that have been added to &lt;em&gt;any&lt;/em&gt; of the &lt;code&gt;PromoItems&lt;/code&gt; dynamic placeholders. This works because the dynamic placeholder code uses this format (&lt;code&gt;{placeholderKey}_{renderingId}&lt;/code&gt;), to create the full dynamic placeholder key.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Getting a PlaceholderKey that has not been used&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To get hold of a placeholder key that has not had any components added to it, you have to grab it when the page is being composed. When you add &lt;code&gt;@Html.Sitecore().DynamicPlaceholder()&lt;/code&gt;, once it has worked out the key - it still just runs through the &lt;code&gt;mvc.renderPlaceholder&lt;/code&gt; pipeline. In this pipeline, it calls a &lt;code&gt;GetRenderings&lt;/code&gt; method that... wait for it... gets all the renderings for that placeholder key:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual IEnumerable&amp;lt;Rendering&amp;gt; GetRenderings(string placeholderName, RenderPlaceholderArgs args)&#xA;{&#xA;    string placeholderPath = PlaceholderContext.Current.ValueOrDefault(context =&amp;gt; context.PlaceholderPath).OrEmpty();&#xA;    Guid deviceId = this.GetPageDeviceId(args);&#xA;    return args.PageContext.PageDefinition.Renderings.Where&amp;lt;Rendering&amp;gt;(r =&amp;gt;&#xA;    {&#xA;        if (!(r.DeviceId == deviceId))&#xA;            return false;&#xA;        if (!r.Placeholder.EqualsText(placeholderName))&#xA;            return r.Placeholder.EqualsText(placeholderPath);&#xA;        return true;&#xA;    });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Depending on what you wanted to do with that empty placeholder, you could override the &lt;code&gt;PerformRendering&lt;/code&gt; processor and check if a rendering had components or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example that stores a list of keys in &lt;code&gt;Sitecore.Context.Items&lt;/code&gt;, which you could then use somewhere else in the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PerformRendering: Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering&#xA;{&#xA;    protected override void Render(string placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;    {&#xA;        var renderingsForPlaceholder = this.GetRenderings(placeholderName, args).ToList();&#xA;        if (!renderingsForPlaceholder.Any())&#xA;        {&#xA;            // Do something here? Maybe store it in Sitecore.Context.Items to be used later?&#xA;            var unusedPlaceholders = Sitecore.Context.Items[&quot;unusedPlaceholderKeys&quot;] as List&amp;lt;string&amp;gt; ?? new List&amp;lt;string&amp;gt;();&#xA;            unusedPlaceholders.Add(placeholderName);&#xA;            Sitecore.Context.Items[&quot;unusedPlaceholderKeys&quot;] = unusedPlaceholders;&#xA;        }&#xA;&#xA;        foreach (Rendering rendering in renderingsForPlaceholder)&#xA;        {&#xA;            if (rendering != null)&#xA;            {&#xA;                using (this.CreateCyclePreventer(placeholderName, rendering))&#xA;                    this.ProcessRenderRendering(rendering, writer);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hopefully, that helps solve your problem!&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="4050" LastEditDate="2019-12-08T05:51:10.623" LastActivityDate="2019-12-08T05:51:10.623" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="7947" PostTypeId="2" ParentId="7928" CreationDate="2017-10-10T06:38:21.357" Score="2" Body="&lt;p&gt;I have found that button start appear only on   items based on /sitecore/templates/Foundation/Experience Accelerator/Multisite/Site template. &#xA;logic inside of code just hide buttons if item not based on site template. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override CommandState QueryState(CommandContext context)&#xA;        {&#xA;            if (context.Items.Length != 0 &amp;amp;&amp;amp; context.Items.First&amp;lt;Item&amp;gt;().DoesItemInheritFrom(Sitecore.XA.Foundation.Multisite.Templates.SiteDefinition.ID))&#xA;            {&#xA;                return CommandState.Enabled;&#xA;            }&#xA;            return CommandState.Hidden;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2017-10-10T06:38:21.357" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7948" PostTypeId="1" AcceptedAnswerId="7949" CreationDate="2017-10-10T09:46:57.397" Score="4" ViewCount="591" Body="&lt;p&gt;I have to implement &lt;code&gt;Azure&lt;/code&gt; search but would like to try with Lucene first in the local setup. I am following this &lt;a href=&quot;https://kamsar.net/index.php/2014/05/indexing-subcontent/&quot; rel=&quot;nofollow noreferrer&quot;&gt;example&lt;/a&gt; by @kamsar&lt;/p&gt;&#xA;&lt;p&gt;1.Created the &lt;code&gt;SubcontentField&lt;/code&gt; class&lt;br /&gt;&#xA;2.Created the &lt;code&gt;patch config&lt;/code&gt; and&lt;br /&gt;&#xA;3.Rebuilt the index for &lt;code&gt;sitecore_web_index&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;[ Did not add any custom field/template IDs in the Lucene configs. Using the default ones as it is without any changes. ]&lt;/p&gt;&#xA;&lt;p&gt;Here is my code which is triggered, when a user clicks the search button on the page.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;string keywords = &amp;lt;keywords entered by user&amp;gt;;    &#xA;&#xA; using (var context = ContentSearchManager.GetIndex(&amp;quot;sitecore_web_index&amp;quot;).CreateSearchContext())&#xA; {&#xA;   var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()  &#xA;              .Where(x =&amp;gt; x.Content.Contains(keywords) &amp;amp;&amp;amp; &#xA;                     x.Language == Sitecore.Context.Language.Name);&#xA;                    &#xA;   List&amp;lt;SearchResultItem&amp;gt; lst = query.ToList();       &#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Now I search using a keyword &amp;quot;stories&amp;quot;. There is a rendering on the home page, which has the title &amp;quot;Stories&amp;quot;. I am expecting the Home page item in one of the result items inside &lt;code&gt;lst&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;But there are other items like controller rendering, media library, etc that have the name &amp;quot;stories&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;I would like to get the list of page items that have the keyword used in any of the renderings for that page.&lt;/p&gt;&#xA;&lt;p&gt;As suggested in the article, should I search in any particular field?&#xA;Could someone please guide me on how to get my desired results here?&lt;/p&gt;&#xA;&lt;p&gt;Using sc8.2 u3 with MVC&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I did this to see if there really was home page in the returned list&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                       .Where(x =&amp;gt; x.ItemId == SitecoreUtility.GetHomeItem().ID &amp;amp;&amp;amp;   &#xA;   x.Language == Sitecore.Context.Language.Name);&#xA;&#xA;List&amp;lt;SearchResultItem&amp;gt; lst = query.ToList();&#xA;string sss = lst[0].Content;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It did return one result, but &amp;quot;sss&amp;quot; got only one word which was &amp;quot;Home&amp;quot;. So I'm doubting if the example from the article really worked for me, I mean did it really get all content fields values into one field.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="11745" LastEditDate="2022-09-20T09:31:26.077" LastActivityDate="2022-09-20T09:31:26.077" Title="How to get the page of a rendering used in a page in search" Tags="|content-search|lucene|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7949" PostTypeId="2" ParentId="7948" CreationDate="2017-10-10T10:01:31.357" Score="4" Body="&lt;p&gt;You use the &quot;sitecore_web_index&quot; which contains all items of web database. If you want to get just pages, you need to filter results. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string keywords = &amp;lt;keywords entered by user&amp;gt;;    &#xA; using (var context = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext())&#xA; {&#xA;   var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()  &#xA;              .Where(x =&amp;gt; x.Paths.Contains(ID.Parse(&quot;{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}&quot;)) x.Content.Contains(keywords) &amp;amp;&amp;amp; &#xA;                     x.Language == Sitecore.Context.Language.Name)&#xA;&#xA;   List&amp;lt;SearchResultItem&amp;gt; lst = query.ToList();       &#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;,where {0DE95AE4-41AB-4D01-9EB0-67441B7C2450} is id of your home page. It means that search result will comtain all items under the item with id = {0DE95AE4-41AB-4D01-9EB0-67441B7C2450} including this item itself and whose corresponds another conditions.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-10-10T10:01:31.357" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="7950" PostTypeId="1" AcceptedAnswerId="7951" CreationDate="2017-10-10T10:03:44.693" Score="8" ViewCount="4656" Body="&lt;p&gt;I can't seem to find any guidance (official or otherwise) on when to use the &lt;strong&gt;Number&lt;/strong&gt; field type vs the &lt;strong&gt;Integer&lt;/strong&gt; field type. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gAp1l.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gAp1l.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the main differences that I should be considerate of?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sitecore 8.0&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="1106" LastActivityDate="2017-10-10T10:16:51.317" Title="When to use Number vs Integer field type" Tags="|templates|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7951" PostTypeId="2" ParentId="7950" CreationDate="2017-10-10T10:16:51.317" Score="9" Body="&lt;p&gt;The main difference is, one stores an Integer and one stores any number, e.g. &lt;code&gt;12.50&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple of caveats.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The decimal separator is different between countries. And Sitecore's default input validation will be based on the current locale of the Content Editor user. Which is fine if they all run Sitecore in &quot;en&quot;, but more of a challenge if some run the editor in &quot;da&quot; for instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Denmark, &lt;code&gt;12.50&lt;/code&gt; would be written as &lt;code&gt;12,50&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Storage wise, everything is still a string - so the above is something you need to be aware of.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also be aware that the default indexing (at least at some point) for the &lt;code&gt;Number&lt;/code&gt; field ended up in an integer via Sitecore ContentSearch. This may have been updated later, I don't know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://reasoncodeexample.com/2014/02/20/indexing-float-double-and-decimal-values-sitecore-7-content-search/&quot; rel=&quot;noreferrer&quot;&gt;Indexing float, double and decimal values – Sitecore 7 Content Search&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-10-10T10:16:51.317" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7952" PostTypeId="1" CreationDate="2017-10-10T10:16:52.533" Score="2" ViewCount="471" Body="&lt;p&gt;I'm having problem with the Sitecore Admin Pages. Once I login to visit a page (e.g., sitecore/admin/dbbrowser.aspx) then I'm currently in the page and I tried to load the page I'm being redirected on the login page even though I did not logged out.&lt;/p&gt;&#xA;" OwnerUserId="2543" LastActivityDate="2017-10-10T10:16:52.533" Title="Sitecore Admin Page login issue" Tags="|sitecore-client|admin-pages|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7953" PostTypeId="1" CreationDate="2017-10-10T11:16:02.730" Score="1" ViewCount="67" Body="&lt;p&gt;I assume with the latest releases of Sitecore (8.2), PDF and other document indexing comes by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone please point me to a document related to any setting, to enable these media document indexing feature with sitecore ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OR is there any custom code modifications involve with PDF media document content indexing with sitecore lucene ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2017-10-10T11:20:57.723" Title="Sitecore PDF Document Content Indexing with Lucene" Tags="|content-search|indexing|" AnswerCount="0" CommentCount="4" ClosedDate="2017-10-10T11:42:56.537" ContentLicense="CC BY-SA 3.0" />
  <row Id="7955" PostTypeId="2" ParentId="4571" CreationDate="2017-10-10T14:34:54.200" Score="1" Body="&lt;p&gt;At SYM2016 I saw a demo of the marketplace module that XCentium built called Vault. It sounds exactly like what you are looking for. Their site says it even has the ability to show you what it looked like using a History-Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/V/Vault_for_Sitecore.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/V/Vault_for_Sitecore.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.xcentium.com/digital-solutions/sitecore/vault&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.xcentium.com/digital-solutions/sitecore/vault&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2017-10-10T14:34:54.200" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7956" PostTypeId="1" AcceptedAnswerId="8258" CreationDate="2017-10-10T16:33:33.467" Score="6" ViewCount="1190" Body="&lt;p&gt;For a recent customer, we moved them to SOLR, which I highly recommend for production environments over Lucene, and we encountered a few issues, as some of the Lucene indexes had some uppercase characters in their names. No errors occurred, however, no results would return from ContentSearch for those indexes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nothing in the Sitecore or SOLR logs helped either. SOLR was just silently not returning results from the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my question is, in a Sitecore/SOLR Best Practices document anywhere, is this issue documented and we just didn't find/see it or should it even be a best practice for Lucene indexes?&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="556" LastEditDate="2019-01-23T14:00:17.580" LastActivityDate="2019-01-23T14:00:17.580" Title="When using SOLR with Sitecore is it mentioned anywhere to always use lowercase index names?" Tags="|solr|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7957" PostTypeId="2" ParentId="7148" CreationDate="2017-10-10T16:43:53.470" Score="1" Body="&lt;p&gt;If you're brand new to Sitecore, and you're brand new to MVC, I would use MVC for your first Sitecore project. It will allow you to get embedded in the current direction the product is going without learning any bad habits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Being new to MVC is a bonus, because Sitecore's implementation is very different from &quot;stock&quot; Microsoft ASP.NET MVC: There's no routing required (Sitecore handles it) and what you would likely consider a &quot;partial view&quot; or &quot;child action&quot; in Sitecore is actually neither of those. Just color within the lines of available tutorials, pick a framework like &lt;a href=&quot;http://glass.lu/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Glass&lt;/a&gt; that basically takes all the configuration off your hands, and you'll be fine.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-10T16:43:53.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7958" PostTypeId="2" ParentId="6998" CreationDate="2017-10-10T16:49:39.017" Score="2" Body="&lt;p&gt;This is still possible today, I just tested and confirmed with SC8.2 update 4. You can still modify Global.asax and add Application_Error method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, per practically every best practice post out there, you should NOT change the files that come from Sitecore. It could impact your ability to upgrade, etc. Plus, per old Sitecore John posts there are many levels to think about exception handling: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-exception-management-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-exception-management-with-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Including, as he mentions the web.config - /configuration/system.web/customErrors node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, based on this question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/7148/are-there-any-reasons-to-start-a-new-sitecore-project-today-using-webforms/7945#7945&quot;&gt;Are there any reasons to start a new Sitecore project today, using Webforms?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be using MVC and then using the mvc.exception pipeline.&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="2395" LastEditDate="2017-10-20T21:57:36.260" LastActivityDate="2017-10-20T21:57:36.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7959" PostTypeId="2" ParentId="4571" CreationDate="2017-10-10T16:52:42.043" Score="1" Body="&lt;p&gt;If you have a legal obligation to produce the physical appearance of any URL on your site at any point in the past, do not rely on Sitecore, or any dynamically-assembled archive. It may not be admissible. You want a hard-copy of each URL as it appeared on that day. You should look at some professional archive solutions designed to address this need specifically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Over the past five years, I've seen this growing market's offerings mature as governments are increasingly regulating the legality and accessibility of web content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an example, this company offers full legal compliance solutions for digital assets: &lt;a href=&quot;http://www.smarsh.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.smarsh.com/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2017-10-10T16:52:42.043" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7960" PostTypeId="2" ParentId="5738" CreationDate="2017-10-10T17:01:57.040" Score="1" Body="&lt;p&gt;Since Sitecore 7, there has been an admin tool called LINQ ScratchPad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This could allow you to find the items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-linqscratchpad&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-linqscratchpad&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2017-10-10T17:01:57.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7961" PostTypeId="1" AcceptedAnswerId="8465" CreationDate="2017-10-10T17:31:01.180" Score="6" ViewCount="243" Body="&lt;p&gt;If user times out in Experience Editor, it fails ungracefully with a yellow screen on refresh.  This happens even if user subsequently re-logs into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AZe0l.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AZe0l.png&quot; alt=&quot;Yellow Screen&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are considering increasing the timeout, but are curious if this is a known issue. Where would the timeout be increased, if we went that direction?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 Update-4 (rev. 170614)&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-11-13T15:16:44.687" Title="Experience Editor Yellow Screen After Timeout" Tags="|experience-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7962" PostTypeId="2" ParentId="7941" CreationDate="2017-10-10T18:31:51.853" Score="1" Body="&lt;p&gt;From Sitecore Support:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;We registered the described behavior as a bug in the current version of the Sitecore CMS.&#xA;  To track the future status of this bug report, please use the reference number 175677.&#xA;  More information about public reference numbers can be found here:&#xA;  &lt;a href=&quot;https://kb.sitecore.net/articles/853187&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/853187&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;After deeper investigation I found that it is related to removing script tags and inline scripts from RTE field values before saving that is controlled by the following setting in the web.config file:&#xA;  &lt;strong&gt;setting name=&quot;HtmlEditor.RemoveScripts&quot; value=&quot;true&quot;&lt;/strong&gt;&#xA;  You can set its value to “false” to resolve the issue.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Alternatively, please use the link below to download the patch:&#xA;  &lt;a href=&quot;https://sitecore.app.box.com/s/7ra1r6s71ehqlbrg0h8s1i3bdbc28dgi&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.app.box.com/s/7ra1r6s71ehqlbrg0h8s1i3bdbc28dgi&lt;/a&gt;&#xA;  To install the patch follow the instructions from the readme file inside the package.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Using the web.config approach solved the issue.&lt;/p&gt;&#xA;" OwnerUserId="2254" LastActivityDate="2017-10-10T18:31:51.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7963" PostTypeId="1" CreationDate="2017-10-10T19:29:09.313" Score="2" ViewCount="257" Body="&lt;p&gt;I have a checkbox List field and need to add and change a few options but unable to as we do not see them in Form Designer.  When I look at the item in Content Editor, I can view the values however are not in an easily editable format.  See attached images as supporting doc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are on Web Forms for Marketers 8.1.rev. 160304&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Screen 1 shows Parameters in content Editor&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sONu8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sONu8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Screen 2 I would expect to see parameters here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ue4KM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ue4KM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="524" LastEditorUserId="524" LastEditDate="2017-10-10T20:02:18.523" LastActivityDate="2017-12-30T11:18:30.463" Title="WFFM Form Designer - Cannot update existing checkbox list parameters" Tags="|wffm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7964" PostTypeId="1" CreationDate="2017-10-10T19:29:47.147" Score="2" ViewCount="103" Body="&lt;p&gt;I am a bit confused here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under the same Sitecore 8.1 instance, I have two web sites set as two virtual folders (&lt;code&gt;www.site.com&lt;/code&gt; and &lt;code&gt;www.site.com/customers&lt;/code&gt;) under the same app pool.&#xA;This is a temporary setup; at term the two sites will be merged into one but for various reasons (including $) this can be done now. So a phased approach is needed to integrate the two properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All my questions relate to, how could i share the user session between the two sites, namely:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Can I share cookies between the two sites (it seems it is not by default;&#xA;for example language preferences seem to be lost between the sites)?&lt;/li&gt;&#xA;&lt;li&gt;How can I recognize the xDB contact between these two sites?&lt;/li&gt;&#xA;&lt;li&gt;Furthermore, I would like to replace the current&#xA;login page in &lt;code&gt;www.site.com&lt;/code&gt; with a new one in &lt;code&gt;www.site.com/customers&lt;/code&gt;.&#xA;How can I enable the web session transfer/sharing between the two&#xA;sites (web SSO, custom cookie as I have seen in this post&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6461/share-session-across-sitecore-subsites&quot;&gt;Share Session across Sitecore subsites&lt;/a&gt;&#xA;but it may impact 2)?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help!&lt;/p&gt;&#xA;" OwnerUserId="2546" LastEditorUserId="2727" LastEditDate="2018-02-06T20:40:16.217" LastActivityDate="2018-02-06T20:40:16.217" Title="Maintaining/Sharing session between virtual folders" Tags="|session-state|cookies|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7965" PostTypeId="1" AcceptedAnswerId="7966" CreationDate="2017-10-10T19:31:14.283" Score="5" ViewCount="570" Body="&lt;p&gt;With this method &lt;a href=&quot;https://sitecore.stackexchange.com/a/5588/1360&quot;&gt;https://sitecore.stackexchange.com/a/5588/1360&lt;/a&gt;, we can sync the content from FileSystem to Sitecore DB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we do the reverse? DB to FileSystem using something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Reserialize-Unicorn -ControlPanelUrl 'http://sc82u5.local/unicorn.aspx' -SharedSecret '4DED97FE-32B0-4F0A-AFD8-1CA3229C74F5' -Configurations @('Content')&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1360" LastEditorUserId="73" LastEditDate="2019-11-13T10:10:00.353" LastActivityDate="2019-11-13T10:10:00.353" Title="Is it possible to reserialize using powershell script? ps1" Tags="|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7966" PostTypeId="2" ParentId="7965" CreationDate="2017-10-10T20:36:39.093" Score="6" Body="&lt;p&gt;I think the powershell functions you're looking for are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Reserialize one&#xA;&#xA;Export-UnicornConfiguration &quot;Foundation.Foo&quot;&#xA;&#xA;# Reserialize multiple by name&#xA;&#xA;Export-UnicornConfiguration @(&quot;Foundation.Foo&quot;, &quot;Foundation.Bar&quot;)&#xA;&#xA;# Reserialize from pipeline&#xA;&#xA;Get-UnicornConfiguration &quot;Foundation.*&quot; | Export-UnicornConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Taken from &lt;a href=&quot;https://kamsar.net/index.php/2017/02/Unicorn-4-Preview-Part-2-SPE-Support/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: that's for the Sitecore powershell way of doing things. If you want to use the old standard powershell API - I believe you can just add &lt;code&gt;-Verb 'Reserialize'&lt;/code&gt; to the parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sync-Unicorn -ControlPanelUrl 'https://localhost/unicorn.aspx' -SharedSecret 'your-sharedsecret-here' -Verb 'Reserialize'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="428" LastEditorUserId="428" LastEditDate="2017-10-10T22:11:55.363" LastActivityDate="2017-10-10T22:11:55.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7967" PostTypeId="1" CreationDate="2017-10-10T21:12:40.477" Score="3" ViewCount="725" Body="&lt;p&gt;When I rebuild one of my indexes in Sitecore, I get the following error in the Solr log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;org.apache.solr.common.SolrException: undefined field 0001-01-01T00&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I don't have a field called &lt;code&gt;0001-01-01T00&lt;/code&gt;, so I'm not sure what's causing this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="1490" LastEditorUserId="70" LastEditDate="2017-10-10T21:40:00.127" LastActivityDate="2017-10-10T21:40:00.127" Title="&quot;org.apache.solr.common.SolrException: undefined field 0001-01-01T00&quot; when rebuilding index" Tags="|solr|indexing|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7968" PostTypeId="1" CreationDate="2017-10-11T06:53:19.417" Score="3" ViewCount="249" Body="&lt;p&gt;I am trying to install Sitecore on Azure using marketplace XP1 template also I need to install EXM, in installation wizard I select Sitecore 8.2 update 5 and EXM module, when I try to open content delivery or content management portal I receive  error &quot;The page cannot be displayed because an internal server error has occurred.&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;detailed error :&#xA;HTTP Error 500.0 - Internal Server Error&#xA;The page cannot be displayed because an internal server error has occurred.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most likely causes:&#xA;IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.&#xA;IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.&#xA;IIS was not able to process configuration for the Web site or application.&#xA;The authenticated user does not have permission to use this DLL.&#xA;The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I notice when we provision Sitecore XP1 alone without EXM the CM and CD working fine, can you please help &lt;/p&gt;&#xA;" OwnerUserId="2502" LastActivityDate="2017-12-15T08:04:56.573" Title="Install EXM on Azure" Tags="|azure|exm|paas|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7969" PostTypeId="1" CreationDate="2017-10-11T07:02:22.723" Score="8" ViewCount="1290" Body="&lt;p&gt;We have created a ribbon in Sitecore that have few command buttons and few PowersSell command buttons. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want them to be visible only when an author hits specific items in the Content Editor. So we tried to hide both types of command buttons using the &lt;code&gt;QueryState&lt;/code&gt; method as shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override CommandState QueryState(CommandContext context)&#xA;{&#xA;    Item contextItem = context.Items[0];&#xA;    if (contextItem.TeamplateName==&quot;specific_template&quot;)&#xA;        return CommandState.Enabled;&#xA;    return CommandState.Hidden;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It hides the normal command buttons but not the PowerShell command buttons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So we would like to hide the entire ribbon itself so that none of the commands can appear in the Content Editor menu.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has someone ran into this situation and know how to hide the ribbon or hide the PowerShell command button?&lt;/p&gt;&#xA;" OwnerUserId="2525" LastEditorUserId="1606" LastEditDate="2019-10-13T19:21:35.457" LastActivityDate="2019-10-13T19:21:35.457" Title="How to hide ribbon in Sitecore" Tags="|sitecore-client|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="7970" PostTypeId="2" ParentId="7969" CreationDate="2017-10-11T07:13:34.920" Score="11" Body="&lt;p&gt;You can use Sitecore Contextual Ribbon to do the above task. You will not require to do any code implementation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create the ribbon in Core database at the path &lt;code&gt;/sitecore/content/Applications/Content Editor/Ribbons/Contextual Ribbons&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, from the master database, navigates to the item template where you want the ribbon to appear and search for the &lt;strong&gt;Ribbon&lt;/strong&gt; in the Standard Fields. Select your contextual ribbon from the droptree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uiRhF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uiRhF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ribbon will only appear when the user clicks on an item which is derived from the template you set the ribbon.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-10-11T07:13:34.920" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7971" PostTypeId="1" AcceptedAnswerId="7975" CreationDate="2017-10-11T07:21:51.910" Score="3" ViewCount="2028" Body="&lt;p&gt;This question is about the best/simple way to achieve the website search functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are pages in the site, and each is made up of few components. When the end user searches for a keyword, it should return the list of all pages that have that keyword.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed this &lt;a href=&quot;https://kamsar.net/index.php/2014/05/indexing-subcontent/&quot; rel=&quot;nofollow noreferrer&quot;&gt;example&lt;/a&gt;, which will store all the text field values of every rendering in a page, when indexed. It works but its only for the text fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many of the components in my site have datasources that have treelist fields. So, I also need to search all those selected items for the keyword.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[There are many such treelist fields, each for a different template item]&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Is there a way, where we can know if an item is being used in any page, either as a datasource or as one of the selected item in that datasource's treelist field.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;What if I use the metadata. Metadata is a template in every page which has title and description, but the thing is the content author has to keep updating it. Not sure if this approach is correct.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My research on the search techniques online only gave me articles that talk about how to configure search, the first part. It's good, but it only gives the dump of the indexed content. There is a major second part on how to push that content to UI, which I could never find.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help about the best way to start or go about with this is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2017-10-11T11:10:07.500" LastActivityDate="2017-10-11T11:10:07.500" Title="How to search item content in a rendering with multilist fields" Tags="|content-search|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="7972" PostTypeId="2" ParentId="6998" CreationDate="2017-10-11T07:38:23.253" Score="1" Body="&lt;p&gt;Application_Start was made internal, but you can still use Application_Error (if you want) in a WebForms project. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just make sure that you global.asax overrides the one from Sitecore (Sitecore.Web.Application) otherwise you'll break the site.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-10-11T07:38:23.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7973" PostTypeId="1" AcceptedAnswerId="7978" CreationDate="2017-10-11T08:32:31.297" Score="8" ViewCount="438" Body="&lt;p&gt;I'm using Sitecore 8.2 and EXM 3.4 and I'm not sure when the Subscription Page is used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sXSpy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sXSpy.png&quot; alt=&quot;Subscription control&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not able to find it in the Sitecore docs either... there's no mention of the Subscription Page: &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/34/setting_up_exm/the_manager_root/the_manager_root_settings&quot; rel=&quot;noreferrer&quot;&gt;EXM manager root settings&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know when/where the Subscription Page is used?&lt;/p&gt;&#xA;" OwnerUserId="1153" LastActivityDate="2017-10-11T14:46:56.380" Title="EXM 3.4 - Subscription Page" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7975" PostTypeId="2" ParentId="7971" CreationDate="2017-10-11T10:35:27.047" Score="4" Body="&lt;p&gt;If item selected in the Treelist or in the multilist, it will be mentioned in the Links Database. You can use that for getting a content related to the item. It means that you need to get a related items for each datasource item which you already got using code from example. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For getting related items you need to use the following method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ItemLink[] itemLinks = Sitecore.Globals.LinkDatabase.GetReferences(datasourceItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please, take into account that GetReferences method will return ALL related items like Renderings, Templates and etc. You need to add some filters becouse  you shouldn't process templates and renderings items as it will not contain any relevant content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SubcontentField : IComputedIndexField&#xA;    {&#xA;        public object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;            var sitecoreIndexable = indexable as SitecoreIndexableItem;&#xA;&#xA;            if (sitecoreIndexable == null) return null;&#xA;&#xA;            // find renderings with datasources set&#xA;            var customDataSources = ExtractRenderingDataSourceItems(sitecoreIndexable.Item);&#xA;&#xA;            var relatedItems = customDataSources.SelectMany(GetRelatedItems);&#xA;&#xA;            // extract text from data sources&#xA;            var contentToAdd = customDataSources.SelectMany(GetItemContent).ToList();&#xA;            contentToAdd.AddRange(relatedItems.SelectMany(GetItemContent));&#xA;&#xA;            if (contentToAdd.Count == 0) return null;&#xA;&#xA;            return string.Join(&quot; &quot;, contentToAdd);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Finds all renderings on an item's layout details with valid custom data sources set and returns the data source items.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        protected virtual IEnumerable&amp;lt;Item&amp;gt; ExtractRenderingDataSourceItems(Item baseItem)&#xA;        {&#xA;            string currentLayoutXml = LayoutField.GetFieldValue(baseItem.Fields[FieldIDs.LayoutField]);&#xA;            if (string.IsNullOrEmpty(currentLayoutXml)) yield break;&#xA;&#xA;            LayoutDefinition layout = LayoutDefinition.Parse(currentLayoutXml);&#xA;&#xA;            // loop over devices in the rendering&#xA;            for (int deviceIndex = layout.Devices.Count - 1; deviceIndex &amp;gt;= 0; deviceIndex--)&#xA;            {&#xA;                var device = layout.Devices[deviceIndex] as DeviceDefinition;&#xA;&#xA;                if (device == null) continue;&#xA;&#xA;                // loop over renderings within the device&#xA;                for (int renderingIndex = device.Renderings.Count - 1; renderingIndex &amp;gt;= 0; renderingIndex--)&#xA;                {&#xA;                    var rendering = device.Renderings[renderingIndex] as RenderingDefinition;&#xA;&#xA;                    if (rendering == null) continue;&#xA;&#xA;                    // if the rendering has a custom data source, we resolve the data source item and place its text fields into the content to add&#xA;                    if (!string.IsNullOrWhiteSpace(rendering.Datasource))&#xA;                    {&#xA;                        // DataSourceHelper is a component of Blade&#xA;                        var dataSource = DataSourceHelper.ResolveDataSource(rendering.Datasource, baseItem);&#xA;&#xA;                        if (dataSource != baseItem)&#xA;                        {&#xA;                            yield return dataSource;&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;&#xA;        }&#xA;&#xA;        protected List&amp;lt;Item&amp;gt; GetRelatedItems(Item item)&#xA;        {&#xA;            var result = new List&amp;lt;Item&amp;gt;();&#xA;            ItemLink[] itemLinks = Sitecore.Globals.LinkDatabase.GetReferences(item);&#xA;&#xA;            for (int index = 0; index &amp;lt; itemLinks.Length; index++)&#xA;            {&#xA;                ItemLink itemLink = itemLinks[index];&#xA;&#xA;                Item relatedItem = itemLink.GetTargetItem();&#xA;&#xA;                if (relatedItem != null) //You need to put some conditions here. Something like: relatedItem.Paths.IsContentItem&#xA;                {&#xA;                    result.Add(relatedItem);&#xA;                }&#xA;            }&#xA;&#xA;            return result;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Extracts textual content from an item's fields&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        protected virtual IEnumerable&amp;lt;string&amp;gt; GetItemContent(Item dataSource)&#xA;        {&#xA;            foreach (Field field in dataSource.Fields)&#xA;            {&#xA;                // this check is what Sitecore uses to determine if a field belongs in _content (see LuceneDocumentBuilder.AddField())&#xA;                if (!IndexOperationsHelper.IsTextField(new SitecoreItemDataField(field))) continue;&#xA;&#xA;                string fieldValue = (field.Value ?? string.Empty).StripHtml();&#xA;&#xA;                if (!string.IsNullOrWhiteSpace(fieldValue)) yield return fieldValue;&#xA;            }&#xA;        }&#xA;&#xA;        public string FieldName { get; set; }&#xA;        public string ReturnType { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-10-11T10:35:27.047" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7976" PostTypeId="2" ParentId="7850" CreationDate="2017-10-11T11:41:45.680" Score="5" Body="&lt;p&gt;I decided to add my own lossy PNG optimizer using &lt;a href=&quot;https://pngquant.org/&quot; rel=&quot;noreferrer&quot;&gt;pngquant&lt;/a&gt;. It's relatively straight-forward to do so and makes a big difference to file size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you'd like to use it, you can grab the source from &lt;a href=&quot;https://github.com/sincladk/Dianoga&quot; rel=&quot;noreferrer&quot;&gt;my GitHub fork&lt;/a&gt; or see the specific changes I made in &lt;a href=&quot;https://github.com/kamsar/Dianoga/pull/27&quot; rel=&quot;noreferrer&quot;&gt;the PR to kamsar's source&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Do it yourself&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download the command-line version of pngquant &lt;a href=&quot;https://pngquant.org/&quot; rel=&quot;noreferrer&quot;&gt;from here&lt;/a&gt; (under the Command-line section, you want the &lt;em&gt;Binary for Windows&lt;/em&gt; link).&lt;/li&gt;&#xA;&lt;li&gt;Extract the files from the downloaded zip and add them to a new pngquant folder in the App_Data\Dianoga Tools folder in your solution.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a class with the below implementation for pngquant.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.IO;&#xA;&#xA;namespace MyDianoga.Optimizers.Pipelines.DianogaPng&#xA;{&#xA;    // uses pngquant: https://pngquant.org/&#xA;    public class PngQuantCliOptimizer : CommandLineToolOptimizer&#xA;    {&#xA;        protected override bool OptimizerUsesSeparateOutputFile =&amp;gt; false;&#xA;&#xA;        protected override string CreateToolArguments(string tempFilePath, string tempOutputPath)&#xA;        {&#xA;            return $&quot;--force --ext .png \&quot;{tempFilePath}\&quot;&quot;;&#xA;        }&#xA;&#xA;        protected override string GetTempFilePath()&#xA;        {&#xA;            // must have a PNG extension and the default gives us .tmp&#xA;            return Path.ChangeExtension(base.GetTempFilePath(), &quot;.png&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the below to App_Config\Include\Dianoga\Dianoga.Png.config inside the &lt;code&gt;dianogaOptimizePng&lt;/code&gt; element, before the processor of type &lt;code&gt;&quot;Dianoga.Optimizers.Pipelines.DianogaPng.PngOptimizer, Dianoga&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;MyDianoga.Optimizers.Pipelines.DianogaPng.PngQuantCliOptimizer, Dianoga&quot;&amp;gt;&#xA;  &amp;lt;ExePath&amp;gt;/App_Data/Dianoga Tools/pngquant/pngquant.exe&amp;lt;/ExePath&amp;gt;&#xA;  &amp;lt;AdditionalToolArguments&amp;gt;&amp;lt;/AdditionalToolArguments&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2017-10-11T11:41:45.680" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7977" PostTypeId="2" ParentId="7397" CreationDate="2017-10-11T12:26:34.470" Score="3" Body="&lt;p&gt;Making sure the following configs were enabled on the processing instance made it work correctly:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;App_Config\Include\ExperienceAnalytics\Sitecore.ExperienceAnalytics.Client.config&lt;/li&gt;&#xA;&lt;li&gt;App_Config\Include\Sitecore.Analytics.Tracking.config&lt;/li&gt;&#xA;&lt;li&gt;App_Config\Include\Sitecore.Analytics.Reporting.config&lt;/li&gt;&#xA;&lt;li&gt;App_Config\Include\Sitecore.Analytics.Processing.config&lt;/li&gt;&#xA;&lt;li&gt;App_Config\Include\Sitecore.MarketingProcessingRole.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="681" LastActivityDate="2017-10-11T12:26:34.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7978" PostTypeId="2" ParentId="7973" CreationDate="2017-10-11T12:43:59.147" Score="7" Body="&lt;p&gt;Sitecore EXM module support the Subscription functionality out of the box. There are 4 standard emails:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m7PVQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m7PVQ.png&quot; alt=&quot;EXM Subscription&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Subscription Confirmation&lt;/strong&gt; - will be sent after submitting Newsletter Subscription form and will contain a confirmation link with key. After successfull cinfirmation, you will be redirected to the page defined in the EXM Manager Root as a Final Confirmation Page field;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Subscription Notification&lt;/strong&gt; - will be sent after confirming your subscription (by clicking on the link in the email which described above);&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Unsubscribe From All Notification&lt;/strong&gt; - will be sent after unsubscribing from all emails (contact will be put into Global Opt-out List)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Unsubscribe Notification&lt;/strong&gt; - will be sent after unsubscribing from current email campaign. (contact will be removed from current subscription contact list).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When unidentified visitor try to open confirmation link, or tried to unsubscribe (by clicking the unsubscribe link in the email), he will be redirected to the &lt;strong&gt;Subscription Page&lt;/strong&gt; which defined in the EXM Manager Root as a Subscription Page field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can use the following code for subscribing user:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var recipientId = new XdbContactId(Tracker.Current.Contact.ContactId);&#xA;var messageId = new Guid(“6e4ad96c-1856-4bb0-95e2-c35d2e2d0734”);&#xA;var isSubscribed = ClientApi.TrySubscribe(recipientId, messageId, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find more about that there: &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/subscription_management/the_exm_client_api#_TrySubscribe&quot; rel=&quot;noreferrer&quot;&gt;The Email Experience Manager Client API&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-10-11T14:46:56.380" LastActivityDate="2017-10-11T14:46:56.380" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7980" PostTypeId="2" ParentId="7969" CreationDate="2017-10-11T14:46:02.583" Score="5" Body="&lt;p&gt;You did not specifically call this out, but I thought I would point it out to you in case it simplifies what you are trying to achieve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you decide to use an existing ribbon, such as the &lt;em&gt;Developer&lt;/em&gt; ribbon, you can rely on the rules for the script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read more about it &lt;a href=&quot;https://doc.sitecorepowershell.com/content-editor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following script displays whenever there is an item with one of two fields empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/81nuL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/81nuL.png&quot; alt=&quot;Example&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;Show Rule&lt;/em&gt; determines when the button should appear. The &lt;em&gt;Enable Rule&lt;/em&gt; determines when the button should be enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5jvVW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5jvVW.png&quot; alt=&quot;Button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If the ribbon is controlled by SPE, then when all buttons are hidden then so will the ribbon.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-10-13T12:22:13.117" LastActivityDate="2017-10-13T12:22:13.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7981" PostTypeId="1" CreationDate="2017-10-11T15:42:14.510" Score="1" ViewCount="844" Body="&lt;p&gt;We are using  Solr 5.4 and Sitecore 8.2 we plan to do daily/Weekly Rebuild of Indexes for Web Environment through Sitecore Job or  Tasks. Can some body  suggest me what is best way to do this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note : We are already using PublishOnSync strategy &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers&lt;/p&gt;&#xA;" OwnerUserId="1533" LastActivityDate="2017-10-11T20:36:26.333" Title="Sitecore Web Index Rebuild" Tags="|solr|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="7982" PostTypeId="2" ParentId="7981" CreationDate="2017-10-11T20:26:03.890" Score="6" Body="&lt;p&gt;I did something similar to this not long ago to rebuild the sitemaps of 800+ sites. I used the Sitecore scheduled tasks.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Create a task&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Sitemaps.Tasks&#xA;{&#xA;    class GenerateSitemaps&#xA;    {&#xA;        public void Execute(&#xA;          Sitecore.Data.Items.Item[] items,&#xA;          Sitecore.Tasks.CommandItem command,&#xA;          Sitecore.Tasks.ScheduleItem schedule)&#xA;        {&#xA;            // This is where you all your indexing code&#xA;            var sitemapService = new SitemapService();&#xA;            sitemapService.RebuildAllSitemaps();&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Create a command&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Go to the path &lt;code&gt;/sitecore/system/Tasks/Commands/&lt;/code&gt; and create a new command item. In type enter the class you created above. i.e. &lt;code&gt;Sitecore.Sitemaps.Tasks.GenerateSitemaps, Sitecore.Sitemaps&lt;/code&gt;. In method enter &lt;code&gt;Execute&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Create a schedule&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Go to the item &lt;code&gt;/sitecore/system/Tasks/Schedules/&lt;/code&gt; and create a new schedule. For the command, select the command item you created above. The schedule field is a little hard to understand, but it makes sense in the end. The text below I borrowed from &lt;a href=&quot;https://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&quot; rel=&quot;noreferrer&quot;&gt;this&lt;/a&gt; page.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Schedule field can be a bit tricky. You’ll notice in my example&#xA;  above that I have several piped values. They are defined as follows:&lt;/p&gt;&#xA;  &#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;&lt;p&gt;The start date in yyyyMMdd format.&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;The end date in yyyyMMdd format.&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;The days of the week that the task should be run. Each day is assigned a value: 1 = Sunday, 2 = Monday, 4 = Tuesday, 8 = Wednesday,&#xA;  16 = Thursday, 32 = Friday, and 64 = Saturday. For example to run a&#xA;  task Monday through Friday you’d enter 62 (2 + 4 + 8 + 16 + 32). I&#xA;  have my task set up to run every day (1 + 2 + 4 + 8 + 16 + 32 + 64 =&#xA;  127).&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;The minimum interval the task is to be run in HH:mm:ss format. The example above is set to run once every 24 hours.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Thats it. Now on a schedule basis your indexing code will run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need the code to rebuild an index, its pretty straight forward.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IndexCustodian.FullRebuild(ContentSearchManager.GetIndex(&quot;[INDEX NAME]&quot;), true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-10-11T20:36:26.333" LastActivityDate="2017-10-11T20:36:26.333" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7983" PostTypeId="1" AcceptedAnswerId="8338" CreationDate="2017-10-11T21:11:05.427" Score="2" ViewCount="1788" Body="&lt;p&gt;I have done something to my environment - In the experience editor, &quot;Editing&quot; and &quot;Designing&quot; check boxes are greyed out, so I cant actually edit anything. Is ExperienceEditor.Enabled a setting somewhere?&lt;a href=&quot;https://i.stack.imgur.com/G0xks.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G0xks.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore 8.2 Update 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the sites section of my showconfig:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;    &amp;lt;site name=&quot;shell&quot; virtualFolder=&quot;/sitecore/shell&quot; physicalFolder=&quot;/sitecore/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/login&quot; content=&quot;master&quot; contentStartItem=&quot;/Home&quot; enableWorkflow=&quot;true&quot; enableTracking=&quot;false&quot; analyticsDefinitions=&quot;content&quot; xmlControlPage=&quot;/sitecore/shell/default.aspx&quot; browserTitle=&quot;Sitecore&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;15MB&quot; viewStateCacheSize=&quot;1MB&quot; xslCacheSize=&quot;25MB&quot; disableBrowserCaching=&quot;true&quot; contentLanguage=&quot;en&quot; patch:source=&quot;Delphic.LanguageFallback.config&quot; enableFieldLanguageFallback=&quot;false&quot; itemwebapi.mode=&quot;StandardSecurity&quot; itemwebapi.access=&quot;ReadWrite&quot; itemwebapi.allowanonymousaccess=&quot;false&quot; enableItemLanguageFallback=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;login&quot; virtualFolder=&quot;/sitecore/login&quot; physicalFolder=&quot;/sitecore/login&quot; enableTracking=&quot;false&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; disableXmlControls=&quot;true&quot; language=&quot;en&quot; patch:source=&quot;Sitecore.DefaultLanguage.config&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;admin&quot; virtualFolder=&quot;/sitecore/admin&quot; physicalFolder=&quot;/sitecore/admin&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/admin/login.aspx&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;service&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/sitecore/service&quot; physicalFolder=&quot;/sitecore/service&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;modules_shell&quot; virtualFolder=&quot;/sitecore modules/shell&quot; physicalFolder=&quot;/sitecore modules/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; content=&quot;master&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;modules_website&quot; virtualFolder=&quot;/sitecore modules/web&quot; physicalFolder=&quot;/sitecore modules/web&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;MySiteDotCom&quot; hostName=&quot;local.mysite.com&quot; errorpageid=&quot;26B66A89-8A83-4CD5-80C9-0200F0C7754F&quot; sitesettingsid=&quot;FD867206-CB41-4A4E-8C61-C965BD74F5E4&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/MySite DotCom/home&quot; domain=&quot;default&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; patch:source=&quot;Delphic.LanguageFallback.config&quot; database=&quot;master&quot; filterItems=&quot;true&quot; enableWorkflow=&quot;true&quot; enableItemLanguageFallback=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;MySiteDotNet&quot; hostName=&quot;local.mysite.net&quot; errorpageid=&quot;9CAA474A-F4F0-4462-A3F3-038B6B3F671D&quot; sitesettingsid=&quot;CEC6BC86-5A07-4020-84B0-0A7F2D936664&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/MySite Prepaid DotNet/home&quot; domain=&quot;default&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; patch:source=&quot;Delphic.LanguageFallback.config&quot; database=&quot;master&quot; filterItems=&quot;true&quot; enableWorkflow=&quot;true&quot; enableItemLanguageFallback=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;!--&#xA;     ITEM WEB API SETTINGS FOR A SITE&#xA;       Supported attributes (first is default):&#xA;         itemwebapi.mode: [Off|StandardSecurity|AdvancedSecurity]&#xA;           If set to Off, Item Web API is turned off.&#xA;           If set to StandardSecurity, Item Web API is turned on. Default Sitecore security model is used.&#xA;           If set to AdvancedSecurity, Item Web API is turned on. Default Sitecore security model is extended with a requirement to explicitely set the 'remote:fieldread' access right for content fields.&#xA;         itemwebapi.access: [ReadOnly|ReadWrite]&#xA;           If set to ReadOnly, then only READ operation is allowed.&#xA;           If set to ReadWrite, then CREATE, READ, UPDATE, and DELETE operations are allowed.&#xA;         itemwebapi.allowanonymousaccess: [false|true].&#xA;           Defines if access is allowed for non-authenticated user.&#xA;&#xA;    --&amp;gt;&#xA;    &amp;lt;site name=&quot;website&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; language=&quot;en&quot; patch:source=&quot;Sitecore.LanguageFallback.config&quot; itemwebapi.mode=&quot;Off&quot; itemwebapi.access=&quot;ReadOnly&quot; itemwebapi.allowanonymousaccess=&quot;false&quot; enableItemLanguageFallback=&quot;false&quot; enableFieldLanguageFallback=&quot;false&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;scheduler&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;system&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;    &amp;lt;site name=&quot;publisher&quot; domain=&quot;sitecore&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2017-10-12T17:27:06.493" LastActivityDate="2021-08-09T07:13:43.273" Title="Experience Editor Editing is disabled" Tags="|experience-editor|" AnswerCount="2" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="7984" PostTypeId="2" ParentId="872" CreationDate="2017-10-11T23:00:43.807" Score="1" Body="&lt;p&gt;This is one more approach apart from correct answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only way to exclude single item from tds publish would be to remove the item from .scproj file(as we can not exclude the item in Visual studio)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;navigate to the .scproj(TDS project solution) file and open it with the notepad or any editor and remove the Item Node in .scproj and reload the tds project and it will be gone from the project folder.Now you can deploy the sitecore project.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2017-10-11T23:00:43.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7985" PostTypeId="1" CreationDate="2017-10-12T04:40:10.967" Score="4" ViewCount="1220" Body="&lt;p&gt;Install-Package Glass.Mapper.Sc -Version 4.4.0.199&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to install glass.mapper.sc (4.4.0.199) using the command above but I encounter an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Jat8r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jat8r.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RlqCW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RlqCW.png&quot; alt=&quot;Glass Mapper SC File&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't done anything yet to the files. This is the default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also noticed that the reference being added is only castle.core and glass.mapper while in the previous version specifically the version 4.3.4.197 the added references are castle.core, glass.mapper, &lt;strong&gt;glass.mapper.sc and glass.mapper.sc.mvc.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the issue is caused by the missing references &lt;strong&gt;glass.mapper.sc and glass.mapper.sc.mvc.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how to make it work? Specially how to migrate from version 4.3.4.197 to version 4.4.0.199.&lt;/p&gt;&#xA;" OwnerUserId="2339" LastEditorUserId="2339" LastEditDate="2017-10-12T05:02:07.317" LastActivityDate="2017-10-13T19:01:26.013" Title="Error when installing glass.mapper using nuget package" Tags="|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7986" PostTypeId="1" CreationDate="2017-10-12T04:49:59.083" Score="0" ViewCount="956" Body="&lt;p&gt;I am currently enabling xDB on an Sitecore 8.2.5 install that has recently been upgraded from an 8 initial release. It has never had xDB enabled. I'm getting some issues where data appears to be added to the mongoDB, but when I access the any of the reports I'm getting 404 errors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;somesite/sitecore/api/ao/aggregates/all/786FBA3A4573445EA74504E3CA5E48C1/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;dateFrom=12-07-2017&amp;amp;dateTo=12-10-2017&amp;amp;keyGrouping=collapsed&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Log files don't to show anything out of the normal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pages where I see this are the custom analytics graph on the launchpad as well as in the experience analytics dashboard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't really understand why this is happening. The xdb remote processing configs are disabled, the route exists in the routes table:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore/api/ao/aggregates/{site}/{segments}/{keys} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone seen this error before?&#xA;Thanks in advance!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further on investigation it appears that there isnt any data in the sitecore analytics Facts or Dimensions tables. The following error is in log:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EyXH1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EyXH1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also started from a clean set of MongoDB's and SQL analytics db.&lt;/p&gt;&#xA;" OwnerUserId="2300" LastEditorUserId="2300" LastEditDate="2017-10-12T07:35:59.137" LastActivityDate="2017-10-13T03:32:29.147" Title="All reporting api services returning 404 response" Tags="|xdb|experience-analytics|mongodb|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7987" PostTypeId="1" AcceptedAnswerId="7988" CreationDate="2017-10-12T07:46:45.290" Score="3" ViewCount="535" Body="&lt;p&gt;I created a WFFM in my sitecore instance and then set save action &quot;Create User&quot;. The scenario is that a layout page will be displayed if the action succeeds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TGWaR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TGWaR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the form by mode &quot;preview&quot;, after the submission, this error &quot;**Most likely causes:&#xA;The resource you are looking for (or one of its dependencies) may have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.&#xA;**&quot; has been launched. I can not detect something wrong I did manually configure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/23CEw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/23CEw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P/S: sorry to post only the photos, because I only want to tell you all of my steps I did&lt;/p&gt;&#xA;" OwnerUserId="2516" LastActivityDate="2017-10-12T10:47:35.397" Title="How to redirect to success page by &quot;save action&quot; from WFFM?" Tags="|wffm|sitecore-client|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="7988" PostTypeId="2" ParentId="7987" CreationDate="2017-10-12T07:52:20.760" Score="3" Body="&lt;p&gt;Your problem is: you redirect to a Layout not to a Page after submit. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On &quot;Success Page&quot; field you need to have a page item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on next &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/the_submit_button/add_a_success_submit_action_to_a_form&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-12T07:52:20.760" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7989" PostTypeId="2" ParentId="7148" CreationDate="2017-10-12T09:01:33.017" Score="1" Body="&lt;p&gt;Just to add another angle for this. The future of Sitecore is .NET Core, which doesn't support WebForms. While the full migration to .NET Core is a number of major versions (and thus years) away, you're essentially condemning yourself to a future refactor or even rebuild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said that, pragmatically speaking the trade off of efficiency might be worth it for your particular usecase.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The alternatives seems to be MVC, AngularJS and React&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;MVC is the only actual alternative. AngularJS and React are both client-side (browser) technologies and could be used with either MVC or WebForms.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2017-10-12T09:01:33.017" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7990" PostTypeId="1" AcceptedAnswerId="8022" CreationDate="2017-10-12T09:49:21.503" Score="4" ViewCount="198" Body="&lt;p&gt;Our site currently has a Search feature, similar to that in Habitat:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Feature&#xA;    Search&#xA;        Controllers&#xA;        Scripts&#xA;        Views&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We're launching several new branded versions of our site, where Search looks and works differently for each brand. Do I create a new feature for each brand?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Feature&#xA;    Search&#xA;        Controllers&#xA;        Scripts&#xA;        Views&#xA;    CarSearch&#xA;        Controllers&#xA;        Scripts&#xA;        Views&#xA;    AeroplaneSearch&#xA;        Controllers&#xA;        Scripts&#xA;        Views&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is this a good idea? Is having brand specific naming like 'Car' and&#xA;'Aeroplane' going about things the wrong way? &lt;/li&gt;&#xA;&lt;li&gt;If &lt;code&gt;AeroplaneSearch&lt;/code&gt; has&#xA;different &lt;code&gt;Scripts&lt;/code&gt; and &lt;code&gt;Views&lt;/code&gt; but uses exactly the same controllers as&#xA;the original &lt;code&gt;Search&lt;/code&gt; feature, should I duplicate the controller code, or perhaps push the controllers down to a Foundation layer project?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1106" LastEditorUserId="1106" LastEditDate="2017-10-12T09:57:09.473" LastActivityDate="2017-10-14T01:16:45.697" Title="Brand specific features in Helix architecture" Tags="|helix|solution-architecture|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7991" PostTypeId="2" ParentId="7987" CreationDate="2017-10-12T10:47:35.397" Score="1" Body="&lt;p&gt;By looking at the screenshot you are trying to redirect to a layout item, which generally do not have Presentation details.&#xA;Please click on on the &quot;Insert Link&quot; to pick an internal page or &quot;Insert External Link&quot; to redirect to a page outside your website.&#xA;If you want the form to redirect to the layout you are trying to pick, then create an item under Content and assign that layout to it using Presentation-&gt; Details.&lt;/p&gt;&#xA;" OwnerUserId="2551" LastActivityDate="2017-10-12T10:47:35.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7992" PostTypeId="2" ParentId="7990" CreationDate="2017-10-12T11:05:37.060" Score="1" Body="&lt;p&gt;Features in Helix are set of components serving a similar functionality or range of functionality.&#xA;&quot;Search&quot; can be a folder inside Feature but all functionality related to search then should stay within it. &#xA;You can have multiple actions in one controller returning different views.&#xA;If you look at Habitat, it has one &quot;Search Contoller&quot; with various action results like: &quot;Global Search&quot;, &quot;SearchResults&quot; etc.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ecOj8.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ecOj8.jpg&quot; alt=&quot;Below image shows various Views with there respective Actions Results in Search Controller&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2551" LastActivityDate="2017-10-12T11:05:37.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7994" PostTypeId="1" AcceptedAnswerId="7995" CreationDate="2017-10-12T12:43:53.717" Score="3" ViewCount="279" Body="&lt;p&gt;I am extending the Sitecore SXA SiteMetadata module to add some new functionality. My new module is called &lt;code&gt;Sitecore.XA.Feature.SiteMetadata.Custom&lt;/code&gt;. To me the logical place to put the templates would be &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/templates/Feature/Experience Accelerator/SiteMetadataCustom&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but I think I remember hearing that you should not modify or add templates into existing SXA folders. Is there a better place to put this?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-10-12T13:05:20.443" Title="SXA Where to place custom module templates" Tags="|sxa|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7995" PostTypeId="2" ParentId="7994" CreationDate="2017-10-12T13:05:20.443" Score="4" Body="&lt;p&gt;If you will change any of SXA it will be overridden with next installation of SXA. So yes, you should not modify any of SXA items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to create your custom extensions then you should create folder next to &lt;em&gt;Experience Accelerator&lt;/em&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LmqxU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LmqxU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, your template can inherit form SXA template.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-10-12T13:05:20.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7997" PostTypeId="1" AcceptedAnswerId="7999" CreationDate="2017-10-12T14:12:53.320" Score="7" ViewCount="5600" Body="&lt;p&gt;I want to export all fields of all items to excel for all items under a node or all items based on a specific template, I don't mind which. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had a look at the answer to this question on SO: &#xA;&lt;a href=&quot;https://stackoverflow.com/questions/6610423/export-list-of-sitecore-items-as-excel-or-other-formats&quot;&gt;https://stackoverflow.com/questions/6610423/export-list-of-sitecore-items-as-excel-or-other-formats&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/A/Advanced_System_Reporter.aspx&quot; rel=&quot;noreferrer&quot;&gt;Advanced System Reporter&lt;/a&gt; module from the question above seems really good, although the default viewer only exports general item information and no fields specific to to the template. Is it possible to export all items and all fields with this module natively or do I need to create a custom viewer for this? &lt;/p&gt;&#xA;" OwnerUserId="367" LastEditorUserId="367" LastEditDate="2017-10-12T21:25:42.557" LastActivityDate="2017-10-12T21:25:42.557" Title="Export all fields of items to excel" Tags="|module|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="7998" PostTypeId="2" ParentId="7997" CreationDate="2017-10-12T15:42:45.660" Score="5" Body="&lt;p&gt;The ASR module has been great and inspired other modules. You may find that Sitecore PowerShell Extensions is an excellent alternative since it allows you to virtually script any report you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check out the documentation &lt;a href=&quot;https://doc.sitecorepowershell.com/authoring-reports.html&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following determines all the fields that belong to the item, &lt;a href=&quot;https://gist.github.com/michaellwest/f8d47e8662c51dc7d2ea30e2988fd902&quot; rel=&quot;noreferrer&quot;&gt;excluding the Standard Fields&lt;/a&gt;. The final report can be exported from the top ribbon.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Create a list of field names on the Standard Template. This will help us filter out extraneous fields.&#xA;$standardTemplate = Get-Item -Path &quot;master:&quot; -ID &quot;{1930BBEB-7805-471A-A3BE-4858AC7CF696}&quot;&#xA;$standardTemplateTemplateItem = [Sitecore.Data.Items.TemplateItem]$standardTemplate&#xA;$standardFields = $standardTemplateTemplateItem.OwnFields + $standardTemplateTemplateItem.Fields | Select-Object -ExpandProperty key -Unique&#xA;&#xA;# Change the Id to something other than the Sample Item template.&#xA;$itemTemplate = Get-Item -Path &quot;master:&quot; -ID &quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&quot;&#xA;$itemTemplateTemplateItem = [Sitecore.Data.Items.TemplateItem]$itemTemplate&#xA;$itemTemplateFields = $itemTemplateTemplateItem.OwnFields + $itemTemplateTemplateItem.Fields | Select-Object -ExpandProperty key -Unique&#xA;&#xA;$filterFields = $itemTemplateFields | Where-Object { $standardFields -notcontains $_ } | Sort-Object&#xA;&#xA;$path = &quot;master:{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;&#xA;@(Get-Item -Path $path) + @(Get-ChildItem -Path $path -Recurse) | Show-ListView -prop $filterfields&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zgl0H.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zgl0H.png&quot; alt=&quot;Report Results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-10-12T15:42:45.660" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="7999" PostTypeId="2" ParentId="7997" CreationDate="2017-10-12T16:02:16.063" Score="3" Body="&lt;p&gt;I found a way of being able to do this natively, without writing any code, using Advanced System Reporter. After having a look at the &lt;a href=&quot;https://github.com/Sitecore/AdvancedSystemReporter/blob/d252a1f62382deb11792daff49119861e4d50b21/Reports/Viewers/ItemViewer.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;code on GitHub&lt;/a&gt; I realised I could copy the &lt;em&gt;ItemViewer&lt;/em&gt; viewer then edit the raw value of the viewer field adding my custom field to the list of standard fields:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Columns&amp;gt;&#xA;    &amp;lt;Column name=&quot;name&quot;&amp;gt;Name&amp;lt;/Column&amp;gt;&#xA;    &amp;lt;Column name=&quot;owner&quot;&amp;gt;Owner&amp;lt;/Column&amp;gt;&#xA;    &amp;lt;Column name=&quot;createdby&quot;&amp;gt;Created By&amp;lt;/Column&amp;gt;&#xA;    &amp;lt;Column name=&quot;created&quot;&amp;gt;Created&amp;lt;/Column&amp;gt;&#xA;    &amp;lt;Column name=&quot;updatedby&quot;&amp;gt;Updated By&amp;lt;/Column&amp;gt;&#xA;    &amp;lt;Column name=&quot;updated&quot;&amp;gt;Updated&amp;lt;/Column&amp;gt;&#xA;    &amp;lt;Column name=&quot;path&quot;&amp;gt;Path&amp;lt;/Column&amp;gt;&#xA;    &amp;lt;Column name=&quot;Custom Field&quot;&amp;gt;Custom Field&amp;lt;/Column&amp;gt;&#xA;&amp;lt;/Columns&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It was necessary to edit the raw value as the Columns type is populated from code.&lt;/p&gt;&#xA;" OwnerUserId="367" LastActivityDate="2017-10-12T16:02:16.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8000" PostTypeId="2" ParentId="7905" CreationDate="2017-10-12T19:06:41.950" Score="1" Body="&lt;p&gt;I have been doing a bit of reverse engineering with dotPeek tool, and deduced that the ShareSessionStateManger is designed to be 1 minute longer than a private session state timeout which is defined in the web config. Either way  the shared session state store is not designed to persist the contact data indefinitely.&lt;br&gt;&#xA;Per further research, the contact data must make it back into the Analytics database. That's when I validated that Contact is not being written back into the Analytics Collection.  The default Sitecore configuration actually uses a stub contact repository class which prevents the persistence of analytics data.  To enable that, we must deploy the configuration in &lt;em&gt;Sitecore.Analytics.Tracking.Database.config&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;   &#xA;   &amp;lt;commitSession&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.CheckPreconditions, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.UpdateGeoIpData, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.EnsureClassification, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.UpdateContactBehaviorProfiles, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.Robots, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.IgnoreVisitsWithoutPages, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.UpdateContactSaveMode, Sitecore.Analytics&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.SubmitSession, Sitecore.Analytics&quot; &amp;gt;&#xA;      &amp;lt;SessionContextManager ref=&quot;tracking/sessionContextManager&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.ProcessSubscriptions, Sitecore.Analytics&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.ReleaseSharedSession, Sitecore.Analytics&quot; runIfAborted=&quot;true&quot;/&amp;gt;&#xA;  &amp;lt;/commitSession&amp;gt;&#xA;&#xA;  &amp;lt;postSessionEnd&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.PostSessionEnd.CommitSession, Sitecore.Analytics&quot; /&amp;gt;&#xA;  &amp;lt;/postSessionEnd&amp;gt;&#xA;&#xA;  &amp;lt;submitSessionContext&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.SaveDevice, Sitecore.Analytics&quot; patch:before=&quot;*&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.SaveClassificationsMap, Sitecore.Analytics&quot; patch:after=&quot;*[1]&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.SaveVisit, Sitecore.Analytics&quot; patch:after=&quot;*[2]&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.RenumberInteractions, Sitecore.Analytics&quot; patch:after=&quot;processor[@type='Sitecore.Analytics.Pipelines.SubmitSessionContext.SaveVisit, Sitecore.Analytics']&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.SubmitSessionContext.UpdateKeyBehaviorCache, Sitecore.Analytics&quot; patch:after=&quot;processor[@type='Sitecore.Analytics.Pipelines.SubmitSessionContext.RenumberVisitIndexes, Sitecore.Analytics']&quot; &amp;gt;&#xA;      &amp;lt;ContactManager ref=&quot;tracking/contactManager&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/submitSessionContext&amp;gt;&#xA;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&#xA;&amp;lt;submitQueue&amp;gt;&#xA;  &amp;lt;backgroundService type=&quot;Sitecore.Analytics.SubmitQueueService, Sitecore.Analytics&quot;&amp;gt;&#xA;    &amp;lt;!-- Service wakeup interval in seconds. --&amp;gt;&#xA;    &amp;lt;Interval&amp;gt;60&amp;lt;/Interval&amp;gt;&#xA;  &amp;lt;/backgroundService&amp;gt;&#xA;&amp;lt;/submitQueue&amp;gt;&#xA;&#xA; &amp;lt;tracking&amp;gt;&#xA;   &amp;lt;contactManager type=&quot;Sitecore.Analytics.Tracking.ContactManager, Sitecore.Analytics&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;sharedSessionStateManager&quot; ref=&quot;tracking/sharedSessionState/manager&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;contactRepository&quot;&amp;gt;&#xA;      &amp;lt;patch:delete /&amp;gt;&#xA;    &amp;lt;/param&amp;gt;&#xA;   &amp;lt;/contactManager&amp;gt;&#xA;  &amp;lt;/tracking&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1839" LastActivityDate="2017-10-12T19:06:41.950" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8001" PostTypeId="2" ParentId="7986" CreationDate="2017-10-13T03:32:29.147" Score="1" Body="&lt;p&gt;It is likely possible that following SqlMappingEntity has been declared more then once.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;SqlMappingEntity type=&quot;Sitecore.Analytics.Aggregation.SqlMappingEntity, Sitecore.Analytics.Sql&quot;&amp;gt;&#xA;    &amp;lt;Table&amp;gt;Fact_FormStatisticsByContact&amp;lt;/Table&amp;gt;&#xA;    &amp;lt;Routine&amp;gt;Add_FormStatisticsByContact&amp;lt;/Routine&amp;gt;&#xA;&amp;lt;/SqlMappingEntity&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Likely reason: &lt;a href=&quot;https://kb.sitecore.net/articles/282795&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/282795&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remove all duplicate SqlMappingEntity elements from your configs and see if this helps.&lt;/p&gt;&#xA;" OwnerUserId="328" LastActivityDate="2017-10-13T03:32:29.147" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8004" PostTypeId="2" ParentId="7956" CreationDate="2017-10-13T08:09:17.137" Score="2" Body="&lt;p&gt;SOLR documentation &lt;a href=&quot;https://lucene.apache.org/solr/guide/7_0/defining-core-properties.html#defining-core-properties&quot; rel=&quot;nofollow noreferrer&quot;&gt;is not explicit&lt;/a&gt; about casing of index and collection names (however all examples specify core names in lowercase). There is a somewhat related &lt;a href=&quot;https://issues.apache.org/jira/browse/SOLR-6598&quot; rel=&quot;nofollow noreferrer&quot;&gt;issue&lt;/a&gt; about case sensitivity of SolrCloud's collection name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I were you, I would stick to lowercase Solr core names, but feel free to re-post the question in SO with Solr tag or contact &lt;a href=&quot;http://lucene.472066.n3.nabble.com/Solr-User-f472068.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr's mailing list&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-10-13T08:09:17.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8005" PostTypeId="5" CreationDate="2017-10-13T09:28:44.270" Score="0" Body="&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Docker_(software)&quot; rel=&quot;nofollow noreferrer&quot;&gt;Docker containers&lt;/a&gt; are a lightweight approach to virtualisation. Rather than running a full Operating System inside each VM, docker shares the OS between many containers which contain only the code you want to run on top of the OS.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:21.397" LastActivityDate="2017-10-13T10:17:21.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8006" PostTypeId="4" CreationDate="2017-10-13T09:28:44.270" Score="0" Body="Questions relating to the use of Docker Containers to run instances of Sitecore." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:15.573" LastActivityDate="2017-10-13T10:17:15.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8007" PostTypeId="5" CreationDate="2017-10-13T09:35:34.750" Score="0" Body="&lt;p&gt;Microsoft's Azure &lt;a href=&quot;https://en.wikipedia.org/wiki/Platform_as_a_service&quot; rel=&quot;nofollow noreferrer&quot;&gt;PaaS infrastructure&lt;/a&gt; abstracts away the underlying servers needed to run your code, and instead gives you &quot;a website&quot; or &quot;a database&quot; to configure and use. This makes it easier for the underlying cloud infrastructure to change the scale of a deployment as load requires, since it can automatically add and remove physical servers for your virtual site. It also reduces the management overhead to run your site, as you do not need to concern yourself with Operating System level details such as security patches.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:34.233" LastActivityDate="2017-10-13T10:17:34.233" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8008" PostTypeId="4" CreationDate="2017-10-13T09:35:34.750" Score="0" Body="Questions relating to using the Platform-as-a-Service deployment model for Sitecore." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:28.823" LastActivityDate="2017-10-13T10:17:28.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8009" PostTypeId="1" CreationDate="2017-10-13T09:35:38.960" Score="18" ViewCount="674" Body="&lt;p&gt;I have a Sitecore 8.1 multisite environment and when I scan for broken links all items that are using tokens are falsely reported as having broken links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A datasource of an item is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$site/Components/Global/Header&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$site&lt;/code&gt; resolves to the site the user is on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to prevent these from showing in the broken links report?&lt;/p&gt;&#xA;" OwnerUserId="2133" LastEditorUserId="1049" LastEditDate="2017-12-18T16:08:11.587" LastActivityDate="2018-09-26T10:51:52.320" Title="Broken Links when using Tokens" Tags="|sitecore-client|habitat|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8010" PostTypeId="5" CreationDate="2017-10-13T09:42:55.470" Score="0" Body="&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Xamarin&quot; rel=&quot;nofollow noreferrer&quot;&gt;Xamarin&lt;/a&gt; provides a framework to write C# and XAML code which can be run on Android, iOS and Windows devices. This makes it a convenient way to build mobile UIs that makes use of data from Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:39.813" LastActivityDate="2017-10-13T10:17:39.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8011" PostTypeId="4" CreationDate="2017-10-13T09:42:55.470" Score="0" Body="Questions about how Sitecore can be used with the Xamarin tools for cross-platform user interfaces." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:08.837" LastActivityDate="2017-10-13T10:17:08.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8012" PostTypeId="5" CreationDate="2017-10-13T09:49:38.430" Score="0" Body="&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Taxonomy_(general)&quot; rel=&quot;nofollow noreferrer&quot;&gt;A Taxonomy&lt;/a&gt; is a set of rules and structures for how some information is classified. In Sitecore, this generally relates to the content tree structure the information has, and the metadata fields attached to each item.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:42.513" LastActivityDate="2017-10-13T10:17:42.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8013" PostTypeId="4" CreationDate="2017-10-13T09:49:38.430" Score="0" Body="Questions relating how data can be categorised and classifed in Sitecore" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:45.500" LastActivityDate="2017-10-13T10:17:45.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8014" PostTypeId="5" CreationDate="2017-10-13T09:52:32.483" Score="0" Body="&lt;p&gt;&lt;a href=&quot;https://nssm.cc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;NSSM&lt;/a&gt; is a tool for running any task as a Windows Service. It is commonly used as a simple way to run &lt;a href=&quot;http://lucene.apache.org/solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr&lt;/a&gt; services for Sitecore search as a background service.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:25.627" LastActivityDate="2017-10-13T10:17:25.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8015" PostTypeId="4" CreationDate="2017-10-13T09:52:32.483" Score="0" Body="Questions relating to using the Non-Sucking Service Manager (NSSM) in Sitecore projects." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-13T10:17:37.157" LastActivityDate="2017-10-13T10:17:37.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8016" PostTypeId="1" CreationDate="2017-10-13T10:32:47.103" Score="1" ViewCount="403" Body="&lt;p&gt;I am currently facing intermittent null reference error related to content testing pipeline. When I refresh the page Sitecore doesn't throw any error.&#xA;After sometime when I click on any content item, I'm facing the below issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TCH1p.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TCH1p.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OMQS4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OMQS4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 1&lt;/strong&gt; :- Stack trace&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;8596 06:14:53 ERROR Application error.&#xA;  Exception: System.Web.HttpUnhandledException&#xA;  Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;  Source: System.Web&#xA;     at System.Web.UI.Page.HandleError(Exception e)&#xA;     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;     at System.Web.UI.Page.ProcessRequest()&#xA;     at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;     at ASP.sitecore_service_nolayout_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\81e6daec\c5a03d8d\App_Web_fbypcovb.3.cs:line 0&#xA;     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.NullReferenceException Message: Object reference not&#xA;  set to an instance of an object. Source: Sitecore.ContentTesting    at&#xA;  Sitecore.ContentTesting.Pipelines.RenderLayout.EvaluateTestExposure.Process(RenderLayoutArgs&#xA;  args)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Layouts.PageContext.BuildControlTree(Object sender, EventArgs&#xA;  e)    at System.Web.UI.Page.OnPreInit(EventArgs e)    at&#xA;  System.Web.UI.Page.PerformPreInit()    at&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-10-16T06:11:22.073" LastActivityDate="2017-10-16T06:11:22.073" Title="Intermittent Null reference error Sitecore 8.0 update 6" Tags="|content-testing|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8017" PostTypeId="1" AcceptedAnswerId="8262" CreationDate="2017-10-13T17:25:59.777" Score="12" ViewCount="125" Body="&lt;p&gt;I am using Sitecore version 8.1.160302&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am attempting to implement some logic when users are added to or removed from Administrator roles. The basic idea is that if a user is being added to a role that is structured as {domain}\Administrator, then some logic will fire to grab a number of domains to add to the user's list of managed domains. If the role is structured as {domain}\User Administrator then just that domain should be added. If the user is removed from a role then their managed domains should be recalculated (there is some redundancy in roles managing domains due to the logic).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have hooked into the roles:usersAdded and roles:usersRemoved events, and can see in the debugger that my code is executing, but for some reason my changes are not being saved. The code reports no errors, but viewing the user's managed domains shows that the changes weren't saved.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnRolesModified(object sender, EventArgs args)&#xA;    {&#xA;        //Each user in users is being removed from each role in roles&#xA;        //If any roles are Admin roles, this affects Managed Domains&#xA;        //Otherwise do nothing&#xA;&#xA;        string[] users = Sitecore.Events.Event.ExtractParameter&amp;lt;string[]&amp;gt;(args, 0);&#xA;        string[] roles = Sitecore.Events.Event.ExtractParameter&amp;lt;string[]&amp;gt;(args, 1);&#xA;&#xA;        //If any roles are Admin roles, this affects Managed Domains. Otherwise do nothing.&#xA;        if (roles.Any(p =&amp;gt; p.Contains(&quot;Administrator&quot;)))&#xA;        {&#xA;            //I would expect this to always be one user, but iterate through the list in case there are more&#xA;            foreach (string userName in users)&#xA;            {&#xA;                Sitecore.Security.Accounts.User user = Sitecore.Security.Accounts.User.FromName(userName, true);&#xA;                string managedDomains = string.Empty;&#xA;                foreach (Sitecore.Security.Accounts.Role role in user.Roles.Where(p =&amp;gt; p.Name.Contains(&quot;Administrator&quot;)))&#xA;                {&#xA;                    //roles are Domain\Role, so grab domain&#xA;                    string domain = role.Domain.Name;&#xA;&#xA;                    if (role.Name.Contains(&quot;\\Administrator&quot;))&#xA;                    {&#xA;                        //If the role has a backslash before the word Administrator, it's a root site&#xA;                        //Add all the subdomains to managed domains.&#xA;                        Sitecore.Data.Items.Item item = Sitecore.Data.Database.GetDatabase(&quot;master&quot;).SelectSingleItem(string.Format(&quot;fast:/sitecore/content/{0}&quot;, domain));&#xA;                        if (item != null)&#xA;                        {&#xA;                            IEnumerable&amp;lt;Sitecore.Security.Accounts.Account&amp;gt; acctList = item.Security.GetAccessRules().Helper.GetAccounts();&#xA;                            foreach (Sitecore.Security.Accounts.Account acct in acctList)&#xA;                            {&#xA;                                managedDomains = AddDomain(managedDomains, acct.Domain.Name);&#xA;                            }&#xA;                        }&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        //If the role doesn't have a backslash before the word Administrator, it's not a root site&#xA;                        //Add just the specific domain to managed domains.&#xA;                        managedDomains = AddDomain(managedDomains, domain);&#xA;                    }&#xA;                }&#xA;                //Set the managed domains for the user&#xA;                SaveDomains(user,managedDomains);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    private void SaveDomains(Sitecore.Security.Accounts.User user, string managedDomains)&#xA;    {&#xA;        using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;        {&#xA;            Sitecore.Security.UserProfile profile = user.Profile;&#xA;            profile.ManagedDomainNames = managedDomains;&#xA;            profile.Save();&#xA;        }&#xA;    }&#xA;&#xA;    private string AddDomain(string managedDoms, string domain)&#xA;    {&#xA;        if (managedDoms == &quot;&quot;)&#xA;        {&#xA;            managedDoms = domain;&#xA;        }&#xA;        else if (!managedDoms.Split('|').Any(p =&amp;gt; p == domain))&#xA;        {&#xA;            managedDoms = string.Format(&quot;{0}|{1}&quot;, managedDoms, domain);&#xA;        }&#xA;&#xA;        return managedDoms;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only thing I've been able to find that seems suspicious is the value IsSynchronized of the UserProfile is false, but I don't actually know if that matters.&lt;/p&gt;&#xA;" OwnerUserId="2425" LastEditorUserId="2425" LastEditDate="2017-10-16T14:02:33.187" LastActivityDate="2017-11-02T17:46:26.683" Title="Modifying Managed Domains when Adding/Removing Roles" Tags="|user-profile|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8018" PostTypeId="1" CreationDate="2017-10-13T18:46:29.547" Score="2" ViewCount="235" Body="&lt;p&gt;Sitecore 8.2 Update 4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I save a WFFM form, I get the error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Page event definition Field Completed not found, page URL /other/contact-us/general-inquiries&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I seem to get it once per field on the form (That makes sense). The event Field Completed does exist in the database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is happening in CM and CD. I updated my above statement that it was CD only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client does not have Analytics as part of their license, if that is a factor.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2017-10-13T18:54:23.460" LastActivityDate="2017-10-13T18:54:23.460" Title="Page event definition Field Completed not found" Tags="|wffm|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8019" PostTypeId="2" ParentId="7985" CreationDate="2017-10-13T19:01:26.013" Score="3" Body="&lt;p&gt;Most likely this is related to following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does your project contain a reference to Glass.Mapper.Sc.dll? If this reference is missing Glass was unable to find the Sitecore.Kernel.dll &#xA;reference in your project. Add a reference to Sitecore.Kernel.dll and re-install the Glass.Mapper.Sc nuget package.&lt;/li&gt;&#xA;&lt;li&gt;Does your project contain a reference to Glass.Mapper.Sc.Mvc.dll? If this reference is missing Glass was unable to find the System.Web.Mvc.dll &#xA;reference in your project. Add a reference to System.Web.Mvc.dll and re-install the Glass.Mapper.Sc nuget package. You only need to do this if &#xA;you want MVC support with Glass.* &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2017-10-13T19:01:26.013" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8020" PostTypeId="2" ParentId="7990" CreationDate="2017-10-13T19:32:13.733" Score="0" Body="&lt;p&gt;We went through this with navigation. Decided to keep just Feature-Navigation and put all the different types of navigation under there. We named things so it would still make it easier to find what you needed. Things could get a little unruly if you break things up more, but you can do that if it makes sense to you. &lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2017-10-13T19:32:13.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8021" PostTypeId="2" ParentId="7144" CreationDate="2017-10-13T21:48:33.963" Score="4" Body="&lt;p&gt;I am having this issue as well and it is caused by the fact that the connector is NOT using the modified date and creates a new blob on every sync.  We were syncing once per hour and it eventually brought down the site due to the size of the database in the elastic pool.  I have submitted a ticket to Sitecore for help in getting the connector to stop this behavior.  I did confirm that my modified date was being mapped.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you shouldn't use that query for clean your Web database as it will lock your table and bring your site to a crawl.  Put it in a loop similar to this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WHILE 1 = 1&#xA;&#xA;BEGIN&#xA;&#xA;    Delete from Blobs &#xA;    WHERE BlobId IN (SELECT DISTINCT TOP 100 BlobId FROM Blobs&#xA;    where BlobId NOT IN (SELECT DISTINCT BlobId from Master_blobs))&#xA;   IF @@ROWCOUNT &amp;lt; 100 BREAK;&#xA;END&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I had just done a full publish of my items so I could count on Master blob table.  You can use your where...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, to answer your question.  Sitecore appears to do clean up on start up, but you wouldn't want that query to run on that many orphaned blobs.  You'd be better off creating your own task and running a query like my example on a regular interval.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will try to update this once I get to the bottom of why the connector keeps creating new blobs even though the modified dates match.&lt;/p&gt;&#xA;" OwnerUserId="2557" LastEditorUserId="95" LastEditDate="2019-08-13T14:58:13.603" LastActivityDate="2019-08-13T14:58:13.603" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8022" PostTypeId="2" ParentId="7990" CreationDate="2017-10-14T01:16:45.697" Score="1" Body="&lt;p&gt;If the difference between each brand is just UI related, I would put a put a new search view, for each brand, in the project level. And use the data model and services from the feature level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are required to write all new code for each brand. Spend some time understanding those differences and see if you can refactor your code down so the differences can be achieved by passing in custom predicates and models. This would allow you to keep search in the feature level and have the custom predicates in the project level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If all that fails and the differences are too great to share code, I would put the different search projects in the project level. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The project level is for site specific one-off functionality. You just need to understand exactly how unique is each new search requirement. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Spend some time and look at how Habitat uses its search service. Each Feature passes in the requirements like templates, facets and search terms into the Foundation layer. This allows you to now have to rewrite search code in each feature.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NewsIndexingProvider : ProviderBase, ISearchResultFormatter, IQueryPredicateProvider&#xA;{&#xA;    public Expression&amp;lt;Func&amp;lt;SearchResultItem, bool&amp;gt;&amp;gt; GetQueryPredicate(IQuery query)&#xA;    {&#xA;        var fieldNames = new[] {Templates.NewsArticle.Fields.Title_FieldName, Templates.NewsArticle.Fields.Summary_FieldName, Templates.NewsArticle.Fields.Body_FieldName};&#xA;        return GetFreeTextPredicateService.GetFreeTextPredicate(fieldNames, query);&#xA;    }&#xA;&#xA;    public string ContentType =&amp;gt; DictionaryPhraseRepository.Current.Get(&quot;/News/Search/Content Type&quot;, &quot;News&quot;);&#xA;&#xA;    public IEnumerable&amp;lt;ID&amp;gt; SupportedTemplates =&amp;gt; new[] {Templates.NewsArticle.ID};&#xA;&#xA;    public void FormatResult(SearchResultItem item, ISearchResult formattedResult)&#xA;    {&#xA;        var contentItem = item.GetItem();&#xA;        if (contentItem == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        formattedResult.Title = FieldRenderer.Render(contentItem, Templates.NewsArticle.Fields.Title.ToString());&#xA;        formattedResult.Description = FieldRenderer.Render(contentItem, Templates.NewsArticle.Fields.Summary.ToString());&#xA;        formattedResult.Media = ((ImageField)contentItem.Fields[Templates.NewsArticle.Fields.Image])?.MediaItem;&#xA;        formattedResult.ViewName = &quot;~/Views/News/NewsSearchResult.cshtml&quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-10-14T01:16:45.697" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8023" PostTypeId="1" CreationDate="2017-10-14T06:37:33.950" Score="1" ViewCount="666" Body="&lt;p&gt;We have one specific requirement for WFFM. We have one simple HTML form and we need to save its data to WFFM form programatically. &#xA;So question is that how to create Form object at runtime and get its fields, assign HTML field values to WFFM form fields and insert the WFFM form data to MongoDB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are at version 8.1 rev. 151207 (Update-1)&lt;/p&gt;&#xA;" OwnerUserId="2558" LastActivityDate="2018-08-29T17:01:37.747" Title="How to save custom data in WFFM form programatically?" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8024" PostTypeId="2" ParentId="8023" CreationDate="2017-10-14T06:54:41.143" Score="-1" Body="&lt;p&gt;First thing. The implementation of the WFFM 8.0 and later revisions were changed, so later versions were changed according to the the new functionality like storing data in the xDB analytics database and aggregating it to the SQL reporting database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So here is what you can try to do. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to Override “analyticsFormsDataProvider” (the “Sitecore.WFFM.Analytics.Providers.AnalyticsFormsDataProvider” class) which is defined in the “\App_Config\Include\Sitecore.WFFM.Dependencies.config” file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create custom form verification action in order to change the field value before form proceeding. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to know more on how to create a form verification action, You can refer to documentation:&#xA;&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/products/web_forms2/25/web%20forms%20for%20marketers%20v2_5%20reference-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sdn5/products/web_forms2/25/web%20forms%20for%20marketers%20v2_5%20reference-a4.pdf&lt;/a&gt; and look for How to Create a Form Verification Action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So action will look like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomFormVerificationAction : BaseCheckAction&#xA;{&#xA;    public override void Execute(ID formid, IEnumerable&amp;lt;ControlResult&amp;gt; fields)&#xA;    {&#xA;       foreach (ControlResult field in fields)&#xA;       {&#xA;            if (field.FieldName == &quot;NewField&quot;)&#xA;           {&#xA;                string newValue = &quot;htmlvalue&quot;;&#xA;                field.Value = newvalue&#xA;           }&#xA;       }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case, your form verification action will be executed before the “Register a Goal” system action and the changed field value will be saved to xDB.&#xA;Try and see if this gives enough direction and works for you. &lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-10-14T06:54:41.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8025" PostTypeId="1" AcceptedAnswerId="8154" CreationDate="2017-10-14T08:04:36.640" Score="33" ViewCount="1438" Body="&lt;p&gt;A while back I surprised to find that objects in Sitecore context are specific to the current thread. So, for example, if I run a parallel loop I can't rely on Sitecore context from inside that loop. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That got me thinking about my understanding of many the Sitecore features I use regularly. I've always been a slightly unclear on the thread scope of many of the 'context' type objects. You know the kind of thing:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;DatabaseSwitcher&lt;/li&gt;&#xA;&lt;li&gt;LanguageSwitcher &lt;/li&gt;&#xA;&lt;li&gt;BulkUpdateContext &lt;/li&gt;&#xA;&lt;li&gt;SecurityDisabler &lt;/li&gt;&#xA;&lt;li&gt;EventDisabler&lt;/li&gt;&#xA;&lt;li&gt;DatabaseCacheDisabler&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Let's take the example of a bulk import. I know the advice is to disable as much of the stuff that might slow things down as possible. But in practice I'm always concerned about the side effects of doing so. &#xA;Is it safe to use disablers etc. while other users are in the system or while jobs might be running? Or do they act only on the thread that created them? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If they are thread specific, then what advice is there for using them in a multi-threaded scenario? In a parallel loop, should I create the switchers/disablers inside each 'iteration'?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My head hurts...&lt;/p&gt;&#xA;" OwnerUserId="473" LastEditorUserId="73" LastEditDate="2018-02-19T16:38:42.720" LastActivityDate="2018-02-19T16:38:42.720" Title="Thread scope of switchers, disablers and contexts" Tags="|disablers|switchers|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8027" PostTypeId="1" AcceptedAnswerId="8028" CreationDate="2017-10-14T11:48:50.090" Score="1" ViewCount="517" Body="&lt;p&gt;I have been told that when there are load balancers and multiple servers, lucene will not work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an alternative that we can still use Lucene as the search engine.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-10-14T13:12:19.210" Title="Lucene for multiple server scenario" Tags="|content-search|lucene|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8028" PostTypeId="2" ParentId="8027" CreationDate="2017-10-14T12:02:14.953" Score="1" Body="&lt;p&gt;You might have read that Solr is a better solution, but Lucene does work. You will have indexes on all your servers though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info on a similar question here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1479/how-to-maintain-sitecore-lucene-indexes-in-a-huge-content-delivery-web-farm/1480&quot;&gt;How to maintain Sitecore Lucene Indexes in a huge content delivery web farm?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-10-14T12:02:14.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8029" PostTypeId="2" ParentId="8027" CreationDate="2017-10-14T13:12:19.210" Score="1" Body="&lt;p&gt;Lucene does work. You will get separate copy of indexes on all your severs and they would be updated seprately on each server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are alternatives:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Solr or Solr Cloud,&lt;/li&gt;&#xA;&lt;li&gt;Coveo,&lt;/li&gt;&#xA;&lt;li&gt;Azure Search&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="35" LastActivityDate="2017-10-14T13:12:19.210" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8030" PostTypeId="1" AcceptedAnswerId="23353" CreationDate="2017-10-14T17:26:14.480" Score="7" ViewCount="809" Body="&lt;p&gt;In our example, we have a Careers search feature in which we only want to match on title, job id, or a meta field such as description. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H2Y3C.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H2Y3C.png&quot; alt=&quot;Sample Search&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One wonderful feature about SXA is that you have an easy-to-use search functionality which aggregates &quot;all&quot; fields on the item into a computed &lt;a href=&quot;https://sitecore.stackexchange.com/a/2393/95&quot;&gt;&lt;em&gt;sxacontent&lt;/em&gt;&lt;/a&gt; field. When I search for a job I would like to boost the title field over the content field due to the fact that the content tends to be more generic and possibly contain repeated words. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Imagine you are searching for a nursing position but all of the clinical jobs say &quot;nurse&quot; in the content. Only jobs with &quot;nurse&quot; in the title would be relevant.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;How would I best approach this in SXA? &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is a new computed field required?&lt;/li&gt;&#xA;&lt;li&gt;Would I need to essentially replace the search components with a new search API?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-12-08T01:47:45.200" Title="How do you boost fields such as Title or Navigation individually in SXA when using SOLR?" Tags="|content-search|solr|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8031" PostTypeId="1" CreationDate="2017-10-14T18:17:57.223" Score="4" ViewCount="1197" Body="&lt;p&gt;Using sc8.2u3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the azure connection string setup and have enabled all azure configs. Disabled all lucene configs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't made any changes to the default config settings and also there are no custom fields created in my project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I select sitecore_master_index and rebuild the index, the pop says items added to index is around 500 and it stops there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the error log I see&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Job started: Index_Update_IndexName=sitecore_master_index|#Exception:&#xA;  System.Reflection.TargetInvocationException: Exception has been thrown&#xA;  by the target of an invocation. ---&gt; System.AggregateException: One or&#xA;  more errors occurred. ---&gt;&#xA;  Sitecore.ContentSearch.Azure.Http.Exceptions.BadRequestException:&#xA;  Error in the request URI, headers, or body ---&gt;&#xA;  Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException:&#xA;  {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;The request is invalid. Details:&#xA;  parameters : The property 'content_item_image' does not exist on type&#xA;  'search.documentFields'. Make sure to only use property names that are&#xA;  defined by the type.\r\n&quot;}}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The &quot;content_item_image&quot; is an image field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I run it again, it shows a different field. So I stop and run again and it doesn't even add 1 item to the index in the status popup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be wrong. Am I missing any step other than disabling and enabling those configs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using the Azure free service and realize that it is only upto 3 indexes and 50 mb. Could this be the reason.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-10-15T14:04:32.037" LastActivityDate="2017-10-18T21:24:08.463" Title="Unable to rebuild indexes for azure search" Tags="|azure-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8032" PostTypeId="1" AcceptedAnswerId="8037" CreationDate="2017-10-14T18:27:03.520" Score="14" ViewCount="486" Body="&lt;p&gt;Who originally picked admin / b username and password combo? Is there a story a behind it? Why b?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm just curious if there is a story behind it.&lt;/p&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2017-10-15T11:29:41.863" Title="Sitecore Trivia - Anyone know the story behind admin / b username/password?" Tags="|security|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8033" PostTypeId="2" ParentId="8032" CreationDate="2017-10-14T21:56:39.000" Score="5" Body="&lt;p&gt;Word on the street is it was a matter of preference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZLklO.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZLklO.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-10-14T21:56:39.000" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8034" PostTypeId="1" AcceptedAnswerId="8036" CreationDate="2017-10-15T07:28:53.377" Score="5" ViewCount="2035" Body="&lt;p&gt;In sitecore documentation it says &quot;If you do not create a placeholder settings item, you will still be able to bind components to placeholders using the Presentation Details dialog. &quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So why would anyone want a placeholder settings?&lt;/p&gt;&#xA;" OwnerUserId="2028" LastActivityDate="2021-02-20T09:21:12.057" Title="Why placeholder settings when you can bypass them?" Tags="|experience-editor|dynamic-placeholder|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8035" PostTypeId="2" ParentId="8034" CreationDate="2017-10-15T07:45:23.620" Score="3" Body="&lt;p&gt;Placeholder settings are used for Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a non technical guy which doesn't know very well your solution is almost impossible to know on which placeholder should add every component of your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore is used this years for enterprise solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example if you have more than 50 components per site,10 sites  is very difficult to know every component on which placeholder to add it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Placeholder Settings is very easy to add components in the right place using Experience Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on below picture and imagine how difficult is to remember all placeholders to add components :) .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Pfpe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Pfpe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-15T07:45:23.620" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8036" PostTypeId="2" ParentId="8034" CreationDate="2017-10-15T08:01:18.330" Score="8" Body="&lt;p&gt;Placeholder Settings are used if you want to restrict someone to add renderings on a specific part of a page on Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, let's say your page layout &lt;code&gt;homepage&lt;/code&gt; is divided into 3 sections:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Header - with placeholder name &lt;code&gt;Above Page Content&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Page Content -with placeholder name &lt;code&gt;Page Content&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Footer - with placeholder name &lt;code&gt;Below Page Content&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;header&quot;&amp;gt;&#xA;  @Html.Sitecore().Placeholder(&quot;Above Page Content&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;div class=&quot;body&quot;&amp;gt;&#xA;  @Html.Sitecore().Placeholder(&quot;Page Content&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;div class=&quot;footer&quot;&amp;gt;&#xA;  @Html.Sitecore().Placeholder(&quot;Below Page Content&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For example, you have &quot;Sign In/Registration&quot; rendering and you want the assembler setting up the site to be able to add this rendering only in the header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create a placeholder setting for each placeholder and make sure you have the rendering &quot;Sign In/Registration&quot; is selected only for the &lt;code&gt;Above Page Content&lt;/code&gt; placeholder settings in the &lt;code&gt;Allowed Controls&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/StZMb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/StZMb.png&quot; alt=&quot;rendering setting&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when the assembler opens the page with the layout &lt;code&gt;homepage&lt;/code&gt; on experience editor, he will have the 3 placeholder, and on clicking the &lt;code&gt;Add Here&lt;/code&gt; command for the placeholder &lt;code&gt;Above Page Content&lt;/code&gt;, he will be able to add only the components you specified previously.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="2561" LastEditDate="2017-10-15T14:19:50.967" LastActivityDate="2017-10-15T14:19:50.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8037" PostTypeId="2" ParentId="8032" CreationDate="2017-10-15T11:29:41.863" Score="23" Body="&lt;p&gt;It was I that changed the default password to 'b', but it wasn't the result of a great meaningful insight, clever security considerations or a joke.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Truth is I was implementing the Change Password dialog and was flipping between 'a' and 'b'. The dialog happened to work when I was on 'b', and the 'b' password remained in the product.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think this was in CMS v5+ - not v5.0 because the dialog was added later as far as I remember.&lt;/p&gt;&#xA;" OwnerUserId="2318" LastActivityDate="2017-10-15T11:29:41.863" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8038" PostTypeId="2" ParentId="8030" CreationDate="2017-10-15T16:15:47.903" Score="3" Body="&lt;p&gt;At the moment SXA is not using boosting but this is something we were already thinking of. So in the future, you can expect some helpers to easily configure boosting of certain fields or use customizable suggestions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I would suggest here is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;reconfigure Solr and use &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/spell-checking.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Spell Checking&lt;/a&gt; feature - there is a chance that this can solve your problem without any SXA modification but at the moment I'm not 100% sure&lt;/li&gt;&#xA;&lt;li&gt;implement your own computed field reader which will use some fancy logic to read the content from the sxacontent field and will prioritize some fields over the other&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-10-15T16:15:47.903" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8039" PostTypeId="1" AcceptedAnswerId="8147" CreationDate="2017-10-16T03:33:38.697" Score="4" ViewCount="482" Body="&lt;p&gt;Just noticed the behavior of Data Exchange Framework that it does not delete the records that is already created in Sitecore upon Synchronization and run Sync again after deleting a record in CRM. Is this something that need to be done as a custom provider? Or is there already an out of the box pipeline on Data Exchange Framework ready for Synchronizing Deleted records.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastActivityDate="2017-10-24T19:51:28.057" Title="Data Exchange Framework delete records in Sitecore if does not Exist in Source(CRM)" Tags="|pipelines|data-exchange-framework|dynamics-crm-module|" AnswerCount="1" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="8042" PostTypeId="1" CreationDate="2017-10-16T07:45:34.143" Score="3" ViewCount="385" Body="&lt;p&gt;Our site has only one language and therefore the '?la=en' parameter attached to several static assets (mainly images) is totally redundant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to remove this from the entire site?&lt;/p&gt;&#xA;" OwnerUserId="2550" LastActivityDate="2017-10-17T12:37:51.287" Title="Remove ?la=en parameter in assets - how?" Tags="|media-library|multilingual|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8045" PostTypeId="1" AcceptedAnswerId="8061" CreationDate="2017-10-16T13:45:12.783" Score="3" ViewCount="694" Body="&lt;p&gt;I've created a Coveo search page using the reference here: &lt;a href=&quot;https://developers.coveo.com/display/public/SitecoreV4/Inserting+and+Customizing+a+Search+Interface+Component&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.coveo.com/display/public/SitecoreV4/Inserting+and+Customizing+a+Search+Interface+Component&lt;/a&gt;. When I try to preview it, I get the following error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error rendering the following component: Default&#xA;&#xA;System.InvalidOperationException:&#xA; Error while rendering view: '/Views/Coveo/SearchViewLayout.cshtml'.&#xA; ---&amp;gt; System.Configuration.ConfigurationErrorsException: Section or &#xA;group name 'system.web.webPages.razor' is already defined. Updates to &#xA;this may only occur at the configuration level where it is defined. &#xA;(C:\Sitecore\dev.[obfuscated].org\Website\views\coveo\web.config line 6)&#xA;   at &#xA;System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean &#xA;ignoreLocal)&#xA;   at &#xA;System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors&#xA; schemaErrors)&#xA;   at &#xA;System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String &#xA;configKey, Boolean getLkg, Boolean checkPermission, Boolean &#xA;getRuntimeObject, Boolean requestIsHere, Object&amp;amp; result, Object&amp;amp;&#xA; resultRuntimeObject)&#xA;   at System.Configuration.BaseConfigurationRecord.GetSection(String &#xA;configKey)&#xA;   at System.Web.Configuration.RuntimeConfig.GetSectionObject(String &#xA;sectionName)&#xA;   at System.Web.Configuration.RuntimeConfig.GetSection(String &#xA;sectionName, Type type, ResultsIndex index)&#xA;   at System.Web.Configuration.RuntimeConfig.get_Compilation()&#xA;   at &#xA;System.Web.Compilation.BuildManager.IsBatchEnabledForDirectory(VirtualPath&#xA; virtualDir)&#xA;   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath &#xA;virtualPath)&#xA;   at &#xA;System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath&#xA; virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean &#xA;allowBuildInPrecompile, Boolean throwIfNotFound, Boolean &#xA;ensureIsUpToDate)&#xA;   at &#xA;System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext&#xA; context, VirtualPath virtualPath, Boolean noBuild, Boolean &#xA;allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, &#xA;Boolean ensureIsUpToDate)&#xA;   at &#xA;System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath&#xA; virtualPath, HttpContext context, Boolean allowCrossApp, Boolean &#xA;throwIfNotFound)&#xA;   at System.Web.Compilation.BuildManager.GetCompiledType(VirtualPath &#xA;virtualPath)&#xA;   at &#xA;Jabberwocky.Glass.Autofac.Mvc.Pipelines.Processors.GetModelFromViewProcessor.GetModel(GetModelArgs&#xA; args, String path)&#xA;   at &#xA;Jabberwocky.Glass.Autofac.Mvc.Pipelines.Processors.GetModelFromViewProcessor.Run(GetModelArgs&#xA; args)&#xA;   at &#xA;Jabberwocky.Glass.Autofac.Pipelines.Processors.ProcessorBase`1.Process(T&#xA; pipelineArgs)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String &#xA;pipelineName, TArgs args)&#xA;   at &#xA;Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String&#xA; pipelineName, TArgs args, Func`2 resultGetter)&#xA;   at Sitecore.Mvc.Presentation.Rendering.GetModel()&#xA;   at Sitecore.Mvc.Presentation.Rendering.get_Model()&#xA;   at &#xA;Sitecore.Mvc.Extensions.ObjectExtensions.ValueOrDefault[T,TResult](T &#xA;source, Func`2 resultGetter)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.get_Model()&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at &#xA;Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA; renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at &#xA;AOPA.Library.CustomSitecore.Pipelines.RenderRenderings.ExecuteRenderer.Render(Renderer&#xA; renderer, TextWriter writer, RenderRenderingArgs args) in &#xA;c:\Dev\AOPA\web2.0\src\AOPA.Library\CustomSitecore\Pipelines\RenderRenderings\ExecuteRenderer.cs:line&#xA; 18&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other items appear correctly in Preview mode. In the logs, there is no additional information; same error. It looks like I have this section in multiple files in the following locations:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Views&#xA;Views\Coveo&#xA;Views\Coveo Hive&#xA;sitecore\shell\client&#xA;layouts\Coveo Hive&#xA;Coveo\Hive\templates&#xA;Areas\Social\Views&#xA;Areas\Aopa\Views&#xA;Areas\Admin\Views&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I do not have a Razor sectionGroup in my main web.config. I would rather not provide the web.config because it has sensitive data in it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried adding &lt;code&gt;&amp;lt;remove name=&quot;system.web.webPages.razor&quot;/&amp;gt;&lt;/code&gt; before the sectionGroup definition but that does nothing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Views/Web.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&#xA;    &amp;lt;configuration&amp;gt;&#xA;      &amp;lt;configSections&amp;gt;&#xA;        &amp;lt;sectionGroup name=&quot;system.web.webPages.razor&quot; type=&quot;System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&amp;gt;&#xA;          &amp;lt;section name=&quot;host&quot; type=&quot;System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; requirePermission=&quot;false&quot; /&amp;gt;&#xA;          &amp;lt;section name=&quot;pages&quot; type=&quot;System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; requirePermission=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;/sectionGroup&amp;gt;&#xA;      &amp;lt;/configSections&amp;gt;&#xA;&#xA;      &amp;lt;system.web.webPages.razor&amp;gt;&#xA;        &amp;lt;host factoryType=&quot;System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;        &amp;lt;pages pageBaseType=&quot;System.Web.Mvc.WebViewPage&quot;&amp;gt;&#xA;          &amp;lt;namespaces&amp;gt;&#xA;            &amp;lt;add namespace=&quot;System.Web.Mvc&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;System.Web.Mvc.Ajax&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;System.Web.Mvc.Html&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;System.Web.Routing&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;System.Web.Optimization&quot; /&amp;gt;&#xA;          &amp;lt;/namespaces&amp;gt;&#xA;        &amp;lt;/pages&amp;gt;&#xA;      &amp;lt;/system.web.webPages.razor&amp;gt;&#xA;&#xA;      &amp;lt;appSettings&amp;gt;&#xA;        &amp;lt;add key=&quot;webpages:Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;/appSettings&amp;gt;&#xA;&#xA;      &amp;lt;system.webServer&amp;gt;&#xA;        &amp;lt;handlers&amp;gt;&#xA;          &amp;lt;remove name=&quot;BlockViewHandler&quot; /&amp;gt;&#xA;          &amp;lt;add name=&quot;BlockViewHandler&quot; path=&quot;*&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.HttpNotFoundHandler&quot; /&amp;gt;&#xA;        &amp;lt;/handlers&amp;gt;&#xA;      &amp;lt;/system.webServer&amp;gt;&#xA;      &amp;lt;runtime&amp;gt;&#xA;        &amp;lt;assemblyBinding xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot;&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;Castle.Core&quot; publicKeyToken=&quot;407dd0808d44fbdc&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-3.3.0.0&quot; newVersion=&quot;3.3.0.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;Autofac&quot; publicKeyToken=&quot;17863af14b0044da&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-3.5.0.0&quot; newVersion=&quot;3.5.0.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;System.Web.Mvc&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-5.2.3.0&quot; newVersion=&quot;5.2.3.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;System.Web.Http&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-5.2.3.0&quot; newVersion=&quot;5.2.3.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;System.Net.Http.Formatting&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-5.2.3.0&quot; newVersion=&quot;5.2.3.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;System.Web.WebPages&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-3.0.0.0&quot; newVersion=&quot;3.0.0.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;MiniProfiler&quot; publicKeyToken=&quot;b44f9351044011a3&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-3.2.0.157&quot; newVersion=&quot;3.2.0.157&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;Microsoft.Practices.ServiceLocation&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-1.2.0.0&quot; newVersion=&quot;1.2.0.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;Newtonsoft.Json&quot; publicKeyToken=&quot;30ad4fe6b2a6aeed&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-6.0.0.0&quot; newVersion=&quot;6.0.0.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;System.Web.Http.Cors&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-5.2.3.0&quot; newVersion=&quot;5.2.3.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;HtmlAgilityPack&quot; publicKeyToken=&quot;bd319b19eaf3b43a&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-1.4.6.0&quot; newVersion=&quot;1.4.6.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;System.Web.Http.WebHost&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-5.2.3.0&quot; newVersion=&quot;5.2.3.0&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;WebGrease&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-1.5.2.14234&quot; newVersion=&quot;1.5.2.14234&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;          &amp;lt;dependentAssembly&amp;gt;&#xA;            &amp;lt;assemblyIdentity name=&quot;AngleSharp&quot; publicKeyToken=&quot;e83494dcdc6d31ea&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;            &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-0.9.4.42449&quot; newVersion=&quot;0.9.4.42449&quot; /&amp;gt;&#xA;          &amp;lt;/dependentAssembly&amp;gt;&#xA;        &amp;lt;/assemblyBinding&amp;gt;&#xA;      &amp;lt;/runtime&amp;gt;&#xA;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Views/Coveo/Web.config&lt;/strong&gt;&#xA;    &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;configSections&amp;gt;&#xA;    &amp;lt;remove name=&quot;system.web.webPages.razor&quot;/&amp;gt;&#xA;    &amp;lt;sectionGroup name=&quot;system.web.webPages.razor&quot; type=&quot;System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&amp;gt;&#xA;      &amp;lt;section name=&quot;host&quot; type=&quot;System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; requirePermission=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;section name=&quot;pages&quot; type=&quot;System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; requirePermission=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;/sectionGroup&amp;gt;&#xA;  &amp;lt;/configSections&amp;gt;&#xA;&#xA;  &amp;lt;system.web.webPages.razor&amp;gt;&#xA;    &amp;lt;host factoryType=&quot;System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;    &amp;lt;pages pageBaseType=&quot;System.Web.Mvc.WebViewPage&quot;&amp;gt;&#xA;      &amp;lt;namespaces&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Mvc&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Mvc.Ajax&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Mvc.Html&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Routing&quot; /&amp;gt;&#xA;      &amp;lt;/namespaces&amp;gt;&#xA;    &amp;lt;/pages&amp;gt;&#xA;  &amp;lt;/system.web.webPages.razor&amp;gt;&#xA;&#xA;  &amp;lt;appSettings&amp;gt;&#xA;    &amp;lt;add key=&quot;webpages:Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;/appSettings&amp;gt;&#xA;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;httpHandlers&amp;gt;&#xA;      &amp;lt;add path=&quot;*&quot; verb=&quot;*&quot; type=&quot;System.Web.HttpNotFoundHandler&quot;/&amp;gt;&#xA;    &amp;lt;/httpHandlers&amp;gt;&#xA;&#xA;    &amp;lt;!--&#xA;        Enabling request validation in view pages would cause validation to occur&#xA;        after the input has already been processed by the controller. By default&#xA;        MVC performs request validation before a controller processes the input.&#xA;        To change this behavior apply the ValidateInputAttribute to a&#xA;        controller or action.&#xA;    --&amp;gt;&#xA;    &amp;lt;pages&#xA;        validateRequest=&quot;false&quot;&#xA;        pageParserFilterType=&quot;System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&#xA;        pageBaseType=&quot;System.Web.Mvc.ViewPage, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&#xA;        userControlBaseType=&quot;System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&amp;gt;&#xA;      &amp;lt;controls&amp;gt;&#xA;        &amp;lt;add assembly=&quot;System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; namespace=&quot;System.Web.Mvc&quot; tagPrefix=&quot;mvc&quot; /&amp;gt;&#xA;      &amp;lt;/controls&amp;gt;&#xA;    &amp;lt;/pages&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;validation validateIntegratedModeConfiguration=&quot;false&quot; /&amp;gt;&#xA;&#xA;    &amp;lt;handlers&amp;gt;&#xA;      &amp;lt;remove name=&quot;BlockViewHandler&quot;/&amp;gt;&#xA;      &amp;lt;add name=&quot;BlockViewHandler&quot; path=&quot;*&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.HttpNotFoundHandler&quot; /&amp;gt;&#xA;    &amp;lt;/handlers&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2017-10-17T17:08:09.347" Title="Item preview fails with &quot;Section or group name 'system.web.webPages.razor' is already defined&quot;" Tags="|configuration|coveo|razor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8046" PostTypeId="1" CreationDate="2017-10-16T13:51:59.603" Score="3" ViewCount="95" Body="&lt;p&gt;I am configuring my project to use Sitecore Social Connected in order to allow users to log in to the site using their Facebook account. A prerequisite of this is to have a Facebook App created (described &lt;a href=&quot;https://doc.sitecore.net/social_connected/setting_up_social_connected/configuring/walkthrough_configuring_social_connector_to_work_with_a_social_network&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;). Will this work when I am running the site on my machine e.g. under say localhost ? I assume I need to create a Facebook App with the &quot;Site Url&quot; set to localhost, but I'm not even sure if that would work and whether Facebook actually needs to be able to access my Sitecore instance? If so, I guess this could only be tested on an integration environment if it is publicly available.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-10-17T11:36:51.560" Title="Sitecore Social Connected Module - How to test locally" Tags="|xdb|social-connected|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8048" PostTypeId="1" AcceptedAnswerId="8062" CreationDate="2017-10-16T18:17:54.110" Score="5" ViewCount="1311" Body="&lt;p&gt;The current site I am working with has a custom site provider that does not resolve the context site correctly when trying to open a page in experience editor mode. The parameter &lt;code&gt;sc_site&lt;/code&gt; is set to &lt;code&gt;website&lt;/code&gt; (default preview site). It seems to be an amalgam of the following: &lt;a href=&quot;http://sitecoreskills.blogspot.com/2014/10/experimenting-with-sitecore-site.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreskills.blogspot.com/2014/10/experimenting-with-sitecore-site.html&lt;/a&gt;&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/integration_solution_team_blog/posts/sitecore-dynamic-site-provider&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/integration_solution_team_blog/posts/sitecore-dynamic-site-provider&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a utility method in the project that I can use to get the correct site based on where the item is in the tree. I was hoping to override what gets the preview site however this seems to be in the &lt;code&gt;LinkProvider&lt;/code&gt; in a non-virtual &#xA;method (&lt;code&gt;public SiteContext GetPreviewSiteContext(Item item)&lt;/code&gt;). It also seems possible to override the method &lt;code&gt;public virtual SiteInfo GetTargetSite(Item item)&lt;/code&gt; in LinkBuilder however I'm not sure how I would change the type being used by the &lt;code&gt;LinkProvider&lt;/code&gt; where as changing the link provider is a config change I'm familiar with. Registering a custom &lt;code&gt;LinkManager&lt;/code&gt; may also fix my issue. I'm not sure if it's possible to override a base service like this through dependency injection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a different place that I should be looking to override this functionality? I want to override it as low level as possible so it fixes anything else that might be affected by this issue (i.e. clicking the preview mode button has the same issue).&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2017-10-16T19:18:06.730" LastActivityDate="2017-10-17T18:28:07.940" Title="Dynamic Site Provider Experience Editor Resolves to Website" Tags="|multisite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8051" PostTypeId="1" AcceptedAnswerId="8052" CreationDate="2017-10-16T21:41:53.500" Score="9" ViewCount="2088" Body="&lt;p&gt;Is it possible to disable caching at an item level in the media library?  We have specific PDF files that are updated every week, but it's simply not feasible to create a new item in the media library and update all of the links from the old item to the new one.  The main issue is that we have client side caching on, so regardless of what happens server side, the client still needs to shift+f5 (or equivilant) in order to see the updated PDF file.  Is there a way we can disable this caching for our specific PDF's?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next steps would probably involve patching into the media library item url resolver process, and see if we can tack on the last updated date as a querystring parameter.  It's a hacky workaround that I'd like to avoid if possible.&lt;/p&gt;&#xA;" OwnerUserId="1520" LastActivityDate="2017-10-17T03:03:08.640" Title="How to disable caching for specific items in the Media Library?" Tags="|media-library|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8052" PostTypeId="2" ParentId="8051" CreationDate="2017-10-16T22:43:45.150" Score="9" Body="&lt;p&gt;I would recommend solving this by embracing HTTP caching by changing the &lt;code&gt;Cache-Control&lt;/code&gt; to &lt;code&gt;no-cache&lt;/code&gt;. The browser will then always &lt;em&gt;check&lt;/em&gt; to see if there's a newer/different version but since media items have Etag headers, the browser won't download the data it again if it's the same version it has cached. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for implementation, you can apply this to &lt;em&gt;all&lt;/em&gt; media items by setting the &lt;code&gt;MediaResponse.Cacheability&lt;/code&gt; Sitecore setting to &lt;code&gt;serverandnocache&lt;/code&gt;. However I that would also put more load on your server since all images would also be uncached. To avoid that, you'll need to subclass &lt;code&gt;MediaRequestHandler&lt;/code&gt; and override &lt;code&gt;SendMediaHeaders&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void SendMediaHeaders(Media media, HttpContext context)&#xA;{&#xA;    base.SendMediaHeaders(media, context);&#xA;&#xA;    if (media.MimeType == &quot;application/pdf&quot;) // Preferably a more specific descriminator&#xA;    {&#xA;        context.Response.Cache.AppendCacheExtension(&quot;no-cache&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now for the detail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In HTTP, the &lt;code&gt;Cache-Control&lt;/code&gt; response header tells the browser how to cache the request. &lt;code&gt;Cache-Control: private, max-age=600&lt;/code&gt; indicates that the response can be cached by the browser for 600 seconds. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this time, the resource will be re-requested from the server. However, if identity information (&lt;code&gt;Etag&lt;/code&gt; or &lt;code&gt;Last-Modified&lt;/code&gt;) was included in the original request these will be sent with the new request, which indicates that &quot;this is what I have cached&quot;. The server will either send back &lt;code&gt;204 Not modified&lt;/code&gt; (&quot;what you have cached is fine&quot;), or a new &lt;code&gt;200 OK&lt;/code&gt; response with the content of the file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding a &lt;code&gt;no-cache&lt;/code&gt; directive forces a validation request to occur each time, but since &lt;code&gt;max-age&lt;/code&gt; is also specified the browser will still fall back to the cached version if a &lt;code&gt;204&lt;/code&gt; response is received.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2017-10-17T03:03:08.640" LastActivityDate="2017-10-17T03:03:08.640" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8053" PostTypeId="2" ParentId="6367" CreationDate="2017-10-17T05:07:03.193" Score="0" Body="&lt;p&gt;Two things:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your configurations according to the Sitecore xDB documentation, should be up to date. For example, in your ConnectionStrings.config, &lt;code&gt;reporting&lt;/code&gt; and &lt;code&gt;tracking.history&lt;/code&gt; should be removed. And the following config files should be disabled:               &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Analytics.Automation.TimeoutProcessing.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Analytics.Processing.Services.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Analytics.Reporting.config&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Your default Sitecore License should have xDB enabled. You should be seeing an entry for xDB in your Sitecore License. If you do not see this entry, then it means you need a new license. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2573" LastEditorUserId="1000" LastEditDate="2017-10-21T15:32:24.453" LastActivityDate="2017-10-21T15:32:24.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8054" PostTypeId="1" CreationDate="2017-10-17T06:49:16.587" Score="0" ViewCount="29" Body="&lt;p&gt;We need to enforce a rule where a specific component can only come once on specific Page template. Can some body guide me how do I implement this we are using Sitecore 8.2 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any out of the box of rule in Sitecore Rule engine instead of Pipeline fix as mentioned in this link&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/4139/is-it-possible-to-limit-renderings-so-they-can-only-be-placed-once-on-a-page&quot;&gt;Is it possible to limit Renderings so they can only be placed once on a page?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1533" LastActivityDate="2017-10-17T06:49:16.587" Title="Restrict number of Components on Page" Tags="|presentation|" AnswerCount="0" CommentCount="2" ClosedDate="2017-10-17T08:33:32.747" ContentLicense="CC BY-SA 3.0" />
  <row Id="8055" PostTypeId="1" AcceptedAnswerId="8056" CreationDate="2017-10-17T10:30:58.530" Score="0" ViewCount="1349" Body="&lt;p&gt;I'm facing null reference issue with multiple CM Sitecore Setup. Below is the environment details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Servers 2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.0 update 6&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Very minimal access to infrastructure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;DisableClientBrowsing is set to true.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scalability Setting config is disabled.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Application error. Exception:&#xA;  System.Web.HttpUnhandledException Message: Exception of type&#xA;  'System.Web.HttpUnhandledException' was thrown. Source: System.Web&lt;br&gt;&#xA;  at System.Web.UI.Page.HandleError(Exception e)    at&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;br&gt;&#xA;  at System.Web.UI.Page.ProcessRequest(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;br&gt;&#xA;  at System.Web.UI.Page.ProcessRequest()    at&#xA;  System.Web.UI.Page.ProcessRequest(HttpContext context)    at&#xA;  ASP.sitecore_shell_applications_content_manager_default_aspx.ProcessRequest(HttpContext&#xA;  context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary&#xA;  ASP.NET Files\root\68275d57\e975e24f\App_Web_py4csts0.3.cs:line 0&lt;br&gt;&#xA;  at&#xA;  System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,&#xA;  Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Reflection.TargetInvocationException Message:&#xA;  Exception has been thrown by the target of an invocation. Source:&#xA;  mscorlib    at System.RuntimeMethodHandle.InvokeMethod(Object target,&#xA;  Object[] arguments, Signature sig, Boolean constructor)    at&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments)    at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br&gt;&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;  Object[] parameters, Object obj)    at&#xA;  Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e)    at&#xA;  System.Web.UI.Control.LoadRecursive()    at&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.NullReferenceException Message: Object reference not&#xA;  set to an instance of an object. Source: Sitecore.Client    at&#xA;  Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnLoad(EventArgs&#xA;  e)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-11-06T11:03:20.397" LastActivityDate="2017-11-09T07:07:31.707" Title="Null reference exception on Clicking item in Content Tree" Tags="|content-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8056" PostTypeId="2" ParentId="8055" CreationDate="2017-10-17T11:24:00.307" Score="5" Body="&lt;p&gt;Scalability Settings configuration &lt;em&gt;must&lt;/em&gt; be enabled for a multiple CM setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What most likely happens here is, that you're clicking a content item that the CM that has since been deleted on one of the &lt;em&gt;other&lt;/em&gt; CM instances but the change has not been reflected. This is what Scalability Settings does for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You must also ensure your EventQueues are enabled. I believe Scalability Settings config does this, but double check it to be sure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1331/setting-up-multiple-cm-servers&quot;&gt;Setting up multiple CM servers&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-10-17T11:24:00.307" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8057" PostTypeId="2" ParentId="8046" CreationDate="2017-10-17T11:25:09.613" Score="2" Body="&lt;p&gt;Last time I created Facebook app 2 years ago and at that point I got it working with &lt;code&gt;localhost:port&lt;/code&gt; as &lt;em&gt;Site Url&lt;/em&gt; and &lt;code&gt;localhost&lt;/code&gt; as &lt;em&gt;App Domains&lt;/em&gt;. If that doesn't work, you could try creating a &quot;Test App&quot;. There is a menu on the top left corner. If that also fails, this &lt;a href=&quot;https://stackoverflow.com/questions/21295872/facebook-app-localhost-no-longer-works-as-app-domain/&quot;&gt;SO post&lt;/a&gt; has a discussion about using localhost for development of facebook apps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YPXNc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YPXNc.png&quot; alt=&quot;App settings&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/BEoa0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BEoa0.png&quot; alt=&quot;Create Test App menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2017-10-17T11:36:51.560" LastActivityDate="2017-10-17T11:36:51.560" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8058" PostTypeId="2" ParentId="8042" CreationDate="2017-10-17T12:37:51.287" Score="1" Body="&lt;p&gt;Since your site only has one language you can configure the LinkManager to always generate URLs without any language parameters&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can configure this using a patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;linkManager&amp;gt;&#xA;            &amp;lt;providers&amp;gt;&#xA;                &amp;lt;add name=&quot;sitecore&quot;&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;languageEmbedding&quot;&amp;gt;never&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/add&amp;gt;&#xA;            &amp;lt;/providers&amp;gt;&#xA;        &amp;lt;/linkManager&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And if at a later date you do want to enable languageEmbedding for a specific site you can have a look at this blogpost:&#xA;&lt;a href=&quot;https://jammykam.wordpress.com/2015/02/03/site-specific-link-provider-for-multi-site-implementation-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2015/02/03/site-specific-link-provider-for-multi-site-implementation-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="220" LastActivityDate="2017-10-17T12:37:51.287" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8059" PostTypeId="1" CreationDate="2017-10-17T15:24:35.873" Score="2" ViewCount="219" Body="&lt;p&gt;I have set up and configured the Sitecore Social Connected &quot;module&quot; (in inverted commas because it seems to be included OOTB). I have added the &lt;code&gt;Login with Facebook&lt;/code&gt; rendering to a page and have set the &quot;Application&quot; and &quot;Callback URL&quot; rendering parameters on the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My page loads ok displaying the Facebook icon - I noticed the following error in the browser console window &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;GET &lt;a href=&quot;https://connect.facebook.net/signals/config/XXXXXXXXXX?v=2.7.23&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://connect.facebook.net/signals/config/XXXXXXXXXX?v=2.7.23&lt;/a&gt; net::ERR_ABORTED fbevents.js:24 &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When I click the Facebook logo, I am redirected to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://www.facebook.com/v2.5/dialog/oauth?client_id=nnnnnnnnnnnnnnn&amp;amp;redirect_uri=http://garnier-dev.com/layouts/Social/Connector/SocialLogin.ashx?type=access&amp;amp;scope=email,publish_actions,publish_pages,user_likes,user_about_me,user_birthday,user_education_history,user_location,user_religion_politics,user_relationships,user_website,user_work_history&amp;amp;type=web_server&amp;amp;state=e2fb6cff-f39e-485e-a91c-508c47cab48a&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(nnnnnnnnnnnnnnn is the App ID which I have obscured)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which shows the error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Can't load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and sub-domains of your app to the App Domains field in your app settings.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have double (and triple) checked and the hostname I am using for the site is definitely set as the &quot;App Domains&quot; for the App in Facebook.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-10-17T15:24:35.873" Title="Sitecore Social Connected - Error with login" Tags="|social-connected|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8060" PostTypeId="1" AcceptedAnswerId="8063" CreationDate="2017-10-17T16:27:47.823" Score="3" ViewCount="293" Body="&lt;p&gt;I am trying to add pagination for events list but it displays this message &quot;There is no list on the page with the same signature&quot; although the paging component and the events list are using the same list signature value.&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2017-10-17T20:34:32.803" Title="Events List Pagination" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8061" PostTypeId="2" ParentId="8045" CreationDate="2017-10-17T17:08:09.347" Score="1" Body="&lt;p&gt;Coveo for Sitecore 4.1 came with Web.configs that referenced &lt;code&gt;System.Web.WebPages.Razor V2.0.0.&lt;/code&gt; My project uses 3.0.0. I had to update the version in the following files to 3.0.0:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Views/Coveo/Web.config&#xA;Views/Coveo Hive/Web.config&#xA;layouts/Coveo Hive&#xA;Coveo/Hive/templates&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2017-10-17T17:08:09.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8062" PostTypeId="2" ParentId="8048" CreationDate="2017-10-17T18:28:07.940" Score="4" Body="&lt;p&gt;We've had to solve exactly this problem for experience editor and preview in our 6 Site Sitecore instance. I solved this be adding in two custom commands like so: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Experience Editor Command:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Specialized;&#xA;using System.Diagnostics.CodeAnalysis;&#xA;using System.Globalization;&#xA;using global::Sitecore;&#xA;using global::Sitecore.Configuration;&#xA;using global::Sitecore.Data;&#xA;using global::Sitecore.Data.Items;&#xA;using global::Sitecore.Diagnostics;&#xA;using global::Sitecore.ExperienceEditor.Utils;&#xA;using global::Sitecore.Globalization;&#xA;using global::Sitecore.Links;&#xA;using global::Sitecore.Pipelines.HasPresentation;&#xA;using global::Sitecore.Publishing;&#xA;using global::Sitecore.Shell.Framework.Commands;&#xA;using global::Sitecore.Sites;&#xA;using global::Sitecore.Text;&#xA;using global::Sitecore.Web.UI.Sheer;&#xA;&#xA;public class OpenExperienceEditorMultisite : Command&#xA;{&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        NameValueCollection parameters = new NameValueCollection();&#xA;        bool flag = false;&#xA;        if (context.Items.Length == 1)&#xA;        {&#xA;            Item obj = context.Items[0];&#xA;            parameters[&quot;uri&quot;] = obj.Uri.ToString();&#xA;            parameters.Add(&quot;sc_lang&quot;, obj.Language.ToString());&#xA;            parameters.Add(&quot;sc_version&quot;, obj.Version.Number.ToString(CultureInfo.InvariantCulture));&#xA;            if (HasPresentationPipeline.Run(obj))&#xA;                parameters.Add(&quot;sc_itemid&quot;, obj.ID.ToString());&#xA;            else&#xA;                flag = true;&#xA;        }&#xA;        ClientPipelineArgs args = new ClientPipelineArgs(parameters);&#xA;        if (!flag)&#xA;        {&#xA;            args.Result = &quot;yes&quot;;&#xA;            args.Parameters.Add(&quot;needconfirmation&quot;, &quot;false&quot;);&#xA;        }&#xA;        Context.ClientPage.Start(this, &quot;Run&quot;, args);&#xA;    }&#xA;&#xA;    public override CommandState QueryState(CommandContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        if ((UIUtil.IsIE() &amp;amp;&amp;amp; UIUtil.GetBrowserMajorVersion() &amp;lt; 7) || !Settings.WebEdit.Enabled)&#xA;            return CommandState.Hidden;&#xA;        return base.QueryState(context);&#xA;    }&#xA;&#xA;    protected void Run(ClientPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        if (!SheerResponse.CheckModified())&#xA;            return;&#xA;        if (args.Parameters[&quot;needconfirmation&quot;] == &quot;false&quot; || args.IsPostBack)&#xA;        {&#xA;            if (args.Result == &quot;no&quot;)&#xA;                return;&#xA;            UrlString urlString = new UrlString(&quot;/&quot;);&#xA;            urlString.Add(&quot;sc_mode&quot;, &quot;edit&quot;);&#xA;            if (!string.IsNullOrEmpty(args.Parameters[&quot;sc_itemid&quot;]))&#xA;                urlString.Add(&quot;sc_itemid&quot;, args.Parameters[&quot;sc_itemid&quot;]);&#xA;            if (!string.IsNullOrEmpty(args.Parameters[&quot;sc_version&quot;]))&#xA;                urlString.Add(&quot;sc_version&quot;, args.Parameters[&quot;sc_version&quot;]);&#xA;            SiteContext siteContext = null;&#xA;            if (!string.IsNullOrEmpty(args.Parameters[&quot;uri&quot;]))&#xA;            {&#xA;                Item obj = Database.GetItem(ItemUri.Parse(args.Parameters[&quot;uri&quot;]));&#xA;                if (obj == null)&#xA;                {&#xA;                    SheerResponse.Alert(&quot;Item not found.&quot;);&#xA;                    return;&#xA;                }&#xA;                siteContext = LinkManager.GetPreviewSiteContext(obj);&#xA;            }&#xA;            SiteContext site = siteContext ?? Factory.GetSite(Settings.Preview.DefaultSite);&#xA;            if (site == null)&#xA;            {&#xA;                SheerResponse.Alert(Translate.Text(&quot;Site \&quot;{0}\&quot; not found&quot;, (object) Settings.Preview.DefaultSite));&#xA;            }&#xA;            else&#xA;            {&#xA;                string siteName = string.Empty;&#xA;                if (!string.IsNullOrEmpty(args.Parameters[&quot;uri&quot;]))&#xA;                {&#xA;                    Item obj = Database.GetItem(ItemUri.Parse(args.Parameters[&quot;uri&quot;]));&#xA;&#xA;                    //this needs to be replaced with your SiteHelper that resolves the sitename based on the current item &#xA;                    siteName = SiteResolverHelper.GetTargetSite(obj).Name;&#xA;                }&#xA;&#xA;                string str = args.Parameters[&quot;sc_lang&quot;];&#xA;                if (string.IsNullOrEmpty(str))&#xA;                    str = WebEditUtility.ResolveContentLanguage(site).ToString();&#xA;                if (!string.IsNullOrEmpty(args.Parameters[&quot;sc_lang&quot;]))&#xA;                    urlString.Add(&quot;sc_lang&quot;, str);&#xA;                if (siteName != null) urlString[&quot;sc_site&quot;] = siteName;&#xA;                PreviewManager.RestoreUser();&#xA;                Context.ClientPage.ClientResponse.Eval(&quot;window.open('&quot; + urlString + &quot;', '_blank')&quot;);&#xA;            }&#xA;        }&#xA;        else&#xA;        {&#xA;            SheerResponse.Confirm(&#xA;                &quot;The current item does not have a layout for the current device.\n\nDo you want to open the start Web page instead?&quot;);&#xA;            args.WaitForPostBack();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Preview Command:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    using System;&#xA;    using System.Collections.Specialized;&#xA;    using System.Diagnostics.CodeAnalysis;&#xA;    using global::Sitecore;&#xA;    using global::Sitecore.Configuration;&#xA;    using global::Sitecore.Data;&#xA;    using global::Sitecore.Data.Items;&#xA;    using global::Sitecore.Diagnostics;&#xA;    using global::Sitecore.Globalization;&#xA;    using global::Sitecore.Links;&#xA;    using global::Sitecore.Pipelines.HasPresentation;&#xA;    using global::Sitecore.Publishing;&#xA;    using global::Sitecore.Shell.DeviceSimulation;&#xA;    using global::Sitecore.Shell.Framework.Commands;&#xA;    using global::Sitecore.Sites;&#xA;    using global::Sitecore.Text;&#xA;    using global::Sitecore.Web;&#xA;    using global::Sitecore.Web.UI.Sheer; &#xA;&#xA;&#xA;    public class PreviewItemMultisite : Command&#xA;    {&#xA;        public PreviewItemMultisite() &#xA;        {&#xA;        }&#xA;&#xA;        public override void Execute(CommandContext context)&#xA;        {&#xA;            Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;            if (context.Items.Length != 1)&#xA;                return;&#xA;            Item obj = context.Items[0];&#xA;            NameValueCollection parameters = new NameValueCollection();&#xA;            parameters[&quot;uri&quot;] = obj.Uri.ToString();&#xA;            Context.ClientPage.Start(this, &quot;Run&quot;, parameters);&#xA;        }&#xA;&#xA;        public override CommandState QueryState(CommandContext context)&#xA;        {&#xA;            Error.AssertObject(context, &quot;context&quot;);&#xA;            if (!Settings.Preview.Enabled)&#xA;                return CommandState.Hidden;&#xA;            if (context.Items.Length != 1)&#xA;                return CommandState.Disabled;&#xA;            return base.QueryState(context);&#xA;        }&#xA;&#xA;        protected void Run(ClientPipelineArgs args)&#xA;        {&#xA;            Item obj1 = Database.GetItem(ItemUri.Parse(args.Parameters[&quot;uri&quot;]));&#xA;            if (obj1 == null)&#xA;            {&#xA;                SheerResponse.Alert(&quot;Item not found.&quot;);&#xA;            }&#xA;            else&#xA;            {&#xA;                string str = obj1.ID.ToString();&#xA;                if (args.IsPostBack)&#xA;                {&#xA;                    if (args.Result != &quot;yes&quot;)&#xA;                        return;&#xA;                    Item obj2 = Context.ContentDatabase.GetItem(LinkManager.GetPreviewSiteContext(obj1).StartPath);&#xA;                    if (obj2 == null)&#xA;                    {&#xA;                        SheerResponse.Alert(&quot;Start item not found.&quot;);&#xA;                        return;&#xA;                    }&#xA;                    str = obj2.ID.ToString();&#xA;                }&#xA;                else if (!HasPresentationPipeline.Run(obj1))&#xA;                {&#xA;                    SheerResponse.Confirm(&#xA;                        &quot;The current item cannot be previewed because it has no layout for the current device.\n\nDo you want to preview the start Web page instead?&quot;);&#xA;                    args.WaitForPostBack();&#xA;                    return;&#xA;                }&#xA;                SheerResponse.CheckModified(false);&#xA;                SiteContext previewSiteContext = LinkManager.GetPreviewSiteContext(obj1);&#xA;                if (previewSiteContext == null)&#xA;                {&#xA;                    SheerResponse.Alert(Translate.Text(&quot;Site \&quot;{0}\&quot; not found&quot;, (object) Settings.Preview.DefaultSite));&#xA;                }&#xA;                else&#xA;                {&#xA;                    //this needs to be replaced with your SiteHelper that resolves the sitename based on the current item &#xA;                    string siteName = SiteResolverHelper.GetTargetSite(obj1).Name;&#xA;&#xA;                    WebUtil.SetCookieValue(previewSiteContext.GetCookieKey(&quot;sc_date&quot;), string.Empty);&#xA;                    PreviewManager.StoreShellUser(Settings.Preview.AsAnonymous);&#xA;                    UrlString urlString = new UrlString(&quot;/&quot;);&#xA;                    urlString[&quot;sc_itemid&quot;] = str;&#xA;                    urlString[&quot;sc_mode&quot;] = &quot;preview&quot;;&#xA;                    urlString[&quot;sc_lang&quot;] = obj1.Language.ToString();&#xA;                    if (siteName != null) urlString[&quot;sc_site&quot;] = siteName;&#xA;                    DeviceSimulationUtil.DeactivateSimulators();&#xA;                    if (UIUtil.IsChrome())&#xA;                        SheerResponse.Eval(&quot;setTimeout(function () { window.open('&quot; + urlString + &quot;', '_blank');}, 0);&quot;);&#xA;                    else&#xA;                        SheerResponse.Eval(&quot;window.open('&quot; + urlString + &quot;', '_blank');&quot;);&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then the following config patches are needed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;        &amp;lt;command name=&quot;webedit:openexperienceeditor&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;YourSite.Sitecore.Extensions.OpenExperienceEditorMultisite, YourSite.Sitecore.Extensions&quot; /&amp;gt;&#xA;        &amp;lt;/command&amp;gt;&#xA;        &amp;lt;command name=&quot;item:preview&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;YourSite.Sitecore.Extensions.PreviewItemMultisite, YourSite.Sitecore.Extensions&quot; /&amp;gt;&#xA;        &amp;lt;/command&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should then set your sc_site parameter correct to the right site.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-10-17T18:28:07.940" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8063" PostTypeId="2" ParentId="8060" CreationDate="2017-10-17T20:34:32.803" Score="2" Body="&lt;p&gt;We had a problem with Pagination rendering in 1.4 and yes it was not working with Event List. It's already working fine in 1.5 (release within few days).&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-10-17T20:34:32.803" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8064" PostTypeId="2" ParentId="7939" CreationDate="2017-10-17T23:06:31.997" Score="3" Body="&lt;p&gt;After talking to the community and parsing the decompiled DLL&#xA;I reached the conclusion that Sitecore Kick Method is only used to Free Sitecore License, not to Logout a Sitecore user from the session. In order to achieve that I would need to create some additional method to kill the IIS Session&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks all for the support on this ticket&lt;/p&gt;&#xA;" OwnerUserId="998" LastActivityDate="2017-10-17T23:06:31.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8065" PostTypeId="1" CreationDate="2017-10-18T05:19:09.623" Score="0" ViewCount="403" Body="&lt;p&gt;We are using Sitecore 8.2 Update 4, and I have the requirement to display a reference number in the success message when an enquiry is made using a WFFM form. This value will also be included in an email to the customer so Im thinking this would only be possible using a Custom Type that includes a hidden field - this control would also initialise this value to a random string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But how then could I display this value in my &quot;Success Message&quot; that is displayed? This field only accepts a string (although it can contain html)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could provide my own version of FormViewModel.cshtml to display this value but the question still remains, how could I access this variable to display?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2017-10-18T05:19:09.623" Title="WFFM - Dynamic field in Success Message" Tags="|wffm|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8066" PostTypeId="1" AcceptedAnswerId="8068" CreationDate="2017-10-18T08:46:43.320" Score="8" ViewCount="126" Body="&lt;p&gt;We have our site on older version of Sitecore 7.1 (another site on Sitecore 7.2) and we are intending to integrate it with Solr Search 4.1 server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have question that if this version of Sitecore is compatible with this Solr version.&lt;/p&gt;&#xA;" OwnerUserId="2580" LastActivityDate="2017-10-18T08:50:52.247" Title="Compatiblity of Sitecore 7.1 with Solr Search 4.1" Tags="|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8067" PostTypeId="2" ParentId="8066" CreationDate="2017-10-18T08:49:30.253" Score="4" Body="&lt;p&gt;Solr Search 4.1 is compatible with 7.1 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/k2w2l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/k2w2l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is an official link for Sitecore Solr Compatibility : &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-18T08:49:30.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8068" PostTypeId="2" ParentId="8066" CreationDate="2017-10-18T08:50:52.247" Score="1" Body="&lt;p&gt;This version of Sitecore is definitely compatible with SOLR 4.1 and this configuration is tested and officially supported. I would sugget you to read this documentation &lt;a href=&quot;https://sdn.sitecore.net/reference/sitecore&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/reference/sitecore&lt;/a&gt; 7/sitecore search and cms scaling guide.aspx &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also sugget to look at Solr Compatibility Table &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt; that may give you enough picture on Solr compatiblity.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also to add, this version of Sitecore should even work upto Solr version 4.4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Solr version after 4.4, it should work also but there are a number of changes introduced in solr.xml. You can find the changes at &lt;a href=&quot;https://wiki.apache.org/solr/Solr.xml&quot; rel=&quot;noreferrer&quot;&gt;https://wiki.apache.org/solr/Solr.xml&lt;/a&gt; 4.4 and beyond. &lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-10-18T08:50:52.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8069" PostTypeId="1" AcceptedAnswerId="8070" CreationDate="2017-10-18T11:27:19.673" Score="3" ViewCount="109" Body="&lt;p&gt;I am getting &quot;no editor&quot; error message on the Send Email Editor dialog as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ExUj9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ExUj9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any pointers on what could be missing? Any configuration file to check?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore XP 7.0 running on Windows Server 2012R2&lt;/p&gt;&#xA;" OwnerUserId="608" LastActivityDate="2017-10-18T13:32:47.773" Title="Issue with WFFM Send Email Editor saying 'no editor'" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8070" PostTypeId="2" ParentId="8069" CreationDate="2017-10-18T13:32:47.773" Score="2" Body="&lt;p&gt;I think I found the root cause and fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore hotfix Sitecore.Support.416400 introduces Issues with the Send Email action in the Web Forms For Marketers module. This is documented on KB link below&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/581527&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/581527&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a workaround provided by Sitecore (a manual fix is needed on RichText.js file)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="608" LastActivityDate="2017-10-18T13:32:47.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8071" PostTypeId="1" CreationDate="2017-10-18T14:15:13.100" Score="1" ViewCount="170" Body="&lt;p&gt;I found &lt;a href=&quot;http://www.xcentium.com/blog/2016/04/07/customizing-sitecore-social-connectors-user-creation&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; describing how to override the user creation pipeline processor (&lt;code&gt;sitecore/pipelines/social.matchUser&lt;/code&gt;) for the Social Connected module. I have re-created this, and during debugging can see things like full name, email address and the created username.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I retrieve the other properties from the user's Facebook account? I have looked at the class &lt;code&gt;SelectUserPipelineArgs&lt;/code&gt; (&lt;code&gt;Sitecore.Social.Connector.Pipelines.MatchUser.SelectUserPipelineArgs, Sitecore.Social&lt;/code&gt;) but cannot see anything which is populated with data as I would expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6038/prevent-user-creation-based-on-age-using-sitecore-social-connector&quot;&gt;This question&lt;/a&gt; is asking for a very similar thing.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-10-19T02:32:29.837" Title="Get user properties from Facebook user using Sitecore Social Connected" Tags="|social-connected|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8072" PostTypeId="1" CreationDate="2017-10-18T16:30:16.140" Score="8" ViewCount="404" Body="&lt;p&gt;using Sitecore Data Exchange Framework v1.4.1, let's assume you want to add hundreds of emails to xDB Contact &gt; Emails facet. How would you configure DEF to add each address to the &lt;code&gt;IElementDictionary&amp;lt;IAddress&amp;gt; Entries&lt;/code&gt; property in Addresses facet?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am assuming &quot;xDB Contact Facet Collection Property Value Accessor&quot; plays a role, but how do you set it all up? You can set the collection property in it. But how do i make sure i map the fields in the IEmailAddress that is added to the collection?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any example anywhere? any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit 10/19/17:&#xA;I do know how to add data to xDB through code. What I need is information on how to configure Sitecore Data Exchange Framework to map and import data into collection. I guess, I can simplify it once more by going back to my title and ask, how do you configure and use &quot;xDB Contact Facet Collection Property Value Accessor&quot; in Data Exchange Framework? Let's just forget everything else I said and simply provide me an example of how to use &quot;xDB Contact Facet Collection Property Value Accessor&quot; in Data Exchange Framework? What is that Value Accessor used for? Where are the examples on how to use this thing?&lt;/p&gt;&#xA;" OwnerUserId="573" LastEditorUserId="573" LastEditDate="2017-10-19T17:13:28.177" LastActivityDate="2017-10-22T22:51:17.557" Title="Any example on how to use &quot;xDB Contact Facet Collection Property Value Accessor&quot; in Data Exchange Framework?" Tags="|xdb|data-exchange-framework|contact-facets|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8073" PostTypeId="2" ParentId="6208" CreationDate="2017-10-18T19:39:03.170" Score="0" Body="&lt;p&gt;Thank you Sitecore Climber, but changing the field name was not an option, i ended up excluding those fields (invalid name, size limits such as Text and Media fields) from the index using AddExcludedField.&lt;/p&gt;&#xA;" OwnerUserId="1057" LastEditorUserId="1057" LastEditDate="2017-10-19T13:25:42.513" LastActivityDate="2017-10-19T13:25:42.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8074" PostTypeId="2" ParentId="7906" CreationDate="2017-10-18T20:43:06.983" Score="0" Body="&lt;p&gt;The thing was that I overwrote the index, so in the default one there were fields needed for SearchResultsItem properties to be populated. As I overwrote the index with my own I didn't added those fields (and computed fields such as _smallcreateddate), so I just added them to my index  and it works now &lt;/p&gt;&#xA;" OwnerUserId="2537" LastActivityDate="2017-10-18T20:43:06.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8075" PostTypeId="1" AcceptedAnswerId="8086" CreationDate="2017-10-18T20:59:20.030" Score="2" ViewCount="850" Body="&lt;p&gt;I've trying to make a POST request. It is returning the same page, i.e the whole HTML instead of the result I send via the Controller.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model kgSitecoreTraining.Models.BlogVotes&#xA;&#xA;&#xA;&#xA;&amp;lt;div class=&quot;blog-vote&quot;&amp;gt;&#xA;&#xA;        &amp;lt;div id=&quot;vote-form&quot;&amp;gt;&#xA;            &amp;lt;input type=&quot;button&quot; class=&quot;up&quot; id=&quot;up&quot; name=&quot;up&quot; value=@Model.Up&amp;gt;&#xA;            &amp;lt;input type=&quot;button&quot; class=&quot;down&quot; id=&quot;down&quot; name=&quot;down&quot; value=@Model.Down&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;script&amp;gt;&#xA;&#xA;    window.addEventListener('load',&#xA;        function () {&#xA;             $('#up').on('click', function (event) {&#xA;            $.ajax({&#xA;                type:&quot;POST&quot;,&#xA;                url: window.location.href,&#xA;                context: this,&#xA;                data: &quot;{ scController: 'BlogVotes', scAction: 'test', option: 'op'}&quot;,&#xA;                success: function (data) {&#xA;                    console.log(data);&#xA;                },&#xA;                error: function (error) {&#xA;                    alert(error);&#xA;                    console.dir(error);&#xA;                }&#xA;                 });&#xA;            event.preventDefault();&#xA;        });&#xA;        }, false);&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this is the controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using kgSitecoreTraining.Models;&#xA;using Newtonsoft.Json;&#xA;using Sitecore.Links;&#xA;using Sitecore.Mvc.Presentation;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using System.Web.Helpers;&#xA;using System.Web.Mvc;&#xA;using System.Web.Script.Serialization;&#xA;&#xA;namespace kgSitecoreTraining.Controllers&#xA;{&#xA;    public class BlogVotesController : Controller&#xA;    {&#xA;        // GET: BlogVotes&#xA;        public ActionResult Index()&#xA;        {&#xA;            return View(CreateModel());&#xA;        }&#xA;&#xA;        [HttpPost]&#xA;        public JsonResult test(string option)&#xA;        {&#xA;            return Json(option);&#xA;&#xA;        }&#xA;&#xA;        private BlogVotes CreateModel() {&#xA;            var item = RenderingContext.Current.Rendering.Item;&#xA;            var model = new BlogVotes()&#xA;            {&#xA;                Up = Int32.Parse(item[&quot;Up&quot;]),&#xA;                Down = Int32.Parse(item[&quot;Down&quot;]),&#xA;                UrlPost = LinkManager.GetItemUrl(item).ToString()&#xA;            };&#xA;            return model;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As I said, instead of returning the JSON, It's returning the HTML. Any Idea why?&lt;/p&gt;&#xA;" OwnerUserId="2537" LastActivityDate="2017-10-19T12:35:57.367" Title="Sitecore Ajax post returning same page" Tags="|ajax|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8076" PostTypeId="2" ParentId="8031" CreationDate="2017-10-18T21:24:08.463" Score="2" Body="&lt;p&gt;I had similar issues with rebuilding index in azure Sitecore will provide a hot fix package in my case.however, i would say to try to exclude this field or any other problematic field by using AddExcludedField .&#xA;having free service limitation could be the case here too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good luck&lt;/p&gt;&#xA;" OwnerUserId="1057" LastActivityDate="2017-10-18T21:24:08.463" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8077" PostTypeId="1" AcceptedAnswerId="8080" CreationDate="2017-10-18T22:27:29.197" Score="1" ViewCount="124" Body="&lt;p&gt;In the isolated development approach, I would like to make sure that &quot;Build Solution&quot; does not deploy TDS projects via TdsGlobal.config settings.  So far, I am not seeing immediately how to do that.&#xA;The only thing that comes to mind is to uncheck &quot;Build&quot; setting under Configuration Manager for a my &quot;Debug&quot; Configuration.  However, that will prevent TDS validations or other processing I may still want to happen at the build time.&lt;br&gt;&#xA;Anyone can share how they set up their isolated environments?&lt;/p&gt;&#xA;" OwnerUserId="1839" LastActivityDate="2017-10-19T02:18:28.763" Title="Sitecore and TDS Local development strategy" Tags="|tds|sitecore-rocks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8078" PostTypeId="1" CreationDate="2017-10-19T00:02:04.780" Score="5" ViewCount="212" Body="&lt;p&gt;Can we increase max size of the search box in usermanager? which currently only 20 character.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to implement this email search using link &#xA;&lt;a href=&quot;https://sitecorecontextitem.wordpress.com/2014/11/10/search-by-email-in-the-sitecore-user-manager/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorecontextitem.wordpress.com/2014/11/10/search-by-email-in-the-sitecore-user-manager/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;but search box has only 20 character allowed in Usermanager&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J4wQZ.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J4wQZ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;" OwnerUserId="2586" LastEditorUserId="95" LastEditDate="2017-10-19T01:13:10.273" LastActivityDate="2017-10-19T14:26:46.577" Title="Can we increase max size of the search box in usermanager?" Tags="|user-management|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8079" PostTypeId="2" ParentId="8071" CreationDate="2017-10-19T01:45:34.153" Score="1" Body="&lt;p&gt;As per &lt;a href=&quot;https://doc.sitecore.net/social_connected/setting_up_social_connected/setting_up/add_a_new_profile_field_to_social_connector&quot; rel=&quot;nofollow noreferrer&quot;&gt;the documentation&lt;/a&gt;, you have to add a new profile field mapping to the Sitecore social connected profilemapping configuration file in order to tell the Sitecore that it has to fetch it.&lt;/p&gt;&#xA;" OwnerUserId="982" LastEditorUserId="432" LastEditDate="2017-10-19T02:32:29.837" LastActivityDate="2017-10-19T02:32:29.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8080" PostTypeId="2" ParentId="8077" CreationDate="2017-10-19T02:18:28.763" Score="2" Body="&lt;p&gt;I do not believe that is right. The TDS projects will only deploy TDS to your website if you select &lt;code&gt;Deploy Solution&lt;/code&gt; from the solution menu. In that can you can remove the deploy column checkbox from the configuration menu.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TYVdn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TYVdn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-10-19T02:18:28.763" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8081" PostTypeId="1" CreationDate="2017-10-19T04:53:14.400" Score="4" ViewCount="1393" Body="&lt;p&gt;Using sc8.2u3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a template with two image fields (banner &amp;amp; logo), both are &lt;code&gt;Shared&lt;/code&gt;. There are two languages in the site - en &amp;amp; fr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I add the images in the media library, in the en version. When I refer this image in the banner field, the image does not show for &quot;fr&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The right side is the fr version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PcoiM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PcoiM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but when i preview the page in &quot;fr&quot;, it shows up fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same page uses the &quot;logo&quot; field too, and this image doesn't show up for &quot;fr&quot; in preview.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is strange, because, it works for one field in the template and not the other, when both are the same image fields and &quot;shared&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, there is a 404 error inside the field.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-06-26T08:01:12.773" Title="Images not loading for other language versions" Tags="|content-editor|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8082" PostTypeId="2" ParentId="8081" CreationDate="2017-10-19T05:30:01.320" Score="2" Body="&lt;p&gt;Someone helped me with the fix and I would like to share it here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the image in the media library. It should be &quot;shared&quot;.&lt;a href=&quot;https://i.stack.imgur.com/uZKzT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uZKzT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case, it wasn't. Don't know why. In quick info the template was&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/templates/System/Media/Versioned/Jpeg&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing the template to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/templates/System/Media/Unversioned/Jpeg&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;fixed it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have many affected media items, here is a powershell script. This script, will change the pdf template of items inside a parent folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  /*&#xA;  1. set master DB as the context database  &#xA;  2. Give the target template path (use only template specific subpath)  &#xA;  3. Parent folder path  &#xA;  4. ($_.TemplateName -eq &quot;Pdf&quot;) - name of the source template in quotes.&#xA;  */ &#xA;&#xA;&#xA;$master = [Sitecore.Configuration.Factory]::GetDatabase(&quot;master&quot;);&#xA;&#xA;$entryTemplate = $master.Templates[&quot;System/Media/Unversioned/Pdf&quot;];&#xA;&#xA;cd master:&quot;\media library\Files\Test&quot;;&#xA;&#xA;Get-ChildItem -recurse | ForEach-Object { if ($_.TemplateName -eq &quot;Pdf&quot;) { $_.ChangeTemplate($entryTemplate) } };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-06-26T08:01:12.773" LastActivityDate="2018-06-26T08:01:12.773" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="8083" PostTypeId="1" CreationDate="2017-10-19T06:00:05.513" Score="1" ViewCount="752" Body="&lt;p&gt;As we know, currently most sites depend on cookies being enabled in the browser, including Sitecore which handles personalization, tracking analytics etc.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What if cookies are disabled? &lt;/li&gt;&#xA;&lt;li&gt;Do we really need to display a the message to end-user that the site uses Cookies?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Why are most of sites now, not displaying the message that browser Cookies are disabled?&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="70" LastEditDate="2017-10-21T21:39:39.563" LastActivityDate="2017-10-21T21:39:39.563" Title="Browser Cookie Disabled, Sitecore behaviour" Tags="|cookies|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8084" PostTypeId="1" AcceptedAnswerId="8085" CreationDate="2017-10-19T06:32:02.677" Score="4" ViewCount="461" Body="&lt;p&gt;I am using SXA Event rendering on my page, I add create Event list and used it for listing and calendar, however, we cant find Event detail page, how to add it?&lt;/p&gt;&#xA;" OwnerUserId="2502" LastActivityDate="2017-10-19T07:02:00.350" Title="SXA Event Detail page" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8085" PostTypeId="2" ParentId="8084" CreationDate="2017-10-19T07:02:00.350" Score="2" Body="&lt;p&gt;Here is my structure:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Home Page - I've placed Event List rendering on it&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Symposium 2017 Page - under the Home I've just one page which is containing details about event&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Events - event list data source with just one event underneath&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I look like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aBQKG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aBQKG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, let's open the Home page where the Event List rendering is placed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TBSTk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TBSTk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link to the page with details is in the bottom right corner.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that Event List is using &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rendering Variants&lt;/a&gt; to render events - so you can modify this as you want. Here is the default variant shipped with SXA. I've market item responsible for generating a link to details page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/CGEMc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-10-19T07:02:00.350" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="8086" PostTypeId="2" ParentId="8075" CreationDate="2017-10-19T12:35:57.367" Score="3" Body="&lt;p&gt;From my point of view it's not a correct way for call your api.&#xA;Try to sent your request in another way:&#xA;instead of &lt;code&gt;window.location.href&lt;/code&gt;&#xA;try to call &lt;code&gt;http://{hostname}/api/sitecore/BlogVotes/test&lt;/code&gt; via HTTP POST&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-10-19T12:35:57.367" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8087" PostTypeId="2" ParentId="1282" CreationDate="2017-10-19T13:34:01.727" Score="10" Body="&lt;p&gt;Hoping this answer will help someone in the future, Sitecore 9 now has this feature. You can disable any config file or folder by Adding the patch file to a  section and add the mode=&quot;Off&quot; attribute. for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1 &amp;lt;add path=&quot;Sitecore.Analytics.Config&quot; type=&quot;File&quot; mode=&quot;Off&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;2 &amp;lt;add path=&quot;zCustom&quot; type=&quot;Folder&quot; mode=&quot;Off&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for more information you can check &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/customizing_server_configuration/disable_a_patch_file#_Disable_a_single&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/customizing_server_configuration/disable_a_patch_file#_Disable_a_single&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1057" LastActivityDate="2017-10-19T13:34:01.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8088" PostTypeId="2" ParentId="8078" CreationDate="2017-10-19T14:26:46.577" Score="3" Body="&lt;p&gt;User Manager uses &lt;code&gt;/sitecore/layout/Layouts/Security/SecurityManager&lt;/code&gt; layout.&#xA;Path to aspx page is &lt;code&gt;/sitecore/shell/Applications/Security/UserManager/UserManager.aspx&lt;/code&gt;.&#xA;Layout uses Grid component from ComponentArt.Web.UI.dll&#xA;However, rendering process has difficult structure and works with hardcoded js files, including code for render search box:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;window.ComponentArt_Grid.prototype.RenderSearchBox = function (_c1) {&#xA;    _c1[_c1.length] = &quot;&amp;lt;div&quot;;&#xA;    if (this.SearchTextCssClass) {&#xA;        _c1[_c1.length] = &quot; class=\&quot;&quot; + this.SearchTextCssClass + &quot;\&quot;&quot;;&#xA;    }&#xA;    _c1[_c1.length] = &quot;&amp;gt;&quot; + this.SearchText + &quot; &quot;;&#xA;    _c1[_c1.length] = &quot;&amp;lt;input onsubmit=\&quot;return false;\&quot; onkeypress=\&quot;return !&quot; + this.Id + &quot;.SearchCheckEnter(event)\&quot; id=\&quot;&quot; + this.Id + &quot;_searchBox\&quot;&quot;;&#xA;    if (this.SearchBoxCssClass) {&#xA;        _c1[_c1.length] = &quot; class=\&quot;&quot; + this.SearchBoxCssClass + &quot;\&quot;&quot;;&#xA;    }&#xA;    _c1[_c1.length] = &quot; onkeyup=\&quot;&quot; + this.Id + &quot;.SearchKeyHandler(event,this);\&quot; type=\&quot;text\&quot; maxlength=\&quot;20\&quot; size=\&quot;20\&quot; value=\&quot;&quot; + this.SearchString + &quot;\&quot; /&amp;gt;&amp;lt;/div&amp;gt;&quot;;&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I think that will be difficult to overwrite this logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to write your custom js for change maxlength and size attributes on &lt;code&gt;$(document).ready()&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-10-19T14:26:46.577" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8089" PostTypeId="2" ParentId="8072" CreationDate="2017-10-19T15:07:07.967" Score="2" Body="&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var addressesFacet = contact.GetFacet&amp;lt;IContactAddresses&amp;gt;(&quot;Addresses&quot;);&#xA;            if (addressesFacet != null &amp;amp;&amp;amp; !addressesFacet.Entries.Contains(&quot;Preffered Address&quot;))&#xA;            {&#xA;                var address = addressesFacet.Entries.Contains(&quot;Preffered Address&quot;)&#xA;                    ? addressesFacet.Entries[&quot;Preffered Address&quot;]&#xA;                    : addressesFacet.Entries.Create(&quot;Preffered Address&quot;);&#xA;                address.Country = contactModel.Country;&#xA;                address.PostalCode = contactModel.ZipCode;&#xA;                addressesFacet.Preferred = &quot;Preffered Address&quot;;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can add all your address to &lt;code&gt;Addresses&lt;/code&gt; facet or update existing address.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Don't forget to set &lt;code&gt;Preferred&lt;/code&gt; address which Sitecore will use as a&#xA;  default address for contact&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2017-10-19T15:22:05.490" LastActivityDate="2017-10-19T15:22:05.490" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8091" PostTypeId="1" AcceptedAnswerId="8093" CreationDate="2017-10-19T19:00:54.747" Score="14" ViewCount="7934" Body="&lt;p&gt;So I'm working my way through the Sitecore 9 install instructions, and part of it is to install Solr with SSL. Since the install guide just refers you over to Solr, I've been following the instructions here: &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&quot; rel=&quot;noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&lt;/a&gt;. After doing those steps and pointing the KEY_STORE and TRUST_STORE paths to the explicit paths to the .jks file, I can hit my local Solr with HTTPS, but Chrome comes back and says the connection is not secure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone walked through these steps and have some guidance? I haven't done much with local SSL setups before, but it appears Sitecore is going there with this new install framework.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-08-12T11:11:07.017" Title="Configuring SSL for Solr" Tags="|solr|installation|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8093" PostTypeId="2" ParentId="8091" CreationDate="2017-10-19T23:24:48.800" Score="16" Body="&lt;p&gt;Yes, this is normal Chrome behaviour. It recognises your certificate and does SSL, but it warns you that whoever issued the certificate is unknown (to Chrome) and therefore not trusted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trusted Certificate Authorities... well it's a long story. But not just anyone can issue a certificate, and have it show up all green in Chrome :-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Funnily enough I had the same conversation in regards to Sitecore Commerce the other day on Slack, and Richard Szaslay was kind enough to share this PowerShell gem. I would suggest you create your certificate in this way.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#requires -Version 2.0&#xA;&#xA;#region Exported Cmdlets&#xA;&#xA;&amp;lt;#&#xA;    .SYNOPSIS&#xA;        Creates a self-signed certificate and copies it into the trusted store.&#xA;    .DESCRIPTION&#xA;        Creates a self-signed certificate and copies it into the trusted store.&#xA;    .PARAMETER DnsName&#xA;        The DNS name for which a certicate should be issued. eg mysite.local&#xA;    .EXAMPLE&#xA;        # New-TrustedSelfSignedCertificate mysite.local&#xA;        Description&#xA;        -----------&#xA;        Creates a self-signed certificate for mysite.local&#xA;#&amp;gt;&#xA;function New-TrustedSelfSignedCertificate {&#xA;    [CmdletBinding()]&#xA;    param (&#xA;        [Parameter(Position=0, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true, Mandatory=$true)]&#xA;        [String] $DnsName,&#xA;&#xA;        [switch] $LocalMachine = $false&#xA;    )&#xA;&#xA;    process {&#xA;&#xA;        $ErrorActionPreference = &quot;Stop&quot;&#xA;&#xA;        $cert = New-SelfSignedCertificate -DnsName $DnsName -CertStoreLocation Cert:\LocalMachine\My&#xA;&#xA;        if ($LocalMachine) {&#xA;            $CertLocation = &quot;LocalMachine&quot;;&#xA;        } else {&#xA;            $CertLocation = &quot;CurrentUser&quot;;&#xA;        }&#xA;&#xA;        # Cert provider does not support Copy-Item, so we'll copy it manually&#xA;        $dstStore = New-Object System.Security.Cryptography.X509Certificates.X509Store(&quot;Root&quot;, $CertLocation)&#xA;        $dstStore.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)&#xA;        $dstStore.Add($cert)&#xA;        $dstStore.Close()&#xA;    }&#xA;}&#xA;&#xA;#endregion&#xA;&#xA;#region Module Interface&#xA;Export-ModuleMember New-TrustedSelfSignedCertificate&#xA;#endregion&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://gist.github.com/richardszalay/9f28efcff249cc622658&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/richardszalay/9f28efcff249cc622658&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-10-19T23:24:48.800" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8094" PostTypeId="1" AcceptedAnswerId="8095" CreationDate="2017-10-20T07:34:31.873" Score="6" ViewCount="242" Body="&lt;h2&gt;The problem&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The default/sample code in the LinqScratchPad.aspx shows a &lt;code&gt;TryYourOwnClass&lt;/code&gt; class. Sadly, this class is not used in any way in the sample.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sample code looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Test {&#xA;    class Program {&#xA;        public static IEnumerable&amp;lt;SearchResultItem&amp;gt; Main(string str)&#xA;        {&#xA;            using (var context = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;).CreateSearchContext())&#xA;            {&#xA;                return context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Take(10).ToList();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;[PredefinedQuery(&quot;_templatename&quot;, ComparisonType.Contains, &quot;sample&quot;)]&#xA;public class TryYourOwnClass &#xA;{&#xA;    [IndexField(&quot;_name&quot;)]&#xA;    public string Name {get; set;}&#xA;&#xA;    [IgnoreIndexFieldAttribute]&#xA;    public string DoNotMapMe { get; set;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, &lt;code&gt;TryYourOwnClass&lt;/code&gt; is defined, but is never used. I tried using &lt;code&gt;TryYourOwnClass&lt;/code&gt; as the type for &lt;code&gt;GetQueryable&lt;/code&gt;, but that won't run, as the &lt;code&gt;Main&lt;/code&gt; method returns an &lt;code&gt;IEnumerable&amp;lt;SearchResultItem&amp;gt;&lt;/code&gt;. And I cannot change the return type, because that will break the script as well.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The question&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;So how do I use custom classes in the LinqScratchPad to query an index?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why am I trying to do that?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I'm working on a pretty constrained environment, where we are using a custom index with custom fields. Sadly, I cannot install any third-party tools like &quot;Luke&quot; or something like that. That's why I would like to use LinqScratchPad and a custom class to query the index using all the fields I want.&lt;/p&gt;&#xA;" OwnerUserId="1282" LastEditorUserId="1282" LastEditDate="2017-10-20T18:47:05.077" LastActivityDate="2018-06-25T14:56:26.267" Title="Using custom classes in LinqScratchPad.aspx" Tags="|content-search|indexing|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8095" PostTypeId="2" ParentId="8094" CreationDate="2017-10-20T08:18:05.957" Score="6" Body="&lt;p&gt;You need to inherits your custom class from &lt;strong&gt;SearchResultItem&lt;/strong&gt; class if you want to return &lt;strong&gt;&lt;code&gt;Queryable&amp;lt;SearchResultItem&amp;gt;&lt;/code&gt;&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you inherit from SearchResultItem, you will have all the goodies such as TemplateId, TemplateName, Name, CreatedBy, CreatedDate etc.&#xA;Your code will look like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Test {&#xA;    class Program {&#xA;        public static IEnumerable&amp;lt;SearchResultItem&amp;gt; Main(string str)&#xA;        {&#xA;            using (var context = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;).CreateSearchContext())&#xA;            {&#xA;                return context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Take(10).ToList();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;[PredefinedQuery(&quot;_templatename&quot;, ComparisonType.Contains, &quot;sample&quot;)]&#xA;public class TryYourOwnClass : SearchResultItem&#xA;{&#xA;    [IndexField(&quot;_name&quot;)]&#xA;    public string Name {get; set;}&#xA;&#xA;    [IgnoreIndexFieldAttribute]&#xA;    public string DoNotMapMe { get; set;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-20T08:18:05.957" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8096" PostTypeId="1" CreationDate="2017-10-20T13:27:17.037" Score="4" ViewCount="865" Body="&lt;p&gt;I am setting up Sitecore on Azure Web app PaaS.  I am using the official Sitecore packages to deploy a CD and CM role to azure.  These have been deployed as vanilla Sitecore instances with no additional changes, code or config from my application as of yet.  The packages are pre-configured by Sitecore to the azure setup, Redis azure search etc.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting a &lt;code&gt;Required license is missing: Runtime&lt;/code&gt; error when trying to load either the CD or CM role.  I have our organisational license file on the azure web app. I copied it onto the application using the Kudo debug console for now. The license has not expired.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe the correct license file location is being resolved because if I remove the file all together I get a &lt;code&gt;FATAL Could not find license file: D:\home\site\wwwroot\App_Data\license.xml&lt;/code&gt; error.  The minute I replace the license file I no longer get this error but still get the initial license missing error.  Any idea why this could be,  could it be an issue with uploading the file via the Kudu tools or possibly some missing section from the license file itself.  This file is used on other projects without issue and on local development.  &lt;/p&gt;&#xA;" OwnerUserId="2402" LastEditorUserId="73" LastEditDate="2019-12-30T18:46:04.500" LastActivityDate="2019-12-30T18:46:04.500" Title="Getting Required license is missing: Runtime" Tags="|configuration|azure|deployment|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8098" PostTypeId="1" AcceptedAnswerId="8243" CreationDate="2017-10-20T14:02:15.160" Score="1" ViewCount="129" Body="&lt;p&gt;The Rule section in WFFM is missing. I did some research and changed the &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; to true &lt;code&gt;&amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;.&#xA;It worked and i am able to see the Rule section but now the site is down :) and throwing the exception.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application. &#xA;       Tracker.Current is not initialized  Description: An unhandled exception occurred during the execution of the current web request.&#xA;  Please review the stack trace for more information about the error and&#xA;  where it originated in the code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.InvalidOperationException: Tracker.Current&#xA;  is not initialized&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &#xA;         An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location&#xA;  of the exception can be identified using the exception stack trace&#xA;  below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &#xA;         [InvalidOperationException: Tracker.Current is not initialized] Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs&#xA;  args) +338 (Object , Object[] ) +74&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +479&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, Boolean failIfNotExists) +36&#xA;  Sitecore.Analytics.Pipelines.StartAnalytics.StartAnalyticsPipeline.Run()&#xA;  +372 Sitecore.Mvc.Analytics.Pipelines.MvcEvents.RequestBegin.StartTracking.Process(RequestBeginArgs&#xA;  args) +137 (Object , Object[] ) +74&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +479&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&#xA;  Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext&#xA;  context, AsyncCallback cb, Object extraData) +74&#xA;  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  +1028 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +134&#xA;     &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client does not have xDB and we just need a way to enable the rule section in WFFM and the Sitecore version 8.2 rev. 170407 (Update-3).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea? &#xA;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="1057" LastEditorUserId="2727" LastEditDate="2018-01-14T10:56:43.767" LastActivityDate="2018-01-14T10:56:43.767" Title="WFFM Rule Section Is Missing" Tags="|xdb|wffm|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8101" PostTypeId="1" AcceptedAnswerId="8102" CreationDate="2017-10-20T14:42:02.177" Score="9" ViewCount="489" Body="&lt;p&gt;I'm trying to get the creator of an item, but when I access the CreatedBy property, it returns an empty string. When I debugged I could see the all the other fields were populated, but not the CreatedBy:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Tyol0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Tyol0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contextDatabase = Sitecore.Context.Database;&#xA;Item blogPost = contextDatabase.GetItem(data.ID);&#xA;var creator =  blogPost.Statistics.CreatedBy;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I really don't know why it shows as empty. Any idea why?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: In the content tree, in the statistic field section, the CreatedBy is there: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V0b8N.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V0b8N.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="1542" LastEditDate="2020-05-25T06:49:32.617" LastActivityDate="2020-05-25T06:49:32.617" Title="Item statistic &quot;CreatedBy&quot; returning empty string" Tags="|sitecore-api|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="8102" PostTypeId="2" ParentId="8101" CreationDate="2017-10-20T15:29:44.950" Score="8" Body="&lt;p&gt;&lt;strong&gt;&quot;Statistics.CreatedBy&quot;&lt;/strong&gt; property does not return standard values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this problem please use : &lt;strong&gt;blogPost.Fields[&quot;__created by&quot;].Value&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Statistics.Created use next code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private string GetFieldValue(ID fieldId)&#xA;{&#xA;    Field field = this._item.Fields[fieldId];&#xA;    return field.GetValue(false, false) ?? string.Empty;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where field.GetValue has next parameters&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual string GetValue(bool allowStandardValue, bool allowDefaultValue)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-10-20T15:36:18.943" LastActivityDate="2017-10-20T15:36:18.943" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8103" PostTypeId="2" ParentId="8083" CreationDate="2017-10-21T21:38:01.977" Score="1" Body="&lt;p&gt;There are really 2 questions here. So lets deal with each of them:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. Should I display a cookie notice?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The answer to that is not really opinion based, its a legal issue. If you run a website that is owned in the EU you &lt;em&gt;must&lt;/em&gt; make sure that your website complies with the latest &quot;cookie laws&quot; - The law is fairly detailed, but the basics say that:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Individuals have the right to refuse the use of cookies that reduce their online privacy&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;source: &lt;a href=&quot;https://www.cookielaw.org/the-cookie-law/&quot; rel=&quot;nofollow noreferrer&quot;&gt;The Cookie Law&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is important to note, that if the user declines cookies - you &lt;em&gt;must&lt;/em&gt; not set cookie values on your site - the user should &lt;em&gt;not&lt;/em&gt; have to turn cookies off in the browser to decline them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another important thing to note is that only certain tracking cookies can be declined. Cookies that are essential to the &quot;business&quot; use of the site, can still be stored. E.g. forms auth cookies.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. What will Sitecore track/do if cookies are disabled&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Just because a cookie is declined or disabled, Sitecore will &lt;em&gt;still&lt;/em&gt; track the user in a single session. Declining or disabling cookies does not require you to disable the tracker.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you will lose is the ability to track anonymous users from session to session. You will not get a global session for that user.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-10-21T21:38:01.977" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8104" PostTypeId="1" AcceptedAnswerId="8106" CreationDate="2017-10-22T14:20:42.450" Score="3" ViewCount="527" Body="&lt;p&gt;I have a data template called ProductListingPage.  I also have a data template called Product.  All of the Products will be in the content tree directly beneath the ProductListingPage.  I am using automatic code generation with TDS and Glass Mapper.  Is there a way that I can specify that the children of the ProductListingPage should be of type Product?  Can I specify that somewhere so that when the code is generated for the ProductListingPage type it will have that property?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally in my razor view I would like to be able to loop through all of the products like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach(var product in Model.Products)&#xA;{&#xA;  Display the product info here...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2017-10-22T15:16:52.007" LastActivityDate="2017-10-22T19:49:06.733" Title="How to specify children property when generating code with TDS and Glass Mapper" Tags="|glass-mapper|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8105" PostTypeId="1" AcceptedAnswerId="8116" CreationDate="2017-10-22T18:20:44.940" Score="1" ViewCount="1043" Body="&lt;p&gt;I am trying to add pagination component with custom paginable controler but it shows &quot;There is no list on the page with the same signature&quot; although both pagination component and paginable rendering share the same list signature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any steps that should be done so that the pagination works with controller rendering?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2017-10-23T06:07:19.917" Title="Pagination Component with Paginable rendering" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8106" PostTypeId="2" ParentId="8104" CreationDate="2017-10-22T19:49:06.733" Score="5" Body="&lt;p&gt;You can't do that using the out of the box T4 templates.  Typically I would handle this by creating a new partial class that includes a property for the children.  Something like this below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class ProductListingPage&#xA;{&#xA;    [SitecoreChildren]&#xA;    public IEnumerable&amp;lt;Product&amp;gt; Products { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This would be combined with the partial class that's generated by the T4 template for your ProductListingPage model.  You would define this partial in a separate file, such as &lt;code&gt;ProductListingPage.partial.cs&lt;/code&gt; depending on your naming convention.  It should be placed in the exact same namespace as the generated code, so that the two partials are combined at runtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in your code you should be able to do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach(var product in Model.Products)&#xA;{&#xA;    @product.Title&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-10-22T19:49:06.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8107" PostTypeId="1" AcceptedAnswerId="18512" CreationDate="2017-10-22T19:52:43.427" Score="30" ViewCount="11985" Body="&lt;p&gt;I've been playing with the creation of Sitecore 9 instances, however I keep running into issues (which is not related to my question), but as I fix various things related to my local configuration, I would like to remove existing instances that failed to complete successfully using the SIF (Sitecore Install Framework).  Is there a command already implemented that will automatically do this or will I need to create something that will do this?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2023-04-24T14:29:24.523" Title="How to Uninstall an instance created using the Sitecore Install Framework" Tags="|sitecore-install-framework|" AnswerCount="10" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8108" PostTypeId="2" ParentId="8107" CreationDate="2017-10-22T20:04:29.333" Score="20" Body="&lt;p&gt;There is not currently such a command. I wish there was.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general terms to uninstall, you will need to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Remove the two xConnect windows services (with &lt;code&gt;sc delete [servicename]&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Remove the Sitecore and xConnect webroots&lt;/li&gt;&#xA;&lt;li&gt;Remove the databases from SQL Server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If all you wish to do is overwrite an existing SIF-installed instance, removing the databases and re-running SIF should be sufficient if it's like the preview was.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-10-22T20:04:29.333" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8109" PostTypeId="2" ParentId="8091" CreationDate="2017-10-22T20:08:33.440" Score="9" Body="&lt;p&gt;Here's a script that will fully automate the generation of the JKS keystore for Solr as well:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/kamsar/c3c8322c1ec40eac64c7dd546e5124de&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/kamsar/c3c8322c1ec40eac64c7dd546e5124de&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; # Usage:&#xA; # This script is designed to be run after you have Solr running locally without SSL&#xA; # It will generate a trusted, self-signed certificate for LOCAL DEV (this is useless for production)&#xA;&#xA; # Notes: The keystore must be under server/etc on Solr root, and MUST be named solr-ssl.keystore.jks&#xA; # The cert will be added to locally trusted certs, so no security warnings in browsers&#xA; # You must still reconfigure Solr to use the keystore and restart it after running this script&#xA; #&#xA; # THIS SCRIPT REQUIRES WINDOWS 10 (for the SSL trust)&#xA;&#xA; # License: MIT&#xA;&#xA; .\solrssl.ps1 -KeystoreFile C:\Solr\apache-solr\server\etc\solr-ssl.keystore.jks&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then the actual ps1 script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;param(&#xA;    [string]$KeystoreFile = 'solr-ssl.keystore.jks',&#xA;    [string]$KeystorePassword = 'secret',&#xA;    [string]$SolrDomain = 'localhost',&#xA;    [switch]$Clobber&#xA;)&#xA;&#xA;$ErrorActionPreference = 'Stop'&#xA;&#xA;### PARAM VALIDATION&#xA;if($KeystorePassword -ne 'secret') {&#xA;    Write-Error 'The keystore password must be &quot;secret&quot;, because Solr apparently ignores the parameter'&#xA;}&#xA;&#xA;if((Test-Path $KeystoreFile)) {&#xA;    if($Clobber) {&#xA;        Write-Host &quot;Removing $KeystoreFile...&quot;&#xA;        Remove-Item $KeystoreFile&#xA;    } else {&#xA;        $KeystorePath = Resolve-Path $KeystoreFile&#xA;        Write-Error &quot;Keystore file $KeystorePath already existed. To regenerate it, pass -Clobber.&quot;&#xA;    }&#xA;}&#xA;&#xA;$P12Path = [IO.Path]::ChangeExtension($KeystoreFile, 'p12')&#xA;if((Test-Path $P12Path)) {&#xA;    if($Clobber) {&#xA;        Write-Host &quot;Removing $P12Path...&quot;&#xA;        Remove-Item $P12Path&#xA;    } else {&#xA;        $P12Path = Resolve-Path $P12Path&#xA;        Write-Error &quot;Keystore file $P12Path already existed. To regenerate it, pass -Clobber.&quot;&#xA;    }&#xA;}&#xA;&#xA;try {&#xA;    $keytool = (Get-Command 'keytool.exe').Source&#xA;} catch {&#xA;    $keytool = Read-Host &quot;keytool.exe not on path. Enter path to keytool (found in JRE bin folder)&quot;&#xA;&#xA;    if([string]::IsNullOrEmpty($keytool) -or -not (Test-Path $keytool)) {&#xA;        Write-Error &quot;Keytool path was invalid.&quot;&#xA;    }&#xA;}&#xA;&#xA;### DOING STUFF&#xA;&#xA;Write-Host ''&#xA;Write-Host 'Generating JKS keystore...'&#xA;&amp;amp; $keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass $KeystorePassword -storepass $KeystorePassword -validity 9999 -keystore $KeystoreFile -ext SAN=DNS:$SolrDomain,IP:127.0.0.1 -dname &quot;CN=$SolrDomain, OU=Organizational Unit, O=Organization, L=Location, ST=State, C=Country&quot;&#xA;&#xA;Write-Host ''&#xA;Write-Host 'Generating .p12 to import to Windows...'&#xA;&amp;amp; $keytool -importkeystore -srckeystore $KeystoreFile -destkeystore $P12Path -srcstoretype jks -deststoretype pkcs12 -srcstorepass $KeystorePassword -deststorepass $KeystorePassword&#xA;&#xA;Write-Host ''&#xA;Write-Host 'Trusting generated SSL certificate...'&#xA;$secureStringKeystorePassword = ConvertTo-SecureString -String $KeystorePassword -Force -AsPlainText&#xA;$root = Import-PfxCertificate -FilePath $P12Path -Password $secureStringKeystorePassword -CertStoreLocation Cert:\LocalMachine\Root&#xA;Write-Host 'SSL certificate is now locally trusted. (added as root CA)'&#xA;&#xA;Write-Host ''&#xA;Write-Host '########## NEXT STEPS ##########' -ForegroundColor Green&#xA;Write-Host ''&#xA;Write-Host '1. Copy your keystore to $SOLR_HOME\server\etc (MUST be here)' -ForegroundColor Green&#xA;&#xA;if(-not $KeystoreFile.EndsWith('solr-ssl.keystore.jks')) {&#xA;    Write-Warning 'Your keystore file is not named &quot;solr-ssl.keystore.jks&quot;'&#xA;    Write-Warning 'Solr requires this exact name, so make sure to rename it before use.'&#xA;}&#xA;&#xA;$KeystorePath = Resolve-Path $KeystoreFile&#xA;Write-Host ''&#xA;Write-Host '2. Add the following lines to your solr.in.cmd:' -ForegroundColor Green&#xA;Write-Host ''&#xA;Write-Host &quot;set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks&quot; -ForegroundColor Yellow&#xA;Write-Host &quot;set SOLR_SSL_KEY_STORE_PASSWORD=$KeystorePassword&quot; -ForegroundColor Yellow&#xA;Write-Host &quot;set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks&quot; -ForegroundColor Yellow&#xA;Write-Host &quot;set SOLR_SSL_TRUST_STORE_PASSWORD=$KeystorePassword&quot; -ForegroundColor Yellow&#xA;Write-Host ''&#xA;Write-Host 'Done!'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-10-22T20:08:33.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8110" PostTypeId="2" ParentId="8096" CreationDate="2017-10-22T20:12:45.347" Score="1" Body="&lt;p&gt;Check the file encoding. I heard someone mention at Symposium having issues with their license file in PaaS that was caused due to the way the license file had been uploaded mangling the text encoding so that Sitecore could not read it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe the fix was to upload the license to the app service via FTPS using forced binary mode, or something similar.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-10-22T20:12:45.347" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8111" PostTypeId="5" CreationDate="2017-10-22T20:44:27.470" Score="0" Body="&lt;p&gt;The Sitecore Install Framework (SIF) enables users to deploy and configure a Sitecore environment using a standard configuration design that can be extended through custom PowerShell functions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2010&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2010&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Useful blogs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blogs.perficient.com/sitecore/2017/10/23/how-to-install-sitecore-9-with-the-sitecore-install-framework/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.perficient.com/sitecore/2017/10/23/how-to-install-sitecore-9-with-the-sitecore-install-framework/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.rockpapersitecore.com/2017/10/sitecore-installation-framework-sif-and-https-everywhere/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.rockpapersitecore.com/2017/10/sitecore-installation-framework-sif-and-https-everywhere/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kamsar.net/index.php/2017/11/The-lazy-way-to-install-Sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2017/11/The-lazy-way-to-install-Sitecore-9/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorecompetencies.com/2017/12/21/sitecore-9-installation-using-sif-as-easy-as-cooking-a-delicious-meal/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorecompetencies.com/2017/12/21/sitecore-9-installation-using-sif-as-easy-as-cooking-a-delicious-meal/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-13T15:41:59.673" LastActivityDate="2018-02-13T15:41:59.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8112" PostTypeId="4" CreationDate="2017-10-22T20:44:27.470" Score="0" Body="For questions relating to the Sitecore Install Framework introduced in Sitecore 9." OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2017-10-27T10:42:43.340" LastActivityDate="2017-10-27T10:42:43.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8113" PostTypeId="2" ParentId="8072" CreationDate="2017-10-22T22:51:17.557" Score="1" Body="&lt;p&gt;Here is an example how &quot;xDB Contact Facet Collection Property Value Accessor&quot; works.&#xA;Have a look at this value accessor configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5FgPJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5FgPJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It tries to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get DynamicsCrm facet.&lt;/li&gt;&#xA;&lt;li&gt;In found facet get MarketingLists collection property&lt;/li&gt;&#xA;&lt;li&gt;Writer uses Collection Value Appender that tries to add value to a MarketingLists collection.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&lt;code&gt;&#xA;public List&amp;lt;Guid&amp;gt; MarketingLists {get;set;}&#xA;&lt;/code&gt;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&lt;code&gt;&#xA;object value = Guid.NewGuid();&#xA;MarketingLists.Add(value);&#xA;&lt;/code&gt;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If &quot;Do Not Use Value Appender is set&quot; it tries to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get DynamicsCrm facet.&lt;/li&gt;&#xA;&lt;li&gt;In found facet get MarketingLists collection property.&lt;/li&gt;&#xA;&lt;li&gt;Writer tries to set value to MarketingLists property if value is the same type.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&lt;code&gt;&#xA;    object value = List&amp;lt;Guid&amp;gt;(){Guid.NewGuid(),Guid.NewGuid()};&#xA;    MarketingLists = value;&#xA;&lt;/code&gt;&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastActivityDate="2017-10-22T22:51:17.557" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8114" PostTypeId="1" AcceptedAnswerId="8115" CreationDate="2017-10-22T22:58:13.160" Score="7" ViewCount="8759" Body="&lt;p&gt;What name format/should be used for the xConnectCert prompt of Install-SitecoreConfiguration?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Self-Signed Cert is located in the &lt;code&gt;(Local Computer)\Trusted Root Certification Authorities\Certificates&lt;/code&gt; folder per Installation Guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But so far, no matter what format/name that I have used I get the following error:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;[--------------------------------- SetCertStorePermissions : FilePermissions -----------------------------------]&#xA;WARNING: Could not find Cert: sc9-cert in Cert:\Localmachine\My&#xA;Install-SitecoreConfiguration : Unable to parse&#xA;[ResolveCertificatePath(variable('Security.XConnect.CertificatePath'))] - Exception calling &quot;InvokeWithContext&quot;&#xA;&quot;2&quot; argument(s): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common&#xA;parameter is set to Stop: Cert:\Localmachine\My is not a valid Certificate Path&quot;&#xA;At line:1 char:1&#xA;+ Install-SitecoreConfiguration -Path &quot;D:\downloads\sitecore\sif\Siteco ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="2727" LastEditDate="2018-03-09T17:13:54.637" LastActivityDate="2018-03-09T17:13:54.637" Title="Sitecore 9 - XP0 - xConnect Cert requirements?" Tags="|sitecore-install-framework|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8115" PostTypeId="2" ParentId="8114" CreationDate="2017-10-23T03:21:24.003" Score="7" Body="&lt;p&gt;Installation Guide has the answers, but you have to skip ahead to Section 5.1 and 5.2. Section 5.2 has an example script to use&lt;/p&gt;&#xA;&lt;p&gt;You can download the guide here:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Section 5.1 has details and Section 5.2 has PowerShell script that has this section for xConnect:&lt;/p&gt;&#xA;&lt;h1&gt;deploy xConnect instance&lt;/h1&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt; $xConnectParams = @{&#xA;&#xA;   Path = &amp;quot;$PSScriptRoot\xconnect-xp0.json&amp;quot;    &#xA;   Package = &amp;quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip&amp;quot;&#xA;   LicenseFile = &amp;quot;$PSScriptRoot\license.xml&amp;quot;&#xA;   Sitename = $XConnectCollectionService&#xA;   XConnectCert = $certParams.CertificateName&#xA;   SqlDbPrefix = $prefix&#xA;   SqlServer = $SqlServer&#xA;   SqlAdminUser = $SqlAdminUser&#xA;   SqlAdminPassword = $SqlAdminPassword&#xA;   SolrCorePrefix = $prefix&#xA;   SolrURL = $SolrUrl&#xA; }&#xA; Install-SitecoreConfiguration @xConnectParams &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;One other thing that caught me during this, the Solr Documentation (found here: &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&quot; rel=&quot;noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&lt;/a&gt; ) states:&#xA;Client Authentication Settings&#xA;Enable either SOLR_SSL_NEED_CLIENT_AUTH or SOLR_SSL_WANT_CLIENT_AUTH but not both at the same time. They are mutually exclusive and Jetty will select one of them which may not be what you expect.&lt;/p&gt;&#xA;&lt;p&gt;So, I had tried setting SOLR_SSL_NEED_CLIENT_AUTH=true; .. no go. Keep them both false and everything worked for me. http - no, https - success.&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-10-23T15:39:31.217" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8116" PostTypeId="2" ParentId="8105" CreationDate="2017-10-23T06:07:19.917" Score="1" Body="&lt;p&gt;The best place to start when you are creating your custom paginable rendering is to investigate Page Content feature. This is the place where Page List rendering is located - it's supporting pagination. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Few things which have to be done:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;controller - you controller should inherit from &lt;code&gt;PaginableController&lt;/code&gt; and provide pagination configuration. Just investigate &lt;code&gt;PageListController&lt;/code&gt;, everything is there&lt;/li&gt;&#xA;&lt;li&gt;repository - your repository which is providing model should take into account how many elements skip and how many take for a certain page (those are params from pagination configuration provided by the controller)&lt;/li&gt;&#xA;&lt;li&gt;config entry - this is probably what you are missing, take a look at &lt;code&gt;Sitecore.XA.Feature.PageContent.config&lt;/code&gt; file of (&lt;code&gt;Sitecore.XA.Feature.Media.config&lt;/code&gt;), you will find there &lt;code&gt;&amp;lt;paginationEnabledRenderings&amp;gt;&lt;/code&gt; element - simply put there your rendering id&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is how this config entry looks for Page List:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;experienceAccelerator&amp;gt;&#xA;&#xA;      ...&#xA;&#xA;      &amp;lt;!-- List of renderings that support pagination. --&amp;gt;&#xA;      &amp;lt;paginationEnabledRenderings&amp;gt;&#xA;        &amp;lt;rendering id=&quot;{2E991AA4-4B08-43D2-AD2B-17C11E69A499}&quot; name=&quot;Page List&quot;/&amp;gt;&#xA;      &amp;lt;/paginationEnabledRenderings&amp;gt;&#xA;&#xA;      ...&#xA;&#xA;    &amp;lt;/experienceAccelerator&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-10-23T06:07:19.917" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8117" PostTypeId="1" CreationDate="2017-10-23T10:23:28.317" Score="3" ViewCount="634" Body="&lt;p&gt;Sitecore support has suggested that following code has an issue after analyzing the &lt;code&gt;w3wp&lt;/code&gt; process dumps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Glass.Mapper.IoC.AbstractConfigFactory&lt;/code&gt; class has many lock syntax. This locked variable may be occupied by an unknown thread, but 82 threads with the same stack trace are waiting for this to be resolved. It looks related to the CPU spike.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please help me in this issue?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Glass.Mapper.IoC.AbstractConfigFactory`1[[System.__Canon, mscorlib]].GetItems()+53 &#xA;  Glass.Mapper.AbstractService..ctor(Glass.Mapper.Context)+55 &#xA;  Glass.Mapper.Sc.SitecoreService..ctor(Sitecore.Data.Database, System.String)+37 &#xA;  MyDomain.Extensions.ItemExtensions.Cast[[System.__Canon, mscorlib]](Sitecore.Data.Items.Item, Boolean, Boolean)+a6 &#xA;  DynamicClass.lambda_method(System.Runtime.CompilerServices.Closure, System.Web.Mvc.ControllerBase, System.Object[])+4f &#xA;  System.Web.Mvc.ReflectedActionDescriptor.Execute(System.Web.Mvc.ControllerContext, System.Collections.Generic.IDictionary`2)+f2&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1116" LastEditorUserId="70" LastEditDate="2017-10-23T14:01:49.817" LastActivityDate="2017-10-23T14:01:49.817" Title="Glassmapper causing high CPU usage on Sitecore publishing in two CD servers" Tags="|glass-mapper|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8118" PostTypeId="1" CreationDate="2017-10-23T12:38:58.077" Score="5" ViewCount="203" Body="&lt;p&gt;Does exm only support xsl rendering for placeholders ? &#xA;If yes what is the best way to build an email template from like 8 different components? Which are html based.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using EXM 3.5.0 170810 (the newest and the greatest)&lt;/p&gt;&#xA;" OwnerUserId="2594" LastEditorUserId="73" LastEditDate="2017-11-23T11:29:21.750" LastActivityDate="2017-11-23T11:29:21.750" Title="EXM placeholders supporting only XSL renderings?" Tags="|exm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8119" PostTypeId="2" ParentId="8118" CreationDate="2017-10-23T12:45:19.137" Score="1" Body="&lt;p&gt;No, you can create your own rendering in MVC or Webforms. To start with, you can install Sample Newsletter package which come as optional package in EXM installation. If you check Sitecore branch templates for EXM, you can follow similar principles to develop your own renderings, layout and placceholders in EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For step by step instruction, you can refer below documentation&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_messages/types_and_templates/walkthrough_building_a_custom_message_template&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/configuring_messages/types_and_templates/walkthrough_building_a_custom_message_template&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-10-23T13:12:56.390" LastActivityDate="2017-10-23T13:12:56.390" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8120" PostTypeId="1" CreationDate="2017-10-23T13:08:19.210" Score="5" ViewCount="419" Body="&lt;p&gt;I am trying to customize password expiration in Sitecore 8.1.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned in  &lt;a href=&quot;https://sitecorejunkie.com/2013/06/08/enforce-password-expiration-in-the-sitecore-cms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; I have added a pipeline before the LogingIn pipeline to check whether the time span for password expiration has exceeded for the user and if exceeded the user is navigated to &lt;code&gt;changepassword.aspx&lt;/code&gt; page.&lt;br&gt;&#xA;In Sitecore 8.2 change password opens as a dialog which is available in &lt;code&gt;/sitecore/shell/Applications/Security/ChangePassword/changepassword.aspx&lt;/code&gt;.&lt;br&gt;&#xA; As per this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/7647/force-password-expiration&quot;&gt;Sitecore beta question&lt;/a&gt; I tried to create a custom &lt;code&gt;changepassword.aspx&lt;/code&gt; by copying from original page and placing it in &lt;code&gt;sitecore/login/&lt;/code&gt;&lt;br&gt;&#xA;I changed the &lt;code&gt;login&lt;/code&gt; site definition to include &lt;code&gt;loginPage&lt;/code&gt; property (ex: &lt;code&gt;&amp;lt;site name=&quot;login&quot; ... loginPage=&quot;/sitecore/login&quot; /&amp;gt;&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click the Login button on the home screen instead of getting redirected to &lt;code&gt;changepassword.aspx&lt;/code&gt; page, it's loading the same page with &lt;code&gt;returnUrl=%2Fsitecore%2Flogin%2Fcustomchangepassword.aspx&lt;/code&gt; appended to the URL as a query string.&lt;br&gt;&#xA;Please suggest a way to redirect to &lt;code&gt;customchangepassword.aspx&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1468" LastEditorUserId="4050" LastEditDate="2019-12-31T01:37:18.543" LastActivityDate="2019-12-31T01:37:18.543" Title="Custom change password page for Sitecore 8.1 - Password expiration" Tags="|sitecore-client|login|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8121" PostTypeId="2" ParentId="8120" CreationDate="2017-10-23T14:06:57.673" Score="1" Body="&lt;p&gt;The change password page is no longer available to an anonymous user. Because of that choosing to not log the user in like the linked article will not work without removing the restriction to that page. Removing that restriction will not actually work since it requires a logged in user to get who to change the password for. The new change password form has current password, changed password, and confirm changed password fields so there's no way to choose a username from that. You can create a custom form like the old version however I believe Sitecore probably did this for a security reason so I wouldn't go that route and would instead follow &lt;a href=&quot;https://sitecore.stackexchange.com/questions/7647/force-password-expiration&quot;&gt;the question you linked&lt;/a&gt;. You would need to remove the code from the linked article which does not let the user log in.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-10-23T14:06:57.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8122" PostTypeId="2" ParentId="8114" CreationDate="2017-10-23T14:09:05.703" Score="2" Body="&lt;p&gt;The short answer to solve this issue, assuming you are trying to setup a local development environment or sandbox, is that you need to have your self signed certificate which you can create from IIS and put in the place where the SIF will try to find it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The location where the SIF is trying to look is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;LocalMachine &gt; Personal (My)&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The self signed certificate from IIS is not located there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't want touch the .json files then copy and paste the certificate which is located in:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;LocalMachine &gt; WebHosting&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copy/paste the certificate to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;LocalMachine &gt; Personal &gt; Certificates&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After pasting the certificate to the location obtain the thumbprint from the certificate and get rid of the white-spacing so you keep a number of 43 hexadecimal characters. That is the number you can use for the installation.&lt;/p&gt;&#xA;" OwnerUserId="1406" LastEditorUserId="1406" LastEditDate="2017-10-23T14:27:55.810" LastActivityDate="2017-10-23T14:27:55.810" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8123" PostTypeId="2" ParentId="1211" CreationDate="2017-10-23T14:41:35.583" Score="0" Body="&lt;p&gt;I have installed an instance or two using Docker. Unfortunately, it seems it doesn't have the exact versions we need for Sitecore compatibility at the moment - 4.10.4 and 6.6.1. Hopefully, they will get added, as Docker seems like it could potentially be a much easier way to host Solr as a container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Official Solr containers here: hub.docker.com/_/solr &lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are Linux containers though and don't have many of the versions that are recommended for compatibility. You will definitely want to make sure you are using the compatible/supportable version of Solr for your version of Sitecore. See this KB article for the compatibility table: &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can't wait until, hopefully someday, Sitecore is .NET Core based and can run in a Linux container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may be interested in this question on How to run MongoDb and Solr via Docker: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2015/how-do-i-run-mongodb-and-solr-docker-images-that-work-with-windows-server-2016/2041#comment12324_2041&quot;&gt;How do I run MongoDB and SOLR Docker images that work with Windows Server 2016?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="2395" LastEditDate="2017-10-23T18:46:45.443" LastActivityDate="2017-10-23T18:46:45.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8124" PostTypeId="1" AcceptedAnswerId="8125" CreationDate="2017-10-23T15:58:48.990" Score="6" ViewCount="1740" Body="&lt;p&gt;I am converting a Lucene custom index to a SOLR custom index. I got the Cores working for the default indexes, but having trouble converting my custom indexes. I got through some of the issues, but the following error I am not sure what is causing it. Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unable to process 'AddFieldByFieldName' config section&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;news_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&#xA;        &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;&amp;gt;&#xA;&#xA;          &amp;lt;fieldMap             type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot; ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;headline&quot;                storageType=&quot;YES&quot;  indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.SolrProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="853" LastEditorUserId="277" LastEditDate="2017-10-23T16:07:22.007" LastActivityDate="2017-10-23T16:19:19.627" Title="SOLR Custom Index Causing Error" Tags="|solr|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8125" PostTypeId="2" ParentId="8124" CreationDate="2017-10-23T16:19:19.627" Score="6" Body="&lt;p&gt;You should change this&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot; ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;  &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;headline&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;      &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.SolrProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;/field&amp;gt;&#xA;  &amp;lt;/fieldNames&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;  &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;headline&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;  &amp;lt;/fieldNames&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should match the expected Solr config.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-10-23T16:19:19.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8126" PostTypeId="1" CreationDate="2017-10-23T16:50:12.037" Score="2" ViewCount="213" Body="&lt;p&gt;From Sitecore Desktop - Start - All Applications - Run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The dialog states: &quot;Type the name of a application, folder, document or Internet resource, and Sitecore will open it for you.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the only thing I've got to work so far, is entering path to &lt;code&gt;[[core]/Sitecore/Content/Applications/]&lt;/code&gt; .. by entering for example: &lt;code&gt;Security/Role Manager&lt;/code&gt; in the popup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am just curious as the wording of the dialog stating an &quot;Internet Resource&quot;. Can this be used for any other things besides launching Applications?&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="2395" LastEditDate="2017-10-23T18:09:54.533" LastActivityDate="2017-10-23T18:09:54.533" Title="Sitecore Desktop - Start - All Applications - Run - what all can you do with it?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8128" PostTypeId="2" ParentId="8126" CreationDate="2017-10-23T17:49:22.760" Score="1" Body="&lt;p&gt;It really is just for running an application from Sitecore, which is where the &lt;code&gt;Browse&lt;/code&gt; button links you to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You &lt;em&gt;can&lt;/em&gt; put in an external web resource in, like &lt;code&gt;http://www.startrek.com/images/TNG.jpg&lt;/code&gt; - but out of the box sitecore has the &lt;code&gt;X-Frame-Options&lt;/code&gt; set to &lt;code&gt;sameorigin&lt;/code&gt; and so it prevents anything like that loading in the &lt;code&gt;IFrame&lt;/code&gt;. You will get this error in the browser:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Refused to display '&lt;a href=&quot;http://www.startrek.com/images/TNG.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.startrek.com/images/TNG.jpg&lt;/a&gt;' in a frame because it set 'X-Frame-Options' to 'sameorigin'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-10-23T17:49:22.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8129" PostTypeId="1" CreationDate="2017-10-23T18:10:07.993" Score="3" ViewCount="983" Body="&lt;p&gt;In our project we have requirement to transfer data from  one controller action to another but MVC tempdata is becoming null and not retaining the value between two actions call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a work around we are using session object but wanted to check with this forum if there is any potential solution to this problem.&lt;/p&gt;&#xA;" OwnerUserId="1861" LastActivityDate="2018-02-02T07:52:48.470" Title="SItecore 8.2 - MVC Tempdata object is not keeping value between two actions call" Tags="|mvc|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8130" PostTypeId="2" ParentId="955" CreationDate="2017-10-23T18:15:00.153" Score="1" Body="&lt;p&gt;Another Option, available since Sitecore 7.0, there has been an admin tool called LINQ ScratchPad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would simply adjust the LINQ Query as needed (similiar to Option 2) above, except no ASPX needed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var item = Sitecore.Data.Database.GetDatabase(&quot;master&quot;).GetItem(&quot;/sitecore/templates/Project/Playground/Page&quot;);&#xA;var itemReferrers = Sitecore.Globals.LinkDatabase.GetItemReferrers(item, true)&#xA;    .Select(link =&amp;gt; link.GetSourceItem())&#xA;    .Where(i =&amp;gt; i.Name.Equals(&quot;__Standard Values&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-linqscratchpad&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-linqscratchpad&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="73" LastEditDate="2017-10-23T18:25:57.213" LastActivityDate="2017-10-23T18:25:57.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8131" PostTypeId="2" ParentId="8129" CreationDate="2017-10-23T18:27:21.147" Score="1" Body="&lt;p&gt;If you need to store something for longer than the current and next request I suggest you use Session, a cookie or a database to store your value.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-10-23T18:27:21.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8132" PostTypeId="2" ParentId="8118" CreationDate="2017-10-23T18:57:18.573" Score="1" Body="&lt;p&gt;You can create your message with Sitecore MVC instead of xslt. The same steps as for create page: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;create layout for message&lt;/li&gt;&#xA;&lt;li&gt;split your message template to separate small components &lt;/li&gt;&#xA;&lt;li&gt;create components&lt;/li&gt;&#xA;&lt;li&gt;add placeholders&#xA;... etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Don’t forgot about to add &lt;code&gt;Set Page title&lt;/code&gt; rendering &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5592/exm-subject-field-is-empty&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-10-23T18:57:18.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8133" PostTypeId="2" ParentId="7755" CreationDate="2017-10-23T22:53:14.487" Score="1" Body="&lt;p&gt;I received a response that this is a bug in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;The issue happens due to the Experience Explorer executes the conditions at the time when the contact is already released. The experience explorer processors are executed on the HttpRequestEnd event and the contact is released on HttpRequestProcessed event, which happens earlier.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contact Sitecore Support if you are experiencing this issue and need the patch file.  The reference number for this patch is: 70639&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2017-10-23T22:53:14.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8134" PostTypeId="2" ParentId="5719" CreationDate="2017-10-23T23:04:12.667" Score="0" Body="&lt;p&gt;Handle BeginRequest event in Global.asax. This worked for me as rewrite module was absent on server.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void Application_BeginRequest(object sender, EventArgs e)&#xA;{                &#xA;    switch (Request.Url.Scheme)&#xA;    {&#xA;        case &quot;https&quot;:&#xA;            Response.AppendHeader(&quot;Strict-Transport-Security&quot;, &quot;max-age=31536000&quot;);&#xA;            break;&#xA;        case &quot;http&quot;:&#xA;            var path = &quot;https://&quot; + Request.Url.Host + Request.Url.PathAndQuery;&#xA;            Response.Status = &quot;301 Moved Permanently&quot;;&#xA;            Response.AddHeader(&quot;Location&quot;, path);&#xA;            break;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2601" LastEditorUserId="1000" LastEditDate="2017-10-24T03:09:02.110" LastActivityDate="2017-10-24T03:09:02.110" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8135" PostTypeId="2" ParentId="1211" CreationDate="2017-10-24T00:43:48.107" Score="0" Body="&lt;p&gt;Another option we ended up using was to write our own Windows service to run the standalone Solr installation. That way you have full control of the service and parameters via a config file, so you can change things more on-the-fly rather than manipulating the registry to change service parameters, like you might for NSSM.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-10-24T00:43:48.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8136" PostTypeId="1" AcceptedAnswerId="9843" CreationDate="2017-10-24T00:47:44.830" Score="4" ViewCount="261" Body="&lt;p&gt;This is a Sitecore 8.1 Update 2 installation. I'm getting the errors that are described in this blog post when I try to view the form reports: &lt;a href=&quot;http://blog.ryanbailey.co.nz/2017/09/sitecore-wffm-form-reports-are-empty.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.ryanbailey.co.nz/2017/09/sitecore-wffm-form-reports-are-empty.html&lt;/a&gt;. It's the triple set of errors, one of which includes &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The parameters dictionary contains a null entry for parameter 'id' of non-nullable type 'System.Guid' for method 'System.Web.Mvc.ActionResult GetFormFieldsStatistics(System.Guid)' in 'Sitecore.WFFM.Services.Requests.Controllers.FormReportsController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.&#xA;  Parameter name: parameters&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is a standalone development machine for now, but in production the CM would be the reporting server as well (it's a 1 CM/2 CD model). Looking at the referenced blog, I confirmed I have the four Sitecore items present, and I have run the SQL script to create the objects in my Sitecore reporting database. I haven't changed any of the default configurations, so it's using the analytics form provider, but this client license doesn't have xDB enabled. In this case, do I need to switch to the SQL form provider instead to capture the data in the form reports?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="70" LastEditDate="2017-10-24T00:55:07.267" LastActivityDate="2018-02-02T13:57:17.857" Title="WFFM 500 errors" Tags="|xdb|wffm|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8137" PostTypeId="1" AcceptedAnswerId="8401" CreationDate="2017-10-24T02:33:07.320" Score="3" ViewCount="178" Body="&lt;p&gt;I'd like to have an idea on how to compare data in Sitecore that was created by Data Exchange Framework using Dynamic CRM Connect during Synchronization. I'd like to do this by running the Synchronization and based on that compare I will do some custom changes like deleting the sitecore item if it doesn't exist already in CRM Entity. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastActivityDate="2017-11-09T21:20:38.503" Title="Custom Pipeline to compare Sitecore records to Dynamics CRM in DEF" Tags="|pipelines|data-exchange-framework|dynamics-crm-module|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8138" PostTypeId="1" AcceptedAnswerId="8139" CreationDate="2017-10-24T03:16:59.970" Score="3" ViewCount="548" Body="&lt;p&gt;my project in visual studio needs Sitecore.EmailCampaign reference but I can not find its .dll file on the Internet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I'd like to know where and how to download Sitecore.EmailCampaign and than install it to Sitecore. I've heard that in order to add this reference, we have to attach Email Experience Manager (EXM) to our sitecore instance. I also tried to watch some Youtube videos but they do not show how to import EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what I've read before:&#xA;&lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/getting_started_with_exm/email_campaigns/create_an_email_campaign&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/getting_started_with_exm/email_campaigns/create_an_email_campaign&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link to download:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email_Experience_Manager/Email_Experience_Manager_34/Email_Experience_Manager_34_Update2.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But there are so many package for EXM, and we have to install what ?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/n1Eps.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/n1Eps.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2516" LastEditorUserId="2516" LastEditDate="2017-10-24T03:22:41.340" LastActivityDate="2017-10-24T04:20:08.097" Title="How to install Sitecore.EmailCampaign.dll?" Tags="|sitecore-client|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8139" PostTypeId="2" ParentId="8138" CreationDate="2017-10-24T03:31:06.683" Score="2" Body="&lt;p&gt;Its on the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Nuget server&lt;/a&gt;. Just reference Sitecore's nuget in your Visual Studio and pull it down.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VbRwq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VbRwq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a direct link to the package for your review.&#xA;&lt;a href=&quot;https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore.EmailCampaign&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore.EmailCampaign&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are unsure of how to add a custom nuget site to your visual studio, you have two options.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Do it in Visual Studio's &lt;a href=&quot;https://docs.microsoft.com/en-us/vsts/package/nuget/consume&quot; rel=&quot;nofollow noreferrer&quot;&gt;nuget settings&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Do it via a Nuget.config. I like this best because it allows all my developers to have access with no effort. In the root of your project, create a new file called Nuget.config. In that config, add the XML below.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;nuget.config&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;packageSources&amp;gt;&#xA;    &amp;lt;add key=&quot;nuget.org&quot; value=&quot;https://www.nuget.org/api/v2/&quot; /&amp;gt;&#xA;    &amp;lt;add key=&quot;sitecore&quot; value=&quot;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&quot; /&amp;gt;&#xA;  &amp;lt;/packageSources&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2017-10-24T03:40:48.300" LastActivityDate="2017-10-24T03:40:48.300" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="8140" PostTypeId="2" ParentId="8138" CreationDate="2017-10-24T04:13:30.033" Score="1" Body="&lt;p&gt;What you are seeing are the packages for the Sitecore scaled environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In such environment depending on your Sitecore license, you need to install separate packages for analytics, reporting, CM and CD servers (In production environment, it is generally recommended to have different servers for Analytics, Reporting, Content Management and Delivery). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are currently working with instance where you don't have scaled environment, you just need to install the package &lt;strong&gt;Email Experience Manager 3.4.2 rev.170713.zip&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then use package installation wizard to install EXM package. This will install all required dlls in your sitecore instance's bin folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With Regards to project references, &lt;strong&gt;Chris&lt;/strong&gt; has already explained the best way to manage references. If you are not using nuget packages, check your Sitecore references folder path and you can manually copy Email.Campaign.dll in your references/Lib folder &lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2017-10-24T04:20:08.097" LastActivityDate="2017-10-24T04:20:08.097" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8141" PostTypeId="2" ParentId="7655" CreationDate="2017-10-24T05:52:31.257" Score="1" Body="&lt;p&gt;Ended up finding a solution to this, if anyone was wondering how to get around it, apparently the old Web API still works in V8.2.4 so basically i implemented the media creating logic available in the old Web API, see link in question for the documentations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was under the impression that the old Web API doesn't work anymore in V8+ but got confirmation from Sitecore that this is not the case and there are no plans to deprecate the Old Web API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in a nutshell now got a hybrid application with new and old API logic.&lt;/p&gt;&#xA;" OwnerUserId="2197" LastActivityDate="2017-10-24T05:52:31.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8142" PostTypeId="1" AcceptedAnswerId="8271" CreationDate="2017-10-24T05:52:53.700" Score="4" ViewCount="587" Body="&lt;p&gt;Anyone got the same issue upon the provisioning of Sitecore Web Experience Manager (XM) using Azure PaaS offering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've just followed the steps provided in Azure with $50 remaining credits in my account, but while the '&lt;strong&gt;deployment in progress...&lt;/strong&gt;' suddenly it failed after 20-30 minutes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0CCBb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0CCBb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new Resource Group name&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Configure the Sitecore Settings&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Version: v.8.2 Update 4 or Update 5&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Topology: Sitecore Web Experience Manager (XM)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Size: 1-3&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Location: West Europe (Tried Southeast asia too)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Application Insights: West Europe&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Credentials: *****&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Accept the License Agreement and hit OK.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here's the error message:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NOhOm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NOhOm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{  &#xA;   &quot;status&quot;:&quot;Failed&quot;,&#xA;   &quot;error&quot;:{  &#xA;      &quot;code&quot;:&quot;ResourceDeploymentFailure&quot;,&#xA;      &quot;message&quot;:&quot;The resource operation completed with terminal provisioning state 'Failed'.&quot;,&#xA;      &quot;details&quot;:[  &#xA;         {  &#xA;            &quot;code&quot;:&quot;DeploymentFailed&quot;,&#xA;            &quot;message&quot;:&quot;At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.&quot;,&#xA;            &quot;details&quot;:[  &#xA;               {  &#xA;                  &quot;code&quot;:&quot;BadRequest&quot;,&#xA;                  &quot;message&quot;:&quot;{\r\n \&quot;code\&quot;: \&quot;BadRequest\&quot;,\r\n \&quot;message\&quot;: \&quot;Bad Request\&quot;,\r\n \&quot;innererror\&quot;: {\r\n \&quot;diagnosticcontext\&quot;: \&quot;f4007f36-398d-4f6f-a408-8eca6d373549\&quot;,\r\n \&quot;time\&quot;: \&quot;2017-10-24T03:58:53.3083676Z\&quot;\r\n }\r\n}&quot;&#xA;               }&#xA;            ]&#xA;         }&#xA;      ]&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Moreover, I've checked this article from MS on how to troubleshoot azure deployment issues, but it doesn't totally makes sense to me as it's just plain and simple 'follow-the-steps-in-azure' - &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-common-deployment-errors&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-common-deployment-errors&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;[Update-1]&lt;/strong&gt; To add, the resources are visible and I can go to each details. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/P992m.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P992m.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can even hit the URL of the Sitecore CM and the page will load fine. However, I have noticed that upon page load it will display the azure page and not the sitecore default homepage, also the /sitecore/login is not accessible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0hWBI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0hWBI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I've done this few months back, but then when I tried now I received this error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas? &lt;/p&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="73" LastEditDate="2017-10-24T09:05:04.187" LastActivityDate="2017-12-11T23:26:14.423" Title="Sitecore Azure PaaS Deployment - ResourceDeploymentFailure | DeploymentFailed | BadRequest" Tags="|azure|deployment|paas|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8143" PostTypeId="1" CreationDate="2017-10-24T14:44:34.040" Score="3" ViewCount="574" Body="&lt;p&gt;After sitecore 8.2 upgrade 4 , we are not getting item language fallback value for item fields which are not shared , These items has value in en language and not in en-GB. But in the same scenario , we are getting value for the shared fields. We had made all three required setting as below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) We had set fallback language en for en-GB language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/00T6G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/00T6G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) In site definition also we had enable item language fallback setting as true. i.e &quot;enableItemLanguageFallback=true&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) And we also checked the &quot;Enable Item Fallback&quot; field on that particular item.&lt;/p&gt;&#xA;" OwnerUserId="1422" LastEditorUserId="1422" LastEditDate="2017-10-30T14:38:53.650" LastActivityDate="2017-10-30T14:38:53.650" Title="After sitecore 8.2 update 4 upgrade item level language fallback not working for non shared fields" Tags="|upgrade|language-fallback|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8144" PostTypeId="1" AcceptedAnswerId="8145" CreationDate="2017-10-24T15:38:55.970" Score="6" ViewCount="2093" Body="&lt;p&gt;Basically, I'd like to define a MVC layout in Sitecore, and have that layout be linked to both a controller and a razor file.  Currently there are only options to set the Razor file, not the controller. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Goal: have the controller on the layout, set the properties that define the header and footer links.  The properties are passed through to the header/footer renderings Sitecore render or MVC partial.  The goal is to only call the controller once to pull the necessary data for the header and footer links, instead of twice, once in the header and footer controllers.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;HomeController.LayoutActionResult&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create instance of View Model&lt;/li&gt;&#xA;&lt;li&gt;Set ViewModel.Header.Info&lt;/li&gt;&#xA;&lt;li&gt;Set ViewModel.Footer.Info&lt;/li&gt;&#xA;&lt;li&gt;Return View(/layout/MainLayout, ViewModel)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Views//ayout/MainLayout.cshtml&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;stuff html&lt;/li&gt;&#xA;&lt;li&gt;@Html()...(/static/path/to/header, Model.Header)&lt;/li&gt;&#xA;&lt;li&gt;more html&lt;/li&gt;&#xA;&lt;li&gt;@Html()...(/static/path/to/footer, Model.Footer)&lt;/li&gt;&#xA;&lt;li&gt;more html&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="197" LastActivityDate="2023-05-26T06:25:51.080" Title="What's the option for calling a controller on a Sitecore MVC Layout?" Tags="|mvc|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8145" PostTypeId="2" ParentId="8144" CreationDate="2017-10-24T16:12:10.910" Score="2" Body="&lt;p&gt;Unfortunately, this is not currently possible OOTB with Sitecore's MVC engine. Because, as you point out, for a Layout Sitecore only allows for a Razor file. And it uses that files extension to determine that it is a razor view and then uses the MVC engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an older question asking basically the same thing (although not as elegantly worded) on regular stackoverflow: &lt;a href=&quot;https://stackoverflow.com/questions/27006580/how-to-use-mvc-controllers-for-layours-in-sitecore&quot;&gt;https://stackoverflow.com/questions/27006580/how-to-use-mvc-controllers-for-layours-in-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, as with practically anything else in Sitecore, you could probably create a new Layout template - Controller Layout, that has a Controller and Action field, like a Controller rendering. Then, using Sitecore's pipeline architecture, patch into the appropriate pipeline (most likely the httpRequestBegin) to then detect and handle your new Layout type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my humble opinion, it seems like a lot of work without much to gain. As, you are simply moving the logic from two separate Controller Renderings for the Header and Footer into a single controller for the Layout and should still keep the actual logic for the header and footer separated anyway.&lt;/p&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2017-10-24T16:12:10.910" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8146" PostTypeId="1" AcceptedAnswerId="8505" CreationDate="2017-10-24T17:36:42.123" Score="4" ViewCount="2517" Body="&lt;p&gt;I am unable to build the Coveo for Sitecore master index. While the rebuild is supposedly happening, the number of items processed is always 0. In the Sources of the cloud panel, the index doesn't even show that it is rebuilding. After about 3-5 minutes, I see this message in Indexing Manager: &lt;code&gt;An error occurred while rebuilding the search index.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore logs, this is what I see in the latest log every time I rebuild the index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;20132 12:19:40 WARN  A duplicate setting &quot;ContentSearch.SearchMaxResults&quot; has been detected in the Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config file. The value of the setting will be changed to &quot;15000&quot;.&#xA;20132 12:19:41 WARN  Unable to validate the Sitecore credentials. You can disable this validation using the &quot;SkipSitecoreLoginCheck&quot; configuration element. But, be aware that wrong Sitecore credentials will prevent the permissions from being applied correctly on indexed documents.&#xA;Exception: System.Web.HttpException&#xA;Message: Request is not available in this context&#xA;Source: System.Web&#xA;   at System.Web.HttpContext.get_Request()&#xA;   at System.Web.Profile.SqlProfileProvider.GetPropertyValuesFromDatabase(String userName, SettingsPropertyValueCollection svc)&#xA;   at System.Web.Profile.SqlProfileProvider.GetPropertyValues(SettingsContext sc, SettingsPropertyCollection properties)&#xA;   at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)&#xA;   at System.Configuration.SettingsBase.SetPropertyValueByName(String propertyName, Object propertyValue)&#xA;   at System.Configuration.SettingsBase.set_Item(String propertyName, Object value)&#xA;   at System.Web.Profile.ProfileBase.SetInternal(String propertyName, Object value)&#xA;   at System.Web.Profile.ProfileBase.set_Item(String propertyName, Object value)&#xA;   at Sitecore.Security.UserProfile.&amp;lt;&amp;gt;c__DisplayClassf.&amp;lt;SetPropertyValueCore&amp;gt;b__e()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.ExecuteNoResult(Action action, Action recover)&#xA;   at Sitecore.Security.UserProfile.SetPropertyValueCore(String propertyName, Object value)&#xA;   at Sitecore.Security.UserProfile.get_CustomProperties()&#xA;   at Sitecore.Security.UserProfile.GetCustomProperty(String propertyName)&#xA;   at Sitecore.Security.SecurityUtil.GetUserDigestCredentials(User user, Boolean withoutDomain)&#xA;   at Sitecore.Security.SecurityUtil.UpdateDigestCredentials(String username, String password)&#xA;   at Sitecore.Security.SitecoreMembershipProvider.ValidateUser(String username, String password)&#xA;   at Coveo.Framework.Utils.AuthenticationManagerWrapper.ValidateCredentials(String p_Username, String p_Password)&#xA;   at Coveo.Framework.Configuration.CoveoIndexConfiguration.ValidateSitecoreCredentials()&#xA;&#xA;20132 12:19:41 WARN  Unable to validate the Sitecore website. You can disable this validation using the &quot;SkipSiteNameValidation&quot; configuration element. But, be aware that using an invalid site name will prevent the Coveo security provider from resolving permissions.&#xA;Exception: System.Web.HttpException&#xA;Message: Response is not available in this context.&#xA;Source: System.Web&#xA;   at System.Web.HttpContext.get_Response()&#xA;   at Sitecore.Security.Authentication.AuthenticationHelper.HandleAuthenticationError()&#xA;   at Sitecore.Security.Authentication.FormsAuthenticationHelper.GetCurrentUser()&#xA;   at Sitecore.Security.Authentication.AuthenticationHelper.GetActiveUser()&#xA;   at Sitecore.Security.Authentication.AuthenticationManager.GetActiveUser()&#xA;   at Sitecore.Context.get_Culture()&#xA;   at Sitecore.Caching.HtmlCache..ctor(SiteInfo site, Int64 maxSize)&#xA;   at Sitecore.Web.SiteInfo.CreateCaches(StringDictionary properties)&#xA;   at Sitecore.Web.SiteInfo..ctor(StringDictionary properties)&#xA;   at Sitecore.Sites.SiteContextFactory.GetSites()&#xA;   at Sitecore.Sites.SiteContextFactory.GetSiteInfo(String name)&#xA;   at Sitecore.Sites.SiteContextFactory.GetSiteContext(String name)&#xA;   at Coveo.Framework.Sites.SiteContextFactoryWrapper.GetSiteContext(String p_SiteName)&#xA;   at Coveo.Framework.Configuration.CoveoIndexConfiguration.ValidateSiteName()&#xA;&#xA;20132 12:19:41 WARN  Unable to validate the Sitecore credentials. You can disable this validation using the &quot;SkipSitecoreLoginCheck&quot; configuration element. But, be aware that wrong Sitecore credentials will prevent the permissions from being applied correctly on indexed documents.&#xA;Exception: System.Web.HttpException&#xA;Message: Request is not available in this context&#xA;Source: System.Web&#xA;   at System.Web.HttpContext.get_Request()&#xA;   at Sitecore.Web.WebUtil.GetCookieValue(String key, String defaultValue)&#xA;   at Sitecore.Web.WebUtil.GetCookieValue(String key)&#xA;   at Sitecore.Configuration.ClientDataStore.GetValue(String name)&#xA;   at Sitecore.Security.Authentication.FormsAuthenticationHelper.GetAuthenticationData(String key)&#xA;   at Sitecore.SecurityModel.UserRuntimeSettings.Load()&#xA;   at Sitecore.Security.Accounts.User.get_RuntimeSettings()&#xA;   at Sitecore.Security.UserProfile.IsUserVirtual()&#xA;   at Sitecore.Security.UserProfile.SetPropertyValueCore(String propertyName, Object value)&#xA;   at Sitecore.Security.UserProfile.get_CustomProperties()&#xA;   at Sitecore.Security.UserProfile.GetCustomProperty(String propertyName)&#xA;   at Sitecore.Security.SecurityUtil.GetUserDigestCredentials(User user, Boolean withoutDomain)&#xA;   at Sitecore.Security.SecurityUtil.UpdateDigestCredentials(String username, String password)&#xA;   at Sitecore.Security.SitecoreMembershipProvider.ValidateUser(String username, String password)&#xA;   at Coveo.Framework.Utils.AuthenticationManagerWrapper.ValidateCredentials(String p_Username, String p_Password)&#xA;   at Coveo.Framework.Configuration.CoveoIndexConfiguration.ValidateSitecoreCredentials()&#xA;&#xA;20132 12:19:41 WARN  Unable to validate the Sitecore website. You can disable this validation using the &quot;SkipSiteNameValidation&quot; configuration element. But, be aware that using an invalid site name will prevent the Coveo security provider from resolving permissions.&#xA;Exception: System.Web.HttpException&#xA;Message: Response is not available in this context.&#xA;Source: System.Web&#xA;   at System.Web.HttpContext.get_Response()&#xA;   at Sitecore.Security.Authentication.AuthenticationHelper.HandleAuthenticationError()&#xA;   at Sitecore.Security.Authentication.FormsAuthenticationHelper.GetCurrentUser()&#xA;   at Sitecore.Security.Authentication.AuthenticationHelper.GetActiveUser()&#xA;   at Sitecore.Security.Authentication.AuthenticationManager.GetActiveUser()&#xA;   at Sitecore.Context.get_Culture()&#xA;   at Sitecore.Caching.HtmlCache..ctor(SiteInfo site, Int64 maxSize)&#xA;   at Sitecore.Web.SiteInfo.CreateCaches(StringDictionary properties)&#xA;   at Sitecore.Web.SiteInfo..ctor(StringDictionary properties)&#xA;   at Sitecore.Sites.SiteContextFactory.GetSites()&#xA;   at Sitecore.Sites.SiteContextFactory.GetSiteInfo(String name)&#xA;   at Sitecore.Sites.SiteContextFactory.GetSiteContext(String name)&#xA;   at Coveo.Framework.Sites.SiteContextFactoryWrapper.GetSiteContext(String p_SiteName)&#xA;   at Coveo.Framework.Configuration.CoveoIndexConfiguration.ValidateSiteName()&#xA;&#xA;20132 12:19:41 WARN  The index Coveo_master_index has already been initialized.&#xA;20132 12:19:41 WARN  The index Coveo_web_index has already been initialized.&#xA;3360 12:19:49 WARN  Could not find constructor in ReflectionUtil.CreateObject: Sitecore.ListManagement.Analytics.UnlockContactListsAgent. The constructor parameters may not match or it may be an abstract class. Parameter info: Count: 0&#xA;3360 12:19:49 ERROR Error while instantiating agent. Definition: &amp;lt;agent type=&quot;Sitecore.ListManagement.Analytics.UnlockContactListsAgent, Sitecore.ListManagement.Analytics&quot; interval=&quot;00:30:00&quot; patch:source=&quot;Performance.config&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; /&amp;gt;&#xA;Exception: Sitecore.Exceptions.ConfigurationException&#xA;Message: Could not create instance of type: Sitecore.ListManagement.Analytics.UnlockContactListsAgent. No matching constructor was found.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Tasks.Scheduler.ReadAgents()&#xA;&#xA;&#xA;20132 12:19:54 WARN  [Sitecore Mvc]: Failed to register : Admin, A route named 'Admin_default' is already in the route collection. Route names must be unique.&#xA;Parameter name: name&#xA;20132 12:19:54 WARN  [Path Analyzer](ApplicationContainer.RegisterType) Failed for Sitecore.PathAnalyzer.Contracts.IWebRequestFactory. Config entry pathAnalyzer/webRequestFactory doesn't exist&#xA;17404 12:20:13 WARN  No session Id managers were found to manage the session Id for the current request. Default asp.net session manager will be used.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are multiple errors going on, and I'm not sure which is causing the issue. I just tried updating the Coveo for Sitecore login, but no luck.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="1344" LastEditDate="2018-03-25T18:40:58.113" LastActivityDate="2020-06-11T14:50:08.560" Title="An error occurred while rebuilding the search index" Tags="|indexing|coveo|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8147" PostTypeId="2" ParentId="8039" CreationDate="2017-10-24T17:53:15.217" Score="5" Body="&lt;p&gt;Unfortunately Dynamics CRM cannot send request to Sitecore to notify that entity was deleted. You can add a custom solution like &quot;Clean Up Sync&quot; pipeline batch to send a request to determine whether Dynamics Crm Entity exists by Sitecore record Id, if no remove record.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read Sitecore Records Pipeline:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get All Sitecore Records Step&lt;/li&gt;&#xA;&lt;li&gt;Iterate Step -&gt; [Clean Up Records Pipeline]&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Clean Up Records Pipeline:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find Dynamics Entity By Record Id Step&lt;/li&gt;&#xA;&lt;li&gt;Remove Sitecore Record if not found Step&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read Sitecore Records Pipeline:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create Queue Step&lt;/li&gt;&#xA;&lt;li&gt;Get All Sitecore Records Step&lt;/li&gt;&#xA;&lt;li&gt;Iterate Step -&gt; [Resolve Records Pipeline]&lt;/li&gt;&#xA;&lt;li&gt;Remove Bulk Records in Queue Step&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Resolve Records Pipeline:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find Dynamics Entity By Record Id Step&lt;/li&gt;&#xA;&lt;li&gt;Add Record to the Queue If Not Found Step&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Follow this example you can add one more Clean Up Sync but for the records which were removed from Sitecore. &lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2017-10-24T19:51:28.057" LastActivityDate="2017-10-24T19:51:28.057" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8148" PostTypeId="1" CreationDate="2017-10-25T02:42:28.267" Score="3" ViewCount="218" Body="&lt;p&gt;I'm having some problems configuring sitecore the way I need. I have 3 sites:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Site1&lt;/li&gt;&#xA;&lt;li&gt;Site2&lt;/li&gt;&#xA;&lt;li&gt;Site3&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Site1 url should be &lt;code&gt;www.site1.com&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site2 url should be &lt;code&gt;www.site2.com&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site3 url should be &lt;code&gt;www.site2.com/subsection/site3&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now obviously my problem is with Site3, I managed to configure it in the desired url but I'm having issues with the language specific urls. I need them to be like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;www.site2.com/subsection/site3/en&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;www.site2.com/subsection/site3/es&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But it seems instead I have&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;www.site2.com/en/subsection/site3&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;www.site2.com/es/subsection/site3&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This doesn't work for me because I need to have site3 all under the root of &lt;code&gt;www.site2.com/subsection/site3&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="2408" LastEditorUserId="70" LastEditDate="2017-10-25T14:42:31.147" LastActivityDate="2017-10-25T14:42:31.147" Title="Multiple sites and url management" Tags="|link-manager|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8149" PostTypeId="2" ParentId="846" CreationDate="2017-10-25T03:16:11.187" Score="2" Body="&lt;p&gt;Although this post was asked a year ago, I guess it's still worth to comment as every project has it's own flavor of deployment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what we do in our latest project whenever we want to deployment the hotfixes/change requests to Content Deliveries (CD) without downtime, as follow in order. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Environments:&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;PROD - Production Environment (Active) : 2 CD servers&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;DR - Disaster Recovery Environment (Inactive) : 2 CD servers&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Deployment Tools:&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Code Repository: Bitbucket/Github/TFS&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;TFS Online: Build&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Octopus Deploy: Manual/CI deployment&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Conduct Octopus Deploy to &lt;strong&gt;DR environment&lt;/strong&gt;, test and confirm if as expected. &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;As of this step, the DR CM/CD servers are accessible internal only. There's no downtime as the active servers are the PROD servers. &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Once the test are all confirmed passed, from A10 (Load Balancer), enable the 2 DR CD servers &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All 4 PROD and DR servers are up and serving the end users. &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Drain stop the 2 PROD CD servers, wait for the concurrent users to shift the their session to the 2 DR CD servers. &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;As of this step, the active servers are the DR CD servers with the latest hotfix/change requests, and the PROD servers are accessible internal only. &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Conduct another Octopus deploy to the &lt;strong&gt;PROD environment&lt;/strong&gt;, test and confirm if as expected. &lt;/li&gt;&#xA;&lt;li&gt;Once the test are all confirmed passed, switch back the PROD as the active servers via A10 Load balanacer control panel. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;With regards to the connectionstrings, our datasources are pointing to the Alias of the Database servers instead of using the master/slave DB servers hence the change to the connectionstring is a one time change only. &lt;/p&gt;&#xA;" OwnerUserId="1605" LastActivityDate="2017-10-25T03:16:11.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8150" PostTypeId="2" ParentId="8143" CreationDate="2017-10-25T07:01:54.377" Score="3" Body="&lt;p&gt;If you want to enable Language Fallback you must add patch or this file must exist &lt;code&gt;/App_Config/Include/Sitecore.LanguageFallback.config&lt;/code&gt; or any custom config that include the settings. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;LanguageFieldFallback.AllowVaryFallbackSettingsPerLanguage&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;!--Enable Item level language fallback - Allows a item to completely fall back to another language--&amp;gt;&#xA;      &amp;lt;!--Enable Field level language fallback - Allows control at the field level where only selected fields fall back to another language--&amp;gt;&#xA;      &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enforceVersionPresence&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;      &amp;lt;site name=&quot;shell&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableFieldLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also you should check the checkboxes on Template field level. Note that upon checking the '&lt;strong&gt;Enable field level fallback&lt;/strong&gt;' it is not necessary to manually tick this checkbox for each of the content node as this is a shared file under &lt;strong&gt;Advance&lt;/strong&gt; section of &lt;strong&gt;Standard Fields&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q5bPk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q5bPk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can verify that the language fallback is activated by checking the '&lt;strong&gt;Enable Item Fallback&lt;/strong&gt;' field in an item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The value of this field gets inherited as any other field within the active language. This also means you can override this setting on items if needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xBGpU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xBGpU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I prepared aspx pages for enable language fallback.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Field Level:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; %&amp;gt;&#xA;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore&quot; %&amp;gt;&#xA;&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;&#xA;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&#xA;&amp;lt;head runat=&quot;server&quot;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Sitecore Template Field Level Lang Fall Back Setup&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;%&#xA;        using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;        {&#xA;            var db = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;&#xA;            // Field Template Fields&#xA;            var items = db.SelectItems(&quot;fast:/sitecore/templates/User Defined//*&quot;);&#xA;&#xA;        foreach (var item in items)&#xA;        {&#xA;            item.Editing.BeginEdit();&#xA;            item.Fields[&quot;Enable Shared Language Fallback&quot;].Value = &quot;1&quot;;&#xA;            item.Fields[&quot;Enable Language Fallback&quot;].Value = &quot;1&quot;;&#xA;            item.Editing.EndEdit();&#xA;            Response.Write(item.Paths.FullPath + &quot; - OK&quot; + &quot;&amp;lt;br/&amp;gt;&quot;);&#xA;        }&#xA;    }&#xA;%&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Item Level:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; %&amp;gt;&#xA;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Data.Items&quot; %&amp;gt;&#xA;&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;&#xA;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&#xA;&amp;lt;head runat=&quot;server&quot;&amp;gt;&#xA;    &amp;lt;title&amp;gt;Sitecore Template Item Level Lang Fall Back Setup&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;%&#xA;        using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;        {&#xA;            var db = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;&#xA;        // Item Template Tempalte&#xA;        var items = db.SelectItems(&quot;fast:/sitecore/templates/User Defined//*&quot;);&#xA;&#xA;        foreach (var item in items)&#xA;        {&#xA;            var standardValuesItem = item.Children.FirstOrDefault(x =&amp;gt; x.Name == &quot;__Standard Values&quot;);&#xA;            if (standardValuesItem != null)&#xA;            {&#xA;                if (standardValuesItem.Fields[&quot;__Enable item fallback&quot;].Value != &quot;1&quot;)&#xA;                {&#xA;                    standardValuesItem.Editing.BeginEdit();&#xA;                    standardValuesItem.Fields[&quot;__Enable item fallback&quot;].Value = &quot;1&quot;;&#xA;                    standardValuesItem.Editing.EndEdit();&#xA;                    Response.Write(standardValuesItem.Paths.FullPath + &quot; - OK&quot; + &quot;&amp;lt;br/&amp;gt;&quot;);&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                var standartValues = ((TemplateItem) item).CreateStandardValues();&#xA;&#xA;                standartValues.Editing.BeginEdit();&#xA;                standartValues.Fields[&quot;__Enable item fallback&quot;].Value = &quot;1&quot;;&#xA;                standartValues.Editing.EndEdit();&#xA;                Response.Write(standartValues.Paths.FullPath + &quot; - OK&quot; + &quot;&amp;lt;br/&amp;gt;&quot;);&#xA;            }&#xA;        }&#xA;    }&#xA;%&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2017-10-27T07:39:13.020" LastActivityDate="2017-10-27T07:39:13.020" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8151" PostTypeId="1" AcceptedAnswerId="8153" CreationDate="2017-10-25T09:35:22.523" Score="4" ViewCount="367" Body="&lt;p&gt;In Sitecore 8.2.1, by default, the langauge 'English : English' is shown as 'English (United States)' in the content editor. This behavior is confusing on our site as we use both the 'English : English' for default and 'English (United States) : English (United States)' for the US. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We also have a lot of other english versions, such as UK, India, South Africa and others.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We would now like to know if it is possible to change the shown text in Sitecore's content editor to actually show 'English : English' in order to clearly indicate which version of english the editor is currently working on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an image of the case:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/OuBVR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OuBVR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2367" LastActivityDate="2017-10-25T10:37:32.087" Title="English : English is shown as English (United States). Sitecore 8.2.1" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8152" PostTypeId="2" ParentId="8144" CreationDate="2017-10-25T09:59:46.740" Score="0" Body="&lt;p&gt;If the function is not complicated ,maybe you can code in layout file directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iNVUh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iNVUh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2606" LastEditorUserId="2577" LastEditDate="2017-10-25T14:27:11.503" LastActivityDate="2017-10-25T14:27:11.503" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8153" PostTypeId="2" ParentId="8151" CreationDate="2017-10-25T10:37:32.087" Score="5" Body="&lt;p&gt;This sounds like an issue that was fixed in Sitecore 9, issue number 162413:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Miscellaneous:&lt;/strong&gt; There was an incorrect caption for languages with a neutral culture in the Languages group in the ribbon.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If that's the case then Sitecore Support should be able to provide you with a fix.&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2017-10-25T10:37:32.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8154" PostTypeId="2" ParentId="8025" CreationDate="2017-10-25T11:12:15.993" Score="23" Body="&lt;p&gt;In general they all seem to be using &lt;code&gt;Sitecore.Context.Items&lt;/code&gt; which is a static &lt;code&gt;Sitecore.Caching.ItemsContext&lt;/code&gt; object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ItemsContext&lt;/code&gt; uses the curret &lt;code&gt;HttpContext&lt;/code&gt; if it's available (making it request-scoped) or otherwise a &lt;code&gt;private static IDictionary&lt;/code&gt; marked with the &lt;code&gt;[ThreadStatic]&lt;/code&gt; attribute (making it thread-scoped).&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemsContext : IDictionary, ICollection, IEnumerable&#xA;{&#xA;    [ThreadStatic]&#xA;    private static IDictionary dictionary;&#xA;&#xA;    protected virtual IDictionary Dictionary&#xA;    {&#xA;        get&#xA;        {&#xA;            HttpContext current = HttpContext.Current;&#xA;            if (current != null)&#xA;                return current.Items;&#xA;            return ItemsContext.dictionary ?? (ItemsContext.dictionary = (IDictionary) new Hashtable());&#xA;        }&#xA;    }&#xA;&#xA;    public object this[string key]&#xA;    {&#xA;        get { return this.Dictionary[(object) key]; }&#xA;        set { this.Dictionary[(object) key] = value; }&#xA;    }&#xA;&#xA;    // ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If they are thread specific, then what advice is there for using them in a multi-threaded scenario? In a parallel loop, should I create the switchers/disablers inside each 'iteration'?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When running things in parallel using &lt;code&gt;Parallel.Foreach&lt;/code&gt; you would have to use the switcher/disabler inside the loop as they run on separate threads.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Parallel.ForEach(source, x =&amp;gt;&#xA;{&#xA;    using (new SecurityDisabler())&#xA;    {&#xA;        // Run your code here&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As Mark Cassidy also mentions in most cases I don't think there would be much or any gain in running stuff in parallel when accessing anything related to the Sitecore context as you would most likely be I/O limited anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There might be a few usecases where it could make sense, but generally I probably would recommend against it.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Some more background info&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Most of the switchers/disablers inherit from &lt;code&gt;Sitecore.Common.Switcher&amp;lt;TValue, TSwitchType&amp;gt;&lt;/code&gt; class, which uses &lt;code&gt;Sitecore.Context.Items&lt;/code&gt; to store the state (as a stack of the switched values, in case it's used multiple times).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some other types uses a custom implementation and just inherits &lt;code&gt;IDisposable&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Examples of types inheriting &lt;code&gt;Switcher&amp;lt;TValue, TSwitchType&amp;gt;&lt;/code&gt;:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;AuthenticationSwitcher&lt;/li&gt;&#xA;&lt;li&gt;ContextItemSwitcher&lt;/li&gt;&#xA;&lt;li&gt;EventDisabler&lt;/li&gt;&#xA;&lt;li&gt;LinkDisbabler&lt;/li&gt;&#xA;&lt;li&gt;LinkProviderSwitcher&lt;/li&gt;&#xA;&lt;li&gt;LockingDisabler&lt;/li&gt;&#xA;&lt;li&gt;SettingsSwitcher&lt;/li&gt;&#xA;&lt;li&gt;TrackerSwitcher&lt;/li&gt;&#xA;&lt;li&gt;SecurityDisabler&lt;/li&gt;&#xA;&lt;li&gt;SiteContextSwitcher&lt;/li&gt;&#xA;&lt;li&gt;And many more...&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Examples of custom implementations only inheriting &lt;code&gt;IDisposable&lt;/code&gt;:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;BulkUpdateContext (Uses locking, internal state and also &lt;code&gt;Sitecore.Context.Items&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;LanguageSwitcher (Uses &lt;code&gt;Sitecore.Context.SetLanguage()&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2017-10-26T15:40:06.060" LastActivityDate="2017-10-26T15:40:06.060" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8155" PostTypeId="2" ParentId="8025" CreationDate="2017-10-25T11:17:15.370" Score="9" Body="&lt;p&gt;Fine, I'll be the one to jump in and tell you what no one wants to hear ;-)&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore.Context is an anti-pattern&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I've &lt;a href=&quot;http://intothecore.cassidy.dk/2016/06/decennial-series-3-sitecorecontext-is.html&quot; rel=&quot;noreferrer&quot;&gt;argued this before&lt;/a&gt;, and I stand by it. The problems around this particular implementation pattern are many - personally I dislike it because it's more or less the exact opposite of Dependency Injection. And because of that, it makes achieving Inversion of Control all but impossible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And that's what the &lt;code&gt;Switchers&lt;/code&gt; (the examples above are all, in one form or another, based on a Switcher mechanic inside Sitecore) are. Mechanisms that attempt to give you (the caller of the API) back some control, against a rogue codebase that cherry picks whatever data it needs in Context.this and Context.that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I understand why it was done this way. At least when I put on my 2003 glasses and the software landscape back then. Performance, lack of DI frameworks, overall maturity of the development practices and community.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But take these two examples (hand crafted, they may not compile):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IEnumerable&amp;lt;INews&amp;gt; GetLatest3NewsArticles()&#xA;{&#xA;    // this could just as easily have been Sitecore.Context.NewsRepository&#xA;    var newsRepository = DependencyResolver.Resolve&amp;lt;INewsRepository&amp;gt;();&#xA;&#xA;    var newsList = newsRepository.GetAll().Where(n =&amp;gt; n.Language.Name == Sitecore.Context.Language.Name &#xA;        &amp;amp;&amp;amp; n.InnerItem.Axes.IsDescendantOf(Sitecore.Context.Site.StartItem).Take(3);&#xA;    return newsList;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And compare it to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IEnumerable&amp;lt;INews&amp;gt; GetLatest3NewsArticles(INewsRepository newsRepository, Item siteRoot)&#xA;{&#xA;    var newsList = newsRepository.GetAll().Where(n =&amp;gt; n.Language.Name == siteRoot.Language.Name&#xA;        &amp;amp;&amp;amp; n.InnerItem.Axes.IsDescendantOf(siteRoot).Take(3);&#xA;    return newsList;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now none of these are particularly good examples of code one would actually implement. But the key difference between them is; one uses Inversion of Control. It is controlled entirely by parameters that are sent to it. The other... well it's just sad. It can only be controlled from the outside, by controlling what dependency gets resolved, switching Context Language, switching Context Site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this is why you need Switchers. &lt;strong&gt;For Sitecore Code&lt;/strong&gt;. For your own code, however, in my opinion there is no excuse. Your code should be more like example 2 above, and not like example 1.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;So yes, the Switchers apply to current thread&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Which is also why various multithreading scenarios are hard to do in Sitecore. Think Kam's experiments with async Controllers, as just one example. Or what you experience yourself now, trying to run migration code under &lt;code&gt;Parallels&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But to come back to your question - the advise for using Switchers in a multi-threaded scenario?   Don't.  That's the advise.  Design your code differently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this and any code you make, maintain Inversion of Control and don't write methods that rely on Sitecore.Context, Global Variables, or anything other than what they explicitly ask for in the method parameters. It's bad design and it's even worse encapsulation.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-10-25T15:28:14.327" LastActivityDate="2017-10-25T15:28:14.327" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8156" PostTypeId="1" CreationDate="2017-10-25T12:07:18.317" Score="2" ViewCount="336" Body="&lt;p&gt;I would like to customize the publish panel. Say I have to customize the language names &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jLmit.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jLmit.png&quot; alt=&quot;https://www.screencast.com/t/UBHMHzhZl&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can some one please share the XML file path ?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="95" LastEditDate="2017-10-25T13:42:36.467" LastActivityDate="2017-10-25T13:42:36.467" Title="How do I customize Publish Item Panel?" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8157" PostTypeId="2" ParentId="8156" CreationDate="2017-10-25T12:24:49.607" Score="4" Body="&lt;p&gt;I do not recommend to change this form, it's better to educate editors to use it as it is. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you still want to change this Dialog form you need to do : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.&#xA;  Code beside for this Dialog is this class :  &lt;code&gt;Sitecore.Shell.Applications.Dialogs.Publish.PublishForm,Sitecore.Client&lt;/code&gt;. You &#xA; need to use Reflector, DotPeek or IlSpy to decompile the code, and create your custom class according to your requirements. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.You neeed to change BuildLanguages method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.Compile your class and deploy it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;4.Go to &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;c:\inetpub\wwwroot\yourproject\sitecore\shell\Applications\Dialogs\Publish\&lt;/code&gt; and edit the file &lt;strong&gt;Publish.xml&lt;/strong&gt; . Change the &lt;strong&gt;Codebeside&lt;/strong&gt; value from next line : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;WizardForm CodeBeside=&quot;Sitecore.Shell.Applications.Dialogs.Publish.PublishForm,Sitecore.Client&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with your custom class. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-25T12:24:49.607" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8160" PostTypeId="1" AcceptedAnswerId="8161" CreationDate="2017-10-25T14:31:55.333" Score="3" ViewCount="1151" Body="&lt;p&gt;I am working on performance tuning for a Sitecore website. My current task is to disable memory monitor hook. For this, I am referring to Sitecore's tuning guide which can be found &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/cms_tuning_guide_sc70-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. Now, according to the section 7.3.3, in order to disable memory monitor, I need to &lt;strong&gt;comment out&lt;/strong&gt; specific lines in &lt;strong&gt;web.config&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I was wondering if there is a better way to do this? I know for changing the 'Setting', we would do it by providing a patch file. I was wondering if I could do the same here without directly changing the web.config file or is that the only option for me in this particular case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="403" LastActivityDate="2017-10-25T14:57:32.273" Title="Is there a better way of disabling memory monitor hook" Tags="|performance-optimization|performance|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8161" PostTypeId="2" ParentId="8160" CreationDate="2017-10-25T14:38:33.703" Score="4" Body="&lt;p&gt;You could use a patch file to do this too. Using the &lt;code&gt;&amp;lt;patch:delete /&amp;gt;&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;hook type=&quot;Sitecore.Diagnostics.MemoryMonitorHook, Sitecore.Kernel&quot;&amp;gt;&#xA;    &amp;lt;patch:delete /&amp;gt;&#xA;&amp;lt;/hook&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add that to a config in your include folder and it will remove the memory hook config without having to directly edit the &lt;code&gt;web.config&lt;/code&gt; file.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-10-25T14:38:33.703" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8162" PostTypeId="2" ParentId="8160" CreationDate="2017-10-25T14:57:32.273" Score="3" Body="&lt;p&gt;Richard's answer is absolutely correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It removes the memory monitor hook completely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to disable it only, you can change the &lt;code&gt;Check Interval&lt;/code&gt; attribute only with &lt;code&gt;00:00:00&lt;/code&gt; value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just drop the patch config file to &lt;code&gt;App_config\Include&lt;/code&gt; with the following content:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;hooks&amp;gt;&#xA;            &amp;lt;hook type=&quot;Sitecore.Diagnostics.MemoryMonitorHook, Sitecore.Kernel&quot;&amp;gt;&#xA;                &amp;lt;param  patch:instead=&quot;*[@desc='Check interval']&quot; desc=&quot;Check interval&quot;&amp;gt;00:00:00&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/hook&amp;gt;&#xA;        &amp;lt;/hooks&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-10-25T14:57:32.273" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8163" PostTypeId="2" ParentId="8107" CreationDate="2017-10-25T15:19:35.513" Score="3" Body="&lt;p&gt;As &lt;a href=&quot;https://sitecore.stackexchange.com/users/267/kam-figy&quot;&gt;Kam Figy&lt;/a&gt; mentioned, there is no current command available in SIF to do such a thing. I would also add that in order to avoid getting Process-in-use type errors, ensure that the sites/ app-pools in IIS are stopped and that the Solr Cores are removed. Also make sure that the two services are completely removed - remove any processes in Task Manager that may be lingering!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was having the exact same experience that you described though, so I wrote a small and rudimentary script to remove the various services, processes and websites running in order to get you back to a clean environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is very much a WIP but let me know if it's helpful! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecorgi/UninstallSitecore9&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecorgi/UninstallSitecore9&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1298" LastActivityDate="2017-10-25T15:19:35.513" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8164" PostTypeId="1" CreationDate="2017-10-25T18:32:05.393" Score="3" ViewCount="228" Body="&lt;p&gt;Having had to deliver/create documentation on numerous projects now, I know it is the last thing that anyone wants to do manually in Word.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I happened to see this tool mentioned: &lt;a href=&quot;https://zkniebel.gitbooks.io/sitecoreuml/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://zkniebel.gitbooks.io/sitecoreuml/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks pretty promising for UML diagrams and is bi-directional.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any other tools out there that assist with documenting Sitecore solutions? In particular, documenting the Sitecore Templates, their inheritance, fields, presentation details, etc? Bonus for documenting Sites (and subsites) and IA (Information Architecture), etc. Ideally looking for a complete solution documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If they are bi-directional, like Sitecore UML, even better. As this allows you to not only document, but keep the documentation updated as changes to the templates, etc. occur.&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="2395" LastEditDate="2017-11-11T22:17:44.277" LastActivityDate="2017-12-11T22:47:54.593" Title="Sitecore Solution Documentation Generation - any tools?" Tags="|templates|solution-architecture|documentation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8165" PostTypeId="1" CreationDate="2017-10-25T19:15:36.370" Score="3" ViewCount="282" Body="&lt;p&gt;In Sitecore's old publishing set up, when I select &quot;Publish Item&quot; the dialog would remember my last settings (Publish Sub Items, Langugaes, Publishing Targets, etc...). This does not seem to be the case with the new Publishing Service. Is there a way I can turn this back on? Or change the defaults to something a little friendlier?&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-10-27T14:10:44.093" Title="Publishing Service Publish Item defaults" Tags="|publishing-service|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8166" PostTypeId="1" CreationDate="2017-10-25T20:53:08.957" Score="5" ViewCount="221" Body="&lt;p&gt;I have followed the answer &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1221/sorting-pages-by-most-views/1223&quot;&gt;here&lt;/a&gt;&#xA;But I get a null reference exception if I do not create an instance of the &lt;code&gt;ReportDataProvider&lt;/code&gt;. And when I do create an instance I am getting an error in the &lt;code&gt;ReportDataProvider&lt;/code&gt; in the &lt;code&gt;GetData&lt;/code&gt; function that says:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Failed to get a datasource (item)&quot;. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Item&lt;/code&gt; is what the &lt;code&gt;QueryDataSource&lt;/code&gt; is defaulted to, am I supposed to override this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am near the point of just doing this with direct SQL and an ADO connector but I really want to avoid this.  Our configuration is normal and nothing is out of the ordinary.&lt;/p&gt;&#xA;" OwnerUserId="1587" LastEditorUserId="70" LastEditDate="2017-10-26T14:43:09.167" LastActivityDate="2017-10-26T14:43:09.167" Title="Sitecore 8.2 using analytics data in code" Tags="|xdb|sql-database|reporting|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8167" PostTypeId="1" AcceptedAnswerId="8204" CreationDate="2017-10-26T02:33:40.770" Score="3" ViewCount="185" Body="&lt;p&gt;In my Sitecore Experience profile someone contact info. &#xA;My timeline's time isn't correct.&#xA;it's show 02:20 in my timeline plugin .&#xA;but the time is 10:20 in fact.&#xA;How do I solve this problem? &#xA;&lt;a href=&quot;https://i.stack.imgur.com/VsQrO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VsQrO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2606" LastEditorUserId="2606" LastEditDate="2017-10-26T02:38:48.340" LastActivityDate="2017-10-30T03:36:44.887" Title="Sitecore Experience profile timeline isn't correct?" Tags="|experience-profile|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8168" PostTypeId="1" CreationDate="2017-10-26T10:08:55.500" Score="4" ViewCount="835" Body="&lt;p&gt;We're evaluating a vanilla install of Sitecore 8.2 (via the .zip file rather than the .exe) and we're now coming across a assembly reference mismatch when loading the site.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.1,&#xA;  Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its&#xA;  dependencies. The located assembly's manifest definition does not&#xA;  match the assembly reference. (Exception from HRESULT: 0x80131040)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've checked the version of System.Web.Mvc in the bin folder (which is 5.2.30128.0) and scoured for any references to version 3.0.0.1 of Sytem.Web.Mvc in various config files but to no avail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what is causing the lookup for this particular version?&lt;/p&gt;&#xA;" OwnerUserId="1572" LastActivityDate="2017-10-26T18:45:25.740" Title="Sitecore 8.2 vanilla install - incorrect version of MVC" Tags="|mvc|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8170" PostTypeId="1" AcceptedAnswerId="8171" CreationDate="2017-10-26T13:14:02.523" Score="5" ViewCount="514" Body="&lt;p&gt;I am working with WFFM File upload and was asked to restrict File Size and File types. So I created a custom field that inherits the OOTB Upload File of WFFM in order to accommodate the restrictions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the ideas in below links..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2014/04/06/restrict-certain-files-from-being-attached-to-web-forms-for-marketers-forms-in-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorejunkie.com/2014/04/06/restrict-certain-files-from-being-attached-to-web-forms-for-marketers-forms-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jonathanrobbins.co.uk/2015/10/06/sitecore-marketplace-module-secure-file-upload/&quot; rel=&quot;noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2015/10/06/sitecore-marketplace-module-secure-file-upload/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, both references seem not working in my machine. I have tried debugging it but not debugging on point. I am not sure if the references stated above work in WFFM 8.1 160523 as it requires an MVC Field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aPdIU.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aPdIU.jpg&quot; alt=&quot;File Size Validator&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Yl059.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Yl059.png&quot; alt=&quot;File Upload&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please advice me on this. &lt;/p&gt;&#xA;" OwnerUserId="2472" LastActivityDate="2023-07-21T09:29:57.480" Title="WFFM - File size and File type validation not working in 8.1 160523" Tags="|wffm|custom-field|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8171" PostTypeId="2" ParentId="8170" CreationDate="2017-10-26T13:56:28.300" Score="2" Body="&lt;p&gt;On &lt;a href=&quot;https://ggullentops.blogspot.be/2016/05/sitecore-wffm-mvc-fileuploadfield.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.be/2016/05/sitecore-wffm-mvc-fileuploadfield.html&lt;/a&gt; I have a solution for a custom field that can check filesize and type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without copying the whole code, it comes down to creating a validation attribute(s) that inherit from DynamicValidationBase and override ValidateFieldValue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next you create the custom field: inherit from the base FileUploadField in Sitecore.Forms.Mvc.ViewModels.Fields and override the &quot;Value&quot; property, just to add the custom created attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Register the field in Sitecore (Assembly, class and mvc type) and you're good to go. Start using the field in a mvc form, but do not forget to fill in the necessary parameters as required by the validator(s).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-10-26T13:56:28.300" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8173" PostTypeId="1" AcceptedAnswerId="8177" CreationDate="2017-10-26T14:46:40.377" Score="5" ViewCount="569" Body="&lt;p&gt;I'm trying to install the XP0 local development version of Sitecore using George Chang's blog as a reference: &lt;a href=&quot;https://blogs.perficient.com/microsoft/2017/10/how-to-install-sitecore-9-with-the-sitecore-install-framework&quot; rel=&quot;noreferrer&quot;&gt;https://blogs.perficient.com/microsoft/2017/10/how-to-install-sitecore-9-with-the-sitecore-install-framework&lt;/a&gt;. I saved the Sitecore Install Framework downloads to one PS1 file, and the XP0 install scripts to a second file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had to increase the Solr start timeout to get past a checking error (from 8000 to 20000) but everything else was working until I got to this point in the xConnect XP0 install. From the xconnect-xp0 log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TerminatingError(Invoke-ManageSolrSchemaTask): &quot;The running command stopped &#xA;because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set &#xA;to Stop: The property 'errorMessages' cannot be found on this object. &#xA;Verify that the property exists.&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Right before that error hit, this was the logged content (to provide context to which step it's failing at):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;VERBOSE: Performing the operation &quot;Invoke-ManageSolrSchemaTask -Address https://localhost:8983/solr -Core sc90_xdb&quot; on target &quot;https://localhost:8983/solr&quot;.&#xA;[ConfigureSolrSchemas [1]]:[Schema] Modifying Schema on https://localhost:8983/solr : sc90_xdb&#xA;VERBOSE: Updating Solr Schema: Uri =&amp;gt; 'https://localhost:8983/solr/sc90_xdb/schema?wt=json'&#xA;VERBOSE: POST https://localhost:8983/solr/sc90_xdb/schema?wt=json with -1-byte payload&#xA;VERBOSE: received 184-byte response of content type text/plain;charset=utf-8&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This has happened a couple of times, so I'm not sure what the sticking point is. Solr is running just fine, and at the point of failure I see the two sc90_xdb cores (main and rebuild).&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="73" LastEditDate="2017-11-20T14:28:07.920" LastActivityDate="2017-11-20T14:28:07.920" Title="xConnect install: Property &quot;errorMessages&quot; cannot be found on this object" Tags="|sitecore-install-framework|xconnect|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8174" PostTypeId="2" ParentId="8168" CreationDate="2017-10-26T15:57:04.170" Score="2" Body="&lt;p&gt;In your web.config file in your website root, you should have the following tag as a direct child of the &lt;code&gt;&amp;lt;configuration&amp;gt;&lt;/code&gt; tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;compilation defaultLanguage=&quot;c#&quot; debug=&quot;false&quot; targetFramework=&quot;4.5.2&quot;&amp;gt;&#xA;   &amp;lt;assemblies&amp;gt;&#xA;   &amp;lt;/assemblies&amp;gt;&#xA;&amp;lt;/compilation&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Inside of the assemblies tag, there should be the following add tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add assembly=&quot;System.Web.Mvc, Version=5.2.3.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, your web.config in the site root should have the following tag as a direct child of the &lt;code&gt;&amp;lt;configuration&amp;gt;&lt;/code&gt; tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;runtime&amp;gt;&#xA;   &amp;lt;assemblyBinding xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot;&amp;gt;&#xA;   &amp;lt;/assemblyBinding&amp;gt;&#xA;&amp;lt;/runtime&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Inside of the assembly binding tag, there should be the following dependentAssembly tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;   &amp;lt;assemblyIdentity name=&quot;System.Web.Mvc&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot;&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&quot;1.0.0.0-5.2.3.0&quot; newVersion=&quot;5.2.3.0&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If all of this is in place with the correct version numbers, then you should be in good shape.&lt;/p&gt;&#xA;" OwnerUserId="925" LastEditorUserId="1674" LastEditDate="2017-10-26T18:45:25.740" LastActivityDate="2017-10-26T18:45:25.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8175" PostTypeId="2" ParentId="8164" CreationDate="2017-10-26T16:05:00.647" Score="1" Body="&lt;p&gt;If the code is well documented with XML comments, you can use &lt;a href=&quot;https://sandcastle.codeplex.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sandcastle&lt;/a&gt;.  It's been discontinued by Microsoft, but I have used it in the past.  It will generate MSDN-like documentation in html that is easily navigable.&lt;/p&gt;&#xA;" OwnerUserId="925" LastActivityDate="2017-10-26T16:05:00.647" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8176" PostTypeId="1" CreationDate="2017-10-26T16:11:50.120" Score="1" ViewCount="217" Body="&lt;p&gt;Is there a way to customise the default text for the dropdowns of a Date field (&lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Date&lt;/code&gt;) in WFFM (preferably without having to build a new rendering and ViewModel)? I'm using Sitecore 8.2 and MVC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I decompiled the ViewModel class (&lt;code&gt;Sitecore.Forms.Mvc.ViewModels.Fields.DateField, Sitecore.Forms.Mvc&lt;/code&gt;) and could see only some code which can pre-populate the dropdowns with the &lt;em&gt;current date&lt;/em&gt; if some flag is set on the parameters of the field item.  &lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2017-10-26T16:11:50.120" Title="WFFM date field - supply override for default dropdowns" Tags="|wffm|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8177" PostTypeId="2" ParentId="8173" CreationDate="2017-10-26T16:56:04.880" Score="3" Body="&lt;p&gt;I'll have to test this locally, but it could be a change in the response from Solr in 6.6.2 compared to 6.6.1.  It's looking for &lt;code&gt;errorMessages&lt;/code&gt; to check if there were errors when calling solr and actually failing as the member does not exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a temporary measure, you can tell SIF to continue on error by adding the following to the parameters for the task&#xA;&lt;code&gt;&#xA;&quot;ErrorAction&quot;: &quot;Continue&quot;&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will enable SIF to continue processing when this task throws an error.&lt;/p&gt;&#xA;" OwnerUserId="128" LastActivityDate="2017-10-26T16:56:04.880" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8178" PostTypeId="1" AcceptedAnswerId="8181" CreationDate="2017-10-26T18:11:08.273" Score="4" ViewCount="1042" Body="&lt;p&gt;On my site I discovered that performance counter files are still being created (all 8kb in length with 0 for the values) even though they are disabled, is this normal?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;showconfig.aspx&lt;/em&gt; shows they are indeed disabled. &lt;code&gt;&amp;lt;setting name=&quot;Counters.Enabled&quot; value=&quot;false&quot; patch:source=&quot;SitecoreSettings.config&quot;/&amp;gt;&lt;/code&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are over 16,000 of these files in the folder!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running Sitecore 8.2 Update 2.&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2017-10-26T19:43:45.990" Title="Performance counters created even if disabled?" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8179" PostTypeId="5" CreationDate="2017-10-26T18:29:29.707" Score="0" Body="&lt;p&gt;xConnect is the service layer that sits in between the xDB and any trusted client, device, or interface that wants to read, write, or search xDB data. Communication must happen over HTTPS and clients must have the appropriate certificate thumbprint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-overview/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-overview/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/xconnect_and_the_xdb&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/xdb/xconnect_and_the_xdb&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/xconnect-client-api-overview/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/xconnect-client-api-overview/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://citizensitecore.com/2017/10/17/introducing-xconnect-for-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://citizensitecore.com/2017/10/17/introducing-xconnect-for-sitecore-9/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T07:07:34.443" LastActivityDate="2018-02-14T07:07:34.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8180" PostTypeId="4" CreationDate="2017-10-26T18:29:29.707" Score="0" Body="For questions related to xConnect, the API service layer abstracting the storage architecture of xDB from those accessing xDB data." OwnerUserId="226" LastEditorUserId="226" LastEditDate="2017-10-27T10:42:40.720" LastActivityDate="2017-10-27T10:42:40.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8181" PostTypeId="2" ParentId="8178" CreationDate="2017-10-26T19:43:45.990" Score="8" Body="&lt;p&gt;You can disable the creation of the counters diagnostic files, changing the interval value of the Sitecore agent responsible to dump the performance counter data to &lt;code&gt;00:00:00&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!-- Agent to dump performance counter data --&amp;gt;&#xA;  &amp;lt;agent type=&quot;Sitecore.Tasks.CounterDumpAgent&quot; method=&quot;Run&quot; interval=&quot;00:00:00&quot;&amp;gt;&#xA;    &amp;lt;DumpFile&amp;gt;$(dataFolder)/diagnostics/counters.{date}.{time}.{processid}.txt&amp;lt;/DumpFile&amp;gt;&#xA;  &amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This agent is defined in the &lt;code&gt;sitecore.config&lt;/code&gt; configuration file.&lt;/p&gt;&#xA;" OwnerUserId="1399" LastActivityDate="2017-10-26T19:43:45.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8187" PostTypeId="1" AcceptedAnswerId="8190" CreationDate="2017-10-27T09:38:16.133" Score="14" ViewCount="516" Body="&lt;p&gt;I'm making my first attempt at extending SIF, and I don't seem to be able to register a new Task correctly. Can anyone suggest what I'm doing wrong here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've create a new script commandlet. It has the following contents:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Invoke-SolrInstallTask&#xA;{&#xA;    [CmdletBinding(SupportsShouldProcess=$true)]&#xA;    param(&#xA;        [parameter(Mandatory=$true)]&#xA;        [string]$solrVersion = &quot;6.6.2&quot;,&#xA;&#xA;        #&#xA;        # more declarations&#xA;        #&#xA;    )&#xA;&#xA;    PROCESS&#xA;    {&#xA;        #&#xA;        # Code for the task...&#xA;        #&#xA;    }&#xA;}&#xA;&#xA;Export-ModuleMember -Function Invoke-SolrInstallTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That file is saved as &lt;code&gt;Invoke-SolrInstallTask.psm1&lt;/code&gt; in my user's module folder at&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\Users\&amp;lt;myUser&amp;gt;\Documents\WindowsPowerShell\Modules\Invoke-SolrInstallTask\&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Calling&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module Invoke-SolrInstallTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;appears to work, and a subsequent call to &lt;code&gt;Get-Module&lt;/code&gt; shows that PowerShell has registered my function as a script:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kObwO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kObwO.png&quot; alt=&quot;Result of Get-Module&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I try to run my commandlet directly it appears to work ok. So then I call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Register-SitecoreInstallExtension Invoke-SolrInstallTask -As SolrInstall -Type Task&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That generates no output. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see from the SIF that documentation that &lt;code&gt;Get-SitecoreInstallExtension&lt;/code&gt; only returns references to standard tasks, unless you call it passing a configuration file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My &lt;code&gt;solr.json&lt;/code&gt; config file contains (amongst other stuff) a block that tries to use the custom task:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Tasks&quot; : {&#xA;    &quot;PerformSolrInstall&quot;: {&#xA;        &quot;Type&quot;: &quot;SolrInstall&quot;,&#xA;        &quot;Params&quot;: {&#xA;            &quot;solrVersion&quot;: &quot;[parameter('SolrVersion')]&quot;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But despite that &lt;code&gt;Get-SitecoreInstallExtension .\solr.json&lt;/code&gt; never returns any reference to my task:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uknXz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uknXz.png&quot; alt=&quot;Result of Get-SitecoreInstallExtension&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And unsurprisingly, if I try to run that custom config I get an error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eaMxb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eaMxb.png&quot; alt=&quot;SIF error message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing there's some other bit of &quot;how to register a custom task&quot; that I've failed to find in the documentation. Any suggestions what it is?&lt;/p&gt;&#xA;" OwnerUserId="233" LastActivityDate="2017-10-27T11:30:35.367" Title="Why does Register-SitecoreInstallExtension appear to do nothing?" Tags="|powershell|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8188" PostTypeId="5" CreationDate="2017-10-27T10:29:06.433" Score="0" Body="&lt;p&gt;The old &quot;.exe&quot; installer for Sitecore is depreciated with the release of v9. In its place is an extensible install framework (SIF) built on top of PowerShell. It allows standard installs to be executed easily by providing the relevant settings to the default scripts. It also allows extra tasks to be added to deployments by extending the configuration and the framework itself.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-27T10:42:32.280" LastActivityDate="2017-10-27T10:42:32.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8189" PostTypeId="4" CreationDate="2017-10-27T10:29:06.433" Score="0" Body="The Sitecore Install Framework is the new scripted approach to deploying Sitecore released with v9. Use this tag for questions relating to using and extending SIF." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-27T10:42:37.030" LastActivityDate="2017-10-27T10:42:37.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8190" PostTypeId="2" ParentId="8187" CreationDate="2017-10-27T11:30:35.367" Score="14" Body="&lt;p&gt;It's a small thing which I'm hoping to have fixed soon so that things are a little clearer, sorry this isn't as straight-forward as it should be!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Calling &lt;code&gt;Register-SitecoreInstallExtension&lt;/code&gt; outside of a running install does nothing as there is no context for it to operate in.  The function actually sets information in a dictionary when the install itself imports the function.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll be addressing this in the next release by outputting an appropriate message rather than silence.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To actually enable functions to be registered correctly do the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create your psm1 file (e.g. MySifExtensions.psm1)&lt;/li&gt;&#xA;&lt;li&gt;For &lt;em&gt;each&lt;/em&gt; function in there that you want SIF to use, call &lt;code&gt;Register-SitecoreInstallExtension&lt;/code&gt; &lt;em&gt;in the psm1&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the configuration, include the path to the module&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So your &lt;code&gt;MySifExtension.psm1&lt;/code&gt; looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function Invoke-SolrInstallTask{ &amp;lt;# implementation #&amp;gt; }&#xA;Register-SitecoreInstallExtension -Command Invoke-SolrInstallTask -As SolrInstall -Type Task&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in your configuration file:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Parameters&quot; : {},&#xA;&quot;Variables&quot;: {},&#xA;&quot;Tasks&quot;: {},&#xA;&quot;Modules&quot; : [&#xA;  'path to module'&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With the module path, either specify the full path or the path relative to the configuration file.  If the module is available by name when calling &lt;code&gt;Import-Module&lt;/code&gt; you can specify just the name of the module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get embedded help on the topic of extending by running:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-help about_SitecoreInstallFramework_Extending -ShowWindow&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alternatively, check out the documentation on configuring and extending sif here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx#&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx#&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="128" LastActivityDate="2017-10-27T11:30:35.367" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8191" PostTypeId="5" CreationDate="2017-10-27T13:20:47.700" Score="0" Body="&lt;p&gt;The official documentation for Sitecore 8 and up is available via their &lt;a href=&quot;https://doc.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;main documentation website&lt;/a&gt;. Documentation for older versions is still available via the old &lt;a href=&quot;https://sdn.sitecore.net/Reference.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Developer Network&lt;/a&gt; website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;http://helix.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix standards&lt;/a&gt; and &lt;a href=&quot;https://sitecore-community.github.io/docs/&quot; rel=&quot;nofollow noreferrer&quot;&gt;extra community documentation&lt;/a&gt; are also available.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-28T12:32:52.743" LastActivityDate="2017-10-28T12:32:52.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8192" PostTypeId="4" CreationDate="2017-10-27T13:20:47.700" Score="0" Body="Questions about the product documentation that helps you understand Sitecore." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2017-10-27T19:51:59.973" LastActivityDate="2017-10-27T19:51:59.973" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8193" PostTypeId="2" ParentId="8165" CreationDate="2017-10-27T14:10:44.093" Score="2" Body="&lt;p&gt;Currently this is not possible. It is a limitation, this data is bound via SPEAK, which doesn't have session state in this case. We would have to write something custom to store this user data or allow setting of defaults.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We know there is a wish for this functionality, the feature is in our backlog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What defaults would help you? Would you be happy with different defaults, such as all languages, targets selected, or none. Or would you rather something like a configuration file to set the defaults. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can add all this detail our backlog item for this functionality, and we can investigation options for a future release.&lt;/p&gt;&#xA;" OwnerUserId="47" LastActivityDate="2017-10-27T14:10:44.093" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8194" PostTypeId="1" CreationDate="2017-10-27T14:50:42.323" Score="7" ViewCount="796" Body="&lt;p&gt;I created a user content generated database in Sitecore where I will store my users and their comments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I plan to have a subscriptions item bucket that will be stored in the web database (published from master, of course) which I want to reference from my user item in the ugc database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The subscriptions field on my user will be a multilist with search but I am unable to come up with the correct query to reference the subscriptions in the web database for the list to populate. Is there an out of the box solution for referencing the web database in the source of a multilist with search field located in another database?&lt;/p&gt;&#xA;" OwnerUserId="787" LastEditorUserId="2727" LastEditDate="2018-03-15T08:22:55.517" LastActivityDate="2018-03-15T08:22:55.517" Title="Is there a way to reference another database in Multilist with Search" Tags="|content-editor|sitecore-query|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8195" PostTypeId="2" ParentId="8194" CreationDate="2017-10-27T16:22:02.513" Score="10" Body="&lt;p&gt;Yes - in the source property of your field item, you can use the parameter &lt;code&gt;DatabaseName&lt;/code&gt; to set the name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you might have something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DataSource=/Sitecore/Content/MySite/Subscriptions&amp;amp;DatabaseName=web&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also then add any other parameters for including/excluding templates etc...&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-10-27T16:22:02.513" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8197" PostTypeId="1" CreationDate="2017-10-27T19:00:12.333" Score="2" ViewCount="328" Body="&lt;p&gt;I get this kind of error in my logs.   I have changed the domain changed for company privacy, but... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The server's URL should be &lt;em&gt;dev.example.com&lt;/em&gt;.   But somehow Sitecore is returning &lt;em&gt;www.exampledev.com&lt;/em&gt;   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not a domain that is owned by us.  I have reviewed the hosts file on the server, IIS bindings, etc.  I have used AstroGrep to search the entire Sitecore directory on the server.   I have used HeidiSQL to search all the Sitecore databases, and this domain appears nowhere in any of those locations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; 416 11:51:22 ERROR Application error.&#xA;Exception: System.InvalidOperationException&#xA;Message: Site from host name and path was not found. Host: www.exampledev.com, path: /&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Pipelines.HttpRequest.SiteResolver.ResolveSiteContext(HttpRequestArgs args)&#xA;   at Sitecore.Pipelines.HttpRequest.SiteResolver.Process(HttpRequestArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Nexus.Web.HttpModule.(Object , EventArgs )&#xA;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.2 Update 2&lt;/p&gt;&#xA;" OwnerUserId="369" LastActivityDate="2017-10-28T04:44:17.770" Title="Mystery domain being returned from Resolve Site Context" Tags="|site-configuration|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8198" PostTypeId="2" ParentId="8197" CreationDate="2017-10-28T04:44:17.770" Score="1" Body="&lt;p&gt;I have seen things like this occur when another system hits Sitecore first with a domain name. It gets cached in as the resolving site since it is first used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would check for references of this domain in a health check system or another application installed on the server (sounds like you have Coveo there) to make sure something else isn't pinging Sitecore somehow with that domain. If it is setup on another server with a HOST entry to point at that box (such as a local dev instance pointed at the server IP address for testing) this would cause the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a side note, you didn't mention checking the ShowConfig.aspx page. Always worth looking there just to double-check some random include file isn't pulling it in.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-10-28T04:44:17.770" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8199" PostTypeId="2" ParentId="8194" CreationDate="2017-10-28T16:54:55.720" Score="6" Body="&lt;h1&gt;No. Doesn't appear to be, out of the box&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;While my initial instinct was, that @Richard Seal's answer was correct, I don't actually see any documentation stating that this will work with search driven fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While proving a negative is impossible, I checked the following guides. None of them list &lt;code&gt;&amp;amp;DatabaseName=xxx&lt;/code&gt; as a valid parameter for the search driven fields - only for the regular content driven ones.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2014/june/26/constraining-the-sitecore-7-multilist-and-treelist-fields-with-and-without-search&quot; rel=&quot;noreferrer&quot;&gt;Constraining the Sitecore 7 Multilist and Treelist Fields with and without Search&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Mentions &lt;code&gt;DatabaseName&lt;/code&gt; only under the section &quot;Fields without Search&quot;.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/using-the-new-sitecore-7-field-types&quot; rel=&quot;noreferrer&quot;&gt;Using the new Sitecore 7 Field Types&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The possibility is mentioned briefly (but not otherwise documented) when discussing the &lt;code&gt;StartSearchLocation&lt;/code&gt; argument.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To lookup which index should be searched. This is necessary as you could be using a sharded index approach or you could be search the Core or Web database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/72/developer&amp;#39;s_guide_to_item_buckets_and%20search_sc72_usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;Developer's Guide to Item Buckets and Search&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Makes no mention of DatabaseName anywhere at all, in the entire document.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.rauljimenez.co.uk/multlistfield-search/&quot; rel=&quot;noreferrer&quot;&gt;Multlistfield Search&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Mentions a lot of fixes and workarounds for this field. Database switching is not mentioned at all.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;In the code&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The code is not the easiest to follow, as it has been abstracted out a fair bit. But ultimately it comes down to this method located in &lt;code&gt;Sitecore.Buckets.FieldTypes.SearchList&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ExtractStartSearchLocation(NameValueCollection values, Item currentItem)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The method deals with parsing the StartSearchLocation (which would also include database).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It calls up an internal method, &lt;code&gt;MakeFilterQueryable(string locationFilter)&lt;/code&gt; that is tasked with resolving the location (checking for &lt;code&gt;query:&lt;/code&gt; etc) - and ends up doing this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;locationFilter = obj.ID.ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The key thing to note here is, it returns an ID. Not a DataUri or SitecoreUri that could include database information. Just an ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further on, where it actually renders the results to show in the list results, we also find this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    foreach (string path in str3.Split(separator, (StringSplitOptions) num))&#xA;    {&#xA;      Item obj = Context.ContentDatabase.GetItem(path, language);&#xA;      string str4 = obj != null ? this.OutputString(obj) : path + &quot; &quot; + Translate.Text(&quot;[Item not found]&quot;);&#xA;      output.Write(&quot;&amp;lt;option value='&quot; + path + &quot;'&amp;gt;&quot; + str4 + &quot;&amp;lt;/option&amp;gt;&quot;);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice how it makes no effort to deal with the database issue. It just grabs the &lt;code&gt;Context.ContentDatabase&lt;/code&gt; and gets on with it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;In summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If there is a way to query across databases on this field OOTB, I can't see a way. I did find references to a &lt;code&gt;db&lt;/code&gt; parameter in some parts of the code, but I don't see it actually being used in any of the sample code above.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-10-28T16:54:55.720" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8202" PostTypeId="1" AcceptedAnswerId="8203" CreationDate="2017-10-29T11:15:07.850" Score="3" ViewCount="646" Body="&lt;p&gt;We are using habitat in our project for a multisite implementation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we setup the ConnectionStrings.config transformation in the Project/common layer of the habitat framework. Is this doable?&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-10-30T13:52:55.850" Title="Setting the ConnectionStrings.config transformation in Habitat" Tags="|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8203" PostTypeId="2" ParentId="8202" CreationDate="2017-10-29T15:09:02.000" Score="1" Body="&lt;p&gt;You &lt;em&gt;can&lt;/em&gt; do this. You would just need to add the config file to the project and it will get published with the rest of the files and it will overwrite the file in the webroot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would question if you &lt;em&gt;should&lt;/em&gt; do this tho. The connection strings get set when you install the Sitecore instance. So each developer should already have that set. If you put this file in the project and thus source control, you either need to make sure all devs have the exact same machine setup or they will have to make changes and not commit those.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you end up potentially having SQL Server logins stored in plain text. Not something I would be comfortable with. So while you can do it, I would recommend not doing it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Environment Transforms&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;As an update to the previous answer, I agree totally with @jammykam. If you need to update connection strings per environment, that is where you need to tokenize your values in the source file and then use your release management tool, whether that be Octopus Deploy, TFS Release Manager etc... to substitute those tokens with the real values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For local development, you can then use a &lt;code&gt;.debug.config&lt;/code&gt; transform and a tool like &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.SlowCheetah-XMLTransforms&quot; rel=&quot;nofollow noreferrer&quot;&gt;SlowCheetah&lt;/a&gt; to make sure your development values are added. That is how I work with all configs not just the connection strings.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-10-30T13:52:55.850" LastActivityDate="2017-10-30T13:52:55.850" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8204" PostTypeId="2" ParentId="8167" CreationDate="2017-10-30T01:13:26.877" Score="1" Body="&lt;p&gt;You should verify that the timezone is set correctly in the config file. If not, it uses the servers time settings.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Server Time Zone&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The Server Time Zone setting in the web.config file specifies the server time zone that is used by the server to convert UTC time to local time, for example &quot;GMT Standard Time&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The value must be a valid Time Zone ID in Microsoft .NET. For more information, see &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/gg154758.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://msdn.microsoft.com/en-us/library/gg154758.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the value is blank, Sitecore uses the operating system time zone.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!--  SERVER TIME ZONE&#xA;        This setting specifies the server time zone that is  used by the server to convert UTC time to local time, for example &quot;GMT Standard Time&quot;.&#xA;        The value must be parsable to a valid Time Zone ID.                   See http://msdn.microsoft.com/en-us/library/gg154758.aspx&#xA;        If blank, Sitecore uses the operating system time zone.&#xA;        Default value: &quot;&quot; (use the operating system time zone)&#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Analytics.Reports.DisplayDatesInUtc&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Analytics.Reports.DisplayDatesInUtc setting in the App_Config\Include\Sitecore.Analytics.config file specifies whether dates and times are displayed in UTC or the local server time zone in the Engagement Analytics reports.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this setting is set to true, dates and times are displayed in UTC in reports. The default value of the setting is false.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="2606" LastEditDate="2017-10-30T03:36:44.887" LastActivityDate="2017-10-30T03:36:44.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8207" PostTypeId="1" CreationDate="2017-10-30T08:24:32.937" Score="5" ViewCount="143" Body="&lt;p&gt;How to get top search keywords from experience analytics reports programmatically in Sitecore 8. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1922" LastEditorUserId="73" LastEditDate="2017-10-30T10:21:12.867" LastActivityDate="2017-10-30T10:21:12.867" Title="How to get top search keywords from experience analytics reports programmatically" Tags="|experience-analytics|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8208" PostTypeId="1" CreationDate="2017-10-30T09:57:28.233" Score="4" ViewCount="492" Body="&lt;p&gt;A newbie question please:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a URL: www.example.com/?location=London&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to change a part of the title, headline and body text from the default value (UK) to the supplied value (say London).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the title of the page becomes &quot;Cheap computers in London&quot;. If no parameter is supplied, the title will be &quot;Cheap computers in UK&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, Sitecore caches the HTML and hence, the content of the page is not changing when we change the parameter. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know this can be done through JS but we need to change things server side due to some requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please advise.&lt;/p&gt;&#xA;" OwnerUserId="2550" LastEditorUserId="73" LastEditDate="2017-10-30T11:31:40.160" LastActivityDate="2017-10-30T11:31:40.160" Title="Dynamic content in body copy based on url parameter" Tags="|presentation|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8209" PostTypeId="2" ParentId="8208" CreationDate="2017-10-30T11:14:31.867" Score="6" Body="&lt;p&gt;Sitecore allows you to set up caching options. Your cache could be different depending on device, parameters, query string, etc. You are also able to extend caching options (if you need).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your case: you should turn on &quot;VaryByQueryString&quot; caching option on your renderings on page. Having this checkbox turned on you will have different cache depending on query string.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3tRNs.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3tRNs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="666" LastEditorUserId="666" LastEditDate="2017-10-30T11:20:26.263" LastActivityDate="2017-10-30T11:20:26.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8210" PostTypeId="1" AcceptedAnswerId="8212" CreationDate="2017-10-30T11:50:46.643" Score="3" ViewCount="967" Body="&lt;p&gt;I am working with WFFM Upload File and was asked to send the file by attaching it in the Email. So I created a custom Save Action that is almost the same with the OOTB Send Email Message except for an additional xml configuration :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;IncludeAttachments&amp;gt;true&amp;lt;/IncludeAttachments&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zRbfw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zRbfw.png&quot; alt=&quot;IncludeAttachments&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my end, it only puts link in the Email and saves the file to the Media Library instead of attaching the files in the Email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YgS4E.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YgS4E.jpg&quot; alt=&quot;Email attached&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tKRft.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tKRft.png&quot; alt=&quot;Media Library&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above configuration and behavior is based on the link below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2014/10/17/turn-off-the-attaching-of-files-in-emails-sent-by-web-forms-for-marketers-in-sitecore/amp/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2014/10/17/turn-off-the-attaching-of-files-in-emails-sent-by-web-forms-for-marketers-in-sitecore/amp/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure if this works in WFFM 8.1 160523 as some references are now &lt;code&gt;Sitecore.WFFM.Actions.SaveActions.SendMessage&lt;/code&gt; instead of &lt;code&gt;Sitecore.Form.Submit.SendMessage&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please advice me on this. &lt;/p&gt;&#xA;" OwnerUserId="2472" LastActivityDate="2017-10-30T13:52:38.953" Title="WFFM - Send Email With Attachment not working in 8.1 160523" Tags="|wffm|custom-field|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8211" PostTypeId="1" AcceptedAnswerId="8213" CreationDate="2017-10-30T13:45:23.100" Score="8" ViewCount="3471" Body="&lt;p&gt;The other day a colleague was asking about the &lt;strong&gt;sc_lang&lt;/strong&gt; query string parameter and how Sitecore knows to use that for the language. The conversation was seeking answers to the following questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What are all the ways in which Sitecore determines which language to use?&lt;/li&gt;&#xA;&lt;li&gt;What is the order of priority for each method in relation to the other?&lt;/li&gt;&#xA;&lt;li&gt;Is there a way to include other procedures to determine the language?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-10-30T14:32:32.103" Title="How is the site context language determined and is there a priority to which is chosen?" Tags="|multilingual|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8212" PostTypeId="2" ParentId="8210" CreationDate="2017-10-30T13:47:11.757" Score="4" Body="&lt;p&gt;I think this is now included out of the box with WFFM, no need for custom save action:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to &lt;strong&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Send Email Message&lt;/strong&gt; item. &lt;/li&gt;&#xA;&lt;li&gt;In Parameters field add the following: &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;  &lt;pre&gt;&lt;code&gt;&amp;lt;IsIncludeAttachments&amp;gt;true&amp;lt;/IsIncludeAttachments&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Save and publish changes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have it working on Sitecore 8.1 instance.&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2017-10-30T13:52:38.953" LastActivityDate="2017-10-30T13:52:38.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8213" PostTypeId="2" ParentId="8211" CreationDate="2017-10-30T14:01:03.623" Score="10" Body="&lt;p&gt;I think this is well covered on &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-overriding-sitecore-39-s-logic-to-determine-the-context-language&quot; rel=&quot;noreferrer&quot;&gt;John West's post&lt;/a&gt; which in summary describes what the priority is and how Sitecore handles them:&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;The Sitecore layout engine retrieves content from the Sitecore repository in the context language (Sitecore.Context.Language). The default logic to determine the context language is to use the first of these variables that specifies a value:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The &lt;strong&gt;sc_lang&lt;/strong&gt; query string parameter.&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.company.com/about-us/?sc_lang=en&quot; rel=&quot;noreferrer&quot;&gt;https://www.company.com/about-us/?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;strong&gt;language prefix&lt;/strong&gt; in the path in the requested URL.&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.company.com/en/about-us/&quot; rel=&quot;noreferrer&quot;&gt;https://www.company.com/en/about-us/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;strong&gt;language cookie&lt;/strong&gt; associated with the context site.&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;company#lang&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;strong&gt;default language&lt;/strong&gt; associated with the &lt;strong&gt;context logical site&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&amp;quot;company&amp;quot; patch:before=&amp;quot;site[@name='website']&amp;quot; &#xA;    virtualFolder=&amp;quot;/&amp;quot; physicalFolder=&amp;quot;/&amp;quot; &#xA;    rootPath=&amp;quot;/sitecore/content/company&amp;quot; language=&amp;quot;en&amp;quot; &#xA;    hostName=&amp;quot;www.company.com&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;The &lt;strong&gt;DefaultLanguage&lt;/strong&gt; setting specified in web.config.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;DefaultLanguage&amp;quot; value=&amp;quot;en&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;References:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-overriding-sitecore-39-s-logic-to-determine-the-context-language&quot; rel=&quot;noreferrer&quot;&gt;Community Site - John West&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorecorner.wordpress.com/2017/05/15/sitecore-context-language/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Corner&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="90" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-10-30T14:32:32.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8214" PostTypeId="1" CreationDate="2017-10-30T14:52:29.363" Score="12" ViewCount="348" Body="&lt;p&gt;I would like to add a rendering that also has some other rendering added to its own place holder ahead of time. An example is to add a striped rendering and place a 1 column grid rendering in the striped rendering's placeholder. And you can see how I could add an image, some html, etc... And have this all added to a placeholder in one clean action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that Brainjocks Score has the concept of a Snippet and not sure of what SXA calls theirs. But those are for MVC. I am looking for a little guidance on the code that would let us accomplish the same thing in webforms. Its a precompiled set of renderings that I can drop in a placeholder.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="1000" LastEditDate="2017-10-30T15:09:31.670" LastActivityDate="2024-01-03T05:24:28.777" Title="A rendering snippets in Web Forms" Tags="|experience-editor|presentation|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8215" PostTypeId="1" AcceptedAnswerId="8216" CreationDate="2017-10-30T15:35:21.243" Score="8" ViewCount="3015" Body="&lt;p&gt;So we've been successfully using Unicorn in a development only environment for the past few months.  We have Content and Media Library items synced and always deployed which obviously shouldn't be the case when we go to a production environment, but I'm unsure of the best way to transition.  Since we will have content in the Content and Media Library that we might need to &quot;Deploy Once&quot; and the rest we wouldn't want to ever deploy (we will work on deleting those items).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we configure this correctly.  Is there a way to specify the serialization as deploy once in the serialization patch.  Example, we have a patch that looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;      &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;configuration name=&quot;Feature.Navigation&quot; description=&quot;Feature Navigation&quot; dependencies=&quot;Foundation.Serialization&quot; patch:after=&quot;configuration[@name='Foundation.Serialization']&quot;&amp;gt;&#xA;          &amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\feature\navigation\Serialization&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; useDataCache=&quot;false&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Navigation.Templates&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/Feature/Navigation&quot; /&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Navigation.Renderings&quot; database=&quot;master&quot; path=&quot;/sitecore/layout/Renderings/Feature/Navigation&quot; /&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Navigation.Media&quot; database=&quot;master&quot; path=&quot;/sitecore/media library/Feature/Navigation&quot; /&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Navigation.Dictionary&quot; database=&quot;master&quot; path=&quot;/sitecore/content/global/dictionary/navigation&quot; /&amp;gt;&#xA;          &amp;lt;/predicate&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/configurations&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So in that example above, the dictionary items and the media library are both areas in the content portion of Sitecore and ideally, we would only want to deploy once the items in those areas.  Is there a way to configure Unicorn to deploy once for those folders.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-10-30T15:43:10.123" Title="Handle Unicorn Deploy Once in a Production Environment" Tags="|unicorn|deployment|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8216" PostTypeId="2" ParentId="8215" CreationDate="2017-10-30T15:43:10.123" Score="14" Body="&lt;p&gt;Yep. Using the &lt;code&gt;NewItemsOnly&lt;/code&gt; evaluator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add this under your &lt;code&gt;&amp;lt;configuration&amp;gt;&lt;/code&gt; element.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;evaluator type=&quot;Unicorn.Evaluators.NewItemOnlyEvaluator, Unicorn&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find an example of this in your Unicorn folder. &lt;code&gt;Unicorn.Configs.NewItemsOnly.example&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Be aware.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be aware of a few caveats though. I've been using this one myself in a scenario not too different from what you describe. And for most content, we had various example images and content set up - like menu elements for the Footer and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What happened was, that the client wanted to get rid of some of these example navigational elements and therefore deleted them. Then complained they kept coming back on each deploy. Which is obvious when you think about it - just keep this in mind when layout out your configurations :-)&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-10-30T15:43:10.123" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8217" PostTypeId="1" AcceptedAnswerId="8218" CreationDate="2017-10-30T15:52:36.523" Score="7" ViewCount="845" Body="&lt;p&gt;A client wants to change the timeout duration for users logged in through the shell/experience editor. I found 3 different places that seemed to reference timeouts for a user in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;InProc&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot; sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot;&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Authentication.ClientSessionTimeout&quot; value=&quot;20&quot; /&amp;gt;&#xA;&#xA;&amp;lt;forms name=&quot;.ASPXAUTH&quot; cookieless=&quot;UseCookies&quot; timeout=&quot;20&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I changed each to 1 while leaving the others at their value to see what would happen. Changing the forms element's timeout to 1 caused the user to be logged out after a minute. I could not tell what the others did exactly and reading the comments didn't really clear it up. I found &lt;a href=&quot;http://www.dofactory.com/topic/1747/session-timeout-vs-forms-authentication-timeout.aspx&quot; rel=&quot;noreferrer&quot;&gt;a link&lt;/a&gt; stating that the &lt;code&gt;sessionState&lt;/code&gt; element's timeout clears a session while forms keeps the user authenticated. I would like to know the differences between these 3 values and whether or not they should be kept in sync.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="70" LastEditDate="2017-10-30T15:59:19.270" LastActivityDate="2017-10-31T16:52:30.730" Title="Experience Editor Timeout change" Tags="|authentication|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8218" PostTypeId="2" ParentId="8217" CreationDate="2017-10-30T16:51:54.407" Score="7" Body="&lt;p&gt;They are all slightly different things and do not necessarily need to be in sync:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;forms name=&quot;.ASPXAUTH&quot; cookieless=&quot;UseCookies&quot; timeout=&quot;20&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is a &lt;strong&gt;Forms Timeout&lt;/strong&gt; and is the length in time that the auth cookie is valid.  Once this time is reached, the cookie will no longer be valid and the user will no longer be authenticated.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;InProc&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot; sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is a &lt;strong&gt;Session State Timeout&lt;/strong&gt; and is the amount of time a provider is expected to hold data in memory/SQL (in-proc/sql session state).  After this timeframe, the data will be removed regardless of if the user is authenticated or not.  The timeout counter will be reset after each request.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Authentication.ClientSessionTimeout&quot; value=&quot;20&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is the &lt;strong&gt;Sitecore Authentication Timeout&lt;/strong&gt; and is the length of time that Sitecore considers an authenticated session is valid for.  This setting is only considered relevant for logins to the &lt;code&gt;Sitecore Client&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The noteworthy difference between &lt;code&gt;ClientSession Timeout&lt;/code&gt; and the &lt;code&gt;Forms Timeout&lt;/code&gt; is the scope of the users.  &lt;code&gt;Forms Timeout&lt;/code&gt; will be in effect for any and all Form authentication since it's application bound while the &lt;code&gt;ClientSessionTimeout&lt;/code&gt; is specific to the Sitecore Client.  If your site does not contain any additional &lt;code&gt;Forms Auth&lt;/code&gt; than what is used for a standard Sitecore Client user, then the &lt;code&gt;Forms Timeout&lt;/code&gt; may match the &lt;code&gt;ClientSession Timeout&lt;/code&gt;, but if you are using a different provider for Sitecore Client authentication (LDAP) or have any other Forms on the site that would require different timeout windows, they can be set to different values.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: After @Teeknows comment about &lt;code&gt;ClientSessionTImeout&lt;/code&gt; being set to 1 and the other values being set to 20 and not getting logged out, I looked a hair further.  From what I can gather, &lt;code&gt;DomainAccessGuard&lt;/code&gt; does some checks if your session is valid within/for the domain. It looks like one of the few times the &lt;code&gt;Authentication.ClientSessionTimeout&lt;/code&gt; is checked is only after &lt;code&gt;DomainAccessGuard&lt;/code&gt; checks for an active session and &lt;em&gt;doesn't&lt;/em&gt; find one which (I could be wrong) implies that it was invalidated and removed, or the &lt;code&gt;Sitecore.Support.SessionTimeout.ExpirationAgent&lt;/code&gt; disposed of it (&lt;a href=&quot;https://kb.sitecore.net/articles/345947&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/345947&lt;/a&gt;). This &lt;em&gt;may&lt;/em&gt; be why setting &lt;code&gt;ClientSessionTimeout&lt;/code&gt; to less than &lt;code&gt;FormsTimeout&lt;/code&gt; may not necessarily trip a re-auth, especially if this is only being used by a single user at the time (not managing multiple sessions against a license/domain).&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sources:&#xA;&lt;a href=&quot;https://getfishtank.ca/en/blog/setting-session-timeouts-in-sitecore-7&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://getfishtank.ca/en/blog/setting-session-timeouts-in-sitecore-7&lt;/a&gt;&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/17812994/forms-authentication-timeout-vs-sessionstate-timeout&quot;&gt;https://stackoverflow.com/questions/17812994/forms-authentication-timeout-vs-sessionstate-timeout&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="695" LastEditDate="2017-10-31T16:52:30.730" LastActivityDate="2017-10-31T16:52:30.730" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8219" PostTypeId="1" AcceptedAnswerId="8221" CreationDate="2017-10-30T17:58:57.090" Score="5" ViewCount="738" Body="&lt;p&gt;I am trying to make a call from Sitecore 9 rev 170622 (Tech Preview) to an xConnect of 9 rev 171002 (IR). During the initialization I am getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One or more local models conflict with the xDB service layer. 'Sitecore.XConnect.Collection.Model, 8.3' does not match the remote version &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my full code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CertificateWebRequestHandlerModifierOptions options =&#xA;CertificateWebRequestHandlerModifierOptions.Parse(&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=0D80A21AAF0A3B76B87C5E2AA0FCF78C18252259B&quot;);&#xA;&#xA;var certificateModifier = new CertificateWebRequestHandlerModifier(options);&#xA;&#xA;List&amp;lt;IHttpClientModifier&amp;gt; clientModifiers = new List&amp;lt;IHttpClientModifier&amp;gt;();&#xA;var timeoutClientModifier = new TimeoutHttpClientModifier(new TimeSpan(0, 0, 20));&#xA;clientModifiers.Add(timeoutClientModifier);&#xA;&#xA;var collectionClient = new CollectionWebApiClient(new Uri(&quot;https://xp0.xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;var searchClient = new SearchWebApiClient(new Uri(&quot;https://xp0.xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;var configurationClient = new ConfigurationWebApiClient(new Uri(&quot;xp0.xconnect/configuration&quot;), clientModifiers, new[] { certificateModifier });&#xA;&#xA;var cfg = new XConnectClientConfiguration(&#xA;new XdbRuntimeModel(CollectionModel.Model), collectionClient, searchClient, configurationClient);&#xA;&#xA;try&#xA;{&#xA;  cfg.Initialize(); // HERE IS WHERE THE CODE BREAKS&#xA;}&#xA;catch (XdbModelConflictException ce)&#xA;{&#xA;Console.WriteLine(&quot;ERROR:&quot; + ce.Message);&#xA;return View();&#xA;}&#xA;&#xA;using (var client = new XConnectClient(cfg))&#xA;{&#xA;var results0 = client.Contacts.ToEnumerable().Count();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what this is about?&lt;/p&gt;&#xA;" OwnerUserId="471" LastActivityDate="2017-10-30T20:29:35.333" Title="xConnect - 'Sitecore.XConnect.Collection.Model, 8.3' does not match the remote version" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8220" PostTypeId="2" ParentId="5468" CreationDate="2017-10-30T18:01:28.807" Score="0" Body="&lt;p&gt;It ended up the reason for this but was a problem with that Sitecore 7.5 instance. Once we upgrade that to 8.2 my very same code started working properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks everyone!&lt;/p&gt;&#xA;" OwnerUserId="471" LastActivityDate="2017-10-30T18:01:28.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8221" PostTypeId="2" ParentId="8219" CreationDate="2017-10-30T20:29:35.333" Score="7" Body="&lt;p&gt;The default collection model in the Tech Preview was versioned as &lt;code&gt;8.3&lt;/code&gt;.  In the initial release, it became &lt;code&gt;9.0&lt;/code&gt;.  So, the Tech Preview instance of Sitecore is not using the same version of the model as xConnect is using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would imagine there are a number of other changes that were made between the Tech Preview and the initial release that would cause issues...&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2017-10-30T20:29:35.333" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8222" PostTypeId="1" CreationDate="2017-10-30T21:03:51.647" Score="4" ViewCount="311" Body="&lt;p&gt;I have configured multi-language in my SXA environment. The default language is English (en) when I created my site. I want to support LTR in English language and RTL in other language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to export the theme in English language and made my changes I found that the English theme overrides the other language theme and vice versa.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how can I support multiple language styling with SXA?&lt;/p&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="70" LastEditDate="2017-10-30T21:55:17.660" LastActivityDate="2018-05-16T10:24:17.577" Title="Import and Export multi language theme issue" Tags="|sxa|multilingual|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8223" PostTypeId="1" AcceptedAnswerId="8344" CreationDate="2017-10-30T22:03:46.380" Score="3" ViewCount="433" Body="&lt;p&gt;I have installed Sitecore 8.2 update 5 using the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit/1x/Sitecore_Azure_Toolkit_111.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Azure Toolkit&lt;/a&gt; ARM templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The setup is a single CM app service with multiple CD app service instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When trying to add an external site to FXM, or even just loading the FXM screen up generates this error in the log files:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2017-10-30T21:59:23  PID[6952] Error       4472 21:59:23 ERROR [Sitecore Services]: HTTP GET&#xA;  URL &lt;a href=&quot;https://cms-prd-cm.azurewebsites.net/sitecore/api/ssc/domainmatcher/service/DomainMatcher/QueryAll?search=&amp;amp;sorting=aName&amp;amp;skip=0&amp;amp;top=999&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cms-prd-cm.azurewebsites.net/sitecore/api/ssc/domainmatcher/service/DomainMatcher/QueryAll?search=&amp;amp;sorting=aName&amp;amp;skip=0&amp;amp;top=999&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Sitecore.ContentSearch.Exceptions.IndexNotFoundException: Index sitecore_fxm_web_index was not found&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In my investigation, it looks like the ARM templates are disabling the &lt;code&gt;Sitecore.FXM.Azure.DomainsSearch.Index.Web.config&lt;/code&gt; config file when installing the CM instance. On the CD's this is being enabled correctly. Enabling this file does resolve the issue, but is that the right thing to do?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my questions are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Why is that file being disabled on installation?&lt;/li&gt;&#xA;&lt;li&gt;Should it be disabled?&lt;/li&gt;&#xA;&lt;li&gt;If it should, how do we fix the error where the FXM application is looking for the web index even tho I'm in the CMS admin tool, which should really be looking at the &lt;code&gt;master&lt;/code&gt; db and index?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-11-07T20:55:46.130" Title="FXM web index is missing with Sitecore Azure PaaS" Tags="|fxm|azure-resource-manager|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8224" PostTypeId="1" AcceptedAnswerId="8235" CreationDate="2017-10-30T22:33:14.430" Score="3" ViewCount="335" Body="&lt;p&gt;I'm running Sitecore 8.2 Update 4, and I'm trying to turn on shared SQL sessions. I've followed the instructions found &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;, and made these changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my web.config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;mssql&quot; cookieless=&quot;false&quot; timeout=&quot;1&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;mssql&quot;&#xA;         type=&quot; Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot;&#xA;         connectionStringName=&quot;session&quot;&#xA;         pollingInterval=&quot;2&quot;&#xA;         compression=&quot;true&quot; &#xA;         sessionType=&quot;private&quot;/&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my ConnectionStrings.config file,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;session&quot; connectionString=&quot;user id=my_Service_Account;password=my_Password;Data Source=my_IP_Address;Database=SitecoreSessions&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my Sitecore.Analytics.Tracking.config file, I've got this change:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;tracking&amp;gt;&#xA;        &amp;lt;sharedSessionState defaultProvider=&quot;mssql&quot;&amp;gt;&#xA;            &amp;lt;providers&amp;gt;&#xA;                &amp;lt;add name=&quot;InProc&quot;&amp;gt;&#xA;                    &amp;lt;patch:delete/&amp;gt;&#xA;                &amp;lt;/add&amp;gt; &#xA;              &amp;lt;clear/&amp;gt;&#xA;              &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider,Sitecore.SessionProvider.Sql&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;shared&quot;/&amp;gt;&#xA;            &amp;lt;/providers&amp;gt;&#xA;        &amp;lt;/sharedSessionState&amp;gt;&#xA;    &amp;lt;/tracking&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Everything seems to work fine on my development sandbox. However, once I deploy my changes to our test server, which has multiple server roles (i.e. CM/CD/Reporting/Processing and Aggregation), I get this error on the CD Server's log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;676 15:28:10 WARN  Failed to deserialize Session object. Exception:&#xA;  Sitecore.Analytics.Exceptions.TypeNotAllowedForBindingException&#xA;  Message: Binding for type Sitecore.Analytics.Tracking.StandardSession&#xA;  from assembly Sitecore.Analytics, Version=8.1.0.0, Culture=neutral,&#xA;  PublicKeyToken=null is not allowed. Source: Sitecore.Analytics    at&#xA;  Sitecore.Analytics.Sessions.WhitelistSerializationBinder.BindToType(String&#xA;  assemblyName, String typeName)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectReader.Bind(String&#xA;  assemblyString, String typeString)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo&#xA;  assemblyInfo, String name)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String&#xA;  objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA,&#xA;  Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader&#xA;  objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo,&#xA;  SizedArray assemIdToAssemblyTable)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped&#xA;  record)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()&lt;br&gt;&#xA;  at&#xA;  System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler&#xA;  handler, __BinaryParser serParser, Boolean fCheck, Boolean&#xA;  isCrossAppDomain, IMethodCallMessage methodCallMessage)    at&#xA;  System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream&#xA;  serializationStream, HeaderHandler handler, Boolean fCheck, Boolean&#xA;  isCrossAppDomain, IMethodCallMessage methodCallMessage)    at&#xA;  Sitecore.Analytics.Sessions.PushSession.ProcessRequest(HttpContext&#xA;  context)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've noticed that my &lt;code&gt;Sitecore.Analytics.dll&lt;/code&gt; version is 10.0.3, not 8.1.0.0, as is being requested in the .NET stack trace. I'm not sure why Sitecore is looking for version 8.1 instead of version 8.2 of that DLL. Where can I go to start figuring out how to fix this issue?&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="1000" LastEditDate="2017-10-30T22:52:55.827" LastActivityDate="2017-10-31T21:13:53.990" Title="Why is my sitecore shared sessions database looking for a version 8.1.0.0 dll?" Tags="|session-state|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8225" PostTypeId="1" CreationDate="2017-10-30T22:44:20.760" Score="5" ViewCount="1405" Body="&lt;p&gt;I'm a new maintainer for an instance of Sitecore 8.2. I'm seeing this error &lt;em&gt;a lot&lt;/em&gt; in the logs:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;1664 16:28:00 WARN  Could not find constructor in ReflectionUtil.CreateObject: Sitecore.PathAnalyzer.Data.Remote.RemoteWebRequestFactory. The constructor parameters may not match or it may be an abstract class. Parameter info: Count: 2. Parameter types: Sitecore.PathAnalyzer.Configuration, System.String&#xA;1664 16:28:00 FATAL [Path Analyzer](ApplicationContainer.GetInstance) Can't create instance using path 'pathAnalyzer/webRequestFactory'. Make sure the referred element is present in configuration&#xA;1664 16:28:00 ERROR Exception when executing agent pathAnalyzer/newMapAgent&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.PathAnalyzer&#xA;   at Sitecore.PathAnalyzer.Data.Remote.RemoteTreeDefinitionService.BuildRequest(String requestPath, HttpMethod requestMethod, Byte[] requestData)&#xA;   at Sitecore.PathAnalyzer.Data.Remote.RemoteTreeDefinitionService.GetAllDefinitions()&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.NewMapAgent.GetTreeDefinitions()&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.BuildMapAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It seems to be coming from this snippet in Sitecore.PathAnalyzer.RemoteClient.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;webRequestFactory type=&quot;Sitecore.PathAnalyzer.Data.Remote.RemoteWebRequestFactory, Sitecore.PathAnalyzer&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;configuration&quot; ref=&quot;pathAnalyzer/configuration&quot; /&amp;gt;&#xA;  &amp;lt;param desc=&quot;httpTransportFactory&quot; ref=&quot;httpTransportFactory&quot; /&amp;gt;&#xA;&amp;lt;/webRequestFactory&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm pretty new to Sitecore and I'm having trouble finding anything about this particular issue. &lt;strong&gt;How should I fix this?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="2625" LastActivityDate="2023-12-10T12:00:55.083" Title="NullReferenceException when executing pathAnalyzer/newMapAgent" Tags="|configuration|path-analyzer|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8226" PostTypeId="1" AcceptedAnswerId="8230" CreationDate="2017-10-31T10:19:12.603" Score="6" ViewCount="744" Body="&lt;p&gt;how could I edit my forecolor list in RichText editor, for example everytime now I have to use a custom color. By the way, I know it could be achieved by adding classes, but is there any other way ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Rolkz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Rolkz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2594" LastActivityDate="2021-07-08T17:01:02.867" Title="Edit ForeColor list in RichText editor" Tags="|richtext-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8227" PostTypeId="1" AcceptedAnswerId="8240" CreationDate="2017-10-31T10:28:36.630" Score="3" ViewCount="266" Body="&lt;p&gt;We have a CM/CD setup where the CM works as intended, but the CD does not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that after following Sitecores &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;guides&lt;/a&gt; on how to configure a CD server, lucene indexing seems to be malfunctioning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The very first error message we get in the Sitecore log is the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6732 01:37:49 ERROR Error loading hook: &amp;lt;hook &#xA;type=&quot;Sitecore.ContentSearch.Hooks.Initializer, Sitecore.ContentSearch&quot; &#xA;patch:source=&quot;Sitecore.ContentSearch.config&quot; &#xA;xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; /&amp;gt;  &#xA;&#xA;Exception: System.InvalidOperationException&#xA;&#xA;Message: Could not find property 'CheckForThreshold' on object of type: &#xA;Sitecore.ContentSearch.Maintenance.Strategies.ManualStrategy&#xA;&#xA;Source: Sitecore.Kernel&#xA;at Sitecore.Configuration.DefaultFactory.AssignProperties(Object obj, &#xA;Object[] properties)&#xA;at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode &#xA;configNode, String[] parameters, Object obj, Boolean assert, Boolean &#xA;deferred, IFactoryHelper helper)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, &#xA;String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, &#xA;String[] parameters, Boolean assert)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, &#xA;String[] parameters, Boolean assert)&#xA;at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode &#xA;configNode, String[] parameters, Boolean assert)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, &#xA;String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, &#xA;String[] parameters, Boolean assert)&#xA;at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, &#xA;String[] parameters, Boolean assert)&#xA;at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode &#xA;configNode, String[] parameters, Object obj, Boolean assert, Boolean &#xA;deferred, IFactoryHelper helper)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, &#xA;String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, &#xA;String[] parameters, Boolean assert)&#xA;at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, &#xA;String[] parameters, Boolean assert)&#xA;at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode &#xA;configNode, String[] parameters, Object obj, Boolean assert, Boolean &#xA;deferred, IFactoryHelper helper)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, &#xA;String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, &#xA;String[] parameters, Boolean assert)&#xA;at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, &#xA;String[] parameters, Boolean assert)&#xA;at Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration()&#xA;at Sitecore.ContentSearch.Hooks.Initializer.Initialize()&#xA;at Sitecore.Events.Hooks.HookManager.LoadAll()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have some custom code that is using the lucene index and when calling Sitecore.ContentSearch.ContentSearchManager.GetIndex it fails with more or less the same error message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;&#xA;Message: Could not find property 'CheckForThreshold' on object of type: &#xA;Sitecore.ContentSearch.Maintenance.Strategies.ManualStrategy&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have been over the configuration multiple times, so I am pretty sure this part is correct. I was hoping someone might be able to point us in the right direction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards,&#xA;Magnus&lt;/p&gt;&#xA;" OwnerUserId="2524" LastActivityDate="2017-11-01T09:48:10.067" Title="Lucene fails to start up properly on CD Server" Tags="|indexing|lucene|hooks|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8229" PostTypeId="2" ParentId="7963" CreationDate="2017-10-31T10:42:11.480" Score="1" Body="&lt;p&gt;I had a similar issue for a drop list field after upgrading to SC 8.2 Update 3 using the Sitecore Content Migration tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I fixed this issue copying the Parameters field values in the Localized Parameters field. After this I was able to see and edit the options in the Form Designer again.&lt;/p&gt;&#xA;" OwnerUserId="1399" LastActivityDate="2017-10-31T10:42:11.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8230" PostTypeId="2" ParentId="8226" CreationDate="2017-10-31T11:51:35.327" Score="3" Body="&lt;p&gt;There is a option &quot;add custom color&quot; but it dissappear after closing the editor window. But you can add custom color statically. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open Website\sitecore\shell\Controls\Rich Text Editor\ToolsFile.xml&lt;/li&gt;&#xA;&lt;li&gt;Find &lt;code&gt;&amp;lt;colors&amp;gt;&lt;/code&gt; configuration.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Define required colors there. Something like: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;colors&amp;gt;&#xA;    &amp;lt;color value=&quot;#FF00EE&quot; /&amp;gt;&#xA;    &amp;lt;color value=&quot;#aa00EE&quot; /&amp;gt;&#xA;    &amp;lt;color value=&quot;#bb00EE&quot; /&amp;gt;&#xA;&amp;lt;/colors&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Result is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BoIWO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BoIWO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-10-31T11:51:35.327" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8231" PostTypeId="1" AcceptedAnswerId="8232" CreationDate="2017-10-31T12:59:56.960" Score="7" ViewCount="427" Body="&lt;p&gt;I would like to clean sitecore and delete all local data sources that are not in use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I can go through each DataSource item and check in LinkDatabase if it has referrer or not. But I have a lot of items in sitecore so it will take a lot of time and server resources. Is there a faster way to do it?  &lt;/p&gt;&#xA;" OwnerUserId="2627" LastActivityDate="2017-10-31T14:11:48.580" Title="Delete Data sources without any referrers" Tags="|datasource|link-database|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8232" PostTypeId="2" ParentId="8231" CreationDate="2017-10-31T14:11:48.580" Score="5" Body="&lt;p&gt;You can do that in a few steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Rebuild your link database&lt;/li&gt;&#xA;&lt;li&gt;Search for datasource items for example by template id&lt;/li&gt;&#xA;&lt;li&gt;For each item check if it has referrers&lt;/li&gt;&#xA;&lt;li&gt;Delete item&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The code can looks like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Cleanup()&#xA;{&#xA;    using (new SecurityDisabler())&#xA;    {&#xA;        var coreDb = Factory.GetDatabase(&quot;core&quot;);&#xA;        var masterDb = Factory.GetDatabase(&quot;master&quot;);&#xA;&#xA;        // 1. Rebuild link db&#xA;        Globals.LinkDatabase.Rebuild(coreDb);&#xA;        Globals.LinkDatabase.Rebuild(masterDb);&#xA;&#xA;        // 2. Search for datasource items&#xA;        var items = masterDb.SelectItems(&quot;/sitecore/content/home/*[@@templateid='{3B0461BF-9ABC-4AF1-B937-C8D225FC2313}']&quot;);&#xA;        foreach (var item in items)&#xA;        {&#xA;            // 3. Check if item has referrers&#xA;            var referrers = Globals.LinkDatabase.GetReferrers(item);&#xA;&#xA;            if (referrers == null || !referrers.Any() || referrers.All(x =&amp;gt; x.GetSourceItem() == null))&#xA;            {&#xA;                // 4. Delete item&#xA;                item.Delete();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="35" LastActivityDate="2017-10-31T14:11:48.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8234" PostTypeId="1" AcceptedAnswerId="8236" CreationDate="2017-10-31T19:35:47.890" Score="3" ViewCount="477" Body="&lt;p&gt;This is an 8.1 Update 2 setup, but the client does NOT have xDB (although we set up the Mongo connection strings, etc). We were getting 500 errors when hitting the Form Reports section for the APIs using the default analytics provider, so I switched to the SQL provider since xDB wasn't in use. That's working to fill in the Summary tab and to allow for exported data, but the Detailed Reports tab is coming back with &quot;no data has been set.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look at the WFFM database in SQL, there are only two tables, one of which has fields with a ContactID and InteractionID, which have GUIDs filled in. I assume this would be the data saved to Mongo if xDB was running, but without it, those IDs don't appear to be otherwise used. I have the VisitorIdentification tag in the layout, and Analytics.PerformLookup is set to true. I also set my local session state expiration to 2 minutes in web.config to flush out the session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If xDB isn't part of the license, is that Detailed Report tab essentially unavailable, since it requires the Contact and Interactions information from xDB?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-10-31T21:46:12.280" Title="WFFM Detailed Reports are empty" Tags="|xdb|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8235" PostTypeId="2" ParentId="8224" CreationDate="2017-10-31T20:01:10.440" Score="1" Body="&lt;p&gt;I remarked on a few updated old assemblies that are not overrideable by the files from update package. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For me looks like you still have some assemblies from old solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please compare assemblies from your solution with a clean Sitecore solution which is using the same release version as your project.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="1000" LastEditDate="2017-10-31T21:13:53.990" LastActivityDate="2017-10-31T21:13:53.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8236" PostTypeId="2" ParentId="8234" CreationDate="2017-10-31T21:46:12.280" Score="0" Body="&lt;p&gt;I'm afraid the answer is no. &#xA;The information on the form reports can be found here: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/81/using_web_forms/form_reports/the_web_form_reports&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/81/using_web_forms/form_reports/the_web_form_reports&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the detailed reports it says that the report:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Lists the contacts that have interacted with the web form.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As you don't have contacts without xDB, that's going to be difficult...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each row in the report should contain the following information:&#xA;&lt;em&gt;Name, Date, Value, Visits, Submission attempts, Dropouts, Failures, Result&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most of that data is in the xDB contact, so the reports is indeed not really possible without xDB enabled. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-10-31T21:46:12.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8237" PostTypeId="1" AcceptedAnswerId="8238" CreationDate="2017-10-31T22:58:02.643" Score="7" ViewCount="3147" Body="&lt;p&gt;We are considering using Sitecore 9.0 on a new project but we have a requirement to use Habitat. The Habitat example is designed for Sitecore 8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What do you see as the main pain points in using Sitecore 9 with Habitat? Search functionality won't work out of the box with the Lucene configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any experiences yet?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2017-12-13T21:02:35.820" Title="Sitecore 9 and Habitat" Tags="|habitat|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8238" PostTypeId="2" ParentId="8237" CreationDate="2017-10-31T23:07:59.747" Score="22" Body="&lt;p&gt;I don't really see any.  Keep in mind that Habitat is just an example site that demonstrates the Helix principles.  So really the requirement should be to build a Helix implementation on Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also they have a branch specific to Habitat for Sitecore 9: &lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/feature/v9&quot; rel=&quot;noreferrer&quot;&gt;Sitecore 9 Branch of Habitat&lt;/a&gt;.  So it might be beneficial to review that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some features that are part of Sitecore 9 that will be different from a Sitecore 8 implementation consist of the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Dynamic Placeholders&lt;/li&gt;&#xA;&lt;li&gt;The use of Solr instead of Lucene throughout&lt;/li&gt;&#xA;&lt;li&gt;Changes to how the configuration is setup&lt;/li&gt;&#xA;&lt;li&gt;And more...&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But those will just affect how you implement your helix implementation, and won't really impact how your Helix project is architected from a fundamentals standpoint.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-10-31T23:07:59.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8239" PostTypeId="1" AcceptedAnswerId="20762" CreationDate="2017-11-01T00:19:43.007" Score="4" ViewCount="149" Body="&lt;p&gt;I'm having a strange issue with FXM + Analytics. We use Sitecore 8.1 + FXM + xDB.&#xA;We noticed that analytics for the FXM sites is collected against a different contact.&#xA;For example, a request from external site to track page event is recorded against wrong contact and not the one specified in the url parameters:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[https://server.com]/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=[contact_guid]|True&amp;amp;sessionId=[session_guid]&amp;amp;page=[https://ext.server.com/]&amp;amp;referrer=[https://server.com/]&amp;amp;rt=1509488103273&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the xDB device collection, there is an entry that has correct contact id as &lt;code&gt;_id&lt;/code&gt; and wrong contact id as &lt;code&gt;LastKnownContactId&lt;/code&gt;. Not sure, how that happened, maybe during testing testers didn't clean up the cookies and logged in with these two users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently, Sitecore tries to identify this beacon request and matches it with the wrong contact using devices. And ignoring &lt;code&gt;contactId&lt;/code&gt; from Url records page visit event for this wrongly identified contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions or help would be appreciated! Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1901" LastEditorUserId="731" LastEditDate="2018-02-07T14:35:25.763" LastActivityDate="2019-08-30T00:41:33.927" Title="FXM + xDB. Analytics goes to the wrong contact" Tags="|xdb|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8240" PostTypeId="2" ParentId="8227" CreationDate="2017-11-01T09:48:10.067" Score="1" Body="&lt;p&gt;For the interested reader, I found out what the issue was:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem was the we are running Coveo and lucene side by side. The config file that switches Coveo from Master to Web changed the indexupdatestrategies to be manual. For some reason the Coveo setup on CD was referencing the property &quot;CheckForThreshold&quot; for this strategy and that does not exist for the manual update strategy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I changed it to use OnPublishEnd strategy instead and then everything worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this can someday help someone. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for all the advice.&lt;/p&gt;&#xA;" OwnerUserId="2524" LastActivityDate="2017-11-01T09:48:10.067" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8241" PostTypeId="2" ParentId="8223" CreationDate="2017-11-01T10:38:06.407" Score="1" Body="&lt;p&gt;I had the same issue with some of the web-indexes. The indexes I was missing were:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore_web_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketingdefinitions_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_asset_index_web &lt;/li&gt;&#xA;&lt;li&gt;sitecore_fxm_web_index social_messages_web&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These are all defined in configuration files that are only deployed to the CD instances by the ARM templates. By default none of the indexes are set up in the Azure Search Service. They are only created when you first rebuild the indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is intentional as this is in alignment with the official enable/disable configuration guide (at least for Sitecore 8.2 update 3) which you can find here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To create these indexes I logged in to the remove CD ftp server, temporarily enabled access to /sitecore and logged in as admin and rebuilt the indexes. That created them in the Azure Search Service. That fixed the issue for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, this shouldn't be necessary for us to do. These indexes should automatically have been created by the ARM templates for us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="1026" LastActivityDate="2017-11-01T10:38:06.407" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8242" PostTypeId="2" ParentId="8237" CreationDate="2017-11-01T13:17:04.973" Score="9" Body="&lt;p&gt;Having taken the path of building a project using Habitat (in Sitecore 8.2, not 9) I can give you the following points:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Benefits&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Good example of how to structure a Helix solution.&lt;/li&gt;&#xA;&lt;li&gt;Some useful Foundation modules which you &lt;em&gt;could&lt;/em&gt; re-use. Some of these help you to adhere to helix guidelines such as the Multisite foundation module which includes a Datasource configuration feature to allow you to set site-specific datasources for renderings.&lt;/li&gt;&#xA;&lt;li&gt;Can probably re-use Project\Common module as this consists mainly of bootstrap related structures.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Drawbacks&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Bloats your project with lots of code &lt;em&gt;you won't use&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;You will spend time removing Feature modules (or if you leave them in your solution, you will slow your build and synch processes), OR&lt;/li&gt;&#xA;&lt;li&gt;You will spend more time trying to adapt Feature modules to suit your needs than you would spend building from scratch.&lt;/li&gt;&#xA;&lt;li&gt;You will need to learn about the Habitat build process and will likely have to modify this if you use the solution in a CI process. This might take quite a bit of time if your usual build processes are very different.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would look at Habitat as a useful solution for first learning about Helix - if you create some sample modules it will be good practice for working in this manner. But do this with the goal of learning, not building something for a client project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way to think of it is: &lt;em&gt;do you prefer (and is it quicker) to create your own solution, a greenfield project; or do you prefer to work with an existing solution knowing that you will add the learning curve for this existing solution to your work burden.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2017-11-01T14:21:50.240" LastActivityDate="2017-11-01T14:21:50.240" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8243" PostTypeId="2" ParentId="8098" CreationDate="2017-11-01T14:05:06.737" Score="1" Body="&lt;p&gt;I wanted to share with you that this was confirmed as a bug and Sitecore provided a patch to fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;public reference number: 190415&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you,&#xA;Naim&lt;/p&gt;&#xA;" OwnerUserId="1057" LastEditorUserId="1057" LastEditDate="2017-11-01T15:42:09.703" LastActivityDate="2017-11-01T15:42:09.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8244" PostTypeId="1" CreationDate="2017-11-01T18:11:50.147" Score="5" ViewCount="191" Body="&lt;p&gt;Is it possible to configure Solr using SIM on a remote machine?&#xA;By default it shows &lt;a href=&quot;http://localhost:8983/solr&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:8983/solr&lt;/a&gt; .Can we have it something as &lt;a href=&quot;http://abc.com:8983/solr&quot; rel=&quot;noreferrer&quot;&gt;http://abc.com:8983/solr&lt;/a&gt; ?&lt;/p&gt;&#xA;" OwnerUserId="2319" LastActivityDate="2023-07-24T06:52:46.960" Title="Configuring Solr on remote server using SIM" Tags="|solr|sim|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8245" PostTypeId="1" CreationDate="2017-11-01T19:02:57.217" Score="3" ViewCount="541" Body="&lt;p&gt;We had upgraded our site from 8.1 to 8.2 update 4,  we are using item level language fallback but after upgrade it is not working, we have checked all settings,  all are correct.  Because with same settings it works for fresh sitecore instance.  Further investigating found that,  in content editor when we click on language which doesn't have any version,  then item is not fallback to other language. We found that one exception in log file which is as follows, &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Globalization.CultureNotFoundException&#xA;&#xA;Message: Culture is not supported.&#xA;&#xA;Parameter name: name&#xA;&#xA;00000000000000000000000000000000 is an invalid culture identifier.&#xA;&#xA;Source: mscorlib&#xA;&#xA;at System.Globalization.CultureInfo.GetCultureInfo(String name)&#xA;&#xA;at Sitecore.Buckets.Search.FacetSearcher.CollectResults(Database database, FacetResults results, Dictionary`2 facetQueries)&#xA;&#xA;at Sitecore.Buckets.Pipelines.Search.GetFacets.RunFacets.Process(GetFacetsArgs args)&#xA;&#xA;at (Object , Object[] )&#xA;&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;at Sitecore.Abstractions.CorePipelineWrapper.Run(String pipelineName, PipelineArgs args)&#xA;&#xA;at Sitecore.Buckets.Pipelines.Search.GetFacets.GetFacetsPipeline.Run(GetFacetsArgs args)&#xA;&#xA;at ItemBuckets.Services.Search.PerformSearch(HttpContext context)&#xA;&#xA;at ItemBuckets.Services.Search.&amp;lt;ProcessRequestAsync&amp;gt;d__7.MoveNext()&#xA;&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;&#xA;at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;&#xA;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;&#xA;at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)&#xA;&#xA;at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;&#xA;at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So why getting culture not found exception and where to find language culture info in Sitecore? &lt;/p&gt;&#xA;" OwnerUserId="1422" LastEditorUserId="1422" LastEditDate="2017-11-01T19:22:12.870" LastActivityDate="2017-11-01T19:22:43.610" Title="Getting language culture not support exception for item level language fallback" Tags="|upgrade|multilingual|language-fallback|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8248" PostTypeId="2" ParentId="8142" CreationDate="2017-11-01T19:40:30.573" Score="0" Body="&lt;p&gt;Azure doesn't make it super easy to see the issues, but there is &lt;em&gt;usually&lt;/em&gt; a more detailed error along with the basic error you've provided which is what helped me determine the exact error.  I do believe there is an issue with a change Azure made in regards to SQL Azure compatibility which is possibly related (it was impacting me w/ my deployments).  See this kb article for details:  &lt;a href=&quot;https://kb.sitecore.net/articles/755670&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/755670&lt;/a&gt;.  The SC ARM templates out on the GitHub repo have been updated to account for this, so you could deploy using PowerShell w/ those templates to see if that works for you.&lt;/p&gt;&#xA;" OwnerUserId="2630" LastActivityDate="2017-11-01T19:40:30.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8251" PostTypeId="1" CreationDate="2017-11-02T10:42:16.940" Score="1" ViewCount="1427" Body="&lt;p&gt;While creating Item all types of special characters should be allowed. I tried to alter the regular expression in sitecore.config but unable to resolve it&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ItemNameValidation&quot; value=&quot;^[\w\*\$][\w\s\-\$]*(\(\d{1,}\)){0,1}$&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1291" LastEditorUserId="1291" LastEditDate="2017-11-02T11:18:59.180" LastActivityDate="2017-11-02T13:10:25.717" Title="While creating Item all types of special characters should be allowed" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ClosedDate="2017-11-02T13:05:18.140" ContentLicense="CC BY-SA 3.0" />
  <row Id="8252" PostTypeId="2" ParentId="7816" CreationDate="2017-11-02T12:05:10.513" Score="2" Body="&lt;p&gt;In our case we do this like this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Generate deployment package (with the fix)&lt;/li&gt;&#xA;&lt;li&gt;Deploy it to staging slot&lt;/li&gt;&#xA;&lt;li&gt;Test it on staging stot&lt;/li&gt;&#xA;&lt;li&gt;Swap the slots&lt;/li&gt;&#xA;&lt;li&gt;Test on live again&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So we do not copy manually any files from production slot to staging slot etc. We just do a full deploy to staging slot (with the fix). Test it there and swap at the end.&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2017-11-02T12:05:10.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8253" PostTypeId="1" AcceptedAnswerId="8254" CreationDate="2017-11-02T12:13:26.080" Score="8" ViewCount="3589" Body="&lt;p&gt;In my experience, the default &lt;strong&gt;sitecore_master_index&lt;/strong&gt; and &lt;strong&gt;sitecore_web_index&lt;/strong&gt; work pretty fast with Solr. We have around 1 million documents in the index and it returns a result in between 0 to 10ms. I can also rebuild part of the index using Rebuild Tree button on developer tab, so I don't have to worry that if some part of the index is broken I have to do a full rebuild (which takes a lot of time).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When and why is recommended to create a custom index? What are the best practices here?&lt;/p&gt;&#xA;" OwnerUserId="35" LastEditorUserId="237" LastEditDate="2017-11-02T12:35:36.807" LastActivityDate="2017-11-23T07:34:58.703" Title="When and why to create a custom index" Tags="|indexing|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8254" PostTypeId="2" ParentId="8253" CreationDate="2017-11-02T12:21:41.463" Score="13" Body="&lt;p&gt;I don't think it takes 10 ms when you have complex query with facets. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The most important reasons for creating a separate index are the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;you can index only the items you need, speeding up (re-)indexation&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;you can index only the fields you really need, speeding up (re-)indexation&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;your index will only contain what you need, making it faster to search what you need&lt;/li&gt;&#xA;&lt;li&gt;you can control when the index gets updated&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-11-02T12:21:41.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8255" PostTypeId="1" CreationDate="2017-11-02T12:22:46.437" Score="5" ViewCount="2753" Body="&lt;p&gt;I observed an interesting scenerio in my machine.&#xA;I have the following configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Solr.ServiceBaseAddress&quot; value=&quot;http://localhost:8983/solr&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, If I go to Content Editor, I am getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Value cannot be null. Parameter name: fieldNameTranslator&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But, if I go to Control Panel to build index, I could see all the indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now if I change the value from &lt;a href=&quot;http://localhost:8983/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr&lt;/a&gt; to &lt;a href=&quot;http://localhost:8983/solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr/&lt;/a&gt; ( just observe that I added &quot;/&quot; ) in the end, I am not getting any Content Editor errors, however, I could not see any indexes in control panel to rebuild index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anybody faced similar issue?&lt;/p&gt;&#xA;" OwnerUserId="2319" LastEditorUserId="2727" LastEditDate="2018-02-28T13:41:47.723" LastActivityDate="2018-02-28T13:41:47.723" Title="Issue with http://localhost:8983/solr in Sitecore configuration" Tags="|sitecore-client|solr|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8256" PostTypeId="2" ParentId="8251" CreationDate="2017-11-02T12:24:16.730" Score="3" Body="&lt;p&gt;If you would like to allow all chars in items names in Sitecore you could use this patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;    &#xA;      &amp;lt;setting name=&quot;ItemNameValidation&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;^.*$&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;   &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Regex explanation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;^ asserts position at start of the string&#xA;.* matches any character (except for line terminators)&#xA;* Quantifier — Matches between zero and unlimited times, as many times as possible, giving back as needed (greedy)&#xA;$ asserts position at the end of the string, or before the line terminator right at the end of the string (if any)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1510" LastEditorUserId="1510" LastEditDate="2017-11-02T13:10:25.717" LastActivityDate="2017-11-02T13:10:25.717" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8257" PostTypeId="2" ParentId="8253" CreationDate="2017-11-02T12:34:59.143" Score="4" Body="&lt;p&gt;Next to the reasons already mentioned by our Climber, I would add:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;possibility to tweak the index in all ways possible - you can go really far in this tweaking your fields in the index, or even using custom document options etc&lt;/li&gt;&#xA;&lt;li&gt;when in need of (several) ComputedFields, I normally start considering a custom index (so I don't need to include these in the full index)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;but as your question already indicated: if you don't need them, don't use them (although I rather like them..)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-11-02T12:34:59.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8258" PostTypeId="2" ParentId="7956" CreationDate="2017-11-02T14:42:06.667" Score="8" Body="&lt;p&gt;After some investigation of my own. I've found that indexes don't actually have to be lowercased. The issue is with how Sitecore sends the query to SOLR.  Take the example query below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;?q=(_fullpath:(\/sitecore/content*) AND _template:(113102dfb569477791acfffc90244536))&amp;amp;rows=2147483647&amp;amp;fl=*,score&amp;amp;fq=_indexname:(myIndex_sitecore_master_index)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The index, in this case, is named &lt;code&gt;myIndex_sitecore_master_index&lt;/code&gt;. Sitecore is able to ping the index properly, but no results are returned.  The issue is that Sitecore also pushes the &lt;strong&gt;FilterQuery&lt;/strong&gt; (&lt;code&gt;fq&lt;/code&gt;) parameter with the query. The value for &lt;code&gt;_indexname&lt;/code&gt; passed is &lt;code&gt;myIndex_sitecore_master_index&lt;/code&gt;.  At first glance, this doesn't appear to be a problem, however, after reviewing the stored documents, the &lt;code&gt;_indexname&lt;/code&gt; field is stored as the lowercase variant on each document:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(JSON response)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;&quot;__lock_s&quot;: &quot;sitecoreuser&quot;,&#xA;&quot;_version&quot;: &quot;1&quot;,&#xA;&quot;_template&quot;: &quot;113102dfb569477791acfffc90244536&quot;,&#xA;&quot;_indexname&quot;: &quot;myindex_sitecore_master_index&quot;,&#xA;&quot;_version_&quot;: 1582958236651225000,&#xA;&quot;_indextimestamp&quot;: &quot;2017-11-02T12:43:34.2Z&quot;&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Therefore this document does not satisfy the &lt;strong&gt;FilterQuery&lt;/strong&gt; parameter and thus, no documents are returned. Effectively, the &lt;code&gt;fq&lt;/code&gt; parameter is combined with the earlier &lt;code&gt;q&lt;/code&gt; parameter, but the &lt;code&gt;fq&lt;/code&gt; piece is cached.  Therefore, Sitecore (in my example) is looking for a document where:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Path starts with &lt;code&gt;/sitecore/content&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Has a Template ID of &lt;code&gt;113102dfb569477791acfffc90244536&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Has an &lt;code&gt;_indexname&lt;/code&gt; of &lt;code&gt;myIndex_sitecore_master_index&lt;/code&gt; &lt;strong&gt;&amp;lt;- this fails&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I will submit this to Sitecore as a bug since if they passed the &lt;code&gt;fq&lt;/code&gt; parameter as the lowercase variant, this would not be an issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;--- Edit ---&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Confirmed Sitecore bug: 140821&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2017-11-03T20:24:10.493" LastActivityDate="2017-11-03T20:24:10.493" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8259" PostTypeId="1" AcceptedAnswerId="8286" CreationDate="2017-11-02T16:06:22.157" Score="6" ViewCount="613" Body="&lt;p&gt;I have installed the Sitecore.StoreFront solution by following the official deployment's guide. I have also got from github the latest source code's version which I'm using as base for my commerce project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to calculate cart's VAT. By design the storefront solution uses a GlobalTaxPolicy which is not suitable for what I need to do (in Italy VAT calc is item based) so I changed the tax's policy in my Environment from &lt;code&gt;Sitecore.Commerce.Plugin.Tax.GlobalTaxPolicy&lt;/code&gt; to &lt;code&gt;Sitecore.Commerce.Plugin.Tax.ItemTaxPolicy&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem now is that there is not any documentation on how to use or extend the ItemTaxPolicy, so I though to calculate taxes by using a cartline adjustments, but when I add a new &lt;code&gt;CartAdjustment&lt;/code&gt; to the &lt;code&gt;CommerceCartLine.Adjustments&lt;/code&gt;, it is ignored and my adjustments is lost.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea to solve these problems?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After read the &lt;em&gt;Creating your first plugin guide&lt;/em&gt; in the &lt;em&gt;SiteCore Commerce Developer's Guide&lt;/em&gt;, I made a banal tax plugin just do try how the engine works.&#xA;Now the problem is that my Run method never runs. This is my banal class's code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[PipelineDisplayName(&quot;VAT.CalculateCartLinesTaxBlock&quot;)]&#xA;public class VATBlock : CalculateCartLinesTaxBlock&#xA;{&#xA;    public override Task&amp;lt;Cart&amp;gt; Run(Cart arg, CommercePipelineExecutionContext context)&#xA;    {&#xA;        Condition.Requires(arg).IsNotNull(&quot;The argument can not be null&quot;);&#xA;        return Task.FromResult&amp;lt;Cart&amp;gt;(arg);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the registration block in ConfigureSitecore.cs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ConfigureServices(IServiceCollection services)&#xA;    {&#xA;        var assembly = Assembly.GetExecutingAssembly();&#xA;        services.RegisterAllPipelineBlocks(assembly);&#xA;        services.RegisterAllCommands(assembly);&#xA;&#xA;        services.Sitecore().Pipelines(&#xA;            config =&amp;gt; config&#xA;            .ConfigurePipeline&amp;lt;ICalculateCartLinesPipeline&amp;gt;(c =&amp;gt;&#xA;            {&#xA;                c.Add&amp;lt;VATBlock&amp;gt;().Before&amp;lt;CalculateCartLinesTotalsBlock&amp;gt;();&#xA;            })&#xA;            );&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried also to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Insert it after the &lt;em&gt;Plugin.Tax.CalculateCartLinesTaxBlock&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Insert it and then remove the &lt;em&gt;Plugin.Tax.CalculateCartLinesTaxBlock&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;but in the NodeConfiguration file, my plugin is never added in the pipeline (before or after) so my function never run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="2638" LastEditorUserId="2638" LastEditDate="2017-11-06T11:40:51.513" LastActivityDate="2018-10-11T20:51:51.857" Title="Implementing ItemTaxPolicy" Tags="|sitecore-commerce|commerce-connect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8260" PostTypeId="2" ParentId="8253" CreationDate="2017-11-02T16:18:46.003" Score="0" Body="&lt;p&gt;An additional minor benefit is that it makes it easier to debug the index using a tool like Luke (&lt;a href=&quot;http://www.getopt.org/luke/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.getopt.org/luke/&lt;/a&gt;). For example, if you were developing a blog, you might have 100 documents in a custom index as opposed to a million in the Sitecore indexes. The custom index will be much easier to browse and debug (as it would have far fewer documents and potentially fewer fields) than the monstrous Sitecore indexes.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2017-11-02T16:18:46.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8261" PostTypeId="2" ParentId="8255" CreationDate="2017-11-02T17:30:06.063" Score="5" Body="&lt;p&gt;The issue got resolved. I found out that some cores are missing in Solr. Once I created them, it started working.&#xA;To add more details, In Sitecore logs I found that it is looking for the following cores :&#xA;social_messages_web&#xA;social_messages_master&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I Manually added the cores to &quot;solr-6.6.0-0\apache-solr\server\solr&quot;&#xA;That resolved the issue.&lt;/p&gt;&#xA;" OwnerUserId="2319" LastEditorUserId="2319" LastEditDate="2017-11-03T04:47:03.340" LastActivityDate="2017-11-03T04:47:03.340" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8262" PostTypeId="2" ParentId="8017" CreationDate="2017-11-02T17:46:26.683" Score="0" Body="&lt;p&gt;Heard back from Sitecore support, the solution that was decided on was to add a delay to the code to prevent it from firing until a second had passed. The issue is that this code fires before the dialogue window closes, and when the window closes it fires another save that was overwriting what I had just set. So the solution is to wait until that is done to fire the save.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not a huge fan of throwing in delays as a solution - it always feels more likely to cause inconsistencies and issues down the line. The solution we went with was to move the code to the login pipeline, so that a user's managed domains are recalculated every time they login. This has its own disadvantaged - namely, we can't give special one-off privileges that fall outside our rules, as they will be lost as soon as the user logs in - but it's the best solution we've found.&lt;/p&gt;&#xA;" OwnerUserId="2425" LastActivityDate="2017-11-02T17:46:26.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8263" PostTypeId="1" AcceptedAnswerId="8469" CreationDate="2017-11-02T18:11:24.117" Score="4" ViewCount="2364" Body="&lt;p&gt;I am running Solr 5.5.4.  When I open the index manager, I see a bunch of errors in the Sitecore log file of the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;5664 13:40:46 ERROR Object reference not set to an instance of an object.&#xA;Source: Sitecore.ContentSearch.SolrProvider&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrIndexSummary.get_NumberOfDocuments()&#xA;   at Sitecore.ContentSearch.Client.Forms.IndexingManagerWizard.BuildIndexCheckbox(String name, String header, ListString selected, ListString indexMap)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Our Solr solution is using zookeeper and a Solr Cloud setup.  Does anyone know why that command isn't working?&lt;/p&gt;&#xA;" OwnerUserId="2639" LastActivityDate="2019-02-22T21:59:42.867" Title="Object Reference Error in Sitecore.ContentSearch.SolrProvider.SolrIndexSummary.get_NumberOfDocuments()" Tags="|solr|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8264" PostTypeId="1" CreationDate="2017-11-02T18:15:19.327" Score="3" ViewCount="518" Body="&lt;p&gt;I created a WFFM form with &lt;strong&gt;File upload&lt;/strong&gt; field to upload the files and using it in russian website. But the file upload button text and placeholder are displaying in English and I did not find any option in Sitecore to use different text for different language versions.&#xA;How can I change button text &quot;&lt;strong&gt;Choose file&lt;/strong&gt;&quot; and placeholder text &quot;&lt;strong&gt;No file choosen&lt;/strong&gt;&quot; to my custom text.&#xA;&lt;br&gt;&#xA;Sitecore : &lt;strong&gt;Sitecore 8.1 update 1&lt;/strong&gt;&#xA;&lt;br&gt;&#xA;WFFM : &lt;strong&gt;Web Forms for Marketers 8.1 rev. 151217&lt;/strong&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/kcI3J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kcI3J.png&quot; alt=&quot;WFFM FOrm&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="955" LastActivityDate="2017-12-02T21:48:37.723" Title="Change WFFM file upload button text" Tags="|wffm|sitecore-client|sitecore-api|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8265" PostTypeId="2" ParentId="5440" CreationDate="2017-11-02T18:47:18.340" Score="9" Body="&lt;p&gt;TDS Classic 5.7 (released after this question was initially posted) now has a 'Sync all projects with Sitecore' feature. This is a context menu option on the solution (under the Team Development for Sitecore group) when you have TDS 5.7 installed, and allows you to run a sync across all TDS projects in the solution.&#xA;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/TDS-Classic-5-7&quot; rel=&quot;noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/TDS-Classic-5-7&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1mvEQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1mvEQ.png&quot; alt=&quot;Sync all projects with Sitecore&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously, with many projects, and therefore, likely many items, this Sync could take a long time. Therefore, TDS Classic 5.7 also introduces a 'Lightning Sync Mode' (found within the TDS Options in the Visual Studio Options dialog), which saves comparison time by only comparing the Revision IDs of the TDS and Sitecore items, and not all of the fields.&#xA;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/tds-classic-5-7-lightning-mode&quot; rel=&quot;noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Blog/tds-classic-5-7-lightning-mode&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2RZXa.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2RZXa.png&quot; alt=&quot;Lightning Sync Mode&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On top of this, your question specifically asks about force-updating the Sitecore items, even those with 'DeployOnce' set. TDS Classic 5.7 also introduces the 'Quick Push all TDS Projects' feature in the solution context menu. This does exactly that, it pushes every item, in every project, to your Sitecore instance, even those with 'DeployOnce'. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/YnazU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YnazU.png&quot; alt=&quot;Quick Push all TDS Projects&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So instead of doing a 'Sync with Sitecore' -&gt; select all -&gt; select 'Update/Add to Sitecore' -&gt; click 'Do Updates', you can now save the sync comparison time and a couple of those clicks by using the Quick Push feature instead.&lt;/p&gt;&#xA;" OwnerUserId="418" LastEditorUserId="418" LastEditDate="2017-11-02T18:53:29.893" LastActivityDate="2017-11-02T18:53:29.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8267" PostTypeId="1" CreationDate="2017-11-02T19:48:30.600" Score="5" ViewCount="361" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NOhFu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NOhFu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am facing an issue with wffm number field regular expression.&#xA;Wherever a user enters alphabet characters in a number field it's showing default value &quot;Field contains an invalid number.&quot; but i have entered regular expression field value in form editor(shown in screen shot). It should display message which I have given in Multi Regular Expression form editor. Can anyone help me to solve this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Rm7Kb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Rm7Kb.png&quot; alt=&quot;Number field form editor Multi Regular Expression value[![Number field regular expression validation message showing default message&quot;&gt;&lt;/a&gt;]&lt;a href=&quot;https://i.stack.imgur.com/CYd0m.png&quot; rel=&quot;noreferrer&quot;&gt;3&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1969" LastEditorUserId="1000" LastEditDate="2017-11-02T19:54:26.670" LastActivityDate="2019-03-14T09:38:02.517" Title="WFFM 8.2 number field regular expression validation Message" Tags="|wffm|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8268" PostTypeId="2" ParentId="8264" CreationDate="2017-11-02T21:03:12.083" Score="3" Body="&lt;p&gt;The short answer is, you can't. If you look at the razor view for the &lt;code&gt;FileUploadField&lt;/code&gt; control, this is how it builds it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Forms.Mvc.Html&#xA;@model Sitecore.Forms.Mvc.ViewModels.Fields.FileUploadField&#xA;&#xA;@using (Html.BeginField())&#xA;{   &#xA;    @Html.TextBoxFor(m =&amp;gt; m.Value, new { type = &quot;file&quot;}  )&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That html helper function will create this markup:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;input type=&quot;file&quot; name=&quot;fieldname&quot; id=&quot;fieldName&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This type of field is entirely controlled by the browser, and will look different in different browsers:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eSbwE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eSbwE.png&quot; alt=&quot;File upload in different browsers&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Hack it with JavaScript&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The most used option is to use CSS to hide the file upload control and have a second button on the form that passes the click events through to the file upload control&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you would need to create a custom WFFM control that inherits from the FileUploadControl and add a field for your button text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you could do something like this in your razor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Forms.Mvc.Html&#xA;@model Sitecore.Forms.Mvc.ViewModels.Fields.FileUploadField&#xA;&#xA;@using (Html.BeginField())&#xA;{   &#xA;    @Html.TextBoxFor(m =&amp;gt; m.Value, new { type = &quot;file&quot;, @class = &quot;hidden&quot; }  )&#xA;    &amp;lt;button id=&quot;alternate-@(Model.Title)&quot;&amp;gt;&#xA;        @Model.ButtonText&#xA;    &amp;lt;/button&amp;gt;&#xA;}&#xA;&#xA;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;$(&quot;#alternate-@(Model.Title)&quot;).click(function(){&#xA;    $(&quot;#@(Model.Title)&quot;).click();&#xA;});&#xA;&amp;lt;/script&amp;gt;&#xA;&amp;lt;input type=&quot;file&quot; id=&quot;fileUpload&quot; name=&quot;fileUpload&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;@Model.ButtonText&lt;/code&gt; is your new field for the button text on the custom control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the most basic method to do it, you could expand on that with styles and more comprehensive markup to make it look good for the user. But the basics would be the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Browser images: &lt;a href=&quot;https://www.aurigma.com/upload-suite/developers/aspnet-mvc/how-to-upload-files-in-aspnet-mvc&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.aurigma.com/upload-suite/developers/aspnet-mvc/how-to-upload-files-in-aspnet-mvc&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Creating a custom control in WFFM: &lt;a href=&quot;https://soen.ghost.io/creating-a-custom-field-type-in-wffm-for-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://soen.ghost.io/creating-a-custom-field-type-in-wffm-for-sitecore/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-11-02T21:03:12.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8269" PostTypeId="2" ParentId="8114" CreationDate="2017-11-02T22:31:23.760" Score="2" Body="&lt;p&gt;Ran into similar issue today. Based on your exception, looks like the certificate you created is not what Sitecore is expecting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore is expecting a &lt;strong&gt;X509Certificate2&lt;/strong&gt; certificate&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; if ($CertificatePath -notlike 'cert:\*') {&#xA;        throw &quot;Certificate Path must start with 'cert:\' - $CertificatePath&quot;&#xA; }&#xA;&#xA; $certificate = Get-Item -Path $CertificatePath&#xA;&#xA; if ($certificate.GetType().Name -ne &quot;X509Certificate2&quot;) {&#xA;     throw &quot;$CertificatePath is not a valid Certificate Path&quot;&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note that I am using Windows 8.1 with IIS 8.5&lt;/strong&gt;. Here is the code I have used to create the required certificate. Assuming all the default variables as defined in Sitecore guide are followed&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Path = &quot;c:\\certificates&quot;&#xA;$Name = &quot;xp0.xconnect_client&quot;&#xA;$Signer = Invoke-GetCertificateConfigFunction -Id 'DO_NOT_TRUST_SitecoreRootCert' -CertStorePath Cert:\LocalMachine\Root -Verbose&#xA;$Signer.GetType()&#xA;$DnsName = &quot;xp0.xconnect_client&quot;&#xA;$CertStoreLocation = 'Cert:\LocalMachine\My'&#xA;$signedCertificate = New-SelfSignedCertificate  -CloneCert $Signer -DnsName $DnsName -CertStoreLocation $CertStoreLocation -Verbose&#xA;                if ($null -eq $signedCertificate) {&#xA;&#xA;                    throw &quot;Failed to create signed certificate for '$DnsName' in $CertStoreLocation&quot;&#xA;                }&#xA;                Write-Host &quot;Created signed certificate $signedCertificate&quot;&#xA;&#xA;&#xA;            Write-Host &quot;Export new certificate public key as a CRT file&quot;&#xA;            $exportFilePath = Join-Path -Path $Path -ChildPath &quot;$Name.crt&quot;&#xA;            $certificateInfo = Export-Certificate -Cert $signedCertificate -FilePath $exportFilePath -Force&#xA;&#xA;            Write-Information -MessageData &quot;Exported signed certificate to $exportFilePath&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Trick is here. You can use the Root certificate for cloning and use a different Dns name (in my case &lt;code&gt;xp0.xconnect_client&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-SelfSignedCertificate  -CloneCert $Signer -DnsName $DnsName -CertStoreLocation $CertStoreLocation -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Done these, I am still trying to get SIF work on my Windows 8.1 with IIS 8.5&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2017-11-02T22:31:23.760" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8270" PostTypeId="1" CreationDate="2017-11-02T22:44:14.327" Score="14" ViewCount="4848" Body="&lt;p&gt;Trying my best to get my Sitecore 9 instance running on Windows 8.1 with IIS 8.5.&#xA;As mentioned in Sitecore guide, I am noticing lot of issues while installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After solving a few of them, I ended up now with below. I have no clue why the certificate is missing a private key. I have cloned the certificate from what Sitecore has created under Trusted Root with name &lt;code&gt;DO_NOT_TRUST_SitecoreRootCert&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At 4:00 AM in the morning, I see no point in fighting this battle alone. So, calling out to my community for help!!!&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[------------------------------------------------------------- &#xA;SetAppPoolCertStorePermissions : FilePermissions ---------------------------&#xA;-------------------------------------------------]&#xA;VERBOSE: Resolving ConfigFunction extension 'ResolveCertificatePath'&#xA;VERBOSE: Resolved 'Invoke-ResolveCertificatePathConfigFunction'&#xA;VERBOSE: Resolving ConfigFunction extension 'joinpath'&#xA;VERBOSE: Resolved 'Invoke-JoinPathConfigFunction'&#xA;VERBOSE: Resolving ConfigFunction extension 'GetCertificateThumbprint'&#xA;VERBOSE: Resolved 'Invoke-GetCertificateThumbprintConfigFunction'&#xA;VERBOSE: Invoke-GetCertificateConfigFunction&#xA;VERBOSE: Id: xp0.xconnect_client&#xA;VERBOSE: CertStorePath: Cert:\Localmachine\My&#xA;VERBOSE: Found Cert with thumbprint:         &#xA;0DF036C9C10365E9A81F5A93990E1A3688584DC2&#xA;VERBOSE: Invoke-JoinPathConfigFunction&#xA;VERBOSE: Joining: Cert:\Localmachine\My     &#xA;0DF036C9C10365E9A81F5A93990E1A3688584DC2&#xA;VERBOSE: Result: &#xA;Cert:\Localmachine\My\0DF036C9C10365E9A81F5A93990E1A3688584DC2&#xA;VERBOSE: Invoke-ResolveCertificatePathConfigFunction&#xA;VERBOSE: Resolving path:     &#xA;Cert:\Localmachine\My\0DF036C9C10365E9A81F5A93990E1A3688584DC2&#xA;Install-SitecoreConfiguration : Unable to parse     &#xA;[ResolveCertificatePath(variable('Security.XConnect.CertificatePath'))] - &#xA;Exception calling &quot;InvokeWithContext&quot; with &quot;2&quot; argument(s): &quot;The &#xA;running command stopped because the preference variable &#xA;&quot;ErrorActionPreference&quot; or common parameter is set to Stop: Certificate &#xA;Cert:\Localmachine\My\0DF036C9C10365E9A81F5A93990E1A3688584DC2 does not &#xA;contain Private Key. Ensure that it has been exported with the Private Key.&quot;&#xA;At D:\software\Sitecore\Sitecore 9\sc9pckg\Install.ps1:43 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo          : NotSpecified: (:) [Write-Error],     &#xA;WriteErrorException&#xA;+ FullyQualifiedErrorId :     &#xA;Microsoft.PowerShell.Commands.WriteErrorException,Install-&#xA;SitecoreConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="773" LastEditorUserId="73" LastEditDate="2017-11-10T10:43:06.213" LastActivityDate="2018-03-09T07:53:46.550" Title="Issue with Sitecore 9 certificate missing private key" Tags="|sitecore-install-framework|xconnect|" AnswerCount="3" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="8271" PostTypeId="2" ParentId="8142" CreationDate="2017-11-03T03:08:46.717" Score="2" Body="&lt;p&gt;I have heard from the sitecore support, and it is related to the following know issue related to Visual Studio limited subscription: &lt;a href=&quot;https://kb.sitecore.net/articles/915122&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/915122&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thus, to resolve the issue, try to remove limits by settings a payment method in your subscription. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This query is already answered. &lt;/p&gt;&#xA;" OwnerUserId="1605" LastActivityDate="2017-11-03T03:08:46.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8272" PostTypeId="2" ParentId="8270" CreationDate="2017-11-03T04:06:05.963" Score="7" Body="&lt;p&gt;The &quot;secret&quot; is in the Installation Guide, but you have to jump ahead to Section 5.1 and 5.2. When I then created this PowerShell script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters&#xA;$prefix = &quot;xp0&quot;&#xA;$PSScriptRoot = &quot;D:\downloads\sitecore\sif&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot;&#xA;$sitecoreSiteName = &quot;$prefix.sc&quot;&#xA;$SolrUrl = &quot;https://localhost:8983/solr&quot;&#xA;$SolrRoot = &quot;D:\solr\solr-6.6.1&quot;&#xA;$SolrService = &quot;solr6&quot;&#xA;$SqlServer = &quot;.&quot;&#xA;$SqlAdminUser = &quot;sitecore&quot;&#xA;$SqlAdminPassword=&quot;sitecore&quot; &#xA;&#xA;#install client certificate for xconnect&#xA;$certParams = @{&#xA;     Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;&#xA;     CertificateName = &quot;$prefix.xconnect_client&quot;&#xA;}&#xA;Install-SitecoreConfiguration @certParams -Verbose &#xA;&#xA;#install solr cores for xdb&#xA;$solrParams = @{&#xA;     Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;&#xA;     SolrUrl = $SolrUrl&#xA;     SolrRoot = $SolrRoot&#xA;     SolrService = $SolrService&#xA;     CorePrefix = $prefix&#xA;}&#xA;Install-SitecoreConfiguration @solrParams &#xA;&#xA;#deploy xconnect instance&#xA;$xconnectParams = @{&#xA;     Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;&#xA;     Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA;     LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;     Sitename = $XConnectCollectionService&#xA;     XConnectCert = $certParams.CertificateName&#xA;     SqlDbPrefix = $prefix&#xA;     SqlServer = $SqlServer&#xA;     SqlAdminUser = $SqlAdminUser&#xA;     SqlAdminPassword = $SqlAdminPassword&#xA;     SolrCorePrefix = $prefix&#xA;     SolrURL = $SolrUrl&#xA;}&#xA;Install-SitecoreConfiguration @xconnectParams &#xA;&#xA;#install solr cores for sitecore&#xA;$solrParams = @{&#xA;     Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;&#xA;     SolrUrl = $SolrUrl&#xA;     SolrRoot = $SolrRoot&#xA;     SolrService = $SolrService&#xA;     CorePrefix = $prefix&#xA;}&#xA;Install-SitecoreConfiguration @solrParams &#xA;&#xA;#install sitecore instance&#xA;$xconnectHostName = &quot;$prefix.xconnect&quot;&#xA;$sitecoreParams = @{&#xA;    Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot;&#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_single.scwdp.zip&quot; &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;    SqlDbPrefix = $prefix&#xA;    SqlServer = $SqlServer&#xA;    SqlAdminUser = $SqlAdminUser&#xA;    SqlAdminPassword = $SqlAdminPassword&#xA;    SolrCorePrefix = $prefix&#xA;    SolrUrl = $SolrUrl&#xA;    XConnectCert = $certParams.CertificateName&#xA;    Sitename = $sitecoreSiteName&#xA;    XConnectCollectionService = &quot;https://$XConnectCollectionService&quot;&#xA;}&#xA;Install-SitecoreConfiguration @sitecoreParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;. Kam also created an excellent blog post:&#xA;&lt;a href=&quot;https://kamsar.net/index.php/2017/10/All-about-xConnect-Security/&quot; rel=&quot;noreferrer&quot;&gt;https://kamsar.net/index.php/2017/10/All-about-xConnect-Security/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also look into SIFless - &lt;a href=&quot;http://www.rockpapersitecore.com/2017/10/introducing-sif-less-for-easy-sitecore-9-installation/&quot; rel=&quot;noreferrer&quot;&gt;http://www.rockpapersitecore.com/2017/10/introducing-sif-less-for-easy-sitecore-9-installation/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2017-11-03T04:06:05.963" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8273" PostTypeId="1" CreationDate="2017-11-03T07:22:59.487" Score="3" ViewCount="164" Body="&lt;p&gt;When I am saving the Sitecore item using the below code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;app.Language = itemLanguage;&#xA;service.Save&amp;lt;Application&amp;gt;(app);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is saving in the respective language but modifying the values in the English version as well.&lt;/p&gt;&#xA;" OwnerUserId="1333" LastEditorUserId="277" LastEditDate="2017-11-03T07:24:33.660" LastActivityDate="2017-11-03T12:49:42.513" Title="Glass Mapper Save for a specific language Modifies English language" Tags="|glass-mapper|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8275" PostTypeId="1" CreationDate="2017-11-03T08:27:10.997" Score="3" ViewCount="4433" Body="&lt;p&gt;How can I fetch the item by display name?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The below code is not working:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string url = string.Concat(&quot;fast:/sitecore/content/KeenanDirect/#&quot; + string.Format(blogtype) + &quot;#//*[@@Display name='&quot;,  displayname + &quot;']&quot;);&#xA;sitecoreItem = database.Items.GetItem(url);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1291" LastEditorUserId="73" LastEditDate="2017-11-03T12:51:07.137" LastActivityDate="2017-11-03T12:51:07.137" Title="Get item by Display name in sitecore" Tags="|sitecore-query|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8277" PostTypeId="1" AcceptedAnswerId="8280" CreationDate="2017-11-03T08:40:52.770" Score="3" ViewCount="697" Body="&lt;p&gt;I have problem with list manager in Sitecore 8.2.&#xA;When I create a new list, it does not get contacts from xDB. In the segmentation list option &quot;Use all contacts as source&quot; is not available (grayed out).&#xA;In Experience Profile I see contacts and I can search by name or email.&lt;/p&gt;&#xA;" OwnerUserId="2471" LastActivityDate="2017-11-03T09:09:48.857" Title="List manager is empty" Tags="|xdb|list-manager|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8279" PostTypeId="2" ParentId="8275" CreationDate="2017-11-03T09:09:41.557" Score="6" Body="&lt;p&gt;First of all I do not recommend using FastQuery, because it can be really slow and many people have had problems with it: &lt;a href=&quot;https://blog.coates.dk/2014/11/19/sitecore-fast-query-syntax-can-kill-your-sql-server-or-website/&quot; rel=&quot;noreferrer&quot;&gt;https://blog.coates.dk/2014/11/19/sitecore-fast-query-syntax-can-kill-your-sql-server-or-website/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you still want to use here is the trick: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The field in Sitecore is not Display Name, it is &quot;&lt;strong&gt;Display Name&quot;. &#xA;All the &lt;code&gt;standard fields&lt;/code&gt; are prefixed by &quot;&lt;/strong&gt;&quot; 2 underlines char. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QoC4o.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QoC4o.png&quot; alt=&quot;Image of Standard Field Definitions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your fast query should look like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;fast:/sitecore/content//*[@#__Display Name#='homedisplayname']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Display Name&lt;/code&gt; for my home item is: &lt;code&gt;homedisplayname&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added #field name#  because multi word names should be encoded with &quot;#&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried fast query in Developer Center and here are the results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to change a bit of your code to have same pattern like my query from Developer Center. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/P0gBv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P0gBv.png&quot; alt=&quot;Results of Fast Query in Developer Center&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="1000" LastEditDate="2017-11-03T12:47:36.443" LastActivityDate="2017-11-03T12:47:36.443" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8280" PostTypeId="2" ParentId="8277" CreationDate="2017-11-03T09:09:48.857" Score="3" Body="&lt;p&gt;As I see, you already have enabled &quot;All contacts (Entire database)&quot;.That is why your option disabled. You need to add segmentation for your list and set condition. After that you will see your contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is standard behavior for lists.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-11-03T09:09:48.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8281" PostTypeId="1" CreationDate="2017-11-03T09:48:33.623" Score="7" ViewCount="1021" Body="&lt;p&gt;I am midst of migrating a Sitecore project to Azure Paas offering. I've completed the deployment of the files (ie. dlls, configs, css, js, etc) and were able to do a complete unicorn sync. That looks very promising! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I've reached the point that I need to migrate my solr core indexes to azure search and was shocked that Azure Search doesn't give you an option to migrate solr indexes &lt;strong&gt;schema and data&lt;/strong&gt; into AS. (&lt;em&gt;I will be thankful already if I can migrate the schema even without the data as this is only for UAT&lt;/em&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my first question is, is there a way to import my solr indexes schema without manually creating those in Azure search. I am trying to avoid to define ALL the fields one by one. &lt;em&gt;(guys, don't crucify us.. the developers, pls pls pls)&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x4ivT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x4ivT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note that the Import data option is limited to Azure SQL database, SQL&#xA;  server relational data, Azure Cosmos, Azure blog storage and Azure&#xA;  Table storage only.&#xA;  &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/search/search-import-data-portal&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/search/search-import-data-portal&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My alternative solution to my problem is to copy an existing Azure Search Sitecore index Ie. &lt;strong&gt;Sitecore-Master-Index&lt;/strong&gt;, but I don't see that option as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Pv2fv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Pv2fv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Another thing to note, if your Solr indexes naming convention has&#xA;  underscore (_), in Azure Search you are not allowed to add special&#xA;  characters except lowercase letters, digits or dashses.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Feel free to comment if you have ideas, workaround or solution, any tools to use. Thanks. &lt;/p&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="73" LastEditDate="2020-02-13T19:05:03.123" LastActivityDate="2021-03-10T00:08:28.080" Title="Migrating Solr Core indexes to Azure Search indexes" Tags="|solr|azure|azure-search|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="8282" PostTypeId="1" AcceptedAnswerId="8285" CreationDate="2017-11-03T13:22:16.053" Score="5" ViewCount="654" Body="&lt;p&gt;So I have a small snippet of code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string requestedUrl = args.Context.Request.Url.AbsoluteUri;&#xA;Log.Warn($&quot;Requested Url: '{requestedUrl}' being checked.&quot;, this);&#xA;var redirectTarget = _redirector.GetRedirectTarget(mapKey, requestedUrl.ToLowerInvariant());&#xA;if (!string.IsNullOrEmpty(redirectTarget))&#xA;{&#xA;    Log.Warn($&quot;Map 301 redirected '{args.Context.Request.Url.AbsoluteUri}' =&amp;gt; {redirectTarget}&quot;, this);&#xA;    args.AbortPipeline();&#xA;    args.Context.Response.RedirectPermanent(redirectTarget);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And my problem is this; because the &lt;code&gt;RedirectPermanent()&lt;/code&gt; call essentially works by throwing an exception - nothing gets logged on those requests. Which is what surprises me. I would expect the &lt;code&gt;Log.Warn($&quot;Map 301...&lt;/code&gt; log entry to always show up in my Sitecore log - but it doesn't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only log entries I get with this code, are like these:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;31264 13:13:14 WARN  Requested Url: '&lt;a href=&quot;http://myclient.dk/collections/myclientproduct&quot; rel=&quot;noreferrer&quot;&gt;http://myclient.dk/collections/myclientproduct&lt;/a&gt;' being checked.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Which is one of the target URLs in my code. The request that happened just prior, that was redirected to this page - is not shown in log.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What gives?   And this must have been changed recently, no?  I am almost certain, this behaviour wasn't always like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edited to add&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code lives in a HttpRequestProcessor that is patched in right after the &lt;code&gt;DatabaseResolver&lt;/code&gt; in the &lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&lt;/code&gt; pipeline. While I don't know why, this seems to make a difference. Executing the above code in a normal page, works as expected.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-11-03T13:45:24.133" LastActivityDate="2017-11-03T14:26:39.403" Title="How can I flush the logfile?" Tags="|logging|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8284" PostTypeId="2" ParentId="8282" CreationDate="2017-11-03T14:19:03.283" Score="2" Body="&lt;p&gt;You can try and use the second overload of &lt;strong&gt;RedirectPermanent(string, boolean)&lt;/strong&gt; , where you can tell IIS pipeline not to throw an exception by setting &lt;strong&gt;endResponse= false&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.Context.Response.RedirectPermanent(redirectTarget, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Combine this with calling &lt;strong&gt;CompleteRequest()&lt;/strong&gt; will ensure that once the current page/pipeline finishes, it will go to EndRequest event, So your code should be like this :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.Context.Response.RedirectPermanent(redirectTarget, false);&#xA;args.Context.ApplicationInstance.CompleteRequest();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find more details on this &lt;a href=&quot;https://blogs.msdn.microsoft.com/tmarq/2009/06/25/correct-use-of-system-web-httpresponse-redirect/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2017-11-03T14:26:39.403" LastActivityDate="2017-11-03T14:26:39.403" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8285" PostTypeId="2" ParentId="8282" CreationDate="2017-11-03T14:19:44.943" Score="9" Body="&lt;p&gt;It's not the problem with the &lt;code&gt;Log.Warn&lt;/code&gt; being called in a &lt;code&gt;httpRequestBegin&lt;/code&gt; processor or from a normal page. It's just your browser caching the redirect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First time you do a call to a page which should be redirected, you will see the log entry starting from:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Map 301 redirected...&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;in your log files. Second time you do the same request in your browser, it won't even hit your server. It's cached in your browser, cause you're using 301 permanent redirect. You'll be redirected, but nothing will be saved in your logs.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-11-03T14:19:44.943" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8286" PostTypeId="2" ParentId="8259" CreationDate="2017-11-03T16:17:24.960" Score="5" Body="&lt;p&gt;As you can see a policy defines some configuration in Sitecore Commerce. By removing the &lt;code&gt;GlobalTaxPolicy&lt;/code&gt; from the json file, you don't change how the tax is calculated, you just change the parameters used to calculate it. In this case the default parameters are used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The components that actually do the tax calculation are called &lt;code&gt;CalculateCartLinesTaxBlock&lt;/code&gt; and &lt;code&gt;CalculateCartTaxBlock&lt;/code&gt;. They are blocks that are used in a pipeline. You can find out which pipeline by using the Postman examples included in the Commerce SDK and calling &lt;code&gt;GetPipelines()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will see that these blocks are used in &lt;code&gt;ICalculateCartPipeline&lt;/code&gt; and &lt;code&gt;ICalculateCartLinesPipeline&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now to know how &lt;code&gt;CalculateCartLinesTaxBlock&lt;/code&gt; works and get some inspiration for your own blocks, it is best to use dotPeek or another reflector tool that will show you a decompiled version of the source code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="1749" LastActivityDate="2017-11-03T16:17:24.960" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8287" PostTypeId="1" AcceptedAnswerId="8292" CreationDate="2017-11-03T16:27:34.843" Score="6" ViewCount="350" Body="&lt;p&gt;I heard it is possible to control your device layout by which culture you are in.  I can not find any documentation or examples on this.  I see that you can choose a device layout by QueryString or some rules.  But none of those rules seem to inspect the culture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can this be accomplish either by sitecore items or through code?&lt;/p&gt;&#xA;" OwnerUserId="2632" LastEditorUserId="731" LastEditDate="2018-12-07T19:49:27.993" LastActivityDate="2018-12-07T19:49:27.993" Title="Controlling Layout / Device Layout by culture" Tags="|presentation|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8289" PostTypeId="1" CreationDate="2017-11-03T19:46:35.140" Score="3" ViewCount="281" Body="&lt;p&gt;I'm on page 59 of APress Phil Wicklund's &quot;Professional Sitecore 8 Development&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to add my Rendering to the &quot;main&quot; Placeholder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Experience Editor =&gt; click inside the &quot;Main&quot; Placeholder =&gt; &quot;Add here&quot; =&gt; &quot;Select Rendering&quot; =&gt; &quot;Select&quot; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Message from Webpage&quot;  &quot;an error occurred&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've scoured all the logs from /data/logs/ but without seeing anything related.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question: are there other places I need to look into, for more clues?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you,&lt;/p&gt;&#xA;" OwnerUserId="1206" LastActivityDate="2018-04-04T04:31:58.250" Title="Are there other locations than \data\logs to look into for clues on &quot;An error occured&quot; message?" Tags="|placeholders|" AnswerCount="1" CommentCount="8" ClosedDate="2018-04-04T07:53:34.340" ContentLicense="CC BY-SA 3.0" />
  <row Id="8291" PostTypeId="1" CreationDate="2017-11-04T07:51:46.563" Score="4" ViewCount="400" Body="&lt;p&gt;It looks similar to this post, but it's not &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6208/sitecore-azure-search-invalid-field-name&quot;&gt;Sitecore Azure Search - Invalid field name&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Azure Paas, Sitecore control panel, I am trying to index my custom search index 'generic_search_master' and resulted to the exception below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/96PZu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/96PZu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have made sure that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;All the SOLR configurations are disabled&lt;/li&gt;&#xA;&lt;li&gt;All the Lucene configurations are disabled&lt;/li&gt;&#xA;&lt;li&gt;I have a valid Azure Search configurations and the AS search service is running. &lt;/li&gt;&#xA;&lt;li&gt;Upon first index, I were able to create the index in the Azure Search(AS) &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eyasd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eyasd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here's the detailed exception:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Index_Update_IndexName=generic_search_master_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.AggregateException: One or more errors occurred. ---&amp;gt; Sitecore.ContentSearch.Azure.Http.Exceptions.PostFailedForSomeDocumentsException: Partial success for insert or update. Some documents succeeded, but at least one failed. ---&amp;gt; Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException: {&quot;@odata.context&quot;:&quot;https://mc-9530421c-75e9-4777-9b33-641990-as.search.windows.net/indexes('generic-search-master-index')/$metadata#Collection(Microsoft.Azure.Search.V2015_02_28_Preview.IndexResult)&quot;,&quot;value&quot;:[{&quot;key&quot;:&quot;c156f09751a986f6c283a5cc48bcfc47&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201},&#xA;&#xA;{&quot;key&quot;:&quot;b15682fcc820505777bdc5596c216698&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201},&#xA;{&quot;key&quot;:&quot;4518ce8a3ac943a1d5d8a83e5485248d&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201},&#xA;{{&quot;key&quot;:&quot;79bf8fd967b502c0bc24ccfb75f57b80&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201},&#xA;{&quot;key&quot;:&quot;4e22b0aabda715bb054afb4d12a0bc0d&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201},&#xA;{&quot;key&quot;:&quot;be738a7bf350b3bc7fbb7ae7d2f9b5ab&quot;,&quot;status&quot;:false,&quot;errorMessage&quot;:&quot;Field 'content__' contains a term that is too large to process. The max length for UTF-8 encoded terms is 32766 bytes. The most likely cause of this error is that filtering, sorting, and/or faceting are enabled on this field, which causes the entire field value to be indexed as a single term. Please avoid the use of these options for large fields.&quot;,&quot;statusCode&quot;:400},&#xA;{&quot;key&quot;:&quot;defc47224ae52ff82d0aabe3ca0b2776&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201},&#xA;{&quot;key&quot;:&quot;75814565d0bf12ee3995115d9dacf47d&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201},&#xA;{&quot;key&quot;:&quot;856ec2fb361cd5a40d46486e5106f73a&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201},&#xA;{&quot;key&quot;:&quot;2466c81cb2cdecb0a30bb06e0bd7120c&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201}&#xA;&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage response)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.PostDocuments(String jsonString)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchService.PostDocuments(ICloudBatch batch)&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.&amp;lt;&amp;gt;c__DisplayClass11_0.&amp;lt;PostDocuments&amp;gt;b__0(ISearchService searchService)&#xA;   at System.Threading.Tasks.Parallel.&amp;lt;&amp;gt;c__DisplayClass17_0`1.&amp;lt;ForWorker&amp;gt;b__1()&#xA;   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&#xA;   at System.Threading.Tasks.Task.&amp;lt;&amp;gt;c__DisplayClass176_0.&amp;lt;ExecuteSelfReplicating&amp;gt;b__0(Object )&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.PostDocuments(ICloudBatch batch)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.Commit()&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchProviderIndex.DoRebuild(IndexingOptions indexingOptions)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchProviderIndex.PerformRebuild(IndexingOptions indexingOptions, CancellationToken cancellationToken)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchProviderIndex.Rebuild(IndexingOptions indexingOptions)&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's my index configuration&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;   &amp;lt;contentSearch&amp;gt;&#xA;     &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;       &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;         &amp;lt;index id=&quot;generic_search_master_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;            &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;schemaBuilder ref=&quot;contentSearch/searchServiceSchemaBuilder&quot; /&amp;gt;&#xA;            &amp;lt;searchService type=&quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                  &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;                &amp;lt;/policy&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/PROJECTABC&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;generic_search_web_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;            &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;schemaBuilder ref=&quot;contentSearch/searchServiceSchemaBuilder&quot; /&amp;gt;&#xA;            &amp;lt;searchService type=&quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                  &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;                &amp;lt;/policy&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/PROJECTABC&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;solutionFramework&amp;gt;&#xA;      &amp;lt;indexing&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;          &amp;lt;add name=&quot;pagecontents&quot; type=&quot;PROJECTABC.Feature.PageContent.Indexing.PageContentIndexingProvider, PROJECTABC.Feature.PageContent&quot; patch:before=&quot;add[@name='fallback']&quot; /&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;      &amp;lt;/indexing&amp;gt;&#xA;    &amp;lt;/solutionFramework&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And also this: (I have commented out the field mapping for troubleshooting, but regardless if it's commented out or not, I still received the issue.)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;!--&#xA;&#xA;Purpose: This include file configures the Lucene index that is used by Social Connected to search for messages.&#xA;&#xA;You must disable this include file on Sitecore instances that use SOLR.&#xA;&#xA;To disable this include file, rename it to have a &quot;.disabled&quot; extension.&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;genericSearchConfiguration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot;&amp;gt;&#xA;&#xA;          &amp;lt;!-- &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;          &amp;lt;initializeOnAdd&amp;gt;false&amp;lt;/initializeOnAdd&amp;gt; --&amp;gt;&#xA;&#xA;          &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;!-- template fields --&amp;gt;&#xA;              &amp;lt;!-- &amp;lt;fieldType fieldName=&quot;item published&quot;       cloudFieldName=&quot;item_published&quot;       boost=&quot;1f&quot; type=&quot;System.Boolean&quot;  settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;              &amp;lt;fieldType fieldName=&quot;post automatically&quot;   cloudFieldName=&quot;post_automatically&quot;   boost=&quot;1f&quot; type=&quot;System.Boolean&quot;  settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt; --&amp;gt;&#xA;              &amp;lt;!-- computed fields --&amp;gt;&#xA;              &amp;lt;!-- &amp;lt;fieldType fieldName=&quot;container&quot;            boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;              &amp;lt;fieldType fieldName=&quot;created date&quot;         cloudFieldName=&quot;created_date&quot;         boost=&quot;1f&quot; type=&quot;System.DateTime&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;              &amp;lt;fieldType fieldName=&quot;final workflow state&quot; cloudFieldName=&quot;final_workflow_state&quot; boost=&quot;1f&quot; type=&quot;System.Boolean&quot;  settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;              &amp;lt;fieldType fieldName=&quot;posted date&quot;          cloudFieldName=&quot;posted_date&quot;          boost=&quot;1f&quot; type=&quot;System.DateTime&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;              &amp;lt;fieldType fieldName=&quot;social account&quot;       cloudFieldName=&quot;social_account&quot;       boost=&quot;1f&quot; type=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;              &amp;lt;fieldType fieldName=&quot;workflow state&quot;       cloudFieldName=&quot;workflow_state&quot;       boost=&quot;1f&quot; type=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt; --&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;&#xA;&#xA;          &amp;lt;exclude hint=&quot;list:ExcludeField&quot;&amp;gt;&#xA;            &amp;lt;__Created&amp;gt;{25BED78C-4957-4165-998A-CA1B52F67497}&amp;lt;/__Created&amp;gt;&#xA;            &amp;lt;__DefaultWorkflow&amp;gt;{CA9B9F52-4FB0-4F87-A79F-24DEA62CDA65}&amp;lt;/__DefaultWorkflow&amp;gt;&#xA;            &amp;lt;__Lock&amp;gt;{001DD393-96C5-490B-924A-B0F25CD9EFD8}&amp;lt;/__Lock&amp;gt;&#xA;            &amp;lt;__LongDescription&amp;gt;{577F1689-7DE4-4AD2-A15F-7FDC1759285F}&amp;lt;/__LongDescription&amp;gt;&#xA;            &amp;lt;__Originator&amp;gt;{F6D8A61C-2F84-4401-BD24-52D2068172BC}&amp;lt;/__Originator&amp;gt;&#xA;            &amp;lt;__Owner&amp;gt;{52807595-0F8F-4B20-8D2A-CB71D28C6103}&amp;lt;/__Owner&amp;gt;&#xA;            &amp;lt;__ReadOnly&amp;gt;{9C6106EA-7A5A-48E2-8CAD-F0F693B1E2D4}&amp;lt;/__ReadOnly&amp;gt;&#xA;            &amp;lt;__Renderings&amp;gt;{F1A1FE9E-A60C-4DDB-A3A0-BB5B29FE732E}&amp;lt;/__Renderings&amp;gt;&#xA;            &amp;lt;__Revision&amp;gt;{8CDC337E-A112-42FB-BBB4-4143751E123F}&amp;lt;/__Revision&amp;gt;&#xA;            &amp;lt;__Security&amp;gt;{DEC8D2D5-E3CF-48B6-A653-8E69E2716641}&amp;lt;/__Security&amp;gt;&#xA;            &amp;lt;__ShortDescription&amp;gt;{9541E67D-CE8C-4225-803D-33F7F29F09EF}&amp;lt;/__ShortDescription&amp;gt;&#xA;            &amp;lt;__SortOrder&amp;gt;{BA3F86A2-4A1C-4D78-B63D-91C2779C1B5E}&amp;lt;/__SortOrder&amp;gt;&#xA;            &amp;lt;__Source&amp;gt;{1B86697D-60CA-4D80-83FB-7555A2E6CE1C}&amp;lt;/__Source&amp;gt;&#xA;            &amp;lt;__Updated&amp;gt;{D9CF14B1-FA16-4BA6-9288-E8A174D4D522}&amp;lt;/__Updated&amp;gt;&#xA;            &amp;lt;__UpdatedBy&amp;gt;{BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}&amp;lt;/__UpdatedBy&amp;gt;&#xA;            &amp;lt;__ValidFrom&amp;gt;{C8F93AFE-BFD4-4E8F-9C61-152559854661}&amp;lt;/__ValidFrom&amp;gt;&#xA;            &amp;lt;__Workflow&amp;gt;{A4F985D9-98B3-4B52-AAAF-4344F6E747C6}&amp;lt;/__Workflow&amp;gt;&#xA;            &amp;lt;ArchiveDate&amp;gt;{56C15C6D-FD5A-40CA-BB37-64CEEC6A9BD5}&amp;lt;/ArchiveDate&amp;gt;&#xA;            &amp;lt;ArchiveVersionDate&amp;gt;{1D99005E-65CA-45CA-9D9A-FD7016E23F1E}&amp;lt;/ArchiveVersionDate&amp;gt;&#xA;            &amp;lt;Boost&amp;gt;{93D1B217-B8F4-462E-BABF-68298C9CE667}&amp;lt;/Boost&amp;gt;&#xA;            &amp;lt;BucketParentReference&amp;gt;{9DAFCA1D-D618-4616-86B8-A8ACD6B28A63}&amp;lt;/BucketParentReference&amp;gt;&#xA;            &amp;lt;Cacheable&amp;gt;{3D08DB46-2267-41B0-BC52-BE69FD618633}&amp;lt;/Cacheable&amp;gt;&#xA;            &amp;lt;ContextMenu&amp;gt;{D3AE7222-425D-4B77-95D8-EE33AC2B6730}&amp;lt;/ContextMenu&amp;gt;&#xA;            &amp;lt;Controller&amp;gt;{4C9312A5-2E4E-42F8-AB6F-B8DB8B82BF22}&amp;lt;/Controller&amp;gt;&#xA;            &amp;lt;ControllerAction&amp;gt;{9FB734CC-8952-4072-A2D4-40F890E16F56}&amp;lt;/ControllerAction&amp;gt;&#xA;            &amp;lt;DefaultBucketQuery&amp;gt;{AC51462C-8A8D-493B-9492-34D1F26F20F1}&amp;lt;/DefaultBucketQuery&amp;gt;&#xA;            &amp;lt;DefaultView&amp;gt;{3607F9C7-DDA3-43C3-9720-39A7A5B3A4C3}&amp;lt;/DefaultView&amp;gt;&#xA;            &amp;lt;Editor&amp;gt;{D85DB4EC-FF89-4F9C-9E7C-A9E0654797FC}&amp;lt;/Editor&amp;gt;&#xA;            &amp;lt;Editors&amp;gt;{A0CB3965-8884-4C7A-8815-B6B2E5CED162}&amp;lt;/Editors&amp;gt;&#xA;            &amp;lt;EnabledViews&amp;gt;{F2DB8BA1-E477-41F5-8EF5-22EEFA8D2F6E}&amp;lt;/EnabledViews&amp;gt;&#xA;            &amp;lt;Facets&amp;gt;{21F74F6E-42D4-42A2-A4B4-4CEFBCFBD2BB}&amp;lt;/Facets&amp;gt;&#xA;            &amp;lt;HelpLink&amp;gt;{56776EDF-261C-4ABC-9FE7-70C618795239}&amp;lt;/HelpLink&amp;gt;&#xA;            &amp;lt;Hidden&amp;gt;{39C4902E-9960-4469-AEEF-E878E9C8218F}&amp;lt;/Hidden&amp;gt;&#xA;            &amp;lt;HideVersion&amp;gt;{B8F42732-9CB8-478D-AE95-07E25345FB0F}&amp;lt;/HideVersion&amp;gt;&#xA;            &amp;lt;Icon&amp;gt;{06D5295C-ED2F-4A54-9BF2-26228D113318}&amp;lt;/Icon&amp;gt;&#xA;            &amp;lt;Masters&amp;gt;{1172F251-DAD4-4EFB-A329-0C63500E4F1E}&amp;lt;/Masters&amp;gt;&#xA;            &amp;lt;NeverPublish&amp;gt;{9135200A-5626-4DD8-AB9D-D665B8C11748}&amp;lt;/NeverPublish&amp;gt;&#xA;            &amp;lt;PersistentFilter&amp;gt;{C7815F60-96E1-40CB-BB06-B5F833F73B61}&amp;lt;/PersistentFilter&amp;gt;&#xA;            &amp;lt;Preview&amp;gt;{41C6CC0E-389F-4D51-9990-FE35417B6666}&amp;lt;/Preview&amp;gt;&#xA;            &amp;lt;Publish&amp;gt;{86FE4F77-4D9A-4EC3-9ED9-263D03BD1965}&amp;lt;/Publish&amp;gt;&#xA;            &amp;lt;ReminderDate&amp;gt;{ABE5D54C-59D7-41E6-8D3F-C1A3E4EC9B9E}&amp;lt;/ReminderDate&amp;gt;&#xA;            &amp;lt;ReminderText&amp;gt;{BB6C8540-118E-4C49-9157-830576D7345A}&amp;lt;/ReminderText&amp;gt;&#xA;            &amp;lt;Renderers&amp;gt;{B03569B1-1534-43F2-8C83-BD064B7D782C}&amp;lt;/Renderers&amp;gt;&#xA;            &amp;lt;Ribbon&amp;gt;{0C894AAB-962B-4A84-B923-CB24B05E60D2}&amp;lt;/Ribbon&amp;gt;&#xA;            &amp;lt;Skin&amp;gt;{079AFCFE-8ACA-4863-BDA7-07893541E2F5}&amp;lt;/Skin&amp;gt;&#xA;            &amp;lt;Style&amp;gt;{A791F095-2521-4B4D-BEF9-21DDA221F608}&amp;lt;/Style&amp;gt;&#xA;            &amp;lt;SubItemSorting&amp;gt;{6FD695E7-7F6D-4CA5-8B49-A829E5950AE9}&amp;lt;/SubItemSorting&amp;gt;&#xA;            &amp;lt;SuppressedValidationRules&amp;gt;{F47C0D78-61F9-479C-96DF-1159727D32C6}&amp;lt;/SuppressedValidationRules&amp;gt;&#xA;            &amp;lt;UnPublish&amp;gt;{7EAD6FD6-6CF1-4ACA-AC6B-B200E7BAFE88}&amp;lt;/UnPublish&amp;gt;&#xA;            &amp;lt;UserAgent&amp;gt;{4E678FC0-8D35-4AB7-BB49-156F33C8B955}&amp;lt;/UserAgent&amp;gt;&#xA;            &amp;lt;ValidTo&amp;gt;{4C346442-E859-4EFD-89B2-44AEDF467D21}&amp;lt;/ValidTo&amp;gt;&#xA;            &amp;lt;VaryByData&amp;gt;{8B6D532B-6128-4486-A044-CA06D90948BA}&amp;lt;/VaryByData&amp;gt;&#xA;            &amp;lt;VaryByDevice&amp;gt;{C98CF969-BA71-42DA-833D-B3FC1368BA27}&amp;lt;/VaryByDevice&amp;gt;&#xA;            &amp;lt;VaryByLogin&amp;gt;{8D9232B0-613F-440B-A2FA-DCDD80FBD33E}&amp;lt;/VaryByLogin&amp;gt;&#xA;            &amp;lt;VaryByParam&amp;gt;{3AD2506A-DC39-4B1E-959F-9D524ADDBF50}&amp;lt;/VaryByParam&amp;gt;&#xA;            &amp;lt;VaryByQueryString&amp;gt;{1084D3D2-0457-456A-ABBC-EB4CC0966072}&amp;lt;/VaryByQueryString&amp;gt;&#xA;            &amp;lt;VaryByUser&amp;gt;{0E54A8DC-72AD-4372-A7C7-BB4773FAD44D}&amp;lt;/VaryByUser&amp;gt;&#xA;            &amp;lt;VaryByIndex&amp;gt;{F3E7E552-D7C8-469B-A150-69E4E14AB35C}&amp;lt;/VaryByIndex&amp;gt;&#xA;          &amp;lt;/exclude&amp;gt;&#xA;&#xA;          &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;title&quot; returnType=&quot;text&quot;&amp;gt;PROJECTABC.Feature.PageContent.Indexing.Fields.Title,PROJECTABC.Feature.PageContent&amp;lt;/field&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;heading&quot; returnType=&quot;text&quot;&amp;gt;PROJECTABCFeature.PageContent.Indexing.Fields.Heading,PROJECTABC.Feature.PageContent&amp;lt;/field&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;subheading&quot; returnType=&quot;text&quot;&amp;gt;PROJECTABC.Feature.PageContent.Indexing.Fields.SubHeading,PROJECTABC.Feature.PageContent&amp;lt;/field&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;contentbody&quot; returnType=&quot;text&quot;&amp;gt;PROJECTABC.Feature.PageContent.Indexing.Fields.ContentBody,PROJECTABC.Feature.PageContent&amp;lt;/field&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;contentimagealt&quot; returnType=&quot;text&quot;&amp;gt;PROJECTABC.Feature.PageContent.Indexing.Fields.ContentImageAlt,PROJECTABC.Feature.PageContent&amp;lt;/field&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;contentimagetitle&quot; returnType=&quot;text&quot;&amp;gt;PROJECTABC.Feature.PageContent.Indexing.Fields.ContentImageTitle,PROJECTABC.Feature.PageContent&amp;lt;/field&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;pagecontenttag&quot; returnType=&quot;text&quot;&amp;gt;PROJECTABC.Feature.PageContent.Indexing.Fields.Tag,PROJECTABC.Feature.PageContent&amp;lt;/field&amp;gt;&#xA;          &amp;lt;/fields&amp;gt;  &#xA;&#xA;        &amp;lt;/genericSearchConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Somewhere in the error logs, it says it's a 400 - bad request:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;key&quot;:&quot;be738a7bf350b3bc7fbb7ae7d2f9b5ab&quot;,&quot;status&quot;:false,&quot;errorMessage&quot;:&quot;Field 'content__' contains a term that is too large to process. The max length for UTF-8 encoded terms is 32766 bytes. The most likely cause of this error is that filtering, sorting, and/or faceting are enabled on this field, which causes the entire field value to be indexed as a single term. Please avoid the use of these options for large fields.&quot;,&quot;statusCode&quot;:400},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;..but i don't have such field with 'content_' in it. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note that this is only happening in Azure, as I've required to replace&#xA;  my Solr configurations with Azure search configurations.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="73" LastEditDate="2019-06-13T21:55:07.433" LastActivityDate="2019-06-13T21:55:07.433" Title="PostFailedForSomeDocumentsException: Partial success for insert or update. Some documents succeeded" Tags="|azure|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="8292" PostTypeId="2" ParentId="8287" CreationDate="2017-11-04T12:45:04.713" Score="5" Body="&lt;p&gt;As far as I understand your problem, you have two layouts: old and new. Now you want to switch to the new layout step by step. You decided to add a new device (suppose &quot;Default New&quot;) and set updated layout for it and then, using some mechanism like rules, redirect users to this device. But you can't found a solution how to do that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also didn't find any rules which match your requirements. I suggest you add your custom condition. Add code below to solution:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web;&#xA;using Sitecore.Data;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Rules.Conditions;&#xA;using Sitecore.Rules.Devices;&#xA;&#xA;namespace Your.Namespase&#xA;{&#xA;    public class ContextLanguageCondition&amp;lt;T&amp;gt; : StringOperatorCondition&amp;lt;T&amp;gt; where T : DeviceRuleContext&#xA;    {&#xA;        private ID languageId;&#xA;        public ID LanguageId&#xA;        {&#xA;            get&#xA;            {&#xA;                return this.languageId;&#xA;            }&#xA;            set&#xA;            {&#xA;                Assert.ArgumentNotNull((object)value, &quot;value&quot;);&#xA;                this.languageId = value;&#xA;            }&#xA;        }&#xA;&#xA;    public ContextLanguageCondition()&#xA;    {&#xA;        this.LanguageId = ID.Null;&#xA;    }&#xA;&#xA;    public ContextLanguageCondition(ID languageId)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)languageId, &quot;languageId&quot;);&#xA;        this.languageId = languageId;&#xA;    }&#xA;&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        HttpContextBase httpContext = ruleContext.HttpContext;&#xA;        if (httpContext == null)&#xA;            return false;&#xA;&#xA;        var lang = Sitecore.Context.Language;&#xA;&#xA;        if (LanguageId == ID.Null || lang == null)&#xA;            return false;&#xA;&#xA;        var langItemID = Sitecore.Data.Managers.LanguageManager.GetLanguageItemId(lang, Sitecore.Context.Database);&#xA;&#xA;        if (langItemID == ID.Null)&#xA;            return false;&#xA;&#xA;        return LanguageId == langItemID;&#xA;    }&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Secondary, you need create a condition item in Sitecore. For example under &quot;Context&quot; Element Folder:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rZmTL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rZmTL.png&quot; alt=&quot;add custom rule&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Data for creating rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Path&lt;/strong&gt;: /sitecore/system/Settings/Rules/Definitions/Elements/Context&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Text&lt;/strong&gt;: where the language is [languageId,Tree,root=/sitecore/system/Languages,specific language]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: Your.Namespase.ContextLanguageCondition,Your.Namespase&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Make sure you update the type with your library name.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, you can set the rule for a device:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uZIJB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uZIJB.png&quot; alt=&quot;assigning rule for device detection&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/FNBkA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FNBkA.png&quot; alt=&quot;selecting rule&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If condition returns &quot;true&quot;, the device will be switched&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-11-04T14:53:39.007" LastActivityDate="2017-11-04T14:53:39.007" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="8293" PostTypeId="1" AcceptedAnswerId="8811" CreationDate="2017-11-04T14:24:26.110" Score="5" ViewCount="106" Body="&lt;p&gt;I created custom facet which has &lt;code&gt;IElementCollection&amp;lt;TModel&amp;gt;&lt;/code&gt; property. &lt;code&gt;TModel&lt;/code&gt; has properties: &lt;code&gt;Name&lt;/code&gt;, &lt;code&gt;Value&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How can I implement token replacement in message, if I want to render &lt;code&gt;Value&lt;/code&gt; of my &lt;code&gt;TModel&lt;/code&gt; by &lt;code&gt;TModel&lt;/code&gt; &lt;code&gt;Name&lt;/code&gt; value.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I should have a possibility to see applied correct Value in Preview Mode for specific recipient.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know how i can implement it for &lt;code&gt;string&lt;/code&gt; facet property, but I don't have any idea how can I implement it for &lt;code&gt;IElementCollection&lt;/code&gt; property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 Update-5 and Sitecore EXM 3.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any examples how can I implement it?&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2017-11-04T14:57:42.753" LastActivityDate="2017-12-05T07:41:34.680" Title="How can I use token replacement for IElementCollection&lt;TModel&gt; property in message" Tags="|exm|contact-facets|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8294" PostTypeId="1" CreationDate="2017-11-04T15:32:35.913" Score="4" ViewCount="121" Body="&lt;p&gt;As the title states, does any body have some findings on determining the publishing volume (the amount of Entries to be published)? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, what I'd love to find is if there is a script that counts the amount of items to be published by each publishing method: Incremental (&lt;em&gt;this one is relatively easy, as we have the PublishQueue&lt;/em&gt;), Smart and Republish. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the last two, would it be enough just to count &lt;strong&gt;all items in all versions in all languages&lt;/strong&gt;? &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2017-11-04T15:32:35.913" Title="SQL Script to determine publish volume" Tags="|publishing|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8295" PostTypeId="1" AcceptedAnswerId="8297" CreationDate="2017-11-04T21:03:31.613" Score="6" ViewCount="660" Body="&lt;p&gt;I have a client with multiple content editors around the world, and they all use the Schedule Publishing feature, but, usually they are a little bit confused because of the Sitecore Date and Time, each content author works in a part of the planet, and they usually don´t remember the Sitecore Time(Server time), is there a way to get that without being an administrator, I'm thinking in a simple button to provide this information to them, but if Sitecore already provides this information it would be cool&lt;/p&gt;&#xA;" OwnerUserId="998" LastActivityDate="2017-11-04T21:28:25.940" Title="Sitecore Date and time" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8297" PostTypeId="2" ParentId="8295" CreationDate="2017-11-04T21:28:25.940" Score="8" Body="&lt;p&gt;The easiest way would be to set the server time to be UTC as that is a nice easy timezone for people to remember. You can do this by setting the &lt;code&gt;ServerTimeZone&lt;/code&gt; setting in the config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!--  SERVER TIME ZONE&#xA;        This setting specifies the server time zone that is  used by the&#xA;        server to convert UTC time to local time, for example &quot;GMT Standard Time&quot;.&#xA;&#xA;        If blank, Sitecore uses the operating system time zone.&#xA;        Default value: &quot;&quot; (use the operating system time zone)&#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That value needs to be a value Time Zone ID (List here &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/gg154758.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://msdn.microsoft.com/en-us/library/gg154758.aspx&lt;/a&gt;) - Patch that value to &lt;code&gt;UTC&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once it is set to &lt;code&gt;UTC&lt;/code&gt;, your content editors can work with that timezone to calculate publish times etc...&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-11-04T21:28:25.940" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8298" PostTypeId="2" ParentId="8289" CreationDate="2017-11-05T02:06:15.217" Score="0" Body="&lt;p&gt;You for sure have it going into the main placeholder? Do you have any renderings that do not have a placeholder specified?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What version of Sitecore are you running? Per the link @CoeuerDusite provided, it is a known issue:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;To address the issue, apply one of the solutions below:&#xA;Always specify placeholder name for all presentation elements.&#xA;Upgrade website to Sitecore 8.0 rev. 150427 (Update-3) or newer, where this issue has been fixed.&#xA;Apply the patch as described below:&#xA;Put an Sitecore.Support.380995.v*.dll assembly into the \bin folder;&#xA;Put Siteocre.Support.380995.v*.config file into the \App_Config\Include folder.&#xA;Appropriate files can be retrieved from an archive, depending on the Sitecore version:&#xA;Sitecore 6.5 - 6.6: Sitecore.Support.380995.v1.zip - https://kb.sitecore.net/~/media/2C9A39977D8349EEB378F89245DC6D61.ashx?la=en&#xA;Sitecore 7.0 - 7.5: Sitecore.Support.380995.v2.zip - https://kb.sitecore.net/~/media/AE61B2778ACC4C108872F5F63519A67E.ashx?la=en&#xA;Sitecore 8.0: Sitecore.Support.380995.v3.zip - https://kb.sitecore.net/~/media/92301E04A678428CA7D13354B5F2E8FA.ashx?la=en&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2017-11-05T02:06:15.217" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8299" PostTypeId="1" CreationDate="2017-11-05T15:57:13.157" Score="0" ViewCount="2290" Body="&lt;p&gt;Our System needs to Integration with OKTA SSO Provider. Here is the Problem statement&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)  OKTA is used as the IDP in Identity Management for performing SSO authentication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Okta gets UserId and Password from Okta authentication screen and provides its configured URL to which it has to get redirected post authentication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Post authentication of credentials in Okta, the context returns a token and same is added to the Claims &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now all the Internal users and admin will use OKTA for authentication for Sitecore CMS Login and all the Authorization, roles permission will be controlled by sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can some body throw ideas on how this should be done.&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="73" LastEditDate="2018-04-03T09:41:04.583" LastActivityDate="2022-08-25T20:46:56.457" Title="Sitecore OKTA Integration" Tags="|login|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8300" PostTypeId="2" ParentId="7477" CreationDate="2017-11-05T16:24:16.780" Score="0" Body="&lt;p&gt;To deal with this issue I ended up refactoring the children items to have their own renderings (&lt;code&gt;Accordion Section&lt;/code&gt;) and be inserted into my datasource folder rather than nested under my accordion item. My &lt;code&gt;Accordion&lt;/code&gt; rendering changed to pretty much just have markup to show a title field and a placeholder which allows &lt;code&gt;Accordion Section&lt;/code&gt; renderings. I could have removed the datasource item for this rendering if there wasn't a title field to be displayed along with each accordion and it was just going to be the placeholder that allows adding &lt;code&gt;Accordion Section&lt;/code&gt; renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This fixes my issue involving the refresh alert however it will be a little less obvious how this module works in content editor because there isn't a hierarchy shown in the tree, it's all based on where the rendering is. For example my tree can look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Page&#xA;  _datasourceFolder&#xA;    Accordion&#xA;    Accordion Section 1&#xA;    Accordion Section 2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The order that &lt;code&gt;Accordion Section 1&lt;/code&gt; and &lt;code&gt;Accordion Section 2&lt;/code&gt; show up in the tree does not really matter. The order is determined by the renderings that point to them on the item noted as &lt;code&gt;Page&lt;/code&gt;. I wanted to nest these under the item noted as &lt;code&gt;Accordion&lt;/code&gt;. I almost got this working with a query for the datasource location for my &lt;code&gt;Accordion Section&lt;/code&gt; rendering however in the event that there are 2 accordions on a page this fell apart so I left the datasource locations of those to be my datasource folder. Since my client is going to be far more reliant on experience editor mode rather than content editor mode this should be fine.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-11-05T16:24:16.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8301" PostTypeId="1" CreationDate="2017-11-06T04:09:45.230" Score="0" ViewCount="1296" Body="&lt;p&gt;In one of our Sitecore application we have only enabled Sitecore XP  and disabled the Sitecore XDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using the sessions in our application(to store and pass the values to 3rd party services).This application will be hosted in the load balancing environment(with 2 CD). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In such scenario, can we use sticky session? Or is there any other method to configure session in loadbalancer&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-11-06T13:39:34.363" Title="Configuring Session for load-balancer" Tags="|session-state|load-balancer|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8302" PostTypeId="2" ParentId="5850" CreationDate="2017-11-06T04:10:13.327" Score="1" Body="&lt;p&gt;Here's some code that will let you synchronize the Publishing Settings on DataSources that are used on an Items Renderings. You would definitely want to limit it to occur only on specific template types. Plus, some other considerations is Workflow. This would definitely be something that you would need to do if these items are controlled by workflow. Here is a Marketplace module that will do it for you and there is a blog post with a few details about it - &lt;a href=&quot;https://marketplace.sitecore.net/Modules/D/Data_Source_Workflow_Module.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/D/Data_Source_Workflow_Module.aspx?sc_lang=en&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the config to patch in the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;item:saved&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;SharedSource.Foundation.DataSourcePublishingRestrictions.Events.ItemSaved.DataSourcePublishingRestrictions, SharedSource.Foundation.DataSourcePublishingRestrictions&quot; method=&quot;OnItemSaved&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;SharedSource.Foundation.DataSourcePublishingRestrictions.AllowedTemplates&quot; value=&quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}|{00000000-0000-0000-0000-000000000000}&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the code for patching into the SaveItem event that will synchronize the Publishing settings like you asked:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Copyright (c) [2017] [David Walker] - MIT License - see License.txt&#xA;using System;&#xA;using System.Linq;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Events;&#xA;using Sitecore.SecurityModel;&#xA;&#xA;namespace SharedSource.Foundation.DataSourcePublishingRestrictions.Events.ItemSaved&#xA;{&#xA;    // Sychronize PublishingRestrictions across DataSources&#xA;    public class DataSourcePublishingRestrictions &#xA;    {&#xA;        public void OnItemSaved(object sender, EventArgs args)&#xA;        {&#xA;            if (args == null) return;&#xA;&#xA;            var savedItem = Event.ExtractParameter(args, 0) as Item;&#xA;            if (savedItem?.Database == null || savedItem.Database.Name.ToLower() != &quot;master&quot;) return;&#xA;&#xA;            // Only do it for specific templates&#xA;            if (!Common.Templates.Any() || !Common.Templates.Contains(savedItem.TemplateID.ToString())) return;&#xA;&#xA;            //if (savedItem.Publishing.NeverPublish || savedItem.Publishing.IsPublishable()) return;&#xA;&#xA;            if (savedItem.Publishing.ValidFrom == DateTime.MinValue) return;&#xA;&#xA;            var masterDatabase = savedItem.Database;&#xA;&#xA;            foreach (var rendering in savedItem.Visualization.GetRenderings(Sitecore.Context.Device, true))&#xA;            {&#xA;                var renderingDatasource = rendering.Settings.DataSource;&#xA;                if (renderingDatasource == null) continue;&#xA;&#xA;                var renderingItem = masterDatabase.GetItem(renderingDatasource);&#xA;                if (renderingItem == null) continue;&#xA;&#xA;                if (renderingItem.Publishing.ValidFrom == savedItem.Publishing.ValidFrom &amp;amp;&amp;amp;&#xA;                    renderingItem.Publishing.ValidTo == savedItem.Publishing.ValidTo) continue;&#xA;&#xA;                // Publishing needs synched&#xA;                Sitecore.Diagnostics.Log.Info(&quot;Would have updated ValidFrom of &quot; + renderingItem.ID + &quot; to &quot; + savedItem.Publishing.ValidFrom, this);&#xA;                Sitecore.Diagnostics.Log.Info(&quot;Would have updated ValidTo of &quot; + renderingItem.ID + &quot; to &quot; + savedItem.Publishing.ValidTo, this);&#xA;&#xA;                // Sync the Publihsing Settings&#xA;                using (new SecurityDisabler())&#xA;                {&#xA;                    renderingItem.Editing.BeginEdit();&#xA;&#xA;                    renderingItem.Publishing.ValidFrom = savedItem.Publishing.ValidFrom;&#xA;                    renderingItem.Publishing.ValidTo = savedItem.Publishing.ValidTo;&#xA;                    renderingItem.Publishing.NeverPublish = savedItem.Publishing.NeverPublish;&#xA;&#xA;                    renderingItem.Editing.EndEdit();&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2017-11-06T04:10:13.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8303" PostTypeId="1" CreationDate="2017-11-06T09:29:33.670" Score="12" ViewCount="3129" Body="&lt;p&gt;I've been playing round with Sitecore 9 recently and the xConnect api and had a question around oData. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Underneath the api layer there is an oData service that can be reached via: &lt;a href=&quot;https://yourxconnecturl/odata&quot; rel=&quot;noreferrer&quot;&gt;https://yourxconnecturl/odata&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Presumably xConnect uses the oData protocol so that external systems (PowerBI for example) will be able to call this api in a standard way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Sitecore is now secure by default you will get a 403 error when trying to access this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can the oData layer be accessed directly via the URL? &#xA;If so, can this be done with a Client Certificate request?&lt;/p&gt;&#xA;" OwnerUserId="222" LastEditorUserId="73" LastEditDate="2017-11-10T10:42:53.787" LastActivityDate="2021-04-28T14:13:13.450" Title="Can I call the oData service directly in xConnect?" Tags="|xconnect|odata|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8304" PostTypeId="2" ParentId="8301" CreationDate="2017-11-06T09:59:23.873" Score="1" Body="&lt;p&gt;You have 2 options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use sticky session. In this case load balancer will route user to certain CD server(to server, where he was previously).&lt;/li&gt;&#xA;&lt;li&gt;Use session state provider that allow sharing session between environments. It could be: &lt;a href=&quot;https://support.microsoft.com/en-gb/help/317604/how-to-configure-sql-server-to-store-asp-net-session-state&quot; rel=&quot;nofollow noreferrer&quot;&gt;ASP.Net SQL Server session provider&lt;/a&gt;, &lt;a href=&quot;https://blog.couchbase.com/introducing-couchbase-aspnet-sessionstate-provider/&quot; rel=&quot;nofollow noreferrer&quot;&gt;CouchBase session provider&lt;/a&gt;, &lt;a href=&quot;https://mongosessionstate.codeplex.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDB ASP.NET Session State Store Provider&lt;/a&gt;, etc. In this case, you don't need to use sticky session.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-11-06T09:59:23.873" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8305" PostTypeId="2" ParentId="8301" CreationDate="2017-11-06T10:00:46.827" Score="2" Body="&lt;p&gt;In this situation you must:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;use In process session state &lt;em&gt;with sticky sessions&lt;/em&gt; on the loadbalancer&lt;/li&gt;&#xA;&lt;li&gt;use an Out of process solution (SQL Server / MongoDB / Redis)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I suggest to read this documentation page of Sitecore: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/session_state/session_state&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/session_state/session_state&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="1000" LastEditDate="2017-11-06T13:39:34.363" LastActivityDate="2017-11-06T13:39:34.363" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8307" PostTypeId="2" ParentId="8303" CreationDate="2017-11-06T10:11:33.163" Score="10" Body="&lt;p&gt;I think it is possible.&lt;/p&gt;&#xA;&lt;p&gt;You need to pass correct certificate on the following line:&#xA;&amp;gt;CertificateWebRequestHandlerModifierOptions.Parse(&amp;quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=15E6693B0AECB63DE57D991EC363CA462DC52432&amp;quot;);&lt;/p&gt;&#xA;&lt;p&gt;Please have a look at this code:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; // Valid certificate thumbprints must be passed in&#xA; CertificateWebRequestHandlerModifierOptions options =&#xA; CertificateWebRequestHandlerModifierOptions.Parse(&amp;quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=15E6693B0AECB63DE57D991EC363CA462DC52432&amp;quot;);&#xA;&#xA; // Optional timeout modifier&#xA; var certificateModifier = new CertificateWebRequestHandlerModifier(options);&#xA; List&amp;lt;IHttpClientModifier&amp;gt; clientModifiers = new List&amp;lt;IHttpClientModifier&amp;gt;();&#xA; var timeoutClientModifier = new TimeoutHttpClientModifier(new TimeSpan(0, 0, 20));&#xA;&#xA; clientModifiers.Add(timeoutClientModifier);&#xA;&#xA; // This overload takes three client end points - collection, search, and configuration&#xA; var collectionClient = new CollectionWebApiClient(new Uri(&amp;quot;https://sc900rev170622_xconnect/odata&amp;quot;), clientModifiers, new[] { certificateModifier });&#xA; var searchClient = new SearchWebApiClient(new Uri(&amp;quot;https://sc900rev170622_xconnect/odata&amp;quot;), clientModifiers, new[] { certificateModifier });&#xA; var configurationClient = new ConfigurationWebApiClient(new Uri(&amp;quot;https://sc900rev170622_xconnect/configuration&amp;quot;), clientModifiers, new[] { certificateModifier });&#xA;&#xA; var cfg = new XConnectClientConfiguration(&#xA;                new XdbRuntimeModel(CollectionModel.Model), collectionClient, searchClient, configurationClient);&#xA;&#xA; try&#xA; {&#xA;      await cfg.InitializeAsync();&#xA; }&#xA; catch (XdbModelConflictException ce)&#xA; {&#xA;      Console.WriteLine(&amp;quot;ERROR:&amp;quot; + ce.Message);&#xA;      return;&#xA; }&#xA;&#xA; using (var client = new XConnectClient(cfg))&#xA; {&#xA; &#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Source code is from this link: &lt;a href=&quot;https://doc.sitecore.com/developers/101/sitecore-experience-platform/en/instantiate-client-in-a-non-sitecore-context.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/101/sitecore-experience-platform/en/instantiate-client-in-a-non-sitecore-context.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="488" LastEditDate="2021-04-28T14:13:13.450" LastActivityDate="2021-04-28T14:13:13.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8308" PostTypeId="1" AcceptedAnswerId="8309" CreationDate="2017-11-06T14:20:23.390" Score="0" ViewCount="538" Body="&lt;p&gt;We recently upgraded our Sitecore installation from 8.0 Update 7 to 8.2 Update 4. As part of the upgrade, we needed to get a new version of the Media Framework and Brightcove plugin. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Media Framework was upgraded from 2.1 to 2.2 using the upgrade package provided via SDN. This package appears to have worked fine in upgrading the existing YouTube connection accounts in the Media Framework. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, the Brightcove plugin was upgraded from version 2.1 rev. 150323 to 3.0. The new package was installed, files were specified to overwrite existing files, Sitecore items were specified to override existing items as per the installation instructions on the Brightcove site. The post-installation instructions were then followed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, when &quot;Import All&quot; is run on the Brightcove account the import immediately is cut short and the following errors can be found in the Sitecore log files: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;18812 09:04:25 WARN  WebUtil.QueryStringCache cache is cleared by Sitecore.Caching.Generics.Cache`1+DefaultScavengeStrategy[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] strategy. Cache running size was 18 KB.&#xA;ManagedPoolThread #8 09:04:36 INFO  Job started: Import MediaFramework Content&#xA;ManagedPoolThread #0 09:04:37 WARN  MediaFramework *** Null Result during importing Called by:TagCollectionImporter&#xA;ManagedPoolThread #0 09:04:37 ERROR MediaFramework *** Import data failed.&#xA;Exception: System.Web.HttpException&#xA;Message: Http null result&#xA;Source: AgencyOasis.MediaFramework.Brightcove&#xA;   at AgencyOasis.MediaFramework.Brightcove.Import.EntityCollectionImporter`1.&amp;lt;GetWithPaging&amp;gt;d__0.MoveNext()&#xA;   at System.Linq.Enumerable.&amp;lt;OfTypeIterator&amp;gt;d__92`1.MoveNext()&#xA;   at AgencyOasis.MediaFramework.Brightcove.Import.TagCollectionImporter.&amp;lt;ReadAllTags&amp;gt;d__1.MoveNext()&#xA;   at Sitecore.MediaFramework.Pipelines.MediaSyncImport.CallItemImport.Process(MediaSyncImportArgs args)&#xA;&#xA;ManagedPoolThread #7 09:04:37 WARN  MediaFramework *** Null Result during importing Called by:VideoCollectionImporter&#xA;ManagedPoolThread #7 09:04:37 ERROR MediaFramework *** Import data failed.&#xA;Exception: System.Web.HttpException&#xA;Message: Http null result&#xA;Source: AgencyOasis.MediaFramework.Brightcove&#xA;   at AgencyOasis.MediaFramework.Brightcove.Import.EntityCollectionImporter`1.&amp;lt;GetWithPaging&amp;gt;d__0.MoveNext()&#xA;   at Sitecore.MediaFramework.Pipelines.MediaSyncImport.CallItemImport.Process(MediaSyncImportArgs args)&#xA;&#xA;ManagedPoolThread #5 09:04:38 WARN  MediaFramework *** Null Result during importing Called by:PlayListCollectionImporter&#xA;ManagedPoolThread #5 09:04:38 ERROR MediaFramework *** Import data failed.&#xA;Exception: System.Web.HttpException&#xA;Message: Http null result&#xA;Source: AgencyOasis.MediaFramework.Brightcove&#xA;   at AgencyOasis.MediaFramework.Brightcove.Import.EntityCollectionImporter`1.&amp;lt;GetWithPaging&amp;gt;d__0.MoveNext()&#xA;   at Sitecore.MediaFramework.Pipelines.MediaSyncImport.CallItemImport.Process(MediaSyncImportArgs args)&#xA;&#xA;ManagedPoolThread #8 09:04:38 INFO  Job ended: Import MediaFramework Content (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas as to what might be going on here? My next step was going to be generating .pdb files for the Brightcove .dlls and trying to step through and see what's going on there but I wanted to reach out here first in case anyone has experienced something similar before.  &lt;/p&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2017-11-06T15:31:41.877" Title="Sitecore Media Framework Brightcove Upgrade Error" Tags="|media-library|upgrade|brightcove|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8309" PostTypeId="2" ParentId="8308" CreationDate="2017-11-06T15:31:41.877" Score="2" Body="&lt;p&gt;So it looks like this version of the Brighcove plugin uses a different back-end API and you have to create an authorized application. Replacing the existing Read/Write Tokens with a newly generated Client ID/Client Secret did the trick. A guide to generating the credentials can be found at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://support.brightcove.com/getting-started-brightcove-video-connect-sitecore-experience-platform#contents&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.brightcove.com/getting-started-brightcove-video-connect-sitecore-experience-platform#contents&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2017-11-06T15:31:41.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8310" PostTypeId="1" CreationDate="2017-11-06T17:51:16.073" Score="4" ViewCount="163" Body="&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;How do you determine that prerequisites are met before allowing the packages to install?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;How do you stop the installation if conditions are not met?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Looking for an improved experience through the Installation Wizard. Obviously all of this could be checked by something like SPE.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Would the use of the event &lt;code&gt;packageinstall:starting&lt;/code&gt; be a good option? Perhaps make SPE run a script on this and then bail out of the installation when certain conditions are not met.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update 2&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I discovered that in SPE I can add an event subscriber in the config and then a script to go along with it. Throwing an error in the script causes the installation to stop. Unfortunately no decent errors are shown to the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nOswo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nOswo.png&quot; alt=&quot;Sample&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update 3&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Apparently the installer events call &lt;code&gt;JobContext&lt;/code&gt; to show dialogs. Either with SPE or some other previously installed module, you could achieve the desired behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4Bhuz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4Bhuz.png&quot; alt=&quot;Working dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With some form of configuration you could have the &lt;strong&gt;Prerequisite Checker&lt;/strong&gt; validate information before the installation completes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XlJWv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XlJWv.png&quot; alt=&quot;Config Settings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-11-07T19:36:56.387" LastActivityDate="2017-11-07T19:36:56.387" Title="How do you check for prerequisites before installing a Sitecore module package?" Tags="|packages|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8311" PostTypeId="2" ParentId="8310" CreationDate="2017-11-06T18:29:48.133" Score="1" Body="&lt;p&gt;A Sitecore module installation package do not have any pre-installation steps. Thus, you cannot programmatically check for prerequisites. What I usually do is use the &lt;code&gt;&amp;lt;Readme&amp;gt;&amp;lt;/Readme&amp;gt;&lt;/code&gt; section of the XML package definition file to document any prerequisites. This text is displayed in the installation wizard before the installation begins. The user can cancel the installation at this point to install any missing prerequisites.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2017-11-06T18:29:48.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8312" PostTypeId="1" AcceptedAnswerId="8324" CreationDate="2017-11-06T19:21:21.630" Score="5" ViewCount="1218" Body="&lt;p&gt;I am creating a custom Sitecore Rule, in the rule text I need to define a parameter that allows the user to pick an Item using the Tree interface. However the tricky part is that the root needs to be a query and not an absolute path. &#xA;The rule is a personalisation query so it needs to be relative to the item on which the personalisation is being applied. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was thinking something like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;If Item [ItemId,Tree,root=query::../.,specific] has value ...&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However this doesn't work.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-11-07T14:57:36.843" Title="Custom Sitecore rule, define query for parameter item" Tags="|personalization|rules-engine|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8313" PostTypeId="1" CreationDate="2017-11-06T19:35:24.860" Score="2" ViewCount="891" Body="&lt;p&gt;When I call &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; inside of an &lt;code&gt;IComputedIndexField&lt;/code&gt;, it returns &lt;code&gt;Core&lt;/code&gt;. I can't use this to call the &lt;code&gt;GetItem()&lt;/code&gt; function.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thus, I wrote the following as a workaround.&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var indexableItem = indexable as SitecoreIndexableItem;&#xA;if (indexableItem == null)&#xA;                {&#xA;                    Sitecore.ContentSearch.Diagnostics.CrawlingLog.Log.Warn(this + &quot; : unsupported IIndexable type : &quot; + indexable.GetType());&#xA;                    return false;&#xA;                }&#xA;var category = indexableItem.Item.Database.GetItem(new ID(&quot;MY ID&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works perfectly fine, but is it the correct way to call the &lt;code&gt;Database&lt;/code&gt; object?&lt;/p&gt;&#xA;" OwnerUserId="1662" LastActivityDate="2017-11-06T22:21:56.473" Title="Sitecore Context Database during computeField index" Tags="|content-search|sitecore-api|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8314" PostTypeId="1" CreationDate="2017-11-06T20:54:59.977" Score="6" ViewCount="1337" Body="&lt;p&gt;After disabling &lt;em&gt;Sitecore xDB&lt;/em&gt; using the following two settings in the  &lt;code&gt;\App_Config\Include\Sitecore.Xdb.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I can still see the following search indexes in my configuration (&lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt;) and activities to maintenance them in log files.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_analytics_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_marketing_asset_index_master&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_marketing_asset_index_web&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_marketingdefinitions_master&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_marketingdefinitions_web&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_testing_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_suggested_test_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_fxm_master_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_fxm_web_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_list_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;social_messages_master&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;social_messages_web&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;How can I disable xDB related search indexes, when using CMS-only mode?&lt;/p&gt;&#xA;" OwnerUserId="973" LastActivityDate="2017-12-06T00:19:15.063" Title="How to disable xDB related search indexes, when using CMS-only mode?" Tags="|xdb|content-search|cms-only|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8315" PostTypeId="5" CreationDate="2017-11-06T20:58:21.100" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-11-06T20:58:21.100" LastActivityDate="2017-11-06T20:58:21.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8316" PostTypeId="4" CreationDate="2017-11-06T20:58:21.100" Score="0" Body="CMS-only mode lets you to run Sitecore XP without enabling the Experience Database (xDB) or purchasing xDB licenses.&#xD;&#xA;&#xD;&#xA;In CMS-only mode, any functionality that depends on data collection will be unavailable and a number of applications will not run." OwnerUserId="973" LastEditorUserId="973" LastEditDate="2017-11-07T20:59:52.960" LastActivityDate="2017-11-07T20:59:52.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8317" PostTypeId="2" ParentId="8314" CreationDate="2017-11-06T21:11:02.167" Score="6" Body="&lt;p&gt;You should be able to apply a patch like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration&amp;gt;&#xA;        &amp;lt;indexes&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_analytics_index&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_testing_index&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_suggested_test_index&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_fxm_master_index&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_fxm_web_index&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_list_index&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;social_messages_master&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;social_messages_web&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_marketing_asset_index_master&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_marketing_asset_index_web&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_marketingdefinitions_master&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_marketingdefinitions_web&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll need to place this patch near the end of the patching list using a zzz folder. When using Sitecore 9+ you can make use of the config ordering built-in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also want to keep the tracking setting enabled for in-session personalization to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&#xA;There will be additional steps to disable features that tie back to the indexes. For example, some of the content testing features found in the Experience Editor rely on one or more indexes.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-11-06T21:11:02.167" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8318" PostTypeId="2" ParentId="8314" CreationDate="2017-11-06T22:06:08.863" Score="8" Body="&lt;p&gt;Unfortunately, with Sitecore 8.X series you can't simply go through each configuration file and comment out or delete definitions for the above indexes, because there are many xDB dependencies (defined in configuration files) that don't respect the &lt;code&gt;Xdb.Enabled&lt;/code&gt; setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, to disable xDB related search indexes you must remove configuration files with both index definitions and corresponding dependencies (e.g managers/providers/pipelines/processors/tasks etc.).&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove the following folders under the &lt;code&gt;\App_Config\Include&lt;/code&gt; root:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;CES&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Channel&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ContentTesting&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ExperienceAnalytics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ExperienceProfile&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;FXM&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ListManagement&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Marketing&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Social&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove the following files under the &lt;code&gt;\App_Config\Include&lt;/code&gt; root:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Compatibility.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.ExcludeRobots.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.FieldTypes.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Model.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.MongoDb.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Outcome.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Processing.Aggregation.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Processing.Aggregation.ProcessingPools.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Processing.Aggregation.Services.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Processing.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Processing.Services.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Reporting.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.SessionSerialization.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.Aggregation.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.Database.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.Database.ScaledCM.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.Outcome.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.RobotDetection.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.ContentSearch.Analytics.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.ContentSearch.Lucene|Solr|Azure.DefaultIndexConfiguration.Xdb.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.ContentSearch.Lucene|Solr|Azure.Index.Analytics.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.EngagementAutomation.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.EngagementAutomation.Processing.Aggregation.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.EngagementAutomation.Processing.Aggregation.ProcessingPools.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.EngagementAutomation.Processing.Aggregation.Services.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.EngagementAutomation.Processing.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.EngagementAutomation.TimeoutProcessing.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.EngagementAutomation.Tracking.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.ExperienceAnalytics.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Client.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.MarketingCD.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Definitions.MarketingAssets.Repositories.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Definitions.MarketingAssets.RepositoriesCD.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Definitions.MarketingAssets.Repositories.Lucene|Solr|Azure.Index.Master.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Definitions.MarketingAssets.Repositories.Lucene|Solr|Azure.Index.Web.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Definitions.MarketingAssets.Repositories.Lucene|Solr|Azure.IndexConfiguration.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Lucene|Solr|Azure.Index.Master.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Lucene|Solr|Azure.Index.Web.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Lucene|Solr|Azure.IndexConfiguration.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Search.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.Taxonomy.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Marketing.TaxonomyCD.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.MarketingProcessingRole.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.MarketingReportingRole.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.MvcAnalytics.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.PathAnalyzer.Client.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.PathAnalyzer.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.PathAnalyzer.Processing.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.PathAnalyzer.Services.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.PathAnalyzer.StorageProviders.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.PathAnalyzer.RemoteClient.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.PathAnalyzer.Services.RemoteServer.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Processing.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.SegmentBuilder.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Xdb.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Xdb.Remote.Client.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Xdb.Remote.Client.MarketingAssets.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Xdb.Remote.Server.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Xdb.Remote.Server.MarketingAssets.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create the &lt;code&gt;Sitecore.Xdb.Off.config&lt;/code&gt; under the &lt;code&gt;\App_Config\Include&lt;/code&gt; root:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;appDependencies patch:source=&quot;Sitecore.ExperienceAnalytics.config&quot;&amp;gt;&#xA;      &amp;lt;xdb&amp;gt;&#xA;        &amp;lt;app name=&quot;Experience Analytics&quot; id=&quot;{BCDEDA7A-D6DC-4D2F-9570-7D7F89AAAA0B}&quot;/&amp;gt;&#xA;        &amp;lt;app name=&quot;PathAnalyzer&quot; id=&quot;{C15CD34F-C772-4B34-84D7-D04E61D72FDB}&quot; patch:source=&quot;Sitecore.PathAnalyzer.config&quot;/&amp;gt;&#xA;        &amp;lt;app name=&quot;Experience Optimization&quot; id=&quot;{2D77A85B-40AD-4376-B44B-1D567B4FE438}&quot; patch:source=&quot;Sitecore.ContentTesting.ApplicationDependencies.config&quot;/&amp;gt;&#xA;        &amp;lt;app name=&quot;Experience Profile&quot; id=&quot;{6111B7F6-B4D9-40B4-A88E-25E3D7760297}&quot; patch:source=&quot;Sitecore.ExperienceProfile.config&quot;/&amp;gt;&#xA;        &amp;lt;app name=&quot;Federated Experience Manager&quot; id=&quot;{254DB1EB-129B-4DBD-9B8E-CC1B38FDD0E7}&quot; patch:source=&quot;Sitecore.FXM.Speak.config&quot;/&amp;gt;&#xA;        &amp;lt;app name=&quot;List Manager&quot; id=&quot;{F7864BD2-ED99-48B7-9C68-C16D0D5624D6}&quot; patch:source=&quot;Sitecore.ListManagement.Client.config&quot;/&amp;gt;&#xA;        &amp;lt;app name=&quot;Campaign Creator&quot; id=&quot;{58961ED8-3E9F-4F3A-8CC7-F0D486524707}&quot; /&amp;gt;&#xA;      &amp;lt;/xdb&amp;gt;&#xA;    &amp;lt;/appDependencies&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Disable Content Testing functionality as described in the &lt;em&gt;Solution (for XP 8.0)&lt;/em&gt; section of the following KB article:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/785358&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/785358&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove the &lt;code&gt;sessionIDManagerType&lt;/code&gt; attribute in the &lt;code&gt;Web.config&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;&amp;lt;sessionState mode=&quot;InProc&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;  ...&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Don't keep using Sitecore's session state provider if Sitecore xDB is disabled. Switch to any provider that Microsoft provides for ASP.NET.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you use Web Forms for Marketers module with , then you should perform additional steps:&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;6&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Update the &lt;code&gt;\App_Config\Include\Sitecore.Forms.config&lt;/code&gt; file as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;  ...&#xA;    &amp;lt;ui&amp;gt;&#xA;      &amp;lt;references&amp;gt;&#xA;        &amp;lt;reference patch:before=&quot;reference[.='/bin/Sitecore.Forms.Core.dll']&quot;&amp;gt;System.dll&amp;lt;/reference&amp;gt;&#xA;        &amp;lt;reference uniq=&quot;/bin/Sitecore.Forms.Core.dll&quot;&amp;gt;/bin/Sitecore.Forms.Core.dll&amp;lt;/reference&amp;gt;&#xA;      &amp;lt;/references&amp;gt;&#xA;    &amp;lt;/ui&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Bring back the &lt;code&gt;Sitecore.Marketing.config&lt;/code&gt; file under the &lt;code&gt;\App_Config\Include&lt;/code&gt; root.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="973" LastEditorUserId="1152" LastEditDate="2017-12-06T00:19:15.063" LastActivityDate="2017-12-06T00:19:15.063" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8319" PostTypeId="2" ParentId="8313" CreationDate="2017-11-06T22:21:56.473" Score="2" Body="&lt;p&gt;The code you posted is the right way to get the database based on the database of the item being indexed, I think you should get &lt;code&gt;null&lt;/code&gt; for &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; because the code is &lt;strong&gt;NOT&lt;/strong&gt; running within any site context, Check &lt;code&gt;Sitecore.Context.Site&lt;/code&gt; to verify (Thats what i see in Sitecore 8.2u5), Maybe in older version, it was running with the context of &quot;&lt;strong&gt;shell&lt;/strong&gt;&quot; site, which uses the core database&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;shell&quot; database=&quot;core&quot;  virtualFolder=&quot;/sitecore/shell&quot; physicalFolder=&quot;/sitecore/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; ..... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-11-06T22:21:56.473" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8320" PostTypeId="1" CreationDate="2017-11-07T05:47:22.997" Score="1" ViewCount="844" Body="&lt;p&gt;I have been lately trying to configure Solr 7.1 with Sitecore 8.2. Once configuration done, after going to content tree, I am getting error &lt;strong&gt;&quot;Data at the root level is invalid. Line 1, position 1.&quot;&lt;/strong&gt;&#xA;In the log file I can see the following :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Error while instantiating agent. &#xA;      Definition: &amp;lt;agent type=&quot;Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher, Sitecore.ContentSearch.SolrProvider&quot; method=&quot;Run&quot; interval=&quot;00:01:00&quot; patch:source=&quot;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; /&amp;gt;&#xA;Exception: System.TypeInitializationException&#xA;Message: The type initializer for 'Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher' threw an exception.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert)&#xA;   at Sitecore.Tasks.Scheduler.ReadAgents()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anybody faced similar issue?&lt;/p&gt;&#xA;" OwnerUserId="2319" LastEditorUserId="73" LastEditDate="2017-11-09T17:59:17.300" LastActivityDate="2018-01-08T19:55:19.207" Title="Compatability issues between Sitecore 8.2 and Solr 7.1" Tags="|solr|" AnswerCount="4" CommentCount="2" ClosedDate="2018-01-08T19:59:45.583" ContentLicense="CC BY-SA 3.0" />
  <row Id="8321" PostTypeId="2" ParentId="5883" CreationDate="2017-11-07T08:49:29.090" Score="1" Body="&lt;p&gt;It looks like you are trying to resolve objects from the container when registering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the code you want is the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DependencyInjection : IServicesConfigurator&#xA;{&#xA;    public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;        serviceCollection.AddTransient&amp;lt;ISitecoreContext, SitecoreContext&amp;gt;();&#xA;        serviceCollection.AddTransient&amp;lt;ISitecoreService, SitecoreService&amp;gt;();&#xA;        serviceCollection.AddTransient&amp;lt;IGlassHtml, GlassHtml&amp;gt;();&#xA;        serviceCollection.AddTransient&amp;lt;IControllerSitecoreContext, ControllerSitecoreContext&amp;gt;();&#xA;&#xA;&#xA;        serviceCollection.AddGlassMaps(&quot;DD.Data*&quot;);&#xA;        serviceCollection.AddMvcControllers(&quot;DD.Web*&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You don't need to create instances when registering your interfaces/classes in the container, you just need to tell it the interface and the concrete class.  The container will create the instance when it is requested from the container.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the case of the GlassHtml class, you do not need to tell the container how to resolve its constructor args.  Since on the first line you have already registered what a ISitecoreContext is, it will automatically recognize this and will resolve an instance of ISitecoreContext to pass in at the same time it resolves the IGlassHtml instance.&lt;/p&gt;&#xA;" OwnerUserId="198" LastActivityDate="2017-11-07T08:49:29.090" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8322" PostTypeId="2" ParentId="8320" CreationDate="2017-11-07T09:33:28.303" Score="0" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Data at the root level is invalid. Line 1, position 1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode&#xA;  configNode, String[] parameters, Boolean assert)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;sounds like Sitecore is not able to read configuration from configuration files. Check, that your SOLR configuration files are valid.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-11-07T09:33:28.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8323" PostTypeId="1" AcceptedAnswerId="8325" CreationDate="2017-11-07T09:49:44.010" Score="9" ViewCount="4432" Body="&lt;p&gt;Is there any tool like Express migration tool available to migrate from Sitecore 8.2 to Sitecore 9.0?&#xA;Sitecore 8.2 have MongoDB but on Sitecore 9.0 no mongoDB and we have Xconnect so how the analytics data will do?&#xA;How feasible is it to go for the migration now and what steps should be important in considering so?&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="73" LastEditDate="2017-11-10T10:42:43.303" LastActivityDate="2017-11-10T10:42:43.303" Title="Sitecore 8.2 upgrade to Sitecore 9.0" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8324" PostTypeId="2" ParentId="8312" CreationDate="2017-11-07T10:13:08.860" Score="1" Body="&lt;p&gt;Out of the box the Tree Macro does not support this, the solution is to create a custom Macro that allows a query to be executed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TreeQueryMarco : IRuleMacro&#xA;{&#xA;&#xA;&#xA;    private Item GetContentItem()&#xA;    {&#xA;        var history = System.Web.HttpContext.Current.Session[&quot;Content Editor History&quot;].ToString();&#xA;        var parts = history.Split('|');&#xA;        var last = parts.LastOrDefault();&#xA;        if (last != null)&#xA;        {&#xA;            var uri = ItemUri.Parse(last);&#xA;            return Database.GetItem(uri);&#xA;        }&#xA;        return null;&#xA;    }&#xA;&#xA;    public void Execute(XElement element, string name, UrlString parameters, string value)&#xA;    {&#xA;        SelectItemOptions selectItemOptions = new SelectItemOptions();&#xA;        string parameter1 = parameters[&quot;root&quot;];&#xA;        string parameter2 = parameters[&quot;setRootAsSearchRoot&quot;];&#xA;        if (!string.IsNullOrEmpty(parameter1))&#xA;        {&#xA;            if (parameter1.StartsWith(&quot;query::&quot;))&#xA;            {&#xA;                Item obj = GetContentItem();&#xA;&#xA;                if (obj != null)&#xA;                {&#xA;                    var query = parameter1.Replace(&quot;query::&quot;, &quot;&quot;);&#xA;&#xA;                    query= HttpUtility.UrlDecode(query);&#xA;                    var searchRoot = obj.Axes.SelectSingleItem(query);&#xA;                    if (searchRoot != null)&#xA;                    {&#xA;                        selectItemOptions.Root = searchRoot;&#xA;&#xA;                    }&#xA;                }&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the Macro is called it doesn't actually have any &quot;Context&quot; about the item that is being accessed in the content tree. To get this information we can query the &quot;Content Editor History&quot; data stored in the user's session:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var history = System.Web.HttpContext.Current.Session[&quot;Content Editor History&quot;].ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A word of warning, if the user has two Content Editors open sometimes the history is incorrect and can result in the wrong items being displayed. To solve this the user has to just click on the correct content item again in the Content Editor so that it is the last entry in the history list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly the query has to be URL encoded because the Rule parse does not like the extra square brackets and quotation marks:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ItemId,TreeQuery,root=query::ancestor-or-self%3A%3A*%5B%40%40templateid%3D%27%7B5617CC30-B77F-485C-B05B-42E27DAA220D%7D%27%5D, specific]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="464" LastEditorUserId="90" LastEditDate="2017-11-07T14:57:36.843" LastActivityDate="2017-11-07T14:57:36.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8325" PostTypeId="2" ParentId="8323" CreationDate="2017-11-07T10:18:08.313" Score="9" Body="&lt;p&gt;You can find the downloads for the migration/upgrade tools on the Sitecore 9 release page: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore 9.0 Initial Release Downloads&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you are on 8.2, you can use the 'upgrade' package there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically for the xDB data, you'll want to look at the &lt;a href=&quot;https://dev.sitecore.net/en/Downloads/Sitecore%20xDB%20Data%20Migration%20Tool/2x/xDB%20Data%20Migration%20Tool%2020&quot; rel=&quot;noreferrer&quot;&gt;xDB data migration tool&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are on an older version of Sitecore, the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/30/Express_Migration_Tool_30_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;express migration tool 3.0&lt;/a&gt; has been updated to migrate users from older versions to 9.0.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-11-07T10:18:08.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8326" PostTypeId="1" CreationDate="2017-11-07T10:52:50.720" Score="0" ViewCount="667" Body="&lt;p&gt;We have a habitat application with multi-site. If any error occurred, it has to redirect to error page item of specific site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We were planning to implement by &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/handling-exceptions-globally-in-mvc-solutions-using-the-sitecore-asp-net-cms-revisited&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/handling-exceptions-globally-in-mvc-solutions-using-the-sitecore-asp-net-cms-revisited&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;but in Habitat while creating a module we are deleting the Global.ascx.cs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so, how can we have custom error page.&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2017-11-07T16:01:57.670" Title="Custom Error page in Habitat" Tags="|habitat|error-handling|" AnswerCount="2" CommentCount="1" ClosedDate="2017-11-07T17:29:14.957" ContentLicense="CC BY-SA 3.0" />
  <row Id="8328" PostTypeId="1" AcceptedAnswerId="8332" CreationDate="2017-11-07T13:03:00.127" Score="6" ViewCount="893" Body="&lt;p&gt;I'm installing the EXM 3.5 initial release in a recent upgraded Sitecore 8.2 update 5 (from update 2), and I am mentioning that because I had to set &lt;strong&gt;Xdb.Enabled&lt;/strong&gt; and &lt;strong&gt;Xdb.Tracking.Enabled&lt;/strong&gt; to &lt;strong&gt;false&lt;/strong&gt; in order to achieve the upgrade, despite the fact I have not configured any MongoDB yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I get the Sitecore 8.2 Update 5, I started the process to install the EXM 3.5 and completely &lt;strong&gt;forgot to back both Xdb parameters to true&lt;/strong&gt;, which result in the following error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: Cannot use DataAdapterProvider as xDB is disabled.&#xA;Source: Sitecore.Analytics.DataAccess&#xA;   at Sitecore.Analytics.DataAccess.DataAdapterProvider..ctor(Boolean checkXdb)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider..ctor(Func2 driverFactory)&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Well, looks like xDB is disabled and changed both &lt;strong&gt;Xdb parameters to true&lt;/strong&gt;, then Sitecore complained about not finding ConnectionStrings related to Mongo because they were commented - &lt;strong&gt;as I have not configured MongoDB yet&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, I have uncommented and left as &lt;code&gt;mongodb://localhost/analytics, and so on for the rest of MongoDB&lt;/code&gt; but &lt;strong&gt;keep in mind that I DO NOT have MongoDB on this server&lt;/strong&gt;, then I tried to install EXM again but it is being an hour already since I started and it keeps spinning the Installing but never finishes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dsPf3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dsPf3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore logs show as follow&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;148 13:00:20 ERROR Exception when executing agent aggregation/automationAggregator&#xA;Exception: System.TimeoutException&#xA;Message: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;Automatic&quot;, Type : &quot;Unknown&quot;, State : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;{ ClusterId : 1, EndPoint : &quot;Unspecified/localhost:27017&quot; }&quot;, EndPoint: &quot;Unspecified/localhost:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot;, HeartbeatException: &quot;MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---&amp;gt; System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:27017&#xA;   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)&#xA;   at System.Threading.Tasks.TaskFactory&lt;/code&gt;1.FromAsyncCoreLogic(IAsyncResult iar, Func&lt;code&gt;2 endFunction, Action&lt;/code&gt;1 endAction, Task&lt;code&gt;1 promise, Boolean requiresSynchronization)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.TcpStreamFactory.&amp;lt;ConnectAsync&amp;gt;d__7.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.TcpStreamFactory.&amp;lt;CreateStreamAsync&amp;gt;d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;OpenHelperAsync&amp;gt;d__48.MoveNext()&#xA;   --- End of inner exception stack trace&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="393" LastEditDate="2017-11-07T13:38:21.827" LastActivityDate="2017-11-08T09:15:23.837" Title="Is MongoDB a prerequisite to install EXM?" Tags="|exm|mongodb|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8329" PostTypeId="2" ParentId="4029" CreationDate="2017-11-07T13:14:23.460" Score="2" Body="&lt;p&gt;I had the same error while importing users via xConnect to the xDb.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It occurs when there is a contact with a reference to a successor and also still has a reference to the Identifiers collection. So at that moment there are two references to the same Identifier object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've used this query to lookup how many we had:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.getCollection('Contacts').find({Successor:{$exists:true},Successor:{$exists:true}, Identifiers:{$exists:true}})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then something like this to clean it up&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.getCollection('Contacts').update({ _id:&amp;lt;LUUID&amp;gt;},{ $unset: { Identifiers: &quot;&quot;} })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1791" LastEditorUserId="731" LastEditDate="2017-11-07T14:05:22.160" LastActivityDate="2017-11-07T14:05:22.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8330" PostTypeId="2" ParentId="8328" CreationDate="2017-11-07T13:30:43.223" Score="5" Body="&lt;p&gt;When you try to install a module or a package on Sitecore and it keeps 'installing' forever generally it means the Analytics (or specifically MongoDB) is not running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some configuration file have not been properly updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to compare your configuration files to another solution running with same Sitecore version.&lt;/p&gt;&#xA;" OwnerUserId="1203" LastActivityDate="2017-11-07T13:30:43.223" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8331" PostTypeId="2" ParentId="8328" CreationDate="2017-11-07T13:50:24.480" Score="4" Body="&lt;p&gt;CMS-Only mode is &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/experience_management_an_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;incompatible&lt;/a&gt; with EXM. One of the usages of MongoDB is to store interactions that are created when someone clicks a link in an email. However, in your case the message mentions &lt;code&gt;automationAggregator&lt;/code&gt; which is used for engagement plans. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;MongoDB can be run as a &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/#configure-a-windows-service-for-mongodb-community-edition&quot; rel=&quot;nofollow noreferrer&quot;&gt;windows service&lt;/a&gt; or &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/#install-mongodb-community-edition&quot; rel=&quot;nofollow noreferrer&quot;&gt;process in a console&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-11-07T13:50:24.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8332" PostTypeId="2" ParentId="8328" CreationDate="2017-11-07T13:59:09.700" Score="12" Body="&lt;p&gt;As EXM does not support CMS-only mode, xDB is required to run EXM. &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/configuring/experience_management_compatibility&quot; rel=&quot;nofollow noreferrer&quot;&gt;See the documentation on all the components that require xDB&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you send an email campaign, the Email Experience Manager (EXM) creates an interaction in the Sitecore Experience Database (xDB) for each of the following email events:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sent&lt;/strong&gt; – one interaction for every sent email message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Opened&lt;/strong&gt; – one interaction when a contact opens an email message. Each interaction will have one &quot;Email Opened&quot; page event, and, if it's the first time the contact has opened the email campaign, an &quot;Email Opened First Time&quot; page event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Clicked&lt;/strong&gt; – one interaction when a contact clicks a link in the email message. Each interaction will have one &quot;Click Email Link&quot; page event for every unique link in the email campaign, and, if it's the first time the link is clicked by the contact, an additional &quot;First Click Email Link&quot; page event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Bounced&lt;/strong&gt; – one interaction when an email message bounces.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unsubscribed&lt;/strong&gt; – one interaction when a contact unsubscribes from an email message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Spam&lt;/strong&gt; – one interaction when a contact marks the email message as spam.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this has been extracted from the official &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/the_interactions_created_in_xdb_by_exm&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="121" LastEditDate="2017-11-08T09:15:23.837" LastActivityDate="2017-11-08T09:15:23.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8333" PostTypeId="2" ParentId="5883" CreationDate="2017-11-07T14:54:44.260" Score="7" Body="&lt;p&gt;I wanted to add this as the other answers are close, but not 100% IMO.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First - &lt;code&gt;SitecoreContext&lt;/code&gt; and &lt;code&gt;SitecoreService&lt;/code&gt; have overloaded constructors. So you have to use a factory registration to be able to resolve those. Otherwise you will be dependent the constructor that the container will select, &lt;em&gt;if&lt;/em&gt; it is able to select one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how I register the dependencies:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddTransient&amp;lt;ISitecoreContext&amp;gt;(provider =&amp;gt; new SitecoreContext());&#xA;serviceCollection.AddTransient&amp;lt;ISitecoreService&amp;gt;(provider =&amp;gt; new SitecoreService(Sitecore.Context.ContentDatabase));&#xA;serviceCollection.AddTransient&amp;lt;IControllerSitecoreContext, ControllerSitecoreContext&amp;gt;();&#xA;serviceCollection.AddTransient&amp;lt;IGlassHtml, GlassHtml&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that I'm using factory registrations for &lt;code&gt;ISitecoreContext&lt;/code&gt; and &lt;code&gt;ISitecoreService&lt;/code&gt;. Also for &lt;code&gt;ISitecoreService&lt;/code&gt;, I'm using &lt;code&gt;Sitecore.Content.Database&lt;/code&gt; - this makes sure that in a pipeline or other instance where the &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; is &lt;code&gt;core&lt;/code&gt;, I can still work on content. If you want one dedicated to the core db, you could create another registration for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;IControllerSitecoreContext&lt;/code&gt; and &lt;code&gt;IGlassHtml&lt;/code&gt; can just be registered without the factory methods. The container will resolve those dependencies just fine.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-11-07T14:54:44.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8334" PostTypeId="2" ParentId="8326" CreationDate="2017-11-07T14:57:29.323" Score="0" Body="&lt;p&gt;You have different options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Include Global.asax into one of Habitat project. And copy this file during project publishing.&lt;/li&gt;&#xA;&lt;li&gt;Use HTTP module to handle errors:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;1) Add module code to your project&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ErrorModule : IHttpModule&#xA;{&#xA;  public void Init(HttpApplication application)&#xA;  {&#xA;    application.Error += new EventHandler(application_Error);  &#xA;  }      &#xA;  public void Dispose() { }&#xA;&#xA;  public void application_Error(object sender, EventArgs e)&#xA;  {&#xA;    //handle error&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Patch web config to use your module:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpModules&amp;gt;&#xA;  &amp;lt;add  name=&quot;ErrorModule&quot; type=&quot;YourProject.ErrorModule, YourProject&quot; /&amp;gt;&#xA;&amp;lt;/httpModules&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-11-07T14:57:29.323" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8335" PostTypeId="1" CreationDate="2017-11-07T15:00:02.737" Score="8" ViewCount="563" Body="&lt;p&gt;When a user submits's a form on the contact us page, I am creating a contact in xDB as:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;try&#xA;{&#xA;    //Identify the user&#xA;    Tracker.Current.Session.Identify(model.Email);&#xA;&#xA;    //Get the contact&#xA;    var contact = Tracker.Current.Session.Contact;&#xA;&#xA;    if (contact != null)&#xA;    {&#xA;        //Update contact&#xA;        SitecoreContactManager.UpdateXdbContact(model.Email, model.FirstName, model.LastName, model.Phone);&#xA;    }&#xA;    else&#xA;    {&#xA;        //Create contact&#xA;        Tracker.Current.Session.Contact = SitecoreContactManager.GetXdbContact(model.Email);&#xA;    }&#xA;}&#xA;catch (Exception exception)&#xA;{&#xA;    Sitecore.Diagnostics.Log.Error($&amp;quot;error in creating or updating contact for identifier {model.Email}&amp;quot;, exception, this);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;this works well locally and on DEV but in live, it is throwing an error as :&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Exception: System.InvalidOperationException Message: this.Interaction&#xA;should not be null Source: Sitecore.Analytics at&#xA;Sitecore.Analytics.Tracking.StandardSession.Identify(String userName)&#xA;at&#xA;uk.co.biggroup.www.api.ContactFormController.CreateUpdateContactInXdb(FormDetailsModel&#xA;model)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have checked the connections to mongo databases(I can see data in there)&lt;/li&gt;&#xA;&lt;li&gt;I have rebuild reporting database.&lt;/li&gt;&#xA;&lt;li&gt;compared the Sitecore &lt;code&gt;/admin/showconfig.aspx&lt;/code&gt; of DEV and LIVE, I could not able to see anything obvious.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Sitecore version: 8.2 rev. 170614 (Update-4)&lt;/p&gt;&#xA;&lt;p&gt;Did anyone experience this issue before?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="946" LastEditDate="2023-07-30T19:02:06.497" LastActivityDate="2023-08-30T07:04:50.590" Title="Interaction is null" Tags="|experience-analytics|experience-profile|contact-facets|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="8336" PostTypeId="2" ParentId="8326" CreationDate="2017-11-07T16:01:57.670" Score="0" Body="&lt;p&gt;I had the same issue, you can patch the pipeline , the below sample used for 404 but it can be extended to all errors.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;!-- 404 pipeline processor --&amp;gt;&#xA;&amp;lt;pipelines&amp;gt;&#xA;&#xA;  &amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;!-- Patch after Sitecore Item Resolver --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Common.Feature.Errors.Pipelines.HttpRequest.Error404, Common.Feature.Errors&quot;&#xA;               patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;  &amp;lt;/httpRequestBegin&amp;gt;&#xA;&#xA;    &amp;lt;httpRequestEnd&amp;gt;&#xA;        &amp;lt;!-- Sets a 404 status code on the response --&amp;gt;&#xA;        &amp;lt;processor type=&quot;Common.Feature.Errors.ErrorStatusCode, Common.Feature.Errors&quot; patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.EndDiagnostics, Sitecore.Kernel']&quot;&amp;gt;&#xA;&#xA;        &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;/httpRequestEnd&amp;gt;&#xA;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Class will look something like :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Error404 : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        try&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;.....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and as Antone mentioned you can keep the global.asax in your main project and change the Inherits to refer your error handling code, regardless of its location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope that will help.&lt;/p&gt;&#xA;" OwnerUserId="1057" LastActivityDate="2017-11-07T16:01:57.670" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8337" PostTypeId="1" CreationDate="2017-11-07T16:43:17.430" Score="4" ViewCount="413" Body="&lt;p&gt;Method definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual HtmlString ItemRendering(Item item, object parameters);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Assumed usage:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().ItemRendering( item, new { ThisShouldWork = true } );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Assumed Consumption:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var testVal = Html.Sitecore().CurrentRendering.Parameters[&quot;ThisShouldWork&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in this case, testVal is null.  In fact, there are no parameters at all (zero items, the actual object is not null).  According to other &lt;a href=&quot;https://stackoverflow.com/questions/30866425/pass-parameters-to-rendering-using-itemrendering-in-sitecore&quot;&gt;SO Answers&lt;/a&gt; and &lt;a href=&quot;http://www.matthewdresser.com/sitecore/mvc-passing-properties-to-item-renderings&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog posts&lt;/a&gt;, this isn't so clear cut.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far, I've seen things on workarounds to mitigate the problem of passing data, but I have yet to see anything on what the heck the object parameters intended usage actually is.  What does it do?  How are we &lt;em&gt;supposed&lt;/em&gt; to use it?&lt;/p&gt;&#xA;" OwnerUserId="466" LastActivityDate="2017-11-07T17:58:55.233" Title="What does the parameters object do in the ItemRendering method?" Tags="|presentation|documentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8338" PostTypeId="2" ParentId="7983" CreationDate="2017-11-07T17:16:13.500" Score="2" Body="&lt;p&gt;@wiero pointed me in the right direction...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I selected any of the ExperienceEditor.EditMode items in the network tab of my browser developer tools, I saw that the error returned was about editing Cookies after the page had loaded, or something similar. It turned out this was something I had done. For very long and convoluted reasons, I am removing the session cookie, to prevent session blocking:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://johnculviner.com/asp-net-concurrent-ajax-requests-and-session-state-blocking/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://johnculviner.com/asp-net-concurrent-ajax-requests-and-session-state-blocking/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But really, I only needed this in the CDs. Having it on the CM broke the Experience Editor. After removing it, everything worked fine.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2017-11-07T20:37:43.760" LastActivityDate="2017-11-07T20:37:43.760" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8339" PostTypeId="2" ParentId="8337" CreationDate="2017-11-07T17:16:37.020" Score="0" Body="&lt;p&gt;From the look of it the parameters are passed to the rendering properties - not parameters. So try this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var testVal = Html.Sitecore().CurrentRendering.Properties[&quot;ThisShouldWork&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I haven't tested this myself, but from the look of the decompiled code this should work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To answer your question - the decompilation of the Sitecore code shows that the&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;object parameters&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;are directly mapped as properties on the rendering. As to why they are mapped to properties instead of parameters I don't know.&lt;/p&gt;&#xA;" OwnerUserId="1026" LastEditorUserId="1026" LastEditDate="2017-11-07T17:24:11.343" LastActivityDate="2017-11-07T17:24:11.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8340" PostTypeId="2" ParentId="8337" CreationDate="2017-11-07T17:20:27.800" Score="3" Body="&lt;p&gt;The &lt;code&gt;parameters&lt;/code&gt; dynamic object on the constructor of an &lt;code&gt;ItemRendering&lt;/code&gt; is not related to rendering parameters. If you follow the code through using dotPeek - you will see that it adds those values to a &lt;code&gt;.Properties&lt;/code&gt; property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is of the type &lt;code&gt;RenderingProperties&lt;/code&gt;. That object can be used to store data for the rendering. For example, it is used in the &lt;code&gt;mvc.getModel&lt;/code&gt; pipeline in the &lt;code&gt;GetFromProperty&lt;/code&gt; processor to store the model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual object GetFromPropertyValue(Rendering rendering, GetModelArgs args)&#xA;{&#xA;    string property = rendering.Properties[&quot;Model&quot;];&#xA;    if (property.IsWhiteSpaceOrNull())&#xA;        return (object) null;&#xA;    return args.ModelLocator.GetModel(property, true);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To get at those properties from your &lt;code&gt;CurrentRendering&lt;/code&gt; object, you should be able to do this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var testVal = Html.Sitecore().CurrentRendering.Properties[&quot;ThisShouldWork&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code that sets that property. It is called from the &lt;code&gt;GetRendering&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual Rendering GetRendering(&#xA;    string renderingType, &#xA;    object parameters, &#xA;    params string[] defaultValues)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In that method it does:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (parameters != null)&#xA;    TypeHelper.GetProperties(parameters).Each&amp;lt;KeyValuePair&amp;lt;string, object&amp;gt;&amp;gt;(&#xA;        pair =&amp;gt; &#xA;            rendering.Properties[pair.Key] = pair.Value.ValueOrDefault((o =&amp;gt; o.ToString())));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This takes the dynamic object and sets the &lt;code&gt;.Properties&lt;/code&gt; object on the &lt;code&gt;Rendering&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-11-07T17:58:55.233" LastActivityDate="2017-11-07T17:58:55.233" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8341" PostTypeId="2" ParentId="8320" CreationDate="2017-11-07T17:23:46.963" Score="0" Body="&lt;p&gt;I did run into a similar issue, problem being the configuration file was corrupt/had an unrecognizable character. Please double check your configuration files. Moreover, also take a look at the SOLR compatibility table with sitecore here: &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2655" LastActivityDate="2017-11-07T17:23:46.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8342" PostTypeId="1" AcceptedAnswerId="8343" CreationDate="2017-11-07T19:42:39.407" Score="3" ViewCount="1155" Body="&lt;p&gt;I have a multilist field on article items called &lt;code&gt;Categories&lt;/code&gt;. In a module I am trying to filter based on one or more items in that multilist field. I can do this if I directly supply the name of the field in the index to use as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var filterPredicate = PredicateBuilder.False&amp;lt;ArticleSearchResultItem&amp;gt;();&#xA;&#xA;if (categories?.Any() == true)&#xA;{&#xA;   foreach (var category in categories)&#xA;   {&#xA;      filterPredicate = filterPredicate&#xA;         .Or(p =&amp;gt; p[&quot;article_categories_sm&quot;].Contains(category));&#xA;   }&#xA;&#xA;   predicate = predicate.And(filterPredicate);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to do this by adding article categories to my &lt;code&gt;ArticleSearchResultItem&lt;/code&gt; it seems that the value the property gets is always null.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ArticleSearchResultItem : SearchResultItem&#xA;{&#xA;    [IndexField(&quot;publish_date&quot;)]&#xA;    public DateTime PublishDate { get; set; }&#xA;&#xA;    [IndexField(&quot;article_categories&quot;)]&#xA;    public IEnumerable&amp;lt;ID&amp;gt; ArticleCategories { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var categoryIds = categories?.Where(ShortID.IsShortID)&#xA;   .Select(cat =&amp;gt; ShortID.Parse(cat).ToID());&#xA;if (categoryIds?.Any() == true)&#xA;{&#xA;   var filterPredicate = PredicateBuilder.False&amp;lt;ArticleSearchResultItem&amp;gt;();&#xA;   foreach (var category in categoryIds)&#xA;   {&#xA;      filterPredicate = filterPredicate&#xA;         .Or(p =&amp;gt; p.ArticleCategories.Contains(category));&#xA;   }&#xA;&#xA;   predicate = predicate.And(filterPredicate);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tested having a suffix of &lt;code&gt;_sm&lt;/code&gt; for the &lt;code&gt;IndexField&lt;/code&gt; attribute above &lt;code&gt;ArticleCategories&lt;/code&gt; and had the same results (all items were filtered when filtering by the same category that worked in the first block of code). &lt;code&gt;Publish Date&lt;/code&gt; is also a custom field however that seems to be working fine (in queries shown by the search log it shows up as &lt;code&gt;publish_date_tdt&lt;/code&gt;). When I look in the search logs it seems that using the property &lt;code&gt;ArticleCategories&lt;/code&gt; causes the query to use &lt;code&gt;article_categories_t&lt;/code&gt; which does not exist on my items. Could this be an issue with my schema or config? This instance is Sitecore.NET 8.2 (rev. 170614).&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2021-05-05T20:03:14.893" Title="Solr Issues Using Multilist Property on Search Result" Tags="|content-search|solr|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8343" PostTypeId="2" ParentId="8342" CreationDate="2017-11-07T20:23:09.983" Score="5" Body="&lt;p&gt;In case it works fine with &lt;code&gt;p[&quot;article_categories_sm&quot;].Contains(category)&lt;/code&gt; I suggest trying the following changes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ArticleSearchResultItem : SearchResultItem&#xA;    {&#xA;        [IndexField(&quot;publish_date&quot;)]&#xA;        public DateTime PublishDate { get; set; }&#xA;&#xA;        [IndexField(&quot;article_categories_sm&quot;)]&#xA;        [TypeConverter(typeof(Sitecore.ContentSearch.Converters.IndexFieldEnumerableConverter))]&#xA;        public virtual IEnumerable&amp;lt;ID&amp;gt; ArticleCategories { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I added the TypeConverter and made the field virtual.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it doesn't work, trying without &lt;code&gt;&quot;_sm&quot;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-11-07T20:23:09.983" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8344" PostTypeId="2" ParentId="8223" CreationDate="2017-11-07T20:55:46.130" Score="3" Body="&lt;p&gt;I have finally got a response from Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There is an inconsistency in Sitecore documentation regarding sitecore_fxm_web_index.&#xA;  Our documentation team is working to fix this inconsistency.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;FXM requires that both &lt;code&gt;sitecore_fxm_web_index&lt;/code&gt; and &lt;code&gt;sitecore_fxm_master_index&lt;/code&gt; are enabled in CM environment.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;It will take some time until &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update5.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;existing WDPs&lt;/a&gt; are updated.&#xA;  Until then you will need to modify the existing WDP package and enable the Sitecore.FXM.Azure.DomainsSearch.Index.Web.config file.&#xA;  In azuredeploy.parameters.json you will need to specify url to modified WDP.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So this is a bug in the way the WDP's are setup. Until these are fixed if you use FXM you will need to create a custom WDP package and use that in your deployments rather than the ones from Sitecore. That should be as simple as:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download the existing WDP package and unzip&lt;/li&gt;&#xA;&lt;li&gt;Remove the &lt;code&gt;.disabled&lt;/code&gt; extension to the &lt;code&gt;Sitecore.FXM.Azure.DomainsSearch.Index.Web.config&lt;/code&gt; file&lt;/li&gt;&#xA;&lt;li&gt;Zip up that package an upload to your Azure storage account&lt;/li&gt;&#xA;&lt;li&gt;Update the location of the package in your &lt;code&gt;azuredeploy.parameters.json&lt;/code&gt; file&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That will make sure that the CM service is correctly configured for FXM.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-11-07T20:55:46.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8346" PostTypeId="1" CreationDate="2017-11-07T23:59:17.050" Score="2" ViewCount="527" Body="&lt;p&gt;I have upgraded a website from Sitecore 7.2 rev 140526 to 8.2 rev 161129 using Express Migration tool. After doing all config changes, recompiling existing dlls with new sitecore dlls and other post upgrade steps, I was able to login and do functionalities in Sitecore back-end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I view the public website, content inside placeholders does not renders to the webpage. But when I add Sublayout tag instead of Placeholder to the page and bind the presenatation component statistically it works fine. I cannot find any errors in the logs either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion to fix this?&lt;/p&gt;&#xA;" OwnerUserId="412" LastEditorUserId="73" LastEditDate="2017-11-09T18:01:10.970" LastActivityDate="2017-11-09T18:01:10.970" Title="Content inside Sitecore placeholders does not render to the page after Sitecore upgrade" Tags="|upgrade|placeholders|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8348" PostTypeId="1" AcceptedAnswerId="8364" CreationDate="2017-11-08T04:20:24.133" Score="2" ViewCount="606" Body="&lt;p&gt;We have an installation of Sitecore 8.1 (rev 160519).  We have a rather laborious process presently of uploading TDS update packages (generated by our build process) using the Sitecore update installation wizard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are typically over a thousand items that need to be uploaded per package (there are two packages, namely: template and content), and the whole process to upload a single update package typically takes anything from 30 to 40 minutes to complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am now wondering if there is something that might not be correctly configured, or optimized (particularly in respect of the database) since this seems extremely slow?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;: I've tried uploading the same package on my local (development) installation of Sitecore, and it runs an order of magnitude more quickly than our environmental installation.  The only difference is that the database server resides on the same host as the client (Sitecore), so no network round-trips.  I'm having difficulty believing that that is the only reason for the vast difference in speed.  Is there anything that I should be looking for in terms of configuration, either within Sitecore or in respect of the database?&lt;/p&gt;&#xA;" OwnerUserId="2487" LastEditorUserId="2487" LastEditDate="2017-11-08T04:27:56.863" LastActivityDate="2017-11-08T15:25:35.410" Title="Update installation slowness during deployment" Tags="|tds|installation|update-packages|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8350" PostTypeId="1" CreationDate="2017-11-08T09:02:20.317" Score="2" ViewCount="118" Body="&lt;p&gt;I've recently installed WFFM in my Sitecore instance. During this process I have added a custom folder and some forms to it. &#xA;I have linked my folder under &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt; &#xA;  &amp;lt;marketing formsroot=&quot;/sitecore/content/marketing/forms-test-folder&quot; /&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and all looks good in the Insert Wizard, except for the fact that the 'Global Forms', 'Sample Forms' section still is visible. See the image:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YRMii.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YRMii.png&quot; alt=&quot;Global Forms section still visible&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to hide it by editing the Sitecore.Forms.config file and removing the reference to the folder &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- SITES --&amp;gt;&#xA;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;    &amp;lt;!-- &amp;lt;x:attribute name=&quot;formsRoot&quot;&amp;gt;{F1F7AAB6-C8CE-422F-A214-F610C109FA63}&amp;lt;/x:attribute&amp;gt; --&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the folder is till shown in the Wizard. I have also searched through the config shown by showconfig.aspx and have not been able to find any other instances of 'formsroot' than my own. I know that I can probably just delete the sample folder and be done with it, but I would rather remove the reference to it, whereever it is defined.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So do anyone know where this folder is ultimately defined?&lt;/p&gt;&#xA;" OwnerUserId="2367" LastEditorUserId="70" LastEditDate="2017-11-08T09:13:42.190" LastActivityDate="2017-11-08T09:13:42.190" Title="In WFFM how do I hide the &quot;Global Forms&quot; section?" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8351" PostTypeId="2" ParentId="8350" CreationDate="2017-11-08T09:13:03.290" Score="1" Body="&lt;p&gt;The sample forms are just installed with the module. They are located at &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Sample forms&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest way to remove them from the list would be to just delete the items from the Sitecore tree. If you didn't want to delete them, you could also set security on the folder so that it deny's read access to the &lt;code&gt;sitecore/Author&lt;/code&gt; role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the location in the tree:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5M9Zy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5M9Zy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-11-08T09:13:03.290" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8352" PostTypeId="2" ParentId="2929" CreationDate="2017-11-08T10:10:04.103" Score="1" Body="&lt;p&gt;In my case Dependency Injection was not working because the code was in Gloabl.asax.cs and this is not executed anymore in Sitecore 8.2. The solution is to modify Global.asax.cs and inherit from &lt;strong&gt;Sitecore.Mvc.Pipelines.Loader.InitializeRoutes&lt;/strong&gt; instead of &lt;strong&gt;Sitecore.Web.Application&lt;/strong&gt; so you can create the config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this you can go ahead and create a config e.g. yourcustomname.config with the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&quot;YourGlobalAsaxFullyQualifiedClassName, YourGobalAsaxAssembly&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That's it, publish the code, refresh the app pool and it should work.&lt;/p&gt;&#xA;" OwnerUserId="2660" LastActivityDate="2017-11-08T10:10:04.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8353" PostTypeId="1" AcceptedAnswerId="8362" CreationDate="2017-11-08T11:01:24.107" Score="4" ViewCount="1348" Body="&lt;h3&gt;Issue Description&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The entire Sitecore Powershell context menu is not visible for any content editor. I've tried creating a user and adding every role (except for ones like limited content editor etc). The only way I can get it to pop-up is to make the user an Administrator.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SPE: 4.4&lt;/li&gt;&#xA;&lt;li&gt;Sitecore: 8.2 rev. 160729&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Expected Behavior&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The user with the role 'Sitecore Client Authoring' should be able to read the powershell context menu items when right clicking an item.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Actual Behavior&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The entire scripts context menu is not visible to the content editor.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Steps to Reproduce the Problem&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a new (/sitecore/templates/Modules/PowerShell Console/) PowerShell Script Module in /sitecore/system/Modules/PowerShell/Script Library/&lt;strong&gt;My Module&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a Powershell Script Library (child of the module) named &lt;strong&gt;Content Editor&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a Powershell Script Library (child of the content editor script library) named &lt;strong&gt;Context Menu&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a Powershell Script Library (child of the context menu script library) named &lt;strong&gt;My Scripts&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a new Powershell Script item &lt;strong&gt;My Super Cool Script&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a new user and apply the roles:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore\Author&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Social Authoring&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Analytics Testing&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Users&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Analytics Personalisation&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Authoring&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Designer&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Designing&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Log in using the new user account&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Right click an item, the context menu is not visible&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VDGWO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VDGWO.png&quot; alt=&quot;Access Rights In Core Database&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/RQFVi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RQFVi.png&quot; alt=&quot;Script Set-up&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ex17r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ex17r.png&quot; alt=&quot;Context Menu Example&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2385" LastEditorUserId="95" LastEditDate="2017-11-08T15:35:24.193" LastActivityDate="2017-11-08T15:35:24.193" Title="Sitecore powershell context menu unavailable for content editors" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8355" PostTypeId="1" AcceptedAnswerId="8358" CreationDate="2017-11-08T11:26:29.937" Score="5" ViewCount="596" Body="&lt;p&gt;What are common or effective approaches for making Pipelines in Sitecore unit testable? I recently updated some code to use custom pipelines and then found I could no longer unit test it :-(&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the past, I have set up unit test projects which load up all the config files and actually connect to Sitecore, but I don't think this is really best-practice, so want to avoid this if possible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am currently using FakeDb along with xunit and a load of other test-related libraries such a Moq, NSubstitute etc. I'm aware I could unit test individual pipeline steps, but could not test the method in question without invoking the whole pipeline. &lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-05-21T10:19:07.760" Title="Alternatives to using custom pipelines for improved unit testability" Tags="|pipelines|unit-testing|fakedb|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8357" PostTypeId="2" ParentId="8353" CreationDate="2017-11-08T12:21:28.893" Score="1" Body="&lt;p&gt;Are you sure you want to enable script editing for all content authors? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem I see with this approach is that you are giving a lot of power for those users and if they know their way around scripting they can mess up you website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you can still create scripts and make them available to those users through the click of a button for example. You can always create a ribbon button on the Content Editor which when you click it, it executes your script. &#xA;&lt;a href=&quot;http://jockstothecore.com/reporting-with-sitecore-powershell/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; you can find an example of generating a powershell report when users click on a button on the content editor. This points you to the right direction in this sense.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;If your answer is still YES I want to enable that for content authors&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at your screenshots seem like the role Sitecore Client Authoring is being granted but the role Sitecore Client Users denies access. &#xA;The way Sitecore security works for roles is if there is one role which grants and another which denies access it will deny it. You can read more about it &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/assigning_access_rights&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-11-08T12:29:04.010" LastActivityDate="2017-11-08T12:29:04.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8358" PostTypeId="2" ParentId="8355" CreationDate="2017-11-08T12:44:04.770" Score="4" Body="&lt;p&gt;Had a bit of a think about how to do this:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Test the processor steps&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;So the first thing to do is make sure all your code logic is off loaded to a service or manager class. The processor class really should just be responsible for creating the service/manager class (by constructor injection of course :) ) and then calling the appropriate method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the main set of unit testing can be done for the individual functionality of the pipeline.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Test the processor&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;With the container now being a part of Sitecore in 8.2+, you can now test &lt;em&gt;some&lt;/em&gt; processors directly. Pipelines now support the &lt;code&gt;resolve=&quot;true&quot;&lt;/code&gt; attribute that will use the container to create the processor and inject any dependencies. So those are now testable. For processors that do not inject dependencies, you are back to FakeDb and mocking everything.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Test the pipeline&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To test the pipeline as a whole and &lt;em&gt;not&lt;/em&gt; have all the Sitecore binaries, config etc... (I agree, this isn't a great practice), we are going to have to write our own version of &lt;code&gt;CorePipeline.Run&lt;/code&gt; as a kind of test harness. That would then take the args and push them through the Process Method of each processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Initially - this sounds like it would be fairly simple to do, at a very basic level you could even do something as simple as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void TestMyPipeline()&#xA;{&#xA;    var args = new Mock&amp;lt;ProcessorArgs&amp;gt;();&#xA;&#xA;    // TODO: populate the properites on the args mock&#xA;&#xA;    var processor1 = new Processor1(dependency1Mock.Object, dependency2Mock.Object);&#xA;    processor1.Process(this, args);&#xA;&#xA;    var processor2 = new Processor1(dependency1Mock.Object, dependency2Mock.Object);&#xA;    processor2.Process(this, args);&#xA;&#xA;    // etc...&#xA;&#xA;    // Add your test assersions&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But... ultimately, you still have the same problem. You need to mock or create any dependencies that get used in those processors and there is a lot to setup.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What is the best option?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For me - generally, unit testing each processor individually normally covers 99% of what is going to require testing. The extra overhead of running the entire pipeline gets into the rule of diminishing returns.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you would have to evaluate how far you wanted to take the testing for your project.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-11-08T17:34:06.783" LastActivityDate="2017-11-08T17:34:06.783" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8359" PostTypeId="2" ParentId="8342" CreationDate="2017-11-08T13:00:32.710" Score="1" Body="&lt;p&gt;I would inspect the Search.log file to compare the queries that are actually sent to Solr for the working version and the non-working version, this approach has helped me many times in the past. You can also if need be paste the serialized query directly into the url of your solr instance:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://localhost:8983/solr/#/core_name/query?q=SERIALIZED-QUERY&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/#/core_name/query?q=SERIALIZED-QUERY&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That way you can see what results get returned and tweak.&lt;/p&gt;&#xA;" OwnerUserId="759" LastActivityDate="2017-11-08T13:00:32.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8362" PostTypeId="2" ParentId="8353" CreationDate="2017-11-08T15:15:02.887" Score="2" Body="&lt;p&gt;The &lt;strong&gt;Scripts&lt;/strong&gt; context menu actually uses a different item in the core db.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The security settings can be seen &lt;a href=&quot;https://doc.sitecorepowershell.com/security.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. In SPE 4.7 you should expect the visibility to respect &lt;strong&gt;sitecore\Sitecore Limited Content Editor (deny read)&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your screenshot it appears you are expecting the &lt;em&gt;Edit Scripts&lt;/em&gt; command to work, when you actually need &lt;em&gt;Context PowerShell Scripts&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gpSAF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gpSAF.png&quot; alt=&quot;Context PowerShell Scripts&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a new user to the &lt;em&gt;sitecore\Author&lt;/em&gt; role and without making any other security change I could immediately see the appropriate &lt;strong&gt;Scripts&lt;/strong&gt; context menu.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UnDnQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UnDnQ.png&quot; alt=&quot;Menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without any extra work I followed the script creation steps you provided and the menu appears as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/u9roP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u9roP.png&quot; alt=&quot;Working Menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the menu does not appear it would have to be a security role added to the user or to a specific set of items.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-11-08T15:15:02.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8363" PostTypeId="2" ParentId="7099" CreationDate="2017-11-08T15:15:25.350" Score="2" Body="&lt;p&gt;The cause of my problem had to do with the way I was implementing the Token Provider for Sitecore Services Client.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I used Tokens for authenticating Sitecore Services Client&lt;/li&gt;&#xA;&lt;li&gt;There is a bug in the SigningTokenProvider - when it tries to log an error, such as the Token being expired, it fails to escape special characters correctly, the write to the log fails, and the site blows up.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;So, to replace the SigningTokenProvider, I had to also replace the TokenDelegatingHandler. I made an exact copy of the Sitecore's TokenDelegatingHandler, except that it instantiates my SigningTokenProvider instead of Sitecore's. I replaces Sitecore's Token DelegatingHandler with a patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;settings&amp;gt;&#xA;  &amp;lt;setting name=&quot;Sitecore.Services.Token.Authorization.Enabled&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;  &amp;lt;setting name=&quot;Sitecore.Services.SecurityPolicy&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy, Sitecore.Services.Infrastructure&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&amp;lt;api&amp;gt;&#xA;  &amp;lt;tokenSecurity&amp;gt;&#xA;    &amp;lt;signingProvider type=&quot;Sitecore.Services.Infrastructure.Sitecore.Security.SymetricKeySigningProvider, Sitecore.Services.Infrastructure.Sitecore&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;Sitecore.Services.Token.SecurityKey&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/signingProvider&amp;gt;&#xA;  &amp;lt;/tokenSecurity&amp;gt;&#xA;  &amp;lt;services&amp;gt;&#xA;    &amp;lt;configuration type=&quot;Sitecore.Services.Infrastructure.Configuration.ServicesConfiguration, Sitecore.Services.Infrastructure&quot;&amp;gt;&#xA;      &amp;lt;allowedControllers hint=&quot;list:AddController&quot;&amp;gt;&#xA;        &amp;lt;allowedController desc=&quot;EnglishController&quot;&amp;gt;DD.Services.Controller.SiteSpecific.XfinityPrepaidDotNet.EnglishPageRepository, DD.Services&amp;lt;/allowedController&amp;gt;&#xA;        &amp;lt;allowedController desc=&quot;SpanishController&quot;&amp;gt;DD.Services.Controller.SiteSpecific.XfinityPrepaidDotNet.SpanishPageRepository, DD.Services&amp;lt;/allowedController&amp;gt;&#xA;      &amp;lt;/allowedControllers&amp;gt;&#xA;      &amp;lt;delegatingHandlers hint=&quot;list:AddDelegatingHandler&quot; patch:instead=&quot;delegatingHandlers&quot;&amp;gt;&#xA;        &amp;lt;delegatingHandler desc=&quot;TokenDelegatingHandler&quot;&amp;gt;&#xA;          DD.Platform.Sc.EntityServices.TokenDelegatingHandler, DD.Platform.Sc&#xA;        &amp;lt;/delegatingHandler&amp;gt;&#xA;      &amp;lt;/delegatingHandlers&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;  &amp;lt;/services&amp;gt;&#xA;&amp;lt;/api&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The problem here is that there is another bug in Sitecore that if I log in this way, even when I log in, my user is returned as not authenticated:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://borisbrodsky.com/sitecore/issuesolved-sitecore-isauthenticated-property-is-false-for-statlesstoken-based-authentication-in-servicesapicontroller/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://borisbrodsky.com/sitecore/issuesolved-sitecore-isauthenticated-property-is-false-for-statlesstoken-based-authentication-in-servicesapicontroller/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I started messing around with the validation in the TokenDelegatingHandler. What I didnt realize is that a whole bunch of the Analytics parts of Sitecore use this TokenDelegatingHandler to connect. When I changed this, I broke all sorts of analytics components, including whatever was generating that error.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;So, I reverted the TokenDelegatingHandler to be just a copy of Sitecore's except that it calls my SiginingTokenProvider. And my SigningTokenProvider is an exact copy of Sitecore's, except that it handles the errors correctly.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This seemed to eliminate the error. Then I had to move my custom logic that deals with the IsAuthorized problem to an AuthorizationFilterAttribute. &lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-11-08T15:15:25.350" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8364" PostTypeId="2" ParentId="8348" CreationDate="2017-11-08T15:25:35.410" Score="3" Body="&lt;p&gt;Sitecore is &amp;quot;very chatty&amp;quot; when communicating with the database server and one of the main reasons I've seen for both slow Sitecore instances and package installation is network latency. There can be number of reasons for this, the 2 main ones I have seen:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Physical location of web server and database servers being separated, e.g. in different datacenters. For example, I've previously seen a Web Server created in Azure North Europe showing the same crippling symptoms with a database created in Azure West Europe (in our case it was created in the incorrect region accidentally)&lt;/li&gt;&#xA;&lt;li&gt;Configuration issues of the server, such as an incorrectly set up SQL Server instance or even Network Interface Card issues.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;You should measure the network latency and runs some tests to make sure that it is within the recommended bounds of Sitecore requirements. Follow the article about &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Sitecore%20Performance/Optimizing%20Sitecore%206%20and%20later/Database%20Administration.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Testing Database Performance&lt;/a&gt;, download the &lt;code&gt;DatabaseTest.aspx&lt;/code&gt; page and deploy it to your servers to ensure there are no network issues. This will give you a starting point to try and pinpoint the actual issue.&lt;/p&gt;&#xA;&lt;p&gt;Note that the tool was designed for Sitecore 6.x-7.2 but it does still work on the 8.x versions.&lt;/p&gt;&#xA;&lt;h3&gt;Reducing Deployment Package Size&lt;/h3&gt;&#xA;&lt;p&gt;You can also speed up the package installation by reducing the amount of items which are being deployed. The simplest option to do this is to use the &lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#general&quot; rel=&quot;nofollow noreferrer&quot;&gt;Delta Deploy features&lt;/a&gt; which were introduced in TDS 5.6 (although I would suggest you upgrade to the latest version, currently 5.7):&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CMQ4C.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CMQ4C.png&quot; alt=&quot;TDS Delta Deploy&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Using this feature you can set a specific date to only include changes after, or using a rolling date feature (e.g. last 30 days - this was introduced in TDS 5.7). Personally, using this feature has reduced package installation from 10-15 mins down to less than 2 minutes, but solving any network latency issues is still important.&lt;/p&gt;&#xA;&lt;p&gt;If you are going this route this I suggest reading &lt;a href=&quot;http://www.seanholmesby.com/true-delta-deploys-with-tds-classic/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article by Sean Holmesby&lt;/a&gt; and &lt;a href=&quot;https://sitecorerap.wordpress.com/2017/09/15/fully-automating-git-delta-deploys-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article by John Rappel&lt;/a&gt; about creating true delta deploy packages by using code diffs rather than relying solely on date (but this is a good, easy start to try and figure out what is going on).&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-11-08T15:25:35.410" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8365" PostTypeId="1" CreationDate="2017-11-08T15:34:59.613" Score="3" ViewCount="216" Body="&lt;p&gt;TL;DR: When is Sitecore template item configuration enough and when is additional configuration in the Web.config necessary? Is there a clear division and what's the thought behind it?&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;When creating a new component based on standard Page List component, I didn't get it to work with pagination.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had my controller inherit &lt;code&gt;Sitecore.XA.Foundation.RenderingVariants.Controllers.Base.PaginableController&lt;/code&gt;, my rendering variant inherits the &lt;strong&gt;IPagination&lt;/strong&gt; and &lt;strong&gt;IPaginable&lt;/strong&gt; templates, set the List Signature for both the components, but still pagination wouldn't work:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ejKuT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ejKuT.png&quot; alt=&quot;pagination error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Luckily I found a saving angel who pointed me to this bit of config that I had to add my component to in order to get it to work with pagination:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;experienceAccelerator&amp;gt;&#xA;      &amp;lt;!-- List of renderings that support pagination. --&amp;gt;&#xA;      &amp;lt;paginationEnabledRenderings&amp;gt;&#xA;        &amp;lt;rendering id=&quot;{2E991AA4-4B08-43D2-AD2B-17C11E69A499}&quot; name=&quot;Page List&quot;/&amp;gt;&#xA;      &amp;lt;/paginationEnabledRenderings&amp;gt;&#xA;    &amp;lt;/experienceAccelerator&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;This wasn't the first time I encountered this kind of double configuration, either; dynamic placeholders likewise have to be configured both in Sitecore templates and config patch files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;This leads me to wonder; When is Sitecore template item configuration enough and when is additional configuration in the Web.config necessary? Is there a clear division and what's the thought behind it?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a pretty clear &lt;a href=&quot;http://helix.sitecore.net/principles/configuration/strategy.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;page on the Helix site&lt;/a&gt; about it, but that mainly covers Web.configs and only states the difference between setting and configuration. But a lot of configuration for SXA can be done perfectly well in Sitecore in stead of Web.config. It is still separated from settings by residing in, for instance, the sitecore/templates/Feature folder and can interact just nicely with SXA foundation functionality by inheriting templates. So why do we need extra Web.config configuration for some things and not for others?&lt;/p&gt;&#xA;" OwnerUserId="2369" LastEditorUserId="2369" LastEditDate="2017-11-08T15:41:55.447" LastActivityDate="2017-11-08T20:55:26.577" Title="SXA: When is configuration in web.config necessary vs only in templates?" Tags="|sxa|helix|solution-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8366" PostTypeId="2" ParentId="8365" CreationDate="2017-11-08T16:02:13.570" Score="1" Body="&lt;p&gt;Keeping things as simple as possible should be always our goal while developing products. &#xA;Then, users, developers can start using it faster with less effort at the beginning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA team will really appreciate opinions and suggestions like this. We want to make your life easier but we are not necessarily aware of all things that bother you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recently Adam Najmanowicz organized MVP feedback session &#xA;&lt;a href=&quot;https://twitter.com/adamnaj/status/900718164161507328&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://twitter.com/adamnaj/status/900718164161507328&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;where MVPs could hear about what is coming soon and propose features or ask for improvements.&#xA;I think that initiatives like that are perfect for expressing all problems that you have (as a result we already delivered some of them in 1.5 and will bring more in 1.6)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I can promise right now is that I will register a task for that (config review).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;btw. SXA was written before Helix was defined ;)&#xA;That's why some parts are validated both methods even though they could be checked for item inheritance.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-11-08T20:55:26.577" LastActivityDate="2017-11-08T20:55:26.577" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8367" PostTypeId="2" ParentId="8346" CreationDate="2017-11-08T16:04:24.153" Score="1" Body="&lt;p&gt;Is your content visible in this window:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zdqY0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zdqY0.png&quot; alt=&quot;Layout details final layout&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If yes, identify the correct placeholder path by placing a new control on the page where you're sure it renders and copy that into the placeholder field of your existing items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cBOB3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cBOB3.png&quot; alt=&quot;Placeholder field location&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, check the current placeholder field value and adjust your page/partial designs to use that, maybe it got changed during the upgrade.&lt;/p&gt;&#xA;" OwnerUserId="2369" LastActivityDate="2017-11-08T16:04:24.153" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8368" PostTypeId="1" AcceptedAnswerId="8369" CreationDate="2017-11-08T16:15:56.760" Score="4" ViewCount="251" Body="&lt;p&gt;I'm using Sitecore 8.2 - update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario:&#xA;I like to list all of the articles sorted by a &lt;code&gt;Publish Date&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which is the best practice/approach?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore's Publishing Setting: Use Sitecore's OOTB Publishing Setting. I can set the &lt;code&gt;from&lt;/code&gt; field. In my rendering, I will sort the items based on &lt;code&gt;item.Publishing.PublishDate&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Custom Field: Add a field name 'Publish Date' to the template. Set it as a Date field. After mapping the items to an object, in the &lt;code&gt;IEnumerable&lt;/code&gt;, use this field as to Sort.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1662" LastEditorUserId="1662" LastEditDate="2017-11-08T16:59:38.357" LastActivityDate="2017-11-08T16:59:38.357" Title="Sitecore's Publishing setting vs. a Custom field" Tags="|best-practices|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8369" PostTypeId="2" ParentId="8368" CreationDate="2017-11-08T16:22:37.633" Score="6" Body="&lt;p&gt;For those scenario's I always use a custom field and the reason is rather simple: if your article gets an update (can be for something stupid like a typo) the ootb publish date will change but you probably don't want that effect in your sorting. Well, that's my experience - they (customers) mostly want the original publish date.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a choice between something automated and something manual. Involve the customer/editor in this decision: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the automated way is less work - although it's not that much work to set &quot;today&quot; in a date field and you could even set it in the standard values&lt;/li&gt;&#xA;&lt;li&gt;the manual way gives them more flexibility (also had cases where the publishing date of the article was not the actual publish date they wanted to see.. )&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So as I said, in my experience it always turned out in favor of the date field on the template&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-11-08T16:26:10.963" LastActivityDate="2017-11-08T16:26:10.963" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8370" PostTypeId="2" ParentId="8320" CreationDate="2017-11-08T16:23:51.550" Score="0" Body="&lt;p&gt;Got the same issu with sitecore 9.0 and Solr7.1.  Pretty sure i didn't have any unrecognizable character in the files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I decide to install Solr 6.6.2.  No issue, work like a charm! it does not fix your problem with solr7.1 but maybe just confirm a possible incompatibility issue!&lt;/p&gt;&#xA;" OwnerUserId="2664" LastActivityDate="2017-11-08T16:23:51.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8371" PostTypeId="1" AcceptedAnswerId="8372" CreationDate="2017-11-08T18:06:41.423" Score="9" ViewCount="1062" Body="&lt;p&gt;I just finished an update of &lt;a href=&quot;http://file:///C:/Users/vdeschamps/Downloads/EXM-Upgrade-Instructions-35.pdf&quot; rel=&quot;noreferrer&quot;&gt;EXM from 3.4 to 3.5&lt;/a&gt; and despite the fact, that everything ran smoothly, how do I know that 3.5 is there?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If check the DLL is the answer, please advise which one and if is there any other way to find that out?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2019-07-23T16:53:23.713" Title="Is there a way to check EXM version?" Tags="|exm|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8372" PostTypeId="2" ParentId="8371" CreationDate="2017-11-08T18:14:23.960" Score="8" Body="&lt;p&gt;What about: shell -&gt; desktop -&gt; All Applications -&gt; System -&gt; License Details?&lt;/p&gt;&#xA;" OwnerUserId="1057" LastActivityDate="2017-11-08T18:14:23.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8373" PostTypeId="2" ParentId="8371" CreationDate="2017-11-08T18:19:19.477" Score="3" Body="&lt;p&gt;You can compare bin folders of your solution with bin folder of the EXM package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Dlls from EXM 3.4 has version 4.0.0.5643 and EXM 3.5  has version 5.0.0.1554&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5rbgX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5rbgX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-11-08T18:19:19.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8374" PostTypeId="2" ParentId="8371" CreationDate="2017-11-08T20:14:09.867" Score="2" Body="&lt;p&gt;Another option: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Login to Sitecore &lt;code&gt;desktop&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Switch to &lt;code&gt;core&lt;/code&gt; database&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Find &lt;code&gt;/sitecore/system/Packages/Installation history/Email Experience Manager&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check its child (children) - name of the item is date &amp;amp; time when the package was installed and version is stored &lt;code&gt;Package version&lt;/code&gt; field&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-07-23T16:53:23.713" LastActivityDate="2019-07-23T16:53:23.713" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="8376" PostTypeId="1" AcceptedAnswerId="8383" CreationDate="2017-11-08T21:00:59.517" Score="4" ViewCount="897" Body="&lt;p&gt;I've got a QA and live environment in 8.1 Update 2 using Lucene; both are running standalone. The same content is essentially on both, migrated via serialization from another instance. I'm using a custom index definition for the site's general search function.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the QA box, I get back results as I'd expect for certain terms, but on the live box, I don't get those results. I've run an index rebuild several times for this index, but I'm not getting the content I'd expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to figure out a good way to diagnose this on my development machine. Since the Lucene index is a file system set, could I copy the index folder from my live environment, put it back on my development machine, and query against it so I can run debugging/breakpoint? Failing that, what would be a good way to simulate a query against the index? I've found Luke and can hook up to the index, but it's a little unwieldy for finding content in there.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-11-09T03:10:36.180" Title="Best way to check Lucene index for query function" Tags="|content-search|lucene|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8377" PostTypeId="2" ParentId="8376" CreationDate="2017-11-08T21:06:38.917" Score="2" Body="&lt;p&gt;You have a few options. Here are 2 of them:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- use luke to read the index. You could check the index directly on the one you are facing problems but I personally prefer option #2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- Use Sitecore powershell extensions module to read your index. You can install the authorable report and you get the Index Viewer just like discussed on this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2847/turning-on-index-viewer-for-spe&quot;&gt;topic&lt;/a&gt;. It works really well.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-11-08T21:06:38.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8378" PostTypeId="1" CreationDate="2017-11-08T22:24:21.470" Score="4" ViewCount="4319" Body="&lt;p&gt;Is there an easy way to test if GeoIP is enabled and working correctly?&lt;/p&gt;&#xA;" OwnerUserId="1057" LastActivityDate="2017-12-02T02:25:28.427" Title="Test if GeoIP is enabled and working correctly?" Tags="|geo-location|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8379" PostTypeId="2" ParentId="8378" CreationDate="2017-11-08T23:07:25.720" Score="6" Body="&lt;p&gt;You should be able to setup a test file to test if the GeoIp service is working correctly.  I'd recommend following &lt;code&gt;Solution 3&lt;/code&gt; in the Sitecore support issue below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/798498&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/798498&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically you need to drop code like the following on your server.  Ideally in a location under the /sitecore path to protect just anyone from accessing the page.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;TestIp.aspx.cs&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Analytics.Lookups&quot; %&amp;gt;&#xA;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&#xA;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&#xA;&amp;lt;head runat=&quot;server&quot;&amp;gt;&#xA;    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;    &amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;        protected void Button1_Click(object sender, EventArgs e)&#xA;        {&#xA;            var w = LookupManager.GetInformationByIp(TextBox1.Text);&#xA;            ListBox1.Items.Clear();&#xA;            ListBox1.Items.Add(&quot;IP: &quot; + TextBox1.Text);&#xA;            ListBox1.Items.Add(&quot;AreaCode: &quot; + w.AreaCode);&#xA;            ListBox1.Items.Add(&quot;BusinessName: &quot; + w.BusinessName);&#xA;            ListBox1.Items.Add(&quot;City: &quot; + w.City);&#xA;            ListBox1.Items.Add(&quot;Country: &quot; + w.Country);&#xA;            ListBox1.Items.Add(&quot;Dns: &quot; + w.Dns);&#xA;            ListBox1.Items.Add(&quot;Isp: &quot; + w.Isp);&#xA;            ListBox1.Items.Add(&quot;Latitude: &quot; + w.Latitude);&#xA;            ListBox1.Items.Add(&quot;Longitude: &quot; + w.Longitude);&#xA;            ListBox1.Items.Add(&quot;MetroCode: &quot; + w.MetroCode);&#xA;            ListBox1.Items.Add(&quot;PostalCode: &quot; + w.PostalCode);&#xA;            ListBox1.Items.Add(&quot;Region: &quot; + w.Region);&#xA;            ListBox1.Items.Add(&quot;Url: &quot; + w.Url);&#xA;        }&#xA;    &amp;lt;/script&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;form id=&quot;form1&quot; runat=&quot;server&quot;&amp;gt;&#xA;    &amp;lt;div&amp;gt;&#xA;&#xA;        &amp;lt;asp:TextBox ID=&quot;TextBox1&quot; runat=&quot;server&quot; Width=&quot;229px&quot;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&#xA;        &amp;lt;br /&amp;gt;&#xA;        &amp;lt;asp:Button ID=&quot;Button1&quot; runat=&quot;server&quot; OnClick=&quot;Button1_Click&quot; Text=&quot;GetInformartionByIP&quot; Width=&quot;234px&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;br /&amp;gt;&#xA;        &amp;lt;asp:ListBox ID=&quot;ListBox1&quot; runat=&quot;server&quot; Height=&quot;314px&quot; Width=&quot;557px&quot;&amp;gt;&amp;lt;/asp:ListBox&amp;gt;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/form&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-11-08T23:07:25.720" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8380" PostTypeId="1" AcceptedAnswerId="8381" CreationDate="2017-11-09T00:38:22.467" Score="1" ViewCount="752" Body="&lt;p&gt;I have custom analytics which tracks page views and it seems to wildly differ from what Experience Analytics reports. For higher volume pages it seems to be 30% to 60% lower. For low volume pages (i.e. less than 500 visits per month) it can be off by orders of magnitude, with some days having 0 visits even though I know for a fact that is wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed the &lt;a href=&quot;https://kb.sitecore.net/articles/977445&quot; rel=&quot;nofollow noreferrer&quot;&gt;xDB troubleshooting guide&lt;/a&gt; and the results have not improved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some potential config issue or other explanation for this?&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2017-11-09T00:38:22.467" Title="Experience Analytics page views and visits much lower than expected" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8381" PostTypeId="2" ParentId="8380" CreationDate="2017-11-09T00:38:22.467" Score="3" Body="&lt;p&gt;The main issue was because I had the &lt;strong&gt;Sitecore.ExperienceAnalytics.Reduce.config&lt;/strong&gt; enabled. Disabling this and performing an reporting DB rebuild improved the discrepancy of high volume pages and fixed the issue with low volume pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The rest of the discrepancy can be explained along the lines of &lt;a href=&quot;https://kb.sitecore.net/articles/164757&quot; rel=&quot;nofollow noreferrer&quot;&gt;this kb article&lt;/a&gt;, and due to the fact that it's not clear what the difference between a sitecore interaction (page visit) and a sitecore page view is. Pages can be viewed multiple times during a single interaction.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2017-11-09T00:38:22.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8382" PostTypeId="1" CreationDate="2017-11-09T02:16:42.750" Score="11" ViewCount="1102" Body="&lt;p&gt;I have a bootstrap 3 accordion on my Sitcore 8.2 update 5 page, see full markup in bottom. This accordion works as expected, however the accordion panels do not expand any more when the page is opened in the experience editor. I tried several suggested approaches e.g &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1410&quot; rel=&quot;noreferrer&quot;&gt;this&lt;/a&gt; but was unable to get it to work.&#xA;The experience editor added 2 click events to the anchor, see below screenshot in red rectangle. The accordion works as expected when these handlers are removed. There are no JavaScript errors on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone been able to get the accordion to expand in experience editor? Any idea what will break if below 2 event handlers are removed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t7Kq4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t7Kq4.png&quot; alt=&quot;Experience Editor Events&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div id=&quot;accordion&quot; class=&quot;panel-group&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;panel panel-default&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;panel-heading&quot;&amp;gt;&#xA;            &amp;lt;h4 class=&quot;panel-title&quot;&amp;gt;&#xA;                &amp;lt;a data-toggle=&quot;collapse&quot; data-parent=&quot;#accordion&quot; href=&quot;#collapseOne&quot;&amp;gt;1. What is HTML?&amp;lt;/a&amp;gt;&#xA;            &amp;lt;/h4&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div id=&quot;collapseOne&quot; class=&quot;panel-collapse collapse&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;panel-body&quot;&amp;gt;&#xA;                &amp;lt;p&amp;gt;HTML stands for HyperText Markup Language. HTML is the main markup language for describing the structure of Web pages. &amp;lt;a href=&quot;https://www.tutorialrepublic.com/html-tutorial/&quot; target=&quot;_blank&quot;&amp;gt;Learn more.&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;panel panel-default&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;panel-heading&quot;&amp;gt;&#xA;            &amp;lt;h4 class=&quot;panel-title&quot;&amp;gt;&#xA;                &amp;lt;a data-toggle=&quot;collapse&quot; data-parent=&quot;#accordion&quot; href=&quot;#collapseTwo&quot;&amp;gt;2. What is Bootstrap?&amp;lt;/a&amp;gt;&#xA;            &amp;lt;/h4&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div id=&quot;collapseTwo&quot; class=&quot;panel-collapse collapse in&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;panel-body&quot;&amp;gt;&#xA;                &amp;lt;p&amp;gt;Bootstrap is a powerful front-end framework for faster and easier web development. It is a collection of CSS and HTML conventions. &amp;lt;a href=&quot;https://www.tutorialrepublic.com/twitter-bootstrap-tutorial/&quot; target=&quot;_blank&quot;&amp;gt;Learn more.&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;panel panel-default&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;panel-heading&quot;&amp;gt;&#xA;            &amp;lt;h4 class=&quot;panel-title&quot;&amp;gt;&#xA;                &amp;lt;a data-toggle=&quot;collapse&quot; data-parent=&quot;#accordion&quot; href=&quot;#collapseThree&quot;&amp;gt;3. What is CSS?&amp;lt;/a&amp;gt;&#xA;            &amp;lt;/h4&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div id=&quot;collapseThree&quot; class=&quot;panel-collapse collapse&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;panel-body&quot;&amp;gt;&#xA;                &amp;lt;p&amp;gt;CSS stands for Cascading Style Sheet. CSS allows you to specify various style properties for a given HTML element such as colors, backgrounds, fonts etc. &amp;lt;a href=&quot;https://www.tutorialrepublic.com/css-tutorial/&quot; target=&quot;_blank&quot;&amp;gt;Learn more.&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2021-07-17T21:06:03.590" Title="Bootstrap 3 accordion not opening in experience editor" Tags="|experience-editor|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8383" PostTypeId="2" ParentId="8376" CreationDate="2017-11-09T03:10:36.180" Score="2" Body="&lt;p&gt;A more direct answer to your question is usually and typically &lt;strong&gt;Yes - you can copy Lucene Indexes down to your local dev machine to then run tests against it&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In fact, in dire times, such as when additional/extra publishing targets have not been configured correctly, etc. etc., I have seen some customers that have had to manually copy the indexes to these servers as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So again, yes, you can usually copy the indexes locally and then run queries against it, using any of several methods, many of which are listed on this question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/955/how-can-i-find-all-usages-of-template-in-insert-options/8130#8130&quot;&gt;How can I find all usages of template in insert options?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2017-11-09T03:10:36.180" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8384" PostTypeId="2" ParentId="8378" CreationDate="2017-11-09T04:15:08.827" Score="2" Body="&lt;p&gt;although Dylan's answer is correct but I would like to add few more points here - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you still receiving incorrect information?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Check whether the correct IP information is stored in the Analytics database&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore 7.5 – Sitecore 8.x: the “GeoIps” collection, Collection database (MongoDB)&#xA;Sitecore 6.4.1 – Sitecore 7.2: the “GeoIps” table, Analytics database (SQL)&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If incorrect Geo location information stared for a given IP, deleted&#xA;that incorrect IP info from the GeoIps table/collection and do an IIS&#xA;reset.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;You have to change the IP address into hash format.&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;Check correct Geo information will be cached/stored again in the next&#xA;request&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="124" LastActivityDate="2017-11-09T04:15:08.827" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8386" PostTypeId="2" ParentId="8055" CreationDate="2017-11-09T07:07:31.707" Score="0" Body="&lt;p&gt;@Mohit Dharmadhikari&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EnableEventQueues&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is under Sitecore.config you can refer &lt;a href=&quot;https://sitecorebasics.wordpress.com/2011/03/19/basics-of-sitecore-event-queue/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorebasics.wordpress.com/2011/03/19/basics-of-sitecore-event-queue/&lt;/a&gt; blog for more details on this.&lt;/p&gt;&#xA;" OwnerUserId="2564" LastActivityDate="2017-11-09T07:07:31.707" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8387" PostTypeId="1" AcceptedAnswerId="8390" CreationDate="2017-11-09T08:06:35.063" Score="6" ViewCount="334" Body="&lt;p&gt;We have managed to setup xDb in our production environment. Currently, we only setup a single instance of Processing/Aggregation server. We are planning to add another server as a processing/aggregation server to share the load on processing analytics data. I would like to know how to achieve this goal and understand how the servers will handle the job given that both servers are up and running in parallel. Can you please advice the steps or references?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have read some articles that this can be done but there is not concrete details on how to setup correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version: Sitecore 8.1 rev. 160519&lt;/p&gt;&#xA;" OwnerUserId="707" LastEditorUserId="2056" LastEditDate="2018-06-06T12:06:28.563" LastActivityDate="2018-06-06T12:06:28.563" Title="How to scale Processing/Aggregation server" Tags="|xdb|aggregation|processing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8388" PostTypeId="2" ParentId="7641" CreationDate="2017-11-09T09:09:22.613" Score="1" Body="&lt;p&gt;&lt;strong&gt;I don't recommend to modify BaseTemplate (CommerceProduct) in Sitecore&lt;/strong&gt; (add new fields, change existing fields types and etc.). Because you will lose your changes after&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The better way - all modifications you should do in &lt;code&gt;Commerce Server Catalog and Inventory Schema Manager&lt;/code&gt; application. Then you need navigate to &lt;code&gt;Property Definition&lt;/code&gt; and check &lt;code&gt;OnSale&lt;/code&gt; property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VSqIc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VSqIc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you see, if you want to have a shared custom property for all products you need to create a new one and check &lt;code&gt;Assign To All Products Types&lt;/code&gt; checkbox. After that you can sync your templates in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding layout, will be better to use Wildcard Product Details custom page for each different layout (if you want). There you can set your specific layout and this solution will protect you from sync problems.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-11-09T09:09:22.613" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8389" PostTypeId="1" AcceptedAnswerId="8412" CreationDate="2017-11-09T10:03:36.737" Score="3" ViewCount="433" Body="&lt;p&gt;I have a few Sitecore instances running on Sitecore 8.2/8.1 with databases on MS SQL 2012 and MongoDB for the xDB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to upgrade this instance to Sitecore 9. As I need MS SQL 2016 for the xDB I would like all databases in that version - eliminating the need for a 2014.. According to the upgrade guide I should be able to update in 1 step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, after checking the compatibility table of Sitecore (&lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/087164&lt;/a&gt;) I think I might have an issue.. as SQL2012 is not supported by Sitecore9, I assume I need to move my databases before upgrading. This should work for the 8.2 ones as that version apparently supports SQL2016 but not for the 8.1.. As I can't find this info in the upgrade guide, are my assumptions correct:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;for an upgrade from 8.2, I first need to move my databases to SQL2016&lt;/li&gt;&#xA;&lt;li&gt;for an upgrade from 8.1, I first need to move my databases to SQL2014 and after the upgrade again to SQL2016 (or first upgrade to 8.2)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-10-16T03:42:18.507" Title="Database Server version while upgrading to Sitecore 9" Tags="|upgrade|sql-database|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8390" PostTypeId="2" ParentId="8387" CreationDate="2017-11-09T10:58:23.670" Score="4" Body="&lt;p&gt;Practically speaking, you just need to follow the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xDB/Configuring_servers/Configure_a_processing_server&quot; rel=&quot;noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt; whenever you set up a new processing instance. There doesn't have to be any difference or special setup between them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way it works is, processing agents are built to leverage concurrency. In fact, you can (and should) run &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/configure_agreggation_agents&quot; rel=&quot;noreferrer&quot;&gt;multiple aggregation agents&lt;/a&gt; on every processing instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These agents automatically distribute work by using processing pools—the workflow of this is in part described &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/platform/processing_overview&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;. When there are many interactions in a processing pool, every aggregation agent will take a limited range of those and process them one-by-one. Other agents will process their own ranges.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All in all, xDB is built to be distributed. You spin up as many processing instances as you wish, and they just work.&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2017-11-09T10:58:23.670" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8391" PostTypeId="1" AcceptedAnswerId="8408" CreationDate="2017-11-09T12:50:54.620" Score="2" ViewCount="387" Body="&lt;p&gt;I am trying to send mail in Sitecore using &lt;code&gt;Sitecore.MainUtil.SendMail(message)&lt;/code&gt;. I have made &lt;code&gt;message.IsBodyHtml = true&lt;/code&gt;. I debugged the code and found that in the body of message the string is encoded &lt;code&gt;(e.g: &amp;amp;lt;p&amp;amp;gt;Hi,&amp;amp;lt;/p&amp;amp;gt;)&lt;/code&gt;. When the mail comes in outlook, its coming with HTML tags &lt;code&gt;(e.g: &amp;lt;p&amp;gt;Hi,&amp;lt;/p&amp;gt;)&lt;/code&gt;. How to get the mail without HTML Tags in it?.&#xA;(The whole purpose of the story is to send mail to user when the sitecore password expires.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; I am using RTE to get the value for message from sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Details of Environment.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.NET 8.1 (rev. 151207).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;.NET Framework 4.0.30319.42000&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code copied from comment:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string mailBody = settingsItem.Fields[Constants.PasswordExpiryFieldNames.MailB‌​ody].Value.ToString(‌​);&#xA;var emailMessage = new MailMessage(from, to, subject, mailBody);&#xA;emailMessage.IsBodyHtml = true; &#xA;Sitecore.MainUtil.SendMail(emailMessage);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1468" LastEditorUserId="73" LastEditDate="2017-11-09T17:58:58.303" LastActivityDate="2017-11-10T07:04:16.573" Title="Send mail is not encoding HTML properly" Tags="|sitecore-api|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="8393" PostTypeId="1" AcceptedAnswerId="12551" CreationDate="2017-11-09T13:57:06.510" Score="1" ViewCount="8664" Body="&lt;p&gt;I have created a WebApi controller, and it's returning the payload OK (i.e. I see the correct response in the browser), however the status of the request is a 404, which obviously causes problems with JS clients. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is the status 404 when clearly the route exists?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have even tried setting the response status explicitly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;return Request.CreateResponse(HttpStatusCode.OK, &quot;hello&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But still get a 404?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore version 8.2 update 4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SearchApiController &#xA;    : ApiController&#xA;{&#xA;&#xA;    [HttpGet]&#xA;    public HttpResponseMessage Search()&#xA;    {&#xA;        var searchResults = GetSearchResults();&#xA;&#xA;        return Request.CreateResponse(HttpStatusCode.OK, searchResults);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Route mapping via pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class InitializeRoutes&#xA;{&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;        var config = GlobalConfiguration.Configuration;&#xA;&#xA;        config.Routes.MapHttpRoute(&#xA;            name: &quot;DefaultApi&quot;,&#xA;            routeTemplate: &quot;api/{controller}/{action}/{id}&quot;,&#xA;            defaults: new { id = RouteParameter.Optional }&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;initialize&amp;gt;&#xA;            &amp;lt;processor type=&quot;Feature.Search.Infrastructure.Pipelines.InitializeRoutes, Feature.Search&quot; resolve=&quot;true&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeGlobalFilters, Sitecore.Mvc']&quot; /&amp;gt;&#xA;        &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="1125" LastEditDate="2017-11-09T14:11:36.430" LastActivityDate="2018-06-27T10:08:23.390" Title="Web Api controller returning 404 despite returning payload" Tags="|webapi|" AnswerCount="5" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="8394" PostTypeId="2" ParentId="8320" CreationDate="2017-11-09T14:01:32.070" Score="0" Body="&lt;p&gt;Sitecore 8.2 may not be compatible with Solr 7.1 check the link below to see a table of Sitecore versions that work with Solr&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="787" LastActivityDate="2017-11-09T14:01:32.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8395" PostTypeId="2" ParentId="8393" CreationDate="2017-11-09T15:11:32.877" Score="1" Body="&lt;p&gt;You can try Web API attribute routing which in Sitecore 8.2 is supported with no conflicts with ​&lt;code&gt;Sitecore.Services.Client&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You don't even need to configure Web API to use attribute routing configurations, all you need to add is to add the route prefixes to your you controllers/Action like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[RoutePrefix(&quot;api/searchapi&quot;)]&#xA;public class SearchApiController : ApiController&#xA;{&#xA;    [HttpGet]&#xA;    [Route(&quot;search&quot;)]&#xA;    public HttpResponseMessage Search()&#xA;    {&#xA;        var searchResults = GetSearchResults();&#xA;&#xA;        return  Ok(searchResults);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastEditorUserId="2577" LastEditDate="2017-11-09T18:49:54.480" LastActivityDate="2017-11-09T18:49:54.480" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8396" PostTypeId="2" ParentId="8393" CreationDate="2017-11-09T15:36:37.170" Score="1" Body="&lt;p&gt;Change your code. The &lt;code&gt;HttpResponseMessage&lt;/code&gt; is deprecated and is replaced by &lt;code&gt;IHttpActionResult&lt;/code&gt;. While there are probably better and more Sitecore-esque ways to achieve what you are doing here, a straight up modification of your code would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SearchApiController &#xA;    : ApiController&#xA;{&#xA;&#xA;    [HttpGet]&#xA;    public IHttpActionResult Search()&#xA;    {&#xA;        var searchResults = GetSearchResults();&#xA;        if(searchResults == null)&#xA;            return NotFound();&#xA;        return Ok(searchResults);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://stackoverflow.com/questions/23016057/web-api-best-approach-for-returning-httpresponsemessage&quot;&gt;Web API Best Approach for returning HttpResponseMessage&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recommended followup reading: &lt;a href=&quot;https://laubplusco.net/implementing-webapi-service-using-servicesapicontroller-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Implementing a WebApi service using ServicesApiController in Sitecore 8&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-11-09T15:36:37.170" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8398" PostTypeId="1" CreationDate="2017-11-09T19:56:18.073" Score="6" ViewCount="92" Body="&lt;p&gt;I am attempting to troubleshoot a slow page by using the Debug option from Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem I'm facing is that it shows zero Items Read, which isn't helping me find the problem. In fact, all columns show zeroes. If I scroll further, literally every column all the way down shows zero.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0x6zW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0x6zW.png&quot; alt=&quot;Zero Items Read&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;allowDebug=&quot;true&quot;&lt;/code&gt; is set to true on my &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definition. I also toggled the main &lt;code&gt;&amp;lt;compilation debug=&quot;true&quot;&lt;/code&gt;, but it didn't make a difference. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's impossible that no items are being read. Caching is disabled, but even then, it &lt;em&gt;has&lt;/em&gt; to read a few items per call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2u4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another setting that I have disabled accidentally?&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2017-11-09T20:16:23.930" LastActivityDate="2017-11-09T20:16:23.930" Title="Zero Items Read In Output of Debug Mode" Tags="|debug|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8399" PostTypeId="1" CreationDate="2017-11-09T20:12:06.007" Score="2" ViewCount="163" Body="&lt;p&gt;We are working on importing data from XML feed into Sitecore using Data Exchange Framework(DEF). The General Link Field has the right url in raw data but rendered data(Content Editor) field is empty. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a specific value reader and writer for mapping to Sitecore Image, General Link field types?&lt;/p&gt;&#xA;" OwnerUserId="2670" LastActivityDate="2017-11-09T21:05:25.800" Title="Mapping Link and Image data types using Data Exchange Framework" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8400" PostTypeId="2" ParentId="8399" CreationDate="2017-11-09T21:05:25.800" Score="1" Body="&lt;p&gt;No, there is no specific value reader and writer for mapping to Sitecore Image or General Link field types.&lt;/p&gt;&#xA;" OwnerUserId="256" LastActivityDate="2017-11-09T21:05:25.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8401" PostTypeId="2" ParentId="8137" CreationDate="2017-11-09T21:20:38.503" Score="4" Body="&lt;p&gt;It's not clear to me exactly what you are trying to do, but it sounds like you ran a process to read data from CRM and write that data to Sitecore. Some of that data no longer exists in CRM, so you want to remove the data from Sitecore in order to keep CRM and Sitecore in sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is what you want to accomplish, the first thing you need to do is to determine what data is in Sitecore that is no longer in CRM. This is probably easiest done by the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Read data from CRM&lt;/li&gt;&#xA;&lt;li&gt;Write the data from CRM to a temporary storage location (like a database temporary table)&lt;/li&gt;&#xA;&lt;li&gt;Loop through the data in Sitecore&lt;/li&gt;&#xA;&lt;li&gt;If the data in Sitecore does not also exists in the temporary storage location, delete the data from Sitecore&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We decided to err on the side of caution with respect to deleting data: we don't do it. We give you the tools needed to implement the appropriate logic for your requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In future versions we will provide better support for this sort of scenario, specifically having access to a temporary storage area and patterns that demonstrate how to incorporate that into a sync process.&lt;/p&gt;&#xA;" OwnerUserId="256" LastActivityDate="2017-11-09T21:20:38.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8402" PostTypeId="1" CreationDate="2017-11-09T21:39:06.107" Score="2" ViewCount="2805" Body="&lt;p&gt;I would like to add some web api to my project but I am getting error that No HTTP resource was found that matches the request URI&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I could miss in settings or how I can see all sitecore routs and test it ?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;Message&quot;:&quot;No HTTP resource was found that matches the request URI&#xA;  '&lt;a href=&quot;http://my.local/rrapi/My/GetSometing&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my.local/rrapi/My/GetSometing&lt;/a&gt;'.&quot;,&quot;MessageDetail&quot;:&quot;No&#xA;  type was found that matches the controller named 'methodName'.&quot;}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It seems like I did all settings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;MyController &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ServicesController]&#xA;    public class MyController : ServicesApiController&#xA;    {&#xA;        [HttpGet]&#xA;        public IHttpActionResult GetSometing(string code) &#xA;        {            &#xA;            return Ok(&quot;Done&quot;);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;RegisterWebApiRoutes&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class RegisterWebApiRoutes&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            RegisterRoutes(RouteTable.Routes, args);&#xA;        }&#xA;&#xA;        private void RegisterRoutes(RouteCollection routes, PipelineArgs args)&#xA;        {&#xA;            if (routes[&quot;MyName.WebApi.Default&quot;] != null)&#xA;            {&#xA;                Log.Warn(&quot;Route 'MyName.WebApi.Default' has already been added. Ensure only a single route processor for MyName WebApi.&quot;, this);&#xA;&#xA;                return;&#xA;            }&#xA;&#xA;            routes.MapHttpRoute(&quot;MyName.WebApi.Default&quot;, &quot;rrapi/{controller}/{action}/{code}&quot;, new&#xA;                {&#xA;                    code = RouteParameter.Optional&#xA;                }&#xA;            //,&#xA;            //    new&#xA;            //    {&#xA;            //        httpMethod = new HttpMethodConstraint(&quot;Get&quot;, &quot;Post&quot;, &quot;Delete&quot;)&#xA;            //    }&#xA;                );&#xA;            Log.Info(&quot;Route 'MyName.WebApi.Default' has registered.&quot;, this);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Configuration Patch&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&#xA;    &amp;lt;api&amp;gt;&#xA;      &amp;lt;services&amp;gt;&#xA;        &amp;lt;configuration&amp;gt;&#xA;          &amp;lt;allowedControllers hint=&quot;list:AddController&quot;&amp;gt;&#xA;            &amp;lt;allowedController desc=&quot;MyController&quot;&amp;gt;MyNameSpace.MyController ,  MyAssmbly&amp;lt;/allowedController&amp;gt;           &#xA;          &amp;lt;/allowedControllers&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/api&amp;gt;&#xA;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyNameSpace.RegisterWebApiRoutes, MyAssmbly&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="1324" LastEditDate="2017-11-10T08:33:14.130" LastActivityDate="2017-12-12T13:55:31.297" Title="Sitecore webapi No HTTP resource was found that matches the request URI (404)" Tags="|sxa|webapi|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8406" PostTypeId="1" AcceptedAnswerId="8482" CreationDate="2017-11-10T02:26:51.103" Score="1" ViewCount="518" Body="&lt;p&gt;What is the best way to get the best matching pattern card of all of the contacts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can only get the best pattern card of current contact:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var interactionProfile = Tracker.Current.Interaction.Profiles[&quot;Car&quot;];&#xA;if (interactionProfile != null)&#xA;{&#xA;    // load the details about the matching pattern&#xA;    if (interactionProfile.PatternId.HasValue)&#xA;    {&#xA;        Item matchingPattern = Sitecore.Context.Database.GetItem(interactionProfile.PatternId.ToString());&#xA;        if (matchingPattern != null)&#xA;        {&#xA;            //handle your patterns here    &#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can somebody suggest to me the best approach to achieve this?&#xA;I wonder to konw if sitecore has provided API to access contacts information.&#xA;For example engagement value,outcomes,best pattern matchs and so on.If somebody know,Please tell me how to do it,Thank you.&lt;/p&gt;&#xA;" OwnerUserId="2606" LastEditorUserId="2606" LastEditDate="2017-11-15T02:02:09.287" LastActivityDate="2017-11-15T06:56:25.757" Title="Programmatically acquiring the best matching pattern card for all of the contacts" Tags="|experience-profile|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8407" PostTypeId="1" AcceptedAnswerId="8423" CreationDate="2017-11-10T06:52:18.270" Score="2" ViewCount="3545" Body="&lt;p&gt;I'm trying to install Habitat the first time under the instruction from the &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat Wiki page&lt;/a&gt;. I've installed the correct version of the instance and WFFM module, and also have the MongoDB running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when running &lt;code&gt;gulp&lt;/code&gt;, I've encountered an error that none of the unicorn files is synced. Log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[17:20:36] Finished '04-Apply-Xml-Transform' after 1.57 s&#xA;[17:20:36] Starting '05-Sync-Unicorn'...&#xA;Sync-Unicorn: Executing Sync...&#xA;&#xA;&#xA;Sync Unicorn&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;Foundation.Serialization is being synced.&#xA;&#xA;&#xA;Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Feature. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to perform an initial serialization from the control panel?&#xA;&#xA;&#xA;Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Foundation. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to perform an initial serialization from the control panel?&#xA;&#xA;&#xA;Unable to resolve serialized item for included root path master:/sitecore/system/Settings/Project. The item does not exist in Serialization File System Data Store. It has been skipped. Perhaps you need to perform an initial serialization from the control panel?&#xA;&#xA;....similar messages...&#xA;&#xA;Project.Habitat.Website had no root paths included to sync. If you&amp;amp;#39;re only syncing roles, this is expected. Otherwise it indicates that your predicate has no included items and you need to add some.&#xA;&#xA;&#xA;Project.Habitat.Website sync complete: 0 items evaluated, 0 items modified (0 added, 0 updated, 0 recycled) in 4ms (~4.51ms/item).&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;Project.Habitat.Website roles are being synced.&#xA;&#xA;&#xA;Project.Habitat.Website role sync complete.&#xA;&#xA;&#xA;&#xA;&#xA;Project.Habitat.Website users are being synced.&#xA;&#xA;&#xA;Project.Habitat.Website user sync complete.&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;Completed in 290ms.&#xA;&#xA;&#xA;****ERROR OCCURRED****&#xA;&#xA;&#xA;Error: Unicorn Sync to http://habitat.dev.local/unicorn.aspx?verb=Sync&amp;amp;configuration=&amp;amp;skipTransparentConfigs=0 returned an error. &#xA;See the preceding log for details.&#xA;&#xA;Error: At C:\Users\Ben\Projects\Habitat\scripts\Unicorn\Unicorn.psm1:66 char:3&#xA;+         throw &quot;Unicorn $Verb to $url returned an error. See the prece ...&#xA;+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : OperationStopped: (Unicorn Sync to...og for details.:String) [], RuntimeException&#xA;    + FullyQualifiedErrorId : Unicorn Sync to http://habitat.dev.local/unicorn.aspx?verb=Sync&amp;amp;configuration=&amp;amp;skipTransparent &#xA;   Configs=0 returned an error. See the preceding log for details.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It seems like there are no &lt;code&gt;.yml&lt;/code&gt; file to be synced. I've checked the &lt;code&gt;&quot;Data\Unicorn\Unicorn.Users&quot;&lt;/code&gt; folder and all folders are empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help? Thanks :).&lt;/p&gt;&#xA;" OwnerUserId="2676" LastActivityDate="2017-11-10T13:02:51.040" Title="Unicorn sync error when installing Habitat" Tags="|habitat|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8408" PostTypeId="2" ParentId="8391" CreationDate="2017-11-10T07:04:16.573" Score="2" Body="&lt;p&gt;You should never use &lt;code&gt;richtextField.Value&lt;/code&gt; for obtaining content of a rich text field. Sitecore does a lot of processing (e.g. for link processing, media link protection, etc) in &lt;code&gt;renderField&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can execute &lt;code&gt;renderField&lt;/code&gt; pipeline from code by using &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Sitecore.Web.UI.WebControls.FieldRenderer.Render&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;method. You need to pass the item and name of the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case the code will be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string mailBody = FieldRenderer.Render(settingsIte‌​m, Constants.PasswordExpiryFieldNames.MailB‌​ody)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-11-10T07:04:16.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8409" PostTypeId="1" AcceptedAnswerId="8411" CreationDate="2017-11-10T08:23:49.377" Score="5" ViewCount="230" Body="&lt;p&gt;I am using a scheduled job to import some content into Sitecore. Hereby I am inserting inline images into a rich text editor field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I determine the src of the img tags by using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string url = StringUtil.EnsurePrefix('/', MediaManager.GetMediaUrl(mediaItem));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This generates urls like: &lt;code&gt;/sitecore/shell/-/media/a/b/images/x.png&lt;/code&gt;. But these urls don't work at the frontend. How can I generate urls that will work? &lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="73" LastEditDate="2018-02-13T14:30:42.767" LastActivityDate="2018-02-13T14:30:42.767" Title="Creating friendly imageurl in scheduled job" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8411" PostTypeId="2" ParentId="8409" CreationDate="2017-11-10T08:54:32.053" Score="6" Body="&lt;p&gt;From what I understand, your plan is to create a code in your schedule job which will insert image into a Rich Text field. In that case you don't want to insert friendly url there, you want to insert a link that Sitecore will understand.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For media items that kind of link has format:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;src=&quot;-/media/0907324419c54abfa00c6a05e19793dc.ashx&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can check this by inserting an image into a RTE field and switching to HTML view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to generate link like that, use code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MediaUrlOptions shellOptions = MediaUrlOptions.GetShellOptions();&#xA;string mediaUrl = MediaManager.GetMediaUrl(mediaItem, shellOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks to that, if you will try to delete the image from media library, Sitecore will give you a warning that the image is linked from another item. And if you move or rename the image, the link will still work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And similarly, if you plan to insert any item link inside a RTE field, use the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LinkUrlOptions options = new LinkUrlOptions();&#xA;string itemUrl = LinkManager.GetDynamicUrl(selectionItem, options);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It will generate link in the &lt;code&gt;DynamicLink&lt;/code&gt; format:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;˜/link.aspx?_id=0B16893D260041838FAD668AAA551E21&amp;amp;_z=z&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-11-10T09:19:18.067" LastActivityDate="2017-11-10T09:19:18.067" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8412" PostTypeId="2" ParentId="8389" CreationDate="2017-11-10T09:21:25.363" Score="2" Body="&lt;p&gt;The correct process is to upgrade from 8.1 to 9.0 directly and then re-attach the DBs to SQL 2016. The upgrade process is using Sitecore API to install items and is not sensitive to SQL version&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-11-10T09:21:25.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8413" PostTypeId="1" AcceptedAnswerId="8415" CreationDate="2017-11-10T10:21:06.710" Score="8" ViewCount="292" Body="&lt;p&gt;Sitecore provides many different cloud services like Sitecore Managed Cloud, xDB Cloud, Email Cloud, Spam Check, Email Preview, Device Detection, IP Geolocation, App Center UI. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to know what is the status of these services, if there is any incident or a scheduled maintenance. How can I do that?&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-11-10T10:37:53.007" Title="Where can I find the status of the Sitecore Cloud services?" Tags="|cloud|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8414" PostTypeId="2" ParentId="8413" CreationDate="2017-11-10T10:27:54.673" Score="4" Body="&lt;p&gt;as far I know this is the link where you can check status of Sitecore Cloud Services: &lt;a href=&quot;https://status.cloud.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://status.cloud.sitecore.net/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aJb2n.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aJb2n.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-11-10T10:27:54.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8415" PostTypeId="2" ParentId="8413" CreationDate="2017-11-10T10:37:53.007" Score="10" Body="&lt;p&gt;Extending Sitecore Climber answer...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Cloud Status Page is the main source, &lt;a href=&quot;https://status.cloud.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;https://status.cloud.sitecore.net/&lt;/a&gt;.&#xA;It's frequently updated and some of the health checks are done automatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More on this: &lt;a href=&quot;https://community.sitecore.net/general/f/13/t/8346&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/general/f/13/t/8346&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The status page is part of cloud proactive monitoring which includes Status Page and direct e-mails to customers, read more: &lt;a href=&quot;https://kb.sitecore.net/articles/152132&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/152132&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1320" LastActivityDate="2017-11-10T10:37:53.007" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8416" PostTypeId="2" ParentId="3268" CreationDate="2017-11-10T10:40:51.837" Score="2" Body="&lt;p&gt;xDB On-Premise migration to xDB Cloud is officially available as part of the service catalog, so can be simply requested from Sitecore Support:&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/042722&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/042722&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look for &quot;xDB Set Data Import&quot; item.&#xA;Also, check more details at &lt;a href=&quot;https://kb.sitecore.net/articles/861225&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/861225&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1320" LastActivityDate="2017-11-10T10:40:51.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8417" PostTypeId="1" AcceptedAnswerId="8422" CreationDate="2017-11-10T10:41:48.393" Score="8" ViewCount="1062" Body="&lt;p&gt;Hello i have been trying out the new xConnect in Sitecore 9.&#xA;I am now trying to add custom facets to xConnect.&#xA;To deploy these i need to create a json representation of my model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a class library with my facets and CollectionModel. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CollectionModel&#xA;{&#xA;    public static XdbModel Model { get; } = BuildModel();&#xA;&#xA;    private static XdbModel BuildModel()&#xA;    {&#xA;        XdbModelBuilder modelBuilder = new XdbModelBuilder(&quot;DemoModel&quot;, new XdbModelVersion(1, 0));&#xA;        modelBuilder.DefineFacet&amp;lt;Contact, CartInfo&amp;gt;(CartInfo.DefaultFacetKey);&#xA;        modelBuilder.DefineFacet&amp;lt;Interaction, StoreInfo&amp;gt;(StoreInfo.DefaultFacetKey);&#xA;&#xA;        return modelBuilder.BuildModel();&#xA;    }&#xA;}&#xA;&#xA;[Serializable]&#xA;[FacetKey(DefaultFacetKey)]&#xA;class CartInfo : Facet&#xA;{&#xA;    public const string DefaultFacetKey = &quot;CartInfo&quot;;&#xA;    public List&amp;lt;Product&amp;gt; Products { get; set; }&#xA;}&#xA;&#xA;[Serializable]&#xA;[FacetKey(DefaultFacetKey)]&#xA;class Product : Facet&#xA;{&#xA;    public const string DefaultFacetKey = &quot;Product&quot;;&#xA;    public Guid ID { get; set; }&#xA;}&#xA;&#xA;[Serializable]&#xA;[FacetKey(DefaultFacetKey)]&#xA;class StoreInfo : Facet&#xA;{&#xA;    public const string DefaultFacetKey = &quot;StoreInfo&quot;;&#xA;    public Guid StoreID { get; set; }&#xA;    public string ManagerName { get; set; }&#xA;    public List&amp;lt;Product&amp;gt; ActiveOffers { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now i am trying to convert this to json and export it to a file in a console application like so:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var model = Sitecore.XConnect.Serialization.XdbModelWriter.Serialize(CollectionModel.Model);&#xA;File.WriteAllText(CollectionModel.Model.FullName + &quot;.json&quot; , model);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When i run this i get the following error:  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;FileNotFoundException: Could not load file or assembly ‘System.Interactive.Async, Version=3.0.3000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263’ or one of its dependencies. The system cannot find the file specified.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what i am missing?&lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="70" LastEditDate="2017-11-10T15:11:58.477" LastActivityDate="2017-11-10T15:12:19.437" Title="Sitecore xConnect generating a JSON file for my custom model" Tags="|xconnect|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="8419" PostTypeId="2" ParentId="1844" CreationDate="2017-11-10T11:51:05.570" Score="2" Body="&lt;p&gt;Alternative solution is to create custom Map Type. In the custom map type you can implement filter for map tree builder. This way you dont have to disable tracker and loose valuable information, and you dont have to delete historical data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Full description and code is available in the following post: &lt;a href=&quot;https://www.brimit.com/blog/path-analyzer-custom-map-type-ajax-calls-filter&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://brimit.com/blog/path-analyzer-custom-map-type-ajax-calls-fil‌​ter&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Posting again, since its not a comment at all. Its an answer to the initial question.&lt;/p&gt;&#xA;" OwnerUserId="713" LastEditorUserId="106" LastEditDate="2020-01-06T12:18:36.927" LastActivityDate="2020-01-06T12:18:36.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8420" PostTypeId="2" ParentId="8407" CreationDate="2017-11-10T12:44:16.347" Score="0" Body="&lt;p&gt;You need to set up Unicorn configurations. In this configuration you indicate from what paths from Sitecore to sync, and you also define the destination path on disk. Just create a config file. In the example is my Unicorn.Configs.CommonTemplates.config. I use this config for deployment targets, for debug I have a transformation serializing items to a place that's in version control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;?xml version=&quot;1.0&quot;?&amp;gt; &amp;lt;!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --&amp;gt;&#xA;&#xA;&#xA;&#xA; &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;  &#xA;   &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;          &amp;lt;configurations&amp;gt;&#xA;            &amp;lt;configuration name=&quot;CommonTemplates&quot; description=&quot;Sitecore Unicorn configuration for Common Templates&quot;&amp;gt;&#xA;              &amp;lt;targetDataStore physicalRootPath=&quot;/App_Data/sitecore_items/$(configurationName)&quot; useDataCache=&quot;false&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;              &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;                &amp;lt;include name=&quot;Common Templates&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/User Defined/Common&quot; /&amp;gt;&#xA;              &amp;lt;/predicate&amp;gt;&#xA;              &amp;lt;dataProviderConfiguration enableTransparentSync=&quot;false&quot; type=&quot;Unicorn.Data.DataProvider.DefaultUnicornDataProviderConfiguration, Unicorn&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;              &amp;lt;syncConfiguration updateLinkDatabase=&quot;false&quot; updateSearchIndex=&quot;false&quot; maxConcurrency=&quot;1&quot; type=&quot;Unicorn.Loader.DefaultSyncConfiguration, Unicorn&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;/configuration&amp;gt;&#xA;          &amp;lt;/configurations&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;   &#xA;    &amp;lt;/sitecore&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2198" LastActivityDate="2017-11-10T12:44:16.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8422" PostTypeId="2" ParentId="8417" CreationDate="2017-11-10T12:53:46.150" Score="14" Body="&lt;p&gt;After playing around a little i found out that you have to add some references to your Console application. These can all be found in the bin folder of your xConnect or Sitecore project: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Newtonsoft.Json.dll  &lt;/li&gt;&#xA;&lt;li&gt;Sitecore.XConnect.dll  &lt;/li&gt;&#xA;&lt;li&gt;Sitecore.XConnect.Search.dll  &lt;/li&gt;&#xA;&lt;li&gt;System.Interactive.Async.dll  &lt;/li&gt;&#xA;&lt;li&gt;System.Interactive.Async.Providers.dll  &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This guide describes the creation and deployment of custom xConnect models very well:&lt;br&gt;&#xA;&lt;a href=&quot;https://citizensitecore.com/2017/10/17/xconnect-adding-custom-facets-in-sitecore-9/comment-page-1/#comment-323&quot; rel=&quot;noreferrer&quot;&gt;https://citizensitecore.com/2017/10/17/xconnect-adding-custom-facets-in-sitecore-9/comment-page-1/#comment-323&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="70" LastEditDate="2017-11-10T15:12:19.437" LastActivityDate="2017-11-10T15:12:19.437" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8423" PostTypeId="2" ParentId="8407" CreationDate="2017-11-10T13:02:51.040" Score="3" Body="&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Project/Habitat/code/App_Config/Include/Project/z.Habitat.DevSettings.config#L4&quot; rel=&quot;nofollow noreferrer&quot;&gt;This&lt;/a&gt; line in the z.Habitat.DevSettings config file, tells Unicorn where your serialization yml files are. Please make sure that the path is correct to the src folder of your github files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just so I don't have a link answer, the line in question is the variable &lt;code&gt;sourceFolder&lt;/code&gt; in the xml below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also make sure this file is located at &lt;code&gt;/App_Config/Include/Project/z.Habitat.DevSettings.config&lt;/code&gt; in your website.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;C:\projects\Habitat\src&quot; /&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;rootHostName&quot; value=&quot;dev.local&quot; /&amp;gt;&#xA;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;habitat&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;database&quot;&amp;gt;master&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Sitecore.Foundation.Installer.RestoreMongo&quot; value=&quot;false&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-11-10T13:02:51.040" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8424" PostTypeId="2" ParentId="396" CreationDate="2017-11-10T15:20:09.753" Score="0" Body="&lt;p&gt;You just need to hide the item - to hide an item do this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kGZUy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kGZUy.png&quot; alt=&quot;hide image&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So basically give the item read access as you have done, but then mark the top item you want hidden as hidden&lt;/p&gt;&#xA;" OwnerUserId="2677" LastEditorUserId="2677" LastEditDate="2017-11-12T20:54:56.920" LastActivityDate="2017-11-12T20:54:56.920" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8425" PostTypeId="1" CreationDate="2017-11-10T15:25:05.687" Score="7" ViewCount="2308" Body="&lt;p&gt;I'm attempting to import one of the JSS &lt;a href=&quot;https://github.com/Sitecore/jss&quot; rel=&quot;nofollow noreferrer&quot;&gt;sample applications&lt;/a&gt; and I'm getting the following error after running the &lt;code&gt;npm run package&lt;/code&gt; command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Fatal error occurred while running import process.&#xA;Exception: Sitecore.Install.Utils.InstallationException&#xA;Message: Could not find JSS app configuration for 'JssAdvancedApp'. Ensure you have included or previously installed a configuration patch for the app.&#xA;Source: Sitecore.JavaScriptServices.AppServices&#xA;    at Sitecore.JavaScriptServices.AppServices.UpdatePackage.PostInstallImportApp.DoRun(ILog logger, NameValueCollection metadata)&#xA;    at Sitecore.JavaScriptServices.AppServices.UpdatePackage.PostInstallImportApp.Run(ILog logger, NameValueCollection metadata)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What am I missing here? What's an app configuration?&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2017-11-10T16:53:50.810" LastActivityDate="2020-10-14T13:06:29.230" Title="&quot;Could not find JSS app configuration&quot; error during JSS import" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8426" PostTypeId="2" ParentId="8425" CreationDate="2017-11-10T15:25:05.687" Score="8" Body="&lt;p&gt;In order to import a JSS application using the code-first approach, or to utilize server-side rendering for either a code-first or Sitecore-first JSS application, you need to first &lt;a href=&quot;https://jss.sitecore.net/#/sitecore-net-dev?id=app-configuration&quot; rel=&quot;noreferrer&quot;&gt;create an app configuration&lt;/a&gt; using a Sitecore &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/using_patch_files_to_customize_the_sitecore_configuration&quot; rel=&quot;noreferrer&quot;&gt;configuration patch&lt;/a&gt;. There is an example minimal app configuration patch installed with JSS at&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;\App_Config\Sitecore\JavaScriptServices\Sitecore.JavaScriptServices.ExampleApp.config.example&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The App Configuration documentation linked above provides information on all the available attributes for your app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the sample apps, this is actually even easier, as a configuration patch is provided for you. Assuming you provided the correct web root path during &lt;code&gt;npm run setup&lt;/code&gt; (check &lt;code&gt;scjssconfig.json&lt;/code&gt;), simply execute&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm run config:deploy&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;... and the config patch will be copied to your Sitecore instance.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2017-11-10T15:25:05.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8427" PostTypeId="5" CreationDate="2017-11-10T15:26:20.947" Score="0" Body="&lt;p&gt;JSS is a complete SDK for JavaScript developers allowing to build full-fledged solutions using Sitecore and modern JavaScript UI libraries and frameworks (React.js and Angular). You can develop by being completely disconnected from Sitecore and get started without a Sitecore install. And deploy apps in physically decoupled way (&quot;headless&quot;) to any platform and virtually to any cloud with full Sitecore Experience Platform capability preserved, including Experience Editor, Personalization, MV testing and Tracking / Analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.net/#/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/#/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/jss&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/jss&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-15T18:51:19.293" LastActivityDate="2018-02-15T18:51:19.293" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8428" PostTypeId="4" CreationDate="2017-11-10T15:26:20.947" Score="0" Body="For questions about the Sitecore JavaScriptServices module and JSS CLI." OwnerUserId="248" LastEditorUserId="6591" LastEditDate="2022-12-27T15:51:36.933" LastActivityDate="2022-12-27T15:51:36.933" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8429" PostTypeId="1" AcceptedAnswerId="11897" CreationDate="2017-11-10T15:40:48.780" Score="6" ViewCount="858" Body="&lt;p&gt;I'm trying to output an editable field in a component of my React-based Sitecore JSS application:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import React from 'react';&#xA;import PropTypes from 'prop-types';&#xA;&#xA;const AwesomeComponent = ({ fields }) =&amp;gt; {&#xA;    return &amp;lt;div&amp;gt;{fields.title.editable} is awesome!&amp;lt;/div&amp;gt;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However when I add the component to a route and open it in the Experience Editor, I don't see an editable field, just some markup:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7gr65.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7gr65.png&quot; alt=&quot;Experience Editor markup&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-05-21T15:29:16.163" Title="Seeing Experience Editor markup instead of an editable field when using Sitecore JSS with React" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8430" PostTypeId="2" ParentId="8429" CreationDate="2017-11-10T15:40:48.780" Score="9" Body="&lt;p&gt;For your own safety, React will automatically escape HTML in any rendered output. Since Sitecore provides its own markup for the Experience Editor, you need to use the &lt;a href=&quot;https://reactjs.org/docs/dom-elements.html#dangerouslysetinnerhtml&quot; rel=&quot;noreferrer&quot;&gt;&lt;code&gt;dangerouslySetInnerHTML&lt;/code&gt;&lt;/a&gt; attribute to disable this behavior.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const AwesomeComponent = ({ fields }) =&amp;gt; {&#xA;    return &amp;lt;div&amp;gt;&#xA;        &amp;lt;span dangerouslySetInnerHTML={{__html: fields.title.editable}} /&amp;gt; is awesome!&#xA;    &amp;lt;/div&amp;gt;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastActivityDate="2017-11-10T15:40:48.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8431" PostTypeId="2" ParentId="8225" CreationDate="2017-11-10T16:37:34.453" Score="0" Body="&lt;p&gt;The fix for this may depend on the role of your server.  Do you have a distributed Sitecore install (CM + CD servers as separate roles)?  Because if this is a single instance server, you should delete that config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll want to reference the config file Enable Disable spreadsheet (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/server_configuration_resources&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/server_configuration_resources&lt;/a&gt;).&lt;/p&gt;&#xA;" OwnerUserId="2639" LastActivityDate="2017-11-10T16:37:34.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8432" PostTypeId="1" CreationDate="2017-11-10T19:26:39.107" Score="1" ViewCount="4618" Body="&lt;p&gt;I have a Droplink field and I am trying to set the data source in the templates. &#xA;What I want to do is set the data source by id instead of path and also add a filter by templates&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example &#xA;&lt;code&gt;query:/sitecore/content/sites/home/content/products/*[@@templateid='{4B8840D7-C56C-440F-B97E-973B6860B206}']&lt;/code&gt; &#xA;&lt;br&gt; This Works. &#xA;But, I don't want to give the path of &quot;&lt;strong&gt;products&lt;/strong&gt;&quot; but it's item id because the path can change later. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So i tried &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;datasource={B343ACC6-591C-4E67-8538-D73D87FEE998}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and this works. but not sure how to add template filter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i tried &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;datasource={B343ACC6-591C-4E67-8538-D73D87FEE998}/*[@@templateid = '{4B8840D7-C56C-440F-B97E-973B6860B206}']&lt;/code&gt; &#xA;&lt;br&gt; and other different combinations. Doesn't work. &lt;/p&gt;&#xA;" OwnerUserId="2396" LastActivityDate="2017-11-11T10:22:17.773" Title="Setting up Datasource in templates" Tags="|sitecore-client|sitecore-query|datasource|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8433" PostTypeId="2" ParentId="8342" CreationDate="2017-11-10T21:31:49.697" Score="0" Body="&lt;p&gt;I uninstalled and reinstalled my solr instance and things started to work as expected using the code provided by @ArtsemPrashkovich's answer without the &lt;code&gt;_sm&lt;/code&gt; suffix. I was running version 6.5 and switched it to be 5.1. According to the compatibility chart solr 6.5 was not supported by default for the version of Sitecore I was using: &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="172" LastEditDate="2021-05-05T20:03:14.893" LastActivityDate="2021-05-05T20:03:14.893" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8434" PostTypeId="2" ParentId="8432" CreationDate="2017-11-10T21:56:54.740" Score="1" Body="&lt;p&gt;I would add the Template Filter on the Datasource almost in the same way you are doing &#xA;But I would put the ID, on the Standard values(not on the data source on the template) or on the item itself, I believe this would solve your issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To learn more about how to Restrict the item by template I would recommend the following link&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/24952880/sitecore-restrict-item-by-data-template-type-on-a-field&quot;&gt;https://stackoverflow.com/questions/24952880/sitecore-restrict-item-by-data-template-type-on-a-field&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="998" LastActivityDate="2017-11-10T21:56:54.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8435" PostTypeId="1" CreationDate="2017-11-11T03:27:26.867" Score="4" ViewCount="325" Body="&lt;p&gt;I suppose one should take the name of the switch at &quot;face value&quot;, but it's difficult when there's &lt;em&gt;already&lt;/em&gt; a &lt;code&gt;PublishMode&lt;/code&gt; parameter which defines how the command is intended to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I guess more specifically, if I invoke the following command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Publish-Item master:/sitecore/content/Home -Recurse -PublishMode Full&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How is it different from the following command?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Publish-Item master:/sitecore/content/Home -Recurse -PublishMode Full -RepublishAll&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2487" LastActivityDate="2017-11-11T11:22:11.983" Title="What does the RepublishAll switch do in the SPE Publish-Item command?" Tags="|publishing|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8436" PostTypeId="2" ParentId="8432" CreationDate="2017-11-11T10:22:17.773" Score="2" Body="&lt;p&gt;The DropLink does not support a &quot;Parameterized Datasource&quot; where you could use parameters like &lt;em&gt;Datasource&lt;/em&gt; and &lt;em&gt;IncludeTemplatesForDisplay&lt;/em&gt;.&#xA;But with using the query syntax, it should be possible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could try it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query://*[@@id = '{B343ACC6-591C-4E67-8538-D73D87FEE998}']/*[@@templateid='{4B8840D7-C56C-440F-B97E-973B6860B206}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;as &lt;code&gt;query://*[@@id = '{...}']&lt;/code&gt; searches through the entire content tree and returns an Item with the mentioned ID.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-11-11T10:22:17.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8437" PostTypeId="1" AcceptedAnswerId="8439" CreationDate="2017-11-11T10:38:17.290" Score="9" ViewCount="2201" Body="&lt;p&gt;I am unable to find the local media cache folder in azure apps, as per the configuration in the Sitecore.config it supposed to be in the Media cache folder under App_data:&#xA;  &#xA;I checked in the Temp folder, upload folder, App_Data folder, but didn’t find.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LheWK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LheWK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thought or suggestion?&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2017-11-11T15:08:38.320" Title="Where is the location of local sitecore media cache folder in Azure Web Apps?" Tags="|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8438" PostTypeId="2" ParentId="8435" CreationDate="2017-11-11T11:22:11.983" Score="2" Body="&lt;p&gt;&lt;code&gt;PublishItemCommand&lt;/code&gt; passes this parameter to &lt;code&gt;PublishOptions&lt;/code&gt; which are used while publishing.&lt;/p&gt;&#xA;&lt;p&gt;And &lt;code&gt;PublishOptions.RepublishAll&lt;/code&gt;, according to Sitecore documentation:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Gets a value indicating whether all data in all languages will be published.&lt;/p&gt;&#xA;&lt;p&gt;This is a special mode of publishing used for completely rebuilding a web database.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;true&lt;/code&gt; if all languages will be published; otherwise, &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-11-11T11:22:11.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8439" PostTypeId="2" ParentId="8437" CreationDate="2017-11-11T15:08:38.320" Score="8" Body="&lt;p&gt;The folders (d:\local\MediaCache and d:\local\temp) are there, but Kudu tools appear to look at a different instance of 'D:\local', and they do not see the files and directories created by Sitecore. It looks like Kudu tools are running in a different but linked sandbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could use the attached example code (showmediacachefolder.aspx) to examine D:\local that is visible by Sitecore and confirm that the folders and files are indeed created.&#xA;To use showmediacachefolder.aspx page, please copy below code to showmediacachefolder.aspx file to you wwwroot folder of your CM instance and access it by /showmediacachefolder.aspx &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;    private void Scan(string path) {&#xA;        Response.Write(&quot;&amp;lt;li&amp;gt;&quot;);&#xA;        Response.Write(System.IO.Path.GetFileName(path));&#xA;        Response.Write(&quot;&amp;lt;/li&amp;gt;&quot;);&#xA;&#xA;        if (new [] { &quot;local&quot;, &quot;Temp&quot;, &quot;MediaCache&quot; }.Contains(System.IO.Path.GetFileName(path))) {&#xA;            Response.Write(&quot;&amp;lt;ul&amp;gt;&quot;);&#xA;            foreach (var directory in System.IO.Directory.GetDirectories(path)) {&#xA;                Scan(directory);&#xA;            }&#xA;            int count = 0;&#xA;            foreach (var file in System.IO.Directory.GetFiles(path)) {&#xA;                if (++count &amp;gt; 10) {&#xA;                    Response.Write(&quot;&amp;lt;li&amp;gt;...&amp;lt;/li&amp;gt;&quot;);&#xA;                    break;&#xA;                }&#xA;                Response.Write(&quot;&amp;lt;li&amp;gt;&amp;lt;i&amp;gt;&quot;);&#xA;                Response.Write(System.IO.Path.GetFileName(file));&#xA;                Response.Write(&quot;&amp;lt;/i&amp;gt;&amp;lt;/li&amp;gt;&quot;);&#xA;            }&#xA;            Response.Write(&quot;&amp;lt;/ul&amp;gt;&quot;);&#xA;        }&#xA;    }&#xA;&amp;lt;/script&amp;gt;&#xA;&#xA;&amp;lt;ul&amp;gt;&#xA;&amp;lt;%  &#xA;    Scan(@&quot;D:\local&quot;);&#xA;%&amp;gt;&#xA;&amp;lt;/ul&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-11-11T15:08:38.320" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8441" PostTypeId="1" AcceptedAnswerId="8455" CreationDate="2017-11-11T23:26:34.133" Score="6" ViewCount="588" Body="&lt;p&gt;Is there a way to patch xConnect, AutomationEngine, IndexWorker configuration in a way we do it for sitecore instance?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I.e. configuration that resides in xConnect instance folders:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;\App_data\config\sitecore&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;\App_data\jobs\continuous\AutomationEngine\App_Data\Config\sitecore&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;\App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;where configuration is xml based rather then .config&lt;/p&gt;&#xA;" OwnerUserId="713" LastActivityDate="2017-11-12T21:56:13.000" Title="Patching xConnect, AutomationEngine, IndexWorker configuration" Tags="|configuration|xconnect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8443" PostTypeId="1" AcceptedAnswerId="8448" CreationDate="2017-11-12T02:47:35.483" Score="5" ViewCount="1195" Body="&lt;p&gt;I have a requirement to get Contact data from a Registration page and save that data into a List Manager in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed the below approach.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//Create ListManager Object&#xA;var listManager = (ListManager)Factory.CreateObject(&quot;contactListManager&quot;, true);&#xA;&#xA;//Find ListManager by Id so that later I can associate a contact to it.&#xA;var list = listManager.FindById(&quot;{5A144595-1EDD-4109-A271-25CB13E83503}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But while finding the listmanager by id I am getting &lt;code&gt;Duplicate Ids Not allowed&lt;/code&gt; error. (I am taking Id from Sitecore Item)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I searched in almost all sites for resolving this issue but could not find a solution. Appreciate any help on this.&lt;/p&gt;&#xA;" OwnerUserId="2680" LastEditorUserId="73" LastEditDate="2017-11-12T09:35:29.893" LastActivityDate="2017-11-13T21:24:01.130" Title="Get List of Contacts in a ListManager and associate one more contact to it" Tags="|sitecore-api|list-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8445" PostTypeId="1" CreationDate="2017-11-12T05:01:38.933" Score="1" ViewCount="461" Body="&lt;p&gt;We had production outage on 11/7/2017 and accordingly I registered a ticket with sitecore support team and provided memory dump. Based on memory dump files here is their response:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All three memory dump files indicate the same problem. A lot of requests are stuck trying to acquire a lock: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Threading.Monitor.Enter(System.Object)&#xA;Glass.Mapper.IoC.AbstractConfigFactory`1[[System.__Canon, mscorlib]].GetItems()&#xA;Glass.Mapper.AbstractService..ctor(Glass.Mapper.Context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The strange thing is that none of these memory dump files contain a thread that owns the lock.I recommend to contact GlassMapper developer team.Maybe they can explain why all threads are waiting to acquire a lock even though it is free. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone face this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 11/15/2017 : Error message during outage&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1380 11:13:47 INFO  [Brandify] GetNearestRestaurants Time elapsed: 146ms.&#xA;4680 11:13:47 ERROR System.OperationCanceledException: The operation was canceled.&#xA;    at System.Threading.CancellationToken.ThrowOperationCanceledException()&#xA;       at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)&#xA;       at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="1349" LastEditDate="2017-11-15T22:21:17.293" LastActivityDate="2017-11-15T22:32:33.327" Title="Threading / Lock issue in Sitecore 8.1" Tags="|glass-mapper|" AnswerCount="0" CommentCount="9" ClosedDate="2017-11-20T14:29:57.370" ContentLicense="CC BY-SA 3.0" />
  <row Id="8446" PostTypeId="2" ParentId="8402" CreationDate="2017-11-12T05:13:19.280" Score="1" Body="&lt;p&gt;You might try regist before different pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example as shown in below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;initialize&amp;gt;&#xA;      &amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot;&#xA;type=&quot;LaubPlusCo.Examples.RegisterHttpRoutes, LaubPlusCo.Examples&quot; /&amp;gt;&#xA;    &amp;lt;/initialize&amp;gt;&#xA;  &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More details you can find here &lt;a href=&quot;https://laubplusco.net/implementing-webapi-service-using-servicesapicontroller-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://laubplusco.net/implementing-webapi-service-using-servicesapicontroller-sitecore-8/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2681" LastEditorUserId="104" LastEditDate="2017-11-12T13:18:12.107" LastActivityDate="2017-11-12T13:18:12.107" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8447" PostTypeId="1" CreationDate="2017-11-12T08:57:09.033" Score="2" ViewCount="88" Body="&lt;p&gt;I am syncing a significant amount of data into Sitecore from external systems on a fairly regular basis. To do this, I am utilizing the Sitecore ItemService.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem I'm currently facing is that publishing and indexing is being kicked off for every item being updated or created. I'm not sure, if it's affecting performance of the updates, but I'd really like to be able to run them once the syncing is complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do know about using &lt;code&gt;Sitecore.Data.BulkUpdateContext&lt;/code&gt; to limit the publishing and indexing of items, but I don't know, if there is anything similar available for use with the ItemService.&lt;/p&gt;&#xA;" OwnerUserId="2678" LastEditorUserId="2727" LastEditDate="2018-02-07T12:59:39.973" LastActivityDate="2018-02-07T12:59:39.973" Title="Is there any way to delay publishing and indexing when updating or creating items with the ItemService?" Tags="|indexing|sitecore-services-client|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8448" PostTypeId="2" ParentId="8443" CreationDate="2017-11-12T09:14:59.057" Score="3" Body="&lt;p&gt;Here is a blog post describing what you need:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-add-contact-to-a-contact-list&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore - proper way of adding contacts to contact lists&#xA;  &lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You should reference &lt;code&gt;Sitecore.EmailCampaign.dll&lt;/code&gt; and use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Modules.EmailCampaign.ClientApi.UpdateSubscriptions&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to fill &lt;code&gt;email&lt;/code&gt;, &lt;code&gt;firstname&lt;/code&gt; and &lt;code&gt;lastname&lt;/code&gt; of your contact first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So your code can look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string managerRoot = ID_OF_THE_ITEM /sitecore/content/Email Campaign;&#xA;string contactList = &quot;{697E3130-0BEF-4DD7-C8EB-C165D70D604A}&quot;;&#xA;&#xA;if (!Sitecore.Analytics.Tracker.IsActive)&#xA;    Sitecore.Analytics.Tracker.StartTracking();&#xA;&#xA;var currentContact = Sitecore.Analytics.Tracker.Current.Contact;&#xA;&#xA;var personal = currentContact.GetFacet&amp;lt;Sitecore.Analytics.Model.Entities.IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;&#xA;personal.FirstName = SOME_FIRST_NAME;&#xA;personal.Surname = SOME_LAST_NAME;&#xA;&#xA;var emailAddresses = currentContact.GetFacet&amp;lt;Sitecore.Analytics.Model.Entities.IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;if (!emailAddresses.Entries.Contains(&quot;Email&quot;))&#xA;{&#xA;    emailAddresses.Entries.Create(&quot;Email&quot;);&#xA;}&#xA;&#xA;var email = emailAddresses.Entries[&quot;Email&quot;];&#xA;email.SmtpAddress = SOME_EMAIL_ADDRESS;&#xA;emailAddresses.Preferred = &quot;Email&quot;;&#xA;&#xA;var recipientId = new Sitecore.Modules.EmailCampaign.Xdb.XdbContactId(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;Sitecore.Modules.EmailCampaign.ClientApi.UpdateSubscriptions(recipientId, new[] { contactList }, new string[] { }, managerRoot, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More information can be found here &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/subscription_management/the_exm_client_api&quot; rel=&quot;nofollow noreferrer&quot;&gt;The Email Experience Manager Client API&#xA;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should not use &lt;code&gt;contact.Tags.Set&lt;/code&gt; and &lt;code&gt;contact.Tags.Remove&lt;/code&gt; for adding contact to a contact list. This can cause problems with list locking and list recipients count not being updated correctly.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-11-13T21:24:01.130" LastActivityDate="2017-11-13T21:24:01.130" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="8449" PostTypeId="1" CreationDate="2017-11-12T16:00:11.167" Score="2" ViewCount="155" Body="&lt;p&gt;I am using Item Query to get featured Items using Isfeatured field in template, so my query like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+template:{A0ABC519-3848-4930-965A-90F9F1B7F319};custom:isfeatured|true;language:english&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is working correctly in the English language but in arabic language it is not returning featured data &lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+template:{A0ABC519-3848-4930-965A-90F9F1B7F319};custom:isfeatured|true;language:arabic_u.a.e.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I removed this from the query &lt;code&gt;custom:isfeatured|true;&lt;/code&gt;, it returns all the items in the Arabic language correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Suggestions?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="95" LastEditDate="2017-11-13T03:46:34.813" LastActivityDate="2017-11-13T03:46:34.813" Title="Item Query not returning results when search with custom field in Arabic language" Tags="|sitecore-query|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8450" PostTypeId="1" AcceptedAnswerId="8453" CreationDate="2017-11-12T18:48:42.943" Score="4" ViewCount="1164" Body="&lt;p&gt;I am trying to install Sitecore XP9 by following the installation guide as described in &lt;strong&gt;Chapter 5&lt;/strong&gt; of the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Experience Platform Installation Guide&lt;/a&gt;. After creating a Powershell script as described in &lt;strong&gt;section 5.2.1&lt;/strong&gt;, when I run it, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EQ7sR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EQ7sR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had previously installed &lt;strong&gt;Solr 6.6.1&lt;/strong&gt; with an SSL self-signed certificate according to the following links:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/installing-solr.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/installing-solr.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This instance is up and running as displayed in the image below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LyHnX.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LyHnX.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't have the slightest idea of what is going on. Anyone?&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2017-11-13T08:50:41.180" Title="Why is SIF failing to create Solr core?" Tags="|solr|sitecore-install-framework|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8451" PostTypeId="2" ParentId="1211" CreationDate="2017-11-12T19:11:39.247" Score="2" Body="&lt;p&gt;I had the same issue, resolved by starting the service Solr 6.6.2 manually. FYI, I am using windows 10.&lt;a href=&quot;https://i.stack.imgur.com/ilkit.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ilkit.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2682" LastActivityDate="2017-11-12T19:11:39.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8452" PostTypeId="2" ParentId="8450" CreationDate="2017-11-12T19:15:39.047" Score="1" Body="&lt;p&gt;Judging from the screenshot, you are missing a self-signed certificate. When the certificate is correctly installed, Chrome considers Solr admin page as &quot;Secured&quot; as opposed to &quot;Not secure&quot; that you're having at the moment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is already a number of powershell scripts prepared by the community that automate Solr installation and https setup. This &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8091/configuring-ssl-for-solr&quot;&gt;question&lt;/a&gt; mentions at least 2 scripts.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-11-12T19:15:39.047" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8453" PostTypeId="2" ParentId="8450" CreationDate="2017-11-12T19:56:01.007" Score="4" Body="&lt;p&gt;Your SOLR instance is not secure. I recommend you install Solr 6.6.2, it works better than 6.6.1.&lt;/p&gt;&#xA;&lt;p&gt;To make your solr instance secure please follow these steps:&lt;/p&gt;&#xA;&lt;p&gt;Using the JDK Keytool command we can create self-signed certificates to be used by the SOLR instance. For the following steps, the following variables are used.&lt;/p&gt;&#xA;&lt;p&gt;You should replace these variables with your applicable path when typing out the commands.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;{JAVA_HOME}&lt;/strong&gt; : The path where you have Java installed (e.g.C:\Program Files (x86)\jre1.8.0_131)&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;{SOLR_HOME}&lt;/strong&gt; : The path where you have Solr installed (e.g. C:\solr\solr-6.6.2)&lt;/p&gt;&#xA;&lt;p&gt;NOTE: The following steps are based on instructions provided by Apache (&lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&lt;/a&gt;) with alterations that I used to simplify the flow:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Open command prompt&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Change to the Solr 'etc' directory:&#xA;cd &amp;quot;{SOLR_HOME}\server\etc&amp;quot;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Execute the keygentool command&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&amp;quot;{JAVA_HOME}\bin\keytool.exe&amp;quot; -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass secret -storepass secret -validity 9999 -keystore solr-ssl.keystore.jks -ext SAN=DNS:localhost,IP:127.0.0.1 -dname &amp;quot;CN=localhost, OU=Organizational Unit, O=Organization, L=Location, ST=State, C=Country&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;This will generate the keystore with a password of 'secret' as valid for localhost and 127.0.0.1. You can add other DNS and IPs as desired, or skip hostname verification. See full instructions at: &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Convert generated JKS to PKCS12&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;{JAVA_HOME}\bin\keytool.exe&amp;quot; -importkeystore -srckeystore solr-ssl.keystore.jks -destkeystore solr-ssl.keystore.p12 -srcstoretype jks -deststoretype pkcs12&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Enter password when prompted. The password &lt;code&gt;secret&lt;/code&gt; was used in the previous step. Remember to use your password instead if you changed it in the keygen command parameters.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open Windows Explorer and navigate to the 'etc' directory (&amp;quot;{SOLR_HOME}\server\etc&amp;quot;)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Double-click on the generated 'p12' file (solr-ssl.keystore.p12 if you used the default parameters from the previous steps)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the dialog, specify the following values:&#xA;Store Location: Local Machine&#xA;File name: Leave as provided&#xA;Password: secret&#xA;Certificate Store: Trusted Root Certification Authorities&#xA;Remember to use your password instead if you changed it during the previous steps.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the solr.in.cmd file for editing (e.g. {SOLR_HOME}\bin\solr.in.cmd)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Edit the SSL settings:&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks&lt;/p&gt;&#xA;&lt;p&gt;set SOLR_SSL_KEY_STORE_PASSWORD=secret&lt;/p&gt;&#xA;&lt;p&gt;set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks&lt;/p&gt;&#xA;&lt;p&gt;set SOLR_SSL_TRUST_STORE_PASSWORD=secret&lt;/p&gt;&#xA;&lt;p&gt;set SOLR_SSL_NEED_CLIENT_AUTH=false&lt;/p&gt;&#xA;&lt;p&gt;set SOLR_SSL_WANT_CLIENT_AUTH=false&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Remember to update passwords and file paths to match to the parameters you specified.&lt;/p&gt;&#xA;&lt;ol start=&quot;11&quot;&gt;&#xA;&lt;li&gt;Restart SOLR to pick up the changes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-11-13T08:50:41.180" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8454" PostTypeId="1" CreationDate="2017-11-12T20:44:41.377" Score="5" ViewCount="228" Body="&lt;p&gt;We are set to release a large Sitecore-based system in a week.  Presently the CI/CD process works by effectively republishing &lt;em&gt;everything&lt;/em&gt; from a &lt;code&gt;git&lt;/code&gt; repository as the source (we use TDS for day-to-day development merging and update package generation).  It does this by following these steps, implemented as Powershell scripts calling into SPE:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Wipe both &lt;code&gt;master&lt;/code&gt; and &lt;code&gt;web&lt;/code&gt; databases (recursive &lt;code&gt;Remove-Item&lt;/code&gt;);&lt;/li&gt;&#xA;&lt;li&gt;Install two update packages (templates and content), using &lt;code&gt;UpdateInstallationWizard.aspx&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;Publish all items (recursive &lt;code&gt;Publish-Item&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The whole process takes in the region of 2.5 hours to complete (we are using Sitecore 8.1, update 3).  The problem is that once live, we cannot afford to have downtime--perhaps a little downtime (minutes) is acceptable, early in the morning, but hours is something that the business have said they are not willing to accept.  Step 1 above essentially guarantees that the site will be down for a significant amount of time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our current &quot;best&quot; solution, given the short time we have is to simply do away with step 1 above, and just install the update packages (electing to overwrite items if they already exist).  &lt;em&gt;In theory&lt;/em&gt;, since typically we don't expect there to be many changes from deploy to deploy, we would at least be able to create the impression that the site is not down during the deploy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem with our proposed short-term fix is that we can't be sure that an &quot;overwite&quot; won't break things (due to potential loss of item relationship integrity).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In following the &quot;overwrite&quot; approach, will the inter-item relationship integrity be maintained?  I am aware of the fact that there will be orphan items and/or item graphs, but that should be okay, at least in the short term, since I am not expecting the stale items to influence the functionality of the site.&lt;/p&gt;&#xA;" OwnerUserId="2487" LastEditorUserId="2487" LastEditDate="2017-11-12T22:56:44.483" LastActivityDate="2017-11-12T22:56:44.483" Title="CI/CD Sitecore challenge: going from &quot;wipe&quot; to &quot;overwrite&quot;" Tags="|powershell-extensions|tds|continuous-integration|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="8455" PostTypeId="2" ParentId="8441" CreationDate="2017-11-12T21:56:13.000" Score="11" Body="&lt;p&gt;You should be able to patch xml configuration files in the following way:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create patch config file with the name: &lt;em&gt;sc.(patch name).xml&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add the actual settings to patch:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;e.g. patch &lt;em&gt;IndexAnonymousContactData&lt;/em&gt; setting&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;XConnect&amp;gt;&#xA;        &amp;lt;SearchIndexer&amp;gt;&#xA;            &amp;lt;Services&amp;gt;&#xA;                &amp;lt;IndexerSettings&amp;gt;&#xA;                    &amp;lt;Options&amp;gt;&#xA;                        &amp;lt;IndexAnonymousContactData&amp;gt;true&amp;lt;/IndexAnonymousContactData&amp;gt;&#xA;                    &amp;lt;/Options&amp;gt;&#xA;                &amp;lt;/IndexerSettings&amp;gt;&#xA;            &amp;lt;/Services&amp;gt;&#xA;        &amp;lt;/SearchIndexer&amp;gt;&#xA;    &amp;lt;/XConnect&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Patches are applied in alphabetical order, so the patch file has to reside in a folder that goes after the folder which is being patched, i.e. after &lt;em&gt;SearchIndexer&lt;/em&gt; folder, for example you could use folder called &lt;em&gt;SearchIndexer_patch&lt;/em&gt;. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-11-12T21:56:13.000" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8456" PostTypeId="1" CreationDate="2017-11-13T09:20:19.200" Score="2" ViewCount="215" Body="&lt;p&gt;I am building an editor for the Sitecore client.  However when I load this editor in the content editor, it shows the error &lt;code&gt;Application access denied&lt;/code&gt;.  I am currently logged in as an administrator.  After researching the issue, I found many had this issue after upgrading with Sitecore editors, but I couldn't find anything about this issue related to those building custom editors.  I assume its related to &lt;code&gt;read&lt;/code&gt; permissions are needed for my editor, which I tried to apply but that didn't seem to work, so I must still be missing something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AFeIL.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AFeIL.jpg&quot; alt=&quot;Application access denied.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone describe the steps needed to allow a custom built editor for the content editor to be configured correctly, so it'll have the correct permissions.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2017-11-14T01:35:17.430" LastActivityDate="2017-11-14T01:35:17.430" Title="Application access denied - Custom Editor for Sitecore Client" Tags="|sitecore-client|security|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8457" PostTypeId="1" AcceptedAnswerId="8459" CreationDate="2017-11-13T09:45:33.250" Score="7" ViewCount="3096" Body="&lt;p&gt;In the latest steps, SIF installation process fails because it tries to start the website, but it gets the error below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Invoke-ManageWebsiteTask : The process cannot access the file because&#xA;  it is being used by another process. (Exception from HRESULT:&#xA;  0x80070020)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have tried to start the website manually through IIS Manager, but it gives me the same error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9T6GT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9T6GT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find below the screenshot of the Powershell script execution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/r4xmu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/r4xmu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any idea of what is going on?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update: How I got it fixed?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Firstly, thanks, @artsem-prashkovich and @viet-hoang for the suggestions. You've helped me to figure it out. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, find below the steps that I did to get it working:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Restart OS&lt;/li&gt;&#xA;&lt;li&gt;Stop &quot;Sitecore Marketing Automation Engine&quot; and &quot;Sitecore XConnect Search Indexer&quot; services.&lt;/li&gt;&#xA;&lt;li&gt;Manually delete the created users from the following databases _Processing.Pools; _MarketingAutomation; _ReferenceData. Each database has its own user: poolsuser, marketing automation user, referencedatauser&lt;/li&gt;&#xA;&lt;li&gt;Re-run the Powershell installation script&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Voila!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3tSuE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3tSuE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2017-11-13T15:00:37.847" LastActivityDate="2019-03-05T02:37:59.137" Title="SIF installation process fails because it cannot start website" Tags="|installation|sitecore-install-framework|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8458" PostTypeId="2" ParentId="8406" CreationDate="2017-11-13T09:56:34.440" Score="0" Body="&lt;p&gt;I get the contacts data about best pattern card by visit mongodb directly.&#xA;I haven't used mongodb before,so I have to spend lots of time to learn it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;version:&#xA;Sitecore 8.2 rev. 160729&#xA;sitecore 8.2 used mongodb driver(MongoDB.Driver.dll and MongoDB.Bson.dll version 1.10.0.62)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;It is very important to notice your version of MongoDB because there are many different method for different version .Maybe some of them aren't available.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var client = new MongoClient(&quot;mongodb://localhost:27017&quot;);//database connectstring&#xA; var database = client.GetServer().GetDatabase(&quot;analytics&quot;);//database name&#xA; var collection = database.GetCollection(&quot;Contacts&quot;);//collection（It likes table name）&#xA;&#xA; //only retrieve three fields&#xA; string[] fields = { &quot;System.Value&quot;, &quot;PatternId&quot;, &quot;Identifiers.Identifier&quot; };&#xA; //get the data by search condiction&#xA; var contactInfoDB = collection.Find(Query.EQ(&quot;Identifiers.Identifier&quot;, &quot;oEWyxv6y7JEuHISt50hQCjrLGHrk&quot;)).SetFields(fields).ToJson();&#xA; //eventually you can use these info in your method&#xA;&#xA;&#xA; string pattern = &quot;.*?\&quot;System\&quot;(?s).*?{(?s).*?\&quot;Value\&quot;(?s) +:(?s) +(\\d+) +}.*&quot;;&#xA; var match = Regex.Matches(contactInfoDB, pattern);&#xA; var engagementValue = match[0].Groups[1].Value;&#xA;&#xA; pattern = &quot;.*\&quot;PatternId\&quot;(?s).*?CSUUID\\(\&quot;(.*?)\&quot;\\).*&quot;;&#xA; match = Regex.Matches(contactInfoDB, pattern);&#xA; var bestPatternID = match[0].Groups[1].Value;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2606" LastEditorUserId="2606" LastEditDate="2017-11-15T02:01:37.377" LastActivityDate="2017-11-15T02:01:37.377" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8459" PostTypeId="2" ParentId="8457" CreationDate="2017-11-13T10:23:59.830" Score="6" Body="&lt;p&gt;It can happen when the apppool is not fully stopped. If it is not first running of power shell script, it first stops the website and then tries to start it again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to restart IIS, stop both windows services, which were already created, and try to start installation again.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-11-13T10:23:59.830" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8460" PostTypeId="2" ParentId="8303" CreationDate="2017-11-13T10:38:56.920" Score="11" Body="&lt;p&gt;It turns out this is entirely possible. To access xConnect's oData api you have to create a Client Certificate Request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To test this out you can use Fiddler to use your client certificate:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to IIS on your machine -&gt; Server Certificates&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Find the Certificate that xConnect uses (typically it's name will be &quot;site name_client&quot;)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Export this as a .pfx file to a place on your machine.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to &quot;Manage Computer Certificates&quot; on your machine. Make sure you are using Local Computer account.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to -&gt;  &quot;Trusted  Root Certificate Authorities&quot; -&gt; &quot;Certificates&quot; -&gt; Right click &quot;Import&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Choose the .pfx file you created.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Go through the default options on the import wizard.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Once installed in the Trusted Root Store. Find the certificate and right click it and &quot;Export&quot; it as a .CER file.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Export it to a place where Fiddler can use it : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;C:\Users\yourusername\Documents\Fiddler2\ClientCertificate.cer (It must be called this for Fiddler to pick it up)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Start Fiddler &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you add /odata on the end of your URL you'll get something like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eYefJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eYefJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you get issues with trust: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Ensure the client certificates root certificate is also in the &quot;Trusted Root &#xA;Authorities&quot; store.&lt;/li&gt;&#xA;&lt;li&gt;If you get further issues with trust see this answer here: &#xA;&lt;a href=&quot;https://stackoverflow.com/questions/27232340/iis-8-5-mutual-certificates-authentication-fails-with-error-403-16&quot;&gt;https://stackoverflow.com/questions/27232340/iis-8-5-mutual-certificates-authentication-fails-with-error-403-16&lt;/a&gt;. Annoyingly to get this to work with self signed certs in some circumstances you have to add a registry setting.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There's a full explanation of how I got this working on my blog here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.coreblimeysitecore.com/blog/odata-xconnect-sitecore-9/&quot; rel=&quot;noreferrer&quot;&gt;http://www.coreblimeysitecore.com/blog/odata-xconnect-sitecore-9/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: An easier way to do this is to just comment out the following setting in this file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yourxconnectsite/App_Config/AppSettings.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;add key=&quot;validateCertificateThumbprint&quot; value=&quot;53FA51C904F2B281811B44D08E86F69C324F6647&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="222" LastEditorUserId="222" LastEditDate="2018-01-11T16:50:56.943" LastActivityDate="2018-01-11T16:50:56.943" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8461" PostTypeId="1" AcceptedAnswerId="8463" CreationDate="2017-11-13T10:55:39.250" Score="3" ViewCount="220" Body="&lt;p&gt;We used &lt;code&gt;ModelBinders.Binders&lt;/code&gt; on our project to make resolving of controller action parameters easier and make code more testable.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ModelBinders.Binders[typeof(SomeType)] = new SomeTypeModelBinder();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Model binder resolves object:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SomeTypeModelBinder : IModelBinder&#xA;{&#xA;    public object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)&#xA;    {&#xA;       var someTypeResolver = DependencyResolver.Current.GetService&amp;lt;ISomeTypeResolver&amp;gt;();&#xA;       return someTypeResolver.GetCurrentSomeType();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then it becomes easy to use this type as model in our controllers:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult SomeAction(SomeType someType)&#xA;{&#xA;    return View(someType);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is that it becomes hard to measure performance of action using Sitecore Debug. &lt;strong&gt;It looks like binding of action parameter in this way causes that it is not summed up to time of rendering controller action&lt;/strong&gt;(this assumptions is done, because time of rendering is too small):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Finished rendering &quot;Controller: SomeController. Action: SomeAction&quot;.  26.62 ms&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The questions are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does Sitecore Debug mode take into account time that is spent on&#xA;execution of model binders?  &lt;/li&gt;&#xA;&lt;li&gt;If not, then how to force Sitecore Debug&#xA;mode to start add this time to total time of execution(and remain code testable)?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-11-13T12:37:37.203" Title="ModelBinders vs Sitecore Debug mode" Tags="|performance-optimization|performance|performance-profiling|debug|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8463" PostTypeId="2" ParentId="8461" CreationDate="2017-11-13T12:37:37.203" Score="2" Body="&lt;p&gt;I looked how Sitecore timers for debug mode are implemented, and modify my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SomeTypeModelBinder : IModelBinder&#xA;{&#xA;    public object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)&#xA;    {&#xA;       Tracer.Info(&quot;Starting BindModel for SomeType&quot;);&#xA;       Tracer.Indent++;&#xA;       Profiler.StartOperation(&quot;BindModel for SomeType.&quot;);&#xA;       var someTypeResolver = DependencyResolver.Current.GetService&amp;lt;ISomeTypeResolver&amp;gt;();&#xA;       var object = someTypeResolver.GetCurrentSomeType();&#xA;       Profiler.EndOperation(&quot;BindModel for SomeType.&quot;);&#xA;       return object;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That is not exact thing that I wanted, but adds more information in debug mode about timings.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-11-13T12:37:37.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8464" PostTypeId="1" CreationDate="2017-11-13T15:10:37.727" Score="4" ViewCount="244" Body="&lt;p&gt;Processing server logs are full of the error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Aggregation Error&#xA;Exception: System.InvalidOperationException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.ExperienceAnalytics.Aggregation&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(AggregationPipelineArgs args, IEnumerable`1 segments)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.OnProcess(AggregationPipelineArgs args)&#xA;   at Sitecore.Analytics.Aggregation.Pipeline.AggregationProcessor.Process(AggregationPipelineArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Commerce.ExperienceAnalytics&#xA;   at Sitecore.Commerce.ExperienceAnalytics.Models.CartLineModel.GetKey()&#xA;   at System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)&#xA;   at System.Linq.GroupedEnumerable`3.GetEnumerator()&#xA;   at Sitecore.Commerce.ExperienceAnalytics.Dimensions.ByCartManipulationsBase.&amp;lt;GetData&amp;gt;d__2.MoveNext()&#xA;   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(AggregationPipelineArgs args, IEnumerable`1 segments)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have registered the types in a pipeline processor that are patched after &lt;em&gt;Sitecore.Analytics.Outcome.Pipelines.Initialize.RegisterDataModelExtensions&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; patch:after=&quot;processor[@type='Sitecore.Analytics.Outcome.Pipelines.Initialize.RegisterDataModelExtensions, Sitecore.Analytics.Outcome']&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in my pipeline processor, I have the code to register the classes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MongoDbObjectMapper.Instance.RegisterModelExtension&amp;lt;CartInfo&amp;gt;();&#xA;MongoDbObjectMapper.Instance.RegisterModelExtension&amp;lt;CartLineInfo&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there anything else that I need to do?&lt;/p&gt;&#xA;" OwnerUserId="2671" LastEditorUserId="73" LastEditDate="2017-12-29T13:13:35.870" LastActivityDate="2017-12-29T13:13:35.870" Title="Aggregation Error at Sitecore.Commerce.ExperienceAnalytics.Models.CartLineModel" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8465" PostTypeId="2" ParentId="7961" CreationDate="2017-11-13T15:16:44.687" Score="3" Body="&lt;p&gt;This has been confirmed as a bug by Sitecore. The bug reference number is 191728. This occurs when using a cshtml file as the file that your layout points to. &lt;a href=&quot;https://sitecore.app.box.com/s/t7q6y7e4majnzc009ow82w8ulxv163ge&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here is the download link&lt;/a&gt; for the instance I had this issue in (Sitecore CMS 8.2 rev. 170614 Update-4).&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-11-13T15:16:44.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8466" PostTypeId="1" CreationDate="2017-11-13T16:02:48.783" Score="6" ViewCount="1620" Body="&lt;p&gt;Sitecore Version:       8.2 (rev 170614)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass.Mapper Version:   4.4.0.199&lt;/p&gt;&#xA;&#xA;&lt;p&gt;.NET Framework Version: 4.6&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a Controller Rendering that represents &quot;Redemption&quot; form on my site that can be added as a component to a page.  This Redemption rendering, of course, has a Datasource Template that represents that component.  The action method is called &quot;RedemptionForm&quot; and it has a GET method for when the page first loads and a POST method when you hit submit.  The GET method accepts two optional parameters that determine how the form will display depending upon what parameter is passed in (if any).  The POST method accepts the model that is submitted when the user clicks &quot;Submit&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The cshtml behind the rendering looks like this (i've stripped out the html to conserve space):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, new { rid = this.Model.RedemptionId }, FormMethod.Post, new { @class = &quot;redemption__form&quot;, enctype = &quot;multipart/form-data&quot; }))&#xA;{&#xA;    @Html.Sitecore().FormHandler(&quot;Redemptions&quot;, &quot;RedemptionForm&quot;)&#xA;&#xA;    [rest of html...]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The GET method looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult RedemptionForm(string rid = &quot;&quot;, string vid = &quot;&quot;)&#xA;{&#xA;    var webModel = new RedemptionWebModel();&#xA;&#xA;    if (string.IsNullOrWhiteSpace(vid))&#xA;    {&#xA;        // Do Stuff...&#xA;    }&#xA;    else&#xA;    {&#xA;        // Do Other Stuff...&#xA;    }&#xA;&#xA;    return View(webModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The POST method looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;public ActionResult RedemptionForm(string rid, RedemptionSubmissionModel model)&#xA;{&#xA;    var webModel = new RedemptionWebModel();&#xA;&#xA;    webModel.SubmissionModel = model;&#xA;&#xA;    if (ModelState.IsValid)&#xA;    {&#xA;        // Do Stuff...&#xA;&#xA;        webModel.IsSubmitted = true;&#xA;    }&#xA;&#xA;    return View(webModel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the generated form html:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;form action=&quot;/MyRedemptions?rid=48d4d95c417b42559af1178f17b64853&quot; class=&quot;redemption__form&quot; enctype=&quot;multipart/form-data&quot; method=&quot;post&quot; _lpchecked=&quot;1&quot;&amp;gt;&#xA;        &amp;lt;input id=&quot;scController&quot; name=&quot;scController&quot; type=&quot;hidden&quot; value=&quot;Redemptions&quot; class=&quot;has-text&quot;&amp;gt;&#xA;        &amp;lt;input id=&quot;scAction&quot; name=&quot;scAction&quot; type=&quot;hidden&quot; value=&quot;RedemptionForm&quot; class=&quot;has-text&quot;&amp;gt;&#xA;&#xA;        [rest of form inputs...]&#xA;&#xA;    &amp;lt;/form&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NOTE: &quot;MyRedemptions&quot; is the actual page in my Sitecore tree:  content --&gt; MySite --&gt; Home --&gt; MyRedemptions.  This page is a standard page with a header, menu and footer as part of it's standard values presentation details.  Normal stuff.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the FULL source when the page initially loads (includes the generated 'form' html):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&#xA;&amp;lt;!--[if IE 9]&amp;gt;&amp;lt;html lang=&quot;en&quot; class=&quot;ie9 no-js&quot;&amp;gt;&amp;lt;![endif]--&amp;gt;&#xA;&amp;lt;!--[if !IE]&amp;gt;&amp;lt;!--&amp;gt;&#xA;&amp;lt;html class=&quot;no-js&quot; lang=&quot;en&quot;&amp;gt;&#xA;&amp;lt;!--&amp;lt;![endif]--&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;meta charset=&quot;utf-8&quot;&amp;gt;&#xA;    &amp;lt;meta http-equiv=&quot;x-ua-compatible&quot; content=&quot;ie=edge&quot;&amp;gt;&#xA;    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&#xA;    &amp;lt;meta name=&quot;description&quot; content=&quot;&quot;&amp;gt;&#xA;    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&amp;gt;&#xA;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;/styles/Foundation/Theming/MyCompany/vendor/vendor.css?7b3042e6e9&quot; /&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;/styles/Foundation/Theming/MyCompany/app/main.css?0404d259f5&quot; /&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;/styles/Feature/Navigation/PrimaryMenu.css?a44fb1d2cf&quot; /&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;/styles/Feature/Navigation/FooterMenu.css?f344ffb4fe&quot; /&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body class=&quot;&quot;&amp;gt;&#xA;&#xA;    &amp;lt;header class=&quot;header&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;header__identity&quot;&amp;gt;&#xA;                &amp;lt;a class=&quot;header__logo&quot; href=&quot;/&quot;&amp;gt;&#xA;                    &amp;lt;img src=&quot;/-/media/Feature/Identity/logo-MyCompany.ashx?h=94&amp;amp;amp;w=173&amp;amp;amp;la=en&amp;amp;amp;hash=C65D86CBA66FA0237A2C1792523046209874E1FF&quot; alt=&quot;&quot; /&amp;gt;        &amp;lt;h5&amp;gt;&amp;lt;/h5&amp;gt;&#xA;                &amp;lt;/a&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;div class=&quot;header__nav&quot;&amp;gt;&#xA;&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;div class=&quot;header__utility&quot;&amp;gt;&#xA;&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;div class=&quot;header__identity&quot;&amp;gt;&#xA;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;&#xA;    &amp;lt;main role=&quot;main&quot;&amp;gt;&#xA;        &amp;lt;div&amp;gt;&#xA;            Redemptions&#xA;            &amp;lt;img src=&quot;/-/media/Banners/banner-interior-generic.ashx?h=110&amp;amp;amp;la=en&amp;amp;amp;w=1500&amp;amp;amp;hash=3CCA268158E633D532CCDE037CC7B4CFECF09CD7&quot; alt=&quot;sparks fly!&quot; width=&quot;1500&quot; height=&quot;110&quot; /&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;&#xA;            &amp;lt;div class=&quot;redemption-form&quot;&amp;gt;&#xA;                &amp;lt;div&amp;gt;&#xA;                    &amp;lt;h3&amp;gt;You've Selected:&amp;lt;/h3&amp;gt;&#xA;                    &amp;lt;div&amp;gt;&#xA;                        &amp;lt;p&amp;gt;&amp;lt;p&amp;gt;Simply &amp;lt;strong&amp;gt;BUY a Cool Product&amp;lt;/strong&amp;gt; to REDEEM another Cool Product.&amp;lt;/p&amp;gt;&#xA;                        &amp;lt;/p&amp;gt;&#xA;                        &amp;lt;p&amp;gt;&#xA;                            Products must be purchased in the promotional period 10/1/2017 to 12/31/2017 from an approved MyCompany dealer.  All redemption offers must be received by close of business on 1/14/2018. Only one redemption per transaction.  Cannot be used in conjunction with any other offer&#xA;                        &amp;lt;/p&amp;gt;&#xA;                        &amp;lt;div&amp;gt;&#xA;                            &amp;lt;img src=&quot;/-/media/Images/Redemptions/Tiles_300x300_07_48224252.ashx?h=300&amp;amp;amp;w=300&amp;amp;amp;la=en&amp;amp;amp;hash=C49C6023ED7BD2F05DE5070BE3B8114B41D471DD&quot; alt=&quot;Promo 48223712&quot; /&amp;gt;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;                &amp;lt;div&amp;gt;&#xA;                    &amp;lt;h3&amp;gt;E-Rebate Redemption Form&amp;lt;/h3&amp;gt;&#xA;                    &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&#xA;&#xA;                    &amp;lt;form action=&quot;/MyRedemptions?rid=48d4d95c417b42559af1178f17b64853&quot; class=&quot;redemption__form&quot; enctype=&quot;multipart/form-data&quot; method=&quot;post&quot;&amp;gt;&#xA;                        &amp;lt;input id=&quot;scController&quot; name=&quot;scController&quot; type=&quot;hidden&quot; value=&quot;Redemptions&quot; /&amp;gt;&#xA;                        &amp;lt;input id=&quot;scAction&quot; name=&quot;scAction&quot; type=&quot;hidden&quot; value=&quot;RedemptionForm&quot; /&amp;gt;    &amp;lt;div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;FirstName&quot;&amp;gt;First Name&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;FirstName&quot; name=&quot;FirstName&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;FirstName&quot; id=&quot;FirstName-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;First Name&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;Surname&quot;&amp;gt;Last Name&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;Surname&quot; name=&quot;Surname&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;Surname&quot; id=&quot;Surname-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Last Name&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;StreetAddress&quot;&amp;gt;Street Address&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;StreetAddress&quot; name=&quot;StreetAddress&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;StreetAddress&quot; id=&quot;StreetAddress-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Street Address&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;Suburb&quot;&amp;gt;Suburb&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;Suburb&quot; name=&quot;Suburb&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;Suburb&quot; id=&quot;Suburb-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Suburb&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;State&quot;&amp;gt;State&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;select id=&quot;State&quot; name=&quot;State&quot;&amp;gt;&#xA;                                    &amp;lt;option&amp;gt;&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;CA&quot;&amp;gt;California&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;FL&quot;&amp;gt;Florida&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;IL&quot;&amp;gt;Illinois&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;IA&quot;&amp;gt;Iowa&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;MI&quot;&amp;gt;Michigan&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;MN&quot;&amp;gt;Minnesota&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;NY&quot;&amp;gt;New York&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;TX&quot;&amp;gt;Texas&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;WI&quot;&amp;gt;Wisconsin&amp;lt;/option&amp;gt;&#xA;                                &amp;lt;/select&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;State&quot; id=&quot;State-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;State&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;ZipCode&quot;&amp;gt;Zip Code&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;ZipCode&quot; name=&quot;ZipCode&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;ZipCode&quot; id=&quot;ZipCode-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Zip Code&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;Mobile&quot;&amp;gt;Mobile&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;Mobile&quot; name=&quot;Mobile&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;Mobile&quot; id=&quot;Mobile-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Mobile&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;Phone&quot;&amp;gt;Phone&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;Phone&quot; name=&quot;Phone&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;Phone&quot; id=&quot;Phone-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Phone&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;EmailAddress&quot;&amp;gt;Email&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;EmailAddress&quot; name=&quot;EmailAddress&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;EmailAddress&quot; id=&quot;EmailAddress-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Email&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;ProductPurchased&quot;&amp;gt;Purchased Product&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;select id=&quot;ProductPurchased&quot; name=&quot;ProductPurchased&quot;&amp;gt;&#xA;                                    &amp;lt;option&amp;gt;&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;861f6eb5cdec460496cac8f9c65ffb4b&quot;&amp;gt;Product 1&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;474f8e7a4a6041e894878a065be5f8e4&quot;&amp;gt;Product 2&amp;lt;/option&amp;gt;&#xA;                                &amp;lt;/select&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;ProductPurchased&quot; id=&quot;ProductPurchased-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;ProductPurchased&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;ReceiptNumber&quot;&amp;gt;Receipt Number&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;ReceiptNumber&quot; name=&quot;ReceiptNumber&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;ReceiptNumber&quot; id=&quot;ReceiptNumber-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Receipt Number&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;Store&quot;&amp;gt;Store&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;Store&quot; name=&quot;Store&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;Store&quot; id=&quot;Store-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Store&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;StoreSuburb&quot;&amp;gt;Store Suburb&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input class=&quot;input-field&quot; id=&quot;StoreSuburb&quot; name=&quot;StoreSuburb&quot; type=&quot;text&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;StoreSuburb&quot; id=&quot;StoreSuburb-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Suburb&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;RedeemedProduct&quot;&amp;gt;Redeemed Product&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;select id=&quot;RedeemedProduct&quot; name=&quot;RedeemedProduct&quot;&amp;gt;&#xA;                                    &amp;lt;option&amp;gt;&amp;lt;/option&amp;gt;&#xA;                                    &amp;lt;option value=&quot;bcd766e8384441849e58b25d28b90e17&quot;&amp;gt;Product 3&amp;lt;/option&amp;gt;&#xA;                                &amp;lt;/select&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;RedeemedProduct&quot; id=&quot;RedeemedProduct-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Redeemed Product&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;label for=&quot;Receipt&quot;&amp;gt;Receipt&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;input accept=&quot;image/*&quot; class=&quot;input-field&quot; id=&quot;Receipt&quot; name=&quot;Receipt&quot; type=&quot;file&quot; value=&quot;&quot; /&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;Receipt&quot; id=&quot;Receipt-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;Receipt&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;input-group input-group--required&quot;&amp;gt;&#xA;                                &amp;lt;input id=&quot;TermsAgreement&quot; name=&quot;TermsAgreement&quot; type=&quot;checkbox&quot; value=&quot;true&quot; /&amp;gt;&amp;lt;input name=&quot;TermsAgreement&quot; type=&quot;hidden&quot; value=&quot;false&quot; /&amp;gt;&#xA;                                &amp;lt;label for=&quot;TermsAgreement&quot;&amp;gt;I agree and understand the Terms and Conditions&amp;lt;/label&amp;gt;&#xA;                                &amp;lt;label class=&quot;error&quot; for=&quot;TermsAgreement&quot; id=&quot;TermsAgreement-error&quot; style=&quot;display: none;&quot;&amp;gt;Field &amp;amp;#39;I agree and understand the Terms and Conditions&amp;amp;#39; is required&amp;lt;/label&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div&amp;gt;&#xA;                                &amp;lt;input id=&quot;uid&quot; name=&quot;uid&quot; type=&quot;hidden&quot; value=&quot;80cc5ade-4f93-42e7-8149-c2373520074e&quot; /&amp;gt;&#xA;                                &amp;lt;input id=&quot;DatasourceId&quot; name=&quot;DatasourceId&quot; type=&quot;hidden&quot; value=&quot;0ac8b894-9d96-4072-bbe0-7d5a800af8d7&quot; /&amp;gt;&#xA;                                &amp;lt;input id=&quot;RedemptionId&quot; name=&quot;RedemptionId&quot; type=&quot;hidden&quot; value=&quot;48d4d95c417b42559af1178f17b64853&quot; /&amp;gt;&#xA;                                &amp;lt;input id=&quot;Country&quot; name=&quot;Country&quot; type=&quot;hidden&quot; value=&quot;US&quot; /&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                            &amp;lt;div class=&quot;btn&quot;&amp;gt;&#xA;                                &amp;lt;button type=&quot;submit&quot;&amp;gt;submit&amp;lt;/button&amp;gt;&#xA;                            &amp;lt;/div&amp;gt;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;/form&amp;gt;&#xA;                    &amp;lt;div&amp;gt;&#xA;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/main&amp;gt;&#xA;    &amp;lt;div class=&quot;email-signup&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;email-signup__content&quot;&amp;gt;&#xA;                &amp;lt;h1&amp;gt;Sign Me Up!&amp;lt;/h1&amp;gt;&#xA;                &amp;lt;h2&amp;gt;Be the first to know about special offers, new product launches and events.&amp;lt;/h2&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;footer class=&quot;footer&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;footer__content&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;                &amp;lt;div class=&quot;footer__col footer__col--main&quot;&amp;gt;&#xA;                    &amp;lt;div class=&quot;social&quot;&amp;gt;&#xA;                        &amp;lt;a href=&quot;#&quot; class=&quot;social__link&quot;&amp;gt;&amp;lt;svg class=&quot;icon icon-facebook&quot;&amp;gt;&amp;lt;use xlink:href=&quot;/icons/icons.svg#icon-facebook&quot;&amp;gt;&amp;lt;/use&amp;gt;&amp;lt;/svg&amp;gt;&amp;lt;/a&amp;gt;&#xA;                        &amp;lt;a href=&quot;#&quot; class=&quot;social__link&quot;&amp;gt;&amp;lt;svg class=&quot;icon icon-instagram&quot;&amp;gt;&amp;lt;use xlink:href=&quot;/icons/icons.svg#icon-instagram&quot;&amp;gt;&amp;lt;/use&amp;gt;&amp;lt;/svg&amp;gt;&amp;lt;/a&amp;gt;&#xA;                        &amp;lt;a href=&quot;#&quot; class=&quot;social__link&quot;&amp;gt;&amp;lt;svg class=&quot;icon icon-twitter&quot;&amp;gt;&amp;lt;use xlink:href=&quot;/icons/icons.svg#icon-twitter&quot;&amp;gt;&amp;lt;/use&amp;gt;&amp;lt;/svg&amp;gt;&amp;lt;/a&amp;gt;&#xA;                        &amp;lt;a href=&quot;#&quot; class=&quot;social__link&quot;&amp;gt;&amp;lt;svg class=&quot;icon icon-youtube&quot;&amp;gt;&amp;lt;use xlink:href=&quot;/icons/icons.svg#icon-youtube&quot;&amp;gt;&amp;lt;/use&amp;gt;&amp;lt;/svg&amp;gt;&amp;lt;/a&amp;gt;&#xA;                        &amp;lt;a href=&quot;#&quot; class=&quot;social__link&quot;&amp;gt;&amp;lt;svg class=&quot;icon icon-flickr3&quot;&amp;gt;&amp;lt;use xlink:href=&quot;/icons/icons.svg#icon-flickr3&quot;&amp;gt;&amp;lt;/use&amp;gt;&amp;lt;/svg&amp;gt;&amp;lt;/a&amp;gt;&#xA;                        &amp;lt;a href=&quot;#&quot; class=&quot;social__link&quot;&amp;gt;&amp;lt;svg class=&quot;icon icon-google-plus&quot;&amp;gt;&amp;lt;use xlink:href=&quot;/icons/icons.svg#icon-google-plus&quot;&amp;gt;&amp;lt;/use&amp;gt;&amp;lt;/svg&amp;gt;&amp;lt;/a&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;div class=&quot;footer__links&quot;&amp;gt;&#xA;                        &amp;lt;div class=&quot;footer__links-col&quot;&amp;gt;&#xA;                            &amp;lt;h2 class=&quot;footer__title&quot;&amp;gt;Products&amp;lt;/h2&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;Cool Stuff&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;Cooler Stuff&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;Jobsite Enhancement&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;Instruments&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;Accessories&amp;lt;/a&amp;gt;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                        &amp;lt;div class=&quot;footer__links-col&quot;&amp;gt;&#xA;                            &amp;lt;h2 class=&quot;footer__title&quot;&amp;gt;About Us&amp;lt;/h2&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;The MyCompany Story&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;News &amp;amp;amp; Events&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;For The Press&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;MyCompany Logo'd Merchandise&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;Safety Notices&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;Contact Us&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;Careers&amp;lt;/a&amp;gt;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;a href=&quot;#&quot; class=&quot;btn btn--primary-dark&quot;&amp;gt;&amp;lt;svg class=&quot;icon icon-earth&quot;&amp;gt;&amp;lt;use xlink:href=&quot;/icons/icons.svg#icon-earth&quot;&amp;gt;&amp;lt;/use&amp;gt;&amp;lt;/svg&amp;gt; US : : En - Change Site / Language&amp;lt;/a&amp;gt;&#xA;                    &amp;lt;a href=&quot;#&quot; class=&quot;btn btn--primary-dark&quot;&amp;gt;&amp;lt;svg class=&quot;icon icon-map-marker&quot;&amp;gt;&amp;lt;use xlink:href=&quot;/icons/icons.svg#icon-map-marker&quot;&amp;gt;&amp;lt;/use&amp;gt;&amp;lt;/svg&amp;gt; Where to Buy MyCompany Products&amp;lt;/a&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;                &amp;lt;div class=&quot;footer__col footer__col--catalogs&quot;&amp;gt;&#xA;                    &amp;lt;div class=&quot;footer__links&quot;&amp;gt;&#xA;                        &amp;lt;div class=&quot;footer__links-col&quot;&amp;gt;&#xA;                            &amp;lt;h2 class=&quot;footer__title&quot;&amp;gt;Download Catalogs&amp;lt;/h2&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;&#xA;                                &amp;lt;img src=&quot;http://placehold.it/109x143&quot; /&amp;gt;&#xA;                                &amp;lt;span&amp;gt;Cool Stuff&amp;lt;/span&amp;gt;&#xA;                            &amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;&#xA;                                &amp;lt;img src=&quot;http://placehold.it/109x143&quot; /&amp;gt;&#xA;                                &amp;lt;span&amp;gt;Cool Stuff Accessories&amp;lt;/span&amp;gt;&#xA;                            &amp;lt;/a&amp;gt;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;                &amp;lt;div class=&quot;footer__col footer__col--more&quot;&amp;gt;&#xA;                    &amp;lt;div class=&quot;footer__links footer__links--grouped&quot;&amp;gt;&#xA;                        &amp;lt;div class=&quot;footer__links-col&quot;&amp;gt;&#xA;                            &amp;lt;h2 class=&quot;footer__title&quot;&amp;gt;New Products&amp;lt;/h2&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link footer__link--product&quot;&amp;gt;Product 1&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link footer__link--product&quot;&amp;gt;Product 2&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link footer__link--product&quot;&amp;gt;Product 3&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link footer__link--product&quot;&amp;gt;Product 4&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link footer__link--product&quot;&amp;gt;Product 5&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link footer__link--highlight&quot;&amp;gt;See all NEW products &amp;amp;gt;&amp;lt;/a&amp;gt;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                        &amp;lt;div class=&quot;footer__links-col&quot;&amp;gt;&#xA;                            &amp;lt;h2 class=&quot;footer__title&quot;&amp;gt;How Can We Help?&amp;lt;/h2&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;&amp;lt;span class=&quot;footer__link-title&quot;&amp;gt;FAQs&amp;lt;/span&amp;gt;Explanation and detail of what Lorem Ispum is&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;&amp;lt;span class=&quot;footer__link-title&quot;&amp;gt;Find A Service Center&amp;lt;/span&amp;gt;Explanation and detail of what Lorem Ispum is&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;&amp;lt;span class=&quot;footer__link-title&quot;&amp;gt;Work At MyCompany&amp;lt;/span&amp;gt;Explanation and detail of what Lorem Ispum is&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;&amp;lt;span class=&quot;footer__link-title&quot;&amp;gt;Lorem Ipsum&amp;lt;/span&amp;gt;Explanation and detail of what Lorem Ispum is&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;&amp;lt;span class=&quot;footer__link-title&quot;&amp;gt;Manuals&amp;lt;/span&amp;gt;Explanation and detail of what Lorem Ispum is&amp;lt;/a&amp;gt;&#xA;                            &amp;lt;a href=&quot;#&quot; class=&quot;footer__link&quot;&amp;gt;&amp;lt;span class=&quot;footer__link-title&quot;&amp;gt;Video Library&amp;lt;/span&amp;gt;Explanation and detail of what Lorem Ispum is&amp;lt;/a&amp;gt;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=&quot;footer__content&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;                &amp;lt;div class=&quot;copyright&quot;&amp;gt;&#xA;                    &amp;lt;span class=&quot;copyright__text&quot;&amp;gt;&#xA;                        © 2017 by MyCompany. All rights reserved.&#xA;                    &amp;lt;/span&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;                &amp;lt;div class=&quot;footer-menu&quot;&amp;gt;&#xA;                    &amp;lt;a href=&quot;##&quot; class=&quot;footer-menu__link&quot;&amp;gt;Legal&amp;lt;/a&amp;gt;&amp;lt;a href=&quot;##&quot; class=&quot;footer-menu__link&quot;&amp;gt;Privacy Policy&amp;lt;/a&amp;gt;&amp;lt;a href=&quot;##&quot; class=&quot;footer-menu__link&quot;&amp;gt;Accessibility Policy&amp;lt;/a&amp;gt;&amp;lt;a href=&quot;##&quot; class=&quot;footer-menu__link&quot;&amp;gt;Contact Us&amp;lt;/a&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;    &amp;lt;script type=&quot;text/javascript&quot; src=&quot;/scripts/Foundation/Theming/MyCompany/vendor.js?40dcfb22e1&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script type=&quot;text/javascript&quot; src=&quot;/scripts/Foundation/Theming/MyCompany/app.js?ed802f9a82&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script type=&quot;text/javascript&quot; src=&quot;/scripts/Feature/Navigation/Navigation/PrimaryMenu.js?0b6a65015e&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the page first loads, the controller is hit on the GET method just fine.  The controller method does its thing and returns the model the form is expecting.  The header, menu, &quot;Redemption&quot; form and footer all display just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I submit the form on the page it does get to the expected POST method of the controller, submits the form data to our database and then I return the same model back to the form with some additional fields filled in indicating that the form was submitted successfully (or not). The same cshtml file representing the rendering looks at this returned data and will determine whether to display a thank-you message for submitting the form OR to still display the form if there was a failure of any kind (server side validation OR a database failure).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, on the postback the only rendering that is displayed is the &quot;Redemption&quot; form rendering.  ALL other renderings on the page (header, menu, footer) are gone.  This happens whether the form was submitted successfully or not - it only displays that &quot;Redemption&quot; rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried multiple solutions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/7893/how-to-get-simple-form-post-to-work-in-sitecore-mvc-8-2/7894#7894&quot;&gt;How To Get a Simple Form To Post...&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://mhwelander.net/2014/05/30/posting-forms-in-sitecore-mvc-part-2-controller-renderings/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Posting Forms In Sitecore...&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://ctor.io/posting-forms-in-sitecore-controller-renderings-another-perspective/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Posting Forms In Sitecore - Another Perspective...&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;To The Controller And Back &lt;a href=&quot;http://jockstothecore.com/to-the-controller-and-back-part-1-routing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Part 1&lt;/a&gt; and &lt;a href=&quot;http://jockstothecore.com/to-the-controller-and-back-part-2-validation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Part 2&lt;/a&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'm wracking my brains out trying to find why this is happening and to fix it but to no avail.  What am I missing or doing wrong?  Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1993" LastEditorUserId="73" LastEditDate="2017-11-14T16:34:40.663" LastActivityDate="2018-04-13T20:32:42.627" Title="Postback Does Not Return Full Page Layout" Tags="|mvc|mvc-forms|" AnswerCount="1" CommentCount="17" ContentLicense="CC BY-SA 3.0" />
  <row Id="8467" PostTypeId="1" CreationDate="2017-11-13T17:24:20.527" Score="1" ViewCount="710" Body="&lt;p&gt;We upgraded to 8.2 back in August and haven't had issues on the front or the back end for the most part.  However we don't use the Experience Editor very much.  Our client might but hasn't reported issues.  However, when I access the Experience Editor on any of our platforms, I have issues such as the close button not working, and also errors on some of our pages &lt;code&gt;buttonRoot isn't set for edit frame&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look at browser tools, it's reporting a whole bunch of Experience Editor files missing.  All of these seem to be in the &lt;code&gt;/sitecore/shell/client/Sitecore/Speak/Request&lt;/code&gt; folder or sub-folders beneath that, however when I look at all our various platforms, I see up to the &lt;code&gt;/Speak&lt;/code&gt; folder, but there is no Request folder beneath that.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently we did an out of the box install of 8.2, so I'm confused as to why these would be missing and how we might get copies so that we can get the Experience Editor working properly again.&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="2727" LastEditDate="2018-02-04T14:35:35.740" LastActivityDate="2018-02-04T14:35:35.740" Title="Experience Editor not working properly in 8.2" Tags="|experience-editor|installation|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8469" PostTypeId="2" ParentId="8263" CreationDate="2017-11-13T20:10:20.140" Score="4" Body="&lt;p&gt;On the #solr Slack channel, someone posted this link about the issue:&#xA;&lt;a href=&quot;https://sitecoresaga.wordpress.com/2017/05/15/sitecore-8-2-exceptions-when-re-index-from-control-panel/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoresaga.wordpress.com/2017/05/15/sitecore-8-2-exceptions-when-re-index-from-control-panel/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has a patch which can hide these exceptions from showing up in the log file.  But, they do not have a fix for returning the document count for SolrCloud setups.&lt;/p&gt;&#xA;" OwnerUserId="2639" LastActivityDate="2017-11-13T20:10:20.140" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8470" PostTypeId="1" AcceptedAnswerId="20160" CreationDate="2017-11-13T20:17:58.840" Score="9" ViewCount="1218" Body="&lt;p&gt;I am trying to determine the optimal size for the &lt;code&gt;htmlCacheSize&lt;/code&gt; on a website in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're assembling a website that will be ~1500 pages in 13 languages.  Initial tests show that the current &quot;en&quot; site uses ~40mb of cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Doing some quick and dirty math, that leaves me with:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;40MB * 13 languages ~= 500MB cache size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this the proper way of determining how large of a cache I should use? Additionally- would there be any problems in just setting the cache size to something like 512MB?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: Adjusted the numbers a bit after doing some tests.&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="430" LastEditDate="2017-11-13T20:44:47.807" LastActivityDate="2019-07-29T14:53:45.723" Title="Optimal HTML cache size?" Tags="|caching|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8471" PostTypeId="1" CreationDate="2017-11-13T22:17:08.157" Score="1" ViewCount="132" Body="&lt;p&gt;I am attempting to separate and version the Helix Foundation Layer modules into its own solution.  I am using TDS/VS2017/Sitecore_8.1U2.&#xA;Based on documentation, I would like to generate an Update package which I am able to bundle all Foundation modules by using the &quot;Multi-project Properties&quot; --&gt; Package Bundling option.  This works well and allows me to deploy into Sitecore target environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, for developers that need to take Foundation Layer as a dependency, I am trying to figure out how to enable VS2017 development.  When I attempt to generate NuGet package equivalent of the Update package, the bundling option does not take effect.  TDS NuGet Package only includes items that are compiled to outputpath of that particular project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wonder what do other folks do to enable multi solution development into a same Sitecore instance.  How do folks manage item/code depedencies that need to be present in the VS2017 but not deployed with that solution (usually encompassing feature or project layer modules).&lt;/p&gt;&#xA;" OwnerUserId="1839" LastEditorUserId="1000" LastEditDate="2017-12-05T02:48:35.503" LastActivityDate="2017-12-05T02:48:35.503" Title="TDS Package Bundling does not work with NuGet Package Generation" Tags="|helix|tds|visual-studio|nuget|dependency-management|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8472" PostTypeId="2" ParentId="8406" CreationDate="2017-11-14T06:45:17.443" Score="0" Body="&lt;p&gt;I did the similar things before, hope my answer could help you.&#xA;My business scenario is about sending email to all of the users who belong to a specific best pattern, I create a custom segmented condition for List Manger to create a segmented list and then send email to the users by EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In fact, you could get the users by search. In my project, I use Lucene Search.&#xA;Open the sitecore_analytics_index, the best pattern card IDs(one user could match several different pattern cards) are stored in user information.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZzswL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZzswL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above screenshot shows the user matches 2 pattern cards. In you project, you could search the users by the specific pattern IDs, in sitecore_analytics_index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Linq;&#xA;using System;&#xA;using System.Linq;&#xA;using System.Web.UI.WebControls;&#xA;&#xA;namespace AddNewContactsSample&#xA;{&#xA;    public partial class GetLuceneSearch : System.Web.UI.Page&#xA;    {&#xA;        protected void Page_Load(object sender, EventArgs e)&#xA;        {&#xA;&#xA;            var index = ContentSearchManager.GetIndex($&quot;sitecore_analytics_index&quot;);&#xA;&#xA;            var q = index.CreateSearchContext().GetQueryable&amp;lt;ContactDoc&amp;gt;();&#xA;            q = q.Where(c =&amp;gt; c.PatternIds.Contains(&quot;{82625C9F-DD9E-40E0-9C3B-16DB8E0F781F}&quot;));&#xA;            var result = q.GetResults();&#xA;            var contacts = result.Hits.Select(x =&amp;gt; x.Document).ToList();&#xA;&#xA;        }&#xA;&#xA;        public class ContactDoc&#xA;        {&#xA;            [IndexField(&quot;contact.identifier&quot;)]&#xA;           public string IdentifyID { get; set; }&#xA;&#xA;            [IndexField(&quot;contact.patternids&quot;)]&#xA;           public string PatternIds { get; set; }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2686" LastEditorUserId="2686" LastEditDate="2017-11-15T06:56:25.757" LastActivityDate="2017-11-15T06:56:25.757" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8473" PostTypeId="1" AcceptedAnswerId="8515" CreationDate="2017-11-14T07:12:39.147" Score="3" ViewCount="753" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;I want to export sitecore redirect links to a csv file. Created in the&#xA;  ribbon a button, and the code referend page in the project.(see below)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExportRedirectsListCmd : Command&#xA;{&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        var RedirectFolder = new SitecoreContext(GetContentDatabase()).GetItem&amp;lt;BaseCommon&amp;gt;(context.Items[0].ID.ToGuid(), context.Items[0].Language);&#xA;        var lstLinkToRedirect = RedirectFolder.Children.OfType&amp;lt;LinkToLinkRedirect&amp;gt;();&#xA;        var filename = &quot;RedirectsOutput_&quot; + DateTime.Now.ToString(&quot;yyyyMMddHHmmss&quot;) + &quot;.csv&quot;;&#xA;        var sb = new StringBuilder();&#xA;        sb.AppendLine($&quot;{&quot;Redirecttype&quot;},{&quot;Sourcelink Url&quot;}, {&quot;Targetlink Url&quot;}&quot;);&#xA;        // collect all information &#xA;        var allLines = (from item in lstLinkToRedirect&#xA;                        select new object[]&#xA;                        {&#xA;                                           item.RedirectType,&#xA;                                           item.SourceLink.Url,&#xA;                                           item.TargetLink.Url&#xA;                        }).ToList();&#xA;&#xA;        // insert the content&#xA;        allLines.ForEach(line =&amp;gt;&#xA;        {&#xA;            sb.AppendLine(string.Join(&quot;,&quot;, line));&#xA;        });&#xA;&#xA;        //saves file to temp folder. This works, but not for a user&#xA;        var tempPath = Path.GetTempPath();&#xA;           var tempFilename = Path.GetTempFileName();&#xA;        System.IO.File.WriteAllText(tempPath + tempFilename , sb.ToString());&#xA;&#xA;        // Alertbox just for test&#xA;        // SheerResponse.Alert(sb.ToString());&#xA;        // return;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code collects all information in the stringbuilder. By test the alertbox displays the expected information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now to download the stringbuilder information to the browser. HttpContext does not work in sitecore. Can anyone tell me how to do that.&lt;/p&gt;&#xA;" OwnerUserId="2309" LastEditorUserId="35" LastEditDate="2017-11-15T15:24:48.153" LastActivityDate="2017-11-16T12:47:40.793" Title="Links to CSV download in the browser" Tags="|content-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8474" PostTypeId="1" AcceptedAnswerId="8481" CreationDate="2017-11-14T07:33:16.323" Score="9" ViewCount="834" Body="&lt;p&gt;We need to allow the German umlauts for the user to enter as part of user name.  While we add &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;^[A-Za-z0-9äöüÄÖÜß-.]+(?:[._-][A-Za-z0-9äöüÄÖÜß-.]+)*$&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is not working as expected and we just get an error as &quot;Facing Technical difficulty&quot;&lt;/p&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="28" LastEditDate="2017-11-14T10:47:28.420" LastActivityDate="2019-05-10T14:40:10.513" Title="Allowing umlauts in Sitecore WFFM Regular expression validator" Tags="|wffm|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8475" PostTypeId="2" ParentId="8473" CreationDate="2017-11-14T07:45:31.527" Score="2" Body="&lt;p&gt;Once you have the &lt;code&gt;StringBuilder&lt;/code&gt; with the appropriate data, you can generate the &lt;code&gt;.csv&lt;/code&gt; file and store it within the website folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the file is generated, you can make use of the following code to download the file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SheerResponse.Download(file.FullName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Context.ClientPage.ClientResponse.Download(file.FullName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure that you provide the proper path of the file within the &lt;code&gt;Download()&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the chat discussion, you can provide the user a window where the list of files are listed. Then, they can select the desired file and click on the download button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example, the Sitecore Installation Wizard (selection of package) is pretty much the same thing you want to achieve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JhGZS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JhGZS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check the code from the below namespace to see how Sitecore does it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Namespace: Sitecore.Shell.Applications.Install.Dialogs.BrowseDialog&#xA;Assembly: Sitecore.Client.dll&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-11-15T11:37:20.173" LastActivityDate="2017-11-15T11:37:20.173" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8476" PostTypeId="1" AcceptedAnswerId="8477" CreationDate="2017-11-14T09:53:40.613" Score="13" ViewCount="1056" Body="&lt;p&gt;Even though Sitecore is a proprietary platform there are open source initiatives from Sitecore. What are those?&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2020-06-26T09:56:26.420" Title="What Open Source initiatives are there from Sitecore?" Tags="|open-source|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8477" PostTypeId="2" ParentId="8476" CreationDate="2017-11-14T09:53:40.613" Score="16" Body="&lt;h2&gt;Sitecore Rocks&lt;/h2&gt;&#xA;&lt;p&gt;Sitecore Rocks integrates directly with Microsoft Visual Studio 2013, 2015 and 2017 and gives developers a fast, streamlined development experience by letting them use the tools that they are familiar with.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/JakobChristensen/Sitecore.Rocks&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Dynamics CRM Security Provider is available&lt;/h2&gt;&#xA;&lt;p&gt;Expose CRM contacts as Sitecore users, CRM marketing lists as Sitecore roles and interact directly with Dynamics CRM.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Dynamics-Security-Provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Dynamics-Security-Provider&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Dynamics CRM Campaign Integration Module&lt;/h2&gt;&#xA;&lt;p&gt;Integrate your CRM system with Sitecore, and enrich the CRM with information about customers' online activity.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Dynamics-Campaign-Integration-Module&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Dynamics-Campaign-Integration-Module&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;SharePoint Connect&lt;/h2&gt;&#xA;&lt;p&gt;SharePoint Connect offers page-level, item-level, and API-level integration. It can be used with Sitecore XP and gives you the tools to harness the advantages of SharePoint's document management features within Sitecore.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/SharePoint-Connect&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/SharePoint-Connect&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Sitecore Instance Manager (SIM)&lt;/h2&gt;&#xA;&lt;p&gt;SIM is an open source tool for managing the local park of Sitecore instances. You can install, locate, maintain, reinstall or delete Sitecore products. It has API and plugin engine so you can extend it for any your need.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Instance-Manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Instance-Manager&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Sitecore Diagnostics Tool&lt;/h2&gt;&#xA;&lt;p&gt;A tool that allows to automatically check Sitecore solutions for common problems and configuration errors.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Diagnostics-Tool&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Diagnostics-Tool&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Sitecore JavaScript Services Samples&lt;/h2&gt;&#xA;&lt;p&gt;This repository contains samples to help you get started with &lt;a href=&quot;https://jss.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore JavaScript Services (JSS)&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You can also use this repo to file issues.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/jss&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/jss&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;WeBlog&lt;/h2&gt;&#xA;&lt;p&gt;The blog module for Sitecore. While getting a little long in the tooth, there is a small group of folks maintaining this still, with plans to modernize the architecture.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/WeTeam/WeBlog&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/WeTeam/WeBlog&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Sitecore Driver for LINQPad&lt;/h2&gt;&#xA;&lt;p&gt;This product lets you use LINQPad as a lightweight environment to run Sitecore code without deploying that code to your server and without having to create a Visual Studio project.&lt;/p&gt;&#xA;&lt;p&gt;The driver was originally developed in order to make it easier to troubleshoot Sitecore search queries, but it can be used to work with other Sitecore APIs, too.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/adamconn/sitecore-linqpad&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/adamconn/sitecore-linqpad&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Sitecore Commerce Connect Starter Kit&lt;/h2&gt;&#xA;&lt;p&gt;The Sitecore Commerce Connect StarterKit is a sample project showing how to create a custom connector for Commerce Connnect, in this case nopCommerce is used as the External eCommerce System.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Commerce-Connect-StarterKit&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Commerce-Connect-StarterKit&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Habitat&lt;/h2&gt;&#xA;&lt;p&gt;An example Sitecore Solution that showcases the Helix architecture principles.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Nyxie&lt;/h2&gt;&#xA;&lt;p&gt;Nyxie is a plugin for Sitecore Commerce that extends the Promotion Engine with a number of useful promotion options&lt;/p&gt;&#xA;&lt;p&gt;It introduces 8 new qualifications and 6 new benefits. In addition these qualifications and benefits are displayed in the business tools in an easy to read way.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/avivasolutionsnl/Nyxie&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/avivasolutionsnl/Nyxie&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Please note that this is a community wiki. Edit this answer to add more projects DO NOT post another answer.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="312" LastEditorUserId="3334" LastEditDate="2020-06-26T09:56:26.420" LastActivityDate="2020-06-26T09:56:26.420" CommentCount="0" CommunityOwnedDate="2017-11-14T09:53:40.613" ContentLicense="CC BY-SA 4.0" />
  <row Id="8478" PostTypeId="5" CreationDate="2017-11-14T10:31:33.687" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-11-14T10:31:33.687" LastActivityDate="2017-11-14T10:31:33.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8479" PostTypeId="4" CreationDate="2017-11-14T10:31:33.687" Score="0" Body="Use for projects, modules where the original source code is made freely available and may be redistributed and modified." OwnerUserId="312" LastEditorUserId="312" LastEditDate="2017-11-14T13:03:42.800" LastActivityDate="2017-11-14T13:03:42.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8480" PostTypeId="2" ParentId="8466" CreationDate="2017-11-14T10:34:49.150" Score="2" Body="&lt;p&gt;This code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().FormHandler(&quot;Redemptions&quot;, &quot;RedemptionForm&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is responsible for generation of this HTML&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;input id=&quot;scController&quot; name=&quot;scController&quot; type=&quot;hidden&quot; value=&quot;Redemptions&quot; class=&quot;has-text&quot;&amp;gt;&#xA;&amp;lt;input id=&quot;scAction&quot; name=&quot;scAction&quot; type=&quot;hidden&quot; value=&quot;RedemptionForm&quot; class=&quot;has-text&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When there are present 2 values in POST request, &lt;em&gt;&quot;scController&quot;&lt;/em&gt; and &lt;em&gt;&quot;scAction&quot;&lt;/em&gt; then &lt;code&gt;Sitecore.Mvc.Pipelines.Request.RequestBegin.ExecuteFormHandler&lt;/code&gt; handler is executed. It executes &lt;em&gt;&quot;scAction&quot;&lt;/em&gt; from &lt;em&gt;&quot;scController&quot;&lt;/em&gt; and adds &lt;code&gt;scOutputGenerated&lt;/code&gt; route value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;requestContext.RouteData.Values[&quot;scOutputGenerated&quot;] = &quot;1&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This flag is responsible later for execution of Sitecore controller. It causes that you get only HTML code from your action, but not from whole page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make POST action to be executed by AJAX and update page with response&lt;/li&gt;&#xA;&lt;li&gt;Remove &lt;code&gt;@Html.Sitecore().FormHandler(&quot;Redemptions&quot;, &quot;RedemptionForm&quot;)&lt;/code&gt; line. (But be aware, that if you have few forms on page then &lt;code&gt;[HttpPost]&lt;/code&gt; actions will be executed in all of them)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-11-14T10:34:49.150" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8481" PostTypeId="2" ParentId="8474" CreationDate="2017-11-14T10:43:44.217" Score="5" Body="&lt;p&gt;I think that your regular expression is not correct. &quot;-&quot; sign in regular expressions is used to match any from range of characters. e.g.: &lt;code&gt;A-Z&lt;/code&gt; or &lt;code&gt;a-z&lt;/code&gt;. You have range that is not closed: &lt;code&gt;ß-&lt;/code&gt;  I removed &quot;-&quot; sign and &lt;a href=&quot;http://regexstorm.net/tester?p=%5E%5BA-Za-z0-9%C3%A4%C3%B6%C3%BC%C3%84%C3%96%C3%9C%C3%9F.%5D%2B%28%3F%3A%5B._-%5D%5BA-Za-z0-9%C3%A4%C3%B6%C3%BC%C3%84%C3%96%C3%9C%C3%9F.%5D%2B%29*%24&amp;amp;i=%C3%84%C3%96asrfga%C3%84&quot; rel=&quot;nofollow noreferrer&quot;&gt;it started to work for me&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;^[A-Za-z0-9äöüÄÖÜß.]+(?:[._-][A-Za-z0-9äöüÄÖÜß.]+)*$&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update following comment of @Marek Musielak. It seems that under &lt;code&gt;-.&lt;/code&gt; @PVM have meant either &lt;code&gt;.&lt;/code&gt; or &lt;code&gt;-&lt;/code&gt; characters. In regular expression these &lt;a href=&quot;http://regexstorm.net/tester?p=%5E%5BA-Za-z0-9%C3%A4%C3%B6%C3%BC%C3%84%C3%96%C3%9C%C3%9F%5C-%5C.%5D%2B%28%3F%3A%5B._-%5D%5BA-Za-z0-9%C3%A4%C3%B6%C3%BC%C3%84%C3%96%C3%9C%C3%9F%5C-%5C.%5D%2B%29*%24&amp;amp;i=%C3%84%C3%96asrfga%C3%84-.&quot; rel=&quot;nofollow noreferrer&quot;&gt;characters should be escaped&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;^[A-Za-z0-9äöüÄÖÜß\-\.]+(?:[._-][A-Za-z0-9äöüÄÖÜß\-\.]+)*$&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastEditorUserId="666" LastEditDate="2017-11-14T12:05:13.017" LastActivityDate="2017-11-14T12:05:13.017" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8482" PostTypeId="2" ParentId="8406" CreationDate="2017-11-14T13:57:54.463" Score="1" Body="&lt;p&gt;Using Fiddler I found that the Experience Profile (which shows each pattern in each profile with a percentage match) calls this API route:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://[hostname]/sitecore/api/ao/v1/contacts/[contactid]/intel/profile-pattern-matches/[profileid]/?&amp;amp;pageSize=10&amp;amp;pageNumber=1&amp;amp;sort=PatternGravityShare%20desc&amp;amp;visitId=[visitid]&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://[hostname]/sitecore/api/ao/v1/contacts/[contactid]/intel/profile-pattern-matches/[profileid]/?&amp;amp;pageSize=10&amp;amp;pageNumber=1&amp;amp;sort=PatternGravityShare%20desc&amp;amp;visitId=[visitid]&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;contactid is obviously the ID of the contact &lt;br/&gt;&#xA;profileid is the ID of the profile you're after &lt;br/&gt;&#xA;visitId is the ID of the last visit you want to include in the call &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That gives you back some JSON, similar to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{  &#xA;   &quot;&amp;lt;Sort&amp;gt;k__BackingField&quot;:[  &#xA;      {  &#xA;         &quot;&amp;lt;Direction&amp;gt;k__BackingField&quot;:2,&#xA;         &quot;&amp;lt;Field&amp;gt;k__BackingField&quot;:&quot;PatternGravityShare&quot;&#xA;      }&#xA;   ],&#xA;   &quot;&amp;lt;Filter&amp;gt;k__BackingField&quot;:[  &#xA;&#xA;   ],&#xA;   &quot;&amp;lt;Messages&amp;gt;k__BackingField&quot;:[  &#xA;&#xA;   ],&#xA;   &quot;&amp;lt;PageSize&amp;gt;k__BackingField&quot;:10,&#xA;   &quot;&amp;lt;PageNumber&amp;gt;k__BackingField&quot;:1,&#xA;   &quot;&amp;lt;TotalResultCount&amp;gt;k__BackingField&quot;:2,&#xA;   &quot;&amp;lt;Data&amp;gt;k__BackingField&quot;:{  &#xA;      &quot;&amp;lt;Dataset&amp;gt;k__BackingField&quot;:{  &#xA;         &quot;profile-pattern-matches&quot;:[  &#xA;            {  &#xA;               &quot;ContactId&quot;:&quot;23cf560d-77df-43e4-ac8c-36d34ef55ef7&quot;,&#xA;               &quot;LatestVisitId&quot;:&quot;1ed2718a-ff18-44aa-b8f2-2c2beb799a00&quot;,&#xA;               &quot;ProfileId&quot;:&quot;b000189d-de2f-473f-817f-7006254f047e&quot;,&#xA;               &quot;PatternId&quot;:&quot;8a1c3791-3f6c-4d17-bac7-56f041faf66c&quot;,&#xA;               &quot;PatternDisplayName&quot;:&quot;Gamer&quot;,&#xA;               &quot;PatternGravityShare&quot;:0.84728744130282752&#xA;            },&#xA;            {  &#xA;               &quot;ContactId&quot;:&quot;23cf560d-77df-43e4-ac8c-36d34ef55ef7&quot;,&#xA;               &quot;LatestVisitId&quot;:&quot;1ed2718a-ff18-44aa-b8f2-2c2beb799a00&quot;,&#xA;               &quot;ProfileId&quot;:&quot;b000189d-de2f-473f-817f-7006254f047e&quot;,&#xA;               &quot;PatternId&quot;:&quot;05943b7f-795d-4954-ae8a-af039814d139&quot;,&#xA;               &quot;PatternDisplayName&quot;:&quot;Business person&quot;,&#xA;               &quot;PatternGravityShare&quot;:0.15271255869717254&#xA;            }&#xA;         ]&#xA;      },&#xA;      &quot;&amp;lt;Lookups&amp;gt;k__BackingField&quot;:{  &#xA;      }&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this, you're probably most likely after the 'PatternGravityShare', where the highest number is the 'winning' pattern. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your use case, you might have to loop through all profiles and find the pattern with the highest 'PatternGravityShare'. &lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2017-11-14T13:57:54.463" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8483" PostTypeId="1" CreationDate="2017-11-14T14:24:58.917" Score="7" ViewCount="196" Body="&lt;p&gt;I have some tricky situation where I have 1-2 TB images and files. Each image can be 5-20 MB in size. I have to use them on Sitecore website. What is the best approach for uploading and handling such a huge amount of assets in Sitecore 8.2 or 9 website?&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2017-11-14T16:22:01.340" Title="How to handle 1-2 TB images in Sitecore media library" Tags="|sitecore-client|media-library|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8484" PostTypeId="1" AcceptedAnswerId="8824" CreationDate="2017-11-14T15:27:18.813" Score="7" ViewCount="469" Body="&lt;p&gt;I have a structure in which we have a field defined as &quot;File&quot; data type. The requirement is to point this to a specific location within &quot;Media Library&quot;. We have done this by specifying guid of the folder in source. I have tried path as well instead of guid. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Using Content Editor) When I create an instance of the template and click on &quot;Open file&quot; link to select a file. I get &quot;Browse&quot; and &quot;Search&quot; option. File selection works fine when I use Browse tab. When I use &quot;Search&quot; tab to select a file I get &quot;The media item could not be found&quot; error (screenshot below). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/zn8Ap.png&quot; alt=&quot;![The media item could not be found - screenshot&quot;&gt;]&lt;a href=&quot;https://i.stack.imgur.com/zn8Ap.png&quot; rel=&quot;noreferrer&quot;&gt;1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could not find anything in the logs either to help debug. &#xA;Has anyone faced this issue? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I forgot to mention that selection of search works fine when the source is not specified.  &lt;/p&gt;&#xA;" OwnerUserId="2685" LastEditorUserId="2685" LastEditDate="2017-12-05T16:36:11.560" LastActivityDate="2023-11-13T03:43:13.643" Title="&quot;Search Tab&quot; for &quot;File&quot; data type gives &quot;The media item could not be found&quot;" Tags="|content-search|content-editor|media-library|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8485" PostTypeId="2" ParentId="8483" CreationDate="2017-11-14T16:22:01.340" Score="4" Body="&lt;p&gt;Individually, your sizes are not of major concern, however, once you add them all up and it gets into 1-2 TB of size, I would definitely look into alternatives.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are several options, but they all depend on your Sitecore version, cloud/service preferences, long term needs, budget, etc. Here are just a few:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://damforsitecore.com&quot; rel=&quot;noreferrer&quot;&gt;DAM - Digital Asset Management for Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/Azure_CDN_Connector.aspx&quot; rel=&quot;noreferrer&quot;&gt;Azure CDN Connector marketplace module&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_CDN_Connector.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore CDN Connector&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are just to name a few, as I am sure there are many other services and modules that could help.&lt;/p&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2017-11-14T16:22:01.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8486" PostTypeId="1" CreationDate="2017-11-14T16:46:03.760" Score="3" ViewCount="525" Body="&lt;p&gt;In the xDB world (ie in 7.5/8) we created a typical MVC controller &amp;amp; view to allow us to get information to the browser via a json feed. Example data would be custom facets we could import from other external systems into xDB, exposed to the browser via querying the xDB api with an identifier and then retrieving the facet data. Finally we'd render for the browser via a WebApi endpoint/MVC view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the xConnect world, is the best way to get this data via the xConnect client directly, or to expose the data as we did before through controllers and views exposed from the Sitecore application (and hence xConnect). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any significant performance difference between the 2 approaches?&lt;/p&gt;&#xA;" OwnerUserId="443" LastActivityDate="2017-11-14T16:56:10.507" Title="What is the preferable way to get contact information out of xConnect and to a consumer?" Tags="|xconnect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8487" PostTypeId="2" ParentId="8486" CreationDate="2017-11-14T16:56:10.507" Score="5" Body="&lt;p&gt;The purpose of the xConnect services layer is specifically for you to be able to accomplish this type of querying directly, without any need to involve your content delivery instances. xDB is still there, we still live in the xDB world, xConnect is an API layer for speaking with data in xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is one of the reasons that our secure-by-default installation runs xConnect services on SSL and uses certificate authentication so that you can be sure that only authorized connections are made to this layer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need data from xDB, you should be sending it through, and retrieving it from, the xConnect services (Collection and Search respectively)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Developer documentation for using the Search service is available here:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/search/index.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/search/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that from that documentation, specific to your custom facet example:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;It is not possible to query events and facets directly - you must&#xA;  structure your query around contacts or interactions&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-11-14T16:56:10.507" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8488" PostTypeId="1" CreationDate="2017-11-14T18:33:02.297" Score="2" ViewCount="1120" Body="&lt;p&gt;I am using variant Date field to display format as &quot;25 September 2017&quot;, when language changed to Arabic it displays Hijri Date, is there a way to control the format to show gregorian calendar with the month names translated to arabic?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2017-11-14T19:43:40.000" Title="Variant Date Field Format" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8489" PostTypeId="2" ParentId="8488" CreationDate="2017-11-14T19:43:40.000" Score="5" Body="&lt;p&gt;Dates are rendered as culture-specific unless specified explicitly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA provide date format from variant item to field renderer and later Sitecore handle everything.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/FyG4k.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FyG4k.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing you can change is format:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/c4VMj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c4VMj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you cannot fix it with different variant of language, then you will have to provide your &lt;code&gt;culture&lt;/code&gt; manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a class in Sitecore called &lt;code&gt;DataRendered&lt;/code&gt; used by FieldRendered to render a date. Notice that there is a way of providing &lt;code&gt;culture&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ErUyF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ErUyF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What does it mean? That you can provide an additional parameter &lt;code&gt;culture&lt;/code&gt; to a field rendered and explicitly say what your culture should be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, SXA does not provide you an ability to inject custom parameters to field renderer (good idea to add this in the future).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a processor to override:&#xA;&lt;code&gt;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderVariantField&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find following method&#xA;&lt;code&gt;protected virtual Control CreateFieldRenderer(Sitecore.XA.Foundation.RenderingVariants.Fields.VariantField variantField, Item item, bool isControlEditable, bool isFromComposite)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and extend &lt;code&gt;control.Parameters&lt;/code&gt; string with your additional parameter. It depends on you where you get it (item, configuration).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good luck.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-11-14T19:43:40.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8490" PostTypeId="1" AcceptedAnswerId="8823" CreationDate="2017-11-14T22:13:28.253" Score="2" ViewCount="116" Body="&lt;p&gt;Does anyone know why when importing a language file I am only given the option to choose english. Every two weeks I work with our translations provider and send them english items that are needed for translation and normally when I import them back in, I get the option of English and Spanish, for which I only select Spanish so I don't accidentally update English items that have been updated since they went out for translation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last batch, when I import is only giving me the English option when importing. I have viewed the xml file and both  and  nodes exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XrDDh.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XrDDh.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="901" LastActivityDate="2017-12-05T16:31:56.887" Title="Only English Option when Importing a Language File" Tags="|multilingual|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8491" PostTypeId="1" AcceptedAnswerId="8516" CreationDate="2017-11-15T10:35:15.827" Score="5" ViewCount="299" Body="&lt;p&gt;So we have a common setup of Sitecore Commerce running.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2 CD servers&lt;/li&gt;&#xA;&lt;li&gt;1 CM server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;All of these run the Commerce Authoring services locally (all of the above are pretty much configured identically), pointing to a shared database cluster behind the scenes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the problem is this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During the day, orders will tick in on CD1 and CD2 and go through with no issue. However, the Order Management interface never picks up on this - we have to go manually rebuild the &lt;code&gt;orders&lt;/code&gt; index whenever we want to see what new orders have arrived. The reason is half-obvious, the event of creating a new order is somehow not propagated to the other servers in this little family. The question is why not, and how should we configure this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ScalabilitySettings is enabled as one would require, in this type of setup&lt;/li&gt;&#xA;&lt;li&gt;I see log entries on CD1 and CD2 when orders come in, for &quot;updating order index&quot;. So the individual CDs get their indexes updated. This doesn't help our client however, who naturally only works on the CM box.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So I'm guessing there's something more to it, when it comes to Commerce. What am I missing here?&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-11-16T13:46:03.163" LastActivityDate="2018-03-04T15:06:51.413" Title="Getting Order Index to update on CM box, in a multi-box Sitecore Commerce setup" Tags="|lucene|sitecore-commerce|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8492" PostTypeId="1" AcceptedAnswerId="8517" CreationDate="2017-11-15T13:20:33.333" Score="4" ViewCount="948" Body="&lt;p&gt;I am trying to use xConnect in a .NET Core application. &#xA;So i started of by copy pasting the method from the documentation that does this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/xconnect-client-api-overview/get-client-outside-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/xconnect-client-api-overview/get-client-outside-sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I changed the Thumbprint to the Thumbprint of the certificate First.xconnect_client in the Personal tab in the certificate manager.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; // Valid certificate thumbprints must be passed in&#xA; CertificateWebRequestHandlerModifierOptions options = CertificateWebRequestHandlerModifierOptions.Parse(&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=‎‎‎0b4967ff4e0243c84e6cefafc107058f42bb91d4&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I changed the paths in the 3 client creation lines to my xconnect installation (first.xconnect)  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; // This overload takes three client end points - collection, search, and configuration&#xA;var collectionClient = new CollectionWebApiClient(new Uri(&quot;https://first.xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;var searchClient = new SearchWebApiClient(new Uri(&quot;https://first.xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;var configurationClient = new ConfigurationWebApiClient(new Uri(&quot;https://first.xconnect/configuration&quot;), clientModifiers, new[] { certificateModifier });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I added some code inside the using to check if i could actually write to xConnect.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sadly on the 3rd non commented line of code i get an exception.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var certificateModifier = new CertificateWebRequestHandlerModifier(options);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;System.IO.FileNotFoundException: 'Could not load file or assembly 'Sitecore.Framework.Conditions, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have however included Sitecore.Framework.Conditions.dll in my references.&lt;br&gt;&#xA;I pulled this file from the xConnect installation bin folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does any one know what i am doing wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;br&gt;&#xA;I have added these references:&lt;br&gt;&#xA;- First.Model (this is my custom model)&lt;br&gt;&#xA;- Sitecore.Framework.Conditions&lt;br&gt;&#xA;- Sitecore.XConnect&lt;br&gt;&#xA;- Sitecore.XConnect.Client&lt;br&gt;&#xA;- Sitecore.XConnect.Collection.Model&lt;br&gt;&#xA;- Sitecore.Xdb.Common.Web&lt;br&gt;&#xA;- System.Interactive.Async.Providers  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added these packages:&lt;br&gt;&#xA;- Microsoft.AspNetCore.All&lt;br&gt;&#xA;- Microsoft.EntityFrameworkCore&lt;br&gt;&#xA;- Newtonsoft.Json&lt;br&gt;&#xA;- System.Net.Http.Formatting.Extension  &lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="2555" LastEditDate="2017-11-15T13:45:08.240" LastActivityDate="2017-11-17T14:16:22.560" Title="xConnect API in a non-sitecore context" Tags="|xconnect|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="8493" PostTypeId="2" ParentId="8491" CreationDate="2017-11-15T14:52:37.400" Score="3" Body="&lt;p&gt;Orders indexing enables searching order information, including when an order is created or updated. This index is used by the search function in the Customer and Order Manager business tool. The Orders search index is named commerce_orders_index . Its crawler and strategy are defined in the Sitecore Commerce Engine Connect component. Every time an order is created or updated, the Commerce Engine updates the data in the OrdersIndex list, which causes the index to be updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The configuration for the index crawler is located in the following files, for Lucene or Solr:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Commerce.Engine.Connectors.Index.Lucene.config&#xA;Sitecore.Commerce.Engine.Connectors.Index.Solr.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The configuration for the Orders index strategy is located in file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Commerce.Engine.Connectors.Orders.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;By default, the index is set to be run every ten minutes.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Index fields:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;orderid : the order ID.&lt;/li&gt;&#xA;&lt;li&gt;orderconfirmationid : the order confirmation ID.&lt;/li&gt;&#xA;&lt;li&gt;orderdate : the date the order was created.&lt;/li&gt;&#xA;&lt;li&gt;orderpaymentstatus : the payment status of the order.&lt;/li&gt;&#xA;&lt;li&gt;status : the status of the order.&lt;/li&gt;&#xA;&lt;li&gt;email : the email of the order customer.&lt;/li&gt;&#xA;&lt;li&gt;customerid : the id of the order customer.&lt;/li&gt;&#xA;&lt;li&gt;environment : the environment where the order was created.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html#Concepts/c_M_IndexingOrders.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also Sitecore Support &lt;strong&gt;strongly recommended&lt;/strong&gt; to use Solr instead of Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How you can setting up Solr, you can find &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html#Concepts/c_M_SettingUpSolr.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-11-15T14:52:37.400" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8494" PostTypeId="1" CreationDate="2017-11-15T15:24:18.157" Score="3" ViewCount="2192" Body="&lt;p&gt;I have a webmethod&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[WebMethod]&#xA;public static string GetVendorData(List&amp;lt;VendorData&amp;gt; LstVendorData)&#xA;{&#xA;       //something&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and call it from a ajax method&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $.ajax({&#xA;      type: &quot;POST&quot;,&#xA;      url: &quot;/WebMethods/AjaxProcessorPage.aspx/GetVendorData&quot;,&#xA;      ...&#xA;      ....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works fine form Content Authoring, but doesn't work on Content delivery.&#xA;I included &lt;em&gt;/WebMethods/AjaxProcessorPage.aspx&lt;/em&gt; in the setting name=&quot;ignoreUrlprefixes&quot; ... also, but not luck. What could be the issue?&lt;/p&gt;&#xA;" OwnerUserId="2692" LastActivityDate="2017-12-15T16:29:55.603" Title="call to webmethod using ajax doesn't work" Tags="|ajax|" AnswerCount="2" CommentCount="3" ClosedDate="2017-12-16T10:30:11.363" ContentLicense="CC BY-SA 3.0" />
  <row Id="8495" PostTypeId="2" ParentId="8494" CreationDate="2017-11-15T15:39:40.883" Score="0" Body="&lt;p&gt;Try this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;[WebMethod]&#xA;public static string GetVendorData(List&amp;lt;VendorData&amp;gt; LstVendorData)&#xA;{&#xA;       //something&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$.ajax({&#xA;      type: &quot;POST&quot;,&#xA;      url: &quot;/WebMethods/AjaxProcessorPage.aspx/GetVendorData&quot;,&#xA;      data: JSON.stringify(params),&#xA;      ....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2017-11-15T15:46:53.007" LastActivityDate="2017-11-15T15:46:53.007" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8496" PostTypeId="1" CreationDate="2017-11-15T15:45:30.907" Score="1" ViewCount="1797" Body="&lt;p&gt;Is there a way to build responsive navigation using build in navigation component in Sitecore SXA? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to apply &lt;code&gt;navigation-mobile&lt;/code&gt; class, but it doesn't adapt the mobile layout. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="2727" LastEditDate="2018-01-14T10:24:59.747" LastActivityDate="2018-04-26T18:03:14.140" Title="How to setup responsive navigation using Sitecore SXA navigation component?" Tags="|sxa|responsive-design|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8497" PostTypeId="2" ParentId="8494" CreationDate="2017-11-15T15:50:01.120" Score="0" Body="&lt;p&gt;Here are a few things you can try:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Use a tool like postman or whatever is your preference to emulate a post to that url. You need to check whether you can reach it or not. Andrei's answer suggest an approach calling directly with an ajax call which helps aslo.&#xA;2- In case you can't reach your next try is the routing table to see why you can't reach that method. &lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-11-15T15:50:01.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8498" PostTypeId="1" AcceptedAnswerId="8501" CreationDate="2017-11-15T16:50:17.817" Score="4" ViewCount="2610" Body="&lt;p&gt;I'm trying to do this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;queryable.Where(i =&amp;gt; i[&quot;_template&quot;] == templateId);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;templateId&lt;/code&gt; is a Guid string, but it doesn't work. However, this &lt;em&gt;does&lt;/em&gt; work:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;queryable.Where(i =&amp;gt; i[&quot;_templatename&quot;] == templatename);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What do I need to do in order to filter by ID?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. I realise I can use the typed template ID property, but I need the field name to be dynamic.&lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2017-11-15T17:11:35.037" Title="Sitecore Search: how to query by Id using the indexer on the SearchResultItem" Tags="|content-search|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8499" PostTypeId="1" CreationDate="2017-11-15T17:03:21.210" Score="3" ViewCount="123" Body="&lt;p&gt;I want to create a report where I want to get the list of all user identified, pages views count, all the pages views by user and timestamp.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest the best way to track user journey.&lt;/p&gt;&#xA;" OwnerUserId="2694" LastActivityDate="2017-11-15T17:03:21.210" Title="Get List of all user journey" Tags="|xdb|experience-analytics|tracking|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8500" PostTypeId="2" ParentId="8498" CreationDate="2017-11-15T17:11:26.903" Score="0" Body="&lt;p&gt;Can't you do something mode along the lines of:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var predicate = PredicateBuilder.True&amp;lt;T&amp;gt;();&#xA;&#xA;predicate = predicate.Where(i =&amp;gt; i.TemplateId = templateId);&#xA;&#xA;var results = queryable.Where(predicate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is more info on this here: &#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/developing/developing%20with%20sitecore/search%20and%20item%20buckets/linq%20to%20sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore%20experience%20platform/developing/developing%20with%20sitecore/search%20and%20item%20buckets/linq%20to%20sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-11-15T17:11:26.903" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8501" PostTypeId="2" ParentId="8498" CreationDate="2017-11-15T17:11:35.037" Score="7" Body="&lt;p&gt;This probably isn't working because the value stored inside &lt;code&gt;i[&quot;_template&quot;]&lt;/code&gt; is the parsed GUID value from the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try using:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.ContentSearch.Utilities.IdHelper.NormalizeGuid(templateId)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will convert any GUID to the format which is stored inside the search index.&lt;/p&gt;&#xA;" OwnerUserId="720" LastActivityDate="2017-11-15T17:11:35.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8502" PostTypeId="1" AcceptedAnswerId="8504" CreationDate="2017-11-15T17:18:39.237" Score="4" ViewCount="249" Body="&lt;p&gt;I would like to avoid my content comrades from being unhappy and overwrite changes. Can I skip content from JSS package?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good day.&lt;/p&gt;&#xA;" OwnerUserId="2674" LastActivityDate="2017-11-15T18:15:53.723" Title="Want to skip content during code-first deployment" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8503" PostTypeId="1" AcceptedAnswerId="8506" CreationDate="2017-11-15T17:35:45.337" Score="4" ViewCount="589" Body="&lt;p&gt;I'm trying to implement a tagging functionality that allows the content editor to add tags for a specific component and the c# to search for items containing a given set of tags&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say our Sitecore Lucene index looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;x = [&quot;csharp&quot;, &quot;dotNet&quot;, &quot;java&quot;, &quot;vbnet&quot;, &quot;c&quot;]&#xA;y = [&quot;csharp&quot;, &quot;computers&quot;, &quot;dotNet&quot;]&#xA;z = [&quot;java&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to perform a search query like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[&quot;csharp&quot;, &quot;dotNet&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and have it return &lt;strong&gt;x&lt;/strong&gt; and &lt;strong&gt;y&lt;/strong&gt;, but &lt;strong&gt;y&lt;/strong&gt; will be scored/ranked higher than &lt;strong&gt;x&lt;/strong&gt; because it has more matches than any other items in the index...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm familiar with Elastic Search(which is built on Lucene) and I know the way to do this is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;terms&quot; : {&#xA;      &quot;tags&quot; : [ &quot;csharp&quot;, &quot;dotNet&quot; ]&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but unsure as the same can be achieved using the ContentSearchAPI in Sitecore Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My current code is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        var tags = GetTagsFromSomewhere();&#xA;&#xA;        using (var context = SearchIndexResolver.GetIndex(ContextItem).CreateSearchContext())&#xA;        {&#xA;            var queryable = context.GetQueryable&amp;lt;CustomType&amp;gt;();&#xA;&#xA;            foreach (var tag in tags)&#xA;            {&#xA;                queryable = queryable&#xA;                    .Where(i =&amp;gt; i.Tags.Contains(tag));&#xA;&#xA;                var results = queryable.GetResults();&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="2696" LastActivityDate="2017-11-15T19:58:14.010" Title="ContentSearchAPI items array relevancy ranking" Tags="|content-search|solr|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8504" PostTypeId="2" ParentId="8502" CreationDate="2017-11-15T18:15:53.723" Score="3" Body="&lt;p&gt;Two options for this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Simply exclude content from your code-first manifest. You need to explicitly add content and routes in your manifest files (&lt;a href=&quot;https://github.com/Sitecore/jss/blob/master/samples/advanced-sample-react/data/routes.sitecore.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;example here&lt;/a&gt;), so if you don't add them, there will be no content to import.&lt;/li&gt;&#xA;&lt;li&gt;Use Sitecore security. The import process executes under a configured user context (&lt;code&gt;sitecore\jssimport&lt;/code&gt; by default), and will skip any items which that user does not have write access to. Out of the box, JSS applies a &lt;a href=&quot;https://jss.sitecore.net/#/dev-workflows?id=content-workflow-and-developer-overwrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;workflow&lt;/a&gt; to created content items which will prevent the import from overwriting items that have been edited, unless explicit access is given to allow overwrite again. Or, you can use the &lt;a href=&quot;https://jss.sitecore.net/#/dev-workflows?id=front-end-developer-vs-sitecore-developer-item-ownership&quot; rel=&quot;nofollow noreferrer&quot;&gt;security presets&lt;/a&gt; provided by JSS to deny write access to that user entirely, or configure the item security yourself, if you don't want content imported at all.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="248" LastActivityDate="2017-11-15T18:15:53.723" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8505" PostTypeId="2" ParentId="8146" CreationDate="2017-11-15T18:39:24.197" Score="1" Body="&lt;p&gt;For the solution to the Request / Response errors, please see my comment under my question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The real solution to this problem was the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;First we realized we were indexing way too many items without layout, so we added a &lt;code&gt;HasLayoutInboundFilter&lt;/code&gt;. Thanks to Coveo for suggesting this and providing the samples:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor type=&quot;Coveo.SearchProvider.CoveoInboundFilters.HasLayoutInboundFilter, Coveo.SearchProviderBase&quot;&amp;gt;&#xA;    &amp;lt;ApplyToPaths&amp;gt;/sitecore/content&amp;lt;/ApplyToPaths&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We deleted the Sitecore content indexes from the admin platform UI and recreated them with just one crawler pointing to one item. The rebuild succeeded. We gradually increased this to hundreds and thousands of items and the rebuild still works. There is still a little delay at the beginning, but usually not much more than 15 seconds unless I'm debugging. We also added a media library crawler with &lt;code&gt;&amp;lt;patch:delete&amp;gt;&lt;/code&gt; inside it, because the main search provider config has a crawler for the media library files, which we didn't want or need. Here is what that looks like - you would add this to your custom search provider config above the &lt;code&gt;&amp;lt;scheduling&amp;gt;&lt;/code&gt; node:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;configuration&amp;gt;&#xA;    &amp;lt;indexes&amp;gt;&#xA;      &amp;lt;index id=&quot;Coveo_master_index&quot;&amp;gt;&#xA;        &amp;lt;locations&amp;gt;&#xA;          &amp;lt;crawler name=&quot;ContentCrawler&quot; type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;database&amp;gt;master&amp;lt;/database&amp;gt;&#xA;            &amp;lt;root&amp;gt;/sitecore/content/Sites/Redacted/Website/News and Media/All News/2017&amp;lt;/root&amp;gt;&#xA;            &amp;lt;stopOnError&amp;gt;true&amp;lt;/stopOnError&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;          &amp;lt;crawler name=&quot;MediaLibraryCrawler&quot; type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;      &amp;lt;index id=&quot;Coveo_web_index&quot;&amp;gt;&#xA;        &amp;lt;locations&amp;gt;&#xA;          &amp;lt;crawler name=&quot;ContentCrawler&quot; type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;database&amp;gt;web&amp;lt;/database&amp;gt;&#xA;            &amp;lt;root&amp;gt;/sitecore/content/Sites/Redacted/Website/News and Media/All News/2017&amp;lt;/root&amp;gt;&#xA;            &amp;lt;stopOnError&amp;gt;true&amp;lt;/stopOnError&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;          &amp;lt;crawler name=&quot;MediaLibraryCrawler&quot; type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Refactored custom computed index field code using Glass Mapper which has increased the rebuild speed.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Additionally there were some &quot;corrupt&quot; Sitecore items in our master/web databases that were causing the rebuilds to error out. Coveo Support outlined which items appeared corrupt. You could also figure this out by checking the Sitecore logs as the rebuild happens.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="10" LastEditDate="2020-06-11T14:50:08.560" LastActivityDate="2020-06-11T14:50:08.560" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8506" PostTypeId="2" ParentId="8503" CreationDate="2017-11-15T19:27:01.693" Score="4" Body="&lt;p&gt;It's possible to implement. Try something like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var tags = GetTagsFromSomewhere();&#xA;&#xA;            using (var context = SearchIndexResolver.GetIndex(ContextItem).CreateSearchContext())&#xA;            {&#xA;                var queryable = context.GetQueryable&amp;lt;CustomType&amp;gt;();&#xA;&#xA;                var predicat = PredicateBuilder.False&amp;lt;BaseIndexModel&amp;gt;();&#xA;&#xA;                foreach (var tag in tags)&#xA;                {&#xA;                    predicat = predicat.Or(q =&amp;gt; q.Tags.Contains(tag).Boost(1.5f));&#xA;                }&#xA;&#xA;                queryable = queryable.Where(predicat);&#xA;&#xA;                var results = queryable.GetResults();&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It works for me locally (similar code).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've a bit updated your code with added a boosting for a condition. In general the boosting allows us to increase a wight of coditions (or Items, Fields. Read more about &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/search_result_boosting&quot; rel=&quot;noreferrer&quot;&gt;Search result boosting&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I've used a PredicateBuilder, which allows us to build queries more flexible. You can read, for example, the following article about using PredicateBuilder: &lt;a href=&quot;https://getfishtank.ca/blog/building-dynamic-content-search-linq-queries-in-sitecore-7&quot; rel=&quot;noreferrer&quot;&gt;Building Dynamic Content Search LINQ Queries In Sitecore&lt;/a&gt; by Dan Cruickshank&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-11-15T19:58:14.010" LastActivityDate="2017-11-15T19:58:14.010" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8507" PostTypeId="1" AcceptedAnswerId="8633" CreationDate="2017-11-15T19:33:24.713" Score="5" ViewCount="842" Body="&lt;p&gt;Anyone know if it is possible to post a single form with multiple buttons and each button post to a different controller action in Sitecore?&#xA;On my scenario I have a controller which has 3 actions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- load of the page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- httppost from button A&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- httppost from button B&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using an using (Html.BeginForm()) to declare my form and I'm declaring the buttons like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;button type=&quot;Submit&quot; id=&quot;btn&quot; formaction=&quot;MyFormActionA&quot;  formmethod=&quot;POST&quot; class=&quot;btn btn-large&quot;&amp;gt;&#xA;&amp;lt;button type=&quot;Submit&quot; id=&quot;btn&quot; formaction=&quot;MyFormActionB&quot;  formmethod=&quot;POST&quot; class=&quot;btn btn-large&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem with this approach is that it posts to a different url and doesn't really work.&#xA;I know that there are ways around that by setting the form action using javascript and things like that.&#xA;What I'm wondering is whether it is possible to achieve that using this approach or a similar approach where one can post to different actions withing the same form.&#xA;As far as I understand it is possible to do this with ASP.NET MVC but not sure on Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-11-15T21:03:59.807" LastActivityDate="2017-11-23T16:57:59.047" Title="Posting a single form with multiple buttons in a Sitecore page. Is it possible?" Tags="|mvc|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8508" PostTypeId="1" CreationDate="2017-11-16T00:32:34.197" Score="3" ViewCount="321" Body="&lt;p&gt;I have a directory structure that looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-- Folder 1&#xA;---- Folder 2&#xA;------- File 1&#xA;---- Folder 3&#xA;------- File 1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And so on with Folder 1 being the parent folder. When I upload the files from zip, they are uploaded and have their template set as their file extension (docx, pdf, etc.) but I would like to upload them just as a File type with custom fields. I created a custom template that is based on the System/media/File template but then how can I apply that to all those files without going into each one and doing it? It would take a long time to do it manually.&lt;/p&gt;&#xA;" OwnerUserId="2283" LastActivityDate="2017-11-16T00:32:34.197" Title="How to bulk upload media files and set each item's template to custom template?" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8510" PostTypeId="1" CreationDate="2017-11-16T04:54:43.080" Score="2" ViewCount="462" Body="&lt;p&gt;I am analysing on the possibility of creating a web application using Sitecore where the web application is pure thin client using js based framework (knockout or angular) which can consume the content via services instead of a traditional sitecore mvc based application. This will be a loosely couple application where the front end application doesnot need to know that data is coming from sitecore. Is it possible in sitecore or does it support only sitecore mvc based application. I am fine with creating an intermediatery service which will get data from sitecore and pass it to front end.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="69" LastEditDate="2017-11-16T19:00:51.947" LastActivityDate="2017-11-16T19:00:51.947" Title="Service based architecture in sitecore" Tags="|sxa|sitecore-api|sitecore-services-client|jss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8511" PostTypeId="1" AcceptedAnswerId="8542" CreationDate="2017-11-16T08:36:52.300" Score="3" ViewCount="293" Body="&lt;p&gt;I want to prevent goal from triggering multiple times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I do?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggest?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mNHA3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mNHA3.png&quot; alt=&quot;The rule doesn&amp;#39;t work!&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9Xz8x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9Xz8x.png&quot; alt=&quot;The rule doesn&amp;#39;t work!&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2606" LastEditorUserId="2577" LastEditDate="2017-11-16T09:27:58.230" LastActivityDate="2017-11-18T16:24:54.270" Title="Prevent repetition from triggering goal" Tags="|goals|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8513" PostTypeId="1" CreationDate="2017-11-16T10:26:18.943" Score="10" ViewCount="849" Body="&lt;p&gt;This is a follow on from questions about how best to get data out of xConnect (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8486/what-is-the-preferable-way-to-get-contact-information-out-of-xconnect-and-to-a-c&quot;&gt;What is the preferable way to get contact information out of xConnect and to a consumer?&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How should you approach scaling up your hardware and infrastructure to accommodate high numbers of concurrent users when using the xConnect client? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would you need: more xConnect service nodes / bigger xConnect service nodes / more powerful Sql instances / ??? ?&#xA;Or a combination of all of the above?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Presumably different usage patterns influence the decision e.g. running searches against the api vs something like lots of &lt;code&gt;client.Get(contactReference, new ExpandOptions() { FacetKeys = { &quot;Personal&quot; } });&lt;/code&gt; and corresponding &lt;code&gt;client.Submit();&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd be more interested in the latter - &lt;code&gt;Get&lt;/code&gt;ting and &lt;code&gt;Submit&lt;/code&gt;ing information against a contact into custom facets.&lt;/p&gt;&#xA;" OwnerUserId="443" LastActivityDate="2017-12-12T16:05:55.617" Title="How best can you scale xConnect to handle high traffic?" Tags="|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8514" PostTypeId="1" CreationDate="2017-11-16T12:27:36.447" Score="6" ViewCount="115" Body="&lt;p&gt;I'm trying to setup EXM 3.5 on my Sitecore 8.2u5 instance, which uses a SQL 2014 server. The databases that EXM 3.5 delivers and according to its installation guide you have to attach, seem to be made with SQL 2016, and therefore cannot be attached to a SQL 2014 instance. &#xA;Anyone knows of a work around? Or is SQL 2014 just not supported for EXM 3.5?&lt;/p&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2017-12-28T23:45:18.613" Title="How do I get EXM 3.5 databases on SQL 2014?" Tags="|exm|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8515" PostTypeId="2" ParentId="8473" CreationDate="2017-11-16T12:47:40.793" Score="0" Body="&lt;p&gt;SOLUTION:&#xA;Besides the usefull help&quot;(thanks Hishaam), it still didn't work inside the content editor.&#xA;Answer: It's a ajax async call, so start a new procedure (DownloadFile).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tip, use =&gt; sitecore.io &amp;lt;= TempFolder.Folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In code it looks like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Linq;&#xA;using Sitecore.Shell.Framework.Commands;&#xA;using Sitecore.Web.UI.Sheer;&#xA;using Sitecore;&#xA;using Sitecore.Data;&#xA;using System.Text;&#xA;using System.IO;&#xA;using Sitecore.IO;&#xA;&#xA;  public class ExportRedirectsListCmd : Command&#xA;  {&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;     var filename = &quot;RedirectsOutput_&quot; + DateTime.Now.ToString(&quot;yyyyMMdd_HHmm&quot;) + &quot;.csv&quot;;&#xA;            // Combined name of Sitecore temp path and filename &#xA;     var file = FileUtil.MapPath(Path.Combine(TempFolder.Folder, filename));&#xA;&#xA;        //Get the link information and write to disk &#xA;        var sb = new StringBuilder();&#xA;        sb.AppendLine($&quot;{&quot;Redirecttype&quot;},{&quot;Sourcelink Url&quot;}, {&quot;Targetlink Url&quot;}&quot;);&#xA;        File.WriteAllText(file, sb.ToString());&#xA;&#xA;        // create a new (sitecore) async run to deploy a download insite the content editor &#xA;        var args = new ClientPipelineArgs();&#xA;        args.CustomData.Add(&quot;File&quot;, file ?? &quot;&quot;);&#xA;        args.CustomData.Add(&quot;Path&quot;, TempFolder.Folder ?? &quot;&quot;);&#xA;        args.CustomData.Add(&quot;FileName&quot;, filename ?? &quot;&quot;);&#xA;        Context.ClientPage.Start(this, &quot;DownloadFile&quot;, args);&#xA;        Context.ClientPage.Start(this, &quot;DeleteOldFiles&quot;, args);&#xA;   }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// This procedure run after the execute. Now it's possible to fire some code to the UI.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// inject in args the string filepath with file name&#xA;    /// args.CustomData[&quot;file&quot;] = &#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    private void DownloadFile(ClientPipelineArgs args)&#xA;    {&#xA;        if (!Context.IsAdministrator)&#xA;        {&#xA;            SheerResponse.Alert(&quot;Only administrators can download files.&quot;);&#xA;        }&#xA;        else&#xA;        {&#xA;            var file = args.CustomData[&quot;File&quot;] as string;&#xA;            SheerResponse.Download(file);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With all credits to Paul for this solution. Good Luck&lt;/p&gt;&#xA;" OwnerUserId="2309" LastActivityDate="2017-11-16T12:47:40.793" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8516" PostTypeId="2" ParentId="8491" CreationDate="2017-11-16T13:40:18.827" Score="2" Body="&lt;h2&gt;Problem found and isolated to Lucene index&lt;/h2&gt;&#xA;&lt;p&gt;So I finally managed to track this one down. It is related to the fact that we run on Lucene indexes so if you're running the recommended SOLR configuration, this problem will not affect you.&lt;/p&gt;&#xA;&lt;p&gt;The problem lies in &lt;code&gt;OrdersIntervalAsynchronousStrategy&lt;/code&gt; which was defined and deployed to all our instances, CM, CD1 and CD2.&lt;/p&gt;&#xA;&lt;p&gt;What this strategy does, in simple terms, is this:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Get a list of orders to index. This list is pulled from Content Authoring&lt;/li&gt;&#xA;&lt;li&gt;Index these orders&lt;/li&gt;&#xA;&lt;li&gt;Remove these orders from the list&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;As witnessed by this code:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;    ManagedList ordersToIndex = IndexUtility.GetOrdersToIndex(environment, this.IndexListName, 0, this.ItemsToTake);&#xA;...&#xA;    IndexCustodian.IncrementalUpdate(this.Index, (IEnumerable&amp;lt;IIndexableUniqueId&amp;gt;) list1.Select&amp;lt;Order, IndexableUniqueId&amp;lt;CommerceOrderIndexableItem&amp;gt;&amp;gt;((Func&amp;lt;Order, IndexableUniqueId&amp;lt;CommerceOrderIndexableItem&amp;gt;&amp;gt;) (order =&amp;gt; new IndexableUniqueId&amp;lt;CommerceOrderIndexableItem&amp;gt;(this.TranslateOrder(order, artifactId)))).ToList&amp;lt;IndexableUniqueId&amp;lt;CommerceOrderIndexableItem&amp;gt;&amp;gt;());&#xA;...&#xA;    IndexUtility.ClearIndex(environment, this.IndexListName, ordersToIndex.Items.Select&amp;lt;CommerceEntity, string&amp;gt;((Func&amp;lt;CommerceEntity, string&amp;gt;) (item =&amp;gt; item.Id)).ToList&amp;lt;string&amp;gt;());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And what was happening was; that since this ran on all instances - a CD server would (sometimes) pick up an order and add it to the index BEFORE the CM server saw the order. And since the strategy REMOVES the order from the list of orders to be indexed - CM would never see it.&lt;/p&gt;&#xA;&lt;p&gt;What made this extra hard to debug was the fact that, in all cases we had - the log files would throw us off course. CD2 would get an order, and nothing in the logs would tell us why it would not get indexed. Turned out, CD1 picked it up just minutes before CM would have seen it.&lt;/p&gt;&#xA;&lt;h2&gt;The fix&lt;/h2&gt;&#xA;&lt;p&gt;To get around this, the index strategy has been disabled on the CD servers of the environment. As far as I can tell, this index serves no purpose on CD. If this turns out to be a problem, a version of the strategy WITHOUT the list removal will need to be written, and deployed for CD servers.&lt;/p&gt;&#xA;&lt;p&gt;I modified &lt;code&gt;Y.Commerce.Engine\Sitecore.Commerce.Engine.Connectors.Index.Lucene.config&lt;/code&gt; on CD1 and CD2 and commented out this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- This cannot be allowed to run on CD servers. It basically picks up new orders to be indexed and indexes them, then removes them from the list of new orders. &#xA;      Since we run Lucene, this means the CM server never sees these orders and gets them indexed locally --&amp;gt;&#xA;&amp;lt;!--&amp;lt;strategies hint=&amp;quot;list:AddStrategy&amp;quot;&amp;gt;&#xA;  &amp;lt;strategy ref=&amp;quot;contentSearch/indexConfigurations/indexUpdateStrategies/ordersIntervalAsynchronousStrategy&amp;quot; /&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;--&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Effectively disabling the order index strategy on CD servers.  Orders are now being picked up on CM servers as expected.&lt;/p&gt;&#xA;&lt;p&gt;I believe this to be a bug, since &amp;quot;strongly recommend SOLR&amp;quot; and &amp;quot;not supporting Lucene&amp;quot; is not one and the same ;-)&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-11-16T18:17:25.690" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8517" PostTypeId="2" ParentId="8492" CreationDate="2017-11-16T14:28:51.120" Score="5" Body="&lt;p&gt;Apparently there are some compatibility issues between the .NET Framework and .NET Core. Changing the target framework to .NET Framework 4.6.2. solved this issue for me.&lt;br&gt;&#xA;This does however make your .NET Core application bound to windows again because you'll have to use the .NET System libraries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;br&gt;&#xA;After changing to .NET Framework 4.6.2 i ran in to a bunch of problems, i'll be describing some down below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Class library reference broke&lt;/strong&gt;&lt;br&gt;&#xA;I had a reference to a custom model, this reference broke after changing the target framework. To fix this i made my class library in to a nuget package, after adding the nuget package to my project it worked again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cannot find library package for [package]&lt;/strong&gt;&lt;br&gt;&#xA;I'm not sure what this error ment but to my understanding there is a bug where razor tries to import libraries that don't exist. Adding the code mentioned in the comment on this github post fixed the problem for me&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/dotnet/core-setup/issues/2981#issuecomment-322572374&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/dotnet/core-setup/issues/2981#issuecomment-322572374&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="2555" LastEditDate="2017-11-17T14:16:22.560" LastActivityDate="2017-11-17T14:16:22.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8518" PostTypeId="1" AcceptedAnswerId="8521" CreationDate="2017-11-16T14:50:19.307" Score="13" ViewCount="3747" Body="&lt;p&gt;I have created some forms and templates in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Forms application&lt;/a&gt;, but I can't see them being listed in the grid of the Sitecore Forms main page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It only displays the message &quot;There are no forms to display.&quot;. I've tried to switch to &quot;All forms&quot;, &quot;My forms&quot;, and &quot;All templates&quot;, but all the options give me the same message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W0khl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W0khl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The forms are visible in the Content Tree, though:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9dS0F.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9dS0F.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore logs don't say much&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6DT0N.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6DT0N.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what is going on?&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="277" LastEditDate="2017-11-16T15:00:50.973" LastActivityDate="2022-07-05T05:20:53.577" Title="Why I can't see my forms/templates in the Sitecore Forms application?" Tags="|sitecore-forms|" AnswerCount="4" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8519" PostTypeId="5" CreationDate="2017-11-16T15:01:34.797" Score="0" Body="&lt;p&gt;Using the &lt;strong&gt;Sitecore Forms&lt;/strong&gt; application, you can create forms from templates, create new Forms by dragging custom elements from the Form elements pane, apply Form validation or customize Forms with company styling, run reports on Form performance and export data from Forms to Excel.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="2727" LastEditDate="2021-03-09T06:59:18.447" LastActivityDate="2021-03-09T06:59:18.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8520" PostTypeId="4" CreationDate="2017-11-16T15:01:34.797" Score="0" Body="Sitecore Forms application to construct web forms that record and report information provided by contacts to your website. Questions related to Sitecore 9+ &quot;Sitecore Forms&quot; module should use this tag." OwnerUserId="277" LastEditorUserId="2727" LastEditDate="2019-01-09T12:42:09.153" LastActivityDate="2019-01-09T12:42:09.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8521" PostTypeId="2" ParentId="8518" CreationDate="2017-11-16T15:05:17.057" Score="16" Body="&lt;p&gt;Basically, I had to rebuild my index(es). I noticed some errors logged on the Solr Admin page, but after rebuilding all indexes, I can see my forms and templates:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V1os5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V1os5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4fMTT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4fMTT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-01-03T07:38:18.340" LastActivityDate="2018-01-03T07:38:18.340" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8522" PostTypeId="1" AcceptedAnswerId="8582" CreationDate="2017-11-16T18:41:09.933" Score="4" ViewCount="304" Body="&lt;p&gt;I'm using SitecoreContext.Cast(item, true, true) to map an item. It looks like elsewhere in the code, the same item has been casted to BaseType WITHOUT inferType = true before I make that call. When I do the next call with inferType = true, I'm getting the item back as a BaseType, instead of the inferred type. It appears that the item is being placed in the cache as BaseType, and the inferType = true call gets the item from the cache without inferring the type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there something missing here, or a way to tell the Glass cache that it needs to pull the correct type out of the cache?&lt;/p&gt;&#xA;" OwnerUserId="2699" LastEditorUserId="3136" LastEditDate="2018-03-06T13:00:31.007" LastActivityDate="2018-03-06T13:00:31.007" Title="Glass Cast Failing With Infer Type True On Second Call" Tags="|glass-mapper|caching|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8523" PostTypeId="2" ParentId="8510" CreationDate="2017-11-16T18:50:51.883" Score="10" Body="&lt;p&gt;Yes, it is possible to achieve your architecture using Sitecore. There are a few options for you here to do headless implementations, each with their own advantages and disadvantages, and different version/licensing implications.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;JSS (jss.sitecore.net):&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Currently in Tech Preview, this requires Sitecore 9 and a subscription/consumption license (as mentioned by @Chris Auer). This is the most robust headless offering we have and uses ReactJS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Angular support is coming in the near future.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;SSC (Sitecore Services Client):&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This layer of APIs will allow you to consume content from Sitecore from your thin client. Available on 8.x (as mentioned by @Sergey Shushlyapin) but there were some enhancements done in Sitecore 9 to better support headless scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;URL:&lt;/strong&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;(Note that there are many other pages in the doc site as well for other details)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;&lt;strong&gt;SXA and the JSON device:&lt;/strong&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are using SXA to build your sites, you can use the JSON device to get content from your site. I recommend using the latest SXA for this as there were some enhancements here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;URLs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/data_modeling/json/introducing_sxa_data_modeling&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/data_modeling/json/introducing_sxa_data_modeling&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/data_modeling/json/use_sxa_layout_service_to_model_your_pages_in_json&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/data_modeling/json/use_sxa_layout_service_to_model_your_pages_in_json&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2017-11-16T19:00:11.210" LastActivityDate="2017-11-16T19:00:11.210" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8524" PostTypeId="1" CreationDate="2017-11-17T04:08:14.107" Score="1" ViewCount="126" Body="&lt;p&gt;I have a module that uses ajax to post back to the server for data. Some of this data is configurable while in experience editor. Users are winding up in a state with this module where experience editor html is showing up while in normal mode. The steps to get to this are as follows&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The user visits the page with the module in normal mode&lt;/li&gt;&#xA;&lt;li&gt;The user then opens a different tab/window in the same browser and opens experience editor mode&lt;/li&gt;&#xA;&lt;li&gt;The user then goes back to the original tab and clicks one of the buttons that makes an ajax call. The resulting rendered fields are rendered for experience editor and that excess html is rendered as plain text&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Currently to work around this I added a flag on a data attribute called &lt;code&gt;data-enforce-normal-mode&lt;/code&gt;. When that is set to true I pass along that flag with my ajax response. I then wrap my original code in the following which causes the html to render as though it wasn't in experience editor mode:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//enforceNormal is passed in to the controller through javascript&#xA;if (enforceNormal)&#xA;{&#xA;    using (new UserSwitcher(Sitecore.Security.Accounts.User.FromName(&quot;sitecore\\anonymous&quot;, false)))&#xA;    {&#xA;        //get object to return which contains field values which should &#xA;        //be editable in experience editor mode&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This feels like a hack. A longer routed alternative is to pass the enforce bool to the service which gets my return object and use the field renderer with &lt;code&gt;disable-web-editing=true&lt;/code&gt; for every field when the bool is set to true but that sounds tedious and hard to maintain in the future due to any new editable field needing this pattern. Is there a better way to maintain the state that my page is in so that if a page is accessed by a user that isn't logged in the ajax request will have the correct context for this?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-11-17T04:08:14.107" Title="Keep Sitecore Context Based On Page When Posting Back" Tags="|controller|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8525" PostTypeId="1" CreationDate="2017-11-17T06:26:25.230" Score="5" ViewCount="392" Body="&lt;p&gt;I need to capture the real-time personalization event in sitecore, capture the data and send to the google analytic through JavaScript API(using DataLayer).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scenarios&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Capture the event when Sitecore assign the pattern card to the visitor of the website and send this information to google analytic though JavaScript ? like unique visitor id, profile name, etc..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Capture the event when Sitecore hit the personalization rule and send this information to google analytics through JavaScript? Like UniqueVisitorID, ProfileName, PatternName, New rendering ID , or ruleId etc..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just gone through the Bas Lijten blog, which is pretty much similar with my requirement.&#xA;&lt;a href=&quot;http://blog.baslijten.com/realtime-personalization-monitoring-with-sitecore-and-google-analytics/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.baslijten.com/realtime-personalization-monitoring-with-sitecore-and-google-analytics/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any though, ideas or previous experience for the same type of requirement and solution?&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="605" LastEditDate="2017-11-18T15:48:08.130" LastActivityDate="2023-12-23T14:07:30.887" Title="How to send the real-time personalization events data in Sitecore to external system like google analytics?" Tags="|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8526" PostTypeId="1" AcceptedAnswerId="8529" CreationDate="2017-11-17T08:21:21.993" Score="4" ViewCount="321" Body="&lt;p&gt;I have item with publishing restrictions. After apply restriction for item I see that in Livetime section Valid From and Valid To fields was set. It's ok.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I'm trying to get item by id:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.Database.GetItem(itemID)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where Sitecore.Context.Database is master - I couldn't get this item, but I can search item by id in Content Editor search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I will remove publishing restrictions and clear Valid From and Valid To fields - I will receive my item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you explain me:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How Valid From and Valid To fields affect get item from master db?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 Update-3&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2017-11-17T08:32:04.940" LastActivityDate="2019-01-21T11:29:11.333" Title="Livetime section Valid From and Valid To" Tags="|sitecore-api|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8527" PostTypeId="1" AcceptedAnswerId="8528" CreationDate="2017-11-17T09:36:25.830" Score="5" ViewCount="1705" Body="&lt;p&gt;In Sitecore 8.1 when a user whose account has been locked tries to login it says &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Your login attempt was not successful. Please try again.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;instead of something like &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Your account has been locked out . Please contact admin&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is the OOTB functionality in 8.1. I want to customize the error message as specified above. I know for login Sitecore uses &lt;code&gt;System.Web.Security.SqlMembershipProvider&lt;/code&gt;. &#xA;&lt;br&gt;Please provide suggestions to customize the error messages for such scenario. &lt;/p&gt;&#xA;" OwnerUserId="1468" LastActivityDate="2017-11-17T12:58:53.257" Title="Custom Error message when a User account get locked" Tags="|login|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8528" PostTypeId="2" ParentId="8527" CreationDate="2017-11-17T10:20:36.543" Score="12" Body="&lt;p&gt;It is possible to implement in two ways: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Switch to the core database and see the following item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Dictionary/Y/Your login attempt was not successful  Please try again&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can put updated phrase to the Phrase field. But as you said in comments, in this case message will be changed for each events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) The second way is to customize a handler of Login form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the following class to your solution:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Security;&#xA;using Sitecore.Web;&#xA;&#xA;namespace Your_Namespace&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class CustomLogin : Sitecore.sitecore.login.Default&#xA;    {&#xA;&#xA;        protected override bool Login()&#xA;        {&#xA;            var fullUserName = WebUtil.HandleFullUserName(this.UserName.Text);&#xA;            if (!string.IsNullOrWhiteSpace(fullUserName))&#xA;            {&#xA;                var user = Membership.GetUser(fullUserName, false);&#xA;                if (user != null)&#xA;                {&#xA;                    if (user.IsLockedOut)&#xA;                    {&#xA;                        RenderError(Sitecore.Globalization.Translate.Text(&quot;User Is Locked out&quot;));&#xA;                        return false;&#xA;                    }&#xA;                }&#xA;            }&#xA;&#xA;&#xA;            return base.Login();&#xA;        }&#xA;&#xA;        private void RenderError(string text)&#xA;        {&#xA;            if (string.IsNullOrEmpty(text))&#xA;                return;&#xA;            this.FailureHolder.Visible = true;&#xA;            this.FailureText.Text = text;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, navigate to the &lt;code&gt;\sitecore\login\&lt;/code&gt; folder and find the &lt;strong&gt;default.aspx&lt;/strong&gt; file. You need update the following line with your custom class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; Async=&quot;true&quot; CodeBehind=&quot;Default.aspx.cs&quot; Inherits=&quot;Sitecore.sitecore.login.Default&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It should look like below (Inherits attribute is updated):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; Async=&quot;true&quot; CodeBehind=&quot;Default.aspx.cs&quot; Inherits=&quot;Your_Namespace.CustomLogin, Your_Namespace&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The last step to add the dictionary for message. Switch to the core database and see the following item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Dictionary/U&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add the dictionary entry. I called it &quot;User Is Locked out&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dTTT6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dTTT6.png&quot; alt=&quot;adding dictionary&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oWizc.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oWizc.png&quot; alt=&quot;result&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-11-17T12:58:53.257" LastActivityDate="2017-11-17T12:58:53.257" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8529" PostTypeId="2" ParentId="8526" CreationDate="2017-11-17T10:23:57.143" Score="3" Body="&lt;p&gt;This has to do with how the data providers work in Sitecore and as mentioned in the linked SO post above, is useful for distinguishing &quot;preview&quot; modes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you enable what in Sitecore is known as &quot;Live Mode&quot;, this is what it does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From &lt;code&gt;LiveMode.config.disabled&lt;/code&gt; in a vanilla Sitecore installation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;database&quot;&amp;gt;master&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;filterItems&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableWorkflow&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;filterItems&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This setting specifies whether Live Mode will filter out items that have publishing restrictions.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is what is filtering your items in your example. Valid From and Valid To are &lt;code&gt;publishing restrictions&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;enableWorkflow&lt;/strong&gt;&#xA;While not in your example, Sitecore would also return NULL for items that are in a workflow state that is not &lt;code&gt;final&lt;/code&gt;. This setting toggles that behaviour.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I normally do locally, is have 2 sites configured, pointing to my &lt;code&gt;&quot;master&quot;&lt;/code&gt; database. One which is &quot;normal&quot; and one running true &lt;code&gt;Live Mode&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could do the same, or just add the above 2 attributes to your site definition.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="107" LastEditDate="2019-01-21T11:29:11.333" LastActivityDate="2019-01-21T11:29:11.333" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8530" PostTypeId="2" ParentId="8457" CreationDate="2017-11-17T11:58:37.070" Score="0" Body="&lt;p&gt;Ok I have encountered similar errors so far this is where I have got to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Cant start xConnect when Solr is running if I stop Solr I can get the xConnect website to start. So might be something with my install of Solr was using version 6.6.1 so will try 6.6.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Solr cores, I managed to go into the solr admin and unload the cores which seemed to get around the issue mentioned about unable to create core.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Had to also stop services sitecore marketing automation engine and Sitecore Xconnect search indexer (these are created for each domain)&lt;/p&gt;&#xA;" OwnerUserId="2216" LastEditorUserId="2216" LastEditDate="2017-11-17T12:05:38.483" LastActivityDate="2017-11-17T12:05:38.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8532" PostTypeId="2" ParentId="557" CreationDate="2017-11-17T14:43:27.427" Score="5" Body="&lt;p&gt;Another possible solution is to build the Publish Queue programatically, then publish all at once as a single Publish operation. This method will then execute the &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt; events once. Events such as clearing the cache, updating indexes, then only happen once. It should be very quick.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created some utilities to assist a while back: &lt;a href=&quot;https://gist.github.com/jraps20/638312ea825f9a5ca5ee8da2c6ff92c1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/jraps20/638312ea825f9a5ca5ee8da2c6ff92c1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class PublishUtils&#xA;{&#xA;    public static void CreateAndPublishQueue(Database sourceDatabase, Database[] targetDatabases, Language[] targetLanguages, IEnumerable&amp;lt;ID&amp;gt; itemIds, bool skipEvents = false, bool useSecurityDisabler = true)&#xA;    {&#xA;        Assert.IsNotNull(sourceDatabase, &quot;sourceDatabase&quot;);&#xA;        Assert.IsNotNull(targetDatabases, &quot;targetDatabases&quot;);&#xA;        Assert.IsNotNull(targetLanguages, &quot;targetLanguages&quot;);&#xA;&#xA;        var publishingCandidates = SetPublishingCandidates(sourceDatabase, targetDatabases, targetLanguages, itemIds);&#xA;&#xA;        ProcessCandidates(sourceDatabase, targetDatabases, targetLanguages, publishingCandidates, skipEvents, useSecurityDisabler);&#xA;    }&#xA;&#xA;    private static List&amp;lt;PublishingCandidate&amp;gt; SetPublishingCandidates(Database sourceDatabase, Database[] targetDatabases, Language[] targetLanguages, IEnumerable&amp;lt;ID&amp;gt; itemIds)&#xA;    {&#xA;        var publishingCandidates = new List&amp;lt;PublishingCandidate&amp;gt;();&#xA;&#xA;        foreach (var itemId in itemIds)&#xA;        {&#xA;            publishingCandidates.AddRange(CreatePublishingCandidatesFromItemId(sourceDatabase, targetDatabases, targetLanguages, itemId));&#xA;        }&#xA;&#xA;        return publishingCandidates;&#xA;    }&#xA;&#xA;    public static List&amp;lt;PublishingCandidate&amp;gt; CreatePublishingCandidatesFromItemId(Database sourceDatabase, Database[] targetDatabases, Language[] targetLanguages, ID itemId)&#xA;    {&#xA;        if (sourceDatabase == null)&#xA;        {&#xA;            Log.Info(&quot;sourceDatabase == null&quot;, new object());&#xA;            return Enumerable.Empty&amp;lt;PublishingCandidate&amp;gt;().ToList();&#xA;        }&#xA;        if (targetDatabases == null)&#xA;        {&#xA;            Log.Info(&quot;targetDatabases == null&quot;, new object());&#xA;            return Enumerable.Empty&amp;lt;PublishingCandidate&amp;gt;().ToList();&#xA;        }&#xA;        if (targetLanguages == null)&#xA;        {&#xA;            Log.Info(&quot;targetLanguages == null&quot;, new object());&#xA;            return Enumerable.Empty&amp;lt;PublishingCandidate&amp;gt;().ToList();&#xA;        }&#xA;&#xA;        var publishingCandidates = new List&amp;lt;PublishingCandidate&amp;gt;();&#xA;&#xA;        var item = sourceDatabase.GetItem(itemId);&#xA;&#xA;        if (item == null)&#xA;        {&#xA;            Log.Info(&quot;item == null&quot;, new object());&#xA;            return Enumerable.Empty&amp;lt;PublishingCandidate&amp;gt;().ToList();&#xA;        }&#xA;&#xA;        foreach (var publishingTargetDatabase in targetDatabases.Where(tDb =&amp;gt; tDb != null))&#xA;        {&#xA;            foreach (var publishingTargetLanguage in targetLanguages.Where(lang =&amp;gt; lang != null))&#xA;            {&#xA;                var publishOptions = new PublishOptions(&#xA;                    Database.GetDatabase(&quot;master&quot;),&#xA;                    publishingTargetDatabase,&#xA;                    PublishMode.Full,&#xA;                    publishingTargetLanguage,&#xA;                    DateTime.Now)&#xA;                {&#xA;                    CompareRevisions = false&#xA;                };&#xA;&#xA;                publishingCandidates.Add(new PublishingCandidate(itemId, publishOptions));&#xA;                Log.Info($&quot;Added item {item.Paths.FullPath} to the publish queue, target language: {publishingTargetLanguage}, targetDatabase: {publishingTargetDatabase}&quot;, new object());&#xA;            }&#xA;        }&#xA;&#xA;        return publishingCandidates;&#xA;    }&#xA;&#xA;    public static void ProcessCandidates(Database sourceDatabase, Database[] targetDatabases, Language[] targetLanguages, List&amp;lt;PublishingCandidate&amp;gt; publishingCandidates, bool skipEvents = false, bool useSecurityDisabler = true)&#xA;    {&#xA;        Assert.IsNotNull(sourceDatabase, &quot;sourceDatabase&quot;);&#xA;        Assert.IsNotNull(targetDatabases, &quot;targetDatabases&quot;);&#xA;        Assert.IsNotNull(targetLanguages, &quot;targetLanguages&quot;);&#xA;&#xA;        Log.Info($&quot;{publishingCandidates.Count} items added to publish queue&quot;, new object());&#xA;&#xA;        var triggerDatabase = targetDatabases.First();&#xA;        var triggerLanguage = targetLanguages.First();&#xA;&#xA;        var defaultPublishOptions = new PublishOptions(&#xA;                sourceDatabase,&#xA;                triggerDatabase, // need to pass database to satisfy contructor&#xA;                PublishMode.Full,&#xA;                triggerLanguage, // need to pass language to satisfy contructor&#xA;                DateTime.Now)&#xA;             {&#xA;                CompareRevisions = false&#xA;             };&#xA;&#xA;        var publishContext = PublishManager.CreatePublishContext(defaultPublishOptions);&#xA;&#xA;        // required or null exception thrown&#xA;        publishContext.Languages = targetLanguages;&#xA;&#xA;        publishContext.Queue.Add(publishingCandidates);&#xA;&#xA;        if (skipEvents)&#xA;        {&#xA;            var queue = new ProcessQueue();&#xA;            Log.Info(&quot;Processing Publish Queue, skipEvents = true&quot;, new object());&#xA;&#xA;            if (useSecurityDisabler)&#xA;            {&#xA;                Log.Info(&quot;Processing Publish Queue, security disabled&quot;, new object());&#xA;                using (new SecurityDisabler())&#xA;                    queue.Process(publishContext);&#xA;            }&#xA;            else&#xA;            {&#xA;                Log.Info(&quot;Processing Publish Queue, security enabled&quot;, new object());&#xA;                queue.Process(publishContext);&#xA;            }&#xA;        }&#xA;        else&#xA;        {&#xA;            Log.Info(&quot;Processing Publish Queue, skipEvents = false&quot;, new object());&#xA;&#xA;            if (useSecurityDisabler)&#xA;            {&#xA;                Log.Info(&quot;Processing Publish Queue, security disabled&quot;, new object());&#xA;                using (new SecurityDisabler())&#xA;                    CorePipeline.Run(&quot;publish&quot;, publishContext);&#xA;            }&#xA;            else&#xA;            {&#xA;                Log.Info(&quot;Processing Publish Queue, security enabled&quot;, new object());&#xA;                CorePipeline.Run(&quot;publish&quot;, publishContext);&#xA;            }&#xA;            Log.Info(&quot;Raising publish:end event&quot;, new object());&#xA;            global::Sitecore.Events.Event.RaiseEvent(&quot;publish:end&quot;, new Publisher(defaultPublishOptions));&#xA;            Log.Info(&quot;Raising publish:end:remote event&quot;, new object());&#xA;            global::Sitecore.Events.Event.RaiseEvent(&quot;publish:end:remote&quot;, new Publisher(defaultPublishOptions));&#xA;        }&#xA;        Log.Info(&quot;Finished processing Publish Queue&quot;, new object());&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Usage&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// set target database(s)&#xA;Database[] targetDatabases = { Database.GetDatabase(&quot;web&quot;)};&#xA;&#xA;// get languages&#xA;var source = new List&amp;lt;Language&amp;gt;();&#xA;foreach (var database in targetDatabases)&#xA;{&#xA;  source.AddRange(LanguageManager.GetLanguages(database));&#xA;}&#xA;var languages = source.Distinct().ToArray();&#xA;&#xA;// set source database&#xA;var sourceDatabase = Database.GetDatabase(&quot;master&quot;);&#xA;&#xA;// set Item Ids required to be published&#xA;ID[] ids = &amp;lt;populate with item ids&amp;gt;&#xA;&#xA;// publish all as one operation&#xA;PublishUtils.CreateAndPublishQueue(sourceDatabase, targetDatabases, languages, ids);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2020-03-18T15:10:50.480" LastActivityDate="2020-03-18T15:10:50.480" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="8533" PostTypeId="1" CreationDate="2017-11-17T15:17:29.507" Score="1" ViewCount="148" Body="&lt;p&gt;We have multisite setup on Sitecore, example &lt;code&gt;www.MainsiteA.com&lt;/code&gt; and &lt;code&gt;www.MainsiteB.com&lt;/code&gt;, We have installed FXM beacon javascript code into couple of external sites, Both external sites are on sub-domain of the main sites:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;book.MainsiteA.com&lt;/li&gt;&#xA;&lt;li&gt;book.MainsiteB.com&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My expectation that a user visiting &lt;code&gt;www.MainsiteA.com&lt;/code&gt; then visits &lt;code&gt;book.MainsiteA.com&lt;/code&gt; would have the same contact id, Same for &lt;code&gt;www.MainsiteB.com&lt;/code&gt; and &lt;code&gt;book.MainsiteB.com&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue we are seeing that one of the external sites does not create &lt;strong&gt;sc_ext_contact&lt;/strong&gt; cookie that holds the contact id of the visitor,  while the other site is creating that cookie fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need this cookie as we are collecting information about the user on the external sites and we need to merge that into the same contact in xDB at later stage, we would use the contact Id stored in the &lt;strong&gt;sc_ext_contact&lt;/strong&gt; cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would there be any restrictions that could prevent FXM from creating the Cookie on the external site?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2017-11-17T15:25:29.353" LastActivityDate="2018-05-19T17:59:17.643" Title="FXM is not creating &quot;sc_ext_contact&quot; cookie on external site" Tags="|fxm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8534" PostTypeId="1" AcceptedAnswerId="8808" CreationDate="2017-11-17T19:50:09.710" Score="4" ViewCount="425" Body="&lt;p&gt;I'm a total novice with EXM and trying to explore it as an option to replace a manual system we use now with SQL (where Sitecore pushes data into a metadata table in SQL when published, and some user preferences are maintained in SQL as well). Here's how it works now:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every hour, content in the metadata table is scanned to see if it was updated in the past hour. If so, that content is pulled in. Then a list of users who have requested updates hourly are pulled together. The user list is then iterated through and the metadata of each content item is checked to see if it's flagged to that user's interests (for example, a user wants news on the state of Virginia, is the content item so tagged). Once the applicable universe of content is created for that user, it's assembled into an email format and sent out with a .NET mail merge script. The process is kicked off via scheduled task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The very little I've read about EXM so far tells me the emails are put together like pages, with presentation details, so creating a rendering that says &quot;query the content and return only that which was updated last hour&quot; seems basic. What about passing in the user information though? Would my recipient list be &quot;all users who request an hourly update&quot; via a user profile setting? Can I pass in user information to the rendering on the fly? If so, is there then a way to tell EXM not to send an email if that rendering has no data?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-12-04T21:18:37.623" Title="Does EXM support dynamic recipients and content?" Tags="|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8535" PostTypeId="2" ParentId="7968" CreationDate="2017-11-17T20:13:01.790" Score="0" Body="&lt;p&gt;I would suggest separating both installs. Go for Sitecore 8.2 first using Azure templates. Once you have ensured that your SXP platform is working as expected, &lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;download EXM packages&lt;/a&gt; specific to your requirement. Then use Sitecore installation wizard on CM server to complete EXM install. Make sure to complete all required pre and post installation steps.&lt;/p&gt;&#xA;" OwnerUserId="2704" LastActivityDate="2017-11-17T20:13:01.790" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8537" PostTypeId="1" AcceptedAnswerId="8539" CreationDate="2017-11-17T20:47:43.227" Score="5" ViewCount="1232" Body="&lt;p&gt;Firstly, I have seen posts related to my below issue but they have not been helpful thus far.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am currently using Sitecore 8.2 (rev.161221) with Web Forms for Marketers 8.2 (rev.161129). I have this issue on Azure and also on an on-premise deployment. Azure uses azure search and on-premise uses Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a user submits a WFFM form, I add this person as a contact into a Sitecore list. This part seems to be working since when I open the list, I can see every person who submitted the related form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My issue is when I open the list, I see the message &quot;Please note that contacts in the list are currently being indexed, so not all contacts are available to view at this time. 100 out of 0 contacts are currently indexed.&quot;. It has been this way for days and days now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I go back to my lists view, I see 0 under the Recipients column. This value is never updated to the total count of contacts within the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not see any helpful information within logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1: Why is it that List Manager indexing never completes? Is there a patch for the specific version of Sitecore I am using?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2: Is there a way to manually trigger any pipeline that runs and starts updating the recipient count?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any pointers will be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="2704" LastActivityDate="2017-11-21T17:50:07.257" Title="Sitecore List Manager - Indexing issue / Recipient count is always 0" Tags="|wffm|list-manager|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8538" PostTypeId="1" CreationDate="2017-11-18T10:14:53.283" Score="2" ViewCount="638" Body="&lt;p&gt;I am on v8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using SOLR as search index. I have the items indexed and can see them in the index. I kicked off index rebuild a few times. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, &lt;code&gt;ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext().GetQueryable&amp;lt;SearchResultItem&amp;gt;()&lt;/code&gt; returns nothing back. What could possibly the reason be? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see the following in the search logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;33576 12:10:47 INFO  Query - (_fullpath:(\/sitecore/content/home*) AND _template:(9865d2d89a6b4918863353525f8aad05))&#xA;33576 12:10:47 INFO  Serialized Query - ?q=(_fullpath:(\/sitecore/content/home*) AND _template:(9865d2d89a6b4918863353525f8aad05))&amp;amp;rows=2147483647&amp;amp;fl=*,score&amp;amp;fq=_language:(en)&amp;amp;fq=_indexname:(sitecore_web_index) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The item (both home and the item I am looking for) exists in the index, but like I mentioned nothing is returned back even if I don't apply any filters&lt;/p&gt;&#xA;" OwnerUserId="2671" LastEditorUserId="2671" LastEditDate="2017-11-18T12:20:25.227" LastActivityDate="2017-11-19T04:44:48.453" Title="Content Manager returns empty list" Tags="|content-search|solr|" AnswerCount="1" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="8539" PostTypeId="2" ParentId="8537" CreationDate="2017-11-18T12:08:23.050" Score="2" Body="&lt;p&gt;That's a know issue with Sitecore WFFM action &lt;code&gt;Add Contact to Contact List&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use EXM, you can use code below to override the default action. Remember that your contact should have &lt;code&gt;First Name&lt;/code&gt;, &lt;code&gt;Surname&lt;/code&gt; and &lt;code&gt;Email&lt;/code&gt; set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't use EXM, contact with Sitecore Support. They can provide you a support dll appropriate for your Sitecore and WFFM versions.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Linq;&#xA;using Sitecore.Analytics.Model;&#xA;using Sitecore.Analytics.Tracking;&#xA;using Sitecore.Data;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Modules.EmailCampaign;&#xA;using Sitecore.SecurityModel;&#xA;using Sitecore.WFFM.Abstractions.Actions;&#xA;using Sitecore.WFFM.Abstractions.Analytics;&#xA;using Sitecore.WFFM.Abstractions.Shared;&#xA;&#xA;namespace WffmCustomization&#xA;{&#xA;    public class AddContactToContactList : Sitecore.WFFM.Actions.SaveActions.AddContactToContactList&#xA;    {&#xA;        private const string RootListPath = &quot;/sitecore/system/Modules/E-mail Campaign Manager/System/Root List&quot;;&#xA;        private const string ManagerRootsFieldName = &quot;Manager Roots&quot;;&#xA;&#xA;        private readonly IAnalyticsTracker _analyticsTracker;&#xA;&#xA;        public AddContactToContactList(IAnalyticsTracker analyticsTracker, IContactRepository contactRepository) : base(analyticsTracker, contactRepository)&#xA;        {&#xA;            _analyticsTracker = analyticsTracker;&#xA;        }&#xA;&#xA;        public override void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;        {&#xA;            Assert.ArgumentNotNull(adaptedFields, &quot;adaptedFields&quot;);&#xA;            Assert.IsNotNullOrEmpty(ContactsLists, &quot;Empty contact list.&quot;);&#xA;            Assert.IsNotNull(_analyticsTracker.CurrentContact, &quot;Tracker.Current.Contact&quot;);&#xA;&#xA;            if (!adaptedFields.IsTrueStatement(ExecuteWhen))&#xA;                return;&#xA;&#xA;            var lists = ContactsLists.Split(',').Select(x =&amp;gt; ID.Parse(x).ToString()).ToArray();&#xA;&#xA;            using (new SecurityDisabler())&#xA;            {&#xA;                Contact currentContact = _analyticsTracker.CurrentContact;&#xA;&#xA;                if (currentContact.Identifiers.IdentificationLevel != ContactIdentificationLevel.Known)&#xA;                {&#xA;                    var emailAddresses = currentContact.GetFacet&amp;lt;Sitecore.Analytics.Model.Entities.IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;                    if (emailAddresses.Entries.Contains(&quot;Preferred&quot;))&#xA;                    {&#xA;                        var email = emailAddresses.Entries[&quot;Preferred&quot;];&#xA;                        _analyticsTracker.Current.Session.Identify(email.SmtpAddress);&#xA;                    }&#xA;                }&#xA;&#xA;                var recipientId = new Sitecore.Modules.EmailCampaign.Xdb.XdbContactId(currentContact.ContactId);&#xA;&#xA;                var rootList = (Sitecore.Context.ContentDatabase ?? Sitecore.Context.Database).GetItem(RootListPath);&#xA;&#xA;                Assert.IsNotNull(rootList, &quot;Empty root list.&quot;);&#xA;&#xA;                var managerRootId = (rootList[ManagerRootsFieldName] ?? string.Empty).Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries).FirstOrDefault();&#xA;&#xA;                Assert.IsNotNullOrEmpty(managerRootId, &quot;Empty manager root id.&quot;);&#xA;&#xA;                Log.Info($&quot;AddContactToContactList [{currentContact.ContactId}, {ContactsLists}, {managerRootId}]&quot;, this);&#xA;&#xA;                ClientApi.UpdateSubscriptions(recipientId, lists, new string[] { }, managerRootId, false);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;wffm&amp;gt;&#xA;      &amp;lt;actions&amp;gt;&#xA;        &amp;lt;addContactToContactList  type=&quot;Sitecore.WFFM.Actions.SaveActions.AddContactToContactList, Sitecore.WFFM.Actions&quot; &amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;WffmCustomization.AddContactToContactList, WffmCustomization&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/addContactToContactList&amp;gt;&#xA;      &amp;lt;/actions&amp;gt;&#xA;    &amp;lt;/wffm&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the code I receive from Sitecore Support for fixing the number of recipients of all the contact lists in Sitecore. I received it for another Sitecore version but it should do the trick in your case as well:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ListManager&amp;lt;ContactList, ContactData&amp;gt; listManager = Factory.CreateObject(&quot;contactListManager&quot;, false) as ListManager&amp;lt;ContactList, ContactData&amp;gt;;&#xA;using (new SecurityDisabler())&#xA;{&#xA;  using (IEnumerator&amp;lt;ContactList&amp;gt; enumerator = ((IEnumerable&amp;lt;ContactList&amp;gt;) listManager.GetAll((string) null, true)).GetEnumerator())&#xA;  {&#xA;    while (((IEnumerator) enumerator).MoveNext())&#xA;    {&#xA;      ContactList current = enumerator.Current;&#xA;      Item obj = Factory.GetDatabase(ListManagementSettings.get_Database()).GetItem(current.get_Id());&#xA;      this.Response.Write(&quot;List: &quot; + current.get_DisplayName() + &quot;, list id: (&quot; + current.get_Id() + &quot;), contacts in index: &quot; + (object) listManager.GetContacts(current).Count&amp;lt;ContactData&amp;gt;() + &quot;, contacts in field: &quot; + ((BaseItem) obj).get_Item(&quot;Recipients&quot;));&#xA;      if (obj != null &amp;amp;&amp;amp; listManager.GetContacts(current).Count&amp;lt;ContactData&amp;gt;() &amp;gt; int.Parse(((BaseItem) obj).get_Item(&quot;Recipients&quot;)))&#xA;      {&#xA;        obj.get_Editing().BeginEdit();&#xA;        ((BaseItem) obj).set_Item(&quot;Recipients&quot;, listManager.GetContacts(current).Count&amp;lt;ContactData&amp;gt;().ToString());&#xA;        obj.get_Editing().EndEdit();&#xA;        this.Response.Write(&quot;&amp;lt;/br&amp;gt;List field was updated&quot;);&#xA;      }&#xA;      this.Response.Write(&quot;&amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;&quot;);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-11-21T06:55:52.450" LastActivityDate="2017-11-21T06:55:52.450" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8540" PostTypeId="1" AcceptedAnswerId="8541" CreationDate="2017-11-18T15:11:43.420" Score="2" ViewCount="115" Body="&lt;p&gt;I Created a Component namend GenreList but i cannot add it to my ComponentFactory&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my gist: &#xA;&lt;a href=&quot;https://gist.github.com/Rian0702/10c3e7068b8e15617bb034dcfffca495&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/Rian0702/10c3e7068b8e15617bb034dcfffca495&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And a picture of my App structure... i really hope i am missing to a slash or such simple thing. &#xA;Let me know if you need anything else. &#xA;Thanks for helping in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/10grG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/10grG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2710" LastActivityDate="2017-11-21T16:37:20.243" Title="Sitecore JSS Can't resolve 'music/components/GenreList' in 'C:\Dev\sitecore_nine\samples\flo\musictore_react\src" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8541" PostTypeId="2" ParentId="8540" CreationDate="2017-11-18T16:14:10.227" Score="4" Body="&lt;p&gt;The first thing I would try changing is the &lt;code&gt;import&lt;/code&gt; statement in &lt;code&gt;GenreList.js&lt;/code&gt; to the following - note the absence of curly brackets &lt;code&gt;{}&lt;/code&gt; and the adjusted path based on the folder structure:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;import GenreList from 'music/components/GenreList/GenreList';&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, the statement is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;import { GenreList } from 'music/components/GenreList';&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but the &lt;code&gt;GenreList&lt;/code&gt; component is actually one level deeper in the path and the code uses a &lt;code&gt;default&lt;/code&gt; export and not a named export, i.e. &lt;code&gt;export default&lt;/code&gt; vs. &lt;code&gt;export const GenreList&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2017-11-21T16:37:20.243" LastActivityDate="2017-11-21T16:37:20.243" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8542" PostTypeId="2" ParentId="8511" CreationDate="2017-11-18T16:24:54.270" Score="3" Body="&lt;p&gt;&lt;strong&gt;Assumption&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the goal has been triggered by a visitor, the visitor cannot trigger the same goal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are triggering the goal programmatically, you can check if the user has already trigger the goal. The below snippet can be used to check if the goal has been triggered.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid goalId = // your goal ID&#xA;KeyBehaviorCache cache = Sitecore.Analytics.Tracker.Current.Contact.GetKeyBehaviorCache();&#xA;bool goalTriggered = cache.Goals.Any(a =&amp;gt; a.Id == goalId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the goal is being triggered via rules, implement a new rule to perform the check if the goal has been triggered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, if you are using Outcomes, you can change the above code to check if the user is already assigned a specific outcome.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid outcomeId= // your outcome ID&#xA;KeyBehaviorCache cache = Sitecore.Analytics.Tracker.Current.Contact.GetKeyBehaviorCache();&#xA;bool isAssociatedOutcome = cache.Outcomes.Any(a =&amp;gt; a.Id == outcomeId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-11-18T16:24:54.270" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8544" PostTypeId="2" ParentId="8270" CreationDate="2017-11-19T01:04:31.520" Score="0" Body="&lt;p&gt;I basically experience the same exact issue on a Windows 8.1 machine. All prerequisites were installed including Powershell 5.1, Solr with SSL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sadly I wasn't able to overcome it. I tried running Windows updates until no more of those were available but no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried the same process in a Windows 10 machine and the SIF scripts worked very smoothly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If possible please update your machine OS to Windows 10 (with all its updates up to date), for sure it will work then.&lt;/p&gt;&#xA;" OwnerUserId="1589" LastActivityDate="2017-11-19T01:04:31.520" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8545" PostTypeId="2" ParentId="8538" CreationDate="2017-11-19T04:44:48.453" Score="2" Body="&lt;p&gt;Given that you are seeing the content in your SOLR admin UI, but not in queries, one thing to check is the SOLR URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You've probably already checked this, but just in case, you need to validate that the URL you are loading for your SOLR Admin UI is the same SOLR instance you are connecting to from Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Load &lt;code&gt;/sitecore/admin/ShowConfig.aspx&lt;/code&gt; and check what the SOLR url is. I've seen a rogue patch file change the URL on me in the past to a network instance that doesn't have my data. The setting you are looking for is &lt;code&gt;ContentSearch.Solr.BaseServiceAddress&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Solr.ServiceBaseAddress&quot; value=&quot;http://localhost:8983/solr&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-11-19T04:44:48.453" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8546" PostTypeId="2" ParentId="7758" CreationDate="2017-11-19T09:18:20.430" Score="1" Body="&lt;p&gt;solved by add read access permissions to IIS App Pool identity that's running Sitecore and add read access permissions  to have read access permissions on the source directory.&lt;/p&gt;&#xA;" OwnerUserId="635" LastActivityDate="2017-11-19T09:18:20.430" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8547" PostTypeId="1" CreationDate="2017-11-19T17:19:44.023" Score="5" ViewCount="4014" Body="&lt;p&gt;I installed sitecore 8.2 and after installation I logged in with admin account. Then i followed below procedure to create user and roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) In the User manager I created one user - &lt;strong&gt;tom&lt;/strong&gt; (not selected any role at this time, just selected domain as sitecore)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) in the Role manager created new role (Devteam1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) using security editor assigned access rights &quot;Read, Write an Inheritance&quot; for all items in site content tree to Devteam1 role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I provided all access rights for Sitecore content,media library,layout etc..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Using Access Viewer I verified access right all are allowed in content tree items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this am trying to login with user &lt;strong&gt;tom&lt;/strong&gt;, but I am getting an error: &lt;code&gt;You don't have access permission&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then using the Security editor I applied access rights for the user also but no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to resolve this. What am doing wrong here?&lt;/p&gt;&#xA;" OwnerUserId="2711" LastEditorUserId="237" LastEditDate="2017-11-19T18:21:33.007" LastActivityDate="2017-11-20T08:03:33.473" Title="Sitecore client user login failed: You don't have access permission error" Tags="|sitecore-client|security|multisite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8548" PostTypeId="2" ParentId="8547" CreationDate="2017-11-19T18:15:36.250" Score="6" Body="&lt;p&gt;All right, your user will not be able to login to Sitecore while your don't assign specific Sitecore's roles. You have to assign at least the &lt;code&gt;Sitecore Client Users&lt;/code&gt; role for user, so that they can login to Sitecore. With this role, the user can log in to the Sitecore Desktop, but will not have access to any applications.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about the default Sitecore roles using the link belowk: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATED:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The security roles that you already applied do not provide or restrict access to Sitecore functionality (such as Content Editor, Role Manager, Presentation Manager and etc.), it just restricts the access to items in the content tree, but your user will not be able to see these items unless you allow it by adding corresponding Sitecore roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore Client Users&lt;/code&gt; allows just login into Sitecore. It can be helpfull when you don't need to provide an access to the content section. Sometimes it's enough. For example, you implemented a custom application, added the icon to the desctop and just want to provide the access only for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to allow user managing content, you have to assign the extra &lt;code&gt;Sitecore Client Authoring&lt;/code&gt; role to the user. If you want to allow managing presentation - &lt;code&gt;Sitecore Client Designing&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Visit the link above and see which roles are existed in Sitecore and which of them do you need for your needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. The better way is inheriting your role from roles above and assigning to the user just your custom role.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="713" LastEditDate="2017-11-20T08:03:33.473" LastActivityDate="2017-11-20T08:03:33.473" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8555" PostTypeId="1" CreationDate="2017-11-20T06:57:28.973" Score="5" ViewCount="603" Body="&lt;p&gt;We are looking at deploying SolrCloud with our 8.2.5 install. Everything seems to be running OK so far, however I've noticed that the Indexing manager does not load any of the indexing statistical data for a SolrCloud configuration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr with statistics showing (not a solrcloud configuration)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/iD7q1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iD7q1.png&quot; alt=&quot;Working Index Manager with Statistics&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr without statistics (in a solrcloud configuration)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/npQeM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/npQeM.png&quot; alt=&quot;SolrCloud with no Statistics&quot;&gt;&lt;/a&gt;&#xA;After doing a bit of reflection and request tracing, it appears as though Sitecore is using the SolrNet library and executing a URL like: [solrserver]/solr/admin/cores?action=STATUS&amp;amp;core=sitecore_master_index to retrieve this information. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;With SolrCloud this is not going to work, because the cores will get suffixed with e.g. _shard1_replica1, _shard1_replica2 for 2 node environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone seen a customization to this display to present data back to the user, or have just simply leave it as default?&#xA;I would imagine we need to override SolrSearchIndex class and try retrieve these stats on the first replica to atleast achieve the same result.&#xA;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="2300" LastEditorUserId="73" LastEditDate="2017-11-20T14:27:32.910" LastActivityDate="2024-01-25T04:07:00.823" Title="SolrCloud and the Indexing Manager not showing statistical information" Tags="|solr|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8556" PostTypeId="1" CreationDate="2017-11-20T07:58:29.863" Score="1" ViewCount="110" Body="&lt;p&gt;We have a custom Solr index which includes read and deny roles. Both are added as predicates using the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual IQueryable&amp;lt;TIndexable&amp;gt; ApplyDenyUserRules&amp;lt;TIndexable&amp;gt;&#xA;(IQueryable&amp;lt;TIndexable&amp;gt; queryable) where TIndexable : IEntity&#xA;{&#xA;  if (Context.User == null || Context.User.IsAdministrator || &#xA;      string.IsNullOrEmpty(Context.User.Name))&#xA;  {&#xA;      return queryable;&#xA;  }&#xA;&#xA;  bool includeIndirectRoles;&#xA;&#xA;  if       &#xA;  (!bool.TryParse(&#xA;   Settings.GetSetting(&quot;DFS.Membership.IncludeIndirectRoles&quot;), out &#xA;   includeIndirectRoles))&#xA;  {&#xA;    includeIndirectRoles = false;&#xA;  }&#xA;&#xA;  var roles = RolesInRolesManager.GetRolesForUser(Context.User, &#xA;              includeIndirectRoles);&#xA;  var userRoles = roles.Select(r =&amp;gt; r.Name.&#xA;                  Replace(&quot;\\&quot;, string.Empty).Replace(&quot;™&quot;, string.Empty).&#xA;                  Replace(&quot; &quot;,string.Empty));&#xA;&#xA;  var predicate = PredicateBuilder.True&amp;lt;TIndexable&amp;gt;();&#xA;  var subPredicate = PredicateBuilder.True&amp;lt;TIndexable&amp;gt;();&#xA;&#xA;  subPredicate = userRoles.Aggregate(subPredicate, (current, role) =&amp;gt; &#xA;                 current.And(i =&amp;gt; !i.DenyRules.Contains(role)));&#xA;&#xA;  predicate = predicate.And(subPredicate);&#xA;&#xA;  if (predicate.Body.NodeType != ExpressionType.Constant)&#xA;  {&#xA;    queryable = queryable.Filter(predicate);&#xA;  }&#xA;&#xA;  return queryable;&#xA;}&#xA;&#xA;protected virtual IQueryable&amp;lt;TIndexable&amp;gt; ApplyReadRoles&amp;lt;TIndexable&amp;gt;&#xA;(IQueryable&amp;lt;TIndexable&amp;gt; queryable) where TIndexable : IEntity&#xA;{&#xA;  if (Context.User == null || Context.User.IsAdministrator || &#xA;     Context.User.Roles == null || !Context.User.Roles.Any())&#xA;     {          &#xA;       return queryable;&#xA;     }&#xA;&#xA;     bool includeIndirectRoles;&#xA;&#xA;     if (!bool.TryParse(&#xA;         Settings.GetSetting(&quot;DFS.Membership.IncludeIndirectRoles&quot;), out &#xA;         includeIndirectRoles))&#xA;     {&#xA;       includeIndirectRoles = false;&#xA;     }&#xA;&#xA;     var roles = RolesInRolesManager.GetRolesForUser(Context.User, &#xA;                 includeIndirectRoles);&#xA;&#xA;     var userRoles = roles.Select(r =&amp;gt; r.Name.Replace(&quot;\\&quot;, &#xA;                     string.Empty).Replace(&quot;™&quot;, string.Empty).Replace(&quot; &quot;, &#xA;                     string.Empty));&#xA;     var predicate = PredicateBuilder.True&amp;lt;TIndexable&amp;gt;();&#xA;     var subPredicate = userRoles.Aggregate(predicate, (current, role) =&amp;gt; &#xA;                        current.Or(i =&amp;gt; i.ReadRoles.Contains(role)));&#xA;     predicate = predicate.And(subPredicate);&#xA;     if (predicate.Body.NodeType != ExpressionType.Constant)&#xA;     {&#xA;       queryable = queryable.Filter(predicate);&#xA;     }&#xA;&#xA;     return queryable;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This returns the following Solr query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;fq=((-denyrules_sm:(sitecoregruppe) AND -denyrules_sm:&#xA;   (sitecoreDigizuiteDAMforSitecoreAdministrators)) AND (readroles_sm:&#xA;   (sitecoregruppe) OR readroles_sm:&#xA;   (sitecoreDigizuiteDAMforSitecoreAdministrators)))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which to me looks valid, but for some reason does not work. If I use the exact same code with lucene indexing then it works just fine. One thing I have noticed is that my field is in the Solr index, but as I am actually not using deny roles in my installation, then it is always empty. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Magnus&lt;/p&gt;&#xA;" OwnerUserId="2524" LastActivityDate="2017-11-20T07:58:29.863" Title="Solr query on read/deny roles" Tags="|solr|indexing|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8558" PostTypeId="1" AcceptedAnswerId="9323" CreationDate="2017-11-20T10:17:45.503" Score="13" ViewCount="2505" Body="&lt;p&gt;Background: Sitecore 9, Solr 6.6.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have got a strange issue with incorrect resolution of field type by SOLR during item indexing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read the following article about resolution a field names:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/using_solr_field_name_resolution&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/using_solr_field_name_resolution&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two separate stages of resolution: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Field name resolution during indexing &lt;/li&gt;&#xA;&lt;li&gt;Field name resolution during search&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Field name resolution during indexing&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As it is described in the documentation, Sitecore uses the &lt;code&gt;AddFieldByFieldTypeName&lt;/code&gt; and &lt;code&gt;AddTypeMatch&lt;/code&gt; sections of the configuration file for maping Sitecore field types to dynamic field types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default definition of &lt;code&gt;AddFieldByFieldTypeName&lt;/code&gt; section of &lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldTypes hint=&quot;raw:AddFieldByFieldTypeName&quot;&amp;gt;            &#xA;   &amp;lt;!-- Skipped some rows as it doesn't matter in my case --&amp;gt;       &#xA;   &amp;lt;fieldType fieldTypeName=&quot;checklist|multilist|treelist|tree list|treelistex|tree list|multilist with search|treelist with search&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;   &amp;lt;fieldType fieldTypeName=&quot;name lookup value list|name value list&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;   &amp;lt;fieldType fieldTypeName=&quot;droplink|droptree|grouped droplink|tree&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;&amp;lt;/fieldTypes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have a field &lt;strong&gt;ProductModel&lt;/strong&gt; with &lt;strong&gt;Droptree&lt;/strong&gt; type in Sitecore. As we can see it has to be associated with &lt;code&gt;stringCollection&lt;/code&gt; type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's look further. The default definition of &lt;code&gt;AddTypeMatch&lt;/code&gt; section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;guidCollection&quot; type=&quot;System.Collections.Generic.List`1[System.Guid]&quot; fieldNameFormat=&quot;{0}_sm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;textCollection&quot; type=&quot;System.Collections.Generic.List`1[System.String]&quot; fieldNameFormat=&quot;{0}_txm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;stringCollection&quot; type=&quot;System.Collections.Generic.List`1[System.String]&quot; fieldNameFormat=&quot;{0}_sm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;intCollection&quot; type=&quot;System.Collections.Generic.List`1[System.Int32]&quot; fieldNameFormat=&quot;{0}_im&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;guid&quot; type=&quot;System.Guid&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;id&quot; type=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;shortid&quot; type=&quot;Sitecore.Data.ShortID, Sitecore.Kernel&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;string&quot; type=&quot;System.String&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;text&quot; type=&quot;System.String&quot; fieldNameFormat=&quot;{0}_t&quot; cultureFormat=&quot;_{1}&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;int&quot; type=&quot;System.Int32&quot; fieldNameFormat=&quot;{0}_tl&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;bool&quot; type=&quot;System.Boolean&quot; fieldNameFormat=&quot;{0}_b&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;datetime&quot; type=&quot;System.DateTime&quot; fieldNameFormat=&quot;{0}_tdt&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss.FFF'Z'&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;long&quot; type=&quot;System.Int64&quot; fieldNameFormat=&quot;{0}_tl&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;float&quot; type=&quot;System.Single&quot; fieldNameFormat=&quot;{0}_tf&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;double&quot; type=&quot;System.Double&quot; fieldNameFormat=&quot;{0}_td&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;stringArray&quot; type=&quot;System.String[]&quot; fieldNameFormat=&quot;{0}_sm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;intArray&quot; type=&quot;System.Int32[]&quot; fieldNameFormat=&quot;{0}_im&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;datetimeArray&quot; type=&quot;System.DateTime[]&quot; fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;datetimeCollection&quot; type=&quot;System.Collections.Generic.List`1[System.DateTime]&quot; fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;    &amp;lt;typeMatch typeName=&quot;coordinate&quot; type=&quot;Sitecore.ContentSearch.Data.Coordinate, Sitecore.ContentSearch.Data&quot; fieldNameFormat=&quot;{0}_rpt&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;&amp;lt;/typeMatches&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We can see that the field which was associated with type &lt;code&gt;stringCollection&lt;/code&gt; should have the &lt;code&gt;fieldNameFormat=&quot;{0}_sm&quot;&lt;/code&gt; format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;BUT, when I look in the index, the field has &lt;code&gt;&quot;{0}_s&quot;&lt;/code&gt; format and looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;productmodel_s&quot;:&quot;b1550b9524e64d03a7f2b472dad5cd53&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;This is the key point in my problem!&lt;/strong&gt; because when I try to build facet based on this field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext().GetQueryable&amp;lt;SearchResultItem&amp;gt;().FacetOn(item =&amp;gt; item[&quot;productmodel&quot;]).GetResults();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;my query looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Solr Query - ?q=(*:*)&amp;amp;rows=2147483647&amp;amp;fq=_indexname:(sitecore_web_index)&amp;amp;fq=(_language:(en*))&amp;amp;facet=true&amp;amp;facet.field=productmodel_sm&amp;amp;f.productmodel_sm.facet.mincount=0&amp;amp;wt=xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;ProductModel field has &lt;code&gt;productmodel_sm&lt;/code&gt; format and definitely Solr can't find this field and I don't get any facets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The question is why the field name resolution is defined wrong during indexing?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="73" LastEditDate="2018-01-07T21:57:48.157" LastActivityDate="2021-11-16T08:13:58.847" Title="Incorrect dynamic field type for Droptree" Tags="|content-search|solr|" AnswerCount="2" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="8559" PostTypeId="1" CreationDate="2017-11-20T14:09:53.377" Score="2" ViewCount="246" Body="&lt;p&gt;I've been trying to set up a connection to the xConnect API from a .NET Core website for a couple days now.&lt;br&gt;&#xA;I ran in to a bunch of problems and i was wondering if something went wrong with my installation.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the following 3 lines from the documentation you configure the 3 clients to set up a connection in a non-sitecore context. (&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/xconnect-client-api-overview/get-client-outside-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/xconnect-client-api-overview/get-client-outside-sitecore.html&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        var collectionClient = new CollectionWebApiClient(new Uri(&quot;https://first.xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;        var searchClient = new SearchWebApiClient(new Uri(&quot;https://first.xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;        var configurationClient = new ConfigurationWebApiClient(new Uri(&quot;https://first.xconnect/configuration&quot;), clientModifiers, new[] { certificateModifier });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When opening the first 2 links (which are the same) i get an empty page which is to be expected and looks fine.&lt;br&gt;&#xA;However when opening the last link &lt;a href=&quot;https://first.xconnect/configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://first.xconnect/configuration&lt;/a&gt; i get a 404 page not found error. I was wondering if some one could tell me if this is normal.&lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="73" LastEditDate="2017-11-20T14:26:43.410" LastActivityDate="2017-11-20T14:26:43.410" Title="xConnect site.xconnect/configuration not found" Tags="|xconnect|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8560" PostTypeId="1" CreationDate="2017-11-20T14:19:40.700" Score="4" ViewCount="1156" Body="&lt;p&gt;For a WFFM, I have used the &lt;code&gt;Save Action&lt;/code&gt; as &lt;code&gt;Create Item&lt;/code&gt;. On Submit, it creates a new item as desired. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read that the WFFM data will be saved into these SQL tables - &lt;code&gt;FormFieldValues&lt;/code&gt;, &lt;code&gt;Fact_FormSummary&lt;/code&gt;, &lt;code&gt;Fact_FormEvents&lt;/code&gt; and &lt;code&gt;Fact_FormStatisticsByContact&lt;/code&gt; but it did not. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those tables are empty. Is there any other option I should select in the &quot;Save Actions&quot;, to have the data save into the tables. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;em&gt;Sitecore.WFFM.Dependencies.config&lt;/em&gt;, I changed the dataprovider from &lt;code&gt;&amp;lt;formsDataProvider ref=&quot;/sitecore/wffm/analytics/analyticsFormsDataProvider&quot;/&amp;gt;&lt;/code&gt;  to  &lt;code&gt;&amp;lt;formsDataProvider ref=&quot;/sitecore/wffm/analytics/sqlFormsDataProvider&quot;/&amp;gt;&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It creates the item but no data in the tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using sc8.2u3. &lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="70" LastEditDate="2017-11-20T14:37:34.910" LastActivityDate="2017-11-21T09:51:09.367" Title="How to save WFFM data to SQL tables" Tags="|wffm|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8561" PostTypeId="1" AcceptedAnswerId="8562" CreationDate="2017-11-20T14:55:02.593" Score="17" ViewCount="24082" Body="&lt;p&gt;I'm trying to initialize a connection between a &lt;code&gt;.NET Core application&lt;/code&gt; and an &lt;code&gt;xConnect installation&lt;/code&gt;.&lt;br&gt;&#xA;I ran into the following &lt;strong&gt;error&lt;/strong&gt;:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;   An unhandled exception of type 'Sitecore.XConnect.XdbCollectionUnavailableException' occurred in mscorlib.dll&#xA;    The HTTP response was not successful: Unauthorized&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the &lt;strong&gt;stack trace&lt;/strong&gt;:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.d__4.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;    at Sitecore.XConnect.Client.XConnectClientConfiguration.d__32.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()&#xA;    at CashRegisterApplication.Controllers.RegisterController.d__7.MoveNext()&#xA;&#xA;   End of stack trace from previous location where exception was thrown ---&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()&#xA;    at CashRegisterApplication.Controllers.RegisterController.d__4.MoveNext()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've been looking for what is causing this error for a while now but I can't find any leads, has anyone seen this before or does anyone have tips where I can start looking?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I decided not to include this because I have no clue if it has anything to do with it but on second thought it could ring a bell for someone so here it goes:&lt;br&gt;&#xA;The &lt;code&gt;Collection.ShardMapManager&lt;/code&gt; database was created without a user, I added this user myself. I think it might have something to do with that. This post showed me there was no account configured for that database: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.kasaku.co.uk/2017/11/05/sitecore-xconnect-shard-map-must-be-configured/&quot; rel=&quot;noreferrer&quot;&gt;https://www.kasaku.co.uk/2017/11/05/sitecore-xconnect-shard-map-must-be-configured/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="5387" LastEditDate="2019-07-29T05:54:17.807" LastActivityDate="2023-11-15T14:00:17.467" Title="xConnect The HTTP response was not successful: Unauthorized" Tags="|xconnect|" AnswerCount="9" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="8562" PostTypeId="2" ParentId="8561" CreationDate="2017-11-20T15:05:17.023" Score="15" Body="&lt;p&gt;&lt;em&gt;UPDATE:&lt;/em&gt; Added mark's solution to help those looking for answers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can think of a few possible reasons you are getting an unauthorized issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your thumbprint or certificate is not properly installed so you are being blocked from connecting to xConnect&lt;/li&gt;&#xA;&lt;li&gt;Your application does not have access to the certificate (e.g. IIS user does not have permission)&lt;/li&gt;&#xA;&lt;li&gt;You did not execute the script in the installation guide Post-installation steps.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In the 9.0 Initial release installation guide, the following script needs to be executed. Remember to update user name and password to the appropriate ones for your system.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;:SETVAR DatabasePrefix xp1&#xA;:SETVAR UserName collectionuser&#xA;:SETVAR Password Test12345&#xA;:SETVAR ShardMapManagerDatabaseNameSuffix _Xdb.Collection.ShardMapManager&#xA;:SETVAR Shard0DatabaseNameSuffix _Xdb.Collection.Shard0&#xA;:SETVAR Shard1DatabaseNameSuffix _Xdb.Collection.Shard1&#xA;GO&#xA;IF(SUSER_ID('$(UserName)') IS NULL)&#xA;BEGIN&#xA; CREATE LOGIN [$(UserName)] WITH PASSWORD = '$(Password)';&#xA;END;&#xA;GO&#xA;USE [$(DatabasePrefix)$(ShardMapManagerDatabaseNameSuffix)]&#xA;IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'$(UserName)')&#xA;BEGIN&#xA; CREATE USER [$(UserName)] FOR LOGIN [$(UserName)]&#xA; GRANT SELECT ON SCHEMA :: __ShardManagement TO [$(UserName)]&#xA; GRANT EXECUTE ON SCHEMA :: __ShardManagement TO [$(UserName)]&#xA;END;&#xA;GO&#xA;USE [$(DatabasePrefix)$(Shard0DatabaseNameSuffix)]&#xA;IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'$(UserName)')&#xA;BEGIN&#xA; CREATE USER [$(UserName)] FOR LOGIN [$(UserName)]&#xA; EXEC [xdb_collection].[GrantLeastPrivilege] @UserName = '$(UserName)'&#xA;END;&#xA;GO&#xA;USE [$(DatabasePrefix)$(Shard1DatabaseNameSuffix)]&#xA;IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'$(UserName)')&#xA;BEGIN&#xA; CREATE USER [$(UserName)] FOR LOGIN [$(UserName)]&#xA; EXEC [xdb_collection].[GrantLeastPrivilege] @UserName = '$(UserName)'&#xA;END;&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2017-11-23T13:57:07.680" LastActivityDate="2017-11-23T13:57:07.680" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8563" PostTypeId="1" AcceptedAnswerId="8565" CreationDate="2017-11-20T15:10:07.407" Score="6" ViewCount="849" Body="&lt;p&gt;I am trying to sort results by a decimal field, but it doesn't work. I need to use the property name indexer on the standard &lt;code&gt;SearchResultItem&lt;/code&gt; so that it can be dynamic. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;return queryable.OrderBy(i =&amp;gt; i[&quot;price&quot;]);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have a string &amp;amp; DateTime fields that work fine using:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;return queryable.OrderBy(i =&amp;gt; i[&quot;date&quot;]);&#xA;return queryable.OrderBy(i =&amp;gt; i[&quot;title&quot;]);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;price&quot; &#xA;   storageType=&quot;YES&quot; &#xA;   indexType=&quot;UNTOKENIZED&quot; &#xA;   vectorType=&quot;NO&quot; &#xA;   boost=&quot;1f&quot; &#xA;   type=&quot;System.Single&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have also tried &lt;code&gt;System.Double&lt;/code&gt; , &lt;code&gt;System.Decimal&lt;/code&gt; for the type but still no luck. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: field in Luke:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RheuW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RheuW.png&quot; alt=&quot;Luke&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="1125" LastEditDate="2017-11-20T15:59:54.220" LastActivityDate="2018-03-25T00:26:43.427" Title="Lucene: sort by numeric field" Tags="|content-search|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="8565" PostTypeId="2" ParentId="8563" CreationDate="2017-11-20T15:42:52.010" Score="2" Body="&lt;p&gt;If your property name has to be dynamic, You could try the following code for sorting on numeric field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return queryable.OrderBy(i =&amp;gt; (double)i[(ObjectIndexerKey)&quot;price&quot;]);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Set Your field config to use System.Double :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;price&quot; &#xA;   storageType=&quot;YES&quot; &#xA;   indexType=&quot;TOKENIZED&quot; &#xA;   vectorType=&quot;NO&quot; &#xA;   boost=&quot;1f&quot; &#xA;   type=&quot;System.Double&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can ask Sitecore to use IndexFieldFloatingPointNumberValueConverter as default converter for any double value using this Patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultLuceneIndexConfiguration&amp;gt;&#xA;          &amp;lt;indexFieldStorageValueFormatter&amp;gt;&#xA;            &amp;lt;converters&amp;gt;&#xA;              &amp;lt;converter handlesType=&quot;System.Double&quot; typeConverter=&quot;Sitecore.ContentSearch.LuceneProvider.Converters.IndexFieldFloatingPointNumberValueConverter , Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;            &amp;lt;/converters&amp;gt;&#xA;          &amp;lt;/indexFieldStorageValueFormatter&amp;gt;&#xA;        &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: I changed the field to be TOKENIZED as this is how it should be&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="-1" LastEditDate="2018-03-25T00:26:43.427" LastActivityDate="2018-03-25T00:26:43.427" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8566" PostTypeId="1" AcceptedAnswerId="8570" CreationDate="2017-11-20T18:14:10.760" Score="5" ViewCount="1450" Body="&lt;p&gt;Our servers' log files are filling up with &lt;code&gt;[WFFM] CurrentSession  is not initialized&lt;/code&gt;. The issue is due to the various events that are triggered when filling out a form: Field Complete, Error in Field Syntx, etc. These get triggered as XHR requests while a user is filling out the form and tabbing away from fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xDB is disabled in this instance, yet WFFM is still attempting to log these events.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-01-23T02:57:48.497" Title="WFFM CurrentSession is not initialized Filling up Logs" Tags="|xdb|wffm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8567" PostTypeId="2" ParentId="8566" CreationDate="2017-11-20T18:14:10.760" Score="1" Body="&lt;p&gt;I pulled apart the DLLs that are responsible for these messages and it doesn't appear that any of these events check if xDB is disabled. The solution was to override the default WFFM logger:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomDefaultImplLogger : DefaultImplLogger&#xA;{&#xA;    private const string CurrentSession = &quot;CurrentSession&quot;;&#xA;&#xA;    public override bool IsNull(object obj, string name)&#xA;    {&#xA;        Assert.ArgumentNotNullOrEmpty(name, nameof(name));&#xA;        // only addition&#xA;        if (name == CurrentSession &amp;amp;&amp;amp; !DependenciesManager.Settings.IsXdbTrackerEnabled)&#xA;            return true;&#xA;&#xA;        if (obj != null)&#xA;            return false;&#xA;        Log($&quot;{name}  is not initialized&quot;, this, LogMessageType.Warn);&#xA;        return true;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;wffm&amp;gt;&#xA;    &amp;lt;logger type=&quot;Sitecore.Forms.Core.Dependencies.DefaultImplLogger, Sitecore.Forms.Core&quot;&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;MyLogger.CustomDefaultImplLogger, MyLogger&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/logger&amp;gt;&#xA;  &amp;lt;/wffm&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This method will continue to work correctly once Analytics is later enabled as well.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2017-11-20T18:14:10.760" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8568" PostTypeId="1" AcceptedAnswerId="8569" CreationDate="2017-11-20T20:58:35.147" Score="10" ViewCount="1940" Body="&lt;p&gt;On Sitecore 9.0, when I attempt to load any URL, I get an Owin startup exception with the following details:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.EntryPointNotFoundException: The following errors occurred while attempting to load the app.&#xA;- No assembly found containing an OwinStartupAttribute.&#xA;- The discovered startup type 'Sitecore.Owin.Startup, Sitecore.Owin, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' conflicts with the type 'SolrNet.Startup, SolrNet, Version=0.4.0.2002, Culture=neutral, PublicKeyToken=null'. Remove or rename one of the types, or reference the desired type directly. To disable OWIN startup discovery, add the appSetting owin:AutomaticAppStartup with a value of &quot;false&quot; in your web.config. To specify the OWIN startup Assembly, Class, or Method, add the appSetting owin:AppStartup with the fully qualified startup class or configuration method name in your web.config.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What could be causing this?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-01-19T00:46:43.767" Title="System.EntryPointNotFoundException when loading Sitecore 9.0" Tags="|configuration|tds|visual-studio|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8569" PostTypeId="2" ParentId="8568" CreationDate="2017-11-20T20:58:35.147" Score="12" Body="&lt;p&gt;This is an indication on Sitecore 9 that your &lt;code&gt;Web.config&lt;/code&gt; has been overwritten. Check the deployed &lt;code&gt;Web.config&lt;/code&gt;, replace it with the stock 9.0 version if needed, and/or ensure your Visual Studio solution is configured to deploy the proper &lt;code&gt;Web.config&lt;/code&gt;. It could be that one was added to a web app project after installing a nuget package. If you're using TDS, try setting the &lt;em&gt;Build Action&lt;/em&gt; to &lt;em&gt;None&lt;/em&gt; on &lt;code&gt;Web.config&lt;/code&gt; files which you do not wish to deploy.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2017-11-20T20:58:35.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8570" PostTypeId="2" ParentId="8566" CreationDate="2017-11-20T22:11:12.193" Score="5" Body="&lt;p&gt;You should ensure that &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; is enabled:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;  XDB TRACKING ENABLED&#xA;            Determines whether tracking is enabled or not.&#xA;            Default value: true&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's entirely possible to set &lt;code&gt;Xdb.Enabled=false&lt;/code&gt; whilst keeping the above setting enabled, the two are not required to be the same. Keeping tracking enabled allows &quot;in-session&quot; personalization to take place. You can read more in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/configuring/disabling_xdb_and_the_xdb_tracker&quot; rel=&quot;noreferrer&quot;&gt;official documentation&lt;/a&gt; or this other &lt;a href=&quot;https://sitecore.stackexchange.com/a/357/135&quot;&gt;StackExchange answer&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have not seen any official sources about WFFM and a requirement for Tracking to be enabled, but from experience have noted various issues with WFFM if this is disabled, including the warnings in the logs and the Rules section not being enabled on fields (it's possible to run Rules based personalization based on in-session even with Xdb being disabled, but in this case the related setting makes sense).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, the fix you have implemented is checking that &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; is not set to true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also disable Dropout Tracking. Select your form in the Content Editor, and then select Properties from the Forms tab:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jc6qX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jc6qX.png&quot; alt=&quot;Dropout Tracking&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should be disabled by default when you create the form when Xdb is disabled, but if you are packaging up items from another environment where Xdb is enabled then that could cause the xhr errors you are seeing. In an ideal situation, your environment architecture should be as similar as possible.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-11-20T22:26:36.493" LastActivityDate="2017-11-20T22:26:36.493" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8571" PostTypeId="1" CreationDate="2017-11-20T22:26:35.510" Score="2" ViewCount="999" Body="&lt;p&gt;We are using sitecore 8.2 update 1 with EXM. &#xA;Mailing campaigns isn't a problem but then when the user clicks on the &lt;code&gt;unsubscribe&lt;/code&gt; link they don't see any success message. It's just empty page.&#xA;Sometimes we see '404' page and sometimes its empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Server configuration is 1 CM + 1 CD server.&#xA;On CD, &lt;code&gt;AnalyticsClusetername&lt;/code&gt; is set to one of the site's host name and &#xA;&lt;code&gt;AnalyticsHostname&lt;/code&gt; is empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, the &lt;code&gt;FinalConfirmation&lt;/code&gt; page is also set on the exm manager root,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In templates (both EXM OOB and custom templates) the link to unsubscribe is set as &lt;code&gt;/sitecore/Unsubscribe.aspx&lt;/code&gt;  But still the unsubscription doesn't work.&#xA;No message and the contact is not added to global opt-out list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Logs show the below message. Apart from it, there are no significant errors:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The query string received for this event was not marked as valid. The event will not be handled.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="1000" LastEditDate="2017-11-20T22:45:26.053" LastActivityDate="2017-12-11T18:09:48.160" Title="EXM issue with unsubscribe" Tags="|exm|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8572" PostTypeId="1" CreationDate="2017-11-21T02:29:41.950" Score="4" ViewCount="1433" Body="&lt;p&gt;On my Sitecore instance I'm authenticating a user programatically like this(adapted for this post):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpGet]&#xA;        public ActionResult MyAction(MyModel model)&#xA;        {&#xA;             //custom logic&#xA;             Sitecore.Security.Authentication.AuthenticationManager.Login(&quot;extranet\\&quot;+username,password);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works well. When I call the &lt;code&gt;Sitecore.Context.User.IsAuthenticated&lt;/code&gt; property to check whether the user was authenticated it returns true.&#xA;But that lasts until the ActionResult finishes it's execution.  When I make a post or redirect the user to another page the IsAuthenticated property always returns false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example I have a post which gets executed on the same page declared as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        [HttpPost]&#xA;        public ActionResult MyAction(MyModel model, string anotherParameter)&#xA;        { &#xA;               //This always returns false&#xA;               if (Sitecore.Context.User.IsAuthenticated)&#xA;               {&#xA;                    //my custom logic. &#xA;               }&#xA;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is what my session state looks on the web.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;InProc&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot; sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;mongo&quot; type=&quot;Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As far as I can tell this is fine and should make the session last for 20 minutes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on what could be wrong here?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="1470" LastEditDate="2017-11-21T12:05:33.827" LastActivityDate="2017-11-21T15:25:44.067" Title="Sitecore losing the client session unexpectedly" Tags="|session-state|authentication|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="8574" PostTypeId="1" AcceptedAnswerId="8576" CreationDate="2017-11-21T07:02:09.310" Score="4" ViewCount="1602" Body="&lt;p&gt;The solution is having two projects &lt;code&gt;Web&lt;/code&gt; and &lt;code&gt;Service Layer&lt;/code&gt;. Service Layer do not have any dependency with Sitecore. However the exceptions needs to be logged into Sitecore log files in data folder. What is the best way to do this?&lt;/p&gt;&#xA;" OwnerUserId="2721" LastActivityDate="2017-11-21T09:41:10.247" Title="How to log service layer exceptions in Sitecore log files?" Tags="|logging|log4net|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8576" PostTypeId="2" ParentId="8574" CreationDate="2017-11-21T08:42:01.420" Score="5" Body="&lt;p&gt;Sitecore logging system is wrapper under log4net. It is even configured not under &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node in web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use Sitecore log files you should have 3 things:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Configured &lt;code&gt;&amp;lt;log4net&amp;gt;&lt;/code&gt; section in web.config file. (If your service layer is hosted from same folder as Sitecore then nothing should be changed. Otherwise you can copy log4net section to your web config file)&lt;/li&gt;&#xA;&lt;li&gt;You need reference &lt;code&gt;Sitecore.Kernel&lt;/code&gt; assembly to your Service Layer application. Sitecore log4net logging wrapper is inside it.&lt;/li&gt;&#xA;&lt;li&gt;You could use &lt;code&gt;Sitecore.Diagnostics.Log.Log()&lt;/code&gt;(Debug/Warn/Error/Audit) to write logs.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you want independent logs for you service layer then configure separately &lt;a href=&quot;https://logging.apache.org/log4net/&quot; rel=&quot;noreferrer&quot;&gt;log4net&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-11-21T08:42:01.420" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8577" PostTypeId="2" ParentId="8574" CreationDate="2017-11-21T09:41:10.247" Score="1" Body="&lt;p&gt;If your &lt;code&gt;Service Layer&lt;/code&gt;doesn't has any dependencies with Sitecore and it can't be added (in some reasons), I can suggest adding an additional class libriary (Project), then adding the reference to the Sitecore.Kernel&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, you need add something like a wrapper for the Sitecore Loger:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; using System;&#xA;&#xA;namespace Your.Namespace&#xA;{&#xA;public static class LogService&#xA;{&#xA;&#xA;    public static void Debug(string message){&#xA;&#xA;        Sitecore.Diagnostics.Log.Debug(message);&#xA;    }&#xA;&#xA;    public static void Debug(string message, Exception exception)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Debug(message, exception);&#xA;    }&#xA;&#xA;    public static void Info(string message, object owner)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Info(message, owner);&#xA;    }&#xA;&#xA;    public static void Info(string message, Exception exception)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Info(message, exception);&#xA;    }&#xA;&#xA;    public static void Warn(string message, object owner)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Warn(message, owner);&#xA;    }&#xA;&#xA;    public static void Warn(string message, Exception exception)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Warn(message, exception);&#xA;    }&#xA;&#xA;    public static void Error(string message, object owner)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Error(message, owner);&#xA;    }&#xA;&#xA;    public static void Error(string message, Exception exception)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Error(message, exception);&#xA;    }&#xA;&#xA;    public static void Fatal(string message, object owner)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Fatal(message, owner);&#xA;    }&#xA;&#xA;    public static void Fatal(string message, Exception exception)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Fatal(message, exception);&#xA;    }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can add to the &lt;code&gt;Service Layer&lt;/code&gt; a reference to newly added project and use LogService for writing to the Sitecore Log.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-11-21T09:41:10.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8578" PostTypeId="2" ParentId="8560" CreationDate="2017-11-21T09:51:09.367" Score="1" Body="&lt;p&gt;I was able to solve this following @AhmedOkour's suggestion.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Attach the &lt;code&gt;Sitecore_Wffm&lt;/code&gt; database which will be located inside /website/data folder.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open &lt;code&gt;/App_Config/Include/Sitecore.WFFM.Dependencies.config&lt;/code&gt; and change the reference attribute for formsDataProvider. It should be sqlFormsDataProvider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;formsDataProvider ref=&quot;/sitecore/wffm/analytics/sqlFormsDataProvider&quot;/&gt;&lt;/em&gt;  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open &lt;code&gt;/App_Config/Include/Sitecore.Forms.config&lt;/code&gt; and check the WFFM connection string setting&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;setting name=&quot;WFM.ConnectionString&quot; value=&quot;wfm&quot; /&gt;&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add a new connection string in /App_config/ConnectionStrings.config&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;add name=&quot;wfm&quot; connectionString=&quot;Data Source=(local);Initial Catalog=mysite_Sitecore_wffm;Integrated Security=False;User ID=sa;Password=123&quot; /&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The connection string name should be the same as mentioned in &lt;em&gt;Sitecore.Forms.config&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Submit the form and you can check the data in these tables in the mysite_sitecore_wffm database - &lt;code&gt;FieldData, FormData&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2017-11-21T09:51:09.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8579" PostTypeId="1" CreationDate="2017-11-21T10:27:47.780" Score="2" ViewCount="123" Body="&lt;p&gt;Using sc8.2u3 with WFFM 8.2u3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the &quot;Save Action&quot; as &quot;Create Item&quot; for a WFFM. And also, the data will be stored in SQL tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Followed &lt;a href=&quot;http://josedbaez.com/2016/09/wffm-encryption/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; to encrypt the data. The data being saved in the tables is encrypted, but it is not, in the item created in the CMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there two different actions being executed when user clicks on Submit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What needs to be done, so that the item created also has encrypted field values.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-11-21T10:36:40.033" LastActivityDate="2017-11-21T11:33:43.643" Title="WFFM data encryption for created item" Tags="|wffm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8580" PostTypeId="1" CreationDate="2017-11-21T11:18:40.873" Score="4" ViewCount="97" Body="&lt;p&gt;I am trying to make React work with a Sitecore 9 instance using &lt;a href=&quot;https://github.com/GuitarRich/sitecore.react&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/GuitarRich/sitecore.react&lt;/a&gt; as reference. There were no build errors but upon publishing it, I encountered this error: &lt;em&gt;&quot;Object reference not set to an instance of an object&quot;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition to the github reference above, I also installed the Sitecore.React and Sitecore.React.Web Nuget packages to the Foundation, Feature and Project projects but I still encounter the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think that the ReactSettingsProvider.Current is null but I am unable to find where it should be instantiated and/or given a value. Any help is much appreciated!&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HL1sF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HL1sF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2724" LastEditorUserId="2727" LastEditDate="2018-04-02T12:46:23.647" LastActivityDate="2018-04-02T12:46:23.647" Title="Sitecore.React null reference error on ReactSettingsProvider" Tags="|sitecore-react|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8581" PostTypeId="2" ParentId="8579" CreationDate="2017-11-21T11:33:43.643" Score="1" Body="&lt;p&gt;As per my understanding, you are looking for a solution to encrypt or decrypt the form data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We got the similar challenge to encrypt or decrypt the values, I am sharing my experience as below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have performed our desired operation before data save action. Here we did some customization in Sitecore form fields and written some pipeline that deals with data before save action. This code will update the submitted form data based on some attributed available in specific field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution what we implemented is -&lt;/p&gt;&#xA;&#xA;&lt;p&gt;•   Addition of Custom attribute - Added custom attribute “Parameters” field so that any field which has this attribute will be considered for encryption/decryption.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;encryptValue&amp;gt;true&amp;lt;/encryptValue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;•   Write a pipeline for &quot;wffm.submit&quot; - this pipeline will execute before default save action.  Here we need to write logic to perform the respective operation. Once an operation is performed, the system will save the value in all targeted place Sitecore tree, mongo or custom database.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;wffm.submit&amp;gt;&#xA;        &amp;lt;processor type=&quot;WFFM.Cusomization RegisterFormSubmitEvent,WFFM.Cusomization&quot; patch:before=&quot;processor[@type='Sitecore.Forms.Mvc.Pipelines.Submit.RegisterFormSubmitEvent,Sitecore.Forms.Mvc']&quot;/&amp;gt;&#xA;      &amp;lt;/wffm.submit&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope it would help you.&lt;/p&gt;&#xA;" OwnerUserId="2723" LastActivityDate="2017-11-21T11:33:43.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8582" PostTypeId="2" ParentId="8522" CreationDate="2017-11-21T11:38:32.053" Score="1" Body="&lt;p&gt;Could you try overriding the CacheKeyGenerator with the following class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CacheKeyGenerator : ICacheKeyGenerator&#xA;{&#xA;    public string Generate(ObjectConstructionArgs args)&#xA;    {&#xA;        var context = args.AbstractTypeCreationContext as SitecoreTypeCreationContext;&#xA;&#xA;        return string.Format(&quot;{0}{1}{2}{3}{4}{5}{6}{7}&quot;,&#xA;            context.SitecoreService.GlassContext.Name,&#xA;            Sitecore.Context.Site == null ? string.Empty : Sitecore.Context.Site.Name,&#xA;            context.Item.ID,&#xA;            context.Item[&quot;__Revision&quot;],&#xA;            context.Item.Language.Name,&#xA;            context.Item.Database.Name,&#xA;            args.Configuration.Type.FullName,&#xA;            context.IsLazy&#xA;            );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Let me know if this fixes the issue because I think this is a bug.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-11-21T11:38:32.053" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8583" PostTypeId="1" AcceptedAnswerId="8606" CreationDate="2017-11-21T11:42:13.310" Score="1" ViewCount="225" Body="&lt;p&gt;We are trying to add more then one button in a WFFM form and each button will perform a different action.  Currently the only option is to have a &lt;code&gt;Submit&lt;/code&gt; button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.1 and WFFM in our solution.&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="1000" LastEditDate="2017-11-21T13:30:25.333" LastActivityDate="2017-11-22T07:17:38.563" Title="Adding two buttons on WFFM" Tags="|wffm|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8584" PostTypeId="2" ParentId="8572" CreationDate="2017-11-21T12:00:00.760" Score="0" Body="&lt;p&gt;Sitecore asynchronously checks for robot detection and everything goes well then it reset the session according to your configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please observe on your first request, Sitecore will make an ajax request to check something, it this not happening properly then you have to figure out why this is not happening &#xA;please check that visitor identification is working properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably sitecore will make request &lt;code&gt;&quot;/layouts/system/VisitorIdentificationCSS.aspx&quot;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2723" LastActivityDate="2017-11-21T12:00:00.760" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8585" PostTypeId="1" CreationDate="2017-11-21T12:20:04.520" Score="1" ViewCount="941" Body="&lt;p&gt;I created a project from the scratch and I had to add the Dynamic placeholders. But the only thing, I was unable to do, is to set for the Dynamic placeholders, some kind of placeholder Settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an automatic way to do that? Otherwise, The user has to select manually through Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="2727" LastEditDate="2018-02-05T06:47:20.983" LastActivityDate="2018-03-28T13:32:19.223" Title="Dynamic Placeholder and Placeholder Settings" Tags="|placeholders|dynamic-placeholder|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="8586" PostTypeId="1" AcceptedAnswerId="8588" CreationDate="2017-11-21T12:33:42.090" Score="6" ViewCount="270" Body="&lt;p&gt;I need to downgrade from Sitecore 8.2 update 5 to Sitecore 8.2 update 2 due issues in a specific package on my solution as it seems it does not support Sitecore 8.2 update 5 yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any path that I can achieve that?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-11-21T14:41:42.450" Title="Is there a way to downgrade Sitecore 8.2 update 5 to Sitecore 8.2 update 2?" Tags="|configuration|upgrade|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8587" PostTypeId="2" ParentId="8583" CreationDate="2017-11-21T13:32:31.950" Score="0" Body="&lt;p&gt;There is no out of the box feature for adding two buttons in WFFM forms. However you can try adding a new button using jQuery (by basic DOM manipulation). Please refer this &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/82/working_with_actions_and_validations/the_submit_button/walkthrough_configuring_the_submit_button&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt; for more details on configuring submit button in WFFM forms&lt;/p&gt;&#xA;" OwnerUserId="2721" LastActivityDate="2017-11-21T13:32:31.950" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8588" PostTypeId="2" ParentId="8586" CreationDate="2017-11-21T14:41:42.450" Score="5" Body="&lt;p&gt;It would be better if you start with a fresh Sitecore instance and move content, Code to it.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install fresh instance of Sitecore 8.2 Update - 2&lt;/li&gt;&#xA;&lt;li&gt;Move your items, templates, media, security objects etc back to the new instance, I would recommend using Sitecore serialization, Or unicorn , Sitecore packages might have some limitations and it times out for large packages &lt;/li&gt;&#xA;&lt;li&gt;Publish Site.&lt;/li&gt;&#xA;&lt;li&gt;Update the references in your solution back to Sitecore 8.2-u2 , Build and deploy to your new Sitecore instance&lt;/li&gt;&#xA;&lt;li&gt;Compare App_config folder with the old folder to see if you have changes on sitecore configurations that are not maintained with your source control/Solution&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-11-21T14:41:42.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8589" PostTypeId="2" ParentId="8572" CreationDate="2017-11-21T15:25:44.067" Score="2" Body="&lt;p&gt;Try to pass the persistent paramenter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Security.Authentication.AuthenticationManager.Login(&quot;extranet\\&quot; + username, password, persistent: true, allowLoginToShell: false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="988" LastActivityDate="2017-11-21T15:25:44.067" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8590" PostTypeId="1" AcceptedAnswerId="8591" CreationDate="2017-11-21T16:59:07.440" Score="24" ViewCount="22613" Body="&lt;p&gt;I'm installing the Sitecore 9 XP0 locally and struggling with the following problem:&#xA;installation process fails with the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unable to connect to master or target server 'xp0_Processing.Pools'. You must have a user with the same password in &#xA;  master or target server 'xp0_Processing.Pools'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The error occurs on Deploying package to database stage. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My install.ps1 is created from the official Sitecore Installation Guide, $SqlAdminUser, $SqlAdminUser and $SqlAdminPassword parameters are set correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can be the reason here?&lt;/p&gt;&#xA;" OwnerUserId="792" LastEditorUserId="2890" LastEditDate="2018-02-15T01:32:29.810" LastActivityDate="2019-10-21T10:59:51.720" Title="You must have a user with the same password in master or target server" Tags="|installation|sitecore-install-framework|" AnswerCount="12" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8591" PostTypeId="2" ParentId="8590" CreationDate="2017-11-21T17:09:11.510" Score="20" Body="&lt;p&gt;I had the same issue when I tried to install Sitecore 9 with &lt;code&gt;MS SQL Server 2017&lt;/code&gt;. The Sitecore 9 has the &lt;code&gt;MS SQL Server 2016&lt;/code&gt; in the prerequisits. Unfortunatelly it looks like the newer versions are not supported. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to install the &lt;code&gt;MS SQL Server 2016&lt;/code&gt; and re-run the installation. &lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="792" LastEditDate="2017-11-21T17:16:44.960" LastActivityDate="2017-11-21T17:16:44.960" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8592" PostTypeId="2" ParentId="8537" CreationDate="2017-11-21T17:50:07.257" Score="0" Body="&lt;p&gt;&lt;strong&gt;Edited&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@Marek Musielak Thanks a lot. Your answer worked like a charm. I am sure your suggestions in this post will be extremely useful for the Sitecore community.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had to make some minor changes to your code (as posted below) for it to work for my version. Also, noticed that for EXM, after you update the recipient count, the contact still needs to have an identifier in MongoDb for the email to be sent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code block:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Import Namespace=&quot;Sitecore.SecurityModel&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Configuration&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Data&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Data.Items&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.ListManagement&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.ListManagement.ContentSearch&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.ListManagement.ContentSearch.Model&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.WFFM.Abstractions.Actions&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.WFFM.Abstractions.Shared&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;System.Collections&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;System.Collections.Generic&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;System.Linq&quot; %&amp;gt;&#xA;&#xA;ListManager&amp;lt;ContactList, ContactData&amp;gt; listManager = Factory.CreateObject(&quot;contactListManager&quot;, false) as ListManager&amp;lt;ContactList, ContactData&amp;gt;;&#xA;            using (new SecurityDisabler())&#xA;            {&#xA;                using (IEnumerator&amp;lt;ContactList&amp;gt; enumerator = ((IEnumerable&amp;lt;ContactList&amp;gt;)listManager.GetAll((string)null, true)).GetEnumerator())&#xA;                {&#xA;                    while (((IEnumerator)enumerator).MoveNext())&#xA;                    {&#xA;                        ContactList current = enumerator.Current;&#xA;                                                                                                output.AppendLine(current.Id.ToString());&#xA;                        Item obj = Factory.GetDatabase(&quot;master&quot;).GetItem(current.Id);&#xA;                        //this.Response.Write(&quot;List: &quot; + current.get_DisplayName() + &quot;, list id: (&quot; + current.get_Id() + &quot;), contacts in index: &quot; + (object)listManager.GetContacts(current).Count&amp;lt;ContactData&amp;gt;() + &quot;, contacts in field: &quot; + ((BaseItem)obj).get_Item(&quot;Recipients&quot;));&#xA;                        if (obj != null &amp;amp;&amp;amp; listManager.GetContacts(current).Count&amp;lt;ContactData&amp;gt;() &amp;gt; int.Parse(((BaseItem)obj).Fields[&quot;Recipients&quot;].ToString()))&#xA;                        {&#xA;                            obj.Editing.BeginEdit();&#xA;                                                                                                                output.AppendLine(listManager.GetContacts(current).Count&amp;lt;ContactData&amp;gt;().ToString());&#xA;                            ((BaseItem)obj).Fields[&quot;Recipients&quot;].Value = listManager.GetContacts(current).Count&amp;lt;ContactData&amp;gt;().ToString();&#xA;                            obj.Editing.EndEdit();&#xA;                            //this.Response.Write(&quot;&amp;lt;/br&amp;gt;List field was updated&quot;);&#xA;                        }&#xA;                        //this.Response.Write(&quot;&amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;&quot;);&#xA;                    }&#xA;                }&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2704" LastActivityDate="2017-11-21T17:50:07.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8593" PostTypeId="1" AcceptedAnswerId="8594" CreationDate="2017-11-21T17:56:27.833" Score="3" ViewCount="12503" Body="&lt;p&gt;I'm trying to query a folder under the media library which has a bunch of templates based on a custom File template. I've tried to play around with a couple approaches but none of them have been successful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Querying the entire media folder and grabbing all files based on the File template using the following line:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;var files = SitecoreContext.Database.SelectItems($&quot;fast:/sitecore/media library/*#[@@id = '{dcdFilesFolderId}']#//**#[@@tid = '{templateId}']#&quot;);&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but this results in the error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Data.Query.ParseException: End of string expected at position 77.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Query for a single item using the file ID:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;var file = SitecoreContext.Database.SelectItem(&#xA;                    $&quot;fast:/sitecore/media library/*#[@@id = '{dcdFilesFolderId}']#//**[@File ID = '{fileid}']&quot;);&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and this returns no hits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What else can I try or make these queries work?&lt;/p&gt;&#xA;" OwnerUserId="2283" LastEditorUserId="1150" LastEditDate="2017-11-21T20:32:00.170" LastActivityDate="2017-11-21T20:32:00.170" Title="How to query for items under @@id with specific @@templateid" Tags="|sitecore-query|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8594" PostTypeId="2" ParentId="8593" CreationDate="2017-11-21T18:22:16.687" Score="8" Body="&lt;p&gt;First: Don't use fast query, use your index (&lt;code&gt;Sitecore.ContentSearch&lt;/code&gt;). &quot;fast&quot; query is actually very slow by comparison.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The query you tried is malformed, that's why you see this message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.Data.Query.ParseException: End of string expected at position&#xA;  77.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It should look like this when the string is formatted:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/media library//*[@@id='{43440D8E-E6AC-4F36-A5A5-53DB5CEFE369}']//*[@@templateid='{F44A8BAC-17C7-4A34-A84A-9B5F8CBBCEDC}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;//* will find all descendants&lt;/li&gt;&#xA;&lt;li&gt;/* will find children (direct descendants)&lt;/li&gt;&#xA;&lt;li&gt;'#' is used to escape item/field names. It is not necessary when you're using the attribute tokens (e.g.: @@id, @@templateid&lt;/li&gt;&#xA;&lt;li&gt;It's @@templateid, not @@tid&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Query Cheat Sheet&lt;/a&gt; is handy (and still relevant)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's also a Xpath Builder tool that you can use to test out your queries. This has been inexplicably removed from the the sitecore interface/navigation/control panel but you can get to it directly from here:&#xA;&lt;a href=&quot;http://[SiteUrl]/sitecore/shell/default.aspx?xmlcontrol=IDE&quot; rel=&quot;noreferrer&quot;&gt;http://[SiteUrl]/sitecore/shell/default.aspx?xmlcontrol=IDE&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1150" LastEditorUserId="1150" LastEditDate="2017-11-21T19:26:21.770" LastActivityDate="2017-11-21T19:26:21.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8595" PostTypeId="1" AcceptedAnswerId="8596" CreationDate="2017-11-21T19:13:44.457" Score="8" ViewCount="2410" Body="&lt;p&gt;on Sitecore 8, we have a bunch of icons.&#xA;On the ribbon you can select  -&gt; Configure -&gt; Icons. On this dialog, box you can Select a lot of sections like &quot;Applications&quot;, &quot;apps&quot; etc. Is it possible to create a new section and add more items?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &lt;/p&gt;&#xA;" OwnerUserId="998" LastActivityDate="2018-07-19T16:36:35.173" Title="How to add additional icons on Sitecore?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8596" PostTypeId="2" ParentId="8595" CreationDate="2017-11-21T19:55:56.053" Score="12" Body="&lt;p&gt;The answer is &quot;Yes&quot;, it is possible. &#xA;All icons are stored as zip archives by the path: &lt;code&gt;\sitecore\shell\Themes\Standard\&lt;/code&gt; on the disk.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to add your own icons, you need go through the steps below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unfortunately this solution allows us to select created icons only manually. For example: MyIcon/16x16/ChromeLogo.png. But after first usages the icon will appear in the recent tab and it will be easier to use.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You need to prepare the icon that you want to add. In my case it is &lt;code&gt;ChromeLogo.png&lt;/code&gt;. There are some requirements: icon should be square and has transparent background. The icon, idially, should be added in five sizes (but some of them can be skipped): 16x16, 24x24, 32x32, 48x48 and 128x128;&lt;/li&gt;&#xA;&lt;li&gt;Prepare the following folder structure:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iws6Y.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iws6Y.png&quot; alt=&quot;Icons structure&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Place the icons in the corresponding folders (icon with size 16x16 in folder with name 16x16 and etc.);&lt;/li&gt;&#xA;&lt;li&gt;Zip it is all. The name of archive should be the same as the containing folder (MyIcons.zip);&lt;/li&gt;&#xA;&lt;li&gt;Upload the zip file by the path which was mentioned above: &lt;code&gt;\sitecore\shell\Themes\Standard\&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now you will be able to select your newly added icon in the icon selector.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/owXpL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/owXpL.png&quot; alt=&quot;Selecting item manually&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you still want to manage the icon by the Change Icon dialog, the Viet Hoang's article shows us how we can achieve that: &lt;a href=&quot;https://buoctrenmay.wordpress.com/2017/06/17/how-to-inject-the-custom-icons-to-sitecore-8/&quot; rel=&quot;noreferrer&quot;&gt;https://buoctrenmay.wordpress.com/2017/06/17/how-to-inject-the-custom-icons-to-sitecore-8/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1000" LastEditDate="2017-11-21T22:24:46.073" LastActivityDate="2017-11-21T22:24:46.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8597" PostTypeId="1" AcceptedAnswerId="8598" CreationDate="2017-11-21T21:40:44.967" Score="9" ViewCount="626" Body="&lt;p&gt;Out-of-the-box, Sitecore does not encrypt the information it captures from forms in the &lt;strong&gt;Web Forms for Marketers&lt;/strong&gt; database. It was a known issue and you could find nice blog posts on how to implement encryption in the &lt;strong&gt;Web Forms for Marketers&lt;/strong&gt; information such as &lt;a href=&quot;http://josedbaez.com/2016/09/wffm-encryption/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://josedbaez.com/2016/09/wffm-encryption/&lt;/a&gt; and &lt;a href=&quot;https://sitecorejunkie.com/2013/06/21/encrypt-web-forms-for-marketers-fields-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2013/06/21/encrypt-web-forms-for-marketers-fields-in-sitecore&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Was that solved in the new &lt;strong&gt;Sitecore Forms&lt;/strong&gt;? I couldn't find any information in the Sitecore documentation mentioning that.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To whom it may concern. I've managed to encrypt the data and enable the encryption at rest which I share here &lt;a href=&quot;https://restlesscode.wordpress.com/2018/01/21/make-sitecore-forms-more-secure/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://restlesscode.wordpress.com/2018/01/21/make-sitecore-forms-more-secure/&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-02-07T14:47:07.727" LastActivityDate="2018-02-07T14:47:07.727" Title="Does Sitecore encrypt the information it captures from forms in the new Sitecore Forms?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8598" PostTypeId="2" ParentId="8597" CreationDate="2017-11-21T22:02:10.807" Score="8" Body="&lt;p&gt;By default, no it does not.  I created a simple form, added the &lt;code&gt;Save Data&lt;/code&gt; save action and checked the database.  It was not encrypted.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GNa6m.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GNa6m.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm off to dig a little deeper to find if this is a setting you can configure!&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2017-11-21T22:02:10.807" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8600" PostTypeId="1" CreationDate="2017-11-21T23:57:35.967" Score="7" ViewCount="998" Body="&lt;p&gt;After upgrading from Sitecore 8.1 to 8.2, we continue to see the following error when working in CM.  Users can login and begin working in Sitecore, but after a random amount of time, they get the the error.  The only way to clear the error is to close the browser.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Controls collection cannot be modified because the control&#xA;  contains code blocks (i.e. &amp;lt;% ... %&gt;).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The Controls collection cannot be modified because the control&#xA;  contains code blocks (i.e. &amp;lt;% ... %&gt;).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of&#xA;  the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.Web.HttpException: The Controls collection&#xA;  cannot be modified because the control contains code blocks (i.e. &amp;lt;%&#xA;  ... %&gt;).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace:  [HttpException (0x80004005): The Controls collection&#xA;  cannot be modified because the control contains code blocks (i.e. &amp;lt;%&#xA;  ... %&gt;).]&#xA;      System.Web.UI.ControlCollection.Add(Control child) +11843103&#xA;      Sitecore.MediaFramework.Pipelines.RenderLayout.RenderLayoutBase.Render(RenderLayoutArgs&#xA;  args) +256&#xA;      Sitecore.MediaFramework.Pipelines.RenderLayout.RenderLayoutBase.Process(RenderLayoutArgs&#xA;  args) +108&#xA;      (Object , Object[] ) +174&#xA;      Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +479&#xA;      Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;      Sitecore.Layouts.PageContext.BuildControlTree(Object sender, EventArgs e) +214&#xA;      System.Web.UI.Page.OnPreInit(EventArgs e) +11869081&#xA;      System.Web.UI.Page.PerformPreInit() +46&#xA;      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;  +1120&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Version Information: Microsoft .NET Framework Version:4.0.30319;&#xA;  ASP.NET Version:4.7.2106.0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="525" LastEditorUserId="1671" LastEditDate="2018-02-07T19:21:31.503" LastActivityDate="2018-02-07T19:21:31.503" Title="The Controls collection cannot be modified because the control contains code blocks (i.e. &lt;% ... %&gt;)" Tags="|sitecore-client|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8601" PostTypeId="1" CreationDate="2017-11-22T00:14:48.697" Score="4" ViewCount="287" Body="&lt;p&gt;I am currently facing an error with the Experience Editor and integer field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I have a Datasource template that has a field of integer type (without validation - meaning not required). Through the Experience Editor I create a new Datasource Item based on this template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rendering and data show as expected and, by default, this field is empty - which again is fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if I save the page I get the following error: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Uv5zu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Uv5zu.png&quot; alt=&quot;error message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do understand that it is because of the field being empty and therefore string empty is not a number, but this field can be empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I put a number in, saving works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This happens with Sitecore 8.0 (rev. 150427)&lt;/p&gt;&#xA;" OwnerUserId="270" LastActivityDate="2017-11-22T22:30:09.630" Title="Experience Editor - &quot;&quot; is not a valid number" Tags="|experience-editor|validation|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8602" PostTypeId="1" AcceptedAnswerId="8653" CreationDate="2017-11-22T03:20:29.073" Score="6" ViewCount="8176" Body="&lt;p&gt;I am new to SOLR search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created all cores and index and SOLR UI is showing that documens have been indexed. I have copied the working core folder and renamed it and also updated in proprieties.json file and schema name and then just added in the UI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oTPyi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oTPyi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is my sitecore index configuration, just a standard index configuration, nothing special.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CCMpD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CCMpD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is the code I am using in Sitecore 8 to query search index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting 0 records from index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yAFSA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yAFSA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore index from control panel also showing documents have been index but I can't see why I get 0 results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yFCrS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yFCrS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Querying the index through UI also shows that keyword exists in some documents. If I change index name to &quot;sitecore_web_index&quot; I get some results, the only difference between these 2 index is the index id, all other configurations are same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is the SOLR query log If I search for &quot;branch&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;path=/select params={q=breadtext_t:(&lt;em&gt;branch&lt;/em&gt;)&amp;amp;fq=_indexname:(sitecore_web_index)&amp;amp;rows=1000&amp;amp;version=2.2} hits=38 status=0 QTime=3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;path=/select params={q=breadtext_t:(&lt;em&gt;branch&lt;/em&gt;)&amp;amp;fq=_indexname:(RBSM_web_index)&amp;amp;rows=1000&amp;amp;version=2.2} hits=0 status=0 QTime=1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Query log&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2092 12:53:16 INFO  Solr Query - ?q=_name:(breadtext)&amp;amp;rows=1&amp;amp;fq=_templatename:(&quot;Template field&quot;)&amp;amp;fq=_indexname:(RBSM_web_index)&#xA;2092 12:53:16 INFO  Solr Query - ?q=_name:(breadtext)&amp;amp;rows=1&amp;amp;fq=_templatename:(&quot;Template field&quot;)&amp;amp;fq=_indexname:(RBSM_web_index)&#xA;2092 12:53:16 INFO  Solr Query - ?q=breadtext_t:(&lt;em&gt;branch&lt;/em&gt;)&amp;amp;rows=1000&amp;amp;fq=_indexname:(RBSM_web_index)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and for working index&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1180 12:50:19 INFO  Solr Query - ?q=_name:(breadtext)&amp;amp;rows=1&amp;amp;fq=_templatename:(&quot;Template field&quot;)&amp;amp;fq=_indexname:(sitecore_web_index)&#xA;1180 12:50:19 INFO  Solr Query - ?q=_name:(breadtext)&amp;amp;rows=1&amp;amp;fq=_templatename:(&quot;Template field&quot;)&amp;amp;fq=_indexname:(sitecore_web_index)&#xA;1180 12:50:19 INFO  Solr Query - ?q=breadtext_t:(&lt;em&gt;branch&lt;/em&gt;)&amp;amp;rows=1000&amp;amp;fq=_indexname:(sitecore_web_index)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also noticed an error entry in the logs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1876941 ERROR (qtp7980742-19 - /solr/RBSM_web_index/admin/file/?file=admin-extra.html&amp;amp;_=1511403018192) [   x:RBSM_web_index] o.a.s.h.a.ShowFileRequestHandler Can not find: admin-extra.html [C:\Bitnami\solr-5.5.0-1\apache-solr\solr\RBSM_web_index\conf\admin-extra.html]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this ignorable?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; for the time being I am using sitecore_web_index which is working fine except it is returning some items from path sitecre\shell etc, although root is configured as sitecore/content/home&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EmiI3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EmiI3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2119" LastEditorUserId="73" LastEditDate="2017-11-26T07:22:25.813" LastActivityDate="2017-11-26T07:22:25.813" Title="SOLR search not returning results" Tags="|content-search|solr|" AnswerCount="2" CommentCount="8" ClosedDate="2017-11-26T07:22:40.640" ContentLicense="CC BY-SA 3.0" />
  <row Id="8603" PostTypeId="2" ParentId="8590" CreationDate="2017-11-22T04:05:16.623" Score="6" Body="&lt;p&gt;You can also run in to this error when the credentials are not correct for &lt;code&gt;$SqlAdminUser&lt;/code&gt; and &lt;code&gt;$SqlAdminPassword&lt;/code&gt; for the SQL instance specified in &lt;code&gt;$SqlServer&lt;/code&gt;, from the PowerShell script on page 34 of the installation guide.&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2017-11-22T04:05:16.623" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8606" PostTypeId="2" ParentId="8583" CreationDate="2017-11-22T07:12:13.290" Score="0" Body="&lt;p&gt;I raised this issue with sitecore and they said the Current WFFM does not support this .&#xA;&lt;br/&gt;  Then i did some customization in existing WFFM  &lt;code&gt;\Views\Form\EditorTemplates\FormViewModel.cshtml&lt;/code&gt; file .&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Created a button component that will read the data from paramater renderings&lt;/li&gt;&#xA;&lt;li&gt;I added two placeholder so that i can plug my button component&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;@Html.Sitecore().Placeholder(&quot;wffm-before-submit&quot;)&#xA;      &lt;br/&gt;&#xA;      @Html.BootstrapSubmit()&#xA;      &lt;br/&gt;&#xA;      @Html.Sitecore().Placeholder(&quot;wffm-after-submit&quot;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added buttton component is page with specific place holder&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="2723" LastEditDate="2017-11-22T07:17:38.563" LastActivityDate="2017-11-22T07:17:38.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8607" PostTypeId="2" ParentId="5424" CreationDate="2017-11-22T11:03:47.790" Score="0" Body="&lt;p&gt;Add the Versions for the below childs of Targets&#xA;/sitecore/client/Applications/Dialogs/InsertLinkViaTreeDialog/PageSettings/Targets&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then check the Internal Link, you will see 2 entries in Target dropdown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that remove the latest version and again check the Internal Link. You can see those Targets dropdown values &lt;/p&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2017-11-22T11:03:47.790" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8608" PostTypeId="2" ParentId="7452" CreationDate="2017-11-22T11:17:24.297" Score="3" Body="&lt;p&gt;Add the Versions for the below childs of Targets /sitecore/client/Applications/Dialogs/InsertLinkViaTreeDialog/PageSettings/Targets&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then check the Internal Link, you will see 2 entries in Target dropdown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that remove the latest version and again check the Internal Link. You can see those Targets dropdown values&lt;/p&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2017-11-22T11:17:24.297" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8609" PostTypeId="1" AcceptedAnswerId="8610" CreationDate="2017-11-22T13:37:43.640" Score="13" ViewCount="1170" Body="&lt;p&gt;Until I answered a question wrong yesterday, I didn't know that the field _content in the index had the content of all indexable fields in Sitecore. You would have thought that would be the first thing you would learn in Sitecore search. Whoops.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So now I want to understand how it works. Looking in all the config, I can only find the computed index field below. And after decompiling it, it does not seem to index all fields that are indexable. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;_content&quot; type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/mediaIndexing&quot;/&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am looking for the config setting that makes the _content field do what it does.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-11-22T14:04:50.333" Title="What class indexes the _content index field" Tags="|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8610" PostTypeId="2" ParentId="8609" CreationDate="2017-11-22T13:48:21.007" Score="10" Body="&lt;p&gt;There is no config which you can change to adapt the logic. It's hardcoded.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Search.Crawlers.DatabaseCrawler&lt;/code&gt; adds content to the &lt;code&gt;_content&lt;/code&gt; field.&lt;/p&gt;&#xA;&lt;p&gt;In the &lt;code&gt;AddAllFields&lt;/code&gt; method there is:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields.ReadAll();&#xA;foreach (Sitecore.Data.Fields.Field field in item.Fields)&#xA;{&#xA;    bool tokenize = this.IsTextField(field);&#xA;    FieldCrawlerBase fieldCrawler = FieldCrawlerFactory.GetFieldCrawler(field);&#xA;&#xA;    if (this.IndexAllFields)&#xA;        document.Add((IFieldable) this.CreateField(field.Key, fieldCrawler.GetValue(), tokenize, 1f));&#xA;    if (tokenize)&#xA;        document.Add((IFieldable) this.CreateField(BuiltinFields.Content, fieldCrawler.GetValue(), true, 1f));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So after it adds crawled value to the proper document field, it also adds value to the &lt;code&gt;_content&lt;/code&gt; (if &lt;code&gt;IsTextField&lt;/code&gt; returned true).&lt;/p&gt;&#xA;&lt;p&gt;The logic is skipped if &lt;code&gt;Exclude From Text Search - Turn on to ignore the contents of this field in the full text search index&lt;/code&gt; box is checked on the field (copied from &lt;strong&gt;Chris Auer&lt;/strong&gt; comment).&lt;/p&gt;&#xA;&lt;p&gt;And here is the list of types of fields which are considered as &lt;code&gt;TextFields&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&amp;quot;Single-Line Text&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;Rich Text&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;Multi-Line Text&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;text&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;rich text&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;html&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;memo&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;Word Document&amp;quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;hr /&gt;&#xA;&lt;p&gt;Also copied from &lt;strong&gt;Artsem Prashkovich&lt;/strong&gt; comment so it's visible:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;In addition to the first defenition of the _content field is in the &lt;code&gt;Sitecore.ContentSearch.AbstractDocumentBuilder&amp;lt;T&amp;gt;&lt;/code&gt; class defined in the &lt;code&gt;Sitecore.ContentSearch.dll&lt;/code&gt;. There is the &lt;code&gt;AddSpecialFields&lt;/code&gt; method with the following code:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;this.AddSpecialField(&amp;quot;_content&amp;quot;, (object) indexable3.Name, false);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;this.AddSpecialField(&amp;quot;_content&amp;quot;, (object) indexable3.DisplayName, false);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;It means the &lt;code&gt;Name&lt;/code&gt; and &lt;code&gt;DisplayName&lt;/code&gt; of item also in the &lt;code&gt;_content&lt;/code&gt; field.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-11-22T14:04:50.333" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8611" PostTypeId="2" ParentId="8561" CreationDate="2017-11-22T15:00:24.007" Score="4" Body="&lt;p&gt;Like &lt;a href=&quot;https://sitecore.stackexchange.com/users/69/jay-s&quot;&gt;Jay&lt;/a&gt; said:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Your thumbprint or certificate is not properly installed so you are being blocked from connecting to xConnect.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I had a very though time finding out what the problem might have been. It turned out my &lt;code&gt;IIS&lt;/code&gt; user did not have permission to see the &lt;code&gt;Certificate&lt;/code&gt;. Once i gave my logged in user rights to see the &lt;code&gt;Certificate&lt;/code&gt; i could establish a connection. &lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="5096" LastEditDate="2019-05-18T14:25:31.377" LastActivityDate="2019-05-18T14:25:31.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8612" PostTypeId="1" AcceptedAnswerId="8626" CreationDate="2017-11-22T15:33:45.807" Score="1" ViewCount="1231" Body="&lt;p&gt;We've implemented error handling for missing images in Sitecore like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://nourestani.wordpress.com/2015/05/11/error-executing-child-request-sitecore-for-404-useserversideredirect-transferrequest-vs-transfer/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://nourestani.wordpress.com/2015/05/11/error-executing-child-request-sitecore-for-404-useserversideredirect-transferrequest-vs-transfer/&lt;/a&gt; which came from this post by Michael West: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/221/how-do-you-setup-a-404-and-500-error-page-for-missing-files-and-media-items&quot;&gt;How do you setup a 404 and 500 error page for missing files and media items?&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This all works fine on CD servers, but we've seen an issue where on CA we get an error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find method: Process. Pipeline:&#xA;  /sitecore[database=&quot;SqlServer&quot;&#xA;  xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;]/pipelines/httpRequestBegin/processor[type=&quot;Custom.Sitecore.Extensions.Pipelines.CustomMediaRequestHandler,&#xA;  Custom.Sitecore.Extensions&quot; patch:source=&quot;Custom.Pipelines.config&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've triple checked there are no issues with typos or anything as described here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://chrisperks.co/2017/03/05/error-could-not-find-method-process-pipeline-sitecoredatabasesqlserver-xmlnspatchhttpwww-sitecore-netxmlconfigpipelinesmvc-resultexecutingpatchsourcesitecore-mvc-config/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://chrisperks.co/2017/03/05/error-could-not-find-method-process-pipeline-sitecoredatabasesqlserver-xmlnspatchhttpwww-sitecore-netxmlconfigpipelinesmvc-resultexecutingpatchsourcesitecore-mvc-config/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've solved this by only deploying this patch in our CD config and not our CA config as it isn't a much of an issue on CA. However I'd like to resolve this for CA also and understand if we've missed anything or there is a better approach for this.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Further info:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Our Patch:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;httpRequestBegin&amp;gt;&#xA;            &amp;lt;!--fix issue with missing media files throwing errors in logs--&amp;gt;&#xA;            &amp;lt;processor type=&quot;Custom.Sitecore.Extensions.Pipelines.CustomMediaRequestHandler, Custom.Sitecore.Extensions&quot; /&amp;gt;&#xA;        &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Pipline:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomMediaRequestHandler : MediaRequestHandler&#xA;    {&#xA;        protected override bool DoProcessRequest(HttpContext context)&#xA;        {&#xA;            Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;&#xA;            MediaRequest request = MediaManager.ParseMediaRequest(context.Request);&#xA;&#xA;            if (request == null)&#xA;                return false;&#xA;&#xA;            Media media = MediaManager.GetMedia(request.MediaUri);&#xA;&#xA;            if (media != null)&#xA;                return DoProcessRequest(context, request, media);&#xA;&#xA;            using (new SecurityDisabler())&#xA;                media = MediaManager.GetMedia(request.MediaUri);&#xA;&#xA;            string str;&#xA;&#xA;            if (media == null)&#xA;            {&#xA;                str = Settings.ItemNotFoundUrl;&#xA;            }&#xA;            else&#xA;            {&#xA;                Assert.IsNotNull(Context.Site, &quot;site&quot;);&#xA;                str = Context.Site.LoginPage != string.Empty ? Context.Site.LoginPage : Settings.NoAccessUrl;&#xA;            }&#xA;            if (Settings.RequestErrors.UseServerSideRedirect)&#xA;                HttpContext.Current.Server.TransferRequest(str);&#xA;            else&#xA;                HttpContext.Current.Response.Redirect(str);&#xA;            return true;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-11-22T16:26:05.190" LastActivityDate="2017-11-23T10:35:52.343" Title="MediaRequestHandler for missing images causes errors on Content Authoring" Tags="|configuration|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8613" PostTypeId="1" AcceptedAnswerId="8614" CreationDate="2017-11-22T16:57:22.247" Score="3" ViewCount="309" Body="&lt;p&gt;We have a requirement in which we must get values from &lt;code&gt;mongo db&lt;/code&gt; faster than the current scenario. We have few articles in our project and there is an option to fetch recent articles which are most popular ones. Popularity of articles are found by querying interaction table from mongo db and sorting articles based on the values. So more visit to an article increases its value and it becomes more popular.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using &lt;code&gt;mongodb driver&lt;/code&gt; to connect to mongodb. Below is the code for getting interactions.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var query = MongoDB.Driver.Builders.Query.And(&#xA;    MongoDB.Driver.Builders.Query.GTE(&#xA;        Constants.AnalyticsInteractionsFields.StartDateTime, &#xA;        DateTime.Now.AddDays(-dayscount)),&#xA;    MongoDB.Driver.Builders.Query.EQ(&#xA;        Constants.AnalyticsInteractionsFields.SiteName, &#xA;        Sitecore.Context.Site.Name));&#xA;&#xA;var interactions = driver.Interactions.FindAs&amp;lt;VisitData&amp;gt;(query);`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since looking up in large table like Interaction table takes a considerable amount of time (around 30 -35 secs) we have to reduce the time to approximately around 3-5 secs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have decided to follow 2 approaches as described below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Instead of querying mongodb, we can query &lt;code&gt;Fact_PageViews&lt;/code&gt; table from SQL table and sort according to the values.&lt;/li&gt;&#xA;&lt;li&gt;Write a scheduler which runs in every 20 mins to fetch the data from mongo db and host it as a service. Whenever request for most popular articles comes, call the service and get the latest set of articles from it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please suggest which is best approach or is there any other approach we can follow to speed up the process.&lt;/p&gt;&#xA;" OwnerUserId="1468" LastEditorUserId="70" LastEditDate="2017-11-22T18:14:38.273" LastActivityDate="2017-11-22T18:39:58.183" Title="Speed up fetching data from interactions table of Mongo db" Tags="|xdb|mongodb|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8614" PostTypeId="2" ParentId="8613" CreationDate="2017-11-22T18:39:58.183" Score="2" Body="&lt;p&gt;I usually use &lt;code&gt;Fact_PageViews&lt;/code&gt; table from the reporting database (SQL), The only drawback is that table does not store item template or item path, so after you query the table you would need to filter the results based on your item template or the content path, Here is the SQL Query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;         SELECT TOP 100 ItemId, Sum(Views) AS VisitsCount FROM Fact_PageViews &#xA;         WHERE [Date] &amp;gt; DATEADD(month, -1, GETDATE()) ) &#xA;         GROUP BY ItemId ORDER BY VisitsCount DESC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would also recommend that after you get your most popular pages, You cache the results for 1 hour or more, if it is not that valuable to have real-time accurate results for the popular pages.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-11-22T18:39:58.183" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8615" PostTypeId="1" AcceptedAnswerId="8627" CreationDate="2017-11-22T20:11:40.680" Score="1" ViewCount="1022" Body="&lt;p&gt;I have a &lt;code&gt;Droplink&lt;/code&gt; type field called &lt;code&gt;Formatter&lt;/code&gt; on a &lt;code&gt;Table Column&lt;/code&gt; item. I would like GlassMapper to automatically map the selected value in the DropLink to the concrete class. Is this possible?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Reflection;&#xA;using Glass.Mapper.Sc.Configuration.Attributes;&#xA;using TI.Models.Base;&#xA;using TI.Web.Utilities.ExceptionLogger;&#xA;&#xA;namespace TI.Web.Models.Generics&#xA;{&#xA;    [SitecoreType(false, &quot;{ADBE3C0C-E00B-4559-8082-97C2E5FFD592}&quot;)]&#xA;    public class TableColumn : BaseItem&#xA;    {&#xA;        private const BindingFlags Inherited = BindingFlags.FlattenHierarchy | BindingFlags.Instance | BindingFlags.Public;&#xA;&#xA;        [SitecoreField]&#xA;        public virtual string Header { get; set; }&#xA;&#xA;        [SitecoreField]&#xA;        public virtual string Property { get; set; }&#xA;&#xA;        [SitecoreField]&#xA;        public virtual string Formatting { get; set; }&#xA;&#xA;        [SitecoreField]&#xA;        public virtual ITableColumnFormatter Formatter { get; set; }&#xA;&#xA;        public string GetValue(object row, string type)&#xA;        {&#xA;            var collectionType = Type.GetType(type);&#xA;&#xA;            try&#xA;            {&#xA;                Type fieldOrPropertyType;&#xA;                if (!Property.Contains(&quot;.&quot;))&#xA;                {&#xA;                    return Format(GetFieldOrProperty(row, Property, collectionType, out fieldOrPropertyType));&#xA;                }&#xA;&#xA;                var current = row;&#xA;                var currentType = collectionType;&#xA;&#xA;                foreach (var step in Property.Split('.'))&#xA;                {&#xA;                    var fieldOrProperty = GetFieldOrProperty(current, step, currentType, out fieldOrPropertyType);&#xA;                    current = fieldOrProperty;&#xA;                    currentType = fieldOrPropertyType;&#xA;                }&#xA;&#xA;                return Format(current);&#xA;            }&#xA;            catch&#xA;            {&#xA;                LogManager.Error($&quot;Unable to get field/property {Property} from TableColumn item {Id}&quot;, this);&#xA;            }&#xA;&#xA;            return null;&#xA;        }&#xA;&#xA;        private static object GetFieldOrProperty(object initial, string fieldOrProperty, Type type, out Type fieldOrPropertyType)&#xA;        {&#xA;            var field = type.GetField(fieldOrProperty, Inherited);&#xA;            if (field != null)&#xA;            {&#xA;                fieldOrPropertyType = field.FieldType;&#xA;                return field.GetValue(initial);&#xA;            }&#xA;&#xA;            var property = type.GetProperty(fieldOrProperty, Inherited);&#xA;            if (property != null)&#xA;            {&#xA;                fieldOrPropertyType = property.PropertyType;&#xA;                return property.GetValue(initial);&#xA;            }&#xA;&#xA;            fieldOrPropertyType = null;&#xA;            return null;&#xA;        }&#xA;&#xA;        private string Format(object fieldOrProperty)&#xA;        {&#xA;            if (string.IsNullOrEmpty(Formatting))&#xA;            {&#xA;                return fieldOrProperty.ToString();&#xA;            }&#xA;&#xA;            return Formatter.Format(fieldOrProperty);&#xA;&#xA;            var date = (DateTime) fieldOrProperty;&#xA;            if (date == null)&#xA;            {&#xA;                throw new ArgumentException($&quot;Unable to parse {fieldOrProperty} as DateTime&quot;);&#xA;            }&#xA;&#xA;            return date.ToString(Formatting);&#xA;        }&#xA;    }&#xA;&#xA;    [SitecoreType(true, &quot;{70846EB9-92EF-41A5-A556-D926BCFB3668}&quot;)]&#xA;    public class HTMLTableColumnFormatter : BaseItem, ITableColumnFormatter {&#xA;        public string Format(object fieldOrProperty)&#xA;        {&#xA;            throw new NotImplementedException();&#xA;        }&#xA;    }&#xA;&#xA;    [SitecoreType(true, &quot;{0408DB66-F660-48E0-81A0-7499BF423143}&quot;)]&#xA;    public class DateTimeTableColumnFormatter : BaseItem, ITableColumnFormatter {&#xA;        public string Format(object fieldOrProperty)&#xA;        {&#xA;            throw new NotImplementedException();&#xA;        }&#xA;    }&#xA;&#xA;    [SitecoreType(true, &quot;{A29D959E-98E1-433F-A309-A60E012DB138}&quot;)]&#xA;    public interface ITableColumnFormatter&#xA;    {&#xA;        string Format(object fieldOrProperty);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As it stands right now, the NotImplementedException is not thrown. I would like Sitecore and GlassMapper to enter the appropriate method. Is there an example of how to do this?&lt;/p&gt;&#xA;" OwnerUserId="2283" LastEditorUserId="2890" LastEditDate="2018-02-14T21:24:29.030" LastActivityDate="2018-02-14T21:24:29.030" Title="Mapping an interface template to a concrete class template in Code?" Tags="|glass-mapper|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8616" PostTypeId="2" ParentId="7689" CreationDate="2017-11-22T21:20:00.193" Score="1" Body="&lt;p&gt;Our issue ended up being caused by a bad MVC route that was intercepting our item resolution before it could get to the item resolver pipelines.  Our solution was to remove the MVC routes in favor of using a custom item resolver for all item resolution.&lt;/p&gt;&#xA;" OwnerUserId="2194" LastActivityDate="2017-11-22T21:20:00.193" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8618" PostTypeId="2" ParentId="8253" CreationDate="2017-11-23T07:34:58.703" Score="1" Body="&lt;p&gt;Here are some pretty good posts on God index vs Domain indexes.&#xA;&lt;a href=&quot;https://soen.ghost.io/tackling-the-challenges-of-architecting-a-search-indexing-infrastructure-in-sitecore-part-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://soen.ghost.io/tackling-the-challenges-of-architecting-a-search-indexing-infrastructure-in-sitecore-part-2/&lt;/a&gt;&#xA;&lt;a href=&quot;http://jockstothecore.com/indexing-patterns-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jockstothecore.com/indexing-patterns-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As can see even sitecore has been adding domain indexes as versions of sitecore has progressed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned when you start having computed fields, if you add these to the default indexes you'll slow down index rebuilds.&#xA;As master index already indexes all the items/versions in the master database, this is normally the slowest index to rebuild. So you might end up making your overall rebuild time slower.&#xA;Having smaller domain indexes means quicker overall rebuild time, assuming you can scale up/have enough cpu cores free, and configured sitecore indexing max threads to utilise them to rebuild indexes in parallel. &#xA;Using Solr also helps with rebuild speed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For us as well we have customised our domain indexes search to not swallow errors (and not return empty list) if SOLR is down, as well as add add a reduced connection time out on queries, and a circuit breaker on queries.&#xA;Something we couldn't do with the default sitecore indexes, due to the way they are expected to behave. &lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2017-11-23T07:34:58.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8619" PostTypeId="1" AcceptedAnswerId="8621" CreationDate="2017-11-23T07:58:29.733" Score="4" ViewCount="1808" Body="&lt;p&gt;When a user forgets his password, he/she can click on forgot password link which will trigger an email with password reset link. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to implement this functionality in a Sitecore application? Since Sitecore is using ASP.NET Membership provider, is there any methods to generate password reset token with expiration ?&lt;/p&gt;&#xA;" OwnerUserId="2721" LastEditorUserId="2721" LastEditDate="2017-12-08T01:11:07.740" LastActivityDate="2017-12-08T01:11:07.740" Title="How to implement forgot password feature in any Sitecore application" Tags="|security|authentication|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8620" PostTypeId="1" CreationDate="2017-11-23T08:10:11.117" Score="0" ViewCount="163" Body="&lt;p&gt;Using sc8.u3 with WFFM 8.2u3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm encrypting form data on submit. When there is an exception, I would like to show the error message but here, it always shows the success message.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void InsertFormData(FormData form)&#xA;        {&#xA;            Assert.ArgumentNotNull(form, &quot;form&quot;);&#xA;            Assert.ArgumentNotNull(form.Fields, &quot;form.Fields&quot;);&#xA;&#xA;            try&#xA;            {&#xA;                form.Fields = EncryptFields(form.Fields);&#xA;&#xA;                if (form.Fields != null)&#xA;                {&#xA;                    base.InsertFormData(form);&#xA;                }&#xA;            }&#xA;            catch(Exception ex) &#xA;            {&#xA;                Log.Error(&quot;Exception: &quot; + ex.Message, this);&#xA;                throw;              &#xA;            }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2017-11-23T12:46:43.820" LastActivityDate="2017-11-23T16:11:56.890" Title="How to trigger WFFM exception" Tags="|wffm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8621" PostTypeId="2" ParentId="8619" CreationDate="2017-11-23T08:19:25.693" Score="9" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Disclosure: answer taken from &lt;a href=&quot;https://laubplusco.net/securing-password-recovery-experience-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Securing the password recovery experience in Sitecore 8&lt;/a&gt; by &lt;em&gt;Anders Laub Christofferson&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;First we do some configuration re-organizing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We copy paste the old &lt;code&gt;passwordRecovery&lt;/code&gt; pipeline and call the new one &lt;code&gt;confirmedPasswordRecovery&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;processors&amp;gt;&#xA;      &amp;lt;confirmPasswordRecovery argsType=&quot;Sitecore.Pipelines.PasswordRecovery.PasswordRecoveryArgs&quot;&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.PasswordRecovery.VerifyUsername, Sitecore.Kernel&quot; /&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.PasswordRecovery.GeneratePassword, Sitecore.Kernel&quot; /&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.PasswordRecovery.PopulateMail, Sitecore.Kernel&quot; /&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.PasswordRecovery.SendPasswordRecoveryMail, Sitecore.Kernel&quot; /&amp;gt;&#xA;      &amp;lt;/confirmPasswordRecovery&amp;gt;&#xA;      &amp;lt;/processors&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We replace the &lt;code&gt;GeneratePassword&lt;/code&gt; with a processor called &lt;code&gt;GenerateToken&lt;/code&gt; for generating and storing a token on the user profile:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GenerateToken : PasswordRecoveryProcessor&#xA;{&#xA;  public override void Process(PasswordRecoveryArgs args)&#xA;  {&#xA;    Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;    var user = User.FromName(args.Username, true);&#xA;    if (user == null)&#xA;    {&#xA;      args.AbortPipeline();&#xA;      return;&#xA;    }&#xA;    var token = ID.NewID.ToShortID().ToString();&#xA;    StoreTokenOnUser(user, token);&#xA;    args.CustomData.Add(Constants.ConfirmTokenKey, token);&#xA;  }&#xA;&#xA;  private void StoreTokenOnUser(User user, string confirmToken)&#xA;  {&#xA;    user.Profile.SetCustomProperty(Constants.ConfirmTokenKey, confirmToken);&#xA;    user.Profile.Save();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To make this work you need to add a field called PasswordToken on the user profile&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;internal struct Constants&#xA;{&#xA;  internal const string ConfirmTokenKey = &quot;PasswordToken&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then we replace &lt;code&gt;PopulateMail&lt;/code&gt; with &lt;code&gt;PopulateConfirmMail&lt;/code&gt; that populates a html email with a confirm link.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PopulateConfirmMail : PopulateMail&#xA;{&#xA;  public override void Process(PasswordRecoveryArgs args)&#xA;  {&#xA;    Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;    var token = args.CustomData[Constants.ConfirmTokenKey] as string;&#xA;    if (string.IsNullOrEmpty(token))&#xA;      return;&#xA;    var confirmLink = GenerateConfirmLink(token, args.Username);&#xA;    args.SendFromDisplayName = &quot;Sitecore website&quot;;&#xA;    args.SendFromEmail = &quot;donotreply@mysitecoresite.net&quot;;&#xA;    args.Subject = &quot;Confirm password recovery&quot;;&#xA;    var user = User.FromName(args.Username, false);&#xA;    args.HtmlEmailContent = GetHtmlEmailContent(user, confirmLink);&#xA;  }&#xA;&#xA;  protected virtual string GenerateConfirmLink(string token, string userName)&#xA;  {&#xA;    var serverUrl = StringUtil.EnsurePostfix('/', WebUtil.GetServerUrl());&#xA;    return serverUrl + &quot;sitecore/api/passwordrecovery/confirm/&quot; + userName.Replace('\\', '|') + &quot;/&quot; + token;&#xA;  }&#xA;&#xA;  protected virtual string GetHtmlEmailContent(User user, string confirmLink)&#xA;  {&#xA;    var sb = new StringBuilder();&#xA;    sb.AppendLine(&quot;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;&quot;);&#xA;    sb.AppendLine(&quot;Sitecore password recovery&quot;);&#xA;    sb.AppendLine(&quot;&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&quot;);&#xA;    sb.AppendLine(&quot;&amp;lt;h1&amp;gt;Please confirm&amp;lt;/h1&amp;gt;&quot;);&#xA;    sb.AppendLine(&quot;&amp;lt;p&amp;gt;Hi &quot; + user.Profile.FullName + &quot;,&amp;lt;br/&amp;gt;&amp;lt;/p&amp;gt;&quot;);&#xA;    sb.AppendLine(&quot;&amp;lt;p&amp;gt;Please follow the link below to recover your password&amp;lt;/p&amp;gt;&quot;);&#xA;    sb.AppendLine(&quot;&amp;lt;a href=\&quot;&quot; + confirmLink + &quot;\&quot;&amp;gt;&quot; + confirmLink + &quot;&amp;lt;/a&amp;gt;&quot;);&#xA;    sb.AppendLine(&quot;&amp;lt;/body&amp;gt;&quot;);&#xA;    sb.AppendLine(&quot;&amp;lt;/html&amp;gt;&quot;);&#xA;    return sb.ToString();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the confirm link that we create, this is for a &lt;code&gt;ApiController&lt;/code&gt; with a &lt;code&gt;HttpGet&lt;/code&gt; method that expects a username and a token.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ConfirmRecoveryController : ApiController&#xA;{&#xA;  [HttpGet]&#xA;  public IHttpActionResult Confirm(string userName, string token)&#xA;  {&#xA;    userName = userName.Replace('|', '\\');&#xA;    var user = Sitecore.Security.Accounts.User.FromName(userName, true);&#xA;    if (user == null || !TokenIsValid(user, token))&#xA;      return new StatusCodeResult(HttpStatusCode.Unauthorized, this);&#xA;&#xA;    var passwordRecoveryArgs = new PasswordRecoveryArgs(HttpContext.Current)&#xA;    {&#xA;      Username = userName&#xA;    };&#xA;    Pipeline.Start(&quot;confirmPasswordRecovery&quot;, passwordRecoveryArgs);&#xA;    if (!passwordRecoveryArgs.Aborted)&#xA;      DeleteToken(user);&#xA;&#xA;    return new StatusCodeResult(HttpStatusCode.OK, this);&#xA;  }&#xA;&#xA;  private void DeleteToken(User user)&#xA;  {&#xA;    user.Profile.SetCustomProperty(Constants.ConfirmTokenKey, string.Empty);&#xA;    user.Profile.Save();&#xA;  }&#xA;&#xA;  private bool TokenIsValid(User user, string token)&#xA;  {&#xA;    return !string.IsNullOrEmpty(token) &amp;amp;&amp;amp; ShortID.IsShortID(token) &amp;amp;&amp;amp; TokenExists(user, token);&#xA;  }&#xA;&#xA;  private bool TokenExists(User user, string confirmToken)&#xA;  {&#xA;    var tokenOnProfile = user.Profile.GetCustomProperty(Constants.ConfirmTokenKey);&#xA;    return !string.IsNullOrEmpty(tokenOnProfile) &amp;amp;&amp;amp; tokenOnProfile.Equals(confirmToken, StringComparison.InvariantCultureIgnoreCase);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This controller executes the new (old) &lt;code&gt;confirmPasswordRecovery&lt;/code&gt; pipeline, then deletes the token and redirects to the login page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to register the route so we create a processor for the initialize pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterHttpRoutes&#xA;{&#xA;  public void Process(PipelineArgs args)&#xA;  {&#xA;    GlobalConfiguration.Configure(Configure);&#xA;  }&#xA;&#xA;  protected void Configure(HttpConfiguration configuration)&#xA;  {&#xA;    var routes = configuration.Routes;&#xA;    routes.MapHttpRoute(&quot;PasswordRecovery_Confirm&quot;, &quot;sitecore/api/passwordrecovery/{action}/{userName}/{token}&quot;, new&#xA;    {&#xA;      controller = &quot;ConfirmRecovery&quot;,&#xA;      action = &quot;Index&quot;&#xA;    });&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And patch it into the initialize pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot;&#xA;          type=&quot;LaubPlusCo.PasswordRecovery.Infrastructure.RegisterHttpRoutes, LaubPlusCo.PasswordRecovery&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the password recovery mail is the standard one that you can modify in the core database on the item &lt;code&gt;/sitecore/system/Settings/Security/Password recovery/Password Recovery Email&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link to blog post &lt;a href=&quot;https://laubplusco.net/securing-password-recovery-experience-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to have token expiration functionality, you need to add to Custom User Profile new field like &lt;code&gt;Created&lt;/code&gt;, where you will store token created &lt;code&gt;DateTime&lt;/code&gt; value and when user will click link in email, you need to check this value with your condition.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="70" LastEditDate="2017-11-24T15:46:28.170" LastActivityDate="2017-11-24T15:46:28.170" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8622" PostTypeId="2" ParentId="8602" CreationDate="2017-11-23T09:17:54.443" Score="4" Body="&lt;p&gt;I have the same problem. After adjusting the configuration files from lucene to solr the index generation works fine. Also I get results if I use the solr admin web search, but the GetResults() method in the code (same as in thread owner post) did not return any results. The log files inform me that the query was successfully sent to Solr (query is logged in the solr.log file).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I changed the index configuration to the default one and removed the whole where clause - but I still did not get any results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The used versions are SC 8.2 and Solr 5.1.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any helpful feedback would be appriciated :)&lt;/p&gt;&#xA;" OwnerUserId="2088" LastEditorUserId="2088" LastEditDate="2017-11-23T09:28:05.753" LastActivityDate="2017-11-23T09:28:05.753" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8623" PostTypeId="1" AcceptedAnswerId="8625" CreationDate="2017-11-23T09:32:18.127" Score="5" ViewCount="1056" Body="&lt;p&gt;I have numeric fields that I want to filter on with a range, however, these need to be dynamic using the &lt;code&gt;SearchResultItem&lt;/code&gt;'s property indexer. The code I'm currently using is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var predicate = PredicateBuilder.False&amp;lt;SearchResultItem&amp;gt;();&#xA;&#xA;return predicate.Or(i =&amp;gt; (double)i[(ObjectIndexerKey)&quot;price&quot;] &amp;gt; 20 &amp;amp;&amp;amp; (double)i[(ObjectIndexerKey)&quot;price&quot;] &amp;lt;= 40);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, this doesn't appear to be working. In the search log, I can see that the query being produced is: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;+(+price:{20 TO *] +price:[* TO 39.99])&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first thing is that this looks like a syntax bug to me? There is a curly brace instead of a square bracket. Unsurprisingly Luke will not parse this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Cannot parse '+(+price:{20 TO *] +price:[* TO 39.99])': Encountered &quot; &amp;lt;RANGEEX_GOOP&amp;gt; &quot;+price:[* &quot;&quot; at line 1, column 19.&#xA;Was expecting:&#xA;    &quot;}&quot; ...&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I change the expression in Luke to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;+price:[20 TO 50]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then it works and I get back the expected documents. How can I write the Linq to achieve the same?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Figured out the syntax:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return predicate.Or(i =&amp;gt; ((double)i[(ObjectIndexerKey)&quot;price&quot;]).Between(20, 40, Inclusion.Both));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using the extension method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.ContentSearch.Linq.Between&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This produces the following in the search log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;12136 10:14:23 INFO  ExecuteQueryAgainstLucene (sitecore_master_index): +price:[20 TO 40] - Filter : &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I put &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+price:[20 TO 40] &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Into Luke, it returns the documents I expect to see. Yet in code, no results come back?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think I've tracked this down to this flag (which is incidentally connected to my problems on &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8563/lucene-sort-by-numeric-field&quot;&gt;this question&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hc96Q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hc96Q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The legend for this flag in Luke describes it as &quot;Indexed&quot;. This currently not set and the sort &amp;amp; filtering doesn't work when this is not set. I had previously got the sort working and noticed that this was set. Since rebuilding the index, it's no longer set. But I haven't changed anything so I don't know what is controlling that flag?&lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="73" LastEditDate="2017-11-23T11:26:54.600" LastActivityDate="2017-11-23T11:54:29.187" Title="Dynamically filter on number using LINQ" Tags="|content-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8624" PostTypeId="2" ParentId="8620" CreationDate="2017-11-23T10:02:52.023" Score="2" Body="&lt;p&gt;If you want to return your error message to user, you need to have &lt;code&gt;ErrorMessage&lt;/code&gt; text field on your form,then get &lt;code&gt;FormData form&lt;/code&gt;, find this &lt;code&gt;ErrorMessage&lt;/code&gt; field and add your error message there.&#xA;Also you need to wrap your logic:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void InsertFormData(FormData form)&#xA;        {&#xA;            Assert.ArgumentNotNull(form, &quot;form&quot;);&#xA;            Assert.ArgumentNotNull(form.Fields, &quot;form.Fields&quot;);&#xA;&#xA;            try&#xA;            {&#xA;                form.Fields = EncryptFields(form.Fields);&#xA;&#xA;                if (form.Fields != null)&#xA;                {&#xA;                    base.InsertFormData(form);&#xA;                }&#xA;            }&#xA;            catch(Exception ex) &#xA;            {&#xA;                Log.Error(&quot;Exception: &quot; + ex.Message, this);&#xA;                throw new Exception(&quot;Error Message&quot;);              &#xA;            }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If it not help, try to do step by step &lt;a href=&quot;https://stackoverflow.com/questions/31957098/sitecorewffm-custom-error-message-with-details-on-same-page-with-form&quot;&gt;this&lt;/a&gt; suggestion&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2017-11-23T16:11:56.890" LastActivityDate="2017-11-23T16:11:56.890" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8625" PostTypeId="2" ParentId="8623" CreationDate="2017-11-23T10:09:06.320" Score="10" Body="&lt;p&gt;Figured it out:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return predicate.Or(i =&amp;gt; ((double)i[(ObjectIndexerKey)&quot;price&quot;]).Between(20, 40, Inclusion.Both));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using the extension method:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.ContentSearch.Linq.Between&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other thing I needed to do was ensure that the field is configured as TOKENIZED:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;field fieldName=&quot;price&quot;&#xA;         storageType=&quot;YES&quot;&#xA;         indexType=&quot;TOKENIZED&quot;&#xA;         vectorType=&quot;NO&quot;&#xA;         boost=&quot;1f&quot;&#xA;         type=&quot;System.Double&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This seems to ensure that flag is set in Luke which seems to determine whether sorting &amp;amp; filtering works on the field. &lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="1125" LastEditDate="2017-11-23T11:54:29.187" LastActivityDate="2017-11-23T11:54:29.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8626" PostTypeId="2" ParentId="8612" CreationDate="2017-11-23T10:35:52.343" Score="1" Body="&lt;p&gt;I managed to resolve this thanks to John Rappel who helped out on Slack.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whilst we had made this web config update to patch in our custom handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpHandlers&amp;gt;&#xA; ...&#xA;  &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;Custom.Sitecore.Extensions.CustomMediaRequestHandler , Custom.Sitecore.Extensions&quot; /&amp;gt;&#xA;...&#xA;&amp;lt;/httpHandlers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We were trying to patch it in as a pipeline as well and actually that isn't needed, it's only required as a handler. The required Pipeline is instead:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomExecuteRequest : Sitecore.Pipelines.HttpRequest.ExecuteRequest&#xA;    {&#xA;        protected override void PerformRedirect(string url)&#xA;        {&#xA;            if (Settings.RequestErrors.UseServerSideRedirect)&#xA;                HttpContext.Current.Server.TransferRequest(url);&#xA;            else&#xA;                WebUtil.Redirect(url, false);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patched in like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&#xA;&amp;lt;processor type=&quot;Custom.Sitecore.Extensions.Pipelines.CustomExecuteRequest, Custom.Sitecore.Extensions&quot; resolve=&quot;true&quot; patch:instead=&quot;*[@type='Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel']&quot;/&amp;gt;&#xA;&amp;lt;/httpRequestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This was due to some confusion over what was required here. This is now working in CD and CA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;John has a detailed post on this with a full solution for handling all 404s here which i'd recommend:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.geekhive.com/buzz/post/2017/07/a-complete-guide-to-configuring-friendly-error-pages-in-sitecore-part-1-404-pages/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.geekhive.com/buzz/post/2017/07/a-complete-guide-to-configuring-friendly-error-pages-in-sitecore-part-1-404-pages/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-11-23T10:35:52.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8627" PostTypeId="2" ParentId="8615" CreationDate="2017-11-23T11:04:17.187" Score="2" Body="&lt;p&gt;look at inferred types &lt;a href=&quot;http://www.glass.lu/Mapper/Sc/Tutorials/Tutorial17&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/Mapper/Sc/Tutorials/Tutorial17&lt;/a&gt;, this will allow you to get a more specific type from a base type.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-11-23T11:04:17.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8629" PostTypeId="1" AcceptedAnswerId="8630" CreationDate="2017-11-23T13:26:45.657" Score="4" ViewCount="519" Body="&lt;p&gt;We are facing an issue while designing website using Experience Accelerator , in Experience editor that theme we created is not in theme selection box . &lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="73" LastEditDate="2017-11-24T08:35:04.477" LastActivityDate="2017-11-24T08:35:04.477" Title="Not able to select theme in experience editor" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8630" PostTypeId="2" ParentId="8629" CreationDate="2017-11-23T13:48:00.757" Score="6" Body="&lt;p&gt;To create a site theme:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Add a new theme in one of the following ways:&#xA;Add a theme when creating your site. In the Create a new Experience Accelerator site dialog box, on the Theme tab, select the Create new theme checkbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The new theme is added to the Site folder in the Media Library:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/Media Library/Project/Tenant Folder/Your Tenant/Your Site/Site Theme Name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Add a theme manually. Add a theme under your &lt;code&gt;tenant/site media library&lt;/code&gt; folder. Copy all children of &lt;code&gt;/sitecore/media library/Themes/Basic theme&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Add a theme using a script. SXA contains a helper script that creates a new theme for you. Right-click your site, click &lt;strong&gt;Scripts&lt;/strong&gt;, and click &lt;strong&gt;New Site Theme&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;strong&gt;Create a new Experience Accelerator site theme&lt;/strong&gt; dialog box, enter a name and optionally enter a new location for your theme. By default, the new theme is added to: &lt;code&gt;/sitecore/Media Library/Project/Tenant Folder/Your Tenant/Your Site/Site Theme Name&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: By default, new themes are stored here: /sitecore/Media&#xA;  Library/Project/Tenant Folder/Your Tenant/Your Site/Site Theme Name.&#xA;  Do not save your theme items under any of the SXA roots as they might&#xA;  be overwritten in the next release.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;4) In the &lt;strong&gt;Internet Explorer Compatibility&lt;/strong&gt; section, set the X-UA-Compatible value. This value forces Internet Explorer to use a specific Edit and Preview/Public mode to render your web pages. For example, you can set the value to &lt;strong&gt;IE Edge&lt;/strong&gt; to use the highest, most recent mode available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) In the &lt;strong&gt;Theme&lt;/strong&gt; section, set the themes your new theme should inherit from. SXA themes support multiple inheritance. This means that you can define multiple parent themes for every single theme.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: The order of selected base themes is important. Be careful when&#xA;  you are adding something new or changing the order. For example, if&#xA;  the SearchTheme relies on jquery library that is located in Core&#xA;  Libraries, you must make sure that the SearchTheme is loaded after the&#xA;  other themes.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sitecore &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/themes/add_a_theme&quot; rel=&quot;noreferrer&quot;&gt;documentation&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-11-23T13:48:00.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8631" PostTypeId="1" AcceptedAnswerId="8632" CreationDate="2017-11-23T16:41:35.217" Score="3" ViewCount="752" Body="&lt;p&gt;In my dev machine I am not getting any interactions added in interaction table of mongo db. My session state entry in web.config is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;InProc&quot; cookieless=&quot;false&quot; timeout=&quot;2&quot; sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;mongo&quot; type=&quot;Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Both in mongo db and sql tables like &lt;code&gt;Fact_PageViews&lt;/code&gt; values are not getting updated.&lt;br&gt; I tried to copy &lt;code&gt;App_Config&lt;/code&gt; and &lt;code&gt;web.config&lt;/code&gt; from another machine where interactions are getting loaded, still interactions are not getting updated.&lt;br&gt;&#xA;I have tried solutions given in links like sitecore &lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/2987&quot; rel=&quot;nofollow noreferrer&quot;&gt;community&lt;/a&gt; but still got no luck.&#xA;Please give me some suggestions on how I can get it working.&#xA;&lt;br&gt;&#xA;&lt;strong&gt;Note:&lt;/strong&gt; I have tried recycling app pool to get data into mongo db but no data was added.&lt;/p&gt;&#xA;" OwnerUserId="1468" LastEditorUserId="1316" LastEditDate="2017-11-29T13:35:26.077" LastActivityDate="2017-11-29T13:35:26.077" Title="Mongo db Interactions table not getting updated" Tags="|xdb|mongodb|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8632" PostTypeId="2" ParentId="8631" CreationDate="2017-11-23T16:53:55.563" Score="1" Body="&lt;p&gt;Here are a few things you can try:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Ensure mongodb is running. If configured as a service validate whether it's running properly&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- Check that your /App_Config/ConnectionStrings.config file has been correctly updated to reference your Mongo instance and reporting database instance, and that they can be accessed from your Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- Ensure you have the &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; in the  section of your layout CSHTML file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;4- Make sure your Analytics is enabled. For Sitecore version 8.0 look for &lt;code&gt;&amp;lt;setting name=&quot;Analytics.Enabled&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;. For versions 8.1+ look for &lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you still can't capture data I suggest reviewing these &lt;a href=&quot;http://www.nonlinearcreations.com.br/Digital/how-we-think/articles/2015/10/Troubleshooting-Sitecore-8-XP-Analytics.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;link1&lt;/a&gt; and &lt;a href=&quot;https://kb.sitecore.net/articles/977445&quot; rel=&quot;nofollow noreferrer&quot;&gt;link2&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-11-23T16:53:55.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8633" PostTypeId="2" ParentId="8507" CreationDate="2017-11-23T16:57:59.047" Score="0" Body="&lt;p&gt;Using the approach described on the question doesn't seem to work. The best I found was mentioned by Anton's link which is essentially is have two html buttons with the same name and specify a specific value for each of them. On the post you can capture what the value is for that element and determine what button is triggering the post and add custom logic based on which button is triggering the post.&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-11-23T16:57:59.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8634" PostTypeId="2" ParentId="1211" CreationDate="2017-11-23T21:43:24.183" Score="4" Body="&lt;p&gt;I was always annoyed by the need to use external applications to run Solr as a Windows service. Some time ago I found a PowerShell script that allows you to write services for Windows in PowerShell. I decided to adopt it to run Solr as a Windows service. I cleaned up the code with all the unnecessary functions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The full script is available on my gist : &lt;a href=&quot;https://gist.github.com/RobsonAutomator/6a74c6dfceb6bdcde9c27be9f2d36256&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/RobsonAutomator/6a74c6dfceb6bdcde9c27be9f2d36256&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&#xA;Configuration is a place where we can specify the port on which Solr will work and the amount of memory used by Java.&#xA;The SOLR_HOME variable is used to locate the location where Solr is installed. If it is not set, the script will exit displaying the message: Solr.cmd not exist: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#region Solr configuration&#xA;$solrPort = '8983' &#xA;$solrMemory = '512m' # eg. 1g 4g&#xA;$solrHome = [environment]::GetEnvironmentVariable(&quot;SOLR_HOME&quot;,[EnvironmentVariableTarget]::Machine)  &#xA;$solrRoot =  Split-Path -Path (Split-Path -Path $solrHome -Parent) -Parent&#xA;$sorlStartCmd = Join-Path -Path $solrRoot -ChildPath &quot;bin\solr.cmd&quot;&#xA;&#xA;if( -not (Test-Path -Path $sorlStartCmd) )&#xA;{&#xA;    Write-Warning &quot;Solr.cmd not exist: $sorlStartCmd&quot;&#xA;    return&#xA;}&#xA;#endregion&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Start&lt;/strong&gt;&#xA;In the region 'Solr Start' there is a code to run Solr:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#region Solr start&#xA;Log &quot;$scriptName Starting $sorlStartCmd with parameteres start -f -p $solrPort -m $solrMemory&quot;&#xA;&amp;amp;$sorlStartCmd start -f -p $solrPort -m $solrMemory&#xA;#endregion&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Stop&lt;/strong&gt;&#xA;In the region &quot;Solr Stop&quot; there is a code to stop Solr:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#region Solr stop &#xA;&amp;amp;$sorlStartCmd stop -p $solrPort&#xA;#endregion&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Setup&#xA;First of all You have to run script with administrator rights&#xA;Use this script is extremally simple. First run script with parameter -Setup&#xA;This will create PSSolrService.exe and PSSolrService.ps1 in the folder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$installDir = &quot;${ENV:ProgramFiles}\$serviceName&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When PSSolrService is installed then use -Start parameter to start service. Till now you can start/stop PSSolrService as each Windows service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Blog post:&#xA;&lt;a href=&quot;http://lets-share.senktas.net/2017/11/solr-as-a-service.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://lets-share.senktas.net/2017/11/solr-as-a-service.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2739" LastEditorUserId="2739" LastEditDate="2017-11-26T16:23:33.793" LastActivityDate="2017-11-26T16:23:33.793" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8635" PostTypeId="1" CreationDate="2017-11-24T08:12:21.067" Score="1" ViewCount="1197" Body="&lt;p&gt;There is no facets showing when I change the search provider to SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iKJht.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iKJht.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sample item here is the Content item.&lt;/p&gt;&#xA;" OwnerUserId="2742" LastActivityDate="2018-04-17T15:34:29.217" Title="No facets showing in Sitecore Search when using SOLR" Tags="|content-search|solr|buckets|content-tree|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8637" PostTypeId="1" AcceptedAnswerId="8638" CreationDate="2017-11-24T11:03:03.973" Score="4" ViewCount="3121" Body="&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;https://google.com&quot; class=&quot;link&quot; &amp;gt;&amp;lt;/a&amp;gt;   &#xA;&#xA;&amp;lt;a href=&quot;https://google.com&quot; class=&quot;link&quot; &amp;gt;Text Node&amp;lt;/a&amp;gt;&#xA;&#xA;&#xA;@using (Html.Glass().BeginRenderLink(m =&amp;gt; m.Link, new { @class = &quot;link&quot; }, true))&#xA;{&#xA;&#xA;}&#xA;&#xA;@Html.Glass().RenderLink(m =&amp;gt; m.Link, new { @class = &quot;link&quot; }, true)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can't understand this odd behavior, using &lt;code&gt;BeginRenderLink&lt;/code&gt; renders the first anchor link without a text node, but using &lt;code&gt;RenderLink&lt;/code&gt; renders the same anchor link but with a text node. Is there something I'm missing here? The end goal is to be able to wrap some HTML inside the using statement but I am stuck on this little problem.&lt;/p&gt;&#xA;" OwnerUserId="2696" LastEditorUserId="70" LastEditDate="2017-11-24T15:28:02.113" LastActivityDate="2017-11-24T15:28:02.113" Title="Glass BeginRenderLink not showing text node" Tags="|glass-mapper|razor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8638" PostTypeId="2" ParentId="8637" CreationDate="2017-11-24T11:22:15.087" Score="12" Body="&lt;p&gt;The fact that &lt;code&gt;BeginRenderLink&lt;/code&gt; does not render link text inside the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag is not bug. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Glass Mapper documentation says, &lt;code&gt;BeginRenderLink&lt;/code&gt; is not really for displaying the default link text. You should use it if you want to add something custom inside your link.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The BeginRenderLink can be used to render a link that should contain multiple HTML elements rather than the simple text elements show in the RenderLink method. This is useful for when you might want to make images or other HTML elements links that still work within the Page Editor.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;E.g.: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (BeginRenderLink(x =&amp;gt; x.GeneralLink, isEditable: true))&#xA;{&#xA;    @RenderImage(x =&amp;gt; x.Image)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more in &lt;a href=&quot;http://glass.lu/Mapper/Sc/Tutorials/Tutorial22&quot; rel=&quot;noreferrer&quot;&gt;Glass Mapper Tutorial&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-11-24T11:22:15.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8639" PostTypeId="1" AcceptedAnswerId="8641" CreationDate="2017-11-24T12:38:27.263" Score="4" ViewCount="1344" Body="&lt;p&gt;I am trying to understand if it is ever possible for Sitecore to load connection strings values from Azure Key Vault, not from web.config (or ConnectionStrings.config) file?&lt;/p&gt;&#xA;" OwnerUserId="181" LastActivityDate="2017-11-30T13:46:54.870" Title="How to get connectionstrings for SQL and Redis from Azure Key Vault?" Tags="|security|azure|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8640" PostTypeId="2" ParentId="4430" CreationDate="2017-11-24T15:14:57.190" Score="1" Body="&lt;p&gt;Here is the final solution I came up with. Thank you Alan for the help.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Tab Completion&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;How do I get the tab completion to populate the search box?&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We took a different approach by attaching to the click event for the menu and blur event for the input. See the gist &lt;a href=&quot;https://gist.github.com/michaellwest/a055d1fe4a74c3be73a334f8d709fddc&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Hide Search Results&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;How do I get the page to load without any search results?&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I blogged about how I accomplished the hiding of the search box &lt;a href=&quot;https://michaellwest.blogspot.com/2017/11/improve-experience-for-designers-in-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the basics of the approach:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add styles to the theme and include them in the Style Selector for components.&lt;/li&gt;&#xA;&lt;li&gt;Add scripts to monitor the change of Url hash and toggle visibility when certain conditions are met.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The gist &lt;a href=&quot;https://gist.github.com/michaellwest/24532142d3564c289aefd834cb3916db/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; should help you get past the initial hurdle of writing the styles and code. I do however recommend you read the blog post.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-11-24T15:14:57.190" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8641" PostTypeId="2" ParentId="8639" CreationDate="2017-11-24T16:53:49.770" Score="6" Body="&lt;p&gt;I don't think it's possible to get those at runtime by default with Sitecore OOTB.&#xA;But like Mark Cassidy mentioned in a comment above, you could leverage this &lt;a href=&quot;https://docs.microsoft.com/da-dk/azure/app-service/web-sites-configure#connection-strings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/da-dk/azure/app-service/web-sites-configure#connection-strings&lt;/a&gt; if you are hosting Sitecore on Azure Web App (you could set them in your ARM Templates, from within the Azure portal or by PowerShell/CLI commands).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding Azure Key Vault, what you could do is to store your secrets in it and use them during the PowerShell/ARM Templates deployment. One example of using this at deployment time could be found here: &lt;a href=&quot;https://alwaysupalwayson.blogspot.ca/2017/03/advanced-sitecore-arm-templates.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://alwaysupalwayson.blogspot.ca/2017/03/advanced-sitecore-arm-templates.html&lt;/a&gt;. It was a POC, experimental and one year ago, but in case it could help.&lt;/p&gt;&#xA;" OwnerUserId="2746" LastEditorUserId="2746" LastEditDate="2017-11-30T13:46:54.870" LastActivityDate="2017-11-30T13:46:54.870" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8642" PostTypeId="2" ParentId="7816" CreationDate="2017-11-24T17:20:36.873" Score="0" Body="&lt;p&gt;Agree with the recommendation above, always following your CI/CD pipeline/process is the safest and more repeatable way to accomplish that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in case you need to copy production slot to another slot, here are some PowerShell commands you could get inspiration of: &lt;a href=&quot;https://github.com/mathieu-benoit/copy-azurewebapp-to-slot&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mathieu-benoit/copy-azurewebapp-to-slot&lt;/a&gt;. Be careful, it's experimental and need to be used and tested to see the impact, pieces missing, etc.&lt;/p&gt;&#xA;" OwnerUserId="2746" LastEditorUserId="2746" LastEditDate="2017-12-05T22:43:35.540" LastActivityDate="2017-12-05T22:43:35.540" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8643" PostTypeId="1" CreationDate="2017-11-24T18:33:35.573" Score="3" ViewCount="771" Body="&lt;p&gt;Sitecore 8.1.3, WFFM 8.1.rev. 160304&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a request to have the &quot;landing page&quot; included on all form data exports that are submitted on our website (Form Reports / Export form data to Excel).  The landing page and querystrings are different based on campaigns. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our site visitors would most likely bounce around several pages on the web site prior to submitting a form so my plan is to create a session variable in the Session_Start method (which I would create) of the global.asax.cs file and pull the current URL and query strings.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is the proper approach, is there a way to add the new field a forms template so all current and new forms would have this property rather than going into each form?  I looked into adding a line in the FormViewModel.cshtml file such as:&#xA;@Html.Hidden(&quot;LandingPageUrl&quot;, &quot;My new session variable&quot;) but I do not believe it will pull all the way through to the exports.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="524" LastActivityDate="2017-11-27T11:41:32.683" Title="Add Hidden field to all forms in WFFM and include on Export" Tags="|wffm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8644" PostTypeId="1" AcceptedAnswerId="8645" CreationDate="2017-11-24T22:17:51.093" Score="4" ViewCount="461" Body="&lt;p&gt;I installed EXM 3.5 on Sitecore 8.2 Updated 5, and it was running as supposed to work, I tested the Connection  and I got the Ok message, but the server restarted and it´s no longer working&#xA;Sitecore log is giving me this message&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could not find constructor in ReflectionUtil.CreateObject: Sitecore.EDS.Core.Net.Smtp.ChilkatConnectionPool. The constructor parameters may not match or it may be an abstract class. Parameter info: Count: 2. Parameter types: Sitecore.EDS.Core.Net.Smtp.ConnectionPoolSettings, Sitecore.EDS.Core.Net.Smtp.SmtpSettings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-MongoDB is UP and running&#xA;-SQL server is running (I was able to connect to Sitecore_EXM and Sitecore_EXM_WEB)&#xA;-It´s a standalone instance&#xA;File Sitecore.EDS.Providers.CustomSmtp.config is enabled&#xA;file Sitecore.EDS.Providers.CustomSMTP.Sync.config is enabled&#xA;I´m pointing to Gmail SMTP&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.EDS.Providers.SparkPost.config.disabled - It´s disabled&#xA;Sitecore.EDS.Providers.SparkPost.Sync.config.disabled - It´s disabled&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&#xA;Thanks &lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="95" LastEditDate="2017-11-24T22:25:51.233" LastActivityDate="2017-11-25T08:11:09.647" Title="Could not find constructor error with EXM module after upgrade" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8645" PostTypeId="2" ParentId="8644" CreationDate="2017-11-25T08:11:09.647" Score="4" Body="&lt;p&gt;&lt;code&gt;Sitecore.EDS.Core.Net.Smtp.ChilkatConnectionPool&lt;/code&gt; can be found in &lt;code&gt;Sitecore.EDS.Core.dll&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First thing, check if you have that dll in your &lt;code&gt;bin&lt;/code&gt; directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I see, in that dll (in &lt;code&gt;Email Experience Manager 3.5.0 rev. 170810&lt;/code&gt;), &lt;code&gt;ChilkatConnectionPool&lt;/code&gt; has a constructor which accepts 3 parameters:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ChilkatConnectionPool(ConnectionPoolSettings settings, ISmtpSettings smtpSettings, ILogger logger)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And it's configured in &lt;code&gt;Sitecore.EDS.Providers.CustomSMTP.config&lt;/code&gt; file like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;connectionPool type=&quot;Sitecore.EDS.Core.Net.Smtp.ChilkatConnectionPool, Sitecore.EDS.Core&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;param ref=&quot;exm/eds/connectionPoolSettings&quot; /&amp;gt;&#xA;    &amp;lt;param ref=&quot;exm/eds/smtpSettings&quot; /&amp;gt;&#xA;    &amp;lt;param ref=&quot;exmLogger&quot; /&amp;gt;&#xA;&amp;lt;/connectionPool&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check if you have the same dll version as in the EXM package zip file and if the config file is not corrupted.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-11-25T08:11:09.647" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8646" PostTypeId="1" CreationDate="2017-11-25T09:05:34.900" Score="2" ViewCount="376" Body="&lt;p&gt;I need to add some custom validations for my form fields, beyond what can be done by regexes. I have created a custom validator using &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/82/working_with_actions_and_validations/validations/walkthrough_create_and_assign_a_custom_fieldtype_validator&quot; rel=&quot;nofollow noreferrer&quot;&gt;this approach&lt;/a&gt;, assigned it to the built-in Single-Line Text field type, but the form did not display any validation messages (the handler is setting &lt;code&gt;args.IsValid = false&lt;/code&gt; at all times for the testing purpose).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thinking that something might be wrong with the custom implementation, I've tried to add the built-in &quot;Email&quot; validator to the Single-Line Text field, but nothing happened as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just in case, I've republished the whole WFFM item and tested again to the same results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone attempt to do the same? Anything I might have missed?&lt;/p&gt;&#xA;" OwnerUserId="2747" LastEditorUserId="2747" LastEditDate="2017-11-25T10:11:16.517" LastActivityDate="2017-11-25T10:11:16.517" Title="Adding a validator to a field type in WFFM does not work in 8.2" Tags="|wffm|validation|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8647" PostTypeId="1" AcceptedAnswerId="9029" CreationDate="2017-11-25T16:57:16.100" Score="10" ViewCount="2102" Body="&lt;p&gt;I have recently encountered the question related to Windows 10 Fall Creators Update (1709) breaking Sitecore Commerce 8.2.1 Update 2 installs. I had a perfectly working Sitecore Commerce 8.2.1 Update 2 site. When I installed the Windows 10 Fall Creators Update, I started getting the error below. When I rolled back the Windows 10 Fall Creators Update, the site started working again. Has anyone found a cause or fix for this issue - other than rolling back the Windows 10 Update?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Error HRESULT E_FAIL has been returned from a call to a COM component.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of&#xA;  the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.Runtime.InteropServices.COMException: Error&#xA;  HRESULT E_FAIL has been returned from a call to a COM component.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error:   &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace:   &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[COMException (0x80004005): Error HRESULT E_FAIL has been returned&#xA;  from a call to a COM component.]&lt;br&gt;&#xA;  CommerceServer.Core.Interop.Profiles.ProfileServiceClass.Initialize(String&#xA;  sConfigStore, String sCatalog) +0&lt;br&gt;&#xA;  CommerceServer.Core.Runtime.Profiles.ProfileContext..ctor(String&#xA;  profileServiceConnectionString, String providerConnectionString,&#xA;  String bdaoConnectionString, DebugContext debugContext) +808&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[CommerceProfileSystemException: Failed to initialize profile service&#xA;  handle.]&lt;br&gt;&#xA;  CommerceServer.Core.Runtime.Profiles.ProfileContext..ctor(String&#xA;  profileServiceConnectionString, String providerConnectionString,&#xA;  String bdaoConnectionString, DebugContext debugContext) +1385&lt;br&gt;&#xA;  CommerceServer.Core.Runtime.CommerceContextFactory.CreateProfileContext()&#xA;  +939    CommerceServer.Core.Runtime.CommerceContextFactory.get_ProfileContextSingleton()&#xA;  +116    CommerceServer.Core.Runtime.Profiles.CommerceProfileModule.get_ModuleProfileContext()&#xA;  +129    CommerceServer.Core.Runtime.Profiles.CommerceProfileModule.get_ProfileContext()&#xA;  +178    Sitecore.Commerce.Connect.CommerceServer.Pipelines.CommerceProfileProcessor.Begin(CommerceProfileModule&#xA;  module) +25&lt;br&gt;&#xA;  Sitecore.Commerce.Connect.CommerceServer.Pipelines.CommerceBaseModuleProcessor&lt;code&gt;1.BeginRequest(PipelineArgs&#xA;  args) +92&lt;br&gt;&#xA;  Sitecore.Commerce.Connect.CommerceServer.Pipelines.CommerceBaseModuleProcessor&lt;/code&gt;1.Init(PipelineArgs&#xA;  args) +176    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Application_Start() +288&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +670&lt;br&gt;&#xA;  System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers) +581&lt;br&gt;&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&lt;br&gt;&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context) +418&lt;br&gt;&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext) +369&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Failed to initialize profile service&#xA;  handle.]    System.Web.HttpRuntime.FirstRequestInit(HttpContext&#xA;  context) +534&lt;br&gt;&#xA;  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)&#xA;  +111    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest&#xA;  wr, HttpContext context) +718&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1301" LastEditorUserId="73" LastEditDate="2017-12-29T13:42:39.240" LastActivityDate="2017-12-29T13:42:39.240" Title="Error HRESULT E_FAIL has been returned from a call to a COM component when launching my Sitecore Commerce site" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8648" PostTypeId="1" AcceptedAnswerId="8649" CreationDate="2017-11-25T17:08:06.283" Score="4" ViewCount="555" Body="&lt;h1&gt;Summary&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore Commerce 8.2.1 uses a Commerce Server Catalog service to store information about products. This service can be accessed using the Catalog Manager tool, the Merchandising Manager SPEAK application, or the Sitecore Content tree, under &lt;code&gt;/sitecore/Commerce/Catalog Management/Catalogs&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the Deployment Guide section &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_M_ChangesToDefaultSettings.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Default Commerce Engine service settings&lt;/a&gt; it should be possible to change the URL where this catalog is kept.  (I was setting up a second instance, and wanted the new catalog to not interfere with an earlier one.)  After changing the URL and following the deployment steps, a new catalog was created, but it was not referenced by Sitecore or the Commerce Engine.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Details&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In an earlier attempt to set up Commerce Server, I had created a Commerce Server site called &lt;code&gt;CFSolutionStorefrontSite&lt;/code&gt;.  My aim with this attempt was to set up a site called &lt;code&gt;storefront2&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;The Deployment Guide indicates making the following changes to change a Commerce Server catalog site:&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Commerce Authoring service references the Commerce Server Catalog web service, whose default address is &lt;a href=&quot;http://localhost:1004/CFSolutionStorefrontSite_CatalogWebService/CatalogWebService.asmx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:1004/CFSolutionStorefrontSite_CatalogWebService/CatalogWebService.asmx&lt;/a&gt;. If you need to change the hostname or port for your deployment, you must change the references to the Commerce Server Catalog web service in the following files:&#xA;  CommerceAuthoring\wwwroot\bootstrap\Global.json&#xA;  CommerceAuthoring\wwwroot\data\Environments\PlugIn.Habitat.CommerceAuthoring-1.0.0.json&#xA;  &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_M_ChangesToDefaultSettings.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Default Commerce Engine service settings&lt;/a&gt; &lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;Accordingly, I changed this URL &lt;code&gt;http://localhost:1004/CFSolutionStorefrontSite_CatalogWebService/CatalogWebService.asmx&lt;/code&gt; to this &lt;code&gt;http://localhost:1004/storefront2_CatalogWebService/CatalogWebService.asmx&lt;/code&gt; in the documented JSON locatins.&lt;/li&gt;&#xA;&lt;li&gt;After making these changes, and following the Deployment Guide process, I found that a Commerce Sever site was created (e.g. SQL Server tables with names like Storefront2_productcatalog were created, and I could open the catalog by setting Commerce Server Catalog Manager to the new URL.&lt;/li&gt;&#xA;&lt;li&gt;On closer inspection, I found that the Reference Storefront was using products from catalog Habitat_Master, and this catalog was only available in the original CFSolutionStorefrontSite. I confirmed that Sitecore and CommerceEngine were pointing to this site by changing a product description using Catalog Manager, and seeing that change using the CommmerceEngine APIs (using Postman) and in the Content Editor.&lt;/li&gt;&#xA;&lt;li&gt;I have confirmed that the settings in &lt;code&gt;Plugint.Habitat.CommerceAuthoring.1.0.01.json&lt;/code&gt; have been persisted to the SitecoreCommerce_Global Entities table. I was not able to locate where the Global.json values are persisted, so assume they are kept in memory.&lt;/li&gt;&#xA;&lt;li&gt;Both sites appear in Commerce Server Manager, and I see no difference to how they are configured there.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2wTst.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2wTst.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Question&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;What changes are required to point the CommerceEngine to a new Commerce Server site? The documented URL changes are insufficient.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Update&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I noticed that the Sitename is a setting in both of the Json files listed above, as is a reference to the SQL database where the catalog is stored:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I changed all catalog related Sitename entries in the two JSON files indicated above&#xA;(PlugIn.Habitat.CommerceAuthoring-1.0.0.json, Global.json), and reran the Bootstrap step. This resulted in the Habitat_Master catalog getting created at the desired URL, but Sitecore still points to the original location.&lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="247" LastEditDate="2017-11-25T20:19:24.380" LastActivityDate="2017-11-25T20:19:24.380" Title="How to change url to Commerce Server Catalog service" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8649" PostTypeId="2" ParentId="8648" CreationDate="2017-11-25T18:30:41.853" Score="3" Body="&lt;p&gt;Also, make sure to update the Commerce Site name in the CommerceServer.Core.config in your Sitecore Website/App_Config folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;application **siteName=&quot;&amp;lt;CommerceSiteName&amp;gt;&quot;** debugLevel=&quot;Production&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Best,&#xA;Hetal&lt;/p&gt;&#xA;" OwnerUserId="1301" LastActivityDate="2017-11-25T18:30:41.853" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8651" PostTypeId="1" AcceptedAnswerId="8654" CreationDate="2017-11-25T20:16:19.890" Score="7" ViewCount="1609" Body="&lt;p&gt;In our environment some unintended module installed . Is there any way to uninstall module in sitecore?&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="73" LastEditDate="2017-11-25T22:19:52.533" LastActivityDate="2017-11-27T06:30:28.940" Title="Uninstalling sitecore module" Tags="|sitecore-client|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8652" PostTypeId="2" ParentId="8651" CreationDate="2017-11-25T20:20:16.887" Score="5" Body="&lt;p&gt;As Marek said your only option is using Anti Packages. This this is not an option then I'm afraid that out of the box there is no uninstaller for sitecore packages as described &lt;a href=&quot;https://kb.sitecore.net/articles/916660&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing you can do is if you have the package used for installing you can extract it as a zip and remove the files and content items manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course each package is singular and have their own files/items.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2017-11-26T23:48:02.160" LastActivityDate="2017-11-26T23:48:02.160" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8653" PostTypeId="2" ParentId="8602" CreationDate="2017-11-26T06:44:25.653" Score="4" Body="&lt;p&gt;problem was in index name case, when I changed index name all lower case letters, it worked. so&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RBSM_web_index should be rbsm_web_index&lt;/p&gt;&#xA;" OwnerUserId="2119" LastActivityDate="2017-11-26T06:44:25.653" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8654" PostTypeId="2" ParentId="8651" CreationDate="2017-11-26T09:06:15.477" Score="10" Body="&lt;p&gt;You can create &lt;strong&gt;Anti Packages&lt;/strong&gt; using Sitecore Rocks. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should do this &lt;strong&gt;before installing Sitecore module&lt;/strong&gt;. It analyzes existing Sitecore items and files and put them in the Anti Package + creates scripts which will remove items and files which do not exist in Sitecore yet but do exist in the selected Sitecore Module package file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in fact Anti Package is a package which will revert your instance to what was there before installing your Sitecore Module package..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about Anti Packages here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoresandbox.com/2015/10/06/why-use-anti-package-functionality-with-sitecore-rocks/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecoresandbox.com/2015/10/06/why-use-anti-package-functionality-with-sitecore-rocks/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.techguilds.com/blog/2017/07/creating-an-anti-package-using-sitecore-rocks&quot; rel=&quot;noreferrer&quot;&gt;https://www.techguilds.com/blog/2017/07/creating-an-anti-package-using-sitecore-rocks&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-11-26T09:06:15.477" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8655" PostTypeId="1" CreationDate="2017-11-26T09:25:23.280" Score="4" ViewCount="180" Body="&lt;p&gt;Sitecore used to send an email notification to recommending someone for Sitecore MVP. But this year, they have stopped sending the confirmation email. Is there any specific reason for this?&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-11-26T09:25:23.280" Title="What is the reason for not receiving the email notification for receiving recommendations for Sitecore MVP this year?" Tags="|community|mvp|" AnswerCount="0" CommentCount="5" ClosedDate="2017-11-26T11:00:40.617" ContentLicense="CC BY-SA 3.0" />
  <row Id="8656" PostTypeId="2" ParentId="1211" CreationDate="2017-11-26T16:46:21.063" Score="7" Body="&lt;p&gt;I just wanted to add another answer, as Sitecore 9 requires SOLR (or Azure) now and that is be secure. Jeremy Davis wrote a good post on a script that installs SOLR, configures it for HTTPS, makes it a windows server and starts it with NSSM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The post: &lt;a href=&quot;https://jermdavis.wordpress.com/2017/10/30/low-effort-solr-installs/&quot; rel=&quot;noreferrer&quot;&gt;https://jermdavis.wordpress.com/2017/10/30/low-effort-solr-installs/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script: &lt;a href=&quot;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;the script&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In case the post goes away. Here is the script.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Param(&#xA;    $solrVersion = &quot;6.6.2&quot;,&#xA;    $installFolder = &quot;c:\solr&quot;,&#xA;    $solrPort = &quot;8983&quot;,&#xA;    $solrHost = &quot;solr&quot;,&#xA;    $solrSSL = $true,&#xA;    $nssmVersion = &quot;2.24&quot;,&#xA;    $JREVersion = &quot;1.8.0_151&quot;&#xA;)&#xA;&#xA;$JREPath = &quot;C:\Program Files\Java\jre$JREVersion&quot;&#xA;$solrName = &quot;solr-$solrVersion&quot;&#xA;$solrRoot = &quot;$installFolder\$solrName&quot;&#xA;$nssmRoot = &quot;$installFolder\nssm-$nssmVersion&quot;&#xA;$solrPackage = &quot;https://archive.apache.org/dist/lucene/solr/$solrVersion/$solrName.zip&quot;&#xA;$nssmPackage = &quot;https://nssm.cc/release/nssm-$nssmVersion.zip&quot;&#xA;$downloadFolder = &quot;~\Downloads&quot;&#xA;&#xA;## Verify elevated&#xA;## https://superuser.com/questions/749243/detect-if-powershell-is-running-as-administrator&#xA;$elevated = [bool](([System.Security.Principal.WindowsIdentity]::GetCurrent()).groups -match &quot;S-1-5-32-544&quot;)&#xA;if($elevated -eq $false)&#xA;{&#xA;    throw &quot;In order to install services, please run this script elevated.&quot;&#xA;}&#xA;&#xA;function downloadAndUnzipIfRequired&#xA;{&#xA;    Param(&#xA;        [string]$toolName,&#xA;        [string]$toolFolder,&#xA;        [string]$toolZip,&#xA;        [string]$toolSourceFile,&#xA;        [string]$installRoot&#xA;    )&#xA;&#xA;    if(!(Test-Path -Path $toolFolder))&#xA;    {&#xA;        if(!(Test-Path -Path $toolZip))&#xA;        {&#xA;            Write-Host &quot;Downloading $toolName...&quot;&#xA;            Start-BitsTransfer -Source $toolSourceFile -Destination $toolZip&#xA;        }&#xA;&#xA;        Write-Host &quot;Extracting $toolName to $toolFolder...&quot;&#xA;        Expand-Archive $toolZip -DestinationPath $installRoot&#xA;    }&#xA;}&#xA;# download &amp;amp; extract the solr archive to the right folder&#xA;$solrZip = &quot;$downloadFolder\$solrName.zip&quot;&#xA;downloadAndUnzipIfRequired &quot;Solr&quot; $solrRoot $solrZip $solrPackage $installFolder&#xA;&#xA;# download &amp;amp; extract the nssm archive to the right folder&#xA;$nssmZip = &quot;$downloadFolder\nssm-$nssmVersion.zip&quot;&#xA;downloadAndUnzipIfRequired &quot;NSSM&quot; $nssmRoot $nssmZip $nssmPackage $installFolder&#xA;&#xA;# Ensure Java environment variable&#xA;$jreVal = [Environment]::GetEnvironmentVariable(&quot;JAVA_HOME&quot;, [EnvironmentVariableTarget]::Machine)&#xA;if($jreVal -ne $JREPath)&#xA;{&#xA;    Write-Host &quot;Setting JAVA_HOME environment variable&quot;&#xA;    [Environment]::SetEnvironmentVariable(&quot;JAVA_HOME&quot;, $JREPath, [EnvironmentVariableTarget]::Machine)&#xA;}&#xA;&#xA;# if we're using HTTP&#xA;if($solrSSL -eq $false)&#xA;{&#xA;    # Update solr cfg to use right host name&#xA;    if(!(Test-Path -Path &quot;$solrRoot\bin\solr.in.cmd.old&quot;))&#xA;    {&#xA;        Write-Host &quot;Rewriting solr config&quot;&#xA;&#xA;        $cfg = Get-Content &quot;$solrRoot\bin\solr.in.cmd&quot;&#xA;        Rename-Item &quot;$solrRoot\bin\solr.in.cmd&quot; &quot;$solrRoot\bin\solr.in.cmd.old&quot;&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_HOST=192.168.1.1&quot;, &quot;set SOLR_HOST=$solrHost&quot; }&#xA;        $newCfg | Set-Content &quot;$solrRoot\bin\solr.in.cmd&quot;&#xA;    }&#xA;}&#xA;&#xA;# Ensure the solr host name is in your hosts file&#xA;if($solrHost -ne &quot;localhost&quot;)&#xA;{&#xA;    $hostFileName = &quot;c:\\windows\system32\drivers\etc\hosts&quot;&#xA;    $hostFile = [System.Io.File]::ReadAllText($hostFileName)&#xA;    if(!($hostFile -like &quot;*$solrHost*&quot;))&#xA;    {&#xA;        Write-Host &quot;Updating host file&quot;&#xA;        &quot;`r`n127.0.0.1`t$solrHost&quot; | Add-Content $hostFileName&#xA;    }&#xA;}&#xA;&#xA;# if we're using HTTPS&#xA;if($solrSSL -eq $true)&#xA;{&#xA;    # Generate SSL cert&#xA;    $existingCert = Get-ChildItem Cert:\LocalMachine\Root | where FriendlyName -eq &quot;$solrName&quot;&#xA;    if(!($existingCert))&#xA;    {&#xA;        Write-Host &quot;Creating &amp;amp; trusting an new SSL Cert for $solrHost&quot;&#xA;&#xA;        # Generate a cert&#xA;        # https://docs.microsoft.com/en-us/powershell/module/pkiclient/new-selfsignedcertificate?view=win10-ps&#xA;        $cert = New-SelfSignedCertificate -FriendlyName &quot;$solrName&quot; -DnsName &quot;$solrHost&quot; -CertStoreLocation &quot;cert:\LocalMachine&quot; -NotAfter (Get-Date).AddYears(10)&#xA;&#xA;        # Trust the cert&#xA;        # https://stackoverflow.com/questions/8815145/how-to-trust-a-certificate-in-windows-powershell&#xA;        $store = New-Object System.Security.Cryptography.X509Certificates.X509Store &quot;Root&quot;,&quot;LocalMachine&quot;&#xA;        $store.Open(&quot;ReadWrite&quot;)&#xA;        $store.Add($cert)&#xA;        $store.Close()&#xA;&#xA;        # remove the untrusted copy of the cert&#xA;        $cert | Remove-Item&#xA;    }&#xA;&#xA;    # export the cert to pfx using solr's default password&#xA;    if(!(Test-Path -Path &quot;$solrRoot\server\etc\solr-ssl.keystore.pfx&quot;))&#xA;    {&#xA;        Write-Host &quot;Exporting cert for Solr to use&quot;&#xA;&#xA;        $cert = Get-ChildItem Cert:\LocalMachine\Root | where FriendlyName -eq &quot;$solrName&quot;&#xA;&#xA;        $certStore = &quot;$solrRoot\server\etc\solr-ssl.keystore.pfx&quot;&#xA;        $certPwd = ConvertTo-SecureString -String &quot;secret&quot; -Force -AsPlainText&#xA;        $cert | Export-PfxCertificate -FilePath $certStore -Password $certpwd | Out-Null&#xA;    }&#xA;&#xA;    # Update solr cfg to use keystore &amp;amp; right host name&#xA;    if(!(Test-Path -Path &quot;$solrRoot\bin\solr.in.cmd.old&quot;))&#xA;    {&#xA;        Write-Host &quot;Rewriting solr config&quot;&#xA;&#xA;        $cfg = Get-Content &quot;$solrRoot\bin\solr.in.cmd&quot;&#xA;        Rename-Item &quot;$solrRoot\bin\solr.in.cmd&quot; &quot;$solrRoot\bin\solr.in.cmd.old&quot;&#xA;        $newCfg = $cfg | % { $_ -replace &quot;REM set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks&quot;, &quot;set SOLR_SSL_KEY_STORE=$certStore&quot; }&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_SSL_KEY_STORE_PASSWORD=secret&quot;, &quot;set SOLR_SSL_KEY_STORE_PASSWORD=secret&quot; }&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks&quot;, &quot;set SOLR_SSL_TRUST_STORE=$certStore&quot; }&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_SSL_TRUST_STORE_PASSWORD=secret&quot;, &quot;set SOLR_SSL_TRUST_STORE_PASSWORD=secret&quot; }&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_HOST=192.168.1.1&quot;, &quot;set SOLR_HOST=$solrHost&quot; }&#xA;        $newCfg | Set-Content &quot;$solrRoot\bin\solr.in.cmd&quot;&#xA;    }&#xA;}&#xA;&#xA;# install the service &amp;amp; runs&#xA;$svc = Get-Service &quot;$solrName&quot; -ErrorAction SilentlyContinue&#xA;if(!($svc))&#xA;{&#xA;    Write-Host &quot;Installing Solr service&quot;&#xA;    &amp;amp;&quot;$installFolder\nssm-$nssmVersion\win64\nssm.exe&quot; install &quot;$solrName&quot; &quot;$solrRoot\bin\solr.cmd&quot; &quot;-f&quot; &quot;-p $solrPort&quot;&#xA;    $svc = Get-Service &quot;$solrName&quot; -ErrorAction SilentlyContinue&#xA;}&#xA;if($svc.Status -ne &quot;Running&quot;)&#xA;{&#xA;    Write-Host &quot;Starting Solr service&quot;&#xA;    Start-Service &quot;$solrName&quot;&#xA;}&#xA;&#xA;# finally prove it's all working&#xA;$protocol = &quot;http&quot;&#xA;if($solrSSL -eq $true)&#xA;{&#xA;    $protocol = &quot;https&quot;&#xA;}&#xA;Invoke-Expression &quot;start $($protocol)://$($solrHost):$solrPort/solr/#/&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-11-26T16:46:21.063" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8658" PostTypeId="2" ParentId="8635" CreationDate="2017-11-27T07:22:47.180" Score="1" Body="&lt;p&gt;Can you please check the log file to see if there are any error(s) related to SOLR? you can perform the following steps:&lt;br/&gt;&lt;br/&gt;&#xA;1) Review the log file and check for any error/exception related to SOLR connective or any specific config.&lt;br/&gt;&#xA;2) Rebuild the indexes. &lt;br/&gt;&#xA;3) Now, review the log file again,and see if there are any errors logged.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please reform above steps and let me know how it goes?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="1316" LastActivityDate="2017-11-27T07:22:47.180" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8659" PostTypeId="1" CreationDate="2017-11-27T07:39:34.900" Score="1" ViewCount="270" Body="&lt;p&gt;I have a Sitecore user who is not an administrator. I want to add any language version of an item from more languages button available in the top right corner of an item even though that language is not available under sitecore/system/languages. When I was trying to do that I was getting an error like below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The security settings for the current language prevent you from seeing this item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To continue, select another language from the Language drop-down list on the Versions tab. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error will not be coming when this is done as a administrator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone tell me what are the rights that needs to be given to the sitecore user so that he can also add any language versions for an item just like an administrator?&lt;/p&gt;&#xA;" OwnerUserId="2755" LastEditorUserId="605" LastEditDate="2017-11-27T07:52:20.500" LastActivityDate="2017-11-27T09:27:43.453" Title="how to add undefined language versions for an item in sitecore" Tags="|security|settings|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8660" PostTypeId="1" AcceptedAnswerId="8666" CreationDate="2017-11-27T07:47:23.147" Score="2" ViewCount="516" Body="&lt;p&gt;We have data stored in Custom database and we want to display the table's data in WFFM form field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are looking for a generic solution so that we can plug this into any website (multisite and multilingual website).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Sitecore WFFM provides personalization with rules and action, here we see the possibility to get the solution with some customization.&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="2723" LastEditDate="2017-11-30T12:06:49.077" LastActivityDate="2017-11-30T12:06:49.077" Title="Populating the WFFM form field from custom database" Tags="|wffm|sitecore-client|" AnswerCount="1" CommentCount="4" ClosedDate="2017-11-29T15:57:27.307" ContentLicense="CC BY-SA 3.0" />
  <row Id="8661" PostTypeId="1" AcceptedAnswerId="8664" CreationDate="2017-11-27T08:22:01.280" Score="6" ViewCount="4135" Body="&lt;p&gt;I was wondering what version of SQL Server is best used (or allowed to be used) with Sitecore 9: SQL Web or Standard?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/sql/sql-server/editions-and-components-of-sql-server-2016&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/sql/sql-server/editions-and-components-of-sql-server-2016&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been looking through some documentation and can't seem to find the answer I am looking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="627" LastActivityDate="2017-11-27T09:01:21.720" Title="What version of SQL Server can I use on Sitecore 9" Tags="|sql-database|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8662" PostTypeId="2" ParentId="8661" CreationDate="2017-11-27T08:35:30.853" Score="4" Body="&lt;p&gt;Sitecore 9.0 supports the following database servers:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Microsoft SQL Server 2016 SP1: This version supports the XM databases&#xA;and is the required and only supported version for the Experience&#xA;Database (xDB).&lt;/li&gt;&#xA;&lt;li&gt;Microsoft SQL Server 2014 SP2: This version only supports XM&#xA;databases and does not support the Experience Database (xDB).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Edition of MS SQL Server depends only on your solution architecture requirements.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Important:&lt;/strong&gt; Sitecore XP 9.0 rev. 171002 does not currently support&#xA;  MongoDB or Oracle databases for the Experience Database (xDB). Support&#xA;  will be added in future versions of Sitecore.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; You can also use Windows authentication to connect to the SQL server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2017-11-27T08:53:32.293" LastActivityDate="2017-11-27T08:53:32.293" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8664" PostTypeId="2" ParentId="8661" CreationDate="2017-11-27T09:01:21.720" Score="5" Body="&lt;p&gt;I will say both are supported if Sitecore didn't mention on documentation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are close, but not quite the same. The primary difference is the licensing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other differences are&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Mirroring (web can only serve as a witness) &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Publishing (web can only subscribe) &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Performance (web does not come    with SQL Profiler)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x9NaJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x9NaJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a production environment I will install Enterprise version. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-11-27T09:01:21.720" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8665" PostTypeId="2" ParentId="8659" CreationDate="2017-11-27T09:27:43.453" Score="2" Body="&lt;p&gt;Before I answer your question, let me give you a quick free advice: &lt;strong&gt;Don't do this. Adding language versions in languages which don't exist in the system will cause more problems later.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;The only option you can do this is to make your user an administrator (&lt;code&gt;User Manager&lt;/code&gt;, select user, &lt;code&gt;Is Administrator&lt;/code&gt; checkbox).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason why there is no other option is that &lt;code&gt;Language Read&lt;/code&gt; and &lt;code&gt;Language Write&lt;/code&gt; rights are set on &lt;code&gt;/sitecore/system/Languages&lt;/code&gt; node and inherited by all the languages defined in system. If your user is not administrator, Sitecore cannot find language node to check the security and returns &lt;code&gt;Access Deny&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore Administrator, that security is ignored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no Sitecore role which can be assigned to your user to bypass this security check.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-11-27T09:27:43.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8666" PostTypeId="2" ParentId="8660" CreationDate="2017-11-27T09:27:53.903" Score="3" Body="&lt;p&gt;I'm making a number of assumptions here (such as Sitecore 8.x+ and also WFFM MVC and not web forms and that this is to create a field of type dropdown). However If I'm right on these assumptions you probably need to do something like the following which inherits from the default dropdownlistfield and adds custom values from an external source:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The wffm field:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// used by web forms only and for settings in wffm designer&#xA;/// &amp;lt;/summary&amp;gt;&#xA;&#xA;public class ExternalDropDownList : DropList&#xA;{&#xA;&#xA;    public new ListItemCollection SelectedValue&#xA;    {&#xA;        get { return this.selectedItems; }&#xA;        set { this.selectedItems = value; }&#xA;    }&#xA;&#xA;    protected override void InitItems(ListItemCollection items)&#xA;    {&#xA;        base.InitItems(items);&#xA;    }&#xA;&#xA;    protected override void DoRender(HtmlTextWriter writer)&#xA;    {&#xA;        base.DoRender(writer);&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The rendered field:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  // &amp;lt;summary&amp;gt;&#xA;    /// used to render the form field view (Views/Form/EditorTemplates/DropDownListField.cshtml)&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;public class ExternalDropDownListField : DropListField&#xA;{&#xA;&#xA;    private string InitialSelection { get; set; }&#xA;&#xA;    public override void Initialize()&#xA;    {&#xA;        Items = new List&amp;lt;SelectListItem&amp;gt;();&#xA;&#xA;        var externaldbItems = dbFactory.GetItems(); //your db access here&#xA;&#xA;        if (Parameters.ContainsKey(&quot;initialselection&quot;))&#xA;            InitialSelection = Parameters[&quot;initialselection&quot;];&#xA;&#xA;        var externalItemSelected = false;&#xA;        foreach (var item in externaldbItems)&#xA;        {&#xA;            if (string.Equals(item.Field1, InitialSelection, StringComparison.InvariantCultureIgnoreCase))&#xA;                externalItemSelected = true;&#xA;&#xA;            Items.Add(new SelectListItem&#xA;            {&#xA;                Value = item.Field1,&#xA;                Text = item.Field2,&#xA;                Selected = externalItemSelected&#xA;            });&#xA;        }&#xA;&#xA;        base.Initialize();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lastly you need to add this into Sitecore as a custom field here: /sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Like so:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wLTX5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wLTX5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously you will need to add in access to your db via some kind of factory or ORM on this line:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;var externaldbItems = dbFactory.GetItems();&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2017-11-27T11:11:00.153" LastActivityDate="2017-11-27T11:11:00.153" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8667" PostTypeId="1" AcceptedAnswerId="8669" CreationDate="2017-11-27T09:59:07.817" Score="3" ViewCount="188" Body="&lt;p&gt;I am trying to swap lucene with solr in our project&#xA;(I use this cool guide &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2266/how-to-switch-lucene-to-solr&quot;&gt;How to switch Lucene to Solr&lt;/a&gt;)&#xA; But I faced an issue. All except these two fields work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Part of Lucene's config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;field fieldName=&quot;my_project_name&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;WITH_POSITIONS_OFFSETS&quot; boost=&quot;1f&quot; emptyString=&quot;_EMPTY_&quot; nullValue=&quot;_NULL_&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;          &amp;lt;Analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot;/&amp;gt;&#xA;  &amp;lt;/field&amp;gt;&#xA;&#xA;  &amp;lt;field fieldName=&quot;my_project_type_name&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;WITH_POSITIONS_OFFSETS&quot; boost=&quot;1f&quot; emptyString=&quot;_EMPTY_&quot; nullValue=&quot;_NULL_&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;        &amp;lt;Analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot;/&amp;gt;&#xA;  &amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Part of Solr Config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;my_project_type_name&quot; termVectors=&quot;true&quot;   termPositions=&quot;true&quot; termOffsets=&quot;true&quot;&amp;gt;ComputedFields.ProjectTypeNameField, Business&amp;lt;/field&amp;gt;&#xA;&amp;lt;field fieldName=&quot;my_project_name&quot; termVectors=&quot;true&quot; termPositions=&quot;true&quot; termOffsets=&quot;true&quot;&amp;gt;ComputedFields.ProjectNameField, Business&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;According to solr docs I have to add relevant handler &#xA;&lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/the-term-vector-component.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/the-term-vector-component.html&lt;/a&gt;&#xA;- it doesn't work.&#xA;Also I have tried use PostingsHighlighter with this storeOffsetWithPOsitions  - the same result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The answer is - is there any chance that sitecore support this solr feature? If so what I did in the wrong way? Can it be implemented in the other way?&lt;/p&gt;&#xA;" OwnerUserId="2757" LastEditorUserId="2757" LastEditDate="2017-11-27T11:38:05.207" LastActivityDate="2017-11-27T11:44:28.033" Title="Migrate sitecore 8.1 from lucene to Solr 5.x issue" Tags="|solr|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8668" PostTypeId="2" ParentId="8643" CreationDate="2017-11-27T11:41:32.683" Score="4" Body="&lt;p&gt;Your best bet is probably to create a custom hidden field. This blog post is a good overview of how to do it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.rockpapersitecore.com/2016/05/web-forms-for-markters-wffm-8-1-and-hidden-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.rockpapersitecore.com/2016/05/web-forms-for-markters-wffm-8-1-and-hidden-fields/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In summary though you need to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add a view model:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LandingHiddenField: ValuedFieldViewModel&amp;lt;string&amp;gt;&#xA;{&#xA;    public override string Value { get; set; }&#xA;&#xA;    public override void Initialize()&#xA;    {&#xA;        this.ShowTitle = false;&#xA;        var landingpage = HttpContext.Current.Request.Cookies[&quot;landingpageurl&quot;];&#xA;        if(landingpage!=null){ &#xA;          this.Value = landingpage;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add a rendering:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Forms.Mvc.Html&#xA;@model  Client.Forms.ViewModels.LandingHiddenField&#xA;&#xA;@using (Html.BeginField())&#xA;{&#xA;&#xA;    @Html.Hidden(&quot;LandingPage&quot;, Model.Value);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add your field to Sitecore here:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/System/Modules/Web Forms for Markters/Settings/Field Types/Custom&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can add it to any forms you wish and it should track the value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I have pulled the value from a cookie instead of session as I think this might be more performant but you can get it from session of elsewhere if you prefer.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-11-27T11:41:32.683" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8669" PostTypeId="2" ParentId="8667" CreationDate="2017-11-27T11:44:28.033" Score="1" Body="&lt;p&gt;As I see, you skipped some additional configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;my_project_type_name&quot; termVectors=&quot;true&quot; stored=&quot;yes&quot; indexType=&quot;untokenized&quot; returnType=&quot;string&quot;   termPositions=&quot;true&quot; termOffsets=&quot;true&quot;&amp;gt;ComputedFields.ProjectTypeNameField, Business&amp;lt;/field&amp;gt;&#xA;&amp;lt;field fieldName=&quot;my_project_name&quot; termVectors=&quot;true&quot; stored=&quot;yes&quot; indexType=&quot;untokenized&quot; returnType=&quot;string&quot; termPositions=&quot;true&quot; termOffsets=&quot;true&quot;&amp;gt;ComputedFields.ProjectNameField, Business&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-11-27T11:44:28.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8670" PostTypeId="1" AcceptedAnswerId="8673" CreationDate="2017-11-27T13:33:06.950" Score="0" ViewCount="264" Body="&lt;p&gt;We are using Lucene Index for our site search, our objective is to add all the content which is associated with Page Item.&lt;br/&gt; Here we have added Two custom index field for 1) &quot;PageContent&quot; and 2 )&quot;PageUrl&quot; to hold data.&lt;br/&gt;&#xA;&quot;PageContent&quot; field is being populated with Current Page Item data and the presentation item data source.&lt;br/&gt;&#xA;But we are getting the error while reading presentation component DataSource Item, It is throwing the null exception on &lt;code&gt;item.Visualization&lt;/code&gt;.&lt;br/&gt;&#xA;Environment - Sitecore 8.1 Update 3 &lt;br/&gt;&#xA;Items to Crawl - All the item which is coming under the Home Node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion will be helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;            var fieldValue = (object)null;&#xA;            var item = (Item)(indexable as SitecoreIndexableItem);&#xA;&#xA;            if (item.Visualization.Layout != null)&#xA;            {&#xA;                var itemContent = this.GetItemContent(item);&#xA;                var dataSourceContent = this.GetDataSourceContent(item);&#xA;                fieldValue = StringUtil.RemoveTags(&quot;{0} {1}&quot;.FormatWith(itemContent, dataSourceContent));&#xA;            }&#xA;&#xA;            return fieldValue;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Stack Trace -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;at Sitecore.CES.DeviceDetection.Rules.RuleDeviceInformationManager.GetUserAgentFromDeviceRuleContext(DeviceRuleContext deviceRuleContext)&#xA;   at Sitecore.CES.DeviceDetection.Rules.RuleDeviceInformationManager.ResolveObject[T](RuleContext ruleContext, String key, Func`2 objectFactory, String trackerDisabledMessageFormat, String deviceDetectionExceptionMessageFormat, Object[] formatArgs)&#xA;   at Sitecore.CES.DeviceDetection.Rules.RuleDeviceInformationManager.GetDeviceInformation(RuleContext ruleContext)&#xA;   at Sitecore.CES.DeviceDetection.Rules.Conditions.DeviceTypeCondition`1.Execute(T ruleContext)&#xA;   at Sitecore.Rules.Conditions.WhenCondition`1.Evaluate(T ruleContext, RuleStack stack)&#xA;   at Sitecore.Rules.Conditions.OrCondition`1.Evaluate(T ruleContext, RuleStack stack)&#xA;   at Sitecore.Rules.Conditions.OrCondition`1.Evaluate(T ruleContext, RuleStack stack)&#xA;   at Sitecore.Data.Items.DeviceItem.MatchesRules(HttpContextBase httpContext, SafeDictionary`2 customData)&#xA;   at Sitecore.Data.Items.DeviceItem.FindBestMatch(Database database, HttpContextBase httpContext)&#xA;   at Sitecore.Data.Items.DeviceItem.ResolveDevice(Database database, HttpContextBase httpContext)&#xA;   at Sitecore.Data.Items.ItemVisualization.ResolveContextDevice()&#xA;   at Sitecore.Data.Items.ItemVisualization.get_Layout()&#xA;&#xA;//This Method will read the current item content &#xA;    public string GetItemContent(Item item){&#xA;    //&#xA;    //logic to get the current item content &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;GetItemContent(Item item)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public string GetItemContent(Item item){&#xA;    logic to get the current item content &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;GetDataSourceContent(Item item);&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;This method will read the data source of all presentation item , contact the filed data and return the data.&#xA;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public string  GetDataSourceContent(Item item)&#xA;{&#xA;     string data=string.empty;&#xA;     var device = DeviceItem.ResolveDevice(item.Database);&#xA;     var renderings = item.Visualization.GetRenderings(device, false).ToList();&#xA;&#xA;     return data&#xA;     }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="1470" LastEditDate="2017-11-27T14:24:13.983" LastActivityDate="2017-11-27T15:54:57.950" Title="Getting Null exception in Crawling Page Component DataSource on Lucene Index" Tags="|lucene|sitecore-api|computed-field|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8671" PostTypeId="5" CreationDate="2017-11-27T14:27:19.697" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-11-27T14:27:19.697" LastActivityDate="2017-11-27T14:27:19.697" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8672" PostTypeId="4" CreationDate="2017-11-27T14:27:19.697" Score="0" Body="Computed fields allow you to index information/values calculated while indexing - in your (custom) Sitecore index" OwnerUserId="1470" LastEditorUserId="237" LastEditDate="2017-11-27T19:07:40.037" LastActivityDate="2017-11-27T19:07:40.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8673" PostTypeId="2" ParentId="8670" CreationDate="2017-11-27T14:32:42.417" Score="2" Body="&lt;p&gt;An alternative way to get list of datasource items referenced to the current item is to use the Link database, Here is an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//Get all the datasource items by filtering the item referneces&#xA;var itemLinks = Sitecore.Globals.LinkDatabase.GetReferences(item)&#xA;                .Where(r =&amp;gt; (r.SourceFieldID == Sitecore.FieldIDs.LayoutField &#xA;                    || r.SourceFieldID == Sitecore.FieldIDs.FinalLayoutField) &amp;amp;&amp;amp; r.TargetDatabaseName == item.Database.Name);&#xA;&#xA;//Null check and filter any duplicate datasource items&#xA;return itemLinks.Select(l =&amp;gt; l.GetTargetItem()).Where(i =&amp;gt; i != null).Distinct().ToArray();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This example is working on Sitecore 8.2 - Update 3&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-11-27T14:32:42.417" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8674" PostTypeId="1" AcceptedAnswerId="8678" CreationDate="2017-11-27T15:33:34.230" Score="40" ViewCount="1908" Body="&lt;p&gt;There has been a considerable amount of traffic on Sitecore Slack Chat, Sitecore Stack Exchange, and even Twitter as to what should people experience when submitting applications or nominations for MVPs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Frequently asked questions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is there value in receiving an email notification after submitting a nomination for someone else.&lt;/li&gt;&#xA;&lt;li&gt;Do I have to be recommended &lt;strong&gt;before&lt;/strong&gt; submitting my own nomination if I'm not currently an MVP?&lt;/li&gt;&#xA;&lt;li&gt;What is the appropriate time period of activities I should list? Current calendar year only?&lt;/li&gt;&#xA;&lt;li&gt;How should I seek out nominations from the MVPs in the community?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What process has Sitecore outlined for the community?&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-01-20T18:07:09.043" LastActivityDate="2020-11-24T13:13:45.513" Title="What should I expect in the MVP nomination or first-time application process?" Tags="|mvp|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8675" PostTypeId="2" ParentId="8670" CreationDate="2017-11-27T15:54:57.950" Score="2" Body="&lt;p&gt;I think the issue is when you try to resolve the device. Rather than use &lt;code&gt;DeviceItem.ResolveDevice&lt;/code&gt; - you know you want the default device, so you can just get that directly. Like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string GetDataSourceContent(Item item)&#xA;{&#xA;    string data = string.Empty;&#xA;    var deviceItem = item.Database.GetItem(&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;);&#xA;    var device = new DeviceItem(deviceItem);&#xA;    var renderings = item.Visualization.GetRenderings(device, false).ToList();&#xA;&#xA;    return data;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&lt;/code&gt; is the guid of the default device item in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way would be slightly better performing too as it doesn't not have to run an entire pipeline to resolve a device that you already know you want.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-11-27T15:54:57.950" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8676" PostTypeId="1" AcceptedAnswerId="8677" CreationDate="2017-11-27T16:01:05.333" Score="9" ViewCount="800" Body="&lt;p&gt;I'm trying to price out costs for a Sitecore 9 upgrade for some clients. For customers on 8.x that are running a single Sitecore application in a hybrid CM and Processing role, they need only one license for that instance. When we upgrade to Sitecore 9, however, xConnect will be a separate application with a separate license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume, it's not acceptable to use the same license for CM and xConnect, even if they're running on the same server. Does xConnect require another standard Sitecore production license, with the same pricing model? Or, is there a different license for xConnect with a different pricing model? This would be for perpetual licenses, not consumption.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know this can be specific to the customer, but I think the general licensing model around xConnect is good knowledge for the community to have. Sitecore's documentation has not been updated to cover licensing for Sitecore 9 yet.&lt;/p&gt;&#xA;" OwnerUserId="499" LastEditorUserId="2056" LastEditDate="2018-12-21T09:32:29.910" LastActivityDate="2018-12-21T09:32:29.910" Title="What kind of license does xConnect require?" Tags="|xconnect|licensing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8677" PostTypeId="2" ParentId="8676" CreationDate="2017-11-27T16:03:47.000" Score="6" Body="&lt;p&gt;The best answer is &quot;ask your Sitecore Sales rep&quot;. With that said, I did ask the sales team while at Sitecore Symposium and they said it wouldn't require any additional licences outside of what Sitecore 8 xDB support required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Again, I would ask your sales rep as they may give you a different answer as it will very by each customer.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2017-11-27T16:03:47.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8678" PostTypeId="2" ParentId="8674" CreationDate="2017-11-27T16:10:19.350" Score="44" Body="&lt;p&gt;The MVP nomination process is outlined on the &lt;a href=&quot;https://mvp.sitecore.net/become-an-mvp&quot; rel=&quot;noreferrer&quot;&gt;Sitecore MVP website&lt;/a&gt; and it is also worth reading previous question on &lt;a href=&quot;https://sitecore.stackexchange.com/q/5796/135&quot;&gt;How to become a Sitecore MVP&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Nomination&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The MVP process for 2019 has changed and you must be nominated by an existing MVP or a Sitecore employee before you can apply. Once you have been nominated you will receive an invitation by email, allowing you to create an account and start the application process on the &lt;a href=&quot;https://mvp.sitecore.com/application&quot; rel=&quot;noreferrer&quot;&gt;MVP website&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Existing MVPs will receive an email automatically inviting them to create an account, they do not need to be nominated by another MVP or Sitecore employee.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Recommendations&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Due to the above change, you &lt;strong&gt;must&lt;/strong&gt; be &lt;a href=&quot;https://sitecore.stackexchange.com/q/2294/135&quot;&gt;recommended by at least one existing MVP or Sitecore employee&lt;/a&gt; before you are invited to apply. However, you will not receive an email notification when/if you receive &lt;em&gt;any further&lt;/em&gt; recommendations, it will however be saved. Whether &quot;there is any value in receiving email notifications&quot; is subjective.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are seeking out recommendations then the best way is to do this organically by being active within the community. The previous questions on &lt;a href=&quot;https://sitecore.stackexchange.com/q/2294/135&quot;&gt;How to be Recommended to be a Sitecore MVP&lt;/a&gt; and &lt;a href=&quot;https://sitecore.stackexchange.com/q/5796/135&quot;&gt;How to become a Sitecore MVP?&lt;/a&gt; has a lot of useful information already.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any further recommendations can be sent in at any time up to the close of the nomination process.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Invitation and Recommendation Process&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Existing MVPs can log into the site and click on the &quot;Invite &amp;amp; Recommendation&quot; tab, and then fill in the details of the person you are recommending. You will require the following details:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;First Name&lt;/li&gt;&#xA;&lt;li&gt;Last Name&lt;/li&gt;&#xA;&lt;li&gt;Email&lt;/li&gt;&#xA;&lt;li&gt;Motivation (Why do you believe this person is eligible for the Sitecore MVP title?)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Application&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In terms of time period of activities to list; the MVP award is an annual award and as such it would make sense that current year of activity is what is taken into account. From my experience, if you applying for your first MVP then you should list &lt;em&gt;all relevant&lt;/em&gt; history and activity that you feel may help your nomination, but anything older than 18 months is unlikely to be considered. For repeat MVPs, I personally have taken the view that it is based on the previous 12 months activity although I may stretch this to the past 12-15 months if it is highly relevant. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My understanding is that the process has a degree of flexibility built into it so there are no hard and fast rules but continued contribution throughout the whole year is a requirement. If you feel it strengthens your nomination then you should include it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Application Process&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The general process for the application:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Seek out at least one recommendation from an existing MVP or Sitecore employee and have them invite you to apply&lt;/li&gt;&#xA;&lt;li&gt;Once you have been nominated, you will receive an invitation email with a link to create an account&lt;/li&gt;&#xA;&lt;li&gt;Fill out the application for your MVP nomination. You will receive an confirmation email that it was submitted successfully. &lt;/li&gt;&#xA;&lt;li&gt;Those that are recommending you should do so by logging into the application site and using the &quot;Invite &amp;amp; Recommendation&quot; tab. Remember to provide them the email address you are using in your application to make it easier. You will &lt;em&gt;not&lt;/em&gt; receive further emails you have been recommended after the initial invitation.&lt;/li&gt;&#xA;&lt;li&gt;Wait whilst nominations and recommendations are reviewed during December and January&lt;/li&gt;&#xA;&lt;li&gt;MVPs are &lt;a href=&quot;https://sitecore.stackexchange.com/a/3848/135&quot;&gt;generally announced&lt;/a&gt; at the end of January. If you are awarded the MVP award then remember to wait until after the official Sitecore announcement before publicizing on social media.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ck8GP.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ck8GP.jpg&quot; alt=&quot;MVP application process&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="312" LastEditDate="2019-10-04T13:18:29.540" LastActivityDate="2019-10-04T13:18:29.540" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="8679" PostTypeId="2" ParentId="8676" CreationDate="2017-11-27T16:14:37.153" Score="5" Body="&lt;p&gt;xConnect is part of Sitecore's xDB offering, so normal xDB license (with module &lt;em&gt;Sitecore.xDB.Base&lt;/em&gt;) is enough.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-11-27T16:14:37.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8680" PostTypeId="1" CreationDate="2017-11-27T16:16:59.783" Score="2" ViewCount="982" Body="&lt;p&gt;We're attempting to rebuild our reporting database in order process historical data from Mongo. This has failed on us several times. This time we were able to catch the error message: &lt;code&gt;ERROR Failed Rebuild - history processing. AggregationType: Automation. Error: Aggregation task was not found.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It comes right after a couple of failed SQL calls, &lt;code&gt;invalid object&lt;/code&gt; errors for the &lt;code&gt;FormFieldValues&lt;/code&gt; and &lt;code&gt;Fact_FormEvents&lt;/code&gt; tables. We've confirmed that these tables don't exist in our database. I'm not entirely convinced fixing that will fix our aggregation issues though, as those errors occur numerous times during the process without it bombing out (we're still going to fix that issue, though, obviously).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have any experience with this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our installation is 8.1u3 with the WFFM module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;edit: adding more error details&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't have a stack trace, per se, but here's the context at least:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;12176 09:57:19 ERROR Exception when storing an aggregation result into reporting database. Item will be postponed and retried later.&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: Invalid object name 'Fact_FormEvents'.&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)&#xA;   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady)&#xA;   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite, SqlDataReader ds)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite)&#xA;   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)&#xA;   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()&#xA;   at Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.Commit(SqlDataApi api, IReportingStorageItemBatch batch, Func`2 filter)&#xA;   at Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.&amp;lt;&amp;gt;c__DisplayClass6.&amp;lt;StoreBatch&amp;gt;b__1()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.ExecuteNoResult(Action action, Action recover)&#xA;   at Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.Store(IReportingStorageItemBatch batch)&#xA;12408 09:57:21 ERROR Failed Rebuild - history processing. AggregationType: Automation. Error: Aggregation task was not found.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the stack trace there is for a separate but possibly related error (the failed SQL calls I mentioned previously). The aggregation error itself doesn't provide any more detail than that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;edit 2: aggregation processors from the showconfig.aspx&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;interactions&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.TrafficProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.ValueBySourceProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.PageViewsProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.ValueByBusinessUnitProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.VisitsProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.FailuresProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.ConversionsProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.DownloadsProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.SiteSearchesProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.FollowHitsProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Aggregation.Pipeline.SlowPagesProcessor, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;!-- Aggregators for indexing experience data --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsVisitAggregator, Sitecore.ContentSearch.Analytics&quot; patch:source=&quot;Sitecore.ContentSearch.Analytics.config&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;VisitAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsVisitPageAggregator, Sitecore.ContentSearch.Analytics&quot; patch:source=&quot;Sitecore.ContentSearch.Analytics.config&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;VisitPageAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsVisitPageEventAggregator, Sitecore.ContentSearch.Analytics&quot; patch:source=&quot;Sitecore.ContentSearch.Analytics.config&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;VisitPageEventAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsContactAggregator, Sitecore.ContentSearch.Analytics&quot; patch:source=&quot;Sitecore.ContentSearch.Analytics.config&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;ContactAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsContactTagAggregator, Sitecore.ContentSearch.Analytics&quot; patch:source=&quot;Sitecore.ContentSearch.Analytics.config&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;ContactTagAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentSearch.Analytics.Aggregators.AnalyticsAddressAggregator, Sitecore.ContentSearch.Analytics&quot; patch:source=&quot;Sitecore.ContentSearch.Analytics.config&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;AddressAggregationObservable&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.PathAnalyzer.Pipelines.Interactions.TreeProcessor, Sitecore.PathAnalyzer&quot; patch:source=&quot;Sitecore.PathAnalyzer.Processing.config&quot;&amp;gt;&#xA;        &amp;lt;LivePool ref=&quot;aggregationProcessing/processingPools/pathAnalyzerLive&quot; /&amp;gt;&#xA;        &amp;lt;HistoryPool ref=&quot;aggregationProcessing/processingPools/pathAnalyzerHistory&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.WFFM.Analytics.Aggregation.Processors.FormSummary.FormSummaryProcessor, Sitecore.WFFM.Analytics&quot; patch:source=&quot;Sitecore.WFFM.Analytics.config&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.WFFM.Analytics.Aggregation.Processors.FormEvents.FormEventsProcessor, Sitecore.WFFM.Analytics&quot; patch:source=&quot;Sitecore.WFFM.Analytics.config&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.WFFM.Analytics.Aggregation.Processors.FormStatisticsByContact.FormStatisticsByContactProcessor, Sitecore.WFFM.Analytics&quot; patch:source=&quot;Sitecore.WFFM.Analytics.config&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentTesting.Analytics.Aggregation.Pipeline.MvTestingProcessor, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.Processing.Aggregation.config&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentTesting.Analytics.Aggregation.Pipeline.MvTestingDetailsProcessor, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.Processing.Aggregation.config&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentTesting.Analytics.Aggregation.Pipeline.TestPageClicksProcessor, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.Processing.Aggregation.config&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentTesting.Analytics.Aggregation.Pipeline.TestConversionsProcessor, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.Processing.Aggregation.config&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentTesting.Analytics.Aggregation.Pipeline.PageViewsByLanguageProcessor, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.Processing.Aggregation.config&quot;&amp;gt;&#xA;        &amp;lt;DateTimePrecision type=&quot;Sitecore.Analytics.Aggregation.Data.DateTimeDayPrecisionStrategy, Sitecore.Analytics.Aggregation&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentTesting.Analytics.Aggregation.Pipeline.PersonalizationProcessor, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.Processing.Aggregation.config&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ContentTesting.Analytics.Aggregation.Pipeline.PersonalizationRulesExposure, Sitecore.ContentTesting&quot; patch:source=&quot;Sitecore.ContentTesting.Processing.Aggregation.config&quot; /&amp;gt;&#xA;    &amp;lt;!-- The pipeline processor is building Facts and Dimensions for each segment registered in Experience Analytics --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor, Sitecore.ExperienceAnalytics&quot; patch:source=&quot;Sitecore.ExperienceAnalytics.Aggregation.config&quot; /&amp;gt;&#xA;&amp;lt;/interactions&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1164" LastEditorUserId="1164" LastEditDate="2017-11-29T19:34:20.553" LastActivityDate="2017-11-30T07:14:28.033" Title="Rebuild Reporting Database procedure fails with &quot;Aggregation task not found&quot; error" Tags="|reporting|aggregation|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="8681" PostTypeId="1" AcceptedAnswerId="8682" CreationDate="2017-11-27T16:30:11.750" Score="2" ViewCount="462" Body="&lt;p&gt;I have a tabs module that uses dynamic placeholders in order to add existing modules under each tab. The tabs module has a datasource item that is a folder for tab items. I loop through each tab item and render a tab label for users to click on to switch between active tabs and a dynamic placeholder for each item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want a way to easily switch the position of tabs with an existing tab. I tried the default sort button for my tabs module but it only changed the position of the label of each tab. All the content added to a tab dynamic placeholder stayed in the order it was originally added rather than ordering with the tab label that was moved. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will I need to remove dynamic placeholders and nest module items under each tab item or is there a different way to handle this? If I need to nest module items in the tree I think I'm going to use item renderings as my path to determine what to render for each item under a tab item. I am using Fortis's dynamic placeholder implementation.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-11-27T17:02:48.380" Title="Dynamic Placeholders Sorting" Tags="|dynamic-placeholder|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8682" PostTypeId="2" ParentId="8681" CreationDate="2017-11-27T17:02:48.380" Score="5" Body="&lt;p&gt;The behaviour you're seeing is because, by default, an incremental integer is used to differentiate the same placeholder name/rendering ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The current version of Fortis Dynamic Placeholders allows you to override the default behaviour of the key generation (incremental integer). You can instead pass in your own unique key to differentiate the placeholder from others.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume your rendering currently has something like the following in it for each tab output:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().DynamicPlaceholder(&quot;&amp;lt;placeholder&amp;gt;&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you replace it with:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().DynamicPlaceholder(&quot;&amp;lt;placeholder&amp;gt;&quot;, tabItemIdGuid.ToString())&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Replace &lt;code&gt;tabItemIdGuid&lt;/code&gt; with however you can get the ID in GUID form. Your placeholders will now &quot;lock&quot; to the tab item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This does require version 1.2.0.0 of the MVC Dynamic Placeholders.&lt;/p&gt;&#xA;" OwnerUserId="720" LastActivityDate="2017-11-27T17:02:48.380" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8684" PostTypeId="1" AcceptedAnswerId="8690" CreationDate="2017-11-27T20:46:27.677" Score="5" ViewCount="2097" Body="&lt;p&gt;Hello i need to get the url from a Sitecore ítem but without using the LinkManager class from Sitecore because i can't mock it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best approach to do unit tests when i need information from a Sitecore item?.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Actually i have a SitecoreContext mocked. I need to do an interface to inject LinkManager and mock this interface or exist another option more cleanest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thank you.&lt;/p&gt;&#xA;" OwnerUserId="2765" LastEditorUserId="1000" LastEditDate="2017-11-27T21:51:28.970" LastActivityDate="2017-11-28T20:55:40.280" Title="How to get item url without using Linkmanager?" Tags="|link-manager|unit-testing|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8685" PostTypeId="1" CreationDate="2017-11-27T20:50:26.973" Score="4" ViewCount="50" Body="&lt;p&gt;I understand that a client certificate is necessary to access xConnect. Is there anything that can be done to limit the client's access so it only has permissions to what it needs, e.g. limit client to only search contacts in xConnect and nothing else?&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2017-11-27T20:50:26.973" Title="xConnect limit permissions of client" Tags="|xconnect|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8686" PostTypeId="2" ParentId="8684" CreationDate="2017-11-27T21:06:35.333" Score="0" Body="&lt;p&gt;There are a few different ways to handle this, and none of them are perfect (some aren't even free).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wouldn't avoid the use of LinkManager.  You could:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a utility class that calls LinkManager, then mock your utility class&lt;/li&gt;&#xA;&lt;li&gt;Use a tool like Telerik's JustMock which allows you to mock the LinkManager class&lt;/li&gt;&#xA;&lt;li&gt;Not recommended, but there are ways to allow the Sitecore context to be used during unit testing (I've done this years ago, and wouldn't recommend this route, it's time consuming to setup and there are issues with it, but just noting that it is possible to do, if you wanted to research it).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I love using JustMock myself, but there is a cost to use it.  Option 1 is free, but requires a bit of work up front to implement.&lt;/p&gt;&#xA;" OwnerUserId="2630" LastActivityDate="2017-11-27T21:06:35.333" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8688" PostTypeId="1" CreationDate="2017-11-27T21:35:38.630" Score="0" ViewCount="297" Body="&lt;p&gt;We are using search index in our website and we want to restrict some items based on conditions.&#xA;Any suggestions will help us.&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="1000" LastEditDate="2017-11-27T21:54:00.137" LastActivityDate="2017-11-29T10:26:14.923" Title="Restricting some item from being indexed" Tags="|content-search|indexing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8690" PostTypeId="2" ParentId="8684" CreationDate="2017-11-27T21:59:40.147" Score="4" Body="&lt;p&gt;&lt;code&gt;LinkManager&lt;/code&gt; is essentially just a static wrapper around &lt;code&gt;LinkProvider&lt;/code&gt;, which uses virtual methods for everything. If you simply inject &lt;code&gt;LinkManager.Provider&lt;/code&gt; into your controller's constructor, you can mock the &lt;code&gt;LinkProvider&lt;/code&gt; in your tests.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2017-11-27T21:59:40.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8693" PostTypeId="1" CreationDate="2017-11-28T04:31:12.310" Score="4" ViewCount="247" Body="&lt;p&gt;We recently upgraded to 8.2 from 7.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the upgrade, the label that indicates a field is shared does not show up for non-admin users. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to enable this label again?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="70" LastEditDate="2017-11-29T13:40:34.320" LastActivityDate="2017-11-29T13:40:51.303" Title="The label indicating a shared field no longer displays for Non-Admins" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8694" PostTypeId="1" CreationDate="2017-11-28T04:35:31.990" Score="2" ViewCount="1700" Body="&lt;p&gt;Is there any way to configure the level of Deep publish in the Auto Publish workflow command?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Klaa9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Klaa9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently Its support the Boolean value: true or false(using value deep=1 or deep=0) to check whether the publish item includes the children or not?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My requirement is to configure the Deep level of publish Item using this deep parameter for example if I set the value &quot;deep=5&quot;, it should publish the children items up to the level 5,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just wondering, Is there any sitecore out of the box functionality available ? or should I override the Publish Action class behavior to handle the deep parameter value -  &quot;Sitecore.Workflows.Simple.PublishAction, Sitecore.Kernel&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest or share the link or module if somebody already did this.&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2017-11-28T04:50:11.693" Title="How to configure the level of Deep in Sitecore Workflow?" Tags="|workflow|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8695" PostTypeId="2" ParentId="8694" CreationDate="2017-11-28T04:50:11.693" Score="7" Body="&lt;p&gt;&lt;strong&gt;deep&lt;/strong&gt; parameter support just two values &lt;strong&gt;&quot;1&quot;&lt;/strong&gt; and &lt;strong&gt;&quot;other value&quot;&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I describe above all parameters what they are doing.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to override &lt;strong&gt;PublishAction&lt;/strong&gt; to handle deep publishing on multiples level. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publish action accepts 6 parameters:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&lt;strong&gt;deep&lt;/strong&gt;&quot; - controls whether children of the current item will be published. Possible values: &quot;1&quot; - children of the current item will be published; all other values - children of the current item will not be published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&lt;strong&gt;related&lt;/strong&gt;&quot; - controls whether related items of the current item will be published. Possible values: &quot;1&quot; - related items of the current item will be published; all other values - related items of the current item will not be published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&lt;strong&gt;targets&lt;/strong&gt;&quot; - comma (,) separated list of database names that item will be published to. Note, that this parameter does not expect a list of publishing target names, it expects list of database names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&lt;strong&gt;alllanguages&lt;/strong&gt;&quot; - controls whether current item will be published in all languages that exist in source database. Possible values: &quot;1&quot; - current item will be published in all languages that exist in source database; all other values - code uses values of other parameters to determine languages in which current item will be published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&lt;strong&gt;languages&lt;/strong&gt;&quot; - comma (,) separated list of languages in which current item will be published.&#xA;&quot;itemlanguage&quot; - controls whether current item will be published in its current language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Possible values: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;1&quot; - current item will be published in its current language;&#xA;   &quot;0&quot; - current item will not be published in its current language; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;all other values - current item will published in its current language. Note that even if value of this parameter is &quot;0&quot;, current item will still be published in its current language if current language of the item is in &quot;languages&quot; list. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/auto-publish-workflow-action-updates&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/auto-publish-workflow-action-updates&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-11-28T04:50:11.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8697" PostTypeId="1" AcceptedAnswerId="8702" CreationDate="2017-11-28T06:16:11.520" Score="3" ViewCount="1066" Body="&lt;p&gt;We are creating a report page where we will display the cached data source / presentation . A button will be there to remove selected cached item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which Sitecore Api can we use to retrieve the list of cached items?&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="237" LastEditDate="2017-11-28T07:46:22.680" LastActivityDate="2017-11-28T09:44:09.613" Title="How can we retrieve the data in the Sitecore HTML Cache?" Tags="|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8698" PostTypeId="2" ParentId="8693" CreationDate="2017-11-28T06:52:57.510" Score="7" Body="&lt;p&gt;I had the same issue lately. It seems Sitecore 8.2 (which is the version that had this issue for me too) hides the Shared label by default for non-Admin using the following setting. All you need to do is change its value to true:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentEditor.ShowFieldSharingLabels&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: I checked several Sitecore instances with different versions, they all seem to have it false by default&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2017-11-28T06:52:57.510" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8699" PostTypeId="2" ParentId="8688" CreationDate="2017-11-28T07:12:14.590" Score="0" Body="&lt;p&gt;A simpler approach, if acceptable in your case, is to simply let them get indexed but only return results that have the field 'exclude from search' as false. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could have a common search method that does all these checks. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A great example for this is the &lt;a href=&quot;https://github.com/Sitecore/Habitat&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat Project&lt;/a&gt; on Github. Check its SearchService class under Foundation.Indexing project.&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2017-11-28T07:12:14.590" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8701" PostTypeId="2" ParentId="8514" CreationDate="2017-11-28T09:32:01.050" Score="1" Body="&lt;p&gt;I ended up restoring on SQL 2016, and create scripts from the db's to recreate them, which I then run on SQL 2014&lt;/p&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2017-11-28T09:32:01.050" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8702" PostTypeId="2" ParentId="8697" CreationDate="2017-11-28T09:39:42.640" Score="4" Body="&lt;p&gt;After searching on Sitecore API's i got &lt;code&gt;Sitecore.Caching.CacheManager&lt;/code&gt; class which has method &lt;code&gt;GetHtmlCache&lt;/code&gt; and it returns &lt;code&gt;Sitecore.Caching.HtmlCache&lt;/code&gt;.&#xA;With the below code I can retrieve the list of cache items.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            List&amp;lt;Sitecore.Caching.Cache.CacheEntry&amp;gt; cacheList = new List&amp;lt;Sitecore.Caching.Cache.CacheEntry&amp;gt;();&#xA;       Sitecore.Sites.SiteContext siteContext = Sitecore.Sites.SiteContext.GetSite(&quot;SiteName&quot;);&#xA;&#xA;            if (siteContext != null)&#xA;            {&#xA;               Sitecore.Caching.HtmlCache htmlCahe = Sitecore.Caching.CacheManager.GetHtmlCache(siteContext);&#xA;                var cacheKeys = htmlCahe.InnerCache.GetCacheKeys();&#xA;&#xA;                foreach (var sKey in cacheKeys)&#xA;                {&#xA;                    Sitecore.Caching.Cache.CacheEntry entry = htmlCahe.InnerCache.GetEntry(sKey, false);&#xA;&#xA;                    cacheList.Add(entry);&#xA;&#xA;                }&#xA;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2723" LastActivityDate="2017-11-28T09:39:42.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8703" PostTypeId="2" ParentId="8697" CreationDate="2017-11-28T09:44:09.613" Score="0" Body="&lt;p&gt;There are some good introductory articles about Sitecore caching, e.g. &lt;a href=&quot;http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;this one&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Generally you should use &lt;code&gt;CacheManager&lt;/code&gt; to work with cache:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HtmlCache cache = Sitecore.Caching.CacheManager.GetHtmlCache(Sitecore.Context.Site);&#xA;cache.Remove(cacheKey);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other methods related to removing items from cache are &lt;code&gt;RemovePrefix()&lt;/code&gt; and &lt;code&gt;RemoveKeysContaining()&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-11-28T09:44:09.613" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8704" PostTypeId="1" AcceptedAnswerId="8705" CreationDate="2017-11-28T10:44:01.633" Score="4" ViewCount="292" Body="&lt;p&gt;I am getting the following when trying to build my index:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;The request is invalid. Details: definition : Invalid field name: 'end date'. Field names must begin with a letter and can contain only letters, digits, or underscore&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't want to rename my field in Sitecore to not have spaces, so I need to somehow create a mapping so Azure Search accepts the field name. &lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2017-11-28T10:45:13.760" Title="Invalid field names in Azure Search" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8705" PostTypeId="2" ParentId="8704" CreationDate="2017-11-28T10:45:13.760" Score="4" Body="&lt;p&gt;This is solved by specifying a &lt;code&gt;cloudFieldName&lt;/code&gt; attribute to the &lt;code&gt;&amp;lt;field&amp;gt;&lt;/code&gt; element:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;          &amp;lt;field fieldName=&quot;end date&quot; &#xA;                 cloudFieldName=&quot;end_date&quot;&#xA;                 storageType=&quot;YES&quot; &#xA;                 indexType=&quot;UN_TOKENIZED&quot; &#xA;                 vectorType=&quot;NO&quot; &#xA;                 boost=&quot;1f&quot; &#xA;                 type=&quot;System.DateTime&quot; &#xA;                 settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2017-11-28T10:45:13.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8707" PostTypeId="1" AcceptedAnswerId="8708" CreationDate="2017-11-28T11:42:38.790" Score="5" ViewCount="1138" Body="&lt;p&gt;We have the list of items in the Sitecore tree and all the items will be in a workflow.&lt;br/&gt;&#xA;we are updating these items programmatically and based on some condition, we have to assign the state of the workflow.&lt;br/&gt;&#xA;&lt;code&gt;We are looking for some Sitecore API so that we can invoke the workflow using c# .&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;we are assuming associated workflow state action will execute.&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="2723" LastEditDate="2017-11-28T11:53:11.057" LastActivityDate="2017-11-28T11:53:11.057" Title="How to invoke Workflow on the particular item using Sitecore API?" Tags="|workflow|sitecore-api|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8708" PostTypeId="2" ParentId="8707" CreationDate="2017-11-28T11:52:49.750" Score="7" Body="&lt;p&gt;Here is code which changes workflow state and executes actions:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static WorkflowResult ChangeStateAndExecuteActions(Item item, ID workflowStateId)&#xA;{&#xA;    using (new EditContext(item))&#xA;    {&#xA;        item[FieldIDs.WorkflowState] = workflowStateId.ToString();&#xA;    }&#xA;&#xA;    Item stateItem = item.Database.GetItem(workflowStateId);&#xA;&#xA;    if (stateItem.HasChildren)&#xA;    {&#xA;        WorkflowPipelineArgs workflowPipelineArgs = new WorkflowPipelineArgs(item, null, null);&#xA;&#xA;        Pipeline pipeline = Pipeline.Start(stateItem, workflowPipelineArgs);&#xA;        if (pipeline != null)&#xA;        {&#xA;            WorkflowCounters.ActionsExecuted.IncrementBy(pipeline.Processors.Count);&#xA;        }&#xA;    }&#xA;&#xA;    return new WorkflowResult(true, &quot;OK&quot;, workflowStateId);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I wrote it 4 years ago but it should still work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more in my blog post here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.cognifide.com/our-blogs/sitecore/changing-workflow-state-of-sitecore-items-programmatically/&quot; rel=&quot;noreferrer&quot;&gt;https://www.cognifide.com/our-blogs/sitecore/changing-workflow-state-of-sitecore-items-programmatically/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-11-28T11:52:49.750" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8709" PostTypeId="2" ParentId="8684" CreationDate="2017-11-28T13:42:38.793" Score="6" Body="&lt;p&gt;If you're on Sitecore 8.2+, you can use abstract &lt;code&gt;BaseLinkManager&lt;/code&gt; class (that's actually valid for &lt;em&gt;all&lt;/em&gt; the old static managers). In combination with &lt;a href=&quot;https://kamsar.net/index.php/2016/08/Dependency-Injection-in-Sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Dependency Injection&lt;/a&gt; that is easy to inject the abstraction into a controller or a pipeline processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyController : ApiController&#xA;{&#xA;    private readonly BaseLinkManager _linkManager;&#xA;&#xA;    public MyController(BaseLinkManager linkManager)&#xA;    {&#xA;        _linkManager = linkManager;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It allows you to use a mocked version of the manager in your tests and receive a real one in runtime (&lt;code&gt;DefaultLinkManager&lt;/code&gt;).&lt;/p&gt;&#xA;" OwnerUserId="272" LastEditorUserId="272" LastEditDate="2017-11-28T20:55:40.280" LastActivityDate="2017-11-28T20:55:40.280" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8710" PostTypeId="1" AcceptedAnswerId="8711" CreationDate="2017-11-28T20:58:29.410" Score="7" ViewCount="1294" Body="&lt;p&gt;I'm getting the following error while attempting to test some analytics functionality on Sitecore 9:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;9528 15:23:51 ERROR Cannot create tracker.&#xA;Exception: System.InvalidOperationException&#xA;Message: session is not initialized&#xA;Source: Sitecore.Analytics&#xA;   at Sitecore.Analytics.Data.HttpSessionContextManager.GetSession()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am simply accessing the default Sitecore Home item. Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2017-11-28T20:58:29.410" Title="Cannot create tracker / session is not initialized on Sitecore 9" Tags="|xdb|tracking|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8711" PostTypeId="2" ParentId="8710" CreationDate="2017-11-28T20:58:29.410" Score="4" Body="&lt;p&gt;Ensure that you are not running in the &lt;code&gt;ContentManagement&lt;/code&gt; role in your &lt;code&gt;Web.config&lt;/code&gt;. For testing analytics locally you will need to use the &lt;code&gt;Standalone&lt;/code&gt; role:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;role:define&quot; value=&quot;Standalone&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastActivityDate="2017-11-28T20:58:29.410" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8712" PostTypeId="1" AcceptedAnswerId="8713" CreationDate="2017-11-28T21:19:05.423" Score="3" ViewCount="412" Body="&lt;p&gt;I've got a customer who's said they need a hotfix (&lt;a href=&quot;https://kb.sitecore.net/articles/574334&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/574334&lt;/a&gt;). They're on 8.2 Update 3, but the notes for what download to get only goes through 8.1. So I don't know if the fix was integrated somewhere down the line. Is there any way to check beyond reading the release notes for each and every version from 8.1 initial through 8.2 Update 3?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2017-11-29T08:29:49.073" Title="How to check if a hotfix is needed" Tags="|installation|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8713" PostTypeId="2" ParentId="8712" CreationDate="2017-11-28T21:32:53.957" Score="3" Body="&lt;p&gt;You could read all the release notes, and it might be in there. But if you really want to be sure, the best thing to do is ask Sitecore Support. I would assume they have a system that can check these things better than going through release notes ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, while waiting for an answer you could still read the notes but that might turn out as a waste of time... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As answered here before (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/4269/how-can-i-find-out-if-a-support-dll-is-still-needed-when-upgrading&quot;&gt;How can I find out if a support dll is still needed when upgrading?&lt;/a&gt;), after upgrading a solution with a bunch of support dlls this &quot;solution&quot; is also the best approach. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I realise this might not be a good solution, but as long as we don't have the tools to easily search for this information and Support probably/hopefully does, we need to bother them with these questions...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-11-28T21:32:53.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8714" PostTypeId="1" AcceptedAnswerId="8715" CreationDate="2017-11-29T07:56:27.927" Score="6" ViewCount="2419" Body="&lt;p&gt;We have a site where I need to add hreflang on each page, linking to each language version of the page.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;alternate&quot; href=&quot;https://domain/pants&quot; hreflang=&quot;en&quot;&amp;gt;&#xA;&amp;lt;link rel=&quot;alternate&quot; href=&quot;https://domain/bukser&quot; hreflang=&quot;da&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The LinkManager is configured to use displaynames (useDisplayNames=&quot;true&quot;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;defaultProvider&quot;&amp;gt;custom&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;      &amp;lt;add name=&quot;custom&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;always&quot; languageLocation=&quot;filePath&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried getting the correct url by adding language to the UrlOptions and parse it to the LinkManager, but I keep getting the URL for the current langauge:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var urlOptions = UrlOptions.DefaultOptions;&#xA;urlOptions.Language = language;&#xA;var link = LinkManager.GetItemUrl(item, urlOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried using a LanguageSwitcher, with the same result:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new LanguageSwitcher(lang))&#xA;{&#xA;    url = LinkManager.GetItemUrl(Sitecore.Context.Item, options);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is a Sitecore 7.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know how to get the language specific URL when using 'UseDisplayName' ?&lt;/p&gt;&#xA;" OwnerUserId="1510" LastActivityDate="2017-11-29T08:03:09.433" Title="Language specific URLs with UseDisplayName and LinkManager" Tags="|multilingual|links|link-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8715" PostTypeId="2" ParentId="8714" CreationDate="2017-11-29T08:03:09.433" Score="5" Body="&lt;p&gt;You're still trying to generate link to the item version which is in your language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try getting the other language version first:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var otherLanguageVersion = Sitecore.Context.Item.Database.GetItem(Sitecore.Context.Item.ID, language);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LinkManager.GetItemUrl(otherLanguageVersion, options);    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-11-29T08:03:09.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8716" PostTypeId="2" ParentId="8712" CreationDate="2017-11-29T08:29:49.073" Score="3" Body="&lt;p&gt;What I have done is to open the fix dll's with Reflector, and noticed that it's fixes code from &lt;strong&gt;ParseGenericSearchEngine&lt;/strong&gt; from &lt;strong&gt;Sitecore.Analytics&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I've compared code for &lt;strong&gt;ParseGenericSearchEngine&lt;/strong&gt; from &lt;strong&gt;Sitecore.Analytics&lt;/strong&gt;, from &lt;strong&gt;Sitecore 7.5&lt;/strong&gt; and &lt;strong&gt;Sitecore 8.2 update 3&lt;/strong&gt;, and I've discovered that &lt;strong&gt;Sitecore 8.2 update 3&lt;/strong&gt; has the same code as in &lt;strong&gt;Sitecore 7.5&lt;/strong&gt; for &lt;strong&gt;ParseGenericSearchEngine&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I could say that the fix its needed, but as @Gatogordo mentioned before, Sitecore Support should be the one to give you a definitive clear answer. &lt;/p&gt;&#xA;" OwnerUserId="447" LastActivityDate="2017-11-29T08:29:49.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8717" PostTypeId="1" AcceptedAnswerId="8732" CreationDate="2017-11-29T09:25:49.743" Score="3" ViewCount="114" Body="&lt;p&gt;I am making a demo application with the new xConnect.&lt;br&gt;&#xA;I've got a .NET Core application that acts as a cash register to add experience data to xConnect.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now i've come to the point that i want to add an interaction with some events.&#xA;However i'm not sure how long to keep these interactions alive. I can't send the Interaction to xConnect after the first event because i won't be able to change it again.&lt;br&gt;&#xA;Would it be best practice to save the Interaction in a cookie until all events are added or is there a better way to do this?&lt;/p&gt;&#xA;" OwnerUserId="2555" LastActivityDate="2017-11-29T13:32:01.327" Title="xConnect in a non-sitecore context interaction lifetime" Tags="|xconnect|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8718" PostTypeId="1" CreationDate="2017-11-29T09:30:06.977" Score="1" ViewCount="1491" Body="&lt;p&gt;Configuration error while browsing Sitecore basic jss app after performing deployment steps mentioned in below link: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.net/#/setup/app-deployment?id=app-deployment&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/#/setup/app-deployment?id=app-deployment&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yLKXc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yLKXc.png&quot; alt=&quot;sitecore.javascriptservices application was not found&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Mhbur.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Mhbur.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1922" LastEditorUserId="2727" LastEditDate="2018-02-05T06:47:41.080" LastActivityDate="2018-02-05T06:47:41.080" Title="Configuration error in JSS Sitecore Quick start for development" Tags="|configuration|javascript|jss|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8719" PostTypeId="2" ParentId="8688" CreationDate="2017-11-29T10:26:14.923" Score="3" Body="&lt;p&gt;As @TamerM mentioned, you can write the searchhelper which can filter the results based on content type(templates) and, you can also filter based from which location you want to search.&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For e.g: &lt;br/&gt;&#xA;var templateGuid = Sitecore.Data.ID.Parse(&quot;{CF42D521-C709-4324-BA03-0F4765F370A6}&quot;);&lt;br/&gt;&#xA;var templateSearch = PredicateBuilder.True();&lt;br/&gt;&#xA;templateSearch = templateSearch.Or(y =&gt; y.TemplateId == templateGuid);&lt;br/&gt;&#xA;query = query.Where(templateSearch);&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will returns items that belongs to specific template, which is passed as parameter to searchhelper method.&lt;/p&gt;&#xA;" OwnerUserId="1316" LastActivityDate="2017-11-29T10:26:14.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8720" PostTypeId="1" AcceptedAnswerId="8724" CreationDate="2017-11-29T10:27:11.217" Score="4" ViewCount="337" Body="&lt;p&gt;I'm currently setting up some Save Actions and 1 of them is 'Send Email Action'.&#xA;In the sent mail, the value of a checkbox field is always 'True' or 'False'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since it is a multilingual site, this needs to be translated properly.&#xA;Where can I configure this?&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2017-11-29T16:25:06.517" Title="Translate value of WFFM checkbox field in email" Tags="|wffm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8721" PostTypeId="1" AcceptedAnswerId="8723" CreationDate="2017-11-29T10:38:22.570" Score="0" ViewCount="774" Body="&lt;p&gt;We are creating and updating items in the sitecore tree, we are using &lt;code&gt;SecurityDisabler&lt;/code&gt; to perform the operation. &#xA;The system considers the operation is performed by an anonymous user but we need to log the user.&lt;br/&gt;&#xA;&lt;code&gt;Can you suggest which Sitecore API we need to use so that we can pass a user identity?&lt;/code&gt;&lt;br/&gt;&#xA;our objective is to track changes whether it is from the content author or any program.&lt;/p&gt;&#xA;" OwnerUserId="2723" LastActivityDate="2017-11-29T12:08:13.787" Title="How to edit/create the Sitecore item on behalf of the specific user using Sitecore API?" Tags="|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8722" PostTypeId="1" CreationDate="2017-11-29T10:40:51.240" Score="7" ViewCount="846" Body="&lt;p&gt;As Sitecore 9 is all about Data security, clear seperation and so on, we would obviously like to put those features to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That is why we were wondering how the Stale data encryption that was mentioned on the xDB data actually works.&#xA;Is this an application (specific) level implementation or does it use SQL TDE (Transparent Data Encryption) now that Sitecore 9 has come back into the sql fold with analytics databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked around the documentation but could not find anything specifc on this, only reference I found is on commerce and that is a best-practice advise:&#xA;&lt;a href=&quot;http://commercesdn.sitecore.net/SCpbCS81/SitecoreCommerceDeploymentGuide/en-us/DataEncryption.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SCpbCS81/SitecoreCommerceDeploymentGuide/en-us/DataEncryption.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="627" LastEditorUserId="842" LastEditDate="2017-12-08T09:08:18.907" LastActivityDate="2018-10-01T12:57:56.137" Title="Sitecore xDB Stale data encryption (always encrypted)" Tags="|xdb|security|experience-analytics|xconnect|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8723" PostTypeId="2" ParentId="8721" CreationDate="2017-11-29T10:42:30.650" Score="5" Body="&lt;p&gt;From what I know, you cannot do this if you're using &lt;code&gt;SecurityDisabler&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use &lt;code&gt;SecurityDisabler&lt;/code&gt; Sitecore doesn't save the information who made the change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should do your changes in &lt;code&gt;UserSwitcher&lt;/code&gt; context:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new UserSwitcher(username, isAuthenticated))&#xA;{&#xA;    // your code here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you do this, Sitecore will check access rights for that particular user. So you must be sure user has access rights to edit that item.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-11-29T10:42:30.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8724" PostTypeId="2" ParentId="8720" CreationDate="2017-11-29T11:18:15.607" Score="3" Body="&lt;p&gt;You can override &lt;code&gt;Checkbox&lt;/code&gt; class and add &lt;code&gt;Adapter&lt;/code&gt; attribute. It's there in WFFM already. I have no idea why it's not used by default.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace WffmCustomization&#xA;{&#xA;    [Adapter(typeof(CheckboxAdapter))]&#xA;    public class Checkbox : Sitecore.Form.Web.UI.Controls.Checkbox&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Set &lt;code&gt;Assembly&lt;/code&gt; and &lt;code&gt;Class&lt;/code&gt; fields of &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Checkbox&lt;/code&gt; item to your &lt;code&gt;Checkbox&lt;/code&gt; class: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Gf94l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Gf94l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then add entries with &lt;code&gt;Key&lt;/code&gt; set to &lt;code&gt;Selected&lt;/code&gt; and &lt;code&gt;Not Selected&lt;/code&gt; (camel case - important) in the language you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/raYW6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/raYW6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-11-29T16:25:06.517" LastActivityDate="2017-11-29T16:25:06.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8725" PostTypeId="2" ParentId="8720" CreationDate="2017-11-29T11:31:13.580" Score="2" Body="&lt;p&gt;To get the translated value in the mail body, we added a processor in the &lt;code&gt;processMessage&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processMessage patch:source=&quot;Sitecore.Forms.config&quot;&amp;gt;&#xA;  &amp;lt;processor type=&quot;WFFM.Customization.SaveActions.EmailExt, WFFM.Customization&quot; method=&quot;TranslateValues&quot;/&amp;gt; &#xA;&amp;lt;/processMessage&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class EmailExt&#xA;{&#xA;    public EmailExt()&#xA;    { }&#xA;&#xA;    public void TranslateValues(ProcessMessageArgs args)&#xA;    {&#xA;        // logic to translate&#xA;        foreach (AdaptedControlResult result in args.Fields)&#xA;        {&#xA;&#xA;        }&#xA;    }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="237" LastEditDate="2017-11-29T13:47:37.323" LastActivityDate="2017-11-29T13:47:37.323" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8726" PostTypeId="2" ParentId="8721" CreationDate="2017-11-29T12:08:13.787" Score="5" Body="&lt;p&gt;We have two options to edit/create a sitecore items using sitecore API&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;SecurityDisabler - It is not recommended for your approach/requirement because &lt;strong&gt;SecurityDisabler&lt;/strong&gt; will grant user with administrative access. So the contextUser can do any thing.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;UserSwitcher&lt;/strong&gt; - It allows a segment of code to run under a specific user instead of current context user. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here are small code sample with snapshot along with output&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Before code reach UserSwitch&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/N1ufS.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N1ufS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;After code reach UserSwitch&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qLN0d.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qLN0d.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Referred from this &lt;a href=&quot;http://www.nehemiahj.com/2012/03/how-to-use-securitydisabler-and_15.html&quot; rel=&quot;noreferrer&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2473" LastActivityDate="2017-11-29T12:08:13.787" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8727" PostTypeId="2" ParentId="8680" CreationDate="2017-11-29T12:27:18.450" Score="0" Body="&lt;p&gt;Michael- can you please go through this document and check the basic configurations are in place? sometimes a small configuration issue can create big problems. &lt;br/&gt;&lt;br/&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1316" LastActivityDate="2017-11-29T12:27:18.450" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8732" PostTypeId="2" ParentId="8717" CreationDate="2017-11-29T13:26:59.933" Score="3" Body="&lt;p&gt;Web interaction have a clearly defined lifetime - it's completed when web session expires. What about interactions that you're creating? What's their lifetime? If you are trying to model &quot;a session&quot; in a physical store, then you need to know what triggers the interaction start and the interaction end. Is that done by store's staff, beacon, etc? For demo purposes I think it's fine to use Asp .Net session to store interaction until it's considered finished and then save it to xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Session can be used for Asp.Net Core by referencing &lt;em&gt;Microsoft.AspNetCore.Session&lt;/em&gt; package. Detailed description can be found &lt;a href=&quot;https://social.technet.microsoft.com/wiki/contents/articles/38033.asp-net-core-and-mvc-core-session-state.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="237" LastEditDate="2017-11-29T13:32:01.327" LastActivityDate="2017-11-29T13:32:01.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8733" PostTypeId="1" CreationDate="2017-11-29T13:58:53.900" Score="1" ViewCount="185" Body="&lt;p&gt;Where does the largegalleryButton picks the value from ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In other words how do i customize it ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;from where does it pick the value denmark from as in the screenshot?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/v8usj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/v8usj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="277" LastEditDate="2017-11-29T14:05:19.437" LastActivityDate="2017-11-30T15:10:12.047" Title="Where does the largegalleryButton pick the value from?" Tags="|content-editor|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8734" PostTypeId="2" ParentId="8733" CreationDate="2017-11-29T14:04:48.873" Score="6" Body="&lt;p&gt;It's the command &lt;code&gt;Sitecore.Shell.Framework.Commands.Ribbon.Languages&lt;/code&gt; which has &lt;code&gt;GetIcon&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;ribbon:languages&quot;&#xA;    type=&quot;Sitecore.Shell.Framework.Commands.Ribbon.Languages,Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code for icon:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override string GetIcon(CommandContext context, string icon)&#xA;{&#xA;  Assert.ArgumentNotNull((object) context, nameof (context));&#xA;  Assert.ArgumentNotNullOrEmpty(icon, nameof (icon));&#xA;  if (context.Items.Length == 1)&#xA;  {&#xA;    Item obj = context.Items[0];&#xA;    string icon1 = LanguageService.GetIcon(obj.Language, obj.Database);&#xA;    if (!string.IsNullOrEmpty(icon1))&#xA;      return icon1;&#xA;  }&#xA;  return base.GetIcon(context, icon);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And header text:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override string GetHeader(CommandContext context, string header)&#xA;{&#xA;  Assert.ArgumentNotNull((object) context, nameof (context));&#xA;  Assert.ArgumentNotNull((object) header, nameof (header));&#xA;  if (context.Items.Length == 1)&#xA;  {&#xA;    CultureInfo cultureInfo = context.Items[0].Language.CultureInfo;&#xA;    if (cultureInfo.IsNeutralCulture)&#xA;      cultureInfo = Language.CreateSpecificCulture(cultureInfo.Name);&#xA;    using (new ThreadCultureSwitcher(Context.Language.CultureInfo))&#xA;    {&#xA;      string displayName = cultureInfo.DisplayName;&#xA;      if (!string.IsNullOrEmpty(displayName))&#xA;        return displayName;&#xA;    }&#xA;  }&#xA;  return base.GetHeader(context, header);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zgY65.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zgY65.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-11-30T15:10:12.047" LastActivityDate="2017-11-30T15:10:12.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8735" PostTypeId="2" ParentId="8733" CreationDate="2017-11-29T15:51:24.693" Score="0" Body="&lt;p&gt;If you are looking at the Language Name, then it should be from the &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Globalization.CultureInfo.GetCultureInfo.DisplayName&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="642" LastActivityDate="2017-11-29T15:51:24.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8736" PostTypeId="1" CreationDate="2017-11-29T16:53:39.687" Score="5" ViewCount="185" Body="&lt;p&gt;Is there a way to define/preserve section names in the Experience Editor view of a component's fields. In the example below, each of these fields has a unique section name on the data template but they all get consolidated here under &quot;Data&quot; which is less clear for the content author when there are many fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/R9OhG.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/R9OhG.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to do this for a custom chunk in the Experience Editor ribbon to access non-explicit fields (shown below) so I'm thinking there has got to be a way but not easily finding it. Any advice?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EBsTl.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EBsTl.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2797" LastActivityDate="2018-08-27T09:01:27.187" Title="Defining/preserving section names in Experience Editor view of component fields" Tags="|experience-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8737" PostTypeId="2" ParentId="8736" CreationDate="2017-11-29T17:12:34.010" Score="1" Body="&lt;p&gt;Fields in sections from different templates get grouped together based on the section name. So if you have 3 templates, all with a section called &lt;code&gt;Data&lt;/code&gt; - in the editor view, they will all appear in the same section - called &lt;code&gt;Data&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To keep them separated, make sure the section names are unique. In your second example, you can see that happening. You have 2 sections called &lt;code&gt;Title&lt;/code&gt; and &lt;code&gt;Text&lt;/code&gt; - so the fields are kept in those sections and not grouped together.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-11-29T17:12:34.010" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8738" PostTypeId="1" CreationDate="2017-11-29T17:33:29.267" Score="7" ViewCount="231" Body="&lt;p&gt;I'm looking to add some parameters to my Solr query that's not currently supported by the Search API (hit highlighting to be specific). Is there a way (like a pipeline processor or something) to intercept the query and modify it before it gets sent over to Solr?&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2017-11-30T01:13:50.047" Title="Is there a way to modify the Solr query that gets generated by the Sitecore Content Search API before it gets sent to the search server?" Tags="|content-search|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8741" PostTypeId="2" ParentId="3897" CreationDate="2017-11-29T20:12:17.363" Score="1" Body="&lt;p&gt;Just adding to this answer.  I wanted to use something similar but on a list of items, thus, couldn't really use a using statement. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Sitecore.Context]::SetActiveSite(&quot;Website&quot;)&#xA;$urlop = New-Object ([Sitecore.Links.UrlOptions]::DefaultOptions)&#xA;$urlop.AddAspxExtension = $true&#xA;$urlop.AlwaysIncludeServerUrl = $true&#xA;$items | select Name, @{Label=&quot;URL&quot;; Expression={[Sitecore.Links.LinkManager]::GetItemUrl($_,$urlop)} }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="197" LastActivityDate="2017-11-29T20:12:17.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8742" PostTypeId="2" ParentId="5577" CreationDate="2017-11-29T21:54:57.907" Score="-1" Body="&lt;p&gt;I'm supporting a Sitecore 6.5 site where TinyMCE has been used to replace the default rich text editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This article covers the setup &lt;a href=&quot;https://sitecore.wordpress.com/2009/02/20/sitecore-forum-module-using-tinymce-instead-of-freetextbox/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.wordpress.com/2009/02/20/sitecore-forum-module-using-tinymce-instead-of-freetextbox/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2807" LastActivityDate="2017-11-29T21:54:57.907" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8743" PostTypeId="2" ParentId="2265" CreationDate="2017-11-29T22:44:54.397" Score="2" Body="&lt;p&gt;I have fixed this issue. Like Thomas suggested, use PowerShell command &lt;code&gt;Remove-ItemLanguage -Path &quot;master:\content\companion&quot; -Language &quot;da&quot; -Recurse&lt;/code&gt; to delete language content from item(s) and sync (I'm using Unicorn sync). It will disappear from available languages list in content tab and will never appear again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Language &lt;code&gt;Danish:dansk&lt;/code&gt; exist with version for item(s) because it would have been deleted from /sitecore/system/Languages but not from item(s). If you delete language from /sitecore/system/Languages, it would not delete related content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although there is a setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Languages.AutoRemoveItemData&quot; value=&quot;true&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to configure it. It seems it is a known bug in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="2644" LastEditorUserId="1000" LastEditDate="2017-11-29T23:51:50.887" LastActivityDate="2017-11-29T23:51:50.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8744" PostTypeId="2" ParentId="4527" CreationDate="2017-11-30T00:07:34.713" Score="4" Body="&lt;p&gt;I've taken a look at this and have been able to reproduce the same problem. Everything is fine for outcomes in the current interaction, but previous interactions aren't behaving as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After digging into it, it's actually due to a bug in Sitecore that has been there since these conditions were first introduced in Sitecore 8.1, and is still present in the initial release of Sitecore 9.0.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The bug&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The error lays within the &lt;code&gt;FilterKeyBehaviorCacheEntriesByInteractionConditions&lt;/code&gt; method of the &lt;code&gt;HasEventOccurredCondition&amp;lt;T&amp;gt;&lt;/code&gt; abstract base class that these conditions use, which you can see by decompiling the &lt;code&gt;Sitecore.Analytics&lt;/code&gt; assembly:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;if (ConditionsUtility.GetInt32Comparer(this.NumberOfElapsedDaysOperatorId) == null)&#xA;    return Enumerable.Empty&amp;lt;KeyBehaviorCacheEntry&amp;gt;();&#xA;&#xA;Func&amp;lt;int, int, bool&amp;gt; numberOfPastInteractionsComparer = ConditionsUtility.GetInt32Comparer(this.NumberOfPastInteractionsOperatorId);&#xA;&#xA;if (numberOfPastInteractionsComparer == null)&#xA;    return Enumerable.Empty&amp;lt;KeyBehaviorCacheEntry&amp;gt;();&#xA;&#xA;// ... some code removed ...&#xA;&#xA;if (numberOfPastInteractionsComparer((DateTime.UtcNow - entries.Key.InteractionStartDateTime).Days, this.NumberOfElapsedDays))&#xA;    return numberOfPastInteractionsComparer(i + 2, this.NumberOfPastInteractions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see from the above code, a function is never defined that uses &lt;code&gt;NumberOfElapsedDaysOperatorId&lt;/code&gt;. At the end of the code, the &lt;code&gt;numberOfPastInteractionsComparer&lt;/code&gt; function is actually used for both the elapsed days and past interactions comparisons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to use your example:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where the &lt;code&gt;name-of-my-outcome&lt;/code&gt; outcome was registered during a past or current interaction and when the number of elapsed days &lt;code&gt;is less than 30&lt;/code&gt; and when the past number of interactions &lt;code&gt;is not equal to 0&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This means that the &lt;code&gt;is less than&lt;/code&gt; operator is never used, and instead &lt;code&gt;is not equal&lt;/code&gt; is used for both operations. This explains why your two examples that used &lt;code&gt;is not equal&lt;/code&gt; worked as expected.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Fix&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Until this is fixed, you can workaround this by decompiling and reimplementing the conditions and their base condition, in this case &lt;code&gt;Sitecore.Analytics.Rules.Conditions.OutcomeWasRegisteredDuringPastOrCurrentInteractionCondition&lt;/code&gt; and &lt;code&gt;Sitecore.Analytics.Rules.Conditions.HasEventOccurredCondition&amp;lt;&amp;gt;&lt;/code&gt;. The new base condition should have the method altered like so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;Func&amp;lt;int, int, bool&amp;gt; numberOfElapsedDaysComparer = ConditionsUtility.GetInt32Comparer(NumberOfElapsedDaysOperatorId);&#xA;&#xA;if (numberOfElapsedDaysComparer == null)&#xA;    return Enumerable.Empty&amp;lt;KeyBehaviorCacheEntry&amp;gt;();&#xA;&#xA;Func&amp;lt;int, int, bool&amp;gt; numberOfPastInteractionsComparer = ConditionsUtility.GetInt32Comparer(this.NumberOfPastInteractionsOperatorId);&#xA;&#xA;if (numberOfPastInteractionsComparer == null)&#xA;    return Enumerable.Empty&amp;lt;KeyBehaviorCacheEntry&amp;gt;();&#xA;&#xA;// ... some code removed ...&#xA;&#xA;if (numberOfElapsedDaysComparer((DateTime.UtcNow - entries.Key.InteractionStartDateTime).Days, this.NumberOfElapsedDays))&#xA;    return numberOfPastInteractionsComparer(i + 2, this.NumberOfPastInteractions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you have created these, you would then need to set the &lt;code&gt;Type&lt;/code&gt; field to your new type in the existing Sitecore condition, i.e. &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Visit/Outcome was registered during a past or current interaction&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Notes&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;It's worth noting that the buggy &lt;code&gt;HasEventOccurredCondition&amp;lt;&amp;gt;&lt;/code&gt; is derived by the following conditions, so these will all exhibit the same fault and would also need to be patched to work correctly:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;CampaignWasTriggeredPastOrCurrentInteractionCondition&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ChannelOfPastOrCurrentInteractionCondition&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;GoalWasTriggeredDuringPastOrCurrentInteractionCondition&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;OutcomeWasRegisteredDuringPastOrCurrentInteractionCondition&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;PageEventWasTriggeredDuringPastOrCurrentInteractionCondition&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;VenueOfPastOrCurrentInteractionCondition&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These all have slight variants too that allow for Custom Data to be taken into account that will have the same issue.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-11-30T00:07:34.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8745" PostTypeId="2" ParentId="7810" CreationDate="2017-11-30T00:58:05.777" Score="1" Body="&lt;p&gt;It could certainly be done, but it'll require some hand tooling.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Aside from the articles linked by @Vinicius you should take a look at &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-devquickstarts-web-dotnet-susi&quot; rel=&quot;nofollow noreferrer&quot;&gt;Create an ASP.NET web app with Azure Active Directory B2C sign-up, sign-in, profile edit, and password reset&lt;/a&gt;.  This talks about using B2C in a regular .NET web app - which is essentially what we're talking about, since Sitecore relies on the standard .NET authentication and authorization subsystems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to note is that the documentation talks a lot about setting up on OWIN, and you may need some additional support to get that going.  Take a look at &lt;a href=&quot;http://blog.baslijten.com/how-to-add-federated-authentication-with-sitecore-and-owin/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this Federated Authentication article by MVP Bas Lijten&lt;/a&gt;, and &lt;a href=&quot;https://github.com/VyacheslavPritykin/Sitecore-Owin&quot; rel=&quot;nofollow noreferrer&quot;&gt;the Sitecore.Owin GitHub Project by Vyacheslav Pritykin&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-11-30T00:58:05.777" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8746" PostTypeId="2" ParentId="8738" CreationDate="2017-11-30T01:00:49.567" Score="4" Body="&lt;p&gt;Depending on your version there's a way to replace the component that writes the URL and makes the connection to Solr.  If you didn't feel like building out a Linq provider (and I don't recommend it), this could be a last resort hook into the process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was looking at this a little while ago as a candidate for adding support for Solr Cloud redirection and authenticated Solr endpoints, but I haven't completed that work yet.  I think some of these features are in the works at Sitecore now anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The widget in question is wired in at:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;contentSearch&amp;gt;&#xA;    &amp;lt;indexConfigurations&amp;gt;&#xA;      &amp;lt;solrHttpWebRequestFactory type=&quot;HttpWebAdapters.HttpWebRequestFactory, SolrNet&quot; /&amp;gt;&#xA;    &amp;lt;/indexConfigurations&amp;gt;&#xA;  &amp;lt;/contentSearch&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="131" LastEditorUserId="131" LastEditDate="2017-11-30T01:13:50.047" LastActivityDate="2017-11-30T01:13:50.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8748" PostTypeId="1" AcceptedAnswerId="8757" CreationDate="2017-11-30T04:48:25.037" Score="4" ViewCount="847" Body="&lt;p&gt;I am working on a project where we are using DEF(Data Exchange Framework) to import data from XML feed. The import works perfectly, I need to publish the items that were created or updated. Below processor was written based on UpdateSitecoreItemStepProcessor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works well and publishes the items in the Pipelinecontext but the Pipeline batch job does not stop(button stays disabled) even after the items are published(checking the sitecore logs). When I switch to other content item in the content tree the Pipeline batch stops immediately. The publish works, I can see the items in the web database, its just the  Pipeline Batch button stays disabled even after pipeline step has completed. Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Integration.DEF.Processors.PipelineSteps&#xA;{&#xA;  [RequiredPipelineStepPlugins(new Type[] {typeof(EndpointSettings)})]&#xA;  class PublishSitecoreItemStepProcessor : BasePipelineStepProcessor&#xA;  {&#xA;    public override void Process(PipelineStep pipelineStep, PipelineContext pipelineContext)&#xA;    {&#xA;        try&#xA;        {&#xA;            if (pipelineStep == null)&#xA;                throw new ArgumentNullException(nameof(pipelineStep));&#xA;&#xA;            if (pipelineContext == null)&#xA;                throw new ArgumentNullException(nameof(pipelineContext));&#xA;&#xA;            if (!CanProcess(pipelineStep, pipelineContext))&#xA;            {&#xA;                return;&#xA;            }&#xA;            else&#xA;            {&#xA;                var objectAsItemModels =&#xA;                    GetTargetObjectAsItemModels(pipelineStep, pipelineContext);&#xA;                if (objectAsItemModels == null)&#xA;                    return;&#xA;                var id = Guid.Empty;&#xA;                foreach (var itemModel in objectAsItemModels)&#xA;                {&#xA;                    FixItemModel(itemModel);&#xA;                    if (id == Guid.Empty)&#xA;                        id = itemModel.GetItemId();&#xA;                     PublishItem(pipelineStep, pipelineContext, id);&#xA;&#xA;                }&#xA;&#xA;                    return;&#xA;&#xA;&#xA;            }&#xA;&#xA;&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            var log = new ExceptionLog();&#xA;            var entry = new ExceptionDetail { Component = &quot;DEF Import&quot; };&#xA;            entry.SetExceptionDetail(ex);&#xA;            log.LogException(entry);&#xA;        }&#xA;    }&#xA;&#xA;    protected virtual void FixItemModel(ItemModel itemModel)&#xA;    {&#xA;        if (itemModel == null)&#xA;            return;&#xA;        foreach (var index in itemModel.Keys.ToArray&amp;lt;string&amp;gt;())&#xA;        {&#xA;            var obj = itemModel[index];&#xA;            if (obj != null)&#xA;                itemModel[index] = (object) obj.ToString();&#xA;        }&#xA;    }&#xA;&#xA;    protected virtual IEnumerable&amp;lt;ItemModel&amp;gt; GetTargetObjectAsItemModels(PipelineStep pipelineStep,&#xA;        PipelineContext pipelineContext)&#xA;    {&#xA;        if (!pipelineContext.HasSynchronizationSettings())&#xA;            return (IEnumerable&amp;lt;ItemModel&amp;gt;) null;&#xA;        var synchronizationSettings = pipelineContext.GetSynchronizationSettings();&#xA;        if (synchronizationSettings == null)&#xA;            return (IEnumerable&amp;lt;ItemModel&amp;gt;) null;&#xA;        if (synchronizationSettings.Target == null)&#xA;            return (IEnumerable&amp;lt;ItemModel&amp;gt;) null;&#xA;        var itemModelList = new List&amp;lt;ItemModel&amp;gt;();&#xA;        var target1 = synchronizationSettings.Target as ItemModel;&#xA;        try&#xA;        {&#xA;            if (target1 != null)&#xA;            {&#xA;                itemModelList.Add(target1);&#xA;            }&#xA;            else&#xA;            {&#xA;                var target2 =&#xA;                    synchronizationSettings.Target as IDictionary&amp;lt;string, ItemModel&amp;gt;;&#xA;                if (target2 != null)&#xA;                {&#xA;                    foreach (var key in (IEnumerable&amp;lt;string&amp;gt;) target2.Keys)&#xA;                        itemModelList.Add(target2[key]);&#xA;                }&#xA;            }&#xA;            if (itemModelList.Count == 0)&#xA;                pipelineContext.Logger.Error(&#xA;                    &quot;The target object is not compatible with the pipeline step processor.&quot;);&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            var log = new ExceptionLog();&#xA;            var entry = new ExceptionDetail {Component = &quot;DEF Import&quot;};&#xA;            entry.SetExceptionDetail(ex);&#xA;            log.LogException(entry);&#xA;        }&#xA;        return (IEnumerable&amp;lt;ItemModel&amp;gt;) itemModelList;&#xA;    }&#xA;&#xA;&#xA;    private void PublishItem(PipelineStep pipelineStep, PipelineContext pipelineContext, Guid id)&#xA;    {&#xA;        try&#xA;        {&#xA;            var ItemId = ID.Parse((object)id);&#xA;            Database masterdb = Database.GetDatabase(Util.dbcontext.master.ToString());&#xA;            Database webdb = Database.GetDatabase(Util.dbcontext.web.ToString());&#xA;            var item = masterdb.GetItem(ItemId);&#xA;&#xA;            if (item != null)&#xA;            {&#xA;                var publishOptions =&#xA;                    new PublishOptions(item.Database,&#xA;                        webdb,&#xA;                        PublishMode.SingleItem,&#xA;                        item.Language,&#xA;                        DateTime.Now);&#xA;                var publisher = new Publisher(publishOptions);&#xA;                publisher.Options.RootItem = item;&#xA;                publisher.Options.Deep = true;&#xA;                publisher.Publish();&#xA;                pipelineContext.Logger.Debug(&quot;Item was published. (id: {0})&quot;, (object)id);&#xA;&#xA;&#xA;            }&#xA;&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            var log = new ExceptionLog();&#xA;            var entry = new ExceptionDetail { Component = &quot;PublishSitecoreItemStepProcessor&quot; };&#xA;            entry.SetExceptionDetail(ex);&#xA;            log.LogException(entry);&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATED: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YhzbW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YhzbW.png&quot; alt=&quot;pipelines&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bYax4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bYax4.png&quot; alt=&quot;pipelines&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2672" LastEditorUserId="2672" LastEditDate="2017-11-30T14:32:10.257" LastActivityDate="2017-11-30T14:32:10.257" Title="Sitecore Data Exchange Framework - Pipeline step to execute after Update Sitecore Item Pipeline Step" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8749" PostTypeId="2" ParentId="8736" CreationDate="2017-11-30T05:01:24.607" Score="0" Body="&lt;p&gt;Working in modal dialogs for many fields is just not user-friendly to begin with. While I don't know how to change the default behaviour, I would suggest using different custom experience buttons to launch different dialogs for your different sections.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, you would have two buttons: &lt;strong&gt;Image + Video&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Image button would be configured to edit the Image fields, Video button to edit the Video fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is probably the most straightforward way to accomplish what you want, and will have the added benefit of making sure that the number of fields shown in the dialog is more manageable.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-11-30T05:01:24.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8750" PostTypeId="2" ParentId="8733" CreationDate="2017-11-30T05:16:59.957" Score="0" Body="&lt;p&gt;I think what you looking for is to display the name of the foreign language in the native language. For that, instead of using DisplayName you have to NativeName in the method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var culture = Thread.CurrentThread.CurrentCulture.NativeName;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you need to override the standard implementation with your custom one. One of the way could be to make a copy of  &lt;code&gt;Sitecore.Shell.Framework.Commands.Ribbon.Languages&lt;/code&gt; command and update the method GetHeader to display NativeName, update your config file and Sitecore Item to point towards the new method and you should be good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;public override string GetHeader(CommandContext context, string header)&#xA;    {&#xA;      Assert.ArgumentNotNull((object) context, nameof (context));&#xA;      Assert.ArgumentNotNull((object) header, nameof (header));&#xA;      if (context.Items.Length == 1)&#xA;      {&#xA;        CultureInfo cultureInfo = context.Items[0].Language.CultureInfo;&#xA;        if (cultureInfo.IsNeutralCulture)&#xA;          cultureInfo = Language.CreateSpecificCulture(cultureInfo.Name);&#xA;        using (new ThreadCultureSwitcher(Context.Language.CultureInfo))&#xA;        {&#xA;          string displayName = cultureInfo.NativeName;//change this line&#xA;          if (!string.IsNullOrEmpty(displayName))&#xA;            return displayName;&#xA;        }&#xA;      }&#xA;      return base.GetIcon(context, header);&#xA;    }&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As default, Sitecore uses &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ee825488(v=cs.20).aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;ASP.NET globalization ISO code and language names&lt;/a&gt; . The Sitecore predefined languages are coming from the configuration file located at &lt;code&gt;/App_Config/LanguageDefinitions.config&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="318" LastActivityDate="2017-11-30T05:16:59.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8752" PostTypeId="2" ParentId="8680" CreationDate="2017-11-30T07:14:28.033" Score="3" Body="&lt;p&gt;&lt;strong&gt;Brief Problem Description&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When data have been captured in the MongoDB, on session end, data will be aggregated to the reporting database through Aggregation Pipelines. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your issue is with the following pipelines:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.WFFM.Analytics.Aggregation.Processors.FormSummary.FormSummaryProcessor, Sitecore.WFFM.Analytics&quot; patch:source=&quot;Sitecore.WFFM.Analytics.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.WFFM.Analytics.Aggregation.Processors.FormEvents.FormEventsProcessor, Sitecore.WFFM.Analytics&quot; patch:source=&quot;Sitecore.WFFM.Analytics.config&quot; /&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.WFFM.Analytics.Aggregation.Processors.FormStatisticsByContact.FormStatisticsByContactProcessor, Sitecore.WFFM.Analytics&quot; patch:source=&quot;Sitecore.WFFM.Analytics.config&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you already specified in the question that you don't have the tables&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Fact_FormEvents&lt;/li&gt;&#xA;&lt;li&gt;FormFieldValues&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is because you did not execute the &lt;code&gt;SQL&lt;/code&gt; script to create them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to the &lt;code&gt;[site root]\Website\Data\&lt;/code&gt; and execute the &lt;code&gt;WFFM_Analytics.sql&lt;/code&gt; on the reporting database. This will create the required tables.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-11-30T07:14:28.033" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8753" PostTypeId="1" CreationDate="2017-11-30T07:16:59.870" Score="1" ViewCount="744" Body="&lt;p&gt;I created a custom validator for a multi-list field which checks the number of selected items based on the min and max count set in a configuration item.&#xA;On debug mode, the validator is being called and is returning the expected results. Sitecore also displays the pop-up message saying that validation errors needs to be resolved first before the item can be saved. However, the red vertical line displayed on the left side of the field along with the custom validator's error message are not displayed realtime (they only get displayed when i click the top right part of the content tab - the side where small red / yellow boxes appears when there are field errors). I've added the validators for all validation rules fields (such as quick action bar, validate button, validator bar, and workflow).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing any configurations?&#xA;How could we trigger Sitecore to display the validation message realtime?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: &#xA;I've tried creating custom validator using Sitecore 8.0 and it's working as expected. Issue occurs when I'm using Sitecore 8.2 Update 4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;GC&lt;/p&gt;&#xA;" OwnerUserId="2816" LastEditorUserId="1316" LastEditDate="2017-12-05T20:49:10.697" LastActivityDate="2017-12-05T20:49:10.697" Title="Custom Validator - Updated Error Message is not Displayed" Tags="|configuration|validation|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8754" PostTypeId="1" AcceptedAnswerId="8755" CreationDate="2017-11-30T07:51:43.020" Score="3" ViewCount="2992" Body="&lt;p&gt;We have to add our own icon in Sitecore so that we can assign those icons to our items.&lt;br/&gt;&#xA;what would be procured to add custom icons in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="2723" LastActivityDate="2017-11-30T08:21:30.207" Title="How can we add custom icon in sitecore?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="1" ClosedDate="2017-11-30T10:20:30.190" ContentLicense="CC BY-SA 3.0" />
  <row Id="8755" PostTypeId="2" ParentId="8754" CreationDate="2017-11-30T08:21:30.207" Score="5" Body="&lt;p&gt;You need to create folder structure as follow with diffrent icon size -&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;TypeFolderName&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;16x16&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;FileName.png&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;24x24&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;FileName.png&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;32x32&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;FileName.png&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;48x48&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;FileName.png&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;128x128&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;FileName.png&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Where FolderName will be you custom name of folder and file name will be the name of the file. all you need to create a transparent(most of time) image with diffrent size as show above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that create a zip archive of your folder and need to upload into &lt;strong&gt;&quot;/sitecore/shell/Themes/Standard/&quot;&lt;/strong&gt; location of your website folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or you can modify existing folder and upload your icons there as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2017-11-30T08:21:30.207" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8756" PostTypeId="1" CreationDate="2017-11-30T10:16:27.083" Score="3" ViewCount="361" Body="&lt;p&gt;We are trying to deploy Sitecore and the SXA module to our Azure Web App through VSTS with ARM templates instead of using the powershell script from the Sitecore Azure Toolkit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The initial Sitecore instance deploys correctly through the ARM templates, without additional modules.&#xA;We are using the &lt;em&gt;Azure Resource Group Deployment&lt;/em&gt; task in VSTS to deploy the ARM templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the intial deployment succeeded, we have added the bootloader and SXA modules to the ARm templates as described by Sitecores docs, which results in several errors during operations on the database. A lot of operations succeed, however, only a few operations seem to fail with a &lt;em&gt;&quot;bad request&quot;&lt;/em&gt; error without detailed information of what is going wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone succeeded to deploy additional Sitecore modules to an Azure Web App by using the VSTS Release or any clue why most of the operations on the database succeed and only some of the operations on the database fail?&lt;/p&gt;&#xA;" OwnerUserId="136" LastActivityDate="2018-01-05T17:17:23.443" Title="Error when deploying Sitecore and SXA module to Azure through Visual Studio Team Services release" Tags="|sxa|azure|deployment|module|arm-template|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8757" PostTypeId="2" ParentId="8748" CreationDate="2017-11-30T11:19:46.793" Score="4" Body="&lt;p&gt;&lt;strong&gt;Case&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Click a button &quot;Run Pipeline Batch&quot;.&lt;/li&gt;&#xA;&lt;li&gt;The command is triggered to run Pipeline Batch and disable the button.&lt;/li&gt;&#xA;&lt;li&gt;Pipeline Batch has been completed (in your case publishing) &lt;/li&gt;&#xA;&lt;li&gt;The &quot;Run Pipeline Batch&quot; button is still disabled.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why it happens?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&quot;Run Pipeline Batch&quot; command overrides method &quot; ShouldEnableButton&quot;.&lt;/li&gt;&#xA;&lt;li&gt;This method checks whether job finished or not.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore re-render/trigger this method only if to switch to other content items or the same.&lt;/li&gt;&#xA;&lt;li&gt;It means even if Pipeline Batch has been completed the button will be disabled until Sitecore trigger the command, in our case switch to some item.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="843" LastActivityDate="2017-11-30T11:19:46.793" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8758" PostTypeId="2" ParentId="5381" CreationDate="2017-11-30T11:34:50.850" Score="5" Body="&lt;p&gt;I recently came across with the same situation where we have created Virtual user and also created some custom property. At the early stage it was working properly as Sitecore user works but one day suddenly it stopped working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my solution still Sitecore.Context.User.IsAuthenticated this was always true but all the profile properties was empty at this time. Then I started digging into our latest change we made for project and found we just added a view rendering on LogIn page (Login Item). And that rendering was having &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var customPropValue = Sitecore.Context.User.Profile.GetCustomProperty(&quot;customProp&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;code and some other code too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To just test I removed the rendering from the login item and it seems functionality again started working because after login it was either redirecting me to home page or RedirectURL page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then it was proved that Virtual user was not working because of the new rendering which contains code to get custom property of user. I again applied that rendering to item and this time I removed all other code from the rendering and still keep  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var customPropValue = Sitecore.Context.User.Profile.GetCustomProperty(&quot;customProp&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;code into it and this time again issue was same I lost all the profile properties of virtual user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At last I removed the &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  var customPropValue = Sitecore.Context.User.Profile.GetCustomProperty(&quot;customProp&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;code from the rendering and it started working for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want that code on other pages but not on login page so I added a condition on top if page is login page then don't execute this code and execute for all other pages. After making this change it started working for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other pages I was using same code so there was no issue with the code I found that issue is with the code on Login page. After login and redirect user on any page everything works perfect in virtual user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already opened a ticket in Sitecore for same they are into investigation why it is not working if we are getting any profile properties at the time of login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have tested this Virtual user functionality with multiple login at the same time and honestly it is working perfect. So I would say the Virtual feature is the really cool feature provided by Sitecore but on one point we need to be more careful. I hope Sitecore will resolve this issue in next releases or will provide patch for same.&lt;/p&gt;&#xA;" OwnerUserId="361" LastActivityDate="2017-11-30T11:34:50.850" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8759" PostTypeId="1" AcceptedAnswerId="8762" CreationDate="2017-11-30T12:19:59.117" Score="4" ViewCount="182" Body="&lt;p&gt;I'm trying to save an Interaction in a session so i have added two methods to Serialize and Deserialize the Interaction.&#xA;Serializing works fine, i get a valid json with all the information.&#xA;However when i try to Deserialize i get the error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;JsonSerializationException: Could not create an instance of type Sitecore.XConnect.IEntityReference`1[Sitecore.XConnect.Contact]. Type&#xA;  is an interface or abstract class and cannot be instantiated. Path&#xA;  'Contact.Identifiers', line 1, position 685.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is my (de)serialize code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public static void SetObjectAsJson(this ISession session, string key, object value)&#xA;    {&#xA;&#xA;        session.SetString(key, JsonConvert.SerializeObject(value));&#xA;    }&#xA;&#xA;    public static T GetObjectFromJson&amp;lt;T&amp;gt;(this ISession session, string key)&#xA;    {&#xA;        var value = session.GetString(key);&#xA;        return value == null ? default(T) : JsonConvert.DeserializeObject&amp;lt;T&amp;gt;(value);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And i call these methods like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private Interaction GetInteraction(Contact c)&#xA;    {&#xA;        var interaction = HttpContext.Session.GetObjectFromJson&amp;lt;Interaction&amp;gt;(&quot;_Interaction&quot;);&#xA;        if (interaction == null)&#xA;        {&#xA;            interaction = ic.CreateInteraction(c);&#xA;        }&#xA;        return interaction;&#xA;    }&#xA;&#xA;    private void SetInteraction(Interaction i)&#xA;    {&#xA;        HttpContext.Session.SetObjectAsJson(&quot;_Interaction&quot;, i);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a way around this error or am i going to have to create a new Interaction and fill the values myself?&lt;/p&gt;&#xA;" OwnerUserId="2555" LastActivityDate="2017-12-01T10:40:11.583" Title="XConnect convert json to Interaction" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8760" PostTypeId="1" AcceptedAnswerId="8761" CreationDate="2017-11-30T13:14:11.620" Score="1" ViewCount="1076" Body="&lt;p&gt;We have to rebuild Lucene index on our CD server. &#xA;&lt;br/&gt; Is there any Sitecore API to rebuild Lucene index? or rebuild a portion of tree items?&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="2723" LastEditDate="2017-11-30T13:20:51.130" LastActivityDate="2017-11-30T13:26:59.517" Title="How to rebuild Lucene Index using API?" Tags="|content-search|sitecore-api|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8761" PostTypeId="2" ParentId="8760" CreationDate="2017-11-30T13:17:24.483" Score="10" Body="&lt;p&gt;You should have a look at the documentation form Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/search_and_indexing/indexing/rebuild_search_indexes&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/search_and_indexing/indexing/rebuild_search_indexes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can rebuild indexes from custom code by using this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// To rebuild &quot;new&quot; search indexes, use this piece of code for every &quot;new&quot; index    &#xA;IndexCustodian.FullRebuild(ContentSearchManager.GetIndex(&quot;[INDEX NAME]&quot;), true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To rebuild all indexes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Or to rebuild all indexes, use the following piece of code:&#xA;IndexCustodian.RebuildAll();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you would like to index a single item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IndexCustodian.Refresh(ContentSearchManager.GetIndex(&quot;[INDEX NAME]&quot;), itemToRefresh);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you need to index a tree:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SitecoreIndexableItem indexableFolder = new SitecoreIndexableItem(item);     &#xA;IndexCustodian.RefreshTree(indexableFolder);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1510" LastEditorUserId="1510" LastEditDate="2017-11-30T13:26:59.517" LastActivityDate="2017-11-30T13:26:59.517" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8762" PostTypeId="2" ParentId="8759" CreationDate="2017-11-30T13:26:41.667" Score="4" Body="&lt;p&gt;There are some possible questions here around what your aim is and why you need to persist this interaction, but to answer your specific question:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would advise against attempting to serialize / deserialize a complex type such as an &lt;code&gt;Interaction&lt;/code&gt;, especially when it's not a type of your making that you have control over. It's difficult to know what references to other types this relies on and when you deserialize from json, these will be lost - as you can see here where it is trying to deserialize the &lt;code&gt;Contact&lt;/code&gt; property and throwing an error as it doesn't know how to recreate it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could go down the road of trying to create a custom serializer for this type, but I think that's far more likely to be trouble than its worth.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead I would follow your other line of thought, and serialize a type of your own creation that stores the information about the interaction you are needing to persist. You can then deserialize this data and create the Interaction when you need to submit it.&lt;/p&gt;&#xA;" OwnerUserId="28" LastEditorUserId="28" LastEditDate="2017-12-01T10:40:11.583" LastActivityDate="2017-12-01T10:40:11.583" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8763" PostTypeId="1" AcceptedAnswerId="8764" CreationDate="2017-11-30T15:20:03.250" Score="10" ViewCount="2250" Body="&lt;p&gt;I have this code nested down 3 deep in placeholders i.e. /MainFrame/ContentMain/ and then there is this Dynamic Placeholder I am wanting to use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Right Content --&amp;gt;&#xA;&amp;lt;div class=&quot;col-sm-4&quot;&amp;gt;&#xA;    @Html.Sitecore().DynamicPlaceholder(&quot;ContentSectionRight&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have not used Dynamic Placeholders for Sitecore 9 yet so I am unsure how to set this up in the rendering. I am using /MainFrame/ContentMain/ContentSectionRight but that is not working, and my component is not showing up. I know my component is working because if I move i to /MainFrame/ContentMain it will show up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the correct way to render my component using the NEW Dynamic Placeholders in Sitecore 9? &lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2017-11-30T16:26:47.387" Title="Dynamic Placeholders Not Working in Sitecore 9" Tags="|dynamic-placeholder|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8764" PostTypeId="2" ParentId="8763" CreationDate="2017-11-30T15:32:00.980" Score="11" Body="&lt;p&gt;The key for a dynamic placeholder uses the parent unique rendering Id to become dynamic, it also appends an incremental number in case you want multiple placeholders. In your example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Right Content --&amp;gt;&#xA;&amp;lt;div class=&quot;col-sm-4&quot;&amp;gt;&#xA;    @Html.Sitecore().DynamicPlaceholder(&quot;ContentSectionRight&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you have created a placeholder key of &lt;code&gt;ContentSectionRight&lt;/code&gt; - when you add a component to that via the experience editor, you will notice that the key becomes &lt;code&gt;ContentSectionRight-{00000000-0000-0000-0000-000000000000}-0&lt;/code&gt;- obviously, the guid of its parent rendering unique Id will be added in there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to add a component via presentation details, you will need to look in the &lt;code&gt;__Renderings&lt;/code&gt; or &lt;code&gt;__Final Renderings&lt;/code&gt; raw values to get the Id that would be used. It is usually a lot easier to just use the Experience Editor to add your components.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2017-11-30T16:26:47.387" LastActivityDate="2017-11-30T16:26:47.387" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8765" PostTypeId="2" ParentId="6039" CreationDate="2017-11-30T15:38:56.613" Score="0" Body="&lt;p&gt;The problem is in not registered &lt;code&gt;ISitecoreServiceLocatorScope&lt;/code&gt; service when you inherit from the &lt;code&gt;BaseServiceProviderBuilder&lt;/code&gt; class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to inherit from the &lt;code&gt;DefaultServiceProviderBuilder&lt;/code&gt; class. It launches &lt;code&gt;ServicesScopeConfigurator&lt;/code&gt;. I did so, and there were no controller instances in memory. &lt;/p&gt;&#xA;" OwnerUserId="2818" LastEditorUserId="35" LastEditDate="2018-12-11T14:05:15.570" LastActivityDate="2018-12-11T14:05:15.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8766" PostTypeId="1" AcceptedAnswerId="8792" CreationDate="2017-11-30T22:49:59.243" Score="5" ViewCount="370" Body="&lt;p&gt;We are on Sitecore 8.2 rev. 170614 (8.2 Update-4) using MongoDB On-Premise mode with custom SSL Setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Need to submit a custom report to business based on various logins (and related data) categorized by GeoIP Location. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since in xDB the IPs are stored in Mongo only not in SQL Reporting Database, how we can consolidate both data and create a report.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Though we are working on creating MongoDB script for the same but in the Phase-2 we need to fetch data from Client's Legacy Database which is again on SQL.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1316" LastEditDate="2017-12-01T13:30:45.550" LastActivityDate="2017-12-03T19:30:01.787" Title="Custom Report from xDB (MongoDB) based in Geo Ips" Tags="|xdb|mongodb|reporting|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8767" PostTypeId="2" ParentId="8766" CreationDate="2017-11-30T23:29:44.143" Score="3" Body="&lt;p&gt;Sitecore itself stores the raw analytics data in Mongo, then continually processes the data into a SQL database to make it easier to report on.  You can do the same thing, depending on how fresh you need the data to be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it needs to be up to date all the time, consider adding a processor to your xDB Aggregation system.  This piggy-backs on the built-in Sitecore process to handle data incrementally and store it in a new SQL table in a shape considerate of your reporting needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it only needs to be updated periodically, say daily, it is worth creating a separate batch process, again run on xDB, that can handle the data and prepare it for reporting without slowing down the normal processing system.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-11-30T23:29:44.143" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8768" PostTypeId="1" CreationDate="2017-12-01T12:52:31.460" Score="5" ViewCount="294" Body="&lt;p&gt;The project site will have multiple Image Callouts that will be used in various sections of the site. These Image callouts have multiple forms. Something like below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2su03.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2su03.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Questions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With above representation should I put the Basic one (which has Title and Background Image) in the Foundation Layer? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create Feature specific to all the individual images and then inherit both Feature and Foundation Interface templates in Data/Content templates - like say one is offer image, another is deals image?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or nothing will be part of Foundation layer and I have to create Feature templates for all individual images with repeated fields (Title and Background Image)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me understand how we can represent this is template structure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I need to display images something like below, in a single page in multiple sections of the page, will different renderings with common template still look fine with respect to the Presentation details? Also is it possible to make a Image Listing Component (like Deals, Featured Products) having collection of these images? I might be having 10 small images in one component, and 1 large and 4 medium size images in another component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1IXse.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1IXse.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="310" LastEditorUserId="310" LastEditDate="2017-12-02T05:26:44.880" LastActivityDate="2017-12-03T08:45:55.093" Title="Helix Representation for Image Callout with Multiple structure" Tags="|helix|information-architecture|solution-architecture|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8769" PostTypeId="2" ParentId="8768" CreationDate="2017-12-01T13:33:40.860" Score="3" Body="&lt;p&gt;You have more options and they depends mainly on the requirements&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Option 1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can have all fields in 1 template and then depends on the filled fields in preview and normal mode which should be shown, but you show all as editable in Experience Editor. This is a good solution if you want editors to able to change the content dynamicly and you want to use the same placeholder for all of these components.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Option 2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can have dependencies between modules. So you don't need to touch the Foundation layer. So you can have something like &lt;em&gt;Compontents&lt;/em&gt; feature where you can have multiple modules and the modules can have dependencies on each other.&#xA;For example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Components - &lt;em&gt;Feature&lt;/em&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Image Callouts - &lt;em&gt;Module&lt;/em&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Base Template&lt;/strong&gt; for this module&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Another Template&lt;/strong&gt; inherited from the &lt;strong&gt;Base Template&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Image Text - &lt;em&gt;Module&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Personally I would choose the first option because it is more flexible from the content editor perspective. Because if you choose the second option then the editors should change the template when they want to show more fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes, but it's all depends on the HTML.&#xA;If you need a list then you can loop through of the children of the datasources too.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Image List - &lt;em&gt;Datasource&lt;/em&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Image 1 - &lt;em&gt;Child&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Image 2 - &lt;em&gt;Child&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;etc...&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But you don't need a list, only if you want handle these items together. Because for example in this case you lose personalization. You can only personalize the whole list, not one-by-one.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-12-03T08:45:55.093" LastActivityDate="2017-12-03T08:45:55.093" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="8770" PostTypeId="1" AcceptedAnswerId="8869" CreationDate="2017-12-01T13:36:40.440" Score="17" ViewCount="2427" Body="&lt;p&gt;I have a Windows Server 2016, SIF and Sitecore Fundamentals installed where I am trying to provision a Sitecore 9 XP1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the error I am seeing&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CERT:\LocalMachine\My\210E7393A00B188EEB841E22CB09BA5660D6C3E9 does not contain Private Key&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I generated self-signed certificates for XConnect and XConnect Collection using a Powershell command&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-SelfSignedCertificate -DNSName xconnect.local -CertStoreLocation cert:\LocalMachine\My&#xA;New-SelfSignedCertificate -DNSName xconnectcollection.local -CertStoreLocation cert:\LocalMachine\My&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I have exported the certificate as PFX&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$sslPassword = ConvertTo-SecureString &quot;P@ssw0rd&quot; -Force -AsPlainText&#xA;Export-PfxCertificate -Cert cert:\LocalMachine\My\210E7393A00B188EEB841E22CB09BA5660D6C3E9  -FilePath C:\temp\xconnectlocal.pfx -Password $sslPassword&#xA;Export-PfxCertificate -Cert cert:\LocalMachine\My\0486F9D98837A08726A238E1431F010B5256E99A  -FilePath C:\temp\xconnectcollectionlocal.pfx -Password $sslPassword&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And manually imported on Trusted Root Certification&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On xconnect-xp1-collection.json, I have modified the SSLCert to match XConnectCollection Thumbprint&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;SSLCert&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The certificate to use for HTTPS web bindings. Provide the name or the thumbprint. If not provided a certificate will be generated.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;0486F9D98837A08726A238E1431F010B5256E99A&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When prompted during the SIF process, XConnectCert I then add the Thumbprint from XConnect.local SSL&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CqDO5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CqDO5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, I receive the 210E7393A00B188EEB841E22CB09BA5660D6C3E9 does not contain Private Key error&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bSFVX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bSFVX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen other similar questions&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8114/sitecore-9-xp0-xconnect-cert-requirements&quot;&gt;Sitecore 9 XP0 XConnect Cert Requirements&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8270/issue-with-sitecore-9-certificate-missing-private-key&quot;&gt;Issue with Sitecore 9 certificate missing private key&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;However, none of these solved my issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what might causing the issue?&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="393" LastEditDate="2018-03-10T14:58:40.333" LastActivityDate="2018-03-10T14:58:40.333" Title="Issues with XConnect certificate does not contain Private Key" Tags="|sitecore-install-framework|xconnect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8771" PostTypeId="2" ParentId="8768" CreationDate="2017-12-01T14:03:39.340" Score="4" Body="&lt;p&gt;Without SXA I would build this as a single feature with 4 components, all based off the same data template.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a template that contains all the fields you require. Lets call it &lt;code&gt;ImageCallout&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create 4 renderings that have the razor setup to the 4 different styles that you have specified. They should all use your &lt;code&gt;ImageCallout&lt;/code&gt; template as the datasource for the rendering. So you can set the &lt;code&gt;Datasource Location&lt;/code&gt; and &lt;code&gt;Datasource Template&lt;/code&gt; for a good Experience Editor experience ;)&lt;/li&gt;&#xA;&lt;li&gt;Make sure these renderings are set as compatible renderings for each other.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now your content editor can pick one of the 4 styles of the Image Callout rendering and start editing the content. They will only see the fields that are on that rendering, so its not a problem that some of the fields will not be filled in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But... because they all use the same datasource template and are set as compatible renderings, you can now swap the styles, without having to create new datasources for each one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as Helix goes, all this should be in a single Feature. There is no need for anything to go into a Foundation layer.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-12-01T14:03:39.340" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8772" PostTypeId="2" ParentId="8770" CreationDate="2017-12-01T17:08:34.400" Score="2" Body="&lt;p&gt;Try altering the certificate creation step to explicitly allow export of the private key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So instead of:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;New-SelfSignedCertificate -DNSName xconnect.local -CertStoreLocation cert:\LocalMachine\My&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Try this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-SelfSignedCertificate -DNSName xconnect.local -KeyExportPolicy Exportable -CertStoreLocation cert:\LocalMachine\My&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Normally when importing a key into the cert store through the Certificate Management UI you need to explicitly check the &quot;make private key exportable&quot; box, so I assume the default policy is to disallow export of the private key.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-12-01T17:08:34.400" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8773" PostTypeId="1" AcceptedAnswerId="8776" CreationDate="2017-12-01T17:13:48.757" Score="5" ViewCount="1971" Body="&lt;p&gt;Does anyone know if the SXA navigation component can be made to render links that are not links to pages in the Sitecore site itself?  In other words, any kind of external link, or otherwise show links to items within Sitecore in a way that deviates from the hierarchy of the tree it is crawling.  Thanks&lt;/p&gt;&#xA;" OwnerUserId="2289" LastActivityDate="2018-11-29T13:02:55.153" Title="SXA Navigation Component and External Links" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8774" PostTypeId="2" ParentId="7777" CreationDate="2017-12-01T19:59:25.423" Score="-1" Body="&lt;p&gt;Flash has been phased out of many browsers and platforms over the last several years. Brightcove has prepared a number of tools, guides and services to help make your transition from the legacy (Flash-based) player to new (HTML-based) player as easy as possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Media framework 1.4 supports the HTML5 players with the Video object as mentioned below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;                    &amp;lt;video class=&quot;video-js&quot;&#xA;                           controls&#xA;                           data-application-id&#xA;                           data-embed=&quot;default&quot;&#xA;                           data-account=&amp;lt;your brightcove data account&amp;gt;&#xA;                           data-player=&amp;lt;your brightcove player&amp;gt;&#xA;                           data-video-id=&amp;lt;your brightcove video id&amp;gt;&amp;gt;&#xA;                    &amp;lt;/video&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2017-12-01T19:59:25.423" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8776" PostTypeId="2" ParentId="8773" CreationDate="2017-12-01T21:29:16.403" Score="9" Body="&lt;p&gt;You can do this with few tweaks.&#xA;When you create a site with all modules (features) enabled you can add &lt;code&gt;Page&lt;/code&gt; or &lt;code&gt;Redirect&lt;/code&gt; items under Home.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Redirect&lt;/code&gt; items can already point to any item or external page, our goal is to make them visible in navigation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One and the only requirement for that is to add &lt;code&gt;_Navigable&lt;/code&gt; to base templates, so.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Got to your project tenant templates (&lt;code&gt;/sitecore/templates/Project/F/T/&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Add new template &lt;code&gt;External Redirect&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add following base templates: &lt;code&gt;{C14B6289-8AC2-439C-9E5B-40DE9F820C3F}|{371D5FBB-5498-4D94-AB2B-E3B70EEBE78C}&lt;/code&gt; (&lt;code&gt;_Navigable&lt;/code&gt;, &lt;code&gt;Redirect&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Create item using new template.&lt;/li&gt;&#xA;&lt;li&gt;Set &lt;code&gt;Redirection URL&lt;/code&gt; field and &lt;code&gt;Link Caption in Navigation&lt;/code&gt; (remember that your navigation should respect this field in rendering variant)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xv1q5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xv1q5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TDaKv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TDaKv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not the perfect solution due to additional redirect, but it works! &#xA;I used this approach in the past and it worked fine. Actually, I can see advantages of this approach. You are able to track external links clicks or do anything you want. Always see the bright side ;)&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-12-01T21:29:16.403" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8777" PostTypeId="1" AcceptedAnswerId="8781" CreationDate="2017-12-01T23:38:45.487" Score="4" ViewCount="1014" Body="&lt;p&gt;I'm using Sitecore version 8.1 update 3.  If an item has multiple versions created and I change publishing restrictions on a version, using the Publish Settings window, a change to 1 version modifies all of them.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Start:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/edCP4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/edCP4.png&quot; alt=&quot;Before making change to restrictions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the Publish Settings dialog (i.e. Publish tab -&gt; Change)&lt;/li&gt;&#xA;&lt;li&gt;On the Versions tab, change the publishable date on the newest version&lt;/li&gt;&#xA;&lt;li&gt;Click OK.  &lt;/li&gt;&#xA;&lt;li&gt;Now check the statistics on any of the versions. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It's now showing this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BgzU5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BgzU5.png&quot; alt=&quot;Updated Item Versions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas? &lt;/p&gt;&#xA;" OwnerUserId="926" LastEditorUserId="1316" LastEditDate="2017-12-03T16:24:34.793" LastActivityDate="2017-12-03T16:24:34.793" Title="Changing the Publish Settings on one item version is updating ALL versions" Tags="|publishing|versions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8779" PostTypeId="2" ParentId="8766" CreationDate="2017-12-02T02:29:36.443" Score="1" Body="&lt;p&gt;A custom aggregator processor can be defined and it will pull data from the xDB( MongoDB) and add these data to custom SQL tables to the reporting database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sample code for the reference.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class PageEventProcessor : AggregationProcessor&#xA;  {&#xA;    protected override void OnProcess(AggregationPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        try&#xA;        {&#xA;            var factDetails = args.GetFact&amp;lt;PageEvent&amp;gt;();&#xA;            foreach (var pageItem in args.Context.Visit.Pages)&#xA;            {&#xA;                foreach (var fEvent in pageItem.PageEvents)&#xA;                {&#xA;                   // Custom logic&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2403" LastActivityDate="2017-12-02T02:29:36.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8780" PostTypeId="2" ParentId="7638" CreationDate="2017-12-02T02:37:27.847" Score="1" Body="&lt;p&gt;I have raised a Sitecore support ticket (Reference number is 493265),  then set up a call to describe this scenario in details, they have reviewed this item and identified as an issue and have provided a fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After applying this patch, it's working fine.&lt;/p&gt;&#xA;" OwnerUserId="2403" LastActivityDate="2017-12-02T02:37:27.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8781" PostTypeId="2" ParentId="8777" CreationDate="2017-12-02T03:35:38.597" Score="1" Body="&lt;p&gt;I tried to reproduce the issue you highlighted above.  When I update the most recent version, which is version 5, it shows the correct results, which is that only that version was updated with my change.  I tried this with Sitecore 8.1.3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I reviewed the code in the Sitecore.Client dll and I don't see any reason it would cause that issue either.  Basically as it loops through the versions collection when the user clicks on the &lt;code&gt;OK&lt;/code&gt; button, it will do a conditional check to see if the value is set to Hide version or else the current unsaved to and from dates are different from the values entered.  It will not compare seconds, just minutes and date information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are still having issues and maybe you had slightly different steps to follow, than in this scenario, it's probably going to be best to reach out to Sitecore support.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if you can't wait and need to solve this right away or hack it so it works, you can also optionally, override the command that is firing the dialog to load, and you can either use dotpeek to build a similar dialog to the one that is OOTB from Sitecore or you could rewrite their dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To change the command that runs, you just need to patch the &lt;code&gt;type&lt;/code&gt; attribute to your own method from the line below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;item:setpublishing&quot; type=&quot;Sitecore.Shell.Framework.Commands.SetPublishing, Sitecore.Kernel&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That will fire off the dialog from that command method, the dialog code can be found in the front end interface located here: &lt;code&gt;Website\sitecore\shell\Applications\Content Manager\Dialogs\Set Publishing\Set Publishing.xml&lt;/code&gt;.  You could obviously also update that file, but I wouldn't recommend that since it's not upgrade friendly.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-12-02T03:35:38.597" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8782" PostTypeId="1" AcceptedAnswerId="8784" CreationDate="2017-12-02T03:36:25.857" Score="10" ViewCount="801" Body="&lt;p&gt;Working on a Multilingual Implementation on Sitecore Version 8.1 rev. 160302 (Update-2) with 7 languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are experiencing a random and strange behavior with Check-boxes (In my case). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario and steps to reproduce are as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Page Template has Multiple Check-boxes.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a content item using the template in English-Us Version.&lt;/li&gt;&#xA;&lt;li&gt;Create language versions of this item.&lt;/li&gt;&#xA;&lt;li&gt;While creating language versions, sometimes the Check-boxes are &lt;strong&gt;&lt;em&gt;Unchecked &#xA;Automatically&lt;/em&gt;&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Unfortunately we are unable to track any specific pattern for this. As the &#xA;content editor team is experiencing is randomly.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Wanted to check with the community if anyone else is also experiencing the same behavior. If yes, did you find any root cause or work around?&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-08-24T14:09:50.440" Title="Experiencing strange behavior with Check Box Field on Sitecore 8.1" Tags="|content-editor|multilingual|fieldtype|" AnswerCount="1" CommentCount="4" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8783" PostTypeId="2" ParentId="8777" CreationDate="2017-12-02T04:10:41.037" Score="0" Body="&lt;p&gt;I tried to replicate this issue on Sitecore 8.1 Update 3 and on Sitecore 9,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I didn't find any issue on Sitecore 9 but on Sitecore 8.1 Updated 3, I have noticed this once but now it's working fine, looks like a random issue.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/0lRNy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0lRNy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like this is related to Hide version checkbox under lifetime section(Standard template).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I faced a similar problem while using the checkboxes, these values randomly got deselected, After discussing with Sitecore support team (Ticket Ref -494455), I came to know this is an issue in Sitecore 8.1 version and had fixed in release 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got a patch from the Sitecore team and after applying that patch similar issue of checkboxes got resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer to TFS number 107694,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore release note:- &lt;a href=&quot;https://goo.gl/61J3Le&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://goo.gl/61J3Le&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2403" LastActivityDate="2017-12-02T04:10:41.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8784" PostTypeId="2" ParentId="8782" CreationDate="2017-12-02T04:30:59.917" Score="5" Body="&lt;p&gt;I noticed a similar problem while using Check-boxes, the values are randomly unchecked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did a lot of QA and R&amp;amp;D to identify the issue or pattern, Finally, I was able to create a video where clearly capture the Check-boxes got unchecked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I executed similar steps to create multiple versions of an item in different languages. After continuously trying these similar steps, I observed this once in a while.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After discussing with Sitecore support team, I came to know this is an issue in Sitecore 8.1 version and has fixed in release 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got a patch from the Sitecore team and after applying that patch similar issue of Check-boxes got resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;please refer to TFS number 107694,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore release note:- &lt;a href=&quot;https://goo.gl/61J3Le&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://goo.gl/61J3Le&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2403" LastEditorUserId="1671" LastEditDate="2017-12-02T10:33:49.997" LastActivityDate="2017-12-02T10:33:49.997" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8785" PostTypeId="1" CreationDate="2017-12-03T14:07:24.400" Score="5" ViewCount="2741" Body="&lt;p&gt;I am trying to install Sitecore 9.0 on &lt;strong&gt;Windows Server 2012 Update R2&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed all steps mentioned in this article: &lt;a href=&quot;https://blogs.perficient.com/microsoft/2017/10/how-to-install-sitecore-9-with-the-sitecore-install-framework/&quot; rel=&quot;noreferrer&quot;&gt;https://blogs.perficient.com/microsoft/2017/10/how-to-install-sitecore-9-with-the-sitecore-install-framework/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here is the current Status&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Powershell version: 5.2&lt;/li&gt;&#xA;&lt;li&gt;SOLR 6.6.2 with SSL enabled&lt;/li&gt;&#xA;&lt;li&gt;Successfully executed prerequisites i.e.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Register-PSRepository -Name SitecoreGallery -SourceLocation &lt;a href=&quot;https://sitecore.myget.org/F/sc-powershell/api/v2&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-powershell/api/v2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Install-Module SitecoreInstallFramework&lt;/li&gt;&#xA;&lt;li&gt;Install-Module SitecoreFundamentals&lt;/li&gt;&#xA;&lt;li&gt;Import-Module SitecoreFundamentals&lt;/li&gt;&#xA;&lt;li&gt;Import-Module SitecoreInstallFramework&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Finally, when i tried to execute Sitecore installation powershell script, i am getting below exception...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration : No matching commands include a parameter named 'Signer'.  Check the spelling of the parameter name, &#xA;and then try again.&#xA;Parameter name: Signer&#xA;At C:\sitecore\install\sc9-v2.ps1:18 char:1&#xA;+ Install-SitecoreConfiguration @certParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please suggest, how can we resolve this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks, &lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="73" LastEditDate="2018-03-09T11:24:08.653" LastActivityDate="2018-03-09T11:24:08.653" Title="Install-SitecoreConfiguration : No matching commands include a parameter named 'Signer'" Tags="|sitecore-install-framework|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8786" PostTypeId="2" ParentId="8785" CreationDate="2017-12-03T14:26:34.587" Score="2" Body="&lt;p&gt;This is a known issue: SIF doesn't support IIS 8.0 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to generate the certificates manually and then continue with the installation. Alternatively you could extend SIF and call your own version of New-SignedCertificate.ps1 to handles signing of certs for Win 8.1 &amp;amp; Server 2012 .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/smRjr.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/smRjr.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-12-03T14:26:34.587" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8788" PostTypeId="2" ParentId="8470" CreationDate="2017-12-03T14:46:19.513" Score="1" Body="&lt;p&gt;There's not optimal cache size when your site hasn't yet got many visitors, it's only after your site gets used a bit that you will be able to tweak your caches.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, cache tuning is a perpetual process, so you should reassess your site's cache sizes periodically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I still find that the Cache Tuner module is useful, even after some years:&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/modules/cache_tuner.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/modules/cache_tuner.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="701" LastActivityDate="2017-12-03T14:46:19.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8790" PostTypeId="1" CreationDate="2017-12-03T18:03:35.027" Score="1" ViewCount="471" Body="&lt;p&gt;I'm using Sitecore.NET 8.2 (rev. 170728) with Web Forms for Marketers 8.2.rev. 170807. After adding drop list field in form and try to change value and text field through arrows as highlighted in screen, nothing changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZJ2Vb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZJ2Vb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2017-12-04T14:19:59.550" Title="Drop List text and value selection not working in WFFM" Tags="|wffm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8791" PostTypeId="1" AcceptedAnswerId="11592" CreationDate="2017-12-03T18:18:34.867" Score="9" ViewCount="5239" Body="&lt;p&gt;I installed Sitecore 9, but I'm facing an issue with xConnect&#xA;I tried to Open the web &lt;a href=&quot;https://xp0.xconnect&quot; rel=&quot;noreferrer&quot;&gt;https://xp0.xconnect&lt;/a&gt; and I see an error&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;HTTP Error 403.16 - Forbidden Your client certificate is either not&#xA;  trusted or is invalid.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Module       IIS Web Core Notification       BeginRequest Handler&lt;br&gt;&#xA;  ExtensionlessUrlHandler-Integrated-4.0 Error Code    0x800b0109&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I used the Chris Auer installation guide, which is excellent and it also generates the Certificate as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Server Certificates, I can see the generated Certificates. I also tried to generate and Self Signed Certificated and Change, but all my attempts failed&#xA;Any suggestions? thanks &lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="2727" LastEditDate="2018-02-06T20:40:07.753" LastActivityDate="2020-04-06T11:33:23.513" Title="xConnect INVALID CERTIFICATE" Tags="|xconnect|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8792" PostTypeId="2" ParentId="8766" CreationDate="2017-12-03T19:30:01.787" Score="2" Body="&lt;p&gt;Extracting the inputs from Chris Auer and Richard Hauer, consolidating below the best fit solution in our scenario. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a temporary solution we have built MongoDB scripts on Interaction collection for all the data required from Mongo. Since using MongoChef as GUI tool we are also able to export the data in CSV format. Imported the CSV in a SQL table and playing around for the additional joins on Legacy DB tables for required reporting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a permanent solution, since it is a Monthly report for us hence rather tweaking the OOB aggregation framework, we are planning to introduce a custom batch process to pull the required documents from Interaction collection and populate a custom table in our SQL DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks Chris Auer and Richard Hauer for the guidance.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2017-12-03T19:30:01.787" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8793" PostTypeId="1" AcceptedAnswerId="10702" CreationDate="2017-12-03T20:43:21.607" Score="9" ViewCount="413" Body="&lt;p&gt;Want to check if we have any guidelines (metrics) helpful to decide either Mongo or SQL will be good fit while Upgrading to Sitecore 9, especially if the current version in below 7.5 (No Mongo). Mentioning few criteria below, can be extended further:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Architecture topologies &lt;/li&gt;&#xA;&lt;li&gt;Peak load conditions&lt;/li&gt;&#xA;&lt;li&gt;Minimum and maximum traffic/load on the website&lt;/li&gt;&#xA;&lt;li&gt;Concurrent logins/users &lt;/li&gt;&#xA;&lt;li&gt;xConnect End Points and Refresh Rate&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-03-11T19:17:35.563" Title="Any Guidelines to choose between SQL or Mongo for xDB on Sitecore 9?" Tags="|xdb|upgrade|mongodb|xconnect|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8794" PostTypeId="2" ParentId="6872" CreationDate="2017-12-03T22:22:57.300" Score="0" Body="&lt;p&gt;I was also receiving a 404 message in Powershell ISE within Sitecore. When I looked at my Sitecore log file I could see some nested exceptions including these lines&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Web.HttpException&#xA;Message: The file '/sitecore modules/powershell/services/404.htm' does not exist.&#xA;Source: System.Web&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There was a &lt;code&gt;web.config&lt;/code&gt; in the &lt;code&gt;sitecore modules\PowerShell\Services&lt;/code&gt; directory which included these lines&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Alternative to disabling the Documentation protocol --&amp;gt;&#xA;      &amp;lt;!-- https://msdn.microsoft.com/en-us/library/2tyf2t8t(v=vs.100).aspx --&amp;gt;&#xA;      &amp;lt;wsdlHelpGenerator href=&quot;404.htm&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Commenting out the wsdlHelpGenerator line resolved my issue, I was also able to access &lt;code&gt;sitecore%20modules/PowerShell/Services/RemoteAutomation.asmx&lt;/code&gt; directly via the browser.&lt;/p&gt;&#xA;" OwnerUserId="702" LastActivityDate="2017-12-03T22:22:57.300" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8795" PostTypeId="1" AcceptedAnswerId="8803" CreationDate="2017-12-04T02:50:35.423" Score="11" ViewCount="8155" Body="&lt;p&gt;I have implemented a global search on our website which gets the data result from _content field in solr indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Single word search works perfectly fine but I am currently facing an issue if I have two or more words but the second word is partial. example&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I search &quot;thrill&quot; - search works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I search &quot;thri&quot; - search works fine and gives me the result of content which contains thril.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I search &quot;thrill rides&quot; - search works fine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but if I search &quot;thrill ri&quot; or &quot;thrill rid&quot;- it does not return any result where I am expecting the result pages which contains &quot;thrill rides&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is the second partial string which does not work&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried searching the same query inside the Sitecore content manager and it gives me the same result as on my website&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I am thinking that it is not something related in the code (below) but in the configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      var startItem = sitecoreContext.GetHomeItem&amp;lt;Item&amp;gt;();&#xA;    using (var searchContext = ContentSearchManager.GetIndex(new SitecoreIndexableItem(startItem)).CreateSearchContext())&#xA;    {&#xA;        var filterPredicate = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();                    &#xA;        filterPredicate = filterPredicate.And(x =&amp;gt; x.Content.Contains(queryItem)).Or(x =&amp;gt; x.Name.Contains(queryItem));&#xA;        var query = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Filter(filterPredicate);&#xA;                    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;may be I need to add some configuration in &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;analyzer type=&quot;index&quot;&amp;gt; in schema.xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Currently it has default settings&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;fieldType name=&quot;text_general&quot; class=&quot;solr.TextField&quot; positionIncrementGap=&quot;100&quot;&amp;gt;&#xA;      &amp;lt;analyzer type=&quot;index&quot;&amp;gt;&#xA;        &amp;lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot; /&amp;gt;&#xA;        &amp;lt;filter class=&quot;solr.StopFilterFactory&quot; ignoreCase=&quot;true&quot; words=&quot;stopwords.txt&quot; /&amp;gt;       &#xA;        &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot; /&amp;gt;&#xA;      &amp;lt;/analyzer&amp;gt;&#xA;      &amp;lt;analyzer type=&quot;query&quot;&amp;gt;&#xA;        &amp;lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot; /&amp;gt;&#xA;        &amp;lt;filter class=&quot;solr.StopFilterFactory&quot; ignoreCase=&quot;true&quot; words=&quot;stopwords.txt&quot; /&amp;gt;&#xA;        &amp;lt;filter class=&quot;solr.SynonymFilterFactory&quot; synonyms=&quot;synonyms.txt&quot; ignoreCase=&quot;true&quot; expand=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot; /&amp;gt;&#xA;      &amp;lt;/analyzer&amp;gt;&#xA;    &amp;lt;/fieldType&amp;gt;              &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can anyone please help me. Thanks&lt;/p&gt;&#xA;" OwnerUserId="2880" LastEditorUserId="2880" LastEditDate="2017-12-04T10:25:38.940" LastActivityDate="2017-12-08T16:41:48.327" Title="Multiple partial word search not working" Tags="|content-search|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8796" PostTypeId="1" AcceptedAnswerId="8806" CreationDate="2017-12-04T05:14:22.653" Score="0" ViewCount="738" Body="&lt;p&gt;I am in the need to expose a restful api which eventually will insert items to bucket list available in sitecore. This api will be cosnumed by another MVC application to push records into sitecore bucket-list. I have following queries.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Will it possible to create restful api in sitecore using Sitecore Item Web API&lt;/li&gt;&#xA;&lt;li&gt;Is there any better way of implementing this feature.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am using sitecore 7.2&lt;/p&gt;&#xA;" OwnerUserId="2418" LastEditorUserId="73" LastEditDate="2017-12-04T11:11:15.167" LastActivityDate="2017-12-04T16:42:22.570" Title="Can I use Sitecore Item Web API to insert items into bucket list from different application" Tags="|sitecore-api|webapi|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8797" PostTypeId="1" AcceptedAnswerId="8807" CreationDate="2017-12-04T06:28:44.973" Score="2" ViewCount="526" Body="&lt;p&gt;I'm currently designing a website in SXA. I've encountered an issue wherein the contents of a Tab is appearing in Desktop, but not in Mobile. Inspecting the mobile markup, only the texts in the tab is missing, the tab structure itself is there. Also, if you'd notice the change from Tab to Accordion in mobile, we changed the code of the Tab a bit so that the component can change to an Accordion when in mobile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would appreciate all the help! Thanks in advance.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/51lSn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/51lSn.png&quot; alt=&quot;Mobile version&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nPVfW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nPVfW.png&quot; alt=&quot;Desktop version&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2882" LastEditorUserId="1316" LastEditDate="2017-12-05T13:40:15.673" LastActivityDate="2017-12-05T16:46:04.163" Title="Content not displayed on mobile" Tags="|sxa|presentation|responsive-design|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8799" PostTypeId="2" ParentId="8793" CreationDate="2017-12-04T12:02:08.237" Score="4" Body="&lt;p&gt;As MongoDB is not supported by Sitecore 9 there is no recommendation yet. Any advice you get will only be a speculation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said that, I think that there will not be any significant differences in supported topologies, performance or features (sharding, encryption, etc.). So, I would compare license and maintenance cost as well as evaluate development skills that your team possesses for both of these technologies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone has more insights, I am very curious to hear.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-12-04T12:02:08.237" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8800" PostTypeId="2" ParentId="2305" CreationDate="2017-12-04T14:16:02.677" Score="-2" Body="&lt;p&gt;You may need to check if your Global asax inherits from Sitecore.Web.Application&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Application Codebehind=&quot;Global.asax.cs&quot; Inherits=&quot;Sitecore.Web.Application&quot; Language=&quot;C#&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2744" LastActivityDate="2017-12-04T14:16:02.677" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8801" PostTypeId="2" ParentId="8790" CreationDate="2017-12-04T14:19:59.550" Score="4" Body="&lt;p&gt;I believe this is a known issue in WFFM 8.2 until update 6 was released.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a similar post to this here for WFFM 8.2 Update 4 (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/7651/wffm-selecting-a-list-item-doesnt-work&quot;&gt;WFFM Selecting a List Item doesn&amp;#39;t work&lt;/a&gt;) and it looks like it's still and issue in WFFM Update 5 as it isn't in the release notes here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/82/Web%20Forms%20For%20Marketers%2082%20Update5/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/82/Web%20Forms%20For%20Marketers%2082%20Update5/Release%20Notes&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it is in the release notes for Update 6:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/82/Web%20Forms%20For%20Marketers%2082%20Update6/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/82/Web%20Forms%20For%20Marketers%2082%20Update6/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the List Items Editor, ​you cannot​ change the values of the Value&#xA;  or Text fields.​​​    - 133319&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you request the support package 133319 from Sitecore that should solve it for you.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-12-04T14:19:59.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8802" PostTypeId="1" AcceptedAnswerId="8804" CreationDate="2017-12-04T15:14:40.787" Score="6" ViewCount="623" Body="&lt;p&gt;When adding personalization rules to a component I get this option: &quot;where the specific campaign was triggered during a past or current interaction and when the number of elapsed days compares to number and when the past number of interactions compares to number&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This seems the perfect rule for personalization based on a specific goal. I added the goal and set the number of elapsed days to less than 10. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some questions about this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Does this mean that the rule will be taken into account if the visitor has triggered the goal in the last 10 days?&lt;/li&gt;&#xA;&lt;li&gt;Does this imply that the rule will be applied to the next sessions too (and not only to the current visit) if these take place within 10 days of the triggered goal?&lt;/li&gt;&#xA;&lt;li&gt;What are the &quot;number of interactions&quot; mentioned at the end of the rule and why is it a mandatory field?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks a lot!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stein&lt;/p&gt;&#xA;" OwnerUserId="2888" LastActivityDate="2017-12-04T15:49:03.253" Title="What does the number of interactions mean in the personalization visitor rules" Tags="|experience-editor|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8803" PostTypeId="2" ParentId="8795" CreationDate="2017-12-04T15:36:42.603" Score="10" Body="&lt;p&gt;As it is mentioned in documentation, Solr does not support the wildcard query (this is a type of query to which &lt;code&gt;.contains(&quot;phrase&quot;)&lt;/code&gt; will be converted) for search phrases:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Solr’s standard query parser supports single and multiple character wildcard searches within single terms. Wildcard characters can be applied to single terms, but not to search phrases. &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/the-standard-query-parser.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/the-standard-query-parser.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When you try to search &lt;code&gt;&quot;thri&quot;&lt;/code&gt;, your query is parsed as &lt;code&gt;&amp;lt;str name=&quot;parsed query&quot;&amp;gt;content:thri&amp;lt;/str&amp;gt;&lt;/code&gt; and Solr searches for &lt;code&gt;&quot;thri&quot;&lt;/code&gt; as a part of word or an entire word.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when you try to search &lt;code&gt;&quot;thrill rid&quot;&lt;/code&gt;, your query is parsed as &lt;code&gt;&amp;lt;str name=&quot;parsedquery&quot;&amp;gt;PhraseQuery(_content:&quot;thrill rid&quot;)&amp;lt;/str&amp;gt;&lt;/code&gt;. In this case, Solr searches of containing the &lt;code&gt;&quot;thrill&quot;&lt;/code&gt; and &lt;code&gt;&quot;rid&quot;&lt;/code&gt; just as entire words in the document and you don't get any results, because you don't have a document with &lt;code&gt;&quot;rid&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest way to supporting multi word search with search by the part of word is to apply the code like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var querySplitted = queryItem.Split(' '); //Split the queryItem by the white space (or any other symbols if you need)&#xA;&#xA;var predicate = PredicateBuilder.False&amp;lt;TIndexModel&amp;gt;();&#xA;&#xA;var namePredicate = PredicateBuilder.True&amp;lt;TIndexModel&amp;gt;();&#xA;var contentPredicate = PredicateBuilder.True&amp;lt;TIndexModel&amp;gt;();&#xA;&#xA;foreach (var query in querySplitted)&#xA;{&#xA;&#xA;     namePredicate = namePredicate.And(item =&amp;gt; item.Name.Contains(query).Boost(1.5f));&#xA;     contentPredicate = contentPredicate.And(item =&amp;gt; item.Content.Contains(query));&#xA;}&#xA;&#xA;predicate = predicate.Or(namePredicate).Or(contentPredicate);&#xA;&#xA;var query = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Filter(predicate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code above works as you expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way is to change the &lt;strong&gt;tokenizer&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, you use the &lt;code&gt;StandardTokenizerFactory&lt;/code&gt; for both &lt;em&gt;&quot;index&quot;&lt;/em&gt; and &quot;query&quot; analyzers. This tokenizer splits your &lt;code&gt;&quot;thrill rides&quot;&lt;/code&gt; into two words: &lt;code&gt;&quot;thrill&quot;, &quot;rides&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to search by parts of a word, you need apply, for example, &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/tokenizers.html#Tokenizers-N-GramTokenizer&quot; rel=&quot;nofollow noreferrer&quot;&gt;N-Gram Tokenizer&lt;/a&gt;, &lt;code&gt;&amp;lt;tokenizer class=&quot;solr.NGramTokenizerFactory&quot; minGramSize=&quot;3&quot; maxGramSize=&quot;5&quot;/&amp;gt;&lt;/code&gt;,  which will devide your &lt;code&gt;&quot;thrill rides&quot;&lt;/code&gt; phrase to the foolowing parts: &lt;code&gt;thri thril hril hrill rill rill ill ill rid rid ride ride rides ides&lt;/code&gt;. In this case you will be able to search by the part of word.&#xA;You need apply the &lt;code&gt;NGramTokenizerFactory&lt;/code&gt; for both analyzers:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;text_general&quot; class=&quot;solr.TextField&quot; positionIncrementGap=&quot;100&quot; multiValued=&quot;false&quot;&amp;gt;&#xA;    &amp;lt;analyzer type=&quot;index&quot;&amp;gt;&#xA;      &amp;lt;tokenizer class=&quot;solr.NGramTokenizerFactory&quot; minGramSize=&quot;3&quot; maxGramSize=&quot;5&quot;/&amp;gt;&#xA;      &amp;lt;filter class=&quot;solr.StopFilterFactory&quot; words=&quot;stopwords.txt&quot; ignoreCase=&quot;true&quot;/&amp;gt;&#xA;      &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&amp;gt;&#xA;    &amp;lt;/analyzer&amp;gt;&#xA;    &amp;lt;analyzer type=&quot;query&quot;&amp;gt;&#xA;      &amp;lt;tokenizer class=&quot;solr.NGramTokenizerFactory&quot; minGramSize=&quot;3&quot; maxGramSize=&quot;5&quot;/&amp;gt;&#xA;      &amp;lt;filter class=&quot;solr.StopFilterFactory&quot; words=&quot;stopwords.txt&quot; ignoreCase=&quot;true&quot;/&amp;gt;&#xA;      &amp;lt;filter class=&quot;solr.SynonymFilterFactory&quot; expand=&quot;true&quot; ignoreCase=&quot;true&quot; synonyms=&quot;synonyms.txt&quot;/&amp;gt;&#xA;      &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&amp;gt;&#xA;    &amp;lt;/analyzer&amp;gt;&#xA;  &amp;lt;/fieldType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In case of using NGramTokenizerFactory, you need to use &lt;code&gt;==&lt;/code&gt; operator instead of &lt;code&gt;.Contains()&lt;/code&gt;. For example: &lt;code&gt;predicate.Or(item =&amp;gt; item.Name == query)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In case you change the analyzer to NGramTokenizerFactory be careful as the size of index will increase and potentially &lt;strong&gt;can cause a performance issue&lt;/strong&gt;. I recommend you think twice before changing of analyzer.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-12-08T16:41:48.327" LastActivityDate="2017-12-08T16:41:48.327" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8804" PostTypeId="2" ParentId="8802" CreationDate="2017-12-04T15:49:03.253" Score="5" Body="&lt;p&gt;There's a very similar rule to this that is more suitable for your use case, which replaces &quot;Campaign&quot; with &quot;Goal&quot;. This allows you to specify a specific goal in the rule. The ID for this rule definition is &lt;code&gt;{C1DA0D65-C9C7-4526-91BB-E0390A7D3833}&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will answer your questions, but you must bear in mind the note I add at the end:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Yes, the rule should pass if the goal was triggered within the last 10 days. The number you provide is compared to the number of elapsed days between the current DateTime and the &lt;code&gt;InteractionStartDateTime&lt;/code&gt; of the Interaction.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Yes, the rule is checked against both the current visit and past interactions, as long as they are within the timeframe supplied (i.e. within the past 10 days).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;This allows you to limit not just by date but by time too. For example, you could only want the rule to pass if the goal was triggered within the last 5 visits to the website. I'm unsure why it is mandatory, but it may just be to cut down on number of rule permutations needed to cover scenarios. To effectively ignore it, you could set NumberOfPastInteractions to &lt;code&gt;Not equal to 0&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;However, important note!&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above being said, that is how the rule &lt;em&gt;should&lt;/em&gt; work. There is actually a bug that prevents this rule running in this manner. It affects all current versions of Sitecore that the rule exists in (8.1 to 9.0 Initial Release).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/4527/personalize-a-component-using-outcomes/8744#8744&quot;&gt;My answer to this question on rules against outcomes&lt;/a&gt; covers the details of this specific bug. So if you would like to use the rule in the way you have described, you are going to need to currently re-implement it or escalate with Sitecore for a patch.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-12-04T15:49:03.253" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8805" PostTypeId="2" ParentId="8785" CreationDate="2017-12-04T16:19:46.537" Score="0" Body="&lt;p&gt;Check out this detailed video, it might be useful by Chris Auer&#xA;&lt;a href=&quot;https://www.youtube.com/watch?v=82luFi83Gl0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=82luFi83Gl0&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1171" LastActivityDate="2017-12-04T16:19:46.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8806" PostTypeId="2" ParentId="8796" CreationDate="2017-12-04T16:42:22.570" Score="2" Body="&lt;p&gt;Yes, the Sitecore Item Web API can be used to create items via HTTP POST requests. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You do this by POSTing to a URL such as this, to specify the parent item and template to use:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://[host name]/-/item/v1?sc_itemid={XXXXXXXX-ITEM-GUID-HERE-XXXXXXXXXXXX}&amp;amp;template={XXXXXXXX-TMPL-GUID-HERE-XXXXXXXXXXXX}&amp;amp;sc_database=master&amp;amp;name=MyNewItem&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And field contents are provided as a &lt;code&gt;x-www-form-urlencoded&lt;/code&gt; body, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;fieldname=fieldvalue&amp;amp;anotherfieldname=fieldvalue&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc66-71-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;The full documentation for the Item Web API&lt;/a&gt; has more details, including how to manage the security of this API. Though it states up to Sitecore 7.1, this documentation is also applicable to Sitecore 7.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With respect to item buckets, you can use the standard API for this. As long as the new item template is set to be Bucketable in the &lt;code&gt;Standard Values&lt;/code&gt;, and the parent item you are creating the new item under is a bucket, this will be created as a bucket item without needing any special treatment.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-12-04T16:42:22.570" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8807" PostTypeId="2" ParentId="8797" CreationDate="2017-12-04T18:49:26.260" Score="4" Body="&lt;p&gt;This is a bug introduced in &lt;strong&gt;SXA 1.5&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please contact Sitecore support, they will provide you a hot-fix for this. The code change is required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now, without any code changes, you can mitigate this issue by copying presentation details from &lt;code&gt;Default&lt;/code&gt; to &lt;code&gt;Mobile&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HWJvV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HWJvV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Turns out that this is even better for you as you will be able to switch rendering without custom code&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Sto7D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Sto7D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-12-05T16:46:04.163" LastActivityDate="2017-12-05T16:46:04.163" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8808" PostTypeId="2" ParentId="8534" CreationDate="2017-12-04T21:18:37.623" Score="0" Body="&lt;p&gt;The questions are a bit broad, but I'll try and answer them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Personalization&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&quot;The very little I've read about EXM so far tells me the emails are put together like pages, with presentation details, so creating a rendering that says &quot;query the content and return only that which was updated last hour&quot; seems basic. What about passing in the user information though?&quot;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes, the contents of an email campaign is a rendering of a page, so you may use any type of personalization that Sitecore already supports, as well as any type of custom personalization. When EXM renders the page, a query string specifying the contact id is added to the request, ec_contact_id, which you can use to identify the contact and do custom personalization. In later versions you can access the contact id directly from Sitecore.Modules.EmailCampaign.Core.ExmContext, but that's unfortunately not available in EXM 3.2.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Contact lists&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&quot;Would my recipient list be &quot;all users who request an hourly update&quot; via a user profile setting?&quot;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM uses List Manager to get a list of contacts. You may use any List Manager list i.e. &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/the_list_manager/creating_lists/create_a_contact_list_or_a_segmented_list#_Segment_the_included&quot; rel=&quot;nofollow noreferrer&quot;&gt;a contact list or a segmented list.&lt;/a&gt;. For your scenario it sounds like you want to be using a segmented list. If you create a custom facet to store their user profile setting, you will be able to create a segmented list which will automatically return e.g. all contacts who've requested hourly updates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Skipping contacts&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&quot;Is there then a way to tell EXM not to send an email if that rendering has no data&quot;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is possible by customizing the DispatchNewsletter and/or SendEmail pipelines, but I would recommend that you instead filter the contacts our in your segmented list, as there is no point in trying to process them if you already know they should be skipped.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-12-04T21:18:37.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8809" PostTypeId="1" AcceptedAnswerId="8822" CreationDate="2017-12-04T21:49:09.330" Score="2" ViewCount="2309" Body="&lt;p&gt;I'm trying to set up SendGrid in Azure and use it to facilitate emailing in Sitecore by populating the MailServer (MailServer, MailServerUserName, MailServerPassword, MailServerPort) values in the config to the values specific to the SendGrid service I set up.  I've tested that I can authenticate and email from this service using some telnet command line commands, but when it comes to Sitecore, it appears that proper communication is not occuring.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to test by going through the &quot;Forgot My Password&quot; flow, I get a silent error that's logged in the logs reading:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;10404 18:01:39 ERROR SMTP client email sending failed.&#xA;Exception: System.Net.Mail.SmtpException&#xA;Message: The server committed a protocol violation The server response was:&#xA;Source: System&#xA;   at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)&#xA;   at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My suspicion is that my credentials aren't getting passed properly.  If I put in bogus values for username / password, the outcome isn't any different errorwise.  If anyone has set this up before, I'd appreciate any perspective you might have on troubleshooting this or otherwise general advice about how to set this up properly.&lt;/p&gt;&#xA;" OwnerUserId="2289" LastActivityDate="2023-08-01T11:26:57.543" Title="Sitecore and Sendgrid" Tags="|azure|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8810" PostTypeId="2" ParentId="8809" CreationDate="2017-12-04T22:45:21.860" Score="0" Body="&lt;p&gt;Do you have a CA and CD Server? If so then you need to do the following:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;On a Content Delivery (CD) instance&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;On the Content Delivery (CD) instance, in a text editor, open the&#xA;Sitecore.config file.&lt;/li&gt;&#xA;&lt;li&gt;Configure the following SMTP settings:&#xA;MailServer, MailServerUserName, MailServerPassword.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;strong&gt;On a Content Management (CM) instance&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;In the content tree, navigate to the Save Actions folder&lt;br /&gt;&#xA;(sitecore/System/Modules/Web Forms for&lt;br /&gt;&#xA;Marketers/Settings/Actions/Save Actions) and click the Send Email&lt;br /&gt;&#xA;Message item.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the right pane, in the Submit tab, in the Parameters field, delete the &lt;code&gt;&amp;lt;Host&amp;gt;&amp;lt;/Host&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;Login&amp;gt;&amp;lt;/Login&amp;gt;&lt;/code&gt; and&lt;br /&gt;&#xA;&lt;code&gt;&amp;lt;Password&amp;gt;&amp;lt;Password&amp;gt;&lt;/code&gt; parameters, if you have any. Click Save, and&lt;br /&gt;&#xA;republish your website.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;More info here:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/80/working_with_fields_actions_and_validations/save_actions/specify_different_smtp_settings_for_the_send_email_message_save_action&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/80/working_with_fields_actions_and_validations/save_actions/specify_different_smtp_settings_for_the_send_email_message_save_action&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.krusen.dk/sitecore-8-wffm-email-settings-cheat-sheet/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.krusen.dk/sitecore-8-wffm-email-settings-cheat-sheet/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I've also used this approach to use a pipeline to configure this for various environments too and it works quite well:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/lowedown/7f98ec0b3e3f2341ba21&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/lowedown/7f98ec0b3e3f2341ba21&lt;/a&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;processMessage&amp;gt;&#xA;    &amp;lt;!-- Custom E-Mail Processor for Web Forms --&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;MyProject.Forms.EMail.ApplySendingSettings, MyProject&amp;quot; method=&amp;quot;Process&amp;quot; patch:before=&amp;quot;processor[@method='SendEmail']&amp;quot;/&amp;gt;&#xA;  &amp;lt;/processMessage&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;    &#xA;&amp;lt;settings&amp;gt;&#xA;&#xA;&amp;lt;!-- Mail Server Host Name / Port --&amp;gt;&#xA;&amp;lt;setting name=&amp;quot;WFM.Custom.Email.Host&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;&#xA;&amp;lt;setting name=&amp;quot;WFM.Custom.Email.Port&amp;quot; value=&amp;quot;25&amp;quot;/&amp;gt;&#xA;&#xA;&amp;lt;!-- Mail Server login credentials --&amp;gt;&#xA;&amp;lt;setting name=&amp;quot;WFM.Custom.Email.User&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;&#xA;&amp;lt;setting name=&amp;quot;WFM.Custom.Email.Password&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;&#xA;&#xA;&amp;lt;setting name=&amp;quot;WFM.Custom.Email.EnableSSL&amp;quot; value=&amp;quot;false&amp;quot;/&amp;gt;&#xA;&amp;lt;setting name=&amp;quot;WFM.Custom.Email.SendAsHtml&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&#xA;&#xA;&amp;lt;!-- From address to use unless specified otherwise in save action --&amp;gt;&#xA;&amp;lt;setting name=&amp;quot;WFM.Custom.Email.From&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;&#xA;&#xA;&amp;lt;!-- Global BCC address added to every message --&amp;gt;&#xA;&amp;lt;setting name=&amp;quot;WFM.Custom.Email.Bcc&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;&#xA;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastEditorUserId="605" LastEditDate="2023-08-01T11:26:57.543" LastActivityDate="2023-08-01T11:26:57.543" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="8811" PostTypeId="2" ParentId="8293" CreationDate="2017-12-05T07:41:34.680" Score="1" Body="&lt;p&gt;I wanted to show some info from contact custom facet in message. I thought that I can resolve it with message tokens, but it's not try and will be difficult, as I see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found another way how can I do that. I used Message Personalization on my rendering where I wanted to show contact data. Before sending message, you must  check Personalization checkbox on Delivery Step:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZvP7d.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZvP7d.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It means that for each recipient EMX will render message for sending individually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And now we can easily get recipientID from query string (&lt;strong&gt;ec_recipient&lt;/strong&gt;) in your Action,  where it needed:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private Guid GetContactId()&#xA;        {&#xA;            var contactGuid = Guid.Empty;&#xA;            var recipientId = string.Empty;&#xA;            var recipientIdObj = System.Web.HttpContext.Current.Request.QueryString[&quot;ec_recipient&quot;];&#xA;            if (recipientIdObj != null)&#xA;            {&#xA;                recipientId = recipientIdObj;&#xA;            }&#xA;&#xA;            if (!string.IsNullOrEmpty(recipientId))&#xA;            {&#xA;                recipientId = recipientId.Replace(&quot;xdb:&quot;, string.Empty);&#xA;                ShortID shortRecipientId;&#xA;                if (ShortID.TryParse(recipientId, out shortRecipientId))&#xA;                    contactGuid = shortRecipientId.Guid;&#xA;            }&#xA;            else if(Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.Contact != null)&#xA;            {&#xA;                contactGuid = Tracker.Current.Contact.ContactId;&#xA;            }&#xA;&#xA;            return contactGuid != Guid.Empty ? contactGuid : Guid.Empty;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you have contactId, you can find your contact, get data from contact facet,  return it in your Action and render contact data on View.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-12-05T07:41:34.680" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8812" PostTypeId="1" CreationDate="2017-12-05T07:48:40.530" Score="2" ViewCount="100" Body="&lt;p&gt;We want to schedule an automatic asset (graphic, text etc) replacement. Here is my plan that makes the purpose also clear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want a particular image to get automatically replaced at midnight on certain days (say Dec 25, Jan 1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I plan to create 3 versions of the images (1=current, 2=Christmas, 3=New Year). I will set the publish and unpublish dates for each version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I setup things so that the version 2 of the image goes live at midnight on Dec 25 and replaces the version 1 of the image. Similarly, on Jan 1st, the version 3 should go live and replace version 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Concerns:&lt;/strong&gt;&#xA;1. We need to arrange for self-publishing of the assets at that time.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Do we need to republish the pages using this image also? (There are about 100).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Notes:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I do not care about the exact time for the publish. So a few seconds early or late won't matter much.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can you please advise a solution or point me to some resource? Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="2550" LastEditorUserId="1316" LastEditDate="2017-12-05T08:21:27.930" LastActivityDate="2017-12-06T14:56:30.283" Title="Automatic asset replacement at a fixed time" Tags="|publishing|media-library|rules-engine|versions|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8813" PostTypeId="2" ParentId="8812" CreationDate="2017-12-05T08:02:11.583" Score="2" Body="&lt;p&gt;I don't think that is a correct solution for you to use &lt;strong&gt;Publishing Restrictions&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/preview_and_setup/set_up_publishing_restrictions_for_an_item&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you specify a date range for when an item or item version is&#xA;  publishable, it does not mean that the item is published on the start&#xA;  date and removed again on the end date. Instead, it means that the&#xA;  item is available for publishing and included when you publish that&#xA;  item or the entire website. To make an item appear on your website on&#xA;  the start date and removed again on the end date, you must run the&#xA;  Publish Item wizard on both days.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As &lt;em&gt;Marek Musielak&lt;/em&gt; suggested, will be better if you will use personalization rules where you can set conditions for change datasource, which will depend on specific dates&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-12-05T08:02:11.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8814" PostTypeId="1" AcceptedAnswerId="8815" CreationDate="2017-12-05T10:40:37.820" Score="6" ViewCount="844" Body="&lt;p&gt;I've configured a Minion for my Sitecore Commerce solution. We're on 8.2.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's set up like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  {&#xA;    &quot;$type&quot;: &quot;XYZ.Commerce.Plugin.Custom.Policies.QueuePolicy, XYZ.Commerce.Plugin.Custom&quot;,&#xA;    &quot;ConnectionString&quot;: &quot;[redacted]&quot;,&#xA;    &quot;WakeupInterval&quot;: &quot;00:05:00&quot;,&#xA;    &quot;QueueName&quot;: &quot;preprod&quot;,&#xA;    &quot;Models&quot;: {&#xA;      &quot;$type&quot;: &quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Model, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;      &quot;$values&quot;: [&#xA;      ]&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've been following this guide: &lt;a href=&quot;https://websterian.com/2017/06/08/sitecore-commerce-erp-integration-an-approach-part-1-integrating-orders-and-customers/&quot; rel=&quot;noreferrer&quot;&gt;https://websterian.com/2017/06/08/sitecore-commerce-erp-integration-an-approach-part-1-integrating-orders-and-customers/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wherein it states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Minions are designed to be run on schedule, the default is every five&#xA;  minutes but this can be changed in your environment file as per this&#xA;  example…&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q72Vw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q72Vw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this doesn't appear to be enough. My Minion still needs to be kickstarted via a post (as described elsewhere in the same linked article).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I must be overlooking something. How can I ensure, my Minion is always up and running on a specified interval, in plain configuration?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-08-22T17:49:41.570" Title="How do I auto-start my Commerce Minions?" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8815" PostTypeId="2" ParentId="8814" CreationDate="2017-12-05T12:08:54.460" Score="6" Body="&lt;p&gt;You need to reference your minion inside configure method (found in the Commerce.Engine project, Startup.cs):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will have something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Configure(&#xA;       IApplicationBuilder app,&#xA;       IConfigureServiceApiPipeline contextPipeline,&#xA;       IStartNodePipeline startNodePipeline,&#xA;       IConfigureOpsServiceApiPipeline contextOpsServiceApiPipeline,&#xA;       IStartEnvironmentPipeline startEnvironmentPipeline,&#xA;       ILoggerFactory loggerFactory,&#xA;       IOptions&amp;lt;LoggingSettings&amp;gt; loggingSettings,&#xA;       IOptions&amp;lt;ApplicationInsightsSettings&amp;gt; applicationInsightsSettings,&#xA;       IOptions&amp;lt;CertificatesSettings&amp;gt; certificatesSettings)&#xA;       {&#xA;         //your code&#xA;         startEnvironmentPipeline.Run(&quot;yourminion&quot;, _nodeContext.GetPipelineContextOptions());&#xA;       }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="73" LastEditDate="2017-12-05T12:12:06.993" LastActivityDate="2017-12-05T12:12:06.993" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8816" PostTypeId="1" CreationDate="2017-12-05T12:39:51.790" Score="10" ViewCount="843" Body="&lt;p&gt;I have a personalization scenario in which we want to change a component (button label) based on a triggered goal. Not very difficult you would think, but the component exists on all pages. It's impossible to add the personalization rules to each and every page, so I'm looking for a way to implement the rule on component level. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you!&lt;/p&gt;&#xA;" OwnerUserId="2888" LastEditorUserId="1316" LastEditDate="2017-12-05T14:07:22.110" LastActivityDate="2022-05-18T12:05:15.557" Title="Implement personalization on component level" Tags="|presentation|personalization|" AnswerCount="4" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8817" PostTypeId="1" AcceptedAnswerId="8818" CreationDate="2017-12-05T14:11:10.940" Score="3" ViewCount="1534" Body="&lt;p&gt;I have a requirement to create contact and push into XDB using Xconnect.So I'm referring to the &lt;a href=&quot;https://citizensitecore.com/2017/10/17/xconnect-creating-contacts-in-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt; for my implementation&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So when I'm trying to initialize the Xconnect config. It is throwing an exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code Snippet&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; private static XConnectClient GetClient()&#xA;    {&#xA;        var config = new XConnectClientConfiguration(&#xA;           new XdbRuntimeModel(CollectionModel.Model),&#xA;           new Uri(&quot;https://site.xconnect/&quot;),&#xA;           new Uri(&quot;https://site.xconnect/&quot;));&#xA;        try&#xA;        {&#xA;            config.Initialize();&#xA;        }&#xA;        catch (XdbModelConflictException ex)&#xA;        {&#xA;            Console.WriteLine(ex.Message);&#xA;            throw;&#xA;        }&#xA;&#xA;        return new XConnectClient(config);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm getting following exception while calling the  &lt;strong&gt;config.Initialize();&lt;/strong&gt; as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The HTTP response was not successful: Unauthorized&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have referred below &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8561/xconnect-the-http-response-was-not-successful-unauthorized&quot;&gt;Post&lt;/a&gt; but no luck. My scenario is something different as compared with the question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see below snapshot for the exact error information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BFEjc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BFEjc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see below for stack trace of the error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;code&gt;1 taskFactory)&#xA;     at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock(Func&lt;/code&gt;1 taskFactory)&#xA;     at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;     at Sitecore.XConnect.Client.XConnectSynchronousExtensions.Initialize(XConnectClientConfiguration config)&#xA;     at CreateContact.Program.GetClient() in D:\POC\XconnectPOC\CreateContact\Program.cs:line 65&#xA;     at CreateContact.Program.AddContact() in D:\POC\XconnectPOC\CreateContact\Program.cs:line 23&#xA;     at CreateContact.Program.Main(String[] args) in D:\Lexus\POC\XconnectPOC\CreateContact\Program.cs:line 17&#xA;     at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)&#xA;     at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&#xA;     at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&#xA;     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)&#xA;     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&#xA;     at System.Threading.ThreadHelper.ThreadStart()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2473" LastEditorUserId="73" LastEditDate="2017-12-08T19:44:16.163" LastActivityDate="2017-12-08T19:44:16.163" Title="Exception occured while initialize the Xconnect config" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8818" PostTypeId="2" ParentId="8817" CreationDate="2017-12-05T14:14:59.360" Score="5" Body="&lt;p&gt;You need to pass correct certificate on the following line:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;CertificateWebRequestHandlerModifierOptions.Parse(&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=15E6693B0AECB63DE57D991EC363CA462DC52432&quot;);&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please try this code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Valid certificate thumbprints must be passed in&#xA; CertificateWebRequestHandlerModifierOptions options =&#xA; CertificateWebRequestHandlerModifierOptions.Parse(&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=15E6693B0AECB63DE57D991EC363CA462DC52432&quot;);&#xA;&#xA; // Optional timeout modifier&#xA; var certificateModifier = new CertificateWebRequestHandlerModifier(options);&#xA; List&amp;lt;IHttpClientModifier&amp;gt; clientModifiers = new List&amp;lt;IHttpClientModifier&amp;gt;();&#xA; var timeoutClientModifier = new TimeoutHttpClientModifier(new TimeSpan(0, 0, 20));&#xA;&#xA; clientModifiers.Add(timeoutClientModifier);&#xA;&#xA; // This overload takes three client end points - collection, search, and configuration&#xA; var collectionClient = new CollectionWebApiClient(new Uri(&quot;https://sc900rev170622_xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA; var searchClient = new SearchWebApiClient(new Uri(&quot;https://sc900rev170622_xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA; var configurationClient = new ConfigurationWebApiClient(new Uri(&quot;https://sc900rev170622_xconnect/configuration&quot;), clientModifiers, new[] { certificateModifier });&#xA;&#xA; var cfg = new XConnectClientConfiguration(&#xA;                new XdbRuntimeModel(CollectionModel.Model), collectionClient, searchClient, configurationClient);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-12-05T14:14:59.360" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8819" PostTypeId="1" CreationDate="2017-12-05T14:16:34.500" Score="1" ViewCount="145" Body="&lt;p&gt;The big question! You can have all the personalization scenarios in the world, at some point you want to know what the hard numbers are. Sitecore gives the opportunity to test components, however A/B testing our personalizations comes with a big issue. Imagine a certain amount of people get to see the non personalized variation (A) while the another number of people see the personalized variation (B). From the second group (B), there are still a number of people who don't get the personalizated version of the component because the rules are not met. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore the question is how can we measure non personalized versus actual personalized content (so the group of people that apply to the personalization rules)? Are there different ways of measuring results in sitecore?&lt;/p&gt;&#xA;" OwnerUserId="2888" LastActivityDate="2018-07-09T10:13:01.447" Title="How to measure personalization efforts" Tags="|personalization|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8822" PostTypeId="2" ParentId="8809" CreationDate="2017-12-05T16:02:55.977" Score="6" Body="&lt;p&gt;We are using SendGrid successfully in both WFFM and with default Sitecore &lt;code&gt;MailServer&lt;/code&gt; settings. All relevant Sitecore settings are defined below (WFFM intentionally not included).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore Settings&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;MailServer&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;smtp.sendgrid.net&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&amp;lt;setting name=&quot;MailServerUserName&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;apikey&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&amp;lt;setting name=&quot;MailServerPassword&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;PASSWORD&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&amp;lt;setting name=&quot;MailServerPort&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;587&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Web.config&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.net&amp;gt;&#xA;  &amp;lt;mailSettings&amp;gt;&#xA;    &amp;lt;smtp deliveryMethod=&quot;Network&quot;&amp;gt;&#xA;      &amp;lt;network enableSsl=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;/smtp&amp;gt;&#xA;  &amp;lt;/mailSettings&amp;gt;&#xA;&amp;lt;/system.net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can confirm our Forgot Password functionality is working properly with these settings.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2017-12-05T16:12:24.080" LastActivityDate="2017-12-05T16:12:24.080" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8823" PostTypeId="2" ParentId="8490" CreationDate="2017-12-05T16:31:56.887" Score="0" Body="&lt;p&gt;I got a response back from Sitecore Support. The VM I was using to import the file did not have the es-ES culture present. After using a VM that did, the Spanish checkbox was present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Support:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Please make sure that es-ES culture is present on your machine. Please&#xA;  also check whether the issue is reproduced after replacing all the&#xA;   tags with  in your translation files.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="901" LastActivityDate="2017-12-05T16:31:56.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8824" PostTypeId="2" ParentId="8484" CreationDate="2017-12-05T16:35:40.867" Score="1" Body="&lt;p&gt;We logged a ticket with Sitecore for this and they acknowledged and &lt;a href=&quot;https://support.sitecore.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0676973&quot; rel=&quot;nofollow noreferrer&quot;&gt;provided a patch&lt;/a&gt; (KB0676973) to resolve the error.&lt;/p&gt;&#xA;&lt;p&gt;After the patch, selecting a file from search results &lt;strong&gt;works fine if the item belongs to the location defined in &amp;quot;source&amp;quot;&lt;/strong&gt;. You will get the same error when a file outside of &amp;quot;source&amp;quot; location is selected. Sitecore support suggested that we implement code at our end to restrict the search to the &amp;quot;source&amp;quot; location as opposed to showing the content from the entire site.&lt;/p&gt;&#xA;" OwnerUserId="2685" LastEditorUserId="946" LastEditDate="2023-10-20T15:19:41.837" LastActivityDate="2023-10-20T15:19:41.837" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8825" PostTypeId="2" ParentId="8816" CreationDate="2017-12-05T18:03:09.897" Score="-2" Body="&lt;p&gt;You can use Predefined Rules under the Personalization section of the Marketing Control Panel to configure them and then apply them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this thread for more details:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/766/reusing-a-set-of-personalization-rules&quot;&gt;Reusing a set of personalization rules?&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Well, instead of answering the question, then I propose this question should be  most likely &quot;closed&quot; or marked as duplicate. As the post I referred to includes details and pictures.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, having been down voted for not &quot;providing enough details&quot;. Here is more details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either open the Marketing Control Panel and create/modify the predefined rules there or within the desktop/content editor, go to this path:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/system/Marketing Control Panel/Personalization/Predefined Conditions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create the rule that you need for your component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then use the Marketing Control Panel to apply this newly created predefined rule on your component. That will at least reduce the effort dramatically. You do still have to apply the one simple, predefined rule, on the component. But you don't have to recreate the complexity of the rule every time.&lt;/p&gt;&#xA;" OwnerUserId="2395" LastEditorUserId="2395" LastEditDate="2017-12-06T21:02:04.143" LastActivityDate="2017-12-06T21:02:04.143" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8826" PostTypeId="1" CreationDate="2017-12-05T20:48:36.133" Score="2" ViewCount="674" Body="&lt;p&gt;I've got an issue with extending the partial class from a TDS generated Template for glass mapper.&#xA;Basically, I want to add a method to the underlying class to say have a custom string based on a property value.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class _Contributor {&#xA;   public virtual string ContributorUrlQueryString =&amp;gt; $&quot;?name={HttpUtility.UrlEncode(ContributorName)}&amp;amp;id={Id}&quot;.ToLower();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;var contributor = _contentRepository.GetContentItem(id);&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass Mapper  - 1 never hits the function and 2 returns null.  Am I missing something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: &#xA;Changing calling code to use concrete class instead of Interface allows the code to be hit and the expected results:&#xA;    var contributor = _contentRepository.GetContentItem&amp;lt;_Contributor&gt;(id);&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I would still like to use the Interface... &lt;/p&gt;&#xA;" OwnerUserId="197" LastEditorUserId="197" LastEditDate="2017-12-05T21:09:55.910" LastActivityDate="2017-12-06T08:22:31.623" Title="Adding Custom (non sitecore field) property or method to Glass Mapper Class Returns Null" Tags="|glass-mapper|tds|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8827" PostTypeId="1" CreationDate="2017-12-05T21:04:16.770" Score="7" ViewCount="2815" Body="&lt;p&gt;After upgrading to Sitecore 8.2 Update-5 recently I was looking in our CD server's logs and noticed a large number of warnings around the AccessResultCache:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;7792 14:52:05 WARN  AccessResultCache cache is cleared by Sitecore.Caching.Generics.Cache'1+DefaultScavengeStrategy[[Sitecore.Caching.AccessResultCacheKey, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 8.8 MB.&lt;/p&gt;&#xA;&lt;p&gt;7792 14:52:05 WARN  AccessResultCache cache is cleared by Sitecore.Caching.Generics.Cache'1+DefaultScavengeStrategy[[Sitecore.Caching.AccessResultCacheKey, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 9 MB.&lt;/p&gt;&#xA;&lt;p&gt;7792 14:52:05 WARN  AccessResultCache cache is cleared by Sitecore.Caching.Generics.Cache'1+DefaultScavengeStrategy[[Sitecore.Caching.AccessResultCacheKey, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 9 MB.&lt;/p&gt;&#xA;&lt;p&gt;7792 14:52:05 WARN  AccessResultCache cache is cleared by Sitecore.Caching.Generics.Cache'1+DefaultScavengeStrategy[[Sitecore.Caching.AccessResultCacheKey, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 9 MB.&lt;/p&gt;&#xA;&lt;p&gt;7792 14:52:06 WARN  AccessResultCache cache is cleared by Sitecore.Caching.Generics.Cache'1+DefaultScavengeStrategy[[Sitecore.Caching.AccessResultCacheKey, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 9 MB.&lt;/p&gt;&#xA;&lt;p&gt;7792 14:52:06 WARN  AccessResultCache cache is cleared by Sitecore.Caching.Generics.Cache'1+DefaultScavengeStrategy[[Sitecore.Caching.AccessResultCacheKey, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 9 MB.&lt;/p&gt;&#xA;&lt;p&gt;7792 14:52:06 WARN  AccessResultCache cache is cleared by Sitecore.Caching.Generics.Cache'1+DefaultScavengeStrategy[[Sitecore.Caching.AccessResultCacheKey, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 9 MB.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Before upgrading and reverting back to the (in some cases new) default cache sizes, we had &lt;code&gt;Caching.AccessResultCacheSize&lt;/code&gt; set to 2MB, and don't see this cache clearing message.&lt;/p&gt;&#xA;&lt;p&gt;Looking into this further it appears that &lt;a href=&quot;https://sitecorebasics.wordpress.com/2013/01/24/do-you-really-need-accessresultcache-on-cd-servers-if-no-then-disable-it-for-better-performance/&quot; rel=&quot;noreferrer&quot;&gt;on CD server's we can set the size to 0 if we're not using it&lt;/a&gt;, but I'm not sure of the best way to determine if we have legacy code that is relying upon this, or if we have any content that may be restricted.&lt;/p&gt;&#xA;&lt;p&gt;What's the best way to determine if &lt;code&gt;Caching.AccessResultCacheSize&lt;/code&gt; can be set to 0 on a CD server? And is there a reason we might be seeing this message more with a larger cache size, after upgrading from 7.2.current?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-12-05T21:51:40.577" Title="How can I determine if I can set Caching.AccessResultCacheSize to 0?" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8828" PostTypeId="1" CreationDate="2017-12-05T21:15:32.737" Score="0" ViewCount="709" Body="&lt;p&gt;I know you can disable experience editor for accounts and users through Security Editor (by hiding the buttons, etc), but is there a way to disable the Experience Editor on a page-by-page basis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, let's say I have page A and page B. Page A functions like any normal page and content authors can load it in experience editor. When they navigate to page B, the experience editor ribbon follows them and load the page with the Experience Editor ribbon. But is there a way to make Page B not experience editor enabled - making the experience editor not load when users navigate to Page B - but keep it enabled for other pages?&lt;/p&gt;&#xA;" OwnerUserId="2914" LastActivityDate="2018-01-05T00:57:31.767" Title="Disable Experience Editor for a single page" Tags="|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8829" PostTypeId="2" ParentId="8827" CreationDate="2017-12-05T21:51:40.577" Score="1" Body="&lt;p&gt;Every time when anybody accesses any item in Sitecore result of resolved security right is put to AccessResultCache. It is not related to content editing, but to content accessing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you can have it set to 0 as I’m pretty sure you are not using sitecore security on the frontend for a user to see sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even though, one check you can perform is to see the cache on the &lt;code&gt;cache.aspx&lt;/code&gt; page. The flow is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to the domain.com/sitecore/admin/cache.aspx and note down the value of the AccessResultCache.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate and browse some pages on your site.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate back to the &lt;code&gt;cache.aspx&lt;/code&gt; page and see if the value for the AccessResultCache has increased.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But from my point of view, this cache can be disabled on CD Servers.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2017-12-05T21:51:40.577" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8830" PostTypeId="2" ParentId="8828" CreationDate="2017-12-06T00:53:30.587" Score="1" Body="&lt;p&gt;As you are really just concerned with the editor's ability to be able to move / change components, I would suggest that you just use the ability of Placeholder Settings to restrict what users can design components on a page, rather than try to block access to that page in the Experience Editor altogether.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is done by removing the &lt;code&gt;Read&lt;/code&gt; permission for the content editors on the Placeholder Settings item used by that page. This will prevent the editors from being able to change the components, though they will still be able to edit any editable fields, if there are any.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your Placeholder Settings are part of standard values, or just referenced by multiple pages, you will want to make sure you only affect the one page. For this, you can duplicate the settings item to create a &quot;Restricted&quot; version that just differs by having that permission restriction applied to it. You can then edit the page in question to override the layout and change it to use that Placeholder Settings instead of the regular one.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-12-06T00:53:30.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8831" PostTypeId="1" CreationDate="2017-12-06T04:49:36.373" Score="6" ViewCount="424" Body="&lt;p&gt;I've setup and configured a custom facet on the contact but we now want to be able to segment on the fields it contains in the ListManager but they aren't available there. What do I need to do to see them in the ListManager?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I add these fields to the sitecore_analytics_index, will they automatically appear in the ListManager?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="1347" LastEditDate="2017-12-06T05:33:38.000" LastActivityDate="2017-12-07T00:14:31.723" Title="Contact Custom facet not appearing in ListManager" Tags="|rules-engine|contact-facets|list-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8832" PostTypeId="2" ParentId="8831" CreationDate="2017-12-06T05:46:59.143" Score="2" Body="&lt;p&gt;You are halfway there. If you have completed the customization of the Contact Facet, then you need to add Rule Definitions to the Segment Builder in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple examples in Sitecore for Firstname and Surname that allow you to see how to create a Condition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's how I would do it:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Add the Custom Contact Facet attribute to the Analytics Index&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore Provides a &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/contacts/index_custom_contact_facets&quot; rel=&quot;nofollow noreferrer&quot;&gt;really good doc&lt;/a&gt; for accomplishing this.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Create a Custom IndexedContact class&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a custom IndexedContact class that inherits from IndexedContact&lt;/li&gt;&#xA;&lt;li&gt;Set the Property decoration attribute IndexField equal to the Index name you gave the facet in the above step.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add additional custom facet properties here as needed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace CustomNameSpace&#xA;{&#xA;  [PredefinedQuery(&quot;type&quot;, ComparisonType.Equal, &quot;contact&quot;)]&#xA;  public class CustomIndexedContact : IndexedContact &#xA;  {&#xA;    [IndexField(&quot;contact.NewFacetNameFromIndex&quot;)]&#xA;    public string NewPropertyName{ get; set; }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Create New Rule Condition Using New IndexedContact&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new Rule Condition&lt;/li&gt;&#xA;&lt;li&gt;Use the custom IndexedContact you created above.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Compile Code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Rules.SegmentBuilder;&#xA;using Sitecore.ContentSearch.Analytics.Models;&#xA;using Sitecore.ContentSearch.Rules.Conditions;&#xA;using System;&#xA;using System.Linq.Expressions;&#xA;&#xA;namespace CustomNameSpace&#xA;{&#xA;  public class NewPropertyNameCondition&amp;lt;T&amp;gt; : TypedQueryableStringOperatorCondition&amp;lt;T, CustomIndexedContact&amp;gt; where T : VisitorRuleContext&amp;lt;CustomIndexedContact&amp;gt;&#xA;  {&#xA;    protected override Expression&amp;lt;Func&amp;lt;CustomIndexedContact, bool&amp;gt;&amp;gt; GetResultPredicate(T ruleContext)&#xA;    {&#xA;      return this.GetCompareExpression((Expression&amp;lt;Func&amp;lt;CustomIndexedContact, string&amp;gt;&amp;gt;) (c =&amp;gt; c.NewPropertyName), this.Value);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Add the Segment Condition To Sitecore&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Here is a screenshot of an example:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/tQkBv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tQkBv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Duplicate this item naming it after your custom facet attribute&lt;/li&gt;&#xA;&lt;li&gt;Add a Reference to Sitecore.SegmentBuilder.dll&lt;/li&gt;&#xA;&lt;li&gt;Set the type to the namespace, class, and dll name in the Type field on the item to the Condition that you created above&lt;/li&gt;&#xA;&lt;li&gt;Leave the Text field highlighted the same exchange change the text to represent the custom facet attribute.&lt;/li&gt;&#xA;&lt;li&gt;Save and publish.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now go back to List Manager and you will find this Segment Rule is now available for your consumption.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lather rinse repeat for any other custom facet attributes.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-12-07T00:14:31.723" LastActivityDate="2017-12-07T00:14:31.723" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="8833" PostTypeId="2" ParentId="8826" CreationDate="2017-12-06T08:07:08.613" Score="1" Body="&lt;p&gt;If you are using Glass Mapper to map an item to an interface it will create a proxy class implementing that interface, but it will have no connection to the concrete class (or any other implementation of that interface).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use it to map to a concrete class it will still create a proxy but it will pass the call on to the actual implementation (for virtual methods/properties, non-virtual will always call the actual class).&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;However, I would still like to use the Interface...&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Well, one option would then be to make an extension method, like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class Extensions&#xA;{&#xA;    public static string ContributorUrlQueryString(this IContributor contributor)&#xA;    {&#xA;        return $&quot;?name={HttpUtility.UrlEncode(contributor.ContributorName)}&amp;amp;id={contributor.Id}&quot;.ToLower();&#xA;    } &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastActivityDate="2017-12-06T08:07:08.613" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8834" PostTypeId="2" ParentId="8826" CreationDate="2017-12-06T08:22:31.623" Score="2" Body="&lt;p&gt;Soren's answer is correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way to solve this would be to used inferred types and infer from your interface to the concrete type, this assumes there is a one-to-one mapping for templates and classes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType]&#xA;public interface MyI{&#xA;&#xA;   string DoWork{get;}&#xA;}&#xA;&#xA;[SitecoreType(TemplateId='00000')]&#xA;public class MyC : MyI {&#xA;&#xA;  public string DoWork =&amp;gt; &quot;Hello world&quot;;&#xA;}&#xA;&#xA;var result = service.GetItem&amp;lt;MyI&amp;gt;(&quot;/mypath&quot;, InferType:true)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="464" LastActivityDate="2017-12-06T08:22:31.623" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8835" PostTypeId="1" CreationDate="2017-12-06T08:26:41.677" Score="2" ViewCount="2940" Body="&lt;p&gt;How I like to add versioning for an image in media library in Sitecore 8.0.&#xA;Please suggest me how can I do the version of an image?&lt;/p&gt;&#xA;" OwnerUserId="2626" LastEditorUserId="2890" LastEditDate="2018-02-14T21:00:18.140" LastActivityDate="2018-02-14T21:00:18.140" Title="Sitecore image upload versioning in Media Library" Tags="|sitecore-client|media-library|versions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8836" PostTypeId="2" ParentId="8835" CreationDate="2017-12-06T08:36:28.593" Score="4" Body="&lt;p&gt;When you upload a new picture you need to fill checkbox : Make media library versionable :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/y1uWk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/y1uWk.png&quot; alt=&quot;enter code here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details you can find here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/media_items/using_media_items/upload_a_file_to_the_media_library&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/media_items/using_media_items/upload_a_file_to_the_media_library&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-12-06T08:52:09.927" LastActivityDate="2017-12-06T08:52:09.927" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8837" PostTypeId="2" ParentId="8835" CreationDate="2017-12-06T08:41:20.680" Score="2" Body="&lt;p&gt;Sitecore supports to use &lt;code&gt;Unversioned&lt;/code&gt; and &lt;code&gt;Versioned&lt;/code&gt; templates for Media Items. All these templates you can find &lt;code&gt;/sitecore/templates/System/Media&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/laQXt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/laQXt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Versioning for Media items the same as a standard items versioning. You can easily to set Publishing Restrictions and use your Media item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.UploadAsVersionableByDefault&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you set it to &lt;code&gt;true&lt;/code&gt;, item will be created only in one default language version. This media item will use a versioned template &lt;code&gt;/sitecore/templates/System/Media/Versioned/File&lt;/code&gt; template and if it is false, then it will use &lt;code&gt;/Sitecore/templates/System/Media/Unversioned/File&lt;/code&gt; template and create media Item in all those languages which exist under &lt;code&gt;/Sitecore/system/languages&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-12-06T08:41:20.680" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8839" PostTypeId="1" AcceptedAnswerId="8840" CreationDate="2017-12-06T10:48:44.560" Score="10" ViewCount="2076" Body="&lt;p&gt;I'm installing Sitecore 9 XP1 and facing issues with my certificate for XConnect as you can see &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8770/issues-with-xconnect-certificate-does-not-contain-private-key&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, I wonder if is there a specific order to install Sitecore 9 XP1 and that's the root cause of my issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's how I am trying to provisioning the XP1&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Solr installation&lt;/li&gt;&#xA;&lt;li&gt;XConnect Cores in SOLR server&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Cores in SOLR server&lt;/li&gt;&#xA;&lt;li&gt;Generate XConnect certificate&lt;/li&gt;&#xA;&lt;li&gt;Generate XConnect Collection certificate&lt;/li&gt;&#xA;&lt;li&gt;SIF to install  XConnect-XP1-Collection (&lt;strong&gt;Sitecore 9.0.0 rev. 171002 (onPrem)_xp1collection.scwdp.zip&lt;/strong&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And getting error saying that the XConnect certificate does not contain private key&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should I install a different package first? &lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="2890" LastEditDate="2018-02-15T01:32:40.980" LastActivityDate="2018-02-15T07:21:40.017" Title="Is there a specific order to install Sitecore 9 XP1?" Tags="|xconnect|installation|sitecore-install-framework|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8840" PostTypeId="2" ParentId="8839" CreationDate="2017-12-06T11:07:59.987" Score="5" Body="&lt;p&gt;From the PowerShell script provided in the section &lt;strong&gt;5.2 Install Sitecore XP&lt;/strong&gt; of the &lt;a href=&quot;https://dev.sitecore.net/~/media/CBD83D3FE7CA470297CAA7807D1DB296.ashx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Experience Platform Installation Guide&lt;/a&gt;, I can say that the installation order is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install Solr and enable SSL, which includes creating the self-signed certificate and installing both in Solr and in your local machine. See &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8450/why-is-sif-failing-to-create-solr-core&quot;&gt;Why is SIF failing to create Solr core?&lt;/a&gt; for more information.&lt;/li&gt;&#xA;&lt;li&gt;Install client certificate for xConnect&lt;/li&gt;&#xA;&lt;li&gt;Install Solr cores for xdb&lt;/li&gt;&#xA;&lt;li&gt;Deploy xConnect instance&lt;/li&gt;&#xA;&lt;li&gt;Install Solr cores for Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Install Sitecore instance&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2017-12-06T11:15:28.713" LastActivityDate="2017-12-06T11:15:28.713" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8842" PostTypeId="1" CreationDate="2017-12-06T13:12:02.757" Score="5" ViewCount="7404" Body="&lt;p&gt;I installed Sitecore 9 for xP0 , but I'm facing an issue with xConnect I tried to Open the web &lt;a href=&quot;https://sitecorexp1.xconnect&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorexp1.xconnect&lt;/a&gt; and I see an error &lt;strong&gt;HTTP Error 403.16 - Forbidden Your client certificate is either not trusted or is invalid&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Module IIS Web Core Notification BeginRequest Handler ExtensionlessUrlHandler-Integrated-4.0 Error Code 0x800b0109&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client certificate used for this request is not trusted by the Web server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you help me out how to validate the certificate or generate a new certificate for xConnect?&lt;/p&gt;&#xA;" OwnerUserId="2922" LastEditorUserId="246" LastEditDate="2018-01-05T19:22:49.780" LastActivityDate="2018-09-25T04:53:45.703" Title="HTTP Error 403.16 - Forbidden- Sitecore xConnect" Tags="|xconnect|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8843" PostTypeId="2" ParentId="8842" CreationDate="2017-12-06T13:38:21.120" Score="3" Body="&lt;p&gt;It's possible your certificate is not matching the domain you're using. If it is, I would highly recommend having a read through &lt;a href=&quot;https://kamsar.net/index.php/2017/10/All-about-xConnect-Security/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blog post&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The thing that helped me with a similar issue was because in my case the certificate itself was valid, but the app pool user account did not have access to the private key. My error though was &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.Net.WebException: The request was aborted: Could not create&#xA;  SSL/TLS secure channel.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I would check whether you've set the thumbprint correctly, as well as the name/location of the certificate store. &lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2017-12-06T13:38:21.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8844" PostTypeId="1" CreationDate="2017-12-06T13:40:05.917" Score="0" ViewCount="93" Body="&lt;p&gt;I would like to create custom rendering that leverages a search result rendering in SXA.  At the same time allowing the content editor to be able to drag and drop this new rendering in any created pages without the need to configure the search result rendering, facets, scope, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can it be done using custom development that inherits from search results?&lt;/p&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="1000" LastEditDate="2018-02-04T14:51:58.370" LastActivityDate="2018-02-04T14:51:58.370" Title="Custom rendering that leverage search result rendering" Tags="|sxa|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8846" PostTypeId="2" ParentId="8722" CreationDate="2017-12-06T14:22:44.483" Score="0" Body="&lt;p&gt;If you are referring to &lt;a href=&quot;https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine&quot; rel=&quot;nofollow noreferrer&quot;&gt;always encrypted feature&lt;/a&gt; which is provided by Sql Server, then short answer is: no, at the moment &lt;strong&gt;there is no official Sitecore documentation on how to enable the feature in Sitecore 9&lt;/strong&gt;. However, considering that doc site for Sitecore 9 is constantly updated, I would expect the documentation to be published in not too distant future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is known so far is that Always Encrypted is an optional feature which needs to be explicitly configured. It can be enabled just for columns that contain sensitive data (e.g. contact identifiers, facet data). Column master key can be stored in either Windows Certificate store (for on-premise deployments) or Azure Key Vault.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2017-12-06T14:22:44.483" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8847" PostTypeId="2" ParentId="8812" CreationDate="2017-12-06T14:56:30.283" Score="0" Body="&lt;p&gt;Just set the proper Publishing Restrictions for all three versions and let the Sitecore publishes all three versions. Publishing server should be able to manage this as described for example here: &lt;a href=&quot;http://thegrumpycoder.com/tagged/publishing-server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Publishing Server and Content Availability&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="730" LastActivityDate="2017-12-06T14:56:30.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8848" PostTypeId="2" ParentId="8756" CreationDate="2017-12-06T16:17:27.843" Score="1" Body="&lt;p&gt;I'm not sure it's related to VSTS Release, to make sure of that: could you reproduce the exact same process by invoking for example locally this PowerShell command: &lt;code&gt;New-AzureRmResourceGroupDeployment&lt;/code&gt; twice (according your explanation). You should be able to reproduce the same error according to me. You could invoke this command with a &lt;code&gt;-Verbose&lt;/code&gt; to have some logs locally. On the &lt;code&gt;Resource Group&lt;/code&gt; itself (&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-deployment-operations#portal&quot; rel=&quot;nofollow noreferrer&quot;&gt;for example via the Azure portal&lt;/a&gt;) you could have access to the history of the deployments on it, it's here you could have more detailed error messages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, I don't know if it's related to your error, but &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/pull/16&quot; rel=&quot;nofollow noreferrer&quot;&gt;here is a new PR on the official Sitecore ARM Templates repo talking about&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Deploying sxa and the bootloader on azure using the modules are handled in parallel by default...&#xA;  ...When deploying MSDeploy packages concurrent a Bad Request: Conflict is&#xA;  thrown during the deployment.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Maybe related to your problem?&lt;/p&gt;&#xA;" OwnerUserId="2746" LastActivityDate="2017-12-06T16:17:27.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8849" PostTypeId="1" AcceptedAnswerId="8851" CreationDate="2017-12-06T16:35:27.920" Score="2" ViewCount="6971" Body="&lt;p&gt;We have upgraded our site from sitecore 8.0 u2 to 8.2 u4, everything works fine. I am trying to rebuild only 1 index at a time, after indexing some items we are getting error. We are using solr 4.10.3. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Index_Update_IndexName=xyz_master_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; SolrNet.Exceptions.SolrConnectionException: &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;response&amp;gt;&#xA;&amp;lt;lst name=&quot;responseHeader&quot;&amp;gt;&amp;lt;int name=&quot;status&quot;&amp;gt;500&amp;lt;/int&amp;gt;&amp;lt;int name=&quot;QTime&quot;&amp;gt;3&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;lst name=&quot;error&quot;&amp;gt;&amp;lt;str name=&quot;msg&quot;&amp;gt;Exception writing document id sitecore://master/{e3108f29-52d7-438b-939b-851a6df78a75}?lang=en&amp;amp;amp;ver=1&amp;amp;amp;ndx=abc_master_index to the index; possible analysis error.&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;trace&quot;&amp;gt;org.apache.solr.common.SolrException: Exception writing document id sitecore://master/{e3108f29-52d7-438b-939b-851a6df78a75}?lang=en&amp;amp;amp;ver=1&amp;amp;amp;ndx=abc_master_index to the index; possible analysis error.&#xA;    at org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:168)&#xA;    at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:69)&#xA;    at org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)&#xA;    at org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:926)&#xA;    at org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:1080)&#xA;    at org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:692)&#xA;    at org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:100)&#xA;    at org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:247)&#xA;    at org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:174)&#xA;    at org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:99)&#xA;    at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)&#xA;    at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)&#xA;    at org.apache.solr.core.SolrCore.execute(SolrCore.java:1976)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)&#xA;    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)&#xA;    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)&#xA;    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)&#xA;    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)&#xA;    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)&#xA;    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)&#xA;    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)&#xA;    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)&#xA;    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)&#xA;    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)&#xA;    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)&#xA;    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)&#xA;    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)&#xA;    at org.eclipse.jetty.server.Server.handle(Server.java:368)&#xA;    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)&#xA;    at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)&#xA;    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)&#xA;    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)&#xA;    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:647)&#xA;    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)&#xA;    at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)&#xA;    at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)&#xA;    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)&#xA;    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)&#xA;    at java.lang.Thread.run(Unknown Source)&#xA;Caused by: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed&#xA;    at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:698)&#xA;    at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:712)&#xA;    at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1507)&#xA;    at org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandler2.java:240)&#xA;    at org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:164)&#xA;    ... 40 more&#xA;Caused by: java.lang.OutOfMemoryError: Java heap space&#xA;    at org.apache.lucene.util.packed.PackedLongValues$Builder.&amp;amp;lt;init&amp;amp;gt;(PackedLongValues.java:185)&#xA;    at org.apache.lucene.util.packed.DeltaPackedLongValues$Builder.&amp;amp;lt;init&amp;amp;gt;(DeltaPackedLongValues.java:59)&#xA;    at org.apache.lucene.util.packed.PackedLongValues.deltaPackedBuilder(PackedLongValues.java:55)&#xA;    at org.apache.lucene.util.packed.PackedLongValues.deltaPackedBuilder(PackedLongValues.java:60)&#xA;    at org.apache.lucene.index.NumericDocValuesWriter.&amp;amp;lt;init&amp;amp;gt;(NumericDocValuesWriter.java:44)&#xA;    at org.apache.lucene.index.DefaultIndexingChain$PerField.finish(DefaultIndexingChain.java:578)&#xA;    at org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:324)&#xA;    at org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:239)&#xA;    at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:457)&#xA;    at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1511)&#xA;    at org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandler2.java:240)&#xA;    at org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:164)&#xA;    at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:69)&#xA;    at org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)&#xA;    at org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:926)&#xA;    at org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:1080)&#xA;    at org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:692)&#xA;    at org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:100)&#xA;    at org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:247)&#xA;    at org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:174)&#xA;    at org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:99)&#xA;    at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)&#xA;    at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)&#xA;    at org.apache.solr.core.SolrCore.execute(SolrCore.java:1976)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)&#xA;    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)&#xA;    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)&#xA;    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)&#xA;    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)&#xA;    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)&#xA;&amp;lt;/str&amp;gt;&amp;lt;int name=&quot;code&quot;&amp;gt;500&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt;&#xA;&amp;lt;/response&amp;gt;&#xA; ---&amp;gt; System.Net.WebException: The remote server returned an error: (500) Internal Server Error.&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;   --- End of inner exception stack trace ---&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;   at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)&#xA;   at SolrNet.Impl.SolrBasicServer`1.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 batch)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.Commit()&#xA;   at Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex.PerformRebuild(Boolean resetIndex, Boolean optimizeOnComplete, IndexingOptions indexingOptions, CancellationToken cancellationToken)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Rebuild(Boolean resetIndex, Boolean optimizeOnComplete)&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what is the issue?&lt;/p&gt;&#xA;" OwnerUserId="251" LastEditorUserId="73" LastEditDate="2017-12-06T18:16:15.230" LastActivityDate="2017-12-06T18:16:15.230" Title="java.lang.OutOfMemoryError during Solr index rebuilding" Tags="|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8850" PostTypeId="1" CreationDate="2017-12-06T17:51:27.663" Score="1" ViewCount="1278" Body="&lt;p&gt;I've have a General Link field. Using 'Insert media link' I have it pointed to a Media Item under the Media Library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the page is rendered in the Experience Editor Mode, Link correctly display the Media Item Name and you can get the usual control above it to modify the Link. However in the preview mode it generates an empty Link Text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I use the Sitecore Field renderer for the same field, it correctly shows the Media Item name as the Link text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the code used in the control -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;br /&amp;gt;&#xA;&amp;lt;%=Editable(x=&amp;gt; x.ReadMore )%&amp;gt;&#xA;&amp;lt;br /&amp;gt;&#xA;&amp;lt;sc:Link runat=&quot;server&quot; Field=&quot;ReadMore&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's the output I get in the preview mode for both -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;br&amp;gt;&#xA;&amp;lt;a href=&quot;http://sc81u3.local/-/media/Files/SomePDF.ashx&quot;&amp;gt;&amp;lt;/a&amp;gt;&#xA;&amp;lt;br&amp;gt;&#xA;&amp;lt;a href=&quot;http://sc81u3.local/-/media/Files/SomePDF.ashx&quot;&amp;gt;SomePDF&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I insert a Link using the &quot;Insert link&quot; option available on a General Link field, this is not a problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question: Is this a issue with Glass Mapper or am I missing something here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass Mapper Version: V4&#xA;Sitecore Version: 8.1 update 3&lt;/p&gt;&#xA;" OwnerUserId="2925" LastEditorUserId="1000" LastEditDate="2017-12-06T18:54:20.927" LastActivityDate="2017-12-06T18:54:20.927" Title="Glass Mapper generates an Empty Link Text for General Link Field that has a Media Link with an Empty Link Description" Tags="|glass-mapper|webforms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8851" PostTypeId="2" ParentId="8849" CreationDate="2017-12-06T17:54:49.077" Score="7" Body="&lt;p&gt;The error is telling you that SOLR is running out of memory:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Caused by: java.lang.OutOfMemoryError: Java heap space&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The heap size of SOLR defaults to &lt;strong&gt;512 MB&lt;/strong&gt;, you can amend this by specifying a size in the command that launches SOLR, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;solr start -m 1024m&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;will start SOLR with a heap size of &lt;strong&gt;1024 MB&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://wiki.apache.org/solr/SolrPerformanceProblems#Java_Heap&quot; rel=&quot;noreferrer&quot;&gt;This guide&lt;/a&gt; contains information on how to approach deciding on a heap size. There are also pointers in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/622/how-much-memory-does-the-jvm-for-solr-need&quot;&gt;this question here on the StackExchange&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's no one answer on how much memory you need to assign. The approach will be similar to the advice given on deciding on cache sizes for Sitecore - start with more than you need and then reduce this to a suitable level as you observe how much it uses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, if you have plenty of memory on your SOLR server, this may not be a worry. A good place to at least start will be to up the default and then try to rebuild your indexes to see if the problem is fixed.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-12-06T17:54:49.077" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8852" PostTypeId="2" ParentId="8850" CreationDate="2017-12-06T18:50:52.830" Score="1" Body="&lt;p&gt;In order to render a link with glass you need to do the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%= RenderLink(x =&amp;gt; x.ReadMore) %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or in MVC:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Glass().RenderLink(x =&amp;gt; x.ReadMore)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-12-06T18:50:52.830" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8853" PostTypeId="1" CreationDate="2017-12-06T21:54:26.223" Score="2" ViewCount="761" Body="&lt;p&gt;We are on Sitecore 8.1.3 and have a user profile where personal links are stored as a path unfortunately and when the page gets move (not too often) the personal link is broken.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now we would like to run a powershell script to find and replace the path (&quot;Common/menu&quot; to &quot;Shared/WestCafeteria&quot;)&quot;.  I have a find/replace script for the content tree, but not sure the path of all the user information and if that process should be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Attached image may be helpful (I removed the path in the personal link area).&#xA;&lt;a href=&quot;https://i.stack.imgur.com/PuQJR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PuQJR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Personal Links data sample:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;{&quot;ID&quot;:&quot;{66666CC6-C66C-66B3-6666-666A6D6AB666}&quot;,&quot;Title&quot;:&quot;Cafeteria menus&quot;,&quot;TargetID&quot;:&quot;{66666666-B666-4666-A666-6666666666B17}&quot;,&quot;TargetUrl&quot;:&quot;/departments-services/support-services/nutritional-services/dining-locations&quot;,&quot;TargetWin&quot;:&quot;_top&quot;}&lt;/p&gt;&#xA;" OwnerUserId="524" LastEditorUserId="524" LastEditDate="2017-12-06T22:54:02.833" LastActivityDate="2017-12-07T00:25:23.763" Title="Update text in a field on user profile" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8854" PostTypeId="2" ParentId="8853" CreationDate="2017-12-07T00:05:36.203" Score="4" Body="&lt;p&gt;To get user information, you have to get the user (you can use Sitecore API or SPE cmldet) and read properties.&#xA;My example user:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VNSrA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VNSrA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to read it in SPE.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3lmcX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3lmcX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$user = Get-User &quot;sitecore\a&quot;&#xA;$user.Profile.SerializedData&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To update/save settings simply update the field/property&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kqPTL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kqPTL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-12-07T00:11:20.910" LastActivityDate="2017-12-07T00:11:20.910" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8855" PostTypeId="2" ParentId="8853" CreationDate="2017-12-07T00:25:23.763" Score="5" Body="&lt;p&gt;You can use the &lt;code&gt;Get-User&lt;/code&gt; command in SPE to get a collection of users to process, and then these are retrieved as an enumeration of &lt;code&gt;Sitecore.Security.Accounts.User&lt;/code&gt;, which gives you access to the custom profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a sample script which fill find all extranet users and update them, you can alter the configuration at the top of the script to change the find/replace values. It just uses a simple string replacement.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Configuration&#xA;$profileFieldName = &quot;PersonalLinks&quot;&#xA;$searchFor = &quot;Common/menu&quot;&#xA;$replaceWith = &quot;Shared/WestCafeteria&quot;&#xA;$userFilter = &quot;extranet\*&quot;&#xA;&#xA;# Script&#xA;$users = Get-User -Filter $userFilter&#xA;&#xA;foreach ( $user in $users )&#xA;{&#xA;    Write-Host &quot;Updating $($user.Name)&quot;&#xA;&#xA;    # Get the custom field value&#xA;    $links = $user.Profile.GetCustomProperty($profileFieldName)&#xA;&#xA;    # Update the value&#xA;    $links = $links -replace $searchFor, $replaceWith&#xA;&#xA;    # Save the value back into the user&#xA;    $user.Profile.SetCustomProperty($profileFieldName, $links)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the &lt;code&gt;Get-User&lt;/code&gt; command supports partial matching on name, and also a &lt;code&gt;ResultPageSize&lt;/code&gt; property to limit the results, which you may want to bear in mind if the size of your user-base is large.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2017-12-07T00:25:23.763" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8857" PostTypeId="1" CreationDate="2017-12-07T00:38:16.230" Score="1" ViewCount="24" Body="&lt;p&gt;I'm looking to automate my local dev environment without using TDS and want to make use of sitecore SIM , powershell or msbuild to do all my stuff.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;One time Setup&lt;/strong&gt;&#xA;Idea is to create one bat file which will take care following:- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1. Install sitecore instance using sitecore SIM&#xA;2. Install Sitecore packages (CMS items/templates etc)&#xA;3. Application level configurations and setting.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Incremental&lt;/strong&gt; step would be to publish solution on top of it...as part of ongoing development. I want to keep less dependency on tds or other tool. Want to keep it simple so as tosetup dev local environment in any developer machine.&lt;/p&gt;&#xA;" OwnerUserId="102" LastActivityDate="2017-12-07T00:38:16.230" Title="Can we invoke sitecore SIM from MSbuild?" Tags="|automation|" AnswerCount="0" CommentCount="1" ClosedDate="2017-12-07T03:59:25.967" ContentLicense="CC BY-SA 3.0" />
  <row Id="8858" PostTypeId="1" CreationDate="2017-12-07T00:43:06.343" Score="0" ViewCount="416" Body="&lt;p&gt;I tried to add 2 send email save actions to a form and only the first one fired.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I debugged and the send email code was only hit once. These are both using the standard Send Email Message save action that should work OOTB, right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.1 (rev. 151207) and Web Forms for Marketers 8.1.rev. 151008.&lt;/p&gt;&#xA;" OwnerUserId="2388" LastEditorUserId="2577" LastEditDate="2017-12-07T14:52:03.137" LastActivityDate="2017-12-07T14:52:03.137" Title="WFFM Multiple Send Email Save Actions" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8859" PostTypeId="1" CreationDate="2017-12-07T02:39:25.133" Score="0" ViewCount="618" Body="&lt;p&gt;Sitecore 8.2 Update 4 with Lucene search on a local single instance Sitecore site: I have created a Custom Contact facet and I can see it is being saved to MongoDB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to add it to the Analytics db so I can use it in the ListManager and so followed this &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/contacts/index_custom_contact_facets&quot; rel=&quot;nofollow noreferrer&quot;&gt;document&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Luke to look at the index, I don't see the new fields and no errors in the log or Crawling log. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My config includes&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;.....&#xA;&amp;lt;contactindexable.loadfields patch:source=&quot;Sitecore.ContentSearch.Analytics.config&quot;&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Foundation.Indexing.Pipelines.IndexCustomFacet, Sitecore.Foundation.Indexing&quot;/&amp;gt;&#xA;&amp;lt;/contactindexable.loadfields&amp;gt;&#xA;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I put a breakpoint in &lt;code&gt;IndexCustomFacet&lt;/code&gt;, it is never being hit! I can see all the expected config when I go to &lt;code&gt;showconfig.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field type=&quot;System.String&quot; fieldName=&quot;contact.Brand&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="1347" LastEditDate="2017-12-08T03:05:30.090" LastActivityDate="2021-06-08T14:07:10.763" Title="Adding custom contact facet to Sitecore Analytics index" Tags="|experience-analytics|contact-facets|indexing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8860" PostTypeId="1" CreationDate="2017-12-07T06:57:09.243" Score="5" ViewCount="298" Body="&lt;p&gt;Issue in creative exchange import functionality&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Uploaded packages are not visible in the select package wizard, so we couldn’t select the package to import, but file uploading is successful. It is stored inside the app-data/package/creativeexchange. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is problem with the DataFolder path which is defined in the sitecore.config file, I have given the relative path. SXA Import select package wizard is looking for the packages inside the C:/App_Data folder, but it stored the uploaded file in the relative path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Give absolute path in dataFolder value, to resolve this problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ADnNA.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ADnNA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2930" LastActivityDate="2018-02-02T12:07:13.483" Title="Couldn't import the updated zip file using creative exchange import wizard?" Tags="|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8861" PostTypeId="1" CreationDate="2017-12-07T06:58:59.137" Score="2" ViewCount="1095" Body="&lt;p&gt;I am using Lucene search engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using drop link field in SXA facets component, it displays GUID, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see other posts talking about this issue, and in order to fix it, we should change the below settings to true in &lt;code&gt;sitecore.buckets.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;BucketConfiguration.ResolveFacetValueToFriendlyName&quot; value=&quot;**true**&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But After changing it still facet Component is displaying GUID. Any pointer for this issue would highly appriciated.&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="95" LastEditDate="2018-02-06T11:16:02.887" LastActivityDate="2018-09-17T17:00:22.163" Title="Using Drop Link field with SXA Facets Component shows GUID instead of Title" Tags="|sxa|search-facet|" AnswerCount="1" CommentCount="2" ClosedDate="2018-09-27T08:09:39.257" ContentLicense="CC BY-SA 3.0" />
  <row Id="8863" PostTypeId="2" ParentId="8859" CreationDate="2017-12-07T08:00:52.710" Score="0" Body="&lt;p&gt;If you added new custom contact facet to Sitecore Analytics index you will see your field in index only for new contacts, which was created after added your facet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to update your existing contacts, you need to rebuild &lt;code&gt;sitecore_analytics_index&lt;/code&gt;. How you can do it you can find there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/rebuilding-the-sitecore-analytics-index&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rebuilding the Sitecore Analytics Index&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1358/how-to-rebuild-the-analytics-index-without-rebuilding-the-entire-reporting-datab/1361&quot;&gt;How to rebuild the analytics index without rebuilding the entire reporting database?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2017-12-07T08:00:52.710" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8865" PostTypeId="2" ParentId="8860" CreationDate="2017-12-07T08:39:47.977" Score="0" Body="&lt;p&gt;This is a known issue. Well, not an issue as I asked this to support and they don't seem to want to fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason why is that the installation manual (for 8.2-upd2 in my case) clearly mentioned (somewhere) that you should set the datafolder to an absolute path - so they're covered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get to the actual reason why it's not working: in the export code, a MapPath is used to the relative folder works correctly during upload of the package. But on import (and for listing the packages) that MapPath is not there...  and so only absolute datafolder paths work.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-12-07T08:39:47.977" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8866" PostTypeId="2" ParentId="8860" CreationDate="2017-12-07T09:07:02.520" Score="0" Body="&lt;p&gt;&lt;em&gt;This is a known issue. Well, not an issue as I asked this to support and they don't seem to want to fix it.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've fixed this yesterday:)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wait for SXA 1.6 where Creative Exchange will be working with absolute and relative paths for Data folder.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2017-12-07T09:07:02.520" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8867" PostTypeId="1" CreationDate="2017-12-07T09:49:40.253" Score="2" ViewCount="440" Body="&lt;p&gt;I have created the custom Grid, as per the steps mentioned in the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6463/create-new-grid-in-sitecore-experience-accelerator&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I am using my custom grid SXA Toolbox is not loading, Editing, Designing and Drag &amp;amp; drop options are enabled in the View Ribbon &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to enable the SXA toolbox in custom Grid?&lt;/p&gt;&#xA;" OwnerUserId="2930" LastActivityDate="2018-02-05T14:35:56.957" Title="How to enable the SXA toolbox in custom Grid?" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8868" PostTypeId="2" ParentId="8858" CreationDate="2017-12-07T10:40:06.120" Score="1" Body="&lt;p&gt;Yes, it should work OOTB. I'm assuming you are testing it against the web db. Have you published the Save action after adding the two Save Actions? You can switch to the web db from the desktop and confirm you see the two save actions.&lt;/p&gt;&#xA;" OwnerUserId="2925" LastActivityDate="2017-12-07T10:40:06.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8869" PostTypeId="2" ParentId="8770" CreationDate="2017-12-07T12:13:59.310" Score="9" Body="&lt;p&gt;Differently from XP1, the XP0 topology has a JSON file specifically for create the certificate - &lt;strong&gt;xconnect-createcert.json&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qjBAl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qjBAl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After creating the certificate using xconnect-createcert.json, I have tried provisioning the XConnect-Collection as I was doing and the error went away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o2HcY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o2HcY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I wonder what am I missing while generating my certificates manually... well at least it worked and &lt;strong&gt;XP0 package has the xconnect-createcert.json&lt;/strong&gt; which solved the issue!&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2017-12-07T12:13:59.310" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8870" PostTypeId="2" ParentId="8867" CreationDate="2017-12-07T13:33:39.030" Score="1" Body="&lt;p&gt;After doing some research I have resolved the above issue. In my custom grid's body view cshtml, I removed the Wrapper id from the div element because of that toolbox is not rendered in the experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Toolbox is rendered above the wrapper element so if it's not present it won't be rendered in the experience editor.&lt;/p&gt;&#xA;" OwnerUserId="2930" LastActivityDate="2017-12-07T13:33:39.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8871" PostTypeId="1" AcceptedAnswerId="8873" CreationDate="2017-12-07T14:24:33.567" Score="3" ViewCount="1692" Body="&lt;p&gt;I want to enable a specific non admin user to use PowerShell extensions without giving them admin privileges.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far, according to the &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/security.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;PowerShell ISE Security Documentation&lt;/a&gt;, I have given all the necessary permissions to that user to following items in Core database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;\content\Applications\PowerShell&lt;/code&gt; and all its descendants and also to &#xA;&lt;code&gt;\content\Applications\Content Editor\Context Menues\Default&lt;/code&gt; and all its descendants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when that user click on PowershellIse, he gets logged out and is unable to use it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is that what permissions do I need to set, apart from what I already have and is it possible at all to access and use PowershellIse for non-admin users?&lt;/p&gt;&#xA;" OwnerUserId="403" LastActivityDate="2017-12-07T14:45:25.353" Title="How to enable non-admin user to use powershell extensions?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8872" PostTypeId="1" AcceptedAnswerId="8874" CreationDate="2017-12-07T14:25:56.893" Score="9" ViewCount="5525" Body="&lt;p&gt;If I can set a rendering cache to Vary By Data, meaning the cache will vary for a given component with a different data source set, why am I not just setting every component to be Cacheable with Vary By Data? &lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2017-12-07T14:48:37.797" Title="Sitecore Html Caching Strategy" Tags="|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8873" PostTypeId="2" ParentId="8871" CreationDate="2017-12-07T14:45:25.353" Score="4" Body="&lt;p&gt;First I recommend you not allow the user to click the PowerShell ISE and Console shortcuts. Those are interfaces designed for a Developer or Admin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As noted in the book, the &lt;strong&gt;Script&lt;/strong&gt; menu is allowed for users not associated with the &lt;code&gt;sitecore\Sitecore Limited Content Editor&lt;/code&gt; since a &lt;em&gt;deny read&lt;/em&gt; is set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LabY0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LabY0.png&quot; alt=&quot;Visible by Default&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ribbon commands are visible after you run the integration sync found in the ISE. See this &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content-editor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;page&lt;/a&gt; for more details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can configure rules on the script item to alter visibility and enabled state. In the script you'll want to add in a &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/commands/New-UsingBlock.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;UserSwitcher&lt;/code&gt;&lt;/a&gt; to provide the necessary elevated privileges.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$elevatedUser= Get-User -Identity &quot;sitecore\ElevatedUser&quot;&#xA;&#xA;New-UsingBlock (New-Object Sitecore.Security.Accounts.UserSwitcher $elevatedUser) {&#xA;    # Run commands that required the elevated access.&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-12-07T14:45:25.353" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8874" PostTypeId="2" ParentId="8872" CreationDate="2017-12-07T14:45:33.260" Score="14" Body="&lt;p&gt;Vary By options each serve different use cases, and are not always applicable when caching a rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If a component doesn't have a data source then &lt;code&gt;Vary By Data&lt;/code&gt; will cache its output by the &lt;code&gt;Context Item&lt;/code&gt;. This would cause a cached instance of this component for every page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If a component outputs the same markup everywhere, then you don't want to apply any &lt;code&gt;Vary By&lt;/code&gt; to the cache key, which will cause its output to be cached globally for the Context Language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Multiple cache options are available out of the box for various purposes, and it's good to understand how the cache keys are generated so each component can be cached in the most efficient way:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Vary by Data&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The cache key is: controller::[Controller]#[Controller&#xA;  Action]&lt;em&gt;#lang:[Language Culture Code]&lt;/em&gt;#data:[Path of the Datasource&#xA;  Item]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Since, the path to each data source item is different, the output&#xA;  cache varies by change in Datasource.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Vary by Device&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The cache key is: controller::[Controller]#[Controller&#xA;  Action]&lt;em&gt;#lang:[Language Culture Code]&lt;/em&gt;#dev:Responsive&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;We can output different cache keys for different Sitecore Devices.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Vary by Login&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;controller::[Controller]#[Controller Action]&lt;em&gt;#lang:[Language Culture&#xA;  Code]&lt;/em&gt;#ogin:False&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;We can output different cache keys based on if user is logged in or&#xA;  not.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Vary by Parameters&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The cache key is: controller::[Controller]#[Controller&#xA;  Action]&lt;em&gt;#lang:[Language Culture Code]&lt;/em&gt;#parm:[Key=Value]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;We can output different cache for the same rendering based on the&#xA;  different rendering parameters.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Vary by Query String&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The cache key is: controller::[Controller]#[Controller&#xA;  Action]&lt;em&gt;#lang:[Language Culture Code]&lt;/em&gt;#qs:[request.QueryString]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Vary by User&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The cache key is: controller::[Controller]#[Controller&#xA;  Action]&lt;em&gt;#lang:[Language Culture Code]&lt;/em&gt;#user:extranet\Anonymous&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1150" LastActivityDate="2017-12-07T14:45:33.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8875" PostTypeId="2" ParentId="8872" CreationDate="2017-12-07T14:48:37.797" Score="4" Body="&lt;p&gt;That is a very good question :) If you are not using the caching values on your rendering, you are missing out on some awesome performance gains. You would want to make careful use of the vary by settings to make sure that your component is cached properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, sure your rendering may use datasources, but it might also vary the content based on the logged in status of the user, or based on the user uniquely - so you could add in vary by user or vary by login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to be aware of how this would affect personalization and MV testing too. On a component with rendering rules, the &lt;code&gt;Vary by data&lt;/code&gt; will not work as expected. Fortunately with MVC implementations, Sitecore have made it nice and easy to add your own vary by options in. Its all to do with how the cache key is generated, which is done in the appropriately named &lt;code&gt;GenerateCacheKey&lt;/code&gt; class in the &lt;code&gt;RenderRendering&lt;/code&gt; pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the main reason that I see why devs don't add caching options is that they don't fully understand how the vary by options work. It can be a lot of effort to calculate exactly how the options need to be set and that it can cause bugs when they are not set correctly. But its definitely worth putting the effort in for the performance gains you will get.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.sitecorecoding.com/2016/02/caching-rendering-html-when-conditional.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Caching Rendering HTML when conditional rules are applied&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.sitecorenutsbolts.net/2016/04/26/Advanced-Cache-Clearing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Advanced Cache Clearing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-12-07T14:48:37.797" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8876" PostTypeId="1" CreationDate="2017-12-07T14:54:46.360" Score="4" ViewCount="805" Body="&lt;p&gt;The original &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/enabling-parallel-publishing-with-sitecore-7-2&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post on parallel publishing by Alex Shyba for SC 7.2&lt;/a&gt; is a great resource and I think still applies to Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've dabbled with parallel publishing before on SC7.2 as well as just now on 8.2 and both times I've found that during a &quot;large&quot; publish operation (i.e. more than, say, 100 items) the busy CD server can, sometimes, completely lock up, rendering my website offline until I kill the app pool.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Has anyone else experienced this?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Why this might happen?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I suspect it's something to do with the shared &lt;code&gt;core&lt;/code&gt; database where 2 instances (CM and CD) are fighting for locks on &lt;code&gt;EventQueue&lt;/code&gt; rows but I've never really been able to get to the bottom of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No errors in any of the logs on CM or CD, no Windows Event Log entries, nothing I can see in SQL server (maybe I don't know what to look for, though).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CM does not lock up - only the CD. The lock-up continues even after the publish has completed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's hard to test because it seems to only happen intermittently in a busy production environment which is hard to replicate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The blog post above mentions enabling the Async EventProvider:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol start=&quot;3&quot;&gt;&#xA;  &lt;li&gt;Enable the following /App_Config/Include file by renaming its extension to .config:&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore.Publishing.EventProvider.Async.config.disabled&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Is this only required on the CM or on the CD as well?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;If not, could failing to enable the Async Event Provider on the CM somehow lock up the CD?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1417" LastEditorUserId="1417" LastEditDate="2017-12-08T10:42:23.717" LastActivityDate="2018-03-25T18:21:44.033" Title="Sitecore parallel publishing locks up Content Delivery server" Tags="|publishing|events|event-queue|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8877" PostTypeId="2" ParentId="2763" CreationDate="2017-12-07T15:18:21.773" Score="0" Body="&lt;p&gt;I was just looking some publishing-related items and found this details,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although this has been answered but would like to share some more details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a pretty common requirement and the best way to manage this access through the core DB, Below are some simple steps for the reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WFzvE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WFzvE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9PA1Y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9PA1Y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2403" LastActivityDate="2017-12-07T15:18:21.773" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8878" PostTypeId="2" ParentId="7911" CreationDate="2017-12-07T15:30:03.427" Score="0" Body="&lt;p&gt;There are 2 places of web.config need to be merged. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;web.config at the main folder (web root) &lt;/li&gt;&#xA;&lt;li&gt;web.config in &lt;strong&gt;Views&lt;/strong&gt; folder (Views/web.config). I think you missed this part.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In the later place, there are some namespaces need to include to the view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it help you.&lt;/p&gt;&#xA;" OwnerUserId="1352" LastActivityDate="2017-12-07T15:30:03.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8879" PostTypeId="2" ParentId="7029" CreationDate="2017-12-07T15:46:36.060" Score="1" Body="&lt;p&gt;Even when Solr is not running, it looks for those cores in solr.&#xA;So make sure you start Solr and make sure sitecore_analytics_index(and all other indeses like sitecore_master_index,sitecore_web_index) in the Solr cores.&#xA;You can navigate to &lt;a href=&quot;http://localhost:8983/solr/#(need&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr/#(need&lt;/a&gt; Solr installed and running on local to navigate) and see if you can find the sitecore_analytics_index in the Core Selector.&#xA;If you can not find it, you can add core using Add Core button as shown in screenshot below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tahmD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tahmD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="2466" LastEditDate="2017-12-07T15:56:11.263" LastActivityDate="2017-12-07T15:56:11.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8880" PostTypeId="1" AcceptedAnswerId="8894" CreationDate="2017-12-07T16:20:34.560" Score="2" ViewCount="975" Body="&lt;p&gt;After upgrading to Sitecore 8.2.something (currently Update-5), some users began to notice that the functionality to upload multiple media items at once changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before the functionality was such that when you clicked on &quot;Upload Files (advanced)&quot; you would be prompted to select one or more files and would have the option to enter alt text. For accessibility purposes, we found this was the best experience as users were much more likely to enter alternate text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cEali.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cEali.png&quot; alt=&quot;Old Upload File interface with space to enter Alternate text&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, now they're getting a Batch Upload interface instead, which requires files to add selected individually, and doesn't prompt for alt text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AtzYB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AtzYB.png&quot; alt=&quot;New Batch Upload interface with single file selection and no alternate text&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore's documentation on &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/media_items/using_media_items/upload_a_file_to_the_media_library&quot; rel=&quot;nofollow noreferrer&quot;&gt;Upload a file to the Media Library&lt;/a&gt; still displays the old functionality. I've also found mention that patching the &lt;code&gt;Upload.Classic&lt;/code&gt; setting to true in the config will revert to the old functionality, but this doesn't appear to be relevant to this Batch Upload interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since some users are still receiving the old, working, interface, is it possible to get the better interface back?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2021-04-06T12:59:04.930" Title="Can I force the old Upload File interface instead of the new Batch Upload when uploading multiple media items?" Tags="|media-library|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8881" PostTypeId="1" AcceptedAnswerId="8903" CreationDate="2017-12-07T16:44:23.160" Score="2" ViewCount="737" Body="&lt;p&gt;I installed a clean Sitecore 8.2 Update 5 instance with SPE 4.7 and SXA 1.5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I imported a tenant, a site, tenant-specific templates, media etc. from a colleague's environment. I don't think any items are missing, because another colleague used the same package with no issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to add a new site to this tenant, I am getting this message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HytWa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HytWa.png&quot; alt=&quot;Unrecognized Guid format&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error in the SPE logs is not very verbose:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;12380 17:14:51 INFO  Executing PsSitecoreItemProvider.Start(providerInfo='Sitecore')&#xA;12380 17:14:51 INFO  Executing PsSitecoreItemProvider.Start(providerInfo='Sitecore')&#xA;12380 17:14:51 INFO  Executing a script in ScriptSession ''.&#xA;12380 17:14:51 INFO  The script execution in ScriptSession '' completed in 1 ms.&#xA;12380 17:14:51 INFO  Executing a script in ScriptSession '$scriptSession$|mkb0u2wyy3eyw3pialwk0lwc|45d64bde-0494-4591-904b-bfeee42e1cc2'.&#xA;12380 17:14:51 INFO  The script execution in ScriptSession '$scriptSession$|mkb0u2wyy3eyw3pialwk0lwc|45d64bde-0494-4591-904b-bfeee42e1cc2' completed in 0 ms.&#xA;12380 17:14:51 INFO  Script item set to master:\system\Modules\PowerShell\Script Library\SXA\SXA - Scaffolding\Content Editor\Insert Item\Site in ScriptSession $scriptSession$|mkb0u2wyy3eyw3pialwk0lwc|45d64bde-0494-4591-904b-bfeee42e1cc2.&#xA;ManagedPoolThread #3 17:14:51 INFO  Executing a script in ScriptSession '$scriptSession$|mkb0u2wyy3eyw3pialwk0lwc|45d64bde-0494-4591-904b-bfeee42e1cc2'.&#xA;ManagedPoolThread #3 17:14:52 ERROR Unrecognized Guid format. Actual value: &#xA;ManagedPoolThread #3 17:14:52 INFO  The script execution in ScriptSession '$scriptSession$|mkb0u2wyy3eyw3pialwk0lwc|45d64bde-0494-4591-904b-bfeee42e1cc2' completed in 776 ms.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What could be the reason of this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; After following Alan's suggestion, I received the following in the output of PowerShell ISE:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;VERBOSE: Cmdlet Show-NewSiteDialog - Begin&#xA;VERBOSE: Cmdlet Show-NewSiteDialog - Process&#xA;VERBOSE: Cmdlet Get-TenantTemplatesRoot - Begin&#xA;VERBOSE: Cmdlet Get-TenantTemplatesRoot - Process&#xA;VERBOSE: Cmdlet Get-TenantItem - Begin&#xA;VERBOSE: Cmdlet Get-TenantItem - Process&#xA;VERBOSE: Cmdlet Get-TenantItem - End&#xA;Get-Item : Unrecognized Guid format. Actual value:&#xA;At line:16 char:3&#xA;+         Get-Item -Path master: -ID $tenantItem.Templates&#xA;+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Get-Item], FormatException&#xA;    + FullyQualifiedErrorId : System.FormatException,Microsoft.PowerShell.Commands.GetItemCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2017-12-08T09:52:30.727" LastActivityDate="2017-12-08T09:57:59.853" Title="SXA error when creating a site: Unrecognized Guid format" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8882" PostTypeId="2" ParentId="2763" CreationDate="2017-12-07T17:13:07.267" Score="0" Body="&lt;p&gt;Apart from the correct answer, we can customize the publish wizard, override Default Sitecore &lt;code&gt;PublishForm&lt;/code&gt; class and check for the current logged in user in override void &lt;code&gt;OnNext&lt;/code&gt; method and show custom message to the content author with custom alert message saying 'You do not have access. Please contact administrator' instead of disabling the whole publishing button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more information on how to customize publishing in the blog link &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.horizontalintegration.com/2017/12/05/how-to-override-sitecore-publish-wizard-form/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.horizontalintegration.com/2017/12/05/how-to-override-sitecore-publish-wizard-form/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="1000" LastEditDate="2017-12-07T21:32:05.230" LastActivityDate="2017-12-07T21:32:05.230" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8883" PostTypeId="1" AcceptedAnswerId="8928" CreationDate="2017-12-07T18:55:23.260" Score="0" ViewCount="237" Body="&lt;p&gt;We are currently experimenting with SXA however we have a view difficulties some of you maybe already figured out. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we want to work with an SXA theme, our current workflow is to keep everything in git and deploy changes automatically through the OTAP environments. This seems rather tricky in SXA, what is your experience with this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="2687" LastActivityDate="2017-12-09T04:46:17.627" Title="SXA Theme's versioncontrol" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8884" PostTypeId="1" CreationDate="2017-12-07T20:58:05.617" Score="5" ViewCount="2730" Body="&lt;p&gt;While installing Sitecore 9 XP0 on a new Windows 10 VM I came across the following error.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;HTTP Error 500.19 - Internal Server Error The requested page cannot be&#xA;  accessed because the related configuration data for the page is&#xA;  invalid.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Detailed Error Information: Module       IIS Web Core Notification&lt;br&gt;&#xA;  BeginRequest Handler     Not yet determined Error Code       0x80070021&#xA;  Config Error     This configuration section cannot be used at this&#xA;  path. This happens when the section is locked at a parent level.&#xA;  Locking is either by default (overrideModeDefault=&quot;Deny&quot;), or set&#xA;  explicitly by a location tag with overrideMode=&quot;Deny&quot; or the legacy&#xA;  allowOverride=&quot;false&quot;. Config File&lt;br&gt;&#xA;  \?\C:\inetpub\wwwroot\sc90.sc\web.config Requested URL&lt;br&gt;&#xA;  &lt;a href=&quot;http://sc90.sc:80/&quot; rel=&quot;noreferrer&quot;&gt;http://sc90.sc:80/&lt;/a&gt; Physical Path     C:\inetpub\wwwroot\sc90.sc Logon&#xA;  Method       Not yet determined Logon User       Not yet determined&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Config Source:    73:         74:         75:&lt;br&gt;&#xA;  &#xA;  &#xA;  &lt;p&gt;More Information: This error occurs when there is a problem reading&#xA;  the configuration file for the Web server or Web application. In some&#xA;  cases, the event logs may contain more information about what caused&#xA;  this error. View more information »&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="595" LastEditorUserId="73" LastEditDate="2017-12-16T10:18:44.693" LastActivityDate="2023-02-24T06:48:48.360" Title="Error 500.19 installing Sitecore 9 XP0 on a clean Windows 10 machine" Tags="|installation|sitecore-install-framework|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8885" PostTypeId="2" ParentId="8884" CreationDate="2017-12-07T20:58:05.617" Score="9" Body="&lt;p&gt;The error points to a lock on the IIS configuration. However, after some research, I came across to the solution which I share here hoping it will save someone else's time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason for the error is that ASP.NET, one of the prerequisites, was not installed. The interesting thing is that Windows 10 doesn't show the ASP.NET feature on its &quot;Windows Features&quot; window (Turn Windows features on or off) therefore it cannot be enabled as before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way to enable ASP.NET in Windows 10 is by executing the following command in a console as Administrator:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;dism /online /enable-feature /all /featurename:IIS-ASPNET45&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When ASP.NET is installed the applicationHost.config (in %windir%\system32\inetsrv\config) gets updated unlocking some configuration sections that are updated by Sitecore's web.config file. And this solves the issue.&lt;/p&gt;&#xA;" OwnerUserId="595" LastActivityDate="2017-12-07T20:58:05.617" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8886" PostTypeId="1" CreationDate="2017-12-07T22:05:05.847" Score="1" ViewCount="96" Body="&lt;p&gt;Using Sitecore 8.2, Im spending a fair bit of time trying to figure out which packages to include and there doesn't seem to be helpful documentation for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I have some code which uses [AuthorizedReportingUserFilter] and I believe that's contained in the name space Sitecore.Cintel.Endpoint.Plumbing, but there isn't a package with Cintel in the name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is just one example and may be simple to find the package, but Im interested to hear if there's a way to determine the package quickly that can be used for all namespaces.&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2017-12-08T01:40:02.590" Title="Determining NuGet packages to include to resolve Usings" Tags="|nuget|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8887" PostTypeId="2" ParentId="8886" CreationDate="2017-12-08T00:31:08.520" Score="1" Body="&lt;h2&gt;Downloading the Sitecore Zip Files for DLL's&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have found a lot of success taking the WebRoot Zip file for various Sitecore versions that I am wanting to target, and unzipping the bin directory to a location.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Using dotPeek to decompile and search&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From there, using &lt;a href=&quot;https://www.jetbrains.com/decompiler/&quot; rel=&quot;nofollow noreferrer&quot;&gt;dotPeek&lt;/a&gt;, which is a free utility, and open various bin directories in it.  I keep every version of Sitecore in the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From there, you can search for a class, type, or even a string (anything really), and the search results will direct you to exactly which DLL is it located in.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Finding the NuGet Package&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Once you know what DLL you're looking for, then it's a matter of finding it on the Sitecore NuGet repository. There are two versions of almost every DLL available:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Library with Dependencies&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;This will show up like &lt;strong&gt;&lt;em&gt;Sitecore.Kernel.DLL&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Installing this DLL will also install ALL dependent NuGet packages&lt;/li&gt;&#xA;&lt;li&gt;This generally installs more references than one would like, so the alternative is to install the &lt;em&gt;NoReferences&lt;/em&gt; DLL.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;li&gt;Library with No References&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;This will show up like &lt;strong&gt;&lt;em&gt;Sitecore.Kernel.DLL.NoReferences&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;This will ONLY install the single library reference into the solution.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-12-08T00:31:08.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8888" PostTypeId="2" ParentId="8886" CreationDate="2017-12-08T01:40:02.590" Score="2" Body="&lt;h2&gt;Finding Matching DLLs&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There is no documentation, and unfortunately it's sometimes an educated guess which DLL contains the code you need to reference. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you know the Class/Namespace you are looking for, you can use a search tool to search through all the DLLs on the filesystem to find a match. I have found this to be the quickest way to narrow down to at least a set of matching DLLs. My personal preference is &lt;a href=&quot;http://tools.stefankueng.com/grepWin.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;GrepWin from Stefan Tools&lt;/a&gt;, use whatever similar tools you prefer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cJeJc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cJeJc.png&quot; alt=&quot;grepWin&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this is a grep tool and you can use regular expressions if you need to find matches using some extra logic.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Verifying using a Decompiler&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can use a decompiler to confirm the match is correct, or if you find multiple matches load them all to find the correct DLL. My personal preference is &lt;a href=&quot;https://www.jetbrains.com/decompiler/&quot; rel=&quot;nofollow noreferrer&quot;&gt;JetBrains dotPeek Decompiler&lt;/a&gt; but use which ever similar tool you prefer. You can use the &lt;code&gt;Go to Everything / Type&lt;/code&gt; (Ctrl + T) or &lt;code&gt;Go to String&lt;/code&gt; (Ctrl + Alt + T) from the navigate menu to help find the type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6SS26.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6SS26.png&quot; alt=&quot;dotPeek&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are already inspecting code in a decompiler then it's possible to sometimes figure out the DLL name from the &lt;code&gt;using&lt;/code&gt; statements that are referenced in the code. It may also be possible to inspect the references:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ozfkN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ozfkN.png&quot; alt=&quot;dotPeek references&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Otherwise over time with experience, you learn which DLLs (most likely) contain the code you need. I've found the above techniques to serve me well though.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-12-08T01:40:02.590" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8889" PostTypeId="1" AcceptedAnswerId="8924" CreationDate="2017-12-08T02:00:01.727" Score="0" ViewCount="782" Body="&lt;p&gt;I am creating lucene indexes using Sitecore 7.2 and I have &lt;strong&gt;&lt;em&gt;Title&lt;/em&gt;&lt;/strong&gt; field name common in Article's template as well as Author's template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to write separate field mapping as per included template?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically a way to differentiate author's title and Article's title indexes using a custom config file. Currently, I have included both templates &amp;amp; added a field mapping as shown below.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:IncludeTemplate&quot;&amp;gt;&#xA; &amp;lt;Articles&amp;gt;{E38B8329-7ED5-460D-A493-5D3B07D66C8E}&amp;lt;/Articles&amp;gt;&#xA; &amp;lt;Authors&amp;gt;{362B8C48-CD98-4B9D-B99D-7F24AB67D87B}&amp;lt;/Authors&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&#xA; &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;**Title**&quot;            storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;/field&amp;gt;&#xA;    &amp;lt;/fieldNames&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;" OwnerUserId="2418" LastEditorUserId="605" LastEditDate="2017-12-08T14:08:17.560" LastActivityDate="2017-12-08T23:36:47.437" Title="How to create lucene indexes seperate for each template and map fieldNames under each template" Tags="|lucene|sitecore-api|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8890" PostTypeId="1" AcceptedAnswerId="8891" CreationDate="2017-12-08T02:23:03.323" Score="0" ViewCount="66" Body="&lt;p&gt;I have set up a separate processing/aggregation server following instruction - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_processing_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_processing_server&lt;/a&gt; and I have a few questions&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Do I need to deploy our application code (bin + configuration + views + css etc) on the processing server? &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We are setting up our environment on AWS (amazon) so do I need to enable the Azure configurations according to the above link?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;How do CM and CD server know about the separate processing server? Do we need to give it's IP address in any of the config?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Some of my queries may sound stupid but I am setting it for first time so need some urgent help. Thanks&lt;/p&gt;&#xA;" OwnerUserId="2880" LastEditorUserId="2890" LastEditDate="2018-02-14T20:59:17.813" LastActivityDate="2018-02-14T20:59:17.813" Title="Few Queries to set up the separate Processing server on AWS" Tags="|site-configuration|aggregation|amazon-web-services|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8891" PostTypeId="2" ParentId="8890" CreationDate="2017-12-08T02:33:04.337" Score="1" Body="&lt;p&gt;A processing server is basically just another Content Management server that has been reduced down to certain functions. These functions are then disabled from the Primary Content Management server per the configuration guidance (for Sitecore 8 and below) or by the Role Configuration settings in Sitecore 9+.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) It is advised that all Sitecore instances have the same DLL code base available on all role servers. So binaries, configurations (that apply to the role) should be deployed.  For ease of deployment, you CAN deploy all of the front end assets, but the front end delivery is disabled on processing and reporting servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) The Azure configurations are only for Azure.  In AWS, you should be creating these servers as if in a VM. The Azure configurations are really only for Azure Search.  It is recommended that you utilize a Solr/SolrCloud configuration for index needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) CD Servers communicate with Mongo (or XConnect for Sitecore 9) to store interaction data. Processing Servers pull from Mongo/XConnect and process/aggregate information into the Reporting Database.  The Reporting Role then provides the service endpoints needed for Sitecore's CM server to read from the Reporting Database for Experience Analytics.  The CM and CD roles do not need to be aware of the processing role.  Only thing that matters is that processing role has access to Mongo/XConnect and the same databases as CM.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-12-08T02:33:04.337" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8892" PostTypeId="2" ParentId="8889" CreationDate="2017-12-08T03:05:06.333" Score="3" Body="&lt;p&gt;This is not an answer to your question, but I think you going to make your solution incredibly complex because of an architectural decision. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are creating so many indexes is because two templates have the same field name. Just filter you search queries on your template name or template ID. When you start needing to make search queries that talk to more than one template type, you search queries are going to become very complex as you try to join to indexes in a query.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ISearchIndex index = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;)  &#xA;using (IProviderSearchContext context = index.CreateSearchContext())  &#xA;{&#xA;  var results = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;      .Where(x =&amp;gt; x.TemplateName = &quot;Article&quot;&#xA;           &amp;amp;&amp;amp; x.Title = &quot;Somee Stuff&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.  &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-12-08T03:05:06.333" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8893" PostTypeId="1" AcceptedAnswerId="8900" CreationDate="2017-12-08T03:08:55.207" Score="3" ViewCount="2727" Body="&lt;p&gt;I have a field that is a required field validator in Sitecore. &#xA;I marked that field as required and Set the &lt;code&gt;parameter=FatalError&lt;/code&gt; so that users cannot save the item without entering data in that field.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue though is, I am not able to change the custom message when the user saves it. I get the standard message that says &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Some of the fields in this item contain fatal errors. You must resolve these errors before you can save this item&quot;.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I changed the title, description and text field but looks like it is not picking up from there. Any idea where should I change that message? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fS7e7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fS7e7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2396" LastEditorUserId="605" LastEditDate="2017-12-08T10:55:13.033" LastActivityDate="2017-12-08T10:55:13.033" Title="Sitecore Field Validator Change to Custom Message" Tags="|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8894" PostTypeId="2" ParentId="8880" CreationDate="2017-12-08T03:32:08.733" Score="3" Body="&lt;p&gt;The Advanced Upload dialog which allows you to upload multiple files and immediately set the alt text uses a Flash based uploader. The &quot;Batch Upload&quot; dialog just uses HTML to provide a simpler upload interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are 2 things which determine which uploader to use:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;Upload.Classic&lt;/code&gt; setting in config, by default this is &lt;strong&gt;false&lt;/strong&gt; and so the Flash upload interface should be used&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;  UPLOAD CLASSIC&#xA;            Indicates if uploading runs in classic (no flash) mode.&#xA;            Default: false&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Upload.Classic&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Browser Support - if your browser does not support Flash, or Sitecore &lt;em&gt;thinks&lt;/em&gt; your browser does not, then you will shown the Classic/Basic Upload dialog.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K4FBW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K4FBW.png&quot; alt=&quot;Browser Compare&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check that the &lt;code&gt;Upload.Classic&lt;/code&gt; is false, but since it seems to work fine in Internet Explorer you can pretty much rule that out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In more recent releases of Chrome and Firefox, by default Flash is not enabled and as a security measure you must &lt;a href=&quot;https://support.google.com/chrome/answer/6258784&quot; rel=&quot;nofollow noreferrer&quot;&gt;explicitly grant permission to run Flash&lt;/a&gt;. You can enable Flash following these instructions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pV0cu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pV0cu.png&quot; alt=&quot;Enable Flash&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this value was previously set as the default (Ask) or Blocked then you will also need to delete the &lt;code&gt;sc_fv&lt;/code&gt; cookie, the value of this will be 0.0.0 if it thinks Flash is or was disabled. Since the cookie is persisted and the javascript will not re-run the code which checks Flash version, if the cookie is present you need to forcefully delete it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you could create a &lt;code&gt;&amp;lt;loggedin&amp;gt;&lt;/code&gt; pipeline processor which forcefully sets the &lt;code&gt;sc_fv&lt;/code&gt; cookie with a value of 9.0.0 or higher (this is the minimum version Sitecore is expecting and checks to enable this functionality), or deletes this cookie. The cookie will be recreated anyway when the check is next run.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-12-08T03:32:08.733" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8896" PostTypeId="1" AcceptedAnswerId="8897" CreationDate="2017-12-08T06:00:57.863" Score="8" ViewCount="788" Body="&lt;p&gt;What is the easiest and quickest way to copy an item to various locations?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have about 100 multisites in a solution and I have created a new template. I need to create a new item inheriting this template in each of the site. Is a Powershell script the best solution? Perhaps add a script to the item context menu that allows the user to insert a new item using that template to all the multisites? If so, can I add an option for the user to enter the name they would like to use to create the new item?&lt;/p&gt;&#xA;" OwnerUserId="2671" LastEditorUserId="237" LastEditDate="2017-12-18T10:24:23.097" LastActivityDate="2020-01-03T09:27:38.763" Title="How to copy an item to multiple locations" Tags="|content-editor|powershell-extensions|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8897" PostTypeId="2" ParentId="8896" CreationDate="2017-12-08T06:27:36.130" Score="8" Body="&lt;p&gt;SPE is likely going to be your best lower effort approach. The &lt;a href=&quot;https://doc.sitecorepowershell.com&quot; rel=&quot;noreferrer&quot; title=&quot;book&quot;&gt;book&lt;/a&gt; provides several examples for creating &lt;strong&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/content-editor.html#context-menu&quot; rel=&quot;noreferrer&quot;&gt;Context Menu&lt;/a&gt;&lt;/strong&gt; options and prompting for input.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ENrps.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ENrps.png&quot; alt=&quot;Script Integration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items.html&quot; rel=&quot;noreferrer&quot;&gt;Creating&lt;/a&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;New-Item&lt;/code&gt; allows for the creation of items at a path using the specified template. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items.html&quot; rel=&quot;noreferrer&quot;&gt;Copying&lt;/a&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Copy-Item&lt;/code&gt; will be the go-to command for copying items. Call it for each destination. Perhaps not needed if you are only concerned with new items.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/interactive-dialogs.html&quot; rel=&quot;noreferrer&quot;&gt;Input Dialogs&lt;/a&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;One option for input is to use &lt;code&gt;Show-Input&lt;/code&gt; to request a value from the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Read-Variable&lt;/code&gt; is another option if you want a more sophisticated dialog for users, especially when more knobs and levers are required.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Show-Input &quot;Please provide 5 characters at most&quot; -MaxLength 5&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jF957.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jF957.png&quot; alt=&quot;Show Input&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Documentation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I recommend you explore the book for a few minutes then let your imagination run wild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is your first time using SPE then start in the PowerShell ISE and run some simple commands. You can save the script in the Script Library and later add it to the Content Editor integration. The book walks you through just about everything you need to get this working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Slack channel #module-spe is another good resource for discussion.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-12-08T15:40:00.903" LastActivityDate="2017-12-08T15:40:00.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8898" PostTypeId="2" ParentId="8896" CreationDate="2017-12-08T06:39:03.087" Score="1" Body="&lt;p&gt;If you just want create a new item based on specific template, you can try the below powershell script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PKnr4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PKnr4.png&quot; alt=&quot;PowerShell script&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will create item based on specific template, with the name added in the script, however if you want more flexibility, as Michael mentioned, you should definitely read the book and explore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see sample script for ref:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item master: -Query &quot;/sitecore/content//*[@@templatename='Home Page']&quot; | ForEach-Object {&#xA;    $newpath= $_.FullPath&#xA;    $item = New-Item $newpath -Name ItemName  -type &quot;/sitecore/templates/Event&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Let me know if this helps. &lt;/p&gt;&#xA;" OwnerUserId="1316" LastEditorUserId="-1" LastEditDate="2017-12-08T13:46:29.590" LastActivityDate="2017-12-08T13:46:29.590" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8899" PostTypeId="1" AcceptedAnswerId="9638" CreationDate="2017-12-08T08:08:46.867" Score="0" ViewCount="439" Body="&lt;p&gt;We are trying to hide some form field based on some condition but the existing Rules Action hides the filed from the server side.&lt;br/&gt;&#xA;We will be storing some value in field and these values will be submitted with form submission and it will come on the report. &lt;br/&gt;&#xA;&lt;code&gt;Is there any way to hide field on client side with the help of WFFM personalization rules/action?&lt;/code&gt; &lt;br/&gt; Any small code or reference will help.&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="277" LastEditDate="2017-12-08T18:04:30.480" LastActivityDate="2018-01-23T13:14:18.717" Title="How to hide WFFM field with personalization rules in client-side?" Tags="|wffm|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8900" PostTypeId="2" ParentId="8893" CreationDate="2017-12-08T08:13:27.730" Score="6" Body="&lt;p&gt;OOTB, you cannot change this message because this is present in the Sitecore Kernel dll. Please see screenshot below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m0VO3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m0VO3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to change this message, you will need to override the validators pipeline&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.Save.Validators, Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, it will be something as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomValidators&#xA;{&#xA;    public void Process(SaveArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;        this.ProcessInternal((ClientPipelineArgs)args);&#xA;    }&#xA;&#xA;    protected void ProcessInternal(ClientPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;        if (args.IsPostBack)&#xA;        {&#xA;            if (args.Result == &quot;no&quot;)&#xA;            {&#xA;                args.AbortPipeline();&#xA;            }&#xA;            args.IsPostBack = false;&#xA;        }&#xA;        else&#xA;        {&#xA;            string formValue = WebUtil.GetFormValue(&quot;scValidatorsKey&quot;);&#xA;            if (string.IsNullOrEmpty(formValue))&#xA;                return;&#xA;            ValidatorCollection validators = ValidatorManager.GetValidators(ValidatorsMode.ValidatorBar, formValue);&#xA;            ValidatorOptions options = new ValidatorOptions(true);&#xA;            ValidatorManager.Validate(validators, options);&#xA;            Pair&amp;lt;ValidatorResult, BaseValidator&amp;gt; strongestResult = ValidatorManager.GetStrongestResult(validators, true, true);&#xA;            ValidatorResult part1 = strongestResult.Part1;&#xA;            BaseValidator part2 = strongestResult.Part2;&#xA;            if (part2 != null &amp;amp;&amp;amp; part2.IsEvaluating)&#xA;            {&#xA;                SheerResponse.Alert(&quot;The fields in this item have not been validated.\n\nWait until validation has been completed and then save your changes.&quot;);&#xA;                args.AbortPipeline();&#xA;            }&#xA;            else if (part1 == ValidatorResult.CriticalError)&#xA;            {&#xA;                string text = Translate.Text(&quot;Some of the fields in this item contain critical errors.\n\nAre you sure you want to save this item?&quot;);&#xA;                if (MainUtil.GetBool(args.CustomData[&quot;showvalidationdetails&quot;], false) &amp;amp;&amp;amp; part2 != null)&#xA;                    text += ValidatorManager.GetValidationErrorDetails(part2);&#xA;                SheerResponse.Confirm(text);&#xA;                args.WaitForPostBack();&#xA;            }&#xA;            else&#xA;            {&#xA;                if (part1 != ValidatorResult.FatalError)&#xA;                    return;&#xA;&#xA;                // Changes to validation message goes here&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I have copied the code from the &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt; at the namespace &lt;code&gt;Sitecore.Pipelines.Save.Validators&lt;/code&gt;. You can dotpeek that dll and see how sitecore implemented the fatal error message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, you need to patch the config file to add yours:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;processors&amp;gt;&#xA;      &amp;lt;saveUI&amp;gt;&#xA;        &amp;lt;processor patch:instead=&quot;processor[@type='Sitecore.Pipelines.Save.Validators, Sitecore.Kernel']&quot;&#xA;            type=&quot;YourNamespace, YourAssemblyName&quot; /&amp;gt;&#xA;      &amp;lt;/saveUI&amp;gt;      &#xA;    &amp;lt;/processors&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-12-08T08:19:28.393" LastActivityDate="2017-12-08T08:19:28.393" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8901" PostTypeId="1" CreationDate="2017-12-08T08:49:43.877" Score="0" ViewCount="228" Body="&lt;p&gt;I have 2 CD instances. When I enable both the instances I get below error on website &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Index proj_web_index was not found.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although it works fine when only one instance is enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Indexes are on Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;What could be the root cause of the error?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If we need to have 2 solr instances for each CD (or one instance on two port)? What is recommended setup?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="605" LastEditDate="2017-12-08T14:05:34.327" LastActivityDate="2017-12-21T20:23:27.257" Title="SOLR on load balance" Tags="|solr|indexing|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8903" PostTypeId="2" ParentId="8881" CreationDate="2017-12-08T09:57:59.853" Score="4" Body="&lt;p&gt;After &lt;code&gt;Get-TenantItem&lt;/code&gt; cmldet was executed (we've got our tenant) script tries to access &lt;code&gt;Templates&lt;/code&gt; field.&#xA;It looks like it is empty or has some gibberish inside.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please make sure that those fields are filled&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZD2V8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZD2V8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of them are heavily used by scaffolding scripts and cannot be empty.&#xA;If you are not sure what should be the value of each of them, you can create a new Tenant and see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To easily export a Tenant use this script:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Yi49x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Yi49x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-12-08T09:57:59.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8905" PostTypeId="1" AcceptedAnswerId="8909" CreationDate="2017-12-08T10:51:21.543" Score="3" ViewCount="286" Body="&lt;p&gt;There is a &lt;code&gt;Sitecore.ContentSearch.Tasks.Optimize&lt;/code&gt; agent defined in &lt;code&gt;Sitecore.ContentSearch.config&lt;/code&gt; file.&#xA;Definition looks like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.ContentSearch.Tasks.Optimize&quot; method=&quot;Run&quot; interval=&quot;12:00:00&quot;&amp;gt;&#xA;  &amp;lt;indexes hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;index&amp;gt;sitecore_master_index&amp;lt;/index&amp;gt;&#xA;  &amp;lt;/indexes&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It only contains &lt;code&gt;sitecore_master_index&lt;/code&gt; inside &lt;code&gt;indexes&lt;/code&gt; list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Why there is only master index added to the list and there are no other indexes like web or marketing?&lt;/li&gt;&#xA;&lt;li&gt;Is it recommended to add our custom indexes here to the list?&lt;/li&gt;&#xA;&lt;li&gt;Is it safe to optimize index that is used on web? Is it still searchable and operable?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="35" LastActivityDate="2017-12-08T15:03:22.983" Title="Is it safe to add our custom indexes to optimize agent?" Tags="|solr|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8906" PostTypeId="1" CreationDate="2017-12-08T14:52:00.303" Score="1" ViewCount="371" Body="&lt;p&gt;We have requirement where based on Country User comes from Datasource should change corresponding to that country for example if User is accessing Site from China then  Datasource should point towards China folder and if he is logging from UK it should point towards from UK folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As shown in screen shot below.Any Inputs how this should be done&lt;a href=&quot;https://i.stack.imgur.com/W0WCq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W0WCq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1533" LastActivityDate="2017-12-08T17:19:42.197" Title="Sitecore Data source based on Country" Tags="|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8907" PostTypeId="1" CreationDate="2017-12-08T14:53:28.090" Score="7" ViewCount="6491" Body="&lt;p&gt;When I open the &lt;code&gt;Experience Profile&lt;/code&gt; tab on my &lt;code&gt;Sitecore 9&lt;/code&gt; dashboard, I get an error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JueMZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JueMZ.png&quot; alt=&quot;An error has occured! image&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So naturally, I checked the logs and got the following error and stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt;  24872 15:35:09 ERROR [Sitecore Services]: HTTP GET URL&#xA;&gt; http://demo.site/sitecore/api/ao/v1/contacts/search?&amp;pageSize=20&amp;pageNumber=1&amp;sort=visitCount&#xA;&gt; desc&amp;match=asdfasdsaf&amp;searchfromdatefilter=01%2F06%2F2017&amp;searchtodatefilter=09%2F11%2F2017&amp;searchchannelfilters={&quot;name&quot;:&quot;CHANNEL_FILTERS&quot;%2C&quot;SearchItems&quot;:[{&quot;ItemId&quot;:&quot;F575D5E6-74DE-49B6-A866-E2256D213D83&quot;}]}&amp;searchcampaignfilters=null&amp;searchoutcomefilters={&quot;name&quot;:&quot;OUTCOME_FILTERS&quot;%2C&quot;SearchItems&quot;:[{&quot;ItemId&quot;:&quot;062A1E69-0BF6-4D6D-AC4F-C11D0F7DC1E1&quot;}]}&amp;searchgoalfilters={&quot;name&quot;:&quot;GOAL_FILTERS&quot;%2C&quot;SearchItems&quot;:[{&quot;ItemId&quot;:&quot;0CB97A9F-CAFB-42A0-8BE1-89AB9AE32BD9&quot;}]}&amp;searchprofilefilters=null&amp;searchdevicefilters=null&#xA;&gt; &#xA;&#xA;&gt; Exception System.NullReferenceException: Object reference not set to an instance of an object.    at&#xA;&gt; Sitecore.Cintel.Endpoint.Plumbing.NegotiateLanguageFilter.OnActionExecuted(HttpActionExecutedContext&#xA;&gt; actionExecutedContext)    at&#xA;&gt; System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext&#xA;&gt; actionExecutedContext, CancellationToken cancellationToken)&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;&gt;     --- End of stack trace from previous location where exception was thrown ---    at&#xA;&gt; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;&gt; System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;&gt; task)    at&#xA;&gt; System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found this post:&#xA;&lt;a href=&quot;https://www.brimit.com/blog/sitecore-9-experience-profile-workaround&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.brimit.com/blog/sitecore-9-experience-profile-workaround&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I believe, that is a different problem. Can anyone help me finding out, what is causing the error? I'm at a loss.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 1:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I decided to extend my post with some more info about my project:&lt;br&gt;&#xA;I'm adding Contacts and Interactions to xConnect from a .NET Core application.&lt;br&gt;&#xA;I have got a custom xConnect model.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 2:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Request header was requested so here it is:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;GET /sitecore/api/ao/v1/contacts/search?&amp;amp;pageSize=20&amp;amp;pageNumber=%E2%80%8C%E2%80%8B1&amp;amp;sort=visitCount%20%E2%80%8C%E2%80%8Bdesc&amp;amp;match=*&amp;amp;searchf%E2%80%8C%E2%80%8Bromdatefilter=08%2F1%E2%80%8C%E2%80%8B0%2F2017&amp;amp;searchtodat%E2%80%8C%E2%80%8Befilter=09%2F11%2F20%E2%80%8C%E2%80%8B17&amp;amp;searchchannelfilt%E2%80%8C%E2%80%8Bers=null&amp;amp;searchcampa%E2%80%8C%E2%80%8Bignfilters=null&amp;amp;sear%E2%80%8C%E2%80%8Bchoutcomefilters=nul%E2%80%8C%E2%80%8Bl&amp;amp;searchgoalfilters=%E2%80%8C%E2%80%8Bnull&amp;amp;searchprofilefi%E2%80%8C%E2%80%8Blters=null&amp;amp;searchdev%E2%80%8C%E2%80%8Bicefilters=null HTTP/1.1&#xA;Host: demo.site&#xA;Connection: keep-alive&#xA;Pragma: no-cache&#xA;Cache-Control: no-cache&#xA;Upgrade-Insecure-Requests: 1&#xA;User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36&#xA;Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8&#xA;Accept-Encoding: gzip, deflate&#xA;Accept-Language: en-GB,en-US;q=0.9,en;q=0.8&#xA;Cookie: scContentEditorFoldersWidth=350; ASP.NET_SessionId=pwjpqa0edoppcgatss1bvmdi; shell#lang=en; __RequestVerificationToken=HnLdm_Now0Drb1P5cSUL4SldKgBBA7IjNyniEEizH-ZtceXy5dvvbheEeHV0bZowutgHlB7m_oLzLC-RTjjCWlkUEX8KrMsda_mhK2igSik1; __CSRFCOOKIE=4476f530-f75a-4ba8-bed4-4909607be60f; sc_fv=0.0.0; login#lang=en; sc_rte_shuser=2E9DAC23EC129E0F1B7D1B113712FEFCE23CBE8A1E770E0CF3198B88833E18BA7C98E4E51FF67BF4E76119BADC0419DADF48CD386DEE7192704505175E22A2D2D7412CAE567BC2973BDB9A01D67759A082039AB688898F348B09F7853A693D97352F49AEC76BED14B076F91D7AB7C530; website#sc_date=; sc_pview_shuser=209481495D3A610022B06B4C4B369240D448EF3D0C84D082172E3AA65E9A1493BFE98AC1EAB9EF217CC86968707DD6C990EE5EFE808491F4DCE4B595D0E5CF1E2F315AF0286F6DB76B339FED839915DD2C44C6A8927590237BB1DDA2331F1AF8D4E319630FE20926682BA578E751D27E; website#sc_mode=preview; website#lang=en; shell#sc_mode=; SC_ANALYTICS_GLOBAL_COOKIE=ea13502c80f84227909a2b77bcce2d77|True; sitecore_userticket=4904DD0629ED4175B5F029EC5EB226C5; .ASPXAUTH=144264DA69EA8BFF543760CDF27F5B92CDE96DEA99AD0CD9C45D05717DBC593965F5EB6B614A7F76A2BCBA6C8F6A5C0AEE8203187C7435289A5F3EABA675254DF053FEC600F32C07C03457A129777B5862A27C64780CD1A3F819CAA104EEF7F75FC5EF4483FC15AE9CA26695E64A29E9&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was fairly hesitant to post my code for creating the Contact and Interaction because I have it very split up throughout my application.&#xA;I tried adding the &lt;code&gt;IpInfo&lt;/code&gt; and &lt;code&gt;WebVisit&lt;/code&gt; Facets but without luck so here we go:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Adding a Contact:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public async Task&amp;lt;Contact&amp;gt; AddContact(string email)&#xA;    {&#xA;        var cfg = await _xconnect.InitializeXConnect();&#xA;        using (var client = new XConnectClient(cfg))&#xA;        {&#xA;            try&#xA;            {&#xA;                var contact = new Contact(&#xA;                           new ContactIdentifier(&quot;email&quot;, email, ContactIdentifierType.Known)&#xA;                           );&#xA;                client.AddContact(contact);&#xA;                await client.SubmitAsync();&#xA;                return contact;&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Console.WriteLine(ex);&#xA;                return null;&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Adding an interaction:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public async Task&amp;lt;bool&amp;gt; SendInteraction(Interaction i, StoreInfo storeInfo, ProfileScores profileScore, Contact contact)&#xA;    {&#xA;        var cfg = await _xconnect.InitializeXConnect();&#xA;        using (var client = new XConnectClient(cfg))&#xA;        {&#xA;            try&#xA;            {&#xA;                client.SetFacet(i, StoreInfo.DefaultFacetKey, storeInfo);&#xA;                client.SetFacet(i, ProfileScores.DefaultFacetKey, profileScore);&#xA;                FillRequiredFacets(client, i, contact);&#xA;                client.AddInteraction(i);&#xA;                await client.SubmitAsync();&#xA;                return true;&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Console.WriteLine(ex);&#xA;                return false;&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    private void FillRequiredFacets(XConnectClient client, Interaction interaction, Contact existingContact)&#xA;    {&#xA;        //Add Device profile&#xA;        DeviceProfile newDeviceProfile = new DeviceProfile(Guid.NewGuid());&#xA;        newDeviceProfile.LastKnownContact = existingContact;&#xA;        client.AddDeviceProfile(newDeviceProfile);&#xA;        interaction.DeviceProfile = newDeviceProfile;&#xA;&#xA;        //Add fake Ip info&#xA;        IpInfo fakeIpInfo = new IpInfo(&quot;127.0.0.1&quot;);&#xA;        fakeIpInfo.BusinessName = &quot;Home&quot;;&#xA;        client.SetFacet&amp;lt;IpInfo&amp;gt;(interaction, IpInfo.DefaultFacetKey, fakeIpInfo);&#xA;&#xA;        //Add fake webvisit&#xA;        WebVisit fakeWebVisit = new WebVisit();&#xA;        fakeWebVisit.SiteName = &quot;Offline&quot;;&#xA;        client.SetFacet&amp;lt;WebVisit&amp;gt;(interaction, WebVisit.DefaultFacetKey, fakeWebVisit);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="5387" LastEditDate="2019-06-14T10:28:17.247" LastActivityDate="2020-01-09T21:30:29.860" Title="Sitecore 9 Experience Profile An Error has occurred" Tags="|experience-profile|" AnswerCount="8" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="8908" PostTypeId="2" ParentId="8906" CreationDate="2017-12-08T14:55:20.853" Score="2" Body="&lt;p&gt;You can use personalization rule for your footer component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a rule in GeoIP section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;where the country [compares to] [specific country]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you're not using paid services, you may need to implement custom IP to country detection. But there are plenty of articles about GeoIP detection with free MaxMind databases, e.g:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.craigtaylor.us/2013/08/creating-geoip-lookup-provider-for.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.craigtaylor.us/2013/08/creating-geoip-lookup-provider-for.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that all the GeoIP databases are not perfect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember also that you should define default datasource which will be used if you have no datasource for that particular country.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;EDIT after OP's comment:&#xA;If you're not using xDB, you can do the same just using session/cookie instead of saving this information in contact. Find country based on user IP using free MaxMind database (or other db), set this info in cookie/session, copy code of geoip country rule and change it to compare country from cookie/session instead of xdb.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;EDIT after anothe OP's comment:&#xA;In order to personalize a Sitecore component, you don't need to write any code:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can personalize without xDB, see here: &lt;a href=&quot;https://sitecore.stackexchange.com/a/4769/277&quot;&gt;https://sitecore.stackexchange.com/a/4769/277&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2017-12-08T17:19:42.197" LastActivityDate="2017-12-08T17:19:42.197" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8909" PostTypeId="2" ParentId="8905" CreationDate="2017-12-08T15:03:22.983" Score="3" Body="&lt;p&gt;&lt;strong&gt;Don't optimize at all.&lt;/strong&gt; Here is a very good article about optimization of lucene indexes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://lucidworks.com/2017/10/13/segment-merging-deleted-documents-optimize-may-bad/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucidworks.com/2017/10/13/segment-merging-deleted-documents-optimize-may-bad/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During optimization, huge number of IO operations is performed. Your queries will be much slower, new indexing indexing will be slower as well. What do you need to optimize? Performance-wise your index won't be much faster. And space on your hard drive is cheap.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why the &quot;master&quot; index is optimized? I guess the question should be:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Why &lt;strong&gt;only&lt;/strong&gt; master index is optimized?&quot;. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I don't work at Sitecore so I cannot be sure, but I would say that it's because this index is not used from your CD servers so it should have minimal impact on your end users. Your content editors will survive if authoring experience is a bit slower.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-12-08T15:03:22.983" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8910" PostTypeId="1" CreationDate="2017-12-08T15:20:58.360" Score="9" ViewCount="1367" Body="&lt;p&gt;I'm trying to create a custom facets to insert data into sitecore9 XDB through Xconnect for this, I have followed the &lt;a href=&quot;https://citizensitecore.com/2017/10/17/xconnect-adding-custom-facets-in-sitecore-9/&quot; rel=&quot;noreferrer&quot;&gt;blog&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/facets/creating-facets/index.html?highlight=facet#use-custom-facets&quot; rel=&quot;noreferrer&quot;&gt;XconnectDoc&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I'm trying to add data into contact custom facet- I'm getting error as &lt;strong&gt;The type of this instance does not correspond to any type in the model&lt;/strong&gt; as shown in the below snapshot. However, I'm able to add facet data into the XDB for the buildin sitecore facets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KcPmx.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KcPmx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code Snippet for adding data into custom facet along with build in facet&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; private static void AddContact()&#xA;{&#xA;    using (var client = GetClient())&#xA;    {&#xA;        //Multiple Identifiers can be added as below&#xA;        var identifiers = new ContactIdentifier[]&#xA;            {&#xA;                    new ContactIdentifier(&quot;user15&quot;, &quot;SSkSudheer15&quot;, ContactIdentifierType.Known),&#xA;                    new ContactIdentifier(&quot;person15&quot;, &quot;SSkSuggu15&quot;, ContactIdentifierType.Known)&#xA;            };&#xA;&#xA;        Contact contact = new Contact(identifiers);&#xA;        client.AddContact(contact);&#xA;&#xA;        // Optional thing to add based on the requirement&#xA;        PersonalInformation personalInfoFacet = new PersonalInformation()&#xA;        {&#xA;            FirstName = &quot;Sudheer15&quot;,&#xA;            LastName = &quot;Suggu15&quot;&#xA;        };&#xA;&#xA;        FacetReference reference = new FacetReference(contact, PersonalInformation.DefaultFacetKey);&#xA;        client.SetFacet(reference, personalInfoFacet);&#xA;        //client.SetFacet&amp;lt;PersonalInformation&amp;gt;(contact, PersonalInformation.DefaultFacetKey, personalInfoFacet);&#xA;&#xA;        EmailAddressList emailFacet = new EmailAddressList(new EmailAddress(&quot;Sudheer15@mail.com&quot;, true), &quot;email&quot;);&#xA;        client.SetFacet(contact, emailFacet);&#xA;&#xA;        var carDetails = new CarDetails()&#xA;        {&#xA;            CarName = &quot;Benz&quot;,&#xA;            Model = &quot;Mecedes&quot;,&#xA;            year = 2018&#xA;        };&#xA;        //FacetReference refernce = new FacetReference(contact, CarDetails.FacetName);&#xA;        //client.SetFacet(reference, carDetails);&#xA;        //client.SetFacet&amp;lt;CarDetails&amp;gt;(contact, CarDetails.FacetName, carDetails);&#xA;        client.SetFacet&amp;lt;CarDetails&amp;gt;(new FacetReference(contact, CarDetails.FacetName), carDetails);&#xA;        client.Submit();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the Model code snippet&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4z631.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4z631.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added facet to a custom model and generated json file and dropped it in a different location in Xconnect root folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Custom Model code snippet: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class XconnectPOCModel&#xA;{&#xA;    public static XdbModel Model { get; } = BuildModel();&#xA;    private static XdbModel BuildModel()&#xA;    {&#xA;        var builder = new XdbModelBuilder(&quot;XconnectPOCCarModel&quot;, new XdbModelVersion(1, 0));&#xA;        builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);&#xA;        builder.DefineFacet&amp;lt;Contact, CarDetails&amp;gt;(CarDetails.FacetName);&#xA;&#xA;        return builder.BuildModel();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2473" LastEditorUserId="73" LastEditDate="2017-12-16T10:13:40.450" LastActivityDate="2023-02-21T15:04:25.780" Title="The type of this instance does not correspond to any type in the model" Tags="|xdb|contact-facets|xconnect|" AnswerCount="3" CommentCount="18" ContentLicense="CC BY-SA 3.0" />
  <row Id="8911" PostTypeId="5" CreationDate="2017-12-08T15:37:10.483" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-12-08T15:37:10.483" LastActivityDate="2017-12-08T15:37:10.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8912" PostTypeId="4" CreationDate="2017-12-08T15:37:10.483" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2017-12-08T15:37:10.483" LastActivityDate="2017-12-08T15:37:10.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8913" PostTypeId="1" CreationDate="2017-12-08T17:21:11.757" Score="3" ViewCount="393" Body="&lt;p&gt;Using Sitecore Commerce 8.2.1, I am not able to delete an approved promotion in the Pricing &amp;amp; Promotion Manager. I get the following error message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'MyOrg_PromotionBook-Test Promo' cannot be edited or deleted because it is approved.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This particular promotion was disabled and now we can't re-enable it, edit it, or delete it. We also can't create a new promotion that uses the same coupon code. Nowhere in the documentation (that I have found) does it discuss modifying or deleting promotions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also used Postman to get the entity master view directly and I can see that the Edit, Retract, etc. actions are coming back in the JSON with &lt;code&gt;&quot;IsEnabled&quot;: false&lt;/code&gt;. This tells me that it is not a permissions or UI thing, but a business rule within Commerce Engine.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2017-12-08T17:21:11.757" Title="How do you delete an approved promotion?" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8915" PostTypeId="1" CreationDate="2017-12-08T20:17:34.013" Score="7" ViewCount="3836" Body="&lt;p&gt;We are using Solr for indexing. We recently upgraded from Sitecore version 8.1 update 2 to 8.2 update 5. After upgrading when a search is performed we get the following error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There is no method 'GetResults' on type&#xA;  'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the&#xA;  specified arguments&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is the relevant code:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var csmIndex = ContentSearchManager.GetIndex(index);&#xA;using (var context = csmIndex.CreateSearchContext(Sitecore.ContentSearch.Security.SearchSecurityOptions.DisableSecurityCheck))&#xA;{&#xA;    var query = context.GetQueryable&amp;lt;CustomSearchResult&amp;gt;();&#xA;    query = query.Where(i =&amp;gt; i.SearchContent.Contains(search) || i.SearchTitle.Contains(search) || i.Url.Contains(search));&#xA;    if(facilityID != default(ID))&#xA;    {&#xA;        query = query.Where(i =&amp;gt; i.FacilityId == facilityID);&#xA;    }&#xA;&#xA;    query = query.Page(page - 1, pageSize);&#xA;    var items = query.GetResults();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I decompiled &lt;code&gt;Sitecore.ContentSearch.Linq.dll&lt;/code&gt; and verified the method exists. I am getting no compliation errors.  I'm not sure what has changed between versions that would cause this.&lt;/p&gt;&#xA;" OwnerUserId="394" LastActivityDate="2018-10-09T14:35:23.700" Title="There is no method 'GetResults' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments" Tags="|content-search|solr|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8917" PostTypeId="1" CreationDate="2017-12-08T20:41:29.540" Score="0" ViewCount="327" Body="&lt;p&gt;I see that the selection is empty when user login for the first time or until a selection is made. Is there a way I can make a default workflow selected from the workflow list on workbox without asking for the user to select for the first time. It works after the user selects a workflow.  Please see below screenshot:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/iA7Nf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iA7Nf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any advice or suggestions on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank You &lt;/p&gt;&#xA;" OwnerUserId="1729" LastEditorUserId="73" LastEditDate="2019-05-27T09:34:37.027" LastActivityDate="2019-05-27T09:34:37.027" Title="pre select a default workflow on the workbox" Tags="|workbox|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8918" PostTypeId="2" ParentId="8917" CreationDate="2017-12-08T21:07:11.133" Score="1" Body="&lt;p&gt;If the user who is logging in have any items in his/her workbox, items will be auto populated. But if there are no items on the workbox for the user, you have to manually select the workflow for which you need to see the details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also the workflow which was selected when you closed the workbox, will be automatically selected when you open it next time.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2017-12-08T21:07:11.133" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8919" PostTypeId="1" AcceptedAnswerId="8920" CreationDate="2017-12-08T22:07:19.683" Score="11" ViewCount="436" Body="&lt;p&gt;I filled in the following form to be included in the Sitecore Chat on Slack:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.google.com/forms/d/1bAVDgP5-FhFh8ohPchHtifq-rz7EBkuPojAzdEofJyo/viewform&quot; rel=&quot;noreferrer&quot;&gt;https://docs.google.com/forms/d/1bAVDgP5-FhFh8ohPchHtifq-rz7EBkuPojAzdEofJyo/viewform&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the next steps after that? If I go to &lt;a href=&quot;http://sitecorechat.slack.com&quot; rel=&quot;noreferrer&quot;&gt;http://sitecorechat.slack.com&lt;/a&gt;, it asks me for an username and a password, which I haven't been provided with yet.&lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="73" LastEditDate="2017-12-09T09:25:56.117" LastActivityDate="2017-12-09T09:25:56.117" Title="What happens after I sign up for Sitecore Slack?" Tags="|community|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8920" PostTypeId="2" ParentId="8919" CreationDate="2017-12-08T22:09:03.967" Score="11" Body="&lt;p&gt;Check your email inbox. You should get an invite.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the moment, sending &lt;a href=&quot;https://sitecorechat.slack.com&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorechat.slack.com&lt;/a&gt; invitation is a manual process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the administrators has to approve your invitation based on what you submitted in the form.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-12-08T22:09:03.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8921" PostTypeId="2" ParentId="8907" CreationDate="2017-12-08T22:55:07.013" Score="2" Body="&lt;p&gt;Any chance you could post the code you're using to create the &lt;code&gt;Contact&lt;/code&gt; and &lt;code&gt;Interaction&lt;/code&gt;?  When creating the interaction manually, outside of a Sitecore context (like in your .NET core app), there are a few bits you need to construct that you may not realize.  For instance, if this is an online interaction, you need to specify data for the &lt;code&gt;IpInfo&lt;/code&gt; facet.  There were two or three objects, when I was creating my xConnect console app, that I did not know to create until I started digging.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever you're viewing the xProfile for a user, a series of pipelines are kicked off.  Take the &lt;code&gt;Sitecore.Cintel.Reporting.ReportingServerDatasource.Visits.GetVisitsWithLocations&lt;/code&gt; processor for example.  In the &lt;code&gt;FillTableWithRow&lt;/code&gt; method, they are expecting a non-null &lt;code&gt;IpInfo&lt;/code&gt; object with valid data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class GetVisitsWithLocations : ReportProcessorBase&#xA;    {&#xA;        private void FillTableWithRow(DataTable rawTable, Sitecore.XConnect.Interaction curInteraction, int index = 1)&#xA;        {&#xA;            WebVisit webVisit = curInteraction.WebVisit();&#xA;            IpInfo ipInfo = curInteraction.IpInfo();&#xA;            ...&#xA;            DataRow row = rawTable.NewRow();&#xA;            ...&#xA;            row[&quot;DeviceId&quot;] = (object) curInteraction.DeviceProfile.Id;&#xA;            ...&#xA;            row[&quot;Ip&quot;] = (object) ipInfo.IpAddress.ToString();&#xA;            ...&#xA;            rawTable.Rows.Add(row);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my opinion, they are not handling errors well enough, so a call to &lt;code&gt;ipInfo.IpAddress.ToString();&lt;/code&gt; results in a &lt;code&gt;NullReferenceException&lt;/code&gt; and will lead to the dashboard error that you're seeing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, as I mentioned earlier, it would be helpful to see the code you're using to actually create the &lt;code&gt;Contact&lt;/code&gt; and populate the &lt;code&gt;Interaction&lt;/code&gt; data.&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2017-12-08T22:55:07.013" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8922" PostTypeId="2" ParentId="8917" CreationDate="2017-12-08T23:16:43.483" Score="2" Body="&lt;p&gt;The information which workflows are preselected is stored in user profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the code of a sample admin page which you can use to set a workflow to be selected when that user opens Workbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just create aspx page in &lt;code&gt;/sitecore/admin&lt;/code&gt; folder which uses the code below and then open in your browser&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://YOURDOMAIN/sitecore/admin/setactiveworkflow.aspx?workflowid={A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}&amp;amp;username=sitecore\CHOSEN_USERNAME&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used Sample Worfklow id: &lt;code&gt;{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}&lt;/code&gt;, you can use any other workflow id.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class SetActiveWorkflow : Sitecore.sitecore.admin.AdminPage&#xA;{&#xA;  protected void Page_Load(object sender, System.EventArgs e)&#xA;  {&#xA;    CheckSecurity();&#xA;    var currentUser = Sitecore.Security.Authentication.AuthenticationManager.GetActiveUser();&#xA;&#xA;    try&#xA;    {&#xA;      var userName = Request[&quot;username&quot;];&#xA;      var workflowId = Request[&quot;workflowid&quot;];&#xA;&#xA;      if (!string.IsNullOrEmpty(userName) &amp;amp;&amp;amp; !string.IsNullOrEmpty(workflowId))&#xA;      {&#xA;        Sitecore.Security.Authentication.AuthenticationManager.SetActiveUser(userName);&#xA;&#xA;        string registryKey = &quot;P&quot; + System.Text.RegularExpressions.Regex.Replace(workflowId, &quot;\\W&quot;, string.Empty);&#xA;        Sitecore.Web.UI.HtmlControls.Registry.SetString(&quot;/Current_User/Panes/&quot; + registryKey, &quot;visible&quot;);&#xA;&#xA;        // clearing the cache may not be necessary. just in case&#xA;        var shellSiteContext = Sitecore.Sites.SiteContext.GetSite(&quot;shell&quot;);&#xA;        var shellSiteRegistryCache = Sitecore.Caching.CacheManager.GetRegistryCache(shellSiteContext);&#xA;        shellSiteRegistryCache.RemoveKeysContaining(Sitecore.Context.GetUserName().ToLowerInvariant());&#xA;&#xA;        Response.Write($&quot;Workflow {workflowId} selected for {Sitecore.Context.GetUserName()}&quot;);&#xA;      }&#xA;    }&#xA;    catch (System.Exception exc)&#xA;    {&#xA;      Sitecore.Diagnostics.Log.Error(&quot;Exception while setting active workflow&quot;, exc, this);&#xA;    }&#xA;    finally&#xA;    {&#xA;      Sitecore.Security.Authentication.AuthenticationManager.SetActiveUser(currentUser);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-12-08T23:16:43.483" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8923" PostTypeId="2" ParentId="8859" CreationDate="2017-12-08T23:20:35.710" Score="1" Body="&lt;p&gt;I added a custom field in this open source project I wrote. &lt;a href=&quot;https://github.com/buildabonfire/Bonfire-Company-Personalization&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/buildabonfire/Bonfire-Company-Personalization&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Get the data&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;First you need a pipeline to pull the facet from the contact facet in xDB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Bonfire.Feature.Kickfire.Analytics.Interfaces.Entries;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Analytics.Pipelines.ContactIndexableLoadFields;&#xA;using Sitecore.Diagnostics;&#xA;&#xA;namespace Bonfire.Feature.Kickfire.Analytics.Pipelines.CompanyIndexableLoadFields&#xA;{&#xA;    class LoadFields : ContactIndexableLoadFieldsProcessor&#xA;    {&#xA;        protected override IEnumerable&amp;lt;IIndexableDataField&amp;gt; GetFields(ContactIndexableLoadFieldsPipelineArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            var contact = args.Contact;&#xA;            Assert.IsNotNull(contact, &quot;contact&quot;);&#xA;&#xA;            //Log.Info(&quot;Starting company field aggregator&quot;,this);&#xA;            var list = new List&amp;lt;IIndexableDataField&amp;gt;();&#xA;&#xA;            var value = contact.Facets.FirstOrDefault(kvp =&amp;gt; kvp.Value is ICustomerLookup).Value;&#xA;&#xA;            if (value != null)&#xA;            {&#xA;                var companyInfo = (ICustomerLookup) value;&#xA;&#xA;                list = new List&amp;lt;IIndexableDataField&amp;gt;&#xA;                {&#xA;                    new IndexableDataField&amp;lt;string&amp;gt;(&quot;contact.company&quot;, companyInfo.name)&#xA;                };&#xA;            }&#xA;&#xA;            return list;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Pipeline&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Then patch in this config to add the code above to the &lt;code&gt;ontactindexable.loadfields&lt;/code&gt; pipeline and then the config to add the field. Be sure to notice that the field name &lt;code&gt;contact.company&lt;/code&gt; is both in the pipeline and the config. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;contactindexable.loadfields&amp;gt;&#xA;        &amp;lt;processor type=&quot;Bonfire.Feature.Kickfire.Analytics.Pipelines.CompanyIndexableLoadFields.LoadFields, Bonfire.Feature.Kickfire.Analytics&quot; /&amp;gt;&#xA;      &amp;lt;/contactindexable.loadfields&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_analytics_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot;&amp;gt;&#xA;              &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;                &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;contact.company&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;WITH_POSITIONS_OFFSETS&quot; boost=&quot;1f&quot; emptyString=&quot;_EMPTY_&quot; nullValue=&quot;_NULL_&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                    &amp;lt;Analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                  &amp;lt;/field&amp;gt;&#xA;                &amp;lt;/fieldNames&amp;gt;&#xA;              &amp;lt;/fieldMap&amp;gt;&#xA;            &amp;lt;/configuration&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-12-08T23:20:35.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8924" PostTypeId="2" ParentId="8889" CreationDate="2017-12-08T23:36:47.437" Score="0" Body="&lt;p&gt;I think what will get you there is to follow the Sitecore.FXM.Lucene.DomainsSearch.DefaultIndexConfiguration.config file from Sitecore. There are two important things to notice in this config. First is the setting &lt;code&gt;&amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&lt;/code&gt;. This tells Sitecore to start with no field and ignore the default index fieldset. The hint from sitecore is&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This setting allows you to specify which fields to include in the index when the indexAllFields setting is set to false.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Then you just include all the fields you want in this index. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;       &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;          &amp;lt;fieldId&amp;gt;{B5E02AD9-D56F-4C41-A065-A133DB87BDEB}&amp;lt;/fieldId&amp;gt;&#xA;          &amp;lt;!-- display name --&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The benefit being that it is by field ID. This gets you around the two fields called &lt;code&gt;Title&lt;/code&gt;. Here is the config, but you can find it in &lt;code&gt;Website\App_Config\Include\Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;!--&#xA;&#xA;Purpose: This include file specifies the default configuration of the Lucene search index.&#xA;&#xA;To disable this file, change its extension to &quot;.disabled&quot;.&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultFxmLuceneIndexConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneDocumentBuilderOptions, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;&#xA;            &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;domainMatcherTemplateId&amp;gt;{036DB470-1850-4848-A48A-0931F825B867}&amp;lt;/domainMatcherTemplateId&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;              &amp;lt;fieldId&amp;gt;{B5E02AD9-D56F-4C41-A065-A133DB87BDEB}&amp;lt;/fieldId&amp;gt;&#xA;              &amp;lt;!-- display name --&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;urllink&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.UrlLink,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;createdby&quot;&amp;gt;Sitecore.FXM.Service.Data.DomainMatchers.ContentSearch.ComputedFields.CreatedBy, Sitecore.FXM.Service&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;updatedby&quot;&amp;gt;Sitecore.FXM.Service.Data.DomainMatchers.ContentSearch.ComputedFields.UpdatedBy, Sitecore.FXM.Service&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;revision&quot;&amp;gt;Sitecore.FXM.Service.Data.DomainMatchers.ContentSearch.ComputedFields.Revision, Sitecore.FXM.Service&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;domainmatchrule&quot;&amp;gt;Sitecore.FXM.Service.Data.DomainMatchers.ContentSearch.ComputedFields.DomainMatcherRule, Sitecore.FXM.Service&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;&#xA;          &amp;lt;initializeOnAdd&amp;gt;true&amp;lt;/initializeOnAdd&amp;gt;&#xA;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;&#xA;              &amp;lt;field fieldName=&quot;_uniqueid&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;&#xA;              &amp;lt;field fieldName=&quot;_database&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;&#xA;              &amp;lt;field fieldName=&quot;urllink&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;&#xA;              &amp;lt;field fieldName=&quot;createdby&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;&#xA;              &amp;lt;field fieldName=&quot;updatedby&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;&#xA;              &amp;lt;field fieldName=&quot;revision&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;&#xA;              &amp;lt;field fieldName=&quot;domainmatchrule&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;&#xA;          &amp;lt;!-- **** Inherited default configuration **** --&amp;gt;&#xA;&#xA;          &amp;lt;analyzer ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/analyzer&quot; /&amp;gt;&#xA;          &amp;lt;fieldReaders ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldReaders&quot; /&amp;gt;&#xA;          &amp;lt;indexFieldStorageValueFormatter ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/indexFieldStorageValueFormatter&quot; /&amp;gt;&#xA;          &amp;lt;indexDocumentPropertyMapper ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/indexDocumentPropertyMapper&quot; /&amp;gt;&#xA;          &amp;lt;documentBuilderType ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/documentBuilderType&quot; /&amp;gt;&#xA;        &amp;lt;/defaultFxmLuceneIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-12-08T23:36:47.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8925" PostTypeId="1" CreationDate="2017-12-08T23:48:43.450" Score="7" ViewCount="2939" Body="&lt;p&gt;I'm running Sitecore 8.2 Update 4 with Solr 5.5 (running inside of a Linux Docker container). I'm trying to get Sitecore to tell Solr to populate the indexes. Here's my setup:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Downloaded the Solr 5.5 docker image.&lt;/li&gt;&#xA;&lt;li&gt;Copied a valid Solr Schema file (taken from our test environment) to the appropriate configs folder.&lt;/li&gt;&#xA;&lt;li&gt;Changed the solrconfig.xml file to use &lt;code&gt;ClassicIndexSchemaFactory&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Populated my cors using a powershell script which has proven to work fine in other environments.&lt;/li&gt;&#xA;&lt;li&gt;Using &lt;code&gt;ShowConfig.aspx&lt;/code&gt; I was able to verify that Sitecore is pointing to my local instance of Solr.&lt;/li&gt;&#xA;&lt;li&gt;Verified that Solr is running and accessible from the address that Sitecore is looking at.&lt;/li&gt;&#xA;&lt;li&gt;Verified that Sitecore is running in SOLR mode and not Lucene mode.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now, when I try to run the re-indexing process, I get this screen:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XPOot.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XPOot.png&quot; alt=&quot;Indexing Manager Empty&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked the Sitecore Logs, and all it says is this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;12116 16:41:25 INFO  AUDIT (sitecore\admin): Rebuild indexes from Indexing Manager: sitecore_master_index&#xA;ManagedPoolThread #7 16:41:25 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;ManagedPoolThread #7 16:41:25 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And in SOLR, I'm seeing no logs whatsoever. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/NasJH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NasJH.png&quot; alt=&quot;No SOLR Errors Logged&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also verified that I don't have any documents in my master database, which has over 70,000 items in it.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YpCIw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YpCIw.png&quot; alt=&quot;No documents&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure where I should start looking for errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;Thanks to the comments, I'm able to see the following errors in my crawling.log file. I'm not sure what they mean because my SOLR instance is up and running and available, but at least it's something to go on. Here's the log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_analytics_index'&#xA;  index. Registering the index for re-initialization once connection to&#xA;  SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_core_index' index. Registering the index for re-initialization once connection to&#xA;  SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_master_index' index. Registering the index for re-initialization once connection to&#xA;  SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_web_index' index. Registering the index for re-initialization once connection to&#xA;  SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_marketing_asset_index_master' index. Registering the index&#xA;  for re-initialization once connection to SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_marketing_asset_index_web' index. Registering the index for&#xA;  re-initialization once connection to SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_marketingdefinitions_master' index. Registering the index&#xA;  for re-initialization once connection to SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_marketingdefinitions_web' index. Registering the index for&#xA;  re-initialization once connection to SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_testing_index' index. Registering the index for re-initialization once connection to&#xA;  SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_suggested_test_index' index. Registering the index for&#xA;  re-initialization once connection to SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_fxm_master_index' index. Registering the index for&#xA;  re-initialization once connection to SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_fxm_web_index' index. Registering the index for re-initialization once connection to&#xA;  SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'sitecore_list_index' index. Registering the index for re-initialization once connection to&#xA;  SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'social_messages_master' index. Registering the index for re-initialization once connection to&#xA;  SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'social_messages_web' index. Registering the index for re-initialization once connection to&#xA;  SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  Failed to initialize 'mediaframework_ooyala_index' index. Registering the index for&#xA;  re-initialization once connection to SOLR becomes available ...&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;8316 10:15:02 WARN  DONE&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="339" LastEditorUserId="2890" LastEditDate="2018-02-17T19:21:38.973" LastActivityDate="2018-06-05T10:34:00.547" Title="What would cause Sitecore and Solr to not talk to each other?" Tags="|solr|docker|" AnswerCount="3" CommentCount="18" ContentLicense="CC BY-SA 3.0" />
  <row Id="8926" PostTypeId="2" ParentId="8915" CreationDate="2017-12-08T23:54:44.200" Score="2" Body="&lt;p&gt;After digging deeper it turns out that the they are using Solr version 5.5.0. This appears to be leading to the known issue identified in the &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr compatibility table&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We'll see what happens after upgrading Solr.&lt;/p&gt;&#xA;" OwnerUserId="394" LastActivityDate="2017-12-08T23:54:44.200" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8927" PostTypeId="1" CreationDate="2017-12-09T04:31:14.100" Score="0" ViewCount="1272" Body="&lt;p&gt;I have javascript url which change in different environment like, QA, Staging and Prod. I am trying to add this url in sitecore CMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have gone through sxa theming, in AssetInclude, there is an option AddUrlInclude  its adding the url. But I couldn't know when it is called and what are the settings required to use this option.&#xA;please help me on adding the direct link into the theme / asset?&lt;/p&gt;&#xA;" OwnerUserId="2930" LastActivityDate="2017-12-09T19:48:37.133" Title="How to add css/script url into SXA theme?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8928" PostTypeId="2" ParentId="8883" CreationDate="2017-12-09T04:40:52.240" Score="2" Body="&lt;p&gt;I've successfully deployed three websites using SXA with the items tracked using Unicorn.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wrote an &lt;a href=&quot;https://michaellwest.blogspot.com/2017/04/unicorn-serialization-for-sxa-projects.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; discussing how I did this not long ago.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Considerations&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;While there are many things to consider, here are a few I hope the article helps address.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All code and items are tracked using Unicorn.&lt;/li&gt;&#xA;&lt;li&gt;Items under &lt;em&gt;Home&lt;/em&gt; and the grandchildren of &lt;em&gt;Data&lt;/em&gt; are excluded from source control, as are the media paths for the tenant. I used transparent sync to include everything and &lt;strong&gt;.gitignore&lt;/strong&gt; to prevent accidentally checking in. You may feel the need to track everything but do note that images bloat the repo.&lt;/li&gt;&#xA;&lt;li&gt;Track both the serialized theme and the raw version. This is important when using Creative Exchange.&lt;/li&gt;&#xA;&lt;li&gt;The configuration I created makes just about everything owned by developers. This includes site settings. Unicorn provides other options.&lt;/li&gt;&#xA;&lt;li&gt;SXA includes a bundler, so only be concerned with the transpiling of assets such as SASS.&lt;/li&gt;&#xA;&lt;li&gt;Exclude npm files from git.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Your question calls out managing the theme, but consider a solution that works for content and code.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-12-09T04:46:17.627" LastActivityDate="2017-12-09T04:46:17.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8929" PostTypeId="2" ParentId="8927" CreationDate="2017-12-09T18:46:36.263" Score="3" Body="&lt;p&gt;There are different types of &lt;code&gt;AssetInclude&lt;/code&gt;. The commonly used one is &lt;code&gt;ThemeInclude&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you've found is a function which will include &lt;code&gt;UrlInclude&lt;/code&gt; into the result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The thing is that this type exists but is not actively used. To include something like custom link depending on the environment you need to write your own custom processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could achieve your goal by extending &lt;code&gt;assetService&lt;/code&gt; pipeline (right now all assets comes from themes).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;assetService&lt;/code&gt; pipeline uses &lt;code&gt;AssetsArgs&lt;/code&gt; which has &lt;code&gt;AssetsList&lt;/code&gt; processor. Just add desired script/css links into this collection.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;args.AssetsList.Add(new UrlInclude&#xA;{&#xA;    Type = AssetType.Script,&#xA;    Url = &quot;//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js&quot;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-12-09T18:46:36.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8930" PostTypeId="2" ParentId="8927" CreationDate="2017-12-09T19:48:37.133" Score="2" Body="&lt;p&gt;I put together a module that covers the functionality you described. You can check it out &lt;a href=&quot;https://github.com/michaellwest/westco-sxa-extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the main functionality of the module includes referencing scripts and styles form a CDN using the SRI attributes that Chrome and Firefox handle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/f2Bwi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f2Bwi.png&quot; alt=&quot;Sample Asset&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The referenced assets can be associated per site and per page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I went with the &lt;code&gt;PlainInclude&lt;/code&gt; because it gives me more control over the asset. The &lt;strong&gt;Content&lt;/strong&gt; is constructed manually so I can add attributes such as &lt;code&gt;async&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var urlInclude = new PlainInclude&#xA;{&#xA;    SortOrder = num,&#xA;    Name = plainIncludeItem.Name,&#xA;    Type = assetType,&#xA;    Content = urlContent&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-12-09T19:48:37.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8932" PostTypeId="2" ParentId="6645" CreationDate="2017-12-11T03:01:32.520" Score="0" Body="&lt;p&gt;Add this into your httpd.conf file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Timeout 2400&#xA;ProxyTimeout 2400&#xA;ProxyBadHeader Ignore &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This helps to solve the error&lt;/p&gt;&#xA;" OwnerUserId="2941" LastActivityDate="2017-12-11T03:01:32.520" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8933" PostTypeId="2" ParentId="8571" CreationDate="2017-12-11T05:05:02.710" Score="1" Body="&lt;p&gt;This issue is solved. Actually, the crypto keys of exm on CD and CM servers were different. They should be same. After making the keys same on CD n CM, it started working.&lt;/p&gt;&#xA;" OwnerUserId="2161" LastActivityDate="2017-12-11T05:05:02.710" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8934" PostTypeId="1" CreationDate="2017-12-11T05:06:08.597" Score="1" ViewCount="602" Body="&lt;p&gt;We are using Email Experience Manager 3.4.0 rev. 161028. In our newsletter, we included a link (anchor tag) to view the online version of the email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The links works well in local and staging but it is failing on production. The production url throws the &quot;&lt;code&gt;This site can’t be reached&lt;/code&gt;&quot; error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The crypto keys are fine. &lt;code&gt;Analytics.Clustername&lt;/code&gt; points to hostname and other settings are OK as per configuration guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure as to what's going wrong here..any clue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Url format below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://&amp;lt;oursitename&amp;gt;&amp;gt;/sitecore/RedirectUrlPage.aspx?ec_eq=d5FVcEM0YRbUNUUoMLex%2ft9aC6PyZbfOZtKTGZAFP%2bLfU5wcRZQXEOpv2UZrRu%2bFR42W11UpbXG%2bMrZyqRdGlys4ooVq2UfU9q8OfDXzYiHCcTCRn4xblXsR0S8YS0eu%2fBycWbEivNmNQX2VauYUjb43TLQab4a75YMYWMJrH7qTH7dbcmAi5zeeVfokCKv1B8F5G7N1P6bZBeygKhf6klz6%2fiqnuYKWrCU16TgWYcFQK9YVnRJG5gEdyh9vNy%2bQFRb15NeJUAXV7EcMyM7Q5%2bReQJPTeAaw%2bAcABu7cJLeJC4bBn1sEyKxoVsg6PxSDe4Bqj%2fvne6ptDdjCCqiH4g%3d%3d&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EXM Root settings&#xA;&lt;a href=&quot;https://i.stack.imgur.com/OmUdL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OmUdL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="2161" LastEditDate="2018-01-17T01:25:01.367" LastActivityDate="2018-01-17T01:25:01.367" Title="Sitecore EXM View Online link issue" Tags="|exm|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="8935" PostTypeId="1" CreationDate="2017-12-11T06:06:48.857" Score="1" ViewCount="49" Body="&lt;p&gt;WFFM matter doesn't seem to have an input range built-in, how do I go about creating a custom field input range for WFFM?&lt;/p&gt;&#xA;" OwnerUserId="2943" LastActivityDate="2017-12-11T06:06:48.857" Title="WFFM range input control" Tags="|wffm|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8936" PostTypeId="1" CreationDate="2017-12-11T09:17:46.937" Score="5" ViewCount="421" Body="&lt;p&gt;Our client needs to pre-authenticate with AD before common Sitecore built-in authentication (they don't need the AD users in Sitecore). We switched on &quot;Log in with Azure Active Directory&quot; at our CM App Service instance's &lt;code&gt;Authentication / Authorization&lt;/code&gt; setting. It works well at the begining - redirects to AD login screen and after successful AD login, redirects back to Sitecore login (&lt;code&gt;/sitecore/login&lt;/code&gt;). But after a successful Sitecore login, we get a strange redirect to &lt;code&gt;/sitecore/service/notfound.aspx?item=%2fsitecore%2fclient%2fApplications%2fLaunchpad+(route%3a+%7b*pathInfo%7d)&amp;amp;user={ADUSER}&amp;amp;site=shell&lt;/code&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help, how is it possible to make it work? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why &quot;overrides&quot; the AD authentication the Sitecore one?&lt;/p&gt;&#xA;" OwnerUserId="2944" LastEditorUserId="2727" LastEditDate="2018-01-15T08:51:09.310" LastActivityDate="2018-01-15T08:51:09.310" Title="Log in with Azure Active Directory" Tags="|azure|authentication|active-directory-module|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8937" PostTypeId="1" AcceptedAnswerId="8938" CreationDate="2017-12-11T09:56:18.703" Score="6" ViewCount="1063" Body="&lt;p&gt;We would like to make the main Sitecore log file more clean,and filter away all the unnecessary information that makes finding errors and other relevant information harder.&#xA;After upgrading to Sitecore 8.2 update 5 from Sitecore 7.2, we get the following message several time per second, resulting in 6+ MB log files per day.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;INFO  Job started: Index_Update_IndexName=sitecore_master_index&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is an example that contains a few seconds: &lt;a href=&quot;https://pastebin.com/raw/qjBvaFjW&quot; rel=&quot;noreferrer&quot;&gt;https://pastebin.com/raw/qjBvaFjW&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So basically I have 2 questions here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Is it possible to NOT log these particular messages at all? I haven't really found any examples of using the  to manipulate the standard .log file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Is there a way to make log messages containing specific text go to another log file, like indexupdateDATETIME.txt, instead of the log.txt?&lt;/p&gt;&#xA;" OwnerUserId="1414" LastActivityDate="2019-08-12T07:34:15.817" Title="Filter standard Sitecore log messages into separate logs" Tags="|configuration|logging|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8938" PostTypeId="2" ParentId="8937" CreationDate="2017-12-11T10:20:16.013" Score="4" Body="&lt;p&gt;As Mark mentioned Sitecore uses log4net so you can use the filtermethods that log4net provides. You can find the options here: &lt;a href=&quot;https://logging.apache.org/log4net/log4net-1.2.11/release/sdk/log4net.Filter.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://logging.apache.org/log4net/log4net-1.2.11/release/sdk/log4net.Filter.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, there is a &lt;code&gt;StringMatchFilter&lt;/code&gt; that you could use to filter out all messages with a specified text (answering your question 2). Haven't tried that one myself yet - found a blog on it's usage here: &lt;a href=&quot;https://www.kruegerwebdesign.com/blog/how-to-use-the-log4net-stringmatchfilter&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.kruegerwebdesign.com/blog/how-to-use-the-log4net-stringmatchfilter&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To answer your question 1, you can also raise the loglevel, so it doesn't log the info logs anymore. But that would mean that the other info level logs aren't logged anymore either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also move the debug/info logs to another log file as described here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2498/how-can-i-split-logs-by-log-level-priority&quot;&gt;How can I split logs by log level/priority&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-12-11T14:37:39.827" LastActivityDate="2017-12-11T14:37:39.827" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8939" PostTypeId="1" AcceptedAnswerId="8956" CreationDate="2017-12-11T10:23:15.583" Score="0" ViewCount="261" Body="&lt;p&gt;Standard out of the box Sitecore has prefetch cache settings to read in templates, template sections and template fields. What is the purpose of this, given that the actual items based on the templates aren't fetched by default?&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="3136" LastEditDate="2018-03-06T10:24:18.620" LastActivityDate="2018-03-06T10:24:18.620" Title="Why are templates added by default to the web database prefetch cache?" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8940" PostTypeId="2" ParentId="8937" CreationDate="2017-12-11T10:27:20.187" Score="3" Body="&lt;p&gt;You cans set log priority in the confi section.The following is a list of log levels (priorities) from lowest to highest severity.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;DEBUG&lt;/li&gt;&#xA;&lt;li&gt;INFO&lt;/li&gt;&#xA;&lt;li&gt;WARN&lt;/li&gt;&#xA;&lt;li&gt;ERROR&lt;/li&gt;&#xA;&lt;li&gt;FATAL&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Out of Box log pririty set to &quot;INFO&quot;, so log will record all levels except &quot;DEBUG&quot;. If you dont want info messages in log then you can set it to &quot;WARN&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for more details about logging, yo check at &lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Logging/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Logging/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1155" LastEditorUserId="731" LastEditDate="2017-12-11T16:57:16.113" LastActivityDate="2017-12-11T16:57:16.113" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8941" PostTypeId="1" AcceptedAnswerId="8942" CreationDate="2017-12-11T15:41:10.123" Score="0" ViewCount="302" Body="&lt;p&gt;So we need to migrate content from sitecore 7.2 to sitecore 8. But it's not only migrating, we also need to modify the content in order to have updated content in the new instance. &#xA;Our original approach was like: &#xA;Old Site -&gt; JS tool -&gt; worksheets  ....   Updated(modified) worksheets -&gt; JS Tool (as a webpage) -&gt; New sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We though about using item web api, but, is there any other way to pull the data? even if we can do a dump of the data or something?&lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="1049" LastEditDate="2017-12-15T14:18:33.313" LastActivityDate="2017-12-15T14:18:33.313" Title="Migrating content from sitecore 7.2" Tags="|webapi|migration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8942" PostTypeId="2" ParentId="8941" CreationDate="2017-12-11T15:47:31.020" Score="8" Body="&lt;p&gt;There are a number of approaches people have taken to accomplish such a task. One of my preferences is to use the Sitecore PowerShell Extensions (SPE) module. With some knowledge of PowerShell, you can just about do anything with the content.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 1 : Sitecore Item Web API&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Use whatever method available to you, such as the Item Web API. With SPE or vanilla PowerShell you can consume the data, transform, and then import. SPE also includes a Web API but you completely customize what data is returned and how it's formatted.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 2 : SPE Import/Export Wizards&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There is a &lt;em&gt;Data Import Wizard&lt;/em&gt; bundled with SPE that would allow you to import updated content where the data is in CSV format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gbAHt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gbAHt.png&quot; alt=&quot;Wizard Screen 1&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Jzr27.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jzr27.png&quot; alt=&quot;Wizard Output&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way to get started is by creating your own report and then using the export feature. You may find it helpful to reference media items using the GUID and export those separately. The &lt;a href=&quot;https://doc.sitecorepowershell.com/authoring-reports.html&quot; rel=&quot;noreferrer&quot;&gt;book&lt;/a&gt; provides many examples on how to get started.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reports have an export option at the top left.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uM3Vu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uM3Vu.png&quot; alt=&quot;Example Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check out the &lt;strong&gt;#module-spe&lt;/strong&gt; channel on the &lt;a href=&quot;https://sitecorechat.slack.com/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Slack Chat&lt;/a&gt; to have more detailed discussions.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 3 : &lt;a href=&quot;https://doc.sitecorepowershell.com/web-api.html&quot; rel=&quot;noreferrer&quot;&gt;SPE Web API&lt;/a&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Write a custom script to return data in any format you like. This could include converting images to base64 and restructuring data into a new format designed to match the destination environment. Then write another script to import the data into the destination system.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-12-11T15:58:47.470" LastActivityDate="2017-12-11T15:58:47.470" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8943" PostTypeId="2" ParentId="8941" CreationDate="2017-12-11T17:21:35.240" Score="1" Body="&lt;p&gt;Another option your could use is Content Migrator: &lt;a href=&quot;https://jeffdarchuk.com/2016/10/24/sitecore-sidekick-content-migrator/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffdarchuk.com/2016/10/24/sitecore-sidekick-content-migrator/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ftntW.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ftntW.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is part of Sidekick which you can download here and it looks like it's supported on Sitecore 7.1 and above: &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also install it from NPM like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Package SitecoreSidekickContentMigrator -Version 1.4.2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The github page is here: &lt;a href=&quot;https://github.com/JeffDarchuk/SitecoreSidekick&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/JeffDarchuk/SitecoreSidekick&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you've installed it and configured it you should be able to pull content from your 7.2 to your 8 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've written a few blog posts on using it here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.flux-digital.com/blog/simple-sitecore-content-synchronisation-with-sitecore-content-migrator/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.flux-digital.com/blog/simple-sitecore-content-synchronisation-with-sitecore-content-migrator/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.flux-digital.com/blog/upgrading-sitecore-content-migrator-and-scheduling-content-syncs/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.flux-digital.com/blog/upgrading-sitecore-content-migrator-and-scheduling-content-syncs/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In terms of updating the content you would need to write some scripts with Powershell or C# to update it afterwards as Sidekick/Content Migrator can't do that for you unfortunately. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I can across this post that you may find useful for info on Migrating content with Powershell:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://medium.com/sitecore-tips-tricks/migrating-large-amounts-of-content-in-sitecore-fb35a488cba&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/sitecore-tips-tricks/migrating-large-amounts-of-content-in-sitecore-fb35a488cba&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-12-11T17:21:35.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8944" PostTypeId="1" AcceptedAnswerId="8963" CreationDate="2017-12-11T17:52:21.133" Score="2" ViewCount="505" Body="&lt;p&gt;We're looking at options for the architecture of our Azure Sitecore solution and want to ensure the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We can configure the solution to automatically scale horizontally (spin up new delivery servers) based on a threshold rule&lt;/li&gt;&#xA;&lt;li&gt;Maintain two Web databases; Web1 and Web2&lt;/li&gt;&#xA;&lt;li&gt;Ensure that half of our delivery servers point to the Web1 database and the other half point to the Web2 database&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Could anyone let us know how we can achieve the above? Could we use Azure 'Scale Sets' and if so how could we achieve the alternate connection string configuration when scaling automatically?&lt;/p&gt;&#xA;" OwnerUserId="2949" LastActivityDate="2017-12-12T13:00:01.320" Title="Using Azure to automatically scale horizontally" Tags="|azure|deployment|scaling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8945" PostTypeId="1" CreationDate="2017-12-11T18:09:26.837" Score="2" ViewCount="830" Body="&lt;p&gt;We have upgraded site from sitecore 8.0 rev.150223 (8.0 Update-2) to Sitecore 8.2 rev. 170614 (8.2 Update-4). This is content heavy site. When I Publish individual nodes, there is no problem in publishing but when we hit Publish Site, after 4500000 items published we are getting error and publishing stop there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Getting this error - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The publishing process was unexpectedly interrupted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception Details: System.Exception: The publishing process was unexpectedly interrupted.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[Exception: The publishing process was unexpectedly interrupted.]&#xA;   Sitecore.Shell.Applications.Dialogs.Publish.PublishForm.CheckStatus() +1181&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +229&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +211&#xA;   Sitecore.Shell.Framework.Commands.MethodCommandProcessor.Invoke(PipelineArgs args) +534&#xA;   Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline) +398&#xA;   Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic) +366&#xA;   Sitecore.Shell.Framework.Commands.MethodCommand.Execute(CommandContext context) +632&#xA;   Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +568&#xA;   System.Web.UI.Control.PreRenderRecursiveInternal() +113&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone has any idea?&lt;/p&gt;&#xA;" OwnerUserId="251" LastActivityDate="2017-12-11T21:36:11.637" Title="Site Publishing Issue" Tags="|publishing|upgrade|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8946" PostTypeId="2" ParentId="8571" CreationDate="2017-12-11T18:09:48.160" Score="2" Body="&lt;p&gt;Links in EXM Messages are encrypted so that specific information isn't exposed during transport of message. When you click on a link from an Email, the link itself will look like &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://sxp82u5/sitecore%20modules/Web/EXM/RedirectUrlPage.aspx?ec_eq=a1RjRKjLKV5gDrslLHQx7gHmkUgwzYSNE9cf1pv9yxoJh%2fovjXuOjJPrx954I136BydyCImct43XRXHURKm4ngWOd1s2%2b0RJad4ZFvPK1Q65sSyIrVCLu24omoZqaDZ%2bB9bzIrLKtyQvwVgkhdNfizLGabmrPz7tNtzPqnVs70AgxleZM3PE6oEV4z9PPFP%2fh7eB1%2bGpj97ubU%2b4P3e7%2bkMYjtHOWIysMBuKzvXskqfU0wt5AZg1bWSlnmZ%2f1NPHwQKAKQCft7hnTbTG8abqg3yDM3co1JhHUOr66uNWPmbFzzAZEIDq60Ct4eHdPWpOGGt3CZgIAHZUuNB6PD%2bLqDEMzn0giwOG7ZKblDqzEBqTpH50Cdnuuic7wFUHSCUZ&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;RedirectUrlPage.aspx&lt;/code&gt; executes the &lt;code&gt;&amp;lt;redirectUrl&amp;gt;&lt;/code&gt; EXM pipeline. The first processor in this pipeline does the decryption. However, both the CM and the CD server need the same encryption keys set in the ConnectionString.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If these keys are wrong or not set on the CD server, the CD server will not know how to decrypt the URL, thus causing the error you're seeing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-12-11T18:09:48.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8947" PostTypeId="2" ParentId="8945" CreationDate="2017-12-11T20:03:07.977" Score="1" Body="&lt;p&gt;You can make use of the Sitecore Publishing Module. This will takes less than 5 hours to publish. But as you mentioned in the comment above, you cannot use the publishing service right now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Possible solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you just did an upgrade, sitecore will identify all the items to be published. If you are performing an incremental publish and still taking too much time and at the end crashed, try the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Clear the publish queue table on master core and web.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Perform publishing in batches&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Once done, try to launch an incremental publish again. This should now takes less time. &lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-12-11T21:36:11.637" LastActivityDate="2017-12-11T21:36:11.637" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8948" PostTypeId="1" AcceptedAnswerId="8950" CreationDate="2017-12-11T20:17:49.880" Score="2" ViewCount="87" Body="&lt;p&gt;I have an &quot;Expired&quot; date that drives some functionality (e.g. it hides certain controls, disables others, etc.)  I would like this to be wired into the Experience Editor date selector, so that when an author clicks the date past the expiration date, the renderings change appropriately. What Sitecore API should I use to get the date? (Obviously, System.DateTime.Now will not be impacted by the Experience Editor change.&lt;/p&gt;&#xA;" OwnerUserId="247" LastActivityDate="2017-12-11T20:26:57.220" Title="API for Experience Editor compliant date logic" Tags="|experience-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8949" PostTypeId="2" ParentId="8945" CreationDate="2017-12-11T20:25:41.460" Score="1" Body="&lt;p&gt;I think you question has two aspects which need to be handled separately:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Publish failing after a period of time&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- The slowness and time it takes to perform a full publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Publish failing after a period of time&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason why it fails can be for many reasons most likely one item is corrupted or requesting something that it can't find, for example a required language it can't find, or a custom event handler being called which is throwing an exception, or anything really. &#xA;To make your life easier you can have a clean Sitecore 8.2 rev. 170614 site running and compare the publish configurations against yours on the showconfig page. &#xA;This will help you figure out whether you have any custom events running that may be leading to the exception or pinpoint possible causes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The slowness and time it takes to perform a full publish&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As already suggesed on comments Sitecore has released a publishing service which comes with a module that can be used and helps scaling the publishing mechanism. This currently is not an out-of-the-box module but it does work well. &#xA;If you use it you need to understand that now your Sitecore instance will use that publishing service to run any publishing as opposed to the out-of-the-box. &#xA;It also requires a few things like .Net core. This module is really good if you need to perform distributed publishing as well. &lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-12-11T20:25:41.460" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8950" PostTypeId="2" ParentId="8948" CreationDate="2017-12-11T20:26:57.220" Score="2" Body="&lt;p&gt;You can use &lt;code&gt;WebEditUtil.GetCurrentDate()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var now = DateTime.Now;&#xA;&#xA;if (!Sitecore.Context.PageMode.IsNormal)&#xA;{&#xA;    now = WebEditUtil.GetCurrentDate();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-12-11T20:26:57.220" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8951" PostTypeId="1" CreationDate="2017-12-11T21:08:28.230" Score="0" ViewCount="1037" Body="&lt;p&gt;I am trying to execute a Workflow Action &quot;Approve&quot; or &quot;Reject&quot; from a URL  to an ID, is my approach correct?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need help finishing it, how do I run this code from a URL and how do run it on any ID, I want to try first on the specific Content Item that I already created in the Sitecore Content Tree.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Workflows;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.SecurityModel;&#xA;&#xA;namespace WorkflowStateChanger&#xA;{&#xA;  public class StateChanger&#xA;  {&#xA;  // Get Master Database&#xA;  private readonly Database _sourceDatabase = Factory.GetDatabase(&quot;master&quot;);&#xA;  // Item State Awaiting Approval&#xA;  Item AwaitingApproval = Context.Database.GetItem(new ID(&quot;{46DA5376-10DC-4B66-B464-AFDAA29DE84F}&quot;));&#xA;  // get Approve Command by ID | ID specific&#xA;  Item Approve = Context.Database.GetItem(new ID(&quot;{F744CC9C-4BB1-4B38-8D5C-1E9CE7F45D2D}&quot;));&#xA;  // get Reject Command by ID | ID specific&#xA;  Item Reject = Context.Database.GetItem(new ID(&quot;{E44F2D64-1EED-42FF-A7DA-C07B834096AC}&quot;));&#xA;  public void Execute()&#xA;  {&#xA;  // Get item by ID (need to specify ID)&#xA;  // /sitecore/content/WorkflowTest | {D7D61874-0715-43E0-9093-E334A267B2A3}&#xA;  Item item = Context.Database.GetItem(new ID(&quot;{D7D61874-0715-43E0-9093-E334A267B2A3}&quot;));&#xA;  }&#xA;&#xA;  //set the item state and executes actions which are in this state:&#xA;  public void MoveToStateAndExecuteActions(Item item, ID workflowStateId)&#xA;  {&#xA;  IWorkflowProvider workflowProvider = Context.Database.WorkflowProvider;&#xA;  IWorkflow workflow = workflowProvider.GetWorkflow(item);&#xA;&#xA;  // Begit Edit&#xA;  item.Editing.BeginEdit();&#xA;  try&#xA;  {&#xA;  item[FieldIDs.WorkflowState] = workflowStateId.ToString();&#xA;  item.Editing.EndEdit();&#xA;  }&#xA;  catch (Exception)&#xA;  {&#xA;  //Revert the Changes&#xA;  item.Editing.CancelEdit();&#xA;  }&#xA;  }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1171" LastEditorUserId="95" LastEditDate="2018-06-25T16:55:00.690" LastActivityDate="2018-06-25T16:55:00.690" Title="Programmatically Execute Workflow Action of an item from a URL" Tags="|workflow|sitecore-api|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="8952" PostTypeId="2" ParentId="8951" CreationDate="2017-12-11T21:26:03.320" Score="2" Body="&lt;p&gt;There are a number of ways to transition items through a workflow via web request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are some options I can think of that require low effort.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 1 : Code Page&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Save the code in a web page (.aspx) with query string parameters that are processed in the code you've provided. The query string could contain the GUIDs you have in the code sample.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 2 : SPE Web API&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Convert the code into a PowerShell script and process using the &lt;a href=&quot;https://doc.sitecorepowershell.com/web-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;SPE Web API&lt;/a&gt;. There you can also supply query string parameters.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Final Thoughts&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In either case, the method you choose needs to have security wrapped around it so unauthorized users are not hammering the Url or transitioning items through a workflow without proper privileges. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Resources&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8707/how-to-invoke-workflow-on-the-particular-item-using-sitecore-api&quot;&gt;How to invoke Workflow on the particular item using Sitecore API?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://gist.github.com/marcduiker/950e0358bb4752ed5b047931a8c958c1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Update workflow and state on content items.ps1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/web-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Using the SPE Web API&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-12-11T21:58:58.830" LastActivityDate="2017-12-11T21:58:58.830" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8954" PostTypeId="1" CreationDate="2017-12-12T02:18:03.317" Score="3" ViewCount="634" Body="&lt;p&gt;Using Sitecore 8.2 Update 4, Sitecore Experience Profile is not loading (the spinner keeps on spinning) on our Staging server using a Lucene index. This was working fine last week and i guess, it appears to be an intermittent issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked the Log and Crawling log - no entries&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Memory useage - 73%&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CPU useage - increases to ~50% and holds steady&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SQL Profiler isn't showing a massive load: Mainly calls to the &lt;code&gt;EventQueue&lt;/code&gt; table&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can search for individuals by name or email in the Experience Profile, and that is quick. Any suggestions on how to diagnose this, would be highly appreciated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have rebuilt the Analytics index using &lt;strong&gt;AnalyticsIndexBuilder&lt;/strong&gt; tool but this had no effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know, if more information is required. &lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="2727" LastEditDate="2018-01-18T09:22:54.073" LastActivityDate="2018-02-17T09:51:22.687" Title="Sitecore Experience Profile slow to load" Tags="|experience-profile|performance-optimization|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8955" PostTypeId="1" AcceptedAnswerId="9099" CreationDate="2017-12-12T04:59:31.117" Score="3" ViewCount="246" Body="&lt;p&gt;I am working with Sitecore 9 and Sitecore Rocks. I successfully linked my Sitecore instance with Sitecore Rocks and can see the 3 dbs: Core Master Web, as well as the Website and Data folders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am currently getting an exception whenever I try to delete an item from Sitecore Rocks:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O2G3H.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O2G3H.png&quot; alt=&quot;Sitecore Rocks exception&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks to me that Sitecore 9 ProxyManager does not exist anymore and therefore it fails to delete.&#xA;Update/Create is working fine. I also tried to delete with a Sitecore 8 instance and it worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get Sitecore Rocks working I had to update my web.config as mentioned &lt;a href=&quot;http://www.rockpapersitecore.com/2017/10/sitecore-rocks-with-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone working with Rocks and Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="270" LastEditorUserId="73" LastEditDate="2017-12-16T10:24:33.553" LastActivityDate="2017-12-19T13:29:22.447" Title="Unable to delete - Sitecore.Data.Proxies.ProxyManager missing" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8956" PostTypeId="2" ParentId="8939" CreationDate="2017-12-12T05:28:29.207" Score="3" Body="&lt;p&gt;From the Sitecore &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Cache Configuration Reference&lt;/a&gt; you find the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Database prefetch caches contain items that Sitecore accesses during and immediately after initialization, and items with children that Sitecore often accesses as a group.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In general, the default cache settings are too generic to apply to any real production deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When RAM is plentiful on a 64-bit machine, you may find your self skipping the configuration of the prefetch and disabling the &lt;a href=&quot;https://reasoncodeexample.com/2013/03/20/sitecore-cache-settings-for-slackers/&quot; rel=&quot;nofollow noreferrer&quot;&gt;cache size limit&lt;/a&gt; altogether.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Caching.DisableCacheSizeLimits&quot; value=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would imagine however that when hosting on Azure you may desire to keep the limit and tune the various caches available. Mark Ursino has a good response on &lt;a href=&quot;https://stackoverflow.com/a/6044347/1277533&quot;&gt;Stack Overflow&lt;/a&gt; where he discusses tuning the prefetch cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an excerpt from his answer:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I recommend you prefetch anything that you need for the home page, e.g. the home item and its immediate children (likely for a main nav). Also, if there are other data items that are used on the home page and you know they are always used there, you can prefetch them too. I would start with the basics and slowly add to it and see how it affects performance and app restarts.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Some time back Tim Ward presented on a webinar about caching in Sitecore. Download the &lt;a href=&quot;http://mediacontent.sitecore.net/wmv/CacheRecordingWebinar.mp4&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Caching Technical Deep Dive&lt;/a&gt; if you would like to know about all the forms of caching available in Sitecore, or at least around version 6.x.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Resources&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1729/sitecore-pre-fetch-cache-setting-clarification&quot;&gt;SSE Prefetch Settings Question&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-12-12T05:28:29.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8957" PostTypeId="1" CreationDate="2017-12-12T07:02:42.940" Score="0" ViewCount="1779" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GWrD7.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GWrD7.jpg&quot; alt=&quot;Footer Component&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Selection of Data Sources in Presentation Details :&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;There are two data sources for the footer component , one at the&#xA;local repository level and another in the Global Content level. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While choosing the data source for the footer rendering in the&#xA;presentation details , &lt;strong&gt;how can we show the Global and Local data&#xA;items.&lt;/strong&gt; as explained in the below image.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2953" LastActivityDate="2017-12-12T08:01:06.197" Title="Selection of Global or Local Data source in presentation details" Tags="|presentation|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8958" PostTypeId="2" ParentId="8957" CreationDate="2017-12-12T07:52:42.090" Score="3" Body="&lt;p&gt;It is pretty simple:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your datasource location (which you need to define in the Footer Rendering Item) will look like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@templatename='Home Item Templatye Name']/Global Content/Footer Global Contetn|./Footer Local Content&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to correct paths and Home page template name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this article: &lt;a href=&quot;http://firebreaksice.com/sitecore-rendering-datasource-locations/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://firebreaksice.com/sitecore-rendering-datasource-locations/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically there are a simple Sitecore queries in the paths above and the parameters can be different. You can read detailed about sitecore queries by the following link or google something like &quot;Sitecore query&quot; for building another queries:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoreworld.blogspot.com.by/2014/09/querying-items-from-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreworld.blogspot.com.by/2014/09/querying-items-from-sitecore.html&lt;/a&gt;:&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-12-12T08:01:06.197" LastActivityDate="2017-12-12T08:01:06.197" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8959" PostTypeId="2" ParentId="7390" CreationDate="2017-12-12T08:58:50.820" Score="1" Body="&lt;p&gt;As I was looking a way to achieve this, I found this post and as a basis to get started. Using the &lt;code&gt;rebind&lt;/code&gt; method, a simple array is sufficient to be used for &lt;code&gt;obj&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&lt;code&gt;&#xA;var obj = [&#xA;{ &quot;itemId&quot;:&quot;{E932156B-3269-44AB-ADB2-60E50C56730A}&quot; , &quot;itemName&quot;:&quot;My item 1&quot; },&#xA;{ &quot;itemId&quot;:&quot;{DB534C88-F1D2-4BC5-B5A6-AF341E331432}&quot; , &quot;itemName&quot;:&quot;My item 2&quot; }&#xA;];&#xA;this.viewModel.app.ComboBox1.viewModel.rebind(obj,null,null,‌​&quot;itemName&quot;,&quot;itemId&quot;)‌​;&#xA;&lt;/code&gt;&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="2955" LastEditorUserId="605" LastEditDate="2017-12-12T10:13:45.290" LastActivityDate="2017-12-12T10:13:45.290" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8960" PostTypeId="1" AcceptedAnswerId="8961" CreationDate="2017-12-12T09:07:28.803" Score="1" ViewCount="1033" Body="&lt;p&gt;Language fallback not working in Sitecore 9.0 with SXA 1.5.&#xA;I have done the below changes to enable language fallback(en) for all added languages.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;On the System Languages in Sitecore Select the language fallback option as &quot;en&quot; for all the languages created.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add patches for Sitecore.LanguageFallback.config&lt;br&gt;&#xA;  &lt;a href=&quot;https://i.stack.imgur.com/5RyDq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5RyDq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Doing the same for sitecore_master_index and sitecore_web_index &#xA;in Sitecore.ContentSearch.Solr.Index.Master.config and Sitecore.ContentSearch.Solr.Index.Web.config respectively.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable the Item Language and Field level fallback checkbox on the template of the item standard values and fields.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Am I missing something? Please help&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="73" LastEditDate="2017-12-16T10:28:05.453" LastActivityDate="2017-12-16T10:28:05.453" Title="Language Fallback not taking effect on my sites" Tags="|sxa|multisite|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8961" PostTypeId="2" ParentId="8960" CreationDate="2017-12-12T11:04:53.967" Score="5" Body="&lt;p&gt;&lt;strong&gt;Step 2.&lt;/strong&gt;&#xA;From what I can see you've patched settings for two sites: &lt;code&gt;shell&lt;/code&gt; and &lt;code&gt;website&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your goal is to enable language fallback for SXA sites you have to do the same for them. The difference is that SXA sites definitions are stored in a database, so you have to update items.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find your site definition item: &lt;code&gt;/sitecore/content/Folder/Tenant/Site/Settings/Site Grouping/S&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Extend SXA site attributes&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ENInZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ENInZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2017-12-12T11:04:53.967" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8962" PostTypeId="1" AcceptedAnswerId="9079" CreationDate="2017-12-12T11:57:35.823" Score="3" ViewCount="415" Body="&lt;p&gt;I'm new to this topic - Continuous Delivery, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We already have &lt;strong&gt;Azure Web App&lt;/strong&gt; Site is Deployed to Production and Running,and We do have the license for &lt;strong&gt;TDS&lt;/strong&gt; and currently Using &lt;strong&gt;Sitecore 8.2 Update 3&lt;/strong&gt;&#xA;We are planning to &lt;strong&gt;Implement Automated Deployment&lt;/strong&gt;. Since its a sitecore project we want to have sitecore changes are also gets reflected as part of Continuous Delivery.&#xA;Can someone guide me whats the best Approach for Continuous Delivery by considering the below Software&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Azure WebApp  &lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2 Update 3 &lt;/li&gt;&#xA;&lt;li&gt;TDS(Team Development for sitecore)&lt;/li&gt;&#xA;&lt;li&gt;GIT&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2957" LastEditorUserId="2957" LastEditDate="2017-12-13T11:20:54.020" LastActivityDate="2018-05-16T20:24:30.057" Title="Sitecore Azure Continuous Delivery" Tags="|azure|continuous-integration|continuous-delivery|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8963" PostTypeId="2" ParentId="8944" CreationDate="2017-12-12T13:00:01.320" Score="1" Body="&lt;p&gt;For a basic scenario, you can set up the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;1 Traffic Manager (TM)&lt;/li&gt;&#xA;&lt;li&gt;2 Web Apps of Sitecore CD server behind the TM (one pointing Web1, another pointing Web2)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Then, each Web App can be configured for further horizontal scaling in the Azure portal (via Scale Out feature). It allows up to 10 instances for each web app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read more:&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/insights-how-to-scale&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/insights-how-to-scale&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1320" LastActivityDate="2017-12-12T13:00:01.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8964" PostTypeId="2" ParentId="8513" CreationDate="2017-12-12T16:05:55.617" Score="5" Body="&lt;p&gt;&lt;strong&gt;TLDR:&lt;/strong&gt; It depends.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TLDR++:&lt;/strong&gt; Scale based on which service you are finding is the bottleneck. If you increase web apps, you might introduce a bottleneck at the database layer. If you add more shards, you might find the bottleneck is on the I/O disk layer. Always identify what you are using in your scenario, and then remove bottlenecks as they appear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;MORE DETAILS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you mentioned, the scenario you are scaling for will directly impact what approach you take.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a production environment, you should operate your shard databases on a separate server from the other databases. This is probably the first scaling point you will do to ensure the database has enough power to handle the service communications.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are attempting to handle high visit traffic on the content delivery nodes, then your scaling point will be on the collection service part of xConnect to meet with the demands of the content delivery server when it reports the sessions. As you grow, you would vertically scale first by isolating search/collection from the other services so it runs as its own application, and then possibly load balance that xConnect services as you get into really high loads. See the KB article on 9.0 ARM templates (linked below) for some guidance on what architectures are suggested at different visitor counts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you are looking at an omnichannel integration you might scale out differently. You would have to look at how often you are calling the services, and which services you are hooking into, and vertically/horizontally scaling those services to be able to handle your non-CD load. xConnect collection/search are likely the first points again to isolate and then scale up and out. That being said, some integrations might be about filling up reference data lookup tables for use by other applications, so you might be scaling out that particular service because of your needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also likely should look at putting in place a middle-layer application for your omnichannel implementation so that you are not having devices around the world directly communicating with xConnect. Not only are you handling a lot of chatty behaviour, you start introducing latency issues depending on connectivity of the device and location in the world. All devices would also need to be trusted clients with the correct certificate in order to communicate, so instead it may be worth having a layer that you manage which is a trusted application and receives and relays requests. This can be especially helpful to reduce chatty communications and act like the session-flush that the CDs execute. Gather up all the data from a user, and then flush it all out when the 'session' ends. This will reduce the back and forth with the xConnect services and allow for you to geo-distribute more efficiently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your scenario where you want to be updating contact info with data from some other system (or from the current visit) you are hitting the Collection service for the storing and the Search service for the getting. Depending on which one you are doing more of, you should scale appropriately. If you do a lot of updating, it's the Collection service you want to isolate and scale.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Some resources:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/scaling-sitecore-xconnect-and-xp-services-architecture&quot; rel=&quot;noreferrer&quot;&gt;Scaling Sitecore xConnect and XP Services Architecture&lt;/a&gt; - Jason St-Cyr, Blog&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-vertically/index.html#xconnect-combined-collection-and-search-instance&quot; rel=&quot;noreferrer&quot;&gt;Vertical Scaling documentation&lt;/a&gt;, doc.sitecore.net&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/043375&quot; rel=&quot;noreferrer&quot;&gt;9.0 ARM Templates topologies and tiers&lt;/a&gt;, kb.sitecore.net&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-12-12T16:05:55.617" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8965" PostTypeId="1" CreationDate="2017-12-12T16:44:48.513" Score="2" ViewCount="276" Body="&lt;p&gt;&lt;code&gt;/clientevent/process&lt;/code&gt; currently throws &lt;em&gt;Object reference not set exception&lt;/em&gt; with the stacktrace as shown below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any configuration like IgnoreUrlPrefixes that need to be configured to throw a 404 error rather than a 500?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[NullReferenceException: Object reference not set to an instance of an&#xA;  object.]&lt;br&gt;&#xA;  Sitecore.Forms.Mvc.Data.Wrappers.WrappedRendering.get_UniqueId() +3&lt;br&gt;&#xA;  Sitecore.Forms.Mvc.Attributes.FormErrorHandlerAttribute.OnException(ExceptionContext&#xA;  filterContext) +109&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext&#xA;  controllerContext, IList`1 filters, Exception exception) +173&lt;br&gt;&#xA;  System.Web.Mvc.Async.&amp;lt;&gt;c__DisplayClass21.b__19(AsyncCallback&#xA;  asyncCallback, Object asyncState) +1133&lt;br&gt;&#xA;  System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback&#xA;  callback, Object state, Int32 timeout) +168&lt;br&gt;&#xA;  System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext&#xA;  controllerContext, String actionName, AsyncCallback callback, Object&#xA;  state) +454&lt;br&gt;&#xA;  System.Web.Mvc.Controller.b__1c(AsyncCallback&#xA;  asyncCallback, Object asyncState, ExecuteCoreState innerState) +41&lt;br&gt;&#xA;  System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback&#xA;  callback, Object callbackState) +66&lt;br&gt;&#xA;  System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback&#xA;  callback, Object state, Int32 timeout) +168&lt;br&gt;&#xA;  System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback,&#xA;  Object state) +901&lt;br&gt;&#xA;  System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback&#xA;  callback, Object state, Int32 timeout) +169&lt;br&gt;&#xA;  System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext,&#xA;  AsyncCallback callback, Object state) +711&lt;br&gt;&#xA;  System.Web.Mvc.MvcHandler.b__4(AsyncCallback&#xA;  asyncCallback, Object asyncState, ProcessRequestState innerState) +93 &#xA;  System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback&#xA;  callback, Object callbackState) +67&lt;br&gt;&#xA;  System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback&#xA;  callback, Object state, Int32 timeout) +169&lt;br&gt;&#xA;  System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase&#xA;  httpContext, AsyncCallback callback, Object state) +555&lt;br&gt;&#xA;  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  +1028    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +134&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2617" LastEditorUserId="70" LastEditDate="2017-12-12T17:55:08.050" LastActivityDate="2019-05-16T01:02:29.353" Title="Allowing /clientevent/process url" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8970" PostTypeId="1" AcceptedAnswerId="8998" CreationDate="2017-12-13T03:14:22.653" Score="1" ViewCount="1353" Body="&lt;p&gt;We upgraded from sitecore 7.2 to 8.2 and glass mapper from 4.0.9.60 to 4.4.0.199/4.4.1.331-beta. After upgrade, new SitecoreService(&quot;master&quot;).Create(folderItem, name, language) is failing with below exception messages. Below is full stack trace.&lt;br&gt;&#xA;Resource class : &lt;a href=&quot;https://www.dropbox.com/s/qu3qgneupw2xdym/Resource.cs?dl=0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.dropbox.com/s/qu3qgneupw2xdym/Resource.cs?dl=0&lt;/a&gt;&lt;br&gt;&#xA;GlassBase class: &lt;a href=&quot;https://www.dropbox.com/s/lk8w4d66v20o32a/EWGlassBase.cs?dl=0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.dropbox.com/s/lk8w4d66v20o32a/EWGlassBase.cs?dl=0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception messages:&#xA;1.Failed to find configuration for parent item type Sitecore.Data.Items.Item&#xA;at base.GlassContext.GetTypeConfiguration(parent, false, true)&lt;br&gt;&#xA;2.The type Sitecore.Collections.ChildList does not contain any generic arguments&lt;br&gt;&#xA;Sitecore Config: &lt;a href=&quot;https://www.dropbox.com/s/xi8xy587k7krao2/ew%20norm.showconfig.xml?dl=0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.dropbox.com/s/xi8xy587k7krao2/ew%20norm.showconfig.xml?dl=0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;15016 19:03:10 ERROR EW Exception on ItemService.Create. Path: /sitecore/content/EmpowerWomen/Home/Resources/Documents/2017/12, Name: testtest, Language: en.&#xA;  Exception: Glass.Mapper.MapperException&#xA;  Message: Failed to find configuration for parent item type Sitecore.Data.Items.Item&#xA;  Source: Glass.Mapper.Sc&#xA;  at Glass.Mapper.Sc.SitecoreService.Create[T,TK](TK parent, String newName, Language language, Boolean updateStatistics, Boolean silent)&#xA;  at UNWomen.SC.EW.Core.Services.ItemService.Create[T](String path, String name, Language language, Boolean useYearMonthFolders, Boolean checkDuplicatedName) in C:\Source\Repos\UNWSitecore\UNWomen.SC.EW.Core\Services\ItemService.cs:line 43&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Glass.Mapper.MapperException&#xA;  Message: The type Sitecore.Collections.ChildList does not contain any generic arguments&#xA;  Source: Glass.Mapper&#xA;  at Glass.Mapper.Utilities.GetGenericArgument(Type type)&#xA;  at Glass.Mapper.Sc.DataMappers.SitecoreChildrenMapper.Setup(DataMapperResolverArgs args)&#xA;  at Glass.Mapper.Pipelines.DataMapperResolver.Tasks.DataMapperStandardResolverTask.Execute(DataMapperResolverArgs args)&#xA;  at Glass.Mapper.Pipelines.AbstractPipelineRunner2.&amp;lt;&gt;c__DisplayClass8.&amp;lt;.ctor&gt;b__1(T args) at Glass.Mapper.Pipelines.AbstractPipelineTask1.Next(T args)&#xA;  at Glass.Mapper.Pipelines.AbstractPipelineRunner2.Run(T args) at Glass.Mapper.Context.ProcessProperties(IEnumerable1 properties)&#xA;  at Glass.Mapper.Context.Load(IConfigurationLoader[] loaders)&#xA;  at Glass.Mapper.Context.GetTypeConfigurationFromType[T](Type type, Boolean doNotLoad, Boolean checkBase)&#xA;  at Glass.Mapper.Sc.SitecoreService.Create[T,TK](TK parent, String newName, Language language, Boolean updateStatistics, Boolean silent)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2025" LastEditorUserId="2025" LastEditDate="2017-12-13T15:17:28.717" LastActivityDate="2017-12-13T19:55:04.877" Title="Glass.Mapper.Sc.SitecoreService.Create fails" Tags="|glass-mapper|" AnswerCount="1" CommentCount="4" ClosedDate="2017-12-16T10:34:53.237" ContentLicense="CC BY-SA 3.0" />
  <row Id="8971" PostTypeId="1" AcceptedAnswerId="8989" CreationDate="2017-12-13T05:00:52.167" Score="5" ViewCount="488" Body="&lt;p&gt;What happened with EXM on Sitecore 9?&#xA;The latest EXM module says it only works on SC 8.2, there isn't anything for SC 9.&#xA;I've read that it is integrated on SC now and it is not a module anymore so why can't I see it on my dashboard?&#xA;When I looked at the Marketing Automation there is no action &quot;send email&quot; and can't see anywhere to create the email templates.&lt;/p&gt;&#xA;" OwnerUserId="2952" LastEditorUserId="73" LastEditDate="2017-12-16T10:15:47.230" LastActivityDate="2017-12-16T10:15:47.230" Title="Sitecore 9 EXM - where is it?" Tags="|exm|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8972" PostTypeId="2" ParentId="8971" CreationDate="2017-12-13T06:16:56.360" Score="5" Body="&lt;p&gt;EXM module doesn't have yet a version compatible with Sitecore 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XfwNU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XfwNU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/541788&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/541788&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far I know a version compatible with Sitecore 9 will appear on next releases. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-12-13T06:16:56.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8973" PostTypeId="1" AcceptedAnswerId="8981" CreationDate="2017-12-13T08:03:59.227" Score="0" ViewCount="1110" Body="&lt;p&gt;Currently we have a one Sitecore instance on Sitecore 8.1 with 9 sites hosted using habitat framework. The site definitions are mentioned as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;site name=&quot;Site1&quot; loginPage=&quot;/home&quot;  requireLogin=&quot;true&quot; patch:before=&quot;site[@name='scheduler']&quot;&#xA;&#xA;site name=&quot;Site9&quot; loginPage=&quot;/home&quot;  requireLogin=&quot;true&quot; patch:before=&quot;site[@name='scheduler']&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While opening a page item of site 1 or site 2 in the experience editor, the query string for sc_site is always pointing to site9. Example: &lt;code&gt;sc_lang=en&amp;amp;**sc_site=site9**.&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this an expected behavior? Or is there any issue in the &lt;code&gt;SiteDefinition.config&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="1000" LastEditDate="2018-01-13T15:08:55.843" LastActivityDate="2018-01-13T15:08:55.843" Title="Site definition for multi-site in Sitecore habitat" Tags="|helix|multisite|habitat|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="8974" PostTypeId="1" AcceptedAnswerId="8984" CreationDate="2017-12-13T08:11:50.277" Score="1" ViewCount="443" Body="&lt;p&gt;I'm a beginner in Sitecore. I need to generate the data which provides how many times the user clicks a button on the webpage. The data should be stored on MongoDB database. I'm confused with where to start and how to. Suggest some references or samples to continue.&lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="237" LastEditDate="2017-12-13T14:54:28.197" LastActivityDate="2017-12-13T15:04:19.587" Title="How to capture button clicks using Sitecore Analytics (and Mongodb)" Tags="|experience-analytics|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8976" PostTypeId="1" CreationDate="2017-12-13T12:02:37.563" Score="10" ViewCount="5348" Body="&lt;p&gt;We are using SOLR 5.4 and Sitecore 8.2 and we have implemented Full Content Search using &lt;code&gt;_Content&lt;/code&gt; field which is displaying search result in Company Pages  and various datasources linked to these company pages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to display the Company Page in Search result, which is referring to the datasources item.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the question is, how can we write/configure that kind of computed index field?&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="73" LastEditDate="2018-01-14T10:57:03.773" LastActivityDate="2018-01-14T10:57:03.773" Title="Sitecore Full Content Search" Tags="|solr|content-search|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8977" PostTypeId="1" AcceptedAnswerId="9001" CreationDate="2017-12-13T12:32:42.817" Score="1" ViewCount="431" Body="&lt;pre&gt;&lt;code&gt;var model = GetContextItem&amp;lt;ICmsModel&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I noticed that glass doesn't return null if ICmsModel is not derived from the Context Item...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example, I'd expect glass to try and map it, but what if ICmsModel isn't derived from the Context Item. Is there a way glass can tell me? I thought glass would return null if it can't map, but it doesn't, the object is instantiated but the fields are null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does glass offer any methods to help achieve what I want?&lt;/p&gt;&#xA;" OwnerUserId="2696" LastActivityDate="2017-12-13T22:49:56.060" Title="Glass Mapper doesn't return null?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8978" PostTypeId="1" AcceptedAnswerId="9024" CreationDate="2017-12-13T13:21:13.150" Score="3" ViewCount="2423" Body="&lt;p&gt;After Installing Sitecore 9 XP1 I am getting this error while &quot;&lt;strong&gt;Invalid URI: The format of the URI could not be determined&lt;/strong&gt;&quot;.&#xA;The XP1 installation was properly done without any error and I am able to login into the CMS.&#xA;The error occurs when I select Desktop, content Editor or anything on the Experience Platform other than &quot;Marketing Applications&quot;.&#xA;Any clue how to fix this.&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="73" LastEditDate="2017-12-16T10:15:38.333" LastActivityDate="2017-12-16T10:15:38.333" Title="Error: &quot;Invalid URI: The format of the URI could not be determined.&quot;" Tags="|sitecore-api|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="8980" PostTypeId="2" ParentId="7850" CreationDate="2017-12-13T14:02:35.607" Score="14" Body="&lt;p&gt;Your comparison of Dianoga with the other tools isn't quite fair- though what you found is accurate. A few things to point out:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Dianoga is lossless compression, which means as the size is reduced, the image should look identical from the version before it was run through the algorithm&lt;/li&gt;&#xA;&lt;li&gt;Sitecore only applies the quality setting to an image if you include resize parameters in the media request. It appears with your tests (based on my own discoveries) that you were not altering the size of the image, e.g. h=100&amp;amp;w=100&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I created an add-on to Dianoga called &lt;strong&gt;Dianoga.ImageMagick&lt;/strong&gt; that is lossy. &lt;a href=&quot;https://www.nuget.org/packages/Dianoga.ImageMagick&quot; rel=&quot;noreferrer&quot;&gt;It is available via NuGet&lt;/a&gt;: Just install, and build, default settings should be sufficient for most.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What it does better&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It contains a few crucial changes for your use-case (and mine):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It sets the default quality setting in Sitecore to &lt;code&gt;100&lt;/code&gt; and instead alters the quality of the image as part of the ImageMagick execution. Default is &lt;code&gt;70&lt;/code&gt; for JPG, &lt;code&gt;9&lt;/code&gt; for PNG (highest compression)&lt;/li&gt;&#xA;&lt;li&gt;It properly respects the &lt;code&gt;Media.Resizing.MaxWidth&lt;/code&gt; and &lt;code&gt;Media.Resizing.MaxHeight&lt;/code&gt; settings. Normally, these settings are only enforced on images when the image is upscaled- requested with query string params ‘h’ and ‘w’ greater than the original image. Native Sitecore will still output an image much larger than these settings if the original image exceeds the ‘MaxWidth’ or ‘MaxHeight’.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The result of Dianoga.ImageMagick is that ALL images get the same dimensional size reduction treatment if the image exceeds the ‘MaxWidth’ or ‘MaxHeight’. And all images are served with a reduced quality. In my tests it was not uncommon to go from 10+ MB to less than 1 MB for a given page with no obvious loss in image quality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since your question targeted PNGs, I ran a test quick with an image I created in Gimp. I intentionally applied no compression to my test image. The final size came out to 3.9 MB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added the image to Sitecore and ran it through the Dianoga.ImageMagick algorithm and it reduced it to 1.2 MB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then went back to Gimp to see how well it would do with full compression and it too reduced the image to 1.2 MB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The beauty of using ImageMagick is that there is an enormous number of options available to meet anyone's needs: &lt;a href=&quot;https://www.imagemagick.org/script/command-line-options.php&quot; rel=&quot;noreferrer&quot;&gt;https://www.imagemagick.org/script/command-line-options.php&lt;/a&gt;. I have done my best to choose defaults that work for everyone, but feel free to tweak.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Relevant Settings&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;JPG: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dianogaOptimizeImageMagickJpeg&amp;gt;&#xA;  &amp;lt;processor type=&quot;Dianoga.ImageMagick.ImageMagickResizer, Dianoga.ImageMagick&quot;&amp;gt;&#xA;    &amp;lt;ExePath&amp;gt;/App_Data/Dianoga Tools/imagemagick/magick.exe&amp;lt;/ExePath&amp;gt;&#xA;    &amp;lt;AdditionalImageMagick&amp;gt;-quality 70 -dither None -define jpeg:fancy-upsampling=off -interlace none -colorspace sRGB&amp;lt;/AdditionalImageMagick&amp;gt;&#xA;  &amp;lt;/processor&amp;gt;&#xA;  ...&#xA;&amp;lt;/dianogaOptimizeImageMagickJpeg&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;PNG: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dianogaOptimizeImageMagickPng&amp;gt;&#xA;  &amp;lt;processor type=&quot;Dianoga.ImageMagick.ImageMagickResizer, Dianoga.ImageMagick&quot;&amp;gt;&#xA;    &amp;lt;ExePath&amp;gt;/App_Data/Dianoga Tools/imagemagick/magick.exe&amp;lt;/ExePath&amp;gt;&#xA;    &amp;lt;AdditionalImageMagick&amp;gt;-define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1&amp;lt;/AdditionalImageMagick&amp;gt;&#xA;  &amp;lt;/processor&amp;gt;&#xA;  ...&#xA;&amp;lt;/dianogaOptimizeImageMagickPng&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Further Help&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/jraps20/Dianoga.ImageMagick&quot; rel=&quot;noreferrer&quot;&gt;Project Home on GitHub&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorerap.wordpress.com/2017/11/08/automatically-reduce-sitecore-image-sizes-with-dianoga-imagemagick-and-improve-page-load-times/&quot; rel=&quot;noreferrer&quot;&gt;Full write-up/explanation of Dianoga.ImageMagick&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-02-27T02:26:24.017" LastActivityDate="2018-02-27T02:26:24.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8981" PostTypeId="2" ParentId="8973" CreationDate="2017-12-13T14:10:07.560" Score="4" Body="&lt;p&gt;In the &lt;code&gt;SiteDefinition.config&lt;/code&gt; file each site should contain a &lt;code&gt;hostName&lt;/code&gt; attribute. Sitecore will match the correct site based on the incoming url and matching &lt;code&gt;hostName&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check out the &lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties/hostName.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;SDN page for hostName&lt;/a&gt; configuration for more information.&lt;/p&gt;&#xA;" OwnerUserId="23" LastActivityDate="2017-12-13T14:10:07.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8983" PostTypeId="2" ParentId="8976" CreationDate="2017-12-13T14:30:57.990" Score="14" Body="&lt;p&gt;From what I understand, you are looking for a way to get the datasources that your current page is referring to to be indexed along with said page.  Several times now we have used the approach defined here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kamsar.net/index.php/2014/05/indexing-subcontent/&quot; rel=&quot;noreferrer&quot;&gt;https://kamsar.net/index.php/2014/05/indexing-subcontent/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create a &lt;code&gt;ComputedField&lt;/code&gt; Class&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This chunk of code will trigger anytime an item is indexed and should push to your index whatever content is referred to as a datasource within your Renderings :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Blade.Utility;&#xA;using Sitecore;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.ComputedFields;&#xA;using Sitecore.Data.Fields;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Layouts;&#xA;&#xA;namespace Foo.ContentSearch.ComputedFields&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Computed field that contains all textual content of items that are rendering data sources on the current item's layout details&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class SubcontentField : IComputedIndexField&#xA;    {&#xA;        public object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;            var sitecoreIndexable = indexable as SitecoreIndexableItem;&#xA;&#xA;            if (sitecoreIndexable == null) return null;&#xA;&#xA;            // find renderings with datasources set&#xA;            var customDataSources = ExtractRenderingDataSourceItems(sitecoreIndexable.Item);&#xA;&#xA;            // extract text from data sources&#xA;            var contentToAdd = customDataSources.SelectMany(GetItemContent).ToList();&#xA;&#xA;            if (contentToAdd.Count == 0) return null;&#xA;&#xA;            return string.Join(&quot; &quot;, contentToAdd);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Finds all renderings on an item's layout details with valid custom data sources set and returns the data source items.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        protected virtual IEnumerable&amp;lt;Item&amp;gt; ExtractRenderingDataSourceItems(Item baseItem)&#xA;        {&#xA;            string currentLayoutXml = LayoutField.GetFieldValue(baseItem.Fields[FieldIDs.LayoutField]);&#xA;            if (string.IsNullOrEmpty(currentLayoutXml)) yield break;&#xA;&#xA;            LayoutDefinition layout = LayoutDefinition.Parse(currentLayoutXml);&#xA;&#xA;            // loop over devices in the rendering&#xA;            for (int deviceIndex = layout.Devices.Count - 1; deviceIndex &amp;gt;= 0; deviceIndex--)&#xA;            {&#xA;                var device = layout.Devices[deviceIndex] as DeviceDefinition;&#xA;&#xA;                if (device == null) continue;&#xA;&#xA;                // loop over renderings within the device&#xA;                for (int renderingIndex = device.Renderings.Count - 1; renderingIndex &amp;gt;= 0; renderingIndex--)&#xA;                {&#xA;                    var rendering = device.Renderings[renderingIndex] as RenderingDefinition;&#xA;&#xA;                    if (rendering == null) continue;&#xA;&#xA;                    // if the rendering has a custom data source, we resolve the data source item and place its text fields into the content to add&#xA;                    if (!string.IsNullOrWhiteSpace(rendering.Datasource))&#xA;                    {&#xA;                        // DataSourceHelper is a component of Blade&#xA;                        var dataSource = DataSourceHelper.ResolveDataSource(rendering.Datasource, baseItem);&#xA;&#xA;                        if (dataSource != baseItem)&#xA;                        {&#xA;                            yield return dataSource;&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;&#xA;        } &#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Extracts textual content from an item's fields&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        protected virtual IEnumerable&amp;lt;string&amp;gt; GetItemContent(Item dataSource)&#xA;        {&#xA;            foreach (Field field in dataSource.Fields)&#xA;            {&#xA;                // this check is what Sitecore uses to determine if a field belongs in _content (see LuceneDocumentBuilder.AddField())&#xA;                if (!IndexOperationsHelper.IsTextField(new SitecoreItemDataField(field))) continue;&#xA;&#xA;                string fieldValue = (field.Value ?? string.Empty).StripHtml();&#xA;&#xA;                if (!string.IsNullOrWhiteSpace(fieldValue)) yield return fieldValue;&#xA;            }&#xA;        }&#xA;&#xA;        public string FieldName { get; set; }&#xA;        public string ReturnType { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update your configs&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the reference to the &lt;code&gt;ComputedFields&lt;/code&gt; class in your index config (&lt;em&gt;please note the example below is referencing Lucene, you will likely have a similar structure with a different node &lt;code&gt;indexConfiguration/defaultSolrIndexConfiguration&lt;/code&gt; would be my guess&lt;/em&gt;): &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultLuceneIndexConfiguration&amp;gt;&#xA;                    &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                        &amp;lt;!-- indexes subcontent contents into parent's _content field in the index (for better site search) --&amp;gt;&#xA;                        &amp;lt;field fieldName=&quot;_content&quot; type=&quot;Foo.ContentSearch.ComputedFields.SubcontentField, Foo&quot; /&amp;gt;&#xA;                    &amp;lt;/fields&amp;gt;&#xA;                &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;A Step further&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On top of this approach, often times we have a &lt;code&gt;Site/Data/SearchSettings&lt;/code&gt; item located in a global place with regards to the site itself (and in a multi-site environment, we would have several of these items).  On this item we have a multi-list field that would point at all renderings that would be considered &quot;modules&quot; or &quot;components&quot; to a Page item.  From there you can pick and choose which datasource/subcontent items get indexed and which don't (some items may be data centric and some may be html content).  It's a pretty small addition (a settings item and some code in the computed field class) but it helps give content editors granularity into what is indexed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ComputedField(IIndexable indexable)&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;        var sitecoreIndexable = indexable as SitecoreIndexableItem;&#xA;&#xA;        if (sitecoreIndexable == null) return null;&#xA;&#xA;        var sc = new SitecoreContext(Sitecore.Context.ContentDatabase);&#xA;&#xA;        var searchSettings = sc.GetItem&amp;lt;Search_Settings&amp;gt;(searchSettingsItem.ID.ToString().ToUpper());&#xA;        if (searchSettings == null)&#xA;            return null;&#xA;        indexedRenderings = searchSettings.Indexed_Renderings.Select(i =&amp;gt; new ID(i).ToString()).ToList();&#xA;        var customDataSources = ExtractRenderingDataSourceItems(item, indexedRenderings);&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ExtractRendringDatasourceItems(Item baseItem, List&amp;lt;string&amp;gt; indexedRenderings)&lt;/code&gt; method (&lt;em&gt;added parameter&lt;/em&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;        if (rendering == null) continue;&#xA;&#xA;        // only index valid renderings&#xA;        if (!indexedRenderings.Contains(rendering.RenderingID.ToString().ToUpper())) continue;&#xA;&#xA;        // if the rendering has a custom data source, we resolve the data source item and place its text fields into the content to add&#xA;        if (!string.IsNullOrWhiteSpace(rendering.Datasource))&#xA;&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Dependencies&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, since your datasources will likely change, it won't necessarily get the change in the index since the parent doesn't change.  You will want to make the subcontent/datasource change trigger a bubble-up index (&lt;a href=&quot;http://www.techphoria414.com/Blog/2013/November/Sitecore-7-Computed-Fields-All-Templates-and-Datasource-Content&quot; rel=&quot;noreferrer&quot;&gt;http://www.techphoria414.com/Blog/2013/November/Sitecore-7-Computed-Fields-All-Templates-and-Datasource-Content&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create &lt;code&gt;GetDatasourceDependencies&lt;/code&gt; pipeline&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will help gather the referrers and flag them as dependencies:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GetDatasourceDependencies : BaseProcessor&#xA;{&#xA;    public override void Process(GetDependenciesArgs context)&#xA;    {&#xA;        Func&amp;lt;ItemUri, bool&amp;gt; func = null;&#xA;        Assert.IsNotNull(context.IndexedItem, &quot;indexed item&quot;);&#xA;        Assert.IsNotNull(context.Dependencies, &quot;dependencies&quot;);&#xA;        Item item = (Item)(context.IndexedItem as SitecoreIndexableItem);&#xA;        if (item != null)&#xA;        {&#xA;            if (func == null)&#xA;            {&#xA;                func = uri =&amp;gt; (bool)((uri != null) &amp;amp;&amp;amp; ((bool)(uri != item.Uri)));&#xA;            }&#xA;            System.Collections.Generic.IEnumerable&amp;lt;ItemUri&amp;gt; source = Enumerable.Where&amp;lt;ItemUri&amp;gt;(from l in Globals.LinkDatabase.GetReferrers(item, FieldIDs.LayoutField) select l.GetSourceItem().Uri, func).Distinct&amp;lt;ItemUri&amp;gt;();&#xA;            context.Dependencies.AddRange(source.Select(x =&amp;gt; (SitecoreItemUniqueId)x));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add the pipeline to your config&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;indexing.getDependencies help=&quot;Processors should derive from Sitecore.ContentSearch.Pipelines.GetDependencies.BaseProcessor&quot;&amp;gt;&#xA;        &amp;lt;!-- When indexing an item, make sure any items for whom it is a datasource get re-indexed as well --&amp;gt;&#xA;        &amp;lt;processor type=&quot;Foo.ContentSearch.GetDatasourceDependencies, Foo&quot;/&amp;gt;&#xA;      &amp;lt;/indexing.getDependencies&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hopefully this helps!&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="695" LastEditDate="2017-12-13T14:47:28.567" LastActivityDate="2017-12-13T14:47:28.567" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8984" PostTypeId="2" ParentId="8974" CreationDate="2017-12-13T15:00:05.030" Score="2" Body="&lt;p&gt;You could take a look at existing SBOS modules: &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/SitecoreSBOSLinkTracker.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/SitecoreSBOSLinkTracker.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This module extends the Link Manager to add a capability to set a link&#xA;  click to trigger a Page event.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The page events end up in the Sitecore Analytics and can be used for your reporting. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option is to write custom code. I wrote a &lt;a href=&quot;https://ggullentops.blogspot.be/2016/02/integrating-addthis-with-sitecore-goals.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt; a while back about integrating AddThis with a custom goal (replace the addthis with you button and you have a possible solution).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If feasable, I would go for the SBOS module though. Will be more flexible..&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: The SBOS Modules, while they work, can be buggy, depending on the needs of your solution. So make sure&#xA;  you test appropriately before deploying to a production environment.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastEditorUserId="246" LastEditDate="2017-12-13T15:04:19.587" LastActivityDate="2017-12-13T15:04:19.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8985" PostTypeId="1" AcceptedAnswerId="8993" CreationDate="2017-12-13T15:02:12.400" Score="36" ViewCount="6674" Body="&lt;p&gt;&lt;strong&gt;Disclaimer:&lt;/strong&gt; I'm not looking for an opinion on which is better. My assumption is that the comparison is not apples to apples but there are obvious similarities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've not found consolidated information on what each product provides OOTB or through custom extensions. The topic usually comes up because someone either on the team or the customer has a preference of one over the other and a justification is needed to make the switch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some questions that come to mind&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What type of support is available for each?&lt;/li&gt;&#xA;&lt;li&gt;What developer features are included and what problems does it solve?&lt;/li&gt;&#xA;&lt;li&gt;Are there considerations that must be made when automating the build and deployment?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-08-01T01:16:40.350" LastActivityDate="2018-08-01T01:16:40.350" Title="What are the differences between TDS Classic and Unicorn?" Tags="|tds|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="8986" PostTypeId="1" AcceptedAnswerId="9019" CreationDate="2017-12-13T15:27:59.853" Score="2" ViewCount="394" Body="&lt;p&gt;I just (almost) finished our upgrade to Sitecore 9 (from 8-something) and completed the XConnect setup (just SIF as you would with a normal install). The installation (on a dev server environment) went fine, everything seemed to be running but after finally enabling the XDB on the (upgraded) site and testing it we get lots of errors in the logs (of both xconnect and website) saying:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[Error] An error occurred while communicating with the SQL Server&#xA;  System.Data.SqlClient.SqlException (0x80131904): Could not obtain&#xA;  information about Windows NT group/user '..\..', error code 0x5.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Which is probably true, as I don't want my sql database to know about my domain user. I see the logs with my account as well as with one of my colleagues. Weird thing is that I have been on the site after enabling xdb, but my colleague hasn't. He did visit the site a few days ago, but xdb was still disabled then.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think I'm missing something - probably something silly.. but can't figure out what. &#xA;I did check the connectionstrings obviously, and they are ok (using a sql user and pwd).&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="73" LastEditDate="2017-12-16T10:16:01.727" LastActivityDate="2017-12-16T10:16:01.727" Title="SQL errors in XConnect logs after installation in upgrade scenario" Tags="|xconnect|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8987" PostTypeId="1" AcceptedAnswerId="8990" CreationDate="2017-12-13T15:28:50.637" Score="11" ViewCount="1021" Body="&lt;p&gt;We use the &lt;em&gt;EXM&lt;/em&gt; with &lt;em&gt;Sitecore Email Cloud&lt;/em&gt; on our project and going to push &lt;strong&gt;4 million emails a day&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently we working on setting up a production servers structure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it needed to use dispatch server in case of using &lt;em&gt;Sitecore Email Cloud&lt;/em&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any requirements or recommendation for servers structure for our needs? If someone has an experience of using an EXM to send so many emails, please share which infrastructure you built.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Background: &lt;em&gt;Sitecore 8.2 Update 6 with EXM v.3.5.1 rev. 171103&lt;/em&gt; &lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="246" LastEditDate="2017-12-13T21:17:14.223" LastActivityDate="2017-12-14T13:19:34.217" Title="Using EXM for sending about 4 million emails a day" Tags="|exm|infrastructure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8988" PostTypeId="1" CreationDate="2017-12-13T15:44:10.833" Score="2" ViewCount="80" Body="&lt;p&gt;I have a completely custom search crawler that pushes data to Algolia. If I run the full reindex it works great. When trying to use a onPublishEndAsync strategy I see the first item come in I publish get sent to Algolia. Then if I save something else the previous item AND the new item get sent to Algolia. It keeps expanding from there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's weird is that it seems to me Sitecore is sending the list of unique IDs to the index. It should realize that I previously indexed the items and not to send them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to replicate the SolrProvider and raise events. I've setup indexing:start, indexing:end, indexing:committing, indexing:committed. Also using a CommitPolicyExecutor to specify when an item was added to the index and when the index was committed.'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm pretty sure it has something to do with the eventQueue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm on Sitecore.NET 8.2 (rev. 160729).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code base is originally here without my changes, &lt;a href=&quot;https://github.com/dharnitski/Sitecore.Algolia/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/dharnitski/Sitecore.Algolia/&lt;/a&gt;. I raised an issue there but the author hasn't been active in some time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="416" LastEditorUserId="416" LastEditDate="2017-12-19T20:10:35.060" LastActivityDate="2017-12-19T20:10:35.060" Title="Custom content search (crawler) sent old indexed ids" Tags="|content-search|indexing|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8989" PostTypeId="2" ParentId="8971" CreationDate="2017-12-13T15:59:04.037" Score="6" Body="&lt;p&gt;EXM is slated for delivery in the next update for 9.0. It was not part of the initial release. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;9.0 update 1 should be available soon, but right now if you need EXM functionality today you need to use 8.2&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-12-13T15:59:04.037" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="8990" PostTypeId="2" ParentId="8987" CreationDate="2017-12-13T16:02:28.617" Score="21" Body="&lt;h3&gt;Is it needed to use dispatch server in case of using Sitecore Email Cloud?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Yes, Sitecore Email Cloud is simply the mail transit provider.  You still need dispatch servers to generate the emails and send to the Sitecore EDS service.  The process of generating the emails can be taxing based on how complicated your emails are and if personalization rules are in play.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Are there any requirements or recommendation for servers structure for our needs?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Scaling to 4 Million emails a day is possible. The experience that I have had in the past got approximately 1 million emails in about 3 hours. Doing 4 in a day is totally do able.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is document about scaling EXM: &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/setting_up_exm/configuration/configuring_exm_in_a_scaled_environment&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/setting_up_exm/configuration/configuring_exm_in_a_scaled_environment&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reality is, this document only covers how to scale to one server.  But to get to 4 million a day, you're going to need multiple EXM Dispatch Servers. I would recommend starting off with 3-4 Dispatch Servers. Also, I &lt;strong&gt;recommend&lt;/strong&gt; disabling dispatch on the Primary CM role so as not to bog down content authoring.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for hardware, I would definitely make sure the dispatch servers have a lot of CPU and a good amount of RAM. Cache as much as you can in Sitecore caches to keep from having to make trips to the DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr &lt;strong&gt;optimization&lt;/strong&gt; is key.  EXM spends a lot of time in the indexes (analytics index, master/web indexes, etc).  Making sure that your Solr implementation is sufficient and scaled appropriately will help in making sure that your dispatches are optimized. Any latency at all between Solr (and Mongo) will slow down dispatch times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure that you aren't doing anything CRAZY in the &lt;code&gt;&amp;lt;SendEmail&amp;gt;&lt;/code&gt; pipeline.  This is the pipeline that every email will call that generates the email. Any customizations to this pipeline will slow down processing. This also calls other pipelines such as &lt;code&gt;&amp;lt;modifyHyperlink&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;modifyImageLink&amp;gt;&lt;/code&gt;so you'll want to also make sure that you aren't doing anything crazy here either.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Separate Processing and Reporting Roles&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Make sure that you also separate out your Processing and Reporting roles. This will help offset additional processing that 4 million emails will cause on your Primary CM if you do not. You may also find that having only one processing server might not be enough. Consider scaling to 2 if processing times are slow.  An indicator of slow processing times is when a dispatch completes, but Sitecore is slow to report the Sent events on contacts and in the Email Report.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Tools for Monitoring Dispatch&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;On each dispatch server, you can see stats on how the server is performing. You can reach the Dispatch Summary page at &lt;code&gt;/sitecore/admin/dispatchsummary.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On this report, the GetBody() statistic is what you want to try and optimize as much as you can.  This method is what each email being generated calls, which reaches out to the CD cluster to generate the email with personalization, and then downloads the HTML into the email body.  Any delays in communicating with the CD environment will also impact delivery.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;When to Scale&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The Primary CM role can generally handle most triggered emails, drip campaigns, and small batches. I have been successful with campaigns as large as 100K contacts on one Primary CM, but it wasn't fast, and authoring was a bit slower due to all of the dispatching and processing occuring.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are scaling up slowly, it is fine to start off with just a primary CM. If you find the authoring server begin to choke, separate out the processing and reporting roles. That should allow you to scale the Primary CM up more.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you increase number of emails going out over time, and authoring chokes again, that is when I would deploy a dedicated dispatch server and then turn dispatch off on primary CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, to scale up from there, you are really just duplicating dispatch servers, and then down the line maybe add another processing server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But thats slow growth. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have business requirements where you know you are sending out millions of emails on day one. Then plan for multiple dispatch servers out of the gate.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2017-12-14T13:19:34.217" LastActivityDate="2017-12-14T13:19:34.217" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="8992" PostTypeId="1" CreationDate="2017-12-13T16:31:15.477" Score="2" ViewCount="230" Body="&lt;p&gt;When rendering an image field inside of a link field the experience editor buttons for the two fields collapse into one toolbar. Is it possible to do something similar with an edit frame rendered around a field with experience editor buttons? Example would be an edit frame with the move up and move down buttons that has a link field rendered inside of it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.EditFrame(Model.Item.ID.ToString(), &quot;path/to/buttons&quot;, &quot;Title&quot;, &quot;Tooltip&quot;, &#xA;&quot;&quot;, null)))&#xA;{&#xA;   @Html.Sitecore().Field(&quot;Link&quot;, Model.Item)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried passing parameters of &lt;code&gt;new { haschildren = true }&lt;/code&gt; instead of null but that didn't seem to change things. My current workaround is to use a field editor button which is fine but I'd want to know if there's another way to deal with it.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-12-13T16:31:15.477" Title="Combine Default Experience Editor Buttons and Custom Buttons" Tags="|experience-editor|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8993" PostTypeId="2" ParentId="8985" CreationDate="2017-12-13T18:09:00.597" Score="43" Body="&lt;p&gt;The two tools have different feature sets, and implementations.&#xA;I've tried to represent both out-of-the-box feature sets here briefly, but as fairly as possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SIMILAR FUNCTIONALITY&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;similar&lt;/em&gt; functionality between the two is the ability to serialize Sitecore items to disk.&#xA;&lt;a href=&quot;https://github.com/kamsar/Unicorn/blob/master/README.md&quot; rel=&quot;noreferrer&quot;&gt;Unicorn's README&lt;/a&gt; summarizes the need for this really well, by stating it writes:-&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;serialized copies of Sitecore items to disk along with the code - this&#xA;  way, a copy of the necessary database items for a given codebase&#xA;  accompanies it in source control&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/TDS-Classic&quot; rel=&quot;noreferrer&quot;&gt;TDS Classic&lt;/a&gt; does this but installing a web service into your local site, and pushing/pulling content through it, using a Visual Studio extension UI, and through MSBuild.&#xA;&lt;a href=&quot;https://github.com/kamsar/Unicorn&quot; rel=&quot;noreferrer&quot;&gt;Unicorn&lt;/a&gt; changes Sitecore's default Data Provider to use the serialized file on disk (.yml files) as the master copy. It then has it's own admin panel for pushing/pulling the item content between disk and Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The control over this serialization is also available in both tools.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;External triggering of pushing/pulling items.&lt;/li&gt;&#xA;&lt;li&gt;Item Deployment for Continuous Integration/Continuous Delivery&lt;/li&gt;&#xA;&lt;li&gt;Post Deployment Publish&lt;/li&gt;&#xA;&lt;li&gt;Configuration for syncing item hierarchies&lt;/li&gt;&#xA;&lt;li&gt;Automatic Pulling Changes to Disk (&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/tds-evolution-auto-sync&quot; rel=&quot;noreferrer&quot;&gt;TDS Classic AutoSync&lt;/a&gt;,&#xA;Unicorn Data Provider)&lt;/li&gt;&#xA;&lt;li&gt;Item Content Merging (&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Sitecore-productivity-boost/Item-Merge&quot; rel=&quot;noreferrer&quot;&gt;TDS Classic&#xA;Item Merge Tool&lt;/a&gt;, &lt;a href=&quot;https://github.com/kamsar/Rainbow&quot; rel=&quot;noreferrer&quot;&gt;Unicorn's Rainbow Format&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Item Sync Performance Improvements (&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/tds-classic-5-7-lightning-mode&quot; rel=&quot;noreferrer&quot;&gt;TDS Classic Lightning Mode&lt;/a&gt;, &lt;a href=&quot;https://kamsar.net/index.php/2017/02/Unicorn-4-Preview-Project-Dilithium/&quot; rel=&quot;noreferrer&quot;&gt;Unicorn&#xA;Dilithium&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Serialize/Sync Roles&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Overall, both tools are much better than the old way Sitecore assumed development would work (which was using Sitecore zip packages). That was very error prone... and both tools offer a much better process and item management that should be used in development.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OTHER FEATURES&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unicorn&lt;/strong&gt; is a serialization tool, that states in it's README that it:-&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;is free and open source, and does one thing well&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In addition to the above features, Unicorn has these features:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sync users (Both can Sync Roles, but only Unicorn can sync users).&lt;/li&gt;&#xA;&lt;li&gt;Push Serialized File Changes Automatically to Sitecore - &lt;a href=&quot;https://kamsar.net/index.php/2015/10/Unicorn-Introducing-Transparent-Sync/&quot; rel=&quot;noreferrer&quot;&gt;Unicorn Transparent Sync&lt;/a&gt; (this &lt;a href=&quot;http://www.seanholmesby.com/tds-autosync-one-way-is-not-the-only-way/&quot; rel=&quot;noreferrer&quot;&gt;is arguably dangerous though&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TDS Classic&lt;/strong&gt; is commercial product that began as a serialization tool, but became a much larger productivity tool, with many other opt-in features for efficient Sitecore development. &#xA;New features are continually being added to every release, but here is a (non-exhaustive) list of those built-in features (as up to date with TDS Classic version 5.7). (It's probably best to reach out to &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/&quot; rel=&quot;noreferrer&quot;&gt;Hedgehog&lt;/a&gt; directly or check the website/docs for a proper, up-to-date feature list and tool comparison, as I always forget some!)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/TDS-Classic&quot; rel=&quot;noreferrer&quot;&gt;Compatibility with all source control providers (including TFS)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#general&quot; rel=&quot;noreferrer&quot;&gt;Code Artifact Deployment&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=KIqZKDqWddA&amp;amp;index=18&amp;amp;list=PLb9QmtmxCbhl1uzG_XJ37Sc9fhsJNLfaM&quot; rel=&quot;noreferrer&quot;&gt;Delta Deployments (partial project deployment)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#the-sync-window&quot; rel=&quot;noreferrer&quot;&gt;UI for Serialized File/Sitecore Item difference comparison&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=UBHHZdlHinM&amp;amp;list=PLb9QmtmxCbhl1uzG_XJ37Sc9fhsJNLfaM&amp;amp;index=21&quot; rel=&quot;noreferrer&quot;&gt;UI for 'latest updated items'&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#deployment-properties&quot; rel=&quot;noreferrer&quot;&gt;Multi level deployment granularity UI (Item, target, field)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#update-package&quot; rel=&quot;noreferrer&quot;&gt;Update Package Creation for build artifact deployment&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#code-generation&quot; rel=&quot;noreferrer&quot;&gt;Code Generation (including cross-solution code gen)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#environment-validation&quot; rel=&quot;noreferrer&quot;&gt;Environment Validation&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/post-deploy-scripts&quot; rel=&quot;noreferrer&quot;&gt;Post Deployment Steps&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#nuget-package&quot; rel=&quot;noreferrer&quot;&gt;NuGet packaging of Item projects&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#validations&quot; rel=&quot;noreferrer&quot;&gt;Project validations (preventing bad properties/content in a deployment)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#general-options&quot; rel=&quot;noreferrer&quot;&gt;Content File Sync (auto copying front end files to your site)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#project-report&quot; rel=&quot;noreferrer&quot;&gt;Project Audit Reports&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#file-replacement&quot; rel=&quot;noreferrer&quot;&gt;Copying of extra files outside of the code project&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.seanholmesby.com/sitecore-tds-4-0-config-transforms/&quot; rel=&quot;noreferrer&quot;&gt;Config Transforms&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/tds-evolution-auto-sync&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Rocks integration&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EXTENSIBILITY&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TDS Classic is largely extensible with it's features via MSBuild, while Unicorn is largely configurable through Sitecore Include configs. Overall, build/deployment scenarios for &lt;strong&gt;both&lt;/strong&gt; products can be customized... both with the ability to utilize custom code and/or third party modules to be able to do even more than what's offered out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;PERFORMANCE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is largely subjective, and will differ from project to project, and test to test. For example, on the Habitat demo site, Unicorn Dilithium has been found to be quicker when just syncing item content with no changes, but TDS Classic will out-perform it when syncing from scratch. TDS Classic also halves the Habitat full solution build/deploy (which arguably has more to do with gulp/MSBuild than Unicorn/TDS Classic, but factors into how developers work with Sitecore).&#xA;Performance should probably be a separate discussion, because it can vary so much between each individual machine, each project, each process, and for each available performance 'boost' used by each tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;COST&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unicorn is free, TDS Classic is a paid product.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hedgehog offer a &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/TDS-Classic/Free-Trial&quot; rel=&quot;noreferrer&quot;&gt;free 30-day trial&lt;/a&gt; of TDS Classic on the website. Also, licensing costs for TDS Classic vary (from first time purchase, license renewals, bulk purchases, MVP purchases etc.), so for better info, it's best to email sales@hhog.com for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SUPPORT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both tools have community support, usually through Slack and Stack Exchange. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The TDS Classic license offers dedicated enterprise support through Hedgehog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope I've covered most of the high level stuff, but am always happy to learn of other things that should be added to the comparison.&lt;/p&gt;&#xA;" OwnerUserId="418" LastEditorUserId="418" LastEditDate="2017-12-20T22:35:18.097" LastActivityDate="2017-12-20T22:35:18.097" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="8997" PostTypeId="2" ParentId="8971" CreationDate="2017-12-13T19:25:14.840" Score="7" Body="&lt;p&gt;There will not be a version 9 compatible EXM as it will be part of the core platform with v9 update 1.&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-12-13T19:25:14.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="8998" PostTypeId="2" ParentId="8970" CreationDate="2017-12-13T19:55:04.877" Score="0" Body="&lt;p&gt;Your &lt;code&gt;folderItem&lt;/code&gt; type should not be inherited from &lt;code&gt;Sitecore.Data.Items.Item&lt;/code&gt;(and &lt;code&gt;folderItem&lt;/code&gt; should not be type of &lt;code&gt;Sitecore.Data.Items.Item&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be any your Glass Mapper model, but not inherited from &lt;code&gt;Sitecore.Data.Items.Item&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue was reported to &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/issues/305&quot; rel=&quot;nofollow noreferrer&quot;&gt;Glass Mapper GitHub and resolution is to use different parameters&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-12-13T19:55:04.877" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="8999" PostTypeId="2" ParentId="8237" CreationDate="2017-12-13T21:02:35.820" Score="2" Body="&lt;p&gt;I've upgraded Habitat to Sitecore 9 and there are several things to note.  There's an existing Github PR for SC9, so you may want to check the progress on that too. In the meantime, here are things to watch out for (not inclusive of course):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If you're going to use SOLR (the default from the install), you will need to update the configs (particularly field names) and some code such as the constants to reflect field names and facets handling.  Since the ContentSearch API mostly abstract any provider specific code, most of the code works.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You will need to switch from the DynamicPlaceholder module to the built-in DynamicPlaceholder.  You can simply remove the dependence to the module then update the HtmlHelper to use the native one (and update the Views if you're using them)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;XConnect is the biggest change and thus the biggest challenge depending on how much xDB code you have.  So, if you are using the Demo code and SitecoreExtensions in Habitat, you will need to rewrite most of those.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove the old WFFM Forms.  Use the new one.  Although WFFM should still work, it's being replaced obviously.  So, Habitat code for WFFM like the Outcome action will need to be replaced if you use it.  FYI: Experience Forms doesn't allow site-specific forms location in this version.  I've reported that to Sitecore already.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Like #3, since Marketing Automation is part of xDB, if you were using previous versions and have code against it (i.e. the Demo project has code to look at the user's Marketing Automation state), then you will need to redefine and recode all of that as well.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Anyway, SC9 to me is like SC6 to SC7.  It's a major update specifically architecturally.  It's definitely for the better.  As what everyone else said, Habitat is an example but has some really good software architecture concepts in it.  But it's not for EVERY project.  So, pick and choose.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2017-12-13T21:02:35.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9000" PostTypeId="2" ParentId="8907" CreationDate="2017-12-13T21:22:54.947" Score="4" Body="&lt;p&gt;I had this issue as well.  For me, it was the Newtonsoft.Json assembly.  I had the latest one in my bin since I normally like to use the latest ((thru NuGet).  Anyway, after some several trial and error, the Newtonsoft.Json was culprit.  It needs to be the v9.0.1.  The one that came with SC9.  After replacing it, the error went away.  Now, I'm not sure if your contacts will show up but that may be a different issue.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As LonghornTaco said above, errors may not be getting trapped smoothly.  Also, there may be some bugs still.  For instance, the particular error you have above with NegotiateLanguageFilter.  It's an attribute that adds Language in the response header of the controller.  Because of this, it's possible that the HttpContent may be null.  That's not being checked when the language is being set.  &lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2017-12-13T21:22:54.947" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9001" PostTypeId="2" ParentId="8977" CreationDate="2017-12-13T22:49:56.060" Score="3" Body="&lt;p&gt;You need to set the &lt;code&gt;EnforceTemplate&lt;/code&gt; setting when mapping your interface to either &lt;code&gt;SitecoreEnforceTemplate.Template&lt;/code&gt; or &lt;code&gt;SitecoreEnforceTemplate.TemplateAndBase&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public enum SitecoreEnforceTemplate&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Will not enforce template check&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    No,&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Checks only the items template&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    Template,&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Checks the items template and any base templates&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    TemplateAndBase&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In most cases you would probably use the &lt;code&gt;TemplateAndBase&lt;/code&gt; setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how to do it with attribute configuration:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{0EE93413-BD27-44E4-914F-4A94FBED83E9}&quot;, EnforceTemplate = SitecoreEnforceTemplate.TemplateAndBase)]&#xA;public interface ICmsModel&#xA;{&#xA;    // ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastActivityDate="2017-12-13T22:49:56.060" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9002" PostTypeId="2" ParentId="8985" CreationDate="2017-12-14T01:33:05.580" Score="27" Body="&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/8993/267&quot;&gt;Sean's answer&lt;/a&gt; is a good general overview of the differences between Unicorn and TDS Classic. This answer is here mostly to expand on a few of the serialization-based items not entirely covered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The real best way to decide what you want to use is to actually try using both. Each has its own distinct advantages for different types of projects and different dev team cultures. Hedgehog will give you a trial version of TDS Classic, and I'll give you a free version of Unicorn forever. Go play!&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Your Preferred Environment&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TDS Classic&lt;/strong&gt; is highly geared towards developers who spend their day in Visual Studio, as that's where all of its UI lives. With TDS, you'll manage your items, configuration, item syncing, and all that from within Visual Studio. If that's your thing, TDS is your product.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unicorn&lt;/strong&gt; is designed to have, and require, as little UI as possible. It does not require the use of any specific IDE tool, and though it has a sync UI it's mostly designed to be run from a script as part of some automated process (e.g. a build/deploy script). It gets away with this because of how it syncs.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What 'Sync' Means in Each&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;[Updated]&lt;/strong&gt; &lt;br/&gt;&#xA;In &lt;strong&gt;TDS Classic&lt;/strong&gt;, 'Sync' means the process which starts with a comparison window, displaying the differences of items on disk and in Sitecore. That window is then be used to push or pull each item's content to/from Sitecore. TDS offers this 'Sync Window' comparison in various granularity levels with the following features:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sync this item - comparing just the chosen item only&lt;/li&gt;&#xA;&lt;li&gt;Sync with Sitecore - to compare all of the items in a TDS project, or sub-project hierarchy.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore using History - comparing the items within a TDS project by displaying the most recently modified/added/deleted items only&lt;/li&gt;&#xA;&lt;li&gt;Sitecore all TDS Projects using History - as above, but for all TDS Projects in the solution.&lt;/li&gt;&#xA;&lt;li&gt;Sync all projects in Sitecore - a full comparison of every item in every TDS project across the entire solution.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In &lt;strong&gt;Unicorn&lt;/strong&gt; a 'Sync' is the process by which Sitecore is updated to match what is on disk. Unicorn treats the disk as the master copy, so a 'sync' will make Sitecore match everything on disk. &#xA;Unicorn offers granular syncs with:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;configuration-level sync (which might typically be a per-project configuration)&lt;/li&gt;&#xA;&lt;li&gt;all-configurations sync (to do a solution-wide sync with one operation)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;A 'sync' in Unicorn is a pure &lt;em&gt;push&lt;/em&gt; mechanism, where Sitecore items will update, but the process won't update any serialized items on disk. Whereas for TDS, a 'sync' may result in both Sitecore items, and serialized files being updated.&#xA;The end result for &lt;em&gt;both&lt;/em&gt; will be that the disk items and the Sitecore items will match (i.e they'll be in sync). &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How Items and Pushed/Pulled between Sitecore and Disk&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;[Updated from the comments]&lt;/strong&gt; &lt;br/&gt;&#xA;&lt;strong&gt;TDS Classic&lt;/strong&gt;&#xA;With TDS Classic the serialized items and Sitecore items can both be updated with features from within the IDE through the TDS Classic Visual Studio Extension. &#xA;Then the 'Sync' features mentioned above will allow you to do &lt;em&gt;both&lt;/em&gt; pushing and pulling of items. There are also other features in TDS that allow you to perform these operations.&lt;br/&gt;&#xA;&lt;em&gt;Pushing Items&lt;/em&gt; - The 'Deploy' and '&lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#quick-push-items&quot; rel=&quot;noreferrer&quot;&gt;Quick Push&lt;/a&gt;' features will push the items from disk to Sitecore.&lt;br/&gt;&#xA;&lt;em&gt;Pulling Items&lt;/em&gt; - The 'GetSitecoreItems' features will pull items from Sitecore to disk, while the &lt;a href=&quot;https://www.youtube.com/watch?v=pkpC24WM1Eo&quot; rel=&quot;noreferrer&quot;&gt;AutoSync&lt;/a&gt; feature will pull the updates automatically when turned on.&lt;br /&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unicorn&lt;/strong&gt;&lt;br/&gt;&#xA;&lt;em&gt;Pushing Items&lt;/em&gt; - a 'Sync' operation in Unicorn, as mentioned above, will update Sitecore to match what is on disk. &lt;a href=&quot;https://kamsar.net/index.php/2015/10/Unicorn-Introducing-Transparent-Sync/&quot; rel=&quot;noreferrer&quot;&gt;Transparent Sync&lt;/a&gt;, when turned on, also updates Sitecore items to match the serialized items, but does so automatically, instead of requiring syncing to be triggered from the control panel.&lt;br /&gt;&#xA;&lt;em&gt;Pulling Items&lt;/em&gt; - As Unicorn utilizes the Data Provider, updates made within Sitecore are also updated on disk, so the 'pull' aspect is done automatically.&#xA;Unicorn also features a 'Re-Serialize' operation, where items are also pulled from Sitecore onto disk. This operation is typically only used for initial project setup, and for configuration changes where different sets of items are being pulled into the project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unlike TDS, there is no comparison UI because the serialized file is always treated as the master. The disk is kept up to date as items are changed in Sitecore, and a 'sync' operation always pushes the item wholesale into the Sitecore database. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Conflict Resolution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Inevitably when working with a team, two developers will change the same item which might then cause a conflict in a serialized item file.&lt;br/&gt;&#xA;&lt;strong&gt;TDS Classic&lt;/strong&gt; uses Sitecore's built in serialization format, which itself is a custom, inflexible, line-oriented format that is quite picky (requiring specific line endings, as well as calculated content-lengths for field values). When a conflict occurs on disk, dealing with this format can be painful when using regular file merge tools (like WinMerge, KDiff, TortoiseMerge etc.) because it doesn't know how to deal with them.&lt;br/&gt;&#xA;To combat this, Hedgehog developed a custom &lt;a href=&quot;https://www.youtube.com/watch?v=t-NeswJ9Vw8&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Item Merge tool&lt;/a&gt; to handle this format for you, taking away that pain. It is automatically configured for TFS when TDS is installed, but &lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#setting-up-sitecore-item-merge-for-source-control-providers&quot; rel=&quot;noreferrer&quot;&gt;can easily be configured for any source control provider like Git or SVN&lt;/a&gt;.&lt;br/&gt;&lt;br&gt;&#xA;&lt;strong&gt;Unicorn&lt;/strong&gt; uses its own &lt;a href=&quot;https://kamsar.net/index.php/2015/07/Rethinking-the-Sitecore-Serialization-Format-Unicorn-3-Preview-part-1/&quot; rel=&quot;noreferrer&quot;&gt;custom developed format&lt;/a&gt; (based on YAML) that was designed from the ground up to be extremely mergeable. Entire classes of conflict can be auto-resolved by source control without it even becoming a conflict in the first place. However when there is still a conflict requiring human intervention, the line-by-line format allows for a very easy side-by-side comparison and resolution.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Deployment Methodology&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;[Updated from the comments]&lt;/strong&gt; &lt;br/&gt;&#xA;With &lt;strong&gt;TDS Classic&lt;/strong&gt;, deployments can be done in a number of ways.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Connector Deployments - a web service is installed into your site, and MSBuild can connect directly to it to deploy your items. This might be typical for a DEV and QA environment deployment, and closely mimics how TDS deploys to your local as well.&lt;/li&gt;&#xA;&lt;li&gt;Update Package Deployments - TDS allows you to generate an update package (Sitecore standard) during the build, which can act as a deployment artifact that you manage.&#xA;You can then deploy that package in whichever way you want (through &lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship&quot; rel=&quot;noreferrer&quot;&gt;Sitecore.Ship&lt;/a&gt;, &lt;a href=&quot;https://github.com/HedgehogDevelopment/SitecorePackageDeployer&quot; rel=&quot;noreferrer&quot;&gt;SitecorePackageDeployer&lt;/a&gt;, Sitecore PowerShell Extensions, UpdateInstallationWizard etc.).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The package contents can be configured for however flexible you want your deployments to be. You can have items and code together, items only (if you deploy your code some other way), or &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/tds-classic-sitecore-best-practices-delta-builds-bundle-packages&quot; rel=&quot;noreferrer&quot;&gt;delta packages&lt;/a&gt; with only recently modified items (if you're looking to reduce deployment times).&#xA;For production deployments typically an Update Package is what most teams use, customizing their own deployment strategy to suit their needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unicorn&lt;/strong&gt; also doesn't really dictate how you choose to deploy your items either. Personally I tend to deploy all the serialized items and use the remote PowerShell API to script a sync operation immediately after the code is deployed. But others are using any number of techniques, including deploying the serialized items and manually triggering the Sync from the control panel, or using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_Courier.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Courier&lt;/a&gt; to generate update packages like TDS.&lt;/p&gt;&#xA;" OwnerUserId="267" LastEditorUserId="418" LastEditDate="2017-12-22T15:12:57.100" LastActivityDate="2017-12-22T15:12:57.100" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9003" PostTypeId="2" ParentId="292" CreationDate="2017-12-14T01:37:58.177" Score="7" Body="&lt;p&gt;For anyone coming to this question far in the future, you can explicitly combine your Unicorn configuration into a package with SPE&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://kamsar.net/index.php/2017/02/Unicorn-4-Preview-Part-2-5-Generating-Packages-with-SPE/&quot; rel=&quot;noreferrer&quot;&gt;https://kamsar.net/index.php/2017/02/Unicorn-4-Preview-Part-2-5-Generating-Packages-with-SPE/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Create a new Sitecore Package (SPE cmdlet)&#xA;$pkg = New-Package&#xA;# Get the Unicorn Configuration(s) we want to package&#xA;$configs = Get-UnicornConfiguration &quot;Foundation.*&quot; &#xA;# Pipe the configs into New-UnicornItemSource &#xA;# to process them and add them to the package project&#xA;# (without -Project, this would emit the source object(s) &#xA;#   which can be manually added with $pkg.Sources.Add())&#xA;$configs | New-UnicornItemSource -Project $pkg&#xA;# Export the package to a zip file on disk&#xA;Export-Package -Project $pkg -Path &quot;C:\foo.zip&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="267" LastActivityDate="2017-12-14T01:37:58.177" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9004" PostTypeId="1" AcceptedAnswerId="9023" CreationDate="2017-12-14T02:59:29.070" Score="1" ViewCount="12265" Body="&lt;p&gt;While running the script on powershell (admin) as                                              &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; `Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2` &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;getting error as                                              &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;PackageManagement\Register-PackageSource : The property 'Name' cannot be found on this object. Verify that the property exists.&#xA;At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4173 char:17&#xA;+ ...     $null = PackageManagement\Register-PackageSource @PSBoundParamete ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (Microsoft.Power...erPackageSource:RegisterPackageSource) [Register-Packag&#xA;   eSource], Exception&#xA;    + FullyQualifiedErrorId : PropertyNotFoundStrict,Microsoft.PowerShell.PackageManagement.Cmdlets.RegisterPackageSource&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can anyone please help me on this? &lt;/p&gt;&#xA;" OwnerUserId="1307" LastEditorUserId="70" LastEditDate="2018-06-19T19:45:34.717" LastActivityDate="2018-06-19T19:45:34.717" Title="The property 'Name' cannot be found on this object. Verify that the property exists" Tags="|powershell|sitecore-install-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="9006" PostTypeId="2" ParentId="7850" CreationDate="2017-12-14T08:05:37.497" Score="2" Body="&lt;p&gt;Dianoga by default uses tools that offer lossless images compression.&#xA;For example, for JPEGs, it uses the &lt;code&gt;jpegtran&lt;/code&gt; tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However in my recent project, after lossless Dianoga compression, Google's Page Speed suggested that images can be compressed by additional 6MB in total on the homepage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After January 2017 Page Speed algorithm changed a bit, and now it is recommended to use &lt;code&gt;85% quality&lt;/code&gt; for JPEGs. In other words, you should use lossy compression for JPEGs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Google's Page Speed suggests using &lt;code&gt;jpegtran&lt;/code&gt; or &lt;code&gt;jpegoptim&lt;/code&gt; to compress JPEGs. The latter has the option to set jpeg quality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tested it, and with the quality set to 90%, I got quite similar results like Google's Page Speed suggest. The 700kb image (after lossless Dianoga compression) was compressed additional 500kb without any visual differences.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I implemented jpegoptim processor for Dianoga. I added pull request for it here: &lt;a href=&quot;https://github.com/kamsar/Dianoga/pull/28&quot; rel=&quot;nofollow noreferrer&quot;&gt;Jpeg Lossy Pull Request to Dianoga&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What else?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Additionally, you can think of resizing and compressing images during upload to Media Library. I described how to do this here: &lt;a href=&quot;http://bartlomiejmucha.com/en/blog/how-to-resize-and-compress-images-with-dianoga-during-upload-to-sitecore-media-library/&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to resize and compress images with Dianoga during upload to sitecore media library&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2017-12-14T08:05:37.497" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9008" PostTypeId="1" CreationDate="2017-12-14T11:21:03.403" Score="1" ViewCount="840" Body="&lt;p&gt;Base class for a service providing data for an API controller on a 8.2 update-4 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code's context is the web database and it's a simple case of using content search to find an item based on a query of its fields and then using the context to get the item with its Glass interface. (Context being ISitecoreContext injected into the contructor)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var doc = result.Document;&#xA;var model = Context.GetItem&amp;lt;TGlass&amp;gt;(doc.ItemId.Guid);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All standard Sitecore caching is active and the Glass interface has caching enabled on its type attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nothing is cached when the code runs. Checked &lt;em&gt;Sitecore.Context.Site.Properties[&quot;glassCache&quot;]&lt;/em&gt; and by manually updating the web db item with small changes which are immediately shown upon refresh.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything obvious that I am missing?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(Cachable = true, TemplateId = Templates.Tip.ID, EnforceTemplate = SitecoreEnforceTemplate.Template)]&#xA;public interface ITip: IApiDataItem&#xA;{&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.Title)]&#xA;    string Title { get; set; }&#xA;&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.Summary)]&#xA;    string Summary { get; set; }&#xA;&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.Overview, Setting = SitecoreFieldSettings.RichTextRaw)]&#xA;    string Overview { get; set; }&#xA;&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.Highlight)]&#xA;    string Highlight { get; set; }&#xA;&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.Why)]&#xA;    string Why { get; set; }&#xA;&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.Body, Setting = SitecoreFieldSettings.RichTextRaw)]&#xA;    string Body { get; set; }&#xA;&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.Category)]&#xA;    Taxonomy.Models.ICategoryItem Category { get; set; }&#xA;&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.Type)]&#xA;    Taxonomy.Models.ICategoryItem Type { get; set; }&#xA;&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.Image)]&#xA;    Media.Models.IFrontEndImage Image { get; set; }&#xA;&#xA;    [SitecoreField(FieldId = Templates.Tip.Fields.AssociatedAnswers)]&#xA;    IEnumerable&amp;lt;IAnswer&amp;gt; AssociatedAnswers { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2973" LastActivityDate="2017-12-15T08:37:18.517" Title="Glass Mapper not caching a SitecoreContext.GetItem&lt;IThing&gt; request" Tags="|glass-mapper|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9009" PostTypeId="1" AcceptedAnswerId="9074" CreationDate="2017-12-14T12:16:28.060" Score="1" ViewCount="1859" Body="&lt;p&gt;I am trying to validate media item whilst uploading to check if the media of certain type has a specific size limit. Created a pipeline which replaces the Sitecore.Pipelines.Upload.CheckSize to the custom pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If file is not valid i.e. within the Size limit args error text is set as below-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.UiResponseHandler.FileTooBig(StringUtil.EscapeJavascriptString(fileName));&#xA;args.ErrorText = $&quot;The  file {fileName} is too big to be uploaded. Testing testing The maximum size for uploading files is {limit} MB.&quot;;&#xA;args.AbortPipeline();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try uploading multiple files I am able to see the above custom message, but whilst uploading a single file I see the message which is set in Sitecore.Pipelines.Upload.CheckSize class i.e. instead of custom message I see this-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O8O8n.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O8O8n.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the same file uploaded using (advanced) option&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z7YSL.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z7YSL.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anybody faced this issue, help here is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="2744" LastEditorUserId="73" LastEditDate="2019-08-02T15:10:05.433" LastActivityDate="2019-08-02T15:10:05.433" Title="Media Item upload upload size validation - confirm dialog issue" Tags="|sitecore-client|media-library|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="9011" PostTypeId="1" AcceptedAnswerId="9040" CreationDate="2017-12-14T13:03:35.760" Score="1" ViewCount="591" Body="&lt;p&gt;I am writing a custom &lt;code&gt;GetAllowedRenderings&lt;/code&gt; processor, but I cannot see how to obtain the current item that I'm editing in the experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There doesn't seem to be a property on the &lt;code&gt;GetPlaceholderRenderingsArgs&lt;/code&gt; args and &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get the current item in this context?&lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2017-12-15T08:50:36.497" Title="Cannot get current item from custom GetAllowedRenderings pipelines processor" Tags="|pipelines|sitecore-api|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9012" PostTypeId="2" ParentId="9011" CreationDate="2017-12-14T13:32:20.507" Score="2" Body="&lt;p&gt;It will require customization of Sitecore pipelines:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Override &lt;code&gt;Sitecore.Pipelines.GetChromeData.GetPlaceholderChromeData&lt;/code&gt; processor in &lt;code&gt;getChromeData&lt;/code&gt; pipeline. It should call &lt;code&gt;getPlaceholderRenderings&lt;/code&gt; pipeline with transferring Context page in &lt;code&gt;PlaceholderRenderingsArgs&lt;/code&gt;. Use &lt;code&gt;CustomData&lt;/code&gt; property or create your own pipeline arguments class.&lt;/li&gt;&#xA;&lt;li&gt;Access from your custom &lt;code&gt;GetAllowedRenderings&lt;/code&gt; processor to &lt;code&gt;CustomData&lt;/code&gt; property with Context and use it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-12-14T13:32:20.507" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9013" PostTypeId="1" CreationDate="2017-12-14T14:05:09.250" Score="1" ViewCount="445" Body="&lt;p&gt;A bit about our setup.  We have 3 Sitecore 8.2U5 Content Delivery Servers across one Analytics node. We have SSO through a 3rd party provider (PING), a main site, and some portal sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The portal sites have a different domain and is generally the domain one is logging into. When a user logs into this portal, they are on &lt;code&gt;http://domain1.maindomain.com&lt;/code&gt;. Now, this particular portal has white labeling functionality that allows clients to white label their portal for their company.  An example of this domain is &lt;code&gt;http://clientname.domain.maindomain.com&lt;/code&gt;.  A wildcard DNS entry is utilized so that domains can be automatically added.  There are numerous subdomains.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, members of a white label domain could also be members of the main portal domain.  &lt;strong&gt;And we want to move the user seamlessly between the two when they so choose to.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have configured Sitecore to utilize SQL Shared Session state for Analytics, and we have setup the CD's to utilize SQL for Private Session State.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when the user jumps between the two subdomains, we lose the session state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do we transfer a Sitecore/ASP.NET session between domains on the same delivery cluster (even same CD server) without losing that session?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-12-14T14:05:09.250" Title="How do we transfer a Sitecore/ASP.NET session between domains on the same delivery cluster?" Tags="|best-practices|session-state|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9015" PostTypeId="1" CreationDate="2017-12-14T14:31:21.300" Score="4" ViewCount="917" Body="&lt;p&gt;I am installing the &lt;code&gt;Sitecore Commerce 8.2.1 Update 2&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Installing the Adventure Works Front Store it my Catalog was not installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just like described here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4728/issues-while-installing-commerce-entity-adventure-works-catalogaw535-11-was&quot;&gt;Issues while installing commerce - Entity Adventure Works Catalog|AW535-11| was not found&lt;/a&gt; I know there is a bug and I have to IMPORT the catalog manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is: &#xA;When I open my &lt;code&gt;Commerce Server Catalog Manager&lt;/code&gt; I don't see any tasks. &#xA;No options to import.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eJPIP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eJPIP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is my &lt;code&gt;Commerce server Catalog Manager&lt;/code&gt; like this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Details:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Opening the Catalog manager my connection points to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://csservices:1004/CFSolutionStorefrontsite_CatalogWebService/CatalogWebService.asmx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://csservices:1004/CFSolutionStorefrontsite_CatalogWebService/CatalogWebService.asmx&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WmrVF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WmrVF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Browser I see the CatalogWebService is fine:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/8glDm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8glDm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance&lt;/p&gt;&#xA;" OwnerUserId="1203" LastEditorUserId="5387" LastEditDate="2020-01-29T06:58:47.417" LastActivityDate="2020-01-29T06:59:11.977" Title="Commerce Server Catalog Manager - 8.2.1" Tags="|sitecore-commerce|commerce-catalog|commerce-server|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="9016" PostTypeId="2" ParentId="9015" CreationDate="2017-12-14T14:53:57.703" Score="6" Body="&lt;p&gt;You should be able to import through the File - Import Product Catalog menu.&#xA;This is a post I wrote on how to import the catalog xml file&#xA;&lt;a href=&quot;https://sitecorebrasil.wordpress.com/2017/05/18/sitecore-commerce-adventure-works-catalog-did-not-get-imported-how-to-do-that-manually/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorebrasil.wordpress.com/2017/05/18/sitecore-commerce-adventure-works-catalog-did-not-get-imported-how-to-do-that-manually/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I remember I had an issue with permissions on the CSServices site on IIS when running this locally so you might want to check your IIS permissions.&#xA;This is what you should be looking for:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CSService - Windows Authentication and Anonymous authentication enabled&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Catalog - Windows Authentication enabled and anonymous disabled&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Profiles - Windows authentication enabled and anonymous disabled&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This did the trick for me. Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-12-14T14:53:57.703" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9017" PostTypeId="2" ParentId="9009" CreationDate="2017-12-14T15:13:25.730" Score="0" Body="&lt;p&gt;I believe you may need to override parts of &lt;code&gt;Sitecore.Shell.Applications.Media.UploadMedia.UploadMediaForm, Sitecore.Client&lt;/code&gt; and customize &lt;code&gt;UploadMedia.xml&lt;/code&gt;. There is a check for the &lt;code&gt;OnLoad&lt;/code&gt; method of &lt;code&gt;UploadMediaPage2&lt;/code&gt; which does a response write that ends up calling the method &lt;code&gt;ShowFileTooBig&lt;/code&gt;. This will allow you to show your custom message but unfortunately I am not sure if the file will still be blocked from being uploaded if it qualified as too big for the check in &lt;code&gt;ClientPage&lt;/code&gt;. Based on what I'm seeing I think it won't upload the file so if your desire is just to inject a custom message going this route should be fine. If you actually want to change what the &lt;code&gt;ClientPage&lt;/code&gt; base class marks as a request that is too big then something else will be needed.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2017-12-14T15:13:25.730" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9018" PostTypeId="1" AcceptedAnswerId="9027" CreationDate="2017-12-14T15:54:48.283" Score="3" ViewCount="3343" Body="&lt;p&gt;Installing WeBlog latest version with Sitecore 9 is breaking Sitecore instance. Are there any other blog module which can work with Sitecore 9 and SXA? Thank you,&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="2727" LastEditDate="2018-02-08T08:50:16.187" LastActivityDate="2019-08-13T06:48:14.883" Title="Blog Module for Sitecore 9" Tags="|sxa|weblog|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9019" PostTypeId="2" ParentId="8986" CreationDate="2017-12-14T15:58:27.803" Score="1" Body="&lt;p&gt;I managed to fix the issue and it was something rather silly indeed. The connectionstrings were perfectly fine (so I'm not going to post them - when obfuscating they look exactly like the ones in a clean SC9 setup). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the upgrade, I restored database backups from our 8.x site on SQL2012 and restored them on a SQL2016. Those databases were &quot;upgraded&quot; and during the whole upgrade process we had to deploy 2 extra databases (dacpac's). The other databases were installed by SIF when installing xconnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem was that when restoring/deploying the databases, the owner of the database was set to the currrent user (being our domain user as it's only a dev environment and we didn't take the effort to login with an admin sql user). Not sure which database was causing the troubles but after switching the db owner to a sql admin user everything worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, lesson learned: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Use a (dedicated) sql admin user when restoring/deploying the databases for an upgrade&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-12-14T15:58:27.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9020" PostTypeId="1" CreationDate="2017-12-14T15:59:26.150" Score="1" ViewCount="366" Body="&lt;p&gt;Please help me know which sql database contains the Sitecore's item display name?&lt;/p&gt;&#xA;" OwnerUserId="2976" LastEditorUserId="1000" LastEditDate="2017-12-14T16:05:15.110" LastActivityDate="2017-12-14T16:08:08.983" Title="Which sql database contains the item's display name?" Tags="|sql-database|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9021" PostTypeId="2" ParentId="9020" CreationDate="2017-12-14T16:01:52.680" Score="4" Body="&lt;p&gt;The item's display name is a property (field) of your item. So it exists in the same database as your item. So I guess the answer is: all of them. You can find display names in master, web, ..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just in case you are not asking about the database, but the table: you will find these in the &lt;code&gt;UnversionFields&lt;/code&gt; (with FieldId &lt;code&gt;B5E02AD9-D56F-4C41-A065-A133DB87BDEB&lt;/code&gt;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-12-14T16:08:08.983" LastActivityDate="2017-12-14T16:08:08.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9022" PostTypeId="1" CreationDate="2017-12-14T16:17:26.567" Score="2" ViewCount="1230" Body="&lt;p&gt;I am using the migration tool to upgrade from 7.2 to 8.2 including migrating Web Forms for Marketers. The migration completes with warnings. The report states that Web Forms for Marketers failed. The logs show the error below. I have looked through the solution, content tree and database tables, but cannot find anything named 'FormData'. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across this error and know a fix?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;System.Data.SqlClient.SqlException (0x80131904): Cannot find the object &quot;FormData&quot; because it does not exist or you do not have permissions.&#xA;   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)&#xA;   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady)&#xA;   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)&#xA;   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)&#xA;   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()&#xA;   at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition&amp;amp; command, Action`2 paramReader)&#xA;   at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition&amp;amp; command)&#xA;   at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType)&#xA;   at Sitecore.ExpressMigration.Core.Database.DbQueryRunner.Execute(String sql, Object param) in C:\BA\29627f8a956df51d\src\Sitecore.ExpressMigration.Core\Database\DbQueryRunner.cs:line 71&#xA;   at Sitecore.ExpressMigration.Core.Helpers.Retryer.&amp;lt;&amp;gt;c__DisplayClass5_0.&amp;lt;Execute&amp;gt;b__0() in C:\BA\29627f8a956df51d\src\Sitecore.ExpressMigration.Core\Helpers\Retryer.cs:line 45&#xA;   at Sitecore.ExpressMigration.Core.Helpers.Retryer.Execute[T](Func`1 func) in C:\BA\29627f8a956df51d\src\Sitecore.ExpressMigration.Core\Helpers\Retryer.cs:line 61&#xA;ClientConnectionId:b75a88ad-d3d5-4897-ae2b-75d5fbdbf734&#xA;Error Number:4701,State:1,Class:16&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2977" LastEditorUserId="73" LastEditDate="2018-01-13T20:16:55.593" LastActivityDate="2018-02-12T20:51:31.463" Title="System.Data.SqlClient.SqlException (0x80131904): Cannot find the object &quot;FormData&quot; because it does not exist or you do not have permissions" Tags="|wffm|express-migration-tool|" AnswerCount="1" CommentCount="0" ClosedDate="2018-02-14T09:10:22.377" ContentLicense="CC BY-SA 3.0" />
  <row Id="9023" PostTypeId="2" ParentId="9004" CreationDate="2017-12-14T16:18:19.277" Score="3" Body="&lt;p&gt;Open PowerShell as administrator and set Execution policy by running the below command and accept it by saying “A” (Yes to ALL).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set-ExecutionPolicy RemoteSigned&#xA;&lt;a href=&quot;https://i.stack.imgur.com/H3Ph4.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H3Ph4.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then run the below your command:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Register-PSRepository -Name SitecoreGallery -SourceLocation &lt;a href=&quot;https://sitecore.myget.org/F/sc-powershell/api/v2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-powershell/api/v2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8RDa7.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8RDa7.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2017-12-14T16:18:19.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9024" PostTypeId="2" ParentId="8978" CreationDate="2017-12-14T16:26:51.450" Score="4" Body="&lt;p&gt;This error was mainly due to the &lt;strong&gt;&quot;https://&quot;&lt;/strong&gt; missing in the url of xConnect,Referencedata and marketingautomation in my ConnectionStrings.config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YCR0e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YCR0e.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2017-12-14T16:26:51.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9025" PostTypeId="2" ParentId="9022" CreationDate="2017-12-14T16:50:46.897" Score="0" Body="&lt;p&gt;Ok, so it was actually quite a simple case of checking the permissions of the designated user in the connection string. It turned out for some of the databases it accesses, I needed to increase permissions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I have another issue about &lt;code&gt;inserting duplicate field into dbo.SharedFields&lt;/code&gt;, but that's another question for another time!&lt;/p&gt;&#xA;" OwnerUserId="2977" LastActivityDate="2017-12-14T16:50:46.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9026" PostTypeId="1" CreationDate="2017-12-14T17:41:28.880" Score="1" ViewCount="99" Body="&lt;p&gt;We are in process of upgrading Sitecore 7.2 to 8.2 Update 5 (may be Update 6 later). As part of the process client wants to migrate the historical analytics data from SQL to Mongo (On-Premise). Client have huge analytics database on 7.2 containing approx. 3+ years of data in it by having multi-site, multi-lingual etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although we are planning to leverage the Batch Aggregation by configuring the MaximumBatchSize and MaxThread in History Worker process. But I strongly remember that in my previous Sitecore Upgrade, it took days to complete the data optimization, conversion and rebuilding the reporting database, even when they had less bulky analytics database than this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hence wanted to check with the community if we have any &lt;strong&gt;&lt;em&gt;ways/guidelines to size and estimate (may be ballpark) for the Conversion process&lt;/em&gt;&lt;/strong&gt; with various factors effecting.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2017-12-14T17:41:28.880" Title="How can we Size or Estimate the xDB Conversion Process while upgrading from 7.2 to 8.2?" Tags="|xdb|experience-analytics|upgrade|mongodb|" AnswerCount="0" CommentCount="3" ClosedDate="2017-12-15T14:50:25.247" ContentLicense="CC BY-SA 3.0" />
  <row Id="9027" PostTypeId="2" ParentId="9018" CreationDate="2017-12-14T18:03:51.090" Score="16" Body="&lt;p&gt;You can build a blog on top of &lt;strong&gt;SXA&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a step by step tutorial how to do it &lt;a href=&quot;https://alan-null.github.io/2017/12/sxa-blog&quot; rel=&quot;noreferrer&quot;&gt;&lt;strong&gt;here&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are default renderings that can be used on blog.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/GxhiR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GxhiR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/AoGe7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AoGe7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/tjvfe.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tjvfe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To display posts on homepage you could use Page List or Search Results&#xA;&lt;a href=&quot;https://i.stack.imgur.com/5y2tZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5y2tZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need comments there are FB comments, Disqus&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Screenshots come from &lt;a href=&quot;https://github.com/alan-null/XA.Reference/releases&quot; rel=&quot;noreferrer&quot;&gt;XA.Reference site&lt;/a&gt;. If you are not sure how to configure them, install it and play.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-12-17T23:11:08.183" LastActivityDate="2017-12-17T23:11:08.183" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9029" PostTypeId="2" ParentId="8647" CreationDate="2017-12-14T18:36:32.950" Score="7" Body="&lt;p&gt;A hot fix for this issue was released: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Download &lt;a href=&quot;https://dl.sitecore.net/hotfix/Commerce/SC%20Hotfix%2034492-1%20Commerce.CSCore%2011.4.152.zip&quot; rel=&quot;noreferrer&quot;&gt;hotfix&lt;/a&gt; :  unzip the file and follow above instructions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Backup the original binary &quot;dsdb3.dll&quot; located under the default install location c:\Program Files\Commerce Server 11\UPM\&lt;/li&gt;&#xA;&lt;li&gt;Replace the dsdb3.dll from above location with the one found from this hotfix package&lt;/li&gt;&#xA;&lt;li&gt;Restart IIS&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The hotfix was built for Sitecore Commerce 8.2.1(Update-2) with Commerce Server 11.4.148, and you should not install it on other Sitecore versions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Details about this issues was published on KB site: &lt;a href=&quot;https://kb.sitecore.net/en/Articles/2017/12/18/21/17/006092.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/en/Articles/2017/12/18/21/17/006092.aspx&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2017-12-19T15:04:45.013" LastActivityDate="2017-12-19T15:04:45.013" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9031" PostTypeId="1" AcceptedAnswerId="9037" CreationDate="2017-12-14T21:00:29.510" Score="3" ViewCount="1133" Body="&lt;p&gt;I'm trying to migrate Sitecore on-prem to Azure Cloud.&#xA;In the first step of Sitecore Express Migration Tool 3.1, I need to put Source and Target locations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the field of the target source, how can I put the cloud's website physical path?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GNlK3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GNlK3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to set FTP mapping in Window Explore?&lt;/p&gt;&#xA;" OwnerUserId="554" LastEditorUserId="1000" LastEditDate="2017-12-14T23:41:24.330" LastActivityDate="2017-12-15T07:54:06.487" Title="Migrate local Sitecore to Azure Cloud" Tags="|azure|cloud|express-migration-tool|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9032" PostTypeId="1" AcceptedAnswerId="9034" CreationDate="2017-12-14T22:21:22.023" Score="7" ViewCount="3079" Body="&lt;p&gt;Thru a series of unfortunate events (most likely missing a template in a package between servers/instances) I found myself having issues inserting links thru the &lt;code&gt;General Link&lt;/code&gt; field.  Tracked it down to an item in the content tree that had an item with no defined &lt;code&gt;Template&lt;/code&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vBIpP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vBIpP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This makes it hard to edit, change template or even delete the item.  I have tried a few different ways to resolve the issue including using &lt;code&gt;Sitecore Powershell Extensions&lt;/code&gt; which I have had good luck with corrupted items, but unfortunately this time it did not; &lt;code&gt;Null Object Reference&lt;/code&gt; while trying to execute a script that would just set it to a very basic template:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$badItem = Get-Item &quot;master:/sitecore/content/Site/Home/JobTagDetails&quot;&#xA;$baseTemplateItem= Get-Item &quot;/sitecore/templates/System/Item&quot;&#xA;Set-ItemTemplate -Item $badItem -Template $baseTemplateItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which I can only assume is because of the &lt;code&gt;null&lt;/code&gt; value on the item template value even within &lt;code&gt;Sitecore Powershell Extensions&lt;/code&gt;.  Is there any other ways to delete a corrupted Item (particularly one that lacks a defined template)? I considered serializing the tree to server, grabbing the directory, omitting the corrupted and updating the tree from serialized values but that seems like (and maybe will as a last stitch effort) a very aggressive way to resolve the issue.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2017-12-14T22:40:07.067" Title="Deleting an Item with a null Template" Tags="|content-editor|powershell-extensions|templates|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9033" PostTypeId="2" ParentId="9032" CreationDate="2017-12-14T22:21:22.023" Score="4" Body="&lt;p&gt;In a less than elegant route, I was able to resolve the issue.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I packaged up the content tree and installed it locally.  From there I went into the database and found the culprit Item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT *  FROM [master].[dbo].[Items] where ID = '{3D6EF992-4FA8-4F88-8E9D-9B06310A1AC0}'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and grabbed the &lt;code&gt;TemplateID&lt;/code&gt; value that was returned from the query.  I ran a second query similar to the one above but instead with the returned &lt;code&gt;TemplateID&lt;/code&gt; just to verify that the &lt;code&gt;Item&lt;/code&gt; did indeed not exist, which it didn't.  I then grabbed the ID for the &lt;code&gt;/sitecore/templates/System/Item&lt;/code&gt; item (&lt;code&gt;{B174990B-37B1-4A60-9C7D-891B521E1B76}&lt;/code&gt;) and wrote an &lt;code&gt;Update&lt;/code&gt; query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  Update [master].[dbo].[Items] Set TemplateID = '{B174990B-37B1-4A60-9C7D-891B521E1B76}' &#xA;      WHERE ID = '{3D6EF992-4FA8-4F88-8E9D-9B06310A1AC0}'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now that the value in the database is correct, I did an index rebuild on the &lt;code&gt;ndxTemplateID&lt;/code&gt; and then did an &lt;code&gt;IISreset&lt;/code&gt; in order to clear the app, but I assume hitting the &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt; page would have done just the same.  The last thing I did then was, on my local, create a package with just the updated item, installed it on the target server and then promptly deleted the item which was the original intention.  Hope this helps someone.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2017-12-14T22:21:22.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9034" PostTypeId="2" ParentId="9032" CreationDate="2017-12-14T22:40:07.067" Score="22" Body="&lt;p&gt;A safer method would be to use the DbBrowser. You can find this by going to &lt;code&gt;&amp;lt;yoursiteurl&amp;gt;/sitecore/admin/dbbrowser.aspx&lt;/code&gt;. You will get a screen where the content tree loads up on the left and you get a raw view of fields on the right:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vEOVj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vEOVj.png&quot; alt=&quot;dbbrowser.aspx&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This screen does not run any of the validation elements from the main content editor. It just browses the database items. From here you can delete the offending item very easily without having to directly access the database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because this hits the DB directly and does not go through the normal pipelines, rebuilding indexes and clearing cache should be done once the update is complete.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-12-14T22:40:07.067" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9037" PostTypeId="2" ParentId="9031" CreationDate="2017-12-15T07:54:06.487" Score="7" Body="&lt;p&gt;The &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Express Migration Tool&lt;/a&gt; helps you to migrate between different Sitecore versions. As soon as you have migrated to the version you need locally you deploy your solution to Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to use Azure as an Infrastructure (IaaS) you can deploy your solution as you would do with any other Virtual Machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to use Azure Platform as a Service (PaaS) then you would need Sitecore version 8.2 update 1 (or later - v8.2 update 6 recommended) or version 9 and you can deploy your solution using the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit/2x/Sitecore_Azure_Toolkit_200.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Azure Toolkit&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about how to use the Sitecore Azure Toolkit you can find here: &lt;a href=&quot;https://doc.sitecore.net/cloud/82/working_with_sitecore_azure/configuring_and_deploying_sitecore_azure/getting_started_with_sitecore_azure_toolkit&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/cloud/82/working_with_sitecore_azure/configuring_and_deploying_sitecore_azure/getting_started_with_sitecore_azure_toolkit&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-12-15T07:54:06.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9038" PostTypeId="2" ParentId="7968" CreationDate="2017-12-15T08:04:56.573" Score="1" Body="&lt;p&gt;To install EXM to Azure PaaS please use the ARM templates from GitHub:&#xA;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/EXM%203.5.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/EXM%203.5.0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and the web deploy packages:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager/35/Email_Experience_Manager_35_Update1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email_Experience_Manager/35/Email_Experience_Manager_35_Update1.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Packages for EXM0 configuration&lt;/strong&gt; &#xA;Web deploy packages for EXM0/Single instance configuration on Azure AppService. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Packages for EXM1 configuration&lt;/strong&gt; &#xA;Web deploy packages for EXM1 configuration on Azure App Services. The packages contains 5 server roles: Content Management, Content Delivery, Analytics Processing, Email Processing and Reporting. &lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2017-12-15T08:04:56.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9039" PostTypeId="2" ParentId="9008" CreationDate="2017-12-15T08:37:18.517" Score="2" Body="&lt;p&gt;Looking at Glass 4.4 the DI resolver, by default, uses the &lt;code&gt;NetMemoryCacheManager&lt;/code&gt; to handle caching (see &lt;code&gt;Glass.Mapper.Sc.IoC.DependencyResolver&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This in turn uses a &lt;code&gt;System.Runtime.Caching.MemoryCache&lt;/code&gt; object that is initialised with the name &lt;code&gt;Glass.Mapper&lt;/code&gt;.  If you want to view the contents of this cache you will need to interrogate it directly as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var cache = new MemoryCache(&quot;Glass.Mapper&quot;, null);&#xA;var count = cache.GetCount( null );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Entries are added to the cache using a sliding window expiry of 1200 seconds (though it is possible to use an Absolute expiry with additional configuration).  The key for each is generated using a many contextual elements by the &lt;code&gt;Glass.Mapper.Sc.Caching.CacheKeyGenerator::Generate()&lt;/code&gt;.  It's hard to replicate the key (which is deterministic) because elements of context like Item Language and Revision are included in the calculation.  I've included the calculation below for reference if you want to give it a go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Long and the short of it is that it probably is caching, and you're just looking in the wrong spot for your evidence.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Glass.Mapper.Sc.Caching.CacheKeyGenerator::Generate() [Glass.Mapper.Sc, Version 4.4.0.199]&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;object[] name = new object[] { context.SitecoreService.GlassContext.Name, null, null, null, null, null, null, null };&#xA;name[1] = (Context.Site == null ? string.Empty : Context.Site.Name);&#xA;name[2] = context.Item.ID;&#xA;name[3] = context.Item[&quot;__Revision&quot;];&#xA;name[4] = context.Item.Language.Name;&#xA;name[5] = context.Item.Database.Name;&#xA;name[6] = context.RequestedType.FullName;&#xA;name[7] = context.IsLazy;&#xA;return string.Format(&quot;{0}{1}{2}{3}{4}{5}{6}{7}&quot;, name);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="131" LastActivityDate="2017-12-15T08:37:18.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9040" PostTypeId="2" ParentId="9011" CreationDate="2017-12-15T08:50:36.497" Score="2" Body="&lt;p&gt;In the end I did a combination of Anton's suggestion as well as extending the &lt;code&gt;Sitecore.Shell.Applications.WebEdit.Commands.AddRendering&lt;/code&gt; command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It turns out that the &lt;code&gt;getPlaceholderRenderings&lt;/code&gt; pipeline is invoked from the GetPlaceholderChromeData processor (as Anton suggested) &lt;em&gt;and&lt;/em&gt; the &lt;code&gt;Sitecore.Shell.Applications.WebEdit.Commands.AddRendering&lt;/code&gt; command. Without passing in the context item from the latter it would be be null when clicking the 'Add here' button in the experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately the &lt;code&gt;AddRendering&lt;/code&gt; command is difficult to extend because it's methods are all &lt;code&gt;protected/private static&lt;/code&gt;, so I had to de-compile it and paste the code into a new version adding the following line to the &lt;code&gt;RunGetPlaceholderRenderingsPipeline&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;placeholderRenderingsArgs.CustomData[&quot;CurrentItem&quot;] = Client.GetItemNotNull(context[&quot;contextitempath&quot;]);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I just needed to add the new command via a config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;commands&amp;gt;&#xA;  &amp;lt;command name=&quot;webedit:addrendering&quot; type=&quot;Sitecore.Shell.Applications.WebEdit.Commands.AddRendering, Sitecore.ExperienceEditor&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Foundation.RestrictedRenderings.Infrastructure.Commands.AddRendering, Foundation.RestrictedRenderings&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/command&amp;gt;&#xA;&amp;lt;/commands&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2017-12-15T08:50:36.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9041" PostTypeId="1" AcceptedAnswerId="9113" CreationDate="2017-12-15T10:55:14.083" Score="6" ViewCount="2021" Body="&lt;p&gt;I am trying to index media content (such as PDFs) using Azure and to my surprise/frustration, this feature isn't supported: &lt;a href=&quot;https://kb.sitecore.net/articles/830385&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/830385&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a workaround that allows me to index file content on Azure?&lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="2727" LastEditDate="2018-02-21T12:20:00.720" LastActivityDate="2018-02-21T12:20:00.720" Title="How to index PDF content in Sitecore running on Azure Web App?" Tags="|media-library|azure-search|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9043" PostTypeId="1" AcceptedAnswerId="9046" CreationDate="2017-12-15T11:23:55.540" Score="5" ViewCount="3977" Body="&lt;p&gt;I need to get the count of all the media items and folders inside any media folder in media library. Then export the data to csv&#xA;I am planning to write a script using SPE.&#xA;Please help me on the same&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Example&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;  &lt;li&gt; A(Media Folder)&#xA;    &lt;ul&gt;&#xA;      &lt;li&gt;A1 (Media Item)&lt;/li&gt;&#xA;      &lt;li&gt;A2 (Media Item)&lt;/li&gt;&#xA;      &lt;li&gt;A3 (Media folder)&#xA;        &lt;ul&gt;&#xA;          &lt;li&gt;A31 (Media Item)&lt;/li&gt;&#xA;          &lt;li&gt;A32 (Media Item)&lt;/li&gt;          &#xA;        &lt;/ul&gt;&#xA;      &lt;/li&gt;&#xA;    &lt;/ul&gt;&#xA;  &lt;/li&gt;&#xA;  &lt;li&gt; B(Media Folder)&#xA;    &lt;ul&gt;&#xA;      &lt;li&gt;B1 (Media Item)&lt;/li&gt;&#xA;      &lt;li&gt;B2 (Media folder)&#xA;        &lt;ul&gt;&#xA;          &lt;li&gt;B21 (Media Item)&lt;/li&gt;&#xA;          &lt;li&gt;B22 (Media Item)&lt;/li&gt;          &#xA;        &lt;/ul&gt;&#xA;      &lt;/li&gt;&#xA;      &lt;li&gt;B3 (Media folder)&#xA;        &lt;ul&gt;&#xA;          &lt;li&gt;B31 (Media Item)&lt;/li&gt;&#xA;          &lt;li&gt;B32 (Media Item)&lt;/li&gt;          &#xA;        &lt;/ul&gt;&#xA;      &lt;/li&gt;&#xA;    &lt;/ul&gt;&#xA;  &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I need to get final result as&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TG7QW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TG7QW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me on the same&lt;/p&gt;&#xA;" OwnerUserId="950" LastActivityDate="2017-12-15T13:24:38.713" Title="Sitecore powershell - Get the count of media folders and media items for each of the medial folders inside media library" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9044" PostTypeId="1" AcceptedAnswerId="9047" CreationDate="2017-12-15T12:55:07.227" Score="4" ViewCount="3025" Body="&lt;p&gt;How can I find which language the editor is currently working in when running a script from the context menu?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item .&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Returns the item, but in the context language that the script session is in.&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="237" LastEditDate="2017-12-18T10:22:27.350" LastActivityDate="2023-03-28T09:20:33.400" Title="How to get the current language in a Sitecore Powershell editor (context menu) script?" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9045" PostTypeId="2" ParentId="9044" CreationDate="2017-12-15T13:10:57.327" Score="0" Body="&lt;p&gt;You can see by the dropdown &quot;Current Language&quot; under Home - UI Context in Powershell ISE:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JPxLQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JPxLQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also change if you have multiple languages on your instance&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-12-15T13:10:57.327" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9046" PostTypeId="2" ParentId="9043" CreationDate="2017-12-15T13:24:38.713" Score="6" Body="&lt;p&gt;I prepared the powershell script for you. Try it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$mediaLibriary = Get-Item &quot;/sitecore/media library&quot;&#xA;$mediafoldersTemplates = &quot;Media folder&quot;, &quot;Node&quot;&#xA;&#xA;$root = $mediaLibriary.Children&#xA;$table = @()&#xA;&#xA;foreach($rItem in $root){&#xA;    if($mediafoldersTemplates -contains $rItem.TemplateName){&#xA;        $table += ProcessChildren -item $rItem&#xA;    }&#xA;}&#xA;&#xA;$table  | Format-Table -AutoSize&#xA;&#xA;function ProcessChildren($item)&#xA;{&#xA;    $contOfFolders = 0&#xA;    $contOfImages = 0&#xA;&#xA;    $children = $item.Children&#xA;&#xA;    $result = @()&#xA;    $tempTable = @()&#xA;    foreach($chItem in $children){&#xA;        if($mediafoldersTemplates -contains $chItem.TemplateName)&#xA;        {&#xA;            $contOfFolders++&#xA;            $tempTable += ProcessChildren -item $chItem&#xA;        }else{&#xA;            $contOfImages++&#xA;        }&#xA;    }&#xA;&#xA;&#xA;    $objAverage = New-Object System.Object&#xA;    $objAverage | Add-Member -type NoteProperty -Name Name -Value $item.Name&#xA;    $objAverage | Add-Member -type NoteProperty -Name FolderCount -Value $contOfFolders&#xA;    $objAverage | Add-Member -type NoteProperty -Name ItemCount -Value $contOfImages&#xA;&#xA;    $result += $objAverage&#xA;    $result += $tempTable&#xA;&#xA;    return $result&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You can upgrade the &lt;code&gt;mediafoldersTemplates&lt;/code&gt; variable in the script with a template names that you consider are folder's templates.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2017-12-15T13:24:38.713" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9047" PostTypeId="2" ParentId="9044" CreationDate="2017-12-15T14:41:52.983" Score="6" Body="&lt;p&gt;There are several variables found in the &lt;a href=&quot;https://doc.sitecorepowershell.com/interfaces/variables&quot; rel=&quot;nofollow noreferrer&quot;&gt;book&lt;/a&gt; which should make your life easier authoring scripts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following variable will give you the language for the script item.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$SitecoreContextItem.Language.Name # Returns the language name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-05-15T02:47:08.917" LastActivityDate="2018-05-15T02:47:08.917" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="9048" PostTypeId="2" ParentId="9018" CreationDate="2017-12-15T15:12:05.053" Score="4" Body="&lt;p&gt;WeBlog is an open source repository so one solution for having a Sitecore 9 version of the WeBlog module is for you to fork it and update it to Sitecore 9. This will help you and also the community who already use WeBlog!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Otherwise, as Alan mentions, SXA is a great solution for this.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-12-15T15:12:05.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9049" PostTypeId="1" CreationDate="2017-12-15T15:51:05.810" Score="4" ViewCount="133" Body="&lt;p&gt;I am following the &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_SC_SetUpCommerceServerSite.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Commerce Deployment Guide&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No errors until the New-CSWebService command on power shell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DAkjC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DAkjC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The message is quite straight forward: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;New-CSWebService :The specified directory service attribute or value&#xA;  does not exist&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;But how can I solve this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1203" LastEditorUserId="1671" LastEditDate="2018-06-29T13:27:52.087" LastActivityDate="2018-06-29T13:27:52.087" Title="Setup Commerce Server" Tags="|sitecore-commerce|commerce-server|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="9050" PostTypeId="1" AcceptedAnswerId="9052" CreationDate="2017-12-15T17:21:59.430" Score="0" ViewCount="141" Body="&lt;p&gt;Sitecore sales engineers said this scenario is not possible, and it's the one sticking point for a client that wants to use EXM, so I thought I would check with the community.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In an email definition, we would build a component that would check for which user is getting the email, then get back the content that matches criteria they have specified in their user profile that was updated in a certain timeframe, and we would send that email tailored to the user. This, we're told, can be done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in the event the component returns no matching content, we do NOT want the user to get the email. If you were coding this fully by hand, it'd be like using a &lt;code&gt;foreach&lt;/code&gt; loop, hitting an &lt;code&gt;if (!content.Any())&lt;/code&gt; statement, and then saying &lt;code&gt;continue&lt;/code&gt; to move onto the next user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some pipeline call or other trigger that can be used to stop that email from firing? A good example, early in the morning there may have been no content updates, we don't want 10,000 users getting an email that says &quot;here's your 8am update, nothing new!&quot; Besides being worthless from an information standpoint, it's wasteful for any potential email counts towards pricing tiers.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="73" LastEditDate="2017-12-16T10:29:12.247" LastActivityDate="2017-12-16T10:29:12.247" Title="Prevent an email from being sent to a specific user" Tags="|exm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9051" PostTypeId="1" CreationDate="2017-12-15T18:29:47.737" Score="3" ViewCount="3442" Body="&lt;p&gt;My team is planning to install Sitecore 9. We are using Solr 5.5 version at the moment. Can we use this Solr version?  Is this Solr version compatible with sitecore 9 and if we can work with this?&lt;/p&gt;&#xA;" OwnerUserId="1259" LastEditorUserId="73" LastEditDate="2017-12-18T09:34:46.730" LastActivityDate="2018-02-28T16:00:03.623" Title="Solr version compatiblity with Sitecore 9" Tags="|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9052" PostTypeId="2" ParentId="9050" CreationDate="2017-12-15T18:32:31.750" Score="1" Body="&lt;p&gt;I would take a look at the &lt;code&gt;&amp;lt;SendEmail&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;SendEmail&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.FillEmail, Sitecore.EmailCampaign.Cm&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;cipher&quot; ref=&quot;exmAuthenticatedCipher&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.SendEmail, Sitecore.EmailCampaign.Cm&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.CreateTask, Sitecore.EmailCampaign.Cm&quot;&amp;gt;&#xA;        &amp;lt;param ref=&quot;exm/sentMessagesTaskPool&quot;/&amp;gt;&#xA;        &amp;lt;param desc=&quot;logger&quot; ref=&quot;exmLogger&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.Sleep, Sitecore.EmailCampaign.Cm&quot;&amp;gt;&#xA;          &amp;lt;!-- Number of milliseconds to put the thread to sleep for after an email has been sent. --&amp;gt;&#xA;          &amp;lt;param desc=&quot;sleep&quot;&amp;gt;50&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/SendEmail&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Theoretically, you can place a processor AFTER &lt;code&gt;FillEmail&lt;/code&gt; but before &lt;code&gt;SendEmail&lt;/code&gt; to validate the Message Body.  You could configure the component to output a very specific string in the output of the HTML that you can then scan for, and abort the pipeline. (I'm not sure if the abort of the individual pipeline would bubble up to the whole dispatch).&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Disclaimer: Adding steps to this pipeline can dramatically reduce&#xA;  dispatch send times.  Use with caution.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-12-15T18:32:31.750" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9053" PostTypeId="2" ParentId="9051" CreationDate="2017-12-15T18:35:42.103" Score="5" Body="&lt;p&gt;By official documentation, Solr 6.6.1 is compatible with Sitecore 9. This version of Solr 6.6.1 is officially tested and recommended. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/n90Hb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/n90Hb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;You refer to office release notes &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-12-15T18:35:42.103" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9054" PostTypeId="1" AcceptedAnswerId="9055" CreationDate="2017-12-15T22:29:59.580" Score="6" ViewCount="2531" Body="&lt;p&gt;Scenario:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have over 10,000 items in my &lt;code&gt;sitecore/content&lt;/code&gt; tree. Nearly 2,000 of them are thrived from the &lt;code&gt;Article&lt;/code&gt; template. Inside of the &lt;code&gt;Article&lt;/code&gt; items, there are two important fields: &lt;code&gt;Is Featured - Checkbox&lt;/code&gt;, and &lt;code&gt;Featured Expiration Date - Date&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I like to create a scheduled task that finds &lt;strong&gt;only&lt;/strong&gt; the items that thrive from &lt;code&gt;**@@[templateId=&quot;{My template id}&quot;]&lt;/code&gt;, and &lt;code&gt;Fields[&quot;Is Featured&quot;].value == &quot;1&quot;&lt;/code&gt;. After that, I would check for the value of &lt;code&gt;Fields[&quot;Featured Expiration Date&quot;]&lt;/code&gt;. If the value is &lt;code&gt;&amp;lt;= DateTime.Now&lt;/code&gt;; then, I'm going to remove the &lt;code&gt;Is Featured&lt;/code&gt; flag, and update the item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this even possible as a scheduled task?&lt;/p&gt;&#xA;" OwnerUserId="1662" LastActivityDate="2017-12-16T09:11:26.357" Title="Get Items by template id in a scheduled task" Tags="|sitecore-api|scheduled-tasks|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9055" PostTypeId="2" ParentId="9054" CreationDate="2017-12-15T22:49:33.847" Score="7" Body="&lt;p&gt;The scheduled task is going to be a tool used to execute code you've written. There are ways to &lt;a href=&quot;https://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&quot; rel=&quot;noreferrer&quot;&gt;create custom commands&lt;/a&gt; in C# or use the existing on that is included with Sitecore PowerShell Extensions (SPE).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For simplicity, I'll show you how to do that in SPE. Here's a really good &lt;a href=&quot;https://doc.sitecorepowershell.com/tasks.html&quot; rel=&quot;noreferrer&quot;&gt;section&lt;/a&gt; in the book covering the creating of task scripts.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Examples&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6803/sitecore-powershell-query-for-big-images-of-a-certain-size/6811#6811&quot;&gt;question&lt;/a&gt; I showed a few ways to perform queries in SPE. In the following I'll use the Sitecore Query syntax.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following queries all items that have the &lt;em&gt;IsFeatured&lt;/em&gt; field checked true.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-Item -Path &quot;master:&quot; -Query &quot;/sitecore/content//*[@IsFeatured = '1']&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following queries all the items with a &lt;em&gt;NewsDate&lt;/em&gt; greater than 2017-10-01.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-Item -Path &quot;master:&quot; -Query &quot;/sitecore/content//*[@NewsDate &amp;gt; '20171001T000000']&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To combine the queries together you can do &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;[@IsFeatured = '1' and @NewsDate &amp;gt; '20161001T000000']&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a nice screenshot of me running the command inside of the Console bundled with SPE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qqFQT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qqFQT.png&quot; alt=&quot;Console Example&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the PowerShell script is written and saved. You can configured the scheduled task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2eyFY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2eyFY.png&quot; alt=&quot;Wizard&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8Gexg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8Gexg.png&quot; alt=&quot;Task Wizard&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MkX26.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MkX26.png&quot; alt=&quot;Schedule&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/f2NFD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f2NFD.png&quot; alt=&quot;PowerShellScriptCommand&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-12-15T23:00:21.160" LastActivityDate="2017-12-15T23:00:21.160" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9056" PostTypeId="2" ParentId="9054" CreationDate="2017-12-16T09:11:26.357" Score="4" Body="&lt;p&gt;If you don't want to install &lt;code&gt;SPE&lt;/code&gt; module like @Michael West suggested, there is another way to do this. You can implement a custom class for your agent and add it to schedule with a config patch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A config patch to add your class to the schedule can look like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;scheduling&amp;gt;&#xA;      &amp;lt;agent type=&quot;YourNamespace.YourAgentClass, YourAssemblyName&quot; method=&quot;Run&quot; name=&quot;AgentName&quot; interval=&quot;01:00:00&quot;/&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In that config patch, you specify your agent's class name, a method to execute (&lt;code&gt;Run&lt;/code&gt;) and interval.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your custom class can look like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class YourAgentClass&#xA;{&#xA;    public void Run()&#xA;    {&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Inside &lt;code&gt;Run&lt;/code&gt; method you can use search index to find your items:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = index.CreateSearchContext())&#xA;{&#xA;    var results = context.GetQueryable&amp;lt;ArticleSearchResultItem&amp;gt;()&#xA;              .Where(item =&amp;gt; item.TemplateId == ArticleTemplateId&#xA;                             &amp;amp;&amp;amp; item.IsFeatured == true)&#xA;              .ToList();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ArticleSearchResultItem&lt;/code&gt; class can look like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ArticleSearchResultItem&#xA;{&#xA;    [IndexField(&quot;_group&quot;)]&#xA;    [TypeConverter(typeof(IndexFieldIDValueConverter))]&#xA;    public virtual ID ItemID { get; set; }&#xA;&#xA;    [IndexField(&quot;_template&quot;)]&#xA;    [TypeConverter(typeof(IndexFieldIDValueConverter))]&#xA;    public virtual ID TemplateId { get; set; }&#xA;&#xA;    [IndexField(&quot;isfeatured&quot;)]&#xA;    public virtual bool IsFeatured{ get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also extend existing &lt;code&gt;SearchResultItem&lt;/code&gt; class.&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2017-12-16T09:11:26.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9057" PostTypeId="2" ParentId="9041" CreationDate="2017-12-16T13:47:10.520" Score="4" Body="&lt;p&gt;You can create your own computed field that uses a PDF library to parse the file contents and store it in the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed this example: &lt;a href=&quot;https://jeffdarchuk.com/2017/02/12/search-pdf-content-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffdarchuk.com/2017/02/12/search-pdf-content-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class IndexPdfContent : IComputedIndexField&#xA;{&#xA;    public object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        try&#xA;        {&#xA;            var sitecoreIndexable = indexable as SitecoreIndexableItem;&#xA;&#xA;            if (sitecoreIndexable == null) return null;&#xA;&#xA;            var pdfContent = new SitecorePdfParser(new MediaItem(sitecoreIndexable)).ExtractText().ToList();&#xA;&#xA;            if (pdfContent.Count == 0) return null;&#xA;&#xA;            return string.Join(&quot; &quot;, pdfContent);&#xA;        }&#xA;        catch (Exception e)&#xA;        {&#xA;            Log.Error(&quot;Unable to assemble PDF content for the search index &quot;, e, this);&#xA;            return null;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The main drawback is that this only includes PDF files. Sitecore on Lucene supports many different file types such as word documents etc, so that is something to consider. &lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2017-12-16T13:47:10.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9058" PostTypeId="1" CreationDate="2017-12-16T14:53:14.313" Score="7" ViewCount="4823" Body="&lt;p&gt;EXM is throwing error when I go to the dashboard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see the following error in the Sitecore log file.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception System.ArgumentException: A route named 'CountriesV1' is&#xA;  already in the route collection. Route names must be unique. Parameter&#xA;  name: name    at System.Web.Routing.RouteCollection.Add(String name,&#xA;  RouteBase item)    at&#xA;  System.Web.Http.Routing.AttributeRoutingMapper.AddGenerationHooksForSubRoutes(HttpRouteCollection&#xA;  routeTable, IEnumerable&lt;code&gt;1 entries)    at&#xA;  System.Web.Http.Routing.AttributeRoutingMapper.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;MapAttributeRoutes&amp;gt;b__0(HttpConfiguration&#xA;  config)    at&#xA;  System.Web.Http.HttpConfiguration.ApplyControllerSettings(HttpControllerSettings&#xA;  settings, HttpConfiguration configuration)    at&#xA;  System.Web.Http.Controllers.HttpControllerDescriptor.InvokeAttributesOnControllerType(HttpControllerDescriptor&#xA;  controllerDescriptor, Type type)    at&#xA;  System.Web.Http.Controllers.HttpControllerDescriptor..ctor(HttpConfiguration&#xA;  configuration, String controllerName, Type controllerType)    at&#xA;  Sitecore.Services.Infrastructure.Web.Http.Dispatcher.NamespaceHttpControllerSelector.InitializeControllerInfoCache()&#xA;  at System.Lazy&lt;/code&gt;1.CreateValue()    at System.Lazy`1.LazyInitValue()&lt;br&gt;&#xA;  at&#xA;  Sitecore.Services.Infrastructure.Web.Http.Dispatcher.NamespaceHttpControllerSelector.FindMatchingController(String&#xA;  namespaceName, String controllerName)    at&#xA;  Sitecore.Services.Infrastructure.Web.Http.Dispatcher.NamespaceHttpControllerSelector.SelectController(HttpRequestMessage&#xA;  request)    at&#xA;  System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()&#xA;  2404 09:42:18 ERROR [Sitecore Services]: HTTP POST URL&#xA;  &lt;a href=&quot;http://website.local.com/sitecore/api/ssc/EXM/CreateMessageOptions&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://website.local.com/sitecore/api/ssc/EXM/CreateMessageOptions&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sitecore version used:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.NET 8.2 (rev. 170614) June 14, 2017&lt;/li&gt;&#xA;&lt;li&gt;Web Forms for Marketers 8.2.rev. 170518&lt;/li&gt;&#xA;&lt;li&gt;Email Experience Manager 4.0.2 rev. 170713&lt;/li&gt;&#xA;&lt;li&gt;.NET Framework 4.0.30319.42000&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I found a similar questions here but the issue was closed &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3950/how-to-ignore-routes-from-specific-dlls-in-sitecore-8-2&quot;&gt;How to ignore routes from specific dlls in Sitecore 8.2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone has any answer to this issue, I will really appreciate your help. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2113" LastEditorUserId="2056" LastEditDate="2018-06-05T16:09:36.973" LastActivityDate="2018-06-05T16:09:36.973" Title="A route named x is already in the route collection. Route names must be unique" Tags="|exm|routing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9059" PostTypeId="1" AcceptedAnswerId="9073" CreationDate="2017-12-16T18:22:03.170" Score="4" ViewCount="1133" Body="&lt;p&gt;I am new to Sitecore 8 and I need to create a page that collects data input from a user, the page has different radio groups such as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Wtgwl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Wtgwl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, Select  the toppings which are five choices.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a ASP.NET MVC aplication, I would get the pizza size and the toppings from database and populate a PizzaViewModel&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Class PizzaViewModel &#xA;{&#xA;    public List&amp;lt;Sizes&amp;gt; Sizes { get ; set;}    &#xA;    public List&amp;lt;Toppings&amp;gt; Toppings { get ; set;}    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I would have two action in my Pizza Controller &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;One that returns the view which renders the radio buttons and has the PizzaViewModel as a model. &lt;/li&gt;&#xA;&lt;li&gt;The Other action is &lt;code&gt;PostPizzaSelection&lt;/code&gt; which expects &lt;code&gt;PizzaSelectionModel&lt;/code&gt; which represents the user selections (for size and toppings)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is completely clear for me in ASP.NET MVC, but how to do that in Sitecore?&#xA;How would I create the data for sizes and toppings in Sitecore and then populate the &lt;code&gt;PizzaViewModel&lt;/code&gt; from Sitecore? &#xA;Is there any form control for radio group buttons?&lt;/p&gt;&#xA;" OwnerUserId="2986" LastEditorUserId="2727" LastEditDate="2018-03-03T20:00:59.330" LastActivityDate="2018-03-03T20:00:59.330" Title="Sitecore MVC Custom forms with radio group buttons" Tags="|mvc|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9060" PostTypeId="1" AcceptedAnswerId="9072" CreationDate="2017-12-16T23:05:40.037" Score="0" ViewCount="771" Body="&lt;p&gt;I am doing a very simple test with uploading a JPEG file by setting maxsizeindatabase in sitecore.config to 1 MB and trying to upload a ~4MB file giving me a syntax error as below-&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;Media.MaxSizeInDatabase&amp;quot; value=&amp;quot;1MB&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LjQ10.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LjQ10.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is a fresh Sitecore 8.2 Update 5 instance installed on my machine and tried uploading a image, browsing a image field --&amp;gt; image dialog box. Images below 1mb(below maxsizeindatabase) uploads successfully without any errors.&lt;/p&gt;&#xA;&lt;p&gt;The same image when I try from media library give me a proper message-&#xA;&lt;a href=&quot;https://i.stack.imgur.com/t2l2U.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t2l2U.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If anybody knows the resolution on this issue and can share here will be very grateful. thanks&lt;/p&gt;&#xA;" OwnerUserId="2744" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-12-17T23:38:32.897" Title="Sitecore 8.2 update 5 media upload above allowed maxsizeindatabase error" Tags="|sitecore-client|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9062" PostTypeId="1" CreationDate="2017-12-17T07:01:17.623" Score="4" ViewCount="112" Body="&lt;p&gt;I have a requirement where in the header and footer of the application can be reused in a third party application to give consistency to multiple application.&#xA;In Sitecore usually we create header and footer as components and add them to placeholder or statically bind them to the layout. In both the cases header and footer will not be any physical entity in isolation which can be reused in any other application (for e.g. within iframe or old style include).&#xA;Is it possible to create html pages for header and footer in this scenario retrieving from sitecore repository?&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="1470" LastEditDate="2017-12-17T11:02:44.010" LastActivityDate="2017-12-17T11:02:44.010" Title="Reusable HTML components in third party applications" Tags="|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9063" PostTypeId="2" ParentId="9062" CreationDate="2017-12-17T07:22:43.367" Score="2" Body="&lt;p&gt;Yes, it is possible. You can solve this problem to create Web API which gives back the HTML of your footer and header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Consider the following things:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You need to pay attention for that you don't have Sitecore context in&#xA;these calls&lt;/li&gt;&#xA;&lt;li&gt;If these applications are on the same servers or in the same internal network you can be more safe to don't make this API public&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can even try Federated Experience Manager: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/the_federated_experience_manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/federated_experience_manager/the_federated_experience_manager&lt;/a&gt;. Which is giving you much more functionality, like personalization and tracking. (I got this hint from @MarkCassidy around a year ago :))&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2017-12-17T07:29:14.580" LastActivityDate="2017-12-17T07:29:14.580" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9064" PostTypeId="1" AcceptedAnswerId="9085" CreationDate="2017-12-17T12:18:12.580" Score="4" ViewCount="445" Body="&lt;p&gt;I installed a vanilla Sitecore 8.2.5 instance and revoked read access on Home page to extranet/anonymous user.&#xA;I logged out from the shell site and hit the home page and I am still able to access it !&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that the normal behaviour or a bug in Sitecore ? If it's the normal behaviour then how can I secure a page from being accessed by anonymous users ?&lt;/p&gt;&#xA;" OwnerUserId="2689" LastEditorUserId="2727" LastEditDate="2018-03-14T10:48:56.130" LastActivityDate="2018-03-14T10:48:56.130" Title="Revoke read access to the home page doesn't work" Tags="|security|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9068" PostTypeId="2" ParentId="9059" CreationDate="2017-12-17T13:48:53.277" Score="1" Body="&lt;p&gt;You can store the static data (sizes and toppings) as follows: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create data templates for Pizza Size and Pizza topping&lt;/li&gt;&#xA;&lt;li&gt;Create a data source folder&lt;/li&gt;&#xA;&lt;li&gt;Inside the data source folder, create a folder for size items (small, medium and large)&#xA;and another one for topping items&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To view this data&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create an MVC controller Rendering and assign it to your page&lt;/li&gt;&#xA;&lt;li&gt;Populate the rendering data source field with the data source folder created above&lt;/li&gt;&#xA;&lt;li&gt;Create a controller method and associate it with the rendering&lt;/li&gt;&#xA;&lt;li&gt;In the code of this method, read the data source, its children and grand&#xA;children to populate the radio buttons accordingly.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To post selected data&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create another controller rendering and associate it with another controller method (POST method)&lt;/li&gt;&#xA;&lt;li&gt;In the code of this method, read the posted data and manipulate it as you need&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2689" LastActivityDate="2017-12-17T13:48:53.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9070" PostTypeId="2" ParentId="9064" CreationDate="2017-12-17T13:53:49.663" Score="1" Body="&lt;p&gt;As @Artsem mentioned, please check if your home node is published or not, but in general here are the steps to secure home node for extranet/anonymous users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Go to security editor and revoke read access for home node for extranet/anonymous user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Go to access viewer and make sure that the permissions are added properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) As @Artsem mentioned, please publish home node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Your home page is secured now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please follow the steps, and let me know if this helps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="1316" LastActivityDate="2017-12-17T13:53:49.663" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9072" PostTypeId="2" ParentId="9060" CreationDate="2017-12-17T16:42:25.420" Score="3" Body="&lt;p&gt;&lt;strong&gt;This is a bug in Sitecore, you should raise it with Sitecore Support and request a fix.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is the response that is being returned by the &lt;code&gt;CheckSize&lt;/code&gt; processor is incorrect and not what the expected response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can workaround it yourself by replacing the &lt;code&gt;CheckSize&lt;/code&gt; processor in &lt;code&gt;uiUpload&lt;/code&gt; pipeline and then only setting the &lt;code&gt;UiResponseHandler&lt;/code&gt; if the calling code was not from the dialog used by the Experience Editor:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace MyProject.MediaUpload.Pipelines.Upload&#xA;{&#xA;  public class CheckSize : UploadProcessor&#xA;  {&#xA;    public void Process(UploadArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull(args, nameof(args));&#xA;      if (args.Destination == UploadDestination.File)&#xA;        return;&#xA;      foreach (string file1 in args.Files)&#xA;      {&#xA;        HttpPostedFile file2 = args.Files[file1];&#xA;        if (!string.IsNullOrEmpty(file2.FileName))&#xA;        {&#xA;          if (UploadProcessor.IsUnpack(args, file2))&#xA;          {&#xA;            // copy/paste from default Sitecore processor. Unpack option not available from Experience Editor.&#xA;            ...&#xA;          }&#xA;          else if ((long)file2.ContentLength &amp;gt; Settings.Media.MaxSizeInDatabase)&#xA;          {&#xA;            string fileName = file2.FileName;&#xA;            // **FIX**: Add a check and do not send the UiResponseHandler if the caller is from the Experience Editor uploader&#xA;            if (HttpContext.Current.Request.Url.AbsolutePath != &quot;/sitecore/shell/api/sitecore/Media/Upload&quot;)&#xA;            {&#xA;              args.UiResponseHandler.FileTooBig(StringUtil.EscapeJavascriptString(fileName));&#xA;            }&#xA;            args.ErrorText = string.Format(&quot;The file \&quot;{0}\&quot; is too big to be uploaded. The maximum size for uploading files is {1}.&quot;, (object)fileName, (object)MainUtil.FormatSize(Settings.Media.MaxSizeInDatabase));&#xA;            args.AbortPipeline();&#xA;            break;&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then patch this in replacing the existing processor:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;processors&amp;gt;&#xA;      &amp;lt;uiUpload&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot; type=&quot;MyProject.MediaUpload.Pipelines.Upload.CheckSize, MyProject.MediaUpload&quot;&#xA;                   patch:instead=&quot;processor[@type='Sitecore.Pipelines.Upload.CheckSize, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/uiUpload&amp;gt;&#xA;    &amp;lt;/processors&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code is an exact copy of the default &lt;code&gt;CheckSize&lt;/code&gt; processor expect for the line marked with FIX that checks how the upload was called, which is different in the Experience Editor and Content Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; for brevity the code that checks the content of zip files that need to be unpacked has not been included, you need to make the same change to that part of the code (use &lt;a href=&quot;https://www.jetbrains.com/decompiler/&quot; rel=&quot;nofollow noreferrer&quot;&gt;dotPeek&lt;/a&gt; or similar to check the decompiled code)&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-12-17T23:38:32.897" LastActivityDate="2017-12-17T23:38:32.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9073" PostTypeId="2" ParentId="9059" CreationDate="2017-12-17T18:43:53.850" Score="2" Body="&lt;p&gt;You will need to have the following data templates:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Pizza Size Container&lt;br&gt;&#xA;This template will have no fields. It will only have insert options to add &#xA;pizza sizes&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Pizza Size&lt;br&gt;&#xA;This template will contain one field section 'Size Details' and one&#xA;field of type &lt;code&gt;Single line text&lt;/code&gt; called Size&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In your content tree, you will have to create the Pizza Size Container, and inside it, all the different sizes that you will need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next step is to create a Controller Rendering.&#xA;In the controller rendering, you will need to get to the Pizza Size Container found in your content tree using either the path of the item or item id of Pizza Size Container.&#xA;Suppose the path is &lt;code&gt;sitecore\Content\xxx\Shared\Pizza Sizes&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get the different pizza sizes using the code below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var pizzaContainer = Sitecore.Context.Database.GetItem(&quot;sitecore/Content/xxx/Shared/Pizza Sizes&quot;);&#xA;        var listOfSize = new List&amp;lt;PizzaSize&amp;gt;();&#xA;        if (pizzaContainer != null)&#xA;        {&#xA;            var pizzaSizes = pizzaContainer.Children.ToList();&#xA;            if (pizzaSizes.Any())&#xA;            {&#xA;                foreach (var pizzaSize in pizzaSizes)&#xA;                {&#xA;                    listOfSize.Add(new PizzaSize&#xA;                                       {&#xA;                                           SizeId = pizzaSize.ID.ToString(),&#xA;                                           SizeName = pizzaSize.Fields[&quot;Size&quot;].Value&#xA;                                       });&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to have a partial view with model &lt;code&gt;List&amp;lt;PizzaSize&amp;gt;&lt;/code&gt;.&#xA;This is a snippet of the view.&#xA;Notice the &lt;code&gt;Html.BeginForm&lt;/code&gt; where the first parameter is the method name and the second one is the controller name.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model List&amp;lt;PizzaSize&amp;gt;&#xA;@using (Html.BeginForm(&quot;PostPizzaSize&quot;, &quot;Pizza&quot;, FormMethod.Post, &#xA;new { @role = &quot;form&quot; }))&#xA;{&#xA;  if (Model != null &amp;amp;&amp;amp; Model.Any())&#xA;  {&#xA;    &amp;lt;p&amp;gt;Select a Pizza Size&amp;lt;/p&amp;gt; &amp;lt;!--Use a resource field to store this text in Sitecore--&amp;gt;&#xA;    foreach (var entry in Model)&#xA;    {&#xA;        @Html.RadioButton(&quot;pizzaSize&quot;, entry.SizeID) @entry.SizeName&#xA;    }&#xA; &amp;lt;button type=&quot;submit&quot;&amp;gt;Submit&amp;lt;/button&amp;gt;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When submitting the form, the method &lt;code&gt;PostPizzaSize&lt;/code&gt; will be called and the form collection will be passed as parameter. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  [System.Web.Http.HttpPost]&#xA;    public ActionResult PostPizzaSize(FormCollection form)&#xA;   {&#xA;     var size= form[&quot;pizzaSize&quot;]; //the value will be the item id of the size&#xA;   }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="1674" LastEditDate="2018-01-06T07:22:53.203" LastActivityDate="2018-01-06T07:22:53.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9074" PostTypeId="2" ParentId="9009" CreationDate="2017-12-17T19:08:16.310" Score="4" Body="&lt;p&gt;The &lt;code&gt;Upload file&lt;/code&gt; and &lt;code&gt;Upload files (advanced)&lt;/code&gt; use different methods for communication between the frontend and backend for the alerts that are shown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The advanced upload will display whatever you set in &lt;code&gt;args.ErrorText&lt;/code&gt; but Upload files through a slightly roundabout way calls &lt;code&gt;ShowFileTooBig(string filename)&lt;/code&gt; in &lt;code&gt;Sitecore.Shell.Applications.Media.UploadMedia.UploadMediaForm&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Provide a new implmentation of the &lt;code&gt;ShowFileTooBig&lt;/code&gt; method and add in the same validation as you do in your pipeline and show the correct message:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class UploadMediaForm : Sitecore.Shell.Applications.Media.UploadMedia.UploadMediaForm&#xA;{&#xA;  private string ErrorMessage  = &quot;The image \&quot;{0}\&quot; is too big to be uploaded. The maximum size for uploading images is {1}.&quot;;&#xA;&#xA;  protected new void ShowFileTooBig(string filename)&#xA;  {&#xA;    string extension = Path.GetExtension(filename);&#xA;    if (!extension.Equals(&quot;.jpg&quot;))&#xA;    {&#xA;      base.ShowFileTooBig(filename);&#xA;      return;&#xA;    }&#xA;&#xA;    SheerResponse.Alert(Translate.Text(ErrorMessage, filename, MainUtil.FormatSize(ImageSettings.MaxImageSizeInDatabase)));&#xA;    this.OK.Disabled = true;&#xA;    this.Cancel.Disabled = true;&#xA;    this.OK.Disabled = false;&#xA;    this.Cancel.Disabled = false;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create a copy of &lt;em&gt;/sitecore/shell/Applications/Media/Upload Media/UploadMedia.xml&lt;/em&gt; and place it in &lt;em&gt;/sitecore/shell/Override&lt;/em&gt;. Edit the file and update the type specified in the &lt;code&gt;CodeBeside&lt;/code&gt; tag to your own implementation. We need to provide a new implementation of the &lt;code&gt;ShowFileTooBig&lt;/code&gt; method. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've made an assumption that you have a custom &lt;code&gt;uiUpload&lt;/code&gt; pipeline processor that checks the file being uploaded and returns the error. You can find a &lt;a href=&quot;https://gist.github.com/jammykam/9dba9bfd321df6b49e0091bda2343163&quot; rel=&quot;nofollow noreferrer&quot;&gt;Github Gist&lt;/a&gt; with a fuller code example but the above should answer your specific question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that your question only deals with the &lt;a href=&quot;https://sitecore.stackexchange.com/a/8894/135&quot;&gt;simple HTML version of the uploader&lt;/a&gt;. You also need to deal with the Flash enabled uploader. This requires further updates similar to &lt;a href=&quot;https://stackoverflow.com/a/27956033/661447&quot;&gt;this StackOverflow answer I previosuly provided&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-12-17T19:08:16.310" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9075" PostTypeId="1" AcceptedAnswerId="9076" CreationDate="2017-12-17T21:49:07.613" Score="3" ViewCount="5762" Body="&lt;p&gt;When trying to deploy a basic Sitecore 9 XM (Single) Instance via the Azure Portal, I am getting a deployment failure.  After looking at the logs, it seems it is related to the West US region I'm trying to deploy to.  I've got several other resources deployed to this region without any issues.  Anyone else experiences something like this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Context: Deploying Sitecore 9 XM Single to West US region with the Application Insights deployed to West US 2 via the Azure Portal.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;OPERATION&lt;/strong&gt; IDFD0F8E816C89A7C6&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;TRACKING&lt;/strong&gt; ID845174e0-aa6f-4fd1-be1c-cd72701bf2dd&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;STATUS&lt;/strong&gt; BadRequest&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;PROVISIONING&lt;/strong&gt; STATEFailed&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;TIMESTAMP&lt;/strong&gt; 12/17/2017, 1:15:26 PM&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;DURATION&lt;/strong&gt; 0.658175 seconds&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;TYPE&lt;/strong&gt; Microsoft.Sql/servers&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;RESOURCE ID&lt;/strong&gt; /subscriptions/fe7149b7-41b2-48c4-8248-8836d1fca6cf/resourceGroups/SitecorePaaS/providers/Microsoft.Sql/servers/sitecorepaas-577780-sql&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;STATUSMESSAGE&lt;/strong&gt;  {   &quot;code&quot;: &quot;45122&quot;,   &quot;message&quot;: &quot;'MSDN subscriptions are restricted from provisioning in this region. Please&#xA;  choose a different region. For exceptions to this rule please contact&#xA;  Microsoft Support.'&quot;,   &quot;target&quot;: null,   &quot;details&quot;: [&#xA;      {&#xA;        &quot;code&quot;: &quot;45122&quot;,&#xA;        &quot;message&quot;: &quot;'MSDN subscriptions are restricted from provisioning in this region. Please choose a different region. For exceptions to&#xA;  this rule please contact Microsoft Support.'&quot;,&#xA;        &quot;target&quot;: null,&#xA;        &quot;severity&quot;: &quot;16&quot;&#xA;      }   ],   &quot;innererror&quot;: [] }&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;RESOURCE&lt;/strong&gt; sitecorepaas-577780-sql&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Reviewing the &lt;a href=&quot;https://kb.sitecore.net/articles/617478&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure data center compatibility table&lt;/a&gt;, the West US region is supported.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;Even after trying a different region (East US), the deployment failed for me. Turns out this is a &lt;a href=&quot;https://kb.sitecore.net/articles/915122&quot; rel=&quot;nofollow noreferrer&quot;&gt;known issue&lt;/a&gt; and occurs when using Visual Studio/MSDN Azure subscriptions. &lt;/p&gt;&#xA;" OwnerUserId="575" LastEditorUserId="73" LastEditDate="2017-12-18T12:52:05.503" LastActivityDate="2017-12-18T12:52:05.503" Title="When attempting to deploy, I get &quot;Restricted from provisioning in this region&quot;" Tags="|azure|deployment|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9076" PostTypeId="2" ParentId="9075" CreationDate="2017-12-17T22:55:49.663" Score="5" Body="&lt;p&gt;It's not Sitecore. MSDN Subscriptions (for whatever reason) places restrictions based on the type of account you are using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using a &lt;strong&gt;Visual Studio Enterprise Subscription&lt;/strong&gt; you are limited to the following locations:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;East US &lt;/li&gt;&#xA;&lt;li&gt;South Central US &lt;/li&gt;&#xA;&lt;li&gt;West Europe &lt;/li&gt;&#xA;&lt;li&gt;Southeast Asia &lt;/li&gt;&#xA;&lt;li&gt;West US 2 &lt;/li&gt;&#xA;&lt;li&gt;West Central US&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you are using a &lt;strong&gt;Microsoft Azure Enterprise Subscription&lt;/strong&gt; you are limited to the much longer list:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;East US&lt;/li&gt;&#xA;&lt;li&gt;West US&lt;/li&gt;&#xA;&lt;li&gt;South Central US&lt;/li&gt;&#xA;&lt;li&gt;Central US&lt;/li&gt;&#xA;&lt;li&gt;North Central US&lt;/li&gt;&#xA;&lt;li&gt;East US 2&lt;/li&gt;&#xA;&lt;li&gt;North Europe&lt;/li&gt;&#xA;&lt;li&gt;West Europe&lt;/li&gt;&#xA;&lt;li&gt;Southeast Asia&lt;/li&gt;&#xA;&lt;li&gt;East Asia&lt;/li&gt;&#xA;&lt;li&gt;Japan West&lt;/li&gt;&#xA;&lt;li&gt;Japan East&lt;/li&gt;&#xA;&lt;li&gt;Brazil South&lt;/li&gt;&#xA;&lt;li&gt;Australia Southeast&lt;/li&gt;&#xA;&lt;li&gt;West US 2&lt;/li&gt;&#xA;&lt;li&gt;West Central US&lt;/li&gt;&#xA;&lt;li&gt;Australia East&lt;/li&gt;&#xA;&lt;li&gt;Central India&lt;/li&gt;&#xA;&lt;li&gt;South India&lt;/li&gt;&#xA;&lt;li&gt;West India&lt;/li&gt;&#xA;&lt;li&gt;Canada Central&lt;/li&gt;&#xA;&lt;li&gt;Canada East&lt;/li&gt;&#xA;&lt;li&gt;UK West&lt;/li&gt;&#xA;&lt;li&gt;UK South&lt;/li&gt;&#xA;&lt;li&gt;Korea Central&lt;/li&gt;&#xA;&lt;li&gt;Korea South&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;How Can You Tell What Regions you have&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;While logged into your Azure account in Windows Azure Powershell, you can run the following command:  &lt;code&gt;(Get-AzureLocation).Name&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2017-12-17T22:55:49.663" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9077" PostTypeId="1" CreationDate="2017-12-18T04:53:01.233" Score="1" ViewCount="566" Body="&lt;p&gt;I am using Sitecore 8.2 Update 2 and EXM 3.4 Update 1. I have created Regular email campaign. After creating this campaign page, it displays blank page without any information. When I looked at console for any error, it is showing below exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;sitecore-1.0.2.js:855 Uncaught TypeError: Cannot read property&#xA;  'initialize' of undefined&#xA;      at child.addBehavior (sitecore-1.0.2.js:855)&#xA;      at sitecore-1.0.2.js:605&#xA;      at Array.forEach ()&#xA;      at Function.&lt;em&gt;.each.&lt;/em&gt;.forEach (underscore.1.4.4.js:78)&#xA;      at child.views.View (sitecore-1.0.2.js:604)&#xA;      at child [as constructor] (sitecore-1.0.2.js:209)&#xA;      at child [as constructor] (sitecore-1.0.2.js:209)&#xA;      at new child (sitecore-1.0.2.js:209)&#xA;      at exposedComponent (sitecore-1.0.2.js:2570)&#xA;      at HTMLDivElement. (sitecore-1.0.2.js:2683)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rm9Lz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rm9Lz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="73" LastEditDate="2018-11-29T08:34:15.070" LastActivityDate="2019-04-28T09:02:00.340" Title="Cannot read property 'initialize' of undefined" Tags="|exm|" AnswerCount="1" CommentCount="4" ClosedDate="2019-04-28T10:23:30.767" ContentLicense="CC BY-SA 4.0" />
  <row Id="9078" PostTypeId="1" CreationDate="2017-12-18T09:04:09.330" Score="2" ViewCount="77" Body="&lt;p&gt;I installed a vanilla Sitecore instance and revoked read access to the home page and published it. When I accessed the page I got &quot;document not found&quot; instead of access denied.&lt;/p&gt;&#xA;" OwnerUserId="2689" LastEditorUserId="2727" LastEditDate="2018-03-14T10:48:40.770" LastActivityDate="2018-03-14T10:48:40.770" Title="Revoke read access to Sitecore page returns &quot;Document not found&quot;" Tags="|security|" AnswerCount="1" CommentCount="3" ClosedDate="2018-03-14T14:09:01.700" ContentLicense="CC BY-SA 3.0" />
  <row Id="9079" PostTypeId="2" ParentId="8962" CreationDate="2017-12-18T10:04:03.357" Score="0" Body="&lt;p&gt;Below is the answer received from Devops Guy(karthick)&#xA;The best practice would be like&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Below are the steps&lt;/li&gt;&#xA;&lt;li&gt;You can have your feature (web) projects and TDS solutions in Git&lt;/li&gt;&#xA;&lt;li&gt;Use VSTS/TFS or any tool you prefer, to build and get the nuget packages ( web projects &amp;amp; . update for TDS) using nuspec's&lt;/li&gt;&#xA;&lt;li&gt;For web apps, have deployment slot methodology. &lt;/li&gt;&#xA;&lt;li&gt;Use Octopus for deployment, once the package ks pushed to Octopus Feed from your build tool&lt;/li&gt;&#xA;&lt;li&gt;Everytime delete and recreate the deployment slot ( avoid junk files retained) &lt;/li&gt;&#xA;&lt;li&gt;Prefer Sitecore clean deployment ( have a Sitecore base package and deploy your solution files on top of that) &lt;/li&gt;&#xA;&lt;li&gt;Deploy the changes to the deployment slot&lt;/li&gt;&#xA;&lt;li&gt;Validate the functionality with the deployment slot URL&lt;/li&gt;&#xA;&lt;li&gt;Swap the deployment slot with the production slot (main web app slot)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2957" LastActivityDate="2017-12-18T10:04:03.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9080" PostTypeId="2" ParentId="5390" CreationDate="2017-12-18T11:08:05.477" Score="0" Body="&lt;p&gt;I would recommend implementing optimisation inside the script. So for each image, you get media stream and optimise it in memory and then reattach to the same item.&#xA;For this, you can use Dianoga (lossless optimisation) or any other tool like &lt;code&gt;ImageMagick&lt;/code&gt;, &lt;code&gt;jpegtran&lt;/code&gt;, &lt;code&gt;jpegoptim&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example for Dianoga additional code can looks like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var image in images)&#xA;{&#xA;    var mediaItem = (MediaItem)image;&#xA;    var media = MediaManager.GetMedia(mediaItem);&#xA;    var stream = media.GetStream();&#xA;&#xA;    // OPTIMISE&#xA;    var dianogaOptimizer = new Dianoga.MediaOptimizer();&#xA;    var optimizedOutputStream = dianogaOptimizer.Process(stream, new MediaOptions { });&#xA;    if (optimizedOutputStream?.Stream != null)&#xA;    {&#xA;        // REATTACH&#xA;        media.SetStream(optimizedOutputStream.Stream, media.Extension);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the future, you can consider optimising images during upload to Sitecore as I described it here: &lt;a href=&quot;http://bartlomiejmucha.com/en/blog/how-to-resize-and-compress-images-with-dianoga-during-upload-to-sitecore-media-library/&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to resize and compress images with Dianoga during upload to sitecore media library&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2017-12-18T11:08:05.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9081" PostTypeId="1" AcceptedAnswerId="9082" CreationDate="2017-12-18T13:31:47.080" Score="4" ViewCount="5095" Body="&lt;p&gt;When bringing back items from Solr via the ContentSearch API it's not possible to maintain the content tree sort order as this isn't returned as a field by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I order by results by the sortorder field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further Details:&lt;/strong&gt; Sitecore 8.1 update 2&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-12-18T14:28:50.530" Title="Sorting Solr items query by Sortorder field" Tags="|content-search|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9082" PostTypeId="2" ParentId="9081" CreationDate="2017-12-18T13:31:47.080" Score="6" Body="&lt;p&gt;As the sort order field isn't returned by default the best way to handle this is to add a add a new computed field to the index. This will then be available to query by in Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Computed Index Field&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create this class within your Sitecore project:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class SortOrderField : IComputedIndexField&#xA;    {&#xA;        public object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;            int DefaultSortOrderValue = 0;&#xA;&#xA;            var item = (Item)(indexable as SitecoreIndexableItem);&#xA;            if (item == null) return null;&#xA;&#xA;            if (string.IsNullOrEmpty(item[Sitecore.FieldIDs.Sortorder]))&#xA;            {&#xA;                return DefaultSortOrderValue;&#xA;            }&#xA;&#xA;            int sortOrder;&#xA;            return int.TryParse(item[Sitecore.FieldIDs.Sortorder], out sortOrder)&#xA;                ? sortOrder&#xA;                : DefaultSortOrderValue;&#xA;        }&#xA;&#xA;        public string FieldName { get; set; }&#xA;&#xA;        public string ReturnType { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Config for Computed Field&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add this config patch file (or merge it into an existing search patch file):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                    &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                        &amp;lt;field fieldName=&quot;sortorder&quot; returnType=&quot;int&quot;&amp;gt;MyCustom.Search.Indexing.SortOrderField, MyCustom.Search&amp;lt;/field&amp;gt;&#xA;                    &amp;lt;/fields&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. Search Result Item Model&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the sort order into either your base Search Result Item model so it's available for all search result types or a specific model like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ContentSearchItem : SearchResultItem&#xA;    {&#xA;        [IndexField(&quot;_displayname&quot;)]&#xA;        public string DisplayName { get; set; }&#xA;&#xA;        [IndexField(&quot;__smallupdateddate&quot;)]&#xA;        public DateTime LastUpdated { get; set; }&#xA;&#xA;        [IndexField(&quot;sortorder&quot;)]&#xA;        public int SortOrder { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;4. Update you search query&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should now be able to update your search query to include the ordering by sortorder like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.CreateSearchContext((SitecoreIndexableItem) indexItem))&#xA;    {&#xA;        var searchResultItems = context.GetQueryable&amp;lt;ContentSearchItem&amp;gt;()&#xA;            .OrderBy(x =&amp;gt; x.SortOrder)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;5. Rebuild your indexes&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to re-build your web index (and master if you want to see the changes on CA) in order for the new sortorder field to show up in the index.&#xA;You may also need to re-order content in Content Editor so that the sortorder field value is set (or perhaps use Sitecore Powershell to do this for you).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is more info here and additional steps you may need to carry out depending on your situation (thanks to Marta Imos-Merska for her post):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://sitecore.unic.com/2016/07/07/contentsearch-instead-of-sitecore-queries-with-content-tree-order&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore.unic.com/2016/07/07/contentsearch-instead-of-sitecore-queries-with-content-tree-order&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-12-18T13:31:47.080" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9083" PostTypeId="2" ParentId="9081" CreationDate="2017-12-18T14:28:50.530" Score="10" Body="&lt;p&gt;I did this before on Lucene by removing the &lt;code&gt;__sortorder&lt;/code&gt; field from the excluded fields list. And rebuild the index. I would assume this to work in Solr as well. Your config patch would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;&#xA;              &amp;lt;__SortOrder&amp;gt;&amp;lt;patch:delete /&amp;gt;&amp;lt;/__SortOrder&amp;gt;&#xA;            &amp;lt;/exclude&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is changing your default Solr config by adding an extra field. But it's a ootb field instead of a computed one. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-12-18T14:28:50.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9084" PostTypeId="1" CreationDate="2017-12-18T14:40:35.540" Score="12" ViewCount="540" Body="&lt;p&gt;I use Sitecore 8.2 update 3 with Email Experience Manager 3.4.2 rev. 170713.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I send EXM campaigns using CM server and 1 additional Dedicated Email Delivery server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use token &lt;code&gt;$firstname$&lt;/code&gt; in the email. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I see the email in the email client, token is replaced correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click the link to see the online version of the email, some of the users don't have the &lt;code&gt;$firstname$&lt;/code&gt; token replaced. They see &lt;code&gt;Hello $firstname$&lt;/code&gt; in their browsers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Online version link is &lt;code&gt;https://CD.SERVER.COM/sitecore/RedirectUrlPage.aspx?ec_eq=ENCODED&lt;/code&gt; and Sitecore redirects me to &lt;code&gt;https://CD.SERVER.COM/email-campaign/messages/2017/CORRECT_EMAIL?sc_pd_view=1&amp;amp;ec_eq=PARAMS&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suppose that for some reason, contact identifier cannot be decoded from the encoded parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked and both CM and DED servers have same &lt;code&gt;EXM.CryptographicKey&lt;/code&gt; and &lt;code&gt;EXM.AuthenticationKey&lt;/code&gt; values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what can cause this issue?&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2023-07-23T12:19:01.360" Title="EXM $firstname$ token not replaced in email online version" Tags="|exm|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9085" PostTypeId="2" ParentId="9064" CreationDate="2017-12-18T16:48:50.877" Score="2" Body="&lt;p&gt;This is a bug in Sitecore 8.2 update 5. It has been fixed in update 6 according to the release notes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update6/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update6/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A hotfix might be available from Sitecore Support with the number 183497.&lt;/p&gt;&#xA;" OwnerUserId="274" LastActivityDate="2017-12-18T16:48:50.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9086" PostTypeId="2" ParentId="8590" CreationDate="2017-12-18T22:17:34.703" Score="7" Body="&lt;p&gt;I have successfully installed Sitecore 9 with MS SQL Sever 2017 Express. I had encountered the same error and the trick is instead of using &lt;strong&gt;$SqlServer=&quot;localhost&quot;&lt;/strong&gt; in the installation script, change it to &lt;strong&gt;$SqlServer=&quot;localhost\SQLExpress&quot;&lt;/strong&gt;. If you are indeed using the Express version, doing so should avoid the above issue!&lt;/p&gt;&#xA;" OwnerUserId="1775" LastActivityDate="2017-12-18T22:17:34.703" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9087" PostTypeId="1" CreationDate="2017-12-18T22:56:27.303" Score="9" ViewCount="2572" Body="&lt;p&gt;I want to create an app that an author can access from the Desktop. How can I make one and insert it in there? I don't seem to find any documentation on that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nTvQb.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nTvQb.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="1542" LastEditDate="2020-04-27T03:11:01.750" LastActivityDate="2020-04-27T03:11:01.750" Title="How can I create an app and add a shortcut to the desktop?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9088" PostTypeId="2" ParentId="9087" CreationDate="2017-12-18T23:39:13.743" Score="12" Body="&lt;h1&gt;How to create an App&lt;/h1&gt;&#xA;&#xA;&lt;h3&gt;Create app Layout&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;code&gt;core&lt;/code&gt; database&lt;/li&gt;&#xA;&lt;li&gt;Go to: &lt;code&gt;/sitecore/layout/Layouts/Applications&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create new Layout item (see existing examples, i.e &lt;code&gt;/sitecore/layout/Layouts/Applications/Content Manager&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Create layout file on the disk (it should be located here: &lt;code&gt;Website\sitecore\shell\Applications&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Link together file on the disk and item in the database either using &lt;code&gt;Path&lt;/code&gt; field (if you will use aspx) or &lt;code&gt;Control&lt;/code&gt; field with control name (if you use XML layout file). &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&#xA;If you use Control mapping remember about proper naming inside XML. For example &lt;strong&gt;LicenseOverview&lt;/strong&gt; application has something like this in the XML&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I5mMN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I5mMN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Create app&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;code&gt;core&lt;/code&gt; database&lt;/li&gt;&#xA;&lt;li&gt;Go to: &lt;code&gt;/sitecore/content/Applications&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create your app folder&lt;/li&gt;&#xA;&lt;li&gt;Create app item&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9xdft.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9xdft.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set previously created layout&#xA;&lt;a href=&quot;https://i.stack.imgur.com/fsRUo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fsRUo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Desktop shortcut&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open desktop and switch to core database (&lt;code&gt;http://domain/sitecore/shell/default.aspx?sc_content=core&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Right click on desktop and select &lt;strong&gt;Create Shortcut&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;In link find your application (in my case: &lt;code&gt;/sitecore/content/Applications/Alan/AlanTest&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VL03V.gif&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VL03V.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Start button shortcut&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you need your application shortcut to be present here&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cH0rn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cH0rn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;code&gt;core&lt;/code&gt; database&lt;/li&gt;&#xA;&lt;li&gt;Go to: &lt;code&gt;/sitecore/content/Documents and settings/All users/Start menu/Right&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create your application shortcut and set a link to point on your application.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Bonus: Launchpad shortcut&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;To add a shortcut to the Launchpad (&lt;code&gt;http://domain/sitecore/shell/sitecore/client/Applications/Launchpad&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;code&gt;core&lt;/code&gt; database&lt;/li&gt;&#xA;&lt;li&gt;Go to: &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create &lt;code&gt;LaunchPad-Button&lt;/code&gt; under some &lt;code&gt;LaunchPad-Group&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w3tjn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w3tjn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zDFU1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zDFU1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-12-18T23:55:33.777" LastActivityDate="2017-12-18T23:55:33.777" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9089" PostTypeId="2" ParentId="9078" CreationDate="2017-12-19T02:21:08.870" Score="1" Body="&lt;p&gt;I contacted Sitecore on that and they said that it's a bug and provided my with a patch to fix it &#xA; reference number 183497&lt;/p&gt;&#xA;" OwnerUserId="2689" LastEditorUserId="70" LastEditDate="2017-12-19T14:58:18.767" LastActivityDate="2017-12-19T14:58:18.767" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9091" PostTypeId="2" ParentId="8954" CreationDate="2017-12-19T03:51:15.400" Score="3" Body="&lt;p&gt;It turns out the issue was an Out of Memory issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore have supplied us with a hotfix: &lt;a href=&quot;https://sitecore.app.box.com/s/sxazbl7s4p02t19x5j6ydh8q7j4u0mvl&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.app.box.com/s/sxazbl7s4p02t19x5j6ydh8q7j4u0mvl&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2017-12-19T03:51:15.400" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9092" PostTypeId="1" CreationDate="2017-12-19T05:11:16.887" Score="8" ViewCount="1328" Body="&lt;p&gt;How can I get a specific dll file to be added to .update package on TDS project build ?&lt;/p&gt;&#xA;" OwnerUserId="2689" LastActivityDate="2017-12-19T19:43:21.377" Title="How can I get a specific dll file to be added to .update package on TDS project build?" Tags="|tds|nuget|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9093" PostTypeId="2" ParentId="9092" CreationDate="2017-12-19T06:49:30.707" Score="9" Body="&lt;p&gt;On the TDS Project, you need to&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Right click on the project and click on Properties.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the General Tab, you will see Assemblies.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Select Include from the dropdown.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the name of the assembly you want to add in the update package.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Save the changes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6nmB7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6nmB7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From @Jay S, the DLL also needs to be referenced in some way by the web projects being built in order to be pulled in. Without a reference they don't get pulled into the bin folder and therefore cannot be included/excluded.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2017-12-19T19:43:21.377" LastActivityDate="2017-12-19T19:43:21.377" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9095" PostTypeId="1" CreationDate="2017-12-19T10:41:27.940" Score="9" ViewCount="13190" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uq74V.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uq74V.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are doing Solr Master slave configuration for one of the environments . Now issue here is&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Is it possible for Sitecore CMS to update indexes on Solr Master and do Out of the box search in Sitecore CMS by pointing towards Load Balance URL, If Yes then how do we give such settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) How can CD point towards Load Balance URL to get Search results.how do we give such settings&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="95" LastEditDate="2022-05-06T18:56:42.603" LastActivityDate="2022-05-06T18:56:42.603" Title="Settings for Solr in a master/slave or leader/follower configuration" Tags="|solr|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9096" PostTypeId="1" AcceptedAnswerId="9622" CreationDate="2017-12-19T10:59:34.953" Score="9" ViewCount="127" Body="&lt;p&gt;We have configured Sitecore Commerce with a number of Promotions. One of them looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JIElt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JIElt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the promotion code works fine. If added to the basket, the benefits of the promotion kick in and the basket total reflects this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But my question is; how can I access the properties of this promotion in the .Adjustments collection on my cart?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently I have this bit of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var firstPromotion = cart.Adjustments.First();&#xA;if (firstPromotion != null)&#xA;{&#xA;    model.PromotionsApplied = true;&#xA;    model.AppliedPromoText = firstPromotion.Description;&#xA;    model.AppliedPromoResult = firstPromotion.Amount.ToCurrency(cart.Total.CurrencyCode);&#xA;    if (!firstPromotion.IsCharge)&#xA;    {&#xA;        model.AppliedPromoResult = new HtmlString(&quot;-&quot; + model.AppliedPromoResult);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is; .Description does not give me the expected &quot;Description&quot; field from the promotion itself. And as for the other properties, &quot;Text&quot; and &quot;Cart Text&quot; - these are not mapped to the Adjustments object I get back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3hzu4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3hzu4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am assuming I could possibly get these properties via the &lt;code&gt;GetPropertyValue&lt;/code&gt; method. But if so, what would these be named?   Or can the &lt;code&gt;Adjustment&lt;/code&gt; be cast as a more specific entity like maybe &lt;code&gt;PromotionAdjustment&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-01-22T18:50:18.033" Title="How do I reach the different properties on my Promotion, from the Adjustments collection?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9097" PostTypeId="2" ParentId="9095" CreationDate="2017-12-19T11:43:16.870" Score="1" Body="&lt;p&gt;From what I know it is not possible to configure Sitecore CM server to send index updates to one Solr server and queries to another.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do is to configure CM server to use Load Balancer as well. And then configure Load Balancer to pass all queries to Solr Slaves and all the other types of requests to Solr Master server. See here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1yATB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1yATB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the real question is, why do you want Author Content Search to hit the Solr Slaves servers? For CM server it should be ok to use Solr Master for Author Content Search queries.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2017-12-19T11:43:16.870" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9098" PostTypeId="2" ParentId="9095" CreationDate="2017-12-19T12:53:50.480" Score="2" Body="&lt;p&gt;I'm not sure what version of Sitecore you are using or if this will work for you or not but an alternative is to using Solr Slave/Master is to use Solr Cloud.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this scenario you have 3 Solr servers all linked together in a Cloud with Zookeeper maintaining the connections between them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've included quite a lot of information on how we set this up in this SSE post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1611/sitecore-content-deliveries-and-solr-with-high-availability?rq=1&quot;&gt;Sitecore Content deliveries and Solr with High availability&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think as Marek says above though it would be a good to understand more why your have the setup you've outlined as it seems a bit different to normal.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2017-12-19T12:53:50.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9099" PostTypeId="2" ParentId="8955" CreationDate="2017-12-19T13:29:22.447" Score="1" Body="&lt;p&gt;This is fixed in the latest build of Sitecore Rocks (2.1.80) which you can get here:&lt;br&gt;&#xA;&lt;a href=&quot;https://ci.appveyor.com/project/JakobChristensen/sitecore-rocks/build/artifacts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ci.appveyor.com/project/JakobChristensen/sitecore-rocks/build/artifacts&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers!&lt;/p&gt;&#xA;" OwnerUserId="2713" LastActivityDate="2017-12-19T13:29:22.447" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9101" PostTypeId="2" ParentId="9095" CreationDate="2017-12-19T13:53:24.073" Score="7" Body="&lt;h3&gt;Instance Details&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.2 u4&lt;/li&gt;&#xA;&lt;li&gt;Solr 5.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The following is a brief explaination of how we recently implemented a master/slave configuration by using SOLR replication.&lt;/p&gt;&#xA;&lt;p&gt;I'll take the diagram from the article linked below since it depicts what we did.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W5GlX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W5GlX.png&quot; alt=&quot;SOLR Diagram&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;SOLR-master&lt;/strong&gt; is connected to the CM instance. When the CM rebuilds the &lt;strong&gt;sitecore_web_index&lt;/strong&gt; the &lt;strong&gt;SOLR-master&lt;/strong&gt; instance is doing all of the processing.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;SOLR-slave&lt;/strong&gt; is connected to the CD instance. You can either have each instance of the CD talk directly to a slave instance or you can connect them to a load balancer (F5/Netscaler/etc.). The &lt;strong&gt;SOLR-slave&lt;/strong&gt; instances poll at some interval (perhaps 60 seconds); If the &lt;strong&gt;SOLR-master&lt;/strong&gt; has completed a commit/startup then the &lt;strong&gt;SOLR-slave&lt;/strong&gt; instances will replicate the files.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;Config Files&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- solrconfig.xml for master instance --&amp;gt;&#xA;&amp;lt;requestHandler name=&amp;quot;/replication&amp;quot; class=&amp;quot;solr.ReplicationHandler&amp;quot; &amp;gt;&#xA;   &amp;lt;lst name=&amp;quot;master&amp;quot;&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;replicateAfter&amp;quot;&amp;gt;startup&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;replicateAfter&amp;quot;&amp;gt;commit&amp;lt;/str&amp;gt;&#xA;       &amp;lt;!--If configuration files need to be replicated give the names here, separated by comma --&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;confFiles&amp;quot;&amp;gt;schema.xml,stopwords.txt,elevate.xml&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;maxNumberOfBackups&amp;quot;&amp;gt;0&amp;lt;/str&amp;gt;&#xA;   &amp;lt;/lst&amp;gt;&#xA; &amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- solrconfig.xml in slave instances --&amp;gt;&#xA;&amp;lt;requestHandler name=&amp;quot;/replication&amp;quot; class=&amp;quot;solr.ReplicationHandler&amp;quot; &amp;gt; &#xA;     &amp;lt;lst name=&amp;quot;slave&amp;quot;&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;enable&amp;quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;masterUrl&amp;quot;&amp;gt;https://load-balanced-url/solr/sitecore_web_index&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;pollInterval&amp;quot;&amp;gt;00:01:00&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;compression&amp;quot;&amp;gt;internal&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;httpConnTimeout&amp;quot;&amp;gt;5000&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&amp;quot;httpReadTimeout&amp;quot;&amp;gt;10000&amp;lt;/str&amp;gt;&#xA;     &amp;lt;/lst&amp;gt;&#xA;&amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;References&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://born4joy.wordpress.com/2016/01/21/how-to-configure-solr-master-slave-replication/comment-page-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr Replication&lt;/a&gt; - I believe I followed this article when getting started.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&lt;p&gt;When configuring for newer versions of Solr, such as 8.8.2, the nomenclature has changed from master/slave to leader/follower.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2022-05-06T18:55:03.960" LastActivityDate="2022-05-06T18:55:03.960" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="9102" PostTypeId="2" ParentId="7936" CreationDate="2017-12-19T14:06:14.600" Score="4" Body="&lt;p&gt;You probably didn't connect your Visual Studio project to the Sitecore instance. You can do this via: right click on your Visual Studio project in the &lt;code&gt;Solution Explorer -&amp;gt; Sitecore -&amp;gt; Project Properties -&amp;gt; Select a &amp;quot;Sitecore Explorer Connection&amp;quot;.&lt;/code&gt;&#xA;Then you can click &amp;quot;Test...&amp;quot; to see if your connection works.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: This is not the same as the connection to your Sitecore instance in the &lt;em&gt;Sitecore&lt;/em&gt; Explorer.&lt;/p&gt;&#xA;&lt;p&gt;Cheers!&lt;/p&gt;&#xA;" OwnerUserId="2713" LastEditorUserId="7105" LastEditDate="2023-01-03T09:40:53.840" LastActivityDate="2023-01-03T09:40:53.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9103" PostTypeId="1" CreationDate="2017-12-19T15:08:37.840" Score="4" ViewCount="605" Body="&lt;p&gt;How can i retrieve, count of unique visitors and total visitors who have visited a Sitecore site in a month ,  using experience database.&lt;/p&gt;&#xA;" OwnerUserId="1884" LastActivityDate="2017-12-19T17:50:57.657" Title="Unique visitors and total visitors in a month" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9104" PostTypeId="1" CreationDate="2017-12-19T17:11:14.093" Score="12" ViewCount="3070" Body="&lt;p&gt;We have a query that is running against our SOLR.  The query is returning extremely slowly due to the number of fields and the amount of data in those fields.  When the query runs, its adding the fl=* to the request, which will return all fields from SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We cannot use the built in paging due to language fallback and the way that SOLR handles these items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the Sitecore ContentSearch library (or through configuration), is there a way to limit the fields that are coming back from SOLR?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In its simplest form we are doing the following&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var searchContext = _searchIndexSelector.CreateSearchContext())&#xA;{&#xA;   var queryable = searchContext.GetQueryable&amp;lt;T&amp;gt;();&#xA;   var query = queryFunc(queryable);&#xA;   var searchResults = query.GetResults();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It generates a query for solr that looks like this&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;?q=(((((_template:(04c7dc91813244a1820f0e36cf6b6553)%20OR%20_template:(f613d8a8d9324b5f84516424f89c9102)%20OR%20_template:(6d28679694434b49bb35ebdbb23461d1)%20OR%20_template:(bf6c17c5c146494286daaf8d621a7efa)%20OR%20_template:(358398e232654b1d9431485523f722c9))%20AND%20search_type_sm:(aa2d063528504b9bb425c480cd76b739))%20AND%20-_name:(&quot;__Standard%20Values&quot;))%20AND%20_path:(1f6ceccf452943f5b6c20be96502e6a7))))&amp;amp;rows=2147483647&amp;amp;fl=*,score&amp;amp;fq=_indexname:(sitecore_web_index)&amp;amp;facet=true&amp;amp;facet.field=facetField1&amp;amp;f.facetField2.facet.mincount=0&amp;amp;facet.field=facetfField3&amp;amp;f.facetField4.facet.mincount=0&amp;amp;sort=SortField1%20desc&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2999" LastEditorUserId="731" LastEditDate="2017-12-19T18:53:49.193" LastActivityDate="2020-08-08T02:28:59.823" Title="Filter number of fields returned from SOLR" Tags="|content-search|solr|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9105" PostTypeId="2" ParentId="9103" CreationDate="2017-12-19T17:50:57.657" Score="4" Body="&lt;p&gt;To get the total number of visitors for a month you can use the MongoDb data. Here is an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//Connecting to the Analytics DB&#xA;var driver = Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDriver.FromConnectionString(&quot;analytics&quot;);&#xA;&#xA;//Building our query&#xA;var builder = new QueryBuilder();&#xA;var filter = builder.And(&#xA;    builder.GTE(_ =&amp;gt; _.StartDateTime, &#xA;                DateTime.Now.AddDays(-30)), &#xA;                builder.EQ(_ =&amp;gt; _.SiteName, &#xA;                siteName.ToLower())); &#xA;&#xA;//Retrieving data from the &quot;Interactions&quot; collection&#xA;var interactions = driver.Interactions.FindAs(filter)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should give you all visits for the last 30 days. It should give you a starting point to then calculate unique visitors etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code sample taken from this blog post: &lt;a href=&quot;http://sitecorepro.blogspot.com.by/2015/06/starting-with-sitecore-analytics.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorepro.blogspot.com.by/2015/06/starting-with-sitecore-analytics.html&lt;/a&gt; by &lt;strong&gt;Konstantin Cherkasov&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2017-12-19T17:50:57.657" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9106" PostTypeId="2" ParentId="9092" CreationDate="2017-12-19T18:35:30.503" Score="2" Body="&lt;h3&gt;TDS Global&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I'd like to add to Hishaam's answer and note that this can be done in the &lt;a href=&quot;https://www.hhogdev.com/help/tds/globalconfig&quot; rel=&quot;nofollow noreferrer&quot;&gt;TDSGlobbal.config file&lt;/a&gt;. The following config is taken from Hedgehog's fork of Habitat. Using the ExcludedAssemblies nodes, you can specify to all TDS projects in your solution to not include any Sitecore, Lucene, etc dlls. Configured correctly, it would include only your project and specific dlls that are required for deployment.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;Project ToolsVersion=&quot;3.5&quot; DefaultTargets=&quot;Build&quot; xmlns=&quot;http://schemas.microsoft.com/developer/msbuild/2003&quot;&amp;gt;&#xA;  &amp;lt;PropertyGroup Condition=&quot; '$(Configuration)' == 'Debug' &quot;&amp;gt;&#xA;&#xA;      &amp;lt;SitecoreWebUrl&amp;gt;https://habitat.dev.local&amp;lt;/SitecoreWebUrl&amp;gt;&#xA;      &amp;lt;SitecoreDeployFolder&amp;gt;C:\inetpub\habitat.dev.local\Website&amp;lt;/SitecoreDeployFolder&amp;gt;&#xA;      &amp;lt;RecursiveDeployAction&amp;gt;Ignore&amp;lt;/RecursiveDeployAction&amp;gt;&#xA;      &amp;lt;InstallSitecoreConnector&amp;gt;True&amp;lt;/InstallSitecoreConnector&amp;gt;&#xA;      &amp;lt;DisableFileDeployment&amp;gt;False&amp;lt;/DisableFileDeployment&amp;gt;&#xA;      &amp;lt;SitecoreAccessGuid&amp;gt;96369e76-bbbf-4f54-aff0-c7deb39907c7&amp;lt;/SitecoreAccessGuid&amp;gt;&#xA;      &amp;lt;LightningDeployMode&amp;gt;True&amp;lt;/LightningDeployMode&amp;gt;&#xA;&#xA;  &amp;lt;/PropertyGroup&amp;gt;&#xA;  &amp;lt;PropertyGroup Condition=&quot; '$(Configuration)' == 'Release' &quot;&amp;gt;&#xA;&#xA;  &amp;lt;/PropertyGroup&amp;gt;&#xA;    &amp;lt;ItemGroup&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;MongoDB.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Abstractions.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Analytics.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Apps.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Buckets.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.CES.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Cintel.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Client.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Cloud.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.ContentSearch.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.ContentTesting.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.ControlPanel.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.ExperienceAnalytics.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.ExperienceEditor.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Forms.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.FXM.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.ItemWebApi.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Kernel.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.LaunchPad.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.ListManagement.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Logging.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Marketing.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Mvc.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;sitecore.nexus.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.NVelocity.dll&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Oracle.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.PathAnalyzer.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Security.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.SegmentBuilder.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.SequenceAnalyzer.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Services.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.SessionProvider.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Shell.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Social.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Speak.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Update.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Web.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.WFFM.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Xdb.%2a&quot; /&amp;gt;&#xA;        &amp;lt;ExcludedAssemblies Include=&quot;Sitecore.Zip.%2a&quot; /&amp;gt;&#xA;    &amp;lt;/ItemGroup&amp;gt;&#xA;&amp;lt;/Project&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2017-12-19T18:35:30.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9107" PostTypeId="2" ParentId="9104" CreationDate="2017-12-19T19:04:50.637" Score="2" Body="&lt;p&gt;Currently, you can't limit the fields because you Sitecore doesn't provide an ability to manage the &lt;code&gt;fl&lt;/code&gt; parameter of query to SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You haven't mentioned if you use custom index or a default sitecore index (like &quot;sitecore-web-index&quot;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyway, in case you have a lot of fields and the amount of data in those fields, the best approach the tune a perfomance is to create your oun index with custom configuration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, in the custom configuration, set &lt;code&gt;false&lt;/code&gt; value for the &lt;code&gt;indexAllFields&lt;/code&gt; property:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The next step is to include just necessery fileds. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;    &amp;lt;fieldId&amp;gt;{8CDC337E-A112-42FB-BBB4-4143751E123F}&amp;lt;/fieldId&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also you can set included/excluded templates that should be included/excluded in index (more precisely, items that are based on them):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;exclude hint=&quot;list:AddExcludedTemplate&quot;&amp;gt;&#xA;    &amp;lt;BucketFolderTemplateId&amp;gt;{ADB6CA4F-03EF-4F47-B9AC-9CE2BA53FF97}&amp;lt;/BucketFolderTemplateId&amp;gt;&#xA;    &amp;lt;!-- And etc --&amp;gt;&#xA;&amp;lt;/exclude&amp;gt;&#xA;&#xA;&amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;     &amp;lt;ContentPage&amp;gt;{04AA33EA-4677-488F-A39A-BDDAE504250E}&amp;lt;/ContentPage&amp;gt;&#xA;     &amp;lt;HomePage&amp;gt;{23FE027D-1375-4D8C-A2FB-B70276F43C71}&amp;lt;/HomePage&amp;gt;&#xA;     &amp;lt;!-- And etc --&amp;gt;          &#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also you can define a root path for crowler which will also limit a number of items in the index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;         &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;         &amp;lt;Root&amp;gt;/sitecore/content/Websites&amp;lt;/Root&amp;gt;&#xA;    &amp;lt;/crawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Adding the custom index will definitelly positively affect an index size and number of fields in the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example of custom search configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;!-- Configuration sections for indexes --&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;&#xA;        &amp;lt;!-- If an index has no configuration specified, it will use the configuration below. The configuration is not merged if the index also has&#xA;             configuration, it is either this configuration or the index configuration. --&amp;gt;&#xA;        &amp;lt;CustomSearchIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;!-- This flag will index all fields by default. This allows new fields in your templates to automatically be included into the index.&#xA;               You have two choices : &#xA;&#xA;               1) Set this to true and place all the fields you would like to remove in the 'ExcludeField' list below.&#xA;               2) Set to false and place all fields you would like to be indexed in the 'IncludeField' list below.&#xA;            --&amp;gt;&#xA;          &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;&#xA;          &amp;lt;!-- Should index Initialize() method be called as soon as the index is added or wait for an external trigger --&amp;gt;&#xA;          &amp;lt;!-- For Solr Initialize() needs to be called after the IOC container has fired up --&amp;gt;&#xA;          &amp;lt;initializeOnAdd&amp;gt;false&amp;lt;/initializeOnAdd&amp;gt;&#xA;&#xA;          &amp;lt;!-- DEFAULT FIELD MAPPING &#xA;               This field map allows you to take full control over how your data is stored in the index. This can affect the way data is queried, performance of searching and how data is retrieved and casted to a proper type in the API. &#xA;            --&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;!-- This element must be first --&amp;gt;&#xA;            &amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;guidCollection&quot;     type=&quot;System.Collections.Generic.List`1[System.Guid]&quot;     fieldNameFormat=&quot;{0}_sm&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;stringCollection&quot;   type=&quot;System.Collections.Generic.List`1[System.String]&quot;   fieldNameFormat=&quot;{0}_sm&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;intCollection&quot;      type=&quot;System.Collections.Generic.List`1[System.Int32]&quot;    fieldNameFormat=&quot;{0}_im&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;guid&quot;               type=&quot;System.Guid&quot;                                        fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;id&quot;                 type=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot;                  fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;shortid&quot;            type=&quot;Sitecore.Data.ShortID, Sitecore.Kernel&quot;             fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;text&quot;               type=&quot;System.String&quot;                                      fieldNameFormat=&quot;{0}_t&quot;   cultureFormat=&quot;_{1}&quot;                  settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;string&quot;             type=&quot;System.String&quot;                                      fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;int&quot;                type=&quot;System.Int32&quot;                                       fieldNameFormat=&quot;{0}_tl&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;bool&quot;               type=&quot;System.Boolean&quot;                                     fieldNameFormat=&quot;{0}_b&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;datetime&quot;           type=&quot;System.DateTime&quot;                                    fieldNameFormat=&quot;{0}_tdt&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss.FFF'Z'&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;long&quot;               type=&quot;System.Int64&quot;                                       fieldNameFormat=&quot;{0}_tl&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;float&quot;              type=&quot;System.Single&quot;                                      fieldNameFormat=&quot;{0}_tf&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;double&quot;             type=&quot;System.Double&quot;                                      fieldNameFormat=&quot;{0}_td&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;stringArray&quot;        type=&quot;System.String[]&quot;                                    fieldNameFormat=&quot;{0}_sm&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;intArray&quot;           type=&quot;System.Int32[]&quot;                                     fieldNameFormat=&quot;{0}_im&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;datetimeArray&quot;      type=&quot;System.DateTime[]&quot;                                  fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;datetimeCollection&quot; type=&quot;System.Collections.Generic.List`1[System.DateTime]&quot; fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;            &amp;lt;/typeMatches&amp;gt;&#xA;&#xA;            &amp;lt;!-- This allows you to map a field name in Sitecore to the index and store it in the appropriate way --&amp;gt;&#xA;            &amp;lt;!-- Add schema fields here to enable multi-language processing --&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__created_by&quot;         returnType=&quot;string&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__smallcreateddate&quot;   returnType=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__smallupdateddate&quot;   returnType=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__workflow_state&quot;     returnType=&quot;string&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;extension&quot;            returnType=&quot;text&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;title&quot;                returnType=&quot;text&quot; /&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;&#xA;            &amp;lt;!-- FIELD TYPE MAPPING&#xA;                 This allows you to map a field type in Sitecore to a type in the index.&#xA;                 USAGE: When you add new field types to Sitecore, add the mappings here so they work through the Linq Layer &#xA;              --&amp;gt;&#xA;            &amp;lt;fieldTypes hint=&quot;raw:AddFieldByFieldTypeName&quot;&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;checkbox&quot;                                                                                                 returnType=&quot;bool&quot;             /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;date|datetime&quot;                                                                                            returnType=&quot;datetime&quot;         /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;html|rich text|single-line text|multi-line text|text|memo|image|reference&quot;                                returnType=&quot;text&quot;             /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;word document&quot;                                                                                            returnType=&quot;text&quot;             /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;integer&quot;                                                                                                  returnType=&quot;long&quot;             /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;number&quot;                                                                                                   returnType=&quot;float&quot;            /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;icon|droplist|grouped droplist&quot;                                                                           returnType=&quot;string&quot;           /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;checklist|multilist|treelist|tree list|treelistex|tree list|multilist with search|treelist with search&quot;   returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;name lookup value list|name value list&quot;                                                                   returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;droplink|droptree|grouped droplink|tree&quot;                                                                  returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;            &amp;lt;/fieldTypes&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;!-- GLOBALLY EXCLUDE TEMPLATES FROM BEING INDEXED&#xA;               This setting allows you to exclude items that are based on specific templates from the index.&#xA;            --&amp;gt;&#xA;            &amp;lt;exclude hint=&quot;list:AddExcludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;BucketFolderTemplateId&amp;gt;{ADB6CA4F-03EF-4F47-B9AC-9CE2BA53FF97}&amp;lt;/BucketFolderTemplateId&amp;gt;&#xA;            &amp;lt;/exclude&amp;gt;&#xA;&#xA;            &amp;lt;!-- GLOBALLY INCLUDE TEMPLATES IN INDEX&#xA;               This setting allows you to only include items that are based on specific templates in the index. You must specify all the&#xA;               templates that you want to include, because template inheritance is not checked. &#xA;               When you enable this setting, all the items that are based on other templates are excluded, regardless of whether the template&#xA;               is specified in the ExcludeTemplate list or not.&#xA;            --&amp;gt;&#xA;             &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;               &amp;lt;ContentPage&amp;gt;{04AA33EA-4677-488F-A39A-BDDAE504250E}&amp;lt;/ContentPage&amp;gt;&#xA;               &amp;lt;HomePage&amp;gt;{23FE027D-1375-4D8C-A2FB-B70276F43C71}&amp;lt;/HomePage&amp;gt;&#xA;               &amp;lt;NewsPage&amp;gt;{582D070C-D82F-4DC7-8B6F-C3E12FA36F3E}&amp;lt;/NewsPage&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;&#xA;            &amp;lt;!-- GLOBALLY INCLUDE FIELDS IN INDEX&#xA;               This setting allows you to specify which fields to include in the index when the indexAllFields setting is set to false.&#xA;            --&amp;gt;&#xA;            &amp;lt;!--&amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;            &amp;lt;fieldId&amp;gt;{8CDC337E-A112-42FB-BBB4-4143751E123F}&amp;lt;/fieldId&amp;gt;&#xA;            &amp;lt;/include&amp;gt;--&amp;gt;&#xA;&#xA;            &amp;lt;!-- GLOBALLY EXCLUDE FIELDS FROM BEING INDEXED&#xA;               This setting allows you to exclude fields from the index when the indexAllFields setting is set to true.&#xA;            --&amp;gt;&#xA;            &amp;lt;!--&amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;&#xA;              &amp;lt;__Created&amp;gt;{25BED78C-4957-4165-998A-CA1B52F67497}&amp;lt;/__Created&amp;gt;&#xA;            &amp;lt;/exclude&amp;gt;--&amp;gt;&#xA;&#xA;            &amp;lt;!-- REMOVE INBUILT SITECORE FIELDS&#xA;               This allows you to store a field in different ways in the index. You may want to store a field as Analyzed and Not Analyze&#xA;            --&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddExcludedSpecialField&quot;&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;AllTemplates&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Created&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Editor&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Hidden&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Icon&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Links&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Updated&amp;lt;/remove&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;&#xA;            &amp;lt;!-- COMPUTED INDEX FIELDS &#xA;               This setting allows you to add fields to the index that contain values that are computed for the item that is being indexed.&#xA;               You can specify the storageType and indextype for each computed index field in the &amp;lt;fieldMap&amp;gt;&amp;lt;fieldNames&amp;gt; section.&#xA;            --&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__smallcreateddate&quot;             returnType=&quot;string&quot;          &amp;gt;Sitecore.ContentSearch.ComputedFields.CreatedDate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__smallupdateddate&quot;             returnType=&quot;string&quot;          &amp;gt;Sitecore.ContentSearch.ComputedFields.UpdatedDate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_content&quot;                       returnType=&quot;string&quot;     type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/mediaIndexing&quot;/&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;&#xA;          &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/mediaIndexing&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;!-- VIRTUAL FIELDS&#xA;               Virtual fields can be used to translate a field query into a different query.&#xA;            --&amp;gt;&#xA;          &amp;lt;virtualFields type=&quot;Sitecore.ContentSearch.VirtualFieldProcessorMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;processors hint=&quot;raw:AddFromConfiguration&quot;&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;daterange&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.DateRangeFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;_lastestversion&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.LatestVersionFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;updateddaterange&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.UpdatedDateRangeFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;_url&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.UniqueIdFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;_fullpath&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.FullPathFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;parsedcreatedby_s&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.CreatedByFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;            &amp;lt;/processors&amp;gt;&#xA;          &amp;lt;/virtualFields&amp;gt;&#xA;&#xA;          &amp;lt;!-- SITECORE FIELDTYPE MAP&#xA;               This maps a field type by name to a Strongly Typed Implementation of the field type e.g. html maps to HTMLField&#xA;            --&amp;gt;&#xA;          &amp;lt;fieldReaders ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldReaders&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;!-- INDEX FIELD STORAGE MAPPER &#xA;               Maintains a collection of all the possible Convertors for the provider.&#xA;            --&amp;gt;&#xA;          &amp;lt;indexFieldStorageValueFormatter ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/indexFieldStorageValueFormatter&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;!-- INDEX PROPERTY TO DOCUMENT MAPPER&#xA;               Maintains a collection of all the possible Convertors for the provider.&#xA;            --&amp;gt;&#xA;          &amp;lt;indexDocumentPropertyMapper ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/indexDocumentPropertyMapper&quot; /&amp;gt;&#xA;&#xA;&#xA;          &amp;lt;!-- DOCUMENT BUILDER&#xA;               Allows you to override the document builder. The document builder class processes all the fields in the Sitecore items and prepares&#xA;               the data for storage in the index.&#xA;               You can override the document builder to modify how the data is prepared, and to apply any additional logic that you may require.&#xA;          --&amp;gt;&#xA;          &amp;lt;documentBuilderType ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/documentBuilderType&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;defaultSearchSecurityOption ref=&quot;contentSearch/indexConfigurations/defaultSearchSecurityOption&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;/CustomSearchIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Example of custom index which uses the newly created configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;custom_sitesearch_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;rebuildcore&quot;&amp;gt;$(id)_second&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/CustomSearchIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Websites&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;true&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;true&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2017-12-19T19:52:32.313" LastActivityDate="2017-12-19T19:52:32.313" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9108" PostTypeId="1" AcceptedAnswerId="9110" CreationDate="2017-12-19T19:31:50.807" Score="0" ViewCount="305" Body="&lt;p&gt;I am trying to set up my local development environment to work with WFFM. I have installed a clean instance of Sitecore 8.1 (rev. 151207) and Web Forms for Marketers 8.1.rev. 151008. I followed all of the configuration instructions located here: &lt;a href=&quot;https://doc.sitecore.net/Web%20Forms%20for%20Marketers/82&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/Web%20Forms%20for%20Marketers/82&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I configured a local hMailServer using the instructions found here: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/local-mail-servers-amp-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/local-mail-servers-amp-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I updated the Sitecore.Forms.config with my hMailServer settings. I also added these settings to the standard Sitecore Send Email Message save action: /sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Send Email Message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked Client Action on the Send Email Message save action and I removed the following line from Sitecore.Forms.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;WFM.IsRemoteActions&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I created a simple form and set it to send a message to the Email address the user entered. I am able to enter data into the form, click submit, and I see the success thank you message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I verified that all forms and save actions are published to the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No email is ever sent. No information is in the logs or the event viewer to point me to any error in my setup. No emails are in the queue in hMailServer. What am I missing?&lt;/p&gt;&#xA;" OwnerUserId="2388" LastEditorUserId="277" LastEditDate="2017-12-19T19:33:35.290" LastActivityDate="2017-12-19T21:15:17.410" Title="WFFM OOTB Email Message Not Sending" Tags="|wffm|" AnswerCount="1" CommentCount="0" ClosedDate="2017-12-20T07:39:03.687" ContentLicense="CC BY-SA 3.0" />
  <row Id="9109" PostTypeId="1" AcceptedAnswerId="9119" CreationDate="2017-12-19T21:02:24.867" Score="0" ViewCount="599" Body="&lt;p&gt;We have a multiple sites Sitecore instance at our client.  The architect is attempting to reconfigure that each sub-site has a dedicated IIS Website pointing to one physical path where the instance is installed, &lt;code&gt;c:\inetpub\wwwroot\sitecore\website&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if that's a supported Sitecore configuration?  Has anyone done it or have any gotchas that they can share?&lt;/p&gt;&#xA;" OwnerUserId="1839" LastEditorUserId="605" LastEditDate="2017-12-21T15:37:26.847" LastActivityDate="2019-04-30T14:46:03.683" Title="Sitecore using multiple IIS Websites configured with same physical path" Tags="|multisite|iis|multitenancy|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9110" PostTypeId="2" ParentId="9108" CreationDate="2017-12-19T21:15:17.410" Score="0" Body="&lt;p&gt;I fixed this by wiping out the instance and starting fresh. I'm guessing I missed a step somewhere along the way. It works now and the email is sending as expected.&lt;/p&gt;&#xA;" OwnerUserId="2388" LastActivityDate="2017-12-19T21:15:17.410" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9111" PostTypeId="1" CreationDate="2017-12-19T21:19:12.023" Score="0" ViewCount="1809" Body="&lt;p&gt;I'm trying to figure out how to go about defining a sort when building a query for an item query (this is driving the results of an SXA page list).  When in the query builder, I see that sort is an option, but it's unclear after typing sort: what the builder is expecting next.  A GUID of a field to sort?  Also, I am not finding any kind of documentation talking about if you are able to define ascending / descending in the sort or really anything about it other than it's existence.  If anyone has some background on this, I would really appreciate it.&lt;/p&gt;&#xA;" OwnerUserId="2289" LastActivityDate="2017-12-19T21:57:40.857" Title="Sitecore SXA Item Query and sort capability" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9112" PostTypeId="2" ParentId="9111" CreationDate="2017-12-19T21:31:42.027" Score="5" Body="&lt;p&gt;This is Sitecore specific, not SXA. When you build a query you need to specify a field that will be used for sorting. Then when you click on the sort icon you can change it to descending or ascending.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a quick demo&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ba3xs.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ba3xs.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just build a query to search for items of template &lt;code&gt;Blog Post&lt;/code&gt; and sort them using custom field: &lt;code&gt;Published&lt;/code&gt; (DateTime)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The raw values of my queries are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;+template:{efa62406-cfd7-43c6-b702-3f53dfb1cee3};sort:published&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;+template:{efa62406-cfd7-43c6-b702-3f53dfb1cee3};sort:published[desc]&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am not sure where you put your query (directly into a data source field or on item) but recommended location is &lt;strong&gt;ItemQuery&lt;/strong&gt; item (&lt;code&gt;/sitecore/content/Tenant/Site/Settings/Item Queries/YOURITEM&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I published a few days ago a blog post which touches this topic. You could learn how to do it by reading &lt;a href=&quot;https://alan-null.github.io/2017/12/sxa-blog#item-queries&quot; rel=&quot;nofollow noreferrer&quot;&gt;Item Queries section&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will also find step by step instruction how to configure sorting for &lt;code&gt;Search Results&lt;/code&gt; in case you switch from &lt;code&gt;Page List&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2017-12-19T21:57:40.857" LastActivityDate="2017-12-19T21:57:40.857" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9113" PostTypeId="2" ParentId="9041" CreationDate="2017-12-19T21:59:13.780" Score="6" Body="&lt;p&gt;The current implementation of &lt;code&gt;Sitecore.ContentSearch&lt;/code&gt; API depends on Adobe IFilter v9, which can't be installed in &lt;a href=&quot;https://azure.microsoft.com/en-us/services/app-service/&quot; rel=&quot;noreferrer&quot;&gt;Azure App Service&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the same time, &lt;a href=&quot;https://azure.microsoft.com/en-us/services/search/&quot; rel=&quot;noreferrer&quot;&gt;Azure Search&lt;/a&gt; itself supports indexing different document formats (PDFs, DOCX/DOC, XLSX/XLS, PPTX/PPT, MSG etc.) when using Azure Blob Storage + Indexer for it: &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/search/search-howto-indexing-azure-blob-storage&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/search/search-howto-indexing-azure-blob-storage&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, Sitecore doesn't support Azure Blob Storage for Media Library. It keeps blobs in &lt;code&gt;Master&lt;/code&gt; and &lt;code&gt;Web&lt;/code&gt; databases in SQL Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, you can override the default &lt;code&gt;MediaItemContentExtractor&lt;/code&gt;, and replace dependency on Adobe iFilter COM component, with &lt;a href=&quot;https://github.com/KevM/tikaondotnet&quot; rel=&quot;noreferrer&quot;&gt;.NET port&lt;/a&gt; of &lt;a href=&quot;https://tika.apache.org/&quot; rel=&quot;noreferrer&quot;&gt;Apache Tiki&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the &lt;code&gt;Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config&lt;/code&gt; file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;... &#xA;  &amp;lt;field type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&quot; fieldName=&quot;_content&quot;&amp;gt;&#xA;    &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/mediaIndexing&quot;/&amp;gt;&#xA;  &amp;lt;/field&amp;gt;&#xA;...&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="973" LastEditorUserId="973" LastEditDate="2017-12-20T01:57:42.127" LastActivityDate="2017-12-20T01:57:42.127" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9115" PostTypeId="1" AcceptedAnswerId="9121" CreationDate="2017-12-19T22:53:35.537" Score="2" ViewCount="2218" Body="&lt;p&gt;Is it possible to bulk create media items from an array of &lt;code&gt;System.IO.FileInfo&lt;/code&gt; without needing to install the remote powershell extension package to use the &lt;code&gt;Upload-SitecoreFile&lt;/code&gt; command? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;br&gt;&#xA;- The media items will be stored within an item bucket &lt;br&gt;&#xA;- Will need to store the guids of the created media items for field references&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Suggestions&lt;/strong&gt;&lt;br&gt;&#xA;- Use &lt;code&gt;Receive-File -Unpack&lt;/code&gt; to upload and create the items from a zip. This will not give control over how the item names are generated, but they might match the file name.&lt;br&gt;&#xA;- Leverage Sitecore API with &lt;code&gt;Sitecore.Resources.Media.MediaManager.Creator.CreateFromStream(..)&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="64" LastEditorUserId="73" LastEditDate="2017-12-20T07:37:21.410" LastActivityDate="2017-12-20T14:45:43.437" Title="Bulk create Media Items" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9116" PostTypeId="1" AcceptedAnswerId="9118" CreationDate="2017-12-20T00:58:03.820" Score="8" ViewCount="5948" Body="&lt;p&gt;I am in process of installing Sitecore 9 using SIF. Everything went smooth but when running the Power shell script to install SIF, ended up with the error below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;PS&gt;TerminatingError(Invoke-CopyTask): &quot;Cannot validate argument on parameter 'Source'. The &quot; Test-Path $_ &quot; validation script for the argument with value &quot;D:\Sitecore9\solr-7.1.0\server\solr\configsets\basic_configs*&quot; did not return a result of True. Determine why the validation script failed, and then try the command again.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any input are appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pre-requisites are as follows: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Windows 10 &lt;/li&gt;&#xA;&lt;li&gt;Solr 7.1.0&lt;/li&gt;&#xA;&lt;li&gt;Visual Studio 2017 Community Edition &lt;/li&gt;&#xA;&lt;li&gt;SQL 2016 Express &lt;/li&gt;&#xA;&lt;li&gt;IIS 10&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Attaching the screenshot for reference:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Y2iUn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y2iUn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-14T20:03:29.140" LastActivityDate="2019-07-10T06:26:51.287" Title="Installation Error - Cannot validate argument on parameter 'Source'" Tags="|solr|sitecore-install-framework|powershell|" AnswerCount="4" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9117" PostTypeId="2" ParentId="9116" CreationDate="2017-12-20T01:27:24.643" Score="1" Body="&lt;p&gt;Please review your xconnect-solr.json configuration file and make sure you solr configurations are properly set, specially the SorlRoot default value. It should point to the root of your solr installation. &#xA;Also make sure your BaseConfig configuration Default value is set to &quot;basic_configs&quot; and whether this folder exists within your Solr installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't know how you have installed Solr but if you are using Bitnami for example it would live in a path like this &#xA;&quot;Your_Drive:\BitnamiRoot\apache-solr\server\solr\configsets\basic_configs&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;hope this helps&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2017-12-20T01:27:24.643" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9118" PostTypeId="2" ParentId="9116" CreationDate="2017-12-20T01:30:01.597" Score="11" Body="&lt;p&gt;Just observed that in Solr 7.1.0 the folder structure is quite different than 6.6.2. Hence the power shell script is unable to find the required folders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case the script is looking for basic_configs folder in \solr-7.1.0\server\solr\configsets, but the folder in no more exists here in Solr 7.1.0, seeme they moved the related files to to \solr-7.1.0\server\solr\configsets_defaults folder.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Hence switching my Solr back to 6.6.2 as that is the recommended&#xA;  version with Sitecore 9. Was giving a try with the latest version of&#xA;  Solr 7.1.0 but seems it is not compatible.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2017-12-20T04:42:55.753" LastActivityDate="2017-12-20T04:42:55.753" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9119" PostTypeId="2" ParentId="9109" CreationDate="2017-12-20T01:35:02.113" Score="3" Body="&lt;p&gt;As far as i know, Sitecore does not recommend this, Some issues you might run into :&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If your site have access to master Database and tries to update items, these updates will not be synced between all the Multi IIS sites because each IIS site will have its own inconsistent memory cache.&lt;/li&gt;&#xA;&lt;li&gt;Each IIS site will have its own Sitecore memory cache of item/media content, You will end up with inconsistent sitecore cache again when Content gets published from CM -&gt; CD, as not all IIS site will be able to clear and refresh its Sitecore memory, unless you have custom remote event implementation that clears the cache on each Site.&lt;/li&gt;&#xA;&lt;li&gt;Possible log files locks when each IIS site tries to access the same log files and each one waits for the other to finish, this could cause major performance issues.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This link from Sitecore &lt;a href=&quot;https://sdn.sitecore.net/SDN5/Articles/Administration/Configuring%20Multiple%20Sites/Multiple%20IIS%20Sites.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;SDN&lt;/a&gt; talks about this subject, I could not find any newer article about this, But i think the SDN link information still valid for the latest Sitecore releases&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-12-20T01:35:02.113" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9121" PostTypeId="2" ParentId="9115" CreationDate="2017-12-20T03:51:46.773" Score="9" Body="&lt;p&gt;Here are a few solutions I've seen.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Sitecore OOTB&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;@jammykam has a nice &lt;a href=&quot;https://jammykam.wordpress.com/2016/03/11/mass-uploading-media/&quot; rel=&quot;noreferrer&quot;&gt;article&lt;/a&gt; on using the WebDav, file upload (zip), and media watcher features. These are nice because there is not much to setup. You however have no way of getting the item Ids.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;SPE Script&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Himadri wrote an &lt;a href=&quot;https://himadritechblog.wordpress.com/2015/05/02/bulk-loading-images-in-sitecore-media-library-using-sitecore-powershell-extension-spe/&quot; rel=&quot;noreferrer&quot;&gt;article&lt;/a&gt; that probably predates the SPE Remoting module. Here he used a script that was bundled with SPE called &lt;code&gt;Upload-SitecoreFile&lt;/code&gt;. I'm not sure if this still functions but it could be worth a try. The nice part is that you are working from within the Sitecore instance and can essentially write whatever script you want. It also assumes that the files are on the local machine, perhaps &lt;code&gt;$SitecoreDataFolder&lt;/code&gt; would be a good place.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;SPE Script #2&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Mikael shared a &lt;a href=&quot;https://gist.github.com/mikaelnet/00624bd1038bead5eb14&quot; rel=&quot;noreferrer&quot;&gt;gist&lt;/a&gt; to update existing media items. In there he uses the &lt;code&gt;System.IO.FileStream&lt;/code&gt; to read in media files. Perhaps extending this script to upload media that do not yet exist would get you pretty close.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;SPE Script #3&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;@adamnaj wrote a &lt;a href=&quot;https://gist.github.com/AdamNaj/ad2d059c618df2fc4c03&quot; rel=&quot;noreferrer&quot;&gt;gist&lt;/a&gt; which provides both a &lt;code&gt;New-MediaItem&lt;/code&gt; and &lt;code&gt;Update-MediaItem&lt;/code&gt; command that can be used in the Sitecore instance with files on the local machine. After running these commands I would pass the data to &lt;code&gt;Export-Csv&lt;/code&gt; with the item Ids and path.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function New-MediaItem{&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Parameter(Position=0, Mandatory=$true, ValueFromPipeline=$true)]&#xA;        [ValidateNotNullOrEmpty()]&#xA;        [string]$filePath,&#xA;&#xA;        [Parameter(Position=1, Mandatory=$true)]&#xA;        [ValidateNotNullOrEmpty()]&#xA;        [string]$mediaPath&#xA;    )&#xA;&#xA;    $mco = New-Object Sitecore.Resources.Media.MediaCreatorOptions&#xA;    $mco.Database = [Sitecore.Configuration.Factory]::GetDatabase(&quot;master&quot;);&#xA;    $mco.Language = [Sitecore.Globalization.Language]::Parse(&quot;en&quot;);&#xA;    $mco.Versioned = [Sitecore.Configuration.Settings+Media]::UploadAsVersionableByDefault;&#xA;    $mco.Destination = &quot;$($mediaPath)/$([System.IO.Path]::GetFileNameWithoutExtension($filePath))&quot;;&#xA;&#xA;    $mc = New-Object Sitecore.Resources.Media.MediaCreator&#xA;    $mc.CreateFromFile($filepath, $mco);&#xA;}&#xA;&#xA;# Usage example&#xA;New-MediaItem &quot;C:\Users\Adam\Desktop\Accelerators.jpg&quot; &quot;$([Sitecore.Constants]::MediaLibraryPath)/Images&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function Update-MediaItem{&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Parameter(Position=0, Mandatory=$true, ValueFromPipeline=$true)]&#xA;        [ValidateNotNullOrEmpty()]&#xA;        [string]$filePath,&#xA;&#xA;        [Parameter(Position=1, Mandatory=$true)]&#xA;        [ValidateNotNullOrEmpty()]&#xA;        [string]$mediaPath)&#xA;&#xA;    [Sitecore.Data.Items.MediaItem]$item = gi $mediaPath&#xA;    [Sitecore.Resources.Media.Media] $media = [Sitecore.Resources.Media.MediaManager]::GetMedia($item);&#xA;    $extension = [System.IO.Path]::GetExtension($filePath);&#xA;    $stream = New-Object -TypeName System.IO.FileStream -ArgumentList $filePath, &quot;Open&quot;, &quot;Read&quot;&#xA;    $media.SetStream($stream, $extension);&#xA;    $stream.Close();&#xA;}&#xA;&#xA;# Usage example - overwrite the image created with previous cmdlet with new image&#xA;Update-MediaItem &quot;$SitecoreDataFolder\Tchotchkeys.jpg&quot; &quot;$([Sitecore.Constants]::MediaLibraryPath)/Images/Accelerators&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;SPE &lt;code&gt;Receive-File&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you like the ease of use with the OOTB upload wizard, then this command is a good choice. The &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/commands/Receive-File.html&quot; rel=&quot;noreferrer&quot;&gt;book&lt;/a&gt; has examples on the command usage. If you kept it simple, then upload to a custom directory, then use &lt;code&gt;Get-ChildItem&lt;/code&gt; to get all the item Ids. Restructure after the fact per your requirements.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Receive-File -ParentItem (get-item &quot;master:\media library\mymedia&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;SPE Remoting Service&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is usually a popular choice because it can be performed when Sitecore is on the same machine and when it's not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SPE repository contains an example &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/blob/master/Modules/Remoting%20Tests%20-%20Upload%20with%20RemoteScriptCall.Tests.ps1&quot; rel=&quot;noreferrer&quot;&gt;script&lt;/a&gt; that shows how to upload individual files to the media library and then receive the related item GUID. If the item already exists then it can update the existing item (think detach/attach). There is also an example to upload a zip file containing a folder, which should maintain the folder structure.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Conclusion&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;As you can see, everyone has had an approach. Hopefully what you come up with with be even better and you'll share it here ;-)&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2017-12-20T14:45:43.437" LastActivityDate="2017-12-20T14:45:43.437" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9122" PostTypeId="1" CreationDate="2017-12-20T07:24:54.330" Score="3" ViewCount="435" Body="&lt;p&gt;We have enabled the GeoIP service for our production environment but don't get it to work. Let me be more specifc:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The GeoIP test page works meaning we are connected and ip address submitted via the testpage are being located correctly.&lt;/li&gt;&#xA;&lt;li&gt;We also see some visits being located. These are all locations that can visit the cms. Meaning the office of our customer. This might imply only CMS traffic is located or the CD traffic which is not routed via the loadbalancer is being located correctly.&lt;/li&gt;&#xA;&lt;li&gt;We have a loadbalanced environment with 2 CD servers.&lt;/li&gt;&#xA;&lt;li&gt;We configured the loadbalancer to add the x-forwarded-for header to all forwarded requests. We also configured the CD's to work with that.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is the situation. We only see a fraction of the visits being located and only from the customers office. We think we have configured the loadbalancer and CD's correctly but is still doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone point me in the right direction?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE 21-12:&#xA;Hi,&#xA;Thanks alot for replying this elaborate answer.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Using the test GeopIp page from some blogpost, we were able to succesfully retrieve geoip information on the CM server. What you suggest is that the CD should also be allowed to connect to the GeoIp service? Can you confirm this since to my knowledge only the CM server should be allowed to connect to the GeoIp server.&lt;/li&gt;&#xA;&lt;li&gt;we checked the the x-forwarded-for header and it is configured correctly. Meaning no portnumber is added. We used the XdbHelper testpage from &lt;a href=&quot;https://sitecoreblog.marklowe.ch/2017/12/santas-little-xdb-helper/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoreblog.marklowe.ch/2017/12/santas-little-xdb-helper/&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;I can see the GeoIps collection containing some entries. There are far less entries than I would expect and the entries contain N/A for alllocation specific fields.&lt;/li&gt;&#xA;&lt;li&gt;CM and CD's are connected to the same xDB. Connection strings are the same and we see usage information in the analytics dashboard.&#xA;I've got a question about that, though. Is the CM the only one connecting to the geoip service? And if so, can the CM decrypt the hashed IP address placed there by CD?&lt;/li&gt;&#xA;&lt;li&gt;thanks for the reminder ;-).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And one other question. Can I clean up the Locations or GeoIps collection or will this corrupt the integrity of the database?&lt;/p&gt;&#xA;" OwnerUserId="831" LastEditorUserId="831" LastEditDate="2017-12-21T09:25:42.780" LastActivityDate="2017-12-28T09:12:08.577" Title="Getting GeoIP service to work with SC 8.2 initial" Tags="|geo-location|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9124" PostTypeId="1" AcceptedAnswerId="9125" CreationDate="2017-12-20T10:11:53.017" Score="0" ViewCount="237" Body="&lt;p&gt;I installed WFFM and published &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers&lt;/code&gt; from master database to web database using publish subitems and related items option.&#xA;&lt;br/&gt;&#xA;When I opened that item in website database in Form Designer, i got below exception.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Parameter xml is null or empty&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any pointer would be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="2153" LastEditorUserId="2727" LastEditDate="2018-01-21T10:27:45.563" LastActivityDate="2018-01-21T10:27:45.563" Title="WFFM &quot;Parameter xml is null or empty&quot; error on publishing" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9125" PostTypeId="2" ParentId="9124" CreationDate="2017-12-20T10:14:47.300" Score="0" Body="&lt;p&gt;I found that Assembly , Column and Factory templates under the Folder Web Forms for Marketers are not published even when related items is checked at system level form item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Master databse select /sitecore/templates/Web Forms for Marketers and publish with &quot;include subitems&quot; option, then you will be able to see the form in Form Designer properly.&lt;/p&gt;&#xA;" OwnerUserId="2153" LastActivityDate="2017-12-20T10:14:47.300" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9126" PostTypeId="2" ParentId="9122" CreationDate="2017-12-20T11:51:08.797" Score="4" Body="&lt;p&gt;There are a few things to note:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;some web servers have outbound firewalls, now it might be that the CD servers cannot access the GeoIP service&lt;/li&gt;&#xA;&lt;li&gt;make sure the &lt;code&gt;X-Forwarded-For&lt;/code&gt; header is not appending the port number to the client IP - ARR and nginx do that under some configurations&lt;/li&gt;&#xA;&lt;li&gt;IP/geo mapping data is recorded in the xDB MongoDB - check the &lt;code&gt;GeoIps&lt;/code&gt; collection to see if data is going in&lt;/li&gt;&#xA;&lt;li&gt;Both the CD and CM systems access the same xDB, so a mapped geo that's recorded by the CM would be accessible to the CD, even if the CD couldn't execute the geo search itself due to a firewall restriction, for example&lt;/li&gt;&#xA;&lt;li&gt;while GeoIP can be used for personalisation, it's not great for a 'first page' experience because the remote call is often too slow to make the user experience acceptable (I realise you didn't mention this, it's just a good tip to know)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Let me know if these don't meet your circumstances.&lt;/p&gt;&#xA;" OwnerUserId="131" LastEditorUserId="131" LastEditDate="2017-12-28T09:12:08.577" LastActivityDate="2017-12-28T09:12:08.577" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9127" PostTypeId="1" CreationDate="2017-12-20T12:43:05.480" Score="4" ViewCount="294" Body="&lt;p&gt;I have a .NET Core application that sends Interactions to xConnect. I fill some facets and then use the information on a Sitecore website as a POC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am filling the ProfileScores Facet to show interest in Profile Keys and match Patterns. This is working fine the first time i do it, but when i try matching another pattern or show interest in other Profile Keys the ContactBehaviorProfile is not updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The documentation has this to say:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Scores property in the Contact Behavior Profile is replaced each time an interaction with a ProfileScores facet is submitted. The dictionaries are not merged. This ensures that the behavior profile does not go stale. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When i submit an Interaction with ProfileScores the Scores dictionary does not change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked in to the Sitecore.XConnect.Collection.Model.dll and I can not find a ContactBehaviorProfileHandler.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finding that might show me what i (or xConnect) is doing wrong. &#xA;Has anyone seen this problem before?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS: here's some code incase i missed something please let me know&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public async Task&amp;lt;bool&amp;gt; SendInteraction(Interaction i, StoreInfo storeInfo, ProfileScores profileScores, Contact contact)&#xA;    {&#xA;        var cfg = await _xconnect.InitializeXConnect();&#xA;        using (var client = new XConnectClient(cfg))&#xA;        {&#xA;            try&#xA;            {&#xA;                client.SetFacet(i, StoreInfo.DefaultFacetKey, storeInfo);&#xA;                client.SetFacet(i, ProfileScores.DefaultFacetKey, profileScores);&#xA;                //Some facets xConnect expects to not throw null references (DeviceProfile, IpInfo, WebVisit)&#xA;                FillRequiredFacets(client, i, contact);&#xA;                client.AddInteraction(i);&#xA;                await client.SubmitAsync();&#xA;                return true;&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Console.WriteLine(ex);&#xA;                return false;&#xA;            }&#xA;        }&#xA;    }  &#xA;&#xA;//Method that creates the ProfileScores Facet&#xA;public ProfileScores GetProfileScores(Models.Interaction i)&#xA;    {&#xA;        ProfileScores profiles = new ProfileScores();&#xA;        foreach (var e in i.Events)&#xA;        {&#xA;            new Switch(e)&#xA;               .Case&amp;lt;Models.CheckoutEvent&amp;gt;(ev =&amp;gt; AddProfileScore(profiles, new Guid(&quot;35FBC336-5AC5-4043-A911-69DD24458F44&quot;), ev.Products, 4))&#xA;               .Case&amp;lt;Models.EditCartEvent&amp;gt;(ev =&amp;gt; AddProfileScore(profiles, new Guid(&quot;35FBC336-5AC5-4043-A911-69DD24458F44&quot;), new List&amp;lt;Models.Product&amp;gt; { ev.Product }, 2));&#xA;        }&#xA;        return profiles;&#xA;    }&#xA;&#xA;private ProfileScores AddProfileScore(ProfileScores profiles, Guid ProfileKey, List&amp;lt;Models.Product&amp;gt; products, int points)&#xA;    {&#xA;        foreach (Models.Product p in products)&#xA;        {&#xA;            if (profiles.Scores.ContainsKey(ProfileKey))&#xA;            {&#xA;                if (!profiles.Scores[ProfileKey].Values.ContainsKey(ProfileKeys[p.Category]))&#xA;                {&#xA;                    profiles.Scores[ProfileKey].Values.Add(ProfileKeys[p.Category], 0);&#xA;                }&#xA;                profiles.Scores[ProfileKey].Values[ProfileKeys[p.Category]] += points;&#xA;                profiles.Scores[ProfileKey].ScoreCount++;&#xA;                profiles.Scores[ProfileKey].Score += points;&#xA;                profiles.Scores[ProfileKey].MatchedPatternId = ProfilePatterns[p.Category];&#xA;                break;&#xA;            }&#xA;            profiles.Scores.Add(ProfileKey, new ProfileScore()&#xA;            {&#xA;                MatchedPatternId = ProfilePatterns[p.Category],&#xA;                ProfileDefinitionId = ProfileKey,&#xA;                Score = points,&#xA;                ScoreCount = 1,&#xA;                Values = new Dictionary&amp;lt;Guid, double&amp;gt;() { { ProfileKeys[p.Category], points } }&#xA;            });&#xA;        }&#xA;        return profiles;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT: I tried creating my own Calculated Facet to play around with that and hopefully find some insights. The Facet is being created but all values stay empty. I tried writing some information to a file in the UpdateFacet method but that doesn't seem to be doing anything either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT 2: I did not add the Custom Calculated Facet in the config file i was supposed to, i have now got the Custom Calculated Facet working. I have also over written the ContactBehaviourProfile Facet to do some debugging, it looks like the ContactBehaviourProfile Facet Handler is working but in the Experience Profile the contact's matched pattern doesn't change.&lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="2555" LastEditDate="2018-01-09T10:03:08.213" LastActivityDate="2018-01-09T10:03:08.213" Title="xConnect ContactBehaviourProfile not updating" Tags="|experience-profile|xconnect|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9128" PostTypeId="1" CreationDate="2017-12-20T13:14:18.380" Score="0" ViewCount="238" Body="&lt;p&gt;I have the issue with submitting a WFFM form on CD instance hosted in Azure. The message shown after submit is &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Exception has been thrown by the target of an invocation.&quot;&#xA;  (Exception.HideInner is set to false)...&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and I don't see any error in the logs (application insights). If I submit the same form in CM server - all goes well. Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Btw, I set &lt;code&gt;WFM.MasterDatabase&lt;/code&gt; setting to web in  &lt;code&gt;Sitecore.Forms.Xtune.CD.config&lt;/code&gt; and &lt;code&gt;Sitecore.Forms.config&lt;/code&gt; for the CD server...but the same issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Web Forms for Marketers version: 8.2 rev. 170413&lt;/p&gt;&#xA;" OwnerUserId="3006" LastEditorUserId="3006" LastEditDate="2017-12-20T17:44:42.160" LastActivityDate="2017-12-21T09:46:47.453" Title="Exception while submitting a form in WFFM - HideInner is set to false" Tags="|wffm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9129" PostTypeId="1" AcceptedAnswerId="9132" CreationDate="2017-12-20T13:34:23.480" Score="5" ViewCount="516" Body="&lt;p&gt;Question on 8.2 updated-6 upgrade, the documentation states: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;If you are upgrading from Sitecore 8.1 rev. 151003 (Initial Release) or later, you can upgrade directly to Sitecore 8.2 rev. 171121 (Update-6). However, if your solution is based on an earlier version of Sitecore, you must first upgrade to Sitecore 8.1 rev. 151003 (Initial Release).&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;but lists the following update package as a prerequisite:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore 8.2 rev 170728 (Update-5) Update Package&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I assume that this is a typo because the guide describes installing only Sitecore 8.2 rev.171121.update.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone else confirm this?&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="312" LastEditDate="2017-12-25T05:52:24.863" LastActivityDate="2017-12-25T05:52:24.863" Title="Sitecore 8.2 Update 6 Upgrade Question" Tags="|upgrade|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9131" PostTypeId="2" ParentId="9104" CreationDate="2017-12-20T14:13:28.487" Score="8" Body="&lt;p&gt;It appears that the post by Marek Musielak will work.  Adding a .Select to the query DOES change how the fl parameter is built.  So the solution outlined in the post &lt;a href=&quot;http://bartlomiejmucha.com/en/blog/search-query-performance-from-800ms-to-70ms/&quot; rel=&quot;noreferrer&quot;&gt;http://bartlomiejmucha.com/en/blog/search-query-performance-from-800ms-to-70ms/&lt;/a&gt; does apply to Sitecore 8.1 as well&lt;/p&gt;&#xA;" OwnerUserId="2999" LastActivityDate="2017-12-20T14:13:28.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9132" PostTypeId="2" ParentId="9129" CreationDate="2017-12-20T14:13:29.140" Score="8" Body="&lt;p&gt;&lt;strong&gt;This is a typo in the upgrade guide. It should state &lt;em&gt;Sitecore 8.2 rev. 171121 (Update-6) Update Package&lt;/em&gt;.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In more recent versions of the upgrade process, Sitecore has changed the way they allow the update process to take place. If you take a look at the &lt;code&gt;.update&lt;/code&gt; package you will notice it is much larger than previously (&lt;em&gt;Sitecore 8.2 rev. 171121.update&lt;/em&gt; is 466MB in size) and contains several update packages:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HY27n.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HY27n.png&quot; alt=&quot;Update Package&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you run the update installation wizard you are also present with the wizard step to select your current version of Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/neHOJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/neHOJ.png&quot; alt=&quot;Update package selection&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The wizard should be clever enough to detect your current version of Sitecore and pick the correct version automatically (the above will only appear if it fails to detect it):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MIYtg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MIYtg.png&quot; alt=&quot;Upgrade&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This &quot;multi-step&quot; upgrade path has been available for several (minor) releases now and allows a more direct upgrade, but make sure you have followed all the pre-install steps including upgrading the Sitecore Update Installation Wizard itself, a separate upgrade package is available and the above relies on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To answer your question directly, yes it is possible to directly upgrade from your current version but the upgrade documentation seems misleading. You should confirm this with Sitecore Support and ask them to correct the documentation accordingly.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2017-12-20T14:44:41.173" LastActivityDate="2017-12-20T14:44:41.173" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9133" PostTypeId="1" AcceptedAnswerId="9136" CreationDate="2017-12-20T14:54:38.437" Score="7" ViewCount="2035" Body="&lt;p&gt;We are upgrading from 6.4 to 8.2 and we have some custom login pages for several clients. I used to be able to do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (&#xA;(System.Web.Security.Membership.GetUser(usernameBox.Text).IsApproved) &amp;amp;&amp;amp;&#xA;(Sitecore.Security.Authentication.AuthenticationManager.Login(usernameBox.Text, passwordBox.Text, false))                &#xA;)&#xA;{&#xA;    redirectUrl = Page.Request.Url.GetLeftPart(System.UriPartial.Authority) + &quot;/sitecore/shell/default.aspx&quot;;&#xA;    Response.Redirect(redirectUrl);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But if I do that now it sends me to the default Sitecore login page. I know that it logins them in and as long as I don't try to get into the content management part it is fine. It is like they are not getting the right cookie. Do I need to use something besides AuthenticationManager?&lt;/p&gt;&#xA;" OwnerUserId="2614" LastActivityDate="2017-12-20T16:57:34.640" Title="Login programmatically in Sitecore 8.2" Tags="|upgrade|login|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9134" PostTypeId="2" ParentId="9129" CreationDate="2017-12-20T15:04:57.923" Score="4" Body="&lt;p&gt;This is a typo. When upgrading to 8.2 Update-6, you should be using the 8.2 Update-6 package. As others have pointed out, if you meet the minimum version requirement the update package will contain all the steps required to jump to the latest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use 8.2 Update-5, it will only get you as far as Update-5. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A fix for the documentation should be made soon, but you are correct to ignore this as a typo in the 8.2 Update-6 documentation.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2017-12-20T15:04:57.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9135" PostTypeId="1" CreationDate="2017-12-20T15:39:01.547" Score="2" ViewCount="942" Body="&lt;p&gt;So I need to retrieve an item using the sitecore API. So firstly, I need to log in, Im following what this site states: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But then again, Im getting a 401 unauthorized error with the right credentials (I tested it loggin in the browser). There it says that  loggin in only responds over HTTPS. How can I access an item using the sitecore API if I the sitecore web site doesnt use Https ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8&lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="2537" LastEditDate="2017-12-20T16:21:09.170" LastActivityDate="2018-03-28T12:56:44.867" Title="ItemWebService not working" Tags="|sitecore-api|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9136" PostTypeId="2" ParentId="9133" CreationDate="2017-12-20T15:54:55.707" Score="10" Body="&lt;p&gt;You have &lt;strong&gt;redirect user to &quot;/sitecore&quot; instead&lt;/strong&gt;. You will also need to create the cookie by calling &lt;code&gt;createticket&lt;/code&gt; function. Here's a snippet of what should be called after &lt;code&gt;AuthenticationManager.Login&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;AuthenticationManager.Login(userName);&#xA;string ticket = Sitecore.Web.Authentication.TicketManager.CreateTicket(userName, @&quot;/sitecore/shell&quot;);&#xA;HttpContext current = HttpContext.Current;&#xA;if (current != null)&#xA;{&#xA;    HttpCookie cookie = new HttpCookie(Sitecore.Web.Authentication.TicketManager.CookieName, ticket)&#xA;    {&#xA;        HttpOnly = true&#xA;    };&#xA;    current.Response.AppendCookie(cookie);    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure you test item preview and experience editor as you might experience other issues.&lt;/p&gt;&#xA;" OwnerUserId="88" LastEditorUserId="88" LastEditDate="2017-12-20T16:57:34.640" LastActivityDate="2017-12-20T16:57:34.640" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9137" PostTypeId="2" ParentId="9104" CreationDate="2017-12-20T15:59:16.243" Score="1" Body="&lt;p&gt;While limiting the amount of data being returned is a route to take, sometimes this may not be an option and is a linear solution to performance issues. One very big performance improvement, which many Sitecore developers don't know about, is the use of the &lt;code&gt;Filter&lt;/code&gt; LINQ extension.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Where&lt;/code&gt; LINQ extension builds your query against the &lt;code&gt;q&lt;/code&gt; (&lt;a href=&quot;https://wiki.apache.org/solr/CommonQueryParameters#q&quot; rel=&quot;nofollow noreferrer&quot;&gt;query&lt;/a&gt;) parameter in Solr. This parameter is primarily used for when you need scoring/weighting on your query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use the &lt;code&gt;Filter&lt;/code&gt; method, it will add the query to the &lt;code&gt;fq&lt;/code&gt; (&lt;a href=&quot;https://wiki.apache.org/solr/CommonQueryParameters#fq&quot; rel=&quot;nofollow noreferrer&quot;&gt;Filter Query&lt;/a&gt;) parameter. This is much faster because Solr utilises it's own caching to speed up the performance of these queries and doesn't run any scoring on the query. You would normally use this when scoring on a field/query doesn't make sense.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of doing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;queryable.Where(i =&amp;gt; i.TemplateId == templateId &amp;amp;&amp;amp; i.Content.Contains(&quot;test&quot;))&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can change it to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;queryable.Where(i =&amp;gt; i.Content.Contains(&quot;test&quot;)).Filter(i =&amp;gt; i.TemplateId == templateId)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This latter query to Solr will result in a quicker response time. We don't need scoring on the template ID because that will either be true or false. Scoring on the Content field does make sense because we will want Solr to rank the results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A general rule of thumb when deciding whether to use &lt;code&gt;Where&lt;/code&gt; or &lt;code&gt;Filter&lt;/code&gt; is to ask yourself the following question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Does the field I'm querying against result in a boolean?&lt;/strong&gt; If it does then you should use &lt;code&gt;Filter&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="720" LastActivityDate="2017-12-20T15:59:16.243" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9139" PostTypeId="2" ParentId="9135" CreationDate="2017-12-20T17:40:53.080" Score="2" Body="&lt;p&gt;Unfortunately, your site needs to be secured.  There's no way to override the HTTPS requirement unless you override the /ssc/auth route and use your own login mechanism.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE: I don't recommend below but if you MUST really not have HTTPS...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do this by updating the &lt;code&gt;Sitecore.Services.RouteMapper&lt;/code&gt; setting in the &lt;code&gt;Sitecore.Services.Client.config&lt;/code&gt;.  Reflect the &lt;code&gt;DefaultMapper&lt;/code&gt; and override the &lt;code&gt;MapRoutes&lt;/code&gt; method that defines the &quot;auth&quot; route.  You'll notice that it's pointing to &lt;code&gt;Sitecore.Services.Infrastructure.Sitecore.Mvc.ServicesAuthenticationController&lt;/code&gt;.  So, you'll need to copy that and essentially remove the &lt;code&gt;&quot;RequireHttps&quot;&lt;/code&gt; attribute on the &lt;code&gt;Login&lt;/code&gt; method.  Point your new auth route to this new controller.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With regards to more details on the SSC, you may want to check the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/75/developer&amp;#39;s_guide_to_sitecore.services.client_sc75-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;7.5 documentation&lt;/a&gt; as it has a lot more examples.  Most of it still applies. &lt;/p&gt;&#xA;" OwnerUserId="2972" LastEditorUserId="2972" LastEditDate="2017-12-20T18:42:36.740" LastActivityDate="2017-12-20T18:42:36.740" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9141" PostTypeId="1" AcceptedAnswerId="9142" CreationDate="2017-12-20T18:27:36.130" Score="6" ViewCount="999" Body="&lt;p&gt;I'm currently trying to identify a contact using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.Identify(user)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and an exception keeps being thrown &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;this.Contact should not be null&quot;. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Debugging confirms that &lt;code&gt;Tracker.Current.Session.Contact&lt;/code&gt; is indeed null. All the blog posts and Sitecore documentation I've read, mention nothing about Contact possibly being null when identifying a contact. This is all being run in an &lt;code&gt;httpRequestProcessed&lt;/code&gt; pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the possible reason to get the contact as null in current session?&lt;/p&gt;&#xA;" OwnerUserId="3007" LastEditorUserId="1671" LastEditDate="2017-12-20T18:57:06.913" LastActivityDate="2017-12-20T18:57:06.913" Title="Sitecore.Analytics.Tracker.Current.Session.Contact Is Null" Tags="|experience-analytics|pipelines|tracking|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9142" PostTypeId="2" ParentId="9141" CreationDate="2017-12-20T18:35:04.057" Score="9" Body="&lt;p&gt;Make sure it runs before the &lt;code&gt;Sitecore.Analytics.Pipelines.HttpRequest.EndAnalytics&lt;/code&gt; processor in the &lt;code&gt;httpRequestProcessed&lt;/code&gt;  pipeline.  Otherwise, the contact is set to null in the &lt;code&gt;EndAnalytics&lt;/code&gt; pipeline by &lt;code&gt;Sitecore.Analytics.Pipelines.EndAnalytics.ReleaseContact&lt;/code&gt; processor.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastEditorUserId="277" LastEditDate="2017-12-20T18:36:58.647" LastActivityDate="2017-12-20T18:36:58.647" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9143" PostTypeId="1" CreationDate="2017-12-21T08:13:09.223" Score="9" ViewCount="3326" Body="&lt;p&gt;I want to check the max number of concurrent Sitecore users on a specific license, Is there any way to obtain this information from the license file or any admin page? sometimes the license details popup does not have the max concurrent users in the purpose section.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sjP91.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sjP91.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1122" LastActivityDate="2023-03-16T10:34:38.967" Title="Number of concurrent Sitecore Users" Tags="|sitecore-client|licensing|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9144" PostTypeId="2" ParentId="9143" CreationDate="2017-12-21T08:42:00.250" Score="8" Body="&lt;p&gt;Open the license file (license.xml) and search for: &lt;code&gt;'&amp;lt;Object Id=&quot;SiteCore.EditorUser&quot;'&lt;/code&gt;, inside this element you should find a &lt;code&gt;&amp;lt;name&amp;gt;SiteCore.EditorUser&amp;lt;/name&amp;gt;&amp;lt;count&amp;gt;3&amp;lt;/count&amp;gt;&lt;/code&gt;. &#xA;The count should be the number of allowed users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the purpose section only shows for client licenses and not development licenses. It appears to be empty in development license.xml file&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="490" LastEditDate="2017-12-21T11:14:35.443" LastActivityDate="2017-12-21T11:14:35.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9145" PostTypeId="2" ParentId="9128" CreationDate="2017-12-21T09:46:47.453" Score="-1" Body="&lt;p&gt;this was the issue and the fix: &lt;a href=&quot;http://sitecorexdb.blogspot.com.by/2017/02/InvalidCastException.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorexdb.blogspot.com.by/2017/02/InvalidCastException.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks all for help!&lt;/p&gt;&#xA;" OwnerUserId="3006" LastActivityDate="2017-12-21T09:46:47.453" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9146" PostTypeId="1" CreationDate="2017-12-21T14:03:43.980" Score="6" ViewCount="738" Body="&lt;p&gt;I have read various implementation approaches to render images in desktop/mobile view without cropping/stretching it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Last time I had a chat with a fellow developer, they insisted on having a separate field for mobile image on a content item - so in all 2 fields, one for desktop image and one for mobile. I reckon that makes things hard for the content authors. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best/easiest approach to address this issue - most efficient solution to have just one field for image for content authors to manage, yet have the image render nicely on different breakpoints without stretching them for larger breakpoints? Is that even possible? If not, which is the most user friendly way to implement this?&lt;/p&gt;&#xA;" OwnerUserId="2671" LastEditorUserId="2671" LastEditDate="2017-12-21T15:52:46.123" LastActivityDate="2017-12-21T16:48:30.150" Title="Images for different breakpoints" Tags="|content-editor|media-library|css|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9147" PostTypeId="1" AcceptedAnswerId="13627" CreationDate="2017-12-21T14:45:48.537" Score="0" ViewCount="454" Body="&lt;p&gt;I am sending email from Sitecore EXM 3.3. The email has a list of the Article as links on top and detailed articles list are at the bottom of the email. When user will click on an article link, the page should scroll to specific article item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Article Anchor List code is being rendered by EXM as (HREF is being auto-generated)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a style=&quot;color: #666666; display: block; text-decoration: none;&quot; href=&quot;#Article_01&quot;&amp;gt;Article 01&amp;lt;/a&amp;gt;&#xA;&#xA;&amp;lt;a style=&quot;color: #666666; display: block; text-decoration: none;&quot; href=&quot;#Article_02&quot;&amp;gt;Article 02&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the bottom Article list is being rendered by EXM as &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a name=&quot;Article_01&quot; href=&quot;&quot;&amp;gt;&amp;lt;/a&amp;gt;&#xA;&#xA;&amp;lt;a name=&quot;Article_02&quot; href=&quot;&quot;&amp;gt;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have changed href=&quot;&quot; to href=&quot;#&quot; and removed href also. But it's not working.&#xA;Every article has Image and text also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The HTML code is working fine in all Browsers but not working in Outlook and Gmail Client.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks a lot.&lt;/p&gt;&#xA;" OwnerUserId="814" LastActivityDate="2018-08-31T07:02:32.583" Title="Anchor tag not scrolling in EXM Generated in Outlook and GMail" Tags="|exm|sitecore-query|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9148" PostTypeId="2" ParentId="9146" CreationDate="2017-12-21T14:59:23.323" Score="0" Body="&lt;p&gt;This really depends on a lot of factors.  If the dimensions of the image will be different in different devices, than it's going to be challenging to use the Sitecore Resizing/Cropping ability to handle that scenario, because the image may get cropped incorrectly, so in that case it's probably best to have different images per aspect ratio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If however on your item you have a mobile and desktop version that are at an identical aspect ratio, than you should really look at ways of keeping this to just one field (Like you said, having multiple will add additional work for the content editor, which isn't ideal).  In the one field, you can make sure the user uploads the largest image size (for desktop) and then you can either handle the shrinking of the image with CSS or you could do this with the Sitecore image crop/resizing functionality.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-12-21T14:59:23.323" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9149" PostTypeId="2" ParentId="9143" CreationDate="2017-12-21T15:08:18.053" Score="4" Body="&lt;p&gt;The screen shot you show looks like is a partner license. &#xA;As far I know for a live environment license you see number of concurent users and other details : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BhmBH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BhmBH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2017-12-21T15:08:18.053" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9150" PostTypeId="1" CreationDate="2017-12-21T15:19:33.557" Score="7" ViewCount="589" Body="&lt;p&gt;This is for Sitecore 8.2 update-5 version and SXA 1.5 .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have configured item fallback language in the settings of my site : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fjG5r.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fjG5r.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iSHuK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iSHuK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, we have implemented a partial design with json content that contains two contents json also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zNcIN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zNcIN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each content json is attached a specific variant&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4CKDC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4CKDC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is when we view a page in a language other than English. I do not have the same return json. However, all items in the variant definition are configured with the &quot;enable item fallback&quot; field checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that in the variant that returns the site tree, there are queries? I do not know if there is this notion of fallback.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lx8Oo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lx8Oo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you for your help.&lt;/p&gt;&#xA;" OwnerUserId="2166" LastActivityDate="2019-03-19T11:31:54.383" Title="SXA &amp; Item Language Fallback" Tags="|sxa|language-fallback|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9151" PostTypeId="1" AcceptedAnswerId="9152" CreationDate="2017-12-21T16:07:30.297" Score="8" ViewCount="266" Body="&lt;p&gt;I noticed that when I access the login page, the Edge browser logs that &lt;code&gt;HTTPS security is compromised&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pDNPx.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pDNPx.png&quot; alt=&quot;Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to change the url to HTTPS?&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="2890" LastEditDate="2018-02-14T19:04:47.363" LastActivityDate="2018-02-14T19:04:47.363" Title="How to make calls to sdn.sitecore.net startpage.aspx over HTTPS?" Tags="|configuration|login|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9152" PostTypeId="2" ParentId="9151" CreationDate="2017-12-21T16:12:41.317" Score="9" Body="&lt;p&gt;You can update the &lt;code&gt;Login.SitecoreUrl&lt;/code&gt; config setting to point to an https url, the login page uses this setting as the src of the iframe:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Login.SitecoreUrl&quot; set:value=&quot;https://sdn.sitecore.net/startpage.aspx&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2017-12-21T16:12:41.317" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9153" PostTypeId="2" ParentId="9146" CreationDate="2017-12-21T16:12:41.580" Score="6" Body="&lt;p&gt;One option is to use &lt;code&gt;sizes&lt;/code&gt; &lt;code&gt;srcset&lt;/code&gt; on your &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; element. I've recently been a project where this was the approach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set it up like this. Example from a Razor View.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;@Model.ImageUrl&quot; sizes=&quot;(max-width: 764px) 50vw, 25vw&quot; srcset=&quot;@Model.ImageSrcSet&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While this technically does not give you options for mobile devices, it does give you something along the lines of what you are asking.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about &lt;code&gt;sizes&lt;/code&gt; and &lt;code&gt;srcset&lt;/code&gt; here: &lt;a href=&quot;https://bitsofco.de/the-srcset-and-sizes-attributes/&quot; rel=&quot;noreferrer&quot;&gt;Responsive Images - The srcset and sizes Attributes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Sitecore side of things, you need to generate a list of Image Urls for the image. With different &lt;code&gt;maxWidth&lt;/code&gt; constraints.  One way to achieve that, is something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ImageField imageField = item.Fields[imageFieldName];&#xA;if (imageField?.MediaItem != null /*&amp;amp;&amp;amp; imageField.MediaItem.Versions.Count &amp;gt; 0*/)&#xA;{&#xA;    var imageUrl = HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = maxWidth}));&#xA;&#xA;    // ReSharper disable once UseObjectOrCollectionInitializer&#xA;    var urls = new List&amp;lt;string&amp;gt;();&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 100})) + &quot; 100w&quot;);&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 200})) + &quot; 200w&quot;);&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 300})) + &quot; 300w&quot;);&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 400})) + &quot; 400w&quot;);&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 500})) + &quot; 500w&quot;);&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 600})) + &quot; 600w&quot;);&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 1150})) + &quot; 1150w&quot;);&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 1290})) + &quot; 1290w&quot;);&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 1440})) + &quot; 1440w&quot;);&#xA;    urls.Add(HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(imageField.MediaItem, new MediaUrlOptions {MaxWidth = 1920})) + &quot; 1920w&quot;);&#xA;&#xA;    return new Tuple&amp;lt;string, string&amp;gt;(imageUrl, string.Join(&quot;,&quot;, urls));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Be sure to call in with a reasonable maxwidth as default, something like 300 or whatever is appropriate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The upside to this; the device will try and download the most appropriate image resolution for the display device. Which is good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The downside to this; many mobile phones have very high resolution displays on a very small surface area. This approach can still end up selecting a too high resolution image for a 3G connection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said; even if you DID do a 2nd field for &quot;mobile images&quot; - you would still need to determine &quot;mobile&quot;.  If you're going to do that based on device parameters - well then the above solution will do just as well.  If - however - you aim to download the &quot;mobile&quot; image when the phone (or any device) is on a slow(ish) connection - well then you need something different.  I'm not even sure how you could detect this.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2017-12-21T16:48:30.150" LastActivityDate="2017-12-21T16:48:30.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9154" PostTypeId="1" AcceptedAnswerId="9158" CreationDate="2017-12-21T18:00:19.970" Score="2" ViewCount="403" Body="&lt;p&gt;I've noticed that in &lt;code&gt;/sitecore/layout&lt;/code&gt; there is a &lt;code&gt;Controllers&lt;/code&gt; folder (first item underneath actually). In that folder you can add items of type &lt;code&gt;Controller&lt;/code&gt;. These items have fields for a controller name and action name, so they seem to map to some mvc code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did check the links of the template and noticed one usage (&lt;code&gt;/sitecore/system/Settings/Rules/Insert Options/Rules/MVC Controllers&lt;/code&gt;) but this rule is for setting insert options on the folders in the Controllers section in Layouts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my question is: what is the purpose of these items? How could I use them? And why?&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="1671" LastEditDate="2017-12-21T23:25:52.923" LastActivityDate="2017-12-21T23:25:52.923" Title="What is purpose of the Controllers folder in Layouts?" Tags="|presentation|mvc|controller|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9155" PostTypeId="2" ParentId="5772" CreationDate="2017-12-21T18:04:17.827" Score="0" Body="&lt;p&gt;As a workaround, we ended up creating a custom media provider.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;MediaProvider.cs&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Resources.Media;&#xA;using Sc = Sitecore;&#xA;&#xA;namespace Wsb.Sitecore.Media&#xA;{&#xA;    public class MediaProvider : Sc.Resources.Media.MediaProvider&#xA;    {&#xA;        public override string GetMediaUrl(MediaItem item)&#xA;        {&#xA;            return base.GetMediaUrl(item)&#xA;                .Replace(&quot;la=en&quot;, &quot;&quot;)&#xA;                .Replace(&quot;?&amp;amp;&quot;, &quot;?&quot;)&#xA;                .Replace(&quot;??&quot;, &quot;?&quot;)&#xA;                .TrimEnd('?')&#xA;                ;&#xA;        }&#xA;&#xA;        public override string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;        {&#xA;            return base.GetMediaUrl(item, options)&#xA;                .Replace(&quot;la=en&quot;, &quot;&quot;)&#xA;                .Replace(&quot;?&amp;amp;&quot;, &quot;?&quot;)&#xA;                .Replace(&quot;??&quot;, &quot;?&quot;)&#xA;                .TrimEnd('?')&#xA;                ;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Wsb.Sitecore.Media.config&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;mediaLibrary&amp;gt;&#xA;            &amp;lt;mediaProvider type=&quot;Sitecore.Resources.Media.MediaProvider, Sitecore.Kernel&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Wsb.Sitecore.Media.MediaProvider, Wsb.Sitecore.Media&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/mediaProvider&amp;gt;&#xA;        &amp;lt;/mediaLibrary&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="288" LastActivityDate="2017-12-21T18:04:17.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9158" PostTypeId="2" ParentId="9154" CreationDate="2017-12-21T22:40:26.807" Score="5" Body="&lt;p&gt;I think it's just another way of creating Controller rendering, You basically create Controller item (Of template &lt;strong&gt;&lt;em&gt;/sitecore/templates/System/Layout/Controller&lt;/em&gt;&lt;/strong&gt;) and enter the &lt;code&gt;Controller Name&lt;/code&gt; (&lt;strong&gt;&lt;em&gt;YourNamespace.ControllerClassName&lt;/em&gt;&lt;/strong&gt;) and &lt;code&gt;Controller Action&lt;/code&gt; (default is index if blank), Then when you create your controller rendering item you enter the Controller item name that you created previously in &lt;strong&gt;Controller&lt;/strong&gt; field, and you leave &lt;strong&gt;Controller Action&lt;/strong&gt; field empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It does not really give you that much of a benefit unless you think it helps to separate all of your controller definitions in that Controllers folder, and then reference it from the controller renderings in renderings folder&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2017-12-21T22:40:26.807" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9159" PostTypeId="1" AcceptedAnswerId="9160" CreationDate="2017-12-22T00:20:19.250" Score="2" ViewCount="583" Body="&lt;p&gt;After successfully deploying the AD module in Sitecore, complete with members, roles, and profiles, we have now encountered an issue where Sitecore crashes when adding in a second domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rxUIK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rxUIK.png&quot; alt=&quot;Error message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is causing this error and is it possible to overcome it?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-01-21T00:40:51.237" Title="Provider name cannot be null error using Active Directory" Tags="|active-directory-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9160" PostTypeId="2" ParentId="9159" CreationDate="2017-12-22T00:20:19.250" Score="2" Body="&lt;p&gt;Turns out if you RTFM you can avoid this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a clue in this &lt;a href=&quot;http://developmentsitecore.blogspot.com/2016/01/issue-sitecore-ad-module-throws-error.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;post&lt;/a&gt; where the author mentions the ports required. Further reading, the installation &lt;a href=&quot;https://dev.sitecore.net/Downloads/Active_Directory/1_3/Active_Directory_1_3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;document&lt;/a&gt; provided on the Sitecore portal indicates the required ports.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2.1.1 Prerequisites&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Active Directory requires that port 389 is open by default:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;389 — for client communications&#xA;445 — for Active Directory Profile Provider&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;After running some tests using &lt;code&gt;Test-NetConnection&lt;/code&gt;, I was able to confirm that the port is not open for the second domain controller.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9BDUC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9BDUC.png&quot; alt=&quot;Testing&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Options&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Remove profile settings for the second domain and live without those properties populating.&lt;/li&gt;&#xA;&lt;li&gt;Get port 445 opened.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="95" LastActivityDate="2017-12-22T00:20:19.250" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9161" PostTypeId="1" CreationDate="2017-12-22T08:09:22.367" Score="9" ViewCount="216" Body="&lt;p&gt;Currently, I'm using facet to filter the search result. The result works perfectly fine with SOLR but when I switch to Azure it doesn't work anymore. The result shows all although I added filter criteria. While troubleshooting this by debugging, I found that the virtual field &lt;strong&gt;content_type&lt;/strong&gt; is missing from Cloud Field Name Map, then I assume that the virtual field cannot generate in Azure Search or I missed some configuration with it. I hope to receive feedback from you guys. Thank you very much.&lt;/p&gt;&#xA;&lt;p&gt;Ps: I think the issue comes from item &lt;strong&gt;[facet.FieldName]&lt;/strong&gt;. This field cannot be generated when queryable is executed.&lt;/p&gt;&#xA;&lt;p&gt;Below is the source code for filtering by facet&#xA;&lt;a href=&quot;https://i.stack.imgur.com/eaVcO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eaVcO.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;My facet is defined in Sitecore content as below&#xA;&lt;a href=&quot;https://i.stack.imgur.com/gwgB4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gwgB4.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;and this is its configuration&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1J4IA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1J4IA.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;and &lt;strong&gt;Cloudfieldmap&lt;/strong&gt; cannot find virtual field &lt;strong&gt;content_type&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YsOmb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YsOmb.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3014" LastEditorUserId="4817" LastEditDate="2021-05-10T16:29:36.973" LastActivityDate="2021-05-10T16:29:36.973" Title="Virtual field not working with Azure" Tags="|content-search|azure-search|search-facet|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="9162" PostTypeId="1" CreationDate="2017-12-22T08:50:38.023" Score="4" ViewCount="196" Body="&lt;p&gt;A question popped up yesterday when I was discussing MV testing with a client.&lt;/p&gt;&#xA;&lt;p&gt;When starting a MV test, there is the option to automatically select a winner after either the result is statistically significant (90/95/99% options) or when the duration of the test has passed.&lt;/p&gt;&#xA;&lt;p&gt;In case you want to manually select a winner, you need to access the test results and then pick a winner based on all kinds of information (clicks, conversions).&lt;/p&gt;&#xA;&lt;p&gt;However, in this case the client wants Sitecore to pick the winner. But some time after Sitecore picks a winner, the client wants to view the test results dialog to see the test details.&lt;/p&gt;&#xA;&lt;p&gt;There seems to be no way to access the test results dialog AFTER an MV test is completed.&lt;/p&gt;&#xA;&lt;p&gt;Is this a bug or just missing functionality? In my opinion historical MV test results should stay accessible...&lt;/p&gt;&#xA;&lt;p&gt;We're on 8.2 initial currently by the way.&lt;/p&gt;&#xA;" OwnerUserId="534" LastEditorUserId="4390" LastEditDate="2022-01-03T14:09:10.197" LastActivityDate="2022-01-03T14:09:10.197" Title="View MV test results after finishing a test" Tags="|content-testing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="9163" PostTypeId="1" CreationDate="2017-12-22T08:57:22.993" Score="12" ViewCount="836" Body="&lt;p&gt;On our current system XDB is grown very large,  the interactions DB is around 80% of the total database size, followed by KeyBehaviourCache at 5% then GeoIps and Contacts at 4%. We need to reduce the size to keep it maintainable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some ideas I have had on reducing the size:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Delete all data in the interactions table over a certain age.&lt;/li&gt;&#xA;&lt;li&gt;Only keep X number of interactions per contact (only a good solution if we have a lot of repeat contacts).&lt;/li&gt;&#xA;&lt;li&gt;Delete all interaction data and rely only on the key behaviour cache. &lt;/li&gt;&#xA;&lt;li&gt;Delete all data over X number of days old. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Has anyone tried any of the above? What other techniques are being used to reduce the size of the XDB Mongo database? What impact has there been on performance when running cleanup tasks?&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="70" LastEditDate="2017-12-22T15:26:12.183" LastActivityDate="2018-01-21T16:45:29.350" Title="Sitecore XDB cleanup to limit size" Tags="|xdb|mongodb|xdb-cloud|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9164" PostTypeId="2" ParentId="9163" CreationDate="2017-12-22T10:02:34.020" Score="2" Body="&lt;p&gt;We have tried this with an adapted version of &lt;a href=&quot;https://marketplace.sitecore.net/Modules/A/Analytics_Database_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/A/Analytics_Database_Manager.aspx&lt;/a&gt; Was going to release the adapted version, but will upgrade it to xConnect first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our approach is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Filter our robots in a better way than the default (we have a custom filter in place that works with wildcards, otherwise it is impossible to keep up with a good robots lists). Also don't forget your own &quot;robots&quot; here: custom crawlers (e.g. for search indexes) or monitoring tools&lt;/li&gt;&#xA;&lt;li&gt;Periodically use the cleanup tool. Strategy here depends on the customer. But mostly we delete the data over X days old. It can takes ages.. (weeks). But impact on the production environment is almost none. The Mongo takes more CPU while processing this but can take it. We do need to check server recycles though.. as it recycles, the cleanup job stops so we need to restart it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Still not a perfect solution. But it did help to remove a few (lot) GB and save some money.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-12-22T10:08:31.937" LastActivityDate="2017-12-22T10:08:31.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9165" PostTypeId="1" CreationDate="2017-12-22T11:48:38.890" Score="0" ViewCount="60" Body="&lt;p&gt;I would like to know where the following report read its content from, I have a data that doesn't make sense and I am trying to trouble shoot:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PqnOs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PqnOs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="200" LastEditorUserId="1671" LastEditDate="2017-12-22T14:14:33.737" LastActivityDate="2017-12-22T14:14:33.737" Title="Sitecore IP Geo location service lookups report" Tags="|experience-analytics|reporting|geo-location|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9166" PostTypeId="2" ParentId="8722" CreationDate="2017-12-22T13:28:59.690" Score="2" Body="&lt;p&gt;The final answer from support:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can enable Transparent Data Encryption (TDE) on your SQL Server and there is no limitation to do it because SQL Server Transparent Data Encryption does not affect &quot;Sitecore - SQL Server&quot; communication.&#xA;It affects how SQL Server stores data in the encrypted database.&#xA;Sitecore uses standard .NET techniques to communicate to SQL server (it utilizes SqlConnection .NET Framework class), therefore, all changes to &quot;Sitecore - SQL Server&quot; communication which are transparent for .NET SQL connection are transparent for the Sitecore application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should also pay attention that even after you have SQL server configured to encrypt the content of the database communication between SQL server and Sitecore application will be still unencrypted.  &lt;/p&gt;&#xA;" OwnerUserId="627" LastActivityDate="2017-12-22T13:28:59.690" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9167" PostTypeId="1" CreationDate="2017-12-22T13:59:06.090" Score="9" ViewCount="1273" Body="&lt;p&gt;I need to reach next behavior for sitecore General Link type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there is {token} word in a link, in my code it should be replaced with some word. Everewhere.&#xA;General Links in my project are everywhere, so it would be nice to use something like type constructor or getter just to replace that token.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone advice me how to reach this?&#xA;Maybe i should use something like pipelines in sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To explain my needs better, let's imagine i have such link on my site.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/LmkNa.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LmkNa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this link is in controller rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question is How to replace this &quot;{{token}}&quot; with something that i need before it is rendered in partial view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Actually i need to replace all such tokens in every link on my site.&lt;/p&gt;&#xA;" OwnerUserId="3015" LastEditorUserId="1671" LastEditDate="2017-12-28T12:23:09.737" LastActivityDate="2017-12-28T12:23:09.737" Title="Using custom tokens in Sitecore" Tags="|sitecore-client|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9171" PostTypeId="1" CreationDate="2017-12-24T08:03:20.597" Score="0" ViewCount="452" Body="&lt;p&gt;We have the sitecore azure module installed, and everything seems to be fine.  However, when we attempt to spin up an editing or a delivery farm, we get the following error message:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;4‎/‎11‎/‎‎2017 ‎6‎:‎07‎:‎49‎ ‎PM111DevEusCd02Role01PScAd1Production&#xA;[P] '[XXX]Sitecore_Core' - Transfer data failed&#xA;System.ApplicationException: 111DevEusCd02Role01PScAd1Production [P]&#xA;'[XXX]Sitecore_Core' - Transfer data failed ---&amp;gt;&#xA;System.Data.SqlClient.SqlException: Invalid object name&#xA;'AccessControl'. at&#xA;Sitecore.Azure.Pipelines.DeployDatabase.DeployDatabasePipelineProcessor.DoDeploy[T](Func3&#xA;func, Int32 repeat, IEnumerable1 objects, Database targetDatabase,&#xA;Action1 exceptionCallBack) at&#xA;Sitecore.Azure.Pipelines.DeployDatabase.DeployDatabasePipelineProcessor.DoDeploy[T](Func3&#xA;func, Int32 numThreads, Int32 repeat, IEnumerable`1 list, Database&#xA;targetDatabase) at&#xA;Sitecore.Azure.Pipelines.DeployDatabase.TransferData.Action(RolePipelineArgsBase&#xA;arguments) at&#xA;Sitecore.Azure.Pipelines.BasePipeline.RolePipelineProcessor.Process(RolePipelineArgsBase&#xA;args)&lt;/p&gt;&#xA;&lt;p&gt;--- End of inner exception stack trace --- ‎4‎/‎11‎/‎‎2017 ‎6‎:‎07‎:‎48‎ ‎PM111DevEusCd02Role01PScAd1Production [P] Transfer data&#xA;'[XXX]Sitecore_Core'- [start] ‎4‎/‎11‎/‎‎2017 ‎6‎:‎07‎:‎48‎&#xA;‎PM111DevEusCd02Role01PScAd1Production [P] Copy indexes&#xA;'[XXX]Sitecore_Core' [done] ‎4‎/‎11‎/‎‎2017 ‎6‎:‎07‎:‎38‎&#xA;‎PM111DevEusCd02Role01PScAd1Production [P] Copy indexes&#xA;'[XXX]Sitecore_Core'- [start] ‎4‎/‎11‎/‎‎2017 ‎6‎:‎07‎:‎38‎&#xA;‎PM111DevEusCd02Role01PScAd1Production [P] Deploying tables&#xA;'[XXX]Sitecore_Core' [done]&lt;/p&gt;&#xA;&lt;p&gt;‎4‎/‎11‎/‎‎2017 ‎6‎:‎07‎:‎36‎ ‎PM111DevEusCd02Role01PScAd1Production&#xA;[P] '[XXX]Sitecore_Web' - Transfer data failed&#xA;System.ApplicationException: 111DevEusCd02Role01PScAd1Production [P]&#xA;'[XXX]Sitecore_Web' - Transfer data failed ---&amp;gt;&#xA;System.Data.SqlClient.SqlException: Invalid object name&#xA;'AccessControl'. at&#xA;Sitecore.Azure.Pipelines.DeployDatabase.DeployDatabasePipelineProcessor.DoDeploy[T](Func3&#xA;func, Int32 repeat, IEnumerable1 objects, Database targetDatabase,&#xA;Action1 exceptionCallBack) at&#xA;Sitecore.Azure.Pipelines.DeployDatabase.DeployDatabasePipelineProcessor.DoDeploy[T](Func3&#xA;func, Int32 numThreads, Int32 repeat, IEnumerable1 list, Database&#xA;targetDatabase) at&#xA;Sitecore.Azure.Pipelines.DeployDatabase.TransferData.Action(RolePipelineArgsBase&#xA;arguments) at&#xA;Sitecore.Azure.Pipelines.BasePipeline.RolePipelineProcessor.Process(RolePipelineArgsBase&#xA;args)&lt;/p&gt;&#xA;&lt;p&gt;--- End of inner exception stack trace ---&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-12-27T20:01:11.423" Title="System.Data.SqlClient.SqlException: Invalid object name 'AccessControl'" Tags="|azure|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9172" PostTypeId="1" AcceptedAnswerId="9173" CreationDate="2017-12-24T08:45:42.240" Score="4" ViewCount="392" Body="&lt;p&gt;We are using the Sitecore Azure Module to deploy to CD delivery farms.  We want to use an IIS Rewrite Rule to redirect all traffic on CD to SSL - however, we do not want the same rule applied on CM (which is our on-premise server from which we push our site to Azure via the Azure Module).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using the Azure module, CM and CD share config files.  Is there a way for us to drop a re-write rule into the web.config that will ONLY be applied to CD, and not to CM? Or some kind of alternative equivalent?&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="1000" LastEditDate="2017-12-26T15:29:26.130" LastActivityDate="2017-12-26T15:29:26.130" Title="Need to have different IIS Rewrite rule on CD and CM while using Sitecore Azure Module" Tags="|azure|content-management|content-delivery|url-rewrite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9173" PostTypeId="2" ParentId="9172" CreationDate="2017-12-25T10:42:02.277" Score="5" Body="&lt;p&gt;Your CM and CD servers are available by different addresses.(e.g.: cms.test.com and www.test.com)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is possible to filter redirect rule before execution using {HTTP_HOST} variable:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Force SSL&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;  &amp;lt;conditions logicalGrouping=&quot;MatchAny&quot;&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;yourCDaddress1&quot; /&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;yourCDaddress2&quot; /&amp;gt;&#xA;  &amp;lt;/conditions&amp;gt;&#xA;  &amp;lt;action type=&quot;Redirect&quot; redirectType=&quot;Found&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where yourCDaddress1, yourCDaddress2, etc.  your CD addresses, e.g.: www.test.com, test.com, etc.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-12-25T10:42:02.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9174" PostTypeId="2" ParentId="9167" CreationDate="2017-12-25T14:18:31.907" Score="3" Body="&lt;p&gt;Create your token replacer processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace YourNamespace&#xA;{&#xA;    public class TokenReplacer&#xA;    {&#xA;        public void Process(RenderFieldArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;            //Filter to execute your replacer only of specific type of field&#xA;            if (args.FieldTypeKey.ToLower() != &quot;general link&quot;)&#xA;            {&#xA;                return;&#xA;            }&#xA;            args.Result.FirstPart = args.Result.FirstPart.Replace(&quot;{{token}}&quot;, &quot;something&quot;);&#xA;            return;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Register your processor in &lt;code&gt;renderField&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;   &#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;renderField&amp;gt;        &#xA;        &amp;lt;processor x:after=&quot;*[@type='Sitecore.Pipelines.RenderField.GetFieldValue, Sitecore.Kernel']&quot; type=&quot;YourNamespace.TokenReplacer, YourAssembly&quot; /&amp;gt;&#xA;      &amp;lt;/renderField&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, token should be replaced in all links across the website if you render links using Sitecore API(or GlassMapper or Synthesis).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here you can read more about it: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/replace-tokens-in-rich-text-fields-using-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;[1]&lt;/a&gt;, &lt;a href=&quot;https://sitecorecorner.com/2014/08/03/sitecore-custom-tokens/&quot; rel=&quot;nofollow noreferrer&quot;&gt;[2]&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2017-12-25T14:18:31.907" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9175" PostTypeId="2" ParentId="8876" CreationDate="2017-12-25T15:27:09.683" Score="1" Body="&lt;p&gt;I think it's your big event queue. Try the following -&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure your CD indexes indexing strategy is set to manual. This will prevent double indexing of the web content. Of course there may be exceptions.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Another issue might be excessive processing of the event queue. Apply this patch - &lt;a href=&quot;https://kb.sitecore.net/articles/930920&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/930920&lt;/a&gt; and see if it makes a difference. This will help a lot.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Keep the number of records in your eventqueue, publishqueue and history tables low by setting cleanup to every few hours. There is a patch somewhere which can allow you to trim your eventqueue down to minutes but I can't find it. You should have less than 10k items at worst in your eventqueue.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We had a problem where workflow publish was causing this issue for us (CDs locking up). If you are doing workflow publishing and have alllanguages, deep or related set to 1, then Sitecore by default does a republish of each item related to that instance of publish. We got a patch from patch from Sitecore that allows you to do smart publish of these items, essentially trimming the eventqueue massively. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I will try to add patches information when I'll be near a computer. Eventqueue is your problem so google event queue issues and you'll find a lot of people facing the same problem that you did.&lt;/p&gt;&#xA;" OwnerUserId="1073" LastEditorUserId="1073" LastEditDate="2017-12-25T15:36:22.117" LastActivityDate="2017-12-25T15:36:22.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9176" PostTypeId="1" AcceptedAnswerId="9325" CreationDate="2017-12-26T10:54:13.510" Score="2" ViewCount="3329" Body="&lt;p&gt;I have a carousel with Images and videos. The Image added appears but not videos.&#xA;I am trying to assign a Video(mp4)media type using a Image Field type.&#xA;When I am try to click the &lt;strong&gt;Browse&lt;/strong&gt; and select a MP4 video I am getting an error as &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;em&gt;The selected Item does not contain an Image&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Image:&#xA; @Html.Sxa().Field(Templates.Carousel.Fields.Image, CarouselItem.Slider)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Video:&#xA;@Html.Sxa().Field(Templates.Carousel.Fields.Video, CarouselItem.Slider)&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1316" LastEditDate="2017-12-26T12:10:43.093" LastActivityDate="2018-01-07T14:12:26.837" Title="Video url with Image type Field" Tags="|sitecore-client|sxa|fieldtype|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9177" PostTypeId="1" CreationDate="2017-12-26T12:26:01.050" Score="2" ViewCount="272" Body="&lt;p&gt;I'm using Sitecore 8.2 to build a Speak application where I'm creating a form to add/edit items from the master database, so when I add a Form component and looking into the console of chrome browser it is showing error 'Uncaught TypeError: speak.component is not a function' from the Form.js file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;(function(speak) {&#xA;   speak.component([&quot;jquery&quot;, &quot;bootstrap&quot;], function() {....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3018" LastEditorUserId="1000" LastEditDate="2017-12-28T15:49:58.090" LastActivityDate="2017-12-28T15:49:58.090" Title="Speak Form component is not working" Tags="|speak|mvc-forms|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9178" PostTypeId="2" ParentId="9167" CreationDate="2017-12-26T12:53:59.050" Score="3" Body="&lt;p&gt;Finally, i solved it by overwriting standard methods of GlassView class.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public abstract class View&amp;lt;TModel&amp;gt; : GlassView&amp;lt;TModel&amp;gt; where TModel : class&#xA;    {&#xA;        public new HtmlString Editable&amp;lt;T&amp;gt;(T model, Expression&amp;lt;Func&amp;lt;T, object&amp;gt;&amp;gt; field, object parameters = null)&#xA;        {&#xA;            return ProcessLinks(GlassHtml.Editable(model, field, parameters));&#xA;        }&#xA;            .......&#xA;            .......&#xA;            .......&#xA;            .......&#xA;&#xA;        private HtmlString ProcessLinks(string content)&#xA;        {&#xA;           //here i can replace tokens&#xA;           if (!Sitecore.Context.PageMode.IsExperienceEditor)&#xA;           {&#xA;            content = TokenReplacer.ReplaceCustomTokens(content);&#xA;           }&#xA;           return content;&#xA;        }&#xA;     }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;At least, that worked.&lt;/p&gt;&#xA;" OwnerUserId="3015" LastEditorUserId="3015" LastEditDate="2017-12-26T15:13:21.713" LastActivityDate="2017-12-26T15:13:21.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9179" PostTypeId="1" CreationDate="2017-12-26T13:17:17.037" Score="2" ViewCount="888" Body="&lt;p&gt;1) How to set a publishing target for mobile device only in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) How to view a web page made for Device view without providing the query string (sc_device=mobile) for user use?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="3019" LastActivityDate="2024-01-25T02:09:11.163" Title="How to set a content page or Item for a mobile device only in Sitecore 8.0?" Tags="|sitecore-client|content-management|mobile|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9180" PostTypeId="2" ParentId="9176" CreationDate="2017-12-26T13:25:23.103" Score="5" Body="&lt;p&gt;I don't think you can select videos using an 'Image' field out of the box.&#xA;However, I don't see why you can't use other fields instead:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;File&lt;/strong&gt;: Allows users to search for files or simply browse the Media library and select the needed video&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Attachment&lt;/strong&gt;: directly upload from your machine (&lt;a href=&quot;http://blog.karbyn.com/articles/writing-to-and-reading-from-a-sitecore-attachment-field/&quot; rel=&quot;noreferrer&quot;&gt;how to use in code&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Internal Link&lt;/strong&gt;: displays the Select Link popup and you can select from the whole sitecore tree (you can set the datasource to 'sitecore/Media Library' only). To read the selected file, cast the field into LinkField and access the linkField variable's TargetItem (e.g. linkField1.TargetItem)&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2017-12-26T13:25:23.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9181" PostTypeId="1" CreationDate="2017-12-26T14:57:31.297" Score="4" ViewCount="316" Body="&lt;p&gt;Sitecore has a bunch of Channels defined in &lt;code&gt;/sitecore/system/Marketing Control Panel/Taxonomies/Channel&lt;/code&gt;.The config &lt;code&gt;Sitecore.Analytics.Channel&lt;/code&gt; specify the different channels that are assigned for different scenarios. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Interactions&lt;/code&gt; collection in MongoDB, the &lt;code&gt;ReferringSite&lt;/code&gt; is the name of actual site. So the value of the ChannelId should be the item id of &lt;code&gt;Direct&lt;/code&gt; channel.&#xA;Instead it is &lt;code&gt;NUUID(&quot;44dd9ff5-44b2-4c59-8df8-849e400f4b6b&quot;)&lt;/code&gt; which is the item id of &lt;code&gt;Other referrals&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After digging around, the code responsible for assigning the ChannelId is &lt;code&gt;Sitecore.Analytics.OmniChannel.Pipelines.DetermineInteractionChannel.ReferringSite&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code checks if &lt;code&gt;Tracker.Dictionaries.ReferringSites&lt;/code&gt; contains the current site to know which channelId to assign to it.&#xA;The issue is that &lt;code&gt;Tracker.Dictionaries.ReferringSites&lt;/code&gt; does not contain my site so it falls back to &lt;code&gt;Other referrals&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to populate &lt;code&gt;Tracker.Dictionaries.ReferringSites&lt;/code&gt; with my site details? If so, how would I do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version is 8.2 Update 1.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="1000" LastEditDate="2017-12-26T15:19:27.157" LastActivityDate="2017-12-26T15:19:27.157" Title="Sitecore Analytics Channel Detection" Tags="|xdb|mongodb|marketing-definitions|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9182" PostTypeId="1" CreationDate="2017-12-26T17:16:05.297" Score="1" ViewCount="958" Body="&lt;p&gt;Is there any way we can use Radio button in CMS content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Requirement is to use Radio button in sitecore CMS content editor and based on that show hide some sections of an template?&lt;/p&gt;&#xA;" OwnerUserId="3020" LastEditorUserId="2727" LastEditDate="2018-03-14T11:06:55.500" LastActivityDate="2018-03-14T11:06:55.500" Title="CMS content editor radio button field" Tags="|content-editor|fieldtype|" AnswerCount="1" CommentCount="2" ClosedDate="2017-12-28T12:22:42.813" ContentLicense="CC BY-SA 3.0" />
  <row Id="9183" PostTypeId="1" AcceptedAnswerId="9187" CreationDate="2017-12-26T18:23:18.173" Score="9" ViewCount="304" Body="&lt;p&gt;I'm looking to get a complete list of the URLs that Sitecore calls during normal functionality of the base product. We have a client's IT group that needs to whitelist the outbound external calls to allow them out off their servers/network. There are errors in the logs for some but wondering if there might be more and would rather perform the action once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: &lt;a href=&quot;http://discovery-ces.cloud.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;discovery-ces.cloud.sitecore.net&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be good to have a living document or kb article that showed the version of the software and what external domains are accessed.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;UPDATE:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Response from support was:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;We have asked our product department for the requested list and have got the following URLs:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;https://discovery-ces.cloud.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://discovery-ces.cloud.sitecore.net&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;https://ssl.google-analytics.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ssl.google-analytics.com&lt;/a&gt; &lt;a href=&quot;https://sdn.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;https://apps.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://apps.sitecore.net/&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/Sitecore/help/release/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://raw.githubusercontent.com/Sitecore/help/release/&lt;/a&gt;...&lt;/li&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;https://fonts.googleapis.com/css?family=Open+Sans:400,300italic,400italic,600italic,700italic,300,600,700,800&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://fonts.googleapis.com/css?family=Open+Sans:400,300italic,400italic,600italic,700italic,300,600,700,800&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;  &#xA;  &lt;p&gt;There are a few other components (like Sitecore.Social) that might call:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;http://www.linkedin.com/home&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.linkedin.com/home&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;https://www.googleapis.com/urlshortener/v1/url&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.googleapis.com/urlshortener/v1/url&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;http://www.facebook.com/home.php&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.facebook.com/home.php&lt;/a&gt; &lt;a href=&quot;https://plus.google.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://plus.google.com&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;https://api.twitter.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://api.twitter.com/&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;a href=&quot;https://ajax.googleapis.com/ajax/libs/yui/2.8.0r4/build/yuiloader/yuiloader-min.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ajax.googleapis.com/ajax/libs/yui/2.8.0r4/build/yuiloader/yuiloader-min.js&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="689" LastEditorUserId="689" LastEditDate="2019-04-15T21:23:31.253" LastActivityDate="2019-04-15T21:23:31.253" Title="Is there a list of external domains that Sitecore calls as part of normal operating?" Tags="|configuration|installation|settings|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9184" PostTypeId="2" ParentId="7788" CreationDate="2017-12-26T20:49:12.627" Score="2" Body="&lt;p&gt;Ran into this issue deploying Habitat to Azure VM. Here is quick solution based on &lt;a href=&quot;https://sitecore.stackexchange.com/users/73/mark-cassidy&quot;&gt;Mark Cassidy&lt;/a&gt;'s response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Culprit is the below file. Your file location may be different. but I guess you got the location we are pointing to.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\inetpub\wwwroot\HabitatCM\Website\App_Config\Include\Project\z.Habitat.DevSettings.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;E:\\Projects\\Habitat\\src&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Verify the &lt;code&gt;sourceFolder&lt;/code&gt; value. This may be pointing to a drive which may not be existing. As this is what happened in my case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I changed it to &lt;code&gt;C:\Habitat&lt;/code&gt; I am able to see the Sitecore login page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2017-12-26T20:49:12.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9186" PostTypeId="1" AcceptedAnswerId="9190" CreationDate="2017-12-27T02:21:01.953" Score="4" ViewCount="931" Body="&lt;p&gt;Currently working for multilingual site, where a page which is in English. Now when I am trying to translate this with Arabic then all the content into the content editor getting distorted, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like in English we write content from left to right and in Arabic, right to left.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So do I need to do any customisation or there is any settings in sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help thanks&lt;/p&gt;&#xA;" OwnerUserId="1307" LastEditorUserId="73" LastEditDate="2017-12-27T20:01:33.547" LastActivityDate="2017-12-27T20:01:33.547" Title="How to deal with Arabic content (right to left) in Sitecore?" Tags="|sitecore-client|content-editor|multilingual|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9187" PostTypeId="2" ParentId="9183" CreationDate="2017-12-27T09:25:48.080" Score="4" Body="&lt;p&gt;In Sitecore Installation documentation, I didn't find any specific document which suggest allowing access to any external parties.&#xA;With reference to your question, Sitecore offers add on services on top of experience platform, such as Device Detection, GeoIP, Email Delivery and xDB cloud which have their own integration requirements.&#xA;Below links will help you to configure your firewalls if you are using any of them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Device Detection&lt;/strong&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/device_detection/device_detection/set_up_device_detection&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/device_detection/device_detection/set_up_device_detection&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;XDB Cloud&lt;/strong&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/xdb_cloud/working_with_xdb_cloud/configuring/configure_your_firewall_settings_for_xdb_cloud&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/xdb_cloud/working_with_xdb_cloud/configuring/configure_your_firewall_settings_for_xdb_cloud&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;GeoIP Service&lt;/strong&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/ip_geolocation/ip_geolocation/setting_up_sitecore_ip_geolocation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/ip_geolocation/ip_geolocation/setting_up_sitecore_ip_geolocation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Email Delivery Service&lt;/strong&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/message_transfer_agent/set_up_the_message_transfer_agent_mta&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/message_transfer_agent/set_up_the_message_transfer_agent_mta&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2017-12-27T09:25:48.080" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9189" PostTypeId="2" ParentId="9182" CreationDate="2017-12-27T10:16:01.920" Score="0" Body="&lt;p&gt;I understood you're trying to show/hide a set of fields depending on the selected value of radio button (in content editor).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box you can't do this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all there is no Radio button in Sitecore, you may be able to do the same behaviour using a DropList or a DropLink field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you're going to have to do some customization to achieve what you need. I think &lt;a href=&quot;https://jammykam.wordpress.com/2014/04/24/hiding-content-editor-fields-depending-on-selected-values/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; is what you're looking for.&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2017-12-27T10:16:01.920" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9190" PostTypeId="2" ParentId="9186" CreationDate="2017-12-27T11:10:21.580" Score="7" Body="&lt;p&gt;Regarding the front-end website, this is unrelated to Sitecore. It can be handled with HTML and CSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Content Editor, Sitecore handles this so you do not need to worry about it. I've worked on Arabic sites and the RTE popup automatically changes to RTL. The preview of RTL show LTR though but that's not a problem, it is still very much readable:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YvRfm.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YvRfm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;You can see the popup text is RTL but preview below it is LTR. But the characters order is still RTL so again don't worry about it.&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2017-12-27T11:10:21.580" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9192" PostTypeId="1" CreationDate="2017-12-27T20:28:30.280" Score="5" ViewCount="507" Body="&lt;p&gt;Just set up a new machine, so...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a site running locally Sitecore 8.1.160519,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site has GZip enabled. I see the appropriate header if I just browse to the site. But if I go to the experience editor I get: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;This site can’t be reached&#xA;The webpage at http://local.mysite.com/?sc_mode=edit&amp;amp;sc_itemid=%7b84981E72-1012-4591-9CCC-89C5A621B0D1%7d&amp;amp;sc_version=1&amp;amp;sc_lang=en&amp;amp;sc_site=mysite might be temporarily down or it may have moved permanently to a new web address.&#xA;ERR_CONTENT_DECODING_FAILED&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am sure it is related to GZip because if I turn off GZip, this problem goes away. Also, If I use fiddler and try and look at a request, I get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The content could not be decompressed.&#xA;&#xA;The magic number in the GZip header is not correct. Make sure you are passing in a GZip stream.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried adding my app pool to the IIS temp cache but this seemed to have no effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, somehow IIS is messing up the zipping?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how I have enabled GZip in my web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;&amp;lt;httpCompression directory=&quot;%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files&quot;&amp;gt;&#xA;  &amp;lt;scheme name=&quot;gzip&quot; dll=&quot;%Windir%\system32\inetsrv\gzip.dll&quot; staticCompressionLevel=&quot;9&quot; /&amp;gt;&#xA;  &amp;lt;dynamicTypes&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;text/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;message/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/x-javascript&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/json&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;*/*&quot; enabled=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;/dynamicTypes&amp;gt;&#xA;  &amp;lt;staticTypes&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;text/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;message/*&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/x-javascript&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/atom+xml&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;application/xaml+xml&quot; enabled=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add mimeType=&quot;*/*&quot; enabled=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;/staticTypes&amp;gt;&#xA;&amp;lt;/httpCompression&amp;gt;&#xA;&amp;lt;urlCompression doStaticCompression=&quot;true&quot; doDynamicCompression=&quot;true&quot; dynamicCompressionBeforeCache=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="4050" LastEditDate="2019-12-06T04:41:31.830" LastActivityDate="2019-12-06T04:41:31.830" Title="Gzip causing an error in the experience editor" Tags="|experience-editor|iis|gzip|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="9193" PostTypeId="1" CreationDate="2017-12-28T06:43:58.243" Score="2" ViewCount="375" Body="&lt;p&gt;I am planning to have a scaled down replica of our production sitecore infrastructure as Disaster Recovery servers so that the same can be used in case of a disaster. This will mean i will have to procur sitecore license for DR server as well even though there might never be an incident to switch to DR servers. Is there any possible solution where the same license can be used in prod and switched to DR when required.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2017-12-28T19:01:50.437" Title="Sitecore License for DR servers" Tags="|licensing|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9194" PostTypeId="2" ParentId="9193" CreationDate="2017-12-28T08:23:09.143" Score="5" Body="&lt;p&gt;Maybe. Whatever I suggest here, you are going to have to verify with your Sitecore Sales Representative.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the DR environment is &quot;cold&quot;, then I have experienced Sitecore will allow this without extra license purchase.  &quot;Cold&quot; meaning, the DR environment spins up and takes over, when disaster strikes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reasoning being, you actually do not &quot;overuse&quot; your license in this setup. Only one environment is ever active.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a &quot;warm&quot; DR setup, I have experienced in the past that this can be arranged with Sitecore, possibly at a reduced license cost. Possibly. But this is between you and Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I cannot stress this enough however, validate your setup and license requirements with Sitecore before going ahead with either setup.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2017-12-28T08:23:09.143" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9196" PostTypeId="1" AcceptedAnswerId="9693" CreationDate="2017-12-28T12:00:12.023" Score="2" ViewCount="246" Body="&lt;p&gt;I am trying to use FXM to track user activity and trigger events etc on a mobile app using Xamarin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything is setup in the federated experience manager in Sitecore, although of course it reports that the beacon is not installed because you can't ping a mobile app using a domain name. Because of this limitation you also can't use things like placeholder/content injection but my plan was to handle event and goal registration using the FXM JavaScript API and accept that injecting content from Sitecore will not work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have set FXM to the DEBUG log level and using a basic html site I can see the logs being populated with page tracking information so I have validated that FXM works in that scenario. I have also overridden the FXM tracking pipelines and beacon controller to be able to set break points and monitor the &quot;flow&quot; of an FXM request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I cannot yet do is see any of these pipelines, controller, logging etc being hit when loading the beacon on the mobile app. I am loading the beacon by adding a WebView to my layout on the android app:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var view = FindViewById&amp;lt;WebView&amp;gt;(Resource.Id.webView1);&#xA;&#xA;view.Settings.JavaScriptEnabled = true;&#xA;view.SetWebChromeClient(new WebChromeClient());&#xA;view.AddJavascriptInterface(new Foo(this), &quot;Foo&quot;);&#xA;view.LoadUrl(&quot;file:///android_asset/fxm-interface.html&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then in the html itself I have:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;html&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;h1&amp;gt;FXM&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;p&amp;gt;Host: &amp;lt;span id=&quot;fxmHost&quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;script src=&quot;http://code.jquery.com/jquery-2.1.4.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&#xA;    &amp;lt;script type=&quot;text/javascript&quot; src=&quot;http://www.local-sitecore-host.com/bundle/beacon&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&#xA;    &amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;&#xA;        $('#fxmHost').text(SCBeacon.fxmHost);&#xA;&#xA;        SCBeacon.trackEvent('Page visited', { data: 'Launch', dataKey: 'Activity', xKey1: 'test' });&#xA;&#xA;    &amp;lt;/script&amp;gt;&#xA;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What's interesting is that the span with the id fxmHost is displaying the expected output of SCBeacon.fxmHost so I know that the FXM script is being loaded however no call to trackPageVisit?contactId=... or trackEvent is being registered in Sitecore, no requests from the app show up in fiddler either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question(s) are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Does FXM need to be loaded differently within a mobile app to work?&lt;/li&gt;&#xA;&lt;li&gt;Has anyone managed to get FXM working on a native or otherwise mobile app&lt;/li&gt;&#xA;&lt;li&gt;Are there any special configurations withing Sitecore to support this?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Any help much appreciated. Unfortunately upgrading to version 9 and using xConnect is not an option at this time.&lt;/p&gt;&#xA;" OwnerUserId="759" LastEditorUserId="73" LastEditDate="2018-01-26T08:35:59.140" LastActivityDate="2018-01-26T08:36:08.257" Title="FXM on mobile apps" Tags="|xdb|fxm|mobile|xamarin|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9197" PostTypeId="1" CreationDate="2017-12-28T12:05:40.253" Score="1" ViewCount="1382" Body="&lt;p&gt;I want to give a token &lt;code&gt;$name&lt;/code&gt; in the parameter value of a rendering which is present in the standard value of a template so that when I create new item of this template, the item should have the rendering and parameter of this rendering should be same as the item name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I create a new item from product template, the parameter value of the rendering header should be same as the item name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried this by giving the token &lt;code&gt;$name&lt;/code&gt; in the parameter value of the rendering in the standard value but I think this is not supported by sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other way to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UF5gy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UF5gy.png&quot; alt=&quot;Please see the screenshot of what i tried&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="605" LastEditDate="2017-12-28T13:08:50.737" LastActivityDate="2018-06-01T22:57:30.863" Title="Parameter value for the rendering present in the standard value of the template" Tags="|templates|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9198" PostTypeId="1" CreationDate="2017-12-28T13:37:09.253" Score="8" ViewCount="791" Body="&lt;p&gt;Is there really any benefit of having header and footer assembled through dynamic binding (placeholder) in comparison to static binding. Sitecore habitat project based on helix uses a lot of common components to assemble header and footer which appears to make the template presentation very bulky. The same can be done easily by static binding which will make it easier for content editors to create pages if required. I would prefer to use static binding for such components unless there is really any benefit.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="1000" LastEditDate="2017-12-28T15:45:19.890" LastActivityDate="2018-01-02T14:33:20.343" Title="Benefit of dynamic binding for components like header and footer" Tags="|habitat|placeholders|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9199" PostTypeId="2" ParentId="9193" CreationDate="2017-12-28T15:01:54.643" Score="1" Body="&lt;p&gt;To add to what Mark said, do you have access to your contract with Sitecore? Do make sure you understand the definitions therein. The definition of &quot;server&quot; and the definition of &quot;Cold Failover Server Installation&quot; deserve extra attention.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case, we were entitled to &quot;an equal number of Cold Failover Server Installation(s) as the number of Server Installation(s)&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, &quot;server&quot; is defined very precisely as well, with a specific number of cores (or allocated cores in case of VMs). So do make sure you have that covered as well!&lt;/p&gt;&#xA;" OwnerUserId="3026" LastActivityDate="2017-12-28T15:01:54.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9200" PostTypeId="2" ParentId="9198" CreationDate="2017-12-28T15:26:19.847" Score="4" Body="&lt;p&gt;The real benefit is to allow your editors to change the header to meet their needs without needing a specific template. Example is a landing page for a campaign that requires a smaller header/menu. The editor could change out the header with a new header for that page specifically without requiring development to create a template for this single use. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You want to have x number of page types (i.e. news, content, home, etc...) and stay away from Landing Alternate 1, Landing Alternate 2 where just the header, footer or page shape is the difference. It really is up to the client's needs, but if you are personalizing your site, then having everything component based is a must.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can make it easier on your editors by having the built header and footer in the standard values for your site pages. I create a base page template and put the header and footer in that, then I make my site page templates inherit from my base page to get the header and footer.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="490" LastEditDate="2017-12-28T16:38:56.107" LastActivityDate="2017-12-28T16:38:56.107" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9201" PostTypeId="2" ParentId="9198" CreationDate="2017-12-28T15:42:25.113" Score="5" Body="&lt;p&gt;This is more of an opinion based question.  But I will list the positives and negatives below.  A lot of these depend on your preference.  I have personally gone with both approaches, so I know that most &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Positive/Negative of Static Bindings:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;+ Less clutter in your Presentation Details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;+ Less work maintaining your Presentation Details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;- Less control: You would need to define variations to your layouts that don't include the statically binded renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;- Less flexibility: Similar to the last point, but with dynamic renderings, you can change the type of control used for example in your header, on specific pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;- Difficult to pass data to the renderings, you can specific setting items that your renderings pull in, but things are more static in nature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;- You cannot personalize your statically binded renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;- You cannot A/B test your statically binded renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;- Challenges customizing the statically binded renderings in the Experience Editor.  You would need to use Edit Frame functionality, and a lot of customization to the Experience Editor to make these controls easier to customize.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously, if you use dynamic bindings instead, the reverse can be said from the above positives and negatives.  The biggest positive to using dynamic bindings, which Marek mentioned as a comment, is the ability to personalize, use A/B testing and much more.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also one last point to make, since you mentioned Habitat.  It's important to keep in mind that Habitat is an example of using Helix.  You shouldn't use it to build your site, and you should keep in mind that you can make your own choices that are different from Habitat.  Using Static vs Dynamic is really up to you in terms of what works best with your scenario.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2017-12-28T15:42:25.113" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9202" PostTypeId="2" ParentId="9193" CreationDate="2017-12-28T19:01:50.437" Score="0" Body="&lt;p&gt;Another option to consider is going with a consumption based license see &lt;a href=&quot;https://www.sitecore.net/getting-started/deployment&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; In that case the cost depends on volume of visits rather than the number of servers. This can bring other benefits as well like scaling up to meet peak load and you will need this if you want to use &lt;a href=&quot;https://jss.sitecore.net/#/&quot; rel=&quot;nofollow noreferrer&quot;&gt;JSS&lt;/a&gt;. For sure check with Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2017-12-28T19:01:50.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9203" PostTypeId="1" CreationDate="2017-12-28T22:16:19.390" Score="6" ViewCount="228" Body="&lt;p&gt;I am using Sharepoint connect module to pull in documents from Sharepoint. Currently, I have written a scheduled task to publish the items at a specific time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to auto publish the files that are created once the connector has finished downloading all the files?&lt;/p&gt;&#xA;" OwnerUserId="1032" LastEditorUserId="2727" LastEditDate="2018-02-20T12:11:22.647" LastActivityDate="2019-01-21T09:59:14.813" Title="How to auto publish media items created after running the Sharepoint connect module?" Tags="|publishing|sharepoint-connect|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9204" PostTypeId="2" ParentId="8514" CreationDate="2017-12-28T23:45:18.613" Score="2" Body="&lt;p&gt;This is most likely a permission problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The databases released with EXM follow the &lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore compatibility table&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please ensure that the database files are not in read-only mode, and that the user has access to them (you may, as a test, try granting Everyone full access).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a test, I have just verified that the database files released with EXM 3.5 and 3.5.1 can be attached on SQL Server 2014 (12.0.2000.8)&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2017-12-28T23:45:18.613" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9205" PostTypeId="2" ParentId="408" CreationDate="2017-12-29T03:14:01.043" Score="2" Body="&lt;p&gt;1- If you are doing any pipeline customization, disable it before starting upgrading process.&#xA;2-Give Proper read/write permission on your Website folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- If you are doing upgradation process manually, then after upgrading to Sitecore 7.5, analytics database will be needed. So either disable analytics db by disabling Sitecore.Analytics.config or install Mongo DB else it will not let you upgrade further and keep throwing error in backened.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4-Increase application timeout time to proper value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5- In other case, you can use Express Migration Tool given by Sitecore itself.This will help you to directly upgrade from sitecore 7.2 to 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6- After upgradation is done, You will have to do code changes manually according to new Sitecore version. List all pipeline customization done in sitecore 7.2, and incorporate them manually in Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="3022" LastActivityDate="2017-12-29T03:14:01.043" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9206" PostTypeId="1" AcceptedAnswerId="9208" CreationDate="2017-12-29T05:19:27.460" Score="6" ViewCount="800" Body="&lt;p&gt;I'm trying to restrict access to a particular page, I've already read everything possible on the matter but instead of redirecting to login page Sitecore is returning a 404.&#xA;I've set the loginPage=&quot;/Login&quot; but SC returns not found on the requested page eg.&quot;/restricted&quot;&#xA;I've removed the extranet/anonymous read right to that page, if I allow it back it works fine.&#xA;If I add the requireLogin=&quot;true&quot; then it works but also restrict access to entire website, which I don't want to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just can't understand why when I remove requireLogin=&quot;true&quot; SC instead of redirec to login page it returns not found 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone can help?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just adding a bit more info, on further investigation (yeah you know what that means, reading disassembled sitecore.kernel), I compared the two versions of the class Sitecore.Pipelines.HttpRequest.ItemResolver and look at what I found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sombody removed that line on sitecore 9 !!! not sure if that was intentional but it looks like a bug, and a silly one, I'll try to override that ItemResolver if I get a solution I'll post as answer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://image.ibb.co/bKfBKw/SC_9_bug.png&quot; /&gt;&lt;/p&gt;&#xA;" OwnerUserId="2952" LastEditorUserId="73" LastEditDate="2017-12-29T10:43:13.447" LastActivityDate="2017-12-29T10:43:13.447" Title="Restricting access to particular page returns 404 instead of redirecting to login" Tags="|security|login|permissions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9207" PostTypeId="1" AcceptedAnswerId="9209" CreationDate="2017-12-29T07:22:49.883" Score="10" ViewCount="2593" Body="&lt;p&gt;I am trying to configure a publishing target in Sitecore 9. I took the same steps I used to take in Sitecore 8, but it did not work. What I did:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;\App_Config\ConnectionStrings.config&lt;/code&gt;  - contains the new connection strings to the web database&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/system/Publishing targets&lt;/code&gt; – targets are listed&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;\App_Config\Include\Sitecore.config&lt;/code&gt;  - I add :&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;database id=&amp;quot;web2&amp;quot; singleInstance=&amp;quot;true&amp;quot; type=&amp;quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&amp;quot; role:require=&amp;quot;Standalone or Reporting or ContentManagement or ContentDelivery&amp;quot;&amp;gt;&#xA;  &amp;lt;param desc=&amp;quot;name&amp;quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;  &amp;lt;icon&amp;gt;Images/database_web.png&amp;lt;/icon&amp;gt;&#xA;  &amp;lt;securityEnabled&amp;gt;true&amp;lt;/securityEnabled&amp;gt;&#xA;  &amp;lt;dataProviders hint=&amp;quot;list:AddDataProvider&amp;quot;&amp;gt;&#xA;    &amp;lt;dataProvider ref=&amp;quot;dataProviders/main&amp;quot; param1=&amp;quot;$(id)&amp;quot;&amp;gt;&#xA;      &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;      &amp;lt;prefetch hint=&amp;quot;raw:AddPrefetch&amp;quot;&amp;gt;&#xA;        &amp;lt;sc.include file=&amp;quot;/App_Config/Prefetch/Common.config&amp;quot; /&amp;gt;&#xA;        &amp;lt;sc.include file=&amp;quot;/App_Config/Prefetch/Webdb.config&amp;quot; /&amp;gt;&#xA;      &amp;lt;/prefetch&amp;gt;&#xA;    &amp;lt;/dataProvider&amp;gt;&#xA;  &amp;lt;/dataProviders&amp;gt;&#xA;  &amp;lt;PropertyStore ref=&amp;quot;PropertyStoreProvider/store[@name='$(id)']&amp;quot; /&amp;gt;&#xA;  &amp;lt;remoteEvents.EventQueue&amp;gt;&#xA;    &amp;lt;obj ref=&amp;quot;eventing/eventQueueProvider/eventQueue[@name='$(id)']&amp;quot; /&amp;gt;&#xA;  &amp;lt;/remoteEvents.EventQueue&amp;gt;&#xA;  &amp;lt;archives hint=&amp;quot;raw:AddArchive&amp;quot;&amp;gt;&#xA;    &amp;lt;archive name=&amp;quot;archive&amp;quot; /&amp;gt;&#xA;    &amp;lt;archive name=&amp;quot;recyclebin&amp;quot; /&amp;gt;&#xA;  &amp;lt;/archives&amp;gt;&#xA;  &amp;lt;cacheSizes hint=&amp;quot;setting&amp;quot;&amp;gt;&#xA;    &amp;lt;data&amp;gt;100MB&amp;lt;/data&amp;gt;&#xA;    &amp;lt;items&amp;gt;50MB&amp;lt;/items&amp;gt;&#xA;    &amp;lt;paths&amp;gt;2500KB&amp;lt;/paths&amp;gt;&#xA;    &amp;lt;itempaths&amp;gt;50MB&amp;lt;/itempaths&amp;gt;&#xA;    &amp;lt;standardValues&amp;gt;2500KB&amp;lt;/standardValues&amp;gt;&#xA;  &amp;lt;/cacheSizes&amp;gt;&#xA;&amp;lt;/database&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;but i receive these errors :&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Could not find configuration node:&#xA;PropertyStoreProvider/store[@name='web2']&lt;/p&gt;&#xA;&lt;p&gt;Could not find configuration node: eventing/eventQueueProvider/eventQueue[@name='web2']&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2017-12-29T09:46:26.003" Title="Publishing target in Sitecore 9" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9208" PostTypeId="2" ParentId="9206" CreationDate="2017-12-29T08:55:22.683" Score="7" Body="&lt;p&gt;Yep, it's a bug, if I have time I'll report to Sitecore.&#xA;So the solution is to create your own CustomItemResolver that inherits from ItemResolver. override the Process method, call the base.Process(args) (so you don't interfere on normal behavior of that processor then just check for permission the same way it is already doing but before finishing processing just set the args.PermissionDenied = flag;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are on that situation and didn't understand what I mean don't panic, here is a gihub with the solution for that bug.&#xA;&lt;a href=&quot;https://github.com/albernazf/Sitecore_9_permission_bug_fix&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/albernazf/Sitecore_9_permission_bug_fix&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2952" LastActivityDate="2017-12-29T08:55:22.683" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9209" PostTypeId="2" ParentId="9207" CreationDate="2017-12-29T08:58:46.233" Score="12" Body="&lt;p&gt;You should add the missing nodes in your config. Sitecore has added these things in the database config in Sitecore9. So in your case -for a &quot;web2&quot; database-, add:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;eventing defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;  &amp;lt;eventQueueProvider defaultEventQueue=&quot;core&quot;&amp;gt;&#xA;    &amp;lt;eventQueue name=&quot;web2&quot; type=&quot;Sitecore.Data.Eventing.$(database)EventQueue, Sitecore.Kernel&quot;&amp;gt;&#xA;      &amp;lt;param ref=&quot;dataApis/dataApi[@name='$(database)']&quot; param1=&quot;$(name)&quot; /&amp;gt;&#xA;      &amp;lt;param hint=&quot;&quot; ref=&quot;PropertyStoreProvider/store[@name='$(name)']&quot; /&amp;gt;&#xA;    &amp;lt;/eventQueue&amp;gt;&#xA;  &amp;lt;/eventQueueProvider&amp;gt;&#xA;&amp;lt;/eventing&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;PropertyStoreProvider defaultStore=&quot;core&quot;&amp;gt;&#xA;  &amp;lt;store name=&quot;web2&quot; prefix=&quot;web2&quot; getValueWithoutPrefix=&quot;true&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.Properties.$(database)PropertyStore, Sitecore.Kernel&quot;&amp;gt;&#xA;    &amp;lt;param ref=&quot;dataApis/dataApi[@name='$(database)']&quot; param1=&quot;$(name)&quot; /&amp;gt;&#xA;    &amp;lt;param resolve=&quot;true&quot; type=&quot;Sitecore.Abstractions.BaseEventManager, Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;param resolve=&quot;true&quot; type=&quot;Sitecore.Abstractions.BaseCacheManager, Sitecore.Kernel&quot; /&amp;gt;&#xA;  &amp;lt;/store&amp;gt;&#xA;&amp;lt;/PropertyStoreProvider&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Haven't been able to fully test this (yet), but this should work. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2017-12-29T08:58:46.233" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9210" PostTypeId="5" CreationDate="2017-12-29T09:11:03.820" Score="0" Body="&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/SharePoint_Connect/2_0/SharePoint_Connect_23.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;SharePoint Connect&lt;/a&gt; provides a flexible framework for creating synergy between your SharePoint assets and your Sitecore content delivery engine. You can use the framework to integrate your Sitecore solution with SharePoint in many different ways - out of the box. It also provides an extensible framework that you can use to customize your solution to meet your specific needs, while keeping the look and feel of your Sitecore site and following Sitecore's best practices.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SharePoint Connect offers page-level, item-level, and API-level integration. It can be used with Sitecore XP and gives you the tools to harness the advantages of SharePoint's document management features within Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SharePoint Connect is not supported on Sitecore 9 (and greater). We have released the source code on GitHub so you can modify it as needed if you need to use the connector with Sitecore 9.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-12-29T09:11:03.820" LastActivityDate="2017-12-29T09:11:03.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9211" PostTypeId="4" CreationDate="2017-12-29T09:11:03.820" Score="0" Body="Questions about the Sharepoint connector for Sitecore " OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-12-29T09:11:03.820" LastActivityDate="2017-12-29T09:11:03.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9212" PostTypeId="5" CreationDate="2017-12-29T09:16:37.280" Score="0" Body="&lt;p&gt;A &lt;strong&gt;content delivery network&lt;/strong&gt; or content distribution network (CDN) is a geographically distributed network of proxy servers and their data centers. The goal is to distribute service spatially relative to end-users to provide high availability and high performance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Content_delivery_network&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://en.wikipedia.org/wiki/Content_delivery_network&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-12-29T09:16:37.280" LastActivityDate="2017-12-29T09:16:37.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9213" PostTypeId="4" CreationDate="2017-12-29T09:16:37.280" Score="0" Body="Question on using any CDN (Content Delivery Network) in combination with Sitecore" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-12-29T09:16:37.280" LastActivityDate="2017-12-29T09:16:37.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9214" PostTypeId="1" CreationDate="2017-12-29T09:16:42.850" Score="7" ViewCount="1489" Body="&lt;p&gt;We are working on migrating our Sitecore instances to Sitecore 9 and we are using xDB for analytics. We read new version of Sitecore does not support MongoDB. Can we still use xDB and analytics?&lt;/p&gt;&#xA;" OwnerUserId="3030" LastEditorUserId="237" LastEditDate="2017-12-31T09:44:28.677" LastActivityDate="2017-12-31T09:44:28.677" Title="Sitecore 9 xDB Support for MongoDB" Tags="|xdb|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9215" PostTypeId="2" ParentId="9214" CreationDate="2017-12-29T09:20:13.563" Score="10" Body="&lt;p&gt;Sitecore provides the xDB Data Conversion tool that supports xDB data conversion. This tool will help you in migrating the data from Sitecore Experience Database 8.x to Sitecore Experience Database 9.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can download this tool from &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;MongoDB may be supported in future version of Sitecore 9 versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can review more information about tool at &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20xDB%20Data%20Migration%20Tool/2x/xDB%20Data%20Migration%20Tool%2020&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20xDB%20Data%20Migration%20Tool/2x/xDB%20Data%20Migration%20Tool%2020&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-12-29T09:20:13.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9216" PostTypeId="5" CreationDate="2017-12-29T09:25:16.917" Score="0" Body="&lt;p&gt;&lt;a href=&quot;https://azure.microsoft.com/en-us/services/cache/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Redis Cache&lt;/a&gt; is based on the popular open source Redis cache. It gives you access to a secure, dedicated Redis cache, managed by Microsoft and accessible from any application within Azure.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-12-29T09:25:16.917" LastActivityDate="2017-12-29T09:25:16.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9217" PostTypeId="4" CreationDate="2017-12-29T09:25:16.917" Score="0" Body="Questions on Azure Redis Cache in combination with Sitecore" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2017-12-29T09:25:16.917" LastActivityDate="2017-12-29T09:25:16.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9218" PostTypeId="1" CreationDate="2017-12-29T15:56:09.137" Score="9" ViewCount="1290" Body="&lt;p&gt;We are planning to host the solution on Microsoft Azure PaaS, and using Azure Search instead of Solr. When we install Sitecore 9 on Azure PaaS, Solr is not required. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to configure the developer box using Sitecore 9 without Solr?  &lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="312" LastEditDate="2018-11-09T10:19:00.523" LastActivityDate="2019-01-16T19:01:30.303" Title="Is there any way to install Sitecore 9 without Solr?" Tags="|solr|azure|installation|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="9219" PostTypeId="2" ParentId="9218" CreationDate="2017-12-29T16:35:40.070" Score="-1" Body="&lt;p&gt;You can use Lucene if you are running CMS-only mode (i.e. no Analytics/xDB). If you are running multi-server, multi-CD set up then best practice recommendation has been to use SOLR/Azure which you have already mentioned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as Sitecore 9 installation documentation is concerned, here is the text.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Sitecore Experience Platform 9.0 rev. 171002 supports Solr,&#xA;  Lucene, and Azure Search as search providers. If you want to use a&#xA;  search index that works in both Analytics and ContentSearch, we&#xA;  recommend that you use Solr.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Following is the Search Indexing Requirements. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H5B7W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H5B7W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest to review the installation documentation.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2017-12-29T16:35:40.070" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9220" PostTypeId="1" CreationDate="2017-12-29T16:41:19.953" Score="6" ViewCount="936" Body="&lt;p&gt;Which bootstrap versions are compatible with sitecore SXA 1.5? Current Sitecore SXA comes with bootstrap 3.3.7. Has anyone tried using bootstrap 4? What are the pros and cons?&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="237" LastEditDate="2017-12-30T09:09:36.640" LastActivityDate="2018-03-31T11:02:41.753" Title="Sitecore SXA with Bootstrap 4" Tags="|sxa|responsive-design|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9223" PostTypeId="1" AcceptedAnswerId="9260" CreationDate="2017-12-29T23:21:26.937" Score="5" ViewCount="256" Body="&lt;p&gt;We have an image in Sitecore that needs to be rendered with a link wrapping it.  When the HTML renders the hash parameter is being added twice so we're getting errors in the Sitecore log about the value not matching.  Has anyone seen this issue or gotten a fix for it?  When rendered outside the link it renders properly, so my thought is the image is running through the pipeline twice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;http://www.facebook.com/&quot;&amp;gt;&amp;lt;img src=&quot;/-/media/social/icon-facebook.svg?la=en&amp;amp;amp;hash=3B0EC93CDA5F46F4775B87A46B833E56E6981CB6&amp;amp;amp;hash=3B0EC93CDA5F46F4775B87A46B833E56E6981CB6&quot; alt=&quot;Facebook&quot; /&amp;gt;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;View&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;Facebook Link&quot;, new {text = Html.Sitecore().Field(&quot;Facebook&quot;)})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 Update 5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="32" LastActivityDate="2018-01-03T16:20:42.957" Title="Image hash paramater doubling up when inside a link" Tags="|media-library|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9224" PostTypeId="1" AcceptedAnswerId="9226" CreationDate="2018-01-01T07:32:48.557" Score="4" ViewCount="1176" Body="&lt;p&gt;Scenario:&#xA;I have a template (say A), and having 50 page items already exist related to template type A.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Objective:&#xA;Now have a requirement to add one more field for template A with default value '$name' into the standard value of this template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem:&#xA;Now if i'm going to create any new page item related to template A then it's working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for already existing 50 page item field added but field value is still showing '$name' instead of replace with page item's name.&lt;/p&gt;&#xA;" OwnerUserId="1307" LastEditorUserId="73" LastEditDate="2018-01-01T10:11:39.417" LastActivityDate="2018-01-02T06:16:15.733" Title="'$name' able to set default value for already existing related page Item" Tags="|templates|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9225" PostTypeId="2" ParentId="9224" CreationDate="2018-01-01T08:52:13.633" Score="3" Body="&lt;p&gt;Standard Values will execute at the item creation. The Standard Values will not effect already existing items. You need to update values manually  by writing custom script or you can use powershell module.&lt;/p&gt;&#xA;" OwnerUserId="1155" LastActivityDate="2018-01-01T08:52:13.633" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9226" PostTypeId="2" ParentId="9224" CreationDate="2018-01-02T06:16:15.733" Score="5" Body="&lt;p&gt;You can use the powershell script below to update the values of your field.&#xA;You have to replace &lt;code&gt;Your field name&lt;/code&gt; with the field you need to change.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$dialog= Read-Variable -Parameters `&#xA;@{ Name = &quot;media&quot;; Title = &quot;Path&quot;; Root=&quot;/sitecore/&quot;; Editor=&quot;item&quot;;Tab=&quot;General&quot;;},&#xA; @{ Name = &quot;contentType&quot;; Title = &quot;Content Type&quot;; Root=&quot;/sitecore/templates&quot;; Editor=&quot;item&quot;;Tab=&quot;General&quot;;} `&#xA;-Description &quot;This script will edit field value &quot; `&#xA;-Title &quot;Field Value Update&quot; -Width 500 -Height 500 `&#xA;-OkButtonName &quot;Proceed&quot; -CancelButtonName &quot;Abort&quot; &#xA;&#xA;if ($dialog -ne &quot;ok&quot;)&#xA; {   &#xA;   Exit&#xA; }&#xA;&#xA;cd $media.Paths.FullPath;$templateId = $contentType.ID&#xA;&#xA;Write-Host &quot;Process Starting&quot;;&#xA;&#xA;Get-ChildItem -Recurse -Language * . |  ForEach-Object {&#xA;$this = $_&#xA;if($_.TemplateID -eq $templateId){     &#xA;if($_.Fields[&quot;Your field name&quot;].Value -eq &quot;$name&quot;)&#xA;  {&#xA;             $_.Editing.BeginEdit();&#xA;             $_['Your field name']=$_.Name;&#xA;             $_.Editing.EndEdit();&#xA;  }&#xA;&#xA; }    &#xA;}&#xA;&#xA;Write-Host &quot;Process Completed&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2018-01-02T06:16:15.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9229" PostTypeId="1" AcceptedAnswerId="9239" CreationDate="2018-01-02T10:06:30.593" Score="8" ViewCount="471" Body="&lt;p&gt;I have created some custom Roles under the &quot;sitecore&quot; domain, but now I want to migrate all the custom roles to another domain e.g. fancy_domain\Cool_Role. How to do it?&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-01-02T10:12:52.750" LastActivityDate="2018-01-04T22:55:19.503" Title="How to change the domain of a custom role?" Tags="|security|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9230" PostTypeId="2" ParentId="9229" CreationDate="2018-01-02T11:44:37.610" Score="3" Body="&lt;p&gt;As far as I know this is not supported by ASP .NET membership provider. But here is a similar question: &lt;a href=&quot;https://stackoverflow.com/questions/281891/how-do-you-rename-a-role-using-membership-in-net&quot;&gt;https://stackoverflow.com/questions/281891/how-do-you-rename-a-role-using-membership-in-net&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void RenameRoleAndUsers(string oldRoleName, string newRoleName)&#xA;{&#xA;    string[] users = Roles.GetUsersInRole(oldRoleName);&#xA;    Roles.CreateRole(newRoleName);&#xA;    Roles.AddUsersToRole(users, newRoleName);&#xA;    Roles.RemoveUsersFromRole(users, oldRoleName);&#xA;    Roles.DeleteRole(oldRoleName);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code snippet above only changes the roles of the users. You need an extra step to assign the new role for the items where the old role was used.&#xA;Here is an example method which can work for 1 item (&lt;strong&gt;I did not try it&lt;/strong&gt; but it is compilable):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ChangeItemRole(Item item, string newRole, string oldRole)&#xA;{&#xA;    var oldAccessRules = item.Security.GetAccessRules();&#xA;    var newAccessRules = new AccessRuleCollection();&#xA;    foreach (var oldAccessRule in oldAccessRules)&#xA;    {&#xA;        if (oldAccessRule.Account.Name == oldRole)&#xA;        {&#xA;            newAccessRules.Add(&#xA;                AccessRule.Create(&#xA;                    Role.FromName(newRole),&#xA;                    oldAccessRule.AccessRight,&#xA;                    oldAccessRule.PropagationType,&#xA;                    oldAccessRule.SecurityPermission));&#xA;        }&#xA;        else&#xA;        {&#xA;            newAccessRules.Add(oldAccessRule);&#xA;        }&#xA;    }&#xA;&#xA;    item.Security.SetAccessRules(newAccessRules);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2018-01-02T12:50:40.550" LastActivityDate="2018-01-02T12:50:40.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9231" PostTypeId="1" CreationDate="2018-01-02T13:10:03.913" Score="1" ViewCount="4542" Body="&lt;p&gt;After installation of Sitecore 9 we were able to get the xConnect working by performing the below steps&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Have executed the post installation script&lt;/li&gt;&#xA;&lt;li&gt;Installed both xConnect &amp;amp; xConnect.Client certificate in both Personal &amp;amp; Trusted root path of Current User as well as local computer&lt;/li&gt;&#xA;&lt;li&gt;Have updated the thumbprint in Xconnect App.Config &amp;amp; also added the below Connection String&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&#xA;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Post which we were able to initialize/interact with xConnect successfully, however this breaks the Marketing Analytics page in sitecore with the below error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are more Errors:&#xA;•   The OnlineInteractions graph cannot be displayed due to a server error. Contact you system administrator.&lt;br&gt;&#xA;•   The ChannelsByVisits graph cannot be displayed due to a server error. Contact you system administrator.&lt;br&gt;&#xA;•   The TopTenCampaignsByValue graph cannot be displayed due to a server error. Contact you system administrator.&lt;br&gt;&#xA;•   The TopTenPatternsByValuePerVisit graph cannot be displayed due to a server error. Contact you system administrator.&lt;br&gt;&#xA;•   The TopTenGoalsByConversions graph cannot be displayed due to a server error. Contact you system administrator.&lt;br&gt;&#xA;•   The OnlineInteractionsByVisitsAndValuePerVisit graph cannot be displayed due to a server error. Contact you system administrator.           &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Request technical guidance to get both xConnect &amp;amp; Marketing Analytics up and running.&lt;/p&gt;&#xA;" OwnerUserId="3031" LastEditorUserId="246" LastEditDate="2018-01-06T02:50:00.083" LastActivityDate="2019-11-12T10:11:32.027" Title="xConnect error - The OnlineInteractions graph cannot be displayed due to a server error" Tags="|xconnect|" AnswerCount="1" CommentCount="7" ClosedDate="2018-01-08T14:58:04.750" ContentLicense="CC BY-SA 3.0" />
  <row Id="9232" PostTypeId="2" ParentId="9198" CreationDate="2018-01-02T14:33:20.343" Score="2" Body="&lt;p&gt;To answer your question directly:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Is there really any benefit of having header and footer assembled through dynamic binding (placeholder) in comparison to static binding&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Yes&lt;/strong&gt;. Flexibility for your content editors to modify the header and footer and enable personalization and easy enhancement without requiring a new release.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore habitat project based on helix uses a lot of common components to assemble header and footer which appears to make the template presentation very bulky.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To this I would say that Habitat is an &lt;em&gt;example&lt;/em&gt; solution and not something which should necessarily be copied or adapted to your needs. You are absolutely right that Habitat has pretty complicated presentation details and in practice, this would be pretty hard work to maintain.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The same can be done easily by static binding which will make it easier for content editors to create pages if required. I would prefer to use static binding for such components unless there is really any benefit.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;True. You can indeed use static binding to solve the template standard values mess which can occur. This reduces the flexibility for editors to modify this structure themselves.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other Options&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest you investigate other possibilities here. One option is &lt;a href=&quot;http://www.chrisvandesteeg.nl/2015/11/03/sitecore-composite-components/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Composite Components&lt;/a&gt; where you can build experience editor friendly components build from several different renderings which can then be re-used on all pages of your site. I have created a proof of concept Helix solution which uses this module and it is described in more detail &lt;a href=&quot;http://www.matthewdresser.com/sitecore/mvc-for-front-end-developers-part-4-header&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are other approaches such as &lt;a href=&quot;http://brainjocks.com/products-and-services/brainjocks-score&quot; rel=&quot;nofollow noreferrer&quot;&gt;Brain Jocks SCORE&lt;/a&gt; which might be an option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your project has the necessary budget, then you should consider the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Experience Accelerator (usually referred to as SXA)&lt;/a&gt; which has partial designs and page designs to address this problem (it also has many many other features worth checking out too).&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-01-02T14:33:20.343" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9234" PostTypeId="1" AcceptedAnswerId="10574" CreationDate="2018-01-02T15:44:49.390" Score="3" ViewCount="55" Body="&lt;p&gt;We have a function that writes out content from Sitecore into a Word document. It basically uses a user control (this was some legacy services we brought into the project to make it easier than rewriting) to write out a whole page in HTML, then uses this code to save this via a StringWriter to a Word document:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (StringWriter stringWriter = new StringWriter()) {&#xA;  Context.Server.Execute(page, stringWriter, true);&#xA;  content = stringWriter.ToString();&#xA;&#xA;  if (!string.IsNullOrEmpty(fileName)) {&#xA;    HttpContext.Current.Response.AddHeader(&quot;content-disposition&quot;, string.Format(&quot;attachment;filename={0}.doc&quot;, fileName));&#xA;    HttpContext.Current.Response.ContentEncoding = Encoding.UTF8;&#xA;    HttpContext.Current.Response.ContentType = &quot;application/html&quot;;&#xA;    Context.Response.Write(content);&#xA;  } else {&#xA;    throw new Exception(string.Format(&quot;Could not get document from item in wordgenerator.asmx.cs item id {0}&quot;, item.ID));&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the document is generated in Chinese, I'm not specifying any font specific to that language. I'm using Georgia in the headers and Arial in the body, but the intermix is happening in between content. When I export the document to HTML and look at the generated markup, it's mixing spans between different bits of text, where some are MS Gothic and some are SimSum. I checked the original source from Sitecore and it's just marked with &quot;p&quot; tags, so there's no font setting there. But it also seems like the MS Gothic's only effect is to bold the content...if I manually switch MS Gothic to SimSum, the Chinese characters don't change appearance except for losing bolding.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are files that were sent by my client, but when I generated the files myself using my Mac, I got MS Mincho where MS Gothic appeared in the provided Word copy. Could it just be a matter of what system is generating the file, based on their version of Word, that they're getting different fonts? That doesn't make a lot of sense since it's server-generated, but I don't know if the browser/OS has any influence, maybe because it's a ContentType of applicatiopn/html.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-03-05T15:13:57.727" Title="Generated Word document in Chinese - mixed fonts" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9235" PostTypeId="1" AcceptedAnswerId="9236" CreationDate="2018-01-02T15:52:51.463" Score="4" ViewCount="1300" Body="&lt;p&gt;Im trying to use the item web api  in sitecore 7.2 to retrieve   &lt;a href=&quot;https://[hostname]/-/item/v1/sitecore/content/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://[hostname]/-/item/v1/sitecore/content/&lt;/a&gt;  in postman, but  it returns a 404 not found error (the whole 404 not found html page of the site) anyone have had that issue?&lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="95" LastEditDate="2018-01-02T16:15:46.700" LastActivityDate="2018-01-02T16:25:30.020" Title="Receiving 404 error when accessing Item Web Api with Sitecore 7.2" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9236" PostTypeId="2" ParentId="9235" CreationDate="2018-01-02T16:00:40.180" Score="4" Body="&lt;p&gt;Are you specifying the authentication parameters? It should look like this in postman.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Url&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;GET: &lt;a href=&quot;https://yoursite.com/-/item/v1/?sc_itemid=&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://yoursite.com/-/item/v1/?sc_itemid=&lt;/a&gt;{17F19834-7151-4EA7-98F6-393BB85C6868}&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Headers:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;key: X-Scitemwebapi-Username &#xA;value: sitecore\admin&lt;/p&gt;&#xA;&#xA;&lt;p&gt;key: X-Scitemwebapi-Password&#xA;value: b&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;A site with web api enabled.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Make sure you have your site, in your sites config, with the web api properties.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;itemwebapi.mode=&quot;StandardSecurity&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;itemwebapi.access=&quot;ReadOnly&quot; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;itemwebapi.allowanonymousaccess=&quot;false&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;A config would look like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;MySite&quot; &#xA;  hostName=&quot;mysite.com&quot; &#xA;  targetHostName=&quot;mysite.com&quot; &#xA;  virtualFolder=&quot;/&quot; &#xA;  physicalFolder=&quot;/&quot; &#xA;  rootPath=&quot;/sitecore/content&quot; &#xA;  startItem=&quot;/home&quot; &#xA;  database=&quot;web&quot; &#xA;  domain=&quot;extranet&quot; &#xA;  allowDebug=&quot;true&quot; &#xA;  cacheHtml=&quot;true&quot; &#xA;  htmlCacheSize=&quot;10MB&quot; &#xA;  registryCacheSize=&quot;0&quot; &#xA;  viewStateCacheSize=&quot;0&quot; &#xA;  xslCacheSize=&quot;5MB&quot; &#xA;  filteredItemsCacheSize=&quot;2MB&quot; &#xA;  enablePreview=&quot;true&quot; &#xA;  enableWebEdit=&quot;true&quot; &#xA;  enableDebugger=&quot;true&quot; &#xA;  disableClientData=&quot;false&quot; &#xA;  itemwebapi.mode=&quot;StandardSecurity&quot; &#xA;  itemwebapi.access=&quot;ReadOnly&quot; &#xA;  itemwebapi.allowanonymousaccess=&quot;false&quot; &#xA;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-01-02T16:25:30.020" LastActivityDate="2018-01-02T16:25:30.020" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9237" PostTypeId="1" AcceptedAnswerId="9238" CreationDate="2018-01-02T19:21:29.523" Score="2" ViewCount="230" Body="&lt;p&gt;So I need to re-create some content from Sitecore 7.2 to a new Sitecore 8 instance. What we had in mind is to create a script using  PowerShell in the &lt;strong&gt;new Sitecore 8 instance&lt;/strong&gt; to fetch the needed  data item from the old Sitecore 7.2 instance(via the Item Web Api), and then create new items based on that data. For this, we have to install Powershell Extension in the Sitecore 8 instance. So basically:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Old Instance &gt;&gt;&gt; New Instance (using SPE to get data from old instance)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other better approach to tackle this ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's worth mentioning we may have to insert renderings dynamically when creating the items, and we need flexibility (for this matter, the Sitecore 8  ItemService API doesn't work for us, since it doesn't allow us to dynamically add renderings and such to an item). &lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="2537" LastEditDate="2018-01-02T22:03:45.137" LastActivityDate="2018-01-03T15:43:41.857" Title="Data re-writing from Sitecore 7.2 with SPE" Tags="|powershell-extensions|sitecore-api|content-migration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9238" PostTypeId="2" ParentId="9237" CreationDate="2018-01-02T19:33:21.037" Score="3" Body="&lt;p&gt;Here are a few options you can take:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Serialize the Sitecore items you want to move and deserialize on the new instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- Write an SPE script which is what you suggested you are going to do right&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- Use the Razl tool from Hedgehog to compare and move items from one database to the other. You can read more about this &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Razl&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this is helpful&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2018-01-02T19:33:21.037" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9239" PostTypeId="2" ParentId="9229" CreationDate="2018-01-02T20:00:02.443" Score="8" Body="&lt;p&gt;I see a few different things need to get this completed.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Reporting&lt;/strong&gt;: Report on all the items with a role explicitly defined. Simple approach is to find all items referencing a given domain. I wrote a report &lt;a href=&quot;https://gist.github.com/michaellwest/e97ef499ce88a33f3556184d7b10d16d&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; that can help.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Bulk Changing&lt;/strong&gt;: Map the old role to the new role and update the security on each item. The report could either be updated to have actions to do this or write a separate script.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Reporting&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Using the &lt;a href=&quot;https://gist.github.com/michaellwest/e97ef499ce88a33f3556184d7b10d16d&quot; rel=&quot;noreferrer&quot;&gt;gist&lt;/a&gt; provided, you can view a report like the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HofnF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HofnF.png&quot; alt=&quot;Domain Selector&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BVlVY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BVlVY.png&quot; alt=&quot;Final Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Bulk Changing&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Using the security &lt;a href=&quot;https://doc.sitecorepowershell.com/users-and-roles.html&quot; rel=&quot;noreferrer&quot;&gt;commands&lt;/a&gt; provided by SPE, you can reassign the security for each item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following lists all of the security settings applied to the item.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:{11111111-1111-1111-1111-111111111111}&quot;&#xA;Get-ItemAcl -Item $item&#xA;&#xA;&amp;lt;#&#xA;Account                          AccessRight          PermissionType   PropagationType  SecurityPermission&#xA;-------                          -----------          --------------   ---------------  ------------------&#xA;Everyone                         item:read            Access           Entity           AllowAccess&#xA;Everyone                         item:read            Access           Descendants      AllowAccess&#xA;sitecore\Everyone                item:read            Access           Entity           AllowAccess&#xA;sitecore\Everyone                item:read            Access           Descendants      AllowAccess&#xA;#&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check out these commands:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add-ItemAcl&lt;/li&gt;&#xA;&lt;li&gt;Get-ItemAcl&lt;/li&gt;&#xA;&lt;li&gt;Set-ItemAcl&lt;/li&gt;&#xA;&lt;li&gt;Test-ItemAcl&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Turns out the script was less complex than I initially anticipated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following updates security to items provided you have mapped the old role to a new role.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;#&#xA;    .SYNOPSIS&#xA;        Find all items referencing the specified domain and replace with a new domain.&#xA;&#xA;    .NOTES&#xA;        Michael West&#xA;#&amp;gt;&#xA;&#xA;Import-Function -Name Invoke-SqlCommand&#xA;&#xA;# You'll want to update the domains and role mapping.&#xA;$oldDomain = &quot;demo&quot;&#xA;$newDomain = &quot;powerful&quot;&#xA;&#xA;$roleMapping = @{&#xA;    &quot;demo\Broken Role&quot; = &quot;powerful\Ways Role&quot;&#xA;}&#xA;&#xA;$connection = [Sitecore.Configuration.Settings]::GetConnectionString(&quot;master&quot;)&#xA;&#xA;$securityFieldId = [Sitecore.FieldIDs]::Security&#xA;&#xA;# Find all the items which explicitly have security assigned.&#xA;$query = @&quot;&#xA;SELECT [ItemId], [Value]&#xA;  FROM [dbo].[SharedFields]&#xA;  WHERE [FieldId] = '$($securityFieldId.ToString())'&#xA;    AND [Value] &amp;lt;&amp;gt; ''&#xA;&quot;@&#xA;&#xA;$records = Invoke-SqlCommand -Connection $connection -Query $query&#xA;$matchingRecords = $records | Where-Object { $_.Value -match $oldDomain } |&#xA;    ForEach-Object { Get-Item -Path &quot;master:&quot; -ID &quot;$($_.ItemId.ToString())&quot; }&#xA;&#xA;foreach($matchingRecord in $matchingRecords) {&#xA;    $oldacls = Get-ItemAcl -Item $matchingRecord&#xA;&#xA;    $newacls = @()&#xA;    foreach($oldacl in $oldacls) {&#xA;        $newacl = New-ItemAcl -AccessRight $oldacl.AccessRight -PropagationType $oldacl.PropagationType -SecurityPermission $oldacl.SecurityPermission -Identity ($roleMapping[$oldacl.Account.Name])&#xA;        $newacls += $newacl&#xA;    }&#xA;&#xA;    $matchingRecord | Set-ItemAcl -AccessRules $newacls&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Messages added to output for screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l7AcV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l7AcV.png&quot; alt=&quot;Sample Output&quot;&gt;&lt;/a&gt;    &lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-01-03T03:57:16.483" LastActivityDate="2018-01-03T03:57:16.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9240" PostTypeId="2" ParentId="9237" CreationDate="2018-01-02T20:12:21.380" Score="0" Body="&lt;p&gt;Have you looked at the Sitecore Express Migration tool? It can do the raw data migration piece fairly well: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From there, you could write an SPE script that runs on the new 8.x instance and updates the renderings at that point, once all data is migrated over. It might make it easier than having to work with the APIs on the fly, unless you have a need to specifically do things on the fly.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-01-02T20:12:21.380" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9241" PostTypeId="2" ParentId="9237" CreationDate="2018-01-02T20:27:24.483" Score="5" Body="&lt;p&gt;You will need some sort of script to manipulate and transform the data from one form to another. You could do this using some C# code and utilising the Sitecore API but my personal preference would be to use Sitecore PowerShell Extensions as you are planning to do.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Data Migration&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In order to &quot;migrate&quot; the data from the old 7.2 instance to the new 8.2 instance you can use any of the options suggested by @Diego in &lt;a href=&quot;https://sitecore.stackexchange.com/a/9238/135&quot;&gt;his answer&lt;/a&gt; or use the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Express Migration Tool&lt;/a&gt; (and select to migrate Items only). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will then allow you to more easily work with the data in your SPE scripts since it is then a &quot;local&quot; instance and you do not need to mess around with the Item Web API as well as having the advantage of providing a richer API in my opinion. You can treat the items as data only and write transform scripts to create new items based off the old data in whatever structure you need, then  finally delete the items once you have finished.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Secondary Master Database&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you really do not want to bring the old data into your new instance and want to treat it as a separate data repository then I would consider attaching the old master database from the 7.2 instance to your new 8.2 instance and then working with it directly from your SPE scripts. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Attach the 7.2 instance database to your SQL server and add a connection string entry:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;add name=&quot;legacymaster&quot; connectionString=&quot;Initial Catalog=sitecore72_master;...&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Copy the &lt;code&gt;sitecore/databases/database[@id='master']&lt;/code&gt; node and rename the &lt;code&gt;id&lt;/code&gt; attribute to match the connString:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;databases&amp;gt;&#xA;    &amp;lt;database id=&quot;legacymaster&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;      ...&#xA;    &amp;lt;/database&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;You can now reference the old databse form your 7.2 instance directly in your PowerShell scripts to access the data and then copy/transform/create items in the master database of your new 8.2 instance:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Get the original item from the 7.2 instance&#xA;$olditem = Get-Item -Path &quot;legacymaster:\content\home\oldpath&quot;&#xA;&#xA;# Create a new item in the new 8.2 instance&#xA;$newitem = New-Item -Path &quot;master:\content\home\sample item\Sample Item 3&quot; -ItemType &quot;Sample/Sample Item&quot;&#xA;&#xA;# Edit the item to set correct values of fields etc.&#xA;$newitem.Editing.BeginEdit()&#xA;$newitem[&quot;New Field&quot;] = $olditem.SomeField&#xA;$newitem[&quot;Other Field&quot;] = $olditem.SomeOtherField&#xA;#add any other changes you need&#xA;$newitem.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once your migration and transformation is complete you can delete the old database, connection string and config patch. This should providing an easier mechanism for you to write your scripts rather than using the Item Web API in my opinion.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-01-03T15:43:41.857" LastActivityDate="2018-01-03T15:43:41.857" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9242" PostTypeId="2" ParentId="9197" CreationDate="2018-01-02T20:48:06.460" Score="2" Body="&lt;p&gt;This is a bit of a hack (and can potentially cause some damage).  The pipeline that replaces the values is the &lt;code&gt;expandInitialFieldValue&lt;/code&gt;.  In it is the &lt;code&gt;Sitecore.Pipelines.ExpandInitialFieldValue.ReplaceVariables&lt;/code&gt; processor which essentially replaces the known variables on all the fields.  The keyword is &quot;All&quot; the fields...so why doesn't it replaces your example above.  The culprit is that when you are updating the parameters in the dialog, the &quot;$&quot; dollar sign gets encoded to &quot;%2524&quot; thus the default replacer is unable to update it.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make this work, assuming you've updated the parameters already as you specified above:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to your template's _Standard Values item in the Content Editor. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the View ribbon tab, check Raw Values and Standard Fields to see&#xA;the Renderings field. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Copy the field's XML value and paste it on&#xA;Notepad. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Find the encoded dollar sign (%2524) and replace it with&#xA;the actual dollar sign ($).   &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Copy and paste the updated XML back to&#xA;the field.  You should still be able to open the Presentation&#xA;details as normal but it may encode the dollar sign again...so just&#xA;check it.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now, when you create a new item based on that template, the item's name should now be the value of the parameter.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-02T20:48:06.460" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9243" PostTypeId="2" ParentId="3300" CreationDate="2018-01-03T03:29:58.947" Score="3" Body="&lt;p&gt;This helped me when i was getting this issue...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you downloaded the Sitecore Azure Toolkit as a .ZIP and unzip it,&#xA;  the individual files will be marked as &quot;blocked&quot; files. if they are all blocked your Powershell script wont work.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Before unzipping, right click the zip file, go to security and select the Unblock button on the .ZIP file, then extract.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;once i did this it worked fine&lt;/p&gt;&#xA;" OwnerUserId="2993" LastActivityDate="2018-01-03T03:29:58.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9244" PostTypeId="1" CreationDate="2018-01-03T04:06:29.313" Score="3" ViewCount="745" Body="&lt;p&gt;On Sitecore &lt;em&gt;v8.2&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If workflow is used, items need to be locked to be edited and explicitly unlocked by the content author when they are done.&lt;br&gt;&#xA;To automatically unlock the items upon save, we can change &lt;strong&gt;AutomaticUnlockOnSaved&lt;/strong&gt; setting value to &lt;em&gt;true&lt;/em&gt;. However, that doesn't work on item that doesn't contain any fields eg: Carousel parent folder that would contain carousel items. Carousel parent folder needs to go through the workflow, but since it doesn't have any fields, the item is not unlocked automatically upon item save.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone knows of a way around this?&lt;/p&gt;&#xA;" OwnerUserId="2671" LastActivityDate="2018-01-04T11:22:27.743" Title="Automatic unlock item upon save" Tags="|experience-editor|content-editor|workflow|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9245" PostTypeId="1" CreationDate="2018-01-03T07:55:37.977" Score="1" ViewCount="1136" Body="&lt;p&gt;When installing a package with overwrite option, some items are being automatically deleted where the package is installed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will installing a package with overwrite option delete content items?&lt;/p&gt;&#xA;" OwnerUserId="3019" LastEditorUserId="237" LastEditDate="2018-01-15T12:03:26.553" LastActivityDate="2018-01-15T12:03:26.553" Title="Installing Sitecore Package deletes content" Tags="|sitecore-client|package-designer|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9246" PostTypeId="2" ParentId="9245" CreationDate="2018-01-03T08:00:06.207" Score="2" Body="&lt;p&gt;If you use &lt;code&gt;override&lt;/code&gt; option while installing a package, it replaces every item and its descendants with items from the package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you have item &lt;code&gt;A&lt;/code&gt; in your application and it has 2 children &lt;code&gt;A1&lt;/code&gt; and &lt;code&gt;A2&lt;/code&gt;, and your package contains item with same ID as item &lt;code&gt;A&lt;/code&gt;, after your package is installed, you will have only what is in your package and old items &lt;code&gt;A&lt;/code&gt;, &lt;code&gt;A1&lt;/code&gt; and &lt;code&gt;A2&lt;/code&gt; will be removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want Sitecore to leave old items, try using &lt;code&gt;merge&lt;/code&gt; options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more e.g. here: &lt;a href=&quot;http://www.partech.nl/nl/blog/2012/11/sitecore-package-installation-options-explained&quot; rel=&quot;nofollow noreferrer&quot;&gt;SITECORE PACKAGE INSTALLATION OPTIONS EXPLAINED&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-01-03T08:00:06.207" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9248" PostTypeId="1" CreationDate="2018-01-03T10:19:45.777" Score="0" ViewCount="215" Body="&lt;p&gt;Can anyone please suggest, how to display hierarchical data using PageList?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Category items stored at: &lt;code&gt;/sitecore/system/Settings/Feature/MySite/Article Category&lt;/code&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vUBmT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vUBmT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My articles stored at: &lt;code&gt;/sitecore/content/MyTenantFolder/Sites/MySite/Home/MySite/Articles&lt;/code&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WQ5E5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WQ5E5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Category items used as a Treelist field type in Article data template: &#xA;&lt;a href=&quot;https://i.stack.imgur.com/hRP1U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hRP1U.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I wanted to display data like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/f3qQI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f3qQI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="2727" LastEditDate="2018-01-15T14:13:36.147" LastActivityDate="2018-01-15T14:13:36.147" Title="PageList Component hierarchical data" Tags="|sxa|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9249" PostTypeId="1" CreationDate="2018-01-03T10:47:12.963" Score="5" ViewCount="1469" Body="&lt;p&gt;I am using SXA in Sitecore 9, I have created simple search scope with below query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;template:{cbb0f1aa-1a19-4c0a-a897-49af144cb801};+location:{3F38A230-25BB-4DBA-B9D3-2CE94F842072}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From UI there are search result returned, however when I add Search result rendering in a page and use the search scope above, no results return in the page.&#xA;I checked Search log and I found the query issued from UI is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;12548 12:41:09 INFO  Solr Query - ?q=(((_path:(3f38a23025bb4dbab9d32ce94f842072) AND _template:(cbb0f1aa1a194c0aa89749af144cb801)) AND _latestversion:(1)) AND _datasource:(sitecore))&amp;amp;start=0&amp;amp;rows=20&amp;amp;fl=*,score&amp;amp;fq=_indexname:(sitecore_master_index)&amp;amp;wt=xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From Search Result Rendering:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;26128 12:29:08 INFO  Solr Query - ?q=(((_path:(3f38a23025bb4dbab9d32ce94f842072) AND _template:(cbb0f1aa1a194c0aa89749af144cb801)) AND (_path:(3f38a23025bb4dbab9d32ce94f842072) AND searchable_b:(True))) AND _latestversion:(True))&amp;amp;rows=0&amp;amp;fq=_indexname:(sitecore_master_index)&amp;amp;wt=xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the difference is &lt;strong&gt;searchable_b:(True)&lt;/strong&gt;, how we can set this field and what does it mean?&lt;/p&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="237" LastEditDate="2018-02-03T14:11:04.867" LastActivityDate="2020-04-27T22:54:48.983" Title="Issue in SXA search scope: no results due to searchable_b:(True)" Tags="|content-search|solr|sxa|" AnswerCount="3" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9250" PostTypeId="1" AcceptedAnswerId="9270" CreationDate="2018-01-03T11:34:28.233" Score="12" ViewCount="1302" Body="&lt;p&gt;I'm trying to implement XConnect in a Sitecore context and using the code snippet&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA; {   }&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here,&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error    CS0234    The type or namespace name 'Configuration' does not&#xA;  exist in the namespace 'Sitecore.XConnect.Client' (are you missing an&#xA;  assembly reference?)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have added Sitecore.xConnect and Sitecore.xConnect.Client into the references as well as in the name space. But Still the issue is not resolved and getting this error. I have added these dll's through nuget package manager.&#xA;Any idea on this issue or I'm missing something??&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Refering this &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/xconnect-client-api-overview/get-client-in-sitecore.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore doc website&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2473" LastEditorUserId="1671" LastEditDate="2018-01-03T13:06:18.200" LastActivityDate="2018-07-23T11:33:21.623" Title="The type or namespace name 'Configuration' does not exist in the namespace 'Sitecore.XConnect.Client'" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9251" PostTypeId="1" AcceptedAnswerId="9253" CreationDate="2018-01-03T14:00:12.430" Score="4" ViewCount="528" Body="&lt;p&gt;I have content items with &lt;code&gt;Droplist&lt;/code&gt; field. I want to change this field to &lt;code&gt;Droplink&lt;/code&gt; &#xA;field type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best solution/practice to change it without losing already existing data?&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-01-03T14:09:10.350" Title="Change field type from Droplist to Droplink" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9252" PostTypeId="1" AcceptedAnswerId="9255" CreationDate="2018-01-03T14:08:59.080" Score="0" ViewCount="1192" Body="&lt;p&gt;I am using Sitecore 8.2 Update 5. I created one folder item &quot;Days in Year List&quot; under which I created 365 items which represent 365 days of a year.&#xA;I set this year folder path to &quot;Source&quot; in template field of type droplist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I am chekcing values under this droplist in content tree item, I am getting list upto 260 items only. All items after 260-365 are missing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do anybody know how to show all items in droplist or droplink?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fOyoo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fOyoo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2018-01-03T14:31:52.943" Title="Sitecore Droplist showing first 260 items only" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9253" PostTypeId="2" ParentId="9251" CreationDate="2018-01-03T14:09:10.350" Score="8" Body="&lt;p&gt;You cannot use the existing data directly to go from drop list to droplink as they stored data differently. Droplist has the display name, and droplink has the GUID of the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to convert, I would usually suggest introducing a new field rather than changing the field, and forcing readonly permissions onto the old Droplist field so that it can be viewed for historical purposes but not changed. This also helps with moving through environments when deploying while you test that everything works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could then have an SPE script or similar to fill in the Droplink field with the correct GUID that matches to the existing data in the Droplist field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you are happy with everything and all environments are updated, your next release can then hide the old field completely or delete it.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-01-03T14:09:10.350" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9254" PostTypeId="1" CreationDate="2018-01-03T14:10:48.347" Score="0" ViewCount="2662" Body="&lt;p&gt;I am hoping to understand the cause of this and hopefully find a solution - I have looked at every possible solution, but haven't been able to fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore &lt;em&gt;v8.2 update 3&lt;/em&gt; using &lt;em&gt;SOLR&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my current set up, &lt;strong&gt;Core DB&lt;/strong&gt; is &lt;em&gt;not&lt;/em&gt; shared between CM and CD servers. Index update strategy for web db is &lt;strong&gt;&lt;em&gt;onPublishEndAsync&lt;/em&gt;&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a new item and published it. Item was published to the web db, but the item didn't appear in the index. I thought perhaps core db might have a play in this. So, I changed the settings as follows.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Both CM and CD servers to share the core db.&lt;/li&gt;&#xA;&lt;li&gt;Set up the &lt;code&gt;InstanceName&lt;/code&gt; and &lt;code&gt;Publishing.PublishingInstance&lt;/code&gt; instance name on CM and CD servers. On CM server, the value for these settings is &lt;code&gt;CM&lt;/code&gt;. On the CD server, &lt;code&gt;InstanceName&lt;/code&gt; is left blank and &lt;code&gt;Publishing.PublishingInstance&lt;/code&gt; value is &lt;code&gt;CM&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Updated the eventqueue polling interval to 1 minute. &lt;/li&gt;&#xA;&lt;li&gt;Changed the crawling log to add debug information.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Index is still not updated and the message that I see in the logs is &lt;code&gt;'Event Queue is empty. Incremental update returns'&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the events are processed in the event queue according to &lt;em&gt;EventQueueStats.aspx&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the cause of it? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Edit:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I kicked off index rebuild from 'developers' tab, but even that didn't update the web index. The core name and the ID is correct.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job ended: Index Rebuild (sitecore_web_index) (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2671" LastEditorUserId="2671" LastEditDate="2018-01-04T02:43:04.107" LastActivityDate="2018-01-04T02:43:04.107" Title="Web indexes not updated upon publish" Tags="|publishing|indexing|events|scaling|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9255" PostTypeId="2" ParentId="9252" CreationDate="2018-01-03T14:15:45.023" Score="5" Body="&lt;p&gt;&lt;a href=&quot;https://ggullentops.blogspot.be/2016/03/querymaxitems-in-sitecore-81.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.be/2016/03/querymaxitems-in-sitecore-81.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As from Sitecore 8.1 the &lt;code&gt;Query.MaxItems&lt;/code&gt; value is patched in Sitecore.ExperienceExplorer.config and set to 260. This means that Sitecore queries will fetch only the first 260 items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can adjust this setting if needed or make sure that you don't have that many items in the droplist. As Michael mentioned, it will be a bad UX if you have that many items in the droplist... also consider performance - Sitecore did put a max on the result set for a reason ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned in the comments - don't use a droplist/droplink for your solution. Integer will work better for you (with validator if needed).&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-01-03T14:31:52.943" LastActivityDate="2018-01-03T14:31:52.943" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9256" PostTypeId="2" ParentId="9254" CreationDate="2018-01-03T14:39:57.050" Score="3" Body="&lt;p&gt;Based on Sitecore Documentation, your Core DB &lt;strong&gt;must be shared&lt;/strong&gt; between CM and CD!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the standard multiserver Sitecore environment, all the content management and content delivery instances share the Core and Web databases, and all the content management instances share the Master database. This means that you have to use the same connection strings to the databases for the configuration file of each server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following diagram illustrates the connections between the servers and the content databases in a standard multiserver Sitecore setup:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B8U6l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B8U6l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Events are delivered from one instance to another as records in &lt;code&gt;EventQueue&lt;/code&gt; data table. By default, Sitecore uses Core DB for storing these events, but that can be changed in config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;eventing defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;clear/&amp;gt;&#xA;    &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Eventing.EventProvider, Sitecore.Kernel&quot; systemDatabaseName=&quot;core&quot;/&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/eventing&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If shared Core DB is not possible for any reason, set up SQL replication for Core database from CM to CD to synchronize events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more information regarding SQL replication in Sitecore documentation - &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/64/sql_server_replication_guide_sc63-64-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;SQL Server Replication Guide&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2018-01-03T14:59:07.357" LastActivityDate="2018-01-03T14:59:07.357" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9258" PostTypeId="1" CreationDate="2018-01-03T14:47:30.730" Score="0" ViewCount="540" Body="&lt;p&gt;Did anybody experience below issue? Recently I have been seeing below error messages in log files. I verified the Mongo connection and it seems to be working as expected and below seems to be happening couple of times in a day: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    4808 20:53:52 WARN  Session Submit has failed.&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: Only one usage of each socket address (protocol/network address/port) is normally permitted 10.146.24.201:27017&#xA;Source: System&#xA;   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)&#xA;   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)&#xA;   at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)&#xA;   at MongoDB.Driver.Internal.MongoConnection.Open()&#xA;   at MongoDB.Driver.Internal.MongoConnection.SendMessage(BsonBuffer buffer, Int32 requestId)&#xA;   at MongoDB.Driver.Internal.MongoConnection.SendMessage(MongoRequestMessage message)&#xA;   at MongoDB.Driver.Operations.CommandOperation`1.Execute(MongoConnection connection)&#xA;   at MongoDB.Driver.Operations.BulkUnmixedWriteOperationBase.ExecuteBatch(MongoConnection connection, Batch`1 batch, Int32 originalIndex)&#xA;   at MongoDB.Driver.Operations.BulkUnmixedWriteOperationBase.Execute(MongoConnection connection)&#xA;   at MongoDB.Driver.Operations.UpdateOpcodeOperationEmulator.Execute(MongoConnection connection)&#xA;   at MongoDB.Driver.Operations.UpdateOpcodeOperation.Execute(MongoConnection connection)&#xA;   at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options)&#xA;   at Sitecore.SessionProvider.MongoDB.MongoSessionStateStore.UpdateAndReleaseItem(String application, String id, String lockCookie, SessionStateActions action, SessionStateStoreData sessionState)&#xA;   at Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateManager.SaveAndReleaseContact(Contact contact)&#xA;   at Sitecore.Analytics.Tracking.ContactManager.SaveAndReleaseContact(Contact contact)&#xA;   at Sitecore.Analytics.Pipelines.CommitSession.SubmitSession.Process(CommitSessionPipelineArgs args)&#xA;&#xA;4808 20:53:52 ERROR PostSessionEndPipeline failed.&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: Only one usage of each socket address (protocol/network address/port) is normally permitted 10.146.24.201:27017&#xA;Source: System&#xA;   at Sitecore.Analytics.Pipelines.CommitSession.SubmitSession.Process(CommitSessionPipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.PostSessionEnd.CommitSession.Process(PostSessionEndArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Web.Application.RaiseSessionEndEvent(HttpApplication context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: TCP IP port range is set to default which is 5000. We don't have any custom MaxUserPort set in registry and same with TCPTimedWaitDelay which isn't set.&lt;/p&gt;&#xA;" OwnerUserId="706" LastActivityDate="2018-01-04T04:56:52.560" Title="How to resolve Mongo PostSessionEndPipeline failed or Session Submit has failed error" Tags="|xdb|experience-analytics|mongodb|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9260" PostTypeId="2" ParentId="9223" CreationDate="2018-01-03T16:20:42.957" Score="3" Body="&lt;p&gt;Sitecore support was able to replicate the issue and have provided a fix.  Ask for support package 97023 if you're having this issue.&lt;/p&gt;&#xA;" OwnerUserId="32" LastActivityDate="2018-01-03T16:20:42.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9261" PostTypeId="1" AcceptedAnswerId="9264" CreationDate="2018-01-03T16:21:15.950" Score="3" ViewCount="1799" Body="&lt;p&gt;If I were mapping a &lt;code&gt;Link&lt;/code&gt; type field, I can override the default URL options like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(UrlOptions = SitecoreInfoUrlOptions.AlwaysIncludeServerUrl)]&#xA;public Link ThisIsALink { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I were using fluent configuration, it would look like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Map(x =&amp;gt;&#xA;{&#xA;    x.Field(field =&amp;gt; field.ThisIsALink)&#xA;     .Configuration.UrlOptions = SitecoreInfoUrlOptions.AlwaysIncludeServerUrl;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I do the same with an &lt;code&gt;Image&lt;/code&gt; type field?&lt;/p&gt;&#xA;" OwnerUserId="634" LastEditorUserId="73" LastEditDate="2019-04-10T16:40:11.223" LastActivityDate="2019-04-10T16:40:11.223" Title="How do I configure an image field with Url Options?" Tags="|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9262" PostTypeId="2" ParentId="9248" CreationDate="2018-01-03T16:41:31.193" Score="2" Body="&lt;p&gt;It is impossible to achieve that with out-of-the-box renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only one rendering that builds a hierarchical structure based on some field value is &lt;strong&gt;Archive&lt;/strong&gt; rendering (typical archive functionality used on blogs).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GxhiR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GxhiR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could potentially use &lt;strong&gt;Tag Cloud&lt;/strong&gt; rendering, but it will not cover all your requirements (you can use data attributes which contains number of items with a given tag to display numbers but you will not see a list of all items which belong to this tag/category)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t0nqW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t0nqW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I were you I would decompile &lt;strong&gt;Archive&lt;/strong&gt; rendering and try to create a structure based on other fields. Right now it accepts only &lt;code&gt;Date&lt;/code&gt; fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or &lt;strong&gt;Tag Cloud&lt;/strong&gt;, you can change the facet for it (default is &lt;code&gt;SxaTags&lt;/code&gt; field) right now, the only thing you have to do additionally is to render it differently (with &#xA; list of items under each category)&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-01-03T16:41:31.193" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9263" PostTypeId="1" AcceptedAnswerId="9313" CreationDate="2018-01-03T18:04:48.980" Score="4" ViewCount="738" Body="&lt;p&gt;Here is what I did:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I set Component A to show after Goal A was triggered during a past or current interaction'. Then I triggered Goal A and I was successfully identified as a contact by adding an email query string &lt;code&gt;?email=asdf@asdf.com&lt;/code&gt; to the web address. I could see the personalized component A as expected.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;After session timeout I visit the site again with the same query string expecting to see personalized component A (because its personalization rule is supposed to fire on more than just the current session, but also return sessions), but I do not. I do see some useful diagnostic info:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) The same Contact ID and Contact email info as the previous session were detected, which confirm that the visitor is identified correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) Goal A's ID shows up as a past session triggered goal, which confirms the user behavior was correctly saved after session ends.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;However, after I refresh the page, I do see personalization component A show up (without triggering Goal A in the current session). I think the correct behavior here is to show personalized component A in the return session without I having to hit refresh.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here is goal A:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where the Page X has been visited during the current visit&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here are two similar rules I have tried:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;where the Goal A was triggered during a past or current interaction and when the number of elapsed days is not equal to 999999999 and when the past number of interactions is not equal to 999999999&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;where the Goal A was triggered during a past or current interaction and when the number of elapsed days is greater than or equal to 0 and when the past number of interactions is greater than or equal to 0&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Any one knows why this is happening? Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1775" LastEditorUserId="605" LastEditDate="2018-01-04T11:19:23.837" LastActivityDate="2018-01-12T20:45:14.610" Title="Sitecore personalization rule &quot;goal was triggered during a past or current interaction&quot; not being triggered" Tags="|personalization|session-state|rules-engine|goals|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="9264" PostTypeId="2" ParentId="9261" CreationDate="2018-01-03T19:28:50.417" Score="4" Body="&lt;p&gt;Looks like is a know issue &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/issues/111&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/issues/111&lt;/a&gt; ;&#xA;I suggest you to open an issue ticket on GlassMapper github; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/issues&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/issues&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe @MichaelEdwars will fix it in future versions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rDo1q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rDo1q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-01-03T19:28:50.417" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9265" PostTypeId="2" ParentId="9258" CreationDate="2018-01-04T04:56:52.560" Score="1" Body="&lt;p&gt;You have these errors because you don't use the right version of Mongo.&#xA;For Sitecore 8.1 you should use Mongo 3.0 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on next link : &lt;a href=&quot;https://kb.sitecore.net/articles/633863&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/633863&lt;/a&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/rtjO4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rtjO4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-01-04T04:56:52.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9267" PostTypeId="2" ParentId="9249" CreationDate="2018-01-04T07:33:12.703" Score="2" Body="&lt;p&gt;'searchable_b:(True)' is a computed field (part of SXA) that returns true if the item inherits 'Searchable' template. So if your page templates inherit 'Searchable' (directly or indirectly) you should be good, but make sure to publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your main problem seems that the query is requesting 0 rows. Maybe the 'Page Size' in your search component has been set to 0 by mistake.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zW7kT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zW7kT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-01-04T07:33:12.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9268" PostTypeId="1" CreationDate="2018-01-04T09:04:52.093" Score="2" ViewCount="244" Body="&lt;p&gt;I have used Foundation grid to create the site. After that created the page, but it's showing the small area (small css classes) during page edit in experience mode and also after publish its not covering the complete page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Foundation Grid:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/SwQtE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SwQtE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;While Bootstrap Grid covering complete page:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/O7dfm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O7dfm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Foundation Page output:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1kw5k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1kw5k.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know, is there any settings needs to be changed for Foundation grid, so that it will cover whole page.&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="73" LastEditDate="2018-01-04T09:06:40.697" LastActivityDate="2018-01-04T11:39:04.480" Title="Foundation Grid shows differently in Experience Editor mode" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9270" PostTypeId="2" ParentId="9250" CreationDate="2018-01-04T10:19:51.270" Score="10" Body="&lt;p&gt;After adding Sitecore.XConnect.Client.Configuration dll  from nuget package has resolved my issue which helps in creating Xconnect client object in sitecore context.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.XConnect.Client.Configuration dll&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2473" LastActivityDate="2018-01-04T10:19:51.270" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9272" PostTypeId="2" ParentId="9244" CreationDate="2018-01-04T11:22:27.743" Score="2" Body="&lt;p&gt;I just tried this scenario, by default it doesn't unlock it on save. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I found something really weird, (I'm using Sitecore 9) if you show 'Standard Fields' from the 'View' tab and then do the same scenario again, it does unlock it on save. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure about other Sitecore versions. But if this occurs, this is a bug and should be reported.&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-01-04T11:22:27.743" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9273" PostTypeId="2" ParentId="9268" CreationDate="2018-01-04T11:39:04.480" Score="3" Body="&lt;p&gt;Well, it's how the foundation grid works. It's more grid specific setting rather then SXA one. But thanks to the fact that SXA supports different grid system there is an option to customize this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just navigate to your theme item and look for PlaceholderSettings field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vG2PE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vG2PE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change settings from Fixed to Flex for one of the placeholders or to all of them. Here I've just changed this to the Main placeholder and this gives me something like that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iaFv6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iaFv6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By changing those settings you change the CSS class which is assigned to the certain placeholder. Those classes are defined per grid system. For the Foundation grid they are defined here: &lt;code&gt;/sitecore/system/Settings/Feature/Experience Accelerator/Foundation/Grid Definition&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Y4oMj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y4oMj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-01-04T11:39:04.480" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9276" PostTypeId="1" CreationDate="2018-01-04T13:42:44.390" Score="3" ViewCount="266" Body="&lt;p&gt;im trying to deploy &quot;vanilla&quot; Sitecore using the topology &quot;XM&quot; to create in Azure CD and CM PaaS servers&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ive encountered many issues while trying to get this working, but the most recent deployment error im getting now is below...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The path '' is not valid for the 'dbDacFx' provider.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;im using the Sitecore Azure Toolkit v1.1 for Sitecore 8.2 update 5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of the resources deploy correctly, but once this completes after around 15 minutes i get this error. I understand this is in relation to restoring the databases using the DACPAC files but i dont understand which path its related to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;my deploy parameters JSON template is valid and i have checked that the azure storage SAS tokens for the SCWDP (sitecore web deploy packages) are all working&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any help is most appricated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;JGilmartin&lt;/p&gt;&#xA;" OwnerUserId="2993" LastActivityDate="2018-01-04T17:55:22.967" Title="The path '' is not valid for the 'dbDacFx' provider with ARM templates SAT Sitecore Deployment" Tags="|azure|paas|azure-resource-manager|" AnswerCount="0" CommentCount="0" FavoriteCount="0" ClosedDate="2022-01-04T02:16:41.557" ContentLicense="CC BY-SA 3.0" />
  <row Id="9277" PostTypeId="1" AcceptedAnswerId="9278" CreationDate="2018-01-04T14:53:34.000" Score="3" ViewCount="799" Body="&lt;p&gt;I have a 'local' style deployed Sitecore 9 development environment on a VM. I have to make a callout to invoke it from an external machine to test some functionality, however, I don't completely understand how to hit it from another machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I understand is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;On the local machine, hitting &lt;a href=&quot;http://xp0.sc/sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xp0.sc/sitecore&lt;/a&gt; loads the Sitecore Admin interface.&lt;/li&gt;&#xA;&lt;li&gt;On the local machine, Hitting &lt;a href=&quot;http://xp0.sc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xp0.sc/&lt;/a&gt; loads the Sitecore live site.&lt;/li&gt;&#xA;&lt;li&gt;On the local machine, in the hosts file, Sitecore has crated xp0.sc to resolve to 127.0.0.1.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My questions are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;However, hitting localhost/sitecore is not the same as hitting xp0.sc (why?)&lt;/li&gt;&#xA;&lt;li&gt;Say the machine name is myMachine. What URL should I be using to hit the Sitecore deployment from another machine?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3042" LastActivityDate="2018-01-04T15:32:09.290" Title="Hitting a 'local' sitecore 9 instance from another machine" Tags="|deployment|iis|" AnswerCount="1" CommentCount="4" ClosedDate="2018-01-04T17:19:19.263" ContentLicense="CC BY-SA 3.0" />
  <row Id="9278" PostTypeId="2" ParentId="9277" CreationDate="2018-01-04T15:32:09.290" Score="4" Body="&lt;p&gt;It is really not Sitecore specific but I'll answer this anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding your first question:&lt;br&gt;&#xA;It's not the same since the web server running on your local machine routes the request to different sites depending on the url used in the request. In the case of Sitecore the web server is probably IIS. You can see and edit the configured sites in the IIS Manager. This allows you to run different sites (or multiple Sitecore instances) on the same machine using the same web server (think &lt;code&gt;xp1.sc&lt;/code&gt;, &lt;code&gt;xp2.sc&lt;/code&gt;, ...)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding your second question:&lt;br&gt;&#xA;This really depends on your network and who should be able to access it. In the easiest case you could access the site from another machine in the same local network via &lt;code&gt;http://myMachine&lt;/code&gt; (given there are no firewall restrictions, etc.). In this case you would have to create an additional binding for your Sitecore IIS site (for example using the aforementioned IIS Manager).&lt;/p&gt;&#xA;" OwnerUserId="2713" LastActivityDate="2018-01-04T15:32:09.290" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9280" PostTypeId="2" ParentId="30554" CreationDate="2018-01-04T17:55:22.967" Score="0" Body="&lt;p&gt;The reason for this error was that i was pointing to SCWDP's for a topology different that was i was deploying.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;It was because I used the xM topology templates with the scwdp-files&#xA;  I’ve downloaded for the xP-topology. The latter one depends on a&#xA;  reporting database, which the xM templates don’t send as parameter.&#xA;  Make sure that you use the packages with the same topology of&#xA;  templates.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2993" LastActivityDate="2018-01-04T17:55:22.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9281" PostTypeId="1" AcceptedAnswerId="9283" CreationDate="2018-01-04T18:04:20.130" Score="1" ViewCount="1300" Body="&lt;p&gt;I want to use the jsgrid in a customized sitecore shell model , i wonder what could be the best way to include the script file without building a custom speak component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="1057" LastActivityDate="2018-01-04T19:41:29.387" Title="What is the best way to add a Javascript component to speak?" Tags="|sitecore-client|speak|javascript|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9282" PostTypeId="1" CreationDate="2018-01-04T19:26:46.893" Score="1" ViewCount="591" Body="&lt;p&gt;Upon accessing User Manager, there are eight default columns:  User name, Domain, Fully qualified name, Full name, Email, Comment, Language, and Locked.&#xA;Is it possible to add/remove columns to display other key information we're tracking?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mhFKh.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mhFKh.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3043" LastActivityDate="2018-01-04T20:10:44.830" Title="Is it possible to edit/customize columns that appear for User Manager?" Tags="|user-management|custom-field|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9283" PostTypeId="2" ParentId="9281" CreationDate="2018-01-04T19:41:29.387" Score="0" Body="&lt;p&gt;There are multiple ways to do this.  I know you said a custom SPEAK component, but I thought I provide various ways of adding JS into Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://marcotanainsights.wordpress.com/2017/10/12/add-placeholder-name-when-inserting-sitecore-component-without-updating-sitecore-js-files/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Read my blog&lt;/a&gt; where I include the name of the placeholder on the &quot;Add here&quot; button in Experience Editor.  I don't think this is what you need but should give you some ideas.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you are using the PageCode rendering, there's a PageCodeScriptFilename that you use to load a JS file.  See this &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore walkthrough for details&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use a SPEAK client pipeline.  Take a &lt;a href=&quot;https://blog.richardszalay.com/2017/03/24/sitecore-experience-ribbon-header/&quot; rel=&quot;nofollow noreferrer&quot;&gt;look at this example&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-04T19:41:29.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9284" PostTypeId="2" ParentId="9282" CreationDate="2018-01-04T19:53:05.883" Score="0" Body="&lt;p&gt;Not really unless you override the UserManager application.  You can essentially reflect &lt;code&gt;Sitecore.Shell.Applications.Security.UserManager.UserManager&lt;/code&gt; and update the ASPX page located at \sitecore\shell\Applications\Security\UserManager (yes...it's not SPEAK) with your custom columns.  Then, make sure that the application is using your new ASPX page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fOY3U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fOY3U.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-04T19:53:05.883" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9285" PostTypeId="2" ParentId="9282" CreationDate="2018-01-04T19:53:47.563" Score="2" Body="&lt;p&gt;I don't believe it's possible to customize this dialog without changing the xml and classes associated with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may however like using Sitecore PowerShell Extensions.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-User -Filter &quot;sitecore\*&quot; | &#xA;    Show-ListView -Property Name,@{label=&quot;Email&quot;;expression={$_.Profile.Email}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1epzu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1epzu.png&quot; alt=&quot;Sample Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-01-04T20:10:44.830" LastActivityDate="2018-01-04T20:10:44.830" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9286" PostTypeId="2" ParentId="9282" CreationDate="2018-01-04T19:59:17.150" Score="0" Body="&lt;p&gt;The User Manager application is defined in the &lt;strong&gt;\Website\sitecore\shell\Applications\Security\UserManager\UserManager.aspx&lt;/strong&gt; file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to customize this aspx file to add new columns and the code behind of aspx file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should add custom GridColumn to the columns list of the Grid control. &#xA;Sitecore used using third party component in the User Manager application. It is ComponentArt Grid control (&lt;a href=&quot;https://www.componentsource.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.componentsource.com&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer to the ComponentArt documentation to find best way for filling in your custom column with the custom property values.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-01-04T19:59:17.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9287" PostTypeId="1" AcceptedAnswerId="9459" CreationDate="2018-01-04T20:01:15.023" Score="4" ViewCount="738" Body="&lt;p&gt;I'm experiencing an issue with the Preview functionality when logged in to Sitecore through Azure Active Directory. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Logging in through AD is following this approach:&#xA;&lt;a href=&quot;http://blog.baslijten.com/how-to-add-federated-authentication-with-sitecore-and-owin/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.baslijten.com/how-to-add-federated-authentication-with-sitecore-and-owin/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the Claim is returned from OWIN, a virtual user is created with the Role information from the claim and then logged into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Logging into Sitecore works just fine and I'm able to open up and use Experience Editor as normal. Whenever I try to launch Preview (either from the Publish tab or ribbon bar in Experience Editor), the below exception is thrown. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the below error has occurred, the user must also re-log in to Sitecore again. If they try to close the preview tab and continue in Sitecore, the same error occurs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing I have noticed when debugging through this is that when viewing Preview the &lt;code&gt;Sitecore.Pipelines.HttpRequest.HttpRequestArgs.Context.User.Identity.Name&lt;/code&gt; changes from &lt;strong&gt;&lt;em&gt;sitecore/userEmail&lt;/em&gt;&lt;/strong&gt; to &lt;strong&gt;&lt;em&gt;default/anonymous&lt;/em&gt;&lt;/strong&gt;. Not sure if the change in user identity for Preview would be causing an automatic log out of the user when logged in through AD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anybody run into something similar or know where to start looking?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;7976 13:35:20 ERROR Application error. Exception:&#xA;  System.InvalidOperationException Message: membership user Source:&#xA;  Sitecore.Kernel    at&#xA;  Sitecore.Web.Authentication.DefaultTicketManager.HasAccessForLogin(Ticket&#xA;  ticket)    at&#xA;  Sitecore.Web.Authentication.DefaultTicketManager.Relogin(String&#xA;  ticketId, Boolean redirect)    at&#xA;  Sitecore.Shell.Web.ShellPage.IsLoggedIn(Boolean returnAfterLogin)&lt;br&gt;&#xA;  at&#xA;  Sitecore.Mvc.Pipelines.Request.RequestBegin.EnsureLoggedInForPreview.Process(PipelineArgs&#xA;  args)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain)    at&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String&#xA;  pipelineName, TArgs args)    at&#xA;  Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext&#xA;  context, AsyncCallback cb, Object extraData)    at&#xA;  System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,&#xA;  Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3007" LastEditorUserId="2727" LastEditDate="2018-01-14T10:57:11.163" LastActivityDate="2018-01-14T11:07:45.727" Title="Error with Preview when logged in through Active Directory" Tags="|experience-editor|authentication|azure-ad|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9288" PostTypeId="1" AcceptedAnswerId="9290" CreationDate="2018-01-04T21:15:39.167" Score="6" ViewCount="473" Body="&lt;p&gt;I have a custom security domain that has a majority of content authors in it.  I feel like, there is a way, so that rather than optionally having to type in &lt;code&gt;sitecore\user&lt;/code&gt;, you can make your custom security domain optional to enter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So rather than having to type &lt;code&gt;my-custom-domain\user&lt;/code&gt;, you can just type in user (like you can with any user in the Sitecore security domain).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone can remind me, how to configure this, I would really appreciate it.  My recollection is that, you can only have one security domain that is optional to enter, so a consequence would be that any Sitecore security domain users would need to enter in &lt;code&gt;sitecore\user&lt;/code&gt; to login, which is fine.&lt;/p&gt;&#xA;" OwnerUserId="2289" LastEditorUserId="2727" LastEditDate="2018-01-15T08:51:19.847" LastActivityDate="2018-01-15T08:51:19.847" Title="How do I configure a custom security domain so that it doesn't need to be specified when logging in?" Tags="|security|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9289" PostTypeId="2" ParentId="9229" CreationDate="2018-01-04T22:55:19.503" Score="0" Body="&lt;p&gt;Maybe this script also can be useful. This script copies all access rights from one identity to another indentity for selected item.&#xA;So you can easy move all access rights for all items.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Copy-ItemAcl -FromIdentity 'SUPER\ROBSONAUTOMATOR' -ToIdentity 'LAZY\ONE' -Path &quot;/sitecore/content/Home&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The full code is available on &lt;a href=&quot;https://gist.github.com/RobsonAutomator/6f214b2163de29da48513b1bf305f2da&quot; rel=&quot;nofollow noreferrer&quot;&gt;gist&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2739" LastActivityDate="2018-01-04T22:55:19.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9290" PostTypeId="2" ParentId="9288" CreationDate="2018-01-05T00:53:27.040" Score="9" Body="&lt;p&gt;You need to change the &lt;code&gt;domain&lt;/code&gt; attribute of the &lt;code&gt;login&lt;/code&gt; site node in configuration, by default it is &lt;strong&gt;&quot;sitecore&quot;&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;login&quot; set:domain=&quot;powerful&quot; /&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you say, you can only have a single default domain, if you change this then users in the &lt;code&gt;sitecore\&lt;/code&gt; domain will need to explicitly specify it.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-01-05T00:53:27.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9291" PostTypeId="1" CreationDate="2018-01-05T05:57:25.050" Score="8" ViewCount="505" Body="&lt;p&gt;We are using SXA in one of our projects. We are currently facing an issue with default search url pattern being used by SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA search url by default is using '#' in search url. Sample below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;&amp;lt;siteurl&amp;gt;&amp;gt;/search#q=test&amp;amp;o=Title,Ascending&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a way to change to &quot;?&quot; similar to content search in a non SXA implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue with # is that GA is not able to identify it correctly. We need to modify it to use &quot;?&quot;. EX:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;&amp;lt;siteurl&amp;gt;&amp;gt;/search?q=test&amp;amp;o=Title,Ascending&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this possible OOTB or needs customization?&lt;/p&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="73" LastEditDate="2018-01-13T20:16:30.763" LastActivityDate="2018-07-13T01:07:44.253" Title="Changing hash to query string" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9292" PostTypeId="1" AcceptedAnswerId="9469" CreationDate="2018-01-05T07:03:09.170" Score="3" ViewCount="2601" Body="&lt;p&gt;Here is the information from chapter &lt;i&gt;Registering Tasks in Sitecore Database&lt;/i&gt; from a book &lt;b&gt;Professional Sitecore Development&lt;/b&gt; written by John West:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In addition to agents defined in the Web.config file, you can create task definition items in a Sitecore&#xA;  database. Ironically, Sitecore uses the &lt;b&gt;DatabaseAgent&lt;/b&gt; and &lt;b&gt;TaskDatabaseAgent&lt;/b&gt; agents defined in&#xA;  the Web.config file to invoke tasks defined in a Sitecore database. The difference between these two&#xA;  agents is that you must specify the database using the first  element of the DatabaseAgent&#xA;  /configuration/sitecore/scheduling/agent element in the Web.config file, whereas the&#xA;  TaskDatabaseAgent determines the database from the first  element within the&#xA;  /configuration/sitecore/TaskDatabase element in the Web.config file. The default Sitecore&#xA;  configuration invokes tasks defined in the Master and Core databases.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I understood the out-of-the-box way of using &lt;b&gt;DatabaseAgent&lt;/b&gt; (by creating .NET logic, command item and schedule item in content editor) from this link: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-all-about-sitecore-scheduling-agents-and-tasks&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-all-about-sitecore-scheduling-agents-and-tasks&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could someone please explain to me how to use the &lt;b&gt;TaskDatabaseAgent&lt;/b&gt; out-of-the-box way (e.g. which out-of-the-box action that helps to insert record(s) into Tasks table in Core DB)?&lt;/p&gt;&#xA;" OwnerUserId="2076" LastActivityDate="2018-01-13T13:58:49.367" Title="How to use TaskDatabaseAgent out-of-the-box way?" Tags="|scheduled-tasks|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9293" PostTypeId="2" ParentId="9291" CreationDate="2018-01-05T07:47:14.763" Score="1" Body="&lt;p&gt;No, it's not possible at the moment. SXA is using Backbone.js to handle search front-end logic and it's default Backbone.js behaviour to use '#'.&#xA;Abstracting from SXA it's not an easy task but there are some possibilities like usage of &lt;a href=&quot;http://artsy.github.io/blog/2012/06/25/replacing-hashbang-routes-with-pushstate/&quot; rel=&quot;nofollow noreferrer&quot;&gt;PushState&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have already discussed this in SXA team but because of complexity this change (replacing '#' with '?') was postponed.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-01-05T07:47:14.763" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9294" PostTypeId="1" AcceptedAnswerId="9295" CreationDate="2018-01-05T08:59:16.160" Score="1" ViewCount="81" Body="&lt;p&gt;We are integrating the Azure Search Service with Sitecore 8.1 Update 3. However, could not find any thorough documentation for the same and are having difficulty performing the steps mentioned in here  &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/configure_azure_search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/search_and_indexing/configure_azure_search&lt;/a&gt;  It is mentioned in this link to enable the Azure search files, but we cannot find those in our Sitecore instance. Can you please help us with this integration? My major concern is whether the Azure Search is compatible with the Sitecore 8.1 Update 3 or not? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any assistance in this regard is highy appreciated. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-01-05T10:20:20.773" Title="integrating the Azure Search Service with Sitecore 8.1 Update 3" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9295" PostTypeId="2" ParentId="9294" CreationDate="2018-01-05T10:20:20.773" Score="4" Body="&lt;p&gt;Azure Search was introduced on Sitecore 8.2 Update 1 version, so it doesn't support any version of 8.1 &#xA;More details you can find here: &lt;a href=&quot;https://kb.sitecore.net/articles/549969&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/549969&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tO2Ad.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tO2Ad.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-01-05T10:20:20.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9296" PostTypeId="1" CreationDate="2018-01-05T12:33:27.350" Score="1" ViewCount="234" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.Data.SqlClient.SqlException Message: T-SQL ERROR&#xA;  242, SEVERITY 16, STATE 3, PROCEDURE (null), LINE 472, MESSAGE: The&#xA;  conversion of a datetime data type to a smalldatetime data type&#xA;  resulted in an out-of-range value. Source: .Net SqlClient Data&#xA;  Provider    at&#xA;  System.Data.SqlClient.SqlConnection.OnError(SqlException exception,&#xA;  Boolean breakConnection, Action`1 wrapCloseInAction)    at&#xA;  System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject&#xA;  stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at&#xA;  System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior,&#xA;  SqlCommand cmdHandler, SqlDataReader dataStream,&#xA;  BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject&#xA;  stateObj, Boolean&amp;amp; dataReady)    at&#xA;  System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,&#xA;  RunBehavior runBehavior, String resetOptionsString)    at&#xA;  System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior&#xA;  cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean&#xA;  async, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite, SqlDataReader&#xA;  ds)    at&#xA;  System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior&#xA;  cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String&#xA;  method, TaskCompletionSource`1 completion, Int32 timeout, Task&amp;amp; task,&#xA;  Boolean asyncWrite)    at&#xA;  System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1&#xA;  completion, String methodName, Boolean sendToPipe, Int32 timeout,&#xA;  Boolean asyncWrite)    at&#xA;  System.Data.SqlClient.SqlCommand.ExecuteNonQuery()    at&#xA;  Sitecore.Data.DataProviders.Sql.DataProviderTransaction.Dispose()&lt;br&gt;&#xA;  at&#xA;  Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.&amp;lt;&gt;c__DisplayClass5.b__2()&#xA;  at Sitecore.Data.DataProviders.NullRetryer.ExecuteNoResult(Action&#xA;  action, Action recover)    at&#xA;  Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.Store(Guid&#xA;  id, AggregationDataSet data)    at&#xA;  Sitecore.ExperienceAnalytics.Client.Platform.SwitchingReportingStorageProvider.Store(Guid&#xA;  id, AggregationDataSet data)    at&#xA;  Sitecore.Analytics.Aggregation.InteractionAggregator.Aggregate(Byte[]&#xA;  recordKey, IAggregationContext context)    at&#xA;  Sitecore.Analytics.Aggregation.Aggregator.Execute()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What is the possible cause of the error. Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="3048" LastEditorUserId="277" LastEditDate="2018-01-05T12:35:42.503" LastActivityDate="2018-01-05T12:35:42.503" Title="Error on Exception: System.Data.SqlClient.SqlException" Tags="|xdb|experience-analytics|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9298" PostTypeId="1" CreationDate="2018-01-05T13:07:27.313" Score="2" ViewCount="992" Body="&lt;p&gt;I am using &lt;strong&gt;.slick&lt;/strong&gt; command on the javascript for my page carousels.&#xA;When I try to edit items in Sitecore Experience Editor(Sitecore 9 with SXA) my Save button is disabled and I am unable to add any new or delete existing fields or components on my page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess there was some existing issue with .slick command in Sitecore 8.1.&#xA;Do anyone have any update on this or any resolution to make the experience editor work?&#xA;I know SXA have the default carousel but I need my custom carousel with the script to work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Below is the sample of the .js file and there is no issue with the script.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$('.promo .carousel').slick({&#xA;  speed: 400,&#xA;  slidesToShow:&#xA;  accessibility: false,&#xA;  responsive: [&#xA;    {&#xA;      breakpoint: 640,&#xA;      settings: {&#xA;        slidesToShow: 1,&#xA;        slidesToScroll: 1,&#xA;        centerMode: true&#xA;      }&#xA;    }&#xA;  ]&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1000" LastEditDate="2018-01-05T14:41:20.877" LastActivityDate="2019-04-05T19:43:52.963" Title="Sitecore Experience Editor not working with &quot;.slick&quot; command" Tags="|experience-editor|sxa|javascript|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9299" PostTypeId="1" AcceptedAnswerId="9302" CreationDate="2018-01-05T13:17:22.547" Score="7" ViewCount="546" Body="&lt;p&gt;I have migrate one site from 7.2 to 9.0 and it is successfully done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How i can migrate Analytics Database in to new version and in which database?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All data should display as it is in new version as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please provide steps.&lt;/p&gt;&#xA;" OwnerUserId="3049" LastEditorUserId="73" LastEditDate="2018-01-05T13:32:57.300" LastActivityDate="2018-01-05T17:33:51.590" Title="Upgrade Sitecore 7.2 SQL Analytics Database to Sitecore 9.0" Tags="|migration|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9300" PostTypeId="1" CreationDate="2018-01-05T13:45:16.973" Score="5" ViewCount="3542" Body="&lt;p&gt;I have a Sitecore instance Version 8.2 Update 3 in my local PC. When the CMS or live is not visited or idle for a while and I browse it again, the page doesn't load and shows this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Cannot open database &quot;MySiteSitecore_Web&quot; requested by the login. The&#xA;  login failed. Login failed for user 'sa'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;After refreshing a few times or loading the page in another tab, it then shows this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Timeout expired.  The timeout period elapsed prior to obtaining a&#xA;  connection from the pool.  This may have occurred because all pooled&#xA;  connections were in use and max pool size was reached.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Again after refreshing the page or loading it in another tab will finally load the CMS/live site correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was working fine but recently started behaving this way and this happens frequently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the reason and how can I fix this?&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2018-04-03T09:41:38.360" LastActivityDate="2024-01-02T15:40:49.300" Title="Sitecore CMS - Timeout expired error" Tags="|sql-database|" AnswerCount="4" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9301" PostTypeId="2" ParentId="9299" CreationDate="2018-01-05T13:56:57.720" Score="5" Body="&lt;p&gt;I'm not sure if this would even work, or if the data would even make sense. The analytics data model from DMS in 7.2 is nothing like what xDB is now in 9.0. Even if you could somehow run tools to go through versions, I'm not sure you would be able to get value out of the resulting process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The xDB data migration tool for 9.0 is intended for 8.x where there is a known xDB data model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a tool available to upgrade DMS data to xDB format in 7.5:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%207/Update/7_5_rev_141003.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%207/Update/7_5_rev_141003.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From there you could upgrade to 8.0 xDB and then try to use the 9.0 migration tool to jump to 9.0 xDB. However, I have no confidence this process would actually work.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-01-05T13:56:57.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9302" PostTypeId="2" ParentId="9299" CreationDate="2018-01-05T14:05:20.803" Score="9" Body="&lt;p&gt;Sitecore (along with DMS Data) should be upgraded together.  While the Express Migration Tool looks appetizing, it does not upgrade DMS data.&lt;/p&gt;&#xA;&lt;p&gt;The important guide for Sitecore Analytics is the xDB Upgrade Guide found for each version. The prerequisites of each guide highlight the upgrade Path.&lt;/p&gt;&#xA;&lt;p&gt;From Sitecore 7.2, there are a few hoops you have to go through to get to Sitecore 9.&lt;/p&gt;&#xA;&lt;h2&gt;Upgrade to Sitecore 7.5 rev. 141003&lt;/h2&gt;&#xA;&lt;p&gt;Following the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/75/xdb_upgrade_and_conversion_guide_sc75-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;xDB Conversion Guide&lt;/a&gt; for 7.5 this will take your solution and migrate DMS data to xDB, which introduces Mongo.&lt;/p&gt;&#xA;&lt;h2&gt;Upgrade to Sitecore 8.0 rev. 141212&lt;/h2&gt;&#xA;&lt;p&gt;Following this &lt;a href=&quot;https://dev.sitecore.net/%7E/media/D1C480A4D4D245E1813FD35D985F8417.ashx&quot; rel=&quot;noreferrer&quot;&gt;xDB Upgrade Guide&lt;/a&gt; will introduce the initial version of Sitecore 8 and upgrade analytics in xDB to 8.0.&lt;/p&gt;&#xA;&lt;h2&gt;Upgrade to Sitecore 8.1 rev. 151003&lt;/h2&gt;&#xA;&lt;p&gt;Following this &lt;a href=&quot;https://dev.sitecore.net/%7E/media/ED08679F569742D0B68450E4D1D76AA0.ashx&quot; rel=&quot;noreferrer&quot;&gt;xDB Upgrade Guide&lt;/a&gt; will bring your Sitecore solution to version 8.1, which has a number of changes related to how analytics are stored.&lt;/p&gt;&#xA;&lt;h2&gt;Upgrade to Sitecore 9 rev. 171002&lt;/h2&gt;&#xA;&lt;p&gt;Following the &lt;a href=&quot;https://dev.sitecore.net/%7E/media/01B4871056434A52AC69C4ECC29F7834.ashx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Experience Platform Upgrade Guide&lt;/a&gt; will upgrade your solution from 8.1 Initial to Sitecore 9 Initial.&lt;/p&gt;&#xA;&lt;h2&gt;Use the xDB Data Migration Tool&lt;/h2&gt;&#xA;&lt;p&gt;Once your solution is on Sitecore 9, you can use the &lt;a href=&quot;https://doc.sitecore.net/xDB%20Data%20Migration%20Tool/%7E/media/E3447C27EA474799AF0C1CAEF59DBE32.ashx&quot; rel=&quot;noreferrer&quot;&gt;xDB Data Migration Tool&lt;/a&gt; to migrate your 8.1 xDB Data to Sitecore 9.&lt;/p&gt;&#xA;&lt;p&gt;This will help you get your analytics from DMS to Sitecore XP 9.  I would offer a note of caution regarding expectations, the data might not display the same.  Your mileage may vary.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-01-05T17:33:51.590" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9303" PostTypeId="1" CreationDate="2018-01-05T14:10:08.593" Score="5" ViewCount="299" Body="&lt;p&gt;I tried to rebuild reporting database but it goes on for indefinite time.&#xA;In the Rebuild Reporting database page it's showing &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;(Waiting to receive to data status)&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;According to a blog, I need to copy following marketing definition tables from the primary to the secondary reporting database:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;CampaignActivityDefinitions&lt;/li&gt;&#xA;&lt;li&gt;GoalDefinitions&lt;/li&gt;&#xA;&lt;li&gt;OutcomeDefinitions&lt;/li&gt;&#xA;&lt;li&gt;MarketingAssetDefinitions&lt;/li&gt;&#xA;&lt;li&gt;Taxonomy_TaxonEntity&lt;/li&gt;&#xA;&lt;li&gt;Taxonomy_TaxonEntityFieldDefinition&lt;/li&gt;&#xA;&lt;li&gt;Taxonomy_TaxonEntityFieldValue&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Do I need to copy any other tables or are there any other ways to resolve the error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And are there any drawbacks if I follow these steps. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any possible errors I face during production?&lt;/p&gt;&#xA;" OwnerUserId="3019" LastEditorUserId="70" LastEditDate="2018-01-05T14:43:35.090" LastActivityDate="2018-01-05T14:46:43.050" Title="What are the drawbacks of Rebuild Reporting Database?" Tags="|sitecore-client|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9305" PostTypeId="1" AcceptedAnswerId="9307" CreationDate="2018-01-05T14:43:58.107" Score="7" ViewCount="185" Body="&lt;p&gt;We have a solution based on Helix principles and we have separated TDS projects per Feature. For instance like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Search&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore/templates/Feature/Search/&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Navigation&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore/templates/Feature/Navigation/&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It cause duplication of the following items:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore&lt;/li&gt;&#xA;&lt;li&gt;sitecore/templates&lt;/li&gt;&#xA;&lt;li&gt;sitecore/templates/Feature&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/Habitat/tree/TDS-latest&quot; rel=&quot;noreferrer&quot;&gt;Here&lt;/a&gt; is the Habitat solution with TDS which has also this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is there any way to prevent this duplication like with Unicorn?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2018-01-05T16:00:56.770" Title="Is there any way to avoid duplicated TDS files/items in Helix based solution?" Tags="|helix|tds|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9306" PostTypeId="2" ParentId="9303" CreationDate="2018-01-05T14:46:43.050" Score="4" Body="&lt;p&gt;I've followed this process a number of times and haven't hit any ongoing issues yet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The (Waiting to receive to data status) message is displayed for as long as the timer setting is set in the TimeToClearStorage value in Sitecore.Analytics.Processing.Aggregation.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be warned, copying the data can take some time if your Analytics database has been in use for some time. You should set the TimeToClearStorage value to an value that allows the manual transfer of data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've used the SQL Server Import and Export Wizard to transfer data previously (Right click the DB, Tasks &gt; Export Data ...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could write a script but I've found the built in tools to do the trick just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found it useful to leave the secondary Reporting database instance in place after the rebuild, it's likely you'll need it again in the future.&lt;/p&gt;&#xA;" OwnerUserId="118" LastActivityDate="2018-01-05T14:46:43.050" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9307" PostTypeId="2" ParentId="9305" CreationDate="2018-01-05T16:00:56.770" Score="11" Body="&lt;p&gt;TDS always serializes data from the root item, there are no settings that allow you to only serialise a part of a tree. Logically speaking, this makes a lot of sense for a Helix based solution where each project is self contained, independent and does not have any knowledge of other TDS projects in the solution. This means each feature is deployable in it's own right.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you should do however is to set &lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#deployment-properties&quot; rel=&quot;noreferrer&quot;&gt;Deployment Properties&lt;/a&gt; of the parent items to match your needs, either directly on the item or using the &lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/chapter4.html#deployment-property-manager&quot; rel=&quot;noreferrer&quot;&gt;Deployment Property Manager&lt;/a&gt; which allows you to view and update deployment properties on many items at one time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most likely you will want to ensure you have set &lt;code&gt;Deploy Once&lt;/code&gt; and &lt;code&gt;No Child Synchronization&lt;/code&gt; on the &lt;em&gt;/Sitecore/Templates/Feature&lt;/em&gt; items and set &lt;code&gt;Always Update&lt;/code&gt; and &lt;code&gt;Keep All Children Synchronized&lt;/code&gt; on the individual Feature folders. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cfYO2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cfYO2.png&quot; alt=&quot;Deployment Properties&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c3Fjk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c3Fjk.png&quot; alt=&quot;Deployment Property Manager&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-01-05T16:00:56.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9308" PostTypeId="1" CreationDate="2018-01-05T18:37:47.497" Score="8" ViewCount="506" Body="&lt;p&gt;Recently while exploring Sitecore 9 Forms Module, came up with some queries hence thought of asking on community.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When we select a form, in the bottom right corner we see list of the&#xA;items where the form is referred/used. How this will behave in a&#xA;Multi-site implementation? As of now it just displays the name of&#xA;the item (not even path), hence if we have 5 multisite implemented&#xA;it will only list “Home” as an item and it will be difficult for the&#xA;user to find out which “Home” it refers to until he copies the item&#xA;ID and search in content tree. &lt;/li&gt;&#xA;&lt;li&gt;If we are using any Language&#xA;Conversion Tools like Clay Tablet, is it possible to send the Form&#xA;for language conversion? Like some of my forms have guidelines and&#xA;messages which need to be multi-lingual.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-01-05T20:21:06.457" LastActivityDate="2021-09-20T15:04:45.487" Title="How Sitecore 9 Forms Module is featured for Multi-Site and Multi-Lingual?" Tags="|multilingual|multisite|sitecore-forms|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9309" PostTypeId="1" CreationDate="2018-01-05T19:26:06.333" Score="5" ViewCount="835" Body="&lt;p&gt;Is it possible to show different search results ( on the basis of templates) in different tabs (one tab for one template like article/blog/documents) in same page for same keywords using SXA search components?&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="6591" LastEditDate="2022-12-16T07:44:25.173" LastActivityDate="2022-12-16T07:44:25.173" Title="Search results components" Tags="|sxa|sxa-search|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9310" PostTypeId="2" ParentId="9292" CreationDate="2018-01-05T19:33:07.847" Score="4" Body="&lt;p&gt;I believe that you are reading too far into John's details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a task that you need to run on some schedule, you can create a Sitecore Task Command item, which contains the Type to your custom code that you want to execute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you create a Sitecore Task Schedule that will run that Command on a schedule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You do all of that through the Sitecore UI. By doing so, if it's a task that is in the Master database, the &lt;strong&gt;Master_Database_Agent&lt;/strong&gt; will pick it up and run your task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Agent is configured to run on an interval in the Sitecore configuration, and you can view any jobs running by watching the &lt;code&gt;/sitecore/admin/jobs.aspx&lt;/code&gt; admin page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple good blogs that I can point you to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2017/08/18/sitecore-scheduled-task-schedule-time-format-and-other-quirks/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2017/08/18/sitecore-scheduled-task-schedule-time-format-and-other-quirks/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Basically, there are two Database Agents:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Master Database Agent&lt;/li&gt;&#xA;&lt;li&gt;Core Database Agent&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Each agent runs any of the Schedule Items found in the &lt;code&gt;/sitecore/system/Tasks&lt;/code&gt; node on the respective database (master or core) based on their schedule and last run date/time.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-05T19:33:07.847" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9311" PostTypeId="2" ParentId="9309" CreationDate="2018-01-05T19:50:00.440" Score="3" Body="&lt;p&gt;Yes. All you have to do is to put two &lt;strong&gt;Search Results&lt;/strong&gt; renderings on each tab and configure search scope.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use search scope to define which templates should appear on the particular tab.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Search scope – select a scope to limit the search results.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/search/walkthrough_adding_search_functionality_for_your_site&quot; rel=&quot;nofollow noreferrer&quot;&gt;source&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wrote a blog post about configuring search for blog purposes recently. &lt;a href=&quot;https://alan-null.github.io/2017/12/sxa-blog#search-results-page&quot; rel=&quot;nofollow noreferrer&quot;&gt;This&lt;/a&gt; section describe how to create &lt;strong&gt;Search Scope&lt;/strong&gt; and assign it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you've got a search filters on a page they will modify both &lt;strong&gt;Search Results&lt;/strong&gt; results unless you define search signature&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Search results signature – enter the unique signature of a specific Search &#xA;Results rendering to limit the search results. This can be convenient when you have more than one search result rendering on the page.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/search/walkthrough_adding_search_functionality_for_your_site&quot; rel=&quot;nofollow noreferrer&quot;&gt;source&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-01-05T19:50:00.440" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9312" PostTypeId="1" CreationDate="2018-01-06T00:25:55.767" Score="4" ViewCount="1092" Body="&lt;p&gt;I have read every post on here and every post I can find on this subject on google and I've tried all the tips / suggestions, but no joy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm attempting to setup a SOLR 6.6.0 with multiple cores / Sitecore 8.2 (initial release) on my local Windows 10 box. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've battled my way through every install guide, post I can find, and finally have gotten it to a point where it looks like it's &lt;em&gt;almost&lt;/em&gt; working, however I can't get the content editor to be loaded. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my error message, when I try to open the content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wwibe.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wwibe.jpg&quot; alt=&quot;Value cannot be null&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As previously mentioned, I've checked and tried all the Q's on here (made sure all my Lucene config files are disabled, tried out different IOC's (unity and windsor, currently on unity), swapped out different DLL's in the bin folder (from SOLR Sitecore package and nuget package I built), edited config files till I'm blue in the face, poured over the Sitecore scaling guide and nothing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my SPLR root directory (where you can see my cores folder) for reference&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YUtPh.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YUtPh.jpg&quot; alt=&quot;directory structure&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&#xA;Based on some comments below, I have started over going back to SOLR 5.3 which is according to the compatibility guide, compatible with Sitecore 8.2, but i am still having no luck getting the content editor to load. :(&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm including my stack trace as text as suggested. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [ArgumentNullException: Value cannot be null.&#xA;    Parameter name: fieldNameTranslator]&#xA;       Sitecore.ContentSearch.Linq.Solr.SolrIndexParameters..ctor(IIndexValueFormatter valueFormatter, IFieldQueryTranslatorMap`1 fieldQueryTranslators, FieldNameTranslator fieldNameTranslator, IExecutionContext[] executionContexts, IFieldMapReaders fieldMap, Boolean convertQueryDatesToUtc) +315&#xA;       Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1..ctor(SolrSearchContext context, IExecutionContext[] executionContexts) +188&#xA;       Sitecore.ContentSearch.SolrProvider.SolrSearchContext.GetQueryable(IExecutionContext[] executionContexts) +268&#xA;       Sitecore.Social.Search.SearchProvider.SearchItems(Expression`1 whereExpression, Func`2 selector) +165&#xA;       Sitecore.Social.Search.SearchProvider.GetMessagesByContainer(String container) +503&#xA;       Sitecore.Social.MessageBusinessManager.SearchMessagesByContainer(String container) +203&#xA;       Sitecore.Social.MessageBusinessManager.GetMessagesCount(String container) +16&#xA;       Sitecore.Social.Client.MessagePosting.Commands.SocialCenter.RunGetHeader(CommandContext context, String header) +342&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.FillParamsFromCommand(CommandContext commandContext, RibbonCommandParams ribbonCommandParams) +94&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.GetCommandParameters(Item controlItem, CommandContext commandContext) +79&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderLargeButton(HtmlTextWriter output, Item button, CommandContext commandContext) +78&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter output, Item button, CommandContext commandContext) +440&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext) +343&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual, String id) +244&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual) +161&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunks(HtmlTextWriter output, Item strip, CommandContext commandContext, Boolean isContextual) +449&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item ribbon, Boolean isContextual, ListString visibleStripList) +1807&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item defaultRibbon, Item contextualRibbon, ListString visibleStripList) +162&#xA;       Sitecore.Web.UI.WebControls.Ribbons.Ribbon.Render(HtmlTextWriter output) +800&#xA;       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80&#xA;       Sitecore.Web.HtmlUtil.RenderControl(Control ctl) +80&#xA;       Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateRibbon(Item folder, Boolean isCurrentItemChanged, Boolean showEditor) +502&#xA;       Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update() +600&#xA;       Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e) +172&#xA;&#xA;    [TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;       System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;       System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;       System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;       Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;       Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +143&#xA;       System.Web.UI.Control.PreRenderRecursiveInternal() +110&#xA;       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2994&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If anyone has any other suggestions, I'd love to hear them, as I'm kinda at my wits end trying to figure this out. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3055" LastEditorUserId="2727" LastEditDate="2018-01-15T08:51:16.280" LastActivityDate="2022-01-13T14:20:11.333" Title="Solr 6.6 / Sitecore 8.2 Content editor - Value cannot be null" Tags="|solr|configuration|site-configuration|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9313" PostTypeId="2" ParentId="9263" CreationDate="2018-01-06T02:46:48.550" Score="3" Body="&lt;p&gt;After spending some time with the question asker, we determined the root issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The root problem statement was that Personalization wasn't occuring unless the user in the above example refreshed their browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason behind this is that the &lt;code&gt;IdentifyAs()&lt;/code&gt; method was being called in a component that isn't executed until Sitecore has already determined what components to display. So to see a new component based on a page trigger, the page has to be refreshed. So the &quot;anonymous&quot; contact will always see the component without personalization because the contact hasn't been identified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, I told her to consider identifying the contact earlier, or just live with the fact that a page refresh will have to occur.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-01-12T19:48:34.780" LastActivityDate="2018-01-12T19:48:34.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9314" PostTypeId="2" ParentId="9312" CreationDate="2018-01-06T03:07:44.837" Score="0" Body="&lt;p&gt;I am pretty sure the issue you are having is that you do not have your cores created correctly.  You should have approximately 12 cores in your solr directory. I don't see any of the Sitecore index cores listed in your screen shot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need a collection of cores:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore_web_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_master_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_core_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_analytics_index&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To name a few.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that your cores are correct.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-06T03:07:44.837" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9315" PostTypeId="2" ParentId="9312" CreationDate="2018-01-06T03:32:11.727" Score="3" Body="&lt;p&gt;Solr 6.6 is not compatibile with Sitecore 8.2 . Recommended SOLR version for Sitecore 8.2 is 5.3 . More informations you can find at : &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0KWJB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0KWJB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-01-06T04:31:41.400" LastActivityDate="2018-01-06T04:31:41.400" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9316" PostTypeId="1" CreationDate="2018-01-06T10:26:35.923" Score="0" ViewCount="1339" Body="&lt;p&gt;We can only insert image slide on sxa Carousel by default. How can I insert a video to that carousel.&lt;/p&gt;&#xA;" OwnerUserId="3040" LastActivityDate="2018-01-09T18:21:13.800" Title="How can I add video slide on SXA carousel?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9317" PostTypeId="1" AcceptedAnswerId="9319" CreationDate="2018-01-06T14:58:53.753" Score="3" ViewCount="3252" Body="&lt;p&gt;I'm installing Sitecore 9 XP1 Topology, and everything was going well until Content Management step where I received this error&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-SitecoreConfiguration : Error requesting&#xA;  &lt;a href=&quot;https://sitecore9-cm/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore9-cm/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&lt;/a&gt;: The remote server returned an&#xA;  error: (500) Internal Server Error.&#xA;  At line:1 char:1&#xA;  + Install-SitecoreConfiguration -Path .\sitecore-XP1-cm.json&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;  + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've found a &lt;a href=&quot;http://sitecoreguild.blogspot.com.br/2017/11/sitecore-9-quickstarts-installing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt; talking about the same error but in his case the log said &quot;Login Failed for user&quot; and mine does not mention anything (at least I didn't find)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I browse to &lt;a href=&quot;https://sitecore9-cm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore9-cm&lt;/a&gt; I receive the following error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Wepv4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Wepv4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2018-09-04T10:35:28.927" Title="Sitecore 9 XP1 Topology - Error on UpdateSolrSchema step while calling PopulatedManagedSchema.aspx" Tags="|sitecore-install-framework|" AnswerCount="4" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9318" PostTypeId="2" ParentId="9179" CreationDate="2018-01-06T15:41:34.993" Score="0" Body="&lt;p&gt;Just to update the answer from the comments:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box Sitecore is not able to detect mobile devices vs pads vs desktop. The easiest way to do it is to turn on device detection in Sitecore (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/developing/device_detection/device_detection/set_up_device_detection&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/developing/device_detection/device_detection/set_up_device_detection&lt;/a&gt;). Then Sitecore will do all the work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or you can roll you own. &lt;a href=&quot;https://briancaos.wordpress.com/2012/04/12/identifying-mobile-devices-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2012/04/12/identifying-mobile-devices-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-01-06T15:41:34.993" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9319" PostTypeId="2" ParentId="9317" CreationDate="2018-01-06T15:48:38.350" Score="7" Body="&lt;p&gt;Please make sure you have URL Rewrite IIS module installed? It is a prerequisite for Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Download the IIS module - &lt;a href=&quot;https://www.iis.net/downloads/microsoft/url-rewrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.iis.net/downloads/microsoft/url-rewrite&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/installing-sitecore-9-prerequisites&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/installing-sitecore-9-prerequisites&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Solr 6.6.2 Microsoft &lt;/li&gt;&#xA;&lt;li&gt;PowerShell 5.1 or later (Included in Windows 10)&lt;/li&gt;&#xA;&lt;li&gt;WebAdministration module (Installed when you have configured a&#xA;computer with IIS) &lt;/li&gt;&#xA;&lt;li&gt;Web Platform Installer 5.0 &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Web Deploy 3.6 for Hosting Servers (Use Web Platform Installer to install) &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;URL Rewrite 2.1 (Use Web Platform Installer to install)&lt;/strong&gt; &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Microsoft SQL Server Data-Tier Application Framework (DacFx) version 2016&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-07-16T21:15:28.800" LastActivityDate="2018-07-16T21:15:28.800" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9320" PostTypeId="1" AcceptedAnswerId="9322" CreationDate="2018-01-06T17:49:18.370" Score="6" ViewCount="2397" Body="&lt;p&gt;We are currently on Sitecore 7.5, using Mongo for xDB and also using WFFM Module. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Planning for an upgrade to Sitecore 9 soon. Where the Sitecore Forms Module looks promising and apart from few custom save action most of the WFFM features we are using as of now are available with Forms module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wanted to check if there is a possibility to migrate WFFM to Sitecore Forms. If not, do we have any plans to facilitate this in near future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also until then is it recommended to use both Sitecore Forms and WFFM on the same Sitecore 9 instance?&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2019-10-30T13:23:41.267" Title="Migrating WFFM to Sitecore 9 Forms Module" Tags="|wffm|migration|sitecore-forms|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9321" PostTypeId="2" ParentId="9320" CreationDate="2018-01-06T18:10:35.053" Score="2" Body="&lt;p&gt;Because of the nature of differences between WFFM and Sitecore Forms, I am fairly confident there is no upgrade/migration path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, I do not see why both WFFM and Sitecore Forms can't co-exist.I would just be aware of how the MVC Form component is utilized.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-06T18:10:35.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9322" PostTypeId="2" ParentId="9320" CreationDate="2018-01-06T19:54:45.170" Score="7" Body="&lt;p&gt;Sitecore Forms and WFFM are 2 different modules that happen to handle the same functionality (forms). There is no migration path available and at the moment there is no mention of anything like that either (on the contrary - when asked the Forms team said this was nowhere on the roadmap because the modules are too different).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a website running on 9 at the moment with WFFM installed. As Forms is installed out-of-the-box, we have both modules available at the same time and this works perfectly. How we will proceed in the future is not yet clear - depends on what Forms will bring in the next updates. Whether it is recommended to use both in the same solution is a difficult question and might be opinion based. Forms is still missing some functionality so you might want to turn to WFFM in that case. Explaining your customer when to use whoich Forms module might be tricky in some cases...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note however that someday WFFM will truly be dead (now it's end-of-life..). This will not happen before Forms somehow has all the functionality that WFFM has today. But I can't imagine that Sitecore would want to keep 2 teams alive for the same functionality so I assume (note that this is just my guess) that replacing WFFM completely is high on the roadmap for Forms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But even at that point, don't expect a migration...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-01-06T19:54:45.170" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9323" PostTypeId="2" ParentId="8558" CreationDate="2018-01-07T06:13:15.940" Score="12" Body="&lt;p&gt;Just ran into the same issue with a &lt;code&gt;Droplink&lt;/code&gt;. This definitely seems like a bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My guess is that the indexing type is actually being set based on the return type of field reader associated with the field type:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fieldReader fieldTypeName=&quot;droplink|droptree|grouped droplink|tree|reference&quot; &#xA;    fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.LookupFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was able to work around the issue by patching the &lt;code&gt;returnType&lt;/code&gt; to &lt;code&gt;string&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;fieldType fieldTypeName=&quot;droplink|droptree|grouped droplink|tree&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastEditorUserId="95" LastEditDate="2018-11-01T15:41:31.130" LastActivityDate="2018-11-01T15:41:31.130" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="9324" PostTypeId="1" CreationDate="2018-01-07T12:55:02.467" Score="3" ViewCount="950" Body="&lt;p&gt;I am running on Sitecore 8.2 rev. 170728 with SXA 1.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a requirement where we need to limit sub-items for an item. To implement it, I have created custom event handler that check the limit and if sub-item goes beyond that limit, it should show a warning message and delete current sub-item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i tested it, after getting warning message, I am getting following error in popup.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;Object reference not set to an instance of an object.&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   Sitecore.XA.Foundation.Multisite.Services.PushCloneService.AddChild(Item item) +38&#xA;   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0&#xA;   Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +128&#xA;   Sitecore.Data.Engines.DataCommands.CreateItemCommand.Executed() +20&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +165&#xA;   Sitecore.Data.Engines.DataEngine.CreateItem(String itemName, Item destination, ID templateId, ID newId, DateTime created) +47&#xA;   Sitecore.Data.Managers.ItemProvider.DoCreateAndReturnItem(String itemName, Item destination, ID templateId, ID newId, DateTime created) +81&#xA;   Sitecore.Data.Managers.ItemProvider.CreateItem(String itemName, Item destination, ID templateId, ID newId, DateTime created, SecurityCheck securityCheck) +381&#xA;   Sitecore.Data.Managers.ItemProvider.CreateItem(String itemName, Item destination, ID templateId, ID newId, SecurityCheck securityCheck) +53&#xA;   Sitecore.Data.Managers.DefaultItemManager.CreateItem(String itemName, Item destination, ID templateId, ID newId) +146&#xA;   Sitecore.Data.Managers.ItemManager.CreateItem(String itemName, Item destination, ID templateId, ID newId) +153&#xA;   Sitecore.Nexus.Data.DataCommands.AddFromTemplateCommand.(String , Item , ID , ID ) +9&#xA;   Sitecore.Data.Engines.DataCommands.AddFromTemplateCommand.DoExecute() +115&#xA;   Sitecore.Buckets.Commands.AddFromTemplateCommand.DoExecute() +1220&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +92&#xA;   Sitecore.Data.Managers.ItemProvider.AddFromTemplate(String itemName, ID templateId, Item destination, ID newId) +381&#xA;   Sitecore.Data.Managers.ItemManager.AddFromTemplate(String itemName, ID templateId, Item destination, ID newItemId) +153&#xA;   Sitecore.Data.Items.Item.Add(String name, TemplateID templateID, ID newItemID) +92&#xA;   Sitecore.Data.Items.Item.Add(String name, TemplateID templateID) +155&#xA;   Sitecore.Workflows.WorkflowContext.AddItem(String name, TemplateItem template, Item parent) +82&#xA;   Sitecore.Shell.Framework.Commands.AddMaster.Add(ClientPipelineArgs args) +983&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +210&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;   Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;   Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline) +313&#xA;   Sitecore.Web.UI.Sheer.ClientPage.ResumePipeline() +224&#xA;   Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +801&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +24&#xA;   System.Web.UI.Control.PreRenderRecursiveInternal() +110&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3624&#xA;&#xA;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2558.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is a code snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnItemCreated(object sender, EventArgs args)&#xA;    {&#xA;      var createdArgs = Event.ExtractParameter(args, 0) as ItemCreatedEventArgs;&#xA;&#xA;      Sitecore.Diagnostics.Assert.IsNotNull(createdArgs, &quot;args&quot;);&#xA;      if (createdArgs != null)&#xA;      {&#xA;        Sitecore.Diagnostics.Assert.IsNotNull(createdArgs.Item, &quot;item&quot;);&#xA;        if (createdArgs.Item != null)&#xA;        {&#xA;          var item = createdArgs.Item;&#xA;&#xA;&#xA;          if (item.Parent != null &amp;amp;&amp;amp;&#xA;              item.Parent.TemplateName == &quot;templatename&quot; &amp;amp;&amp;amp;&#xA;              item.Parent.Children.Count() &amp;gt; 6)&#xA;          {&#xA;            // Delete the item, warn user&#xA;            var itemName = item.Parent.Name;&#xA;&#xA;            SheerResponse.Alert(&#xA;                String.Format(&quot;Sorry, you cannot add more than 6 items to {0}.&quot;,&#xA;                                  itemName), new string[0]);&#xA;            using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;            {&#xA;              if (item != null)&#xA;              {&#xA;                item.Editing.BeginEdit();&#xA;                item.Delete();&#xA;                item.Editing.EndEdit();&#xA;              }&#xA;            }&#xA;            //Sitecore.Shell.Framework.Items.Delete(new Sitecore.Data.Items.Item[] { item}, string.Empty);&#xA;            return;&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any help would be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1093" LastEditorUserId="2727" LastEditDate="2018-01-15T08:50:27.503" LastActivityDate="2018-01-22T13:31:20.433" Title="While deleting an item in item:created event i got exception" Tags="|sxa|events|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9325" PostTypeId="2" ParentId="9176" CreationDate="2018-01-07T14:12:26.837" Score="2" Body="&lt;p&gt;I have followed &quot;&lt;strong&gt;Internal Link&lt;/strong&gt;&quot; with Media Manager to make video(.mp4) running on the browser.&#xA;The steps to achieve the same is as below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use Internal Link Field rather than using Media or Image field.(Image field will give you an option to upload Videos but will throw an error when you select Video files as &quot;Selected file does not contain an Image&quot;.&#xA;Not sure why first of all Videos upload option are showing up in Image Field in such case.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;From the Path of the Internal Link get the Video Item and use MediaManager to get the url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;MediaItem video = Sitecore.Context.Database.GetItem(videoPath);&lt;/p&gt;&#xA;&#xA;&lt;p&gt;string src = Sitecore.Resources.Media.MediaManager.GetMediaUrl(video);&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-01-07T14:12:26.837" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9327" PostTypeId="2" ParentId="9320" CreationDate="2018-01-08T00:20:33.407" Score="1" Body="&lt;p&gt;The intended migration path for going to Sitecore Forms from WFFM is not an automated one. WFFM is available in Sitecore 9 in order to provide coverage for gaps in features but also to ease your upgrade path to Sitecore 9. Once upgraded to Sitecore 9, you can start moving forms over at your own pace, or just developing new ones in Sitecore Forms and keep running your old ones in WFFM until WFFM is retired.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-01-08T00:20:33.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9329" PostTypeId="2" ParentId="7911" CreationDate="2018-01-08T09:37:50.593" Score="5" Body="&lt;p&gt;As I see, you merged Merge.web.config to main site web.config instead of merge to views config.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The web.config file located in the \views folder of the website root&#xA;  directory must be merged with the merge.web.config file located in the&#xA;  \merge\views folder of the website root directory.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;For resolve this issue, you need to merge &lt;code&gt;{YourSitecoreWebsite}\MergeFiles\Views\Merge.web.config&lt;/code&gt; to &lt;code&gt;{YourSitecoreWebsite}\Views\web.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example of Merge.web.config, which you need to merge:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.web.webPages.razor&amp;gt;&#xA;    &amp;lt;pages pageBaseType=&quot;System.Web.Mvc.WebViewPage&quot;&amp;gt;&#xA;      &amp;lt;namespaces&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Optimization&quot;/&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Data&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Data.Items&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Reference.Storefront.Models&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Reference.Storefront.Extensions&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Commerce.Connect.CommerceServer.Orders.Models&quot;/&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Commerce.Connect.CommerceServer.Profiles.Models&quot;/&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Commerce.Connect.CommerceServer.Inventory.Models&quot;/&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Commerce.Connect.CommerceServer&quot;/&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Globalization&quot;/&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Reference.Storefront&quot;/&amp;gt;&#xA;      &amp;lt;/namespaces&amp;gt;&#xA;    &amp;lt;/pages&amp;gt;&#xA;  &amp;lt;/system.web.webPages.razor&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;pages &#xA;        validateRequest=&quot;false&quot;&#xA;        pageParserFilterType=&quot;System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&#xA;        pageBaseType=&quot;System.Web.Mvc.ViewPage, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&#xA;        userControlBaseType=&quot;System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&amp;gt;&#xA;      &amp;lt;namespaces&amp;gt;&#xA;        &amp;lt;add namespace=&quot;MvcSiteMapProvider.Web.Html&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Optimization&quot; /&amp;gt;&#xA;      &amp;lt;/namespaces&amp;gt;&#xA;    &amp;lt;/pages&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2018-01-08T11:08:00.277" LastActivityDate="2018-01-08T11:08:00.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9330" PostTypeId="2" ParentId="9009" CreationDate="2018-01-08T09:45:45.827" Score="0" Body="&lt;p&gt;Please try the below answer.&#xA;It will work on both Upload File and Upload Files(Advance)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public void Process(UploadArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;        if (args.Destination == UploadDestination.File)&#xA;            return;&#xA;        foreach (string index in args.Files)&#xA;        {&#xA;        // If you are uploading zip file then you have to write your own logic get the file details form the zip.&#xA;            HttpPostedFile file = args.Files[index];&#xA;            if (!string.IsNullOrEmpty(file.FileName) &amp;amp;&amp;amp; IsRestrictedExtension(file.FileName))&#xA;            {&#xA;                if (((long)file.ContentLength / 1024f) / 1024 &amp;gt; 2)//checking file size as 2MB or not&#xA;                {&#xA;                    HttpContext.Current.Response.Write(&quot;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;script type=\&quot;text/JavaScript\&quot; language=\&quot;javascript\&quot;&amp;gt;alert('Its worked');&amp;lt;/script&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;Done&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&quot;);&#xA;                    args.AbortPipeline();&#xA;                    break;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3059" LastActivityDate="2018-01-08T09:45:45.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9331" PostTypeId="1" CreationDate="2018-01-08T09:47:19.103" Score="3" ViewCount="2243" Body="&lt;p&gt;We have a website with two languages - en &amp;amp; jp. When the URL &lt;code&gt;mysite.com&lt;/code&gt; is browsed, it should load jp content. Just like browsing &lt;code&gt;mysite.com/jp&lt;/code&gt;, but the URL should be mysite.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Site structure in CMS is like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;My Site&#xA;|_Website&#xA;  |_Home&#xA;    |_mypage&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I used a patch config to overwrite &lt;code&gt;SiteDefinition.config&lt;/code&gt; settings like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;MySite_SiteDefinition.config&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;            &#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;MySite&quot; patch:before=&quot;site[@name='website']&quot;&#xA;            virtualFolder=&quot;/&quot;&#xA;            physicalFolder=&quot;/&quot;&#xA;            rootPath=&quot;/sitecore/content/Home/My Site&quot;&#xA;            startItem=&quot;/home&quot;&#xA;            database=&quot;web&quot;&#xA;            language=&quot;jp&quot; &#xA;            domain=&quot;extranet&quot;&#xA;            ..../&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;MyLinkManager.config&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;linkManager&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;defaultProvider&quot;&amp;gt;MySite&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear /&amp;gt;&#xA;        &amp;lt;add name=&quot;MySite&quot; &#xA;             type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; &#xA;             addAspxExtension=&quot;false&quot; &#xA;             alwaysIncludeServerUrl=&quot;false&quot; &#xA;             encodeNames=&quot;true&quot; &#xA;             languageEmbedding=&quot;always&quot; &#xA;             languageLocation=&quot;filePath&quot; &#xA;             lowercaseUrls=&quot;false&quot; &#xA;             shortenUrls=&quot;true&quot; &#xA;             useDisplayName=&quot;false&quot;/&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This worked and when I browse &lt;code&gt;mysite.com&lt;/code&gt;, It loads the Japanese content. However, this led to a new issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the &lt;code&gt;href&lt;/code&gt; in anchor tags work fine when viewing the site in jp, but in en they are incorrect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g in jp it is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;/jp/mypage&quot;&amp;gt;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but in en it is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;/en/My-Site/Home/mypage&quot;&amp;gt;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Seems like, just changing the language atttribute in &lt;code&gt;SiteDefinition.config&lt;/code&gt; won't be the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please advise, what should be done to fix this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using sc8.2u3&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="2727" LastEditDate="2018-02-20T12:11:09.967" LastActivityDate="2018-02-20T14:45:33.100" Title="How to set default language for the website" Tags="|multilingual|links|" AnswerCount="0" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="9332" PostTypeId="1" CreationDate="2018-01-08T10:23:34.580" Score="1" ViewCount="345" Body="&lt;p&gt;It may be a very basic question as I'm beginner in sitecore SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any possible way to build the SXA custom component using Glass Mapper?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3060" LastEditorUserId="2727" LastEditDate="2018-01-15T08:50:59.653" LastActivityDate="2018-01-15T08:50:59.653" Title="Is there any chance to build SXA custom component using Glass mapper?" Tags="|sxa|glass-mapper|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9333" PostTypeId="2" ParentId="9231" CreationDate="2018-01-08T10:37:05.257" Score="0" Body="&lt;p&gt;Got it Resolved. The problem was that, when i reinstalled SSL certificate, it was missing the required permission. With clean instance, for the certificate i had given permission to Administrator, IIS-users &amp;amp; also to my local account. Post which I was able to get both XConnect and Experience analytics graph working. Reference Link: &lt;a href=&quot;http://kamsar.net/index.php/2017/10/All-about-xConnect-Security&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://kamsar.net/index.php/2017/10/All-about-xConnect-Security&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3031" LastEditorUserId="73" LastEditDate="2019-11-12T10:11:32.027" LastActivityDate="2019-11-12T10:11:32.027" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9334" PostTypeId="1" CreationDate="2018-01-08T13:02:23.987" Score="5" ViewCount="659" Body="&lt;p&gt;We're using the content search api to search through our Azure Search index, everything works fine but boosting does not work. However, when we switch from Azure search provider config to the Lucene search provider config boosting works, so we think it's because of azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Content Search Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        var tags = GetTagsFromSomewhere();&#xA;&#xA;        using (var context = SearchIndexResolver.GetIndex(ContextItem).CreateSearchContext())&#xA;        {&#xA;            var queryable = context.GetQueryable&amp;lt;CustomType&amp;gt;();&#xA;&#xA;            var predicat = PredicateBuilder.False&amp;lt;BaseIndexModel&amp;gt;();&#xA;&#xA;            foreach (var tag in tags)&#xA;            {&#xA;                predicat = predicat.Or(q =&amp;gt; q.Tags.Contains(tag).Boost(1.5f));&#xA;            }&#xA;&#xA;            queryable = queryable.Where(predicat);&#xA;&#xA;            var results = queryable.GetResults();&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Azure Search Config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;contentSearch&amp;gt;&#xA;          &amp;lt;indexConfigurations&amp;gt;&#xA;            &amp;lt;defaultCloudIndexConfiguration type=&quot;Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;                  &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.Azure.FieldMaps.CloudFieldMap, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;                      &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                        &amp;lt;field fieldName=&quot;tags&quot; &#xA;                               storageType=&quot;YES&quot; &#xA;                               indexType=&quot;UNTOKENIZED&quot; &#xA;                               vectorType=&quot;NO&quot; &#xA;                               type=&quot;System.Collections.Generic.List`1[[System.String, mscorlib]]&quot; &#xA;                               boost=&quot;1f&quot; &#xA;                               settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;                      &amp;lt;/fieldNames&amp;gt;&#xA;                  &amp;lt;/fieldMap&amp;gt;&#xA;              &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;          &amp;lt;/indexConfigurations&amp;gt;&#xA;      &amp;lt;/contentSearch&amp;gt;      &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lucene Search Config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;contentSearch&amp;gt;&#xA;          &amp;lt;indexConfigurations&amp;gt;&#xA;              &amp;lt;defaultLuceneIndexConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                  &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                      &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                        &amp;lt;field fieldName=&quot;tags&quot; &#xA;                               storageType=&quot;YES&quot; &#xA;                               indexType=&quot;UNTOKENIZED&quot; &#xA;                               vectorType=&quot;NO&quot; &#xA;                               type=&quot;System.String&quot; &#xA;                               boost=&quot;1f&quot;&#xA;                               settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;                      &amp;lt;/fieldNames&amp;gt;&#xA;                  &amp;lt;/fieldMap&amp;gt;&#xA;              &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;          &amp;lt;/indexConfigurations&amp;gt;&#xA;      &amp;lt;/contentSearch&amp;gt;      &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm very confused as to why boosting doesn't work, even though the search code used is the same and as far as I'm aware both configs are more or less the same so does anyone know why Azure search boosting doesn't work&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated thanks :)&lt;/p&gt;&#xA;" OwnerUserId="2696" LastEditorUserId="246" LastEditDate="2019-06-19T03:30:16.430" LastActivityDate="2019-06-19T03:30:16.430" Title="Azure Search Boosting not working" Tags="|azure-search|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9338" PostTypeId="1" AcceptedAnswerId="9352" CreationDate="2018-01-08T14:20:45.903" Score="4" ViewCount="151" Body="&lt;p&gt;We recently discovered that our Recycle Bin no longer contained items before November 2017, when we performed a Sitecore upgrade using the Sitecore Express Migration Tool (version 2.0 at the time).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Upgraded from Sitecore 7.2 Update-6 to Sitecore 8.2 Update-1 with the Express Migration Tool, and then to Sitecore 8.2 Update-5 via Sitecore's standard update packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We do have a database backup of the necessary tables, but are wondering the best way to restore the Recycle Bin now that it's been almost two months.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that dbo.Archive* tables house Recycle Bin content, and that we technically shouldn't be working with the SQL data directly, but my first thought would be to verify that information is unique and then do an INSERT from the backups to the current tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a better/supported way to handle this restoration?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2018-01-08T17:01:37.797" LastActivityDate="2018-01-08T23:09:00.373" Title="Can I restore the Recycle Bin from a backup after using the Express Migration Tool?" Tags="|sql-database|versions|express-migration-tool|" AnswerCount="1" CommentCount="3" ClosedDate="2018-01-09T11:50:51.827" ContentLicense="CC BY-SA 3.0" />
  <row Id="9340" PostTypeId="1" AcceptedAnswerId="9341" CreationDate="2018-01-08T16:22:48.163" Score="1" ViewCount="149" Body="&lt;p&gt;Say I have a foundation module in my solution called &quot;Tagging&quot; its full namespace name is &quot;Sitecore.Foundation.Tagging&quot;. I want to build a new module dependent on Tagging which still needs to be a foundation module. Is it ok/logical/helix-compliant to place this in the same folder and call it something like &quot;Sitecore.Foundation.Tagging.SomeNonCoreTaggingFunctionality&quot;. So in the solution file system we have something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\src\Foundation\Tagging\Code&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then inside this folder would be&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Foundation.Tagging.csproj&#xA;Sitecore.Foundation.Tagging.SomeNonCoreTaggingFunctionality.csproj&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-01-08T16:48:02.277" Title="Naming of related Foundation modules in a Helix solution" Tags="|helix|solution-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9341" PostTypeId="2" ParentId="9340" CreationDate="2018-01-08T16:48:02.277" Score="3" Body="&lt;p&gt;Two Modules should be split into different structures in your foundation layer. However they can definitely reference each other.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://helix.sitecore.net/principles/architecture-principles/layers.html#foundation-layer&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://helix.sitecore.net/principles/architecture-principles/layers.html#foundation-layer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unlike the Feature layer, there is no strict convention on&#xA;  dependencies between modules in the Foundation layer. This means that&#xA;  one Foundation layer module can depend on another Foundation layer&#xA;  module in the solution – as long as they rely on the basic principles&#xA;  on component architecture such as the Acyclic Dependencies Principle&#xA;  and the Stable Abstractions Principle:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Keep in mind the rule basically states that dependencies from a current module should always be more stable than the current module.  Having said all that, you asked specifically about where to place this module and the namespacing.  I'd recommend not placing it in the same folder as another module, since if it really is another module than it should have clear separation.  But that is just my opinion, Helix on the other hand doesn't include this, and there is nothing that says you can't do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you are considering placing them in the same folder as the other module.  I question if it really is another &lt;code&gt;Module&lt;/code&gt; or just another project that's part of the existing Tagging module.  It's hard to make that determination based on the details provided, but you should consider if it really belongs as another module.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-01-08T16:48:02.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9342" PostTypeId="1" CreationDate="2018-01-08T17:12:17.140" Score="3" ViewCount="704" Body="&lt;p&gt;I have installed Sitecore.Demo.Retail and it is working fine overall.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is on the checkout page where I am getting this error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/M0laB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M0laB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The underlying website error message is :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Microsoft.OData.Client.DataServiceQueryException&#xA;Message: An error occurred while processing this request.&#xA;Source: Sitecore.Commerce.ServiceProxy&#xA;   at Sitecore.Commerce.ServiceProxy.Proxy.GetValue[T](DataServiceQuerySingle`1 query)&#xA;   at Sitecore.Commerce.Engine.Connect.Search.IndexUtility.GetEnvironmentArtifactStoreId(String environmentName)&#xA;   at Sitecore.Commerce.Engine.Connect.Search.Strategies.OrdersIntervalAsynchronousStrategy.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;IndexItems&amp;gt;b__0(String environment)&#xA;   at System.Collections.Generic.List`1.ForEach(Action`1 action)&#xA;   at Sitecore.Commerce.Engine.Connect.Search.Strategies.OrdersIntervalAsynchronousStrategy.IndexItems()&#xA;   at Sitecore.Commerce.Engine.Connect.Search.Strategies.CommerceIntervalAsynchronousStrategy.Run()&#xA;   at Sitecore.ContentSearch.Maintenance.OperationMonitor.ExecuteActions(ConcurrentQueue`1 actions, String groupName)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Microsoft.OData.Client.DataServiceClientException&#xA;Message: InternalServerError&#xA;Source: Microsoft.OData.Client&#xA;   at Microsoft.OData.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult)&#xA;   at Microsoft.OData.Client.QueryResult.EndExecuteQuery[TElement](Object source, String method, IAsyncResult asyncResult)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The commerce engine logs are showing this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;13 10:00:52 ERROR Connection id &quot;&quot;0HLAKHPSJ3QT8&quot;&quot;: An unhandled exception was thrown by the application.&#xA;Microsoft.OData.Core.UriParser.ODataUnrecognizedPathException: Resource not found for the segment 'GetEnvironmentArtifactStoreId'.&#xA;   at Microsoft.OData.Core.UriParser.Parsers.ODataPathParser.CreateFirstSegment(String segmentText)&#xA;   at Microsoft.OData.Core.UriParser.Parsers.ODataPathParser.ParsePath(ICollection`1 segments)&#xA;   at Microsoft.OData.Core.UriParser.Parsers.ODataPathFactory.BindPath(ICollection`1 segments, ODataUriParserConfiguration configuration)&#xA;   at Microsoft.OData.Core.UriParser.ODataUriParser.Initialize()&#xA;   at Microsoft.AspNetCore.OData.Routing.ODataRoute.&amp;lt;RouteAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced this before ?&lt;/p&gt;&#xA;" OwnerUserId="318" LastEditorUserId="2056" LastEditDate="2018-03-31T09:38:01.140" LastActivityDate="2018-03-31T09:38:01.140" Title="Commerce problem on Checkout page - Getting Microsoft.OData.Core.UriParser.ODataUnrecognizedPathException" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9343" PostTypeId="1" AcceptedAnswerId="9344" CreationDate="2018-01-08T17:14:51.737" Score="1" ViewCount="401" Body="&lt;p&gt;Are there any Sitecore demos or other sites built using Sitecore SxA, keeping best practices in mind? Any information would be help.&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="1000" LastEditDate="2018-01-08T17:25:08.377" LastActivityDate="2018-01-08T17:25:28.683" Title="Sitecore SxA Sites - Best Practices" Tags="|sxa|best-practices|" AnswerCount="1" CommentCount="0" ClosedDate="2018-01-08T17:39:17.793" ContentLicense="CC BY-SA 3.0" />
  <row Id="9344" PostTypeId="2" ParentId="9343" CreationDate="2018-01-08T17:17:29.887" Score="3" Body="&lt;p&gt;There are two projects that I am aware of:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/alan-null/XA.Reference/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;XA.Reference&lt;/a&gt; - it contains basic site with basic configuration for all the renderings. Next release will include demo blog site as well&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Cognifide/Sitecore.XA.Showcase/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.XA.Showcase&lt;/a&gt; - more advanced site. It describes SXA features and renderings using SXA site. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;source: &lt;a href=&quot;https://github.com/alan-null/SXA.Index#demo-sites&quot; rel=&quot;nofollow noreferrer&quot;&gt;SXA.Index&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-01-08T17:25:28.683" LastActivityDate="2018-01-08T17:25:28.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9345" PostTypeId="1" CreationDate="2018-01-08T17:37:17.540" Score="5" ViewCount="360" Body="&lt;p&gt;Let's say for example we have two SXA websites.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;AwesomeSauce.com&lt;/li&gt;&#xA;&lt;li&gt;TheBomb.com&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If an image appears on one domain, I can access it using the other domain.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;https://www.awesomesauce.com/-/media/project/awesome/sauce/usa/images/hero.jpg?&#xA;https://www.thebomb.com/-/media/project/awesome/sauce/usa/images/hero.jpg?&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a way to restrict the tenant content to a specific domain?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-03-14T13:18:23.567" Title="How do you restrict media from serving up on different domains in SXA?" Tags="|sxa|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9346" PostTypeId="2" ParentId="9345" CreationDate="2018-01-08T18:29:23.620" Score="2" Body="&lt;p&gt;There is no such concept in Sitecore and, I suspect, no such concept in SXA. But here's how I would approach it (generally speaking):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;add a new custom attribute to your &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definitions; like &lt;code&gt;mediaRoot=&quot;/sitecore/media library/awesomesauce&quot;&lt;/code&gt; and &lt;code&gt;mediaRoot=&quot;/sitecore/media library/thebomb&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Using existing handling for 404 of Media Items (found elsewhere on this site), expand that with a check for the image being served. If the image is not &lt;code&gt;.IsDescendantOf&lt;/code&gt; the &lt;code&gt;mediaRoot&lt;/code&gt; you defined, 404 it&lt;/li&gt;&#xA;&lt;li&gt;Profit in powerful ways&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/221/how-do-you-setup-a-404-and-500-error-page-for-missing-files-and-media-items&quot;&gt;How do you setup a 404 and 500 error page for missing files and media items?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Caveat: There would be no UI support. Likely you would need to consider something like a custom image field validator or so - but even so, the Information Model in Sitecore does not easily lend itself to this approach. Who is to tell, whether a datasource item living somewhere in shared space, will be presented on Site A or Site B.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-01-08T18:29:23.620" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9347" PostTypeId="2" ParentId="9345" CreationDate="2018-01-08T18:33:30.763" Score="3" Body="&lt;p&gt;What about doing this with domains and security.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can setup domains for your sites - let's call them &lt;code&gt;awesomesource&lt;/code&gt; and &lt;code&gt;thebomb&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in your media library, deny access to the sections specific for each site to the other sites domain anonymous user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So on the &lt;code&gt;/sitecore/media library/project/awesome/sauce/&lt;/code&gt; deny access to &lt;code&gt;thebomb\anonymous&lt;/code&gt; and vice versa on &lt;code&gt;/sitecore/media library/project/the/bomb/&lt;/code&gt; for &lt;code&gt;awesomesource\anonymous&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would not stop content editors from selecting the wrong image. But it would then give a 401 error. You could also customize that to generate a 404 error.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="107" LastEditDate="2019-03-14T13:18:23.567" LastActivityDate="2019-03-14T13:18:23.567" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9348" PostTypeId="1" AcceptedAnswerId="9349" CreationDate="2018-01-08T19:54:26.807" Score="3" ViewCount="93" Body="&lt;p&gt;I am setting up a scoring model on our new site in Marketing Control Panel.  One of our simple goals is 'Read a Blog Post'.  I would like to add that goal to the parent node and then instead of adding it to each of the children it would just inherit from the parent.  &lt;/p&gt;&#xA;" OwnerUserId="3000" LastActivityDate="2018-01-08T20:01:30.047" Title="Can I apply a goal to a parent item and then have it apply to all of its children?" Tags="|goals|marketing-control-panel|weblog|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9349" PostTypeId="2" ParentId="9348" CreationDate="2018-01-08T20:01:30.047" Score="1" Body="&lt;h2&gt;Yes. But you may not have access to it.&lt;/h2&gt;&#xA;&lt;p&gt;To achieve what you ask; the goal would need to be configured on Standard Values for the page type template of &amp;quot;Blog Post&amp;quot;. It is relatively simple to set up, but would need to be done by someone with &lt;code&gt;Sitecore Developer&lt;/code&gt; or &lt;code&gt;Is Administrator&lt;/code&gt; privileges on your solution.&lt;/p&gt;&#xA;&lt;p&gt;Edit:&lt;/p&gt;&#xA;&lt;p&gt;Technically this wouldn't do it in the exact way you ask; allow you to set a goal on a parent that then propagates to child items. But it should achieve your desired result.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-01-08T20:01:30.047" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9350" PostTypeId="1" AcceptedAnswerId="9351" CreationDate="2018-01-08T20:48:36.593" Score="1" ViewCount="101" Body="&lt;p&gt;I am using the Sitecore 7.2 Item Web API to retrieve some items. Using fast queries I am not able get a &quot;404&quot; in case  an item doesn't exist (even if i don't use fast queries, i still don't get 404).   All I get is a blank json response with  &quot;200&quot; response.   Any ideas why?  &lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="3089" LastEditDate="2018-01-23T13:11:31.690" LastActivityDate="2018-01-23T13:11:31.690" Title="WebApi queries on nonexistent resource returns 200" Tags="|sitecore-api|item-web-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9351" PostTypeId="2" ParentId="9350" CreationDate="2018-01-08T22:56:24.063" Score="4" Body="&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/developer/using%20sitecore%20fast%20query/using%20sitecore%20fast%20query001.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Fast query&lt;/a&gt; does not equal to &lt;a href=&quot;https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;web request&lt;/a&gt;. It should not return same codes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can execute fast query from Item Web API, from code, from XPath builder. And for these three places fast queries should work in a same way. I think that it would have no sense get 404 error when executing query code or XPath builder. 404 is response code for web &lt;code&gt;Not Found&lt;/code&gt;. 404 response would mean that resource was not found, in other words: Item Web API endpoint that should execute your request was not found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;200 is response code &lt;code&gt;OK&lt;/code&gt;. It means that your fast query was successfully executed and you can find result(s) in response(if any). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S.:&#xA;To understand why this behavior is better, let's imagine that it would return 404 code as you wish. How would you define what happened:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No items were found during execution of query&lt;/li&gt;&#xA;&lt;li&gt;Query was not executed. For some reason URL your_host/-/item/v1/?scope=c&amp;amp;query=your_query was not found.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-01-08T22:56:24.063" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9352" PostTypeId="2" ParentId="9338" CreationDate="2018-01-08T23:09:00.373" Score="3" Body="&lt;p&gt;Express migration tool does not migrate your old archived items, So your option here is to manually move these data in SQL tables, You can check this answer &lt;a href=&quot;https://sitecore.stackexchange.com/a/7278/167&quot;&gt;here&lt;/a&gt; where they used SQL queries to migrate the archived items, You use the same approach, There are no breaking changes in the tables schema, but make sure you try this first in a non-production environment:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;USE sc820u1_master;&#xA;&#xA;INSERT INTO dbo.Archive (ArchivalId, ItemId, ParentId, Name, OriginalLocation, ArchiveDate, ArchivedBy, ArchiveName)&#xA;SELECT ArchivalId, ItemId, ParentId, Name, OriginalLocation, ArchiveDate, ArchivedBy, ArchiveName &#xA;FROM sc720u6_master.dbo.Archive;&#xA;&#xA;INSERT INTO dbo.ArchivedFields (RowId, ArchivalId, VersionId, FieldId, Value, Created, Updated)&#xA;SELECT RowId, ArchivalId, VersionId, FieldId, Value, Created, Updated&#xA;FROM sc720u6_master.dbo.ArchivedFields;&#xA;&#xA;INSERT INTO dbo.ArchivedItems (RowId, ArchivalId, ItemId, Name, TemplateID, MasterID, ParentID, Created, Updated)&#xA;SELECT RowId, ArchivalId, ItemId, Name, TemplateID, MasterID, ParentID, Created, Updated &#xA;FROM sc720u6_master.dbo.ArchivedItems;&#xA;&#xA;INSERT INTO dbo.ArchivedVersions (VersionId, ArchivalId, ItemId, dbo.ArchivedVersions.Language, dbo.ArchivedVersions.Version, ArchivedDate, ArchivedBy)&#xA;SELECT VersionId, ArchivalId, ItemId, Language, Version, ArchivedDate, ArchivedBy&#xA;FROM sc720u6_master.dbo.ArchivedVersions;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-01-08T23:09:00.373" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9353" PostTypeId="1" AcceptedAnswerId="9354" CreationDate="2018-01-09T10:28:36.200" Score="3" ViewCount="1263" Body="&lt;p&gt;I want to edit some Placeholder settings with Powershell extensions, which involves adding a specific rendering to some and removing another rendering from others.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a simple syntax based on the field type, or should I just use string replacement to edit the field?&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2018-01-09T10:50:57.273" Title="What is the Powershell syntax for adding and removing items from a TreelistEx field?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9354" PostTypeId="2" ParentId="9353" CreationDate="2018-01-09T10:50:57.273" Score="7" Body="&lt;p&gt;You can use all Sitecore types to access and manipulate field value. &#xA;Example&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# get your ph settings item&#xA;$phSettings = gi -path '/sitecore/layout/Placeholder Settings/content'&#xA;&#xA;# read field and assign it to MultilistField type&#xA;[Sitecore.Data.Fields.MultilistField]$field = $phSettings.Fields[&quot;Allowed Controls&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can read and set values&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# read IDs from an array of IDs&#xA;$field[0]&#xA;&#xA;# replace ID inside an array&#xA;$phSettings.Editing.BeginEdit()&#xA;$field.Replace(&quot;{493B3A83-0FA7-4484-8FC9-4680991CF742}&quot;,&quot;{493B3A83-0FA7-4484-8FC9-4680991CF743}&quot;)&#xA;$phSettings.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;MultilistField&lt;/code&gt; is an extension of &lt;code&gt;Sitecore.Data.Fields.DelimitedField&lt;/code&gt; field type. Decompile it and see other methods available:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;public int Count&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;public string[] Items&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;public bool Contains(string item)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;public string Add(string item)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;public string Remove(string item)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;public int IndexOf(string item)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-01-09T10:50:57.273" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9359" PostTypeId="1" AcceptedAnswerId="9362" CreationDate="2018-01-09T12:34:37.517" Score="3" ViewCount="144" Body="&lt;p&gt;We are using Bitnami solr 6.2.1 with sitecore 8.1 update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every thing is just working fine in our development and qa environment. The issue is, whenever these environment gets rebooted or restarted for any reason, all cores from the solr server are detached. However all related files for these cores are still there in the file system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thus, every time we restarted server, we need to add all related cores back to the solr server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way, not to loose these cores from solr while server restart.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-01-09T13:17:04.757" Title="Detached solr cores while server restarts" Tags="|solr|" AnswerCount="1" CommentCount="1" ClosedDate="2018-01-09T13:45:43.050" ContentLicense="CC BY-SA 3.0" />
  <row Id="9361" PostTypeId="1" AcceptedAnswerId="9370" CreationDate="2018-01-09T12:44:49.130" Score="7" ViewCount="1050" Body="&lt;p&gt;I need to create a site which contains multiple logical business fucntionalities. One way is to create multiple sites within single sitecore instance. Other possible option is to have multiple folders in the same content tree. What is the benefit of having separate sites within single sitecore instance for multitenant in comparison to having multiple different content folder within single site.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2018-01-10T17:04:41.580" Title="Multitenant sites vs separate folders for different functional domain" Tags="|multitenancy|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9362" PostTypeId="2" ParentId="9359" CreationDate="2018-01-09T13:10:54.577" Score="0" Body="&lt;p&gt;Thanks TanerM,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You gave me the direction. All cores are at the correct location but there is one clue in your suggestion answer, mentioned in the more details link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have multiple cores in my solr-Installation. When i checked the core.properties, i found duplicate &quot;name&quot;-Attributes for few cores. I got the list of duplicate name for cores from the solr log file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I replaced that duplicate name from the core.properties with the relevant core name and everything is working as expected. :)&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="1671" LastEditDate="2018-01-09T13:17:04.757" LastActivityDate="2018-01-09T13:17:04.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9363" PostTypeId="1" AcceptedAnswerId="9366" CreationDate="2018-01-09T15:22:19.413" Score="8" ViewCount="14015" Body="&lt;p&gt;I am trying to find out how to exclude files when using the publishing feature in VS (2017 to be exact). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The documentation is not great, but it seems adding &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;Content Update=&quot;file name&quot;&amp;gt;&#xA;      &amp;lt;CopyToPublishDirectory&amp;gt;Never&amp;lt;/CopyToPublishDirectory&amp;gt;&#xA;    &amp;lt;/Content&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(&quot;file name&quot; was set to web.config, but also folders and other files were tested)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;to the profile.pubxml under &lt;code&gt;&amp;lt;project&amp;gt;&lt;/code&gt; should do the trick, but it doesn't :(&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried changing &quot;Never&quot; to &quot;false&quot; as VS intelisense seems to suggest that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also tried &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;Content Update=&quot;file name&quot; CopyToPublishDirectory=&quot;Never&quot; /&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As that was suggested in different posts when Googling.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have the solution for this?&lt;/p&gt;&#xA;" OwnerUserId="2411" LastEditorUserId="890" LastEditDate="2018-01-10T15:34:34.140" LastActivityDate="2022-07-01T17:19:37.527" Title="Excluding files like web.config when using publishing in VS 2017" Tags="|helix|habitat|visual-studio|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9364" PostTypeId="1" AcceptedAnswerId="9367" CreationDate="2018-01-09T15:30:48.170" Score="3" ViewCount="357" Body="&lt;p&gt;I am upgrading my Sitecore isntance from 9.0 initial to update-1. In this process I had to deploy the databases for EXM (exm.master and messaging) as that is new in this version. I used the dacpac's from the upgrade package as mentioned in the guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although not mentioned in the upgrade guide, I added the sql user (used for the other databases) to these and added:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;read/write rights on both databases&lt;/li&gt;&#xA;&lt;li&gt;execute rights on the exm.master database&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This seems to work now.. but does anybody know if this is correct? What are the minimal rights that are needed for the user in my connection string?&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-01-09T16:33:37.050" LastActivityDate="2018-01-10T06:03:32.943" Title="EXM databases setup - minimal rights" Tags="|exm|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9365" PostTypeId="2" ParentId="9363" CreationDate="2018-01-09T15:33:07.427" Score="2" Body="&lt;p&gt;Try this one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ItemGroup&amp;gt;&#xA;  &amp;lt;None Update=&quot;file name&quot; CopyToPublishDirectory=&quot;Never&quot; /&amp;gt;&#xA;&amp;lt;/ItemGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It will change build action from &lt;code&gt;content&lt;/code&gt; to &lt;code&gt;none&lt;/code&gt; and will exclude file from publishing.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-01-09T15:33:07.427" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9366" PostTypeId="2" ParentId="9363" CreationDate="2018-01-09T15:47:05.587" Score="6" Body="&lt;p&gt;You could also add a property group called &lt;code&gt;ExcludeFilesFromDeployment&lt;/code&gt; to your &lt;code&gt;profile.pubxml&lt;/code&gt; publishing profile. I have mine setup like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Project ToolsVersion=&quot;4.0&quot; xmlns=&quot;http://schemas.microsoft.com/developer/msbuild/2003&quot;&amp;gt;&#xA;  &amp;lt;PropertyGroup&amp;gt;&#xA;    &amp;lt;WebPublishMethod&amp;gt;FileSystem&amp;lt;/WebPublishMethod&amp;gt;&#xA;    &amp;lt;LastUsedBuildConfiguration&amp;gt;Debug&amp;lt;/LastUsedBuildConfiguration&amp;gt;&#xA;    &amp;lt;LastUsedPlatform&amp;gt;Any CPU&amp;lt;/LastUsedPlatform&amp;gt;&#xA;    &amp;lt;SiteUrlToLaunchAfterPublish /&amp;gt;&#xA;    &amp;lt;LaunchSiteAfterPublish&amp;gt;True&amp;lt;/LaunchSiteAfterPublish&amp;gt;&#xA;    &amp;lt;ExcludeApp_Data&amp;gt;False&amp;lt;/ExcludeApp_Data&amp;gt;&#xA;    &amp;lt;DeleteExistingFiles&amp;gt;False&amp;lt;/DeleteExistingFiles&amp;gt;&#xA;    &amp;lt;ExcludeFilesFromDeployment&amp;gt;&#xA;        bin\Sitecore.*.dll;&#xA;    &amp;lt;/ExcludeFilesFromDeployment&amp;gt;&#xA;  &amp;lt;/PropertyGroup&amp;gt;&#xA;&amp;lt;/Project&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To make sure non of the Sitecore binaries are deployed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also - in your VS Project you can just set the build action to &lt;code&gt;none&lt;/code&gt; in the properties of the files. That will affect the project file, so it will apply to all publishing profiles, not just the one you are editing.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-01-09T15:47:05.587" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9367" PostTypeId="2" ParentId="9364" CreationDate="2018-01-09T15:56:23.930" Score="2" Body="&lt;p&gt;For the EXM Master and Messaging Databases specifically, the only permissions you &lt;strong&gt;must have&lt;/strong&gt; are read/write permissions and EXECUTE on both databases.   While there are no stored procedures in those databases that would require the EXECUTE permission, there . Additionally, I am not aware of any TRUNCATE needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, for things like the Analytics Databases, the Sitecore DB user &lt;strong&gt;&lt;em&gt;does&lt;/em&gt;&lt;/strong&gt; need EXECUTE and TRUNCATE permissions because things like Rebuilding the Reporting Database uses stored procedures and truncation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for EXM specifically, the read/write permissions (which should give you the standard CRUD operations) and EXECUTE should be enough.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-01-10T06:03:32.943" LastActivityDate="2018-01-10T06:03:32.943" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9368" PostTypeId="1" CreationDate="2018-01-09T15:58:46.423" Score="3" ViewCount="237" Body="&lt;p&gt;I installed Sitecore 9.0 in my local machine and migrated Sitecore 8.0 to the local Sitecore 9. The migrated Sitecore 9.0 is working without any issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While I'm working on packaging local Sitecore 9.0 instance to deploy the package on Azure PaaS Sitecore 9.0 by using Sitecore Azure Toolkit 2.0.0, I got this error at Powershell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It says: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The file is too long. This operation is currently limited to&#xA;  supporting files less than 2 gigabytes in size.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and the error is at line 190.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cYyaH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cYyaH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any idea? or Is there another way to migrate local Sitecore 9 to Azure PaaS Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="554" LastEditorUserId="1671" LastEditDate="2018-02-21T19:24:24.593" LastActivityDate="2018-02-21T19:24:24.593" Title="Size Limit Error when deploying my Sitecore solution" Tags="|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9369" PostTypeId="2" ParentId="9363" CreationDate="2018-01-09T16:28:44.837" Score="6" Body="&lt;p&gt;Although this is off-topic, this is a common issue in Sitecore for those who are experimenting with Helix/Habitat.  Anyway, you can also achieve this on the VS UI which essentially results to the project file snippet Anton has shown above.  Just choose Properties on the file you want to not process and change the Build Action to None.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XmOb5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XmOb5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-09T16:28:44.837" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9370" PostTypeId="2" ParentId="9361" CreationDate="2018-01-09T16:32:26.950" Score="3" Body="&lt;p&gt;This is a loaded question and the answer will wholly depend on specific situations and several factors such as security, performance, code-dependency, deployment scenarios, uptime requirements, etc.  There are several blogs out there about multi-tenancy and multi-sites (plus multi-languages/regions) but &lt;a href=&quot;http://helix.sitecore.net/principles/multi-site/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here's one that Sitecore is evangelizing through Helix&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATED:&lt;/strong&gt;&#xA;Based on the comment, it really depends on the marketing needs such as URLs, analytics, SEO, etc.  But here are some things to consider between the two setups:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Content Sharing and Links Management&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a subfolder-based structure, it'll be easier as you don't have to worry about URLs (i.e. all within the same host).  Meanwhile, for a site-based structure, it's possible but you may now need to update your URL strategy along with some link providers, etc.  But if there's no need for sharing content between the &quot;sites&quot;, then site-based should be fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Extranet Security&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have different audiences for each &quot;site&quot; and need logins, site-based allows you to have specific domain per site while the subfolder-based structure doesn't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Flexibility and Autonomous&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously, having its own site provides you more ways to enhance it technically without affecting others &quot;per se&quot;.  It's just a bit safer.  You could have a VS solution per site instead of having in one large solution.  Although, if you follow Helix, you could create a project per site or per even per subfolder depending on which way you go with to still allow for autonomy.  If you do this with the subfolder-based structure, the boundary may not be as clear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Design&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can have a different design per site but may be hard to configure for a subfolder-based site depending on the complexity of the design(s).  We've done themes on a subfolder basis before but is still based on an overall design.  But, if there's no design changes, the subfolder-based structure will be easier to setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WFFM (not Experience Forms)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can have specific forms only available to specific sites but not for subfolder-based.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Authoring and Workflow&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the authoring audience is different per business function and there's a strict separation of access, site-based &quot;MAY&quot; be easier to set up.  But if the requirements are not that complex, subfolder-based will my choice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm sure there's more here but to me the bigger question is &quot;what is the intent of the site(s) and the user experience?&quot;  If it's more of a collection of related topics housed in an overarching gateway like an online magazine with different categories, then folder-based is perfect.  If it's more for different audiences that require different needs (i.e. site features) like StackExchange that has subdomains for various topics, then I would choose site-based.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastEditorUserId="2972" LastEditDate="2018-01-10T17:04:41.580" LastActivityDate="2018-01-10T17:04:41.580" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9373" PostTypeId="2" ParentId="9316" CreationDate="2018-01-09T18:21:13.800" Score="1" Body="&lt;p&gt;Well it's not meant to be for video....but depending on how you are embedding the video, you can use the Slide Text. For instance, in YouTube, you can grab the embed IFRAME code and paste it there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/GqmvbEguQXA&quot; frameborder=&quot;0&quot; allow=&quot;autoplay; encrypted-media&quot; allowfullscreen=&quot;&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6IGrr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6IGrr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-09T18:21:13.800" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9376" PostTypeId="1" CreationDate="2018-01-09T20:52:52.167" Score="1" ViewCount="41" Body="&lt;p&gt;In a Sitecore 8.2 (rev. 170614) instance an item was throwing the following error when selected in content editor:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application. Data at the root level is invalid.&#xA;  Line 1, position 1. Description: An unhandled exception occurred&#xA;  during the execution of the current web request. Please review the&#xA;  stack trace for more information about the error and where it&#xA;  originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.Xml.XmlException: Data at the root level is&#xA;  invalid. Line 1, position 1.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The field that is associated with this item was filled in with plain text: &lt;code&gt;/sitecore/templates/System/Templates/Sections/Appearance/Appearance/__Preview&lt;/code&gt;. Removing the text in the dbbrowser made that error go away. It looks like the only way to add plain text to this field is through the dbbrowser from what I can see. Trying to edit the field from the content editor throws the above error message and stops the item from being saved if it is not recognized as xml. Is there any way to populate this field from Experience Editor/Content Editor with plain text that will not pass the xml validation in place?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if it matters but the item that had this applied to it was a datasource item being pointed to by a rendering on a page item.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-01-09T20:52:52.167" Title="How Does __Preview Get Populated" Tags="|content-management|datasource|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9377" PostTypeId="1" CreationDate="2018-01-09T21:53:19.670" Score="1" ViewCount="454" Body="&lt;p&gt;I have published to my File system: c:/Sites/intranet-local/Website&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a website under Sites in IIS: pointing to the above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I received the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Cannot read configuration file because it exceeds the maximum file&#xA;  size, thus I set up my Registry to increase the size of&#xA;  MaxWebConfigFileSizeInKB to 400 or Hex 190.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I restarted my site and I am still getting the same error. Is there something else I need to look at.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: Sitecore database in NOT local and not installed locally&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Release 7.2&lt;/p&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="1671" LastEditDate="2018-01-10T15:50:07.777" LastActivityDate="2018-01-10T19:29:58.077" Title="Is there a reason that I am not able to run my Sitecore 7.2 locally?" Tags="|site-configuration|iis|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9378" PostTypeId="2" ParentId="9377" CreationDate="2018-01-09T22:19:30.120" Score="6" Body="&lt;p&gt;Do you have any additional customization in web.config? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If yes, try breaking your web.config and put your customization in separate patch files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Meanwhile also have a look at the blog post below, if you are on 64 bit OS then the registry to be edited is different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://himadritechblog.wordpress.com/2014/09/27/how-to-fix-cannot-read-configuration-file-because-it-exceeds-the-maximum-file-size/&quot; rel=&quot;noreferrer&quot;&gt;https://himadritechblog.wordpress.com/2014/09/27/how-to-fix-cannot-read-configuration-file-because-it-exceeds-the-maximum-file-size/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-01-09T22:21:03.440" LastActivityDate="2018-01-09T22:21:03.440" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9380" PostTypeId="1" CreationDate="2018-01-10T05:39:38.410" Score="5" ViewCount="529" Body="&lt;p&gt;We are using TeamCity for sitecore CI integration.  Sometimes we get an issue related to sitecore item sync using TDS. But after some time, when we run deployment script again on server, those issues were automatically resolved. From last few days, Suddenly every build is getting failed with below reason in TeamCity exception.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;error TDS0006: Deploy of /sitecore/templates/ header failed. Reason:&#xA;  The underlying connection was closed: A connection that was expected&#xA;  to be kept alive was closed by the server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;With high memory uses almost 95%+ RAM utilization. and around 50% CPU utilization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We triggered build multiple times, as we usually do, whenever we are experiencing this issue but this time, result is always same.  I tried many things to resolve this issue like..&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Initially we thought that there might be too many items in publishing queue and event queue and that might be an issue. The memory utilization is constantly above 90% and performance of the application gone down drastically. Thus we performed following tasks on all databases (core, master and web).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a.       Cleanup EventQueue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b.      Cleanup PublishQueue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;c.       Cleanup History&lt;/p&gt;&#xA;&#xA;&lt;p&gt;d.      Rebuild Link Database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.      Rebuild indexes&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;All these things don’t help us to resolve the actual issue. Then we checked the log file got something unexpected.  During deployment, application is getting restarted multiple times and a new log file is generated on each restart. But deployment resumes even after application restart. Sometimes we got information message that cause application restart, sometimes not, in sitecore log files.  We could find below error messages during deployment.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Sitecore shutting down&#xA;&#xA;    6456 07:09:03 WARN  Shutdown message: CONFIG change&#xA;&#xA;    HostingEnvironment initiated shutdown&#xA;&#xA;    Change Notification for critical directories.&#xA;&#xA;    bin dir change or directory rename&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;and sometimes below lines in addition to above log.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RROR Error in FileWatcher. Internal buffer overflow.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.IO.InternalBufferOverflowException&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Message: Too many changes at once in directory:C:\Inetpub\wwwroot\XXX\Data&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resolve these issues, we made few settings change…&lt;/p&gt;&#xA;&#xA;&lt;p&gt;·         Increase buffer size&#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;·         Changed a location of license file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the solution suggested by articles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6384/filewatcher-error-internal-buffer-overflow&quot;&gt;FileWatcher Error, Internal buffer overflow&lt;/a&gt;&#xA;&lt;a href=&quot;https://mikael.com/2016/01/sitecore-file-watcher-internal-buffer-overflow-exception/&quot; rel=&quot;noreferrer&quot;&gt;https://mikael.com/2016/01/sitecore-file-watcher-internal-buffer-overflow-exception/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But still we are not able to deploy our build to qa environment whereas same code is running fine on dev environment.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="1671" LastEditDate="2018-01-10T12:01:52.297" LastActivityDate="2018-01-10T12:01:52.297" Title="Sitecore restarted multiple times during Teamcity deployment, mainly while syncing TDS project" Tags="|tds|deployment|continuous-integration|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9382" PostTypeId="2" ParentId="9361" CreationDate="2018-01-10T06:17:07.510" Score="0" Body="&lt;p&gt;To name a couple of the benefits, by using separate site definitions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;you can easily separate Sitecore Analytics without any extra work.&lt;/li&gt;&#xA;&lt;li&gt;Each site is given their own caches&lt;/li&gt;&#xA;&lt;li&gt;No need to write a custom processor to detect the domain/url requested.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If management of Site configs seem overwhelming in a multi-tenant solution  consider available mutilsite/dynamic modules to assist.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-10T06:17:07.510" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9383" PostTypeId="1" CreationDate="2018-01-10T07:15:48.647" Score="1" ViewCount="419" Body="&lt;p&gt;I've so many links in different website for a particular page in sitecore. I want to allow Editors to configure the redirection for that particular Item to a new page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way of doing this?&lt;/p&gt;&#xA;" OwnerUserId="2226" LastEditorUserId="2056" LastEditDate="2019-02-12T13:22:20.293" LastActivityDate="2019-02-12T13:22:20.293" Title="How to allow editors to configure redirection for a particular Item/Page?" Tags="|content-editor|redirect|sitemap|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9385" PostTypeId="2" ParentId="9383" CreationDate="2018-01-10T07:28:24.633" Score="2" Body="&lt;p&gt;You can use redirect module : &lt;a href=&quot;https://marketplace.sitecore.net/Modules/301_Redirect_module.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/301_Redirect_module.aspx?sc_lang=en&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Github repository where you can get the code and to modify it: &lt;a href=&quot;https://github.com/Chris-Castle/301RedirectModule&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Chris-Castle/301RedirectModule&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the redirect module you have the option to create rules for redirecting your requests to other landing pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AlCaz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AlCaz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-01-10T07:28:24.633" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9386" PostTypeId="1" CreationDate="2018-01-10T08:11:01.673" Score="2" ViewCount="723" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wdcos.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wdcos.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to link a child item to this folder. So that if any visitor hit the URL pointing to this item, should automatically show the linked item/page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the best way of achieve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found Aliases as an option. Would it be a good idea to use it ?&lt;/p&gt;&#xA;" OwnerUserId="2226" LastEditorUserId="277" LastEditDate="2021-06-04T06:19:25.313" LastActivityDate="2021-06-04T06:19:25.313" Title="How to set a default page for a folder?" Tags="|content-management|redirect|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9387" PostTypeId="1" AcceptedAnswerId="9391" CreationDate="2018-01-10T08:13:37.587" Score="1" ViewCount="326" Body="&lt;p&gt;Is there any minimum requirement of hard disk for Sitecore installation. I understand the database size will depend on the content but if the database is a separate server, for the CMS and CD part is there any recommended value.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2018-01-10T11:04:14.763" Title="Minimum hard disk required for Sitecore Installation" Tags="|site-configuration|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9388" PostTypeId="2" ParentId="9383" CreationDate="2018-01-10T08:15:39.247" Score="0" Body="&lt;p&gt;If you need to do some custom logic during the redirect process you can consider creating a controller rendering with a template that contains the link to redirect too. Then content editors can create items based on the redirect template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need redirection on an existing page you could create a base template containing the redirection link and inherit the base template on the applicable page templates. Content editors might need to manually attach the controller rendering to presentation details in this case.&lt;/p&gt;&#xA;" OwnerUserId="2737" LastActivityDate="2018-01-10T08:15:39.247" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9389" PostTypeId="2" ParentId="9386" CreationDate="2018-01-10T08:25:43.533" Score="2" Body="&lt;p&gt;You could add a General Link field on the Folder template to allow the content editor to select which page it should redirect to by default. You would also need to create a Controller Rendering to handle the redirection and add it to the presentation details of the folder item.&lt;/p&gt;&#xA;" OwnerUserId="2737" LastActivityDate="2018-01-10T08:25:43.533" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9390" PostTypeId="1" CreationDate="2018-01-10T08:31:50.980" Score="1" ViewCount="698" Body="&lt;p&gt;We are using Sitecore 8.2 in the following configuration:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1 CM instance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2 CD instances on load balancer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore analytics is enabled&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have not identified the contacts&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Analytics.cluster is set to the site URL &lt;a href=&quot;http://abc.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://abc.com/&lt;/a&gt; on CD server while default value is present on CM server&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are getting the following in logs on CD server:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Cannot finish Analytics page tracking Exception:&#xA;  Sitecore.Analytics.Exceptions.ContactLockException Message: Failed to&#xA;  extend contact lease for contact cc5dd459-3ec0-47c3-a175-8ff4082dbd62&#xA;  Source: Sitecore.Analytics    at&#xA;  Sitecore.Analytics.Tracking.ContactManager.SaveAndReleaseContact(Contact&#xA;  contact)    at&#xA;  Sitecore.Analytics.Pipelines.EndAnalytics.ReleaseContact.Process(PipelineArgs&#xA;  args)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, Boolean failIfNotExists)    at&#xA;  Sitecore.Analytics.Pipelines.EndAnalytics.EndAnalyticsPipeline.Run()&lt;br&gt;&#xA;  at&#xA;  Sitecore.Analytics.Pipelines.HttpRequest.EndAnalytics.Process(HttpRequestArgs&#xA;  args)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My queries are the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Is there something wrong with my configuration, other than disabling Sitecore Analytics?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Can this issue lead to abrupt session end on the website?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="73" LastEditDate="2018-01-10T10:00:07.157" LastActivityDate="2018-01-10T10:00:07.157" Title="Sitecore xDB exception and session terminates" Tags="|xdb|session-state|" AnswerCount="0" CommentCount="5" ClosedDate="2018-01-10T15:49:58.673" ContentLicense="CC BY-SA 3.0" />
  <row Id="9391" PostTypeId="2" ParentId="9387" CreationDate="2018-01-10T08:38:26.767" Score="4" Body="&lt;p&gt;I doubt you'll find any recommendation for HDD size because it totally depends on your needs, configuration and needed modules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, a basic Sitecore 9 installation is around 2gb without any css, js, images, custom DLLs or configs. You'll have to estimate these for your project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find xDB requirements &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/platform/hardware_guidlines&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="490" LastEditDate="2018-01-10T11:04:14.763" LastActivityDate="2018-01-10T11:04:14.763" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9393" PostTypeId="1" CreationDate="2018-01-10T11:04:18.873" Score="3" ViewCount="406" Body="&lt;p&gt;Is it possible to have different instance of Solr  - one pointing to the staging website while other pointing to production website while the CMS sytem is common to both Solr instance. &#xA;I am not checking about high availability or scaling or solr but want to have two separate solr instance so that staging envrironment can be completely separate from production CD environment in DMZ zone with no linking to internal environments like staging.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2018-02-09T20:28:19.443" Title="Different instance of solr for staging and production" Tags="|solr|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9394" PostTypeId="1" AcceptedAnswerId="9491" CreationDate="2018-01-10T11:24:09.193" Score="6" ViewCount="1026" Body="&lt;p&gt;I am working with the Upgrade to Sitecore 9 in Azure PaaS, however, I also need to &lt;strong&gt;switch the Azure Search to Solr&lt;/strong&gt; that is compatible with the &lt;strong&gt;Sirecore 9 PaaS&lt;/strong&gt;. I have tried looking for any documentations regarding this but haven't found any yet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will be of great help, if anybody can suggest some thoughts/documentations on it. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2472" LastEditorUserId="2727" LastEditDate="2018-01-12T07:48:33.030" LastActivityDate="2018-01-15T16:14:28.057" Title="Switch Azure Search to Solr Sitecore PaaS" Tags="|solr|azure-search|paas|" AnswerCount="1" CommentCount="2" ClosedDate="2018-01-16T03:56:49.807" ContentLicense="CC BY-SA 3.0" />
  <row Id="9395" PostTypeId="1" AcceptedAnswerId="9517" CreationDate="2018-01-10T11:31:42.527" Score="2" ViewCount="361" Body="&lt;p&gt;I'm using Sitecore 8.2 update 5 and I'm having an issue with unsubscribe page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click on the Unsubscribe link generated by EXM with redirectPage url: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;.../sitecore&#xA;  modules/Web/EXM/RedirectUrlPage.aspx?ec_eq=eTdvBcWiA4b1cQPHOnBEhBBe2b4LHDlSaQsEm32D3QaxxCmzarXlhcI7ohNgDTHnFiMUrfsJStslV2YgyB2vZRhluh%2f7eFzZgSlrYXGyFFqPKPTGkoOekYTrgRB6WspV6qHmnjCWfS0Nj3jcv2DAL8S%2flzfM9va0AchGzczf6DokEsIZaINa%2fH8XJzfr4Nyumm2zo%2bO9Wqoa3I0OQbPjiLC3sjDBxTIR5ElmAY1QGb543BW%2fQZv0zHekZAkXXzJbaNOOH4lIANfHo0bEi0gA%2fpKoOKHW0eVMGQtoR40fmsS2F1U7Hh2pGk%2fNXdpUZGRn6ymohEC9%2b7Cxyz1g4kMUXQcMsO0AOX2YeDOwvOiQxhc%3d&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;After load on the page the website return 404.. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/404?item=%2fsitecore%2funsubscribe&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="2508" LastEditorUserId="277" LastEditDate="2018-01-10T15:01:27.393" LastActivityDate="2018-01-16T18:07:32.703" Title="Unsubscribe Page on EXM 3.5 throwing 404" Tags="|exm|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9397" PostTypeId="1" CreationDate="2018-01-10T11:56:07.890" Score="1" ViewCount="530" Body="&lt;p&gt;I have some Unicorn configuration files which use a specific $variable for the physicalRootPath:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;physicalRootPath=&quot;$(sourceFolder)\foundation\Serialization\Serialization&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now I would like to have the $sourceFolder variable be dependent of the Sitecore standard $dataFolder variable. So I have defined: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;sourceFolderPublic&quot; value=&quot;$(dataFolder)\Serialization&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I run /unicorn.aspx I get the following error:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Z1dmK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z1dmK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;It seems the $(dataFolder) variable is not filled in?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've narrowed it down even further. In the root Sitecore.config I have directly defined the following config and it works:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/0yhG9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0yhG9.png&quot; alt=&quot;working config&quot;&gt;&lt;/a&gt;&#xA;But when I use this it doesn't work (crash)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/yMC4R.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yMC4R.png&quot; alt=&quot;not working config&quot;&gt;&lt;/a&gt;&#xA;This is the stacktrace&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EBSZ9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EBSZ9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="924" LastEditorUserId="924" LastEditDate="2018-01-11T09:56:00.660" LastActivityDate="2018-05-11T23:10:36.993" Title="Nested sc.variables in Unicorn configuration" Tags="|configuration|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9398" PostTypeId="2" ParentId="9386" CreationDate="2018-01-10T12:16:31.157" Score="5" Body="&lt;p&gt;Quick and clean solution:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new template (called &quot;Folder with default item&quot; or whatever you prefer), inheriting from the standard Folder template&lt;/li&gt;&#xA;&lt;li&gt;Add a field to your custom folder (e.g. Droptree, and set the &lt;code&gt;Source&lt;/code&gt; of the field to &lt;code&gt;query:./*&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Add new &lt;code&gt;httpRequestBegin&lt;/code&gt; processor after &lt;code&gt;ItemResolver&lt;/code&gt;. Use code (not tested - try and fix if needed):&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DefaultItemResolver : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (!Context.PageMode.IsNormal || Context.Item == null || Context.Item.TemplateID != DefaultItemFolderTemplateId)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Item target = null;&#xA;&#xA;        if (!string.IsNullOrEmpty(Context.Item[DefaultItemFieldIdOrName]))&#xA;        {&#xA;            target = Context.Item.Database.GetItem(Context.Item[DefaultItemFieldIdOrName]);&#xA;        }&#xA;&#xA;        Context.Item = target;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code above return 404 if default item is not selected. If you want to show folder item instead, check if &lt;code&gt;target&lt;/code&gt; is not null before assigning it to &lt;code&gt;Context.Item&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-01-10T12:16:31.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9399" PostTypeId="1" AcceptedAnswerId="12425" CreationDate="2018-01-10T13:53:22.707" Score="6" ViewCount="169" Body="&lt;p&gt;I am running Coveo 4.1.125 (on a on-premise server) for Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that sometimes when my dedicated Coveo server is unreachable, that the complete website is going down with the following exception: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Coveo Entreprise Search seems to be unavailable. Please make sure that the service is installed and started.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This issue is caused by the render view &lt;code&gt;/views/coveo hive/resources/coveo search resources.cshtml&lt;/code&gt; and while this render view is used on every page of my website, it causes a complete website outage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I would like to prevent such a website outage by adding a 'Coveo health check' in the controller that is returning the Coveo view. The idea is to simply not render the search input box and result page when the Coveo API is unreachable, offering degraded service (not possible to search the website) instead of no website at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any check already available in Coveo that I can call from my controller and that returns the current health status?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found &lt;a href=&quot;https://answers.coveo.com/questions/11943/handling-rendering-exceptions-in-coveo-components.html&quot; rel=&quot;noreferrer&quot;&gt;this post&lt;/a&gt; where it seems that recent versions of Coveo should have such checks, but I could not figure out how to call it.&lt;/p&gt;&#xA;" OwnerUserId="1966" LastActivityDate="2018-06-21T00:57:13.520" Title="How to prevent a website outage because of Coveo service unreachable" Tags="|coveo|health-monitor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9400" PostTypeId="2" ParentId="9300" CreationDate="2018-01-10T16:50:31.983" Score="3" Body="&lt;p&gt;As Mark had said this is likely data related and due to too much processing being done to allow SQL to spin up in time. A few things you can try:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) clear down the even queue and history tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) run the reindex/rebuild commands and set this up as a maintenance plan&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) look at the max connections value in the connections string config and perhaps increase it &lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-01-10T16:50:31.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9401" PostTypeId="2" ParentId="9397" CreationDate="2018-01-10T17:18:02.877" Score="0" Body="&lt;p&gt;I performed something similar to what you're trying to achieve and it worked fine.  The &quot;datafolder&quot; variable was replaced accordingly.  Can you check your &lt;code&gt;ShowConfig.aspx&lt;/code&gt; and see if it's being applied.  You should see the updated targetDataStore's physicalRoot.  If you still see the &quot;dataFolder&quot; variable, then it's likely not finding it.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-10T17:18:02.877" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9402" PostTypeId="1" AcceptedAnswerId="9544" CreationDate="2018-01-10T18:21:22.667" Score="5" ViewCount="257" Body="&lt;p&gt;When using the Feed Designer, Sitecore appears to be pulling &lt;code&gt;Single Line Text&lt;/code&gt; and &lt;code&gt;Multi Line Text&lt;/code&gt; fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can this be updated to also include custom field types? (e.g., we have a type &lt;code&gt;Raw Text&lt;/code&gt;) Maybe a pipeline or configuration?&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="430" LastEditDate="2018-01-10T18:53:39.023" LastActivityDate="2018-01-17T17:12:47.083" Title="RSS Feed Designer - Control field types?" Tags="|rss|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9403" PostTypeId="1" AcceptedAnswerId="9404" CreationDate="2018-01-10T18:40:00.563" Score="9" ViewCount="3868" Body="&lt;p&gt;How can I add Page specific javascript in SXA. I've done it using PlainHTML rendering, but what if my script is big and I want to call it from outside&lt;/p&gt;&#xA;" OwnerUserId="2958" LastEditorUserId="73" LastEditDate="2018-01-10T18:42:04.883" LastActivityDate="2020-12-18T14:55:14.820" Title="Adding page specific JavaScript via SXA" Tags="|sxa|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9404" PostTypeId="2" ParentId="9403" CreationDate="2018-01-10T19:28:39.650" Score="13" Body="&lt;p&gt;I love this question because I have an answer. Not long ago I built a module for SXA that would do this. I may not have tested this on your version of SXA, but it should give you an idea how to do it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check out this &lt;a href=&quot;https://github.com/michaellwest/westco-sxa-extensions&quot; rel=&quot;noreferrer&quot;&gt;link&lt;/a&gt; for more details.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I added a processor called &lt;strong&gt;AddPlainIncludes&lt;/strong&gt; to pull items from the media library and add to the page. SXA comes with a class called &lt;code&gt;PlainInclude&lt;/code&gt; that you can use.&lt;/li&gt;&#xA;&lt;li&gt;The processor looks for items in the media library, similar to a &lt;strong&gt;Theme&lt;/strong&gt; but called &lt;strong&gt;Asset&lt;/strong&gt;. The structure is similar but has additional properties for CDN.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I built the module so I could load scripts from a CDN.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hJ6K6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hJ6K6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ECygZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ECygZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/86o91.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/86o91.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1PLqK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1PLqK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;var urlInclude = new PlainInclude&#xA;{&#xA;    SortOrder = num,&#xA;    Name = plainIncludeItem.Name,&#xA;    Type = assetType,&#xA;    Content = urlContent&#xA;};&#xA;assetsList.Add(urlInclude);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the processor:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using Sitecore;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Fields;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.StringExtensions;&#xA;using Sitecore.XA.Foundation.IoC;&#xA;using Sitecore.XA.Foundation.Multisite;&#xA;using Sitecore.XA.Foundation.SitecoreExtensions.Extensions;&#xA;using Sitecore.XA.Foundation.Theming.Bundler;&#xA;using Sitecore.XA.Foundation.Theming.Configuration;&#xA;using Sitecore.XA.Foundation.Theming.Pipelines.AssetService;&#xA;&#xA;namespace Westco.XA.Foundation.Theming.Pipelines.AssetService&#xA;{&#xA;    public class AddPlainIncludes : AddAssetsProcessor&#xA;    {&#xA;        public override void Process(AssetsArgs args)&#xA;        {&#xA;            if (!IsSxaPage()) return;&#xA;            var assetConfiguration = AssetConfigurationReader.Read();&#xA;&#xA;            var contextItem = Context.Item;&#xA;            if (contextItem == null) return;&#xA;&#xA;            var siteItem = ServiceLocator.Current.Resolve&amp;lt;IMultisiteContext&amp;gt;().GetSiteItem(contextItem);&#xA;&#xA;            var settingsItem = siteItem?.Children[&quot;Settings&quot;];&#xA;            if (settingsItem == null) return;&#xA;&#xA;            var assetIds = new string[0];&#xA;            var siteAssetsIds = settingsItem[Templates.Page.Fields.AssociatedAssets]?.Split('|');&#xA;            var pageAssetsIds = contextItem[Templates.Page.Fields.AssociatedAssets]?.Split('|');&#xA;&#xA;            if (siteAssetsIds != null &amp;amp;&amp;amp; siteAssetsIds.Any())&#xA;            {&#xA;                assetIds = assetIds.Union(siteAssetsIds).ToArray();&#xA;            }&#xA;&#xA;            if (pageAssetsIds != null &amp;amp;&amp;amp; pageAssetsIds.Any())&#xA;            {&#xA;                assetIds = assetIds.Union(pageAssetsIds).ToArray();&#xA;            }&#xA;&#xA;            if (!assetIds.Any()) return;&#xA;&#xA;            var assetsList = new List&amp;lt;AssetInclude&amp;gt;();&#xA;            const int num = 0;&#xA;&#xA;            var plainIncludeItems = contextItem.Axes.SelectItems($&quot;/sitecore/media library//*[@@templateid='{Templates.PlainInclude.Id}']&quot;);&#xA;            if (!plainIncludeItems.Any()) return;&#xA;&#xA;            foreach (var assetId in assetIds)&#xA;            {&#xA;                if (assetId.IsNullOrEmpty() || !ID.IsID(assetId)) continue;&#xA;                var plainIncludeItem = plainIncludeItems.FirstOrDefault(pii =&amp;gt; pii.ID.ToString() == assetId);&#xA;                if (plainIncludeItem == null) continue;&#xA;&#xA;                var mode = GetEnumFieldValue(plainIncludeItem.Fields[Templates.PlainInclude.Fields.Mode]);&#xA;                if (string.IsNullOrEmpty(mode) || mode.Equals(&quot;Disabled&quot;, StringComparison.OrdinalIgnoreCase)) continue;&#xA;&#xA;                var assetTypeEx = (AssetTypeEx)Enum.Parse(typeof(AssetTypeEx), mode);&#xA;                var assetType = assetTypeEx == AssetTypeEx.Style ? AssetType.Style : AssetType.Script;&#xA;&#xA;                var attributes = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;&#xA;                if (!plainIncludeItem[Templates.PlainInclude.Fields.SriHash].IsNullOrEmpty())&#xA;                {&#xA;                    attributes.Add(&quot;integrity&quot;, plainIncludeItem[Templates.PlainInclude.Fields.SriHash]);&#xA;                }&#xA;&#xA;                if (!plainIncludeItem[Templates.PlainInclude.Fields.Cors].IsNullOrEmpty())&#xA;                {&#xA;                    attributes.Add(&quot;crossorigin&quot;, GetEnumFieldValue(plainIncludeItem.Fields[Templates.PlainInclude.Fields.Cors]));&#xA;                }&#xA;&#xA;                switch (assetTypeEx)&#xA;                {&#xA;                    case AssetTypeEx.ScriptAsync:&#xA;                        attributes.Add(&quot;async&quot;, &quot;&quot;);&#xA;                        break;&#xA;                    case AssetTypeEx.ScriptDefer:&#xA;                        attributes.Add(&quot;defer&quot;, &quot;&quot;);&#xA;                        break;&#xA;                }&#xA;&#xA;                var url = plainIncludeItem[Templates.PlainInclude.Fields.AssetUrl];&#xA;                var joinedAttributes = string.Join(&quot; &quot;,&#xA;                    attributes.Where(a =&amp;gt; !a.Value.IsNullOrEmpty()).Select(a =&amp;gt; $&quot;{a.Key}=\&quot;{a.Value}\&quot;&quot;));&#xA;                joinedAttributes += string.Join(&quot; &quot;,&#xA;                    attributes.Where(a =&amp;gt; a.Value.IsNullOrEmpty()).Select(a =&amp;gt; $&quot;{a.Key}&quot;));&#xA;&#xA;                var urlContent = GetUrlContent(assetType, url, joinedAttributes);&#xA;&#xA;                if (string.IsNullOrEmpty(urlContent)) continue;&#xA;&#xA;                var urlInclude = new PlainInclude&#xA;                {&#xA;                    SortOrder = num,&#xA;                    Name = plainIncludeItem.Name,&#xA;                    Type = assetType,&#xA;                    Content = urlContent&#xA;                };&#xA;                assetsList.Add(urlInclude);&#xA;&#xA;                var isFallbackEnabled = MainUtil.GetBool(plainIncludeItem[Templates.PlainInclude.Fields.IsFallbackEnabled], false);&#xA;                var fallbackTest = plainIncludeItem[Templates.PlainInclude.Fields.FallbackTest];&#xA;                if (isFallbackEnabled &amp;amp;&amp;amp; !string.IsNullOrEmpty(fallbackTest))&#xA;                {&#xA;&#xA;                    var tagBuilder = new StringBuilder();&#xA;                    foreach (var script in ProcessAssets(plainIncludeItem, AssetType.Script,&#xA;                        assetConfiguration.ScriptsMode))&#xA;                    {&#xA;                        tagBuilder.Append(script);&#xA;                    }&#xA;&#xA;                    foreach (var link in ProcessAssets(plainIncludeItem, AssetType.Style,&#xA;                        assetConfiguration.StylesMode))&#xA;                    {&#xA;                        tagBuilder.Append(link);&#xA;                    }&#xA;&#xA;                    if (tagBuilder.Length &amp;gt; 0)&#xA;                    {&#xA;                        var fallbackInclude = new PlainInclude&#xA;                        {&#xA;                            SortOrder = num,&#xA;                            Name = plainIncludeItem.Name + &quot;-fallback&quot;,&#xA;                            Type = AssetType.Script,&#xA;                            Content = &quot;&amp;lt;script&amp;gt;{0} || document.write('{1}')&amp;lt;/script&amp;gt;&quot;.FormatWith(fallbackTest,&#xA;                                tagBuilder.ToString())&#xA;                        };&#xA;                        assetsList.Add(fallbackInclude);&#xA;                    }&#xA;                }&#xA;&#xA;                var rawContent = GetRawContent(assetType, plainIncludeItem[Templates.PlainInclude.Fields.RawContent]);&#xA;                if (string.IsNullOrEmpty(rawContent)) continue;&#xA;&#xA;                var rawInclude = new PlainInclude&#xA;                {&#xA;                    SortOrder = num,&#xA;                    Name = plainIncludeItem.Name,&#xA;                    Type = assetType,&#xA;                    Content = rawContent&#xA;                };&#xA;                assetsList.Add(rawInclude);&#xA;            }&#xA;&#xA;            if (assetsList.Any())&#xA;            {&#xA;                args.AssetsList.InsertRange(0, assetsList.ToArray());&#xA;            }&#xA;        }&#xA;&#xA;        private IEnumerable&amp;lt;string&amp;gt; ProcessAssets(Item plainIncludeItem, AssetType assetType, AssetServiceMode serviceMode)&#xA;        {&#xA;            Item[] selectedItems = null;&#xA;            if (assetType == AssetType.Script)&#xA;            {&#xA;                selectedItems = plainIncludeItem.Axes.SelectItems(&quot;./Scripts//*[@Extension='js']&quot;);&#xA;            }&#xA;            else if (assetType == AssetType.Style)&#xA;            {&#xA;                selectedItems = plainIncludeItem.Axes.SelectItems(&quot;./Styles//*[@Extension='css']&quot;);&#xA;            }&#xA;&#xA;            var assets = (selectedItems != null &amp;amp;&amp;amp; selectedItems.Any()) ? new List&amp;lt;Item&amp;gt;(selectedItems) : new List&amp;lt;Item&amp;gt;();&#xA;            var isOptimized = true;&#xA;            switch (serviceMode)&#xA;            {&#xA;                case AssetServiceMode.Disabled:&#xA;                    assets = assets.Where(i =&amp;gt; i.TemplateID != Sitecore.XA.Foundation.Theming.Templates.OptimizedFile.ID).ToList();&#xA;                    isOptimized = false;&#xA;                    break;&#xA;                case AssetServiceMode.Concatenate:&#xA;                case AssetServiceMode.ConcatenateAndMinify:&#xA;                    var optimizedItem = assets.FirstOrDefault(i =&amp;gt; i.TemplateID == Sitecore.XA.Foundation.Theming.Templates.OptimizedFile.ID);&#xA;                    if (optimizedItem != null &amp;amp;&amp;amp; !IsNotEmpty(optimizedItem))&#xA;                    {&#xA;                        assets = new List&amp;lt;Item&amp;gt; { optimizedItem };&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        optimizedItem = new AssetBundler().GetOptimizedItem(plainIncludeItem, (OptimizationType)assetType, serviceMode);&#xA;                        if (optimizedItem != null &amp;amp;&amp;amp; IsNotEmpty(optimizedItem))&#xA;                        {&#xA;                            assets = new List&amp;lt;Item&amp;gt; { optimizedItem };&#xA;                        }&#xA;                        else&#xA;                        {&#xA;                            assets = new List&amp;lt;Item&amp;gt;();&#xA;                        }&#xA;                    }&#xA;                    break;&#xA;            }&#xA;&#xA;            switch (assetType)&#xA;            {&#xA;                case AssetType.Script:&#xA;                    return assets.Select(s =&amp;gt; &quot;&amp;lt;script src=\&quot;{0}\&quot;&amp;gt;\\x3C/script&amp;gt;&quot;.FormatWith(s.BuildAssetPath(isOptimized)));&#xA;                case AssetType.Style:&#xA;                    return&#xA;                        assets.Select(s =&amp;gt; &quot;&amp;lt;link href=\&quot;{0}\&quot; rel=\&quot;stylesheet\&quot; /&amp;gt;&quot;.FormatWith(s.BuildAssetPath(isOptimized)));&#xA;                default:&#xA;                    return new List&amp;lt;string&amp;gt;();&#xA;            }&#xA;&#xA;        }&#xA;&#xA;        private static bool IsNotEmpty(Item optimizedScriptItem)&#xA;        {&#xA;            var mediaStream = ((MediaItem)optimizedScriptItem).GetMediaStream();&#xA;            return mediaStream?.Length &amp;gt; 0L;&#xA;        }&#xA;&#xA;        private static string GetUrlContent(AssetType assetType, string url, string joinedAttributes)&#xA;        {&#xA;            var content = string.Empty;&#xA;            if (assetType == AssetType.Script)&#xA;            {&#xA;                if (!string.IsNullOrEmpty(url))&#xA;                {&#xA;                    content += &quot;&amp;lt;script src=\&quot;{0}\&quot; {1}&amp;gt;&amp;lt;/script&amp;gt;&quot;.FormatWith(url, joinedAttributes);&#xA;                }&#xA;            }&#xA;            else if (assetType == AssetType.Style)&#xA;            {&#xA;                if (!string.IsNullOrEmpty(url))&#xA;                {&#xA;                    content += &quot;&amp;lt;link href=\&quot;{0}\&quot; rel=\&quot;stylesheet\&quot; {1} /&amp;gt;&quot;.FormatWith(url, joinedAttributes);&#xA;                }&#xA;            }&#xA;&#xA;            return content;&#xA;        }&#xA;&#xA;        private static string GetRawContent(AssetType assetType, string rawContent)&#xA;        {&#xA;            var content = string.Empty;&#xA;            switch (assetType)&#xA;            {&#xA;                case AssetType.Script:&#xA;                    if (!string.IsNullOrEmpty(rawContent))&#xA;                    {&#xA;                        content += &quot;&amp;lt;script&amp;gt;{0}&amp;lt;/script&amp;gt;&quot;.FormatWith(rawContent);&#xA;                    }&#xA;                    break;&#xA;                case AssetType.Style:&#xA;                    if (!string.IsNullOrEmpty(rawContent))&#xA;                    {&#xA;                        content += &quot;&amp;lt;style&amp;gt;{0}&amp;lt;/style&amp;gt;&quot;.FormatWith(rawContent);&#xA;                    }&#xA;                    break;&#xA;            }&#xA;&#xA;            return content;&#xA;        }&#xA;&#xA;        private static string GetEnumFieldValue(LookupField field)&#xA;        {&#xA;            var enumItem = field?.TargetItem;&#xA;            return enumItem?.Fields[Sitecore.XA.Foundation.Common.Templates.Enum.Fields.Value].Value;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you get the processor working you can add it like so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;assetService&amp;gt;&#xA;        &amp;lt;processor type=&quot;Westco.XA.Foundation.Theming.Pipelines.AssetService.AddPlainIncludes, Westco.XA.Foundation.Theming&quot; /&amp;gt;&#xA;      &amp;lt;/assetService&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-01-10T19:28:39.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9405" PostTypeId="2" ParentId="9377" CreationDate="2018-01-10T19:29:58.077" Score="3" Body="&lt;p&gt;The issue is with the web.config being greater than 250KB. You can edit the registry but that is not recommended. The better way to do is to move your Sitecore configuration to patch files in the app_config/include folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Himadri's blog points out you should move the  section to a new patch file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure the patch file is the first one to load because if you have any update/add/delete to properties in Sitecore, they will not be applied. Name the file starting with AAAA or something similar directly in the App_config/include folder.&lt;/p&gt;&#xA;" OwnerUserId="1073" LastActivityDate="2018-01-10T19:29:58.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9406" PostTypeId="1" CreationDate="2018-01-10T19:34:01.043" Score="3" ViewCount="124" Body="&lt;p&gt;We are using the Sitecore WFFM version 8.1 Update-2 installed in Sitecore version 8.1 rev 160302. Our CMS site session state is configured to use &quot;StateServer&quot;. We are using the SqlDataProvider to store the form submission data, and were able to write the data to the WFFM SQL Database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in the CMS, when we are trying to view the WFFM Reports, we see the below error related to session state. It seems if the &quot;SessionState&quot; of the CMS site is set to value other than &quot;InProc&quot;, I see this error. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;7372 14:54:47 ERROR Application error.&#xA;  Exception: System.Web.HttpException&#xA;  Message: Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.&#xA;  Source: System.Web&#xA;     at System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer)&#xA;     at System.Web.SessionState.SessionStateItemCollection.WriteValueToStreamWithAssert(Object value, BinaryWriter writer)&#xA;     at System.Web.SessionState.SessionStateItemCollection.Serialize(BinaryWriter writer)&#xA;     at System.Web.SessionState.SessionStateUtility.Serialize(SessionStateStoreData item, Stream stream)&#xA;     at System.Web.SessionState.SessionStateUtility.SerializeStoreData(SessionStateStoreData item, Int32 initialStreamSize, Byte[]&amp;amp; buf, Int32&amp;amp; length, Boolean compressionEnabled)&#xA;     at System.Web.SessionState.OutOfProcSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem)&#xA;     at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)&#xA;     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Runtime.Serialization.SerializationException&#xA;  Message: Type 'Sitecore.WFFM.Abstractions.Wrappers.UI.ClientPageWrapper' in Assembly 'Sitecore.WFFM.Abstractions, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.&#xA;  Source: mscorlib&#xA;     at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)&#xA;     at System.Collections.Concurrent.ConcurrentDictionary&lt;code&gt;2.GetOrAdd(TKey key, Func&lt;/code&gt;2 valueFactory)&#xA;     at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)&#xA;     at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()&#xA;     at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)&#xA;     at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)&#xA;     at System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does the WFFM Reporting module in CM works only if the session state is set to &quot;InProc&quot;? &lt;/p&gt;&#xA;" OwnerUserId="58" LastEditorUserId="2727" LastEditDate="2018-01-12T07:58:14.417" LastActivityDate="2018-01-12T07:58:14.417" Title="Does WFFM Reporting in CMS works only with InProc Session State?" Tags="|wffm|session-state|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9407" PostTypeId="2" ParentId="9403" CreationDate="2018-01-10T20:10:48.533" Score="0" Body="&lt;p&gt;Assuming that you want to store your script in your Sitecore instance, you could upload a script inside your theme.  It will be included automatically.  If you need it page-based, you can use the Page's Body Css Class (or ID) to only apply it to that page.  If you really must use an external file like from a CDN, you could always just &lt;a href=&quot;https://stackoverflow.com/questions/2145914/including-a-js-file-within-a-js-file&quot;&gt;update the DOM in your custom JS file similar to this&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-10T20:10:48.533" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9408" PostTypeId="1" AcceptedAnswerId="9409" CreationDate="2018-01-10T22:05:34.373" Score="1" ViewCount="1607" Body="&lt;p&gt;With Sitecore 8.2 MVC, what is the best way to intercept query string parameters from external sources site wide?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, another site will link into our Sitecore site with a URL that may contain several query string parameters.  We intercept and interpret these query string parameters to determine where to route them within the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This behavior needs to happen no matter what initial page within the site is requested.&lt;/p&gt;&#xA;" OwnerUserId="2725" LastEditorUserId="1000" LastEditDate="2018-01-10T22:48:06.233" LastActivityDate="2018-01-10T22:48:06.233" Title="Handling query strings from external sources" Tags="|mvc|pipelines|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9409" PostTypeId="2" ParentId="9408" CreationDate="2018-01-10T22:28:26.693" Score="1" Body="&lt;p&gt;You could probably place logic to handle this in a custom pipeline that runs before it resolves the item, which can parse the values of the Querystring and redirect to the appropriate page.  An example of what I mean is below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;pipelines&amp;gt;&#xA;         &amp;lt;httpRequestBegin&amp;gt;&#xA;            &amp;lt;processor patch:before=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; type=&quot;Example.Components.Pipelines.ProcessPathResolver, Example.Components&quot; /&amp;gt;&#xA;         &amp;lt;/httpRequestBegin&amp;gt;&#xA;      &amp;lt;/pipelines&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in your &lt;code&gt;ProcessPathResolver&lt;/code&gt; you could have code like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Example.Components.Pipelines&#xA;{&#xA;    public class ProcessPathResolver : HttpRequestProcessor&#xA;    {&#xA;        public override void Process(HttpRequestArgs args)&#xA;        {&#xA;            if (Sitecore.Context.Site.Name.ToLowerInvariant() == &quot;shell&quot; || args.Url.FilePath.Trim('/').ToLower().StartsWith(&quot;sitecore&quot;))&#xA;                return;&#xA;&#xA;            string requestUrl = args.Url.ItemPath;&#xA;            string localPath = args.LocalPath;&#xA;            var queryString = args.Context.Request.QueryString;&#xA;&#xA;            // Process the querystring parameters and redirect the user to the correct path&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This new resolver would run before your items are resolved in the ItemResolver, and redirect to the correct page.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2018-01-10T22:46:50.363" LastActivityDate="2018-01-10T22:46:50.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9410" PostTypeId="1" CreationDate="2018-01-11T04:34:21.090" Score="2" ViewCount="310" Body="&lt;p&gt;In our Sitecore SXA solution, searching for pdf files is failing.&#xA;In our case, the files are stored under a separate media folder which is under the actual site node.&#xA;We have installed the pdf IFilter as per steps in this link but still no luck.&#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/5/t/1834&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/5/t/1834&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clue as to why its failing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, have seen this computed field &quot;sxacontent&quot; for sxa search.&#xA;What does this field actually contain? What fields are included in this computed field?&lt;/p&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="2727" LastEditDate="2018-01-12T09:01:37.907" LastActivityDate="2018-01-12T09:01:37.907" Title="SXA pdf files search issue" Tags="|content-search|sxa|computed-field|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9411" PostTypeId="2" ParentId="8107" CreationDate="2018-01-11T04:42:12.073" Score="12" Body="&lt;p&gt;@&lt;a href=&quot;https://sitecore.stackexchange.com/users/1000/dylan-young&quot;&gt;Dylan Young&lt;/a&gt;, did you solved the uninstall problem ? &lt;/p&gt;&#xA;&#xA;&lt;strong&gt;Manual way&lt;/strong&gt; to uninstall an instance of Siteocre 9 involves few steps, but it is not that bad. Assuming that your installation instance is prefixed with &lt;code&gt;xp0Demo&lt;/code&gt; then:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;    &lt;li&gt;Remove the two xConnect windows services (with &lt;code&gt;sc.exe delete [servicename]&lt;/code&gt; in poweshell as administrator or in cmd.exe as administrator too)&#xA;&lt;ul&gt;&#xA;    &lt;li&gt;&lt;code&gt;xp0Demo.xconnect-MarketingAutomationService&lt;/code&gt;&lt;/li&gt;&#xA;    &lt;li&gt;&lt;code&gt;xp0Demo.xconnect-IndexWorker&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;    &lt;li&gt;Remove the Sitecore and xConnect website and application pools from IIS&lt;/li&gt;&#xA;    &lt;li&gt;Remove the Sitecore and xConnect webroots&lt;/li&gt;&#xA;    &lt;li&gt;Remove the databases from SQL Server prefixed with &lt;code&gt;xp0Demo&lt;/code&gt;&lt;/li&gt;&#xA;    &lt;li&gt;Stop the Sorl service and remove the indexes prefiex with &lt;code&gt;xp0Demo&lt;/code&gt; from folder &lt;code&gt;c:\solr\solr-6.6.2\server\solr\&lt;/code&gt;&lt;/li&gt;&#xA;    &lt;li&gt;Hosts entries that are prefixed with &lt;code&gt;xp0Demo&lt;/code&gt; should be removed too&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Also I've tested the procedure on a Sitecore 9 update 1 and its exactly the same, not changes required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In here &lt;a href=&quot;https://xtremdev.wordpress.com/2018/01/09/sitecore-9-uninstall-my-take/&quot; rel=&quot;noreferrer&quot;&gt;https://xtremdev.wordpress.com/2018/01/09/sitecore-9-uninstall-my-take/&lt;/a&gt; you can see all details about uninstall of Sitecore 9, in a post that I've wrote, including details for SIF-less uninstall. &lt;/p&gt;&#xA;" OwnerUserId="447" LastActivityDate="2018-01-11T04:42:12.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9412" PostTypeId="1" CreationDate="2018-01-11T05:32:57.063" Score="4" ViewCount="432" Body="&lt;p&gt;Hey guys anyone got the xProfile working properly on SC 9?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have data on analytics, I'm identifying the contact with &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.IdentifyAs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using fiddler, I can see when I abandon the session the xConnect is called to record the interactions. I even see the identifier with the user I identified. Everything looks correct but yet when I open xProfile, I get no error whatsoever (client console or SC log).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update (1)&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also if I use a console app and get the contact using the code below I get all interations / goals of that user as expected&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contact = client.Get(contactReference, new ContactExpandOptions()&#xA;{&#xA;    FacetKeys = { PersonalInformation.DefaultFacetKey },&#xA;    Interactions = new RelatedInteractionsExpandOptions()&#xA;    {&#xA;        StartDateTime = DateTime.MinValue,&#xA;        EndDateTime = DateTime.MaxValue,&#xA;        Limit = int.MaxValue&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update (2)&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, there is no data on my solr core &lt;code&gt;SITENAME_xdb&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solved --&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue was that I renamed the database changed the connection strings but the connection strings are also stored in the database (don't really like this) so have a look at &lt;code&gt;ShardMapManager.ShardsGlobal&lt;/code&gt; table.&lt;/p&gt;&#xA;" OwnerUserId="2952" LastEditorUserId="605" LastEditDate="2018-01-11T20:30:31.933" LastActivityDate="2018-01-11T20:30:31.933" Title="Sitecore 9 xProfile no data" Tags="|experience-profile|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9413" PostTypeId="1" AcceptedAnswerId="9415" CreationDate="2018-01-11T05:46:25.273" Score="5" ViewCount="3071" Body="&lt;p&gt;I installed the vanilla Sitecore 9.0 version from Marketplace on Azure PaaS&#xA;with XP and extra small configuration and select the option self signed certificate for xConnect client certificate, but when I browse my xConnect web apps, I am getting 403 error however my web apps is running in the backend.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JGsIY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JGsIY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="312" LastEditDate="2018-01-11T14:55:57.840" LastActivityDate="2018-10-09T20:15:30.833" Title="xConnect WebApps on Azure PaaS not working" Tags="|azure|xconnect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9414" PostTypeId="1" CreationDate="2018-01-11T05:51:31.513" Score="10" ViewCount="2550" Body="&lt;p&gt;We are currently trying to upgrade our Sitecore 8.1 Environment to Sitecore 9. We are also doing this implementation to Sitecore 9 PaaS and succesfully had several components work, however we are having some challenges on how we can use SOLR in the Azure WebApp. Kindly enlighten us on how we can properly configure the Sitecore 9 hosted on Azure Web App with SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="73" LastEditDate="2018-01-14T11:16:22.000" LastActivityDate="2019-07-31T17:57:05.117" Title="How to configure Solr for Sitecore PaaS setup" Tags="|solr|azure|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9415" PostTypeId="2" ParentId="9413" CreationDate="2018-01-11T05:57:47.670" Score="12" Body="&lt;p&gt;This issue happens because it is impossible to add self created certificate to the trusted list of Authorities in Azure as it is global thing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for developers environment, we should be able to use self signed certificates instead of purchasing real ones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For certificates purchased from trusted vendors will not be an issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to add a parameter &lt;strong&gt;AllowInvalidClientCertificates=true&lt;/strong&gt; for every connection string which contains certificate &lt;/p&gt;&#xA;&#xA;&lt;p&gt;you will have something like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;xconnect.collection.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue=AAAAAA34364908AB8A72CBED502FEDC9DDB5A2;AllowInvalidClientCertificates=true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to have it in 4 places : &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;xconnect.collection.certificate&lt;/li&gt;&#xA;&lt;li&gt;xdb.referencedata.client.certificate&lt;/li&gt;&#xA;&lt;li&gt;xdb.marketingautomation.reporting.client.certificate&lt;/li&gt;&#xA;&lt;li&gt;xdb.marketingautomation.operations.client.certificate &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In the interest of saving people time, when deploying the xP1 topology in Azure PaaS, you will need to update the connection strings for the following 5 roles:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Content Delivery (cd)&lt;/li&gt;&#xA;&lt;li&gt;Content Management (cm)&lt;/li&gt;&#xA;&lt;li&gt;Processing (prc)&lt;/li&gt;&#xA;&lt;li&gt;Marketing Automation - Operations (ma-ops)&lt;/li&gt;&#xA;&lt;li&gt;Dedicated Delivery Service (exm-dds)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastEditorUserId="246" LastEditDate="2018-01-22T19:24:27.727" LastActivityDate="2018-01-22T19:24:27.727" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9416" PostTypeId="1" CreationDate="2018-01-11T06:58:38.430" Score="10" ViewCount="836" Body="&lt;p&gt;I'm trying to implement personalization with the contact custom facet in xDB pulled using xConnect. Here I'm using ICondition as mentioned in the &lt;a href=&quot;https://doc.sitecore.net/developers/xp/segmentation/create-a-custom-predicate.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore doc link&lt;/a&gt;. After implementing everything, It's not hitting my Evaluate method and throwing the below exception in logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;ERROR Type &lt;em&gt;AssemblyName.FolderName.ClassName&lt;/em&gt; not found in assembly&#xA;  &lt;em&gt;Assembly Name&lt;/em&gt;&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Not sure if I am missing anything. Please suggest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding the code snippet and rule for more information&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1Mzpo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Mzpo.png&quot; alt=&quot;Code Snippet&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rule under sitecore content tree&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aEf93.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aEf93.png&quot; alt=&quot;Sitecore Content Tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rendering Personalization &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8RYKy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8RYKy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2473" LastEditorUserId="2727" LastEditDate="2018-01-12T06:49:45.567" LastActivityDate="2021-05-18T12:41:08.980" Title="Contact custom facet personalization using xConnect" Tags="|personalization|xconnect|" AnswerCount="4" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9417" PostTypeId="2" ParentId="9412" CreationDate="2018-01-11T07:40:45.320" Score="4" Body="&lt;p&gt;Fixed it &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue was that I renamed the database changed the connection strings but the connection strings are also stored in the database (don't really like this) so have a look at ShardMapManager.ShardsGlobal table :)&lt;/p&gt;&#xA;" OwnerUserId="2952" LastActivityDate="2018-01-11T07:40:45.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9418" PostTypeId="2" ParentId="9395" CreationDate="2018-01-11T08:55:09.783" Score="0" Body="&lt;p&gt;A while back I had a similar issue, however, in my case it was due to the Base URL field configured in EXM being incorrect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See more info here :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/35/setting_up_exm/the_manager_root/the_manager_root_settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/35/setting_up_exm/the_manager_root/the_manager_root_settings&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/35/setting_up_exm/the_exm_default_settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/35/setting_up_exm/the_exm_default_settings&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2737" LastActivityDate="2018-01-11T08:55:09.783" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9419" PostTypeId="1" CreationDate="2018-01-11T09:06:26.747" Score="5" ViewCount="5551" Body="&lt;p&gt;I am trying to install Sitecore 9 on Windows Server 2012 R2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There were some issues while executing Sitecore 9 installation script using SIF related to create self signed certificate for xConnect. &#xA;Issues can be tracked in my previous question &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8785/exception-while-executing-sitecore-9-powershell-script-on-windows-server-2012-r2&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thus I decided to create this certificate using separate powershell script.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#install client certificate for xconnect &#xA;$Path = &quot;c:\\certificates&quot;&#xA;$XConnectCertName = &quot;$prefix.xconnect_client&quot;&#xA;$Signer = Invoke-GetCertificateConfigFunction -Id 'DO_NOT_TRUST_SitecoreRootCert' -CertStorePath Cert:\LocalMachine\Root -Verbose&#xA;$Signer.GetType()&#xA;$DnsName = &quot;$prefix.xconnect_client&quot;&#xA;$CertStoreLocation = 'Cert:\LocalMachine\My'&#xA;$signedCertificate = New-SelfSignedCertificate -CloneCert $Signer -DnsName $DnsName -CertStoreLocation $CertStoreLocation -Verbose&#xA;if ($null -eq $signedCertificate) {&#xA;&#xA;throw &quot;Failed to create signed certificate for '$DnsName' in $CertStoreLocation&quot;&#xA;}&#xA;Write-Host &quot;Created signed certificate $signedCertificate&quot;&#xA;&#xA;&#xA;Write-Host &quot;Export new certificate public key as a CRT file&quot;&#xA;$exportFilePath = Join-Path -Path $Path -ChildPath &quot;$XConnectCertName.crt&quot;&#xA;$exportPFXFilePath = Join-Path -Path $Path -ChildPath &quot;$XConnectCertName.pfx&quot;&#xA;&#xA;&#xA;$pwd2 = ConvertTo-SecureString -String &quot;123456&quot; -Force -AsPlainText&#xA;Export-PfxCertificate -cert $signedCertificate -FilePath $exportPFXFilePath -Password $pwd2&#xA;&#xA;&#xA;$certificateInfo = Export-Certificate -Cert $signedCertificate -FilePath $exportFilePath -Force&#xA;&#xA;Write-Information -MessageData &quot;Exported signed certificate to $exportFilePath&quot;&#xA;&#xA;&#xA;Import-PfxCertificate -FilePath $exportPFXFilePath -CertStoreLocation Cert:\LocalMachine\Root -Password $pwd2 -Exportable &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After creating self signed certificate for xConnect, I executed the Sitecore installation script.&#xA;There is much progress in the installation this time but at the end, I got another exception..&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-SitecoreConfiguration : Unable to parse&#xA;  [ResolveCertificatePath(variable('Security.XConnect.CertificatePath'))]&#xA;  - Exception &#xA;      calling &quot;InvokeWithContext&quot; with &quot;2&quot; argument(s): &quot;The running command stopped because the preference variable &#xA;      &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Certificate &#xA;      Cert:\Localmachine\My\5C6D03D9B5519EC698E50F58B4F9C8DF2E3729FA does not contain Private Key. Ensure that it has been exported with &#xA;      the Private Key.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I already gone through some resolutions mentioned &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8770/issues-with-xconnect-certificate-does-not-contain-private-key&quot;&gt;here&lt;/a&gt; which is for Windows Server 2016, but this also didn't resolve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried executing xconnect-createcert.json to create certificate mentioned in the answer.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration -Path C:\sitecore\install\xconnect-createcert.json&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it also doesn't resolve the issue and i am getting same exception at &lt;code&gt;SetCertStorePermissions : FilePermissions&lt;/code&gt; step.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2890" LastEditDate="2018-02-14T14:36:06.367" LastActivityDate="2018-04-09T11:51:06.360" Title="Certificate does not contain Private Key exception while executing Sitecore 9 installation script on Windows 2012 R2" Tags="|sitecore-install-framework|powershell|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9420" PostTypeId="5" CreationDate="2018-01-11T15:12:23.957" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-01-11T15:12:23.957" LastActivityDate="2018-01-11T15:12:23.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9421" PostTypeId="4" CreationDate="2018-01-11T15:12:23.957" Score="0" Body="Questions related to Content Migration. Migration can be Sitecore to Sitecore, Third party systems to Sitecore or Sitecore to third parties." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-01-11T16:23:27.237" LastActivityDate="2018-01-11T16:23:27.237" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9422" PostTypeId="5" CreationDate="2018-01-11T15:13:46.287" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-01-11T15:13:46.287" LastActivityDate="2018-01-11T15:13:46.287" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9423" PostTypeId="4" CreationDate="2018-01-11T15:13:46.287" Score="0" Body="Commerce Server is a software product for building multichannel e-commerce applications and systems using .NET Framework technology. Any questions related to Commerce-server should use this tag." OwnerUserId="1671" LastEditorUserId="2727" LastEditDate="2019-01-09T12:42:11.973" LastActivityDate="2019-01-09T12:42:11.973" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9424" PostTypeId="2" ParentId="408" CreationDate="2018-01-11T15:18:31.073" Score="2" Body="&lt;p&gt;For the record:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Express Migration Tool now Supports 6.6, so it's an manual Upgrade to 6.6 and than straight to up-to-date for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It also supports 7.5 now (which the old one didn't), however only if you go to 9.0.&lt;/p&gt;&#xA;" OwnerUserId="2126" LastActivityDate="2018-01-11T15:18:31.073" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9425" PostTypeId="1" AcceptedAnswerId="9474" CreationDate="2018-01-11T15:22:29.607" Score="2" ViewCount="1051" Body="&lt;p&gt;In the &lt;a href=&quot;https://elearning.sitecore.net/Public/ContentDetails.aspx?id=9925D47D5E594EC7AC2E2FA2DB5B18DE&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore® Experience Solution Developer Course&lt;/a&gt; you learn to set up a Visual Studio solution for Sitecore 8 by doing the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new &lt;strong&gt;ASP.NET Web Application&lt;/strong&gt; using the &lt;strong&gt;Empty ASP.NET 4.5.2 Template&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Copy the &lt;strong&gt;Global.asax&lt;/strong&gt;, &lt;strong&gt;Web.config&lt;/strong&gt;, &lt;strong&gt;Views\Web.config&lt;/strong&gt; files from the Sitecore Website folder into your Visual Studio project folder.&lt;/li&gt;&#xA;&lt;li&gt;Add the assemblies &lt;strong&gt;Sitecore.Kernel.dll&lt;/strong&gt;, &lt;strong&gt;Sitecore.MVC.Analytics.dll&lt;/strong&gt;, and &lt;strong&gt;Sitecore.MVC.dll&lt;/strong&gt; to your Visual Studio project.&lt;/li&gt;&#xA;&lt;li&gt;Create a folder named &lt;strong&gt;App_Config&lt;/strong&gt; in your Visual Studio project.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Optionally, you navigate to the &lt;strong&gt;Global.asax&lt;/strong&gt; file and investigate the error list. If you notice that there are warnings, you can install the following NuGet packages with their depending packages.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Microsoft.ASPNET.WebApi&lt;/li&gt;&#xA;&lt;li&gt;Microsoft.ASPNET.WebApi.Cors&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These steps were not enough to fix the warnings in the &lt;strong&gt;Global.asax&lt;/strong&gt; file. I had to install the following NuGet packages  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Microsoft.AspNet.Mvc&lt;/li&gt;&#xA;&lt;li&gt;Microsoft.AspNet.WebPages&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Recently, I followed these steps when setting up a Visual Studio solution for &lt;strong&gt;Sitecore 9.0 (Initial Release)&lt;/strong&gt; and it worked fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I am trying to do the same with &lt;strong&gt;Sitecore 9.0 Update-1&lt;/strong&gt;, but I still get warnings from the Global.asax.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first warning was:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ASP.NET runtime error: The pre-application start initialization method Start on type WebMatrix.WebData.PreApplicationStartCode threw an exception with the following error message: Unable to open configSource file 'App_Config\Sitecore.config'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;After adding the &lt;strong&gt;App_Config\Sitecore.config&lt;/strong&gt; file to the Visual Studio project, it complained about more missing config files. After adding them, it started showing the following warning:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ASP.NET runtime error: The pre-application start initialization method&#xA;  Start on type WebMatrix.WebData.PreApplicationStartCode threw an&#xA;  exception with the following error message: Could not load file or&#xA;  assembly 'Microsoft.Extensions.DependencyInjection, Version=1.0.0.0,&#xA;  Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its&#xA;  dependencies. The system cannot find the file specified.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I installed the &lt;strong&gt;Microsoft.Extensions.DependencyInjection&lt;/strong&gt; NuGet package. After that, it started giving me the following warning.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ASP.NET runtime error: The pre-application start initialization method&#xA;  Start on type WebMatrix.WebData.PreApplicationStartCode threw an&#xA;  exception with the following error message: Could not load file or&#xA;  assembly 'netstandard, Version=2.0.0.0, Culture=neutral,&#xA;  PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The&#xA;  system cannot find the file specified.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I tried to fix it by installing the &lt;strong&gt;NETStandard.Library&lt;/strong&gt; NuGet package, but it didn't fix it. I ended up with a Visual Studio solution like that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zm1po.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zm1po.png&quot; alt=&quot;How my Visual Studio solution looked like afterwards&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have you guys managed to fix these warnings or do you advise me simply ignoring them?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: I am setting up a Visual Studio solution using &lt;strong&gt;.NET Framework 4.7&lt;/strong&gt; and an &lt;strong&gt;Empty ASP.NET Web Application (.NET Framework)&lt;/strong&gt; template. I am using Visual Studio 2017.&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-01-11T15:41:04.857" LastActivityDate="2018-01-13T20:12:24.230" Title="How to fix the Global.asax warnings in a Sitecore 9 (Update-1) Visual Studio solution?" Tags="|visual-studio|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9426" PostTypeId="1" AcceptedAnswerId="9482" CreationDate="2018-01-11T15:44:05.887" Score="3" ViewCount="821" Body="&lt;p&gt;We send emails to some people outside of our organizations and there is a button (link) so they can click and that triggers a campaign. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the link is sent by email, the href value is replaced by another value (i.e. protection.outlook.com/?url=...). So protection.outlook.com hits the page to make sure there is no security issue and then will redirect the user to the actual page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is that the campaign is triggered twice (one by outlook hitting the page and one by the actual hit to the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not even sure if this can be fixed but is there anything that can be done to fix this issue?&lt;/p&gt;&#xA;" OwnerUserId="3079" LastEditorUserId="3079" LastEditDate="2018-01-11T16:08:40.273" LastActivityDate="2018-01-15T07:55:39.867" Title="Link in emails trigger campaigns twice" Tags="|campaigncreator|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9428" PostTypeId="1" AcceptedAnswerId="9439" CreationDate="2018-01-11T16:22:45.453" Score="5" ViewCount="267" Body="&lt;p&gt;We are on Sitecore ExM 3.5.1 on Sitecore 8.2 Update 6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are in the process of setting up our production environment. We want the &lt;em&gt;Send From&lt;/em&gt; email address to be domain specific.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;noreply@domain1.com&#xA;noreply@domain2.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore Email Cloud. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do we configure different &lt;em&gt;Send From&lt;/em&gt; Email IDs per domain?&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="1470" LastEditDate="2018-01-11T22:37:29.800" LastActivityDate="2018-01-12T09:13:33.600" Title="How to configure Sitecore EXM to facilitate domain specific Send From Email IDs" Tags="|exm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9429" PostTypeId="1" AcceptedAnswerId="9437" CreationDate="2018-01-11T16:56:26.157" Score="10" ViewCount="807" Body="&lt;p&gt;Using the updated Sitecore Azure Toolkit 2.0.1 rev. 171218, which has resources for 9.0.1, I'm hitting an error on the xc-collect\MSDeploy stage where it's attempting to apply the default sql user password of 12345 which is against Azure's password policy. When running for 9.0.0 a random generated password is created for each of these sql user accounts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using the new WDP packages for 9.0.1 however the ARM templates are still 9.0.0 as I don't see an updated version on github (&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&quot; rel=&quot;noreferrer&quot;&gt;Sitecore-Azure-Quickstart-Templates&lt;/a&gt;). Should I be attempting to modify the WDP packages or is anyone aware of a new ARM template available for 9.0.1 to be able to deploy to Azure PaaS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Full Error from Azure&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;code&quot;:&quot;DeploymentFailed&quot;,&quot;message&quot;:&quot;At least one resource deployment&#xA;  operation failed. Please list deployment operations for details.&#xA;  Please see &lt;a href=&quot;https://aka.ms/arm-debug&quot; rel=&quot;noreferrer&quot;&gt;https://aka.ms/arm-debug&lt;/a&gt; for usage&#xA;  details.&quot;,&quot;details&quot;:[{&quot;code&quot;:&quot;Conflict&quot;,&quot;message&quot;:&quot;{\r\n \&quot;status\&quot;:&#xA;  \&quot;failed\&quot;,\r\n \&quot;error\&quot;: {\r\n \&quot;code\&quot;:&#xA;  \&quot;ResourceDeploymentFailure\&quot;,\r\n \&quot;message\&quot;: \&quot;The resource&#xA;  operation completed with terminal provisioning state 'failed'.\&quot;,\r\n&#xA;  \&quot;details\&quot;: [\r\n {\r\n \&quot;code\&quot;: \&quot;Failed\&quot;,\r\n \&quot;message\&quot;:&#xA;  \&quot;Package deployment failed\r\nAppGallery Deploy Failed:&#xA;  'Microsoft.Web.Deployment.DeploymentDetailedClientServerException: An&#xA;  error occurred during execution of the database script. The error&#xA;  occurred between the following lines of the script: \\&quot;1\\&quot; and&#xA;  \\&quot;3\\&quot;. The verbose log might have more information about the&#xA;  error. The command started with the following:\r\n\\&quot;CREATE USER&#xA;  [messaginguser] WITH PASSWORD = '12345\\&quot;\r\n Password validation&#xA;  failed. The password does not meet policy requirements because it is&#xA;  too short. &lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=178587&quot; rel=&quot;noreferrer&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=178587&lt;/a&gt; Learn more&#xA;  at:&#xA;  &lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE&quot; rel=&quot;noreferrer&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE&lt;/a&gt;.&#xA;  ---&amp;gt; System.Data.SqlClient.SqlException: Password validation failed. The password does not meet policy requirements because it is&#xA;  too short.\r\n at&#xA;  System.Data.SqlClient.SqlConnection.OnError(SqlException exception,&#xA;  Boolean breakConnection, Action&lt;code&gt;1 wrapCloseInAction)\\r\\n at&#xA;  System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject&#xA;  stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\\r\\n&#xA;  at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior,&#xA;  SqlCommand cmdHandler, SqlDataReader dataStream,&#xA;  BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject&#xA;  stateObj, Boolean&amp;amp;amp; dataReady)\\r\\n at&#xA;  System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String&#xA;  methodName, Boolean async, Int32 timeout, Boolean asyncWrite)\\r\\n at&#xA;  System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource&lt;/code&gt;1&#xA;  completion, String methodName, Boolean sendToPipe, Int32 timeout,&#xA;  Boolean&amp;amp; usedCache, Boolean asyncWrite, Boolean inRetry)\r\n at&#xA;  System.Data.SqlClient.SqlCommand.ExecuteNonQuery()\r\n at&#xA;  Microsoft.Web.Deployment.DBStatementInfo.Execute(DbConnection&#xA;  connection, DbTransaction transaction, DeploymentBaseContext&#xA;  baseContext, Int32 timeout)\r\n --- End of inner exception stack&#xA;  trace ---\r\n at&#xA;  Microsoft.Web.Deployment.DBStatementInfo.Execute(DbConnection&#xA;  connection, DbTransaction transaction, DeploymentBaseContext&#xA;  baseContext, Int32 timeout)\r\n at&#xA;  Microsoft.Web.Deployment.DBConnectionWrapper.ExecuteSql(DBStatementInfo&#xA;  sqlStatement, DeploymentBaseContext baseContext, Int32 timeout)\r\n&#xA;  at&#xA;  Microsoft.Web.Deployment.SqlScriptToDBProvider.AddHelper(DeploymentObject&#xA;  source, Boolean whatIf)\r\n at&#xA;  Microsoft.Web.Deployment.DeploymentObject.AddChild(DeploymentObject&#xA;  source, Int32 position, DeploymentSyncContext syncContext)\r\n at&#xA;  Microsoft.Web.Deployment.DeploymentSyncContext.HandleAddChild(DeploymentObject&#xA;  destParent, DeploymentObject sourceObject, Int32 position)\r\n at&#xA;  Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject&#xA;  dest, DeploymentObject source)\r\n at&#xA;  Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject&#xA;  dest, DeploymentObject source)\r\n at&#xA;  Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject&#xA;  destinationObject, DeploymentObject sourceObject)\r\n at&#xA;  Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject&#xA;  destObject, DeploymentSyncOptions syncOptions, PayloadTable&#xA;  payloadTable, ContentRootTable contentRootTable, Nullable`1&#xA;  syncPassId, String syncSessionId)\r\n at&#xA;  Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions&#xA;  providerOptions, DeploymentBaseOptions baseOptions,&#xA;  DeploymentSyncOptions syncOptions)\r\n at&#xA;  Microsoft.Web.Deployment.WebApi.AppGalleryPackage.Deploy(String&#xA;  deploymentSite, String siteSlotId, Boolean doNotDelete)\r\n at&#xA;  Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;lt;DownloadAndDeployPackage&amp;gt;d__17.MoveNext()'\&quot;\r\n&#xA;  }\r\n ]\r\n }\r\n}&quot;}]}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1270" LastEditorUserId="73" LastEditDate="2018-01-13T20:18:14.833" LastActivityDate="2018-01-16T11:19:24.253" Title="SQL user creation is setting password of 12345, fails deployment" Tags="|security|azure|paas|azure-resource-manager|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9431" PostTypeId="1" AcceptedAnswerId="9458" CreationDate="2018-01-11T18:40:01.827" Score="3" ViewCount="859" Body="&lt;p&gt;I'm on Sitecore 8.2 update 3 with Email Experience Manager 3.4.2 rev. 170713. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have CM and Dedicated Email Delivery server. Both of them are used by EXM to process email campaigns. Processing a single email campaign usually takes several (maybe 10) hours.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CM server only processes a small percentage of the messages. The reason for that is that we don't want to make content authors' lives any harder when the email campaigns are processed. So the &lt;code&gt;Sleep&lt;/code&gt; parameter of the &lt;code&gt;SendEmail&lt;/code&gt; EXM pipeline is set on CM server to a high value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There was an email campaign in progress when IIS app pool on CM server was recycled (automatic recycle every N minutes). My EXM campaign state was change to &lt;code&gt;PAUSED&lt;/code&gt;. Dedicated Email Delivery server was still processing the campaign and I can see that 100% of the emails were sent. But the campaign is still in the &lt;code&gt;PAUSED&lt;/code&gt; state. Its state was never changed to &lt;code&gt;FINISHED&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only options I was able to think of are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set the app pool to never recycle automatically - but there are people who believe it's not good for the application health.&lt;/li&gt;&#xA;&lt;li&gt;Add a button on CM and on DED server to allow marketers to recycle app pool before they start a campaign - but I think it's really really bad and I don't want to do this.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I asked this question on &lt;a href=&quot;https://sitecorechat.slack.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorechat.slack.com&lt;/a&gt; and Pete Navarra sugested to &lt;code&gt;create a task that runs to check for paused dispatches and restart them.&lt;/code&gt;&#xA;I think this could do the trick, but:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I feel like it's a workaround not a fix for the problem.&lt;/li&gt;&#xA;&lt;li&gt;It assumes that there will be something which will start the CM server after the app pool is recycled.&lt;/li&gt;&#xA;&lt;li&gt;What if marketers pause a campaign on purpose? The task will start it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Anyone can think of a better solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-01-12T16:44:31.153" Title="EXM campaign state change to PAUSED because of CM server IIS pool automatic recycle" Tags="|exm|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9432" PostTypeId="1" CreationDate="2018-01-11T18:50:15.500" Score="0" ViewCount="195" Body="&lt;p&gt;In Sitecore 7.2, I am  using the Item Web API to retrieve an item. The thing is, I get some fields as empty, and when I look in the content tree they are not empty, specifically an image type. Any ideas why?&lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="1671" LastEditDate="2018-04-20T18:17:19.587" LastActivityDate="2018-10-17T22:00:36.047" Title="Item Web API returning field with empty string" Tags="|item-web-api|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9433" PostTypeId="2" ParentId="9419" CreationDate="2018-01-11T20:13:52.600" Score="0" Body="&lt;p&gt;The SSLCert variable should be the IIS site URL.  That actually gets created and assigned in IIS for the 443 binding.  The XConnectCert var is the name of the XConnect certificate that you want to update.  Don't use the thumbprint but the cert name like $prefix.xconnect_client.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-11T20:13:52.600" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9434" PostTypeId="2" ParentId="9429" CreationDate="2018-01-11T21:06:05.130" Score="0" Body="&lt;p&gt;If you don't pass in a Sql password to the ARM template it will fallback to the (unsafe) defaults in the MsDeploy package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try setting the &lt;code&gt;sqlServerPassword&lt;/code&gt; parameter when calling the PowerShell script to deploy your instance. In their example they have a &lt;code&gt;$additionalParams&lt;/code&gt; property that creates an object to pass to the ARM template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example usage:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$additionalParams.sqlServerPassword = &quot;Super_Secure_password&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/WFFM%209.0.0/XP&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; they have some additional information on what parameters you can pass to the template.&lt;/p&gt;&#xA;" OwnerUserId="2356" LastEditorUserId="2727" LastEditDate="2018-01-15T10:09:35.343" LastActivityDate="2018-01-15T10:09:35.343" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9435" PostTypeId="1" CreationDate="2018-01-11T21:24:32.473" Score="0" ViewCount="2532" Body="&lt;p&gt;Since we have our Templates =&gt; __Standard Values =&gt; Presentation =&gt; Detail =&gt; Layout Details pointing to Visual Studio MVC /Views/Shared/_Layout.cshtml, and this Layout already defines the Placeholders:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;body class=&quot;...&quot;&amp;gt;  &#xA;@Html.Sitecore().Placeholder(&quot;header&quot;)  &#xA;@Html.Sitecore().Placeholder(&quot;menu&quot;)  &#xA;&#xA;        &amp;lt;main class=&quot;main-content&quot;&amp;gt;  &#xA;            @Html.Sitecore().Placeholder(&quot;hero&quot;)  &#xA;            @Html.Sitecore().Placeholder(&quot;breadcrumb&quot;)  &#xA;            @Html.Sitecore().Placeholder(&quot;main&quot;)  &#xA;            @Html.Sitecore().Placeholder(&quot;footer&quot;)  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm wondering why it is defined again, in the &quot;Controls&quot; of the &quot;Layout Details&quot; =&gt; &quot;Device Editor&quot; =&gt; Default =&gt; Shared and Final:  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Control or Rendering) (Placeholder)&lt;br&gt;&#xA;Header                 header&lt;br&gt;&#xA;Menu                   menu&lt;br&gt;&#xA;Default Hero           hero&lt;br&gt;&#xA;Breadcrumb             breadcrumb&lt;br&gt;&#xA;Footer                 footer  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How does that play together, with the placeholder keys specified in the layout /View/layout.cshtml.  Does it take precedence, override, etc.?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is true that in the case of the Presentation Details, its' referencing the Placeholders indirectly, thru the Control/Rendering. But still, that makes 2 lists of Placeholders.. which wins?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll create some test scenarios, but if someone has insights they'll be more than welcome!  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have 8.1 so perhaps these somewhat overlap with the &quot;ways to do it&quot; vs the ways to do with legacy of former menus co-existing with latest ways? &lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="1000" LastEditDate="2018-01-12T03:39:31.110" LastActivityDate="2018-01-12T04:15:41.877" Title="Placeholders defined in MVC /Views/layout.cshtml vs. placeholders defined from templates =&gt; __standard_values =&gt; Presentation details" Tags="|mvc|placeholders|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9437" PostTypeId="2" ParentId="9429" CreationDate="2018-01-11T22:41:26.270" Score="5" Body="&lt;p&gt;I found the problem. The 9.0.1 parameters.xml file in the Sitecore 9.0.1 rev. 171219 (Cloud)_xp1collection.scwdp.zip has a parameter for Messaging Database Application User:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;parameter name=&quot;Messaging Database Application User Name&quot; description=&quot;Messaging Database Application User Name&quot; defaultValue=&quot;messaginguser&quot; tags=&quot;&quot;&amp;gt;&#xA;&amp;lt;parameterEntry type=&quot;TextFile&quot; scope=&quot;createuser_text_messaging.sql&quot; match=&quot;PlaceHolderForUser&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&#xA;    &#xA;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That user is not referenced in the 9.0.0 ARM template sample's application-xconnect.json file so it was defaulting to 12345. I've added a param in the json file to create and send along a username and password for that parameter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;xcMdSqlDatabaseUserName&quot;: {&#xA;  &quot;type&quot;: &quot;string&quot;,&#xA;  &quot;minLength&quot;: 1,&#xA;  &quot;defaultValue&quot;: &quot;xcmduser&quot;&#xA;},&#xA;&quot;xcMdSqlDatabasePassword&quot;: {&#xA;  &quot;type&quot;: &quot;securestring&quot;,&#xA;  &quot;minLength&quot;: 8,&#xA;  &quot;defaultValue&quot;: &quot;[concat(toUpper(uniqueString('xcmd', parameters('passwordSalt'))), uniqueString('xcmd', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('xcmd', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]&quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then passing it to the MSDeploy package:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;name&quot;: &quot;[concat(variables('xcCollectWebAppNameTidy'), '/', 'MSDeploy')]&quot;,&#xA;  &quot;type&quot;: &quot;Microsoft.Web/sites/extensions&quot;,&#xA;  &quot;location&quot;: &quot;[parameters('location')]&quot;,&#xA;  &quot;apiVersion&quot;: &quot;[variables('webApiVersion')]&quot;,&#xA;  &quot;properties&quot;: {&#xA;    &quot;packageUri&quot;: &quot;[parameters('xcCollectMsDeployPackageUrl')]&quot;,&#xA;    &quot;dbType&quot;: &quot;SQL&quot;,&#xA;    &quot;connectionString&quot;: &quot;[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]&quot;,&#xA;    &quot;setParameters&quot;: {&#xA;      &quot;IIS Web Application Name&quot;: &quot;[variables('xcCollectWebAppNameTidy')]&quot;,&#xA;      &quot;Database Server Name&quot;: &quot;[variables('sqlServerFqdnTidy')]&quot;,&#xA;      &quot;Database Admin User Name&quot;: &quot;[parameters('sqlServerLogin')]&quot;,&#xA;      &quot;Database Admin User Password&quot;: &quot;[parameters('sqlServerPassword')]&quot;,&#xA;      &quot;Collection Database Server Name&quot;: &quot;[variables('sqlServerFqdnTidy')]&quot;,&#xA;      &quot;Collection Shard Map Manager Database Name&quot;: &quot;[variables('shardMapManagerSqlDatabaseNameTidy')]&quot;,&#xA;      &quot;Collection Shard 0 Database Name&quot;: &quot;[variables('shard0SqlDatabaseNameTidy')]&quot;,&#xA;      &quot;Collection Shard 1 Database Name&quot;: &quot;[variables('shard1SqlDatabaseNameTidy')]&quot;,&#xA;      &quot;Processing Pools Database Name&quot;: &quot;[variables('poolsSqlDatabaseNameTidy')]&quot;,&#xA;      &quot;Marketing Automation Database Name&quot;: &quot;[variables('maSqlDatabaseNameTidy')]&quot;,&#xA;      &quot;Collection Database Application User Name&quot;: &quot;[parameters('xcShardMapManagerSqlDatabaseUserName')]&quot;,&#xA;      &quot;Collection Database Application User Password&quot;: &quot;[parameters('xcShardMapManagerSqlDatabasePassword')]&quot;,&#xA;      &quot;Processing Pool Database Application User Name&quot;: &quot;[parameters('poolsSqlDatabaseUserName')]&quot;,&#xA;      &quot;Processing Pool Database Application User Password&quot;: &quot;[parameters('poolsSqlDatabasePassword')]&quot;,&#xA;      &quot;Marketing Automation Database Application User Name&quot;: &quot;[parameters('xcMaSqlDatabaseUserName')]&quot;,&#xA;      &quot;Marketing Automation Database Application User Password&quot;: &quot;[parameters('xcMaSqlDatabasePassword')]&quot;,&#xA;      &quot;Messaging Database Application User Name&quot;: &quot;[parameters('xcMdSqlDatabaseUserName')]&quot;,&#xA;      &quot;Messaging Database Application User Password&quot;: &quot;[parameters('xcMdSqlDatabasePassword')]&quot;,&#xA;      &quot;XConnect Server Configuration Environment&quot;: &quot;[parameters('xcServerConfigurationEnvironment')]&quot;,&#xA;      &quot;XConnect Server Certificate Validation Thumbprint&quot;: &quot;[parameters('authCertificateThumbprint')]&quot;,&#xA;      &quot;Allow Invalid Client Certificates&quot;: &quot;[parameters('allowInvalidClientCertificates')]&quot;,&#xA;      &quot;XConnect Server Application Insights Key&quot;: &quot;[reference(resourceId('Microsoft.Insights/Components', variables('appInsightsNameTidy')), variables('appInsightsApiVersion')).InstrumentationKey]&quot;,&#xA;      &quot;XConnect Server Instance Name&quot;: &quot;Collection&quot;,&#xA;      &quot;License Xml&quot;: &quot;[parameters('licenseXml')]&quot;&#xA;    }&#xA;  }&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not sure what other differences might come up so hopefully a new 9.0.1 template hits github soon.&lt;/p&gt;&#xA;" OwnerUserId="1270" LastEditorUserId="1270" LastEditDate="2018-01-11T23:05:16.323" LastActivityDate="2018-01-11T23:05:16.323" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9438" PostTypeId="1" CreationDate="2018-01-11T22:46:19.620" Score="0" ViewCount="351" Body="&lt;p&gt;Need some ideas for the following problem:&#xA;My View called MyView (code adjusted to post):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    if(condition== A)&#xA; @using (Html.BeginForm())&#xA;                {&#xA;                    @Html.Sitecore().FormHandler(&quot;Registration&quot;, &quot;ActionA&quot;)&#xA;                    form html&#xA;                }&#xA;&#xA;else if(condition == B)&#xA;&#xA;@using (Html.BeginForm())&#xA;                {&#xA;                    @Html.Sitecore().FormHandler(&quot;Registration&quot;, &quot;ActionB&quot;)&#xA;                    form html&#xA;                }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;so each form post to a different action on my controller.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Controller simplified for the post:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;        public ActionResult ActionA(MyModel model)&#xA;        {&#xA;                 //an error happened here and I want to return to the original view with the error message&#xA;                 if(error){&#xA;                     ModelState.AddModelError(&quot;Error&quot;, &quot;&quot;)&#xA;                     return PartialView(&quot;MyView&quot;, model);&#xA;                 }&#xA;        }&#xA;&#xA;[HttpPost]&#xA;        public ActionResult ActionB(MyModel model)&#xA;        {&#xA;                 //an error happened here and I want to return to the original view with the error message&#xA;                 if(error){&#xA;                     return PartialView(&quot;MyView&quot;, model);&#xA;                     ModelState.AddModelError(&quot;Error&quot;, &quot;&quot;)&#xA;                  } &#xA;        }&#xA;&#xA;&#xA;        public ActionResult MyView(MyModel model)&#xA;        {&#xA;                 //Instantiate model here&#xA;                  .... &#xA;                 return PartialView(&quot;MyView&quot;, model);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since I'm posting to a different action &quot;ActionA&quot; for example, and an error happened I'd like to show an error message to the user on the same original view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that it won't find my original View I'm thinking because I'm executing it from another action. The error message is the standard&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;The partial view 'MyView' was not found or no view engine supports the searched locations&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a simplified explanation but for example using a single post action to handle both is not an option here.&#xA;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="73" LastEditDate="2018-01-14T11:11:46.753" LastActivityDate="2018-01-14T11:11:46.753" Title="Handling 2 separate forms in one View and Controller" Tags="|mvc|post|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9439" PostTypeId="2" ParentId="9428" CreationDate="2018-01-12T00:09:50.620" Score="3" Body="&lt;p&gt;The reason for messages going into SPAM is because Email Clients aren't able to validate the sending email server versus the domain keys set on the domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore EXM, there is a Domains page where you register all of the domains that Sitecore Cloud EDS is using. Each one will provide DKIM keys that need to be &lt;em&gt;correctly&lt;/em&gt; added to the domain of each sending domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Short of that, the From Email Address is configured in the Email Manager Root, although you may also manually specify a From Email Address when creating an email campaign. It is best practice to have a separate Manager Root for each Domain that you are sending from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And while not a requirement of Sitecore Cloud EDS, it is best practice to setup appropriate SPF records too.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="121" LastEditDate="2018-01-12T09:13:33.600" LastActivityDate="2018-01-12T09:13:33.600" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9440" PostTypeId="1" AcceptedAnswerId="9449" CreationDate="2018-01-12T02:38:55.053" Score="1" ViewCount="530" Body="&lt;p&gt;I'm trying to get a page's content dynamically so I can open in a modal. What's the best way of getting the html from a page given an ID/page url?&lt;/p&gt;&#xA;" OwnerUserId="321" LastEditorUserId="73" LastEditDate="2018-01-12T14:32:49.900" LastActivityDate="2018-01-12T14:32:49.900" Title="Get Sitecore page content dynamically" Tags="|sitecore-api|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9441" PostTypeId="2" ParentId="9435" CreationDate="2018-01-12T04:15:41.877" Score="1" Body="&lt;p&gt;I've re-read this questions a couple of times and I think there is some general confusion that you have with how Placeholder keys work in Sitecore.  So like you mentioned, you have a Layout view defined.  That should be the case that you would always have for any page you want to have UI interface.  Example, if you are building a blog article page, you would at the bare minimum need to create a new layout in the layouts folder and assign that to either the item directly or the items template standard values:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aqr5G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aqr5G.png&quot; alt=&quot;Define a Layout&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That layout can have html within that file, which you specify via it's path, which you can see within the screenshot.  That html can also contain Sitecore html helpers which is how you would define a Placeholder key.  These are definitions that allow you to add controls (typically called renderings in Sitecore) to a page, which is done via presentation details.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So keep in mind, the intent for a layout is to build the basic shell of your pages on your site and most times it will contain html related to being just the shell, such as html head and a pretty simple body tag.  It's the placeholder key definitions, that allows you to setup a blog page vs a forum page using the exact same layout in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So for the blog page it would have the same layout defined, but different renderings defined vs. the forum page in it's default devices presentation details. When you assign additional controls/renderings to a page (either directly to an item or via it's standard values) you are telling it which controls should show up for that specific placeholder key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example from your layout above:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have a Layout, that's been assigned to an article page for example.  When you are viewing the presentation details for this article page, you should see that the Layout is selected which will map to the html you have copied above.  The controls tab should show renderings (which are separate groupings of logic, which can related more to a partial view in .net MVC).  For example, there is a header rendering, and it's placeholder is set to &quot;header&quot; in the presentation details.  So the header rendering is being added to the page in place of the placeholder key &lt;code&gt;header&lt;/code&gt; from your layout file.  So when you view the page on the front end, you will no longer see &lt;code&gt;@Html.Sitecore().Placeholder(&quot;header&quot;)&lt;/code&gt;, but instead you will see the rendered html from your &lt;code&gt;header&lt;/code&gt; control/rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the answer to your question is this, if you don't specific a rendering to use a placeholder key, then nothing will show up there on the front end.  Example, if you hadn't specified a header rendering to use the &lt;code&gt;header&lt;/code&gt; placeholder key, than nothing would display there.  And when you do specify a rendering to display when you specify it's key, it will replace that placeholder with the rendered contents of the renderings you've selected to display in that placeholder key placement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also this is how it's always worked, and you should find this same behavior in 6, 7, 8 and even 9.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-01-12T04:15:41.877" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9442" PostTypeId="1" CreationDate="2018-01-12T05:02:32.447" Score="3" ViewCount="138" Body="&lt;p&gt;Currently, i am exploring Brainjocks score components, available for Sitecore products, in one of my project. I am using few search components like search results, live search result and search suggestion, provided with this tool. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i was searching any text, it was showing no search results. i modified the value of &lt;strong&gt;Remove empty titles&lt;/strong&gt; to false in the search result rendering components, then it stared displaying the empty titles in the search results and search suggestion components according to the search result count. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, the question is,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why am i not able to see the tiles with values but empty titles? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am i missing anything here? Any advise would really be appreciated. &lt;/p&gt;&#xA;" OwnerUserId="2384" LastEditorUserId="73" LastEditDate="2018-01-12T11:12:56.270" LastActivityDate="2018-04-12T16:12:24.333" Title="Sitecore, BrainJocks Score Search Result Component shows empty tiles" Tags="|brainjocks-score|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9443" PostTypeId="1" CreationDate="2018-01-12T05:30:04.500" Score="0" ViewCount="2072" Body="&lt;p&gt;I'm new to Sitecore FakeDb NUnit Testing. While testing the code, I found that &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Sitecore.Context.Item = null;&#xA; RenderingContext.Current.Rendering.DataSource = fakeItem.ID.ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since the item is passed as Null, the corresponding data source overwrites the value. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a Bug or, I'm getting it wrong here?&lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="2727" LastEditDate="2018-01-12T10:57:30.880" LastActivityDate="2018-01-12T10:57:30.880" Title="Sitecore.Context.Item is Overwritten by RenderingContext.Current.Rendering" Tags="|unit-testing|fakedb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9445" PostTypeId="1" CreationDate="2018-01-12T06:14:11.653" Score="1" ViewCount="98" Body="&lt;p&gt;I see Sitecore 9 Update 1 has been released recently but it is missing in azure ARM templates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anybody provide information on it's availability or am i missing something?&lt;/p&gt;&#xA;" OwnerUserId="2384" LastEditorUserId="2727" LastEditDate="2018-01-12T11:00:35.480" LastActivityDate="2018-01-12T11:00:35.480" Title="Missing ARM template for Sitecore 9 Update 1 in Azure PaaS" Tags="|azure-resource-manager|arm-template|" AnswerCount="0" CommentCount="3" ClosedDate="2018-01-12T14:34:13.783" ContentLicense="CC BY-SA 3.0" />
  <row Id="9446" PostTypeId="2" ParentId="9443" CreationDate="2018-01-12T06:27:02.147" Score="5" Body="&lt;p&gt;Sitecore FakeDb does not set the context item because depending on the scenario, you might or might not need it to be set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need the context item not to be null, you can set it in &lt;em&gt;your test&lt;/em&gt; using the &lt;code&gt;ContextItemSwitcher&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var db = new Db { new DbItem(&quot;home&quot;) })&#xA;{&#xA;    var home = db.Database.GetItem(&quot;/sitecore/content/home&quot;);&#xA;    using (new ContextItemSwitcher(home))&#xA;    {&#xA;        // Writes 'Context item = home'&#xA;        Console.Out.WriteLine(&quot;Context item = {0}&quot;, Context.Item.Name);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastActivityDate="2018-01-12T06:27:02.147" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9449" PostTypeId="2" ParentId="9440" CreationDate="2018-01-12T10:35:56.357" Score="4" Body="&lt;p&gt;I like the suggestion which is provided by @jammykam. To fit to your requirements I would create a new device and there you can create your own layout for that specific modal.&#xA;You can create your device under &lt;code&gt;/sitecore/layout/Devices&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RZ1Ij.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RZ1Ij.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then your new device will apear in the &lt;strong&gt;Layout Details&lt;/strong&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/7ITx2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7ITx2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can access to the device related rendering defintion through the following url: &lt;strong&gt;&lt;a href=&quot;http://[url]?sc_device=modal&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://[url]?sc_device=modal&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="1000" LastEditDate="2018-01-12T13:50:02.663" LastActivityDate="2018-01-12T13:50:02.663" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9451" PostTypeId="1" CreationDate="2018-01-12T12:42:37.997" Score="1" ViewCount="245" Body="&lt;p&gt;I have setup Sitecore 8.2 + Commerce Server + SOLR&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created Catalog under departments. &quot;Commerce Catalog Manager&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;[Commerce Catalog Manager]&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;ABC (category)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ZYX (sub Category)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ZZZ (sub Category)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;product A&lt;/li&gt;&#xA;&lt;li&gt;product b&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;DDD&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ABC&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;product c&lt;/li&gt;&#xA;&lt;li&gt;product d&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Below is the code snippet i am using.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item item = base.Item.Database.GetItem(str);&#xA;Sitecore.Reference.Storefront.Models.SitecoreItemModels.Category category = this.CatalogManager.GetCategory(item);&#xA;NavigationViewModel navigationViewModel = this.GetNavigationViewModel(category.InnerItem, base.CurrentRendering);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why i always get navigationViewModel.ChildrenCategories count 0?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any more steps i should take care?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any better way, if i don't want solr index/Good way to use Solr but avoid re-index? Because every time when we create product, we have to rebuild index and clear site cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Tried Approaches&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already tried below approaches..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I republished entire site + Rebuild Solr Index &quot;sitecore_core_index, sitecore_master_index, sitecore_web_index, commerce_products_master_index, commerce_userprofiles_index_master, commerce_products_web_index&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also cleared related cache using &#xA;&lt;a href=&quot;http://[Domain]/sitecore/admin/cache.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://[Domain]/sitecore/admin/cache.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3049" LastEditorUserId="2890" LastEditDate="2018-03-15T12:08:42.000" LastActivityDate="2018-03-15T12:08:42.000" Title="Sitecore Commerce Categories children is not being populated. &quot;GetNavigationViewModel&quot;" Tags="|sitecore-api|sitecore-commerce|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9453" PostTypeId="2" ParentId="9442" CreationDate="2018-01-12T13:44:51.267" Score="2" Body="&lt;p&gt;Here are possible causes and things you can look into:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- The search result tile is not setup on the rendering parameters of your component&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- The Search Result Tile is not present in the web database. If that's the case try to publish and validate whether it is present in the web db&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- The tiles are not being indexed. You can use any tools like Luke or Powershell Extensions to query your index and validate whether your tile is present on the index. If that's the case try to rebuild your indexes&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2018-01-12T13:44:51.267" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9454" PostTypeId="5" CreationDate="2018-01-12T14:42:40.087" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-01-12T14:42:40.087" LastActivityDate="2018-01-12T14:42:40.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9455" PostTypeId="4" CreationDate="2018-01-12T14:42:40.087" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-01-12T14:42:40.087" LastActivityDate="2018-01-12T14:42:40.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9457" PostTypeId="1" AcceptedAnswerId="9496" CreationDate="2018-01-12T16:25:09.947" Score="-1" ViewCount="631" Body="&lt;p&gt;For one of our current assignment, we are on:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 7.2 (rev. 141226) &lt;/li&gt;&#xA;&lt;li&gt;SOLR 4.6.1 &lt;/li&gt;&#xA;&lt;li&gt;Sitecore Media Framework 4.1 - Brightcove  &lt;/li&gt;&#xA;&lt;li&gt;Clay Tablet 3.10.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Mentioning the details cause recently we introduced cores in SOLR for new website development, upgraded Brightcove and Clay Tablet. Hence not sure if anything from these activities is the culprit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following frequent exception started encountering recently in the log files:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.InvalidCastException Message: Unable to cast object&#xA;  of type 'Sitecore.Web.SessionEndWorkerRequest' to type&#xA;  'System.Web.Hosting.IIS7WorkerRequest'. Source: System.Web    at&#xA;  System.Web.EtwTrace.Trace(EtwTraceType traceType, HttpWorkerRequest&#xA;  workerRequest, String data1, String data2, String data3, String data4)&#xA;  at&#xA;  System.Web.Profile.SqlProfileProvider.GetPropertyValuesFromDatabase(String&#xA;  userName, SettingsPropertyValueCollection svc)    at&#xA;  System.Web.Profile.SqlProfileProvider.GetPropertyValues(SettingsContext&#xA;  sc, SettingsPropertyCollection properties)    at&#xA;  System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider&#xA;  provider)    at&#xA;  System.Configuration.SettingsBase.GetPropertyValueByName(String&#xA;  propertyName)    at System.Configuration.SettingsBase.get_Item(String&#xA;  propertyName)    at System.Web.Profile.ProfileBase.GetInternal(String&#xA;  propertyName)    at System.Web.Profile.ProfileBase.get_Item(String&#xA;  propertyName)    at&#xA;  Sitecore.Security.UserProfile.&amp;lt;&gt;c__DisplayClassc.b__a()&#xA;  at Sitecore.Support.Data.DataProviders.Retryer.Execute[T](Func`1&#xA;  action, Action recover)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Followed by nested exceptions related to &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Call stack to retryer:     at&#xA;  System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)&lt;br&gt;&#xA;  at System.Environment.get_StackTrace()    at&#xA;  Sitecore.Support.Data.DataProviders.Retryer.Execute[T](Func`1 action,&#xA;  Action recover)    at&#xA;  Sitecore.Security.UserProfile.GetPropertyValueCore(String&#xA;  propertyName)    at&#xA;  Sitecore.Security.UserProfile.get_IsAdministrator()    at&#xA;  Sitecore.Security.AccessControl.SqlAuthorizationProvider.GetSpecialAccess(ISecurable&#xA;  entity, Account account, AccessRight accessRight)    at&#xA;  Sitecore.Security.AccessControl.SqlAuthorizationProvider.GetAccessCore(ISecurable&#xA;  entity, Account account, AccessRight accessRight)    at&#xA;  Sitecore.Security.AccessControl.AuthorizationProvider.GetAccess(ISecurable&#xA;  entity, Account account, AccessRight accessRight)    at&#xA;  Sitecore.Security.AccessControl.AuthorizationManager.GetAccess(ISecurable&#xA;  entity, Account account, AccessRight accessRight)    at&#xA;  Sitecore.Security.AccessControl.AuthorizationManager.IsAllowed(ISecurable&#xA;  entity, AccessRight right, Account account)    at&#xA;  Sitecore.Security.AccessControl.ItemAccess.CanRead()    at&#xA;  Sitecore.Data.Managers.ItemProvider.ApplySecurity(Item item,&#xA;  SecurityCheck securityCheck)    at&#xA;  Sitecore.Data.Managers.ItemManager.GetItem(String itemPath, Language&#xA;  language, Version version, Database database)    at&#xA;  Sitecore.Analytics.Pipelines.VisitEnd.RunRules.Run(Database database) &#xA;  at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Analytics.VisitEndWorker.Helper.RaiseVisitEndForCurrentVisit()&#xA;  at Sitecore.Analytics.VisitEndWorker.Helper.Process(Action&#xA;  visitEndAction)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Web.Application.RaiseSessionEndEvent(HttpApplication context)&#xA;  at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[]&#xA;  arguments, Signature sig, Boolean constructor)    at&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments)    at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br&gt;&#xA;  at System.Reflection.MethodBase.Invoke(Object obj, Object[]&#xA;  parameters)    at&#xA;  System.Web.HttpApplication.InvokeMethodWithAssert(MethodInfo method,&#xA;  Int32 paramCount, Object eventSource, EventArgs eventArgs)    at&#xA;  System.Web.HttpApplication.ProcessSpecialRequest(HttpContext context,&#xA;  MethodInfo method, Int32 paramCount, Object eventSource, EventArgs&#xA;  eventArgs, HttpSessionState session)    at&#xA;  System.Web.HttpApplicationFactory.FireSessionOnEnd(HttpSessionState&#xA;  session, Object eventSource, EventArgs eventArgs)    at&#xA;  System.Web.SessionState.SessionOnEndTargetWorkItem.RaiseOnEndCallback()&#xA;  at System.Web.Util.WorkItem.CallCallbackWithAssert(WorkItemCallback&#xA;  callback)    at&#xA;  System.Web.Util.WorkItem.OnQueueUserWorkItemCompletion(Object state)&lt;br&gt;&#xA;  at System.Threading.ExecutionContext.RunInternal(ExecutionContext&#xA;  executionContext, ContextCallback callback, Object state, Boolean&#xA;  preserveSyncCtx)    at&#xA;  System.Threading.ExecutionContext.Run(ExecutionContext&#xA;  executionContext, ContextCallback callback, Object state, Boolean&#xA;  preserveSyncCtx)    at&#xA;  System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()&#xA;  at System.Threading.ThreadPoolWorkQueue.Dispatch()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any guidance on finding the root cause is much appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. Already gone through the answers to this (&lt;a href=&quot;https://stackoverflow.com/questions/31403207/sitecore-log-file-repeated-error&quot;&gt;https://stackoverflow.com/questions/31403207/sitecore-log-file-repeated-error&lt;/a&gt;) question, and the Analytics DB looks good.&lt;/p&gt;&#xA;" OwnerUserId="2890" LastEditorUserId="73" LastEditDate="2018-01-14T11:09:16.473" LastActivityDate="2018-01-15T22:23:21.410" Title="Unable to cast object of type 'Sitecore.Web.SessionEndWorkerRequest'" Tags="|solr|session-state|authentication|iis|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9458" PostTypeId="2" ParentId="9431" CreationDate="2018-01-12T16:44:31.153" Score="6" Body="&lt;p&gt;EXM was not designed to support this. The (primary) CM is responsible for orchestrating the work e.g. changing the state of the message from draft -&gt; sending -&gt; sent. This runs as a task within Sitecore, so when your application pool recycles, it will never move the message to the sent state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Short of disabling automatic recycling of the application pool (although I suggest you do), I think it's a sound suggestion to create a task to resume paused dispatches. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to avoid starting something that may have been manually paused, you could always check the state of the message and/or the status of any dedicated email dispatch servers. Respectively &lt;em&gt;Sitecore.Modules.EmailCampaign.Core.MessageStateInfo&lt;/em&gt; and &lt;em&gt;Sitecore.Modules.EmailCampaign.Core.Services.DedicatedServers&lt;/em&gt;. This is not fool proof, but unfortunately there is no way to distinguish a message that has been manually paused from one that has been paused by EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a side note. You don't mention the number of contacts or other factors that have an impact on the dispatch process, but 10 hours sounds like a lot. I would recommend you to read &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/performance/the_exm_dispatch_process_and_performance_tuning&quot; rel=&quot;noreferrer&quot;&gt;The EXM dispatch process and performance tuning&lt;/a&gt;. Although it's written for 9.0.1, most of it applies to older releases as well.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-01-12T16:44:31.153" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9459" PostTypeId="2" ParentId="9287" CreationDate="2018-01-12T19:01:33.860" Score="3" Body="&lt;p&gt;I found that there is a configuration setting that can be enabled which runs the preview mode with the currently logged in user (an authenticated user) instead of the &lt;code&gt;default/anonymous&lt;/code&gt; user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's called &lt;code&gt;Preview.AsAnonymous&lt;/code&gt;, and setting this setting to &lt;code&gt;false&lt;/code&gt; will allow users to preview as the currently authenticated user instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://theagilecoder.wordpress.com/2014/12/14/using-an-authenticated-preview-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;USING AN AUTHENTICATED PREVIEW IN SITECORE&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3007" LastEditorUserId="73" LastEditDate="2018-01-14T11:07:45.727" LastActivityDate="2018-01-14T11:07:45.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9460" PostTypeId="2" ParentId="8976" CreationDate="2018-01-12T20:22:50.730" Score="5" Body="&lt;p&gt;Similar to the answer provided by @vandsh, but with less dependencies I created this &lt;a href=&quot;https://gist.github.com/jraps20/f0db2e9826a7eef8111e9bb7fbad9389&quot; rel=&quot;nofollow noreferrer&quot;&gt;gist&lt;/a&gt;, which is outlined below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note: This method assumes &lt;em&gt;all&lt;/em&gt; datasources are referenced by &lt;code&gt;ID&lt;/code&gt;. It relies on the links database to find linked items, which would fail if relying on a query.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Define Which Renderings are &quot;indexable&quot;&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This avoids indexing renderings such as Navigation or Related Articles, which really aren't pertinent to the actual page content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll want to update this list as you build your module library with relevant text-heavy renderings.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Config Patch&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;indexedRenderings&amp;gt;&#xA;            &amp;lt;indexedRendering name=&quot;RichText&quot; id=&quot;{4F8942FF-C4E4-408A-B3D5-4657EE5050CA}&quot; /&amp;gt;&#xA;            &amp;lt;indexedRendering name=&quot;EmployeeBio&quot; id=&quot;{53F8166B-6627-4C1B-BED5-FBD0B36EC527}&quot; /&amp;gt;&#xA;            &amp;lt;indexedRendering name=&quot;HighlightStatic&quot; id=&quot;{75100A87-B7B0-4D1F-BE85-1A8FC6342514}&quot; /&amp;gt;&#xA;            &amp;lt;indexedRendering name=&quot;IntroText&quot; id=&quot;{89D7EE42-A5E1-4F24-B247-BFD382E501D4}&quot; /&amp;gt;&#xA;        &amp;lt;/indexedRenderings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Class To Read Config&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Xml;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using Sitecore.Xml;&#xA;&#xA;namespace Common.Sitecore.ConfigElements&#xA;{&#xA;    public class IndexedRenderings&#xA;    {&#xA;        public string Name { get; set; }&#xA;        public ID Id { get; set; }&#xA;&#xA;        public static List&amp;lt;IndexedRenderings&amp;gt; IndexableRenderings()&#xA;        {&#xA;            return (from XmlNode node in Factory.GetConfigNodes(&quot;indexedRenderings/indexedRendering&quot;)&#xA;                select new IndexedRenderings&#xA;                {&#xA;                    Name = XmlUtil.GetAttribute(&quot;name&quot;, node),&#xA;                    Id = new ID(XmlUtil.GetAttribute(&quot;id&quot;, node))&#xA;                }).ToList();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Define Custom RenderedContent Field&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This field will contain the filtered text of all datasources (allowed by config section) added to the page item. The contents is stored in the index as &lt;code&gt;renderedContent&lt;/code&gt;. It checks both the &lt;code&gt;Layout&lt;/code&gt; and &lt;code&gt;FinalLayout&lt;/code&gt; of the item for renderings that are marked as allowed, then iterates on the fields of the datasource, ultimately piping everything to the same &lt;code&gt;renderedContent&lt;/code&gt; string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note: You probably don't want to use this field for display on a search results page, for example, but can still be leveraged to provide relevant results.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Config Patch&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultLuceneIndexConfiguration&amp;gt; &amp;lt;!-- swap for your configuration, e.g. SOLR!!! --&amp;gt;&#xA;                    &amp;lt;documentOptions&amp;gt;&#xA;                        &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                            &amp;lt;field fieldName=&quot;renderedContent&quot; storageType=&quot;no&quot; indexType=&quot;tokenized&quot;&amp;gt;Common.Sitecore.Search.ComputedFields.RenderedContent,Common&amp;lt;/field&amp;gt;&#xA;                        &amp;lt;/fields&amp;gt;&#xA;                    &amp;lt;/documentOptions&amp;gt;&#xA;                &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Custom Field Class&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text.RegularExpressions;&#xA;using Sitecore;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.ComputedFields;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Fields;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.WordOCX.HtmlDocument;&#xA;using Common.Sitecore.ConfigElements;&#xA;&#xA;namespace Common.Sitecore.Search.ComputedFields&#xA;{&#xA;    public class RenderedContent : AbstractComputedIndexField&#xA;    {&#xA;        private IEnumerable&amp;lt;ID&amp;gt; _indexableRenderings;&#xA;&#xA;        public override object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;            var item = (Item)(indexable as SitecoreIndexableItem);&#xA;&#xA;            if (item == null)&#xA;                return null;&#xA;&#xA;            _indexableRenderings = IndexedRenderings.IndexableRenderings().Select(i =&amp;gt; i.Id);&#xA;&#xA;            if (!_indexableRenderings.Any())&#xA;                return null;&#xA;&#xA;            var deviceItem = item.Database.Resources.Devices.GetAll().FirstOrDefault(d =&amp;gt; d.IsDefault);&#xA;&#xA;            if (deviceItem == null)&#xA;                return null;&#xA;&#xA;            var itemDatasources = ExtractRenderingDataSourceItems(item, _indexableRenderings, item.Fields[FieldIDs.FinalLayoutField], deviceItem).ToList(); // for later `Distinct()`&#xA;            itemDatasources.AddRange(ExtractRenderingDataSourceItems(item, _indexableRenderings, item.Fields[FieldIDs.LayoutField], deviceItem));&#xA;&#xA;            itemDatasources = itemDatasources.Distinct().ToList();&#xA;&#xA;            if (!itemDatasources.Any())&#xA;                return null;&#xA;&#xA;            var content = new List&amp;lt;string&amp;gt;();&#xA;&#xA;            foreach (var itemDatasource in itemDatasources)&#xA;                GetItemContent(itemDatasource, content);&#xA;&#xA;            if (!content.Any())&#xA;                return null;&#xA;&#xA;            var aggregateContent = content.Aggregate((a, b) =&amp;gt; $&quot;{a} {b}&quot;);&#xA;&#xA;            aggregateContent = StripLineBreaksAndWhiteSpace(aggregateContent);&#xA;&#xA;            return aggregateContent;&#xA;        }&#xA;&#xA;        private static IEnumerable&amp;lt;Item&amp;gt; ExtractRenderingDataSourceItems(Item item, IEnumerable&amp;lt;ID&amp;gt; indexableRenderings, Field layoutField, DeviceItem deviceItem)&#xA;        {&#xA;            if (layoutField == null)&#xA;                return Enumerable.Empty&amp;lt;Item&amp;gt;();&#xA;&#xA;            var layoutXml = LayoutField.GetFieldValue(layoutField);&#xA;&#xA;            if (string.IsNullOrEmpty(layoutXml))&#xA;                return Enumerable.Empty&amp;lt;Item&amp;gt;();&#xA;&#xA;            var renderings = item.Visualization.GetRenderings(deviceItem, false);&#xA;&#xA;            if (renderings == null || renderings.Length == 0)&#xA;                return Enumerable.Empty&amp;lt;Item&amp;gt;();&#xA;&#xA;            var datasourceItems = new List&amp;lt;Item&amp;gt;();&#xA;&#xA;            for (var renderingIndex = renderings.Length - 1; renderingIndex &amp;gt;= 0; renderingIndex--)&#xA;            {&#xA;                var rendering = renderings[renderingIndex];&#xA;&#xA;                if (rendering == null || rendering.Database != item.Database)&#xA;                    continue;&#xA;&#xA;                if (!indexableRenderings.Contains(rendering.RenderingID))&#xA;                    continue;&#xA;&#xA;                var datasourceId = rendering.Settings.DataSource;&#xA;&#xA;                if (!ID.IsID(datasourceId))&#xA;                    continue;&#xA;&#xA;                var datasourceItem = item.Database.GetItem(new ID(datasourceId));&#xA;&#xA;                if(datasourceItem == null)&#xA;                    continue;&#xA;&#xA;                datasourceItems.Add(datasourceItem);&#xA;            }&#xA;&#xA;            return datasourceItems;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Extracts textual content from an item's fields&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        private static void GetItemContent(Item dataSource, ICollection&amp;lt;string&amp;gt; content)&#xA;        {&#xA;            //.Where(field =&amp;gt; !field.Name.StartsWith(&quot;__&quot;)&#xA;            foreach (Field field in dataSource.Fields)&#xA;            {&#xA;                if (!IndexOperationsHelper.IsTextField(new SitecoreItemDataField(field)))&#xA;                    continue;&#xA;&#xA;                var fieldValue = StripHtmlTags(field.Value ?? string.Empty);&#xA;&#xA;                if (!string.IsNullOrWhiteSpace(fieldValue))&#xA;                    content.Add(fieldValue);&#xA;            }&#xA;&#xA;            foreach (Item child in dataSource.Children)&#xA;            {&#xA;                GetItemContent(child, content);&#xA;            }&#xA;        }&#xA;&#xA;        private static string StripHtmlTags(string source)&#xA;        {&#xA;            if (source == null)&#xA;                return null;&#xA;&#xA;            var doc = new HtmlDocument();&#xA;            doc.LoadHtml(source);&#xA;            return doc.DocumentNode.InnerText;&#xA;        }&#xA;&#xA;        private static string StripLineBreaksAndWhiteSpace(string source)&#xA;        {&#xA;            if(string.IsNullOrWhiteSpace(source))&#xA;                return null;&#xA;&#xA;            source = source.Replace(System.Environment.NewLine, &quot;&quot;);&#xA;&#xA;            source = Regex.Replace(source, @&quot;\s+&quot;, &quot; &quot;);&#xA;&#xA;            return source.Trim(' ');&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Tell Sitecore to Update Indexed Page Content if a Datasource is Changed&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Since a content author will (not might) update a datasource and not update the associated page, the below changes instruct Sitecore to find any pages that may be relying on the datasource and to reindex them. If relying on a shared datasource, all pages relying on that datasource will update.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Config Patch&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;indexing.getDependencies&amp;gt;&#xA;                &amp;lt;processor type=&quot;Common.Sitecore.Search.GetDependencies.GetDatasourceDependencies, Common&quot;/&amp;gt;&#xA;            &amp;lt;/indexing.getDependencies&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;GetDependencies Class&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Linq;&#xA;using Sitecore;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Pipelines.GetDependencies;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;&#xA;namespace Common.Sitecore.Search.GetDependencies&#xA;{&#xA;    public class GetDatasourceDependencies : BaseProcessor&#xA;    {&#xA;        public override void Process(GetDependenciesArgs context)&#xA;        {&#xA;            Assert.IsNotNull(context.IndexedItem, &quot;indexed item&quot;);&#xA;            Assert.IsNotNull(context.Dependencies, &quot;dependencies&quot;);&#xA;&#xA;            var item = (Item)(context.IndexedItem as SitecoreIndexableItem);&#xA;&#xA;            if (item == null)&#xA;                return;&#xA;&#xA;            bool Func(ItemUri uri) =&amp;gt; (uri != null) &amp;amp;&amp;amp; uri != item.Uri;&#xA;&#xA;            var source = (&#xA;                from l &#xA;                    in Globals.LinkDatabase.GetReferrers(item, FieldIDs.LayoutField)&#xA;                select l.GetSourceItem().Uri)&#xA;                    .Where(Func)&#xA;                    .ToList();&#xA;&#xA;            source.AddRange(&#xA;            (&#xA;                from l&#xA;                    in Globals.LinkDatabase.GetReferrers(item, FieldIDs.FinalLayoutField)&#xA;                select l.GetSourceItem().Uri)&#xA;                    .Where(Func)&#xA;            );&#xA;&#xA;            source = source.Distinct().ToList();&#xA;&#xA;            context.Dependencies.AddRange(source.Select(x =&amp;gt; (SitecoreItemUniqueId)x));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;At this point you can write queries against this field as you typically would. Example of a custom search object with the field implemented:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Runtime.Serialization;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.SearchTypes;&#xA;&#xA;namespace Common.Sitecore.Seach&#xA;{&#xA;    public class CustomSearchResultItem : SearchResultItem&#xA;    {&#xA;        [DataMember]&#xA;        [IndexField(&quot;renderedContent&quot;)]&#xA;        public string RenderedContent { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-01-12T22:19:54.777" LastActivityDate="2018-01-12T22:19:54.777" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9461" PostTypeId="1" AcceptedAnswerId="9508" CreationDate="2018-01-12T20:26:59.520" Score="6" ViewCount="700" Body="&lt;p&gt;I'm attempting to use the 9.0.0 ARM template to deploy a Siteocre 9.0.1 instance. I've hit a bit of a wall with this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Package deployment failed&#xA;AppGallery Deploy Failed: 'Microsoft.Web.Deployment.DeploymentException: The path '' is not valid for the 'dbFullSql' provider. ---&amp;amp;gt; System.ArgumentNullException: Value cannot be null.&#xA;Parameter name: value&#xA;    --- End of inner exception stack trace ---&#xA;    at Microsoft.Web.Deployment.DeploymentProviderOptions.set_Path(String value)&#xA;    at Microsoft.Web.Deployment.ManifestProvider.&amp;amp;lt; GetPostProvidersHelper&amp;amp;gt;d__0.MoveNext()&#xA;    at Microsoft.Web.Deployment.WebDeployEventHelper.EventWriteManifest(String sessionId, DeploymentObjectProvider provider)&#xA;    at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId, String syncSessionId)&#xA;    at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)&#xA;    at Microsoft.Web.Deployment.WebApi.AppGalleryPackage.Deploy(String deploymentSite, String siteSlotId, Boolean doNotDelete)&#xA;    at Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt; DownloadAndDeployPackage&amp;amp;gt;d__17.MoveNext()'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I compared the &lt;code&gt;parameters.xml&lt;/code&gt; file in the 9.0.0 cloud scwdp against the &lt;code&gt;parameters.xml&lt;/code&gt; file in the 9.0.1 scwdp. What I &lt;em&gt;suspect&lt;/em&gt; is going on is that there's a casing issue. In the 9.0.0 one, it's &lt;code&gt;dbfullsql&lt;/code&gt; but in the 9.0.1 it's &lt;code&gt;dbFullSql&lt;/code&gt;. However, I can't figure out where it's defined in the first place to know for certain.&lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="73" LastEditDate="2018-01-13T20:19:31.203" LastActivityDate="2018-05-30T01:46:27.087" Title="'Microsoft.Web.Deployment.DeploymentException: The path '' is not valid for the 'dbFullSql' provider" Tags="|azure|azure-resource-manager|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9462" PostTypeId="1" AcceptedAnswerId="9464" CreationDate="2018-01-12T20:39:38.957" Score="2" ViewCount="1424" Body="&lt;p&gt;How to hide page created under 'Home' node, so that it doesn't appear in the navigation menu in SXA? For example, page like search result or error doesn't need to be included in navigation menu. &#xA;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="2727" LastEditDate="2018-01-13T14:03:10.500" LastActivityDate="2018-01-13T14:03:10.500" Title="Hide page from navigation in SXA" Tags="|sxa|best-practices|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9463" PostTypeId="2" ParentId="9462" CreationDate="2018-01-12T20:44:27.933" Score="5" Body="&lt;p&gt;Specify Navigation Filters for each of the Navigation renderings you use in your design i.e. &quot;Main Navigation&quot; and then at the page level use 'check to hide in navigation filters' option. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c7Uue.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c7Uue.jpg&quot; alt=&quot;Page Level Navigation Filters&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1012" LastActivityDate="2018-01-12T20:44:27.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9464" PostTypeId="2" ParentId="9462" CreationDate="2018-01-12T20:44:51.700" Score="7" Body="&lt;ul&gt;&#xA;&lt;li&gt;flag your page with navigation filter&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2LTvT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2LTvT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;change navigation settings and apply a filter to it (it will not show items added to a particular filter)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/XdTPS.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XdTPS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;How to create custom filter&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Navigate to &lt;code&gt;/sitecore/content/Tenant/Site/Data/Navigation Filters&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create new navigation filter underneth &#xA;&lt;a href=&quot;https://i.stack.imgur.com/ErdwL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ErdwL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-01-12T20:54:47.923" LastActivityDate="2018-01-12T20:54:47.923" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9465" PostTypeId="2" ParentId="9461" CreationDate="2018-01-12T21:43:19.860" Score="1" Body="&lt;p&gt;I ran into this today, too. It's because there aren't any values being passed to the web deploy package for the EXM database values. EXM has been added to 9.0.1 but wasn't part of 9.0.0. I ended up adding these values into the cm web app MSDeploy setParmeters in the application.json file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &quot;EXM Master DB User Name&quot;: &quot;[parameters('exmSqlDatabaseUserName')]&quot;,&#xA;      &quot;EXM Master DB Password&quot;: &quot;[parameters('exmSqlDatabasePassword')]&quot;,&#xA;      &quot;EXM Master Admin Connection String&quot;: &quot;[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('exmSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]&quot;,&#xA;      &quot;EXM Master Connection String&quot;: &quot;[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('exmSqlDatabaseNameTidy'),';User Id=', parameters('exmSqlDatabaseUserName'), ';Password=', parameters('exmSqlDatabasePassword'), ';')]&quot;,          &#xA;      &quot;EXM Cryptographic Key&quot;: &quot;[parameters('exmCryptoKey')]&quot;,&#xA;      &quot;EXM Authentication Key&quot;: &quot;[parameters('exmAuthKey')]&quot;,&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also had to remove the Cloud Search parameters from the reporting and processing MSDeploy steps as they're no longer in the parameters.xml list for those two packages. You'll have to add variables/parameters for the EXM params up the chain in the template as well to pass into these.&lt;/p&gt;&#xA;" OwnerUserId="1270" LastActivityDate="2018-01-12T21:43:19.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9466" PostTypeId="1" CreationDate="2018-01-12T21:53:31.840" Score="3" ViewCount="151" Body="&lt;p&gt;I'm working on a Module for the Sitecore Marketplace and was contemplating how best to release it against the myriad of different versions out there. Which led me to the following key question which I haven't seen a solid answer to. I snooped around in a few other Marketplace Module Git repositories but I wanted to pose the question here for posterity and gaining a solid solution to the problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is the best and easiest way to setup a solution/project to build against multiple different versions of the Sitecore DLLs to make available for use by other solutions/projects?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="495" LastActivityDate="2018-02-12T15:51:18.357" Title="Recommended way of organizing a multi Sitecore version module" Tags="|nuget|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9468" PostTypeId="1" CreationDate="2018-01-13T12:40:43.490" Score="1" ViewCount="769" Body="&lt;p&gt;I tried implementing location finder using &lt;a href=&quot;https://michaellwest.blogspot.in/2016/10/build-location-finder-search-using-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://michaellwest.blogspot.in/2016/10/build-location-finder-search-using-sxa.html&lt;/a&gt; and able to implement the functionality with minor issues:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If I am assigning POI item on map date item then after clicking on POI item on MAP, it’s showing the details. In this case while searching any place using Location Finder/Search Results component, it will show all the details not specific POI item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assign POI item to MAP:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YfR6C.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YfR6C.png&quot; alt=&quot;Assign POI item to MAP&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/GFO1J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GFO1J.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If I am not assigning POI item on map date item then after clicking on POI item on MAP, it’s not showing the details and showing error on console (400 bad request). In this case while searching any place using Location Finder/Search Results component, it will narrow down the result and show particular POI item on MAP:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;POI items not assigned to MAP:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WK6xE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WK6xE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IeQgs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IeQgs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;400 bad request url : &lt;a href=&quot;http://site//sxa/geoVariants/1ad82bbf-4d55-4dbd-b635-b68cf2171002/ae69e57b-da98-4bd5-b889-477448d61139/13.0826802,80.27071840000008/undefined&amp;amp;site=null&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://site//sxa/geoVariants/1ad82bbf-4d55-4dbd-b635-b68cf2171002/ae69e57b-da98-4bd5-b889-477448d61139/13.0826802,80.27071840000008/undefined&amp;amp;site=null&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Is there any pointers to resolve above issue, so that after clicking on POI item, it will show the details of POI item?&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="3035" LastEditDate="2018-03-22T02:12:27.443" LastActivityDate="2018-03-22T02:12:27.443" Title="Google Map POI items with Location finder text box and Search results" Tags="|sxa|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9469" PostTypeId="2" ParentId="9292" CreationDate="2018-01-13T13:58:49.367" Score="1" Body="&lt;h1&gt;TaskDatabaseAgent&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;TaskDatabaseAgent&lt;/code&gt; gets tasks to execute from task database which is defined in &lt;code&gt;Sitecore.config&lt;/code&gt; file like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;TaskDatabase type=&quot;Sitecore.Data.$(database).$(database)TaskDatabase, Sitecore.Kernel&quot;&amp;gt;&#xA;  &amp;lt;param connectionStringName=&quot;core&quot; /&amp;gt;&#xA;&amp;lt;/TaskDatabase&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So by default it is core database. The agent gets pending tasks to execute from &lt;code&gt;dbo.Tasks&lt;/code&gt; table in database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore out of the box define three types of tasks for this agent. Those are &lt;code&gt;EmailRemainderTask&lt;/code&gt;, &lt;code&gt;ArchiveItem&lt;/code&gt; and &lt;code&gt;ArchiveVersion&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content editor users can create those tasks by using Schedule chunk on Review tab: &lt;a href=&quot;https://i.stack.imgur.com/qjSsn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qjSsn.png&quot; alt=&quot;Schedule chung under Review tab&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those tasks are saved on context item under Tasks section:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sc2uH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sc2uH.png&quot; alt=&quot;Tasks section&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And stored in &lt;code&gt;dbo.Tasks&lt;/code&gt; table by &lt;code&gt;OnItemSaving&lt;/code&gt; method of &lt;code&gt;ItemEventHandler&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;item:saving&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Tasks.ItemEventHandler, Sitecore.Kernel&quot; method=&quot;OnItemSaving&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you rather don't want to use &lt;code&gt;TaskDatabaseAgent&lt;/code&gt; but &lt;code&gt;DatabaseAgent&lt;/code&gt; instead.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;DatabaseAgent&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;On the other hand we have two &lt;code&gt;DatabaseAgent&lt;/code&gt; defined out of the box in sitecore. One for &lt;code&gt;core&lt;/code&gt; and one for &lt;code&gt;master&lt;/code&gt; database. Those agents execute tasks that are defined udner &lt;code&gt;/sitecore/system/tasks/schedules&lt;/code&gt; path in sitecore. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Custom Agent&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You can also create custom agent and define it in config file. I wrote more about it &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9054/get-items-by-template-id-in-a-scheduled-task/9056#9056&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-01-13T13:58:49.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9471" PostTypeId="2" ParentId="9466" CreationDate="2018-01-13T15:04:45.320" Score="1" Body="&lt;p&gt;The method I've found to be the most useful for testing the same code against multiple versions of Sitecore, is to setup with the use of Sitecore Instance Manager a starting website instance, such as 8.2.5.  Once that is setup, I will start creating my Visual Studio Solution.  I will then use Gulp to create a Libraries folder in the same folder as my solution:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;gulp.task('Copy-Sitecore-Dlls', function () {&#xA;    fs.statSync(config.sitecoreLibraries);&#xA;    var files = config.sitecoreLibraries + &quot;/**/*&quot;;&#xA;    var libs = gulp.src(files).pipe(gulp.dest(&quot;./libraries&quot;));&#xA;&#xA;    return merge(libs);&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;config.sitecoreLibraries&lt;/code&gt; just has the path to my SIM instances bin folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you never commit this libraries folder however, and configure it in your gitignore file.  Once you have that, you can then reference dlls that are in that libraries folder for the kernel.  If you originally setup 8.2.5 and you have tested it against that, you can now setup with the help of SIM or the install framework (if you are wanting to test against 9.0+) new instances, and then all you need to do is change your gulp config to target this new instance. Once configured you can bring in the version specific dlls into your solution and confirm it'll still build and work with those different versions of the dll's.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now if you found that you had to make specific changes for a specific version, such as code specific to 8.2 or 9.0 for example, you can create new branches in your source control to contain the releases for those specific versions.  So you might end up with a release of your project for 9.0 specifically.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-01-13T15:04:45.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9472" PostTypeId="2" ParentId="8496" CreationDate="2018-01-13T17:31:10.803" Score="-1" Body="&lt;p&gt;For navigation component to work, you need to create that page under Home item, using Page data template. After that, add navigation component in your page and select the style as &lt;code&gt;horizontal/vertical/sidebar&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="2727" LastEditDate="2018-01-14T10:57:15.777" LastActivityDate="2018-01-14T10:57:15.777" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9473" PostTypeId="2" ParentId="8936" CreationDate="2018-01-13T17:44:15.733" Score="2" Body="&lt;p&gt;I got the same issue, with Sitecore 9 as a PAAS on Azure.&#xA;There seems to be some conflict between webforms authentication/authorization in Sitecore and what Azure uses.&#xA;I did'nt find a direct solution, but as a work around i used an HTTP auth module to intercept and challenge using &quot;Basic&quot; or &quot;Digest&quot; authentication/authorization.&#xA; &lt;a href=&quot;https://www.alexlindgren.com/archive/password-protecting-azure-websites-revisited/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Link Here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now this comes with it's own risks,i.e having credentials in clear text in the web.config and also using &quot;Basic&quot; authentication/authorisation sends clear text over the wire (use &quot;Digest&quot; option for encrypted transmission). But as I mentioned, this is a work around which gets things going, until a more elegant solution is found, or Sitecore fixes how they do forms authentication within an Azure context.&lt;/p&gt;&#xA;" OwnerUserId="1359" LastEditorUserId="1359" LastEditDate="2018-01-13T21:05:53.467" LastActivityDate="2018-01-13T21:05:53.467" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9474" PostTypeId="2" ParentId="9425" CreationDate="2018-01-13T20:12:24.230" Score="2" Body="&lt;p&gt;As suggested by @jammykam, I removed the &lt;code&gt;Global.asax&lt;/code&gt;. It stopped the warnings being popped up in my Visual Studio. I don't know why the Sitecore online training teaches you to add this file to the Visual Studio project, but you shouldn't do it as it is NOT recommended adding custom code to Global.asax. If you need anything that you think should go no &lt;code&gt;Global.asax&lt;/code&gt;, please use the &lt;code&gt;Initialize&lt;/code&gt; pipeline or create a custom &lt;strong&gt;Http Module&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2018-01-13T20:12:24.230" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9475" PostTypeId="2" ParentId="9468" CreationDate="2018-01-13T20:46:19.547" Score="2" Body="&lt;p&gt;Just like Michel wrote - it's possible out of the box in SXA. You don't need to drop Search Box rendering. Take a look below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4b8N0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4b8N0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If out would like to have auto-complete from Google in your Location Finder you need to provide the number of options you want to see:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gKNoX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gKNoX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember also about providing Google (or Bing - it depends on what you want to use) key in &lt;code&gt;/sitecore/content/Tenant/Site/Settings/Maps Provider&lt;/code&gt; item.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-01-13T20:46:19.547" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9476" PostTypeId="2" ParentId="9414" CreationDate="2018-01-13T20:49:52.610" Score="9" Body="&lt;p&gt;The easiest way to do this is to install a Solr server Virtual Machine. In my case i spun up a simple DS2 V2 Windows 2016 VM. Configured Solr 6.6.2 using SIFless install.Once you get this working for &quot;localhost:8983/solr&quot;, you will need to open some ports on the VM firewall to allow connections to that port from an ip address range in your azure VNet (i.e. IP of the Sitecore Web App). Typically its better to allow VNet to VNet peering so its more secure and direct.&#xA;After this end-point is done, go setup the Solr base address in your Sitecore.config to point to your Solr VM.You may need to do a &quot;Populate solr schema&quot; to kickstart indexing ..etc&#xA; But if you make it this far, then you have achieved communication between the two.&lt;/p&gt;&#xA;" OwnerUserId="1359" LastActivityDate="2018-01-13T20:49:52.610" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9477" PostTypeId="2" ParentId="9438" CreationDate="2018-01-13T22:16:46.383" Score="1" Body="&lt;p&gt;Indeed, as @jammykam said, you should split the conditions in 2 different renderings and handling the visibility through rules engine. If you think that conditions are quite complex to be adapted for rules engine then split the functionality in 2 views.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For other side, normally for dealing with ViewLocations on POST actions we create a custom dynamic route called &quot;MyProjectApi/{controller}/{action}&quot; indicating the ViewLocations following this convention &quot;Components/{0}/{1}&quot; which 0 is the controller and 1 is the action. On this way you can separate the standard route resolving in Sitecore for POST actions, which are nothing to do with Sitecore Content Tree items.&lt;/p&gt;&#xA;" OwnerUserId="3087" LastActivityDate="2018-01-13T22:16:46.383" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9479" PostTypeId="1" AcceptedAnswerId="9480" CreationDate="2018-01-14T04:31:18.060" Score="3" ViewCount="3310" Body="&lt;p&gt;We are on Sitecore 7.2 as of now and will be upgrading to Sitecore 9 soon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rather using WFFM planning to use the Sitecore Forms module for few of the business requirements. But most of the requirements need to send an email post submitting the form and I don’t see any Submit action in the Form Module to Send Emails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore Forms Module not coming with this action OOTB or we need to change any configuration to get that submit action?&lt;/p&gt;&#xA;" OwnerUserId="3089" LastActivityDate="2018-06-06T11:26:04.387" Title="No Send Email Submit Action in Sitecore Forms Module" Tags="|sitecore-forms|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9480" PostTypeId="2" ParentId="9479" CreationDate="2018-01-14T04:34:42.960" Score="10" Body="&lt;p&gt;Sitecore Forms module on Sitecore 9 Initial release comes with only 5 Submit Actions OOTB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trigger Goal, Trigger Campaign Activity, Trigger Outcome, Redirect to Page and Save Data&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To send email on Submit action either you can use Marketing Automation and send emails by selecting “Trigger Goal” submit action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Else you can write Custom Save Action to Send Emails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Else Sitecore 9.0 Update 1 comes with one additional Submit Action – Send Email Campaign Message, try exploring that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. I haven’t tested the new Submit Action yet, assuming it should work without any issues.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 1:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Also have a look at this Custom Send Email Action, also explaining the issues with OOTB Send Email Campaign Message action with Sitecore Forms:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.nishtechinc.com/Blog/2018/April/Send-E-mail-Action-to-Sitecore-9-Forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nishtechinc.com/Blog/2018/April/Send-E-mail-Action-to-Sitecore-9-Forms&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-05-03T20:08:04.810" LastActivityDate="2018-05-03T20:08:04.810" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="9482" PostTypeId="2" ParentId="9426" CreationDate="2018-01-14T20:09:36.757" Score="2" Body="&lt;p&gt;Unfortunately there isn't much that you can do about it since you are at the mercy of the exchanges servers.   I recommend sending the user to a confirmation page that requires the user to click a button on the page before triggering the campaign. This is really the only way to fix this common issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way is to look at the user agent.  My company noticed a kind of pattern with it.   I can't remember what it was exactly but look through your Mongo data and you should be able to find one. You can ignore or make these requests go to a confirmation page. Don't 404 these though. The exchange server might interpret it as a malicious email. &lt;/p&gt;&#xA;" OwnerUserId="3070" LastEditorUserId="1671" LastEditDate="2018-01-15T07:55:39.867" LastActivityDate="2018-01-15T07:55:39.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9483" PostTypeId="1" AcceptedAnswerId="9490" CreationDate="2018-01-15T04:28:27.137" Score="1" ViewCount="361" Body="&lt;p&gt;I've set up a new Sitecore 9 instance on an AWS EC2 instance and I'm having difficulty with some functions while editing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the simplest case, I can't save any edited content in Experience Editor - but only when editing external to the EC2 server and only within the Experience Editor (Content Editor allows basic editing without issue). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I access the site externally via Cloudflare HTTPs via a DNS entry routed to an Elastic IP address and have a simple IIS binding of: &#xA;Type: http &#xA;IP address: All Unassigned &#xA;Port: 80&#xA;Host name: *&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I navigate to Experience Editor for editing, my basic editing appears to work (I can edit some rich text fields). However, when I hit save, nothing happens. The following appears in my browser console:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;require.js:121 GET https://&amp;lt;sitename&amp;gt;/sitecore/shell/-/speak/v1/pipelines/pipeline.js?id=%7b73D2BB02-F53F-4045-8BC6-4E3430C291F0%7d&amp;amp;b=1 net::ERR_ABORTED&#xA;req.load @ require.js:121&#xA;load @ require.js:113&#xA;load @ require.js:56&#xA;fetch @ require.js:56&#xA;check @ require.js:57&#xA;enable @ require.js:74&#xA;enable @ require.js:102&#xA;(anonymous) @ require.js:74&#xA;(anonymous) @ require.js:12&#xA;each @ require.js:4&#xA;enable @ require.js:72&#xA;init @ require.js:55&#xA;(anonymous) @ require.js:98&#xA;setTimeout (async)&#xA;(anonymous) @ require.js:118&#xA;localRequire @ require.js:98&#xA;requirejs @ require.js:118&#xA;loadAndInitPipeline @ Pipeline.js:2&#xA;initPipeline @ ExperienceEditor.js:89&#xA;initAndExecutePipeline @ ExperienceEditor.js:89&#xA;execute @ 8313935261293240954.JS:4&#xA;runCommandExecute @ ExperienceEditor.js:100&#xA;executeCommandFromButton @ ExperienceEditor.js:105&#xA;(anonymous) @ RibbonPageCode.js:25&#xA;execFunction @ 3727220966836492394.js:912&#xA;top.initModalDialog @ 3727220966836492394.js:914&#xA;(anonymous) @ RibbonPageCode.js:25&#xA;triggerEvents @ backbone.1.0.0.js:10&#xA;trigger @ backbone.1.0.0.js:5&#xA;execute @ sitecore-1.0.2.js:132&#xA;(anonymous) @ sitecore-1.0.2.js:126&#xA;_.each._.forEach @ underscore.1.4.4.js:4&#xA;execute @ sitecore-1.0.2.js:125&#xA;execute @ sitecore-1.0.2.js:112&#xA;click @ sitecore-1.0.2.js:81&#xA;model.viewModel.(anonymous function) @ sitecore-1.0.2.js:35&#xA;(anonymous) @ knockout-2.2.1.js:257&#xA;dispatch @ jquery-2.1.1.js:257&#xA;elemData.handle @ jquery-2.1.1.js:232&#xA;require.js:17 Uncaught Error: Script error for: /sitecore/shell/-/speak/v1/pipelines/pipeline.js?id=%7b73D2BB02-F53F-4045-8BC6-4E3430C291F0%7d&amp;amp;b=1&#xA;http://requirejs.org/docs/errors.html#scripterror&#xA;    at makeError (require.js:17)&#xA;    at HTMLScriptElement.onScriptError (require.js:113)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This problem is not occurring when I access the site locally, with the main difference being that I'm not going through Cloudflare with HTTPS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is probably something fairly fundamental and simple that I'm missing in setting up the site and fixing this may well fix some other editing issues I've found. But I'm not sure where to go from here.&lt;/p&gt;&#xA;" OwnerUserId="2734" LastEditorUserId="70" LastEditDate="2018-01-15T05:07:14.380" LastActivityDate="2018-01-15T13:57:06.653" Title="Having difficulty with new Sitecore installation - can't save edits in Experience Editor (Sitecore 9)" Tags="|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9484" PostTypeId="1" CreationDate="2018-01-15T06:55:05.020" Score="6" ViewCount="2155" Body="&lt;p&gt;While accessing my Sitecore Commerce application, I am getting the following error.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{ &#xA;  &quot;@odata.context&quot;:&quot;&lt;a href=&quot;http://localhost:5000/Api/&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:5000/Api/&lt;/a&gt;$metadata#Sitecore.Commerce.Core.CommandMessage&quot;,&quot;MessageDate&quot;:&quot;2018-01-15T06:47:14.4591881Z&quot;,&quot;Code&quot;:&quot;Error&quot;,&quot;Text&quot;:&quot;Shop&#xA;  'Storefront' does not exist.&quot;,&quot;CommerceTermKey&quot;:&quot;InvalidShop&quot; }&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The complete exception is : Description: An unhandled exception&#xA;  occurred. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: Microsoft.OData.Client.DataServiceClientException:&#xA;  { &#xA;  &quot;@odata.context&quot;:&quot;&lt;a href=&quot;http://localhost:5000/Api/&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:5000/Api/&lt;/a&gt;$metadata#Sitecore.Commerce.Core.CommandMessage&quot;,&quot;MessageDate&quot;:&quot;2018-01-15T06:47:14.4591881Z&quot;,&quot;Code&quot;:&quot;Error&quot;,&quot;Text&quot;:&quot;Shop&#xA;  'Storefront' does not exist.&quot;,&quot;CommerceTermKey&quot;:&quot;InvalidShop&quot; }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please suggest what could be the solution?&lt;/p&gt;&#xA;" OwnerUserId="2512" LastEditorUserId="312" LastEditDate="2018-03-02T09:45:05.280" LastActivityDate="2019-12-03T16:21:03.510" Title="Shop 'Storefront' does not exist exception while accessing Sitecore commerce application" Tags="|sitecore-commerce|commerce-connect|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9485" PostTypeId="1" CreationDate="2018-01-15T07:49:46.313" Score="2" ViewCount="412" Body="&lt;p&gt;I'm working on Sitecore 8.0 rev. &lt;strong&gt;151127&lt;/strong&gt;. I have tried all the options provided in question at &lt;a href=&quot;https://stackoverflow.com/questions/19921649/external-general-link-open-in-new-window&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I am unable to get target attribute render in anchor tag. When I see the raw values for the link I can see the target is set to &quot;_blank&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KoSHz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KoSHz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GVbAE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GVbAE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After publishing when, I see the link, there is no target attribute set in anchor.&lt;a href=&quot;https://i.stack.imgur.com/D8nJ4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D8nJ4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2018-01-17T07:21:47.617" LastActivityDate="2018-01-17T07:21:47.617" Title="Target attribute on external link is not getting rendered" Tags="|links|" AnswerCount="0" CommentCount="5" ClosedDate="2018-01-15T15:29:34.683" ContentLicense="CC BY-SA 3.0" />
  <row Id="9486" PostTypeId="1" CreationDate="2018-01-15T10:55:00.147" Score="1" ViewCount="62" Body="&lt;p&gt;Is it possible to use engagement plans to implement something like, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;User visits FAQ page 3 times in one session: Trigger action to show chat panel. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;User should be enrolled in engagement plan on first visit of FAQ page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are engagement plans intended to be used for such cases, or more for offline stuff, to re-engage people that don't return to your site?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I asked this as I found that SSE questions about engagement plans, not executing during a user's session, explaining here &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1269/engagement-plans-why-is-a-user-not-added-to-an-engagement-plan-until-the-sessio&quot;&gt;Engagement Plans: Why is a user not added to an engagement plan until the session of a user is timed out?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2540" LastEditorUserId="2727" LastEditDate="2018-01-15T12:43:45.060" LastActivityDate="2018-01-15T12:43:45.060" Title="Engagement plans for in-session engagement possible?" Tags="|engagement-plans|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9487" PostTypeId="1" CreationDate="2018-01-15T10:58:52.377" Score="6" ViewCount="1313" Body="&lt;p&gt;So I've wanted to change the default format of the date time field in the experience editor. I've had a look and most people suggest &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Editable(item,  x =&amp;gt; x.Start_Date, x=&amp;gt;x.Start_Date.ToString(&quot;MMMM dd,yyyy&quot;))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but the problem is that, it will only show the custom datetime format on the final page, but I want the custom format to be shown on the experience editor as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anyway I can achieve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks. &lt;/p&gt;&#xA;" OwnerUserId="2696" LastActivityDate="2018-01-19T11:11:00.357" Title="Glass Mapper: DateTime format in experience editor" Tags="|experience-editor|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9488" PostTypeId="1" CreationDate="2018-01-15T12:23:25.123" Score="6" ViewCount="1070" Body="&lt;p&gt;What is the best approach to add custom action after the item deleted, such as remove the item Guid from my custom database if that item deleted from Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="3091" LastActivityDate="2018-01-15T12:49:16.363" Title="Sitecore - Add custom action after delete item" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9489" PostTypeId="2" ParentId="9488" CreationDate="2018-01-15T12:36:38.310" Score="4" Body="&lt;p&gt;You need to implement a custom event handler for item:deleted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest you patch it from a configuration file and Sitecore will load it for you and execute in this case when the item is deleted.&#xA;You can read more about with examples &lt;a href=&quot;https://sdn.sitecore.net/articles/api/using%20events.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The idea in a nutshell is for you to extend the events that get triggered in Sitecore when an action is being executed, in your case the deletion of an item. This works pretty much for other actions as well like item being saved, renamed, moved, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when you patch it and open the showconfig page you will get something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;item:deleted&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Links.ItemEventHandler, Sitecore.Kernel&quot; method=&quot;OnItemDeleted&quot;/&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Tasks.ItemEventHandler, Sitecore.Kernel&quot; method=&quot;OnItemDeleted&quot;/&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Globalization.ItemEventHandler, Sitecore.Kernel&quot; method=&quot;OnItemDeleted&quot;/&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Data.Fields.ItemEventHandler, Sitecore.Kernel&quot; method=&quot;OnItemDeleted&quot;/&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Rules.ItemEventHandler, Sitecore.Kernel&quot; method=&quot;OnItemDeleted&quot;/&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Caching.Placeholders.PlaceholderCacheManager, Sitecore.Kernel&quot; method=&quot;UpdateCaches&quot;/&amp;gt;&#xA;    &amp;lt;handler type=&quot;YourType, YourAssembly&quot; method=&quot;YourMethod&quot;/&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From there you need to implement YourMethod on YourType with your custom logic&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2018-01-15T12:49:16.363" LastActivityDate="2018-01-15T12:49:16.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9490" PostTypeId="2" ParentId="9483" CreationDate="2018-01-15T13:57:06.653" Score="0" Body="&lt;p&gt;Cloudflare acts as a CDN, edge caching requests. This will break most editing functions as they require a valid logged in session on the origin server. It is usually best practice for content authors to hit the server directly and not through a caching server.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-01-15T13:57:06.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9491" PostTypeId="2" ParentId="9394" CreationDate="2018-01-15T15:47:57.870" Score="1" Body="&lt;p&gt;First Verify what cores are available in the Solr app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did you go through the process of setting up the cores for Sitecore in the config files? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;Populate Solr Managed Schema&quot; should contain the cores you have defined for the indexes in Sitecore, then push those cores to the Solr server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore documentation &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/solr_managed_schemas&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If all that is good,assuming you have VNets (recommended practice)  for both your Web apps,next you'll want to check the communication between the two VNets of the Web Apps,i.e setup VNet peering and allow IP access rules between the Solr VNet and Sitecore VNet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Azure docs &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;-If no VNets are setup then just add the address of your Solr web app to the config file.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set up the base address for solr in the &quot;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&quot; to point to your Solr web app IP.&lt;/p&gt;&#xA;" OwnerUserId="1359" LastEditorUserId="1359" LastEditDate="2018-01-15T16:14:28.057" LastActivityDate="2018-01-15T16:14:28.057" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9492" PostTypeId="1" AcceptedAnswerId="9515" CreationDate="2018-01-15T15:50:58.197" Score="7" ViewCount="698" Body="&lt;p&gt;To all the current organizers/hosts of various Sitecore User Groups across the globe, would like to ask that if someone wants to start a new Sitecore User Group, what are the:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Process of registering and listing the new SUG.&lt;/li&gt;&#xA;&lt;li&gt;Tips to keep the lights on - Sponsorship of the meetups, Inviting presenters (specially who need travel to present) etc. &lt;/li&gt;&#xA;&lt;li&gt;Do’s and don’ts.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-01-16T16:24:41.223" Title="Guidelines to start a new Sitecore User Group" Tags="|community|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9494" PostTypeId="1" CreationDate="2018-01-15T19:41:23.207" Score="2" ViewCount="531" Body="&lt;p&gt;I recently updated from SXA 1.4 to 1.6 and now the Import and Export buttons are grayed out. Any ideas on how to fix this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are on Sitecore 8.2 update 6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I34Tz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I34Tz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3094" LastEditorUserId="1671" LastEditDate="2018-01-15T21:22:57.640" LastActivityDate="2018-01-17T18:38:38.673" Title="SXA 1.6 Creative Exchange Import Export options grayed out" Tags="|sxa|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9495" PostTypeId="2" ParentId="9492" CreationDate="2018-01-15T19:42:34.133" Score="6" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Register on meetup.com and post to Slack (&lt;a href=&quot;https://bit.ly/SitecoreSlackSignup&quot; rel=&quot;noreferrer&quot;&gt;https://bit.ly/SitecoreSlackSignup&lt;/a&gt;); contact your local Sitecore office to help with initial promotion to customers and agencies nearby&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Don’t count on sponsorship but accept it when/if it comes; there’s no “I” In community (except the one at the end, but we don’t talk about him, since the thing that time). Find a cheap, reliabably available location that can hold 50 but doesn’t feel empty at 15. Services offices and co-working spaces often have space like this and love the free promotion. Split sponsorship into food/bevs/room and be happy for all 3! Booze is expensive, pizza is not - devs love pizza!! Count on $500-1000 per event at least.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Just be conscious that it isn’t free and takes a lot of time to keep finding sponsors and speakers, so be the guy that will fill in when there’s a gap. Helps if you own an agency that can sponsor 5-7 a year!&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="131" LastActivityDate="2018-01-15T19:42:34.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9496" PostTypeId="2" ParentId="9457" CreationDate="2018-01-15T22:23:21.410" Score="1" Body="&lt;p&gt;Disclaimer: Not sure if this is the exact root cause in your scenario.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I googled the exception mentioned (&quot;&lt;em&gt;System.Web.EtwTrace.Trace - Sitecore exception&lt;/em&gt;&quot;) in the question above and it takes me to an Sitecore Knowledge base article below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/346314&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/346314&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The article takes you to a Microsoft page which talks about &lt;strong&gt;&lt;em&gt;Disabling Failed Requests in IIS 7&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest to try the solutions by Microsoft and see if those resolve your problem. &lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-01-15T22:23:21.410" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9497" PostTypeId="1" CreationDate="2018-01-15T23:05:57.013" Score="1" ViewCount="149" Body="&lt;p&gt;&quot;PowerShell Script Workflow Action&quot;(approve/reject) is not fired from the workbox page on IE browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whereas it is working fine on chrome browser. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;None of the buttons(approve,approval all, reject etc) fires the PowerShell Script Workflow Action&lt;a href=&quot;https://i.stack.imgur.com/NjRoK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NjRoK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1729" LastEditorUserId="73" LastEditDate="2019-05-27T09:35:30.997" LastActivityDate="2019-05-27T09:35:30.997" Title="&quot;PowerShell Script Workflow Action&quot;(approve/reject) is not fired from the workbox page on IE browser" Tags="|powershell-extensions|workbox|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9498" PostTypeId="1" AcceptedAnswerId="9499" CreationDate="2018-01-16T05:59:36.147" Score="10" ViewCount="2669" Body="&lt;p&gt;Currently, We are on Sitecore PaaS. There are some issues and we are not able to find out the root cause of those issues. We tried to find out some clues in Sitecore log file but We noticed that there is no log file in the directory &lt;code&gt;/site/wwwroot/App_Data/logs&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried with Sitecore client interface to load log file, but even there, i didn't get any log file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts or idea, where I can find it or is it something we need to setup? &lt;/p&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="73" LastEditDate="2018-01-16T08:19:13.473" LastActivityDate="2018-01-16T09:30:16.703" Title="Sitecore PaaS Log files missing" Tags="|azure|logging|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9499" PostTypeId="2" ParentId="9498" CreationDate="2018-01-16T06:27:23.960" Score="16" Body="&lt;p&gt;Accessing Sitecore XP logs and diagnostics information on Azure Web Apps differs from the on-premise approach. This article explains how to collect basic Sitecore diagnostics information, such as logs and configuration data, for a Sitecore XP solution deployed to Azure Web Apps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To access enhanced logging data of a Sitecore XP instance deployed to Azure Web Apps, it is recommended to browse preconfigured AppInsights records using AppInsights Analytics Portal:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to Azure Portal (&lt;a href=&quot;https://portal.azure.com&quot; rel=&quot;noreferrer&quot;&gt;https://portal.azure.com&lt;/a&gt;).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Select the specific Application Insights object related to Sitecore XP deployment.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the Overview section, click the Analytics tab at the top of the page.&#xA;On the AppInsights Analytics Portal page, create a new tab and enter the relevant query to the Sitecore logs storage:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;traces&#xA;| where cloud_RoleInstance == 'CloudRole'&#xA;| where timestamp &amp;gt; now(-14d)&#xA;| project timestamp, message&#xA;| sort by timestamp desc&#xA;The &quot;CloudRole&quot; value for the needed instance (CM, CD, Processing, Reporting, Single) can be determined using the following query:&#xA;&#xA;traces&#xA;| extend scinstancename=parsejson(customDimensions).InstanceName&#xA;| where timestamp &amp;gt; now(-1d)&#xA;| summarize count(), any(tostring(scinstancename)) by cloud_RoleInstance&#xA;| extend InstanceName=any_scinstancename&#xA;| extend CloudRole=cloud_RoleInstance&#xA;| project InstanceName, CloudRole&#xA;| order by InstanceName asc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;InstanceName — a self-descriptive name of a solution&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CloudRole — a name of a cloud role. Each scaled-out instance is associated with several cloud roles containing their own logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After logs are retrieved, they can by exported to a CSV file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details about writing custom queries, use the analytics query reference from Microsoft Azure documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More informations you can find at: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/analytics/analyze_sitecore_logs_with_application_insights&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/analytics/analyze_sitecore_logs_with_application_insights&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/911837&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/911837&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&#xA;  Is possible to Enable logstream on Azure app service. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/X5IgX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/X5IgX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/app-service/web-sites-enable-diagnostic-log&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/app-service/web-sites-enable-diagnostic-log&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-01-16T09:30:16.703" LastActivityDate="2018-01-16T09:30:16.703" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9501" PostTypeId="1" CreationDate="2018-01-16T06:59:28.583" Score="1" ViewCount="458" Body="&lt;p&gt;Sitecore log recently reported an error during aggregation. While going through the log file, found an exception below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.Data.SqlClient.SqlException Message: T-SQL ERROR&#xA;  242, SEVERITY 16, STATE 3, PROCEDURE (null), LINE 474, MESSAGE: The&#xA;  conversion of a datetime data type to a smalldatetime data type&#xA;  resulted in an out-of-range value. Source: .Net SqlClient Data&#xA;  Provider   at System.Data.SqlClient.SqlConnection.OnError(SqlException&#xA;  exception, Boolean breakConnection, Action&lt;code&gt;1 wrapCloseInAction)   at&#xA;  System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject&#xA;  stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)   at&#xA;  System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior,&#xA;  SqlCommand cmdHandler, SqlDataReader dataStream,&#xA;  BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject&#xA;  stateObj, Boolean&amp;amp; dataReady)   at&#xA;  System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,&#xA;  RunBehavior runBehavior, String resetOptionsString)   at&#xA;  System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior&#xA;  cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean&#xA;  async, Int32 timeout, Task&amp;amp; task, Boolean asyncWrite, SqlDataReader&#xA;  ds)   at&#xA;  System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior&#xA;  cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String&#xA;  method, TaskCompletionSource&lt;/code&gt;1 completion, Int32 timeout, Task&amp;amp; task,&#xA;  Boolean asyncWrite)   at&#xA;  System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1&#xA;  completion, String methodName, Boolean sendToPipe, Int32 timeout,&#xA;  Boolean asyncWrite)   at&#xA;  System.Data.SqlClient.SqlCommand.ExecuteNonQuery()   at&#xA;  Sitecore.Data.DataProviders.Sql.DataProviderTransaction.Dispose()   at&#xA;  Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.&amp;lt;&gt;c__DisplayClass5.b__2()&#xA;  at Sitecore.Data.DataProviders.NullRetryer.ExecuteNoResult(Action&#xA;  action, Action recover)   at&#xA;  Sitecore.Analytics.Aggregation.SqlReportingStorageProvider.Store(Guid&#xA;  id, AggregationDataSet data)   at&#xA;  Sitecore.ExperienceAnalytics.Client.Platform.SwitchingReportingStorageProvider.Store(Guid&#xA;  id, AggregationDataSet data)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please suggest, what should be the possible reason for this kind of error?&lt;/p&gt;&#xA;" OwnerUserId="3019" LastEditorUserId="2727" LastEditDate="2018-01-16T13:58:10.700" LastActivityDate="2018-01-16T13:58:10.700" Title="Sitecore Log reports an issue: Error during Aggregation" Tags="|xdb|reporting|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9502" PostTypeId="2" ParentId="8222" CreationDate="2018-01-16T07:42:27.800" Score="1" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;what I need to change is the css and style to be diff between the two language &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Media&lt;/code&gt; field is &lt;strong&gt;shared&lt;/strong&gt; thus you cannot do it right now.(by default theme's media items are unversioned).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FWTsq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FWTsq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have you tried to define different directions in common CSS and enable it depending on a lang attribute in &lt;code&gt;html&lt;/code&gt; tag?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V5VxT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V5VxT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-01-16T07:47:36.040" LastActivityDate="2018-01-16T07:47:36.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9503" PostTypeId="2" ParentId="9492" CreationDate="2018-01-16T09:04:47.093" Score="4" Body="&lt;p&gt;We had a similar type of discussion is past on the Sitecore Slack. After that we have a separate channel only for Sitecore user group. Richard provided very good information and I am sharing a link where you can get more information about &lt;strong&gt;Getting Started for Sitecore User Groups&lt;/strong&gt;. - &#xA;&lt;a href=&quot;https://docs.google.com/document/d/1MxckXp00uLMl1iBuQqVAAdnZSD3EAmvQ4pdxIePCIeA/edit#heading=h.796l1kgbu6l&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.google.com/document/d/1MxckXp00uLMl1iBuQqVAAdnZSD3EAmvQ4pdxIePCIeA/edit#heading=h.796l1kgbu6l&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest you to join the channel and read the above link.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2018-01-16T09:04:47.093" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9504" PostTypeId="2" ParentId="9487" CreationDate="2018-01-16T09:54:13.077" Score="3" Body="&lt;p&gt;As far as I know this is not possible out of the box, but you can do the following as a workaround:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.Glass().BeginEditFrame(Model, &quot;Edit Date&quot;, x =&amp;gt; x.Start_Date))&#xA;{&#xA;    Model.Start_Date.ToString(&quot;MMMM dd,yyyy&quot;)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Others maybe have a better solution.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2018-01-16T09:54:13.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9505" PostTypeId="2" ParentId="9501" CreationDate="2018-01-16T10:13:30.793" Score="4" Body="&lt;p&gt;There is KB article for similar problem, The may occur when a contact submits a particular web form created using the WFFM module two or more times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see below link - &#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/282795&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/282795&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and there is good blog as well by Chaturanga - &lt;a href=&quot;https://sitecorefootsteps.blogspot.in/2015/06/sitecore-8-wffm-data-aggregation-error.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorefootsteps.blogspot.in/2015/06/sitecore-8-wffm-data-aggregation-error.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can try these solutions.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2018-01-16T10:13:30.793" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9506" PostTypeId="1" AcceptedAnswerId="9518" CreationDate="2018-01-16T10:13:30.873" Score="4" ViewCount="191" Body="&lt;p&gt;I have the below situation.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a .NET Core application that sends a Contact with Facet data to xConnect to show interest in a category (using profile keys). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A Sitecore website, on which I track a Contact, to show a commercial based on interest shown in the category.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It worked first time when I tried, i got the commercial that i was expecting. Than i updated my profile keys again in my .NET Core application, and i can see my &lt;code&gt;ContactBehaviourProfile&lt;/code&gt; being updated to the new interest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when i log into the Sitecore website and start tracking the Contact with changed interests, the commercial from the first setting poped up.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have my rules set up like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/w5ETn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w5ETn.png&quot; alt=&quot;Rules&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't have much experience with Sitecore but heard somewhere that Contact data is flushed to xDB when session ends, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore 9/ xConnect have the same behaviour?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;br&gt;&#xA;I tried updating and using the RemoveFromSession method. I am now calling the method before returning the view but i am still getting the old Contact.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [HttpPost]&#xA;    public ActionResult Track(string email)&#xA;    {&#xA;        if (Request.Form[&quot;Email&quot;] != null)&#xA;        {&#xA;            if (Request.Form[&quot;Email&quot;] != &quot;&quot;)&#xA;                Tracker.Current.Session.IdentifyAs(&quot;email&quot;, Request.Form[&quot;email&quot;]);&#xA;        }&#xA;        var contact = Tracker.Current.Session.Contact; // this is for debugging&#xA;        Sitecore.XConnect.Contact Contact = GetContactWithBehaviourProfile(email); // this is for debugging&#xA;        FillViewBag();&#xA;        var manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as Sitecore.Analytics.Tracking.ContactManager;&#xA;        manager.RemoveFromSession(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;        return View();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="2555" LastEditDate="2018-01-23T15:55:09.893" LastActivityDate="2018-01-23T15:55:09.893" Title="Experience Editor's unexpected behavior" Tags="|personalization|xconnect|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="9507" PostTypeId="2" ParentId="9429" CreationDate="2018-01-16T11:19:24.253" Score="2" Body="&lt;p&gt;FYI, and in case it could help, the new Sitecore ARM Templates just had been released here: &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&lt;/a&gt; with this commit: &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/commit/d258f794489abc3e56c67f27af708b519cc157d3&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/commit/d258f794489abc3e56c67f27af708b519cc157d3&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2746" LastActivityDate="2018-01-16T11:19:24.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9508" PostTypeId="2" ParentId="9461" CreationDate="2018-01-16T11:33:40.223" Score="1" Body="&lt;p&gt;FYI, and in case it could help, the new Sitecore ARM Templates just had been released here: &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&lt;/a&gt; with this commit &quot;Support for Sitecore 9.0 Update-1&quot;: &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/commit/d258f794489abc3e56c67f27af708b519cc157d3&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/commit/d258f794489abc3e56c67f27af708b519cc157d3&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2746" LastEditorUserId="2746" LastEditDate="2018-02-13T20:39:16.183" LastActivityDate="2018-02-13T20:39:16.183" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9509" PostTypeId="2" ParentId="606" CreationDate="2018-01-16T11:41:09.943" Score="2" Body="&lt;p&gt;We had exactly the same problem. After rebuild of &lt;strong&gt;sitecore_marketingdefinitions_master&lt;/strong&gt; and &lt;strong&gt;sitecore_marketing_asset_index_master&lt;/strong&gt; indexes it's fully functional again.&lt;/p&gt;&#xA;" OwnerUserId="730" LastActivityDate="2018-01-16T11:41:09.943" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9512" PostTypeId="1" CreationDate="2018-01-16T13:28:00.023" Score="-4" ViewCount="177" Body="&lt;p&gt;&lt;strong&gt;&lt;em&gt;Please advise me how to upgrade from 8.0 to 8.2 update 3 with WFFM&#xA;module in local and also UAT and PRD environment.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the following process step by step.Please suggest .&lt;/p&gt;&#xA;" OwnerUserId="3019" LastEditorUserId="3019" LastEditDate="2018-01-16T14:26:17.433" LastActivityDate="2018-01-16T14:26:17.433" Title="Sitecore Version Upgrade 8.0 to 8.2" Tags="|versions|update-packages|" AnswerCount="1" CommentCount="2" ClosedDate="2018-01-16T14:19:53.590" ContentLicense="CC BY-SA 3.0" />
  <row Id="9513" PostTypeId="2" ParentId="9512" CreationDate="2018-01-16T14:16:54.623" Score="1" Body="&lt;p&gt;You'll find several blog posts on how to upgrade, but I can provide here the initial steps.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the documentation page of the Sitecore version you want to update to and download the upgrade guide. In your case, open &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update3.aspx&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g2mcp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g2mcp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Check the prerequisites in the upgrade guide&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/z97H5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/z97H5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;If your current Sitecore version is not supported for this upgrade then you need to read the upgrade guide of the minimum version supported. e.g. Sitecore 8.1 rev. 151003 (Initial Release). It might require you updating first to one version, then to another, until you reach the desired version. Also, you should check the &lt;strong&gt;Express Migration tool&lt;/strong&gt; which can give you a hand on that.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I strongly advise you to read through all the provided documentation. Also, you need to know that you'll have to update legacy/deprecated code in your Visual Studio solution, Sitecore modules and etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The upgrade guide tells you the minimum you need to know.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2018-01-16T14:16:54.623" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9514" PostTypeId="1" AcceptedAnswerId="9597" CreationDate="2018-01-16T14:50:29.170" Score="12" ViewCount="632" Body="&lt;p&gt;We are currently working on a project, where we implemented a registration process using WFFM, EXM and Engagement Plans. We are facing one specific issue, regarding the contact identification with EXM. Before giving you the concrete issue and technical details, I would like to provide some context, by making a use case:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Use case&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A married couple is sharing one device for surfing the web. The wife is registered on &lt;em&gt;OurWebsite&lt;/em&gt; and is currently logged in. Her husband is fascinated by &lt;em&gt;OurWebsite&lt;/em&gt; and would like to register too. His wife is logging out and then husband is using the registration form to register as a new user, inside the same browser window which his wife used before. He is sending the registration form and an email with a confirmation request is being send to his email address (wife and husband have different email addresses). He clicks on the confirmation link inside the email and is being redirected to &lt;em&gt;OurWebsite&lt;/em&gt;, where he is now able to log in, with his newly created user credentials.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Implementation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;WFFM Save Actions are used to: Create and disable a user | Update the contact details | Load the contact into an engagement plan.&lt;/li&gt;&#xA;&lt;li&gt;The engagement plan is used to: Send the EXM Standard Message, which contains the confirmation mail | Enable the user, which is related to the contact, when a goal is triggered on the opt-in page for the contact | delete the user, when the goal is not triggered after 24h&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Up until the point, where the email is being send, the process seems to work fine. But when the visitor is being redirected to &lt;em&gt;OurWebsite&lt;/em&gt; the current contact may be the wrong one or two contact with different identifiers are being merged, since the contact of the current session is still identified to the wife. In the end, the triggered goal is not registered for the contact, which relates to the newly created user and the user is not being enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Questions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We haven't investigated the issue to the smallest detail yet, but are facing three questions and hope that any of you could share some insight with us:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;With the usage of EXM and Engagement Plans we are heavily relying on contacts and the relation from contacts to the user. Are contacts suitable for such a process?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We are asking this especially with the thought in mind, that since we do so, we are expecting a 1:1 relationship of contact and user. We are not sure, if we are supposed to use contacts in this way and if our approach is the &quot;Sitecore way&quot; to implement such a process.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Now that we are already this far in the implementation, what is &quot;the best way&quot; of solving our issue?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We are thinking of adding a step before the &lt;code&gt;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.IdentifyContact&lt;/code&gt; processor, where we would abandon the current session or release the current contact, if the current contact is already known and the identifier does not match the identifier, which is proposed by EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another possibility would be to work around, by passing custom parameters through the email and catch them later on to assure the success of the registration process (probably without engagement plans).&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;What exactly happens internally, when a contact is already known for a session and is being identified again with another identifier?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further information&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably relevant is, that we are following the WFFM standard way to identify the contacts. &lt;code&gt;Identifier = {Domain}/{UserName}&lt;/code&gt;, &lt;code&gt;UserName = Email&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, we are working with Sitecore 8.2 Update-1 and EXM 3.4.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am already very thankful for help and insight, that you may provide on this topic. If you would like to have any further information, please let me know.&lt;/p&gt;&#xA;" OwnerUserId="3099" LastEditorUserId="2727" LastEditDate="2018-02-09T08:34:28.807" LastActivityDate="2018-05-09T14:58:02.687" Title="Subscribing to EXM Email: How do you manage multiple contacts using the same computer?" Tags="|xdb|exm|user-management|tracking|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9515" PostTypeId="2" ParentId="9492" CreationDate="2018-01-16T16:24:41.223" Score="7" Body="&lt;p&gt;&lt;strong&gt;Getting Started Guide for Sitecore User Groups&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Experienced host/organizers of various Sitecore User Groups sharing their experiences and guidelines which can help people who are interested in starting a new Sitecore User Group. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Michael Ian Reynolds:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create group on meetup.com.&lt;/li&gt;&#xA;&lt;li&gt;Find a location sponsor for the meetup session (this needs to be done for every meetup session).&#xA;a. Set up a meeting to view the space.&#xA;    i. Determine if the space is large enough to hold up to 30+ people (of course this may vary by region).&#xA;b. Enquire about parking.&#xA;c. Ask whether the venue's doors lock after business hours (I was once locked out of a user group after stepping out for a cigarette).&#xA;d. Ensure a projector/screen or a large television are available with the capability of hooking up to a laptop for presentations.&#xA;e. Ask if microphones are available (if not, you might have to purchase these).&lt;/li&gt;&#xA;&lt;li&gt;Find food and beverages (soft drinks and beer) sponsor(s) (this needs to be done for every meetup session).&#xA;a. Could have one sponsor for both, or individual sponsors for each.&lt;/li&gt;&#xA;&lt;li&gt;Find speaker(s) for the meetup session (this needs to be done for every meetup session).&lt;/li&gt;&#xA;&lt;li&gt;Decide on whether the meetup should be streamed via a Google Hangout (this needs to be determined for each meetup session, and is decided on a case-to-case basis).&#xA;a. Would need a video camera for this.&lt;/li&gt;&#xA;&lt;li&gt;Continuously promote sessions on LinkedIn, Twitter, Facebook, the Sitecore Community Slack and Google Plus (not sure if anyone even uses this anymore but it wouldn't hurt), reddit, etc.&#xA;a. It's best to start doing this at least 2 weeks before the session but ideally 1 month before.&#xA;You should also think about how often a meetup should be held that will vary by location/number of Sitecore devs/people in the area&#xA;You could start off meeting every three months but increase it to monthly if the demand increases or have available speakers&#xA;It’s also a good idea to reach out to your local regional Sitecore office to see how they can help out.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Robbert Hock&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We started in 2012 talking with Sitecore NL, that we wanted to start one, to see if they wanted to be involved or not, and show them our plans. Marc and I then selected 3 other persons who could help us with organizing meetings. 3 Devs and 2 marketers. We then agreed upon that each role would be responsible for a role track (dev and marketing track), we aimed for having both dev tracks and marketing/business tracks at one night. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We saw however, that dev's are used by nature to visit UG's, and marketers do not (they only go to those fancy marketing events ;-)). we contacted Sitecore partners if they were willing to host an evening and take care of the catering and facilitating the location. The support was overwhelming. We're currently already full for 2017. We have meetings every 6 weeks, where we plan around SUGCON Europe and Symposium.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore NL said that they would support in speakers sometimes, but that it should be a community driven UG, which it totally is. We use Eventbrite as a system ( @sitecorejunkie so it shouldn't be just MEETUP), we created our own website, we use Trello for our task board and use Slack (SUGNL slack channel) to communicate with the speakers and partners.&#xA;Checkout our upcoming agenda: &lt;a href=&quot;http://www.sugnl.net/agenda.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://www.sugnl.net/agenda.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Dean Thrasher&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember to add your group to the Sitecore User Group index maintained by Hedgehog Software: &lt;a href=&quot;http://www.sitecoreug.org/&quot; rel=&quot;noreferrer&quot;&gt;http://www.sitecoreug.org/&lt;/a&gt;&#xA;Know your audience! Events should be for the benefit of the community. Remember that attendees of these sessions will come from a variety of backgrounds: Some are developers, some are content authors and editors, some have a business or marketing focus. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should try to find topics that will engage all of these members of the community. Also remember that participants will have different levels of experience with Sitecore. Some will have years' worth of knowledge, others may be hearing about Sitecore or CMS platforms for the first time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some may have been involved with dozens of Sitecore implementations, others might only know one particular implementation. Including these different viewpoints and perspectives will make your Sitecore User Group more engaging and will prompt some interesting discussions.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Łukasz Skowroński&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;http://www.sitecoreug.org/&quot; rel=&quot;noreferrer&quot;&gt;Online&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Groups&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We decided to create groups on: Meetup.com (meetup.com/Sitecore-Poland-Meetup/), Facebook  (&lt;a href=&quot;https://www.facebook.com/groups/SitecorePL&quot; rel=&quot;noreferrer&quot;&gt;https://www.facebook.com/groups/SitecorePL&lt;/a&gt;), Twitter (&lt;a href=&quot;https://twitter.com/SitecorePL&quot; rel=&quot;noreferrer&quot;&gt;https://twitter.com/SitecorePL&lt;/a&gt;). These are our main channels. Every time when we organize meeting we create new event on Meetup and Facebook and then try to inform other people about that fact additionally on Twitter. On each channel we write about incoming event but also we add information about other available channels. It usually looks like following message: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our opinion it is important to share traffic between all available channels. &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Ticketing&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For ticketing purposes we use eventbrite.com (&lt;a href=&quot;https://www.eventbrite.com/e/sitecore-community-poland-3rd-edition-tickets-28326120188&quot; rel=&quot;noreferrer&quot;&gt;https://www.eventbrite.com/e/sitecore-community-poland-3rd-edition-tickets-28326120188&lt;/a&gt;) We have decided to use free tickets to have more data about our attendees - after registration we have information about their companies and emails.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Stats&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Because it might be hard to measure traffic/users attention we very often use bit.ly to shorten links and have all stats in one place. &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;YouTube&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We strongly believe that knowledge should be shared also later after the meetup, so we record our speakers and then publish videos on our YouTube channel (&lt;a href=&quot;https://www.youtube.com/channel/UCE_TAYMJ8fImSAMf4Mqposg&quot; rel=&quot;noreferrer&quot;&gt;https://www.youtube.com/channel/UCE_TAYMJ8fImSAMf4Mqposg&lt;/a&gt;) &#xA;For recording we use following tools: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open Broadcaster Software &lt;/li&gt;&#xA;&lt;li&gt;Zoom h1 &lt;/li&gt;&#xA;&lt;li&gt;Live Gamer Portable Lite HDMI&lt;/li&gt;&#xA;&lt;li&gt;Additional HD web cam&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Offline&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sponsors&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In Poland it’s not easy to find sponsors but I would suggest to ask your boss to sponsor the event - if will not agree on that just ask all companies from your country which work with Sitecore. Do not forget about Sitecore representants they very often can help with some gifts or just with find the right person to contact.&#xA;It is good to think about levels of sponsorship - because many companies asking for that.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Speakers&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;First of all, ask your friends - if they are not interested, ask other companies - if they are not interested, ask for volunteers on your channels - if no one came to you, try to ask MVPs on Twitter/Slack and prepare some money for covering the travel costs&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Attendees&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We try to care for our attendees as much as it is possible. So we:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Try to organize events on evenings &lt;/li&gt;&#xA;&lt;li&gt;Prepare some food (pizza) and some drinks, because they usually join to meeting after the work&lt;/li&gt;&#xA;&lt;li&gt;Give them some ID’s to let them easier start talk with other attendees &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://docs.google.com/document/d/1MxckXp00uLMl1iBuQqVAAdnZSD3EAmvQ4pdxIePCIeA/edit#&quot; rel=&quot;noreferrer&quot;&gt;https://docs.google.com/document/d/1MxckXp00uLMl1iBuQqVAAdnZSD3EAmvQ4pdxIePCIeA/edit#&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-01-16T16:24:41.223" CommentCount="0" CommunityOwnedDate="2018-01-16T16:24:41.223" ContentLicense="CC BY-SA 3.0" />
  <row Id="9517" PostTypeId="2" ParentId="9395" CreationDate="2018-01-16T18:07:32.703" Score="2" Body="&lt;p&gt;I've solved the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when you create a unsubscribe link on EXM 3.5, you have to use '/sitecore modules/Web/EXM/Unsubscribe.aspx'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM 3.4 (or less) use '/sitecore/Unsubscribe.aspx'.&lt;/p&gt;&#xA;" OwnerUserId="2508" LastActivityDate="2018-01-16T18:07:32.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9518" PostTypeId="2" ParentId="9506" CreationDate="2018-01-16T18:22:09.867" Score="4" Body="&lt;p&gt;SC 9 is flushed immediately unlike previous versions. With your particular issue, my guess is that you didn't update the Tracker's Contact (assuming that you are doing this on the same tracker session). This means that updating the xConnect Contact does not automatically update the Tracker's Contact.  This is mainly true on v. 9 Initial Release.  So, you must update your Tracker's Contact also when updating xConnect's Contact.  However, in v9 Update 1, Sitecore has provided a new &lt;code&gt;Sitecore.Analytics.Tracking.ContactManager&lt;/code&gt; method :&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;manager.RemoveFromSession(Sitecore.Analytics.Tracker.Current.Contact.ContactId); // Use tracker ID, not xConnect ID&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;to allow the contact to be reloaded in next request.  &lt;a href=&quot;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/contact-facets/update-facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Find out more here.&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Here's how to access the &lt;code&gt;ContactBehaviorProfile&lt;/code&gt; facet as &lt;a href=&quot;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/contact-facets/access-facets-in-session.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;shown in the Sitecore Docs&lt;/a&gt;. At this point, you should just be able to update the data but of course it depends how much data you need to update, it may get a bit more complex.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;var xConnectFacets = Sitecore.Analytics.Tracker.Current.Contact.GetFacet(&amp;quot;XConnectFacets&amp;quot;);&lt;/p&gt;&#xA;&lt;p&gt;ContactBehaviorProfile cbp = xConnectFacets.Facets[ContactBehaviorProfile.DefaultFacetKey] as ContactBehaviorProfile;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2972" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-01-17T16:32:28.370" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9519" PostTypeId="1" AcceptedAnswerId="9524" CreationDate="2018-01-16T19:18:36.890" Score="7" ViewCount="4024" Body="&lt;p&gt;The CD version of Sitecore 9 was installed on our CD server. The error below is typically seen with a SwitchMasterToWeb.config file issue in previous versions: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Post condition failed &#xA;  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception Details: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.InvalidOperationException: Post condition failed&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source Error: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[InvalidOperationException: Post condition failed]&lt;br&gt;&#xA;  Sitecore.Diagnostics.Assert.ResultNotNull(T result, String message)&#xA;  +85    Sitecore.Configuration.DefaultFactory.GetDatabase(String name) +86    Sitecore.Configuration.DefaultFactory.GetDatabases() +121    Sitecore.Data.Managers.DefaultItemManager.Initialize() +110    (Object&#xA;  , Object[] ) +120    Sitecore.Pipelines.CorePipeline.Run(PipelineArgs&#xA;  args) +479    (Object , Object[] ) +71&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +479&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Application_Start() +161&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +767&lt;br&gt;&#xA;  System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers) +583&lt;br&gt;&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169&lt;br&gt;&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context) +396&lt;br&gt;&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext) +333&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Post condition failed]&lt;br&gt;&#xA;  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525&lt;br&gt;&#xA;  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)&#xA;  +124    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest&#xA;  wr, HttpContext context) +700&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In this case, with Sitecore 9 we are getting this error with the CD version. Configuration role for CM is set to &quot;ContentManagement&quot; with CD being &quot;ContentDelivery&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To my understanding, this is all you need to do to have your CD instance all setup since there is no longer a &lt;em&gt;SwitchMasterToWeb.config&lt;/em&gt; in Sitecore 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something? Any ideas or anyone seen this before on a CD instance with Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="1671" LastEditDate="2018-01-16T20:29:51.460" LastActivityDate="2021-06-11T16:00:15.100" Title="Post Condition Failed on Sitecore 9 Content Delivery Server" Tags="|content-management|content-delivery|" AnswerCount="6" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9520" PostTypeId="1" CreationDate="2018-01-16T20:29:23.057" Score="1" ViewCount="217" Body="&lt;p&gt;When trying to use the Export Languages tool in the control panel I would like to know if I can include template fields in the export. When using this tool to export pages for language translation it does not include template specific fields to the template such as the &quot;Featured Text&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some adjustment I need to make in the Template Section or Template Field item to make sure it is included in the Export Language XML file? In case it makes a difference I am currently using Sitecore 8.1.&lt;/p&gt;&#xA;" OwnerUserId="2059" LastEditorUserId="1671" LastEditDate="2018-01-17T07:05:41.067" LastActivityDate="2018-07-16T11:46:48.280" Title="Include template fields in export language" Tags="|multilingual|language-fallback|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9521" PostTypeId="2" ParentId="9520" CreationDate="2018-01-16T22:23:37.307" Score="1" Body="&lt;p&gt;Thanks to @AmitabhVyas for helping me realize this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My issue was with fallback values. Apparently Sitecore does not export language fields when they are fallback values. Found out that the fields properly export when the field is not set as a fallback value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically in my case Japanese was set to fallback to EN while Chinese had been translated. So English and Chinese would export the field but Japanese would not as it was the English fallback.&lt;/p&gt;&#xA;" OwnerUserId="2059" LastActivityDate="2018-01-16T22:23:37.307" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9522" PostTypeId="1" AcceptedAnswerId="9523" CreationDate="2018-01-17T00:04:55.007" Score="1" ViewCount="1859" Body="&lt;p&gt;In the Task Runner Explorer, gulpfile.js is failing to load, and in the output window I'm seeing&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;gulp.task('CI-html', () =&amp;gt; {&#xA;                      ^&#xA;SyntaxError: Unexpected token )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I comment out CI-html, Im getting another error on a let statement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I run gulp from the command line in my project directory, it is not producing any errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what could be the difference? Both are run with administration privilidges ..&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2018-01-17T01:18:46.113" Title="Habitat Gulpfile.js error in Visual Studio but OK on Cmd Line" Tags="|habitat|gulp|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9523" PostTypeId="2" ParentId="9522" CreationDate="2018-01-17T00:10:37.707" Score="4" Body="&lt;p&gt;It's basically a Node version issue.  Assuming that you've downloaded the latest NodeJS and installed it (which means its location should be one of your system's  environment variable PATH), just move up the $(PATH) location above the &lt;code&gt;(DevEnvDir)|Extensions\Microsoft\Web Tools\External&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For VS2015:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Tools &gt; Options &gt; Projects and Solutions &gt;  External Web Tools&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;For VS2017:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Tools &gt; Options &gt; Projects and Solutions &gt; Web Package Management &gt; External Web Tools&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If it's not, you could either add the NodeJS location in the PATH environment variable or you can just directly add it on your Visual Studio &lt;a href=&quot;https://exploringsitecore.wordpress.com/2017/03/09/syntaxerror-unexpected-token-gulp-tasks-not-working-for-sitecore-habitat/&quot; rel=&quot;nofollow noreferrer&quot;&gt;shown on Shriroop's blog post&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastEditorUserId="2972" LastEditDate="2018-01-17T01:18:46.113" LastActivityDate="2018-01-17T01:18:46.113" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9524" PostTypeId="2" ParentId="9519" CreationDate="2018-01-17T00:44:20.843" Score="0" Body="&lt;p&gt;I solved this issue by redeploying my latest code with &quot;ContentManagement&quot; in place for the CM server configuration role and &quot;ContentDelivery&quot; in place for the CD server configuration role. When the deploy finished as successful it was only then that everything started working. Apparently, simply modifying in the Web.configs, via patch file of course, and doing a recycle did not do the trick for me. Happy coding!&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2018-01-17T00:44:20.843" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9525" PostTypeId="2" ParentId="1327" CreationDate="2018-01-17T02:25:33.717" Score="1" Body="&lt;p&gt;As stated above you can use the TDS functionality to do that which works great especially for single-site instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I found though if you are doing multi-site then it's getting harded to structure roles with TDS as it requires you to include all member roles as well in each TDS package and they could override each other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case I ended up by creating an admin page where you can serialize/deserialize roles in JSON and this JSON will store only your custom roles. Then on a different environment you can sync the roles from the serialized content back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wonder if anybody had the same approach as me, but this is just an alternative solution to TDS way.&lt;/p&gt;&#xA;" OwnerUserId="1676" LastActivityDate="2018-01-17T02:25:33.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9530" PostTypeId="2" ParentId="8009" CreationDate="2018-01-17T09:17:47.783" Score="2" Body="&lt;p&gt;It's not too easy to do for all fields at once, but I think you have a few options to choose from.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Option 1 - Extend and replace existing fields with custom link validation&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The broken/not broken logic is handled on each separate field type, so you can extend one (or several) of them and override the &lt;code&gt;ValidateLinks(LinkedsValidationResult)&lt;/code&gt; method. You then also need to patch the field type in the configuration using a config patch file. This will also work in the Content Editor and no longer warn you about broken links when saving.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example for the &lt;strong&gt;Rendering Datasource&lt;/strong&gt; field type:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Linq;&#xA;using Sitecore.Data.Fields;&#xA;using Sitecore.Links;&#xA;&#xA;namespace YourNamespace.Fields&#xA;{&#xA;    public class CustomRenderingDatasourceField : RenderingDatasourceField&#xA;    {&#xA;        public CustomRenderingDatasourceField(Field innerField)&#xA;            : base(innerField)&#xA;        {&#xA;        }&#xA;&#xA;        public CustomRenderingDatasourceField(Field innerField, string runtimeValue)&#xA;            : base(innerField, runtimeValue)&#xA;        {&#xA;        }&#xA;&#xA;        public override void ValidateLinks(LinksValidationResult result)&#xA;        {&#xA;            // Skip completely if path contains &quot;$site&quot;&#xA;            if (Path?.Contains(&quot;$site&quot;) ?? false)&#xA;                return;&#xA;&#xA;            base.ValidateLinks(result);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could maybe also try to replace the &lt;code&gt;$site&lt;/code&gt; token, but I'm not 100% sure about contexts etc. so you will have to do some experimentation with that yourself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Config patch to make the field use your custom implementation:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;fieldTypes&amp;gt;&#xA;      &amp;lt;fieldType name=&quot;Rendering Datasource&quot; set:type=&quot;YourNamespace.Fields.CustomRenderingDatasourceField, YourAssembly&quot; /&amp;gt;&#xA;    &amp;lt;/fieldTypes&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Option 2 - A custom field with its own link validation&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You could also create a new custom field. You would then need to change the field type in all the places where you might end up using the &lt;code&gt;$site&lt;/code&gt; token.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Option 3 - Replace SqlServerLinkDatabase and filter broken links&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This option is actually pretty simple, but also in a place I would prefer to not tinker with too much.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: I haven't actually tested this, but it should work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Extend the class &lt;code&gt;Sitecore.Data.SqlServer.SqlServerLinkDatabase&lt;/code&gt; and override the method &lt;code&gt;ItemLink[] GetBrokenLinks(Database)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In there call the method of the base class and then filter out unwanted broken links - in the example below, all links containing &lt;code&gt;$site&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data.SqlServer;&#xA;using Sitecore.Data;&#xA;using Sitecore.Links;&#xA;&#xA;public class CustomSqlServerLinkDatabase : SqlServerLinkDatabase&#xA;{&#xA;    public CustomSqlServerLinkDatabase(string connectionString)&#xA;        : base(connectionString)&#xA;    {&#xA;    }&#xA;&#xA;    public override ItemLink[] GetBrokenLinks(Database database)&#xA;    {&#xA;        var brokenLinks = base.GetBrokenLinks(database).Where(x =&amp;gt; !x.TargetPath.Contains(&quot;$site&quot;));&#xA;        return brokenLinks.ToArray();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you just replace the &lt;strong&gt;LinkDatabase&lt;/strong&gt; with a config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;LinkDatabase set:type=&quot;Your.Namespace.CustomSqlServerLinkDatabase, Your.Assembly&quot; /&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will not change anything in the Content Editor regarding warnings when saving items with &quot;broken&quot; links.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2018-09-26T10:51:52.320" LastActivityDate="2018-09-26T10:51:52.320" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="9531" PostTypeId="2" ParentId="6273" CreationDate="2018-01-17T09:22:55.040" Score="1" Body="&lt;p&gt;As mentioned by @Sitecore Climber its a known bug with the reference number 404768.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was fixed in &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update4/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;8.2 Update 4 (rev. 170614)&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Content Editor&lt;/strong&gt; - Searching in the content tree opens an item in the default language.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-01-17T09:22:55.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9533" PostTypeId="2" ParentId="9095" CreationDate="2018-01-17T10:09:20.543" Score="1" Body="&lt;p&gt;First of all, let me list down the list of software versions that I used in this article&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Experience Platform 8.1 rev. 160519 (8.1 Update-3)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr 4.10.4 - recommended Solr version for Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is Solr Index Replication?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Index Replication distributes complete copies of a master index to one or more slave servers. The master server continues to manage updates to the index. All querying is handled by the slaves. This division of labor enables Solr to scale to provide adequate responsiveness to queries against large search volumes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore &amp;amp; Solr Master/Slave server architecture&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below you can find two suggested architecture for Sitecore based on Solr master/slave index replication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Single slave server architecture:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7LzLF.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7LzLF.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Multiple slaves server architecture:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZWO2y.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZWO2y.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuring the Replication RequestHandler on a Master Server&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Index replication will be configured in Solr core level by enabling master replication request handler in Solr Master Server. Let me share how to configure it on sitecore_core_index.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open solrconfig.xml under Solr sitecore_core_index core folder&lt;/li&gt;&#xA;&lt;li&gt;Uncomment master node under &lt;/li&gt;&#xA;&lt;li&gt;Set the following parameters on initialization of the handler (replicateAfter, backupAfter, confFiles, commitReserveDuration)&lt;/li&gt;&#xA;&lt;li&gt;Repeat these steps for other indexes&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For more information about how the purpose of each parameter and parameters values please read page 481 on &lt;a href=&quot;https://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.10.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.10.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuring the Replication RequestHandler on a Slave Server&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Index replication will be configured in Solr core level by enabling slave replication request handler in Solr Slave server. Let me share how to configure it on sitecore_core_index.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open solrconfig.xml under Solr sitecore_core_index core folder&lt;/li&gt;&#xA;&lt;li&gt;Uncomment slave node under &lt;/li&gt;&#xA;&lt;li&gt;Set the following parameters on initialization of the handler (masterUrl, pollInterval, compression, httpConnTimeout, httpReadTimeout, httpBasicAuthUser, httpBasicAuthPassword)&lt;/li&gt;&#xA;&lt;li&gt;Repeat these steps for other indexes&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For more information about how the purpose of each parameter and parameters values please read page 483 on &lt;a href=&quot;https://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.10.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.10.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: Solr slave servers are read only and can't update indexes that is why we will explain later few changes on both Sitecore CM &amp;amp; CD instances configurations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuring Sitecore CM server&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore CM server will be responsible for updating/rebuilding indexes. Please configure your CM instance as illustrated below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Enable all Sitecore indexes configuration files - Don't follow the Sitecore search indexes required in a scalable environment content management section&lt;/li&gt;&#xA;&lt;li&gt;Set your Solr master server URL &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/32zt4.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/32zt4.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuring Sitecore CD server&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore CD server will query from Slave servers only, so you will need to patch the Sitecore default configuration by changing indexes strategy to manual. Please configure your CD instance as illustrated below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Enable CD Sitecore indexes configuration files only - Do follow the Sitecore search indexes required in a scalable environment content delivery section&lt;/li&gt;&#xA;&lt;li&gt;Set your Solr slave server URL &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RwA5w.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RwA5w.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2634" LastActivityDate="2018-01-17T10:09:20.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9536" PostTypeId="1" CreationDate="2018-01-17T10:59:46.670" Score="1" ViewCount="417" Body="&lt;p&gt;We have the requirement to maintain the session in the multiple browser. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example : If the user logs-in to the site in chrome browser&#xA;and after login if the user opens the URL in the another chrome browser, the session need to be maintained.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we have the OOB feature in Sitecore or do we need to write some custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: We are &lt;strong&gt;not using&lt;/strong&gt; the Sitecore Experience DB&lt;/p&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="1671" LastEditDate="2018-01-17T23:36:31.513" LastActivityDate="2018-01-17T23:36:31.513" Title="Maintaining session across the same browser" Tags="|session-state|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9537" PostTypeId="1" CreationDate="2018-01-17T12:33:03.463" Score="4" ViewCount="470" Body="&lt;p&gt;I'm building a custom xConnect client api which is supposed to send data to xConnect. Now I've created a custom facet as an extension to the contact model. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The facet is successfully created and set for the contact. I'm trying to show the facet's properties in the Sitecore experience profile, and I was wondering if this is possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 9 by the way.&lt;/p&gt;&#xA;" OwnerUserId="3104" LastEditorUserId="1671" LastEditDate="2018-01-17T12:53:06.733" LastActivityDate="2018-01-18T02:13:13.633" Title="Show custom contact facets in Sitecore experience profile" Tags="|experience-profile|xconnect|contact-facets|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9538" PostTypeId="1" CreationDate="2018-01-17T13:15:14.390" Score="2" ViewCount="1010" Body="&lt;p&gt;We are on Sitecore 8.1 rev. 160519 (Update-3) and using SOLR 6.2.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Logs on one of our CM server is suddenly overflowing with the following error message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.Social: Social messages index could not be determined for&#xA;  master database. Messages root path: /sitecore/social/Messages. Please&#xA;  check indexes configuration.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This behavior is sudden, and does not seem to have been predicated by any code/content changes.  Performance on our CM/CD servers is suddenly at a crawl.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As always, any help would be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-01-17T13:15:14.390" Title="Sitecore.Social: Social messages index could not be determined for master database" Tags="|solr|indexing|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9539" PostTypeId="1" AcceptedAnswerId="9540" CreationDate="2018-01-17T14:23:28.883" Score="5" ViewCount="730" Body="&lt;p&gt;We are having difficulties getting an update to a Template to deploy properly. Take the example structure below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; - Template Item&#xA; - - Section Item&#xA; - - - Field Item 1&#xA; - - - Field Item 2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The items that we need an update are &lt;code&gt;Field Item 1&lt;/code&gt; and &lt;code&gt;Field Item 2&lt;/code&gt;. In a previous deployment, these Template Fields were set to &lt;code&gt;Shared&lt;/code&gt;. Now, however, we need to 'unshare' these fields. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Update Packages coupled with Sitecore Package Deployer for pushing item changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8.2u5&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TDS 5.7.0.7&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="3136" LastEditDate="2018-02-09T08:34:39.897" LastActivityDate="2018-02-09T08:34:39.897" Title="TDS Not Deploying Template Changes" Tags="|tds|fieldtype|serialization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9540" PostTypeId="2" ParentId="9539" CreationDate="2018-01-17T14:23:28.883" Score="6" Body="&lt;p&gt;The issue is inherent with the way Sitecore handles checkbox fields and how it serializes items.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Checkbox Field&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Checkbox fields in Sitecore can have 3 values:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Blank (not set)&lt;/li&gt;&#xA;&lt;li&gt;0 (unchecked)&lt;/li&gt;&#xA;&lt;li&gt;1 (checked)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Blank&lt;/code&gt; and &lt;code&gt;0&lt;/code&gt; are interpreted as the same value of &lt;code&gt;false&lt;/code&gt; value when reading the fields on an item through the Item API.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Serialization&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;During serialization (the technique TDS uses for reading items) a field with a blank value is not written to disk. Only fields with values &lt;code&gt;0&lt;/code&gt; or &lt;code&gt;1&lt;/code&gt; are written out. &lt;em&gt;This is a Sitecore-ism.&lt;/em&gt; TDS uses the Sitecore API for serialization.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Problem&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;When using the UI (in Content Editor for example) and checking/unchecking a checkbox, the field value toggles between &lt;code&gt;Blank&lt;/code&gt; and &lt;code&gt;1&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Solution&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The only way to achieve a value of &lt;code&gt;0&lt;/code&gt; is to select Raw Values from the View tab. Enter a &lt;code&gt;0&lt;/code&gt; into the checkbox field and save the item. Re-sync in TDS and if you inspect the corresponding &lt;code&gt;*.item&lt;/code&gt; file, you will see the field listed properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when the Update Package is installed, it will explicitly set the value and &lt;em&gt;uncheck&lt;/em&gt; the field.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-01-17T14:29:02.833" LastActivityDate="2018-01-17T14:29:02.833" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9542" PostTypeId="2" ParentId="8915" CreationDate="2018-01-17T15:52:40.447" Score="7" Body="&lt;p&gt;I recently contacted Sitecore support regarding this and a few other issues with Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding your exception I got this answer:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The error is related to the fact that Solr provider is not&#xA;  initialized before extracting GetResults() method. And it can happen&#xA;  in two cases:&lt;/p&gt;&#xA;  &#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;When Solr is turned off before starting of Sitecore&lt;/li&gt;&#xA;  &lt;li&gt;Due to the possible delays in  pipeline which can be before initializing Solr provider.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;  &#xA;  &lt;p&gt;Regarding the first case, please note, that this exception only the result, not the cause of the missing connection to Solr, and does not affect Sitecore functionality in any way. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Regarding the second case please try to change the order of processors in the initialize pipeline in a following way. It should prevent the appearing of such errors due to delays in initialize pipeline.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is the patch that I prapared for this second case:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;initialize&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.ContentSearch.SolrProvider.Pipelines.Loader.InitializeSolrProvider, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;patch:delete /&amp;gt;&#xA;      &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.ContentSearch.SolrProvider.Pipelines.Loader.InitializeSolrProvider, Sitecore.ContentSearch.SolrProvider&quot; patch:before=&quot;*[@type='Sitecore.Pipelines.Loader.InitializeScheduler, Sitecore.Kernel']&quot;/&amp;gt;&#xA;    &amp;lt;/initialize&amp;gt;&#xA;  &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We test it on UAT, but so far this exception is gone.&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-01-17T15:52:40.447" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9543" PostTypeId="1" CreationDate="2018-01-17T16:56:28.757" Score="5" ViewCount="607" Body="&lt;p&gt;I am using Sitecore's RSS feed, which has a field for &lt;code&gt;Items&lt;/code&gt;.  You can set this field to a Sitecore query to find items within your website to show within your RSS feed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have it configured like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LCFw0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LCFw0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is set to a value like so: &lt;code&gt;query:/sitecore/content/Brand/home/insights//*[@@templateid='{guid}']&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Problem&lt;/strong&gt;: when viewing the RSS feed, it appears that items are returned for all language versions.  Is it possible to set the &lt;code&gt;query:&lt;/code&gt; to be restricted by language?&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="430" LastEditDate="2018-01-17T17:02:49.190" LastActivityDate="2018-01-17T17:21:06.150" Title="Sitecore Query - Restrict to context Language (in RSS feeds)?" Tags="|multilingual|sitecore-query|rss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9544" PostTypeId="2" ParentId="9402" CreationDate="2018-01-17T17:12:47.083" Score="1" Body="&lt;p&gt;Found a solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you use the designer, you will see this appear in your shared layout of your standard values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;d id=&quot;{73966209-F1B6-43CA-853A-F1DB1C9A654B}&quot; l=&quot;{A57C19C2-8EE3-4DEC-AA39-0B8D522D59EB}&quot;&amp;gt;&#xA;   &amp;lt;r id=&quot;{86F838F5-7E87-45BB-876F-C021324AC8B0}&quot; par=&quot;TitleField=Field+1&amp;amp;amp;BodyField=Field+2&amp;amp;amp;DateField=Field+3&quot; uid=&quot;{11865658-1F3C-415F-975D-67F6BD76EEBA}&quot; /&amp;gt;&#xA;&amp;lt;/d&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can simply swap out &lt;code&gt;Field+1&lt;/code&gt; as necessary.  It will work at render time of the RSS Feed, but the designer will show an empty value for the title field.&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2018-01-17T17:12:47.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9545" PostTypeId="2" ParentId="9543" CreationDate="2018-01-17T17:21:06.150" Score="1" Body="&lt;p&gt;The simple answer is NO, it cannot handle multiple languages. From the &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/developer/using%20sitecore%20fast%20query/using%20sitecore%20fast%20query.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;documention&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore Fast Query does take the context language into account when&#xA;  it checks the value of non-shared fields. The query results therefore&#xA;  include all the items that have one or more language versions that&#xA;  match the query expression.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Also from the &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&quot; rel=&quot;nofollow noreferrer&quot;&gt;John West blog&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Fast query does not account for the context language (results include&#xA;  items with versions that match the query in any language)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Better option would be to switch to Content Search, it will be better for scaling purposes as well.&lt;/p&gt;&#xA;" OwnerUserId="318" LastActivityDate="2018-01-17T17:21:06.150" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9546" PostTypeId="2" ParentId="9494" CreationDate="2018-01-17T18:38:38.673" Score="1" Body="&lt;p&gt;To fix the problem go the Tenant &gt; Site &gt; Configuration &gt; Features add the feature Creative Exchange Site Setup (Settings/Feature/Experience Accelerator/Creative Exchange Site Setup ).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fr0gy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fr0gy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3094" LastActivityDate="2018-01-17T18:38:38.673" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9547" PostTypeId="1" CreationDate="2018-01-17T20:29:09.800" Score="1" ViewCount="104" Body="&lt;p&gt;We are on Sitecore 8.1 using Lucene search index. I have an item with  presentation details and displays properly on the site. The item has several child items pulled from a separate folder in the tree and puts them in an accordion on the item when displayed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is that if you try to search for content that is included in the child items they are not part of the result of the specified item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand why but trying to see if there is a way to get the accordion data to show in the search result for the specified item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone point me in the right direction if possible? &lt;/p&gt;&#xA;" OwnerUserId="3109" LastEditorUserId="1671" LastEditDate="2018-01-17T21:23:06.033" LastActivityDate="2018-01-17T21:23:06.033" Title="Include imported content in sitecore search result item" Tags="|content-search|lucene|" AnswerCount="0" CommentCount="1" ClosedDate="2018-01-18T09:23:31.993" ContentLicense="CC BY-SA 3.0" />
  <row Id="9550" PostTypeId="2" ParentId="9537" CreationDate="2018-01-17T23:32:07.343" Score="1" Body="&lt;p&gt;I am going with the assumption that you are wanting to add the facet data to the Experience Profile View and not the grid. Having done it with Speak and never wanting to do it that way again. The Express Tab project makes it a million times easier to get the data in there. Love it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/JeffDarchuk/EPExpressTab&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/JeffDarchuk/EPExpressTab&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The resources are available on nuget. &lt;a href=&quot;https://www.nuget.org/packages/EPExpressTab/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nuget.org/packages/EPExpressTab/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8AEEO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8AEEO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-01-18T02:13:13.633" LastActivityDate="2018-01-18T02:13:13.633" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9552" PostTypeId="1" AcceptedAnswerId="9556" CreationDate="2018-01-18T02:03:16.937" Score="5" ViewCount="232" Body="&lt;p&gt;I added a File Drop Area field (let's call it FDA) into a content item (let's call it &lt;code&gt;sitecore/content/Home&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Dialog &quot;Upload File&quot;, after I uploaded a file and &lt;b&gt;click &quot;Upload&quot;&lt;/b&gt;, where can I find the information on my item &lt;code&gt;(sitecore/content/Home&lt;/code&gt;) and my FDA field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wanted to do some specific action when the dialog is opened from File Drop Area, but this action should not be done on other &quot;Upload File&quot; functionality such as the one comes from Media Library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to know if this dialog is opened from File Drop Area or the &quot;Upload File&quot; from Media library for example. I have debugged &lt;code&gt;UploadArgs&lt;/code&gt; from my custom processor in &lt;code&gt;&amp;lt;uiUpload&amp;gt;&lt;/code&gt; pipeline and &lt;code&gt;Sitecore.Context&lt;/code&gt; object, but I haven't found them (or I might have overlooked it).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which place should I look into to debug the information on FDA and &lt;code&gt;sitecore/content/Home&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="2076" LastEditorUserId="2727" LastEditDate="2018-01-18T09:22:57.360" LastActivityDate="2018-01-18T10:25:04.280" Title="How to debug File Drop Area Information during Uploading File?" Tags="|content-editor|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9553" PostTypeId="1" CreationDate="2018-01-18T03:55:21.293" Score="2" ViewCount="433" Body="&lt;p&gt;I have an application running on Sitecore 7.5 where my code is invoking an MVC Action at client side. The action method is decorated with the &lt;code&gt;[HttpPost]&lt;/code&gt; attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.XYZ.com/api/sitecore/TestController/PostTestAction&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.XYZ.com/api/sitecore/TestController/PostTestAction&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the John West's post (&lt;a href=&quot;https://www.sitecore.net/company/blog/386/the-mystery-of-the-sitecoreactioninvoker-3355_&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.net/company/blog/386/the-mystery-of-the-sitecoreactioninvoker-3355_&lt;/a&gt;, an HTTP request for an action that does not exist results in exception details in the response such as the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;8704 08:36:00 ERROR Application error. Exception:&#xA;  System.InvalidOperationException Message: Could not invoke action&#xA;  method: PostTestAction. Controller name: TestController. Controller&#xA;  type: XYZ.TestController Source: Sitecore.Mvc at&#xA;  Sitecore.Mvc.Controllers.SitecoreActionInvoker.InvokeAction(ControllerContext&#xA;  controllerContext, String actionName) at&#xA;  System.Web.Mvc.Controller.&amp;lt;&gt;c__DisplayClass22.b__1e()&#xA;  at System.Web.Mvc.Async.AsyncResultWrapper.&amp;lt;.cctor&gt;b__0(IAsyncResult&#xA;  asyncResult, Action action) at&#xA;  System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult,&#xA;  Object tag) at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult&#xA;  asyncResult) at&#xA;  System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid&lt;code&gt;1.CallEndDelegate(IAsyncResult&#xA;  asyncResult) at System.Web.Mvc.Controller.EndExecute(IAsyncResult&#xA;  asyncResult) at&#xA;  System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult&#xA;  asyncResult, ProcessRequestState innerState) at&#xA;  System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid&lt;/code&gt;1.CallEndDelegate(IAsyncResult&#xA;  asyncResult) at&#xA;  System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;  at&#xA;  Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult&#xA;  result) at&#xA;  System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at&#xA;  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp;&#xA;  completedSynchronously)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In my case, however this error is intermittent. As the website is always available, it is highly unlikely that the API endpoints are not accessible. This action definitely exists and does what its supposed to do more often than not for the end users. Only the intermittent failures responds with the ASP.NET &lt;code&gt;404  page not found&lt;/code&gt; to the end user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been checking the server logs but couldn't figure out a reason why this action shall execute one time and not another. The windows server logs doesn't show any sporadic network failure or latency at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only thing I can relate to is the post: (&lt;a href=&quot;https://stackoverflow.com/questions/38761739/sitecore-ajax-post-could-not-invoke-action-method&quot;&gt;https://stackoverflow.com/questions/38761739/sitecore-ajax-post-could-not-invoke-action-method&lt;/a&gt;)&#xA;Again it seems highly unlikely but seems like &lt;code&gt;SitecoreActionInvoker&lt;/code&gt; randomly misses executing the '&lt;code&gt;POST&lt;/code&gt;' action. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Appreciate the troubleshooting tips here.&lt;/p&gt;&#xA;" OwnerUserId="2506" LastEditorUserId="2506" LastEditDate="2018-02-18T19:55:39.557" LastActivityDate="2018-02-18T20:29:04.477" Title="Intermittent issues with the Sitecore Ajax Post request while invoking a MVC Action" Tags="|sitecore-api|ajax|" AnswerCount="1" CommentCount="8" ClosedDate="2018-02-18T20:58:00.707" ContentLicense="CC BY-SA 3.0" />
  <row Id="9554" PostTypeId="1" CreationDate="2018-01-18T05:33:05.667" Score="1" ViewCount="77" Body="&lt;p&gt;Issue with the item copy functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to copy any bucket item to another item (bucket or non bucket item) on selection of item in content tree, it works fine. But when the same has been attempted by mentioning the path of destination folder, in path field of “Copy item to dialog box”, it creates a copy in the same parent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please follow below mentioned steps to recreate the scenario mentioned above.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Right click on the item to be copied.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;EDIT the path field with desired destination field and click copy&lt;br&gt;&#xA;button.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Item is created under the same parent though path mentioned in the&lt;br&gt;&#xA;Path field was different&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Note: If the case is like, we have to select item in the content tree, and mentioning the path in the path field is of no use. Can I get a patch where path field is disabled?&lt;/p&gt;&#xA;" OwnerUserId="3113" LastEditorUserId="2727" LastEditDate="2018-01-18T08:41:33.560" LastActivityDate="2018-01-18T08:41:33.560" Title="Sitecore 8.1 copying bucket item ends up by copying to same parent" Tags="|sitecore-client|content-editor|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9555" PostTypeId="1" AcceptedAnswerId="9562" CreationDate="2018-01-18T08:53:33.337" Score="3" ViewCount="1870" Body="&lt;p&gt;I’ve successfully installed SC9 and have been able to push contacts into xDB via xConnect without any problems. I can see the contacts in the SQL database and that bit is working fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like the below is working fine: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://localhost/sitecore/api/ao/v1/contacts/CE378614-3A11-0000-0000-052E03CA0043&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost/sitecore/api/ao/v1/contacts/CE378614-3A11-0000-0000-052E03CA0043&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZhiDR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZhiDR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is, when i am loading the Experience Profile, i am encountered with below exception. I've applied the patch Sitecore.Support.192372 but that didn't resolve the issue. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;8644 15:06:20 ERROR [Sitecore Services]: HTTP GET URL&#xA;  &lt;a href=&quot;http://localhost/sitecore/api/ao/v1/contacts/search?&amp;amp;pageSize=20&amp;amp;pageNumber=1&amp;amp;sort=visitCount&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost/sitecore/api/ao/v1/contacts/search?&amp;amp;pageSize=20&amp;amp;pageNumber=1&amp;amp;sort=visitCount&lt;/a&gt;&#xA;  desc&amp;amp;match=*&amp;amp;searchfromdatefilter=18%2F11%2F2017&amp;amp;searchtodatefilter=18%2F01%2F2018&amp;amp;searchchannelfilters=null&amp;amp;searchcampaignfilters=null&amp;amp;searchoutcomefilters=null&amp;amp;searchgoalfilters=null&amp;amp;searchprofilefilters=null&amp;amp;searchdevicefilters=null&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception System.NullReferenceException: Object reference not set to&#xA;  an instance of an object.    at&#xA;  Sitecore.Cintel.Endpoint.Plumbing.NegotiateLanguageFilter.OnActionExecuted(HttpActionExecutedContext&#xA;  actionExecutedContext)    at&#xA;  System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext&#xA;  actionExecutedContext, CancellationToken cancellationToken)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ls6is.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ls6is.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/31ebi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/31ebi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am new to the Sitecore and just wonder, if someone could give me a quick pointer to what I’ve done wrong?&lt;/p&gt;&#xA;" OwnerUserId="3110" LastEditorUserId="2727" LastEditDate="2018-01-18T09:42:03.803" LastActivityDate="2018-01-18T18:21:09.373" Title="Object reference not set to an instance of an object in Experience Profile (SC9 &amp; SQL xDB)" Tags="|xdb|sitecore-api|xconnect|" AnswerCount="1" CommentCount="1" ClosedDate="2018-01-19T11:53:23.983" ContentLicense="CC BY-SA 3.0" />
  <row Id="9556" PostTypeId="2" ParentId="9552" CreationDate="2018-01-18T09:50:39.740" Score="2" Body="&lt;p&gt;&lt;strong&gt;uiUpload&lt;/strong&gt; pipeline is used when you upload files into Media Library .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case you have to look how Content Editor Fields are created : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.net/company/blog/474/creating-a-custom-sitecore-field-4246&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.net/company/blog/474/creating-a-custom-sitecore-field-4246&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to override  FileDropArea field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to use reflector or other decompile tool to get code  for class : &lt;strong&gt;Sitecore.Shell.Applications.ContentEditor.FileDropArea&lt;/strong&gt; and to create your own class . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend you to duplicate the item : &lt;strong&gt;/sitecore/system/Field types/System Types/File Drop Area&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to modify Control field to  customcontent:FileDropArea .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mHHxc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mHHxc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to declare your customcontent  on controlsources section of config file &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;controlSources&amp;gt;&#xA; &amp;lt;source mode=&quot;on&quot; namespace=&quot;yourNamespace&quot; assembly=&quot;yourassembly&quot; prefix=&quot;customcontent&quot;  /&amp;gt;&#xA;&amp;lt;/controlSources&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-01-18T10:25:04.280" LastActivityDate="2018-01-18T10:25:04.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9557" PostTypeId="1" AcceptedAnswerId="10412" CreationDate="2018-01-18T11:28:30.823" Score="1" ViewCount="215" Body="&lt;p&gt;I am designing Experience Analytics report via Sitecore Rocks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone please explain to me the purpose of duplicated segments as shown in the following picture? Some can be used to display result while some can't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vmVGJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vmVGJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2076" LastActivityDate="2018-02-25T08:42:07.927" Title="What is the purpose of duplicated Segments in ExperienceAnalyticsLineChart?" Tags="|experience-analytics|sitecore-rocks|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9558" PostTypeId="1" CreationDate="2018-01-18T11:39:29.423" Score="1" ViewCount="84" Body="&lt;p&gt;Is there a way to have highly available session state server (out proc) so that if one of the server managing the session in db goes down, other can instantly come up and server the current user session. I can have a cluster of DB server but not sure if I can sync session information as well between the servers.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2018-01-18T11:39:29.423" Title="Highly Available out proc session server" Tags="|session-state|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9559" PostTypeId="1" AcceptedAnswerId="9560" CreationDate="2018-01-18T13:36:24.990" Score="5" ViewCount="3522" Body="&lt;p&gt;I have the following script to output to a table certain fields of a selection of items&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item -Path &quot;master:&quot; -Query &quot;fast:/sitecore/content/Home//*[@@templateid='{BAC0709D-5606-4A86-AF67-35F1448FDBE6}']&quot; | Show-ListView -Property ID, Name, DisplayName, &quot;Page Title&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Obviously I just reference by name any fields I want to output, but what if I want to output a property, say item.Paths.FullPath? How would I achieve that?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-01-18T21:46:32.807" Title="Display item.Paths.FullPath with Show-ListView command" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9560" PostTypeId="2" ParentId="9559" CreationDate="2018-01-18T13:41:56.113" Score="6" Body="&lt;p&gt;This is explained here: &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/commands/Show-ListView.html#example-2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/appendix/commands/Show-ListView.html#example-2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use &lt;code&gt;@{Label=&quot;Path&quot;; Expression={$_.Paths.FullPath} }&lt;/code&gt; in the list of properties where you specify a label for the column and reference the item using &lt;code&gt;Expression={$_.Paths.FullPath}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The final query becomes&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item -Path &quot;master:&quot; -Query &quot;fast:/sitecore/content/Home//*[@@templateid='{BAC0709D-5606-4A86-AF67-35F1448FDBE6}']&quot; | Show-ListView -Property ID, Name, DisplayName, &quot;Page Title&quot;, @{Label=&quot;Path&quot;; Expression={$_.Paths.FullPath} }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2018-01-18T21:46:32.807" LastActivityDate="2018-01-18T21:46:32.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9561" PostTypeId="1" CreationDate="2018-01-18T17:39:53.680" Score="1" ViewCount="1167" Body="&lt;p&gt;I'm trying to debug a 8.2 install. The databases have been deployed to Azure using the DACPAC files and the client installed using the EXE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see the vanilla website homepage and I can see the Sitecore login screen. However when I attempt to login to Sitecore, I get a &lt;code&gt;The requested document was not found&lt;/code&gt; error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional on screen info:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Requested URL: /sitecore/client/applications/launchpad&lt;br&gt;&#xA;  User Name: sitecore/Anonymous&lt;br&gt;&#xA;  Site Name: shell  &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The only relevant info I can see in the logs are these two lines...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;80 17:21:11 INFO  AUDIT (sitecore\admin): Login&lt;br&gt;&#xA;  7284 17:21:12 WARN  Request is redirected to document not found page.&lt;br&gt;&#xA;  Requested url: /sitecore/client/Applications/Launchpad?sc_lang=en,&lt;br&gt;&#xA;  User: sitecore\Anonymous,&lt;br&gt;&#xA;  Website: shell&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced a similar scenario?&lt;/p&gt;&#xA;" OwnerUserId="2949" LastEditorUserId="2727" LastEditDate="2018-01-21T10:27:50.250" LastActivityDate="2018-01-26T17:34:03.477" Title="Unable to access Launchpad following Sitecore 8.2 Install" Tags="|azure|installation|login|" AnswerCount="1" CommentCount="1" ClosedDate="2018-01-27T00:23:15.480" ContentLicense="CC BY-SA 3.0" />
  <row Id="9562" PostTypeId="2" ParentId="9555" CreationDate="2018-01-18T18:21:09.373" Score="0" Body="&lt;p&gt;The initial release of Sitecore 9 (rev 171002) does not support non-web interactions, as specified in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8907/sitecore-9-experience-profile-an-error-has-occured&quot;&gt;this post&lt;/a&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9 update-1 has addressed this issue.&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2018-01-18T18:21:09.373" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9563" PostTypeId="1" CreationDate="2018-01-18T18:24:12.450" Score="2" ViewCount="1882" Body="&lt;h3&gt;Sitecore 8.2 U5&lt;/h3&gt;&#xA;&lt;h3&gt;SOLR 6.6.2&lt;/h3&gt;&#xA;&lt;p&gt;In the content editor, I can search for any words or phrase. Sitecore will return results for any item where that word or phrase is used, in any field.&lt;/p&gt;&#xA;&lt;p&gt;But in the media library, using the same search. I only get back search results where the the word or phrase is in the item name. No fields on the items are search. This happens only in the media library.&lt;/p&gt;&#xA;&lt;p&gt;Nothing exciting in the configs. Pretty much vanilla Sitecore. When I look in SOLR, my media fields are indexed. If I do a custom field search &lt;code&gt;Description|Danger2&lt;/code&gt;, it also returns no results when there are items that match that query. I have rebuild index and searched the logs. No that points to an answer yet.&lt;/p&gt;&#xA;&lt;h2&gt;UPDATE&lt;/h2&gt;&#xA;&lt;p&gt;We are noticing in the Media Library, in SOLR, we are searching the index &lt;code&gt;sitecore_marketing_asset_index_master&lt;/code&gt;. It is searching &lt;code&gt;_content&lt;/code&gt; field, but that field does not have the proper data in it. If we search Sitecore using the proper field &lt;code&gt;author_t|jerry&lt;/code&gt;, we get results. So it seems like _content is not being populated in &lt;code&gt;sitecore_marketing_asset_index_master&lt;/code&gt; and why are we using that index and not &lt;code&gt;sitecore_master_index&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;27824 11:16:31 INFO  Solr Query - ?q=((((_content:(Bumpy) OR _name:(Bumpy) OR _displayname:(Bumpy)) AND _path:(2b7a070b5ddd4692b808d8c30cbd633c)) AND _latestversion:(1)) AND _datasource:(sitecore))&amp;amp;start=0&amp;amp;rows=20&amp;amp;fl=*,score&amp;amp;fq=_indexname:(sitecore_marketing_asset_index_master)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-26T15:27:08.343" Title="Media Library searching with SOLR" Tags="|solr|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9564" PostTypeId="1" AcceptedAnswerId="9569" CreationDate="2018-01-18T23:30:10.693" Score="1" ViewCount="500" Body="&lt;p&gt;What is the best practice to create a custom toolbox section in SXA? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking to reuse promo rendering under this custom components section. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this something which can be achieved without editing the code? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also will it overwrite/delete the custom component section when upgrading to next Sitecore or SXA version ?&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="2693" LastEditDate="2018-01-19T13:21:05.737" LastActivityDate="2018-01-19T13:21:05.737" Title="Custom features with custom rendering section in Sitecore SxA Toolbox" Tags="|sxa|best-practices|" AnswerCount="1" CommentCount="1" ClosedDate="2018-01-19T08:49:31.783" ContentLicense="CC BY-SA 3.0" />
  <row Id="9566" PostTypeId="2" ParentId="8568" CreationDate="2018-01-19T00:46:43.767" Score="3" Body="&lt;p&gt;I have resolved the issue with @techphoria441 answer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure that all your projects web.config &lt;strong&gt;Build Action&lt;/strong&gt; is set to &lt;strong&gt;None&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pqUan.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pqUan.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1605" LastActivityDate="2018-01-19T00:46:43.767" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9568" PostTypeId="2" ParentId="9563" CreationDate="2018-01-19T04:22:45.333" Score="3" Body="&lt;p&gt;May be that is not answer, but it step by step guide how to troubleshot it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can to do:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open Sitecore Content Editor, Media Library&lt;/li&gt;&#xA;&lt;li&gt;Do search by &quot;test&quot; text term&lt;/li&gt;&#xA;&lt;li&gt;Open your SOLR log file: {location of SOLR on your machine}\server\logs\solr.log&lt;/li&gt;&#xA;&lt;li&gt;Check last lines in file, they should contain SOLR query that was executed&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For my instance it was:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(((_content:(test)+OR+_name:(test)+OR+_displayname:(test))+AND+(_path:(3d6658d8a0bf4e75b3e2d050fabcf4e1)+AND+_latestversion:(1)))+AND+_datasource:(sitecore))&amp;amp;fl=*,score&amp;amp;start=0&amp;amp;fq=_indexname:(sitecore_master_index)&amp;amp;rows=20&amp;amp;version=2.2&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It means that &quot;test&quot; term search query was executed on fields: _content, _name, _displayname.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;6&quot;&gt;&#xA;&lt;li&gt;Check that terms that you are look for (&quot;test&quot;) is present in one on _content field.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I think it will be absent in these field, next - you can try to figure out why your field values are not added to _content search field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPD:&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;7&quot;&gt;&#xA;&lt;li&gt;Find out type of _content filed. Configuration should be present in Sitecore.ContentSearch*.config files.For my current instance it is Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch.&lt;/li&gt;&#xA;&lt;li&gt;Open Sitecore.ContentSearch.dll(depending on step 6) with IlSpy(or any similar reflector). Find out how field works, and what is missed.&lt;/li&gt;&#xA;&lt;li&gt;Create your own class for _content field that will be inherited from class in step 6 and will add values that you need from media items.&lt;/li&gt;&#xA;&lt;li&gt;Create patch config file to register your field type in Sitecore&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="666" LastEditorUserId="666" LastEditDate="2018-01-20T09:54:00.960" LastActivityDate="2018-01-20T09:54:00.960" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9569" PostTypeId="2" ParentId="9564" CreationDate="2018-01-19T06:11:26.247" Score="3" Body="&lt;p&gt;If you want to start creating your own custom renderings (completely new one or by cloning existing one) I would suggest creating a new feature. SXA has scripts for this, take a look:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0PLBF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0PLBF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can simply extend your Site with this feature, there is also a script for this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h2XlM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h2XlM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ok, you have your new feature (the place where you will be creating your own renderings) so you can easily create new toolbox section. The tricky thing is that it will be created not from the name of an item under &lt;code&gt;/sitecore/content/Tenant/Site/Presentation/Available Renderings&lt;/code&gt; but the name will be taken from an item under which you've stored your rendering. So:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a rendering:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yTH66.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yTH66.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Add it to available renderings (under your site):&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c2voT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c2voT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Done&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-01-19T06:11:26.247" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9571" PostTypeId="2" ParentId="9557" CreationDate="2018-01-19T08:56:11.973" Score="1" Body="&lt;p&gt;This is not normal, I don't have duplicates in my instance at 8.2u5 with Rocks. Are they only duplicate in rocks and not in Sitecore? If not, I would suspect something being of with your (search)indexing.&lt;/p&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2018-01-19T08:56:11.973" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9572" PostTypeId="1" CreationDate="2018-01-19T09:57:24.287" Score="1" ViewCount="88" Body="&lt;p&gt;In my Experience Editor i have added the following condition:&lt;br&gt;&#xA;where the value of the specific profile key in the contact behavior profile is greater than 3  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I update the Contact behavior profile in xConnect from another application and i am then trying to update the Tracker Contact on my Sitecore website. &#xA;Sitecore 9 update 1 has a method to clear the Tracker Contact however i am currently unable to update to 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have updated the Facet &lt;code&gt;ContactBehaviorProfile&lt;/code&gt; in the Tracker Contact with succes. However the condition is not triggered. The Tracker Contact also has a property &lt;code&gt;BehaviorProfiles&lt;/code&gt; I asume this is where the condition checks for the behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My first question would be, am i correct in saying that the condition above looks at the BehaviorProfiles property on the current Contact in the Tracker?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My second question would be, how do i update the BehaviorProfiles property in the tracker Contact from xConnect, the format is different from xConnect and i can't seem to figure it out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: I have added 3/5 conditions as a screenshot.&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zgxNA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zgxNA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="2555" LastEditDate="2018-01-23T14:36:16.810" LastActivityDate="2018-01-23T14:36:16.810" Title="Update tracker.Contact.BehaviorProfiles" Tags="|xconnect|tracking|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9573" PostTypeId="1" AcceptedAnswerId="9795" CreationDate="2018-01-19T10:28:15.537" Score="17" ViewCount="2741" Body="&lt;p&gt;I have two languages on my site: &lt;strong&gt;en&lt;/strong&gt; and &lt;strong&gt;de&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm trying to open &lt;code&gt;http://{HOSTNAME}/%20/&lt;/code&gt; - I'm recieving error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gtvFy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gtvFy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&#xA;How can I fix this issue and process this request in correct way?&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-02-01T14:30:13.007" Title="Issue related to %20 in URL" Tags="|multilingual|multisite|" AnswerCount="3" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9574" PostTypeId="1" AcceptedAnswerId="9588" CreationDate="2018-01-19T10:56:48.877" Score="1" ViewCount="68" Body="&lt;p&gt;In my Sitecore 8.2u5 instance I am implementing different engagementplans and want to assign actions like sending an EXM campaign email to outcome of condition checks between states.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems I can only assign actions on outcome 'yes' and not on outcome 'no'.&#xA;Is there a specific reason for this that I am missing, or is this something that is wrong in my configuration?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AvsT3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AvsT3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see I have an action after condition with outcome 'yes' where I could assign an action. I cannot do this on the No outcome, and had to introduce another weird always true condition to be able to also do an action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other then upgrading to Sitecore 9, any other fixes around for this?&lt;/p&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2018-01-19T22:39:18.810" Title="Engagement plan condition outcome 'no' supports no action?" Tags="|engagement-plans|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9575" PostTypeId="2" ParentId="9487" CreationDate="2018-01-19T11:11:00.357" Score="3" Body="&lt;p&gt;When text is rendered in the Experience Editor Glass passes back control for rendering to the Sitecore RenderField pipeline. This has to be done so that Sitecore can render the HTML required to make the field editable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to add a processor to the RenderField pipeline to handle this scenario.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2018-01-19T11:11:00.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9576" PostTypeId="1" AcceptedAnswerId="9579" CreationDate="2018-01-19T12:37:08.663" Score="10" ViewCount="2208" Body="&lt;p&gt;After upgrading from 8.1 Update 3 to latest 9.0 Update 1 a lot of icons are missing in the Experience Editor, but not all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9Pnoz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9Pnoz.png&quot; alt=&quot;experience editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example on the &lt;strong&gt;PRESENTATION&lt;/strong&gt; tab only the &lt;strong&gt;Preview&lt;/strong&gt; and &lt;strong&gt;Normal&lt;/strong&gt; icons are showing up as you can see. The default Save/Search/New Component (top left) and the ribbon fold up/down icon (top right) are also missing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to disable most of our custom code and tried with a clean installation (webroot only, not databases). I've also cleared my cached etc. but without any luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no failed requests being made (Chrome developer tools).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The buttons with missing icons just have a &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; with a class indicating some sort of sprite.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div title=&quot;Edit the current page.&quot; class=&quot;sprite-speak-ribbon-clean-ee edit_24&quot;&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The functioning icons have an &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img alt=&quot;Open Browser as normal&quot; src=&quot;/temp/iconcache/office/24x24/eye.png&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone have an idea about what is going on or where to dig deeper?&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="3136" LastEditDate="2018-02-09T05:54:14.307" LastActivityDate="2018-02-09T05:54:14.307" Title="Some Experience Editor icons are missing after upgrade to 9.0 Update 1" Tags="|experience-editor|upgrade|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9578" PostTypeId="2" ParentId="9573" CreationDate="2018-01-19T13:53:30.683" Score="7" Body="&lt;p&gt;You can use URL Rewrite module for your issue : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Open the Internet Information Services(IIS) Manager&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Select “Your Web Site”&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) In the Feature View click “URL Rewrite“  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) In the “Manage Providers” pane on right hand side click on “View Rewrite Maps…” and then select &quot;Add Rewrite Map..&quot;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ymne3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ymne3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5)Set the map name, &lt;strong&gt;SpaceMap&lt;/strong&gt; for example&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6) In the “Actions” pane on right hand side click on “Add Mapping Entry…” &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &quot;Original value&quot; field insert / /, in the “New Value“ set /404page and Click &quot;Ok&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9zU1x.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9zU1x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;7) In the “Actions” pane click on “Add rule(s)…” and then select &quot;Rule with rewrite Map&quot; template&lt;/p&gt;&#xA;&#xA;&lt;p&gt;8)  Leave “Rewrite” in the rule action and select the SpaceMap in the &quot;rewrite map&quot; field and click &quot;Ok&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;9) Enter your url : &lt;a href=&quot;http://hostname/&quot; rel=&quot;noreferrer&quot;&gt;http://hostname/&lt;/a&gt; / and it will redirect to the pagefrom step 6&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-01-19T13:53:30.683" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9579" PostTypeId="2" ParentId="9576" CreationDate="2018-01-19T14:05:41.577" Score="12" Body="&lt;p&gt;Well, now it's working all of a sudden after having spent most of the day on this...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I've done recently is run the &lt;strong&gt;Clean up databases&lt;/strong&gt; from the &lt;strong&gt;Control Panel&lt;/strong&gt; and rebuild the link database and the search indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, if you run into this issue try that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The generated sprite files are located here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\sitecore\shell\client\Sitecore\Speak\Ribbon\Assets\Sprites\Ribbon&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should have 3 files:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;sprite-speak-ribbon-base-ee.css&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sprite-speak-ribbon-clean-ee.css&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sprite-speak-ribbon-clean-ee.png&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These are generated/refreshed when the Experience Editor is loaded from what I can tell. It's part of the &lt;code&gt;prepareEditorResources&lt;/code&gt; pipeline defined in &lt;code&gt;Sitecore.ExperienceEditor.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When it didn't work I only had the first file, but now they are all there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to check out the sprite &quot;configuration&quot;, it is stored in the &lt;strong&gt;Core database&lt;/strong&gt; here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Applications/WebEdit/Sprites/Experience Editor Speak Ribbon&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-01-19T14:05:41.577" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9580" PostTypeId="1" CreationDate="2018-01-19T15:48:01.590" Score="1" ViewCount="182" Body="&lt;p&gt;I recently upgraded from 8.2u4 to 8.2u6 and SXA 1.4 to SXA 1.6 and ran into some issues found here. &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9494/sxa-1-6-creative-exchange-import-export-options-grayed-out?noredirect=1#comment14563_9494&quot;&gt;SXA 1.6 Creative Exchange Import Export options grayed out&lt;/a&gt;. After resolving this issue, I thought all was good. Until I needed to import and received the following error. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;No locator provider is configured at&#xA;  Sitecore.XA.Foundation.IoC.ServiceLocator.get_Current()...&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Screenshot is attached for the reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dG41K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dG41K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue has been resolved but I thought I would post the answer in case someone else runs into the issue.&lt;/p&gt;&#xA;" OwnerUserId="3094" LastEditorUserId="2727" LastEditDate="2018-01-21T10:27:58.857" LastActivityDate="2018-01-21T10:27:58.857" Title="SXA 1.6 Creative Exchange Import error after upgrade" Tags="|sxa|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9581" PostTypeId="2" ParentId="9580" CreationDate="2018-01-19T15:54:52.340" Score="2" Body="&lt;p&gt;There is a patch that is under \App_Config\Include\zzz\Sitecore.Support.9318.config that is causing the issue. Once the patch is removed the Import works correctly. There is also an assembly file in the bin folder that needs to be removed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;assembly name=&quot;Sitecore.Support.9318.dll&quot;&amp;gt;&#xA;    &amp;lt;fileVersion&amp;gt;1.4.0.0&amp;lt;/fileVersion&amp;gt;&#xA;    &amp;lt;productVersion&amp;gt;1.4.0.0-8.2.4&amp;lt;/productVersion&amp;gt;&#xA;    &amp;lt;lastWriteTime&amp;gt;11/07/2017 09:23:00&amp;lt;/lastWriteTime&amp;gt;&#xA;    &amp;lt;md5&amp;gt;67FC4466CE890D60344842D437698089&amp;lt;/md5&amp;gt;&#xA;  &amp;lt;/assembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/F5Dpc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F5Dpc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently, the patch has been incorporated into 1.6 and is no longer needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="3094" LastActivityDate="2018-01-19T15:54:52.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9582" PostTypeId="1" AcceptedAnswerId="9593" CreationDate="2018-01-19T17:46:45.423" Score="4" ViewCount="748" Body="&lt;p&gt;I am looking for a good way to figure out what privileges a user has via the Sitecore RESTful API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I can use the RESTful API for &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;ItemService&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/api/ssc/item/{itemId}?fields=__Security&amp;amp;database=master&amp;amp;includeStandardTemplateFields=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This allows me to get the security string set directly on an item and looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;__Security&quot;: &quot;au|sitecore\\User|pe|+item:read|+item:rename|&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, if the user has rights to that item that are inherited from the parent, it does not show up in the __Security field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another way I can use the Sitecore RESTful API to determine which privileges a user has on a Sitecore item?&lt;/p&gt;&#xA;" OwnerUserId="2984" LastEditorUserId="3089" LastEditDate="2018-01-23T07:45:01.587" LastActivityDate="2018-01-23T07:45:01.587" Title="Get user privileges on item via Sitecore RESTful API" Tags="|webapi|permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9583" PostTypeId="1" AcceptedAnswerId="9584" CreationDate="2018-01-19T18:56:02.647" Score="15" ViewCount="2002" Body="&lt;p&gt;All previous installs to &lt;code&gt;version 9&lt;/code&gt; had a folder structure like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;/Data&#xA;/Databases&#xA;/Website&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Now in &lt;code&gt;version 9.x&lt;/code&gt; the &lt;code&gt;/Data directory&lt;/code&gt; is nested inside the &lt;code&gt;/Website root&lt;/code&gt;. SIF default logic even has code that places it there.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;quot;Site.DataFolder&amp;quot;: &amp;quot;[joinpath(variable('Site.PhysicalPath'), 'App_Data')]&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Just curious if this was intentional?&lt;br /&gt;&#xA;No performance worries about indexes due to Solr files in a separate directory?&lt;br /&gt;&#xA;To support Azure deployments?&lt;/p&gt;&#xA;" OwnerUserId="689" LastEditorUserId="5387" LastEditDate="2021-12-10T15:26:12.953" LastActivityDate="2021-12-10T15:26:12.953" Title="Any reason Sitecore 9.x data folder now defaults its location to inside web root?" Tags="|installation|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9584" PostTypeId="2" ParentId="9583" CreationDate="2018-01-19T19:11:12.290" Score="20" Body="&lt;h2&gt;Is this intentional?&lt;/h2&gt;&#xA;&lt;p&gt;This is intentional because Azure App Services require the Data folder (aptly named App_Data) to be located inside of the website root folder since App Services do not have file system access outside of the website root folder.&lt;/p&gt;&#xA;&lt;p&gt;Instead of having two different configurations (one for on-prem and one for Azure PaaS) defaulting to the way that works for Azure PaaS allows both topologies to still work with a single configuration.&lt;/p&gt;&#xA;&lt;h2&gt;No performance worries about indexes due to Solr files in a separate directory?&lt;/h2&gt;&#xA;&lt;p&gt;I am thinking you are thinking of Lucene, as SOLR is handled in a client-server capacity. So, no, this shouldn't have any impact on SOLR.&lt;/p&gt;&#xA;&lt;p&gt;So then what about Lucene? Well, Lucene isn't supported in Azure, let alone I believe Lucene support in Sitecore 9 has been removed.&lt;/p&gt;&#xA;&lt;p&gt;But for the sake argument, no. any impact that Lucene would have inside of the directory would be the same impact as outside of the directory. You might be able to argue a performance optimization if Lucene index files were kept on a separate drive but that might be splitting hairs.&lt;/p&gt;&#xA;&lt;h2&gt;To support Azure deployments?&lt;/h2&gt;&#xA;&lt;p&gt;See answer to the first question.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-01-19T19:29:09.963" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9586" PostTypeId="1" AcceptedAnswerId="9946" CreationDate="2018-01-19T20:03:55.487" Score="1" ViewCount="119" Body="&lt;p&gt;This is using Sitecore 8.1 Update 1, Coveo on-premises version 7 (8388.7) free edition, and Coveo for Sitecore version 4.0.222.0. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a document that's been secured such that everyone is denied access to it in inheritance, but then certain groups are granted read permissions, so that only those in the specified groups can see the content. Looking at the Effective Combined Permissions list for my item in the index browser, if I search for my account I see that it is marked as Allowed, so I'd expect to see the content in my search results. However, when I perform a search, the content isn't visible in the results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only advanced expression I have in the query is that it needs to have a layout, be part of a particular site, or it needs to be in a particular path. In this case, the path qualifier comes in as well as having a layout. So nothing is immediately jumping out as to why my content wouldn't appear on the site. I can browse to the content just fine.&#xA;In my Sitecore logs, I do find the following error multiple times, for user accounts I know to exist...this is a good example. I'm not sure if this error could be a reason the security isn't being honored correctly.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;10804 00:00:51 ERROR An error occurred while calling method &quot;GetUserMembers&quot;.&#xA;Exception: Coveo.Connectors.Sitecore2.SitecoreWebServiceExceptions.SitecoreWebServiceUserNotFoundException&#xA;Message: The user &quot;xyz\anonymous&quot; does not exist.&#xA;Source: Coveo.Connectors.Sitecore2.SitecoreWebService&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.Wrapper.BaseSitecoreWrapper.GetUserMembers(String p_UserName)&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.SitecoreWebService.&amp;lt;&amp;gt;c__DisplayClass1d.&amp;lt;GetUserMembers&amp;gt;b__1c()&#xA;   at Coveo.Connectors.Sitecore2.SitecoreWebService.SitecoreWebService.TryCatchWrapper[T](Func`1 p_Action, String p_MethodName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Coveo diagnostic page shows all green, except for the Coveo Search Web Service, which presents this error. I don't know if there's a possible correlation here.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.ArgumentException: Invalid JSON primitive: .&#xA;   at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject()&#xA;   at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)&#xA;   at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer)&#xA;   at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)&#xA;   at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input)&#xA;   at Coveo.Framework.Utils.JsonSerializer.DeserializeObjectFromString[T](String p_String)&#xA;   at Coveo.SearchServiceProvider.Rest.ResponseParser.ParseQueryResults(String p_JsonResponse)&#xA;   at Coveo.SearchServiceProvider.Rest.ClientSessionWrapper.ExecuteQuery(QueryParams p_QueryParams)&#xA;   at Coveo.SearchProvider.Applications.OnPremiseStateVerifier.VerifySearchService()&#xA;   at Coveo.SearchProvider.Applications.OnPremiseStateVerifier.&amp;lt;&amp;gt;c__DisplayClass14.&amp;lt;GetSearchServiceState&amp;gt;b__13()&#xA;   at Coveo.SearchProvider.Applications.BaseVerifier.VerifyComponent(Func`1 p_VerifyMethod, String p_ComponentName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2018-01-23T13:54:24.887" LastActivityDate="2018-02-07T19:30:36.080" Title="Secured document I have permission to not showing in Coveo search" Tags="|security|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9587" PostTypeId="1" CreationDate="2018-01-19T21:38:25.743" Score="4" ViewCount="524" Body="&lt;p&gt;I am currently using Sitecore's RESTful ItemService API and CURL to create assets in the Media Library and have that working just fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in some cases, I need to update the attachment (i.e. file) associated with the media item, rather than creating a new media item. The current documentation I am referencing is the one for Sitecore 6.6 (found &lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;), but the documentation does not cover how to update the attachment associated with a media item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this even possible? Any help would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1085" LastEditorUserId="1671" LastEditDate="2018-06-29T13:23:59.403" LastActivityDate="2018-06-29T13:23:59.403" Title="How do you update an attachment in the Media Library using Sitecore's Web API?" Tags="|media-library|item-web-api|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="9588" PostTypeId="2" ParentId="9574" CreationDate="2018-01-19T22:39:18.810" Score="3" Body="&lt;p&gt;No.  You can't get around it.  If you actually take a look at the Engagement Plans in the Marketing Control Panel, you'll see that a condition only has one field for Next State (when true).  There's none for a false condition state.  So, you have to go through another condition to allow for you to add the &quot;false&quot; state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Btw, for SC9, Engagement Plans have been deprecated and replaced by Marketing Automation Plans.  Besides the non-Silverlight interface, it also moves away from states, conditions, and actions, although the new concepts are very similar but simplified but also more powerful and extensible.  In the Marketing Automation Plans, there's a Condition that allows for connections on both the true/false.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-19T22:39:18.810" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9589" PostTypeId="1" AcceptedAnswerId="9591" CreationDate="2018-01-19T22:43:15.540" Score="5" ViewCount="169" Body="&lt;p&gt;This question prompted when I was answering an Engagement Plans question.  I couldn't find an answer anywhere nor an explicit mention that Marketing Automation Plans are essentially replacing  Engagement Plans including in Sitecore Docs.  Anyway, does anyone know if there's a tool for this type of migration?  &lt;/p&gt;&#xA;" OwnerUserId="2972" LastEditorUserId="70" LastEditDate="2018-02-19T12:36:32.990" LastActivityDate="2018-02-19T12:36:32.990" Title="Is there an automatic way to migrate engagement plans to marketing automation plans?" Tags="|xdb|xconnect|marketing-automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9590" PostTypeId="1" CreationDate="2018-01-20T00:18:25.683" Score="8" ViewCount="845" Body="&lt;p&gt;&lt;em&gt;I'm using Sitecore 8.2 Update 4 with the corresponding WFFM version.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our marketing department is passing a tracking code from their various marketing channels onto one of our Sitecore Tenant sites. That code shows up in the URL as a query string parameter. I've got some JavaScript code inserted into the site that will strip the information from the site and put it into a cookie, because there are a lot of business rules about when to use that data and when not to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've got a WFFM form that is used by the site visitors to send information to us. I need that form to send me that information so I can pass it on to the system of record. I currently have a &lt;strong&gt;custom save action&lt;/strong&gt; that takes the data from the form and sends it where it needs to go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I need to know is how do I get the value stored in the cookie passed into my custom save action? Or is there some other way for me to get that information into my custom save action?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2018-01-23T14:06:36.390" Title="How can I get WFFM to pass in a value that is stored in a cookie?" Tags="|wffm|sxa|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9591" PostTypeId="2" ParentId="9589" CreationDate="2018-01-20T00:19:33.050" Score="6" Body="&lt;p&gt;Due to the technological and fundamental differences between Engagement Plans and Marketing Automation, there is no migration path short of manually recreating the plans.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Marketing Automation uses different workflow logic and it's integration with EXM (in 9.0.1+) are much easier to use and more clear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, because of the Silverlight implementation of Engagement Plans, a migration path is not possible.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-01-20T04:18:25.543" LastActivityDate="2018-01-20T04:18:25.543" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9592" PostTypeId="2" ParentId="9590" CreationDate="2018-01-20T00:42:16.300" Score="3" Body="&lt;p&gt;I'd create a custom field type.  That would let you create a hidden input field on your form which you could populate with the value from the cookie.  This way lets the value go through the whole process and get saved in the database rather than trying to append a value halfway through the save action pipeline.&lt;/p&gt;&#xA;" OwnerUserId="32" LastActivityDate="2018-01-20T00:42:16.300" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9593" PostTypeId="2" ParentId="9582" CreationDate="2018-01-20T08:54:53.480" Score="4" Body="&lt;p&gt;Sitecore security model does provide API for determining user access rights (see &lt;code&gt;Sitecore.Security.AccessControl.ItemAccess&lt;/code&gt; class). AFAIK there is no any web service exposing it but you can easily create one using &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Services Client&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AccessController : ServicesApiController&#xA;{&#xA;    [Route(&quot;sitecore/api/ssc/itemaccess/{database}/{itemId}&quot;)]&#xA;    public IHttpActionResult Get(string database, string itemId)&#xA;    {&#xA;        // simplified. no null check&#xA;        var item = Database.GetDatabase(database).GetItem(itemId);&#xA;        var model = new ItemAccessDto&#xA;        {&#xA;            CanRead = item.Access.CanRead(),&#xA;            CanWrite = item.Access.CanWrite(),&#xA;            CanCreate = item.Access.CanCreate(),&#xA;            CanDelete = item.Access.CanDelete(),&#xA;        };&#xA;&#xA;        return Ok(model);&#xA;    }&#xA;&#xA;    private class ItemAccessDto&#xA;    {&#xA;        [JsonProperty(&quot;can_read&quot;)]&#xA;        public bool CanRead { get; set; }&#xA;&#xA;        [JsonProperty(&quot;can_write&quot;)]&#xA;        public bool CanWrite { get; set; }&#xA;&#xA;        [JsonProperty(&quot;can_create&quot;)]&#xA;        public bool CanCreate { get; set; }&#xA;&#xA;        [JsonProperty(&quot;can_delete&quot;)]&#xA;        public bool CanDelete { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can request user access info. That is what an anonymous user can do with the default Home item:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://mysite/sitecore/api/ssc/itemaccess/master/110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9&#xA;&#xA;Result:&#xA;{&#xA;    &quot;can_read&quot;: true,&#xA;    &quot;can_write&quot;: false,&#xA;    &quot;can_create&quot;: false,&#xA;    &quot;can_delete&quot;: false&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastActivityDate="2018-01-20T08:54:53.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9594" PostTypeId="2" ParentId="9590" CreationDate="2018-01-20T12:16:14.907" Score="1" Body="&lt;p&gt;If I understand you correctly, you mention the value you needs to pass is come as query string parameters with the url.&#xA;If that is the case, you can use that query string value and just populate WFFM field directly without any customizataion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you try to add a WFFM form using default WFFM &quot;Form&quot; webcontrol, you will see a checkbox with name &quot;ReadQueryString&quot; (refer below image). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have this checkbox is clicked, and if you pass any url parameters with a name of a fields in the WFFM form, sitecore will automatically populate that value&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info can be found in following blog post&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorefootsteps.blogspot.com/2015/04/how-to-populate-wffm-form-fields-using.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorefootsteps.blogspot.com/2015/04/how-to-populate-wffm-form-fields-using.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2018-01-20T12:16:14.907" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9595" PostTypeId="2" ParentId="9590" CreationDate="2018-01-20T12:33:04.520" Score="1" Body="&lt;p&gt;You should have access to &lt;code&gt;HttpContext&lt;/code&gt; in your save action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It means that this code should work for you:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (HttpContext.Current.Request.Cookies.AllKeys.Contains(key))&#xA;{&#xA;   value = HttpContext.Current.Request.Cookies[key].Value;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where &lt;code&gt;key&lt;/code&gt; is string variable that equals to cookie key that you need, &lt;code&gt;value&lt;/code&gt; is variable that will contain cookie value.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-01-20T12:33:04.520" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9596" PostTypeId="2" ParentId="3882" CreationDate="2018-01-20T17:24:13.193" Score="1" Body="&lt;p&gt;The Core Database holds all of the SPEAK UI items (and much more) needed to display various dialogue boxes.&lt;/p&gt;&#xA;&lt;p&gt;If a Blank Core DB works, then put that DB back on and Package up the &lt;code&gt;/sitecore/client/Applications&lt;/code&gt; node and deploy that on the previous database doing a overwrite. (Obviously back up your old core first in case you screw something up.)&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pheaD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pheaD.png&quot; alt=&quot;Core Database Items&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Applications&lt;/h3&gt;&#xA;&lt;p&gt;This Item and child items contain the content items needed to display the various applications that the Sitecore UI itself uses to display.  It is plausible that the issue resides here.  That is why I suggest packaging this folder.&lt;/p&gt;&#xA;&lt;h3&gt;Business Component Library&lt;/h3&gt;&#xA;&lt;p&gt;This is the commonly used set of SPEAK Renderings and Layouts. Items in the Applications depend on the Business Component Library items.  If packaging the Applications up doesn't fix the issue, you might try packaging up Business Component Library items instead.&lt;/p&gt;&#xA;&lt;h3&gt;Services and Speak&lt;/h3&gt;&#xA;&lt;p&gt;These two items contain more specific items that the Business Component Library and Applications depend on.  Based on this error, I don't expect the issue to lie in these sections.&lt;/p&gt;&#xA;&lt;h2&gt;Why would this work?&lt;/h2&gt;&#xA;&lt;p&gt;SPEAK UI is configured, developed, and rendered based on items stored in the Core Database. These items are used by a large number of Sitecore's own client UI. SPEAK UI is a mix of Controller Renderings (defined in Core) combined with Javascript and CSS files stored in the file system under &lt;code&gt;/sitecore/shell/client/Applications&lt;/code&gt; directory.&lt;/p&gt;&#xA;&lt;p&gt;Due to your comment saying that the vanilla 8.2U2 core database works, I believe that the issue is the migration didn't properly copy over the proper elements needee in the Core database.&lt;/p&gt;&#xA;&lt;p&gt;Therefore, packaging up the SPEAK UI items out of the vanilla Core DB and installing the package on your old Core DB using the Overwrite feature, will bring the appropriate items over that seem to be missing.&lt;/p&gt;&#xA;&lt;h2&gt;Why package up all things?&lt;/h2&gt;&#xA;&lt;p&gt;Well, I take the line of thought that if one obscure item is out of whack, there might be others.  So to be safe, copy over all of the SPEAK UI client Application items.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-01-20T19:07:47.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9597" PostTypeId="2" ParentId="9514" CreationDate="2018-01-20T19:55:00.483" Score="10" Body="&lt;p&gt;This is a pretty complex issue and question, but you have broken it down excellently to allow me to attempt and pinpoint the issue.  I believe the issue you are suffering from is what I have called &quot;The Library Computer Problem&quot;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Question 1&lt;/h1&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;With the usage of ExM and Engagement Plans we are heavily relying on&#xA;  contacts and the relation from contacts to the user. Are contacts&#xA;  suitable for such a process?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;There is no hard line relationship between a User and a Contact. Let's break that down a bit. However, EXM and Engagement Plans can ONLY utilize Contacts and not users. Therefore, contacts are the correct object to use.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What is a User?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;A &lt;strong&gt;USER&lt;/strong&gt; is an authenticated account residing in the .NET Membership Database or other Federated Authentication service.  Users are typically bound to a domain such as &lt;strong&gt;sitecore&lt;/strong&gt;, &lt;strong&gt;extranet&lt;/strong&gt;, or other configured domain in Sitecore.  A user typically has a Profile (ASP.NET Membership Profile) associated with the account that can store various values.  The default structure of a username is in the format of &lt;strong&gt;&lt;em&gt;domain/username&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What is a Contact?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;A &lt;strong&gt;CONTACT&lt;/strong&gt; is a marketing term identifying a visitor to the website. A contact record and associated ID always exists for a visitor on the browser. There are primarily two types of Contacts: an Anonymous Contact and a Known Contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contacts have Facets that provide a place to store Contact information, like Personal Information (name, surname, birthday, gender, etc), Contact Street Addresses, and Email Addresses. The Contact model can also be extended to store custom contact data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore personalization can be used to read information from the contact facets for various personalization rules and List Segment Conditions can also be created to automatically create Contact Lists based off of facet information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The difference between the two types of Contacts is that the visitor has provided some sort of identifying information that allows the site to programmatically identify a contact with some tangible and unique identifier. The most common types of identifiers are Email Addresses and Usernames.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contacts are stored in Session during the visitor's visit to the website via a cookie. One a visitor leaves the site, during the SessionEnd() process, the contact, any contact information, and interaction tracking information is moved from the session to the Mongo DB (or xConnect Collection). From there, the xDB Processing role of Sitecore will process the Mongo/xConnect Collection and move the information to the Sitecore Analytics index and the Reporting database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The cookie persists past the visit so that the Contact, upon coming back, can continue to add visit information to the interactions. This cookie CAN be manually reset back to anonymous contact record by forcing both the visit to end and the Session to be abandoned.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.EndVisit(true);&#xA;HttpContext.Current.Session.Abandon();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code above ends the visit and invalidates the cookie. Secondly, it forces the Session to end and immediately writes data to Mongo via the &lt;code&gt;EndSession()&lt;/code&gt; process.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Is there any relationship between a User and a Contact?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There is NO relationship in Sitecore, xDB, or xConnect that associates a User to a Contact.  Any such relationship has to be done manually by use of identifiers and even then the application has to maintain that relationship.  It is completely plausible that somehow a single logged in user might actually have two contact id's or 1 contact id could somehow be used on two different users. It is up to the custom application to maintain any type of relationship.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Question 2&lt;/h1&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Now that we are already this far in the implementation, what is &quot;the&#xA;  best way&quot; of solving our issue?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To really answer this, requires us to break down the Use Case above.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Breaking Down the Use Case&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A married couple is sharing one device for surfing through the web.&#xA;  The wife is registered on OurWebsite and is currently logged in.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The currently known contact is the Wife's and because she is logged in, and making assumptions that you have identified the contact as a Known Contact, then any interactions taken will be on this contact id.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Her husband is fascinated by OurWebsite and would like to register&#xA;  too. His wife is logging out and then husband is using the&#xA;  registration form to register as a new user, inside the same browser&#xA;  window which his wife used before.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Unless you are specifically clearing the contact cookie, the Wife's cookie remains after she logs out. When the husband continues browsing, he is doing so on the known contact id, which is the wife's.  When the form is registered, even though the husband is creating a new user, the existing wife's contact id will be utilized through EXM.  &lt;strong&gt;&lt;em&gt;I believe this is where the root issue is occuring&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;He is sending the registration form and an email with a confirmation&#xA;  request is being send to his email address (wife and husband have&#xA;  different email addresses).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;EXM uses the contact id that was associated to the engagement plan, and therefore when EXM dispatches the message, the URL parameters used in the link contained in the email include the wife's contact id.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;He clicks on the confirmation link inside the email and is being&#xA;  redirected to OurWebsite, where he is now able to log in, with his&#xA;  newly created user credentials.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Because the click is associated with the wife's contact id's, I'm assuming nothing happens, and thus doesn't enable the contact as stated in the issue.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Possible Solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I believe that a possible solution to this issue is to force the Sitecore Analytics Tracking Visit to End, invalidate the cookie, and then end the session when the user performs a LOGOUT function.  This will reset the contact cookie to an Anonymous contact so that the next user will have a clean and anonymous contact record to work with.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Question 3&lt;/h1&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;What exactly happens internally, when a contact is already known for a&#xA;  session and is being identified again with another identifier?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When a Contact is being Identified, internally the &lt;code&gt;MergeContact()&lt;/code&gt; method is run.  This is an important function because it merges any anonymous interactions and contact information with a Known contact record.  If no Known contact exists, then a NEW contact id is created, marked as a Known Contact, and the old Anonymous contact is killed off. I say it like that because in code Sitecore calls the two different contact id's the &lt;strong&gt;dying&lt;/strong&gt; contact and &lt;strong&gt;surviving&lt;/strong&gt; contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if the current contact id is a KNOWN contact, and you are identifying against a different identifier which will call up a different KNOWN contact id, then no data is merged to the &quot;surviving&quot; contact and simply the cookie is updated to reflect the most recently identified contact.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-01-25T15:39:12.903" LastActivityDate="2018-01-25T15:39:12.903" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9598" PostTypeId="1" CreationDate="2018-01-20T20:11:48.080" Score="6" ViewCount="455" Body="&lt;p&gt;I would like to know how to remove the &lt;code&gt;[unknown page]&lt;/code&gt; part in the Sitecore&#xA;analytics dashboard?&#xA;I am pretty much sure that they are internal api calls and google tracking etc, it´s displaying unwanted data in the dashboard. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7OoCs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7OoCs.png&quot; alt=&quot;unknown page image sitecore analytics&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help!&lt;/p&gt;&#xA;" OwnerUserId="3017" LastEditorUserId="3089" LastEditDate="2018-01-23T07:44:50.847" LastActivityDate="2018-01-23T07:44:50.847" Title="How to remove [unknown page] in Sitecore analytics" Tags="|xdb|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9599" PostTypeId="2" ParentId="9598" CreationDate="2018-01-20T20:36:13.643" Score="5" Body="&lt;p&gt;It does not appear that there is any way to disable this page from the Report Builder which is used to populate this page. I'll attempt to walk this through:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Sitecore.ExperienceAnalytics.Api.ReportingService&lt;/code&gt; creates a new object called &lt;code&gt;LiveReportResponseBuilder()&lt;/code&gt; in the &lt;code&gt;RunQuery()&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ReportResponse RunQuery(ReportQuery reportQuery)&#xA;{&#xA;  IReportQueryData data = reportQuery.GetData();&#xA;  CachingPolicy cachingPolicy = new CachingPolicy()&#xA;  {&#xA;    ExpirationPeriod = reportQuery.RequestType.GetServerSideExpiration()&#xA;  };&#xA;  IEnumerable&amp;lt;ReportRow&amp;gt; reportData = this.reportDataService.ExecuteQuery(data, cachingPolicy);&#xA;  return new LiveReportResponseBuilder(this.dimensionDefinitionService, this.aggregationSegmentReader, this.segmentReader, data, reportData).GetReportResponse();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;LiveReportResponseBuilder&lt;/code&gt; class has a private method called &lt;code&gt;GetDimensionKeyMap()&lt;/code&gt;.  In this method, the Dimension Key trying to be resolved cannot be transformed for the given language, and thus a mapping is added to the response of &quot;Unknown&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    if (key1.IsOther())&#xA;    {&#xA;      dimensionKeyMap.Mapping.Add(new KeyValuePair&amp;lt;string, string&amp;gt;(key1, &quot;Other&quot;));&#xA;    }&#xA;    else&#xA;    {&#xA;      string key2 = keyStringReplacer.Replace(key1);&#xA;      try&#xA;      {&#xA;        string str = transformer.Transform(key1, language);&#xA;        if (!string.IsNullOrEmpty(str) &amp;amp;&amp;amp; !key1.Equals(str))&#xA;          dimensionKeyMap.Mapping.Add(new KeyValuePair&amp;lt;string, string&amp;gt;(key2, str));&#xA;        else if (string.IsNullOrEmpty(str))&#xA;        {&#xA;          dimensionKeyMap.Mapping.Add(new KeyValuePair&amp;lt;string, string&amp;gt;(key2, Translate.Text(transformer.UnknownLabel)));&#xA;          dimensionKeyMap.FailedMappings.Add(key1);&#xA;        }&#xA;      }&#xA;      catch (InvalidTypeMappingException ex)&#xA;      {&#xA;        dimensionKeyMap.Mapping.Add(new KeyValuePair&amp;lt;string, string&amp;gt;(key2, Translate.Text(transformer.UnknownLabel)));&#xA;        dimensionKeyMap.FailedMappings.Add(key1);&#xA;      }&#xA;      catch (Exception ex)&#xA;      {&#xA;        ApiContainer.GetLogger().Error(string.Format(&quot;Transformer '{0}' failed for key '{1}'. Message: {2}. Details: {3}&quot;, (object) transformer.GetType().FullName, (object) key1, (object) ex.Message, (object) ex.StackTrace));&#xA;        dimensionKeyMap.Mapping.Add(new KeyValuePair&amp;lt;string, string&amp;gt;(key2, Translate.Text(transformer.UnknownLabel)));&#xA;        dimensionKeyMap.FailedMappings.Add(key1);&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Why is this happening?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If I am reading this correctly, there is an Analytics Dimension Key that is either not defined correctly or has no associated value mapping.  Dimensions are stored in Sitecore in &lt;code&gt;/sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All Interactions in Sitecore that are tracked to a dimension are stored in Mongo by GUID ID.  If for some reason, there are interactions in Mongo that do not relate to a Dimension ID in Sitecore, then this can cause an &quot;Unknown Page&quot; mapping.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can happen if a dimension is removed from Sitecore.  This is also more noticeable if a dimension is removed and then the Reporting DB is rebuilt.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can also occur if there is a mismatch between what is stored as dimensions in the Sitecore Config, The Sitecore Master DB, and the Reporting DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally, the Sitecore Log on the Processing Role server will show errors about missing dimensions that can provide you some insight on the dimension id is missing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It could be as simple as restoring the appropriate dimension information and rebuilding the Reporting Database in order to get rid of the &quot;Unknown Page&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Otherwise, there is no other way to exclude Unknown Pages from Sitecore Analytics.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-20T20:36:13.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9600" PostTypeId="2" ParentId="7409" CreationDate="2018-01-21T11:08:12.323" Score="5" Body="&lt;p&gt;Some time has gone after asking this question, and I think it was solved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for someone, who will find this question in future, this could be helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created &lt;a href=&quot;https://github.com/antonytm/Dianoga&quot; rel=&quot;noreferrer&quot;&gt;fork of Dianoga&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How WebP optimization works there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Browser sends request to server to get image. If browser supports WebP image format then it sends &lt;code&gt;image/webp&lt;/code&gt; value in &lt;code&gt;Accept&lt;/code&gt; header. It is possible to detect this header on server and return &lt;code&gt;WebP&lt;/code&gt; image to browser instead of &lt;code&gt;JPEG&lt;/code&gt; or &lt;code&gt;PNG&lt;/code&gt;. If browser doesn't support &lt;code&gt;WebP&lt;/code&gt; then other image optimizers are executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to enable WebP support:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Enable Dianoga.WebP.config.disabled config&lt;/li&gt;&#xA;&lt;li&gt;Open web.config and change line with &lt;code&gt;MediaRequestHandler&lt;/code&gt; to use Dianoga &lt;code&gt;MediaRequestHandler&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;If you have custom &lt;code&gt;MediaRequestHandler&lt;/code&gt; (e.g. Habitat is used) then skip step 2 and override &lt;code&gt;DoProcessRequest&lt;/code&gt; method with detection of support of WebP format.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;e.g:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override bool DoProcessRequest(HttpContext context, MediaRequest request, Media media)&#xA;{&#xA;    if (context?.Request.AcceptTypes != null &amp;amp;&amp;amp; (context.Request.AcceptTypes).Contains(&quot;image/webp&quot;))&#xA;    {&#xA;        request.Options.CustomOptions[&quot;extension&quot;] = &quot;webp&quot;;&#xA;    }&#xA;&#xA;    return base.DoProcessRequest(context, request, media);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more details, please review &lt;a href=&quot;https://github.com/antonytm/Dianoga&quot; rel=&quot;noreferrer&quot;&gt;GitHub repository&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-01-21T11:08:12.323" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9602" PostTypeId="2" ParentId="9058" CreationDate="2018-01-22T00:48:55.037" Score="3" Body="&lt;p&gt;This issue is solved. &#xA;For me this issue was only happening for Sitecore 8.2 on a machine with ASP.NET version 4.6 and above.&#xA;Also issue surfaces when I launched EXM Dashboard or Experience Analytics Dashboard. I had to open a ticket with Sitecore and they helped me with this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add the third party dll with MVC or API routes in the excludedAssemblies section of Sitecore.Services.Client.config and Sitecore.Mvc.config&lt;/li&gt;&#xA;&lt;li&gt;Reset IIS&lt;/li&gt;&#xA;&lt;li&gt;Delete everything from the folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Here is the sample config patch for Sitecore.Mvc.config. Similar config patch should be created for Sitecore.Services.Client.config &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;mvc&amp;gt;&#xA;      &amp;lt;configurationAssemblies type=&quot;Sitecore.Mvc.Configuration.ExcludedAssembliesConfiguration, Sitecore.Mvc&quot;&amp;gt;&#xA;        &amp;lt;excludedAssemblies hint=&quot;list&quot;&amp;gt;&#xA;          &amp;lt;excludedAssembly id=&quot;Sample.AssemblyName&quot;&amp;gt;Sample.AssemblyName&amp;lt;/excludedAssembly&amp;gt;&#xA;        &amp;lt;/excludedAssemblies&amp;gt;&#xA;      &amp;lt;/configurationAssemblies&amp;gt;&#xA;    &amp;lt;/mvc&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2113" LastActivityDate="2018-01-22T00:48:55.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9603" PostTypeId="1" CreationDate="2018-01-22T04:33:57.403" Score="4" ViewCount="259" Body="&lt;p&gt;During an A/B test, I was able to see results such as number of visitors to each version, conversions rates etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now when the test has ended, I cannot see any of the data. I have looked at Historical Tests in both Experience Editor and Experience Optimization with no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I see now:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yj3JH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yj3JH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I saw during the test:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UAPMH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UAPMH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where can I access the test results dialogue after an A/B test is completed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3097" LastEditorUserId="1671" LastEditDate="2018-01-22T08:13:01.880" LastActivityDate="2021-11-17T09:37:17.427" Title="Historical test results for A/B &amp; MV testing" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9604" PostTypeId="1" CreationDate="2018-01-22T04:50:41.963" Score="1" ViewCount="118" Body="&lt;p&gt;I have created a textbox and a button in a View Rendering.&lt;/p&gt;&#xA;&lt;p&gt;Now I want to know how to store the input value from that textbox by clicking the button and store that in the Content Tree.&lt;/p&gt;&#xA;&lt;p&gt;How would I do that?&lt;/p&gt;&#xA;" OwnerUserId="3127" LastEditorUserId="4390" LastEditDate="2022-01-03T14:08:58.293" LastActivityDate="2022-01-03T14:08:58.293" Title="How to get an input value from textbox and store that in Content Tree in Sitecore?" Tags="|sitecore-api|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="9608" PostTypeId="1" CreationDate="2018-01-22T08:48:21.490" Score="3" ViewCount="190" Body="&lt;p&gt;We are working on Sitecore &quot;Arabic&quot; and &quot;English&quot; languages. As you know Arabic start from right to left and English start left to right. Due to this reason we have to write two class for same element div,button,form etc.. For example &quot;Arabic Header&quot; and &quot;English Header&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to maintain this in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should i have to create Asset folder with two sub folder &quot;En&quot; and &quot;Ar&quot; and then render by current context language?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should i have to include all css in media library and render base on that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best practice?&lt;/p&gt;&#xA;" OwnerUserId="3049" LastEditorUserId="237" LastEditDate="2018-02-09T08:19:35.433" LastActivityDate="2018-02-09T08:19:35.433" Title="Sitecore Language wise css changes" Tags="|css|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9610" PostTypeId="2" ParentId="9608" CreationDate="2018-01-22T09:15:05.453" Score="4" Body="&lt;p&gt;Better to add class to &lt;code&gt;body&lt;/code&gt; tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;body class=&quot;ar&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In code it will be look like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;body class=&quot;@Html.Sitecore().GetBodyCssClass()&quot;&amp;gt;&#xA;&#xA;&#xA;        public static HtmlString GetBodyCssClass(this SitecoreHelper helper)&#xA;        {&#xA;            var cssClass = string.Empty;&#xA;            if (Context.Language != null &amp;amp;&amp;amp; Context.Language.CultureInfo != null)&#xA;            {&#xA;                cssClass = Context.Language.CultureInfo.TwoLetterISOLanguageName.ToLower();&#xA;                if (Context.Language.CultureInfo.Name.ToLower() != cssClass)&#xA;                {&#xA;                    cssClass += &quot; &quot; + Context.Language.CultureInfo.Name.ToLower();&#xA;                }&#xA;            }&#xA;&#xA;            return new HtmlString(cssClass);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also you need to have one css file with defined styles like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;body.ar .main-slider {&#xA;    left: auto;&#xA;    right: 50px&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It means that you need to have separate styles for &lt;code&gt;ar&lt;/code&gt; language (LeftToRight styles). You can use &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/mvc/overview/performance/bundling-and-minification&quot; rel=&quot;nofollow noreferrer&quot;&gt;ASP.NET Bundles&lt;/a&gt; for join your all css files.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-01-22T09:15:05.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9611" PostTypeId="1" AcceptedAnswerId="9615" CreationDate="2018-01-22T12:04:29.907" Score="7" ViewCount="5147" Body="&lt;p&gt;I'm trying to install Sitecore 9 Update 1 and i'm getting the following error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KujTl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KujTl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i'm using the following script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters &#xA;$prefix = &quot;S9U1Demo&quot; &#xA;$PSScriptRoot = &quot;C:\Resourcefiles&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot; &#xA;$sitecoreSiteName = &quot;$prefix.Site&quot; &#xA;$SolrUrl = &quot;https://localhost:8983/solr&quot; &#xA;$SolrRoot = &quot;C:\Solr-6.6.2&quot; &#xA;$SolrService = &quot;solr-6.6.2&quot; &#xA;$SqlServer = &quot;CLDBHPMKJ\SQLEXPRESS&quot; &#xA;$SqlAdminUser = &quot;Sitecore9&quot; &#xA;$SqlAdminPassword=&quot;test&quot; &#xA;&#xA;#install client certificate for xconnect &#xA;$certParams = @{ &#xA;    Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot; &#xA;    CertificateName = &quot;$prefix.xconnect_client&quot; &#xA;} &#xA;Install-SitecoreConfiguration @certParams -Verbose &#xA;&#xA;#install solr cores for xdb &#xA;$solrParams = @{ &#xA;    Path = &quot;$PSScriptRoot\xconnect-solr.json&quot; &#xA;    SolrUrl = $SolrUrl &#xA;    SolrRoot = $SolrRoot &#xA;    SolrService = $SolrService &#xA;    CorePrefix = $prefix &#xA;} &#xA;Install-SitecoreConfiguration @solrParams &#xA;&#xA;#deploy xconnect instance &#xA;$xconnectParams = @{ &#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot; &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot; &#xA;    Sitename = $XConnectCollectionService &#xA;    XConnectCert = $certParams.CertificateName &#xA;    SqlDbPrefix = $prefix &#xA;    SqlServer = $SqlServer &#xA;    SqlAdminUser = $SqlAdminUser &#xA;    SqlAdminPassword = $SqlAdminPassword &#xA;    SolrCorePrefix = $prefix &#xA;    SolrURL = $SolrUrl &#xA;} &#xA;Install-SitecoreConfiguration @xconnectParams &#xA;&#xA;#install solr cores for sitecore &#xA;$solrParams = @{ &#xA;    Path = &quot;$PSScriptRoot\sitecore-solr.json&quot; &#xA;    SolrUrl = $SolrUrl &#xA;    SolrRoot = $SolrRoot &#xA;    SolrService = $SolrService &#xA;    CorePrefix = $prefix &#xA;} &#xA;Install-SitecoreConfiguration @solrParams &#xA;&#xA;#install sitecore instance &#xA;$xconnectHostName = &quot;$prefix.xconnect&quot; &#xA;$sitecoreParams = @{ &#xA;    Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot; &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_single.scwdp.zip&quot;&#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot; &#xA;    SqlDbPrefix = $prefix &#xA;    SqlServer = $SqlServer &#xA;    SqlAdminUser = $SqlAdminUser &#xA;    SqlAdminPassword = $SqlAdminPassword &#xA;    SolrCorePrefix = $prefix &#xA;    SolrUrl = $SolrUrl &#xA;    XConnectCert = $certParams.CertificateName &#xA;    Sitename = $sitecoreSiteName &#xA;    XConnectCollectionService = &quot;https://$XConnectCollectionService&quot; &#xA;} &#xA;Install-SitecoreConfiguration @sitecoreParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone run in to this before?&lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="3136" LastEditDate="2018-02-09T08:18:38.687" LastActivityDate="2019-01-11T22:25:54.203" Title="Sitecore 9 Update 1 installation EXM Master DB Name" Tags="|installation|sitecore-install-framework|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9612" PostTypeId="2" ParentId="9324" CreationDate="2018-01-22T12:34:04.717" Score="3" Body="&lt;p&gt;Building logic into the custom item events themselves makes the functionality rigid and not easily changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A quick google search on &lt;a href=&quot;https://www.google.co.in/search?q=limiting%20no%20of%20child%20sitecore%20items%20through%20rules&amp;amp;oq=limiting%20no%20of%20child%20sitecore%20items%20through%20rules&amp;amp;aqs=chrome..69i57.10548j0j7&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&quot; rel=&quot;nofollow noreferrer&quot;&gt;limiting no of child sitecore items through rules&lt;/a&gt; has yielded good results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;'FES Sitecore' has written a fantastic blog about this. &lt;a href=&quot;http://fes-sitecore.blogspot.in/2017/03/restricting-number-of-sub-items-in.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Restricting the number of sub items in Sitecore&lt;/a&gt;. Hope this is what you are looking for. Below summary is condensed version of above blog post. Strongly recommend to visit the link for deep dive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the core, you should try using the Sitecore Rules. This rule can run when an item is created or moved from some other location in content tree&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a Custom Condition Rule like AnyChildItemCountCondition derived from BaseOperatorCondition&lt;/li&gt;&#xA;&lt;li&gt;Or if you would like to restrict by template type you can create something like TemplateChildItemCountCondition&lt;/li&gt;&#xA;&lt;li&gt;Configure the Custom Rule Condition in &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Item Hierarchy&lt;/code&gt;. Rule condition might look like &lt;code&gt;where the number of [templateid,Tree,root=/sitecore/templates,specific template] child items [operatorid,Operator,,compares to] [count,Integer,,number]&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Then create custom actions like &lt;code&gt;DeleteItemAction&lt;/code&gt; or &lt;code&gt;CancelItemMoveAction&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;We need to configure these in a similar way to how we configured the conditions. We'll create a new group for these rules so create a new &quot;Element Folder&quot; like &quot;&lt;em&gt;My Item Actions&lt;/em&gt;&quot; under &lt;code&gt;&#xA;/sitecore/system/Settings/Rules/Definitions/Elements&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Define a custom Tag for the above custom actions. Tags are used to define which groups of conditions or actions are shown under what circumstances. Something like '&lt;em&gt;My Item Actions&lt;/em&gt;' under &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Tags&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Associate that tag with our custom action group so edit this item &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/My Item Actions/Tags/Default&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Define custom rules context folder. Something similar to &lt;code&gt;/sitecore/system/Settings/Rules/Item Saved&lt;/code&gt; and create Rules for Item creation and Item Move. Rule might appear under &lt;code&gt;/sitecore/system/Settings/Rules/My Custom Items/Rules&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now the fun part of actually running the rules from the custom event handlers&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;item:moved&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;MyNamespace.RunRules, MyAssembly&quot; method=&quot;OnMoved&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;item:created&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;MyNamespace.RunRules, MyAssembly&quot; method=&quot;OnCreated&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Sample class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RunRules&#xA;{&#xA;    public void OnCreated(object sender, EventArgs args)&#xA;    {&#xA;        var itemArgs = Event.ExtractParameter(args, 0) as ItemCreatedEventArgs;&#xA;&#xA;        if (itemArgs == null || itemArgs.Item == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Execute(itemArgs.Item, &quot;/sitecore/system/Settings/Rules/My Created Events/Rules/*[@@templatename='Rule']&quot;);&#xA;    }&#xA;&#xA;    public void OnMoved(object sender, EventArgs args)&#xA;    {&#xA;        Item item = Event.ExtractParameter(args, 0) as Item;&#xA;        ID oldParentID = Event.ExtractParameter(args, 1) as ID;&#xA;&#xA;        if (item == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Execute(item, &quot;/sitecore/system/Settings/Rules/My Moved Events/Rules/*[@@templatename='Rule']&quot;,&#xA;            new NameValueCollection { { &quot;OldParentID&quot;, oldParentID.ToString() } });&#xA;    }&#xA;&#xA;    private void Execute(Item item, string query, NameValueCollection parameters = null)&#xA;    {&#xA;        Item[] ruleItems = item.Database.SelectItems(query);&#xA;&#xA;        if (ruleItems.Length == 0)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var ruleContext = new RuleContext();&#xA;&#xA;        ruleContext.Item = item;&#xA;&#xA;        if (parameters != null)&#xA;        {&#xA;            foreach (string key in parameters.AllKeys)&#xA;            {&#xA;                ruleContext.Parameters.Add(key, parameters[key]);&#xA;            }&#xA;        }&#xA;&#xA;        foreach (var ruleItem in ruleItems)&#xA;        {&#xA;            var rules = RuleFactory.ParseRules&amp;lt;RuleContext&amp;gt;(ruleItem.Database, ruleItem[&quot;Rule&quot;]);&#xA;&#xA;            if (rules != null &amp;amp;&amp;amp; rules.Count &amp;gt; 0)&#xA;            {&#xA;                rules.Run(ruleContext);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="773" LastEditorUserId="773" LastEditDate="2018-01-22T13:31:20.433" LastActivityDate="2018-01-22T13:31:20.433" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9613" PostTypeId="1" CreationDate="2018-01-22T12:45:51.943" Score="1" ViewCount="90" Body="&lt;p&gt;I have a strange issue, and it seems like related to configuration but I don't know how to fix it. &#xA;when user add space to url like &lt;a href=&quot;http://my.local/%20/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my.local/%20/&lt;/a&gt; I see an error&#xA;like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Configuration Error&#xA;Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. &#xA;&#xA;Parser Error Message: The configSource file 'App_Config\ConnectionStrings.config' is also used in a parent, this is not allowed. &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I just wonder how to solve it on multisite solution?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2018-01-22T12:45:51.943" Title="sitecore strange behavior for only space in url" Tags="|sxa|multisite|" AnswerCount="0" CommentCount="1" ClosedDate="2018-01-22T13:14:39.727" ContentLicense="CC BY-SA 3.0" />
  <row Id="9614" PostTypeId="1" CreationDate="2018-01-22T13:14:54.783" Score="1" ViewCount="72" Body="&lt;p&gt;We are on Sitecore 8.1 rev. 151207 (Update-1)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we scale an existing Azure Delivery Farm, using Sitecore Azure module, we are seeing the additional server, but we are not seeing anything deployed to it.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to know, how can we browse to these individual servers to confirm that they are there and deployed as expected? &lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-01-22T13:14:54.783" Title="Browsing individual delivery server in Azure scaling environment" Tags="|azure|deployment|scaling|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9615" PostTypeId="2" ParentId="9611" CreationDate="2018-01-22T13:46:13.803" Score="7" Body="&lt;p&gt;This error appear because you don't have the right json configuration files&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Update1.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Update1.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to get entire package for xp0 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/j2xni.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/j2xni.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This package contains 3 zip files: (you already use : &lt;strong&gt;Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip&lt;/strong&gt; and  &lt;strong&gt;Sitecore 9.0.1 rev. 171219 (OnPrem)_single.scwdp.zip&lt;/strong&gt; )&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pwO1j.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pwO1j.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On XP0 configuration files are the configuration for 9.0.1 release. &#xA;This config files are a little bit different than 9.0 release. For example it referrer EXM databases (exm.master and messaging)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EuYUX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EuYUX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-01-22T13:46:13.803" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9616" PostTypeId="1" CreationDate="2018-01-22T15:17:21.363" Score="1" ViewCount="214" Body="&lt;p&gt;I have a custom  mongo database, that database contains information about pages.I need to query it in order to use SEP to create pages according to that info, ig, adding renderings component, etc. That mongo collection has info required to see what component rendering I should use, also it has the data of the page to be created.  So I have to query that mongodb from Powershell, the according to that data create an item.  Can I 'atached' that mongo database to sitecore, and from SEP query the mongodb? I dont seem to find any documentation on how to do so, using mongodb. &lt;/p&gt;&#xA;" OwnerUserId="2537" LastEditorUserId="73" LastEditDate="2018-01-22T20:13:02.010" LastActivityDate="2018-01-22T20:13:02.010" Title="Use custom Mongo db with Powershell" Tags="|powershell-extensions|mongodb|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9617" PostTypeId="1" AcceptedAnswerId="9726" CreationDate="2018-01-22T15:37:27.220" Score="20" ViewCount="5678" Body="&lt;p&gt;I have a Sitecore solution (Sitecore 9.0.1 revision 171219 on Azure in xP1 topology) that as far as I can tell all roles are working as expected and communicating. I am able to fire goals, create contacts, and add engagement value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Sitecore Launch page, I see that stats are collecting and reporting appropriately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mLWBL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mLWBL.png&quot; alt=&quot;Launchpad Stats&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I go into Sitecore's Experience Analytics, I would expect to see similar graphs and numbers to the one on the launch pad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I0hQF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I0hQF.png&quot; alt=&quot;Experience Analytics showing no visits&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, the graph under it, which I believe is basically the same graph as on the Launchpad also shows up empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m5Kzk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m5Kzk.png&quot; alt=&quot;Experience Analytics showing empty graph&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I wanted to know what the difference was in the queries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Launchpad Queries include:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://sitecoresite/sitecore/api/ao/aggregates/all/799B0CD6A8114772BDC46DC607106A62/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;keyTop=5&amp;amp;keyOrderBy=visits-Asc&amp;amp;dateFrom=22-10-2017&amp;amp;dateTo=22-01-2018&amp;amp;keyGrouping=by-key&quot; rel=&quot;noreferrer&quot;&gt;https://sitecoresite/sitecore/api/ao/aggregates/all/799B0CD6A8114772BDC46DC607106A62/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;keyTop=5&amp;amp;keyOrderBy=visits-Asc&amp;amp;dateFrom=22-10-2017&amp;amp;dateTo=22-01-2018&amp;amp;keyGrouping=by-key&lt;/a&gt;&#xA;  &lt;a href=&quot;https://sitecoresite/sitecore/api/ao/aggregates/all/0751EFD8564F40A38083EF5C6E194247/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;dateFrom=22-10-2017&amp;amp;dateTo=22-01-2018&amp;amp;keyGrouping=collapsed&quot; rel=&quot;noreferrer&quot;&gt;https://sitecoresite/sitecore/api/ao/aggregates/all/0751EFD8564F40A38083EF5C6E194247/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;dateFrom=22-10-2017&amp;amp;dateTo=22-01-2018&amp;amp;keyGrouping=collapsed&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, the Experience Analytics queries look like:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://sitecoresite/sitecore/api/ao/aggregates/all/0751EFD8564F40A38083EF5C6E194247/-3191897772735422194?&amp;amp;dateGrouping=collapsed&amp;amp;&amp;amp;dateFrom=14-01-2018&amp;amp;dateTo=22-01-2018&amp;amp;keyGrouping=by-key&quot; rel=&quot;noreferrer&quot;&gt;https://sitecoresite/sitecore/api/ao/aggregates/all/0751EFD8564F40A38083EF5C6E194247/-3191897772735422194?&amp;amp;dateGrouping=collapsed&amp;amp;&amp;amp;dateFrom=14-01-2018&amp;amp;dateTo=22-01-2018&amp;amp;keyGrouping=by-key&lt;/a&gt;&#xA;  &lt;a href=&quot;https://sitecoresite/sitecore/api/ao/aggregates/all/0751EFD8564F40A38083EF5C6E194247/-3191897772735422194?&amp;amp;dateGrouping=by-auto&amp;amp;&amp;amp;dateFrom=14-01-2018&amp;amp;dateTo=22-01-2018&amp;amp;keyGrouping=by-key&quot; rel=&quot;noreferrer&quot;&gt;https://sitecoresite/sitecore/api/ao/aggregates/all/0751EFD8564F40A38083EF5C6E194247/-3191897772735422194?&amp;amp;dateGrouping=by-auto&amp;amp;&amp;amp;dateFrom=14-01-2018&amp;amp;dateTo=22-01-2018&amp;amp;keyGrouping=by-key&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The difference is in highlighted here:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sdmoq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sdmoq.png&quot; alt=&quot;Experience Analytics XHR requests&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two requests being made with a negative value number instead of &quot;all&quot;.  And it's these two requests that are causing these graphs to be blank. I am pretty sure the existence of the negative numbers is by design (as these are the same requests in my xP0 environment that are working), but it is these two requests which are not providing any metrics.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;&lt;strong&gt;Question: Why is this occurring and how can it be fixed?&lt;/strong&gt;&lt;/h2&gt;&#xA;&#xA;&lt;h2&gt;Other Notes:&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This does not appear to be an issue in Sitecore 9.0.1 rev. 171219 on Azure using xP0 topology. &lt;/li&gt;&#xA;&lt;li&gt;No errors in any logs are being generated on any of the roles.&lt;/li&gt;&#xA;&lt;li&gt;No XHR request errors either.&lt;/li&gt;&#xA;&lt;li&gt;Using Azure Search for indexes on all roles. (Not Solr)&lt;/li&gt;&#xA;&lt;li&gt;I am using Self-Signed Certificates&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I also have information showing in Experience Profile for Contacts showing visits and values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FcqnF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FcqnF.png&quot; alt=&quot;Experience Profile showing contacts&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 1:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I was given a clue to ensure that my connection strings for certificate thumbnails included the &lt;code&gt;AllowInvalidClientCertificates=true&lt;/code&gt;. They did not. I have updated all connection strings and generated some visits but that appears to have had no effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While deploying my xP1 environment to Azure PaaS I used the provided 9.0.1 ARM templates. Yesterday, I noticed that Lucene had been configured for OOTB on the PRC, DDS, and REP roles.  This was causing a handful of performance issues out of those roles. Changing the Search provider to Azure has cleared up all performance issues seen from those roles, but has also not fixed this particular issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am wondering if because there was some lucene issues during processing, if by switching to Azure without rebuilding the reporting database is causing some issues. Therefore, I am going to attempt to do a rebuild of the reporting database (not looking forward to it since this is in Azure PaaS, but we'll see what happens).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 2:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have determined the root issue of this is because there are NO SEGMENTS in my Segments table in the Reporting Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to deploy segments over and over and over in various different ways and configurations and Segments will NOT deploy in an Azure PaaS xP1 configuration.  I have tested Azure PaaS xP0 and this is not an issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are Zero Errors in the logs.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;When Trying to Deploy a Single Segment&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;CM Log&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2018-01-23T16:12:09  PID[13960] Information ManagedPoolThread #4 16:12:09 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;2018-01-23T16:12:09  PID[13960] Information ManagedPoolThread #4 16:12:09 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;2018-01-23T16:12:11  PID[13960] Information 7752 16:12:11 INFO  AzureSearch Query [sitecore_master_index]: &amp;amp;search=datasource_1:(sitecore)&amp;amp;$filter=(latestversion_1 eq true and (path_1/any(t:t eq '154d56cc0de243c7bbc0a25bd7ffd901')) and (path_1/any(t:t eq '154d56cc0de243c7bbc0a25bd7ffd901')) and latestversion_1 eq true and not search.ismatchscoring('group_1:(154d56cc0de243c7bbc0a25bd7ffd901)', null, 'full', null))&amp;amp;queryType=full&amp;amp;$skip=0&amp;amp;$top=20&amp;amp;$count=true&#xA;2018-01-23T16:12:17  PID[13960] Information 8260 16:12:17 INFO  [Experience Analytics]: Deploying segment 'All visits by entry page' with id 96b651b5-c0c6-45f3-a043-fdfb03758008 for dimension 24307e3b-951f-463c-9310-475757ea2871 using reference data client&#xA;2018-01-23T16:12:17  PID[13960] Information ManagedPoolThread #3 16:12:17 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;2018-01-23T16:12:17  PID[13960] Information ManagedPoolThread #3 16:12:17 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;2018-01-23T16:12:17  PID[13960] Information ManagedPoolThread #3 16:12:17 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;2018-01-23T16:12:17  PID[13960] Information 8260 16:12:17 INFO  [Experience Analytics]: Deploying segment 'All visits by entry page' with id 96b651b5-c0c6-45f3-a043-fdfb03758008 for dimension 24307e3b-951f-463c-9310-475757ea2871 using reference data client&#xA;2018-01-23T16:12:17  PID[13960] Information ManagedPoolThread #3 16:12:17 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;2018-01-23T16:12:17  PID[13960] Information ManagedPoolThread #3 16:12:17 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;2018-01-23T16:12:17  PID[13960] Information 8260 16:12:17 INFO  AUDIT (sitecore\admin): Execute workflow command. Item: master:/sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions/Pages/By entry page/All visits by entry page, language: en, version: 1, id: {96B651B5-C0C6-45F3-A043-FDFB03758008}, command: /sitecore/system/Workflows/Segment/Initializing/Deploy, previous state: Initializing, next state: /sitecore/system/Workflows/Segment/Deployed, user: sitecore\admin&#xA;2018-01-23T16:12:17  PID[13960] Information ManagedPoolThread #3 16:12:17 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;2018-01-23T16:12:17  PID[13960] Information 8260 16:12:17 INFO  AzureSearch Query [sitecore_testing_index]: &amp;amp;search=This_Is_Equal_ConstNode_Return_Nothing&#xA;2018-01-23T16:12:18  PID[13960] Information ManagedPoolThread #3 16:12:17 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;2018-01-23T16:12:18  PID[13960] Information 8260 16:12:18 INFO  AzureSearch Query [sitecore_testing_index]: &amp;amp;search=This_Is_Equal_ConstNode_Return_Nothing&#xA;2018-01-23T16:12:18  PID[13960] Information 8260 16:12:18 INFO  AzureSearch Query [sitecore_testing_index]: &amp;amp;search=This_Is_Equal_ConstNode_Return_Nothing&#xA;2018-01-23T16:12:18  PID[13960] Information ManagedPoolThread #3 16:12:18 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;2018-01-23T16:12:19  PID[13960] Information 5716 16:12:19 INFO  AzureSearch Query [sitecore_master_index]: &amp;amp;search=datasource_1:(sitecore)&amp;amp;$filter=(latestversion_1 eq true and (path_1/any(t:t eq '154d56cc0de243c7bbc0a25bd7ffd901')) and (path_1/any(t:t eq '154d56cc0de243c7bbc0a25bd7ffd901')) and latestversion_1 eq true and not search.ismatchscoring('group_1:(154d56cc0de243c7bbc0a25bd7ffd901)', null, 'full', null))&amp;amp;queryType=full&amp;amp;$skip=0&amp;amp;$top=20&amp;amp;$count=true&#xA;2018-01-23T16:12:19  PID[13960] Information ManagedPoolThread #2 16:12:19 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;2018-01-23T16:12:19  PID[13960] Information ManagedPoolThread #2 16:12:19 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;2018-01-23T16:12:29  PID[13960] Information ManagedPoolThread #1 16:12:29 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;2018-01-23T16:12:29  PID[13960] Information ManagedPoolThread #1 16:12:29 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Processing Log (Same Time Frame)&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2018-01-23T16:11:46  PID[3624] Information 6572 16:11:46 INFO  Cache created: 'ExperienceAnalytics.Sites' (max size: 1MB, running total: 1682MB)&#xA;2018-01-23T16:12:27  PID[3624] Information 5544 16:12:27 INFO  [Path Analyzer](.) Map EnsureAllDeployed started.&#xA;2018-01-23T16:12:27  PID[3624] Information 5544 16:12:27 INFO  [Path Analyzer](.) Map EnsureAllDeployed complete.&#xA;2018-01-23T16:13:27  PID[3624] Information 5544 16:13:27 INFO  [Path Analyzer](.) Map EnsureAllDeployed started.&#xA;2018-01-23T16:13:28  PID[3624] Information 5544 16:13:28 INFO  [Path Analyzer](.) Map EnsureAllDeployed complete.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This has left me with no choice but to log a Sitecore Support Ticket.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 3&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Steps to repeat:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Azure Toolkit 2.0&lt;/li&gt;&#xA;&lt;li&gt;SXP 9.0.1 ARM Templates from the GitHub&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;SXP 9.0.1 171219 XP Scaled Packages&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Deploy to Azure xP1&lt;/li&gt;&#xA;&lt;li&gt;Open up Azure SQL Server Client Ports&lt;/li&gt;&#xA;&lt;li&gt;Open SQL Server notes that Segments table is empty.&lt;/li&gt;&#xA;&lt;li&gt;Deploy Segments from Control Panel&lt;/li&gt;&#xA;&lt;li&gt;Segments table still empty.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So, from my explorations, here is what I am seeing:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;279 rows in refdata-db.xdb_refdata.Definitions.&lt;/li&gt;&#xA;&lt;li&gt;12 rows in xdb_refdata.DefinitionTypes&lt;/li&gt;&#xA;&lt;li&gt;856 rows in xdb_refdata.DefinitionCultures&lt;/li&gt;&#xA;&lt;li&gt;283 rows in xdb_refdata.DefinitionMonikers&lt;/li&gt;&#xA;&lt;li&gt;16 rows in xdb_processing_pools.GenericProcessingDefinitions;&lt;/li&gt;&#xA;&lt;li&gt;0 rows in all other xdb_processing_pools&lt;/li&gt;&#xA;&lt;li&gt;Contacts and Interactions show up in my shards&lt;/li&gt;&#xA;&lt;li&gt;Experience Profile is showing Contacts that I have identified along with triggered goals and value that has been added.&lt;/li&gt;&#xA;&lt;li&gt;0 Rows in all of my Reporting DB Fact_SegmentMetric tables and 0 Rows in all of my Segment tables&lt;/li&gt;&#xA;&lt;li&gt;Deploy of Marketing Definitions of Segments completes and is an immediate completion with no movement in any log when that happens.&lt;/li&gt;&#xA;&lt;li&gt;Deploy of Marketing Definitions of Goals completes after some time, and I see the CM Log doing processing and publishing goals but no movement in any of the other logs.&lt;/li&gt;&#xA;&lt;li&gt;Deploy of Marketing Definitions of Page Events stops after about 5 minutes. The screen says there was an error and to check the Sitecore logs.  I check Sitecore logs and there are no errors in the logs, and it appears Async tasks are still processing because I see log scroll from publishing page events and doing work on them. No other log messages (error or otherwise) in any other log.&lt;/li&gt;&#xA;&lt;li&gt;All I see for logging in the Processing Server is deploying of PAth Analyzer Deploy Maps&lt;/li&gt;&#xA;&lt;li&gt;Visits are recording on the Contact.&lt;/li&gt;&#xA;&lt;li&gt;Contact Facet data is saving and showing in Experience Profile&lt;/li&gt;&#xA;&lt;li&gt;Personalization off of a previously triggered goal is working.&lt;/li&gt;&#xA;&lt;li&gt;Experience Analytics show 0 data and no errors, no graphs, no visits.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-01-24T15:31:16.407" LastActivityDate="2022-11-17T10:14:44.253" Title="Experience Analytics are not showing Online Interactions" Tags="|azure|experience-analytics|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9618" PostTypeId="1" CreationDate="2018-01-22T15:46:16.597" Score="1" ViewCount="31" Body="&lt;p&gt;This is my first question for SE...and forgive my lack of technical expertise in this area.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're building a our new website on Sitecore which has to be integrated with Salesforce. In Saleforce, we will have our 'Community' section which we need searchable when in the Sitecore area of the website as it contains a lot of useful resources not kept in the Sitecore DB...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g. As a user, I am searching a topic on our website, however some of these resources will be in Salesforce.  How can the search return results from the Salesforce and Sitecore areas of the digital estate?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any guidance would be useful as I am trying to establish feasibility.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many thanks in advance! :) &lt;/p&gt;&#xA;" OwnerUserId="3130" LastActivityDate="2018-01-22T15:46:16.597" Title="Sitecore 8.2 integrated search function with Salesforce" Tags="|content-search|indexing|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9620" PostTypeId="1" CreationDate="2018-01-22T17:28:19.087" Score="6" ViewCount="292" Body="&lt;p&gt;I created a pipeline with only one block, on the block implementation I get a &lt;code&gt;Policy&lt;/code&gt; object, something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var testPolicy = context.GetPolicy&amp;lt;TestPolicy&amp;gt;();&#xA;Condition.Requires(testPolicy).IsNotNull(&quot;testPolicy is missing&quot;);&#xA;Condition.Requires(testPolicy.Test).IsNotNullOrEmpty(&quot;The testPolicy.Test can not be null or empty&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need to run this pipeline only once, since it will spin one thread that will be doing some work while the app is running, so that's why I'm trying to run it from the Startup class Configure method like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Task.Run(() =&amp;gt; testPipeline.Run(string.Empty, NodeContext.GetPipelineContextOptions()));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But in this case the &lt;code&gt;testPolicy.Test&lt;/code&gt; won't be loaded properly, so the assertion will fail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I setup this pipeline to run as part of any existing one for example any of the carts pipeline it will properly load the &lt;code&gt;testPolicy.Test&lt;/code&gt; so it is not an issue with the policy setting on the environments json files or anything like that. My guess is that at that point (running from Startup class Configure method) the &lt;code&gt;CommerceContext&lt;/code&gt; or something else is not completely loaded/setup...? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyway, I guess the question really is, where can I start this pipeline so that it gets executed only once (as soon as the app starts) without any issue loading policy objects?&lt;/p&gt;&#xA;" OwnerUserId="2761" LastActivityDate="2018-02-27T23:54:41.513" Title="Unable to get policy object when running pipeline from Startup class Config method in Commerce Engine in Sitecore Commerce 8.2.1" Tags="|pipelines|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9621" PostTypeId="1" AcceptedAnswerId="9629" CreationDate="2018-01-22T17:32:01.853" Score="3" ViewCount="763" Body="&lt;p&gt;I need to build a pretty articulated custom commerce product's model but I have found some strange difficulties doing this, which I didn't expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example:&#xA;I have a product model with a correlated entity which is basically an item with two fields: a code (number) and a description.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To handle this simple scenario, I made a few attempts:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made a simple model with Sitecore using template , the result was perfect but those items would not be linked with the commerce server nor any custom fields were accessible from a search query or a search results. Obiviosly I missed a &quot;link&quot; with a Sitecore commerce product and the Sitecore item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used the &quot;commerce server way&quot; to build the model: when I edited a product definition I couldn't (or I don't know how) reference a field with a lookup values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the same purpuose I also tried the &lt;em&gt;multiple choise&lt;/em&gt; type but I had two issues with that type:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I needed to use the merchandising to put a value in, which is terrible and comes with no validations&lt;/li&gt;&#xA;&lt;li&gt;The merchandising didn't render the control as a combobox or list, instead the user must input a correct value without knowing it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is there a way to build a custom product model in Sitecore Commerce using the Sitecore content editor CRUD function?&lt;/p&gt;&#xA;" OwnerUserId="2638" LastEditorUserId="2727" LastEditDate="2018-01-24T14:13:56.833" LastActivityDate="2018-01-24T14:13:56.833" Title="Which is the correct way to customize a Sitecore Commerce product model?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9622" PostTypeId="2" ParentId="9096" CreationDate="2018-01-22T18:50:18.033" Score="3" Body="&lt;h2&gt;It's not a bug, it's an undeveloped feature.&lt;/h2&gt;&#xA;&lt;p&gt;At least that is the answer I got from Sitecore support.  So the core issue is; &lt;code&gt;.Description&lt;/code&gt; is actually intended to give you the &amp;quot;Cart Text&amp;quot; content. So you don't really need to access other properties (although I would still consider this to be convenient) - this is all taken care of for you.&lt;/p&gt;&#xA;&lt;p&gt;The problem is; the Pricing and Promotion Manager UI (the SPEAK application) only works on the &amp;quot;en&amp;quot; language. You cannot switch language in any way (short of creating new user accounts and changing their content editing language) - so when you request &lt;code&gt;.Description&lt;/code&gt; in a site running anything other than &amp;quot;en&amp;quot; you just get the default text back.&lt;/p&gt;&#xA;&lt;p&gt;And this was, what was throwing me off course on this.&lt;/p&gt;&#xA;&lt;p&gt;Sitecore Support did provide me with a workaround for this, but it has no public reference number (since it's not a &amp;quot;bug&amp;quot;).  Refer to ticket 498830 if you need this issue solved.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-01-22T18:50:18.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9623" PostTypeId="1" AcceptedAnswerId="9625" CreationDate="2018-01-22T22:01:24.393" Score="4" ViewCount="930" Body="&lt;p&gt;Hope someone could help me with the following issue on Sidekick Migration Tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll explain exactly the steps I did to set-up and configure Sidekick on two Sitecore instances, both on the same machine:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created two Sitecore instances using SIM 1.5, &quot;dev&quot; and &quot;live&quot;&lt;/li&gt;&#xA;&lt;li&gt;Changed the target framwork to 4.5.2 to meet Sidekick 1.4.2 dependancies&lt;/li&gt;&#xA;&lt;li&gt;Installed nuget package SitecoreSidekickContentMigrator 1.4.2 on both instances&lt;/li&gt;&#xA;&lt;li&gt;Edited the config files and generated the secret key: BByk6bUzKls4wybcZenCwTbLIGK9go7wG&#xA;5.Logged in in &quot;dev&quot; to sync the content from &quot;live&quot; and opened the Sidekick module&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;All good so far, but when I'm selecting my server to pull the content from, I'm getting the following error:&#xA;&quot;Make sure the shared secrets match&quot;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DJ3Zm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DJ3Zm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I said, ok. Let's try doing the sync using PowerShell. Installed it on &quot;dev&quot; and configured it as required. I'm running the following PS script:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;Import-Module -Name SitecoreSidekick -Force -Verbose&#xA;$params = @{&#xA;    LocalUrl = &quot;&lt;a href=&quot;http://sc820/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sc820/&lt;/a&gt;&quot;&#xA;    RemoteUrl = &quot;&lt;a href=&quot;http://sc821/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sc821/&lt;/a&gt;&quot;&#xA;    SharedSecret = &quot;BByk6bUzKls4wybcZenCwTbLIGK9go7wG&quot;&#xA;    EventDisabler = $true&#xA;    BulkUpdate = $true&#xA;    PullParent = $true&#xA;}&#xA;Copy-SKContent @params -RootId '{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}' -Children -Overwrite -RemoveLocalNotInRemote&#xA;Copy-SKContent @params -RootId '{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}' -Children -Overwrite&#xA;Copy-SKContent @params -RootId '{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}' -Children&#xA;Copy-SKContent @params -RootId '{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}' -Overwrite&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunatelly I'm getting forbidden: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception calling &quot;GetResponse&quot; with &quot;0&quot; argument(s): &quot;The remote&#xA;  server returned an error: (403) Forbidden.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've used Fiddler to investigate the requests but nothing useful, just a failed request with no response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are some question I would like to ask:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Can I use Sidekick on the same machine for two or more instances? Or the remote server should be in fact on a different server.&lt;/li&gt;&#xA;&lt;li&gt;Would it be possible that the change of solution target framework to cause this issue?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would be really thankful if someone can advice or help me on the error as I've tried a hunderd of things but nothing helped.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you!&lt;/p&gt;&#xA;" OwnerUserId="2509" LastEditorUserId="1671" LastEditDate="2018-01-23T06:01:20.497" LastActivityDate="2018-01-23T06:01:20.497" Title="Sidekick Error on Sitecore and/or PowerShell" Tags="|powershell|content-migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9625" PostTypeId="2" ParentId="9623" CreationDate="2018-01-23T01:01:27.060" Score="5" Body="&lt;p&gt;To answer your questions:&#xA;There is no requirement that the Sitecore environments be on different servers, you could have any amount of Sitecore instances available for content consumption.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing the target frame shouldn't cause the issues that you are seeing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issues are definately centered around &lt;a href=&quot;https://github.com/kamsar/MicroCHAP&quot; rel=&quot;noreferrer&quot;&gt;MicroChap&lt;/a&gt;.  Here are the basics with how Content Migrator is using MicroChap:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;A nonce is generated (basically just a random guid)&lt;/li&gt;&#xA;&lt;li&gt;Using your shared key, all the parameters, the destination URL, and the generated nonce a security key is generated&lt;/li&gt;&#xA;&lt;li&gt;The request is made to the target server with the nonce and generated security key in http headers&lt;/li&gt;&#xA;&lt;li&gt;The target server uses the same method as the requesting server to generate the security key (shared secret, parameters, and nonce)&lt;/li&gt;&#xA;&lt;li&gt;If they match, it's an authenticated request, if not it's forbidden&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So there are a few reasons you could see a forbidden error:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The shared secrets don't match&lt;/li&gt;&#xA;&lt;li&gt;An unexpected parameter exists in the request, this can happen with some proxy servers or other network tools.  Content migrator takes then entire input stream on the request for parameters.&lt;/li&gt;&#xA;&lt;li&gt;The Url requested is the Url arrived at&lt;/li&gt;&#xA;&lt;li&gt;The nonce header is missing or not a match -&gt; request.Headers[&quot;X-MC-Nonce&quot;]&lt;/li&gt;&#xA;&lt;li&gt;The mac header is missing or not a match (security key) -&gt; request.Headers[&quot;X-MC-MAC&quot;]&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Something you could try right away is to try removing the trailing slashes on your urls.  This could be falsely triggering the url mismatch rule (which I would consider a bug in Content Migrator).&lt;/p&gt;&#xA;" OwnerUserId="426" LastActivityDate="2018-01-23T01:01:27.060" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9627" PostTypeId="1" CreationDate="2018-01-23T04:49:26.567" Score="5" ViewCount="246" Body="&lt;p&gt;The following code worked on Sitecore 8.x to increase Engagement Value programmatically:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Interaction.Value += value;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code compiles and executes file on Sitecore 9.0.1, but after flushing my session and looking up the interaction in the xDB &lt;code&gt;Interactions&lt;/code&gt; table, the &lt;code&gt;EngagementValue&lt;/code&gt; column still has a value of 0. Is there an additional step needed with the Tracker on Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-01-25T10:32:53.057" Title="Sitecore 9 - Incrementing engagement value" Tags="|xdb|tracking|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9628" PostTypeId="1" CreationDate="2018-01-23T06:51:38.427" Score="3" ViewCount="844" Body="&lt;p&gt;I am trying to install Sitecore 9 XP0 as standalone instance on my Windows 8.1 machine. I have followed all the steps mentioned in the installation guide but in the final step I am getting a private key error as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[TIME] 00:00:03&#xA;Transcript stopped, output file is C:\windows\system32\xconnect-xp0.180123 (3).log&#xA;GetConfigFunctionResult : Unable to parse [ResolveCertificatePath(variable('Security.XConnect.CertificatePath'))] -&#xA;Exception calling &quot;InvokeWithContext&quot; with &quot;2&quot; argument(s): &quot;The running command stopped because the preference&#xA;variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Certificate&#xA;Cert:\Localmachine\My\FA59DE90DE6223841D34D03700F5C2251303815D does not contain Private Key. Ensure that it has been&#xA;exported with the Private Key.&quot;&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.1.0\Private\JsonConfiguration.ps1:182 char:20&#xA;+ ...      return GetConfigFunctionResult -FunctionText $InputObject -Param ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,GetConfigFunctionResult&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have checked the certificate in &lt;code&gt;Certificate store&lt;/code&gt; and it has a valid private key associated with it. Still I am not able to proceed any further. Is there anything that I am missing?&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="2056" LastEditDate="2018-08-22T04:55:26.620" LastActivityDate="2019-08-17T09:01:40.237" Title="Exception while executing the powershell script for Sitecore 9.0 installation XP0" Tags="|installation|sitecore-install-framework|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="9629" PostTypeId="2" ParentId="9621" CreationDate="2018-01-23T08:34:02.090" Score="5" Body="&lt;p&gt;If you want to have product property or catalog property, which will have link type (Multilist, Image, Droptree, Droplist) or any other Sitecore base types (Multi-Line Text, Rich Text) you need create your custom property in Commerce Server with Text type to add small patch to your config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;  xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commerceServer configurationProvider=&quot;Sitecore.Commerce.Connect.CommerceServer.Configuration.DefaultConfigurationProvider, Sitecore.Commerce.Connect.CommerceServer&quot; defaultLanguage=&quot;en&quot; defaultCurrency=&quot;USD&quot;&amp;gt;&#xA;      &amp;lt;catalogFieldTypeMapping&amp;gt;&#xA;        &amp;lt;field name=&quot;1&quot; sitecorename=&quot;Treelist&quot; cspropertyname=&quot;Slides&quot; source=&quot;/sitecore/content/Storefront/Global/Carousels/Slides&quot;/&amp;gt;&#xA;        &amp;lt;field name=&quot;2&quot; sitecorename=&quot;Multilist&quot; cspropertyname=&quot;Product Categories&quot; source=&quot;/sitecore/content/Storefront/Global/Categories&quot;/&amp;gt;&#xA;        &amp;lt;field name=&quot;3&quot; sitecorename=&quot;Multi-Line Text&quot; cspropertyname=&quot;ShortTextDescription&quot;/&amp;gt;&#xA;        &amp;lt;field name=&quot;4&quot; sitecorename=&quot;Rich Text&quot; cspropertyname=&quot;FullTextDescription&quot;/&amp;gt;&#xA;        &amp;lt;field name=&quot;5&quot; sitecorename=&quot;Image&quot; cspropertyname=&quot;ImageDescription&quot;/&amp;gt;&#xA;      &amp;lt;/catalogFieldTypeMapping&amp;gt;&#xA;    &amp;lt;/commerceServer&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecorename&lt;/code&gt; - Sitecore Field Type&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;cspropertyname&lt;/code&gt; - Commerce Server Property Name&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;source&lt;/code&gt; - Path to your items for Droptree, Treelist and etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After add this patch you need to recycle AppPool or restart IIS and regenerate Catalog Templates. After that in Content Editor (&lt;code&gt;NOT in Merchandiser Manager&lt;/code&gt;) you will see your mapped properties. It means, that Sitecore will map Commerce Server Text type to Sitecore Type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Merchandiser Manager you will see correct control only for fields which was  mapped to &lt;code&gt;Droplist and Image&lt;/code&gt; types. For all another types you need to implement custom controls, for render them in Merchandiser Manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know why it's out of the box, better to ask Sitecore about it.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2018-01-24T08:12:03.460" LastActivityDate="2018-01-24T08:12:03.460" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9630" PostTypeId="2" ParentId="9620" CreationDate="2018-01-23T09:19:46.057" Score="2" Body="&lt;p&gt;You need to run your pipeline in another way from Configure method in &lt;code&gt;Startup.cs&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;testPipeline.Run(this.NodeContext, this.NodeContext.GetPipelineContextOptions()).Wait();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is OOTB example how to run pipeline. Also, try to add your code in the end of &lt;code&gt;Configure&lt;/code&gt; method.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-01-23T09:19:46.057" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9631" PostTypeId="1" AcceptedAnswerId="9692" CreationDate="2018-01-23T10:23:07.137" Score="7" ViewCount="798" Body="&lt;p&gt;I've created an xConnect client API for Sitecore 9 that creates new contacts and sets the facet properties. I've added multiple contacts to xDB, however only one contact has shown in the Experience Profile search so far. I've tried adding a known contact and an anonymous one, but without any luck. When I look up the guid of the contact and enter it manually in the URL it does redirect to that contact, but that same contact does not appear in the Experience Profile search. I've also tried rebuilding the reporting database and rebuilding the search index. So far nothing seemed to help. Does anyone have any idea what it could be?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I create a contact like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var identifiers = new ContactIdentifier[]&#xA;{&#xA;    new ContactIdentifier(source, id, ContactIdentifierType.Known),&#xA;};&#xA;var xContact = new Contact(identifiers);&#xA;&#xA;client.SetFacet&amp;lt;PersonalInformation&amp;gt;(xContact, PersonalInformation.DefaultFacetKey, personalInfoFacet);&#xA;&#xA;client.AddContact(xContact);&#xA;client.Submit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I create an interaction like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var interaction = new Interaction(existingContact, InteractionInitiator.Brand, Guid.Parse(channelId), ConfigurationManager.AppSettings[&quot;USER_AGENT&quot;]);&#xA;Event ev = new Event(Guid.Parse(eventId), DateTime.UtcNow) { };&#xA;interaction.Events.Add(ev);&#xA;client.AddInteraction(interaction);&#xA;client.Submit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3104" LastEditorUserId="3104" LastEditDate="2018-01-24T12:46:34.333" LastActivityDate="2018-01-25T16:58:01.057" Title="Single contact showing in Sitecore Experience Profile" Tags="|xdb|experience-profile|xconnect|" AnswerCount="5" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9632" PostTypeId="1" AcceptedAnswerId="9648" CreationDate="2018-01-23T10:54:07.020" Score="5" ViewCount="476" Body="&lt;p&gt;I have an issue where I see the following exception when trying to publish an item for a particular template:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.ContentSearch.Azure.Schema.SchemaMergeException&#xA;Message: Conflict between local and remote schemas in field 'frequency': 'Edm.String' and 'Collection(Edm.String)' are incompatible&#xA;Source: Sitecore.ContentSearch.Azure&#xA; at Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.MergeSchemas(IEnumerable`1 localSchema, IEnumerable`1 incomingSchema)&#xA; at Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.SyncRemoteService(IEnumerable`1 sourceSchema, IEnumerable`1 incomingSchema)&#xA; at Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.&amp;lt;&amp;gt;c__DisplayClass11_0.&amp;lt;EnsureIsInSync&amp;gt;b__0()&#xA; at Sitecore.ContentSearch.Azure.Utils.Retryer.RetryPolicy.Execute(Action action)&#xA; at Sitecore.ContentSearch.Azure.Http.SearchService.PostDocumentsImpl(ICloudBatch batch)&#xA; at Sitecore.ContentSearch.Azure.Http.SearchService.PostDocuments(ICloudBatch batch)&#xA; at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.&amp;lt;&amp;gt;c__DisplayClass11_0.&amp;lt;PostDocuments&amp;gt;b__0(ISearchService searchService)&#xA; at System.Threading.Tasks.Parallel.&amp;lt;&amp;gt;c__DisplayClass17_0`1.&amp;lt;ForWorker&amp;gt;b__1()&#xA; at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&#xA; at System.Threading.Tasks.Task.&amp;lt;&amp;gt;c__DisplayClass176_0.&amp;lt;ExecuteSelfReplicating&amp;gt;b__0(Object )&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The frequency field is a Multilist. We haven't added any specific index configuration for this field, but we have configured the index to index all fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This prevents the item being indexed correctly in the web database. It doesn't appear to be a problem for the master, which seems strange because the index has the same configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What exactly does this exception mean and how can I resolve it?&lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="3089" LastEditDate="2018-01-23T14:49:25.003" LastActivityDate="2019-03-20T15:39:57.940" Title="Azure search exception when publishing" Tags="|publishing|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9633" PostTypeId="2" ParentId="9631" CreationDate="2018-01-23T10:54:49.763" Score="1" Body="&lt;p&gt;Experience Profile shows contacts from index. Not directly from DB.&#xA;Issue is definitely in indexing. It means that &quot;sitecore_analytics_index&quot;(I am not sure that it still have same name in Sitecore 9).&#xA;Have you tried to rebuild this certain index?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I suggest to do:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Enable debug level of logging for indexing (crawling).&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/rebuilding-the-sitecore-analytics-index&quot; rel=&quot;nofollow noreferrer&quot;&gt;Run &quot;sitecore_analytics_index&quot; index rebuild&lt;/a&gt; and check logs on any exceptions.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It will either give you a clue what happens, or you will be able to update question with more details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&#xA;All mentioned above is relevant only for Sitecore 7.5-8.x&lt;/p&gt;&#xA;" OwnerUserId="666" LastEditorUserId="666" LastEditDate="2018-01-25T16:58:01.057" LastActivityDate="2018-01-25T16:58:01.057" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9634" PostTypeId="1" CreationDate="2018-01-23T11:02:47.233" Score="2" ViewCount="232" Body="&lt;p&gt;We created a custom drop list in WFFM to hold values populated from DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is the value is not getting selected in the drop list. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: If the user's country is UK, the drop list shows the first country that is present in the dropdownlist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The custom droplist html is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.DropDownListFor(x =&amp;gt; Model.Value, Model.Items, new { @class = &quot;form-control&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="3089" LastEditDate="2018-01-23T15:36:34.903" LastActivityDate="2018-01-23T15:36:34.903" Title="Custom DropList in WFFM" Tags="|wffm|fieldtype|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9635" PostTypeId="1" CreationDate="2018-01-23T12:06:38.883" Score="3" ViewCount="634" Body="&lt;p&gt;Is it possible to remove following message in the Content Editor while still allowing &lt;code&gt;/unicorn.aspx&lt;/code&gt; to work?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This item is controlled by Unicorn&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I don't want changes in the CM to be written down to disk, but still want to be able to sync new development changes into this environment?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have disabled &lt;code&gt;Unicorn.DataProvider.config&lt;/code&gt; but If I disable &lt;code&gt;Unicorn.UI.config&lt;/code&gt;, it removes that message, but I can no longer load &lt;code&gt;unicorn.aspx&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2302" LastEditorUserId="2727" LastEditDate="2018-01-23T14:40:55.560" LastActivityDate="2018-01-23T14:40:55.560" Title="Remove unicorn messaging in content editor in CM" Tags="|content-editor|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9636" PostTypeId="2" ParentId="9635" CreationDate="2018-01-23T12:30:32.423" Score="4" Body="&lt;p&gt;You could modify the Unicorn.UI.config file and remove the content editor warning:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;getContentEditorWarnings&amp;gt;&#xA;    &amp;lt;processor type=&quot;Unicorn.UI.Pipelines.GetContentEditorWarnings.SerializedWarning, Unicorn&quot; /&amp;gt;&#xA;&amp;lt;/getContentEditorWarnings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should only remove the warnings, but be sure only to remove getContentEditorWarnings, and keep the rest of the config.&lt;/p&gt;&#xA;" OwnerUserId="1510" LastActivityDate="2018-01-23T12:30:32.423" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9637" PostTypeId="1" CreationDate="2018-01-23T12:44:41.577" Score="2" ViewCount="707" Body="&lt;p&gt;In our website, we have the requirement to validate some WFFM Form field's based on third-party system data. We want to display the error message near to field (like required field validation).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to write custom WFFM field validation that will check the data on server side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Version - Sitecore WFFM 8.1&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="3089" LastEditDate="2018-01-23T13:58:23.113" LastActivityDate="2018-01-23T13:58:23.113" Title="Custom Field Validation in WFFM (MVC)" Tags="|wffm|validation|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9638" PostTypeId="2" ParentId="8899" CreationDate="2018-01-23T13:03:04.513" Score="0" Body="&lt;p&gt;I got the solution to my problem -&lt;br/&gt; &#xA;We have added a custom action and registered this action under&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Web Forms for&#xA;  Marketers Actions &lt;br/&gt;&#xA;  &lt;a href=&quot;https://i.stack.imgur.com/Qvk6L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qvk6L.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   public class HideFormControl&amp;lt;T&amp;gt; : Sitecore.Forms.Core.Rules.ReadValueFromQueryString&amp;lt;T&amp;gt; where T : Sitecore.Forms.Core.Rules.ConditionalRuleContext&#xA;{&#xA;    public HideFormControl()&#xA;    {&#xA;&#xA;    }&#xA;    public override void Apply(T ruleContext)&#xA;    {&#xA;&#xA;        Assert.ArgumentNotNull(ruleContext, &quot;ruleContext&quot;);&#xA;&#xA;        if (ruleContext.Model != null &amp;amp;&amp;amp; ruleContext.Model is FieldViewModel)&#xA;        {&#xA;            FieldViewModel field = ((FieldViewModel)ruleContext.Model);&#xA;            field.Visible = false;&#xA;        }&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;apply action on field -&lt;a href=&quot;https://i.stack.imgur.com/xolRA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xolRA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="2723" LastEditDate="2018-01-23T13:14:18.717" LastActivityDate="2018-01-23T13:14:18.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9639" PostTypeId="1" CreationDate="2018-01-23T13:05:54.370" Score="1" ViewCount="1930" Body="&lt;p&gt;My local instance suddenly stopped working today. The CMS or the live site just doesn't load. When I tried to open it using SIM, it has this log.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No changes done to web.config or connection strings. I have checked logging into SQL Server and it works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I even removed all project DLLs &amp;amp; patch configs from webroot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using sc8.2u3&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There is an issue with requesting&#xA;  '&lt;a href=&quot;http://mysite/sitecore/service/keepalive.aspx?ts=636523285992235501&amp;amp;reason=long&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite/sitecore/service/keepalive.aspx?ts=636523285992235501&amp;amp;reason=long&lt;/a&gt;'.&lt;br&gt;&#xA;  No error response provided.&lt;br&gt;&#xA;  System.Net.WebException: The request was aborted:&lt;br&gt;&#xA;  The operation has timed out.&lt;br&gt;&#xA;  Status: Timeout&lt;br&gt;&#xA;  ---&gt; System.Net.WebException: The request&#xA;  was aborted: The operation has timed out.    at&#xA;  System.Net.HttpWebRequest.GetResponse()    at&#xA;  SIM.Base.WebRequestHelper.RequestAndGetResponse(Uri uri, Nullable&lt;code&gt;1&#xA;  timeout, Nullable&lt;/code&gt;1 readWriteTimeout, String cookies)    at&#xA;  SIM.Base.WebRequestHelper.DownloadString(String url, Nullable&lt;code&gt;1&#xA;  timeout, Nullable&lt;/code&gt;1 readWriteTimeout)    at&#xA;  SIM.Instances.InstanceHelper.StartInstance(Instance instance,&#xA;  Nullable&lt;code&gt;1 timeout, String reason)    --- End of inner exception stack&#xA;  trace ---    at SIM.Instances.InstanceHelper.StartInstance(Instance&#xA;  instance, Nullable&lt;/code&gt;1 timeout, String reason)    at&#xA;  SIM.Tool.Base.InstanceHelperEx.PreheatInstance(Instance instance,&#xA;  Exception&amp;amp; exception)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Error in Sitecore log file (but these errors were being logged even much before today's issue):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Exception when executing agent&#xA;  aggregation/automationCleanupService Exception:&#xA;  MongoDB.Driver.MongoQueryException Message: QueryFailure flag was not&#xA;  master and slaveOk=false (response was { &quot;$err&quot; : &quot;not master and&#xA;  slaveOk=false&quot;, &quot;code&quot; : 13435 }). Source: MongoDB.Driver    at&#xA;  MongoDB.Driver.Internal.MongoReplyMessage&lt;code&gt;1.ReadHeaderFrom(BsonBuffer&#xA;  buffer)    at&#xA;  MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument](BsonBinaryReaderSettings&#xA;  readerSettings, IBsonSerializer serializer, IBsonSerializationOptions&#xA;  serializationOptions)    at&#xA;  MongoDB.Driver.Operations.QueryOperation&lt;/code&gt;1.GetFirstBatch(IConnectionProvider&#xA;  connectionProvider)    at&#xA;  MongoDB.Driver.Operations.QueryOperation&lt;code&gt;1.Execute(IConnectionProvider&#xA;  connectionProvider)    at&#xA;  System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable&lt;/code&gt;1 source)&lt;br&gt;&#xA;  at&#xA;  Sitecore.Analytics.RangeScheduler.MongoDbRangeMap2.RemoveFinishedRanges()&#xA;  at&#xA;  Sitecore.Analytics.Automation.Data.MongoDbAutomationProvider.GetOldestUnaggregatedRangeTimestamp()&#xA;  at&#xA;  Sitecore.Analytics.Automation.Data.MongoDbAutomationProvider.RemoveAutomationTransitions(DateTime&#xA;  oldestInclusive, DateTime latestExclusive)    at&#xA;  Sitecore.Analytics.Automation.Aggregation.Data.Processing.CleanupAgent.Execute()&#xA;  at Sitecore.Analytics.Core.BackgroundService.Run()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2018-04-03T09:41:17.067" LastActivityDate="2018-09-03T12:02:50.137" Title="Unable to load CMS. Request timeout error" Tags="|sitecore-client|mongodb|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9640" PostTypeId="5" CreationDate="2018-01-23T13:24:52.150" Score="0" Body="&lt;p&gt;Marketing Automation (MA) is a component of Sitecore, allowing marketers to create marketing automation campaigns. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are able to extend MA by creating custom activities, as well as custom conditions. Additionally, you can take use the MA Operations API if you need to interact and perform operations on contacts and enrollments, and you may use the MA Reporting API to report on the performance and state of a campaign.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2018-01-23T13:46:51.020" LastActivityDate="2018-01-23T13:46:51.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9641" PostTypeId="4" CreationDate="2018-01-23T13:24:52.150" Score="0" Body="For questions related to the Marketing Automation component introduced in Sitecore 9.0.0" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2018-01-23T13:46:48.000" LastActivityDate="2018-01-23T13:46:48.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9642" PostTypeId="1" AcceptedAnswerId="9643" CreationDate="2018-01-23T13:26:49.417" Score="2" ViewCount="854" Body="&lt;p&gt;Our organization has Sitecore Partner License.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keen to know, how many employees can use that license to have their local Sitecore instance for Research and Development purpose?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or are there any restrictions to use Sitecore Partner License?&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2056" LastEditDate="2018-12-21T09:32:47.407" LastActivityDate="2022-06-14T10:21:25.847" Title="Uses and restrictions of Sitecore Partner License" Tags="|licensing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9643" PostTypeId="2" ParentId="9642" CreationDate="2018-01-23T13:45:07.450" Score="3" Body="&lt;p&gt;There are no employee count restrictions, usually, for Sitecore Partner licenses. There are several usage restrictions, however. These do change over time, so it is always best to ask these sorts of questions to your partner alliance manager to get the latest information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a partner, you can also access the Sitecore Partner Network (SPN) by logging in at &lt;a href=&quot;http://spn.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://spn.sitecore.net&lt;/a&gt;. Here you can get access to more information about the Partner License on the Partner License page: &lt;a href=&quot;http://spn.sitecore.net/Partner%20Resources/Partner%20License.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://spn.sitecore.net/Partner%20Resources/Partner%20License.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From there, you can download the latest PDF on partner license usage.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-01-23T13:45:07.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9644" PostTypeId="2" ParentId="9590" CreationDate="2018-01-23T14:06:36.390" Score="0" Body="&lt;p&gt;As I understood you need some value which is present in Querystring or Cookie. For this, you can apply the Rules but these are limited to QueryString and UserProfile. Here you can create new custom rule action and apply it with a suitable condition. Steps -&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a field and make it invisible ( with the use of CSS class or rule action ). &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8899/how-to-hide-wffm-field-with-personalization-rules-in-client-side&quot;&gt;Hide Field&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Apply custom rule that will read the value from source and populate the hidden field.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2723" LastActivityDate="2018-01-23T14:06:36.390" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9645" PostTypeId="1" AcceptedAnswerId="9647" CreationDate="2018-01-23T14:28:20.673" Score="3" ViewCount="933" Body="&lt;p&gt;I installed&#xA;Sitecore PowerShell Extensions-4.7 for Sitecore 8 and Sitecore Experience Accelerator 1.6 rev. 180103 for 9.0 on my Sitecore 9 and I got this error, this installation broke my Sitecore, I already restored and tried 3 times, and the same error pops up&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;“Method not found: 'Boolean&#xA;  Sitecore.Data.ID.Equals(Sitecore.Data.ID)'. Description: An unhandled&#xA;  exception occurred. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.MissingMethodException: Method not found:&#xA;  'Boolean Sitecore.Data.ID.Equals(Sitecore.Data.ID)'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, I installed the same items but on Sitecore.NET 9.0.1 (rev. 171219)&#xA;And I don´t have this error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone have a similar situation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="2727" LastEditDate="2018-04-03T06:11:59.327" LastActivityDate="2018-04-03T06:11:59.327" Title="SXA on Sitecore 9 shows error &quot;Method not found for Sitecore.Data.ID.Equals()&quot;" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9646" PostTypeId="1" CreationDate="2018-01-23T14:31:15.223" Score="1" ViewCount="146" Body="&lt;p&gt;Does Sitecore SXA out-of-the-box search functionality have option to include external (non-sitecore hosted) sites to include in search result?&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="2727" LastEditDate="2018-01-24T08:18:06.673" LastActivityDate="2018-02-23T08:28:20.990" Title="Sitecore SXA Search - external sites" Tags="|sxa|" AnswerCount="1" CommentCount="1" ClosedDate="2018-02-23T09:26:44.707" ContentLicense="CC BY-SA 3.0" />
  <row Id="9647" PostTypeId="2" ParentId="9645" CreationDate="2018-01-23T14:37:30.160" Score="7" Body="&lt;p&gt;SXA 1.6 needs Sitecore Experience Platform 8.2 Update 6 or Sitecore 9.0 update 1.&#xA;It won't work on Sitecore 9.0 initial release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For 9.0 initial release, you can use SXA 1.5&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-01-23T14:37:30.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9648" PostTypeId="2" ParentId="9632" CreationDate="2018-01-23T14:46:24.180" Score="1" Body="&lt;p&gt;This occurred because of items inheriting multiple templates with the field 'frequency' defined more than once with different types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is described in this article: &lt;a href=&quot;https://kb.sitecore.net/articles/137856&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/137856&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Renaming one fixes the issue.&lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2018-01-23T14:46:24.180" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9649" PostTypeId="5" CreationDate="2018-01-23T15:07:11.373" Score="0" Body="&lt;p&gt;When you set up a storefront, you must create a catalog, which is a container for one or more categories and is typically the first item you create in the business tools. You can use categories and subcategories to group products within a catalog and to organize the navigation of your storefront.&lt;/p&gt;&#xA;&lt;p&gt;You can configure multiple catalogs for a storefront. Each catalog, however, can only be used by one storefront. By default, the Catalogs item (based on the Commerce Catalog Folder template) is located under the &lt;code&gt;/sitecore/Content/&amp;lt;tenant&amp;gt;/&amp;lt;site&amp;gt;/Home&lt;/code&gt; item and this is where you configure the catalogs associated with the site and where the catalog content is stored.&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2022-01-27T15:04:47.063" LastActivityDate="2022-01-27T15:04:47.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9650" PostTypeId="4" CreationDate="2018-01-23T15:07:11.373" Score="0" Body="Commerce Catalog Management allows highly structured representation of categories, products (or services), and product variants across multiple languages and currencies. All the questions related to this topic, should use commerce-catalog tag." OwnerUserId="3089" LastEditorUserId="2727" LastEditDate="2018-02-24T16:56:14.133" LastActivityDate="2018-02-24T16:56:14.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9651" PostTypeId="1" AcceptedAnswerId="9669" CreationDate="2018-01-23T15:23:40.723" Score="3" ViewCount="259" Body="&lt;p&gt;We're making use of the &lt;code&gt;LocalDatasource&lt;/code&gt; module in our build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works fine apart from one particular template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;local_datasource_content&lt;/code&gt; field gets populated on the master index, but it is empty on the web after publishing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added some logging to the computed field in the module: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        var dataSources = item.GetLocalDatasourceDependencies();&#xA;&#xA;        if (dataSources == null || !dataSources.Any())&#xA;            Log.Info($&quot;LocalDatasourceContentField: No local datasource content found for item {item.ID}&quot;, this);&#xA;&#xA;        var result = new StringBuilder();&#xA;        foreach (var dataSource in dataSources)&#xA;        {&#xA;            dataSource.Fields.ReadAll();&#xA;            foreach (var field in dataSource.Fields.Where(this.ShouldIndexField))&#xA;            {&#xA;                result.AppendLine(field.Value);&#xA;            }&#xA;        }&#xA;&#xA;        var content = result.ToString();&#xA;&#xA;        Log.Info($&quot;LocalDatasourceContentField: Content for item {item.ID} : {content}&quot;, this);&#xA;&#xA;        return content;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I save the item in the content editor, I can see that field is gathering the content correctly and I see: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ManagedPoolThread #4 14:57:57 INFO LocalDatasourceContentField: Content for item {83CD49F5-C730-4459-A01F-2F2316217BD6} : &amp;lt;p&amp;gt;Rich Text Content&amp;lt;/p&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I publish the same item I see:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;2018-01-23T14:58:14.177    ManagedPoolThread #3 14:58:14 INFO LocalDatasourceContentField: No local datasource content found for item {83CD49F5-C730-4459-A01F-2F2316217BD6}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the computed field is being hit OK, but it doesn't seem to find the dependencies. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked the web db to make sure the child datasources have indeed been published - they have. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The dependencies are fetched through the links database using:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var references = Globals.LinkDatabase.GetReferences(item);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I have rebuilt the links database, but it still doesn't populate the field in the index after publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The strange thing is that it seems to work fine for other templates - but I can't see what would cause the issue with this particular template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added extra logging in the &lt;code&gt;GetLocalDatasourceDependencies()&lt;/code&gt; extension method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      var hasLocalDatasourceFolder = item.HasLocalDatasourceFolder();&#xA;&#xA;        Log.Info($&quot;GetLocalDatasourceDependencies: {item.ID} - hasLocalDatasourceFolder: {hasLocalDatasourceFolder}&quot;, typeof(ItemExtensions));&#xA;&#xA;        if (!hasLocalDatasourceFolder)&#xA;            return new Item[] { };&#xA;&#xA;        var references = Globals.LinkDatabase.GetReferences(item);&#xA;&#xA;        Log.Info($&quot;GetLocalDatasourceDependencies: {item.ID} - references count: {references.Count()}&quot;, typeof(ItemExtensions));&#xA;&#xA;        var itemLinks = references&#xA;            .Where(r =&amp;gt; (r.SourceFieldID == FieldIDs.LayoutField || r.SourceFieldID == FieldIDs.FinalLayoutField) &amp;amp;&amp;amp; r.TargetDatabaseName == item.Database.Name)&#xA;            .ToList();&#xA;&#xA;        Log.Info($&quot;GetLocalDatasourceDependencies: {item.ID} - itemLinks count: {itemLinks.Count} - DB: {item.Database.Name}&quot;, typeof(ItemExtensions));&#xA;&#xA;        var localDatasourceItems = itemLinks&#xA;            .Select(l =&amp;gt; l.GetTargetItem())&#xA;            .Where(i =&amp;gt; i != null &amp;amp;&amp;amp; i.IsLocalDatasourceItem(item))&#xA;            .Distinct()&#xA;            .ToArray();&#xA;&#xA;        Log.Info($&quot;GetLocalDatasourceDependencies: {item.ID} - localDatasourceItems count: {itemLinks.Count}&quot;, typeof(ItemExtensions));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this shows that it is indeed the &lt;code&gt;Globals.LinkDatabase.GetReferences(item)&lt;/code&gt; line that is not returning any items, rather than any subsequent predicate conditions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When saving the item I can see:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;INFO GetLocalDatasourceDependencies: {83CD49F5-C730-4459-A01F-2F2316217BD6} - localDatasourceItems count: 22&#xA;INFO GetLocalDatasourceDependencies: {83CD49F5-C730-4459-A01F-2F2316217BD6} - itemLinks count: 22 - DB: master&#xA;INFO GetLocalDatasourceDependencies: {83CD49F5-C730-4459-A01F-2F2316217BD6} - references count: 24&#xA;INFO GetLocalDatasourceDependencies: {83CD49F5-C730-4459-A01F-2F2316217BD6} - hasLocalDatasourceFolder: True&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then publishing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;INFO GetLocalDatasourceDependencies: {83CD49F5-C730-4459-A01F-2F2316217BD6} - localDatasourceItems count: 0&#xA;INFO GetLocalDatasourceDependencies: {83CD49F5-C730-4459-A01F-2F2316217BD6} - itemLinks count: 0 - DB: web&#xA;INFO GetLocalDatasourceDependencies: {83CD49F5-C730-4459-A01F-2F2316217BD6} - references count: 0&#xA;INFO GetLocalDatasourceDependencies: {83CD49F5-C730-4459-A01F-2F2316217BD6} - hasLocalDatasourceFolder: True&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I have to conclude there is some sort of issue with the links database. But I have rebuilt the links database and the problem persists. &lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="73" LastEditDate="2018-01-24T10:38:46.537" LastActivityDate="2018-01-24T12:10:00.480" Title="LocalDatasource computed field feature not working for particular template" Tags="|habitat|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9652" PostTypeId="1" AcceptedAnswerId="9653" CreationDate="2018-01-23T17:18:42.920" Score="3" ViewCount="655" Body="&lt;p&gt;I am porting some code from Web Forms to MVC. In order to handle a case where query string parameters on the URL can change the landing page, I have added a &lt;code&gt;RequestBeginProcessor&lt;/code&gt; to the &lt;code&gt;mvc.requestBegin&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;mvc.requestBegin&amp;gt;&#xA;            &amp;lt;processor type=&quot;Company.Web.Pipelines.MvcRequestBeginProcessorPathResolver, Company.Web&quot; &#xA;                       patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Request.RequestBegin.SetupPageContext, Sitecore.Mvc']&quot;&#xA;                       reusable=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;/mvc.requestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The processor examines the query string, stores values in Session (InProc), and if necessary does a redirect:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MvcRequestBeginProcessorPathResolver : RequestBeginProcessor&#xA;{&#xA;    public override void Process(RequestBeginArgs args)&#xA;    {&#xA;        if (HttpContext.Current != null &amp;amp;&amp;amp; HttpContext.Current.Session != null)&#xA;        {&#xA;            ProcessQueryString();&#xA;            HttpContext.Current.Session[&quot;TEST_XYZZY&quot;] = &quot;xyzzy&quot;;&#xA;&#xA;            //redirect if necessary&#xA;            if (_doRedirect)&#xA;            {&#xA;                // Works in webforms, endResponse = false required from Processor&#xA;                //Response.Redirect(&quot;/testpage/?&quot; + _queryString);&#xA;                Response.Redirect(&quot;/testpage/?&quot; + _queryString, false);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After the redirect, the target page queries the values set in Session prior to the redirect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the legacy webforms version, this code is in the code behind of the layout (ascx.cs) and works with the single parameter version of &lt;code&gt;Response.Redirect(String url)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I attempt the same code from the Processor, the Session values are not available in the target page.  The &lt;code&gt;Session.SessionID&lt;/code&gt; is the same, but the values placed in session before the redirect are not there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing the redirect call to &lt;code&gt;Redirect(String url, bool endResponse)&lt;/code&gt; and passing false to &lt;code&gt;endResponse&lt;/code&gt;, appears to give the desired outcome - the session values are available after the redirect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why would this Session behavior be different between a Web Forms layout code behind and an &lt;code&gt;mvc.RequestBeginProcessor&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="2725" LastEditorUserId="2727" LastEditDate="2018-01-24T14:14:15.097" LastActivityDate="2018-01-24T14:14:15.097" Title="How does redirecting from within an MVC.RequestBeginProcessor differ from Web Forms?" Tags="|mvc|pipelines|session-state|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9653" PostTypeId="2" ParentId="9652" CreationDate="2018-01-23T18:02:22.680" Score="1" Body="&lt;p&gt;This has nothing to do with Sitecore's pipeline nor MVC vs WebForms but instead the issue stems from Redirects and Session variables age-long issue.  Essentially, the thread aborts if Redirect is called with &lt;code&gt;endResponse&lt;/code&gt; is true (default).  Behind the scenes, it throws a &lt;code&gt;ThreadAbortException&lt;/code&gt; which is actually pretty bad. It's always recommended to set &lt;code&gt;endResponse&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; and call the &lt;code&gt;CompleteRequest&lt;/code&gt; method.  Essentially, the session token gets lost when the server tells the browser (thru the header) to get another page.  Here's a &lt;a href=&quot;https://weblogs.asp.net/bleroy/Don_2700_t-redirect-after-setting-a-Session-variable-_2800_or-do-it-right_2900_&quot; rel=&quot;nofollow noreferrer&quot;&gt;detailed blog post&lt;/a&gt; and actually poses another possible cause which has something to do with your hosting setup (i.e. webfarm, etc.) if that applies to you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Btw, if you do end up setting &lt;code&gt;endResponse&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; and still have issues with the session variable, you may want to check if any of the processors after yours initializes the session.  I didn't check this as it may not be relevant for this specific question yet.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-23T18:02:22.680" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9654" PostTypeId="1" AcceptedAnswerId="9655" CreationDate="2018-01-23T18:53:56.257" Score="7" ViewCount="1461" Body="&lt;p&gt;I just watched a tutorial on how to set up Workflows here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=hFDUgiQCTmU&amp;amp;list=PLfRWjEN_vCUZqAk8ks5j36yM-BCWup-SZ&amp;amp;index=1#t=35m58s&quot; rel=&quot;noreferrer&quot;&gt;https://www.youtube.com/watch?v=hFDUgiQCTmU&amp;amp;list=PLfRWjEN_vCUZqAk8ks5j36yM-BCWup-SZ&amp;amp;index=1#t=35m58s&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed this tutorial through to 35m58s and it worked great:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Created Content Editor and Content Manager Roles (Manager can publish)&lt;/li&gt;&#xA;&lt;li&gt;Set up a workflow with Draft, Awaiting Approval and Approved states.&lt;/li&gt;&#xA;&lt;li&gt;Set up actions allowing the roles to move to next steps as appropriate.&lt;/li&gt;&#xA;&lt;li&gt;Assigned workflow to my general page template&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It works great, however after the Content Manager approves the revision and publishes as per the video, the Content Editor is not able to edit the page or add a version. I see the following message on the page editor screen:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MYYYJ.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MYYYJ.jpg&quot; alt=&quot;Error Message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone elaborate on how to allow Content Editors to edit or create a subsequent version?&lt;/p&gt;&#xA;" OwnerUserId="3138" LastEditorUserId="1000" LastEditDate="2018-01-23T20:07:05.083" LastActivityDate="2018-01-23T20:24:50.950" Title="Edit after workflow approved" Tags="|security|workflow|permissions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9655" PostTypeId="2" ParentId="9654" CreationDate="2018-01-23T20:24:50.950" Score="4" Body="&lt;p&gt;So one thing I missed from my video was how to configure the roles for having access to various workflow states.  You need to open the &lt;code&gt;Security Editor&lt;/code&gt; and make sure to select the correct role to edit.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case you will want to edit the &lt;code&gt;Content Editor&lt;/code&gt; role.  You will need to do two things to ensure that the &lt;code&gt;Content Editor&lt;/code&gt; role can make changes.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You need to make sure the content in your tree has &lt;code&gt;Write&lt;/code&gt; Access for the correct role, in this case &lt;code&gt;Content Editor&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that you give &lt;code&gt;Content Editor&lt;/code&gt;, the privilege to &lt;code&gt;Workflow State Write&lt;/code&gt; for the workflow state they should have access to.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you don't see the column for Workflow State Write, you can click on the Columns button in the Security Editor, and then you can make changes to it's workflow state write.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NYwYp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NYwYp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One other thing to note about workflow, if you are adding it to an existing content tree, is that the items that were added before you added workflow, will not be assigned to the default state of workflow by default.  If you would like to update your content, you can either do that manually, or you can use SPE to update the content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use the Access Viewer to view the changes you are making to confirm things have the correct access you are looking for.  Or you can start an incognito window and login to a user's account that has the &lt;code&gt;Content Editors&lt;/code&gt; role assigned to it, so you can confirm they have the access you are looking for.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-01-23T20:24:50.950" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9656" PostTypeId="2" ParentId="9646" CreationDate="2018-01-24T02:01:38.463" Score="0" Body="&lt;p&gt;You can read details on SXA search configuration in the online documentation here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/sxa_search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/sxa_search&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The relevant piece for your question is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;SXA supports both Lucene and Solr search engines. The search engines&#xA;  are used for searching in the content databases, as well as for&#xA;  searching in a number of operational databases that Sitecore uses for&#xA;  collecting analytics data, test data, and so on.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;SXA Search is index-based, therefore it will only crawl what is in the indexes.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-01-24T02:01:38.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9657" PostTypeId="1" AcceptedAnswerId="9658" CreationDate="2018-01-24T05:09:13.447" Score="0" ViewCount="1346" Body="&lt;p&gt;There is a rich text field for an item in which I have used the numbered list.&#xA;It looks fine in Text Editor. When Switched to the Html Editor mode, the generated markup is Ordered List and it has removed the numbers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, the output rendered on page also doesn't have numbers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a bug. What should I do to show numbers for the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WcOoc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WcOoc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Qu2Vo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qu2Vo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using sc8.2u3&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-01-24T05:20:11.153" Title="Rich Text Field does not render numbered list" Tags="|richtext-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9658" PostTypeId="2" ParentId="9657" CreationDate="2018-01-24T05:20:11.153" Score="1" Body="&lt;p&gt;This is the correct behaviour and the Rich Text Editor is generating the correct markup, i.e. for an ordered list element. You can read more about the &lt;code&gt;&amp;lt;ol&amp;gt;&lt;/code&gt; tag in the &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol&quot; rel=&quot;nofollow noreferrer&quot;&gt;MDN documentation&lt;/a&gt;, the &lt;a href=&quot;https://www.w3.org/TR/html401/struct/lists.html#h-10.2&quot; rel=&quot;nofollow noreferrer&quot;&gt;W3 specs&lt;/a&gt; or find additional examples on the &lt;a href=&quot;https://www.w3schools.com/html/html_lists.asp&quot; rel=&quot;nofollow noreferrer&quot;&gt;W3Schools&lt;/a&gt; site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When an ordered list is used, the default behavior of the browser is to markup each list element (&lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt;) with a sequentially increasing number beginning at 1. You can edit both the style and starting number of the elements using CSS. The generated markup will show the correct numbered output when rendered in the browser to your end users similar to the WYSIWYG view of the top image.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-01-24T05:20:11.153" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9659" PostTypeId="1" CreationDate="2018-01-24T08:32:18.843" Score="14" ViewCount="5330" Body="&lt;p&gt;I tried to create a connection for Sitecore 9 instance in Sitecore Explorer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Right click on &quot;Connections&quot; in Sitecore Explorer and press &quot;New &#xA;Connection&quot;&lt;/li&gt;&#xA;&lt;li&gt;Fill necessary fields and press Test button&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;&lt;a href=&quot;https://i.stack.imgur.com/LUBxz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LUBxz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I've got a window with below message. Press &quot;Yes&quot;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mqcd5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mqcd5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I've chosen &quot;Update All&quot; and then press &quot;Ok&quot;.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/hmtpg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hmtpg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In browse window I've chosen folder with Sitecore 9 instance and press &quot;Ok&quot;. In previous version of Sitecore there was folder Website for it, but in Sitecore 9 there is not anymore that folder.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/dm6de.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dm6de.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Result - I've got a message - &quot;Got a No Service error&quot;.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/OITci.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OITci.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Can everyone explain how I can create connection?&#xA;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3140" LastEditorUserId="2056" LastEditDate="2018-06-12T05:12:07.103" LastActivityDate="2020-04-15T06:44:56.553" Title="Create Connection for Sitecore 9 instance with Sitecore Rocks" Tags="|sitecore-rocks|" AnswerCount="8" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="9660" PostTypeId="2" ParentId="9659" CreationDate="2018-01-24T08:52:32.460" Score="25" Body="&lt;p&gt;It's a permission issue that started on Sitecore 9. You have to add this section to your Web.config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;location path=&quot;sitecore/shell/WebService&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;allow users=&quot;?,*&quot; /&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please, read &lt;a href=&quot;http://www.rockpapersitecore.com/2017/10/sitecore-rocks-with-sitecore-9/&quot; rel=&quot;noreferrer&quot;&gt;this&lt;/a&gt; blog post from Rob Ahnemann to learn more.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2018-01-24T08:52:32.460" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9661" PostTypeId="2" ParentId="7521" CreationDate="2018-01-24T09:17:56.103" Score="0" Body="&lt;p&gt;I found the solution. In my case, I am using Sitecore v9 with SXA and deploying the Sitecore XA Showcase project of Cognfide (&lt;a href=&quot;https://github.com/Cognifide/Sitecore.XA.Showcase&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Cognifide/Sitecore.XA.Showcase&lt;/a&gt;) to my local machine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It problem was because of the wrong versions of the following assemblies:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/glxYJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/glxYJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hence, ensure that your packages.config looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;packages&amp;gt;&#xA;  &amp;lt;package id=&quot;Kamsar.WebConsole&quot; version=&quot;2.0.0.0&quot; targetFramework=&quot;net46&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;MicroCHAP&quot; version=&quot;1.2.2.2&quot; targetFramework=&quot;net46&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;Rainbow&quot; version=&quot;2.0.0&quot; targetFramework=&quot;net46&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;Rainbow.Core&quot; version=&quot;2.0.0&quot; targetFramework=&quot;net46&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;Rainbow.Storage.Sc&quot; version=&quot;2.0.0&quot; targetFramework=&quot;net46&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;Rainbow.Storage.Yaml&quot; version=&quot;2.0.0&quot; targetFramework=&quot;net46&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;Unicorn&quot; version=&quot;4.0.3&quot; targetFramework=&quot;net46&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;Unicorn.Core&quot; version=&quot;4.0.3&quot; targetFramework=&quot;net46&quot; /&amp;gt;&#xA;&amp;lt;/packages&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1605" LastActivityDate="2018-01-24T09:17:56.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9662" PostTypeId="1" AcceptedAnswerId="9663" CreationDate="2018-01-24T09:24:10.113" Score="3" ViewCount="915" Body="&lt;p&gt;I need to archive Sitecore items using Sitecore PowerShell. Any commnand that can be used to achieve this.?&lt;/p&gt;&#xA;" OwnerUserId="441" LastEditorUserId="441" LastEditDate="2018-01-24T09:29:07.913" LastActivityDate="2022-07-08T14:04:07.143" Title="Archive Sitecore items using Sitecore PowerShell Extention" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9663" PostTypeId="2" ParentId="9662" CreationDate="2018-01-24T09:39:18.650" Score="3" Body="&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# get item to archive&#xA;$item = Get-Item -Path '/sitecore/content/ITEM'&#xA;&#xA;# see available archives for current database&#xA;[Sitecore.Data.Archiving.ArchiveManager]::GetArchives($item.Database)&#xA;&#xA;# select archive that you want to use&#xA;$archive = [Sitecore.Data.Archiving.ArchiveManager]::GetArchive(&quot;archive&quot;,$item.Database)&#xA;&#xA;# store an item in the archive&#xA;$archive.ArchiveItem($item)&#xA;&#xA;# browse archive entries&#xA;$archive.GetEntries(0,10)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To get more useful function for Archive object see this class&#xA;&lt;code&gt;Sitecore.Data.Archiving.Archive&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-01-24T09:39:18.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9664" PostTypeId="1" CreationDate="2018-01-24T10:02:51.697" Score="2" ViewCount="115" Body="&lt;p&gt;I have a simple form that takes an email which I use to identify a Contact.&lt;br&gt;&#xA;I also have a label with some text that changes based on a condition on the same page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After identifying the Contact I return the same view.&#xA;However, for the condition to take effect, I have to refresh the page a second time.&#xA;Is there a way to have the condition take effect right away?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Heres some code:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [HttpPost]&#xA;    public ActionResult Track(string email)&#xA;    {&#xA;        if (Request.Form[&quot;Email&quot;] != null)&#xA;        {&#xA;            if (Request.Form[&quot;Email&quot;] != &quot;&quot;)&#xA;                Tracker.Current.Session.IdentifyAs(&quot;email&quot;, Request.Form[&quot;email&quot;]);&#xA;        }&#xA;        FillViewBag(); // for debugging to check if the contact is actualy identified.&#xA;        //Remove from session to refresh the contact&#xA;        var manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as Sitecore.Analytics.Tracking.ContactManager;&#xA;        manager.RemoveFromSession(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;        return View();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT / SOLUTION&lt;/strong&gt;&lt;br&gt;&#xA;This is probably not the cleanest solution but changing &lt;code&gt;return view()&lt;/code&gt; to &lt;code&gt;return Redirect(&quot;/page&quot;)&lt;/code&gt; solved this for me &lt;/p&gt;&#xA;" OwnerUserId="2555" LastEditorUserId="246" LastEditDate="2018-01-24T20:32:09.200" LastActivityDate="2018-01-24T20:32:09.200" Title="IdentifyAs not using conditions right away" Tags="|tracking|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9665" PostTypeId="2" ParentId="9628" CreationDate="2018-01-24T10:17:40.360" Score="1" Body="&lt;p&gt;I was able to resolve this issue by using the powershell script mentioned at &lt;a href=&quot;https://sitecore.namics.com/2017/12/15/make-sif-work-with-windows-8-1-and-iis-8-5/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.namics.com/2017/12/15/make-sif-work-with-windows-8-1-and-iis-8-5/&lt;/a&gt; which includes cmdlet for windows 8.1. The original install script which is mentioned in the installation guide doesnot work with windows 8.1.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2018-01-24T10:17:40.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9666" PostTypeId="2" ParentId="9631" CreationDate="2018-01-24T10:21:42.557" Score="2" Body="&lt;p&gt;In the initial release of Sitecore 9 the experience profile had some issues.&lt;br&gt;&#xA;The 'To date' in the filter wasn't working properly.&lt;br&gt;&#xA;I've added a screenshot of all known issues, these are fixed in Sitecore 9 update 1!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Kc5Vh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Kc5Vh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2555" LastActivityDate="2018-01-24T10:21:42.557" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9667" PostTypeId="1" AcceptedAnswerId="9679" CreationDate="2018-01-24T10:54:40.933" Score="8" ViewCount="547" Body="&lt;p&gt;I'm trying to map a Dynamic Boolean to a Sitecore Checkbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The raw value read is &quot;True&quot; but i need to convert to 1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any tips?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jjumZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jjumZ.png&quot; alt=&quot;raw value&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&#xA;Crm Value Accessor Set&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V1srN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V1srN.png&quot; alt=&quot;CRM&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Value Accessor Set&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1yOIc.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1yOIc.png&quot; alt=&quot;Sitecore&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mapping&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xOpb6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xOpb6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3141" LastEditorUserId="3141" LastEditDate="2018-01-24T11:58:38.767" LastActivityDate="2018-01-25T11:39:39.397" Title="Data Exchange Framework 1.4.1 map CRM Boolean to Sitecore Checkbox" Tags="|data-exchange-framework|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9668" PostTypeId="2" ParentId="9667" CreationDate="2018-01-24T12:05:11.817" Score="5" Body="&lt;p&gt;You need to create &lt;strong&gt;Value Reader Converter&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BoolToCheckboxValueReaderConverter : BaseItemModelConverter&amp;lt;ItemModel, IValueReader&amp;gt;&#xA;    {&#xA;        private BoolToCheckboxFieldReader _reader = (BoolToCheckboxFieldReader)null;&#xA;        private static readonly Guid TemplateId = Guid.Parse(&quot;{C3C9E93C-F197-4FBD-820D-DCB565707AF7}&quot;);&#xA;        public BoolToCheckboxValueReaderConverter(IItemModelRepository repository)&#xA;      : base(repository)&#xA;        {&#xA;            this.SupportedTemplateIds.Add(TemplateId);&#xA;        }&#xA;&#xA;        public override bool CanConvert(ItemModel source)&#xA;        {&#xA;            return true;&#xA;        }&#xA;&#xA;        public override IValueReader Convert(ItemModel source)&#xA;        {&#xA;            if (source == null)&#xA;            {&#xA;                Sitecore.DataExchange.Context.Logger.Error(&quot;Cannot convert null item to value reader. (converter: {0})&quot;, (object)this.GetType().FullName);&#xA;                return (IValueReader)null;&#xA;            }&#xA;            if (!this.CanConvert(source))&#xA;            {&#xA;                Sitecore.DataExchange.Context.Logger.Error(&quot;Cannot convert item to value reader. (item: {0}, converter: {1})&quot;, (object)source.GetItemId(), (object)this.GetType().FullName);&#xA;                return (IValueReader)null;&#xA;&#xA;            }&#xA;&#xA;            if (_reader == null)&#xA;                _reader = new BoolToCheckboxFieldReader(ItemModelRepository);&#xA;            return (IValueReader)_reader;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;BoolToCheckboxFieldReader&lt;/strong&gt; source code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BoolToCheckboxFieldReader : IBaseValueReader&#xA;    {&#xA;        public string AttributeName { get; set; }&#xA;        public IItemModelRepository Repository { get; private set; }&#xA;        public BoolToCheckboxFieldReader(IItemModelRepository repository)&#xA;        {&#xA;            Repository = repository;&#xA;        }&#xA;&#xA;        public CanReadResult CanRead(object source, DataAccessContext context)&#xA;        {&#xA;            return new CanReadResult()&#xA;            {&#xA;                CanReadValue = true&#xA;            };&#xA;        }&#xA;&#xA;        public ReadResult Read(object source, DataAccessContext context)&#xA;        {&#xA;            object result = (object)null;&#xA;&#xA;            var sourceObject = source as Microsoft.Xrm.Sdk.Entity;&#xA;            if (sourceObject != null)&#xA;            {&#xA;                object value;&#xA;                if (sourceObject.Attributes.TryGetValue(AttributeName, out value))&#xA;                {&#xA;&#xA;                    if (value is bool)&#xA;                    {&#xA;                        var searchObject = (bool)value;&#xA;                        return new ReadResult(DateTime.UtcNow)&#xA;                        {&#xA;                            WasValueRead = true,&#xA;                            ReadValue = searchObject ? &quot;1&quot; : &quot;0&quot;&#xA;                        };&#xA;                    }&#xA;                }&#xA;&#xA;            }&#xA;&#xA;            return new ReadResult(DateTime.UtcNow)&#xA;            {&#xA;                WasValueRead = true,&#xA;                ReadValue = &quot;0&quot;&#xA;            };&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IBaseValueReader&lt;/strong&gt; source code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IBaseValueReader : IValueReader&#xA;    {&#xA;        string AttributeName { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore you need to create your Value Reader template and set to &quot;Base templates&quot; Value Reader OOTB template:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9JiHA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9JiHA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that you need to create &lt;strong&gt;Bool To Checkbox Value Reader&lt;/strong&gt; item based on &lt;strong&gt;Bool To Checkbox Value Reader template&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZE2FD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZE2FD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under &lt;code&gt;/sitecore/system/Data Exchange/Data Exchange/Data Access/Value Accessor Sets&lt;/code&gt; you need to find your Entity Attribute Value Accessor, which you want to convert, and set Value Reader field (Value Access section) to &lt;strong&gt;Value Readers/Providers/Dynamics CRM/Bool To Checkbox Value Reader&lt;/strong&gt; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to run your batch and check converted value. &lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-01-24T12:05:11.817" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9669" PostTypeId="2" ParentId="9651" CreationDate="2018-01-24T12:10:00.480" Score="2" Body="&lt;p&gt;Issue resolved on Slack chat.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Turns out, LinkDatabase was set to point to &quot;web&quot; on the CD environment, but &quot;core&quot; on CM environment. Updates and rebuilds of the LinkDatabase did not propagate across to the CD environment, and this was the root cause.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;LinkDatabase type=&quot;Sitecore.Data.SqlServer.SqlServerLinkDatabase, Sitecore.Kernel&quot;&amp;gt;&amp;lt;param connectionStringName=&quot;web&quot;/&amp;gt;&amp;lt;/LinkDatabase&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This line was patched in, on the configuration on the CD environment.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-01-24T12:10:00.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9670" PostTypeId="1" CreationDate="2018-01-24T13:29:44.377" Score="6" ViewCount="630" Body="&lt;p&gt;I am planning to deployed Sitecore 9 Update 1 on Azure PaaS using Sitecore Marketplace template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created the non-production environment like SIT,QA,UAT using self signed certificate option and its working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore recommendation:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;For developer environments, you can generate a self-signed certificate using PowerShell. For production environments, you must obtain a certificate from a certified authority because of potential security concerns.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Client certificate requirement:&lt;/strong&gt;&#xA;&quot;Sitecore requires a Base64-encoded blob of the authentication certificate in PKCS #12 format (.pfx) for service communications&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My query is:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We already have the SSL certificate for my domain's and sub domain in .PFX File. &#xA;how we can obtain/generate the client certificate from SSL certificate, or is there any other way to obtain the client certificate?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I provide the existing SSL certificate , it shows invalid certificate error &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Is0cH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Is0cH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which is known as we need to provide the client certificate? any ideas/suggestion/steps to obtain the client certificate for Sitecore 9 installation?&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="3089" LastEditDate="2018-01-24T14:14:06.497" LastActivityDate="2018-02-23T21:15:16.357" Title="How to obtain a certificate from a certified authority for Sitecore 9 Installation?" Tags="|security|azure|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9671" PostTypeId="1" CreationDate="2018-01-24T14:20:06.613" Score="9" ViewCount="587" Body="&lt;p&gt;We recently started using Unicorn for synchronization in our project to sync content and templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.2 (rev. 161221) and Unicorn 4.0.3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue we are facing is that every time we run a sync, all content items, for which there is language fallback implemented on template level, get synced irrespective of any changes made to them. &#xA;As there are lot of content items being synced, it takes a very long for the sync to complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to fix this?&lt;/p&gt;&#xA;" OwnerUserId="1724" LastEditorUserId="73" LastEditDate="2018-07-20T10:35:36.547" LastActivityDate="2018-08-19T15:03:12.527" Title="Unicorn always serializes items which have fallback enabled" Tags="|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9672" PostTypeId="1" AcceptedAnswerId="9686" CreationDate="2018-01-24T14:55:40.253" Score="2" ViewCount="1897" Body="&lt;p&gt;I tried to disable Optimization stuff for Experience editor and did everything that described here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoresaga.wordpress.com/2016/12/21/disabling-content-testing-in-sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoresaga.wordpress.com/2016/12/21/disabling-content-testing-in-sitecore-8-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/785358&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/785358&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but I still see Optimization calls at Experience Editor&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hwQ8Z.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hwQ8Z.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;what I missed? &lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="1671" LastEditDate="2018-02-08T04:47:18.917" LastActivityDate="2018-02-08T04:47:18.917" Title="How to disable Content Testing in Sitecore 8.2" Tags="|experience-editor|performance-optimization|content-testing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9673" PostTypeId="2" ParentId="9659" CreationDate="2018-01-24T15:27:26.817" Score="2" Body="&lt;p&gt;One of my colleagues helped to find a solution! Press right button of the mouse on connection -&gt; Connections -&gt; Edit connection properties and then uncheck &quot;UseDefaultWebProxy&quot;. In some reason it was set by default.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPD&lt;/strong&gt;&#xA;When you uncheck &quot;UseDefaultWebProxy&quot; you can have another bug - exception when you try to delete some item (template). To fix this use this artifact - &lt;a href=&quot;https://ci.appveyor.com/project/JakobChristensen/sitecore-rocks/build/artifacts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ci.appveyor.com/project/JakobChristensen/sitecore-rocks/build/artifacts&lt;/a&gt;&#xA;and then set &quot;UseDefaultWebProxy&quot; to check position.&lt;/p&gt;&#xA;" OwnerUserId="3140" LastEditorUserId="3140" LastEditDate="2018-01-25T07:42:25.560" LastActivityDate="2018-01-25T07:42:25.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9674" PostTypeId="2" ParentId="1492" CreationDate="2018-01-24T15:57:49.947" Score="0" Body="&lt;p&gt;I just faced with the same issue and I have implemented a new webedit command and button.&#xA;At the end it looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;webedit:adddatasourcelanguage&quot; type=&quot;MyProject.Foundation.EditorExtensions.Commands.ExperienceEditor.AddDatasourceLanguage,MyProject.Foundation.EditorExtensions&quot;/&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code of the command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyProject.Foundation.EditorExtensions.Commands.ExperienceEditor&#xA;{&#xA;    using System;&#xA;    using Sitecore.Shell.Applications.WebEdit.Commands;&#xA;    using Sitecore.Shell.Framework.Commands;&#xA;&#xA;    [Serializable]&#xA;    public class AddDatasourceLanguage : WebEditCommand&#xA;    {&#xA;        public override void Execute(CommandContext context)&#xA;        {&#xA;            if (context == null || context.Items == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            foreach (var item in context.Items)&#xA;            {&#xA;                if (item.Versions.Count != 0)&#xA;                {&#xA;                    continue;&#xA;                }&#xA;&#xA;                item.Versions.AddVersion();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you just need to open &lt;strong&gt;core&lt;/strong&gt; database and create the following item here:&#xA;&lt;code&gt;/sitecore/content/Applications/WebEdit/Default Rendering Buttons/Add datasource language&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PbSP0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PbSP0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the end with this new button you can create new language versions in Experience Editor for datasources one by one.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2018-01-24T16:05:14.873" LastActivityDate="2018-01-24T16:05:14.873" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9675" PostTypeId="2" ParentId="5258" CreationDate="2018-01-24T16:34:53.283" Score="0" Body="&lt;p&gt;That just happened to me with Sitecore.NET 8.2 (rev. 170407)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case it was actually the SHARED Renderings field that was messed up, still, the error was manifesting in Final Renderings (I guess it's when Sitecore tries to resolve layout differences against Shared).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fixing Shared also fixes Final - we made it by restoring Shared values from default _Standard Values (Layout Restore on Shared Layouts).&lt;/p&gt;&#xA;" OwnerUserId="471" LastActivityDate="2018-01-24T16:34:53.283" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9676" PostTypeId="1" CreationDate="2018-01-24T17:13:49.910" Score="6" ViewCount="441" Body="&lt;p&gt;How do I set the priority of css files so when it optimized all css files, custom css file gets higher priority?&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="3136" LastEditDate="2018-02-09T08:33:51.797" LastActivityDate="2018-03-17T07:24:34.913" Title="SXA custom css priority level" Tags="|sxa|best-practices|css|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9677" PostTypeId="2" ParentId="9676" CreationDate="2018-01-24T17:21:59.307" Score="3" Body="&lt;p&gt;Files get concatenated in an order taken from Sitecore tree and then minified, so you can control it using standard sort order field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure if an order will help you in any way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The standard approach to creating custom class is to either define more specific CSS selector or use &lt;code&gt;!important&lt;/code&gt; or overwrite standard class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, it is impossible to overwrite CSS classes right now. So if you have a CSS file in a base theme you cannot simply overwrite its content in your current theme, you have to use techniques listed above.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-01-24T17:21:59.307" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9678" PostTypeId="2" ParentId="9631" CreationDate="2018-01-24T17:47:19.370" Score="0" Body="&lt;p&gt;Reporting such as Experience Profile is still aggregated data performed by the Processing pools.  That's still the same as before.  The difference between pre-9 with regards to contacts is that contact data is actually saved immediately instead of when session ends.  This means that contact data still needs to be processed at a regular interval and then it will show up in the list.  Take a look at the documentation on &lt;a href=&quot;https://doc.sitecore.net/developers/xp/reporting/introduction.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Reporting&lt;/a&gt;, &lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/architecture-overview/experience-platform/processing-architecture.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Processing Architecture&lt;/a&gt;, &lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/architecture-overview/experience-platform/processing-architecture.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Interaction aggregation&lt;/a&gt; to see the sequence of events. &lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-24T17:47:19.370" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9679" PostTypeId="2" ParentId="9667" CreationDate="2018-01-24T18:14:33.270" Score="7" Body="&lt;p&gt;You can use &lt;strong&gt;Field Value Transformer for Write&lt;/strong&gt; on &lt;strong&gt;Sitecore Value Accessor Set&lt;/strong&gt;.&#xA;This approach allows you to create a single solution not only for CRM and also for all providers where the source value is Boolean and you need to convert it to Sitecore Checkbox type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before to run a writer for Sitecore Field Value Writer transformer converts its value to a right format.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Change field &lt;strong&gt;&lt;em&gt;IsCommentsEnabled&lt;/em&gt;&lt;/strong&gt; to Sitecore checkbox type.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sevl0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sevl0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Reader&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BoolToSitecoreCheckboxValueReader : IValueReader&#xA;{&#xA;    public virtual CanReadResult CanRead(object source, DataAccessContext context)&#xA;    {&#xA;        if (source is bool)&#xA;        {&#xA;            return CanReadResult.PositiveResult();&#xA;        }&#xA;&#xA;        return CanReadResult.NegativeResult();&#xA;    }&#xA;&#xA;    public virtual ReadResult Read(object source, DataAccessContext context)&#xA;    {&#xA;        if (source is bool value)&#xA;        {&#xA;            return ReadResult.PositiveResult(value ? &quot;1&quot; : &quot;0&quot;, DateTime.Now);&#xA;        }&#xA;&#xA;        return ReadResult.NegativeResult(DateTime.Now);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Converter&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SupportedIds(&quot;[YOUR TEMPLATE ID]&quot;)]&#xA;public class BoolToSitecoreCheckboxReaderConverter : BaseItemModelConverter&amp;lt;IValueReader&amp;gt;&#xA;{&#xA;    public BoolToSitecoreCheckboxReaderConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;    }&#xA;&#xA;    public override IValueReader Convert(ItemModel source)&#xA;    {&#xA;        return new BoolToSitecoreCheckboxValueReader();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a template where base template is &lt;strong&gt;Value Reader&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b6yzA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b6yzA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set Converter Type&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Bf5LJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Bf5LJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add created reader under existed Tenant under the Value Readers folder&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-01-25T11:39:39.397" LastActivityDate="2018-01-25T11:39:39.397" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9681" PostTypeId="2" ParentId="9676" CreationDate="2018-01-24T19:11:47.033" Score="3" Body="&lt;p&gt;In case if you are using SXA AssetService pipeline to programmatically include the whole theme, then there is an &lt;code&gt;SortOrder&lt;/code&gt; property which you can use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddCustomTheme: AddAssetsProcessor&#xA;{&#xA;    public override void Process(AssetsArgs args)&#xA;    {&#xA;        Item theme = ...;&#xA;&#xA;        args.AssetsList.Add(new ThemeInclude&#xA;        {&#xA;            SortOrder = 0,&#xA;            Name = theme.Name,&#xA;            ThemeId = theme.ID,&#xA;            Theme = theme&#xA;        });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-01-24T19:11:47.033" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9683" PostTypeId="2" ParentId="9664" CreationDate="2018-01-24T20:31:08.520" Score="2" Body="&lt;p&gt;The reason behind this is that the &lt;code&gt;IdentifyAs()&lt;/code&gt; method is being called in a component that isn't executed until Sitecore has already determined what components to display. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To see a new component based on a page event or based on the identified user, the page has to be refreshed in order for Sitecore to personalize a different set of components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to get this to work as expected, perform a Redirect to the same Page.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-24T20:31:08.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9685" PostTypeId="2" ParentId="9670" CreationDate="2018-01-24T22:41:44.130" Score="2" Body="&lt;p&gt;When you make your Certificate Signing Request (CSR) which you send to the Certificate Authority, you designate in the request what the certificate will be used for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the case of a certificate already obtained, you need to regenerate a new CSR and get a new certificate from the CA. When making the CSR, designate that this is a Client Certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most CA's offer this as a reduced or free service on valid certificates.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-24T22:41:44.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9686" PostTypeId="2" ParentId="9672" CreationDate="2018-01-24T22:48:05.490" Score="5" Body="&lt;h3&gt;Solution (For XP 8.1 And Later)&lt;/h3&gt;&#xA;&lt;p&gt;Change the ContentTesting.AutomaticContentTesting.Enabled setting value to false in the App_Config\Include\ContentTesting\Sitecore.ContentTesting.config file:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;ContentTesting.AutomaticContentTesting.Enabled&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-01-25T09:01:24.560" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9687" PostTypeId="2" ParentId="9631" CreationDate="2018-01-24T22:50:07.093" Score="2" Body="&lt;p&gt;Check the indexer is running and that there aren’t any errors in the indexer log. Check &lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/xp-service-roles/indexer.html#check-application-logs&quot; rel=&quot;nofollow noreferrer&quot;&gt;this doc entry&lt;/a&gt; post for more info.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also consider whether you are searching by PII data, which is not indexed by default.&lt;/p&gt;&#xA;" OwnerUserId="76" LastActivityDate="2018-01-24T22:50:07.093" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9688" PostTypeId="1" AcceptedAnswerId="9690" CreationDate="2018-01-25T01:58:36.137" Score="0" ViewCount="510" Body="&lt;p&gt;While searching through path or ID in CMS, i get the following error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find File \Indexes\Sitecore_mastes_index\Segment_1ac&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.screencast.com/t/DkeqUjPlc&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.screencast.com/t/DkeqUjPlc&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="2727" LastEditDate="2018-01-25T12:56:46.880" LastActivityDate="2018-01-25T12:56:46.880" Title="Error while searching in Sitecore CMS Could not find File Indexes\Sitecore_mastes_index\Segmnet_1ac" Tags="|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9689" PostTypeId="1" CreationDate="2018-01-25T04:54:06.667" Score="8" ViewCount="1647" Body="&lt;p&gt;I got a trouble about custom index with Sitecore 9.0.1 in Azure. My custom index configuration can rebuild successfully and this index can create in Azure search with Sitecore 9.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After I changed to use Sitecore 9.0.1 this configuration didn't work anymore. The index builds successfully but it cannot be created in Azure. I didn't get any exception in UI or log. The Sitecore default index can build and create successfully without trouble. I'm very appreciate your help about it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my custom index configuration&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore role:require=&quot;Standalone or ContentManagement or ContentDelivery&quot; search:require=&quot;Azure&quot;&amp;gt;&#xA;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;generalredirects_master_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;            &#xA;        &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/generalRedirectsSearchConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;schemaBuilder ref=&quot;contentSearch/searchServiceSchemaBuilder&quot; /&amp;gt;&#xA;        &amp;lt;searchService type=&quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;            &amp;lt;/policy&amp;gt;&#xA;          &amp;lt;/policies&amp;gt;&#xA;        &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/content/TUVSUD/Storage/General Redirects&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;      &amp;lt;index id=&quot;generalredirects_web_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;           &#xA;        &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;           &#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/generalRedirectsSearchConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;schemaBuilder ref=&quot;contentSearch/searchServiceSchemaBuilder&quot; /&amp;gt;&#xA;        &amp;lt;searchService type=&quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;            &amp;lt;/policy&amp;gt;&#xA;          &amp;lt;/policies&amp;gt;&#xA;        &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/content/TUVSUD/Storage/General Redirects&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sitecore&amp;gt;&#xA;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;indexConfigurations&amp;gt;&#xA;    &amp;lt;generalRedirectsSearchConfiguration type=&quot;Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;      &amp;lt;initializeOnAdd&amp;gt;true&amp;lt;/initializeOnAdd&amp;gt;&#xA;      &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;        &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;destinationurl&quot; cloudFieldName=&quot;destinationurl_s&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;ACB.Feature.GeneralRedirects.Indexing.Fields.DestinationUrl,ACB.Feature.GeneralRedirects&amp;lt;/field&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;sourceurl&quot; cloudFieldName=&quot;sourceurl_s&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;  settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;ACB.Feature.GeneralRedirects.Indexing.Fields.SourceUrl,ACB.Feature.GeneralRedirects&amp;lt;/field&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;redirecttype&quot; cloudFieldName=&quot;redirecttype_tl&quot; boost=&quot;1f&quot; type=&quot;System.Int32&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;ACB.Feature.GeneralRedirects.Indexing.Fields.RedirectType,ACB.Feature.GeneralRedirects&amp;lt;/field&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;querystring&quot; cloudFieldName=&quot;querystring_s&quot; boost=&quot;1f&quot; type=&quot;System.String&quot;  settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;ACB.Feature.GeneralRedirects.Indexing.Fields.QueryString,ACB.Feature.GeneralRedirects&amp;lt;/field&amp;gt;&#xA;        &amp;lt;/fieldNames&amp;gt;&#xA;      &amp;lt;/fieldMap&amp;gt;&#xA;      &amp;lt;fieldReaders ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/fieldReaders&quot; /&amp;gt;&#xA;      &amp;lt;virtualFields ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/virtualFields&quot; /&amp;gt;&#xA;      &amp;lt;documentOptions ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/documentOptions&quot;&amp;gt;&#xA;        &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;        &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;destinationurl&quot;&amp;gt;ACB.Feature.GeneralRedirects.Indexing.Fields.DestinationUrl,ACB.Feature.GeneralRedirects&amp;lt;/field&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;sourceurl&quot;&amp;gt;ACB.Feature.GeneralRedirects.Indexing.Fields.SourceUrl,ACB.Feature.GeneralRedirects&amp;lt;/field&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;redirecttype&quot;&amp;gt;ACB.Feature.GeneralRedirects.Indexing.Fields.RedirectType,ACB.Feature.GeneralRedirects&amp;lt;/field&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;querystring&quot;&amp;gt;ACB.Feature.GeneralRedirects.Indexing.Fields.QueryString,ACB.Feature.GeneralRedirects&amp;lt;/field&amp;gt;&#xA;        &amp;lt;/fields&amp;gt;&#xA;        &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;          &amp;lt;InternalRedirect&amp;gt;{48710E43-17E6-4179-9B8D-7C8994737F06}&amp;lt;/InternalRedirect&amp;gt;&#xA;          &amp;lt;ExternalRedirect&amp;gt;{A08BEFB2-C24E-4A1E-B619-9C9AB4F6C4B9}&amp;lt;/ExternalRedirect&amp;gt;&#xA;          &amp;lt;ObsoleteRedirect&amp;gt;{4150ADEE-C8D0-4275-8A61-9C78AF897E03}&amp;lt;/ObsoleteRedirect&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;      &amp;lt;/documentOptions&amp;gt;&#xA;&#xA;&#xA;&#xA;      &amp;lt;indexFieldStorageValueFormatter ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/indexFieldStorageValueFormatter&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;indexDocumentPropertyMapper ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/indexDocumentPropertyMapper&quot;/&amp;gt;&#xA;&#xA;      &amp;lt;documentBuilderType ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/documentBuilderType&quot;/&amp;gt;&#xA;&#xA;      &amp;lt;defaultSearchSecurityOption ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/defaultSearchSecurityOption&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;cloudTypeMapper ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/cloudTypeMapper&quot;/&amp;gt;&#xA;&#xA;    &amp;lt;/generalRedirectsSearchConfiguration&amp;gt;&#xA;  &amp;lt;/indexConfigurations&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="3014" LastActivityDate="2019-05-07T18:39:46.973" Title="Custom index configuration cannot work for Sitecore 9.0.1 in Azure" Tags="|indexing|azure-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9690" PostTypeId="2" ParentId="9688" CreationDate="2018-01-25T06:04:06.207" Score="4" Body="&lt;p&gt;Looks like your master index is corrupted. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you cannot delete the folder please restart application pool (w3p process) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please go to the E:\Finaal\823\Data\Indexes and delete all the files from the master index folder (sitecore_master_index).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to Control Panel-&gt; Indexing Manager and rebuild sitecore_master_index &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O2OYG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O2OYG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-01-25T06:04:06.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9691" PostTypeId="2" ParentId="9689" CreationDate="2018-01-25T08:59:05.330" Score="9" Body="&lt;p&gt;I fixed this issue. You should use &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;generalRedirectsSearchConfiguration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;instead of using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;generalRedirectsSearchConfiguration type=&quot;Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3014" LastEditorUserId="342" LastEditDate="2019-05-07T18:39:46.973" LastActivityDate="2019-05-07T18:39:46.973" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9692" PostTypeId="2" ParentId="9631" CreationDate="2018-01-25T09:12:16.130" Score="2" Body="&lt;p&gt;After rebuilding the reporting database and rebuilding the search indexer, I found that the 'Sitecore xConnect Search Indexer' service was't running in Windows services. After starting the service, the contacts started showing up in the experience profile.&lt;/p&gt;&#xA;" OwnerUserId="3104" LastActivityDate="2018-01-25T09:12:16.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9693" PostTypeId="2" ParentId="9196" CreationDate="2018-01-25T09:24:05.367" Score="-1" Body="&lt;p&gt;It turns out that the FXM script creates an instance of SCBeacon using a Sitecore domain without a specified protocol i.e. //host. Within the app this was being interpreted as a file request and therefor not handled correctly. I added a custom WebViewClient to my WebView which overrides the ShouldInterceptRequest method, which allows me to intercept POST requests to the FXM services and handle them myself in terms of:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Adding an explicit protocol&lt;/li&gt;&#xA;&lt;li&gt;Adding a custom sessionId (as this was also blank)&lt;/li&gt;&#xA;&lt;li&gt;Setting cookies returned in the response (SC_ANALYTICS_GLOBAL_COOKIE &amp;amp; site language)&lt;/li&gt;&#xA;&lt;li&gt;Mapping app activities to a page structure for the &quot;page&quot; parameter&lt;/li&gt;&#xA;&lt;li&gt;Passing the contactId (retrieved from the previously set cookie)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Things &lt;em&gt;seem&lt;/em&gt; to be working now in that I can see requests hitting Sitecore from the App and data going into xDb but I won't mark this as answered in case anyone out there says &quot;no don't do that, there's a much easier way&quot;&lt;/p&gt;&#xA;" OwnerUserId="759" LastEditorUserId="73" LastEditDate="2018-01-26T08:36:08.257" LastActivityDate="2018-01-26T08:36:08.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9695" PostTypeId="2" ParentId="9627" CreationDate="2018-01-25T10:32:53.057" Score="4" Body="&lt;p&gt;In Sitecore 9.x, the engagement value is a &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/facets/calculated-facets/engagement-measures.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;calculated facet&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to increase the engagement value, you should add an event where you are setting the engagement value e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (XConnectClient client = SitecoreXConnectClientConfiguration.GetClient())&#xA;{&#xA;  try&#xA;  {&#xA;    var reference = new IdentifiedContactReference(source, identifier);&#xA;    var contact = client.Get(reference, new ExpandOptions());&#xA;&#xA;    int engagementValue = 10;&#xA;&#xA;    var interaction = new XConnect.Interaction(contact, InteractionInitiator.Brand, channelId, userAgent);&#xA;    var engagementValueEvent = new Event(Guid.NewGuid(), DateTime.UtcNow)&#xA;    {&#xA;      EngagementValue = engagementValue&#xA;    };&#xA;    interaction.Events.Add(engagementValueEvent);&#xA;&#xA;    client.AddInteraction(interaction);&#xA;&#xA;    client.Submit();&#xA;  }&#xA;  catch (Exception e)&#xA;  {&#xA;    //&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-01-25T10:32:53.057" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9696" PostTypeId="1" CreationDate="2018-01-25T13:20:48.507" Score="3" ViewCount="746" Body="&lt;p&gt;I was now wondering what the definitive list of Sitecore Client Languages actually is.&#xA;By default, my own answer would be English, Danish, German and Japanese.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I found this: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/8_0/Sitecore_Experience_Platform_8_update2.aspx&lt;/a&gt;&#xA;where Dutch, Swedish, French, Norwegian and Chinese are also mentioned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And one would expect that list to be followed through into each and every next version... However, for later versions (8.2/9) we seem to fall back into the default list of English, Danish, German and Japanese&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, what is the correct list and to what extent can we use that full list to, in my case, offer the client environment in French or Dutch?&lt;/p&gt;&#xA;" OwnerUserId="627" LastEditorUserId="70" LastEditDate="2018-01-29T15:54:50.733" LastActivityDate="2018-01-29T15:54:50.733" Title="What Sitecore Client Languages are available?" Tags="|sitecore-client|multilingual|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9699" PostTypeId="1" AcceptedAnswerId="9712" CreationDate="2018-01-25T16:39:44.743" Score="1" ViewCount="2525" Body="&lt;p&gt;I need to insert text for a media item when getting a media type of PDF by changing the GetMediaUrl method. This is for an RTE field. I went to override the MediaProvider, but found it was obsolete and replaced by the MediaManager. I created a class that inherits from the BaseMediaManager. Now I am wondering how to add that class to the pipeline. I see the one for MediaProvider, but can't figure out where to add one for MediaManager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this for Media Provider:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaProvider type=&quot;Sitecore.Resources.Media.MediaProvider, Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="853" LastEditorUserId="853" LastEditDate="2018-01-25T17:04:33.817" LastActivityDate="2018-01-26T08:26:27.917" Title="Override Media Manager to Change Url" Tags="|media-library|link-manager|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9701" PostTypeId="1" AcceptedAnswerId="9702" CreationDate="2018-01-25T20:03:19.030" Score="0" ViewCount="847" Body="&lt;p&gt;I am looking for the best way to append to the text of a RTE media link (PDF file type). Either on the insert or when the link is being rendered. I looked at the MediaProvider and I noticed that only returns the link and not the html with the text. I also looked at Rich Text Commands.js file and found that is where the final link is being generated. So possibly I can append on insert if that is the correct place. Ideally though I would like to do it when the link is rendered. Has anyone done something similar?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code that I want to accomplish. You will see the font awesome markup is write before the link text.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;-/media/E4CE71E2A24C4ACAA6B9AE21E9F1DA64.ashx&quot;&amp;gt;&amp;lt;span class=&quot;pdflink&quot;&amp;gt;&amp;lt;em class=&quot;fa fa-file-pdf-o&quot;&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/span&amp;gt;PDF Text Title&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2018-01-25T22:35:58.173" Title="RTE Inserting/Rendering Link Appending Text" Tags="|media-library|links|richtext-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9702" PostTypeId="2" ParentId="9701" CreationDate="2018-01-25T21:18:23.593" Score="3" Body="&lt;p&gt;The Sitecore way to replace the text in a Rich Text field would be to create a custom processor in &lt;code&gt;&amp;lt;renderField&amp;gt;&lt;/code&gt; pipeline, insert it before &lt;code&gt;RenderWebEditing&lt;/code&gt; to ensure all links in fields are expanded. You would then need to wrap the text of the all &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; elements which links to a pdf with the additonal markup you require, probably best done using something like &lt;a href=&quot;http://html-agility-pack.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;HtmlAgilityPack&lt;/a&gt; which is available in a default install of Sitecore. The process is very similar to this blog post by John West about &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/apply-image-titles-to-rich-text-fields-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;adding Title attributes to images in Rich Text fields&lt;/a&gt;. You can see the code in the &lt;a href=&quot;https://github.com/jammykam/Sitecore.SharedSource.JohnWest/blob/master/src/AddImageTitles/AddImageTitles.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;Github repo&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using Glass Mapper then you will additionally to use the &lt;code&gt;ForceRenderField&lt;/code&gt; setting to force the field to run through the &lt;code&gt;RenderField&lt;/code&gt; pipeline or create a custom &lt;a href=&quot;http://glass.lu/Mapper/Sc/Tutorials/Tutorial19&quot; rel=&quot;nofollow noreferrer&quot;&gt;Data Mapper&lt;/a&gt; since Glass does not use the pipeline in Normal or Preview mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, it looks like you are trying to show an icon using &lt;a href=&quot;https://fontawesome.com/icons&quot; rel=&quot;nofollow noreferrer&quot;&gt;FontAwesome&lt;/a&gt; on all links to pdf files. I suggest that this is much more easily achieved using CSS, the &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors&quot; rel=&quot;nofollow noreferrer&quot;&gt;endswith attribute selector&lt;/a&gt; and &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/::before&quot; rel=&quot;nofollow noreferrer&quot;&gt;::before selector&lt;/a&gt; with content to set the icon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;HTML:&lt;/strong&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;stylesheet&quot; href=&quot;https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css&quot;&amp;gt;&#xA;&amp;lt;div&amp;gt;&#xA;  &amp;lt;p&amp;gt;this is some sample text&amp;lt;/p&amp;gt;&#xA;  &amp;lt;p&amp;gt;&amp;lt;a href=&quot;/-/media/document.pdf&quot;&amp;gt;this is a document link&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;  &amp;lt;p&amp;gt;&amp;lt;a href=&quot;/some/page&quot;&amp;gt;this is a regular link&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CSS:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;a[href$=&quot;.pdf&quot;] {&#xA;  font-weight: bold;&#xA;  padding-left: 0.25em;&#xA;}&#xA;&#xA;a[href$=&quot;.pdf&quot;]:before {&#xA;    content: &quot;\f1c1&quot;;&#xA;    font-family: FontAwesome;    &#xA;    float: left;&#xA;    font-size: 1.5em;&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pfg45.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pfg45.png&quot; alt=&quot;Sample output&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see a &lt;a href=&quot;https://codepen.io/jammykam/pen/oprOgm&quot; rel=&quot;nofollow noreferrer&quot;&gt;Codepen demo here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find the unicode character code for each icon one the FontAwesome site, for example for &lt;a href=&quot;http://fontawesome.io/icon/file-pdf-o/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;file-pdf-o&lt;/code&gt;&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nfP93.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nfP93.png&quot; alt=&quot;Fontawesome unicode&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-01-25T22:35:58.173" LastActivityDate="2018-01-25T22:35:58.173" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9703" PostTypeId="2" ParentId="8496" CreationDate="2018-01-25T22:05:24.513" Score="1" Body="&lt;p&gt;A quick way is to use the Toggle component.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a Toggle component where you want your &quot;menu&quot; toggle should be.&lt;/li&gt;&#xA;&lt;li&gt;Put a Navigation component with &lt;code&gt;navigation-mobile&lt;/code&gt; class in the toggle's placeholder.&lt;/li&gt;&#xA;&lt;li&gt;Update the old navigation component's visibilty under the Grid's Advance tab to only show up on Desktops and Large Desktops.&lt;/li&gt;&#xA;&lt;li&gt;Update the Toggle's visibility to only show up for Phones and Tablets.   &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Of course this isn't optimized and may not even look close to what you need but it is a responsive mobile nav.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want another solution, you can &lt;a href=&quot;https://marcotanainsights.wordpress.com/2018/01/25/sitecore-experience-accelerator-sxa-quick-responsive-mobile-nav/&quot; rel=&quot;nofollow noreferrer&quot;&gt;take a look at my blog post&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastEditorUserId="2972" LastEditDate="2018-01-26T16:35:38.440" LastActivityDate="2018-01-26T16:35:38.440" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9704" PostTypeId="1" CreationDate="2018-01-25T23:08:32.640" Score="2" ViewCount="160" Body="&lt;p&gt;My TDS project has 2  Source Web Projects selected in Properties, WebProj1 and WebProj2 and I want to use TDS File Replacement to deploy some front end folders that to the website root.&#xA;After I am doing my settings in VS in the TDS project properties I end up with this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;ItemGroup Condition=&quot; '$(Configuration)' == 'Debug' &quot;&amp;gt;&#xA;    &amp;lt;Replacement Include=&quot;..\WebProj1\Frontend1\&quot;&amp;gt;&#xA;      &amp;lt;TargetPath&amp;gt;.\Frontend1\&amp;lt;/TargetPath&amp;gt;&#xA;      &amp;lt;IsFolder&amp;gt;True&amp;lt;/IsFolder&amp;gt;&#xA;      &amp;lt;IsRelative&amp;gt;True&amp;lt;/IsRelative&amp;gt;&#xA;    &amp;lt;/Replacement&amp;gt;&#xA;    &amp;lt;Replacement Include=&quot;..\WebProj2\Frontend2\&quot;&amp;gt;&#xA;      &amp;lt;TargetPath&amp;gt;.\Frontend2\&amp;lt;/TargetPath&amp;gt;&#xA;      &amp;lt;IsFolder&amp;gt;True&amp;lt;/IsFolder&amp;gt;&#xA;      &amp;lt;IsRelative&amp;gt;True&amp;lt;/IsRelative&amp;gt;&#xA;    &amp;lt;/Replacement&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I built TDS project I get this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Severity    Code    Description Project File    Line    Suppression State&#xA;Error       The &quot;MakeAbsolutePath&quot; task was not given a value for the required parameter &quot;RelativePath&quot;.    GNeCom.Web.Master   C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets 334 &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone what changes are needed in order to have File Replacement working with multile Source Web Projects &quot;attached&quot;? &lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;And on same note, if my TDS project has only one Source Web Project selected and I have those settings for File Replacement:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;ItemGroup Condition=&quot; '$(Configuration)' == 'Debug' &quot;&amp;gt;&#xA;    &amp;lt;Replacement Include=&quot;..\WebProj1\Frontend1\&quot;&amp;gt;&#xA;      &amp;lt;TargetPath&amp;gt;.\Frontend1\&amp;lt;/TargetPath&amp;gt;&#xA;      &amp;lt;IsFolder&amp;gt;True&amp;lt;/IsFolder&amp;gt;&#xA;      &amp;lt;IsRelative&amp;gt;True&amp;lt;/IsRelative&amp;gt;&#xA;    &amp;lt;/Replacement&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And under the folder &lt;code&gt;..\WebProj1\Frontend1\&lt;/code&gt; there are couple of sub-folders and files but all files from all sub-folders from &lt;code&gt;..\WebProj1\Frontend1\&lt;/code&gt; end up all in same place in the target path folder &lt;code&gt;.\Frontend1\&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is that happening ? Am I doing something wrong ? &lt;/p&gt;&#xA;" OwnerUserId="447" LastEditorUserId="447" LastEditDate="2018-01-26T11:42:41.007" LastActivityDate="2018-01-26T11:42:41.007" Title="TDS File Replacement for folders not working" Tags="|tds|visual-studio|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9705" PostTypeId="1" AcceptedAnswerId="9718" CreationDate="2018-01-25T23:40:26.227" Score="1" ViewCount="5036" Body="&lt;p&gt;I'm having issues trying to get the media image item using url/path like &lt;code&gt;/-/media/Infosite/Images/Content/Teasers/relevant-curriculum-small.ashx?modified=20170314020859&amp;amp;hash=3835E0B83346B4B33EB0787E69117CF560457FFA&lt;/code&gt; using the dynamiclink method mentioned &lt;a href=&quot;https://stackoverflow.com/questions/17314582/how-to-retrieve-sitecore-media-items-from-media-url&quot;&gt;here&lt;/a&gt;. I also tried stripping off the querystring part but of no use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to retrieve the media item height/width programmatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI - These media links comes from Rich Text Editor fields in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated!&lt;/p&gt;&#xA;" OwnerUserId="456" LastEditorUserId="605" LastEditDate="2018-01-29T14:25:25.623" LastActivityDate="2018-01-29T14:25:25.623" Title="Sitecore Get media item from url/path" Tags="|media-library|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9706" PostTypeId="1" AcceptedAnswerId="9709" CreationDate="2018-01-26T00:47:58.403" Score="2" ViewCount="454" Body="&lt;p&gt;We use Sitecore 9 Form. &#xA;Is it possible to use xConnect to access databases (ExperienceForm Db) where are saved information from new Sitecore Forms module? &lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="14" LastEditDate="2018-01-26T04:11:08.527" LastActivityDate="2018-01-26T14:35:48.630" Title="xConnect with ExperienceForm DB?" Tags="|xconnect|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9707" PostTypeId="1" AcceptedAnswerId="9708" CreationDate="2018-01-26T01:08:16.140" Score="4" ViewCount="519" Body="&lt;p&gt;I am trying to remove a base template if found and add a different base template if not found. In the code below the standard template is never found even though I know its there. Is it because I'm trying to find the template on a template? Should I use descendants somehow? I've commented the remove and add for now...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$baseL = Get-Item -Path &quot;master:\sitecore\Templates\Toro\Foundation\Language\_Language Fallback&quot;;&#xA;$baseS = Get-Item -Path &quot;master:\sitecore\templates\System\Templates\Standard template&quot;;&#xA;&#xA;cd master:\Templates\Toro\Feature\;&#xA;&#xA;Get-ChildItem -recurse | ForEach-Object {&#xA;&#xA;    if ($_.TemplateName -eq 'Template') {&#xA;&#xA;        # Get the direct template for the item, then check to see if it has a certain base template based on the template's ID&#xA;        $hasSTemplate = [Sitecore.Data.Managers.TemplateManager]::GetTemplate($_).InheritsFrom($baseS.ID);&#xA;&#xA;        # Remove Standard Template&#xA;        if ($hasSTemplate) {&#xA;            echo &quot;Yep, it has that template.&quot;&#xA;            #Remove-BaseTemplate -Path &quot;master:/sitecore/content/User Defined/Page&quot; -TemplateItem @($baseS)&#xA;        }&#xA;&#xA;         # Get the direct template for the item, then check to see if it has a certain base template based on the template's ID&#xA;        $hasLTemplate = [Sitecore.Data.Managers.TemplateManager]::GetTemplate($_).InheritsFrom($baseL.ID);&#xA;&#xA;        # Add Language Template&#xA;        if ($hasLTemplate –eq $FALSE) {&#xA;            echo &quot;Yep, it does not have that template.&quot;&#xA;            #Add-BaseTemplate -Path &quot;master:/sitecore/content/User Defined/Page&quot; -TemplateItem @($baseL)&#xA;        }&#xA;&#xA;        Write-Host $_.FullPath&#xA;    }&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="598" LastEditorUserId="598" LastEditDate="2018-01-26T01:58:48.747" LastActivityDate="2018-01-26T03:25:08.010" Title="Replace or Update Base Template of a Template" Tags="|powershell-extensions|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9708" PostTypeId="2" ParentId="9707" CreationDate="2018-01-26T03:25:08.010" Score="2" Body="&lt;p&gt;I imagine you are headed in the right direction when it comes to adding and removing base templates. You can use this command to help you determine when items are referring to a given template.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Id references the Standard Template&#xA;Get-Item -Path &quot;master:{1930BBEB-7805-471A-A3BE-4858AC7CF696}&quot; | Get-ItemReferrer&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/R8obM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/R8obM.png&quot; alt=&quot;Referencing Standard Template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If one of your user defined templates inherits from the specified template you will know it through the above query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the Standard Template causing an issue with your templates?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-01-26T03:25:08.010" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9709" PostTypeId="2" ParentId="9706" CreationDate="2018-01-26T04:06:53.297" Score="6" Body="&lt;p&gt;No it is not possible, xConnect is the service layer that sits in between the xDB and any trusted client, device, or interface that wants to read, write, or search xDB data. So you can not write to master,experience forms or other databases except xDB databases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Communication is must happen over HTTPS and clients must have the appropriate certificate thumbprint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about xConnect you can find at: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-overview/index.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-overview/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4Yqgl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4Yqgl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="3089" LastEditDate="2018-01-26T11:51:04.257" LastActivityDate="2018-01-26T11:51:04.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9710" PostTypeId="2" ParentId="520" CreationDate="2018-01-26T07:38:03.170" Score="1" Body="&lt;p&gt;I also encountered the same thing. I grabbed the web.config from the habitat demo solution, one of the web.config from the views there and it works fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the full web.config. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;configSections&amp;gt;&#xA;    &amp;lt;sectionGroup name=&quot;system.web.webPages.razor&quot;&#xA;                  type=&quot;System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&amp;gt;&#xA;      &amp;lt;section name=&quot;host&quot;&#xA;               type=&quot;System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&#xA;               requirePermission=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;section name=&quot;pages&quot;&#xA;               type=&quot;System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;&#xA;               requirePermission=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;/sectionGroup&amp;gt;&#xA;  &amp;lt;/configSections&amp;gt;&#xA;&#xA;  &amp;lt;system.web.webPages.razor&amp;gt;&#xA;    &amp;lt;host&#xA;      factoryType=&quot;System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;    &amp;lt;pages pageBaseType=&quot;System.Web.Mvc.WebViewPage&quot;&amp;gt;&#xA;      &amp;lt;namespaces&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Mvc&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Mvc.Ajax&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Mvc.Html&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Optimization&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Routing&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Mvc&quot; /&amp;gt;&#xA;      &amp;lt;/namespaces&amp;gt;&#xA;    &amp;lt;/pages&amp;gt;&#xA;  &amp;lt;/system.web.webPages.razor&amp;gt;&#xA;&#xA;  &amp;lt;appSettings&amp;gt;&#xA;    &amp;lt;add key=&quot;webpages:Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;/appSettings&amp;gt;&#xA;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;handlers&amp;gt;&#xA;      &amp;lt;remove name=&quot;BlockViewHandler&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;BlockViewHandler&quot; path=&quot;*.cshtml&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot;&#xA;           type=&quot;System.Web.HttpNotFoundHandler&quot; /&amp;gt;&#xA;    &amp;lt;/handlers&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And a screenshot:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8sLKu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8sLKu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1605" LastActivityDate="2018-01-26T07:38:03.170" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9712" PostTypeId="2" ParentId="9699" CreationDate="2018-01-26T08:26:27.917" Score="8" Body="&lt;p&gt;You need register the new Media Manager using &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dependency_injection&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Dependency Injection&lt;/a&gt; (see 'Registration in code' chapter). It can be done via Service Configurator as described in the article.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Creating Service Configurator&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Implement &lt;code&gt;Sitecore.DependencyInjection.IServicesConfigurator&lt;/code&gt; interface from Kernel assembly. Please note that you need to reference &lt;a href=&quot;https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/1.0.0&quot; rel=&quot;noreferrer&quot;&gt;Microsoft &#xA;Dependency Injection 1.0.0&lt;/a&gt; NuGet package:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ServiceConfigurator : IServicesConfigurator&#xA;{&#xA;    public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;        serviceCollection.AddSingleton&amp;lt;BaseMediaManager&amp;gt;(s =&amp;gt;&#xA;            new MyMediaManager(&#xA;                new DefaultMediaManager(&#xA;                    s.GetService&amp;lt;BaseFactory&amp;gt;(),&#xA;                    s.GetService&amp;lt;MediaProvider&amp;gt;()&#xA;                )));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Implementing Media Manager&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You may inherit the &lt;code&gt;DefaultMediaManager&lt;/code&gt; class as you mentioned but in case of numerous changes required (probably by different teams) &lt;a href=&quot;https://en.wikipedia.org/wiki/Decorator_pattern&quot; rel=&quot;noreferrer&quot;&gt;composition might be a better choise&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyMediaManager : BaseMediaManager&#xA;{&#xA;    private readonly BaseMediaManager _mediaManager;&#xA;&#xA;    public MyMediaManager(BaseMediaManager mediaManager)&#xA;    {&#xA;        _mediaManager = mediaManager;&#xA;    }&#xA;&#xA;    public override Media GetMedia(MediaItem item)&#xA;    {&#xA;        // add you custom logic here&#xA;        return _mediaManager.GetMedia(item);&#xA;    }&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Registering Service Configurator&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Last step, add the following registration to your configuration files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;      &amp;lt;configurator type=&quot;&amp;lt;younamespace&amp;gt;.DependencyInjection.ServiceConfigurator, &amp;lt;yourassembly&amp;gt;&quot;/&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastActivityDate="2018-01-26T08:26:27.917" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9713" PostTypeId="2" ParentId="9706" CreationDate="2018-01-26T14:35:48.630" Score="3" Body="&lt;p&gt;While you cannot use xConnect to access the Forms database, you can create custom save actions and save the data you want to retrieve onto the Contact in xDB and then use xConnect to get the data you saved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following documentation shows you how to configure Forms to update Contact details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-01-26T14:35:48.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9714" PostTypeId="1" AcceptedAnswerId="9716" CreationDate="2018-01-26T14:55:39.200" Score="4" ViewCount="3698" Body="&lt;p&gt;I'm having a weird issue where my &lt;code&gt;Multilist with Search&lt;/code&gt; field is searching my custom index instead of the &lt;code&gt;sitecore_master_index&lt;/code&gt; for items contained in the custom index. The multilist field source is defined as&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation=query:../..&amp;amp;Filter=+_templatename:Outcome Question&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The multi-list with search field exists on items with different templates. The ones which are not in my custom index work as expected. Here is the search log being recorded:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;39724 09:41:45 INFO  Solr Query - ?q=((((((-_group:(29ebd112a0694e4bb80482374063e617)  &lt;em&gt;:&lt;/em&gt;) AND (-_group:(569c996fdf134dbca01a9dda4fc2c17b)  &lt;em&gt;:&lt;/em&gt;)) AND (-_group:(167e8210fc5440d9bfecf4b8bd51f75d)  &lt;em&gt;:&lt;/em&gt;)) AND ((_path:(26db877f40734a8a830b5397a3f11c36) AND _templatename:(&quot;Outcome Question&quot;)) AND _latestversion:(True))) AND _latestversion:(1)) AND _datasource:(sitecore))&amp;amp;start=0&amp;amp;rows=20&amp;amp;fl=*,score&amp;amp;fq=_indexname:(&lt;strong&gt;sitecore_master_index&lt;/strong&gt;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is the same field in the search log when using an item in my custom index&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;10408 09:41:49 INFO  Solr Query - ?q=((((_path:(3493fb4172c24747a2bb5930cec674f8) AND _templatename:(&quot;Outcome Question&quot;)) AND _latestversion:(True)) AND _latestversion:(1)) AND _datasource:(sitecore))&amp;amp;start=0&amp;amp;rows=20&amp;amp;fl=*,score&amp;amp;fq=_indexname:(&lt;strong&gt;custom_things_master_index&lt;/strong&gt;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I don't want this to happen because my custom index doesn't have all the things that are in &lt;code&gt;sitecore_master_index&lt;/code&gt; but I am not sure why/how this is happening. Here is the index definition&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;custom_things_master_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot; &amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/customthingsIndexIndexConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/content/site&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then the index configuration looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;customthingsIndexIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;&amp;gt;&#xA;      &amp;lt;documentOptions ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/documentOptions&quot;&amp;gt;            &#xA;        &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;          &amp;lt;templateType&amp;gt;{A59021E5-1A6D-449F-81FB-197CBD7770F4}&amp;lt;/templateType&amp;gt;&#xA;          ...(more types)&#xA;        &amp;lt;/include&amp;gt;&#xA;      &amp;lt;/documentOptions&amp;gt;&#xA;    &amp;lt;/customthingsIndexIndexConfiguration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My next step is going to be decompiling/overriding pipelines until I can debug into this to see how the custom index is taking precedence over &lt;code&gt;sitecore_master_index&lt;/code&gt; in this context. I'm hoping to avoid that if possible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions or things that seem out of whack here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit: Attempt 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried setting the index filter as part of the sourcing but no dice&#xA;&lt;code&gt;StartSearchLocation=query:../..&amp;amp;Filter=+_templatename:Outcome Question|+_indexname:sitecore_master_index&lt;/code&gt; &#xA;and&#xA;&lt;code&gt;StartSearchLocation=query:../..&amp;amp;Filter=+_templatename:Outcome Question&amp;amp;Filter=+_indexname:sitecore_master_index&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But those both attempted to add the index filter within the custom index&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;?q=(((((_path:(0eee5f32251547558f721d80e6a7a376) AND _templatename:(&quot;Outcome Question&quot;)) AND _indexname:(sitecore_master_index)) AND _latestversion:(True)) AND _latestversion:(1)) AND _datasource:(sitecore))&amp;amp;start=0&amp;amp;rows=20&amp;amp;fl=*,score&amp;amp;fq=_indexname:(&lt;strong&gt;custom_things_programs_master_index&lt;/strong&gt;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="961" LastEditorUserId="961" LastEditDate="2018-01-26T16:18:35.933" LastActivityDate="2018-01-26T16:21:44.510" Title="Sitecore Multilist with search field searching wrong index" Tags="|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9715" PostTypeId="1" CreationDate="2018-01-26T14:58:23.310" Score="4" ViewCount="444" Body="&lt;p&gt;I have a WFFM form which collects some contact info. The info is correctly persisted in xDB and the contact can be found in the experience profile.&#xA;One of my save actions is to add the contact to a list, specifically created for this form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The form save actions all succeed, but somehow the contact does not appear in my list. (when exporting from form report the user is in there, so that part also works)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use Sitecore 8.2 update 5 and I have a separate processing server configured which I assume should take care of showing my contacts in the created lists, is that a correct assumption?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my processing server I do see following warning right after a form submit:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Ignoring unknown event: Sitecore.Form.Core.WffmActionEvent,&#xA;  Sitecore.Forms.Core, Version=8.2.0.0, Culture=neutral,&#xA;  PublicKeyToken=null, instance: Sitecore.Form.Core.WffmActionEvent,&#xA;  Sitecore.Forms.Core, Version=8.2.0.0, Culture=neutral,&#xA;  PublicKeyToken=null, sender: [CD-NODE1]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I followed the guide as available &lt;a href=&quot;https://dev.sitecore.net/~/media/39EE90F91B66474597B2B510BB924EBF.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I added the three assemblies to my processing instance and the appropriate config file +changes for CM/CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any good suggestions what I could dig into next?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&#xA;Reindexing forced the list to get into a weird state to tell it has 1 out of 0 indexed contacts, but still show nothing.&#xA;In addition I found out that form report export contains correct data. Contact list export contains 1 contact while there are more.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any explanation on how to list filling/linking works would also be helpful so I have a better idea in which area's to investigate.&lt;/p&gt;&#xA;" OwnerUserId="2540" LastEditorUserId="2540" LastEditDate="2018-01-29T09:14:45.370" LastActivityDate="2019-02-28T10:37:28.323" Title="My WFFM submits do not appear in lists" Tags="|xdb|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9716" PostTypeId="2" ParentId="9714" CreationDate="2018-01-26T15:03:19.640" Score="3" Body="&lt;p&gt;Try filtering explicitly by the index you want to be searched: &lt;code&gt;StartSearchLocation=query:../..&amp;amp;Filter=+_templatename:Outcome Question&amp;amp;Filter=+_indexname:sitecore_master_index&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to this blog post, &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/using-the-new-sitecore-7-field-types&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/using-the-new-sitecore-7-field-types&lt;/a&gt;, the &lt;code&gt;StartSearchLocation&lt;/code&gt; is used to determine the index.  If possible, you should try setting &lt;code&gt;StartSearchLocation&lt;/code&gt; to &lt;code&gt;{11111111-1111-1111-1111-111111111111}&lt;/code&gt; and try achieving your query via the &lt;code&gt;Filter&lt;/code&gt; parameters, instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears that the code uses the value of &lt;code&gt;StartSearchLocation&lt;/code&gt; to lookup the item in Sitecore.  It then calls &lt;code&gt;ContentSearchManager.GetIndex(item)&lt;/code&gt; to get the index.  That code runs the &lt;code&gt;contentSearch.getContextIndex&lt;/code&gt; pipeline where &lt;code&gt;&amp;lt;processor type=&quot;Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex, Sitecore.ContentSearch&quot;/&amp;gt;&lt;/code&gt; performs some logic to determine which index to use based on the item.  Adding a processor to this pipeline or overriding &lt;code&gt;FetchIndex&lt;/code&gt; may be the cleanest way to modify the results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;FetchIndex&lt;/code&gt; class does some logic to rank the indexes to determine the best match.  First it determines if the item is in the index.  If it is in multiple indexes, the indexes whose &lt;code&gt;RootItem&lt;/code&gt; is closest to the &lt;code&gt;StartSearchLocation&lt;/code&gt;'s item wins.&lt;/p&gt;&#xA;" OwnerUserId="469" LastEditorUserId="469" LastEditDate="2018-01-26T16:21:44.510" LastActivityDate="2018-01-26T16:21:44.510" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9717" PostTypeId="1" AcceptedAnswerId="9739" CreationDate="2018-01-26T16:21:42.857" Score="1" ViewCount="200" Body="&lt;p&gt;On a goal, you can assign a profile card like you would do on any other items on the content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I though this would assign the Pattern related to this Profile card when the goal is triggered but it does not seem to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried both on the published page and in the Explore mode by selecting the goal manually, but in both cases the pattern was not assigned to my user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that even possible, and if so what am I missing?&lt;/p&gt;&#xA;" OwnerUserId="264" LastEditorUserId="1671" LastEditDate="2018-01-26T16:42:35.393" LastActivityDate="2018-01-29T08:30:15.793" Title="Assigning a Pattern based on a Profile added to a Goal" Tags="|xdb|marketing-definitions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9718" PostTypeId="2" ParentId="9705" CreationDate="2018-01-26T17:27:26.177" Score="2" Body="&lt;p&gt;The method from the link is for Dynamic Links only. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your media url is a full media link. You can try the code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var mediaUrl = &quot;&quot;;&#xA;var mediaPath = mediaUrl.Replace(&quot;/-/media/&quot;, &quot;/sitecore/media library/&quot;);&#xA;if (mediaPath.IndexOf(&quot;.ashx&quot;) &amp;gt; -1)&#xA;{&#xA;    mediaPath = mediaPath.Substring(0, mediaPath.LastIndexOf(&quot;.ashx&quot;));&#xA;}&#xA;mediaPath = MainUtil.DecodeName(mediaPath);&#xA;var item = database.GetItem(mediaPath);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But &lt;code&gt;MediaRequestHandler&lt;/code&gt; does many other operations so I cannot guarantee that it works in every situation.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-01-26T17:27:26.177" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9719" PostTypeId="2" ParentId="9561" CreationDate="2018-01-26T17:34:03.477" Score="2" Body="&lt;p&gt;We solved this issue, there was nothing wrong with the Sitecore installation or the databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above behavior was being seen whilst connected to a web server via remote desktop and the site was being viewed in Internet Explorer which had custom security settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we viewed the site in Chrome remotely the site and login worked as expected.&lt;/p&gt;&#xA;" OwnerUserId="2949" LastActivityDate="2018-01-26T17:34:03.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9721" PostTypeId="1" AcceptedAnswerId="9755" CreationDate="2018-01-26T18:19:23.970" Score="2" ViewCount="243" Body="&lt;p&gt;I added a simple image to the &quot;main&quot; placeholder on the SXA, the image shows&#xA;But the requirement needs that this image bleeds on their borders, unfortunately, since the component It´s inside the grid, I cannot perform that&#xA;Is there any way to change that?&#xA;Thanks &#xA;Example: &lt;a href=&quot;https://startbootstrap.com/template-overviews/full-slider/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://startbootstrap.com/template-overviews/full-slider/&lt;/a&gt;&#xA;Here we can we the &quot;full slider&quot;, the background in red bleeds until reach the border, can we do the same thing with the SXA Carousel ? if not, how to achieve that in the best way?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="998" LastEditDate="2018-01-29T15:07:39.223" LastActivityDate="2018-01-29T17:20:00.213" Title="SXA LAYOUT plus image" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9722" PostTypeId="1" CreationDate="2018-01-26T18:24:48.050" Score="4" ViewCount="647" Body="&lt;p&gt;I have installed Sitecore 9 on Windows 8.1. While trying to create a new item from a template I am getting the error below&#xA;An unhandled Microsoft .net Framework exception occurred in w3wp.exe [12500]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once i click on insert from template the popup opens to select the template but once i click on the folder the microsoft error dialog box appears and everything get stuck. I am not able to get anything in the logs&#xA;Event log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x5215df96&#xA;Faulting module name: clr.dll, version: 4.7.2053.0, time stamp: 0x58fa6d2a&#xA;Exception code: 0xc00000fd&#xA;Fault offset: 0x000000000004c578&#xA;Faulting process id: 0x30d4&#xA;Faulting application start time: 0x01d396d22a080967&#xA;Faulting application path: c:\windows\system32\inetsrv\w3wp.exe&#xA;Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll&#xA;Report Id: a744213e-02c5-11e8-837f-801934b0cd1c&#xA;Faulting package full name: &#xA;Faulting package-relative application ID: &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And below is the log i am getting in debug diagnostic&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Exception    1    &amp;lt;none&amp;gt;    ; &#xA;System.OutOfMemoryException    1    &amp;lt;none&amp;gt;    ; &#xA;System.StackOverflowException    1    &amp;lt;none&amp;gt;    ; &#xA;System.ExecutionEngineException    1    &amp;lt;none&amp;gt;    ; &#xA;System.Threading.ThreadAbortException    2    &amp;lt;none&amp;gt;    ; &#xA;System.ArgumentException    9    The culture name &quot;-&quot; is invalid.    System.Globalization.CultureAndRegionInfoBuilder.ValidateCulturePiece(System.String, System.String, Int32, Boolean, Boolean) &#xA;   System.Globalization.CultureAndRegionInfoBuilder..ctor(System.String, System.Globalization.CultureAndRegionModifiers) &#xA;   Sitecore.Data.Managers.LanguageProvider.GetCultureBuilder(System.String, Boolean) &#xA;   Sitecore.Data.Managers.LanguageProvider.IsValidLanguageName(System.String) &#xA;&#xA;System.Data.SqlClient.SqlException    3    A rebuild process with the specified unique identifier does not exist.    System.Data.SqlClient.SqlCommand+&amp;lt;&amp;gt;c.&amp;lt;ExecuteDbDataReaderAsync&amp;gt;b__174_0(System.Threading.Tasks.Task`1&amp;lt;System.Data.SqlClient.SqlDataReader&amp;gt;) &#xA;   System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[[System.__Canon, mscorlib],[System.__Canon, mscorlib]].InnerInvoke() &#xA;   System.Threading.Tasks.Task.Execute() &#xA;   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() &#xA;   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) &#xA;   Sitecore.Xdb.Sql.Common.Extensions.DbCommandExtensions+&amp;lt;&amp;gt;c__DisplayClass0_0+&amp;lt;&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;b__0&amp;gt;d.MoveNext() &#xA;   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() &#xA;   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) &#xA;   Sitecore.Xdb.Sql.Common.Extensions.DbCommandExtensions+&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;d__0.MoveNext() &#xA;   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() &#xA;   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) &#xA;   Sitecore.Xdb.Sql.Common.Extensions.SqlCommandExtensions+&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;d__0.MoveNext() &#xA;   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() &#xA;   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) &#xA;   Sitecore.Analytics.Aggregation.History.SqlRebuildProcessStateDataProvider+&amp;lt;GetStateAsync&amp;gt;d__2.MoveNext()  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="3089" LastEditDate="2018-01-28T05:12:30.047" LastActivityDate="2018-01-28T20:40:59.260" Title="Unhandled .net error while creating an item using insert from template" Tags="|installation|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9723" PostTypeId="1" AcceptedAnswerId="9729" CreationDate="2018-01-26T18:26:53.533" Score="0" ViewCount="899" Body="&lt;p&gt;I'm attempting to index the content of pdf's with Solr 6.6.2 and Sitecore 8.2 Update 6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've got my solr indexes working correctly, and I'm able to search text from pages (content items) and I'm able to locate pdf's by extention in my queries, but I'm not able to crawl the pdf's and return the text from within the pdf's.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I admit I'm very new to solr/Sitecore, and this is probably easy to do, and it's just escaping me. I would like to try sitecore's built in filters before branching out to tika or pdfbox or something else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With that, I've looked at my ContentSearch.Solr.DefaultIndexConfiguration.config, file and it **appears* to be setup properly for crawling pdfs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ContentSearch.Solr.DefaultIndexConfiguration.config, excerpt&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;field fieldName=&quot;_content&quot;                       returnType=&quot;string&quot;     type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/mediaIndexing&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in my schema.xml file I have a line that reads:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;field name=&quot;_content&quot; type=&quot;text_general&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it would seem that is configured correctly for crawling pdf files. I read on the Sitecore doc site that you also need adobe pdf ifilter v9 (as v11 has issues) so I have installed v9 and set the path in my environment variables &amp;amp; rebooted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This all sounds fine and good, but now I'm stuck as to what to do next to be able to execute a query string search to return content from inside pdf's&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Ex:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://localhost:8983/solr/sitecore_web_index/select?hl=on&amp;amp;q=_content:[some pdf content here]&amp;amp;hl.fl=_content&amp;amp;fl=_content&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The questions I have are:&lt;/strong&gt; &#xA;&lt;Br /&gt;&#xA;1) How do I know the ifilter is doing anything / configured properly?&#xA;&lt;Br /&gt;&#xA;2) How do I activate it? (rebuild indexes? restart solr / Sitecore? Which i've done, multiple times)&#xA;&lt;br /&gt;&#xA;3) What else I need to do to be able to perform the above query?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;After 3hrs of playing around with this, I have done a much more involved set of steps to get this to work and still no joy. They are as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)  Downloaded adobe ifilter v9 / installed&#xA;&lt;br /&gt;&#xA;2)  Updated system environment variables path to include C:\Program Files\Adobe\Adobe PDF iFilter 9 for 64-bit platforms\bin\;&#xA;&lt;br /&gt;&#xA;3)  Copied pdffilter.dll from installed directory (C:\Program Files\Adobe\Adobe PDF iFilter 9 for 64-bit platforms\bin) to c:\windows\system32\inetsrv directory.&#xA;&lt;br /&gt;&#xA;4)  Edited web.config file to change impersonate to true - &#xA;&lt;br /&gt;&#xA;5)  Verified the following blocks exists in Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&#xA;&lt;br /&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;field fieldName=&quot;_content&quot;  returnType=&quot;string&quot; type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&quot;&amp;gt; &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/mediaIndexing&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br /&gt;&#xA;&lt;br /&gt;&#xA;&#xA;                application/pdf&#xA;                text/html&#xA;                text/plain&#xA;&#xA;&lt;br /&gt;&#xA;&lt;br /&gt;&#xA;6)  Added the following extension to the above file to the  section just below the previous lines&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;extension&amp;gt;pdf&amp;lt;/extension&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br /&gt;&#xA;7)  Deleted the &quot;Website / App_Data / MediaCache&quot; folder&#xA;&lt;br /&gt;&#xA;8)  Rebuilt sitecore index from rebuild index link in sitecore control panel&#xA;&lt;br /&gt;&#xA;9)  Cleared the sitecore cache - http: // {hostname} /sitecore/admin/cache.aspx&#xA;&lt;br /&gt;&#xA;10) Reset IIS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even after all of that, I still am not able to get Sitecore to crawl the content of pdf's. Did I miss a critical step somewhere?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks!&lt;/p&gt;&#xA;" OwnerUserId="3055" LastEditorUserId="3089" LastEditDate="2018-01-28T10:17:50.043" LastActivityDate="2018-01-30T18:33:38.120" Title="solr Sitecore full text indexing ifilter" Tags="|content-search|solr|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9725" PostTypeId="1" AcceptedAnswerId="9727" CreationDate="2018-01-26T20:22:24.213" Score="7" ViewCount="959" Body="&lt;p&gt;We are having an issue with the app pool resetting in IIS after a media cache folder deletion. This only happens when we have a lot of images (~20 GBs) cached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything I've read says that deleting it is completely safe, and we don't always experience the issue. We sometimes get a buffer overflow error along with the app pool reset, but not always.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have tried increasing the system filewatcher buffer size to the maximum and doing the cleanup more often, but neither seem to help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas why it might be doing this?&lt;/p&gt;&#xA;" OwnerUserId="1887" LastEditorUserId="2890" LastEditDate="2018-02-22T23:06:42.113" LastActivityDate="2018-02-22T23:06:42.113" Title="Deleting the media cache folder resets app pool" Tags="|iis|caching|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9726" PostTypeId="2" ParentId="9617" CreationDate="2018-01-26T20:45:24.690" Score="27" Body="&lt;p&gt;After many days of research, I have determined it all boiled down to missing a step. Mistakes happen.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Post Deployment Steps&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Once the deployment is complete, there are a few steps that you should take.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Mandatory Steps&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Building Indexes&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rebuild All Indexes from Control Panel&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Build Link Databases&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rebuild the Link Databases from Control Panel&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Deploy Marketing Definitions&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;From Control Panel, Deploy all Marketing Data&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Building the Link Databases was the step I missed.  By missing it, Definitions never really got deployed.  And they would NOT get deployed until Link Databases were rebuilt.  Took me 6 installs and some head scratching to figure this one out.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-26T20:45:24.690" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9727" PostTypeId="2" ParentId="9725" CreationDate="2018-01-26T21:17:37.587" Score="5" Body="&lt;p&gt;The problem you are seeing is a &quot;feature&quot; of IIS that will recycle the application pool if too many files change inside the webroot. This includes that media cache folder. I'm not sure of the actual number of changes that will trigger the restart. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol start=&quot;6&quot;&gt;&#xA;  &lt;li&gt;Making any modifications in the Web Application’s Root Directory. This means creating files/subdirectories on the fly can lead to application pool recycling.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;  &#xA;  &lt;p&gt;ref: &lt;a href=&quot;https://varunvns.wordpress.com/2011/07/04/application-pool-restarts/&quot; rel=&quot;noreferrer&quot;&gt;https://varunvns.wordpress.com/2011/07/04/application-pool-restarts/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ASP.NET 2.0 depends on File Change Notifications (FCN) to see if the application has been updated. Depending on the change the application pool will recycle. If you or your application is adding and removing directories to the application folder, then you will be restarting your application pool every time, so be careful with those temporary files.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;What is the purpose of clearing out the media cache folder? If you really need to do that, then maybe batching the delete into smaller chunks at scheduled times would prevent a restart of the application pool.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ref: &lt;a href=&quot;https://blogs.msdn.microsoft.com/johan/2007/05/16/common-reasons-why-your-application-pool-may-unexpectedly-recycle/&quot; rel=&quot;noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/johan/2007/05/16/common-reasons-why-your-application-pool-may-unexpectedly-recycle/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What is the purpose of clearing out the media cache folder? If you really need to do that, then maybe batching the delete into smaller chunks at scheduled times would prevent a restart of the application pool.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-01-26T21:17:37.587" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9729" PostTypeId="2" ParentId="9723" CreationDate="2018-01-26T23:52:33.790" Score="3" Body="&lt;p&gt;...Turns out, the thing I was missing, was that I only copied the pdffilter.dll in step 3, but actually I needed to copy all of the dll's from the installed folder to the inetsrv folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe this is what did the trick, and now it's all working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: As pointed out by Jrap, be sure to make sure that your application pool is running in 64bit (not 32bit) to be able to use the iFilter 64-bit dll's.&lt;/p&gt;&#xA;" OwnerUserId="3055" LastEditorUserId="3055" LastEditDate="2018-01-30T18:33:38.120" LastActivityDate="2018-01-30T18:33:38.120" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9730" PostTypeId="1" AcceptedAnswerId="9732" CreationDate="2018-01-28T03:36:05.133" Score="2" ViewCount="1064" Body="&lt;p&gt;I'm trying to add an html link to each row containing a reference to an arbitrary item. Essentially I want to load a custom item, but it not be the same item as the record. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tested with both &lt;code&gt;scForm.postRequest&lt;/code&gt; and &lt;code&gt;scForm.postEvent&lt;/code&gt; but could not get it working. What I have below does not appear to have any response when clicking the link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see below, the record is &quot;Sample Item 1&quot; but the link points to the &quot;Home&quot; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/asM1N.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/asM1N.png&quot; alt=&quot;Example Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the script I'm working with:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Sample Item 1&#xA;$root = Get-Item -Path &quot;master:&quot; -ID &quot;{C89D37FF-3919-4D69-9925-943B67BD22D6}&quot;&#xA;&#xA;$items = @($root)&#xA;# Home&#xA;$id = &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;&#xA;&#xA;$items |&#xA;    Show-ListView -Property Name,&#xA;        @{Label=&quot;ArbitraryItem&quot;; Expression={ &#xA;            &quot;&amp;lt;a href='#' onclick=`&quot;javascript: scForm.postRequest('','','','item:open(id=$id)')`&quot;&amp;gt;Show me Home&amp;lt;/a&amp;gt;&quot; &#xA;        }}&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is the proper syntax?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-01-28T10:55:07.133" Title="How do you add html link to PowerShell Report in each row?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9732" PostTypeId="2" ParentId="9730" CreationDate="2018-01-28T10:49:58.457" Score="3" Body="&lt;p&gt;This should do the job:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;scForm.showModalDialog('/sitecore/shell/Applications/Content-Editor?id=$id&amp;amp;amp;vs=1&amp;amp;amp;la=en&amp;amp;amp;fo=$id&amp;amp;amp;sc_content=master&amp;amp;amp;mo=popup', '_blank', 'getBestDialogSize:true;header:Content Editor');&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$items |&#xA;    Show-ListView -Property Name,&#xA;        @{Label=&quot;ArbitraryItem&quot;; Expression={ &#xA;            &quot;&amp;lt;a href='#' onclick=`&quot;javascript: scForm.showModalDialog('/sitecore/shell/Applications/Content-Editor?id=$id&amp;amp;amp;vs=1&amp;amp;amp;la=en&amp;amp;amp;fo=$id&amp;amp;amp;sc_content=master&amp;amp;amp;mo=popup', '_blank', 'getBestDialogSize:true;header:Content Editor');`&quot;&amp;gt;Show me Home&amp;lt;/a&amp;gt;&quot; &#xA;        }}&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;How did I get this?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To get this I opened chrome dev tools and observed network tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your expected behavior happens when you double-click on a ListView item. There will be 3 requests, one of them with &lt;code&gt;__PARAMETERS:OnDoubleClick&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inspect this request and see the response from the server. I obtained json with 3 commands. The one that is interesting for us is the second one (&lt;strong&gt;Eval&lt;/strong&gt; command). Inside you will see the js code I pasted at the beginning of my answer ;) (Additionally I replaced hardcoded ID with &lt;code&gt;$id&lt;/code&gt; variable)&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-01-28T10:55:07.133" LastActivityDate="2018-01-28T10:55:07.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9734" PostTypeId="1" CreationDate="2018-01-29T00:05:50.737" Score="3" ViewCount="1126" Body="&lt;p&gt;I'm trying to write a query to select media items which have no attachment. Is there some default value for empty images which can be used in a query? I'm trying to use &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Tennant/Tennant/Company/Brand/Site/Media//*[@@templateid=&quot;{EB3FB96C-D56B-4AC9-97F8-F07B24BB9BF7}&quot; and @Blob=&quot;&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but this is returning no items, even though I can clearly see Media Items with no images under the above path.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2018-01-29T08:39:22.720" LastActivityDate="2020-03-12T02:01:17.000" Title="Sitecore Query to Identify Media Items with no attachment" Tags="|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9735" PostTypeId="2" ParentId="9734" CreationDate="2018-01-29T00:58:59.570" Score="2" Body="&lt;p&gt;If a media item has no attachment, and the attachment has been detached correctly using the &lt;code&gt;Detach&lt;/code&gt; option on the Blob field then details about the media item will be wiped. You can check the the &lt;code&gt;Size&lt;/code&gt; field is empty:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/#media library#/Files//*[@size = '']&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above query will return all items from the &lt;code&gt;Files&lt;/code&gt; folder in the media library. Your original query appears to be targeting content items, not the media library (assume this was just a incorrect example). The &lt;code&gt;Template ID&lt;/code&gt; which you are targeting is also for &lt;code&gt;Versioned JPEG&lt;/code&gt;, so also make sure your media items are of the above template type (I mention this since the default in Sitecore is to upload unversioned media).&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-01-29T00:58:59.570" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9736" PostTypeId="1" CreationDate="2018-01-29T04:40:33.333" Score="3" ViewCount="57" Body="&lt;p&gt;What exactly is a service pack in Sitecore terminology? Is it same as Sitecore upgrade?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For any particular version of Sitecore, for ex, Siteocore 8.1 Update 1, where can I get the recommended service packs and security updates ?&lt;/p&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="3089" LastEditDate="2018-01-29T08:14:01.630" LastActivityDate="2018-01-29T08:14:01.630" Title="Service packs for Sitecore solutions" Tags="|upgrade|support|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9737" PostTypeId="2" ParentId="9736" CreationDate="2018-01-29T05:08:32.387" Score="1" Body="&lt;p&gt;Taking a look at the historical nomenclature of past releases, which you can find &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;, there has only been one release considered a Service Pack.  (8.0 Update-7, Which was called a Service Pack.)&lt;/p&gt;&#xA;&lt;p&gt;Sitecore considers Service Packs a feature upgrade that should be installed and upgraded to on all environments, including Production.&lt;/p&gt;&#xA;&lt;h2&gt;Service Packs&lt;/h2&gt;&#xA;&lt;p&gt;At it's root, a Service Pack (using 8.0U7 as an example) is the same thing as an Update with some added significance to feature availability or functionality.&lt;/p&gt;&#xA;&lt;h2&gt;Major Version Upgrades&lt;/h2&gt;&#xA;&lt;p&gt;Major version upgrades generally are not suggested unless new functionality is desired within a solution or when a major version of Sitecore is at end of life.&lt;/p&gt;&#xA;&lt;p&gt;That said, many agencies and professionals agree that staying on a major version for too long can have serious implications when deciding to finally upgrade. An example of this is the jump from v7 to v9 is possible, but a lengthy process.&lt;/p&gt;&#xA;&lt;p&gt;As Sitecore provides major upgrades (like 9 where infrastructure needs are heavily impacted), these upgrades should be methodically planned, and completely thoughtout. Seeking support from a Sitecore partner is suggested to ensure everything has been considered prior to upgrading.&lt;/p&gt;&#xA;&lt;h2&gt;Minor Version Upgrades&lt;/h2&gt;&#xA;&lt;p&gt;These upgrades generally release new features within a major version, or provide a full roll-up of hotfixes from a previous minor version.  Some minor version upgrades seem not so minor (like the jump from 8.1 to 8.2, or 7.2 to 7.5) and should be planned accordingly.&lt;/p&gt;&#xA;&lt;h2&gt;Updates&lt;/h2&gt;&#xA;&lt;p&gt;Updates within a minor version should always be considered as a job to be done during routine maintenance windows or when a problem presents itself that appears to be resolved by the update, or at the behest of Sitecore Support. Staying current on Updates is crucial.&lt;/p&gt;&#xA;&lt;h2&gt;Hotfixes&lt;/h2&gt;&#xA;&lt;p&gt;Hotfixes are rarely published, but are routinely provided by Sitecore Support when new bugs or major issues are identified by clients in a Production scenario.  Generally hotfixes are baked into the next release and only then published as release notes.&lt;/p&gt;&#xA;&lt;h2&gt;Security Bulletins and Security Updates&lt;/h2&gt;&#xA;&lt;p&gt;Security Bulletins are published on &lt;a href=&quot;https://kb.sitecore.net/SearchResults#fltr=t3&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's KnowkedgeBase site&lt;/a&gt; when security vulernabilities are made public to help with 0-Day security issues. There have only been a handful of these bulletins and generally the Sitecore Community at large does a fantastic job of communicating when these are announced.&lt;/p&gt;&#xA;&lt;p&gt;These bulletins are usually added as part of the next Update released.&lt;/p&gt;&#xA;&lt;h2&gt;Identifying what packs you should be using&lt;/h2&gt;&#xA;&lt;p&gt;If it isn't clear, your Sitecore implementation should always be running the most current Update within your minor version of Sitecore (e.g. for 8.2, you should be on Update-6).&lt;/p&gt;&#xA;&lt;p&gt;Outside of that, submitting a Sitecore Support ticket asking for applicable updates and hotfixes for your version of Sitecore, especially if you are having issues, is generally the best practice.&lt;/p&gt;&#xA;&lt;h2&gt;Searching Release Notes&lt;/h2&gt;&#xA;&lt;p&gt;Recently, Søren Kruse, released his &lt;a href=&quot;https://blog.krusen.dk/sitecore-release-notes-made-searchable/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Searchable Sitecore Release Notes&lt;/a&gt;, which can be found at &lt;a href=&quot;https://sitecorereleasenotes.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorereleasenotes.com&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-01-29T05:40:00.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9738" PostTypeId="1" CreationDate="2018-01-29T05:53:19.413" Score="6" ViewCount="630" Body="&lt;p&gt;We have existing Sitecore sites (around 10 sites) and now we want to convert those to helix architecture. Could you please suggest best way to move these projects to helix ? Do we need to do it start from scratch or any other way is there ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance !&lt;/p&gt;&#xA;" OwnerUserId="3158" LastEditorUserId="73" LastEditDate="2018-01-29T10:14:13.363" LastActivityDate="2018-02-14T05:17:02.987" Title="Migrating legacy solution with 10 sites, to Helix architecture" Tags="|helix|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9739" PostTypeId="2" ParentId="9717" CreationDate="2018-01-29T08:27:38.753" Score="2" Body="&lt;p&gt;You can do it programmatically. Below is the steps to be able to implement this easily.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Trigger a goal programmatically.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Since you have the goal id, you can get the goal item and then read the tracking field.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here is a snippet on how to read the Tracking Field&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TrackingField trackingField;&#xA;&#xA;ProfileUtil.GetProfiles(item, out trackingField);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Once you have the profile card, you can set the pattern card on the user.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Below is a code snippet on how to assign the pattern card to a user:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void BoostUserPattern(Session session, Item patternCard, Profile profile)&#xA;{&#xA;    if (patternCard != null &amp;amp;&amp;amp; !patternCard.Name.Equals(profile.PatternLabel))&#xA;    {&#xA;        Sitecore.Data.Fields.XmlField xmlData = patternCard.Fields[&quot;Pattern&quot;];&#xA;        XmlDocument xmlDoc = xmlData.Xml;&#xA;&#xA;        XmlNodeList parentNode = xmlDoc.GetElementsByTagName(&quot;key&quot;);&#xA;        var scores = new Dictionary&amp;lt;string, float&amp;gt;();&#xA;&#xA;        foreach (XmlNode childrenNode in parentNode)&#xA;        {&#xA;            if (childrenNode.Attributes != null)&#xA;            {&#xA;                scores.Add(childrenNode.Attributes[&quot;name&quot;].Value, 0);&#xA;            }&#xA;        }&#xA;&#xA;        // Set a score value here&#xA;        scores[patternCard.Name] = 5;&#xA;&#xA;        profile.Score(scores);&#xA;&#xA;        profile.PatternId = patternCard.ID.ToGuid();&#xA;        profile.PatternLabel = patternCard.Name;&#xA;&#xA;        UpdateBehaviorProfile(session);&#xA;    }&#xA;}&#xA;&#xA;private static void UpdateBehaviorProfile(Session session)&#xA;{&#xA;    var profileConverterBase = BehaviorProfileConverterBase.Create();&#xA;&#xA;    if (session?.Contact == null || Tracker.Current.Interaction == null)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    session.Contact.BehaviorProfiles.RemoveAll();&#xA;&#xA;    foreach (var profileName in session.Interaction.Profiles.GetProfileNames())&#xA;    {&#xA;        var profile = session.Interaction.Profiles[profileName];&#xA;&#xA;        if (!IgnoreInteractionProfile(profile))&#xA;        {&#xA;            var matchedBehaviorProfile = profileConverterBase.Convert(profile);&#xA;&#xA;            session.Contact.BehaviorProfiles.Add(matchedBehaviorProfile.Id, matchedBehaviorProfile);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More information can be found here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6801/programmatically-trigger-a-pattern-card-profile-card-in-a-selected-content-in-si/6802#6802&quot;&gt;Programmatically Trigger a Pattern Card/Profile Card in a selected content in Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-01-29T08:30:15.793" LastActivityDate="2018-01-29T08:30:15.793" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9740" PostTypeId="2" ParentId="9738" CreationDate="2018-01-29T09:14:25.157" Score="2" Body="&lt;p&gt;I would say that technically, starting from scratch is the best approach, but as Richard already mentioned in his comment, this gives you little to no business value.&lt;br&gt;&#xA;So if your organisation accepts that, then go for it.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to deliver business value and migrate to Helix, then try a more graceful approach: Whenever a feature needs work (e.g. it needs to be extended or you need to fix some bugs), refactor that single feature to a Helix structure.&lt;br&gt;&#xA;The first time this requires some additional time, because you will need boilerplate code for you solution, but it will cost you less time each time you do it and over time the solution will be migrated to Helix for a large part.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what happens to code that never requires any changes?&lt;br&gt;&#xA;Well, nothing. It continues to live in a non-Helix structure, which is fine!&lt;br&gt;&#xA;The Helix architecture is mainly there to help you with maintainability (while staying productive) so legacy code that is never changed doesn't need this architecture.  &lt;/p&gt;&#xA;" OwnerUserId="239" LastActivityDate="2018-01-29T09:14:25.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9741" PostTypeId="1" AcceptedAnswerId="9742" CreationDate="2018-01-29T09:29:18.457" Score="4" ViewCount="1563" Body="&lt;p&gt;While dragging a form field onto the Sitecore Forms canvas, it seems that, there is no way within the interface to add columns of fields eg. two fields side by side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the only way to do this with CSS or is there some functionality within Sitecore Forms (not WFFM) to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="3159" LastEditorUserId="3136" LastEditDate="2018-02-09T08:34:46.887" LastActivityDate="2018-02-09T08:34:46.887" Title="Is there a way to put Sitecore Forms fields side by side without CSS" Tags="|sitecore-forms|css|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9742" PostTypeId="2" ParentId="9741" CreationDate="2018-01-29T09:49:08.100" Score="3" Body="&lt;p&gt;No, there is no other way, you can do that through CSS only. You can make use of the bootstrap components and create a good UI. For the two columns, you need to make use of the section field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you have bootstrap CSS in the head section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)  In the form settings [for the form] – provide the CSS class: row&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)  Add Section – In the section CSS Class property enter - form-group col-sm-6 col-xs-12&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3)  Add Form Field in the Section that you added. For example: Single-line text and provide the CSS class: form-control&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4)  Similarly, for another field, repeat step 2 and 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've followed the steps defined here &lt;a href=&quot;http://smartsitecore.com/en/responsive-sitecore-9-form-bootstrap/&quot; rel=&quot;nofollow noreferrer&quot;&gt;responsive Sitecore 9 form bootstrap&lt;/a&gt; -- This will help you in setting up a form with fields side by side. Please refer the gif carefully, where it shows, how to add the proper class for fields and field sections.&lt;/p&gt;&#xA;" OwnerUserId="1847" LastEditorUserId="1847" LastEditDate="2018-01-29T12:47:52.367" LastActivityDate="2018-01-29T12:47:52.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9743" PostTypeId="1" CreationDate="2018-01-29T10:23:50.920" Score="4" ViewCount="846" Body="&lt;p&gt;I found that there are no OData API methods for importing new products into the catalog of Sitecore Commerce 9.&#xA;The only thing you can do is to use &lt;code&gt;/api/DoUxAction()&lt;/code&gt; to add new sellable item and then associate this sellable item with inventory. But the JSON object being sent is too big and doesn't seem to be appropriate to import a big set of products.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to import bunch of new products to the catalog via OData API in efficient manner?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3160" LastEditorUserId="73" LastEditDate="2018-01-29T13:24:02.427" LastActivityDate="2018-03-03T12:11:27.043" Title="Is there any way to import bunch of new products using OData API in Sitecore Commerce 9?" Tags="|sitecore-commerce|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9744" PostTypeId="1" CreationDate="2018-01-29T11:08:26.310" Score="1" ViewCount="180" Body="&lt;p&gt;I'm using the &lt;a href=&quot;https://github.com/jackocnr/intl-tel-input&quot; rel=&quot;nofollow noreferrer&quot;&gt;International Telephone Input&lt;/a&gt; jQuery plugin with a WFFM (Web Form for Marketers) to have a field like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Dwi73.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Dwi73.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To integrate the js plugin, a custom &lt;code&gt;SingleLineText&lt;/code&gt; was created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the issue here is that, this field will take only the local phone number without the country code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is, how to concatenate the country code with the local phone number and assign the value to the custom field when a user submits the form?&lt;/p&gt;&#xA;" OwnerUserId="3082" LastEditorUserId="2727" LastEditDate="2018-01-29T13:23:15.427" LastActivityDate="2018-05-03T21:33:48.827" Title="How to concatenate 2 fields in WFFM and assign them to one field before form submission?" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9745" PostTypeId="1" AcceptedAnswerId="9746" CreationDate="2018-01-29T11:59:53.187" Score="12" ViewCount="2928" Body="&lt;p&gt;I've disabled EXM (in Sitecore 9.0.1):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EXM.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've also removed the &lt;code&gt;exm.master&lt;/code&gt;, &lt;code&gt;EXM.CryptographicKey&lt;/code&gt; and &lt;code&gt;EXM.AuthenticationKey&lt;/code&gt; connection strings. I'm still getting these errors in my &lt;code&gt;Exm.log&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;41060 11:47:16 ERROR No connection string configuration was found by the name 'exm.master'.&#xA;41060 11:47:16 ERROR No connection string configuration was found by the name 'exm.master'.&#xA;41060 11:47:16 ERROR No connection string configuration was found by the name 'EXM.CryptographicKey'.&#xA;41060 11:47:16 ERROR Value must represent a valid hexadecimal value.&#xA;Parameter name: cryptographicKey&#xA;41060 11:47:16 ERROR No connection string configuration was found by the name 'EXM.AuthenticationKey'.&#xA;41060 11:47:16 ERROR Value must represent a valid hexadecimal value.&#xA;Parameter name: authenticationKey&#xA;41060 11:47:16 ERROR A 256 bit encryption key was expected.&#xA;41060 11:47:16 ERROR A 256 bit authentication key was expected.&#xA;41060 11:47:16 INFO  Distributed session {042BA333-EF3D-43FF-A473-3E45715738BE} is beginning.&#xA;ManagedPoolThread #2 11:49:15 ERROR Cannot update statistics as data provider is not initialized.&#xA;ManagedPoolThread #1 11:50:16 ERROR Cannot update statistics as data provider is not initialized.&#xA;ManagedPoolThread #3 11:51:16 ERROR Cannot update statistics as data provider is not initialized.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Are there further configuration steps I need to take to completely shut down EXM and not generate these log errors?&lt;/p&gt;&#xA;" OwnerUserId="1106" LastActivityDate="2018-11-16T07:19:07.247" Title="Disable EXM and remove connection strings" Tags="|configuration|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9746" PostTypeId="2" ParentId="9745" CreationDate="2018-01-29T12:04:01.723" Score="16" Body="&lt;p&gt;Instead of changing the &lt;code&gt;EXM.Enabled&lt;/code&gt; setting, try setting the following to &lt;code&gt;no&lt;/code&gt; in your &lt;code&gt;Web.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;exmEnabled:define&quot; value=&quot;no&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-01-29T12:04:01.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9747" PostTypeId="1" CreationDate="2018-01-29T12:07:03.350" Score="0" ViewCount="156" Body="&lt;p&gt;In our application, we are using the session variable just to get the information between pages.Example cart quantity&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have load balancer setup for 2 CD serves with stick session&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are not using any XDB concepts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this scenario, can we use the private session along with InProc mode. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any better way to achieve the mentioned requiremnt.&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2018-01-29T14:59:40.043" Title="Can Private session along with Inproc be used if the XDB and analytics are not in use" Tags="|session-state|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9748" PostTypeId="1" CreationDate="2018-01-29T12:20:19.873" Score="2" ViewCount="82" Body="&lt;p&gt;What do I need to do in order to enable the filters toolbar button in Razl?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zfgs5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zfgs5.png&quot; alt=&quot;Razl Toolbar&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-01-29T14:15:53.897" Title="How to enable the Filter toolbar in Hedgehog Razl" Tags="|razl|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9749" PostTypeId="2" ParentId="9747" CreationDate="2018-01-29T13:38:25.727" Score="2" Body="&lt;p&gt;Say someone starts a session using their desktop PC and the load balancer sticks this session to CD server #1.&lt;br&gt;&#xA;Now this same person also starts a session with their mobile phone, but this the time load balancer sticks the session to CD server #2.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This causes potential issues!&lt;br&gt;&#xA;If data in the Contact object is changed or engagement plan states are changed in both sessions, then one session will override the other.&lt;br&gt;&#xA;This is at least true in pre 9.0 xDB scenarios, it's may be different when using  xConnect (post 9.0)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only if this scenario is very unlikely in your case, you could choose to go with InProc, but it's better in general to not use sticky sessions on your load balancer and just use the OutProc session provider.&lt;br&gt;&#xA;Seeing as you are using only 2 CD servers, it's probably safe to just use the same SQL Server for your session state database as you use for your Sitecore content databases, so there is really no reason to not use OutProc sessions.&lt;/p&gt;&#xA;" OwnerUserId="239" LastActivityDate="2018-01-29T13:38:25.727" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9750" PostTypeId="2" ParentId="9748" CreationDate="2018-01-29T14:15:53.897" Score="1" Body="&lt;p&gt;To filter a particular field, you need to go to a Field Information Pane (left or right, it doesn't matter) and right-click on a field then select &lt;kbd&gt;Ignore Field &#xA; 'FieldName'&lt;/kbd&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i11Y6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i11Y6.png&quot; alt=&quot;Hhogdev Razl Field Filtering&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-01-29T14:15:53.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9751" PostTypeId="2" ParentId="9747" CreationDate="2018-01-29T14:59:40.043" Score="1" Body="&lt;p&gt;I have inherited a project years ago with a similar setup (sticky load balancer, InProc sessions, no xdb - that didn't even exist in that version). This project had evolved in such a way that switching to OutProc sessions was no longer an option without a rather large refactoring. And the site has been running fine for all those years. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, yes - you can.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But to be honest, if I (could) rewrite this project the sessions will be OutProc. It gives you more flexibility - e.g. no need for sticky sessions - now or in the future.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-01-29T14:59:40.043" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9753" PostTypeId="1" CreationDate="2018-01-29T16:10:09.313" Score="2" ViewCount="345" Body="&lt;p&gt;In my project on Sitecore 8.2, I am using Contact Facet to identify users. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem Definition:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;All users are not being tracked, seems some of them are missing in xDB. &lt;/li&gt;&#xA;&lt;li&gt;Seems xDB and Experience Profiles are not in sync. Some users entries were in xDB but still not reflected in experience profile.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;What are the possible reasons?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if more information is needed on this.&lt;/p&gt;&#xA;" OwnerUserId="2694" LastEditorUserId="1671" LastEditDate="2018-01-29T16:49:46.827" LastActivityDate="2018-01-29T21:58:10.127" Title="All Users are not being tracked in Sitecore Analytics" Tags="|xdb|configuration|experience-analytics|user-profile|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9754" PostTypeId="1" CreationDate="2018-01-29T16:41:31.660" Score="5" ViewCount="626" Body="&lt;p&gt;On occasions, Unicorn does not pick up changes to media items in Sitecore correctly. e.g. after installing a package of UAT content into my local environment the other day, I noticed that some of the serialized media items had been created on disk but with the blob field left empty. Using &lt;strong&gt;Developer &gt; Serialize tree&lt;/strong&gt; seemed to trigger the blob data to be saved to the items correctly. However, I am finding that during deployment (synchronization), the media blobs are often missed so we have media items which are &quot;empty&quot; (with no attachment).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;I'm aware that this question might be a bit vague and some details might be dependent on our particular CI/deployment setup, but hoping someone has experienced a similar issue before and has an idea of the solution.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="2890" LastEditDate="2018-02-22T23:06:51.970" LastActivityDate="2018-07-06T11:14:19.633" Title="Unicorn does not always install media items correctly" Tags="|media-library|unicorn|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9755" PostTypeId="2" ParentId="9721" CreationDate="2018-01-29T17:20:00.213" Score="1" Body="&lt;p&gt;I found a way of performing that &#xA;based on this post &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2774/how-can-i-make-a-component-take-up-the-full-width-of-the-screen?rq=1&quot;&gt;How can I make a component take up the full width of the screen?&lt;/a&gt;&#xA;I changed to &quot;flex&quot; and now the image is bleeding.&#xA;It changed a little bit, but this helped me to achieve the goal&#xA;&lt;br&gt;The path changed to &#xA;/sitecore/media library/Themes/Tenant/Site/Site Theme &lt;br&gt;&#xA;And there is the updated image&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tjCWh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tjCWh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="998" LastActivityDate="2018-01-29T17:20:00.213" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9756" PostTypeId="1" CreationDate="2018-01-29T18:07:44.887" Score="4" ViewCount="829" Body="&lt;p&gt;We're facing an issue on the Unlock all functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS: The unlock only works after Saving the item (Once we have activated the unlock after saving property).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we click on the unlock button, the item disappears but returns after refresh, so, it doesn't unlock at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When clicking on &quot;unlock all button&quot;, it shows the message error below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;An error occured&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.Reflection.TargetInvocationException: Exception has been thrown&#xA;  by the target of an invocation. ---&gt; System.InvalidOperationException:&#xA;  Stack is null or empty. at Sitecore.Common.Switcher2.Exit() at&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore.Common.Switcher2.Dispose() at&#xA;  Sitecore.Data.Locking.ItemLocking.Unlock() at&#xA;  Sitecore.Shell.Applications.WebEdit.Commands.UnlockAll.UnlockAllItems(Object[]&#xA;  parameters) --- End of inner exception stack trace --- at&#xA;  System.RuntimeMethodHandle.InvokeMethod(Object target, Object[]&#xA;  arguments, Signature sig, Boolean constructor) at&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments) at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;  Object[] parameters, Object obj) at&#xA;  Sitecore.Jobs.JobRunner.RunMethod(JobArgs args) at (Object , Object[]&#xA;  ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) at&#xA;  Sitecore.Jobs.Job.ThreadEntry(Object state)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sitecore version: Sitecore.NET 8.2 (rev. 161115)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lGBiE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lGBiE.png&quot; alt=&quot;Error 1 - Unlock page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GS4YX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GS4YX.png&quot; alt=&quot;Error 2 - First Error Page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b07Ll.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b07Ll.png&quot; alt=&quot;Error 3 - Detail message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3164" LastActivityDate="2018-09-21T16:29:00.100" Title="Sitecore 8.2 unlock item / unlock all items error" Tags="|sitecore-client|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9757" PostTypeId="1" CreationDate="2018-01-29T18:36:59.023" Score="0" ViewCount="587" Body="&lt;p&gt;Is there a way to use a rich text field as meta tags?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm picking up where someone left off and they are trying to use a Html.Partial to load a cshtml file that pulls from a rich text field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the line that calls the cshtml on the page&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Partial(&quot;~/Views/BasePageModule/MetaData/MetaData.cshtml&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is what the MetaData.cshtml has&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RenderingModel&#xA;@{  WriteLiteral(Model.Item.Fields[&quot;MetaDataContent&quot;].ToString()); }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3165" LastEditorUserId="1000" LastEditDate="2018-01-29T20:14:40.860" LastActivityDate="2018-01-29T20:14:40.860" Title="Is there a way to use a rich text field as meta tags?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9758" PostTypeId="1" AcceptedAnswerId="9762" CreationDate="2018-01-29T19:07:07.043" Score="9" ViewCount="1164" Body="&lt;p&gt;I've observed that there are few base themes referenced when I create a new theme. For this example, I'll use the &lt;strong&gt;Basic2&lt;/strong&gt; theme.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what I see selected on the theme:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6klEB.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6klEB.png&quot; alt=&quot;Base Themes&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further exploration leads me to this list:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eBYtj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eBYtj.png&quot; alt=&quot;Base Themes&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Which feature provided by SXA is associated with each Base Theme? What breaks if something is removed?&lt;/li&gt;&#xA;&lt;li&gt;Is there a table which outlines where each script is used by SXA? &lt;code&gt;ie-origin-fix&lt;/code&gt; is a script included in the &lt;strong&gt;Core Libraries&lt;/strong&gt; theme but I have no idea if it can be removed.&lt;/li&gt;&#xA;&lt;li&gt;What is the recommended approach for teams to follow when a version of a library, such as jQuery, needs to be updated but SXA comes bundled with an older version?&lt;/li&gt;&#xA;&lt;li&gt;Are there any scripts that are only needed in the Experience Editor but not on the live site and vice versa?&lt;/li&gt;&#xA;&lt;li&gt;How can scripts for features not used on the page be excluded from loading altogether? For example, I'm not using the &lt;em&gt;Carousel&lt;/em&gt; component so I want the associated scripts to be excluded.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="3136" LastEditDate="2018-02-09T04:44:45.740" LastActivityDate="2018-02-09T04:44:45.740" Title="How do I reduce the unnecessary scripts from my custom theme?" Tags="|sxa|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9759" PostTypeId="2" ParentId="9757" CreationDate="2018-01-29T19:16:55.653" Score="3" Body="&lt;p&gt;I would be surprised if the &lt;code&gt;MetaDataContent&lt;/code&gt; field in Sitecore is a &lt;code&gt;Rich Text&lt;/code&gt; field, I would expect that it should more likely be a &lt;code&gt;Multiline Text&lt;/code&gt;, perhaps with the value of the field containing the exact meta text (including tags) that should be output:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;meta name=&quot;description&quot; content=&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&quot;&amp;gt;&#xA;&amp;lt;meta name=&quot;keywords&quot; content=&quot;Lorem, ipsum, dolor, sit, amet&quot;&amp;gt;&#xA;... &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The rich text field will not show the meta tags in Design view, the user would have to switch to the HTML view. You also don't want the overhead and potential misuse of the formatting options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, generally speaking you should make this more user-friendly for your editors and provide them with multiple (single-line text) fields to allow them to enter the metadata values, rather than also having to explicitly type out the meta tag elements as well, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;meta name=&quot;description&quot; content=&quot;@Model.Item.Fields[&quot;MetaDataDescription&quot;].Value&quot;&amp;gt;&#xA;&amp;lt;meta name=&quot;keywords&quot; content=&quot;@Model.Item.Fields[&quot;MetaDataKeywords&quot;].Value&quot;&amp;gt;&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-01-29T19:16:55.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9760" PostTypeId="2" ParentId="9753" CreationDate="2018-01-29T21:56:42.940" Score="1" Body="&lt;p&gt;This requires you to debug through the whole Sitecore--&gt; xDB --&gt; Aggregation pipeline--&gt; reporting databases --&gt; Sitecore_Analytics_Index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please ensure the below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;CD is recording the interactions correctly in xDB- MongoDB.&lt;/li&gt;&#xA;&lt;li&gt;CM / Processing server is picking up the interactions to be processed/aggregated&lt;/li&gt;&#xA;&lt;li&gt;Your Aggregation processors are not throwing any exceptions&lt;/li&gt;&#xA;&lt;li&gt;Also check the the tables in reporting databases, they have correct data&lt;/li&gt;&#xA;&lt;li&gt;Your experience profile report depends on sitecore_analytics_index and the reporting database.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Let us know if you can check on the above.&lt;/p&gt;&#xA;" OwnerUserId="860" LastEditorUserId="1000" LastEditDate="2018-01-29T21:58:10.127" LastActivityDate="2018-01-29T21:58:10.127" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9761" PostTypeId="2" ParentId="9738" CreationDate="2018-01-29T22:40:00.887" Score="8" Body="&lt;p&gt;Others have recommended that you hold off, which is good advice. However, this is how I would start to go about doing it anyway if I had to.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The Plan&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;First off, you need a plan. Just diving right in would be dangerous. Instead, I would first perform an audit of the codebase. If you haven't already, read through the &lt;a href=&quot;http://helix.sitecore.net&quot; rel=&quot;noreferrer&quot;&gt;Helix guidelines&lt;/a&gt; pretty carefully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need to answer these questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What are some similar themes to classes, so that I might group them together as a module?&lt;/li&gt;&#xA;&lt;li&gt;Are these modules likely to change frequently?&lt;/li&gt;&#xA;&lt;li&gt;Does the module have presentation (HTML/CSS)?&lt;/li&gt;&#xA;&lt;li&gt;Does the module depend on other modules?&lt;/li&gt;&#xA;&lt;li&gt;Where does this content currently live in Sitecore?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Infrastructure&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You should check out &lt;a href=&quot;https://github.com/sitecore/habitat&quot; rel=&quot;noreferrer&quot;&gt;Habitat repo&lt;/a&gt; and get a local instance setup. Habitat has a lot of good practices in it for setting up the infrastructure. At this day and age, it's recommended that you have some sort of repeatable build and setup scripts. Habitat has a bunch of gulp tasks that can be used as a starting point for building something that's right for you.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Creating the Modules&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;After identifying the modules in planning, I would then start creating them one at a time. I would &lt;strong&gt;&lt;em&gt;not&lt;/em&gt;&lt;/strong&gt; rename the existing projects. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For an example, let's say I identified a Calendar Feature in planning. I would create the &lt;code&gt;Feature.Calendar&lt;/code&gt; project and refactor all the related code into that project. Before moving onto the next module, I would build the solution and test it to make sure it still works. Having unit tests could speed this up considerably.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Things to Consider&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore items could contain fully qualified namespaces (ex: Controller renderings). Be sure to update these.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;if you serialize all your items, you may be able to speed this up by doing a text search in your serialization folder&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Foundation modules can reference other Foundation modules, but Feature modules cannot reference other Feature modules (same deal for Project modules)&lt;/li&gt;&#xA;&lt;li&gt;Think about how you're going to deploy this to environments&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Helpful Sources&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://pratiksatikunvar.wordpress.com/2017/07/02/sitecore-helix-converting-existing-sitecore-solution-into-helix-standards/&quot; rel=&quot;noreferrer&quot;&gt;https://pratiksatikunvar.wordpress.com/2017/07/02/sitecore-helix-converting-existing-sitecore-solution-into-helix-standards/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6688/how-to-structure-product-data-in-a-helix-based-solution/6693&quot;&gt;How to structure product data in a Helix based solution&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.linkedin.com/pulse/what-powerful-fundamentals-helix-principles-sitecore-based-chopra&quot; rel=&quot;noreferrer&quot;&gt;https://www.linkedin.com/pulse/what-powerful-fundamentals-helix-principles-sitecore-based-chopra&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.akshaysura.com/2016/12/27/finally-with-one-great-big-gulp-i-conquered-sitecore-helix/&quot; rel=&quot;noreferrer&quot;&gt;https://www.akshaysura.com/2016/12/27/finally-with-one-great-big-gulp-i-conquered-sitecore-helix/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.mtelligent.com/home/2017/10/13/best-practices-for-sitecore-helix-and-general-development&quot; rel=&quot;noreferrer&quot;&gt;http://www.mtelligent.com/home/2017/10/13/best-practices-for-sitecore-helix-and-general-development&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h3&gt;Disclaimer&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is in no way a step-by-step in how you should do this. My intent is to guide you in the correct direction and get you thinking about what's involved, should you choose to go this route. &lt;/p&gt;&#xA;" OwnerUserId="4" LastActivityDate="2018-01-29T22:40:00.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9762" PostTypeId="2" ParentId="9758" CreationDate="2018-01-29T22:47:35.880" Score="3" Body="&lt;h2&gt;Which feature provided by SXA is associated with each Base Theme?&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Core Libraries - Everything will break ;). All libraries used by modules are stored here so this is a pretty important base theme. This is 1st on the &lt;em&gt;DO NOT REMOVE&lt;/em&gt; list&lt;/li&gt;&#xA;&lt;li&gt;Main Theme - &lt;code&gt;observer.js&lt;/code&gt; is the most important script in this theme as it plays role in renderings registration and initialization process. &lt;/li&gt;&#xA;&lt;li&gt;Google Maps JS Connector - one of the connectors (Google Maps JS Connector, Bing Maps JS Connector) required by Maps theme. Not needed if you are not going to use maps.&lt;/li&gt;&#xA;&lt;li&gt;Maps - maps rendering will not work, it needs Google or Bing maps connector, that's why connector is added above this&lt;/li&gt;&#xA;&lt;li&gt;Search Theme - search renderings will not work, you could skip if your page does not use search renderings&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Media library&lt;/strong&gt; - I think this is a bug, you should not have media library added as a base theme ;). AFAIK there should be an upgrade script which cleans this.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Is there a table which outlines where each script is used by SXA?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;No, unfortunately not. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This particular script (&lt;code&gt;ie-origin-fix&lt;/code&gt;) has a comment in the first line. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What is the recommended approach for teams to follow when a version of a library&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It is hard to predict what will happen if you update library which is currently in use. You can take a risk and try to update but I would not do it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;This is not official recommendation, just my idea:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would try to register it as a separate object without touching default and use the new version. &#xA;With this approach, you will get new features and you are sure that old features will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At least you can be calm if something will not work in SXA because you know that it is not your fault.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Are there any scripts that are only needed in the Experience Editor but not on the live site and vice versa?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There is a concept of &lt;code&gt;Editing Theme&lt;/code&gt;. Those themes are injected only in EE but I think that there are still scripts which are published on both modes while should be only in EE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't recall any scripts that are present on the live site but not in EE, normally you want to use all features in EE as well as on live site.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How can scripts for features not used on the page be excluded from loading altogether?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Right now it is impossible. With &lt;code&gt;Assets Optimizer&lt;/code&gt; all scripts are bundled together, thus you request only one file.&#xA;Even though you disable AO all scripts will be served as they are stored in a Theme not in each feature. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is an area for improvement as assets could be defined in the module by itself and register itself as a theme part.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to do it by yourself you could try to register scripts on each rendering view.&#xA;Each module could have its own theme which would be served only if rendering is present on the page (but you need to be aware of limited number of individual CSS in IE 9, IE 10 has solved this by increasing limit)&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-01-29T23:03:06.847" LastActivityDate="2018-01-29T23:03:06.847" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9763" PostTypeId="1" CreationDate="2018-01-30T03:22:23.477" Score="4" ViewCount="1735" Body="&lt;p&gt;In the RTE in Sitecore 8.2 Update 6, I can see one of the definitions for a drop down in the Core database is for &quot;FormatBlock&quot; which displays a set of css classes in a drop down box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Luw6E.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Luw6E.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone point me to where the css class styles displayed in this drop down are defined so I can add my own classes?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="2890" LastEditDate="2018-02-14T19:04:54.190" LastActivityDate="2018-02-14T19:04:54.190" Title="Sitecore 8.2 Rich Text Editor drop down items" Tags="|sitecore-client|richtext-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9764" PostTypeId="2" ParentId="9763" CreationDate="2018-01-30T05:11:08.753" Score="2" Body="&lt;p&gt;Sitecore's default editor configuration class loads the style sheet specified by the WebStylesheet setting. This is /default.css by default. It also loads /sitecore/shell/Controls/Rich Text Editor/Editor.css. You can modify one of these or change the WebStylesheet setting to point at a custom style sheet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option which enables more advanced customization is to create a class that inherits from &lt;code&gt;Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration&lt;/code&gt; and override the &lt;code&gt;SetupStylesheets&lt;/code&gt; method. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyEditorConfiguration : Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration&#xA;{&#xA;    public MyEditorConfiguration(Item profile) : base(profile) {}&#xA;&#xA;    protected override void SetupStylesheets()&#xA;    {&#xA;        Item stylesheetsFolder = Profile.Children[&quot;Stylesheets&quot;];&#xA;        if (stylesheetsFolder != null)&#xA;        {&#xA;            foreach (Item child in stylesheetsFolder.Children)&#xA;            {&#xA;                Editor.CssFiles.Add(child[&quot;Stylesheet Path&quot;]);&#xA;            }&#xA;        }&#xA;&#xA;        Item classesFolder = Profile.Children[&quot;Classes&quot;];&#xA;        if (classesFolder != null)&#xA;        {&#xA;            foreach (Item child in classesFolder.Children)&#xA;            {&#xA;                Editor.CssClasses.Add(child[&quot;Label&quot;], child[&quot;Selector&quot;]);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code was adapted from a &lt;a href=&quot;http://www.awareweb.com/awareblog/profilespecificstylesheets&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post I wrote years ago&lt;/a&gt; with the premise that I wanted to add items under the profile definition to control what style sheets were loaded and what classes appeared in the dropdown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once this code is deployed, you will need to set the &lt;code&gt;Type&lt;/code&gt; field on the &lt;code&gt;Configuration Type&lt;/code&gt; item under the editor profile to the type signature of your class.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2018-01-30T21:14:56.273" LastActivityDate="2018-01-30T21:14:56.273" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9767" PostTypeId="1" CreationDate="2018-01-30T08:38:23.363" Score="3" ViewCount="156" Body="&lt;p&gt;Is it possible to personalize the Submit Button text in WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our requirement is to display the different Button text based on the User type logged-in. We have a rule to identify the person type&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or do we need to duplicate the form just for changing the button text.&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2018-07-30T06:01:19.880" Title="Button Text personalization in WFFM" Tags="|wffm|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9768" PostTypeId="1" CreationDate="2018-01-30T09:55:51.987" Score="2" ViewCount="322" Body="&lt;p&gt;We have a specific component that includes a checkbox. There are multiple items of this component. The checkbox on these items becomes sporadically unchecked in the web DB, without the items having been edited in or published from the master DB. &#xA;Scopewise, it can affect any item of the same type, but when the issue occurs it doesn't necessarily affect all items of the type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The checkbox field is shared, there is no standard value associated with it. There is no default value specified on the template field item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The template for the component exists in English (en) only, the components in multiple langauges.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue seems to occur on recycles, independently of there being a deployment.&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="1671" LastEditDate="2018-02-07T00:31:18.200" LastActivityDate="2018-02-07T00:31:18.200" Title="What possible reasons could there be for a checkbox on an item becoming unchecked in the web DB?" Tags="|multilingual|templates|fieldtype|" AnswerCount="0" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="9769" PostTypeId="1" AcceptedAnswerId="9770" CreationDate="2018-01-30T13:14:47.017" Score="3" ViewCount="402" Body="&lt;p&gt;I have an azure index &#xA;and I would like to add to index all items that based on some parent template&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;                  &amp;lt;ISearch&amp;gt;{30AFB887-AE6E-450A-BE4F-C59D26A875F7}&amp;lt;/ISearch&amp;gt;&#xA;                &amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but during rebuild no items go to index,&#xA;If add specific template that based on parent (ISearch) to list, it processing successufly and I can see it at index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to activate validation by root template?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="73" LastEditDate="2018-01-30T15:48:26.927" LastActivityDate="2018-01-30T15:48:26.927" Title="Sitecore Azure Index AddIncludedTemplate not adding base templates items to index" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9770" PostTypeId="2" ParentId="9769" CreationDate="2018-01-30T14:23:31.170" Score="3" Body="&lt;p&gt;I don't think you can, unless something was changed recently that I missed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally you would need to extend the basic crawler to be able to do this. So the idea being, you would create something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddBaseTemplate&quot;&amp;gt;&#xA;    &amp;lt;BaseTemplate&amp;gt;{30AFB887-AE6E-450A-BE4F-C59D26A875F7}&amp;lt;/BaseTemplate&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then extend the appropriate document crawler to include the logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A summary of how that could work can be found here: &lt;a href=&quot;https://ggullentops.blogspot.ch/2016/02/custom-indexes-in-sitecore-habitat.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Custom indexes in a Sitecore Helix architecture&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While the post addresses the problem from a Helix angle, the base problem is the same as yours.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-01-30T14:23:31.170" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9771" PostTypeId="1" CreationDate="2018-01-30T14:46:56.897" Score="1" ViewCount="571" Body="&lt;p&gt;I have seen documentation mentioning &lt;code&gt;Sitecore.ContentSearch.SolrNetExtension&lt;/code&gt; for Sitecore 9 indicating that its able to group results by a field (ie: &lt;code&gt;_group&lt;/code&gt; field).  What I am unable to find is a nice and easy way to do this in Sitecore 8.  What I had hoped to achieve was to simply append &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;fq=group=true&amp;amp;group.field=_group&amp;amp;group.main=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to the query as a &lt;code&gt;FilterQuery&lt;/code&gt;. What I have tried thus far has been creating a custom &lt;code&gt;QueryNode&lt;/code&gt; called &lt;code&gt;GroupByField(keySelector)&lt;/code&gt; to inject a custom &lt;code&gt;SolrQuery&lt;/code&gt; into the &lt;code&gt;SolrQueryMapperState.FilterQuery&lt;/code&gt; with no luck.  I have also tried to use the &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.Filter(x =&amp;gt; x[&quot;group&quot;] == &quot;true&quot; &amp;amp;&amp;amp; x[&quot;group.field&quot;] == &#xA;    BuildInFields.Group &amp;amp;&amp;amp; x[&quot;group.main&quot;] == &quot;true&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But that yielded a &lt;code&gt;no field group found&lt;/code&gt; which does make sense since it's not a field in the index itself.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;: Ultimately what I need is, when a User searches a keyword, the search is conducted across all languages and items, but only the items related to the results in the current languages are returned (if I put in a word that is found on the &lt;code&gt;en-gb&lt;/code&gt; version of the item, I want the .  I assumed this was what the &lt;code&gt;group&lt;/code&gt; functionality in Solr was built for.  At this point I am considering doing a self join, joining the non-grouped results and matching on the &lt;code&gt;group&lt;/code&gt; of a language specific but am not sure that's going to be the solution either.&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="73" LastEditDate="2018-04-09T08:38:28.467" LastActivityDate="2018-04-09T08:38:28.467" Title="Grouped Result in Solr" Tags="|content-search|solr|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9772" PostTypeId="1" AcceptedAnswerId="9773" CreationDate="2018-01-30T16:24:10.740" Score="4" ViewCount="688" Body="&lt;p&gt;I noticed slight differences in the Solr version for Sitecore 9 update 1. &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; 6.6.1 is mentioned whereas the installation guide has 6.6.2. Does the initial 9 release need 6.6.1 and update 1 requires 6.6.2?&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-01-30T16:28:09.810" Title="Sitecore 9.0 update 1 and Solr version" Tags="|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9773" PostTypeId="2" ParentId="9772" CreationDate="2018-01-30T16:28:09.810" Score="7" Body="&lt;p&gt;Do not use SOLR 6.6.1 due to a Solr Bug that has been identified.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use SOLR 6.6.2, which is the recommended version.  The KB article has not been updated to reflect this except in footnote:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Solr server can try to initialize a Solr core twice, resulting in the&#xA;  following error:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; org.apache.solr.common.SolrException: Unable to create core&#xA;&amp;gt; [core_name] ... Caused by:&#xA;&amp;gt; org.apache.lucene.store.LockObtainFailedException: Lock held by this&#xA;&amp;gt; virtual machine:&#xA;&amp;gt; C:\solr-6.6.1\server\solr\core_name\data\index\write.lock The error is&#xA;&amp;gt; caused by a Solr bug: SOLR-11297&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The issue does not affect Sitecore functionality and can be ignored.&#xA;  To resolve the issue, upgrade Solr to 6.6.2.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-30T16:28:09.810" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9774" PostTypeId="1" AcceptedAnswerId="9775" CreationDate="2018-01-30T18:27:36.370" Score="7" ViewCount="292" Body="&lt;p&gt;In Sitecore 8.x, when a contact is identified, it's done so just on a single string like an email address or username.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9.x (more specifically xConnect) when a contact is identified, there is an Identifier Source and Identifier.  The source being some arbitrary string value to signify the source of the identifier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When upgrading between Sitecore 8.x to 9.x, what happens to the contact identifier and what is the &quot;source&quot; of the identifier after a xDB Migration?&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-30T19:00:09.757" Title="What is the Identifier Source of a Contact After Upgrading to 9 / xConnect?" Tags="|xdb|upgrade|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9775" PostTypeId="2" ParentId="9774" CreationDate="2018-01-30T19:00:09.757" Score="6" Body="&lt;p&gt;xDB Migration tool is based on Data Exchange Framework. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;DEveloper guide for xDB Migration tool : &#xA;&lt;a href=&quot;http://integrationsdn.sitecore.net/xDBDataMigrationTool/v2.0.1/index.html&quot; rel=&quot;noreferrer&quot;&gt;http://integrationsdn.sitecore.net/xDBDataMigrationTool/v2.0.1/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contact identifier Source is &lt;strong&gt;xDB.Identifier&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about identifiers you can find here: &lt;a href=&quot;http://integrationsdn.sitecore.net/xDBDataMigrationTool/v2.0.1/standard-mappings/contacts/identifier.html&quot; rel=&quot;noreferrer&quot;&gt;http://integrationsdn.sitecore.net/xDBDataMigrationTool/v2.0.1/standard-mappings/contacts/identifier.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9Luay.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9Luay.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-01-30T19:00:09.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9776" PostTypeId="1" AcceptedAnswerId="9777" CreationDate="2018-01-30T21:16:11.273" Score="6" ViewCount="4832" Body="&lt;p&gt;I have a client that wants to run &lt;code&gt;Sitecore 9&lt;/code&gt; on-premises and is looking for hardware requirements. This documentation site: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/hardware-and-software.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/scaling-guide/hardware-and-software.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;refers you to the install guide, but the only mention in the install guide appears to be for running on a single instance, as a developer.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Can anyone point me towards the correct information?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="5387" LastEditDate="2019-07-23T06:44:05.417" LastActivityDate="2019-07-23T06:44:05.417" Title="Sitecore 9 hardware requirements" Tags="|scaling|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9777" PostTypeId="2" ParentId="9776" CreationDate="2018-01-30T21:37:48.930" Score="12" Body="&lt;p&gt;At the time of writing, the only official guidelines for hardware are the standalone on-premise installation in the installation guide and the the ARM templates topologies: &lt;a href=&quot;https://kb.sitecore.net/articles/043375&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/043375&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ARM template topologies are based on a simple marketing site without heavy integration or customization. If you are heavily integrating with xConnect and external systems, your needs for hardware and servers will be different. I have posted some basic guidance on XP Services scaling in a Sitecore StackExchange answer, though this is not about hardware specs, more decision points for scaling: &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8513/how-best-can-you-scale-xconnect-to-handle-high-traffic&quot;&gt;How best can you scale xConnect to handle high traffic?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you noted, the Sitecore scaling guide currently lacks the hardware specs for the scaled environments. These details just are not available right now. The ARM templates topologies will give you the best guidance we currently have in terms of looking at relative performance, but when scaling architectures so much is dependent on the solution that has been implemented and the way each role is being used in that deployment. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Comparing to Sitecore 8&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you compare the ARM Template topologies between &lt;a href=&quot;https://kb.sitecore.net/articles/848330&quot; rel=&quot;noreferrer&quot;&gt;Sitecore 8&lt;/a&gt; and &lt;a href=&quot;https://kb.sitecore.net/articles/043375&quot; rel=&quot;noreferrer&quot;&gt;Sitecore 9&lt;/a&gt;, you will note that the requirements have not really changed for the core instances. Other than the new XP Services introduced (and their related components) there were virtually no changes. There was a slight alteration for CM and session state in a standalone environment, and a minor change for session state for an XP Extra Large. Otherwise, everything was identical.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What does this mean?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You could likely base a lot of the hardware requirements on 8.2 guidelines for the core instances, which can be seen in documents such as this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/platform/hardware_guidlines&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/platform/hardware_guidlines&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The New XP Services&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The tricky part comes down to how the customer wants to deploy the new XP Services. If they deploy it to the same servers as one of the Sitecore instances, that hardware will need to be beefed up to handle the extra workload. If they deploy it separately, then the hardware will depend on how they deploy the services (single app, scaled out on one server, scaled out across multiple servers, load-balanced, etc.) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other new piece in Sitecore 9 is the SQL Server storage of xDB. This should definitely be its own server in production, and not the same server as the rest of the SQL databases. You will notice from the ARM Templates topologies that the new shard databases are smaller than a standard Sitecore database at the low end of visits, but as the visit count rises towards the higher end the shard database hardware requirements grow faster than the core content databases. This is because the content databases generally don't have more storage based on visits, whereas collection is all about tracking visitor data.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Wrapping it up&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are so many variables when planning infrastructure, it really is situational and you need to adjust your infrastructure planning to the customer's needs, their solution implementation, and their planned usage/visits. The best advice I can give is to make sure to implement infrastructure that you can easily adjust to meet your needs as they change and only pay for what you need now. This avoids the 'over-buying' that sometimes happens in on-premise provisioning.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-01-30T21:37:48.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9778" PostTypeId="2" ParentId="9776" CreationDate="2018-01-30T21:42:47.230" Score="6" Body="&lt;p&gt;In addition to the other answers, the conversation really lies upon the following questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;How many instances are you licensed for? (both prod and non-prod)&lt;/li&gt;&#xA;&lt;li&gt;How much traffic, visits, concurrent visits, etc does your site need to support?&lt;/li&gt;&#xA;&lt;li&gt;What topology do you need to run?  CM (as a single instance) plus some CD's and xConnect?  Or CM, Reporting, Processing, CD's, and xConnect?  Or... CM, Reporting, Processing, CD's, and xConnect split between multiple machines?&lt;/li&gt;&#xA;&lt;li&gt;What about SOLR? Do you need to use SOLR? Are you going to use SOLR CLoud? How many servers?&lt;/li&gt;&#xA;&lt;li&gt;What about DB servers? SQL HIgh Availability?AlwaysOn?&lt;/li&gt;&#xA;&lt;li&gt;Do you have access to SSD's for DB and Search servers?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The questions on architecture are vast, and that's before we even attempt to size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In typical scenarios (and hardly anything is typical anymore), an OnPrem CM is generally 2-4 vCPU, 8-16GB of RAM depending on cache sizing (which should also be modified from defaults).  For CD's, probably something similar.  For xConnect, you're probably going to want something with a bit more RAM, maybe a bit more CPU, if xConnect is set up as a standalone instance. It really does depend just how far you need to scale out for distribution. (edited)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why providing documentation around it, especially from Sitecore's perspective is hard... because at the end of the day the answer really is &quot;it depends&quot;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-01-30T21:42:47.230" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9779" PostTypeId="2" ParentId="9763" CreationDate="2018-01-31T01:15:01.153" Score="3" Body="&lt;h3&gt;FormatBlock&lt;/h3&gt;&#xA;&lt;p&gt;For your question, you can find the values for the FormatBlock under the item &lt;code&gt;/sitecore/system/Settings/Html Editor Profiles/Rich Text Full/Paragraphs&lt;/code&gt;. Out of the box, Sitecore's formatting is pretty boring. But you can add some styling to the selections to make them look better. Similar to the class drop down.&lt;/p&gt;&#xA;&lt;p&gt;See &lt;a href=&quot;https://demos.telerik.com/aspnet-ajax/editor/examples/formatblock/defaultcs.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;this link&lt;/a&gt; to find out more about styling the formatblock values.&lt;/p&gt;&#xA;&lt;h3&gt;Using the style drop down&lt;/h3&gt;&#xA;&lt;p&gt;I have found it a lot easier to define explicitly the classes that show up in the RTE. It first starts with your custom RTE css file which you set with the setting WebStylesheet.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&amp;quot;WebStylesheet&amp;quot; value=&amp;quot;/styles/rte.min.css&amp;quot; /&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Then in the ToolsFile.xml, located in the folder &lt;code&gt;\sitecore\shell\Controls\Rich Text Editor\ToolsFile.xml&lt;/code&gt;, you can define exactly which classes you want in your RTE classes dropdown and what they are called. I find this a lot better than having to name the class to help the editor.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;root&amp;gt;&#xA;    &amp;lt;classes&amp;gt;&#xA;        &amp;lt;class name=&amp;quot;Red Button&amp;quot; value=&amp;quot;a.btn-danger&amp;quot; /&amp;gt;&#xA;        &amp;lt;class name=&amp;quot;Blue Button&amp;quot; value=&amp;quot;a.btn-blue&amp;quot; /&amp;gt;&#xA;        &amp;lt;class name=&amp;quot;Sitecore Light Blue&amp;quot; value=&amp;quot;.light-blue&amp;quot; /&amp;gt;&#xA;    &amp;lt;/classes&amp;gt;&#xA;&amp;lt;/root&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-01-31T01:15:01.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9780" PostTypeId="2" ParentId="9767" CreationDate="2018-01-31T03:31:07.220" Score="2" Body="&lt;p&gt;It is not possible to personalize the Submit button text using the out-of-the-box module. Unlike the form fields which allows you to set &lt;code&gt;Rules&lt;/code&gt; against the element, the Submit button only allows you to set a single value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create a duplicate of the form and use personalization to switch the form out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One possible solution might be to create a rendering with some Javascript which sets the text of the button, and calling the script immediately should minimize any noticeable flicker of the text being changed on page load.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;@model RenderingModel&#xA;&#xA;&amp;lt;script&amp;gt;&#xA;  var buttonText = @Html.Sitecore().Field(&quot;Button Text&quot;, new { DisableWebEdit = true });&#xA;  var $submitBtn = $(document.body.lastChild).prev('form').find(':submit');&#xA;  $submitBtn.prop('value', buttonText);&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create a new template with a field to hold &lt;code&gt;Button Text&lt;/code&gt; and then create an item as the datasource of your rendering. You can then insert this rendering immediately following your WFFM Rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script uses the &lt;a href=&quot;https://api.jquery.com/prev/&quot; rel=&quot;nofollow noreferrer&quot;&gt;jQuery prev()&lt;/a&gt; selector to find the form, select &lt;a href=&quot;https://api.jquery.com/submit-selector/&quot; rel=&quot;nofollow noreferrer&quot;&gt;submit element&lt;/a&gt; and then set the text of the element. You can then use &lt;code&gt;Personalization Rules&lt;/code&gt; to hide the rendering (when you want default text from the form to be shown) or switch the datasource to a different item for variations of the button text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see an example in this &lt;a href=&quot;https://codepen.io/jammykam/pen/ZrYdaP?editors=1000&quot; rel=&quot;nofollow noreferrer&quot;&gt;Codepen demo&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A slight variation of the above would be to &lt;a href=&quot;https://sitecore.stackexchange.com/a/8606/135&quot;&gt;add a placeholder to the FormViewModel rendering&lt;/a&gt; and change the code to use the &lt;a href=&quot;https://api.jquery.com/closest/&quot; rel=&quot;nofollow noreferrer&quot;&gt;closest() selector&lt;/a&gt; rather than &lt;code&gt;prev()&lt;/code&gt;. It accomplishes the same thing but you can then use placeholder restrictions to only allow this new rendering in that placeholder.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-01-31T03:31:07.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9781" PostTypeId="1" AcceptedAnswerId="9847" CreationDate="2018-01-31T04:26:28.477" Score="8" ViewCount="861" Body="&lt;p&gt;I have a requirement to identify the returning user which haven't yet created their profile. I know that Sitecore gives the unique identifier to the anonymous user based on the device and stores the information in the cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I am trying to get the interactions data from the xConnect API using below code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var session = Sitecore.Analytics.Tracker.Current.Session.Interaction&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am only getting the pages from the current visit of the user. Even though I am using the same device and same browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get all the previous sessions that visitor has browsed assuming they haven't cleared their browser cookies.&lt;/p&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="2727" LastEditDate="2018-02-02T07:52:45.697" LastActivityDate="2018-02-02T16:02:53.053" Title="Identify returning user interaction data from xDB in Sitecore 9" Tags="|xdb|experience-analytics|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9782" PostTypeId="1" CreationDate="2018-01-31T06:53:45.787" Score="2" ViewCount="743" Body="&lt;p&gt;I would like to know if there is any way to merge the field of a parent template into the child template's existing section. Here is the scenration&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Template A has a field under Main Section(FieldA).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now this template needs to be inherited by 3 another templates (B, C, D).&#xA;When I do, I want to get the FieldA as part of existing sections of Template B, C, D.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reason being if I don't merge the field, when I use these child template on an item, I see &quot;FieldA&quot; under &quot;Main&quot; section thrice and its confusing to user as to which template's &quot;Main&quot; section is being edited \ added.&lt;/p&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="2727" LastEditDate="2018-03-14T10:48:48.217" LastActivityDate="2020-06-02T17:37:33.177" Title="Merge field of parent template into same section of inherited template" Tags="|templates|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9783" PostTypeId="2" ParentId="9715" CreationDate="2018-01-31T07:43:09.760" Score="3" Body="&lt;p&gt;After some much needed and highly appreciated help from Pete Navarra I found out that Sitecore WFFM installation guide is missing crucial information. For processing server not only the following assemblies should be added:&#xA;According to: &lt;a href=&quot;https://dev.sitecore.net/~/media/39EE90F91B66474597B2B510BB924EBF.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/~/media/39EE90F91B66474597B2B510BB924EBF.ashx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;\Website\bin\Sitecore.WFFM.dll&lt;/p&gt;&#xA;&#xA;&lt;p&gt;\Website\bin\Sitecore.WFFM.Analytics.dll&lt;/p&gt;&#xA;&#xA;&lt;p&gt;\Website\bin\Sitecore.WFFM.Abstractions.dll&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but also:&#xA;Sitecore.Forms.Core.dll&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this assembly proper event handling is in place and the list tag is added to the xDB contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&#xA;The MSCaptcha.dll and Sitecore.WFFM.Actions.dll also have to be copied to Processing server if you experience any error about missing assembly.&lt;/p&gt;&#xA;" OwnerUserId="2540" LastEditorUserId="35" LastEditDate="2019-02-28T10:37:28.323" LastActivityDate="2019-02-28T10:37:28.323" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="9784" PostTypeId="1" CreationDate="2018-01-31T08:01:18.340" Score="1" ViewCount="351" Body="&lt;p&gt;When creating a new campaign using the campaign creator, Sitecore returns an error saying &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Your campaign activity has not been saved.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But when you browse the campaigns using the Marketing Control Panel, the campaign actually has been created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BpxJv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BpxJv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K7OpL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K7OpL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also after deploying campaigns, it is still not showing in campaign creator. What might be the issue for this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K9oCc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K9oCc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the error in log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;11324 07:13:19 ERROR [Sitecore Services]: HTTP POST&#xA;URL https://cas.dgs.com/sitecore/api/ssc/CampaignManagement/Campaign&#xA;&#xA;Exception System.ArgumentException: the definition was not found: {3288EF08-CC53-45E6-9804-29DD1B397695}&#xA;Parameter name: definitionId&#xA; at Sitecore.Diagnostics.Assert.ArgumentCondition(Boolean condition, String argumentName, String message)&#xA; at Sitecore.Marketing.Definitions.DefinitionManagerBase`1.&amp;lt;&amp;gt;c__DisplayClass5`1.&amp;lt;Activate&amp;gt;b__0()&#xA; at Sitecore.Marketing.Core.IgnoreRecursiveCalls.Run(ID id, Action action)&#xA; at Sitecore.Marketing.Definitions.DefinitionManagerBase`1.Activate[TRecord](ID definitionId, IDefinitionRepository`1 repository, Func`2 toDefinition)&#xA; at Sitecore.Marketing.Definitions.Campaigns.CampaignDefinitionManager.ActivateAsync(ID definitionId)&#xA; at Sitecore.Marketing.Definitions.DefinitionManagerBase`1.Save[TRecord](TDefinition definition, Boolean activate, IDefinitionRepository`1 repository, Action`2 setCustomFields)&#xA; at Sitecore.Marketing.Definitions.Campaigns.CampaignDefinitionManager.SaveAsync(ICampaignActivityDefinition definition, Boolean activate)&#xA; at Sitecore.Marketing.Definitions.DefinitionManagerBase`1.Save(TDefinition definition, Boolean activate)&#xA; at Sitecore.Marketing.Campaigns.Services.Data.CampaignRepository.Add(CampaignEntity entity)&#xA; at Sitecore.Services.Infrastructure.Services.EntityServiceBase`1.CreateEntity(T entity)&#xA; at lambda_method(Closure , Object , Object[] )&#xA; at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&amp;gt;c__DisplayClass10.&amp;lt;GetExecutor&amp;gt;b__9(Object instance, Object[] methodParameters)&#xA; at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Controllers.ApiControllerActionInvoker.&amp;lt;InvokeActionAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA; at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA; at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA; at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA; at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&#xA; at System.Web.Http.Controllers.ExceptionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="950" LastEditorUserId="2727" LastEditDate="2018-02-03T15:31:33.767" LastActivityDate="2018-02-03T15:31:33.767" Title="Error when creating new campaign: &quot;Your campaign activity has not been saved&quot;" Tags="|campaigncreator|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9786" PostTypeId="1" CreationDate="2018-01-31T10:21:14.530" Score="0" ViewCount="963" Body="&lt;p&gt;I followed the steps below to define custom ASP.NET MVC routes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Created a custom processor for the initialize pipeline and defined custom route in the Process method similar to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterCustomRoute&#xA;{&#xA;  public virtual void Process(PipelineArgs args)&#xA;  {&#xA;    RouteTable.Routes.MapRoute(&quot;CustomRoute&quot;, &quot;some/route/{controller}/{action}/{id}&quot;);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Added this processor to the initialize pipeline right before the Sitecore &lt;code&gt;InitializeRoutes&lt;/code&gt; processor. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;     &amp;lt;sitecore&amp;gt;&#xA;          &amp;lt;pipelines&amp;gt;&#xA;               &amp;lt;initialize&amp;gt;&#xA;                    &amp;lt;processor type=&quot;MyNamespace.RegisterCustomRoute, MyAssembly&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;               &amp;lt;/initialize&amp;gt;&#xA;          &amp;lt;/pipelines&amp;gt;&#xA;     &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I placed this patch file into a subfolder of the &lt;code&gt;/App_Config/Include/Z_CustomConfigs&lt;/code&gt; directory. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The route has been registered successfully in the &lt;code&gt;RouteTable&lt;/code&gt; however whenever i tried to access the url &lt;code&gt;http://[domain]/some/route/[controller]/[action]/1&lt;/code&gt; in browser, I never get this url matched in Sitecore application and it always redirected to 404 page with invalid url message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am having below code for the controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ProductFilterController : SitecoreController&#xA;{&#xA;     // GET: Product&#xA;     public ActionResult Search(int id)&#xA;     {&#xA;         return View();&#xA;     }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And trying to access it using the url&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://mydomain.com/some/route/ProductFilter/Search/1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, when i added &lt;code&gt;/some/route/&lt;/code&gt; in &lt;code&gt;IgnoreUrlPrefixes&lt;/code&gt; config setting, the route resolved successfully but in this way, i would not get the Sitecore context. Thus, not much beneficial to resolve the problem statement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References: &lt;a href=&quot;https://kb.sitecore.net/articles/700677&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/700677&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-01-31T11:11:30.547" LastActivityDate="2018-01-31T11:11:30.547" Title="Custom routes never matched in Sitecore request execution" Tags="|pipelines|custom-route|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9787" PostTypeId="1" AcceptedAnswerId="9826" CreationDate="2018-01-31T11:03:38.050" Score="5" ViewCount="723" Body="&lt;p&gt;I have configured Sitecore 8.2 update 4 into &lt;strong&gt;CMS only mode&lt;/strong&gt; and configured WFFM with SQL databases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I submit a form and open form report it is showing the data into Summary tab but &quot;Detailed Reports&quot; tab is showing &quot;No data has been set&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is any body have any idea about this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed wffm with sql configuration steps from this blog post but no luck - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://citizensitecore.com/2016/05/11/wffm-and-cms-only-mode-in-sitecore-8-1/&quot; rel=&quot;noreferrer&quot;&gt;https://citizensitecore.com/2016/05/11/wffm-and-cms-only-mode-in-sitecore-8-1/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FfLj6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FfLj6.png&quot; alt=&quot;Summary Tab&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/azxCO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/azxCO.png&quot; alt=&quot;Detailed Reports&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1499" LastEditorUserId="1671" LastEditDate="2018-02-01T13:01:38.567" LastActivityDate="2018-02-19T07:53:41.783" Title="Detailed Reports tab in form report is showing blank in WFFM" Tags="|wffm|reporting|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9788" PostTypeId="1" CreationDate="2018-01-31T12:43:44.903" Score="2" ViewCount="251" Body="&lt;p&gt;I've created a config item with a number field (without validation rules), I've added a rendering to my page with this config as datasource. When I edit the item in the Content Editor, everything is fine and the number 50.55962 is valid. However, when editing the field in the Experience Editor, Sitecore throws the error below. It is possible to save 50 but not 50.55962 (Which is a valid number), in the Content Editor this gives no problems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I8xku.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I8xku.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what could be the reason for this?&#xA;I'm running Sitecore version 8.2 (rev. 170407)&lt;/p&gt;&#xA;" OwnerUserId="3172" LastEditorUserId="2727" LastEditDate="2018-02-28T12:23:40.520" LastActivityDate="2018-02-28T12:23:40.520" Title="Sitecore experience editor throws error when saving datasource number field" Tags="|sitecore-client|experience-editor|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9789" PostTypeId="1" AcceptedAnswerId="10573" CreationDate="2018-01-31T12:55:31.030" Score="8" ViewCount="508" Body="&lt;p&gt;We have some code (in Sitecore 9.0.1) that identifies our contact (and saves some data in facets): &lt;code&gt;Tracker.Current.Session.IdentifyAs(IdentifierSource, email);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this information on the new &lt;a href=&quot;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/identification/index.html&quot; rel=&quot;noreferrer&quot;&gt;docs&lt;/a&gt;. According to this &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/contacts/#known-and-anonymous-contacts&quot; rel=&quot;noreferrer&quot;&gt;doc&lt;/a&gt; a contact is known as soon as it has at least one known identifier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our code sees to work. Our contact is saved to the database correctly and we can find it in the experience profile with all facets filled. Updates also work -&#xA; the contact is recognized as being &quot;not new&quot; and updated accordingly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Xdb.Collection&lt;/code&gt; database I can find my contact's identifier(s) with indeed the one with my source and &lt;code&gt;IdentifierType&lt;/code&gt; 1. So that seems fine as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that although I can find my contact in the experience profile list &amp;amp; details (with everything filled perfectly), the timeline (also showing correct data) still says it is an &lt;em&gt;unknown&lt;/em&gt; contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did check the &quot;internet&quot; and found this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2219/experience-profile-always-shows-anonymous-or-unknown-as-name&quot;&gt;answer&lt;/a&gt; on SSE (where else..), but that is for 8.2 and doesn't seem to be the solution for v9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how to get a Sitecore 9 to show &quot;known contact&quot;?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-03-05T10:49:13.477" Title="Timeline always showing contact as unknown in Sitecore 9" Tags="|experience-analytics|experience-profile|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9790" PostTypeId="1" CreationDate="2018-01-31T15:17:58.187" Score="4" ViewCount="1287" Body="&lt;p&gt;I have written a custom processor in Sitecore to set the context language and country code. I am calling this processor on &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline. The problem I am facing is that the processor is executing multiple times on page load for each component load. Below is my patch config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&#xA;  &amp;lt;processor patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.FileResolver, Sitecore.Kernel']&quot; type=&quot;custom-processor class, custom-processor&quot; /&amp;gt;   &#xA;&amp;lt;/httpRequestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now I want to restrict my processor to execute only one time on page load and not on each component laod.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know how can I do this.&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="35" LastEditDate="2018-01-31T17:27:06.977" LastActivityDate="2018-01-31T17:27:06.977" Title="Request processor executing multiple times per page load" Tags="|pipelines|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9791" PostTypeId="2" ParentId="9790" CreationDate="2018-01-31T15:25:02.897" Score="0" Body="&lt;p&gt;Try the initialize pipeline instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;initialize&amp;gt;&#xA;    &amp;lt;processor type=&quot;xxx&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot; /&amp;gt;&#xA;  &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2725" LastActivityDate="2018-01-31T15:25:02.897" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9792" PostTypeId="2" ParentId="9790" CreationDate="2018-01-31T15:34:37.077" Score="3" Body="&lt;p&gt;It's probably executing several times because your page may also have other Sitecore assets like images that it's downloading.  This means that the httpBeginRequest will be called since it gets triggered all the time through the HttpApplication.BeginRequest.  So, it's OK that it gets called all the time but you may want to do some checks first to make sure that the core of your processor only gets executed once or even for specific types of requests only.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-31T15:34:37.077" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9794" PostTypeId="2" ParentId="9573" CreationDate="2018-01-31T16:03:28.827" Score="3" Body="&lt;p&gt;This really an IIS issue.  The solution is to update the httpErrors under the system.webServer like below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;httpErrors errorMode=&quot;Custom&quot; existingResponse=&quot;Replace&quot;&amp;gt;&#xA;&amp;lt;remove statusCode=&quot;400&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;&amp;lt;remove statusCode=&quot;404&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;&amp;lt;remove statusCode=&quot;500&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;&amp;lt;error statusCode=&quot;404&quot; prefixLanguageFilePath=&quot;&quot; path=&quot;/error&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;&amp;lt;error statusCode=&quot;400&quot; prefixLanguageFilePath=&quot;&quot; path=&quot;/error&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;&amp;lt;error statusCode=&quot;500&quot; prefixLanguageFilePath=&quot;&quot; path=&quot;/error&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;&amp;lt;/httpErrors&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-01-31T16:03:28.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9795" PostTypeId="2" ParentId="9573" CreationDate="2018-01-31T16:06:02.477" Score="8" Body="&lt;p&gt;As much as I hate to put this as an answer, but this is not a Sitecore issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this doesn't fail: &lt;a href=&quot;http://sitecoredemo/sitecore/service/notfound.aspx/%20/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoredemo/sitecore/service/notfound.aspx/%20/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;neither does &lt;a href=&quot;http://sitecoredemo/sitecore/service/notfound/%20/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoredemo/sitecore/service/notfound/%20/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;neither does &lt;a href=&quot;http://sitecoredemo/sitecore/%20/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoredemo/sitecore/%20/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;just &lt;a href=&quot;http://sitecoredemo/%20/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoredemo/%20/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tested this on IIS 7, IIS8, and IIS10. On Sitecore sites and non-Sitecore sites.  All behave the same way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From looking at Google, there are other people having this issue:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/26364213/asp-net-url-ending-in-20-is-not-getting-to-application-code&quot;&gt;https://stackoverflow.com/questions/26364213/asp-net-url-ending-in-20-is-not-getting-to-application-code&lt;/a&gt;&#xA;&lt;a href=&quot;https://our.umbraco.org/forum/using-umbraco-and-getting-started/79164-whitespace-in-url-causes-server-error&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://our.umbraco.org/forum/using-umbraco-and-getting-started/79164-whitespace-in-url-causes-server-error&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspect that this is either an IIS or URL Rewrite Bug... or an undocumented &quot;feature&quot; that serves a purpose. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, &lt;code&gt;/%20/&lt;/code&gt; is not just the trigger. I have tried numerous other encoded characters and all react the same way. There is something in IIS with respect to the unencoding of the URL that breaks the web.config configuration when serving the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a side note.. if anyone wanted to clog up log files, this would be a fantastic way to do it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;So how to solve?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Honestly, aside from crazy QA test cases purposefully doing it... There shouldn't be anything happening that is redirecting a user to this type of URL unless you have an error in your URL Rewrite rules or bad redirect rules in your web application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One search result netted a comment to add the following to the web.config, but this appears to also open up security issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;httpRuntime relaxedUrlToFileSystemMapping=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How to Hide / Show Proper Error Page&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Since the issue is with IIS, additional error page handling needs to be set up in the web.config.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;httpErrors errorMode=&quot;Custom&quot; existingResponse=&quot;Replace&quot;&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;400&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;404&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;500&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;404&quot; prefixLanguageFilePath=&quot;&quot; path=&quot;/error&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;400&quot; prefixLanguageFilePath=&quot;&quot; path=&quot;/error&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;500&quot; prefixLanguageFilePath=&quot;&quot; path=&quot;/error&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;&amp;lt;/httpErrors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This at least allows a proper error page to render, and not the default Yellow Screen of Death. (Thanks @jammykam for the comment)&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-02-01T14:30:13.007" LastActivityDate="2018-02-01T14:30:13.007" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9796" PostTypeId="1" AcceptedAnswerId="9799" CreationDate="2018-01-31T16:07:36.403" Score="12" ViewCount="3604" Body="&lt;p&gt;A new index was added to a Sitecore instance I am working on. This ended up causing a different module in the implementation to have a problem. The part having an issue uses &lt;code&gt;Sitecore.ContentSearch.ContentSearchManager.GetIndex(IIndexable indexable)&lt;/code&gt; to get an index to use passing in the current item cast appropriately. To fix the issue, I switched from passing in the current item to passing in the item that represents the homepage of the current site. This did the trick, since the homepage item was outside of the other index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't understand exactly how the index to use is determined.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How does Sitecore decide what index to use when passing in an item, if that item is in multiple indexes?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-02-06T18:28:22.177" LastActivityDate="2018-02-06T18:28:22.177" Title="How does Sitecore decide the Index to use with GetIndex" Tags="|content-search|indexing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9797" PostTypeId="1" CreationDate="2018-01-31T16:12:15.933" Score="1" ViewCount="790" Body="&lt;p&gt;In a project, I have implemented Sitecore GEOIP to get visitor's country information. In local, it was working fine but when we deployed it in Production environment, GEOIP was not able to get visitor's IP because it works under load balancer. So it returns &lt;strong&gt;load balancer IP&lt;/strong&gt; instead of actual visitor's IP.&#xA;I tried some suggestions like in the link,  &lt;a href=&quot;http://www.bugdebugzone.com/2013/09/get-users-ip-address-in-load-balancing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.bugdebugzone.com/2013/09/get-users-ip-address-in-load-balancing.html&lt;/a&gt;&#xA; and &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoreart.martinrayenglish.com/2015/08/setting-up-sitecores-geolocation-lookup.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreart.martinrayenglish.com/2015/08/setting-up-sitecores-geolocation-lookup.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But none of them worked for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So can anyone please suggest some solution to fix this issue? &lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="2727" LastEditDate="2018-02-02T07:21:06.973" LastActivityDate="2018-04-27T02:33:36.133" Title="Sitecore GEOIP Issue with load balancer" Tags="|sitecore-api|sitecore-services-client|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9798" PostTypeId="2" ParentId="9797" CreationDate="2018-01-31T16:52:43.687" Score="2" Body="&lt;p&gt;For most load balancers it is indeed the following case sensitive setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.ForwardedRequestHttpHeader&quot; value=&quot;X-Forwarded-For&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, you may want to check with your particular load balancer as sometimes they vary.&lt;/p&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2018-01-31T16:52:43.687" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9799" PostTypeId="2" ParentId="9796" CreationDate="2018-01-31T19:57:58.533" Score="21" Body="&lt;p&gt;When you call &lt;code&gt;Sitecore.ContentSearch.ContentSearchManager.GetIndex(IIndexable indexable)&lt;/code&gt;, it runs &lt;code&gt;contentSearch.getContextIndex&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the version I'm checking now (it's 8.2 update 3), this pipeline has 1 processor only: &lt;code&gt;FetchIndex&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What it does, it takes all the indexex in the order in which they are defined in the config files (see &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; for the order) an for each of them it checks things like:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does any of the ancestors of the item is the root of the index provider&lt;/li&gt;&#xA;&lt;li&gt;Does the database of the item is same as defined for the index&lt;/li&gt;&#xA;&lt;li&gt;Is item excluded from the index&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When it finally has all indexes which are valid for the current item, it runs &lt;code&gt;int SitecoreItemCrawler.GetContextIndexRanking(IIndexable indexable)&lt;/code&gt; method. Default implementation returns difference between the index root item level and the indexable item level, so the closer to the index root the better. If there is only 1 index or if the best score from &lt;code&gt;SitecoreItemCrawler.GetContextIndexRanking&lt;/code&gt; method is better then the score of the second index, we have the winner. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there are 2 or more indexes with same lowest score, Sitecore checks &lt;code&gt;ContentSearch.DefaultIndexType&lt;/code&gt; setting (for Lucene it's &lt;code&gt;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&lt;/code&gt;) and returns first index of that type in alphabetical order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there is no index of type matching &lt;code&gt;ContentSearch.DefaultIndexType&lt;/code&gt;, first index of those with lowest score is selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There may be some other checks in the other Sitecore versions, but the logic will be similar.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;So back to your scenario - when you were passing current item to the &lt;code&gt;GetIndex&lt;/code&gt; method, the other index was winning cause &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;either that item was &quot;closer&quot; to the other index root than to your chosen index root&lt;/li&gt;&#xA;&lt;li&gt;or it was on the same level in the other index and in your index, but your index type is not same as in the &lt;code&gt;ContentSearch.DefaultIndexType&lt;/code&gt; setting&lt;/li&gt;&#xA;&lt;li&gt;or both your and the other index type matches the &lt;code&gt;ContentSearch.DefaultIndexType&lt;/code&gt; setting type but the other index name is alphabetically &quot;lower&quot; than your index name&lt;/li&gt;&#xA;&lt;li&gt;or both index types don't match &lt;code&gt;ContentSearch.DefaultIndexType&lt;/code&gt; setting type but the other index is just defined earlier in the config&lt;/li&gt;&#xA;&lt;li&gt;or ... well I guess there is some scenario I couldn't think of now :)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-01-31T20:16:33.007" LastActivityDate="2018-01-31T20:16:33.007" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9801" PostTypeId="2" ParentId="9744" CreationDate="2018-01-31T21:27:57.983" Score="1" Body="&lt;p&gt;I did not use this plugin before but my guess you can bind onchange event and update the input or a use a hidden one. something like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;$(&quot;#phone&quot;).on(&quot;countrychange&quot;, function(e, countryData) {&#xA;  // do something with countryData&#xA;});&lt;/p&gt;&#xA;" OwnerUserId="1057" LastEditorUserId="1057" LastEditDate="2018-02-02T20:37:59.453" LastActivityDate="2018-02-02T20:37:59.453" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9802" PostTypeId="1" AcceptedAnswerId="9815" CreationDate="2018-01-31T22:45:56.407" Score="1" ViewCount="2146" Body="&lt;p&gt;Looking at the log file on our CM server, I noticed that there are a lot of warnings getting logged as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6128 00:01:09 WARN Request is redirected to document not found page. Requested url: /Error/404?item=%2f&amp;amp;user=sitecore%5cAnonymous&amp;amp;site=scheduler, User: sitecore\Anonymous, Website: scheduler&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Several of these log entries show up every minute. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We do have several scheduled tasks running but nothing that is set to trigger off that often. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have verified the the scheduling site is listed below the main website as per this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2200/how-why-would-the-scheduler-website-log-attempts-to-access-its-home-page&quot;&gt;How/Why would the scheduler website log attempts to access it&amp;#39;s home page?&lt;/a&gt; question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ShowConfig.aspx sites section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;sites&amp;gt;&#xA;&amp;lt;site name=&quot;shell&quot; virtualFolder=&quot;/sitecore/shell&quot; physicalFolder=&quot;/sitecore/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/login&quot; content=&quot;master&quot; contentStartItem=&quot;/Home&quot; enableWorkflow=&quot;true&quot; enableTracking=&quot;false&quot; analyticsDefinitions=&quot;content&quot; xmlControlPage=&quot;/sitecore/shell/default.aspx&quot; browserTitle=&quot;Sitecore&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;15MB&quot; viewStateCacheSize=&quot;1MB&quot; xslCacheSize=&quot;25MB&quot; disableBrowserCaching=&quot;true&quot; contentLanguage=&quot;en&quot; enableItemLanguageFallback=&quot;false&quot; enableFieldLanguageFallback=&quot;false&quot; itemwebapi.mode=&quot;StandardSecurity&quot; itemwebapi.access=&quot;ReadWrite&quot; itemwebapi.allowanonymousaccess=&quot;false&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;login&quot; virtualFolder=&quot;/sitecore/login&quot; physicalFolder=&quot;/sitecore/login&quot; enableTracking=&quot;false&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; disableXmlControls=&quot;true&quot; language=&quot;en&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;admin&quot; virtualFolder=&quot;/sitecore/admin&quot; physicalFolder=&quot;/sitecore/admin&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/admin/login.aspx&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;service&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/sitecore/service&quot; physicalFolder=&quot;/sitecore/service&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;modules_shell&quot; virtualFolder=&quot;/sitecore modules/shell&quot; physicalFolder=&quot;/sitecore modules/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; content=&quot;master&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;modules_website&quot; virtualFolder=&quot;/sitecore modules/web&quot; physicalFolder=&quot;/sitecore modules/web&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;!--  PROD CM  --&amp;gt;&#xA;&amp;lt;site name=&quot;clientname&quot; hostName=&quot;wcm.clientname.com.au&quot; targetHostName=&quot;www.clientname.com.au&quot; database=&quot;master&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/clientname&quot; startItem=&quot;/Home&quot; dictionaryPath=&quot;/sitecore/content/clientname/Content Modules/Dictionary&quot; dictionaryAutoCreate=&quot;true&quot; domain=&quot;clientname&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;false&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; formsRoot=&quot;/sitecore/content/clientname/Content Modules/Forms/WebForms&quot; loginPage=&quot;/login&quot; enableItemLanguageFallback=&quot;true&quot; patch:source=&quot;clientname.Website.config&quot;/&amp;gt;&#xA;&#xA;&amp;lt;site name=&quot;scheduler&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;system&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;publisher&quot; domain=&quot;sitecore&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="73" LastEditDate="2018-02-01T13:33:55.377" LastActivityDate="2018-02-01T13:33:55.377" Title="How/Why would the scheduler website be getting redirected to the 404 page?" Tags="|multisite|logging|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9803" PostTypeId="1" CreationDate="2018-01-31T23:41:47.770" Score="0" ViewCount="113" Body="&lt;p&gt;I've been wondering lately if the xml that Solr returns from a search isn't actually &quot;true&quot; xml, and by true, I mean searchable in the the sense that you can normally pull specific nodes from an xml document and return only that information. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been trying to figure out a way to make my responses from solr be more human-friendly. Solr will index my pdfs and dump the output from the pdfs into a _content node, and I can return that node on the screen which is all fine and well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even using highlighting in my queries though, it's still pretty unreadable by any useful standards.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Consider the following response to a query.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;response&amp;gt;&#xA;    &amp;lt;lst name=&quot;responseHeader&quot;&amp;gt;&#xA;         &amp;lt;int name=&quot;status&quot;&amp;gt;0&amp;lt;/int&amp;gt;&#xA;         &amp;lt;int name=&quot;QTime&quot;&amp;gt;57&amp;lt;/int&amp;gt;&#xA;         &amp;lt;lst name=&quot;params&quot;&amp;gt;&#xA;               &amp;lt;str name=&quot;q&quot;&amp;gt;_content:[search term]&amp;lt;/str&amp;gt;&#xA;               &amp;lt;str name=&quot;hl&quot;&amp;gt;on&amp;lt;/str&amp;gt;&#xA;               &amp;lt;str name=&quot;fl&quot;&amp;gt;_content&amp;lt;/str&amp;gt;&#xA;               &amp;lt;str name=&quot;hl.fl&quot;&amp;gt;_content&amp;lt;/str&amp;gt;&#xA;    &amp;lt;/lst&amp;gt;&amp;lt;/lst&amp;gt;&#xA;&#xA;    &amp;lt;result name=&quot;response&quot; numFound=&quot;5&quot; start=&quot;0&quot;&amp;gt;&#xA;         &amp;lt;doc&amp;gt;&#xA;               &amp;lt;arr name=&quot;_content&quot;&amp;gt;&#xA;                   &amp;lt;str&amp;gt;[block of content here with zero formatting]&amp;lt;/str&amp;gt;&#xA;               &amp;lt;/arr&amp;gt;&#xA;          &amp;lt;/doc&amp;gt;&#xA;    &amp;lt;/result&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While I'm glad that solr returned a response, it's really not very useful. I would have to have it return something that I could style with html and look presentable to the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not currently using any custom search indexes...is that would I would need to do to be able to return something that I can mold and shape?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks!&lt;/p&gt;&#xA;" OwnerUserId="3055" LastEditorUserId="73" LastEditDate="2018-02-01T11:08:04.837" LastActivityDate="2018-02-03T07:26:49.747" Title="Solr XML friendly formatting" Tags="|content-search|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9806" PostTypeId="1" CreationDate="2018-02-01T08:43:14.980" Score="5" ViewCount="1023" Body="&lt;p&gt;I'm using Sitecore 8.0 with GeoIP service. I'd like to redirect user to a specific sitecore item depending on his location. &#xA;I didn't see any redirect rule in personalization rules. Any help in this regard is highly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2018-02-01T10:32:46.370" Title="Redirect visitor based on GeoIP location" Tags="|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9807" PostTypeId="2" ParentId="9806" CreationDate="2018-02-01T09:20:37.520" Score="2" Body="&lt;p&gt;You can find location based on visitor IP and can implement redirect condition for a particular url.&#xA;e.g:      &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Net.IPAddress ipAddress = null;&#xA;string country = string.Empty;&#xA;&#xA;if (System.Net.IPAddress.TryParse(Request.ServerVariables[&quot;REMOTE_ADDR&quot;], out ipAddress))&#xA;{&#xA;    Sitecore.Analytics.Lookups.GeoIpOptions geoIpOptions = new Sitecore.Analytics.Lookups.GeoIpOptions();&#xA;    geoIpOptions.Ip = ipAddress;&#xA;    Sitecore.Analytics.Lookups.GeoIpResult geoIpResult1 = Sitecore.Analytics.Lookups.GeoIpManager.GetGeoIpData(geoIpOptions);&#xA;    Thread.Sleep(5000);&#xA;    Sitecore.Analytics.Lookups.GeoIpResult geoIpResult = Sitecore.Analytics.Lookups.GeoIpManager.GetGeoIpData(geoIpOptions);&#xA;&#xA;    if (geoIpResult != null)&#xA;    {&#xA;        country = geoIpResult.GeoIpData.Country;&#xA;    }&#xA;&#xA;    if (country == &quot;HK&quot;)&#xA;    {&#xA;        string link = &quot;&quot;;&#xA;        Item redirectItem = Sitecore.Context.Database.GetItem(link);      &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="35" LastEditDate="2018-02-01T10:32:46.370" LastActivityDate="2018-02-01T10:32:46.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9808" PostTypeId="1" AcceptedAnswerId="9810" CreationDate="2018-02-01T09:39:24.393" Score="0" ViewCount="568" Body="&lt;p&gt;All, I am facing below issue when I execute &lt;code&gt;npm install&lt;/code&gt; while setting up new habitat instance by following the steps as detailed in &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please let me know on what is the issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue is as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;gyp verb &lt;code&gt;which&lt;/code&gt; failed Error: not found: python2&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at getNotFoundError (C:\projects\Habitat\node_modules\which\which.js:13:12)&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at F (C:\projects\Habitat\node_modules\which\which.js:68:19)&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at E (C:\projects\Habitat\node_modules\which\which.js:80:29)&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at C:\projects\Habitat\node_modules\which\which.js:89:16&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at C:\projects\Habitat\node_modules\isexe\index.js:42:5&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at C:\projects\Habitat\node_modules\isexe\windows.js:36:5&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at FSReqWrap.oncomplete (fs.js:152:21)&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed  python2 { Error: not found: python2&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at getNotFoundError (C:\projects\Habitat\node_modules\which\which.js:13:12)&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at F (C:\projects\Habitat\node_modules\which\which.js:68:19)&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at E (C:\projects\Habitat\node_modules\which\which.js:80:29)&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at C:\projects\Habitat\node_modules\which\which.js:89:16&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at C:\projects\Habitat\node_modules\isexe\index.js:42:5&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at C:\projects\Habitat\node_modules\isexe\windows.js:36:5&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed     at FSReqWrap.oncomplete (fs.js:152:21)&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed   stack: 'Error: not found: python2\n    at getNotFoundError (C:\projects\Habitat\node_modules\which\which.js:13:12)\n    at F (C:\projects\Habitat\node_modules\which\which.js:68:19)\n    at E (C:\projects\Habitat\node_modules\which\which.js:80:29)\n    at C:\projects\Habitat\node_modules\which\which.js:89:16\n    at C:\projects\Habitat\node_modules\isexe\index.js:42:5\n    at C:\projects\Habitat\node_modules\isexe\windows.js:36:5\n    at FSReqWrap.oncomplete (fs.js:152:21)',&#xA;  gyp verb &lt;code&gt;which&lt;/code&gt; failed   code: 'ENOENT' }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="740" LastEditorUserId="2727" LastEditDate="2018-02-02T07:52:33.100" LastActivityDate="2018-02-02T07:52:33.100" Title="Sitecore Habitat Setup Issue | Error: not found : python2" Tags="|habitat|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9809" PostTypeId="1" AcceptedAnswerId="10063" CreationDate="2018-02-01T10:13:52.037" Score="3" ViewCount="1231" Body="&lt;p&gt;I have installed a Sitecore 9 Update 1 and using Solr 6.6.2 for our ContentSearch. However when I've tried to create a contact on an empty List under List Manager but I am getting an error. Below is the details I've found on the log file. Any idea if there something I missed on my installation?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR [Sitecore Services]: HTTP POST&#xA;  URL &lt;a href=&quot;http://sc9u1/sitecore/api/lists/8aee5dca-bc25-471a-a893-3524e58b48ce/contacts&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sc9u1/sitecore/api/lists/8aee5dca-bc25-471a-a893-3524e58b48ce/contacts&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Sitecore.XConnect.XdbCollectionUnavailableException:&#xA;  {&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;An error&#xA;  occurred when trying to create a controller of type&#xA;  'ContactsController'. Make sure that the controller has a&#xA;  parameterless public&#xA;  constructor.&quot;,&quot;ExceptionType&quot;:&quot;System.InvalidOperationException&quot;,&quot;StackTrace&quot;:&quot;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage&#xA;  request, HttpControllerDescriptor controllerDescriptor, Type&#xA;  controllerType)&lt;br&gt;&#xA;        at Sitecore.XConnect.Web.DependencyInjection.WebApiServiceControllerActivator.Create(HttpRequestMessage&#xA;  request, HttpControllerDescriptor controllerDescriptor, Type&#xA;  controllerType)&#xA;        at System.Web.Http.Controllers.HttpControllerDescriptor.CreateController(HttpRequestMessage&#xA;  request)&#xA;        at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An&#xA;  error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Type&#xA;  'Sitecore.XConnect.Web.Controllers.ContactsController' does not have a&#xA;  default&#xA;  constructor&quot;,&quot;ExceptionType&quot;:&quot;System.ArgumentException&quot;,&quot;StackTrace&quot;:&quot;&#xA;        at System.Linq.Expressions.Expression.New(Type type)&#xA;        at System.Web.Http.Internal.TypeActivator.Create[TBase](Type instanceType)&#xA;        at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.GetInstanceOrActivator(HttpRequestMessage&#xA;  request, Type controllerType, Func1&amp;amp; activator)at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage&#xA;  request, HttpControllerDescriptor controllerDescriptor, Type&#xA;  controllerType)&quot;}}&#xA;        at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock[TResult](Func1&#xA;  taskFactory)&#xA;        at Sitecore.ListManagement.XConnect.SubscriptionService.&amp;lt;&gt;c__DisplayClass2_0.b__0(IXdbContext&#xA;  client)&#xA;        at Sitecore.ListManagement.XConnect.XdbRequestPerformer.RequestWithRetry(Action1&#xA;  action, String actionMessage)&#xA;        at Sitecore.ListManagement.XConnect.SubscriptionService.CreateSubscribedContact(Guid&#xA;  listId, String identifier, String source, String firstName, String&#xA;  lastName, String email)&#xA;        at Sitecore.ListManagement.Services.Repositories.ListSubscriptionsStore.CreateSubscribedContact(Guid&#xA;  listId, ContactDataModel contactDataModel)&#xA;        at Sitecore.ListManagement.Services.Controllers.ContactsController.CreateEntity(Guid&#xA;  listId, ContactDataModel contactDataModel)&#xA;        at lambda_method(Closure , Object , Object[] )&#xA;        at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&gt;c__DisplayClass10.b__9(Object&#xA;  instance, Object[] methodParameters)&#xA;        at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext&#xA;  controllerContext, IDictionary`2 arguments, CancellationToken&#xA;  cancellationToken)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="1671" LastEditDate="2018-02-12T15:43:19.450" LastActivityDate="2018-02-12T15:43:19.450" Title="Unable to create a Contact item in List Manager" Tags="|xdb|contact-facets|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9810" PostTypeId="2" ParentId="9808" CreationDate="2018-02-01T10:51:33.353" Score="0" Body="&lt;p&gt;I'm not too familiar with the Habitat setup, but it looks like a common issue with SASS compilation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It requires an OS/system-dependent binding file, which I believe it first tries to download from Github, but if that fails (e.g. firewalls on company network etc.) it tries to build the needed version - which requires Python 2 to be installed and available on &lt;code&gt;PATH&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can download Python here (choose the 2.x.x version): &lt;a href=&quot;https://www.python.org/downloads/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.python.org/downloads/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Alternative&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can also download the needed binding file yourself from the releases on Github: &lt;a href=&quot;https://github.com/sass/node-sass/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sass/node-sass/releases&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The logs should tell you which version your system needs. Then copy the file to &lt;code&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Roaming\npm-cache\node-sass\&amp;lt;version&amp;gt;\&lt;/code&gt;. Alternatively you can specify the path to the file with an environment variable &lt;code&gt;SASS_BINARY_NAME&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="55" LastEditorUserId="55" LastEditDate="2018-02-01T10:57:52.540" LastActivityDate="2018-02-01T10:57:52.540" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9811" PostTypeId="2" ParentId="9803" CreationDate="2018-02-01T11:04:42.060" Score="2" Body="&lt;p&gt;If you use Sitecore, then you don't need to deserialize the response from Solr. For that Sitecore has an API for it. Offical documentation is &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/search_and_item_buckets/linq_to_sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; about &lt;strong&gt;LINQ to Sitecore&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;LINQ to Sitecore provides access to search the indexes, using standard LINQ queries in the same way that other LINQ providers, such as LINQ to SQL and LINQ to Objects, work. It uses the standard IQueryable interface and supports most of the available operations.&lt;/p&gt;&#xA;&lt;p&gt;Sitecore supports two search providers: Lucene and Solr. The LINQ&#xA;layer is an abstract layer that converts common queries to something&#xA;that these search providers understand.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Basicly the query above will look like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(indexName).CreateSearchContext())&#xA;{&#xA;    IQueryable&amp;lt;SearchResultItem&amp;gt; searchQuery = context&#xA;        .GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;        .Where(item =&amp;gt; item.Content.Contains(&amp;quot;[search term]&amp;quot;))&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Worth to read the more about Sitecore Search API.&#xA;Here is also a good post about it: &lt;a href=&quot;https://soen.ghost.io/a-re-introduction-to-the-contentsearch-api-in-sitecore-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://soen.ghost.io/a-re-introduction-to-the-contentsearch-api-in-sitecore-part-1/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-02-03T07:26:49.747" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9812" PostTypeId="1" AcceptedAnswerId="9829" CreationDate="2018-02-01T12:53:48.540" Score="4" ViewCount="1002" Body="&lt;p&gt;A client of mine uses Sitecore and has an item with thousands of children which can't be restructured due to integration. They have queried about the use of buckets which I have limited knowledge.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering whether the items are still accessible in code using the items' original path or if it is lost once it becomes a bucketed item?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspect not but can't find anything conclusive online. &lt;/p&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="4050" LastEditDate="2019-12-27T08:44:43.013" LastActivityDate="2019-12-27T08:44:43.013" Title="Are items converted to Bucket items still accessible via the original path?" Tags="|buckets|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="9814" PostTypeId="2" ParentId="9812" CreationDate="2018-02-01T13:04:55.907" Score="1" Body="&lt;p&gt;If you will make bucketable items then path will be changed like - &lt;a href=&quot;http://abc/blog/2018/02/01/blogname&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://abc/blog/2018/02/01/blogname&lt;/a&gt;.&#xA;In bucket.config there is setting &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;BucketConfiguration.BucketFolderPath&quot;&#xA;&amp;gt; value=&quot;yyyy\/MM\/dd&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;from which you can control folder structure in sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create &lt;strong&gt;custom Item Resolver&lt;/strong&gt; and &lt;strong&gt;Custom Link Provider&lt;/strong&gt; to access item from original path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use this url &lt;a href=&quot;http://www.codeflood.net/blog/2013/07/18/item-buckets-and-urls/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.codeflood.net/blog/2013/07/18/item-buckets-and-urls/&lt;/a&gt; for custom item resolver and custom link provider.&lt;/p&gt;&#xA;" OwnerUserId="251" LastEditorUserId="1003" LastEditDate="2019-04-26T06:24:52.273" LastActivityDate="2019-04-26T06:24:52.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9815" PostTypeId="2" ParentId="9802" CreationDate="2018-02-01T13:27:42.877" Score="1" Body="&lt;p&gt;The removal of the website site, while perfectly fine to remove, also removed the catch all site for all requests that don't explicitly match the hostname configured on your client site config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is generally needed if you have a default binding setup in your IIS site. Default bindings allow any request, regardless of the hostname, to be allowed to proceed to the Sitecore site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, without seeing any other part of your setup, and seeing your log file get hit, I will assume that IIS has either a default binding setup, or other hostnames not represented here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, with a default binding, maybe a server health monitor is hitting the site by IP address or server hostname.  Sitecore can't resolve the site, so then hits the scheduler site because that is the least restrictive site definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve for this, choose one of these options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use a wildcard in your client site hostname to capture more or equate to the bindings available in IIS.&lt;/li&gt;&#xA;&lt;li&gt;Create another site definition after your client site (you could call it website) that doesn't have a hostname configured so that any other requests will still work.&lt;/li&gt;&#xA;&lt;li&gt;Turn off all other bindings in IIS except the one your need, including the default binding, if you do not wish to use it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I generally lean towards option 2. With this option, you can have that site point to a start item that has a redirect layout on it that will 301 redirect the caller to the primary website.  This also provides you an oppotunity to log the request made and figure out who is calling and what url.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-02-01T13:27:42.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9820" PostTypeId="2" ParentId="9803" CreationDate="2018-02-01T15:28:26.510" Score="1" Body="&lt;p&gt;In addition to Sitecore's ContentSearch as Tamas mentioned, you can use &lt;a href=&quot;https://github.com/SolrNet/SolrNet&quot; rel=&quot;nofollow noreferrer&quot;&gt;SolrNet&lt;/a&gt; library. It makes your life so much easier. It acts as a wrapper for all communications with Solr and you should be able to do all your shaping as you wish using simple models that map your index fields&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check this &lt;a href=&quot;https://github.com/SolrNet/SolrNet/blob/master/Documentation/Basic-usage.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;page&lt;/a&gt; for its basic usage or this &lt;a href=&quot;http://www.chrisumbel.com/article/solrnet_solr_net&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-02-01T15:28:26.510" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9821" PostTypeId="1" CreationDate="2018-02-01T16:40:37.297" Score="2" ViewCount="273" Body="&lt;p&gt;Is it possible to change Sitecore's predefined language names?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, French languages look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;French (Belgium) : français (Belgique)&#xA;French (Canada) : français (Canada)&#xA;French (Switzerland) : français (Suisse)&#xA;French (France) : français (France)&#xA;French (Luxembourg) : français (Luxembourg)&#xA;French (Monaco) : français (Monaco)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is it possible to capitalize &lt;em&gt;français&lt;/em&gt; somehow?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3187" LastActivityDate="2018-02-01T16:40:37.297" Title="Changing Sitecore predefined language display name" Tags="|multilingual|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9822" PostTypeId="2" ParentId="7306" CreationDate="2018-02-01T19:07:49.930" Score="0" Body="&lt;ol&gt;&#xA;&lt;li&gt;When you add a link component to a page, there is a CSS style option ‘show link in overlay’. &lt;/li&gt;&#xA;&lt;li&gt;Link to a page that has a “blank” page design (i.e. no header, footer, etc) and contains an RTE or whatever desired component as its content (this page content is your modal window content). &lt;/li&gt;&#xA;&lt;li&gt;Under Data -&gt; Overlays, insert an Overlay Content item. This allows you to specify a desired height/width via pixel or percentage for your modal window. &lt;/li&gt;&#xA;&lt;li&gt;Update overlay.scss for modal window styles.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1012" LastEditorUserId="1012" LastEditDate="2018-02-01T19:13:06.130" LastActivityDate="2018-02-01T19:13:06.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9824" PostTypeId="1" AcceptedAnswerId="11164" CreationDate="2018-02-01T23:07:57.080" Score="3" ViewCount="2485" Body="&lt;p&gt;Using Sitecore 8.1 Update and Solr 6.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After switching to Solr, I am having indexing problems. Sometime the index rebuild works, and sometimes it fails with a variety of:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR: [doc=sitecore://core/{31a3a929-c599-4dd3-91a6-f4a9487cc8b7}?lang=da&amp;amp;ver=1&amp;amp;ndx=sitecore_core_index] unknown field 'parameters'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for several different fields. And also:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR: [doc=sitecore://core/{31a3a929-c599-4dd3-91a6-f4a9487cc8b7}?lang=da&amp;amp;ver=1&amp;amp;ndx=sitecore_core_index] unknown field 'parameters'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can manually update the &lt;code&gt;schema.xml&lt;/code&gt;, but when I rebuild, it finds a new fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Shouldn't a new install of Solr just work?&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="2056" LastEditDate="2018-04-04T18:33:54.167" LastActivityDate="2018-04-04T19:13:11.297" Title="Switch to Solr - getting Unknown Field" Tags="|solr|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9825" PostTypeId="1" AcceptedAnswerId="9862" CreationDate="2018-02-01T23:22:42.200" Score="4" ViewCount="76" Body="&lt;p&gt;I'm trying to measure engagement &lt;em&gt;per product&lt;/em&gt; and I'm spinning my wheels a bit. Goals seems to be close to what I'm going for but &quot;engagement value&quot; is a one-dimensional metric when what I really need is something more like the ability to measure engagement with product_1 and compare that to engagement with product_2. Any ideas on where to look to set up a structure like that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I intend on comparing these values to decide which product should be promoted on the front page of the website when the user returns in order to help them pick up where they left off with greater ease.&lt;/p&gt;&#xA;" OwnerUserId="3189" LastActivityDate="2018-02-04T21:31:18.070" Title="Measure engagement on a per product basis" Tags="|personalization|engagement-plans|goals|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9826" PostTypeId="2" ParentId="9787" CreationDate="2018-02-02T00:13:39.640" Score="0" Body="&lt;p&gt;We used the same configuration on a recent project (WFFM with SQL data source, XDB disabled). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I raised the issue about the Detailed Reports Tab not working with Sitecore Support. I'm sorry to say that the response was that this tab will not work with with the SQL provider. As far as I know, it's a known limitation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tab uses tracking data (dropouts, failures). So with XDB turned off I guess it makes sense that it can't reference this data to generate the report.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apologies this was about 12 months ago and I no longer have access to the original support ticket to give you more details.&lt;/p&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2018-02-02T00:13:39.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9827" PostTypeId="2" ParentId="8129" CreationDate="2018-02-02T01:33:58.200" Score="0" Body="&lt;p&gt;In Sitecore pipelines, layout will be rendered first then renderings after. Therefore, you can retrieve Tempdata from Razor view of the layout and pass Tempdata's value as a rendering parameter. See my example below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In layout view, put this code snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// get data from Tempdata&#xA;var dataAsString = TempData[&quot;data&quot;];&#xA;&#xA;// pass data into rendering parameter&#xA;@Html.Sitecore().Rendering(&quot;RenderingPathOrId&quot;, new { data = dataAsString })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In rendering view, get your data from rendering parameter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var dataAsString = RenderingContext.Current.Rendering.Parameters[&quot;data&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Rendering parameter only accept &lt;code&gt;string&lt;/code&gt; type so if your Tempdata is an object then you need to Serialize it into &lt;code&gt;Json string&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know this is not a good way, because you have to put rendering directly in your code, but if you really want to use Tempdata then give it a try.&lt;/p&gt;&#xA;" OwnerUserId="3044" LastEditorUserId="2577" LastEditDate="2018-02-02T07:52:48.470" LastActivityDate="2018-02-02T07:52:48.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9828" PostTypeId="2" ParentId="9825" CreationDate="2018-02-02T03:21:32.043" Score="1" Body="&lt;p&gt;One approach would be to use patterns on the content. If each product page triggers you toward one pattern or another, then you could run your personalization on the home page based on the user's identified persona.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/pattern_cards&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/insession_personalization/pattern_cards&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-02-02T03:21:32.043" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9829" PostTypeId="2" ParentId="9812" CreationDate="2018-02-02T04:04:41.600" Score="2" Body="&lt;p&gt;No they are not, but there are two ways that I can think of to get around it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create aliases for each item to their original URL&lt;/li&gt;&#xA;&lt;li&gt;Create a custom &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline processor, similar to &lt;code&gt;ItemResolver&lt;/code&gt;, that locates the real item by performing an index search&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-02-02T04:04:41.600" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9830" PostTypeId="2" ParentId="7615" CreationDate="2018-02-02T06:46:09.160" Score="0" Body="&lt;p&gt;Just add a slash in front of the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;url: &lt;code&gt;api/Sitecore/FindAnAffiliate/GetAffiliate/&lt;/code&gt;,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;url: &lt;code&gt;/api/Sitecore/FindAnAffiliate/GetAffiliate/&lt;/code&gt;,&lt;/p&gt;&#xA;" OwnerUserId="3190" LastEditorUserId="605" LastEditDate="2018-02-02T07:47:38.800" LastActivityDate="2018-02-02T07:47:38.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9831" PostTypeId="2" ParentId="9808" CreationDate="2018-02-02T07:00:39.750" Score="0" Body="&lt;p&gt;I got the same error and resolved it by installing/re-installing Node.js.&#xA;&lt;a href=&quot;https://nodejs.org/en/download&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://nodejs.org/en/download&lt;/a&gt;&#xA;After successful installation 0pen CMD in Administrator mode and Go to your project directory to run npm install command.&#xA;Make sure the Path/npm install should be where the gulp-config.js file exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zLctG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zLctG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-02-02T07:00:39.750" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9832" PostTypeId="1" AcceptedAnswerId="9836" CreationDate="2018-02-02T07:34:33.797" Score="2" ViewCount="508" Body="&lt;p&gt;Recently I faced an issue in my project. I have to migrate few Sitecore items from one environment to another by creating package of them. But the issue is that few of the Sitecore items are &lt;strong&gt;Bucketed&lt;/strong&gt;. I tried to search on google but could not get a proper solution? So is it possible to create package of Bucketed items. If it is possible, please tell me how it can be achieved. Or is there any other work around of how can I migrate Bucketed items from one instance to another.&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="237" LastEditDate="2018-02-02T10:52:24.703" LastActivityDate="2018-02-02T10:52:24.703" Title="Creating Package of Bucketed Sitecore Items" Tags="|packages|buckets|package-designer|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9833" PostTypeId="2" ParentId="9832" CreationDate="2018-02-02T07:44:05.780" Score="1" Body="&lt;p&gt;You have to create package with bucket items, in the same way like normal items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jMpW1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jMpW1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create package with the parent item (the bucket) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to choose &lt;strong&gt;Add with Subitems&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/X8IDE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/X8IDE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you open generated zip files you will see all bucketable items serialized. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g4x0m.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g4x0m.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-02-02T07:44:05.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9834" PostTypeId="2" ParentId="9825" CreationDate="2018-02-02T08:00:55.053" Score="2" Body="&lt;p&gt;You need to set the goals on the products. Once the user triggers the goal on the product, this is recorded into MongoDB at the user session end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore stores those data into the &lt;em&gt;PageEvents&lt;/em&gt; which are then flushed into the Analytics Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the Analytics / Reporting Database, there is a table call &lt;code&gt;Fact_Conversions&lt;/code&gt;. All goals that have been triggered are stored into that table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NSTOe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NSTOe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see in the screenshot, you can have the relevant data which can help you to know which item has performed better.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Entity Framework, you can query the &lt;code&gt;Fact_Conversions&lt;/code&gt; table and filters those data to get the products which is best performing.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-02-02T08:00:55.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9835" PostTypeId="1" AcceptedAnswerId="9837" CreationDate="2018-02-02T09:00:51.783" Score="2" ViewCount="4756" Body="&lt;p&gt;I am migrating a project from 8.2 to 9, and moving indexes from Lucene to Solr. The default indexes are fine, but my custom index is throwing an exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;53416 08:51:21 ERROR Unable to connect to [https://localhost:8983/solr], Core: [hostname-9u1_search_web_index]&#xA;Exception: SolrNet.Exceptions.SolrConnectionException&#xA;Message: &amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=utf-8&quot;/&amp;gt;&#xA;&amp;lt;title&amp;gt;Error 404 Not Found&amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 404&amp;lt;/h2&amp;gt;&#xA;&amp;lt;p&amp;gt;Problem accessing /solr/hostname-9u1_search_web_index/schema. Reason:&#xA;&amp;lt;pre&amp;gt;    Not Found&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&#xA;Source: SolrNet&#xA;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&#xA;   at Sitecore.ContentSearch.SolrNetExtension.Impl.SolrBasicServerEx`1.GetSchema(String collection)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.InitializeSchema()&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.InitializeSolr()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (404) Not Found.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My configuration for the index as follows, which I've basically copied from the standard &lt;code&gt;sitecore_web_index&lt;/code&gt; config and just change the id &amp;amp; core properties:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;search_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;core&quot;&amp;gt;hostname-9u1_search_web_index&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsyncSingleInstance&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Fundamentals.Feature.Search.Infrastructure.Crawlers.LayoutOnlyCrawler, Fundamentals.Feature.Search&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/Content/SiteName/Home&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/Media Library&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;      &amp;lt;/index&amp;gt;                    &#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am new to Solr and my assumption is that this will work in the same way as Azure search; i.e defining the index in config will create the index in Solr without doing any configuration within Solr. Am I missing a step?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt; As per the accepted answer, I was indeed missing a step - unlike Azure search, you need to create the indexes (cores) in Solr. However I had to do something slightly different to the blog post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The blog post suggests there is a &quot;sitecore_configs&quot; configset  - there wasn't in my case, and the config for each core was located within each index under a 'conf' folder. So I just had to copy the contents from the sitecore_web_index into a new folder called 'sitecore_configs'. Then I could call the URL as suggested. Then I used the 'Populate Solr Managed Schema' command from the control panel in Sitecore, and then rebuilt.&lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="2727" LastEditDate="2018-03-23T09:09:29.743" LastActivityDate="2021-04-13T12:47:02.247" Title="SolrNet.Exceptions.SolrConnectionException when trying to configure custom Solr index" Tags="|content-search|solr|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9836" PostTypeId="2" ParentId="9832" CreationDate="2018-02-02T09:01:24.373" Score="2" Body="&lt;p&gt;As mentioned by our Climber, you can create the package just as with normal items.&#xA;But if you don't want the entire bucket and have no idea where to look, you could use the &quot;&lt;code&gt;Items dynamically&lt;/code&gt;&quot; option when inserting items in the Package Designer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will be asked for a root item (your bucket) and then there are several options to search for items to include in your package. This can be a regular search, or based on the creation/modification date, ...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you have set all parameters you can verify the result by clicking on the created &quot;&lt;code&gt;source&lt;/code&gt;&quot;. This will open a new tab in the Package Designer (called Source) and has the option to review your search parameters, set install options, but also to preview the result (which is nice to check if your parameters are correct).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FXIlG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FXIlG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that if you need to package new items, you probably also need the parent items (in this case the 'invisible' folders created in the bucket)..&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-02-02T09:01:24.373" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9837" PostTypeId="2" ParentId="9835" CreationDate="2018-02-02T09:36:49.343" Score="2" Body="&lt;p&gt;You do need to create your Solr core first. Pete Navarra wrote a nice post on &lt;a href=&quot;https://www.coria.com/en/insights/blog/Sitecore/how-to-make-a-custom-solr-core-and-use-it-via-sitecore-api&quot; rel=&quot;nofollow noreferrer&quot;&gt;setting up custom indexes with Solr&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You basically:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create your solr core (you can use the solr admin page for that)&lt;/li&gt;&#xA;&lt;li&gt;Add your config file with the custom index to Sitecore (and optionally the custom index configuration - but you seem to be using the default)&lt;/li&gt;&#xA;&lt;li&gt;Verify that your index is in the Indexing Manager and rebuild the index&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;ps: you will need to be able to create the core of course.. Pete's article has some information on the configsets, but solving your resource issue might be out of scope here. I think based on your error that the create is looking in the wrong place for it's config file.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2021-04-13T12:47:02.247" LastActivityDate="2021-04-13T12:47:02.247" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="9838" PostTypeId="1" CreationDate="2018-02-02T11:08:59.880" Score="3" ViewCount="1963" Body="&lt;p&gt;I have created a Sitecore instance and Synced the code from TFS server using TDS. While accessing the Items from Sitecore Content Editor ,the following error occurs.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [InvalidOperationException: Tracker.Current is not initialized]&#xA;   Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs args) +335&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, Boolean failIfNotExists) +39&#xA;   Sitecore.Analytics.Pipelines.StartAnalytics.StartAnalyticsPipeline.Run() +363&#xA;   Sitecore.Mvc.Analytics.Pipelines.MvcEvents.RequestBegin.StartTracking.Process(RequestBeginArgs args) +137&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +193&#xA;   Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +74&#xA;   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +923&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +157&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;1.Mongodb is running&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Xdb.tracking.enabled is true&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me out to solve the same. I am trying to setup Sitecore instance as local in my machine.&lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="3022" LastEditDate="2018-02-04T09:41:07.653" LastActivityDate="2018-02-04T09:41:07.653" Title="Tracker.Current is not initialized in Sitecore" Tags="|xdb|sitecore-client|" AnswerCount="1" CommentCount="0" ClosedDate="2018-02-02T12:05:51.827" ContentLicense="CC BY-SA 3.0" />
  <row Id="9839" PostTypeId="2" ParentId="8860" CreationDate="2018-02-02T11:15:49.987" Score="2" Body="&lt;p&gt;I am using SXA v1.6 in Sitecore 9.0.1 and still encountered the problem. The dataFolder fix still resolved the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The dataFolder settings variable is located in your &lt;code&gt;\App_Config\Sitecore.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;dataFolder&quot; value=&quot;C:\inetpub\wwwroot\xp0.sc\App_Data&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="73" LastEditDate="2018-02-02T12:07:13.483" LastActivityDate="2018-02-02T12:07:13.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9840" PostTypeId="2" ParentId="9838" CreationDate="2018-02-02T11:45:46.740" Score="0" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MxWVA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MxWVA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copy Hostname from &lt;strong&gt;C:\Windows\System32\drivers\etc\hosts&lt;/strong&gt; in &lt;strong&gt;Analytics.HostName&lt;/strong&gt; in Sitecore.Analytics.Tracking.Config as shown in screenshot. After that this should work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fpbaQ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fpbaQ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="3022" LastEditDate="2018-02-02T11:51:29.640" LastActivityDate="2018-02-02T11:51:29.640" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9841" PostTypeId="1" CreationDate="2018-02-02T13:36:17.843" Score="0" ViewCount="1534" Body="&lt;p&gt;I have created a local instance of the Sitecore on my machine.I need to track the count of visitors accessing my site. Since this is a local site, I will be opening in a different session from the same machine. I just need the count of how many times the page is visited.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore do this by default or do I need to write custom code to achieve this result?&lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="73" LastEditDate="2018-02-02T19:04:13.367" LastActivityDate="2018-02-03T07:03:31.097" Title="Counting how many times a page has been visited" Tags="|indexing|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9842" PostTypeId="2" ParentId="9841" CreationDate="2018-02-02T13:46:02.780" Score="1" Body="&lt;p&gt;Sitecore will track visits, but you will need to make sure the cookies are cleared or you use different browsers. Otherwise, it will think you are the same user doing multiple visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to make sure you have your analytics set up and working. You may trigger a bunch of visits, but if you do not see any data then you will need to investigate your logs for errors and look for SSE questions on those errors so that you can identify what is wrong with your analytics setup.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-02-02T13:46:02.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9843" PostTypeId="2" ParentId="8136" CreationDate="2018-02-02T13:57:17.857" Score="0" Body="&lt;p&gt;Yes, If you are configured your website in CMS only mode or you can say in xDB disabled mode then you need to follow these steps to configure your reportong properly&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, you need to take the empty Sitecore_Wffm SQL database that was placed in the %webroot%/Data folder and attach it to your SQL Server.&#xA;Next, you must add a new connection string in App_Config/ConnectionStrings.config for this database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes, the name of this connection string should be wfm.  In Sitecore.Forms.config, there is a WFM.ConnectionString setting that specifies the name of the connection string to use.  It is wfm out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;**For the record, while this step isn’t in the installation guide for 8.1-compliant versions of WFFM, I have seen it in official documentation somewhere, I just can’t seem to recall where.  And if it’s that difficult to find, it’s a problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, in Sitecore.WFFM.Dependencies.config, in the /sitecore/wffm/analytics node, there is an element called .  By default, this points to the analyticsFormsDataProvider that, according to the comments above it means:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;only form’s data from analytics sql and mongo db is involved in reporting (sql) and export (mongo) processes in this case you should be sure that xDb and tracker is on&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should be set to sqlFormsDataProvider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look a little closer at the configuration of the sqlFormsDataProvider in Sitecore.WFFM.Dependencies.config, it ALSO specifies the name of the WFFM connection string rather than reading the WFM.ConnectionString setting from Sitecore.Forms.config.  However, it’s wffm.  Because, of course.  Why not?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update this connection string name to match what is in Sitecore.Forms.config and you should be golden!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note- There is an bug in CMS only mode detailed data will not displayed&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/9787/detailed-reports-tab-in-form-report-is-showing-blank-in-wffm&quot;&gt;Detailed Reports tab in form report is showing blank in WFFM&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1499" LastActivityDate="2018-02-02T13:57:17.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9844" PostTypeId="2" ParentId="9841" CreationDate="2018-02-02T14:18:10.910" Score="2" Body="&lt;p&gt;Also make sure you have this setting on to allow the tracking of anonymous visitors. By default it is false and will not track anonymous: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Analytics.IndexAnonymousContacts&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here you can read more about &lt;a href=&quot;http://www.waitingimpatiently.com/tracking-anonymous-users-in-xdb-post-8-2-update-3/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Tracking anonymous users in Xdb post 8.2 update-3&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="35" LastEditDate="2018-02-02T20:52:16.833" LastActivityDate="2018-02-02T20:52:16.833" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9845" PostTypeId="2" ParentId="9841" CreationDate="2018-02-02T14:22:45.083" Score="5" Body="&lt;p&gt;Sitecore store all the data in collection db first (mongo db or starting from 9.0 you can also use SQL database for this), then transfers the data to reporting database (it will take around 20 min).&#xA;So you can try below senario if data is not appearing in reporting database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the anonymous visitors should be tracked in collection database, a couple of things you can try&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;clearing your cookies and try again so that sitecore does not think you are the same visitor&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In dev environment reduce your session timeout to a lesser value (Say 2 minutes, default is 20 mins)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check if your &lt;code&gt;SC_Analytics_global_cookie&lt;/code&gt; is getting refreshed with a different GUID (That guid is your contact ID)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Disable your &lt;code&gt;Sitecore.Analytics.RobotDetection.config&lt;/code&gt; file and then try again&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add &lt;code&gt;@Html.Sitecore().VisitorIdentification&lt;/code&gt; in your layout&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1499" LastEditorUserId="35" LastEditDate="2018-02-03T07:03:31.097" LastActivityDate="2018-02-03T07:03:31.097" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9846" PostTypeId="2" ParentId="9841" CreationDate="2018-02-02T15:41:01.327" Score="3" Body="&lt;p&gt;One other tip for your scenario. As you're generating test visits, not only do you need to clear cookies to appear as a different user, but at the end of each browsing session, you'll want to hit an endpoint (e.g. &lt;code&gt;aspx&lt;/code&gt; page or MVC action) which flushes your session:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.CurrentPage.Cancel();&#xA;Sitecore.Analytics.Tracker.Current.EndTracking();&#xA;HttpContext.Current.Session.Abandon();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will flush data immediately so you don't have to wait for the session to expire.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will likely also want to disable robot detection in a config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;    &amp;lt;setting name=&quot;Analytics.AutoDetectBots&quot;&amp;gt;&#xA;        &amp;lt;x:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/x:attribute&amp;gt;&#xA;    &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;setting name=&quot;Analytics.Robots.IgnoreRobots&quot;&amp;gt;&#xA;        &amp;lt;x:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/x:attribute&amp;gt;&#xA;    &amp;lt;/setting&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-02-02T15:41:01.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9847" PostTypeId="2" ParentId="9781" CreationDate="2018-02-02T16:02:53.053" Score="1" Body="&lt;p&gt;You can use &lt;code&gt;ContactRepository&lt;/code&gt; to load previous interactions:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactRepository contactRepository = Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepository;//or new ContactRepository();&#xA;IEnumerable&amp;lt;IInteractionData&amp;gt; lastInteraction = contactRepository.LoadHistoricalInteractions(contactid, visitsToLoad, pastDateTime, currentDateTime);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;visitsToLoad&lt;/code&gt; - amount of visits that you are interested in.(Could be &lt;code&gt;int.MaxValue&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;pastDateTime&lt;/code&gt; - from what date filter, could be &lt;code&gt;null&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;currentDateTime&lt;/code&gt; - to what date filter, could be &lt;code&gt;null&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-02-02T16:02:53.053" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9849" PostTypeId="1" CreationDate="2018-02-02T17:38:49.900" Score="3" ViewCount="202" Body="&lt;p&gt;After a user noticed us of the disappearance of a field value, I'm trying to audit what happened in more detail. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see from the backend 'History' table when the item was edited. But are there other details as for what was changed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks as if a 'Deselect All' was clicked by mistake, in a 'Selected' list.&#xA;The field is gone from the 'VersionedFields' table, so I don't have an 'Updated' timestamp value.&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="73" LastEditDate="2018-02-02T19:01:07.110" LastActivityDate="2019-09-13T12:32:54.837" Title="Auditing =&gt; History table =&gt; other places to look at for auditing of what was changed?" Tags="|content-editor|" AnswerCount="0" CommentCount="1" FavoriteCount="0" ClosedDate="2019-09-13T13:13:56.277" ContentLicense="CC BY-SA 3.0" />
  <row Id="9850" PostTypeId="2" ParentId="2345" CreationDate="2018-02-02T19:02:38.343" Score="3" Body="&lt;h3&gt;There is none, if you configured none.&lt;/h3&gt;&#xA;&lt;p&gt;By that I mean, Sitecore does not keep an audit trail for item changes. There's a few bits of information you can scrape together, but you've already listed those.&lt;/p&gt;&#xA;&lt;p&gt;If you want a full audit trail, you will have to write some code that hooks into &lt;code&gt;item:saved&lt;/code&gt; on the ContentDatabase and log it to disk. That will not help you retroactively however.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-02-02T19:02:38.343" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9851" PostTypeId="2" ParentId="9824" CreationDate="2018-02-02T20:06:17.050" Score="2" Body="&lt;p&gt;You have to configure your &lt;code&gt;schema.xml&lt;/code&gt; for each core. You can do that by going to &lt;strong&gt;Control Panel&lt;/strong&gt; and in the &lt;strong&gt;Indexing&lt;/strong&gt; tab click &lt;strong&gt;Generate the Solr Schema&lt;/strong&gt; file. Sitecore will add field definitions into &lt;code&gt;schema.xml&lt;/code&gt; file.&#xA;It doesn't work out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here is a very good, official walkthrouht about setting up a Solr for Sitecore&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-02-02T20:06:17.050" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9853" PostTypeId="5" CreationDate="2018-02-03T10:37:50.093" Score="0" Body="&lt;p&gt;A mobile phone, cellular phone, cell phone, cellphone, handphone, or hand phone, sometimes shortened to simply mobile, cell or just phone, is a portable telephone that can make and receive calls over a radio frequency link while the user is moving within a telephone service area. &lt;em&gt;Source: Wikipedia&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="312" LastEditDate="2021-03-03T08:22:14.757" LastActivityDate="2021-03-03T08:22:14.757" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9854" PostTypeId="4" CreationDate="2018-02-03T10:37:50.093" Score="0" Body="All mobile related questions that are directly and in-directly related to Sitecore" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-04T00:15:02.080" LastActivityDate="2018-02-04T00:15:02.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9855" PostTypeId="1" AcceptedAnswerId="9856" CreationDate="2018-02-03T11:56:34.830" Score="2" ViewCount="1960" Body="&lt;p&gt;The best practice for content editors is to check in Sitecore item after editiing is done.But they often don't follow this practice. So when some other Content editor comes to that item, he manually has to unlock item and Edit it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So is there a way we can get a list of &lt;strong&gt;all such locked items&lt;/strong&gt; and &lt;strong&gt;unlock them&lt;/strong&gt; programmatically instead of unlocking all them manually?&lt;/p&gt;&#xA;" OwnerUserId="3022" LastActivityDate="2020-04-24T06:25:44.520" Title="How to unlock sitecore items programmatically" Tags="|sitecore-api|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9856" PostTypeId="2" ParentId="9855" CreationDate="2018-02-03T12:01:30.110" Score="8" Body="&lt;p&gt;There is a &lt;strong&gt;Locking&lt;/strong&gt; API that you can use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1gDvs.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1gDvs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now it is up to you how you will process all items and unlock them. You can create a job, SPE (Sitecore Powershell Extensions) script.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-02-03T12:01:30.110" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9857" PostTypeId="2" ParentId="9855" CreationDate="2018-02-03T12:02:20.817" Score="1" Body="&lt;p&gt;I got a solution here in the link below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/2013/09/28/periodically-unlock-items-of-idle-users-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2013/09/28/periodically-unlock-items-of-idle-users-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can create a task and run after every predefined no of hours. e.g 4 hrs in below example&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;  &amp;lt;setting name=&quot;UnlockItems.ElapsedTimeWhenIdle&quot; value=&quot;00:04:00:00&quot; /&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code for UnlockItems class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Security.Accounts;&#xA;using Sitecore.Tasks;&#xA;using Sitecore.Web.Authentication;&#xA;&#xA;namespace Sitecore.Sandbox.Tasks&#xA;{&#xA;public class UnlockItems&#xA;{&#xA;    private static readonly TimeSpan ElapsedTimeWhenIdle = GetElapsedTimeWhenIdle();&#xA;&#xA;    public void UnlockIdleUserItems(Item[] items, CommandItem command, ScheduleItem schedule)&#xA;    {&#xA;        if (ElapsedTimeWhenIdle == TimeSpan.Zero)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        IEnumerable&amp;lt;Item&amp;gt; lockedItems = GetLockedItems(schedule.Database);&#xA;        foreach (Item lockedItem in lockedItems)&#xA;        {&#xA;            UnlockIfApplicable(lockedItem);&#xA;        }&#xA;    }&#xA;&#xA;    private static IEnumerable&amp;lt;Item&amp;gt; GetLockedItems(Database database)&#xA;    {&#xA;        Assert.ArgumentNotNull(database, &quot;database&quot;);&#xA;        return database.SelectItems(&quot;fast://*[@__lock='%owner=%']&quot;);&#xA;    }&#xA;&#xA;    private void UnlockIfApplicable(Item item)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;        if (!ShouldUnlockItem(item))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Unlock(item);&#xA;    }&#xA;&#xA;    private static bool ShouldUnlockItem(Item item)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;        if(!item.Locking.IsLocked())&#xA;        {&#xA;            return false;&#xA;        }&#xA;&#xA;        string owner = item.Locking.GetOwner();&#xA;        return !IsUserAdmin(owner) &amp;amp;&amp;amp; IsUserIdle(owner);&#xA;    }&#xA;&#xA;    private static bool IsUserAdmin(string username)&#xA;    {&#xA;        Assert.ArgumentNotNullOrEmpty(username, &quot;username&quot;);&#xA;        User user = User.FromName(username, false);&#xA;        Assert.IsNotNull(user, &quot;User must be null due to a wrinkle in the interwebs :-/&quot;);&#xA;        return user.IsAdministrator;&#xA;    }&#xA;&#xA;    private static bool IsUserIdle(string username)&#xA;    {&#xA;        Assert.ArgumentNotNullOrEmpty(username, &quot;username&quot;);&#xA;        DomainAccessGuard.Session userSession = DomainAccessGuard.Sessions.Find(session =&amp;gt; session.UserName == username);&#xA;        if(userSession == null)&#xA;        {&#xA;            return true;&#xA;        }&#xA;&#xA;        return userSession.LastRequest.Add(ElapsedTimeWhenIdle) &amp;lt;= DateTime.Now;&#xA;    }&#xA;&#xA;    private void Unlock(Item item)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;        try&#xA;        {&#xA;            string owner = item.Locking.GetOwner();&#xA;            item.Editing.BeginEdit();&#xA;            item.Locking.Unlock();&#xA;            item.Editing.EndEdit();&#xA;            Log.Info(string.Format(&quot;Unlocked {0} - was locked by {1}&quot;, item.Paths.Path, owner), this);&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(this.ToString(), ex, this);&#xA;        }&#xA;    }&#xA;&#xA;    private static TimeSpan GetElapsedTimeWhenIdle()&#xA;    {&#xA;        TimeSpan elapsedTimeWhenIdle;&#xA;        if (TimeSpan.TryParse(Settings.GetSetting(&quot;UnlockItems.ElapsedTimeWhenIdle&quot;), out elapsedTimeWhenIdle))&#xA;        {&#xA;            return elapsedTimeWhenIdle;&#xA;        }&#xA;&#xA;        return TimeSpan.Zero;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="3022" LastEditDate="2018-02-03T12:21:18.607" LastActivityDate="2018-02-03T12:21:18.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9859" PostTypeId="2" ParentId="9787" CreationDate="2018-02-04T06:45:11.077" Score="0" Body="&lt;p&gt;Yes this is a bug and sitecore support have registered the appropriate bug in the current version of the WFFM module. Please use the reference number 87110 for this bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They suggested us to hide this tab in CMS only mode.To hide the &quot;Detailed Reports&quot; tab, you can perform the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;go to the &quot;/sitecore/client/Applications/WFFM/Pages/FormReport/PageSettings/TabControl/Detailed Reports&quot; item in the &quot;core&quot; database,&lt;/li&gt;&#xA;&lt;li&gt;check the &quot;IsHidden&quot; field and save the item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1499" LastActivityDate="2018-02-04T06:45:11.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9860" PostTypeId="1" CreationDate="2018-02-04T18:26:22.850" Score="2" ViewCount="62" Body="&lt;p&gt;I've customized a commerce product generated template adding a few fields via field mapping as shown in the commerce getting started guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I would like to add some validation to those fields but I faced a problem: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;if I add a regex validation to the validation field (which works regularly). Next, when I updated this template using the update template job, I'm losing all the validation rule, because those rules were in Sitecore but not in Sitecore commerce.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to avoid this problem? I wish to avoid some event-related validation method.&lt;/p&gt;&#xA;" OwnerUserId="2638" LastEditorUserId="2727" LastEditDate="2018-02-05T08:53:07.930" LastActivityDate="2018-02-05T08:53:07.930" Title="Field validation in custom commerce product's property" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9861" PostTypeId="2" ParentId="5568" CreationDate="2018-02-04T20:10:51.660" Score="0" Body="&lt;p&gt;It seems that you have something wrong with caching of images(not necessary on Sitecore MediaLibrary Cache level).&#xA;You have 2 different keys:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;?as=False&amp;amp;bc=0&amp;amp;h=0&amp;amp;iar=False&amp;amp;mh=0&amp;amp;mw=0&amp;amp;sc=0&amp;amp;thn=False&amp;amp;w=0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;?as=False&amp;amp;bc=0&amp;amp;h=300&amp;amp;iar=False&amp;amp;mh=0&amp;amp;mw=0&amp;amp;sc=0&amp;amp;thn=False&amp;amp;w=1200&amp;amp;cha=l&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Based on this keys MediaLibrary cache should return different cached images.&#xA;If I were you I would look why cache return wrong image for request without cropping parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And now &lt;strong&gt;answer on your question about altering keys that are stored in the media cache&lt;/strong&gt;:&#xA;Media cache key is built based on &lt;code&gt;Sitecore.Resources.Media.MediaRequest&lt;/code&gt; parameters. Sitecore uses  Sitecore.Resources.Media.MediaUrlOptions properties and &lt;code&gt;CustomOptions&lt;/code&gt; of &lt;code&gt;MediaRequest&lt;/code&gt; to build cache key. It is hard to extend &lt;code&gt;MediaUrlOptions&lt;/code&gt;, but easy to add anything to &lt;code&gt;CustomOptions&lt;/code&gt;. &lt;a href=&quot;https://github.com/Antonytm/Dianoga/blob/3.0/src/Dianoga/MediaRequestHandler.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; is example how I am adding custom option inside &lt;code&gt;MediaRequestHandler&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MediaRequestHandler : Sitecore.Resources.Media.MediaRequestHandler&#xA;{&#xA;    protected override bool DoProcessRequest(HttpContext context, MediaRequest request, Media media)&#xA;    {&#xA;        if (context?.Request.AcceptTypes != null &amp;amp;&amp;amp; (context.Request.AcceptTypes).Contains(&quot;image/webp&quot;))&#xA;        {&#xA;            request.Options.CustomOptions[&quot;extension&quot;] = &quot;webp&quot;;&#xA;        }&#xA;&#xA;        return base.DoProcessRequest(context, request, media);&#xA;    }&#xA;&#xA;    private static bool AcceptWebP(HttpContext context)&#xA;    {&#xA;        return context?.Request.AcceptTypes != null &amp;amp;&amp;amp; (context.Request.AcceptTypes).Contains(&quot;image/webp&quot;);&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It works fine for me. I get additional &lt;code&gt;&amp;amp;extension=webp&lt;/code&gt; to key for requests, when it is required.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-02-04T20:10:51.660" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9862" PostTypeId="2" ParentId="9825" CreationDate="2018-02-04T21:31:18.070" Score="1" Body="&lt;p&gt;Thank you both for your answers. I did a bit more digging and came across this blog post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://ie.com.au/sitecore-personalisation-based-on-highest-ranking-profile-key&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://ie.com.au/sitecore-personalisation-based-on-highest-ranking-profile-key&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This achieves exactly what I need to do using Personas and Profiles. It seemed like the neatest and most concise way to achieve my goal so I followed his method.&lt;/p&gt;&#xA;" OwnerUserId="3189" LastActivityDate="2018-02-04T21:31:18.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9863" PostTypeId="1" CreationDate="2018-02-05T02:25:07.897" Score="0" ViewCount="1240" Body="&lt;p&gt;I have downloaded Sitecore 9 on premises package and following the guide for Sitecore installation. When I try to install, it gives out the following error every time &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5kib5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5kib5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It gives out an error for &lt;code&gt;parameter cannot be found that matches parameter name 'SqlServer'&lt;/code&gt;. Whereas in the &lt;code&gt;xconnect-xp0.json&lt;/code&gt; file, there is a parameter defined &quot;&lt;code&gt;SqlSever&lt;/code&gt;&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have not made any change to the configuration files downloaded though the developer portal for Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My machine configurations are following &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Windows 10&#xA;Powershell 5.1&#xA;Solr 6.2.2&#xA;Sitecore 9.0.0 rev. 171002&#xA;SQL Server 2014&lt;/p&gt;&#xA;" OwnerUserId="3200" LastEditorUserId="2727" LastEditDate="2018-02-05T06:55:09.713" LastActivityDate="2018-02-05T07:04:40.313" Title="Sitecore installation framework fails parameter error" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="1" ClosedDate="2018-06-11T07:38:39.137" ContentLicense="CC BY-SA 3.0" />
  <row Id="9864" PostTypeId="1" CreationDate="2018-02-05T04:41:28.613" Score="2" ViewCount="1293" Body="&lt;p&gt;We are getting below error while login as non-admin user and accessing the Sitecore items&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;The security settings for the current language prevent you from&#xA;  seeing this item. To continue, select another language from the&#xA;  Language drop-down list on the Versions tab.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have check the below post and language &lt;code&gt;read/write&lt;/code&gt; access already there to the user &#xA;&lt;a href=&quot;https://stackoverflow.com/questions/16243493/sitecore-cant-access-content-items&quot;&gt;https://stackoverflow.com/questions/16243493/sitecore-cant-access-content-items&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works fine, only when I recycle app pool. But reoccurring again and again in every week or 2 differences.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any permanent solution for this? I am using Sitecore 8.1 Update 3.&lt;/p&gt;&#xA;" OwnerUserId="579" LastEditorUserId="2890" LastEditDate="2018-02-16T07:59:55.867" LastActivityDate="2023-09-14T15:20:41.780" Title="Non-admin user facing issue while accessing Sitecore items" Tags="|sitecore-client|security|role-management|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9865" PostTypeId="2" ParentId="9863" CreationDate="2018-02-05T04:55:47.923" Score="1" Body="&lt;p&gt;You are trying to install XP0 instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;a href=&quot;https://dev.sitecore.net/~/media/CBD83D3FE7CA470297CAA7807D1DB296.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;installation guide&lt;/a&gt; you have &lt;strong&gt;&quot;Database Requirements&quot;&lt;/strong&gt; where it say Sql Server 2014 is not supported for XP instances, it support just XM instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pfM2y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pfM2y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to install Sql Server SP1 instance.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-02-05T04:55:47.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9866" PostTypeId="1" AcceptedAnswerId="9869" CreationDate="2018-02-05T06:24:34.137" Score="1" ViewCount="701" Body="&lt;p&gt;I've to develop a custom field type with auto complete functionality. If content author start typing in this field then it will show autocomplete data from external database. On focus out of this field, I want to populate some other fields from external database. Can we do this with Custom field types? I looked into &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/81/working_with_actions_and_validations/fields/create_a_custom_field_type&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; article but didn't find any logic for focus out and autocomplete. Please guide me how can I achieve this. I am using sitecore 8.2 Update 6. &lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="803" LastEditDate="2018-02-05T06:39:13.353" LastActivityDate="2018-02-05T07:12:14.977" Title="Custom Sitecore field type with auto complete and focus out event" Tags="|custom-field|" AnswerCount="1" CommentCount="1" ClosedDate="2018-02-05T13:47:18.680" ContentLicense="CC BY-SA 3.0" />
  <row Id="9867" PostTypeId="2" ParentId="9863" CreationDate="2018-02-05T06:48:34.420" Score="1" Body="&lt;p&gt;Tucked towards the bottom of your error it says there is an unrecognised escape sequence in your json file. This means the contents have not been parsed and mapped into the SIF engine for processing, this causes the chain of errors you are seeing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you haven't made changes to the json file in question (xconnect-xp0 by the looks of things), please contact support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: on a second look, that doesn't seem to be the whole error message (there's a trailing '}') on the first line of your screenshot. Was there a json parsing error above too? The SIF engine can't do anything if there's no valid Json passed in.&lt;/p&gt;&#xA;" OwnerUserId="128" LastEditorUserId="128" LastEditDate="2018-02-05T07:04:40.313" LastActivityDate="2018-02-05T07:04:40.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9869" PostTypeId="2" ParentId="9866" CreationDate="2018-02-05T07:12:14.977" Score="2" Body="&lt;p&gt;I think the most flexible solution is to use the &lt;code&gt;iframe&lt;/code&gt; field type, because it allows you to easily implement your own frontend and backend implementation. In the past I did something like this, but &lt;a href=&quot;https://trnktms.wordpress.com/2017/04/06/sitecore-iframe-field-basics/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; is the main idea how you can achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore you need to use the &lt;code&gt;iframe&lt;/code&gt; field type:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Grw7i.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Grw7i.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;To make this path work I need to map this route:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines;&#xA;using System.Web.Mvc;&#xA;using System.Web.Routing;&#xA;&#xA;namespace MyProject.Pipelines&#xA;{&#xA;    public class RegisterRoutes&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            RouteTable.Routes.MapRoute(&quot;SimpleField&quot;, &quot;myFields/SimpleField/Render&quot;, new { controller = &quot;SimpleField&quot;, action = &quot;Render&quot; });&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can create your own Controller and View:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using System.Web.Mvc;&#xA;&#xA;namespace MyProject.Controllers&#xA;{&#xA;    public class SimpleFieldController : Controller&#xA;    {&#xA;        public ActionResult Render()&#xA;        {&#xA;            return View(&quot;~/Views/SimpleField/Render.cshtml&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;View:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link href=&quot;https://fonts.googleapis.com/css?family=Open+Sans:400,300italic,400italic,600italic,700italic,300,600,700,800&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/sitecore/shell/themes/standard/default/Default.css&quot; /&amp;gt;&#xA;&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/sitecore/shell/themes/standard/default/Content Manager.css&quot; /&amp;gt;&#xA;&amp;lt;style&amp;gt;&#xA;    #ll-fields {&#xA;        padding: 10px 10px 10px 10px;&#xA;    }&#xA;&amp;lt;/style&amp;gt;&#xA;&amp;lt;div id=&quot;ll-fields&quot; class=&quot;scEditorSections&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;scEditorFieldMarker&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;scEditorFieldLabel&quot;&amp;gt;Text:&amp;lt;/div&amp;gt;&#xA;        &amp;lt;div&amp;gt;&#xA;            &amp;lt;input type=&quot;text&quot; id=&quot;ll-text&quot; class=&quot;scContentControl scCombobox&quot; /&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;/scripts/field/field-base.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;/scripts/field/text-field.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&amp;lt;script&amp;gt;&#xA;    textField.getValue();&#xA;&#xA;    document.getElementById('ll-text').onchange = function () {&#xA;        textField.setValue();&#xA;    };&#xA;&#xA;    textField.updateIframeDisplaySettings();&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see in the View it contains 2 important JS references, they are doing the dirty job:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;field-base.js&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function fieldBase () {}&#xA;&#xA;fieldBase.getParentIframe = function () {&#xA;    var iframes = window.parent.document.getElementsByTagName('iframe');&#xA;    var parent;&#xA;    Array.prototype.forEach.call(iframes, function (el, i) {&#xA;        if (fieldBase.getIframeDocument(el) === window.document) {&#xA;            parent = el;&#xA;            return;&#xA;        }&#xA;    });&#xA;    return parent;&#xA;};&#xA;&#xA;fieldBase.getIframeDocument = function (iframe) {&#xA;    return iframe.contentDocument || iframe.contentWindow.document;&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;text-field.js&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function textField() { }&#xA;&#xA;textField.setValue = function () {&#xA;    fieldBase.getParentIframe().setAttribute('sc_value', document.getElementById('ll-text').value);&#xA;}&#xA;&#xA;textField.getValue = function () {&#xA;    document.getElementById('ll-text').value = fieldBase.getParentIframe().getAttribute('sc_value');&#xA;}&#xA;&#xA;textField.updateIframeDisplaySettings = function () {&#xA;    var parentIframe = fieldBase.getParentIframe();&#xA;    parentIframe.style = &quot;height: 87px&quot;;&#xA;    parentIframe.scrolling = &quot;no&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Instead of the &lt;strong&gt;text-field.js&lt;/strong&gt; you can use your own logic for the autocomplete and in the Controller Action you can retrieve the data from your external database.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2018-02-05T07:12:14.977" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9871" PostTypeId="1" CreationDate="2018-02-05T07:29:55.487" Score="2" ViewCount="591" Body="&lt;p&gt;We are using Azure search. This is a website search. End user enters the keyword and the pages where it is present in the content, are returned as search results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The functionality works fine when the page is browsed in the English version and the keyword is in English, but Thai-Thai is not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any particular way to index the content for a multi-lingual site.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string index = string.Format(&quot;sitecore_{0}_index&quot;, Context.Database.Name.ToLower());&#xA;&#xA;using (var context = ContentSearchManager.GetIndex(index).CreateSearchContext())&#xA;{&#xA;  IQueryable&amp;lt;SearchResultItem&amp;gt; query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;              .Where(x =&amp;gt; x.Paths.Contains(ID.Parse(SitecoreUtility.GetHomeItem().ID)) &amp;amp;&amp;amp;&#xA;              x.Content.Contains(keywords) &amp;amp;&amp;amp; x.Language == Sitecore.Context.Language.Name);&#xA;&#xA;  if (query != null &amp;amp;&amp;amp; query.Count() &amp;gt; 0)&#xA;  {&#xA;     //process search result&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have followed the solution &lt;a href=&quot;https://sitecore.stackexchange.com/questions/7971/how-to-search-item-content-in-a-rendering-with-multilist-fields?rq=1&quot;&gt;here&lt;/a&gt; to build the _content field value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;if&lt;/code&gt; condition fails for Thai search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I modified it and found out that it actually returns no results for this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IQueryable&amp;lt;SearchResultItem&amp;gt; querytest = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                  .Where(x =&amp;gt; x.Paths.Contains(ID.Parse(SitecoreUtility.GetHomeItem().ID)) &amp;amp;&amp;amp;&#xA;                x.Language == Sitecore.Context.Language.Name);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm only searching for page items that are under the &quot;Home&quot; item.&#xA;Does it mean, the Thai page items werent indexed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 version 3&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="2727" LastEditDate="2018-03-08T08:07:59.467" LastActivityDate="2018-09-04T12:01:32.383" Title="Search not working in multi-language site" Tags="|content-search|multilingual|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9874" PostTypeId="1" CreationDate="2018-02-05T10:10:28.307" Score="0" ViewCount="630" Body="&lt;p&gt;I am trying to inspect a package created by the package designer. I extract the zip file into my temp folder ok, but when I open that extracted folder and try to extract the inner &lt;code&gt;package.zip&lt;/code&gt; package, I keep getting the Windows error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Windows cannot open the folder.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The Compressed (zipped) Folder 'C:\Temp\xxxxxxxx\package.zip' is invalid.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have tried re-downloading the package from Sitecore, but I get the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8mV84.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8mV84.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2022-11-15T02:14:58.017" Title="Package Extraction - Windows cannot open the folder" Tags="|packages|package-designer|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9875" PostTypeId="5" CreationDate="2018-02-05T10:12:53.033" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-05T10:12:53.033" LastActivityDate="2018-02-05T10:12:53.033" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9876" PostTypeId="4" CreationDate="2018-02-05T10:12:53.033" Score="0" Body="All questions related to Sitecore Machine Learning module.and its implementation." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-05T10:31:04.550" LastActivityDate="2018-02-05T10:31:04.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9878" PostTypeId="2" ParentId="9871" CreationDate="2018-02-05T10:43:46.530" Score="2" Body="&lt;p&gt;Try this query &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IQueryable&amp;lt;SearchResultItem&amp;gt; querytest = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;(new CultureExecutionContext(Sitecore.Context.Language.CultureInfo))&#xA;              .Where(x =&amp;gt; x.Paths.Contains(ID.Parse(SitecoreUtility.GetHomeItem().ID)));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Instead of your current query &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IQueryable&amp;lt;SearchResultItem&amp;gt; querytest = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;              .Where(x =&amp;gt; x.Paths.Contains(ID.Parse(SitecoreUtility.GetHomeItem().ID)) &amp;amp;&amp;amp;&#xA;            x.Language == Sitecore.Context.Language.Name);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See if you get any results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's also worth looking into your search index to see what documents are in there, this blog should help you get startedf - &lt;a href=&quot;https://www.geekhive.com/buzz/post/2017/05/viewing-indexed-azure-search-content-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.geekhive.com/buzz/post/2017/05/viewing-indexed-azure-search-content-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="143" LastActivityDate="2018-02-05T10:43:46.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9879" PostTypeId="1" AcceptedAnswerId="9886" CreationDate="2018-02-05T10:44:40.623" Score="2" ViewCount="1134" Body="&lt;p&gt;I have &lt;strong&gt;Sitecore Version 8.2&lt;/strong&gt; .After the plain installation  &lt;em&gt;Experience Analytics,FEM , Experience Profile&lt;/em&gt; are seen initially at the launch pad of the Sitecore. But after installing the Projects into Sitecore those features are missing. I checked the License file of the Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;`Sitecore.Xdb.Base` has a validity till Aug 2018.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The below is the screenshot of latest Sitecore Launchpad&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EcvDu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EcvDu.png&quot; alt=&quot;Sitecore Launchpad With Missing Analytics&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Sitecore.XDb.config&lt;/code&gt; configuration file is as follows &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!--  XDB ENABLED&#xA;            Determines whether xDB is enabled or not.&#xA;            Default value: true&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!--  XDB DISABLED PAGE HANDLER&#xA;            The URL of the page that is displayed when the Xdb is disabled. &#xA;            All applications that depend on the Xdb must redirect to this page when Xdb is disabled.&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;XdbDisabledUrl&quot; value=&quot;/sitecore/service/xdb/disabled.aspx&quot;/&amp;gt;&#xA;&#xA;      &amp;lt;!--  XDB TRACKING ENABLED&#xA;            Determines whether tracking is enabled or not.&#xA;            Default value: true&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!--  XDB TRACKING - KEY BEHAVIOR CACHE - MAXIMUMCACHEENTRYCOUNT&#xA;            Specifies the maximum number of items that you can store in the cache for a given category (goals, page events, etc.).&#xA;            Default: 50&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Tracking.KeyBehaviorCache.MaximumCacheEntryCount&quot; value=&quot;50&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!--  XDB TRACKING - KEY BEHAVIOR CACHE - MAXIMUMINTERACTIONOPERIOD&#xA;            Specifies the maximum time period (compared against start date time) for interactions that can be included in cache rebuilds or updates.&#xA;            Default: 30 days&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Tracking.KeyBehaviorCache.MaximumInteractionPeriod&quot; value=&quot;30.00:00:00&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!--  XDB TRACKING - KEY BEHAVIOR CACHE - MAXIMUMINTERACTIONCOUNT&#xA;            Specifies the maximum number of interactions that can be included in cache rebuilds or updates&#xA;            Default: 25&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;Xdb.Tracking.KeyBehaviorCache.MaximumInteractionCount&quot; value=&quot;25&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.Initialize.ShowXdbInfo, Sitecore.Analytics&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel']&quot;/&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="2727" LastEditDate="2018-02-06T14:04:18.993" LastActivityDate="2018-02-06T14:04:18.993" Title="Experience analytics and Profile icon missing on launch pad" Tags="|sitecore-client|experience-analytics|experience-profile|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9880" PostTypeId="2" ParentId="9879" CreationDate="2018-02-05T11:05:37.407" Score="2" Body="&lt;p&gt;It seems your Analytics is disabled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside &lt;strong&gt;Website\App_Config\Include&lt;/strong&gt; folder, open &lt;strong&gt;Sitecore.Xdb.config&lt;/strong&gt; file and set as true as shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and also make below changes&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3022" LastActivityDate="2018-02-05T11:05:37.407" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9881" PostTypeId="1" CreationDate="2018-02-05T11:22:29.313" Score="1" ViewCount="115" Body="&lt;p&gt;I followed the steps provided to set up the Sitecore &#xA;creative exchange live: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/creative_exchange/modify_site_design_with_creative_exchange_live&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/designing/creative_exchange/modify_site_design_with_creative_exchange_live&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, upon saving the HTML using visual studio code, I have encountered the issue below. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/6DgcV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6DgcV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas, where is the bottle neck? I am pretty sure I have:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Installed the npm&lt;/li&gt;&#xA;&lt;li&gt;Enabled the &lt;code&gt;z.SPE.Sync.Enabler.Gulp.config&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;Updated the &lt;code&gt;config.js&lt;/code&gt; from the gulp folder to point to my Sitecore local instance. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What am I missing? &lt;/p&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="2727" LastEditDate="2018-02-06T13:23:20.403" LastActivityDate="2018-02-06T13:23:20.403" Title="Sitecore SXA - Exception calling &quot;Import&quot; with &quot;1&quot; argument(s): &quot;Value cannot be null" Tags="|sxa|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9883" PostTypeId="1" AcceptedAnswerId="9884" CreationDate="2018-02-05T11:43:15.307" Score="3" ViewCount="4898" Body="&lt;p&gt;In a project, I have implemented SOLR search. I am able to get Items from search, based on template name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a scenario,I have to get items  using Search from a &lt;strong&gt;MultiList field which are selected.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please provide suggestions how this can be achieved?&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="73" LastEditDate="2018-02-14T19:05:12.313" LastActivityDate="2018-02-14T19:05:12.313" Title="How to get MultiList selected items in SOLR search" Tags="|sitecore-client|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9884" PostTypeId="2" ParentId="9883" CreationDate="2018-02-05T11:54:15.023" Score="4" Body="&lt;p&gt;I recommend to use ComputedIndexField for your case. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Computed fields are a great way of storing calculated information while Sitecore indexes your items as opposed to using more resource to calculate it on the fly for use in your sublayouts/layouts.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ColorField: AbstractComputedIndexField&#xA;&#xA;{  &#xA;&#xA;public string FieldName { get; set; }&#xA;public string ReturnType { get; set; }&#xA;&#xA;public override object ComputeFieldValue(IIndexable indexable)&#xA;{&#xA;  var item = indexable as SitecoreIndexableItem;&#xA;&#xA;  MultilistField f = item.Fields[&quot;Colors&quot;];&#xA;&#xA;  if (f != null)&#xA;  {&#xA;     var multilist = f.GetItems();&#xA;     if (multilist == null || multilist.Length == 0)&#xA;     return null;&#xA;&#xA;     return string.Join(&quot; &quot;, multilist.Select(t =&amp;gt; t[&quot;Name&quot;]));&#xA;  }&#xA;&#xA;   return null;&#xA;  }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to register your custom computed field : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;colorcustomfield&quot; returnType=&quot;string&quot;&amp;gt;YourNamespace.ColorField,YourAssembly&amp;lt;/field&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to extend SearchResult item class : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class  CustomSearchResultItem&#xA;{&#xA;[IndexField(&quot;colorcustomfield&quot;)]&#xA;public virtual string ColorField { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can use my code if you want to search for Color in a multilist field &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var index = ContentSearchManager.GetIndex(indexName);&#xA;   using (var context = index.CreateSearchContext())&#xA;   {&#xA;     var query = context.GetQueryable&amp;lt;CustomSearchResultItem&amp;gt;()&#xA;                .Where(item =&amp;gt; item.ColorField.Contains(&quot;Red&quot;))&#xA;                .ToList();&#xA;   }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-02-05T12:22:14.257" LastActivityDate="2018-02-05T12:22:14.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9885" PostTypeId="2" ParentId="9883" CreationDate="2018-02-05T11:56:03.497" Score="4" Body="&lt;p&gt;Value from your multilist field in solr will look like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;multilistfield_sm&quot;:[&quot;c42546c15d30434b98bfa9f421165ea5&quot;,&#xA;  &quot;3cf0df1b900147e88da7ab7c6fb5e236&quot;,&#xA;  &quot;7185ea8a03474d95aacaf991917b7ed1&quot;,&#xA;  &quot;9b5672f57f6b4e01a077e8f6deb0c3b1&quot;,&#xA;  &quot;be945209f663495a91e75df145daff1b&quot;,&#xA;  &quot;e815fa1cc2a34525be4208d88777c6b0&quot;,&#xA;  &quot;28f13cabd6c041fea529ca74081c0d69&quot;],&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can define your custom search result item and add your field to it, like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomSearchResultItem&#xA;{&#xA;    [IndexField(&quot;multilistfield_name&quot;)]&#xA;    [DataMember]&#xA;    [TypeConverter(typeof(IndexFieldEnumerableConverter))]&#xA;    public virtual IEnumerable&amp;lt;ID&amp;gt; MultilistField { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can easly query by this field or get value of this field:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex(indexName);&#xA;using (var context = index.CreateSearchContext())&#xA;{&#xA;    var query = context.GetQueryable&amp;lt;CustomSearchResultItem&amp;gt;()&#xA;                .Where(item =&amp;gt; item.MultilistField.Contains(someId))&#xA;                .ToList();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-02-05T11:56:03.497" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9886" PostTypeId="2" ParentId="9879" CreationDate="2018-02-05T12:22:18.877" Score="4" Body="&lt;p&gt;I had the same issue previously. Please check through the &lt;code&gt;showconfig.aspx&lt;/code&gt; page which merge all the sitecore config files to one, to see if there are any other configs which have overwritten the default sitecore setting for the Sitecore Analytics.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-02-05T12:22:18.877" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9888" PostTypeId="1" CreationDate="2018-02-05T13:30:07.307" Score="0" ViewCount="506" Body="&lt;p&gt;How do i  Exclude Media Library From  Lucene Search /Indexing in 8.2 ??&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="2727" LastEditDate="2018-03-14T11:06:46.313" LastActivityDate="2018-03-14T11:06:46.313" Title="Exclude Media Library From Lucene Search /Indexing" Tags="|media-library|lucene|" AnswerCount="1" CommentCount="4" ClosedDate="2018-02-05T15:31:46.603" ContentLicense="CC BY-SA 3.0" />
  <row Id="9889" PostTypeId="2" ParentId="9888" CreationDate="2018-02-05T13:49:55.640" Score="1" Body="&lt;p&gt;I would not &lt;code&gt;exclude&lt;/code&gt; the media library and focus on &lt;code&gt;including&lt;/code&gt; only the folders you want. I would also make sure that you are not doing this to the master index as the Sitecore content editor uses the for its core functionality. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the locations section of your search config file to define explicitly which folder you want to include.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;    &amp;lt;crawlerClientA type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;        &amp;lt;Root&amp;gt;/sitecore/content/ClientA/Home/&amp;lt;/Root&amp;gt;&#xA;    &amp;lt;/crawlerClientA&amp;gt;&#xA;    &amp;lt;crawlerClientB type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;        &amp;lt;Root&amp;gt;/sitecore/content/Clientb/Home/&amp;lt;/Root&amp;gt;&#xA;    &amp;lt;/crawlerClientB&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-02-05T13:49:55.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9890" PostTypeId="1" AcceptedAnswerId="9895" CreationDate="2018-02-05T15:35:14.997" Score="4" ViewCount="636" Body="&lt;p&gt;I have some code to trigger goals (events) and add additional data to them, based upon &lt;a href=&quot;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-events/trigger-custom-event/index.html#capturing-custom-goal-and-event-data&quot; rel=&quot;nofollow noreferrer&quot;&gt;this documentation&lt;/a&gt;. The additional data is in the &lt;code&gt;Data&lt;/code&gt; attribute and we also set the &lt;code&gt;DataKey&lt;/code&gt; but no &lt;code&gt;CustomValues&lt;/code&gt;. This works perfectly - we can see the data in the database (xdb shards).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the experience profile, we can also find the triggered goals. But we can't see the extra data of the goal anywhere. In fact, we can't even find a spot where the data should be shown..  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The goal is triggered when a whitepaper is downloaded. The custom data will identify the whitepaper (I don't want to create a goal for each whitepaper).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my question is: can this data, which is actually not that custom as I am still using the default &lt;code&gt;Data&lt;/code&gt; property and not the &lt;code&gt;CustomValues&lt;/code&gt;, be visualized in the Experience Profile? (and how)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-02-07T14:08:39.530" Title="Displaying custom event data in Experience Profile" Tags="|experience-profile|goals|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9891" PostTypeId="1" CreationDate="2018-02-05T16:44:43.473" Score="1" ViewCount="518" Body="&lt;p&gt;I am getting an &lt;code&gt;Application access denied.&lt;/code&gt; message when viewing the roles, when trying to edit a personization rule (&quot;where the current user is a member of the specific role&quot;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click &lt;code&gt;specific&lt;/code&gt; to bring up the window to choose the role(s), I get an &lt;code&gt;Application access denied&lt;/code&gt;. error message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works when logged in as an admin, but not an editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am guessing, I need to assign a specific role, or set access somewhere, but I'm unsure where.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should add, this is in Sitecore 9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am personalizing one of the controls on the page (same error if done view Content Editor or Experience Editor).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is done as an editor (A user with the roles sitecore\Designer, sitecore\Author.. I later tried adding sitecore\Analytics Content Profiling and sitecore\Analytics Personalization but this didn't fix issue)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 1: Go to final layout edit screen, and choose control I want to personize..&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nnPWC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nnPWC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 2: Default Personization screen&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EUe1K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EUe1K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 3: Add a new &lt;code&gt;Rule&lt;/code&gt; choosing &lt;code&gt;where the current user is a member of the specific role&lt;/code&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/A7HRr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A7HRr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 4: When I click &lt;code&gt;Specific&lt;/code&gt; to bring up screen to choose roles, I get below error&#xA;&lt;a href=&quot;https://i.stack.imgur.com/kop8P.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kop8P.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I try the above as an admin, I get the expected screen without error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dooZC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dooZC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2302" LastEditorUserId="2302" LastEditDate="2018-02-06T08:07:23.557" LastActivityDate="2024-01-08T04:07:10.850" Title="&quot;Application access denied.&quot; when viewing roles" Tags="|personalization|user-management|role-management|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9893" PostTypeId="1" AcceptedAnswerId="9894" CreationDate="2018-02-05T17:58:39.790" Score="7" ViewCount="1226" Body="&lt;p&gt;We want to use JSS (&lt;a href=&quot;https://jss.sitecore.net/#/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/#/&lt;/a&gt;) for headless development and there are a couple of things that are not very clear in the documentation. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We want to preserve XP Editor functionality. Does this require the javascript app to run in-proc, that is, within the Sitecore instance (integrated mode)? Or said differently, when we deploy the frontend app to a totally different server than the Sitecore CM one, is Sitecore XP editor support provided?&lt;/li&gt;&#xA;&lt;li&gt;Same question for Sitecore analytics functionality.&lt;/li&gt;&#xA;&lt;li&gt;If you want to use code-first approach, you must go with the integrated mode? &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="1671" LastEditDate="2018-02-08T04:48:03.133" LastActivityDate="2018-02-08T04:48:03.133" Title="Sitecore 9 JSS implementation" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9894" PostTypeId="2" ParentId="9893" CreationDate="2018-02-05T19:12:24.253" Score="13" Body="&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;For Experience Editor support, you would need to run what we call &lt;a href=&quot;https://jss.sitecore.net/#/application-modes?id=integrated-mode&quot; rel=&quot;noreferrer&quot;&gt;&quot;integrated&quot; mode&lt;/a&gt;. The JS app will be rendered by node.js on the same CM server (but out of proc). This will enable personalization and MV testing features. You cannot add Experience Editor on top without full Sitecore CM instance and our JS view engine bit in JSS.Server package.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For the tracking/analytics to work, the JSS.server needs to be active on the Sitecore Content Delivery servers (you don't need to deploy the JS app there). If you want server-side rendering for the app, you can deploy it under node.js/express using our &lt;a href=&quot;https://github.com/Sitecore/jss/tree/master/samples/node-express-ssr&quot; rel=&quot;noreferrer&quot;&gt;open sourced scaffolding&lt;/a&gt; as example. If you want to use an alternative server for SSR, you would need to replicate some of the http proxy middleware to facilitate personalization, etc.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Code-first is not tied to integrated mode specifically. It is intended to bootstrap the items required for the app to run. Either you start code-first or not, the &quot;Integrated&quot; mode is there to enable full management of your app inside the Experience Editor tool.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-02-05T19:12:24.253" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9895" PostTypeId="2" ParentId="9890" CreationDate="2018-02-05T19:55:50.607" Score="6" Body="&lt;p&gt;The Goal data is not automatically show in experience profile. So you would need to do some SPEAK UI editing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add more columns to the Goal View tab in the Experience Profile by adding new items under /sitecore/client/Applications/ExperienceProfile/Contact/PageSettings/Tabs/Activity/Activity Subtabs/Goals/GoalsPanel/Goal. So you'd add a new item that defines the Data Column. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a pretty good article on the topic:&lt;br&gt;&#xA;&lt;a href=&quot;https://jonathanrobbins.co.uk/2016/05/31/display-context-of-sitecore-goal-in-experience-profile/&quot; rel=&quot;noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2016/05/31/display-context-of-sitecore-goal-in-experience-profile/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2018-02-05T19:55:50.607" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9897" PostTypeId="1" AcceptedAnswerId="9913" CreationDate="2018-02-05T23:12:50.933" Score="7" ViewCount="7371" Body="&lt;p&gt;I'm working in a Helix-ish solution on Sitecore 8.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't seem to register any WebAPI controllers. The routes are fine. I've dug pretty far into the &lt;code&gt;GlobalConfiguration&lt;/code&gt; and determined that it's not even registering any of my controllers (&lt;code&gt;GlobalConfiguration.Configuration.Services.GetHttpControllerSelector().GetControllerMapping().ToList()&lt;/code&gt; turns up 68 Controllers, none of which are mine)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The controller ends with Controller&lt;/li&gt;&#xA;&lt;li&gt;it extends ApiController&lt;/li&gt;&#xA;&lt;li&gt;I've added the registration to the initialize pipeline (&lt;code&gt;patch:after=&quot;*[@type='Sitecore.Mvc.Pipelines.Initialize.InitializeCommandRoute, Sitecore.Speak.Client']&quot;&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;It appears in DI (in case that matters)&lt;/li&gt;&#xA;&lt;li&gt;Just in case, I added it as an &lt;code&gt;&amp;lt;allowedController&amp;gt;&lt;/code&gt; under the &lt;code&gt;&amp;lt;configuration/sitecore/api/services/configuration&amp;gt;&lt;/code&gt; section&lt;/li&gt;&#xA;&lt;li&gt;The route is valid (it can resolve the route, it just can't find the class)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Config:&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;MySolution.Foundation.xDB.RegRoute, MySolution.Foundation.xDB&quot; patch:after=&quot;*[@type='Sitecore.Mvc.Pipelines.Initialize.InitializeCommandRoute, Sitecore.Speak.Client']&quot; /&amp;gt;&#xA;    &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&#xA;&amp;lt;api&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;        &amp;lt;configuration type=&quot;Sitecore.Services.Infrastructure.Configuration.ServicesConfiguration, Sitecore.Services.Infrastructure&quot;&amp;gt;&#xA;            &amp;lt;allowedControllers hint=&quot;list:AddController&quot;&amp;gt;&#xA;                &amp;lt;allowedController desc=&quot;TestApiController&quot;&amp;gt;MySolution.Foundation.xDB.Controllers.TestApiController, MySolution.Foundation.xDB&amp;lt;/allowedController&amp;gt;&#xA;            &amp;lt;/allowedControllers&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;&amp;lt;/api&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Controller&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class TestApiController : ApiController&#xA;{&#xA;    public string Test()&#xA;    {&#xA;        return &quot;Success&quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Registration File&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class RegRoute&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        GlobalConfiguration.Configure(WebApiConfig.Register);&#xA;    }&#xA;}&#xA;&#xA;public class WebApiConfig&#xA;{&#xA;    public static void Register(HttpConfiguration config)&#xA;    {&#xA;        config.Routes.MapHttpRoute(&#xA;            name: &quot;testapi&quot;,&#xA;            routeTemplate: &quot;-/api&quot;,&#xA;            defaults: new { controller = &quot;TestApi&quot;, action = &quot;Test&quot; });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Result&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;{&quot;Message&quot;:&quot;No HTTP resource was found that matches the request URI 'https://mysite.dev/-/api'.&quot;,&quot;MessageDetail&quot;:&quot;No type was found that matches the controller named 'TestApi'.&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Based off the error, it seems it found the route, but can't find the controller.&lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="73" LastEditDate="2020-10-05T12:54:01.060" LastActivityDate="2022-12-06T16:01:30.703" Title="WebAPI Controllers not being found" Tags="|webapi|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="9899" PostTypeId="1" CreationDate="2018-02-06T04:36:03.977" Score="7" ViewCount="2205" Body="&lt;p&gt;I am trying to implement federated authentication using google in my Sitecore 9 application (CMS not website). I am bale to login to Sitecore using &lt;code&gt;GoogleOAuth2Authentication&lt;/code&gt; and i am using persistent user, so that user is automatically created when they logged on to Sitecore using Gmail. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem i am facing is that, in Sitecore, for that particular user, there is no email or full name set to identify and provide access. The mapping I am using is as below:&lt;/p&gt;&#xA;&#xA; &#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;  &amp;lt;!--List of property mappings&#xA;      Note that all mappings from the list will be applied to each providers--&amp;gt;&#xA;  &amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;!--The mapping sets the Email property of the user profile from emailaddress claim--&amp;gt;&#xA;    &amp;lt;map name=&quot;email claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;        &amp;lt;!--claim name--&amp;gt;&#xA;        &amp;lt;source name=&quot;Email&quot; /&amp;gt;&#xA;        &amp;lt;!--property name--&amp;gt;&#xA;        &amp;lt;target name=&quot;Email&quot; /&amp;gt;&#xA;      &amp;lt;/data&amp;gt;&#xA;    &amp;lt;/map&amp;gt;&#xA;    &amp;lt;map name=&quot;name claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;        &amp;lt;!--claim name--&amp;gt;&#xA;        &amp;lt;source name=&quot;Name&quot; /&amp;gt;&#xA;        &amp;lt;!--property name--&amp;gt;&#xA;        &amp;lt;target name=&quot;Full name&quot; /&amp;gt;&#xA;      &amp;lt;/data&amp;gt;&#xA;    &amp;lt;/map&amp;gt;&#xA;  &amp;lt;/maps&amp;gt;&#xA;&amp;lt;/propertyInitializer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need help in defining the condition, so that name and email field can directly be filled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, In case, if I allow the user to be created automatically in Sitecore, it will result in creating user for all those who logged on to system through gmail. Is there a way, through which I create a user in Sitecore manually and allow only those user with matching email id from gmail authentication?&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="73" LastEditDate="2018-02-07T10:53:05.570" LastActivityDate="2018-03-08T07:32:59.160" Title="Mapping property in Sitecore 9 federated authentication" Tags="|federated-authentication|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9900" PostTypeId="1" CreationDate="2018-02-06T05:41:15.483" Score="1" ViewCount="464" Body="&lt;p&gt;I'm using Sitecore 9.01 and I have a few templates which have an Image field. I've noticed that if I click on &quot;Browse&quot; and bring up the Select Media dialog, the Upload media button does not work the way I would expect.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If there is already an image selected, the default behaviour seems to be to upload a media item as a child of the currently selected item. If you select change destination you can select a parent media folder, but this is not the default. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can I configure this dialog so that it attempts to upload media to the same source I've configured in my template for that field rather than as a child of the current media item?&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;I use placeholder images as standard values on item creation that I would then expect the author to replace. This allows my initial page to look &quot;nice&quot; for the author as they start putting in the real content. However, I'm currently storing those placeholder images apart from the source folder for that template field. When Upload Media is used it defaults to the placeholder image as destination.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The question is the same as for question 1. Can I configure it so that Upload Media will select the same destination that I have configured as the source for my template field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1qrJT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1qrJT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above image shows how the Upload Media dialog is selecting my existing media item &quot;sample-hero image&quot; from my Placeholder Images location. If I select an image and select &quot;Upload media&quot;, that new image will be loaded as a child of &quot;sample-hero image&quot; in the media library.&lt;/p&gt;&#xA;" OwnerUserId="2734" LastActivityDate="2018-04-07T11:49:21.977" Title="Having difficulty with Upload Media in Select Media dialog" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9901" PostTypeId="2" ParentId="9897" CreationDate="2018-02-06T05:44:18.397" Score="1" Body="&lt;p&gt;Update your Api methods to add an &lt;code&gt;[HttpGet]&lt;/code&gt; attribute or change the method name to &lt;code&gt;Get()&lt;/code&gt; (and update your route initialization accordingly):&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class TestApiController : ApiController&#xA;{&#xA;    [HttpGet]&#xA;    public string Test()&#xA;    {&#xA;        return &amp;quot;Success from Test()&amp;quot;;&#xA;    }&#xA;&#xA;    public string Get()&#xA;    {&#xA;        return &amp;quot;Success from Get()&amp;quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The current placement of the initialization pipeline processor is fine, just be aware  that patching before/after the &lt;code&gt;InitializeRoutes&lt;/code&gt; processors &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/use_mvc_routing&quot; rel=&quot;nofollow noreferrer&quot;&gt;makes more sense&lt;/a&gt; depending on whether the calls should be tracked:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The Sitecore.Mvc.Pipelines.Loader.InitializeRoutes processor of the Initialize pipeline requires a session to be present for all routes. Therefore, if you add the custom route registration processor before the Sitecore.Mvc.Pipelines.Loader.InitializeRoutes processors, the session is available in the controllers.&lt;/p&gt;&#xA;&lt;p&gt;If you register the routes in the processor that is initialized after the Sitecore.Mvc.Pipelines.Loader.InitializeRoutesprocessor, the session is not available and the controller requests are not tracked. This is useful for custom routes that you do not need to track, for example Web API routes.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-02-06T05:44:18.397" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9902" PostTypeId="1" AcceptedAnswerId="9934" CreationDate="2018-02-06T08:43:58.600" Score="2" ViewCount="1603" Body="&lt;p&gt;We have an item which is having a multilist field in it. This field has selected value and the below code is working fine on English version. Other language versions are returning empty result. We have verified the item and dependent list items have the version of other languages. Please help us to fix this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static List&amp;lt;Item&amp;gt; GetMultiListItems(Item dataItem, string fieldName)&#xA;{&#xA;    if (dataItem != null &amp;amp;&amp;amp; !string.IsNullOrEmpty(fieldName))&#xA;    {&#xA;        MultilistField field = dataItem.Fields[fieldName];&#xA;        if (null == field)&#xA;            return null;&#xA;&#xA;        return field.GetItems().ToList();&#xA;    }&#xA;    return null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="992" LastEditorUserId="35" LastEditDate="2018-02-06T08:52:10.617" LastActivityDate="2018-02-07T13:27:10.970" Title="Sitecore field.GetItems() returns no items on Non English version" Tags="|sitecore-api|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9903" PostTypeId="1" CreationDate="2018-02-06T10:26:41.673" Score="5" ViewCount="3065" Body="&lt;p&gt;I am getting an exception/error while I am creating contact though xConnect Code,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;below is my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var client = CreateClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    var source = &quot;Subcribe.Form&quot;;&#xA;                    var id = CurrentTracker.Contact.ContactId.ToString(&quot;N&quot;);&#xA;                    CurrentTracker.Session.IdentifyAs(source, id);&#xA;                    var trackerIdentifier = new IdentifiedContactReference(source, id);&#xA;                    var expandOptions = new ContactExpandOptions(&#xA;                        CollectionModel.FacetKeys.PersonalInformation,&#xA;                        CollectionModel.FacetKeys.EmailAddressList);&#xA;                    Contact contact = client.Get(trackerIdentifier, expandOptions);&#xA;                    SetPersonalInformation(GetValue(firstNameField), GetValue(lastNameField), contact, client);&#xA;                    SetEmail(GetValue(emailField), contact, client);&#xA;                    client.Submit();&#xA;                    return true;&#xA;                }&#xA;                catch (Exception ex)&#xA;                {&#xA;                    Logger.LogError(ex.Message, ex);&#xA;                    return false;&#xA;                }&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting error on &lt;code&gt;client.Submit()&lt;/code&gt; method , as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: {&#xA;  &quot;Message&quot;: &quot;Operation failed: One or more dependencies failed&quot;,&#xA;  &quot;ExceptionMessage&quot;: &quot;One or more dependencies failed&quot;,&#xA;  &quot;ExceptionType&quot;: &quot;Sitecore.XConnect.Operations.DependencyFailedException&quot;,&#xA;  &quot;StackTrace&quot;: null,&#xA;  &quot;InnerException&quot;: {&#xA;    &quot;Message&quot;: &quot;An error has occurred.&quot;,&#xA;    &quot;ExceptionMessage&quot;: &quot;Scaled database was not configured properly: the range shard map has to be configured.&quot;,&#xA;    &quot;ExceptionType&quot;: &quot;Sitecore.Xdb.Collection.Failures.ScaledDatabaseConfigurationException&quot;,&#xA;    &quot;StackTrace&quot;: &quot;   at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.ElasticScaleConnectionManager.GetRangeShardMap(String rangeShardMapName)\r\n   at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.ElasticScaleConnectionManager.&amp;lt;&amp;gt;c__DisplayClass37_0.&amp;lt;GetRangeMappings&amp;gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.MemoryCacheManager.AddOrGetExistingFromCache[T](String key, Func`1 valueFactory)\r\n   at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.ElasticScaleConnectionManager.MapKeysToShards[TPartitionKey,TEntityKey](String rangeShardMapName, IReadOnlyCollection`1 keys)\r\n   at Sitecore.Xdb.Collection.Data.SqlServer.Managers.SqlDataRecordsManager`2.&amp;lt;GetAsync&amp;gt;d__49.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Sitecore.Xdb.Collection.Data.SqlServer.SqlDataProvider.&amp;lt;GetDeviceProfilesById&amp;gt;d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Linq.AsyncEnumerable.&amp;lt;&amp;gt;c__DisplayClass440_0`1.&amp;lt;&amp;lt;ToAsyncEnumerable&amp;gt;b__1&amp;gt;d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Linq.AsyncEnumerable.AnonymousAsyncIterator`1.&amp;lt;MoveNextCore&amp;gt;d__6.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Linq.AsyncEnumerable.AsyncIterator`1.&amp;lt;MoveNext&amp;gt;d__10.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Linq.AsyncEnumerable.SelectManyAsyncIterator`2.&amp;lt;MoveNextCore&amp;gt;d__10.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Linq.AsyncEnumerable.AsyncIterator`1.&amp;lt;MoveNext&amp;gt;d__10.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Linq.AsyncEnumerable.&amp;lt;ForEachAsync_&amp;gt;d__174`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Sitecore.XConnect.Service.RepositoryGetInvoker.&amp;lt;UpdateGetOperations&amp;gt;d__7`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Sitecore.XConnect.Service.RepositoryGetInvoker.&amp;lt;&amp;gt;c__DisplayClass4_1.&amp;lt;&amp;lt;Execute&amp;gt;b__19&amp;gt;d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Sitecore.XConnect.Service.RepositoryGetInvoker.&amp;lt;FailOperationsOnException&amp;gt;d__5.MoveNext()&quot;&#xA;  }&#xA;}&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.Get[TEntity](IXdbContext context, IEntityReference`1 reference, ExpandOptions expandOptions, TimeSpan timeout)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.&amp;lt;&amp;gt;c__DisplayClass26_0.&amp;lt;GetDevice&amp;gt;b__1(IXdbContext xdbContext)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling[T](Func`2 func)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I checked the xConnect collection URL and its up and running as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WLIMl.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WLIMl.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my connection string for xconnect collection:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;xconnect.collection&quot; connectionString=&quot;https://Sitecore9.Xconnect&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="690" LastEditorUserId="2727" LastEditDate="2018-02-06T11:20:05.573" LastActivityDate="2024-03-15T17:03:00.327" Title="Getting Error while creating contact through xConnect in Sitecore9" Tags="|xdb|xconnect|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9904" PostTypeId="1" CreationDate="2018-02-06T10:31:29.393" Score="4" ViewCount="1482" Body="&lt;p&gt;I am very new to Sitecore, trying to implement a basic controller inheriting from &lt;code&gt;StandardController&lt;/code&gt;. I've followed the official Sitecore docs for setting up the environment to work with MVC here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/developing/developing_with_sitecore/set_up_sitecore_and_visual_studio_for_development&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore for development&lt;/a&gt;. It's written that the nuget packages to be installed are:&#xA;Sitecore.Kernel, Sitecore.Mvc, Sitecore.Mvc.Analytics&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've installed them in the same order, targeting the same package version as my Sitecore installed instance: 8.2.170728, based on the nuget repository indicated here: &lt;a href=&quot;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even after I complete the setup indicated in the doc, I don't find any namespace containing the &lt;code&gt;StandardController&lt;/code&gt; class. The namespace should be starting with something like: Sitecore.SX...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S: installed .NET framework is v4.6.1, using VisualStudio 2017&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is what I have installed effectively after installing Version 8.2.170728 of these nuget packages: Sitecore.Kernel, Sitecore.Mvc, Sitecore.Mvc.Analytics&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mjQnl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mjQnl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3215" LastEditorUserId="2890" LastEditDate="2018-02-14T19:04:16.853" LastActivityDate="2019-02-20T16:34:11.713" Title="Cannot find packages containing StandardController" Tags="|sxa|mvc|sitecore-api|" AnswerCount="5" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9905" PostTypeId="2" ParentId="9900" CreationDate="2018-02-06T10:39:58.293" Score="1" Body="&lt;p&gt;Tested this in 9.0.1 and 8.2 and both are having this behavior. It has something to do with the &lt;code&gt;fo&lt;/code&gt; parameter send to the upload dialog but not sure how to manipulate that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As this seems intentional - which does not mean it's not a bug ;) - best thing to do is to contact Sitecore Support. If this turns out to be a bug, they will be able to give you a patch for it. They should be, as this surely doesn't feel like the right behavior.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-02-06T10:39:58.293" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9906" PostTypeId="2" ParentId="9904" CreationDate="2018-02-06T10:51:23.660" Score="1" Body="&lt;p&gt;&lt;strong&gt;StandardController&lt;/strong&gt; comes from the &lt;strong&gt;Sitecore.XA.Foundation.Mvc&lt;/strong&gt; assembly, which is part of the SXA package. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are you trying to work with SXA? If so, first you have to install the SXA package in your Sitecore instance - &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/16/Sitecore_Experience_Accelerator_16_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/16/Sitecore_Experience_Accelerator_16_Initial_Release.aspx&lt;/a&gt; - and then reference the right assemblies in your project. I believe you are following this &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/walkthrough_building_a_new_rendering&quot; rel=&quot;nofollow noreferrer&quot;&gt;tutorial&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, if you are simply trying to create a controller you can use the &lt;strong&gt;SitecoreController&lt;/strong&gt; as base. This class comes from the Sitecore.Mvc assembly.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2018-02-06T10:51:23.660" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9907" PostTypeId="1" CreationDate="2018-02-06T10:55:52.687" Score="0" ViewCount="892" Body="&lt;p&gt;There is a custom code which triggers on rebuilding indexes. The method will extract all content from each page rendering's datasources and store in the content field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I debug, I see that the datasource content is correctly extracted. However, in the search method, the same content is not found.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//This function is triggered when rebuilding indexes is performed in CMS&#xA;public class SubcontentField : IComputedIndexField&#xA;{    &#xA;    public object ComputeFieldValue(IIndexable indexable)&#xA;            {&#xA;                var sitecoreIndexable = indexable as SitecoreIndexableItem;&#xA;&#xA;                if (sitecoreIndexable == null)&#xA;                {&#xA;                    return null;&#xA;                }&#xA;&#xA;                //it is assumed that the home item is the same in master &amp;amp; web databases&#xA;                Item homeItem = GetHomeItem(SiteName, MasterDatabaseName);&#xA;                List&amp;lt;string&amp;gt; contentToAdd = new List&amp;lt;string&amp;gt;();&#xA;&#xA;                //add values (of only the page items that are under home) to the computed field.&#xA;                if (homeItem != null &amp;amp;&amp;amp; (sitecoreIndexable.Item.ID == homeItem.ID || sitecoreIndexable.Item.Paths.IsDescendantOf(homeItem)))&#xA;                {&#xA;                    // find renderings with datasources set&#xA;                    IEnumerable&amp;lt;Item&amp;gt; customDataSources = ExtractRenderingDataSourceItems(sitecoreIndexable.Item);&#xA;                    IEnumerable&amp;lt;Item&amp;gt; relatedItems = customDataSources.SelectMany(GetRelatedItems);&#xA;&#xA;                    // extract text from data sources&#xA;                    contentToAdd = customDataSources.SelectMany(GetItemContent).ToList();&#xA;                    contentToAdd.AddRange(relatedItems.SelectMany(GetItemContent));&#xA;&#xA;                    if (contentToAdd.Count == 0) return null;&#xA;                }&#xA;&#xA;                return string.Join(&quot;|&quot;, contentToAdd);&#xA;            }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Search Method:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void GetSearchResults(string keywords)&#xA;{&#xA;  using (var context = ContentSearchManager.GetIndex(index).CreateSearchContext())&#xA;  {&#xA;                IQueryable&amp;lt;SearchResultItem&amp;gt; query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                    .Where(x =&amp;gt; x.Content.Contains(keywords) &amp;amp;&amp;amp; x.Language == Sitecore.Context.Language.Name);&#xA;   if (query != null &amp;amp;&amp;amp; query.Count() &amp;gt; 0)&#xA;   {&#xA;&#xA;   }&#xA; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have checked for a particular keyword when rebuilding the web_index and when searched for the same, the &lt;code&gt;query&lt;/code&gt; is always null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using &lt;code&gt;Azure Search&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="2056" LastEditDate="2018-03-08T13:39:55.180" LastActivityDate="2018-03-08T13:39:55.180" Title="Content not added to computed field using Azure Search" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9909" PostTypeId="2" ParentId="9907" CreationDate="2018-02-06T11:03:21.277" Score="-2" Body="&lt;p&gt;This first thing I'd do here is go to your Solr instance and query it directly to check if the content is there or not. e.g:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://solr:8983/solr/web_index/select?q=subcontent:test&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://solr:8983/solr/web_index/select?q=subcontent:test&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If it isn't then check your configuration for your computed field is correct. e.g:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;defaultSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                        &amp;lt;field fieldName=&quot;subcontent&quot; storageType=&quot;YES&quot; returnType=&quot;text&quot;&amp;gt;YourNameSpace.SubContentField&amp;lt;/field&amp;gt;&#xA;                &amp;lt;/fields&amp;gt;&#xA;&amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-02-06T11:17:51.880" LastActivityDate="2018-02-06T11:17:51.880" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9912" PostTypeId="1" CreationDate="2018-02-06T14:26:34.040" Score="1" ViewCount="177" Body="&lt;p&gt;Upon reading I figured out two ways mentioned below to connect Hybris Commerce to Sitecore for digital e-commerce transactions: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use the Sitecore Commerce Connect API with EPAM Connector.&lt;/li&gt;&#xA;&lt;li&gt;Use the Sitecore Commerce Connect API with your own custom connector.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is this accurate? Are there any other options? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance for your help.&lt;/p&gt;&#xA;" OwnerUserId="3216" LastEditorUserId="1000" LastEditDate="2018-02-06T22:34:18.133" LastActivityDate="2018-02-06T22:34:18.133" Title="Guidelines to connect Sitecore 8.2.1 with SAP Hybris" Tags="|commerce-connect|" AnswerCount="0" CommentCount="0" ClosedDate="2018-03-31T01:06:11.703" ContentLicense="CC BY-SA 3.0" />
  <row Id="9913" PostTypeId="2" ParentId="9897" CreationDate="2018-02-06T14:54:21.997" Score="15" Body="&lt;p&gt;Web API is apparently really aggressive when it caches API Controller types. I was able to fix my issue by doing the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;stop IIS &lt;/li&gt;&#xA;&lt;li&gt;kill the w3wps&lt;/li&gt;&#xA;&lt;li&gt;navigate to &lt;code&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root&lt;/code&gt; and obliterate anything in this folder&lt;/li&gt;&#xA;&lt;li&gt;Make sure the registration of the route happens after &lt;code&gt;processor[@type='Sitecore.PathAnalyzer.Services.Pipelines.Initialize.WebApiInitializer, Sitecore.PathAnalyzer.Services']&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My understanding is the controller types are cached in an XML file: &lt;code&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xxxxx\xxxxx\UserCache\MS-ApiControllerTypeCache.xml&lt;/code&gt;. For some reason, this file was not getting updated. Blowing away the cache removed the XML file and allowed the cache to be rebuilt.&lt;/p&gt;&#xA;" OwnerUserId="4" LastActivityDate="2018-02-06T14:54:21.997" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9914" PostTypeId="1" CreationDate="2018-02-06T15:39:39.297" Score="0" ViewCount="541" Body="&lt;p&gt;Is this possible to store Media items in some other Content tree node in place of Media Library?&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="1671" LastEditDate="2018-02-06T21:23:41.500" LastActivityDate="2018-02-16T04:01:08.817" Title="Store media item in Sitecore somewhere else instead of Media Library" Tags="|sitecore-client|media-library|sitecore-api|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9916" PostTypeId="1" AcceptedAnswerId="9918" CreationDate="2018-02-06T16:52:56.887" Score="0" ViewCount="95" Body="&lt;p&gt;Is there any detriment to increasing the frequency of Coveo updating the security cache (the on-prem edition)? I noticed it's set to do it nightly at midnight, but if new users register during the day and are assigned security groups, documents that are restricted to those security groups won't be available to those users until the security cache is refreshed it appears. (Similarly if a user's permissions are changed mid-day.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I wrong in this assumption and leaving the cache alone is fine? I mainly ask because I'm working with the security now, and if I add a role to a user, the item secured by that role isn't available to my user via Coveo search until the security cache refreshes.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="3136" LastEditDate="2018-03-06T10:23:40.403" LastActivityDate="2018-03-06T10:23:40.403" Title="Coveo security cache update timing" Tags="|security|coveo|caching|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9917" PostTypeId="1" AcceptedAnswerId="9948" CreationDate="2018-02-06T18:15:25.983" Score="2" ViewCount="1048" Body="&lt;p&gt;I have created separate bindings for the basic and advanced sample JSS apps as outlined in &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://jss.sitecore.net/#/setup/sitecore-config?id=sitecore-configuration &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;127.0.0.1    JssBasicApp&lt;/li&gt;&#xA;&lt;li&gt;127.0.0.1    JssAdvancedApp&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This works fine. When I click through the advanced app, I can see calls to the layoutservice like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://jssadvancedapp/sitecore/api/layout/render/jss?item=/portfolio&amp;amp;sc_lang=en&amp;amp;sc_apikey={KEY}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, when I don't use separate IIS bindings, but instead configure subsites for JssBasicApp and JssAdvancedApp, the layoutservice calls get problematic. When I click through the advanced sample app, in the network tab in my browser I see calls like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://jss-sc.com/jssadvancedapp/sitecore/api/layout/render/jss?item=/jssadvancedapp/portfolio&amp;amp;sc_lang=en&amp;amp;sc_apikey={KEY}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;resulting in a 404 not found error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://jss-sc.com/sitecore/service/notfound.aspx?item=/sitecore/api/layout/render/jss&amp;amp;user=sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jss-sc.com/sitecore/service/notfound.aspx?item=/sitecore/api/layout/render/jss&amp;amp;user=sitecore&lt;/a&gt;\admin&amp;amp;site=jssadvancedapp&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Obviously, the Sitecore layoutservice is not called here, but Sitecore is trying to find the item &lt;code&gt;/sitecore/api/layout/render/jss&lt;/code&gt; under the JssAdvanced node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following call gives a 404 error (removed the jssadvancedapp section after hostname):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://jss-sc.com/sitecore/api/layout/render/jss?item=/jssadvancedapp/portfolio&amp;amp;sc_lang=en&amp;amp;sc_apikey={KEY}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Adding &lt;code&gt;&amp;amp;site=jssadvancedapp&lt;/code&gt; to the url gives the same 404 error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the question is, what is the right api call? And how to set the configuration so that the right api call is made instead of the above wrong one. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how the sites configuration looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;&amp;lt;site name=&quot;shell&quot; virtualFolder=&quot;/sitecore/shell&quot; physicalFolder=&quot;/sitecore/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; contentLanguage=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/login&quot; content=&quot;master&quot; contentStartItem=&quot;/Home&quot; enableWorkflow=&quot;true&quot; enableTracking=&quot;false&quot; analyticsDefinitions=&quot;content&quot; xmlControlPage=&quot;/sitecore/shell/default.aspx&quot; browserTitle=&quot;Sitecore&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;15MB&quot; viewStateCacheSize=&quot;1MB&quot; xslCacheSize=&quot;25MB&quot; disableBrowserCaching=&quot;true&quot; enableItemLanguageFallback=&quot;false&quot; enableFieldLanguageFallback=&quot;false&quot; itemwebapi.mode=&quot;StandardSecurity&quot; itemwebapi.access=&quot;ReadWrite&quot; itemwebapi.allowanonymousaccess=&quot;false&quot; patch:source=&quot;Sitecore.Speak.ItemWebApi.config&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;login&quot; virtualFolder=&quot;/sitecore/login&quot; physicalFolder=&quot;/sitecore/login&quot; enableTracking=&quot;false&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; disableXmlControls=&quot;true&quot; language=&quot;en&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;admin&quot; virtualFolder=&quot;/sitecore/admin&quot; physicalFolder=&quot;/sitecore/admin&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/admin/login.aspx&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;service&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/sitecore/service&quot; physicalFolder=&quot;/sitecore/service&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;modules_shell&quot; virtualFolder=&quot;/sitecore modules/shell&quot; physicalFolder=&quot;/sitecore modules/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; content=&quot;master&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;modules_website&quot; virtualFolder=&quot;/sitecore modules/web&quot; physicalFolder=&quot;/sitecore modules/web&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;jssadvancedapp&quot; inherits=&quot;website&quot; virtualFolder=&quot;/jssadvancedapp&quot; physicalFolder=&quot;/jssadvancedapp&quot; rootPath=&quot;/sitecore/content/jssadvancedapp&quot; startItem=&quot;/home&quot; database=&quot;master&quot; patch:source=&quot;jss-advanced-app.config&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;jssbasicapp&quot; inherits=&quot;website&quot; virtualFolder=&quot;/jssbasicapp&quot; physicalFolder=&quot;/jssbasicapp&quot; rootPath=&quot;/sitecore/content/jssbasicapp&quot; startItem=&quot;/home&quot; database=&quot;master&quot; patch:source=&quot;jss-basic-app.config&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;website&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; enableItemLanguageFallback=&quot;false&quot; enableFieldLanguageFallback=&quot;false&quot; itemwebapi.mode=&quot;Off&quot; itemwebapi.access=&quot;ReadOnly&quot; itemwebapi.allowanonymousaccess=&quot;false&quot; patch:source=&quot;Sitecore.ItemWebApi.config&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;scheduler&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;system&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;publisher&quot; domain=&quot;sitecore&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;site name=&quot;exm&quot; inherits=&quot;shell&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; startItem=&quot;/none&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; patch:source=&quot;Sitecore.EmailExperience.Core.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="1671" LastEditDate="2018-02-07T06:58:22.143" LastActivityDate="2018-02-07T20:41:07.537" Title="Sitecore JSS integrated mode with subsites" Tags="|webapi|jss|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9918" PostTypeId="2" ParentId="9916" CreationDate="2018-02-06T18:29:50.120" Score="2" Body="&lt;p&gt;Starting with Coveo for Sitecore 4.0, some event handlers were added to specifically handle this use case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Coveo.SearchProvider.config&lt;/code&gt; file, the &lt;code&gt;EntityEventHandler&lt;/code&gt; class is hooked on many Sitecore events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;user:created&lt;/code&gt;, &lt;code&gt;user:updated&lt;/code&gt; and &lt;code&gt;user:deleted&lt;/code&gt; should all trigger a security cache update for this specific user, which means its roles should be expanded and new security applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;a href=&quot;https://developers.coveo.com/x/sgAvAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;October 2016 release (4.0.450, later hotfixed to 4.0.704)&lt;/a&gt;, some events were added to handle the roles which fix your problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;role:created&lt;/code&gt;, &lt;code&gt;role:deleted&lt;/code&gt;, &lt;code&gt;role:usersAdded&lt;/code&gt;, &lt;code&gt;role:usersRemoved&lt;/code&gt;, &lt;code&gt;role:rolesAdded&lt;/code&gt;, &lt;code&gt;role:rolesRemoved&lt;/code&gt; should trigger a security cache update when a specific role changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the solution would be to upgrade or code your own handler on this event to refresh the cache.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;As for your comment:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;... it seems that security changes aren't necessarily immediately pushed up, unless the item in question is published.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The update of the document forces an expansion of the users from that document, which picks up the new changes.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;UPDATE: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the October release, a bug was found in which the &lt;code&gt;role:usersRemoved&lt;/code&gt; and &lt;code&gt;role:usersAdded&lt;/code&gt; were not properly updating the security cache. So the user was still pushed with its updated roles &lt;em&gt;but was not refreshed until the next security cache update&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This bug was fixed in the &lt;a href=&quot;https://developers.coveo.com/x/1AkvAg&quot; rel=&quot;nofollow noreferrer&quot;&gt;January 2017 release (4.0.895)&lt;/a&gt;, tagged with the issue number SC-1480.&lt;/p&gt;&#xA;" OwnerUserId="290" LastEditorUserId="290" LastEditDate="2018-02-14T21:13:27.543" LastActivityDate="2018-02-14T21:13:27.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9919" PostTypeId="1" AcceptedAnswerId="10169" CreationDate="2018-02-06T21:45:05.843" Score="1" ViewCount="867" Body="&lt;p&gt;I need to install the Solr cores required for Sitecore 9 on a Linux machine already running Solr 6.6.2. What is the best way to do this in Linux (since SIF cannot be used)?&lt;/p&gt;&#xA;" OwnerUserId="2495" LastEditorUserId="2495" LastEditDate="2018-02-06T22:46:19.330" LastActivityDate="2018-04-18T13:40:07.907" Title="How to install Solr cores for Sitecore 9 on Linux" Tags="|solr|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9920" PostTypeId="1" CreationDate="2018-02-06T22:18:45.877" Score="0" ViewCount="1623" Body="&lt;p&gt;I'm trying to migrate a Sitecore page to use a new template with new presentation details in it's Standard values.  This template inherits from the currently used template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I change the page to use the new template, I expect that it would now use the presentation of the new template's Standard values. However it seems to always keep the presentation details of the original template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why would this be happening?&lt;/p&gt;&#xA;" OwnerUserId="3218" LastEditorUserId="1671" LastEditDate="2018-02-07T00:31:01.590" LastActivityDate="2018-02-07T00:31:01.590" Title="Reset presentation detail is using Standard values from wrong / old template" Tags="|presentation|templates|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9921" PostTypeId="2" ParentId="9920" CreationDate="2018-02-06T22:48:37.037" Score="2" Body="&lt;p&gt;Whenever you make a change to a field on an item, the link between that item and its &lt;code&gt;Standard Value&lt;/code&gt; is effectively broken. Since the &lt;code&gt;Renderings&lt;/code&gt; and &lt;code&gt;Final Renderings&lt;/code&gt; field which are used for Shared/Final Layout are just regular Sitecore fields, the same applies to the &lt;code&gt;Presentation Details&lt;/code&gt; which you set on the Standard Values, i.e. if you have made a change to the item by adding/removing renderings (for example) then you have broken the link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to restore the link back to the Standard Values you can &lt;code&gt;Reset&lt;/code&gt; the layout fields. Be sure to select the Renderings and/or Final Renderings fields as needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Word of warning, it will &lt;strong&gt;reset&lt;/strong&gt; the layout and remove any additional Renderings that may have been added by you users. If you need them on the page, you will need to add them back in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;From the Experience Editor:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Qk9Kf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qk9Kf.png&quot; alt=&quot;Reset Layout in Experience Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;From the Content Editor:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/avLEr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/avLEr.png&quot; alt=&quot;Reset Layout in Content Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also write a PowerShell script to &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/appendix/commands/Reset-Layout.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Reset-Layout&lt;/a&gt; of items if you have a lot of items.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-02-06T22:48:37.037" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9922" PostTypeId="2" ParentId="9914" CreationDate="2018-02-07T00:30:14.960" Score="1" Body="&lt;p&gt;Since everything in the content tree is, at its root, a basic item, then yes, you should be able to store media items wherever you want. A few things to consider thought:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You need to be sure the insert options are set to cover all the possibilities you want to allow&lt;/li&gt;&#xA;&lt;li&gt;You need to ensure your indexes are pointing to wherever you're storing your media items...look how the default implementation is done and expand from there&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There may be other considerations, but if you test it out thoroughly in development, you should be able to find them all.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-02-07T00:30:14.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9923" PostTypeId="1" AcceptedAnswerId="9953" CreationDate="2018-02-07T03:14:40.943" Score="1" ViewCount="326" Body="&lt;p&gt;We have a Sitecore 8.2.4 installation and the Production environments sits behind Cloudflare. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the CM instance, our Content Editors keep getting interrupted by a (broken) captcha dialogue box from Cloudflare. This seems to happen for some popup dialogues and also the Experience Editor is broken with a similar popup displayed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3O3S1.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3O3S1.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OUspE.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OUspE.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When sensitivity is set to &quot;LOW&quot; the Captcha will still show. When set to &quot;OFF&quot; the captcha will not show. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am wondering if anyone would know which OWASP rule exactly is Sitecore triggering that might be causing the Captcha to display? &lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="890" LastEditDate="2018-04-03T14:34:34.900" LastActivityDate="2018-04-03T14:34:34.900" Title="Why does Sitecore CMS UI trigger OWASP captcha when combined with Cloudflare?" Tags="|security|cdn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9924" PostTypeId="1" AcceptedAnswerId="9989" CreationDate="2018-02-07T05:41:37.990" Score="1" ViewCount="2166" Body="&lt;p&gt;My Site configuration looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;sitename&quot; patch:after=&quot;site[@name='web_module'] targetHostName=&quot;HostName&quot; &#xA;              database=&quot;web&quot; &#xA;              virtualFolder=&quot;/&quot; &#xA;              physicalFolder=&quot;/&quot; &#xA;              rootPath=&quot;RootPath&quot; &#xA;              startItem=&quot;/Home&quot; &#xA;              dictionaryPath=&quot;DictionaryPath&quot; &#xA;              dictionaryAutoCreate=&quot;false&quot; &#xA;              placeholderSettingsRoot=&quot;PlaceholderSettingsRootPath&quot;&#xA;              domain=&quot;extranet&quot; &#xA;              allowDebug=&quot;true&quot; &#xA;              cacheHtml=&quot;true&quot; &#xA;              htmlCacheSize=&quot;50MB&quot; &#xA;              registryCacheSize=&quot;0&quot; &#xA;              viewStateCacheSize=&quot;0&quot; &#xA;              xslCacheSize=&quot;25MB&quot; &#xA;              filteredItemsCacheSize=&quot;10MB&quot; &#xA;              enablePreview=&quot;true&quot; &#xA;              enableWebEdit=&quot;true&quot; &#xA;              enableDebugger=&quot;true&quot; &#xA;              disableClientData=&quot;false&quot; &#xA;              cacheRenderingParameters=&quot;true&quot; &#xA;              renderingParametersCacheSize=&quot;10MB&quot; &#xA;              formsRoot=&quot;formsRootGUID&quot;&#xA;              loginPage=&quot;/login&quot;&#xA;              enableItemLanguageFallback=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However if I use the &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; to get the context to get items, it returns master instead of web in &lt;code&gt;sc_mode=normal&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Database context = Sitecore.Context.Database;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Why is it so and what could possibly go wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="823" LastEditorUserId="2727" LastEditDate="2018-02-08T04:47:25.640" LastActivityDate="2018-02-12T02:40:43.650" Title="Sitecore context returns Master instead of Web database" Tags="|site-configuration|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9927" PostTypeId="1" CreationDate="2018-02-07T08:46:20.697" Score="1" ViewCount="280" Body="&lt;p&gt;In my Sitecore application, I've created custom facet (it has simple fields and object lists). I identify the user by the method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  try&#xA;  {&#xA;    if (Tracker.IsActive)&#xA;    {&#xA;      Tracker.Current.Session.Identify(userId);&#xA;      Tracker.Current.Contact.ContactSaveMode = Analytics.Model.ContactSaveMode.AlwaysSave;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sometimes, when it is called, an error occurs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR The given key was not present in the dictionary. RROR    at&#xA;  System.Collections.Generic.Dictionary`2.get_Item(TKey key)    at&#xA;  Sitecore.Analytics.Model.Framework.ModelUtilities.CopyElement(IElement&#xA;  source, IElement destination)    at&#xA;  Sitecore.Analytics.Pipelines.MergeContacts.MergeContactFacets.Process(MergeContactArgs&#xA;  args)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain)    at&#xA;  Sitecore.Analytics.Pipelines.MergeContacts.MergeContactPipeline.Run(MergeContactArgs&#xA;  args)    at&#xA;  Sitecore.Analytics.Data.ContactRepository.MergeContacts(Contact&#xA;  survivingContact, Contact dyingContact)    at&#xA;  Sitecore.Analytics.Tracking.StandardSession.Identify(String userName)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Do you know what this is caused by? The facet is added in the configuration and the data is put away (they are used in xDB conditions)&lt;/p&gt;&#xA;" OwnerUserId="2471" LastEditorUserId="2471" LastEditDate="2018-02-08T08:52:14.013" LastActivityDate="2018-02-08T08:52:14.013" Title="Tracker.Current.Session.Identify error :The given key was not present in the dictionary" Tags="|xdb|contact-facets|tracking|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9930" PostTypeId="2" ParentId="8910" CreationDate="2018-02-07T11:33:14.003" Score="6" Body="&lt;p&gt;The error I got in code behind when creating contact, on client.submit() is: &quot;The type of this instance does not correspond to any type in the model&quot;. I was currently checking with Sitecore Support team as they found in the logs provided that my custom facet types in the custom model can't be found in Model.Types even they exist there. &#xA;The solution they provided and helped me was:&#xA; XdbModel[] models = { CollectionModel.Model, xConnectIntroModel.CollectionModel.Model };&lt;/p&gt;&#xA;&#xA;&lt;p&gt;where xConnectIntroModel is my custom model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please add your custom model variable during initialization, restart Sitecore instance and try again:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var collectionClient = new CollectionWebApiClient(new Uri(Constants.XConnectDomain.Url + &quot;/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;            var searchClient = new SearchWebApiClient(new Uri(Constants.XConnectDomain.Url + &quot;/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;            var configurationClient = new ConfigurationWebApiClient(new Uri(Constants.XConnectDomain.Url + &quot;/configuration&quot;), clientModifiers, new[] { certificateModifier });&#xA;&#xA;            XdbModel[] models = { CollectionModel.Model, xConnectIntroModel.CollectionModel.Model };&#xA;&#xA;            var config = new XConnectClientConfiguration(new XdbRuntimeModel(models), collectionClient, searchClient, configurationClient);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3197" LastActivityDate="2018-02-07T11:33:14.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9931" PostTypeId="1" CreationDate="2018-02-07T11:33:24.853" Score="2" ViewCount="600" Body="&lt;p&gt;Using Sitecore 8.2 update 3.&lt;br&gt;&#xA;I'm new to search &amp;amp; Azure Search and followed this approach to implement the site search functionality on our multi-lingual site.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kamsar.net/index.php/2014/05/indexing-subcontent/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2014/05/indexing-subcontent/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two issues now:&lt;br&gt;&#xA;1. The search works for the English version, but only partially. When I search for a particular keyword &quot;stories&quot;, it doesn't return any results. But this word is added to the &lt;code&gt;content&lt;/code&gt; as I check in debug.  (The thai text is also added to the field.)&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;No results are returned when search in the Thai version.  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have not modified any default Sitecore configs.    &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the patch config correct. Is there a different way to retrieve results for Azure Search. Because the same code &lt;code&gt;GetSearchResults&lt;/code&gt; works fine when checked with Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;MyAzureSearch.config:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;      &#xA;      &amp;lt;setting name=&quot;ContentSearch.DefaultIndexType&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;setting name=&quot;ContentSearch.DefaultIndexConfigurationPath&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultCloudIndexConfiguration&amp;gt;&#xA;          &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;            &amp;lt;!-- indexes subcontent contents into parent's _content field in the index (for better site search) --&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;_content&quot; cloudFieldName=&quot;content__&quot; type=&quot;MySite.Feature.Search.Models.SubcontentField, MySite.Feature.Search&quot; boost=&quot;1f&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;          &amp;lt;/fields&amp;gt;&#xA;        &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Adding content to the computed field:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SubcontentField : IComputedIndexField&#xA;{&#xA;    /// This function is triggered when rebuilding indexes is performed in CMS&#xA;    public object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        var sitecoreIndexable = indexable as SitecoreIndexableItem;&#xA;&#xA;        if (sitecoreIndexable == null)&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        Item homeItem = GetHomeItem(SiteName, MasterDatabaseName);&#xA;        List&amp;lt;string&amp;gt; contentToAdd = new List&amp;lt;string&amp;gt;();&#xA;&#xA;        //add values (of only the page items that are under home) to the computed field.&#xA;        if (homeItem != null &amp;amp;&amp;amp; (sitecoreIndexable.Item.ID == homeItem.ID || sitecoreIndexable.Item.Paths.IsDescendantOf(homeItem)))&#xA;        {&#xA;            // find renderings with datasources set&#xA;            IEnumerable&amp;lt;Item&amp;gt; customDataSources = ExtractRenderingDataSourceItems(sitecoreIndexable.Item);&#xA;            IEnumerable&amp;lt;Item&amp;gt; relatedItems = customDataSources.SelectMany(GetRelatedItems);&#xA;&#xA;            // extract text from data sources&#xA;            contentToAdd = customDataSources.SelectMany(GetItemContent).ToList();&#xA;&#xA;            contentToAdd.AddRange(relatedItems.SelectMany(GetItemContent));&#xA;&#xA;            if (contentToAdd.Count == 0) return null;&#xA;        }&#xA;&#xA;        return string.Join(&quot;|&quot;, contentToAdd);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Get search results:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void GetSearchResults(string keywords)&#xA;{&#xA;    if (!string.IsNullOrEmpty(keywords))&#xA;    {&#xA;        string index = string.Format(&quot;sitecore_{0}_index&quot;, Sitecore.Context.Database.Name.ToLower());&#xA;&#xA;        using (var context = ContentSearchManager.GetIndex(index).CreateSearchContext())&#xA;        {&#xA;            //baseQuery, set to True, so if we have no searchTerm, all items are returned.&#xA;            var baseQuery = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;            var containsQuery = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;&#xA;            //here we are breaking up all the terms in the searchTerm                    &#xA;            var tokens = keywords.Split(new[] { &quot; &quot; }, StringSplitOptions.RemoveEmptyEntries);&#xA;&#xA;            foreach (var token in tokens)&#xA;            {&#xA;                var currentToken = token;&#xA;                containsQuery = containsQuery.Or(item =&amp;gt; item.Name.Contains(currentToken));&#xA;                containsQuery = containsQuery.Or(item =&amp;gt; item.Content.Contains(currentToken));&#xA;                containsQuery = containsQuery.Or(item =&amp;gt; item.Content.Contains(HttpUtility.UrlEncode(currentToken)));&#xA;            }&#xA;&#xA;            //join the baseQuery and the containsQuery&#xA;            baseQuery = baseQuery.And(containsQuery);&#xA;            IQueryable&amp;lt;SearchResultItem&amp;gt; query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                .Where(baseQuery)&#xA;                .Where(x =&amp;gt; x.Language == Sitecore.Context.Language.Name);                    &#xA;&#xA;            if (query != null &amp;amp;&amp;amp; query.Count() &amp;gt; 0)&#xA;            {&#xA;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="35" LastEditDate="2018-12-10T13:58:54.020" LastActivityDate="2022-09-22T03:44:07.693" Title="Azure Search not working for other language" Tags="|content-search|multilingual|azure-search|" AnswerCount="3" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9932" PostTypeId="1" AcceptedAnswerId="9933" CreationDate="2018-02-07T13:26:09.020" Score="11" ViewCount="13973" Body="&lt;p&gt;While running &lt;code&gt;SIF&lt;/code&gt; to install 9.0.1 the powershell script stops during the &lt;code&gt;Install-SitecoreConfiguration @xconnectParams&lt;/code&gt; step which deploys the &lt;code&gt;xConnect&lt;/code&gt; instance giving the following exception.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;TerminatingError(Start-Service): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Failed to start service 'Sitecore XConnect Search Indexer - sc901.xconnect-IndexWorker (sc901.xconnect-IndexWorker)'.&quot;&#xA;Install-SitecoreConfiguration : Failed to start service 'Sitecore XConnect Search Indexer - sc901.xconnect-IndexWorker &#xA;(sc901.xconnect-IndexWorker)'.&#xA;At C:\Sitecore\901\install.ps1:44 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;Install-SitecoreConfiguration : Failed to start service 'Sitecore XConnect Search Indexer - sc901.xconnect-IndexWorker&#xA;    (sc901.xconnect-IndexWorker)'.&#xA;    At C:\Sitecore\901\install.ps1:44 char:1&#xA;    + Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is the &lt;code&gt;Sitecore XConnect Search Indexer&lt;/code&gt; Windows Service cannot be started.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the Windows &lt;code&gt;EventLogs&lt;/code&gt; when trying to start that service it appears an &lt;code&gt;Exception&lt;/code&gt; occurs when trying to construct the type &lt;code&gt;LicenseException&lt;/code&gt; preventing it from starting.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Service cannot be started. System.Runtime.Serialization.SerializationException: The constructor to deserialize an object of type 'Sitecore.Nexus.Licensing.LicenseException' was not found.&#xA;   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.CreateAppDomainAndIndexer()&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.Start()&#xA;   at Sitecore.XConnect.Search.Indexer.Service.OnStart(String[] args)&#xA;   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This exception prevents the Sitecore 9 install from completing.&lt;/p&gt;&#xA;" OwnerUserId="145" LastEditorUserId="145" LastEditDate="2018-02-19T12:20:29.263" LastActivityDate="2022-10-15T16:20:59.297" Title="Failed to start service Sitecore XConnect Search Indexer when installing Sitecore 9" Tags="|xconnect|sitecore-install-framework|" AnswerCount="6" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9933" PostTypeId="2" ParentId="9932" CreationDate="2018-02-07T13:26:09.020" Score="12" Body="&lt;p&gt;The source of the issue is actually due to the License as hinted by the entry in the &lt;code&gt;EventLogs&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore license being used is fine for our 8.0 implementation and even worked without issue installing 9.0.0. However Sitecore support informed us that the License we are using was outdated, even though still valid.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contact Sitecore Support and ask them to fetch the latest copy of your &lt;code&gt;licence.xml&lt;/code&gt; from their CRM. It'll have additional signatures required by 9.0.1 and above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before re-running your install script from the beginning, you must clear down the previous install's progress, not doing so resulted in another exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Delete the following for both the Sitecore instance and xConnect instance created;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;IIS app pools&lt;/li&gt;&#xA;&lt;li&gt;IIS websites&lt;/li&gt;&#xA;&lt;li&gt;Webroot folders&lt;/li&gt;&#xA;&lt;li&gt;Databases&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Re-running the script referncing the new Licence will now complete successfully.&lt;/p&gt;&#xA;" OwnerUserId="145" LastActivityDate="2018-02-07T13:26:09.020" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9934" PostTypeId="2" ParentId="9902" CreationDate="2018-02-07T13:27:10.970" Score="1" Body="&lt;p&gt;It looks like your &lt;code&gt;dataItem&lt;/code&gt; language is not equal to &lt;code&gt;Sitecore.Context.Language&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to use &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using new LanguageSwitcher(item.Language)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;around the place where you get your &lt;code&gt;dataItem&lt;/code&gt; or where you use &lt;code&gt;field.GetItems()&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-02-07T13:27:10.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9935" PostTypeId="2" ParentId="9890" CreationDate="2018-02-07T14:08:39.530" Score="2" Body="&lt;p&gt;In addition to my blog post Jarmo recommended, I released the code as a Marketplace module you can install into Sitecore to display the &lt;code&gt;Custom Data&lt;/code&gt; of the &lt;code&gt;Goal&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/D/Display_Goal_Context.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/D/Display_Goal_Context.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works for 8.1 and 8.2 however I am yet to test it on 9. The source code is also available here should you need to modify it in anyway&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/islaytitans/SitecoreGoalDescription&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/islaytitans/SitecoreGoalDescription&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="145" LastActivityDate="2018-02-07T14:08:39.530" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9936" PostTypeId="1" CreationDate="2018-02-07T14:16:29.533" Score="1" ViewCount="657" Body="&lt;p&gt;I have a strange problem with my distributed CM/CD Sitecore 8.2 environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Certain items and their children are published programmatically on a schedule after an automated update process. The update process deletes old children and creates new children with new IDs. This means the publish operation needs to delete the old children and create the new children on the CD at publish time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way these are published is using the following API call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishManager.PublishItem&#xA;(&#xA;    item: parentItem,&#xA;    targets: dbTargetArray,&#xA;    languages: langArray,&#xA;    deep: true,&#xA;    compareRevisions: true, // smart publish (false for republish) &#xA;    publishRelatedItems: false&#xA; );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The items and their children get correctly published.&lt;/li&gt;&#xA;&lt;li&gt;When pulling out the child items on the CD, some come through as null/non existent, even though we know they are there.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;E.g. &lt;code&gt;parentItem.Axes.SelectItems(&quot;./somechild/*[@@templatekey='sometemplate']&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;If we clear the &lt;code&gt;web[data]&lt;/code&gt; cache and also the &lt;code&gt;web[items]&lt;/code&gt; cache (which sits on top of &lt;code&gt;web[data]&lt;/code&gt;) on the CD the problem is immediately resolved.&lt;/li&gt;&#xA;&lt;li&gt;If we manually republish (via the publish ribbon in Content Editor) the item, the problem is resolved.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;With all this in mind, &lt;strong&gt;why and/or how could this happen&lt;/strong&gt;? It's like the &lt;code&gt;web[data]&lt;/code&gt; cache is &quot;stuck&quot; thinking the child items don't exist and therefore returns null each time, which then has the knock-on effect of putting null into the &lt;code&gt;web[items]&lt;/code&gt; cache. Clear these 2 caches and it hits the database to get the real data, repopulates the caches and we're back in business.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore is supposed to evict items from the caches as and when they get updated, added, deleted, etc. by the publish process, but it's like it's somehow not evicting cache entries for the children that are &quot;not found&quot;.&lt;/p&gt;&#xA;" OwnerUserId="1417" LastEditorUserId="1417" LastEditDate="2018-02-08T10:03:25.653" LastActivityDate="2018-06-09T06:22:13.973" Title="What can cause Sitecore web[data] cache to not be evicted on publish" Tags="|publishing|content-delivery|caching|" AnswerCount="1" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="9937" PostTypeId="2" ParentId="9924" CreationDate="2018-02-07T14:17:56.047" Score="3" Body="&lt;p&gt;It means that you're not in the scope of the site you added in your question or you're inside a &lt;code&gt;DatabaseSwitcher&lt;/code&gt; context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the config (especially empty virtual and physical folder), I'm guessing that your site may be added after another site which accepts same urls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check &lt;code&gt;Sitecore.Context.Site.Name&lt;/code&gt; and &lt;code&gt;Sitecore.Context.Site.Properties[&quot;database&quot;]&lt;/code&gt; to see which site context is used in your method.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-02-07T14:17:56.047" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9940" PostTypeId="2" ParentId="8600" CreationDate="2018-02-07T16:11:20.413" Score="1" Body="&lt;p&gt;Without seeing your code it is hard to say for certain what is going on however this is typically caused by using code blocks in a Sitecore layout.  This will work fine in the Content Editor however as soon as you go to use the Page Editor or Preview a page you will run into this error.  This happens because Sitecore dynamically adds the ribbon control to the page which modifies the controls collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a few options here for solving this issue:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use a literal control or a repeater if possible&lt;/li&gt;&#xA;&lt;li&gt;If trying to inject something into your JavaScript (e.g. the ClientID of a field) then do so using Page.ClientScript.RegisterClientScriptBlock.&lt;/li&gt;&#xA;&lt;li&gt;Use a data binding block instead (&amp;lt;%#  %&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;References:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.tcsc.com/sitecore-layouts-and-code-blocks/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.tcsc.com/sitecore-layouts-and-code-blocks/&lt;/a&gt;&#xA;&lt;a href=&quot;https://weblogs.asp.net/abdullaabdelhaq/how-to-fix-this-the-controls-collection-cannot-be-modified-because-the-control-contains-code-blocks-i-e-lt-gt&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://weblogs.asp.net/abdullaabdelhaq/how-to-fix-this-the-controls-collection-cannot-be-modified-because-the-control-contains-code-blocks-i-e-lt-gt&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3136" LastActivityDate="2018-02-07T16:11:20.413" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9941" PostTypeId="1" CreationDate="2018-02-07T16:45:38.837" Score="1" ViewCount="375" Body="&lt;p&gt;Scenario in our Sitecore 8.1 instance is that, we have a .NET &lt;code&gt;FileSystemWatcher&lt;/code&gt; object that is initialized in &lt;code&gt;Application_BeginRequest&lt;/code&gt; of &lt;code&gt;global.asax&lt;/code&gt;. When a file is dropped in the watched folder, callback code interacts with Sitecore and at some point, attempts to add a new item version (via &lt;code&gt;Item.Versions.AddVersion&lt;/code&gt;). At this point, a &lt;code&gt;NullReferenceException&lt;/code&gt; is raised and we've traced this to a custom &lt;code&gt;LinkProvider&lt;/code&gt; code that uses &lt;code&gt;Context.Site&lt;/code&gt;, that turned out to be the null reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected behavior? Any suggestions, how we can work around this issue? &lt;/p&gt;&#xA;" OwnerUserId="3224" LastEditorUserId="1671" LastEditDate="2018-02-07T18:32:19.803" LastActivityDate="2018-03-10T10:29:59.747" Title="Context.Site is null within LinkProvider code triggered from FileSystemWatcher callback" Tags="|sitecore-api|pipelines|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9942" PostTypeId="2" ParentId="9672" CreationDate="2018-02-07T16:54:57.667" Score="0" Body="&lt;p&gt;Content tests let you test alternative variants of your website's content to find out which pages, components, or combinations of components are the most effective with visitors. The content or components that you are comparing in a test should be designed to achieve the same goal. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content testing is not working properly with CMS mode only. In other words, if you are disabling the analytical function (xDB).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all, let me list down the software versions that I used in this article&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Experience Platform 8.1 rev. 160519 (8.1 Update-3) &lt;/li&gt;&#xA;&lt;li&gt;Solr4.10.4 - recommended Solr version for Sitecore 8.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To disable content testing you should patch one of the Sitecore settings called ContentTesting.AutomaticContentTesting.Enabled. You will need to set this value to false&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9OCDL.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9OCDL.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, you can find few exceptions on crawling log files&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;4352 12:15:39 WARN  Could not compute value for ComputedIndexField:&#xA;  impact for indexable:&#xA;  sitecore://master/{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}?lang=en&amp;amp;ver=1&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Reflection.TargetInvocationException&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Message: Exception has been thrown by the target of an invocation.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source: mscorlib&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[]&#xA;  arguments, Signature sig, Boolean constructor)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type,&#xA;  Object[] parameters)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode&#xA;  configNode, String[] parameters, Boolean assert)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode,&#xA;  String[] parameters, Boolean assert)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Configuration.Factory.AssignProperties(XmlNode&#xA;  configNode, String[] parameters, Object obj, Boolean assert, Boolean&#xA;  deferred, IFactoryHelper helper)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Configuration.Factory.CreateObject(String configPath,&#xA;  String[] parameters, Boolean assert)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at&#xA;  Sitecore.Analytics.Reporting.ReportingQueryBase..ctor(ReportDataProviderBase&#xA;  reportProvider, CachingPolicy cachingPolicy)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at&#xA;  Sitecore.ContentTesting.Analytics.Reporting.TimeRangeItemBasedReportingQuery..ctor(ID&#xA;  queryItemId, ReportDataProviderBase reportProvider, CachingPolicy&#xA;  cachingPolicy)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at&#xA;  Sitecore.ContentTesting.Analytics.Reporting.TestPotentialQuery..ctor(ReportDataProviderBase&#xA;  reportProvider)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at&#xA;  Sitecore.ContentTesting.ContentSearch.ComputedIndexFields.TestPotentialMetricBase.ComputeFieldValue(IIndexable&#xA;  indexable)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at&#xA;  Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilder.AddComputedIndexField(IComputedIndexField&#xA;  computedIndexField, ParallelLoopState parallelLoopState,&#xA;  ConcurrentQueue`1 exceptions)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.NullReferenceException&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Message: Object reference not set to an instance of an object.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source: Sitecore.Analytics.MongoDB&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at&#xA;  Sitecore.Analytics.Reporting.MongoDbReportDataSource..ctor(String&#xA;  connectionStringName)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;These exceptions are related to three computed fields that Sitecore is trying to index them. You can find these fields on the below files &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;\App_Config\Include\ContentTesting\Sitecore.ContentTesting.Solr.IndexConfiguration.config - If you are using Solr &lt;/li&gt;&#xA;&lt;li&gt;\App_Config\Include\ContentTesting\Sitecore.ContentTesting.Lucene.IndexConfiguration.config - if you are using Lucene&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Fields names are:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;impact &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;potential &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;recommendation&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In order to remove these exceptions you have to remove these lines form the above mentioned files, or follow the Sitecore best practices and create a separate config file under Include folder that will be responsible for removing these fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created these config files to make it easier for you :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using Solr, please use zz.Disable.Content.Testing.Solr.config&#xA;If you are using Lucene, please use zz.Disable.Content.Testing.Lucene.config &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Downloads:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://drive.google.com/open?id=1HR-6SQQRU2mOVK8yvRh6CHeDymzzh5O0&quot; rel=&quot;nofollow noreferrer&quot;&gt;zz.Disable.Content.Testing.Lucene.config&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://drive.google.com/open?id=1JlDwX7alZIgDnuMkK1Mh-fHG27IYzqAq&quot; rel=&quot;nofollow noreferrer&quot;&gt;zz.Disable.Content.Testing.Solr.config&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2634" LastEditorUserId="1671" LastEditDate="2018-02-08T04:46:42.983" LastActivityDate="2018-02-08T04:46:42.983" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9943" PostTypeId="2" ParentId="9941" CreationDate="2018-02-07T17:59:03.623" Score="0" Body="&lt;p&gt;As you overwrote the &lt;code&gt;Global.asax&lt;/code&gt; this could be the reason, because Sitecore has its own. So maybe you call your custom implementation before Sitecore calls its own pipelines. To fix this try to use the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline.&#xA;Here is the exact mapping between &lt;code&gt;Global.asax&lt;/code&gt; methods and Sitecore pipelines (&lt;a href=&quot;https://laubplusco.net/global-asax-sitecore-pipelines/&quot; rel=&quot;nofollow noreferrer&quot;&gt;source&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;Application_Start: initialize&lt;/li&gt;&#xA;  &lt;li&gt;Application_BeginRequest: preprocessRequest / httpRequestBegin&lt;/li&gt;&#xA;  &lt;li&gt;Application_EndRequest: httpRequestEnd&lt;/li&gt;&#xA;  &lt;li&gt;Session_End: sessionEnd&lt;/li&gt;&#xA;  &lt;li&gt;Application_End: shutdown&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Not recommended to overwrite &lt;code&gt;Global.asax&lt;/code&gt; which is provided by Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2018-02-07T18:51:10.990" LastActivityDate="2018-02-07T18:51:10.990" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9945" PostTypeId="1" CreationDate="2018-02-07T19:30:24.733" Score="0" ViewCount="128" Body="&lt;p&gt;In a .cshtml View I've got:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;@this.HomePage.BulkPurchasesPage.Url&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I haven't been able to locate this so far. I don't see it on neither the  Template &lt;code&gt;__StandardValues&lt;/code&gt; nor on the Content data fields. So it's probably in one the the &lt;code&gt;Templates&lt;/code&gt; above, in the inheritance?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Visual Studio an F12 &quot;Go to definition&quot; :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  /// &amp;lt;summary&amp;gt;&#xA;    /// The Bulk Purchases Page field.&#xA;    /// &amp;lt;para&amp;gt;&amp;lt;/para&amp;gt;&#xA;    /// &amp;lt;para&amp;gt;Field Type: Droptree&amp;lt;/para&amp;gt;       &#xA;    /// &amp;lt;para&amp;gt;Field ID: e4e701fc-1f03-4898-8a24-0acbdccb1021&amp;lt;/para&amp;gt;&#xA;    /// &amp;lt;para&amp;gt;Custom Data: type=PageBase&amp;lt;/para&amp;gt;&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    [global::System.CodeDom.Compiler.GeneratedCodeAttribute(&quot;Team Development for Sitecore - GlassItem.tt&quot;, &quot;1.0&quot;)]&#xA;    [SitecoreField(&quot;Bulk Purchases Page&quot;)]&#xA;    public virtual PageBase BulkPurchasesPage  {get; set;}&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// The &amp;lt;see cref=&quot;Sitecore.Data.ID&quot;/&amp;gt; of the 'Bulk Purchases Page' field.&#xA;    /// &amp;lt;/summary&amp;gt;        &#xA;    public static ID BulkPurchasesPageFieldId = new ID(&quot;e4e701fc-1f03-4898-8a24-0acbdccb1021&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which I don't know how to leverage. There must be another way, either from the Sitecore Tree, or from Visual Studio F12 to track this &lt;code&gt;HomePage.BulkPurchasesPage.Url&lt;/code&gt; field back. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="2727" LastEditDate="2018-02-09T08:34:49.503" LastActivityDate="2018-02-09T08:34:49.503" Title="Locating &quot;@this.HomePage.BulkPurchasesPage.Url&quot; in the Sitecore tree" Tags="|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9946" PostTypeId="2" ParentId="9586" CreationDate="2018-02-07T19:30:36.080" Score="0" Body="&lt;p&gt;The answer turned out to be in the way Sitecore manages users, even if you're using an external membership database. Let's say you have a standard membership and roles database set up, with Sitecore configured to connect a custom domain and its users/roles to it. When you create a user, you'll find the record in the aspnet_Users/aspnet_Membership tables of your external database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What Sitecore also does, however, is to create a record in the aspnet_Users table of the Core database. The user ID doesn't match (or have to), just the username is present with the domain (even if, in your external membership configuration, you specified to not store the domain with the username). This &quot;marker&quot; record is the key; without it, Coveo will throw those errors about not finding a user. (Also without it, setting security on a Sitecore item with an individual user won't work properly, though role-based security will.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing I was doing was using a membership/role provider specifying the custom provider name. This is NOT necessary; use the standard provider calls and Sitecore will organize things correctly in the background. Since we migrated this external database from another application, we had to manually insert the &quot;marker&quot; records into the Core database. After doing that and clearing up the Coveo security cache, everything was good to go.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-02-07T19:30:36.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9947" PostTypeId="2" ParentId="9945" CreationDate="2018-02-07T20:25:21.893" Score="1" Body="&lt;p&gt;The code you've included above suggests that your project is using Glass Mapper. Glass is an ORM tool for Sitecore that will take items from your database and map them to C# object for you. It's kind of like Entity Framework, but for Sitecore data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass can map to objects created from classes you define, or it can dynamically build objects that implement interfaces you define.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So somewhere in your database you have an item that your code has loaded using Glass. As it's gone through your item, Glass has looked at the Field &quot;Bulk Purchases Page&quot; as part of its mapping process. It's found a GUID there I expect. The C# property you show above has an attribute &lt;code&gt;SitecoreField(&quot;Bulk Purchases Page&quot;)&lt;/code&gt; which tells Glass &quot;map the value of the database field with this name into the value of this property&quot;. The property is defined as having the .Net type &quot;PageBase&quot; - which Glass sees as &quot;another class which can represent an item&quot;. Hence it loads the item the GUID points at, and repeats the mapping process to put the target item into an instance of PageBase.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the property &quot;URL&quot; is most likely defined on the PageBase class, or something it inherits from. This property will probably have an attribute on it (&lt;code&gt;SitecoreInfo(SitecoreInfoType.Url)&lt;/code&gt;) which tells Glass to use Sitecore's LinkManager to work out the correct URL for the item being mapped, and then set the property's value to that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's more detail about using Glass on the tool's website: &lt;a href=&quot;http://glass.lu/Mapper&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://glass.lu/Mapper&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="233" LastActivityDate="2018-02-07T20:25:21.893" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9948" PostTypeId="2" ParentId="9917" CreationDate="2018-02-07T20:41:07.537" Score="3" Body="&lt;p&gt;Could you please try the following solution?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the following after line 10 in &lt;code&gt;advanced-sample-react\src\dataProvider\DataProvider.prod.js&lt;/code&gt;: &lt;code&gt;params.sc_site = 'jssadvancedapp';&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For context:&#xA;&lt;code&gt;&#xA;const getFetchOptions = (language, options = {}) =&amp;gt; {&#xA;  const params = options.params || {};&#xA;  params.sc_site = 'jssadvancedapp';&#xA;  ...&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;this forces the site context switch via query string. The value will vary per JSS app naturally.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Drop &lt;a href=&quot;https://sitecore.box.com/s/me5m29n1t2djb20ed5zoolicc2d2wjg3&quot; rel=&quot;nofollow noreferrer&quot;&gt;this DLL&lt;/a&gt; into the &lt;code&gt;/bin&lt;/code&gt; (make a copy of your current &lt;code&gt;Sitecore.LayoutService.Mvc.dll&lt;/code&gt; prior to that)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please let us know if this fixes the issue so we can put the official fix out for the next update.&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-02-07T20:41:07.537" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9949" PostTypeId="1" CreationDate="2018-02-07T20:43:04.800" Score="1" ViewCount="273" Body="&lt;p&gt;I am using Sitecore.Ship with Sitecore 9.0.1 to automate CI and CD build on Azure and also using TDS, I downloaded Sitecore.ship from Git, changed the .net framework to be 4.6.2 and built the solution.  However when i try to test Sitecore.Ship on my local machine using URL &lt;a href=&quot;http://test/services/package/install&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://test/services/package/install&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got below error, any idea why and is there anther better way to automate the build &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A potentially dangerous Request.Form value was detected from the&#xA;  client (=&quot;...ï¿½%ï¿½ï¿½ï¿½&#xA;  ï¿½ï¿½mï¿½&#xA;  &#xA;  &lt;p&gt;System.Web.HttpRequest.ValidateString(String value, String&#xA;  collectionKey, RequestValidationSource requestCollection) +11943747&lt;br&gt;&#xA;  System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection&#xA;  collection, RequestValidationSource requestCollection) +200&lt;br&gt;&#xA;  System.Web.HttpRequest.get_Form() +59&lt;br&gt;&#xA;  Sitecore.Ship.AspNet.Package.InstallPackageCommand.GetRequest(HttpRequestBase&#xA;  request)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="1671" LastEditDate="2018-02-08T04:46:54.310" LastActivityDate="2018-02-08T04:46:54.310" Title="Sitecore.Ship with Sitecore 9" Tags="|deployment|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9950" PostTypeId="2" ParentId="5038" CreationDate="2018-02-07T22:34:03.443" Score="2" Body="&lt;p&gt;it sounds like you would like to do a facet&#xA;facets = context.GetQueryable()&lt;br&gt;&#xA;                  .FacetOn(x =&gt; x.Year)&#xA;                  .GetFacets();&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the facets is a collection of collections with facet categories (the field YEAR) and inside a collection of facet values (2001, 2002 etc).&#xA;this is distinct by nature and does not require you to get ANY documents from the index&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2018-02-07T22:34:03.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9951" PostTypeId="2" ParentId="9919" CreationDate="2018-02-07T22:41:06.487" Score="1" Body="&lt;p&gt;I would take Kam Figys Solr script&#xA;&lt;a href=&quot;https://gist.github.com/kamsar/ef8811bd458603f1e808&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/kamsar/ef8811bd458603f1e808&lt;/a&gt;&#xA;and take the relevant parts out of it (remove the actual installation).&#xA;You might need to upload the schema.xml yourself &lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2018-02-07T22:41:06.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9952" PostTypeId="2" ParentId="9771" CreationDate="2018-02-07T22:45:49.810" Score="1" Body="&lt;p&gt;From what I read you dont want grouping (which would be for getting some results for EVERY language&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;context.GetQueryable&amp;lt;MySearchResultItem&amp;gt;().Where(item =&amp;gt; item.Language&#xA;== context.Language)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have multiple &quot;current languages&quot; you should have an OR condition on the Where term for multiple languages.&lt;/p&gt;&#xA;" OwnerUserId="214" LastEditorUserId="1671" LastEditDate="2018-02-08T04:47:35.693" LastActivityDate="2018-02-08T04:47:35.693" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9953" PostTypeId="2" ParentId="9923" CreationDate="2018-02-07T23:40:38.993" Score="2" Body="&lt;p&gt;After speaking to Sitecore Support I received the following answer. I hope this can help someone else experiencing the same situation. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore client/backend does not support running behind a CDN especially when caching and OWASP ruleset are enabled.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore has registered a feature request for the product so that it can be considered for future implementation. To track the future status of this request, please use the reference number 199315.&lt;/li&gt;&#xA;&lt;li&gt;In the meantime, please consider not using OWASP ruleset, since it breaks your solution behaviour. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2018-02-07T23:40:38.993" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9954" PostTypeId="1" CreationDate="2018-02-08T00:36:30.803" Score="2" ViewCount="882" Body="&lt;p&gt;We have 2 load balanced CD servers. Session affinity is disabled on the load balancer and we are using MongoDB for session storage. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;User authentication is performed on a separate site. They are redirected back to our servers and logged into Sitecore as a virtual user.  Custom properties are set on the user profile such as first and last name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once signed in, the user is presented with a welcome message ie. &quot;Hello Bob&quot;. The value Bob will only display on one server. If the user is bounced to the second server by refreshing it, will just display &quot;Hello&quot;, without the custom property. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have verified that the data is getting saved to the &lt;code&gt;ClientData&lt;/code&gt; table in core with the correct session Id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am at a loss on, what to look at now to get this to work. Any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Session state from &lt;code&gt;web.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;mongo&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot;&amp;gt;&#xA;&amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;mongo&quot;&#xA;         type=&quot;Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, &#xA;     Sitecore.SessionProvider.MongoDB&quot;&#xA;         connectionStringName=&quot;privateSession&quot;&#xA;         pollingInterval=&quot;2&quot;&#xA;         compression=&quot;true&quot;&#xA;         sessionType=&quot;private&quot;/&amp;gt;&#xA;&amp;lt;/providers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Shared session state:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sharedSessionState patch:source=&quot;Sitecore.Analytics.Tracking.config&quot; defaultProvider=&quot;mongo&quot;&amp;gt;&#xA;&amp;lt;providers&amp;gt;&#xA;    &amp;lt;clear /&amp;gt;&#xA;    &amp;lt;add name=&quot;InProc&quot; type=&quot;System.Web.SessionState.InProcSessionStateStore&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;mongo&quot; type=&quot;Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB&quot; connectionStringName=&quot;sharedSession&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; sessionType=&quot;shared&quot; patch:source=&quot;SharedSession.config&quot; /&amp;gt;&#xA;&amp;lt;/providers&amp;gt;&#xA;&amp;lt;manager type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateManager, Sitecore.Analytics&quot;&amp;gt;&#xA;    &amp;lt;param ref=&quot;tracking/sharedSessionState/config&quot; desc=&quot;configuration&quot; /&amp;gt;&#xA;&amp;lt;/manager&amp;gt;&#xA;&amp;lt;config type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateConfig, Sitecore.Analytics&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;maxLockAge&quot;&amp;gt;5000&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;timeoutBetweenLockAttempts&quot;&amp;gt;10&amp;lt;/param&amp;gt;&#xA;&amp;lt;/config&amp;gt;&#xA;&amp;lt;/sharedSessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="394" LastEditorUserId="2727" LastEditDate="2018-02-10T10:00:31.650" LastActivityDate="2018-02-10T10:00:31.650" Title="Virtual user custom properties missing on CD server" Tags="|session-state|authentication|content-delivery|user-management|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9955" PostTypeId="2" ParentId="9931" CreationDate="2018-02-08T06:03:08.770" Score="1" Body="&lt;p&gt;In your case, I would suggest keeping the default field &lt;code&gt;_content&lt;/code&gt; as is and try&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7jyZv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7jyZv.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I haven't tried the multi-lingual search, make sure these &lt;a href=&quot;http://bit.ly/2BMovMs&quot; rel=&quot;nofollow noreferrer&quot;&gt;configurations&lt;/a&gt; are added in your Sitecore instance.&lt;/p&gt;&#xA;&lt;p&gt;Let me know how it goes.&lt;/p&gt;&#xA;" OwnerUserId="1279" LastEditorUserId="4817" LastEditDate="2022-09-22T03:44:07.693" LastActivityDate="2022-09-22T03:44:07.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9957" PostTypeId="2" ParentId="9899" CreationDate="2018-02-08T08:36:57.923" Score="4" Body="&lt;p&gt;I implemented a custom user builder by inheriting from ExternalUserBuilder where i override the CreateUniqueUserName method to provide the email as username and now the user created is having username as email instead of guid based name. Not tested it fully but below is the code snippet&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [SuppressMessage(&quot;Microsoft.Naming&quot;, &quot;CA1726:UsePreferredTerms&quot;, MessageId = &quot;Login&quot;)]&#xA;        protected virtual string CreateUniqueUserName(UserManager&amp;lt;ApplicationUser&amp;gt; userManager, ExternalLoginInfo externalLoginInfo)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)userManager, nameof(userManager));&#xA;            Assert.ArgumentNotNull((object)externalLoginInfo, nameof(externalLoginInfo));&#xA;            IdentityProvider identityProvider = this.FederatedAuthenticationConfiguration.GetIdentityProvider(externalLoginInfo.ExternalIdentity);&#xA;            if (identityProvider == null)&#xA;                throw new InvalidOperationException(&quot;Unable to retrieve identity provider for given identity&quot;);&#xA;            string domain = identityProvider.Domain;&#xA;            return domain + &quot;\\&quot; + externalLoginInfo.Email;&#xA;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2018-02-08T08:36:57.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9958" PostTypeId="1" CreationDate="2018-02-08T08:39:18.370" Score="0" ViewCount="493" Body="&lt;p&gt;Our requirement for the project, is to use Snippets and somehow have those snippets added on Page Designs. However, it seems that is not possible, since the standard way to do that is to add a Snippet component inside a Partial Design, then assign it to a Page Design. But putting a Snippet components inside a Partial Design would lose its re-usability features. &lt;em&gt;(I'm bit new to SXA but this is my understanding so far)&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried adding a Snippet component directly to a Page design, but it is not rendered on the Page/Live site. &lt;em&gt;(I know this is wrong but tried anyway.)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way or a work around, so that add a Snippet component could be added directly and would work as is on a Page Design? &lt;/p&gt;&#xA;" OwnerUserId="3169" LastEditorUserId="2727" LastEditDate="2018-02-27T16:15:49.207" LastActivityDate="2018-02-28T04:52:50.463" Title="Is it possible to add a SXA snippet directly to a Page Design?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9959" PostTypeId="2" ParentId="9904" CreationDate="2018-02-08T11:05:53.560" Score="1" Body="&lt;p&gt;I finally added the reference to the Sitecore.XA.Foundation.Mvc DLL which lives in my installed sitecore instance bin/ directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't believe this is the right way to do it. So I'm leaving it open. &lt;/p&gt;&#xA;" OwnerUserId="3215" LastEditorUserId="3215" LastEditDate="2018-02-12T09:08:58.880" LastActivityDate="2018-02-12T09:08:58.880" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9960" PostTypeId="1" AcceptedAnswerId="10327" CreationDate="2018-02-08T12:04:58.237" Score="1" ViewCount="269" Body="&lt;p&gt;I just installed Sitecore 9 Update 1 and I'm going through trying to set up some security rights. In Chrome 64 (latest version), I keep seeing little flashes as modals open, but when I click the Add button for Assign Security Rights, I'll either get just a gray screen with no Add an Account window, or if I tab off and back I get the window, but it's useless...if I mouse over anything, the UI starts to vanish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works fine in IE 11 and Firefox 58. All instances are on a Windows Server 2016 VM acting as a dev environment. Has anyone else seen this behavior with Chrome 64 and Sitecore 9 Update 1?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: This isn't happening in every case of using security assignment, but even in Chrome incognito mode I can make it repeat. This is a freshly-installed VM, so no extensions were added to Chrome that didn't ship with it.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to the Desktop and switch to the Core database.&lt;/li&gt;&#xA;&lt;li&gt;Open the Content Editor.&lt;/li&gt;&#xA;&lt;li&gt;Search for &quot;publish&quot; and click on &quot;Publish Site&quot;.&lt;/li&gt;&#xA;&lt;li&gt;On the Security tab, click the Assign button.&lt;/li&gt;&#xA;&lt;li&gt;You can see bits of the next UI but it's unusable.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This appears to be happening for any item in the Core database that already has security assigned to it. I assigned some security to the Home item in the Master database, and the behavior is what you'd expect. But any item in Core in that same folder as &quot;Publish Site&quot; (/sitecore/content/Documents and settings/All users/Start menu/Left/) is giving me the same experience if it has security already.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2018-02-08T15:08:01.680" LastActivityDate="2018-02-20T19:07:22.137" Title="Buggy UI with Chrome and Sitecore 9.0u1" Tags="|content-editor|sheer-ui|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="9961" PostTypeId="1" AcceptedAnswerId="9962" CreationDate="2018-02-08T12:40:41.870" Score="15" ViewCount="1183" Body="&lt;p&gt;We wanted to setup a server as ContentManagement,Processing and Reporting instance. As we can combine roles, we changed the config accordingly. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;role:define&quot; value=&quot;ContentManagement,Processing,Reporting&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We immediatly got errors and noticed that we hadn't done the content management setup as described &lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/content-management/index.html&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;. So we set the serviceUrl's and got rid of the errors. Looked weird to send all requests for processing and reporting to ourselves but still.. let's try to follow the guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But.. our server went berzerk.. CPU peaking, no responses anymore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried to set the server (back) into the &quot;Standalone&quot; role, and he worked fine. So, something seems wrong with the config role setup?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 9.0-update1. Trying to setup a CM (incl reporting &amp;amp; processing) + CD...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-07-02T14:24:14.490" Title="Server role config with ContentManagement,Processing,Reporting not working" Tags="|configuration|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="9962" PostTypeId="2" ParentId="9961" CreationDate="2018-02-08T12:40:41.870" Score="16" Body="&lt;p&gt;We called upon Sitecore Support and they told us this was a &quot;bug&quot;. It will be documented but until that is done, you can follow this guide:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;App_Config\Sitecore\Marketing.xDB\Sitecore.Xdb.Remote.Client.config&lt;/em&gt;:&#xA;set role:require on sitecore element to &quot;ContentManagement AND !Reporting&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sitecore role:require=&quot;ContentManagement AND !Reporting&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;App_Config\Sitecore\Marketing.xDB\Sitecore.Xdb.Remote.Server.config&lt;/em&gt;: set role:require on reporting element to &quot;Reporting AND !ContentManagement&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;reporting role:require=&quot;Reporting AND !ContentManagement&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;App_Config\Sitecore\PathAnalyzer\Sitecore.PathAnalyzer.RemoteClient.config&lt;/em&gt;: set role:require on sitecore element to &quot;ContentManagement AND !Reporting&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sitecore role:require=&quot;ContentManagement AND !Reporting&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;App_Config\Sitecore\PathAnalyzer\Sitecore.PathAnalyzer.Services.RemoteServer.config&lt;/em&gt;: set role:require on sitecore element to &quot;Reporting AND !ContentManagement&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sitecore role:require=&quot;Reporting AND !ContentManagement&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;App_Config\Sitecore\Marketing.Operations.Xdb.ReferenceData\Sitecore.Marketing.Taxonomy.Xdb.ReferenceData.config&lt;/em&gt;: set role:require on sitecore element to &quot;(Processing or Reporting) AND !ContentManagement&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sitecore role:require=&quot;(Processing or Reporting) AND !ContentManagement&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;App_Config\Sitecore\Marketing.Operations.Xdb.ReferenceData\Sitecore.Marketing.Operations.Xdb.ReferenceData.config&lt;/em&gt;: &#xA;Set role:require on sitecore element to &quot;(Processing or Reporting) AND !ContentManagement&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sitecore role:require=&quot;(Processing or Reporting) AND !ContentManagement&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When doing this, there is no more need to set serviceUrl and such as the remoting for reporting and processing server is turned off as it should. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-02-08T12:40:41.870" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="9963" PostTypeId="2" ParentId="9904" CreationDate="2018-02-08T14:31:06.637" Score="4" Body="&lt;p&gt;The XA dlls are not yet available from nuget (but they will be). At this point you can create a source-controlled /lib folder in your solution and reference the needed .XA dlls from there.&lt;/p&gt;&#xA;" OwnerUserId="3232" LastActivityDate="2018-02-08T14:31:06.637" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9964" PostTypeId="2" ParentId="9954" CreationDate="2018-02-08T14:42:16.457" Score="3" Body="&lt;p&gt;Virtual user information is saved in Session. By default Sitecore configuration doesn't share sessions information between few CD servers. That is why one CD server doesn't know anything about logged in users on others CD servers. You have few options, how to solve it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Configure your hosting environment to use sticky load balancer. Link that was &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/session_state/session_state_configuration_scenarios&quot; rel=&quot;nofollow noreferrer&quot;&gt;mentioned by Tamas&lt;/a&gt; is useful. Sticky load balancer means that user always will be routed to same CD. Other CDs will not know anything about this session on one CD, but it doesn't matter.&lt;/li&gt;&#xA;&lt;li&gt;Use SessionState configuration that allows to share information between few servers. For Sitecore 8 it could be &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;SQL Session State Provider&lt;/a&gt;. For Sitecore 7 you have a lot of options, you can use any &lt;a href=&quot;https://www.devopsguys.com/2013/07/26/best-performing-asp-net-session-state-providers-2013/&quot; rel=&quot;nofollow noreferrer&quot;&gt;ASPNet session state providers&lt;/a&gt;. It could be Redis, Couchbase, RavenDB, MongoDB, etc. This approach means that virtual user information will be saved in shared place and could be user by different CD servers.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;P.S. Don't forget to use &lt;code&gt;user.Profile.Save();&lt;/code&gt; in your code.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-02-08T14:42:16.457" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="9967" PostTypeId="2" ParentId="9874" CreationDate="2018-02-08T15:56:10.560" Score="1" Body="&lt;p&gt;In truth, I don't know why Windows 10 can unzip some Sitecore packages, but not others. For the ones that don't work in Windows, &lt;a href=&quot;http://www.7-zip.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;7-Zip&lt;/a&gt; seems work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thing I have found is that some packages can contain very deeply nested folder structures with file paths over the Windows limit (260 characters). In cases where the package contains file paths &lt;em&gt;close&lt;/em&gt; to the windows limit, extracting the package to a less deep folder on your computer can help e.g. &lt;code&gt;C:\temp&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-02-08T15:56:10.560" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="9968" PostTypeId="1" AcceptedAnswerId="12734" CreationDate="2018-02-08T16:18:12.800" Score="8" ViewCount="2066" Body="&lt;p&gt;I am relatively new to SOLR.   We are using SOLR 6.1.0.1 with Sitecore 8.1 Update 3.  There are roughly 50K items (content and files) being indexed.  We are being plagued by poor throughput (through put is about 77%), general slowness, and errors in logs such as consecutive full GC and errors such as &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Error opening new searcher. exceeded limit of maxWarmingSearchers=2&quot;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The SOLR server has 8 cores and 16GB of memory.  We are running 64bit version of Java in SOLR.  I have increased the heap space to 4GB.  I am not seeing Out of Memory exceptions in the SOLR logs.  SOLR is installed on a single server.  We are not using sharding, SOLR Cloud or an other distributed type SOLR instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Advice would be much appreciated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore eventually supplied me with a hotfix to resolve the problem.  You can use the reference number 142962 to request a hotfix from Sitecore if you need it.&lt;/p&gt;&#xA;" OwnerUserId="3235" LastEditorUserId="3235" LastEditDate="2018-11-07T17:51:53.970" LastActivityDate="2018-11-07T17:51:53.970" Title="Error opening new searcher. exceeded limit of maxWarmingSearchers=2" Tags="|content-search|solr|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="9969" PostTypeId="2" ParentId="9931" CreationDate="2018-02-08T16:44:14.947" Score="0" Body="&lt;p&gt;There is an overload for the GetQueryable() you can try:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var culture = Sitecore.Context.Language.CultureInfo;&#xA;var queryable = context.GetQueryable&amp;lt;TYPE&amp;gt;(new CultureExecutionContext(culture));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Use this along with the predicate where you specify the language and see if that helps.&lt;/p&gt;&#xA;" OwnerUserId="2630" LastActivityDate="2018-02-08T16:44:14.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9970" PostTypeId="2" ParentId="9968" CreationDate="2018-02-08T18:16:23.603" Score="1" Body="&lt;p&gt;Every time the index gets updated, a new searcher takes place and to prevent a long down time, Solr would already have warmed another searcher to be used once the index is updated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If another update comes soon after, before using the first new searcher and second searcher gets warmed and so on. But Solr limits this behavior with the &lt;code&gt;maxWarmingSearcher&lt;/code&gt; count. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you keep seeing the &lt;code&gt;maxWarmingSearcher&lt;/code&gt; exceeded message, i would guess Solr is getting too many index updates in short time spans. While it's switching searchers Solr would be slower. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So as a start, make sure you limit the index update requests.&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="2727" LastEditDate="2018-02-10T10:00:38.773" LastActivityDate="2018-02-10T10:00:38.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9971" PostTypeId="1" CreationDate="2018-02-08T20:38:54.140" Score="3" ViewCount="1197" Body="&lt;p&gt;I have created a Sitecore 9.0 PaaS in Azure. I am trying to work with xConnect by following this article - &lt;a href=&quot;https://doc.sitecore.net/developers/xp/getting-started/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/getting-started/&lt;/a&gt;, tutorial 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The certificate I used to create our environment in Azure is installed locally and I have the thumbprint. I have replaced the thumbprint and the URLs in the code where requested. When I run my code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;The certificate was not found.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have followed this article for troubleshooting, &lt;a href=&quot;https://kamsar.net/index.php/2017/10/All-about-xConnect-Security/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2017/10/All-about-xConnect-Security/&lt;/a&gt;, especially under the &quot;The certificate was not found&quot; section. However, I still can't get it to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3237" LastEditorUserId="1671" LastEditDate="2018-02-08T21:40:28.747" LastActivityDate="2018-04-11T05:39:24.267" Title="Certificate not found error while using xConnect on Azure from Visual Studio Application" Tags="|azure|xconnect|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9972" PostTypeId="1" AcceptedAnswerId="9984" CreationDate="2018-02-08T22:14:17.787" Score="1" ViewCount="830" Body="&lt;p&gt;Scenario: A layout has controller rendering and it is in &lt;code&gt;main&lt;/code&gt; placeholder. When the page loads and hits the action, we are trying to insert an existing WFFM form to the same placeholder as given in &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/82/using_web_forms/creating_web_forms/insert_a_web_form_directly_on_a_web_page&quot; rel=&quot;nofollow noreferrer&quot;&gt;this link&lt;/a&gt;.&#xA;This way, we have the option to conditionally load different forms to the same placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In above mentioned article, it states that, it is possible to insert an existing form onto a page using the code-behind class. By getting hold of placeholder and adding a control to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when the page loads and hits the controller action, this code segment's 3rd line gives &lt;code&gt;null reference&lt;/code&gt; error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;FormRender fr = new FormRender(); &#xA;fr.FormID = &quot;5D9E85F3-5E03-49A7-A136-93269DEA22A7&quot;;//form item id&#xA;Sitecore.Context.Page.GetPlaceholder(&quot;main&quot;).Controls.Add(fr);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The reason is, &lt;code&gt;Sitecore.Context.Page&lt;/code&gt; returns 0 placeholder, hence null reference exception as '&lt;code&gt;GetPlaceholder(&quot;main&quot;)&lt;/code&gt; gives null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this code segment, returns placeholder, taken from &lt;a href=&quot;https://stackoverflow.com/questions/37073132/sitecore-get-the-number-of-placeholders&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var placeholderName = &quot;my-placeholder&quot;;&#xA;var renderingReferences = Sitecore.Context.Item.Visualization.GetRenderings(Sitecore.Context.Device, true);&#xA;var renderingsInPlaceholder = renderingReferences.Where(r =&amp;gt; r.Placeholder.StartsWith(placeholderName, StringComparison.OrdinalIgnoreCase));&#xA;var numberOfRenderingsInPlaceholder = renderingsInPlaceholder.Count();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Yes, we can get hold of the placeholder but then how can we add a control/form to this placeholder? &lt;/p&gt;&#xA;" OwnerUserId="2028" LastEditorUserId="2727" LastEditDate="2018-02-09T10:39:26.147" LastActivityDate="2018-02-09T12:28:17.877" Title="Add or edit controls in a placeholder through code" Tags="|wffm|placeholders|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9973" PostTypeId="1" CreationDate="2018-02-09T00:54:58.783" Score="3" ViewCount="1462" Body="&lt;p&gt;We have had an automated deployment process that has been working well for ages deploying our Sitecore 8.2 Update 5 site to Azure. Yesterday, a deployment failed to our test environment with the CD instance of the site returning: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;502 - Web server received an invalid response while acting as a&#xA;  gateway or proxy server&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;All Sitecore URLs are returning 502, the only URLs being served are static images.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the end the only way to fix the issue was restoring the Sitecore web database to a restore point before the deployment. So it appears the web database somehow got corrupted. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else experienced this? I would like to find the root cause of the problem so it doesn't occur in our production environment.&lt;/p&gt;&#xA;" OwnerUserId="1665" LastEditorUserId="1671" LastEditDate="2018-02-09T03:42:50.613" LastActivityDate="2018-02-09T03:42:50.613" Title="502 error after deployment to Azure" Tags="|azure|publishing|deployment|" AnswerCount="0" CommentCount="2" ClosedDate="2019-06-23T14:13:17.323" ContentLicense="CC BY-SA 3.0" />
  <row Id="9974" PostTypeId="1" CreationDate="2018-02-09T01:06:56.950" Score="1" ViewCount="588" Body="&lt;p&gt;I'm having an issue taking an older version of our site running under Sitecore 7.2 (with some older dll's such as glass mapper) and switching over from Lucene to Solr (6.6.2).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've followed the steps for setting up Solr/Sitecore, however the first issue I had was that, I was missing some solr.config files in the &lt;code&gt;app_config/includes&lt;/code&gt; folder, so I &quot;borrowed&quot; them from a functional Solr 6.6.2/Sitecore 8.2 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm hoping that's not problem number one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to load the 7.2 site (after following the Solr setup steps), I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[EntryPointNotFoundException: Entry point was not found.]&#xA;         Sitecore.Abstractions.ISettings.GetSetting(String name, String defaultValue) +0&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_IsEnabled()&#xA;  +72&#xA;  Sitecore.ContentSearch.SolrProvider.Pipelines.Loader.InitializeSolrProvider.Process(PipelineArgs&#xA;  args) +13&#xA;             (Object , Object[] ) +71&#xA;             Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +331&#xA;             Sitecore.Nexus.Web.HttpModule.Application_Start() +208&#xA;             Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +673&#xA;             System.Web.HttpApplication.InitModulesCommon() +201&#xA;             System.Web.HttpApplication.InitInternal(HttpContext context, &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;HttpApplicationState state, MethodInfo[] handlers) +1069&#xA;    System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext&#xA;  context) +382&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)&#xA;  +433&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I originally had put the &lt;code&gt;IOC.Unity.config&lt;/code&gt; file in the &lt;code&gt;app_config/includes&lt;/code&gt; folder, thinking that was a needed file, but it produced a similar, yet longer error message, so I have it currently disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm wondering if this a pipeline issue. Since I copied some configs from the 8.2 instance, maybe it's possible those configs are incompatible / need to be rewritten to be useful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also copied a few dll's from the 8.2 bin folder (&lt;code&gt;Sitecore.abstractions.dll&lt;/code&gt;, etc), that were not present in the 7.2 install. Hope this isn't what's causing the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case it might be helpful, below is my &lt;code&gt;global.asax&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@Application Language='C#' Inherits=&quot;Sitecore.ContentSearch.SolrProvider.UnityIntegration.UnityApplication&quot; %&amp;gt;&#xA;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Diagnostics&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;System.Web.Configuration&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Glass.Sitecore.Mapper&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Glass.Sitecore.Mapper.Configuration.Attributes&quot; %&amp;gt;&#xA;&#xA;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;     public void Application_Start() {&#xA;        AttributeConfigurationLoader loader = new&#xA;        AttributeConfigurationLoader&#xA;     (&#xA;        new string[] { &#xA;            &quot;MedTouch.Base.BLL&quot;&#xA;        }&#xA;     );&#xA;&#xA; Glass.Sitecore.Mapper.Context context = new&#xA; Glass.Sitecore.Mapper.Context(loader);&#xA; }&#xA;&#xA; &amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Would appreciate any suggestions to get around this error, it's got me pretty roadblocked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3055" LastEditorUserId="2727" LastEditDate="2018-02-09T08:34:12.893" LastActivityDate="2018-02-09T09:25:49.003" Title="Sitecore Content Search Exception: Entry point was not found" Tags="|solr|content-search|configuration|dependency-injection|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9975" PostTypeId="2" ParentId="9936" CreationDate="2018-02-09T03:25:23.947" Score="1" Body="&lt;p&gt;Older versions of 8.2 had some publishing issues:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/136794&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/136794&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/631685&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/631685&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There were a batch of publishing issues resolved in 8.2 updates 4 &amp;amp; 5: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update4/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update4/Release%20Notes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update5/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update5/Release%20Notes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would recommend an upgrade to a more recent update of 8.2 or to contact support to see if there hotfixes you could apply.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-02-09T03:25:23.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9976" PostTypeId="2" ParentId="9416" CreationDate="2018-02-09T04:16:47.587" Score="4" Body="&lt;p&gt;I'm not quite sure why SC throws that exception but what you and I were trying to accomplished is not following that documentation.&#xA;you need to implement a class similar to NowCondition, I think SC looks for classes that inherits for RuleContext.&#xA;Here is an working example, ps. the text needs to be [PropertyName, Control, Parameter, Display Value] for instance [MyProperty,,,City Name]&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NowCondition&amp;lt;T&amp;gt; : WhenCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;/// &amp;lt;summary&amp;gt;Gets or sets the UTC date.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;value&amp;gt;The UTC date.&amp;lt;/value&amp;gt;&#xA;public string Now { get; set; }&#xA;&#xA;/// &amp;lt;summary&amp;gt;Executes the specified rule context.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;ruleContext&quot;&amp;gt;The rule context.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;&amp;lt;c&amp;gt;True&amp;lt;/c&amp;gt;, if the condition succeeds, otherwise &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;.&amp;lt;/returns&amp;gt;&#xA;protected override bool Execute(T ruleContext)&#xA;{&#xA;  DateTime utcNow = DateTimeProvider.GetUtcNow();&#xA;  DateTime dateTime = DateUtil.ParseDateTime(this.Now, DateTime.MaxValue);&#xA;  if (dateTime.Kind != DateTimeKind.Utc)&#xA;    this.HandleInvalidDateKind();&#xA;  return utcNow &amp;gt; dateTime;&#xA;}&#xA;&#xA;/// &amp;lt;summary&amp;gt;Handles the invalid DateTime Kind.&amp;lt;/summary&amp;gt;&#xA;protected virtual void HandleInvalidDateKind()&#xA;{&#xA;  Log.Warn(&quot;Sitecore.Rules.Conditions.DateTimeConditions.NowCondition&amp;lt;T&amp;gt; expects UTC date, but date with different kind has been assigned to Now property: &quot; + this.Now, (object) this);&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2952" LastActivityDate="2018-02-09T04:16:47.587" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9977" PostTypeId="1" CreationDate="2018-02-09T06:17:21.907" Score="1" ViewCount="92" Body="&lt;p&gt;There are many ways to track the user clicks in the Sitecore website using FXM. But is there any method to track the same on Sitecore Pages? Because for FXM, we can only add an external non-Sitecore web pages. &lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="2727" LastEditDate="2018-02-10T10:00:26.177" LastActivityDate="2018-02-10T10:00:26.177" Title="Click Tracking in FXM Sitecore" Tags="|fxm|" AnswerCount="0" CommentCount="2" ClosedDate="2018-02-09T18:56:36.760" ContentLicense="CC BY-SA 3.0" />
  <row Id="9978" PostTypeId="1" CreationDate="2018-02-09T06:29:34.893" Score="2" ViewCount="299" Body="&lt;p&gt;I have recently upgraded Sitecore 8.0 update 2 to Sitecore 8.2 update 6. I have also upgraded wffm module according to sitecore version but that destroyed all the existing forms designing. It is also showing some conflicts in jquery. Can someone suggest  any quick resolution for this. Also is it possible that we do not upgrade wffm and keep old version to avoid these issues? Thanks&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="1273" LastEditDate="2018-02-11T12:55:33.137" LastActivityDate="2018-02-12T03:22:05.737" Title="WFFM upgrade issue" Tags="|wffm|upgrade|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9979" PostTypeId="2" ParentId="5006" CreationDate="2018-02-09T07:36:21.847" Score="0" Body="&lt;p&gt;I had the same issue and identified that the configuration tag &#xA;&lt;code&gt;defaultLuceneIndexConfiguration&lt;/code&gt; in file   &lt;code&gt;Include/Feature/Sitecore.XA.Feature.Composites.config&lt;/code&gt; had to be commented out. &lt;/p&gt;&#xA;" OwnerUserId="1754" LastEditorUserId="237" LastEditDate="2018-02-09T08:28:40.477" LastActivityDate="2018-02-09T08:28:40.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9980" PostTypeId="2" ParentId="9978" CreationDate="2018-02-09T07:41:06.403" Score="1" Body="&lt;p&gt;when you say the form designing has been destroyed do you mean the styling?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This would happen if you have modified the default style sheet that gets installed with WFFM. You should be overriding styles in a separate file and not modifying default files - this applies for most things Sitecore not just styles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It’s also possible a different JQuery version has been installed and you have some version specific jQuery or incorrectly scoped JavaScript.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may be possible for the 8.0 WFFM version to run on8.2 but it is not recommended and won’t be supported. It sounds like you have problems with your FOrms implementation you need to fix rather than work around.&lt;/p&gt;&#xA;" OwnerUserId="3239" LastActivityDate="2018-02-09T07:41:06.403" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9981" PostTypeId="2" ParentId="9974" CreationDate="2018-02-09T08:57:24.413" Score="2" Body="&lt;p&gt;Look. You can't actually copy paste random spare bits from various versions of Sitecore and expect to make it work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While I will not rule out, a certain amount of retrofitting might be made to work - what you're doing here is too far removed.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore 8.2 uses a completely different IoC system; the built in DI container by Sitecore. Unity is no longer a requirement for SOLR setup&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2 is on a completely different .NET version than 7.2&lt;/li&gt;&#xA;&lt;li&gt;Solr 6.6.2 is not officially supported on any Sitecore version. But 6.6.1 is supported on Sitecore 9. Not even 8.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Put your DLLs back to how they were. If you want to use SOLR 6.6.2 with your Sitecore version, go grab the SOLRNET APIs and hand implement.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/SolrNet/SolrNet&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SolrNet/SolrNet&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="237" LastEditDate="2018-02-09T09:25:49.003" LastActivityDate="2018-02-09T09:25:49.003" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9982" PostTypeId="2" ParentId="9974" CreationDate="2018-02-09T08:58:54.527" Score="2" Body="&lt;p&gt;Sitecore 7.2 does not support Solr 6.6.2. At the moment I'm writing this answer, even Sitecore 9.0.1 officially doesn't support Solr 6.6.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the supported Solr versions, check &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr compatibility table&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My advice: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Remove all the dlls and configs from Sitecore 8.2 which you've copied to Sitecore 7.2 (and NEVER EVEN do that again).&lt;/li&gt;&#xA;&lt;li&gt;Install Solr version supported by Sitecore 7.2&lt;/li&gt;&#xA;&lt;li&gt;Check the comments below the table in the link above - there are some modifications required for the newer Solr versions if you want to use them with Sitecore 7.2&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-02-09T08:58:54.527" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9983" PostTypeId="1" CreationDate="2018-02-09T11:47:29.577" Score="1" ViewCount="135" Body="&lt;p&gt;I have a local Sitecore (version 8.2 ) instance named &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; homepage.mysite.in&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This site is configured and setup with MongoDB to capture the data. Experience Analytics also works fine. I added the IP of my machine to the other machine (which is connected on the same LAN network) and accessed. The site is reachable. The same is recorded on both Analytics and MongoDB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the point is, how to differentiate between the user accessing from my system and the user accessing from the next machine? Both are anonymous users.&lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="73" LastEditDate="2018-02-10T10:01:57.593" LastActivityDate="2018-02-10T10:01:57.593" Title="Differentiating Users in Sitecore from different Machine" Tags="|experience-analytics|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9984" PostTypeId="2" ParentId="9972" CreationDate="2018-02-09T12:28:17.877" Score="5" Body="&lt;p&gt;If memory serves, the &lt;code&gt;GetPlaceholder()&lt;/code&gt; method dates from the WebForms era of Sitecore. I don't think it works correctly with MVC layouts, as pages don't get rendered in the same way any more. I tried a quick test, and if I iterate the contents of &lt;code&gt;Sitecore.Context.Page.Placeholders&lt;/code&gt; (which &lt;code&gt;GetPlaceholder()&lt;/code&gt; uses internally) then I see different results on a WebForms and MVC page. Webforms gives me a list of &lt;code&gt;Placeholder&lt;/code&gt; objects, but on MVC the collection is empty. So that's probably why you get a null reference when you ask for a specific placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second bit of code you cite looks like it's working on the Presentation Details data that Sitecore keeps as XML to describe what components are bound to a page's placeholders. You can modify this data to dynamically change what components are rendered on a page, but you have to do it before Sitecore starts the process of turning the XML data into a page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to go down that road, I think you may find this blog post about dynamically injecting presentation components in MVC helpful, as it shows how you can modify the pipeline Sitecore uses to work out the Presentation Details before rendering a page:&#xA;&lt;a href=&quot;https://mycodeperks.wordpress.com/2015/08/02/injecting-controller-renderings-at-run-time-in-sitecore-mvc-page/&quot; rel=&quot;noreferrer&quot;&gt;https://mycodeperks.wordpress.com/2015/08/02/injecting-controller-renderings-at-run-time-in-sitecore-mvc-page/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I'm not sure that's the right model for the scenario you're describing, as it means the code to decide what form to bind has to live outside of your view/controller. So alternatively can your view statically bind the WFfM form component in your code, but then use logic to specify a different datasource item for it, to choose which form you wish to render?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A view could include something like: (Typed from memory - may not be quite right)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{ &#xA;    var formID = // some logic to determine the item ID of the form to be displayed&#xA;}&#xA;&#xA;Your markup...&#xA;&amp;lt;div&amp;gt;&#xA;    @Html.Sitecore().Rendering(&quot;&amp;lt;ID of the WFfM Form Control&amp;gt;&quot;, new { DataSource = formID })&#xA;&amp;lt;/div&amp;gt;&#xA;Your markup...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This blog post talks a bit more about binding MVC components statically like this:&#xA;&lt;a href=&quot;https://ctor.io/specify-datasource-item-of-a-statically-binded-rendering/&quot; rel=&quot;noreferrer&quot;&gt;https://ctor.io/specify-datasource-item-of-a-statically-binded-rendering/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="233" LastActivityDate="2018-02-09T12:28:17.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9985" PostTypeId="1" AcceptedAnswerId="9986" CreationDate="2018-02-09T13:38:17.433" Score="5" ViewCount="744" Body="&lt;p&gt;I've a Sitecore 7.5 with Lucene in a server that uses an antivirus which has &lt;strong&gt;Real Time Protecion&lt;/strong&gt; enabled, and &lt;strong&gt;NO&lt;/strong&gt; policies for exclusion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My idea was to add in the exclusion list the &lt;strong&gt;IIS Process (w3wp.exe)&lt;/strong&gt; and the &lt;strong&gt;Sitecore instance folder (including Website and Data)&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, I was looking for some advices in how to properly add Sitecore in the exclusion list and not getting a breach in my security.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to achieve that? Which files are more important to exclude?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2018-02-15T09:16:08.423" Title="Antivirus policy exclusion for Sitecore" Tags="|configuration|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9986" PostTypeId="2" ParentId="9985" CreationDate="2018-02-09T13:52:41.120" Score="7" Body="&lt;p&gt;Exclude everything in the /Data folder except for packages folder. The packages folder is the only folder that an external user could upload data to.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-02-09T13:52:41.120" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="9987" PostTypeId="2" ParentId="9983" CreationDate="2018-02-09T14:24:38.543" Score="1" Body="&lt;p&gt;Sitecore assigns a contact Id to each user accessing the site. OOTB, you will not be able to know if the user is from your machine or another machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Possible solution is to create a custom contact facet which stores the user IP Address. Then based on this, you will be able to know from where the user is coming.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add a pipeline in the StartTracking which will update the contact facet of the user to add the IP Address.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-02-09T14:24:38.543" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="9989" PostTypeId="2" ParentId="9924" CreationDate="2018-02-09T14:44:35.047" Score="3" Body="&lt;p&gt;It is not uncommon for developers or certain servers to be configured to run in &quot;Live Mode&quot;, by patching the &lt;code&gt;database&lt;/code&gt; attribute to &lt;code&gt;master&lt;/code&gt;. By using this setting it allows you to view the site without needing to publish or put items through any workflows. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the database attribute has been patched then &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; will return that value, i.e. &lt;code&gt;master&lt;/code&gt;, even in normal mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a default instance of Sitecore, a sample config patch file named &lt;code&gt;LiveMode.config.example&lt;/code&gt; is provided for the &lt;code&gt;website&lt;/code&gt; site, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;database&quot;&amp;gt;master&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;filterItems&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enableWorkflow&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should verify your site configuration by browsing to &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; which will show the final configuration after all the config patches have been processed and applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the setting is different then it must have been patched by another config file. Often the config will show an extra attribute such as &lt;code&gt;patch:source=&quot;LiveMode.config&quot;&lt;/code&gt; which will tell you where it was patched from otherwise search the contents of the files in the &lt;code&gt;Include&lt;/code&gt; folder.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-02-12T02:40:43.650" LastActivityDate="2018-02-12T02:40:43.650" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9990" PostTypeId="1" AcceptedAnswerId="10034" CreationDate="2018-02-09T15:56:47.657" Score="10" ViewCount="712" Body="&lt;p&gt;&lt;strong&gt;Sitecore 8.2u5&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Primary Question&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Why does Optimizing Code cause Dependency Injection to fail?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;We've used DI on many projects at this point and just had an issue with a recent one. The error presented itself like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IFUiV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IFUiV.png&quot; alt=&quot;No Parameterless constructor error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We quickly realized this is how the site would respond if DI wasn't working properly, as the controllers truly do not have a default constructor. After comparing past projects to this one, we found the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The app pools' where the problem manifested were originally running with &lt;code&gt;32-bit Mode = true&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;We toggled this to &lt;code&gt;false&lt;/code&gt; in order for the iFilter to be read correctly - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9723/solr-sitecore-full-text-indexing-ifilter&quot;&gt;(see this question)&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;This immediately caused the YSOD above&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We tracked the issue down to the “Optimize Code” checkbox in our primary web project (where DI is wired up):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wPNia.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wPNia.png&quot; alt=&quot;Optimize checkbox in build tab&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Workaround&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;By unchecking this box and rerunning a build, everything works fine in 64-bit mode. I verified in past projects that we have this unchecked as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I reviewed the two different DLLs using &lt;a href=&quot;https://www.telerik.com/justassembly&quot; rel=&quot;nofollow noreferrer&quot;&gt;JustAssembly&lt;/a&gt;, but other than seeing the wildly different code (optimized vs non-optimized) nothing stood out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm comfortable leaving this option unchecked, but obviously, it's there for a reason- to make the code more efficient. I was surprised to learn no one else has documented this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DI is wired up as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot; &amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;      &amp;lt;configurator type=&quot;MyProject.Web.ServicesConfigurator, MyProject.Web&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Wired up using &lt;a href=&quot;https://gist.github.com/kamsar/460528edc3043b16bdccfdbd0ea0c552#file-servicecollectionextensions-cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;Kamsars method for adding to all controllers&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyProject.Web&#xA;{&#xA;    public class ServicesConfigurator : IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            serviceCollection.AddTransient&amp;lt;ISitecoreContext&amp;gt;(provider =&amp;gt; new SitecoreContext());&#xA;            serviceCollection.AddTransient&amp;lt;ISitecoreService&amp;gt;(provider =&amp;gt; new SitecoreService(Sitecore.Context.ContentDatabase));&#xA;            serviceCollection.AddTransient&amp;lt;IGlassHtml, GlassHtml&amp;gt;();&#xA;            serviceCollection.AddTransient&amp;lt;ISitecoreData, SitecoreData&amp;gt;();&#xA;            serviceCollection.AddTransient&amp;lt;IItemService, ItemService&amp;gt;();&#xA;&#xA;            serviceCollection.AddScoped&amp;lt;IGlobalItems, GlobalItems&amp;gt;();&#xA;            serviceCollection.AddScoped&amp;lt;ILinkService, LinkService&amp;gt;();&#xA;            serviceCollection.AddScoped&amp;lt;ISearchService&amp;gt;(provider =&amp;gt; new SearchService(Settings.GetSetting(&quot;Search.Index&quot;)));&#xA;&#xA;            serviceCollection.AddSingleton&amp;lt;IPardotService, PardotService&amp;gt;();&#xA;&#xA;            serviceCollection.AddMvcControllersInCurrentAssembly();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Again, this DI technique is working on multiple projects, but with the &lt;code&gt;Opimize Code&lt;/code&gt; checkbox &lt;strong&gt;unchecked&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Why am I unable to run our application with optimized code?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="73" LastEditDate="2018-02-12T16:07:07.097" LastActivityDate="2018-02-12T16:07:07.097" Title="Dependency Injection Not Wiring Up Properly When Optimize Code is Selected in Build" Tags="|dependency-injection|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="9991" PostTypeId="5" CreationDate="2018-02-09T16:46:45.897" Score="0" Body="&lt;p&gt;There are two main types of sitemaps: &lt;em&gt;HTML&lt;/em&gt; and &lt;em&gt;XML&lt;/em&gt;. The main difference is that HTML sitemaps focus on making the website more user-friendly for humans, while XML sitemaps are written solely for search engine spiders (crawlers)&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;HTML Sitemaps&lt;/strong&gt;:&#xA;An HTML sitemap is an HTML page on which all subpages of a website are listed. It is usually linked in the footer of a site and is therefore visible to all visitors.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;XML Sitemaps&lt;/strong&gt;:&#xA;An XML Sitemaps help search engine crawlers navigate your site and improve search engine optimization (SEO). It is created specifically for search engines to show details of the available pages in a website, their relative importance, and the frequency of content updates. With SXA, by default, the sitemap is generated for the whole site and stored in the cache.&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-06-04T06:44:22.397" LastActivityDate="2021-06-04T06:44:22.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9992" PostTypeId="4" CreationDate="2018-02-09T16:46:45.897" Score="0" Body="All the question related to generating XML Sitemap, HTML Sitemap for Sitecore website or the Sitemap module." OwnerUserId="1671" LastEditorUserId="4817" LastEditDate="2021-06-04T14:21:26.657" LastActivityDate="2021-06-04T14:21:26.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9993" PostTypeId="5" CreationDate="2018-02-09T16:48:07.747" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-09T16:48:07.747" LastActivityDate="2018-02-09T16:48:07.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9994" PostTypeId="4" CreationDate="2018-02-09T16:48:07.747" Score="0" Body="All the questions related to Microsoft Dynamics CRM module integration with Sitecore." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:55:22.877" LastActivityDate="2018-02-09T18:55:22.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9995" PostTypeId="5" CreationDate="2018-02-09T16:48:57.403" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-09T16:48:57.403" LastActivityDate="2018-02-09T16:48:57.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9996" PostTypeId="4" CreationDate="2018-02-09T16:48:57.403" Score="0" Body="All question related to Marketing Control Panel on all Sitecore versions." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:55:32.943" LastActivityDate="2018-02-09T18:55:32.943" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9997" PostTypeId="5" CreationDate="2018-02-09T16:49:44.097" Score="0" Body="&lt;p&gt;Responsive web design is an approach to web design that makes web pages render well on a variety of devices and window or screen sizes from minimum to maximum display size. Recent work also considers the viewer proximity as part of the viewing context as an extension for RWD&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2021-09-22T14:07:08.397" LastActivityDate="2021-09-22T14:07:08.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="9998" PostTypeId="4" CreationDate="2018-02-09T16:49:44.097" Score="0" Body="All question related to Responsive Web Design." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:55:25.847" LastActivityDate="2018-02-09T18:55:25.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="9999" PostTypeId="5" CreationDate="2018-02-09T16:50:30.603" Score="0" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;The Campaign Creator is a tool that lets you create and organize your campaign activities in one easy-to-use application. You can keep track of all your marketing activities, helping you monitor your campaigns and campaign effectiveness across channels and campaign groups.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;From &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/the-campaign-creator.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-04-18T18:09:35.203" LastActivityDate="2019-04-18T18:09:35.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10000" PostTypeId="4" CreationDate="2018-02-09T16:50:30.603" Score="0" Body="Questions related to the Campaign Creator, a tool for creating and managing campaign activities" OwnerUserId="1671" LastEditorUserId="342" LastEditDate="2019-04-18T18:09:49.187" LastActivityDate="2019-04-18T18:09:49.187" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10001" PostTypeId="5" CreationDate="2018-02-09T16:51:07.917" Score="0" Body="&lt;p&gt;Sitecore Commerce Connect is the Sitecore commerce API for storefront developers and is an integration layer between a front-end webshop solution and a back-end external commerce system. The back-end system can be any e-commerce system for which Commerce Connect connectors have been created by Sitecore or a third-party vendor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Commerce Connect service layer has two purposes:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Integrating one or more webshops with one or more external commerce systems.&lt;/li&gt;&#xA;&lt;li&gt;Applying the unique customer engagement features of Sitecore in e-commerce solutions, regardless of the external commerce system being used. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Commerce Connect enables e-commerce solutions to use customer engagement features such as tracking customer behavior, acting on it with personalization, and following up with engagement automation and reporting. This is facilitated by having common e-commerce related engagement functionalities integrated into the Commerce Connect framework.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-24T20:39:35.820" LastActivityDate="2018-02-24T20:39:35.820" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10002" PostTypeId="4" CreationDate="2018-02-09T16:51:07.917" Score="0" Body="Sitecore Commerce Connect is the Sitecore commerce API for storefront developers and is an integration layer between a front-end webshop solution and a back-end external commerce system. " OwnerUserId="1671" LastEditorUserId="237" LastEditDate="2018-02-15T12:23:11.193" LastActivityDate="2018-02-15T12:23:11.193" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10003" PostTypeId="5" CreationDate="2018-02-09T16:53:04.743" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-09T16:53:04.743" LastActivityDate="2018-02-09T16:53:04.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10004" PostTypeId="4" CreationDate="2018-02-09T16:53:04.743" Score="0" Body="All the question related to Infrastructure very specific for Sitecore can be tagged. " OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:35:41.067" LastActivityDate="2018-02-09T18:35:41.067" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10005" PostTypeId="5" CreationDate="2018-02-09T16:56:51.720" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-09T16:56:51.720" LastActivityDate="2018-02-09T16:56:51.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10006" PostTypeId="4" CreationDate="2018-02-09T16:56:51.720" Score="0" Body="All the question related to NuGet Feed and Packages specific to Sitecore." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:36:06.610" LastActivityDate="2018-02-09T18:36:06.610" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10007" PostTypeId="5" CreationDate="2018-02-09T17:01:27.957" Score="0" Body="&lt;p&gt;Developers use the Sitecore Item Web API to manipulate the content items in Sitecore through HTTP requests. The API gives access to content through items paths, IDs, and Sitecore queries. This service produces output in JSON format and is both highly customizable and optimized to support a minimum number of requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorejunkie.com/category/sitecore-item-web-api/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/category/sitecore-item-web-api/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T07:13:35.897" LastActivityDate="2018-02-22T07:13:35.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10008" PostTypeId="4" CreationDate="2018-02-09T17:01:27.957" Score="0" Body="All the questions related to Item Web APIs directly or indirectly related to Sitecore." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:35:29.357" LastActivityDate="2018-02-09T18:35:29.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10009" PostTypeId="5" CreationDate="2018-02-09T17:03:36.597" Score="0" Body="&lt;p&gt;Continuous delivery is a software engineering approach in which teams produce software in short cycles, ensuring that the software can be reliably released at any time and, when releasing the software, without doing so manually. It aims at building, testing, and releasing software with greater speed and frequency.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2021-09-22T14:06:42.130" LastActivityDate="2021-09-22T14:06:42.130" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10010" PostTypeId="4" CreationDate="2018-02-09T17:03:36.597" Score="0" Body="All the question related to Continuous Delivery." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:36:44.767" LastActivityDate="2018-02-09T18:36:44.767" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10011" PostTypeId="5" CreationDate="2018-02-09T17:14:04.030" Score="0" Body="&lt;p&gt;Sitecore Marketplace is home to over 1200 Sitecore modules. You can browse through all Sitecore Modules and find the ones for the site that you are building.&lt;/p&gt;&#xA;&lt;p&gt;URL: &lt;a href=&quot;https://marketplace.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-05-30T09:41:36.937" LastActivityDate="2021-05-30T09:41:36.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10012" PostTypeId="4" CreationDate="2018-02-09T17:14:04.030" Score="0" Body="All the questions related to Sitecore Marketplace website." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:36:40.440" LastActivityDate="2018-02-09T18:36:40.440" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10013" PostTypeId="5" CreationDate="2018-02-09T17:14:39.160" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-09T17:14:39.160" LastActivityDate="2018-02-09T17:14:39.160" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10014" PostTypeId="4" CreationDate="2018-02-09T17:14:39.160" Score="0" Body="All the questions related to Sitecore Licensing." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:55:06.847" LastActivityDate="2018-02-09T18:55:06.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10015" PostTypeId="5" CreationDate="2018-02-09T17:17:10.987" Score="0" Body="&lt;p&gt;Azure Cosmos DB is Microsoft's proprietary globally-distributed, multi-model database service &amp;quot;for managing data at planet-scale&amp;quot; launched in May 2017. It is schema-agnostic, horizontally scalable and generally classified as a NoSQL database. Wikipedia&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2021-03-11T08:11:48.570" LastActivityDate="2021-03-11T08:11:48.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10016" PostTypeId="4" CreationDate="2018-02-09T17:17:10.987" Score="0" Body="All the questions related to the integration of Sitecore and CosmosDB." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:36:00.157" LastActivityDate="2018-02-09T18:36:00.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10017" PostTypeId="5" CreationDate="2018-02-09T17:17:59.413" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-09T17:17:59.413" LastActivityDate="2018-02-09T17:17:59.413" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10018" PostTypeId="4" CreationDate="2018-02-09T17:17:59.413" Score="0" Body="All the questions on Application Pool related to Sitecore." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:35:46.030" LastActivityDate="2018-02-09T18:35:46.030" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10019" PostTypeId="5" CreationDate="2018-02-09T17:19:01.117" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-09T17:19:01.117" LastActivityDate="2018-02-09T17:19:01.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10020" PostTypeId="4" CreationDate="2018-02-09T17:19:01.117" Score="0" Body="All the questions related to the integration of Sitecore and Amazon Web Service (AWS)." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:35:51.647" LastActivityDate="2018-02-09T18:35:51.647" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10021" PostTypeId="5" CreationDate="2018-02-09T17:21:02.257" Score="0" Body="&lt;p&gt;Compression is a simple, effective way to save bandwidth and speed up your site. IIS supports multiple types of compression. The widely used one for a long time is &lt;strong&gt;Gzip&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Website gzip compression makes it possible to reduce the file size of a web file (like HTML, PHP, CSS and Javascript files) to about 30% or less of its original size before these files get sent to the browser of a user. This compressed file is then served to the browser of the user which in turn decompresses it automatically to load the full original file in the browser again. Enabling gzip compression is great for improving page speed because your visitors will need to download much smaller web files as the original ones when browsing your web pages, which speeds up the download process of these files.&lt;/p&gt;&#xA;&lt;p&gt;For a file transfer to work with GZIP, two things must happen.&lt;/p&gt;&#xA;&lt;p&gt;First, the web browser tells the web server that it can accept GZIP-compressed files. This is accomplished by including the &lt;code&gt;Accept-Encoding: gzip, deflate&lt;/code&gt; in the browser’s request.&lt;/p&gt;&#xA;&lt;p&gt;Second, the webserver processes this header and decides to either compress the requested files or leave them be. If the files are compressed with GZIP, the server includes the following header in its response: &lt;code&gt;Content-Encoding: gzip&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-09-03T07:36:55.120" LastActivityDate="2021-09-03T07:36:55.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10022" PostTypeId="4" CreationDate="2018-02-09T17:21:02.257" Score="0" Body="All the questions related to Gzip compression in a Sitecore website." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-09T18:55:40.320" LastActivityDate="2018-02-09T18:55:40.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10023" PostTypeId="1" CreationDate="2018-02-09T18:13:42.013" Score="1" ViewCount="262" Body="&lt;p&gt;I have a Sitecore 8 project where we have created a component for the editors to use. On that editor we used product detail where image carousel is being used to display images.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An image carousel takes Datasource from all underneath items like below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tree looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore&#xA;    Content&#xA;       Product &#xA;         Product Item&#xA;            Content&#xA;                Product Carousel Content&#xA;                    Carousel Image 1&#xA;                    Carousel Image 2&#xA;                    Carousel Image 3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Whenever I am publishing the same item, product details are coming properly. However Product Carousel Content are not coming. Whereas it is working fine in staging site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Experience Editor the user can edit the Datasource Item's fields, i.e. he can edit text, general link field of this Item. However for Product Carousel I see the error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Datasource must be set to Product Carousel Content.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;datasource for product carousel is query:./_content/Product Details Carousel&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However when I set data-source to item directly like below it will display the product images&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Product/Website/Home/ProductItem/Content/Product Details Carousel&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is happening for few other items on page and I am not sure if there is some issue with publishing or Sitecore query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that a Sitecore bug or something I am missing? Hope I can get some help from you.&lt;/p&gt;&#xA;" OwnerUserId="3242" LastEditorUserId="73" LastEditDate="2018-02-10T03:31:13.097" LastActivityDate="2018-02-10T03:31:13.097" Title="Issue with publishing in Sitecore, datasource is not set for few items" Tags="|sitecore-commerce|sitecore-query|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10024" PostTypeId="2" ParentId="10023" CreationDate="2018-02-09T18:51:20.187" Score="3" Body="&lt;p&gt;You have stated that the datasource is set to:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;datasource for product carousel is &lt;code&gt;query:./_content/Product Details Carousel&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But when you change datasource is set to following it works:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;However when I set data-source to item directly like below it will display the product images&#xA;  &lt;code&gt;/sitecore/content/Product/Website/Home/ProductItem/Content/Product Details Carousel&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Your query is set to &lt;strong&gt;_content&lt;/strong&gt; but your item path is &lt;strong&gt;Content&lt;/strong&gt;. Note the difference of the underscore in your original query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either update your query to remove the underscore, or rename your item to include the underscore.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-02-09T18:51:20.187" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10026" PostTypeId="2" ParentId="9990" CreationDate="2018-02-09T20:15:09.640" Score="1" Body="&lt;p&gt;I don't think serviceCollection.AddMvcControllersInCurrentAssembly(); works with Optimize code enabled. Can you try instead to register like this: serviceCollection.AddTransient(typeof(MyController));&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the controller listed on this page /sitecore/admin/ShowServicesConfig.aspx&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-02-09T20:15:09.640" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10027" PostTypeId="2" ParentId="9393" CreationDate="2018-02-09T20:28:19.443" Score="1" Body="&lt;p&gt;As far as I know one Sitecore CM instance can only index to one SOLR instance. If you want it to index to two different SOLR instances that you want to use, then you need to find a way to replicate between those two SOLR instance. You point your CM to SOLR instance A, then you replicate that to SOLR instance B.&lt;/p&gt;&#xA;" OwnerUserId="3243" LastActivityDate="2018-02-09T20:28:19.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10028" PostTypeId="1" AcceptedAnswerId="10029" CreationDate="2018-02-09T21:02:58.013" Score="5" ViewCount="211" Body="&lt;p&gt;I am attempting to switch an instance of Sitecore 7.2 from Lucene to Solr on my local machine. I followed a well written guide detailing the steps, but I can't make it work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My environment:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 7.2 &lt;/li&gt;&#xA;&lt;li&gt;Solr 4.1 &lt;/li&gt;&#xA;&lt;li&gt;Solr running on localhost:8983/solr/ &lt;/li&gt;&#xA;&lt;li&gt;Selected castle windsor for the IOC&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Unfortunately our site uses a bit of custom code, (as shown below in the global.asax file) and I'm hoping that's not what's tripping me up in making this work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Global.asax&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@Application Language='C#' Inherits=&quot;Sitecore.ContentSearch.SolrProvider.CastleWindsorIntegration.WindsorApplication&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Diagnostics&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;System.Web.Configuration&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Glass.Sitecore.Mapper&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Glass.Sitecore.Mapper.Configuration.Attributes&quot; %&amp;gt;&#xA;&#xA;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;public void Application_Start()&#xA;{&#xA;            AttributeConfigurationLoader loader = new AttributeConfigurationLoader&#xA;            (&#xA;                new string[] &#xA;                { &#xA;                    &quot;MedTouch.Base.BLL&quot;&#xA;                }&#xA;            );&#xA;&#xA;            Glass.Sitecore.Mapper.Context context = new Glass.Sitecore.Mapper.Context(loader);&#xA;  }&#xA;&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here are the steps I've performed in attempting to make the switch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Setup 7.2 instance locally and tested for functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Installed Solr 4.1 &amp;amp; renamed default collection1 core to itembuckets for testing purposes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Updated &lt;code&gt;solr.xml&lt;/code&gt; file to reflect new core name (change collection1 to itembuckets)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Renamed &lt;code&gt;schema.xml&lt;/code&gt; file to &lt;code&gt;schema-orig.xml&lt;/code&gt; file in itembuckets/conf/ folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) Generated new schema file from control panel in 7.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6) Reloaded core with new schema from Solr admin panel&lt;/p&gt;&#xA;&#xA;&lt;p&gt;7) Renamed Lucene config files in app_config/include to include .example to disable (7 files total)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;8) Copied &lt;code&gt;solr.config&lt;/code&gt; file from support package to app_config/include folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;9) Copied solr support dll's for castle windsor to bin folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;10) Copied castle window / core dll's from solr support 7.2 dir/net40-client folder to bin directory&lt;/p&gt;&#xA;&#xA;&lt;p&gt;11) Modifed &lt;code&gt;global.asax&lt;/code&gt; file to include castle windsor IOC&lt;/p&gt;&#xA;&#xA;&lt;p&gt;12) Created core, master and web cores in Solr &amp;amp; added to solrconfig.xml&lt;/p&gt;&#xA;&#xA;&lt;p&gt;13) Updated &lt;code&gt;sitecore.contentSearch.Solr.Indexes.config&lt;/code&gt; to point to correct core names&lt;/p&gt;&#xA;&#xA;&lt;p&gt;14) Removed all lucene dll's from bin folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;15) Updated &lt;code&gt;medtouch.contentSearch&lt;/code&gt; &amp;amp; &lt;code&gt;siteSearch.config&lt;/code&gt; files to replace lucene with solr&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, here's the error I'm receiving when I attempt to load the site.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&#xA;      Method not found: 'Sitecore.ContentSearch.ProviderIndexSearchConfiguration&#xA;  Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration()'.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution&#xA;  of the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.MissingMethodException: Method not found:&#xA;  'Sitecore.ContentSearch.ProviderIndexSearchConfiguration&#xA;  Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration()'.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[MissingMethodException: Method not found:&#xA;  'Sitecore.ContentSearch.ProviderIndexSearchConfiguration&#xA;  Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration()'.]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_SearchConfiguration()&#xA;  +0&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_Cores()&#xA;  +22&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore.ContentSearch.SolrProvider.CastleWindsorIntegration.WindsorSolrStartUp.Initialize()&#xA;  +66&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Method not found:&#xA;      'Sitecore.ContentSearch.ProviderIndexSearchConfiguration&#xA;      Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration()'.]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext&#xA;  context, HttpApplication app) +540&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers) +186&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context) +402&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext) +343&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Method not found:&#xA;      'Sitecore.ContentSearch.ProviderIndexSearchConfiguration&#xA;      Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration()'.]&#xA;          System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +539&#xA;          System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +125&#xA;      System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest&#xA;  wr, HttpContext context) +731&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The only partials solutions I've seen are to check my config file(s) and make sure they're pointing to the correct core names in solr (which they are) and that my solr host url is correct (and it is).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I'm at a loss as to what to look at next.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks everyone!&lt;/p&gt;&#xA;" OwnerUserId="3055" LastEditorUserId="73" LastEditDate="2018-02-10T10:01:42.293" LastActivityDate="2018-02-10T10:01:42.293" Title="Exception while switching Lucene to Solr 4.1 on Sitecore 7.2" Tags="|content-search|solr|iis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10029" PostTypeId="2" ParentId="10028" CreationDate="2018-02-09T21:20:17.603" Score="4" Body="&lt;p&gt;From what I remember, &lt;code&gt;ProviderIndexSearchConfiguration&lt;/code&gt; class (the return type of missing method) is a really old one. It was replaced with &lt;code&gt;ContentSearchConfiguration&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just checked &lt;code&gt;Sitecore.Solr.Support 1.0.0 rev. 151020&lt;/code&gt; which is for &lt;code&gt;Sitecore 7.2 rev. 151021&lt;/code&gt; and it only has &lt;code&gt;private static ContentSearchConfiguration SearchConfiguration&lt;/code&gt; property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I can tell, most probably the &lt;code&gt;Sitecore.Solr.Support&lt;/code&gt; dll version doesn't match your Sitecore version. Try downloading appropriate &lt;code&gt;Sitecore.Solr.Support&lt;/code&gt; package from &lt;code&gt;http://sdn.sitecore.net&lt;/code&gt; and replace your dlls with those from the package. &lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-02-09T21:20:17.603" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10030" PostTypeId="2" ParentId="9971" CreationDate="2018-02-10T05:10:26.933" Score="1" Body="&lt;p&gt;One possible problem is a security access to your local certificate store. Are you running Visual Studio as administrator? If you do that, does this resolve the issue? Lack of read access to the certificate would yield this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is not a security issue, then it may be a cert store configuration issue. In the tutorials, the configuration for the client is instantiated with a hard-coded certificate store connection string. Have you validated that this configuration matches for your system? If the path does not match to where your certificate is installed, even if the thumbprint matches the certificate will not be found.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-02-10T05:10:26.933" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10031" PostTypeId="1" AcceptedAnswerId="10035" CreationDate="2018-02-10T10:37:39.403" Score="6" ViewCount="1375" Body="&lt;p&gt;I am using Sitecore 8.2. The Experience Editor has a feature called as &quot;Usage&quot; which appears in the widget that shows when we select a component/rendering. The purpose of the usage functionality is to show the count and the list of webpages that use that component. This feature would fire a request to the server (like this: &lt;em&gt;-/speak/request/v1/expeditor/ExperienceEditor.Datasources.GetDatasourceUsagesCount&lt;/em&gt;) whenever we click on a component. The response would be a JSON containing the Item IDs referencing the component. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The feature would make sense if it gets the usage data for datasources. But the problem with this feature is that it also gets the usage data even for the &quot;renderings&quot;. Say, there is a &quot;Header&quot; rendering which is used across all page templates. This rendering does not use an external datasource because the model is the page item itself. But this feature does not understand that and gets the usage data either way. It returns ALL the pages which use the &quot;Header&quot; rendering which is pointless and time consuming.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is frustrating is that the &quot;Header&quot; rendering is used in all the 5000 pages (and counting)! So, the usages count request takes several seconds to get the response. This causes the Experience Editor to freeze for that time which makes it unusable and unproductive. We have several renderings like this which are used across all the pages (footer, side nav, social, feedback section etc). The user clicks on a rendering innocently and it turns out to be a landmine! The user is stuck for several seconds (our average is 45 seconds).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have you faced this issue? Is there a Sitecore config to turn this off or a setting at the rendering level to remove this feature? I looked and looked but could not find anything. I ended up customising at the server side by overriding the Sitecore's class but I want to get rid of the customisation if I can.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="1451" LastActivityDate="2019-04-14T12:29:23.463" Title="DatasourceUsagesCount request slowing down Experience Editor" Tags="|experience-editor|datasource|performance|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10032" PostTypeId="2" ParentId="10031" CreationDate="2018-02-10T10:51:05.230" Score="8" Body="&lt;p&gt;I agree with you, datasource count sometimes makes no sense.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But from what I know there is no config which you could use to hide this functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can remove this call by editing this file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sitecore\shell\Applications\Page Modes\ChromeControls.js&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find function &lt;code&gt;renderDatasourceUsagesCommand&lt;/code&gt; and replace it with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;renderDatasourceUsagesCommand: function () {&#xA;    return $sc(&quot;&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-02-10T13:00:27.993" LastActivityDate="2018-02-10T13:00:27.993" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10033" PostTypeId="2" ParentId="8561" CreationDate="2018-02-10T15:42:20.000" Score="20" Body="&lt;p&gt;I've encountered the SAME EXACT PROBLEM on my local machine. Had to scratch my head for 2 days, had to also ask help from a colleague to also help;  troubleshoot it together - 2 brains are better than 1 - to just simply fix this. A bit troublesome. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all, follow what &lt;strong&gt;Jay S&lt;/strong&gt; recommended and that will save a lot of your troubleshooting time, won't repeat it here. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, try this - if it didn't make sense, you'll never know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IN MICROSOFT MANAGEMENT CONSOLE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Remove unused SC certificates from your 'current user' certificate stores. Maybe for some reason, you have it there. &lt;/li&gt;&#xA;&lt;li&gt;Type '&lt;strong&gt;mmc&lt;/strong&gt;' and open your Certificate Store for 'Local Computer'. Right-click your Sitecore certificate &gt; All Tasks &gt; Manage Private Keys. Grant full control to both &lt;strong&gt;NETWORK SERVICE&lt;/strong&gt; and &lt;strong&gt;IIS_IUSRS&lt;/strong&gt;. Do it for both &lt;strong&gt;xp0.xconnect&lt;/strong&gt; and &lt;strong&gt;xp0.xconnect_client&lt;/strong&gt; certificates.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nung3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nung3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Potentially, you have untrusted certificates in your 'Trusted Root Certification Authorities'. I have one, and I removed it. You can check this post for more details: &lt;a href=&quot;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&quot;&gt;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This PowerShell command will identify non-self-signed certificates:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | &#xA;    Where-Object {$_.Issuer -ne $_.Subject}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Move these non-self-signed certificates into the Intermediate Certification Authorities (i.e. CA) store&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | &#xA;    Where-Object {$_.Issuer -ne $_.Subject} | &#xA;    Move-Item -Destination Cert:\LocalMachine\CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IN IIS:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;From your xp0.xconnect website, open your bindings and double-check the SSL certificate as it has to be valid. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/jQ4MC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jQ4MC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;From the Application Pools, change the identity to &lt;strong&gt;NETWORK SERVICE&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ONBeb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ONBeb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Do IISRESET and clear your Sitecore Logs&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;YOU SHOULD ABLE TO SEE THIS IF EVERYTHING GOES INTO PLAN FROM YOUR SITECORE LAUNCHPAD&lt;/strong&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TBaWe.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TBaWe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when you access the &lt;a href=&quot;https://xp01.xconnect&quot; rel=&quot;noreferrer&quot;&gt;https://xp01.xconnect&lt;/a&gt;, it should give you this kind of result. &lt;a href=&quot;https://i.stack.imgur.com/xyhU6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xyhU6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[UPDATED] &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Forgot to mention, try to restart your laptop too. &lt;/li&gt;&#xA;&lt;li&gt;Grant permission to your logged in user to xp0.xconnect as well. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="1605" LastEditDate="2018-02-11T16:11:49.113" LastActivityDate="2018-02-11T16:11:49.113" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10034" PostTypeId="2" ParentId="9990" CreationDate="2018-02-10T15:48:05.350" Score="5" Body="&lt;p&gt;Thanks to @Jeroen and @Mark for helping to lead me in the right direction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Debugging locally, I found that the Assembly crawled in the &lt;code&gt;AddMvcControllersInCurrentAssembly&lt;/code&gt; changes depending on optimization. Code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void AddMvcControllersInCurrentAssembly(this IServiceCollection serviceCollection)&#xA;{&#xA;    AddMvcControllers(serviceCollection, Assembly.GetCallingAssembly());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Assembly returned by &lt;code&gt;GetCallingAssembly()&lt;/code&gt; is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Optimized: &lt;strong&gt;Sitecore.Kernel&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Non-Optimized: &lt;strong&gt;MyProject&lt;/strong&gt; (correct)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is what causes the failure. The code can only register &lt;code&gt;Controllers&lt;/code&gt; if the proper assembly is found. It appears the optimization process alters the order of operation slightly. &lt;code&gt;GetCallingAssembly&lt;/code&gt; is listed below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SecuritySafeCritical]&#xA;[__DynamicallyInvokable]&#xA;[MethodImpl(MethodImplOptions.NoInlining)]&#xA;public static Assembly GetCallingAssembly()&#xA;{&#xA;  StackCrawlMark stackMark = StackCrawlMark.LookForMyCallersCaller;&#xA;  return (Assembly) RuntimeAssembly.GetExecutingAssembly(ref stackMark);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;During the optimization process, the Stack ordering is changed in some way. I did not dig into this too far. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As it is evident that this method is error-prone, the fix is to pass in your assembly using one of Kamsar's supplied overloads:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddMvcControllers(typeof(ServicesConfigurator).Assembly);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This avoids using the Stack to find the calling assembly. I have confirmed that all assemblies in my solution are optimized and the application is working correctly.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-02-10T15:48:05.350" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10035" PostTypeId="2" ParentId="10031" CreationDate="2018-02-11T01:01:24.113" Score="6" Body="&lt;p&gt;I just put a ticket in with Sitecore for this last week. Here is the fix from Sitecore. The fix allows you to pick how long the call will wait before it return a &lt;code&gt;*+&lt;/code&gt; result with no count.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The behavior you reported was registered as a bug in our bug tracking system.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Please use the link below to download the patch fixing your issue:&#xA;  &lt;a href=&quot;https://sitecore.box.com/s/kqnxaopuccbnbys6dn42eab8cu43zzc6&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore.box.com/s/kqnxaopuccbnbys6dn42eab8cu43zzc6&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&#xA;      &amp;lt;request name=&quot;ExperienceEditor.Datasources.GetDatasourceUsagesCount&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Support.ExperienceEditor.Speak.Ribbon.Requests.DatasourceUsages.GetDatasourceUsagesCount,Sitecore.Support.171097&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/request&amp;gt;&#xA;    &amp;lt;/sitecore.experienceeditor.speak.requests&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!-- MAXIMUM TIME TO GET A DATASOURCE USAGES IN THE EXPERIENCE EDITOR&#xA;              Retrieving many referrers of a datasource may block the Experience Editor while proccesing. This settings limits (seconds) the time of retrieving referrers.              &#xA;              Default value: 2&#xA;              Disable limits: 0&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;ExperienceEditor.GetDatasourceUsagesCount.MaxProcessTime&quot; value=&quot;1&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-02-11T01:01:24.113" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10036" PostTypeId="1" AcceptedAnswerId="10045" CreationDate="2018-02-11T03:31:29.497" Score="2" ViewCount="5553" Body="&lt;p&gt;I am trying to create a commuted index field in sitecore 9 but can't get the configuration to work. &#xA;I have a local environment which is running Solr and also environment is Azure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added the following configuration to my indexing patch config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultSolrIndexConfiguration&amp;gt;&#xA;          &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;icon_services&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.Foundation.Indexing.Infrastructure.Fields.ImageURLComputedField, Sitecore.Foundation.Indexing&amp;lt;/field&amp;gt;&#xA;          &amp;lt;/fields&amp;gt;&#xA;        &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This configuration throws the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&#xA;      Could not find add method: AddComputedIndexField (type: Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: Sitecore.Exceptions.RequiredObjectIsNullException: Could not find add&#xA;  method: AddComputedIndexField (type:&#xA;  Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My code for computed index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ImageURLComputedField : IComputedIndexField&#xA;  {&#xA;    public string FieldName { get; set; }&#xA;    public string ReturnType { get; set; }&#xA;&#xA;    public object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;      Assert.ArgumentNotNull(indexable, &quot;indexable&quot;);&#xA;      string url = null;&#xA;      try&#xA;      {&#xA;        Item item = indexable as SitecoreIndexableItem;&#xA;&#xA;        // This field only works for items uder /sitecore/content that have a layout&#xA;        if (item == null&#xA;            || item.Visualization.Layout == null&#xA;            || !item.Paths.FullPath.StartsWith(&#xA;                    Sitecore.Constants.ContentPath,&#xA;                    System.StringComparison.InvariantCultureIgnoreCase))&#xA;        {&#xA;          return null;&#xA;        }&#xA;        ImageField img = item.Fields[&quot;Icon&quot;];&#xA;&#xA;        return img == null || img.MediaItem == null ? null : MediaManager.GetMediaUrl(img.MediaItem);&#xA;      }&#xA;      catch (WebException webExc)&#xA;      {&#xA;        Log.Warn(string.Format(&quot;Failed to html index {0} ({1}): {2}&quot;, indexable.Id, url, webExc.Message), webExc, this);&#xA;      }&#xA;      catch (Exception exc)&#xA;      {&#xA;        Log.Error(string.Format(&quot;An error occurred when indexing {0}: {1}&quot;, indexable.Id, exc.Message), exc, this);&#xA;      }&#xA;      return null;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="73" LastEditDate="2018-02-12T08:01:35.340" LastActivityDate="2022-04-13T03:34:45.257" Title="Custom index field returning &quot;Server Error in '/' Application. Could not find add method: AddComputedIndexField&quot;" Tags="|solr|azure|indexing|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10037" PostTypeId="5" CreationDate="2018-02-11T04:59:52.817" Score="0" Body="&lt;p&gt;Sitecore 9.0 introduced a new and very useful feature to easily add federated authentication to the platform. Authentication has been and still is being performed using the ASP.NET Membership functionality for standard Sitecore users, however, Sitecore has implemented the ability to use the new ASP.NET Identity functionality that is based OWIN-middleware.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blogs.perficient.com/sitecore/2018/01/23/federated-authentication-sitecore-9-part-1-overview/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.perficient.com/sitecore/2018/01/23/federated-authentication-sitecore-9-part-1-overview/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/using_federated_authentication_with_sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/using_federated_authentication_with_sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-11T18:27:00.227" LastActivityDate="2018-02-11T18:27:00.227" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10038" PostTypeId="4" CreationDate="2018-02-11T04:59:52.817" Score="0" Body="All questions related to Federated Authentication in Sitecore" OwnerUserId="1671" LastEditorUserId="70" LastEditDate="2018-02-12T16:04:13.140" LastActivityDate="2018-02-12T16:04:13.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10039" PostTypeId="5" CreationDate="2018-02-11T05:04:22.933" Score="0" Body="&lt;p&gt;Sidekick is a platform in which to serve angularjs apps with a micro-service back-end from within Sitecore. This makes it a flexible and extensible platform to provide highly reactive and responsive single page applications for Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jeffdarchuk.com/2016/10/03/sitecore-sidekick/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffdarchuk.com/2016/10/03/sitecore-sidekick/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=x9foAgxGQDc&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=x9foAgxGQDc&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-11T18:27:58.617" LastActivityDate="2018-02-11T18:27:58.617" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10040" PostTypeId="4" CreationDate="2018-02-11T05:04:22.933" Score="0" Body="Sidekick is a platform to provide highly reactive and responsive single page applications for Sitecore.. Questions related to this module can be tagged.with it." OwnerUserId="1671" LastEditorUserId="2727" LastEditDate="2018-02-24T20:38:27.973" LastActivityDate="2018-02-24T20:38:27.973" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10041" PostTypeId="5" CreationDate="2018-02-11T05:06:59.237" Score="0" Body="&lt;p&gt;Razl is a database comparison tool for the Sitecore CMS. It allows a developer to compare two different Sitecore databases and see the differences in each. A developer can then migrate changes from one database to the other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://hedgehogdevelopment.github.io/razl/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hedgehogdevelopment.github.io/razl/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Download/Razl&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Download/Razl&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Razl&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Razl&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-11T18:27:26.427" LastActivityDate="2018-02-11T18:27:26.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10042" PostTypeId="4" CreationDate="2018-02-11T05:06:59.237" Score="0" Body="All the questions related to RAZL (Database comparison tool for Sitecore) can be tagged." OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-11T18:28:01.567" LastActivityDate="2018-02-11T18:28:01.567" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10043" PostTypeId="5" CreationDate="2018-02-11T05:09:44.560" Score="0" Body="&lt;p&gt;Sitecore gives you the ability to deliver relevant digital experiences that increase conversion. But harnessing its full capabilities while minimizing complexity is no small feat. BrainJocks SCORE empowers you to do just that—while transforming the Sitecore experience for both developers and marketers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://brainjocks.com/products-and-services/brainjocks-score&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://brainjocks.com/products-and-services/brainjocks-score&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-11T18:27:18.647" LastActivityDate="2018-02-11T18:27:18.647" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10044" PostTypeId="4" CreationDate="2018-02-11T05:09:44.560" Score="0" Body="All questions related to Brainjocks Score Module for Sitecore" OwnerUserId="1671" LastEditorUserId="70" LastEditDate="2018-02-12T16:04:48.450" LastActivityDate="2018-02-12T16:04:48.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10045" PostTypeId="2" ParentId="10036" CreationDate="2018-02-11T08:49:31.757" Score="7" Body="&lt;p&gt;In Sitecore 8.2 there was one additional xml tag in the config, &lt;code&gt;documentOptions&lt;/code&gt;. I don't have Sitecore 9 instance running at the moment, but I expect it's the same:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultSolrIndexConfiguration&amp;gt;&#xA;          &amp;lt;documentOptions&amp;gt; &amp;lt;!-- MISSING --&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;icon_services&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.Foundation.Indexing.Infrastructure.Fields.ImageURLComputedField, Sitecore.Foundation.Indexing&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt; &amp;lt;!-- MISSING --&amp;gt;&#xA;        &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-02-11T08:49:31.757" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10046" PostTypeId="2" ParentId="9968" CreationDate="2018-02-11T09:40:49.023" Score="1" Body="&lt;p&gt;Do you have a dedicated server for SOLR?&#xA;What kind of hard disks do you have for SOLR, SSD? &#xA;Is SOLR on Linux or Windows? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have you tried monitoring SOLR with something like &lt;a href=&quot;https://sematext.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sematext.com&lt;/a&gt;?&#xA;Are any requests getting a high latency? &#xA;(have you disabled the master index optimize master index job, only runs once every X hours so unlikely to be causing all your issues) &#xA;Or monitored disk activity to see if that's a bottle neck? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How many collections do you have? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are you sure the problem is on the SOLR server side?&#xA;What about the sitecore crawling side?&#xA;What does CPU look like on your indexing server? &#xA;How have you configured parallel indexing, threads, batch sizes?&#xA;How many cores do you have on the indexing server? &#xA;How many requests per second are going to SOLR to update the index?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps identify the root cause. &lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2018-02-11T09:40:49.023" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="10047" PostTypeId="1" CreationDate="2018-02-11T10:33:31.333" Score="1" ViewCount="252" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FvUPM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FvUPM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;Sitecore Experience Optimization Page Testing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Sitecore 9, I am trying to test created simple page in Experience Optimization. Locally everything working fine. When i tried same steps in Azure environment it giving me errors like below.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;HTTP400: BAD REQUEST - The request could not be processed by the&#xA;  server due to invalid syntax. (XHR)POST -&#xA;  &lt;a href=&quot;https://mc-4b5a2ea8-f571-4c60-bf02-50220a-cm.azurewebsites.net/api/sitecore/Settings/SetUserProfileKey&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mc-4b5a2ea8-f571-4c60-bf02-50220a-cm.azurewebsites.net/api/sitecore/Settings/SetUserProfileKey&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;HTTP500: SERVER ERROR - The server encountered an unexpected condition&#xA;  that prevented it from fulfilling the request. (XHR)GET -&#xA;  &lt;a href=&quot;https://mc-4b5a2ea8-f571-4c60-bf02-50220a-cm.azurewebsites.net/sitecore/shell/api/ct/ItemInfo/GetByUri?datauri=sitecore%3A%2F%2F%7BED7C2C82-114C-4FB1-96A7-6CCF1F37317B%7D%3Fver%3D2%26lang%3Den&amp;amp;_=1518266879976&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mc-4b5a2ea8-f571-4c60-bf02-50220a-cm.azurewebsites.net/sitecore/shell/api/ct/ItemInfo/GetByUri?datauri=sitecore%3A%2F%2F%7BED7C2C82-114C-4FB1-96A7-6CCF1F37317B%7D%3Fver%3D2%26lang%3Den&amp;amp;_=1518266879976&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;HTTP500: SERVER ERROR - The server encountered an unexpected condition&#xA;  that prevented it from fulfilling the request. (XHR)GET -&#xA;  &lt;a href=&quot;https://mc-4b5a2ea8-f571-4c60-bf02-50220a-cm.azurewebsites.net/sitecore/shell/api/ct/ItemInfo/GetByUri?datauri=sitecore%3A%2F%2F%7BED7C2C82-114C-4FB1-96A7-6CCF1F37317B%7D%3Fver%3D2%26lang%3Den&amp;amp;_=1518266879972&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mc-4b5a2ea8-f571-4c60-bf02-50220a-cm.azurewebsites.net/sitecore/shell/api/ct/ItemInfo/GetByUri?datauri=sitecore%3A%2F%2F%7BED7C2C82-114C-4FB1-96A7-6CCF1F37317B%7D%3Fver%3D2%26lang%3Den&amp;amp;_=1518266879972&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please find attached screenshots for same.&lt;/p&gt;&#xA;" OwnerUserId="3247" LastEditorUserId="1671" LastEditDate="2018-02-12T15:57:08.560" LastActivityDate="2018-02-12T15:57:08.560" Title="Page test in Experience Optimization on Azure Fails" Tags="|azure|content-testing|experience-optimization|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10048" PostTypeId="1" AcceptedAnswerId="10049" CreationDate="2018-02-11T13:01:18.003" Score="1" ViewCount="448" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NKVwI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NKVwI.png&quot; alt=&quot;Visual Studio Code Screenshot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;IndexField attribute is not recognized although Sitecore.ContentSearch.dll reference is added and namespace is included.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2018-02-11T13:30:20.347" Title="SItecore 8.2.6 - IndexField attribute is not recognized in code" Tags="|indexing|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10049" PostTypeId="2" ParentId="10048" CreationDate="2018-02-11T13:30:20.347" Score="3" Body="&lt;p&gt;You need to add a reference to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.ContentSearch.Linq.dll&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Not only to &lt;code&gt;Sitecore.ContentSearch.dll&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-02-11T13:30:20.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10050" PostTypeId="2" ParentId="10036" CreationDate="2018-02-11T23:34:44.890" Score="-1" Body="&lt;p&gt;I added the following patch file for Azure search to work&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultCloudIndexConfiguration&amp;gt;&#xA;          &amp;lt;documentOptions&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;icon_services&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.Foundation.Indexing.Infrastructure.Fields.ImageURLComputedField, Sitecore.Foundation.Indexing&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastActivityDate="2018-02-11T23:34:44.890" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10051" PostTypeId="1" AcceptedAnswerId="10147" CreationDate="2018-02-12T01:35:20.703" Score="1" ViewCount="684" Body="&lt;p&gt;I have a CMS environment &lt;code&gt;cms.&amp;lt;domain&amp;gt;&lt;/code&gt; and a CD environment &lt;code&gt;www.&amp;lt;domain&amp;gt;&lt;/code&gt;&#xA;All works fine when not logged into Sitecore, however when I am logged in to Sitecore on the CMS environment, then try load a page on the CD environment, it crashes with the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;6688 10:55:22 ERROR Application error.    Exception:&#xA;  System.Web.HttpException  Message: The file&#xA;  '/sitecore/shell/client/Sitecore/ExperienceEditor/PageEditbar/LoadingIndicator.ascx'&#xA;  does not exist.   Source: System.Web&#xA;       at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)&#xA;       at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath&#xA;  virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean&#xA;  allowBuildInPrecompile, Boolean throwIfNotFound, Boolean&#xA;  ensureIsUpToDate)&#xA;       at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext&#xA;  context, VirtualPath virtualPath, Boolean noBuild, Boolean&#xA;  allowCrossApp, Boolean allowBuildInPrecompile, Boolean&#xA;  throwIfNotFound, Boolean ensureIsUpToDate)&#xA;       at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext&#xA;  context, VirtualPath virtualPath, Boolean noBuild, Boolean&#xA;  allowCrossApp, Boolean allowBuildInPrecompile, Boolean&#xA;  ensureIsUpToDate)&#xA;       at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext&#xA;  context, VirtualPath virtualPath)&#xA;       at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)&#xA;       at Sitecore.ExperienceEditor.Utils.WebUtility.RenderLoadingIndicator(HtmlTextWriter&#xA;  output)&#xA;       at Sitecore.ExperienceEditor.Speak.Ribbon.PageExtender.RibbonWebControl.DoRender(HtmlTextWriter&#xA;  output)&#xA;       at Sitecore.Web.UI.WebControl.RenderAsText()&#xA;       at Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.SpeakRibbon.RenderPageEditorSpeakExtender.Render(TextWriter&#xA;  writer)&#xA;       at Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderPageExtendersProcessor.Process(RenderPageExtendersArgs&#xA;  args)&#xA;       at (Object , Object[] )&#xA;       at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;       at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;       at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String&#xA;  pipelineName, TArgs args)&#xA;       at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.GetExtendersHtml()&#xA;       at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.get_ExtendersHtml()&#xA;       at Sitecore.Mvc.ExperienceEditor.Pipelines.Request.RequestEnd.AddPageExtenders.Process(RequestEndArgs&#xA;  args)&#xA;       at (Object , Object[] )&#xA;       at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;       at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;       at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String&#xA;  pipelineName, TArgs args)&#xA;       at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult&#xA;  result)&#xA;       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;6688 10:56:23 INFO  Cache created: 'IsUserInRoleCache' (max size:&#xA;  unrestricted)     6688 10:56:23 INFO  Trying to load XML configuration&#xA;  /App_Config/Security/GlobalRoles.config   6688 10:56:24 INFO  AUDIT&#xA;  (sitecore\Anonymous): Logout  6688 10:56:24 WARN  Protected page&#xA;  accessed with no current user     6688 10:56:24 INFO  AUDIT&#xA;  (sitecore\Anonymous): Logout  6688 10:56:24 WARN  Protected page&#xA;  accessed with no current user     6688 10:56:24 ERROR Application error.&#xA;    Exception: System.Web.HttpException     Message: Cannot redirect after&#xA;  HTTP headers have been sent.  Source: System.Web&#xA;       at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)&#xA;       at Sitecore.Shell.Web.ShellPage.IsLoggedIn(Boolean returnAfterLogin)&#xA;       at Sitecore.ExperienceEditor.Speak.Ribbon.PageExtender.RibbonWebControl.DoRender(HtmlTextWriter&#xA;  output)&#xA;       at Sitecore.Web.UI.WebControl.RenderAsText()&#xA;       at Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.SpeakRibbon.RenderPageEditorSpeakExtender.Render(TextWriter&#xA;  writer)&#xA;       at Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderPageExtendersProcessor.Process(RenderPageExtendersArgs&#xA;  args)&#xA;       at (Object , Object[] )&#xA;       at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;       at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;       at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String&#xA;  pipelineName, TArgs args)&#xA;       at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.GetExtendersHtml()&#xA;       at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.get_ExtendersHtml()&#xA;       at Sitecore.Mvc.ExperienceEditor.Pipelines.Request.RequestEnd.AddPageExtenders.Process(RequestEndArgs&#xA;  args)&#xA;       at (Object , Object[] )&#xA;       at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;       at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;       at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String&#xA;  pipelineName, TArgs args)&#xA;       at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult&#xA;  result)&#xA;       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;7520 10:56:24 WARN  Request is redirected to document not found page.&#xA;  Requested url: /sitecore/login?returnUrl=%2F, User:&#xA;  sitecore\Anonymous, Website: login&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I assume, this is because, on the CD environment, I have removed the Experience Editor files as per the Sitecore config CD recommendations. Is there any config setting, I am missing for it to not try and load the Experience Editor on the CD environment?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The domain on &lt;code&gt;httpCookies&lt;/code&gt; and &lt;code&gt;authentication/forms&lt;/code&gt; are the same value on both CM and CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2.1&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2018-02-12T22:58:03.500" LastActivityDate="2018-04-23T01:29:47.190" Title="Issue using CMS and CD urls in same browser" Tags="|experience-editor|content-delivery|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10052" PostTypeId="2" ParentId="9978" CreationDate="2018-02-12T03:22:05.737" Score="3" Body="&lt;p&gt;There have been a number of big changes to the WFFM module, especially since the the version you are upgrading from. It is not possible to remain on an older version, you must upgrade the module to the version required for the particular version of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the version you were on (8.0 update 6), the WFFM module:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;uses the Bootstrap frontend framework to render and style the forms (since 8.0 update 6)&lt;/li&gt;&#xA;&lt;li&gt;introduced dependency injection into &lt;a href=&quot;https://sitecore.stackexchange.com/a/1680/135&quot;&gt;various parts of the module&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;support to allow storage of response into SQL Server using a provider based model&lt;/li&gt;&#xA;&lt;li&gt;module now uses the EventQueue rather than web services to communicate in a multiserver configuration&lt;/li&gt;&#xA;&lt;li&gt;as well as numerous other changes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The issue you are facing is most like due to the change in the frontend framework from a custom markup that was used in the earlier WFFM module, to the change to using Bootstrap.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not using Bootstrap on your own site (or even if you are, and want to disable from CSS files from being downloaded twice), you can patch the following setting (normally in &lt;code&gt;Sitecore.MvcForms.config&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--Set 'false' if you want disable WFFM bootstrap css loading--&amp;gt;&#xA;&amp;lt;setting name=&quot;WFM.EnableBootstrapCssRendering&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will allow you to style the markup according to your own requirements. Note that the markup will still conform to Bootstrap, which is significantly different to the pre-Bootstrapped versions of the module (i.e. 8.0 update-2). My recommendation would be to leave the default markup alone and restyle your &#xA;CSS around it. If you want to change the markup then the cshtml files are located in &lt;code&gt;Website\Views\Form\EditorTemplates&lt;/code&gt; folder but note that unlike the older versions, some of the markup is generated using C# helpers so a bit more difficult to change the html. If you go down this route then you may wish to &lt;a href=&quot;https://jammykam.wordpress.com/2017/10/03/multisite-wffm-form-markup-using-mvc-areas/&quot; rel=&quot;nofollow noreferrer&quot;&gt;make use of MVC Areas&lt;/a&gt; to keep your changes separate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The conflicts in jQuery may be due to different versions between what your project uses and what the module requires, WFFM 8.2 update-6 uses jQuery 2.1.3. The main form renderer, &lt;code&gt;Views/Form/Index.html&lt;/code&gt;, specifies the jQuery and Javascript files which are loaded when you add the MVC Form rendering onto a page. In earlier versions you needed to add references to the module scripts manually but now they are specified by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our past projects, which involved a similar upgrade like yourself, we had to spend a significant amount of time to re-write the CSS to work with the Bootstrap markup (having disabled the CSS using the setting) as well as some customization to the Javascript to work with our own code (and not load multiple versions of jQuery for performance reasons).&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-02-12T03:22:05.737" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10053" PostTypeId="1" CreationDate="2018-02-12T05:17:22.260" Score="3" ViewCount="1187" Body="&lt;p&gt;As per Sitecore documentation for setting up Solr, I have generated the &lt;code&gt;schema.xml&lt;/code&gt; (using managed-schema file) and updated &lt;code&gt;solrconfig.xml&lt;/code&gt;. I copied both the files to the conf folder of the all cores and removed managed-schema. But when I stop the solr and start using command &quot;solr start&quot;, it reset the &lt;code&gt;solrconfig.xml&lt;/code&gt; changes, put the managed-schema file back and converted &lt;code&gt;schema.xml&lt;/code&gt; as backup file (&lt;code&gt;schema.xml.bak&lt;/code&gt;) in all the cores.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting error while opening Content Editor and it seems to be due to issue with core. I am using SItecore 8.2 update 6.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="73" LastEditDate="2018-02-12T15:06:14.610" LastActivityDate="2018-02-12T15:06:14.610" Title="&quot;Solr start&quot; resets the schema and solrconfig file" Tags="|solr|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10054" PostTypeId="2" ParentId="10053" CreationDate="2018-02-12T06:21:54.383" Score="2" Body="&lt;p&gt;I got the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;solrconfig.xml of core needs to have below configuration setting.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;schemaFactory class=&quot;ClassicIndexSchemaFactory&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="277" LastEditDate="2018-02-12T06:38:53.970" LastActivityDate="2018-02-12T06:38:53.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10055" PostTypeId="2" ParentId="10053" CreationDate="2018-02-12T07:08:13.557" Score="1" Body="&lt;p&gt;Create a schema.xml file by duplicating and renaming the managed-schema file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make the following changes in the default schema.xml file distributed with Solr &lt;strong&gt;before generating Sitecore schema&lt;/strong&gt;:&#xA;Enclose all  and  elements in the  tag.&#xA;Enclose all  elements in the  tag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Switch to the ClassicIndexSchemaFactory setting by adding the following line to the SolrConfig.xml file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details on this Sitecore knowledge base: &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Generally, Solr shouldn't change your configuration/schema files unless you are enabling Master/Slave architecture, and you are trying to do these changes on Slave.&lt;/p&gt;&#xA;" OwnerUserId="2634" LastEditorUserId="2634" LastEditDate="2018-02-12T08:08:32.867" LastActivityDate="2018-02-12T08:08:32.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10056" PostTypeId="2" ParentId="9968" CreationDate="2018-02-12T07:14:56.843" Score="1" Body="&lt;p&gt;I am using Solr 4.10.4 with Sitecore 8.1 update 3, and it is working as expected with just 4GB RAM and 4 Cores; moreover I am indexing more than 10M document.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per Sitecore Compatibility table, Sitecore 8.1 should be working fine with 4.10.x - It might be a compatibility issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please read more here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2634" LastActivityDate="2018-02-12T07:14:56.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10057" PostTypeId="5" CreationDate="2018-02-12T07:36:56.810" Score="0" Body="&lt;p&gt;Content tests let you test alternative variants of your website's content to find out which pages, components, or combinations of components are the most effective with visitors. The content or components that you are comparing in a test should be designed to achieve the same goal. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can quickly evaluate the test results and gain insight into the content that functions best with your audience. This can help you create more successful campaigns with higher goal-conversion rates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/content_testing_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/content_testing_overview&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/experience_optimization_and_content_testing_glossary&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/experience_optimization_and_content_testing_glossary&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T06:50:56.867" LastActivityDate="2018-02-22T06:50:56.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10058" PostTypeId="4" CreationDate="2018-02-12T07:36:56.810" Score="0" Body="All questions related to Sitecore Experience Optimization feature. It may include A/B testing, multivariate testing. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-12T07:58:24.153" LastActivityDate="2018-02-12T07:58:24.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10059" PostTypeId="5" CreationDate="2018-02-12T07:41:35.803" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-12T07:41:35.803" LastActivityDate="2018-02-12T07:41:35.803" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10060" PostTypeId="4" CreationDate="2018-02-12T07:41:35.803" Score="0" Body="For questions related to Sitecore's user account handling and related Roles." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-12T07:58:26.920" LastActivityDate="2018-02-12T07:58:26.920" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10061" PostTypeId="5" CreationDate="2018-02-12T08:15:02.687" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-12T08:15:02.687" LastActivityDate="2018-02-12T08:15:02.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10062" PostTypeId="4" CreationDate="2018-02-12T08:15:02.687" Score="0" Body="ARM-templates are Azure Resource Management templates that allow user  to deploy an application using a declarative template. This tag should be used for all those kind of question in reference with Sitecore. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-12T10:21:14.150" LastActivityDate="2018-02-12T10:21:14.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10063" PostTypeId="2" ParentId="9809" CreationDate="2018-02-12T08:37:49.353" Score="0" Body="&lt;p&gt;I was able to resolve this by doing the following. Thanks to this post which I also refer. &lt;a href=&quot;https://blog.wesleylomax.co.uk/2017/11/01/solrcore-initialization-failures-xconnect-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.wesleylomax.co.uk/2017/11/01/solrcore-initialization-failures-xconnect-sitecore-9/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Restart (SiteName).xconnect Site in IIS.&lt;/li&gt;&#xA;&lt;li&gt;Stop Solr.&lt;/li&gt;&#xA;&lt;li&gt;Delete the core &quot;sitecore_xdb&quot; in the file system of Solr.&lt;/li&gt;&#xA;&lt;li&gt;Add the core &quot;sitecore_xdb&quot; folder again with the default items in /conf and data in the file system.&lt;/li&gt;&#xA;&lt;li&gt;Add the core again on the &lt;a href=&quot;https://localhost:8983/solr/#/~cores/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/#/~cores/&lt;/a&gt; and map the create folder.&lt;/li&gt;&#xA;&lt;li&gt;Start Solr.&lt;/li&gt;&#xA;&lt;li&gt;Run C:\inetpub\wwwroot\(SiteName).xconnect\App_data\jobs\continuous\IndexWorker\XConnectSearchIndexer.exe&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After doing the things above I am now able to create contact on List Manager.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastActivityDate="2018-02-12T08:37:49.353" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10064" PostTypeId="2" ParentId="8907" CreationDate="2018-02-12T09:59:22.077" Score="1" Body="&lt;p&gt;I have encountered this also and unable to create a contact as well on List Manager and I've managed to fix this doing the things below. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Restart (SiteName).xconnect Site in IIS. &lt;/li&gt;&#xA;&lt;li&gt;Stop Solr. &lt;/li&gt;&#xA;&lt;li&gt;Delete the core &lt;code&gt;sitecore_xdb&lt;/code&gt; in the file system of Solr. &lt;/li&gt;&#xA;&lt;li&gt;Add the core &lt;code&gt;sitecore_xdb&lt;/code&gt; folder again with the default items in /conf and data in the file system.&lt;/li&gt;&#xA;&lt;li&gt;Add the core again on the &lt;a href=&quot;https://localhost:8983/solr/#/~cores/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/#/~cores/&lt;/a&gt; and&#xA;map the created folder.&lt;/li&gt;&#xA;&lt;li&gt;Start Solr.&lt;/li&gt;&#xA;&lt;li&gt;Run &lt;code&gt;C:\inetpub\wwwroot\(SiteName).xconnect\App_data\jobs\continuous\IndexWorker\XConnectSearchIndexer.exe&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks to this post which I also refer. &lt;a href=&quot;https://blog.wesleylomax.co.uk/2017/11/01/solrcore-initialization-failures-xconnect-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.wesleylomax.co.uk/2017/11/01/solrcore-initialization-failures-xconnect-sitecore-9/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="5387" LastEditDate="2019-06-14T10:28:23.010" LastActivityDate="2019-06-14T10:28:23.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10065" PostTypeId="1" AcceptedAnswerId="10068" CreationDate="2018-02-12T10:19:59.223" Score="1" ViewCount="558" Body="&lt;p&gt;I'm trying to setup a Sitecore 9.0 update 1 installation on my local machine using&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;windows 10&lt;/li&gt;&#xA;&lt;li&gt;Solr 6.6.2&lt;/li&gt;&#xA;&lt;li&gt;SQL Server 2016 SP1 &lt;del&gt;Sql Express 2017&lt;/del&gt;&lt;/li&gt;&#xA;&lt;li&gt;SIF-less 0.6.0.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Despite a couple of annoying hickups I managed to get as far as past Solr installation, service restart, certificates setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The installation fails with the following output:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    PS&amp;gt;TerminatingError(Invoke-CommandTask): &quot;The running command stopped because the preference variable &#xA;    &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Command &#xA;    C:\inetpub\wwwroot\xxxx.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe &#xA;    returned a non-zero exit code - (-1073741811)&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Its obviously the &quot;SqlShardingDeploymentTool&quot; that complains during installation, but I'm having a hard time finding out why.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SIF-less test execution returns all green.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/An2UN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/An2UN.png&quot; alt=&quot;Output from SIF-less test execution&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3249" LastEditorUserId="2890" LastEditDate="2018-02-14T21:24:40.960" LastActivityDate="2018-02-14T21:24:40.960" Title="SqlShardingDeploymentTool causes Sitecore 9.0 update 1 installation to fail during SIF installation" Tags="|solr|sql-database|installation|sitecore-install-framework|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10066" PostTypeId="2" ParentId="10065" CreationDate="2018-02-12T10:55:43.213" Score="1" Body="&lt;p&gt;Sql Server 2017 is not supported, you need to have Sql Server 2016 Update 1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on Prerequisites and Requirements at &lt;a href=&quot;https://dev.sitecore.net/~/media/1E934A0DB5534F2CB1D98A0F4000B25C.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/~/media/1E934A0DB5534F2CB1D98A0F4000B25C.ashx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c07Or.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c07Or.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-02-12T10:55:43.213" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10067" PostTypeId="1" CreationDate="2018-02-12T11:44:18.840" Score="4" ViewCount="850" Body="&lt;p&gt;My requirement is to place newly created item on top. So I changed Sort order of newly created item programmatically using &lt;strong&gt;item:added&lt;/strong&gt; event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works fine for when I create new item but not work when I duplicate an existing item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So can someone suggest which pipeline I can use to change sort order of duplicated item programmatically ?&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="73" LastEditDate="2018-02-12T16:06:25.323" LastActivityDate="2018-02-12T16:06:25.323" Title="Change sort order of Duplicate sitecore item" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10068" PostTypeId="2" ParentId="10065" CreationDate="2018-02-12T12:02:48.460" Score="2" Body="&lt;p&gt;First of - &lt;strong&gt;I didn't fix the error, I simply avoided it&lt;/strong&gt; by not utilizing xconnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was done by not filling out the two following fields in the SIF-less application:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;XConnect Package&lt;/li&gt;&#xA;&lt;li&gt;xConnect Name&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Removing these fields allows the install script to complete successfully (leaving you with the Sitecore default site, which was my actual goal).&lt;/p&gt;&#xA;" OwnerUserId="3249" LastEditorUserId="3249" LastEditDate="2018-02-12T13:50:46.660" LastActivityDate="2018-02-12T13:50:46.660" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10069" PostTypeId="2" ParentId="10067" CreationDate="2018-02-12T12:13:07.880" Score="9" Body="&lt;p&gt;You don't need custom code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can set the subitems ordering for an item. I guess you need to have just for a part of tree to sort it by created day. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You need to right click on an item and choose Sorting-&gt; Subitems Sorting &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kh1bO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kh1bO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;On new windows choose &quot;Created&quot; from DropList&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5SuUd.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5SuUd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Items will be sorted ascending by created date. To have items in descending order you need to press again Sort Items and from the DropList to choose Inverse. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3rKa4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3rKa4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every time when you add new items it will be added on the top .&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-02-12T12:13:07.880" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10070" PostTypeId="1" CreationDate="2018-02-12T12:30:10.960" Score="1" ViewCount="191" Body="&lt;p&gt;I have deployed my &lt;strong&gt;Sitecore 9.0.1 solution in Azure PaaS with Self Signed Certificate&lt;/strong&gt;.I can't add contacts in List Manager and when I view the Experience Profile, I always get &lt;strong&gt;&quot;An error has occurred.&quot;&lt;/strong&gt; My Solr is also not getting any data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Disable all the Azure config in xconnect root&lt;/li&gt;&#xA;&lt;li&gt;Enable all the Solr Index writer and even added the solr core in connection strings&lt;/li&gt;&#xA;&lt;li&gt;Added AllowInvalidClientCertificates=&quot;true&quot; in connectionstrings.config&lt;/li&gt;&#xA;&lt;li&gt;Restarted and Rebuild the XConnectSearchIndexer.exe&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The logs say this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Certificate was not found&#xA;&lt;a href=&quot;https://i.stack.imgur.com/cT5bc.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cT5bc.jpg&quot; alt=&quot;Certificate was not found&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Could not establish trust relationship&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UhEuy.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UhEuy.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is there any other options to have my self signed certificate work other than getting SSL Certificate from a trusted vendor? It will be of great help, if anybody can suggest some thoughts/documentations on it. Thanks&lt;/p&gt;&#xA;" OwnerUserId="2472" LastEditorUserId="3136" LastEditDate="2018-02-12T15:08:35.797" LastActivityDate="2018-02-12T15:08:35.797" Title="Sitecore 9.0 Update 1 in PaaS: Error in Experience Profile" Tags="|solr|azure|paas|xconnect|" AnswerCount="0" CommentCount="6" ClosedDate="2018-02-12T12:43:47.843" ContentLicense="CC BY-SA 3.0" />
  <row Id="10071" PostTypeId="1" AcceptedAnswerId="10073" CreationDate="2018-02-12T14:13:03.937" Score="2" ViewCount="735" Body="&lt;p&gt;I'm trying to edit an overlay content component in the Experience Editor but i just realized that i can't use SXA components such as Rich Text, Links etc (The drag &amp;amp; drop works but once it's dropped, nothing is displayed in the placeholder).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't have this problem with components i've created myself and added to the toolbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone can put some light on that problem.&#xA;Thank you for your help !&lt;/p&gt;&#xA;" OwnerUserId="2278" LastEditorUserId="3022" LastEditDate="2018-02-12T15:57:12.187" LastActivityDate="2018-02-12T18:11:25.207" Title="Can't drag &amp; drop SXA components in overlay content (through experience editor)" Tags="|sxa|experience-editor|richtext-editor|links|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10073" PostTypeId="2" ParentId="10071" CreationDate="2018-02-12T14:50:45.827" Score="4" Body="&lt;p&gt;This is a known issue in &lt;strong&gt;SXA 1.5&lt;/strong&gt;, it was fixed in &lt;strong&gt;SXA 1.6&lt;/strong&gt; so if you can I highly recommend you to upgrade.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rendering Variants do not work on Overlay items thus you cannot see renderings because they have no default rendering variant selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can still assign RV in Raw Values but I think this is not a solution&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Quick fix:&lt;/h1&gt;&#xA;&#xA;&lt;h2&gt;Custom service&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Add missing &lt;strong&gt;Overlay&lt;/strong&gt; template and it will be fine. In &lt;strong&gt;1.6&lt;/strong&gt; this collection was extracted into a configuration so it is much easier to add additional templates that do not inherit from any of the existing base templates (Page, Overlay, Partials...)&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;namespace Alan.Services&#xA;{&#xA;    public class AvailableRenderingVariantService : Sitecore.XA.Foundation.Variants.Abstractions.Services.AvailableRenderingVariantService&#xA;    {&#xA;        public AvailableRenderingVariantService()&#xA;        {&#xA;            AllowedTemplates = new List&amp;lt;ID&amp;gt;(AllowedTemplates) { Templates.OverlayContent.ID }.ToArray();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Custom service - registration&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;namespace Alan&#xA;{&#xA;    public class RegisterVariantsAbstractionsServices : IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            serviceCollection.AddSingleton&amp;lt;IVariantFieldParser, VariantFieldParser&amp;gt;();&#xA;            serviceCollection.AddSingleton&amp;lt;ITemplateRenderer, TemplateRenderer&amp;gt;();&#xA;            serviceCollection.AddTransient&amp;lt;IVariantRenderer, VariantRenderer&amp;gt;();&#xA;            // HERE YOU REGISTER YOUR CUSTOM SERVICE&#xA;            serviceCollection.AddSingleton&amp;lt;IAvailableRenderingVariantService, Services.AvailableRenderingVariantService&amp;gt;(); &#xA;            serviceCollection.AddSingleton&amp;lt;IVariantRenderingService, VariantRenderingService&amp;gt;();&#xA;            serviceCollection.AddSingleton&amp;lt;IRulesService, RulesService&amp;gt;();&#xA;        }&#xA;    }&#xA;}    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Configuration&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;    &amp;lt;configurator patch:instead=&quot;*[@type='Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.IoC.RegisterVariantsAbstractionsServices, Sitecore.XA.Foundation.Variants.Abstractions']&quot; type=&quot;Alan.Services.RegisterVariantsAbstractionsServices, Alan&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Once you update to 1.6 you have to remove this fix.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-02-12T18:11:25.207" LastActivityDate="2018-02-12T18:11:25.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10074" PostTypeId="1" CreationDate="2018-02-12T14:54:47.240" Score="2" ViewCount="119" Body="&lt;p&gt;I am trying to update the renderings (more than 12) programmatically. I have around 1000+ items and each item as multiple languages (8+). I have developed the tool to see which all items as renderings inherited by standard values (600+) and items where inheritance is broken(400+). &#xA;Now I can change the renderings for 600+ items by just changing the standard values but can you suggest me the best way to change the remaining 400+ renderings?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note: Renderings can also have personalization.I may have to retain the personalization and datasource and just change the renderings to a different one.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Suhas &lt;/p&gt;&#xA;" OwnerUserId="740" LastEditorUserId="3022" LastEditDate="2018-02-12T15:44:52.027" LastActivityDate="2018-02-12T15:44:52.027" Title="Updating Sitecore renderings programmatically" Tags="|sitecore-api|" AnswerCount="0" CommentCount="0" ClosedDate="2018-02-12T16:03:07.573" ContentLicense="CC BY-SA 3.0" />
  <row Id="10075" PostTypeId="1" AcceptedAnswerId="10089" CreationDate="2018-02-12T15:38:03.000" Score="4" ViewCount="520" Body="&lt;p&gt;Is there a way to query items in the Recycle bin by their ID?&#xA;I'm trying to recover a deleted page and retrieved the page itself, but it has many datasource items which also need to be recovered. Looking at presentation details (of the restored item) shows GUIDs where the datasource items are missing. When I try to search using a GUID in the recycle bin I can't enter a search term over 20 characters so cannot enter a GUID. Is there some hack to get around this, or would I need to write my own admin page to do this?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2021-01-13T10:52:02.577" Title="Search by GUID for items in Recycle bin" Tags="|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10077" PostTypeId="5" CreationDate="2018-02-12T16:51:34.210" Score="0" Body="&lt;p&gt;A clone is an item that is not just a copy of the original item, but one that inherits the field values from the original item. If you update a field in the original item, the corresponding field in the clone is also updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore, you can create clones of items and of entire branches of items. A branch is a parent item and all its descendants. &lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-24T20:39:19.927" LastActivityDate="2018-02-24T20:39:19.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10078" PostTypeId="4" CreationDate="2018-02-12T16:51:34.210" Score="0" Body="Questions related to Sitecore Item Cloning feature" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-12T18:02:20.037" LastActivityDate="2018-02-12T18:02:20.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10079" PostTypeId="5" CreationDate="2018-02-12T16:54:23.117" Score="0" Body="&lt;p&gt;Sitecore has a default routing mechanism, but you can add custom routes in MVC-based solutions. The safest and recommended way to add an MVC route is to add a processor in the &lt;em&gt;Initialize&lt;/em&gt; pipeline, register the routes, and implement the route table in the &lt;em&gt;RouteConfig&lt;/em&gt; class. This prevents you from inadvertently breaking any Sitecore routes.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;To use a custom route, you must:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Define a custom route&lt;/li&gt;&#xA;&lt;li&gt;Register the custom route&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Refer to this doc for more details: &lt;a href=&quot;https://doc.sitecore.com/en/developers/90/sitecore-experience-manager/use-mvc-routing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/en/developers/90/sitecore-experience-manager/use-mvc-routing.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-07-08T05:49:34.737" LastActivityDate="2021-07-08T05:49:34.737" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10080" PostTypeId="4" CreationDate="2018-02-12T16:54:23.117" Score="0" Body="All questions related to custom routing including route registration, pipeline configuration and execution." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-12T18:02:23.687" LastActivityDate="2018-02-12T18:02:23.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10081" PostTypeId="5" CreationDate="2018-02-12T17:22:06.437" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-12T17:22:06.437" LastActivityDate="2018-02-12T17:22:06.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10082" PostTypeId="4" CreationDate="2018-02-12T17:22:06.437" Score="0" Body="All questions related to Cross-site request forgery, one-click attack or session riding in Sitecore" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-12T18:02:27.003" LastActivityDate="2018-02-12T18:02:27.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10083" PostTypeId="5" CreationDate="2018-02-12T17:37:03.397" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-12T17:37:03.397" LastActivityDate="2018-02-12T17:37:03.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10084" PostTypeId="4" CreationDate="2018-02-12T17:37:03.397" Score="0" Body="All Questions related to managing dependencies in Sitecore projects to make code more Reusable, Testable and Loosely coupled. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-12T20:11:34.813" LastActivityDate="2018-02-12T20:11:34.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10085" PostTypeId="5" CreationDate="2018-02-12T17:40:35.573" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-12T17:40:35.573" LastActivityDate="2018-02-12T17:40:35.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10086" PostTypeId="4" CreationDate="2018-02-12T17:40:35.573" Score="0" Body="All questions related to Profiling and Tracing using Sitecore debug mode. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-12T20:11:26.557" LastActivityDate="2018-02-12T20:11:26.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10088" PostTypeId="1" CreationDate="2018-02-12T18:24:26.640" Score="0" ViewCount="250" Body="&lt;p&gt;I got the following exception when the Sitecore instance jump to the &lt;strong&gt;login page with the following querystring&lt;/strong&gt;: &lt;code&gt;&amp;lt;domain&amp;gt;/sitecore/login?sc_mode=edit&amp;amp;sc_itemid=%7b11111111-1111-1111-1111-111111111111%7d&amp;amp;sc_version=1&amp;amp;sc_lang=en&amp;amp;sc_site=website&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I remove &lt;code&gt;sc_itemid&lt;/code&gt; parameter then it works fine. If I change the &lt;code&gt;sc_itemid&lt;/code&gt; to other item IDs then it works in some cases but it does not work some other cases.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Controls collection cannot be modified because the control&#xA;  contains code blocks (i.e. &amp;lt;% ... %&gt;). Description: An unhandled&#xA;  exception occurred during the execution of the current web request.&#xA;  Please review the stack trace for more information about the error and&#xA;  where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.Web.HttpException: The Controls collection&#xA;  cannot be modified because the control contains code blocks (i.e. &amp;lt;%&#xA;  ... %&gt;).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): The Controls collection cannot be&#xA;  modified because the control contains code blocks (i.e. &amp;lt;% ... %&gt;).]&#xA;  System.Web.UI.ControlCollection.AddAt(Int32 index, Control child) +502&#xA;  Sitecore.Layouts.PageContext.InsertUnusedControls() +245 (Object ,&#xA;  Object[] ) +74 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;  +469 Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;  Sitecore.Layouts.PageContext.BuildControlTree(Object sender, EventArgs&#xA;  e) +217 System.Web.UI.Page.OnPreInit(EventArgs e) +138&#xA;  System.Web.UI.d__495.MoveNext() +199&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task) +60&#xA;  System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +32&#xA;  System.Web.UI.d__523.MoveNext() +2189&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2018-02-12T19:26:21.677" LastActivityDate="2018-02-12T19:26:21.677" Title="Sitecore login - The Controls collection cannot be modified because the control contains code blocks (i.e. &lt;% ... %&gt;)" Tags="|experience-editor|login|" AnswerCount="0" CommentCount="2" ClosedDate="2018-02-12T20:43:36.813" ContentLicense="CC BY-SA 3.0" />
  <row Id="10089" PostTypeId="2" ParentId="10075" CreationDate="2018-02-12T18:35:34.483" Score="2" Body="&lt;p&gt;From what I can see there is no option to search in Recycle Bin (or any other Sitecore archive) by item id. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even if you use Chrome dev tools (or similar in other browser) to change the max length of the field, it won't work with item id. If you check the request which is sent to the server, you will see it's like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;FILTER (Name LIKE '%KEYWORD%') OR (OriginalLocation LIKE '%KEYWORD%') OR (ArchivedBy LIKE '%KEYWORD%');&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It looks like there is even some option for SQL injection maybe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it looks like custom admin page would be needed. But if you look at &lt;code&gt;Sitecore.Data.Archiving.SqlArchive&lt;/code&gt; class, it looks like methods to find and restore items using item id may be there and simple code should be enough:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Guid GetArchivalId(ID itemId)&#xA;public bool RestoreItem(Guid archivalId)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-02-12T18:35:34.483" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10091" PostTypeId="5" CreationDate="2018-02-12T21:56:44.430" Score="0" Body="&lt;p&gt;Since AD module will be retired and Sitecore will move away from the Microsoft Membership model and towards Microsoft Identity. This introduces support for the Microsoft Owin Authentication Middleware. This can be used as a replacement for the AD module. Details around Azure AD for Sitecore can be find here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/configure_federated_authentication&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/configure_federated_authentication&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/201557&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/201557&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some useful blogpost who implemented this already:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-12T22:15:54.513" LastActivityDate="2018-02-12T22:15:54.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10092" PostTypeId="4" CreationDate="2018-02-12T21:56:44.430" Score="0" Body="Question related to Microsoft Active Directory domain in Azure for Sitecore." OwnerUserId="1671" LastEditorUserId="237" LastEditDate="2018-03-16T08:39:05.133" LastActivityDate="2018-03-16T08:39:05.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10093" PostTypeId="1" CreationDate="2018-02-13T01:26:35.603" Score="2" ViewCount="454" Body="&lt;p&gt;I had this piece of code to capture every form submission and send the form input as an email. However, we found that the code behave differently between CM and CD environment.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   public class FeedbackSendEmailAction : WffmSaveAction&#xA;   {&#xA;       public virtual void Submit(ID formid, AdaptedResultList fields)&#xA;       {&#xA;           try&#xA;           {&#xA;               string attachPath = string.Empty;&#xA;               foreach (AdaptedControlResult formField in fields)&#xA;               {&#xA;                   if (formField.FieldName.Equals(&quot;Attachment&quot;))&#xA;                   {&#xA;                       attachPath = formField.Value;&#xA;                   }&#xA;&#xA;               }&#xA;               ...&#xA;               //send email etc&#xA;           }&#xA;           catch (Exception ex)&#xA;           {&#xA;             //do some logging&#xA;           }&#xA;       }&#xA;   }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On &lt;strong&gt;CM&lt;/strong&gt; environment, the &lt;code&gt;formField.Value&lt;/code&gt; returns path where the item is stored (e.g. ). While on &lt;strong&gt;CD&lt;/strong&gt; environment it will returns &lt;code&gt;Sitecore.WFFM.Abstractions.Actions.PostedFile&lt;/code&gt; as if it was a string and we can't cast it. Decompiling the assembly gave us the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//Sitecore.WFFM.Abstractions.Actions&#xA;[Serializable]&#xA;public class AdaptedControlResult : ControlResult&#xA;{&#xA;    public new string Value&#xA;    {&#xA;        get;&#xA;        private set;&#xA;    }&#xA;}&#xA;&#xA;//Sitecore.WFFM.Abstractions.Actions&#xA;[KnownType(typeof(PostedFile))]&#xA;[Serializable]&#xA;[SoapInclude(typeof(PostedFile))]&#xA;[XmlInclude(typeof(PostedFile))]&#xA;public class ControlResult&#xA;{&#xA;    public object Value&#xA;    {&#xA;        get;&#xA;        set;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am aware that the &lt;code&gt;AdaptedControlResult&lt;/code&gt; extends &lt;code&gt;ControlResult&lt;/code&gt; that exposes &lt;code&gt;Value&lt;/code&gt; as &lt;code&gt;object&lt;/code&gt; and we might be able to fetch the &lt;code&gt;PostedFile&lt;/code&gt; in &lt;code&gt;ControlResult&lt;/code&gt;'s  &lt;code&gt;Value&lt;/code&gt; field with ease if we cast the &lt;code&gt;AdaptedControlResult&lt;/code&gt; into &lt;code&gt;ControlResult&lt;/code&gt;.Unfortunately, it did not work as expected and returns null..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Why does it behave differently?&lt;/li&gt;&#xA;&lt;li&gt;How to fetch the attached file &lt;code&gt;byte[]&lt;/code&gt; or &lt;code&gt;Stream&lt;/code&gt; in &lt;strong&gt;CD&lt;/strong&gt; environment if its possible?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1825" LastActivityDate="2018-02-19T19:24:06.717" Title="WFFM Custom Save Action Attachment Different Between CM and CD" Tags="|wffm|" AnswerCount="1" CommentCount="3" ClosedDate="2018-02-19T22:47:39.373" ContentLicense="CC BY-SA 3.0" />
  <row Id="10094" PostTypeId="2" ParentId="8590" CreationDate="2018-02-13T01:33:38.713" Score="3" Body="&lt;p&gt;Mine was in SQL server 2016 only. I did not need to install 2017 or re install 2016 again.&#xA;I have modified the following attributes on install.ps1 according to my local machine settings and that fixed the issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SqlServer = &quot;localhost(SQL server instance name if server name is not localhost)&quot;&#xA;$SqlAdminUser = &quot;sa&quot;&#xA;$SqlAdminPassword = &quot;12345&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also if deploying on dev or production environments, make sure server can access sql databases.You can check it by following adding &quot;TestSQL.UDL&quot; on server desktop and check if it can access database server.&#xA;Check this link to make sure connectivity is not the issue - &lt;a href=&quot;https://dba.stackexchange.com/questions/23704/easy-way-to-check-connectivity-to-sql-server-from-client&quot;&gt;https://dba.stackexchange.com/questions/23704/easy-way-to-check-connectivity-to-sql-server-from-client&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="2466" LastEditDate="2019-04-19T00:00:03.937" LastActivityDate="2019-04-19T00:00:03.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10095" PostTypeId="1" CreationDate="2018-02-13T02:19:39.277" Score="1" ViewCount="155" Body="&lt;p&gt;version: Sitecore 8.2 update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm getting an error whilst adding an external site to FXM.&#xA;when i complete the settings and click Save, the page appears to save but doesn't refresh the page as it usually does.&#xA;looking at the chrome console, i get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://localhost/sitecore/api/ssc/domainmatcher/service?id=%id%&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost/sitecore/api/ssc/domainmatcher/service?id=%id%&lt;/a&gt; 500&#xA;  (Internal Server Error) - entityservice.js&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Uncaught Error: {&quot;Message&quot;:&quot;An error has&#xA;  occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;There is no method 'Filter' on type&#xA;  'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the&#xA;  specified&#xA;  arguments&quot;,&quot;ExceptionType&quot;:&quot;System.InvalidOperationException&quot;,&quot;StackTrace&quot;:&quot;&#xA;  at System.Linq.EnumerableRewriter.FindMethod(Type type, String name,&#xA;  ReadOnlyCollection`1 args, Type[] typeArgs, BindingFlags flags)\r\n&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;using a clean build works but this particular version just seems to throw that error everytime.&#xA;any ideas that could lead me to resolving local setup issues causing this error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks&lt;/p&gt;&#xA;" OwnerUserId="2962" LastEditorUserId="2727" LastEditDate="2018-04-03T06:51:34.483" LastActivityDate="2018-04-03T06:51:34.483" Title="FXM Add External Site Throws &quot;System.InvalidOperationException&quot; Error" Tags="|fxm|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10096" PostTypeId="1" CreationDate="2018-02-13T04:03:53.167" Score="1" ViewCount="658" Body="&lt;p&gt;A management role was added to Sitecore and permissions were granted to the role to allow Online Comms to manage content.  The roles and accounts that were created still exist, however the permissions no longer exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am guessing that deployment is overwriting permissions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we need to add same permissions into lower environment, i.e DEV/SIT/UAT. &lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="2056" LastEditDate="2018-03-16T09:44:29.927" LastActivityDate="2018-03-16T09:44:29.927" Title="Sitecore permissions removed after deployment" Tags="|security|role-management|permissions|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10097" PostTypeId="1" AcceptedAnswerId="10132" CreationDate="2018-02-13T04:51:09.180" Score="7" ViewCount="2877" Body="&lt;p&gt;I am trying to save the data to the &lt;code&gt;Experience Profile&lt;/code&gt; when the user submits the form, but the data is not getting displayed in the dashboard. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my code for storing data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void IdentityUser(string FirstName, string LastName, string Email, string PhoneNumber)&#xA;    {&#xA;      // identify the user&#xA;      Tracker.Current.Session.IdentifyAs(&quot;contactform&quot;,Email);&#xA;      // get the contact&#xA;      var contact = Tracker.Current.Contact;&#xA;      // get the personal facet&#xA;      var contactPersonalInfo = contact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;      // set the contact's name&#xA;      contactPersonalInfo.FirstName = FirstName;&#xA;      contactPersonalInfo.Surname = LastName;&#xA;      // get the email facet&#xA;      var contactEmail = contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;      // Create an email if not already present.&#xA;      // This can be named anything, but must be the same as &quot;Preferred&quot; if you want&#xA;      // this email to show in the Experience Profiles backend. &#xA;      if (!contactEmail.Entries.Contains(&quot;Personal&quot;))&#xA;      {&#xA;        contactEmail.Entries.Create(&quot;Personal&quot;);&#xA;      }&#xA;      // set the email&#xA;      var email = contactEmail.Entries[&quot;Personal&quot;];&#xA;      email.SmtpAddress = Email;&#xA;      contactEmail.Preferred = &quot;Personal&quot;;&#xA;      IContactPhoneNumbers phoneNumberInfo = contact.GetFacet&amp;lt;IContactPhoneNumbers&amp;gt;(&quot;Phone Numbers&quot;);&#xA;      if (!phoneNumberInfo.Entries.Contains(&quot;Mobile&quot;))&#xA;      {&#xA;        phoneNumberInfo.Entries.Create(&quot;Mobile&quot;);&#xA;      }&#xA;      var mobile = phoneNumberInfo.Entries[&quot;Mobile&quot;];&#xA;      mobile.Number = PhoneNumber;&#xA;&#xA;//abandoning session so the data get persisted straight into xDb. I have tried removing them as well no effect&#xA;          Sitecore.Context.HttpContext.Session.Abandon();&#xA;          HttpContext.Current.Session.Abandon();&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Experience Profile looks like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pYTNf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pYTNf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have updated my code as below after comments:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void TrackAnonymousUser(string FirstName, string LastName, string Email, string PhoneNumber)&#xA;    {&#xA;      if (Sitecore.Analytics.Tracker.Current.Contact.IsNew)&#xA;      {&#xA;        var manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as Sitecore.Analytics.Tracking.ContactManager;&#xA;&#xA;        if (manager != null)&#xA;        {&#xA;          // Save contact to xConnect; at this point, a contact has an anonymous&#xA;          // TRACKER IDENTIFIER, which follows a specific format. Do not use the contactId overload&#xA;          // and make sure you set the ContactSaveMode as demonstrated&#xA;          Sitecore.Analytics.Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;          manager.SaveContactToCollectionDb(Sitecore.Analytics.Tracker.Current.Contact);&#xA;&#xA;          // Now that the contact is saved, you can retrieve it using the tracker identifier&#xA;          // NOTE: Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource is marked internal in 9.0 Initial - use &quot;xDB.Tracker&quot;&#xA;          var trackerIdentifier = new IdentifiedContactReference(&quot;ContactForm&quot;, Sitecore.Analytics.Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&#xA;          // Get contact from xConnect, update and save the facet&#xA;          using (XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;          {&#xA;            try&#xA;            {&#xA;             //contact is null&#xA;              var contact = client.Get&amp;lt;Sitecore.XConnect.Contact&amp;gt;(trackerIdentifier, new Sitecore.XConnect.ContactExpandOptions());&#xA;&#xA;              if (contact != null)&#xA;              {&#xA;                if (contact.Personal() != null)&#xA;                {&#xA;                  contact.Personal().FirstName = FirstName;&#xA;                  contact.Personal().LastName = LastName;&#xA;                }&#xA;                else&#xA;                {&#xA;                  client.SetFacet&amp;lt;PersonalInformation&amp;gt;(contact, &quot;MyFacetKey&quot;, new PersonalInformation()&#xA;                  {&#xA;                    FirstName = FirstName,&#xA;                    LastName = LastName,&#xA;                  });&#xA;                }&#xA;                if (contact.PhoneNumbers() != null)&#xA;                {&#xA;                  contact.PhoneNumbers().PreferredPhoneNumber = new Sitecore.XConnect.Collection.Model.PhoneNumber(string.Empty, PhoneNumber);&#xA;                }&#xA;                else&#xA;                {&#xA;                  client.SetFacet&amp;lt;PhoneNumberList&amp;gt;(contact, &quot;MyFacetKey&quot;, new PhoneNumberList(new PhoneNumber(string.Empty, PhoneNumber), &quot;mobile&quot;));&#xA;                }&#xA;                if (contact.Emails() != null)&#xA;                {&#xA;                  contact.Emails().PreferredEmail = new EmailAddress(Email, true);&#xA;                }&#xA;                else&#xA;                {&#xA;                  client.SetFacet&amp;lt;EmailAddressList&amp;gt;(contact, &quot;MyFacetKey&quot;, new EmailAddressList(new EmailAddress(Email, true), &quot;email&quot;));&#xA;                }&#xA;                client.Submit();&#xA;&#xA;                // Remove contact data from shared session state - contact will be re-loaded&#xA;                // during subsequent request with updated facets&#xA;                //manager.RemoveFromSession(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;              }&#xA;            }&#xA;            catch (XdbExecutionException ex)&#xA;            {&#xA;              // Manage conflicts / exceptions&#xA;            }&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is that my contact object is null even after pushing it to the xConnect repository. &#xA;I can see in the comments as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Now that the contact is saved, you can retrieve it using the tracker identifier&#xA;          // NOTE: Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource is marked internal in 9.0 Initial - use &quot;xDB.Tracker&quot;&#xA;          var trackerIdentifier = new IdentifiedContactReference(&quot;ContactForm&quot;, Sitecore.Analytics.Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am not too sure where to find xDB.Tracker I can't seem to have reference to it. Is that the reason for the contact is null? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, I see the following in the &lt;code&gt;xConnect logs&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;2018-02-14 09:37:26.897 +10:00 [Error] Sitecore.XConnect.Operations.AddContactOperation: Sitecore.XConnect.Operations.EntityOperationException: Operation #0, AlreadyExists, Contact&#xA;2018-02-14 09:37:26.897 +10:00 [Error] Sitecore.XConnect.Operations.SetFacetOperation`1[Sitecore.XConnect.Facet]: Sitecore.XConnect.Operations.FacetOperationException: Operation #1, ReferenceNotFound, Contact, Classification&#xA;2018-02-14 09:37:26.897 +10:00 [Error] [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;Sitecore.XConnect.Operations.EntityOperationException: Operation #0, AlreadyExists, Contact&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="5387" LastEditDate="2019-07-26T13:15:04.517" LastActivityDate="2019-07-26T13:18:34.063" Title="Profile data is not saving in Experience Profile" Tags="|xdb|experience-profile|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="10098" PostTypeId="1" AcceptedAnswerId="10143" CreationDate="2018-02-13T06:22:26.747" Score="3" ViewCount="1644" Body="&lt;p&gt;I have a multisite configuration running SC8.2u2. All sites have a common domain name &lt;code&gt;xxx.com&lt;/code&gt;, however the &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; domain name on sub-sites is set to the sub-domain &lt;code&gt;accounts.xxx.com&lt;/code&gt; and &lt;code&gt;legal.xxx.com&lt;/code&gt; so the global cookie does not match for users when they traverse to a different sub-site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How is the domain name set for a given sub-site and is there a way to control it? And can I force all sites to use a common wildcard &lt;code&gt;.xxx.com&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="2034" LastEditorUserId="2727" LastEditDate="2018-02-13T08:00:01.167" LastActivityDate="2018-07-12T06:37:19.807" Title="SC_ANALYTICS_GLOBAL_COOKIE domain name in multisite" Tags="|experience-analytics|multisite|tracking|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10099" PostTypeId="5" CreationDate="2018-02-13T06:47:13.487" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-13T06:47:13.487" LastActivityDate="2018-02-13T06:47:13.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10100" PostTypeId="4" CreationDate="2018-02-13T06:47:13.487" Score="0" Body="All Questions related to Azure Resource Management that allow user to deploy an application using a declarative template in reference with Sitecore. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T07:59:32.840" LastActivityDate="2018-02-13T07:59:32.840" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10101" PostTypeId="5" CreationDate="2018-02-13T06:53:23.377" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-13T06:53:23.377" LastActivityDate="2018-02-13T06:53:23.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10102" PostTypeId="4" CreationDate="2018-02-13T06:53:23.377" Score="0" Body="All questions related to Signed Certificate creation and configuration needed for Sitecore including installation and application management." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T07:59:57.773" LastActivityDate="2018-02-13T07:59:57.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10103" PostTypeId="5" CreationDate="2018-02-13T06:55:20.220" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-13T06:55:20.220" LastActivityDate="2018-02-13T06:55:20.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10104" PostTypeId="4" CreationDate="2018-02-13T06:55:20.220" Score="0" Body="This tag can be used for all question related to WeBlog module integration and configuration for Sitecore." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T07:59:29.123" LastActivityDate="2018-02-13T07:59:29.123" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10105" PostTypeId="5" CreationDate="2018-02-13T06:57:15.903" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-13T06:57:15.903" LastActivityDate="2018-02-13T06:57:15.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10106" PostTypeId="4" CreationDate="2018-02-13T06:57:15.903" Score="0" Body="This tag should be used for all kind of question that are related to importing data from other sources into Sitecore." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T07:59:45.950" LastActivityDate="2018-02-13T07:59:45.950" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10107" PostTypeId="5" CreationDate="2018-02-13T07:03:32.387" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-13T07:03:32.387" LastActivityDate="2018-02-13T07:03:32.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10108" PostTypeId="4" CreationDate="2018-02-13T07:03:32.387" Score="0" Body="Facets group and classify content items. Users use facets to filter and limit search results after running searches. This tag is for all those kind of question that are related to search facets in Sitecore." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T07:59:40.300" LastActivityDate="2018-02-13T07:59:40.300" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10109" PostTypeId="5" CreationDate="2018-02-13T07:05:14.810" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-13T07:05:14.810" LastActivityDate="2018-02-13T07:05:14.810" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10110" PostTypeId="4" CreationDate="2018-02-13T07:05:14.810" Score="0" Body="Questions related to all kind of caching implemented in Sitecore and its configuration and management." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T07:59:43.163" LastActivityDate="2018-02-13T07:59:43.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10111" PostTypeId="5" CreationDate="2018-02-13T07:09:57.430" Score="0" Body="&lt;p&gt;Hooks allow developers to implement logic, typically initialization functionality to dynamically subscribe to events. They can also cause custom events to be raised by operations which do not raise events by default or to register event handlers programmatically. The system invokes hooks during initialization before any application requests are serviced.&lt;/p&gt;&#xA;&lt;p&gt;The Sitecore.Pipelines.Loader.LoadHooks pipeline processor in the initialize core pipeline iterates over the /configuration/sitecore/hooks/hook entries in web.config. Then it creates an object of each specified type and invokes its Initialize method.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2021-03-11T08:46:01.510" LastActivityDate="2021-03-11T08:46:01.510" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10112" PostTypeId="4" CreationDate="2018-02-13T07:09:57.430" Score="0" Body="A hook is a mechanism that you can use to run or &quot;register&quot; some logic at initialization time. All questions in this regards, should use &quot;hooks&quot; tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T07:59:51.897" LastActivityDate="2018-02-13T07:59:51.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10113" PostTypeId="5" CreationDate="2018-02-13T07:23:30.500" Score="0" Body="&lt;p&gt;You can build the Sitecore URL for an item programmatically. You control the way the API build the URLs by using the &lt;em&gt;ItemUrlBuilderOptions&lt;/em&gt; and &lt;em&gt;MediaUrlBuilderOptions&lt;/em&gt; classes for item and media items, respectively. You can control things like language embedding, absolute or relative path, using a display name or item name, and more.&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-03-28T09:31:46.933" LastActivityDate="2021-03-28T09:31:46.933" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10114" PostTypeId="4" CreationDate="2018-02-13T07:23:30.500" Score="0" Body="All questions related to Sitecore URL (item and media URLs) generation, configuration and its uses." OwnerUserId="2727" LastEditorUserId="4817" LastEditDate="2021-03-28T09:32:09.467" LastActivityDate="2021-03-28T09:32:09.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10115" PostTypeId="5" CreationDate="2018-02-13T07:41:25.133" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-13T07:41:25.133" LastActivityDate="2018-02-13T07:41:25.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10116" PostTypeId="4" CreationDate="2018-02-13T07:41:25.133" Score="0" Body="Questions related to configuring, managing custom error pages according to status code." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T07:59:37.443" LastActivityDate="2018-02-13T07:59:37.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10118" PostTypeId="5" CreationDate="2018-02-13T08:23:39.737" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-13T08:23:39.737" LastActivityDate="2018-02-13T08:23:39.737" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10119" PostTypeId="4" CreationDate="2018-02-13T08:23:39.737" Score="0" Body="All questions related to Azure WebApp for Sitecore hosting configuration and management." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T09:46:12.070" LastActivityDate="2018-02-13T09:46:12.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10120" PostTypeId="5" CreationDate="2018-02-13T08:25:54.540" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-13T08:25:54.540" LastActivityDate="2018-02-13T08:25:54.540" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10121" PostTypeId="4" CreationDate="2018-02-13T08:25:54.540" Score="0" Body="All questions related to Sitecore text field, that can be used to accept single line plain text value from end user." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-07T08:32:08.827" LastActivityDate="2019-01-07T08:32:08.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10123" PostTypeId="5" CreationDate="2018-02-13T09:30:21.227" Score="0" Body="&lt;p&gt;You use the OData Item Service for read-only access to Sitecore items. The service authenticates requests using API keys. The service exposes the /sitecore/api/ssc/aggregate/content/ endpoint. It returns data in OData (JSON) format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_odata_item_service&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_odata_item_service&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/api_keys_for_the_odata_item_service&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/api_keys_for_the_odata_item_service&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T06:51:19.773" LastActivityDate="2018-02-22T06:51:19.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10124" PostTypeId="4" CreationDate="2018-02-13T09:30:21.227" Score="0" Body="Open Data Protocol, is an open protocol to allow the creation and consumption of queryable and interoperable RESTful APIs in a simple and standard way. All question related to OData in reference with Sitecore should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-13T09:45:48.310" LastActivityDate="2018-02-13T09:45:48.310" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10125" PostTypeId="1" AcceptedAnswerId="10273" CreationDate="2018-02-13T10:17:31.873" Score="4" ViewCount="2211" Body="&lt;p&gt;Sitecore 8.2 update 4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've been editing some pages, and noticing that &lt;code&gt;rel=&quot;noopener noreferrer&quot;&lt;/code&gt; get's added into text. I understand that, it's good to have it added to &lt;code&gt;_blank&lt;/code&gt; links. But it's being auto-added in text blocks as well when editing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ex- I open an RTE field and add new link using &quot;HyperLink Manager&quot; and choose target as a blank. Now save the item and again open RTE field what it did that it added a &lt;code&gt;rel=&quot;noopener noreferrer&quot;&lt;/code&gt; on link, as well as on above text that is in RTE.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DDjYr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DDjYr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a property in &lt;code&gt;Sitecore.config&lt;/code&gt; called &quot;&lt;code&gt;ProtectExternalLinksWithBlankTarget&lt;/code&gt;&quot; by disabling this &quot;noopener noreferrer&quot; feature is disabled but is there any other way to use this feature correctly.&lt;/p&gt;&#xA;" OwnerUserId="1499" LastEditorUserId="2727" LastEditDate="2018-02-13T14:21:02.000" LastActivityDate="2020-04-01T16:10:52.120" Title="rel=&quot;noopener noreferrer&quot; get automatically added on other content when we add new link with target equals to blank in RTE" Tags="|sitecore-client|richtext-editor|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10126" PostTypeId="2" ParentId="10125" CreationDate="2018-02-13T10:39:22.363" Score="5" Body="&lt;h3&gt;You should leave it as is.&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;target=&amp;quot;_blank&amp;quot;&lt;/code&gt; is a security vulnerability. In previous versions, you had to fix this yourself but in Sitecore 8.2 onwards, this is the default behaviour.&lt;/p&gt;&#xA;&lt;p&gt;More information here: &lt;a href=&quot;https://mikael.com/2017/07/adding-relnoopener-to-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Adding rel=”noopener” to Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Edited to add: Your clarified behaviour, however, is clearly a bug and should be taken to Sitecore Support.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-02-13T10:45:12.093" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10127" PostTypeId="1" AcceptedAnswerId="10130" CreationDate="2018-02-13T10:49:15.270" Score="6" ViewCount="1202" Body="&lt;p&gt;This PowerShell query breaks, if the item name contains query operators such as &quot;and&quot; or &quot;child&quot;.&#xA;How should I escape it, so that they don't break it?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SourceItemPath = $SourceItem.Paths.path&#xA;$SourceAncestorItem = Get-Item -Path &quot;master:&quot; -Query &quot;$SourceItemPath/ancestor-or-self::*[@@templatekey='my template key']&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="345" LastEditorUserId="73" LastEditDate="2018-02-13T11:25:01.677" LastActivityDate="2018-02-13T11:39:38.103" Title="How to escape a query in Sitecore PowerShell" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10128" PostTypeId="1" CreationDate="2018-02-13T11:00:48.817" Score="5" ViewCount="964" Body="&lt;p&gt;I am creating a new link field in Sitecore following this link: &lt;a href=&quot;http://sitecorecode.com/index.php/tag/xaml/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Link for custom link field&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have successfully created one called modal link. Specifically I want to get all the modal components that are currently in the page. I need to get the page ID, so that I could get the modal component it has then list it in a combobox. Right now I'm facing a problem trying to get that ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code is exactly the same as no. 6 on the link&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GoogleEvent : Link&#xA;{&#xA;    // Sets the value.&#xA;    public void SetValue(string value)&#xA;    {&#xA;        Value = value;&#xA;    }&#xA;    // Gets the value.&#xA;    public string GetValue()&#xA;    {&#xA;        return Value;&#xA;    }&#xA;    // Handles the message.&#xA;    public override void HandleMessage(Sitecore.Web.UI.Sheer.Message message)&#xA;    {&#xA;        //Hopefully get page ID here then pass it&#xA;&#xA;        base.HandleMessage(message);&#xA;        if (message[&quot;id&quot;] != ID || String.IsNullOrEmpty(message.Name))&#xA;        {&#xA;            return;&#xA;        }&#xA;        switch (message.Name)&#xA;        {&#xA;            case &quot;contentlink:GoogleEvent&quot;:&#xA;                var url = new UrlString(UIUtil.GetUri(&quot;control:GoogleTrackinglink&quot;));&#xA;&#xA;                //Add the page id in url here&#xA;&#xA;                base.Insert(url.ToString());&#xA;                return;&#xA;        }&#xA;        if (Value.Length &amp;gt; 0)&#xA;        {&#xA;            SetModified();&#xA;        }&#xA;        Value = String.Empty;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In code, getting the context item is not giving me what I need, so I'm aiming to get the url because on Experience Editor, the page id is stated there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;example image of the url with page id&lt;a href=&quot;https://i.stack.imgur.com/WwmtP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WwmtP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another problem occurs when trying to get the url is, I'm getting the source of the iframe dialog instead of the page url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried &lt;code&gt;WebUtil.GetRequestUru&lt;/code&gt;, &lt;code&gt;HttpContext.Current.Request&lt;/code&gt;, etc. They all return the same url, which is from the iframe dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have questions about the code, I'm just using the codes given on the link. Is there a way to pass the url before going in to code? &lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="88" LastEditDate="2018-05-17T13:13:00.610" LastActivityDate="2021-07-30T23:05:15.493" Title="Getting the page ID when clicking a custom link field in Sitecore" Tags="|sitecore-api|custom-field|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10129" PostTypeId="1" AcceptedAnswerId="10131" CreationDate="2018-02-13T11:16:37.637" Score="12" ViewCount="4126" Body="&lt;p&gt;I am trying to install Sitecore 9 in my Windows 10 box. At first attempt, it was failed with this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10117/sesecurityprivilege-error-during-sitecore-9-installation-on-windows-10&quot;&gt;exception&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some modification, I re-executed Sitecore install script. This time, i came across new exception.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Cannot process argument transformation on parameter 'Signer'. Cannot&#xA;  convert the &quot;System.Object[]&quot; value of type &quot;System.Object[]&quot; to type&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oP8DE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oP8DE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i first tried, this step was done but it failed second time. &lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2019-12-06T11:21:33.540" Title="Sitecore 9 Installation error &quot;Cannot process argument transformation on parameter 'Signer' during CreateSignedCert : NewSignedCertificate step" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10130" PostTypeId="2" ParentId="10127" CreationDate="2018-02-13T11:24:32.783" Score="6" Body="&lt;p&gt;In Sitecore Query, you escape keywords and whitespaces by surrounding path parts with hashes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make your query work, prepare the path like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SourceItemPath = $SourceItemPath -replace '[^/]*(and|or|child|descendant|\s)[^/]*','#$&amp;amp;#'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will convert &lt;code&gt;/some/path/bla and bla/something&lt;/code&gt; to &lt;code&gt;/some/path/#bla and bla#/something&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="104" LastEditorUserId="104" LastEditDate="2018-02-13T11:39:38.103" LastActivityDate="2018-02-13T11:39:38.103" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10131" PostTypeId="2" ParentId="10129" CreationDate="2018-02-13T11:43:00.290" Score="14" Body="&lt;p&gt;You've created two certificates with precisely the same DNS name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see in the verbose output that two certificates have been found as it lists two thumbprints.  These values are then returned as an array which causes the error as the &lt;code&gt;Signer&lt;/code&gt; parameter only expects a single certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest removing one or both certificates and trying again. I'll add an issue to the SIF backlog to cater for this scenario.&lt;/p&gt;&#xA;" OwnerUserId="128" LastActivityDate="2018-02-13T11:43:00.290" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10132" PostTypeId="2" ParentId="10097" CreationDate="2018-02-13T13:05:53.533" Score="6" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Facets that are loaded into session can be edited but are not saved to&#xA;  xConnect on session end. You must use the xConnect Client API to&#xA;  update facets.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Check the documentation &lt;a href=&quot;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/contact-facets/update-facets.html&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to use XConnectClient and set your values there. Values set on the contact in session are not saved. This is a big difference between v8 and v9.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You must update a contact’s facets directly in xConnect using the&#xA;  xConnect Client API and manually update the copy of that facet that&#xA;  exists in session. The tracker does not lock contact data, which means&#xA;  that a contact with an ongoing session can still be updated by other&#xA;  systems. Holding a facet in session and submitting that facet to&#xA;  xConnect on session end could result in a conflict if a more recent&#xA;  version of that facet is available.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Make sure to note the difference between anonymous and known contacts. The code is a bit different. The documentation mentioned earlier has good code examples that will get you going.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-02-13T13:05:53.533" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10133" PostTypeId="1" AcceptedAnswerId="10135" CreationDate="2018-02-13T14:29:10.917" Score="10" ViewCount="408" Body="&lt;p&gt;I'm trying to map multiple address fields from my source (i.e. address 1, City, State, Zip) into a target field which is a multi-line textbox. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1AuUY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1AuUY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using the OOTB &quot;Collection to String Value&quot; reader as the Source Value Transformer within the address mapping.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H6ACl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H6ACl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it appears my delimiter of \r\n is being encoded somehow, so instead of line breaks i get &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Address1\r\n\City\r\nState\r\nZip&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any way I can map multiple fields into separate lines in a multi-line textbox?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I probably need to write my own reader to transform the value - but I wanted to check if there was a better way first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm also going through the framework code - and i don't see where the value is actually encoded - so i'm concerned if i DO write a custom value reader my value will just end up encoded as well - so i think i need to find that FIRST so i know how to avoid it&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, The ootb value reader is only this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual ReadResult Read(object source, DataAccessContext context)&#xA;{&#xA;  if (source == null)&#xA;    return ReadResult.PositiveResult((object) null, DateTime.Now);&#xA;  ICollection collection = source as ICollection;&#xA;  if (collection == null)&#xA;    return ReadResult.NegativeResult(DateTime.Now);&#xA;  List&amp;lt;object&amp;gt; objectList = new List&amp;lt;object&amp;gt;();&#xA;  foreach (object obj in (IEnumerable) collection)&#xA;    objectList.Add(obj);&#xA;  return ReadResult.PositiveResult((object) string.Join&amp;lt;object&amp;gt;(this.Separator, (IEnumerable&amp;lt;object&amp;gt;) objectList), DateTime.Now);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it seems that simply writing my own value reader to add line breaks is pointless as unless I figure out how to avoid the encoding.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE -Solution from Vlad below was it.  Below is the updated converter in case it helps others.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override ConvertResult&amp;lt;IValueReader&amp;gt; ConvertSupportedItem(ItemModel source)&#xA;{&#xA;    return this.PositiveResult((IValueReader)new CollectionToStringValueReader()&#xA;    {&#xA;            Separator = PreserveLineBreaks(this.GetStringValue(source, FieldNameSeparator))&#xA;    });&#xA; }&#xA;&#xA;private string PreserveLineBreaks(string separator)&#xA;{&#xA;    var unescapedSeparator = Regex.Unescape(separator);&#xA;&#xA;    return unescapedSeparator == Environment.NewLine ? unescapedSeparator : separator;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1245" LastEditorUserId="1245" LastEditDate="2018-02-13T16:58:54.770" LastActivityDate="2018-02-13T16:58:54.770" Title="Mapping multiple source fields to a Multi-line textbox target field" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10134" PostTypeId="1" AcceptedAnswerId="10158" CreationDate="2018-02-13T15:49:12.033" Score="1" ViewCount="1316" Body="&lt;p&gt;I have installed &lt;code&gt;Sitecore 9 Update 1&lt;/code&gt;. I have created scenario where I have created form in Sitecore Forms and triggering Goal during form submit. In Marketing Automation I have created campaign where I hooked to this goal in Start step as rule. In next steps I am adding contact to custom contact list and send automated email campaign. Unfortunately both of these steps are not working. Contact is not added to Contact list and also email is not send out with this error message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #5 16:26:39 INFO  Registered email:&#xA;  something@outlook.com ManagedPoolThread #4 16:26:39 INFO  Dispatch&#xA;  Message (Newsletter Sign Up Confirmation): Started   Message Id:&lt;br&gt;&#xA;  {B6B6C836-54CA-4FA3-B145-0183A8A31544}   Message Path:&lt;br&gt;&#xA;  /sitecore/content/Email/Messages/2018/02/02T120314/Newsletter Sign Up&#xA;  Confirmation   Included Recipient Lists:    Excluded Recipient Lists: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;MessageTaskRunner worker thread 12 16:26:39 ERROR Failed to send&#xA;  'Newsletter Sign Up Confirmation' to 'Alias PII removed'.&#xA;  MessageTaskRunner worker thread 12 16:26:39 ERROR Message sending&#xA;  error: System.NullReferenceException: Object reference not set to an&#xA;  instance of an object.    at&#xA;  Sitecore.EmailCampaign.Cm.Dispatch.DispatchTask.OnSendToNextRecipient()&#xA;  MessageTaskRunner worker thread 11 16:26:39 ERROR Failed to send&#xA;  'Newsletter Sign Up Confirmation' to 'Alias PII removed'.&#xA;  MessageTaskRunner worker thread 11 16:26:39 ERROR Message sending&#xA;  error: System.NullReferenceException: Object reference not set to an&#xA;  instance of an object.    at&#xA;  Sitecore.EmailCampaign.Cm.Dispatch.DispatchTask.OnSendToNextRecipient()&#xA;  MessageTaskRunner worker thread 13 16:26:39 ERROR Failed to send&#xA;  'Newsletter Sign Up Confirmation' to 'Alias PII removed'.&#xA;  MessageTaskRunner worker thread 15 16:26:39 ERROR Failed to send&#xA;  'Newsletter Sign Up Confirmation' to 'Alias PII removed'.&#xA;  MessageTaskRunner worker thread 13 16:26:39 ERROR Message sending&#xA;  error: System.NullReferenceException: Object reference not set to an&#xA;  instance of an object.    at&#xA;  Sitecore.EmailCampaign.Cm.Dispatch.DispatchTask.OnSendToNextRecipient()&#xA;  MessageTaskRunner worker thread 15 16:26:39 ERROR Message sending&#xA;  error: System.NullReferenceException: Object reference not set to an&#xA;  instance of an object.    at&#xA;  Sitecore.EmailCampaign.Cm.Dispatch.DispatchTask.OnSendToNextRecipient()&#xA;  ManagedPoolThread #4 16:26:41 INFO  Time to send: 2129 ms&#xA;  ManagedPoolThread #4 16:26:41 INFO   ManagedPoolThread #4 16:26:41&#xA;  INFO   ManagedPoolThread #4 16:26:41 INFO  Dispatch Message&#xA;  (Newsletter Sign Up Confirmation): Finished   Result:          ABORTED&#xA;  Message Id:      {B6B6C836-54CA-4FA3-B145-0183A8A31544}   Message&#xA;  Path:    /sitecore/content/Email/Messages/2018/02/02T120314/Newsletter&#xA;  Sign Up Confirmation   Recipients Processed:    0   Message Total Sent&#xA;  Recipients:    0   Message Total Failed Recipients:  0   Message Total&#xA;  Skipped Recipients (Enable log DEBUG level to see why):  0   Included&#xA;  Recipient Lists:    Excluded Recipient Lists:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Has anybody encountered this issue?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="1671" LastEditDate="2018-02-13T15:54:03.377" LastActivityDate="2020-08-04T08:19:13.147" Title="Getting - ERROR Failed to send 'Newsletter Sign Up Confirmation' to 'Alias PII removed'" Tags="|exm|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10135" PostTypeId="2" ParentId="10133" CreationDate="2018-02-13T16:12:03.943" Score="8" Body="&lt;p&gt;When converter gets separator value from field its value is &quot;\\r\\n&quot; and at the end your result is &quot;Address1\r\n\City\r\nState\r\nZip&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just add your custom converter.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [SupportedIds(&quot;[YOUR TEMPLATE ID]&quot;)]&#xA;public class CollectionToStringNewLIneConverter : BaseItemModelConverter&amp;lt;IValueReader&amp;gt;&#xA;{&#xA;    public CollectionToStringNewLIneConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;    }&#xA;    protected override ConvertResult&amp;lt;IValueReader&amp;gt; ConvertSupportedItem(ItemModel source)&#xA;    {&#xA;        var reader = new CollectionToStringValueReader&#xA;        {&#xA;            Separator = Environment.NewLine&#xA;        };&#xA;        return PositiveResult(reader);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or still use the same template with Separator field but with custom converter to enescape separator value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SupportedIds(&quot;{03639AB3-5C4B-45E3-AE4E-A41EF33F3E06}&quot;)]&#xA;public class CustomUnescapeCollectionToStringValueReaderConverter : BaseItemModelConverter&amp;lt;IValueReader&amp;gt;&#xA;{&#xA;    public const string FieldNameSeparator = &quot;Separator&quot;;&#xA;    public CustomUnescapeCollectionToStringValueReaderConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;    }&#xA;    protected override ConvertResult&amp;lt;IValueReader&amp;gt; ConvertSupportedItem(ItemModel source)&#xA;    {&#xA;        var reader = new CollectionToStringValueReader&#xA;        {&#xA;            Separator = Regex.Unescape(this.GetStringValue(source, FieldNameSeparator))&#xA;        };&#xA;        return PositiveResult(reader);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-02-13T16:17:28.923" LastActivityDate="2018-02-13T16:17:28.923" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10136" PostTypeId="1" AcceptedAnswerId="10137" CreationDate="2018-02-13T16:49:22.550" Score="0" ViewCount="146" Body="&lt;p&gt;We use Sitecore 8.2 update 3 and we do not have xDB license and mongo db, however in one of the modules we need to use geo IP which requires having xDB.TrackingEnabled = true. &#xA;Can this be achieved without mongo and what are the implications of removing tracking Connection Strings? I cannot find anything about this in the documentation.&lt;/p&gt;&#xA;" OwnerUserId="1979" LastEditorUserId="237" LastEditDate="2018-02-13T16:59:26.643" LastActivityDate="2018-02-13T17:06:39.370" Title="Do I need mongo db/xDb license to set xDb.TrackingEnabled = true?" Tags="|mongodb|tracking|geo-location|" AnswerCount="1" CommentCount="0" ClosedDate="2018-02-13T17:50:20.887" ContentLicense="CC BY-SA 3.0" />
  <row Id="10137" PostTypeId="2" ParentId="10136" CreationDate="2018-02-13T16:57:06.570" Score="1" Body="&lt;p&gt;You can find the information here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/experience_management/configuring/disabling_xdb_and_the_xdb_tracker&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/experience_management/configuring/disabling_xdb_and_the_xdb_tracker&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When Xdb.Tracking.Enabled is set to true and have xDB disabled:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Contacts cannot be identified immediately, and any data gathered from    the contact is discarded at the end of the session. &lt;/li&gt;&#xA;  &lt;li&gt;You can use personalization rules for contact facets and segmentation. &lt;/li&gt;&#xA;  &lt;li&gt;IP Geolocation services are available. &lt;/li&gt;&#xA;  &lt;li&gt;Engagement plan processing occurs for the live session. &lt;/li&gt;&#xA;  &lt;li&gt;Contact repositories are available for the session, and outcomes that are triggered during the session are registered.&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So: You don't need the xdb connection strings (to mongo). You don't need Mongo databases or a xdb license. You should disable xdb and enable tracking. That way you can use GeoIP.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-02-13T17:06:39.370" LastActivityDate="2018-02-13T17:06:39.370" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10138" PostTypeId="1" AcceptedAnswerId="10159" CreationDate="2018-02-13T18:08:28.103" Score="5" ViewCount="1122" Body="&lt;p&gt;During index rebuild at Azure, I am getting error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.Reflection.TargetInvocationException: Exception has been&#xA;  thrown by the target of an invocation. ---&gt; System.AggregateException:&#xA;  One or more errors occurred. ---&gt;&#xA;  Sitecore.ContentSearch.Azure.Http.Exceptions.RequestEntityTooLargeException:&#xA;  Request size exceeded Azure Search Service limits ---&gt;&#xA;  Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException:&#xA;  The page was not displayed because the request entity is too large.&#xA;         --- End of inner exception stack trace ---&#xA;         at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage&#xA;  response)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is it something that I could solve via Sitecore settings, or should be fixed on azure side?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="1671" LastEditDate="2018-02-13T18:23:51.490" LastActivityDate="2018-10-25T14:53:02.670" Title="Sitecore Rebuild Index: Request size exceeded Azure Search Service limits" Tags="|azure|azure-search|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10139" PostTypeId="1" AcceptedAnswerId="10140" CreationDate="2018-02-13T19:29:45.367" Score="3" ViewCount="9554" Body="&lt;p&gt;On an installation of Sitecore 8.2 update 4, the mongo connection appears to work fine. After upgrading to Sitecore 8.2 update 6 mongo is stating that the connection string is not valid.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The connection string 'mongodb://username:password@servername.fleet.mongolab.com:port138192/databasename?replicaSet=rs-servername;ssl=true' is not valid.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What may have happened to cause this and how can I get it working?&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="3136" LastEditDate="2018-02-14T08:10:46.417" LastActivityDate="2018-05-09T15:57:52.810" Title="How do you resolve a MongoDB 'connection string is not valid' after upgrading?" Tags="|upgrade|mongodb|xdb-cloud|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10140" PostTypeId="2" ParentId="10139" CreationDate="2018-02-13T19:29:45.367" Score="10" Body="&lt;p&gt;The MongoDB driver between the two version changed, which includes a refactoring of the validation for connection strings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Checking with &lt;code&gt;MongoDB.Driver.dll&lt;/code&gt; the version details can be seen as the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.2.4 the MongoDB driver is 1.10.0.62&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2.6 the MongoDB driver is 2.4.4.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Each file uses a regular expression to verify the format of the connection string. I discovered that the password I was provided has a colon &lt;code&gt;:&lt;/code&gt; in it which needs to be escaped.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;abc:123&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The solution here is to encode the colon using &lt;code&gt;%3A&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;abc%3A123&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Similarly, if you have an &lt;code&gt;@&lt;/code&gt; symbol you should replace it with &lt;code&gt;%40&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Only encode the password. The &lt;code&gt;:&lt;/code&gt; and &lt;code&gt;@&lt;/code&gt; are also used in the connection string as delimiters which should go untouched.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-05-09T15:57:52.810" LastActivityDate="2018-05-09T15:57:52.810" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10142" PostTypeId="2" ParentId="10138" CreationDate="2018-02-13T21:03:12.730" Score="1" Body="&lt;p&gt;There are limitations around what Azure Search can do on Sitecore. These are documented thoroughly on Sitecore's Documentation Site (&lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/setting%20up%20and%20maintaining/search%20and%20indexing/sitecore%20azure%20search%20overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;Link to Doc Site Page&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, RequestEntityTooLarge exception is caused because IIS is throwing a 413 Error Code. This is generally caused because of a WCF limitation which sets a default limit of 65KB for messages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To Fix this, you need set &lt;code&gt;maxReceivedMessageSize&lt;/code&gt; in your Web.config file in the &lt;code&gt;system.serviceModel&lt;/code&gt; node.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.serviceModel&amp;gt;&#xA;  &amp;lt;bindings&amp;gt;&#xA;    &amp;lt;basicHttpBinding&amp;gt;&#xA;      &amp;lt;binding maxReceivedMessageSize=&quot;10485760&quot;&amp;gt;&#xA;        &amp;lt;readerQuotas ... /&amp;gt;&#xA;      &amp;lt;/binding&amp;gt;&#xA;    &amp;lt;/basicHttpBinding&amp;gt;&#xA;  &amp;lt;/bindings&amp;gt;  &#xA;&amp;lt;/system.serviceModel&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-10-25T14:53:02.670" LastActivityDate="2018-10-25T14:53:02.670" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="10143" PostTypeId="2" ParentId="10098" CreationDate="2018-02-13T21:21:04.253" Score="6" Body="&lt;p&gt;You'll want to set a &lt;code&gt;&amp;lt;httpCookies&amp;gt;&lt;/code&gt; configuration in your Web.config that allows for a &lt;em&gt;wildcard&lt;/em&gt; domain.  This is done by specifying the root of your domain in the cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: that by changing this cookie, this will require people to log back into Sitecore and may need cookies to be cleared in order to take effect.  Test heavily to ensure it works for all of your use cases.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;httpCookies domain=&quot;.xxx.com&quot; /&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-02-13T21:21:04.253" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10145" PostTypeId="2" ParentId="10096" CreationDate="2018-02-14T05:05:11.990" Score="3" Body="&lt;p&gt;To answer your question, its always good practice to add the same permissions to all lower environment but the point here is find out why the permission no longer exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think it depends on where you apply the permissions, in another words, if your deployment overrides the permissions on certain items which seems like the case. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should always bring down the production to the lower level environment to keep the content/security settings in sync.&lt;/p&gt;&#xA;" OwnerUserId="3221" LastEditorUserId="1378" LastEditDate="2018-02-14T07:52:41.237" LastActivityDate="2018-02-14T07:52:41.237" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10146" PostTypeId="2" ParentId="9738" CreationDate="2018-02-14T05:17:02.987" Score="1" Body="&lt;p&gt;Please start from scratch from content and technical point of view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Figuring out what is &quot;component&quot; really mean or needed in the new structure from content and domain point of view (running subdomains or modern &quot;one branding&quot; ) which will drive how you put the data source to be shared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, changing the mindset of typical old &quot;I can edit all the fields in one page type&quot; to &quot;(almost) everything is driven from data source&quot;. It will be a big change for content editors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Please let me know if I am not answering what he asked for....)&lt;/p&gt;&#xA;" OwnerUserId="3221" LastActivityDate="2018-02-14T05:17:02.987" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10147" PostTypeId="2" ParentId="10051" CreationDate="2018-02-14T05:51:01.653" Score="0" Body="&lt;p&gt;&lt;strong&gt;Original Sitecore 8.2.1 Answer (please use updated Sitecore 8.2.6 answer below)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I went back over the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;CD config guide&lt;/a&gt; and found that I had somehow missed disabling &lt;code&gt;Sitecore.ExperienceEditor.Speak.Requests.config&lt;/code&gt; and &lt;code&gt;Sitecore.ExperienceExplorer.Speak.Requests.config&lt;/code&gt; which did the trick.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8.2.6 Answer:&lt;/strong&gt;&#xA;I ran into this issue again after updating sitecore. They have updated the CD config guide to now include these files on CD so this is no longer a solution.&#xA;However simply &lt;a href=&quot;https://jammykam.wordpress.com/2017/08/07/disable-edit-on-cd-servers/&quot; rel=&quot;nofollow noreferrer&quot;&gt;disabling edit on CD servers&lt;/a&gt; solves the issue.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2018-04-23T01:29:47.190" LastActivityDate="2018-04-23T01:29:47.190" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10148" PostTypeId="1" AcceptedAnswerId="10150" CreationDate="2018-02-14T06:49:33.290" Score="6" ViewCount="412" Body="&lt;p&gt;Is it just in my installation or overall that ribbon &lt;code&gt;Configure&lt;/code&gt; and button &lt;code&gt;Icon&lt;/code&gt; are behaving incorrectly on Chrome and Firefox in &lt;code&gt;Sitecore 9 Update 1&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Dialog box is hidden behind content tree:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MGODY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MGODY.png&quot; alt=&quot;Incorrect look &amp;amp; feel of Icon ribbon button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to scroll toolbar down to get to More Icons button:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kpp1H.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kpp1H.png&quot; alt=&quot;Bottom of the Icon dialog box&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&#xA;Bug reported to Sitecore Support and it is tracked with reference number 202331. Ask Sitecore Support to provide fix, it is working as expected after applying update package ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WORKAROUND:&lt;/strong&gt;&#xA;I have summarized Vlad's suggestions + my own findings on various ways how to change icons in Sitecore in a blog post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look here -&gt; &lt;a href=&quot;https://tothecore.sk/2018/02/14/various-ways-of-changing-item-icons-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/02/14/various-ways-of-changing-item-icons-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-22T05:09:15.273" LastActivityDate="2018-03-22T05:09:15.273" Title="Buggy UI when choosing icons in CE on Chrome/Firefox with Sitecore9u1" Tags="|sitecore-client|content-editor|ribbon|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10149" PostTypeId="2" ParentId="10134" CreationDate="2018-02-14T08:09:39.827" Score="1" Body="&lt;p&gt;I had faced the same issue, I have crated custom contact list for news latter with email id only. The list is visible to List Manager under contact lists category but without any contact. Please check whether you are able to see the contacts under your custom contact list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I identified that the First Name and Last Name field is compulsory parameter to create any contact under the contact list. so try with adding First Name and Last Name along with Email Id.&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-14T08:09:39.827" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10150" PostTypeId="2" ParentId="10148" CreationDate="2018-02-14T08:18:13.577" Score="4" Body="&lt;p&gt;Looks like is a &quot;bug&quot; but  you can change in other way the icons and is much easier. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Select the template/item which you want to change the icon. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click on the icon from the middle of content editor. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eehYk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eehYk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;A new popup is open with all icons. You can choose category and icon. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pnvwN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pnvwN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-02-14T08:18:13.577" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10151" PostTypeId="1" AcceptedAnswerId="10197" CreationDate="2018-02-14T09:03:40.260" Score="6" ViewCount="5025" Body="&lt;p&gt;I am trying to install Sitecore 9 in my Windows 10 box. At first attempt, it was failed with this exception. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Failed to start service 'Sitecore xConnect Search Indexer'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I got the one answer for this issue &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9932/failed-to-start-service-sitecore-xconnect-search-indexer-when-installing-sitecor&quot;&gt;here&lt;/a&gt;. But it is related to &lt;code&gt;LicenseException&lt;/code&gt; in EventLog. But i am having different exception in my EventLog as follows.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Sitecore XConnect Search Indexer - sc9.xconnect-IndexWorker&#xA;  service terminated with the following error:  An exception occurred in&#xA;  the service when handling the control request.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Apart from it, i can also see few Application Level EventLog exceptions listed below..&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Open Procedure for service &quot;.NETFramework&quot; in DLL&#xA;  &quot;C:\windows\system32\mscoree.dll&quot; failed. Performance data for this&#xA;  service will not be available. The first four bytes (DWORD) of the&#xA;  Data section contains the error code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The Open Procedure for service &quot;BITS&quot; in DLL&#xA;  &quot;C:\Windows\System32\bitsperf.dll&quot; failed. Performance data for this&#xA;  service will not be available. The first four bytes (DWORD) of the&#xA;  Data section contains the error code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The Open Procedure for service &quot;Lsa&quot; in DLL&#xA;  &quot;C:\Windows\System32\Secur32.dll&quot; failed. Performance data for this&#xA;  service will not be available. The first four bytes (DWORD) of the&#xA;  Data section contains the error code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Unable to open the Server service performance object. The first four&#xA;  bytes (DWORD) of the Data section contains the status code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The Open Procedure for service &quot;WmiApRpl&quot; in DLL&#xA;  &quot;C:\windows\system32\wbem\wmiaprpl.dll&quot; failed. Performance data for&#xA;  this service will not be available. The first four bytes (DWORD) of&#xA;  the Data section contains the error code.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="3136" LastEditDate="2018-02-14T15:13:16.573" LastActivityDate="2018-11-30T11:57:36.527" Title="Sitecore 9 Installation error &quot;Failed to start service 'Sitecore xConnect Search Indexer&quot;" Tags="|xconnect|sitecore-install-framework|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10152" PostTypeId="2" ParentId="3521" CreationDate="2018-02-14T09:23:46.347" Score="0" Body="&lt;p&gt;To achieve &quot;conditional required fields&quot;, you need to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;not set the fields as required in WFFM&lt;/li&gt;&#xA;&lt;li&gt;have a custom JS to do client-validation&lt;/li&gt;&#xA;&lt;li&gt;have a custom WFFM form validator that checks for conditionally required fields&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In case you need this often in many different forms, you should try to add some extra attributes (e.g. &lt;code&gt;requiresFieldsOfClassIfChecked&lt;/code&gt; and &lt;code&gt;fieldRequierementClass&lt;/code&gt;) so the js and WFFM can read from this, if it's just one static form you're probably better of to just hardcode everything. I didn't do research if someone build a module or something for this in the meantime, I'm just relaying experience from a past project.&lt;/p&gt;&#xA;" OwnerUserId="2126" LastEditorUserId="2890" LastEditDate="2018-02-14T17:06:43.330" LastActivityDate="2018-02-14T17:06:43.330" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10153" PostTypeId="1" AcceptedAnswerId="10154" CreationDate="2018-02-14T10:45:07.890" Score="4" ViewCount="1348" Body="&lt;p&gt;I want to run the Sitecore command Translate.Text inside a controller, which doesn't seem to translate (at that time). I've tried debugging and also run different Translate commands (like Translate.TextByDomain) in VS2015's Immediate window. When I continue the debugger after returning the View, the Immediate window can translate text. Does this mean that Translate.Text() only works after a certain point? Does it need some Context?&#xA;The translation fails at Documenthelper class while returning value from method MakeNameForMonthlyReports.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Controller (stripped):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    var viewmodel = new DocumentsViewModel(); &#xA;    //attention, there's Documents~ and Document~ ViewModel in this code sample.&#xA;    var val = &quot;ABC&quot;;&#xA;    Parallel.Invoke(&#xA;            () =&amp;gt; { viewmodel.MonthlyDocuments = DocumentHelper.GetMonthlyReports(val, Items.Fields.Reporting, _service); },&#xA;            () =&amp;gt; { viewmodel.QuarterlyDocuments = DocumentHelper.GetQuarterlyReports(val, Items.Fields.Reporting, _service); }&#xA;            //stripped 4 more calls&#xA;    );&#xA;    return View(&quot;~/Views/Index.cshtml&quot;, viewmodel);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Documenthelper class (stripped) :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static List&amp;lt;DocumentViewModel&amp;gt; GetMonthlyReports(string val, string category, IService _service) //IService not the real name, just renamed for brevity.&#xA;{&#xA;    var result = new List&amp;lt;DocumentViewModel&amp;gt;();&#xA;    try&#xA;    {&#xA;        var response = _service.GetMonthlyReports(val, category);&#xA;        response = response.Where(t =&amp;gt; ((t.Year.Value == DateTime.Now.AddYears(-1).Year) &amp;amp;&amp;amp; (t.Month.Value &amp;gt;= DateTime.Now.Month)) || ((t.Year.Value == DateTime.Now.Year) &amp;amp;&amp;amp; (t.Month.Value &amp;lt;= DateTime.Now.Month)))&#xA;             .OrderByDescending(t =&amp;gt; t.Year.Value)&#xA;             .ThenByDescending(t =&amp;gt; t.Month.Value)&#xA;             .ToList();&#xA;        foreach (var item in response)&#xA;        {&#xA;            var dvm = new DocumentViewModel()&#xA;            {&#xA;                LastChanged = item.LastImportDate,&#xA;                Name = MakeNameForMonthlyReports(item.FileName),&#xA;                Url = GetDocumentUrl(item.FileName)&#xA;            };&#xA;            result.Add(dvm);&#xA;        }&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        Log.Error(ex.Message, ex);&#xA;    }&#xA;    return result;&#xA;}&#xA;&#xA;private static string MakeNameForMonthlyReports(string filename)&#xA;{&#xA;    string[] fileTags = filename.Split('_');&#xA;    string monthToTranslate = string.Empty;&#xA;    switch (Convert.ToInt32(fileTags[3]))&#xA;    {&#xA;        case 1:&#xA;            monthToTranslate = &quot;Global.Library.DateSettings.Month.January&quot;;&#xA;            break;&#xA;        case 2:&#xA;            monthToTranslate = &quot;Global.Library.DateSettings.Month.February&quot;;&#xA;            break;&#xA;        case 3:&#xA;            monthToTranslate = &quot;Global.Library.DateSettings.Month.March&quot;;&#xA;            break;&#xA;        //case 4 etcetera&#xA;    }&#xA;    return $&quot;{SC.Globalization.Translate.Text(monthToTranslate)} {fileTags[2]} {fileTags[1]}.pdf&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After being outside the Parallel.Invoke command while debugging, the text translation seem to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While writing this question, this makes sense as the context is not passed into the parallel tasks, but how can I make the context available (without running into unexpected behavior)?&#xA;Some might think, why use Parallel.Invoke anyway? I'm lazy on this one, and don't want to rewrite the called _service object to work asynchronously, but I do want to speed up these 6 calls to _service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;New insights: one of the parallel tasks seem to have Context. It can translate correctly while debugging on one of the threads being run by Parallel.Invoke. I didn't see this until now, as not all tasks returning documents, yet. It can't on other threads. This seem to be a Thread thingie...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another addition: I'm using DictionaryDomain in my multi site solution.&lt;/p&gt;&#xA;" OwnerUserId="3182" LastEditorUserId="73" LastEditDate="2018-02-19T16:38:57.000" LastActivityDate="2018-02-19T16:38:57.000" Title="Sitecore 8.2 could Translate.Text run in controller code or should it run while rendering views?" Tags="|multilingual|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10154" PostTypeId="2" ParentId="10153" CreationDate="2018-02-14T11:07:51.963" Score="4" Body="&lt;p&gt;There is no &lt;code&gt;Sitecore.Context&lt;/code&gt; inside &lt;code&gt;Parallel.Invoke&lt;/code&gt;. And &lt;code&gt;Sitecore.Context&lt;/code&gt; is used in &lt;code&gt;Translate&lt;/code&gt; methods. That's why you need to pass all the necessary data to the method. Try:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create variables&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var language = Sitecore.Context.Language;&#xA;var database = Sitecore.Context.ContentDatabase ?? Sitecore.Context.Database;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;before &lt;code&gt;Parallel.Invoke&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Use&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Translate.TextByLanguage(null, new TranslateOptions {Database = database}, key, language, key);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;instead of &lt;code&gt;Translate.Text&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-02-14T11:41:52.987" LastActivityDate="2018-02-14T11:41:52.987" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10155" PostTypeId="2" ParentId="10128" CreationDate="2018-02-14T11:31:57.960" Score="1" Body="&lt;p&gt;If you have done all the configuration as per the shared link only then as per point 5, you must have added &lt;code&gt;contentlink:GoogleEvent(id=$Target)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure about custom control but the same syntax has been used to get context item in commands like delete. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check the value of &lt;code&gt;message[&quot;id&quot;]&lt;/code&gt;, it might be the same which you are looking for.&lt;/p&gt;&#xA;" OwnerUserId="3261" LastEditorUserId="2056" LastEditDate="2018-03-18T05:10:18.893" LastActivityDate="2018-03-18T05:10:18.893" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10156" PostTypeId="1" AcceptedAnswerId="10157" CreationDate="2018-02-14T12:56:30.460" Score="1" ViewCount="854" Body="&lt;p&gt;I have a item created against a template with some standard values.  I have updated one of the standard value fields in the template with some data and can see the change in the item and other items that are based on the template, however when i publish any of the items the new value is not present.  The field still shows the old value which in this case is blank when i switch to the master db.  Do i need to do anything to the standard template or the item to get the value published?&lt;/p&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="2890" LastEditDate="2018-02-14T21:00:43.097" LastActivityDate="2018-02-15T18:11:42.953" Title="updated standard value not being published" Tags="|sitecore-client|publishing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10157" PostTypeId="2" ParentId="10156" CreationDate="2018-02-14T12:57:18.233" Score="6" Body="&lt;p&gt;You need to publish the Standard Values item. Not the item that uses it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also; remember that any changes to Standard Values will not take effect for items, that already have values for the field.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-02-14T12:57:18.233" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10158" PostTypeId="2" ParentId="10134" CreationDate="2018-02-14T13:08:08.030" Score="2" Body="&lt;p&gt;Solution was to create custom submit action for Sitecore Forms 9 that is saving first name, last name and email address for contact. Error message is gone. I have created custom submit action based on &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&quot; rel=&quot;nofollow noreferrer&quot;&gt;this Sitecore doc article&lt;/a&gt;!&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-02-14T13:08:08.030" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10159" PostTypeId="2" ParentId="10138" CreationDate="2018-02-14T13:24:20.520" Score="9" Body="&lt;p&gt;Issue was solved by decreasing batch size, for more info you can have a look onto:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.kentico.com/k11/configuring-kentico/setting-up-search-on-your-website/using-azure-search/customizing-azure-search&quot; rel=&quot;noreferrer&quot;&gt;https://docs.kentico.com/k11/configuring-kentico/setting-up-search-on-your-website/using-azure-search/customizing-azure-search&lt;/a&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This value can be set in &lt;code&gt;Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config&lt;/code&gt; which is living under &lt;code&gt;App_Config/Include&lt;/code&gt;. Node name &lt;code&gt;cloudBatchBuilder&lt;/code&gt;, simply decrease the value &lt;code&gt;maxDocuments&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The root of the problem was huge computed strings(crawled html) we tried to push in single batch. So we met a restriction of azure which is 16mb per batch.&#xA;Regards.&lt;/p&gt;&#xA;" OwnerUserId="3266" LastEditorUserId="1671" LastEditDate="2018-02-14T13:44:17.220" LastActivityDate="2018-02-14T13:44:17.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10161" PostTypeId="1" AcceptedAnswerId="10163" CreationDate="2018-02-14T13:48:05.647" Score="7" ViewCount="1935" Body="&lt;p&gt;Utilizing Azure Search as the Sitecore search provider has various &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/sitecore_azure_search_overview&quot; rel=&quot;noreferrer&quot;&gt;pro's and con's&lt;/a&gt;. One question that immediately comes up is how to develop against Azure Search. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SOLR and Lucene can be run locally and tested appropriately prior to deploying. As Azure Search is cloud-based, developers cannot have a disconnected sandbox to test updates to the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What options are available for local development when dependent/higher environments (dev/test/stage/prod) utilize Azure Search? What are the pro's and con's to each technique?&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-02-14T18:04:57.720" Title="What are the available methods for local development when using Azure Search in a PAAS setup?" Tags="|best-practices|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10162" PostTypeId="2" ParentId="10161" CreationDate="2018-02-14T14:05:02.717" Score="1" Body="&lt;p&gt;When we started using Azure Search we wanted to develop with the search provider used in production to make sure everything worked the same locally as on production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve this we've set up a Dev Resource Group containing the Search Service. The entire team shares the set of indexes available there. We did consider adding developer specific pre- or suffixes to the indexes to really have those separated per developer. However up until now we didn't spend any time on that and the shared indexes do not cause a lot of issues.&lt;/p&gt;&#xA;" OwnerUserId="2420" LastActivityDate="2018-02-14T14:05:02.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10163" PostTypeId="2" ParentId="10161" CreationDate="2018-02-14T15:53:35.517" Score="9" Body="&lt;p&gt;This is a super tough question to answer and could lend itself to a number of viewpoints, making it difficult to choose the &amp;quot;right&amp;quot; answer. That said, I believe that this is an incredibly important question because it sheds light on the fact that &lt;em&gt;local development&lt;/em&gt; becomes not so local in cloud deployments.&lt;/p&gt;&#xA;&lt;p&gt;Additionally, when trying to do local development requiring services from a cloud service, generally latency can cause slowness in development. On the other hand that can also be helpful, because it reminds you to consider latency when doing your development.&lt;/p&gt;&#xA;&lt;h1&gt;Using Azure Search for Development&lt;/h1&gt;&#xA;&lt;h2&gt;Spin up an Azure Search service&lt;/h2&gt;&#xA;&lt;p&gt;Generally speaking, having an instance of Azure Search running in Azure on a Subscription and just using that to connect to on your local environment is the most straightforward method. There are several cons to this, even if the only pro is that you're actually using the service.&lt;/p&gt;&#xA;&lt;h2&gt;Team Considerations&lt;/h2&gt;&#xA;&lt;p&gt;An entire dev team can use the same Azure Search service, but consider having your dev team members change their index names to be specific to their instance. This will prevent issues with item development and database differences if an item exists in an index but not in your database.&lt;/p&gt;&#xA;&lt;h3&gt;Cons&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Costly - Azure Search service is not cheap and will burn through MSDN Dev Dollars fast.&lt;/li&gt;&#xA;&lt;li&gt;Latency - Azure Search across the public internet from a local environment is slow. This might be ok depending on your needs.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;Pros&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Production Like - Identical service to what you could expect in a production state.&lt;/li&gt;&#xA;&lt;li&gt;Always There - because it's a cloud service, it's always on and there. It also offloads the pressure of needing to use local resources for indexing.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;Not Use Azure Search for Development&lt;/h1&gt;&#xA;&lt;h2&gt;Depend on the Abstraction Layer&lt;/h2&gt;&#xA;&lt;p&gt;Sitecore's entire point around Content Search was trying to be agnostic around your index provider. The Content Search abstraction layer should work regardless of whether you're using SOLR, Lucene, or Azure Search. That said, a lot of promises are put onto the abstraction layer that needs to be fully tested before going into production. So if you're not using Azure Search for local development, but intend on using it for production environments, you'll want to make sure that you have some environment up the tree that is testing against Azure Search. Unless of course, you want to test in production.&lt;/p&gt;&#xA;&lt;h3&gt;Cons&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Limitations - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/sitecore_azure_search_overview#_Limitations_of_Azure&quot; rel=&quot;noreferrer&quot;&gt;Azure Search has a number of limitations&lt;/a&gt; that make it hard to have faith in the abstraction layer. This means that even though the Content Search provider allows certain combinations of methods, that doesn't mean it will work on Azure Search in production.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;Pros&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Cheaper/Free - Being able to use SOLR (or dare I even say Lucene) in a development environment is much cheaper (FREE!) than using Azure Search.&lt;/li&gt;&#xA;&lt;li&gt;Off The Grid - Using SOLR locally, or Lucene, allows you to develop off the grid without having to have cloud dependencies.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;As an organization, my team has yet to have a need to have Azure Search in production. Most of our clients have been advanced enough to want a SOLR Cloud implementation for a number of reasons including the cost factor. But I see those days coming to an end as more and more adoption of Azure Search as the pathway to full PaaS deployment is desired. That said, we will probably utilize Azure Search as a development service as described in the first part of this answer, at least until something better comes around.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-02-14T18:04:57.720" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10164" PostTypeId="2" ParentId="4445" CreationDate="2018-02-14T17:04:50.573" Score="0" Body="&lt;p&gt;Since the Sitecore update packages been generated, using Hedgehog &lt;a href=&quot;https://github.com/HedgehogDevelopment/SitecorePackageDeployer/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Package Deployer&lt;/a&gt; is another easy way to deploy Sitecore items and auto-deploy/publish to CM/CD servers, especially if you can't install client service on servers such as Sitecore Ship. The Sitecore update packages are deployed as files to server folder, for example &quot;$(dataFolder)\SitecorePackageDeployer&quot;. The deployer job runs on schedule to pick them up and process all the package one by one automatically. &lt;/p&gt;&#xA;" OwnerUserId="2708" LastActivityDate="2018-02-14T17:04:50.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10165" PostTypeId="1" AcceptedAnswerId="10173" CreationDate="2018-02-14T17:34:02.117" Score="0" ViewCount="739" Body="&lt;p&gt;I'm using Sitecore MVC with Glass Mapper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm creating a component with a link field, I just add &#xA;          &lt;code&gt;@Editable(myLink, x=&amp;gt; x.myLinkField)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After setting the links properly on Experience Editor and publishing, it automatically creates the anchor tag with the specified url, class, etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm wondering where exactly application is creating those attributes and tag. Is this the work of Glass Mapper or any other code? &lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="2727" LastEditDate="2018-02-21T13:37:37.007" LastActivityDate="2018-02-21T13:37:37.007" Title="How is the anchor tag created when editing link with Glass Mapper?" Tags="|glass-mapper|links|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10166" PostTypeId="1" CreationDate="2018-02-14T17:58:05.247" Score="1" ViewCount="156" Body="&lt;p&gt;Currently the definition of Experience Analytics is having to do with the user only visiting once to a page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client wants to extend this to include time and perhaps more other criteria.  I know I can create a new report item but can we also customize/extend the Sitecore bounce rate or any other default Sitecore Experience analytics glossary item from the link below report in place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/analyzing_and_reporting/analytics/about/experience_analytics_glossary&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/analyzing_and_reporting/analytics/about/experience_analytics_glossary&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3268" LastEditorUserId="73" LastEditDate="2018-02-21T15:30:48.330" LastActivityDate="2018-02-21T15:30:48.330" Title="Can you customize the definition of Bounce rate?" Tags="|experience-analytics|" AnswerCount="0" CommentCount="3" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10169" PostTypeId="2" ParentId="9919" CreationDate="2018-02-15T01:22:22.230" Score="3" Body="&lt;p&gt;Here the answer from Sitecore support, hope this helps someone: We have found the way how to create Solr cores automatically by SIF using Solr HTTP API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to perform this, you should delete all children of the Tasks node of the &quot;xconnect-solr.json&quot; file and create tasks for creating Solr cores which should look in the following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;CreateXDBSolrCore&quot;:{&#xA;        &quot;Type&quot;: &quot;ManageSolrCore&quot;,&#xA;        &quot;Params&quot;: {&#xA;            &quot;Action&quot;: &quot;Create&quot;,&#xA;            &quot;Address&quot;: &quot;[parameter('SolrUrl')]&quot;,&#xA;            &quot;Arguments&quot;: {&#xA;                &quot;name&quot; : &quot;[variable('Xdb.Name')]&quot;,&#xA;                &quot;instanceDir&quot;: &quot;[variable('Xdb.Name')]&quot;,&#xA;                &quot;configSet&quot;: &quot;basic_configs&quot;&#xA;            }&#xA;        }&#xA;    },&#xA;&quot;CreateXDBRebuildSolrCore&quot;:{&#xA;        &quot;Type&quot;: &quot;ManageSolrCore&quot;,&#xA;        &quot;Params&quot;: {&#xA;            &quot;Action&quot;: &quot;Create&quot;,&#xA;            &quot;Address&quot;: &quot;[parameter('SolrUrl')]&quot;,&#xA;            &quot;Arguments&quot;: {&#xA;                &quot;name&quot; : &quot;[variable('Xdb.Rebuild.Name')]&quot;,&#xA;                &quot;instanceDir&quot;: &quot;[variable('Xdb.Rebuild.Name')]&quot;,&#xA;                &quot;configSet&quot;: &quot;basic_configs&quot;&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The similar operation should be performed for the &quot;sitecore-solr.json&quot; file, but you should create the different set of cores. You can get all needed Solr core names from the &quot;sitecore-solr.json &quot; file.&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-02-15T01:22:22.230" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10170" PostTypeId="2" ParentId="8839" CreationDate="2018-02-15T04:31:22.163" Score="0" Body="&lt;p&gt;I hope you have Windows 10 Installed in your machine and IIS is enabled:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install Java Runtime environment 8.0 or above&lt;/li&gt;&#xA;&lt;li&gt;Install SOLR (6.6.1 for Sitecore 9.0 and 6.6.2 for Sitecore 9.0 - Update 1)&lt;/li&gt;&#xA;&lt;li&gt;Host SOLR on https (you may use NSSM for hosting SOLR as a windows service)&lt;/li&gt;&#xA;&lt;li&gt;Install SQL Server 2017&lt;/li&gt;&#xA;&lt;li&gt;Install SQL Server Management Studio&lt;/li&gt;&#xA;&lt;li&gt;Enable contained Database Authentication&lt;/li&gt;&#xA;&lt;li&gt;Install Sitecore 9.x by executing powershett script.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please check the below blog for more details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jitendrasitecore.wordpress.com/2018/02/14/installing-sitecore-9-0-update-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jitendrasitecore.wordpress.com/2018/02/14/installing-sitecore-9-0-update-1/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="3209" LastEditDate="2018-02-15T07:21:40.017" LastActivityDate="2018-02-15T07:21:40.017" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10171" PostTypeId="2" ParentId="7056" CreationDate="2018-02-15T04:31:52.217" Score="2" Body="&lt;p&gt;No, it really isn't possible. That &quot;tristate&quot; doesn't even remotely resemble a content editor field. The logic for the security editor is in the &lt;code&gt;Sitecore.Shell.Applications.Security.ItemSecurityEditor.ItemSecurityEditorPage&lt;/code&gt; in the &lt;code&gt;Sitecore.Client&lt;/code&gt; assembly. Various methods in that class build the HTML that is output to the page after you add a user or role to the list that you want to assign security to. An individual selector is rendered by the &lt;code&gt;RenderSelector&lt;/code&gt; method. Unfortunately it is writing HTML directly to  an &lt;code&gt;HtmlTextWriter&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could build a custom field that mimics this selector and uses the same images and styling, but you would need to essentially build it from scratch.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2018-02-15T04:31:52.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10172" PostTypeId="2" ParentId="8590" CreationDate="2018-02-15T04:48:43.050" Score="0" Body="&lt;p&gt;Its always better... whatever you are giving the value, please use the same in SQL Server Management Studio.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are able to connect using SQL Server Management Studio, use the same details in your powershell script file while installing Sitecore 9.0 or Sitecore 9.0 Update -1.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2018-02-15T04:48:43.050" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10173" PostTypeId="2" ParentId="10165" CreationDate="2018-02-15T05:22:38.783" Score="0" Body="&lt;p&gt;Internally glass is using sitecore APIs only. If you want to have a look at the exact code then check the &lt;strong&gt;GlassView&lt;/strong&gt; class under &lt;strong&gt;Glass.Mapper.Sc.Web.Mvc&lt;/strong&gt; namespace,using any decompiler, in that you will find all the editable methods which internally make a call to Editable method of &lt;strong&gt;GlassHtml&lt;/strong&gt; class under &lt;strong&gt;Glass.Mapper.Sc&lt;/strong&gt; namespace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find the final code in &lt;strong&gt;BeginRenderLink&lt;/strong&gt; method of &lt;strong&gt;GlassHtml&lt;/strong&gt; class only. The &lt;strong&gt;BeginRenderLink&lt;/strong&gt; is creating anchor tag for you when you use the Editable method for link field.&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-15T05:22:38.783" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10174" PostTypeId="2" ParentId="10156" CreationDate="2018-02-15T06:02:20.220" Score="1" Body="&lt;p&gt;Basically, the Standard Values are default values for your template fields. There is only one way relation between Item created from Template and Templates's Standard Value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will be able to see the &lt;strong&gt;Standard Value&lt;/strong&gt; text next to the Item field, which indicates that the specific field is linked with Template's Standard Value. If you edit the field value on item itself then the Standard Values text next to that specific field will disappear, which means, the relation for that specific field has been broken with Template's Standard Values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mTFKG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mTFKG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-15T06:02:20.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10175" PostTypeId="2" ParentId="7184" CreationDate="2018-02-15T06:33:15.670" Score="0" Body="&lt;p&gt;When you create any new profile, it will have default workflow assigned to it. You can enable the Gutter to check whether item is under workflow or not. If it is under workflow then it will show you small icon as shown in below screen. Now, you need clear the stages of workflow till final stage and then only you will be able to publish it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Y5wOr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y5wOr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-15T06:33:15.670" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10176" PostTypeId="1" CreationDate="2018-02-15T07:57:36.013" Score="4" ViewCount="3043" Body="&lt;p&gt;I have hundreds of thousands items in Sitecore, sometimes it needs to publish all of them and as the result CPU and memory are overloaded. The reason of the perfomance issue is a huge amount of items in EventQueue table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know there is configurable agent in Sitecore responsible for cleaning EventQueue table in database. There are also some SQL scripts to clean out the table manually. But I'm trying to find out more handy solution as it's not convenient on the production environment to run custom script or wait till the agent to do the job.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solutions I can think of are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Implementing a custom handler on publish:end event&lt;/li&gt;&#xA;&lt;li&gt;Creating a scheduled SQL job to run the clean up script&lt;/li&gt;&#xA;&lt;li&gt;Limiting the size of the EventQueue table in SQL Server &lt;/li&gt;&#xA;&lt;li&gt;Runing cleanup agent more often (e.g. per 1/2 hour)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;:&#xA;As I've found that Sitecore introduced &lt;code&gt;&amp;lt;IntervalToKeep&amp;gt;hh:mm:ss&amp;lt;/IntervalToKeep&amp;gt;&lt;/code&gt; setting in Sitecore, so the best solution that I see is to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set &lt;code&gt;&amp;lt;IntervalToKeep&amp;gt;01:00:00&amp;lt;/IntervalToKeep&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Creating a scheduled SQL job to run the clean up script (&lt;a href=&quot;http://sdn.sitecore.net/upload/sitecore7/70/cms_tuning_guide_sc70-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sdn.sitecore.net/upload/sitecore7/70/cms_tuning_guide_sc70-usletter.pdf&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3262" LastEditorUserId="3262" LastEditDate="2018-02-15T08:27:53.400" LastActivityDate="2018-02-15T12:58:56.600" Title="Effective way to resolve the EventQueue, CPU and memory load related issue" Tags="|publishing|performance|event-queue|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10177" PostTypeId="1" CreationDate="2018-02-15T08:03:46.783" Score="0" ViewCount="502" Body="&lt;p&gt;I want to make the item B (destination) identical to item A (source), without changing the ID of B.&#xA;I tried with the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var sourceXmlString = source.GetOuterXml(false);&#xA;var sourceXml = XElement.Parse(sourceXmlString);&#xA;sourceXml.SetAttributeValue(XName.Get(&quot;id&quot;), destination.ID.ToString());&#xA;sourceXml.SetAttributeValue(XName.Get(&quot;parentid&quot;), destination.Parent.ID.ToString());&#xA;&#xA;// Paste the final xml to update the existing item&#xA;destination.Parent.Paste(sourceXmlString, false, PasteMode.Merge);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but this strategy does not seem to work for Checkbox fields: the source item has an unchecked checkbox field (the standard value of that checkbox filed is checked) but after running the code the destination item shows the checkbox checked.&lt;/p&gt;&#xA;" OwnerUserId="2770" LastEditorUserId="2056" LastEditDate="2019-02-12T13:22:56.013" LastActivityDate="2019-03-14T14:03:10.670" Title="How to copy item A to item B without loosing the ID of B?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10178" PostTypeId="1" AcceptedAnswerId="10183" CreationDate="2018-02-15T08:07:38.873" Score="0" ViewCount="2957" Body="&lt;p&gt;Trying to configure Solr 7.2.1 with Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But after generating &lt;code&gt;schema.xml&lt;/code&gt; with Sitecore when i am trying to add core from Solr Admin Page, i am getting below error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look at attached screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0ZLQn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0ZLQn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any expert advice?&lt;/p&gt;&#xA;" OwnerUserId="1307" LastEditorUserId="2727" LastEditDate="2018-02-21T13:37:44.223" LastActivityDate="2018-02-21T13:37:44.223" Title="Solr Core Initialization Failures" Tags="|solr|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10179" PostTypeId="2" ParentId="10176" CreationDate="2018-02-15T09:14:35.403" Score="6" Body="&lt;p&gt;You can usually improve this by tuning the settings for our queues.&#xA;A good post in this can be found here: &lt;a href=&quot;https://briancaos.wordpress.com/2016/08/12/sitecore-event-queue-how-to-clean-it-and-why/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2016/08/12/sitecore-event-queue-how-to-clean-it-and-why/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I normally do:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;On the CM: clean the eventqueue very aggressively&lt;/li&gt;&#xA;&lt;li&gt;On the CD: &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;poll the eventqueue less aggressively &lt;/li&gt;&#xA;&lt;li&gt;disable the eventqueue cleaning&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On CM: change &lt;code&gt;&amp;lt;DaysToKeep&amp;gt;1&amp;lt;/DaysToKeep&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;IntervalToKeep&amp;gt;01:00:00&amp;lt;/IntervalToKeep&amp;gt;&lt;/code&gt; for the &lt;code&gt;CleanupEventQueue&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On CD: set the &lt;code&gt;&amp;lt;processingInterval&amp;gt;00:00:02&amp;lt;/processingInterval&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;processingInterval&amp;gt;00:02:00&amp;lt;/processingInterval&amp;gt;&lt;/code&gt; for the &lt;code&gt;&amp;lt;eventQueue&amp;gt;&lt;/code&gt;&#xA;and disable the &lt;code&gt;CleanupEventQueue&lt;/code&gt; by setting its interval to &lt;code&gt;00:00:00&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By tuning these parameters we were able to get a site with millions of items published. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, publishing all of your items regularly is never a good idea. There are always items/trees that don't need publishing. Your ultimate solution is to think about that and come up with a way to avoid the full publish.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Edit&lt;/em&gt;: (based on comment)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CleanupEventQueue is disabled on the CD because the CM does the job. No need for several instances to start this job. We did see better performance and smaller queues with these settings. Of course, you can tune them as it fits best in your solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The larger processing interval does indeed mean that CD's might/will detect content changes later. And yes, the bigger this interval, the bigger the risk of inconsistancy. So this is surely something to consider and see what is possible.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-02-15T12:15:41.847" LastActivityDate="2018-02-15T12:15:41.847" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10180" PostTypeId="2" ParentId="10176" CreationDate="2018-02-15T09:14:40.417" Score="1" Body="&lt;p&gt;That's true. you can use this  option to clean event queue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are facing CPU or memory load issue or may be performance issue so its better to clean few more table as well apart from EventQueue:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;History table using  option&lt;/li&gt;&#xA;&lt;li&gt;Publishing queue using  option&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For more details see this blog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2016/08/12/sitecore-event-queue-how-to-clean-it-and-why/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2016/08/12/sitecore-event-queue-how-to-clean-it-and-why/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2018-02-15T09:14:40.417" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10181" PostTypeId="2" ParentId="9985" CreationDate="2018-02-15T09:16:08.423" Score="1" Body="&lt;p&gt;The &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/installation_guide_sc70-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;official documentation&lt;/a&gt; states:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some antivirus software can have a detrimental effect on the performance of ASP.NET applications including Sitecore. We therefore recommend that you use only antivirus scanners that are certified for the operating system that you use. For more information about the certified products, see the Windows Server Catalog website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To ensure optimal performance, exclude the following folders from scanning by your antivirus software:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The site root folder.&lt;/li&gt;&#xA;&lt;li&gt;The data folder that is defined in the &#xA;setting in the web.config file.&lt;/li&gt;&#xA;&lt;li&gt;The folder that contains the actual Sitecore database files.&lt;/li&gt;&#xA;&lt;li&gt;The C:\Windows\Temp or {app_pool user profile}\Temp folder&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;DO NOT exclude at least, any folder of the website where the Application pool has write access, and I think it's worth any minor performance degradation and DO NOT exclude the website root and run some performance test before and after to be sure it won't kill your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In terms of dlls and config files, it's known that some antivirus touches these files during their scans, forcing an application pool restart, which could lead to a lot of problems. After installing your antivirus, and running a full cycle (real-time scans and any scheduled scan) check if the application pool is restarted with entries in Sitecore's logs about modified files. If you find this problem, exclude those extensions too.&lt;/p&gt;&#xA;" OwnerUserId="151" LastActivityDate="2018-02-15T09:16:08.423" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10182" PostTypeId="2" ParentId="10178" CreationDate="2018-02-15T11:48:29.370" Score="2" Body="&lt;p&gt;Unsupported Solr version. Please see the compatibility table &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;. Sitecore relies on Solr definition field &lt;em&gt;version&lt;/em&gt;, which is not present at your new generated schema.xml, therefore you are getting this Solr error, you can try adding this field into the schema and try again, or downgrade the Solr to the compatible listed version in the link I've provided.&lt;/p&gt;&#xA;" OwnerUserId="725" LastActivityDate="2018-02-15T11:48:29.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10183" PostTypeId="2" ParentId="10178" CreationDate="2018-02-15T12:02:31.310" Score="5" Body="&lt;p&gt;It is always advisable to follow the compatibility table but if you still wants to use the installed version then please check below line is exist in your schema.xml or not?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;field name=&quot;_version_&quot; type=&quot;long&quot; indexed=&quot;true&quot; stored=&quot;true&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-15T12:02:31.310" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10184" PostTypeId="2" ParentId="10176" CreationDate="2018-02-15T12:58:56.600" Score="2" Body="&lt;p&gt;You can optimize memory usage by enabling &lt;strong&gt;Sitecore Interning&lt;/strong&gt;. To do this enable this two settings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Interning.Enabled&quot; value=&quot;false&quot;/&amp;gt;&#xA;&amp;lt;setting name=&quot;Interning.InternKnownFieldValues&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and add your custom fields, that you know can have a lot of duplicated values, to this list:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldIdsToIntern /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another thing you can do to optimize memory usage is to configure &lt;code&gt;MemoryMonitorHook&lt;/code&gt; to clear sitecore cache when it exceeds defined threashold:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;hook type=&quot;Sitecore.Diagnostics.MemoryMonitorHook, Sitecore.Kernel&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;Threshold&quot;&amp;gt;10GB&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;Check interval&quot;&amp;gt;00:01:00&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;Minimum time between log entries&quot;&amp;gt;00:00:20&amp;lt;/param&amp;gt;&#xA;    &amp;lt;ClearCaches&amp;gt;true&amp;lt;/ClearCaches&amp;gt;&#xA;    &amp;lt;GarbageCollect&amp;gt;true&amp;lt;/GarbageCollect&amp;gt;&#xA;    &amp;lt;AdjustLoadFactor&amp;gt;false&amp;lt;/AdjustLoadFactor&amp;gt;&#xA;&amp;lt;/hook&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I recently faced similar problem and wrote a blog post about this. You can read it &lt;a href=&quot;http://bartlomiejmucha.com/en/blog/memory-optimisation-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-02-15T12:58:56.600" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10185" PostTypeId="2" ParentId="10177" CreationDate="2018-02-15T13:17:45.943" Score="1" Body="&lt;p&gt;You can use &lt;code&gt;Sitecore.Data.Managers.ItemManager.CreateItem&lt;/code&gt; method. There is overloaded version that takes item id: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static Item CreateItem(string itemName, Item destination, ID templateId, ID newId)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then you can copy each field values.&lt;/p&gt;&#xA;" OwnerUserId="35" LastEditorUserId="35" LastEditDate="2018-02-15T13:31:53.583" LastActivityDate="2018-02-15T13:31:53.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10186" PostTypeId="1" AcceptedAnswerId="10271" CreationDate="2018-02-15T15:22:00.920" Score="4" ViewCount="1455" Body="&lt;p&gt;I have a user coming in from Azure AD (following this example to start: &lt;a href=&quot;http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html&lt;/a&gt;). When I use &lt;code&gt;isPersistentUser&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt;, so the user is stored in User Manager, I don't see the associated roles that I have mapped from Azure to Sitecore, or the correct user profile information (the default one with the wallpaper, etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've stepped through the user record in the external user builder's &lt;code&gt;BuildUser&lt;/code&gt; function (I extended my own to write a &quot;real&quot; username, instead of the hash one in the &lt;code&gt;DefaultExternalUserBuilder&lt;/code&gt; and I see the correct profile ID assigned. But, when I hit the Sitecore desktop, there's no wallpaper, so there does appear to be a disconnect somewhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, when I log in as the user, the correct permissions are being applied based on the roles assigned, so that seems to be working at least. I've tried setting the &lt;code&gt;keepSource&lt;/code&gt; value to both true and false, but I'm not seeing a difference either way. If the roles are functioning correctly, that's good, but of course without them actually assigned to the persistent user, I can't use the access viewer to check their permissions for any problem spots.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2018-02-15T16:46:22.523" LastActivityDate="2018-04-04T03:25:10.830" Title="Azure AD user not showing assigned roles/profile in user manager" Tags="|azure-ad|federated-authentication|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10187" PostTypeId="1" AcceptedAnswerId="10190" CreationDate="2018-02-15T15:32:08.893" Score="3" ViewCount="221" Body="&lt;p&gt;Consider below case for this example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content Tree:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt; &#xA;Home  &#xA;    A1  &#xA;        A1B1  &#xA;            A1B1C1  &#xA;            A1B1C2  &#xA;        A1B2  &#xA;    A2  &#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Roles&lt;/strong&gt;:&lt;br&gt;&#xA;&lt;strong&gt;&lt;em&gt;RoleA1&lt;/em&gt;&lt;/strong&gt; - Having access of item A1 and descendants.&lt;br&gt;&#xA;&lt;strong&gt;&lt;em&gt;RoleA1B1&lt;/em&gt;&lt;/strong&gt; - Having access of item A1B1 and descendants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, when i create a role &lt;strong&gt;&lt;em&gt;RoleA1B1C1&lt;/em&gt;&lt;/strong&gt; having access of item A1B1C1 and descendants, I want to remove access of this item (A1B1C1) from all other roles like RoleA1, RoleA1B1 etc. without modifying/looping those roles. (Reason not touching those role is number of roles can be in hundreds or thousands). &lt;/p&gt;&#xA;" OwnerUserId="848" LastEditorUserId="2890" LastEditDate="2018-02-15T16:04:43.693" LastActivityDate="2018-02-15T16:54:25.837" Title="Is it possible to revoke access of item from all roles at once without looping?" Tags="|sitecore-client|role-management|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10188" PostTypeId="2" ParentId="8590" CreationDate="2018-02-15T15:43:55.280" Score="4" Body="&lt;p&gt;Basically this error comes when xConnect setup script is not able to connect to SQL server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try following solutions :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Please check whether SQL Server credentials contains $ , powershell will ignore characters after $ , remove $ and then try.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) If it still gives error , try looking into this blog by Brandon Bruno.&#xA;&lt;a href=&quot;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2153" LastActivityDate="2018-02-15T15:43:55.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10190" PostTypeId="2" ParentId="10187" CreationDate="2018-02-15T16:25:22.510" Score="6" Body="&lt;p&gt;So you want item A1B1C1 to only be accessible by RoleA1B1C1? First thing would be this, I'm assuming that RoleA1B1C1 is inheriting RoleA1B1, and then RoleA1B1 is inheriting RoleA1. Otherwise, depending on your other security, RoleA1B1C1 might not be able to see the ancestor items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So there's a few assumptions going into this, but if I understand your scenario:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the Security section for the item, add the Everyone role and set the Inheritance settings to Deny on Item/Descendants.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fQtEh.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fQtEh.png&quot; alt=&quot;Break Inheritance on Item for Everyone&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Then add the RoleA1B1C1 role and grant Read to Item/Descendants. Note for a quick example, I'm using the sitecore\Developer role, but use your custom role here.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fSKCV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fSKCV.png&quot; alt=&quot;Grant Read to Specific Role&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This breaks the inheritance chain so that you have to be a member of that one role to access the item, without explicitly locking out the other roles. If you explicitly deny the other roles, anyone in both RoleA1 and RoleA1B1C1, for example, would be denied access to the item. This way, if someone's crossing roles, they'll have access to the appropriate content.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2018-02-15T16:54:25.837" LastActivityDate="2018-02-15T16:54:25.837" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10192" PostTypeId="1" CreationDate="2018-02-15T17:16:06.507" Score="0" ViewCount="1566" Body="&lt;p&gt;I am experiencing strange workings of the dictionary in Sitecore JSS. As mentioned in &lt;a href=&quot;https://jss.sitecore.net/#/sitecore-net-dev?id=for-sitecore-net-developers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/#/sitecore-net-dev?id=for-sitecore-net-developers&lt;/a&gt;, I have created an item of template /sitecore/templates/System/Node under my website and created dictionary entries below and set dictionaryDomain to the id of that item in the app configuration. What I expect to get for the dictionary when I do a call to &lt;a href=&quot;http://jss-sc.sampleadvancedapp/sitecore/api/jss/dictionary/JssAdvancedApp/en?sc_apikey=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jss-sc.sampleadvancedapp/sitecore/api/jss/dictionary/JssAdvancedApp/en?sc_apikey=&lt;/a&gt;{API_KEY} is the items below the configured node. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, what seems to happen is that the keys of the items below the configured node are used to search for entries in the standard dictionary folder of sitecore (/sitecore/system/Dictionary) and if a match is found based on the key, the value of the item in the standard sitecore dictionary is used. If no match is found, then the dictionary entry is returned with the key as it's value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I look into the code of: Sitecore.JavaScriptServices.Globalization.Dictionary. TranslationDictionaryReader, this is expectable because of the lines: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string str1 = item[&quot;Key&quot;];&#xA;string str2 = this.Translate.TextByLanguage(domain.Name,   TranslateOptions.Default, str1, language, str1, (object[]) null);&#xA;keyValuePairSet.Add(new KeyValuePair&amp;lt;string, string&amp;gt;(str1, str2));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this how it is supposed to work? My expectation was that we could create stand-alone dictionaries for the different apps without references to the standard sitecore dictionary.&lt;/p&gt;&#xA;" OwnerUserId="1973" LastActivityDate="2018-02-15T18:19:52.257" Title="Strange working of dictionary in Sitecore JSS" Tags="|jss|dictionary|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10195" PostTypeId="2" ParentId="10192" CreationDate="2018-02-15T18:19:52.257" Score="4" Body="&lt;p&gt;Your expectation is correct :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please verify that your API Key has the &lt;code&gt;Impersonation User&lt;/code&gt; explicitly set? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've updated the docs recently, you might have configured the API key before the update.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;...the Impersonation User will need to access the items under /sitecore/system. By default, the ServiceAPI user doesn't have read access to that content area. To address this, you will have to specify a new account there with appropriate permissions or simply put standard extranet\anonymous in there.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.net/#/setup/sitecore-config?id=step-3-api-key&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/#/setup/sitecore-config?id=step-3-api-key&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this doesn't work, please confirm the name of the context database in Layout Service response (as you may need to publish).&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;...By default the JSS dictionary service will utilize the default dictionary domain of the context database, i.e. /sitecore/system/Dictionary in master or web. You can configure the app's dictionary domain in the App configuration.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-02-15T18:19:52.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10196" PostTypeId="2" ParentId="4445" CreationDate="2018-02-15T18:25:32.000" Score="0" Body="&lt;p&gt;You can achieve this in below simple ways:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install Sitecore Package Deployer from &lt;a href=&quot;https://github.com/HedgehogDevelopment/SitecorePackageDeployer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/HedgehogDevelopment/SitecorePackageDeployer&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Disable the schedule job to deploy the items as mentioned in blog post.&lt;/li&gt;&#xA;&lt;li&gt;Add a step in Teamcity/Octopus or whatever tool you are using for deployment to build and generate update package and copy it to the path you have configured in SitecorePackageDeployer.PackageSource.&lt;/li&gt;&#xA;&lt;li&gt;Add another step to hit the webpage &lt;a href=&quot;http://[serverUrl]/sitecore/admin/StartSitecorePackageDeployer.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://[serverUrl]/sitecore/admin/StartSitecorePackageDeployer.aspx&lt;/a&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And you are good to go.&lt;/p&gt;&#xA;" OwnerUserId="848" LastActivityDate="2018-02-15T18:25:32.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10197" PostTypeId="2" ParentId="10151" CreationDate="2018-02-15T20:22:20.060" Score="6" Body="&lt;p&gt;I recently got the same error and got it fixed by performing the below steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that my license support Sitecore xConnect. Please contact your Sitecore regional officer to ask about if your license is eligible for xConnect. Normally, they would need to regenerate a new one. If this license was used on Sitecore 8, then you need to ask for a new one for Sitecore 9.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure solr is running on https and the solr service is on.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Once the above is confirmed, I deleted everything and started from scratch. Follow the link you posted to know what to remove. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can read my post on &lt;a href=&quot;https://hishaamn.wordpress.com/2018/02/10/sitecore-9-using-installation-framework/&quot; rel=&quot;noreferrer&quot;&gt;how to get Sitecore 9 with xConnect&lt;/a&gt;. This is what I have used to setup the Sitecore instance.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-02-16T07:04:13.077" LastActivityDate="2018-02-16T07:04:13.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10198" PostTypeId="1" AcceptedAnswerId="10199" CreationDate="2018-02-15T21:17:28.940" Score="1" ViewCount="2047" Body="&lt;p&gt;I'm using Glass.Mapper v4.5.0.4 and Sitecore 8.2 (rev. 170407).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm doing an import into Sitecore and am using the &lt;strong&gt;&lt;em&gt;SitecoreService.Save(T target)&lt;/em&gt;&lt;/strong&gt; method for creating and saving items.  I have the SitecoreService in a using statement like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (this.SiteService = new SitecoreService(this.ImportDB))&#xA;{&#xA;    // CRUD operations here...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The items I'm saving are all standard code-generated using TDS Code generation templates with glass attributes on the class and properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The service is working fine for &lt;strong&gt;MOST&lt;/strong&gt; items (as I'm iterating thru them) where I'm able to either create or update the item and then save it back to sitecore.  However, I get this random error at some point during the CRUD operations:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Exception: Glass.Mapper.MapperException&#xA;Message: Service has been disposed, cannot create object&#xA;Source: Glass.Mapper&#xA;    at Glass.Mapper.AbstractService.InstantiateObject(AbstractTypeCreationContext abstractTypeCreationContext)&#xA;    at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.LazyObjectInterceptor.Intercept(IInvocation invocation)&#xA;    at Castle.DynamicProxy.AbstractInvocation.Proceed()&#xA;    at Castle.Proxies._ProviderTermProxy.get_CurrentItem()&#xA;    at lambda_method(Closure , Object )&#xA;    at Glass.Mapper.Sc.Configuration.SitecoreTypeConfiguration.ResolveItem(Object target, Database database)&#xA;    at Glass.Mapper.Sc.DataMappers.SitecoreFieldTypeMapper.SetFieldValue(Object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context)&#xA;    at Glass.Mapper.Sc.DataMappers.SitecoreFieldIEnumerableMapper.SetFieldValue(Object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context)&#xA;    at Glass.Mapper.Sc.DataMappers.AbstractSitecoreFieldMapper.SetField(Field field, Object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context)&#xA;    at Glass.Mapper.Sc.DataMappers.AbstractSitecoreFieldMapper.MapToCms(AbstractDataMappingContext mappingContext)&#xA;    at Glass.Mapper.ExtensionMethods.ForEach[T](IEnumerable1 list, Action1 action)&#xA;    at Glass.Mapper.Pipelines.ObjectSaving.Tasks.StandardSavingTask.Execute(ObjectSavingArgs args)&#xA;    at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.Run(T args)&#xA;    at Glass.Mapper.Sc.SitecoreService.WriteToItem[T](T target, Item item, Boolean updateStatistics, Boolean silent)&#xA;    at Glass.Mapper.Sc.SitecoreService.Save[T](T target, Boolean updateStatistics, Boolean silent)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have no idea why this is happening.  I'm clearly still inside the using statement when this happens so the service has not been disposed of yet.  Here is the kicker:  I can still use the service for subsequent items when i trap the error in a try/catch and just move on.  So it's clearly NOT disposed of yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone run into this and resolved it?  Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1928" LastEditorUserId="70" LastEditDate="2018-02-19T13:36:03.327" LastActivityDate="2018-04-20T17:32:28.173" Title="Getting &quot;Message: Service has been disposed, cannot create object&quot; with Glass.Mapper" Tags="|glass-mapper|sitecore-api|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10199" PostTypeId="2" ParentId="10198" CreationDate="2018-02-15T22:31:01.140" Score="1" Body="&lt;p&gt;You are assigning your SitecoreService instance to a member variable which lives outside the scope of the using statement. Don't do that. Use this instead:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var sitecoreService = new SitecoreService(this.ImportDB))&#xA;{&#xA;    // CRUD operations here...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You actually don't even need the using statement at all. If you look through the &lt;a href=&quot;http://glass.lu/Mapper/Sc/Tutorials&quot; rel=&quot;nofollow noreferrer&quot;&gt;tutorials&lt;/a&gt;, you'll see that they don't have using statements.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2018-02-15T22:31:01.140" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10201" PostTypeId="2" ParentId="6324" CreationDate="2018-02-15T23:03:30.587" Score="1" Body="&lt;p&gt;This is because EXM defaults to the Sitecore MTA if any of the following are true:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The license does not have the &quot;Sitecore.AnyMTA&quot; option.&lt;/li&gt;&#xA;&lt;li&gt;The custom MTA is not configured.&lt;/li&gt;&#xA;&lt;li&gt;EXM cannot connect to the custom MTA.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More details here: &lt;a href=&quot;https://www.techguilds.com/blog/2018/02/the-sitecore-app-center-password-is-not-set&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.techguilds.com/blog/2018/02/the-sitecore-app-center-password-is-not-set&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="268" LastActivityDate="2018-02-15T23:03:30.587" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10202" PostTypeId="2" ParentId="10097" CreationDate="2018-02-16T00:09:23.543" Score="2" Body="&lt;p&gt;The following code worked for me in Sitecore 9 initial release:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void TrackAnonymousUser(string FirstName, string LastName, string Email, string PhoneNumber)&#xA;    {&#xA;        var manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as Sitecore.Analytics.Tracking.ContactManager;&#xA;&#xA;      if (manager != null)&#xA;      {&#xA;        // Save contact to xConnect; at this point, a contact has an anonymous&#xA;        // TRACKER IDENTIFIER, which follows a specific format. Do not use the contactId overload&#xA;        // and make sure you set the ContactSaveMode as demonstrated&#xA;        Sitecore.Analytics.Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;        manager.SaveContactToCollectionDb(Sitecore.Analytics.Tracker.Current.Contact);&#xA;&#xA;&#xA;        // Now that the contact is saved, you can retrieve it using the tracker identifier&#xA;        // NOTE: Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource is marked internal in 9.0 Initial - use &quot;xDB.Tracker&quot;&#xA;        var trackerIdentifier = new IdentifiedContactReference(&quot;xDB.Tracker&quot;, Sitecore.Analytics.Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&#xA;        // Get contact from xConnect, update and save the facet&#xA;        using (XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;          try&#xA;          {&#xA;            var contact = client.Get&amp;lt;Sitecore.XConnect.Contact&amp;gt;(trackerIdentifier, new Sitecore.XConnect.ContactExpandOptions());&#xA;&#xA;            if (contact != null)&#xA;            {&#xA;              if (contact.Personal() != null)&#xA;              {&#xA;                contact.Personal().FirstName = FirstName;&#xA;                contact.Personal().LastName = LastName;&#xA;              }&#xA;              else&#xA;              {&#xA;                client.SetFacet&amp;lt;PersonalInformation&amp;gt;(contact, PersonalInformation.DefaultFacetKey, new PersonalInformation()&#xA;                {&#xA;                  FirstName = FirstName,&#xA;                  LastName = LastName,&#xA;                });&#xA;              }&#xA;              if (contact.PhoneNumbers() != null)&#xA;              {&#xA;                contact.PhoneNumbers().PreferredPhoneNumber = new Sitecore.XConnect.Collection.Model.PhoneNumber(string.Empty, PhoneNumber);&#xA;              }&#xA;              else&#xA;              {&#xA;                client.SetFacet&amp;lt;PhoneNumberList&amp;gt;(contact, PhoneNumberList.DefaultFacetKey, new PhoneNumberList(new PhoneNumber(string.Empty, PhoneNumber), &quot;mobile&quot;));&#xA;              }&#xA;              if (contact.Emails() != null)&#xA;              {&#xA;                contact.Emails().PreferredEmail = new EmailAddress(Email, true);&#xA;              }&#xA;              else&#xA;              {&#xA;                client.SetFacet&amp;lt;EmailAddressList&amp;gt;(contact, EmailAddressList.DefaultFacetKey, new EmailAddressList(new EmailAddress(Email, true), &quot;email&quot;));&#xA;              }&#xA;              client.Submit();&#xA;&#xA;              // Remove contact data from shared session state - contact will be re-loaded&#xA;              // during subsequent request with updated facets&#xA;              //manager.RemoveFromSession(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;            }&#xA;          }&#xA;          catch (Exception ex)&#xA;          {&#xA;            Log.Error(&quot;Error saving data to profile&quot;, ex, this);&#xA;            IdentityUserInSitecoreProfile(FirstName, LastName, Email, PhoneNumber);&#xA;            // Manage conflicts / exceptions&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastActivityDate="2018-02-16T00:09:23.543" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10203" PostTypeId="2" ParentId="10198" CreationDate="2018-02-16T00:48:33.807" Score="0" Body="&lt;p&gt;Okay, after further testing I found my issue and keep in mind this issue only appears to happen on saving an EXISTING Item, not newly created ones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, when I retrieve the Item from Sitecore, I was using another &quot;using&quot; statement to cast the Item to my glass type:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;T myType = default(T);&#xA;using (var siteSvc = new SitecoreService(myItem.Database))&#xA;{&#xA;    myType = siteSvc.CreateType&amp;lt;T&amp;gt;(myItem);&#xA;}&#xA;&#xA;return myType;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then as I'm updating the item I was also using a &quot;using&quot; statement on the save as well (as specified in the original post):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var siteSvc = new SitecoreService(myItem.Database))&#xA;{&#xA;    siteSvc.Save&amp;lt;T&amp;gt;(myItem);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that these are &lt;strong&gt;NOT&lt;/strong&gt; nested &quot;using&quot; statements - they sit in completely separate methods in the class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At this point, I don't know why my original code worked for MOST of the items when saving and only blew up on others.  Obviously, the key take away here is &lt;strong&gt;DO NOT&lt;/strong&gt; use a &quot;using&quot; statement when instantiating a SitecoreService class.  Or, at the very least, be wary of using it.&lt;/p&gt;&#xA;" OwnerUserId="1928" LastEditorUserId="1928" LastEditDate="2018-02-16T12:59:04.027" LastActivityDate="2018-02-16T12:59:04.027" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10204" PostTypeId="2" ParentId="9914" CreationDate="2018-02-16T04:01:08.817" Score="1" Body="&lt;p&gt;Yes, you can create media folder anywhere in content tree and upload media item in that folder. But, it's depends upon your requirement, sitecore by default consider media library as standard location to manipulate media items. You will not get your custom media location if you click on browse option for any image field. It will by default fallback to media library location, if there is no source path define for specific field.&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-16T04:01:08.817" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10205" PostTypeId="2" ParentId="9864" CreationDate="2018-02-16T04:15:52.173" Score="1" Body="&lt;p&gt;If you have followed all steps given in the link then, sitecore stores all security access details to individual item's _security field under standard field. Please check this field values whenever you face the same issue again and if you don't find language read/write access there then there must be something which overwrite you language item, it could be package or could be some mistake in deployment which overwrites your language items.&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-16T04:15:52.173" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10207" PostTypeId="1" AcceptedAnswerId="10435" CreationDate="2018-02-16T05:43:41.840" Score="7" ViewCount="1326" Body="&lt;p&gt;I am trying to update Profile data through C#. But I don't see the values getting updated in the profile of the user, below is my code for updating values. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;if (!Tracker.IsActive || Tracker.Current == null)&#xA;{&#xA;  Tracker.StartTracking();&#xA;}&#xA;&#xA;if (Tracker.Current == null)&#xA;{&#xA;  return;&#xA;}&#xA;var scores = new Dictionary&amp;lt;string, double&amp;gt;();&#xA;var profile = Tracker.Current.Interaction.Profiles[&quot;Persona&quot;];&#xA;scores.Add(&quot;Empowered&quot;, 6);&#xA;scores.Add(&quot;Guidance&quot;, 3);&#xA;profile.Score(scores);&#xA;profile.UpdatePattern();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I am going to the experience profile, I cannot see those values getting reflected:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/XQdH1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XQdH1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The values remains 11 and 9, no matter how many times I run the above code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added the following code to submit the scores to xConnect as below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;private void submitInteraction()&#xA;{&#xA;    var anyIdentifier = Sitecore.Analytics.Tracker.Current.Contact.Identifiers.FirstOrDefault();&#xA;    using (XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;    {&#xA;        var contact = client.Get&amp;lt;Sitecore.XConnect.Contact&amp;gt;(new IdentifiedContactReference(anyIdentifier.Source, anyIdentifier.Identifier), new Sitecore.XConnect.ContactExpandOptions());&#xA;        if (contact != null)&#xA;        {&#xA;            var interaction = new Sitecore.XConnect.Interaction(contact, InteractionInitiator.Brand, Tracker.Current.Interaction.ChannelId, Tracker.Current.Interaction.UserAgent);&#xA;            var profilescore = new ProfileScores();&#xA;            profilescore.Scores.Add(new Guid(&quot;{B5BDEE45-C945-476F-9EE6-3B8A9255C17E}&quot;), new ProfileScore() { MatchedPatternId = new Guid(&quot;{C5EA4A36-B2BF-4505-95EE-4C07CA72EA09}&quot;), ProfileDefinitionId = new Guid(&quot;{B5BDEE45-C945-476F-9EE6-3B8A9255C17E}&quot;), Score = 10, Values = new Dictionary&amp;lt;Guid, double&amp;gt;() { { new Guid(&quot;{D539DA39-C19F-4E0A-B144-1A5DD3364E68}&quot;), 7 }, { new Guid(&quot;{2DEA2E60-8D89-4FB8-BB4C-CAD1369D4BB5}&quot;), 3 } } });&#xA;            client.SetProfileScores(interaction, profilescore);&#xA;            //interaction.ProfileScores().Scores.Add(Guid.NewGuid(), new ProfileScore() { MatchedPatternId = new Guid(&quot;{C5EA4A36-B2BF-4505-95EE-4C07CA72EA09}&quot;), ProfileDefinitionId = new Guid(&quot;{B5BDEE45-C945-476F-9EE6-3B8A9255C17E}&quot;), Score = 10, Values = new Dictionary&amp;lt;Guid, double&amp;gt;() { { new Guid(&quot;{D539DA39-C19F-4E0A-B144-1A5DD3364E68}&quot;), 7 }, { new Guid(&quot;{2DEA2E60-8D89-4FB8-BB4C-CAD1369D4BB5}&quot;), 3 } } });&#xA;            //client.AddInteraction(interaction);&#xA;            client.Submit();&#xA;         }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above code is throwing following exception:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Exception: Sitecore.XConnect.Operations.FacetOperationException&#xA;Message: Operation #0, ReferenceNotFound, Interaction, ProfileScores&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.Foundation.XConnect.Repositories.XConnectRepository.submitInteraction() in C:\projects\BUSSQ\src\foundation\XDB\code\Repositories\XConnectRepository.cs:line 362&#xA;   at Sitecore.Foundation.XConnect.Repositories.XConnectRepository.SetProfileCard(String personas) in C:\projects\BUSSQ\src\foundation\XDB\code\Repositories\XConnectRepository.cs:line 345&#xA;   at BUSSQ.Website.Repositories.SliderComponentRepository.SetProfileCard(String personas) in C:\projects\BUSSQ\src\Project\BUSSQ\code\Repositories\SliderComponentRepository.cs:line 39&#xA;   at BUSSQ.Website.Controllers.SliderController.setProfile(SliderFormat sliderValue) in C:\projects\BUSSQ\src\Project\BUSSQ\code\Controllers\SliderController.cs:line 64&#xA;   at System.Web.Mvc.ActionMethodDispatcher.&amp;lt;&amp;gt;c__DisplayClass1.&amp;lt;WrapVoidAction&amp;gt;b__0(ControllerBase controller, Object[] parameters)&#xA;   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;BeginInvokeSynchronousActionMethod&amp;gt;b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3d()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;&amp;gt;c__DisplayClass2b.&amp;lt;BeginInvokeAction&amp;gt;b__1c()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="153" LastEditDate="2018-02-26T05:59:13.980" LastActivityDate="2018-03-04T23:59:25.923" Title="Profile score data not getting updated Sitecore 9" Tags="|xdb|experience-profile|xconnect|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10208" PostTypeId="1" CreationDate="2018-02-16T07:14:37.840" Score="0" ViewCount="287" Body="&lt;p&gt;I have added SXA (v1.6) OOTB box carousel component and added some slides. After publishing the page, it is adding slide number as query string parameters&quot;/Home?carousel=0&quot; on the browser's URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and the numbers are changing whenever the slide changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please provide me the pointers to resolve this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In previous version of the SXA (1.5 and below), this is not happening.&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="2972" LastEditDate="2018-02-17T01:02:16.707" LastActivityDate="2018-02-17T22:29:17.580" Title="Carousel adding query string parameter for slide as &quot;carousel=0&quot; or &quot;carousel=1&quot;" Tags="|sxa|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10209" PostTypeId="5" CreationDate="2018-02-16T07:32:13.297" Score="0" Body="&lt;p&gt;The Experience Profile consists of a timeline and multiple tabs that display a summary of key experience analytics data for individual contacts. You can view one contact at a time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An information area to the right continually displays a summary of the latest visit information and metrics associated with the contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/using_the_xfile/experience_profile_dashboard&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/using_the_xfile/experience_profile_dashboard&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/3156&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/9/t/3156&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/products/sitecore-experience-platform/customer-intelligence/customer-profiling&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/products/sitecore-experience-platform/customer-intelligence/customer-profiling&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-17T01:01:42.403" LastActivityDate="2018-02-17T01:01:42.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10210" PostTypeId="4" CreationDate="2018-02-16T07:32:13.297" Score="0" Body="The Experience Profile (xProfile) lets you monitor the behavior of contacts that have interacted with your company or with your website. All question related around it, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-16T10:47:52.717" LastActivityDate="2018-02-16T10:47:52.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10212" PostTypeId="1" AcceptedAnswerId="10222" CreationDate="2018-02-16T08:22:04.207" Score="5" ViewCount="2551" Body="&lt;p&gt;I am trying to install Sitecore 9 on my Windows 10 machine. I came across many issues during installation. Finally i stuck at almost last step where installation script tried to start xConnect service asked &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10151/sitecore-9-installation-error-failed-to-start-service-sitecore-xconnect-search&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hishaam Namooya suggested &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10151/sitecore-9-installation-error-failed-to-start-service-sitecore-xconnect-search/10197#10197&quot;&gt;here&lt;/a&gt; to check the license file whether it supports xConnect or not. I raised a new license request at Sitecore Partner Resources Portal as we are Sitecore Partners. I got a new license file and tried again for installation but got same exception again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, i really don't know, whether the new license file supports xConnect or not  and i can use this license for Sitecore 9?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to check this in provided license xml?&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="237" LastEditDate="2018-02-16T08:40:09.603" LastActivityDate="2018-02-16T12:49:07.517" Title="How to check whether my license file supports Sitecore 9 and xConnect" Tags="|xconnect|licensing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10213" PostTypeId="1" CreationDate="2018-02-16T08:45:02.597" Score="0" ViewCount="612" Body="&lt;p&gt;Im having a problem with Glass Mapper, mapping/casting an item to a custom model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Model with the complextype property (snippet):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = Templates.IDString, AutoMap = true)]&#xA;public class EmployeeModel&#xA;{&#xA;    ///other propertes hidden &#xA;&#xA;    [SitecoreChildren(IsLazy = true)]&#xA;    [SitecoreField(FieldId = Templates.Items.Office.Fields.BusinessOfficeString)]&#xA;    public virtual ItemViewModel Office { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The ItemViewModel:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [SitecoreType(AutoMap =true)]&#xA; public class ItemViewModel&#xA; {&#xA;    public virtual ID Id { get; set; }&#xA;&#xA;    public virtual string Template { get; set; }&#xA;&#xA;    public virtual string Name { get; set; }&#xA;&#xA;    public virtual string Url { get; set; }&#xA;&#xA;    public virtual Dictionary&amp;lt;string, IFeatureModel&amp;gt; Features { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To create this EmployeeModel im casting an Sitecore Item to this model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var featureModel = _sitecoreService.Cast&amp;lt;EmployeeModel&amp;gt;(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But this call is throwing an error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The type Foundation.Macaw.Modeling.Models.ViewModels.ItemViewModel&#xA;  does not contain any generic arguments&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I think this is caused by the  &lt;code&gt;[SitecoreChildren(IsLazy = true)]&lt;/code&gt; because when i remove this line it works. However without that line an stackoverflow can be caused since the OfficeModel has a reference to Employee...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When casting directly to an ItemViewModel the same item works like a charm:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var featureModel = _sitecoreService.Cast&amp;lt;EmployeeModel&amp;gt;(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any one knows what could solve my problem?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI: im using Sitecore 9 Update 1 and glassmapper 4.5.04&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tnx!&lt;/p&gt;&#xA;" OwnerUserId="895" LastEditorUserId="2056" LastEditDate="2019-02-12T13:23:23.560" LastActivityDate="2019-02-12T13:23:23.560" Title="Error when casting item to Complextype with Glass" Tags="|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10214" PostTypeId="5" CreationDate="2018-02-16T09:32:18.477" Score="0" Body="&lt;p&gt;An &lt;code&gt;Item&lt;/code&gt; in Sitecore is a piece of content. Commonly this might represent a web page, or it might be a smaller fragment of (potentially) reusable content such as an advert or call-to-action. They are also be used to represent configuration data such as mapping UI components to disk files or code and defining Sitecore's own editorial UI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Items are an instance of a schema defined by a data &lt;code&gt;Template&lt;/code&gt; and they provide values for the fields that describes. Items can have versions representing its state at particular points it time. They can also vary by language, to allow the translation of websites into multiple languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This tag can be used for questions which relate to how solutions make use of Item data.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2018-02-16T10:48:14.663" LastActivityDate="2018-02-16T10:48:14.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10215" PostTypeId="4" CreationDate="2018-02-16T09:32:18.477" Score="0" Body="Questions relating to the details of how Sitecore uses and manages content Items - the individual fragments of content stored in a database." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2018-02-16T10:48:02.200" LastActivityDate="2018-02-16T10:48:02.200" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10216" PostTypeId="1" AcceptedAnswerId="10221" CreationDate="2018-02-16T11:02:31.060" Score="6" ViewCount="4024" Body="&lt;p&gt;I'm trying to install &lt;strong&gt;Sitecore 9 Update 1 XP0 topology&lt;/strong&gt; and everything looks great until the step&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;CreateShardApplicationDatabaseServerLoginSqlCmd&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VvbpO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VvbpO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The server I am running the installation was already used to install XP1 topology, and everything worked just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what might be the issue?&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="2890" LastEditDate="2018-02-16T14:14:18.563" LastActivityDate="2019-07-03T11:50:17.140" Title="'sqlcmd' is not recognized at CreateShardApplicationDatabaseServerLoginSqlCmd step" Tags="|sql-database|installation|sitecore-install-framework|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10217" PostTypeId="5" CreationDate="2018-02-16T11:03:57.580" Score="0" Body="&lt;p&gt;While Sitecore includes some basic image resizing behaviour out of the box, Dianoga improves on this by offering better image compression techniques on top of the default behaviour. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default it supports the three of the most common image formats for Sitecore websites (JPG, PNG and SVG) however it is also extensible so projects with specific needs for image optimisation can add new processors specific to their needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source and documentation are available via &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/Dianoga&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This tag can be applied to questions relating to installing and using this tool.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2018-02-16T12:28:12.953" LastActivityDate="2018-02-16T12:28:12.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10218" PostTypeId="4" CreationDate="2018-02-16T11:03:57.580" Score="0" Body="Questions relating to Dianoga - an image optimisation extension for Sitecore. It is used to reduce the weight of pages served by automatically using appropriate compression on JPG, PNG and SVG images served from Sitecore's media library." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2018-02-16T12:28:09.337" LastActivityDate="2018-02-16T12:28:09.337" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10219" PostTypeId="5" CreationDate="2018-02-16T11:19:59.643" Score="0" Body="&lt;p&gt;Synthesis provides an alternate approach to the problem of mapping Sitecore content items to strongly typed .Net objects. It takes an alternative approach to this problem than those taken by &lt;a href=&quot;http://glass.lu/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Glass&lt;/a&gt; or &lt;a href=&quot;http://fortis.ws/about/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Fortis&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to it's documentation:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Synthesis takes a different approach. Synthesis integrates the code&#xA;  generator with the mapping framework, which allows the model and&#xA;  framework code to be more harmonious. For example, Synthesis objects&#xA;  are always template type safe (you cannot map an item onto the wrong&#xA;  template class), cast compatible (if template B inherits template A,&#xA;  then you can cast any instance of B to an A using C# casting), and&#xA;  represent template inheritance with an interface hierarchy. Synthesis&#xA;  objects may be natively used as Content Search query models (even as&#xA;  interfaces). This integration also makes Synthesis ridiculously fast&#xA;  and reflection-free, because the mappings are all done with&#xA;  pregenerated code. It's also very easy to test code written against&#xA;  Synthesis, because everything is done through interfaces (even item&#xA;  axes and database operations). In most cases, it's not even required&#xA;  to use FakeDb.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Code and documentation are available at: &lt;a href=&quot;https://github.com/blipson89/Synthesis&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/blipson89/Synthesis&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions about the configuration, use or deployment of Synthesis can make use of this tag.&lt;/p&gt;&#xA;" OwnerUserId="233" LastEditorUserId="233" LastEditDate="2018-02-16T12:28:21.953" LastActivityDate="2018-02-16T12:28:21.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10220" PostTypeId="4" CreationDate="2018-02-16T11:19:59.643" Score="0" Body="Use this tag for questions about the Synthesis framework. It is a strongly typed template object generator that’s easily understandable for developers with either a Sitecore or traditional .NET background." OwnerUserId="233" LastEditorUserId="233" LastEditDate="2018-02-16T12:27:59.827" LastActivityDate="2018-02-16T12:27:59.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10221" PostTypeId="2" ParentId="10216" CreationDate="2018-02-16T11:32:28.860" Score="12" Body="&lt;p&gt;Right after post my question, realized that sqlcmd was not installed at the server - which is weird, because XP1 topology didn't require at all!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case, I had to download and install&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=50420&quot; rel=&quot;noreferrer&quot;&gt;Microsoft ODBC Driver 13 for SQL Server&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=52680&quot; rel=&quot;noreferrer&quot;&gt;Microsoft Command Line Utilities 13 for SQL Server&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Once I got both installed, it was just a matter to re-run the XP0.&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2018-02-16T11:32:28.860" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10222" PostTypeId="2" ParentId="10212" CreationDate="2018-02-16T12:49:07.517" Score="5" Body="&lt;p&gt;The license required for using xConnect is called &lt;code&gt;Sitecore.xDB.Base&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have access to a Sitecore instance using that license, open the Launchpad, go to Control Panel and open Installed Licenses. You should see this license in the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or you can just open the license.xml and look for the part that looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Object xmlns=&quot;http://www.w3.org/2000/09/xmldsig#&quot; Id=&quot;Sitecore.xDB.Base&quot;&amp;gt;&#xA;  &amp;lt;module xmlns=&quot;&quot;&amp;gt;&#xA;    &amp;lt;idref&amp;gt;...some id here...&amp;lt;/idref&amp;gt;&#xA;    &amp;lt;name&amp;gt;Sitecore.xDB.Base&amp;lt;/name&amp;gt;&#xA;    &amp;lt;count&amp;gt;1&amp;lt;/count&amp;gt;&#xA;    &amp;lt;expiration&amp;gt;...some date here...&amp;lt;/expiration&amp;gt;&#xA;    &amp;lt;version&amp;gt;8&amp;lt;/version&amp;gt;&#xA;    &amp;lt;comment /&amp;gt;&#xA;    &amp;lt;licenseagreement&amp;gt;?&amp;lt;/licenseagreement&amp;gt;&#xA;  &amp;lt;/module&amp;gt;&#xA;&amp;lt;/Object&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="104" LastActivityDate="2018-02-16T12:49:07.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10224" PostTypeId="1" CreationDate="2018-02-16T15:17:37.133" Score="1" ViewCount="47" Body="&lt;p&gt;While following the setup steps for the Sitecore Rocks folder sync, I do not see the folder I am attempting to sync listed in the Select File dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see in the image below, I am attempting to sync the Scripts folder, but it isn't an option in the Select File dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6CzZG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6CzZG.png&quot; alt=&quot;Trying to sync the Scripts folder&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3278" LastEditorUserId="73" LastEditDate="2018-02-16T15:23:30.540" LastActivityDate="2018-02-16T15:42:30.303" Title="Folder is not listed in the Select File dialog" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10225" PostTypeId="2" ParentId="10224" CreationDate="2018-02-16T15:42:30.303" Score="1" Body="&lt;p&gt;I figured it out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Select File dialog is listing the file/folder structure in the \inetpub\wwwroot\site.name\Website folder.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, when adding a new folder in the project that you want to sync, you need to add a corresponding folder in the \inetpub\wwwroot\site.name\Website folder.&lt;/p&gt;&#xA;" OwnerUserId="3278" LastActivityDate="2018-02-16T15:42:30.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10227" PostTypeId="2" ParentId="6644" CreationDate="2018-02-16T17:31:10.853" Score="8" Body="&lt;p&gt;If you do not want to disable cache size limits (which in our situation can cause memory issues when building large indexes on Azure WebApps), you can use the following Sitecore setting to change the &quot;web[isLanguageFallbackValid]&quot; and &quot;master[isLanguageFallbackValid]&quot; sizes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;settings&amp;gt;&#xA;    &amp;lt;setting name=&quot;Caching.SmallCacheSize&quot; value=&quot;100KB&quot; /&amp;gt;&#xA;  &amp;lt;/settings&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are a few more of these &quot;hidden&quot; Sitecore cache settings and you can find them &lt;a href=&quot;https://webcache.googleusercontent.com/search?q=cache:JtY42LQndC8J:www.newguid.net/sitecore/2014/sitecore-hidden-caching-configuration-settings/%20&amp;amp;cd=2&amp;amp;hl=en&amp;amp;ct=clnk&amp;amp;gl=ca&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; (the original blog unfortunately no longer exists and has spam now, but thanks goes to a certain Robbert Hock for collecting these).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference sake here is the list (updated with newer information from what I could find online and based on a default Sitecore 8.2 installation). Please let me know in the comments if you have any other details on this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.BlobIDCacheSize&quot; value=&quot;5MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of the cache that stores blob IDs. Specify the value in bytes or append the value with KB, MB or GB. The default value is 5MB in Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.DebugEnabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Gets a value indicating whether to output debug information that can help to identify cache issues. The default value is false.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.DefaultItemCacheSize&quot; value=&quot;10MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of the default item cache. Specify the value in bytes or append the value with KB, MB or GB. The default value is 10MB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.DefaultPropertyCacheSize&quot; value=&quot;500KB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of the default property cache. Specify the value in bytes or append the value with KB, MB or GB. The default value is 500KB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.DefaultProxyCacheSize&quot; value=&quot;2.4MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of the default proxy cache. Specify the value in bytes or append the value with KB, MB or GB. The default value is 2.4MB in Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The following settings aren’t referenced anymore in Sitecore 7.2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.DefaultTemplateCacheSize&quot; value=&quot;5MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of the default template cache. Specify the value in bytes or append the value with KB, MB or GB. The default value is 5MB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.HugeCacheSize&quot; value=&quot;100MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of a huge cache. Specify the value in bytes or append the value with KB, MB or GB. The default value is 100MB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.LargeCacheSize&quot; value=&quot;10MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of a large cache. Specify the value in bytes or append the value with KB, MB or GB. The default value is 10MB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.MediumCacheSize&quot; value=&quot;1MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of a medium cache. Specify the value in bytes or append the value with KB, MB or GB. The default value is 1MB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.TinyCacheSize&quot; value=&quot;10KB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of a tiny cache. Specify the value in bytes or append the value with KB, MB or GB. The default value is 10KB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.VirtualUserStateIDCacheSize&quot; value=&quot;1MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Determines the size of the virtual user state ID cache. Specify the value in bytes or append the value with KB, MB or GB. The default value is 1MB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The following settings aren’t referenced anymore after Sitecore 5.1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.Priority&quot; value=&quot;CachePriority.Normal&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Gets the default cache priority. The default value is CachePriority.Normal. Other values can be: Lowest, Low, Below normal, Normal, Above normal, High, Highest &amp;amp; Never remove&lt;/p&gt;&#xA;" OwnerUserId="845" LastEditorUserId="845" LastEditDate="2018-02-16T18:04:40.180" LastActivityDate="2018-02-16T18:04:40.180" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10228" PostTypeId="2" ParentId="10213" CreationDate="2018-02-16T17:34:32.810" Score="2" Body="&lt;p&gt;When you use &lt;code&gt;[SitecoreChildren]&lt;/code&gt; Glass expects the property to be an &lt;code&gt;IEnumerable&amp;lt;T&amp;gt;&lt;/code&gt; or &lt;code&gt;IList&amp;lt;T&amp;gt;&lt;/code&gt;. You also should not use two different Glass attributes on the same property. You can map a property from a field or from child items, but not both.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: I just added this other &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10229/what-are-the-options-for-glass-mapper-model-attributes/10230#10230&quot;&gt;question and answer&lt;/a&gt; that shows the different attributes and their uses, which may be helpful for you.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2018-02-16T19:39:14.530" LastActivityDate="2018-02-16T19:39:14.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10229" PostTypeId="1" AcceptedAnswerId="10230" CreationDate="2018-02-16T19:37:19.763" Score="14" ViewCount="5187" Body="&lt;p&gt;I have looked through the documentation and tutorials on the &lt;a href=&quot;http://glass.lu/Mapper/Sc&quot; rel=&quot;noreferrer&quot;&gt;Glass Mapper site&lt;/a&gt;, but I can't find a list of the different attributes that are available and what they do.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2018-02-16T19:45:20.050" Title="What are the options for Glass Mapper model attributes?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10230" PostTypeId="2" ParentId="10229" CreationDate="2018-02-16T19:37:19.763" Score="15" Body="&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreChildrenAttribute&lt;/code&gt; - Maps children of the current item. Expects an &lt;code&gt;IEnumerable&amp;lt;T&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreFieldAttribute&lt;/code&gt; - Maps from a field on the current item&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreFieldFieldValueAttribute&lt;/code&gt; - Used to populate default values of a field's field&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreIdAttribute&lt;/code&gt; - Maps the Sitecore item ID. Expects the property to be a &lt;code&gt;Sitecore.Data.ID&lt;/code&gt; or &lt;code&gt;Guid&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreIgnoreAttribute&lt;/code&gt; - Ignores the property and doesn't map anything.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreInfoAttribute&lt;/code&gt; -  Maps from various item properies according to the provided &lt;code&gt;SitecoreInfoType&lt;/code&gt; parameter which can have the following values:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;ContentPath&lt;/code&gt; - The item's content path. The property type must be &lt;code&gt;System.String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;DisplayName&lt;/code&gt; - The item's display name. The property type must be &lt;code&gt;System.String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;FullPath&lt;/code&gt; - The item's full path. The property type must be &lt;code&gt;System.String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Key&lt;/code&gt; - The item's key. The property type must be &lt;code&gt;System.String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ItemUri&lt;/code&gt; - The item's ItemUri . The property type must be &lt;code&gt;Sitecore.Data.ItemUri&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;MediaUrl&lt;/code&gt; - The item's media URL. The property type must be &lt;code&gt;System.String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Path&lt;/code&gt; - The item's path. The property type must be &lt;code&gt;System.String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;TemplateId&lt;/code&gt; - The item's template Id. The property type must be &lt;code&gt;System.Guid&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;TemplateName&lt;/code&gt; - The item's template name. The property type must be &lt;code&gt;System.String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Url&lt;/code&gt; - The item's URL. The property type must be &lt;code&gt;System.String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Version&lt;/code&gt; - The item's version. The property type must be &lt;code&gt;System.Int32&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Name&lt;/code&gt; - The item's Name. The property type must be &lt;code&gt;System.String&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Language&lt;/code&gt; - The items language. The property type must be &lt;code&gt;Sitecore.Globalization.Language&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;BaseTemplateIds&lt;/code&gt; - Gets the Base Template IDs - does not return the template is. The property type must be &lt;code&gt;IEnumerable&amp;lt;Guid&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreItemAttribute&lt;/code&gt; - Maps the context item&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreLinkedAttribute&lt;/code&gt; - Maps references using the &lt;code&gt;LinkDatabase&lt;/code&gt;. Expects an &lt;code&gt;IEnumerable&amp;lt;T&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreNodeAttribute&lt;/code&gt; - Maps the item specified by the provided Id or Path parameter&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreParentAttribute&lt;/code&gt; - Maps the parent of the current item&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreQueryAttribute&lt;/code&gt; - Maps the results of a Sitecore Query. Expects an &lt;code&gt;IEnumerable&amp;lt;T&amp;gt;&lt;/code&gt;. See the &lt;a href=&quot;http://glass.lu/Mapper/Sc/Tutorials/Tutorial7&quot; rel=&quot;noreferrer&quot;&gt;official tutorial&lt;/a&gt; for details.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SitecoreSelfAttribute&lt;/code&gt; - Maps the current model item. Typically used to map a template section to a different model for easier reuse.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Most of this info was found by reading the &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/tree/master/Source&quot; rel=&quot;noreferrer&quot;&gt;source code and comments on Github&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2018-02-16T19:45:20.050" LastActivityDate="2018-02-16T19:45:20.050" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10231" PostTypeId="1" CreationDate="2018-02-16T19:57:39.293" Score="1" ViewCount="220" Body="&lt;p&gt;We are working on to upgrade/migrate a application from 7.2 to 8.2 version using express migration tool 2.0. Database is in SQL Server 2012. While migrating, app data folder to the tune of 3 GB is created in destination website folder. Does this correct or we need to rerun the tool. Also can we delete this APPDATA folder while taking this to Final production deployment. Without APPDATA folder the total size of website folder is 700 MB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions...&lt;/p&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="2890" LastEditDate="2018-02-16T20:00:52.867" LastActivityDate="2018-02-19T08:24:46.717" Title="Appdata folder while Upgrade Sitecore using Express Migration tool from 7.2 to 8.2" Tags="|upgrade|express-migration-tool|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10232" PostTypeId="1" AcceptedAnswerId="10233" CreationDate="2018-02-16T20:26:58.327" Score="10" ViewCount="2213" Body="&lt;p&gt;We would like to exclude items from being indexed. Ideally, we want this control to be within Sitecore so that as new pages get created, content authors can determine whether to index them as they desire.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-07-23T12:45:26.033" Title="How do you programmatically exclude an item from being indexed?" Tags="|indexing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10233" PostTypeId="2" ParentId="10232" CreationDate="2018-02-16T20:26:58.327" Score="16" Body="&lt;p&gt;There are a few steps required to make this configurable in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Create a Checkbox Field&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Add a checkbox field, likely to your page item template. This field could be added to a base template shared by all &quot;Page&quot; items (or whatever the type of item it is you wish to exclude from indexing).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;In this walkthrough, we're assuming the field is called &lt;code&gt;Exclude from Index&lt;/code&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Create a Custom Crawler&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Next, create a custom crawler that inherits &lt;code&gt;Sitecore.ContentSearch.SitecoreItemCrawler&lt;/code&gt; and override the following methods:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomItemCrawler : SitecoreItemCrawler&#xA;{&#xA;    protected override bool IsExcludedFromIndex(SitecoreIndexableItem indexable, bool checkLocation = false)&#xA;    {&#xA;        var isExcluded = base.IsExcludedFromIndex(indexable, checkLocation);&#xA;&#xA;        if (isExcluded)&#xA;            return true;&#xA;&#xA;        Item obj = indexable;&#xA;&#xA;        return obj[&quot;Exclude From Index&quot;] == &quot;1&quot;; // feel free to use an ID here&#xA;    }&#xA;&#xA;    protected override bool IndexUpdateNeedDelete(SitecoreIndexableItem indexable)&#xA;    {&#xA;        var needDelete = base.IndexUpdateNeedDelete(indexable);&#xA;        if (needDelete)&#xA;        {&#xA;            return true;&#xA;        }&#xA;&#xA;        Item item = indexable;&#xA;&#xA;        return item[&quot;Exclude From Index&quot;] == &quot;1&quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Note&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;IndexUpdateNeedDelete&lt;/code&gt; method is necessary so that existing items can be physically removed. Without it, existing items are only removed when a full rebuild of the index in question is executed.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Patch in Custom Crawler&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration&amp;gt;&#xA;        &amp;lt;indexes&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_master_index&quot;&amp;gt;&#xA;            &amp;lt;locations&amp;gt;&#xA;              &amp;lt;crawler&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;MyProject.CustomItemCrawler, MyProject&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;            &amp;lt;locations&amp;gt;&#xA;              &amp;lt;crawler&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;MyProject.CustomItemCrawler, MyProject&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the index &lt;code&gt;id&lt;/code&gt;. Update to include all indexes that require this functionality.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-07-23T12:45:26.033" LastActivityDate="2018-07-23T12:45:26.033" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10234" PostTypeId="2" ParentId="8925" CreationDate="2018-02-16T22:12:58.600" Score="3" Body="&lt;p&gt;Sounds very odd, if you were using Solr Cloud then might have been Zookeeper was down when SOLR started up.&#xA;Or you might have missed out creating the SOLR aliases. &#xA;Don't see a mention of SolrCloud or Zookeeper though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other than checking collections and configs match up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To see what is going on, install Fiddler, change your sitecore app pool to run as your Windows user (processes running under same user go through Fiddler by default), change the solr connection string to localhost.:8983 (extra dot makes it go through fiddler proxy)&#xA;Restart sitecore, see what requests are being attempted to Solr and what response is returned. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully that helps. &lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2018-02-16T22:12:58.600" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10235" PostTypeId="2" ParentId="3862" CreationDate="2018-02-16T22:40:08.640" Score="3" Body="&lt;p&gt;It used to not support basic authentication,&#xA;There was a patch from sitecore to add support, but the github repository is now unpublished. (can request via portal) &#xA;Here is a reference to the old patch&#xA;&lt;a href=&quot;https://github.com/ivansharamok/Sitecore.Support.449298/blob/master/README.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/ivansharamok/Sitecore.Support.449298/blob/master/README.md&lt;/a&gt;&#xA;&quot;Use patch 438539 that implements basic authentication using SolrNet HttpWebRequestFactory.&#xA;If one requires Kerberos authenticaiton, consider implementing your own HttpWebRequestFactory that would work over Kerberos protocol.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some more recent posts on the topic. &#xA;&lt;a href=&quot;http://santoshpoojari.blogspot.co.uk/2017/03/solr-basic-authentication-secure.html?m=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://santoshpoojari.blogspot.co.uk/2017/03/solr-basic-authentication-secure.html?m=1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See release notes 8.2 update 6&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update6/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update6/Release%20Notes&lt;/a&gt;&#xA;Resolved issues &#xA;&quot;​​​Solr Basic Authentication does not work.&quot; 141324&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9 default is for Solr to run over HTTPS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would also recommend not making Solr publicly accessible/locked down to only be accessible from sitecore servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the apache securing Solr guide&#xA;&lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/securing-solr.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/securing-solr.html&lt;/a&gt;&#xA;&quot;No Solr API, including the Admin UI, is designed to be exposed to non-trusted parties. Tune your firewall so that only trusted computers and people are allowed access. Because of this, the project will not regard e.g., Admin UI XSS issues as security vulnerabilities. However, we still ask you to report such issues in JIRA.&quot;&lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2018-02-16T22:40:08.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10236" PostTypeId="1" CreationDate="2018-02-17T07:23:58.587" Score="2" ViewCount="526" Body="&lt;p&gt;Using the List Manager on Import contact wizard on &lt;code&gt;Sitecore 9.0 Update 1&lt;/code&gt;, I have uploaded my CSV files. In the summary tab I can see that &quot;Contact expected to be imported&quot; count is perfectly fine.  After clicking on finish button. I am seeing a warning message saying &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Please note that contacts in the list are currently being indexed, so&#xA;  not all contacts are available to view at this time.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I waited for long even a day as well, but I am not able to see my contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please can somebody point out the root cause of this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DmFSc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DmFSc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fhkl4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fhkl4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="1671" LastEditDate="2018-06-29T13:34:31.320" LastActivityDate="2018-06-29T13:34:31.320" Title="Issue while importing CSV file from List Manager - Import Contact Wizard" Tags="|list-manager|" AnswerCount="0" CommentCount="15" ContentLicense="CC BY-SA 4.0" />
  <row Id="10237" PostTypeId="1" AcceptedAnswerId="10248" CreationDate="2018-02-17T18:30:15.823" Score="3" ViewCount="290" Body="&lt;p&gt;I have a multilingual site with single node approach. Requirement is simple, need to create a task to fetch all items and generate a XML file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a Sitecore scheduled job and command and implemented the logic for generating XML in C#. It is generating the XML file as expected. But the only issue is it is not generating for different languages in the site,  rather than its generating only for single language and that's English.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example I have a node with two languages English and French. I created a scheduled job and written a logic to fetch all item names in the node and generates an XML file. But I need two separate XML file. One must holds the information in English version and another must be in French version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Things I have tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Created same task in both English and French version and tried setting it in different interval time.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Created same command in both English and French version.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;..&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Hook(Item[] items, Sitecore.Tasks.CommandItem command, Sitecore.Tasks.ScheduleItem schedule) &#xA;{ &#xA;    var appSettings = new FetchAppSetting(); &#xA;    using (new DatabaseSwitcher(Sitecore.Configuration.Factory.GetDatabase(&quot;web&quot;))) &#xA;    { &#xA;        if (command.ID.ToString() == appSettings.Config.CommandId) &#xA;        { &#xA;            Settings SettingsItem = null; SettingsItem = new Settings(commandId); &#xA;            //..and my logic for generating XML goes here.. &#xA;        } &#xA;    } &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please do let me know if I'm making any mistakes on the above steps or give your suggestions to make it proper if I'm wrong. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="976" LastEditorUserId="73" LastEditDate="2018-02-18T09:43:44.713" LastActivityDate="2018-02-18T11:16:05.680" Title="Sitecore task for multilingual site in single node" Tags="|multilingual|scheduled-tasks|commands|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10238" PostTypeId="2" ParentId="10208" CreationDate="2018-02-17T22:29:17.580" Score="1" Body="&lt;p&gt;Unfortunately, the latest SXA v1.6 has this as a new &quot;feature&quot; to support the browser's history and direct linking to the carousel slides. It is tightly associated with the &quot;bullet navs&quot;. To remove this, you have 2 options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option A. Remove the &quot;bullet navs&quot;.  Edit the carousel component and select &lt;code&gt;None&lt;/code&gt; for the &lt;code&gt;Navigation Type&lt;/code&gt;.  Save and publish the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option B. Update the theme's carousel JS file.  Use &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/creative_exchange/modify_site_design_with_creative_exchange_live&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creative Exchange Live&lt;/a&gt; and export the page that has the carousel.  Edit the carousel component JS which is located at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-\media\Themes\\\scripts\component-carousel.js&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Comment the line (line 344):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;updateQueryParam(componentRoot.attr('id') || &quot;carousel&quot;, index);&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Save it and publish the theme.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-02-17T22:29:17.580" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10239" PostTypeId="1" AcceptedAnswerId="10240" CreationDate="2018-02-18T00:44:50.317" Score="3" ViewCount="952" Body="&lt;p&gt;I tried to create a new SXA site but do not see the &quot;Site&quot; insert option on the &lt;code&gt;Site Folder&lt;/code&gt; parent item. When I try to create it by navigating to the branch template &lt;code&gt;/sitecore/templates/Branches/Foundation/Experience Accelerator/Scaffolding/Site&lt;/code&gt; I get the basic site structure, but do not get the SPE wizard that I was expecting, described &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/create_a_tenant_and_a_site&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I expected to create site, or tennant, -specific templates before creating a site, or is it ok to just use the OOTB templates defined in &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Multisite&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I figured out why my Sitecore instance did not have the relevant insert options for the Tennant Folder, Tenant, Site Folder templates. I installed my instance using SIM which did not respect the dependency on SPE. Although I installed SPE &lt;em&gt;afterwards&lt;/em&gt; it seems you must install it &lt;em&gt;before&lt;/em&gt; SXA in order for everything to work correctly.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2018-02-19T23:24:21.833" LastActivityDate="2019-08-13T04:09:23.687" Title="SXA How to create site using wizard" Tags="|sxa|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10240" PostTypeId="2" ParentId="10239" CreationDate="2018-02-18T02:14:20.893" Score="3" Body="&lt;p&gt;After you create a new &lt;em&gt;Tenant&lt;/em&gt; you should see a new context menu for creating a site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3CJcO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3CJcO.png&quot; alt=&quot;Wizard&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the insert option does not appear on the &lt;em&gt;Tenant&lt;/em&gt; item then there may be an issue with the install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There may also be an issue with the insert options for the &lt;em&gt;Site Folder&lt;/em&gt;. Try to run the wizard on the parent and then move the tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my install I do see the wizard (1.4).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BgMid.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BgMid.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-02-18T02:14:20.893" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10241" PostTypeId="1" AcceptedAnswerId="10250" CreationDate="2018-02-18T02:28:08.023" Score="0" ViewCount="537" Body="&lt;p&gt;In a project, I have used Lucene Search. Earlier everything was working fine.&#xA;But from last few days I am facing issue in getting items through search on production server.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I performed &lt;strong&gt;Index Rebuild&lt;/strong&gt; many times. All items are present in the content tree. But they are not displaying on the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My assumption is: there must be some number of items limit upto which Lucene supports indexing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please guide me if someone has faced similar issue earlier.&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="1049" LastEditDate="2018-02-18T07:24:40.373" LastActivityDate="2018-02-18T14:30:24.003" Title="Lucene Search Indexing Issue" Tags="|indexing|lucene|" AnswerCount="3" CommentCount="6" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10242" PostTypeId="2" ParentId="10239" CreationDate="2018-02-18T06:44:44.667" Score="1" Body="&lt;p&gt;No, You have to create the Tenant by right click on Content and insert the Tenant, when you do that SXA will run some command/scripts to create your project under &lt;code&gt;/sitecore/templates/Project&lt;/code&gt; folder, where you will find the bunch of all predefined templates of SXA..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per Helix fundamental, foundation is the base, so once you create the Tenant then check the templates of your Project folder under &lt;code&gt;/sitecore/templates/Project&lt;/code&gt;, you will find all the Foundation multisite templates in base of specific templates. SXA is managing things internally, when you follow its process. So if you follow the proper site creation process as per SXA then only you will get the correct configurations at the end.&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-18T06:44:44.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10244" PostTypeId="2" ParentId="10241" CreationDate="2018-02-18T07:18:43.830" Score="1" Body="&lt;p&gt;There is no such kind of Item indexing limit in Lucene, Could you please follow some checks immediately after re-indexing? Before that &lt;code&gt;Make sure only one configuration should be enable&lt;/code&gt; for your environment, either Lucene or Solr. As you are using Lucene then make sure that all the Solr search related configs should be disabled.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Check the Crawling.log file and Search.log file.&lt;/li&gt;&#xA;&lt;li&gt;Check the Include and Exclude template section in Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config, by default the Exclude Template should have bucket folder template in list and Include Template section should be commented.&lt;/li&gt;&#xA;&lt;li&gt;Check whether index files are getting updated or not after re-indexing.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-18T07:18:43.830" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10245" PostTypeId="2" ParentId="10241" CreationDate="2018-02-18T07:56:29.693" Score="1" Body="&lt;p&gt;There are certain analysis you need to do to debug the issue&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Check if the index was created. Start with rebuilding the Index.&lt;/li&gt;&#xA;&lt;li&gt;Check the &lt;a href=&quot;http://prod/sitecore/admin/showconfig.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://prod/sitecore/admin/showconfig.aspx&lt;/a&gt; to verify if the configuration of your index is present&lt;/li&gt;&#xA;&lt;li&gt;By default Sitecore.Search.Crawlers.DatabaseCrawler uses lowercase names for document fields names so remember to use __created instead of __Created, etc. If you still have any doubts, use Luke(&lt;a href=&quot;http://code.google.com/p/luke/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://code.google.com/p/luke/&lt;/a&gt;) to see what exactly is indexed. &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The templates that should be indexed missing. Look for the &quot;list:IncludeTemplate&quot; as shown below in the config and the guid if they are present in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:IncludeTemplate&quot;&amp;gt;    &#xA;&amp;lt;template1&amp;gt;{71D42CF2-CE89-4030-9EB1-0065B35B78C4}&amp;lt;/template1&amp;gt;&#xA;&amp;lt;template2&amp;gt;{ED9F466B-D436-4A3F-B22F-EA6E8097085D}&amp;lt;/template2&amp;gt;&#xA;&amp;lt;any-other-name&amp;gt;{78166FE4-EDFB-4B0D-A3ED-860AEB44CD40}&amp;lt;/any-other-name&amp;gt;&amp;gt; &#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can look for the details to resolve this in the blog- &lt;a href=&quot;https://www.cognifide.com/our-blogs/sitecore/troubleshooting-sitecore-lucene-search-and-indexing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.cognifide.com/our-blogs/sitecore/troubleshooting-sitecore-lucene-search-and-indexing/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-02-18T07:56:29.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10246" PostTypeId="2" ParentId="10239" CreationDate="2018-02-18T08:28:46.247" Score="0" Body="&lt;p&gt;After installing SXA go to &lt;code&gt;content item &amp;gt; right-click &amp;gt;&lt;/code&gt; it will provide the options to create &lt;code&gt;Tenant Folder/Tenant &amp;gt; After that right-click on Tenant &amp;gt;&lt;/code&gt; It will provide the option to create site/site folder.&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="5387" LastEditDate="2019-08-13T04:09:23.687" LastActivityDate="2019-08-13T04:09:23.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10248" PostTypeId="2" ParentId="10237" CreationDate="2018-02-18T10:16:01.267" Score="2" Body="&lt;p&gt;If I had to implement such functionality, I would have created a schedule job only with below implementation&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class XmlGenerator()&#xA;{&#xA;    public string Database { get; set; }&#xA;&#xA;    public string SitePath { get; set; }&#xA;&#xA;    public List&amp;lt;string&amp;gt; ItemLanguages { get; set; }&#xA;&#xA;    public XmlGenerator(string sitePath, string database, string language)&#xA;    {&#xA;        this.SitePath = sitePath;&#xA;        this.Database = database;&#xA;        this.ItemLanguages = language.Split('|').ToList();  &#xA;    }&#xA;&#xA;    public void Run()&#xA;    {&#xA;        var database = Factory.GetDatabase(this.Database);&#xA;&#xA;        // Add logic to create 1 file for each loop in the ItemLanguage &#xA;        foreach(var itemLanguage in this.ItemLanguages)&#xA;        {&#xA;            using (new Sitecore.Globalization.LanguageSwitcher(itemLanguage))&#xA;            {&#xA;                var itemList = database.GetItem(this.SitePath, Language.Parse(itemLanguage)).Axes.GetDescendants().ToList();&#xA;&#xA;                foreach(var item in itemList)&#xA;                {&#xA;                    // Your logic for generating the XML goes here&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the patch file for the agent as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent name=&quot;XML Generator Agent&quot; type=&quot;YourNamespaceHere, YourAssembly&quot; method=&quot;Run&quot; interval=&quot;00:00:00&quot;&amp;gt;&#xA;    &amp;lt;param hint=&quot;1&quot; desc=&quot;sitePath&quot;&amp;gt;sitecore/content/my site&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param hint=&quot;3&quot; desc=&quot;database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param hint=&quot;4&quot; desc=&quot;language&quot;&amp;gt;en|fr-FR&amp;lt;/param&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you don't want to pass in the &lt;code&gt;language&lt;/code&gt;, then you will need to get the different versions of the item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class XmlGenerator()&#xA;{&#xA;    public string Database { get; set; }&#xA;&#xA;    public string SitePath { get; set; }&#xA;&#xA;    public XmlGenerator(string sitePath, string database)&#xA;    {&#xA;        this.SitePath = sitePath;&#xA;        this.Database = database;&#xA;    }&#xA;&#xA;    public void Run()&#xA;    {&#xA;        var itemList = Factory.GetDatabase(this.Database).GetItem(this.SitePath).Axes.GetDescendants().ToList();&#xA;&#xA;        foreach(var item in itemList)&#xA;        {&#xA;            foreach (var itemLanguage in item.Languages)&#xA;            {&#xA;                // Your Logic for generating the XML goes here&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the agent config file will be as shown below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent name=&quot;XML Generator Agent&quot; type=&quot;YourNamespaceHere, YourAssembly&quot; method=&quot;Run&quot; interval=&quot;00:00:00&quot;&amp;gt;&#xA;    &amp;lt;param hint=&quot;1&quot; desc=&quot;sitePath&quot;&amp;gt;sitecore/content/my site&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param hint=&quot;3&quot; desc=&quot;database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-02-18T11:16:05.680" LastActivityDate="2018-02-18T11:16:05.680" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10249" PostTypeId="1" CreationDate="2018-02-18T14:03:43.847" Score="0" ViewCount="1494" Body="&lt;p&gt;I am using  Sitecore 9.0.1 rev. 171219 with SXA 1.6 rev 180103 and Solr 6.6.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the SXA site, search results text box suggestions giving error as &quot;/site_masterindex/suggest&quot; not found.  Solr search admin showing search results and in SC Item query/Search Scope while building query.&#xA;Also search results not displaying in the search results component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already disabled the following files at App_Config\Include\Z.Foundation.Overrides\ and enabled only Sitecore.XA.Foundation.Search.Solr.config:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.XA.Foundation.Search.Azure.config.disabled&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.XA.Foundation.Search.Lucene.config.disabled&lt;/li&gt;&#xA;&lt;li&gt;In Sitecore.XA.Foundation.Search.Solr.config file &quot;core&quot; node is also disabled:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA; &amp;lt;index id=&quot;sitecore_sxa_master_index&quot; type=&quot;Sitecore.XA.Foundation.Search.Providers.Solr.SolrSearchIndex, Sitecore.XA.Foundation.Search.Providers.Solr&quot; role:require=&quot;Standalone or Reporting or ContentManagement or Processing&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;  &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot; /&amp;gt;&#xA;  &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;   &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;  &amp;lt;/strategies&amp;gt;&#xA;  &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;   &amp;lt;crawler type=&quot;Sitecore.XA.Foundation.VersionSpecific.Search.SxaItemCrawler, Sitecore.XA.Foundation.VersionSpecific&quot;&amp;gt;&#xA;    &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;    &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;   &amp;lt;/crawler&amp;gt;&#xA;  &amp;lt;/locations&amp;gt;&#xA;  &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;  &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA; &amp;lt;/index&amp;gt;&#xA; &amp;lt;index id=&quot;sitecore_sxa_web_index&quot; type=&quot;Sitecore.XA.Foundation.Search.Providers.Solr.SolrSearchIndex, Sitecore.XA.Foundation.Search.Providers.Solr&quot; role:require=&quot;Standalone or ContentDelivery or ContentManagement or Reporting&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;  &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot; /&amp;gt;&#xA;  &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;   &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;  &amp;lt;/strategies&amp;gt;&#xA;  &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;   &amp;lt;crawler type=&quot;Sitecore.XA.Foundation.VersionSpecific.Search.SxaItemCrawler, Sitecore.XA.Foundation.VersionSpecific&quot;&amp;gt;&#xA;    &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;    &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;   &amp;lt;/crawler&amp;gt;&#xA;  &amp;lt;/locations&amp;gt;&#xA;  &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;  &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA; &amp;lt;/index&amp;gt;&#xA; --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I followed the url &lt;a href=&quot;https://wiki.apache.org/solr/Suggester&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://wiki.apache.org/solr/Suggester&lt;/a&gt; and placed the xml file &lt;a href=&quot;http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_6/solr/core/src/test-files/solr/conf/solrconfig-phrasesuggest.xml&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_6/solr/core/src/test-files/solr/conf/solrconfig-phrasesuggest.xml&lt;/a&gt; at solr-6.6.2\server\solr\_master_index\conf but still suggestions are not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While searching the item in search text box, below url with 500 internal server error showing in console: &lt;a href=&quot;http://sc9test1.sc:801/sitecore/content/tenantfoldername/tenantname/sitename/home/sxa/search/suggestions/?q=xik&amp;amp;v=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sc9test1.sc:801/sitecore/content/tenantfoldername/tenantname/sitename/home/sxa/search/suggestions/?q=xik&amp;amp;v=&lt;/a&gt;{C823C957-18D9-4A34-B31C-20AE3A622E3E}&amp;amp;p=5&amp;amp;s={FB0FE6BD-2AF0-4A51-A571-539C47F89157}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And while accessing above url directly on browser, i am getting error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;&amp;lt;html&amp;gt;\n&amp;lt;head&amp;gt;\n&amp;lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;text/html;charset=utf-8\&quot;/&amp;gt;\n&amp;lt;title&amp;gt;Error 404 Not Found&amp;lt;/title&amp;gt;\n&amp;lt;/head&amp;gt;\n&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 404&amp;lt;/h2&amp;gt;\n&amp;lt;p&amp;gt;Problem accessing /solr/SC9Test1_master_index/suggest. Reason:\n&amp;lt;pre&amp;gt;    Not Found&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;\n&amp;lt;/body&amp;gt;\n&amp;lt;/html&amp;gt;\n&quot;,&quot;ExceptionType&quot;:&quot;SolrNet.Exceptions.SolrConnectionException&quot;,&quot;StackTrace&quot;:&quot;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)\r\n   at Sitecore.ContentSearch.SolrNetExtension.Impl.SolrQueryExecuterEx`1.Execute(SolrSuggestQuery query, SuggestHandlerQueryOptions options)\r\n   at Sitecore.ContentSearch.SolrProvider.SolrNetIntegration.SolrNetProxy.Suggest(IProviderSearchContext context, SolrSuggestQuery q, SuggestHandlerQueryOptions options)\r\n   at Sitecore.XA.Foundation.VersionSpecific.Services.SolrSuggester.GetSuggestions(String term, Timer&amp;amp; queryTimer, String&amp;amp; indexName)\r\n   at Sitecore.XA.Feature.Search.Controllers.SearchController.SearchSuggestions(String q, String s, String l, String sig, String site)\r\n   at lambda_method(Closure , Object , Object[] )\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&amp;gt;c__DisplayClass10.&amp;lt;GetExecutor&amp;gt;b__9(Object instance, Object[] methodParameters)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.&amp;lt;InvokeActionAsyncCore&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext()&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;The remote server returned an error: (404) Not Found.&quot;,&quot;ExceptionType&quot;:&quot;System.Net.WebException&quot;,&quot;StackTrace&quot;:&quot;   at System.Net.HttpWebRequest.GetResponse()\r\n   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()\r\n   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)\r\n   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&quot;}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please provide provide pointers to resolve this issue.&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="35" LastEditDate="2018-02-19T10:32:18.333" LastActivityDate="2018-02-20T15:17:46.557" Title="How to fix &quot;/site_masterindex/suggest not found&quot; error for SXA Search" Tags="|solr|sxa|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10250" PostTypeId="2" ParentId="10241" CreationDate="2018-02-18T14:30:24.003" Score="1" Body="&lt;h2&gt;IndexUpdateStrategies&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I think your answer is going to be in the indexing strategy that is configured on the CD server. If you check the config (&lt;a href=&quot;http://prod/sitecore/admin/showconfig.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://prod/sitecore/admin/showconfig.aspx&lt;/a&gt;) on your CD server. Check to see what strategy your index is running. I run the strategy &lt;code&gt;onPublishEndAsync&lt;/code&gt; for my web database on my CD servers. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is what the strategy looks like in your index config.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/oT7N7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oT7N7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Event Queue enabled&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You will also need to make sure that &lt;code&gt;Event Queue&lt;/code&gt; is enabled on your CD server. You can check that by looking for the setting &lt;code&gt;EnableEventQueues&lt;/code&gt; is set to true.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EnableEventQueues&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once this is complete, when a publish is completed on the CM server, an index will be initiated on the CD server(s).&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-02-18T14:30:24.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10252" PostTypeId="1" CreationDate="2018-02-18T20:25:26.047" Score="1" ViewCount="216" Body="&lt;p&gt;Looking for the best practices to tackle a user behavior in my Sitecore 7.5 application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically there is an action method decorated with the &lt;code&gt;[HttpPost]&lt;/code&gt; attribute. This action is invoked through client side for generating a PDF.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ex. &lt;a href=&quot;https://www.XYZ.com/api/sitecore/ArchiveController/DisplayPDF&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.XYZ.com/api/sitecore/ArchiveController/DisplayPDF&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(i) When this action is invoked from the client, the Pdf gets streamed as expected to the browser, having the string (&lt;a href=&quot;https://www.XYZ.com/api/sitecore/ArchiveController/DisplayPDF&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.XYZ.com/api/sitecore/ArchiveController/DisplayPDF&lt;/a&gt;) displayed in the browser url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(ii) Now considering a situation where the streaming of the PDF takes time (archive server latency, network issues etc), the user selects the url in the browser and manually presses ENTER. The browser instead considers this as a valid sitecore item GET request and tries to fetch item with (/api/sitecore). Which obviously not being there throws a static 500 error 404 not found&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.XYZ.com/staticError500.html?aspxerrorpath=/api/sitecore/ArchiveController/DisplayPDF&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.XYZ.com/staticError500.html?aspxerrorpath=/api/sitecore/ArchiveController/DisplayPDF&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error 404 - File or directory not found. The resource you are&#xA;  looking for might have been removed, had its name changed, or is&#xA;  temporarily unavailable.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;(iii) Instead, if user just refreshed the browser through the REFRESH button, browser reposts the url with Sitecore Ajax post action and executes the PDF generation again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the increased traffic on our website, more users are complaining of the 404 errors due to this behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While we are still addressing the underlying concern of slow PDF rendering on the browser, from a prevention point of view, what are the recommended ways I can restrict user from explicitly executing the url by pressing enter on the browser? Two approaches I can think of here -&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(i) Changing the url to be more Sitecore friendly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(ii) Intercepting the HttpRequest pipleline and handle the request to fetch /api/sitecore item there.&lt;/p&gt;&#xA;" OwnerUserId="2506" LastEditorUserId="2506" LastEditDate="2018-02-19T20:22:35.037" LastActivityDate="2018-02-19T20:22:35.037" Title="Restricting user from forcing manual submit to the Sitecore Url" Tags="|sitecore-api|ajax|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10253" PostTypeId="2" ParentId="9553" CreationDate="2018-02-18T20:29:04.477" Score="0" Body="&lt;p&gt;Closing this thread now. I was able to reproduce this issue on the CD servers.&#xA;Basically its more related to the user behavior than Sitecore functionality itself. I posted a separate thread question for that particular user behavior where user manually submits a sitecore ajax post url to the browser causing invalid Sitecore item fetch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/10252/restricting-user-from-forcing-manual-submit-to-the-sitecore-url&quot;&gt;Restricting user from forcing manual submit to the Sitecore Url&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2506" LastActivityDate="2018-02-18T20:29:04.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10255" PostTypeId="2" ParentId="10249" CreationDate="2018-02-18T21:38:29.467" Score="2" Body="&lt;p&gt;First of all, while using Sitecore 9.0 and above you don't need to disable any search configs which comes with SXA. Starting from Sitecore 9.0 you can use rule-based configuration. Depending on web.config setting &lt;code&gt;&amp;lt;add key=&quot;search:define&quot; value=&quot;Lucene&quot; /&amp;gt;&lt;/code&gt; you can use either Lucene, Solr or Azure without any need to disable or enable any configuration file. So please enable everything that you've disabled so far.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding the suggestions. SXA offers few modes how the suggestions will be displayed. You can configure them in the Search Box control properties dialogue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qTMMf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qTMMf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to use real suggestions provider search engine, you need to choose &quot;Show predictions&quot;. What is important - this option will work just on Solr and Sitecore 9.0 and above. Those suggestion are not supported on 8.2 and search engine other than Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the most important thing! SXA is using suggester called &lt;code&gt;sxaSuggester&lt;/code&gt;. Please name your Solr suggester in that way and it will be working fine.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-02-18T21:38:29.467" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10256" PostTypeId="1" CreationDate="2018-02-18T23:23:57.933" Score="1" ViewCount="571" Body="&lt;p&gt;I've recently installed SXA (and its dependencies).  When I right-click on Content, choose Insert Tenant, enter a name and click OK, it just sits there forever with the &quot;running script&quot; progress bar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The log file shows the error below repeated over many times:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Data.SqlClient.SqlException Message: Login failed for user 'poolsuser'. Source: .Net SqlClient Data Provider&lt;br&gt;&#xA;          at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)&lt;br&gt;&#xA;          at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)&lt;br&gt;&#xA;          at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&lt;br&gt;&#xA;          at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&lt;br&gt;&#xA;          at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&lt;br&gt;&#xA;          at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&lt;br&gt;&#xA;          at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource 1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&lt;br&gt;&#xA;          at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource 1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connection)&lt;br&gt;&#xA;          at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource 1 retry, DbConnectionOptions userOptions)&lt;br&gt;&#xA;          at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource 1 retry)&lt;br&gt;&#xA;          at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&lt;br&gt;&#xA;          at System.Data.SqlClient.SqlConnection.Open()&lt;br&gt;&#xA;          at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.&amp;lt;&gt;c__DisplayClass1.b__0() &#xA;          at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func 1 func)&lt;br&gt;&#xA;          at Sitecore.Xdb.Processing.Queue.SqlServer.SqlServerProcessingPoolFactory.CreateProcessingPoolCore(GenericProcessingPoolDefinition poolDefinition, Guid poolId)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;10020 09:33:05 ERROR Exception when executing agent aggregation/contactProcessing &#xA;      Exception: Sitecore.Xdb.Processing.Queue.ProcessingPoolException &#xA;      Message: Login failed for user 'poolsuser'. &#xA;      Source: Sitecore.Xdb.Processing.Queue.SqlServer&lt;br&gt;&#xA;          at Sitecore.Xdb.Processing.Queue.SqlServer.SqlServerProcessingPool 2.OnCheckOut(Int16 count)&lt;br&gt;&#xA;          at Sitecore.Xdb.Processing.Queue.ProcessingPool 1.CheckOut(Int16 count)&lt;br&gt;&#xA;          at Sitecore.Analytics.Aggregation.Data.Contact.ContactWorkDispatcher.TryGetNext(ItemBatch 1&amp;amp; batch)&lt;br&gt;&#xA;          at Sitecore.Analytics.Aggregation.Data.Contact.ContactProcessingAgent.d__5.MoveNext() &#xA;          --- End of stack trace from previous location where exception was thrown ---&lt;br&gt;&#xA;          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;br&gt;&#xA;          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br&gt;&#xA;          at Sitecore.Analytics.Core.Agent.d__1.MoveNext() &#xA;          --- End of stack trace from previous location where exception was thrown ---&lt;br&gt;&#xA;          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;br&gt;&#xA;          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br&gt;&#xA;          at Sitecore.Analytics.Core.AsyncBackgroundService.d__22.MoveNext() &#xA;          --- End of stack trace from previous location where exception was thrown ---&lt;br&gt;&#xA;          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;br&gt;&#xA;          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br&gt;&#xA;          at Sitecore.Analytics.Core.AsyncBackgroundService.d__26.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It's complaining of a failed login for the poolsuser user, but when I do a global search throughout all the config files for pooluser, I find no matches.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas ?&lt;/p&gt;&#xA;" OwnerUserId="1490" LastEditorUserId="2056" LastEditDate="2018-04-24T06:23:54.790" LastActivityDate="2018-05-13T22:54:11.460" Title="Sitecore hangs when adding SXA tenant" Tags="|xdb|sxa|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10257" PostTypeId="2" ParentId="10256" CreationDate="2018-02-19T05:39:22.523" Score="2" Body="&lt;p&gt;This is because the &quot;pooluser&quot; which is the Sql user for the Processing Pools connection string in Sitecore is not existing in your database.&#xA;In order to find this you have to login into the &lt;strong&gt;SQL Management Studio&lt;/strong&gt; and look for the &quot;&lt;em&gt;pooluser&lt;/em&gt;&quot; login inside the Security for &lt;strong&gt;SqlProcessingPoolsUser&lt;/strong&gt;. Check the json files &quot;xconnect-xp0.json&quot; and &quot;sitecore-XP0.json&quot; script you run to install sitecore you can find the &quot;pooluser&quot; referred there.&#xA;You can create the missing user login manually inside the security to fix this or re-run the installation to fix this.&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1049" LastEditDate="2018-02-19T06:17:43.137" LastActivityDate="2018-02-19T06:17:43.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10258" PostTypeId="1" AcceptedAnswerId="15572" CreationDate="2018-02-19T06:58:26.027" Score="5" ViewCount="440" Body="&lt;p&gt;This is my first time I am using the personalization using persona. My problem is that in the experience analytics I can see that my page visits resembles the &quot;Batman Pattern Card&quot; as shown in screenshot below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wEbji.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wEbji.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have applied the rule as like following in the screenshot below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Hclob.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hclob.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the question is that reports are showing that visits matches the Batman pattern but it is not hiding the component on the page (according to rule) as applied on the home page item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have confirmed that I have applied correct profile's rule on the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please confirm if I am missing something&lt;/p&gt;&#xA;" OwnerUserId="2983" LastEditorUserId="605" LastEditDate="2018-02-19T07:07:09.713" LastActivityDate="2020-01-11T12:01:20.167" Title="Component not updating according to pattern card" Tags="|experience-analytics|personalization|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="10260" PostTypeId="1" CreationDate="2018-02-19T07:47:58.570" Score="1" ViewCount="119" Body="&lt;p&gt;Yes this is a bug and sitecore support have registered the appropriate bug in the current version of the WFFM module. Please use the reference number 87110 for this bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They suggested us to hide this tab in CMS only mode.To hide the &quot;Detailed Reports&quot; tab, you can perform the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;go to the &quot;/sitecore/client/Applications/WFFM/Pages/FormReport/PageSettings/TabControl/Detailed Reports&quot; item in the &quot;core&quot; database,&lt;/li&gt;&#xA;&lt;li&gt;check the &quot;IsHidden&quot; field and save the item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When i check the IsHidden field .The Detailed reports tab hidden. but i need to Show the the data in Detailed Reports Tabs Any idea about&lt;/p&gt;&#xA;" OwnerUserId="3283" LastEditorUserId="-1" LastEditDate="2018-02-21T06:23:34.200" LastActivityDate="2018-02-21T06:23:34.200" Title="WFFM Detailed Reports tab in form report is showing blank" Tags="|wffm|sxa|" AnswerCount="0" CommentCount="0" ClosedDate="2018-02-19T07:54:31.533" ContentLicense="CC BY-SA 3.0" />
  <row Id="10261" PostTypeId="2" ParentId="10249" CreationDate="2018-02-19T07:55:39.483" Score="0" Body="&lt;p&gt;Following Sitecore's &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/using_solr_autosuggest&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; will help you configure Solr for suggest, but will not lead to a working suggester right away!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to implement the Suggester (without SXA) and took me a while to figure it out:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Suggester section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;searchComponent name=&quot;suggest&quot; class=&quot;solr.SuggestComponent&quot;&amp;gt;&#xA;  &amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;    &amp;lt;str name=&quot;name&quot;&amp;gt;suggesterName&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;field&quot;&amp;gt;customcontent_s&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;string&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;buildOnStartup&quot;&amp;gt;false&amp;lt;/str&amp;gt;&#xA;  &amp;lt;/lst&amp;gt;&#xA;&amp;lt;/searchComponent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Suggester Request Handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;requestHandler name=&quot;/suggest&quot; class=&quot;solr.SearchHandler&quot; startup=&quot;lazy&quot;&amp;gt;&#xA;  &amp;lt;lst name=&quot;defaults&quot;&amp;gt;&#xA;    &amp;lt;str name=&quot;suggest.dictionary&quot;&amp;gt;suggesterName&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;suggest&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;suggest.count&quot;&amp;gt;10&amp;lt;/str&amp;gt;&#xA;  &amp;lt;/lst&amp;gt;&#xA;  &amp;lt;arr name=&quot;components&quot;&amp;gt;&#xA;    &amp;lt;str&amp;gt;suggest&amp;lt;/str&amp;gt;&#xA;  &amp;lt;/arr&amp;gt;&#xA;&amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I had to remove the &lt;code&gt;lookupImpl&lt;/code&gt; and &lt;code&gt;dictionaryImpl&lt;/code&gt; from the suggester component to keep the defaults. Of course you can keep them but will have to add any needed extra parameters according to the documentation&lt;/li&gt;&#xA;&lt;li&gt;I also added the &lt;code&gt;&amp;lt;str name=&quot;suggest.dictionary&quot;&amp;gt;suggesterName&amp;lt;/str&amp;gt;&lt;/code&gt; to the request handler with the same name defined in the suggest component&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The above configurations worked just fine with me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see this &lt;a href=&quot;https://tamermblog.wordpress.com/2018/02/20/setting-up-sxa-search-box-with-suggest/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt; for more details&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="490" LastEditDate="2018-02-20T15:17:46.557" LastActivityDate="2018-02-20T15:17:46.557" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="10262" PostTypeId="2" ParentId="10231" CreationDate="2018-02-19T08:24:46.717" Score="1" Body="&lt;p&gt;Before deleting this folder you need to verify two things&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is this folder contain only &quot;MediaCache&quot; folder. If yes then you can go and delete this folder because this folder will automatically created once you run the website and visit some pages&lt;/li&gt;&#xA;&lt;li&gt;If &quot;App Data&quot; folder contains &quot;MediaCache&quot; as well as &quot;MediaFiles&quot; folder then you can't delete the &quot;MediaFiles&quot; folder because some of the media item directly stored in this folder so if you delete this folder then your website is no longer able to display the image those are stored in this folder.&lt;/li&gt;&#xA;&lt;li&gt;Please check your &quot;temp&quot; folder size.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1499" LastActivityDate="2018-02-19T08:24:46.717" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10263" PostTypeId="1" AcceptedAnswerId="10265" CreationDate="2018-02-19T10:05:12.160" Score="2" ViewCount="188" Body="&lt;p&gt;I have my Sitecore multisite up and running.(Version 8.2).The values and data are populated on both Mongodb and SQL databases.But May I know what is the use of Analytics Database stored on the SQL server, and how the data is being captured and stored on the sql database.Is there any links/documents available ,to explain the same.&lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="73" LastEditDate="2018-02-19T12:07:36.780" LastActivityDate="2018-02-19T12:07:36.780" Title="What is Sitecore Analytics Database used for" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10264" PostTypeId="1" AcceptedAnswerId="11497" CreationDate="2018-02-19T10:10:00.247" Score="11" ViewCount="517" Body="&lt;p&gt;I want to exclude some groups of internal users from analytics, but keep the website personalized for them (and gather data for future personalization). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried 2 approaches and none of them worked:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Exclude Robots - exclude from analytics but personalization stops working.&lt;/li&gt;&#xA;&lt;li&gt;aggregation.filter.inbound -  I created a custom processor in which I set &lt;code&gt;args.IsExcluded = true&lt;/code&gt;  when IP is on a list. This doesn't work as the data still shows in Analytics Reports, even when the logs says that the filter was called and it should be filtered out.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What I want to try:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;set &lt;code&gt;Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.NeverSave;&lt;/code&gt; in a pipelines after the tracker is created when IP is internal. But as I understand that will stop gathering data for contact.&lt;/li&gt;&#xA;&lt;li&gt;add custom processor to &lt;code&gt;interactions&lt;/code&gt; pipeline that will abort the pipelines when internal IP is used in interaction. I'm not sure if this will work and how to get interaction IP here.&lt;/li&gt;&#xA;&lt;li&gt;creating a custom channel for internal users, and adding a filter by channel to each of Analytics Reports. I am not sure if all reports can be filtered by channel.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2607" LastActivityDate="2018-04-25T15:03:48.347" Title="Excluding IPs from analytics, but keeping personalization." Tags="|xdb|experience-analytics|personalization|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10265" PostTypeId="2" ParentId="10263" CreationDate="2018-02-19T10:39:21.793" Score="4" Body="&lt;p&gt;The Analytics DB is used as a reporting database for xDB. MongoDB is the collection database and periodically this is aggregated and stored in the Analytics db (also called the reporting db).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are disabling xDB and Tracking, then there is no need for the Analytics DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/platform/reporting_database_reference&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/platform/reporting_database_reference&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2634" LastActivityDate="2018-02-19T10:39:21.793" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10266" PostTypeId="2" ParentId="10258" CreationDate="2018-02-19T10:40:07.213" Score="0" Body="&lt;p&gt;It should work fine, Please double check below points..&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Batman page should have assigned the Cartoon Liker Profile. Please find below screen for your reference.&lt;/li&gt;&#xA;&lt;li&gt;For example, your want to hide some component on Home page based on user journey. If user has visited Batman page then on home page some component should be hidden as user should have assigned the Cartoon Liker Profile.&lt;/li&gt;&#xA;&lt;li&gt;Make sure everything is published.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Uq6s.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Uq6s.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-19T10:40:07.213" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10269" PostTypeId="1" CreationDate="2018-02-19T11:58:48.900" Score="6" ViewCount="2773" Body="&lt;p&gt;Is there any direct approach to get descendants(child items and sub child items) of a Sitecore item in Glassmapper model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know &lt;strong&gt;[SitecoreChildren]&lt;/strong&gt; can be used in GlassMapper model to get Child items. Is there anything like &lt;strong&gt;[SitecoreChildren]&lt;/strong&gt; we can use to get the descendants&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore - Sitecore 8.1 Update 1&#xA;Glass Mapper - 4.1.2.67&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="955" LastEditorUserId="2056" LastEditDate="2019-02-12T13:23:13.243" LastActivityDate="2019-02-12T13:23:13.243" Title="How to get Descendants of a Sitecore item using Glass mapper?" Tags="|glass-mapper|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10270" PostTypeId="2" ParentId="10269" CreationDate="2018-02-19T12:01:45.090" Score="6" Body="&lt;p&gt;No, there is no option to get all the descendants with a simple Glass Mapper attribute. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could use &lt;code&gt;SitecoreQuery&lt;/code&gt; attribute in theory:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreQuery(&quot;.//*&quot;)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not saying that getting all descendants is &lt;strong&gt;always&lt;/strong&gt; wrong, but you &lt;strong&gt;really need to be careful when you want to use descendants&lt;/strong&gt;. I guess that's the reason why it's not there as one of the Glass attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The whole list of attributes was posted in another question here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/10229/what-are-the-options-for-glass-mapper-model-attributes&quot;&gt;What are the options for Glass Mapper model attributes?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-02-19T12:06:57.767" LastActivityDate="2018-02-19T12:06:57.767" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10271" PostTypeId="2" ParentId="10186" CreationDate="2018-02-19T12:16:01.677" Score="6" Body="&lt;p&gt;I heard from Sitecore support on the roles at least, so I wanted to share this answer:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The concept of the Federated Authentication means that you delegate&#xA;  authentication to a trusted identity provider and all the users are&#xA;  managed on the side of this provider. Based on this the User Manager&#xA;  usage is not intended to maintain users from aside providers and for&#xA;  now does not designed to view the roles which were mapped to Sitecore&#xA;  roles. Please consider using Azure portal to maintain and view the&#xA;  roles for the AzureAD users. The same is applicable to the Access&#xA;  Viewer: You have to manage access rights not for the AzureAD user, but&#xA;  for Sitecore role which is mapped to this user.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Based on this, even though you &lt;strong&gt;can&lt;/strong&gt; map multiple Sitecore roles to an Azure AD group in the transform configuration, you should &lt;strong&gt;not&lt;/strong&gt; do it. It seems like the best practice would be to create a Sitecore role with the a matching name to the Azure group (maybe even naming convention it like &lt;code&gt;sitecore\Azure [Group Name]&lt;/code&gt; so you know where/why you have it) and then have that role inherit the necessary roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore support rep said he'd put in a documentation request to add this information for clarity purposes. I'm still asking about the profile bit, where it's not &quot;catching&quot; the default profile, but I'm doing a separate ticket there because it could be a bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: Sitecore Support has confirmed the profile data not working correctly with federated authentication is a bug and have sent me a support patch. The public reference number is 208132 so we can all track it going forward into future Sitecore updates.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2018-02-28T14:53:42.067" LastActivityDate="2018-02-28T14:53:42.067" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10273" PostTypeId="2" ParentId="10125" CreationDate="2018-02-19T13:41:58.590" Score="3" Body="&lt;p&gt;This is a known bug.I raised a ticket to Sitecore support and they replied that it is a bug and it already resolved in Sitecore 8.2 update 6&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you have two choices here -&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Upgrade your solution on Sitecore 8.2 update 6 or&lt;/li&gt;&#xA;&lt;li&gt;Raised a support ticket on Sitecore support portal and they will provide you the fix/patch.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1499" LastActivityDate="2018-02-19T13:41:58.590" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10274" PostTypeId="5" CreationDate="2018-02-19T14:57:54.797" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-19T14:57:54.797" LastActivityDate="2018-02-19T14:57:54.797" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10275" PostTypeId="4" CreationDate="2018-02-19T14:57:54.797" Score="0" Body="Sitecore is supporting Oracle database as a part of cross-platform compatibility. All question related to use of Oracle and configuring Sitecore for it, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T15:18:22.813" LastActivityDate="2018-02-19T15:18:22.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10276" PostTypeId="5" CreationDate="2018-02-19T15:00:51.723" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-19T15:00:51.723" LastActivityDate="2018-02-19T15:00:51.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10277" PostTypeId="4" CreationDate="2018-02-19T15:00:51.723" Score="0" Body="All questions related to Switchers used in Sitecore should use this tag. i.e. DatabaseSwitcher, LanguageSwitcher" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T15:18:10.677" LastActivityDate="2018-02-19T15:18:10.677" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10278" PostTypeId="5" CreationDate="2018-02-19T15:04:39.313" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-19T15:04:39.313" LastActivityDate="2018-02-19T15:04:39.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10279" PostTypeId="4" CreationDate="2018-02-19T15:04:39.313" Score="0" Body="Form post related questions in Sitecore MVC implementation and development should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T15:18:18.947" LastActivityDate="2018-02-19T15:18:18.947" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10280" PostTypeId="5" CreationDate="2018-02-19T15:08:25.933" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-19T15:08:25.933" LastActivityDate="2018-02-19T15:08:25.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10281" PostTypeId="4" CreationDate="2018-02-19T15:08:25.933" Score="0" Body="All questions related to Disablers used in Sitecore should use this tag. i.e. SecurityDisabler, EventDisabler and DatabaseCacheDisabler" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T15:18:05.520" LastActivityDate="2018-02-19T15:18:05.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10282" PostTypeId="1" AcceptedAnswerId="10295" CreationDate="2018-02-19T15:13:21.137" Score="5" ViewCount="296" Body="&lt;p&gt;Sitecore Express Migration Tool 3.0 upgrade to Sitecore 9.0 is skipping users and security group. the security checkbox was checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any idea what could be causing this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;below is the logs&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;[  1] 08:32:44.540 INFO  [WizardCore] Moving to the next step. Current step key: ''.&#xA;[  1] 08:32:44.888 INFO  [WizardCore] Moved to the next step. Current step key: 'basic_parameters_step'.&#xA;[  1] 08:33:00.189 INFO  [WizardCore] Moving to the next step. Current step key: 'basic_parameters_step'.&#xA;[  1] 08:33:00.390 INFO  [WizardCore] Moved to the next step. Current step key: 'instance_parameters'.&#xA;[  1] 08:36:47.419 INFO  [WizardCore] Moving to the next step. Current step key: 'instance_parameters'.&#xA;[  1] 08:36:49.444 INFO  [WizardCore] Moved to the next step. Current step key: 'wizard_population_step'.&#xA;[  1] 08:36:51.790 INFO  [Population step] Population started.&#xA;[ 11] 08:36:51.843 WARN  [Population step] Database cleanup triggered. Note, that could lead to lost information about already processed items.&#xA;[ 11] 08:36:53.511 WARN  [PopulationManager] Population step skipped, because it's disabled: Core database&#xA;[ 11] 08:36:53.520 WARN  [PopulationManager] Population step skipped, because it's disabled: Master database&#xA;[ 11] 08:36:53.526 WARN  [PopulationManager] Population step skipped, because it's disabled: Locations&#xA;[  1] 08:36:53.526 INFO  [Population step] Population finished.&#xA;[  1] 08:36:58.883 INFO  [WizardCore] Moving to the next step. Current step key: 'wizard_population_step'.&#xA;[  1] 08:36:58.912 INFO  [WizardCore] Moved to the next step. Current step key: 'select_core_db_items'.&#xA;[  1] 08:37:01.171 INFO  [WizardCore] Moving to the previous step. Current step key: 'select_core_db_items'.&#xA;[  1] 08:37:01.197 INFO  [WizardCore] Moved to the previous step. Current step key: 'wizard_population_step'.&#xA;[  1] 08:37:01.718 INFO  [WizardCore] Moving to the previous step. Current step key: 'wizard_population_step'.&#xA;[  1] 08:37:01.733 INFO  [WizardCore] Moved to the previous step. Current step key: 'instance_parameters'.&#xA;[  1] 08:37:02.325 INFO  [WizardCore] Moving to the previous step. Current step key: 'instance_parameters'.&#xA;[  1] 08:37:02.396 INFO  [WizardCore] Moved to the previous step. Current step key: 'basic_parameters_step'.&#xA;[  1] 08:37:04.340 INFO  [WizardCore] Moving to the next step. Current step key: 'basic_parameters_step'.&#xA;[  1] 08:37:04.410 INFO  [WizardCore] Moved to the next step. Current step key: 'instance_parameters'.&#xA;[  1] 08:37:06.275 INFO  [WizardCore] Moving to the next step. Current step key: 'instance_parameters'.&#xA;[  1] 08:37:07.958 INFO  [WizardCore] Moved to the next step. Current step key: 'wizard_population_step'.&#xA;[  1] 08:37:09.402 INFO  [WizardCore] Moving to the next step. Current step key: 'wizard_population_step'.&#xA;[  1] 08:37:09.434 INFO  [WizardCore] Moved to the next step. Current step key: 'select_core_db_items'.&#xA;[  1] 08:37:10.798 INFO  [WizardCore] Moving to the next step. Current step key: 'select_core_db_items'.&#xA;[  1] 08:37:10.810 INFO  [WizardCore] Moved to the next step. Current step key: 'select_master_db_items'.&#xA;[  1] 08:37:12.496 INFO  [WizardCore] Moving to the next step. Current step key: 'select_master_db_items'.&#xA;[  1] 08:37:12.526 INFO  [WizardCore] Moved to the next step. Current step key: 'select_files'.&#xA;[  1] 08:37:13.307 INFO  [WizardCore] Moving to the next step. Current step key: 'select_files'.&#xA;[ 11] 08:37:13.344 INFO  Migration runner status was updated. Runner:plugin_poststep; Status:Queued&#xA;[  8] 08:37:13.344 INFO  Migration runner status was updated. Runner:database_master; Status:Queued&#xA;[ 15] 08:37:13.345 INFO  Migration runner status was updated. Runner:plugin_prestep; Status:Queued&#xA;[ 11] 08:37:13.346 INFO  [MigrationRunner] Initializing migration runner. RunnerKey: plugin_poststep&#xA;[  8] 08:37:13.346 INFO  [MigrationRunner] Initializing migration runner. RunnerKey: database_master&#xA;[ 15] 08:37:13.346 INFO  [MigrationRunner] Initializing migration runner. RunnerKey: plugin_prestep&#xA;[  5] 08:37:13.349 INFO  Migration runner status was updated. Runner:security; Status:Queued&#xA;[  5] 08:37:13.349 INFO  [MigrationRunner] Initializing migration runner. RunnerKey: security&#xA;[  8] 08:37:13.355 INFO  Migration runner status was updated. Runner:database_master; Status:Disabled&#xA;[  8] 08:37:13.355 WARN  [MigrationRunner] Migration is disabled. RunnerKey: database_master&#xA;[  8] 08:37:13.356 INFO  Migration runner status was updated. Runner:file_system; Status:Queued&#xA;[  8] 08:37:13.356 INFO  [MigrationRunner] Initializing migration runner. RunnerKey: file_system&#xA;[  5] 08:37:13.357 INFO  [MigrationRunner] Run pre initialization. RunnerKey: security&#xA;[ 15] 08:37:13.365 INFO  Migration runner status was updated. Runner:plugin_prestep; Status:Disabled&#xA;[ 15] 08:37:13.365 WARN  [MigrationRunner] Migration is disabled. RunnerKey: plugin_prestep&#xA;[  8] 08:37:13.365 INFO  Migration runner status was updated. Runner:file_system; Status:Disabled&#xA;[  8] 08:37:13.365 WARN  [MigrationRunner] Migration is disabled. RunnerKey: file_system&#xA;[ 15] 08:37:13.366 INFO  Migration runner status was updated. Runner:database_core; Status:Queued&#xA;[ 15] 08:37:13.366 INFO  [MigrationRunner] Initializing migration runner. RunnerKey: database_core&#xA;[ 15] 08:37:13.370 INFO  Migration runner status was updated. Runner:database_core; Status:Disabled&#xA;[ 15] 08:37:13.370 WARN  [MigrationRunner] Migration is disabled. RunnerKey: database_core&#xA;[  5] 08:37:13.374 INFO  [MigrationRunner] Pre initialization has been finished. RunnerKey: security&#xA;[  5] 08:37:13.374 INFO  [MigrationRunner] Initializing status. RunnerKey: security&#xA;[  5] 08:37:13.376 INFO  Migration runner total to process count has been updated. Runner:security; Total to process count:7&#xA;[  5] 08:37:13.377 INFO  Migration runner total unit count has been updated. Runner:security; Total count:7&#xA;[  5] 08:37:13.377 INFO  [MigrationRunner] Status has been initialized. RunnerKey: security&#xA;[  5] 08:37:13.382 INFO  Migration runner status was updated. Runner:security; Status:Skipped&#xA;[  5] 08:37:13.383 INFO  Migration runner message(security):&#xA;Migration has already finished.&#xA;[  5] 08:37:13.386 INFO  [MigrationRunner] Migration has already finished, runner skipped. RunnerKey: security&#xA;[  5] 08:37:13.387 INFO  Migration runner status was updated. Runner:configuration; Status:Queued&#xA;[  5] 08:37:13.387 INFO  [MigrationRunner] Initializing migration runner. RunnerKey: configuration&#xA;[  5] 08:37:13.392 INFO  Migration runner status was updated. Runner:configuration; Status:Disabled&#xA;[  5] 08:37:13.392 WARN  [MigrationRunner] Migration is disabled. RunnerKey: configuration&#xA;[ 11] 08:37:13.489 INFO  Migration runner status was updated. Runner:plugin_poststep; Status:Disabled&#xA;[ 11] 08:37:13.489 WARN  [MigrationRunner] Migration is disabled. RunnerKey: plugin_poststep&#xA;[  1] 08:37:13.513 INFO  [WizardCore] Moved to the next step. Current step key: 'wizard_migration_step'.&#xA;[  1] 08:37:14.177 INFO  [WizardCore] Moving to the next step. Current step key: 'wizard_migration_step'.&#xA;[  1] 08:37:14.193 INFO  [WizardCore] Moved to the next step. Current step key: 'wizard_summary_step'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1057" LastEditorUserId="73" LastEditDate="2018-02-19T15:53:15.063" LastActivityDate="2018-02-19T16:24:37.703" Title="Sitecore Express Migration Tool skipping users and security group" Tags="|security|user-profile|express-migration-tool|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10283" PostTypeId="5" CreationDate="2018-02-19T15:28:01.230" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-19T15:28:01.230" LastActivityDate="2018-02-19T15:28:01.230" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10284" PostTypeId="4" CreationDate="2018-02-19T15:28:01.230" Score="0" Body="All questions related to use of java script, handling and it's implementation in reference with Sitecore, should use this tag. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T16:14:32.813" LastActivityDate="2018-02-19T16:14:32.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10285" PostTypeId="5" CreationDate="2018-02-19T15:34:30.590" Score="0" Body="&lt;p&gt;You can monitor the availability of Sitecore roles using endpoints. This is called a health check, and the endpoints use HTTP status codes and text messages to reveal whether the roles are healthy or if they are having problems.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2021-03-11T08:11:42.833" LastActivityDate="2021-03-11T08:11:42.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10286" PostTypeId="4" CreationDate="2018-02-19T15:34:30.590" Score="0" Body="Questions related to health check and health monitoring of Sitecore application, including performance counters,  should use this tag " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T16:14:47.660" LastActivityDate="2018-02-19T16:14:47.660" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10287" PostTypeId="5" CreationDate="2018-02-19T15:36:12.290" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-19T15:36:12.290" LastActivityDate="2018-02-19T15:36:12.290" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10288" PostTypeId="4" CreationDate="2018-02-19T15:36:12.290" Score="0" Body="Outcomes describe a visitor's journey from the initial contact to becoming a customer. This tag should be used for all questions,around this topic. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T16:14:43.517" LastActivityDate="2018-02-19T16:14:43.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10289" PostTypeId="5" CreationDate="2018-02-19T15:48:59.733" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-19T15:48:59.733" LastActivityDate="2018-02-19T15:48:59.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10290" PostTypeId="4" CreationDate="2018-02-19T15:48:59.733" Score="0" Body="Sitecore context contains variety of information, including the current managed web site and database accessed, the security context, and the content item requested including language and version. All questions purely related to Sitecore Context should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T18:43:09.313" LastActivityDate="2018-02-19T18:43:09.313" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10291" PostTypeId="5" CreationDate="2018-02-19T15:52:38.847" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-19T15:52:38.847" LastActivityDate="2018-02-19T15:52:38.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10292" PostTypeId="4" CreationDate="2018-02-19T15:52:38.847" Score="0" Body="Sitecore xDB Cloud collects online and offline customer interactions from all channel sources in a real-time big data repository. All questions around this topic, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T16:14:50.930" LastActivityDate="2018-02-19T16:14:50.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10293" PostTypeId="1" AcceptedAnswerId="10300" CreationDate="2018-02-19T16:01:35.997" Score="5" ViewCount="1479" Body="&lt;p&gt;I have a recursive script that hits a &lt;code&gt;System.Management.Automation.ScriptCallDepthException&lt;/code&gt; exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the call depth limit in Sitecore PowerShell and can it be overridden?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: Yes, I can probably refactor to avoid recursion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: For a little clarity, it's a script to copy items from one site to another, maintaining &quot;localized&quot; links based on the two sites having parallel structures. The outline looks like this in pseudocode:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Queue1 = System.Collections.Generic.Queue&amp;lt;Sitecore.Item&amp;gt;&#xA;Queue2 = System.Collections.Generic.Queue&amp;lt;Sitecore.Item&amp;gt;&#xA;&#xA;Function HandleQueues()&#xA;    If Queue1 &amp;gt; 0&#xA;        ProcessQueue1&#xA;        HandleQueues&#xA;    Else If Queue2 &amp;gt; 0&#xA;        ProcessQueue2&#xA;        HandleQueues&#xA;    End if&#xA;Return&#xA;&#xA;Function ProcessQueue1()&#xA;    Do while Queue1 &amp;gt; 0&#xA;        Pop Top item&#xA;        Do stuff with it&#xA;        Add it to Queue2&#xA;    Loop&#xA;Return&#xA;&#xA;Function ProcessQueue2()&#xA;    Pop Top item&#xA;    Do stuff with it&#xA;    Find if it has links to anything that needs to go into Queue1 and add them&#xA;Return&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Obviously there's plenty of scope for &lt;em&gt;possible&lt;/em&gt; infinite loops, but I've handled pretty much all I can think of, and going through the script output I can't see any repetition. I'm pretty sure the code is logically sound, if a little brutal with building a call stack, so the question remains a technical one.&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="2727" LastEditDate="2018-02-21T13:29:28.823" LastActivityDate="2018-02-23T15:30:43.490" Title="What is the call depth limit in Sitecore PowerShell and can it be overridden?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10295" PostTypeId="2" ParentId="10282" CreationDate="2018-02-19T16:24:37.703" Score="8" Body="&lt;p&gt;This is a known issue : &lt;a href=&quot;https://kb.sitecore.net/articles/583017&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/583017&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a workaround for the issue, please consider deleting the &lt;strong&gt;{Express Migration Root folder}/Migration.db&lt;/strong&gt; file before running the migration for another source instance of the same version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BLQbV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BLQbV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-02-19T16:24:37.703" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10296" PostTypeId="5" CreationDate="2018-02-19T16:38:37.447" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-19T16:38:37.447" LastActivityDate="2018-02-19T16:38:37.447" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10297" PostTypeId="4" CreationDate="2018-02-19T16:38:37.447" Score="0" Body="Inheritance allows the overlapping fields to be moved into separate data templates that can be used by any data template that needs the fields. All questions related to Sitecore Template Inheritance should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-19T16:39:11.500" LastActivityDate="2018-02-19T16:39:11.500" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10298" PostTypeId="2" ParentId="9432" CreationDate="2018-02-19T17:29:30.277" Score="1" Body="&lt;p&gt;You'll need to specify the &lt;code&gt;payload&lt;/code&gt; query parameter to return ALL the fields.  Otherwise, it returns only content fields.  So add:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;...&amp;amp;payload=full&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-02-19T17:29:30.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10299" PostTypeId="1" CreationDate="2018-02-19T17:33:33.070" Score="0" ViewCount="886" Body="&lt;p&gt;I am working on Sitecore intranet site using LDAP module to import, authenticate and manage the AD users, roles and profiles inside the Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is that I need mock up Active directory in my local machine to start the implementation by connect to a dummy organization unit to return and update Active directory profiles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone send me recommended AD domain service mock up or let me know if I can use different approach to work on LDAP from my local machine? &lt;/p&gt;&#xA;" OwnerUserId="635" LastEditorUserId="2890" LastEditDate="2018-02-19T18:43:19.893" LastActivityDate="2018-02-19T18:43:19.893" Title="Create mock up Active Directory Domain Service" Tags="|security|active-directory-module|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10300" PostTypeId="2" ParentId="10293" CreationDate="2018-02-19T17:34:22.470" Score="6" Body="&lt;p&gt;There are two points to consider.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Call Depth Limit&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Windows Powershell may have a &lt;a href=&quot;https://weblogs.asp.net/jongalloway/working-around-a-powershell-call-depth-disaster-with-trampolines&quot; rel=&quot;nofollow noreferrer&quot;&gt;call depth limit of 100&lt;/a&gt;. Consider changing your code to use &lt;s&gt;tail-recursion&lt;/s&gt; trampolines as pointed out in the article instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not this kind of trampoline:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.imgur.com/7fb55LJ.gif&quot; alt=&quot;imgur&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This kind of trampoline:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$stack = New-Object System.Collections.Stack&#xA;&#xA;#Load first level&#xA;Get-ChildItem -Path &quot;master:&quot; -ID &quot;{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}&quot; | ForEach-Object { $stack.Push($_) }&#xA;&#xA;Write-Host &quot;Beginning processing of stack.&quot;&#xA;while($stack.Length -and ($item = $stack.Pop())) {&#xA;    Write-Host &quot;Processing item $($item.ID) - $($item.Name)&quot;&#xA;    Get-ChildItem -Path &quot;master:&quot; -ID $item.ID | ForEach-Object { $stack.Push($_) }&#xA;}&#xA;&#xA;Write-Host &quot;Completed processing stack.&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tUqvt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tUqvt.png&quot; alt=&quot;Results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Recurse Depth for Get-ChildItem&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In version 4.7 of SPE (came out sooner) you can set the depth limit while calling &lt;code&gt;Get-ChildItem&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-ChildItem -Path &quot;master:\content\home&quot; -Recurse -Depth 1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PFY7l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PFY7l.png&quot; alt=&quot;Screenshot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Updated statement above regarding tail recursion based on the comment below and the fact the linked article says to...I must not have read it properly the first time.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-02-23T15:30:43.490" LastActivityDate="2018-02-23T15:30:43.490" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10302" PostTypeId="2" ParentId="10093" CreationDate="2018-02-19T19:24:06.717" Score="0" Body="&lt;p&gt;See my comment above about a similar issue I was having. Changing the setting below should mean your posted file is available on CD Servers too and will have a value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;settings&amp;gt;&#xA;            &amp;lt;setting name=&quot;WFM.IsRemoteActions&quot; value=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-02-19T19:24:06.717" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10304" PostTypeId="1" AcceptedAnswerId="10308" CreationDate="2018-02-20T00:10:56.027" Score="1" ViewCount="354" Body="&lt;p&gt;Following from a &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10239/sxa-how-to-create-site-using-wizard&quot;&gt;previous question about site / tennant creation in SXA&lt;/a&gt; I now want to understand how/where the insert options are defined which invoke the new Tenant / new Site wizard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This screenshot shows the insert options on the content items:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/xesCn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xesCn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Tenant Folder is defined as an insert option on the standard values of the Tennant Folder template. However, Tennant is not and I cannot figure out where this is set up?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the Tennant Folder template's standard values item with the insert options dialog displayed. Notice that only Tennant Folder is here.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TQTEZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TQTEZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also the Insert Rules is blank so its not defined here either.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/aFVZb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aFVZb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not stopping me working, I just want to understand how this is set up!&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-02-28T16:32:10.980" Title="SXA How is the create site wizard invoked" Tags="|sxa|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10305" PostTypeId="1" AcceptedAnswerId="10335" CreationDate="2018-02-20T00:14:37.083" Score="2" ViewCount="261" Body="&lt;p&gt;For upgrades, Sitecore stores summary info and a rollback (.rlb) file in &lt;strong&gt;Website/temp/__UpgradeHistory&lt;/strong&gt; for each upgrade that is done to provide a way to undo the package installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This occurs for Sitecore's upgrades, but also for any deployments done using .update files, such as TDS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to temporarily disable this in situations with no risks associated with it to speed up performance? Through config, for example?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My desired scenarios would be full deployment to a test environment or dev machine. Any improved performance for that would be desirable. Full deployment currently can take upwards of an hour to accomplish via TDS, and I suspect if Sitecore did not have to create rollback info for every item that is touched, the deployment time would improve substantially. &lt;/p&gt;&#xA;" OwnerUserId="2984" LastActivityDate="2018-02-22T06:34:48.073" Title="Disable __UpgradeHistory rollback (.rlb) creation temporarily" Tags="|configuration|tds|performance-optimization|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10306" PostTypeId="2" ParentId="9671" CreationDate="2018-02-20T00:37:57.513" Score="1" Body="&lt;p&gt;I started getting the same problem after an upgrade. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More specifically each and every time I ran unicorn sync I would get every item being updated:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; Field __Updated by - en#1 - Reset to standard value&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A similar issue is also described &lt;a href=&quot;https://stackoverflow.com/questions/40617232/unicorn-syncing-same-sitecore-items-again-and-again&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found that the following combination helped clear this up.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Running the Sync (you will see the above messages)&lt;/li&gt;&#xA;&lt;li&gt;Reserializing &lt;/li&gt;&#xA;&lt;li&gt;Sync again (messages are gone) &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2018-02-20T00:37:57.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10307" PostTypeId="2" ParentId="2353" CreationDate="2018-02-20T03:14:54.850" Score="3" Body="&lt;p&gt;The best solution I've found so far for this is to use a single rendering variant with different sections that contain the fields for different templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each section then has Rules applied to determine whether it should be rendered and I've based the rules on matching specific templates or template inheritance.&lt;/p&gt;&#xA;" OwnerUserId="3288" LastActivityDate="2018-02-20T03:14:54.850" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10308" PostTypeId="2" ParentId="10304" CreationDate="2018-02-20T06:02:37.713" Score="1" Body="&lt;p&gt;It is managed through the Rules only, if the specific rules satisfied then the related Power shell script will get executed. Please find below screen for you reference.Path to the specific item is &lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/SXA/SXA - Scaffolding/Content Editor/Insert Item&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kuBXt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kuBXt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-20T06:02:37.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10310" PostTypeId="1" AcceptedAnswerId="20003" CreationDate="2018-02-20T06:39:53.863" Score="4" ViewCount="1616" Body="&lt;p&gt;We recently upgraded to &lt;code&gt;Sitecore 9.0 Update-1&lt;/code&gt; from &lt;code&gt;Sitecore 8.2 update 2&lt;/code&gt;.&#xA;When accessing one of the pages in &lt;code&gt;Experience Editor&lt;/code&gt;, we get the following error for one of the renderings used for page banner:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;   &#xA;&gt; 10524 11:48:06 WARN  Could not find type in&#xA;&gt; ReflectionUtil.CreateObject: Sitecore.Web.UI.XslControls.ContentDot&#xA;&gt;     10524 11:48:06 WARN  Could not instantiate xsl control object (tag: 'sc:dot', assembly: 'Sitecore.Kernel', type:&#xA;&gt; 'Sitecore.Web.UI.XslControls.ContentDot')&#xA;&gt;     ManagedPoolThread #1 11:48:07 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;&gt;     ManagedPoolThread #1 11:48:07 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units&#xA;&gt; processed: )&#xA;&gt;     10524 11:48:07 ERROR Failed to render rendering&#xA;&gt;     Exception: System.Xml.XmlException&#xA;&gt;     Message: The ' ' character, hexadecimal value 0x20, cannot be included in a name.&#xA;&gt;     Source: System.Xml&#xA;&gt;        at System.Xml.XmlConvert.VerifyNCName(String name, ExceptionType exceptionType)&#xA;&gt;        at System.Xml.XmlQualifiedName.Verify()&#xA;&gt;        at System.Xml.Xsl.XsltArgumentList.AddParam(String name, String namespaceUri, Object parameter)&#xA;&gt;        at Sitecore.Mvc.Presentation.XsltRenderer.AddParameters(XsltArgumentList&#xA;&gt; arguments)&#xA;&gt;        at Sitecore.Mvc.Presentation.XsltRenderer.GetArguments()&#xA;&gt;        at Sitecore.Mvc.Presentation.XsltRenderer.Render(TextWriter writer)&#xA;&gt;        at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;&gt; renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This rendering has personalization rules applied to it, but other renderings (with/without personalization) seems to work just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; Using personalisation, by default the rendering content is hidden and is shown only when a rule is true. Looking in the experience editor the issue comes when the default (hide) rule is shown. Selecting the other rule, the rendering works just fine.&lt;/p&gt;&#xA;" OwnerUserId="1724" LastEditorUserId="5387" LastEditDate="2019-07-31T10:51:51.277" LastActivityDate="2021-05-04T02:29:01.643" Title="System XML exception for rendering after upgrade" Tags="|experience-editor|presentation|upgrade|" AnswerCount="3" CommentCount="3" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10314" PostTypeId="1" CreationDate="2018-02-20T09:05:01.750" Score="0" ViewCount="143" Body="&lt;p&gt;I see a lot of examples around where people are using &lt;code&gt;Tracker.CurrentVisit.Profiles&lt;/code&gt; in their code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those examples seem to be using older versions of Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know where that collection has migrated to in later versions of Sitecore (i.e. v8.2)?&lt;/p&gt;&#xA;" OwnerUserId="811" LastActivityDate="2018-02-20T09:54:17.400" Title="Where has Tracker.CurrentVisit.Profiles migrated to?" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10315" PostTypeId="1" CreationDate="2018-02-20T09:37:26.830" Score="1" ViewCount="1135" Body="&lt;p&gt;My requirement is to run the publishing scheduler every 10 minutes and clear cache. Do we have any OOB feature, functionality in Sitecore which can be used to do it or we need to write custom job/scheduler. &lt;/p&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="1049" LastEditDate="2018-02-20T11:22:30.980" LastActivityDate="2018-02-20T11:22:30.980" Title="How to add auto publishing scheduler in Sitecore to run every 10 minutes" Tags="|publishing|scheduled-tasks|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10316" PostTypeId="2" ParentId="10315" CreationDate="2018-02-20T09:46:13.187" Score="4" Body="&lt;p&gt;The autopublisher is an agent that is disabled by default. You will find it in the config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:00:00&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;target database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;languages&quot;&amp;gt;en, da&amp;lt;/param&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch the values to set it as you need. You need to change the interval (00:00:00 is disabled) to your needs (also take into account the scheduling frequency) and set the languages. For 10 minutes, the interval is &lt;code&gt;00:10:00&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This agent will perform an incremental publish at the defined interval - don't do it too frequent as it might have a performance hit (cache clear) - and (un)publish the items that have passed their publish dates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might also need to check the scheduling frequency. More info on that in this post: &lt;a href=&quot;http://sitecoreblog.alexshyba.com/sitecore_scheduling_explained/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreblog.alexshyba.com/sitecore_scheduling_explained/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Sitecore Scheduler is basically a background process that is&#xA;  started with the sleep interval defined in the  section&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Within the execution of the Scheduler, it queries the inner contents&#xA;  for the agents defined there and adds to the queue only those agents&#xA;  which marked as &quot;due&quot;. An agent is considered &quot;due&quot;  if the value of&#xA;  the &quot;interval&quot; parameter is less than the timeframe of the last&#xA;  execution.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-02-20T09:46:13.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10317" PostTypeId="2" ParentId="10314" CreationDate="2018-02-20T09:54:17.400" Score="2" Body="&lt;p&gt;Considering that a &lt;code&gt;Visitor&lt;/code&gt; became a &lt;code&gt;Contact&lt;/code&gt; and a &lt;code&gt;Visit&lt;/code&gt; is now called an  &lt;code&gt;Interaction&lt;/code&gt; I would assume you are looking for &lt;code&gt;Tracker.Current.Interaction.Profiles&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you mentioned, a bit more information in &lt;a href=&quot;http://www.coreblimeysitecore.com/blog/where-did-dms-go-in-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this post&lt;/a&gt; from Ian.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-02-20T09:54:17.400" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10318" PostTypeId="1" AcceptedAnswerId="10383" CreationDate="2018-02-20T10:58:39.033" Score="6" ViewCount="1022" Body="&lt;p&gt;I have a &lt;code&gt;Category&lt;/code&gt; field in sitecore and it is currently stored as a &lt;code&gt;text_general&lt;/code&gt; in Solr. It has this type because I need it to be tokenized and lowercase for searching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand I need to do a grouping of the results by this field and for this the field has to be single-valued (single token). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I think that the best way would be to duplicate this field in Solr and store it with two different types: &lt;code&gt;category_s&lt;/code&gt; for grouping and &lt;code&gt;category_t&lt;/code&gt; for searching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to achive this? Is it possible to do this in sitecore config patch without touching the &lt;code&gt;schema.xml&lt;/code&gt; file?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use Solr 6.1 with Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="35" LastEditorUserId="73" LastEditDate="2018-02-20T11:16:32.200" LastActivityDate="2018-02-23T11:46:00.130" Title="What is the best way to store a single Sitecore field into two Solr index fields with different types?" Tags="|solr|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10319" PostTypeId="2" ParentId="12" CreationDate="2018-02-20T11:01:18.123" Score="22" Body="&lt;p&gt;There are several areas which you need to cover if you want your Sitecore solution to be GDPR compliant. The list below is prepared for typical Sitecore XP implementation with common modules like WFFM and EXM.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;1. Secure personal data in rest and in motion&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This covers database encryption and securing the communication. You will find a lot of useful information, how to secure your production environment in Sitecore 9 installation guide. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore stores personal data in:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Core database&lt;/strong&gt;, if you use membership tables to store users profiles.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;SQL Forms/WFFM db&lt;/strong&gt; (if you use WFFM with SQL provider). Sitecore saves every submitted form to db, but you can disable this behaviour in forms settings, if you don't want to save personal data from the form fields.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;xDB&lt;/strong&gt; in Collections:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Identifiers&lt;/strong&gt;, for example if you use email address as an identifier.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Contacts&lt;/strong&gt;. For identified contacts it contains facets like: Personal, Emails, Addresses, etc, but also IDs from List Manager in Tags.Entries.ContactLists (for example EXM opt-in and opt-out list). &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Interactions&lt;/strong&gt;, for example EXM events (open email, open landing page, etc) contain data used for placeholders like first name, last name and email address. Also you should check if personal data is not used in url (in query string parameters) cause it may all be tracked by Sitecore and stored in the collection.   &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;AutomationStates&lt;/strong&gt;, for campaings triggered by EXM, Sitecore stores recipient email addres here in CustomValues.ScExm.Email.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;FormData&lt;/strong&gt; (if you use WFFM with MongoDb provider) Sitecore will store submitted forms data in this collection. &lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore Analytics index&lt;/strong&gt;:&#xA;Sitecore keeps copy of xDB data in Sitecore analytics index. Analytics index is used  in list manager, list of contacts in experience profile, or reports in EXM.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Reporting database&lt;/strong&gt;, Contacts table contains Identifiers (in ExternalUser column) and IDs of lists from List Manager (in ContactTags column).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 9 note:&lt;/strong&gt;&#xA;You can mark data as sensitive by using &lt;code&gt;[PIISensitive]&lt;/code&gt; attribute on facets and facet's properties.&#xA;Such data will be removed if you call &lt;code&gt;ExecuteRightToBeForgotten&lt;/code&gt; method for a contact, but also it will prevent Sitecore from indexing the data.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;2. User rights&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;h2&gt;Right to be forgotten&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8 prior 8.2 Update 7&lt;/strong&gt;: Sitecore doesn't have documented API to remove data from MongoDB, but you can rather easily delete the data using standard MongoDB .Net provider shipped with the platform. &#xA;&lt;br/&gt;For updating Analytics Index you can use &lt;a href=&quot;https://github.com/vhil/helpfulcore-analytics-index-builder&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/vhil/helpfulcore-analytics-index-builder&lt;/a&gt;, or use &lt;code&gt;Sitecore.ContentSearch&lt;/code&gt; API to search and remove documents from the index.&#xA;&lt;br/&gt;If you removed user from list manager (there's no point to keep anonymous users without email address in the list), you will also need to update recipients count in list item using &lt;code&gt;ListManager&amp;lt;TContactList, TContactData&amp;gt;&lt;/code&gt; class to keep your data consistent.&#xA;&lt;br/&gt;Additionally you need to update Contacts table in SQL Reporting database for ContactId equals _id from Contacts collection.&#xA;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Sitecore 8.2 Update 7&lt;/strong&gt;: You can execute new pipeline introduced in this version:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var args = new Sitecore.Analytics.Pipelines.RemoveContactPiiSensitiveData.RemoveContactPiiSensitiveDataArgs(contactId);&#xA;Sitecore.Pipelines.CorePipeline.Run(&quot;removeContactPiiSensitiveData&quot;, args);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also look at &lt;code&gt;RemovePiiSensitiveFacets&lt;/code&gt; processor in &lt;code&gt;Sitecore.Analytics.config&lt;/code&gt; if you want to remove your custom facets.&#xA;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Sitecore 9&lt;/strong&gt;: you can call &lt;code&gt;ExecuteRightToBeForgotten&lt;/code&gt; method from &lt;code&gt;XConnectClient&lt;/code&gt; class: &#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/contacts/right-to-be-forgotten.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/contacts/right-to-be-forgotten.html&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;h2&gt;Right to data rectification&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You should allow the user to change personal facets in &lt;code&gt;Tracker.Current.Contact&lt;/code&gt;.&#xA;&lt;br/&gt;Alternatively in &lt;strong&gt;Sitecore 8&lt;/strong&gt; you will need to directly call &lt;code&gt;ContactManager&lt;/code&gt; and &lt;code&gt;ContactRepository&lt;/code&gt; to lock and update contact. &#xA;&lt;br/&gt;&lt;br/&gt;In &lt;strong&gt;Sitecore 9&lt;/strong&gt; you can use xConnect API to modify contact data: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/contacts/set-contact-facet.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/contacts/set-contact-facet.html&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;h2&gt;Right to be informed&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For every version you need to implement custom message box where you inform the users about their rights and your privacy policy.&#xA;&lt;br/&gt;&lt;br/&gt;&#xA;&lt;strong&gt;Sitecore 8 prior 8.2 Update 7&lt;/strong&gt;: you need to implement custom facet to store  audit trail of when the contact acknowledged the organization's privacy policy.&lt;br&gt;&#xA;&lt;br/&gt;&lt;strong&gt;Sitecore 8.2 Update 7&lt;/strong&gt;: you can use built-in &lt;code&gt;GdprStatus&lt;/code&gt; facet to store privacy policy acknowledged info.&#xA;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Sitecore 9&lt;/strong&gt;: &lt;code&gt;ConsentInformation&lt;/code&gt; facet will be the good place to store privacy policy acknowledged info.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;h2&gt;Right to data portability&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8 prior 8.2 Update 7&lt;/strong&gt;: You can extract all the data form xDB Contacts and Interactions collections using Mongo .Net driver and export it to Json.&#xA;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Sitecore 8.2 Update 7&lt;/strong&gt;: You can call new method in &lt;code&gt;ContactRepositoryBase&lt;/code&gt; to export visits:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactRepository = Sitecore.Configuration.Factory.CreateObject(&quot;contactRepository&quot;, true) as Sitecore.Analytics.Data.ContactRepositoryBase;&#xA;var history = contactRepository.GetInteractionCursor(contactId, visitToLoadPerBatch, maximumSaveDate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;strong&gt;Sitecore 9&lt;/strong&gt;: You can use  xConnect API to export contact data: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/contacts/export-all-contact-data.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/contacts/export-all-contact-data.html&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;3. Limit access to user personal data in Sitecore back-office&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Personal data in Sitecore can be accessed in:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Experience Profile&lt;/strong&gt; (list of contacts and contact details)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;User Manager&lt;/strong&gt; (if you use membership db to store user profiles)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Forms/WFFM&lt;/strong&gt; (submitted form reports and data export)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;List Manager&lt;/strong&gt; (list of contacts and data export)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Email Experience Manager&lt;/strong&gt; (email preview and recipient activity&#xA;report)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Marketing Automation&lt;/strong&gt; (view contacts for active campaigns)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To restrict access you can simply change security settings for those applications in Core db under:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/client/Applications&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and for launchpad buttons under:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For WFFM reports, you will need to change security settings for ribbon button as well:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Applications/Content Editor/Ribbons/Contextual Ribbons/Forms/Form/Forms/Form Reports&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;4. Personal data retention&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;There is not much OOTB. For Sitecore 9 you can only remove sensitive data using right to be forgotten: &#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/deleting-data.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/deleting-data.html&lt;/a&gt;&#xA;&lt;br/&gt;For Sitecore 8, you can use ADM module to remove old data from xDB:&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Check out following blog articles for in-depth analysis of:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://smartsitecore.com/en/sitecore-and-gdpr-in-practice/&quot; rel=&quot;noreferrer&quot;&gt;GDPR and Sitecore in general&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://smartsitecore.com/en/wffm-sitecore-forms-gdpr-practice/&quot; rel=&quot;noreferrer&quot;&gt;GDPR and WFFM/Forms&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://smartsitecore.com/en/exm-gdpr-practice/&quot; rel=&quot;noreferrer&quot;&gt;GDPR and EXM&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2492" LastEditorUserId="2492" LastEditDate="2018-05-07T19:27:58.383" LastActivityDate="2018-05-07T19:27:58.383" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10320" PostTypeId="1" AcceptedAnswerId="10322" CreationDate="2018-02-20T11:02:29.753" Score="5" ViewCount="3811" Body="&lt;p&gt;I have a newly setup XP1 Sitecore 9.0 environment.&#xA;It has single core, master and web databases currently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I’m looking to create a new publishing target/CD server for staging/UAT.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I’ve seen various posts on how to create the target entry in the content editor, but it’s not totally clear if I need a new database for each target.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to create a new webUAT database as a copy of existing web database, and configure my new CD server to use this? Or does it share existing web database? &#xA;Would I have a new entry in connection strings for webUAT on the CM?&lt;/p&gt;&#xA;" OwnerUserId="2302" LastEditorUserId="2890" LastEditDate="2018-02-20T14:54:35.437" LastActivityDate="2018-02-20T14:54:35.437" Title="Setting up multiple publishing targets" Tags="|publishing|sql-database|scaling|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10321" PostTypeId="2" ParentId="10320" CreationDate="2018-02-20T11:21:17.710" Score="0" Body="&lt;p&gt;Your question is bit confusing, In any case if you want to add new publishing target then you have to have replica of you web DB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to configure 2 CD server which points to 2 different Web DBs say Web and WebUAT respectively, then your CM connection string config will have 2 connection string, one is for Web(Sitecore's default) and another for WebUAT(Replica of Web), than you need to create new publishing target item at &lt;code&gt;/sitecore/system/Publishing targets&lt;/code&gt;, You can duplicate the existing target item and update the connection string name. That is all you need to do to add new publishing target.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are many other points you can take in consideration like search index for the new publishing target and so on, which are based on your purpose to create the new publishing target.&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-02-20T11:21:17.710" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10322" PostTypeId="2" ParentId="10320" CreationDate="2018-02-20T11:21:55.060" Score="16" Body="&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say you need create a second publishing target called &lt;code&gt;staging&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Steps&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Publishing Target&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You need to create an item for the new database in the content tree at the path &lt;code&gt;/sitecore/system/Publishing targets&lt;/code&gt;. Then in the field &lt;code&gt;Target Database&lt;/code&gt;, you enter the name like &lt;code&gt;staging&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Database&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now, you need also to create a new database. You can just duplicate the web database and rename it. Example, from &lt;code&gt;Sitecore_Instance_Web&lt;/code&gt; to &lt;code&gt;Sitecore_Instance_Staging&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you need to clear the EventQueue, PublishQueue table of the newly created database.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Config File&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You need to create a patch for the newly created database. Below is an example of the patch you can used&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;databases&amp;gt;&#xA;      &amp;lt;database id=&quot;staging&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;icon&amp;gt;Images/database_web.png&amp;lt;/icon&amp;gt;&#xA;        &amp;lt;securityEnabled&amp;gt;true&amp;lt;/securityEnabled&amp;gt;&#xA;        &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;          &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;            &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;            &amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;              &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Common.config&quot; /&amp;gt;&#xA;              &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Webdb.config&quot; /&amp;gt;&#xA;            &amp;lt;/prefetch&amp;gt;&#xA;          &amp;lt;/dataProvider&amp;gt;&#xA;        &amp;lt;/dataProviders&amp;gt;&#xA;        &amp;lt;proxiesEnabled&amp;gt;false&amp;lt;/proxiesEnabled&amp;gt;&#xA;        &amp;lt;proxyDataProvider ref=&quot;proxyDataProviders/main&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;archives hint=&quot;raw:AddArchive&quot;&amp;gt;&#xA;          &amp;lt;archive name=&quot;archive&quot; /&amp;gt;&#xA;          &amp;lt;archive name=&quot;recyclebin&quot; /&amp;gt;&#xA;        &amp;lt;/archives&amp;gt;&#xA;        &amp;lt;cacheSizes hint=&quot;setting&quot;&amp;gt;&#xA;          &amp;lt;data&amp;gt;100MB&amp;lt;/data&amp;gt;&#xA;          &amp;lt;items&amp;gt;50MB&amp;lt;/items&amp;gt;&#xA;          &amp;lt;paths&amp;gt;2500KB&amp;lt;/paths&amp;gt;&#xA;          &amp;lt;itempaths&amp;gt;50MB&amp;lt;/itempaths&amp;gt;&#xA;          &amp;lt;standardValues&amp;gt;2500KB&amp;lt;/standardValues&amp;gt;&#xA;        &amp;lt;/cacheSizes&amp;gt;&#xA;      &amp;lt;/database&amp;gt;&#xA;    &amp;lt;/databases&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Connection String&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You need to add the new database to the &lt;code&gt;connectionString.config&lt;/code&gt; as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;staging&quot; connectionString=&quot;user id=sa;password=Asdcxz1++;Data Source=(local),10044;Database=Sitecore_Instance_Staging&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Apart from the above, you need to see into the indexing strategy for the database upon a publishing. That is, you may have a custom strategy for rebuilding indexes when publishing to staging database. Example of the patch config will be as shown below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;indexUpdateStrategies&amp;gt;&#xA;          &amp;lt;onStagePublishEndAsync type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;database&quot;&amp;gt;staging&amp;lt;/param&amp;gt;&#xA;            &amp;lt;CheckForThreshold&amp;gt;true&amp;lt;/CheckForThreshold&amp;gt;&#xA;          &amp;lt;/onStagePublishEndAsync&amp;gt;&#xA;        &amp;lt;/indexUpdateStrategies&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in your index you make use of it within the &lt;code&gt;strategies&lt;/code&gt; tag as shown below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;  &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onStagePublishEndAsync&quot; /&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-02-20T11:21:55.060" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10323" PostTypeId="1" AcceptedAnswerId="10425" CreationDate="2018-02-20T12:43:58.190" Score="2" ViewCount="885" Body="&lt;p&gt;Basically, I disabled xDB fully on web site, &#xA;but I still see errors from Analytics&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ERROR Media request analytics failed&#xA;&#xA;Exception:&#xA;  System.InvalidOperationException Message: Tracker.Current is not initialized &#xA;&#xA;Source: Sitecore.Analytics&#xA;  at Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs args) at (Object , Object[] )&#xA;  at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;  at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, Boolean failIfNotExists)&#xA;  at Sitecore.Analytics.Pipelines.StartAnalytics.StartAnalyticsPipeline.Run()&#xA;  at Sitecore.Analytics.Media.MediaRequestEventHandler.StartTracking()&#xA;  at Sitecore.Analytics.Media.MediaRequestEventHandler.OnMediaRequest(Objec sender, EventArgs args)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How to disable analytics for media requests? &lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="153" LastEditDate="2018-02-22T06:05:42.860" LastActivityDate="2024-03-22T03:37:23.003" Title="How to disable analytics for media request analytics failed Exception: System.InvalidOperationException" Tags="|xdb|media-library|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10325" PostTypeId="1" AcceptedAnswerId="10340" CreationDate="2018-02-20T16:17:49.263" Score="2" ViewCount="380" Body="&lt;p&gt;I recently followed this great tutorial to implement workflows on our site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=hFDUgiQCTmU&amp;amp;list=PLfRWjEN_vCUZqAk8ks5j36yM-BCWup-SZ&amp;amp;index=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=hFDUgiQCTmU&amp;amp;list=PLfRWjEN_vCUZqAk8ks5j36yM-BCWup-SZ&amp;amp;index=1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything is set up and works well with changes made in the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However any changes made via the Experience Editor do not register in the Workflow. Whether that be changing text in a component (even ones which alter the core fields), or adding removing components. The notification at the top of the page remains:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The item is in the 'Approved' workflow state in the 'Content Workflow'&#xA;  workflow.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Whereas I would expect it to change to 'draft' state when anything is added / removed / changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on how I can force the Experience Editor to be included in a workflow would be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3138" LastActivityDate="2020-10-07T11:55:29.647" Title="Experience Editor Ignores Workflows" Tags="|experience-editor|publishing|workflow|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10326" PostTypeId="1" CreationDate="2018-02-20T18:12:17.897" Score="2" ViewCount="1840" Body="&lt;p&gt;I recently wrote my first Powershell script for removing an old rendering from a placeholder and replacing it with a new rendering.  For some reason, when the rendering I need to remove is in the Final Layout, only, the script removes everything from the final layout, rather than just removing that one specific controller rendering.  This is the script I'm using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$headerRendering = Get-Item -Path 'master:\sitecore\layout\Renderings\name\Metadata\Header\Header'&#xA;&#xA;$targetDs = Get-Item -Path 'master:\sitecore\content\name\Site &#xA;Assets\Header\DF Header'&#xA;$placeholder = 'layoutHeader'&#xA;$rendering = Get-Item -Path 'master:\sitecore\layout\Renderings\name\Metadata\Header\Header Builder' | New-Rendering -DataSource $targetDs -PlaceHolder $placeholder&#xA;&#xA;$items = Get-ChildItem -Path 'master:\sitecore\content\name' -Recurse&#xA;&#xA;foreach($item in $items) {&#xA;  $headerInstance = Get-Rendering -Item $item -Rendering $headerRendering -Placeholder $placeholder&#xA;&#xA;  if($headerInstance) {&#xA;    Add-Rendering -Item $item -Rendering $rendering -Placeholder $placeholder&#xA;    Remove-Rendering -Item $item -Rendering $headerRendering -Placeholder $placeholder&#xA;    Write-Host &quot;Updated $($item.Name)&quot;&#xA;  }&#xA;&#xA;  $headerFinalInstance = Get-Rendering -Item $item -Rendering $headerRendering -Placeholder $placeholder -FinalLayout&#xA;&#xA;  if($headerFinalInstance) {&#xA;    Remove-Rendering -Item $item -Rendering $headerRendering -Placeholder $placeholder -FinalLayout&#xA;    Add-Rendering -Item $item -Rendering $rendering -Placeholder $placeholder&#xA;    Write-Host &quot;Removed Final Rendering $($item.Name)&quot;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if I'm misunderstanding what the -FinalLayout flag does, or if I'm just misunderstanding the Remove-Rendering command.  I believe I'm using SPE 4.5 for Sitecore 8.  &lt;/p&gt;&#xA;" OwnerUserId="637" LastEditorUserId="637" LastEditDate="2018-02-23T04:56:44.570" LastActivityDate="2018-02-23T04:56:44.570" Title="SPE Remove-Rendering with -FinalLayout Removing all renderings from the Final Layout" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10327" PostTypeId="2" ParentId="9960" CreationDate="2018-02-20T19:07:22.137" Score="0" Body="&lt;p&gt;It's possible the latest minor Google update around Valentine's Day fixed things...I just heard back from Sitecore support who sent me a Screencast, and it wasn't reproducing the issue I found (I think they found another though). When I went into my local environment, I couldn't reproduce it either. Curious how others are doing, but I'm marking this done.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-02-20T19:07:22.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10328" PostTypeId="2" ParentId="9368" CreationDate="2018-02-20T19:39:47.757" Score="2" Body="&lt;p&gt;I got the response from Sitecore that this is registered as a bug in the version 9.0 (initial). I'm not sure this is error as well in 9.0.1 because I raised the issue after update 1 releases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore suggested an alternative way for migrating from On-Prem to Azure and here is from Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unfortunately, overcoming this issue unlikely will help in this specific case, since currently Sitecore XP 9.0 cannot be packaged using Azure Toolkit 2.0 (for now). I'm really sorry for this inconvenience.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;As an alternative approach, let me suggest you the following:&lt;br /&gt;&lt;br /&gt;&#xA;  1. Using Sitecore Azure Marketplace, deploy a clean solution to Azure: &lt;a href=&quot;https://azuremarketplace.microsoft.com/en-us/marketplace/apps/Microsoft.AppSvc_SiteCore_IFrame&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://azuremarketplace.microsoft.com/en-us/marketplace/apps/Microsoft.AppSvc_SiteCore_IFrame&lt;/a&gt; &lt;br /&gt;&#xA;  2. Using FTP access, copy custom file-based content to your solution &lt;br /&gt;&#xA;  3. In the Azure SQL Server firewall, allow access for your IP address, via &lt;a href=&quot;https://portal.azure.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Portal&lt;/a&gt; &lt;br /&gt;&#xA;  4. Connect to Azure SQL databases using the SQL Server Management Studio and restore your databases on top of clean ones &lt;br /&gt;&lt;br /&gt;&#xA;  As a result, you should get a customized solution (with all your files) that contains the custom content (your databases)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you use this approach and finish migrating, don't forget to re-build indexes.&lt;/p&gt;&#xA;" OwnerUserId="554" LastActivityDate="2018-02-20T19:39:47.757" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10330" PostTypeId="1" AcceptedAnswerId="10353" CreationDate="2018-02-21T00:53:01.637" Score="6" ViewCount="1338" Body="&lt;p&gt;I've recently setup SXA.  I have a home page where I've added a title and a rich text field.  Everything was working nicely until I published my Helix solution to my web folder using the gulp script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, any time I try to edit the Home page using the Experience Editor, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Inner Exception: An item with the same key has already been added.&#xA;  at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)&#xA;  at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)&#xA;  at Sitecore.Pipelines.GetChromeData.GetPlaceholderChromeData.Process(GetChromeDataArgs args)&#xA;  at DynamicPlaceholders.Pipelines.GetChromeData.GetDynamicPlaceholderChromeData.Process(GetChromeDataArgs args)&#xA;  at (Object , Object[] )&#xA;  at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;  at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;  at Sitecore.Pipelines.GetChromeData.GetChromeDataPipeline.Run(GetChromeDataArgs args)&#xA;  at Sitecore.Mvc.ExperienceEditor.Presentation.PlaceholderMarker.GetClientData()&#xA;  at Sitecore.Mvc.ExperienceEditor.Presentation.PlaceholderMarker.get_ClientData()&#xA;  at Sitecore.Mvc.ExperienceEditor.Presentation.PlaceholderMarker.GetStart()&#xA;  at Sitecore.Mvc.ExperienceEditor.Presentation.Wrapper..ctor(TextWriter writer, IMarker marker)&#xA;  at Sitecore.Mvc.ExperienceEditor.Pipelines.Response.RenderPlaceholder.AddWrapper.Process(RenderPlaceholderArgs args)&#xA;  at (Object , Object[] )&#xA;  at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;  at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;  at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;  at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;  at Sitecore.XA.Foundation.SitecoreExtensions.Extensions.RazorExtensions.Placeholder(String placeholderName)&#xA;  at ASP._Page_Views_SxaLayout_SxaLayout_cshtml.Execute() in C:\inetpub\wwwroot\XXXXXXX\Views\SxaLayout\SxaLayout.cshtml:line 28&#xA;  at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;  at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;  at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;  at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As a fault-finding step, I removed all of the renderings from the presentation details, but that didn't help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what might be causing this?&lt;/p&gt;&#xA;" OwnerUserId="1490" LastEditorUserId="153" LastEditDate="2018-02-21T19:54:04.807" LastActivityDate="2018-02-21T23:15:35.800" Title="SXA Experience editor throws error - An item with the same key has already been added" Tags="|sxa|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10331" PostTypeId="1" AcceptedAnswerId="10333" CreationDate="2018-02-21T01:01:31.777" Score="1" ViewCount="179" Body="&lt;p&gt;I have a Sitecore PowerShell script and I am using it to insert a rendering at a particular position on the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this, I am using the &lt;code&gt;[-Index &amp;lt;Int32&amp;gt;]&lt;/code&gt; parameter on the &lt;code&gt;Add-Rendering&lt;/code&gt; command.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Add-Rendering -Item $newItemVersion -Rendering $legacyRow -Placeholder &quot;page-body&quot; -FinalLayout -Index 50&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can see the &lt;a href=&quot;https://github.com/Aceik/Aceik-Sitecore-Powershell-Scripts/blob/master/Renderings/DynamicPlaceholders.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;full script here&lt;/a&gt; for more detailed look. Basically, I am looping over a number of items that all need to be updated. Each item has a parent row rendering added. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem I encounter is that an Index of 50 works (a number that seemed to work in my test) on one item but not for others. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On other items, the script throws an error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Add-Rendering : Insertion index was out of range. Must be non-negative&#xA;  and less than or equal to size.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone know, how I properly calculate the Index parameter so that it does not exceed the maximum?&lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="2727" LastEditDate="2018-02-21T12:07:40.077" LastActivityDate="2018-02-21T12:07:40.077" Title="How do I calculate the maximum Index to use with Add-Rendering in a Sitecore PowerShell script?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10332" PostTypeId="1" AcceptedAnswerId="10401" CreationDate="2018-02-21T01:25:20.283" Score="1" ViewCount="474" Body="&lt;p&gt;My Experience Profile is recording lot of results for page visits to sitecore/service/notfound.aspx &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Page Events Page not found  /sitecore/service/notfound.aspx 6 min&#xA;page view       /sitecore/service/notfound.aspx 6 min&#xA;Page Events Page not found  /sitecore/service/notfound.aspx 6 min&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8RzWX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8RzWX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can also see following entries in my IIS logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2018-02-20 23:59:59 127.0.0.1 GET /sitecore/service/notfound.aspx - 80 default\Anonymous 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/58.0.3029.110+Safari/537.36+Edge/16.16299 http://skylight.local/ 404 0 0 6&#xA;2018-02-20 23:59:59 127.0.0.1 GET /-/media/Base-Themes/Core-Libraries/fonts/fontawesome-webfont-ttf.ttf v=4.2.0 80 extranet\Anonymous 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/58.0.3029.110+Safari/537.36+Edge/16.16299 http://skylight.local/ 302 0 0 10&#xA;2018-02-20 23:59:59 127.0.0.1 GET /sitecore/service/notfound.aspx - 80 default\Anonymous 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/58.0.3029.110+Safari/537.36+Edge/16.16299 http://skylight.local/ 404 0 0 2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am not sure from where are these requests coming. Does anyone face similar issue before?&lt;/p&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="2727" LastEditDate="2018-02-21T02:36:47.483" LastActivityDate="2018-02-23T23:11:00.480" Title="Experience Profile interaction visits include notfound.aspx in Sitecore 9 with SXA 1.5" Tags="|xdb|sxa|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10333" PostTypeId="2" ParentId="10331" CreationDate="2018-02-21T02:47:37.320" Score="3" Body="&lt;p&gt;The &lt;code&gt;-Index&lt;/code&gt; property dictates the index of all of the renderings for a specific device. Much like an array, you won't be able to go out of bounds. If you have an item with 51 renderings in your presentation details for a specific device, an index of 50 will work. However, if you have less, you'll get the exception that you just got as your index of 50 won't exist in a smaller-sized rendering collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to append the new rendering to the end, you can leave off the &lt;code&gt;-Index&lt;/code&gt; property altogether and SPE will insert it at the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is different than the &lt;code&gt;SortOrder&lt;/code&gt; field in Sitecore items which takes in an arbitrary number and sorts according to that value.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2018-02-21T02:47:37.320" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10334" PostTypeId="1" AcceptedAnswerId="10337" CreationDate="2018-02-21T03:45:50.000" Score="1" ViewCount="309" Body="&lt;p&gt;When I click on an item in the Sitecore tree, the right hand pane has an &lt;code&gt;Edit&lt;/code&gt; tab displayed by default, rather than the &lt;code&gt;Content&lt;/code&gt; tab. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the past when we didn't have this problem, we'd be able to click on items with the same template, editing a single field in each of the items, and the &lt;code&gt;Content&lt;/code&gt; tab would be open by default, and the right hand pane would be scrolled to the field that was being edited in the previously selected item. We'd like to have that behaviour back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure when this behaviour disappeared, and it may have been after an upgrade or migration of content to a new platform.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked the Standard Values of some of these items - I clicked on Configure &gt; Editors and they do have an &lt;code&gt;Edit&lt;/code&gt; option. I just can't see how to make the &lt;code&gt;Content&lt;/code&gt; tab appear before &lt;code&gt;Edit&lt;/code&gt; (or if that's even possible).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5PWCR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5PWCR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="702" LastActivityDate="2018-02-21T06:24:46.577" Title="Edit tab selected by default" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10335" PostTypeId="2" ParentId="10305" CreationDate="2018-02-21T04:58:51.907" Score="3" Body="&lt;p&gt;I wrote the article about creating rollback packages that you linked to in the comments and dug into the installation process a fair bit. Generally speaking, &lt;code&gt;.update&lt;/code&gt; package are used by Sitecore for upgrade purposes and &lt;code&gt;.zip&lt;/code&gt; packages are generated by the Package Designer for packages items and files. When the zip packages or modules are installed they do not create rollback file, but by design &lt;code&gt;.update&lt;/code&gt; files always create a &lt;code&gt;.rlb&lt;/code&gt; rollback file. For it's intended purposes, this made sense: a customer tries to upgrade, something might go wrong, the rollback and installation history can be used by Sitecore Support to diagnose the upgrade issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The packages generated by TDS has piggy backed on this package format, and the reason for using &lt;code&gt;.update&lt;/code&gt; format and not &lt;code&gt;.zip&lt;/code&gt; is to allow the files to be installed and overwrite any existing files/configs with the same name. If &lt;code&gt;.zip&lt;/code&gt; were used then config files could not be overwritten and they would instead be left in a disabled state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no out of the box way to disable the rollback file generation when &lt;code&gt;.update&lt;/code&gt; packages are installed, either using config settings or disablers, using the Update Installation Wizard, Sitecore Ship or any of the other package installer modules that I am aware of.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Internally in the Sitecore package installer code there are a number of checks in the code whether the &lt;code&gt;rollbackPackagePath&lt;/code&gt; folder has been set, and if not then the package is not generated. If you write your own wrapper around this code then it is possible to disable generation of the rollback file. There are a number of overloads in the &lt;code&gt;InstallPackage()&lt;/code&gt; method of the &lt;code&gt;Sitecore.Update.Installer.DiffInstaller&lt;/code&gt; class, the overloads you are most likely interested in is one of these but be sure to check the others:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public List&amp;lt;ContingencyEntry&amp;gt; InstallPackage(string packagePath)&#xA;&#xA;public List&amp;lt;ContingencyEntry&amp;gt; InstallPackage(string packagePath, string rollbackPackagePath)&#xA;&#xA;public List&amp;lt;ContingencyEntry&amp;gt; InstallPackage(string packagePath, string rollbackPackagePath, string logFolderPath)&#xA;&#xA;public List&amp;lt;ContingencyEntry&amp;gt; InstallPackage(string packagePath, string rollbackPackagePath, string logFolderPath, ILog installationProcessLogger)&#xA;&#xA;public List&amp;lt;ContingencyEntry&amp;gt; InstallPackage(string path, InstallMode mode)&#xA;&#xA;public List&amp;lt;ContingencyEntry&amp;gt; InstallPackage(string path, InstallMode mode, ILog installationProcessLogger)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then install the package using the appropriate overload, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;var path = &quot;C:\path\to\MyProject.TDSMaster.update&quot;;    &#xA;var installer = new DiffInstaller(UpgradeAction.Upgrade);&#xA;diffInstaller.InstallPackage(path, InstallMode.Upgrade)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Remember to also call &lt;code&gt;DiffInstaller.ExecutePostInstallationInstructions()&lt;/code&gt; if you have Post Deployments steps added to your TDS package.    &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using Sitecore.Ship for your update package installation then you can clone the repo and the make the change to &lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship/blob/develop/src/Sitecore.Ship.Infrastructure/Update/UpdatePackageRunner.cs#L48&quot; rel=&quot;nofollow noreferrer&quot;&gt;the code which installs the package&lt;/a&gt;. It would be fairly simple to pass in an additional &quot;disableRollback&quot; flag to allow you to run both modes with an additional parameter similar to how &lt;code&gt;disableIndexing&lt;/code&gt; works. Be sure to read  &lt;code&gt;Working with the Sitecore.Ship Source Code&lt;/code&gt; in the readme file, it's simple to build a custom nuget package afterwards which you can include in your project as a file based location sourced if needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also make use of the SPE [&lt;code&gt;Install-UpdatePackage&lt;/code&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/commands/Install-UpdatePackage.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;2&lt;/a&gt; command and make use of remoting to install the packages. You can take a look at the code that is used to run this command &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/blob/2f6957cda2c8e087dd7f0a3bd7e745996a80e129/Cognifide.PowerShell/Commandlets/UpdatePackages/InstallUpdatePackageCommand.cs#L43&quot; rel=&quot;nofollow noreferrer&quot;&gt;in the Github repo&lt;/a&gt;. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sh prettyprint-override&quot;&gt;&lt;code&gt;Install-UpdatePackage -Path &quot;C:\path\to\MyProject.TDSMaster.update&quot; -UpgradeAction Upgrade -InstallMode Install&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-02-22T06:34:48.073" LastActivityDate="2018-02-22T06:34:48.073" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10336" PostTypeId="1" CreationDate="2018-02-21T05:46:15.847" Score="9" ViewCount="2751" Body="&lt;p&gt;&lt;strong&gt;Context:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently we use Angular JS but our front end team wants to use reactJS as strategic platform. Until Sitecore JSS came out; I had been telling them that Sitecore doesn't support it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read this &lt;a href=&quot;https://jss.sitecore.net/#/sitecore-net-dev?id=for-sitecore-net-developers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/#/sitecore-net-dev?id=for-sitecore-net-developers&lt;/a&gt; but still unsure, how Sitecore JSS SDK will impact on how Sitecore backend develops components. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is how we develop Sitecore and front end components. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;FED creates the mark up on their prototype solution with related Angular JS,SASS,CSS and HTML etc.&lt;/li&gt;&#xA;&lt;li&gt;BED creates MVC controller, actions, glass mapper API and razor views.&lt;/li&gt;&#xA;&lt;li&gt;Once FED completes, we have gulp task which copies the CSS/JS/Images etc from front end prototype to sitecore MVC solution.&lt;/li&gt;&#xA;&lt;li&gt;BED then copies the mark up from prototype solution to razor view and injects the C# objects etc. And makes experience editor compatible.&lt;/li&gt;&#xA;&lt;li&gt;BED also creates sitecore templates, layouts, Controller Renderings and items.&lt;/li&gt;&#xA;&lt;li&gt;Front end components &lt;code&gt;gets&lt;/code&gt;/&lt;code&gt;posts&lt;/code&gt; data using Ajax.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I'm not a front end developer and have very limited knowledge on ReactJS. Reading at JSS documentation, sounds like we need to do LOTS more then above but not sure exactly what. I don't see any benefit of using JSS. Also looks like BED now needs to know ReactJS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Appreciate if someone can clarify steps required for both Front End and Backend perspective.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Abbreviations:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FED = Front-end Developer&#xA;BED = Back-end Developer&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="1965" LastEditDate="2018-07-10T14:17:10.970" LastActivityDate="2018-07-10T14:17:10.970" Title="How does Sitecore JSS impact backend Sitecore development process" Tags="|jss|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10337" PostTypeId="2" ParentId="10334" CreationDate="2018-02-21T06:24:46.577" Score="3" Body="&lt;p&gt;The order of the editor tabs can be controlled by switching to the Core database in desktop mode. Navigate to &lt;code&gt;/sitecore/content/Applications/Content Editor/Editors&lt;/code&gt; and find the definition item for your tab among its descendants. Edit the &lt;code&gt;Tab Sort Order&lt;/code&gt; field to control where it appears.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Content tab is hard-coded with sort order 100. The special search tab with the magnifying glass icon is defined by the item at &lt;code&gt;/sitecore/content/Applications/Content Editor/Editors/Items/New Search&lt;/code&gt; -&#xA; &lt;code&gt;{4C76D96D-3343-404A-834B-0DC4DABB5EE3}&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tabs are sorted from left to right, so if you set the Tab Sort Order for a custom tab to 100 or less, it will appear to the left of the Content tab. If you set it to a value greater than 100, it will appear to the right of the Content tab. If two custom tabs have the same sort order, then the order in which they are selected in the Editors field is also taken into account.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regardless of the order of the tabs, Sitecore should remember which tab you last had open when you are navigating between items. So if you are viewing the Content tab on one item and then select another item, it should keep the Content tab open on the new item.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2018-02-21T06:24:46.577" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10338" PostTypeId="1" CreationDate="2018-02-21T06:27:31.013" Score="4" ViewCount="1137" Body="&lt;p&gt;I am running Sitecore 9 with Solr 6.6.2 and I am seeing lot of error in the IndexWorker logs in Sitecore xConnect as below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;018-02-21 16:16:13.686 +10:00 [Error] An error occured.&#xA;System.Net.Http.HttpRequestException: Response status code does not indicate success: 503 ({metadata={error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException},msg=SolrCore is loading,code=503}).&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Collection.Search.Solr.SolrClient.&amp;lt;SendGetRequestAsync&amp;gt;d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Collection.Search.Solr.SolrRebuildStatusStorage.&amp;lt;ReadStatus&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerHost.&amp;lt;RunRebuildStatusWatcher&amp;gt;d__28.MoveNext() in C:\BA\147b0adf6c2580c7\code\Sitecore.XConnect.Search.Indexer\IndexerHost.cs:line 249&#xA;2018-02-21 16:16:13.687 +10:00 [Error] An error occured.&#xA;System.Net.Http.HttpRequestException: Response status code does not indicate success: 503 ({metadata={error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException},msg=SolrCore is loading,code=503}).&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Collection.Search.Solr.SolrClient.&amp;lt;SendGetRequestAsync&amp;gt;d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Collection.Search.Solr.SolrRebuildStatusStorage.&amp;lt;ReadStatus&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerHost.&amp;lt;RunRebuildStatusWatcher&amp;gt;d__28.MoveNext() in C:\BA\147b0adf6c2580c7\code\Sitecore.XConnect.Search.Indexer\IndexerHost.cs:line 249&#xA;2018-02-21 16:16:13.704 +10:00 [Error] An error occured.&#xA;System.Net.Http.HttpRequestException: Response status code does not indicate success: 503 ({metadata={error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException},msg=SolrCore is loading,code=503}).&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Collection.Search.Solr.SolrClient.&amp;lt;SendGetRequestAsync&amp;gt;d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Collection.Search.Solr.SolrRebuildStatusStorage.&amp;lt;ReadStatus&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerHost.&amp;lt;RunRebuildStatusWatcher&amp;gt;d__28.MoveNext() in C:\BA\147b0adf6c2580c7\code\Sitecore.XConnect.Search.Indexer\IndexerHost.cs:line 249&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is the bussqproject.xconnect-IndexWorker that is throwing this error, anyone come across similar issue?&lt;/p&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="153" LastEditDate="2018-02-21T06:29:17.750" LastActivityDate="2018-02-21T06:29:17.750" Title="Error with indexWorker process in Sitecore 9 xConnect with Solr 6.6.2" Tags="|solr|indexing|xconnect|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10339" PostTypeId="2" ParentId="10336" CreationDate="2018-02-21T07:18:06.760" Score="14" Body="&lt;p&gt;JSS provides a bit different process than you currently work with Angular JS.&#xA;JSS is a playground of Frontend developer (FED) and rendering of components is always preformed by NodeJS engine. I mean that you no longer need to copy markup from prototype solution to razor view and inject the C# objects, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general, there are two approaches working with JSS: &lt;strong&gt;Code First&lt;/strong&gt; and &lt;strong&gt;Sitecore First&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case of using the &lt;strong&gt;Code First&lt;/strong&gt; approach, FED defines Sitecore structures in the &quot;prototype project&quot; via in-code component definitions and route data. Sitecore IA (templates, renderings, etc.) is generated via the import process. In other words, &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;FED creates components (&lt;em&gt;Rendering items&lt;/em&gt; would be created based on them during deployment to the Sitecore process);&lt;/li&gt;&#xA;&lt;li&gt;FED defines contracts (js object with preperties that is used as source for comeponents; &lt;em&gt;Datasource template&lt;/em&gt; items would be created in Sitecore based on them).&lt;/li&gt;&#xA;&lt;li&gt;FED creates routes for defined &lt;em&gt;&quot;Pages&quot;&lt;/em&gt;, which would be created in Sitecore (content items with presentation).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In case of using the &lt;strong&gt;Sitecore First&lt;/strong&gt; approach, Sitecore IA (templates, renderings (empty), etc) are created by the Sitecore developer. FED creates components and mocks route data based on spec/contract provided by BED.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But anyway, creating the components (renderings) and rendering on the page is entirely FED responsibility. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;BED works only with Sitecore IA (if &lt;strong&gt;Sitecore First&lt;/strong&gt; is used), extends the context data (&lt;a href=&quot;https://jss.sitecore.net/#/cookbook/recipes/layoutservice-extending-context&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.net/#/cookbook/recipes/layoutservice-extending-context&lt;/a&gt;), manages the rendering serialization precess (&lt;a href=&quot;https://jss.sitecore.net/#/cookbook/recipes/layoutservice-rendering-contents&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.net/#/cookbook/recipes/layoutservice-rendering-contents&lt;/a&gt;) and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And to answer your last question, BED does not need to know the ReactJS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;JSS looks like a magic, but there is nothing really difficult. I recommend you to set up JSS locally and see how it works.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="713" LastEditDate="2018-02-21T12:23:15.517" LastActivityDate="2018-02-21T12:23:15.517" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10340" PostTypeId="2" ParentId="10325" CreationDate="2018-02-21T07:26:26.347" Score="2" Body="&lt;p&gt;It will be changed to Draft state if you created a new version of the item. Please avoid using your admin access as it will allow you to update the same version of an item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By using content authoring access, User will be forced to create a new version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it helps.&lt;/p&gt;&#xA;" OwnerUserId="2634" LastActivityDate="2018-02-21T07:26:26.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10342" PostTypeId="1" CreationDate="2018-02-21T11:43:25.190" Score="1" ViewCount="766" Body="&lt;p&gt;We have upgraded the application from 7.2 to 8.2 Post restoration we were not able to connect to Sitecore admin console. For accessing executed a query to update the admin account password but somehow all user details are deleted. Is there any way, we can restore them through Sitecore console and without touching SQL Server database as we do not have access to database server. &lt;/p&gt;&#xA;" OwnerUserId="3128" LastActivityDate="2018-06-21T16:27:14.020" Title="Sitecore Core database User table restoration" Tags="|upgrade|sql-database|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10343" PostTypeId="2" ParentId="10342" CreationDate="2018-02-21T12:19:26.837" Score="1" Body="&lt;h3&gt;Yes. But it may not be practical.&lt;/h3&gt;&#xA;&lt;p&gt;Your question shares very little detail about the volume of your userbase and so on. There is also no information on whether the machine key settings and password hashing algorithms are the same across your two instances.&lt;/p&gt;&#xA;&lt;p&gt;However. The User Manager has an option to Serialize All Users. It will serialize the user information to disk. You could then Deserialize All Users on your target instance.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lGHGL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lGHGL.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Just be aware that this will not transfer passwords across.&lt;/p&gt;&#xA;&lt;p&gt;The better option would be, to move the ASP.NEY Membership SQL Tables from your source Core database to your destination Core database.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-02-21T12:19:26.837" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10344" PostTypeId="1" AcceptedAnswerId="10345" CreationDate="2018-02-21T13:23:06.497" Score="6" ViewCount="1366" Body="&lt;p&gt;It looks like out of the box Sitecore is able to prevent the same scheduled task from running simultaneously if a previous run hasn't finished yet (time interval between runs is less than time required to finish a task)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found this info in this blog:&#xA;&lt;a href=&quot;https://briancaos.wordpress.com/2017/08/18/sitecore-scheduled-task-schedule-time-format-and-other-quirks/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2017/08/18/sitecore-scheduled-task-schedule-time-format-and-other-quirks/&lt;/a&gt; &#xA;According to this blog, changing &lt;code&gt;Async&lt;/code&gt; option allows manipulating this behavior, so in theory, we could run the same task simultaneously.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a simple task, that is triggered every one minute and executes the code below. So, the task itself takes five minutes to finish.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Synchronize()&#xA;{&#xA;    _logger.Log.Info(&quot;Synchronization started.&quot;);&#xA;    Thread.Sleep(new TimeSpan(0, 5, 0));&#xA;    _logger.Log.Info(&quot;Synchronization finished.&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When &lt;code&gt;Async&lt;/code&gt; is not checked, it works as expected and in logs I never see anything like two or more tasks running in parallel:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Synchronization started&#xA;Synchronization started&#xA;Synchronization started&#xA;....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;According to Brian's blog checking Async should change this and tasks should start running simultaneously. However, it doesn't happen and Sitecore still prevents the task from triggering a second time if the previous run hasn't finished yet. Strange thing that I see Last Run field being updated every minute when Async is checked, so at least it tries to run it every minute, but it's not reflected in logs!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Roughly speaking in both cases it works as needed, but since I can't force two tasks to run in parallel, not sure if I understand a concept, so have a concern that code won't blow up on a different environment. Is there any setting that I've missed, do I need to write something like follows, etc?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Synchronize()&#xA;{&#xA;    lock (SynchronizeLock)&#xA;    {&#xA;        _logger.Log.Info(&quot;Synchronization started.&quot;);&#xA;        Thread.Sleep(new TimeSpan(0, 5, 0));&#xA;        _logger.Log.Info(&quot;Synchronization finished.&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have Sitecore 7.5 rev. 141003 installed, plus &quot;SITECORE SHELL WAX&quot; plugin to simplify work with schedules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Andrii&lt;/p&gt;&#xA;" OwnerUserId="3295" LastEditorUserId="2890" LastEditDate="2018-02-28T18:34:17.937" LastActivityDate="2018-02-28T18:34:17.937" Title="How to ensure two scheduled tasks won't run in parallel" Tags="|sitecore-client|scheduled-tasks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10345" PostTypeId="2" ParentId="10344" CreationDate="2018-02-21T13:31:50.147" Score="3" Body="&lt;p&gt;&lt;code&gt;async&lt;/code&gt; in task execution means that the agent which runs the tasks will execute task asynchronously instead of synchronously.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you have &lt;strong&gt;TaskA&lt;/strong&gt; and &lt;strong&gt;TaskB&lt;/strong&gt;, if &lt;code&gt;async&lt;/code&gt; is &lt;strong&gt;not&lt;/strong&gt; selected, agent will run first &lt;strong&gt;TaskA&lt;/strong&gt; and after it's finished, it will run &lt;strong&gt;TaskB&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If &lt;code&gt;async&lt;/code&gt; &lt;strong&gt;is&lt;/strong&gt; selected, Agent will start TaskA and immediately after will start TaskB (without waiting for TaskA to finish).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Still, if there is one &lt;strong&gt;TaskA&lt;/strong&gt; already running, Job Manager will not start second &lt;strong&gt;TaskA&lt;/strong&gt;, even if &lt;code&gt;async&lt;/code&gt; &lt;strong&gt;is&lt;/strong&gt; selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a really nice blog post with more information: &lt;a href=&quot;https://sitecorebasics.wordpress.com/2014/09/16/do-you-know-why-you-check-async-checkbox-while-configuring-scheduled-task/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorebasics.wordpress.com/2014/09/16/do-you-know-why-you-check-async-checkbox-while-configuring-scheduled-task/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-02-21T13:44:59.497" LastActivityDate="2018-02-21T13:44:59.497" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10346" PostTypeId="2" ParentId="10342" CreationDate="2018-02-21T14:14:50.213" Score="1" Body="&lt;p&gt;Yes, it is possible to do without touching SQL Server database. There is &lt;a href=&quot;https://kb.sitecore.net/articles/242631&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore KB article&lt;/a&gt; how to transfer user passwords between Sitecore instances.&#xA;It was written for Sitecore 6.5. But as Sitecore 9 also is based on ASP.Net Membership then it should work too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) You need to move user using serialization(either builtin or Unicorn). &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open User Manager on source instance&lt;/li&gt;&#xA;&lt;li&gt;Click &quot;Serialize all users&quot;&lt;/li&gt;&#xA;&lt;li&gt;Find serialized users files on disk&lt;/li&gt;&#xA;&lt;li&gt;Copy serialized users files to target instance&lt;/li&gt;&#xA;&lt;li&gt;Open User Manager on source instance&lt;/li&gt;&#xA;&lt;li&gt;Click &quot;Revert all users&quot;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;2) Copy the TransferUserPasswords.aspx file to the \sitecore\admin folder of your solution.&#xA;3) Request the page using the URL as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;hostname&amp;gt;/sitecore/admin/TransferUserPasswords.aspx&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;4) Enter the connection strings of the source and target Core databases using appropriate text boxes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) Click the Refresh button to get the list of users that exist in both Core databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6) Use the &amp;lt;&amp;lt;&amp;lt; and &gt;&gt;&gt; buttons to select or deselect users for password transferring.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;7) Click the Transfer button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. Don't forget to backup your databases.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-02-21T14:14:50.213" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10347" PostTypeId="1" CreationDate="2018-02-21T14:19:56.877" Score="1" ViewCount="57" Body="&lt;p&gt;While running the express migration tool to migrate application from Sitecore 7.2 to 8.2, the users available in ASPNET_Users is getting truncated to just only to 4 records instead of 10K records. This has created a big issue and looking for option to retain so as these records can be retained while running the tool.&lt;/p&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="2890" LastEditDate="2018-02-21T14:34:46.993" LastActivityDate="2018-02-21T14:34:46.993" Title="Express Migration tool truncating the Core database tables" Tags="|upgrade|express-migration-tool|" AnswerCount="0" CommentCount="1" ClosedDate="2018-02-21T14:50:59.607" ContentLicense="CC BY-SA 3.0" />
  <row Id="10348" PostTypeId="1" CreationDate="2018-02-21T14:22:13.773" Score="1" ViewCount="354" Body="&lt;p&gt;After installing TDS, neither can we open an existing .scproj nor create a new project&#xA; &quot;cannot be opened because its project type .scproj&quot; is the error I get on VS2015 and on VS2017.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TDS-2015 installed with 2015&#xA;TDS-2017 installed with 2017.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both does not work. ie, 1) cannot load exisitng project. 2) cannot create now TDS project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The original solution was developed on VS2015 with TDS 5.5.0.20 (this version only has 2015 VS). So I tried this on 2015. and it does not work either.&lt;/p&gt;&#xA;" OwnerUserId="2028" LastEditorUserId="2028" LastEditDate="2018-02-22T18:03:03.513" LastActivityDate="2018-02-22T18:03:03.513" Title="cannot load/create TDS 2015/2017 (&quot;cannot be opened because its project type .scproj&quot;)" Tags="|tds|" AnswerCount="0" CommentCount="5" ClosedDate="2018-02-21T15:31:28.303" ContentLicense="CC BY-SA 3.0" />
  <row Id="10350" PostTypeId="1" CreationDate="2018-02-21T15:53:56.633" Score="1" ViewCount="66" Body="&lt;p&gt;We have a client site that is spread across 2 cd's and 1 cm which we have migrated to a single server instance for QA purposes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The production site has a public address for the cd's and a private address for the cm server which we have simulated on the QA environment.  Basically 2 bindings point to the same Sitecore.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We seem to be having an issue with search.  If we browse to the site using the binding that was used for the CM server, our search works fine, however when we search on the site that uses the CD binding we get an exception. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a simple null exception in the code, but i am curious as to why the search runs ok using the CM binding but errors using CD binding.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perhaps a config setting?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apologies if this is a bit vague&lt;/p&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="2727" LastEditDate="2018-02-21T18:35:25.590" LastActivityDate="2018-02-21T18:35:25.590" Title="Search results error on single server setup" Tags="|configuration|indexing|lucene|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10351" PostTypeId="2" ParentId="6192" CreationDate="2018-02-21T21:40:15.773" Score="0" Body="&lt;p&gt;When you need the query-elevation component, I would always do that on custom indexes - where only the lastest version is relevant - and therefore the key can be version-static. &#xA;I would do this by adding it to a different core and changing the uniqueKey field to something better than what Sitecore generates ootb.&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2018-02-21T21:40:15.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10352" PostTypeId="1" AcceptedAnswerId="10370" CreationDate="2018-02-21T22:42:37.920" Score="8" ViewCount="270" Body="&lt;p&gt;We want to declare our own map type, so that we can use a more minimal map than the road map; akin to something created using &lt;a href=&quot;https://mapstyle.withgoogle.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mapstyle.withgoogle.com/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The map mode can be defined in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Settings/Feature/Experience Accelerator/Maps/Enums/Map Modes/OurMap&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but it looks like &lt;code&gt;Sitecore.XA.Feature.Maps.Repositories.MapsRepository.MapMode&lt;/code&gt; reads it from data source but then casts it to a &lt;code&gt;MapModes&lt;/code&gt; enum.  This enum is later ToString'd in &lt;code&gt;GetJsonDataProperties&lt;/code&gt; and this appears to be the only place the enum appears to be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like we have to specify our own &lt;code&gt;MapsRepository&lt;/code&gt; and override &lt;code&gt;GetJsonDataProperties&lt;/code&gt; (where &lt;code&gt;MapMode&lt;/code&gt; is ToString'd) just to set our own map mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another way to reduce the features used on a map without affecting the existing MapModes?  Am I missing something?&lt;/p&gt;&#xA;" OwnerUserId="3288" LastEditorUserId="73" LastEditDate="2018-02-22T07:52:20.893" LastActivityDate="2018-02-22T15:15:31.780" Title="Custom Map Mode in the Maps component" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10353" PostTypeId="2" ParentId="10330" CreationDate="2018-02-21T23:15:35.800" Score="3" Body="&lt;p&gt;Thanks Gatogordo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It turned out that we had some custom dynamic placeholder code.  Commenting out the .config that had the pipelines stopped the error.  Now I'll have to clean it out completely.&lt;/p&gt;&#xA;" OwnerUserId="1490" LastActivityDate="2018-02-21T23:15:35.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10354" PostTypeId="5" CreationDate="2018-02-22T04:59:35.960" Score="0" Body="&lt;p&gt;Marketing Automation provides you with a new way to create automated online campaigns in Sitecore. With a user-friendly drag-and-drop interface, Marketing Automation provides an extendible set of tools that enable you to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Enroll contacts into automation campaigns. &lt;/li&gt;&#xA;&lt;li&gt;Evaluate contacts based on defined rules.&lt;/li&gt;&#xA;&lt;li&gt;Perform various marketing actions for individual contacts. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_automation/marketing_automation_campaigns/marketing_automation_campaigns&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_automation/marketing_automation_campaigns/marketing_automation_campaigns&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/company/blog/450/marketing-automation-means-engagement-4167&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/company/blog/450/marketing-automation-means-engagement-4167&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_automation/marketing_automation_campaigns/create_a_marketing_automation_campaign&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_automation/marketing_automation_campaigns/create_a_marketing_automation_campaign&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/products/sitecore-experience-platform/cross-channel-delivery&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/products/sitecore-experience-platform/cross-channel-delivery&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T06:51:45.873" LastActivityDate="2018-02-22T06:51:45.873" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10355" PostTypeId="4" CreationDate="2018-02-22T04:59:35.960" Score="0" Body="Questions related to Sitecore Marketing Automation can be tagged here. " OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-02-22T06:50:53.087" LastActivityDate="2018-02-22T06:50:53.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10356" PostTypeId="1" CreationDate="2018-02-22T06:15:39.843" Score="3" ViewCount="800" Body="&lt;p&gt;I have a Sitecore 9.0.1 instance running in Azure and uses Azure Search. My search index is working as far as I know and can be rebuilt. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Earlier this week, I hit the problem with &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6311/sitecore-azure-search-service-index-limitation-1000-fields-per-index?noredirect=1&quot;&gt;Sitecore Azure search service index limitation : 1000 fields per index&lt;/a&gt; and updated my Sitecore.ContentSearch.Azure.Index.Master.config to target specific item paths instead of /sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's how it looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;  &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;    &amp;lt;Root&amp;gt;/sitecore/content/Government/SITE1&amp;lt;/Root&amp;gt;&#xA;  &amp;lt;/crawler&amp;gt;&#xA;  &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;    &amp;lt;Root&amp;gt;/sitecore/media library/Project/Government/SITE1&amp;lt;/Root&amp;gt;&#xA;  &amp;lt;/crawler&amp;gt;&#xA;  &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;    &amp;lt;Root&amp;gt;/sitecore/templates/Project/Government/SITE1&amp;lt;/Root&amp;gt;&#xA;  &amp;lt;/crawler&amp;gt;&#xA;  &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;    &amp;lt;Root&amp;gt;/sitecore/templates/Web Forms for Marketers&amp;lt;/Root&amp;gt;&#xA;  &amp;lt;/crawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3tZeg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3tZeg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But looking at the sitecore logs, sitecore expects that I include /sitecore into my index crawler. However, my dilemma is that when I did include /sitecore into my crawler then I will re-introduce with 1000 fields per index limitation issue again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the very least, I am trying to avoid excluding fields one by one. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;.&#xA;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Update 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I noticed that my content search functionality inside the Sitecore content editor is returning no result. By checking the log files, it returns the &lt;code&gt;'There is no appropriate index for /sitecore - {11111111-1111-1111-1111-111111111111}&lt;/code&gt; issue again. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/sJz7G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sJz7G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I undo all the crawlers that I added and started to exclude templates one by one. I am making progress, but this will take a while for me to exclude all templates - including systems and settings templates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any other workarounds? Any ideas? &lt;/p&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="1605" LastEditDate="2018-02-22T16:16:38.233" LastActivityDate="2018-02-22T16:54:41.583" Title="Sitecore Azure Search - There is no appropriate index for /sitecore - {11111111-1111-1111-1111-111111111111}" Tags="|content-search|indexing|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10357" PostTypeId="2" ParentId="10356" CreationDate="2018-02-22T06:37:56.513" Score="3" Body="&lt;p&gt;To include the sitecore root (/sitecore), enable the AddIncludeTemlate in Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config and add the root template. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;  &amp;lt;root&amp;gt;{C6576836-910C-4A3D-BA03-C277DBD3B827}&amp;lt;/root&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your logs should show something like this now: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AnMBq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AnMBq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This one will work only if you do not search directly from the content&#xA;  editor. See my &lt;strong&gt;Update 1&lt;/strong&gt; above.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="1605" LastEditDate="2018-02-22T16:54:41.583" LastActivityDate="2018-02-22T16:54:41.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10358" PostTypeId="1" CreationDate="2018-02-22T06:44:59.093" Score="2" ViewCount="312" Body="&lt;p&gt;Using 3 CD server to host my sitecore site. Using load balancer navigating the traffic on servers. Some time one of the CD server site goes down how we can get notification. Is there any way run some scheduler to ping or &lt;code&gt;keepalive.aspx&lt;/code&gt; we can extend any idea ?&lt;/p&gt;&#xA;" OwnerUserId="579" LastEditorUserId="73" LastEditDate="2018-02-22T07:40:04.483" LastActivityDate="2018-02-22T12:43:34.703" Title="One CD server site goes down-Notification" Tags="|sitecore-api|scheduled-tasks|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10359" PostTypeId="2" ParentId="10358" CreationDate="2018-02-22T08:02:20.250" Score="1" Body="&lt;p&gt;First of all, keepalive.aspx will be requested by Sitecore automatically based on a schedule task configured in Sitecore.config that run every 15 min to keep the instance live.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.UrlAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;url&quot;&amp;gt;/sitecore/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA;    &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;\&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In order to monitor your CDs response, you can build a monitoring tool that will ping the website each &lt;strong&gt;&lt;em&gt;x&lt;/em&gt;&lt;/strong&gt; sec; hence, you can measure your website availability.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, You will be informed about the exact time that your instance was down for further investigation from Server/Sitecore logs.&lt;/p&gt;&#xA;" OwnerUserId="2634" LastActivityDate="2018-02-22T08:02:20.250" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10360" PostTypeId="2" ParentId="10358" CreationDate="2018-02-22T09:06:32.537" Score="0" Body="&lt;p&gt;We have a few ways to solve this kind of issues:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;add your url to the hosts file on the server with &lt;code&gt;127.0.0.1&lt;/code&gt;. Otherwise the request for the keepalive might go through the loadbalancer and you don't have any guarantee that all your servers are hit - possible causing one or more to fall asleep. With this loopback the keealive should go to it's own server.&lt;/li&gt;&#xA;&lt;li&gt;use ports to drive traffic to a specific server (eg. 8001 for CD1, 8002 for CD2, ...). You can configure your loadbalancer to handle this - just make sure it's not accessible for everyone. This way you can monitor each server separately.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastEditorUserId="1470" LastEditDate="2018-02-22T10:45:21.960" LastActivityDate="2018-02-22T10:45:21.960" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10361" PostTypeId="1" CreationDate="2018-02-22T09:51:25.790" Score="4" ViewCount="1404" Body="&lt;p&gt;When I get a ListView with script results and want to export the results to Excel etc., nothing happens when I click on the buttons.&#xA;I do however get an error in the developer tools console:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Failed to call scGetFrameValue in IFrame tag. This typically happens due to a Permission Denied exception in IE9 caused by an intricate issue with Popup and ShowModalDialog calls. Blocked a frame with origin &amp;quot;http://whatever.local&amp;quot; from accessing a cross-origin frame.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This is in the newest version of both Chrome and Firefox. I am using SPE 4.7.2 and Sitecore 8.2 update 5&lt;/p&gt;&#xA;&lt;p&gt;Did anyone experience this problem before? When googling it, I can find some issues with Sitecore Experience Editor and jQuery noConflict, but I don't have that issue.&lt;/p&gt;&#xA;" OwnerUserId="1414" LastEditorUserId="251" LastEditDate="2021-05-27T06:43:09.620" LastActivityDate="2023-03-10T10:53:04.857" Title="Export of script results to Excel not working" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10362" PostTypeId="2" ParentId="10207" CreationDate="2018-02-22T09:58:11.113" Score="1" Body="&lt;p&gt;Tracker/Mongo DB is no more available with Sitecore 9.0. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should use xConnect server/API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the xConnect and Sitecore 9.0 Facet you can get the require information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For using xConnect you can see few example here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jitendrasitecore.wordpress.com/2018/02/02/xconnect-saving-user-profile-information-using-xconnect/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jitendrasitecore.wordpress.com/2018/02/02/xconnect-saving-user-profile-information-using-xconnect/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jitendrasitecore.wordpress.com/2018/02/12/xconnect-create-custom-facet/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jitendrasitecore.wordpress.com/2018/02/12/xconnect-create-custom-facet/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="3209" LastEditDate="2018-02-22T10:23:07.023" LastActivityDate="2018-02-22T10:23:07.023" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10363" PostTypeId="5" CreationDate="2018-02-22T10:04:31.880" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-02-22T10:04:31.880" LastActivityDate="2018-02-22T10:04:31.880" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10364" PostTypeId="4" CreationDate="2018-02-22T10:04:31.880" Score="0" Body="Bundling combine or bundle multiple files into a single file. You can create CSS, JavaScript and other bundles. Fewer files means fewer HTTP requests and that can improve first page load performance. All questions related to this in Sitecore reference, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-02-22T17:18:36.860" LastActivityDate="2018-02-22T17:18:36.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10365" PostTypeId="2" ParentId="10358" CreationDate="2018-02-22T12:43:34.703" Score="1" Body="&lt;p&gt;Looks like you have very inefficient infrastructure if one of your instances doesn't get any requests through some period of time and it causes application pool shutdown. You can think on shrinking of amount of CD servers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Timeout, when application pool shutting down is controlled by &lt;em&gt;Idle Time-out&lt;/em&gt; setting. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open IIS manager on your server&lt;/li&gt;&#xA;&lt;li&gt;Open Advanced Settings of Application pool that is used for your website&lt;/li&gt;&#xA;&lt;li&gt;Set &lt;em&gt;Idle Time-out&lt;/em&gt; setting to 0. (it means that application pool will never shut down, even remaining idle through long period of time)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bMwx0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bMwx0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-02-22T12:43:34.703" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10366" PostTypeId="2" ParentId="10361" CreationDate="2018-02-22T12:57:09.397" Score="4" Body="&lt;p&gt;I finally figured this out by looking at closed issues on the GitHub page, where someone had a similar issue, and it was similar to mine.&lt;/p&gt;&#xA;&lt;p&gt;We have a custom &lt;code&gt;ItemNotFoundResolver&lt;/code&gt; pipeline, and needed to add &lt;code&gt;/-/script&lt;/code&gt; to the URLs to ignore.&lt;/p&gt;&#xA;" OwnerUserId="1414" LastEditorUserId="251" LastEditDate="2023-03-10T10:53:04.857" LastActivityDate="2023-03-10T10:53:04.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10367" PostTypeId="1" CreationDate="2018-02-22T13:40:11.423" Score="1" ViewCount="359" Body="&lt;p&gt;We have couple of sites configured under one Sitecore instance  for different languages, for example one for &quot;Australia(en-AU)&quot; and one for &quot;Korea(KR)&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Azure search and observing when we are performing site search the results are doubled for Australia site(all contents in Sitecore have two versions- &quot;en&quot; and &quot;en-AU&quot;) i.e getting results from &quot;en&quot; version and &quot;en-AU&quot; version both. &#xA;This seems to be working fine for other language i.e Korea as an example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search expresssion has language code added to it as filter :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.ContentSearch.Linq.Parsing.IHasNativeQuery.Query = {Search&#xA;expression: &amp;amp;search=language_1:(en\-AU)&amp;amp;$filter=(all_templates/any(t:t&#xA;eq 'cedd694630184d5ga5453e3214985678')) and latestversion_1}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Are we missing anything here? please suggest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version: &lt;strong&gt;Sitecore 8.2 update 4&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="1316" LastEditorUserId="2890" LastEditDate="2018-02-22T16:58:08.117" LastActivityDate="2018-02-22T16:58:08.117" Title="Multiple language items in search results" Tags="|multilingual|azure-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10368" PostTypeId="2" ParentId="10367" CreationDate="2018-02-22T13:51:39.590" Score="3" Body="&lt;p&gt;This is a known bug for Sitecore 9. I assume it will also be present in your version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check here: &lt;a href=&quot;https://kb.sitecore.net/articles/125044&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/125044&lt;/a&gt; The bug number in v9 is 171546.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When Azure Search performs a search query that contains a hyphen for&#xA;  items that are filtered by language, it returns the item for all&#xA;  languages. (171546)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Contact Sitecore Support and you should be able to get a patch for it.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-02-22T15:19:42.447" LastActivityDate="2018-02-22T15:19:42.447" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10369" PostTypeId="2" ParentId="10323" CreationDate="2018-02-22T14:09:51.153" Score="0" Body="&lt;p&gt;You need to set the &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; setting to &lt;code&gt;false&lt;/code&gt;. The first thing the &lt;code&gt;OnMediaRequest&lt;/code&gt; method does is check that setting and exit if it is &lt;code&gt;false&lt;/code&gt;. You could not get the stack trace shown if that setting were &lt;code&gt;false&lt;/code&gt;. Check the &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; page to confirm the setting after all config patches have been merged in.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2018-02-22T14:09:51.153" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10370" PostTypeId="2" ParentId="10352" CreationDate="2018-02-22T14:25:03.333" Score="1" Body="&lt;p&gt;Map mode string which is passed to the &lt;code&gt;component-map.js&lt;/code&gt; and later on passed to &lt;code&gt;google-maps-connector.js&lt;/code&gt; or &lt;code&gt;bing-maps-connector.js&lt;/code&gt; depending on what map provider are you using. This mode is next used to create a certain map and inform Google or Bing map in which mode render.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to extend Google or Bing with an additional mode which recently becomes available for one of those then yes - your thinking is correct. I would:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create new repository which is inheriting from MapsRepository&lt;/li&gt;&#xA;&lt;li&gt;Override just MapMode property (it's virtual as most of the things in SXA)&lt;/li&gt;&#xA;&lt;li&gt;Replace current IMapsRepository implementation which is in the container with your one.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;There is one more way - if you always want to use this new map mode then override &lt;code&gt;component-map.js&lt;/code&gt; and just hardcode this mode there (line 197). In that case, you don't need any backend code changes.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-02-22T15:15:31.780" LastActivityDate="2018-02-22T15:15:31.780" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10371" PostTypeId="1" CreationDate="2018-02-22T14:50:08.440" Score="0" ViewCount="1453" Body="&lt;p&gt;What is the recommended best approach to scheduled publish/unpublish strategy?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, I'd want to be able to make a page or rendering on a page to publish/unpublish at a specific date/time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe I have to enable the scheduler in a config file, but I don't want to have the cache invalided every time this runs, and also don't want to cut content editors working on to publish before they're ready.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running &lt;code&gt;Sitecore 9&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2302" LastEditorUserId="2056" LastEditDate="2018-02-23T14:44:05.803" LastActivityDate="2018-02-23T14:44:05.803" Title="Scheduled publish/unpublish strategy" Tags="|publishing|publishing-service|scheduled-tasks|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10372" PostTypeId="2" ParentId="10336" CreationDate="2018-02-22T15:55:06.857" Score="5" Body="&lt;p&gt;There's a &lt;a href=&quot;https://github.com/Sitecore/jss/tree/master/samples/basic-sample-angular&quot; rel=&quot;noreferrer&quot;&gt;basic sample angular&lt;/a&gt; sample you can take a look at if you wanted to maintain using Angular.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you choose the code first approach I recommend showing the front-end team a few things in Sitecore e.g. placeholders settings and the use of the experience editor to help them understand the data structure they will need to work with.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example taken from the JSS documentation:-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  name: 'home',&#xA;  displayName: 'Home',&#xA;  placeholders: {&#xA;    main: [&#xA;      {&#xA;        componentName: 'Welcome',&#xA;        fields: {&#xA;          title: {&#xA;            value: 'Sitecore Experience Platform + JSS',&#xA;          },&#xA;          text: {&#xA;            value: '&amp;lt;p&amp;gt;...&amp;lt;/p&amp;gt;',&#xA;          },&#xA;          logoImage: {&#xA;            value: {&#xA;              src: '/assets/img/sc_logo.png',&#xA;              alt: 'Logo'&#xA;            },&#xA;          },&#xA;        }&#xA;      }&#xA;    ]&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this adds to the above answer.&lt;/p&gt;&#xA;" OwnerUserId="2729" LastActivityDate="2018-02-22T15:55:06.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10374" PostTypeId="1" CreationDate="2018-02-22T17:54:57.113" Score="2" ViewCount="453" Body="&lt;p&gt;We have custom indexer which indexes all the RTF Data in present in content tree&#xA;and this indexed RTF Data can have Div's ,breaker Tags and anchor tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we get search result out from Solr we need to show only 150 Characters from this custom RTF field and this caused HTML to break at front end since Solr is returning 150 Characters inclusive of tags which is causing broken HTML at front end&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can not strip HTML while indexing because we need anchor tags to be shown in result&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Solution to this guys&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="2890" LastEditDate="2018-02-23T06:46:44.887" LastActivityDate="2018-04-26T04:03:03.890" Title="Sitecore HTML Indexing" Tags="|solr|indexing|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10375" PostTypeId="2" ParentId="10371" CreationDate="2018-02-23T00:40:31.067" Score="3" Body="&lt;p&gt;We’ve used this module to great effect before and it is much more feature rich than the out of the box auto publishing task:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It’s by the Hedgehog Guys, it’s also on GitHub here with docs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/SCScheduledPublishing&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/HedgehogDevelopment/SCScheduledPublishing&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I’ve not tried it with Sitecore 9 yet and it doesn’t say it works with 9 but it may well work, maybe install it on a dev instance and see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The difference with this module is content editors get some nice new buttons in the ribbon next to publish where they can choose when to publish/unpublish their items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7k2Yr.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7k2Yr.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It allows you to set a time and also supports versions which is nice:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dpmEm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dpmEm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They can see any other scheduled publish/unpublish too too:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Dyk00.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Dyk00.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I recall you can get it to send an email when something published too and control who can see the buttons too which is pretty nice.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-02-23T01:18:23.080" LastActivityDate="2018-02-23T01:18:23.080" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10376" PostTypeId="2" ParentId="10310" CreationDate="2018-02-23T02:05:40.833" Score="5" Body="&lt;p&gt;Your issue may be in your &lt;code&gt;Sitecore.config&lt;/code&gt; file. The &lt;code&gt;sc:dot&lt;/code&gt; XSL rendering was deprecated in 8.2 but still had some references in the &lt;code&gt;Sitecore.config&lt;/code&gt; file, specifically in the &lt;code&gt;sitecore/xslExtensions&lt;/code&gt; and &lt;code&gt;sitecore/xslControls&lt;/code&gt; nodes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8.2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;xslExtensions&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.Xml.Xsl.XslHelper, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/sc&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.MainUtil, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/util&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.DateUtil, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/dateutil&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.Web.UI.WebControls.ContentDot, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/dot&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.Xml.Xsl.SqlHelper, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/sql&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.StringUtil, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/stringutil&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/xslExtensions&amp;gt;&#xA;&amp;lt;xslControls&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:date&quot; type=&quot;Sitecore.Web.UI.XslControls.Date&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:dot&quot; type=&quot;Sitecore.Web.UI.XslControls.ContentDot&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:html&quot; type=&quot;Sitecore.Web.UI.XslControls.Html&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:image&quot; type=&quot;Sitecore.Web.UI.XslControls.Image&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:link&quot; type=&quot;Sitecore.Web.UI.XslControls.Link&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:memo&quot; type=&quot;Sitecore.Web.UI.XslControls.Memo&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:sec&quot; type=&quot;Sitecore.Web.UI.XslControls.Security&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:text&quot; type=&quot;Sitecore.Web.UI.XslControls.Text&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:wordstyle&quot; type=&quot;Sitecore.Web.UI.XslControls.WordStyle&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:enableSecurity&quot; type=&quot;Sitecore.Web.UI.XslControls.EnableSecurity&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:disableSecurity&quot; type=&quot;Sitecore.Web.UI.XslControls.DisableSecurity&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:editFrame&quot; type=&quot;Sitecore.Web.UI.XslControls.EditFrame&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;/xslControls&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 9.0.1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;xslExtensions&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.Xml.Xsl.XslHelper, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/sc&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.MainUtil, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/util&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.DateUtil, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/dateutil&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.Xml.Xsl.SqlHelper, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/sql&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;extension mode=&quot;on&quot; type=&quot;Sitecore.StringUtil, Sitecore.Kernel&quot; namespace=&quot;http://www.sitecore.net/stringutil&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/xslExtensions&amp;gt;&#xA;&amp;lt;xslControls&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:date&quot; type=&quot;Sitecore.Web.UI.XslControls.Date&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:dot&quot; type=&quot;Sitecore.Web.UI.XslControls.ContentDot&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:html&quot; type=&quot;Sitecore.Web.UI.XslControls.Html&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:image&quot; type=&quot;Sitecore.Web.UI.XslControls.Image&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:link&quot; type=&quot;Sitecore.Web.UI.XslControls.Link&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:memo&quot; type=&quot;Sitecore.Web.UI.XslControls.Memo&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:sec&quot; type=&quot;Sitecore.Web.UI.XslControls.Security&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:text&quot; type=&quot;Sitecore.Web.UI.XslControls.Text&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:wordstyle&quot; type=&quot;Sitecore.Web.UI.XslControls.WordStyle&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:enableSecurity&quot; type=&quot;Sitecore.Web.UI.XslControls.EnableSecurity&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:disableSecurity&quot; type=&quot;Sitecore.Web.UI.XslControls.DisableSecurity&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;control mode=&quot;on&quot; tag=&quot;sc:editFrame&quot; type=&quot;Sitecore.Web.UI.XslControls.EditFrame&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;/xslControls&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll notice that the Sitecore 9 &lt;code&gt;xslExtensions&lt;/code&gt; configuration node has had the &lt;code&gt;Sitecore.Web.UI.WebControls.ContentDot&lt;/code&gt; reference removed. This is because that class has been removed entirely from &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt; where as it was only marked as deprecated in 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first 2 warnings in your log snippet...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;10524 11:48:06 WARN Could not find type in ReflectionUtil.CreateObject: Sitecore.Web.UI.XslControls.ContentDot`&#xA;10524 11:48:06 WARN Could not instantiate xsl control object (tag: 'sc:dot', assembly: 'Sitecore.Kernel', type: 'Sitecore.Web.UI.XslControls.ContentDot')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;...actually shows up in a fresh install of 9.0.1! This is likely due to this line in &lt;code&gt;sitecore/xslControls&lt;/code&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;control mode=&quot;on&quot; tag=&quot;sc:dot&quot; type=&quot;Sitecore.Web.UI.XslControls.ContentDot&quot; assembly=&quot;Sitecore.Kernel&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm guessing that if you want to get rid of that warning, you can remove this line as well since &lt;code&gt;Sitecore.Web.UI.XslControls.ContentDot&lt;/code&gt; no longer exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would double check to make sure that during your upgrade you have removed the line from &lt;code&gt;sitecore/xslExtensions&lt;/code&gt; in your &lt;code&gt;Sitecore.config&lt;/code&gt; file. It's also probably safe to remove the one in &lt;code&gt;sitecore/xslControls&lt;/code&gt; as well.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2018-02-23T02:05:40.833" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10378" PostTypeId="1" AcceptedAnswerId="10933" CreationDate="2018-02-23T05:41:33.397" Score="3" ViewCount="346" Body="&lt;p&gt;We are seeing an issue in multiple environments where Sitecron sometimes fails to initialize. In the log files, we see the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;4072 16:16:03 INFO  Initialize Sitecron&#xA;4072 16:16:10 ERROR Sitecron ERROR: Object reference not set to an instance of an object.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, Sitecron does not log a full stack trace, so it is difficult to know what is going wrong. Looking at the code, I can see that this must happen before it attempts to load job definition items from Sitecore. Otherwise, I would see additional messages in the log. Currently, it seems to me that either the call to &lt;code&gt;StdSchedulerFactory.GetDefaultScheduler()&lt;/code&gt; is returning &lt;code&gt;null&lt;/code&gt; or the exception is being thrown within that call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are on Sitecore 8.2 update 2. We started seeing this error while using Sitecron 1.1.6, but I just upgraded to the latest version 2.2 in the hopes that it would help. Unfortunately, I saw the error again as soon as I deployed to the dev server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be causing this intermittent error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the error only happens occasionally. After the initial failure, I can get it to initialize by updating a job item or by calling the &lt;code&gt;ScheduleHelper.InitializeScheduler()&lt;/code&gt; via SPE.&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2018-02-23T15:26:23.863" LastActivityDate="2018-03-20T21:27:25.017" Title="Why does Sitecron initialization sometimes fail?" Tags="|module|sitecron|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10379" PostTypeId="5" CreationDate="2018-02-23T07:16:52.783" Score="0" Body="&lt;p&gt;SiteCron module provides an advanced way to run Cron based scheduling jobs using Sitecore and Quartz Scheduler. It uses the CronTrigger functionality to help you schedule simple to complex jobs.&lt;/p&gt;&#xA;&lt;p&gt;Add your scheduled jobs at &lt;code&gt;/sitecore/system/Modules/Sitecron&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can get more information about the Cron triggers and examples from Quartz Scheduler website at:&#xA;&lt;a href=&quot;http://www.quartz-scheduler.net/documentation/quartz-2.x/tutorial/crontriggers.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.quartz-scheduler.net/documentation/quartz-2.x/tutorial/crontriggers.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Sitecron comes with a sample script called SampleLogJob which logs an info log entry based on the schedule you set. Make sure any implementations of schedule jobs inherit Quartz.IJob.&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-07-23T11:45:59.193" LastActivityDate="2021-07-23T11:45:59.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10380" PostTypeId="4" CreationDate="2018-02-23T07:16:52.783" Score="0" Body="SiteCron marketplace module provides an advanced way to run Cron based scheduling jobs using Sitecore and Quartz Scheduler. It uses the CronTrigger functionality to help you schedule simple to complex jobs. https://marketplace.sitecore.net/Modules/S/Sitecron&#xD;&#xA;All questions related to it, should use this tag." OwnerUserId="2727" LastEditorUserId="237" LastEditDate="2018-02-23T08:21:16.790" LastActivityDate="2018-02-23T08:21:16.790" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10381" PostTypeId="1" CreationDate="2018-02-23T10:35:59.800" Score="0" ViewCount="254" Body="&lt;p&gt;I am trying to create an EXM campaign. Somehow, I can send a test e-mail but it always fail, when I try to send it to a list of recipients. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I did&lt;/strong&gt;:&lt;br/&gt;&#xA;1- Create a new list by uploading a CSV file (successful but list is only available in English version)&lt;br&gt;&#xA;2- Create my email campaign&lt;br&gt;&#xA;3- Assign the list to my email campaign. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Expected result&lt;/strong&gt;: &#xA;No error message should be shown and EXM is able to retrieve and process the list&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Actual result&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[ArgumentNullException: Value cannot be null. Parameter name: list]   &#xA;  Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName) +63&#xA;  Sitecore.ListManagement.ListManager`2.GetContacts(TContactList list) +39&#xA;  Sitecore.Modules.EmailCampaign.RecipientManager.GetMessageRecipients() +119&#xA;  Sitecore.Modules.EmailCampaign.RecipientManager.GetTargetRecipientCount() +14&#xA;  Sitecore.Modules.EmailCampaign.Core.MessageStateInfo.get_NumSubscribers() +49&#xA;  Sitecore.Modules.EmailCampaign.Core.MessageInfo.get_To() +77&#xA;  Sitecore.EmailCampaign.Cm.sitecore_modules.Shell.EmailCampaign.UI.Editors.MessagePreviewPage.FillMessageHeader(MessageInfo info) +266&#xA;  Sitecore.EmailCampaign.Cm.sitecore_modules.Shell.EmailCampaign.UI.Editors.MessagePreviewPage.FillPreviewSection() +254&#xA;  System.Web.UI.Control.LoadRecursive() +154&#xA;  System.Web.UI.Control.LoadRecursive() +251   &#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4088&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additional information&lt;/strong&gt;:&lt;br/&gt;&#xA;I am using this patch &lt;a href=&quot;https://sitecore.app.box.com/s/1okdk19c769x1874yauoltmtitq51qur&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Support.162905-8.2.3.0.zip&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;:&lt;br/&gt;&#xA;I am pretty sure that either I am doing something wrong or forgot to configure something, can somebody help?&lt;/p&gt;&#xA;" OwnerUserId="1980" LastEditorUserId="153" LastEditDate="2018-02-24T15:29:00.267" LastActivityDate="2018-03-14T15:35:17.773" Title="Sitecore.ListManagement.ListManagerGetContacts Recipient list is always null EXM" Tags="|experience-analytics|exm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10382" PostTypeId="2" ParentId="10381" CreationDate="2018-02-23T10:52:02.083" Score="0" Body="&lt;p&gt;There are some potential solutions in your case:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Check if the Global Opt-out List is selected. Navigate to the current &lt;em&gt;EXM Manager Root&lt;/em&gt; item and check if &lt;code&gt;Global Opt-out List&lt;/code&gt; is chosen. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Could you make sure that you selected an &lt;code&gt;Exclude lists&lt;/code&gt; for the newly created email campaign as well as the &lt;code&gt;Include lists&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Navigate to the contact list that you uploaded based on the CSV file and make sure that it isn't being indexed and locked. (warnings will be there if it is)&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2018-02-23T10:52:02.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10383" PostTypeId="2" ParentId="10318" CreationDate="2018-02-23T11:46:00.130" Score="6" Body="&lt;p&gt;I figured out that we have two options:&lt;/p&gt;&#xA;&lt;h2&gt;1. Use Solr to copy field&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/copying-fields.html&quot; rel=&quot;noreferrer&quot;&gt;Solr documentation&lt;/a&gt; says:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;You might want to interpret some document fields in more than one way. Solr has a mechanism for making copies of fields so that you can apply several distinct field types to a single piece of incoming information.&lt;/p&gt;&#xA;&lt;p&gt;The name of the field you want to copy is the source, and the name of the copy is the destination.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;In &lt;code&gt;schema.xml&lt;/code&gt; it's very easy to make copies of the fields:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;copyField source=&amp;quot;category_t&amp;quot; dest=&amp;quot;category_s&amp;quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;2. Duplicate field definition in sitecore index config file&lt;/h2&gt;&#xA;&lt;p&gt;Inside &lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt; or your custom one, you can add your field definition twice. If it is computed field just add it twice like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&amp;quot;raw:AddComputedIndexField&amp;quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&amp;quot;category&amp;quot; returnType=&amp;quot;text&amp;quot;&amp;gt;YourNamespace.YourField,YourNamespace&amp;lt;/field&amp;gt;&#xA;    &amp;lt;field fieldName=&amp;quot;category_2&amp;quot; returnType=&amp;quot;text&amp;quot;&amp;gt;YourNamespace.YourField,YourNamespace&amp;lt;/field&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="35" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-02-23T11:46:00.130" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10384" PostTypeId="1" CreationDate="2018-02-23T11:50:09.497" Score="2" ViewCount="316" Body="&lt;p&gt;I am updating index dependencies as mentioned in &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8976/sitecore-full-content-search&quot;&gt;Sitecore Full Content Search&lt;/a&gt; where we are using &lt;code&gt;GetDatasourceDependencies&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, the issue is that this works fine for the English language, but, whenever I publish content for a non-English version, it's still taking dependency in the English version, but the dependency for published item is actually in a non-English version. where as Item object is in fr-FR version as returned by this piece of code  Item item = (Item)(context.IndexedItem as SitecoreIndexableItem);&#xA;it's dependency is still returned in English version i think last two lines of processor need to pass language code some where but not sure where &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Pipeline code is like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GetDatasourceDependencies : BaseProcessor&#xA;{&#xA;    public override void Process(GetDependenciesArgs context)&#xA;    {&#xA;        Func&amp;lt;ItemUri, bool&amp;gt; func = null;&#xA;        Assert.IsNotNull(context.IndexedItem, &quot;indexed item&quot;);&#xA;        Assert.IsNotNull(context.Dependencies, &quot;dependencies&quot;);&#xA;        Item item = (Item)(context.IndexedItem as SitecoreIndexableItem);&#xA;&#xA;        if (item != null)&#xA;        {&#xA;            if (func == null)&#xA;            {&#xA;                func = uri =&amp;gt; (bool)((uri != null) &amp;amp;&amp;amp; ((bool)(uri != item.Uri)));&#xA;            }&#xA;            System.Collections.Generic.IEnumerable&amp;lt;ItemUri&amp;gt; source = Enumerable.Where&amp;lt;ItemUri&amp;gt;(from l in Globals.LinkDatabase.GetReferrers(item, FieldIDs.LayoutField) select l.GetSourceItem().Uri, func).Distinct&amp;lt;ItemUri&amp;gt;();&#xA;            context.Dependencies.AddRange(source.Select(x =&amp;gt; (SitecoreItemUniqueId)x));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How to correctly process index dependencies for correct language?&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="35" LastEditDate="2018-02-23T12:43:12.663" LastActivityDate="2018-02-23T13:42:54.547" Title="How to correctly process index dependencies for correct language?" Tags="|solr|indexing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10385" PostTypeId="1" CreationDate="2018-02-23T12:01:23.127" Score="2" ViewCount="189" Body="&lt;p&gt;Inside license file or if you open &lt;em&gt;Installed licenses&lt;/em&gt; dialogue inside Sitecore's control panel we can see some environment specific details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a list and values that I'm interested of:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Env.CEP.Delivery&lt;/code&gt;: 3&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Env.CEP.NonProdManagement&lt;/code&gt;: 1&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Env.Development&lt;/code&gt;: 1&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Environment&lt;/code&gt;: 6&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Sitecore.Environment&lt;/code&gt; is 6. However, if we count other values, it gives 5. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we understand that values? &#xA;How many servers and what combinations we can install?&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2019-06-26T15:27:17.687" Title="How to understand environment details from inside the license file?" Tags="|licensing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10386" PostTypeId="1" CreationDate="2018-02-23T12:34:02.617" Score="4" ViewCount="207" Body="&lt;p&gt;Trying to add a keyword to the keyword-multilist field with SPE. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sh prettyprint-override&quot;&gt;&lt;code&gt;$items = Get-ChildItem -Path &quot;master:\sitecore\content\Website\site\subnode&quot; -Recurse&#xA;$items | ForEach-Object {&#xA;    [Sitecore.Data.Fields.MultilistField]$field = $items.Fields[&quot;Keywords&quot;]&#xA;&#xA;    $items.Editing.BeginEdit()&#xA;    $field.Add(&quot;{6D1EACDD-0DE7-4F3D-B55A-2CAE8EBFF3D0}&quot;)&#xA;    $items.Editing.EndEdit()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The idea is to add the same keyword for each item below the subnode, and to every language version. An item can occure in more than one language, and the keywords-section can be empty or have one or more values. SPE returns &quot;You cannot call a method on a null-valued expression.&quot; - so I'm kinda stuck...&lt;/p&gt;&#xA;" OwnerUserId="612" LastEditorUserId="135" LastEditDate="2018-02-23T18:19:14.517" LastActivityDate="2018-02-23T20:09:44.237" Title="How to add keyword to the Keywords-multifield list with SPE?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10387" PostTypeId="1" AcceptedAnswerId="10930" CreationDate="2018-02-23T12:52:45.883" Score="3" ViewCount="164" Body="&lt;p&gt;I was following this awesome blogpost on outcomes &lt;a href=&quot;https://www.coreysmith.co/sitecore-xdb-custom-eras-in-experience-profile-timeline/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.coreysmith.co/sitecore-xdb-custom-eras-in-experience-profile-timeline/&lt;/a&gt;  I created an outcome and all seems to work fine, but I should have a field &lt;code&gt;Ignore Additional Registrations&lt;/code&gt;. I want to use it in order to make sure the outcome isn't registered multiple times. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can find that field in Sitecore 8, but in Sitecore 9 I'm not seeing it.. I see some other new checkboxes, but not this one. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another way to make sure an outcome isn't registered twice (or more) in Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-03-20T19:45:19.557" Title="Outcome ignore additional registrations in Sitecore 9" Tags="|experience-profile|outcomes|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10388" PostTypeId="2" ParentId="10384" CreationDate="2018-02-23T13:42:54.547" Score="2" Body="&lt;p&gt;It looks like you need to include the &lt;code&gt;Final Layout&lt;/code&gt; field as well. The &lt;code&gt;Final Layout&lt;/code&gt; field will differ per version of your item, i.e. a different language. The primary &lt;code&gt;Layout&lt;/code&gt; field is set to &lt;code&gt;[shared]&lt;/code&gt;, which means it's &lt;em&gt;shared&lt;/em&gt; across languages.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Process(GetDependenciesArgs context)&#xA;{&#xA;    Assert.IsNotNull(context.IndexedItem, &quot;indexed item&quot;);&#xA;    Assert.IsNotNull(context.Dependencies, &quot;dependencies&quot;);&#xA;&#xA;    var item = (Item)(context.IndexedItem as SitecoreIndexableItem);&#xA;&#xA;    if (item == null)&#xA;        return;&#xA;&#xA;    bool Func(ItemUri uri) =&amp;gt; (uri != null) &amp;amp;&amp;amp; uri != item.Uri;&#xA;&#xA;    var source = (&#xA;        from l &#xA;            in Globals.LinkDatabase.GetReferrers(item, FieldIDs.LayoutField)&#xA;        select l.GetSourceItem().Uri)&#xA;            .Where(Func)&#xA;            .ToList();&#xA;&#xA;    // this is what you're missing&#xA;    source.AddRange(&#xA;    (&#xA;        from l&#xA;            in Globals.LinkDatabase.GetReferrers(item, FieldIDs.FinalLayoutField)&#xA;        select l.GetSourceItem().Uri)&#xA;            .Where(Func)&#xA;    );&#xA;&#xA;    source = source.DistinctBy(i =&amp;gt; i.ItemID).ToList();&#xA;&#xA;    context.Dependencies.AddRange(source.Select(x =&amp;gt; (SitecoreItemUniqueId)x));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The extension &lt;code&gt;DistinctBy()&lt;/code&gt; is listed below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class IEnumerableExtensions&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Filters items out of a collection that have distinct key values. Key values are determined by &amp;lt;paramref name=&quot;keySelector&quot;/&amp;gt;.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;typeparam name=&quot;TSource&quot;&amp;gt;Type of the enumerable object&amp;lt;/typeparam&amp;gt;&#xA;    /// &amp;lt;typeparam name=&quot;TKey&quot;&amp;gt;Type of the keys&amp;lt;/typeparam&amp;gt;&#xA;    /// &amp;lt;param name=&quot;source&quot;&amp;gt;The items to select from&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;keySelector&quot;&amp;gt;A function to select key values&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;The items that have distinct key values&amp;lt;/returns&amp;gt;&#xA;    public static IEnumerable&amp;lt;TSource&amp;gt; DistinctBy&amp;lt;TSource, TKey&amp;gt;(this IEnumerable&amp;lt;TSource&amp;gt; source, Func&amp;lt;TSource, TKey&amp;gt; keySelector)&#xA;    {&#xA;        var seenKeys = new HashSet&amp;lt;TKey&amp;gt;();&#xA;        return source.Where(element =&amp;gt; seenKeys.Add(keySelector(element)));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-02-23T13:42:54.547" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="10389" PostTypeId="1" AcceptedAnswerId="10390" CreationDate="2018-02-23T14:03:19.310" Score="2" ViewCount="230" Body="&lt;p&gt;When viewing the workbox for a client install i can see a lot of workflow activity stretching back years.  This is not needed now and was wondering whether there is a way to delete all workflow history over a year old.  Can i just delete the items in the workflowhistorytable or is there a better way to do it?&lt;/p&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="2890" LastEditDate="2018-02-23T14:26:43.863" LastActivityDate="2018-02-23T16:03:29.520" Title="removing historical data from workflow history" Tags="|sitecore-client|workflow|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10390" PostTypeId="2" ParentId="10389" CreationDate="2018-02-23T14:23:12.003" Score="3" Body="&lt;p&gt;Run this SQL query on your master DB:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DELETE FROM [dbo].[WorkflowHistory] WHERE [Date] &amp;lt; '2017-03-01' -- put required date&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-02-23T14:23:12.003" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10391" PostTypeId="2" ParentId="10389" CreationDate="2018-02-23T16:03:29.520" Score="2" Body="&lt;p&gt;You can definitely delete data, but since you asked &quot;is there a better way to do it&quot; I would recommend looking at building something that would run as a task in the initialization pipeline or on a regular cadence that would do this regularly for you, otherwise you will have to manually do this for all your environments on a regular cadence.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You probably want it to be configurable as to how long to retain data so that you can keep data longer in your test systems (which are less active) and have shorter spans in production.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-02-23T16:03:29.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10392" PostTypeId="1" AcceptedAnswerId="10407" CreationDate="2018-02-23T16:30:33.710" Score="5" ViewCount="757" Body="&lt;p&gt;In the Sitecore doc &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/configure_federated_authentication&quot; rel=&quot;nofollow noreferrer&quot; title=&quot;Configuring Federated Authentication&quot;&gt;Configuring Federated Authentication&lt;/a&gt; there are instructions to generate the URL links to initiate Federated Auth -- the lines are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines.GetSignInUrlInfo;&#xA;/*&#xA;[...]&#xA;*/&#xA;var args = new GetSignInUrlInfoArgs(site: &quot;website&quot;, returnUrl: &quot;/&quot;);&#xA;GetSignInUrlInfoPipeline.Run(corePipelineManager, args); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How do I get an instance of the &lt;code&gt;corePipelineManager&lt;/code&gt; in order to pass to the &lt;code&gt;GetSignInUrlInfoPipeline&lt;/code&gt;?  I tried using the &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var corePipelineManager = Sitecore.DependencyInjection.ServiceLocator.ServiceProvider.GetService&amp;lt;BaseCorePipelineManager&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But am getting an error below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;CS1928: 'System.IServiceProvider' does not contain a definition for&#xA;  'GetService' and the best extension method overload&#xA;  'System.Web.Mvc.DependencyResolverExtensions.GetService(System.Web.Mvc.IDependencyResolver)'&#xA;  has some invalid arguments&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1514" LastEditorUserId="2727" LastEditDate="2018-02-24T16:01:00.680" LastActivityDate="2018-08-30T14:23:28.793" Title="Getting an instance of BaseCorePipelineManager" Tags="|pipelines|dependency-injection|federated-authentication|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10393" PostTypeId="2" ParentId="10386" CreationDate="2018-02-23T18:56:06.423" Score="3" Body="&lt;p&gt;With a lot of help from Sitecore friends, this is the solution:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#The guid of the keyword needed to be appended: {6D1EACDD-0DE7-4F3D-B55A-2CAE8EBFF3D0} &#xA;&#xA;$items = Get-ChildItem -Path &quot;master:\sitecore\content\home&quot; -Recurse -Language * &#xA;foreach($item in $items) {&#xA;$item.Keywords = (@() + $item.Keywords.GetItems().ID    + &quot;{6D1EACDD-0DE7-4F3D-B55A-2 CAE8EBFF3D0}&quot; | Select-Object -Unique) -join &quot;|&quot; &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So thanks a lot for the help to Kamruz Jaman, Mike Ian Reynolds, Michael West and Adam Najmanowicz!   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/code-snippets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;The book now contains updated examples&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="612" LastEditorUserId="612" LastEditDate="2018-02-23T20:09:44.237" LastActivityDate="2018-02-23T20:09:44.237" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10394" PostTypeId="1" CreationDate="2018-02-23T19:01:25.280" Score="4" ViewCount="1454" Body="&lt;p&gt;We have Sitecore 9 Update 1 installed successfully. Both of the below services work fine.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore xConnect Search Indexer&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Marketing Automation Engine&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;All required databases are installed properly and respective users are configured properly including &lt;code&gt;collectionuser&lt;/code&gt; for Shard tables. &lt;code&gt;collectionuser&lt;/code&gt; has membership to &lt;code&gt;db_datareader&lt;/code&gt; and &lt;code&gt;db_datawriter&lt;/code&gt; and has Connect and Execute permissions on the three Shard databases. We have also reindexed, relinked databases and deployed marketing definitions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are trying to use xDB Data Migration tool to transfer all analytics information from our existing Mongo database to Sitecore 9 Sql xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we trigger the pipeline batch to read MongoDb contacts into xConnect, everything works and we can see that the batches are processed properly. At one point, when it has processed all batches, we are expecting the indexer service to process each batch and save data into Sitecore 9 xDB Sql database tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that, this processing is either extremely slow or it just hangs and we are not able to get any pointers from logs to understand what the issue might be. As an example, we run the xDB data migration pipeline batch and after 12 hours, we see just 300 odd records in the &lt;code&gt;Fact_PageViews&lt;/code&gt; table when the total expected count is close to 40K. I don't find any helpful pointers on Sitecore documentation also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could one of you shed light on what we might be missing? We are running against a tight deadline to migrate from Sitecore 8.2 to Sitecore 9.&lt;/p&gt;&#xA;" OwnerUserId="2704" LastEditorUserId="2727" LastEditDate="2018-02-24T16:00:43.083" LastActivityDate="2019-03-30T01:49:31.563" Title="Sitecore 9 update 1 xDB Data Migration Tool Pipeline Batch Extremely slow/hangs" Tags="|xdb|xconnect|migration|" AnswerCount="4" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="10395" PostTypeId="2" ParentId="5547" CreationDate="2018-02-23T21:00:20.933" Score="5" Body="&lt;p&gt;I haven't heard anything about Vision Stencils for Sitecore. But on an architecture visualization perspective I would recommend you to try Sitecore UML Tool. Its an architecture visualization tool helps visualize existing Sitecore architectures in UML and to create, visualize and deploy new Sitecore template architectures directly from their UML diagrams. It even has the power to generate MSDN-style documentation for any Sitecore architecture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/zkniebel/SitecoreUML&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/zkniebel/SitecoreUML&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-02-23T21:00:20.933" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10396" PostTypeId="2" ParentId="9670" CreationDate="2018-02-23T21:15:16.357" Score="1" Body="&lt;p&gt;Issue has been resolved by Sitecore team and updated on the azure marketplace version, now we can upload the existing SSL certificate at the time of installation through market place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Previously the authorized SSL certificate was getting error at the time of uploading the certificate.&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-02-23T21:15:16.357" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10397" PostTypeId="2" ParentId="9317" CreationDate="2018-02-23T21:16:14.470" Score="1" Body="&lt;p&gt;I had the similar error while installing Sitecore 9 Update 1. I figured out that it is due to missing ASP installation. I installed the ASP .Net 3.5 and 4.7 and gave a try. It worked for me. Please check the below image and give it a try. It might solve the issue for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aqaw6.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aqaw6.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2718" LastActivityDate="2018-02-23T21:16:14.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10399" PostTypeId="1" AcceptedAnswerId="10400" CreationDate="2018-02-23T22:23:11.457" Score="5" ViewCount="767" Body="&lt;p&gt;What is the purpose of the Media folder under a site in SXA?&#xA;Technically this seems to behave the same way as the regular media library, but I'm just not sure why you would use this, or if there are any implications of using this vs the regular media library?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0RE64.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0RE64.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One possible advantage I can think of is to simplify publishing just one site in a multi-tennant solution, because you could select your site's root node and publish from there and not have to either do a site-wide publish, or individually publish the site node and then the corresponding media library folder.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-02-23T22:44:09.040" Title="SXA what is the purpose of the Media folder under a Site" Tags="|sxa|media-library|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10400" PostTypeId="2" ParentId="10399" CreationDate="2018-02-23T22:44:09.040" Score="8" Body="&lt;h2&gt;Media Library scope for site&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Every dialog where you have to select media item will be scoped to &lt;strong&gt;Media&lt;/strong&gt; (Virtual Media Folder)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So first and very important role is to scope which part of Media Library is available for editors on the current site (you will set this up using &lt;strong&gt;Additional Children&lt;/strong&gt; field), see image below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ryYcz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ryYcz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sqwtk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sqwtk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Easy upload/quick access&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In fact, this is the same Media Library as the regular one. This node presents only scoped view. See path and available buttons on the ribbon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Cy1l9.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cy1l9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Authors can easily manage media directly from Site,  without the need of searching proper folder, nested somewhere in Media Library.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-02-23T22:44:09.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10401" PostTypeId="2" ParentId="10332" CreationDate="2018-02-23T23:11:00.480" Score="1" Body="&lt;p&gt;Have you tried &lt;strong&gt;Google Chrome dev tools&lt;/strong&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can only imagine what could go wrong.&#xA;I reproduced this issue by adding incorrect asset link somewhere. And here you go, I've got &lt;strong&gt;404&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EvjP1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EvjP1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/service/notfound.aspx&lt;/code&gt; is just a standard 404 page in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore redirects to this page if requested address cannot be resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you should be able to catch this missing asset or another thing with dev tools. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sort by status, then search for &lt;strong&gt;404&lt;/strong&gt; errors and then read &lt;strong&gt;Initiator&lt;/strong&gt; column (in my case &lt;code&gt;http://sxa_16/sitecore/service/notfound.aspx&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Your IIS log shows that response for &lt;code&gt;fontawesome-webfont-ttf.ttf&lt;/code&gt; was &lt;strong&gt;302&lt;/strong&gt; (redirect), maybe the next request, after redirect is incorrect thus you get &lt;strong&gt;404&lt;/strong&gt; as a result.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-02-23T23:11:00.480" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10402" PostTypeId="2" ParentId="10374" CreationDate="2018-02-23T23:38:34.963" Score="0" Body="&lt;p&gt;I would index the rtf content in two different fields.&#xA;One field which is index and stored. Add the HTMLStripCharFilterFactory charfilter on this field and do you linguistic manipulation on that field. Do you fragment out ofnthis field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second is for fragemnt dataretrieval only when you need the full content of the field - not a fragment. It should be a simple string field with no manipulation&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2018-02-23T23:38:34.963" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10403" PostTypeId="2" ParentId="9968" CreationDate="2018-02-23T23:44:57.127" Score="1" Body="&lt;p&gt;If you are running xdb and and Solr runs the analytics index I would suspect the analytics index being the issue. Is the warning coming from the analytics index?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think update 3 is the version where the setting of &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is default true but set it to false and it goes away but you will not see anonymous contacts in the experience profile.&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2018-02-23T23:44:57.127" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10404" PostTypeId="2" ParentId="10394" CreationDate="2018-02-23T23:46:44.613" Score="4" Body="&lt;p&gt;I do not know if my answer will be full however it may help. If you are going to migrate a huge number of contacts and its interactions via xDB Data Migration Tool you need to know how to configure migration properly before run it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are several things that can speed up migration.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Max Thread Count (default: 1)&lt;/li&gt;&#xA;&lt;li&gt;Minimum Batch Size (default: 100)&lt;/li&gt;&#xA;&lt;li&gt;Page Size (default: 200)&lt;/li&gt;&#xA;&lt;li&gt;Max Request Length (default: 1048576)&lt;/li&gt;&#xA;&lt;li&gt;Resolve Object Settings&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Here is some points.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Max Thread Count&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Enabling Multiple Threads&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;By increasing the number of threads&#xA;  used during the migration process you can increase performance, especially when a large number of contacts&#xA;  need to be migrated.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;em&gt;Navigate to Pipelines &gt; MongoDB Contacts to xConnect Migration Pipelines &gt; Read Contacts from&#xA;  MongoDB Pipeline &gt; Iterate MongoDB Contacts and Run Pipelines&lt;/em&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Important.&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Do not change the Max Thread Count value on any other pipeline step in&#xA;  the contact migration process. Doing so may prevent interaction data&#xA;  from being migrated properly&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Minimum Batch Size&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Changing Batch Size&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In order to interact with the xConnect collection service as efficiently as possible, the contact migration&#xA;  process only submits data to the xConnect collection service after a certain amount of data is collection.&#xA;  This threshold can be configured on the contact migration process.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Note.&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The unit this threshold is measure in an operation. An operation&#xA;  represents a single instruction for the xConnect collection service.&#xA;  Controlling the batch size means specifing the minimum number of&#xA;  operations that must be available before those operations are&#xA;  submitted to the xConnect collection service.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Navigate &lt;em&gt;to Pipelines &gt; MongoDB Contacts to xConnect Migration Pipelines &gt; Read&#xA;  Contacts from MongoDB Pipeline &gt; Add xConnect Client to Context&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. Page Size&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Changing Page Size&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Number of objects read from mongo per one page.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;4. Max Request Length&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Set Maximum Request Size on xConnect Server&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;By default, IIS limits the amount of data that can be accepted by the&#xA;  web server. This default setting reduces the effects of certain types&#xA;  of denial-of-service attacks. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;This setting is configured in the HTTP&#xA;  runtime settings section in web.config. The property is&#xA;  maxRequestLength:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KA08r.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KA08r.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;It is recommended that this value be increased to the maximum value 2147483647 while the migration process&#xA;  is running.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Do not forget to reset this value after the migration process is&#xA;  finished running.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;5. Resolve Object Settings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Changing Resolve Object settings&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;That is very impotent to know, before changing these values you should understand and analyze the data you want to migrate. For example, do you need to look for existing object or not. Turning the setting on means send an additional request. Set these values carefully.  &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JOmCY.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JOmCY.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;6. ...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I believe there are others things that involve on performance.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Read more here&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/xDB%20Data%20Migration%20Tool/~/media/B8C0A5C3D5874B81A1838CE7E52A5716.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Installation Guide&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-02-23T23:53:29.883" LastActivityDate="2018-02-23T23:53:29.883" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10405" PostTypeId="1" CreationDate="2018-02-24T05:38:45.583" Score="1" ViewCount="1909" Body="&lt;p&gt;I am trying to build my own SXA custom rendering with a variant by following the articles from Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/walkthrough_building_a_new_rendering&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/walkthrough_building_a_new_rendering&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/build_a_rendering_that_includes_variants#_Repository&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/build_a_rendering_that_includes_variants#_Repository&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I tried adding it to my page via experience editor, it appears that I am doing something wrong. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Screenshot:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qCjsw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qCjsw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Stack Trace&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.ExecuteCore()&#xA;   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.ExecuteController(Controller controller)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.Execute()&#xA;   at Sitecore.Mvc.Presentation.ControllerRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have built the controller, repository, view and register it as dependency -&#xA; backend codes are shown below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller\DCardsController.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using PROJECTABC.Feature.Composites.SXA.Repositories;&#xA;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.DependencyInjection;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Controllers;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Repositories;&#xA;&#xA;namespace PROJECTABC.Feature.Composites.SXA.Controllers&#xA;{&#xA;    public class DCardsController : VariantsController&#xA;    {&#xA;    private readonly IDCardsRepository DCardsRepository;&#xA;&#xA;    public DCardsController(IDCardsRepository repository)&#xA;    {&#xA;        DCardsRepository = repository;&#xA;    }&#xA;&#xA;&#xA;    protected override object GetModel()&#xA;    {&#xA;        return DCardsRepository.GetModel();&#xA;    }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Models\DCardsModel.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.Variants.Abstractions.Models;&#xA;&#xA;namespace PROJECTABC.Feature.Composites.SXA.Models&#xA;{&#xA;    public class DCardsModel : VariantsRenderingModel&#xA;    {&#xA;        public string CustomProperty { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Repositories\DCardsRepository.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using PROJECTABC.Feature.Composites.SXA.Models;&#xA;using Sitecore.XA.Foundation.Mvc.Repositories.Base;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Repositories;&#xA;&#xA;namespace PROJECTABC.Feature.Composites.SXA.Repositories&#xA;{&#xA;    public class DCardsRepository : VariantsRepository, IDCardsRepository&#xA;    {&#xA;        public override IRenderingModelBase GetModel()&#xA;        {&#xA;            DCardsModel model = new DCardsModel();&#xA;            FillBaseProperties(model);&#xA;            model.CustomProperty = &quot;This is just an example rendering&quot;;&#xA;            return model;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Repositories\IDCardsRepository.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.Mvc.Repositories.Base;&#xA;&#xA;namespace PROJECTABC.Feature.Composites.SXA.Repositories&#xA;{&#xA;    public interface IDCardsRepository : IVariantsRepository&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Views\DCards\DCards.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Extensions&#xA;@using Sitecore.XA.Foundation.MarkupDecorator.Extensions&#xA;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@using Sitecore.XA.Foundation.RenderingVariants.Extensions&#xA;@using Sitecore.XA.Foundation.RenderingVariants.Fields&#xA;@using Sitecore.XA.Foundation.Variants.Abstractions.Fields&#xA;@model IRAS.Feature.Composites.SXA.Models.DCardsModel&#xA;&#xA;&amp;lt;div @Html.Sxa().Component(&quot;DCards&quot;, Model.Attributes)&amp;gt;&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;&#xA;        &amp;lt;h1&amp;gt;@Model.CustomProperty&amp;lt;/h1&amp;gt;&#xA;        @foreach (BaseVariantField variantField in Model.VariantFields)&#xA;            {&#xA;            @Html.RenderingVariants().RenderVariant(variantField, Model.Item, Model.RenderingWebEditingParams)&#xA;        }&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;RegsiterDependencies.cs&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;using PROJECTABC.Feature.Composites.SXA.Controllers;&#xA;using PROJECTABC.Feature.Composites.SXA.Repositories;&#xA;using Sitecore.DependencyInjection;&#xA;&#xA;namespace PROJECTABC.Feature.Composites.SXA&#xA;{&#xA;    public class RegisterDependencies : IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            serviceCollection.AddTransient&amp;lt;IDCardsRepository, DCardsRepository&amp;gt;();&#xA;            serviceCollection.AddTransient&amp;lt;DCardsController&amp;gt;();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;App_Config\Include\Feature\PROJECTABC.Feature.Composites.SXA.config&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;      &amp;lt;configurator type=&quot;PROJECTABC.Feature.Composites.SXA.RegisterDependencies, IRAS.Feature.Composites.SXA&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In Sitecore&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/templates/Feature/DCards&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mJQrd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mJQrd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Settings/Feature&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1Wgnb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Wgnb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/layout/Renderings/Feature/DCards/DCard Content&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I believe this is where the issue relies on.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MPMqW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MPMqW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FsldP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FsldP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Government/PROJECTABC/MyTaxPortal/Data/DCards/Card1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/G4GoT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G4GoT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Government/PROJECTABC/MyTaxPortal/Presentation/Available Renderings/DCards&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H5Gtx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H5Gtx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/Government/PROJECTABC/MyTaxPortal/Presentation/Rendering Variants/DCards&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VJEMT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VJEMT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried changing the Controller field to: &lt;code&gt;PROJECTABC.Feature.Composites.SXA.Controllers.DCardsController,PROJECTABC.Feature.Composites.SXA&lt;/code&gt; but i received the same issue&lt;/p&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="1605" LastEditDate="2018-02-24T08:51:01.723" LastActivityDate="2018-03-26T09:36:34.087" Title="Sitecore SXA - Error Rendering Contoller: DCards. Action: Index: An unhandled exception occured" Tags="|sxa|helix|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10406" PostTypeId="2" ParentId="10405" CreationDate="2018-02-24T08:55:21.183" Score="1" Body="&lt;p&gt;I've resolved the issue, after publishing and viewing it from the site. It appears that it is because the view couldn't be located. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aBrdO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aBrdO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Revisiting the rendering name, I realized that SXA is using the item name of the rendering to locate the .cshtml, hence renaming it from '&lt;strong&gt;DCards Content&lt;/strong&gt;' to '&lt;strong&gt;DCards&lt;/strong&gt;' resolved the issue.&lt;/p&gt;&#xA;" OwnerUserId="1605" LastActivityDate="2018-02-24T08:55:21.183" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10407" PostTypeId="2" ParentId="10392" CreationDate="2018-02-24T18:41:57.610" Score="3" Body="&lt;p&gt;Your code is correct. Just add &lt;code&gt;Microsoft.Extensions.DependencyInjection&lt;/code&gt;namespace. It contains &lt;code&gt;ServiceProviderServiceExtensions&lt;/code&gt; extension class that adds generic methods to the &lt;code&gt;IServiceProvider&lt;/code&gt; interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the same time, I would recommend you to use a constructor injection. It is supported in Sitecore and it lets you avoid a ServiceLocator anti-pattern.&lt;/p&gt;&#xA;" OwnerUserId="147" LastEditorUserId="147" LastEditDate="2018-08-30T14:23:28.793" LastActivityDate="2018-08-30T14:23:28.793" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10408" PostTypeId="1" AcceptedAnswerId="10414" CreationDate="2018-02-24T23:47:59.027" Score="3" ViewCount="988" Body="&lt;p&gt;What are composite components or renderings in SXA?&#xA;(I'm looking for answers describing the inner workings, ideally).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have read about &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/getting_started_with_sxa/renderings/the_sxa_renderings_and_rendering_variants#_Composites&quot; rel=&quot;nofollow noreferrer&quot;&gt;SXA composite components&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/composite_renderings&quot; rel=&quot;nofollow noreferrer&quot;&gt;SXA composite renderings&lt;/a&gt;. From what I can tell, this is not SXA-specific, but rather a type of rendering which uses a datasource containing multiple sub-items. Am I missing something here? From what I can see, they seem to be quite similar to Partial Designs (in having their own layout) but do not have a way to &lt;em&gt;edit&lt;/em&gt; them in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; On further examination, I see that the composite components have their own layouts, so probably are specific to SXA. &lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2018-02-25T20:27:48.497" LastActivityDate="2018-02-25T21:01:59.297" Title="What are Composite Renderings/Components in SXA" Tags="|sxa|presentation|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10409" PostTypeId="2" ParentId="10374" CreationDate="2018-02-25T03:02:18.837" Score="1" Body="&lt;p&gt;I wrote this extension method a few years back for almost this same use case. It truncates a string containing HTML to a given number of characters, not counting the HTML markup. It assumes that there will be a partial word at the end and removes it. It also optionally adds some trailing text, e.g. ellipsis or a read more link. It's not perfect, but it does the job pretty well and is much lighter weight than something like HtmlAgilityPack.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public static class StringHtmlExtensions&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    ///     Truncates a string containing HTML to a number of text characters, keeping whole words.&#xA;    ///     The result contains HTML and any tags left open are closed.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public static string TruncateHtml(this string html, int maxCharacters, string trailingText = null)&#xA;    {&#xA;        if (string.IsNullOrEmpty(html))&#xA;            return html;&#xA;&#xA;        // find the spot to truncate&#xA;        // count the text characters and ignore tags&#xA;        var textCount = 0;&#xA;        var charCount = 0;&#xA;        var ignore = false;&#xA;        foreach (var c in html)&#xA;        {&#xA;            charCount++;&#xA;            if (c == '&amp;lt;')&#xA;                ignore = true;&#xA;            else if (!ignore)&#xA;                textCount++;&#xA;&#xA;            if (c == '&amp;gt;')&#xA;                ignore = false;&#xA;&#xA;            // stop once we hit the limit&#xA;            if (textCount &amp;gt;= maxCharacters)&#xA;                break;&#xA;        }&#xA;&#xA;        // Truncate the html and keep whole words only&#xA;        var trunc = new StringBuilder(html.TruncateWords(charCount));&#xA;&#xA;        // keep track of open tags and close any tags left open&#xA;        var tags = new Stack&amp;lt;string&amp;gt;();&#xA;        var matches = Regex.Matches(trunc.ToString(),&#xA;            @&quot;&amp;lt;((?&amp;lt;tag&amp;gt;[^\s/&amp;gt;]+)|/(?&amp;lt;closeTag&amp;gt;[^\s&amp;gt;]+)).*?(?&amp;lt;selfClose&amp;gt;/)?\s*&amp;gt;&quot;,&#xA;            RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Multiline);&#xA;&#xA;        foreach (Match match in matches)&#xA;        {&#xA;            if (match.Success)&#xA;            {&#xA;                var tag = match.Groups[&quot;tag&quot;].Value;&#xA;                var closeTag = match.Groups[&quot;closeTag&quot;].Value;&#xA;&#xA;                // push to stack if open tag and ignore it if it is self-closing, i.e. &amp;lt;br /&amp;gt;&#xA;                if (!string.IsNullOrEmpty(tag) &amp;amp;&amp;amp; string.IsNullOrEmpty(match.Groups[&quot;selfClose&quot;].Value))&#xA;                    tags.Push(tag);&#xA;&#xA;                // pop from stack if close tag&#xA;                else if (!string.IsNullOrEmpty(closeTag))&#xA;                {&#xA;                    // pop the tag to close it.. find the matching opening tag&#xA;                    // ignore any unclosed tags&#xA;                    while (tags.Pop() != closeTag &amp;amp;&amp;amp; tags.Count &amp;gt; 0)&#xA;                    {&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        if (html.Length &amp;gt; charCount)&#xA;            // add the trailing text&#xA;            trunc.Append(trailingText);&#xA;&#xA;        // pop the rest off the stack to close remainder of tags&#xA;        while (tags.Count &amp;gt; 0)&#xA;        {&#xA;            trunc.Append(&quot;&amp;lt;/&quot;);&#xA;            trunc.Append(tags.Pop());&#xA;            trunc.Append('&amp;gt;');&#xA;        }&#xA;&#xA;        return trunc.ToString();&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    ///     Truncates text to a number of characters and adds trailing text, i.e. elipses, to the end&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public static string Truncate(this string text, int maxCharacters, string trailingText = null)&#xA;    {&#xA;        if (string.IsNullOrEmpty(text) || maxCharacters &amp;lt;= 0 || text.Length &amp;lt;= maxCharacters)&#xA;            return text;&#xA;        return text.Substring(0, maxCharacters) + trailingText;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    ///     Truncates text and discars any partial words left at the end&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public static string TruncateWords(this string text, int maxCharacters, string trailingText = null)&#xA;    {&#xA;        if (string.IsNullOrEmpty(text) || maxCharacters &amp;lt;= 0 || text.Length &amp;lt;= maxCharacters)&#xA;            return text;&#xA;&#xA;        // trunctate the text, then remove the partial word at the end&#xA;        return Regex.Replace(text.Truncate(maxCharacters),&#xA;            @&quot;\s+[^\s]+$&quot;, string.Empty, RegexOptions.IgnoreCase | RegexOptions.Compiled) + trailingText;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2018-02-25T03:11:57.967" LastActivityDate="2018-02-25T03:11:57.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10410" PostTypeId="2" ParentId="10408" CreationDate="2018-02-25T03:30:22.063" Score="3" Body="&lt;p&gt;From the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/composite_renderings&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation on Composite Renderings&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A composite rendering consists of several renderings. Each instance&#xA;  can have its own layout and it can be designed separately in&#xA;  Experience Editor. When a composite rendering is rendered on the page,&#xA;  it queries each item from its data source and pulls data and layout.&#xA;  This facilitates building very complex layouts, but also involves a&#xA;  more advanced setup.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is a concept that has been around in various forms for a while. I think Thomas Eldblom came up with the &lt;a href=&quot;https://blog.eldblom.dk/2009/07/22/composite-layouts-%E2%80%93-keeping-your-stuff-together/&quot; rel=&quot;nofollow noreferrer&quot;&gt;first version&lt;/a&gt; of it almost 10 years ago. SXA has refined the implementation and made it much more user-friendly.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2018-02-25T03:30:22.063" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10412" PostTypeId="2" ParentId="9557" CreationDate="2018-02-25T08:42:07.927" Score="1" Body="&lt;p&gt;The duplicated segment item is expected behavior in Sitecore 9 as it has introduced &lt;b&gt;FlexibleDimension&lt;/b&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is written at the improvement section in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/90/Sitecore%20Experience%20Platform%2090%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release note of Sitecore 9 Initial Release&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;i&gt;“​Flexible dimensions give Sitecore the ability to record domain specific metrics. The previous approach to dimensions is still available, but will be deprecated in a future version of Sitecore.​”&lt;/i&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In Content Editor, each item under &lt;i&gt;Pages&lt;/i&gt; and &lt;i&gt;Visits&lt;/i&gt; (under &lt;code&gt;/sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions&lt;/code&gt;) is all “duplicated”, one is based on &lt;b&gt;Dimension&lt;/b&gt; template and one is based on &lt;b&gt;FlexibleDimension&lt;/b&gt; template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This information can be easily identified in Sitecore Rocks by hovering mouse pointer over each Segment item.&lt;/p&gt;&#xA;" OwnerUserId="2076" LastActivityDate="2018-02-25T08:42:07.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10414" PostTypeId="2" ParentId="10408" CreationDate="2018-02-25T20:31:36.193" Score="4" Body="&lt;p&gt;In SXA, composite components are ones that get layered together. Think of the Tabs or Accordion components. Each of these require you to add a primary component, then add secondary components. The experience may have improved between versions, but here is an example in SXA 1.6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Examples:&lt;/strong&gt; Tabs component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NjLoW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NjLoW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LnT0J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LnT0J.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take notice how the &lt;strong&gt;Tab&lt;/strong&gt; component contains &lt;strong&gt;Tab Item 1&lt;/strong&gt; and &lt;strong&gt;Tab Item 2&lt;/strong&gt;. Then nested in each is some text and an image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3RchL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3RchL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Behind the scenes the data is stored like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jdITo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jdITo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Snippet is the new kid on the block (1.6) to build your own composite components&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-02-25T21:01:59.297" LastActivityDate="2018-02-25T21:01:59.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10415" PostTypeId="1" AcceptedAnswerId="10421" CreationDate="2018-02-25T22:03:48.370" Score="1" ViewCount="440" Body="&lt;p&gt;From what I can tell, rendering variants are a way to support alternate presentations of a single component. What are the benefits of rendering variants over creating a custom rendering parameters template for a regular controller rendering?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-03-01T08:25:53.133" Title="SXA What are the benefits of using rendering variants over simple rendering parameters" Tags="|sxa|presentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10416" PostTypeId="1" CreationDate="2018-02-25T22:57:00.523" Score="0" ViewCount="503" Body="&lt;p&gt;I have an event processor &lt;a href=&quot;https://sitecore.stackexchange.com/a/1863/1436&quot;&gt;similar to this&lt;/a&gt;. I was originally passing in &lt;code&gt;true&lt;/code&gt; for the parameter &lt;code&gt;silent&lt;/code&gt; to &lt;code&gt;Item.Editing.EndEdit(bool silent)&lt;/code&gt;. I figured that this programmatic change wouldn't need to change things like the &lt;code&gt;updated by&lt;/code&gt; field or anything else that should normally change when a content editor is editing an item. This ended up causing the value to not show up updated until a save even ran on that item again or the app pool refreshed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to use the silent parameter but have updated values show in the content editor right away? Is setting this parameter to true dangerous in any way if I expect two specific fields to be updated by my code and nothing else?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-09-28T12:22:27.433" Title="Using End Edit Silent and Showing Updated Field Values" Tags="|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10417" PostTypeId="1" AcceptedAnswerId="10593" CreationDate="2018-02-26T02:12:19.950" Score="9" ViewCount="1229" Body="&lt;p&gt;We are currently using Sitecore PaaS implementation for Sitecore 9 Update 1 and would like to know if it is possible to create a Web Deploy Package for other Sitecore Modules like Data Exchange Framework. Is there a better approach on doing this as the latest DEF have several modules in it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have found this &lt;a href=&quot;http://blog.baslijten.com/sitecore-on-azure-create-custom-web-deploy-packages-using-the-sitecore-azure-toolkit/&quot; rel=&quot;noreferrer&quot;&gt;blogpost&lt;/a&gt; in which I will try and just like to get some thoughts. Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="2252" LastEditDate="2018-02-26T02:17:40.553" LastActivityDate="2020-12-01T08:30:59.363" Title="How to Create Web Deploy Package for Sitecore Modules" Tags="|azure|data-exchange-framework|paas|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10418" PostTypeId="1" CreationDate="2018-02-26T04:07:51.340" Score="22" ViewCount="7149" Body="&lt;p&gt;I have tried &lt;code&gt;Sitecore 9 update 1&lt;/code&gt; installation on my local &lt;code&gt;Windows 10&lt;/code&gt; and encountered this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: The HTTP response was not successful: Forbidden&#xA;Source: Sitecore.Xdb.Common.Web&#xA;.....&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found the solution on &lt;a href=&quot;https://sitecorecorner.com/tag/ssl/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorecorner.com/tag/ssl/&lt;/a&gt; thanks to nsgocev. I removed the non-self signed certificates in Trusted Root Certificates Store and the Sitecore backend was accessible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, each time I restart my machine, a new certificate is generated automatically and the error occurs again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion for this kind of issue? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EHKaq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EHKaq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3314" LastEditorUserId="137" LastEditDate="2018-02-26T22:15:29.397" LastActivityDate="2022-06-28T23:54:22.307" Title="The HTTP response was not successful: Forbidden" Tags="|xconnect|" AnswerCount="6" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10419" PostTypeId="1" AcceptedAnswerId="10420" CreationDate="2018-02-26T04:18:13.217" Score="8" ViewCount="1040" Body="&lt;p&gt;With regard to spatial searching capabilities of Azure Search in Sitecore. How do you go about customising your index configuration so that you can perform spatial searching using the OData geospatial data types?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The actual data type is EDM.GeographyPoint and seems to be the only data type officially not supported by the Sitecore Azure Search Provider. Or it has been left off the documentation of &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/configure_azure_search&quot; rel=&quot;noreferrer&quot;&gt;supported types&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The required storage format is supposed to conform to &lt;a href=&quot;http://geojson.org/&quot; rel=&quot;noreferrer&quot;&gt;GeoJson&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="153" LastEditDate="2018-02-26T04:48:31.197" LastActivityDate="2018-02-26T05:03:32.380" Title="Is it possible to get Azure Search to support EDM.GeographyPoint?" Tags="|indexing|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10420" PostTypeId="2" ParentId="10419" CreationDate="2018-02-26T04:18:13.217" Score="9" Body="&lt;h1&gt;Crawling (getting data into Azure Search)&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;On the indexing side of things  I was able to achieve this in Sitecore 9 by taking the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a custom index configuration for my customer Index.  I didn't want to disrupt the standard out the box indexes.&lt;/li&gt;&#xA;&lt;li&gt;Defined a computed field that read in a Lat Long from my Sitecore Items. The computed field returned a GeoJson object:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using Newtonsoft.Json;&#xA;public class GeoJson&#xA;{&#xA;    [JsonProperty(PropertyName = &quot;coordinates&quot;)]&#xA;    public List&amp;lt;double&amp;gt; Coordinates { get; set; }&#xA;    [JsonProperty(PropertyName = &quot;type&quot;)]&#xA;    public string Type { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In your index configuration override the standard indexFieldStorageValueFormatter with your own implementation. Your implementation will override CloudIndexFieldStorageValueFormatter.cs and the method FormatValueForIndexStorage:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override object FormatValueForIndexStorage(object value, string fieldName)&#xA;{&#xA;    object obj = value;&#xA;    if (!string.IsNullOrWhiteSpace(fieldName) &amp;amp;&amp;amp; &#xA;        fieldName.ToLower().StartsWith(&quot;geo_&quot;))&#xA;          return obj;&#xA;    return base.FormatValueForIndexStorage(value, fieldName);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;This is necessary because EDM.GeographyPoint is not supported and native EDM data type by Sitecore. Without this Sitecore's code will throw an exception when indexing. &lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added a new map to the custom index configuration.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;cloudTypeMapper ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/cloudTypeMapper&quot;&amp;gt;&#xA;  &amp;lt;maps hint=&quot;raw:AddMap&quot;&amp;gt;&#xA;    &amp;lt;map type=&quot;AAA.Foundation.Geo.Models.GeoJson, AAA.Foundation.Geo&quot; cloudType=&quot;Edm.GeographyPoint&quot;/&amp;gt;&#xA;  &amp;lt;/maps&amp;gt;&#xA;&amp;lt;/cloudTypeMapper&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added a new cloudTypeConfiguration for my custom index&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;cloudTypeConfiguration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/cloudTypeConfiguration&quot;&amp;gt;&#xA;  &amp;lt;types hint=&quot;raw:AddType&quot;&amp;gt;&#xA;    &amp;lt;type cloudType=&quot;Edm.GeographyPoint&quot; cloudFieldNameFormat=&quot;{0}_g&quot;/&amp;gt;&#xA;  &amp;lt;/types&amp;gt;&#xA;&amp;lt;/cloudTypeConfiguration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add in a field map to your custom index configuration. This must match the computed field name added in an earlier step.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;  &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;geo_location&quot; cloudFieldName=&quot;geo_location&quot; searchable=&quot;NO&quot; retrievable=&quot;YES&quot; facetable=&quot;NO&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;AAA.Foundation.Geo.Models.GeoJson, AAA.Foundation.Geo&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;  &amp;lt;/fieldNames&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Searching (getting data out of Azure Search)&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Although I did find a way to extend the Sitecore Azure Search Provider it did not support the OrderBy clause which is very useful for fast queries in spatial searches. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best solution I found was the use the Azure Search DLL library directly (Microsoft.Azure.Search). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this you can connect directly to your index and use the syntax as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$&quot;geo.distance({fieldName}, geography'POINT({coordinate.Longitude} {coordinate.Latitude})') le {settingsSearchRadius}&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will find all results from a particular location up to a given radius. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A full searching example can be &lt;a href=&quot;https://github.com/Aceik/Sitecore-Azure-Search-Spatial/blob/5f7a348875561c7b50f321c8b712c5c69107df78/src/Foundation/Spatial/code/IndexRead/Searching/Services/SpatialSearchService.cs&quot; rel=&quot;noreferrer&quot;&gt;found here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="153" LastEditDate="2018-02-26T05:03:32.380" LastActivityDate="2018-02-26T05:03:32.380" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10421" PostTypeId="2" ParentId="10415" CreationDate="2018-02-26T06:02:22.503" Score="3" Body="&lt;p&gt;Rendering Variants allow you to define and control the actual HTML structure, rendered by the component, from within Content Editor.  You can also use the rules engine to control when certain fields are displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/POqcg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/POqcg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example, we modified what was displayed based on the template of the item found in the search results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suppose you could do all of this with rendering parameters, but that'd be a lot of parameters and code to write... :)&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2018-02-26T06:02:22.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10424" PostTypeId="1" AcceptedAnswerId="10430" CreationDate="2018-02-26T09:21:27.330" Score="1" ViewCount="938" Body="&lt;p&gt;I am currently investigating issue related to Sitecore Caching.&#xA;I have a controller with action filter attribute set for setting up the cookies, whenever any action of controller is called. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore rendering is set to without any caching - none of cache check box are checked on the rendering. When I am testing this action in other environments (DEV, QA and UAT), I can see the cookies are getting set with action filter attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, no cookies is being set in production. I have put some logs to test the behavior in production and logs in the controller constructor and action were not been logged.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Version 8.0 update 6&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/huezS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/huezS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Action filter logs are getting executed only when query string parameters in the urls changed.&#xA;&lt;strong&gt;Update 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The functionality is to set the cookies based on query string parameters. All these cookies are being set in action filter class. Whenever I change the query string parameters I can see the controller, actions are being logged and cookies are getting set as expected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However when I clear cookies from browser and request the same url again, I dont see anything gets logged and action filter doesn't get executed. Seems the response of the rendering is getting served from cache if same url requested again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the main query is why rendering is getting cached, despite of setting it as not cacheble?&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2018-02-26T14:01:34.363" LastActivityDate="2018-02-26T14:53:36.720" Title="Issue with Sitecore HTML Caching" Tags="|caching|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="10425" PostTypeId="2" ParentId="10323" CreationDate="2018-02-26T10:09:24.450" Score="2" Body="&lt;p&gt;I went through code that is inside of &lt;code&gt;MediaRequestSessionModule&lt;/code&gt; which is inherited from &lt;code&gt;Sitecore.Analytics.Media.MediaRequestSessionModule&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;The problem is I need to keep &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; on, but &lt;code&gt;Xdb&lt;/code&gt; off. Regarding code inside of &lt;code&gt;MediaRequestSessionModule&lt;/code&gt; the best way is just to disable &lt;code&gt;OnMediaRequest&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&amp;quot;media:request&amp;quot;&amp;gt;&#xA;        &amp;lt;handler method=&amp;quot;OnMediaRequest&amp;quot;&amp;gt;&#xA;          &amp;lt;patch:delete /&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="946" LastEditDate="2024-03-22T03:37:23.003" LastActivityDate="2024-03-22T03:37:23.003" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="10426" PostTypeId="1" CreationDate="2018-02-26T11:54:59.143" Score="6" ViewCount="1792" Body="&lt;p&gt;Reading up on Content Security Policy (CSP) headers, there are a few that look like they might break the Sitecore Content Editor and Experience Editor, if implemented on the Content Management server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the strongest (most restrictive) security settings for CSP that allow a fully functioning Sitecore client?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://infosec.mozilla.org/guidelines/web_security#content-security-policy&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://infosec.mozilla.org/guidelines/web_security#content-security-policy&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="2727" LastEditDate="2018-02-26T19:42:24.540" LastActivityDate="2018-03-13T12:06:13.243" Title="Which content security policy header settings are compatible with Sitecore?" Tags="|sitecore-client|security|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10427" PostTypeId="2" ParentId="2620" CreationDate="2018-02-26T12:56:43.580" Score="5" Body="&lt;p&gt;In my case we have a load balancer terminating TLS and then passing decrypted traffic to the backend CM server on port 80.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only solution we could get working is to add a the header &lt;code&gt;Content-Security-Policy&lt;/code&gt; to the &lt;code&gt;Web.config&lt;/code&gt; with a value of &lt;code&gt;upgrade-insecure-requests&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now Chrome does not block the execution of the link but rather upgrade to https.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following transform could be used in your project.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;httpProtocol&amp;gt;&#xA;      &amp;lt;customHeaders&amp;gt;&#xA;        &amp;lt;remove xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;X-Powered-By&quot; /&amp;gt;&#xA;        &amp;lt;add xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;X-Frame-Options&quot; value=&quot;SAMEORIGIN&quot;/&amp;gt;&#xA;        &amp;lt;add xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;X-XSS-Protection&quot; value=&quot;1; mode=block&quot;/&amp;gt;&#xA;        &amp;lt;add xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;X-Content-Type-Options&quot; value=&quot;nosniff&quot;/&amp;gt;&#xA;        &amp;lt;add xdt:Transform=&quot;InsertIfMissing&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;Content-Security-Policy&quot; value=&quot;upgrade-insecure-requests&quot;/&amp;gt;&#xA;      &amp;lt;/customHeaders&amp;gt;&#xA;    &amp;lt;/httpProtocol&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-02-27T16:44:00.317" LastActivityDate="2018-02-27T16:44:00.317" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10428" PostTypeId="1" CreationDate="2018-02-26T13:01:15.440" Score="0" ViewCount="1048" Body="&lt;p&gt;I want to use entity framework to extend the functionality of Sitecore's membership. As you know, you can't query data efficiently like you can with an SQL database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to setup a context class using Code first migrations&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FilesContext : DbContext&#xA;{&#xA;    public FilesContext() : base(&quot;core&quot;)&#xA;    {&#xA;        Database.CreateIfNotExists();&#xA;    }&#xA;&#xA;    public DbSet&amp;lt;File&amp;gt; Files{ get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is that, the Core database doesn't &quot;exist&quot;, when I run the Update-Database. However when I call&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ConfigurationManager.ConnectionStrings;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get a list of the connection strings listed in&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/database_connection_strings_for_configuring_servers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/database_connection_strings_for_configuring_servers&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and I am wondering why Entity Framework isn't able to pick up the Sitecore databases. I think, maybe when I run the Update-Database command in Package Manager Console, it just tries to invoke a call to the &lt;code&gt;FilesContext&lt;/code&gt; class and it doesn't see the bigger picture, which is that the site is running under Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="2696" LastEditorUserId="2727" LastEditDate="2018-02-26T17:22:30.433" LastActivityDate="2018-02-27T00:03:40.257" Title="Entity Framework Code First - Sitecore Databases" Tags="|configuration|membership-provider|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10429" PostTypeId="2" ParentId="10381" CreationDate="2018-02-26T14:42:15.450" Score="2" Body="&lt;p&gt;Edit to my below answer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found &lt;a href=&quot;https://kb.sitecore.net/articles/577247&quot; rel=&quot;nofollow noreferrer&quot;&gt;this link&lt;/a&gt; in the Sitecore knowledgebase. This might be an answer to the nagging issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please feel free to refer the below answer though:&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;We have been through a similar issue and I actually have a post &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8537/sitecore-list-manager-indexing-issue-recipient-count-is-always-0/8592#8592&quot;&gt;here&lt;/a&gt; that hopefully will help you get a bit further. As far as I have heard, this is a known issue within Sitecore v8.2.&lt;/p&gt;&#xA;" OwnerUserId="2704" LastEditorUserId="2704" LastEditDate="2018-03-14T15:35:17.773" LastActivityDate="2018-03-14T15:35:17.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10430" PostTypeId="2" ParentId="10424" CreationDate="2018-02-26T14:53:36.720" Score="4" Body="&lt;p&gt;It may happen if a parent component is cached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that situation all the children components inside the parent component are rendered from cache as well and their code is never executed again.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-02-26T14:53:36.720" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10432" PostTypeId="1" AcceptedAnswerId="10434" CreationDate="2018-02-26T19:56:21.503" Score="3" ViewCount="623" Body="&lt;p&gt;I have made a custom &lt;code&gt;/sitecore/templates/System/Layout/Renderings/View rendering&lt;/code&gt;called &lt;code&gt;UpdateButton&lt;/code&gt;. I would like to only enable this for certain templates. Currently I am completely hiding it when on an item that isn't the appropriate type by setting &lt;code&gt;this.IsVisible = false&lt;/code&gt;. This hides the icon completely and makes it so the button cannot be clicked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to set it to be disabled like what can be done with a normal command in the query state where the icon is grayed out and the button cannot be clicked?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Button Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Common.CustomSitecore.Speak.Controls&#xA;{&#xA;    public class UpdateButton : Sitecore.ExperienceEditor.Speak.Ribbon.Controls.LargeButton.LargeButton&#xA;    {&#xA;        public UpdateButton(RenderingParametersResolver renderingParametersResolver) : base(renderingParametersResolver)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void InitializeControl(RenderingParametersResolver resolver)&#xA;        {&#xA;            if(ResolveContentItem()?.TemplateId != &quot;{MyId}&quot;)&#xA;               this.IsVisible = false;&#xA;&#xA;            base.InitializeControl(resolver);&#xA;        }&#xA;    }&#xA;&#xA;    public static class ControlsExtension&#xA;    {&#xA;        public static HtmlString UpdateButton(this Sitecore.Mvc.Controls controls, Rendering rendering)&#xA;        {&#xA;            Sitecore.Diagnostics.Assert.ArgumentNotNull(controls, &quot;controls&quot;);&#xA;            Sitecore.Diagnostics.Assert.ArgumentNotNull(rendering, &quot;rendering&quot;);&#xA;            var largeButton = new UpdateButton(controls.GetParametersResolver(rendering));&#xA;            return new HtmlString(largeButton.Render());&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Cshtml File:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@using Common.CustomSitecore.Speak.Controls&#xA;@model Sitecore.Mvc.Presentation.RenderingModel&#xA;@Html.Sitecore().Controls().UpdateButton(Model.Rendering)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From what I've seen, buttons in core that are disabled at times for the experience editor ribbons still use commands which makes me think this will need to be something custom.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-02-26T21:49:59.740" LastActivityDate="2018-02-26T22:36:54.293" Title="Speak Disable Button In Experience Editor Mode" Tags="|experience-editor|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10433" PostTypeId="1" CreationDate="2018-02-26T20:51:58.943" Score="3" ViewCount="4409" Body="&lt;p&gt;We are having problems loading droplist Name/Value pairs when the datasource is Sitecore items. When I open the WFFM form designer, select the droplist field and choose some items for it I get the following console error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EKigx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EKigx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;error message &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Mixed Content: The page at '&lt;a href=&quot;https://cms.mydomain.org/sitecore/shell/Applications/Content%20Editor.aspx?sc_bw=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cms.mydomain.org/sitecore/shell/Applications/Content%20Editor.aspx?sc_bw=1&lt;/a&gt;' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '&lt;a href=&quot;http://cms.mydomain.org:8003/sitecore/shell/~/xaml/Sitecore.Forms.Shell.UI.Dialogs.ListItemsEditor.aspx?params=%7B048301D3-8A1A-4D3A-ABED-B34782EC3CD9%7D&amp;amp;id=%7B34E80614-F04B-4E8B-8FAD-3E2F48467001%7D&amp;amp;db=master&amp;amp;la=en&amp;amp;vs=1&amp;amp;target=pb_forms_loc_Items&amp;amp;Cart_ctl00_ctl05_ctl00_ctl00_ctl05_ListItems_Callback=yes&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://cms.mydomain.org:8003/sitecore/shell/~/xaml/Sitecore.Forms.Shell.UI.Dialogs.ListItemsEditor.aspx?params=%7B048301D3-8A1A-4D3A-ABED-B34782EC3CD9%7D&amp;amp;id=%7B34E80614-F04B-4E8B-8FAD-3E2F48467001%7D&amp;amp;db=master&amp;amp;la=en&amp;amp;vs=1&amp;amp;target=pb_forms_loc_Items&amp;amp;Cart_ctl00_ctl05_ctl00_ctl00_ctl05_ListItems_Callback=yes&lt;/a&gt;'. This request has been blocked; the content must be served over HTTPS.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The CMS server is setup via WebFarms/loadbalancers and is using a valid wildcard domain certificate. Seems like intermediate calls are not being directed to https via loadbalancer ? Anyone seen a similar issue ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Version is 8.0 (rev. 160115) (8.0 update 7/Service Pack-1)&lt;/p&gt;&#xA;" OwnerUserId="318" LastActivityDate="2018-07-13T14:16:39.340" Title="Mixed Content: The page at was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint" Tags="|wffm|content-editor|" AnswerCount="1" CommentCount="5" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10434" PostTypeId="2" ParentId="10432" CreationDate="2018-02-26T22:36:54.293" Score="0" Body="&lt;p&gt;I needed to add a new js file which had a reference to a request in &lt;code&gt;canExecute&lt;/code&gt;, point to it, and add a request for validation that I wanted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Js:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;/-/speak/v1/ExperienceEditor/ExperienceEditor.js&quot;], function (Sitecore, ExperienceEditor) {&#xA;    Sitecore.Commands.MyCustomCommand =&#xA;    {&#xA;        canExecute: function (context) {&#xA;            if (!ExperienceEditor.isInMode(&quot;edit&quot;)) {&#xA;                return false;&#xA;            }&#xA;&#xA;            return context.app.canExecute(&quot;Custom.CanExecute&quot;, context.currentContext);&#xA;        }&#xA;    };&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch for request:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&#xA;      &amp;lt;request name=&quot;Custom.CanExecute&quot; type=&quot;Common.CustomSitecore.Requests.CanExecute, Common&quot;/&amp;gt;&#xA;    &amp;lt;/sitecore.experienceeditor.speak.requests&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;CanExecute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Common.CustomSitecore.Requests.SharedContent&#xA;{&#xA;    public class CanExecute: PipelineProcessorControlStateRequest&amp;lt;ItemContext&amp;gt;&#xA;    {&#xA;        public override bool GetControlState()&#xA;        {&#xA;            return base.RequestContext.Item.InheritsFrom(Constants.MyTemplateID);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-02-26T22:36:54.293" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10435" PostTypeId="2" ParentId="10207" CreationDate="2018-02-26T22:50:12.337" Score="3" Body="&lt;p&gt;As mentioned above, you will need to use xConnect.  For the &lt;code&gt;channelId&lt;/code&gt;, you can use an existing one such as Direct or create your own (like I did) under Marketing Control Panel &gt; Taxonomies &gt; Channel.  Make sure to deploy if you create your own.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code assumes you know how to use the &lt;code&gt;XConnectClient&lt;/code&gt; and get an xConnect Contact.  There are plenty of &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/contacts/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;sample code in Sitecore Docs&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;LocationId&lt;/code&gt; points to an existing location.  Just use an existing one by querying the &lt;code&gt;xdb.collection.InteractionFacets&lt;/code&gt; table in one of the Shard DBs.  The IpInfo FacetKey will have this property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;SitecoreDeviceData&lt;/code&gt; is the Default device's ID.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;REMOVED&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;While the &lt;code&gt;DeviceProfile&lt;/code&gt; is an existing entry in the xdb.collection.DeviceProfiles.  Just use any of them for now.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Obviously, the most important part of the code is the one that updates the profile scores.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&#xA;The &lt;code&gt;MatchedPatternId&lt;/code&gt;in the &lt;code&gt;ProfileScore&lt;/code&gt; should be an existing pattern card.  By default, there's no pattern card.  Create one under the profile that has the keys you want to update, deploy, and use the item ID in the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To check if it worked:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Open SQL and query the &lt;code&gt;xdb.collection.InteractionFacets&lt;/code&gt; table in one of the Shard DBs.  You may need to check both to find the right one.  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Sort the entries in descending order to see the latest interaction quickly.  You should see a &lt;code&gt;ProfileScores&lt;/code&gt; facet key.  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Copy the &lt;code&gt;FacetData&lt;/code&gt; column's value and paste it on a text editor.  You should see the values you specified for each of the profile keys.  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Notice that the values were not &quot;added&quot; to the existing values.  That's another set of code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    protected void UpdateProfileScoresDemo(XConnectClient client, XConnect.Contact xcontact)&#xA;    {&#xA;        // to update the scores, use interactions&#xA;        Guid channelId = new Guid(&quot;{097F90E5-D120-4B4E-9181-AB08F45A8E6D}&quot;); // Demo: Test Channel&#xA;        string userAgent = &quot;Mozilla/5.0 (Nintendo Switch; ShareApplet) AppleWebKit/601.6 (KHTML, like Gecko) NF/4.0.0.5.9 NintendoBrowser/5.1.0.13341&quot;;&#xA;        var interaction = new Sitecore.XConnect.Interaction(xcontact, InteractionInitiator.Brand, channelId, userAgent);&#xA;&#xA;        // Create a new web visit facet model&#xA;        var webVisitFacet = new WebVisit&#xA;        {&#xA;&#xA;            // Populate data about the web visit&#xA;            Browser = new BrowserData() { BrowserMajorName = &quot;Chrome&quot;, BrowserMinorName = &quot;62.0&quot;, BrowserVersion = &quot;62.0&quot; },&#xA;            Language = &quot;en&quot;,&#xA;            OperatingSystem = new OperatingSystemData() { Name = &quot;WinNT&quot;, MajorVersion = &quot;&quot;, MinorVersion = &quot;&quot; },&#xA;            Referrer = &quot;www.google.com&quot;,&#xA;            Screen = new ScreenData() { ScreenHeight = 1080, ScreenWidth = 685 },&#xA;            SearchKeywords = &quot;sitecore habitat&quot;,&#xA;            SiteName = &quot;habitat&quot;&#xA;        };&#xA;&#xA;        // Set web visit facet on interaction&#xA;        client.SetWebVisit(interaction, webVisitFacet);&#xA;&#xA;        var webIpInfo = new IpInfo(&quot;127.0.0.1&quot;)&#xA;        {&#xA;            AreaCode = &quot;N/A&quot;,&#xA;            BusinessName = &quot;N/A&quot;,&#xA;            City = &quot;N/A&quot;,&#xA;            Country = &quot;N/A&quot;,&#xA;            Isp = &quot;N/A&quot;,&#xA;            LocationId = new Guid(&quot;{9955c4d5-7a61-58c7-907c-f5737133685a}&quot;),&#xA;            MetroCode = &quot;N/A&quot;,&#xA;            PostalCode = &quot;N/A&quot;,&#xA;            Region = &quot;N/A&quot;,&#xA;            Url = &quot;N/A&quot;&#xA;        };&#xA;&#xA;        client.SetIpInfo(interaction, webIpInfo);&#xA;&#xA;&#xA;        PageViewEvent pageView = new PageViewEvent(DateTime.Now.ToUniversalTime(), Sitecore.Context.Item.ID.ToGuid(), Sitecore.Context.Item.Version.Number, &quot;en&quot;);&#xA;&#xA;        pageView.ItemLanguage = &quot;en&quot;;&#xA;        pageView.Duration = new TimeSpan(3000);&#xA;        pageView.SitecoreRenderingDevice = new SitecoreDeviceData(new Guid(&quot;{fe5d7fdf-89c0-4d99-9aa3-b5fbd009c9f3}&quot;), &quot;Default&quot;);&#xA;        pageView.Url = LinkManager.GetItemUrl(Sitecore.Context.Item);&#xA;&#xA;        // Looks like we don't need this&#xA;        // interaction.DeviceProfile = new DeviceProfile(new Guid(&quot;{DF10B45C-B1EC-4AD0-A26B-61CDCDB50B33}&quot;));&#xA;&#xA;        interaction.Events.Add(pageView);&#xA;&#xA;        ProfileScores ps = new ProfileScores();&#xA;&#xA;        var focusScore = new ProfileScore&#xA;        {&#xA;            MatchedPatternId = new Guid(&quot;{67e258ca-9555-495b-a2c1-aaa6a4c42468}&quot;),&#xA;            ProfileDefinitionId = new Guid(&quot;{24dff2cf-b30a-4b75-8967-2fe3ded82271}&quot;),&#xA;            ScoreCount = 1,&#xA;            Score = 14,&#xA;            Values = new Dictionary&amp;lt;Guid, double&amp;gt;&#xA;        {&#xA;            { new Guid(&quot;{03379af5-f1ae-4610-b15b-4c7f1032b464}&quot;), 2 },      // bg&#xA;            { new Guid(&quot;{5FDD9829-E689-454D-9ABC-8F95AE68744C}&quot;), 3 },      // practical&#xA;            { new Guid(&quot;{F5652C06-676B-4E12-A9D0-06D000E5F1C8}&quot;), 4 },      // process&#xA;            { new Guid(&quot;{B32BFACC-3494-4127-B050-CF50078E2B4C}&quot;), 5 }       // scope&#xA;        }&#xA;        };&#xA;&#xA;&#xA;        ps.Scores.Add(new Guid(&quot;{24dff2cf-b30a-4b75-8967-2fe3ded82271}&quot;), focusScore);&#xA;&#xA;&#xA;        client.SetFacet&amp;lt;ProfileScores&amp;gt;(interaction, ProfileScores.DefaultFacetKey, ps);&#xA;&#xA;        client.AddInteraction(interaction);&#xA;        client.Submit();&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2972" LastEditorUserId="2972" LastEditDate="2018-02-28T21:05:54.730" LastActivityDate="2018-02-28T21:05:54.730" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="10437" PostTypeId="2" ParentId="10428" CreationDate="2018-02-27T00:03:40.257" Score="1" Body="&lt;p&gt;I agree with the comments about &lt;em&gt;not&lt;/em&gt; using EF CodeFirst approach with any of the default Sitecore databases. I would suggest using a custom database or only using the core database to query data from existing tables (using &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/jj200620(v=vs.113).aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;CodeFirst based on an existing database&lt;/a&gt;). Be careful about any changes you make to any of the default Sitecore databases and tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, when you run the &lt;code&gt;Update-Database&lt;/code&gt; command from the Package Manager console you are doing so from the context of Visual Studio and the selected project from the console window. When you are calling &lt;code&gt;ConfigurationManager.ConnectionStrings&lt;/code&gt; to get a list of the connection strings I presume you are running this in your website deployed to IIS. EF will not run in the context of the website so does not have access to those.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming you have a separate Class project for your EF project, you need to add the connection string in the &lt;code&gt;App.config&lt;/code&gt; of that project and then make sure you build the project since the config will get copied to the &lt;code&gt;/bin&lt;/code&gt; folder of that project.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;connectionStrings&amp;gt;&#xA;  &amp;lt;add name=&quot;core&quot; &#xA;       providerName=&quot;System.Data.SqlClient&quot; &#xA;       connectionString=&quot;Data Source=(local);Database=Sitecore_core;...&quot; /&amp;gt;&#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You must add the connection string to &lt;code&gt;App.config&lt;/code&gt; of the EF project even if it is specified elsewhere (such as in your Web project). Make sure you add the &lt;code&gt;providerName&lt;/code&gt; attribute the connection string, you will get an error when using EF without it.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-02-27T00:03:40.257" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10438" PostTypeId="1" AcceptedAnswerId="10543" CreationDate="2018-02-27T04:48:40.767" Score="4" ViewCount="541" Body="&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/10432/speak-disable-button-in-experience-editor-mode&quot;&gt;Expanding on this question&lt;/a&gt; I wanted to make the template id configurable so I can have different buttons active for different templates without duplicating that code. I created a new button in Sitecore that inherits from &lt;code&gt;/sitecore/templates/System/Ribbon/Large Button&lt;/code&gt; which has a field called &lt;code&gt;Enabled On Template&lt;/code&gt; but I can't find a way to pass this through the javascript and into the class that inherits from &lt;code&gt;PipelineProcessorControlStateRequest&amp;lt;ItemContext&amp;gt;&lt;/code&gt;. I tried overriding the custom button's AddAttributes method and added the field's value as an attribute however it is not available in &lt;code&gt;context.button.attributes&lt;/code&gt; in the &lt;code&gt;canExecute&lt;/code&gt; method of my javascript. Is there a built in way to pass values from the button's item to a pipeline processor control state request?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what I tried that didn't work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Common.CustomSitecore.Speak.Controls&#xA;{&#xA;    public class UpdateButton : Sitecore.ExperienceEditor.Speak.Ribbon.Controls.LargeButton.LargeButton&#xA;    {&#xA;        public UpdateButton(RenderingParametersResolver renderingParametersResolver) : base(renderingParametersResolver)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void InitializeControl(RenderingParametersResolver resolver)&#xA;        {&#xA;            if(ResolveContentItem()?.TemplateId != &quot;{MyId}&quot;)&#xA;               this.IsVisible = false;&#xA;&#xA;            base.InitializeControl(resolver);&#xA;        }&#xA;&#xA;        protected override void AddAttributes(HtmlTextWriter output)&#xA;        {&#xA;            //I also tried prefixing this with &quot;data-sc-&quot; because the html for &#xA;            //attributes that the button ends up having seem to have that&#xA;            output.AddAttribute(&quot;EnabledOnTemplate&quot;, DataSourceItem[Constants.EnabledOnTemplateFieldId]);&#xA;&#xA;            base.AddAttributes(output);&#xA;        }&#xA;    }&#xA;&#xA;    public static class ControlsExtension&#xA;    {&#xA;        public static HtmlString UpdateButton(this Sitecore.Mvc.Controls controls, Rendering rendering)&#xA;        {&#xA;            Sitecore.Diagnostics.Assert.ArgumentNotNull(controls, &quot;controls&quot;);&#xA;            Sitecore.Diagnostics.Assert.ArgumentNotNull(rendering, &quot;rendering&quot;);&#xA;            var largeButton = new UpdateButton(controls.GetParametersResolver(rendering));&#xA;            return new HtmlString(largeButton.Render());&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Js:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;/-/speak/v1/ExperienceEditor/ExperienceEditor.js&quot;], function (Sitecore, ExperienceEditor) {&#xA;    Sitecore.Commands.MyCustomCommand =&#xA;    {&#xA;        canExecute: function (context) {&#xA;            if (!ExperienceEditor.isInMode(&quot;edit&quot;)) {&#xA;                return false;&#xA;            }&#xA;            //Here I wanted to read the attribute I added however it does not&#xA;            //seem to be attached to the button. After that I was going to create a&#xA;            //new item context to use the with the request but since I can't even &#xA;            //seem to read it here I think this approach is a dead end because&#xA;            //context.button.attributes.EnabledOnTemplate is undefined&#xA;            context.currentContext.EnabledOnTemplate = context.button.attributes.EnabledOnTemplate;&#xA;&#xA;            return context.app.canExecute(&quot;Custom.CanExecute&quot;, context.currentContext);&#xA;        }&#xA;    };&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-02-28T17:23:53.127" LastActivityDate="2018-03-02T18:47:30.173" Title="Passing a Value From an Experience Editor Button to PipelineProcessorControlStateRequest&lt;ItemContext&gt;" Tags="|experience-editor|speak|ribbon|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10439" PostTypeId="1" CreationDate="2018-02-27T09:57:22.127" Score="4" ViewCount="1435" Body="&lt;p&gt;I have deployed a simple Sitecore 9 website in Azure PaaS. There's nothing so special about the code as it is only a newsletter sign up with Personalization. It works well, I can personalized my vistors, trigger a goal and view it in the Sitecore back-end through Experience Profile and Analytics. Everything is working smoothly as i expected. Until .. I opened my Experience Editor which throws the error below in the ribbon section. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;siteName&#xA;Description: An unhandled exception occurred. &#xA;&#xA;Exception Details: System.InvalidOperationException: siteName&#xA;&#xA;Source Error: &#xA;&#xA;&#xA;Line 2:  @using Sitecore.ExperienceEditor.Speak.Ribbon.Controls.QuickbarButton&#xA;Line 3:  @model Sitecore.Mvc.Presentation.RenderingModel&#xA;Line 4:  @Html.Sitecore().Controls().QuickbarButton(Model.Rendering)&#xA;&#xA;Source File: d:\home\site\wwwroot\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\QuickbarButton\QuickbarButton.cshtml    Line: 4 &#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[InvalidOperationException: siteName]&#xA;   Sitecore.Web.WebUtil.GetCookieValue(String siteName, String key, String defaultValue) +155&#xA;   Sitecore.ExperienceEditor.Speak.Server.Contexts.ItemContext.get_WebEditMode() +73&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.Requests.AddRendering.CanAddRendering.GetControlState() +87&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonButtonBase.ExecuteProcessComponentState(Object requestObject, T context) +247&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonButtonBase.GetProcessComponentState() +312&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonButtonBase.PreRender() +230&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonIconButtonBase.PreRender() +24&#xA;   Sitecore.Web.UI.Controls.ComponentBase.Render() +37&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.Controls.QuickbarButton.ControlsExtension.QuickbarButton(Controls controls, Rendering rendering) +126&#xA;   ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_QuickbarButton_QuickbarButton_cshtml.Execute() in d:\home\site\wwwroot\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\QuickbarButton\QuickbarButton.cshtml:4&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +136&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +257&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/QuickbarButton/QuickbarButton.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +729&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +73&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Extensions.EnumerableExtensions.Each(IEnumerable`1 source, Action`1 action) +190&#xA;   Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderItem(TextWriter output, Item item) +270&#xA;   Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.Render(HtmlTextWriter output) +143&#xA;   Sitecore.Web.UI.Controls.ComponentBase.Render() +126&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.Controls.QuickBar.QuickBar.DoRender(HtmlTextWriter output) +233&#xA;   Sitecore.Web.UI.Controls.ComponentBase.Render() +126&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.Controls.QuickBar.ControlsExtension.QuickBar(Controls controls, Rendering rendering) +126&#xA;   ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_QuickBar_QuickBar_cshtml.Execute() in d:\home\site\wwwroot\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\QuickBar\QuickBar.cshtml:4&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +136&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +257&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/QuickBar/QuickBar.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +729&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +73&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +183&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +258&#xA;   Sitecore.ExperienceEditor.Speak.PageEditbar.PageEditBar.Render(HtmlTextWriter output) +231&#xA;   Sitecore.Web.UI.Controls.ComponentBase.Render() +126&#xA;   Sitecore.ExperienceEditor.Speak.PageEditbar.ControlsExtension.PageEditBar(Controls controls, Rendering rendering, HtmlHelper`1 htmlHelper) +133&#xA;   ASP._Page_sitecore_shell_client_Sitecore_ExperienceEditor_PageEditbar_PageEditBar_cshtml.Execute() in d:\home\site\wwwroot\sitecore\shell\client\Sitecore\ExperienceEditor\PageEditbar\PageEditBar.cshtml:4&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +136&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +257&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Sitecore/ExperienceEditor/PageEditbar/PageEditBar.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +729&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +73&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +183&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +258&#xA;   ASP._sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute() +2011&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +136&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +257&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +729&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +73&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +331&#xA;   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +88&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +776&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +776&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult) +36&#xA;&#xA;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2558.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zGiQ7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zGiQ7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I saw this article from the community Sitecore but really not sure if why I encountered it at the first place. &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3979#pi214filter=all&amp;amp;pi214scroll=false&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/3979#pi214filter=all&amp;amp;pi214scroll=false&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update-1:&#xA;I found a similar issue in the stackoverflow. &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6201/experience-editor-server-error-8-1&quot;&gt;Experience Editor Server Error 8.1&lt;/a&gt;, but seems that is only for sitecore 8&lt;/p&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="73" LastEditDate="2018-11-19T10:46:18.673" LastActivityDate="2018-11-19T10:46:18.673" Title="Experience Editor Ribbon 'siteName' error" Tags="|sitecore-client|experience-editor|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10440" PostTypeId="2" ParentId="6109" CreationDate="2018-02-27T11:01:51.407" Score="2" Body="&lt;p&gt;I have encountered the same problem today while working on a function via sitecore api which is hosted in sitecore azure paas project. Hence, just to share. I have created the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;JS file&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script&amp;gt;&#xA;    function showDiv() {&#xA;        var email = $(&quot;#email_id&quot;).val();&#xA;&#xA;        $.ajax({&#xA;            type: &quot;POST&quot;,&#xA;            url: &quot;/api/Accounts/GetEmailAddress&quot;,&#xA;            data: { &quot;email&quot;: email },&#xA;            success: function (r) {&#xA;                if (r.trim().length &amp;gt; 0) {&#xA;                    document.getElementById('cta-thankyou').style.display = &quot;block&quot;;&#xA;                    document.getElementById('cta').style.display = &quot;none&quot;;&#xA;                }&#xA;            }, error: function (error) {&#xA;                alert('error; ' + eval(error));&#xA;            }&#xA;        });&#xA;&#xA;    }&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;RegisterWebApiRoutes.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Mvc;&#xA;using System.Web.Routing;&#xA;using Sitecore.Pipelines;&#xA;&#xA;namespace PROJECTABC.Feature.Accounts.Infrastructure.Pipelines&#xA;{&#xA;    public class RegisterWebApiRoutes&#xA;    {&#xA;        public void Process(PipelineArgs args)&#xA;        {&#xA;            RouteTable.Routes.MapRoute(&quot;PROJECTABC.Feature.Accounts.Api&quot;, &quot;api/Accounts/{action}&quot;, new&#xA;            {&#xA;                controller = &quot;Accounts&quot;&#xA;            });&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;App_Config\Include\Feature\PROJECTABC.Feature.Accounts.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&quot;PROJECTABC.Feature.Accounts.Infrastructure.Pipelines.RegisterWebApiRoutes, PROJECTABC.Feature.Accounts&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1605" LastActivityDate="2018-02-27T11:01:51.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10441" PostTypeId="2" ParentId="6146" CreationDate="2018-02-27T11:45:52.153" Score="5" Body="&lt;p&gt;Honestly I was looking into this myself too. And whereas Mark says that this is not possible that is (for as far as I am aware) still true.&lt;/p&gt;&#xA;&lt;p&gt;However, I don't agree that you should look whether or not the visitor &amp;quot;looks at the content of my target page&amp;quot; since that is not true in a large number of cases.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;adding an item to a Basket&lt;/li&gt;&#xA;&lt;li&gt;marking something as a Favorite&lt;/li&gt;&#xA;&lt;li&gt;Bookmarking pages&lt;/li&gt;&#xA;&lt;li&gt;Subitting a (custom?) form&lt;/li&gt;&#xA;&lt;li&gt;Downloading a whitepaper&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;...&#xA;Obviously, using Sitecore's Xconnect and SDK you could register these triggered goals after most of these actions.&lt;/p&gt;&#xA;&lt;p&gt;However, Sitecore should be an enablement platform. Enabling your editor and marketer to perform these tasks themselves.&lt;/p&gt;&#xA;&lt;p&gt;Looking at the below link: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/digital_marketing/federated_experience_manager/using_fxm/apply_a_click_action_to_a_component_in_the_fxm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/digital_marketing/federated_experience_manager/using_fxm/apply_a_click_action_to_a_component_in_the_fxm&lt;/a&gt; Sitecore actually already allows you to perform this functionality&lt;/p&gt;&#xA;&lt;p&gt;One would expect you to be able to have this in Sitecore directly as well.&lt;/p&gt;&#xA;" OwnerUserId="627" LastEditorUserId="4515" LastEditDate="2020-07-13T09:09:13.237" LastActivityDate="2020-07-13T09:09:13.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10442" PostTypeId="1" CreationDate="2018-02-27T12:16:31.467" Score="7" ViewCount="386" Body="&lt;p&gt;There has been a growing interest in configuring SXA in an existing installation. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Can a non-SXA site coexist with SXA sites? &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Same content tree?&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Can non-SXA sites share content with SXA sites?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-02-27T13:14:43.117" Title="Is it possible to have SXA and non-SXA sites hosted in the same instance or same content tree?" Tags="|sxa|information-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10443" PostTypeId="1" CreationDate="2018-02-27T12:20:07.283" Score="0" ViewCount="742" Body="&lt;p&gt;This is a problem we seem to have at random. It'll go away for a while and typically rears its ugly head whenever we have a deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We logon to the CM server, update a page and publish it to CM and the&#xA;CM shows the updated content then &#xA;We publish to CD and the&#xA;CD does not update after publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've checked the web-live database and the changes do make it there ok.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we update the &lt;code&gt;web.config&lt;/code&gt; or restart iis etc then the website does display the new updated content which leads me to believe it's some kind of caching issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we have this in our &lt;code&gt;web.config&lt;/code&gt; files (it was playing around with this that we released saving any change made the website refresh)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;      &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;    &amp;lt;handler type=&quot;OurSite.Common.Sc.Handlers.CacheHandler, OurSite.Common&quot; method=&quot;OnPublishEnd&quot;&amp;gt;&amp;lt;/handler&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;  &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;      &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/handler&amp;gt;&#xA;    &amp;lt;handler type=&quot;OurSite.Common.Sc.Handlers.CacheHandler, OurSite.Common&quot; method=&quot;OnPublishEnd&quot;&amp;gt;&amp;lt;/handler&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;any help at this point would be greatly appreciated!&lt;/p&gt;&#xA;" OwnerUserId="3317" LastEditorUserId="2890" LastEditDate="2018-02-27T14:33:30.173" LastActivityDate="2018-02-27T15:35:08.227" Title="Sitecore 8.0 not publishing not updating CD server" Tags="|publishing|" AnswerCount="1" CommentCount="4" ClosedDate="2018-02-27T19:15:30.663" ContentLicense="CC BY-SA 3.0" />
  <row Id="10444" PostTypeId="2" ParentId="10442" CreationDate="2018-02-27T13:14:43.117" Score="8" Body="&lt;p&gt;Yes that is possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created two sites in one sitecore instance. One is SXA based and the other one is on Habitat. These sites are on Sitecore 8.2 update-3 instance with SXA 1.3. As such there wasn't any conflict other than the controller name that should be different from the SXA components for example if you need to build an accordion then the controller name should be different than AccordionController as it is in used by SXA accordion renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also face some issue with Castle.Core if you're using GlassMapper. For which you have to define assembly binding for latest castle (castle.core and castle.windsor) assemblies in web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rest is all good in deploying sxa and non-sxa sites in same Sitecore instance.&lt;/p&gt;&#xA;" OwnerUserId="3318" LastActivityDate="2018-02-27T13:14:43.117" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10445" PostTypeId="2" ParentId="10439" CreationDate="2018-02-27T15:22:49.413" Score="4" Body="&lt;p&gt;I've provisioned another sitecore paas site, compared bin folder, sitecore folder, sitecore modules folder and app_config. All perfectly fine. And the least changes you've expect that will cause problem bite you back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my &lt;strong&gt;PROJECTABC.Website.config&lt;/strong&gt;. I've to update some settings &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site hint=&quot;projectabc&quot;&amp;gt;projectabc&amp;lt;/site&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site hint=&quot;projectabc&quot;&amp;gt;projectabc&amp;lt;/site&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;   &amp;lt;site name=&quot;projectabc&quot; patch:after=&quot;site[@name='modules_website']&quot;&#xA;            enableTracking=&quot;true&quot; &#xA;            virtualFolder=&quot;/&quot; &#xA;            physicalFolder=&quot;/&quot; &#xA;            rootPath=&quot;/sitecore/content/Service/PROJECTABC&quot; &#xA;            startItem=&quot;home&quot; &#xA;            language=&quot;en&quot; &#xA;            database=&quot;master&quot; &#xA;            domain=&quot;extranet&quot;&#xA;            allowDebug=&quot;true&quot; &#xA;            cacheHtml=&quot;true&quot; &#xA;            htmlCacheSize=&quot;50MB&quot; &#xA;            registryCacheSize=&quot;0&quot;&#xA;            viewStateCacheSize=&quot;0&quot; &#xA;            xslCacheSize=&quot;25MB&quot; &#xA;            filteredItemsCacheSize=&quot;10MB&quot; &#xA;            enablePreview=&quot;true&quot; &#xA;            enableWebEdit=&quot;true&quot; &#xA;            enableDebugger=&quot;true&quot;&#xA;            disableClientData=&quot;false&quot; &#xA;            cacheRenderingParameters=&quot;true&quot; &#xA;            renderingParametersCacheSize=&quot;10MB&quot; &#xA;            enableItemLanguageFallback=&quot;false&quot;&#xA;            enableFieldLanguageFallback=&quot;false&quot; &#xA;            itemwebapi.mode=&quot;Off&quot; &#xA;            itemwebapi.access=&quot;ReadOnly&quot; &#xA;            itemwebapi.allowanonymousaccess=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;cacheSizes&amp;gt;&#xA;      &amp;lt;sites&amp;gt;&#xA;        &amp;lt;projectabc&amp;gt;&#xA;          &amp;lt;html&amp;gt;50MB&amp;lt;/html&amp;gt;&#xA;          &amp;lt;registry&amp;gt;0&amp;lt;/registry&amp;gt;&#xA;          &amp;lt;viewState&amp;gt;0&amp;lt;/viewState&amp;gt;&#xA;          &amp;lt;xsl&amp;gt;25MB&amp;lt;/xsl&amp;gt;&#xA;        &amp;lt;/projectabc&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/cacheSizes&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Preview.DefaultSite&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;projectabc&quot; /&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1605" LastActivityDate="2018-02-27T15:22:49.413" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10446" PostTypeId="2" ParentId="10443" CreationDate="2018-02-27T15:35:08.227" Score="0" Body="&lt;p&gt;I ran into this on an 8.0 install a while ago where the culprit was insufficient write permissions in the data folder.  If that is the case you should see some issues in the log.  This case was compounded by incorrect config files on the different server types so I'd check those too.  &lt;/p&gt;&#xA;" OwnerUserId="520" LastActivityDate="2018-02-27T15:35:08.227" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10447" PostTypeId="2" ParentId="8457" CreationDate="2018-02-27T16:09:45.460" Score="6" Body="&lt;p&gt;Thanks João Neto for the update on what ended up working for you. This helped out in my installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also commenting to add - after following instructions included here, I was still running into the error. After some reading up on the issue, I realized that Skype was running in the background using port 443 which was causing xConnect installation to fail. Quitting the Skype program helped resolve the issue and installation was successful after that.&lt;/p&gt;&#xA;" OwnerUserId="1373" LastActivityDate="2018-02-27T16:09:45.460" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10448" PostTypeId="1" CreationDate="2018-02-27T17:56:57.110" Score="0" ViewCount="1355" Body="&lt;p&gt;I have a requirement where my URL should be in format : &lt;code&gt;http://domain/de-DE/pagename&lt;/code&gt;&#xA;I have following settings done for my site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Languages.AlwaysStripLanguage&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Link Manger Provider i have following properties set:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;languageEmbedding=&quot;always&quot;&#xA;addAspxExtension=&quot;false&quot; &#xA;alwaysIncludeServerUrl=&quot;false&quot;&#xA;encodeNames=&quot;true&quot; &#xA;languageEmbedding=&quot;always&quot;&#xA;languageLocation=&quot;filePath&quot; &#xA;lowercaseUrls=&quot;true&quot; &#xA;shortenUrls=&quot;false&quot; &#xA;useDisplayName=&quot;false&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now the issue is, when I am giving internal link in general link for a page say, I am on page &lt;a href=&quot;http://domain/de-DE/page1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://domain/de-DE/page1&lt;/a&gt; and I have a navigation on which general link field has link of page2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The expected url is &lt;a href=&quot;http://domain/de-DE/page2&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://domain/de-DE/page2&lt;/a&gt; on navigation link&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I am getting URL as &lt;a href=&quot;http://domain/de/DE/page2&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://domain/de/DE/page2&lt;/a&gt; which is redirecting me to 404 page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am fetching the link from general link field using method shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public static string LinkFieldurl(this Item item, ID fieldID)&#xA;    {&#xA;        if (item == null)&#xA;        {&#xA;            return string.Empty;&#xA;        }&#xA;        if (ID.IsNullOrEmpty(fieldID))&#xA;        {&#xA;            throw new ArgumentNullException(nameof(fieldID));&#xA;        }&#xA;        var field = item.Fields[fieldID];&#xA;        if (field == null)&#xA;        {&#xA;            return string.Empty;&#xA;        }&#xA;        var linkUrl = new LinkUrl();&#xA;        return linkUrl.GetUrl(item, fieldID.ToString());&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now this is returning me URL with wrong format of language embedded in URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest me some way in which i can get correct format of language(de-DE) &#xA;or if I am going somewhere wrong?&lt;/p&gt;&#xA;" OwnerUserId="3126" LastEditorUserId="1671" LastEditDate="2018-02-27T18:04:47.823" LastActivityDate="2018-02-27T18:12:32.860" Title="Multilingual - Sitecore General Link Field Url Giving Embedded Language in Wrong Format" Tags="|multilingual|sitecore-query|links|link-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10449" PostTypeId="2" ParentId="10448" CreationDate="2018-02-27T18:12:32.860" Score="3" Body="&lt;p&gt;For starters, you should use the &lt;code&gt;Sitecore.Data.Fields.LinkField&lt;/code&gt; class and &lt;code&gt;GetFriendlyUrl()&lt;/code&gt;. To rewrite what you have currently:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string LinkFieldurl(this Item item, ID fieldID)&#xA;{&#xA;    if (item == null)&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;    if (ID.IsNullOrEmpty(fieldID))&#xA;    {&#xA;        throw new ArgumentNullException(nameof(fieldID));&#xA;    }&#xA;    LinkField field = item.Fields[fieldID];&#xA;    return field?.GetFriendlyUrl() ?? string.Empty;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By casting your field to a &lt;code&gt;LinkField&lt;/code&gt;, you should be able to retrieve the resulting URL pretty easily. You'll want to use &lt;code&gt;GetFriendlyUrl()&lt;/code&gt; as it determines what the target type is (internal, external, media, etc.) and computes the URL accordingly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll always want to set &lt;code&gt;Languages.AlwaysStripLanguage&lt;/code&gt; to false. By setting this to true, you're telling Sitecore that you are not using language embedding in the URL and if Sitecore detects a language in the URL to just ignore it and treat it as part of the path. By setting it to true, you are telling Sitecore, yes, there is a language identifier in that path and to strip it out before trying to resolve the path of the item. This is likely your problem with the 404 issue - you've basically told Sitecore that &lt;code&gt;de-DE&lt;/code&gt; is part of the path to resolve instead of the language embedding.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2018-02-27T18:12:32.860" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10450" PostTypeId="1" AcceptedAnswerId="10518" CreationDate="2018-02-27T20:31:16.117" Score="6" ViewCount="3956" Body="&lt;p&gt;I have the federated authentication working in Sitecore 9 with a custom external provider, and I see the ExternalCookie being set.  However, when I make another request to a secured area (a controller rendering with [&lt;strong&gt;Authorize&lt;/strong&gt;] attribute over an action) - then I'm being funneled through the authentication again.  If I check this on an non-secure controller rendering - I can see my sitecore user is &lt;strong&gt;extranet\anonymous&lt;/strong&gt; while debugging.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if I get the owin context and manually authenticate - I can retrieve the user and their claims from the result...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  var authenticateResult = HttpContext.GetOwinContext().Authentication.AuthenticateAsync(&quot;ExternalCookie&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This returns the user which authenticated previously with the correct claims...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Overall (for context) I'm trying to setup this site so that a user can view pages in either anonymous or authenticated - displaying different content for either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should I be making the cookie authentication active in the sitecore pipeline?  Or is there something else I should be doing to re-populate (or re-authenticate) the User on subsequent requests...  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;** EDIT - Including Sitecore.Owin.Authentication.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;    &#xA;        &#xA;            &#xA;            &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;setting name=&quot;FederatedAuthentication.IdentityProcessingPathPrefix&quot; value=&quot;/identity/&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;!--  CACHING OWIN TRANSFORMED IDENTITIES CACHE SIZE&#xA;              Determines the size of the TransformedIdentitiesCacheSize cache, which improves&#xA;              the performance of the Bearer Token authentication.&#xA;              Specify the value in bytes or append the value with KB, MB or GB&#xA;              Default value: 50MB--&amp;gt;&#xA;        &amp;lt;setting name=&quot;Caching.Owin.TransformedIdentitiesCacheSize&quot; value=&quot;50MB&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;&#xA;    &amp;lt;services&amp;gt;&#xA;        &amp;lt;configurator type=&quot;Sitecore.Owin.Authentication.Infrastructure.ServicesConfigurator, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;        &amp;lt;configurator type=&quot;Sitecore.Owin.Authentication.Client.Infrastructure.ServicesConfigurator, Sitecore.Owin.Authentication.Client&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;httpRequestBegin&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Pipelines.HttpRequest.IgnoreList, Sitecore.Kernel&quot;&amp;gt;&#xA;                &amp;lt;prefixes&amp;gt;&#xA;                    &amp;lt;prefix name=&quot;identityProcessing&quot;&amp;gt;/identity/&amp;lt;/prefix&amp;gt;&#xA;                &amp;lt;/prefixes&amp;gt;&#xA;            &amp;lt;/processor&amp;gt;&#xA;        &amp;lt;/httpRequestBegin&amp;gt;&#xA;        &amp;lt;owin.initialize&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.DefineOwinAuthenticationState, Sitecore.Owin.Authentication&quot;&#xA;                       resolve=&quot;true&quot; patch:after=&quot;processor[@type='Sitecore.Owin.Pipelines.Initialize.SetLoggerFactory, Sitecore.Owin']&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.ValidateFederatedAuthenticationState, Sitecore.Owin.Authentication&quot;&#xA;                       resolve=&quot;true&quot; patch:before=&quot;processor[@method='Authenticate']&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.InjectOwinDependencies, Sitecore.Owin.Authentication&quot;&#xA;                       resolve=&quot;true&quot; patch:before=&quot;processor[@method='Authenticate']&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.CookieAuthentication, Sitecore.Owin.Authentication&quot;&#xA;                       resolve=&quot;true&quot; patch:before=&quot;processor[@method='Authenticate']&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.PreviewCookieAuthentication, Sitecore.Owin.Authentication&quot;&#xA;                       resolve=&quot;true&quot; patch:before=&quot;processor[@method='Authenticate']&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.ExternalCookieAuthentication, Sitecore.Owin.Authentication&quot;&#xA;                       resolve=&quot;true&quot; patch:before=&quot;processor[@method='Authenticate']&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.AddIdentityProviders, Sitecore.Owin.Authentication&quot;&#xA;                       resolve=&quot;true&quot; patch:before=&quot;processor[@method='Authenticate']&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.WindowsAzureActiveDirectoryBearerAuthentication, Sitecore.Owin.Authentication&quot;&#xA;                       resolve=&quot;true&quot; patch:before=&quot;processor[@method='Authenticate']&quot;&amp;gt;&#xA;                &amp;lt;IdentityProviderName&amp;gt;&amp;lt;/IdentityProviderName&amp;gt;&#xA;                &amp;lt;ApplicationId&amp;gt;&amp;lt;/ApplicationId&amp;gt;&#xA;                &amp;lt;TenantId&amp;gt;&amp;lt;/TenantId&amp;gt;&#xA;            &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.HandleLoginLink, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/owin.initialize&amp;gt;&#xA;&#xA;        &amp;lt;owin.identityProviders help=&quot;Processors should derive from Sitecore.Owin.Authentication.Pipelines.IdentityProviders.IdentityProvidersProcessor&quot;&amp;gt;&#xA;            &amp;lt;!--Place here the provider initialize class. You can use the custom config file in Include folder - just create new one or use existed.&#xA;            For example:&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Samples.AzureAd.Pipelines.IdentityProviders.AzureAd, Sitecore.Owin.Authentication.Samples.AzureAd&quot; resolve=&quot;true&quot; /&amp;gt;--&amp;gt;&#xA;            &amp;lt;processor type=&quot;CustomProvider.Authentication.GatewayIdentityProviderProcessor, CustomProvider&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/owin.identityProviders&amp;gt;&#xA;&#xA;        &amp;lt;owin.cookieAuthentication.validateIdentity help=&quot;Processors should derive from Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateIdentityProcessor&quot;&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateForUnresolvedSiteContext, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.CheckIdentityProvider, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ResolveToDefaultAuthenticationSourceOnly, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                &amp;lt;paths hint=&quot;list&quot;&amp;gt;&#xA;                &amp;lt;/paths&amp;gt;&#xA;            &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.CheckSiteMode, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;&#xA;        &amp;lt;owin.cookieAuthentication.signIn help=&quot;Processors should derive from Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.SignInProcessor&quot;&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.RemoveTicket, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.ResolveUser, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.ClearCache, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.UpdateUserProperties, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.CheckClientUser, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;        &amp;lt;/owin.cookieAuthentication.signIn&amp;gt;&#xA;&#xA;        &amp;lt;owin.cookieAuthentication.signedIn help=&quot;Processors should derive from Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.SignedInProcessor&quot;&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.CleanupUserProfile, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.GetStartUrl, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.CreateTicket, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.ApplyRedirect, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/owin.cookieAuthentication.signedIn&amp;gt;&#xA;&#xA;        &amp;lt;owin.cookieAuthentication.applyRedirect help=&quot;Processors should derive from Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ApplyRedirect.ApplyRedirectProcessor&quot;&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ApplyRedirect.GoToLoginPage, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;        &amp;lt;/owin.cookieAuthentication.applyRedirect&amp;gt;&#xA;&#xA;        &amp;lt;owin.cookieAuthentication.signOut&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignOut.CheckUser, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignOut.ClearRecentDocuments, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignOut.RemoveTicket, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignOut.ClearCache, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/owin.cookieAuthentication.signOut&amp;gt;&#xA;&#xA;        &amp;lt;getSignInUrlInfo&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.GetSignInUrlInfo.GetExternalSignInUrlInfo, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/getSignInUrlInfo&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&#xA;    &amp;lt;federatedAuthentication type=&quot;Sitecore.Owin.Authentication.Configuration.FederatedAuthenticationConfiguration, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;identityProvidersPerSites hint=&quot;list:AddIdentityProvidersPerSites&quot;&amp;gt;&#xA;            &amp;lt;!--To add a providers per sites configuration you can use the custom config file in Include folder - just create new one or use existed. &#xA;            Under configuration/sitecore/federatedAuthentication/identityProvidersPerSites create a new node with name mapEntry. Fill name, type attributes. &#xA;            The value of the name attribute should be unique for each entry.&#xA;            Under created node fill child nodes: sites (list of sites where the provider(s) will work), identityProviders (list of providers), externalUserBuilder. &#xA;            An example of map entry where the AzureAd provider could be used with shell, admin and website sites:--&amp;gt;&#xA;&#xA;            &amp;lt;mapEntry name=&quot;0&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;              &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                &amp;lt;site&amp;gt;modules_website&amp;lt;/site&amp;gt;&#xA;                &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;                &amp;lt;site&amp;gt;shell&amp;lt;/site&amp;gt;&#xA;              &amp;lt;/sites&amp;gt;&#xA;              &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;                &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='Custom']&quot; /&amp;gt;&#xA;              &amp;lt;/identityProviders&amp;gt;&#xA;              &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;              &amp;lt;/externalUserBuilder&amp;gt;&#xA;            &amp;lt;/mapEntry&amp;gt;&#xA;            --&amp;gt;&#xA;            &amp;lt;!--See below how to add a provider.--&amp;gt;&#xA;        &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;&#xA;        &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;            &amp;lt;!--To add a provider you can use the custom config file in Include folder - just create new one or use existed. &#xA;            Under configuration/sitecore/federatedAuthentication/identityProviders create a new node with name identityProvider. Fill id, type attributes. &#xA;            Under created node fill child nodes: param, caption, domain, transformations. &#xA;            About transformations: because of the need to have idp claim it is recommended to apply setIdpClaim transformation and then custom one(s).&#xA;            An example of provider is placed below:--&amp;gt;&#xA;            &amp;lt;identityProvider id=&quot;Custom&quot; type=&quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;                &amp;lt;param desc=&quot;domainManager&quot; type=&quot;Sitecore.Abstractions.BaseDomainManager&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;                &amp;lt;caption&amp;gt;Log in with Custom&amp;lt;/caption&amp;gt;&#xA;                &amp;lt;icon&amp;gt;/sitecore/shell/themes/standard/Custom/24x24/msazure.png&amp;lt;/icon&amp;gt;&#xA;                &amp;lt;domain&amp;gt;sitecore&amp;lt;/domain&amp;gt;&#xA;                &amp;lt;transformations hint=&quot;list:AddTransformation&quot;&amp;gt;&#xA;                    &amp;lt;!-- &amp;lt;transformation name=&quot;set idp claim&quot; ref=&quot;federatedAuthentication/sharedTransformations/setIdpClaim&quot; /&amp;gt; --&amp;gt;&#xA;                    &amp;lt;transformation type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                      &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;                            &amp;lt;claim name=&quot;idp&quot; value=&quot;Custom&quot; /&amp;gt;&#xA;                        &amp;lt;/sources&amp;gt;&#xA;                        &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;                            &amp;lt;claim name=&quot;http://schemas.microsoft.com/ws/2008/06/identity/claims/role&quot; value=&quot;sitecore\Developer&quot; /&amp;gt;&#xA;                        &amp;lt;/targets&amp;gt;&#xA;                  &amp;lt;keepSource&amp;gt;false&amp;lt;/keepSource&amp;gt;&#xA;                    &amp;lt;/transformation&amp;gt;&#xA;                &amp;lt;/transformations&amp;gt;&#xA;            &amp;lt;/identityProvider&amp;gt;&#xA;        &amp;lt;/identityProviders&amp;gt;&#xA;&#xA;        &amp;lt;!--  List of all shared transformations--&amp;gt;&#xA;        &amp;lt;sharedTransformations hint=&quot;list:AddSharedClaimsTransformation&quot;&amp;gt;&#xA;            &amp;lt;!--Adds idp claim to identity. Every provider should reference to it--&amp;gt;&#xA;            &amp;lt;setIdpClaim name=&quot;setIdpClaim&quot; type=&quot;Sitecore.Owin.Authentication.Services.SetIdpClaimTransform, Sitecore.Owin.Authentication&quot;/&amp;gt;&#xA;&#xA;&#xA;&#xA;        &amp;lt;/sharedTransformations&amp;gt;&#xA;&#xA;        &amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;&#xA;            &amp;lt;/maps&amp;gt;&#xA;        &amp;lt;/propertyInitializer&amp;gt;&#xA;    &amp;lt;/federatedAuthentication&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;* Edit *&lt;/strong&gt; Adding  IdentityProvidersProcessor&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class CustomProvider : IdentityProvidersProcessor&#xA;{&#xA;    public CustomProvider(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration) : base(federatedAuthenticationConfiguration)&#xA;    {&#xA;    }&#xA;&#xA;    protected override string IdentityProviderName =&amp;gt; &quot;Custom&quot;; &#xA;&#xA;    protected override void ProcessCore(IdentityProvidersArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        IdentityProvider identityProvider = this.GetIdentityProvider();&#xA;        string authenticationType = this.GetAuthenticationType();&#xA;&#xA;        var options = new CustomGatewayOptions()&#xA;        {&#xA;            AuthenticationType = authenticationType,&#xA;            BackchannelTimeout = TimeSpan.FromSeconds(60),&#xA;            CallbackPath = new PathString(@&quot;/auth&quot;),&#xA;            Endpoints = new CustomGatewayOptions.CustomAuthenticationEndpoints()&#xA;            {&#xA;                AuthorizationEndpoint = &quot;https://oauthserver/authorize&quot;,&#xA;                TokenEndpoint = &quot;https://oauthserver/token&quot;,&#xA;                UserInfoEndpoint = &quot;https://info/user/&quot;&#xA;            },&#xA;            Provider = new CustomAuthenticationProvider(),&#xA;            ClientID = &quot;xxx&quot;,&#xA;            ClientSecret = &quot;xxxx&quot;,&#xA;            Scope = new List&amp;lt;string&amp;gt;() { &quot;xxxx&quot; }&#xA;        };&#xA;&#xA;        options.Provider.OnAuthenticated = (context) =&amp;gt; &#xA;        {&#xA;&#xA;            context.Identity.ApplyClaimsTransformations(new TransformationContext(this.FederatedAuthenticationConfiguration, identityProvider));&#xA;            return Task.CompletedTask;&#xA;        };&#xA;&#xA;        args.App.UseCustomAuthentication(options);&#xA;&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;* EDIT *&lt;/strong&gt; - Including Provider Callback Reply - heavily copied from &lt;a href=&quot;https://github.com/TerribleDev/OwinOAuthProviders/tree/master/src/Owin.Security.Providers.Twitch&quot; rel=&quot;nofollow noreferrer&quot; title=&quot;Twitch Provider&quot;&gt;Twitch OWIN Provider&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private async Task&amp;lt;bool&amp;gt; InvokeReplyPathAsync()&#xA;    {&#xA;        if (!Options.CallbackPath.HasValue || Options.CallbackPath != Request.Path)&#xA;        {&#xA;            return false;&#xA;        }&#xA;&#xA;        var ticket = await AuthenticateAsync();&#xA;        if (ticket == null)&#xA;        {&#xA;            _logger.WriteWarning(&quot;Invalid return state, unable to redirect.&quot;);&#xA;            Response.StatusCode = 500;&#xA;            return true;&#xA;        }&#xA;&#xA;        var context = new APIGatewayReturnEndpointContext(Context, ticket)&#xA;        {&#xA;            SignInAsAuthenticationType = Options.SignInAsAuthenticationType,&#xA;            RedirectUri = ticket.Properties.RedirectUri&#xA;        };&#xA;&#xA;        await Options.Provider.ReturnEndpoint(context);&#xA;&#xA;        if (context.SignInAsAuthenticationType != null &amp;amp;&amp;amp; context.Identity != null)&#xA;        {&#xA;            var grantIdentity = context.Identity;&#xA;            if (!string.Equals(grantIdentity.AuthenticationType, context.SignInAsAuthenticationType, StringComparison.Ordinal))&#xA;            {&#xA;                grantIdentity = new ClaimsIdentity(grantIdentity.Claims, context.SignInAsAuthenticationType, grantIdentity.NameClaimType, grantIdentity.RoleClaimType);&#xA;            }&#xA;            Context.Authentication.SignIn(context.Properties, grantIdentity);&#xA;        }&#xA;&#xA;        if (context.IsRequestCompleted || context.RedirectUri == null) return context.IsRequestCompleted;&#xA;        var redirectUri = context.RedirectUri;&#xA;        if (context.Identity == null)&#xA;        {&#xA;            // add a redirect hint that sign-in failed in some way&#xA;            redirectUri = WebUtilities.AddQueryString(redirectUri, &quot;error&quot;, &quot;access_denied&quot;);&#xA;        }&#xA;        Response.Redirect(redirectUri);&#xA;        context.RequestCompleted();&#xA;&#xA;        return context.IsRequestCompleted;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;** EDIT - Adding picture of final request with external cookie (my Authentication provider redirects to '/' after logging in the user - this request seems to ignore the External Authentication cookie and cause a 401 status to return (which kicks up my authentication into a continuous loop)  &lt;a href=&quot;https://i.stack.imgur.com/Jh5qS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jh5qS.png&quot; alt=&quot;Picture&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1514" LastEditorUserId="1514" LastEditDate="2018-03-08T15:32:55.783" LastActivityDate="2018-03-08T15:32:55.783" Title="Federated Authentication with ExternalCookie" Tags="|federated-authentication|owin|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10452" PostTypeId="2" ParentId="9743" CreationDate="2018-02-27T23:47:06.557" Score="4" Body="&lt;p&gt;tl;dr There are import APIs for both catalogs and inventory sets, but they are designed around importing data that was exported from another Commerce Engine installation. Custom imports could be massaged to match the expected format, but it's probably not worth it.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Importing Catalogs&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;ImportCatalog()&lt;/code&gt; OData API might do what you need, but the archive file it accepts has very specific contents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If want to create items from a custom CSV or other source, you're better off creating your own Commerce plugin that exposes a Controller / Command. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read on for a breakdown of the &lt;code&gt;ImportCatalog()&lt;/code&gt; API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ImportCatalog()&lt;/code&gt; accepts:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;A zip file via the &lt;code&gt;importFile&lt;/code&gt; parameter, the structure of which is defined below&lt;/li&gt;&#xA;&lt;li&gt;A &lt;code&gt;mode&lt;/code&gt; string parameter - if that parameter is &quot;replace&quot;, all catalog data will be deleted before the import starts. If mode is anything else, entities will be replaced by their ID.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The expected structure of the file is JSON files of serialized Commerce entities, complete with &lt;code&gt;$type&lt;/code&gt; attribution and embedded components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For most entities, the expected filename is &lt;code&gt;EntityName.*.json&lt;/code&gt; (eg. &lt;code&gt;SellableItem.1.json&lt;/code&gt;). Entities of this format that will be imported are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;RelationshipDefinition.*.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;LocalizationEntity.*.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Catalog.*.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Category.*.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SellableItem.*.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In that order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Relationships are imported from any zip entries in the &lt;code&gt;Relationships/&lt;/code&gt; folder.  Each file is expected to be a serialized &lt;code&gt;List&amp;lt;RelationshipArgument&amp;gt;&lt;/code&gt; (from the catalog plugin).&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Importing Inventory&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Inventory can be imported using &lt;code&gt;ImportInventorySets()&lt;/code&gt;, which accepts the same parameters. Entities from it's zip are processed in this order:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;LocalizationEntity.*.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;InventorySet.*.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;InventoryInformation.*.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Relationship/*.json&lt;/code&gt; (InventorySet -&gt; InventoryInformation)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-02-27T23:47:06.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10453" PostTypeId="2" ParentId="9620" CreationDate="2018-02-27T23:54:41.513" Score="1" Body="&lt;p&gt;&lt;code&gt;IStartEnvironmentPipeline&lt;/code&gt; is run every time the environment process starts, so if you'd like to run some code on startup it's best to define a block for that pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, it's a good idea to guard for &lt;code&gt;HasPipeline&amp;lt;TestPolicy&amp;gt;&lt;/code&gt; and return early if it doesn't exist. This will let you continue to use the engine engine code and start your custom job in environments that define the policy, but not ones that don't.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-02-27T23:54:41.513" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10455" PostTypeId="2" ParentId="9958" CreationDate="2018-02-28T04:52:50.463" Score="2" Body="&lt;p&gt;You cannot add snippets to a &lt;code&gt;Page Design&lt;/code&gt;.  You can only assign one or more &lt;code&gt;Partial Designs&lt;/code&gt; to a &lt;code&gt;Page Design&lt;/code&gt;.  The use cases for a &lt;code&gt;Partial Design&lt;/code&gt;, a &lt;code&gt;Page Design&lt;/code&gt; and a &lt;code&gt;Snippet&lt;/code&gt; are all very different.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm going to make the assumption that your requirement to &quot;use Snippets&quot; really means &lt;em&gt;use them where they make sense&lt;/em&gt;.  Not &lt;em&gt;use them everywhere, no matter what&lt;/em&gt;. :)  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Snippets&lt;/code&gt; are a wonderful new tool for content authors to add pre-built collections of components.  For instance, a 3-column, 1/3-1/3-1/3 &lt;code&gt;Column Spliter&lt;/code&gt;, configured properly for responsive breakpoints, with each column containing a &lt;code&gt;Promo&lt;/code&gt; component and associated data sources.  While this would be possible, if not quite tedious, for a content author to configure each time they need this type of layout and component composition, &lt;code&gt;Snippets&lt;/code&gt; make this painfully simple.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Partial Designs&lt;/code&gt;, on the other hand, are more appropriately used for things like headers and footers - things that would apply either globally or evenly to categories of page types.&lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2018-02-28T04:52:50.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10456" PostTypeId="1" CreationDate="2018-02-28T07:20:37.867" Score="1" ViewCount="343" Body="&lt;p&gt;How should i start to integrate NewRelic with Sitecore CMS?&#xA;How does it works?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I'm trying to use NewRelic with Sitecore CMS 8.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm Using Sitecore version 8.0 update 3. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly help. &lt;/p&gt;&#xA;" OwnerUserId="3019" LastEditorUserId="2727" LastEditDate="2018-02-28T08:40:05.427" LastActivityDate="2018-02-28T09:13:25.700" Title="Sitecore 8.0 newrelic integration" Tags="|integration|" AnswerCount="1" CommentCount="0" ClosedDate="2018-02-28T11:50:53.987" ContentLicense="CC BY-SA 3.0" />
  <row Id="10458" PostTypeId="2" ParentId="10456" CreationDate="2018-02-28T09:13:25.700" Score="1" Body="&lt;p&gt;You can start with New Relic Sitecore module in the Sitecore market place &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/New_Relic.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/New_Relic.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the documentation tab you will find the installation instructions. &lt;/p&gt;&#xA;" OwnerUserId="2634" LastActivityDate="2018-02-28T09:13:25.700" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10459" PostTypeId="1" AcceptedAnswerId="10460" CreationDate="2018-02-28T09:14:30.510" Score="1" ViewCount="184" Body="&lt;p&gt;For upgrading our Sitecore instance from 8.2 to 9, we want to use the Sitecore Update Installation Wizard, as mentioned on &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Initial_Release.aspx&lt;/a&gt;&lt;br&gt;&#xA;under the header &quot;Upgrade options&quot;. However, I am wondering how this is supposed to work in a multiple machines environment. We have 1 CM server and 2 CD machines. And when we run the upgrade wizard on the CM machine, how will the assemblies and other files be deployed to the CD machines? How does it works?&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="2727" LastEditDate="2018-03-09T18:59:12.400" LastActivityDate="2018-03-09T18:59:12.400" Title="When we run the upgrade wizard on the CM machine, how will the assemblies be deployed to the CD?" Tags="|upgrade|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10460" PostTypeId="2" ParentId="10459" CreationDate="2018-02-28T09:48:33.590" Score="2" Body="&lt;p&gt;How to do upgrade multiple instances is described into &lt;a href=&quot;https://dev.sitecore.net/~/media/01B4871056434A52AC69C4ECC29F7834.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;upgrade guide&lt;/a&gt; &lt;strong&gt;Chapter 8&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The upgrade procedure for multiple instances depends on your environment architecture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a scaled environment, you must repeat the steps in this guide for each instance, with the&#xA;exception of actions related to the database, which you must follow only once for each&#xA;database .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WX6kd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WX6kd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-02-28T10:02:49.273" LastActivityDate="2018-02-28T10:02:49.273" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10461" PostTypeId="1" CreationDate="2018-02-28T10:13:28.803" Score="1" ViewCount="843" Body="&lt;p&gt;I am trying to raise remote events from CD. So that CM can read EventQueue and perform CRUD operation and publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wanted to display certain message on CD after remote events execution gets completed on CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anyway i can get notified except watching for EventQueue table status?&lt;/p&gt;&#xA;" OwnerUserId="848" LastActivityDate="2018-02-28T14:07:55.603" Title="How to know if Remote Events has been executed on remote environments?" Tags="|event-queue|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10462" PostTypeId="1" CreationDate="2018-02-28T10:34:47.457" Score="6" ViewCount="2353" Body="&lt;p&gt;When editing Sitecore rich text fields, upon saving, it inserts &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tags that are unnecessary for example around images or for line breaks. Also it adds classes to &lt;code&gt;span&lt;/code&gt; tags which is not a preferred behavior.&lt;/p&gt;&#xA;&lt;p&gt;How can I resolve this?&lt;/p&gt;&#xA;" OwnerUserId="2540" LastEditorUserId="172" LastEditDate="2021-07-22T20:36:13.110" LastActivityDate="2021-07-22T22:01:50.090" Title="How can I prevent the richtext field to insert unwanted html?" Tags="|experience-editor|richtext-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="10463" PostTypeId="2" ParentId="10462" CreationDate="2018-02-28T10:34:47.457" Score="4" Body="&lt;p&gt;You can write a custom save event that cleans up the resulting HTML.&#xA;You can find sample code below.&lt;/p&gt;&#xA;&lt;p&gt;Adjust to your own needs.&#xA;Don't forget the mentioned configuration patch to activate the code.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;patch.config&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA; &amp;lt;sitecore&amp;gt;  &#xA;   &amp;lt;events&amp;gt;&#xA;    &amp;lt;event name=&amp;quot;item:saving&amp;quot;&amp;gt;&#xA;      &amp;lt;handler type=&amp;quot;YourNameSpace.Sitecore.Events.RichTextEditorSaveEvent, YourNameSpace.Sitecore&amp;quot; method=&amp;quot;OnItemSaving&amp;quot;&amp;gt;&#xA;        &amp;lt;database&amp;gt;master&amp;lt;/database&amp;gt;&#xA;      &amp;lt;/handler&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;  &amp;lt;/events&amp;gt;&#xA; &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;C# code&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;using Sitecore.Events;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using Sitecore.Collections;&#xA;using Sitecore.SecurityModel;&#xA;using Sitecore.Data.Fields;&#xA;using System.Collections;&#xA;using System.Xml;&#xA;using Sitecore.Data;&#xA;using HtmlAgilityPack;&#xA;&#xA;namespace YourNameSpace.Sitecore.Events&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// This on save event fires for all items, but only for rich text fields it executes logic. In this case it cleans up the rich text field's html.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class RichTextEditorSaveEvent&#xA;    {&#xA;        private static readonly SynchronizedCollection&amp;lt;ID&amp;gt; MProcess = new SynchronizedCollection&amp;lt;ID&amp;gt;();&#xA;&#xA;        public string Database&#xA;        {&#xA;            get;&#xA;            set;&#xA;        } &#xA;&#xA;        public void OnItemSaving(object sender, EventArgs args)&#xA;        {&#xA;&#xA;            var item = Event.ExtractParameter(args, 0) as Item;&#xA;            if (item == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;            if ((item.Database != null &amp;amp;&amp;amp; String.Compare(item.Database.Name, this.Database) != 0) || MProcess.Contains(item.ID))&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            MProcess.Add(item.ID);&#xA;            try&#xA;            {&#xA;                foreach (Field field in item.Fields)&#xA;                {&#xA;                    if (!field.TypeKey.Equals(&amp;quot;rich text&amp;quot;, StringComparison.InvariantCultureIgnoreCase))&#xA;                    {&#xA;                        continue;&#xA;                    }&#xA;&#xA;                    var content = field.Value;&#xA;&#xA;                    if (!string.IsNullOrEmpty(content))&#xA;                    {&#xA;                        content = content.Trim();&#xA;&#xA;                        try&#xA;                        {&#xA;                            HtmlDocument htmlDocument = new HtmlDocument();&#xA;                            htmlDocument.LoadHtml(content);&#xA;                            RemoveEmptyPTags(htmlDocument);&#xA;                            RemovePTagAroundImages(htmlDocument);&#xA;                            MoveSpanClassAndStyleToPTagIfIsDirectAndOnlyChild(htmlDocument);&#xA;                            content = htmlDocument.DocumentNode.InnerHtml;&#xA;&#xA;                        }&#xA;                        catch (Exception)&#xA;                        {&#xA;                            //Apparently no html or not valid, in this case wrap in &amp;lt;p&amp;gt;&#xA;                            if (!content.Contains(&amp;quot;&amp;lt;p&amp;gt;&amp;quot;))&#xA;                            {&#xA;                                content = &amp;quot;&amp;lt;p&amp;gt;&amp;quot; + content + &amp;quot;&amp;lt;/p&amp;gt;&amp;quot;;&#xA;                            }&#xA;                        }&#xA;&#xA;                        //if doing item:saving event&#xA;                        field.Value = content&#xA;&#xA;                        //if doing item:saved event&#xA;                        //using (new SecurityDisabler())&#xA;                        //{&#xA;                        //    item.Editing.BeginEdit();&#xA;                        //    field.Value = content;&#xA;                        //    item.Editing.EndEdit();&#xA;                        //}&#xA;                    }&#xA;                }&#xA;            }&#xA;            catch (Exception)&#xA;            {&#xA;            }&#xA;            finally&#xA;            {&#xA;                MProcess.Remove(item.ID);&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Moves span attributes to parent &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt; tag moves span contents to parent as well, then removes span. This to get cleaner HTML.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;content&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        private void MoveSpanClassAndStyleToPTagIfIsDirectAndOnlyChild(HtmlDocument content)&#xA;        {&#xA;            HtmlNodeCollection spanNodes = content.DocumentNode.SelectNodes(&amp;quot;//span&amp;quot;);&#xA;            if (spanNodes != null &amp;amp;&amp;amp; spanNodes.Count &amp;gt; 0)&#xA;            {&#xA;                foreach (HtmlNode spanTag in spanNodes)&#xA;                {&#xA;                    if (spanTag.ParentNode != null &amp;amp;&amp;amp; spanTag.ParentNode.Name == &amp;quot;p&amp;quot; &amp;amp;&amp;amp; spanTag.ParentNode.ChildNodes.Count == 1)&#xA;                    {&#xA;                        string spanContents = spanTag.InnerHtml;&#xA;                        foreach (HtmlAttribute attr in spanTag.Attributes)&#xA;                        {&#xA;                            if (spanTag.ParentNode.Attributes != null &amp;amp;&amp;amp; spanTag.ParentNode.Attributes[attr.Name] != null)&#xA;                            {&#xA;                                spanTag.ParentNode.Attributes[attr.Name].Value += !string.IsNullOrEmpty(spanTag.ParentNode.Attributes[attr.Name].Value) ? &amp;quot; &amp;quot; + attr.Value : attr.Value;&#xA;                            }&#xA;                            else&#xA;                            {&#xA;                                 spanTag.ParentNode.Attributes.Add(attr.Name, attr.Value);&#xA;                            }&#xA;                        }&#xA;&#xA;                        HtmlNode parent = spanTag.ParentNode;&#xA;                        parent.RemoveChild(spanTag);&#xA;                        parent.InnerHtml += spanContents;&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Images can get empty &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt; tags around them when content editor inputs a linebreak after inserting the image. This is undesirable. This method removes such tags and sets image on parent&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;content&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        private void RemovePTagAroundImages(HtmlDocument content)&#xA;        {&#xA;            HtmlNodeCollection imgNodes = content.DocumentNode.SelectNodes(&amp;quot;//img&amp;quot;);&#xA;            if (imgNodes != null &amp;amp;&amp;amp; imgNodes.Count &amp;gt; 0)&#xA;            {&#xA;                foreach (HtmlNode imgTag in imgNodes)&#xA;                {&#xA;                    if (imgTag.ParentNode.Name == &amp;quot;p&amp;quot;)&#xA;                    {&#xA;                        string xmlToPreserve = imgTag.ParentNode.InnerHtml;&#xA;                        HtmlNode grantParent = imgTag.ParentNode.ParentNode;&#xA;                        grantParent.RemoveChild(imgTag.ParentNode);&#xA;                        grantParent.InnerHtml += xmlToPreserve;&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Cleans html with empty &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt; tags. Content editor should use &amp;lt;br/&amp;gt; line breaks instead, or spacing should be realized with CSS.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;content&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        private void RemoveEmptyPTags(HtmlDocument content)&#xA;        {&#xA;            HtmlNodeCollection pNodes = content.DocumentNode.SelectNodes(&amp;quot;//p&amp;quot;);&#xA;            if (pNodes != null &amp;amp;&amp;amp; pNodes.Count &amp;gt; 0)&#xA;            {&#xA;                foreach (HtmlNode pTag in pNodes)&#xA;                {&#xA;                    if (string.IsNullOrWhiteSpace(pTag.InnerHtml) || pTag.InnerHtml == &amp;quot;&amp;amp;nbsp;&amp;quot; || pTag.InnerHtml == &amp;quot;\n&amp;quot; || pTag.InnerHtml == &amp;quot;\n\n&amp;quot;)&#xA;                    {&#xA;                        pTag.ParentNode.RemoveChild(pTag);&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2540" LastEditorUserId="172" LastEditDate="2021-07-22T22:01:50.090" LastActivityDate="2021-07-22T22:01:50.090" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10464" PostTypeId="1" AcceptedAnswerId="10468" CreationDate="2018-02-28T11:04:20.307" Score="6" ViewCount="326" Body="&lt;p&gt;We are trying to get entity ID when synchronizing &lt;code&gt;Dynamics 365&lt;/code&gt; entities into &lt;code&gt;Sitecore 9.0.1&lt;/code&gt; using &lt;code&gt;Sitecore Connect for Microsoft Dynamics 365 for Sales 2.0.1&lt;/code&gt; module.&#xA;What is the best solution? We are getting currently Microsoft.Xrm.Sdk.EntityReference as value instead of ID. Can we get also other properties from the referenced entity like &lt;code&gt;emailaddress&lt;/code&gt; and so on. We are trying to sync &lt;code&gt;Cases&lt;/code&gt; and corresponding &lt;code&gt;Customer&lt;/code&gt; field (and its id or email address).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Dynamics 365:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3OEHJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3OEHJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/f9dgv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f9dgv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="702" LastEditDate="2018-04-22T15:00:48.200" LastActivityDate="2019-07-02T06:26:24.090" Title="Sitecore Connect for Microsoft Dynamics 365 for Sales 2.0.1 - Getting Microsoft.Xrm.Sdk.EntityReference instead of ID on reference entities" Tags="|data-exchange-framework|dynamics-crm-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10465" PostTypeId="2" ParentId="10461" CreationDate="2018-02-28T11:12:46.070" Score="-1" Body="&lt;p&gt;The only option left after EventQueue is to use Sitecore ItemWebAPI. You can hit the Get/ReadOnly request to know the status of the item you changes/created in master.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a look at this blog&#xA;&lt;a href=&quot;http://www.sitecorecoding.com/2016/08/update-item-name-using-sitecore-item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecorecoding.com/2016/08/update-item-name-using-sitecore-item.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore documentation for ItemWebAPI is available till Sitecore 7.1 and I have used item webApi in Sitecore 7.2. &lt;/p&gt;&#xA;" OwnerUserId="3318" LastActivityDate="2018-02-28T11:12:46.070" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10466" PostTypeId="1" CreationDate="2018-02-28T11:59:49.863" Score="0" ViewCount="682" Body="&lt;p&gt;In our project, we are using TDS to sync and serialize Sitecore items. We are also using TDS to generate GlassMapper model classes for all Sitecore Templates. But now, we are planning to use Unicorn to serialize Sitecore Items and use those &lt;code&gt;.yml&lt;/code&gt; files to generate the GlassMapper model classes.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this, we are following &lt;a href=&quot;https://github.com/hermanussen/sitecore.codegenerator&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/hermanussen/sitecore.codegenerator&lt;/a&gt;, to generate model interfaces and classes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, the issue is, we want to generate exact same GlassMapper classes what TDS is generating. So that there is minimum changes to the implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way is to copy all .tt files from TDS and make changes accordingly, as TDS types and utilities will not be available to generate exact same models.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other simple way to generate exact same model classes and interfaces? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit 1:&#xA;This question is related to the question mentioned &lt;a href=&quot;https://sitecore.stackexchange.com/questions/904/using-unicorn-to-generate-glass-mapper-models&quot;&gt;here&lt;/a&gt;, as i following the same tool describe in the link but my business need is to generate same GlassMApper model what &lt;strong&gt;TDS&lt;/strong&gt; is generating using mentioned approach in the provided link.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-03-02T06:59:23.580" LastActivityDate="2018-03-02T06:59:23.580" Title="Generating same GlassMapper model classes without using TDS" Tags="|glass-mapper|unicorn|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10467" PostTypeId="1" CreationDate="2018-02-28T12:06:50.923" Score="0" ViewCount="199" Body="&lt;p&gt;Occasionally one of our users will publish a near-root item (&lt;code&gt;/sitecore/content/Home/Daily/&lt;/code&gt;) with Sub Items checked.  They're supposed to un-check the Sub Items option during this particular publish, but sometimes forget.  The problem is we have 200,000+ items and it takes a lot of time to process all those items.  I'd like to possibly restrict the Sub Items checkbox if they're on certain items.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I can restrict Sub Items for a role, but the user also needs to publish Sub Items on other items.&lt;/p&gt;&#xA;" OwnerUserId="933" LastEditorUserId="2056" LastEditDate="2019-02-12T13:21:53.720" LastActivityDate="2019-02-12T13:21:53.720" Title="Restrict Sub Items publishing on certain items" Tags="|publishing|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10468" PostTypeId="2" ParentId="10464" CreationDate="2018-02-28T12:29:30.777" Score="4" Body="&lt;p&gt;In order to get customer id you have to change your accessor template to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/j4sn0.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/j4sn0.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be something like this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l7TXV.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l7TXV.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if the value Guid type you can use transformer Guid to String.&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-02-28T12:37:22.670" LastActivityDate="2018-02-28T12:37:22.670" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10470" PostTypeId="2" ParentId="10461" CreationDate="2018-02-28T14:07:55.603" Score="3" Body="&lt;p&gt;&lt;em&gt;Technically&lt;/em&gt; you could run a custom SQL query to see if a server completed execution of a &lt;code&gt;Remote Event&lt;/code&gt;, but I wouldn't recommend it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you say:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Is there anyway i can get notified except watching for EventQueue&#xA;  table status?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This operation happens automatically when the &lt;code&gt;EventProvider&lt;/code&gt; polls the various &lt;code&gt;[EventQueue]&lt;/code&gt; tables. Therefore, part of what you need to accomplish is already done for you.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;What you need to do&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Generally speaking, you need to create a &lt;code&gt;RemoteEvent&lt;/code&gt; type (e.g. MyCmEvent), and subscribe to this type on initialization.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Custom Type&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[DataContract]&#xA;public class MyCmEvent&#xA;{&#xA;    public MyCmEvent(string instanceName)&#xA;    {&#xA;        InstanceName = instanceName;&#xA;    }&#xA;&#xA;    [DataMember]&#xA;    public string InstanceName { get; protected set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Add type to subscription mapping&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyCmEventRemoteMap&#xA;{&#xA;    public static void Initialize()&#xA;    {&#xA;        EventManager.Subscribe&amp;lt;MyCmEvent&amp;gt;(new Action&amp;lt;MyCmEvent&amp;gt;(StoreFactRemoteEventRan&amp;lt;MyCmEvent&amp;gt;));&#xA;    }&#xA;&#xA;    private static void StoreFactRemoteEventRan&amp;lt;TEvent&amp;gt;(TEvent @event)&#xA;    {&#xA;        // build your primary logic here to store the fact that this event ran, set property in memory, update an item, whatever fits your needs&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Config needed&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&quot;MyNamespace.MyCmEventRemoteMap, MyDll&quot; method=&quot;Initialize&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;From CM Server&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From your CM server, when you need to trigger this code, you would call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var myCmEvent= new MyCmEvent(Sitecore.Configuration.Settings.InstanceName);&#xA;EventManager.QueueEvent&amp;lt;MyCmEvent&amp;gt;(myCmEvent);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above code will add a record to the System Event Queue, and set it to run globally, i.e. on CD server(s).&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Notice in the &lt;code&gt;StoreFactRemoteEventRan&lt;/code&gt; method, you need to store the fact that the &lt;code&gt;RemoteEvent&lt;/code&gt; executed. However you end up storing this, you will need to read it wherever you want to display the message on your CD servers. I'm making an assumption that you have multiple CD servers, so likely need to store something in the database- either on an item or in the &lt;code&gt;Core DB -&amp;gt; [Properties]&lt;/code&gt; table (it's good for this type of thing).&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-02-28T14:07:55.603" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="10471" PostTypeId="2" ParentId="10438" CreationDate="2018-02-28T15:14:45.980" Score="1" Body="&lt;p&gt;As far as I see this is not really supported without hacking Sitecore.&#xA;The LargeButton has his own &lt;code&gt;.js&lt;/code&gt; and &lt;code&gt;.cshtml&lt;/code&gt; which is collecting the properties from the &lt;em&gt;core&lt;/em&gt; database. Exactly in the following folder: &lt;code&gt;\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\LargeButton&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have look in the &lt;code&gt;LargeButton.cshtml&lt;/code&gt; then you can see it uses the &lt;code&gt;LargeButton&lt;/code&gt; class from the &lt;code&gt;Sitecore.ExperienceEditor.Speak.Ribbon.Controls.LargeButton&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What you could do&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Create your own button based on the &lt;code&gt;LargeButton&lt;/code&gt;, you need the following then:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create the button rendering item in &lt;em&gt;core&lt;/em&gt; database based on &lt;code&gt;/sitecore/client/Applications/ExperienceEditor/Common/Layouts/Renderings/Ribbon/LargeButton&lt;/code&gt; item&lt;/li&gt;&#xA;&lt;li&gt;Create your own &lt;code&gt;.cshtml&lt;/code&gt; and &lt;code&gt;.js&lt;/code&gt; based on the files what I mentioned above&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Implement your own Ribbon Control at the end where you can have access to the Rendering Parameters and add new attributes, something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomLargeButton : RibbonIconButtonBase&#xA;{&#xA;    public CustomLargeButton()&#xA;    {&#xA;    }&#xA;&#xA;    public CustomLargeButton(RenderingParametersResolver parametersResolver)&#xA;        : base(parametersResolver)&#xA;    {&#xA;    }&#xA;&#xA;    protected override void InitializeControl(RenderingParametersResolver parametersResolver)&#xA;    {&#xA;        base.InitializeControl(parametersResolver);&#xA;        this.Attributes[&quot;data-sc-mycustomattribute&quot;] = renderingParametersResolver.GetString(&quot;MyCustomAttribute&quot;, string.Empty);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="408" LastActivityDate="2018-02-28T15:14:45.980" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10472" PostTypeId="1" AcceptedAnswerId="10477" CreationDate="2018-02-28T15:17:24.237" Score="0" ViewCount="677" Body="&lt;p&gt;I have inherited a very old and messy instance of Sitecore 7.  Ive decided to cleanup some of the config files and im starting with the indexes.  There are a few custom indexes that i noticed don't show in the index manager popup.  I presume because the below declaration uses Sitecore search and not Lucene.  Does anyone know, if there is a way i can get them to appear?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;configuration type=&quot;Sitecore.Search.SearchConfiguration, Sitecore.Kernel&quot; singleinstance=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;         &amp;lt;index id=&quot;centresearch&quot; type=&quot;Sitecore.Search.Index, Sitecore.Kernel&quot;&amp;gt;&#xA;           &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;           &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;           &amp;lt;analyzer ref=&quot;search/analyzer&quot; /&amp;gt;&#xA;           &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;            &amp;lt;web type=&quot;Global.Application.Search.CentreSearchCrawler, Global.Application&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Tags&amp;gt;web content&amp;lt;/Tags&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Global/Centres&amp;lt;/Root&amp;gt;&#xA;            &amp;lt;/web&amp;gt;&#xA;           &amp;lt;/locations&amp;gt;&#xA;         &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;     &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="2727" LastEditDate="2018-02-28T18:30:18.930" LastActivityDate="2018-02-28T18:30:18.930" Title="Custom index not showing in the index manager popup" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10473" PostTypeId="2" ParentId="10459" CreationDate="2018-02-28T15:21:15.260" Score="0" Body="&lt;p&gt;You can use the sitecore migration tools, from the sitecore website. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/31/Express_Migration_Tool_31.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool/31/Express_Migration_Tool_31.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Express Migration Tool 3.1 can help you migration to major releases of Sitecore 6.6,7.2, 7.5 or 8.0 to the latest version of Sitecore Experience Platform 9.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. DMS data to xDB will still require the use of the conversion tools found on the Sitecore Experience Platform download pages&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-02-28T15:21:15.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10474" PostTypeId="2" ParentId="10462" CreationDate="2018-02-28T15:40:25.357" Score="0" Body="&lt;p&gt;&lt;strong&gt;Solution 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you copy paste the text in richtext editor, it copies enties thing with tags associated. You can copy the text and paste it in HTML mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2DFx9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2DFx9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and then switch to design mode and from the dropdown menu you can select the normal that will enclose the text in paragraph tag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h3oO0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h3oO0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before pasting the text in rich text editor, you can copy in noptepad and copy it again from notepad, and then you paste it to richtext editor in sitecore. It will not copy the unnecessary tags.&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-02-28T15:40:25.357" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10475" PostTypeId="1" AcceptedAnswerId="10633" CreationDate="2018-02-28T15:52:09.290" Score="2" ViewCount="3175" Body="&lt;p&gt;I am using Sitecore SIFLess program 1.5 version, which is similar to the SIM tools, the Sitecore 9 installation fails with message: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;msdeploy.exe returned a non-zero exit code - (-1)&#xA;install-SitcoreConfiguration @xConnectParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LAhty.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LAhty.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2727" LastEditDate="2018-03-09T16:53:11.063" LastActivityDate="2019-10-11T10:47:00.657" Title="Source doesn't support parameter called 'IIS Web Application Name' error with Sitecore 9 installation using web deploy" Tags="|deployment|sitecore-install-framework|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10476" PostTypeId="2" ParentId="9051" CreationDate="2018-02-28T16:00:03.623" Score="2" Body="&lt;p&gt;The Sitecore 9 initial release had bugs, so the patch version was introduced.&#xA;Now the latest version is &lt;strong&gt;Sitecore 9 update-1&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore compatibility table shows all compatibility of Sitecore CMS and Sitecore XP with different browsers, operating systems, .NET frameworks, and database servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Compatibility Table&lt;/a&gt;&#xA;and the &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr Compatibility&lt;/a&gt; latest recommended version is &lt;strong&gt;Solr 6.6.2&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/087164&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-02-28T16:00:03.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10477" PostTypeId="2" ParentId="10472" CreationDate="2018-02-28T16:16:22.173" Score="2" Body="&lt;p&gt;You configuration should look like this one :    &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;   &amp;lt;contentSearch&amp;gt;&#xA;    &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;centersearch&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;Limit&amp;gt;300&amp;lt;/Limit&amp;gt;&#xA;            &amp;lt;/policy&amp;gt;&#xA;          &amp;lt;/policies&amp;gt;&#xA;        &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/content/Global/Centres&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;  &amp;lt;/contentSearch&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I  remarked you have a custom crawler, you should modify &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with you custom crawler class&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-02-28T16:16:22.173" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10478" PostTypeId="2" ParentId="10304" CreationDate="2018-02-28T16:32:10.980" Score="0" Body="&lt;p&gt;You can find it in the sitecore powershell Script library &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The scripts are stored at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/SXA/SXA - Scaffolding/Functions/Scaffolding/Site&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see the images below. There are &lt;code&gt;Powershell scripts&lt;/code&gt; which are performing various functions. Creating site, removing site, etc &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t3QDg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t3QDg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-02-28T16:32:10.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10479" PostTypeId="1" CreationDate="2018-02-28T16:59:03.427" Score="3" ViewCount="308" Body="&lt;p&gt;Have you encountered this issue in SXA?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WkjBB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WkjBB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To re-create the issue, In the Experience Editor Click Presentation Details &gt; Click Final Layout tab &gt; click Edit &gt; click Placeholder Settings &gt; click Add&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried installing a fresh Sitecore 9 instance then installed SXA 1.6 and Sitecore PowerShell Extension 4.7.2 and I encounter the same error. Anyone has info on how to resolve this issue? &lt;/p&gt;&#xA;" OwnerUserId="3169" LastEditorUserId="2727" LastEditDate="2018-03-22T13:28:30.237" LastActivityDate="2018-03-23T19:04:02.733" Title="System.InvalidOperationException value exception in Placeholder with SXA installed in Sitecore 9 update 1" Tags="|sxa|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10480" PostTypeId="1" AcceptedAnswerId="10484" CreationDate="2018-02-28T18:26:11.583" Score="8" ViewCount="545" Body="&lt;p&gt;I am working on importing the data from file system provider into Sitecore using Data Exchange framework.While adding the content using regular template in sitecore, the items are imported fine.But I wanted to use Branch template to create the item in the sitecore.I can not create item based on branch template because while debugging the code I have encountered in to source code provided in the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1956/adding-subitems-with-the-data-exchange-framework&quot;&gt;Adding Subitems with the Data Exchange Framework&lt;/a&gt; answer and according to which, it checks only for template item and not branch item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The suggested answer in the above thread which says to &quot;override the ItemRepository and implement a new method that caters for Branch Template&quot; but it does not explain how to do it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried so far,&#xA;Overriding the item creation using all &lt;code&gt;HttpBegin&lt;/code&gt; request pipelines and all item events like item:creating,Item:saving and Item:adding but no solution seem to overwrite the &lt;code&gt;Itemrepository&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, The Add method in &lt;code&gt;Sitecore.Services.Infrastructure.Sitecore.Data.ItemRepository&lt;/code&gt; can not be overwritten from anywhere in pipelines.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="2056" LastEditDate="2018-03-22T17:20:23.873" LastActivityDate="2018-04-02T14:23:15.687" Title="Sitecore Data Exchange Framework Branch Template Issue Template is invalid" Tags="|templates|data-exchange-framework|branch|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10481" PostTypeId="1" CreationDate="2018-02-28T19:26:45.250" Score="0" ViewCount="1153" Body="&lt;p&gt;After enabling HTTPS on a Sitecore website that is hosted on the AWS cloud, we are unable to access the Sitecore login page. &lt;a href=&quot;https://www.[domainname].com/sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.[domainname].com/sitecore&lt;/a&gt; which returns 403 - Forbidden:Access is denied error. Some of the other pages do not load their contents as well. How can I resolved the access issue to the Sitecore Login page on Sitecore client?&lt;/p&gt;&#xA;" OwnerUserId="187" LastEditorUserId="2890" LastEditDate="2018-02-28T19:41:21.843" LastActivityDate="2018-04-01T15:13:17.897" Title="Sitecore login page returns 403 - Forbidden: Access is denied after HTTPS is enabled" Tags="|security|login|amazon-web-services|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10482" PostTypeId="1" AcceptedAnswerId="10483" CreationDate="2018-02-28T19:29:31.807" Score="4" ViewCount="226" Body="&lt;p&gt;In the Experience Editor, there is a breadcrumbs-type Navigation Bar that allows editors to navigate the Sitecore tree:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V3vVL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V3vVL.png&quot; alt=&quot;Image of breadcrumbs in Experience Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, some non-page items show up in the drop-down lists of items which causes confusion because they can't be edited in Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I limit the items that are returned in those lists?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-02-28T19:29:31.807" Title="How do I customize the items that are returned in the Experience Editor navigation bar control?" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10483" PostTypeId="2" ParentId="10482" CreationDate="2018-02-28T19:29:31.807" Score="7" Body="&lt;p&gt;Clicking the &gt; icon calls the &lt;code&gt;Sitecore.ExperienceEditor.Speak.Ribbon.Requests.Breadcrumb.GetChildItems.ProcessRequest()&lt;/code&gt; method which returns a model containing a &lt;code&gt;List&amp;lt;BreadcrumbItem&amp;gt;&lt;/code&gt;. That list is then rendered to the drop-down in the Experience Editor. By replacing the &lt;code&gt;GetChildItems&lt;/code&gt; class with a custom class, you can return whatever items you like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need two things:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;A Custom Class&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You'll need references to &lt;code&gt;Sitecore.ExperienceEditor.Speak&lt;/code&gt; and &lt;code&gt;Sitecore.ExperienceEditor.Speak.Ribbon&lt;/code&gt; to build this class.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.ExperienceEditor.Speak.Ribbon.Requests.Breadcrumb;&#xA;using Sitecore.ExperienceEditor.Speak.Server.Contexts;&#xA;using Sitecore.ExperienceEditor.Speak.Server.Requests;&#xA;using Sitecore.ExperienceEditor.Speak.Server.Responses;&#xA;using Sitecore.Globalization;&#xA;&#xA;namespace Test.Services.SpeakRequests&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// This class is decompiled from Sitecore.ExperienceEditor.Speak.Ribbon.Requests.Breadcrumb.GetChildItems and reproduced here to introduce template filtering&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class BreadcrumbGetChildItems : PipelineProcessorRequest&amp;lt;ItemContext&amp;gt;&#xA;    {&#xA;        private readonly IList&amp;lt;ID&amp;gt; _HiddenTemplateIds = new List&amp;lt;ID&amp;gt;&#xA;                                                        {&#xA;                                                            GlobalConstants.BucketTemplateId&#xA;                                                        };&#xA;&#xA;        public override PipelineProcessorResponseValue ProcessRequest()&#xA;        {&#xA;            if (RequestContext.Item == null)&#xA;            {&#xA;                return new PipelineProcessorResponseValue&#xA;                {&#xA;                    AbortMessage = Translate.Text(&quot;The target item could not be found.&quot;)&#xA;                };&#xA;            }&#xA;            var breadcrumbItems = new List&amp;lt;BreadcrumbItem&amp;gt;();&#xA;            // This .Where() clause is the only difference between the decompiled code and this custom class (besides the _HiddenTemplateIds list it references, of course)&#xA;            foreach (Item child in RequestContext.Item.Children.Where(c =&amp;gt; !_HiddenTemplateIds.Contains(c.TemplateID)))&#xA;            {&#xA;                breadcrumbItems.Add(new BreadcrumbItem(child, RequestContext.DeviceItem));&#xA;            }&#xA;            return new PipelineProcessorResponseValue&#xA;            {&#xA;                Value = breadcrumbItems&#xA;            };&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;A Config Patch&lt;/h1&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&#xA;            &amp;lt;request name=&quot;ExperienceEditor.Breadcrumb.GetChildItems&quot; type=&quot;Test.Services.SpeakRequests.BreadcrumbGetChildItems, Test.Services&quot;&#xA;                           patch:instead=&quot;*[@name='ExperienceEditor.Breadcrumb.GetChildItems']&quot; /&amp;gt;&#xA;        &amp;lt;/sitecore.experienceeditor.speak.requests&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-02-28T19:29:31.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10484" PostTypeId="2" ParentId="10480" CreationDate="2018-03-01T00:13:07.707" Score="5" Body="&lt;ol&gt;&#xA;&lt;li&gt;Override &lt;strong&gt;InProcItemModelRepository&lt;/strong&gt; class.&lt;/li&gt;&#xA;&lt;li&gt;Create patch file to override item model repository.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Have look at &lt;strong&gt;&lt;em&gt;Sitecore.DataExchange.Local.config&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is configuration to specify item model repository.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dataExchange&amp;gt;&#xA;        &amp;lt;tenantRepository type=&quot;Sitecore.DataExchange.Repositories.Tenants.SitecoreTenantRepository, Sitecore.DataExchange&quot;&amp;gt;&#xA;            &amp;lt;itemModelRepository ref=&quot;dataExchange/itemModelRepository&quot; /&amp;gt;&#xA;        &amp;lt;/tenantRepository&amp;gt;&#xA;        &amp;lt;itemModelRepository type=&quot;Sitecore.DataExchange.Local.Repositories.InProcItemModelRepository, Sitecore.DataExchange.Local&quot;&amp;gt;&#xA;            &amp;lt;databaseName&amp;gt;master&amp;lt;/databaseName&amp;gt;&#xA;        &amp;lt;/itemModelRepository&amp;gt;&#xA;        &amp;lt;logger type=&quot;Sitecore.DataExchange.Local.Loggers.PrefixedSitecoreLogger, Sitecore.DataExchange.Local&quot;&amp;gt;&#xA;            &amp;lt;prefix&amp;gt;Data Exchange&amp;lt;/prefix&amp;gt;&#xA;        &amp;lt;/logger&amp;gt;&#xA;        &amp;lt;pipelineBatchLoggerService type=&quot;Sitecore.DataExchange.Local.Loggers.PipelineBatchLoggerService, Sitecore.DataExchange.Local&quot; /&amp;gt;&#xA;    &amp;lt;/dataExchange&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-03-01T00:13:07.707" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10485" PostTypeId="2" ParentId="4106" CreationDate="2018-03-01T03:46:18.143" Score="0" Body="&lt;p&gt;If your working with Sitecore 8.2 your most likely building your pages in MVC. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you're not attempting to place the older &quot;Web Forms&quot; based WFFM control into an MVC page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recall getting a similar error after I made that mistake during installation testing. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Form.Core.Ascx.Controls.SimpleForm..ctor()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="2714" LastEditDate="2018-03-01T05:22:31.463" LastActivityDate="2018-03-01T05:22:31.463" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10486" PostTypeId="1" AcceptedAnswerId="10520" CreationDate="2018-03-01T03:52:28.647" Score="1" ViewCount="143" Body="&lt;p&gt;I'm trying to set up fluent configuration for my project; it's non-Helix and the models and maps right now are in the web project. In the &lt;code&gt;GlassMapperScCustom.cs&lt;/code&gt;, I've added this script (that's similar to what's in the Professional Sitecore 8 Development book) to the &lt;code&gt;AddMaps&lt;/code&gt; function:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string binPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, &quot;bin&quot;);&#xA;&#xA;foreach (string dll in Directory.GetFiles(binPath, binFiles, SearchOption.AllDirectories)) {&#xA;    try {&#xA;        Assembly loadedAssembly = Assembly.LoadFile(dll);&#xA;        Type glassmapType = typeof(IGlassMap);&#xA;        IEnumerable&amp;lt;Type&amp;gt; maps = loadedAssembly.GetTypes().Where(x =&amp;gt; glassmapType.IsAssignableFrom(x));&#xA;&#xA;        foreach (Type map in maps) {&#xA;            mapsConfigFactory.Add(() =&amp;gt; Activator.CreateInstance(map) as IGlassMap);&#xA;        }&#xA;    } catch (FileLoadException loadEx) {&#xA;    } // The Assembly has already been loaded.&#xA;    catch (BadImageFormatException imgEx) {&#xA;    } // If a BadImageFormatException exception is thrown, the file is not an assembly.&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where binFiles is the matching pattern to look for. I'm being told that one of my models exists in multiple assemblies...I'm using interfaces for the models, and the model in question inherits one other interface and is inherited by one, so I don't know if that has an effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I step through the code in the debugger, it only registers one assembly as having GlassMap items, and I'm not seeing any repeats, so I don't know where it could be coming from. The shared layout and main layout both call this model in the @inherits statement, but even if I comment one of those out, the error still occurs.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="35" LastEditDate="2019-03-28T10:28:54.593" LastActivityDate="2019-03-28T10:28:54.593" Title="&quot;Type exists in multiple assemblies&quot; with Glass and fluent config" Tags="|configuration|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10487" PostTypeId="1" CreationDate="2018-03-01T04:22:58.823" Score="4" ViewCount="610" Body="&lt;p&gt;I'm having a problem implementing FXM generated script on some of out sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Issue, I found is that, the generated &lt;strong&gt;Tracking script&lt;/strong&gt; script is located on our CMS, which is not a public domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried downloading the script and deminify it and saw the domain hard coded inside of it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SCBeacon = new SCBeacon(&quot;//cms.xxxx.com/sitecore/api/ssc/Beacon/Service&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there other way to do this without making the CMS domain public=?&#xA;Can the script be downloaded and changed to point to the CD server which is available to public?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will appreciate much if you share how to properly implement this.&lt;/p&gt;&#xA;" OwnerUserId="2029" LastEditorUserId="2727" LastEditDate="2018-03-20T10:42:21.277" LastActivityDate="2018-03-20T10:42:21.277" Title="Whats is the correct way to implement FXM generated script" Tags="|tracking|javascript|fxm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10489" PostTypeId="2" ParentId="10487" CreationDate="2018-03-01T04:37:38.110" Score="2" Body="&lt;p&gt;You need to set the &lt;code&gt;FXM.Hostname&lt;/code&gt; setting to a hostname that is handled by your CD server. Use a config patch like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;FXM.Hostname&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;mydomain.com&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2018-03-01T04:42:49.627" LastActivityDate="2018-03-01T04:42:49.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10490" PostTypeId="2" ParentId="10487" CreationDate="2018-03-01T04:39:50.660" Score="4" Body="&lt;p&gt;In a distributed environment, you must enable the following two configuration files on all the servers: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.FXM.Bundle.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.FXM.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, make sure that the following configuration files are enabled on your content management servers:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.FXM.Speak.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Search configs (lucene files or solr files)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, on each content management server, you must specify which content delivery server that the content management server should use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore.FXM.config file, in the FXMHostname setting, specify the content delivery server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;FXM.Hostname&quot; value=&quot;yourdomain&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Use patching files to change this setting.&#xA;This parameter is empty by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/federated_experience_manager/configuring/configuring_fxm&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configuring FXM&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="95" LastEditDate="2018-03-01T15:15:57.397" LastActivityDate="2018-03-01T15:15:57.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10491" PostTypeId="2" ParentId="4321" CreationDate="2018-03-01T07:29:05.107" Score="1" Body="&lt;p&gt;By looking at your logs, it seems I have faced the similar issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue was resolved by using the correct versions mentioned on the sitecore github habitat repository:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;make sure you have installed the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update5.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Experience Platform 8.2 Update 5&lt;/a&gt; ---- (&lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Instance_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore instance manager&lt;/a&gt; is recommended)&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Install the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers/82/Web_Forms_For_Marketers_82_Update5.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Webforms for Marketers 8.2 Update 5 &lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;reset iis by command &lt;code&gt;iisreset&lt;/code&gt; and rebuild sitecore indexes ( additional step to avoid encounter any issue).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;now you have prerequisites installed for Sitecore Habitat. now run these commands one by one, I have tested it 2 or 3 times. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Make sure you have Visual Studio 2017 installed:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm --add-python-to-path='true' --debug install --global windows-build-tools&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install -g&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install npm@latest&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install --g gulp&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install -g gulp-cli&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install --save-dev gulp-sass&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install node-sass -g&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm cache clean --f&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm rebuild node-sass&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For Visual Studio 2015 follow this first&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;in gulp-config.js modify &lt;code&gt;buildToolsVersion: 15.0&lt;/code&gt; to &lt;code&gt;buildToolsVersion: 14.0&lt;/code&gt; and run command&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install --msvs_version=2015 -g&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Your prerequisites are ready, You can now run gulp from same command prompt&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;gulp&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-01T07:29:05.107" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10492" PostTypeId="2" ParentId="6647" CreationDate="2018-03-01T07:49:47.397" Score="0" Body="&lt;p&gt;You can install the habitat with your desired name, SIM does not allow &lt;a href=&quot;http://habitat.dev.local/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.dev.local/&lt;/a&gt; instead it allows &lt;a href=&quot;http://dev.habitat.local/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dev.habitat.local/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You don't need to worry, You can Install it as &lt;a href=&quot;http://habitat.local/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.local/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CbhuL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CbhuL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have any issue installing, follow my answer &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4321/sitecore-habitat-setup/10491#10491&quot;&gt;Sitecore habitat setup&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set the desired hostname &lt;code&gt;&amp;lt;sc.variable name=&quot;rootHostName&quot; value=&quot;dev.local&quot; /&amp;gt;&lt;/code&gt; in &lt;code&gt;z.Habitat.DevSettings.config&lt;/code&gt; file, and run the commands to install the habitat&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once everything is finished and your sitecore and habitat is installed: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to IIS and add the Bindings for the &lt;a href=&quot;http://dev.habitat.local/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dev.habitat.local/&lt;/a&gt; &#xA;And register the host name in the Host file as well, becuase when installing the habitat it does not register the &lt;code&gt;dev.habitat.local&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;add in host file &lt;code&gt;127.0.0.1 dev.habitat.local&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IJACq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IJACq.png&quot; alt=&quot;IIS and add the Bindings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-01T07:49:47.397" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10494" PostTypeId="2" ParentId="10415" CreationDate="2018-03-01T08:25:53.133" Score="0" Body="&lt;p&gt;The benefits of using SXA rendering variants over simple Rendering Parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rendering variants and rendering parameters are directly related but are different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rendering variants give complete complete control over the HTML markup, in case you need to divide the sections in different &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; tags, add custom CSS classes, to design and give better UI results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rendering variants allow to have custom rendering parameters, for example. you want to show the title of the page on a promo, you can use the rendering variant &#xA;and assign the rendering parameter to &lt;code&gt;Title&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Sy2yW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Sy2yW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rendering Parameters are the assigned parameter to the renderings, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tPl1V.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tPl1V.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the default rendering parameters for Promo.  But we can change it to &lt;code&gt;Title&lt;/code&gt; depending on our logic and requirements. &lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-01T08:25:53.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10496" PostTypeId="2" ParentId="9220" CreationDate="2018-03-01T09:36:40.273" Score="2" Body="&lt;p&gt;To make it compatible with most of the devices, Sitecore SXA is using bootstrap 3. but any framework can be adapted. you can add the new bootstrap 4 grid and follow the existing bootstrap structure and and modify the classes based on bootstrap 4. see image below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Y6vVq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y6vVq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Introduced flexbox for better designing layouts&lt;/li&gt;&#xA;&lt;li&gt;Because of more demand using sass instead of less&lt;/li&gt;&#xA;&lt;li&gt;Mixins classes like rounded-corners introduced, to fast up the pace of development&lt;/li&gt;&#xA;&lt;li&gt;Fonts using rem for better view on different devices&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Bootstrap 3 has support for IE9 and iOS6. but flexbox are not supported on these browsers&lt;/li&gt;&#xA;&lt;li&gt;Difficult for quick adaption for those who are using bootstrap 3&lt;/li&gt;&#xA;&lt;li&gt;Media query breakpoints are changed because of the newly introduced device resolutions, which bootstrap 4 has catered.&lt;/li&gt;&#xA;&lt;li&gt;Online customiser in not available&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-01T09:36:40.273" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10501" PostTypeId="2" ParentId="7727" CreationDate="2018-03-01T10:57:38.843" Score="1" Body="&lt;p&gt;WFFM currently does not allow client side validation on dropdown list. You should use the client side validation using javascript. Remove the dropdown list from required in WFFM and set the client side validations for it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another workaround is to create the custom WFFM validation fields, you can follow this document for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.unic.com/2015/06/09/create-custom-validation-fields-in-sitecore-wffm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.unic.com/2015/06/09/create-custom-validation-fields-in-sitecore-wffm&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-01T10:57:38.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10504" PostTypeId="1" AcceptedAnswerId="10505" CreationDate="2018-03-01T13:53:03.227" Score="6" ViewCount="790" Body="&lt;p&gt;I am configuring a multiple sites with different languages using virtual folder and physical folder as there is a requirement that specifies to use the same domain to map to different nodes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the site definitions for my sites.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;site patch:before=&quot;site[@name='website']&quot;&#xA;        name=&quot;TestSite2&quot;&#xA;        rootPath=&quot;/sitecore/content/fr-BE&quot;&#xA;        startItem=&quot;/home&quot;&#xA;        notFoundItem=&quot;/home/Landing Pages/404&quot;            &#xA;        loginPage=&quot;/loginpage&quot;&#xA;        virtualFolder=&quot;/fr-BE&quot;&#xA;        physicalFolder=&quot;/fr-BE&quot;&#xA;        requireLogin=&quot;false&quot; &#xA;        database=&quot;master&quot;&#xA;        domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;false&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;10MB&quot;&#xA;        registryCacheSize=&quot;0&quot;&#xA;        viewStateCacheSize=&quot;0&quot;&#xA;        xslCacheSize=&quot;5MB&quot;&#xA;        filteredItemsCacheSize=&quot;2MB&quot;&#xA;        language=&quot;fr-BE&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;false&quot;&#xA;        disableClientData=&quot;false&quot;&#xA;        systemFilesPath=&quot;/sitecore/media library/System&quot; &#xA;        robotsTxtItem=&quot;/robotstxt File&quot;&#xA;        targetHostName=&quot;testsite&quot;&#xA;        xmlSitemapFilename=&quot;sitemap.xml&quot;&#xA;        xmlSitemapDisableCompression=&quot;true&quot; &#xA;        scheme=&quot;http&quot;           &#xA;        /&amp;gt;&#xA;&#xA;&#xA;        &amp;lt;site patch:before=&quot;site[@name='website']&quot;&#xA;        name=&quot;TestSite3&quot;&#xA;        rootPath=&quot;/sitecore/content/nl-BE&quot;&#xA;        startItem=&quot;/home&quot;&#xA;        notFoundItem=&quot;/home/Landing Pages/404&quot;           &#xA;        loginPage=&quot;/loginpage&quot;&#xA;        virtualFolder=&quot;/nl-BE&quot;&#xA;        physicalFolder=&quot;/nl-BE&quot;&#xA;        requireLogin=&quot;false&quot; &#xA;        database=&quot;master&quot;&#xA;        domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;false&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;10MB&quot;&#xA;        registryCacheSize=&quot;0&quot;&#xA;        viewStateCacheSize=&quot;0&quot;&#xA;        xslCacheSize=&quot;5MB&quot;&#xA;        filteredItemsCacheSize=&quot;2MB&quot;&#xA;        language=&quot;nl-BE&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;false&quot;&#xA;        disableClientData=&quot;false&quot;&#xA;        systemFilesPath=&quot;/sitecore/media library/System&quot; &#xA;        robotsTxtItem=&quot;/robotstxt File&quot;&#xA;        targetHostName=&quot;testsite&quot;&#xA;        xmlSitemapFilename=&quot;sitemap.xml&quot;&#xA;        xmlSitemapDisableCompression=&quot;true&quot; &#xA;        scheme=&quot;http&quot;           &#xA;        /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The setting &lt;code&gt;Languages.AlwaysStripLanguage&lt;/code&gt; has been patched to &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue I am having is that the site context that is being resolved to &lt;code&gt;website&lt;/code&gt; when opening &lt;code&gt;http://testsite/fr-be&lt;/code&gt; or &lt;code&gt;http://testsite/nl-be&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is not being resolved to the  &lt;code&gt;TestSite2&lt;/code&gt; or &lt;code&gt;TestSite3&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this the default behaviour?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using sitecore 8.2 Update 1.&lt;/p&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="73" LastEditDate="2018-03-02T12:42:33.440" LastActivityDate="2018-03-02T12:42:33.440" Title="Correct use of virtualFolder and physicalFolder" Tags="|multitenancy|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10505" PostTypeId="2" ParentId="10504" CreationDate="2018-03-01T15:07:29.660" Score="9" Body="&lt;p&gt;Can you please check your &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; file to see if the above patched site definitions exists there and they are before the &quot;website&quot; site definition ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also check &lt;code&gt;Language.AlwaysStripLanguage&lt;/code&gt; setting in &lt;code&gt;ShowConfig.aspx&lt;/code&gt; also set to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If above options are correctly done, then please check if your &quot;website&quot; site definition have any hostName attribute defined ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there is no hostName for &quot;website&quot; definition, then please try removing &lt;code&gt;targetHostName&lt;/code&gt; attribute from your two site definitions and see if it is working.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="605" LastEditDate="2018-03-01T15:42:38.220" LastActivityDate="2018-03-01T15:42:38.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10506" PostTypeId="1" CreationDate="2018-03-01T15:38:14.857" Score="2" ViewCount="639" Body="&lt;p&gt;I'm running into a weird issue with Sitecore 8.2 Update-6 where after I modify an item (with MVC controls) using the Sitecore Experience Editor I start getting &lt;code&gt;NullReferenceException&lt;/code&gt;s when I view the page as a normal visitor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My current Renderings for the item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r xmlns:p=&quot;p&quot; xmlns:s=&quot;s&quot; p:p=&quot;1&quot;&amp;gt;&#xA;  &amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;&amp;gt;&#xA;    &amp;lt;r uid=&quot;{2D081E63-B246-4C1E-9CBD-404E3BB00206}&quot;&amp;gt;&#xA;      &amp;lt;p:d /&amp;gt;&#xA;    &amp;lt;/r&amp;gt;&#xA;    &amp;lt;r uid=&quot;{FAF13011-175F-4DCF-8356-337D848E1BC7}&quot; p:after=&quot;*[1=2]&quot; /&amp;gt;&#xA;    &amp;lt;r uid=&quot;{05DD0AEC-B002-4835-9CDA-794DCA38B428}&quot;&amp;gt;&#xA;      &amp;lt;p:d /&amp;gt;&#xA;    &amp;lt;/r&amp;gt;&#xA;  &amp;lt;/d&amp;gt;&#xA;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Final renderings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r xmlns:p=&quot;p&quot; xmlns:s=&quot;s&quot; p:p=&quot;1&quot;&amp;gt;&#xA;  &amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;&amp;gt;&#xA;    &amp;lt;r uid=&quot;{1F1726FC-D9F1-4735-8B04-5AF3F1876340}&quot; p:before=&quot;*&quot; s:ds=&quot;{3EA9EEA0-B852-4251-9B24-E7C6207C8FF4}&quot; s:id=&quot;{CD37935F-BEEC-4435-9D0A-456E57928178}&quot; s:ph=&quot;pageHeader&quot; /&amp;gt;&#xA;    &amp;lt;r uid=&quot;{9EC91D3C-60B0-46C3-8307-BEF51DE16483}&quot; p:after=&quot;r[@uid='{1F1726FC-D9F1-4735-8B04-5AF3F1876340}']&quot; s:ds=&quot;{BD389803-B963-469A-BBAB-6FC22AB10DE7}&quot; s:id=&quot;{71FCA9EC-160E-4154-BA6E-C0ED4836896A}&quot; s:ph=&quot;content&quot; /&amp;gt;&#xA;    &amp;lt;r uid=&quot;{EBA0DD59-A033-44AB-834A-8D2CD65B737D}&quot; p:after=&quot;r[@uid='{9EC91D3C-60B0-46C3-8307-BEF51DE16483}']&quot; s:ds=&quot;{70D7BE92-85BF-4AED-BB23-E8431EE4AB51}&quot; s:id=&quot;{B46AD45F-383B-42CA-B416-A505773EC283}&quot; s:ph=&quot;content&quot; /&amp;gt;&#xA;    &amp;lt;r uid=&quot;{894E47C8-0E09-4C74-8C36-A206FC15A92A}&quot; s:ph=&quot;header&quot; /&amp;gt;&#xA;    &amp;lt;r uid=&quot;{65922EC1-EA0D-4EF1-A490-B17BE82A3711}&quot; s:ph=&quot;footer&quot; /&amp;gt;&#xA;    &amp;lt;r uid=&quot;{3A88D3CC-26F8-4F6A-8D8C-B2A8788F2E47}&quot; s:ph=&quot;placeholderBreadcrumb&quot; /&amp;gt;&#xA;    &amp;lt;r uid=&quot;{FAF13011-175F-4DCF-8356-337D848E1BC7}&quot;&amp;gt;&#xA;      &amp;lt;p:d /&amp;gt;&#xA;    &amp;lt;/r&amp;gt;&#xA;  &amp;lt;/d&amp;gt;&#xA;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I then get &lt;code&gt;NullReferenceException&lt;/code&gt;s on the following three lines in my main layout (as I remove the placeholder code from the layout I can cycle through all three):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Placeholder(&quot;header&quot;)&#xA;@Html.Sitecore().Placeholder(&quot;placeholderBreadcrumb&quot;)&#xA;@Html.Sitecore().Placeholder(&quot;footer&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Despite seeing these errors, the page does work in the Experience Editor. However, before this I was running into an issue where the page would display when not logged in, but would throw exceptions on these same lines when trying to edit the page via the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The header, placeholderBreadcrumb, and footer are not marked as Editable in Sitecore (defined in Layout &gt; Placeholder Settings &gt; Project &gt; BusMain &gt; ___).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The stack trace from the YSOD (which is essentially the same as what's in the Sitecore logs) is as follows:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[NullReferenceException: Object reference not set to an instance of an&#xA;  object.]&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.CreateCyclePreventer(String&#xA;  placeholderName, Rendering rendering) +39&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String&#xA;  placeholderName, TextWriter writer, RenderPlaceholderArgs args) +153&lt;br&gt;&#xA;  (Object , Object[] ) +73&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +474&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +21&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +194&lt;br&gt;&#xA;  Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String&#xA;  placeholderName) +257&lt;br&gt;&#xA;  ASP._Page_Views_Project_BusMain_Layouts_Default_cshtml.Execute() in&#xA;  c:\path\to\Website\Views\Project\BusMain\Layouts\Default.cshtml:5&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +251&lt;br&gt;&#xA;  System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +147&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +121&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +135    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +308&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/Views/Project/BusMain/Layouts/Default.cshtml' (model:&#xA;  'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +792 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +147&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +75    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +475&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext&#xA;  viewContext, TextWriter writer) +331&lt;br&gt;&#xA;  System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;  +375    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +88&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;/code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +831&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +831&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext&#xA;  controllerContext, IList&lt;/code&gt;1 filters, ActionResult actionResult) +81&lt;br&gt;&#xA;  System.Web.Mvc.Async.&amp;lt;&gt;c__DisplayClass21.b__1e(IAsyncResult&#xA;  asyncResult) +36&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Pulling up ILSply suggests that it might be triggering off of &lt;code&gt;Assert.IsNotNull(rendering, &quot;rendering&quot;);&lt;/code&gt;, but I don't see why this would be the case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The rendering in the header has no logic that would cause an exception, minus pulling in a view, with no logic, via &lt;code&gt;Html.Partial()&lt;/code&gt;. The footer is the same, but the breadcrumbs does have logic that could potentially be throwing an exception. However, Sitecore getting stuck on the header and footer suggests this isn't the issue, as well as the fact that the page works in one display when it doesn't work in the other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions on how I can further troubleshoot the presentation details on this page?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that removing the header, footer, and placeholderBreadcrumb controls from the Final Renderings display allows the page to be viewed as a normal user, with the controls still visible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, once I go in and modify the item again via the Experience Editor the header, footer, and placeholderBreadcrumb items are added back in, with placeholder keys set accordingly, which then breaks the display.&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2018-03-01T18:46:01.703" LastActivityDate="2018-03-01T18:46:01.703" Title="CreateCyclePreventer throwing NullReferenceException with final rendering details" Tags="|experience-editor|presentation|placeholders|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10507" PostTypeId="1" CreationDate="2018-03-01T15:45:28.633" Score="3" ViewCount="846" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aiPDh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aiPDh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know how I might edit the EE ribbon so that the Preview is always the 2nd option (i.e. the button) as opposed to Other? This just adds an additional step every time you toggle between edit and Preview mode. Irritating if you aren't using Debug or Explore option (i know my client won't). It's usability issue that my client has commented on.&lt;/p&gt;&#xA;" OwnerUserId="2797" LastEditorUserId="2797" LastEditDate="2018-03-01T15:48:19.693" LastActivityDate="2018-03-01T23:54:40.140" Title="How to customize Experience Editor ribbon to make it easier to toggle between Edit &amp; Preview" Tags="|experience-editor|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10508" PostTypeId="2" ParentId="10507" CreationDate="2018-03-01T15:47:32.347" Score="1" Body="&lt;p&gt;In the Core database, just change the order of the item &lt;strong&gt;/sitecore/content/Applications/WebEdit/Menus/Other Views/Preview&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fmmUr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fmmUr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WzVPt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WzVPt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2018-03-01T15:47:32.347" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10509" PostTypeId="1" AcceptedAnswerId="10512" CreationDate="2018-03-01T16:50:01.873" Score="4" ViewCount="754" Body="&lt;p&gt;I am looking to create reusable container section with promo rendering variants. This section should include multiple variant rendering. For example, a section with partners logo which I can reuse through out the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best approach? Partial Design, Reusable components (rich text/HTML)??, or snippet? page content? or anything else. Thank you&lt;/p&gt;&#xA;" OwnerUserId="2693" LastActivityDate="2018-03-01T17:24:53.013" Title="How to use rendering variants as reusable component?" Tags="|sxa|best-practices|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10510" PostTypeId="1" CreationDate="2018-03-01T17:02:04.957" Score="4" ViewCount="607" Body="&lt;p&gt;Today we had a server go down because Commerce Engine filled up the disk space with log files. How can we configure it to automatically delete older log files? We're on Sitecore Commerce 8.2.1.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2020-05-23T23:53:54.943" Title="How to automatically clean up Commerce Engine log files?" Tags="|sitecore-commerce|logging|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10511" PostTypeId="1" AcceptedAnswerId="10513" CreationDate="2018-03-01T17:09:33.247" Score="1" ViewCount="937" Body="&lt;p&gt;Does migrating Sitecore website from IIS 8.5 to IIS 10.0 for gains of HTTP2(Page Load speeds) make site performing well. Does anybody have done test or have experience of doing so, to share here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't need usual performance tuning dump, did already everything like page\component caching at different levels, use of CDN, JS/CSS bundling &amp;amp; minification, use of Critical CSS, Image Optimization, but not able to reduce server response time from average of 8 seconds to 3-4 seconds on 3G data test. Don't suggest to beef-up/scale number of CD server, already did. Don't suggest anything to do with SQL optimization, already did. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only way i see is to move on frameworks like AMP or JAM Stack where websites are HTML files embed with JS API calls &amp;amp;  hosted in edge CDNs. Essentially moving away from Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="227" LastEditorUserId="95" LastEditDate="2018-03-01T19:06:45.587" LastActivityDate="2018-03-01T19:18:34.787" Title="Does Sitecore website performance improve when serving traffic over HTTP2" Tags="|performance-optimization|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10512" PostTypeId="2" ParentId="10509" CreationDate="2018-03-01T17:24:53.013" Score="4" Body="&lt;p&gt;&lt;strong&gt;Partial Designs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the &lt;code&gt;partial design&lt;/code&gt; for the outer sections. like grey section containers, read section containers and black section containers. Those are constant ones. Read more at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/page_designs&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/page_designs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Snippets&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rest of the part which is static one and repeatable on multiple pages, you can create &lt;code&gt;snippets&lt;/code&gt;. There are 3 configurations for the snippets. you can find here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/sharing_content/select_modify_and_create_associated_content&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/sharing_content/select_modify_and_create_associated_content&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unassinged Datasources&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For those &lt;code&gt;Rendering Variants&lt;/code&gt; that contains the rendering parameters coming from page level, for example ( &lt;code&gt;page content component&lt;/code&gt; ), you can set the data source for those components to empty and assign the parameter in the rendering variant. you can check more details on:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/the_sxa_renderings_and_rendering_variants&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/the_sxa_renderings_and_rendering_variants&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-01T17:24:53.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10513" PostTypeId="2" ParentId="10511" CreationDate="2018-03-01T17:31:44.180" Score="4" Body="&lt;p&gt;The usage of HTTP/2 is not specific to Sitecore. In fact, you could take advantage of this even for a static html site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may find that &lt;a href=&quot;https://caniuse.com/#search=http2&quot; rel=&quot;nofollow noreferrer&quot;&gt;browsers supporting HTTP/2&lt;/a&gt; will only do so over TLS, so be sure that is in place. There was an &lt;a href=&quot;https://www.troyhunt.com/i-wanna-go-fast-https-massive-speed-advantage/&quot; rel=&quot;nofollow noreferrer&quot;&gt;article posted by Troy Hunt&lt;/a&gt; on using HTTPS which gave a good example on how you see requests for assets download in parallel. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should see a performance improvement, but results will vary for many reasons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is from his article:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://www.troyhunt.com/content/images/2016/07/HTTPS-Load.gif&quot; alt=&quot;enter link description here&quot;&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-03-01T19:18:34.787" LastActivityDate="2018-03-01T19:18:34.787" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10514" PostTypeId="1" AcceptedAnswerId="10686" CreationDate="2018-03-01T18:55:50.270" Score="27" ViewCount="9811" Body="&lt;p&gt;Let me start by saying that I have had this happen before and typically I have only had to reindex the Master index. However, nothing is working to display the 15 forms that we have created. I have already been through this post here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8518/why-i-cant-see-my-forms-templates-in-the-sitecore-forms-application&quot;&gt;Why I can&amp;#39;t see my forms/templates in the Sitecore Forms application?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can modify the forms through the Content Tree at this point, but I drastically need the UI in order to see where things are placed to make quick changes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this goes over 24-48 hours, I am going to take to Sitecore Support and log a ticket. Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="475" LastActivityDate="2021-06-24T16:53:44.280" Title="No forms are displaying in Sitecore 9 Forms area" Tags="|sitecore-forms|" AnswerCount="9" CommentCount="17" ContentLicense="CC BY-SA 3.0" />
  <row Id="10515" PostTypeId="1" CreationDate="2018-03-01T19:22:59.363" Score="1" ViewCount="549" Body="&lt;p&gt;We are using Sitecore 8.2 Initial Release for one of customer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have one simple question about the media library search. Whenever we click on browse button to select an image (when image field is empty), all the images and media files are displayed in search as shown in following screen shot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QPwLk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QPwLk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However whenever an image field has an image, and if I try to browse button, only the selected image is displayed in search and I am unable to search for any another image. As shown in following screen shot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4OMd4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4OMd4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if it works in media library search functionality like this?&lt;/p&gt;&#xA;" OwnerUserId="3330" LastEditorUserId="73" LastEditDate="2018-03-02T12:41:11.450" LastActivityDate="2018-03-02T12:41:11.450" Title="Media Library search functionality shows only on blank image fields" Tags="|sitecore-client|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10516" PostTypeId="2" ParentId="10515" CreationDate="2018-03-01T19:25:26.103" Score="3" Body="&lt;p&gt;We had also this issue in past and we have talked to Sitecore. This is the bug in this revision. Try to upgrade to Sitecore 8.2 Update 3 that has this issue fixed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please review the release notes for Sitecore 8.2 Update 3 for reference number 94870 (this was provided by Sitecore) on &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update3/Release%20Notes&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update3/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2018-03-01T19:25:26.103" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10517" PostTypeId="1" AcceptedAnswerId="10522" CreationDate="2018-03-01T22:45:42.507" Score="3" ViewCount="244" Body="&lt;p&gt;Pretend you have a small client that is on &lt;code&gt;Sitecore 8.2&lt;/code&gt; on-premise (virtual servers). Traffic is pretty light, and they get away with using just 2 servers (1 DB and 1 Web). Needless to say budget is limited here and factors into all their decisions. They have their main website on Sitecore, and host some landing pages, and whitepapers on &lt;code&gt;HubSpot&lt;/code&gt;. They would like to implement a search that lives on their &lt;code&gt;Sitecore&lt;/code&gt; site, but searches both &lt;code&gt;Sitecore&lt;/code&gt; and &lt;code&gt;HubSpot&lt;/code&gt; content (and documents would be a bonus).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, aside from the free version, &lt;code&gt;Coveo&lt;/code&gt; is not in the budget.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My instinct is to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get the client to get another server or beef up an existing. &lt;/li&gt;&#xA;&lt;li&gt;Install &lt;code&gt;Solr&lt;/code&gt; or &lt;code&gt;Elastic Search&lt;/code&gt; on one of the servers&lt;/li&gt;&#xA;&lt;li&gt;Create a scheduled task that either uses Sitecore's indexing pipeline, or an external site crawler to spider the page output (like Google) daily.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But I think this would be a fun topic to get some community input on, that would also feedback into other people pondering something similar.&lt;/p&gt;&#xA;" OwnerUserId="433" LastEditorUserId="2056" LastEditDate="2018-03-02T09:43:46.310" LastActivityDate="2018-03-02T09:43:46.310" Title="What are some methods for indexing and searching content from multiple sites?" Tags="|solr|content-search|indexing|elastic|" AnswerCount="1" CommentCount="5" ClosedDate="2018-03-02T12:39:51.970" ContentLicense="CC BY-SA 3.0" />
  <row Id="10518" PostTypeId="2" ParentId="10450" CreationDate="2018-03-01T23:25:58.930" Score="4" Body="&lt;p&gt;&lt;em&gt;Treat it as a comment. I don't have enough reputation to make a real one.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have you specified allowed sites for your external identity provider in the corresponding &lt;code&gt;federatedAuthentication/identityProvidersPerSites/mapEntry&lt;/code&gt; node? This node must have &lt;code&gt;sites&lt;/code&gt; sub node that contains a list of site names for which users will have access if they are authenticated by the providers from the &lt;code&gt;identityProviders&lt;/code&gt; subnode node of the &lt;code&gt;mapEntry&lt;/code&gt; node.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;site&amp;gt;shell&amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If it does not help, then it would be much faster if you show your FedAuth-related config and your processor where you configure your external identity provider.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;@Watson I do not - BUT - I believe according to the current sitecore 9 blogs I'm reading that happens automatically (but I could be wrong)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You're correct. It happens automatically.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;** EDIT New comments&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;External cookie middleware must be passive. You may forget about external cookies at all. Those cookies are short-lived cookies to temporary store Identity object and some properties from the external providers. They should exists only for one request or so.&lt;/li&gt;&#xA;&lt;li&gt;I see &lt;code&gt;&amp;lt;keepSource&amp;gt;false&amp;lt;/keepSource&amp;gt;&lt;/code&gt; when you  transform the &lt;em&gt;idp&lt;/em&gt; claim. It means that the &lt;em&gt;idp&lt;/em&gt; claim will be removed during claim transformation. It must be preserved! Change &lt;em&gt;keepSource&lt;/em&gt; to &lt;code&gt;true&lt;/code&gt;. Actually, if an Identity does not have an &lt;em&gt;idp&lt;/em&gt; claim, Sitecore have to throw an exception. It's hard to say, why exactly you have not seen an exception with your config (look at the &lt;code&gt;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity&lt;/code&gt; processor) wihout seeing the whole solution.&lt;/li&gt;&#xA;&lt;li&gt;Check whether adding &lt;code&gt;sc_site=website&lt;/code&gt; url parameter to the URI that you request will make any changes for you. Chances are that your requested path is resolved as non-website site.&lt;/li&gt;&#xA;&lt;li&gt;Besides &lt;em&gt;idp&lt;/em&gt; claim issue, your config is OK (assuming that the &lt;em&gt;Sitecore.Owin.Authentication.Enabler.config.example&lt;/em&gt; config file is enabled), so can you add the code of your &lt;code&gt;GatewayIdentityProviderProcessor&lt;/code&gt; for further investigation if fix to the &lt;code&gt;keepSource&lt;/code&gt; does not help?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="147" LastEditorUserId="147" LastEditDate="2018-03-06T21:56:06.553" LastActivityDate="2018-03-06T21:56:06.553" CommentCount="20" ContentLicense="CC BY-SA 3.0" />
  <row Id="10519" PostTypeId="2" ParentId="10507" CreationDate="2018-03-01T23:54:40.140" Score="6" Body="&lt;p&gt;Explanation is below if you want to know more details.  But here's what you need to do.  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Switch to Core DB inside the Desktop.&lt;/li&gt;&#xA;&lt;li&gt;Open Content Editor and go to: &#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/content/Applications/WebEdit/Ribbons/Chunks/Modes&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Copy the &lt;code&gt;Experience Editor&lt;/code&gt; item (sort it accordingly) and update the values:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Header: Preview &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Icon: Office/24x24/preview.png&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tooltip: Preview item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ID: PreviewRibbonButton&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Enabled: true&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SpriteIcon: Sprites/Experience Editor Speak Ribbon/24x24/Preivew&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Display Name: -blank-&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now open the Presentation Details and click on the &lt;code&gt;LargeButton&lt;/code&gt; rendering.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Update the values as follow:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Command: Preview&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ControlStateRequest: ExperienceEditor.Mode.CanSelectMode&lt;/p&gt;&#xA;&#xA;&lt;p&gt;HideInPreviewMode: true&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PageCodeScriptFileName: /sitecore/shell/client/Sitecore/ExperienceEditor/Commands/Preview.js&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click OK twice.  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;At this time, switch to the Master DB and you should now see the new Preview button.  If you click it, you will get an error.  This is because, we haven't created the Preview.js.  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In Windows Explorer, go to the directory that contains the commands JSes:&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;sitecore\shell\client\Sitecore\ExperienceEditor\Commands&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;Copy the SelectMode.js and name it Preview.js.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Update Preview.js by replacing line 17 from this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  context.currentContext.value = encodeURIComponent(context.currentContext.argument + &quot;|&quot; + ExperienceEditor.getPageEditingWindow().location);&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      var previewMenuItemId = &quot;{CD96B740-8FBB-4722-8154-2FBCC72B374C}&quot;; // Menu item (see below)&#xA;&#xA;      context.currentContext.value = encodeURIComponent(previewMenuItemId + &quot;|&quot; + ExperienceEditor.getPageEditingWindow().location);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Save the file.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now, refresh (may need a hard-refresh) the Experience Editor and  try the Preview button again.  It should now work!!!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;HOW IT WORKS?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The mode selection is through the existing Speak Command &lt;code&gt;SelectMode&lt;/code&gt; which is defined in the Commands folder I mentioned above.  This command runs the processor &lt;code&gt;ExperienceEditor.Mode.SelectModeRequest&lt;/code&gt; which is defined in the config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This request processor essentially looks at the SPEAK's &lt;code&gt;RequestContext.Value&lt;/code&gt; for a content item ID that has the &lt;code&gt;Message&lt;/code&gt; field in it (Menu item template).  This field should have the &quot;webedit:preview&quot; as it s value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, knowing that we have Preview working before under the Other button, I used that item ID (in the Core DB):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/content/Applications/WebEdit/Menus/Other Views/Preview&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note*&lt;/strong&gt; that since I don't know how to pass an &quot;argument&quot; to a &lt;code&gt;Command&lt;/code&gt; through the &lt;code&gt;LargeButton&lt;/code&gt; rendering, I have to make a copy of the SelectMode.js and pass the content ID explicitly.  I tried to see how an argument is passed but there doesn't seem to be a way.&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-03-01T23:54:40.140" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10520" PostTypeId="2" ParentId="10486" CreationDate="2018-03-02T02:05:36.903" Score="2" Body="&lt;p&gt;Doing the &lt;code&gt;AddMaps&lt;/code&gt; function like this ended up working for me (replace &quot;DevBox&quot; with the name of your assembly set to check):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void AddMaps(IConfigFactory&amp;lt;IGlassMap&amp;gt; mapsConfigFactory) {&#xA;    Type glassmapType = typeof(IGlassMap);&#xA;    IEnumerable&amp;lt;Assembly&amp;gt; assemblies = AppDomain.CurrentDomain.GetAssemblies().Where(x =&amp;gt; x.FullName.Contains(&quot;DevBox&quot;));&#xA;&#xA;    foreach (Assembly assembly in assemblies) {&#xA;        IEnumerable&amp;lt;Type&amp;gt; maps = assembly.GetTypes().Where(x =&amp;gt; glassmapType.IsAssignableFrom(x));&#xA;&#xA;        foreach (Type map in maps) {&#xA;            mapsConfigFactory.Add(() =&amp;gt; Activator.CreateInstance(map) as IGlassMap);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastEditorUserId="35" LastEditDate="2019-03-28T10:28:50.600" LastActivityDate="2019-03-28T10:28:50.600" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10521" PostTypeId="1" AcceptedAnswerId="15240" CreationDate="2018-03-02T07:32:03.370" Score="2" ViewCount="228" Body="&lt;p&gt;I am working on the personalization of the Email Campaign OOTB of Sitecore 9 Update 1. What I need to do is to be able to send a content to specific segments of recipients/contacts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I did:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created Two Contact lists&lt;/li&gt;&#xA;&lt;li&gt;Added both to the &quot;Include List&quot; in the Email Campaign&lt;/li&gt;&#xA;&lt;li&gt;Personalized a rendering.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IIMRT.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IIMRT.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dPyyu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dPyyu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did it to the other Contact List I created. But when i checked the Emails, both received the same content. Why?&lt;/p&gt;&#xA;" OwnerUserId="2472" LastEditorUserId="2472" LastEditDate="2019-03-18T07:17:59.453" LastActivityDate="2019-03-18T07:17:59.453" Title="Personalize an Email Campaign message" Tags="|exm|personalization|" AnswerCount="1" CommentCount="3" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10522" PostTypeId="2" ParentId="10517" CreationDate="2018-03-02T07:44:36.447" Score="0" Body="&lt;p&gt;You have good idea. &#xA;We did something similar to our previous client where they had documents stored in their internal system. Documents where indexed by another Solr server. Then during night indexes were moved to Sitecore Solr server and replaced old document index. We had a custom Solr core for these documents and used it in document search on Sitecore.&#xA;Indexes were moved via Powershell scripts.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-02T07:44:36.447" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10523" PostTypeId="1" AcceptedAnswerId="10524" CreationDate="2018-03-02T08:49:07.267" Score="7" ViewCount="1181" Body="&lt;p&gt;After renaming the Storefront so that it made more sense without the context of the Tenant parent folders, the Commerce data no longer appears on the website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not entirely clear why it broke, considering there is a &lt;em&gt;hard&lt;/em&gt; link from the SXA site to the storefront on the Home template's &quot;Control Panel Configuration&quot; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the requirements around naming Storefront items, and how can I fix the situation I have?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a bonus, what's the point of the &quot;Control Panel Configuration&quot; field if it doesn't associate the store with the site?&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-03-02T12:41:26.007" Title="Correlation of SXA Site, Storefront, and Commerce Shop" Tags="|sxa|sitecore-commerce|commerce-connect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10524" PostTypeId="2" ParentId="10523" CreationDate="2018-03-02T08:51:04.730" Score="4" Body="&lt;p&gt;tl;dr These two values must match:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The Sitecore site name (In SXA, the &quot;Site Name&quot; field of the /Settings/Site Grouping/SiteName item)&lt;/li&gt;&#xA;&lt;li&gt;The item name of the storefront (&quot;/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/ShopName&quot;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The way that all links together is very odd. I'm guessing it's due to legacy reasons, and hopefully it gets cleaned up in a future release:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Commerce Connect (which has no knowledge of SXA) determines the name of the shop using the Sitecore SiteInfo's Name. In SXA, this is the &quot;Site Name&quot; field on the /Settings/Site Grouping/SiteName item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Commerce Engine creates the Shop entity if it doesn't exist, but since it only has a string (the name) it goes back to Sitecore to pull the information from the storefront (dizzying, yes). So it expects an item &quot;/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/ShopName&quot; to exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There &lt;em&gt;is&lt;/em&gt; a hard link from SXA to the Storefront, but it's not clear why it doesn't get used to resolve the shop name (and thus reducing it down to a single source of truth). I'll need to do more research, but I suspect there may not have been an appropriate pipeline to extend.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2018-03-02T08:59:03.583" LastActivityDate="2018-03-02T08:59:03.583" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10525" PostTypeId="2" ParentId="9484" CreationDate="2018-03-02T08:55:05.827" Score="1" Body="&lt;p&gt;There are several reasons why this might be the case:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) If you renamed your storefront item (in. /sitecore/Commerce/Commerce Control Panel/), you need to also change the site name as outlined in &lt;a href=&quot;https://sitecore.stackexchange.com/q/10523/1173&quot;&gt;this answer&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) If 'Storefront' no longer exists, it might still be configured as the default storefront in Sitecore.Commerce.Engine.Connect.config (defaultShopName)&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-03-02T08:55:05.827" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10526" PostTypeId="1" AcceptedAnswerId="10587" CreationDate="2018-03-02T09:30:23.807" Score="2" ViewCount="549" Body="&lt;p&gt;As described in this article.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://cardinalcore.co.uk/2014/07/02/sitecore-pipelines-commands-using-ioc-containers/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cardinalcore.co.uk/2014/07/02/sitecore-pipelines-commands-using-ioc-containers/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can use pipeline &quot;ref&quot; and &quot;factory&quot; attributes, to use dependency injection on a pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are newer ways of doing this since sitecore 8.2 (Infact 8.2 update 2 didn't work with this setup, and we had to wait for 8.2 update 3+)&#xA;As we use Castle, we can't use the Dependency Resolver, as that doesn't call release and cause memory leaks.&#xA;So utilising this older way of doing dependency injection, which does allow us to call release.&#xA;(We also are using ControllerFactory for the same reason)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've just started at looking at how much work to upgrade to Sitecore 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ISetting and IFactory have made Obsolete(Infact whole Sitecore.Abstraction.dll removed and moved to Sitecore.kernel.dll)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; Obsolete(&quot;Use Sitecore.Kernel!Sitecore.Abstractions.BaseCorePipelineManager instead.&quot;)] &#xA;&amp;gt; public interface ICorePipeline&#xA;&amp;gt; &#xA;&amp;gt; [Obsolete(&quot;Use Sitecore.Kernel!Sitecore.Abstractions.BaseFactory instead.&quot;)] &#xA;&amp;gt; public interface IFactory&#xA;&amp;gt; &#xA;&amp;gt; [Obsolete(&quot;Use Sitecore.Kernel!Sitecore.Abstractions.BaseRuleFactory instead.&quot;)] &#xA;&amp;gt; public interface IRuleFactory&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And instead of the interface has been replaced with abstract class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Primary Question - Sitecore support have confirmed this works&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are these hooks still available in sitecore 9 to use &quot;ref&quot; and &quot;factory&quot; to do dependency injection in Sitecore 9? And do they work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;del&gt;If so how can our Factory (which uses Castle) implement IFactory without getting a obsolete build warning, or how would we use the replacement base factory in a &quot;ref&quot; and &quot;factory&quot; scenario?&lt;/del&gt;&#xA;Just realised that this is using the Sitecore.Reflection.IFactory&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Resolved&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Secondary Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;ISetting&quot; &amp;amp; &quot;ICorePipeline&quot; &amp;amp; &quot;IFactory&quot; we were using in our Dependency Injection setup, how could we use the replacement abstract classes to achieve the old behaviour in our DI setup without getting the obsolete build warnings?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As we'll need to move away from this when this obsolete code is removed in a future version.&lt;/p&gt;&#xA;" OwnerUserId="388" LastEditorUserId="388" LastEditDate="2018-03-05T16:26:58.397" LastActivityDate="2019-06-24T04:45:57.490" Title="Is Pipeline Ref Factory still available?" Tags="|dependency-injection|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10527" PostTypeId="1" CreationDate="2018-03-02T11:48:01.410" Score="0" ViewCount="2571" Body="&lt;p&gt;Getting error while running jss start at my local, attached screen shot for same.&quot; Couldn't find preset &quot;env&quot; relative to directory &quot;~\jss-master\jss-master\samples\basic-sample-react&quot;&#xA;Trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;  [1]:  npm run start --                                                                                                                                                                                                                                                                                                                               sitecore-jss-basicapp@7.0.0 start D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react &#xA;                                                                jss clean &amp;&amp; node -r babel-register ./build/start.js --env.content=disconnected                                                                                                                                                                                                                                                               Cleaning path ./dist...   &#xA;                                                                                                                                              D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:328                               throw e;                                                                                                                                                                ^                                                                                                                                                                                                                                                                                                                                       Error: Couldn't find preset &quot;env&quot; relative to directory &quot;D:\\Sitecore\\JSS\\V2\\jss-master\\jss-master\\samples\\basic-sample-react&quot;                                        at D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:293:19         &#xA;        at Array.map ()                                                                                                                                              at OptionManager.resolvePresets (D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:275:20)                                                                                                                                                          at OptionManager.mergePresets (D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:264:10)                                                                                                                                                            at OptionManager.mergeOptions (D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:249:14)                                                                                                                                                            at OptionManager.init (D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)                                                                                                                                                                    at compile (D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react\node_modules\babel-register\lib\node.js:103:45)                                         at loader (D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react\node_modules\babel-register\lib\node.js:144:14)                                          at Object.require.extensions.(anonymous function) [as .js] (D:\Sitecore\JSS\V2\jss-master\jss-master\samples\basic-sample-react\node_modules\babel-register\lib\node.js:154:7)                                                                                                                                                                  at Module.load (module.js:556:32)                                                                                                                                   npm ERR! code ELIFECYCLE                                                                                                                                                npm ERR! errno 1                                                                                                                                                        npm ERR! sitecore-jss-basicapp@7.0.0 start: `jss clean &amp;&amp; node -r babel-register ./build/start.js --env.content=disconnected`                                           npm ERR! Exit status 1                                                                                                                                                  npm ERR!                                                                                                                                                                npm ERR! Failed at the sitecore-jss-basicapp@7.0.0 start script.                                                                                                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.                                                                                                                                                                                                                                              npm ERR! A complete log of this run can be found in:                                                                                                                    npm ERR!    &#xA;&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3333" LastEditorUserId="2727" LastEditDate="2018-03-20T11:16:12.333" LastActivityDate="2018-03-20T11:16:12.333" Title="Couldn't find preset &quot;env&quot; relative to directory Error while upgrading to JSS Update 2" Tags="|jss|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10528" PostTypeId="1" CreationDate="2018-03-02T12:16:48.327" Score="0" ViewCount="106" Body="&lt;p&gt;I have tried to connect sitecore 8.1 update 1 with salesforce as per document in &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Salesforce_Connect_Module.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/Salesforce_Connect_Module.aspx&lt;/a&gt; and referring &lt;a href=&quot;http://sitecorestudy.com/?p=167&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorestudy.com/?p=167&lt;/a&gt;  . But frequently getting the error  shown below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have double checked the credentials and token values. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Sitecore.Salesforce *** Could not create configuration. &#xA;  Provider name:salesforce Exception:&#xA;  System.Reflection.TargetInvocationException Message: Exception has&#xA;  been thrown by the target of an invocation.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)&#xA;   at Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Salesforce.SalesforceProvider.GetConfiguration(String providerName)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception:&#xA;  Sitecore.Salesforce.Client.Exceptions.SalesforceAuthException Message:&#xA;  authentication failure Source: Sitecore.Salesforce.Client    at&#xA;  Sitecore.Salesforce.Client.Security.AuthenticatorBase.Authenticate()&lt;br&gt;&#xA;  at Sitecore.Salesforce.Client.SalesforceClient.UpdateToken()    at&#xA;  Sitecore.Salesforce.Client.SalesforceClient..ctor(HttpClient&#xA;  httpClient, IAuthenticator authenticator)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Salesforce Account used is developer account and followed all steps in document. Any help will be appreciated&lt;/p&gt;&#xA;" OwnerUserId="3203" LastEditorUserId="73" LastEditDate="2018-03-02T12:36:27.560" LastActivityDate="2018-06-07T16:37:27.777" Title="Could not create configuration. Provider name:salesforce" Tags="|salesforce-connect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10530" PostTypeId="2" ParentId="9743" CreationDate="2018-03-02T12:58:39.743" Score="0" Body="&lt;p&gt;I've just been testing serialisation of entities using the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SellableItem si = new SellableItem();&#xA;var blah = si.Deflate();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and it appears to produce the following json:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;$type&quot;: &quot;Sitecore.Commerce.Plugin.Catalog.SellableItem, Sitecore.Commerce.Plugin.Catalog&quot;,&#xA;  &quot;Description&quot;: &quot;&quot;,&#xA;  &quot;ProductId&quot;: &quot;&quot;,&#xA;  &quot;Brand&quot;: &quot;&quot;,&#xA;  &quot;Manufacturer&quot;: &quot;&quot;,&#xA;  &quot;TypeOfGood&quot;: &quot;&quot;,&#xA;  &quot;Tags&quot;: {&#xA;    &quot;$type&quot;: &quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Tag, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;    &quot;$values&quot;: [&#xA;&#xA;    ]&#xA;  },&#xA;  &quot;SitecoreId&quot;: &quot;b3eb2ddc-03a8-4188-9ef6-b7e7e8807ed3&quot;,&#xA;  &quot;Components&quot;: {&#xA;    &quot;$type&quot;: &quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Component, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;    &quot;$values&quot;: [&#xA;&#xA;    ]&#xA;  },&#xA;  &quot;DateCreated&quot;: &quot;2018-03-02T12:56:06.4532853+00:00&quot;,&#xA;  &quot;DateUpdated&quot;: &quot;2018-03-02T12:56:06.4532853+00:00&quot;,&#xA;  &quot;DisplayName&quot;: &quot;&quot;,&#xA;  &quot;Id&quot;: &quot;5ae99f3c30e94c529f387997de592958&quot;,&#xA;  &quot;Version&quot;: 0,&#xA;  &quot;IsPersisted&quot;: false,&#xA;  &quot;Name&quot;: &quot;&quot;,&#xA;  &quot;Policies&quot;: {&#xA;    &quot;$type&quot;: &quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;    &quot;$values&quot;: [&#xA;&#xA;    ]&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which in theory should be enough for you to generate your json payload.&lt;/p&gt;&#xA;" OwnerUserId="3335" LastActivityDate="2018-03-02T12:58:39.743" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10531" PostTypeId="2" ParentId="9743" CreationDate="2018-03-02T13:48:13.180" Score="0" Body="&lt;p&gt;Apart from ImportCatalog(), please see The Catalog services which is provided by the Sitecore.Commerce.Plugin.Catalog it provides the bunch of commands for catalogs, categories and sellable items management that should allow you to import data from custom sources. &#xA;Ref. &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC-9.0_Developers_Guide.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC-9.0_Developers_Guide.pdf&lt;/a&gt;, Chapter 13.&lt;/p&gt;&#xA;" OwnerUserId="1657" LastEditorUserId="1657" LastEditDate="2018-03-03T12:11:27.043" LastActivityDate="2018-03-03T12:11:27.043" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10533" PostTypeId="1" AcceptedAnswerId="10536" CreationDate="2018-03-02T14:04:56.080" Score="2" ViewCount="1928" Body="&lt;p&gt;When I locally as a dev try to create a package with the sitecore package designer, it seems impossible to get all items dynamically, that are (source items dynamically) changed or created the last 60 days (or to get any filter to work at all).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My goal is to create a package to deploy the latest changes on dtep environments by the installation wizard &quot;manually&quot;. All attempts to see created/updated items in the \sitecore\templates folder (for master db) fail. No errors are logged in the log file, neither i'm able to find any hints or errors somewhere in the network traffic log, neither with the browser's console log.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to make this filter work for content items under any site's content tree. So why Sitecore is not happy to show me the created and updated template items? I'm looking in preview mode for the selected source, but also generating the zip fails (seems logically to me as preview mode isn't showing me anything as well).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When saving the designed package, and opening the package project's xml stored on disk now, I can see the templates folder is selected as search root, and the filter types CreatedFilter + ModifiedFilter is set to NotOlderThan 60.&#xA;Strange enough, after editing this project with the package designer, and click the already selected Templates folder as search root in the package designer the search root is reset to the /sitecore/content/home item. When saving the edited project again, the search root is cleared in the package's project xml that is updated after saving the project in the package designer. It's not storing the \sitecore\content\home item's Guid... OK, it's not a deal breaker here, but I think thats weird too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After multiple time-wasting attempts to get the package designer to work in this case, I gave up... is it really impossible? Why is this option to filter on the templates-folder available anyway, then? I can't find any info on the net either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And why some item names (like Templates) in the search root tree (in the package designer source's screen) are green-colored? It must have some special meaning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only alternative I have left now, is to manually select each changed template with the &quot;add items statically&quot; option in the package designer.&lt;/p&gt;&#xA;" OwnerUserId="3182" LastEditorUserId="95" LastEditDate="2018-03-02T15:49:32.290" LastActivityDate="2019-07-31T15:05:28.533" Title="How to build manual Sitecore Packages for deployments?" Tags="|package-designer|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10534" PostTypeId="2" ParentId="10481" CreationDate="2018-03-02T14:13:21.207" Score="2" Body="&lt;p&gt;The reason that I couldn't get access to the Sitecore Login page was that setting up HTTPS through Amazon load balancer placed the CMS behind the load balancer gate as well. I didn't add the IP of the load balancer's gate to the white listed IPs, and I wouldn't do such a thing as it would expose the login page to everyone. Ultimately I scrapped this approach and used a purchased certificate to enable the HTTPS. &lt;/p&gt;&#xA;" OwnerUserId="187" LastActivityDate="2018-03-02T14:13:21.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10536" PostTypeId="2" ParentId="10533" CreationDate="2018-03-02T14:35:30.760" Score="8" Body="&lt;p&gt;The answer below is based on the additional feedback in the comments.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Manually Creating Sitecore Packages For Install in Higher Environments&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;First, you should create two types of packages:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Foundational Items: templates, renderings, layouts, placeholders&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We call these &quot;Deploy&quot; items (I see Helix refers to these as &lt;a href=&quot;http://helix.sitecore.net/devops/deployment/what-to-deploy.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;&quot;Definition Items&quot;&lt;/a&gt;, which is likely a better name). These items have dependencies on the code that is deployed. These are items that typical Sitecore authors should not be touching. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Building this Package&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Select the root item for all of these items.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/sitecore/Templates/User Defined&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/Layout/Layouts/&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/Layout/Placeholder Settings/&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/Layout/Renderings/&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;This is just an example structure. Focus on grabbing the root items.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When building this package, do not filter items, select everything.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Installing this Package&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When installing the Foundation Items packages, choose &lt;strong&gt;Overwrite &gt; Apply to all&lt;/strong&gt;. This is a safe option because, again, these items have dependencies on your deployed code files.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Content Items&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You could call this your &quot;Content&quot; package. It would contain any elements that are new since your last deployment. Sometimes you won't even construct this package and instead choose to create new items manually in the higher environments.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Building this Package&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Select all items that you wish to promote, but don't choose &lt;em&gt;everything&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/sitecore/content/MySite/Home/MyNewItem&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Installing this Package&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When installing the Content package, choose &lt;strong&gt;Merge &gt; Merge All&lt;/strong&gt;. This option will not disturb items that are &lt;strong&gt;not&lt;/strong&gt; included in the package. It will, however, overwrite any existing items and add any net-new items. &lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h1&gt;Automated Options&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;There are several techniques for automating this process that involve a significant amount of work but are fantastic once in place. They require that you have some type of CI/CD framework in place: VSTS, Jenkins, TeamCity, Octopus Deploy- it's impossible to cover in this brief post.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;TDS Classic&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;TDS Classic can automatically generate Update Packages. These can be installed in the higher environments with Sitecore Package Deployer or Sitecore Ship.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Unicorn&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I'm not as familiar with Unicorn, but since it also serializes items to the file system, there are options for pushing updates automatically.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2019-07-31T15:05:28.533" LastActivityDate="2019-07-31T15:05:28.533" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="10537" PostTypeId="1" CreationDate="2018-03-02T15:14:27.160" Score="6" ViewCount="1779" Body="&lt;p&gt;What is the best practice for installing a XM only instance for dev locally? Should we just install XP0, and then disable xDB? There doesn't seem to be a XM single package, and when I try to install XM Scaled, it asks for a ssl cert, which we don't need for a local dev CM (I believe the XP0 doesn't need SSL for the CM).&lt;/p&gt;&#xA;" OwnerUserId="407" LastEditorUserId="70" LastEditDate="2018-03-02T16:13:30.543" LastActivityDate="2020-01-30T11:32:08.980" Title="XM topology for on-premises" Tags="|installation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10538" PostTypeId="2" ParentId="10533" CreationDate="2018-03-02T15:33:14.640" Score="5" Body="&lt;p&gt;The issue you are having is that the dynamic filters in the &lt;strong&gt;Package Designer&lt;/strong&gt; work as &lt;em&gt;AND&lt;/em&gt; filters. So by entering adding both a &lt;code&gt;Creation date filter&lt;/code&gt; and &lt;code&gt;Modification date filter&lt;/code&gt; the packager is searching for items &lt;em&gt;Created AND Modified within the last 60 days&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead you should add 2 separate sources, once specifying the Dynamic filter with Creation date and another with Modified date. Once you have separated the filter sources you should be able to check the items that will be included in the source preview.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you install the package with &lt;strong&gt;Merge &gt; Merge All&lt;/strong&gt; option rather than Overwrite for this type of difference package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would generally recommend automating your CI/CD process though rather than manually creating and deploying packages (or code).&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-03-02T15:33:14.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10539" PostTypeId="2" ParentId="10527" CreationDate="2018-03-02T15:38:42.017" Score="3" Body="&lt;p&gt;It looks like an &lt;code&gt;npm install&lt;/code&gt; gone bad as there are several dependencies missing from the &lt;code&gt;node_modules&lt;/code&gt; folder. Can you share what version of node.js and npm you're using? Other than that, I would suggest deleting the &lt;code&gt;node_modules&lt;/code&gt; folder and the &lt;code&gt;package-lock.json&lt;/code&gt; file and running &lt;code&gt;npm install&lt;/code&gt; again. Or, just run &lt;code&gt;npm install&lt;/code&gt; again (that worked for me locally on your project).&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-03-02T15:38:42.017" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10541" PostTypeId="1" CreationDate="2018-03-02T16:22:21.607" Score="0" ViewCount="1133" Body="&lt;p&gt;I have a requirement that needs to get particular item along with all child item or some of the child item using template id from solr searchresultitem. Can anyone help how to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="1093" LastActivityDate="2018-05-01T17:13:41.687" Title="Get parent item and it's all child item from solr searchresultItem" Tags="|solr|glass-mapper|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10542" PostTypeId="2" ParentId="10541" CreationDate="2018-03-02T16:31:00.330" Score="1" Body="&lt;p&gt;So what you want to do is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var parent = searchResultItem.GetItem();&#xA;var children = item.Children.Where(c =&amp;gt; c.TemplateID == SOME_TEMPLATE_ID);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-03-02T16:31:00.330" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10543" PostTypeId="2" ParentId="10438" CreationDate="2018-03-02T17:13:34.763" Score="2" Body="&lt;p&gt;This feels like a ton of hacking to pass some parameters. I opted to pass the ribbon id instead of individual field values because I ended up needing more parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding the id of the ribbon button to attributes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Common.CustomSitecore.Speak.Controls&#xA;{&#xA;    public class UpdateButton : Sitecore.ExperienceEditor.Speak.Ribbon.Controls.LargeButton.LargeButton&#xA;    {&#xA;        public UpdateButton(RenderingParametersResolver renderingParametersResolver) : base(renderingParametersResolver)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void InitializeControl(RenderingParametersResolver resolver)&#xA;        {&#xA;            if(ResolveContentItem()?.TemplateId != &quot;{MyId}&quot;)&#xA;               this.IsVisible = false;&#xA;&#xA;            base.InitializeControl(resolver);&#xA;        }&#xA;&#xA;        protected override void AddAttributes(HtmlTextWriter output)&#xA;        {&#xA;            //I also tried prefixing this with &quot;data-sc-&quot; because the html for &#xA;            //attributes that the button ends up having seem to have that&#xA;            output.AddAttribute(&quot;data-sc-ribbonButton&quot;, DataSourceItem.ID.ToString().UrlEncode());&#xA;&#xA;            base.AddAttributes(output);&#xA;        }&#xA;    }&#xA;&#xA;    public static class ControlsExtension&#xA;    {&#xA;        public static HtmlString UpdateButton(this Sitecore.Mvc.Controls controls, Rendering rendering)&#xA;        {&#xA;            Sitecore.Diagnostics.Assert.ArgumentNotNull(controls, &quot;controls&quot;);&#xA;            Sitecore.Diagnostics.Assert.ArgumentNotNull(rendering, &quot;rendering&quot;);&#xA;            var largeButton = new UpdateButton(controls.GetParametersResolver(rendering));&#xA;            return new HtmlString(largeButton.Render());&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Accessing it and passing it to the request via javascript:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;/-/speak/v1/ExperienceEditor/ExperienceEditor.js&quot;], function (Sitecore, ExperienceEditor) {&#xA;    Sitecore.Commands.MyCustomCommand =&#xA;    {&#xA;        canExecute: function (context) {&#xA;            if (!ExperienceEditor.isInMode(&quot;edit&quot;)) {&#xA;                return false;&#xA;            }&#xA;&#xA;            var button = ExperienceEditor.Common.getElementById(context.button.attributes.name);&#xA;&#xA;            context.currentContext.ribbonButton = button.attributes[&quot;data-sc-ribbonButton&quot;].nodeValue;&#xA;            return context.app.canExecute(&quot;Custom.CanExecute&quot;, context.currentContext);&#xA;        }&#xA;    };&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Custom context for the request:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Common.CustomSitecore.Speak.Server.Contexts&#xA;{&#xA;    public class RibbonButtonItemContext : ItemContext&#xA;    {&#xA;        [JsonProperty(&quot;ribbonButton&quot;)]&#xA;        public string RibbonButton { get; set; }&#xA;&#xA;        [JsonIgnore] private Item ribbonItem;&#xA;&#xA;        //This is basically copied from the Item property with the id used updated and db &#xA;        //that the item is pulled from updated&#xA;        [JsonIgnore]&#xA;        public Item RibbonButtonItem&#xA;        {&#xA;            get&#xA;            {&#xA;                if (ribbonItem != null)&#xA;                    return ribbonItem;&#xA;                //This might be a dangerous move! There is a database name passed but it's for &#xA;                //the current content item. It might be worth routing this through as an &#xA;                //attribute like the id&#xA;                var database = Factory.GetDatabase(&quot;core&quot;);&#xA;                Sitecore.Diagnostics.Assert.IsNotNull(database, &quot;Could not get database, with name core&quot;);&#xA;                ID result;&#xA;                Sitecore.Diagnostics.Assert.IsTrue((ID.TryParse(RibbonButton, out result) ? 1 : 0) != 0, &quot;Could not get item with id:{0} from database: core&quot;, RibbonButton);&#xA;                if (Language == null)&#xA;                    Language = Sitecore.Context.User.Profile.ClientLanguage;&#xA;                var language = (Sitecore.Globalization.Language)null;&#xA;                if (!string.IsNullOrEmpty(this.Language))&#xA;                    language = LanguageManager.GetLanguage(this.Language);&#xA;                var version = GetVersion(Version);&#xA;                if (language != null &amp;amp;&amp;amp; version != null)&#xA;                    ribbonItem = database.GetItem(result, language, version);&#xA;                if (ribbonItem == null &amp;amp;&amp;amp; language != null)&#xA;                    ribbonItem = database.GetItem(result, language);&#xA;                return ribbonItem ?? (ribbonItem = database.GetItem(result));&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Request using the custom context:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Common.CustomSitecore.Requests.SharedContent&#xA;{&#xA;    public class CanExecute: PipelineProcessorControlStateRequest&amp;lt;ItemContext&amp;gt;&#xA;    {&#xA;        public override bool GetControlState()&#xA;        {&#xA;            //we now have access to RequestContext.RibbonButton which can be used to get &#xA;            //the ribbon button item from core&#xA;            return base.RequestContext.Item.InheritsFrom(Constants.MyTemplateID);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-03-02T18:47:30.173" LastActivityDate="2018-03-02T18:47:30.173" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10544" PostTypeId="1" AcceptedAnswerId="10545" CreationDate="2018-03-02T18:26:14.177" Score="0" ViewCount="478" Body="&lt;p&gt;I am currently using this &lt;a href=&quot;https://elearning.sitecore.net/Public/ContentDetails.aspx?id=7B781B1C3510447BBA22D7B0BF3251A2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://elearning.sitecore.net/Public/ContentDetails.aspx?id=7B781B1C3510447BBA22D7B0BF3251A2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In which in the setup step, it is said that on have to add a sc.variable in the web.config file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But where should i place it?&#xA;If I add it somewhere random in the web.config file =&gt; I end up having problems with setting the authentication in IIS, and if i don't add it, it will not install it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am currently installing the sitescore from a zip version. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong?  &lt;/p&gt;&#xA;" OwnerUserId="3336" LastActivityDate="2018-03-02T19:22:54.843" Title="sc.variable in web.config file" Tags="|webforms|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10545" PostTypeId="2" ParentId="10544" CreationDate="2018-03-02T18:41:00.017" Score="3" Body="&lt;p&gt;This should be added inside &lt;strong&gt;sitecore&lt;/strong&gt; node. &#xA;e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt; &#xA;    &amp;lt;sc.variable name=&quot;webDAVPrefix&quot; value=&quot;/sitecore_files&quot;/&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Look at sitecore.config for some uses.&lt;/p&gt;&#xA;" OwnerUserId="88" LastActivityDate="2018-03-02T18:41:00.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10546" PostTypeId="2" ParentId="10544" CreationDate="2018-03-02T19:22:54.843" Score="1" Body="&lt;p&gt;I'd recommend adding it to a patch file (which will add it to the main compiled sitecore node).  You can place the patch in your &lt;code&gt;App_Config/Include&lt;/code&gt; folder in the Website root.  (Ex: &lt;code&gt;App_Config/Include/Settings.config&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;     &amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;C:\Sitecore\source&quot; /&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-03-02T19:22:54.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10548" PostTypeId="1" AcceptedAnswerId="10560" CreationDate="2018-03-02T19:47:38.543" Score="1" ViewCount="344" Body="&lt;p&gt;We are about to upgrade from &lt;strong&gt;Sitecore 7.2&lt;/strong&gt; to &lt;strong&gt;Sitecore 9.0&lt;/strong&gt; and we are planning to do the Sitecore upgrade in &lt;strong&gt;Virtual Machine Windows 10&lt;/strong&gt; and we never did this before on VM, we used to work on our desktops only. We will use the express migration tool to perform the upgrade.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are brainstorming on challenges that we could face on going with the upgrade on VM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Are there any documents available online to explain about the PRO's and CON's of going with upgrade on Virtual Machine especially for upgrading to SItecore 9?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Has anyone done it before? and faced any challenges? or there are any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Appreciate your feedback.&lt;/p&gt;&#xA;" OwnerUserId="2890" LastActivityDate="2018-03-05T10:43:54.897" Title="Upgrading from Sitecore 7.2 to Sitecore 9 on Virtual Machine windows 10" Tags="|upgrade|sitecore-install-framework|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10552" PostTypeId="2" ParentId="10527" CreationDate="2018-03-03T14:11:09.623" Score="0" Body="&lt;p&gt;You can try the following commands one by one, these are the dependencies which are not added by default, but are required: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install -g ng-cli&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install -g angular-cli&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install -g @sitecore-jss/sitecore-jss-cli&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm start&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just installed the JSS. if those fails try &lt;code&gt;npm update -g&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-03T14:11:09.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10553" PostTypeId="1" CreationDate="2018-03-03T16:37:35.947" Score="0" ViewCount="302" Body="&lt;p&gt;I have issue in Multi list with Search in Sitecore. I'm using Sitecore 8.1 along with Solr 6.5. I'm using the below query to load the items in the multi list. Items are loading perfectly on English version. But when I switched to Italian version for same item, no items are loading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Query:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation=query:./ancestor::*[@@templatename-&amp;gt;'Site Folder']//*[@@templatename-&amp;gt;'Products Folder']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I googled for this issue many recommend that to use the latest version filter in the query. So I did like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation=query:./ancestor::*[@@templatename-&amp;gt;'Site Folder']//*[@@templatename-&amp;gt;'Products Folder']&amp;amp;Filter=+_latestversion:true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But this also doesn't help me. When further digging on this issue I got some hint which says,  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;This will happen when an item has more than one version. Not in the means of language but multiple versions in same language.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I tried removing multiple versions in same language. Also no luck. Same query working for other languages. But issue is in Italian language only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone please help on this issue to get solved? Yes I know Multi list with search has bugs, but more than that my requirement was to use multi list with search. Please do let me know if I missed anything.&lt;/p&gt;&#xA;" OwnerUserId="976" LastEditorUserId="73" LastEditDate="2018-05-02T07:50:46.177" LastActivityDate="2019-04-11T08:12:40.033" Title="Multi list with search not working for Italian language" Tags="|sitecore-query|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10555" PostTypeId="1" CreationDate="2018-03-03T19:13:03.430" Score="1" ViewCount="498" Body="&lt;p&gt;Can somebody help me to resolve this error which I am getting when deploying the same ReactBasicApp using sitecore jss&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[InstallationException]: Could not find JSS app configuration for&#xA;  &amp;#39;my-first-jss-app&amp;#39;. Ensure you have included or previously&#xA;  installed a configuration patch for the app.    at&#xA;  Sitecore.Update.Installer.Items.CustomActionInstaller.Process(IProcessingContext&#xA;  entry, IProcessingContext context)    at&#xA;  Sitecore.Update.Installer.DiffInstaller.ExecutePostInstallationInstructions(String&#xA;  packagePath, String historyPath, InstallMode mode, MetadataView view,&#xA;  ILog installationProcessLogger, List`1&amp;amp; entries)    at&#xA;  Sitecore.Ship.Infrastructure.Update.UpdatePackageRunner.Execute(String&#xA;  packagePath, Boolean disableIndexing)    at&#xA;  Sitecore.Ship.AspNet.Package.InstallUploadPackageCommand.HandleRequest(HttpContextBase&#xA;  context)    at&#xA;  Sitecore.Ship.AspNet.Package.InstallPackageCommand.HandleRequest(HttpContextBase&#xA;  context)    at&#xA;  Sitecore.Ship.AspNet.AboutCommand.HandleRequest(HttpContextBase&#xA;  context)    at&#xA;  Sitecore.Ship.AspNet.BaseHttpHandler.ProcessRequest(HttpContext&#xA;  context)    at&#xA;  System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&lt;br&gt;&#xA;  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,&#xA;  Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Jag&lt;/p&gt;&#xA;" OwnerUserId="1017" LastEditorUserId="2890" LastEditDate="2018-03-03T20:00:52.210" LastActivityDate="2018-03-04T11:38:17.910" Title="Sitecore Jss config deployment error" Tags="|jss|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10556" PostTypeId="2" ParentId="10555" CreationDate="2018-03-03T19:33:57.273" Score="2" Body="&lt;p&gt;Did you run jss deploy config?&#xA;You can manually copy the config that brings JSS app registration to your Sitecore instance.&#xA;&lt;a href=&quot;https://jss.sitecore.net/#/setup/sitecore-config?id=step-3-config-deployment&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/#/setup/sitecore-config?id=step-3-config-deployment&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-03-03T19:33:57.273" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10557" PostTypeId="1" AcceptedAnswerId="10558" CreationDate="2018-03-04T01:42:02.817" Score="2" ViewCount="245" Body="&lt;p&gt;When I initially completed installation everything was working as expected, but ever since I build and published the Sitecore.Commerce.Engine project from the SDK (sans the sample plugins) catalog data has stopped showing up in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The bootstrap process did succeed, so I'm not sure what the problem is&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2018-03-04T03:15:45.343" LastActivityDate="2018-03-04T21:44:33.790" Title="Catalog data disappearing after publishing from the Commerce 9 Engine SDK" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10558" PostTypeId="2" ParentId="10557" CreationDate="2018-03-04T01:45:35.387" Score="3" Body="&lt;p&gt;It turns out that the &lt;code&gt;Sitecore.Commerce.Engine&lt;/code&gt; SDK project doesn't reference the following plugins:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Coupons&lt;/li&gt;&#xA;&lt;li&gt;Tax&lt;/li&gt;&#xA;&lt;li&gt;Journaling&lt;/li&gt;&#xA;&lt;li&gt;SQL&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And since plugins are only loaded if they appear in the &lt;code&gt;Sitecore.Commerce.Engine.deps.json&lt;/code&gt; file, the engine was running without a persistance layer implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I added these dependencies via the NuGet feed everything started working again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It doesn't repro via the SIF installation because it deploys a pre-built version of the SDK that includes the missing plugins in it's &quot;deps&quot; file (possibly due to one of the sample plugins referencing them).&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2018-03-04T21:44:33.790" LastActivityDate="2018-03-04T21:44:33.790" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10559" PostTypeId="2" ParentId="2823" CreationDate="2018-03-04T02:19:54.883" Score="1" Body="&lt;p&gt;I faced a similar issue in my previous 7.2 to 8.2 upgrade.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case while executing the Upgrade Wizard (X version to Y), it goes fine till all steps and stuck on the last step, where basically it tries to delete temp files and copy new files. The wizard stucks here for hours until we close the browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Troubleshooting and call with Sitecore support helped me came up with various possible reasons blogged here. Please have a look and try the options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorecompetencies.com/2017/02/08/first-blog-post/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorecompetencies.com/2017/02/08/first-blog-post/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-03-04T02:19:54.883" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10560" PostTypeId="2" ParentId="10548" CreationDate="2018-03-04T03:59:02.263" Score="1" Body="&lt;p&gt;The migration tool will have no difference using a standard VM than if you execute it locally, other than latency if you are doing things across a network or resource issues if you don't have enough CPU or RAM as you have on your local system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously, it also depends on the hardware your VM is running on. If the hardware is not as efficient as your local system, you may see worse performance. This is not because your are using a VM, just things to consider when you are working not on your local machine.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-03-04T03:59:02.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10562" PostTypeId="2" ParentId="10555" CreationDate="2018-03-04T11:38:17.910" Score="1" Body="&lt;p&gt;after running &lt;code&gt;npm run deploy-conifg&lt;/code&gt; set your connection config for sitecore instance while making sure you have put the correct configs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can follow this article for details. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.flux-digital.com/blog/getting-started-sitecore-jss/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.flux-digital.com/blog/getting-started-sitecore-jss/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you can take help for &lt;code&gt;Sitecore.Ship.AspNet.Package.InstallUploadPackageCommand.GetRequest(System.Web.HttpRequestBase)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.csharpcodi.com/vs2/2801/Sitecore.Ship/src/Sitecore.Ship.AspNet/Package/InstallUploadPackageCommand.cs/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.csharpcodi.com/vs2/2801/Sitecore.Ship/src/Sitecore.Ship.AspNet/Package/InstallUploadPackageCommand.cs/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-04T11:38:17.910" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10563" PostTypeId="1" CreationDate="2018-03-04T12:34:29.577" Score="1" ViewCount="1614" Body="&lt;p&gt;Can somebody help me on this&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error Rendering&#xA;  Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer:&#xA;  Cannot read property 'context' of undefined TypeError: Cannot read&#xA;  property 'context' of undefined at&#xA;  C:\inetpub\wwwroot\sxa16.local\dist\my-first-jss-app\server.bundle.js:1:56408&#xA;  at at process._tickCallback (internal/process/next_tick.js:160:7)&lt;br&gt;&#xA;  at&#xA;  Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.Http.HttpNodeInstance.d__71.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance.d__131.MoveNext()&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.d__101.MoveNext()&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.d__101.MoveNext()&#xA;  --End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.JavaScriptServices.ViewEngine.Node.Helpers.AsyncHelpers.RunSync[TResult](Func`1&#xA;  func)    at&#xA;  Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.Render(TextWriter&#xA;  writer)    at&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1017" LastEditorUserId="2890" LastEditDate="2018-03-04T20:07:47.040" LastActivityDate="2018-05-10T14:49:36.500" Title="Rendering Sitecore.JavaScriptServices" Tags="|jss|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10566" PostTypeId="1" CreationDate="2018-03-04T16:43:13.720" Score="6" ViewCount="741" Body="&lt;p&gt;As part of SCHackathon 2018, I created a custom Event (a generic Event, not a Page Event, although I will change it to a Page Event and see if that helps see notes below).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed the docs here: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect//xconnect-model/events/create-event.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect//xconnect-model/events/create-event.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to attach the event to a Contact's Interactions. (Practically identical code to this post: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9631/single-contact-showing-in-sitecore-experience-profile&quot;&gt;Single contact showing in Sitecore Experience Profile&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is confirmed by getting the specific user/contactReference:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Get all available contact facets in current model&#xA;var contactFacets = client.Model.Facets.Where(c =&amp;gt; c.Target == EntityType.Contact).Select(x =&amp;gt; x.Name);&#xA;&#xA;// Get all available interaction facets in current model&#xA;var interactionFacets = client.Model.Facets.Where(c =&amp;gt; c.Target == EntityType.Interaction).Select(x =&amp;gt; x.Name);&#xA;&#xA;var contactReference = new IdentifiedContactReference(source, identifier);&#xA;&#xA;var contact = client.GetAsync(contactReference, new ContactExpandOptions(contactFacets.ToArray())&#xA;{&#xA;   Interactions = new RelatedInteractionsExpandOptions(interactionFacets.ToArray())&#xA;   {&#xA;      // Get all interactions&#xA;      EndDateTime = DateTime.MaxValue,&#xA;      StartDateTime = DateTime.MinValue&#xA;   }&#xA;}).Result;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, where I am having issues. I am trying to Search all Contacts that have this Event. So, I followed the Search docs here: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/search/index.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/search/index.html&lt;/a&gt; and here: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/getting-started/&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/getting-started/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found the simplest search returns 0 records!&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var count = client.Contacts.ToEnumerable().Count();&#xA;Console.WriteLine(&quot;Count: &quot; + count);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Therefore, doing any additional filtering is pointless.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, what I am really trying to achieve is this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var queryable = client.Contacts&#xA;          .Where(c =&amp;gt; c.Interactions.Any(x =&amp;gt; x.Events.OfType&amp;lt;CustomEvent&amp;gt;().Any()))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While preparing this, I believe it is due to the Event not being a PageEvent and therefore not being a &quot;web&quot; interaction it is causing the contact to not get aggregated. I will updated as I learn more. But any help/insight is greatly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="2395" LastActivityDate="2018-03-04T20:33:55.823" Title="How can I get Search Contacts via XConnect API?" Tags="|xconnect|contact-facets|interaction|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10567" PostTypeId="2" ParentId="10566" CreationDate="2018-03-04T20:33:55.823" Score="4" Body="&lt;p&gt;In general, you can look at the examples in the documentation for searching contacts by an interaction facet:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/search/contacts/index.html#search-by-interaction-facets&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/search/contacts/index.html#search-by-interaction-facets&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm sure this is what you based your queries on, but including it for completeness.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I notice in your code that you are trying to use things like ToEnumerable() on client.Contacts instead of GetBatchEnumerator() which is used in the documentation. The options for getting enumerators are listed here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/search/contacts/index.html#results-and-pagination&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/search/contacts/index.html#results-and-pagination&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first step in debugging the issue would be to try a search like this to see if there is any data at all to come back (from &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/search/contacts/index.html#count-contacts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/search/contacts/index.html#count-contacts&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;int count = await client.Contacts.Where(c =&amp;gt; c.Identifiers.Any(t =&amp;gt; t.IdentifierType == Sitecore.XConnect.ContactIdentifierType.Known)).Count();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you get no results, then there are no known contacts in your index and you should take a look to see if you have indexing issues or if you can see the contact in Solr.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-03-04T20:33:55.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10568" PostTypeId="2" ParentId="10207" CreationDate="2018-03-04T23:59:25.923" Score="0" Body="&lt;p&gt;Apparently there is an issue with Sitecore 9 where profile scores are not updated.&#xA;Sitecore support today provided me with a package to be deployed and I can see my profile scores getting updated. You don't need to submit interactions for profile scores to be updated. I have upload the sitecore support package to dropbox.&#xA;&lt;a href=&quot;https://www.dropbox.com/s/uwalux3gqdob93m/Sitecore.Support.209472.zip?dl=0&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore support package 209472&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="3168" LastActivityDate="2018-03-04T23:59:25.923" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10572" PostTypeId="2" ParentId="10548" CreationDate="2018-03-05T10:43:54.897" Score="0" Body="&lt;p&gt;There is no difference between VM and Desktop. please make sure that Sitecore 9 prerequisites are there/installed.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Microsoft PowerShell® version 5.0 or later&lt;/li&gt;&#xA;&lt;li&gt;Web Platform Installer 5.0&lt;/li&gt;&#xA;&lt;li&gt;URL Rewrite 2.1&lt;/li&gt;&#xA;&lt;li&gt;Microsoft SQL Server Data-Tier Application Framework (DAC Fx) version 17.1 &lt;/li&gt;&#xA;&lt;li&gt;Microsoft SQL Server Transact-SQL ScriptDom&lt;/li&gt;&#xA;&lt;li&gt;Java JRE&lt;/li&gt;&#xA;&lt;li&gt;Solr&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2634" LastActivityDate="2018-03-05T10:43:54.897" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10573" PostTypeId="2" ParentId="9789" CreationDate="2018-03-05T10:49:13.477" Score="3" Body="&lt;p&gt;After some research I managed to find my answer..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was told:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The label is intended to show &quot;unknown contact&quot; at the beginning of&#xA;  the life-time of a given contact. Additional areas will be populated&#xA;  when the contact registers any outcome.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But this is only half correct. I tried registering an outcome as well as identifying my contact and although I could see the outcome, still no change in the &quot;unknown contact&quot; label. Then I found this magnificent blog post describing it all.. apparently you need to select the right outcome group (&lt;code&gt;Lead management funnel&lt;/code&gt;) with your outcome to make it trigger a new era. As soon as I did that, it worked.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I just need to find a way to trigger that outcome only once.. but that is &lt;a href=&quot;https://sitecore.stackexchange.com/q/10387/237&quot;&gt;another question&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the info on this can be found on: &lt;a href=&quot;https://www.coreysmith.co/sitecore-xdb-custom-eras-in-experience-profile-timeline/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.coreysmith.co/sitecore-xdb-custom-eras-in-experience-profile-timeline/&lt;/a&gt; (thx Corey!)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-03-05T10:49:13.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10574" PostTypeId="2" ParentId="9234" CreationDate="2018-03-05T11:11:47.963" Score="1" Body="&lt;p&gt;The answer to this ended up being a stylesheet solution. Adding the language code to the body tag as a class, we were able to control the text fonts that way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in the body tag, add the language code, like &lt;code&gt;&amp;lt;body class=&quot;zh-cn&quot;&amp;gt;&lt;/code&gt;. Then in your stylesheet, use style definitions that include the class, such as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;body.zh-cn h1, body.zh-cn h2, body.zh-cn h3, body.zh-cn p, body.zh-cn li, body.zh-cn .vcard-name, body.zh-cn .vcard-role, body.zh-cn .office a{&#xA;    font-family: &quot;Microsoft YaHei UI Light&quot;, sans-serif !important;&#xA;}&#xA;body.zh-cn, body.lawyer-page.zh-cn .body-copy.body p {&#xA;    line-height: 1.7 !important;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2018-03-05T15:13:57.727" LastActivityDate="2018-03-05T15:13:57.727" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10575" PostTypeId="2" ParentId="5706" CreationDate="2018-03-05T11:32:04.670" Score="2" Body="&lt;p&gt;We ended up using the Experience Extractor tool...you can find it here: &lt;a href=&quot;https://github.com/Sitecore/experience-extractor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/experience-extractor&lt;/a&gt;. More information on it: &lt;a href=&quot;https://sitecorecontextitem.wordpress.com/2016/01/06/introduction-to-sitecore-experience-extractor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorecontextitem.wordpress.com/2016/01/06/introduction-to-sitecore-experience-extractor/&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-03-05T11:32:04.670" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10576" PostTypeId="2" ParentId="4804" CreationDate="2018-03-05T11:35:50.340" Score="1" Body="&lt;p&gt;This ended up coming back to find me again, and I was able to resolve it. I posted the answer on the Coveo Answers site: &lt;a href=&quot;https://answers.coveo.com/questions/14254/secured-item-does-not-show-for-authorized-users.html?childToView=14530#answer-14530&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://answers.coveo.com/questions/14254/secured-item-does-not-show-for-authorized-users.html?childToView=14530#answer-14530&lt;/a&gt;. You can check the link for some of the back-and-forth to figure out a resolution, but here's the accepted answer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The answer turned out to be in the way Sitecore manages users, even if you're using an external membership database. Let's say you have a standard membership and roles database set up, with Sitecore configured to connect a custom domain and its users/roles to it. When you create a user, you'll find the record in the aspnet_Users/aspnet_Membership tables of your external database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What Sitecore also does, however, is to create a record in the aspnet_Users table of the Core database. The user ID doesn't match (or have to), just the username is present with the domain (even if, in your external membership configuration, you specified to not store the domain with the username). This &quot;marker&quot; record is the key; without it, Coveo will throw those errors about not finding a user. (Also without it, setting security on a Sitecore item with an individual user won't work properly, though role-based security will.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing I was doing was using a membership/role provider specifying the custom provider name. This is NOT necessary; use the standard provider calls and Sitecore will organize things correctly in the background. Since we migrated this external database from another application, we had to manually insert the &quot;marker&quot; records into the Core database. After doing that and clearing up the Coveo security cache, everything was good to go.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-03-05T11:35:50.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10577" PostTypeId="1" CreationDate="2018-03-05T12:19:44.353" Score="2" ViewCount="446" Body="&lt;p&gt;I have a rendering that I've set personalization on to hide when not anonymous (i.e. logged in), but show otherwise.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On first load of page, this doesn't work, but refreshing the page, it applies?&#xA;I'm sure I've set up the personalization correctly, and can't work out why it might not apply on first load.. Anyone got any ideas of where I could check?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update with example personalization rule.. other is inverse of this..&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bY9mL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bY9mL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2302" LastEditorUserId="2302" LastEditDate="2018-03-06T08:26:58.380" LastActivityDate="2018-03-06T10:46:22.280" Title="personalization not applying on first load" Tags="|personalization|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10578" PostTypeId="1" CreationDate="2018-03-05T12:41:40.677" Score="1" ViewCount="662" Body="&lt;p&gt;For a project I am using a bunch of custom Personalization rules, the only problem I am facing at the moment is that it takes quite a while to load the rules and I can't find any good examples of a unit test for a custom rule like one of these: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class TemperatureHigherThanRule&amp;lt;T&amp;gt; : StringOperatorCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;    public string Value { get; set; }&#xA;&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        ////Convert the string Value to and int &#xA;        int intValue = Convert.ToInt32(Value);&#xA;&#xA;        ////Get the current weather with the API &#xA;        HttpClient httpClient = new HttpClient();&#xA;        var response = httpClient.GetAsync(&quot;http://api.openweathermap.org/data/2.5/weather?q=Tilburg,nl&amp;amp;units=metric&amp;amp;APPID=***********&quot;).Result;&#xA;&#xA;        var responseContent = response.Content;&#xA;&#xA;        var json = responseContent.ReadAsStringAsync().Result;&#xA;&#xA;        var currentWeather = Newtonsoft.Json.JsonConvert.DeserializeObject&amp;lt;CurrentWeather&amp;gt;(json);&#xA;&#xA;        //Check if the parameter is higher than the current weather &#xA;        return (currentWeather.main.temp &amp;gt; intValue);&#xA;    } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone have a good example? Already had a look a these: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jockstothecore.com/unit-testing-custom-rules-part-3/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jockstothecore.com/unit-testing-custom-rules-part-3/&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jockstothecore.com/unit-testing-custom-rules-actions-and-conditions-with-fakedb-part-2-testing-actions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jockstothecore.com/unit-testing-custom-rules-actions-and-conditions-with-fakedb-part-2-testing-actions/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jockstothecore.com/unit-testing-custom-rules-actions-and-conditions-with-fakedb-part-1-testing-conditions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jockstothecore.com/unit-testing-custom-rules-actions-and-conditions-with-fakedb-part-1-testing-conditions/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3342" LastEditorUserId="1671" LastEditDate="2018-04-05T12:53:33.840" LastActivityDate="2018-05-05T13:38:03.783" Title="Unit testing Sitecore custom rules" Tags="|personalization|rules-engine|unit-testing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10579" PostTypeId="1" CreationDate="2018-03-05T12:44:08.867" Score="5" ViewCount="607" Body="&lt;p&gt;Can you use Sitecore JSS components with Sitecore MVC components in the same Experience Editor page? If this does work, does it work with dynamic placeholders?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example might be adding a Experience Editor configurable Sitecore JSS component to an existing Sitecore website with editable pages composed with Sitecore MVC components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another might be a blended team of Sitecore MVC developers building your average Sitecore components. Then you might have FEDs who want to build a complex component which needs to consume data from various APIs outside of Sitecore, but has label, text etc configurable from Sitecore and sits in the flow of the page.&lt;/p&gt;&#xA;" OwnerUserId="125" LastActivityDate="2018-03-05T13:17:09.140" Title="Sitecore JSS components and Sitecore MVC components in a single Experience Editor page" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10580" PostTypeId="2" ParentId="10579" CreationDate="2018-03-05T13:17:09.140" Score="7" Body="&lt;p&gt;I'm sure answering your own question is frowned upon but after reading all the documentation and watching the videos i think i can confirm 'YES', you can. Hope this saves someone else some time. If i've got this wrong please do correct me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See example &lt;a href=&quot;https://jss.sitecore.net/#/cookbook/recipes/embedded-wizard-sample&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.net/#/cookbook/recipes/embedded-wizard-sample&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This module rocks!&lt;/p&gt;&#xA;" OwnerUserId="125" LastActivityDate="2018-03-05T13:17:09.140" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10582" PostTypeId="1" CreationDate="2018-03-05T15:04:08.773" Score="2" ViewCount="891" Body="&lt;p&gt;Cache from Site settings is already set, but on Renderings level, the cache is enabled. which shows the same content of the component on the page it cached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are 3 promos on the page (About, Services and Contact), and cache is set on promos from &lt;code&gt;/sitecore/layout/Renderings/Feature/Experience Accelerator/Page Content/Promo&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The About promo shows fine but services and contact shows the same as the About promo. It also caches the CSS classes as well. Did anyone face the same issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am using Sitecore 8.2 Update 3&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="73" LastEditDate="2018-05-05T12:55:16.947" LastActivityDate="2018-05-05T12:55:16.947" Title="Cache issue on component renderings" Tags="|sxa|caching|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="10583" PostTypeId="1" AcceptedAnswerId="10589" CreationDate="2018-03-05T15:34:31.863" Score="2" ViewCount="2437" Body="&lt;p&gt;After logging to the Sitecore content tree, getting the below error while performing the search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An error occured while searching. Rephrase the query.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not resolve type name: &#xA;  Sitecore.Pipelines.Search.SearchSystemIndex, Sitecore.Kernel (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The search is working fine when we perform search in web site. Using &lt;code&gt;SOLR 5.1&lt;/code&gt; version for search. &lt;/p&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="2727" LastEditDate="2018-03-20T09:20:26.083" LastActivityDate="2018-03-20T09:20:26.083" Title="Could not resolve type name error while performing search in Sitecore in Content tree" Tags="|solr|content-search|sitecore-client|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10584" PostTypeId="2" ParentId="10582" CreationDate="2018-03-05T15:43:37.153" Score="1" Body="&lt;p&gt;You need to adjust Caching settings a bit to &quot;Vary by Data&quot; also:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hnDgw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hnDgw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look here for further information:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/set_sxa_caching_options&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/set_sxa_caching_options&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-05T15:43:37.153" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10585" PostTypeId="1" AcceptedAnswerId="10586" CreationDate="2018-03-05T16:14:44.737" Score="2" ViewCount="1150" Body="&lt;p&gt;I would like to open a Speak dialog in Experience Editor mode. I have created a command and tied it to a button in core under &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Page Editor&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Common.Commands&#xA;{&#xA;    public class OpenDialog : Command&#xA;    {&#xA;        protected void Run(ClientPipelineArgs args)&#xA;        {&#xA;            if (args.IsPostBack) return;&#xA;&#xA;            const string url = &quot;/sitecore/client/Your Apps/MyModal?sc_lang=en&quot;;&#xA;            SheerResponse.ShowModalDialog(url, &quot;1024&quot;, &quot;760&quot;, string.Empty, true);&#xA;            args.WaitForPostBack();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;SheerResponse.ShowModalDialog&lt;/code&gt; is throwing an error when called in Experience Editor mode but does not when used in content editor mode.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-03-05T16:17:33.413" Title="Open Speak Dialog In Experience Editor Mode" Tags="|experience-editor|speak|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10586" PostTypeId="2" ParentId="10585" CreationDate="2018-03-05T16:17:33.413" Score="3" Body="&lt;p&gt;I found something to go off of with the validation button in the Experience Editor's ribbon which also opens a modal. Copied that item that represented the validation button and edited some fields in the presentation details of the large button. I had to edit the command which had to point to my javascript command. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4zpYz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4zpYz.png&quot; alt=&quot;Command field presentation details image&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also needed to edit the PageCodeScriptFileName to point to my javascript file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Mb3O3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Mb3O3.png&quot; alt=&quot;PageCodeScriptFileName field presentation details image&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made a request because I had some functionality I wanted to do server side (get the url of an item) but if I didn't have that requirement then the added request wouldn't have been necessary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Button Item Renderings:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Speak js:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;/-/speak/v1/ExperienceEditor/ExperienceEditor.js&quot;], function (Sitecore, ExperienceEditor) {&#xA;    Sitecore.Commands.OpenModal =&#xA;    {&#xA;        execute: function (context) {&#xA;            ExperienceEditor.PipelinesUtil.generateRequestProcessor(&quot;Custom.OpenModal&quot;, function (response) {&#xA;                var dialogFeatures = &quot;dialogMinWidth: 850px;&quot;;&#xA;                ExperienceEditor.Dialogs.showModalDialog(response.responseValue.value, &quot;&quot;, dialogFeatures, null);&#xA;            }).execute(ExperienceEditor.generatePageContext(context, ExperienceEditor.getPageEditingWindow().document));&#xA;        }&#xA;    };&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Request:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Common.CustomSitecore.Requests.SharedContent&#xA;{&#xA;    public class OpenModal : PipelineProcessorRequest&amp;lt;PageContext&amp;gt;&#xA;    {&#xA;        public OpenModal()&#xA;        {&#xA;        }&#xA;&#xA;        public override PipelineProcessorResponseValue ProcessRequest()&#xA;        {&#xA;            var item = base.RequestContext.Item;&#xA;&#xA;            var pipelineProcessorResponseValue = new PipelineProcessorResponseValue()&#xA;            {&#xA;                Value = new UrlString($&quot;/sitecore/client/Your Apps/MyModal?sc_lang=en&amp;amp;itemUrl={item.GetUrl()}&quot;).ToString()&#xA;            };&#xA;&#xA;            return pipelineProcessorResponseValue;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Request config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sitecore.experienceeditor.speak.requests&amp;gt;&#xA;      &amp;lt;request name=&quot;Custom.OpenModal&quot; type=&quot;Common.CustomSitecore.Requests.SharedContent.OpenModal, Common&quot;/&amp;gt;&#xA;    &amp;lt;/sitecore.experienceeditor.speak.requests&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-03-05T16:17:33.413" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10587" PostTypeId="2" ParentId="10526" CreationDate="2018-03-05T16:50:13.423" Score="2" Body="&lt;p&gt;&lt;strong&gt;Primary Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore support have come back,&#xA;Ref &amp;amp; Factory are still available in sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore.Reflection.IFactory has not been marked as obsolete, it's the Sitecore.Abstractions.IFactory that has been marked as obsolete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Secondary Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've had a look at /sitecore/admin/ShowServicesConfig.aspx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and can see for BaseFactory the implementation is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Abstractions.BaseFactory, Sitecore.Kernel &#xA;=&amp;gt;&#xA;Sitecore.Configuration.DefaultFactory, Sitecore.Kernel&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for BaseRuleFactory the implementation is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Abstractions.BaseRuleFactory, Sitecore.Kernel &#xA;=&amp;gt;&#xA;Sitecore.Rules.DefaultRuleFactory, Sitecore.Kernel    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for BaseCorePipelineManager the implementation is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Abstractions.BaseCorePipelineManager, Sitecore.Kernel &#xA;=&amp;gt;&#xA;Sitecore.Pipelines.DefaultCorePipelineManager, Sitecore.Kernel    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for BaseSettings the implementation is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Abstractions.BaseSettings, Sitecore.Kernel&#xA;=&amp;gt;&#xA;Sitecore.Configuration.DefaultSettings, Sitecore.Kernel&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We'll try updating our code to reference these new base classes, and register these default instances in our IoC container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure why the interfaces have been removed, and replaced with abstract classes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will mark this as closed once verified resolves our issues.&lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2018-03-05T16:50:13.423" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10588" PostTypeId="1" AcceptedAnswerId="10658" CreationDate="2018-03-05T17:40:48.910" Score="2" ViewCount="481" Body="&lt;p&gt;We have an instance of Sitecore 8.2 update 5 using XDB cloud and EXM hosted in Azure using PaaS AppServices.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am testing EXM and trying to send test email campaigns from our CM instance.&#xA;However even through EMX reports the campaign has been successfully and sets the status to “sent” zero emails are actually sent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have uploaded a test CSV document with the first name, last name and email of all the developers in my team, a total of 9 contacts, and I can see using Robo mongo these contacts are in the analytics set in XDB Cloud.&#xA;What’s more confusing is that I can sent a test preview message from the Review tab. That works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trawling through Application insights, I can see a common error...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6756 16:53:04 WARN  Unhandled exception thrown while processing task '0xBB3AF911DC384345AA2C16966CF4BF17' **from task pool 'dispatch_failed_task_pool'. The task has not reached the maximum number of attempts to process a failing task and is postponed.**&#xA;&#xA;Exception: System.ArgumentException&#xA;&#xA;Message: **Null ids are not allowed.**&#xA;&#xA;Parameter name: **contactId**&#xA;&#xA;Source: Sitecore.Kernel&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The contactID parameter is odd as the contacts use the email address and the contact unique identifier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an ongoing support ticket open with Sitecore but they are struggling to resolve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone shed any light on this?&lt;/p&gt;&#xA;" OwnerUserId="2993" LastActivityDate="2018-03-08T14:00:28.110" Title="EXM - reports email campaign sent successfully - zero emails actually sent" Tags="|azure|exm|paas|xdb-cloud|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10589" PostTypeId="2" ParentId="10583" CreationDate="2018-03-05T18:17:20.890" Score="3" Body="&lt;p&gt;In Sitecore 7.2 you have bellow configurations into &lt;strong&gt;\Website\App_Config\Include\Sitecore.ContentSearch.config&lt;/strong&gt; file : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;search&amp;gt;&#xA;        &amp;lt;!-- EXTEND SEARCH PIPELINE&#xA;             This processor executes search expressions that use the Sitecore.ContentSearch indexes when the Search.UseLegacySearchEngine setting is set to false.&#xA;        --&amp;gt;&#xA;        &amp;lt;processor patch:before=&quot;*[@type='Sitecore.Pipelines.Search.SearchSystemIndex, Sitecore.Kernel']&quot; type=&quot;Sitecore.ContentSearch.Client.Pipelines.Search.SearchContentSearchIndex, Sitecore.ContentSearch.Client&quot; /&amp;gt;&#xA;      &amp;lt;/search&amp;gt;  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and into &lt;strong&gt;web.config&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;search&amp;gt;&#xA;    &amp;lt;!-- other processors --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Pipelines.Search.SearchSystemIndex, Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;!-- other processors --&amp;gt;       &#xA;  &amp;lt;/search&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8 these configurations doesn't exist. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please comment these lines of code for a short fix. &#xA;   Please compare your config files with config files from a clean Sitecore solution which has same release with your version. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-03-05T18:39:42.027" LastActivityDate="2018-03-05T18:39:42.027" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10590" PostTypeId="1" CreationDate="2018-03-05T20:48:50.570" Score="0" ViewCount="498" Body="&lt;p&gt;Has anyone faced this issue, while installing the Helixbase for Sitecore 9 update 1? The builds are successful with no errors. Publishing all projects task with gulp also works fine. but still I am facing this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/F9l6q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F9l6q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-04-09T10:50:49.813" LastActivityDate="2018-04-09T10:50:49.813" Title="The given path's format is not supported error exception while accessing Helixbase project" Tags="|helix|gulp|" AnswerCount="1" CommentCount="7" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10591" PostTypeId="1" AcceptedAnswerId="10592" CreationDate="2018-03-06T01:04:19.420" Score="5" ViewCount="573" Body="&lt;p&gt;When I originally installed Commerce 9 via SIF, everything worked fine. But since building/deploying the &lt;code&gt;Sitecore.Commerce.Engine&lt;/code&gt; project (sans all sample plugins), adding an item to the cart results in the following error being displayed:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;GetCurrentCart: Value cannot be null&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here's there research I've done so far:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error is being thrown by &lt;code&gt;Sitecore.Commerce.XA.Feature.Cart.Models.JsonResults.CartLineJsonResult.SetLink()&lt;/code&gt; because it fails to lookup the product by the id that's being mapped from the &lt;code&gt;Id&lt;/code&gt; property of the &lt;code&gt;CartProductComponent&lt;/code&gt; that's attached to the &lt;code&gt;CartLineComponent&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the raw entity data and the &lt;code&gt;id&lt;/code&gt; attribute is a GUID, but SXA clearly expects it to be a the product id so it makes sense that the index query turns up nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking into the blocks in &lt;code&gt;Plugin.Cart&lt;/code&gt;, and &lt;code&gt;AddCartLineBlock&lt;/code&gt; does indeed generate a new guid in scenarios where it's not being merged into an existing cart line.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see that &lt;code&gt;PopulateLineItemProductBlock&lt;/code&gt; does exactly what I expect to happen: load the sellable item and populate the &lt;code&gt;CartProductComponent&lt;/code&gt;. However, it's not added to any pipeline's in the Cart (or any other) plugin's ConfigureSitecore class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've run into &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10557/catalog-data-disappearing-after-publishing-from-the-commerce-9-engine-sdk&quot;&gt;missing plugin issues&lt;/a&gt; related to building the Engine project exclusively, so I'm not ruling that out but I can't see the missing piece.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2018-03-06T01:17:29.503" LastActivityDate="2019-02-06T22:16:43.243" Title="&quot;GetCurrentCart: Value cannot be null&quot; when adding item to cart" Tags="|sxa|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10592" PostTypeId="2" ParentId="10591" CreationDate="2018-03-06T01:04:46.380" Score="7" Body="&lt;p&gt;&lt;strong&gt;Edit: Updated code to work around &lt;a href=&quot;https://sitecore.stackexchange.com/q/11074/1173&quot;&gt;another issue&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I started investigating the avenue of missing plugins since that caused the previous issues I had, but the issue ended up being much simpler: the &lt;code&gt;Plugin.Sample.AdventureWorks&lt;/code&gt; project registers critical pipeline blocks that were originally included in the Engine project in previous versions of Commerce.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This actually took quite a while to find, since on the surface the AdventureWorks plugin only appears to exist to hook into &lt;code&gt;IInitializeEnvironmentPipeline&lt;/code&gt; to import it's sample data. It's made even less obvious by the fact that the SIF installation focuses on &lt;em&gt;Habitat&lt;/em&gt; content, not Adventure Works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The missing blocks actually go beyond this exact problem, and I have no idea why these pipeline blocks aren't registered in their respective plugins (Plugin.Cart, for example, defines both the pipeline and block).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regardless, the workaround is to include the following in your Commerce.Engine project:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.Framework.Pipelines.Definitions.Extensions;&#xA;&#xA;// You may need to add references to these plugins&#xA;using Sitecore.Commerce.Plugin.Carts;&#xA;using Sitecore.Commerce.Plugin.Catalog;&#xA;using Sitecore.Commerce.Plugin.Coupons;&#xA;using Sitecore.Commerce.Plugin.Fulfillment;&#xA;using Sitecore.Commerce.Plugin.Payments;&#xA;using Sitecore.Commerce.Plugin.Promotions;&#xA;using Sitecore.Commerce.Plugin.Tax;&#xA;&#xA;namespace Sitecore.Commerce.Engine&#xA;{&#xA;    public static class ServiceCollectionExtensions&#xA;    {&#xA;        public static IServiceCollection ConfigureCartPipelines(&#xA;            this IServiceCollection services)&#xA;        {&#xA;            services.Sitecore().Pipelines(config =&amp;gt; config&#xA;                .ConfigurePipeline&amp;lt;ICalculateCartLinesPipeline&amp;gt;(builder =&amp;gt; builder&#xA;                    .Add&amp;lt;PopulateCartLineItemsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesPriceBlock&amp;gt;()&#xA;                    .Add&amp;lt;ValidateCartLinesPriceBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesSubTotalsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesFulfillmentBlock&amp;gt;()&#xA;                    .Add&amp;lt;ValidateCartCouponsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesPromotionsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesTaxBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesTotalsBlock&amp;gt;(),&#xA;                    order: 1001&#xA;                )&#xA;&#xA;                .ConfigurePipeline&amp;lt;ICalculateCartPipeline&amp;gt;(builder =&amp;gt; builder&#xA;                    .Add&amp;lt;CalculateCartSubTotalsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartFulfillmentBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartPromotionsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartTaxBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartTotalsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartPaymentsBlock&amp;gt;()&#xA;                )&#xA;&#xA;                .ConfigurePipeline&amp;lt;IAddPaymentsPipeline&amp;gt;(builder =&amp;gt; builder&#xA;                    .Add&amp;lt;ValidateCartHasFulfillmentBlock&amp;gt;()&#xA;                        .After&amp;lt;ValidateCartAndPaymentsBlock&amp;gt;()&#xA;                )&#xA;            );&#xA;&#xA;            return services;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which you can then call in your ConfigureServices class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;services.ConfigureCartPipelines();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2018-03-29T01:23:26.460" LastActivityDate="2018-03-29T01:23:26.460" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10593" PostTypeId="2" ParentId="10417" CreationDate="2018-03-06T03:51:33.027" Score="8" Body="&lt;p&gt;I was able to solve this.&#xA;Navigate to your Sitecore Azure Toolkit path in Powershell and run the following after unblocking all the files.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Import-Module .\tools\Sitecore.Cloud.Cmdlets.psm1  &lt;/li&gt;&#xA;&lt;li&gt;Import-Module .\tools\Sitecore.Cloud.Cmdlets.dll&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/k8UIc.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/k8UIc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And now we can use the commands to create the WDP for the Sitecore Module like Data Exchange Framework by running this command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ConvertTo-SCModuleWebDeployPackage -Path &quot;C:\Sc DEF Packages for Sc9U1\Data Exchange Framework 2.0.1 rev. 180108.zip&quot; -Destination &quot;C:\WDP&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the script run you can inspect the scwdp.zip file generated and check if it already contains the dacpac and the other contents of the module.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/016XK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/016XK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything is now set and create your azuredeploy.json for this package and update your azuredeploy.parameters.json to add this in the modules node item.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastActivityDate="2018-03-06T03:51:33.027" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10594" PostTypeId="1" AcceptedAnswerId="10596" CreationDate="2018-03-06T04:11:07.577" Score="3" ViewCount="488" Body="&lt;p&gt;I'm currently running Sitecore with separated CM and CD servers/DBs.&#xA;I'm aware that prefetch cache get re-polulated when server restart.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This Sitecore documentation state that &#xA;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_us.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_us.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore clears one or more caches after each publishing operation.&#xA;  In environments that consist of a single Sitecore instance providing both content management and&#xA;  content delivery, Sitecore clears the site HTML (output) caches after each publishing operation. In&#xA;  environments that separate a content management instance from some number of content delivery&#xA;  instances, Sitecore clears the site HTML (output) caches and all other caches after each publishing&#xA;  operation.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My question is whether the prefetch be immediately re-populated after a publish?&lt;/p&gt;&#xA;" OwnerUserId="3344" LastEditorUserId="3136" LastEditDate="2018-03-06T07:37:24.877" LastActivityDate="2018-03-06T08:12:40.503" Title="When does prefetch cache get re-populated after publishing?" Tags="|publishing|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10595" PostTypeId="1" AcceptedAnswerId="10597" CreationDate="2018-03-06T04:27:14.743" Score="2" ViewCount="70" Body="&lt;p&gt;As I understand, Sitecore tries to find if an item is available in the cache. If it's found in that level, it will return without proceeding further, in the following order : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item Cache =&amp;gt; Data Cache =&amp;gt; Prefetch Cache&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would like to understand if the cache does overlap each other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If an item is available in the Prefetch Cache, will it be still populated to the Data Cache, and then the Item Cache?&lt;/p&gt;&#xA;" OwnerUserId="3344" LastEditorUserId="1671" LastEditDate="2018-03-06T08:40:09.607" LastActivityDate="2018-03-06T08:40:09.607" Title="Does Sitecore cache overlap?" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10596" PostTypeId="2" ParentId="10594" CreationDate="2018-03-06T04:30:15.643" Score="2" Body="&lt;p&gt;Prefetch cache is not repopulated after a publish, it is repopulated just when you restart your site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Prefetch Cache&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Prefetch caches contain items that Sitecore accesses during and immediately after initialization and items with children that Sitecore often accesses as a group. Sitecore maintains those caches over the life of the application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each database prefetch cache entry represents an item in a database. Database prefetch cache entries include all field values for all versions of that item, and information about the parent and children of the item.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The purpose of this cache is of course to trade longer startup times for faster load times at runtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on bellow picture to see how cache layers are organized:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ysNhZ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ysNhZ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-03-06T04:30:15.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10597" PostTypeId="2" ParentId="10595" CreationDate="2018-03-06T04:43:34.993" Score="1" Body="&lt;p&gt;&lt;strong&gt;The Data Cache&lt;/strong&gt; stored items of the Sitecore class ItemInformation.&lt;/p&gt;&#xA;&lt;p&gt;Its main functionality is to reduce the number of requests to the database. It get filled-in whenever they are requested.&lt;/p&gt;&#xA;&lt;p&gt;The process for it to get populated is when fetching item from the Prefetch Cache. In other words, the Prefetch Cache fills the Data Cache.&lt;/p&gt;&#xA;&lt;p&gt;Please have a look here: &lt;a href=&quot;https://hishaamn.wordpress.com/2016/05/07/sitecore-cache/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hishaamn.wordpress.com/2016/05/07/sitecore-cache/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-03-06T04:43:34.993" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10598" PostTypeId="2" ParentId="10594" CreationDate="2018-03-06T08:12:40.503" Score="1" Body="&lt;p&gt;Look at this article, @hisaam has explained it in very detailed and powerful way. And how to configure each of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://hishaamn.wordpress.com/2016/05/07/sitecore-cache/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hishaamn.wordpress.com/2016/05/07/sitecore-cache/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can learn more at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also enabling &lt;code&gt;HTTP Response Headers&lt;/code&gt; in the IIS helps a lot in caching static pages.&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-06T08:12:40.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10601" PostTypeId="1" AcceptedAnswerId="10603" CreationDate="2018-03-06T08:57:43.067" Score="0" ViewCount="1981" Body="&lt;p&gt;Our team is new to SXA. We are building our first site using SXA. &#xA;So far the experience is really great.&#xA;We are currently creating header and footer as Partial designs and assigning them on Page designs. We want to have same header and footer on every page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this valid setup? Or with SXA we should use different approach?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using &lt;code&gt;SXA 1.6&lt;/code&gt; with &lt;code&gt;Sitecore 9.0.1&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-06T09:52:50.133" Title="Creating footer and header in SXA in Sitecore 9.0.1" Tags="|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10602" PostTypeId="1" AcceptedAnswerId="10611" CreationDate="2018-03-06T09:18:18.040" Score="3" ViewCount="841" Body="&lt;p&gt;We are migrating Sitecore 7 instances to Sitecore 8 and we currently have the following scenario in production. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BxfT6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BxfT6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Different sites with two separate CMs and CDs (failover) each using the same databases (Core, Master, Web). Each site has its own solution and use different assemblies which are conflicting between sites. So that's why they are hosted in separated CM servers. &lt;del&gt;Also, they are under different domains (e.g. site1.nl, site2.nl) and therefore don't share the same session&lt;/del&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our client wants to start using xDB and leverage data collect from different sites. e.g. personalize content in &lt;strong&gt;Site 1&lt;/strong&gt; based on interactions done in &lt;strong&gt;Site 2&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We were wondering if keeping this same architecture would enable the users to use xDB features across multiple sites. If not, could you please point us to a best alternative?&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Update&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This information has just arrived. All the sites are under the same domain. They use different subdomains, though. e.g. &lt;strong&gt;coffee.gohorse.nl&lt;/strong&gt;, &lt;strong&gt;ontdek.gohorse.nl&lt;/strong&gt; and etc. So I believe we won't need to implement custom code to share the session between the sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've noticed that Sitecore 7 creates 1 cookie named &lt;code&gt;SC_ANALYTICS_SESSION_COOKIE&lt;/code&gt; and another named &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt;. The cookie value &lt;code&gt;SC_ANALYTICS_SESSION_COOKIE&lt;/code&gt; changes per subdomain, but the &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; remains the same (and expires 10 years from now).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are planning to use an out of process session management with Redis in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, I want to know if personalization with xDb data across multiple sites would be possible?&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-03-06T14:24:33.580" LastActivityDate="2018-03-06T14:24:33.580" Title="How to scale multiple CM and CD where each one contains a different site but share the same databases?" Tags="|scaling|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10603" PostTypeId="2" ParentId="10601" CreationDate="2018-03-06T09:28:13.030" Score="3" Body="&lt;p&gt;Yes you are doing a valid setup.&#xA;In your case to put header and footer together create a new Page Design and configured it to use the two new Partial Designs&#xA;To actually start using the Page Design you need to apply it to a Template to Design Mapping. You can do this on the ‘Page Designs’ item or from the experience editor.&#xA;After that it’s pretty simple. Just create a new page of type ‘Page’ and you’ll get it prefilled with the two partial designs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Design process with out-of-the-box components using SXA is as below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create site with new theme&lt;/li&gt;&#xA;&lt;li&gt;Create partial designs (wireframe)&lt;/li&gt;&#xA;&lt;li&gt;Create page designs (wireframe)&lt;/li&gt;&#xA;&lt;li&gt;Create page item for each page design&lt;/li&gt;&#xA;&lt;li&gt;Export theme using creative exchange&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In parallel:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Front-end developer applies styling to the theme&lt;/p&gt;&#xA;&#xA;&lt;p&gt;• Content editor creates pages and content&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Import theme using creative exchange&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Try to have a look at: &lt;a href=&quot;http://reinoudvandalen.nl/blog/sitecore-experience-accelerator-partial-designs-and-page-designs/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://reinoudvandalen.nl/blog/sitecore-experience-accelerator-partial-designs-and-page-designs/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-03-06T09:28:13.030" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10604" PostTypeId="2" ParentId="10601" CreationDate="2018-03-06T09:28:41.697" Score="1" Body="&lt;p&gt;Yes, it is, then you have to specify mapping for you Page Design (specify which templates should use it).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you think that seeing other solutions will help you I recommend you to install one of the &lt;a href=&quot;https://github.com/alan-null/SXA.Index#demo-sites&quot; rel=&quot;nofollow noreferrer&quot;&gt;demo sites&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Docs (how to create and assign partials):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/create_and_change_a_partial_design&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/create_and_change_a_partial_design&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/create_and_assign_a_page_design_in_the_content_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/create_and_assign_a_page_design_in_the_content_editor&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-03-06T09:28:41.697" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10605" PostTypeId="2" ParentId="10601" CreationDate="2018-03-06T09:30:38.590" Score="1" Body="&lt;p&gt;Its a basic bootstrap structure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you drop container components in header and footer placeholder in EE mode and name them as header and footer by apply custom css classes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you put a splitter and divide it in 2 columns, 3-col for 1st one for logo, and other one with 9-col for navigation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Same goes for the footer. Just assign the css classed on each component and let the frontends style them for you. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create custom classes in your Sitecore website folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/content/Tenant/Your website/Presentation/Styles&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I give you a tip, use prfixes for you custom classes. like your project name is &quot;google&quot; you can use &quot;gg-your-class-name&quot; this way you can differential your classes and the rest of the SXA classes.&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-03-06T09:52:50.133" LastActivityDate="2018-03-06T09:52:50.133" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10606" PostTypeId="2" ParentId="10590" CreationDate="2018-03-06T09:32:21.597" Score="2" Body="&lt;p&gt;Before you proceed with setting up Helixbase or Habitat solution, make sure your sitecore instance is working fine and you have followed all the steps given in installation guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yesterday I have installed Sitecore 9.0.1 update 1 and setup Helixbase solution from github on top of it which is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your error seems to be related to paths you have specified. Please check following configuration files, I have provided some details of attributes which should correct according to your setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;z.Helixbase.DevSettings.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sourceFolder: Provide the path of your source code location&lt;/li&gt;&#xA;&lt;li&gt;rootHostName: Provide correct hostname, if your sitecore instance has hostname other than the default one i-e 'helixbase'.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Helixbase.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;targetHostName: In the site configuration tag, make sure to remove &lt;em&gt;'demo.'&lt;/em&gt; from targetHostName=&quot;demo.$(rootHostName)&quot; attribute only if your site is not hosted with subdomain as 'demo'.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Once the above configurations are correct then run the gulp tasks and make sure that you get the status as 'Process terminated with code 0.' which means task ran without any issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have followed above correctlty then your helixbase should work without any issue.&lt;/p&gt;&#xA;" OwnerUserId="3318" LastActivityDate="2018-03-06T09:32:21.597" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10607" PostTypeId="1" CreationDate="2018-03-06T10:26:42.343" Score="1" ViewCount="779" Body="&lt;p&gt;In the experience editor, there is a default text displayed when one clears the text : &lt;code&gt;[no text in field]&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a possibility to customize this text and eventually have one different for each fields ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;name field --&gt; display :&lt;code&gt;[name field empty]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Phone field --&gt; display : &lt;code&gt;[phone field empty]&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2278" LastEditorUserId="2056" LastEditDate="2018-03-06T10:35:23.360" LastActivityDate="2018-03-06T11:13:37.180" Title="Modifying the default text displayed in a field when it's empty [Experience editor]" Tags="|sitecore-client|experience-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10608" PostTypeId="2" ParentId="10607" CreationDate="2018-03-06T10:41:47.087" Score="0" Body="&lt;p&gt;Right now there is no way to customize this text in SXA. What is more, it's not an SXA responsibility. We are using Sitecore field renderers in Rendering Variants.&#xA;This text is rendered by particular field renderer.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-03-06T10:41:47.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10610" PostTypeId="2" ParentId="10607" CreationDate="2018-03-06T10:55:48.823" Score="3" Body="&lt;p&gt;The GetDefaultText method in Sitecore.Pipelines.RenderField.RenderWebEditing prefix the placeholder text with the Display Name of the field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;renderField&amp;gt;&#xA;        &amp;lt;processor patch:before=&quot;*[1]&quot; type=&quot;MyProject.CMS.Custom.Pipelines.RenderField.ShowTitleWhenBlank, MyProject.CMS.Custom&quot; /&amp;gt;&#xA;      &amp;lt;/renderField&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&#xA;&#xA;using Sitecore.Pipelines.RenderField;    &#xA;namespace MyProject.CMS.Custom.Pipelines.RenderField&#xA;{&#xA;    public class ShowTitleWhenBlank&#xA;    {&#xA;        public void Process(RenderFieldArgs args)&#xA;        {&#xA;            args.RenderParameters[&quot;show-title-when-blank&quot;] = &quot;true&quot;;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more information you can refer to &lt;a href=&quot;https://jammykam.wordpress.com/2017/09/20/show-title-when-blank/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2017/09/20/show-title-when-blank/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1049" LastEditDate="2018-03-06T11:13:37.180" LastActivityDate="2018-03-06T11:13:37.180" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10611" PostTypeId="2" ParentId="10602" CreationDate="2018-03-06T11:01:59.497" Score="3" Body="&lt;p&gt;I don't know the way how to do it out of the box. But can suggest how to do it with hack. Idea is to sync cookies that Sitecore uses to identify visitor to same values across all websites.(Important requirement is that analytics DB and Sessions store should be shared between all sites). When these cookies will be same, Sitecore would think that it is the same visitor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add bunch of invisible service &lt;code&gt;iframes&lt;/code&gt; that will set &lt;code&gt;ASP.NET_SessionId&lt;/code&gt;, &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; and &lt;code&gt;SC_ANALYTICS_SESSION_COOKIE&lt;/code&gt; to same values for all your websites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example of action that will get cookie values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult CookiesIFrame()&#xA;{&#xA;    var urlReferrer = System.Web.HttpContext.Current.Request.UrlReferrer;&#xA;&#xA;    //If user opens website first time or comes from other website&#xA;    if (urlReferrer == null || [urlReferrer does not contain any of your websites])&#xA;    {&#xA;        var aspNetSessionId = HttpContext.Current.Request.Cookies[&quot;ASP.NET_SessionId&quot;];&#xA;        var scAnalyticsGlobalCookie = HttpContext.Current.Request.Cookies[&quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;];&#xA;        var scAnalyticsSessionCookie = HttpContext.Current.Request.Cookies[&quot;SC_ANALYTICS_SESSION_COOKIE&quot;];&#xA;&#xA;        var model = new CookiesViewModel()&#xA;            {&#xA;                AspNetSessionId = aspNetSessionId,&#xA;                ScAnalyticsGlobalCookie = scAnalyticsGlobalCookie,&#xA;                ScAnalyticsSessionCookie = scAnalyticsSessionCookie&#xA;            };&#xA;&#xA;        //Render iframe with transfered parameters&#xA;        return View(model);&#xA;    }&#xA;    return new EmptyResult();&#xA;}&#xA;&#xA;public class RegionCookiesViewModel&#xA;{&#xA;    public string AspNetSessionId { get; set; }&#xA;    public string ScAnalyticsGlobalCookie { get; set; }&#xA;    public string ScAnalyticsSessionCookie { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;View that will render Iframes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model RegionCookiesViewModel&#xA;&#xA;@{ &#xA;    var iFrameUrl = String.Format(&quot;/api/sitecore/crossdomainmanagement/setcookies?AspNetSessionId={0}&amp;amp;ScAnalyticsGlobalCookie={1}&amp;amp;ScAnalyticsSessionCookie={2}&quot;, Model.AspNetSessionId, Model.ScAnalyticsGlobalCookie, Model.ScAnalyticsSessionCookie);&#xA;}&#xA;@foreach(site in yourWebsites(without current one)){&#xA;    &amp;lt;iframe src=&quot;@Html.Raw(site + iFrameUrl)&quot; style=&quot;display:none;&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you will be able to set these cookie values in &lt;code&gt;SetCookies&lt;/code&gt; action:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult SetCookies(CookiesViewModel model)&#xA;{&#xA;    HttpContext.Current.Response.Cookies.Add(new HttpCookie(&quot;ASP.NET_SessionId&quot;) { Value = model.AspNetSessionId })&#xA;    HttpContext.Current.Response.Cookies.Add(new HttpCookie(&quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;) { Value = model.ScAnalyticsGlobalCookie })&#xA;    HttpContext.Current.Response.Cookies.Add(new HttpCookie(&quot;SC_ANALYTICS_SESSION_COOKIE&quot;) { Value = model.ScAnalyticsSessionCookie })&#xA;    return new EmptyResult();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another one idea, how to achieve personalization across your websites is to use Federated Experience Manager. But it will require a lot and complex configuration of your items...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update(according addition to question):&lt;/strong&gt;&#xA;As all sites will be on same domain and will have different subdomains then it should be enough to configure setting of cookies&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;httpCookies domain=&quot;.gohorse.nl&quot; /&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;No needs to create custom solution described above.&lt;/p&gt;&#xA;" OwnerUserId="666" LastEditorUserId="666" LastEditDate="2018-03-06T12:45:57.093" LastActivityDate="2018-03-06T12:45:57.093" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10612" PostTypeId="1" AcceptedAnswerId="10636" CreationDate="2018-03-06T11:14:14.007" Score="2" ViewCount="3028" Body="&lt;p&gt;I have a situation where I need to use &lt;strong&gt;VirtualLogin&lt;/strong&gt; to enable a user to access the sitecore shell and use the Content Editor / &lt;strong&gt;Media Library&lt;/strong&gt; editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/L5EVR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/L5EVR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the code for the Virtual Login (from many examples found around the Sitecore docs and blog posts):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Security.Authentication;&#xA;using Sitecore.Security.Accounts;&#xA;&#xA;    ...&#xA;    User virtualUser = AuthenticationManager.BuildVirtualUser(@&quot;sitecore\kam&quot;, true);&#xA;    virtualUser.Roles.Add(Role.FromName(@&quot;sitecore\publisher&quot;));&#xA;    virtualUser.Profile.IsAdministrator = true;&#xA;    virtualUser.Profile.Save();&#xA;&#xA;    AuthenticationManager.LoginVirtualUser(virtualUser);&#xA;    ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the user logs in fine, is redirected to &lt;code&gt;/sitecore/shell/Launchpad&lt;/code&gt;, but then I found that when the logged in user opens the Media Library, the page always redirects out to &lt;code&gt;/sitecore/login&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After a bit of inspection of the Networks tab under Chrome dev tools, I can see that the page redirects after a request is sent to  &lt;code&gt;/Applications/Buckets/Services/Search.ashx&lt;/code&gt; endpoint. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The full uri with query params is this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://cm.host/sitecore/shell/Applications/Buckets/Services/Search.ashx?callback=jQuery11020018711424457148906_1520245242493&amp;amp;q%5B0%5D%5Btype%5D=text&amp;amp;q%5B0%5D%5Bvalue%5D=*&amp;amp;q%5B0%5D%5Boperation%5D=should&amp;amp;pageNumber=0&amp;amp;type=Query&amp;amp;pageSize=20&amp;amp;version=1&amp;amp;id=%7B3D6658D8-A0BF-4E75-B3E2-D050FABCF4E1%7D&amp;amp;indexName=&amp;amp;db=&amp;amp;_=1520245242494&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I now know that it's the Search tab of Media Library which is running the default query on page load. If I remove the &lt;code&gt;Default bucket query&lt;/code&gt; field for &lt;code&gt;Media Library&lt;/code&gt; item, the initial load doesn't redirect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0MrO1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0MrO1.png&quot; alt=&quot;Default bucket query field on Media Library item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I have no idea how to authorise this internal API call to the Item Buckets endpoint, as it always returns &lt;code&gt;({&quot;Redirect&quot;:&quot;/sitecore/login&quot;})&lt;/code&gt; for the VirtualUser, but returns a normal response for a regular logged in user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm pretty sure it's not a permissions issue because I can set a breakpoint after the line of code where &lt;code&gt;LoginVirtualUser&lt;/code&gt; is called, and with this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var item = Sitecore.Context.Database.GetItem(&quot;/sitecore/Media Library&quot;);&#xA;var right = Sitecore.Security.AccessControl.AccessRight.FromName(&quot;item:read&quot;);&#xA;var access = Sitecore.Security.AccessControl.AuthorizationManager.GetAccess(item, virtualUser, right);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I see that the user has AccessRight to read the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Things tried already:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;inspecting the virtualUser.Profile &lt;/li&gt;&#xA;&lt;li&gt;inspecting the virtualUser.RuntimeSettings (not really sure what this is for)&lt;/li&gt;&#xA;&lt;li&gt;manipulating the query params on the &lt;code&gt;Search.ashx&lt;/code&gt; query&lt;/li&gt;&#xA;&lt;li&gt;assigning all standard sitecore roles to the virtual user&lt;/li&gt;&#xA;&lt;li&gt;looking around the Sitecore.Buckets.config file&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Also, I think that the same session cookies from the logged in VirtualUser are being passed to the search query request:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zlt5j.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zlt5j.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the only thing I can think is that some authorization parameters are not being transferred to the this API request, but I'm really not sure on the details of how this API is served. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have any experience with this? Or can find any documentation on the Sitecore.Buckets.config?&lt;/p&gt;&#xA;" OwnerUserId="3346" LastEditorUserId="3346" LastEditDate="2018-03-07T06:51:47.127" LastActivityDate="2018-03-07T07:30:00.903" Title="How to correctly login as Virtual User to use the Sitecore Content Editor? (Avoid Media Library Search redirects)" Tags="|content-search|media-library|editor-user-permissions|item-web-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10614" PostTypeId="1" CreationDate="2018-03-06T11:49:29.477" Score="1" ViewCount="492" Body="&lt;p&gt;We are working on website which was migrated from version 7.2 to 8.2 through the Express Migration tool. In the application a service is configured to clear the cache. When the service runs, the cache is cleared however the users logged to the website when the cache is cleared are not logged out, they still remain logged in. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected behavior in version 8.2 or is a configuration change required?&lt;/p&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="3136" LastEditDate="2018-04-05T14:22:40.333" LastActivityDate="2018-04-05T14:22:40.333" Title="Should clearing the Sitecore cache automatically logout users?" Tags="|caching|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10615" PostTypeId="2" ParentId="10614" CreationDate="2018-03-06T11:58:45.807" Score="2" Body="&lt;p&gt;This is an expected behaviour, users are not persisted using caching. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to kick off user you should use next link : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;yourlocalhost/sitecore/client/Applications/LicenseOptions/KickUser&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Hznx3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hznx3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-03-06T11:58:45.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10617" PostTypeId="2" ParentId="10602" CreationDate="2018-03-06T12:13:51.497" Score="2" Body="&lt;p&gt;João, Anton's solution is the kind of SSO-like that I told you during the hackathon. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Despite being very unusual to have SC instances sharing the same database but having different DLLs, I believe you will be able to setup all instances to point to the same xDB (mongo), then all sites will start to track down accesses individually. Later, if you want to use the analytics data from one site into the another, you will need some kind of backward identification - either by using the hack that Anton described, or doing the same form identification method that we used at the hackathon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just pay attention that OOTB you must have 1 and only 1 processing server, you still can scale it, but by default only 1 is allowed.&lt;/p&gt;&#xA;" OwnerUserId="471" LastActivityDate="2018-03-06T12:13:51.497" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10618" PostTypeId="2" ParentId="10614" CreationDate="2018-03-06T12:30:09.813" Score="1" Body="&lt;p&gt;Yes, it is expected behavior. Users login information is not saved in cache.&#xA;You need to add additional code to your service to logout users.&#xA;This code should work for you:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var session in DomainAccessGuard.Sessions)&#xA;{&#xA;  DomainAccessGuard.Kick(session.SessionID);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-03-06T12:30:09.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10619" PostTypeId="2" ParentId="10612" CreationDate="2018-03-06T12:36:17.157" Score="0" Body="&lt;p&gt;If you would not be able to find solution how to do it with virtual user then you will be able to use this workaround:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add some service user that will have enough rights to do required action&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use &lt;code&gt;UserSwitcher&lt;/code&gt; to temporary switch context&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    using (new UserSwitcher(someServiceUser))&#xA;    {&#xA;        //do your stuff&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-03-06T12:36:17.157" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10621" PostTypeId="1" AcceptedAnswerId="10622" CreationDate="2018-03-06T13:51:41.250" Score="2" ViewCount="410" Body="&lt;p&gt;I need to start working on a brand new project on Sitecore platform. I want to follow best practices that enterprise-level applications must have. I know there are couple of samples that can be considered like Habitat. But it is not preferable to use it as a base project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At a similar line, there is one more code base named &lt;a href=&quot;https://github.com/muso31/Helixbase&quot; rel=&quot;nofollow noreferrer&quot;&gt;HelixBase&lt;/a&gt; which is at a more basic level and tackles some common problems when working with the platform. Thus, little curious to know, whether this can be treated as base project for the new solution and whether all additional requirement can be implemented on top of it?&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="490" LastEditDate="2018-03-06T14:13:06.413" LastActivityDate="2018-03-06T19:09:25.530" Title="Can HelixBase solution be used as a base solution for a brand new Sitecore project?" Tags="|helix|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10622" PostTypeId="2" ParentId="10621" CreationDate="2018-03-06T14:18:41.393" Score="10" Body="&lt;p&gt;If you read the &lt;code&gt;readme.md&lt;/code&gt; on the HelixBase github account, that seems to be exactly what it is for: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A Sitecore Helix based solution which can be used for Greenfield projects. Tackles some common problems when working with the platform.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, you should only use if you agree with the fundamental architectural decisions made:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Are you going to use Glass Mapper or do you prefer another ORM/Wrapper/Native API&lt;/li&gt;&#xA;&lt;li&gt;Are you planning to use the MS DI Abstractions (Which is what Sitecore uses) or do you prefer a different container?&lt;/li&gt;&#xA;&lt;li&gt;Are your developers familiar and comfortable using &lt;code&gt;gulp&lt;/code&gt; as a local development tool?&lt;/li&gt;&#xA;&lt;li&gt;Do you want to use Unicorn for item serialization or do you prefer TDS?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Those are the questions you need to answer for your project.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-03-06T14:18:41.393" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10623" PostTypeId="1" CreationDate="2018-03-06T14:25:45.390" Score="3" ViewCount="290" Body="&lt;p&gt;I'm using Sitecore 8.2 update 5 with the corresponding WFFM version. When WFFM form fails validation/custom submit action failed the application is redirecting the user to a page with the form only, I'd like to make it ajax and keep the user on the initial page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked &quot;Is Ajax Mvc Form&quot; on the form which was supposed to do the job but it still redirects me to something like &lt;a href=&quot;http://website/form/Index?wffm.FormItemId=6cf4975d-b1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://website/form/Index?wffm.FormItemId=6cf4975d-b1&lt;/a&gt;... Am I missing something or it's a bug?&lt;/p&gt;&#xA;" OwnerUserId="1979" LastActivityDate="2018-03-06T14:25:45.390" Title="How to stop page reloading on WFFM form when validation/save action failed?" Tags="|wffm|mvc-forms|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10624" PostTypeId="1" AcceptedAnswerId="10637" CreationDate="2018-03-06T14:47:15.787" Score="1" ViewCount="550" Body="&lt;p&gt;I have followed this doc article on how to create interaction with xConnect -&gt; &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/add-interaction.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/add-interaction.html&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code is run and I can see this interaction in Experience profile in Activity Tab and Visits section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6hlKB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6hlKB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get rid of {{SiteName}} and see website or any other site definition name?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZHjfb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZHjfb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running this on &lt;code&gt;Sitecore 9.0.1&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-28T07:55:45.713" LastActivityDate="2018-03-28T07:55:45.713" Title="URL for page view interaction is giving me {{SiteName}} instead of website in Sitecore 9.0.1" Tags="|xconnect|experience-profile|interaction|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10625" PostTypeId="2" ParentId="10563" CreationDate="2018-03-06T15:05:51.250" Score="2" Body="&lt;p&gt;I'm unable to repro the issue with the provided files. I did the following to get the app up and running locally:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Ran &lt;code&gt;jss setup&lt;/code&gt; to establish the values in &lt;code&gt;scjssconfig.json&lt;/code&gt;. (it seems like you have already done this)&lt;/li&gt;&#xA;&lt;li&gt;Ran &lt;code&gt;jss deploy config&lt;/code&gt; to deploy the &lt;code&gt;/sitecore/config/my-first-jss-app.config&lt;/code&gt; file to the Sitecore instance. (it seems like you have already done this, otherwise you'd likely be seeing a different error)&lt;/li&gt;&#xA;&lt;li&gt;Ran &lt;code&gt;jss deploy package --includeContent&lt;/code&gt; to generate the app manifest (with route data) and deploy it to Sitecore.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: the &lt;code&gt;jss&lt;/code&gt; commands assume you have the JSS CLI installed globally. If not, prefix the commands with either &lt;code&gt;npm run&lt;/code&gt; or &lt;code&gt;yarn&lt;/code&gt;, depending on which package manager you use. e.g. &lt;code&gt;npm run jss deploy package --includeContent&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The app was created in Sitecore successfully and I was able to browse to the home route in integrated mode without error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you confirm that your import ran without error? You should see something like this in Sitecore under &lt;code&gt;/sitecore/content&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/SwyLE.png&quot; alt=&quot;1&quot;&gt;&#xA;`&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-03-06T15:05:51.250" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10626" PostTypeId="1" AcceptedAnswerId="10673" CreationDate="2018-03-06T15:44:32.893" Score="1" ViewCount="3064" Body="&lt;p&gt;I imagined this would be fairly simple given the lack in posts about it (anywhere really) but we're hitting a bit of a problem with this one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module in question is &lt;code&gt;URL Rewrite&lt;/code&gt;.&#xA;It's installed fine on the CM server and it all works there. Getting it onto the CD server on the other hand is proving difficult. I've published the content to the web-live database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've manually copied all the files from the install package into the appropriate places on the CD server but it brings the entire site down giving the error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not create instance of type: Sitecore.Data.Database. No matching constructor was found.&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: Sitecore.Exceptions.ConfigurationException: Could not create instance of type: Sitecore.Data.Database. No matching constructor was found.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source Error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ConfigurationException: Could not create instance of type: Sitecore.Data.Database. No matching constructor was found.]&#xA;   Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +269&#xA;   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +128&#xA;   Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +575&#xA;   Sitecore.Configuration.Factory.GetDatabase(String name, Boolean assert) +144&#xA;   Sitecore.Configuration.Factory.GetDatabase(String name) +42&#xA;   Sitecore.Configuration.Factory.GetDatabases() +98&#xA;   Sitecore.Data.Managers.ItemManager.InitializeEventHandlers() +34&#xA;   Sitecore.Pipelines.Loader.InitializeManagers.Process(PipelineArgs args) +41&#xA;   (Object , Object[] ) +71&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +328&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +204&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +642&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +583&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +396&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +333&#xA;&#xA;[HttpException (0x80004005): Could not create instance of type: Sitecore.Data.Database. No matching constructor was found.]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +124&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +700&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Were running on &lt;code&gt;Sitecore 8.0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="3317" LastEditorUserId="2727" LastEditDate="2018-03-09T17:13:34.433" LastActivityDate="2018-03-09T17:13:34.433" Title="Could not create instance of type: Sitecore.Data.Database error while Installing a Sitecore module on CD server" Tags="|installation|content-delivery|module|url-rewrite|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10627" PostTypeId="1" CreationDate="2018-03-06T16:30:20.170" Score="10" ViewCount="5893" Body="&lt;p&gt;I am getting painfully slow performance when using the experience editor in sitecore 9.. I have several modules added to the page (inside nested dynamic placeholders), and any change seems to take an age.. Every time I add a module, or save, it can take several minutes to reload..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've seen Kam's post &lt;a href=&quot;https://kamsar.net/index.php/2015/02/sitecore-8-experience-editor-performance-optimization/&quot; rel=&quot;noreferrer&quot;&gt;https://kamsar.net/index.php/2015/02/sitecore-8-experience-editor-performance-optimization/&lt;/a&gt; but it applies to sitecore 8 and is more about start up, instead of actual usage of the experience editor..&lt;/p&gt;&#xA;" OwnerUserId="2302" LastEditorUserId="73" LastEditDate="2018-03-06T17:39:05.343" LastActivityDate="2022-06-19T13:43:58.030" Title="Experience Editor painfully slow" Tags="|experience-editor|performance-optimization|" AnswerCount="7" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="10629" PostTypeId="1" AcceptedAnswerId="10777" CreationDate="2018-03-06T18:04:31.190" Score="3" ViewCount="2909" Body="&lt;p&gt;We are working on porting our site to Sitecore 9 Update 1. &#xA;&lt;br/&gt;We have installed Sitecore 9 Update 1 with (WFFM) Web Forms For Marketers 9.0 Update-1 and Solr 6.6.2.&#xA;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Issue&lt;/strong&gt;:&#xA;The contacts are always shown as Unknown as shown below:&lt;br/&gt;&lt;br/&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/mJhm9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mJhm9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;br/&gt;&lt;br/&gt;&#xA;We have the save action set for wffm forms. Which stores the Full Name, Email etc.&lt;br/&gt;&lt;br/&gt;&#xA;I tried filling up the forms with different Email Id's, and different Names. The contacts appear in User Manager dashboard. But the same is not displayed in Experience profile dashboard.&lt;br/&gt;&lt;br/&gt;&#xA;&lt;strong&gt;Solutions Tried:&lt;/strong&gt;&lt;br/&gt;&#xA;1. Updated &quot;~\sc91.xconnect\App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml&quot; as shown below &lt;br/&gt;&lt;code&gt;&amp;lt;IndexAnonymousContactData&amp;gt;true&amp;lt;/IndexAnonymousContactData&amp;gt;&lt;/code&gt; &lt;br/&gt;&#xA;2. Rebuilt our Solr xDB index as mentioned here (&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-solr-index.html?highlight=rebuild%20reporting&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-solr-index.html?highlight=rebuild%20reporting&lt;/a&gt;)&#xA;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I came across few more posts, who talk about identifying and saving the contacts in experience profile on form submit. like this (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/10097/profile-data-is-not-saving-in-experience-profile&quot;&gt;Profile data is not saving in Experience Profile&lt;/a&gt;). But i wonder is this the only way to get the contacts displayed in Experience Profile dashboard? &lt;br/&gt;&lt;br/&gt;&#xA;I am trying to decompile and Sitecore.Cintel.dll and see if i can find something. It would be of great help if someone can shed some insights on this. Thanks in advance!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&#xA;I have created a blog for this issue. The solution can be found here: &#xA;&lt;a href=&quot;https://tectraveleat.wordpress.com/2018/06/04/sitecore-9-experience-profile-dashboard-unknown-contacts/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tectraveleat.wordpress.com/2018/06/04/sitecore-9-experience-profile-dashboard-unknown-contacts/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2718" LastEditorUserId="2718" LastEditDate="2018-06-04T21:06:55.967" LastActivityDate="2018-06-04T21:06:55.967" Title="Sitecore 9 Experience profile dashboard shows contact name and email as &quot;Unknown&quot;" Tags="|wffm|xconnect|experience-profile|indexing|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="10632" PostTypeId="2" ParentId="10621" CreationDate="2018-03-06T19:09:25.530" Score="3" Body="&lt;p&gt;It is a great solution that can be used as a base solution in the new Project. I have used it but I have written few additional modules in the Foundation layer which I believe can be an oppurtunity of becoming contributor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To answer your quesition on adding new modules then below are the some of the  modules I have written in Foundation &amp;amp; Feature layers that can be reused in future projects&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Multisite&lt;/li&gt;&#xA;&lt;li&gt;Metadata&lt;/li&gt;&#xA;&lt;li&gt;Navigation&lt;/li&gt;&#xA;&lt;li&gt;Extended the Core project to make it more generic for error handling.&lt;/li&gt;&#xA;&lt;li&gt;Extended the &lt;a href=&quot;http://www.mwhaider.com/2018/02/unicorn-serialization-for-helix-multisite-sitecore-solution/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Unicorn piplines&lt;/a&gt; of Serialization module for multisite token base configuration.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Only thing that you have to make sure that you follow the protocol to access the data from the repositories available in Content project of the Foundation layer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Overall Helixbase solution can be extended to any level of the requirements and I hope, above would help you/others to get an idea that how much you can extend it.&lt;/p&gt;&#xA;" OwnerUserId="3318" LastActivityDate="2018-03-06T19:09:25.530" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10633" PostTypeId="2" ParentId="10475" CreationDate="2018-03-06T19:23:49.393" Score="3" Body="&lt;p&gt;So the issue was solved, by doing the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;removing all the databases. &lt;/li&gt;&#xA;&lt;li&gt;Rewrite moduels was missing&lt;/li&gt;&#xA;&lt;li&gt;The Sitecore PSGallery and SitecoreGallery were not Trusted Repo&lt;/li&gt;&#xA;&lt;li&gt;Removed the IIS directory.&lt;/li&gt;&#xA;&lt;li&gt;Rerun the SIFLESS tool.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;it showed up like this, and the problem was solved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zNLrm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zNLrm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also compiled the list of commands for the powershell, that are prerequisites for the SC9 installation&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/isaadansari/63bd6ee4a1a80b40dcc0113739f4bb1b&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/isaadansari/63bd6ee4a1a80b40dcc0113739f4bb1b&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="1671" LastEditDate="2018-11-29T17:54:16.370" LastActivityDate="2018-11-29T17:54:16.370" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10634" PostTypeId="1" AcceptedAnswerId="10754" CreationDate="2018-03-06T20:18:36.267" Score="0" ViewCount="879" Body="&lt;p&gt;I am trying to enable VisitorIdentification on our pages, so I have added &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; to our layout pages.  However, when the page loads, it throws a 404 when trying to load VisistorIdentification.js found in /layouts/system/&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The file exists, however when I try to browse to it directly, it also throws the file not found error page.  If I put this file in the root /Scripts/ folder, it will load correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The permissions are set so the site can access this folder, and it is using the layouts in the /layouts/ folder, as well as loading the VisitorIdentification.ascx in the /layouts/system folder, however it is not able to find the VisitorIdentification.js file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the only thing that is found in the log file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;21492 12:09:40 ERROR Application error.&#xA;Exception: System.Web.HttpException&#xA;Message: Path '/layouts/system/VisitorIdentification.js' was not found.&#xA;Source: System.Web&#xA;   at System.Web.HttpNotFoundHandler.ProcessRequest(HttpContext context)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3351" LastEditorUserId="3351" LastEditDate="2018-03-07T01:04:44.023" LastActivityDate="2018-03-13T16:55:04.290" Title="Loading VisitorIdentification.js causes 404 not found error" Tags="|experience-profile|tracking|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10635" PostTypeId="1" CreationDate="2018-03-07T00:04:24.147" Score="2" ViewCount="1081" Body="&lt;p&gt;I'm trying to add multiple &lt;code&gt;PublishAgent&lt;/code&gt; as below but it resolved to only one &lt;code&gt;PublishAgent&lt;/code&gt; as visible in the &lt;code&gt;/ShowConfig.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;scheduling&amp;gt;&#xA;      &amp;lt;!-- Agent to publish to web database periodically --&amp;gt;&#xA;      &amp;lt;agent name=&quot;web&quot; type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:10&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;target database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;languages&quot;&amp;gt;en&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/agent&amp;gt;&#xA;&#xA;      &amp;lt;!-- Agent to publish to web database periodically --&amp;gt;&#xA;      &amp;lt;agent name=&quot;abc&quot; type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:20&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;target database&quot;&amp;gt;abc&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;languages&quot;&amp;gt;en&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/agent&amp;gt;&#xA;&#xA;      &amp;lt;!-- Agent to publish to web database periodically --&amp;gt;&#xA;      &amp;lt;agent name=&quot;pqr&quot; type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:30&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;target database&quot;&amp;gt;pqr&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;languages&quot;&amp;gt;en&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/agent&amp;gt;&#xA;&#xA;      &amp;lt;!-- Agent to publish to web database periodically --&amp;gt;&#xA;      &amp;lt;agent name=&quot;xyz&quot; type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:40&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;target database&quot;&amp;gt;xyz&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;languages&quot;&amp;gt;en&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/agent&amp;gt;&#xA;&#xA;      &amp;lt;!-- Agent to publish to web database periodically --&amp;gt;&#xA;      &amp;lt;agent name=&quot;def&quot; type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:50&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;target database&quot;&amp;gt;def&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;languages&quot;&amp;gt;en&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/agent&amp;gt;&#xA;&#xA;      &amp;lt;!-- Agent to publish to web database periodically --&amp;gt;&#xA;      &amp;lt;agent name=&quot;bac&quot; type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:60&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;target database&quot;&amp;gt;bac&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;languages&quot;&amp;gt;en&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/agent&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How to add multiple &lt;code&gt;PublishAgent&lt;/code&gt; agent using patch config?&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2018-03-07T00:04:24.147" Title="How to add multiple Publish Agent?" Tags="|publishing|scheduled-tasks|automation|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10636" PostTypeId="2" ParentId="10612" CreationDate="2018-03-07T07:30:00.903" Score="2" Body="&lt;p&gt;Received some help from Sitecore support and turns out there is a &quot;loggedin&quot; pipeline that gets called when logging in normally via /sitecore/login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Starting this pipeline after the &lt;code&gt;LoginVirtualUser()&lt;/code&gt; call, successfully authorises the client to access the Media Library Search bar: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private ActionResult VirtualLoginToSitecoreShell() {&#xA;    // set user properties and roles&#xA;    ...&#xA;&#xA;    AuthenticationManager.LoginVirtualUser(virtualUser);&#xA;&#xA;    // Make sure to start the Sitecore &quot;loggedin&quot; pipeline!&#xA;    LoggedInArgs loggedInArgs = new LoggedInArgs()&#xA;    {&#xA;        Username = username&#xA;        Persist = true&#xA;    };&#xA;    Assert.ResultNotNull(this.PipelineFactory.GetPipeline(&quot;loggedin&quot;), &quot;loggedin pipeline was not found&quot;)&#xA;        .Start(loggedInArgs);&#xA;&#xA;    return Response.Redirect(Sitecore.Constants.SitecoreShellPath);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you can see what the loggedin Sitecore pipeline calls from the Web.config under &lt;code&gt;&amp;lt;loggedin argsType=&quot;Sitecore.Pipelines.LoggedIn.LoggedInArgs&quot;&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3346" LastActivityDate="2018-03-07T07:30:00.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10637" PostTypeId="2" ParentId="10624" CreationDate="2018-03-07T07:35:47.010" Score="3" Body="&lt;p&gt;I have found answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add Webvisit into your interaction and specify SiteName there :)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Create a new web visit facet model&#xA;var webVisitFacet = new WebVisit();&#xA;&#xA;// Populate data about the web visit&#xA;webVisitFacet.Browser = new BrowserData() { BrowserMajorName = &quot;Chrome&quot;, BrowserMinorName = &quot;Desktop&quot;, BrowserVersion = &quot;22.0&quot; };&#xA;webVisitFacet.Language = &quot;en&quot;;&#xA;webVisitFacet.OperatingSystem = new OperatingSystemData() { Name = &quot;Windows&quot;, MajorVersion = &quot;10&quot;, MinorVersion = &quot;4&quot; };&#xA;webVisitFacet.Referrer = &quot;www.google.com&quot;;&#xA;webVisitFacet.Screen = new ScreenData() { ScreenHeight = 1080, ScreenWidth = 685 };&#xA;webVisitFacet.SearchKeywords = &quot;sitecore&quot;;&#xA;webVisitFacet.SiteName = &quot;website&quot;;&#xA;&#xA;...&#xA;...&#xA;&#xA;// Set web visit facet on interaction&#xA;client.SetWebVisit(webInteraction, webVisitFacet);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Take a look in below mentioned xConnect doc article for further details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/add-events.html#adding-a-pageviewevent-to-an-interaction&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/add-events.html#adding-a-pageviewevent-to-an-interaction&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-28T07:55:28.817" LastActivityDate="2018-03-28T07:55:28.817" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10638" PostTypeId="1" CreationDate="2018-03-07T08:58:17.177" Score="0" ViewCount="292" Body="&lt;p&gt;Very much a newbie question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a client that would like us to embed our product in a Sitecore website. They have the licence including a number of NonProd instances.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Can I use a non-prod licence in an Azure paas instance for staging?&lt;/li&gt;&#xA;&lt;li&gt;If I setup a local instance for development does that use up one of the NonProd licences?&lt;/li&gt;&#xA;&lt;li&gt;As I am not a certified developer is it possible for my client to obtain the &quot;Packages for XP Single&quot; to setup a local environment using SIF?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Fran&lt;/p&gt;&#xA;" OwnerUserId="3354" LastEditorUserId="2727" LastEditDate="2018-03-08T08:08:06.073" LastActivityDate="2018-03-08T12:35:05.607" Title="How does licencing work in Azure and local" Tags="|azure|licensing|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10640" PostTypeId="1" CreationDate="2018-03-07T11:47:14.663" Score="1" ViewCount="348" Body="&lt;p&gt;We are trying to personalize a component based on a Device Detection rule &lt;code&gt;where the query string matches value&lt;/code&gt;. &#xA;This is not working properly and below error is getting logged in Sitecore logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Any one faced this issue earlier?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ERROR Failed to get type of condition&#xA;Exception: System.ArgumentException&#xA;Message: GenericArguments[0], 'Sitecore.Rules.ConditionalRenderings.ConditionalRenderingsRuleContext', on 'Sitecore.Rules.Devices.QueryStringCondition`1[T]' violates the constraint of type 'T'.&#xA;Source: mscorlib&#xA;  at System.RuntimeType.ValidateGenericArguments(MemberInfo definition, RuntimeType[] genericArguments, Exception e)&#xA;  at System.RuntimeType.MakeGenericType(Type[] instantiation)&#xA;  at Sitecore.Reflection.ReflectionUtil.GetGenericType(String typeName, Type genericArgumentType)&#xA;  at Sitecore.Rules.DefaultRuleFactory.GetRuleCondition[T](Database database, XElement element)&#xA;Nested Exception:&#xA;Exception: System.TypeLoadException&#xA;Message: GenericArguments[0], 'Sitecore.Rules.ConditionalRenderings.ConditionalRenderingsRuleContext', on 'Sitecore.Rules.Devices.QueryStringCondition`1[T]' violates the constraint of type parameter 'T'.&#xA;Source: mscorlib&#xA;  at System.RuntimeTypeHandle.Instantiate(RuntimeTypeHandle handle, IntPtr* pInst, Int32 numGenericArgs, ObjectHandleOnStack type)&#xA;  at System.RuntimeTypeHandle.Instantiate(Type[] inst)&#xA;  at System.RuntimeType.MakeGenericType(Type[] instantiation)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="1289" LastEditorUserId="2727" LastEditDate="2018-03-20T08:10:24.690" LastActivityDate="2019-01-03T20:39:45.270" Title="Failed to get type of condition exception when applying personalization rule, based on QueryString" Tags="|personalization|rules-engine|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="10641" PostTypeId="1" AcceptedAnswerId="10646" CreationDate="2018-03-07T12:23:21.160" Score="5" ViewCount="908" Body="&lt;p&gt;Does Sitecore have an inbuilt mechanism to prevent DOM XSS &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A user should not be able to run &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://{url}/#&amp;lt;&gt;Script&gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;from the browser &lt;/p&gt;&#xA;&#xA;&lt;p&gt;what is the best practice to handle such scenarios? This cannot be handled on the server as text after '#' would not be passed onto the server&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have read about handling XSS attacks server side &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.akshaysura.com/2016/08/18/secure-sitecore-cross-site-scripting-xss-vulnerability-prevention/&quot; rel=&quot;noreferrer&quot;&gt;https://www.akshaysura.com/2016/08/18/secure-sitecore-cross-site-scripting-xss-vulnerability-prevention/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="1671" LastEditDate="2018-03-07T13:37:36.253" LastActivityDate="2018-03-08T06:56:00.337" Title="Prevent DOM XSS in Sitecore" Tags="|security|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10643" PostTypeId="1" CreationDate="2018-03-07T16:11:22.453" Score="2" ViewCount="1662" Body="&lt;p&gt;I am running Sitecore 9.update1 with Solr 6.6.2 and I am seeing lot of error in the IndexWorker logs in Sitecore xConnect as below&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt; System.Net.WebException: Unable to connect to the remote server ---&gt; System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it &lt;strong&gt;127.0.0.1:8983&lt;/strong&gt;&#xA;     at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)&#xA;     at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp;amp; socket, IPAddress&amp;amp; address, ConnectSocketState state, IAsyncResult asyncResult, Exception&amp;amp; exception)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&#xA;     at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at Sitecore.Xdb.Collection.Search.Solr.SolrClient.d__4.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at Sitecore.Xdb.Collection.Search.Solr.SolrRebuildStatusStorage.d__5.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at Sitecore.XConnect.Search.Indexer.IndexerHost.d__28.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Solr is running correctly at &lt;a href=&quot;https://localhost:8983/solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/&lt;/a&gt;, but when called from IndexWorker, the error described above will appear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For any advice, thank you JS&lt;/p&gt;&#xA;" OwnerUserId="1130" LastEditorUserId="2727" LastEditDate="2018-03-20T08:10:30.943" LastActivityDate="2019-03-19T09:09:13.963" Title="No connection could be made because the target machine actively refused it 127.0.0.1:8983 Error in the IndexWorker logs in Sitecore xConnect" Tags="|xconnect|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10646" PostTypeId="2" ParentId="10641" CreationDate="2018-03-08T06:56:00.337" Score="2" Body="&lt;p&gt;You can block those type of request directly from the router. To be able to do this, you will need to set it on WAF - Web Application Firewall.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A web application firewall (or WAF) filters, monitors, and blocks HTTP&#xA;  traffic to and from a web application. A WAF is differentiated from a&#xA;  regular firewall in that a WAF is able to filter the content of&#xA;  specific web applications while regular firewalls serve as a safety&#xA;  gate between servers. By inspecting HTTP traffic, it can prevent&#xA;  attacks stemming from web application security flaws, such as SQL&#xA;  injection, cross-site scripting (XSS), file inclusion, and security&#xA;  misconfigurations&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;More information can be found &lt;a href=&quot;https://en.wikipedia.org/wiki/Web_application_firewall&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On WAF, you can also add exception whereby you can allow some type of url which contains js script but this is not recommended.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-03-08T06:56:00.337" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10648" PostTypeId="2" ParentId="3447" CreationDate="2018-03-08T07:07:08.423" Score="9" Body="&lt;p&gt;1) Sitecore 9+ natively supports SAML through Federated Authentication.&#xA;You have to configure it and write your own provider.&#xA;These links will guide you through this process for Sitecore 9:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Usage in Sitecore - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/using_federated_authentication_with_sitecore&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/using_federated_authentication_with_sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Configuration in Sitecore - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/configure_federated_authentication&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/configure_federated_authentication&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Library to help you implement SAML (just reference it in your code) - &lt;a href=&quot;https://www.nuget.org/packages/Owin.Security.Saml/&quot; rel=&quot;noreferrer&quot;&gt;https://www.nuget.org/packages/Owin.Security.Saml/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Great blog posts on this topic to start with (with some more links inside to explore further :-):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.nikkipunjabi.com/2018/02/sitecore-federated-authentication-part-1-authentication-google-facebook-identity-providers.html&quot; rel=&quot;noreferrer&quot;&gt;http://blog.nikkipunjabi.com/2018/02/sitecore-federated-authentication-part-1-authentication-google-facebook-identity-providers.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-2-google-and-facebook-app-and-the-custom-processor.html&quot; rel=&quot;noreferrer&quot;&gt;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-2-google-and-facebook-app-and-the-custom-processor.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-3-sitecore-user-and-claims-identity.html&quot; rel=&quot;noreferrer&quot;&gt;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-3-sitecore-user-and-claims-identity.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://blogs.perficient.com/sitecore/2018/01/23/federated-authentication-sitecore-9-part-1-overview/&quot; rel=&quot;noreferrer&quot;&gt;https://blogs.perficient.com/sitecore/2018/01/23/federated-authentication-sitecore-9-part-1-overview/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://blogs.perficient.com/sitecore/2018/01/30/federated-authentication-sitecore-9-part-2-configuration/&quot; rel=&quot;noreferrer&quot;&gt;https://blogs.perficient.com/sitecore/2018/01/30/federated-authentication-sitecore-9-part-2-configuration/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://blogs.perficient.com/sitecore/2018/06/06/federated-authentication-in-sitecore-9-part-3-implementation-of-saml2p/&quot; rel=&quot;noreferrer&quot;&gt;https://blogs.perficient.com/sitecore/2018/06/06/federated-authentication-in-sitecore-9-part-3-implementation-of-saml2p/&lt;/a&gt; &lt;strong&gt;Note&lt;/strong&gt; - This one is especially useful for this question.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;2) Sitecore before version 9. Use solution provided in answers by @Bas Lijten or @Mark Cassidy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Explore also usage of &lt;a href=&quot;https://www.shibboleth.net/&quot; rel=&quot;noreferrer&quot;&gt;https://www.shibboleth.net/&lt;/a&gt; as your Claims SAML provider in this scenario. Take a look on this article to troubleshoot some known issues here -&gt; &lt;a href=&quot;http://jockstothecore.com/federated-authentication-with-shibboleth-2/&quot; rel=&quot;noreferrer&quot;&gt;http://jockstothecore.com/federated-authentication-with-shibboleth-2/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-06T17:06:15.430" LastActivityDate="2018-06-06T17:06:15.430" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10649" PostTypeId="2" ParentId="9899" CreationDate="2018-03-08T07:32:59.160" Score="5" Body="&lt;p&gt;You are using invalid claim names in your configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should use it this way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;map name=&quot;email claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA; &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;  &amp;lt;!--claim name--&amp;gt;&#xA;  &amp;lt;source name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&quot; /&amp;gt;&#xA;  &amp;lt;!--property name--&amp;gt;&#xA;  &amp;lt;target name=&quot;Email&quot; /&amp;gt;&#xA; &amp;lt;/data&amp;gt;&#xA;&amp;lt;/map&amp;gt;&#xA;&#xA;&amp;lt;map name=&quot;name claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA; &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;  &amp;lt;!--claim name--&amp;gt;&#xA;  &amp;lt;claim name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name&quot; /&amp;gt;&#xA;  &amp;lt;!--property name--&amp;gt;&#xA;  &amp;lt;target name=&quot;FullName&quot; /&amp;gt;&#xA; &amp;lt;/data&amp;gt;&#xA;&amp;lt;/map&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To have nicer names instead of some Gibberish, you should first transform name claim like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--Add Full Name Claim Transformation--&amp;gt;&#xA;&amp;lt;transformation name=&quot;name&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation,Sitecore.Owin.Authentication&quot;&amp;gt;&#xA; &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;        &amp;lt;claim name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name&quot; /&amp;gt;&#xA; &amp;lt;/sources&amp;gt;&#xA; &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;        &amp;lt;claim name=&quot;FullName&quot; /&amp;gt;&#xA; &amp;lt;/targets&amp;gt;&#xA;&amp;lt;/transformation&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then use it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;map name=&quot;name claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA; &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;  &amp;lt;!--claim name--&amp;gt;&#xA;  &amp;lt;source name=&quot;FullName&quot; /&amp;gt;&#xA;  &amp;lt;!--property name--&amp;gt;&#xA;  &amp;lt;target name=&quot;FullName&quot; /&amp;gt;&#xA; &amp;lt;/data&amp;gt;&#xA;&amp;lt;/map&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Take a look on series of blog posts by nikkipunjabi for further details:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.nikkipunjabi.com/2018/02/sitecore-federated-authentication-part-1-authentication-google-facebook-identity-providers.html&quot; rel=&quot;noreferrer&quot;&gt;http://blog.nikkipunjabi.com/2018/02/sitecore-federated-authentication-part-1-authentication-google-facebook-identity-providers.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-2-google-and-facebook-app-and-the-custom-processor.html&quot; rel=&quot;noreferrer&quot;&gt;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-2-google-and-facebook-app-and-the-custom-processor.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-3-sitecore-user-and-claims-identity.html&quot; rel=&quot;noreferrer&quot;&gt;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-3-sitecore-user-and-claims-identity.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-08T07:32:59.160" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10651" PostTypeId="1" AcceptedAnswerId="10654" CreationDate="2018-03-08T08:20:35.467" Score="5" ViewCount="1273" Body="&lt;p&gt;In one of the video from &quot;Search Driven&quot; module of Sitecore 9.0 Essential for Developers e-learning, the speaker says &quot;You can configure Sitecore to index everything but something or nothing but something&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone please guide me on how to configure &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;to index everything but something&lt;/li&gt;&#xA;&lt;li&gt;to index nothing but something?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2076" LastEditorUserId="2056" LastEditDate="2018-03-08T12:30:12.253" LastActivityDate="2018-03-11T19:18:57.450" Title="How to configure Sitecore to index &quot;everything but something&quot; or &quot;nothing but something&quot;?" Tags="|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10654" PostTypeId="2" ParentId="10651" CreationDate="2018-03-08T11:43:23.970" Score="5" Body="&lt;p&gt;Your question is referring to &lt;code&gt;IndexAllFields&lt;/code&gt; in default index configuration file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default it is set to &lt;code&gt;true&lt;/code&gt; which means it will index all fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are settings that you can use in combination with above mentioned one:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;lt;exclude&amp;gt;&lt;/code&gt; - Excludes items from the index based on template type. &#xA;Excludes specific fields from the index, if &lt;code&gt;IndexAllFields&lt;/code&gt; is set to&#xA;&lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;&amp;lt;include&amp;gt;&lt;/code&gt; - Includes items from the index based on template type, if&#xA;&lt;code&gt;IndexAllFields&lt;/code&gt; is set to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So to achieve mentioned scenarios in your question:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;to index everything but something not&lt;/strong&gt; - You need to have &lt;code&gt;IndexAllFields&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt; and in &lt;code&gt;&amp;lt;exclude&amp;gt;&lt;/code&gt; node you need to specify what won't be indexed &lt;em&gt;in default index configuration file&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;to index nothing but something yes&lt;/strong&gt; - You need to have &lt;code&gt;IndexAllFields&lt;/code&gt; set to &lt;code&gt;false&lt;/code&gt; and in &lt;code&gt;&amp;lt;include&amp;gt;&lt;/code&gt; node you need to specify what will be indexed &lt;em&gt;in default index configuration file&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More information can be found here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/the_search_and_indexing_configuration_files&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/the_search_and_indexing_configuration_files&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-11T19:18:57.450" LastActivityDate="2018-03-11T19:18:57.450" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10655" PostTypeId="2" ParentId="10638" CreationDate="2018-03-08T12:35:05.607" Score="2" Body="&lt;p&gt;Fran towards your questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You can use a NonProd Sitecore licence in Azure Paas instance.&lt;/li&gt;&#xA;&lt;li&gt;Your local development environment and all development servers containg Sitecore (for tests purposes or others) that are internal - can use the NonProd license.&lt;/li&gt;&#xA;&lt;li&gt;As answered by Kieranties - Sitecore cant't run without a licence file. You can use NonProd Client's one or if you have a partner licence.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I hope these will help you.&lt;/p&gt;&#xA;" OwnerUserId="2077" LastActivityDate="2018-03-08T12:35:05.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10656" PostTypeId="1" AcceptedAnswerId="16658" CreationDate="2018-03-08T12:48:41.040" Score="6" ViewCount="946" Body="&lt;p&gt;For Sitecore 6 to 8 on market place is a great tool to manage contacts/interactions from xDB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&lt;/a&gt; )&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This module is obsolete for Sitecore 9 because of xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does it exist for Sitecore 9 any tool/scripts to remove historical data        older than specified date using various filters?&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="73" LastEditDate="2018-03-10T10:23:44.033" LastActivityDate="2019-02-11T13:13:53.350" Title="Remove historical data from xDB Sitecore 9" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10657" PostTypeId="1" CreationDate="2018-03-08T12:58:07.793" Score="1" ViewCount="810" Body="&lt;p&gt;I have successfully configured Email cloud service in our environment by testing the connection of the Email manage root. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But upon testing by sending the email, I wasn't able to send an email and this issue has been encountered&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;The sender's email is invalid. This might prevent successful&#xA;  dispatch. Manage sending domains.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please help :)&lt;/p&gt;&#xA;" OwnerUserId="3365" LastEditorUserId="2890" LastEditDate="2018-03-08T15:08:23.237" LastActivityDate="2019-07-04T14:39:24.557" Title="Sender's email is invalid in Sitecore EXM" Tags="|exm|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10658" PostTypeId="2" ParentId="10588" CreationDate="2018-03-08T14:00:28.110" Score="4" Body="&lt;p&gt;Your issue appear because you have different values (or it doesn't exist) for EXM.CryptographicKey and EXM.AuthenticationKey settings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please add bellow settings into dispatch server connection string :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;EXM.CryptographicKey&quot; connectionString=&quot;yourCryptographicKeyfromCM&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;EXM.AuthenticationKey&quot; connectionString=&quot;yourAuthenticationKeyfromCM&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-03-08T14:00:28.110" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10660" PostTypeId="1" AcceptedAnswerId="10661" CreationDate="2018-03-08T15:03:32.057" Score="3" ViewCount="141" Body="&lt;p&gt;This is a follow-up question to the question asked here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8814/how-do-i-auto-start-my-commerce-minions&quot;&gt;How do I auto-start my Commerce Minions?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;startEnvironmentPipeline.Run(&quot;yourminion&quot;, _nodeContext.GetPipelineContextOptions());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In what format should I put the replacement for &quot;yourminion&quot;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the FullyQualifiedName from the minion policy and I have tried just the class name and something halfway between the two of them but all three gives an error when I start the Engine:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4 15:20:06 ERROR Core.block.LoadEnvironment.EnvironmentCouldNotBeFound: Environment=X&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(where X is whatever I used to replace &quot;yourminion&quot;)&lt;/p&gt;&#xA;" OwnerUserId="3366" LastEditorUserId="2727" LastEditDate="2018-03-13T17:38:02.033" LastActivityDate="2018-03-13T17:38:02.033" Title="What is the correct syntax to run the startEnvironmentPipeline?" Tags="|pipelines|sitecore-commerce|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10661" PostTypeId="2" ParentId="10660" CreationDate="2018-03-08T15:51:53.653" Score="4" Body="&lt;p&gt;You get this error because you need to use Environment name on &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; startEnvironmentPipeline.Run(&quot;EnvironmentName&quot;,_nodeContext.GetPipelineContextOptions());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;instead of FullyQualifiedName from the minion policy or the class name.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-03-08T15:51:53.653" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10662" PostTypeId="1" AcceptedAnswerId="10664" CreationDate="2018-03-08T16:05:28.423" Score="4" ViewCount="3433" Body="&lt;p&gt;In this code model, fields are returning value but when I try to render using @Html.Sitecore().Field its returning null.For experience editor, these fields should be editable.How to do it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am new to Sitecore any help or suggestion is much appreciated&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        @using Sitecore.Mvc&#xA;        @using Sitecore.Mvc.Presentation&#xA;        @using Sitecore.Data&#xA;&#xA;       @model Project.Service.Models.Model&#xA;      &amp;lt;div&amp;gt;&#xA;      &amp;lt;h1&amp;gt;@Html.Sitecore().Field(&quot;Property Name&quot;)&amp;lt;/h1&amp;gt;&#xA;&#xA;      &amp;lt;h4 class=&quot;text-danger&quot;&amp;gt;&amp;lt;em&amp;gt;&#xA;      &amp;lt;span itemprop=&quot;streetAddress&quot;&amp;gt; @Model.ProvinceName&amp;lt;/span&amp;gt;,&#xA;      &amp;lt;span itemprop=&quot;addressLocality&quot;&amp;gt;@Model.CityName&amp;lt;/span&amp;gt;,&#xA;      &amp;lt;span itemprop=&quot;addressRegion&quot;&amp;gt;@Model.ProvinceName&amp;lt;/span&amp;gt; &#xA;      @Model.PostalCode&amp;lt;/em&amp;gt;&amp;lt;/h4&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3368" LastEditorUserId="2727" LastEditDate="2018-03-09T16:37:54.930" LastActivityDate="2018-03-09T21:07:36.333" Title="@Html.Sitecore.Field is not rendering any values" Tags="|mvc|controller|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10663" PostTypeId="1" CreationDate="2018-03-08T16:48:53.867" Score="11" ViewCount="792" Body="&lt;p&gt;Is there any way (even if a hack) to do a comparison of two Sitecore content branches. I have an SXA solution where one site was cloned to create another, but I now want to merge some changes from the original to the new site. Something like Razl which could be fooled into comparing two different branches of the same instance would be perfect! ;-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One idea would be to serialize the two branches and then compare using WinMerge/BeyondCompare etc. Another idea could be to make packages of the two branches, extract those packages and compare the results.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2018-03-12T09:17:13.400" LastActivityDate="2018-03-12T15:41:10.413" Title="Compare two branches of a Sitecore content tree" Tags="|content-management|content-migration|razl|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10664" PostTypeId="2" ParentId="10662" CreationDate="2018-03-08T16:51:12.197" Score="10" Body="&lt;p&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;Property Name&quot;)&lt;/code&gt; only works when your model is &lt;code&gt;Sitecore.Mvc.Presentation.RenderingModel&lt;/code&gt;. You are using a custom model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use it in your case, you will need to pass in the item like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;Property Name&quot;, Item)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your case, you would need to pass in the datasource item. Your model would look like this, notice the InnerItem property and the EditableField property.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Project.Service.Models&#xA;{&#xA;    using Sitecore.Data.Items;&#xA;    using Sitecore.Mvc.Presentation;&#xA;&#xA;    public class Model&#xA;    {&#xA;        public string ProvinceName { get; set; }&#xA;        public string CityName { get; set; }&#xA;        public string PostalCode { get; set; }&#xA;        public Item InnerItem { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you data call would look like this, returning the model to your view&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Model GetModel()&#xA;{&#xA;    var datasourceItem = RenderingContext.Current.Rendering.Item;&#xA;    return new Model&#xA;    {&#xA;        ProvinceName = datasourceItem[&quot;Province Name&quot;],&#xA;        CityName = datasourceItem[&quot;City Name&quot;],&#xA;        PostalCode = datasourceItem[&quot;Postal Code&quot;],&#xA;        InnerItem = datasourceItem&#xA;    };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in your view you would get the Item from your model with the innerItem.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;City Name&quot;, Model.InnerItem)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-03-09T21:07:36.333" LastActivityDate="2018-03-09T21:07:36.333" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="10665" PostTypeId="2" ParentId="1424" CreationDate="2018-03-08T17:05:03.157" Score="2" Body="&lt;p&gt;The accepted answer is correct in &lt;em&gt;most&lt;/em&gt; scenarios. However, I have come across a unique one that it does not satisfy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Disclaimer: Avoid anything other than &lt;code&gt;ID&lt;/code&gt;'s for the datasource to save yourself a lot of headaches.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Workflow/Modular Content&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2016/09/05/sitecore-8-2-managing-datasource-components-and-workflow-from-the-experience-editor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Workflow bundling was added in version 8.2&lt;/a&gt;. This allows content authors to move dependent page content through a shared workflow without having to move each rendering/datasource individually. For example, if your page changes from &lt;strong&gt;Draft&lt;/strong&gt; to &lt;strong&gt;Staged&lt;/strong&gt;, any dependent datasource items will automatically be moved to &lt;strong&gt;Staged&lt;/strong&gt; as well. This is all courtesy of the new setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;WebEdit.AffectWorkflowForDatasourceItems&quot; value=&quot;true&quot; patch:source=&quot;Sitecore.ExperienceEditor.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After sorting through some Sitecore plumbing the following command is ultimately executed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;webedit:workflowwithdatasourceitems&quot; type=&quot;Sitecore.ExperienceEditor.WebEdit.Commands.WorkflowWithDatasourceItems, Sitecore.ExperienceEditor&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This command &lt;em&gt;does&lt;/em&gt; execute &lt;code&gt;Item.Visualization.GetRenderings()&lt;/code&gt;. This method runs the &lt;code&gt;resolveRenderingDatasource&lt;/code&gt; pipeline and &lt;em&gt;should&lt;/em&gt; return your datasources properly. The problem is that the &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; is null when executed from the &lt;code&gt;webedit:workflowwithdatasourceitems&lt;/code&gt; which means when it ultimately runs the &lt;code&gt;resolveRenderingDatasource&lt;/code&gt; pipeline- all of your queries will fail since you don't have a Context Item to reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thankfully, the fix is quite simple. Patch the &lt;code&gt;webedit:workflowwithdatasourceitems&lt;/code&gt; command and wrap with a &lt;code&gt;ContextItemSwitcher&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.ExperienceEditor.Utils;&#xA;using Sitecore.Workflows.Simple;&#xA;&#xA;namespace Common.CustomSitecore.Commands&#xA;{&#xA;    [Serializable]&#xA;    public class WorkflowWithDatasourceItems : Sitecore.Shell.Framework.Commands.Workflow&#xA;    {&#xA;        [UsedImplicitly]&#xA;        protected new void WorkflowCompleteCallback(WorkflowPipelineArgs args)&#xA;        {&#xA;            base.WorkflowCompleteCallback(args);&#xA;&#xA;            using (new ContextItemSwitcher(args.DataItem))&#xA;            {&#xA;                var definedDatasources = ItemUtility.GetItemsFromLayoutDefinedDatasources(args.DataItem, Context.Device, args.DataItem.Language);&#xA;                definedDatasources.AddRange(ItemUtility.GetPersonalizationRulesItems(args.DataItem, Context.Device, args.DataItem.Language));&#xA;                definedDatasources.AddRange(ItemUtility.GetTestItems(args.DataItem, Context.Device, args.DataItem.Language));&#xA;&#xA;                foreach (var filterSameItem in ItemUtility.FilterSameItems(definedDatasources))&#xA;                {&#xA;                    if (filterSameItem.Access.CanWrite() &amp;amp;&amp;amp; (!filterSameItem.Locking.IsLocked() || filterSameItem.Locking.HasLock()))&#xA;                        WorkflowUtility.ExecuteWorkflowCommandIfAvailable(filterSameItem, args.CommandItem, args.CommentFields);&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Patch&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;webedit:workflowwithdatasourceitems&quot; type=&quot;Sitecore.ExperienceEditor.WebEdit.Commands.WorkflowWithDatasourceItems, Sitecore.ExperienceEditor&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Common.CustomSitecore.Commands.WorkflowWithDatasourceItems, Common&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/command&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;AGAIN: Avoid anything other than &lt;code&gt;ID&lt;/code&gt;'s for the datasource to save yourself a lot of headaches.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-03-08T17:05:03.157" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10666" PostTypeId="2" ParentId="10663" CreationDate="2018-03-08T22:25:26.840" Score="15" Body="&lt;p&gt;You may be able to package up both paths of the content tree and use something like WinMerge or Kdiff to do a item by item comparison, which might be quick and dirty but may be hard to wade thru especially in instances of inherited fields. I usually like to see if I can use &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt; to complete potentially repeatable tasks like this.  You may or may not have SPE installed but in the event you might, this may help you:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;# Site 1 content path&#xA;$site1 = &quot;/sitecore/content/Sites/Site1&quot;&#xA;# Site 2 content path&#xA;$site2 = &quot;/sitecore/content/Sites/Site2&quot;&#xA;# Get site relative paths and IDs&#xA;$site1Desc = Get-ChildItem  -Path &quot;master:$site1&quot; -Recurse&#xA;$site1Lookup = $site1Desc | ForEach-Object { $lookup = @{} } { $lookup[$_.FullPath.Replace($site1, &quot;&quot;)] = $_.ID } { $lookup }&#xA;$site1LookupRel = $site1Desc | ForEach-Object { $objArr = @() } { &#xA;        $newObj = (New-Object -TypeName PSObject | Add-Member NoteProperty Name $_.Name -PassThru | Add-Member NoteProperty ID $_.ID -PassThru | Add-Member NoteProperty Path $_.FullPath.Replace($site1, &quot;&quot;) -PassThru)&#xA;        $objArr += $newObj&#xA;    } { $objArr }&#xA;&#xA;$site2Desc = Get-ChildItem  -Path &quot;master:$site2&quot; -Recurse&#xA;$site2Lookup = $site2Desc | ForEach-Object { $lookup = @{} } { $lookup[$_.FullPath.Replace($site2, &quot;&quot;)] = $_.ID } { $lookup }&#xA;$site2LookupRel = $site2Desc | ForEach-Object { $objArr = @() } { &#xA;        $newObj = (New-Object -TypeName PSObject | Add-Member NoteProperty Name $_.Name -PassThru | Add-Member NoteProperty ID $_.ID -PassThru | Add-Member NoteProperty Path $_.FullPath.Replace($site2, &quot;&quot;) -PassThru)&#xA;        $objArr += $newObj&#xA;    } { $objArr }&#xA;&#xA;# Compare lists of relative paths/items&#xA;$itemComparison = Compare-Object -ReferenceObject $site1LookupRel -DifferenceObject $site2LookupRel -Property Path -IncludeEqual&#xA;$matchingItems = $itemComparison | Where-Object { $_.SideIndicator -eq &quot;==&quot; } |Select-Object -Expand Path&#xA;$nonMatchingItems = $itemComparison | Where-Object { $_.SideIndicator -ne &quot;==&quot; } |Select-Object -Expand Path&#xA;Write-Host &quot; *** Matching Items *** &quot;&#xA;foreach($matchingItem in $matchingItems) {&#xA;    $site1MatchingItem = $null;&#xA;    $site2MatchingItem = $null;&#xA;    if($site1Lookup.Contains($matchingItem))&#xA;    {&#xA;        $site1MatchingItem = Get-Item -Path &quot;master:&quot; -ID $site1Lookup[$matchingItem]&#xA;    }&#xA;&#xA;    if($site2Lookup.Contains($matchingItem)){&#xA;        $site2MatchingItem = Get-Item -Path &quot;master:&quot; -ID $site2Lookup[$matchingItem]&#xA;    }&#xA;&#xA;    if($site1MatchingItem -ne $null -AND $site2MatchingItem -ne $null) {&#xA;       $site1ItemFieldValues = Get-ItemField -Item $site1MatchingItem -ReturnType Field -Name &quot;*&quot; | Where-Object {!$_.ContainsStandardValue}  | Select-Object -Property @{Name=&quot;SourceID&quot;; Expression={$site1MatchingItem.ID}},Name,Value &#xA;       $site2ItemFieldValues = Get-ItemField -Item $site2MatchingItem -ReturnType Field -Name &quot;*&quot; | Where-Object {!$_.ContainsStandardValue} | Select-Object -Property @{Name=&quot;SourceID&quot;; Expression={$site12MatchingItem.ID}},Name,Value &#xA;       if($site1ItemFieldValues -ne $null -AND $site2ItemFieldValues -ne $null){&#xA;           Write-Host &quot;$matchingItem does exist in both sites, comparing now - (&quot; $site1MatchingItem.ContentPath &quot; &amp;lt;=&amp;gt;&quot; $site2MatchingItem.ContentPath &quot;)&quot; -ForegroundColor Green&#xA;           $comparedItems = Compare-Object -ReferenceObject $site1ItemFieldValues -DifferenceObject $site2ItemFieldValues -Property Name,Value -IncludeEqual -PassThru&#xA;           $comparedItems | Format-Table -AutoSize&#xA;       }&#xA;       else{&#xA;           Write-Host &quot;$matchingItem does exist in both sites, but there is nothing to compare - (&quot; $site1MatchingItem.ContentPath &quot; &amp;lt;=&amp;gt;&quot; $site2MatchingItem.ContentPath &quot;)&quot; -ForegroundColor Green&#xA;       }&#xA;    }&#xA;}&#xA;Write-Host &quot; *** NonMatching Items *** &quot;&#xA;foreach($nonMatchingItem in $nonMatchingItems) {&#xA;    $site1MatchingItem = $null;&#xA;    $site2MatchingItem = $null;&#xA;    if($site1Lookup.Contains($nonMatchingItem))&#xA;    {&#xA;        $site1MatchingItem = Get-Item -Path &quot;master:&quot; -ID $site1Lookup[$nonMatchingItem]&#xA;    }&#xA;&#xA;    if($site2Lookup.Contains($nonMatchingItem)){&#xA;        $site2MatchingItem = Get-Item -Path &quot;master:&quot; -ID $site2Lookup[$nonMatchingItem]&#xA;    }&#xA;&#xA;    if($site1MatchingItem -ne $null -AND $site2MatchingItem -eq $null){&#xA;        Write-Host &quot;$nonMatchingItem exists in Site1 but not Site2 - (&quot; $site1MatchingItem.ContentPath &quot;)&quot; -ForegroundColor Yellow&#xA;    }&#xA;    elseif($site1MatchingItem -eq $null -AND $site2MatchingItem -ne $null){&#xA;        Write-Host &quot;$nonMatchingItem exists in Site2 but not Site1 - (&quot; $site2MatchingItem.ContentPath &quot;)&quot; -ForegroundColor Yellow&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above SPE script should grab all content under a &lt;code&gt;Site&lt;/code&gt; path and compare it to the other site by site relative paths (path underneath the site node itself).  If an item exists in one site and not the other it will show up in the bottom &lt;code&gt;nonMatchingItems&lt;/code&gt; and show up in yellow in the output.  If they &lt;em&gt;do&lt;/em&gt; match, it will show up green and will use the &lt;code&gt;Get-ItemField&lt;/code&gt; command to get the fields you specify (in this case &lt;code&gt;*&lt;/code&gt; is used to return all fields, in which we then filter based on &lt;code&gt;ContainsStandardValue&lt;/code&gt; to filter out items that are currently using &lt;code&gt;Standard Value&lt;/code&gt; values) and associated values. &#xA; It uses the Powershell &lt;code&gt;Compare-Object&lt;/code&gt; command output to a table to show you how the fields themselves compare.  Output should look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt; *** Matching Items ***&#xA;.....&#xA;/_content does exist in both sites, but there is nothing to compare - ( /Site1/_content  &amp;lt;=&amp;gt; /Site2/_content )&#xA;/_content/Country Landing Intro does exist in both sites, comparing now - ( /Site1/_content/Intro  &amp;lt;=&amp;gt; /Site2/_content/Intro )&#xA;&#xA;SourceID                               Name         Value  SideIndicator&#xA;--------                               -----        -----  -------------&#xA;{96892835-46BF-437A-8C9E-40B12EC58881} Image Is Map true   ==&#xA;{96892835-46BF-437A-8C9E-40B12EC58881} Is Header    true   =&amp;gt;&#xA;{98D165DB-25EA-4E80-B9A3-ABCC181A9FAF} Is Header    false  &amp;lt;=&#xA;&#xA;&#xA;/Cities does exist in both sites, but there is nothing to compare - ( /Site1/Cities  &amp;lt;=&amp;gt; /Site2/Cities )&#xA; *** NonMatching Items ***&#xA;/Cities/Second-Test exists in Site1 but not Site2 - ( /Site1/Cities/Second-Test )&#xA;/Cities/Second-Test/_content exists in Site1 but not Site2 - ( /Site1/Cities/Second-Test/_content )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should help as a starting point, I could see extending the matched item comparison (the &lt;code&gt;SideIndicator&lt;/code&gt; Value) to go into more detail on the exact field values that differ, but at least identifying which fields differ may help you in the current capacity.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Additional commentary &lt;a href=&quot;https://vandsh.github.io/sitecore/2018/03/08/spe-compare-content-branches.html&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="695" LastEditDate="2018-03-10T18:44:32.713" LastActivityDate="2018-03-10T18:44:32.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10667" PostTypeId="2" ParentId="1960" CreationDate="2018-03-09T01:23:38.547" Score="0" Body="&lt;p&gt;I guess it's better to run all definitions. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In Sitecore, go to Control Panel -&gt; Deploy Marketing Definitions.&lt;/li&gt;&#xA;&lt;li&gt;Select all.&lt;/li&gt;&#xA;&lt;li&gt;Click &quot;Deploy&quot;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;See official documentation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/deploy_marketing_definitions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/deploy_marketing_definitions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3371" LastActivityDate="2018-03-09T01:23:38.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10669" PostTypeId="2" ParentId="9419" CreationDate="2018-03-09T07:50:32.607" Score="0" Body="&lt;p&gt;Use latest version of Sitecore Installation Framework (SIF) 1.2 which is solving issue with certificate creation on Windows Server 2012 R2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See release notes here -&gt; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2012/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2012/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SIF 1.2 Download page -&gt; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/1x/Sitecore_Installation_Framework_12.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/1x/Sitecore_Installation_Framework_12.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-09T07:50:32.607" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10670" PostTypeId="2" ParentId="8785" CreationDate="2018-03-09T07:52:17.293" Score="0" Body="&lt;p&gt;Use latest version of Sitecore Installation Framework (SIF) 1.2 which is solving issue with certificate creation on Windows Server 2012 R2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See release notes here -&gt; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2012/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2012/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SIF 1.2 Download page -&gt; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/1x/Sitecore_Installation_Framework_12.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/1x/Sitecore_Installation_Framework_12.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-09T07:52:17.293" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10671" PostTypeId="2" ParentId="8270" CreationDate="2018-03-09T07:53:46.550" Score="1" Body="&lt;p&gt;Use latest version of Sitecore Installation Framework (SIF) 1.2 which is solving issue with certificate creation on Windows Server 2012 R2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See release notes here -&gt; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2012/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2012/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SIF 1.2 Download page -&gt; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/1x/Sitecore_Installation_Framework_12.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/1x/Sitecore_Installation_Framework_12.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-09T07:53:46.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10673" PostTypeId="2" ParentId="10626" CreationDate="2018-03-09T12:30:03.970" Score="1" Body="&lt;p&gt;After going through all the files in the package and checking the content of them I found the culprit. There was a file (Hi.UrlRewrite.Prefetch.Master.config) which references the master database which obviously doesn't exist on the CD server. Removing this file stopped the site dying and the redirects now work.&lt;/p&gt;&#xA;" OwnerUserId="3317" LastActivityDate="2018-03-09T12:30:03.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10674" PostTypeId="2" ParentId="10657" CreationDate="2018-03-09T13:31:21.537" Score="3" Body="&lt;p&gt;Please make sure that you've configured a sending domain as &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/reputation/add_or_edit_a_domain&quot; rel=&quot;nofollow noreferrer&quot;&gt;explained in the documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One major aspect of email delivery, and making sure your email campaigns end up in the inbox rather than the spam folder, is to establish a good sender reputation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the EXM Email Cloud provider, you don't need to worry about establishing a reputation, but you do need to configure a sending domain i.e. the domain corresponding to the FROM address you will be using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The documentation walks you through how do configure the sending domain, but it's worth noting here that you will need access to add a DNS entry in order to set up a DKIM record. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a side note, you do not need to set up SPF for your domain, as the return-path of the emails sent using the Email Cloud provider is &quot;spe.sitecoremail.com&quot;.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-03-09T13:31:21.537" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10676" PostTypeId="2" ParentId="10528" CreationDate="2018-03-09T14:19:19.987" Score="1" Body="&lt;p&gt;Please check if the OAuth token request URL (TokenRequestUri) is hard-coded as &lt;a href=&quot;https://login.salesforce.com/services/oauth2/token&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://login.salesforce.com/services/oauth2/token&lt;/a&gt; and if you are using a sandbox instance of Salesforce there are possibilities that the calls for the tokens are failing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A similar issue is reported and answered by Vasiliy Fomichev on &lt;a href=&quot;https://community.sitecore.net/developers/f/7/t/3135&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/7/t/3135&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-03-09T14:19:19.987" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10677" PostTypeId="1" AcceptedAnswerId="10678" CreationDate="2018-03-09T14:48:54.470" Score="6" ViewCount="1322" Body="&lt;p&gt;We are trying to get list of contacts programmatically in latest &lt;code&gt;Sitecore 9.0.1&lt;/code&gt;. We want to show list of contacts on pages based on their linkage to certain list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to get the same list of contacts that we can see in List Manager for either &lt;code&gt;Contact List&lt;/code&gt; or &lt;code&gt;Segmented List&lt;/code&gt; types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our aim is to get contacts for segmented lists in first place.&#xA;We have created couple of segmented lists that have only one rule and that goal has been triggered for that contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best would be to get list of contacts directly for defined segmented list but getting list of contacts where interaction with precise goal was trigger would do the trick also (as it would copy rule on segmented list).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no mentioning of this in documentation as far as I can see and decompiling Sitecore code was not helpful so far neither.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="73" LastEditDate="2018-03-10T10:23:37.007" LastActivityDate="2018-06-08T08:00:42.900" Title="Getting list of contacts assigned to Contact / Segmened List in Sitecore 9.0.1 programatically" Tags="|xconnect|list-manager|segmented-list|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10678" PostTypeId="2" ParentId="10677" CreationDate="2018-03-09T15:00:17.507" Score="5" Body="&lt;p&gt;Use the following example to get contacts from contact list:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid contactListId = Guid.NewGuid(); //Contact list Id&#xA;int batchSize = 200;&#xA;var expandOptions = &#xA;    new ContactExpandOptions(CollectionModel.FacetKeys.PersonalInformation);&#xA;var segmentationEngine = ServiceLocator.ServiceProvider&#xA;    .GetService&amp;lt;ISegmentationEngine&amp;gt;();&#xA;var listSubscriptionConditions = new ListSubscriptionMatches()&#xA;{&#xA;    ListId = contactListId&#xA;};&#xA;&#xA;var contacts = segmentationEngine&#xA;    .FindContacts(listSubscriptionConditions, batchSize, expandOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In order to get contacts from segmented list, first you should get referenced segment definitions and retrieve conditions from them:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactListProvider = ServiceLocator.ServiceProvider.GetService&amp;lt;IContactListProvider&amp;gt;();&#xA;var contactProvider = ServiceLocator.ServiceProvider.GetService&amp;lt;IContactProvider&amp;gt;();&#xA;var contactList = contactListProvider.Get(contactListId, cultureInfo);&#xA;&#xA;var segments = contactList.SegmentDefinitionIds&#xA;    .Select(id =&amp;gt; segmentManager.Get(id, cultureInfo));&#xA;var ruleConditions = segments.SelectMany(x =&amp;gt; x.Rules)&#xA;    .Select(x =&amp;gt; x.Condition);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then use conditions to build query and get contacts:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;int batchSize = 200;&#xA;var expandOptions = new ContactExpandOptions(CollectionModel.FacetKeys.PersonalInformation);&#xA;var contactSearchExpressionBuilder = ServiceLocator.ServiceProvider&#xA;    .GetService&amp;lt;IContactSearchExpressionBuilder&amp;gt;();&#xA;var segmentationEngine = ServiceLocator.ServiceProvider&#xA;    .GetService&amp;lt;ISegmentationEngine&amp;gt;();&#xA;&#xA;var contactSearchQuery = contactSearchExpressionBuilder.BuildQueryFactories(ruleConditions)&#xA;    .CombineUsingOr();&#xA;var contacts = segmentationEngine.FindContacts(contactSearchQuery, batchSize, expandOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add reference to &lt;strong&gt;Microsoft.Extensions.DependencyInjection;&lt;/strong&gt; to not get next error &quot;a non generic method cannot be used with type arguments&quot; in &lt;code&gt;ServiceLocator.ServiceProvider.GetService&amp;lt;IContactSearchExpressionBuilder&amp;gt;()&lt;/code&gt;; &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-06-08T03:33:48.677" LastActivityDate="2018-06-08T03:33:48.677" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="10679" PostTypeId="1" AcceptedAnswerId="10680" CreationDate="2018-03-09T15:30:38.503" Score="0" ViewCount="229" Body="&lt;p&gt;My WFFM form uses the same drop list of manual values 62 times. I'd much prefer to just create it once, and copy it the other 61 times, rather than building out the same drop list over and over again. Is there any way copy or duplicate an existing drop list in WFFM?&lt;/p&gt;&#xA;" OwnerUserId="3372" LastActivityDate="2018-03-09T17:45:42.367" Title="How to duplicate a form field in WFFM?" Tags="|wffm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10680" PostTypeId="2" ParentId="10679" CreationDate="2018-03-09T16:29:07.267" Score="6" Body="&lt;p&gt;Rather creating a manual drop list field multiple times, I would prefer to create an item repository somewhere in the content tree (Global location is preferable) with all possible Drop List values and on the drop list field in WFFM Form map the &lt;code&gt;Set Item by&lt;/code&gt; value to &lt;code&gt;Selecting Sitecore Items&lt;/code&gt; rather &lt;code&gt;Manual entering names&lt;/code&gt;. Thus you can reuse the same set of drop list values for any form you create.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create the set of possible values in drop down using specific user defined template:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bqKpX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bqKpX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Create a form and define a drop list field on it:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rSBun.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rSBun.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Navigate to ‘List’ section:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tpIq6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tpIq6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Open the ‘Set Items By’ drop list:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PCM5S.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PCM5S.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Select the ‘Selecting Sitecore Items’:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/delUN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/delUN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;6&quot;&gt;&#xA;&lt;li&gt;Click on Browse and choose the repository path from the content tree:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Oksid.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Oksid.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;7&quot;&gt;&#xA;&lt;li&gt;It will populate all the item created under that repository. You can differentiate between ‘Value’ and ‘Text’ property here:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/F89M2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F89M2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Once done, all the items created under the repository will be available on your form. Which you can either use on multiple forms or multiple times on same form:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: Make sure all the drop list values are published to web database.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 1: To duplicate a form field.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can navigate to the &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/&amp;lt;&amp;lt;&amp;lt;Your Form Path&amp;gt;&amp;gt;&amp;gt;&lt;/code&gt; and duplicate the fields listed under that form:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Disclaimer: I never practically tested this approach but since form&#xA;  field is also an Sitecore Item hence I am assuming it should work.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LFdlA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LFdlA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-03-09T17:45:42.367" LastActivityDate="2018-03-09T17:45:42.367" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10681" PostTypeId="1" AcceptedAnswerId="10786" CreationDate="2018-03-09T18:14:42.593" Score="7" ViewCount="616" Body="&lt;p&gt;We're setting up a QA environment in Azure PaaS and we're working to figure out the best way to publish things. The code seems to be easy with VS 2017, but we're trying to figure out how to get TDS working. We tend to use the &quot;sync with Sitecore&quot; feature to do our syncing, so I'd prefer to find a way to use that if at all possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does this involve using the NuGet packages that come with the TDS install, or is there another way to do it, or one that would be recommended and documented?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="848" LastEditDate="2018-07-04T12:41:50.697" LastActivityDate="2018-07-04T12:41:50.697" Title="Using TDS sync with Azure PaaS and Sitecore 9" Tags="|azure|tds|deployment|paas|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10682" PostTypeId="1" AcceptedAnswerId="10693" CreationDate="2018-03-09T19:51:51.993" Score="4" ViewCount="1730" Body="&lt;p&gt;Currently we are running Sitecore 8.1 Update 3 and planning for sitecore 9 Update-1 upgrade.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have following set up currently:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1 CM server&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1 Processing server&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4 CD server&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3 SolR/Zookeeper&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mongo hosted on mLab ( Database as a service )&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are planning to upgrade CM server first as we know we would need /installationwizard.aspx URL to install packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This process will update/add few config files in /App_Config folder. Once done we'll look at files in /App_Config folder by descending date and move/overwrite all to processing and CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it preferred option?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now because we are keeping code in bitbucket repository so all these new config updates should be there in bitbucket so that all team members can get latest Sitecore 9 config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should we update all config files by looking at line by line in project solution? This looks like really a time consuming process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below link says no MongoDB in Sitecore 9 If so what will happen with MongoDB data which is running right now.&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/9214/sitecore-9-xdb-support-for-mongodb&quot;&gt;Sitecore 9 xDB Support for MongoDB&lt;/a&gt;&#xA;Does this means mLab hosting provider will be out of picture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How does this migration happened. Do we need to set up new blank collection database on mLab hosting provider so that we can migrate data from xDB 8 to xDB 9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 3/21/2018&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per suggestion we are planning below approach&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Set up a new SQL 2016 server and migrate xDB data usingxDB Data Migration Tool 2.0.1&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use the upgrade packages to upgrade content databases( core,master,web ) as per Sitecore 9 upgrade guide.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Install a fresh instance of SC9 Update-1.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set the connection strings to upgraded databases.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Deploy custom code from existing installation(8.1 Update-3 ) into this new instance.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Apart from this application contains some code related to MongoDB as given below. Does that mean before we deploy custom code on new SC 9 instance we need to change whole code If so how do we know SC 9 compatible code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public OrderResponse GetSubmitOrderResponse()&#xA;{&#xA;            if (!Tracker.IsActive || Tracker.Current == null)&#xA;            {&#xA;                Tracker.StartTracking();&#xA;            }&#xA;            if (Tracker.Current.Contact.Attachments.ContainsKey(&quot;Order-Response&quot;))&#xA;            {&#xA;                return Tracker.Current.Contact.Attachments[&quot;Order-Response&quot;] as OrderResponse;&#xA;            }&#xA;            return null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Looks like moving to SC9 is big effort&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="605" LastEditDate="2018-03-21T17:23:43.230" LastActivityDate="2018-12-04T16:14:53.403" Title="Sitecore upgrade from 8.1 Update-3 to 9 Update-1" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10683" PostTypeId="1" CreationDate="2018-03-09T20:56:32.670" Score="2" ViewCount="2124" Body="&lt;p&gt;I was asked to implement a new page, Privacy Policy page, I decided to use Sitecore rather than create a whole new outside application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thus, I picked a similar page that content editors were using for textual content. At first I copied and pasted into the RTE but I could not press &quot;accept&quot; or even &quot;reject&quot;, so I truncated said document and found that I reached threshold. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, I also tried to type the content into the RTE, this time I was able to get more content to load, but I hit the threshold again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did some digging in the settings, not config files, to see if there is some setting on RTE, but I could not find anything. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone have a similar experience? &lt;/p&gt;&#xA;" OwnerUserId="1227" LastEditorUserId="2056" LastEditDate="2018-03-19T11:52:45.447" LastActivityDate="2018-03-19T12:15:36.723" Title="What is the allowed Max Length for a Rich Text Field on Sitecore 7.2?" Tags="|sitecore-client|richtext-editor|fieldtype|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10684" PostTypeId="1" CreationDate="2018-03-09T22:43:37.117" Score="0" ViewCount="463" Body="&lt;p&gt;We are having an issue getting any custom save action to fire from a form in the CD environment on Sitecore 8.2 Update 6.  There are no errors of any kind in the logs.  This is not an issue in our local development instances or the CM.  I suspect consequently this is a configuration issue particular to a CD environment (possibly something in the SwitchMasterToWeb.config).  If anyone has had a similar issue I would love to hear about it!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Module-wise aside from WFFM we are using the Powershell module and SXA, but nothing else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The basic signature of the class and custom save action are as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomFormSubmit : ISaveAction &#xA;{&#xA;&#xA;    public CustomFormSubmit()&#xA;    {&#xA;&#xA;    }&#xA;&#xA;    public void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;    {&#xA;        Process(adaptedFields);&#xA;    }&#xA;&#xA;    public FormSubmissionResponse Process(AdaptedResultList adaptedFields)&#xA;    {&#xA;        FormSubmissionResponse result = new FormSubmissionResponse&#xA;        {&#xA;            Data = &quot;Success&quot;,&#xA;            Status = &quot;200&quot;&#xA;        };&#xA;&#xA;        try&#xA;        { &#xA;&#xA;        }&#xA;        catch(Exception e)&#xA;        {&#xA;            result.Data = &quot;Error&quot;;&#xA;            result.Status = &quot;500&quot;;&#xA;            result.Message = e.Message;&#xA;        }&#xA;&#xA;        return result;&#xA;    }&#xA;&#xA;    public ID ActionID { get; set; }&#xA;&#xA;    public string UniqueKey { get; set; }&#xA;&#xA;    public ActionType ActionType { get; private set; }&#xA;&#xA;    public ActionState QueryState(ActionQueryContext queryContext)&#xA;    {&#xA;        return ActionState.Enabled;&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2289" LastEditorUserId="135" LastEditDate="2018-03-12T17:12:49.500" LastActivityDate="2018-03-12T17:12:49.500" Title="Sitecore 8.2 Update 6 WFFM custom save actions will not fire (they will in the CM)" Tags="|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10685" PostTypeId="1" CreationDate="2018-03-09T22:56:19.707" Score="2" ViewCount="521" Body="&lt;p&gt;I am looking for a way to get a WFFM field to be required only if another field has a certain value. If there is a way to make a WFFM field required on the fly through Javascript, that would work fine, but I don't know of a way. Additionally, while the rules engine allows me to select my condition (other field matches value), there is no rule to make the field required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of my thoughts was to create a custom rule then, to serve as the action, but the problem I'm running into there is, how would I make a WFFM field required on the fly in C#? Researched online and didn't find anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found a &lt;a href=&quot;https://soyouwannasitecore.wordpress.com/2016/10/27/sitecore-wffm-required-if-outlined/&quot; rel=&quot;nofollow noreferrer&quot;&gt;resource&lt;/a&gt; that matched my exact scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If contact method selected is Phone, make the Phone field required&lt;/li&gt;&#xA;&lt;li&gt;If contact method selected is Email, make the Email field required&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;... but I don't understand it. I don't understand which part of the code is actually making the Contact Preference field required. Additionally, the code has some problems and I can't get it to build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.0 with WFFM (unknown version).&lt;/p&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="1344" LastEditDate="2018-03-12T15:13:07.147" LastActivityDate="2018-03-12T17:02:35.997" Title="Make WFFM field required based on the value of another field" Tags="|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10686" PostTypeId="2" ParentId="10514" CreationDate="2018-03-09T23:19:43.430" Score="9" Body="&lt;p&gt;Here is the answer my Sitecore community. Thanks to Sitecore Support!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wrong Forms folder ID. Somewhere along the check-in source control travels someone must have deleted the original Forms folder, and then created a new Forms folder with a different ID. Because of this one simple change by a developer the Forms Designer was now rendered useless and ineffective. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution to this issue is this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Do NOT delete the Forms folder and create a new one if you don’t need&#xA;to!&lt;/li&gt;&#xA;&lt;li&gt;If you do delete the Forms folder, get it from another instance&#xA;of Sitecore 9.&lt;/li&gt;&#xA;&lt;li&gt;If for some reason you want to run with a Forms folder&#xA;with a different ID then you must change to this ID for your new&#xA;Forms folder in the Root field of these items below in the Core&#xA;database: SearchConfig: {60F35FD9-88CB-4DF5-8E78-1E9BF5FE181C}&#xA;AllFormsSearchConfig: {A7C51A03-028A-4414-98DF-116DFAEAE5A6}&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My recommendation is to NOT opt for #3 as this will get away from you, and your client down the road unless you document it, keep for future reference, and refer to for future upgrades. Ain’t nobody got time for that! Just opt to get on Slack and ask someone for the OOTB Forms folder item in a package, move all your forms into the correct OOTB Forms folder and you are all set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoresandbox.com/2018/03/09/there-are-no-forms-to-display-in-sitecore-9-forms-designer/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoresandbox.com/2018/03/09/there-are-no-forms-to-display-in-sitecore-9-forms-designer/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="1997" LastEditDate="2018-11-29T19:49:13.953" LastActivityDate="2018-11-29T19:49:13.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10688" PostTypeId="1" CreationDate="2018-03-10T08:18:56.980" Score="1" ViewCount="221" Body="&lt;p&gt;During the upgrade from Sitecore 7 version 130424 to version 130918, it broke our solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After investigation, we found that our code is using &quot;PredicateBuilder&quot; class to create search queries. And found that it is missing in new Sitecore.ContentSearch.dll in this version and is throwing the error. Any help will be helpful.&lt;/p&gt;&#xA;" OwnerUserId="3375" LastEditorUserId="607" LastEditDate="2018-03-10T08:21:59.043" LastActivityDate="2018-03-10T08:21:59.043" Title="Code broke due to missing PredicateBuilder assembly after upgrade to Sitecore 7 version 130918" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10689" PostTypeId="2" ParentId="10688" CreationDate="2018-03-10T08:21:24.310" Score="2" Body="&lt;p&gt;We had this problem also in one of projects long time back. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what we have done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PredicateBuilder class has been moved into Sitecore.ContentSearch.Linq.Utilities namespace(from Sitecore.ContentSearch.Utilities) in this version and so you need to include &quot;Sitecore.ContentSearch.Linq.dll&quot; in project and hopefully this will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, here is the Sitecore.ContentSearch.Linq assembly&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ED9Vv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ED9Vv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2018-03-10T08:21:24.310" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10690" PostTypeId="1" AcceptedAnswerId="10695" CreationDate="2018-03-10T09:29:49.140" Score="0" ViewCount="1413" Body="&lt;p&gt;While accessing the link on website got the below error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Description: An unhandled exception occurred. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt; &#xA;&#xA;Exception Details: System.InvalidOperationException: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'SLB.Entities.PrivateCommunity.PrivateCommunityFAQModel'.&#xA;&#xA;Source Error: &#xA;&#xA;Line 81:         &#xA;Line 82:             &#xA;Line 83:                 @Html.Sitecore().Placeholder(&quot;PrivateCommunityFAQs&quot;)&#xA;Line 84:             &#xA;Line 85:             &#xA;&#xA;Source File: p:\Inetpub\sitehome\Views\Communities\Resources.cshtml    Line: 83 &#xA;&#xA;Stack Trace: &#xA;&#xA;[InvalidOperationException: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'SLB.Entities.PrivateCommunity.PrivateCommunityFAQModel'.]&#xA;   System.Web.Mvc.ViewDataDictionary`1.SetModel(Object value) +214&#xA;   System.Web.Mvc.ViewDataDictionary..ctor(ViewDataDictionary dictionary) +155&#xA;   System.Web.Mvc.WebViewPage`1.SetViewData(ViewDataDictionary viewData) +78&#xA;   System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +137&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +137&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/Views/Communities/FAQs.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +148&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +75&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +193&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +184&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +193&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +259&#xA;   ASP._Page_Views_Communities_Resources_cshtml.Execute() in p:\WebApp\Website\Views\Communities\Resources.cshtml:83&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +137&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/Views/Communities/Resources.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +148&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +75&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +193&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +184&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +193&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +259&#xA;   ASP._Page_Views_Shared_Home_cshtml.Execute() in p:\WebApp\Website\Views\Shared\Home.cshtml:269&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +137&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +343&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/Views/Shared/Home.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +826&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +148&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +75&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +193&#xA;   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +302&#xA;   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +90&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81&#xA;   System.Web.Mvc.Async.c__DisplayClass21.b__1e(IAsyncResult asyncResult) +37&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="2727" LastEditDate="2018-03-13T18:02:45.577" LastActivityDate="2018-03-13T18:02:45.577" Title="The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel' but this dictionary requires a model item of type" Tags="|presentation|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10691" PostTypeId="2" ParentId="9941" CreationDate="2018-03-10T10:29:59.747" Score="1" Body="&lt;h3&gt;This is expected behaviour.&lt;/h3&gt;&#xA;&lt;p&gt;The reason you do not have a &lt;code&gt;Context.Site&lt;/code&gt; (or any context for that matter) is, that you are not in a Sitecore page execution context.&lt;/p&gt;&#xA;&lt;p&gt;The very short explanation is; Sitecore will build up the &lt;code&gt;Context&lt;/code&gt; as part of the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline which is only fired - which makes sense I hope - when a HttpRequest begins.&lt;/p&gt;&#xA;&lt;p&gt;In your case, your code is triggered by .NET in form of a &lt;code&gt;FileSystemWatcher&lt;/code&gt; event. Not a page request. Under these circumstances, your code cannot rely on any page execution context, and must be able to execute without it.&lt;/p&gt;&#xA;&lt;p&gt;The LinkProvider in question should fail gracefully without a context site.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-03-10T10:29:59.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10693" PostTypeId="2" ParentId="10682" CreationDate="2018-03-10T21:14:16.270" Score="1" Body="&lt;p&gt;it is difficult to answer your question completely, but I'll do my best.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not recommend the approach you have here, lots of things can go wrong. For instance, the config files should not be the same on your CDs and processing.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Configuration Files&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9 configuration has changed quite a bit and now uses configuration layers and configuration rules for specifying roles. Your best bet is to make sure that your own config changes are isolated in separate config patches and not in the core Sitecore config files. There are a lot of blogs on how to do this, but typical first step is to compare against a clean install of the same current version and see what you have changed and create patch installs from that. The Upgrade package will also try to do this for you, if you'd rather use it to find these changes for you.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;New Installation vs In-Place upgrade&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You likely want execute new installations for your target Sitecore installations and point at your upgraded content databases and xDB databases. With the new XP Services and such, you could go about tweaking the default install scripts, but it may be easier to just setup the infrastructure completely from scratch and point to dbs.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Upgrading DBs and xDB on SQL Server&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can run the upgrade to upgrade your content database and run the XDB migration tool to convert your xDB data from Mongo to SQL Server. You will no longer need mLab at this point and can use your standard SQL Server hosting. If you would prefer to use Mongo, you will need to wait for an update of Sitecore 9 which supports Mongo for the xDB.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-03-10T21:14:16.270" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="10694" PostTypeId="2" ParentId="544" CreationDate="2018-03-10T23:21:08.757" Score="8" Body="&lt;h2&gt;Answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;All databases have an &lt;code&gt;[EventQueue]&lt;/code&gt; in order to help spread out responsibilities and reduce the load on a particular database.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Explanation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;[EventQueue]&lt;/code&gt; table exists as a means of communication among all web servers that connect to it. One web server can queue an event in any database it has access to. This event is then read by any other web server in a cluster that also has access to the same database. Most typically, this is the System Event Queue. Which is defined in the config as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/eventing/providers/sitecore[systemDatabaseName]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The System Event Queue is special for a few reasons:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore makes the assumption that all web servers in a cluster can connect to this database&lt;/li&gt;&#xA;&lt;li&gt;Sitecore assumes all web servers in a cluster have the same database set as the &lt;code&gt;systemDatabase&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Queuing a &lt;code&gt;RemoteEvent&lt;/code&gt; via &lt;code&gt;EventManager&lt;/code&gt; uses the &lt;code&gt;systemDatabase&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Eventing.EventManager.QueueEvent(TEvent event);&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;While the System Event Queue is just a bit &lt;em&gt;special&lt;/em&gt;, it still gets processed the same as the other databases. Also, please note, the System Event Queue, i.e. the &lt;strong&gt;Core&lt;/strong&gt; database will often hold significantly more records than the other databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All web servers poll the &lt;code&gt;[EventQueue]&lt;/code&gt; table of &lt;strong&gt;all&lt;/strong&gt; &quot;Sitecore Databases&quot; (&lt;code&gt;Factory.GetDatabases()&lt;/code&gt;) they connect to for new &lt;code&gt;RemoteEvents&lt;/code&gt;, not &lt;em&gt;just&lt;/em&gt; the System Event Queue. Therefore, the following statement is true in many scenarios:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A CD server polls both &lt;strong&gt;Core&lt;/strong&gt; and &lt;strong&gt;Web&lt;/strong&gt;, whereas a CM server &#xA;  polls &lt;strong&gt;Core&lt;/strong&gt;, &lt;strong&gt;Master&lt;/strong&gt; &lt;em&gt;and&lt;/em&gt; &lt;strong&gt;Web&lt;/strong&gt;. Specifically, it executes the&#xA;  following pseudo-query each time:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Find all new events where (the InstanceName is equal to my InstanceName and the event is set to RaiseLocally OR the InstanceName is not equal to my InstanceName and the event is set to RaiseGlobally)&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.geekhive.com/buzz/post/2018/02/sitecore-event-queue-visual-diagram/&quot; rel=&quot;noreferrer&quot;&gt;I have a thorough post including an animation&lt;/a&gt; of an example &lt;code&gt;[EventQueue]&lt;/code&gt;. Per this post- know that the animation will occur simultaneously for all databases that a web server has a connection to.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Common Misconceptions&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Remote Events vs &lt;em&gt;Local&lt;/em&gt; Events&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;[EventQueue]&lt;/code&gt; only operates with &lt;code&gt;RemoteEvents&lt;/code&gt;. It does not require knowledge of &lt;em&gt;local&lt;/em&gt; events such as &lt;code&gt;publish:end:remote&lt;/code&gt;. While the &lt;code&gt;publish:end:remote&lt;/code&gt; handlers do execute, the process for getting there makes a few hops.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take the following example: A content author executes a publish from a CM server. The publish process completes and the &lt;strong&gt;web&lt;/strong&gt; database has a new &lt;code&gt;RemoteEvent&lt;/code&gt; queued up:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Eventing.Remote.PublishEndRemoteEvent&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the raw data passed is (as an example):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;&quot;CompareRevisions&quot;:false,&#xA;&quot;Deep&quot;:true,&#xA;&quot;FromDate&quot;:&quot;\/Date(1515701069888)\/&quot;,&#xA;&quot;LanguageName&quot;:&quot;en-GB&quot;,&#xA;&quot;Mode&quot;:3,&#xA;&quot;PublishDate&quot;:&quot;\/Date(1520448918977)\/&quot;,&#xA;&quot;PublishingTargets&quot;:[&quot;{8E080626-DDC3-4EF4-A1D1-F0BE4A200254}&quot;],&#xA;&quot;RepublishAll&quot;:false,&#xA;&quot;RootItemId&quot;:&quot;651c7676-dcbd-49f6-a1b7-b9d31e4c6747&quot;,&#xA;&quot;SourceDatabaseName&quot;:&quot;master&quot;,&#xA;&quot;TargetDatabaseName&quot;:&quot;web&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that this is a fully qualified type with data. The &lt;code&gt;[EventQueue]&lt;/code&gt; intrinsically has no idea what &lt;code&gt;publish:end:remote&lt;/code&gt; is- it only operates on a set of defined types that are mapped to methods. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;During app start (&lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt;)- the &lt;code&gt;Sitecore.Eventing.Remote.PublishEndRemoteEvent&lt;/code&gt; type is mapped to a method- this method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Eventing.Remote.RemoteEventMap -&amp;gt; SetupRemoteEventSubscribers()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sets up:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private static void OnPublishEndRemoteEvent(PublishEndRemoteEvent @event)&#xA;    {&#xA;      Assert.ArgumentNotNull((object) @event, nameof (@event));&#xA;      Event.RaiseEvent(&quot;publish:end:remote&quot;, (IPassNativeEventArgs) new PublishEndRemoteEventArgs(@event));&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that this is what raises the &lt;em&gt;local event&lt;/em&gt; &lt;code&gt;publish:end:remote&lt;/code&gt; and processes the data that is included with the queued event. &lt;code&gt;publish:end:remote&lt;/code&gt; by itself is simply a naming convention and does not imply that an event has to be executed on a remote server.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Side Note: You could also &lt;em&gt;Subscribe&lt;/em&gt; to the&#xA;  &lt;code&gt;Sitecore.Eventing.Remote.PublishEndRemoteEvent&lt;/code&gt;, which would provide&#xA;  you with the raw publish data, instead of the filtered version that is&#xA;  passed to the &lt;code&gt;publish:end:remote&lt;/code&gt; local event. Which fundamentally does the same thing as adding a handler to the &lt;code&gt;publish:end:remote&lt;/code&gt; section.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;For an excellent explanation of a local event vs a &lt;code&gt;RemoteEvent&lt;/code&gt;, view this thorough write-up on the &lt;a href=&quot;https://sitecore-community.github.io/docs/pipelines-and-events/events/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Community GitHub&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;[EventQueue]&lt;/code&gt; as a unit, thinks like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Once a record is added to the &lt;code&gt;[EventQueue]&lt;/code&gt; with a type of&#xA;  &lt;code&gt;Sitecore.Eventing.Remote.PublishEndRemoteEvent&lt;/code&gt;, execute the method&#xA;  &lt;code&gt;OnPublishEndRemoteEvent&lt;/code&gt; and pass to this method the data included in&#xA;  the &lt;code&gt;[EventQueue]&lt;/code&gt; record.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-03-11T12:05:57.773" LastActivityDate="2018-03-11T12:05:57.773" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10695" PostTypeId="2" ParentId="10690" CreationDate="2018-03-10T23:47:08.730" Score="1" Body="&lt;p&gt;This standard MVC error says that the strongly typed view &lt;em&gt;/Views/Communities/FAQs.cshtml&lt;/em&gt; does not match the model passed to it. Here is a full answer on your question &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/109&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/109&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="147" LastActivityDate="2018-03-10T23:47:08.730" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10699" PostTypeId="1" CreationDate="2018-03-11T09:48:51.943" Score="-3" ViewCount="418" Body="&lt;p&gt;Can someone suggest when should I choose Mongo and not default SQL for xDB with Sitecore 9 update 1?&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2018-03-11T11:01:18.100" Title="Sitecore 9 update 1: when to choose Mongo not SQL for xDB?" Tags="|xdb|" AnswerCount="2" CommentCount="0" ClosedDate="2018-03-12T10:28:32.067" ContentLicense="CC BY-SA 3.0" />
  <row Id="10700" PostTypeId="2" ParentId="10699" CreationDate="2018-03-11T09:55:43.693" Score="4" Body="&lt;p&gt;You should never choose MongoDB for xDB in Sitecore 9 Update 1, because the only supported xDB provider is SQL (either SQL Server or SQL Azure).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the &lt;a href=&quot;https://dev.sitecore.net/~/media/1E934A0DB5534F2CB1D98A0F4000B25C.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Installation Guide&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore XP 9.0 Update 1 does not currently support MongoDB or Oracle databases for the Experience&#xA;  Database (xDB). Support will be added in future versions of Sitecore.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="104" LastActivityDate="2018-03-11T09:55:43.693" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10701" PostTypeId="2" ParentId="10699" CreationDate="2018-03-11T11:01:18.100" Score="0" Body="&lt;p&gt;I just referred the Sitecore 9 update 1 installation guide (Installation-Guide-Sitecore-90-Update-1.pdf) which clealy says &quot;Sitecore XP 9.0 Update 1 does not currently support MongoDB or Oracle databases for the Experience Database (xDB). Support will be added in future versions of Sitecore.&quot;. &lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2018-03-11T11:01:18.100" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10702" PostTypeId="2" ParentId="8793" CreationDate="2018-03-11T19:17:35.563" Score="1" Body="&lt;p&gt;Neither Sitecore 9 nor Sitecore 9 Update 1 support Mongo for XConnect. Your only choice is SQL Server or Azure SQL. As you use Sitecore 7.2 I would definitely go and migrate to as of now latest version - Sitecore 9 Update 1. I would say it is even better as you don't need to introduce Mongo DB in your landscape and can work only with SQL Server as client is already used to with Sitecore 7.2. I would definetely contact Sitecore Sales representative to find help for you. Take a look on Express Migration Tool 3.1 -&gt; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/31/Express_Migration_Tool_31.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool/31/Express_Migration_Tool_31.aspx&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If components in solution are still Webforms based, I would definitely consider converting them to MVC as part of this migration process or at least as next step. Maybe not as big bang (all at ones) but one by one. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also use nuget packages in project instead of referencing dlls in lib folder as I would expect is used in solution. This was common thing back in those days :).&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-11T19:17:35.563" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10703" PostTypeId="2" ParentId="8590" CreationDate="2018-03-11T19:33:21.913" Score="1" Body="&lt;p&gt;In my case the user &quot;sa&quot; was locked out. I had to unlock it in SSMS. Expand the server =&gt; Security =&gt; Logins =&gt; &quot;sa&quot;, rightclick =&gt; &quot;properties&quot; =&gt; &quot;status&quot; =&gt; Uncheck &quot;login is locked out&quot;&lt;/p&gt;&#xA;" OwnerUserId="1503" LastEditorUserId="1503" LastEditDate="2018-03-11T19:51:51.813" LastActivityDate="2018-03-11T19:51:51.813" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10704" PostTypeId="2" ParentId="546" CreationDate="2018-03-11T20:46:04.993" Score="6" Body="&lt;p&gt;In order to be 100% sure that a particular event was processed by &lt;em&gt;all&lt;/em&gt; servers, you would need to write a rather complex query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To illustrate, I've written a query to return all events processed by a &lt;em&gt;single&lt;/em&gt; web server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT *&#xA;  FROM [EventQueue]&#xA;  where [Stamp] &amp;lt;= (&#xA;    select Cast(CONVERT(nvarchar(100), [Value]) as int) from [Properties] where [Key] = 'EQSTAMP_WEBSERVERINSTANCENAME'&#xA;  )&#xA;  order by [Created] desc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note the &lt;code&gt;&amp;lt;=&lt;/code&gt;. If an event was processed by a web server, the&#xA;  &lt;code&gt;[Stamp]&lt;/code&gt; value stored in the &lt;code&gt;[Properties]&lt;/code&gt; table will be equal to&#xA;  that event, therefore this query gives the most up-to-date processed events.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Since an event can be processed by any number of connecting web servers, there is no guarantee from this query that all web servers have processed these same events. Therefore, &lt;em&gt;do not perform a delete&lt;/em&gt; using this query.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get the &lt;em&gt;full&lt;/em&gt; list of processed events would require some SQL magic. You would need to pass in the full set of web server InstanceNames in a cluster and do a join of the results of the query above, but with all InstanceNames. Even then, it would not be 100% accurate for a number of reasons. There are many legitimate reasons for the &lt;code&gt;[Properties]&lt;/code&gt; table to show a different EQSTAMP Value for different InstanceNames:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Different App Start times&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The EventProvider is initialized on app start. By default, it begins polling the EventQueue every 2 seconds. It is quite likely that various CD servers, for example, were started up at different times, therefore their polling times will differ. If the 2 second queue time is increased to 1 min+ the difference would be even more noticeable.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Different Event Types&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Events can be set to &lt;code&gt;runGlobally&lt;/code&gt; or &lt;code&gt;runLocally&lt;/code&gt;. This determines if a server is &lt;em&gt;supposed&lt;/em&gt; to execute an event. In normal operation, it would be entirely legitimate for a CM instance name to have a different value in the &lt;code&gt;EQSTAMP&lt;/code&gt; field than two related CD servers simply because they are responsible for executing different events.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Old Instance Names&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Whether it is caused by migrating databases or messing with the &lt;code&gt;ScalabilitySettings.config &amp;gt; InstanceName&lt;/code&gt;- the &lt;code&gt;[Properties]&lt;/code&gt; table keeps a record of &lt;em&gt;every&lt;/em&gt; web server that has ever connected to it. This can cause you to receive more results than expected if you run a query such as: &lt;code&gt;SELECT * FROM [Properties] where [Key] like 'EQSTAMP%'&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In my opinion, there are simply too many variables to consider when removing events, which is why Sitecore chooses to remove old events based on a time interval. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Maintenance Window Tip&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The time interval for Event Queue clean up should be considered during any maintenance window. When a web server is taken offline, obviously all processing of events ceases. As soon as it is turned back online and the &lt;code&gt;EventProvider&lt;/code&gt; is initialized, it will resume processing events from where it last ended based on it's &lt;code&gt;EQSTAMP&lt;/code&gt; value. It will process events from bottom to top- this can lead to very long initialization times in Sitecore as it churns through all new events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, if you had an aggressive EventQueue cleanup interval, of say 1 hour, then you could not turn a server off for longer than 1 hour. If a web server &lt;em&gt;did&lt;/em&gt; go offline for longer than an hour, then you could not be confident that it is in the same state as a server that remained online the entire time.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-03-11T20:51:15.533" LastActivityDate="2018-03-11T20:51:15.533" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10705" PostTypeId="2" ParentId="4687" CreationDate="2018-03-12T00:00:41.487" Score="0" Body="&lt;p&gt;Please look at your log file.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;There may be many scenarios:&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scenario 1 (I was facing this issue): Social Media is disabled in your&lt;/strong&gt; configuration file but related items do exist in CORE database.&lt;BR/&gt;&lt;BR/&gt;&#xA;ERROR: Error processing command url:/-/speak/request/v1/expeditor/ExperienceEditor.Social.SocialCenter.GetMessagesCount error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/ExperienceEditor.Social.SocialCenter.GetMessagesCount at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context) at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)&#xA;Solution: Remove these two items from CORE DB:&#xA;&lt;BR/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&#xA;Remove these two items from CORE DB:&#xA;•   /sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Page Editor/Social&#xA;•   /sitecore/content/Applications/Content Editor/Ribbons/Chunks/Social&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&#xA;&lt;strong&gt;Scenario 2:&lt;/strong&gt; URL Rewrite issue with SPEAK request&#xA;&lt;br/&gt;&#xA;ERROR Error processing command url:/-/speak/request/v1/expeditor/optimization.activeitemtest error:System.InvalidOperationException: Could not retrieve request class for url:/-/speak/request/v1/expeditor/optimization.activeitemtest&#xA;&lt;br/&gt;&lt;br/&gt;&#xA;&lt;strong&gt;Solution:&lt;/strong&gt; Well explained in given blog (However, this was not the problem I was facing).&#xA;&lt;a href=&quot;https://codeandnuts.wordpress.com/2017/04/19/sitecore-experience-editor-issue-a-serious-error-occurred-please-contact-the-administrator/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://codeandnuts.wordpress.com/2017/04/19/sitecore-experience-editor-issue-a-serious-error-occurred-please-contact-the-administrator/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2644" LastActivityDate="2018-03-12T00:00:41.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10706" PostTypeId="1" AcceptedAnswerId="10707" CreationDate="2018-03-12T02:10:19.673" Score="1" ViewCount="201" Body="&lt;p&gt;In Sitecore 9, does Federated Authentication improve the performance limitations for persistent users? It appears to wrap around .NET Membership, which is the same as previous versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Credit goes to Jeroen de Groot for the question)&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2018-03-12T02:14:18.733" LastActivityDate="2018-09-19T18:19:53.060" Title="Does Federated Authentication improve persistent user performance?" Tags="|performance|federated-authentication|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10707" PostTypeId="2" ParentId="10706" CreationDate="2018-03-12T02:13:25.697" Score="2" Body="&lt;p&gt;As a note, user persistence is optional with Federated Authentication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Federated Authentication supports both virtual users and a membership-backed user. It is also possible to roll your own persistence if required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the underlying Membership storage structure is unchanged, the same scaling limits apply as with previous versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The official documentation site has an article on &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/configure_federated_authentication#_Configure_virtual_and&quot; rel=&quot;nofollow noreferrer&quot;&gt;how to configure persistent users&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2018-09-19T18:19:53.060" LastActivityDate="2018-09-19T18:19:53.060" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="10708" PostTypeId="1" AcceptedAnswerId="10755" CreationDate="2018-03-12T02:49:57.417" Score="0" ViewCount="64" Body="&lt;p&gt;Likely a few folks have seen this code before as a way to get around Sitecore not supporting MVC sections, so we can place CSS and JS in the right place on our page:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class RazorExtensions {&#xA;    public static IHtmlString RenderScripts(this HtmlHelper htmlHelper) {&#xA;        List&amp;lt;HelperResult&amp;gt; templates = (from object key in htmlHelper.ViewContext.HttpContext.Items.Keys&#xA;            where key.ToString().StartsWith(&quot;_script_&quot;)&#xA;            select htmlHelper.ViewContext.HttpContext.Items[key]).OfType&amp;lt;Func&amp;lt;object, HelperResult&amp;gt;&amp;gt;().Select(template =&amp;gt; template(null)).ToList();&#xA;&#xA;        foreach (HelperResult template in templates) {&#xA;            htmlHelper.ViewContext.Writer.Write(template);&#xA;        }&#xA;&#xA;        return MvcHtmlString.Empty;&#xA;    }&#xA;&#xA;    public static MvcHtmlString Script(this HtmlHelper htmlHelper, Func&amp;lt;object, HelperResult&amp;gt; template) {&#xA;        htmlHelper.ViewContext.HttpContext.Items[&quot;_script_&quot; + Guid.NewGuid()] = template;&#xA;        return MvcHtmlString.Empty;&#xA;    }&#xA;&#xA;    public static IHtmlString RenderStyles(this HtmlHelper htmlHelper) {&#xA;        List&amp;lt;HelperResult&amp;gt; templates = (from object key in htmlHelper.ViewContext.HttpContext.Items.Keys&#xA;            where key.ToString().StartsWith(&quot;_style_&quot;)&#xA;            select htmlHelper.ViewContext.HttpContext.Items[key]).OfType&amp;lt;Func&amp;lt;object, HelperResult&amp;gt;&amp;gt;().Select(template =&amp;gt; template(null)).ToList();&#xA;&#xA;        foreach (HelperResult template in templates) {&#xA;            htmlHelper.ViewContext.Writer.Write(template);&#xA;        }&#xA;&#xA;        return MvcHtmlString.Empty;&#xA;    }&#xA;&#xA;    public static MvcHtmlString Style(this HtmlHelper htmlHelper, Func&amp;lt;object, HelperResult&amp;gt; template) {&#xA;        htmlHelper.ViewContext.HttpContext.Items[&quot;_style_&quot; + Guid.NewGuid()] = template;&#xA;        return MvcHtmlString.Empty;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I'm trying to do is use the MS optimization bundle in here, but the type appears to be incompatible when I use &lt;code&gt;Styles.Render(&quot;&quot;)&lt;/code&gt; for example. I tried &lt;code&gt;Styles.Render(&quot;&quot;).ToHtmlString()&lt;/code&gt; but it didn't like that either. Has anyone gotten this to work, or have another method that works? I assume nothing changed in Sitecore 9 related to using MVC sections!&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-03-13T17:23:17.377" Title="Using MS optimization bundles in extension sections" Tags="|bundling|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10709" PostTypeId="1" AcceptedAnswerId="10734" CreationDate="2018-03-12T05:05:58.197" Score="3" ViewCount="1762" Body="&lt;p&gt;For all kind of vanity URL redirection we are using URL Rewrite module in our sitecore project which is running fine. For Ex:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CASE 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Input URL&lt;/strong&gt;: www.mysite.com/history&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Target URL&lt;/strong&gt;: www.mysite.com/page1/page2/history --&gt; This is handled by URL Rewrite module&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now we have to handle sub-domain redirection as given below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CASE 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Input URL&lt;/strong&gt;: location.mysite.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Target URL&lt;/strong&gt;: www.mysite.com/locations&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Input URL&lt;/strong&gt;: customerfeedback.mysite.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Target URL&lt;/strong&gt;: www.mysite.com/company/department/sales/feedback&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How should handle these scenario because sub-domain URLs( location.mysite.com ) are pointing to some other servers which are actually serving the pages right now&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a starting point first of all we have to change DNS mapping of given sub-domain URL so that those can start pointing to www.mysite.com Load balancer IP address&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the next step. Assuming we might need to write down some custom code for this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; See below Input/Target URL configured in Sitecore and redirection using sitecore URL rewrite module feature&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Fd3Ue.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Fd3Ue.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 3/25/2018&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DNS level changes has been completed. I can see see location.mysite.com is pointing to same IP as mysite.com.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;URL Rewrite changes has been published from CM instance. see below all settings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TNhmB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TNhmB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;location.mysite.com binding has been added in IIS. While browsing location.mysite.com getting below error. Might be I'm missing something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rPypC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rPypC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="1349" LastEditDate="2018-03-25T17:53:42.883" LastActivityDate="2018-03-25T17:53:42.883" Title="Implement subdomain redirects while using sitecore URL Rewrite module" Tags="|redirect|url-rewrite|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10710" PostTypeId="1" AcceptedAnswerId="10781" CreationDate="2018-03-12T09:32:48.043" Score="6" ViewCount="709" Body="&lt;p&gt;I have a Sitecore v9.0u1 solution that runs in the Azure.The Sitecore instance and the EXM, Marketing Automation and IndexWorker are all hosted on the same web server for this POC project, and the databases are using an Azure SQL database, and search uses Azure Search. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For testing, I am using Gmail as my SMTP for sending EXM campaigns. The email sending part using &lt;strong&gt;contact list&lt;/strong&gt; is working fine, however the &lt;strong&gt;segment list&lt;/strong&gt; doesn't seem to work properly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The process of creating email campaign using EXM as follow:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create email campaign&lt;/li&gt;&#xA;&lt;li&gt;Choose the recipients (segmented list) as shown below&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sq657.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sq657.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Populate the message body&lt;/li&gt;&#xA;&lt;li&gt;Review - sending email is working&lt;/li&gt;&#xA;&lt;li&gt;Send Message &#xA;&lt;a href=&quot;https://i.stack.imgur.com/qzFTN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qzFTN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;At this point, I noticed that the 'Total recipients' changed to '0' from '2'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I jumped into the &lt;strong&gt;EXM.Master&lt;/strong&gt; database which shows that the recepients were truly skipped. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT * FROM dbo.campaigns WHERE [SkippedRecipients] &amp;gt;= 0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xNYPM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xNYPM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the exm log file, I have enabled the 'exm.debug' to show verbose logging. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;9540 11:30:46 DEBUG RecipientManager.AreListsReady for message&#xA;  {3EA0305A-B0A3-470F-900D-7F3C3C8764F9} skipped checking list id&#xA;  b461c766-c59c-4416-a040-434a5c3d2ee8 as it is Segmented 14084 11:30:49&#xA;  INFO  Registered email: noreply.dep.poc@gmail.com 14084 11:30:49 DEBUG&#xA;  Job Sending message (3EA0305AB0A3470F900D7F3C3C8764F9) not running.&#xA;  Starting. ManagedPoolThread #0 11:30:49 INFO  SendingManager:&#xA;  SendCore() begin ManagedPoolThread #0 11:30:49 INFO  Dispatch Message&#xA;  (Test5): Started   Message Id:&lt;br&gt;&#xA;  {3EA0305A-B0A3-470F-900D-7F3C3C8764F9}   Message Path:&lt;br&gt;&#xA;  /sitecore/content/Email/Messages/2018/03/11T092425/Test5   Included&#xA;  Recipient Lists: Test - Segmentation from XDB Contacts   Excluded&#xA;  Recipient Lists: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #0 11:30:53 INFO  Queueing 2 contacts on 1 threads.&#xA;  0 ABn contacts. 14280 11:30:53 INFO  Queueing 2 contacts with 0 ABn&#xA;  contacts on thread 0 14280 11:30:53 DEBUG 'Test5': 2 recipients were&#xA;  added to the queue on thread 0 ManagedPoolThread #0 11:30:53 INFO &#xA;  'Test5': 2 recipients with 0 ABn recipients were added to the queue.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;MessageTaskRunner worker thread 20 11:30:53 DEBUG&#xA;  [DefaultEmailAddressHistoryManager] Did not submit message. No&#xA;  entries. MessageTaskRunner worker thread 20 11:30:53 INFO  E-mail&#xA;  dispatch worker thread 'MessageTaskRunner worker thread 20' did not&#xA;  find any active tasks and exits. MessageTaskRunner worker thread 12&#xA;  11:30:53 DEBUG [DefaultSentMessageManager] Did not submit message.&#xA;  Message id: 3ea0305a-b0a3-470f-900d-7f3c3c8764f9. Instance id:&#xA;  3ea0305a-b0a3-470f-900d-7f3c3c8764f9. Emulation mode: False. Exclude&#xA;  from reports: False: sentContactEntries: 0 MessageTaskRunner worker&#xA;  thread 12 11:30:53 DEBUG [DefaultEmailAddressHistoryManager] Did not&#xA;  submit message. No entries. MessageTaskRunner worker thread 12&#xA;  11:30:53 INFO  E-mail dispatch worker thread 'MessageTaskRunner worker&#xA;  thread 12' did not find any active tasks and exits. MessageTaskRunner&#xA;  worker thread 11 11:30:53 INFO     Recipient Alias PII removed skipped&#xA;  due to the recipient has been added to OptOut list during the sending&#xA;  process. MessageTaskRunner worker thread 11 11:30:53 INFO &#xA;  MarkMessageSent: 00:00:00.0115607 MessageTaskRunner worker thread 11&#xA;  11:30:53 INFO  Detailed time statistics for 'Test5' (Alias PII&#xA;  removed) Process the message: 00:00:00.0240374  Generate the message:&#xA;  00:00:00    Get page (render page, correct html): 00:00:00    Collect&#xA;  files (embedded images) in memory: 00:00:00    Generate MIME: 00:00:00&#xA;       Insert files (embedded images) to MIME: 00:00:00&#xA;       Personalize (replace $tokens$, insert campaign event ID): 00:00:00  Send the message: 03/12/2018 03:30:53&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;MessageTaskRunner worker thread 11 11:30:53 INFO     Recipient Alias&#xA;  PII removed skipped due to the recipient has been added to OptOut list&#xA;  during the sending process. MessageTaskRunner worker thread 11&#xA;  11:30:53 INFO  MarkMessageSent: 00:00:00.0059803 MessageTaskRunner&#xA;  worker thread 11 11:30:53 INFO  Detailed time statistics for 'Test5'&#xA;  (Alias PII removed) Process the message: 00:00:00.0109894  Generate&#xA;  the message: 00:00:00    Get page (render page, correct html):&#xA;  00:00:00    Collect files (embedded images) in memory: 00:00:00&lt;br&gt;&#xA;  Generate MIME: 00:00:00&#xA;       Insert files (embedded images) to MIME: 00:00:00&#xA;       Personalize (replace $tokens$, insert campaign event ID): 00:00:00  Send the message: 03/12/2018 03:30:53&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;MessageTaskRunner worker thread 11 11:30:53 DEBUG&#xA;  [DefaultSentMessageManager] Did not submit message. Message id:&#xA;  3ea0305a-b0a3-470f-900d-7f3c3c8764f9. Instance id:&#xA;  3ea0305a-b0a3-470f-900d-7f3c3c8764f9. Emulation mode: False. Exclude&#xA;  from reports: False: sentContactEntries: 0 MessageTaskRunner worker&#xA;  thread 11 11:30:53 DEBUG [DefaultEmailAddressHistoryManager] Did not&#xA;  submit message. No entries. MessageTaskRunner worker thread 11&#xA;  11:30:53 INFO  E-mail dispatch worker thread 'MessageTaskRunner worker&#xA;  thread 11' did not find any active tasks and exits. ManagedPoolThread&lt;/p&gt;&#xA;  &#xA;  &lt;h1&gt;0 11:30:55 INFO  Message 'Test5':   Recipients processed: 2.   Recipients skipped: 2.   Recipients failed: 0.   Emails/s: 2.&lt;/h1&gt;&#xA;  &#xA;  &lt;p&gt;Average time to load batch from queue: 2.2283 ms   Average time to&#xA;  load contact batch: 67.6949 ms   Dispatch batch size: 100 Generate:&#xA;  min: 00:00:00; avg: 00:00:00; max: 00:00:00; total: 00:00:00.   Send:&#xA;  min: 00:00:00.0109894; avg: 00:00:00.0175134; max: 00:00:00.0240374;&#xA;  total: 00:00:00.0350268.   Process: min: 00:00:00.0109894; avg:&#xA;  00:00:00.0175134; max: 00:00:00.0240374; total: 00:00:00.0350268.&#xA;  ManagedPoolThread #0 11:30:55 INFO  Time to send: 2222 ms&#xA;  ManagedPoolThread #0 11:30:56 INFO  Dispatch Message (Test5): Finished&#xA;  Result:          FINISHED   Message Id:&lt;br&gt;&#xA;  {3EA0305A-B0A3-470F-900D-7F3C3C8764F9}   Message Path:&lt;br&gt;&#xA;  /sitecore/content/Email/Messages/2018/03/11T092425/Test5   Recipients&#xA;  Processed:    0   Message Total Sent Recipients:    0   Message Total&#xA;  Failed Recipients:  0   Message Total Skipped Recipients (Enable log&#xA;  DEBUG level to see why):  2   Included Recipient Lists: Test -&#xA;  Segmentation from XDB Contacts   Excluded Recipient Lists:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Contact List from CSV file (2 recipients)&lt;/strong&gt; - Working and able to send an email to the recipients. &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Segmented List from Contact List which contains CSV file (2 recipients)&lt;/strong&gt; - Working and able to send an email to the recipients&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol start=&quot;3&quot;&gt;&#xA;  &lt;li&gt;&lt;strong&gt;Segmented List from XDB Contact (2 recipients) based on the segmented rule&lt;/strong&gt; - Not working, the recipients were skipped.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Moreover, I don't see any errors in my marketing automation log files and my index worker log files. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;[Update-1] 03-14-2018&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've decompiled the DispatchTask which is responsible for the sending of the email. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.EmailExperience.ContentManagement.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dispatchTask type=&quot;PROJECTABC.Feature.EmailCampaign.CM.Dispatch.DispatchTask1, PROJECTABC.Feature.EmailCampaign&quot;&amp;gt;&#xA;    &amp;lt;param ref=&quot;exm/dispatchFailedTaskPool&quot;/&amp;gt;&#xA;    &amp;lt;param desc=&quot;recipientValidator&quot; ref=&quot;exm/recipientValidator&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;contactService&quot; ref=&quot;exm/contactService&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;dataProvider&quot; ref=&quot;exm/dataProvider&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;itemUtil&quot; ref=&quot;exm/itemUtil&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;eventDataService&quot; ref=&quot;exm/eventDataService&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;dispatchManager&quot; ref=&quot;exm/dispatchManager&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;emailAddressHistoryManager&quot; ref=&quot;exm/emailAddressHistoryManager&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;recipientManagerFactory&quot; ref=&quot;exm/recipientManagerFactory&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;sentHistoryManager&quot; ref=&quot;exm/sentHistoryManager&quot; /&amp;gt;&#xA;  &amp;lt;/dispatchTask&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;DispatchTask1.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override ProgressFeedback OnSendToNextRecipient()  {&#xA;.&#xA;.&#xA;.&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After some debugging, I noticed that it is being skipped because the &lt;strong&gt;MessageType is Regular&lt;/strong&gt; .. which seems not right. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;bool flag2 = this.Message.MessageType == MessageType.Regular ? this._recipientValidator1.IsSubscribed(contact, this._recipientManager1) : !this.Message.ManagerRoot.GlobalSubscription.IsInDefaultExcludeCollection(contact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;[Update-2] 03-14-2018&lt;/strong&gt;&#xA;  This has been confirmed a sitecore bug. See the solution from Steve.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In the log file, I can see that the contacts were processed and sent.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MessageTaskRunner worker thread 11 23:49:14 INFO  Message dispatch has started. Subject: 'The dispatch process is completed'. Recipient:  'PII removed'.&#xA;ManagedPoolThread #0 23:49:14 INFO  Dispatch Message (Test1): Finished&#xA;  Result:          FINISHED&#xA;  Message Id:      {8ED5799F-8010-4EE6-8206-8388E6DA91FC}&#xA;  Message Path:    /sitecore/content/Email/Messages/2018/03/13T102823/Test1&#xA;  Recipients Processed:    2&#xA;  Message Total Sent Recipients:    2&#xA;  Message Total Failed Recipients:  0&#xA;  Message Total Skipped Recipients (Enable log DEBUG level to see why):  0&#xA;  Included Recipient Lists: Test - Segmentation from XDB Contacts&#xA;  Excluded Recipient Lists: &#xA;&#xA;ManagedPoolThread #0 23:49:14 INFO  SendingManager: SendCore() end&#xA;MessageTaskRunner worker thread 11 23:49:15 INFO  Message dispatch has been completed. Subject: 'The dispatch process is completed'. Recipient: 'PII removed'.&#xA;MessageTaskRunner worker thread 11 23:49:15 INFO  Detailed time statistics for 'Dispatch Completed' ()&#xA;Process the message: 00:00:00.8906401&#xA; Generate the message: 00:00:00&#xA;   Load user: 00:00:00&#xA;   Get page (render page, correct html): 00:00:00&#xA;   Collect files (embedded images) in memory: 00:00:00&#xA;   Generate MIME: 00:00:00&#xA;     Insert files (embedded images) to MIME: 00:00:00&#xA;     Personalize (replace $tokens$, insert campaign event ID): 00:00:00&#xA; Send the message: 00:00:00.8281045&#xA;&#xA;MessageTaskRunner worker thread 11 23:49:15 INFO  E-mail dispatch worker thread 'MessageTaskRunner worker thread 11' did not find any active tasks and exits.&#xA;ManagedPoolThread #3 23:49:15 INFO  Test Dispatch Message (Dispatch Completed): Finished&#xA;  Result:          FINISHED&#xA;  Message Id:      {17053B00-9313-4922-99BB-5FC6674ECFEA}&#xA;  Message Path:    /sitecore/content/Email/Messages/Service Messages/Status Messages/Dispatch Completed&#xA;  Recipients Processed:    0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="1605" LastEditDate="2018-03-14T15:54:50.790" LastActivityDate="2018-03-14T15:54:50.790" Title="Send email with Segmented List - Skipped during message delivery" Tags="|azure|exm|list-manager|segmentation|segmented-list|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10711" PostTypeId="2" ParentId="1576" CreationDate="2018-03-12T09:50:40.447" Score="1" Body="&lt;p&gt;As you haven't specified version of Sitecore that you use, I will show you how to do this in Sitecore 9 and XConnect. I believe something similar can be done also for Sitecore 8 with XDB as channels are in Sitecore for quite some time now. In Sitecore 7.x these were called &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_operations/channels/map_traffic_types_to_channels&quot; rel=&quot;nofollow noreferrer&quot;&gt;traffic types&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about channels can be found here:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_operations/channels/channels&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_operations/channels/channels&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.&#xA;Go to Marketing Control Panel and under Taxonomies &gt; Channel create your own channel in appropriate channel group.&#xA;For mobile device that should be /sitecore/system/Marketing Control Panel/Taxonomies/Channel/Online/Apps&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.&#xA;Use similar code to assign channel to interaction:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public async void ExampleAsync()&#xA;    {&#xA;        using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            try&#xA;            {&#xA;                var contact = new Sitecore.XConnect.Contact();&#xA;&#xA;                Guid channelId = Guid.NewGuid();&#xA;                string userAgent = &quot;Sample User Agent&quot;;&#xA;                var interaction = new Sitecore.XConnect.Interaction(contact, InteractionInitiator.Brand, channelId, userAgent);&#xA;&#xA;                Guid goalID = Guid.Parse(&quot;{21EC2020-3AEA-4069-A2DD-08002B30309D}&quot;); // ID of goal item&#xA;&#xA;                var goal = new Goal(goalID, DateTime.UtcNow);&#xA;&#xA;                goal.EngagementValue = 20; // Manually setting engagement value rather than going to defintion item&#xA;&#xA;                interaction.Events.Add(goal);&#xA;&#xA;                client.AddContact(contact);&#xA;                client.AddInteraction(interaction);&#xA;&#xA;                await client.SubmitAsync();&#xA;            }&#xA;            catch (XdbExecutionException ex)&#xA;            {&#xA;                // Handle exception&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Instead of &lt;code&gt;Guid channelId = Guid.NewGuid();&lt;/code&gt; put there your channel item id. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code was taken from &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/add-events.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/add-events.html&lt;/a&gt; . Take a look there for further details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.&#xA;You will then see the channel in Experience profile under Activity tab and Visits or Channel sections:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UkI6P.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UkI6P.png&quot; alt=&quot;Experience Profile showing channels&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4.&#xA;You will see also different channel type in Experience Analytics (as per your question):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nRP0N.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nRP0N.png&quot; alt=&quot;Experience Analytics&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your Mobile app could be one of them :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See more information here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_acquisition_tab_reports#_Channels&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_acquisition_tab_reports#_Channels&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_experience_analytics_reports_relevant_for_marketers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_experience_analytics_reports_relevant_for_marketers&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-12T09:50:40.447" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10712" PostTypeId="1" CreationDate="2018-03-12T10:23:25.423" Score="7" ViewCount="1606" Body="&lt;p&gt;My Sitecore instance is showing an error &lt;code&gt;&quot;failed to load resource: Request timeout&quot;&lt;/code&gt; for some items in safari browser only. Same items perfectly opens in other browsers. Is there any external setting I've to apply for safari.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.1 update 3 and safari(11.0.3).&#xA;Please find the screenshot attached for better understanding. &lt;a href=&quot;https://i.stack.imgur.com/fSRga.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fSRga.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3379" LastEditorUserId="2727" LastEditDate="2018-03-20T08:10:09.977" LastActivityDate="2018-03-20T08:10:09.977" Title="Content Editor showing &quot;failed to load resource: Request timeout&quot; in Safari only" Tags="|sitecore-client|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10713" PostTypeId="1" AcceptedAnswerId="10714" CreationDate="2018-03-12T11:14:47.817" Score="2" ViewCount="757" Body="&lt;p&gt;I would like to get check whether certain goal was triggered through xConnect for certain contact programmatically. We are using &lt;code&gt;Sitecore 9.0.1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have found this article:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/get-interactions/get-events.html#get-events-by-definition-id&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/get-interactions/get-events.html#get-events-by-definition-id&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it is unclear which ID I should use on this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.XConnect.InteractionReference interactionRef = new Sitecore.XConnect.InteractionReference(contactRef, Guid.Parse(&quot;DA2DA5F0-4348-E611-82E7-34E6D7117DCB&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Id &lt;code&gt;DA2DA5F0-4348-E611-82E7-34E6D7117DCB&lt;/code&gt; is Id of what?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is an Id of Interaction that is stored in DB?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get it via xConnect API?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just want to check whether goal what trigger for contact&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2727" LastEditDate="2018-03-14T05:57:58.613" LastActivityDate="2018-03-14T07:19:19.750" Title="Programmatically getting list of goals triggered through xConnect for certain contact" Tags="|xconnect|goals|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10714" PostTypeId="2" ParentId="10713" CreationDate="2018-03-12T11:27:33.643" Score="3" Body="&lt;p&gt;Found answer after going through xConnect documentation more thoroughly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code that you can use to get all goals for contact:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            try&#xA;            {&#xA;                var contactID = Guid.Parse(&quot;ea991dce-1f9b-443c-84a5-f83b46cbc0f8&quot;);&#xA;&#xA;                // IMPORTANT: You cannot check facets for null; check a property of the facet instead, such as SiteName for WebVisit&#xA;                var queryable = client.Interactions&#xA;                    .Where(x =&amp;gt; x.Contact.Id == contactID&#xA;                    &amp;amp;&amp;amp; x.Events.OfType&amp;lt;Goal&amp;gt;().Any())&#xA;                    .WithExpandOptions(new InteractionExpandOptions(WebVisit.DefaultFacetKey) { Contact = new RelatedContactExpandOptions(PersonalInformation.DefaultFacetKey) });&#xA;&#xA;                var enumerator = queryable.GetBatchEnumeratorSync(10);&#xA;&#xA;                while (enumerator.MoveNext())&#xA;                {&#xA;                    foreach (var item in enumerator.Current)&#xA;                    {&#xA;                        var listOfGoals = item.Events.OfType&amp;lt;Goal&amp;gt;();&#xA;                    }&#xA;                }&#xA;&#xA;            }&#xA;            catch (XdbExecutionException ex)&#xA;            {&#xA;                // Handle exception&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add these two nuget packages to your project to resolve all assembly conflicts:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;System.Interactive.Async&quot; version=&quot;3.1.1&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;System.Interactive.Async.Providers&quot; version=&quot;3.1.1&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More details here:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/contacts/get-contacts/get-contact-interactions.html#filtering-interactions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/contacts/get-contacts/get-contact-interactions.html#filtering-interactions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-14T07:19:19.750" LastActivityDate="2018-03-14T07:19:19.750" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10715" PostTypeId="2" ParentId="10709" CreationDate="2018-03-12T11:28:39.337" Score="1" Body="&lt;p&gt;After changing DNS of the sub-domain to point to your server IP address, you have to redirect traffic from the sub-domain host name(location.mysite.com) to your target URL(www.mysite.com/locations) in URL redirect module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use following redirect rule in &lt;strong&gt;URL redirect module&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;               &amp;lt;rule name=&quot;External Site&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;                &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;                &amp;lt;conditions logicalGrouping=&quot;MatchAll&quot; trackAllCaptures=&quot;false&quot;&amp;gt;&#xA;                    &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;location.mysite.com&quot; /&amp;gt;&#xA;                &amp;lt;/conditions&amp;gt;&#xA;                &amp;lt;action type=&quot;Redirect&quot; url=&quot;www.mysite.com/locations&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;            &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fnqAY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fnqAY.png&quot; alt=&quot;Condition for URL Redirect&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5OeU8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5OeU8.png&quot; alt=&quot;Action for URL Redirect&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="955" LastActivityDate="2018-03-12T11:28:39.337" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10716" PostTypeId="1" CreationDate="2018-03-12T11:57:34.753" Score="2" ViewCount="36" Body="&lt;p&gt;I've been reading about &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/server_considerations/server_clusters_and_transferring_contact_sessions&quot; rel=&quot;nofollow noreferrer&quot;&gt;contact session transfering&lt;/a&gt; on sc 8.2 and 9.0.1 and I'm wondering of what's the expected behaviour when Sitecore tries to transfer a session between clusters and one doesn't respond for any unforseen reason.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Suppose that Cluster A and Cluster B were exchanging sessions as usual. An Earthquake has its epicentre on Cluster B so it will be out for at least 12 hours while I rebuild the whole thing shoving the debris aside. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would Cluster A cope with that, particularly on those initial minutes when sessions were still flagged as Cluster B sessions? &lt;/p&gt;&#xA;" OwnerUserId="1625" LastActivityDate="2018-03-12T11:57:34.753" Title="Contact session transfer on failover" Tags="|xdb|xconnect|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10717" PostTypeId="2" ParentId="10629" CreationDate="2018-03-12T12:02:13.733" Score="2" Body="&lt;p&gt;The Experience Profile uses facets to display the names and emails. So you will need to set the proper facet (of the correct type and filled data) into the XConnectClient object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've done something similar below, I had to create an EmailAddressList facet object in addition to the PersonalInformation facet object to fill in the names and emails:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Contact myContact = new Contact(identifier);&#xA;&#xA;var emailFacet = new EmailAddressList(new EmailAddress(&quot;email@something.com&quot;, true), &quot;something&quot;);&#xA;client.SetFacet&amp;lt;EmailAddressList&amp;gt;(myContact, EmailAddressList.DefaultFacetKey, emailFacet);&#xA;&#xA;PersonalInformation personalInfoFacet = new PersonalInformation();&#xA;&#xA;personalInfoFacet.FirstName = &quot;First Name&quot;;&#xA;personalInfoFacet.LastName = &quot;Last Name&quot;;&#xA;&#xA;client.SetFacet&amp;lt;PersonalInformation&amp;gt;(myContact, PersonalInformation.DefaultFacetKey, personalInfoFacet);&#xA;&#xA;client.AddContact(myContact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using the above code I was able to see the actual Name and Email in the Experience Profile Table (which were Unknown before setting the facets)&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-03-12T12:02:13.733" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10718" PostTypeId="2" ParentId="10629" CreationDate="2018-03-12T13:00:55.927" Score="2" Body="&lt;p&gt;You need to add new custom submit action which will map first name ,last name and email fields to XConnect facet values and store them in XConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to achieve this, you need to create Speak dialog, custom submit action and custom class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow this article in Sitecore documentation to achieve this:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After implementing this, don't forget to add this custom submit action to your submit button on form. Your contacts won't be anonymous any more :)&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-12T13:00:55.927" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="10719" PostTypeId="2" ParentId="10712" CreationDate="2018-03-12T13:35:34.440" Score="4" Body="&lt;p&gt;Doing a quick search you'll find other people complaining about some default Safari timeout issue. It seems Safari has something around 10 ~ 15 seconds set for XHR (ajax) as time out by default and the only way to overwrite it is in the javascript code. Also, there's some controversy here, some says that you can overwrite it in the javascript ajax call, others say that Safari simply ignore it. Please, see:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/12176795/jquery-ajax-does-not-work-in-safari-when-it-takes-seconds-to-get-returned-dat&quot;&gt;jQuery .ajax() does not work in Safari when it takes seconds to get returned data&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://web.archive.org/web/20150223082529/http://propercode.com/wordpress/?p=32&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solution for Safari timeout issue&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://shmeeps.org/2014/05/25/safari-timeout-issue/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Safari Timeout issue&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What you can do is to file a ticket for Sitecore support and ask them if they can provide you some patch to work this around.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you should check how your content tree is structured. Slow loading means you have way too much direct child items in a node. You might want to split it between multiple folders or perhaphs use Bucket.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/Sitecore &#xA; /Content &#xA;  /Site &#xA;   /Home&#xA;    /Components&#xA;     /Component 1&#xA;     /Component 2&#xA;     ...&#xA;     /Component 150&#xA;     /Component n&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You might want to reestructure it as &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/Sitecore &#xA; /Content &#xA;  /Site &#xA;   /Home&#xA;    /Components&#xA;     /Group Component A&#xA;      /Component 1&#xA;      /Component 2&#xA;      /Component 3&#xA;     /Group Component B&#xA;      /Component 1&#xA;      /Component 2&#xA;      /Component 3&#xA;     ...&#xA;     /Group Component c&#xA;      /Component 150&#xA;      /Component n&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Adittionaly, you can use prefetch cache for items in the &lt;code&gt;master&lt;/code&gt; database, which will make the item loading process faster. However, be careful when playing with prefetch cache as it can slow your application start. I suggest you reading my blog post on &lt;a href=&quot;https://joaoneto.blog/2017/09/16/how-to-patch-sitecore-database-prefetch-caches&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to patch Sitecore Database Prefetch Caches&lt;/a&gt;. You find also other useful resources about this topic such as &lt;a href=&quot;https://www.youtube.com/watch?v=6ClbJBhwf0Q&quot; rel=&quot;nofollow noreferrer&quot;&gt;Friday Sitecore Best Practice: Configure Prefetch Cache&lt;/a&gt; and a vast material in the Sitecore documentation.&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-03-12T17:05:14.520" LastActivityDate="2018-03-12T17:05:14.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10720" PostTypeId="2" ParentId="10663" CreationDate="2018-03-12T15:21:11.690" Score="7" Body="&lt;p&gt;While Vandsh's PowerShell script is very nice, I think I would use &lt;a href=&quot;https://github.com/kamsar/Unicorn&quot; rel=&quot;noreferrer&quot;&gt;Unicorn&lt;/a&gt; and Beyond Compare. You can configure Unicorn to ignore fields as needed. Once your items are serialized, use Beyond Compare to merge your changes. If you have Unicorn's transparent sync enabled it will automatically pull your changes into Sitecore. Otherwise, you can manually initiate the sync with the admin page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example of a very simple Unicorn config with a couple of standard fields ignored. Use the readme and comments in the files installed from NuGet for guidance on how to make adjustments for your scenario.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;      &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;configuration name=&quot;Sample sites&quot; description=&quot;Serialize original and cloned site&quot;&amp;gt;&#xA;          &amp;lt;predicate&amp;gt;&#xA;            &amp;lt;include name=&quot;Site1&quot; database=&quot;master&quot; path=&quot;/sitecore/Content/Home&quot; /&amp;gt;&#xA;            &amp;lt;include name=&quot;Site2&quot; database=&quot;master&quot; path=&quot;/sitecore/Content/Home2&quot; /&amp;gt;&#xA;          &amp;lt;/predicate&amp;gt;&#xA;          &amp;lt;fieldFilter&amp;gt;&#xA;            &amp;lt;exclude fieldID=&quot;{56776EDF-261C-4ABC-9FE7-70C618795239}&quot; note=&quot;'__Help link' field on Standard Template&quot; /&amp;gt;&#xA;            &amp;lt;exclude fieldID=&quot;{577F1689-7DE4-4AD2-A15F-7FDC1759285F}&quot; note=&quot;'__Long description' field on Standard Template&quot; /&amp;gt;&#xA;          &amp;lt;/fieldFilter&amp;gt;&#xA;          &amp;lt;dataProviderConfiguration enableTransparentSync=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;syncConfiguration updateLinkDatabase=&quot;true&quot; updateSearchIndex=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/configurations&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When comparing your two folders with Beyond Compare, you may need to use the &quot;Align with...&quot; option in the right-click menu to get the first level to compare properly. At this point, if you use the Compare Contents option, it will show that all of your files are different because of the ID, Parent and Path properties which I don't think you can tell Unicorn to exclude. If you open an individual file diff, however, you can tell Beyond Compare that this is &quot;Unimportant text&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click the Rules button in the toolbar. Then add regex rules as shown below and select the &quot;Use for all files within parent session&quot; option from the dropdown at the bottom of the dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NVak3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NVak3.png&quot; alt=&quot;Compare Rules&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click OK, then go back to your folder compare tab, select all and then use the Compare Contents action. Now Beyond Compare will show the &lt;code&gt;≈&lt;/code&gt; symbol for files who's only differences are this unimportant text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RsfR9.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RsfR9.png&quot; alt=&quot;rules-based folder compare&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="153" LastEditorUserId="153" LastEditDate="2018-03-12T15:41:10.413" LastActivityDate="2018-03-12T15:41:10.413" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10721" PostTypeId="1" CreationDate="2018-03-12T16:13:26.960" Score="5" ViewCount="275" Body="&lt;p&gt;This is related to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6192/solr-queryelevationcomponent-component-usage&quot;&gt;Solr QueryElevationComponent component usage&lt;/a&gt;, but I'm looking for &lt;strong&gt;information on getting elevation setup.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see some other questions involving Solr &lt;strong&gt;query elevation&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there documentation anywhere about getting elevation setup in the first place? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I imagine that I somehow need to get the &lt;code&gt;enableElevation&lt;/code&gt;/&lt;code&gt;forceElevation&lt;/code&gt; parameters into &lt;code&gt;SolrNet.Commands.Parameters.CommonQueryOptions.ExtraParams&lt;/code&gt;, but I'm not sure how to get there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could get my own implementation of &lt;code&gt;Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex&lt;/code&gt; in there, but unfortunately there are no override points (the obvious method, &lt;code&gt;BuildQueryOptions&lt;/code&gt; is private).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're using &lt;code&gt;Sitecore 8.2 Update-2&lt;/code&gt; and &lt;code&gt;Solr 5.4.1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2018-03-13T00:35:26.490" LastActivityDate="2018-03-13T00:35:26.490" Title="Setting Up Query Elevations" Tags="|solr|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10722" PostTypeId="2" ParentId="10685" CreationDate="2018-03-12T16:53:53.253" Score="1" Body="&lt;p&gt;How about having two fields on the form – &lt;code&gt;Field1&lt;/code&gt; already configured with all the valid mandatory validations but &lt;strong&gt;Hidden&lt;/strong&gt; on Page Load and &lt;code&gt;Field2&lt;/code&gt; without any validations but &lt;strong&gt;Visible&lt;/strong&gt;. Then:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Approach 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Write custom JavaScript to show/hide the mandate/non-mandate fields based on the values in your requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Approach 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look at the solution described Sitecore Documentation Portal: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/80/working_with_fields_actions_and_validations/fields/show_or_hide_form_fields_depending_on_other_field_values#_Add_a_script&quot; rel=&quot;nofollow noreferrer&quot;&gt;Show or hide a form field depending on other field value&lt;/a&gt;s.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-03-12T17:02:35.997" LastActivityDate="2018-03-12T17:02:35.997" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10723" PostTypeId="2" ParentId="10684" CreationDate="2018-03-12T17:12:25.993" Score="1" Body="&lt;p&gt;The issue is you have not set the &lt;code&gt;ActionType&lt;/code&gt; of the Save Action, you have the properties implemented that meets the requirements of the interface but it has no value set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This runs locally and on your CM instance since the Save Action runs immediately, but when the form is submitted the CD server the action is run actually run via the Event Queue on the CM server. This is the default setting for Save Actions. Since the Action Type is not set the save action fails to run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One option is to &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/web_forms_for_marketers/working_with_actions_and_validations/save_actions/the_save_action_item_fields&quot; rel=&quot;nofollow noreferrer&quot;&gt;mark the Save Action as being a &lt;code&gt;Client Action&lt;/code&gt;&lt;/a&gt; which will force it to run immediately on the CD server. Whilst this may work, most people enable this blindly without much understanding of the issue. This may or may not be a good idea depending on the save action, what it is doing, long running operations etc. The benefit of running via the Event Queue is that Save Action being executed is deferred and run later by the CM instance, essentially allowing Async save actions (useful for long running or slow external service calls without delaying the user feedback).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The correct way to resolve this is to set the &lt;code&gt;ActionType&lt;/code&gt; in your constructor:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public CustomFormSubmit()&#xA;{&#xA;    this.ActionType = ActionType.Save;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it is even simpler to inherit from &lt;code&gt;WffmSaveAction&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class CustomFormSubmit : Sitecore.WFFM.Actions.Base.WffmSaveAction&#xA;{&#xA;    public void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;    {&#xA;        Process(adaptedFields);&#xA;    }    &#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This inherits and implements the correct interfaces and also sets the &lt;code&gt;ActionType&lt;/code&gt; property in the base constructor to &lt;code&gt;ActionType.Save&lt;/code&gt;. Your save action should now execute correctly on CM and CD instance, and regardless of whether the &lt;code&gt;Client Action&lt;/code&gt; has been checked. By inheriting from this class you only need to provide the implementation of the &lt;code&gt;Execute()&lt;/code&gt; method and not add properties for the rest of &lt;code&gt;ISaveAction&lt;/code&gt; so it is a much cleaner implementation.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-03-12T17:12:25.993" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10724" PostTypeId="2" ParentId="10721" CreationDate="2018-03-12T17:31:11.180" Score="1" Body="&lt;p&gt;In my experience, trying to get &lt;code&gt;ExtraParam&lt;/code&gt; to work with the &lt;code&gt;Sitecore.ContentSearch&lt;/code&gt; especially in &lt;code&gt;8.*&lt;/code&gt; has been unfruitful (tried getting grouping to work on groupId with no luck) as the &lt;code&gt;ExtraParams&lt;/code&gt; along with a lot of other &lt;code&gt;SolrNet&lt;/code&gt; pieces are locked down an unexposed through the api.  I used a &lt;em&gt;different&lt;/em&gt; approach (in unrelated functionality to the grouping bit) to invoke the &lt;code&gt;suggest&lt;/code&gt; handler in Solr (repurposed below):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-type-c# prettyprint-override&quot;&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex((SitecoreIndexableItem)contextDataItem);&#xA;var serviceUrl = SolrContentSearchManager.ServiceAddress.TrimEnd('/');&#xA;var handler = &quot;/elevate&quot;;&#xA;&#xA;IEnumerable&amp;lt;string&amp;gt; results = null;&#xA;var solrUrl = string.Format(&quot;{0}/{1}&quot;, serviceUrl, index.Name);&#xA;var solrConnection = new SolrConnection(solrUrl);&#xA;&#xA;var parameters = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;parameters.Add(&quot;q&quot;, searchTerm);&#xA;parameters.Add(&quot;enableElevation&quot;, &quot;true&quot;);&#xA;parameters.Add(&quot;forceElevation&quot;, &quot;true&quot;);&#xA;parameters.Add(&quot;df&quot;, &quot;text&quot;);&#xA;parameters.Add(&quot;wt&quot;, &quot;xml&quot;);&#xA;&#xA;var xmlResponse = solrConnection.Get(handler, parameters);&#xA;var xmlDocument = new XmlDocument();&#xA;xmlDocument.LoadXml(xmlResponse);&#xA;//parse the returned xml into proper results&#xA;results = _parseSuggestion(xmlDocument, suggestionType).ToList();&#xA;&#xA;return results;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which would invoke something like &lt;code&gt;http://localhost:8983/solr/your_products_master/elevate?q=ipod&amp;amp;df=text&amp;amp;debugQuery=true&amp;amp;enableElevation=true&amp;amp;forceElevation=true&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I realize that this approach pretty much circumvents using &lt;code&gt;Predicate Builder&lt;/code&gt; or really any of the &lt;code&gt;ContentSearch&lt;/code&gt; api already in place. In Sitecore 9 I believe they opened up a lot of the api to allow for passing &lt;code&gt;QueryOptions&lt;/code&gt; and possibly &lt;code&gt;ExtraParams&lt;/code&gt; as well (have not had a chance to confirm). Hopefully this helps even if only a little.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2018-03-12T17:31:11.180" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10726" PostTypeId="1" CreationDate="2018-03-12T17:34:36.573" Score="1" ViewCount="642" Body="&lt;p&gt;I seem to have a weird problem with my dummy website.  I am learning about Sitecore via their e-learning tutorials, and currently have a front page with sub page.  The problem is with the sub page, &#xA;it cannot be edited in the experience editor. The Sitecore ribbon is not available within the sub page and if I try to open the page In edit mode, Sitecore redirects me to a blank page with the text “Default page”.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am pretty lost on where I should look or how I should debug the situation. I am not quite sure I understand why I am able to preview the page, but not see the ribbon or somehow edit the content within Sitecore? &lt;img src=&quot;https://i.stack.imgur.com/mRojq.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jQ3Wm.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YnHFX.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AnSkR.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tRHOl.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;" OwnerUserId="3336" LastEditorUserId="73" LastEditDate="2020-12-29T06:42:12.893" LastActivityDate="2024-01-13T14:09:46.100" Title="Subpage of website cannot be edited in Experience Editor" Tags="|experience-editor|training-certification|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10727" PostTypeId="1" AcceptedAnswerId="10729" CreationDate="2018-03-12T20:26:53.793" Score="2" ViewCount="3003" Body="&lt;p&gt;We have followed installation guide for &lt;code&gt;Sitecore 9.0.1&lt;/code&gt; and installed it on our dev machines. We have used the same approach also on TEST machine. This TEST machine is also standalone installation which means we have everything in one server to minimize configuration and deployment time. TEST environment is only used for demo purposes so only sporadically. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;As TEST is same as DEV machine, we have used self-signed certificate.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;TEST is in Azure and was created as one VM where we have Sitecore and XConnect instances, SQL Server + SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have two &quot;problems&quot; that don't look good during demo sessions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A. Server url is something.cloudapp.net&lt;/p&gt;&#xA;&#xA;&lt;p&gt;B. We can see warning that site is not secured. That is due to self-signed certificate&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My questions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What are requirements for SSL certificate?&lt;/li&gt;&#xA;&lt;li&gt;When requesting SSL certificate which parameter should correspond to our something.domain domain that we are planning to buy to be complaint with Sitecore 9?&lt;/li&gt;&#xA;&lt;li&gt;After we buy something.domain domain how this should be set up in Azure to make redirection work? We want to always see our custom domain not cloudapp.net domain. Should we just set new certificate in binding in IIS for https and make config changes with thumbprint?&lt;/li&gt;&#xA;&lt;li&gt;Is it sufficient to buy SSL certificate for sc site or we need to buy one for xconnect and solr? Can we use same certs also there or we need to have separate SSL certs for them?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-31T05:37:20.617" LastActivityDate="2018-03-31T05:37:20.617" Title="SSL certificate requirements for Sitecore 9 Update 1" Tags="|site-configuration|iis|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10728" PostTypeId="2" ParentId="10726" CreationDate="2018-03-12T23:16:01.143" Score="0" Body="&lt;p&gt;I have been dealing with this issue on occasion and have run into some scenarios which may cause this.  In general, what seems to cause the problem is if you have certain special characters as content within the fields you are trying to edit with the Experience Editor.  I have seen it involve help text of all things.  I wrote about it in this blog... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sabor413blog.wordpress.com/2018/01/22/using-double-quotes-in-sitecore-fields-short-description-help-text-field/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sabor413blog.wordpress.com/2018/01/22/using-double-quotes-in-sitecore-fields-short-description-help-text-field/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wrote another blog recently referencing a situation with special characters which caused saving problems with components on Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sabor413blog.wordpress.com/2018/03/10/experience-editor-error-involving-special-characters-in-sitecore-8-1-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sabor413blog.wordpress.com/2018/03/10/experience-editor-error-involving-special-characters-in-sitecore-8-1-8-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in short I think the underlying cause is some bad HTML or content in one of your data fields, rendering parameter fields or rich text fields...&lt;/p&gt;&#xA;" OwnerUserId="429" LastActivityDate="2018-03-12T23:16:01.143" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10729" PostTypeId="2" ParentId="10727" CreationDate="2018-03-13T00:39:34.847" Score="5" Body="&lt;ol&gt;&#xA;&lt;li&gt;The only site that &lt;strong&gt;needs&lt;/strong&gt; to be https is the xConnect service, though your Sitecore site is extremely highly recommended to be https as well. Since you are an XP0 configuration where everything is on a single machine, you can create a self-signed certificate to use with the xConnect service. However, you will also need a SSL client certificate for your Sitecore site to authenticate with the xConnect service site. This is a separate certificate (that can also be self-signed) whose thumbprint must match the configuration set in the xConnect site.&lt;/li&gt;&#xA;&lt;li&gt;You can create a certificate request directly in IIS for a SSL certificate. Some companies that sell certificates accept these requests, others have their own way for you to specify the content of the certificate. This will be dependent on who you're ordering the certificate from.&lt;/li&gt;&#xA;&lt;li&gt;After you purchase your domain, you will want to configure your DNS to point to the public IP address of the virtual machine. If you are using a dynamic IP address, you can create an A record to the *.cloudapp.azure.com URL with your new domain name.&lt;/li&gt;&#xA;&lt;li&gt;This will be dependent on your configuration. The only certificate that will need to be externally validated as it will be user-facing is the SSL certificate used for https on the Sitecore site if you are using https on your Sitecore site (which you most definitely should). Solr will require a SSL certificate for https as well, however, this should not be externally accessible so self-generation of a cert with an internal CA should be fine - someone more security-oriented can correct me on this. Same goes for xConnect's https SSL certificate. The client authentication SSL certificate for xConnect will be shared across all servers which will need access to xConnect. This should be the same cert as it will need to match the thumbprint specified on the xConnect service. There currently (as of 9.0.1) no support for multiple thumbprints to validate against.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="7" LastActivityDate="2018-03-13T00:39:34.847" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10730" PostTypeId="2" ParentId="1" CreationDate="2018-03-13T01:45:04.103" Score="0" Body="&lt;p&gt;Here is another code snippet you should be able to use to add a rendering&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Rendering = Get-Item -Path 'master:{&amp;lt;rendering item GUID&amp;gt;}'&#xA;$Datasource = '{&amp;lt;datasource item GUID&amp;gt;}'&#xA;&#xA;function Get-FirstPlaceholderIndex() {&#xA;    param(&#xA;        [Parameter(Mandatory = $true)]&#xA;        [Sitecore.Data.Items.Item] $Item)&#xA;&#xA;    $idx = 0&#xA;    Get-Rendering -Item $Item | ForEach-Object {&#xA;        if ($_.Placeholder -eq '&amp;lt;placeholder name for index&amp;gt;') {&#xA;            return $idx&#xA;        }&#xA;&#xA;        $idx++&#xA;    } | Select-Object -First 1&#xA;}&#xA;&#xA;&#xA;function Add-Component() {&#xA;    param(&#xA;        [Parameter(Mandatory = $true)]&#xA;        [Sitecore.Data.Items.Item] $Item,&#xA;&#xA;        [Parameter(Mandatory = $true)]&#xA;        [string] $Placeholder)&#xA;&#xA;    Write-Host &quot;......Adding new component...&quot;&#xA;    Add-Rendering `&#xA;        -Item $Item `&#xA;        -PlaceHolder $Placeholder `&#xA;        -DataSource $Datasource `&#xA;        -Instance (New-Rendering -Item $Rendering) `&#xA;        -Index (Get-FirstPlaceholderIndex -Item $Item)&#xA;}&#xA;&#xA;function Get-PagesByTemplateId() {&#xA;    param(&#xA;        [Parameter(Mandatory = $true)]&#xA;        [string] $TemplateId)&#xA;&#xA;    Get-ChildItem -Path 'master:/sitecore/content' -Recurse |&#xA;        Where-Object { $_.TemplateID -eq $TemplateId }&#xA;}&#xA;&#xA;function Add-Components() {&#xA;&#xA;    Write-Host 'Processing items based on the this template'&#xA;    Get-PagesByTemplateId -TemplateId '{&amp;lt;template item GUID to select specific set of items&amp;gt;}' |&#xA;        ForEach-Object {&#xA;            Add-Component -Item $_ -Placeholder '&amp;lt;placeholder name&amp;gt;'&#xA;        }&#xA;}&#xA;&#xA;Add-Components&#xA;Write-Host 'Done'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="429" LastActivityDate="2018-03-13T01:45:04.103" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10731" PostTypeId="1" CreationDate="2018-03-13T01:50:06.230" Score="5" ViewCount="978" Body="&lt;p&gt;I am working on connecting a Sitecore LaunchPad button to a Sitecore Powershell script so I can use the script to perform the desired action.  Any examples of how I should do that ?&lt;/p&gt;&#xA;" OwnerUserId="429" LastEditorUserId="73" LastEditDate="2018-03-15T09:22:57.927" LastActivityDate="2021-09-21T07:55:46.023" Title="Can a Sitecore LaunchPad button be attached to a Sitecore Powershell script?" Tags="|powershell-extensions|launchpad|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10732" PostTypeId="1" CreationDate="2018-03-13T02:08:26.907" Score="1" ViewCount="379" Body="&lt;p&gt;In all previous versions of &lt;code&gt;Sitecore 9&lt;/code&gt;, we could easily clone and export instances using SIM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hence was wondering if there is such an option to do so for version 9 &lt;code&gt;Initial Release&lt;/code&gt; or &lt;code&gt;Update 1&lt;/code&gt;. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2916" LastEditorUserId="2916" LastEditDate="2018-03-14T03:02:30.190" LastActivityDate="2018-03-14T03:02:30.190" Title="Sitecore 9 - Cloning instances" Tags="|installation|sitecore-install-framework|sim|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10733" PostTypeId="1" CreationDate="2018-03-13T02:29:52.390" Score="1" ViewCount="1253" Body="&lt;p&gt;I'm trying to install Sitecore Commerce 9 on my local machine.&#xA;To do that I've created &quot;C:\deploy&quot; and copied files into that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/Twx9I.png&quot; alt=&quot;1]&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/01Ndt.png&quot; alt=&quot;2]&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then revised SIF installation file like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    #Requires -Version 3&#xA;param(&#xA;    [string]$SiteName = &quot;ConnectSite&quot;,  &#xA;    [string]$SiteHostHeaderName = &quot;sxa.storefront.local&quot;,   &#xA;    [string]$SqlDbPrefix = $SiteName,&#xA;    [string]$CommerceSearchProvider = &quot;SOLR&quot;&#xA;)&#xA;&#xA;$global:DEPLOYMENT_DIRECTORY = Split-Path $MyInvocation.MyCommand.Path&#xA;$modulesPath = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;Modules&quot; )&#xA;if ($env:PSModulePath -notlike &quot;*$modulesPath*&quot;) {&#xA;    $p = $env:PSModulePath + &quot;;&quot; + $modulesPath&#xA;    [Environment]::SetEnvironmentVariable(&quot;PSModulePath&quot;, $p)&#xA;}&#xA;&#xA;&#xA;$params = @{&#xA;    Path                               = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json'   &#xA;    SiteName                           = $SiteName&#xA;    SiteHostHeaderName                 = $SiteHostHeaderName &#xA;    InstallDir                         = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$SiteName&quot;&#xA;    XConnectInstallDir                 = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$($SiteName)_xconnect&quot;&#xA;    CertificateName                    = $SiteName&#xA;    CommerceServicesDbServer           = $($Env:COMPUTERNAME)&#xA;    CommerceServicesDbName             = &quot;SitecoreCommerce9_SharedEnvironments&quot;&#xA;    CommerceServicesGlobalDbName       = &quot;SitecoreCommerce9_Global&quot;     &#xA;    SitecoreDbServer                   = $($Env:COMPUTERNAME)&#xA;    SitecoreCoreDbName                 = &quot;$($SqlDbPrefix)_Core&quot;&#xA;    CommerceSearchProvider             = $CommerceSearchProvider&#xA;    SolrUrl                            = &quot;https://localhost:8983/solr&quot;&#xA;    SolrRoot                           = &quot;D:\Sitecore\solr-6.6.2\solr-6.6.2&quot;&#xA;    SolrService                        = &quot;solr622&quot;&#xA;    SolrSchemas                        = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SolrSchemas&quot; )&#xA;    SearchIndexPrefix                  = &quot;&quot;&#xA;    AzureSearchServiceName             = &quot;&quot;&#xA;    AzureSearchAdminKey                = &quot;&quot;&#xA;    AzureSearchQueryKey                = &quot;&quot;&#xA;    CommerceEngineDacPac               = Resolve-Path -Path &quot;C:\deploy\Assets\Sitecore.Commerce.Engine.DB.dacpac&quot;      &#xA;    CommerceOpsServicesPort            = &quot;5015&quot;&#xA;    CommerceShopsServicesPort          = &quot;5005&quot;&#xA;    CommerceAuthoringServicesPort      = &quot;5000&quot;&#xA;    CommerceMinionsServicesPort        = &quot;5010&quot;     &#xA;    SitecoreCommerceEngineZipPath      = Resolve-Path -Path &quot;C:\deploy\Sitecore.Commerce.Engine.SDK.2.0.1922&quot;       &#xA;    SitecoreBizFxServicesContentPath   = Resolve-Path -Path &quot;C:\deploy\Sitecore.BizFX.1.0.572&quot;      &#xA;    SitecoreIdentityServerZipPath      = Resolve-Path -Path &quot;C:\deploy\Sitecore.IdentityServer.1.0.65.zip&quot;&#xA;    CommerceEngineCertificatePath      = Resolve-Path -Path &quot;C:\deploy\Sitecore.cer&quot;        &#xA;    SiteUtilitiesSrc                   = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SiteUtilityPages&quot; )    &#xA;    HabitatImagesModuleFullPath        = Resolve-Path -Path &quot;C:\deploy\Sitecore.Commerce.Habitat.Images-1.0.0.zip&quot;  &#xA;    AdvImagesModuleFullPath            = Resolve-Path -Path &quot;C:\deploy\Adventure Works Images.zip&quot;  &#xA;    CommerceConnectModuleFullPath      = Resolve-Path -Path &quot;C:\deploy\Sitecore Commerce Connect Core 11.0.192.zip&quot; &#xA;    CEConnectPackageFullPath           = Resolve-Path -Path &quot;C:\deploy\Sitecore.Commerce.Engine.Connect.2.0.835.update&quot;&#xA;    PowerShellExtensionsModuleFullPath = Resolve-Path -Path &quot;C:\deploy\Assets\Sitecore PowerShell Extensions-4.7.2 for Sitecore 8.zip&quot;&#xA;    SXAModuleFullPath                  = Resolve-Path -Path &quot;C:\deploy\Assets\Sitecore Experience Accelerator 1.6 rev. 180103 for 9.0.zip&quot;&#xA;    SXACommerceModuleFullPath          = Resolve-Path -Path &quot;C:\deploy\Sitecore Commerce Experience Accelerator 1.0.2184.zip&quot;&#xA;    SXAStorefrontModuleFullPath        = Resolve-Path -Path &quot;C:\deploy\Sitecore Commerce Experience Accelerator Storefront 1.0.2184.zip&quot;&#xA;    SXAStorefrontThemeModuleFullPath   = Resolve-Path -Path &quot;C:\deploy\Sitecore Commerce Experience Accelerator Storefront Themes 1.0.2184.zip&quot;&#xA;    SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path &quot;C:\deploy\Sitecore Commerce Experience Accelerator Habitat Catalog 1.0.2184.zip&quot;&#xA;    MergeToolFullPath                  = Resolve-Path -Path &quot;C:\deploy\Assets\Microsoft.Web.XmlTransform.dll&quot;&#xA;    UserAccount                        = @{&#xA;        Domain   = $Env:COMPUTERNAME&#xA;        UserName = 'CSFndRuntimeUser'&#xA;        Password = 'Pu8azaCr'&#xA;    }&#xA;    BraintreeAccount                   = @{&#xA;        MerchantId = ''&#xA;        PublicKey  = ''&#xA;        PrivateKey = ''&#xA;    }&#xA;    SitecoreIdentityServerName         = &quot;SitecoreIdentityServer&quot;&#xA;}&#xA;&#xA;if ($CommerceSearchProvider -eq &quot;SOLR&quot;) {&#xA;    Install-SitecoreConfiguration @params&#xA;}&#xA;elseif ($CommerceSearchProvider -eq &quot;AZURE&quot;) {&#xA;    Install-SitecoreConfiguration @params -Skip InstallSolrCores&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, after running &quot;Deploy-Sitecore-Commerce.ps1&quot; in Admin mode, I'm getting below error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;**********************&#xA;Windows PowerShell transcript start&#xA;Start time: 20180313130237&#xA;Username: AFSHIN-DELL\Afshin&#xA;RunAs User: AFSHIN-DELL\Afshin&#xA;Configuration Name: &#xA;Machine: AFSHIN-DELL (Microsoft Windows NT 10.0.16299.0)&#xA;Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe&#xA;Process ID: 1896&#xA;PSVersion: 5.1.16299.248&#xA;PSEdition: Desktop&#xA;PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.16299.248&#xA;BuildVersion: 10.0.16299.248&#xA;CLRVersion: 4.0.30319.42000&#xA;WSManStackVersion: 3.0&#xA;PSRemotingProtocolVersion: 2.3&#xA;SerializationVersion: 1.1.0.1&#xA;**********************&#xA;Transcript started, output file is C:\deploy\SIF.Sitecore.Commerce.1.0.1748\SXAStorefront.CreateBinding.180313.log&#xA;                                                 ************************************&#xA;                                                      Sitecore Install Framework&#xA;                                                           Version - 1.1.0&#xA;                                                 ************************************&#xA;&#xA;&#xA;WorkingDirectory  : C:\deploy\SIF.Sitecore.Commerce.1.0.1748&#xA;LogPath           : C:\deploy\SIF.Sitecore.Commerce.1.0.1748\SXAStorefront.CreateBinding.180313.log&#xA;WhatIf            : False&#xA;Verbose           : SilentlyContinue&#xA;Configuration     : C:\deploy\SIF.Sitecore.Commerce.1.0.1748\Configuration\Commerce\SXAStorefront\SXAStorefront.CreateBinding.json&#xA;Debug             : SilentlyContinue&#xA;WarningAction     : Continue&#xA;ErrorAction       : Stop&#xA;InformationAction : Continue&#xA;&#xA;&#xA;&#xA;&#xA;[---------------------------------------------------- CreatePaths : EnsurePath -----------------------------------------------------]&#xA;[CreatePaths]:[Create] c:\certificates&#xA;&#xA;[----------------------------------------------- CreateSignedCert : NewSignedCertificate -------------------------------------------]&#xA;&#xA;FileInfo                        Certificate&#xA;--------                        -----------&#xA;C:\certificates\ConnectSite.crt [Subject]...&#xA;&#xA;&#xA;&#xA;[---------------------------------------------------- StopWebsite : ManageWebsite --------------------------------------------------]&#xA;[StopWebsite]:[Stop] ConnectSite&#xA;**********************&#xA;Command start time: 20180313130239&#xA;**********************&#xA;PS&amp;gt;TerminatingError(Get-WebItemState): &quot;Cannot find path 'IIS:\Sites\ConnectSite' because it does not exist.&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(Get-WebItemState): &quot;Cannot find path 'IIS:\Sites\ConnectSite' because it does not exist.&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(Get-WebItemState): &quot;Cannot find path 'IIS:\Sites\ConnectSite' because it does not exist.&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(Invoke-ManageWebsiteTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Cannot find path 'IIS:\Sites\ConnectSite' because it does not exist.&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(Invoke-ManageWebsiteTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Cannot find path 'IIS:\Sites\ConnectSite' because it does not exist.&quot;&#xA;Install-SitecoreConfiguration : Cannot find path 'IIS:\Sites\ConnectSite' because it does not exist.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.1.0\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:02&#xA;**********************&#xA;Windows PowerShell transcript end&#xA;End time: 20180313130239&#xA;**********************&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can anyone please kindly help me to get rid of that error please?&lt;/p&gt;&#xA;" OwnerUserId="3167" LastEditorUserId="2727" LastEditDate="2018-03-14T10:48:21.477" LastActivityDate="2018-04-09T11:01:02.800" Title="Installing Sitecore Commerce 9 on Dev" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10734" PostTypeId="2" ParentId="10709" CreationDate="2018-03-13T03:12:25.020" Score="3" Body="&lt;p&gt;The Sitecore URL rewrite module is conceptually based on the IIS Rewrite Module Shiva referenced.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would essentially do the same thing Shiva outlined but withing Sitecore using the Inbound Rule with a Condition instead of the Simple Redirect way you are trying now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new Inbound Rule item - call it whatever you want&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Pattern: (.*)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a new Condition Item under the item above called HTTP_HOST&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Condition Input Ty[e: {HTTP_HOST}&lt;/li&gt;&#xA;&lt;li&gt;Pattern: location.mysite.com&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a new Redirect Item under item created in step 1&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rewrite URL: Either do internal link or external link to where you want to redirect users to&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Should look something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/juOFY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/juOFY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="575" LastActivityDate="2018-03-13T03:12:25.020" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="10736" PostTypeId="2" ParentId="10733" CreationDate="2018-03-13T05:15:15.833" Score="2" Body="&lt;p&gt;From the screenshot provided it is evident that you haven't installed &lt;code&gt;Sitecore 9&lt;/code&gt; before installing &lt;code&gt;Sitecore Experience Commerce 9 (Sitecore XC 9)&lt;/code&gt; that's why &lt;strong&gt;'ConnectSite'&lt;/strong&gt; cannot be found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please follow my blog post with step by step guide how to install &lt;code&gt;Sitecore XC 9&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://tothecore.sk/2018/02/07/installing-sitecore-experience-commerce-sxc-9-0-initial-release&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/02/07/installing-sitecore-experience-commerce-sxc-9-0-initial-release&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have trouble installing &lt;code&gt;Sitecore 9&lt;/code&gt;, follow my blog series with also step by step guidelines how to do that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://tothecore.sk/2018/02/06/installing-sitecore-9-0-1-series&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/02/06/installing-sitecore-9-0-1-series&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will show you how to prepare environment with all prerequisites, then how to install and configure SOLR to run on SSL and last part is finally installing Sitecore instance using Sitecore Installation Framework (SIF).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use latest version of SIF - 1.2.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-13T05:15:15.833" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10737" PostTypeId="2" ParentId="10732" CreationDate="2018-03-13T06:44:31.567" Score="2" Body="&lt;p&gt;There are no features built in to SIF to support this (as of 1.2.0) but it may be possible to do so in the future as more features are added (e.g. direct SQL support for db backups).&lt;/p&gt;&#xA;" OwnerUserId="128" LastActivityDate="2018-03-13T06:44:31.567" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10738" PostTypeId="2" ParentId="490" CreationDate="2018-03-13T07:34:57.667" Score="2" Body="&lt;p&gt;As discussed in earlier answers, &lt;a href=&quot;https://ctor.io/one-way-to-implement-dependency-injection-for-sitecore-habitat/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Kevin Brechbühl&lt;/a&gt; handles the modular architecture, but adds a reference to the container in all modules. This tight coupling breaks the Composition Root pattern as described by &lt;a href=&quot;http://www.sitecorenutsbolts.net/2016/09/17/Habitat-Dependency-Injection-with-Sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Richard Seal&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Composition Root patterns says “&lt;strong&gt;&lt;em&gt;A DI Container should only be referenced from the Composition Root. All other modules should have no reference to the container.&lt;/em&gt;&lt;/strong&gt;”&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In practice, this means that you should configure the container at the root of your application.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In a desktop app, that would be in the Main method (or very close to&#xA;it)&lt;/li&gt;&#xA;&lt;li&gt;In an ASP.NET (including MVC) application, that would be in&#xA;Global.asax&lt;/li&gt;&#xA;&lt;li&gt;In WCF, that would be in a ServiceHostFactory&lt;/li&gt;&#xA;&lt;li&gt;etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The solution of this problem is to register all dependency at one place, which seems to be very difficult in component based architecture following Helix principles.  But we got a way to do it with &lt;strong&gt;Microsoft Dependency Injection Abstractions&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can use reflection to load or register all dependencies (attributed with specific type) at one place in Foundation module.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void AddClassesWithServiceAttribute(this IServiceCollection serviceCollection, params Assembly[] assemblies)&#xA;{&#xA;   var typesWithAttributes = assemblies&#xA;       .Where(assembly =&amp;gt; !assembly.IsDynamic)&#xA;       .SelectMany(GetExportedTypes)&#xA;       .Where(type =&amp;gt; !type.IsAbstract &amp;amp;&amp;amp; !type.IsGenericTypeDefinition)&#xA;       .Select(type =&amp;gt; new { type.GetCustomAttribute&amp;lt;ServiceAttribute&amp;gt;()?.Lifetime, ServiceType = type, ImplementationType = type.GetCustomAttribute&amp;lt;ServiceAttribute&amp;gt;()?.ServiceType })&#xA;       .Where(t =&amp;gt; t.Lifetime != null);&#xA;&#xA;   foreach (var type in typesWithAttributes)&#xA;   {&#xA;       if (type.ImplementationType == null&#xA;           serviceCollection.Add(type.ServiceType, type.Lifetime.Value);&#xA;       else&#xA;           serviceCollection.Add(type.ImplementationType, type.ServiceType, type.Lifetime.Value);&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then we can write configurator, this will add our registrations to the &lt;code&gt;IServiceCollection&lt;/code&gt; for the application.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Foundation.DependencyInjection.Infrastructure&#xA;{&#xA;   using Microsoft.Extensions.DependencyInjection;&#xA;   using Sitecore.DependencyInjection;&#xA;&#xA;   public class MvcControllerServicesConfigurator : IServicesConfigurator&#xA;   {&#xA;       public void Configure(IServiceCollection serviceCollection)&#xA;       {&#xA;          serviceCollection.AddMvcControllers(&quot;*.Feature.*&quot;);&#xA;          serviceCollection.AddClassesWithServiceAttribute(&quot;*.Feature.*&quot;);&#xA;          serviceCollection.AddClassesWithServiceAttribute(&quot;*.Foundation.*&quot;);&#xA;       }&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, we need to add the config for Sitecore to know about the configurator&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;       &amp;lt;services&amp;gt;&#xA;           &amp;lt;configurator type=&quot;Sitecore.Foundation.DependencyInjection.Infrastructure.MvcControllerServicesConfigurator, Sitecore.Foundation.DependencyInjection&quot;/&amp;gt;&#xA;       &amp;lt;/services&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find step by step implementation of this concept in Helix based solution &lt;a href=&quot;https://www.linkedin.com/pulse/dependency-injection-sitecore-helix-based-application-arvind-gehlot-1/?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_post_details%3BAPrVTkRQTTWBzyB378DrJQ%3D%3D&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-03-13T07:34:57.667" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10739" PostTypeId="1" AcceptedAnswerId="10794" CreationDate="2018-03-13T07:39:55.600" Score="2" ViewCount="403" Body="&lt;p&gt;We have created master site using &lt;code&gt;SXA 1.6&lt;/code&gt; in &lt;code&gt;Sitecore 9.0.1&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are aiming to have different sites for different &quot;brands&quot; based on this master site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want to reuse content from the master site as much as possible and only change content slightly (like changing some banners and change text a bit on couple of places) and also create a theme to have different look and feel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What is the best practice here with SXA? &lt;/li&gt;&#xA;&lt;li&gt;How to create multisite in this case?&lt;/li&gt;&#xA;&lt;li&gt;Do we need some configuration changes or it can be purely managed in Sitecore?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-16T05:24:01.073" Title="How to create multisite solution in SXA 1.6 with different themes" Tags="|sxa|multisite|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10740" PostTypeId="2" ParentId="10733" CreationDate="2018-03-13T11:19:24.247" Score="1" Body="&lt;p&gt;Before installing Sitecore Commerce you need to read this document very carefully &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first line on page 8 in above pdf is-&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The instructions in this document assumes that you have already&#xA;  installed the Sitecore XP 9.0 software on your system, as described in&#xA;  the Sitecore Experience Platform Installation Guide.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;so please refer this document and one more thing please update the parameter's value in the PowerShell script with your local environment values(refer page 13, 14, 15 for more details)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case &quot;&lt;strong&gt;ConnectSite&lt;/strong&gt;&quot; is the name for the Sitecore 9 site name and it should exist before running the commerce setup script.&lt;/p&gt;&#xA;" OwnerUserId="1499" LastActivityDate="2018-03-13T11:19:24.247" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10741" PostTypeId="1" CreationDate="2018-03-13T11:48:38.527" Score="2" ViewCount="507" Body="&lt;p&gt;Using Sitecore aliases, I want to go the a page with a query string. For example I want to go to &lt;code&gt;test/myOriginalPage?query=myQuery&lt;/code&gt; using an alias &lt;code&gt;/myAlias&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only fields I could set are &lt;strong&gt;&quot;Path&quot;&lt;/strong&gt; (name of the alias) and &lt;strong&gt;&quot;Target&quot;&lt;/strong&gt; (target page I want to go). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Typing &lt;code&gt;test/myAlias&lt;/code&gt; lets me go to &lt;code&gt;test/myOriginalPage&lt;/code&gt; which is okay, but I need to also have the query string &lt;code&gt;?query=myQuery&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to add query strings as well? Or do I need to modify the code?&lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="605" LastEditDate="2018-03-13T11:59:39.437" LastActivityDate="2018-03-13T11:59:39.437" Title="Alias with query string" Tags="|urls|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10742" PostTypeId="2" ParentId="10741" CreationDate="2018-03-13T11:58:26.797" Score="2" Body="&lt;p&gt;You won't be able to do this with an ootb alias and customizing that code just for a querystring seems a bit overkill. Why not use redirects? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a redirect module on the marketplace (&lt;a href=&quot;https://marketplace.sitecore.net/Modules/3/301_Redirect_module.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/3/301_Redirect_module.aspx?sc_lang=en&lt;/a&gt;) that can help. This one can redirect to an item or a url, which can include a querystring.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-03-13T11:58:26.797" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10743" PostTypeId="2" ParentId="10426" CreationDate="2018-03-13T12:06:13.243" Score="3" Body="&lt;p&gt;It doesn't have to break Sitecore itself; it depends on how restrictive you want to be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found that I have to allow unsafe-inline and unsafe-eval for script, and most other media needs to be &quot;self&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The project I'm working on currently uses the following (it's quite loose - lots of media from other domains):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;default-src * 'self' 'unsafe-inline' ; script-src 'self' data: 'unsafe-inline' 'unsafe-eval' [remove various analytics] ; connect-src * ; upgrade-insecure-requests; block-all-mixed-content;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Seems to work okay, but you might want something more restrictive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so, a good option then would be to turn on your CSP in Report-Only mode. Set a policy something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;default-src 'self' 'unsafe-inline' ; script-src 'self' 'unsafe-inline' ; upgrade-insecure-requests; block-all-mixed-content;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Use a service such as &lt;a href=&quot;https://report-uri.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;report-uri.com&lt;/a&gt; to record violations (or just monitor the console in Chrome's DevTools), and try using it for a while. Once you've got some violations, review, and adjust your policy.&lt;/p&gt;&#xA;" OwnerUserId="1985" LastActivityDate="2018-03-13T12:06:13.243" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10744" PostTypeId="1" CreationDate="2018-03-13T12:27:18.937" Score="3" ViewCount="819" Body="&lt;p&gt;I need to create &lt;strong&gt;multiple CM Servers&lt;/strong&gt; (behind Load Balancer) in Azure VM. I have gone through the &lt;strong&gt;scaling guidelines&lt;/strong&gt; mentioned at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-horizontally/index.html#multiple-content-management-instances&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-horizontally/index.html#multiple-content-management-instances&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But there are &lt;strong&gt;no instructions&lt;/strong&gt; to create &lt;strong&gt;single point of publishing&lt;/strong&gt; (i.e. only one CMS can do the publishing) as mentioned in old scaling guide at:&#xA;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/scaling_guide_sc70_a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore7/70/scaling_guide_sc70_a4.pdf&lt;/a&gt;&#xA;(Page 28)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is, is single point of publishing is still applicable with &lt;code&gt;Sitecore 9&lt;/code&gt; or not?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Nicks &lt;/p&gt;&#xA;" OwnerUserId="1482" LastEditorUserId="73" LastEditDate="2018-04-13T19:31:17.050" LastActivityDate="2018-04-13T19:31:17.050" Title="Publishing Scaling multiple CM servers" Tags="|publishing-service|scaling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10746" PostTypeId="2" ParentId="10744" CreationDate="2018-03-13T12:43:30.870" Score="2" Body="&lt;p&gt;&lt;strong&gt;A) Using Publishing Service&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9 has XM services and only service currently available is Publishing Service. As you are using Sitecore 9, I would definitely go with this Publishing Service which is best option in scaled CMS setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look here for further details:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/xm-service-roles/publishing-service.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/xm-service-roles/publishing-service.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the download page for Sitecore 9 compatible Publishing Service:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service/31/Sitecore_Publishing_Service_31_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service/31/Sitecore_Publishing_Service_31_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look on Installation Guide:&#xA;&lt;a href=&quot;https://dev.sitecore.net/~/media/B54F1A3A1BAA4B0C8DF5B41C893670F2.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/~/media/B54F1A3A1BAA4B0C8DF5B41C893670F2.ashx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;B) Without Publishing Service&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you do not want to use Publishing Service (and opt for old fashioned way :)) follow these doc articles:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Configuration for CM servers - &lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/content-management/index.html#configure-multiple-cm-servers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/content-management/index.html#configure-multiple-cm-servers&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Configuration for CD servers - &lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/content-delivery.html#configure-multiple-cd-servers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/content-delivery.html#configure-multiple-cd-servers&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-13T15:43:00.730" LastActivityDate="2018-03-13T15:43:00.730" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10747" PostTypeId="2" ParentId="10732" CreationDate="2018-03-13T13:10:10.083" Score="0" Body="&lt;p&gt;You can take backup of the Sitecore 9 sites using SIM now. I am sure you might have encountered a bug like this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sBGEx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sBGEx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read on the SIM site that they fix the issues on QA version so frequently And make sure you have the latest SIM QA version. Please download SIM QA version: &lt;a href=&quot;http://dl.sitecore.net/updater/qa/sim/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dl.sitecore.net/updater/qa/sim/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That will be solved. &lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-13T13:10:10.083" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10750" PostTypeId="2" ParentId="1615" CreationDate="2018-03-13T13:33:46.640" Score="2" Body="&lt;p&gt;What I would add to this conversation is that publishing with related items can snowball easily to a few hundred items from even a single item which is why I use this option in very select moments and usually not while publishing more than one item and the same time if it can be helped.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I find that &quot;smart publishing&quot; in the long run takes less time where publishing is concerned and it is designed to pick up unpublished items which should take care of any &quot;related items&quot; which has been missed. &lt;/p&gt;&#xA;" OwnerUserId="429" LastActivityDate="2018-03-13T13:33:46.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10751" PostTypeId="1" CreationDate="2018-03-13T13:54:12.907" Score="1" ViewCount="386" Body="&lt;p&gt;The Experience Editor is showing the following message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A serious error occurred please contact the administrator&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sitecore logs are displaying the following information:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;6732 11:46:21 ERROR Error processing command url:**/-/speak/request/v1/expeditor/ExperienceEditor.Device.IconLabel** error:System.Web.Mvc.**HttpAntiForgeryException (0x80004005)**: The provided anti-forgery token was meant for user &quot;sitecore\expecteduser&quot;, but the current user is &quot;sitecore\Other User&quot;.&#xA;   at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken)&#xA;   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext)&#xA;   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.Process(HttpContext context)&#xA;   at Sitecore.ExperienceEditor.Speak.Server.RequestHandler.ProcessRequest(HttpContext context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Sitecore version is: 8.2 rev 170728&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help will be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="595" LastEditorUserId="2727" LastEditDate="2018-03-13T16:52:01.957" LastActivityDate="2018-03-13T16:52:01.957" Title="HttpAntiForgeryException (0x80004005)" Tags="|experience-editor|security|speak|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10752" PostTypeId="1" CreationDate="2018-03-13T14:50:04.527" Score="6" ViewCount="289" Body="&lt;p&gt;We send a mail when a customer fill up a simple form. We want to trigger an event if that customer don't open that mail in 7 days. How to achieve this goal in sitecore 9 using marketing automation? &lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="2727" LastEditDate="2018-03-13T18:25:30.240" LastActivityDate="2020-03-18T04:37:48.303" Title="How to trigger an event when a customer don't open email using sitecore 9" Tags="|exm|xconnect|marketing-automation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10753" PostTypeId="2" ParentId="10752" CreationDate="2018-03-13T15:30:53.100" Score="1" Body="&lt;p&gt;These steps should help you achieve your intentions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add custom submit action to your form which will save contact data (at least email) follow this &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&quot; rel=&quot;nofollow noreferrer&quot;&gt;doc article&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Create goal and trigger it as another submit action on your form&lt;/li&gt;&#xA;&lt;li&gt;Create another goal which you assign when somebody opens page from your link from email (probably you will have link in email)&lt;/li&gt;&#xA;&lt;li&gt;Add goal from step 2 as initial event to your Marketing Automation and set rule when this goal is triggered start this marketing automation&lt;/li&gt;&#xA;&lt;li&gt;Add another step in Marketing Automation which will listen 7 days to goal from step 3&lt;/li&gt;&#xA;&lt;li&gt;If goal is triggered, assign your event as next step; If it's triggered you can assigned different functionality; There will be a yes/no branch in triggered goal condition&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-13T15:40:05.627" LastActivityDate="2018-03-13T15:40:05.627" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10754" PostTypeId="2" ParentId="10634" CreationDate="2018-03-13T16:55:04.290" Score="1" Body="&lt;p&gt;Figured out the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There was specific web.config in the layouts folder that was generated and had this line in it, which was blocking all files.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add name=&quot;BlockViewHandler&quot; path=&quot;*&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.HttpNotFoundHandler&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Updating this to only block cshtml and ascx files has fixed the issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add name=&quot;BlockViewHandler&quot; path=&quot;*.cshtml,*.ascx&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.HttpNotFoundHandler&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3351" LastActivityDate="2018-03-13T16:55:04.290" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10755" PostTypeId="2" ParentId="10708" CreationDate="2018-03-13T17:23:17.377" Score="2" Body="&lt;p&gt;What we have in Global.asax (could be added to &lt;code&gt;Initialize&lt;/code&gt; pipeline):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;BundleTable.Bundles..Add(new StyleBundle(&quot;~/bundles/someStyles&quot;).Include(&#xA;            &quot;~/path to css 1&quot;,&#xA;            &quot;~/path to css 3&quot;,&#xA;            &quot;....&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then we add bundled styles to layout in a next way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Styles.RenderFormat(&quot;&amp;lt;link href=\&quot;{0}\&quot; rel=\&quot;stylesheet\&quot;/&amp;gt;&quot;, &quot;~/bundles/someStyles&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It works fine for us&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-03-13T17:23:17.377" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10756" PostTypeId="1" AcceptedAnswerId="11539" CreationDate="2018-03-13T19:03:40.927" Score="3" ViewCount="548" Body="&lt;p&gt;After enabling the Sitecore 9 analytics, when I open the Experience Profile, I see all the WebApi ajax calling as page view events or page events in the Experience Profile. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why this is happening? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to prevent that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;BTW, in our system, session is enabled for WebApi calls. &lt;/p&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="2727" LastEditDate="2018-03-14T09:17:51.913" LastActivityDate="2022-08-01T21:15:57.613" Title="Analytics showing ajax calls as page view events. How to prevent that?" Tags="|experience-analytics|xconnect|experience-profile|tracking|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10757" PostTypeId="1" AcceptedAnswerId="10758" CreationDate="2018-03-13T19:13:36.070" Score="1" ViewCount="612" Body="&lt;p&gt;I'm having issues with variables when using SPE Remoting with OctopusDeploy, where method-local variables can't be used. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get this error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;The value of the using variable '$using:propertyTableKey' cannot be retrieved because it has not been set in the local session.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else encountered this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get around it, I need to set a global variable in the script just so it's available...but even then, it can only be initialized, and never updated. (the initialized value is always passed in).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my original code, how I wish to use it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Invoke-SPERemoteScriptForPropertyTableValue {&#xA;  Param([string]$propertyTableKey)&#xA;&#xA;  $hashValue = -1&#xA;  $script = {&#xA;    $db = Get-Database &quot;core&quot;&#xA;    $previousValue = $db.Properties.GetLongValue($using:propertyTableKey, -1000)&#xA;&#xA;    $previousValue&#xA;  }&#xA;&#xA;  $session = New-ScriptSession -Username $User -Password $Pass -ConnectionUri $Url&#xA;  $myValue = Invoke-RemoteScript -Session $session -ScriptBlock $script -ErrorAction Stop -Verbose   &#xA;  Stop-ScriptSession  -Session $session&#xA;  $session = $null&#xA;&#xA;  return $myValue&#xA;}&#xA;&#xA;function Invoke-Script($propertyKeys)&#xA;{&#xA;  foreach ($propertyKey in $propertyKeys)&#xA;  {&#xA;    $propertyValue = Invoke-SPERemoteScriptForPropertyTableValue $propertyKey&#xA;    Write-Host &quot;Property Value for Key $propertyKey is $propertyValue&quot;&#xA;  }&#xA;}&#xA;&#xA;$User = $OctopusParameters['SitecoreUserName']&#xA;$Pass = $OctopusParameters['SitecoreUserPassword']&#xA;$Url = $OctopusParameters['Url']&#xA;$myArray = &quot;Prop1&quot;, &quot;Prop2&quot;,&quot;Prop3&quot;&#xA;&#xA;Invoke-Script $myArray&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is placed in a StepTemplate in Octopus Deploy. The connection to Sitecore works, and I can run other code in the script block successfully, however I can't have dynamic values being passed in to my script block.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know why this isn't working correctly?&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2018-03-13T19:28:50.503" Title="Sitecore PowerShell Extensions Remoting variables not working in Octopus Deploy" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10758" PostTypeId="2" ParentId="10757" CreationDate="2018-03-13T19:28:50.503" Score="2" Body="&lt;p&gt;Without having an instance of Octopus Deploy, here are some items for consideration:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The syntax &lt;code&gt;$using:VARIABLE_NAME&lt;/code&gt; is used in the context of a&#xA;remote server command. So you will only see it for a command such as&#xA;&lt;code&gt;Invoke-Command&lt;/code&gt; which runs through WinRM or &lt;code&gt;Invoke-RemoteScript&lt;/code&gt;&#xA;which runs through the SPE Remoting services. In the case of SPE,&#xA;the &lt;code&gt;$using:&lt;/code&gt; is converted to a different variable name before being&#xA;serialized and channeled to the web service.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Try using the &lt;code&gt;-ArgumentList&lt;/code&gt; parameter on &lt;code&gt;Invoke-RemoteScript&lt;/code&gt;. I believe the data is passed to a variable called &lt;code&gt;$params&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# The following remotely executes a script in Sitecore with arguments.&#xA;&#xA;$script = {&#xA;    [Sitecore.Security.Accounts.User]$user = Get-User -Identity admin&#xA;    $user&#xA;    $params.date.ToString()&#xA;}&#xA;&#xA;$args = @{&#xA;    &quot;date&quot; = [datetime]::Now&#xA;}&#xA;&#xA;$session = New-ScriptSession -Username admin -Password b -ConnectionUri http://remotesitecore&#xA;Invoke-RemoteScript -Session $session -ScriptBlock $script -ArgumentList $args&#xA;Stop-ScriptSession -Session $session&#xA;&#xA;Name                     Domain       IsAdministrator IsAuthenticated&#xA;----                     ------       --------------- ---------------&#xA;sitecore\admin           sitecore     True            False          &#xA;6/25/2015 11:09:17 AM&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-03-13T19:28:50.503" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10759" PostTypeId="1" CreationDate="2018-03-13T19:51:38.437" Score="3" ViewCount="1241" Body="&lt;p&gt;How to perform bundling and minification of Javascript and CSS files kept in sitecore/media library path.&lt;/p&gt;&#xA;" OwnerUserId="1884" LastActivityDate="2019-10-04T10:08:47.370" Title="Bundling and Minification of Javascript and CSS files" Tags="|performance|bundling|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10761" PostTypeId="2" ParentId="10756" CreationDate="2018-03-13T21:17:35.340" Score="0" Body="&lt;p&gt;Take a look on page event settings for &quot;Page Visit&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/configuring_the_xfile/configure_a_page_event_to_appear_in_the_experience_profile&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/experience_profile/configuring_the_xfile/configure_a_page_event_to_appear_in_the_experience_profile&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think that if you modify &quot;Rules&quot; field you can filter out traffic to web api.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-13T21:17:35.340" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10763" PostTypeId="1" AcceptedAnswerId="10764" CreationDate="2018-03-14T03:21:13.103" Score="1" ViewCount="126" Body="&lt;p&gt;I've added a custom EntityView via &lt;code&gt;IGetEntityViewPipeline&lt;/code&gt;, but none of the text is appearing. I can see that it's been rendered, but all of the text values are blank (even in the rendered markup).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;entityView.ChildViews.Add(new EntityView()&#xA;{&#xA;    EntityId = entityViewArgument.Entity?.Id ?? string.Empty,&#xA;    Name = myCustomViewsPolicy.ViewName,&#xA;    UiHint = &quot;Flat&quot;,&#xA;    ItemId = entityView.ItemId,&#xA;    Properties = new List&amp;lt;ViewProperty&amp;gt;&#xA;    {&#xA;        new ViewProperty&#xA;        {&#xA;            Name = nameof(CustomComponent.Property1),&#xA;            RawValue = customComponent.Property1,&#xA;            IsReadOnly = true&#xA;        },&#xA;        new ViewProperty&#xA;        {&#xA;            Name = nameof(CustomComponent.Property2),&#xA;            RawValue = customComponent.Property2,&#xA;            IsReadOnly = true&#xA;        }&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2018-03-14T03:21:40.290" LastActivityDate="2018-03-14T03:21:40.290" Title="Custom EnttiyView / PropertyView labels are appearing blank in BizFX" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10764" PostTypeId="2" ParentId="10763" CreationDate="2018-03-14T03:21:28.833" Score="1" Body="&lt;p&gt;The problem here comes down to pipeline block placement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The properties that are used to display the labels in BizFX are actually &lt;code&gt;EntityView.DisplayName&lt;/code&gt;, &lt;code&gt;ViewProperty.DisplayName&lt;/code&gt;, and &lt;code&gt;ViewProperty.Value&lt;/code&gt;. &lt;code&gt;IGetEntityViewPipeline&lt;/code&gt; is configured to end by invoking the &lt;code&gt;IFormatEntityViewPipeline&lt;/code&gt; pipeline, which attempts to resolve reasonable values for the display properties (which can be overridden by defining &quot;Business Terms&quot; in Sitecore).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't specify a position when you register your custom block it will be placed at the end of the pipeline, &lt;em&gt;after&lt;/em&gt; &lt;code&gt;IFormatEntityViewPipeline&lt;/code&gt; has already run. And since that means your custom view doesn't have any values in the display properties, they appear blank in the UI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution is to either register your block &lt;em&gt;after&lt;/em&gt; a known block or &lt;em&gt;before&lt;/em&gt; &lt;code&gt;IFormatEntityViewPipeline&lt;/code&gt; (depending on what semantics are most relevant to understanding your intent):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;services.Sitecore().Pipelines(p =&amp;gt; p&#xA;    .ConfigurePipeline&amp;lt;IGetEntityViewPipeline&amp;gt;(c =&amp;gt; c&#xA;&#xA;    // Either of these two will do the job:&#xA;&#xA;        .Add&amp;lt;CustomViewBlock&amp;gt;()&#xA;            .After&amp;lt;GetSellableItemDetailsViewBlock&amp;gt;()&#xA;&#xA;        .Add&amp;lt;CustomViewBlock&amp;gt;()&#xA;            .Before&amp;lt;IFormatEntityViewPipeline&amp;gt;()&#xA;    )&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-03-14T03:21:28.833" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10766" PostTypeId="1" CreationDate="2018-03-14T05:15:43.530" Score="6" ViewCount="1053" Body="&lt;p&gt;I have read the marketing automation documentation about how the automation works and it's usage -  &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_automation/marketing_automation_campaigns/marketing_automation_campaigns&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_automation/marketing_automation_campaigns/marketing_automation_campaigns&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you create an automation campaign, you create a system whereby a&#xA;  particular part of a &lt;strong&gt;certain contact's online activity&lt;/strong&gt; is subject to a&#xA;  set of rules and conditions that determine &lt;strong&gt;when specific actions or&#xA;  activities are performed for these contacts.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, I have a simple use case that I want to send an automated email campaign via the marketing automation without the users triggering anything from the website such as visiting a page, log in, check triggered goal, and etc. Basically, what the intent is to use a rule at the &lt;em&gt;start&lt;/em&gt; element and that will scan all the contacts from the contacts database, send an email and end the automation. In other words, enroll the contacts not by completion of a goal but by simply activating the marketing automation plan. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible? I am looking at the contacts in the 'report view', but my contacts are not registering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hquPL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hquPL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This segmented rule is working when I open it in the list manager. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;where the Contact Identifier Source &lt;strong&gt;is case insensitive and equal&#xA;  to COMPANYABC&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qwQQo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qwQQo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, to my question, is this possible? or the marketing automation is only can be triggered by user/visitor actions? Note that sending an email via EXM regular campaign and use the segmented list as the recipient is not an option for me due to this issue: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10710/send-email-with-segmented-list-skipped-during-message-delivery&quot;&gt;Send email with Segmented List - Skipped during message delivery&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, tried the following conditions as well (will add more as I progress)&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;when the current month is &lt;strong&gt;March&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;when gender equals &lt;strong&gt;Male&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="1605" LastEditDate="2018-03-14T08:53:00.487" LastActivityDate="2021-11-13T23:33:22.063" Title="Send email upon activation of the Marketing Automation plan" Tags="|exm|segmentation|marketing-automation|segmented-list|" AnswerCount="2" CommentCount="12" ContentLicense="CC BY-SA 3.0" />
  <row Id="10767" PostTypeId="2" ParentId="10766" CreationDate="2018-03-14T07:17:56.817" Score="0" Body="&lt;p&gt;There are two options how contact can be added into Marketing Automation Campaign:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;As a result of an action - goal, outcome or event are/is triggered. You can put there 'AND' or 'OR' conditions between these.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;By using rule. Unfortunately, it seems that there is either a bug or it needs to be configured somehow in order to make it working based on discussion here and also my tryouts.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For the first scenario best would be to create a Goal and trigger it programmatically during login where you are creating contacts following this doc article:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/add-events.html#adding-a-goal-to-an-interaction&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/add-events.html#adding-a-goal-to-an-interaction&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you create goal, configure it as &quot;Live Event&quot; by checking &quot;IsLiveEvent&quot; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/marketing-operations/marketing-operations-api/definition-managers/goals.html#live-events&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/marketing-operations/marketing-operations-api/definition-managers/goals.html#live-events&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will speed up processing of goal triggered and therefore also Marketing Automation campaign will be started for that contact almost instantly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in Marketing automation you just need to add that goal as Start action and you are good. This scenario is working for us nicely in couple of Marketing Automation Campaigns.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-14T07:17:56.817" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10768" PostTypeId="1" AcceptedAnswerId="10783" CreationDate="2018-03-14T07:44:48.720" Score="3" ViewCount="586" Body="&lt;p&gt;We are using &lt;code&gt;Sitecore 9.0.1&lt;/code&gt; and Marketing Automation heavily on our current small project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On one of our environments, we are getting &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Authorization has been denied for this request.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;when we are trying to create or update Marketing automation campaigns.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By latest testing this is happening only in Chrome 64.0.3282.186 (Official Build) (64-bit).&#xA;On Firefox 58.0.2 (64-bit) everything is working as expected.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;First popup is opened which is weird:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AunE1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AunE1.png&quot; alt=&quot;Popup is opened which is weird&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;And then exception is shown:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Hb2KI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hb2KI.png&quot; alt=&quot;Exception&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I can see that request to &lt;code&gt;{sitename}/sitecore/api/ma/plans/?cultureName=en&lt;/code&gt; is made when hitting &quot;Save&quot; button but ends with &lt;strong&gt;HTTP 403 Status Code&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HX2dQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HX2dQ.png&quot; alt=&quot;HTTP 403 Status Code&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the response:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;message&quot;:&quot;An error has occurred.&quot;,&quot;exceptionMessage&quot;:&quot;The required anti-forgery cookie \u0022__RequestVerificationToken\u0022 is not present.&quot;,&quot;exceptionType&quot;:&quot;System.Web.Mvc.HttpAntiForgeryException&quot;,&quot;stackTrace&quot;:&quot;   at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken)\r\n   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext, String cookieToken, String formToken)\r\n   at Sitecore.Web.Http.Filters.ValidateHttpAntiForgeryTokenAttribute.OnAuthorization(HttpActionContext actionContext)&quot;}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When I open &lt;code&gt;{sitename}/sitecore/api/ma/plans/?cultureName=en&lt;/code&gt; in new tab, I can see results without any problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/77Dw5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/77Dw5.png&quot; alt=&quot;Normal results in new tab&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced same behaviour? How can we fix this?&#xA;We can see nothing extraordinary in logs.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-14T14:24:46.373" LastActivityDate="2018-03-14T14:41:55.080" Title="Creating or editing Marketing Automation campaigns in Sitecore 9.0.1 is giving us &quot;Authorization has been denied for this request.&quot; in Chrome" Tags="|security|marketing-automation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10769" PostTypeId="1" CreationDate="2018-03-14T08:44:02.500" Score="6" ViewCount="1777" Body="&lt;p&gt;An error occurred during migration MongoDB data to XConnect. The same issue was registered but out of the Sitecore stack exchange.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/48302183/sitecore-xconnect-an-error-occurred-when-trying-to-create-a-controller-of-type&quot;&gt;https://stackoverflow.com/questions/48302183/sitecore-xconnect-an-error-occurred-when-trying-to-create-a-controller-of-type&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;An error occurred when trying to create a controller of type 'ContactsController'. Make sure that the controller has a parameterless public constructor.&quot;,&quot;ExceptionType&quot;:&quot;System.InvalidOperationException&quot;,&quot;StackTrace&quot;:&quot;   at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)\r\n   at Sitecore.XConnect.Web.DependencyInjection.WebApiServiceControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)\r\n   at System.Web.Http.Controllers.HttpControllerDescriptor.CreateController(HttpRequestMessage request)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()&quot;,&quot;InnerException&quot;:{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Type 'Sitecore.XConnect.Web.Controllers.ContactsController' does not have a default constructor&quot;,&quot;ExceptionType&quot;:&quot;System.ArgumentException&quot;,&quot;StackTrace&quot;:&quot;   at System.Linq.Expressions.Expression.New(Type type)\r\n   at System.Web.Http.Internal.TypeActivator.Create[TBase](Type instanceType)\r\n   at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.GetInstanceOrActivator(HttpRequestMessage request, Type controllerType, Func`1&amp;amp; activator)\r\n   at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)&quot;}} &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="843" LastEditorUserId="73" LastEditDate="2019-08-14T08:45:19.710" LastActivityDate="2024-03-02T05:01:15.160" Title="An error occurred when trying to create a controller of type 'ContactsController'" Tags="|xconnect|migration|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="10773" PostTypeId="1" CreationDate="2018-03-14T09:45:56.810" Score="1" ViewCount="189" Body="&lt;p&gt;Am attempting to upgrade from SC 8 Update 5 to SC 9 Initial Version using the Sitecore Express Migration Tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the problems I am facing, and am wondering if anyone is facing something similar.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Using Express Tool 3.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It prevents me from going to next screen from 'Instance parameters' screen. The parameters used are not long at all, and exactly the same ones to the one I used for Express Tool 3.1. Here is what the log captured:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CJTGk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CJTGk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Using Express Tool 3.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It doesn't allow me to select any items at all.&#xA; &lt;a href=&quot;https://i.stack.imgur.com/PaEiH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PaEiH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2916" LastEditorUserId="2727" LastEditDate="2018-03-20T08:10:04.090" LastActivityDate="2018-06-15T05:48:44.600" Title="The specified path too long exception while migrating data using Sitecore Express Migration Tool" Tags="|express-migration-tool|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10777" PostTypeId="2" ParentId="10629" CreationDate="2018-03-14T13:18:34.563" Score="4" Body="&lt;p&gt;I had a similar issue. Make sure you follow the below steps exactly as-is and I am sure you will see a difference.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Update &lt;strong&gt;&lt;em&gt;IndexerSettings.xml&lt;/em&gt;&lt;/strong&gt; file within &lt;strong&gt;&lt;em&gt;[site_prefix].xconnect\App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore\SearchIndexer&lt;/em&gt;&lt;/strong&gt; to change &lt;strong&gt;&lt;em&gt;IndexAnonymousContactData&lt;/em&gt;&lt;/strong&gt; to true&lt;/li&gt;&#xA;&lt;li&gt;Update &lt;strong&gt;&lt;em&gt;IndexerSettings.xml&lt;/em&gt;&lt;/strong&gt; within &lt;strong&gt;&lt;em&gt;[site_prefix].xconnect\App_data\config\sitecore\SearchIndexer&lt;/em&gt;&lt;/strong&gt; to change &lt;strong&gt;&lt;em&gt;IndexAnonymousContactData&lt;/em&gt;&lt;/strong&gt; to true&lt;/li&gt;&#xA;&lt;li&gt;Open command prompt in admin mode and navigate to &lt;strong&gt;&lt;em&gt;[site_prefix].xconnect\App_data\jobs\continuous\IndexWorker&lt;/em&gt;&lt;/strong&gt; and execute &lt;strong&gt;&lt;em&gt;XConnectSearchIndexer -rr&lt;/em&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;em&gt;XConnectSearchIndexer -requestrebuild&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Once done with the above steps, make sure to &lt;strong&gt;&lt;em&gt;rebuild your indexes and rebuild link databases&lt;/em&gt;&lt;/strong&gt;, both from Sitecore control panel.&lt;/p&gt;&#xA;" OwnerUserId="2704" LastActivityDate="2018-03-14T13:18:34.563" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10778" PostTypeId="2" ParentId="10433" CreationDate="2018-03-14T13:59:02.220" Score="1" Body="&lt;p&gt;An absolute address generated on the server is being used instead of a relative address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can change this by editing &lt;code&gt;/sitecore/shell/Applications/Modules/Web Forms for Marketers/script/Sitecore.Forms.ListItemsEditor.js&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding the following on line 25 before the call to &lt;code&gt;ListItems.callback&lt;/code&gt;will convert to a relative link&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;if (ListItems[&quot;CallbackPrefix&quot;].indexOf(&quot;http&quot;) !== -1) {&#xA;    var anchor = document.createElement(&quot;a&quot;);&#xA;    anchor.href = ListItems[&quot;CallbackPrefix&quot;];&#xA;    ListItems[&quot;CallbackPrefix&quot;] = anchor.pathname + anchor.search;&#xA;    } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It looks like this is fixed in Sitecore Experience Platform 8.2 Update-1:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Port attribute is now taken into account when links are generated, enabling the configuration of environments with translation ports​​.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;from &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update1/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update1/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3119" LastEditorUserId="3119" LastEditDate="2018-03-15T11:45:05.180" LastActivityDate="2018-03-15T11:45:05.180" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10779" PostTypeId="2" ParentId="9782" CreationDate="2018-03-14T14:00:00.603" Score="4" Body="&lt;h2&gt;Understanding The Problem&lt;/h2&gt;&#xA;&lt;p&gt;Parsing your question I think I see where your issue is coming from. To reiterate, for the purposes of this answer, you have 4 Templates:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template A&lt;/strong&gt;&lt;br&gt;&#xA;    &lt;strong&gt;Section Main&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field A&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field B&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field C&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template B&lt;/strong&gt;&lt;br&gt;&#xA;    &lt;strong&gt;Section Main&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field A&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field D&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field E&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template C&lt;/strong&gt;&lt;br&gt;&#xA;    &lt;strong&gt;Section Main&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field A&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field F&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field G&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&#xA;&lt;p&gt;When &lt;strong&gt;Template A&lt;/strong&gt; is added as a Base Template of &lt;strong&gt;Template B&lt;/strong&gt;, the resultant set of fields on the item based off of &lt;strong&gt;Template B&lt;/strong&gt; looks like:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Item X (Based off of Template B)&lt;/strong&gt;&lt;br&gt;&#xA;    &lt;strong&gt;Section Main&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field A&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field A&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field B&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field C&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field D&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field E&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Field A is showing up twice because there are two templates with the&#xA;same name that are inherited by this item.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2&gt;Correct Way to Inherit Fields&lt;/h2&gt;&#xA;&lt;p&gt;Using the above scenario, the proper way you want to construct your templates should look something like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template A&lt;/strong&gt;&lt;br&gt;&#xA;    &lt;strong&gt;Section Main&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field A&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field B&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field C&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template B (Inherits A)&lt;/strong&gt;&lt;br&gt;&#xA;    &lt;strong&gt;Section Main&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field D&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field E&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template C (Inherits A)&lt;/strong&gt;&lt;br&gt;&#xA;    &lt;strong&gt;Section Main&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field F&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field G&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&#xA;&lt;p&gt;The resulting item will look like this:&lt;br&gt;&#xA;&lt;strong&gt;Item X (Based off of Template B)&lt;/strong&gt;&lt;br&gt;&#xA;    &lt;strong&gt;Section Main&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field A&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field B&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field C&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field D&lt;/strong&gt;&lt;br&gt;&#xA;        &lt;strong&gt;Field E&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Tips&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Fields will be merged across inherited templates based on the &lt;strong&gt;Section Name&lt;/strong&gt; that the field resides under. If the Section Names match, the field will go there.&lt;/li&gt;&#xA;&lt;li&gt;Use the &lt;strong&gt;Sortorder&lt;/strong&gt; field to arrange the order that the fields show up on the Item in Content Editor. This also affects the ordering in the Field array on the &lt;code&gt;Sitecore.Data.Item&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Do &lt;em&gt;&lt;strong&gt;NOT&lt;/strong&gt;&lt;/em&gt; inherit from templates that contain fields with the same name. Instead, split off those fields that are duplicated and put into their own template to be inherited from the templates needing those fields.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-03-14T14:00:00.603" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10780" PostTypeId="2" ParentId="4935" CreationDate="2018-03-14T14:17:31.490" Score="1" Body="&lt;p&gt;We were having the same problem. Using a &lt;strong&gt;normal query&lt;/strong&gt; solved it. (Just deleting the &quot;fast:&quot;-part from the string.) Off course this has a performance impact, but since we can cache the result of the problem-query, it's not a big issue.&lt;/p&gt;&#xA;" OwnerUserId="3394" LastActivityDate="2018-03-14T14:17:31.490" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10781" PostTypeId="2" ParentId="10710" CreationDate="2018-03-14T14:18:33.530" Score="6" Body="&lt;p&gt;Thanks for the comprehensive bug report. Sitecore have published a &lt;a href=&quot;https://kb.sitecore.net/articles/467253&quot; rel=&quot;noreferrer&quot;&gt;hotfix for Sitecore 9.0 Update 1&lt;/a&gt; which fixes this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The decompiled code is hard to read but the issue stems from &lt;code&gt;flag2&lt;/code&gt; (as it appears here) being too strict. It has been adjusted to now simply check the Global Opt-out list for both Regular and Automated messages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please ensure this update is installed on all instances, not just Content Management, if you are operating a scaled setup.&lt;/p&gt;&#xA;" OwnerUserId="85" LastActivityDate="2018-03-14T14:18:33.530" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10783" PostTypeId="2" ParentId="10768" CreationDate="2018-03-14T14:41:55.080" Score="3" Body="&lt;p&gt;There are generally two reasons why one would get the &lt;strong&gt;Required Anti-Forgery Cookie&lt;/strong&gt; error message.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;There is a client issue with your browser preventing the cookies from being read correctly.&lt;/li&gt;&#xA;&lt;li&gt;The error message shown is actually a red herring, and there's an underlying error occurring. You will generally have to look through log files to find the underlying issue.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The majority of the time, it's due to the client browser.  Clearing cookies at the domain level and reloading the page can generally fix this issue.  This is most notably the issue when going into Experience Analytics and none of the graphs load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also try a different browser and see if you are presented with the same error. Generally, a different browser will work. A recent update with Chrome has raised some minor issues with XHR requests resulting in this error message.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-03-14T14:41:55.080" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10784" PostTypeId="2" ParentId="10726" CreationDate="2018-03-14T14:57:10.443" Score="0" Body="&lt;p&gt;Sitecore will never redirect to other item if you open any item with edit mode. Please check the network flow. You might get idea whether it is redirecting or not. Also please check logs, you might get some idea from there as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the specific item doesn't have any layout then it will prompt you that item doesn't have any layout and if there is any exception on page then edit mode will show that exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In edit mode redirection is only possible if it is programed.&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-03-14T14:57:10.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10786" PostTypeId="2" ParentId="10681" CreationDate="2018-03-14T17:23:25.360" Score="4" Body="&lt;p&gt;I contacted TDS support, and they suggested a manual deployment. So I did the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the _DEV folder from your local instance to your VS project and publish it to the Azure App Service. (I used this method because you can't add folders through Cloud Explorer, only files.)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Using Cloud Explorer, upload the HedgehogDevelopment.SitecoreProject.Service.dll file to the bin directory.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Test the sync with just the Sitecore Web URL filled in (leave the folder field blank).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After that, you should get a sync-up with the Test button and be able to go from there.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-03-14T17:23:25.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10789" PostTypeId="2" ParentId="6139" CreationDate="2018-03-14T21:16:55.643" Score="4" Body="&lt;p&gt;As a quick work around, the Sitecore Administrator can add the message to the &lt;code&gt;Text&lt;/code&gt; field on &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/TitleText&lt;/code&gt; item in &lt;code&gt;Core Database&lt;/code&gt;. Once added, the Launch Pad looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V14bb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V14bb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or if you are using CMS Only Mode, I assume adding the text in &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/TitleText in CMS-Only mode&lt;/code&gt; should work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see if this fulfills your client requirements.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-03-14T21:16:55.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10790" PostTypeId="1" AcceptedAnswerId="10791" CreationDate="2018-03-15T00:29:26.657" Score="1" ViewCount="114" Body="&lt;p&gt;It was my understanding that calling &lt;code&gt;context.GetPolicy&amp;lt;T&amp;gt;()&lt;/code&gt; would create an instance of the policy if it wasn't attached to the environment, however I'm seeing the opposite in a pipeline block that's invoked from a custom minion. It's even causing NullReferenceExceptions in some built in pipeline blocks, so clearly something is up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on what might cause this change of behaviour?&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-03-15T00:34:26.903" Title="GetPolicy&lt;T&gt;() returning null, causing NullReferenceException in OOTB functionality" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10791" PostTypeId="2" ParentId="10790" CreationDate="2018-03-15T00:34:26.903" Score="2" Body="&lt;p&gt;This happens when you create a &lt;code&gt;CommerceContext&lt;/code&gt; without assigning it's &lt;code&gt;Environment&lt;/code&gt; property (which has no associated constructor argument). Since policies are resolved from the environment, it will return null if there is no environment available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in your minion:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// This will cause GetPolicy to return null&#xA;var context = new CommerceContext(this.Logger, base.MinionContext.TelemetryClient, null);&#xA;&#xA;// This will work correctly&#xA;var context = new CommerceContext(this.Logger, base.MinionContext.TelemetryClient, null)&#xA;{&#xA;    Environment = base.Environment&#xA;});&#xA;&#xA;&#xA;var options = new CommercePipelineExecutionContextOptions(context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-03-15T00:34:26.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10794" PostTypeId="2" ParentId="10739" CreationDate="2018-03-15T06:32:25.407" Score="1" Body="&lt;p&gt;No need to do any configuration in Sitecore configs. Add the domain binding in IIS, do the host entry.. Then all you need to do is update the hostname and other details at site specific setting item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find your site host setting at below path in Sitecore.&#xA;/sitecore/content/&lt;strong&gt;Your Tenant&lt;/strong&gt;/&lt;strong&gt;Your Site&lt;/strong&gt;/Settings/Site Grouping/&lt;strong&gt;Your Site Host setting&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UrDne.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UrDne.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find all the site configuration parameters at the Site Grouping.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can Clone the Site which will create new Theme and update all the reference to Partial Designs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6AjK8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6AjK8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3261" LastEditorUserId="3261" LastEditDate="2018-03-15T09:18:51.803" LastActivityDate="2018-03-15T09:18:51.803" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10795" PostTypeId="1" AcceptedAnswerId="10801" CreationDate="2018-03-15T06:55:43.907" Score="1" ViewCount="169" Body="&lt;p&gt;Successfully created a new sitecore speak application with a list control. The list has more than 15 columns and in order to display them all, a horizontal scroll bar is required. By default, the list control component is not showing all the columns, instead it is hiding the columns after the screen size limit is over. Please refer the screenshot. Is there any way to add a horizontal scroll bar&lt;a href=&quot;https://i.stack.imgur.com/UVzq1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UVzq1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2721" LastEditorUserId="73" LastEditDate="2018-04-15T10:08:06.213" LastActivityDate="2018-06-14T20:06:57.037" Title="How to configure horizontal scroll bar for Sitecore SPEAK 2.0 ListControl Component?" Tags="|speak|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10796" PostTypeId="2" ParentId="6139" CreationDate="2018-03-15T06:58:41.037" Score="1" Body="&lt;p&gt;You can quickly achieve this by going to &lt;code&gt;core&lt;/code&gt; database and opening &lt;code&gt;Content Editor&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/CustomAnalytics&lt;/code&gt; and change &lt;code&gt;Text&lt;/code&gt; field to your desired text. This with be header e.g. &quot;Announcements Window&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then navigate to &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/FallbackMessage&lt;/code&gt; anf change again &lt;code&gt;Text&lt;/code&gt; field with your desired text. This will be announced text e.g. &quot;Here goes your announcements&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will be shown like this at the buttom of the launchpad instead of Custom Analytics:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/genAi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/genAi.png&quot; alt=&quot;Launchpad&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Above approach is using what is already there in Sitecore which is not desired in all scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best would be to take a look on this article and create your own rendering and add it to Launchpad:&#xA;&lt;a href=&quot;http://kirkegaard-at.blogspot.sk/2015/09/sitecore-launchpad-custom-tiles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://kirkegaard-at.blogspot.sk/2015/09/sitecore-launchpad-custom-tiles.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-15T08:48:54.593" LastActivityDate="2018-03-15T08:48:54.593" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10797" PostTypeId="1" AcceptedAnswerId="11963" CreationDate="2018-03-15T07:05:59.963" Score="4" ViewCount="529" Body="&lt;p&gt;We use &lt;code&gt;Sitecore 9 update 1&lt;/code&gt; and we utilize the out of the box &lt;code&gt;Email Experience Manager (EXM)&lt;/code&gt; of it. But we encountered an issue with regards to personalization of an email campaign. It seems the personalization using rules/condition is not working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anybody from this community experienced and solve this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="3365" LastEditorUserId="2056" LastEditDate="2018-03-15T09:59:01.853" LastActivityDate="2018-05-24T12:40:20.857" Title="Sitecore Personalization on EXM is not working" Tags="|exm|personalization|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10798" PostTypeId="1" AcceptedAnswerId="10800" CreationDate="2018-03-15T07:44:05.433" Score="7" ViewCount="996" Body="&lt;p&gt;I'm looking for migration solution from &lt;strong&gt;Fortis DynamicPlaceholders&lt;/strong&gt; to &lt;strong&gt;Sitecore 9 DynamicPlaceholders&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Fortis DynamicPlaceholder&lt;/strong&gt; looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/main/content_container_ec526a7d-7838-4563-95a0-915bd2840dd8/grid_12_3f351279-e9a1-4c33-9b79-0defea684d18&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 9 DynamicPlaceholder&lt;/strong&gt; looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/main/content_container-{EC526A7D-7838-4563-95A0-915BD2840DD8}-0/grid_12-{3F351279-E9A1-4C33-9B79-0DEFEA684D18}-0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need to update all content to &lt;strong&gt;Sitecore 9 DynamicPlaceholders&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe someone already did the same migration and has quick solution for it (Powershell script, aspx page)?&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2018-03-15T07:50:38.050" LastActivityDate="2021-02-25T16:59:57.997" Title="Migration from Fortis DynamicPlaceholders to Sitecore 9 DynamicPlaceholders" Tags="|migration|dynamic-placeholder|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10799" PostTypeId="1" AcceptedAnswerId="11148" CreationDate="2018-03-15T08:04:19.293" Score="2" ViewCount="502" Body="&lt;p&gt;I've created and successfully tested custom activity type in Sitecore 9.0.0 according to this guide:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/marketing-automation/activities/activity-types/add-activity-type-to-ui.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/marketing-automation/activities/activity-types/add-activity-type-to-ui.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I deploy exactly the same code to Sitecore 9.0.1 and click on my custom action, JavaScript error occurs: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;vendor.6be6958dbf1b66c98060.bundle.js:1 ERROR Error: Uncaught (in&#xA;  promise): TypeError: Cannot read property 'map' of null TypeError:&#xA;  Cannot read property 'map' of null&#xA;      at de (vendor.6be6958dbf1b66c98060.bundle.js:1)&#xA;      at _n (vendor.6be6958dbf1b66c98060.bundle.js:1)&#xA;      at l.dn (vendor.6be6958dbf1b66c98060.bundle.js:1)&#xA;      at View_ReadonlyEditorComponent_Host_0 (readonly-editor.component.ngfactory.ts:37)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've also tried out a few examples from blog posts, i.e. &lt;a href=&quot;https://www.brimit.com/blog/sitecore-marketing-automation-creating-activity-editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.brimit.com/blog/sitecore-marketing-automation-creating-activity-editor&lt;/a&gt; but none of them works on Sitecore 9.0.1, all of them fail with exact same error when I click on action and editor loads.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone managed to get custom activity type working on Sitecore 9.0.1?&lt;/p&gt;&#xA;" OwnerUserId="1801" LastActivityDate="2018-04-04T10:46:16.630" Title="Custom marketing automation activity does not work in Sitecore 9.0.1" Tags="|marketing-automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10800" PostTypeId="2" ParentId="10798" CreationDate="2018-03-15T08:10:21.040" Score="12" Body="&lt;p&gt;This is the script I've used in the past:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# specify your path here. It is most likely be page templates and page content&#xA;$startPath = &quot;/sitecore/content&quot;&#xA;Get-ChildItem -Path $startPath -Recurse | ForEach-Object {&#xA;    $item = $_;    &#xA;&#xA;    Get-Rendering -Item $_  | ForEach-Object {&#xA;        $rendering = $_;&#xA;        $matches = [regex]::Matches($_.Placeholder,'(_[0-9a-fA-F]{8}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{12})')&#xA;&#xA;        if ($matches.Success) {&#xA;            Write-Host &quot;Match found in item - [$($item.Paths.FullPath)]&quot;&#xA;            Write-Host &quot;Old Placeholder - [$($rendering.Placeholder)]&quot;&#xA;&#xA;            $newPlaceholder = $rendering.Placeholder&#xA;&#xA;            $matches | ForEach-Object {&#xA;                $renderingId = $_.Value&#xA;                $newPlaceholder = $newPlaceholder.Replace($renderingId, &quot;{$($renderingId.ToUpper())}-0&quot;)&#xA;            }&#xA;&#xA;            $newPlaceholder = $newPlaceholder.Replace('{_', &quot;-{&quot;)&#xA;            Write-Host &quot;New Placeholder - [$($newPlaceholder)]&quot;&#xA;&#xA;            # comment following 2 lines if you don't want to do replacement, but want to have log of upcoming placeholder changes&#xA;            $rendering.Placeholder = $newPlaceholder&#xA;            Set-Rendering -Item $item -Instance $rendering &#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It does changes only for the shared layout. In case you also need changes for Final Layout, then replace&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Rendering -Item $_  | ForEach-Object {&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Rendering -Item $_ -FinalLayout | ForEach-Object {&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-Rendering -Item $item -Instance $rendering&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-Rendering -Item $item -Instance $rendering -FinalLayout&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="139" LastActivityDate="2018-03-15T08:10:21.040" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10801" PostTypeId="2" ParentId="10795" CreationDate="2018-03-15T08:26:35.787" Score="1" Body="&lt;p&gt;I believe this is not possible in Speak 2 based on documentation from Sitecore. It is stated &lt;a href=&quot;https://doc.sitecore.net/speak/80/components/listcontrol&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; that ListControl control supports a number of behaviors: EndlessPageScroll, MultiSelectList, and Scrollbar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both &lt;strong&gt;EndlessPageScroll&lt;/strong&gt; and &lt;strong&gt;Scrollbar&lt;/strong&gt; are dependent on height of your ListControl &lt;strong&gt;not&lt;/strong&gt; width. See more about Scrollbar &lt;a href=&quot;https://doc.sitecore.net/speak/80/components/scrollbar&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; and about EndlessPageScroll &lt;a href=&quot;https://doc.sitecore.net/speak/80/components/endlesspagescroll&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have couple of options how to overcome these limitations:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You can create &lt;a href=&quot;https://doc.sitecore.net/speak/components/tabcontrol&quot; rel=&quot;nofollow noreferrer&quot;&gt;tabcontrol&lt;/a&gt; and tabs and divide current listcontrol into two controls where in first tab you will have 8 columns like now and in second &lt;code&gt;Action&lt;/code&gt; and &lt;code&gt;Customer Id&lt;/code&gt; columns similarly to first tab + remaining columns which are currently hidden &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can also use &lt;a href=&quot;https://doc.sitecore.net/speak/components/popover&quot; rel=&quot;nofollow noreferrer&quot;&gt;popover&lt;/a&gt; and add 'More details' to your 'Actions' which will open this popover with remaining details which are currently hidden.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You could also use &lt;a href=&quot;https://doc.sitecore.net/speak/components/frame&quot; rel=&quot;nofollow noreferrer&quot;&gt;frame&lt;/a&gt; where you will display your custom page with table with all information. This should be scrollable.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And lots of other options. It depends on what client will be comfortable with.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also maybe replace 'Add' and 'Remove' links in 'Actions' column with images which would squeeze width of that column a bit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about listcontrol can be found here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/speak/80/development/walkthrough_customize_the_listcontrol&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak/80/development/walkthrough_customize_the_listcontrol&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/speak/80/components/listcontrol&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak/80/components/listcontrol&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-04-15T18:37:41.147" LastActivityDate="2018-04-15T18:37:41.147" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10803" PostTypeId="5" CreationDate="2018-03-15T08:57:02.953" Score="0" Body="&lt;p&gt;For questions related to the Launchpad. Includes custom tiles, buttons, etc. &lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-15T09:59:21.740" LastActivityDate="2018-03-15T09:59:21.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10804" PostTypeId="4" CreationDate="2018-03-15T08:57:02.953" Score="0" Body="For questions related to the Launchpad. Includes custom tiles, buttons, etc. " OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-15T09:58:55.670" LastActivityDate="2018-03-15T09:58:55.670" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10805" PostTypeId="5" CreationDate="2018-03-15T09:01:08.717" Score="0" Body="&lt;p&gt;The segmentation is an internal component of core Sitecore roles, and is used by the Content Management, xDB Processing, and xDB Reporting roles.&#xA;The segmentation engine is responsible for building a query from an &lt;code&gt;ISegmentDefinition&lt;/code&gt; or an &lt;code&gt;IContactSearchQueryFactory&lt;/code&gt; and returning a list of contacts or a count of contacts that match those criteria:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pPzdN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pPzdN.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;For more details refer to: &lt;a href=&quot;https://doc.sitecore.com/en/developers/93/sitecore-experience-platform/segmentation-engine.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/en/developers/93/sitecore-experience-platform/segmentation-engine.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="4817" LastEditDate="2021-08-03T15:53:38.933" LastActivityDate="2021-08-03T15:53:38.933" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10806" PostTypeId="4" CreationDate="2018-03-15T09:01:08.717" Score="0" Body="For questions related to segmentation or segments" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-15T09:59:16.040" LastActivityDate="2018-03-15T09:59:16.040" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10807" PostTypeId="5" CreationDate="2018-03-15T09:03:47.847" Score="0" Body="&lt;p&gt;Segmented lists – a list that is a filtered list of one or more selected contact lists. The contacts in a Segmented list are not actually members of the list - they only appear in the list if they are in the list source (the selected contact lists) and they meet the conditions that you define.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2727" LastEditDate="2021-09-22T13:45:18.507" LastActivityDate="2021-09-22T13:45:18.507" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10808" PostTypeId="4" CreationDate="2018-03-15T09:03:47.847" Score="0" Body="For questions related to Segmentation List" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-15T09:59:18.930" LastActivityDate="2018-03-15T09:59:18.930" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10809" PostTypeId="2" ParentId="10731" CreationDate="2018-03-15T09:14:19.440" Score="4" Body="&lt;p&gt;You can make use of the Large Button template. Please see steps below&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to the Core database.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to the path &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create or select a section where you want the button to appear.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a large button based on the template  &lt;code&gt;/sitecore/templates/System/Ribbon/Large Button&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Fill in the fields.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The main one is the &lt;code&gt;click&lt;/code&gt; field. This is where you will insert the click event to trigger the powershell script. Example: &lt;code&gt;item:contextconsole(id=$Target)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that on the Launch Pad there will be no text appearing under the Icon because the template Large Button does not contain the field &lt;code&gt;Text&lt;/code&gt; which is used to display the label of the icon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to fix this, you can create a template which contain a Text field of type single-line text. Then, the Large button template inherits the newly created template. Once this is done, you can insert a text in the field and this will be shown on the launch pad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the screenshot of the item in Core database. In this one, I have created the field Text directly on the Large Button template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/R5S7J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/R5S7J.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, on the launch pad, the icon is shown under the Content Editing Section&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O2OF1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O2OF1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the test I just performed, when you click on the button, nothing will happen. You will need to use the SPE Web API. Moreover, you will need to add a new field called &lt;code&gt;link&lt;/code&gt; and then add your rest api in it. Example: &lt;code&gt;http://hostname/-/script/v2/master/ChildrenAsHtml?item=/sitecore/content&amp;amp;user=admin&amp;amp;password=b&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about SPE Web Api can be found here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/security.html#configure-web-services&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure Web Services&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/security.html#restrict-users-and-roles&quot; rel=&quot;nofollow noreferrer&quot;&gt;Restrict users and roles&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://blog.najmanowicz.com/2015/04/13/rapid-api-prototyping-for-sitecore-with-powershell-extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SPE - Rapid Api&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-03-15T11:45:32.530" LastActivityDate="2018-03-15T11:45:32.530" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10810" PostTypeId="1" CreationDate="2018-03-15T10:24:37.337" Score="2" ViewCount="376" Body="&lt;p&gt;I have created media item and uploaded two different video in &quot;English&quot; and &quot;Spanish&quot; version. When accessing this media item, it is not loading the video as per the query string parameter, please refer the below url pattern.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitename&amp;gt;/-/media/Test/Video.mp4?la=es-US&amp;amp;hash=1384A22A5E79F8E459C6007506F17D2D39C03246   &#xA;&amp;lt;sitename&amp;gt;/-/media/Test/Video.mp4?la=en&amp;amp;hash=B257C5487196A912886734566D6BEC8D3508AB07   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have used glass mapper, so created below extension method to generate the media url. It creates the different items in media cache, but both are having the same video.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        public static string FileUrl(this File file)&#xA;    {&#xA;        string src = &quot;&quot;;&#xA;        if (file != null &amp;amp;&amp;amp; !string.IsNullOrEmpty(file.Src))&#xA;        {&#xA;&#xA;            src = HashingUtils.ProtectAssetUrl($&quot;{file.Src}?la={Sitecore.Context.Language.Name}&quot;);&#xA;        }&#xA;        return src;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note - Media images are loading proper as per query string parameter. Facing issue in video, Sitecore 9 SXA.&lt;/p&gt;&#xA;" OwnerUserId="2930" LastEditorUserId="2930" LastEditDate="2018-03-15T12:33:57.687" LastActivityDate="2018-03-15T12:33:57.687" Title="Video Media item is not loading as per language query string parameter?" Tags="|sxa|sitecore-client|media-library|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10811" PostTypeId="1" AcceptedAnswerId="10816" CreationDate="2018-03-15T10:43:37.200" Score="4" ViewCount="2429" Body="&lt;p&gt;I need to programmatically add contact to a contact list. How to do this in Sitecore 9.0.1?&#xA;I find a &lt;a href=&quot;https://www.brimit.com/blog/sitecore-9-list-manager-changes&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;. Here it says this below line will add contact to a list. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Contact contact = client.Get&amp;lt;Contact&amp;gt;(&#xA;        new ContactReference(contactId),&#xA;        new ContactExpandOptions(new string[1] { &quot;ListSubscriptions&quot; })&#xA;    );&#xA;&#xA;    contact.SetListSubscriptionsFacet(client, listId);&#xA;&#xA;    client.Submit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I don't see this contact on my list in List Manager. Do I need to do more thing to see this contact?  &lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="73" LastEditDate="2018-03-15T17:07:19.480" LastActivityDate="2018-03-15T17:07:19.480" Title="How to programatically add contact to a contact list in Sitecore 9.0u1" Tags="|xconnect|contact-facets|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10812" PostTypeId="1" CreationDate="2018-03-15T13:16:51.997" Score="1" ViewCount="326" Body="&lt;p&gt;I am new to SXA and am looking for guidelines and best practices on when to use &quot;SXA components&quot; and when use &quot;custom components&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on my understanding at this point in time, I think that we should use out of the box SXA components which typically doesn’t change much from one site to the other. For example, components such as header, footer, banner, navigation, spotlight etc. As such, I believe these components are right candidates for SXA, because the equivalent components from the SXA library (toolbox) could be a good fit in this case, some of it may have variations as well in the library. So we can use it without doing any customization at the component level, maybe just by adding some styling.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when it comes to components such as a &quot;360 view of a product&quot;, &quot;multi step quiz component&quot;, &quot;multi-product feature comparison component&quot;, &quot;testimonial component with multi-user image scroll having a video player&quot; etc. then nothing is directly available out of the box in SXA. My understanding is that I should instead consider creating a custom component rather trying to extend existing SXA components because the effort required to extend one or more components could be same as creating a new custom component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there official guidelines for selecting between rendering variants and custom components, and when to extend an existing or create something completely new from scratch?&lt;/p&gt;&#xA;" OwnerUserId="3234" LastEditorUserId="135" LastEditDate="2018-03-16T02:32:18.567" LastActivityDate="2018-03-16T16:00:04.437" Title="When to use a component from SXA library vs component customization?" Tags="|sxa|best-practices|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10813" PostTypeId="1" CreationDate="2018-03-15T13:40:41.087" Score="0" ViewCount="362" Body="&lt;p&gt;I have a custom form and wanted to create complex Sitecore items. I am using TDS auto-generated class with GlassMapper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am passing Glass object from controller to view, which then serialized to Json object. I am making necessary changes to Json object as per form field values and sending back to controller using POST method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything seems to be working fine. But when i try to post an object which has non default values for GlassBase fields (In edit mode) like ID, Language etc. it's not working even though i have updated each property to public set. I do not wanted to create a ViewModel only for this purpose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TfEDS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TfEDS.png&quot; alt=&quot;GlassBase&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: This is working fine with fluent configuration.&lt;/p&gt;&#xA;" OwnerUserId="848" LastActivityDate="2024-03-14T13:02:05.210" Title="Mapping JSON object to Glass object not working - Ajax POST" Tags="|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10814" PostTypeId="2" ParentId="10811" CreationDate="2018-03-15T14:41:08.597" Score="6" Body="&lt;p&gt;With your code you are always changing facet value on contact so contact will be part of only one contact list (last one assigned) at the end. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are also effectively replacing all other list subscriptions to that particular contact. This is bad practice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to use this code snippet to achieve it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ListSubscriptions subscriptions = new ListSubscriptions();&#xA;var listId = Guid.NewGuid(); /* Replace with real list ID */&#xA;var isActive = true;&#xA;var added = DateTime.UtcNow;&#xA;&#xA;ContactListSubscription subscription = new ContactListSubscription(added, isActive, listId);&#xA;&#xA;subscriptions.Subscriptions.Add(subscription);&#xA;client.SetListSubscriptions(contact, subscriptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Taken from &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/facets/built-in-facets.html#listsubscriptions-listsubscriptions&quot; rel=&quot;noreferrer&quot;&gt;Sitecore xConnect docu page&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-15T14:41:08.597" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10816" PostTypeId="2" ParentId="10811" CreationDate="2018-03-15T15:17:42.857" Score="3" Body="&lt;p&gt;Besides implementing the chorpo's code, please try enabling the indexing of anonymous contact data. To do that, please go to the following file locations of your xconnect site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\App_data\config\sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml&#xA;&#xA;\App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then change the following tag in to true.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;IndexAnonymousContactData&amp;gt;true&amp;lt;/IndexAnonymousContactData&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After that rebuild the xDb:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to the &lt;code&gt;.xconnect\Website\App_data\jobs\continuous\IndexWorker&lt;/code&gt; and open the console window in administrator mode and run the command &lt;code&gt;XConnectSearchIndexer -rr&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should see the contacts now.&lt;/p&gt;&#xA;" OwnerUserId="3378" LastActivityDate="2018-03-15T15:17:42.857" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10817" PostTypeId="2" ParentId="10813" CreationDate="2018-03-15T15:54:15.160" Score="0" Body="&lt;p&gt;We just ran into an issue with Automapping not working in Glass Mapper version 4.5.0.4 or 4.5.1.339-beta. So if you are using one of those versions it may be a Glass Mapper bug.  &lt;/p&gt;&#xA;" OwnerUserId="520" LastActivityDate="2018-03-15T15:54:15.160" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10818" PostTypeId="1" AcceptedAnswerId="10844" CreationDate="2018-03-15T19:16:22.093" Score="1" ViewCount="645" Body="&lt;p&gt;I have created a custom facet model with &lt;strong&gt;Sitecore 9.0.1&lt;/strong&gt; &amp;amp; &lt;strong&gt;xConnect&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My contact custom facet contains a property of &lt;code&gt;List&amp;lt;string&amp;gt;&lt;/code&gt; which I want to populate with different values while contact visiting the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;N.B. I have indexed the anonymous contacts.&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to save the new item in the list using &lt;code&gt;contact.SetFacet&amp;lt;MyCustomFacet&amp;gt;...&lt;/code&gt;and then adding item to facet, but the problem is the list becomes empty again when I use &lt;code&gt;contact.GetFacet&amp;lt;MyCustomFacet&amp;gt;...&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am submitting the client each time after adding a item. Do I really need that? or, will it automatically saved at session end? I am looking for right way to achieve that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to keep all the items I added to the list available till the session end so that I can use them whenever needed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void AddDynamicFacetItem(DynamicFacetItem facetData)&#xA;{&#xA;    var manager = AnalyticsHelpers.GetContactManager();&#xA;&#xA;    if (manager != null)&#xA;    {&#xA;        using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            try&#xA;            {&#xA;                var item = facetData.ConvertToData();&#xA;&#xA;                if (AnalyticsHelpers.CurrentTracker.Contact.IsNew)&#xA;                {&#xA;                    Sitecore.Analytics.Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;                    manager.SaveContactToCollectionDb(Sitecore.Analytics.Tracker.Current.Contact);&#xA;&#xA;                    var trackerIdentifier = new IdentifiedContactReference(&#xA;                        Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource,&#xA;                        Sitecore.Analytics.Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&#xA;                    var contact = client.Get&amp;lt;Contact&amp;gt;(trackerIdentifier,&#xA;                        new Sitecore.XConnect.ContactExpandOptions());&#xA;&#xA;                    AddItemForNewContact(client, contact, item);&#xA;                }&#xA;                else&#xA;                {&#xA;                    var trackerIdentifier = new IdentifiedContactReference(&#xA;                        Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource,&#xA;                        Sitecore.Analytics.Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&#xA;                    var contact = client.Get&amp;lt;Contact&amp;gt;(trackerIdentifier,&#xA;                        new Sitecore.XConnect.ContactExpandOptions(DynamicDataFacet.DefaultFacetKey));&#xA;&#xA;                    AddItemForExistingContact(client, contact, item);&#xA;                }&#xA;&#xA;                manager.RemoveFromSession(AnalyticsHelpers.CurrentTracker.Contact.ContactId);&#xA;            }&#xA;            catch (Exception e)&#xA;            {&#xA;                Sitecore.Diagnostics.Log.Error(e.Message, e, &quot;AddDynamicFacetItem&quot;);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;private static void AddItemForNewContact(XConnectClient client, Sitecore.XConnect.Contact contact,&#xA;    XYZ.Model.Data data)&#xA;{&#xA;    try&#xA;    {&#xA;        if (contact != null)&#xA;        {&#xA;            var list = new List&amp;lt;Data&amp;gt; { data };&#xA;&#xA;            client.SetFacet&amp;lt;DynamicDataFacet&amp;gt;(contact, DynamicDataFacet.DefaultFacetKey, new DynamicDataFacet()&#xA;            {&#xA;                Data = list&#xA;            });&#xA;&#xA;            client.Submit();&#xA;        }&#xA;    }&#xA;    catch (Exception e)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Error(e.Message, e, &quot;AddItemForNewContact&quot;);&#xA;    }&#xA;}&#xA;&#xA;private static void AddItemForExistingContact(XConnectClient client, Sitecore.XConnect.Contact contact,&#xA;    XYZ.Model.Data data)&#xA;{&#xA;    try&#xA;    {&#xA;        if (contact != null)&#xA;        {&#xA;            if (contact.DynamicData() != null)&#xA;            {&#xA;                contact.DynamicData().Data.Add(data);&#xA;            }&#xA;            else&#xA;            {&#xA;                var list = new List&amp;lt;Data&amp;gt; { data };&#xA;&#xA;                client.SetFacet&amp;lt;DynamicDataFacet&amp;gt;(contact, DynamicDataFacet.DefaultFacetKey,&#xA;                    new DynamicDataFacet()&#xA;                    {&#xA;                        Data = list&#xA;                    });&#xA;            }&#xA;&#xA;            client.Submit();&#xA;        }&#xA;    }&#xA;    catch (Exception e)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Error(e.Message, e, &quot;AddItemForExistingContact&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;[xdb_collection].ContactFacets data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2DBF166D-45E5-0000-0000-0539A599359D    DynamicData 2018-03-16 11:30:16.5605749 C8032A2E-C837-4FA1-B150-B559EFE237DD    {&quot;@odata.type&quot;:&quot;#xyz.Model.DynamicDataFacet&quot;,&quot;Data&quot;:[{&quot;PropertyName&quot;:&quot;Discount.Amount&quot;,&quot;Type&quot;:&quot;System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot;,&quot;Value&quot;:&quot;1520&quot;}]}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;JSON:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;Name&quot;: &quot;XYZ.Model.DynamicDataModel&quot;,&#xA;  &quot;Version&quot;: &quot;1.0&quot;,&#xA;  &quot;References&quot;: [&#xA;    {&#xA;      &quot;Name&quot;: &quot;XConnect&quot;,&#xA;      &quot;Version&quot;: &quot;1.0&quot;&#xA;    },&#xA;    {&#xA;      &quot;Name&quot;: &quot;Sitecore.XConnect.Collection.Model&quot;,&#xA;      &quot;Version&quot;: &quot;9.0&quot;&#xA;    }&#xA;  ],&#xA;  &quot;Types&quot;: {&#xA;    &quot;XYZ.Model.DynamicDataFacet&quot;: {&#xA;      &quot;Type&quot;: &quot;Facet&quot;,&#xA;      &quot;BaseType&quot;: &quot;Sitecore.XConnect.Facet&quot;,&#xA;      &quot;ClrType&quot;: &quot;XYZ.Model.DynamicDataFacet, XYZ, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot;,&#xA;      &quot;Properties&quot;: {&#xA;        &quot;Data&quot;: {&#xA;          &quot;Type&quot;: [&#xA;            &quot;XYZ.Model.Data&quot;&#xA;          ]&#xA;        }&#xA;      }&#xA;    },&#xA;    &quot;XYZ.Model.Data&quot;: {&#xA;      &quot;Type&quot;: &quot;Complex&quot;,&#xA;      &quot;ClrType&quot;: &quot;XYZ.Model.Data, XYZ, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot;,&#xA;      &quot;Properties&quot;: {&#xA;        &quot;PropertyName&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;Type&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;Value&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        }&#xA;      }&#xA;    }&#xA;  },&#xA;  &quot;Facets&quot;: [&#xA;    {&#xA;      &quot;Target&quot;: &quot;Contact&quot;,&#xA;      &quot;Name&quot;: &quot;DynamicData&quot;,&#xA;      &quot;Type&quot;: &quot;XYZ.Model.DynamicDataFacet&quot;&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Model&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace XYZ.Model&#xA;{&#xA;    [Serializable]&#xA;    [FacetKey(DefaultFacetKey)]&#xA;    public class DynamicDataFacet : Facet&#xA;    {&#xA;        public const string DefaultFacetKey = &quot;DynamicData&quot;;&#xA;        public List&amp;lt;Data&amp;gt; Data { get; set; }&#xA;&#xA;        public DynamicDataFacet()&#xA;        {&#xA;            Data = new List&amp;lt;Data&amp;gt;();&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;namespace XYZ.Model&#xA;{&#xA;    [Serializable]&#xA;    public class Data&#xA;    {&#xA;        public string PropertyName { get; set; }&#xA;        public string Type { get; set; }&#xA;        public string Value { get; set; }&#xA;    }&#xA;}&#xA;&#xA;namespace XYZ.Model&#xA;{&#xA;    public class DynamicDataModel&#xA;    {&#xA;        public static XdbModel Model { get; } = BuildModel();&#xA;&#xA;        private static XdbModel BuildModel()&#xA;        {&#xA;            XdbModelBuilder modelBuilder = new XdbModelBuilder(&quot;XYZ.Model.DynamicDataModel&quot;, new XdbModelVersion(1, 0));&#xA;            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);&#xA;            modelBuilder.DefineFacet&amp;lt;Contact, DynamicDataFacet&amp;gt;(DynamicDataFacet.DefaultFacetKey);&#xA;            return modelBuilder.BuildModel();&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;public static DynamicDataFacet DynamicData(this Contact contact)&#xA;        {&#xA;            return contact.GetFacet&amp;lt;DynamicDataFacet&amp;gt;(DynamicDataFacet.DefaultFacetKey);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="3378" LastEditDate="2018-03-16T14:47:15.480" LastActivityDate="2018-06-22T13:50:40.403" Title="How to add item in contact custom facet List type property" Tags="|experience-analytics|sitecore-api|xconnect|contact-facets|tracking|" AnswerCount="1" CommentCount="13" ContentLicense="CC BY-SA 3.0" />
  <row Id="10819" PostTypeId="1" CreationDate="2018-03-15T19:22:02.703" Score="13" ViewCount="3872" Body="&lt;p&gt;We are looking for a Web Application Firewall (WAF) solution for our Sitecore CMS implementation, because we are an Azure shop we specifically wanted to use the WAF feature on the Azure AppGateway resource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per Sitecore's knowledge base article, it appears that this is not a supported feature. &lt;a href=&quot;https://kb.sitecore.net/articles/682999&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/682999&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does anyone know why this isn't supported? &lt;/li&gt;&#xA;&lt;li&gt;Is it the case that no WAF products are supported? &lt;/li&gt;&#xA;&lt;li&gt;Has anyone had experience with Sitecore support pushing back due to the presence of a WAF?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Thank you!&lt;/p&gt;&#xA;" OwnerUserId="2668" LastEditorUserId="73" LastEditDate="2019-04-12T11:21:32.110" LastActivityDate="2020-03-06T16:41:17.123" Title="WAF support with Sitecore Experience Platform" Tags="|azure|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10821" PostTypeId="1" AcceptedAnswerId="10859" CreationDate="2018-03-16T00:32:26.500" Score="3" ViewCount="573" Body="&lt;p&gt;Sitecoore 9: I need to create a LinkField from a general link's xml&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link&#xA;text=&quot;Text&quot;&#xA;linktype=&quot;internal/external&quot;&#xA;url=&quot;url&quot;&#xA;anchor=&quot;anchor&quot;&#xA;title=&quot;title&quot;&#xA;class=&quot;class&quot;&#xA;querystring=&quot;querystring&quot;&#xA;target=&quot;target&quot;&#xA;id=&quot;id&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I can only create a link field based on an id which I don't have without parsing this xml string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I create a LinkField from this xml? Ultimately, Im trying to get the url for this General Link and I only have access to the xml&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="1049" LastEditDate="2018-03-16T08:47:59.437" LastActivityDate="2018-03-17T12:55:46.823" Title="Creating LinkField from XML" Tags="|links|fieldtype|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10822" PostTypeId="2" ParentId="10739" CreationDate="2018-03-16T05:24:01.073" Score="0" Body="&lt;p&gt;You can store common items into one place and reference those items in all the sites. After creating the one site, clone it and create new site which will create new theme (static resources) for customization.&lt;/p&gt;&#xA;" OwnerUserId="3035" LastActivityDate="2018-03-16T05:24:01.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10823" PostTypeId="1" AcceptedAnswerId="10834" CreationDate="2018-03-16T05:33:21.057" Score="1" ViewCount="473" Body="&lt;p&gt;How many extranet users can login to a sitecore website at the same time? Is there any limitation for the number of concurrent logins?&#xA;NB: This question is not about sitecore users(&lt;a href=&quot;https://sitecore.stackexchange.com/questions/9143/number-of-concurrent-sitecore-users&quot;&gt;Number of concurrent Sitecore Users&lt;/a&gt;), its all about extranet users.&lt;/p&gt;&#xA;" OwnerUserId="2721" LastEditorUserId="73" LastEditDate="2018-03-16T09:57:17.637" LastActivityDate="2018-03-16T10:01:31.730" Title="Is there any limit for concurrent extranet domain users in a Sitecore website?" Tags="|security|authentication|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10824" PostTypeId="1" AcceptedAnswerId="10828" CreationDate="2018-03-16T06:50:28.813" Score="1" ViewCount="609" Body="&lt;p&gt;There are many PDF files in our project that are manually added to the media library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see that some of them have the template - &lt;code&gt;/sitecore/templates/System/Media/Versioned/Pdf&lt;/code&gt;&#xA;and some others - &lt;code&gt;/sitecore/templates/System/Media/Unversioned/Pdf&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Why does this happen. I'm sure the author would not select any settings to have it uploaded as 'Versioned'.And this happend with image files too.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I would like to change all &lt;code&gt;versioned pdf&lt;/code&gt; to &lt;code&gt;unversioned pdf&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When I try this power shell script, it throws an error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$master = [Sitecore.Configuration.Factory]::GetDatabase(&quot;master&quot;);&#xA;$entryTemplate = $master.Templates[&quot;/sitecore/templates/System/Media/Unversioned/Pdf&quot;];&#xA;cd master:&quot;\media library\Files\Test&quot;;&#xA;Get-ChildItem -recurse | ForEach-Object { if ($_.TemplateName -eq &quot;Pdf&quot;) { $_.ChangeTemplate($entryTemplate) } };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception calling &quot;ChangeTemplate&quot; with &quot;1&quot; argument(s): &quot;Value cannot&#xA;  be null. Parameter name: template&quot; At line:8 char:76&#xA;  + ...  ($&lt;em&gt;.TemplateName -eq &quot;Pdf&quot;) { $&lt;/em&gt;.ChangeTemplate($entryTemplate) } };&#xA;  +                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException&#xA;      + FullyQualifiedErrorId : ArgumentNullException&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception calling &quot;ChangeTemplate&quot; with &quot;1&quot; argument(s): &quot;Value cannot&#xA;  be null. Parameter name: template&quot; At line:8 char:76&#xA;  + ...  ($&lt;em&gt;.TemplateName -eq &quot;Pdf&quot;) { $&lt;/em&gt;.ChangeTemplate($entryTemplate) } };&#xA;  +                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException&#xA;      + FullyQualifiedErrorId : ArgumentNullException&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 update 3&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-03-16T07:06:39.137" LastActivityDate="2018-03-16T07:25:08.203" Title="How to change template for multiple items" Tags="|media-library|templates|powershell|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10825" PostTypeId="1" AcceptedAnswerId="10826" CreationDate="2018-03-16T06:57:54.450" Score="1" ViewCount="117" Body="&lt;p&gt;We have a dictionary items which are moved from dev to UAT using Sitecore package installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On UAT , the content authors are given explicit permissions on the Dictionary folder. These permissions are not present on the DEV , as the content authors are not created there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On some occasions, on deployment , the authors permissions got removed. Are we following the correct approach to set the permissions.?&lt;/p&gt;&#xA;" OwnerUserId="106" LastEditorUserId="73" LastEditDate="2018-03-16T07:32:20.827" LastActivityDate="2018-03-16T08:21:33.640" Title="Dictionary and content tree permissions removed" Tags="|security|deployment|" AnswerCount="1" CommentCount="0" ClosedDate="2018-03-16T15:58:32.323" ContentLicense="CC BY-SA 3.0" />
  <row Id="10826" PostTypeId="2" ParentId="10825" CreationDate="2018-03-16T07:18:52.877" Score="2" Body="&lt;p&gt;This is expected behavior as permissions are part of items. There are stored in Security section in Security field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/csRAN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/csRAN.png&quot; alt=&quot;Security field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Switch to 'Raw values' in View Toolbar to see it like above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As security permissions are part of items, you are effectively replacing values in them during deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is always best practice to have same roles and permissions on all environments so all features are also testable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not planning to add roles on all environments then one mitigation could be to use Unicorn or TDS to sync Sitecore items and you will exclude 'Security' field from sync and therefore that field won't be in package and deployed. This is however highly not recommended!&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-16T08:21:33.640" LastActivityDate="2018-03-16T08:21:33.640" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10827" PostTypeId="2" ParentId="10096" CreationDate="2018-03-16T07:20:38.000" Score="2" Body="&lt;p&gt;This is expected behavior as permissions are part of items. There are stored in Security section in Security field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/csRAN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/csRAN.png&quot; alt=&quot;Security field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Switch to 'Raw values' in View Toolbar to see it like above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is always best practice to have same roles and permissions on all environments so all features are also testable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not planning to add roles on all environments then one mitigation could be to use Unicorn or TDS to sync Sitecore items and you will exclude 'Security' field from sync and therefore that field won't be in package and deployed. This is however highly not recommended!&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-16T07:20:38.000" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10828" PostTypeId="2" ParentId="10824" CreationDate="2018-03-16T07:25:08.203" Score="2" Body="&lt;p&gt;First, wrap your media library test files path with &lt;code&gt;&quot;&lt;/code&gt; characters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then instead of passing the whole path to &lt;code&gt;$master.Templates&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$master.Templates[&quot;/sitecore/templates/System/Media/Unversioned/Pdf&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;use only template specific subpath&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$master.Templates[&quot;System/Media/Unversioned/Pdf&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-03-16T07:25:08.203" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10829" PostTypeId="1" CreationDate="2018-03-16T07:44:04.483" Score="5" ViewCount="895" Body="&lt;p&gt;I have a Habitat Solution for Sitecore 9.0 Update 1. Trying to run auto Sync &quot;05-Sync-Unicorn&quot;. when I ran this task, getting below warning in the log file:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[Unicorn-Auth] CHAP authentication attempt rejected due to mismatching&#xA;  HMAC code. 11084 11:33:01 WARN  [Unicorn-Auth] MAC (should match&#xA;  client):&#xA;  ccdcd92727b448eeb32931d551e9ebf8|3AEAA615C3A3A2F382B2184A0596A34E2682E976DAA11C4647AEDA68B00C268C|RAPIDSITECORE.DEV.LOCAL/UNICORN.ASPX?VERB=SYNC&amp;amp;CONFIGURATION=&#xA;  11084 11:33:01 WARN  [Unicorn-Auth] HMAC expected:&#xA;  YG4Mpl3puG10YDiPYOE41Al4+LwaBEGs4+yecKRv8kAP3S7T1fUl3TyToB8hGOSQ93x9DfacWhE97juAV/JCaA==&#xA;  11084 11:33:01 WARN  [Unicorn-Auth] HMAC provided by client:&#xA;  MicroCHAP.SignatureResult&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Item is not getting created in CMS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please can someone help me here.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="73" LastEditDate="2018-08-20T22:56:29.353" LastActivityDate="2020-06-19T18:51:29.437" Title="Exception when running step 05-Sync-Unicorn in Habitat - HMAC provided by client: MicroCHAP.SignatureResult" Tags="|habitat|unicorn|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10830" PostTypeId="1" CreationDate="2018-03-16T08:52:16.583" Score="0" ViewCount="155" Body="&lt;p&gt;I am aware of log analyzer. But instead of selecting files manually one by one and analyzing  has any one automated analyzing all the files for errors, if so how ?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="2056" LastEditDate="2018-03-16T10:05:14.170" LastActivityDate="2018-03-16T10:05:14.170" Title="How to automate analyzing log files?" Tags="|logging|automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10831" PostTypeId="1" AcceptedAnswerId="11348" CreationDate="2018-03-16T09:00:53.873" Score="2" ViewCount="649" Body="&lt;p&gt;How do I enable or show the &quot;Edit Item&quot; button for a rendering?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see this when looking at example Habitat Project (8.x version), but I don't see on my Sitecore 9 implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZZl9O.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZZl9O.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2302" LastActivityDate="2018-04-15T18:33:57.083" Title="Show Edit item button for a rendering in experience editor" Tags="|experience-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10832" PostTypeId="2" ParentId="10831" CreationDate="2018-03-16T09:40:31.323" Score="0" Body="&lt;p&gt;Please follow the below steps&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Login into Sitecore Content Editor.&lt;/li&gt;&#xA;&lt;li&gt;Select the database as &quot;Core&quot;&lt;/li&gt;&#xA;&lt;li&gt;Go to the item '/sitecore/content/Applications/WebEdit/Default Rendering Buttons/Options'&lt;/li&gt;&#xA;&lt;li&gt;Assign Security Rights on the &quot;Options&quot; as &lt;strong&gt;Read&lt;/strong&gt; and &lt;strong&gt;Write&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-03-16T09:40:31.323" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10834" PostTypeId="2" ParentId="10823" CreationDate="2018-03-16T09:56:45.367" Score="3" Body="&lt;h3&gt;No.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Not for Extranet users.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If a Sitecore license restricts the number of concurrent users, that&#xA;  restriction applies only to CMS users, not to visitors to or extranet&#xA;  users on the published sites.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/visitors-and-users-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;Visitors and Users in the Sitecore ASP.NET CMS&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-03-16T09:56:45.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10835" PostTypeId="2" ParentId="10830" CreationDate="2018-03-16T10:02:32.993" Score="2" Body="&lt;p&gt;You can point the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_Log_Analyzer.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore log analyzer&lt;/a&gt; at a folder and it will analyze all the log files it finds. You can further filter by date when loading files from a folder.&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="2056" LastEditDate="2018-03-16T10:04:51.810" LastActivityDate="2018-03-16T10:04:51.810" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10836" PostTypeId="1" AcceptedAnswerId="10840" CreationDate="2018-03-16T10:20:57.517" Score="2" ViewCount="857" Body="&lt;p&gt;We are trying to create custom component using &lt;code&gt;SXA 1.6&lt;/code&gt; on &lt;code&gt;Sitecore 9.0.1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Component is finally also shown on toolbox but we are struggling to have SXA Styling button on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something similar to this one:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3ICEP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3ICEP.png&quot; alt=&quot;SXA Styling&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Component inherites 'StandardController' as all SXA components should and custom Sitecore template also inherits from IStyling template.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-16T10:57:05.777" Title="How to achieve SXA styling button and styling option on custom component?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10837" PostTypeId="1" CreationDate="2018-03-16T10:24:04.053" Score="3" ViewCount="910" Body="&lt;p&gt;I am looking to implement some basic personalisation on our site. Our business services multiple sectors. The page hierarchy looks a little like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Home&lt;/li&gt;&#xA;&lt;li&gt;Aerospace&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Aero Wings&lt;/li&gt;&#xA;&lt;li&gt;Aero Cockpits&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Cars&lt;/li&gt;&#xA;&lt;li&gt;Trains&lt;/li&gt;&#xA;&lt;li&gt;Busses&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We have a banner on the home page which shows a generic welcome message and image. I would like to personalise this banner to show an aeroplane picture and message if the user has &lt;strong&gt;ever&lt;/strong&gt; visited either the aerospace page, or aerospace child pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see this rule which is close:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where the specific page has been visited during the current visit&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However I would like to expand this to include past/previous visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible?&lt;/p&gt;&#xA;" OwnerUserId="3138" LastEditorUserId="2056" LastEditDate="2018-03-16T11:11:49.573" LastActivityDate="2018-03-16T11:11:49.573" Title="Personalisation based on current or previous visited pages" Tags="|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10838" PostTypeId="1" AcceptedAnswerId="10845" CreationDate="2018-03-16T10:32:19.980" Score="2" ViewCount="1071" Body="&lt;p&gt;We have created our Sitecore production environment (Sitrecore 8.2 Update 5, EXM + XDB Cloud) using ARM templates. This means we have CM, CD, Reporting, Processing and DDS (Data Distribution Server) all set as individual PaaS App Services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works well and the templates will reliably create the infrastructure and install Vanilla Sitecore. However, by default it configures Azure search for the default search provider. The developers have been using Solr and we want to switch to using this as the default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to set up a Solr Server I have created a VM in Azure opened port 8983, installed Solr and added all the necessary Cores. I have updated the config on our local Sitecore instance to point to this VM for testing and I can see in the Sitecore index manager all the indexes with the option to rebuild. When I click, rebuild all and view the Solr admin panel it clearly shows that the indexes are being updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So now it’s working locally I’m now trying to get it working initially on my CM server. So to begin I have added “&lt;em&gt;.disabled&lt;/em&gt;” to all lucence and Azure search config files and removed “&lt;em&gt;.disabled&lt;/em&gt;” on all the Solr configs. After some trial and error with yellow screens, Sitecore came back and the site was working.&#xA;The issue I have now is when I view the index manager on my Azure CM instance, no indexes are showing and I cannot rebuild any. I have tried temporarily opening all ports and disabling the firewall on the VM but still nothing.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ygLU1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ygLU1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At present, I have called “&lt;em&gt;/sitecore/admin/ShowConfig.aspx&lt;/em&gt;” on both my local and CM App service and are using a comparison tool to try and spot any differences which may cause this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are some defferences to the index configurations in the index section…&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Localhost – works and connects to Solr VM&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot; patch:source=&quot;Sitecore.Social.Solr.Index.Web.config&quot;&amp;gt;&#xA;  &amp;lt;indexes hint=&quot;list:AddIndex&quot; patch:source=&quot;Unified.Project.EvansHalshaw.Indexing.config&quot;&amp;gt;&#xA;    &amp;lt;index id=&quot;sitecore_analytics_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot; patch:source=&quot;Unified.Foundation.Contact.Facet.config&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;      &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Azure CM AppServices – Doesn’t work&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot; patch:source=&quot;Foundation.Indexing.config&quot;&amp;gt;&#xA;      &amp;lt;indexes hint=&quot;list:AddIndex&quot; patch:source=&quot;Foundation.Indexing.config&quot;&amp;gt;&#xA;        &amp;lt;index id=&quot;sitecore_analytics_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot; patch:source=&quot;Unified.Foundation.Indexing.config&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;          &amp;lt;!--&amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;--&amp;gt;&#xA;          &amp;lt;param desc=&quot;core&quot; patch:source=&quot;Unified.Foundation.Indexing.config&quot;&amp;gt;unified_analytics_index&amp;lt;/param&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any help is most appreciated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;JGilmartin&lt;/p&gt;&#xA;" OwnerUserId="2993" LastActivityDate="2018-03-16T14:37:19.303" Title="No Indexes showing in Index Manager on Azure CM AppService" Tags="|solr|azure|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10839" PostTypeId="2" ParentId="10837" CreationDate="2018-03-16T10:41:37.097" Score="3" Body="&lt;p&gt;To achieve this, you can tag your visitors during past/current interactions and then use &quot;when the current contact has registered the {something} during any interaction&quot; rule to do personalization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can tag your visitors by triggering goal, outcome or similar event triggered during their visit of aerospace and child pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your scenario best would be to create either Goal or Outcome where rule will be specified like this:&#xA;&quot;where the item template is specific template&quot;.&#xA;You will put here two rules that item template is 'aerospace page template' &lt;strong&gt;OR&lt;/strong&gt; item template is 'aerospace child pages template'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/py8BH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/py8BH.png&quot; alt=&quot;Rule Goal&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See more information here on how to tag visitors and then do personalization:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.coreblimeysitecore.com/blog/tagging-your-visitors-with-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.coreblimeysitecore.com/blog/tagging-your-visitors-with-sitecore-8/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-16T10:54:06.023" LastActivityDate="2018-03-16T10:54:06.023" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10840" PostTypeId="2" ParentId="10836" CreationDate="2018-03-16T10:57:05.777" Score="1" Body="&lt;p&gt;This button is defined in the &lt;code&gt;core&lt;/code&gt; database here &lt;code&gt;/sitecore/content/Applications/WebEdit/Default Rendering Buttons/Edit grid parameters&lt;/code&gt;. As you can see it's in the Default Rendering Buttons section so it should be available on all renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding sections in the Control properties dialogue. You can take a look at e.g.: Page Content rendering:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vkBs7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vkBs7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can assign custom Control Properties templates on the renderings items like here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nep7k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nep7k.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-03-16T10:57:05.777" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10841" PostTypeId="1" CreationDate="2018-03-16T11:06:22.490" Score="2" ViewCount="713" Body="&lt;p&gt;Writing a script to allow editors to unlock an item locked by another user I used &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock(New-Object -TypeName &quot;Sitecore.SecurityModel.SecurityDisabler&quot;){&#xA;$item | Unlock-Item&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This didn't raise errors, but didn't unlock the item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Directly calling the Unlock() method did work though &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock(New-Object -TypeName &quot;Sitecore.SecurityModel.SecurityDisabler&quot;){&#xA;    $item.Locking.Unlock()&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a reason for this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: this is only the briefest of outline, other possible differences include retrieving the item to unlock inside or outside the security disabler block, and getting multiple items (using a foreach-object for unlocking by second method, piping the results of the query using the first).&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2018-03-16T11:06:22.490" Title="Security disabler doesn't operate in context of Unlock-Item comandlet?" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10842" PostTypeId="1" AcceptedAnswerId="10843" CreationDate="2018-03-16T12:34:11.830" Score="2" ViewCount="7212" Body="&lt;p&gt;Hi all I'm getting the following error while installing Sitecore Experience commerce on Sitecore 9 Update 1:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Initializing deployment (Failed)&#xA;System.Management.Automation.MethodInvocationException: Exception calling      &quot;Deploy&quot; with &quot;3&quot; argument(s): &quot;Could not deploy package.&quot; ---&amp;gt;   Microsoft.SqlServer.Dac.DacServicesException: Could not deploy package. ---&amp;gt;  Microsoft.Data.Tools.Schema.Sql.Deployment.DeploymentFailedException: Unable to connect to master or target server 'SitecoreCommerce9_Global'. You must have a user with the same password in master or target server 'SitecoreCommerce9_Global'.&#xA;at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentEndpointServer.OnInit(ErrorManager errors, String targetDBName)&#xA; at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeployment..ctor(SqlDeploymentConstructor constructor)&#xA;at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentConstructor.ConstructServiceImplementation()&#xA;at Microsoft.SqlServer.Dac.DacServices.CreatePackageToDatabaseDeployment(SqlConnectionFactory connectionFactory, IPackageSource packageSource, String targetDatabaseName, DacDeployOptions options, ErrorManager errorManager)&#xA;at Microsoft.SqlServer.Dac.DeployOperation.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;&amp;gt;c__DisplayClass5.&amp;lt;CreatePlanInitializationOperation&amp;gt;b__1()&#xA;at Microsoft.Data.Tools.Schema.Sql.Dac.OperationLogger.Capture(Action action)&#xA;at Microsoft.SqlServer.Dac.DeployOperation.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreatePlanInitializationOperation&amp;gt;b__0(Object operation, CancellationToken token)&#xA;at Microsoft.SqlServer.Dac.Operation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;at Microsoft.SqlServer.Dac.ReportMessageOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;at Microsoft.SqlServer.Dac.OperationExtension.CompositeOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;at Microsoft.SqlServer.Dac.OperationExtension.CompositeOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;at Microsoft.SqlServer.Dac.DeployOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;--- End of inner exception stack trace ---&#xA;at Microsoft.SqlServer.Dac.DeployOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;at Microsoft.SqlServer.Dac.OperationExtension.Execute(IOperation operation, DacLoggingContext loggingContext, CancellationToken cancellationToken)&#xA;at Microsoft.SqlServer.Dac.DacServices.InternalDeploy(IPackageSource packageSource, Boolean isDacpac, String targetDatabaseName, DacDeployOptions options, CancellationToken cancellationToken, DacLoggingContext loggingContext, Action`3 reportPlanOperation, Boolean executePlan)&#xA;at Microsoft.SqlServer.Dac.DacServices.Deploy(DacPackage package, String targetDatabaseName, Boolean upgradeExisting, DacDeployOptions options, Nullable`1 cancellationToken)&#xA;at CallSite.Target(Closure , CallSite , Object , Object , Object , Boolean )&#xA;--- End of inner exception stack trace ---&#xA;at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)&#xA;at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)&#xA;at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)&#xA;at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)&#xA;at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)&#xA;at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)&#xA;at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)&#xA;at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()&#xA;at System.Management.Automation.CommandProcessorBase.Complete()&#xA;Invoke-DeployCommerceDatabaseTask : Exception calling &quot;Deploy&quot; with &quot;3&quot; argument(s): &quot;Could not deploy package.&quot;&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.1.0\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-DeployCommerceDatabaseTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3403" LastEditorUserId="2727" LastEditDate="2018-03-25T00:26:36.033" LastActivityDate="2019-09-04T03:09:07.183" Title="Unable to connect to master or target server 'SitecoreCommerce9_Global' Error While Installing Sitecore Experience Commerce" Tags="|sitecore-commerce|deployment|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10843" PostTypeId="2" ParentId="10842" CreationDate="2018-03-16T13:35:58.460" Score="2" Body="&lt;p&gt;The exception is related to DB deployments. Apart from the one @enthusiast suggested in comments, there are couple of other possible reasons of this error like:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make sure SQL Server is running&lt;/li&gt;&#xA;&lt;li&gt;Use the correct SQL Server connection name&lt;/li&gt;&#xA;&lt;li&gt;Double-check SQL Server username/password&lt;/li&gt;&#xA;&lt;li&gt;SQL Server user needs correct server role&lt;/li&gt;&#xA;&lt;li&gt;Enable Mixed Mode Authenication&lt;/li&gt;&#xA;&lt;li&gt;If your client computer fails to pass the firewall rules for the server &lt;/li&gt;&#xA;&lt;li&gt;If your SSDT is not up to date&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please have a look at the solutions at the URLs below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OR&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blogs.msdn.microsoft.com/azuresqldbsupport/2017/09/19/deployment-fails-with-unable-to-connect-to-master-or-target-server-mydb_svr-you-must-have-a-user-with-the-same-password-in-master-or-target-server-mydb-db/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/azuresqldbsupport/2017/09/19/deployment-fails-with-unable-to-connect-to-master-or-target-server-mydb_svr-you-must-have-a-user-with-the-same-password-in-master-or-target-server-mydb-db/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OR&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/6/t/3532&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/6/t/3532&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-03-16T13:35:58.460" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10844" PostTypeId="2" ParentId="10818" CreationDate="2018-03-16T14:32:35.140" Score="5" Body="&lt;p&gt;You should use similar code as below one to fix your problems to get and set custom facet values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Contact contact = client.Get&amp;lt;Contact&amp;gt;(&#xA;   new IdentifiedContactReference(_contactSource, contactIdentifier),&#xA;   new ContactExpandOptions(DynamicDataFacet.DefaultFacetKey));&#xA;&#xA;var list = new List&amp;lt;Data&amp;gt; { data };&#xA;&#xA;if (contact != null)&#xA;{&#xA;  var facet = contact.GetFacet&amp;lt;DynamicDataFacet&amp;gt;(DynamicDataFacet.DefaultFacetKey);&#xA;&#xA;  if (facet != null)&#xA;  {&#xA;     facet.DynamicDataFacet.Add(new DynamicDataFacet()&#xA;       { Data = list }));&#xA;&#xA;     client.SetFacet(contact, DynamicDataFacet.DefaultFacetKey, facet);&#xA;  }&#xA;  else&#xA;  {&#xA;     client.SetFacet(contact, DynamicDataFacet.DefaultFacetKey, new DynamicDataFacet() { Data = list }));&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have similar code in production but I have changed facet names to correspond yours.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you have three issues in your code that cause you trouble:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should use &lt;code&gt;client.GetFacet&lt;/code&gt; instead of &lt;code&gt;contact.DynamicData() != null&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also &lt;code&gt;client.SetFacet&lt;/code&gt; should be used instead of &lt;code&gt;contact.DynamicData().Data.Add&lt;/code&gt; as I think &lt;code&gt;contact.DynamicData().Data.Add&lt;/code&gt; will do nothing at all at the end. &#xA;You are adding something to &lt;code&gt;contact&lt;/code&gt; but &lt;code&gt;client&lt;/code&gt; object doesn't know about that when you are calling &lt;code&gt;client.Submit()&lt;/code&gt; here in your code below (look in my suggested code above to compare):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (contact != null)&#xA;    {&#xA;        if (contact.DynamicData() != null)&#xA;        {&#xA;            contact.DynamicData().Data.Add(data);&#xA;        }&#xA;        else&#xA;        {&#xA;            var list = new List&amp;lt;Data&amp;gt; { data };&#xA;&#xA;            client.SetFacet&amp;lt;DynamicDataFacet&amp;gt;(contact, DynamicDataFacet.DefaultFacetKey,&#xA;                new DynamicDataFacet()&#xA;                {&#xA;                    Data = list&#xA;                });&#xA;        }&#xA;&#xA;        client.Submit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should not use &lt;code&gt;new Sitecore.XConnect.ContactExpandOptions())&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should always use &lt;code&gt;new ContactExpandOptions(DynamicDataFacet.DefaultFacetKey)&lt;/code&gt; instead in your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not related to your issue directly but you should have only one method to set facet not two as you have now. :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you are repeating code here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var trackerIdentifier = new IdentifiedContactReference(&#xA;Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource,&#xA;Sitecore.Analytics.Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&#xA;var contact = client.Get&amp;lt;Contact&amp;gt;(trackerIdentifier,&#xA;                    new Sitecore.XConnect.ContactExpandOptions());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should be moved to unified AddItem method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow DRY principles!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about facets on contacts in xConnect:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/contacts/get-contacts/get-facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;xConnect doc site for getting/setting facets&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-22T13:50:40.403" LastActivityDate="2018-06-22T13:50:40.403" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="10845" PostTypeId="2" ParentId="10838" CreationDate="2018-03-16T14:37:19.303" Score="1" Body="&lt;p&gt;There are no indexes showing because the App Service and Solr VM have no connection. To establish connection between the two:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create two virtual networks. One for solr and the other for the App Service&lt;/li&gt;&#xA;&lt;li&gt;Create connection between their virtual gateways.&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Allow Inbound Security Rules and Solr Firewall for Port 8983&lt;/li&gt;&#xA;&lt;li&gt;In &lt;em&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/em&gt;, search for Service Base address and change it to the IP address of the Solr Windows Server VM (&lt;a href=&quot;https://IP:8983/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://IP:8983/solr&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2472" LastActivityDate="2018-03-16T14:37:19.303" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10846" PostTypeId="2" ParentId="6431" CreationDate="2018-03-16T14:39:45.133" Score="1" Body="&lt;p&gt;To answer your related question, if a person visits the same page multiple times during a visit, each time should count as a separate hit to that page and be included in the calculation in that manner.&lt;/p&gt;&#xA;" OwnerUserId="429" LastActivityDate="2018-03-16T14:39:45.133" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10848" PostTypeId="1" AcceptedAnswerId="11073" CreationDate="2018-03-16T15:48:30.533" Score="2" ViewCount="476" Body="&lt;p&gt;I've got federated authentication set up for Azure AD. I am using &lt;code&gt;Sitecore 9.0.1 on Azure App Service&lt;/code&gt;. I ran into an odd problem when going into Experience Editor that I can't duplicate with a &quot;local&quot; user that has the same permissions (seemingly).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When my Azure AD user logs in, they're given the Author, Designer, and Client Publishing permissions, via two groups (an Authors and Publishers group) that they're a member. This gives them access to Experience Editor. When I go in there, I get an &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Uncaught SyntaxEditor: Unexpected token &amp;lt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;message in the browser console, related to &lt;code&gt;/Sitecore/login?ReturnUrl=%2f-%2fspeak%2fv1%2fassets%2fmain.js&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I set up a user through User Manager and assign the same roles, then log in with them, I don't get the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like something isn't triggered right in the login process for Azure AD and the system thinks I shouldn't have access to the &lt;code&gt;/-/speak/v1/assets/main.js&lt;/code&gt; file. Without that, the Experience Editor just keeps spinning...I get the title bar and I can see a placeholder, but I can't access any of it because the &quot;loading&quot; modal is there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there's additional information I can provide, please let me know.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="2727" LastEditDate="2018-03-19T17:26:09.513" LastActivityDate="2018-03-29T17:40:02.707" Title="Uncaught SyntaxEditor: Unexpected token Error while accessing Experience Editor using Federated Authentication" Tags="|experience-editor|federated-authentication|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10849" PostTypeId="1" CreationDate="2018-03-16T15:49:24.167" Score="2" ViewCount="95" Body="&lt;p&gt;There are two Activity types named &lt;strong&gt;Email clicked&lt;/strong&gt; and &lt;strong&gt;Email opened&lt;/strong&gt; in Marketing Automation.&lt;/p&gt;&#xA;&lt;p&gt;But both of these items are not loaded in the &lt;code&gt;Marketing Automation&lt;/code&gt; Tab.&lt;/p&gt;&#xA;&lt;p&gt;Why?&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tewKW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tewKW.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="5774" LastEditDate="2021-06-09T08:52:07.710" LastActivityDate="2021-06-09T08:52:07.710" Title="Why &quot;Email clicked&quot; And &quot;Email opened&quot; activity types are not shown in Marketing actions tab in sitecore 9.0.1?" Tags="|marketing-automation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="10850" PostTypeId="1" CreationDate="2018-03-16T15:56:49.570" Score="0" ViewCount="42" Body="&lt;p&gt;I'm using Data Exchange Framework 1.4.1 (rev. 170818) and Dynamics CRM Connect 1.4.1 (rev. 170818).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Reset Existing xDB Contacts Pipeline doesn't remove marketing lists values from the xDB Contacts.&#xA;Any advice?&lt;/p&gt;&#xA;" OwnerUserId="3141" LastActivityDate="2018-04-16T01:57:11.900" Title="Reset Existing xDB Contacts Pipeline Dynamics Plugin not resetting values on xdb" Tags="|xdb|pipelines|data-exchange-framework|dynamics-crm-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10851" PostTypeId="2" ParentId="7942" CreationDate="2018-03-16T16:22:20.697" Score="0" Body="&lt;p&gt;Consolidating all the possible reasons behind missing Sitecore Analytics Buttons on Launchpad in this answer:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;As Mark said please check if your &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3977/how-to-check-sitecore-xdb-base-in-license-file&quot;&gt;license file have appropriate xDB License&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Please check of the xDB is not disabled. Open &lt;code&gt;Sitecore.XDb.config&lt;/code&gt;  and check &lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Using &lt;code&gt;showconfig.aspx&lt;/code&gt; check if any custom patch file is nor overriding the &lt;code&gt;xDB.Enabled&lt;/code&gt; flag.&lt;/li&gt;&#xA;&lt;li&gt;Lastly check if you are logged in as Administrator or as a user who is not restricted to access to Sitecore Analytics.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-03-16T16:39:12.260" LastActivityDate="2018-03-16T16:39:12.260" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10852" PostTypeId="1" CreationDate="2018-03-16T16:38:51.770" Score="1" ViewCount="1338" Body="&lt;p&gt;Has anyone seen this error before or know how to solve it?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    996 16:35:46 WARN  Failed to execute datasource query System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.IsExcludedFromIndex(SitecoreIndexableItem indexable, Boolean checkLocation)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.GetContextIndexRanking(IIndexable indexable)&#xA;   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()&#xA;   at System.Linq.Enumerable.Min(IEnumerable`1 source)&#xA;   at Sitecore.ContentSearch.AbstractSearchIndex.Sitecore.ContentSearch.Pipelines.GetContextIndex.IContextIndexRankable.GetContextIndexRanking(IIndexable indexable)&#xA;   at Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex.&amp;lt;&amp;gt;c__DisplayClass6_0.&amp;lt;RankContextIndexes&amp;gt;b__0(ISearchIndex i)&#xA;   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()&#xA;   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xA;   at System.Linq.OrderedEnumerable`1.&amp;lt;GetEnumerator&amp;gt;d__1.MoveNext()&#xA;   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xA;   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)&#xA;   at Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex.GetContextIndex(IIndexable indexable, GetContextIndexArgs args)&#xA;   at Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex.Process(GetContextIndexArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Abstractions.CorePipelineWrapper.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.ContentSearch.Pipelines.GetContextIndex.GetContextIndexPipeline.Run(ICorePipeline pipeline, GetContextIndexArgs args)&#xA;   at Sitecore.Mvc.ExperienceEditor.DatasourceValidator.DatasourceValidator.IsDatasourceValid(String dataSource, Database database)&#xA; 996 16:35:46 WARN  '{9F469FDF-5697-47F7-8D55-01FBCD64E534}' is not valid datasource for master or user does not have permissions to access.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am seeing this error when I try to set a DataSource on a rendering. I have tried this both via the Experience Editor and by setting it in the Layout manager.&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="2727" LastEditDate="2018-04-02T12:50:53.030" LastActivityDate="2018-12-05T23:23:22.273" Title="Failed to execute datasource query System.NullReferenceException while setting Datasource on Rendering" Tags="|content-search|presentation|pipelines|datasource|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10853" PostTypeId="1" CreationDate="2018-03-16T19:11:44.237" Score="1" ViewCount="340" Body="&lt;p&gt;I'm currently using find-item on Sitecore PowerShell&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Find-Item -Index sitecore_master_index -Criteria @{Filter = &quot;Equals&quot;; Field = &quot;recipe id&quot;; Value = &quot;Recipe_Lambada&quot;}, @{Filter = &quot;DescendantOf&quot;; Field = $SiteItem}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Somehow, suddenly it stopped returning anything on the find item. I am sure this was working before as I have used it earlier. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming Items do exist, am i doing something wrong here for find-item to be used? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried reindexing the &lt;code&gt;sitecore_master_index&lt;/code&gt;, published the templates of the item. I tried searching for the template and it seems to give me back results. What seems to be the problem here is that the field is not being seen. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything else that I miss? Or is there something else I can check? &lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="2727" LastEditDate="2018-03-19T08:03:42.457" LastActivityDate="2018-03-19T08:03:42.457" Title="PowerShell find-item doesn't return values" Tags="|powershell-extensions|indexing|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10854" PostTypeId="2" ParentId="10850" CreationDate="2018-03-17T01:52:26.363" Score="1" Body="&lt;p&gt;The pipeline is trying to set the marketing list property to null. By default, a null value will not overwrite an existing value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To change this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the Content Editor&lt;/li&gt;&#xA;&lt;li&gt;Select your tenant&lt;/li&gt;&#xA;&lt;li&gt;Navigate to &lt;code&gt;Value Mapping Sets &amp;gt; Clear CRM List Membership on xDB Contact &amp;gt; Marketing Lists&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Untick the field &lt;code&gt;Ignore null values&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Save the item&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="256" LastActivityDate="2018-03-17T01:52:26.363" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10855" PostTypeId="1" AcceptedAnswerId="10885" CreationDate="2018-03-17T03:59:15.600" Score="3" ViewCount="601" Body="&lt;p&gt;I have been working on a Sitecore 9 migration project. The client told us to use the existing html and stylesheets and use SXA as much as possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have used RichText control in a few places but when the content author does any changes in the experience editor, the html gets removed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3oIaS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3oIaS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;media&quot;&amp;gt; &amp;lt;a class=&quot;pull-left&quot; href=&quot;#&quot;&amp;gt;&#xA;&amp;lt;img class=&quot;media-object&quot; data-src=&quot;holder.js/64x64&quot;&amp;gt;&amp;lt;/a&amp;gt;&#xA;    &amp;lt;div class=&quot;media-body&quot;&amp;gt;&#xA;        &amp;lt;h4 class=&quot;media-heading&quot;&amp;gt;Media heading&amp;lt;/h4&amp;gt;&#xA;        &amp;lt;div class=&quot;content&quot; Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.&amp;gt;&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Content author =&gt; open experience editor and changes the h4 title completely. It removes the html (h4 along with class). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we prevent that the html gets removed when the content author edits in the RTE? Is there any settings available for rich text editor in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="237" LastEditDate="2018-03-17T12:33:27.603" LastActivityDate="2018-03-29T09:07:17.280" Title="Prevent content authors removing html from the experience editor" Tags="|sxa|experience-editor|richtext-editor|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10856" PostTypeId="2" ParentId="9676" CreationDate="2018-03-17T07:24:34.913" Score="1" Body="&lt;p&gt;To get the priority your files should be at the very last. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is so basic, The files are optimized in the sort order of the files in the folder, just place your &lt;code&gt;custom.css&lt;/code&gt; at the very last in the folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do it by using the top options from the Home Nav. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3MtPt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3MtPt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Same goes for your Javascript files, you should make sure that your custom.js file which initializes the JS options, should be at the very last.&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-17T07:24:34.913" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10857" PostTypeId="2" ParentId="10855" CreationDate="2018-03-17T09:01:46.223" Score="-1" Body="&lt;p&gt;You can restrict the user to use the &quot;Edit HTML&quot; in RTE.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to the core database, locate the field definition item: /sitecore/system/Field types/Simple Types/Rich Text/Menu/Edit Html&lt;/li&gt;&#xA;&lt;li&gt;On the Security Tab, click “Assign” and select the role &quot;Content Author&quot; fpr whom you don’t want this option to be available to. Deny inheritance of this item or specify other security settings that make sense for your needs.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can get more details here: &lt;a href=&quot;http://sitecoreblog.alexshyba.com/2009/10/quick-tip-remove-edit-html-option-for.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreblog.alexshyba.com/2009/10/quick-tip-remove-edit-html-option-for.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-03-17T09:01:46.223" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10858" PostTypeId="1" AcceptedAnswerId="10872" CreationDate="2018-03-17T11:08:45.307" Score="4" ViewCount="1737" Body="&lt;p&gt;I want to prevent user from creating item with duplicate name. I've referenced &lt;a href=&quot;https://sitecoreclimber.wordpress.com/2013/03/05/prevent-duplicates-items/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Climber's Prevent Duplicates&lt;/a&gt; approach with slight modification to prevent item duplication due to rename, copy, and move operation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code is like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  using System;&#xA;  using System.Linq;&#xA;  using System.Data;&#xA;  using Sitecore.Data;&#xA;  using Sitecore.Data.Items;&#xA;  using Sitecore.Events;&#xA;  using Sitecore.SecurityModel;&#xA;  using Sitecore.Data.Events;&#xA;&#xA;  namespace MyProject.Website.Events&#xA;  {&#xA;      /// &amp;lt;summary&amp;gt;&#xA;      /// Prevents item duplication or at least alert the user.&#xA;      /// https://sitecoreclimber.wordpress.com/2013/03/05/prevent-duplicates-items/&#xA;      /// &#xA;      /// Uses HttpContext for denying event golf.&#xA;      /// &amp;lt;/summary&amp;gt;&#xA;      public class PreventDuplicateItemName&#xA;      {&#xA;          #region Inner Class&#xA;          private class PreventDuplicateParameter&#xA;          {&#xA;              public SitecoreEventArgs OriginalEventArguments { get; set; }&#xA;              public Item ParentItem { get; set; }&#xA;              public ID CurrentItemId { get; set; }&#xA;              public string CurrentItemName { get; set; }&#xA;          }&#xA;          #endregion&#xA;&#xA;          #region Public Methods&#xA;          /// &amp;lt;summary&amp;gt;&#xA;          /// Alert and cancel item creation if duplicate is found.&#xA;          /// &amp;lt;/summary&amp;gt;&#xA;          /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          public void OnItemCreating(object sender, EventArgs args)&#xA;          {&#xA;              Func&amp;lt;SitecoreEventArgs, PreventDuplicateParameter&amp;gt; extractData = (SitecoreEventArgs evtArgs) =&amp;gt;&#xA;              {&#xA;                  PreventDuplicateParameter param = new PreventDuplicateParameter();&#xA;&#xA;                  param.OriginalEventArguments = evtArgs;&#xA;&#xA;                  ItemCreatingEventArgs evtCreating = Event.ExtractParameter&amp;lt;ItemCreatingEventArgs&amp;gt;(evtArgs, 0);&#xA;&#xA;                  param.ParentItem = evtCreating.Parent;&#xA;                  param.CurrentItemId = evtCreating.ItemId;&#xA;                  param.CurrentItemName = evtCreating.ItemName;&#xA;&#xA;                  return param;&#xA;              };&#xA;&#xA;              _HandleDuplicationCheck(args,&#xA;                                      &quot;Name \&quot;{0}\&quot; is already in use. Please use different name first.&quot;,&#xA;                                      extractData);&#xA;          }&#xA;&#xA;          /// &amp;lt;summary&amp;gt;&#xA;          /// Alert and abort copying the item if duplicate is found.&#xA;          /// &amp;lt;/summary&amp;gt;&#xA;          /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          public void OnItemCopying(object sender, EventArgs args)&#xA;          {&#xA;              Func&amp;lt;SitecoreEventArgs, PreventDuplicateParameter&amp;gt; extractData = (SitecoreEventArgs evtArgs) =&amp;gt;&#xA;              {&#xA;                  PreventDuplicateParameter param = _ExtractEventArgumentBase(evtArgs);&#xA;&#xA;                  param.ParentItem = Event.ExtractParameter&amp;lt;Item&amp;gt;(evtArgs, 1);&#xA;                  param.CurrentItemName = Event.ExtractParameter&amp;lt;string&amp;gt;(evtArgs, 2);&#xA;                  param.CurrentItemId = Event.ExtractParameter&amp;lt;ID&amp;gt;(evtArgs, 3);&#xA;&#xA;                  return param;&#xA;              };&#xA;&#xA;              _HandleDuplicationCheck(args,&#xA;                                      &quot;Name \&quot;{0}\&quot; is already in use in the target path. Please make sure the item uses different name first.&quot;,&#xA;                                      extractData);&#xA;          }&#xA;&#xA;          /// &amp;lt;summary&amp;gt;&#xA;          /// Alert and abort moving the item if duplicate is found.&#xA;          /// &amp;lt;/summary&amp;gt;&#xA;          /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          public void OnItemMoving(object sender, EventArgs args)&#xA;          {&#xA;              Func&amp;lt;SitecoreEventArgs, PreventDuplicateParameter&amp;gt; extractData = (SitecoreEventArgs evtArgs) =&amp;gt;&#xA;              {&#xA;                  PreventDuplicateParameter param = _ExtractEventArgumentBase(evtArgs);&#xA;&#xA;                  param.ParentItem = _GetItem(Event.ExtractParameter&amp;lt;ID&amp;gt;(evtArgs, 2));&#xA;&#xA;                  return param;&#xA;              };&#xA;&#xA;              _HandleDuplicationCheck(args,&#xA;                                      &quot;Name \&quot;{0}\&quot; is already in use in the target path. Please make sure the item uses different name first.&quot;,&#xA;                                      extractData);&#xA;          }&#xA;&#xA;          /// &amp;lt;summary&amp;gt;&#xA;          /// Alert and abort renaming the item if duplicate is found.&#xA;          /// &amp;lt;/summary&amp;gt;&#xA;          /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          public void OnItemRenamed(object sender, EventArgs args)&#xA;          {&#xA;              //Callback for renaming the item back to previous name.&#xA;              //OnItemSaving runs before OnItemRenamed and the &amp;lt;see csref=&quot;SitecoreEventArgs.Result.Cancel&quot;&amp;gt; is not working as expected.&#xA;              Action&amp;lt;PreventDuplicateParameter&amp;gt; callback = (PreventDuplicateParameter preventDuplicateParameter) =&amp;gt;&#xA;              {&#xA;                  using(new SecurityDisabler())&#xA;                  {&#xA;                      Item item = _GetItem(preventDuplicateParameter.CurrentItemId);&#xA;                      if ((item != null) &amp;amp;&amp;amp; _IsSafeEdit(item.ID))&#xA;                      {&#xA;                          string originalName = Event.ExtractParameter&amp;lt;string&amp;gt;(preventDuplicateParameter.OriginalEventArguments, 1);&#xA;&#xA;                          item.Editing.BeginEdit();&#xA;                          item.Name = originalName;&#xA;                          item.Editing.EndEdit();&#xA;                      }&#xA;                  }&#xA;              };&#xA;&#xA;              _HandleDuplicationCheck(args,&#xA;                                      &quot;Name \&quot;{0}\&quot; is already in use. Please rename the item with different name.&quot;,&#xA;                                      _ExtractEventArgumentBase,&#xA;                                      callback);&#xA;          }&#xA;          #endregion&#xA;&#xA;          #region Private Methods&#xA;          private bool _IsBackend()&#xA;          {&#xA;              return ((Sitecore.Context.Site != null) &amp;amp;&amp;amp; Sitecore.Context.Site.Name == &quot;shell&quot;);&#xA;          }&#xA;&#xA;          private string _RemoveDash(string original)&#xA;          {&#xA;              return original.Replace(' ', '-').ToLower();&#xA;          }&#xA;&#xA;          private bool _IsDuplicate(Item targetParent, ID currentItemId, string currentItemName)&#xA;          {&#xA;              string newName = _RemoveDash(currentItemName);&#xA;              return targetParent.GetChildren().Any(x =&amp;gt; x.Name.Equals(newName) &amp;amp;&amp;amp; x.ID != currentItemId);&#xA;          }&#xA;&#xA;          private Item _GetItem(ID itemId)&#xA;          {&#xA;              //Operates on the assumption it works on the backend (CM).&#xA;              Database master = Database.GetDatabase(&quot;master&quot;);&#xA;              if(master != null)&#xA;              {&#xA;                  Item item = master.GetItem(itemId);&#xA;                  return item;&#xA;              }&#xA;&#xA;              return null;&#xA;          }&#xA;&#xA;          private bool _IsSafeEdit(ID itemId)&#xA;          {&#xA;              //HACK: need to find better approach to avoid rename bouncing back and forth.&#xA;              string key = &quot;_PreventDuplicateItemName-ItemId&quot;;&#xA;              if ((Sitecore.Context.Items != null))&#xA;              {&#xA;                  if((Sitecore.Context.Items[key] != null))&#xA;                  {&#xA;                      ID prevId = Sitecore.Context.Items[key] as ID;&#xA;                      if(!prevId.IsNull &amp;amp;&amp;amp; (prevId == itemId))&#xA;                      {&#xA;                          return false;&#xA;                      }&#xA;                  }&#xA;&#xA;                  Sitecore.Context.Items[key] = itemId;&#xA;              }&#xA;&#xA;              return true;&#xA;          }&#xA;&#xA;          private PreventDuplicateParameter _ExtractEventArgumentBase(SitecoreEventArgs evtArgs)&#xA;          {&#xA;              PreventDuplicateParameter param = new PreventDuplicateParameter();&#xA;&#xA;              param.OriginalEventArguments = evtArgs;&#xA;&#xA;              Item currentItem = Event.ExtractParameter&amp;lt;Item&amp;gt;(evtArgs, 0);&#xA;&#xA;              param.ParentItem = currentItem.Parent;&#xA;              param.CurrentItemId = currentItem.ID;&#xA;              param.CurrentItemName = currentItem.Name;&#xA;&#xA;              return param;&#xA;          }&#xA;&#xA;          /// &amp;lt;summary&amp;gt;&#xA;          /// The callback will be called if the duplicate checks fires.&#xA;          /// &amp;lt;/summary&amp;gt;&#xA;          /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          /// &amp;lt;param name=&quot;message&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          /// &amp;lt;param name=&quot;delegateGetParameters&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          /// &amp;lt;param name=&quot;callback&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;          private void _HandleDuplicationCheck(EventArgs args, string message, Func&amp;lt;SitecoreEventArgs, PreventDuplicateParameter&amp;gt; delegateGetParameters, Action&amp;lt;PreventDuplicateParameter&amp;gt; callback = null)&#xA;          {&#xA;              if((args != null) &amp;amp;&amp;amp; _IsBackend())&#xA;              {&#xA;                  using (new SecurityDisabler())&#xA;                  {&#xA;                      SitecoreEventArgs evtArgs = args as SitecoreEventArgs;&#xA;                      if(evtArgs != null)&#xA;                      {&#xA;                          try&#xA;                          {&#xA;                              PreventDuplicateParameter data = delegateGetParameters(evtArgs);&#xA;                              if (data != null)&#xA;                              {&#xA;                                  if (_IsDuplicate(data.ParentItem, data.CurrentItemId, data.CurrentItemName))&#xA;                                  {&#xA;                                      try&#xA;                                      {&#xA;                                          //HACK: (Sitecore.Context.ClientPage != null) &amp;amp;&amp;amp; (Sitecore.Context.ClientPage.ClientResponse != null)&#xA;                                          //fails with null exception&#xA;                                          evtArgs.Result.Cancel = true;&#xA;                                          Sitecore.Context.ClientPage.ClientResponse.Alert(string.Format(message, _RemoveDash(data.CurrentItemName)));&#xA;                                          callback?.Invoke(data);&#xA;                                      }&#xA;                                      catch (Exception ex)&#xA;                                      {&#xA;                                          Sitecore.Diagnostics.Log.Error(string.Format(&quot;Error on preventing duplicates of {0}.&quot;,&#xA;                                                                                       data.CurrentItemName),&#xA;                                                                                       ex,&#xA;                                                                                       this);&#xA;                                      }&#xA;                                  }&#xA;                              }&#xA;                          }&#xA;                          catch(Exception ex)&#xA;                          {&#xA;                              Sitecore.Diagnostics.Log.Error(string.Format(&quot;Error on fetching event data: {0}&quot;, evtArgs), ex, this);&#xA;                          }&#xA;                      }&#xA;                  }&#xA;              }&#xA;          }&#xA;          #endregion&#xA;      }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've registered the code above through configuration and tested that it runs properly for most Sitecore Items.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;?xaml version=&quot;1.0&quot;?&amp;gt;&#xA;  &amp;lt;configuration xmlns:patch=&quot;http:www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;      &amp;lt;sitecore&amp;gt;&#xA;          &amp;lt;events&amp;gt;&#xA;              &amp;lt;event name=&quot;item:creating&quot;&amp;gt;&#xA;                  &amp;lt;handler type=&quot;MyProject.Website.Events.PreventDuplicateItemName, MyProject.Website&quot; method=&quot;OnItemCreating&quot;/&amp;gt;&#xA;              &amp;lt;/event&amp;gt;&#xA;              &amp;lt;event name=&quot;item:copying&quot;&amp;gt;&#xA;                  &amp;lt;handler type=&quot;MyProject.Website.Events.PreventDuplicateItemName, MyProject.Website&quot; method=&quot;OnItemCopying&quot;/&amp;gt;&#xA;              &amp;lt;/event&amp;gt;&#xA;              &amp;lt;event name=&quot;item:moving&quot;&amp;gt;&#xA;                  &amp;lt;handler type=&quot;MyProject.Website.Events.PreventDuplicateItemName, MyProject.Website&quot; method=&quot;OnItemMoving&quot;/&amp;gt;&#xA;              &amp;lt;/event&amp;gt;&#xA;              &amp;lt;event name=&quot;item:renamed&quot;&amp;gt;&#xA;                  &amp;lt;handler type=&quot;MyProject.Website.Events.PreventDuplicateItemName, MyProject.Website&quot; method=&quot;OnItemRenamed&quot;/&amp;gt;&#xA;              &amp;lt;/event&amp;gt;&#xA;          &amp;lt;/events&amp;gt;&#xA;      &amp;lt;/sitecore&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Surprisingly, it does not work with Sitecore &lt;code&gt;folder&lt;/code&gt;s. The event never fired.&#xA;I've checked on &lt;a href=&quot;https://sdn.sitecore.net/articles/api/using%20events.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation&lt;/a&gt; and never see it states &lt;code&gt;folder&lt;/code&gt; as different entity compared to common Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am i missing something? How to prevent folders from being a duplicates?&lt;/p&gt;&#xA;" OwnerUserId="1825" LastEditorUserId="2056" LastEditDate="2019-02-12T13:21:42.370" LastActivityDate="2019-02-12T13:21:42.370" Title="Prevent Item Duplication in Sitecore" Tags="|configuration|content-editor|events|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10859" PostTypeId="2" ParentId="10821" CreationDate="2018-03-17T12:55:46.823" Score="4" Body="&lt;p&gt;In theory you can extend &lt;code&gt;LinkUrl&lt;/code&gt; class and pass the xml instead of the &lt;code&gt;LinkField&lt;/code&gt; object like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Xml;&#xA;using Sitecore.Data;&#xA;using Sitecore.Xml.Xsl;&#xA;&#xA;namespace My.Assembly.Namespace&#xA;{&#xA;    public class ExtendedLinkUrl : LinkUrl&#xA;    {&#xA;        public string GetUrl(string linkFieldXml, Database database)&#xA;        {&#xA;            if (string.IsNullOrEmpty(linkFieldXml) || database == null)&#xA;                return null;&#xA;&#xA;            var xmlDocument = new XmlDocument();&#xA;            xmlDocument.LoadXml(linkFieldXml);&#xA;            var linkElement = xmlDocument.DocumentElement;&#xA;&#xA;            if (linkElement == null)&#xA;                return null;&#xA;&#xA;            string linkType = linkElement.GetAttribute(&quot;linktype&quot;);&#xA;            string url = linkElement.GetAttribute(&quot;url&quot;);&#xA;            string id = linkElement.GetAttribute(&quot;id&quot;);&#xA;            string anchor = linkElement.GetAttribute(&quot;anchor&quot;);&#xA;            string queryString = linkElement.GetAttribute(&quot;querystring&quot;);&#xA;&#xA;            if (!string.IsNullOrEmpty(anchor))&#xA;                anchor = &quot;#&quot; + anchor;&#xA;&#xA;            switch (linkType)&#xA;            {&#xA;                case &quot;anchor&quot;:&#xA;                    return anchor;&#xA;                case &quot;external&quot;:&#xA;                    return GetExternalUrl(url);&#xA;                case &quot;internal&quot;:&#xA;                    return GetInternalUrl(database, url, id, anchor, queryString);&#xA;                case &quot;javascript&quot;:&#xA;                    return GetJavaScriptUrl(url);&#xA;                case &quot;mailto&quot;:&#xA;                    return GetMailToLink(url);&#xA;                case &quot;media&quot;:&#xA;                    return GetMediaUrl(database, id);&#xA;                default:&#xA;                    return string.Empty;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-03-17T12:55:46.823" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10860" PostTypeId="1" AcceptedAnswerId="10884" CreationDate="2018-03-17T14:34:17.037" Score="2" ViewCount="291" Body="&lt;p&gt;I have data stored under a custom contact facet in xDB in &lt;code&gt;Sitecore 8.2&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to display those custom facets information under a single report.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know I can add this info into Experience Profile. But, what I need is a way to display all the facets created under a single report instead of displaying the facet information under a given user's profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any inbuilt report that already exists with this requirement ? Highly appreciate if any thought on a way I can achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example scenario would be:&#xA;User adds items to a wishlist. We are keeping those wishlist data in a custom facet. Administrators needs to view all the wishlists created by all the users as a single report in Experience Analytics tool or some other place as a custom report.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="2056" LastEditDate="2018-03-18T15:23:02.203" LastActivityDate="2018-03-19T14:11:54.840" Title="Display Custom Contact Facet data under one report in Sitecore 8.2" Tags="|xdb|contact-facets|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10863" PostTypeId="1" AcceptedAnswerId="11083" CreationDate="2018-03-18T13:08:17.157" Score="0" ViewCount="592" Body="&lt;p&gt;I am new to Sitecore and I need help with Geolocation service.&#xA;We have a website build over Sitecore with CM and CD servers deployed on Azure.&#xA;We activated IP Geolocation service on CM and its working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How i can check it on CD?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to apply it again on CD or just need some DB configuration?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE -&lt;/strong&gt; We verified that this service is activated based on licence so wherever the license is used then the service will be active. &#xA;Now our problem with this service on CD is in the Application Gateway on Azure which is not forwarding the user Visit information correctly.&lt;/p&gt;&#xA;" OwnerUserId="3066" LastEditorUserId="2056" LastEditDate="2018-03-29T09:48:00.027" LastActivityDate="2018-03-29T11:42:41.787" Title="Sitecore IP Geolocation - CM /CD" Tags="|content-delivery|geo-location|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10864" PostTypeId="1" AcceptedAnswerId="10867" CreationDate="2018-03-18T13:08:27.517" Score="3" ViewCount="374" Body="&lt;p&gt;I am trying to add a custom notification message to display in the preview mode in Sitecore 8 for a particular item. I have done some digging and found you can create custom notification message extending the etPageEditorNotificationsProcessor class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As descriped in this: &lt;a href=&quot;https://techmusingz.wordpress.com/2016/11/09/add-workflow-notifications-for-all-editable-items-on-a-sitecore-page/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://techmusingz.wordpress.com/2016/11/09/add-workflow-notifications-for-all-editable-items-on-a-sitecore-page/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have managed to do this but the custom message only shows in the Experience Editor not the Preview mode.  Does anyone know how I can accomplish this in the Preview mode please?  Something similar to below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MIH2v.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MIH2v.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3410" LastEditorUserId="3410" LastEditDate="2018-03-18T13:20:58.830" LastActivityDate="2018-03-18T17:31:25.597" Title="How to provide custom info messages in Sitecore Preview Mode" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10865" PostTypeId="1" AcceptedAnswerId="10866" CreationDate="2018-03-18T14:15:38.433" Score="4" ViewCount="3093" Body="&lt;p&gt;Sometimes Sitecore 9 SIF installation script fails as multiple certificates found with same DNS name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may happened when you try to install Sitecore 9 using SIF and somehow it got failed due to any reason. You may tried to reinstall it. And If you tried to reinstall it with different user account, your SIF script might get failed with below exception.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Cannot process argument transformation on parameter 'Signer'. Cannot&#xA;  convert the &quot;System.Object[]&quot; value of type &quot;System.Object[]&quot; to type&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I found the solution &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10129/sitecore-9-installation-error-cannot-process-argument-transformation-on-paramet&quot;&gt;here&lt;/a&gt; and to continue with installation, I need to remove all already installed certificates but I don’t know, how to remove those from my system?&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-12-06T14:08:40.193" Title="How to remove all certificates installed by Sitecore 9 SIF Installation?" Tags="|sitecore-install-framework|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10866" PostTypeId="2" ParentId="10865" CreationDate="2018-03-18T14:18:03.653" Score="13" Body="&lt;p&gt;If you already know the thumbprint id (listed in the SIF console error), you can execute below PowerShell script to delete &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem Cert:\LocalMachine\Root\&amp;lt;&amp;lt;thumbprint&amp;gt;&amp;gt; | Remove-Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want to list of installed certificate for the location, you can execute below script to get that list.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-Location Cert:\LocalMachine\Root&#xA;Get-ChildItem | Format-Table Subject, FriendlyName, Thumbprint -AutoSize&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-03-18T14:18:03.653" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10867" PostTypeId="2" ParentId="10864" CreationDate="2018-03-18T17:31:25.597" Score="3" Body="&lt;p&gt;Unfortunately &lt;code&gt;RenderNotifications&lt;/code&gt; method of &lt;code&gt;WebEditRibbonForm&lt;/code&gt; class contains check:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (WebUtil.GetQueryString(&quot;mode&quot;) != &quot;edit&quot;)&#xA;    return;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The simplest solution would be to override &lt;code&gt;WebEditRibbonForm&lt;/code&gt;, replace &lt;code&gt;CodeBeside&lt;/code&gt; from the original &lt;code&gt;WebEditorRibbonForm&lt;/code&gt; to your custom class in &lt;code&gt;sitecore\shell\Applications\WebEdit\WebEditRibbon.aspx&lt;/code&gt; file and write few methods like below to make sure that Sitecore renders notifications in &lt;code&gt;preview&lt;/code&gt; mode as well:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExtendedWebEditorRibbonForm : WebEditRibbonForm&#xA;{&#xA;    protected override void OnLoad(EventArgs e)&#xA;    {&#xA;        base.OnLoad(e);&#xA;        ItemUri queryString = ItemUri.ParseQueryString();&#xA;        if (!Context.ClientPage.IsEvent)&#xA;        {&#xA;            Item item = Database.GetItem(queryString);&#xA;            if (item != null)&#xA;            {&#xA;                RenderNotifications(item);&#xA;            }&#xA;        }&#xA;    }&#xA;    private void RenderNotifications(Item item)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, nameof(item));&#xA;        // in preview mode we do same what Sitecore does in edit mode &#xA;        if (WebUtil.GetQueryString(&quot;mode&quot;) != &quot;preview&quot;)&#xA;            return;&#xA;&#xA;        List&amp;lt;PageEditorNotification&amp;gt; editorNotifications = ItemUtility.GetPageEditorNotifications(item);&#xA;        if (editorNotifications.Count == 0)&#xA;        {&#xA;            Notifications.Visible = false;&#xA;        }&#xA;        else&#xA;        {&#xA;            HtmlTextWriter output = new HtmlTextWriter(new StringWriter());&#xA;            int count = editorNotifications.Count;&#xA;            for (int index = 0; index &amp;lt; count; ++index)&#xA;            {&#xA;                PageEditorNotification notification = editorNotifications[index];&#xA;                string empty = string.Empty;&#xA;                if (index == 0)&#xA;                    empty += &quot; First&quot;;&#xA;                if (index == count - 1)&#xA;                    empty += &quot; Last&quot;;&#xA;                RenderNotification(output, notification, empty);&#xA;            }&#xA;            Notifications.InnerHtml = output.InnerWriter.ToString();&#xA;        }&#xA;    }&#xA;&#xA;    private static void RenderNotification(HtmlTextWriter output, PageEditorNotification notification, string marker)&#xA;    {&#xA;        Assert.ArgumentNotNull(output, nameof(output));&#xA;        Assert.ArgumentNotNull(notification, nameof(notification));&#xA;        Assert.ArgumentNotNull(marker, nameof(marker));&#xA;        string str = Themes.MapTheme(notification.Icon ?? GetNotificationIcon(notification.Type));&#xA;        output.Write(&quot;&amp;lt;div class=\&quot;scPageEditorNotification {0}{1}\&quot;&amp;gt;&quot;, notification.Type, marker);&#xA;        output.Write(&quot;&amp;lt;img class=\&quot;Icon\&quot; src=\&quot;{0}\&quot;/&amp;gt;&quot;, str);&#xA;        output.Write(&quot;&amp;lt;div class=\&quot;Description\&quot;&amp;gt;{0}&amp;lt;/div&amp;gt;&quot;, notification.Description);&#xA;        foreach (PageEditorNotificationOption option in notification.Options)&#xA;            output.Write(&quot;&amp;lt;a onclick=\&quot;javascript: return scForm.postEvent(this, event, '{0}')\&quot; href=\&quot;#\&quot; class=\&quot;OptionTitle\&quot;&amp;gt;{1}&amp;lt;/a&amp;gt;&quot;, option.Command, option.Title);&#xA;        output.Write(&quot;&amp;lt;br style=\&quot;clear: both\&quot;/&amp;gt;&quot;);&#xA;        output.Write(&quot;&amp;lt;/div&amp;gt;&quot;);&#xA;    }&#xA;&#xA;    private static string GetNotificationIcon(PageEditorNotificationType notificationType)&#xA;    {&#xA;        switch (notificationType)&#xA;        {&#xA;            case PageEditorNotificationType.Error:&#xA;                return &quot;Custom/16x16/error.png&quot;;&#xA;            case PageEditorNotificationType.Information:&#xA;                return &quot;Custom/16x16/info.png&quot;;&#xA;            default:&#xA;                return &quot;Custom/16x16/warning.png&quot;;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-03-18T17:31:25.597" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10868" PostTypeId="1" AcceptedAnswerId="10870" CreationDate="2018-03-18T20:13:36.860" Score="5" ViewCount="673" Body="&lt;p&gt;Can Sitecore be installed offline? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've only tried to install it online using the SIM, but SIM, or the current version need access to the internet, to run the SIM application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how to handle it offline, is copying the data, database and website folder into the inetpub directory enough?&lt;/p&gt;&#xA;" OwnerUserId="3336" LastEditorUserId="2727" LastEditDate="2018-03-19T11:52:56.080" LastActivityDate="2018-03-19T11:52:56.080" Title="Can Sitecore be installed offline?" Tags="|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10869" PostTypeId="1" AcceptedAnswerId="10875" CreationDate="2018-03-18T20:44:39.210" Score="0" ViewCount="407" Body="&lt;p&gt;I am using SXA 1.6 Clone Feature to clone SXA Search result render to new one with  custom .cshtml file so I can change the markup of the container instant of &lt;code&gt;&amp;lt;ul&amp;gt; &amp;lt;li&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt;tags , however I have noticed if I change &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div @Html.Sxa().Component(Model.Rendering.RenderingCssClass ?? &quot;search-results&quot;, Model.Attributes) data-class-variant=&quot;@variantClass&quot; data-properties='@Model.JsonDataProperties'&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div @Html.Sxa().Component(Model.Rendering.RenderingCssClass ?? &quot;FeaturedNews-search-results&quot;, Model.Attributes) data-class-variant=&quot;@variantClass&quot; data-properties='@Model.JsonDataProperties'&amp;gt;`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With the changes done in &quot;&lt;strong&gt;RenderingCssClass&lt;/strong&gt;&quot; there is no search result and when I try to change the class with the below code its not reflecting on the rendered results&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ul class=&quot;search-result-list&quot;&amp;gt;&#xA;&#xA;        &amp;lt;li&amp;gt;&#xA;            @foreach (BaseVariantField variantField in Model.VariantFields)&#xA;            {&#xA;                @Html.RenderingVariants().RenderVariant(variantField, Model.PageItem, false)&#xA;            }&#xA;        &amp;lt;/li&amp;gt;&#xA;    &amp;lt;/ul&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="1049" LastEditDate="2018-03-19T06:47:23.463" LastActivityDate="2018-03-19T07:38:38.180" Title="Clone SXA Search result" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10870" PostTypeId="2" ParentId="10868" CreationDate="2018-03-18T20:55:37.277" Score="9" Body="&lt;p&gt;Yes, Sitecore can be installed in offline mode, or from machines without internet access.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The latest versions of Sitecore Instance Manager, since the version 1.5.0.2 release, supports &lt;a href=&quot;https://twitter.com/jammykam/status/877639735942033410&quot; rel=&quot;noreferrer&quot;&gt;running in offline mode&lt;/a&gt;. Earlier versions were &lt;a href=&quot;https://www.jflh.ca/2016-07-22-run-sitecore-sim-tool-offline&quot; rel=&quot;noreferrer&quot;&gt;not able to run in offline mode&lt;/a&gt; but you should upgrade to the latest version (1.5.0.179) if you have not already done so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also install Sitecore without the use of SIM. In all versions prior to 9 you are able to download an exe application installer, which will run offline, create the necessary IIS site + bindings, add the hosts file entry and attach the SQL databases:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7pgoc.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7pgoc.png&quot; alt=&quot;Application Installer&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can install the application manually by downloading the zip archive of the site root folder, extracting the files, creating an IIS site + binding manually, attaching the SQL Server databases and then editing the Sitecore config files for your local set up. The installation process for both of these methods is heavily documented in the Sitecore Installation Guide for each version.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-03-18T23:22:09.440" LastActivityDate="2018-03-18T23:22:09.440" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10871" PostTypeId="2" ParentId="10863" CreationDate="2018-03-19T01:43:01.643" Score="0" Body="&lt;p&gt;From memory the Geolocation service is activated against your license key, so you don't need to do anything differently on your CD / CM server.  The only thing to double check is that the &lt;code&gt;Analytics.PerformLookup&lt;/code&gt; setting is set to &lt;code&gt;true&lt;/code&gt; on each server.  The documentation says it should only be true on one server, but in my experience that's not correct.&lt;/p&gt;&#xA;" OwnerUserId="129" LastActivityDate="2018-03-19T01:43:01.643" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10872" PostTypeId="2" ParentId="10858" CreationDate="2018-03-19T06:17:37.407" Score="1" Body="&lt;p&gt;Regarding this stupid question of mine i found out that my code is glitchy on comparing the Sitecore &lt;code&gt;Item&lt;/code&gt; name.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      private bool _IsDuplicate(Item targetParent, ID currentItemId, string currentItemName)&#xA;      {&#xA;          string newName = _RemoveDash(currentItemName);&#xA;          return targetParent.GetChildren().Any(x =&amp;gt; x.Name.Equals(newName) &amp;amp;&amp;amp; x.ID != currentItemId);&#xA;      }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code above did not take into account the fact that Sitecore Media Library and Folder seems to disregard on lowercasing the item name and replacing spaces with dash.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding &lt;strong&gt;Tamás Tárnok&lt;/strong&gt; suggestion to use the configuration below is working as. However, it seems again, it regards upper-case and lower-case as different things if its a Folder or in Media Library. Not to mention it also did not offer better error message when uploading things to Media Library (it will simply says an exception occurs). It also still allows duplicates when we Duplicate item (Right click -&gt; Duplicate Item). I also found out that the Sitecore built-in restriction throws an exception on &lt;code&gt;item:added&lt;/code&gt; event - sorry but i can't remember how to replicate this when fiddling with edge cases.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;      &amp;lt;sitecore&amp;gt;&#xA;          &amp;lt;settings&amp;gt;&#xA;              &amp;lt;setting name=&quot;AllowDuplicateItemNamesOnSameLevel&quot; value=&quot;false&quot; patch:instead=&quot;*[@name='AllowDuplicateItemNamesOnSameLevel']&quot;&amp;gt;&#xA;              &amp;lt;/setting&amp;gt;&#xA;          &amp;lt;/settings&amp;gt;&#xA;      &amp;lt;/sitecore&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Njxr5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Njxr5.png&quot; alt=&quot;AllowDuplicateItemNamesOnSameLevel Dealing with File Upload&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now, i'm stick on the custom implementation. Its kind of weird that it behaves differently although Folder and any other items are &lt;code&gt;Item&lt;/code&gt;. Perhaps me just lacking understanding on Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="1825" LastActivityDate="2018-03-19T06:17:37.407" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10874" PostTypeId="1" CreationDate="2018-03-19T07:04:05.693" Score="2" ViewCount="129" Body="&lt;p&gt;Can lucene query be customized to do some processing on computed index field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, we would like to store user related information, e.g {UserId,LikedDate} in computed index field(here, the computed index field contains multiple user like information in “|” separated format. e.g 1234,20180407|4567,20180214). We can fetch the document using UserId but we also wanted to sort the document base on LikedDate in descending order including pagination. It looks very complex to achieve. But still wanted to explore the possibilities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone suggest any possible solution or other better options?&lt;/p&gt;&#xA;" OwnerUserId="479" LastActivityDate="2018-06-21T07:24:09.717" Title="Can lucene query be customized to do some processing on computed index field?" Tags="|lucene|computed-field|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="10875" PostTypeId="2" ParentId="10869" CreationDate="2018-03-19T07:38:38.180" Score="1" Body="&lt;p&gt;As I promised I've checked this for you. So the first place to looks in case of search renderings is the JavaScript file (most of the search renderings works on the fron-end). Take a look at &lt;code&gt;component-search-results.js&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FHzLc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FHzLc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is just a part of code but you can already see that it requires the &lt;code&gt;search-results&lt;/code&gt; css class. So what you should do is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div @Html.Sxa().Component(Model.Rendering.RenderingCssClass ?? &quot;search-results FeaturedNews-search-results&quot;, Model.Attributes) data-class-variant=&quot;@variantClass&quot; data-properties='@Model.JsonDataProperties'&amp;gt;`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is more, take a look at the beginning of &lt;code&gt;component-search-results.js&lt;/code&gt;. The template to build search results unsorted list (&lt;code&gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;&lt;/code&gt;) is defined at the beginning of that file.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-03-19T07:38:38.180" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10876" PostTypeId="2" ParentId="10683" CreationDate="2018-03-19T08:15:00.060" Score="1" Body="&lt;p&gt;If you take a look on any of &lt;code&gt;SharedFields / UnversionedFields / VersionedFields&lt;/code&gt; tables in master or web database, you will see that datatype of &lt;code&gt;Value&lt;/code&gt; field is &lt;code&gt;nvarchar(max)&lt;/code&gt;. This datatype is used to store value of any field not just rich text but single line text and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on MS SQL Server documentation the max size for a column of type NVARCHAR(MAX) is 2 GByte of storage.&#xA;Since NVARCHAR uses 2 bytes per character, that's approx. 1 billion characters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mind &lt;code&gt;HTML tags&lt;/code&gt; that are stored in rich text field also so maximum number of characters is less than above mentioned. &lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;h2&amp;gt;Contact Us&amp;lt;/h2&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;10 characters of &lt;code&gt;Contact Us&lt;/code&gt; text will be stored in 19 characters long value in db as you have HTML tags before &lt;code&gt;&amp;lt;h2&amp;gt;&lt;/code&gt; and after &lt;code&gt;&amp;lt;/h2&amp;gt;&lt;/code&gt; so almost double the size of original text.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The maximum number of characters in rich text is therefore approx. 1 billion characters but the effective maximum number of characters depends on how many customizations to text you have and what is the ratio of &quot;pure&quot; text stored in that field.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-19T12:15:36.723" LastActivityDate="2018-03-19T12:15:36.723" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10877" PostTypeId="1" CreationDate="2018-03-19T08:24:14.043" Score="0" ViewCount="229" Body="&lt;p&gt;I have followed &lt;a href=&quot;https://doc.sitecore.net/developers/xp/marketing-automation/activities/activity-types/create-an-activity-type.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; documentation.&#xA;Have created Sitecore item and deploy *.dll under &lt;strong&gt;\xconnect\App_data\jobs\continuous\AutomationEngine&lt;/strong&gt; folder and also created xml file named &lt;strong&gt;sc.MarketingAutomation.ActivityTypes.xml&lt;/strong&gt; under &lt;strong&gt;App_data\jobs\continuous\AutomationEngine\App_Data\Config\sitecore\MarketingAutomation_patch&lt;/strong&gt; folder and write required configuration there. But still my activity type is not loaded in Marketing Operation actions tab. Did I miss something? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also checked my Sitecore logs. There is nothing about it.&lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="2056" LastEditDate="2018-03-19T08:59:47.740" LastActivityDate="2018-03-19T12:45:26.877" Title="How to add Activity Type in Marketing Operation actions tab?" Tags="|marketing-definitions|marketing-automation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10879" PostTypeId="2" ParentId="10877" CreationDate="2018-03-19T12:45:26.877" Score="2" Body="&lt;p&gt;There are several components that go into creating an Activity Type. Once you have the code implemented, you need to ensure the rest of the system is configured to make use of your new code.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Step 1: IActivity implementation&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Create a class which implements the IActivity interface. This class should have the logic you want to implement as an action or listener and should return a result that the engine can process. You can return a “Default” path, which is typical for most actions, or “true/false” paths which is typical of listeners and decision points. You cannot define custom paths.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Step 2: Activity Description in Sitecore&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Your new implementation class needs an associated item in the Sitecore tree (/sitecore/system/Settings/Analytics/Marketing Automation/Activity Types). When you create it, make sure to specify the Implementation Type field as the full .NET type of your new IActivity implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have parameters in your constructor, you need to define them in Sitecore as well. You need matching Paths defined as well.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Step 3: Add an activity type to the Marketing Automation UI&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;To work in the new Angular SPEAK 3 interface, an NPM project is required and it needs to be installed in the Marketing Automation application. The Marketing Automation does not come with an Angular JiT compiler therefore you need to configure an Angular AoT compiler to prepare your package. Once the plugin is deployed, it needs to be registered with a patch include file with the relative path for the plugin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Path looks like this: Angular Plugin =&gt; {webroot}\Sitecore\shell\client\Applications\MarketingAutomation\plugins&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the detailed documentation: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/marketing-automation/activities/activity-types/add-activity-type-to-ui.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/marketing-automation/activities/activity-types/add-activity-type-to-ui.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Step 4: Marketing Automation Engine configuration&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;There are three things that need to be configured in the Marketing Automation Engine:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;IActivity implementation type&lt;/li&gt;&#xA;&lt;li&gt;Dependent services&lt;/li&gt;&#xA;&lt;li&gt;Required facets&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For the implementation type, we need to have an XML file in the marketing automation engine folder that defines the class and any options. The DLL also needs to be deployed to the Marketing Automation engine root.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your activity has any external services that it consumes, these also need to be registered in the automation engine in a separate XML file. You don’t have to do this if you do not have custom services. The DLL with the services also needs to be deployed to the engine root.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there are any facets that are used by the activity, the ContactLoader configuration file needs to be updated to include the required facets. &lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-03-19T12:45:26.877" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10880" PostTypeId="1" CreationDate="2018-03-19T13:04:35.363" Score="0" ViewCount="1167" Body="&lt;p&gt;Is there some API utility method which can automatically escape an item path for use in a Sitecore query?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am building a query string in code which uses an item path. If the item path contains a hyphen or underscore, then that name needs to be escaped in the query (surrounded by #) e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/my site/home/settings-folder&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;would need to be escaped to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/my site/home/#settings folder#&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have code such as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var query = $&quot;{rootItem.Paths.FullPath}//*[@@templateid='{Templates.MyItemType.TemplateId}']&quot;;&#xA;var items = db.SelectItems(query);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This fails when the path has a hyphen &lt;code&gt;-&lt;/code&gt; or underscore &lt;code&gt;_&lt;/code&gt;. I've seen &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10127/how-to-escape-a-query-in-sitecore-powershell&quot;&gt;this question related to SPE&lt;/a&gt; so I could use that regex, but I wonder if there is already some utility method in the Sitecore API to do this?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-03-19T13:04:35.363" Title="How to automatically escape item paths for use in Sitecore query" Tags="|sitecore-api|sitecore-query|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10883" PostTypeId="2" ParentId="8107" CreationDate="2018-03-19T13:48:58.237" Score="7" Body="&lt;p&gt;The first thing that you need to start with gathering all information about what should be uninstalled. In an easy way you can select a website to uninstall:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$selectedWebSite = (Get-WebSite | Out-GridView -Title &quot;Please select website to uninstall&quot; -OutputMode Single )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Base on this you have information about Website and App Pool to remove, you also have a physical path to remove&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $physicalPath =  [System.Environment]::ExpandEnvironmentVariables($selectedWebSite.physicalPath) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SIF comes with tasks to manage AppPool and Website Invoke-ManageAppPoolTask, Invoke-ManageWebsiteTask. We extend this with a 'remove' feature. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;'remove' {&#xA;&#xA;                try&#xA;                {&#xA;                    Get-WebAppPoolState -Name $Name&#xA;                    Write-Verbose &quot;Stopping App Pool '$Name'&quot;&#xA;                    Stop-WebAppPool -Name $Name&#xA;                    Write-Verbose &quot;Removing App Pool '$Name'&quot;&#xA;                    Remove-WebAppPool -Name $name&#xA;                }&#xA;                catch&#xA;                {&#xA;                    Write-Warning -Message &quot;App Pool $Name not exist&quot;&#xA;                }&#xA;&#xA;            }&#xA;&#xA;'remove'{&#xA;                try&#xA;                {&#xA;                    Get-WebsiteState -Name $Name&#xA;                    Write-Verbose &quot;Stopping Website '$Name'&quot;&#xA;                    Stop-Website -Name $Name&#xA;                    Write-Verbose &quot;Removing Website '$Name'&quot;&#xA;                    Remove-Website -Name $Name&#xA;                }&#xA;                catch &#xA;                {&#xA;                    Write-Warning &quot;Site '$Name' not exist.&quot;&#xA;                }&#xA;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You also need to remove databases and users.The best place to find information about this is connectionstring.config. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you just to delete databases and users. A good example how to collect those data is here &lt;a href=&quot;https://github.com/SoftServeInc/SitecoreInstallExtensions/blob/master/SitecoreInstallExtensions/Select-WebSite.ps1&quot; rel=&quot;noreferrer&quot;&gt;Select-Website&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To delete database just invoke a simple command with parameters&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Invoke-SQLcmd -ServerInstance $SQLServerName -Query (&quot;DROP DATABASE [&quot; + $database + &quot;]&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Ready to use tasks to remove users and databases are here &lt;a href=&quot;https://github.com/SoftServeInc/SitecoreInstallExtensions/blob/master/SitecoreInstallExtensions/Tasks/SqlTasks.ps1&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/SoftServeInc/SitecoreInstallExtensions/blob/master/SitecoreInstallExtensions/Tasks/SqlTasks.ps1&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2739" LastEditorUserId="2739" LastEditDate="2018-03-19T14:14:56.487" LastActivityDate="2018-03-19T14:14:56.487" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10884" PostTypeId="2" ParentId="10860" CreationDate="2018-03-19T14:11:54.840" Score="1" Body="&lt;p&gt;You can use similar approach as stated in this question also for custom contact facets - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8766/custom-report-from-xdb-mongodb-based-in-geo-ips&quot;&gt;Custom Report from xDB (MongoDB) based in Geo Ips&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Custom &quot;select&quot; from mongoDB will be best for your case and scenario.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-19T14:11:54.840" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10885" PostTypeId="2" ParentId="10855" CreationDate="2018-03-19T14:32:20.483" Score="5" Body="&lt;p&gt;The short answer is - you can't. By design, even if you disable the &lt;code&gt;Edit HTML&lt;/code&gt; tab in the RTE, just by editing the text, the editor will modify the html contained within.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your component is designed wrong for this use case. If you want full control over the markup, then you should use a rendering that holds the markup in a razor view and then renders fields to the correct place. In your example, I would create &lt;code&gt;Title&lt;/code&gt; and &lt;code&gt;Body Content&lt;/code&gt; fields. Then use whatever ORM/Wrapper/Sitecore API tooling you are using to render the contents of those fields to the required places.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Especially as you are using SXA. You could easily create a new rendering variant that built up your component to match that markup very closely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only other way, would be to modify the contents of the Rich Text when the item is saved, to put back any html that was removed. But that would require a lot of HTML parsing, which isn't simple (and no - regex is not the answer ;) ). It would take less time and cause less bugs to just redesign the components correctly.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-03-19T14:32:20.483" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10886" PostTypeId="1" AcceptedAnswerId="10893" CreationDate="2018-03-19T15:01:36.647" Score="1" ViewCount="1168" Body="&lt;p&gt;I'm creating a custom component in sxa with rendering variants. I had a look at many examples where most of them are using the field name that's available in the page item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div @Html.Sxa().Component(&quot;page-title&quot;, Model.Attributes)&amp;gt;&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;&#xA;        &amp;lt;h1&amp;gt;@Model.CustomProperty&amp;lt;/h1&amp;gt;&#xA;        @foreach (BaseVariantField variantField in Model.VariantFields)&#xA;        {&#xA;            @Html.RenderingVariants().RenderVariant(variantField, Model.Item, Model.RenderingWebEditingParams)&#xA;        }&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the above example i could see Model.Item being passed into the RenderVariant method but instead i would like to pass values directly from the rendering parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to make use of rendering parameters with sxa custom rendering variants component. I would like to have fields in the rendering parameters where i will give the data. I would like to make use of different variants on the data given on rendering parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly suggest best approach.&lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2018-03-19T16:40:37.200" Title="How to pass values from the rendering parameters in custom sxa rendeing variants component" Tags="|sxa|mvc|best-practices|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10887" PostTypeId="1" CreationDate="2018-03-19T15:38:17.510" Score="3" ViewCount="2215" Body="&lt;p&gt;We have created a custom Itembuket_community and rebuliding the index. while Rebuilding the index, getting follwoing error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Job started: Index_Update_IndexName=sitecore_Community_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; SolrNet.Exceptions.SolrConnectionException: &#xA;&#xA;4000Document is missing mandatory uniqueKey field: id400&#xA;&#xA; ---&gt; System.Net.WebException: The remote server returned an error: (400) Bad Request.&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;   --- End of inner exception stack trace ---&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;   at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)&#xA;   at SolrNet.Impl.SolrBasicServer`1.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.Commit()&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.PerformRebuild(Boolean resetIndex, Boolean optimizeOnComplete, IndexingOptions indexingOptions, CancellationToken cancellationToken)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Rebuild(Boolean resetIndex, Boolean optimizeOnComplete)&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Due to this not able to complete the index and search is not working. Please suggest. &lt;/p&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="408" LastEditDate="2018-03-20T14:00:11.393" LastActivityDate="2023-12-02T14:28:33.973" Title="The remote server returned an error: (400) Bad Request Error while building the custom index in SOLR 5.1" Tags="|solr|indexing|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10888" PostTypeId="1" AcceptedAnswerId="10891" CreationDate="2018-03-19T16:14:38.843" Score="6" ViewCount="8978" Body="&lt;p&gt;I'm using the following script to update a specific field in all the children of the item right-clicked in my content tree. It works but the update is not applied to the item clicked with my context menu. It is only applied to children.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how to fix this ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -Recurse . | Where-Object { $_.Fields[&quot;__Enable item fallback&quot;] -ne $null } | ForEach-Object {&#xA;&#xA;    $_.Editing.BeginEdit()&#xA;    $_.Fields[&quot;__Enable item fallback&quot;].Value = &quot;1&quot;;&#xA;    $_.Editing.EndEdit()&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2278" LastEditorUserId="2056" LastEditDate="2018-03-19T17:38:48.707" LastActivityDate="2018-03-19T18:26:57.927" Title="Update fields using Sitecore Powershell Extensions" Tags="|powershell-extensions|language-fallback|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10889" PostTypeId="2" ParentId="10480" CreationDate="2018-03-19T16:20:13.090" Score="2" Body="&lt;p&gt;I didn't see an &lt;code&gt;Add&lt;/code&gt; method in the &lt;code&gt;InProcItemModelRepository&lt;/code&gt; when overriding the class mentioned above (overriding &lt;code&gt;Add&lt;/code&gt; is mentioned in the linked question). I overrode the &lt;code&gt;CreateItem&lt;/code&gt; method to have the default code with a few checks marked with comments as custom code as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Common.CustomSitecore.DataExchange.Repositories&#xA;{&#xA;    public class CustomInProcItemModelRepository : Sitecore.DataExchange.Local.Repositories.InProcItemModelRepository&#xA;    {&#xA;        protected override Guid CreateItem(ItemModel itemModel)&#xA;        {&#xA;            if (itemModel == null || !itemModel.ContainsKey(&quot;ParentID&quot;))&#xA;                return Guid.Empty;&#xA;            var result1 = Guid.Empty;&#xA;            var obj1 = itemModel[&quot;ParentID&quot;];&#xA;            if (!Guid.TryParse(obj1?.ToString(), out result1) || result1 == Guid.Empty)&#xA;                return Guid.Empty;&#xA;            var obj2 = itemModel[&quot;TemplateID&quot;];&#xA;            Guid result2;&#xA;            if (!Guid.TryParse(obj2?.ToString(), out result2) || result2 == Guid.Empty)&#xA;                return Guid.Empty;&#xA;            itemModel[&quot;TemplateID&quot;] = (object)result2.ToString();&#xA;            if (string.IsNullOrWhiteSpace((string)itemModel[&quot;ItemName&quot;]))&#xA;                return Guid.Empty;&#xA;            var itemModel1 = Get(result1, (string)null, 0);&#xA;            if (itemModel1 == null)&#xA;                return Guid.Empty;&#xA;            string empty = string.Empty;&#xA;            if (itemModel.ContainsKey(&quot;ItemLanguage&quot;) &amp;amp;&amp;amp; itemModel[&quot;ItemLanguage&quot;] != null)&#xA;                empty = itemModel[&quot;ItemLanguage&quot;].ToString();&#xA;            itemModel.Remove(&quot;ParentID&quot;);&#xA;            itemModel.Remove(&quot;ItemLanguage&quot;);&#xA;&#xA;            var createdItemModel = this.CreateItemModelWithStringFieldValues(itemModel);&#xA;&#xA;            //custom check to get the template to add's template. We will later check if &#xA;            //this is a normal template or a branch template&#xA;            Guid templateOrBranchId;&#xA;            ItemModel templateOrBranch = null;&#xA;            if (Guid.TryParse(createdItemModel?[&quot;TemplateID&quot;]?.ToString(), out templateOrBranchId))&#xA;            {&#xA;                templateOrBranch = Get(templateOrBranchId);&#xA;            }&#xA;&#xA;&#xA;            //if a branch template add via the branch template add and update otherwise do the default&#xA;            Guid responseId = Guid.Empty;&#xA;            if (createdItemModel != null &amp;amp;&amp;amp; templateOrBranch?[&quot;TemplateID&quot;]?.ToString() == Sitecore.TemplateIDs.BranchTemplate.Guid.ToString())&#xA;            {&#xA;                var db = Factory.GetDatabase(DatabaseName);&#xA;&#xA;                Language branchLanguage;&#xA;                var validLanguage = Language.TryParse(empty, out branchLanguage);&#xA;&#xA;                var branch = validLanguage ? db.GetItem(new ID(templateOrBranchId), branchLanguage) &#xA;                    : db.GetItem(new ID(templateOrBranchId));&#xA;&#xA;                var parent = validLanguage ? db.GetItem(itemModel1[&quot;ItemPath&quot;].ToString(), branchLanguage) &#xA;                    : db.GetItem(itemModel1[&quot;ItemPath&quot;].ToString());&#xA;&#xA;                var newItem = parent.Add(createdItemModel[&quot;ItemName&quot;].ToString(), (BranchItem)branch);&#xA;&#xA;                if (newItem == null)&#xA;                {&#xA;                    Log.Error(&quot;Could not create item&quot;, this);&#xA;                }&#xA;                else&#xA;                {&#xA;                    //Assuming branch's main item is $name, otherwise use the first that can be found&#xA;                    var mainItem = branch.Children[&quot;$name&quot;] ?? branch.Children.FirstOrDefault();&#xA;                    if (mainItem == null)&#xA;                    {&#xA;                        Context.Logger.Error($&quot;Could not find a main template in a branch item: {branch.ID}&quot;);&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        createdItemModel[ItemModel.TemplateID] = mainItem.TemplateID;&#xA;                        Update(newItem.ID.Guid, createdItemModel, newItem.Language.Name, newItem.Version.Number);&#xA;                    }&#xA;&#xA;                    responseId = newItem.ID.Guid;&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                //this part is not custom. It is the default functionality that adds from a template&#xA;                responseId = (this.HandlerProvider.GetHandler&amp;lt;CreateItemHandler&amp;gt;().Handle(&#xA;                    (HandlerRequest) new CreateItemCommand()&#xA;                    {&#xA;                        Database = this.DatabaseName,&#xA;                        ItemModel = createdItemModel,&#xA;                        Path = itemModel1[&quot;ItemPath&quot;].ToString(),&#xA;                        Language = empty&#xA;                    }) as CreateItemResponse).ItemId;&#xA;            }&#xA;&#xA;            return responseId;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I potentially could have tried to override the default config entry for my instance shown in the following config snippet. &lt;strong&gt;Don't&lt;/strong&gt; make this config change if you are using the code from above (&lt;code&gt;CustomInProcItemModelRepository&lt;/code&gt;) as it is not directly related. If using &lt;code&gt;CustomInProcItemModelRepository&lt;/code&gt; patch the config mentioned in Vlad's post:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;itemRepository type=&quot;Sitecore.PathAnalyzer.Data.SitecoreData.ItemRepository, Sitecore.PathAnalyzer&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;   &amp;lt;param ref=&quot;pathAnalyzer/configuration&quot; desc=&quot;configuration&quot;/&amp;gt;&#xA;&amp;lt;/itemRepository&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-04-02T14:23:15.687" LastActivityDate="2018-04-02T14:23:15.687" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10891" PostTypeId="2" ParentId="10888" CreationDate="2018-03-19T16:23:29.793" Score="3" Body="&lt;p&gt;You are calling &lt;code&gt;Get-ChildItem&lt;/code&gt; cmdlet that's why update is only applied to children. You should do the same also with &lt;code&gt;Get-Item&lt;/code&gt; cmdlet to make it work also for current item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should be like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item .&#xA;$item.Editing.BeginEdit()&#xA;$item.Fields[&quot;__Enable item fallback&quot;].Value = &quot;1&quot;&#xA;$item.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;.&lt;/code&gt; is representing current item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to add custom task in context menu with SPE:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecorenutsbolts.net/2016/11/01/Right-Click-Unlock-Item-with-Sitecore-PowerShell-Extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecorenutsbolts.net/2016/11/01/Right-Click-Unlock-Item-with-Sitecore-PowerShell-Extensions/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See more about supported cmdlets here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.najmanowicz.com/2014/10/12/working-with-sitecore-items-in-powershell-extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.najmanowicz.com/2014/10/12/working-with-sitecore-items-in-powershell-extensions/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-19T17:08:13.820" LastActivityDate="2018-03-19T17:08:13.820" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10893" PostTypeId="2" ParentId="10886" CreationDate="2018-03-19T16:40:37.200" Score="2" Body="&lt;p&gt;Yes, you can do it. You need to create a new variant item and write new variant renderer (or change the implementation of one existing variant renderer) which will use rendering parameters. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have added two custom pipelines in SXA:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;parseVariantFields - processors in this pipeline convert items into models which later on are used by renderers&lt;/li&gt;&#xA;&lt;li&gt;renderVariantField - this operates on models created in the previous pipeline and renders output&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Based on the above you can see that we are operating on data which is in the variant items, not in the rendering parameters. That's you need a custom renderer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest you take a look at one of those to get more details about how to write those processors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;parseVariantFields&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseField, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseDate, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseSection, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseEditFrame, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseHtmlTag, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseTemplate, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseText, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseModel, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseToken, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseReference, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParsePlaceholder, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseQuery, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.ParseVariantFields.ParseResponsiveImage, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/parseVariantFields&amp;gt;&#xA;&amp;lt;renderVariantField&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderVariantField, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderDate, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderSection, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderEditFrame, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderHtmlTag, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderText, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderModel, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderToken, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderTemplate, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderReference, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderPlaceholder, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderQuery, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderResponsiveImage, Sitecore.XA.Foundation.RenderingVariants&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/renderVariantField&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After you'll do it you can inject &lt;code&gt;ServiceLocator.ServiceProvider.GetService&amp;lt;IRendering&amp;gt;()&lt;/code&gt; in your &lt;code&gt;renderVariantField&lt;/code&gt; processor and you will have access to Parameters &lt;code&gt;collectoin&lt;/code&gt; (without the need of modifing &lt;code&gt;@Html.RenderingVariants()&lt;/code&gt; extension methods)&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-03-19T16:40:37.200" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10895" PostTypeId="2" ParentId="10888" CreationDate="2018-03-19T17:10:31.967" Score="4" Body="&lt;p&gt;@chorpo hit the nail on the head, &lt;code&gt;Get-ChildItem&lt;/code&gt; does not get current item, but the children underneath the current Item.  You will need to do a &lt;code&gt;Get-Item&lt;/code&gt; as well to get/update the values of the current item.  You should be able to kill two birds with one stone by getting both children and current items and appending:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$path = &quot;.&quot;&#xA;$root = Get-Item $path&#xA;$items = Get-ChildItem $path -Recurse&#xA;($items += $root) | Where-Object { $_.Fields[&quot;__Enable item fallback&quot;] -ne $null } | ForEach-Object {&#xA;    $_.Editing.BeginEdit()&#xA;    $_.Fields[&quot;__Enable item fallback&quot;].Value = &quot;1&quot;;&#xA;    $_.Editing.EndEdit()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="695" LastActivityDate="2018-03-19T17:10:31.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10896" PostTypeId="1" AcceptedAnswerId="10898" CreationDate="2018-03-19T18:11:31.047" Score="3" ViewCount="362" Body="&lt;p&gt;I have a web page with two placeholders, A and B. In Sitecore I inserted a WFFM form in placeholder B.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on a the value of a checkbox in Sitecore, I want the WFFM form to be inserted into either placeholder A or B, at runtime (i.e not permanently). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;the checkbox is checked --&gt; the form is inserted in placeholder A&#xA;the checkbox is not checked --&gt; the form is inserted in placeholder B&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have experience with this?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastActivityDate="2018-03-19T18:51:46.223" Title="Dynamically change placeholder at runtime" Tags="|wffm|placeholders|webforms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10897" PostTypeId="2" ParentId="10888" CreationDate="2018-03-19T18:26:57.927" Score="8" Body="&lt;p&gt;Since version 4.0, Sitecore PowerShell Extensions includes a &lt;code&gt;-WithParent&lt;/code&gt; parameter to the &lt;code&gt;Get-ChildItem&lt;/code&gt; command. This includes the item itself, thus making this much simpler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -Recurse . -WithParent |&#xA;  Where-Object { $_.Fields[&quot;__Enable item fallback&quot;] -ne $null } |&#xA;  ForEach-Object {&#xA;    $_.Editing.BeginEdit()&#xA;    $_.Fields[&quot;__Enable item fallback&quot;].Value = &quot;1&quot;;&#xA;    $_.Editing.EndEdit()&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sources:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/content/releases.html#version-40&quot; rel=&quot;noreferrer&quot;&gt;Release Notes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/580&quot; rel=&quot;noreferrer&quot;&gt;GitHub Issue&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;I've used it extensively&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="890" LastActivityDate="2018-03-19T18:26:57.927" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10898" PostTypeId="2" ParentId="10896" CreationDate="2018-03-19T18:51:46.223" Score="6" Body="&lt;p&gt;You can do this using conditional rendering rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would need to add the Form to the page twice, but it will only get rendered once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take this example. I have 2 promo renderings and I want them to render based on the value of a field (could be a checkbox) on an item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4O03E.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4O03E.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now add a new rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xDQ99.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xDQ99.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the rule, you can use the &lt;code&gt;where the **specific** field **compares to** **value**&lt;/code&gt; condition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will use a field on the context item to determine true/false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zhvBn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zhvBn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you can either hide the component as default and show when the rule meets the conditions. Then add the form a second time, add the condition, but set the opposite options for hiding/showing. And put the 2 renderings into the different placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way you don't have to do any extra coding.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the field you need is &lt;em&gt;not&lt;/em&gt; on the context item, you may need to create a custom condition so that you can specify the item as well as the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have used this method before and it has worked well.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-03-19T18:51:46.223" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10899" PostTypeId="1" CreationDate="2018-03-19T20:14:59.010" Score="0" ViewCount="623" Body="&lt;p&gt;Any ideas on how to determine the route of the controller from Anchor Tag?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question 1: When Product Name link in screen 1 is clicked.The product details from the controller have to be displayed.How to send the custom action to href in the anchor tag?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question 2: How to pass the data source from the screen 1 to the controller?&lt;/p&gt;&#xA;" OwnerUserId="3368" LastEditorUserId="3368" LastEditDate="2018-03-20T13:13:28.517" LastActivityDate="2018-03-20T13:13:28.517" Title="Custom Controller Action to Anchor tag" Tags="|mvc|" AnswerCount="1" CommentCount="2" ClosedDate="2018-03-20T07:24:18.793" ContentLicense="CC BY-SA 3.0" />
  <row Id="10902" PostTypeId="1" CreationDate="2018-03-20T02:06:49.570" Score="3" ViewCount="1322" Body="&lt;p&gt;I have cached some items using the &lt;code&gt;.Net MemoryCache&lt;/code&gt;. I would like to clear that cache on publish. Previously I would hook into the publish item and especially the publish item remote events. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I do this when using the &lt;code&gt;Sitecore Publishing Service&lt;/code&gt;? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stephen Pope seems to suggest that these events do not work anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on @chorpo's comment I tried option 1:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ClearBlogCacheOnPublishProcessor&#xA;{&#xA;    private readonly string basePostCacheKey = &quot;blog-posts&quot;;&#xA;    private readonly string baseCategoryCacheKey = &quot;blog-categories&quot;;&#xA;    private CacheProvider Cache { get; set; }&#xA;&#xA;    public void Process(PublishEndResultBatchArgs args)&#xA;    {&#xA;        Cache = new CacheProvider();&#xA;&#xA;        var cachesToClear = GetCacheKeysToClear(args.Batch, args.TargetInfo.TargetDatabaseName);&#xA;&#xA;        foreach (var key in cachesToClear)&#xA;        {&#xA;            Cache.Invalidate(key);&#xA;        }&#xA;    }&#xA;&#xA;    private IEnumerable&amp;lt;string&amp;gt; GetCacheKeysToClear(ManifestOperationResult&amp;lt;ItemResult&amp;gt;[] batch, string databaseName)&#xA;    {&#xA;        var cachesToClear = new List&amp;lt;string&amp;gt;();&#xA;&#xA;        var database = Sitecore.Configuration.Factory.GetDatabase(databaseName);&#xA;        var siteInfoList = Sitecore.Configuration.Factory.GetSiteInfoList();&#xA;&#xA;        foreach (ManifestOperationResult&amp;lt;ItemResult&amp;gt; result in batch)&#xA;        {&#xA;            var id = result.EntityId.ToID();&#xA;            var publishedItem = TryGetItem(database, id);&#xA;&#xA;            var site = GetSite(publishedItem, siteInfoList);&#xA;            var name = site.Name;&#xA;&#xA;            if (publishedItem?.Parent == null &amp;amp;&amp;amp;&#xA;                (publishedItem.TemplateID != BlogDetailPageFolderConstants.TemplateId ||&#xA;                 publishedItem.TemplateID != BlogDetailPageConstants.TemplateId))&#xA;            {&#xA;                var cacheKey = $&quot;{name}:{basePostCacheKey}&quot;;&#xA;                if (!cachesToClear.Contains(cacheKey))&#xA;                    cachesToClear.Add(cacheKey);&#xA;            }&#xA;&#xA;            if (publishedItem?.Parent == null &amp;amp;&amp;amp; (publishedItem.TemplateID == BlogCategoryConstants.TemplateId))&#xA;            {&#xA;                var cacheKey = $&quot;{name}:{baseCategoryCacheKey}&quot;;&#xA;                if (!cachesToClear.Contains(cacheKey))&#xA;                    cachesToClear.Add(cacheKey);&#xA;            }&#xA;        }&#xA;&#xA;        return cachesToClear;&#xA;    }&#xA;&#xA;    private Item TryGetItem(Database database, ID itemId)&#xA;    {&#xA;        try&#xA;        {&#xA;            return database.Items[itemId];&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(this.ToString(), ex, this);&#xA;        }&#xA;&#xA;        return null;&#xA;    }&#xA;&#xA;    public static SiteInfo GetSite(Item item, IEnumerable&amp;lt;SiteInfo&amp;gt; siteInfoList)&#xA;    {&#xA;        return siteInfoList.FirstOrDefault(siteInfo =&amp;gt; item.Paths.FullPath.StartsWith(siteInfo.RootPath));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I patched this in, I think correctly - this is the snippet from ShowConfig:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;publishEndResultBatch argsType=&quot;Sitecore.Publishing.Service.Pipelines.BulkPublishingEnd.PublishEndResultBatchArgs&quot; patch:source=&quot;Sitecore.Publishing.Service.config&quot;&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Publishing.Service.Pipelines.BulkPublishingEnd.RaiseRemoteEvents, Sitecore.Publishing.Service&quot;&amp;gt;&#xA;&amp;lt;!--&#xA; The number maximum number of manifest steps for a publishing target below which Sitecore Remote Item Events are&#xA;             added to the publishing target Event Queue table. Exceeding this threshold will raise cache clearing events instead.&#xA;             !Warning: Too low a value could have a significant impact on the performance of the delivery instance. &#xA;--&amp;gt;&#xA;&amp;lt;param name=&quot;remoteEventCacheClearingThreshold&quot;&amp;gt;1000&amp;lt;/param&amp;gt;&#xA;&amp;lt;param name=&quot;targetCacheClearHistory&quot; ref=&quot;publishing.service/targetCacheClearHistory&quot;/&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&amp;lt;processor type=&quot;DD.Platform.Sc.Pipelines.PublishEndResultBatch.ClearBlogCacheOnPublishProcessor, DD.Platform.Sc&quot; patch:source=&quot;Delphic.ClearBlogCache.config&quot;/&amp;gt;&#xA;&amp;lt;/publishEndResultBatch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But this pipeline does not seem to fire. I but a breakpoint in the code an publish and nothing happens. Also, the items still seem to be in cache.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="153" LastEditDate="2018-03-22T03:57:55.023" LastActivityDate="2018-03-22T03:57:55.023" Title="Sitecore Publishing Service clearing cache" Tags="|caching|publishing-service|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="10903" PostTypeId="1" AcceptedAnswerId="10911" CreationDate="2018-03-20T02:23:42.803" Score="4" ViewCount="2788" Body="&lt;p&gt;I am trying to implement lazy image loading functionality for the &lt;code&gt;img&lt;/code&gt; element. Is there any way to implement lazy image loading functionality in SXA while loading images on the page?&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="11765" LastEditDate="2022-07-12T06:13:39.377" LastActivityDate="2022-07-12T11:12:39.640" Title="How to implement lazy image load" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="10905" PostTypeId="2" ParentId="10899" CreationDate="2018-03-20T04:23:05.693" Score="1" Body="&lt;p&gt;You can achieve this by retrieving URL of from Route Name. example could be:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;@{ var prodID = 123; } &amp;lt;a href=&amp;quot;@Url.RouteUrl(&amp;quot;vinc&amp;quot;,new { id = prodID })&amp;quot;&amp;gt;routinglink&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;where id will be your product id or Sitecore Item id which you will use in Controller Action method as a parameter.&lt;/p&gt;&#xA;&lt;p&gt;You will create such route in your custom routing logic &lt;a href=&quot;https://kb.sitecore.net/articles/700677&quot; rel=&quot;nofollow noreferrer&quot; title=&quot;reference&quot;&gt;reference&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1078" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-03-20T04:23:05.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10907" PostTypeId="1" AcceptedAnswerId="11077" CreationDate="2018-03-20T05:23:11.447" Score="1" ViewCount="1846" Body="&lt;p&gt;I assume that because of big changes in architecture introduced in &lt;code&gt;Sitecore 9&lt;/code&gt; with &lt;code&gt;xConnect&lt;/code&gt;, there is still no &lt;code&gt;Social Connected&lt;/code&gt; module for &lt;code&gt;Sitecore 9&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This module could be installed as separate  module for &lt;code&gt;Sitecore 7&lt;/code&gt;. For &lt;code&gt;Sitecore 8&lt;/code&gt;, it was integrated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)&#xA;Do you have any information whether &lt;code&gt;Social Connected&lt;/code&gt; module will be again available in next &lt;code&gt;Sitecore 9&lt;/code&gt; update? Like it was with &lt;code&gt;EXM&lt;/code&gt; in &lt;code&gt;Sitecore 9 Update 1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)&#xA;I saw &lt;a href=&quot;https://www.sitecore.com/products/sitecore-experience-platform/cross-channel-delivery/social&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore page&lt;/a&gt; with alternatives like &lt;code&gt;Slackla&lt;/code&gt; and &lt;code&gt;Teligent&lt;/code&gt;.&#xA;Do you have any experience with them? Are these good alternatives? Do you know about other alternatives?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now we are using for social interaction &lt;code&gt;AddThis component&lt;/code&gt; from &lt;code&gt;SXA&lt;/code&gt; but we are missing really great integration with &lt;code&gt;Sitecore&lt;/code&gt; which was available with &lt;code&gt;Social Connected&lt;/code&gt; module like number of likes / retweets and possibility to share from Content Editor.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="73" LastEditDate="2018-06-11T08:32:53.873" LastActivityDate="2019-01-29T14:31:28.987" Title="Social Connected module / Social possibilities for Sitecore 9" Tags="|social-connected|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10908" PostTypeId="1" CreationDate="2018-03-20T06:32:05.723" Score="0" ViewCount="372" Body="&lt;p&gt;We've a folder item which stores all new artciles. This item is bucketable.&#xA;But after turning into a bucket, we are not able to find previous and next sibling of an item under bucket.&#xA;The below code wouldn't work as the item is under bucket now:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;currentItem.Axes.GetNextSibling()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But what's the simplest way to fetch an item's previous and next item in bucket hierarchy?&lt;/p&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="35" LastEditDate="2018-03-20T08:10:16.323" LastActivityDate="2018-03-20T08:10:16.323" Title="Finding siblings in buckets" Tags="|sitecore-api|sitecore-query|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10909" PostTypeId="2" ParentId="10908" CreationDate="2018-03-20T06:53:06.443" Score="3" Body="&lt;p&gt;That is not how Sitecore buckets works. See the Sitecore documentation here:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you store items in an item bucket, the parent-to-child relationship between the items is removed, and instead the items are organized in a folder structure according to the date and time they were created. Therefore, the item buckets feature is primarily designed for storing content items that do not need to be stored in a hierarchy.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It's a quote from &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/item_buckets/item_buckets&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/item_buckets/item_buckets&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you read, buckets are designed for items that do not need to be stored in a hierarchy. Which means that you should only decide to keep items in a bucket if you don't need to know relations (like parent - child - sibling) between items as there is no longer hierarchy like before converting a tree into a bucket.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-03-20T06:53:06.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10911" PostTypeId="2" ParentId="10903" CreationDate="2018-03-20T07:33:59.750" Score="12" Body="&lt;p&gt;Yes, you can do it! I will skip the part of how lazy loading should work, as there are plenty of blog posts about it like:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://css-tricks.com/snippets/javascript/lazy-loading-images/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://css-tricks.com/snippets/javascript/lazy-loading-images/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.sitepoint.com/five-techniques-lazy-load-images-website-performance/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitepoint.com/five-techniques-lazy-load-images-website-performance/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;But here is one thing SXA can help with. Rendering Variants supports tokens inside of data attributes. Let's imagine that you have a few pages and each of those pages has an &lt;em&gt;Image&lt;/em&gt; field of type &lt;code&gt;Image&lt;/code&gt;. You want to display them using Page List and have all those images lazy loaded. In such case your &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&quot; rel=&quot;nofollow noreferrer&quot;&gt;rendering variant&lt;/a&gt; can look like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KJwMV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KJwMV.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;$(Image)&lt;/code&gt; token will check if &lt;em&gt;Image&lt;/em&gt; is an &lt;code&gt;ImageField&lt;/code&gt; and contains media and if yes it will render a link to that media item like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4nRFT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4nRFT.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Next, you'll need some JavaScript logic to lazy load those images and it's done!&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="11765" LastEditDate="2022-07-12T11:12:39.640" LastActivityDate="2022-07-12T11:12:39.640" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="10912" PostTypeId="2" ParentId="10902" CreationDate="2018-03-20T07:51:45.840" Score="2" Body="&lt;p&gt;You have three options what to do after Sitecore Publishing Service is done:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You can &lt;strong&gt;hook&lt;/strong&gt; on &lt;strong&gt;publishEndResultBatch&lt;/strong&gt; pipeline. You can then work with these results and update any third-party systems or features that may need to know about the changes to items.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;With the Sitecore Publishing Service you have new event &lt;strong&gt;publishingservice:publishend&lt;/strong&gt; which you can use. There are no remote events anymore for publishing service as service is already done remotely. See chapter 4.7 from installation manual referenced below.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When you &lt;code&gt;Publish all Items&lt;/code&gt;, you can check &lt;strong&gt;Clear all data caches&lt;/strong&gt; checkbox. This will clear the data level caches that contain a reference to the &#xA;items that are published. See chapter 7.4 from installation manual referenced below. For your scenario this won't work as expected as you have implemented custom cache.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For your scenario, definitely the 1. option is best. &lt;strong&gt;Hook&lt;/strong&gt; on &lt;strong&gt;publishEndResultBatch&lt;/strong&gt; pipeline and then work with these results. Remove items from your cache by comparing ids with ids that come as a result of this pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information can be found in documentation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/~/media/B54F1A3A1BAA4B0C8DF5B41C893670F2.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Installation manual for Sitecore Publishing Service 3.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jonathanrobbins.co.uk/2016/09/02/setting-up-sitecore-publishing-service/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2016/09/02/setting-up-sitecore-publishing-service/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-20T08:17:19.647" LastActivityDate="2018-03-20T08:17:19.647" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10913" PostTypeId="1" AcceptedAnswerId="10914" CreationDate="2018-03-20T10:35:28.150" Score="1" ViewCount="701" Body="&lt;p&gt;In Sitecore 8.2.6 the following error occurs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WARN [Index=sitecore_master_index] Crawler : AddRecursive DoItemAdd failed - {93F413F7-09AF-4E67-B0C4-45D501DD042C}&#xA;Exception: SolrNet.Exceptions.SolrConnectionException&#xA;Message: &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;response&amp;gt;&#xA;&amp;lt;lst name=&quot;responseHeader&quot;&amp;gt;&amp;lt;int name=&quot;status&quot;&amp;gt;400&amp;lt;/int&amp;gt;&amp;lt;int name=&quot;QTime&quot;&amp;gt;15&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;lst name=&quot;error&quot;&amp;gt;&amp;lt;str name=&quot;msg&quot;&amp;gt;ERROR: [doc=sitecore://master/{333bba18-dfd4-4efc-9b74-70fdbb2f5c31}?lang=en&amp;amp;amp;ver=1&amp;amp;amp;ndx=sitecore_master_index] unknown field 'location_tm'&amp;lt;/str&amp;gt;&amp;lt;int name=&quot;code&quot;&amp;gt;400&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt;&#xA;&amp;lt;/response&amp;gt;&#xA;&#xA;Source: SolrNet&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;   at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)&#xA;   at SolrNet.Impl.SolrBasicServer`1.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 batch)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (400) Bad Request.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When using SXA 1.6 after following the instructions on &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="495" LastActivityDate="2018-03-20T10:35:28.150" Title="SXA 1.6 SOLR SolrNet.Exceptions.SolrConnectionException unknown field" Tags="|sxa|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10914" PostTypeId="2" ParentId="10913" CreationDate="2018-03-20T10:35:28.150" Score="3" Body="&lt;p&gt;The solution is embedded in the installation guide of SXA 1.6 found here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/16/Sitecore_Experience_Accelerator_16_Initial_Release.aspx#&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/16/Sitecore_Experience_Accelerator_16_Initial_Release.aspx#&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resolve the default indexing the following needs to be added to the schema.xml file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dynamicField name=&quot;*_tm&quot; type=&quot;text_general&quot; indexed=&quot;true&quot; stored=&quot;true&quot; multiValued=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;dynamicField name=&quot;*_rpt&quot; type=&quot;location_rpt&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="495" LastActivityDate="2018-03-20T10:35:28.150" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10915" PostTypeId="5" CreationDate="2018-03-20T10:50:16.653" Score="0" Body="&lt;p&gt;For questions related to the integration between Sitecore and social networks like Twitter, Facebook, Google +, LinkedIn. Questions could include third-party solutions like Stackla, Telligent or custom integration. Questions should exclude questions regarding Social Connected module - these should be tackled by tag &lt;a href=&quot;/questions/tagged/social-connected&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;social-connected&amp;#39;&quot; rel=&quot;tag&quot;&gt;social-connected&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-20T11:16:18.150" LastActivityDate="2018-03-20T11:16:18.150" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10916" PostTypeId="4" CreationDate="2018-03-20T10:50:16.653" Score="0" Body="For questions related to the integration between Sitecore and social networks like Twitter, Facebook, Google +, LinkedIn. Questions could include third-party solutions like Stackla, Telligent or custom integration. Questions should exclude questions regarding Social Connected module." OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-20T11:16:15.437" LastActivityDate="2018-03-20T11:16:15.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10917" PostTypeId="1" CreationDate="2018-03-20T12:23:45.173" Score="0" ViewCount="502" Body="&lt;p&gt;I'm using the EXM 3.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Email campaign I have configured the sitecore content with a page which redirects, after a user clicks on the link which was sent by EXM through email, which looks something like this : &lt;a href=&quot;http://mysite.com/sitecore%20modules/Web/EXM/RedirectUrlPage.aspx?ec_eq=SYpG5fgYN92bK9NA66tfH7G7Jg71orn8uhLYUa%&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.com/sitecore%20modules/Web/EXM/RedirectUrlPage.aspx?ec_eq=SYpG5fgYN92bK9NA66tfH7G7Jg71orn8uhLYUa%&lt;/a&gt;...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the redirect a 404 page error is thrown, because it is redirecting to a full path of the content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;eg: Blog -&gt; CD -&gt; Website -&gt; Home &lt;strong&gt;&lt;a href=&quot;http://mysite.com/blog/cd/website/home&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.com/blog/cd/website/home&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I wanted the redirecte only to the &lt;strong&gt;/home&lt;/strong&gt; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="2508" LastEditorUserId="2890" LastEditDate="2018-03-20T13:29:50.207" LastActivityDate="2024-01-03T03:09:11.217" Title="EXM 3.5 Redirect Url rootPath" Tags="|exm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10919" PostTypeId="1" AcceptedAnswerId="10921" CreationDate="2018-03-20T14:12:55.483" Score="0" ViewCount="842" Body="&lt;p&gt;Is there any way to tell when a particular revision of an item, or version, got published? I can see standard fields for created and edited date-time, but publishing copies these fields to the web DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any standard field or property that timestamps when an item was actually moved from master to web?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use publish-on-demand and no workflows, so it's easily possible an item was edited a long time before someone got around to publishing it. I'd like to use PowerShell Extensions to find the point at which a particular item changed for a site visitor.&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2018-03-20T15:05:50.970" Title="Is there any way to tell when an item revision was published using PowerShell Extensions?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ClosedDate="2018-03-20T14:29:16.257" ContentLicense="CC BY-SA 3.0" />
  <row Id="10920" PostTypeId="1" AcceptedAnswerId="10928" CreationDate="2018-03-20T14:21:21.280" Score="4" ViewCount="176" Body="&lt;p&gt;I followed &lt;a href=&quot;http://www.bugdebugzone.com/2017/04/xml-provider-for-sitecore-data-exchange_2.html&quot; rel=&quot;noreferrer&quot;&gt;this post&lt;/a&gt; and have an xml feed that is converting to items in Sitecore. I want to write to a different language than &lt;code&gt;en&lt;/code&gt;. I set field map languages to &lt;code&gt;en-US&lt;/code&gt; for items under &lt;code&gt;/sitecore/system/Data Exchange/XML Provider CD Catalog Tenant/Data Access/Value Accessor Sets/Providers/Sitecore/CD Catalog Information Item&lt;/code&gt;. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/9uHdH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9uHdH.png&quot; alt=&quot;artist language field set to en-us&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I added a step based on &lt;code&gt;/sitecore/templates/Data Exchange/Providers/Sitecore/Pipeline Steps/Select Languages Pipeline Step&lt;/code&gt; selecting &lt;code&gt;en-US&lt;/code&gt; in the &lt;code&gt;Languages&lt;/code&gt; field. This is the step pointed to by &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v1.4.1/cookbooks/synchronization/writing-multilanguage-content-to-sitecore-items/index.html&quot; rel=&quot;noreferrer&quot;&gt;the cookbook for writing to multiple languages&lt;/a&gt;. I have moved this pipeline step around both pipelines from the post (&lt;code&gt;Read CD Catalog Information from XML Data Pipeline&lt;/code&gt; and &lt;code&gt;CD Catalog XML Data to CD Catalog Sitecore Item Sync Pipeline&lt;/code&gt;) but the items seem to always be created with &lt;code&gt;en&lt;/code&gt; language versions rather than &lt;code&gt;en-US&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5bpLH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5bpLH.png&quot; alt=&quot;select language pipeline step set to en-us&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using &lt;code&gt;Sitecore.NET 8.2 (rev. 170614)&lt;/code&gt; and &lt;code&gt;DEF 1.4.1&lt;/code&gt;. Because of that, I recompiled the xml code to account for that which only involved removing generic class params for the xml pipeline step converter and xml endpoint converter. In the base case, before changing languages to try to target &lt;code&gt;en-us&lt;/code&gt; the change seemed to have no effect and items were created in &lt;code&gt;en&lt;/code&gt; with field set in &lt;code&gt;en&lt;/code&gt;. After the changes to attempt to target importing to &lt;code&gt;en-us&lt;/code&gt; items are still created in &lt;code&gt;en&lt;/code&gt; but their fields are not mapped because that targets an item's field that does not exist and fails:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yrGN3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yrGN3.png&quot; alt=&quot;items created just in en&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the &lt;code&gt;/sitecore/templates/Data Exchange/Providers/Sitecore/Pipeline Steps/Select Languages Pipeline Step&lt;/code&gt; pipeline step not the one to use when trying to write to a language other than &lt;code&gt;en&lt;/code&gt;? If it is how should it be used?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-03-20T17:32:16.027" Title="DEF Write To Language" Tags="|multilingual|data-exchange-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10921" PostTypeId="2" ParentId="10919" CreationDate="2018-03-20T14:23:29.047" Score="1" Body="&lt;p&gt;There is no functionality / field like that OOTB. You need to implement it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create two fields &quot;__Published&quot; (Published Date) and &quot;__Published By&quot; (Published By).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create your own custom class: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt; public class UpdatePublishingStatistics : PublishItemProcessor&#xA; {&#xA;    private const string PublishedFieldName = &quot;__Published&quot;;&#xA;    private const string PublishedByFieldName = &quot;__Published By&quot;;&#xA;&#xA;    public override void Process(PublishItemContext context)&#xA;    {&#xA;        SetPublishingStatisticsFields(context);&#xA;    }&#xA;&#xA;    private void SetPublishingStatisticsFields(PublishItemContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        Assert.ArgumentNotNull(context.PublishOptions, &quot;context.PublishOptions&quot;);&#xA;        Assert.ArgumentNotNull(context.PublishOptions.SourceDatabase, &quot;context.PublishOptions.SourceDatabase&quot;);&#xA;        Assert.ArgumentNotNull(context.PublishOptions.TargetDatabase, &quot;context.PublishOptions.TargetDatabase&quot;);&#xA;        Assert.ArgumentCondition(!ID.IsNullOrEmpty(context.ItemId), &quot;context.ItemId&quot;, &quot;context.ItemId must be set!&quot;);&#xA;        Assert.ArgumentNotNull(context.User, &quot;context.User&quot;);&#xA;&#xA;        SetPublishingStatisticsFields(context.PublishOptions.SourceDatabase, context.ItemId, context.User.Name);&#xA;        SetPublishingStatisticsFields(context.PublishOptions.TargetDatabase, context.ItemId, context.User.Name);&#xA;    }&#xA;&#xA;    private void SetPublishingStatisticsFields(Database database, ID itemId, string userName)&#xA;    {&#xA;        Assert.ArgumentNotNull(database, &quot;database&quot;);&#xA;        Item item = TryGetItem(database, itemId);&#xA;&#xA;        if (HasPublishingStatisticsFields(item))&#xA;        {&#xA;            SetPublishingStatisticsFields(item, DateUtil.IsoNow, userName);&#xA;        }&#xA;    }&#xA;&#xA;    private void SetPublishingStatisticsFields(Item item, string isoDateTime, string userName)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;        Assert.ArgumentNotNullOrEmpty(isoDateTime, &quot;isoDateTime&quot;);&#xA;        Assert.ArgumentNotNullOrEmpty(userName, &quot;userName&quot;);&#xA;&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            item.Editing.BeginEdit();&#xA;            item.Fields[PublishedFieldName].Value = DateUtil.IsoNow;&#xA;            item.Fields[PublishedByFieldName].Value = userName;&#xA;            item.Editing.EndEdit();&#xA;        }&#xA;    }&#xA;&#xA;    private Item TryGetItem(Database database, ID itemId)&#xA;    {&#xA;        try&#xA;        {&#xA;            return database.Items[itemId];&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(this.ToString(), ex, this);&#xA;        }&#xA;&#xA;        return null;&#xA;    }&#xA;&#xA;    private static bool HasPublishingStatisticsFields(Item item)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;        return item.Fields[PublishedFieldName] != null&#xA;                &amp;amp;&amp;amp; item.Fields[PublishedByFieldName] != null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add your custom pipeline : &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA; &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;     &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;publishItem&amp;gt;&#xA;       &amp;lt;processor type=&quot;Sitecore.Sandbox.Pipelines.Publishing.UpdatePublishingStatistics, Sitecore.Sandbox&quot;                     patch:after=&quot;processor[@type='Sitecore.Publishing.Pipelines.PublishItem.UpdateStatistics, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/publishItem&amp;gt;&#xA;     &amp;lt;/pipelines&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA; &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then access fields &quot;__Published&quot; or &quot;__Published By&quot; from PSE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code above was taken from below blog post where you can also get more information -&gt; &lt;a href=&quot;https://sitecorejunkie.com/2013/01/26/who-just-published-that-log-publishing-statistics-in-the-sitecore-client/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2013/01/26/who-just-published-that-log-publishing-statistics-in-the-sitecore-client/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information and previous discussion can be found here -&gt; &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1859/how-to-get-a-last-publish-date-for-an-item/1863&quot;&gt;How to get a &amp;#39;last publish date&amp;#39; for an item&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-20T15:05:50.970" LastActivityDate="2018-03-20T15:05:50.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10923" PostTypeId="1" CreationDate="2018-03-20T14:50:10.663" Score="0" ViewCount="1766" Body="&lt;p&gt;I am having an issue when passing itemid as query string to controller&lt;/p&gt;&#xA;&#xA;&lt;p&gt;url is rendered like this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecorelocal/api/sitecore/Product?sc_itemid=%7BB416980B-40A7-4C8F-8F98-375DD1CD9544%7&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorelocal/api/sitecore/Product?sc_itemid=%7BB416980B-40A7-4C8F-8F98-375DD1CD9544%7&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;instead of &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecorelocal/api/sitecore/Product?sc_itemid=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorelocal/api/sitecore/Product?sc_itemid=&lt;/a&gt;{B416980B-40A7-4C8F-8F98-375DD1CD9544}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am retrieving Id like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            @{&#xA;&#xA;             var list = @Model.Item.ID;&#xA;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How to avoid binding special character?&lt;/p&gt;&#xA;" OwnerUserId="3368" LastEditorUserId="3136" LastEditDate="2018-03-20T15:41:28.590" LastActivityDate="2018-08-08T18:52:17.993" Title="Passing an Item ID to the Controller via the Querystring" Tags="|mvc|controller|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="10924" PostTypeId="2" ParentId="10923" CreationDate="2018-03-20T15:12:24.143" Score="2" Body="&lt;p&gt;You will need to replace the encoded value. From the Id &lt;code&gt;%7BB416980B-40A7-4C8F-8F98-375DD1CD9544%7D&lt;/code&gt; you are passing, you will replace&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;%7B with {&#xA;&#xA;%7D with }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you will have the Id as &lt;code&gt;{B416980B-40A7-4C8F-8F98-375DD1CD9544}&lt;/code&gt;. Once you have the Id in a proper state, you can then search the corresponding Sitecore Item using the Sitecore APIs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using Item Name in the url. This is not recommended to search via Item Name because&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;this can cost you in terms of performance.&lt;/li&gt;&#xA;&lt;li&gt;you may end up with more than 1 item if item names are not unique.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;One way you can use search via Item Name is if you already know the Parent Item and also if Item Name is unique.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, &lt;code&gt;/sitecore/content/my site/products/product A&lt;/code&gt; and &lt;code&gt;/sitecore/content/my site/products/product B&lt;/code&gt; and so on. So based on this, the parent item is &lt;code&gt;products&lt;/code&gt;. So, you can build the path including the item name and search for the item: &lt;code&gt;/sitecore/content/my site/products/{item name here}&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-03-20T15:17:55.073" LastActivityDate="2018-03-20T15:17:55.073" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="10925" PostTypeId="2" ParentId="10923" CreationDate="2018-03-20T15:13:48.177" Score="3" Body="&lt;p&gt;Encoding of special characters in the URL is default behavior. To have item id without special characters, you can use &lt;code&gt;Sitecore.Data.ID.ToShortID()&lt;/code&gt; method to have short id which will not have any special characters and can solve your issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way is that remove the bracket mannually and at the time of retrieving, do string manipulation but thats not the right way.&lt;/p&gt;&#xA;" OwnerUserId="1078" LastEditorUserId="3182" LastEditDate="2018-08-08T18:52:17.993" LastActivityDate="2018-08-08T18:52:17.993" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="10927" PostTypeId="2" ParentId="10923" CreationDate="2018-03-20T15:29:10.200" Score="4" Body="&lt;p&gt;Your issue is that &quot;{&quot; and &quot;}&quot; are not valid characters in a URL. As such they have automatically been URL encoded when used in your query string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your options are&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Strip the brackets before appending the query string and process as required when receiving it&lt;/li&gt;&#xA;&lt;li&gt;Use a URL decode method such as &lt;code&gt;HttpContext.Current.Server.UrlDecode(HttpContext.Current.Request.QueryString[&quot;sc_itemid&quot;]);&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="345" LastActivityDate="2018-03-20T15:29:10.200" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10928" PostTypeId="2" ParentId="10920" CreationDate="2018-03-20T16:08:16.393" Score="5" Body="&lt;p&gt;As I understand from the answer and code example that &lt;strong&gt;Resolve Sitecore Item Pipeline Step&lt;/strong&gt; is used. This resolver does not resolve languages unlike default language. It means it does not read language(s) from the plugin.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Select Languages Pipeline Step&lt;/strong&gt; assigns language(s) to &lt;strong&gt;SelectedLanguagesSettings&lt;/strong&gt; plugin.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Resolve Multilanguage Sitecore Item Dictionary Pipeline Step&lt;/strong&gt; reads assigned languages from the plugin and resolve item by selected language.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Change the pipeline step from &lt;strong&gt;Resolve Sitecore Item Pipeline Step&lt;/strong&gt; to &lt;strong&gt;Resolve Multilanguage Sitecore Item Dictionary Pipeline Step&lt;/strong&gt; because the latter takes the language plugin into account.&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="1436" LastEditDate="2018-03-20T17:32:16.027" LastActivityDate="2018-03-20T17:32:16.027" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10930" PostTypeId="2" ParentId="10387" CreationDate="2018-03-20T19:45:19.557" Score="2" Body="&lt;p&gt;I contacted Sitecore support and they had the documentation updated. It now states: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;AdditionalRegistrationsAreIgnored&lt;/code&gt; was used by the &lt;code&gt;OutcomeManager&lt;/code&gt; and&#xA;  is no longer in use. Please remove this property from your code.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So there is no ootb option for this anymore. You can write this functionality yourself but be aware that other code might still register the outcome through xConnect. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-03-20T19:45:19.557" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10931" PostTypeId="1" AcceptedAnswerId="10934" CreationDate="2018-03-20T20:29:38.923" Score="2" ViewCount="512" Body="&lt;p&gt;I can edit and view my custom SXA theme in the Experience editor with the Creative Exchange Live, but the theme doesn't appear on the website unless I publish the whole site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to publish the theme, the themes folder, the media library, but nothing work unless I publish the whole site and I would like to avoid this, since there could be a lot of content aka this could end taking a lot of time.&lt;/p&gt;&#xA;" OwnerUserId="3424" LastEditorUserId="2727" LastEditDate="2018-03-21T08:24:14.963" LastActivityDate="2018-03-29T08:41:20.937" Title="SXA theme show in Experience Editor, but not on published site unless I publish the whole site" Tags="|sxa|experience-editor|publishing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10933" PostTypeId="2" ParentId="10378" CreationDate="2018-03-20T21:27:25.017" Score="4" Body="&lt;p&gt;It turns out that this problem didn't really have anything to do with Sitecron. It was due to a bug in Sitecore Commerce 8.2.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;CatalogDataProvider&lt;/code&gt; in Sitecore Commerce 8.2.1 generates templates the first time items are requested from the database. This is the same template generation process that you can trigger manually via the Update Data Templates button on the Sitecore Commerce ribbon in the Content Editor. After templates are generated, it raises an event to clear the template engine cache. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is, at application start, this process is triggered by the template engine trying to load its templates. So essentially, the template engine is reset in the middle of its initialization process which results in a null reference exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was confirmed as a bug by Sitecore Support and assigned reference number 37009. As far as I can tell, the code in question was removed for SXC 9.0.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2018-03-20T21:27:25.017" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10934" PostTypeId="2" ParentId="10931" CreationDate="2018-03-20T21:53:15.610" Score="2" Body="&lt;p&gt;You need to publish the Site Theme through XA tab on the Experience Editor using Publish &gt; Site Theme.  See image below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lLGXx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lLGXx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2972" LastActivityDate="2018-03-20T21:53:15.610" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10935" PostTypeId="1" AcceptedAnswerId="10960" CreationDate="2018-03-21T02:20:02.907" Score="9" ViewCount="509" Body="&lt;p&gt;A very simple question I'm looking to get confirmed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you run &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dianoga&lt;/a&gt; module in &lt;code&gt;Sitecore&lt;/code&gt; within an &lt;code&gt;Azure Web App&lt;/code&gt; context? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My main concern is that it requires &lt;code&gt;.exe&lt;/code&gt; files for compression as mentioned in this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5636/clarification-sitecore-dianoga-module&quot;&gt;question&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="73" LastEditDate="2018-03-21T19:43:06.003" LastActivityDate="2018-03-21T19:43:06.003" Title="Is it possible to run Dianoga in an Azure Web App?" Tags="|paas|dianoga|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10937" PostTypeId="1" AcceptedAnswerId="10941" CreationDate="2018-03-21T07:21:12.093" Score="5" ViewCount="986" Body="&lt;p&gt;Snippets were introduced in Sitecore SXA 1.6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are some differences between snippets and partials designs?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When to use snippets and when to use partial designs with SXA?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-11-05T21:30:19.977" Title="What is the difference between snippets and partial designs in SXA" Tags="|sxa|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10938" PostTypeId="1" CreationDate="2018-03-21T07:59:41.070" Score="0" ViewCount="557" Body="&lt;p&gt;My code for creating Automation Plan&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var manager = ServiceLocator.ServiceProvider.GetDefinitionManagerFactory().GetDefinitionManager&amp;lt;IAutomationPlanDefinition&amp;gt;();&#xA;&#xA;var currentTime = DateTime.Now;&#xA;var culture = CultureInfo.GetCultureInfo(&quot;en-US&quot;);&#xA;Guid planId = Guid.NewGuid();&#xA;&#xA;Guid entryActivityGuid = Guid.NewGuid();&#xA;&#xA;AutomationPlanDefinition plan = new AutomationPlanDefinition(planId, &quot;later&quot;+ planId, culture, &quot;later plan&quot;, DateTime.UtcNow, &quot;sitecore\\admin&quot;)&#xA;{&#xA;    ReentryMode = AutomationPlanReentryMode.Single,&#xA;    Description = &quot;Later&quot;,&#xA;    EndDate = currentTime.AddDays(3),&#xA;    EntryActivityId = entryActivityGuid&#xA;};&#xA;&#xA;Guid activityTypeGuid = Guid.Parse(&quot;51774DB5-B90B-4189-9613-104039723A0B&quot;);&#xA;&#xA;var emailActivity = new AutomationActivityDefinition&#xA;{&#xA;    Id = entryActivityGuid, // ID of this instance&#xA;    ActivityTypeId = activityTypeGuid,&#xA;    Paths =&#xA;      {&#xA;        {  &quot;MessageId&quot;, Guid.Parse(&quot;E0D23B31-30E9-4F3F-AA98-826FD8F4A3A5&quot;)},&#xA;      }&#xA;};&#xA;&#xA;plan.AddActivity(emailActivity);&#xA;&#xA;manager.SaveAsync(plan, true);&#xA;&#xA;return plan.Id.ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;At this line &lt;strong&gt;manager.SaveAsync(plan, true);&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;$exception {&quot;Postcondition 'the definition was not found: 14108e3c-8548-4339-baed-aa75add6be23 should be greater than 0' failed. The actual value is 0.&quot;} Sitecore.Framework.Conditions.PostconditionException&quot;**&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and &lt;strong&gt;14108e3c-8548-4339-baed-aa75add6be23&lt;/strong&gt; is the id of automation plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to solve this error?&lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="2727" LastEditDate="2018-03-22T12:44:15.187" LastActivityDate="2018-03-23T08:05:11.923" Title="Postcondition the definition was not found error at the time of creating Automation plan by code" Tags="|xconnect|marketing-automation|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10939" PostTypeId="1" CreationDate="2018-03-21T08:02:08.290" Score="1" ViewCount="1484" Body="&lt;p&gt;I am trying to handle user authentication for sitecore from front end and I need to know if there are any steps\documents for handling SAML implementation in sitecore for now i do the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;created page to redirect to the identity provider &lt;/li&gt;&#xA;&lt;li&gt;created user resolver to map the returned response to sitecore user&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is there any other steps related to setting session or cookie to handle SSO in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="2576" LastEditDate="2018-03-21T16:31:27.787" LastActivityDate="2018-03-21T16:31:27.787" Title="Sitecore 9 SSO implementation using SAML2.0" Tags="|federated-authentication|" AnswerCount="0" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="10940" PostTypeId="2" ParentId="10937" CreationDate="2018-03-21T08:33:27.653" Score="1" Body="&lt;p&gt;Snippet in SXA means that when you create and use a snippet on pages, it applies the same rendering everywhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, you create a header snippet and applies it on the main page, all pages which is using the main page, will have the same rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Partial design is similar to snippet but the only difference is that you can update the design for specific pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you need a slightly different header on a particular page. Partial designs can inherit from each other, so you can build increasingly complex designs from a basic set of reusable partial designs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, you would use Snippet if you want to the same design to be applicable everywhere and Partial design where design may change on some specific pages.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-03-21T08:33:27.653" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10941" PostTypeId="2" ParentId="10937" CreationDate="2018-03-21T10:10:34.870" Score="6" Body="&lt;p&gt;&lt;strong&gt;Partial designs&lt;/strong&gt; are sets of renderings that are bundled. You can use the partial designs to create design elements of your pages quickly and reuse them easily. They are used a lot for parts like headers and footers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;when you change a partial design, the changes are updated on every&#xA;  page that uses this partial design.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Therefore, you should make sure that you check where it is used before you change it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Snippets&lt;/strong&gt; are something different. Got some info &lt;a href=&quot;https://ggullentops.blogspot.be/2018/01/sitecore-experience-accelerator-sxa-snippets.html&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;. Those are actually composite renderings. So snippets are also a bundling of renderings. You could reuse the content inside them, but you can also decide to change that on every page. An example usage could be a splitter with some components in them that you want on several pages (with different content). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would use partials for those parts that do not change in between pages (or at least you have a small number of versions). Like header, footer, ...&#xA;I would use snippets to make the life of the content editor (more) easy by giving them pre-defined sets of renderings tailored to their needs.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-03-21T10:10:34.870" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10942" PostTypeId="1" AcceptedAnswerId="10964" CreationDate="2018-03-21T10:32:20.847" Score="1" ViewCount="1503" Body="&lt;p&gt;I need to add one item in content tree and instead of clone it in different places in content tree, i want to use canonical link for SEO Optmization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any steps/documents how to handle this in SXA 1.6?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2018-03-21T21:02:44.967" Title="Handle canonical URLs in SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10943" PostTypeId="1" CreationDate="2018-03-21T11:12:21.157" Score="0" ViewCount="475" Body="&lt;p&gt;I'm using EXM 3.5 and when I click on Unsubscribe link &lt;code&gt;(/sitecore modules/Web/EXM/Unsubscribe.aspx)&lt;/code&gt; I got an error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Attempt to access MessageEventPage with unverified url: /sitecore modules/Web/EXM/Unsubscribe.aspx&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;INFO  Cannot handle unsubscription event. No message id was provided in the request&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;6024 10:41:28 ERROR Failed to process an email opened task&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="2508" LastEditorUserId="2727" LastEditDate="2018-03-21T14:07:07.057" LastActivityDate="2024-03-20T05:02:50.380" Title="ERROR Attempt to access MessageEventPage with unverified url: /sitecore modules/Web/EXM/Unsubscribe.aspx error when clicking on Unsubscribe link" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10944" PostTypeId="2" ParentId="10938" CreationDate="2018-03-21T13:39:41.230" Score="1" Body="&lt;p&gt;I have tried your scenario with exactly same code also on &lt;code&gt;Sitecore 9 Update 1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my side everything went through without any problem as you can see on below images.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZRO9y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZRO9y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4yNqU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4yNqU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you haven't deployed marketing definitions in Control Panel and that is a root cause of your trouble. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can try to do:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Verify or try to redeploy marketing definitions from Control Panel:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/92ZlT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/92ZlT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0gHvK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0gHvK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also try to rebuild marketing definition indexes through Indexing Manager from Control Panel:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ei4Qy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ei4Qy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would contact Sitecore Support if the issue still persists.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-23T08:05:11.923" LastActivityDate="2018-03-23T08:05:11.923" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10947" PostTypeId="2" ParentId="10943" CreationDate="2018-03-21T14:10:48.477" Score="0" Body="&lt;p&gt;You cannot open that page directly from email campaign when you are authoring message body if this is what you were trying to do.&#xA;Without additional parameters in query string it won't work. Parameters are added to query string during message generation before send out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should try to send email to your test contact and you will see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should have there message id, contact id (&quot;ec&quot; as far as I remember) and other parameters in query string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is exact location where exception is thrown for you:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/59qnd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/59qnd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-21T14:10:48.477" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="10948" PostTypeId="2" ParentId="10937" CreationDate="2018-03-21T14:22:21.457" Score="3" Body="&lt;p&gt;&lt;strong&gt;Snippets&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The parts which is static one and repeatable on multiple pages, you can create snippets. There are 3 configurations for the snippets. you can also modify the associated content. You can find here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/sharing_content/select_modify_and_create_associated_content&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/sharing_content/select_modify_and_create_associated_content&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Partial Designs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those parts of the website that are constant ones use Partial design for the outer sections. like grey section containers, read section containers and black section containers. Read more at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/page_designs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/page_designs&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-21T14:22:21.457" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10949" PostTypeId="2" ParentId="1651" CreationDate="2018-03-21T14:40:13.813" Score="0" Body="&lt;p&gt;Sitecore Habitat Hanging on &lt;code&gt;05-Sync-Unicorn&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure to unblock following files in the code repository, you can do so by right click on each one of them and click on &lt;code&gt;Unblock&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Habitat-master\scripts\Unicorn\MicroCHAP.dll&lt;/li&gt;&#xA;&lt;li&gt;Habitat-master\scripts\Unicorn\Sync.ps1&lt;/li&gt;&#xA;&lt;li&gt;Habitat-master\scripts\Unicorn\Unicorn.psm1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1268" LastEditorUserId="1000" LastEditDate="2018-03-21T16:52:26.830" LastActivityDate="2018-03-21T16:52:26.830" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10954" PostTypeId="1" AcceptedAnswerId="10955" CreationDate="2018-03-21T16:05:19.567" Score="5" ViewCount="631" Body="&lt;p&gt;I'm working on a Sitecore 8.1 (rev. 160302) build running our custom code on .NET 4.5. &#xA;As far as I know using the out of the box Security provider there are no ways to update username programatically as it's a read only property. I know this is possible using ASP.NET Identity framework but as far as I can tell this build version does not use the identity framework.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any ways of updating the username for this version?&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2018-03-21T16:10:08.460" Title="Can username be updated in Sitecore?" Tags="|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10955" PostTypeId="2" ParentId="10954" CreationDate="2018-03-21T16:10:08.460" Score="4" Body="&lt;p&gt;Well yes. But it will require scripting, there is no OOTB solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, you will need to do the actual user name update in the underlying ASP.NET Membership Tables. Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UPDATE aspnet_Users SET UserName=@NewUsername,LoweredUserName=@LoweredNewUsername WHERE UserName=@OldUsername&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore 5.x to 8.x runs on a completely standard ASP.NET Membership implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information here: &lt;a href=&quot;https://stackoverflow.com/questions/1001491/is-it-possible-to-change-the-username-with-the-membership-api&quot;&gt;https://stackoverflow.com/questions/1001491/is-it-possible-to-change-the-username-with-the-membership-api&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you will need to update the Security field on all Sitecore Items, where the user name have been applied. If you followed Best Practices, there would be none (you should assign permissions to roles, not users).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably an AppPool reset will be required once you're done.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-03-21T16:10:08.460" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10957" PostTypeId="2" ParentId="2183" CreationDate="2018-03-21T17:03:57.683" Score="-1" Body="&lt;p&gt;Have a look at these KB article, on how to configure Content Management environments with out of process session state modes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/860809&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/860809&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/860809&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/860809&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="388" LastActivityDate="2018-03-21T17:03:57.683" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10959" PostTypeId="1" CreationDate="2018-03-21T17:43:26.323" Score="1" ViewCount="128" Body="&lt;p&gt;When I add comment to the workflow transitioning from one state to another.  Experience editor always asks to save the page as shown below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ECjpK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ECjpK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way not to show this pop-up? &#xA;Or Can this be done?&lt;/p&gt;&#xA;" OwnerUserId="1729" LastEditorUserId="3136" LastEditDate="2018-03-21T18:07:29.523" LastActivityDate="2018-03-21T18:07:29.523" Title="Experience Editor always asks to save after adding workflow comments" Tags="|experience-editor|workflow|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="10960" PostTypeId="2" ParentId="10935" CreationDate="2018-03-21T18:37:03.743" Score="6" Body="&lt;p&gt;I've used this for a while and can confirm that it works (up to SC 8.2). Furthermore, I just tested it and it still works with Sitecore 9 in PaaS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once installed, look for Dianoga informational messages in Application Insights after requesting your images. It should look somewhat like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZjvPW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZjvPW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you refresh your image (bypassing the browser cache) once it's processed (i.e. after being requested once on the web site), you can compare sizes before and after. If you test with larger, unoptimized images, you should see some decent gains.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I've never used the SVG compression.&lt;/li&gt;&#xA;&lt;li&gt;I have not tested the nQuant method of PNG compression.&lt;/li&gt;&#xA;&lt;li&gt;The default PNGOptimizer requires a 64-bit application pool.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="890" LastActivityDate="2018-03-21T18:37:03.743" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10961" PostTypeId="1" AcceptedAnswerId="10963" CreationDate="2018-03-21T18:49:06.643" Score="3" ViewCount="858" Body="&lt;p&gt;We have what is effectively a Sitecore XM instance that's on version 8.current, due to MongoDB requirements of functionality that was part of XP, and that we weren't actively using XP components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're now looking at upgrading to Sitecore 9 and want to start taking advantage of XP functionality like analytics and xDB. However, I'm confused on how we can upgrade from XM to XP, especially given how Sitecore 9 has changed the installation process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I see it, we could either:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;try to determine how to add XP functionality to our Sitecore 8 instances (running into the issue of not having a MongoDB environment),&lt;/li&gt;&#xA;&lt;li&gt;or upgrade what we have to Sitecore 9 and figure out how to add XP functionality via the SIF tools.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore have a recommended way to essentially upgrade an instance from XM to XP?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of note:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Outside of core CMS database (core, master, web dbs), we have no data that would need to transition. This also means that if we have any of the XP-related dbs, they are not necessarily current.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="288" LastActivityDate="2018-03-21T19:12:03.000" Title="What is the recommended way to upgrade from Sitecore 8 XM to Sitecore 9 XP?" Tags="|upgrade|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="10963" PostTypeId="2" ParentId="10961" CreationDate="2018-03-21T19:12:03.000" Score="1" Body="&lt;p&gt;Their might be a difference whether you are upgrading from Sitecore 8.1/8.2 or 8.0 as the &quot;upgrade&quot; path is different (8.1/8.2 can be easily upgraded, older ones need more steps). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But either way, during the upgrade process you end up with a Sitecore 9 setup without xConnect. Your &quot;site&quot; is upgraded at that point (except for the post upgrade steps), and the upgrade guide for Sitecore 9.0-1 will actually refer to the install guide for xConnect on that point.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you want to use the Sitecore Experience Database (xDB)&#xA;  functionality, you must install and configure Sitecore xConnect. For&#xA;  more detailed information about installing xConnect — including&#xA;  deployment topologies — see the Sitecore Experience Platform 9.0&#xA;  Update 1 Installation Guide.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So you could perfectly follow the normal upgrade instructions actually (option 2 in your question but without too much to figure out).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And as mentioned by chorpo you could even decide to just migrate the content yourself into a clean 9 solution. In that case there is no issue as you can install Sitecore as desired and move all your content. As you probably only have &quot;content&quot; in the solution and no marketing stuff yet, this could be a valid option. Just be aware that things like WFFM require some attention.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: just make sure your license is valid ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-03-21T19:12:03.000" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10964" PostTypeId="2" ParentId="10942" CreationDate="2018-03-21T21:02:44.967" Score="0" Body="&lt;p&gt;As an example, you may want to look at the Sitecore SXA Storefront.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sxa%20storefront/technical%20overview/technical%20overview/shop%20pages%20and%20canonical%20urls&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sxa%20storefront/technical%20overview/technical%20overview/shop%20pages%20and%20canonical%20urls&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you create your storefront site using the &lt;a href=&quot;https://doc.sitecore.net/sxa_storefront/build_a_storefront_with_sxa_storefront/build_a_storefront_with_sxa_storefront/create_a_new_tenant_and_site_with_commerce_features&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commerce Storefront Template&lt;/a&gt; feature, then a canonical URL is automatically included in the metadata for every storefront page.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;If you create your own page designs, you can insert the &lt;a href=&quot;https://doc.sitecore.net/sxa_storefront/commerce_renderings_for_sxa/commerce_meta_renderings&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commerce Metadata meta rendering&lt;/a&gt; from the SXA toolbox in your page designs in order to assign canonical URLs to every page.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you cannot use these templates, then you may want to create your own custom ones based on them.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-03-21T21:02:44.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10965" PostTypeId="1" AcceptedAnswerId="11268" CreationDate="2018-03-21T21:13:13.817" Score="1" ViewCount="628" Body="&lt;p&gt;Using SXA 1.6  and Sitecore 9.01 I manage to enable Federated Authentication on CM so content editors can be authenticated using their Azure AD account using the guide from &#xA;&lt;a href=&quot;http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.badalkotecha.com/2017/11/federated-authentication-for-sitecore-9-integrating-with-azuread.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to do the same but for website visitor to login using their AD account, I add below code in one of my render  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;external-signin&quot;&amp;gt;&#xA;&#xA;                  &amp;lt;a class=&quot;btn btn-default btn-block xp0.sc.azureAD&quot; href='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ExternalSignIn$ctl00$ctl00&quot;, &quot;&quot;, false, &quot;&quot;, &quot;/identity/externallogin?authenticationType=xp0.sc.azureAD&amp;amp;amp;ReturnUrl=%252fidentity%252fexternallogincallback%253fReturnUrl%253d%2526sc_site%253dshell%2526authenticationSource%253dDefault&amp;amp;amp;sc_site=shell&quot;, false, true))'&amp;gt;&amp;lt;div class=&quot;sc-icon&quot; style=&quot;background-image: url(/sitecore/shell/themes/standard/Images/24x24/msazure.png)&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;                      &amp;lt;span class=&quot;external-signin-caption&quot;&amp;gt;&#xA;                          Sign-in with Azure Active Directory&#xA;                      &amp;lt;/span&amp;gt;&#xA;                  &amp;lt;/a&amp;gt;&#xA;&#xA;        &amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get this issue &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;VM1085:1 Uncaught ReferenceError: WebForm_DoPostBackWithOptions is not defined&#xA;at &amp;lt;anonymous&amp;gt;:1:1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there anther way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="1671" LastEditDate="2018-04-05T13:08:09.547" LastActivityDate="2018-04-10T10:59:02.443" Title="Sitecore Federated Authentication on CD server" Tags="|sxa|content-delivery|federated-authentication|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10966" PostTypeId="2" ParentId="5285" CreationDate="2018-03-21T21:13:25.677" Score="0" Body="&lt;p&gt;I ran into this issue as well. In my case I didn't have a default constructor on my processor and only had a value constructor so the thing that creates an instance of the pipeline step to check its type was not able to do so properly and the processor type was coming back as null. Originally I had just this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public ResolveRelativeItemPiplineStep(SitecoreItemUtilities sitecoreItemUtilities)&#xA;    {&#xA;        if (sitecoreItemUtilities == null)&#xA;        {&#xA;            throw new ArgumentNullException();&#xA;        }&#xA;        this.SitecoreItemUtilities = sitecoreItemUtilities;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I added this which fixed the issue up:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public ResolveRelativeItemPiplineStep() : this(Context.GetPlugin&amp;lt;SitecoreItemUtilities&amp;gt;())&#xA;    {&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-03-21T22:07:27.807" LastActivityDate="2018-03-21T22:07:27.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10969" PostTypeId="2" ParentId="9416" CreationDate="2018-03-22T00:40:26.663" Score="1" Body="&lt;p&gt;I think you are getting personalisation rules and contact facets confused. The IContactService is used to extend the model(information) that is stored against a user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are implementing IContactService you would be for example adding a &quot;site theme&quot; to every contact. For this you need to add a &quot;schema name&quot; into the config as well as deploy your new facet model as json to xconnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Albernazf pointed out if you are trying to implement a custom personalisation rule you will need to use the Syntax &quot;NowCondition : WhenCondition where T : RuleContext&quot; and have public property which matches the rule you set in sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if you need further details on either concept.     &lt;/p&gt;&#xA;" OwnerUserId="1378" LastActivityDate="2018-03-22T00:40:26.663" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10971" PostTypeId="1" AcceptedAnswerId="10972" CreationDate="2018-03-22T05:01:41.883" Score="5" ViewCount="2125" Body="&lt;p&gt;Is there a simple way of stopping user from saving and publishing when a field is empty?&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="2056" LastEditDate="2018-03-22T09:05:38.603" LastActivityDate="2018-03-27T08:32:13.933" Title="Stop user from saving and publishing when a field is Empty" Tags="|content-editor|publishing|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10972" PostTypeId="2" ParentId="10971" CreationDate="2018-03-22T05:41:05.540" Score="10" Body="&lt;p&gt;&lt;strong&gt;1) Publishing&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To stop publishing when field is empty, there is no OOTB functionality. One option how you can achieve it with minimal effort is to put item (template) under workflow and use below approach to disable saving item when field is empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will force content editors to fill in field values before saving and proceeding to next step of workflow. Afterwards they need to finish workflow and publish. Publish can be then manually or automatically when workflow is pushed to last step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without filling field, publishing won't be also possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2) Saving&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to apply validation rules and especially FatalError to prevent saving  of item when field is empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To achieve this you need to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create similar validation rule as &quot;Required&quot; validation rule which is OOTB to achieve checking whether field is empty. By similar I meant exact copy (:-)) of '/sitecore/system/Settings/Validation Rules/Field Rules/Required' item&lt;/li&gt;&#xA;&lt;li&gt;Configure validation rule as FatalError - this will halt saving of item when validation fails - Set &lt;code&gt;Result=FatalError&lt;/code&gt; as value of &lt;code&gt;Parameters&lt;/code&gt; field in your validation rule&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3dSPu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3dSPu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Assign validation rule for your item template - to be sure item is not saved in every scenario, you need to select the Validation Rules` section in item template and select the rules to apply in the fields “Quick Action Bar&quot;, “Validate Button”, “Validator Bar” and the “Workflow”.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pwfwY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pwfwY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;More information&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Validation rules:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2011/05/09/using-sitecore-field-validators/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2011/05/09/using-sitecore-field-validators/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecoreworld.blogspot.sk/2014/12/sitecore-validation-examples.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreworld.blogspot.sk/2014/12/sitecore-validation-examples.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.awareweb.com/awareblog/11-11-14-sitecore-custom-field&quot; rel=&quot;noreferrer&quot;&gt;http://www.awareweb.com/awareblog/11-11-14-sitecore-custom-field&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;FatalError validation:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/getting_started_with_content_authoring/working_with_items/validate_an_item&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/getting_started_with_content_authoring/working_with_items/validate_an_item&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-27T08:32:13.933" LastActivityDate="2018-03-27T08:32:13.933" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10974" PostTypeId="2" ParentId="6175" CreationDate="2018-03-22T07:01:30.730" Score="2" Body="&lt;p&gt;In SXA 1.6,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try using &lt;strong&gt;width&lt;/strong&gt; and &lt;strong&gt;height&lt;/strong&gt; in the &lt;em&gt;Data Attributes&lt;/em&gt; field on the VariantField that is being used to render the image.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This seems to add the width and height attributes to the rendered image (including the url) and subsequently is scaled when the image handler is called.&lt;/p&gt;&#xA;" OwnerUserId="3288" LastActivityDate="2018-03-22T07:01:30.730" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10975" PostTypeId="1" CreationDate="2018-03-22T07:53:37.600" Score="0" ViewCount="241" Body="&lt;p&gt;I have a some instances running on Sitecore 8.1 .I want to upgrade these instances to Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I should use MS-SQL-2016 to support XDB.&#xA;I want to install Sitecore-9.1 directly and use the old SQL data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is : &#xA;For Sitecore 8.1's SQL data . Do I need use some tool or scripts to migrating  these data . Or just do a backup and restore into MS-SQL-2016?&lt;/p&gt;&#xA;" OwnerUserId="3432" LastEditorUserId="3432" LastEditDate="2018-03-22T08:02:23.700" LastActivityDate="2018-03-22T08:29:02.337" Title="SQL migration while upgrading Sitecore 8.1 to Sitecore 9" Tags="|upgrade|sql-database|" AnswerCount="1" CommentCount="5" ClosedDate="2018-03-22T12:09:22.033" ContentLicense="CC BY-SA 3.0" />
  <row Id="10976" PostTypeId="2" ParentId="10975" CreationDate="2018-03-22T08:29:02.337" Score="0" Body="&lt;p&gt;You do need to update your solution. You cannot just get a newer version of Sitecore and expect it to work with your old databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For an 8.1 solution, you can upgrade in 1 step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Depending on what you have in the database you could also be able to migrate your data (with Razl, packages, ...) into a clean Sitecore 9. If you only have &quot;content&quot; that might be an option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also don't forget you probably will have to change some of your code..&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-03-22T08:29:02.337" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10978" PostTypeId="1" CreationDate="2018-03-22T12:48:40.347" Score="1" ViewCount="653" Body="&lt;p&gt;I have added values in few fields across 400+ items in the Sitecore programmatically. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After creating all the items in the Sitecore &lt;code&gt;master&lt;/code&gt; database, I am getting this message when I click on each one of them:  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Do you want to save the changes to the item?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I published all the items and the items whatever updated programmatically is reflected in the Sitecore &lt;code&gt;web&lt;/code&gt; database also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have used &lt;code&gt;SecurityDisabler&lt;/code&gt; when modifying the items in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using &lt;code&gt;Sitecore 9&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What could be the reason for this save popup? &lt;/li&gt;&#xA;&lt;li&gt;Has anyone come across this issue? &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="2056" LastEditDate="2018-03-22T14:02:17.370" LastActivityDate="2019-03-04T17:22:12.330" Title="Save popup message is frequently shown in Sitecore" Tags="|sitecore-client|sitecore-api|disablers|" AnswerCount="1" CommentCount="3" ClosedDate="2018-04-22T13:15:39.900" ContentLicense="CC BY-SA 3.0" />
  <row Id="10980" PostTypeId="1" CreationDate="2018-03-22T14:25:03.730" Score="0" ViewCount="187" Body="&lt;p&gt;What does the Lucene &lt;code&gt;sitecore_web_index&lt;/code&gt; do on the Content Delivery server?&#xA;How can it become corrupted?&lt;/p&gt;&#xA;" OwnerUserId="3434" LastEditorUserId="2056" LastEditDate="2018-03-22T14:43:09.737" LastActivityDate="2018-03-22T21:40:45.137" Title="sitecore_web_index corrupted on Content Delivery server" Tags="|configuration|indexing|lucene|" AnswerCount="1" CommentCount="1" ClosedDate="2018-03-23T08:39:47.533" ContentLicense="CC BY-SA 3.0" />
  <row Id="10981" PostTypeId="1" AcceptedAnswerId="11246" CreationDate="2018-03-22T14:39:31.323" Score="1" ViewCount="1826" Body="&lt;p&gt;Why Sitecore.Analytics.Tracker.Current.Contact.Identifiers.FirstOrDefault() is null in incognito mode of browser. I applied the following code but still same.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public void LoadContact(Guid customIdentifier)&#xA;    {&#xA;        var manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as Sitecore.Analytics.Tracking.ContactManager;&#xA;&#xA;        if (manager != null)&#xA;        {&#xA;            using (var client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    if (Sitecore.Analytics.Tracker.Current.Contact.IsNew)&#xA;                    {&#xA;                        Sitecore.Analytics.Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;                        manager.SaveContactToCollectionDb(AnalyticsHelpers.CurrentTracker.Contact);&#xA;                    }&#xA;&#xA;                    var identifier = Sitecore.Analytics.Tracker.Current.Contact.Identifiers.FirstOrDefault();&#xA;&#xA;                    if (identifier != null)&#xA;                    {&#xA;                        var reference = new IdentifiedContactReference(identifier.Source, customIdentifier.ToString(&quot;N&quot;));&#xA;&#xA;                        var existingContact = client.Get&amp;lt;Contact&amp;gt;(reference,&#xA;                            new Sitecore.XConnect.ContactExpandOptions(EmailAddressList.DefaultFacetKey));&#xA;&#xA;                        var contact = client.Get(&#xA;                            new IdentifiedContactReference(identifier.Source, identifier.Identifier),&#xA;                            new ContactExpandOptions(EmailAddressList.DefaultFacetKey));&#xA;&#xA;                        client.MergeContacts(existingContact, contact);&#xA;&#xA;                        client.Submit();&#xA;                    }&#xA;                }&#xA;                catch (XdbExecutionException e)&#xA;                {&#xA;                    Sitecore.Diagnostics.Log.Error(e.Message, e, &quot;LoadContact&quot;);&#xA;                }&#xA;            }&#xA;        }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I cannot &lt;code&gt;IdentifyAs(...)&lt;/code&gt; here which will generate the id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I reloaded the page few times, but nothing happens. I am using &lt;strong&gt;Sitecore 9.0.1&lt;/strong&gt;. I checked the cookie, &lt;strong&gt;the analytics cookie is there&lt;/strong&gt;. The contact is also not null. I am &lt;strong&gt;not making any async call&lt;/strong&gt;. It is a normal page load.&lt;/p&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="3378" LastEditDate="2018-03-23T14:53:11.533" LastActivityDate="2018-04-09T12:40:13.470" Title="Why Sitecore.Analytics.Tracker.Current.Contact.Identifiers.FirstOrDefault() is null?" Tags="|xconnect|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="10982" PostTypeId="1" AcceptedAnswerId="10983" CreationDate="2018-03-22T19:54:53.257" Score="1" ViewCount="695" Body="&lt;p&gt;I am having issue adding new custom feature to page in SXA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps I followed: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Created custom area for toolbox by adding feature in system-&gt;settings-&gt;features-&gt;custom features. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Next, I cloned existing promo rendering to the custom folder under layout-&gt;rendering-&gt;feature-&gt;custom features. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Last I added custom feature rendering to 'available renderings' under presentation. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After following these steps, when I tried to add the custom promo to page, it is not showing up. After checking presentation details, I see custom promo under final layout, not shared layout. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using &lt;code&gt;Sitecore 9.0.1&lt;/code&gt; with &lt;code&gt;SXA 1.6&lt;/code&gt;. Thanks&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="2056" LastEditDate="2018-03-22T20:29:02.773" LastActivityDate="2023-04-30T18:45:19.113" Title="Custom component in SXA hidden in toolbox" Tags="|sxa|best-practices|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10983" PostTypeId="2" ParentId="10982" CreationDate="2018-03-22T20:04:06.813" Score="3" Body="&lt;p&gt;Use &lt;strong&gt;Clone rendering&lt;/strong&gt; feature for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/copy_and_customize_an_sxa_rendering&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/copy_and_customize_an_sxa_rendering&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;section: &lt;strong&gt;Copy and customize a rendering&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will take care of everything, doing this manually is difficult and unnecessary with the new feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think 1.6 is missing some auto-steps.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make sure that you have your custom CSS class or use old (&lt;code&gt;promo&lt;/code&gt; is defaul class for Promo rendering)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UwfQz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UwfQz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Assign your rendering to compatible renderings variants or create new node&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Nx0KK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Nx0KK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-03-23T10:27:56.633" LastActivityDate="2018-03-23T10:27:56.633" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="10984" PostTypeId="1" CreationDate="2018-03-22T21:04:39.500" Score="4" ViewCount="4109" Body="&lt;p&gt;I installed Sitecore 9 on my local machine having CM and CD together and Solr and xConnect are working fine. However, there is no data in all xMarketing features (such as Experience Analytics, profile, forms, device detection so on).&lt;/p&gt;&#xA;&lt;p&gt;I enabled DEBUG mode for Analytics and created simple Form page. Here is the log file:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;18052 16:28:26 INFO  xDB is enabled.&lt;br /&gt;&#xA;18052 16:28:26 INFO  Tracking is enabled.&lt;br /&gt;&#xA;18052 16:28:26 INFO  Valid xDB license is present.&lt;br /&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;blockquote&gt;&#xA;DEBUG ContactManager.LoadContact(75cf53ec-80d5-406d-a605-1e9e5a49c7ce) - contact is loaded, storing it in shared session&lt;br /&gt;&#xA;DEBUG Min threads: 4, Active threads: 1.&lt;br /&gt;&#xA;INFO  Cache created: 'referenceDataDefinitionTypeCache' (max size: 1MB, running total: 2756MB)&lt;br /&gt;&#xA;DEBUG [Analytics]: Start tracking: http://xp0.sc/form test&lt;br /&gt;&#xA;....&lt;br /&gt;&#xA;DEBUG [Analytics]: Tracker.IsActive == false. EndAnalytics pipeline is terminated&lt;br /&gt;&#xA;DEBUG Tracker is not initialized. ReleaseContact processor is skipped&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I added &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; and Active server roles set &lt;code&gt;standalone&lt;/code&gt;. Also, rebuilt Reporting database.&lt;/p&gt;&#xA;&lt;p&gt;Do you have any idea where I need to check?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;============ Update 1 ============&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I can see new contact information in &lt;code&gt;MyLocal_Xdb.Collection.Shard0&lt;/code&gt; database, but nothing in Report DB.&lt;/p&gt;&#xA;&lt;p&gt;Is there problem between?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;============ Update 2 ============&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;In the log file, I can see.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;DEBUG RebuildAgent: Execution started.&lt;br /&gt;&#xA;DEBUG ReportingStorageManager: Processing rebuild.&lt;br /&gt;&#xA;DEBUG ReportingStorageManager: RebuildStatus does not exist or not active yet.&lt;br /&gt;&#xA;DEBUG RebuildAgent: Execution finished.&lt;br /&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="554" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-03-29T14:54:25.557" Title="Report DB is empty - no data being collected" Tags="|xdb|" AnswerCount="4" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="10985" PostTypeId="2" ParentId="10980" CreationDate="2018-03-22T21:34:51.290" Score="1" Body="&lt;p&gt;The &lt;code&gt;sitecore_web_index&lt;/code&gt; holds the searchable index for the &lt;code&gt;web&lt;/code&gt; database. It is the same as the &lt;code&gt;sitecore_master_index&lt;/code&gt;, except that the crawler will use the &lt;code&gt;web&lt;/code&gt; database when it builds the index. This is everything related to the published website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for what it's used for, that will depend on your implementation. If your code implements any searching with the Sitecore ContentSearch API and your site is configured to use Lucene, then all the search API code &lt;em&gt;should&lt;/em&gt; be hitting that Lucene index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for corruption, there are many things that could cause that. To find out you could use the &lt;a href=&quot;https://solr.pl/en/2011/01/17/checkindex-for-the-rescue/&quot; rel=&quot;nofollow noreferrer&quot;&gt;CheckIndex&lt;/a&gt; tool that is available for Lucene. It may give you better indications of what the corruption might be and what is causing it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/search_and_indexing/indexing/search_index_descriptions&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore: Search Index Descriptions&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://soen.ghost.io/a-re-introduction-to-the-contentsearch-api-in-sitecore-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Detailed description of the ContentSearchAPI&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2018-03-22T21:40:45.137" LastActivityDate="2018-03-22T21:40:45.137" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10986" PostTypeId="2" ParentId="10984" CreationDate="2018-03-22T22:52:12.133" Score="5" Body="&lt;p&gt;I'd suggest disabling robot detection if you are on a dev machine:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;setting name=&quot;Analytics.AutoDetectBots&quot; set:value=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;setting name=&quot;Analytics.Robots.IgnoreRobots&quot; set:value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-03-22T22:52:12.133" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10987" PostTypeId="2" ParentId="10978" CreationDate="2018-03-23T00:09:23.110" Score="0" Body="&lt;p&gt;Does your new field values perhaps contain new lines \n or carriage returns \r ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can cause your browser to pick these up as being different to what is in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if so you could try replacing them with spaces or empty strings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string CleanNewLinesTabsAndOtherStuff(this string s)&#xA;{&#xA;  return s.Replace(&quot;\r\n&quot;, &quot; &quot;).Replace(&quot;\r&quot;, &quot; &quot;).Replace(&quot;\n&quot;, &quot; &quot;).Replace(&quot;\t&quot;, &quot; &quot;).Replace('\xA0', '\x20');&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Take a look at Brian Pedersens blog post on this here for more info:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.google.co.uk/amp/s/briancaos.wordpress.com/2012/11/30/sitecore-save-dialog-appears-for-unchanged-content/amp/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.google.co.uk/amp/s/briancaos.wordpress.com/2012/11/30/sitecore-save-dialog-appears-for-unchanged-content/amp/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this isn’t your issue could it potentially be related to versions of items, there is a known bug for this message with regard to version management in 8.1, I’m not sure if it exists in 9 still.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/general/f/16/t/2285&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/general/f/16/t/2285&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="432" LastEditDate="2019-03-04T17:22:12.330" LastActivityDate="2019-03-04T17:22:12.330" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="10988" PostTypeId="2" ParentId="10874" CreationDate="2018-03-23T05:09:18.770" Score="-3" Body="&lt;p&gt;We can use two technologies(SQL and Lucene Search) to achieve the same. We can query Lucene to get the items from search index and then use sql data to sort the items(&lt;em&gt;Note: Here, we need to consider multiple cases including with and without facet based search&lt;/em&gt;).&lt;/p&gt;&#xA;" OwnerUserId="479" LastActivityDate="2018-03-23T05:09:18.770" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10990" PostTypeId="1" CreationDate="2018-03-23T07:10:04.843" Score="6" ViewCount="699" Body="&lt;p&gt;I am aware of the consumption based pricing model of Sitecore &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Licensed based on the amount of visits your site receives&lt;/li&gt;&#xA;&lt;li&gt;No large up-front purchase, but you don’t “own” a license &lt;/li&gt;&#xA;&lt;li&gt;Can be paid for as-you-go &lt;/li&gt;&#xA;&lt;li&gt;One fee covers usage, support, and maintenance&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Based on these lines, I can understand that there would not be additional cost for Sitecore license and it is covered in above pricing model. But still wanted to be confirmed on few queries.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Azure hosting cost would be additional to it?&lt;/li&gt;&#xA;&lt;li&gt;Sitecore consumption based pricing model includes Sitecore license cost?&lt;/li&gt;&#xA;&lt;li&gt;What additional cost might need to consider in estimation?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="312" LastEditDate="2018-04-16T12:50:39.647" LastActivityDate="2018-04-16T12:50:39.647" Title="Sitecore hosting on cloud with consumption based pricing includes Sitecore license cost?" Tags="|azure|licensing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10991" PostTypeId="2" ParentId="10479" CreationDate="2018-03-23T08:09:56.503" Score="0" Body="&lt;p&gt;I just tried and encountered very same issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5vtwc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5vtwc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is the same also for &quot;Shared Layout&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best would be to create ticket to Sitecore Support to sort that out for 1.7 version :).&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-23T08:09:56.503" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10992" PostTypeId="1" AcceptedAnswerId="10998" CreationDate="2018-03-23T09:48:05.963" Score="1" ViewCount="1225" Body="&lt;p&gt;I am trying to install &lt;code&gt;Sitecore Commerce 9.0.1 (Commerce 9 Update 1)&lt;/code&gt; on my local machine and I hit a major block.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While running the &lt;code&gt;.\Deploy-Sitecore-Commerce.ps1&lt;/code&gt; script, I hit the following exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[-----CreateWebsite : ManageCommerceService----]&#xA;  [CreateWebsite]:[Create-Website] SitecoreBizFx&#xA;  Creating and starting the SitecoreBizFx web site&#xA;  Install-SitecoreConfiguration : Parameter 'PhysicalPath' should point to existing path.&#xA;  At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.0\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;  + &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;  + CategoryInfo: NotSpecified: (:) [Write-Error], WriteErrorException&#xA;  + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anybody know what is causing this exception?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3439" LastEditorUserId="2056" LastEditDate="2018-03-23T10:58:55.773" LastActivityDate="2018-03-23T15:07:12.190" Title="Install-SitecoreConfiguration : Parameter 'PhysicalPath' should point to existing path" Tags="|sitecore-commerce|installation|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="10993" PostTypeId="2" ParentId="10992" CreationDate="2018-03-23T10:59:49.147" Score="0" Body="&lt;p&gt;I have run into several issues with paths during installation of Sitecore Commerce 9 Initial Release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tweaked couple of paths so they are not ambiguous or wrong in initial ps1 script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my script which is for Commerce 9 Initial Release but should be more or less same also for Update 1 (use WinMerge to compare ps1 files):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/chorpo/SitecoreCommerce9Installation/blob/master/01-My-Deploy-Sitecore-Commerce.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/chorpo/SitecoreCommerce9Installation/blob/master/01-My-Deploy-Sitecore-Commerce.ps1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Here is also complete guide on how to install Sitecore Commerce 9 initial release:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://tothecore.sk/2018/02/07/installing-sitecore-experience-commerce-sxc-9-0-initial-release&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/02/07/installing-sitecore-experience-commerce-sxc-9-0-initial-release&lt;/a&gt;. Should be very similar.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-23T12:47:20.623" LastActivityDate="2018-03-23T12:47:20.623" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10995" PostTypeId="1" AcceptedAnswerId="11004" CreationDate="2018-03-23T13:57:57.617" Score="4" ViewCount="404" Body="&lt;p&gt;If the workload of a minion takes longer time than it's WakeupInterval, in order to avoid getting a second copy of the same minion processing the same list, is there a way to know if there is a previous process (from last time the minion got invoked) is still running so the first one can skip this wakeup?&lt;/p&gt;&#xA;" OwnerUserId="3366" LastEditorUserId="1173" LastEditDate="2018-03-24T10:54:50.663" LastActivityDate="2019-04-17T23:21:41.577" Title="Unintentional parallel minions" Tags="|best-practices|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="10996" PostTypeId="2" ParentId="9015" CreationDate="2018-03-23T14:24:32.860" Score="-1" Body="&lt;p&gt;We have run into same problems last year when working with Sitecore Commerce  8.2.1 when we logged into Windows with non-admin account.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Root cause of this problem is with access rights that are defined using &lt;a href=&quot;https://www.c-sharpcorner.com/UploadFile/25c78a/use-authorization-manager-azman-for-managing-roles-and-per/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Authorization Manager (AzMan)&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Commerce Server Catalog Manager accesses the Commerce Server Catalog Web services using Windows Authentication. Therefore when you start Sitecore Commerce Catalog Manager it accesses the Web services with the user account you are currently logged into Windows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is working in browser just fine as the interface uses CSFndRuntimeUser to access webservices.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add your local Windows/domain user using Authorization Manager, to the CatalogAuthorizationStore.xml file that's in the Catalog webservices folder as an administrator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even though &lt;a href=&quot;https://blogs.msdn.microsoft.com/maxakbar/2006/10/15/simplifying-authorization-management-of-commerce-server-web-services/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; was written in 2006 it really helped us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Steps to follow to fix your problems:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open Authorization Manager (Run azman.msc from command prompt)&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open &quot;CatalogAuthorizationStore.xml&quot; file by right clicking on  &quot;Authorization Manager&quot; root and clicking on &quot;Open Authorization Store...&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dYUvh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dYUvh.png&quot; alt=&quot;azman&quot;&gt;&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In next dialog, select &quot;XML file&quot; as store type and click &quot;Browse&quot; button. Navigate to folder where you have installed Commerce Server Catalog Web Services. For us it was &quot;C:\inetpub\CSServices\CFSolutionStorefrontsite_CatalogWebService&quot;:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Accpy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Accpy.png&quot; alt=&quot;azman selecting xml file&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Select &quot;CatalogAuthorizationStore.xml&quot; file.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the tree on the left, navigate to &lt;strong&gt;CatalogAuthorizationStore.xml &gt; CatalogandInventorySystem &gt; Role Assignments &gt; Administrator&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Right click on &quot;Administrator&quot; and select &quot;Assign Users and Groups&quot; and then &quot;From Windows and Active Directory&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jmBEz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jmBEz.png&quot; alt=&quot;azman administrator&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;7&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Choose your user and you are good to go&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Restart machine (just to be sure :-)) Can't recall whether this was mandatory or not.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-03-23T14:24:32.860" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10998" PostTypeId="2" ParentId="10992" CreationDate="2018-03-23T15:07:12.190" Score="1" Body="&lt;p&gt;This error appear when you don't unzip BizFix and you don't have the right path on SitecoreBizFxServicesContentPath param.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O3HTB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O3HTB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your Deploy-Sitecore-Commerce.ps1 will look like : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$params = @{&#xA;        Path = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json' &#xA;        SiteName = $SiteName&#xA;        SiteHostHeaderName = $SiteHostHeaderName &#xA;        InstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$SiteName&quot;&#xA;        XConnectInstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$($SiteName)_xconnect&quot;&#xA;        CertificateName = $SiteName&#xA;        CommerceServicesDbServer = &quot;.&quot;&#xA;        CommerceServicesDbName = &quot;SitecoreCommerce9_SharedEnvironments&quot;&#xA;        CommerceServicesGlobalDbName = &quot;SitecoreCommerce9_Global&quot;       &#xA;        SitecoreDbServer = $($Env:COMPUTERNAME)&#xA;        SitecoreCoreDbName = &quot;$($SqlDbPrefix)_Core&quot;&#xA;        CommerceSearchProvider = $CommerceSearchProvider&#xA;        SolrUrl = &quot;https://localhost:8983/solr&quot;&#xA;        SolrRoot = &quot;c:\\SOLR\\solr-6.6.2&quot;&#xA;        SolrService = &quot;Solr&quot;&#xA;        SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SolrSchemas&quot; )&#xA;        SearchIndexPrefix = &quot;commercedemo&quot;&#xA;        AzureSearchServiceName = &quot;&quot;&#xA;        AzureSearchAdminKey = &quot;&quot;&#xA;        AzureSearchQueryKey = &quot;&quot;&#xA;        CommerceEngineDacPac = &quot;C:\\Deploy2\\Database\\Sitecore.Commerce.Engine.DB.dacpac&quot;     &#xA;        CommerceOpsServicesPort = &quot;5015&quot;&#xA;        CommerceShopsServicesPort = &quot;5005&quot;&#xA;        CommerceAuthoringServicesPort = &quot;5000&quot;&#xA;        CommerceMinionsServicesPort = &quot;5010&quot;        &#xA;        SitecoreCommerceEngineZipPath = &quot;C:\\Deploy2\\Sitecore.Commerce.Engine.2.0.1922.zip&quot;        &#xA;        SitecoreBizFxServicesContentPath = &quot;c:\Deploy2\bizfix\&quot;     &#xA;        SitecoreIdentityServerZipPath = &quot;C:\\Deploy2\\Sitecore.IdentityServer.1.0.65.zip&quot;&#xA;        CommerceEngineCertificatePath = &quot;C:\\Deploy2\\commercedemo.crt&quot;     &#xA;        SiteUtilitiesSrc = &quot;c:\\Deploy2\\sif commerce\\SiteUtilityPages&quot;    &#xA;        HabitatImagesModuleFullPath = &quot;c:\\deploy2\\Sitecore.Commerce.Habitat.Images-1.0.0.zip&quot; &#xA;        AdvImagesModuleFullPath = &quot;c:\\deploy2\\Adventure Works Images.zip&quot; &#xA;        CommerceConnectModuleFullPath = &quot;c:\\deploy2\\Sitecore Commerce Connect Core 11.0.192.zip&quot;  &#xA;        CEConnectPackageFullPath = &quot;c:\\deploy2\\Sitecore.Commerce.Engine.Connect.2.0.835.update&quot;&#xA;        PowerShellExtensionsModuleFullPath = &quot;c:\\deploy2\\Sitecore PowerShell Extensions-4.7 for Sitecore 8.zip&quot;&#xA;        SXAModuleFullPath = &quot;c:\\deploy2\\Sitecore Experience Accelerator 1.6 rev. 180103 for 9.0.zip&quot;&#xA;        SXACommerceModuleFullPath = &quot;c:\\deploy2\\Sitecore Commerce Experience Accelerator 1.0.2184.zip&quot;&#xA;        SXAStorefrontModuleFullPath = &quot;c:\\deploy2\\Sitecore Commerce Experience Accelerator Storefront 1.0.2184.zip&quot;&#xA;        SXAStorefrontThemeModuleFullPath = &quot;c:\\deploy2\\Sitecore Commerce Experience Accelerator Storefront Themes 1.0.2184.zip&quot;&#xA;        SXAStorefrontCatalogModuleFullPath = &quot;c:\\deploy2\\Sitecore Commerce Experience Accelerator Habitat Catalog 1.0.2184.zip&quot;&#xA;        MergeToolFullPath = &quot;C:\deploy2\\Microsoft.Web.XmlTransform.dll&quot;&#xA;        UserAccount = @{&#xA;            Domain = $Env:COMPUTERNAME&#xA;            UserName = 'CommerceUser'&#xA;            Password = 'Pu8azaCr'&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-03-23T15:07:12.190" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="10999" PostTypeId="2" ParentId="10984" CreationDate="2018-03-23T16:18:15.160" Score="3" Body="&lt;p&gt;By default experience profile shows only known contacts. But to show anonymous visitors you have to enable anonymous contacts from xconnect setting and rebuild indexing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-anonymous-contact-indexing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-anonymous-contact-indexing.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="3378" LastEditDate="2018-03-29T07:42:09.787" LastActivityDate="2018-03-29T07:42:09.787" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11000" PostTypeId="1" CreationDate="2018-03-23T16:43:43.737" Score="4" ViewCount="454" Body="&lt;p&gt;I'm building a component that, among other fields, contains &quot;title&quot; and &quot;text&quot; fields. The business logic is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If both fields are empty, that is OK&lt;/li&gt;&#xA;&lt;li&gt;If both fields are populated, that is OK&lt;/li&gt;&#xA;&lt;li&gt;If one field is populated, but the other isn't it is NOT OK&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The request is that this show up as &lt;strong&gt;&lt;em&gt;field validation&lt;/em&gt;&lt;/strong&gt; errors. I know I can write this complex logic using item validators, but item validators won't show errors in experience editor for the page because the item is a component, hence the request for field validators.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to build a field validator that checks the value of another field on the item? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some pretty good suggestions were listed in the comments below. At the end of the day, we ended up making this into a controller rendering and handling validation logic in there. We additionally put an &lt;em&gt;item&lt;/em&gt; validator on the component itself to prevent it from going through workflow.&lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="4" LastEditDate="2018-03-27T13:24:36.253" LastActivityDate="2018-03-27T13:24:36.253" Title="Apply field validations across fields" Tags="|validation|custom-field|" AnswerCount="0" CommentCount="5" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11001" PostTypeId="2" ParentId="10479" CreationDate="2018-03-23T19:04:02.733" Score="2" Body="&lt;p&gt;The SXA team is now aware of this. Unfortunately, we don't have enough time to fix it in 1.7. We'll handle it in 1.8. For now, please can add placeholder settings by other means.&lt;/p&gt;&#xA;" OwnerUserId="202" LastActivityDate="2018-03-23T19:04:02.733" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11002" PostTypeId="2" ParentId="10990" CreationDate="2018-03-23T21:03:47.327" Score="4" Body="&lt;p&gt;Sitecore licensing is a separate cost from Azure usage costs. At its most basic, one bill pays Sitecore and one bill pays Microsoft.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Consumption-based licensing (also known as subscription licensing) is just another model for buying your license, but there are many different possible costs that could be involved here. For example, you might license only the basic XM (CMS-only), but if you want the whole Experience Platform (XP) or Experience Commerce (XC) that would be additional. Make sure when discussing your licensing procurement with your sales rep that you get the quote for the parts of the platform you need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition to licensing and Azure usage costs, you should think about what you need from a non-production environment, and also what you need from a hosting/deployment/development perspective. You can do all the infrastructure management and deployments and development yourself, or you can choose a partner to work with to manage some or all of that for you. That would be an additional cost to consider in terms of how much responsibility you want in-house and how much you want to delegate.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-03-23T21:03:47.327" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11004" PostTypeId="2" ParentId="10995" CreationDate="2018-03-24T07:02:17.600" Score="4" Body="&lt;p&gt;&lt;strong&gt;Update 2019-04&lt;/strong&gt; - Commerce 9.1 resolves the reentrancy problems, just override &lt;code&gt;Minion.Execute&lt;/code&gt; instead of &lt;code&gt;Minion.Run&lt;/code&gt;. For a deep dive into the changes, I've written up an article &lt;a href=&quot;https://blog.richardszalay.com/2019/04/17/minion-reentry-improvements-in-sitecore-commerce-9-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Reentrancy improvements to Minions in Sitecore Commerce 9.1&#xA;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Original answer (Commerce 9.0):&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First up, I consider the current behavior a bug since it directly conflicts with minions' primary usecase which is to process items from a queue. As such, I expect to it be fixed in a future version of Commerce so you might want to go with option 2 below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said that, there are two ways you can go about solving this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(note: all code is theoretical and untested - let me know if you run into any issues)&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Option 1: Skip reentrant calls&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This isn't difficult to implement naively, and since minions will typically wait a certain amount of time before restarting you shouldn't have to worry about multithreaded access. Having said that, minions without a WakeupInterval run the risk of complicating this situation if their execution is delayed by the OS (or TPL).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to deal with potential threading issues, the typical avenues are mostly off limits since &lt;code&gt;locks&lt;/code&gt; are per thread and minions are started using &lt;code&gt;Task.Run&lt;/code&gt; with &lt;code&gt;ConfigureAwait(false)&lt;/code&gt; so awaits will almost certainly complete on a different thread than they started on. There are libraries that can handle this, but that seems overkill for this one-off usage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With all that in mind, here's a base class that uses &lt;code&gt;Interlocked.CompareExchange&lt;/code&gt; to safely skip reentrant calls:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public abstract class NonReentrantMinion&#xA;{&#xA;    private int isRunning = 0;&#xA;&#xA;    public abstract Task&amp;lt;MinionRunResultsModel&amp;gt; SafeRun();&#xA;&#xA;    public override async Task&amp;lt;MinionRunResultsModel&amp;gt; Run()&#xA;    {&#xA;        if (Interlocked.CompareExchange(ref isRunning, 1, 0) != 0)&#xA;        {&#xA;            // Log skipped invocation&#xA;            return;&#xA;        }&#xA;&#xA;        try&#xA;        {&#xA;            return await SafeRun();&#xA;        }&#xA;        finally&#xA;        {&#xA;            isRunning = 0;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NOTE: &lt;code&gt;isRunning&lt;/code&gt; is intentionally non-static since Minions are singletons per Policy, which is likely inline with how you'd want the reentrancy to work.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Option 2: Queue the WakeupInterval delay&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Since most minions continue to drain their managed list until it's empty, making it essentially pointless to invoke it again immediately afterwards, I consider this option to be the &quot;fix &lt;code&gt;Minion.Start&lt;/code&gt;&quot; approach.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public abstract class SerialMinion&#xA;{&#xA;    public override void Start()&#xA;    {&#xA;        Task.Run(async () =&amp;gt; &#xA;        {&#xA;            while (true)&#xA;            {&#xA;                try&#xA;                {&#xA;                    await this.Run();&#xA;                }&#xA;                catch&#xA;                {&#xA;                    // Prevent exceptions from breaking the loop&#xA;                    // (not logged since the base implementation doesn't either)&#xA;                }&#xA;&#xA;                if (this.Policy.WakeupInterval.HasValue)&#xA;                {&#xA;                    await Task.Delay(this.Policy.WakeupInterval.Value);&#xA;                }&#xA;            }&#xA;        }).ConfigureAwait(false);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2019-04-17T23:21:41.577" LastActivityDate="2019-04-17T23:21:41.577" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11006" PostTypeId="1" CreationDate="2018-03-24T16:00:44.257" Score="1" ViewCount="909" Body="&lt;p&gt;In my content delivery instance I have user information that is used in multiple &lt;em&gt;componentized&lt;/em&gt; view renderings, which is sourced from  REST services (some of this I want to pre-fill, some will be done via AJAX calls).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was attempting to write a Sitecore pipeline processor which validates that the user is authenticated - then uses their authentication token to pre-load some of that information so it's available in the User Profile (or in Session).  &lt;em&gt;My idea was eventually to make some of this basic information available for the content editors to add via personalization rules and tokens.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried patching it at the end of &lt;strong&gt;httpBeginRequest&lt;/strong&gt; - but this appears to only fire for the initial request (the processor does not fire hitting refresh on the page).  Is this a caching issue or because it's a singleton. I did add &lt;strong&gt;reusable=&quot;false&quot;&lt;/strong&gt; to my patching config but this does not appear to make a difference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note - I also looked at &lt;strong&gt;httpRequestProcessed&lt;/strong&gt; - but this appears to fire AFTER the page has already rendered - which I think would make it useless for what I'm trying to do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also - feel free to suggest I'm just not using the pipeline appropriately :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Processor skeleton...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class ServiceCachingProcessor : HttpRequestProcessor&#xA;{&#xA;&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;&#xA;&#xA;        try&#xA;        {&#xA;            if (!Sitecore.Context.User.IsAuthenticated || Sitecore.Context.User.Identity == null)&#xA;            {&#xA;                Log.Warn(&quot;User not authenticated / Identity unavailable&quot;, this);&#xA;                return;&#xA;            }&#xA;&#xA;            var identity = Sitecore.Context.User.Identity as ClaimsIdentity;&#xA;            var tokenClaim = identity.Claims.First(x =&amp;gt; x.Type.Contains(&quot;OAuthToken&quot;));&#xA;&#xA;            /// use token to pull service information if session empty&#xA;            if(Session[cachedInfo] == null) {&#xA;            ...&#xA;            }&#xA;&#xA;&#xA;        } catch (Exception ex) {&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1514" LastEditorUserId="1514" LastEditDate="2018-03-25T11:43:21.307" LastActivityDate="2018-03-25T11:43:21.307" Title="Sitecore 9 httpBeginRequest pipeline reuse?" Tags="|best-practices|pipelines|session-state|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11007" PostTypeId="1" CreationDate="2018-03-24T19:55:01.140" Score="2" ViewCount="138" Body="&lt;p&gt;Is there any out-of-the-box way in Sitecore 9 for content authors to access the sitecore user profile information and put it INTO the content fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, in the experience editor - could a author add something to a string field like &lt;code&gt;Welcome {Profile.FullName}!&lt;/code&gt; .  I have seen some third party libraries for 8.x that seem to offer the ability to create your own tokens -- is this still the only applicable way?  Will these work with the content items?&lt;/p&gt;&#xA;" OwnerUserId="1514" LastActivityDate="2018-03-25T13:23:13.047" Title="Sitecore 9 - Authors accessing profile information for content items" Tags="|content-editor|content-management|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11009" PostTypeId="1" AcceptedAnswerId="11011" CreationDate="2018-03-25T12:37:28.463" Score="1" ViewCount="2777" Body="&lt;p&gt;I created a custom rendering in SXA 1.4, I created a new JavaScript file for that component and I'm trying to added it to to be rendered in the public site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do that for the entire site or for a single page where the components is used?&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-03-29T08:56:20.557" Title="Adding custom javascript for a custom rendering in SXA" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11010" PostTypeId="2" ParentId="11007" CreationDate="2018-03-25T13:23:13.047" Score="2" Body="&lt;p&gt;In Sitecore 9 you need to customize a bit to replace customtokens with User Name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In next example you will replace $user with the name of the user &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First off all you need to extend MasterVariablesReplacer: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomMasterVariablesReplacer: MasterVariablesReplacer&#xA;    {&#xA;        protected override string ReplaceValues(string text, Func&amp;lt;string&amp;gt; defaultName, Func&amp;lt;string&amp;gt; defaultId, Func&amp;lt;string&amp;gt; defaultParentName, Func&amp;lt;string&amp;gt; defaultParentId)&#xA;        {&#xA;            if (text.Length == 0 || text.IndexOf('$') &amp;lt; 0)&#xA;                return text;&#xA;            ReplacerContext context = this.GetContext();&#xA;            if (context != null)&#xA;            {&#xA;                foreach (KeyValuePair&amp;lt;string, string&amp;gt; keyValuePair in (SafeDictionary&amp;lt;string, string&amp;gt;)context.Values)&#xA;                    text = text.Replace(keyValuePair.Key, keyValuePair.Value);&#xA;            }&#xA;            text = this.ReplaceWithDefault(text, &quot;$name&quot;, defaultName, context);&#xA;            text = this.ReplaceWithDefault(text, &quot;$id&quot;, defaultId, context);&#xA;            text = this.ReplaceWithDefault(text, &quot;$parentid&quot;, defaultParentId, context);&#xA;            text = this.ReplaceWithDefault(text, &quot;$parentname&quot;, defaultParentName, context);&#xA;            text = this.ReplaceWithDefault(text, &quot;$date&quot;, (Func&amp;lt;string&amp;gt;)(() =&amp;gt; DateUtil.IsoNowDate), context);&#xA;            text = this.ReplaceWithDefault(text, &quot;$time&quot;, (Func&amp;lt;string&amp;gt;)(() =&amp;gt; DateUtil.IsoNowTime), context);&#xA;            text = this.ReplaceWithDefault(text, &quot;$now&quot;, (Func&amp;lt;string&amp;gt;)(() =&amp;gt; DateUtil.IsoNow), context);&#xA;            text = this.ReplaceWithDefault(text, &quot;$user&quot;, (Func&amp;lt;string&amp;gt;)(() =&amp;gt; Sitecore.Context.User.Name), context);&#xA;            return text;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to register new master variable replacer in a config file : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot;&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;    &amp;lt;setting name=&quot;MasterVariablesReplacer&quot; value=&quot;YourNamespace.CustomMasterVariablesReplacer,YourDll&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-03-25T13:23:13.047" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11011" PostTypeId="2" ParentId="11009" CreationDate="2018-03-25T13:30:33.853" Score="3" Body="&lt;p&gt;This is part of the standard setup for SXA themes. Sitecore outlines theme creation &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/themes/the_sxa_themes&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. Simply add the script to the theme found in the media library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for page specific, this &lt;a href=&quot;https://sitecore.stackexchange.com/q/9403/95&quot;&gt;question&lt;/a&gt; on SSE may give you the solution you need.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-03-25T13:30:33.853" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11012" PostTypeId="1" CreationDate="2018-03-26T01:47:27.877" Score="5" ViewCount="547" Body="&lt;p&gt;I'm wanting to add some JavaScript to the bottom of every page, but I don't want to add it to the layout(s), so I'd like a way of doing it with a pipeline (or similar).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried a few of the MVC pipelines, and within there I've used Sitecore.Context.ClientPage.ClientScript.RegisterClientScriptBlock().  The code runs with no errors, but the page never has the script added.  Perhaps it's a timing thing with the order of the pipelines, I don't know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone had any luck with doing this sort of thing before?  How can it be done?&lt;/p&gt;&#xA;" OwnerUserId="1490" LastEditorUserId="312" LastEditDate="2018-06-25T07:30:04.543" LastActivityDate="2018-06-25T07:30:04.543" Title="How do I add some JavaScript at the bottom of every layout using a pipeline?" Tags="|pipelines|javascript|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11013" PostTypeId="1" AcceptedAnswerId="11014" CreationDate="2018-03-26T06:40:38.973" Score="0" ViewCount="186" Body="&lt;p&gt;We have a following structure : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;master:/content/market1/myfolder&#xA;master:/content/market2/myfolder&#xA;master:/content/market3/myfolder&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to add renderings for all items within &quot;myfolder&quot; and also for all markets using PowerShell script (there is like 15 items in myfolder and also like 20 markets, so nobody wants to do it manually).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am pretty new here. Did someone experienced something like this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you very much.&lt;/p&gt;&#xA;" OwnerUserId="3449" LastEditorUserId="2056" LastEditDate="2018-03-26T07:19:34.350" LastActivityDate="2018-03-26T10:32:34.273" Title="Add renderings for all specific folder items using PS" Tags="|sitecore-query|powershell|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="11014" PostTypeId="2" ParentId="11013" CreationDate="2018-03-26T10:32:34.273" Score="3" Body="&lt;p&gt;You can use the below script to add rendering to the items.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$containerArray = @(&quot;{Sitecore Id goes here}&quot;,&quot;{Sitecore Id goes here}&quot;,&quot;{Sitecore Id goes here}&quot;)&#xA;&#xA;foreach ($element in $containerArray){&#xA;    $items = Get-ChildItem -ID $element.ID -Language &quot;en&quot;&#xA;&#xA;    $addedRendering = Get-Item &quot;master:path to your rendering goes here&quot; | New-Rendering -Placeholder &quot;contentMain&quot; &#xA;&#xA;    foreach($item in $items){&#xA;        Write-Host &quot;Processing item: &quot; $item.Name&#xA;        Add-Rendering -Item $item -PlaceHolder &quot;contentMain&quot; -Rendering $renderingItem&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Replace the &lt;code&gt;{Sitecore Id goes here}&lt;/code&gt; with the Id of the containers.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can change the language if required.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You need to specify the name of the placeholder so that it knows where to add the rendering.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-03-26T10:32:34.273" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11015" PostTypeId="1" AcceptedAnswerId="11017" CreationDate="2018-03-26T10:33:32.693" Score="0" ViewCount="770" Body="&lt;p&gt;I am trying to use an &lt;a href=&quot;https://github.com/adoprog/Sitecore-Deployment-Helpers/blob/master/Publish.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;ASPX page&lt;/a&gt; to publish my master database to the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page contains this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishManager.Republish(Sitecore.Client.ContentDatabase, new Database[] { web }, LanguageManager.GetLanguages(master).ToArray(), Sitecore.Context.Language);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;At compile time, an error is thrown saying:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Compiler Error Message: CS0434: The namespace 'Sitecore.Client' in '...\Sitecore.Client.LicenseOptions.DLL' conflicts with the type 'Sitecore.Client' in '...\Sitecore.Kernel.DLL'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And later in the error, there is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Publish.aspx(27,56): error CS0234: The type or namespace name 'ContentDatabase' does not exist in the namespace 'Sitecore.Client' (are you missing an assembly reference?)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I know that the Sitecore.Kernel assembly contains the property used in the code above:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore&#xA;{&#xA;    public static Database ContentDatabase&#xA;    {&#xA;        get&#xA;        {&#xA;            ...&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have looked online and tried a few things that did not help:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add the Sitecore.Kernel assembly in a web.config file. Maybe I did not add it the correct way. I do not know.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Change the above code to specifically tell the compiler I want the &quot;Client&quot; static class reference with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var sitecoreClient = Sitecore.Client;&#xA;PublishManager.Republish(sitecoreClient.ContentDatabase, new Database[] { web }, LanguageManager.GetLanguages(master).ToArray(), Sitecore.Context.Language);&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add a namespace reference to &quot;Sitecore&quot;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Import Namespace=&quot;Sitecore&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am out of ideas and I do not understand how to resolve this error. I am reaching for your help. How would you solve this conflict?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2018-03-26T10:57:01.073" Title="How to resolve Sitecore.Client conflict on Sitecore 8.2 Update-5" Tags="|publishing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11016" PostTypeId="1" CreationDate="2018-03-26T10:41:47.383" Score="3" ViewCount="217" Body="&lt;p&gt;Dear Sitecore Community,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm working on a Sitecore 9 solution where we want to start a eCommerce project using Sitecore Experience Commerce 9. Therefore I want to install the Sitecore XC 9 components on a dedicated server for our development environment (to have a shared XC9 instance for the developers).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sadly, every installation guide I found uses the Sitecore Install Framework (SIF), which expects a local Sitecore installation on the server. But as this server should hold only the XC9 components, I don't want a local installation. I also don't need the Storefront example packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked some of the installation scripts of the SIF and noticed, that some of the installed services (CommerceAuthoring, CommerceMinions, CommerceOps and CommerceShops) use the same application just with different bindings. Would it be possible, to install just one of them and use it for all the different purposes? As it is a development machine, performance is not the important.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a documentation of the XC9, where I can see how a &lt;strong&gt;minimal&lt;/strong&gt; XC9 installation could look like? In my opinion, the SIF script installs a lot of components, that are not absolutely necessary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or maybe I'm taking a wrong approach here. Any help is appreciated. Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1282" LastEditorUserId="1282" LastEditDate="2018-03-27T08:32:11.400" LastActivityDate="2018-10-03T07:45:04.920" Title="How to setup a simple standalone XC9 instance?" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11017" PostTypeId="2" ParentId="11015" CreationDate="2018-03-26T10:57:01.073" Score="3" Body="&lt;p&gt;Since you are publishing from &lt;code&gt;master&lt;/code&gt; to &lt;code&gt;web&lt;/code&gt;, instead of using the ContentDatabase you can use master database directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the code you shared:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Page_Load(object sender, EventArgs e)&#xA;{&#xA;  Sitecore.Context.SetActiveSite(&quot;shell&quot;);&#xA;  using (new SecurityDisabler())&#xA;  {&#xA;      DateTime publishDate = DateTime.Now;&#xA;      Sitecore.Data.Database master = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;      Sitecore.Data.Database web = Sitecore.Configuration.Factory.GetDatabase(&quot;web&quot;);&#xA;      PublishManager.Republish(Sitecore.Client.ContentDatabase, new Database[] { web }, LanguageManager.GetLanguages(master).ToArray(), Sitecore.Context.Language);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just change the line for Republish Method to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishManager.Republish(master, new Database[] { web }, LanguageManager.GetLanguages(master).ToArray(), Sitecore.Context.Language);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-03-26T10:57:01.073" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11018" PostTypeId="1" AcceptedAnswerId="11052" CreationDate="2018-03-26T11:06:41.640" Score="0" ViewCount="1886" Body="&lt;p&gt;Installed TDS CLASSIC 5.7 on local machine for VS 2017 and VS 2015. I've tried to create TDS project. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is giving error as shown below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;*.scproj cannot be opened because its project type (.scproj) is not&#xA;  supported by this version of the application&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pHgmi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pHgmi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you suggest where is the problem?&lt;/p&gt;&#xA;" OwnerUserId="3450" LastEditorUserId="2056" LastEditDate="2018-03-26T12:05:55.110" LastActivityDate="2018-03-28T07:02:27.810" Title="Unable to create a TDS project in VS 2015/2017" Tags="|tds|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11019" PostTypeId="1" CreationDate="2018-03-26T11:53:17.353" Score="1" ViewCount="422" Body="&lt;p&gt;I am using Sitecore 9.0.1 with SXA components.&#xA;I have checked the SXA out of the box components for search functionality. For date fields, we have date range by which we can filter items in a specific date range value. &#xA;There is a filter dropdown also, which works only n integer facets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Can we have a date field in a template and then filter the items by year?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example, we have below date fields in item values:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;12th January 2016&lt;/li&gt;&#xA;&lt;li&gt;18th May 2015&lt;/li&gt;&#xA;&lt;li&gt;31st March 2015&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In search field dropdown, we will have 2 options as 2016 and 2015.&#xA;On select of 2015, it will display the 2nd and 3rd item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am pretty new to Sitecore and SXA, any links or references will be much helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance :) &lt;/p&gt;&#xA;" OwnerUserId="3451" LastEditorUserId="2056" LastEditDate="2018-03-26T12:59:35.477" LastActivityDate="2018-03-26T12:59:35.477" Title="Search filter for Year on a date field in template" Tags="|sxa|sitecore-client|sitecore-query|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11024" PostTypeId="1" CreationDate="2018-03-26T20:41:27.967" Score="2" ViewCount="688" Body="&lt;p&gt;I'm putting together unit tests for item resolver running under httpRequest pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the test is checking if the item is properly resolved using display name with asian characters (Japanese).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The test looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Test]&#xA;public void GetItem_UrlItem_DisplayName_Asian_ShouldSetContextItem()&#xA;{&#xA;    using (var db = new Db {&#xA;            new DbItem(&quot;Home&quot;) {&#xA;                new DbField(&quot;Title&quot;)&#xA;                {&#xA;                    { &quot;en&quot;, 1, &quot;Welcome!&quot; }&#xA;&#xA;                }, new DbField(Sitecore.FieldIDs.DisplayName)&#xA;                {&#xA;                    { &quot;en&quot;, 1, &quot;ホーム&quot; }&#xA;&#xA;                }&#xA;            }&#xA;    })&#xA;    {&#xA;&#xA;&#xA;        Sitecore.Context.Item = null;&#xA;&#xA;        var request = CreateHttpRequestArgs(&quot;http://mywebsite/sitecore/content/ホーム&quot;);&#xA;        var homeItem = db.GetItem(&quot;/sitecore/content/Home&quot;);&#xA;&#xA;        _itemResolver.Process(request);&#xA;&#xA;        Sitecore.Context.Item.Should().Be(homeItem);&#xA;&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For setting up &lt;code&gt;HttpRequestArgs&lt;/code&gt; I'm using method described by jwsadler in his blog post: &lt;a href=&quot;http://blog.jwsadler.guru/2016/01/sitecore-fakedb-and-real-world-testing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.jwsadler.guru/2016/01/sitecore-fakedb-and-real-world-testing.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private HttpRequestArgs CreateHttpRequestArgs(string url)&#xA;    {&#xA;        _httpResponseBuilder = new StringBuilder();&#xA;&#xA;        var response = new HttpResponse(new StringWriter(_httpResponseBuilder));&#xA;        var httpRequest = new System.Web.HttpRequest(&quot;&quot;, url, &quot;&quot;);&#xA;&#xA;&#xA;        var httpContext = new HttpContext(httpRequest, response);&#xA;        var request =&#xA;            new HttpRequestArgs(&#xA;                httpContext, HttpRequestType.End);&#xA;&#xA;        var dynMethod = request.GetType().GetMethod(&quot;Initialize&quot;, BindingFlags.NonPublic | BindingFlags.Instance);&#xA;        dynMethod.Invoke(request, null);&#xA;        return request;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem I'm facing is that when the HttpRequest is created with URL: &lt;code&gt;http://mywebsite/sitecore/content/ホーム&lt;/code&gt;, &lt;code&gt;ConfigurationPath&lt;/code&gt; on HttpContext, path looks like this: &lt;code&gt;/sitecore/content/%E3%83%9B%E3%83%BC%E3%83%A0&lt;/code&gt; and when it comes to comparing the display names, it's obviously not matching ホーム.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I run the code on live instance and access the same URL, debug and inspect the HttpContext, &lt;code&gt;ConfigurationPath&lt;/code&gt; is not encoded (or is already decoded?), looks like this: &lt;code&gt;/sitecore/content/ホーム&lt;/code&gt; and code works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to workaround the encoding on the URL while creating HTTP context for unit testing?&lt;/p&gt;&#xA;" OwnerUserId="1329" LastActivityDate="2018-03-30T10:59:57.663" Title="URL encoding in HttpRequestArgs while unit testing" Tags="|pipelines|unit-testing|fakedb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11026" PostTypeId="2" ParentId="10984" CreationDate="2018-03-27T03:35:19.247" Score="1" Body="&lt;p&gt;It does sound like there is a problem with your aggregation tasks.  Is this a clean 9 (9.0.1?) install or an upgrade?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As noted in a previous answer, don't expect to see anything in Experience profile until you have identified some contacts. However I believe, you should still see data flow through in Experience Analytics &amp;amp; Path Analyzer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Worth checking:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Marketing Definitions are deployed properly. Check your Solr instance by viewing Core Admin and ensuring the marketing definition indexes have documents populated. If not, redeploy your marketing definitions from the sitecore control panel and rebuild your indexes.  Check the logs to make sure both of these processes don't fail in certain places.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There are no errors when the aggregation tasks are running (but I'm sure you would've seen that in logs already). I've seen in some migrations that the SQL user was not set correctly and needed to be manually fixed.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check your path analyzer tree definitions etc are fully deployed in  /sitecore/admin/pathanalyzer.aspx. They may need a rebuild too.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Rebuild your links databases before redeploying marketing definitions ;)  As mentioned in the following answer, sometimes they do not appear to deploy properly if the links database is not up to date. &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/9617/experience-analytics-are-not-showing-online-interactions/9726#9726&quot;&gt;Experience Analytics are not showing Online Interactions&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2673" LastEditorUserId="2673" LastEditDate="2018-03-27T04:27:09.697" LastActivityDate="2018-03-27T04:27:09.697" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11027" PostTypeId="2" ParentId="11012" CreationDate="2018-03-27T04:51:33.083" Score="1" Body="&lt;h2&gt;Short answer:&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Yes, it can be done via &lt;strong&gt;mvc.getPageRendering&lt;/strong&gt; with some additional processors.&lt;/li&gt;&#xA;&lt;li&gt;But where is the code? It's from &lt;a href=&quot;https://github.com/Sitecore/Habitat&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat at github&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;The detail is:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Habitat has implemented this requirement, you can take a view of &lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/master/src/Foundation/Assets/code&quot; rel=&quot;nofollow noreferrer&quot;&gt;Assets module in Foundation layer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Configure Pipeline's processors&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;They added a couple of additional processors into &lt;strong&gt;mvc.getPageRendering&lt;/strong&gt; pipeline through &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/App_Config/Include/Foundation/Foundation.Assets.config&quot; rel=&quot;nofollow noreferrer&quot;&gt;Foundation.Assets.config&lt;/a&gt;, e.g. ClearAssets, AddAssets and so on&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The implementation of a processor, for example, &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Pipelines/GetPageRendering/AddAssets.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;AddAssets.cs&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Then, they leave the task of storing assets for &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Repositories/AssetRepository.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;AssetRepository.cs&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Eventually, &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Services/RenderAssetsService.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;RenderAssetsService.cs&lt;/a&gt; is responsible for rendering assets to the view.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;How to use&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;From the module which will be using Foundation.Assets, such as Foundation.Theming (from Habitat), take a look at &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Theming/code/App_Config/Include/Foundation/Foundation.Theming.config&quot; rel=&quot;nofollow noreferrer&quot;&gt;Foundation.Theming.config&lt;/a&gt;, in which they declare the assets which should be rendered when needed.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Assets can be javascript or css which will be files or inline (I have not tried with this).&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Am4Pr.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Am4Pr.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;It's also configured to be rendered for specific or all sites (if you're in multi-sites scenario), because it has been handled in &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Services/RenderAssetsService.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;RenderAssetsService.cs&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/44ItA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/44ItA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;To render, let get &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Project/Habitat/code/Views/Website/Layouts/Default.cshtml&quot; rel=&quot;nofollow noreferrer&quot;&gt;Default.cshtml&lt;/a&gt; from Project/Habitat as our example&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;They can be rendered at Head or Bottom through the lines of code&#xA;&lt;a href=&quot;https://i.stack.imgur.com/f9JnQ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f9JnQ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Hope it's useful&lt;/p&gt;&#xA;" OwnerUserId="1352" LastActivityDate="2018-03-27T04:51:33.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11028" PostTypeId="2" ParentId="11018" CreationDate="2018-03-27T05:01:25.460" Score="0" Body="&lt;p&gt;Normally such issue could be resolved by installing TDS again. Also check the location of the project template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the system requirement section. &lt;a href=&quot;https://hedgehogdevelopment.github.io/tds/chapter2.html#system-requirements&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hedgehogdevelopment.github.io/tds/chapter2.html#system-requirements&lt;/a&gt;. Try with this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which version of visual studio you are using? Is it ultimate or community?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also same issue mentioned in &lt;a href=&quot;https://stackoverflow.com/questions/31526317/cannot-open-scproj-project-in-visual-studio&quot;&gt;https://stackoverflow.com/questions/31526317/cannot-open-scproj-project-in-visual-studio&lt;/a&gt;&#xA;This is for vs 2010.&lt;/p&gt;&#xA;" OwnerUserId="1078" LastEditorUserId="1671" LastEditDate="2018-03-27T15:16:03.363" LastActivityDate="2018-03-27T15:16:03.363" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11029" PostTypeId="2" ParentId="10865" CreationDate="2018-03-27T06:07:42.747" Score="1" Body="&lt;p&gt;From &lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/feature/v9&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat (feature/v9)&lt;/a&gt;, they have powershell scripts to do this job&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/feature/v9/settings.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Settings.ps1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dlbgT.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dlbgT.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/feature/v9/uninstall-xp0.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;uninstall-xp0.ps1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vqsjg.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vqsjg.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;The underline of Remove-SitecoreCertificate function at &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/feature/v9/build/Uninstall/Uninstall.psm1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Uninstall.psm1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YPZnq.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YPZnq.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it's useful.&lt;/p&gt;&#xA;" OwnerUserId="1352" LastActivityDate="2018-03-27T06:07:42.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11030" PostTypeId="2" ParentId="11024" CreationDate="2018-03-27T07:47:49.077" Score="2" Body="&lt;p&gt;I'd suggest not to use FakeDb for (unit) testing such scenario. If I unrerstand your intention correctly, you do not test any logic of &lt;em&gt;your application&lt;/em&gt;. You're trying to test a piece of Sitecore functionality which is a perfect place for an &lt;em&gt;integration test&lt;/em&gt; (e.g. using &lt;a href=&quot;https://www.getpostman.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Postman&lt;/a&gt;). In this particular scenario it could be more robust and unlike unit test it's able to verify the functionality in case of configuration changes.&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2018-03-27T07:47:49.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11031" PostTypeId="1" CreationDate="2018-03-27T10:09:51.493" Score="2" ViewCount="2326" Body="&lt;p&gt;We are facing some issues with Lucene during installation of PowerShell Extensions module (SPE). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is there any option to run Sitecore scripts from Windows PowerShell?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I mean that I will just add some route to PowerShell instance or make some config changes and it can be used similarly as web based PS extension?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Running &lt;code&gt;Sitecore 8.2 Update 5&lt;/code&gt; and tried to install &lt;code&gt;SPE 4.7 for Sitecore 8&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for any advises.&lt;/p&gt;&#xA;" OwnerUserId="3449" LastEditorUserId="1671" LastEditDate="2018-04-04T12:23:37.843" LastActivityDate="2018-04-04T12:23:37.843" Title="Running PowerShell scripts without using Sitecore PowerShell Extensions module" Tags="|powershell-extensions|powershell|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11033" PostTypeId="2" ParentId="11016" CreationDate="2018-03-27T10:44:56.807" Score="4" Body="&lt;p&gt;Currently, Sitecore SIF is the only official way to install XC. You can find installation guide &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default XC package contains XC Engine installation, Commerce Connect, Default Catalog, Demo SXA Storefront, XC Engine extension VS template and some other things. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are free to modify the SIF scripts to install only needed components. So you can safely remove demo SXA site especially if you have already existing non-SXA components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I think it will be better to have XC9 installed locally on each developer machine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some points for this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You will most likely do changes to XC9 engine. So if somebody breaks your XC engine, the whole team will be blocked&lt;/li&gt;&#xA;&lt;li&gt;By default, XC engine needs a connection to Sitecore. For some functionalities, it's not the one-way connection from Sitecore to XC Engine, but from Engine to Sitecore as well. (see ContentPolicySet for configuration). Biztools (XC9 admin interface) requires Sitecore to properly render images.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="139" LastActivityDate="2018-03-27T10:44:56.807" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11034" PostTypeId="1" CreationDate="2018-03-27T12:00:45.947" Score="1" ViewCount="1662" Body="&lt;p&gt;In my project I am using following code to cast items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some time, I came to know there are two way we can cast using SitecoreService and using glass mapper Sitecore Context.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;results.Select(p =&amp;gt; SitecoreContext.Cast&amp;lt;PageModel&amp;gt;(p.GetItem(), false, false)).ToList()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please guide me which is fastest if i am converting more than 50 items&lt;/p&gt;&#xA;" OwnerUserId="1093" LastEditorUserId="605" LastEditDate="2018-03-27T19:40:16.957" LastActivityDate="2018-06-25T22:05:56.507" Title="Casting of SitecoreContext vs SitecoreService Which is fast?" Tags="|glass-mapper|performance-optimization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11035" PostTypeId="1" AcceptedAnswerId="11036" CreationDate="2018-03-27T12:20:45.967" Score="5" ViewCount="786" Body="&lt;p&gt;I've defined a custom pipeline in my &lt;code&gt;ConfigureSitecore&lt;/code&gt;, but when I run the engine I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;InvalidOperationException: Unable to resolve service for type 'Sitecore.Framework.Pipelines.IPipelineConfiguration' while attempting to activate 'CustomPipeline'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;IPipelineConfiguration&lt;/code&gt; is the first argument of the pipeline implementation, and is simply passed to the base constructor, so I'm not sure why it wouldn't be configured in the DI container.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-03-27T12:21:38.760" Title="Unable to resolve service for type 'IPipelineConfiguration' while attempting to activate 'CustomPipeline'" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11036" PostTypeId="2" ParentId="11035" CreationDate="2018-03-27T12:21:38.760" Score="5" Body="&lt;p&gt;The short answer is that the custom pipeline needs to accept the argument as &lt;code&gt;IPipelineConfiguration&amp;lt;ICustomPipelineInterface&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you configure a pipeline via &lt;code&gt;pipelines.AddPipeline&amp;lt;T,K&amp;gt;&lt;/code&gt; or &lt;code&gt;pipelines.ConfigurePipeline&amp;lt;T&amp;gt;&lt;/code&gt;, you're actually configuring a DI-injected service for &lt;code&gt;IPipelineConfiguration&amp;lt;T&amp;gt;&lt;/code&gt;. When the pipeline is created at runtime, it needs the typed service in order to get access to the configured blocks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As to why the base &lt;code&gt;Pipeline&lt;/code&gt; class doesn't accept the generic form of &lt;code&gt;IPipelineConfiguration&lt;/code&gt;: the pipeline interface is not one of the generic type parameters for &lt;code&gt;Pipeline&lt;/code&gt; so it has no reference to it. It could have been added, but my only guess as to why it wasn't is that it would have made declarations of pipeline classes very &quot;wordy&quot;.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-03-27T12:21:38.760" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11037" PostTypeId="1" AcceptedAnswerId="11040" CreationDate="2018-03-27T12:39:07.790" Score="2" ViewCount="1588" Body="&lt;p&gt;I am trying to upgrade &lt;code&gt;Sitecore Commerce 9 Initial Release&lt;/code&gt; to &lt;code&gt;Update 1&lt;/code&gt;.&#xA;One of the steps is to do bootstrap in Postman.&#xA;When I do it, I am getting this exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Status Code: 401; Unauthorized   &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Steps to reproduce:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I have already set &quot;AntiForgeryEnabled&quot; in config.json to false for Authoring and also for DevOps sites &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In Postman, I have disabled &quot;SSL certificate verification&quot; in Settings&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In Sitecore Collection in Postman, I have run GetToken command to get the authorization token&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I run &quot;Bootstrap Sitecore Commerce&quot; under &quot;1 Environment Bootstrap&quot; section of &quot;SitecoreCommerce_DevOps&quot; collection. Habitat Environment is chosen&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How should I make my request for bootstrapping authorized?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What should I specify as SitecoreIdToken in Headers in Authorization key?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vwtTF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vwtTF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-27T13:31:56.927" LastActivityDate="2018-03-28T06:03:55.953" Title="Getting &quot;Status Code: 401; Unauthorized&quot; when bootstraping Sitecore Commerce 9" Tags="|upgrade|sitecore-commerce|commerce-engine|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11038" PostTypeId="1" CreationDate="2018-03-27T13:02:28.767" Score="3" ViewCount="107" Body="&lt;p&gt;I used to have &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4415/protecting-a-qa-site-from-anonymous-access&quot;&gt;Windows Authentication&lt;/a&gt; in-place and works like a charm! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The thing is, now I have a Sitecore 8.2 update 4 (rev. 170614) and &lt;strong&gt;Forms Authentication&lt;/strong&gt; is enabled by default, and whenever I enable Windows Authentication IIS throws a warning&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Challenge-based and login redirect-based authentication cannot be used simultanesously&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CChbi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CChbi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I wonder how would it be possible to protect my Sitecore 8.2 update 4 from anonymous access and to avoid being indexed by search engines?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2018-03-27T13:02:28.767" Title="Protecting Sitecore instance from anonymous access" Tags="|configuration|authentication|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11039" PostTypeId="2" ParentId="11037" CreationDate="2018-03-27T13:40:49.697" Score="0" Body="&lt;p&gt;I have found quick fix for my question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)&#xA;You need to open &quot;Collections&quot; pane in Postman and open &quot;Authentication&quot; collection. Expand &quot;Sitecore&quot; section and click &quot;GetToken&quot;. Click on blue &quot;Send&quot; button to get authorization token.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)&#xA;Copy the token to notepad and add &quot;Bearer &quot; before it.&#xA;Something like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/QHeqI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QHeqI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3)&#xA;In &quot;Collections&quot; pane, open &quot;SitecoreCommerce_DevOps&quot; collection. Expand &quot;1 Environment Bootstrap&quot; section and click &quot;Bootstrap Sitecore Commerce&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open &quot;Headers&quot; and put text generated in step 2 into Value column of &quot;Authorization&quot; key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4)&#xA;Everything will now work out :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MSp96.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MSp96.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best solution would be to create global variable &quot;SitecoreIdToken&quot; in Postman and set it with text generated in step 2. With this approach &quot;SitecoreIdToken&quot; will be always applied for any request...&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-28T06:03:55.953" LastActivityDate="2018-03-28T06:03:55.953" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11040" PostTypeId="2" ParentId="11037" CreationDate="2018-03-27T13:46:55.487" Score="5" Body="&lt;p&gt;When you trigger &lt;code&gt;GetToken&lt;/code&gt; command you should get &lt;code&gt;SitecoreIdToken&lt;/code&gt; set to your global variables. This is done on 'Tests' tab via the following command&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;postman.setGlobalVariable(&quot;SitecoreIdToken&quot;, &quot;Bearer &quot; + jsonData.access_token);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can check your variables by clicking 'Eye' icon next to environment.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bZXR0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bZXR0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the &lt;code&gt;GetToken&lt;/code&gt; response is not saved to Global Variable, then you may need to create it with empty or dummy value and it will be automatically updated on your next &lt;code&gt;GetToken&lt;/code&gt; call. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mfy0o.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mfy0o.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you don't need to copy the token for each Postman script.&lt;/p&gt;&#xA;" OwnerUserId="139" LastActivityDate="2018-03-27T13:46:55.487" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11041" PostTypeId="2" ParentId="11031" CreationDate="2018-03-27T14:47:38.910" Score="4" Body="&lt;p&gt;There is an option of performing the minimal installation, which does not make use of Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details on the &lt;a href=&quot;https://doc.sitecorepowershell.com/security.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;security page&lt;/a&gt; in the book.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Marketplace has the minimal installation package, which is a standard zip file of configs and dlls that are dropped into your Sitecore bin/App_Config directories.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-03-27T14:47:38.910" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11043" PostTypeId="2" ParentId="10852" CreationDate="2018-03-27T18:01:31.713" Score="2" Body="&lt;p&gt;Ok this was a stupid mistake. I haven't realized that my Solr instance has stopped running. The exception is thrown because it can't connect to Solr. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Starting Solr again solved the issue.&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="1671" LastEditDate="2018-03-28T01:24:39.903" LastActivityDate="2018-03-28T01:24:39.903" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11044" PostTypeId="1" AcceptedAnswerId="11082" CreationDate="2018-03-27T19:00:18.793" Score="1" ViewCount="1890" Body="&lt;p&gt;On a developer workstation, all of my xConnect instances are having their  \App_data\jobs\continuous\IndexWorker\App_data\Logs filled with the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-03-26 22:44:01.661 -04:00 [Error] Failed indexing next set of&#xA;  changes. There will be an attempt to recover from the failure.&#xA;  System.Net.Http.HttpRequestException: An error occurred while sending&#xA;  the request. ---&gt; System.Net.WebException: The underlying connection&#xA;  was closed: Could not establish trust relationship for the SSL/TLS&#xA;  secure channel. ---&gt;&#xA;  System.Security.Authentication.AuthenticationException: The remote&#xA;  certificate is invalid according to the validation procedure.    at&#xA;  System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)    at&#xA;  System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)    ---&#xA;  End of inner exception stack trace ---    at&#xA;  System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&lt;br&gt;&#xA;  at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult&#xA;  ar)    --- End of inner exception stack trace ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Xdb.Collection.Search.Solr.SolrClient.d__4.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Xdb.Collection.Search.Solr.SolrReader.d__6.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Xdb.Collection.Indexing.Indexer.d__12.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Xdb.Collection.Indexing.IndexerExtensions.d__0.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Xdb.Collection.Indexing.SingleThreadedIndexer.d__5.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Xdb.Collection.Indexing.SingleThreadedIndexer.d__4.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I assume this is an issue with Solr certificate. I don't see a step in the Sitecore 9 installation process in which I register the Solr certificate, so wondering how to resolve.&lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="605" LastEditDate="2018-03-27T19:19:25.937" LastActivityDate="2018-03-29T09:28:25.970" Title="XConnect IndexWorker Certificate issue" Tags="|solr|xconnect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11045" PostTypeId="2" ParentId="11044" CreationDate="2018-03-27T19:00:18.793" Score="2" Body="&lt;p&gt;It looks like I missed the following step:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you created a self-signed certificate, install the self-signed authority certificate for the SSL certificate in the following certificate store: &#xA;  &lt;code&gt;Certificates (Local Computer)\Trusted Root Certification Authorities&lt;/code&gt; &#xA;  Installation Guide, Sections 5.1.3&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;See also &lt;a href=&quot;https://medium.com/redhotminute-australia/setting-up-solr-with-ssl-for-sitecore-9-acdf009edd93&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/redhotminute-australia/setting-up-solr-with-ssl-for-sitecore-9-acdf009edd93&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="247" LastActivityDate="2018-03-27T19:00:18.793" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11046" PostTypeId="2" ParentId="11034" CreationDate="2018-03-27T20:41:50.740" Score="2" Body="&lt;p&gt;They are one and the same. &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/SitecoreContext.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;SitecoreContext&lt;/code&gt;&lt;/a&gt; inherits from &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/AbstractSitecoreContext.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;AbstractSitecoreContext&lt;/code&gt;&lt;/a&gt; which inherits from &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/SitecoreService.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;SitecoreService&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at the source code for the latter, you'll see that a call to &lt;code&gt;Cast&amp;lt;T&amp;gt;&lt;/code&gt; as in your sample initiates a sequence of calls which eventually leads to an implementation with the following signature:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public object CreateType(Type type, Item item, bool isLazy,&#xA;    bool inferType, Dictionary&amp;lt;string, object&amp;gt; parameters,&#xA;    params object[] constructorParameters)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Therefore, for optimal performance, your best bet could be to invoke this method directly. I'm not sure how much of a performance difference it will make, however.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at that method's implementation, you can see that it calls &lt;code&gt;InstantiateObject&lt;/code&gt; (from the base class &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper/AbstractService.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;AbstractService&lt;/code&gt;&lt;/a&gt;). If you are casting your objects in a loop, you should get a good performance improvement by calling that method directly and reusing the same instance of &lt;code&gt;SitecoreTypeCreationContext&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then again, if you need to cast that many items, it's possible that the design needs to be revisited... but hard to say without more information.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2018-03-27T20:41:50.740" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11047" PostTypeId="1" CreationDate="2018-03-27T22:24:10.233" Score="4" ViewCount="1043" Body="&lt;p&gt;Can someone suggest if Sitecore 9 installation is possible using SQL active directory user and windows authentication.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2018-03-28T14:32:09.533" Title="Sitecore 9 installation using SQL active directory user" Tags="|installation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11050" PostTypeId="1" AcceptedAnswerId="11117" CreationDate="2018-03-28T04:18:51.340" Score="5" ViewCount="2343" Body="&lt;p&gt;I'd like to build a continuous delivery pipeline for SC 9.0.1 instance using &lt;a href=&quot;https://github.com/Sitecore/docker-images&quot; rel=&quot;noreferrer&quot;&gt;Docker&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to do so any file changes on CM/CD should be deployed in a new container. I'm just wondering, how to deliver &lt;em&gt;item&lt;/em&gt; changes to the instances?&lt;/p&gt;&#xA;" OwnerUserId="272" LastEditorUserId="2056" LastEditDate="2018-03-28T05:07:27.270" LastActivityDate="2019-08-20T08:12:36.690" Title="How to deliver changes to a Sitecore instance deployed in a Docker container" Tags="|continuous-integration|continuous-delivery|docker|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11052" PostTypeId="2" ParentId="11018" CreationDate="2018-03-28T06:01:15.323" Score="0" Body="&lt;p&gt;Community edition of Visual Studio is not supported as far as I remember due to constrains on VS side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix your issues you should follow below instructions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For VS2015:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Obtain trial license of TDS Classic -&gt; &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/TDS-Classic/Free-Trial&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/TDS-Classic/Free-Trial&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Reinstall TDS for VS 2015, you can find specific installation files in downloaded installation package and use your trial license during installation&lt;/li&gt;&#xA;&lt;li&gt;You can also try to just reentering license information -&gt; &lt;a href=&quot;https://hedgehogdevelopment.github.io/tds/chapter2.html#updating-the-tds-classic-license&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hedgehogdevelopment.github.io/tds/chapter2.html#updating-the-tds-classic-license&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Run VS prior to opening scproj file and check whether license is valid by going to Help &gt; View TDS Classic License. You should see here whether license is valid and also when it expires.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For VS2017:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Reinstall VS 2017 to at least Professional edition&lt;/li&gt;&#xA;&lt;li&gt;Follow all steps for VS2015&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-03-28T07:02:27.810" LastActivityDate="2018-03-28T07:02:27.810" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11053" PostTypeId="1" CreationDate="2018-03-28T07:02:35.383" Score="10" ViewCount="369" Body="&lt;p&gt;We're using Sitecore 8.2, habitat.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a service that I need to use throughout a full HTTP Request. This service should be instantiated once (we use dependancy injection) and then be available everywhere else through DI. I have added the service as &lt;code&gt;AddScoped&amp;lt;T&amp;gt;&lt;/code&gt; and this is working correctly when I'm instantiating the service in controllers for example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the business requirements have now changed, and we need this service available during all times of the execution of a &lt;code&gt;httpRequest&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally speaking I'd just edit the global.asax file (RequestBegin and RequestEnd) to instantiate the service, but in Sitecore 8.2 this is bad-practise.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What have I tried:&#xA;I've added a pipeline processor (&lt;code&gt;httpRequestBegin&lt;/code&gt; and &lt;code&gt;httpRequestEnd&lt;/code&gt;) with &lt;code&gt;resolve=true&lt;/code&gt; to resolve the service from the constructor of the processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Result&lt;/strong&gt;: The application is resolving the service like it should, however it doesn't follow the dependancy injection rules of &lt;code&gt;AddScoped&amp;lt;T&amp;gt;&lt;/code&gt; because I see the service being instantiated a second time on controllers later on in the request pipeline. This means the service is instantiated twice, which is a problem for me (we need 1 service per request).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perhaps someone can point me in the right direction - why does sitecore instantiate the service twice in this case?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: it instantiates it once for the processor, and then only once for the all controllers and other services / repositories being called. So it is working, but it seems there are two scopes or something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any tips / help in the right direction?&lt;/p&gt;&#xA;" OwnerUserId="3461" LastEditorUserId="73" LastEditDate="2018-06-19T22:04:03.373" LastActivityDate="2018-11-10T18:00:31.287" Title="Initialize service in pipeline to be available through one httprequest" Tags="|pipelines|habitat|dependency-injection|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11056" PostTypeId="1" CreationDate="2018-03-28T12:37:19.737" Score="5" ViewCount="1668" Body="&lt;p&gt;I'm trying to get a list of items from Sitecore that match a custom tag field. This is from an external application so I need to use one of the APIs to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried using the Sitecore ItemService API like so:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;https://{baseurl}/sitecore/api/ssc/item/search?Term=technology&amp;amp;fields=ItemName,ItemId,Tag&amp;amp;includeStandardTemplateFields=true&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However it's not working as I'd hoped it would.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also read this SSE post and I don't think all of the content in it is correct: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/7192/use-the-itemservice-to-perform-a-content-search/7236#7236&quot;&gt;Use the ItemService to perform a content search&lt;/a&gt; - as the list of fields you send in the parameters are not the list of fields to search in but are instead the fields you want to return in the response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is documented here by Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is how do I get a list of items which match a specific tag?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried using the Facet Option like so:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;https://{baseurl}/sitecore/api/ssc/item/search?Term=technology&amp;amp;fields=ItemName,ItemId,Tag&amp;amp;includeStandardTemplateFields=true&amp;amp;facet=Tag|{61F954E0-0B1E-431D-B79F-2EDFF6CAD7B6}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The above doesn't work for me because:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I'm forced to enter a 'Term' as this is mandatory, I don't want&#xA;this as I just want to get any items matching Tags.  &lt;/li&gt;&#xA;&lt;li&gt;The search does not march partial terms, so isn't very&#xA;useful even if I could pass a search term&lt;/li&gt;&#xA;&lt;li&gt;I can't seem to limit the search to just search a single field (Tag)&lt;/li&gt;&#xA;&lt;li&gt;A further complexity is that their may be more than one tag (Item ID) stored against an item and I suspect that the facet filter will only look for full matches, not partial matches.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I would just use the Solr API to do a search, but I don't think I can as Lucene is being used instead of Solr to my knowledge.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on the above would be very welcome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had some kind assistance from Vlad on slack and it's possible to pass * as a search term like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://mysite.com/sitecore/api/ssc/item/search?term=&quot; rel=&quot;noreferrer&quot;&gt;https://mysite.com/sitecore/api/ssc/item/search?term=&lt;/a&gt;*&amp;amp;facet=_templatename|Article&amp;amp;fields=ItemName,ItemId,TemplateName&amp;amp;includeStandardTemplateFields=true&amp;amp;database=master&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It also looks like there are some inconsistencies in the way the field filter works and the facets. Facets have to be lowercase and also require the '_' prefix for standard fields, where as the &amp;amp;fields= list doesn't.&#xA;I'm still not able to filter on my custom field though or multiple ids.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="2056" LastEditDate="2018-04-30T06:04:17.450" LastActivityDate="2019-04-25T11:00:35.067" Title="Getting a list of items from the ItemService API matching a specific field value" Tags="|sitecore-api|item-web-api|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11057" PostTypeId="2" ParentId="9135" CreationDate="2018-03-28T12:56:44.867" Score="0" Body="&lt;p&gt;If you just want to do this on your local machine for dev purposes (e.g self signed cert in IIS) then you can do the following to work-around the SSL validation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;requestUrl = $&quot;https://{_baseAPIUrl}/sitecore/api/ssc/auth&quot;&#xA;var request = WebRequest.CreateHttp(requestUrl);&#xA;request.Method = &quot;GET&quot;;&#xA;request.ContentType = &quot;multipart/form-data&quot;;&#xA;&#xA;//ignore ssl cert validation - enabled for local dev only&#xA;if (_skipSslCertValidation)&#xA;    request.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) =&amp;gt; true;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However &lt;em&gt;Please Do Not&lt;/em&gt; use this in any other environments as it will open up a security hole with invalid certs.  Chrome and Firefox now mark websites as insecure if they don't run under SSL. Therefore you should use SSL in all environments where possible now anyway.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-03-28T12:56:44.867" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11058" PostTypeId="1" AcceptedAnswerId="11059" CreationDate="2018-03-28T13:14:26.170" Score="0" ViewCount="134" Body="&lt;p&gt;Working on an upgraded solution from Sitecore 7.2 (rev. 141226) to Sitecore 8.1 Update 2 (160302). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recently an issue was reported that Cloned Items stopped working after the upgrade. Clone any Item and publish to Web database, while browsing the URL for that item, we get &lt;code&gt;Layout Not Found&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We already verified that item exist in web database. By digging more deeper observed that if we &lt;code&gt;Transfer&lt;/code&gt; the item to Web Database, it works fine but if we &lt;code&gt;Publish&lt;/code&gt; we get the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did any one encounter such problem earlier? &lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-03-28T13:19:25.113" Title="Cloned item throwing Layout Not Found" Tags="|upgrade|item-clones|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11059" PostTypeId="2" ParentId="11058" CreationDate="2018-03-28T13:19:25.113" Score="0" Body="&lt;p&gt;This behavior is caused by a bug 108405, which was fixed in Sitecore 8.1 update 3. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;108405: Final Layout is empty after publishing a clone.&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/Sitecore%2081/Sitecore%20Experience%20Platform%2081%20Update3/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/Sitecore%2081/Sitecore%20Experience%20Platform%2081%20Update3/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We raised a Support ticket for the same. Try this &lt;a href=&quot;https://dl.sitecore.net/hotfix/Sitecore%20CMS%208.1%20rev.%20160302%20Hotfix%20108405-1.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;Hot Fix&lt;/a&gt; provided by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please be aware that the hotfix was built specifically for 8.1 Update 2 (rev 160302).&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-03-28T13:19:25.113" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11061" PostTypeId="2" ParentId="4434" CreationDate="2018-03-28T13:38:27.897" Score="3" Body="&lt;p&gt;You can also use the Sitecore ItemService API to do this like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var xhr = new XMLHttpRequest();&#xA;xhr.open(&quot;POST&quot;, &quot;http://&amp;lt;your server&amp;gt;/sitecore/api/ssc/item/sitecore%2Fcontent%2Fhome &quot;);&#xA;xhr.setRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;);&#xA;xhr.onreadystatechange = function () {&#xA;  if (this.readyState == 4) {&#xA;    alert('Status: '+this.status+'\nHeaders: '+JSON.stringify(this.getAllResponseHeaders())+'\nBody: '+this.responseText);&#xA;  }&#xA;};&#xA;xhr.send(&quot;{ \n    \&quot;ItemName\&quot;: \&quot;Home\&quot;, \n    \&quot;TemplateID\&quot;: \&quot;76036f5e-cbce-46d1-af0a-4143f9b557aa\&quot;, \n    \&quot;Title\&quot;: \&quot;Sitecore\&quot;, \n    \&quot;Text\&quot;: \&quot;\\r\\n\\t\\t\u003Cp\u003EWelcome to Sitecore\u003C/p\u003E\\r\\n\&quot; \n}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-03-28T13:38:27.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11063" PostTypeId="2" ParentId="11047" CreationDate="2018-03-28T14:32:09.533" Score="2" Body="&lt;p&gt;The short answer is &quot;yes&quot; but your life will be a little more difficult.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the longer answer:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The installation guide notes&lt;/h1&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To enable SQL server to allow for the creation of users when using the&#xA;  Sitecore Install Framework, ensure that the target SQL Server is&#xA;  configured in a way that allows users and logins to be contained at&#xA;  the database level. To do this, set the contained database&#xA;  authentication server configuration option to 1 (on)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So if you are using SIF scripts out of the box, you need the contained user setting so that the SIF scripts can do their thing. However, there are some workarounds...&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;On-premise installation workarounds&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The contained database authentication is only used at installation and has no impact on the application after installation. Whether you use SQL users or contained users, the application will work on-premise.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Some possible workarounds:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use the ZIP download provided to install everything manually and do not use SIF. This does mean manually installing things like the services as well, but for simple architectures like an XP-Single there are not that many components to manually install.&lt;/li&gt;&#xA;&lt;li&gt;Use SIF to install, but point the databases at a SQL Server on another VM. Then move the databases over manually but ignore the contained users and add your own users. Then, update connection strings. &lt;/li&gt;&#xA;&lt;li&gt;Modify SIF scripts to install WDPs without the database steps and restore DACPACs from ZIP or from another SQL server.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;What about Azure?&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Having a contained database is a requirement for Azure SQL. You cannot use the above workarounds for Azure SQL&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-03-28T14:32:09.533" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11065" PostTypeId="2" ParentId="8925" CreationDate="2018-03-28T15:48:21.643" Score="1" Body="&lt;p&gt;Recently encountered the same &lt;code&gt;Registering the index for re-initialization once connection to SOLR becomes available&lt;/code&gt; with an additional &lt;code&gt;Error handling 'status' action&lt;/code&gt; in the crawling log.  After double checking all our configs, we found that we had inadvertently used a &lt;code&gt;ServiceBaseAddress&lt;/code&gt; from another integration environment (old variable from a cloned VSTS release) and the two sites were fighting for contention (I can only assume constant rebuilds and updates).  Simply cloning the resource to a new VM and updating the address resolved the issue.  May not be the exact issue in your case but hope it helps someone else in the future.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2018-03-28T15:48:21.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11066" PostTypeId="1" AcceptedAnswerId="11070" CreationDate="2018-03-28T17:31:30.517" Score="0" ViewCount="76" Body="&lt;p&gt;Planning to setup 2 new CD servers  which contain only French and English language pages. All other language versions should not exist in new web db.&#xA;I took the existing web db backup and setup site is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have questions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1a) Do I need to run custom code to remove all other language version data? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1b) Or do I need to truncate all data from new web db (replica of existing web db)  and republish from master to new web db for the selected language? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) What will be the best approach?&#xA;How I can achieve in a way that my new web db should contain only French and English language items only.&lt;/p&gt;&#xA;" OwnerUserId="579" LastEditorUserId="1000" LastEditDate="2018-03-28T17:53:36.900" LastActivityDate="2018-03-28T20:58:07.250" Title="CD site setup for one country / subset of languages" Tags="|sitecore-client|multilingual|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11067" PostTypeId="1" AcceptedAnswerId="11089" CreationDate="2018-03-28T17:57:29.027" Score="2" ViewCount="194" Body="&lt;p&gt;Does anyone know whether the terms patching and update version mean the same thing? Also is there a resource somewhere I would get notified when there is a patch available? In other words, how could I tell when I need to patch or update my environment?&lt;/p&gt;&#xA;" OwnerUserId="3179" LastEditorUserId="3136" LastEditDate="2018-03-28T20:17:31.740" LastActivityDate="2018-03-29T20:26:15.163" Title="Are there any differences between Sitecore update version vs patching?" Tags="|sitecore-client|support|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11068" PostTypeId="2" ParentId="11067" CreationDate="2018-03-28T18:14:54.690" Score="5" Body="&lt;p&gt;There are two conditions in which I've encountered that relate to updates and patches.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Upgrade with Updates&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Upgrade Sitecore versions using the &lt;code&gt;.update&lt;/code&gt; package when moving from Sitecore 8.2u4 to 8.2u6. The update nomenclature may appear as a revision with a date or simply an update number. The use of &quot;update&quot; and &quot;upgrade&quot; may be used interchangeably. Sitecore announces the updates through communication channels such as Sitecore Slack Chat, Twitter, and the Community site.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Patches&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Patch Sitecore libraries with files provided by Sitecore Support. These are tested specifically with the version of Sitecore you are running and the version of other modules. I had a case where I needed a patch to fix the Switching provider used with the Active Directory module. After upgrading Sitecore, the patch was no longer necessary. You must reach out to Sitecore Support directly for patches.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-03-28T18:14:54.690" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11069" PostTypeId="1" AcceptedAnswerId="11071" CreationDate="2018-03-28T20:16:51.880" Score="1" ViewCount="8950" Body="&lt;p&gt;What are the steps to easily identify which environment is configured for CD and CM? Suppose you are given with number Sitecore servers and you want to find out which one is being configured as. For some reasons, if all the servers have never been configured as CD vs CM what are the best approach to start configure them?&lt;/p&gt;&#xA;" OwnerUserId="3179" LastActivityDate="2018-10-19T14:19:42.143" Title="How to differentiate between CD and CM?" Tags="|sitecore-client|installation|content-management|content-delivery|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11070" PostTypeId="2" ParentId="11066" CreationDate="2018-03-28T20:58:07.250" Score="1" Body="&lt;p&gt;There are multiple possible ways to achieve this but the factor to decide the approach is - &lt;em&gt;If you want to maintain other languages in Master DB or not?&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have additional publishing targets which need all languages hence you CAN’T delete language content other than English and French from Master DB. In this scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Either write &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/item-languages.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Powershell scripts&lt;/a&gt; or custom scripts to delete the unwanted language content from Web DB, but for every future publish you have to make sure that it is not published again to that Web DB.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Or write Powershell scripts to mark the unwanted language versions &lt;code&gt;Unpublishable&lt;/code&gt; in Master Database and then perform Full/Smart/Incremental Publish. Once done undo the &lt;code&gt;Unpublishable&lt;/code&gt; flag, so that you can still publish to the additional publishing target.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Or after deleting the content from Web DB, you can customize the publishing pipeline to restrict the unwanted language publishing to the specific Web DB. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Or let the content be in the Web DB but you can restrict those Language URLs on IIS level.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you DON’T have additional publishing targets and also you DON’T WANT to maintain language content other than English and French in Master DB. In this scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Write Powershell scripts or custom scripts to delete the unwanted language content from Master DB and then perform Full/Smart/Incremental Publish.&lt;/li&gt;&#xA;&lt;li&gt;Or you can simply delete the language itself and do the necessary cleanups for content.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you DON’T have additional publishing targets BUT you WANT to maintain all the language content in Master DB. In this scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Write Powershell scripts to mark the unwanted item version &lt;code&gt;Unpublishable&lt;/code&gt; in Master Database and then perform Full/Smart/Incremental Publish.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;:- Rather deleting directly from Web DB, controlling the content from Master Database and performing a publish should be a good fit as it will also update the relevant Indexes.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-03-28T20:58:07.250" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11071" PostTypeId="2" ParentId="11069" CreationDate="2018-03-28T22:04:30.107" Score="7" Body="&lt;p&gt;Answer to this question will slightly vary on your Sitecore Version but I am listing out most common differentiating factors. If earlier both the environments were configured correctly than you can easily find out the following difference:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Admin Panel and Admin pages&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mostly Sitecore Admin Panel and Admin Pages is restricted on the CDs. Hence if on the URL if access to the Sitecore Admin console it restricted, means it is configured as CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration Files on Content Management&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Connection string will have all the databases configured – Core, Master, all Publishing Targets and Reporting DB (If you are using xDB, since you are on 8.2).&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SwitchMasterToWeb.config&lt;/code&gt; will be either disabled or not configured.&lt;/li&gt;&#xA;&lt;li&gt;If using xDb, Reporting Database should be configured on CM&lt;/li&gt;&#xA;&lt;li&gt;The &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/disable_the_robot_detection_component_on_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Robot Detection&lt;/a&gt; component is not required on a CM.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration Files on Content Delivery&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Connection String will mostly have only – Core, Web and Mongo DBs (If you are using xDB, since you are on 8.2). BUT NO MASTER DB.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SwitchMasterToWeb.config&lt;/code&gt; will be probably enabled and configured properly.&lt;/li&gt;&#xA;&lt;li&gt;If using xDb, Collection Database should be configured on CDs.&lt;/li&gt;&#xA;&lt;li&gt;The Robot Detection component is required on a CD.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Load Balanced&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In most implementations CDs are load balanced, if you don’t have topology diagram of the current setup, check if it is an F5 URL communicating with more than 1 web servers at the background. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More detailed comparison of the configuration file can be found in this &lt;a href=&quot;https://doc.sitecore.net//~/media/00F628C865C8425C90E8FB856687536D.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;Excel&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Please refer the URLs below for more details, if needed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure a Content Management Server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_delivery_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure a Content Delivery Server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;URLs provided above are for Sitecore Version 8.2.&lt;/li&gt;&#xA;&lt;li&gt;Assuming you don't have dedicated Processing and Reporting Servers configured. Cause if you have multiple content management servers, there should be a dedicated Reporting Service server. &lt;/li&gt;&#xA;&lt;li&gt;Steps to configure CM and CD depends on your Sitecore Version, please update the question with the details and will update my answer accordingly.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-10-19T14:19:42.143" LastActivityDate="2018-10-19T14:19:42.143" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11072" PostTypeId="2" ParentId="11069" CreationDate="2018-03-28T22:43:12.917" Score="0" Body="&lt;p&gt;CD ConnectionString Config would have only Core and Web Databases.&#xA;CM ConnectionString Config should be Referring to Master as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition you can ping your CMS domain from CMD to get the IP of the server (If its not Load balanced).&lt;/p&gt;&#xA;" OwnerUserId="1865" LastActivityDate="2018-03-28T22:43:12.917" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11073" PostTypeId="2" ParentId="10848" CreationDate="2018-03-29T00:42:06.370" Score="3" Body="&lt;p&gt;Sitecore Support provided a solution for this. Basically it was to swap the position of two pipeline calls in the &lt;code&gt;owin.cookieAuthentication.validateIdentity&lt;/code&gt; pipeline. I've put this patch into my solution and validated it worked:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;    &amp;lt;patch:delete/&amp;gt;&#xA;  &amp;lt;/owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;&#xA;  &amp;lt;owin.cookieAuthentication.validateIdentity help=&quot;Processors should derive from Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateIdentityProcessor&quot; patch:after=&quot;owin.identityProviders&quot;&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateForUnresolvedSiteContext, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ResolveToDefaultAuthenticationSourceOnly, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;paths hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;/paths&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.CheckIdentityProvider, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.CheckSiteMode, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastEditorUserId="35" LastEditDate="2018-03-29T17:40:02.707" LastActivityDate="2018-03-29T17:40:02.707" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11074" PostTypeId="1" AcceptedAnswerId="11075" CreationDate="2018-03-29T01:21:52.687" Score="5" ViewCount="177" Body="&lt;p&gt;Since setting up a Commerce 9 development environment, I've noticed an issue in which the totals for the cart are always 0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've customised the currencies across the board, but I've not specifically done anything to the &lt;code&gt;ICalculateCartLinesPipeline&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts as to what might cause this?&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2018-03-29T08:30:46.793" LastActivityDate="2018-03-29T08:30:46.793" Title="Cart always has 0 total" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11075" PostTypeId="2" ParentId="11074" CreationDate="2018-03-29T01:22:10.863" Score="3" Body="&lt;p&gt;It turns out that this was another issue caused by critical pipeline code being defined in a sample plugin that I outlined in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10591/getcurrentcart-value-cannot-be-null-when-adding-item-to-cart&quot;&gt;this question&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, the cart plugin itself only registers two blocks: &lt;code&gt;ClearCartLinesTotals&lt;/code&gt; and &lt;code&gt;ClearCartTotals&lt;/code&gt;, with the rest of the functionality added by the AdventureWorks sample plugin. The reasons for this are unknown, but since neither specifies an order argument when registering their pipeline blocks it's basically luck (read: order of the dependencies during build) that makes the remaining blocks get added after the Clear* blocks. When I moved the blocks from the AdventureWorks sample to our own project, that luck ran out so the totals were being calculated and then subsequently cleared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution is to register the blocks with an order specified that's greater than the default of &lt;code&gt;1000&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;services.Sitecore().Pipelines(config =&amp;gt; config&#xA;    .ConfigurePipeline&amp;lt;ICalculateCartLinesPipeline&amp;gt;(builder =&amp;gt; builder&#xA;        .Add&amp;lt;PopulateCartLineItemsBlock&amp;gt;()&#xA;        .Add&amp;lt;CalculateCartLinesPriceBlock&amp;gt;()&#xA;        .Add&amp;lt;ValidateCartLinesPriceBlock&amp;gt;()&#xA;        .Add&amp;lt;CalculateCartLinesSubTotalsBlock&amp;gt;()&#xA;        .Add&amp;lt;CalculateCartLinesFulfillmentBlock&amp;gt;()&#xA;        .Add&amp;lt;ValidateCartCouponsBlock&amp;gt;()&#xA;        .Add&amp;lt;CalculateCartLinesPromotionsBlock&amp;gt;()&#xA;        .Add&amp;lt;CalculateCartLinesTaxBlock&amp;gt;()&#xA;        .Add&amp;lt;CalculateCartLinesTotalsBlock&amp;gt;(),&#xA;        order: 1001 // This fixes the issue&#xA;    )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-03-29T01:22:10.863" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11077" PostTypeId="2" ParentId="10907" CreationDate="2018-03-29T08:33:43.640" Score="2" Body="&lt;p&gt;1)&#xA;There is no official statement from Sitecore whether they will integrate Social Connected module with Sitecore 9 as they did with Sitecore 8. I personally doubt that it will actually happen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)&#xA;Stackla and Telligent cannot be compared to this Social Connected module as they are used for completely different scenarios and serve different purposes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) At the end we end up with mixed solution that I described &lt;a href=&quot;http://tothecore.sk/2018/03/29/social-sharing-in-sitecore-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;in my blog post&lt;/a&gt; in more detail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is overview of the solution:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;On FE side we have used &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator&quot; rel=&quot;nofollow noreferrer&quot;&gt;SXA&lt;/a&gt; and its &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/the_sxa_renderings_and_rendering_variants#_Social&quot; rel=&quot;nofollow noreferrer&quot;&gt;AddThis&lt;/a&gt; component together with our &lt;a href=&quot;https://www.addthis.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;AddThis account&lt;/a&gt; where we have placed in the footer possibility to follow our company accounts and widget on the side to share currently visited page &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lAaq6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lAaq6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;a href=&quot;https://i.stack.imgur.com/V2ovB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V2ovB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;More information can be found &lt;a href=&quot;http://tothecore.sk/2018/03/29/social-sharing-in-sitecore-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;On BE side we have done custom solution - We have added buttons to Content Editor to its ribbon on certain templates. Items based on these templates where then shareable on Facebook and LinkedIn. Because of the time constraints, we have made simple integration just by using share urls. We haven't done full integration using Facebook or LinkedIn API's.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3nZ5I.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3nZ5I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;More information can be found &lt;a href=&quot;http://tothecore.sk/2018/05/31/adding-custom-social-buttons-to-content-editor-in-sitecore-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;With this mixed approach we gave ability to share pages/items to visitors of the site on their walls and activities and also for content editors to share pages/items on company Facebook/LinkedIn pages&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-01T06:11:09.103" LastActivityDate="2018-06-01T06:11:09.103" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11078" PostTypeId="2" ParentId="10931" CreationDate="2018-03-29T08:41:20.937" Score="2" Body="&lt;p&gt;&lt;strong&gt;Deploy if not Publishing&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to evaluate the problem, You can go to the specific file in your theme and deploy it. This way, you will see that the file is published &lt;code&gt;( deploy is same as publish for theme files )&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/r2hx3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/r2hx3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Theme Settings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also make sure, you have set your desired theme in your Theme Settings.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sS5gN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sS5gN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-29T08:41:20.937" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11079" PostTypeId="2" ParentId="11009" CreationDate="2018-03-29T08:56:20.557" Score="0" Body="&lt;p&gt;The SXA allow you to add your custom JS based on you theme. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create Multiple themes and different logics and different JS and can use them based on you needs. This allows to have more command over Multiples Sites based solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ki633.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ki633.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also a way for adding a page specific JS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks to @MichaelWest &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/9404/2948&quot;&gt;https://sitecore.stackexchange.com/a/9404/2948&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-29T08:56:20.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11080" PostTypeId="2" ParentId="10855" CreationDate="2018-03-29T09:07:17.280" Score="0" Body="&lt;p&gt;I have encountered this on other CMS, and the shortest and smartest solution without modifying anything is, when you are done with your edits, switch back to design mode to check the changes and then SAVE it. You will not lose anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4YvYT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4YvYT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thing that can be done is, while you are still on design mode, you can select the specific tag and click on the available tag references and select your desired one, and SAVE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p6JXG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p6JXG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-29T09:07:17.280" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11081" PostTypeId="2" ParentId="11069" CreationDate="2018-03-29T09:28:03.970" Score="0" Body="&lt;p&gt;There are many ways to understand the CM and CD environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Zones – &#xA;Usually CM servers are kept in DCLAN Zone which is usually not accessible out side the client network.&#xA;CD Servers are kept in DMZ which is globally accessible for public facing sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sites Node -&#xA;In Sitecore 8.0 and above you can go to sitecore.config file in Include folder. There unser  node you will find all the sites including sitecore default sites like –&#xA;&#xA;    &#xA;    &#xA;Here you will get one node of your site, there you can check for the Database. If the database is pointing to “Master” then the site is a CM site or if it is pointing to “Web” it is CD site&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Connection String – &#xA;In Connection String for CM Server you will get connection strings for Core, Master and/or Web database.&#xA;In Connection String for CD Server you will get connection strings for Core and Web database.&lt;/p&gt;&#xA;" OwnerUserId="2731" LastActivityDate="2018-03-29T09:28:03.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11082" PostTypeId="2" ParentId="11044" CreationDate="2018-03-29T09:28:25.970" Score="1" Body="&lt;p&gt;You can directly download and install the Solr with the most used default configurations with this script by @jermdavis &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script does the following things.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Download the required packages for NSSM and SOLR&lt;/li&gt;&#xA;&lt;li&gt;Register Service for SOLR&lt;/li&gt;&#xA;&lt;li&gt;Create and Set the Certificates&lt;/li&gt;&#xA;&lt;li&gt;Configure the SOLR &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are two thing you will need to update in this script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$JREVersion = &quot;1.8.0_151&quot;&lt;/code&gt; to &lt;code&gt;$JREVersion = &quot;-9.0.1&quot;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-03-29T09:28:25.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11083" PostTypeId="2" ParentId="10863" CreationDate="2018-03-29T11:42:41.787" Score="0" Body="&lt;p&gt;We verified that this service is activated based on licence so wherever the license is used then the service will be active. &lt;/p&gt;&#xA;" OwnerUserId="3066" LastActivityDate="2018-03-29T11:42:41.787" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11084" PostTypeId="1" CreationDate="2018-03-29T12:16:02.880" Score="0" ViewCount="263" Body="&lt;p&gt;I have been trying to tidy up permissions on our Sitecore install. My admin account has every permission haphazardly applied which causes all kinds of issues, but I can create WFFM forms with email save actions fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However our new, tidy, basic role (called 'Content Editor') receives a 500 error at the final step. They are able to add an email save action, but when clicking onto that action, they receive a 500 error. Experience tells me this is a missing permissions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3OCfr.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3OCfr.jpg&quot; alt=&quot;500 error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/web_forms_for_marketers/setting_up_web_forms/installing/the_security_roles_in_the_web_forms_for_marketers_module&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; in the docs and I have ensured that our Content Editor role has the following permissions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Author&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Client Securing&lt;/li&gt;&#xA;&lt;li&gt;Sitecore  Marketer Form Author&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Client Authoring&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Client Designing&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Client Developing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;However, the 500 error still shows. Any ideas on what I could be missing here?&lt;/p&gt;&#xA;" OwnerUserId="3138" LastActivityDate="2018-04-10T12:05:41.420" Title="Security Roles required for Web Forms For Marketers email save action" Tags="|wffm|security|role-management|editor-user-permissions|webforms|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="11085" PostTypeId="1" CreationDate="2018-03-29T13:05:40.880" Score="0" ViewCount="4824" Body="&lt;p&gt;There seems to be an issue with SVG markup that works fine when embedded manually (through a rich text field for example) vs. when I save that same code as an .svg file, add it to the media library, and then embed it as a media item.  In the latter case the color does not get displayed correctly.  Is there some trick to this?  If this is a known issue, is there a way I can created a set of content items that are basically just the xml markup of the svg that I can I can then pick from as items for a given icon field in items of a particular template type?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2020-03-06T10:31:55.397" Title="Inserting SVG files/markup" Tags="|media-library|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11086" PostTypeId="2" ParentId="11085" CreationDate="2018-03-29T13:52:02.673" Score="3" Body="&lt;p&gt;@Levi,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have experienced this before. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you upload as SVG then Sitecore will not process it as an image but as a media file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case I solved it by uploading other image extension like PNG or JPG.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really need the SVG file you need to add a new media type (Include the SVG+XML to your mimetypes).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer to this link for the solution:&#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1670&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/1670&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that helps.&lt;/p&gt;&#xA;" OwnerUserId="1203" LastActivityDate="2018-03-29T13:52:02.673" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11087" PostTypeId="2" ParentId="11085" CreationDate="2018-03-29T14:08:14.733" Score="4" Body="&lt;p&gt;Sitecore does not support SVG images OOTB. Especially if you are below Sitecore version &lt;code&gt;8.1 Update 2&lt;/code&gt;, all the versions above this have it included by default. Please add the following media type definition in &lt;code&gt;Web.config&lt;/code&gt; or &lt;code&gt;Sitecore.config&lt;/code&gt; (according to your Sitecore version):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaType name=&quot;SVG image&quot; extensions=&quot;svg&quot;&amp;gt;&#xA;  &amp;lt;mimeType&amp;gt;image/svg+xml&amp;lt;/mimeType&amp;gt;&#xA;  &amp;lt;forceDownload&amp;gt;false&amp;lt;/forceDownload&amp;gt;&#xA;  &amp;lt;sharedTemplate&amp;gt;system/media/unversioned/image&amp;lt;/sharedTemplate&amp;gt;&#xA;  &amp;lt;versionedTemplate&amp;gt;system/media/versioned/image&amp;lt;/versionedTemplate&amp;gt;&#xA;  &amp;lt;mediaValidator type=&quot;Sitecore.Resources.Media.ImageValidator&quot;/&amp;gt;&#xA;  &amp;lt;thumbnails&amp;gt;&#xA;    &amp;lt;generator type=&quot;Sitecore.Resources.Media.ImageThumbnailGenerator, Sitecore.Kernel&quot;&amp;gt;&#xA;      &amp;lt;extension&amp;gt;png&amp;lt;/extension&amp;gt;&#xA;    &amp;lt;/generator&amp;gt;&#xA;    &amp;lt;width&amp;gt;150&amp;lt;/width&amp;gt;&#xA;    &amp;lt;height&amp;gt;150&amp;lt;/height&amp;gt;&#xA;    &amp;lt;backgroundColor&amp;gt;#FFFFFF&amp;lt;/backgroundColor&amp;gt;&#xA;  &amp;lt;/thumbnails&amp;gt;&#xA; &amp;lt;/mediaType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Register mime types for svg:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;staticContent&amp;gt;&#xA;     &amp;lt;remove fileExtension=&quot;.svg&quot; /&amp;gt;&#xA;     &amp;lt;mimeMap fileExtension=&quot;.svg&quot; mimeType=&quot;image/svg+xml&quot;/&amp;gt;&#xA;    &amp;lt;/staticContent&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also have a look at the following useful blogs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecorecorner.com/2015/11/23/sitecore-svg-support/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorecorner.com/2015/11/23/sitecore-svg-support/&lt;/a&gt;&#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1670&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/1670&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-03-29T14:08:14.733" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11088" PostTypeId="2" ParentId="10984" CreationDate="2018-03-29T14:08:39.967" Score="0" Body="&lt;p&gt;I am sure there is a problem on your aggregation service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How about this quick solution:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to your CM website folder&lt;/li&gt;&#xA;&lt;li&gt;Rename your App_Config folder to something like: App_ConfigBAK&lt;/li&gt;&#xA;&lt;li&gt;Copy the 'App_Config' folder from a CLEAN Sitecore to your website folder&lt;/li&gt;&#xA;&lt;li&gt;See if it works&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If it does work then you are able to compare your app_config files with the clean ones using a tool like &lt;a href=&quot;http://winmerge.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;WinMerge&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let us know.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;A few points to consider:&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Data is stored on your xdb.&lt;/li&gt;&#xA;&lt;li&gt;There is a default session timeout of 20 mins then the aggregation&#xA;service will get the data from xdb and insert it into your reporting&#xA;db on SQL server&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set this session timeout to 1 minute&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(web.config file line: &amp;lt; SessionState mode=&quot;InProc&quot; timeout=&quot;1&quot; ... )&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Your Analytics needs to be working in order to have data on your SQL server&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Make sure you abandon your session properly by closing the browser&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To force your session timeout create a file called kill.aspx and put this file on your website root.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;File code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page language=&quot;c#&quot; %&amp;gt;&#xA;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;  &amp;lt;head&amp;gt;&#xA;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;&#xA;&amp;lt;div&amp;gt;Session Abandoned&amp;lt;/div&amp;gt;&#xA;&amp;lt;% Session.Abandon(); %&amp;gt;&#xA;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Force the session.abandon by accessing www.yourwebsite.com/kill.aspx&lt;/p&gt;&#xA;" OwnerUserId="1203" LastEditorUserId="1203" LastEditDate="2018-03-29T14:54:25.557" LastActivityDate="2018-03-29T14:54:25.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11089" PostTypeId="2" ParentId="11067" CreationDate="2018-03-29T15:34:22.343" Score="1" Body="&lt;p&gt;&lt;strong&gt;&lt;em&gt;Q: Does anyone know whether the terms patching and update version mean the same thing?&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;No, both are different. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What is an Update?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore releases Updates in timely fashion. These Updates normally have known bug fixes from previous versions and possibly any additional features/functionalities bundled. Every Update comes with Release Notes which have the details about – all fixed bugs, any new features and list of known bugs. Typically every Update have a revision number for ex. &lt;code&gt;Sitecore Experience Platform 9.0 rev. 171219 (9.0 Update-1)&lt;/code&gt;. Decoding number &lt;strong&gt;171219&lt;/strong&gt; tells that it was released on Dec-19 2017. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ifD8L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ifD8L.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What is a Patch?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore release various patches for specific bugs. This can happen either when you raise a Sitecore Support Ticket or Sitecore releases the patch publicly. A Patch contains fix either for a particular Sitecore version/update or if feasible a specific bug fix for more than 1 Sitecore versions/updates. Typically Patches come with a particular Bug number mentioned in the Release Notes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Q: Also is there a resource somewhere I would get notified when there is a patch available?&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Michael West said - every Update or Patch released by Sitecore in announced on various communication channels like &lt;a href=&quot;https://community.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Community Portal&lt;/a&gt;, &lt;a href=&quot;https://sitecorechat.slack.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Slack Chat&lt;/a&gt;, &lt;a href=&quot;https://twitter.com/Sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Twitter Handle&lt;/a&gt; etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Q: In other words, how could I tell when I need to patch or update my environment?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would say if you are already on a nearest latest version of Sitecore and struggling with a particular bug which can be resolved by a Patch – Go for it. Else Upgrade to a version which comes with a fix of that bug OOTB. But if you are looking for a new or advanced feature which is not available on your current version, obviously Upgrade is the only option left. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you implemented a patch earlier and now you have upgraded to a version which come with the fix OOTB, you can rollback the patch by removing the files (Config/Dlls etc) which was included in the patch.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-03-29T20:26:15.163" LastActivityDate="2018-03-29T20:26:15.163" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11091" PostTypeId="1" CreationDate="2018-03-29T21:03:17.610" Score="4" ViewCount="433" Body="&lt;p&gt;I need to provide the personalized content to the mobile apps through SSC/Sitecore mobile SDK and track the user behavior and capture in the xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per my understanding, &quot;Sitecore Mobile SDK currently does not support xDB integration for tracking actions in the mobile app or mobile content personalization out of the box&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But with Sitecore 9 release, The Sitecore Services Client (SSC) API is capable to provide personalized content to the mobile apps and tracking the behavior on the mobile Apps. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we achieve this requirement through xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure how to do the rule based Personalization(changed the presentation details) on mobile apps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any documentation and references available for this implementation?&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2023-12-10T21:04:55.567" Title="How to track the user behavior and personalization on mobile Apps using Xamarin Sitecore SDK?" Tags="|sitecore-api|xconnect|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11092" PostTypeId="2" ParentId="11056" CreationDate="2018-03-29T21:05:56.240" Score="1" Body="&lt;p&gt;I believe below 2 steps should work for you:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create an item with template &quot;/sitecore/templates/System/Services/Item Service/Query/Query Definition&quot;, this has a Query and Database field, populate this accordingly&lt;/li&gt;&#xA;&lt;li&gt;Execute the query like this https://{base url}/sitecore/api/ssc/item/{id of item created in step 1}/query&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-03-29T21:05:56.240" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11095" PostTypeId="2" ParentId="11024" CreationDate="2018-03-30T10:59:57.663" Score="0" Body="&lt;p&gt;As a workaround you can try to create URI value with non escaped characters. This method is obsolete but you can still use it &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/9zh9wcb3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/9zh9wcb3.aspx&lt;/a&gt; . Then after creating HttpRequest you'll need to set private field _url with unescaped version. Not sure if that will work but worth a try.  &lt;/p&gt;&#xA;" OwnerUserId="2095" LastActivityDate="2018-03-30T10:59:57.663" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11096" PostTypeId="1" CreationDate="2018-03-30T14:06:57.340" Score="3" ViewCount="366" Body="&lt;p&gt;I have a form that I'm using on several different language pages. The English page with the form works without issue. I also have the form on a Dutch and Spanish page, and I've created corresponding language versions of the form. When I try to submit the form on either of these language pages, I consistently get an error the first time (the form page reloads with an error message &quot;We experienced a technical difficulty while processing your request. Your data may not have been correctly saved.&quot;). I see this error when I check the logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Web Forms for Marketers: an exception 'Sequence contains more than one&#xA;  matching element' has occured while trying to execute an action ''.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I then click the submit button again, it works. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm also having trouble debugging this because I cannot replicate the behavior on my local environment. All I have to go on is the 'Sequence contains more than one matching element' error, and I'm not sure what that's referring to or why it works the second time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 1&lt;/strong&gt;: The issue is with my States field. I have a field for states that displays/is required &lt;em&gt;if&lt;/em&gt; the country selected is US. I think the error is from trying to submit an empty value for State when the country is not US&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 2&lt;/strong&gt;: The error occurs with the States field even when an option is selected, so it's not a matter of the field being blank. I think it's an issue with the data it's using, though I'm not sure what the problem is&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my state field is a custom field. It is empty on page load and then populates once the country is selected by pulling a list of states/provinces for the selected country from Sitecore. There are different lists for USA, Canada, Australia, etc so I cannot just set it to US states and hide/display. I removed the custom validation, which it turns out wasn't even doing anything. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The states list functions just like what's described in this post: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/27/wffm-dynamically-populated-dependent-drop-lists&quot;&gt;WFFM: dynamically populated dependent drop lists&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Q6wUP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q6wUP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="2056" LastEditDate="2018-04-03T09:31:48.587" LastActivityDate="2018-04-03T09:31:48.587" Title="WFFM web form errors on first submission but succeeds on second try every time; 'Sequence contains more than one matching element'" Tags="|wffm|webforms|sitecore-forms|" AnswerCount="1" CommentCount="9" ClosedDate="2018-04-03T09:25:01.570" ContentLicense="CC BY-SA 3.0" />
  <row Id="11097" PostTypeId="1" CreationDate="2018-03-30T18:04:05.677" Score="0" ViewCount="1617" Body="&lt;p&gt;I am working on programatically rendering an item to html in code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this question &lt;a href=&quot;https://sitecore.stackexchange.com/a/6256/1133&quot;&gt;https://sitecore.stackexchange.com/a/6256/1133&lt;/a&gt; which almost serves the purpose of my request, except it isn't rendering nested renderings for me. My item has 4 renderings like so:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SimulationContainer (placeholder: simulator)&lt;/li&gt;&#xA;&lt;li&gt;Picker (placeholder: /simulator/simulatorcomponents)&lt;/li&gt;&#xA;&lt;li&gt;SimulatorTeaser (placeholder: /simulator/simulatorcomponents)&lt;/li&gt;&#xA;&lt;li&gt;Simulator (placeholder: /simulator/simulatorcomponents)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Only the SimulationContainer rendering is being output to html. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is there a way that I can modify the code from the linked question to include the nested renderings?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code I've used from the questions is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const string itemPath = &quot;/sitecore/content/Site/Home/Test&quot;;&#xA;var item = Sitecore.Context.Database.GetItem(itemPath);&#xA;&#xA;var pageContext = new PageContext&#xA;{&#xA;    RequestContext = System.Web.HttpContext.Current.Request.RequestContext,&#xA;    Item = item&#xA;};&#xA;&#xA;ContextService.Get().Push(pageContext);&#xA;&#xA;var pageDefinition = pageContext.PageDefinition;&#xA;var getPageRenderingArgs = new GetPageRenderingArgs(pageDefinition);&#xA;&#xA;PipelineService.Get().RunPipeline(&quot;mvc.getPageRendering&quot;, getPageRenderingArgs);&#xA;&#xA;var rendering = getPageRenderingArgs.Result;&#xA;var textWriter = new StringWriter();&#xA;var renderRenderingArgs = new RenderRenderingArgs(rendering, textWriter);&#xA;&#xA;PipelineService.Get().RunPipeline(&quot;mvc.renderRendering&quot;, renderRenderingArgs);&#xA;ContextService.Get().Pop&amp;lt;PageContext&amp;gt;();&#xA;&#xA;return textWriter.ToString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="2056" LastEditDate="2018-03-31T10:42:31.493" LastActivityDate="2018-06-05T14:35:24.003" Title="Programatically render nested renderings/placeholders from an item" Tags="|presentation|mvc|pipelines|placeholders|" AnswerCount="1" CommentCount="3" ClosedDate="2018-06-05T15:50:23.583" ContentLicense="CC BY-SA 3.0" />
  <row Id="11098" PostTypeId="2" ParentId="1445" CreationDate="2018-03-30T22:04:36.197" Score="2" Body="&lt;p&gt;The &lt;a href=&quot;https://docs.mongodb.com/manual/core/inmemory&quot; rel=&quot;nofollow noreferrer&quot;&gt;In-Memory Storage Engine&lt;/a&gt; is a feature of MongoDB Enterprise Server made generally available in the  MongoDB 3.2.6 production release. As at MongoDB 3.6, storage engines are a per-&lt;code&gt;mongod&lt;/code&gt; configuration option: you can have a &lt;a href=&quot;https://docs.mongodb.com/manual/core/inmemory/#deployment-architectures&quot; rel=&quot;nofollow noreferrer&quot;&gt;replica set or sharded deployment&lt;/a&gt; with mixed storage engines, but you cannot specify storage engines at a collection level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The In-Memory Storage engine achieves more predictable latency for database operations by avoiding disk I/O, but is intended for use cases where indexes and uncompressed data fit entirely within the &lt;a href=&quot;https://docs.mongodb.com/manual/core/inmemory/#memory-use&quot; rel=&quot;nofollow noreferrer&quot;&gt;In-Memory Cache&lt;/a&gt;. A write operation will fail if it would cause data to exceed the configured memory size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your data set is potentially larger than available memory, the default persistent storage engine will be much more suitable. Persistent storage engines effectively keep your working set in RAM based on &lt;a href=&quot;https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)&quot; rel=&quot;nofollow noreferrer&quot;&gt;least recently used caching&lt;/a&gt;, with implementation details varying by storage engine.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I was thinking to try out this capability for discardable data such as Sitecore sessions - for which we have no use after the &lt;code&gt;SessionEnd&lt;/code&gt; event. Are there any obvious drawbacks to this approach? &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In order to achieve this outcome you would either have to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;impose the constraints of In-Memory storage on your main MongoDB deployment (all of the data and indexes in your deployment fit into available RAM)&lt;/li&gt;&#xA;&lt;li&gt;add a separate MongoDB deployment with In-Memory Storage Engine for your Sitecore session state store&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You would also have to factor in licensing costs for using MongoDB Enterprise in production.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Will this scale properly - e.g. will MongoDB manage redundancy itself in a multi-server/master-slave configuration?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The In-Memory storage engine supports all of MongoDB's standard distributed features and can be used on members of replica sets or sharded clusters. The main scaling limit to be aware of is the In-Memory data size limit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If members of a single MongoDB deployment have different configurations (for example storage engines or hardware resources), you will also need to put extra thought into capacity planning and failover scenarios.&lt;/p&gt;&#xA;" OwnerUserId="3467" LastActivityDate="2018-03-30T22:04:36.197" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11099" PostTypeId="1" CreationDate="2018-03-31T15:12:24.807" Score="0" ViewCount="1576" Body="&lt;p&gt;We want to set up a friendly error page for a Sitecore application. We created a new htm page in root folder and used IIS custom errors (using web.config's custom errors element) to redirect errors to that page. Its not working for some server errors. For some server errors it is not reliable at all. Sometimes it works and sometime it shows server error in '/' application. This is in IIS 8.5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Coming to our testing environment its IIS 7.5. Here when we use custom errors of IIS (using web.config's custom errors element) it is not working at all for any server errors. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this the correct way. if it is, please tell us what is going wrong here. If not please suggest us the correct way. Thanks in advance :-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As suggested by @jammykam I did try http errors method suggested in this link:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/q/221/135&quot;&gt;How do you setup a 404 and 500 error page for missing files and media items?&lt;/a&gt; .&#xA;This method redirects me to the error page for all 500 and 404 errors but images in the error page are not loading. Instead of images, 'x' marks are showing up. &#xA;I tried the following code in web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpErrors errorMode=&quot;DetailedLocalOnly&quot; existingResponse=&quot;Replace&quot;&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;404&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;500&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;404&quot; path=&quot;C:/site_path/ErrorPage/ErrorPage.htm&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;500&quot; path=&quot;C:/site_path/ErrorPage/ErrorPage.htm&quot; responseMode=&quot;File&quot; /&amp;gt;&#xA;&amp;lt;/httpErrors&amp;gt; &#xA;&#xA;&amp;lt;!-- Disable for IIS 7+ --&amp;gt;&#xA;&amp;lt;customErrors mode=&quot;Off&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where I created new error page folder in the IIS website root folder which includes ErrorPage.htm (htm web page) and image required for it.&#xA;Web page loads perfectly fine when opened with any browser separately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure why the images are showing up as 'x' marks. Is it the problem with file response mode in http errors? Please help, thank you.&#xA;Edit2 as per the request in comment:&#xA;Html code is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;body&amp;gt;&#xA;&amp;lt;img src=&quot;errorImage.png&quot;&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where errorImage.png and ErrorPage.htm are in a folder named ErrorPage&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried the following html code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;body&amp;gt;&#xA;&amp;lt;img src=&quot;C:/ErrorPage/errorImage.png&quot;&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which shows up only blank page without any 'x' mark. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using the following code in web.config with AllowAbsolutePathWhenDelegated=false in iis at server level&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;httpErrors errorMode=&quot;DetailedLocalOnly&quot; existingResponse=&quot;Replace&quot;&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;404&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;500&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;404&quot; path=&quot;/ErrorPage/ErrorPage.htm&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;500&quot; path=&quot;/ErrorPage/ErrorPage.htm&quot; responseMode=&quot;File&quot; /&amp;gt;&#xA;&amp;lt;/httpErrors&amp;gt; &#xA;&#xA;&amp;lt;!-- Disable for IIS 7+ --&amp;gt;&#xA;&amp;lt;customErrors mode=&quot;Off&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error page is not loading. Please help. &lt;/p&gt;&#xA;" OwnerUserId="3472" LastEditorUserId="3472" LastEditDate="2018-04-20T05:08:23.183" LastActivityDate="2018-04-20T05:08:23.183" Title="Friendly error page for Sitecore web application" Tags="|configuration|error-handling|" AnswerCount="1" CommentCount="5" ClosedDate="2018-04-20T07:08:47.517" ContentLicense="CC BY-SA 3.0" />
  <row Id="11100" PostTypeId="1" AcceptedAnswerId="11102" CreationDate="2018-04-01T07:59:12.650" Score="7" ViewCount="3717" Body="&lt;p&gt;I was searching for Sitecore &lt;code&gt;page/request lifecycle&lt;/code&gt; explanation step by step, but didn't find any article that contains full information. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me to get full information on a &lt;code&gt;Sitecore page lifecycle&lt;/code&gt; where all the events and pipelines are explained and how a URL connects with a Sitecore item and then render all the components? &lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="5387" LastEditDate="2019-09-16T13:05:34.987" LastActivityDate="2019-09-16T13:05:34.987" Title="Sitecore Page Request Lifecycle" Tags="|information-architecture|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11101" PostTypeId="1" AcceptedAnswerId="11105" CreationDate="2018-04-01T09:08:12.257" Score="4" ViewCount="792" Body="&lt;p&gt;How prefetch cache update its cached item, If I change the content of Sitecore item? And also other ways of prefetch cache refreshing?&lt;/p&gt;&#xA;" OwnerUserId="1093" LastActivityDate="2021-12-02T17:36:20.557" Title="How to refresh prefetch cache?" Tags="|sitecore-client|performance-optimization|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11102" PostTypeId="2" ParentId="11100" CreationDate="2018-04-01T09:50:42.583" Score="9" Body="&lt;p&gt;It is too much information to provide in one answer or one article.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can suggest you to start with this diagram created by &lt;a href=&quot;https://twitter.com/dmo_sc&quot; rel=&quot;noreferrer&quot;&gt;David Morrison&lt;/a&gt;(I have added only few things related to Sitecore Analytics):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JIiVM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JIiVM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Diagram is actual for Sitecore 7. But in a way, how page is rendered, not too much changed in Sitecore 9. So, it can be good starting point.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Processor and pipeline names are quite descriptive to understand what they do.&#xA;To get deep knowledge you can go through them one by one to understand what exact happens inside. &lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-04-01T09:50:42.583" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11103" PostTypeId="2" ParentId="11097" CreationDate="2018-04-01T10:29:09.767" Score="0" Body="&lt;p&gt;I don't think that it will be easy to modify code above. Problem is that you will need to run all Sitecore pipelines and processors for all renderings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can suggest you different approach, how I did something similar some time ago. I wrote extension for Sitecore.MVC that allowed to get by AJAX request not full item presentation, but only part. It allowed to refresh only part of page. E.g., it could be used for refreshing basket on some commerce site without loading whole page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sequence, how to do it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create empty layout&lt;/li&gt;&#xA;&lt;li&gt;Add your handler that will process request&lt;/li&gt;&#xA;&lt;li&gt;Move presentation from Item layout details to some &quot;virtual&quot; presentation detail. Rendering that should be rendered should be placed in placeholder on empty layout.&lt;/li&gt;&#xA;&lt;li&gt;Run default Sitecore pipelines to perform rendering.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Idea is to place rendering that you need from real item presentation to new item presentation that is based on empty layout and then call default Sitecore pipelines. This approach will render your rendering and all nested renderings, because default Sitecore pipelines are used. Even more, if there is some personalization or A/B testing, it still will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is code that does this stuff:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  //The second parameter we need to pass is the PresentationId if not present the query if not valid -&amp;gt; don't continue  &#xA;  var presentationId = {UID of presentation item that should be rendered}&#xA;  if (string.IsNullOrEmpty(presentationId))&#xA;  {&#xA;    return;&#xA;  }&#xA;&#xA;  //If the current item is null return  &#xA;  if (Sitecore.Context.Item == null)&#xA;  {&#xA;    return;&#xA;  }&#xA;&#xA;  //Let's resolve the sublayout  &#xA;  try&#xA;  {&#xA;    //Get the list of rendering for the current item  &#xA;    var renderings = args.PageDefinition.Renderings;&#xA;    //If found  &#xA;    if (renderings != null &amp;amp;&amp;amp; renderings.Any())&#xA;    {&#xA;      //Get the first rendering corresponding to the requested one  &#xA;      var rendering = renderings.First(sublayout =&amp;gt; sublayout.RenderingItem.ID.ToString().Equals(presentationId));&#xA;&#xA;      if (rendering != null)&#xA;      {&#xA;        args.PageDefinition.Renderings.Remove(rendering);&#xA;        //Put this rendering into ajax layout  &#xA;        rendering.Placeholder = Constants.Strings.AjaxPlaceholderKey;&#xA;&#xA;        rendering.LayoutId = new Guid(Constants.IDs.AjaxEmptyLayout);&#xA;        var layout = renderings.First(x =&amp;gt; x.RenderingType == &quot;Layout&quot;);&#xA;        if (layout != null)&#xA;        {&#xA;          args.PageDefinition.Renderings.Remove(layout);&#xA;          for ( int i=0; i&amp;lt; args.PageDefinition.Renderings.Count; i++)&#xA;          {&#xA;            args.PageDefinition.Renderings[i].Placeholder =&#xA;              args.PageDefinition.Renderings[i].Placeholder.Split('/').Last();&#xA;            args.PageDefinition.Renderings[i].LayoutId =&#xA;              new Guid(Constants.IDs.AjaxEmptyLayout);&#xA;          }&#xA;          layout.LayoutId = new Guid(Constants.IDs.AjaxEmptyLayout);&#xA;          var getRedererArgs = new GetRendererArgs(new Rendering());&#xA;          getRedererArgs.LayoutItem =&#xA;            Sitecore.Context.Database.GetItem(Constants.IDs.AjaxEmptyLayout);&#xA;&#xA;          if (rendering.Renderer is Sitecore.Mvc.Presentation.ControllerRenderer)&#xA;          {&#xA;            RouteValueDictionary routeValueDictionary = new RouteValueDictionary();&#xA;            foreach (var key in  HttpContext.Current.Request.QueryString.AllKeys.Select(x=&amp;gt; x.ToString()))&#xA;            {&#xA;              routeValueDictionary.Add(key, HttpContext.Current.Request.QueryString[key]);&#xA;            }&#xA;            ((Presentation.ControllerRenderer)rendering.Renderer).routeValueDictionary = routeValueDictionary;&#xA;          }&#xA;          layout.Renderer = PipelineService.Get().RunPipeline&amp;lt;GetRendererArgs, Renderer&amp;gt;(PipelineNames.GetRenderer, getRedererArgs, a =&amp;gt; a.Result);&#xA;&#xA;          args.PageDefinition.Renderings.Add(layout);&#xA;          args.PageDefinition.Renderings.Add(rendering);&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;  catch (Exception exception)&#xA;  {&#xA;    Log.Warn(&quot;Failed to render presentation&quot;, exception, this);&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To see more in details, you can review &lt;a href=&quot;https://github.com/Antonytm/Sitecore.Mvc.Extension&quot; rel=&quot;nofollow noreferrer&quot;&gt;this GitHub repository&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-04-01T10:29:09.767" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11104" PostTypeId="2" ParentId="11100" CreationDate="2018-04-01T10:56:56.010" Score="2" Body="&lt;p&gt;Martin Davies started an overview of the request pipelines (in SC8) on is blog: &lt;a href=&quot;http://sitecoreskills.blogspot.be/2015/02/a-sitecore-8-request-from-beginning-to.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreskills.blogspot.be/2015/02/a-sitecore-8-request-from-beginning-to.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It gives an overview of the pipelines and pipeline steps. Some are already linked to detail pages (still some work to do to get full coverage but that is a lot of work).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this article very helpful when I need to figure out where to place a customization in the request process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More general information on a few commonly used pipelines can also be found on the &lt;a href=&quot;http://sitecore-community.github.io/docs/pipelines-and-events/pipelines/&quot; rel=&quot;nofollow noreferrer&quot;&gt;CommunityDocs&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;MVC specific pipeline information can be found on the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/mvc_and_pipelines&quot; rel=&quot;nofollow noreferrer&quot;&gt;official docs&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-04-01T10:56:56.010" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11105" PostTypeId="2" ParentId="11101" CreationDate="2018-04-01T12:56:02.240" Score="5" Body="&lt;p&gt;Sitecore populate prefetch catches just at application inititialization, and it maintains it during the lifetime of the application. Is not possible to update after you run the app and the prefetch cache is already initialized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Bellow are some information about prefetch cache : &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;There is a prefetch cache for each database&lt;/li&gt;&#xA;&lt;li&gt;Each cache entry is populated from the databases at Sitecore startup&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The items to cache are specified in the /app_config/prefetch config files&#xA;Cached items includes those in the config file for the specific database (for instance master.config) and the common.config file&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Entries include all field values for all versions of the item and information about the parent and children of the item&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;&amp;lt;childLimit&amp;gt;&lt;/code&gt; element defines a limit to the number of children to include in the prefetch cache&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More informations: &#xA;  &lt;a href=&quot;http://learnsitecore.cmsuniverse.net/en/Developers/Articles/2009/07/CachingOverview.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://learnsitecore.cmsuniverse.net/en/Developers/Articles/2009/07/CachingOverview.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.boro2g.co.uk/sitecore-prefetch-cache/&quot; rel=&quot;noreferrer&quot;&gt;https://blog.boro2g.co.uk/sitecore-prefetch-cache/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_us.pdf&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/sc62keywords/cache_configuration_reference_us.pdf&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-04-01T12:56:02.240" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11106" PostTypeId="1" CreationDate="2018-04-01T18:59:09.560" Score="6" ViewCount="1326" Body="&lt;p&gt;While doing email action for workflow on Sitecore 9 PaaS. I came around terms like Custom SMTP and Sitecore email cloud.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need some inputs around Custom SMTP .&#xA;I understand it is same what we do adding SMTP detail in web.config via patching  enabling mail send functionality.&#xA;Or it is something different?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I went through below  doc link and could not make out clear distinction. It ask to change configuration to switch between providers. I want to understand how switching will impact SMTP configuration patch for server detail like port/username/pwd etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/message_transfer_agent/the_sitecore_email_cloud_compared_to_the_custom_smtp&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/message_transfer_agent/the_sitecore_email_cloud_compared_to_the_custom_smtp&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/message_transfer_agent/use_a_custom_smtp_for_email_delivery&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/message_transfer_agent/use_a_custom_smtp_for_email_delivery&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="493" LastEditorUserId="493" LastEditDate="2018-04-04T07:32:05.690" LastActivityDate="2018-10-03T23:43:00.703" Title="Sitecore Email Cloud compared to the custom SMTP" Tags="|exm|workflow|paas|cloud|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11107" PostTypeId="2" ParentId="11031" CreationDate="2018-04-01T20:04:00.367" Score="3" Body="&lt;p&gt;In answer to your other question, you can run commands from a powershell console using SPE's remoting feature: &lt;a href=&quot;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/remoting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorepowershell.gitbooks.io/sitecore-powershell-extensions/remoting.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-04-01T20:04:00.367" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11108" PostTypeId="1" CreationDate="2018-04-02T02:14:06.290" Score="2" ViewCount="424" Body="&lt;p&gt;Client wanted to have a trailing slash at the end of urls and it should be redirected with 301. I have configured in IIS Url Rewrite and It is working fine as expected but I am getting an issue in the Analytics Tracker as below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9x4Cj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9x4Cj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version :: 9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across this issue? Kindly give your suggestions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: Sitecore experience editor is keep loading after these changes. I have tried installing sitecore rewrite module which breaks the sitecore instance.&lt;/p&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="2890" LastEditDate="2018-04-02T07:10:00.660" LastActivityDate="2018-04-02T08:05:21.987" Title="Sitecore analytics is not working after doing changes in IIS Url Rewrite Module" Tags="|experience-analytics|redirect|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11109" PostTypeId="2" ParentId="11108" CreationDate="2018-04-02T02:53:51.257" Score="3" Body="&lt;p&gt;Based on the error above, it looks like you are rewriting too many URL formats. Your client likely wanted folders (like &quot;www.example.com/about-us&quot;) rewritten to have trailing slashes, not all file names. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;File paths like .htm, .aspx, .css, etc. should not usually be rewritten in this way. It breaks the file extension.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-04-02T02:53:51.257" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11110" PostTypeId="2" ParentId="11106" CreationDate="2018-04-02T03:10:12.207" Score="1" Body="&lt;p&gt;Starting from Sitecore 9 you have Rule Based Configuration. &#xA;@JammyKam explained here very nice:  &lt;a href=&quot;https://jammykam.wordpress.com/2017/10/17/rules-based-configuration/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2017/10/17/rules-based-configuration/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For EXM in web.config you define EDS role of the server using next configurations: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- SUPPORTED EDS PROVIDERS     &#xA;                 Specify the Email Delivery provider that you want this server to use. &#xA;&#xA;The supported providers are:&#xA;&#xA;                 CustomSmtp&#xA;                 EmailCloud&#xA;            --&amp;gt;&#xA;    &amp;lt;add key=&quot;eds:define&quot; value=&quot;CustomSMTP&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the folder \App_Config\Sitecore\EmailExperience\ you have all configuration for &lt;strong&gt;EmailCloud(Sparkpost)&lt;/strong&gt; and for &lt;strong&gt;CustomSmtp&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For EmailCloud all the settings are defined in 3 files: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\App_Config\Sitecore\EmailExperience\Sitecore.EDS.Providers.SparkPost.config&#xA;\App_Config\Sitecore\EmailExperience\Sitecore.EDS.Providers.SparkPost.Sync.config  &#xA;\App_Config\Sitecore\EmailExperience\Sitecore.EDS.SparkPost.Client.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For CustomSmtp all settings\properties are defined in the files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\App_Config\Sitecore\EmailExperience\Sitecore.EDS.Providers.CustomSMTP.config&#xA;\App_Config\Sitecore\EmailExperience\Sitecore.EDS.Providers.CustomSMTP.Sync.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you add Eds:Role in the patch config file it should not affect any configuration for user/passwpord&#xA;On the top of the patch config file for customSMTP configuration you need to have Eds role and server role like in below config : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;!--&#xA;Purpose: This include file configures Email delivery service API.&#xA;--&amp;gt;&#xA;&amp;lt;configuration xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:eds=&quot;http://www.sitecore.net/xmlconfig/eds/&quot; xmlns:exmEnabled=&quot;http://www.sitecore.net/xmlconfig/exmEnabled/&quot;&amp;gt;&#xA;    &amp;lt;sitecore exmEnabled:require=&quot;yes&quot; role:require=&quot;Standalone or ContentManagement or DedicatedDispatch&quot; eds:require=&quot;CustomSmtp&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using yourhostname/sitecore/admin/showconfig.aspx you can see how new patch files are applied into your Sitecore solution. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-04-02T04:11:36.717" LastActivityDate="2018-04-02T04:11:36.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11111" PostTypeId="2" ParentId="11108" CreationDate="2018-04-02T08:05:21.987" Score="0" Body="&lt;p&gt;Let say you have next rewrite rule:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Force trailing slash&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;(.*[^/])&quot; /&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/{R:1}/&quot; appendQueryString=&quot;true&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You have to add conditions to avoid redirection of URL that are paths that should not be redirected (paths to files or specific Sitecore paths):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Force trailing slash&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;(.*[^/])&quot; /&amp;gt;&#xA;    &amp;lt;conditions logicalGrouping=&quot;MatchAll&quot;&amp;gt;&#xA;      &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;off&quot; ignoreCase=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;add input=&quot;{REQUEST_URI}&quot; negate=&quot;true&quot; pattern=&quot;^.*\.css$&quot; ignoreCase=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;add input=&quot;{REQUEST_URI}&quot; negate=&quot;true&quot; pattern=&quot;^.*\.aspx$&quot; ignoreCase=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;add input=&quot;{REQUEST_URI}&quot; negate=&quot;true&quot; pattern=&quot;^.*\.js$&quot; ignoreCase=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;add input=&quot;{REQUEST_URI}&quot; negate=&quot;true&quot; pattern=&quot;^.*\.ashx$&quot; ignoreCase=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;add input=&quot;{REQUEST_URI}&quot; negate=&quot;true&quot; pattern=&quot;^sitecore.*\.js$&quot; ignoreCase=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/{R:1}/&quot; appendQueryString=&quot;true&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-04-02T08:05:21.987" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11112" PostTypeId="1" CreationDate="2018-04-02T09:05:43.370" Score="1" ViewCount="28" Body="&lt;p&gt;In our website(Sitecore 8.2 u5), we have a user registration page and also the social login option.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the social login, we are using the in-built Social connector module.&#xA;When user logs in using their social network account for the first time, Sitecore will create a new user with any password. This is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, for a change request, we had to implement a password policy with some standard specifications like one uppercase, one symbol etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was implemented as a web.config setting where you can give a regular expression in the &lt;code&gt;membership&lt;/code&gt; node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the custom registration form, the user entered password is matched &amp;amp; validated with the regular exprn. and this is working fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue is now with the social login. The account is not created when a new user logs via social network and there is a Facebook error that says &quot;password not valid&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess it is happening because, when Sitecore is generating a new password, it isn't matching with the regular exprn./password policy. Is that correct?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Does Sitecore create same password for every social login.  &lt;/li&gt;&#xA;&lt;li&gt;Is there a way that I can tell Sitecore to bypass this policy, if it is a social login.&lt;/li&gt;&#xA;&lt;li&gt;If option 2 is not possible, can we make Sitecore to create social login accounts with one custom password, either by any config setting or code.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-04-02T09:05:43.370" Title="Social login not working when password policy is implemented" Tags="|social-connected|membership-provider|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11113" PostTypeId="2" ParentId="6429" CreationDate="2018-04-02T11:24:44.693" Score="1" Body="&lt;p&gt;The problem reproduces when CM servers are distributed under a load balancer without sticky session properly set. The error occurs when LB serves you requests from one CM and suddenly when you post back data to the server the other CM responds - the request cannot find the initial ViewState values on the other CM disk (by default Sitecore stores ViewState on disk).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve it, store ViewState in the database and Sitecore has settings for it (Sitecore 8.1). Add the following settings in your own include config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;setting name=&quot;ViewStateStore&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;Sitecore.Data.DataProviders.DatabaseViewStateStore, Sitecore.Kernel&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;setting name=&quot;PageStateStore&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;Sitecore.Web.UI.DatabasePageStateStore, Sitecore.Kernel&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;setting name=&quot;Caching.CacheViewState&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3475" LastActivityDate="2018-04-02T11:24:44.693" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11114" PostTypeId="1" AcceptedAnswerId="11115" CreationDate="2018-04-02T13:48:36.037" Score="0" ViewCount="274" Body="&lt;p&gt;&lt;strong&gt;using:&lt;/strong&gt; VS-2017(as admin), sitecore-8.1.2 and SQL - 2012.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a ASP.Net web application - WebAPI to read content from my local sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &quot;ValuesController.cs&quot; I am using the below code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// GET api/values&#xA;    public string Get()&#xA;    {&#xA;        var context = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;        string itemPath = &quot;/sitecore/content/Home&quot;;&#xA;        Sitecore.Data.Items.Item item = context.Items[itemPath,Sitecore.Globalization.Language.Predefined.English];&#xA;        return item.GetOuterXml(true);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;FYI - I copied all the app_config folder and added all .dll's into the project, from my local sitecore instance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Build-succeeded. When I try to run the project in IE/Chrome it's working fine, but if I trying to access this URL- &lt;a href=&quot;http://localhost:1025/api/values&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:1025/api/values&lt;/a&gt; I am getting the below error.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2CoPN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2CoPN.png&quot; alt=&quot;SQL issue&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;with the stackTrace:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;at System.Web.DataAccess.SqlConnectionHelper.CreateMdfFile(String&#xA;  fullFileName, String dataDir, String connectionString)    at&#xA;  System.Web.DataAccess.SqlConnectionHelper.EnsureDBFile(String&#xA;  connectionString)    at&#xA;  System.Web.DataAccess.SqlConnectionHelper.GetConnection(String&#xA;  connectionString, Boolean revertImpersonation)    at&#xA;  System.Web.Security.SqlRoleProvider.IsUserInRole(String username,&#xA;  String roleName)    at System.Web.Security.Roles.IsUserInRole(String&#xA;  username, String roleName)    at&#xA;  Sitecore.Security.Accounts.RolesInRolesProvider.IsUserInRole(User&#xA;  user, Role targetRole, Boolean includeIndirectMemberships)    at&#xA;  Sitecore.Security.Accounts.User.IsInRole(String roleName)    at&#xA;  Sitecore.Security.Accounts.User.IsInRole(Role role)    at&#xA;  Sitecore.Security.Accounts.Role.IsMember(Account account, Boolean&#xA;  includeRoleMembers, Boolean includeEveryoneMembers)    at&#xA;  Sitecore.Security.AccessControl.AccessRule.RuleAppliesToAccount(Account&#xA;  account, Boolean includeRoleMembers, Boolean includeEveryoneMembers)&lt;br&gt;&#xA;  at Sitecore.Security.AccessControl.AccessRule.RuleApplies(Account&#xA;  account, AccessRight accessRight, PropagationType propagationType,&#xA;  Boolean includeRoleMembers, Boolean includeEveryoneMembers)    at&#xA;  Sitecore.Security.AccessControl.AccessRule.IsMatch(Account account,&#xA;  AccessRight accessRight, PropagationType propagationType,&#xA;  AccessPermission permission, Boolean includeRoleMembers, Boolean&#xA;  includeEveryoneMembers)    at&#xA;  Sitecore.Security.AccessControl.AccessRuleCollectionHelper.GetMatchingRule(Account&#xA;  account, AccessRight accessRight, PropagationType propagationType,&#xA;  AccessPermission permission, Boolean includeRoleMembers, Boolean&#xA;  includeEveryoneMembers)    at&#xA;  Sitecore.Security.AccessControl.AccessRuleCollectionHelper.GetMatchingRule(Account&#xA;  account, AccessRight accessRight, PropagationType propagationType)&lt;br&gt;&#xA;  at&#xA;  Sitecore.Security.AccessControl.ItemAuthorizationHelper.GetItemAccess(Item&#xA;  item, Account account, AccessRight accessRight, PropagationType&#xA;  propagationType)    at&#xA;  Sitecore.Buckets.Security.AuthenticationHelper.GetItemAccess(Item&#xA;  item, Account account, AccessRight accessRight, PropagationType&#xA;  propagationType)    at&#xA;  Sitecore.Security.AccessControl.ItemAuthorizationHelper.GetAccess(Item&#xA;  item, Account account, AccessRight accessRight)    at&#xA;  Sitecore.Security.AccessControl.SqlAuthorizationProvider.GetItemAccess(Item&#xA;  item, Account account, AccessRight accessRight)    at&#xA;  Sitecore.Security.AccessControl.SqlAuthorizationProvider.GetAccessCore(ISecurable&#xA;  entity, Account account, AccessRight accessRight)    at&#xA;  Sitecore.Security.AccessControl.AuthorizationProvider.GetAccess(ISecurable&#xA;  entity, Account account, AccessRight accessRight)    at&#xA;  Sitecore.Security.AccessControl.AuthorizationManager.GetAccess(ISecurable&#xA;  entity, Account account, AccessRight accessRight)    at&#xA;  Sitecore.Security.AccessControl.AuthorizationManager.IsAllowed(ISecurable&#xA;  entity, AccessRight right, Account account)    at&#xA;  Sitecore.Security.AccessControl.ItemAccess.CanRead()    at&#xA;  Sitecore.Data.Managers.ItemProvider.ApplySecurity(Item item,&#xA;  SecurityCheck securityCheck)    at&#xA;  Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language&#xA;  language, Version version, Database database, SecurityCheck&#xA;  securityCheck)    at&#xA;  Sitecore.Data.Managers.ItemProvider.GetItem(String itemPath, Language&#xA;  language, Version version, Database database, SecurityCheck&#xA;  securityCheck)    at&#xA;  Sitecore.Data.Managers.PipelineBasedItemProvider.&amp;lt;&gt;c__DisplayClass2f.b__2e()&#xA;  at&#xA;  Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String&#xA;  pipelineName, String pipelineDomain, Func 1 pipelineArgsCreator,&#xA;  Func 1 fallbackResult)    at&#xA;  Sitecore.Data.Managers.PipelineBasedItemProvider.GetItem(String&#xA;  itemPath, Language language, Version version, Database database,&#xA;  SecurityCheck securityCheck)    at&#xA;  Sitecore.Data.Managers.ItemManager.GetItem(String itemPath, Language&#xA;  language, Version version, Database database)    at&#xA;  Sitecore.Data.ItemRecords.get_Item(String itemPath, Language language)&#xA;  at Sitecore.WebAPI.Controllers.ValuesController.Get() in&#xA;  C:\Users\sreddy1\Downloads\SitecoreSSCAndroid-master\Sitecore.WebAPI\Controllers\ValuesController.cs:line&#xA;  20    at lambda_method(Closure , Object , Object[] )    at&#xA;  System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&gt;c__DisplayClass10.b__9(Object&#xA;  instance, Object[] methodParameters)    at&#xA;  System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object&#xA;  instance, Object[] arguments)    at&#xA;  System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext&#xA;  controllerContext, IDictionary`2 arguments, CancellationToken&#xA;  cancellationToken)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Thanks in advance!&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="3476" LastEditorUserId="2890" LastEditDate="2018-04-03T06:42:53.287" LastActivityDate="2018-04-03T06:42:53.287" Title="'Unable to connect to SQL Server database.' - webAPI" Tags="|sitecore-api|webapi|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11115" PostTypeId="2" ParentId="11114" CreationDate="2018-04-02T15:14:01.717" Score="1" Body="&lt;p&gt;The best way to create REST api service in sitecore is using the ServiceAPI. Since you're using sitecore 8.1, you can create webapi services easily. Kindly follow below articles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://hookedon.digital/2015/12/03/leveraging-the-servicesapicontroller-part-1-implementing-a-sitecore-service-api-controller/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hookedon.digital/2015/12/03/leveraging-the-servicesapicontroller-part-1-implementing-a-sitecore-service-api-controller/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can even customize the routes as follows.&#xA;&lt;a href=&quot;http://hookedon.digital/2016/05/08/sitecore-service-api-controller-and-custom-routes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hookedon.digital/2016/05/08/sitecore-service-api-controller-and-custom-routes/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2018-04-02T15:14:01.717" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11117" PostTypeId="2" ParentId="11050" CreationDate="2018-04-02T17:50:59.647" Score="4" Body="&lt;p&gt;A new Docker image must be created. This new image will inherit &lt;a href=&quot;https://github.com/Sitecore/docker-images&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore base images&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may have different Dockerfile files for different purposes. One could be for debugging and other could be for release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By using Docker-Compose you can define an environment with a MSSQL container, another Solr container and a Sitecore website container along with the dependencies among them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Visual Studio 2017, with its OOTB Docker support, can help a lot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please find next a link to an example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/docker-demo/tree/master/sitecore/9.0.1%20rev.%20171219%20XM1/VS2017/SimpleSample&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/docker-demo/tree/master/sitecore/9.0.1%20rev.%20171219%20XM1/VS2017/SimpleSample&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The steps to create a development environment with the provided sample are as follow:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Clone the &lt;a href=&quot;https://github.com/Sitecore/docker-images&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Docker Images repository&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Build all images for &quot;Sitecore 9.0.1 rev. 171219 XM1&quot;. Detailed steps provided with the repository.&lt;/li&gt;&#xA;&lt;li&gt;Clone &lt;a href=&quot;https://github.com/Sitecore/docker-demo&quot; rel=&quot;nofollow noreferrer&quot;&gt;the Sitecore Docker Demo repository&lt;/a&gt; into a folder such as “c:\Docker\Sitecore\docker-demo” (next steps will asume this folder has been used):&lt;/li&gt;&#xA;&lt;li&gt;Copy &quot;&lt;strong&gt;license.xml&lt;/strong&gt;&quot; into &quot;C:\Docker\Sitecore\docker-demo\sitecore\9.0.1 rev. 171219 XM1\VS2017\SimpleSample\&lt;strong&gt;storage\Data&lt;/strong&gt;“&lt;/li&gt;&#xA;&lt;li&gt;Open VS2017 as Administrator&lt;/li&gt;&#xA;&lt;li&gt;Open the solution “C:\Docker\Sitecore\docker-demo\sitecore\9.0.1 rev. 171219 XM1\VS2017\SimpleSample\&lt;strong&gt;SimpleSample.sln&lt;/strong&gt;”&lt;/li&gt;&#xA;&lt;li&gt;Make sure the project “&lt;strong&gt;docker-compose&lt;/strong&gt;” is set as StartUp project&lt;/li&gt;&#xA;&lt;li&gt;Build the solution. The two projects in the solution should compile.&lt;/li&gt;&#xA;&lt;li&gt;Review the files &quot;Website\Dockerfile&quot; and &quot;Website\build.Dockerfile&quot; and update the FROM clause with the name used to build the base images.&lt;/li&gt;&#xA;&lt;li&gt;Build the solution with “&lt;strong&gt;Debug&lt;/strong&gt;” configuration (&quot;F5&quot;).&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The first time the containers run, the base images will detect that the required assets (databases, indexes and site files) are missing in their respected VOLUMEs (pointing to the development environment) and will take some time to create them. VS will build the containers and will try to attach to the IIS's process running in website's container, however it will fail (TODO: fix this known issue). In the meantime, the file transfer from the images to the Development environment will keep progresing. Please be patient.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;Copy the website's container’s IP from the VS' &quot;Output&quot; panel (make sure it is the &quot;Docker&quot; output) and paste the IP on a browser's address bar. Please notice that Sitecore needs some time to warm-up, therefore the initial start may take a bit (up to 1-2 min).&lt;/li&gt;&#xA;&lt;li&gt;The browser will display the OOTB Sitecore’s home page.&lt;/li&gt;&#xA;&lt;li&gt;Any change made to the following folder will be automatically detected by sitecore &#xA;&quot;C:\Docker\Sitecore\docker-demo\sitecore\9.0.1 rev. 171219 XM1\VS2017\SimpleSample\&lt;strong&gt;storage\Website&lt;/strong&gt;“&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="595" LastEditorUserId="595" LastEditDate="2018-04-02T18:20:33.290" LastActivityDate="2018-04-02T18:20:33.290" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11118" PostTypeId="2" ParentId="11106" CreationDate="2018-04-03T00:31:57.070" Score="3" Body="&lt;p&gt;The documents you have linked to explain the difference between Sitecore Email Cloud and Custom SMTP.  At a basic level, both providers allow you to do the same thing which is to send some emails, but each has it's own features. Sitecore Email Cloud is a paid for service, whereas it is up to you which Custom SMTP service you use. The answer from @Vlad also describes how to switch between the providers in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are trying to configure the mail server in order to send emails using the default &lt;code&gt;Email Workflow Action&lt;/code&gt; created using &lt;code&gt;/sitecore/templates/System/Workflow/Email action&lt;/code&gt; then you do not need to worry about the Sitecore Email Cloud or Custom SMTP settings, and you should specify the SMTP details in the &lt;code&gt;Mail server&lt;/code&gt; field of the Workflow Action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IsIk3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IsIk3.png&quot; alt=&quot;Workflow Email SMTP&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those settings are more relevant for Email Experience Manager and anything which uses this module to send (mainly bulk) email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default Workflow Email implementation is &lt;code&gt;Sitecore.Workflows.Simple.EmailAction&lt;/code&gt; in &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt; and this sends email using the &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient(v=vs.110).aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;SmtpClient&lt;/code&gt; class&lt;/a&gt;. The implementation is very crude IMO, and you would better providing your own implementation allowing the use of an empty &lt;code&gt;SmtpClient&lt;/code&gt; constructor to &lt;a href=&quot;https://stackoverflow.com/a/11845555/661447&quot;&gt;use the configuration settings from &lt;code&gt;web.config&lt;/code&gt;&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can use the &lt;code&gt;Sitecore.MainUtil.SendMail(MailMessage message)&lt;/code&gt; helper which will allow you to set and use the &lt;code&gt;MailMessage message&lt;/code&gt;,  &lt;code&gt;MailServerUserName&lt;/code&gt;, &lt;code&gt;MailServerPassword&lt;/code&gt; and &lt;code&gt;MailServerPort&lt;/code&gt; settings from the default Sitecore config. Both these are ideal for simple system messages and notifications (EXM is better for more complex emails and campaigns). These settings are NOT used by Sitecore Cloud Email or Custom SMTP which use their own configuration.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="3119" LastEditDate="2018-10-03T23:43:00.703" LastActivityDate="2018-10-03T23:43:00.703" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11119" PostTypeId="2" ParentId="11096" CreationDate="2018-04-03T06:52:26.350" Score="1" Body="&lt;p&gt;Your list of values for states is not valid and that is causing you trouble.&#xA;Instead of South Carolina and South Dakota you are using same value &quot;South&quot; and that's why you have duplicates. &quot;Carolina&quot; and &quot;Dakota&quot; are not part of value.&#xA;Text part / Display name is rendered correctly. Only problem is with Value field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have the same also for states that start with &quot;New&quot; and &quot;North&quot;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-04-03T06:52:26.350" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11120" PostTypeId="2" ParentId="10819" CreationDate="2018-04-03T07:14:35.820" Score="16" Body="&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Currently WAF is supported in diagnostic mode only for v8.2 and 9.0 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In version 9.1 WAF is supported for the CD servers.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information can be found here: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-manager/en/using-azure-application-gateway-to-secure-your-content-delivery-server.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-manager/en/using-azure-application-gateway-to-secure-your-content-delivery-server.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Below are the list of OWASP rules that are causing problems, and as you can see there are two that cannot be disabled so we there is no work around for WAF right now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Breaks Site: 942200  942260  942330  942340  942350  942370&lt;br&gt;&#xA;Breaks CMS (when going into a piece of content): 941180  942100  942110  942130  942150&lt;br&gt;&#xA;Can't be removed in WAF: 949110  980130&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2019-11-11T10:44:38.923" LastActivityDate="2019-11-11T10:44:38.923" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="11124" PostTypeId="5" CreationDate="2018-04-03T09:41:46.143" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-04-03T09:41:46.143" LastActivityDate="2018-04-03T09:41:46.143" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11125" PostTypeId="4" CreationDate="2018-04-03T09:41:46.143" Score="0" Body="Everything related to Web Application Firewall" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2018-04-03T11:09:01.437" LastActivityDate="2018-04-03T11:09:01.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11127" PostTypeId="1" CreationDate="2018-04-03T11:33:08.450" Score="3" ViewCount="467" Body="&lt;p&gt;I tried to integrate Sitecore 9 with Azure AD. It was successful.&#xA;I have used persistent user setting therefore user is automatically created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, in old system some users already existed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to follow business requirements:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If Azure AD account has same email with a old account =&gt; it will be mapped and no need to create new user&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;How can I achieve this with federated authentication?&lt;/p&gt;&#xA;" OwnerUserId="3481" LastEditorUserId="2056" LastEditDate="2018-04-03T12:34:18.200" LastActivityDate="2023-12-25T17:09:26.207" Title="Sitecore 9 Federated Authentication mapping with existing users" Tags="|federated-authentication|azure-ad|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11128" PostTypeId="1" AcceptedAnswerId="11129" CreationDate="2018-04-03T12:58:09.027" Score="1" ViewCount="574" Body="&lt;p&gt;I add a custom computed field to the fieldmap node in the Lucene Search config like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA; &amp;lt;field fieldName=&quot;my_field&quot; indexType=&quot;UNTOKENIZED&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;&amp;lt;/fieldNames&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also registered my custom computed field like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA; &amp;lt;field fieldName=&quot;my_field&quot; indexType=&quot;UNTOKENIZED&quot; returnType=&quot;stringCollection&quot;&amp;gt;MyAssembly.MyField,MyAssembly&amp;lt;/field&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After saving and building the solution I got this error when logging into Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;contextDatabase&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of&#xA;  the current web request. Please review the stack trace for more&#xA;  information about the error and where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.InvalidOperationException: contextDatabase&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: contextDatabase]&lt;br&gt;&#xA;  Sitecore.Forms.Core.Dependencies.DefaultImplItemRepository..ctor(Database&#xA;  contextDatabase, Database masterDatabase) +103&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further Information:&lt;/strong&gt; Sitecore 8.2 update 6.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-04-03T12:58:09.027" Title="Error when adding computed index field: InvalidOperationException contextDatabase" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11129" PostTypeId="2" ParentId="11128" CreationDate="2018-04-03T12:58:09.027" Score="1" Body="&lt;p&gt;I am not sure what the issue was but in the end to fix this I had to update by field to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;my_field&quot; indexType=&quot;UNTOKENIZED&quot; returnType=&quot;stringCollection&quot; storageType=&quot;YES&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;        &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;    &amp;lt;/field&amp;gt;&#xA;&amp;lt;/fieldNames&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I thought it might be the self-closing tag but I tried just updating that and that that didn't resolve the issue so i'm assuming it is either the settingType attribute or  child node that solved this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone has a better solution please let me know. &lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-04-03T12:58:09.027" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11130" PostTypeId="1" AcceptedAnswerId="11202" CreationDate="2018-04-03T14:39:21.827" Score="3" ViewCount="645" Body="&lt;p&gt;I'm trying to create a marketing automation EXM campaign with custom-made tokens in the e-mails. To this end, we're importing contacts from a CSV into the xDB and reading them with a custom dispatcher and token map.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed the steps outlined in the &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/recipients/create_a_custom_personalization_token&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; and I've succeeded to get my tokens to show up in the EXM editor and tokens that have standard facets as a datasource are filled correctly. I've also validated imported contacts to have correctly filled facet values. However my tokens that should be filled with those values from my custom facets remain empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I strongly suspect this has something to do with my implementation of either the Dispatcher or TokenMap, but both the documentation and my personal experience with this piece of Sitecore are simply not sufficient to come to a conclusion I'm afraid. Can anyone help me out?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For context, below are excerpts from my Facet, DispatchTask and TokenMapper respecively:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[FacetKey(FacetKeys.PolicyHolder)]&#xA;public class PolicyHolder : Facet&#xA;{&#xA;    public const string DefaultFacetKey = FacetKeys.PolicyHolder;&#xA;&#xA;    public string PolicyHolderId { get; set; }&#xA;    public string InsertionCapital { get; set; }&#xA;    public string InsertionLower { get; set; }&#xA;}&#xA;&#xA;public static class MaturityMailFacetExtensions&#xA;{&#xA;    public static PolicyHolder GetPolicyHolder(this Contact contact)&#xA;    {&#xA;        return contact.GetFacet&amp;lt;PolicyHolder&amp;gt;();&#xA;    }&#xA;&#xA;    public static PersonalInformation GetPolicyHolderPersonalInformation(this Contact contact)&#xA;    {&#xA;        return contact.GetFacet&amp;lt;PersonalInformation&amp;gt;();&#xA;    }&#xA;}&#xA;&#xA;public class MarketingAutomationDispatchTask : DispatchTask&#xA;{&#xA;    private IContactService _contactService;&#xA;    public MarketingAutomationDispatchTask(ShortRunningTaskPool taskPool, IRecipientValidator recipientValidator, IContactService contactService, EcmDataProvider dataProvider, ItemUtilExt itemUtil, IEventDataService eventDataService, IDispatchManager dispatchManager, EmailAddressHistoryManager emailAddressHistoryManager, IRecipientManagerFactory recipientManagerFactory, SentMessageManager sentMessageManager)&#xA;        : base(taskPool, recipientValidator, contactService, dataProvider, itemUtil, eventDataService, dispatchManager, emailAddressHistoryManager, recipientManagerFactory, sentMessageManager)&#xA;    {&#xA;        _contactService = contactService;&#xA;    }&#xA;&#xA;    protected override IReadOnlyCollection&amp;lt;IEntityLookupResult&amp;lt;Contact&amp;gt;&amp;gt; GetContacts(List&amp;lt;DispatchQueueItem&amp;gt; dispatchQueueItems)&#xA;    {&#xA;        return _contactService.GetContacts(dispatchQueueItems.Select(x =&amp;gt; x.ContactIdentifier),&#xA;            FacetKeys.MaturityMailModelFacets);&#xA;    }&#xA;}&#xA;&#xA;public class MarketingAutomationTokenMap : DefaultRecipientPropertyTokenMap&#xA;{&#xA;    protected static readonly MethodInfo GetPolicyHolderPersonalInformation = typeof(MaturityMailFacetExtensions).GetMethod(nameof(MaturityMailFacetExtensions.GetPolicyHolderPersonalInformation), new[] { typeof(Contact) });&#xA;    protected static readonly MethodInfo GetPolicyHolder = typeof(MaturityMailFacetExtensions).GetMethod(nameof(MaturityMailFacetExtensions.GetPolicyHolder), new[] { typeof(Contact) });&#xA;&#xA;    static MarketingAutomationTokenMap()&#xA;    {&#xA;        if (TokenBindings == null)&#xA;        {&#xA;            TokenBindings = new Dictionary&amp;lt;Token, RecipientPropertyTokenBinding&amp;gt;();&#xA;        }&#xA;&#xA;        // These work&#xA;        var customTokenBinding = RecipientPropertyTokenBinding.Build&amp;lt;PersonalInformation&amp;gt;(new Token(MarketingAutomationTokens.InitialsPolicyHolder), p =&amp;gt; p.FirstName, GetPolicyHolderPersonalInformation);&#xA;        TokenBindings.Add(customTokenBinding.Token, customTokenBinding);&#xA;&#xA;        customTokenBinding = RecipientPropertyTokenBinding.Build&amp;lt;PersonalInformation&amp;gt;(new Token(MarketingAutomationTokens.LastNamePolicyHolder), p =&amp;gt; p.LastName, GetPolicyHolderPersonalInformation);&#xA;        TokenBindings.Add(customTokenBinding.Token, customTokenBinding);&#xA;&#xA;        customTokenBinding = RecipientPropertyTokenBinding.Build&amp;lt;PersonalInformation&amp;gt;(new Token(MarketingAutomationTokens.GenderPolicyHolder), p =&amp;gt; p.Gender, GetPolicyHolderPersonalInformation);&#xA;        TokenBindings.Add(customTokenBinding.Token, customTokenBinding);&#xA;&#xA;        // These don't&#xA;        customTokenBinding = RecipientPropertyTokenBinding.Build&amp;lt;PolicyHolder&amp;gt;(new Token(MarketingAutomationTokens.LastNamePrefixCapitalCasePolicyHolder), p =&amp;gt; p.InsertionCapital, GetPolicyHolder);&#xA;        TokenBindings.Add(customTokenBinding.Token, customTokenBinding);&#xA;&#xA;        customTokenBinding = RecipientPropertyTokenBinding.Build&amp;lt;PolicyHolder&amp;gt;(new Token(MarketingAutomationTokens.LastNamePrefixLowerCasePolicyHolder), p =&amp;gt; p.InsertionLower, GetPolicyHolder);&#xA;        TokenBindings.Add(customTokenBinding.Token, customTokenBinding);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lastly, the config that puts it all together:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;exm&amp;gt;&#xA;            &amp;lt;dispatchTask type=&quot;Feature.ExmTokenReplacer.MarketingAutomationDispatchTask, Feature.ExmTokenReplacer&quot; patch:instead=&quot;*[@type='Sitecore.EmailCampaign.Cm.Dispatch.DispatchTask, Sitecore.EmailCampaign.Cm']&quot;&amp;gt;&#xA;                &amp;lt;param ref=&quot;exm/dispatchFailedTaskPool&quot;/&amp;gt;&#xA;                &amp;lt;param desc=&quot;recipientValidator&quot; ref=&quot;exm/recipientValidator&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;contactService&quot; ref=&quot;exm/contactService&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;dataProvider&quot; ref=&quot;exm/dataProvider&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;itemUtil&quot; ref=&quot;exm/itemUtil&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;eventDataService&quot; ref=&quot;exm/eventDataService&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;dispatchManager&quot; ref=&quot;exm/dispatchManager&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;emailAddressHistoryManager&quot; ref=&quot;exm/emailAddressHistoryManager&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;recipientManagerFactory&quot; ref=&quot;exm/recipientManagerFactory&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;sentHistoryManager&quot; ref=&quot;exm/sentHistoryManager&quot; /&amp;gt;&#xA;            &amp;lt;/dispatchTask&amp;gt;&#xA;        &amp;lt;/exm&amp;gt;&#xA;        &amp;lt;recipients&amp;gt;&#xA;            &amp;lt;recipientPropertyTokenMap type=&quot;Feature.ExmTokenReplacer.MarketingAutomationTokenMap, Feature.ExmTokenReplacer&quot; singleInstance=&quot;true&quot; patch:instead=&quot;*[@type='Sitecore.Modules.EmailCampaign.Core.Personalization.DefaultRecipientPropertyTokenMap, Sitecore.EmailCampaign']&quot; /&amp;gt;&#xA;        &amp;lt;/recipients&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT: As requested, here's the PolicyHolder JSON that's deployed in the IndexWorker and XConnect app_data/model folders:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;Name&quot;: &quot;MaturityMailModel&quot;,&#xA;  &quot;Version&quot;: &quot;1.0&quot;,&#xA;  &quot;References&quot;: [&#xA;    {&#xA;      &quot;Name&quot;: &quot;XConnect&quot;,&#xA;      &quot;Version&quot;: &quot;1.0&quot;&#xA;    },&#xA;    {&#xA;      &quot;Name&quot;: &quot;Sitecore.XConnect.Collection.Model&quot;,&#xA;      &quot;Version&quot;: &quot;9.0&quot;&#xA;    }&#xA;  ],&#xA;  &quot;Types&quot;: {&#xA;    &quot;Foundation.MarketingAutomation.Models.Facets.PolicyHolder&quot;: {&#xA;      &quot;Type&quot;: &quot;Facet&quot;,&#xA;      &quot;BaseType&quot;: &quot;Sitecore.XConnect.Facet&quot;,&#xA;      &quot;ClrType&quot;: &quot;Foundation.MarketingAutomation.Models.Facets.PolicyHolder, Foundation.MarketingAutomation.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot;,&#xA;      &quot;Properties&quot;: {&#xA;        &quot;PolicyHolderId&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;InsertionCapital&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;InsertionLower&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        }&#xA;      }&#xA;    },&#xA;    (etc...)&#xA;  },&#xA;  &quot;Facets&quot;: [&#xA;    {&#xA;      &quot;Target&quot;: &quot;Contact&quot;,&#xA;      &quot;Name&quot;: &quot;PolicyHolder&quot;,&#xA;      &quot;Type&quot;: &quot;Foundation.MarketingAutomation.Models.Facets.PolicyHolder&quot;&#xA;    },&#xA;    (etc...)&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2369" LastEditorUserId="2369" LastEditDate="2018-04-05T12:17:48.820" LastActivityDate="2018-04-06T11:22:33.280" Title="Custom tokens in EXM not filled" Tags="|xdb|exm|xconnect|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="11131" PostTypeId="1" CreationDate="2018-04-03T17:30:30.887" Score="0" ViewCount="1153" Body="&lt;p&gt;I am having issues when passing Guid as the data source for edit Frame.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I populate the Guid directly it works fine but while binding it from model am getting an error message&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc.Extensions&#xA;@{&#xA;    var itemid = @Model.PropertyGuid;&#xA;}&#xA;&#xA;@foreach (Sitecore.Data.Items.Item listItem in @Model.DiningServiceItem)&#xA;{&#xA;    using (Html.EditFrame(&quot;@itemid&quot;, &quot;DininglEvents&quot;, null, null, null, null))&#xA;    {&#xA;        &amp;lt;li&amp;gt; @listItem.Name&amp;lt;/li&amp;gt;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Error message: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;An error occurred. [Log message: Could not get item with id: from database:master]&lt;/pre&gt; &#xA;&#xA;&lt;p&gt;Any idea how I can fix this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3368" LastEditorUserId="135" LastEditDate="2018-04-04T01:17:31.827" LastActivityDate="2018-04-04T01:17:31.827" Title="Sitecore Edit Frame issue" Tags="|experience-editor|presentation|mvc|" AnswerCount="1" CommentCount="3" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11132" PostTypeId="2" ParentId="11131" CreationDate="2018-04-03T17:40:44.747" Score="3" Body="&lt;p&gt;According to the docs you can pass the datasource argument in one of the following formats:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/sitecore/content/Home &lt;/li&gt;&#xA;&lt;li&gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&lt;/li&gt;&#xA;&lt;li&gt;RenderingContext.Current.ContextItem.ID.ToString()&lt;/li&gt;&#xA;&lt;li&gt;RenderingContext.Current.PageContext.Item.ID.ToString()&lt;/li&gt;&#xA;&lt;li&gt;Html.Sitecore().CurrentRendering.DataSource To use this format, you&lt;/li&gt;&#xA;&lt;li&gt;must create a Data Source field in a rendering (Presentation, Details, Controls, Your Rendering).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/using_editframes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/using_editframes&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What format is your @itemid guid in? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perhaps try:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.ToString() &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;on your Item ID.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-04-03T17:40:44.747" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11134" PostTypeId="1" CreationDate="2018-04-03T19:08:05.860" Score="3" ViewCount="953" Body="&lt;p&gt;We are working on an MVC web site where we are following the principles of atomic design, with heavy use of placeholders (including dynamic) and very granular renderings. This site's pages are heavily customizable using an approach similar to &lt;a href=&quot;https://www.cmsbestpractices.com/sitecore-item-rendering-best-practice/&quot; rel=&quot;nofollow noreferrer&quot;&gt;True Item Rendering&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want to implement &lt;a href=&quot;http://schema.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;schema.org&lt;/a&gt;-inspired structured data for (Google) SEO, using the recommended JSON-LD format. You can find an introduction &lt;a href=&quot;https://developers.google.com/search/docs/guides/intro-structured-data&quot; rel=&quot;nofollow noreferrer&quot;&gt;on Google's site&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Surprisingly, our authors want the same level of control over these data blocks as they have over displayed content. Unfortunately, I doubt you can insert a placeholder within a script tag, so flexibility is limited.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an example, Google's sample for an &lt;a href=&quot;https://developers.google.com/search/docs/data-types/article&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; looks like this (abbreviated for clarity):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;application/ld+json&quot;&amp;gt;&#xA;{&#xA;  &quot;@context&quot;: &quot;http://schema.org&quot;,&#xA;  &quot;@type&quot;: &quot;NewsArticle&quot;,&#xA;  &quot;headline&quot;: &quot;Article headline&quot;,&#xA;  &quot;image&quot;: [&#xA;    &quot;https://example.com/photos/1x1/photo.jpg&quot;,&#xA;    &quot;https://example.com/photos/4x3/photo.jpg&quot;,&#xA;    &quot;https://example.com/photos/16x9/photo.jpg&quot;&#xA;   ],&#xA;  &quot;author&quot;: {&#xA;    &quot;@type&quot;: &quot;Person&quot;,&#xA;    &quot;name&quot;: &quot;John Doe&quot;&#xA;  },&#xA;  &quot;publisher&quot;: {&#xA;    &quot;@type&quot;: &quot;Organization&quot;,&#xA;    &quot;name&quot;: &quot;Google&quot;,&#xA;    &quot;logo&quot;: {&#xA;      &quot;@type&quot;: &quot;ImageObject&quot;,&#xA;      &quot;url&quot;: &quot;https://google.com/logo.jpg&quot;&#xA;    }&#xA;  },&#xA;}&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Complicating matters further is the fact that fields can accept various types of data -- for instance, &lt;code&gt;author&lt;/code&gt; can be a &lt;code&gt;Person&lt;/code&gt; or  an &lt;code&gt;Organization&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My current approach for this involves a main &lt;code&gt;Article&lt;/code&gt; template, along with several link types for author, publisher, etc. These objects can in turn contain links to other objects. I fear this will become unmanageable in the long run, though it does make JSON serialization very easy using Glass Mapper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've considered the following solutions: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Allow authors to paste in the entire JSON block. I've seen that elsewhere, but I'd rather avoid it.&lt;/li&gt;&#xA;&lt;li&gt;Have the renderings themselves register the data (either explicitly or by a rendering processor), then spit it out as JSON-LD at the bottom of the page. This solution curtails the flexibility our authors crave.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Are there any other approaches I should consider? Has anyone else come across this? Any OOTB solutions I should be aware of?&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2018-04-03T19:08:05.860" Title="Generating JSON-LD structured data for SEO" Tags="|mvc|seo|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11135" PostTypeId="1" AcceptedAnswerId="11159" CreationDate="2018-04-03T20:54:49.500" Score="1" ViewCount="122" Body="&lt;p&gt;I currently have Sitecore 8.2 update 6 running on AWS. We also recently adopted CHEF and wonder if anyone uses CHEF to interact with Sitecore in any scenarios? I can't justify using CHEF to provision Sitecore environment as it is more like a one time. Plus I have been using AWS Cloudformation for it already.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would appreciate if anyone can share best use cases or what have you implemented with CHEF cookbook for Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="3179" LastEditorUserId="1671" LastEditDate="2018-04-04T12:21:59.347" LastActivityDate="2018-04-04T16:05:25.277" Title="Has anyone use CHEF to manage Sitecore such as provision server, maintain/update config or CI and CD?" Tags="|cloud|amazon-web-services|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11136" PostTypeId="1" AcceptedAnswerId="11141" CreationDate="2018-04-04T01:47:28.730" Score="2" ViewCount="588" Body="&lt;p&gt;Basically I am trying to extend (add fields &amp;amp; make a copy) of the '&lt;strong&gt;Command&lt;/strong&gt;' and '&lt;strong&gt;Task&lt;/strong&gt;' templates which are under &lt;em&gt;sitecore/Templates/System/Tasks&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Duplicating them and adding fields to them is not an issue, however objects/items that are built from them will not work. Schedules do not run &amp;amp; commands do not fire. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a limitation, or is there a way to get this to work? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2916" LastEditorUserId="2056" LastEditDate="2018-04-04T07:47:39.940" LastActivityDate="2018-04-04T10:54:10.657" Title="Extending (adding fields) 'Task' &amp; 'Command' system templates for scheduling" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11137" PostTypeId="1" AcceptedAnswerId="11138" CreationDate="2018-04-04T02:08:03.593" Score="0" ViewCount="340" Body="&lt;p&gt;We have a custom Lucene index configured on our Content Management and Content Delivery server. The rebuild strategies on the index are &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/remoteRebuild&quot; /&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that the Lucene index on the Content Management server is not in sync with the index on the Content Delivery server. The only way to keep them in sync is to manually trigger an index rebuild on the Content Management server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected behavior or is there a misconfiguration somewhere? &lt;/p&gt;&#xA;" OwnerUserId="1648" LastActivityDate="2018-04-04T03:02:56.613" Title="Sitecore 8.2 Lucene Indexes Syncing Between CD and CM Servers" Tags="|indexing|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11138" PostTypeId="2" ParentId="11137" CreationDate="2018-04-04T03:02:56.613" Score="2" Body="&lt;p&gt;This is expected behaviour with Lucene. For scaled architectures, you should be using Solr (or Azure Search in PaaS). See the recommendations here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/indexing/using_solr_or_lucene&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/indexing/using_solr_or_lucene&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;On scaled environments:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You must use Solr if you have a scaled environment.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;On Lucene synchronization:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Lucene is a file based indexing system, which means if an index is not&#xA;  located on the server that the request is coming from you have to&#xA;  ensure that indexes across all servers remain in sync. This is&#xA;  technically possible but non-trivial, and not supported.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-04-04T03:02:56.613" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11139" PostTypeId="2" ParentId="10186" CreationDate="2018-04-04T03:25:10.830" Score="0" Body="&lt;p&gt;Sitecore does not support the following features for such users:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Reading and deleting roles of external users in the User Manager because these roles are not stored in Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Because of this, using the Access Viewer.&lt;/li&gt;&#xA;&lt;li&gt;Changing a user password. You have to change passwords it in the corresponding identity provider.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For this case, you should use access viewer instead of roles as well&lt;/p&gt;&#xA;" OwnerUserId="3481" LastActivityDate="2018-04-04T03:25:10.830" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11140" PostTypeId="2" ParentId="3477" CreationDate="2018-04-04T05:30:12.073" Score="2" Body="&lt;p&gt;For future developers, the following was my attempt at this by directly editing the file Anton mentioned (sitecore modules\Web\Web Forms for Marketers\mvc\wffm.js). Please do note this change in a shared wiki so future WFFM upgrades are also 'fixed' in the same way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Complete excerpt:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$scw(form).submit(function (e) {&#xA;          $scw(&quot;input[type=submit]&quot;).attr(&quot;disabled&quot;, &quot;disabled&quot;);      &#xA;          if ($scw(this).valid()) {&#xA;&#xA;            var headersList = {&#xA;              &quot;X-RequestVerificationToken&quot;: $scw(form).find('[name=__RequestVerificationToken]').val(),&#xA;              &quot;X-Requested-With&quot;: &quot;XMLHttpRequest&quot;&#xA;            };&#xA;&#xA;            if (notExternalSite) {&#xA;              $scw.ajax({&#xA;                url: this.action,&#xA;                type: this.method,&#xA;                processData: false,&#xA;                contentType: false,&#xA;                headers: headersList,&#xA;                data: new FormData(form.get(0)),&#xA;                success: function (res) {&#xA;                  self.formSubmitSuccess(form, res);&#xA;                  $scw(&quot;input[type=submit]&quot;).removeAttr(&quot;disabled&quot;);         &#xA;                },&#xA;                error: function (xhr, status, exception) {&#xA;                  self.formSubmitError(form, xhr, status, exception);&#xA;                  $scw(&quot;input[type=submit]&quot;).removeAttr(&quot;disabled&quot;);     &#xA;                }&#xA;              });&#xA;&#xA;            } else {&#xA;&#xA;              var formIdInput = form.find(&quot;input[id=&quot; + form.attr(&quot;id&quot;) + &quot;_Id]&quot;);&#xA;              var formItemIdInput = form.find(&quot;input[id=&quot; + form.attr(&quot;id&quot;) + &quot;_FormItemId]&quot;);&#xA;              var hostUrl = getFxmHost() + &quot;/form/process?&quot; + formIdInput.attr(&quot;name&quot;) + &quot;=&quot; + formIdInput.attr(&quot;value&quot;) + &quot;&amp;amp;&quot;&#xA;                  + formItemIdInput.attr(&quot;name&quot;) + &quot;=&quot; + formItemIdInput.attr(&quot;value&quot;);&#xA;              $scw.ajax({&#xA;                url: hostUrl,&#xA;                type: 'POST',&#xA;                dataType: &quot;json&quot;,&#xA;                processData: false,&#xA;                contentType: false,&#xA;                data: new FormData(form.get(0)),&#xA;                success: function (res) {&#xA;                  self.formSubmitSuccess(form, res);&#xA;                  $scw(&quot;input[type=submit]&quot;).removeAttr(&quot;disabled&quot;);     &#xA;                },&#xA;                error: function (xhr, status, exception) {&#xA;                  self.formSubmitError(form, xhr, status, exception);&#xA;                  $scw(&quot;input[type=submit]&quot;).removeAttr(&quot;disabled&quot;);     &#xA;                },&#xA;                xhrFields: {&#xA;                  withCredentials: true&#xA;                }&#xA;              });&#xA;&#xA;            }&#xA;            e.preventDefault();&#xA;          }&#xA;          else {&#xA;            $scw(&quot;input[type=submit]&quot;).removeAttr(&quot;disabled&quot;);     &#xA;          }&#xA;        });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice the addition and removal of the disabled attribute on submit buttons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$scw(&quot;input[type=submit]&quot;).attr(&quot;disabled&quot;, &quot;disabled&quot;);&lt;/code&gt; &#xA;&lt;code&gt;$scw(&quot;input[type=submit]&quot;).removeAttr(&quot;disabled&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;else&lt;/code&gt; at the end was my own additional to ensure it was removed on a form validation failure.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;else {&#xA;    $scw(&quot;input[type=submit]&quot;).removeAttr(&quot;disabled&quot;);     &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'd argue this could be done better by targeting the specific submit button in the form instead of all submit buttons, but this solution worked for my use case. I encourage others to either edit mine to target that forms submit button or create a new answer.&lt;/p&gt;&#xA;" OwnerUserId="2360" LastActivityDate="2018-04-04T05:30:12.073" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11141" PostTypeId="2" ParentId="11136" CreationDate="2018-04-04T05:47:04.567" Score="5" Body="&lt;p&gt;First things first - You shouldn't extend templates this way. Best practice is to set inherited (in your case OOTB) template as base template to your custom template and add your custom fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can set in in Builder -&gt; Base Templates on your custom template.&#xA;You can inspire by &lt;strong&gt;/sitecore/templates/System/Content Testing/Tasks/Rebuild Index Command&lt;/strong&gt; template:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GM4Fn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GM4Fn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options to achieve your goal:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Extending task commands - Create custom task command template + class&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can inspire by command that you can find here /sitecore/system/Tasks/Commands/Content Testing/Rebuild Suggested Tests Index&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uUdCq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uUdCq.png&quot; alt=&quot;task command&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see template of this command is different to the others and has &quot;Index Name&quot; field which other command templates don't have.&#xA;You can have similarly your custom fields as you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look on value of field &quot;Type&quot;.&#xA;Opening Sitecore.ContenTesting.dll in dotPeek or IlSpy and finding class Sitecore.ContentTesting.Tasks.RebuildIndex will give you this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Maintenance;&#xA;using Sitecore.ContentTesting.Configuration;&#xA;using Sitecore.ContentTesting.Model.Data.Items;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Tasks;&#xA;using System.Diagnostics.CodeAnalysis;&#xA;&#xA;namespace Sitecore.ContentTesting.Tasks&#xA;{&#xA;  public class RebuildIndex&#xA;  {&#xA;    [SuppressMessage(&quot;Microsoft.Performance&quot;, &quot;CA1822:Mark members as static&quot;, Justification = &quot;This will introduce breaking changes.&quot;)]&#xA;    public void Process(Item[] items, CommandItem command, ScheduleItem schedule)&#xA;    {&#xA;      if (!Settings.IsAutomaticContentTestingEnabled)&#xA;        return;&#xA;      Assert.ArgumentNotNull((object) items, nameof (items));&#xA;      Assert.ArgumentNotNull((object) command, nameof (command));&#xA;      Assert.ArgumentNotNull((object) schedule, nameof (schedule));&#xA;      ISearchIndex index = ContentSearchManager.GetIndex(new RebuildIndexCommandItem(command.InnerItem).IndexName);&#xA;      if (index == null)&#xA;        return;&#xA;      IndexCustodian.FullRebuild(index, true);&#xA;    }&#xA;  }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to go further into RebuildIndexCommandItem class&#xA;and do something similar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reading custom field values is simple with this notation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.InnerItem[RebuildIndexCommandItem.FieldIDs.IndexName]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Extending task schedules - Create custom DatabaseAgent class and replace OOTB one.&lt;/strong&gt; &#xA;This agent will &quot;know&quot; about your fields that you have added and it will use them during processing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, you are extending schedule task template itself and also logic in Sitecore which is not very good if it's multisite / multitenant solution. Also maintainability and upgradedability of solution won't be that good. I would prefer option 1 to begin with. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It can look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DatabaseAgent : Sitecore.Tasks.DatabaseAgent&#xA;{&#xA;&#xA; public DatabaseAgent(string databaseName, string scheduleRoot) : base(databaseName, scheduleRoot)&#xA; {&#xA; }&#xA;&#xA; public new void Run()&#xA; {&#xA;    this.LogInfo(&quot;Scheduling.DatabaseAgent started. Database: &quot; + this.Database.Name);&#xA;    Job job = Context.Job;&#xA;    ScheduleItem[] schedules = this.GetSchedules();&#xA;    this.LogInfo(&quot;Examining schedules (count: &quot; + (object)schedules.Length + &quot;)&quot;);&#xA;    if (this.IsValidJob(job))&#xA;        job.Status.Total = (long)schedules.Length;&#xA;    foreach (ScheduleItem scheduleItem in schedules)&#xA;    {&#xA;        try&#xA;        {&#xA;            if (scheduleItem.IsDue &amp;amp;&amp;amp; IsInTimeFrame(scheduleItem))&#xA;            {&#xA;                this.LogInfo(&quot;Starting: &quot; + scheduleItem.Name + (scheduleItem.Asynchronous ? &quot; (asynchronously)&quot; : string.Empty));&#xA;                scheduleItem.Execute();&#xA;                this.LogInfo(&quot;Ended: &quot; + scheduleItem.Name);&#xA;            }&#xA;            else&#xA;                this.LogInfo(&quot;Not due: &quot; + scheduleItem.Name);&#xA;            if (scheduleItem.AutoRemove)&#xA;            {&#xA;                if (scheduleItem.Expired)&#xA;                {&#xA;                    this.LogInfo(&quot;Schedule is expired. Auto removing schedule item: &quot; + scheduleItem.Name);&#xA;                    scheduleItem.Remove();&#xA;                }&#xA;            }&#xA;        }&#xA;        catch&#xA;        {&#xA;        }&#xA;        if (this.IsValidJob(job))&#xA;            ++job.Status.Processed;&#xA;    }&#xA;}&#xA;&#xA;private bool IsInTimeFrame(ScheduleItem scheduleItem)&#xA;{&#xA;    var startTimeString = scheduleItem.InnerItem.Fields[&quot;ScheduledItemExtensionDataTimeframeStart&quot;].Value;&#xA;    var endTimeString = scheduleItem.InnerItem.Fields[&quot;ScheduledItemExtensionDataTimeframeEnd&quot;].Value;&#xA;&#xA;    return IsDue(startTimeString, endTimeString);&#xA;}&#xA;&#xA;private bool IsDue(string startTime, string endTime)&#xA;{&#xA;    DateTime start;&#xA;    DateTime end;&#xA;    DateTime.TryParse(startTime, out start);&#xA;    DateTime.TryParse(endTime, out end);&#xA;    return (CheckTime(DateTime.Now, start, end));&#xA;}&#xA;&#xA;private bool CheckTime(DateTime time, DateTime after, DateTime before)&#xA;{&#xA;    return ((time &amp;gt;= after) &amp;amp;&amp;amp; (time &amp;lt;= before));&#xA;}&#xA;&#xA;private ScheduleItem[] GetSchedules()&#xA;{&#xA;    Item obj = this.Database.Items[this.ScheduleRoot];&#xA;    if (obj == null)&#xA;        return new ScheduleItem[0];&#xA;    ArrayList arrayList = new ArrayList();&#xA;    foreach (Item innerItem in obj.Axes.GetDescendants())&#xA;    {&#xA;        if (innerItem.TemplateID == TemplateIDs.Schedule)&#xA;            arrayList.Add((object)new ScheduleItem(innerItem));&#xA;    }&#xA;    return arrayList.ToArray(typeof(ScheduleItem)) as ScheduleItem[];&#xA;}&#xA;&#xA;private bool IsValidJob(Job job)&#xA;{&#xA;    if (job != null)&#xA;        return job.Category == &quot;schedule&quot;;&#xA;    return false;&#xA;}&#xA;&#xA;private void LogInfo(string message)&#xA;{&#xA;    if (!this.LogActivity)&#xA;        return;&#xA;    Log.Info(message, (object)this);&#xA;}&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where here you are reading values of your added fields:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var startTimeString = scheduleItem.InnerItem.Fields[&quot;ScheduledItemExtensionDataTimeframeStart&quot;].Value;&#xA;var endTimeString = scheduleItem.InnerItem.Fields[&quot;ScheduledItemExtensionDataTimeframeEnd&quot;].Value;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find more information and also implementation in this great blog post made by Jens Gustafsson -&gt; &lt;a href=&quot;http://coreofsite.com/2017/09/15/extending-scheduled-task-set-execution-time/&quot; rel=&quot;noreferrer&quot;&gt;http://coreofsite.com/2017/09/15/extending-scheduled-task-set-execution-time/&lt;/a&gt; . Also code above was taken from this blog post&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-04-04T06:00:03.980" LastActivityDate="2018-04-04T06:00:03.980" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11142" PostTypeId="1" AcceptedAnswerId="11146" CreationDate="2018-04-04T07:23:17.770" Score="1" ViewCount="983" Body="&lt;p&gt;When I tried to upload a pdf file in Media library I am getting chrome symbol as icon instead of pdf icon. I tried in vanilla instance where everything works fine. I checked the template's icon and it is correct. I found that the icons are coming from physical location (sitecore/shell/themes). Please help me in identifying where the mappings happens to fix the issue.&#xA;Sitecore version - 8.2 update 5&lt;/p&gt;&#xA;" OwnerUserId="1468" LastActivityDate="2018-09-06T13:05:50.337" Title="Chrome icon coming for pdf's in media library instead of PDF icon" Tags="|sitecore-client|media-library|pdf|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="11143" PostTypeId="2" ParentId="11031" CreationDate="2018-04-04T07:38:49.230" Score="0" Body="&lt;p&gt;I managed how to fix this issue.&#xA;It is not the best solution, but it may help someone.I found errors when post installation events were triggered. So from:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.ContentSearch.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I removed all event nodes containing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;packageinstall:items:ended&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This fixed the problem. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I was able to install PSE locally. Nevertheless I found out, that this was not about PSE only, it was actually happening among all packages installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I said it may not  be the best way, but since we do not care about content search at all, this seemed to be the easiest solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope It can help someone.&lt;/p&gt;&#xA;" OwnerUserId="3449" LastActivityDate="2018-04-04T07:38:49.230" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11144" PostTypeId="1" AcceptedAnswerId="12109" CreationDate="2018-04-04T08:14:55.130" Score="3" ViewCount="688" Body="&lt;p&gt;I am creating a Materialize-UI based Grid (CMS authorable) to reduce no of fixed/static layouts in the application. &#xA;CMS side - I've created Row &amp;amp; Column templates, One grid rendering &amp;amp; Datasource (which has row &amp;amp; it's child columns with required materialize info). &#xA;Code side - I've used hard code seed value i.e. 10 for the dynamic placeholder inside a foreach loop which runs equals to the no of columns suppose 5 in the datasource. For each iteration, the seed value increments by 1 (seed = 11, 12, 13, 14, 15) and creates 5 dynamic placeholders which are used to add 5 renderings/components on the page. It works fine when i publish and run the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when i delete the 4th column from the datasource, publish and run the page then, the component which was set for seed no 15, doesn't load, Because this time seed no 15 is not created which is set in the presentation details of the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resolve this issue, I thought of adding a seed id for each row &amp;amp; column in the CMS &amp;amp; use that for dynamic placeholder creation and it works fine for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I think this is hard for content author to assign unique id for each Row &amp;amp; Column in the CMS. Therefore, I am looking for a good solution here to handle seed value dynamically?&lt;/p&gt;&#xA;" OwnerUserId="2752" LastEditorUserId="2752" LastEditDate="2018-06-03T14:37:14.797" LastActivityDate="2018-06-03T14:43:50.183" Title="What is the best way to create seed dynamically for Dynamic placeholder in Sitecore 9" Tags="|best-practices|dynamic-placeholder|" AnswerCount="1" CommentCount="8" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11145" PostTypeId="1" AcceptedAnswerId="11147" CreationDate="2018-04-04T08:50:06.290" Score="1" ViewCount="166" Body="&lt;p&gt;I'm working on a project that has already been started for a while, the main navigation is displayed correctly but in Sitecore it is reversed.&#xA;For example in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;&lt;p&gt;Home&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;&lt;p&gt;Contact Us&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;Project&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;About&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;On public site:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;About&lt;/li&gt;&#xA;  &lt;li&gt;Project&lt;/li&gt;&#xA;  &lt;li&gt;Contact Us&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So for some reason SXA is reversing the order of the Sitecore tree items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this configured somewhere or is it intentional? We're using SXA 1.4.&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-04-04T09:04:10.947" Title="Ascending order of SXA main navigation items" Tags="|sxa|" AnswerCount="1" CommentCount="1" ClosedDate="2018-04-04T10:47:08.653" ContentLicense="CC BY-SA 3.0" />
  <row Id="11146" PostTypeId="2" ParentId="11142" CreationDate="2018-04-04T08:51:20.863" Score="5" Body="&lt;p&gt;The reason is that Siteore use the associated icon from the OS. Acrobat Reader is installed on your laptop, not on your SITserver. So the SIT server displays a default icon instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can specify which static file to use for which extension in the web.config. To add the PDF icon, do the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Download a .pdf icon from the Adobe Website (due to licensing restrictions, Sitecore is not shipped with an Acrobat Reader icon). Place the icon wherever you wish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to Sitecore.config file and modify media type : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaType name=&quot;PDF file&quot; extensions=&quot;pdf&quot;&amp;gt;&#xA;  &amp;lt;mimeType&amp;gt;application/pdf&amp;lt;/mimeType&amp;gt;&#xA;  &amp;lt;forceDownload&amp;gt;false&amp;lt;/forceDownload&amp;gt;&#xA;  &amp;lt;sharedTemplate&amp;gt;system/media/unversioned/pdf&amp;lt;/sharedTemplate&amp;gt;&#xA;  &amp;lt;versionedTemplate&amp;gt;system/media/versioned/pdf&amp;lt;/versionedTemplate&amp;gt;&#xA;  &amp;lt;!-- New section --&amp;gt;&#xA;  &amp;lt;thumbnails&amp;gt;&#xA;    &amp;lt;generator type=&quot;Sitecore.Resources.Media.MediaThumbnailGenerator, Sitecore.Kernel&quot;&amp;gt;&#xA;      &amp;lt;extension&amp;gt;png&amp;lt;/extension&amp;gt;&#xA;    &amp;lt;/generator&amp;gt;&#xA;    &amp;lt;staticFile&amp;gt;File location. For example /sitecore/shell/Themes/pdficon_large.png&amp;lt;/staticFile&amp;gt;&#xA;  &amp;lt;/thumbnails&amp;gt;&#xA;  &amp;lt;!-- end:New section --&amp;gt;&#xA;&amp;lt;/mediaType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Clear the folders:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;/temp/&lt;/strong&gt; folder (at least all files named “fileIcon”)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The Sitecore media cache (default located at &lt;strong&gt;/app_data/mediacache/&lt;/strong&gt;)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Clear your browser cache.&lt;/li&gt;&#xA;&lt;li&gt;Restart the website.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;a href=&quot;https://briancaos.wordpress.com/2013/01/10/sitecore-media-library-missing-pdf-icons/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2013/01/10/sitecore-media-library-missing-pdf-icons/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-04-04T08:51:20.863" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11147" PostTypeId="2" ParentId="11145" CreationDate="2018-04-04T09:04:10.947" Score="1" Body="&lt;p&gt;There is no option to sort items displayed in the SXA Navigation rendering (no specific setting for this). The order is based on order of items in the tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check if the order of items in the content tree is the same in the master and web databases.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-04-04T09:04:10.947" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11148" PostTypeId="2" ParentId="10799" CreationDate="2018-04-04T09:23:36.563" Score="3" Body="&lt;p&gt;I have checked birmit's blog, actually you have to update angular dependency to 5. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;package.json is =&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;name&quot;: &quot;demo9.features.sendemailpromo&quot;,&#xA;  &quot;version&quot;: &quot;0.0.0&quot;,&#xA;  &quot;description&quot;: &quot;Sitecore 9 Marketing Automation Demo&quot;,&#xA;  &quot;private&quot;: true,&#xA;  &quot;angular-cli&quot;: {},&#xA;  &quot;scripts&quot;: {&#xA;    &quot;predev&quot;: &quot;npm install &amp;amp;&amp;amp; rimraf ./codegen/&quot;,&#xA;    &quot;dev&quot;: &quot;ngc -p ./src/tsconfig.aot.json &amp;amp;&amp;amp; npm run build&quot;,&#xA;    &quot;prebuild&quot;: &quot;rimraf ./dist/&quot;,&#xA;    &quot;build&quot;: &quot;webpack --display-error-details&quot;&#xA;  },&#xA;  &quot;dependencies&quot;: {&#xA;    &quot;@angular/common&quot;: &quot;5.2.9&quot;,&#xA;    &quot;@angular/core&quot;: &quot;5.2.9&quot;,&#xA;    &quot;@angular/forms&quot;: &quot;5.2.9&quot;,&#xA;    &quot;@angular/http&quot;: &quot;5.2.9&quot;,&#xA;    &quot;@angular/platform-browser&quot;: &quot;5.2.9&quot;,&#xA;    &quot;@ngx-translate/core&quot;: &quot;10.0.1&quot;,&#xA;    &quot;@sitecore/ma-core&quot;: &quot;file:C:/Website/sitecore/shell/client/Applications/MarketingAutomation/packages/ma-core&quot;,&#xA;    &quot;rxjs&quot;: &quot;5.5.8&quot;,&#xA;    &quot;zone.js&quot;: &quot;0.8.25&quot;&#xA;  },&#xA;  &quot;devDependencies&quot;: {&#xA;    &quot;@angular/compiler&quot;: &quot;5.2.9&quot;,&#xA;    &quot;@angular/compiler-cli&quot;: &quot;5.2.9&quot;,&#xA;    &quot;copyfiles&quot;: &quot;2.0.0&quot;,&#xA;    &quot;rimraf&quot;: &quot;2.6.2&quot;,&#xA;    &quot;ts-loader&quot;: &quot;4.1.0&quot;,&#xA;    &quot;typescript&quot;: &quot;2.8.1&quot;,&#xA;    &quot;webpack&quot;: &quot;4.4.1&quot;,&#xA;    &quot;webpack-cli&quot;: &quot;^2.0.13&quot;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;also change the module to es2015 to commonJs in tscinfig.aot.json &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;compilerOptions&quot;: {&#xA;        &quot;emitDecoratorMetadata&quot;: true,&#xA;        &quot;experimentalDecorators&quot;: true,&#xA;        &quot;target&quot;: &quot;es5&quot;,&#xA;        &quot;module&quot;: &quot;commonjs&quot;,&#xA;        &quot;moduleResolution&quot;: &quot;node&quot;,&#xA;        &quot;removeComments&quot;: true,&#xA;        &quot;sourceMap&quot;: true,&#xA;        &quot;outDir&quot;: &quot;../codegen&quot;,&#xA;        &quot;rootDir&quot;: &quot;&quot;,&#xA;        &quot;declaration&quot;: true,&#xA;        &quot;lib&quot;: [&#xA;            &quot;es2016&quot;,&#xA;            &quot;dom&quot;&#xA;        ]&#xA;    },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="1930" LastEditDate="2018-04-04T10:46:16.630" LastActivityDate="2018-04-04T10:46:16.630" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11150" PostTypeId="1" AcceptedAnswerId="11153" CreationDate="2018-04-04T10:17:06.327" Score="3" ViewCount="2612" Body="&lt;p&gt;I've created a custom API Controller that inherits from ServicesApiController. I've created also custom route and it all works fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExampleController : ServicesApiController&#xA;{&#xA;    public ActionResult Index()&#xA;    {&#xA;        return null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However I want to ensure that this is secured and doesn't expose my list of items to unauthorized users. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was thinking of applying the same requirements as the ItemService and requiring use of the auth/login endpoint before requests can be made to my custom controller.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However after digging into the code for the ItemService with DotPeek I can't seem to find how this is implemented for the ItemService.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought it would be using a custom filter that checks whether user is authenticated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've read over the docs here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient_security?roles=developer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/sitecoreservicesclient_security?roles=developer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And it says:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.Services.Client provides two layers of security:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;A security policy that applies to all Sitecore.Services.Client requests.&lt;/li&gt;&#xA;  &lt;li&gt;Individual filters that can add additional requirements on requests that are to be executed.&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So this also suggests that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd appreciate any guidance on if there is a filter I can use to require login or if I need to create my own that does something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void OnAuthorization(HttpActionContext actionContext)&#xA;{&#xA;   if (Context.User.IsAuthenticated){&#xA;       return;&#xA;   }&#xA;   actionContext.Response = actionContext.ControllerContext.Request.CreateErrorResponse(HttpStatusCode.Unauthorized, &quot;Unauthorized Access&quot;);&#xA;   base.OnAuthorization(actionContext);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or is there a better way to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other Info:&lt;/strong&gt; Sitecore 8.2. Update 6&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="2056" LastEditDate="2018-04-04T11:49:50.930" LastActivityDate="2019-05-05T19:00:48.163" Title="Authentication / Login for Custom ServicesApiController" Tags="|security|sitecore-services-client|item-web-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11153" PostTypeId="2" ParentId="11150" CreationDate="2018-04-04T11:47:25.957" Score="1" Body="&lt;p&gt;I would go with custom Authentication/Authorization Filter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AuthorizedUser : AuthorizationFilterAttribute&#xA;    {&#xA;        private readonly string _user;&#xA;&#xA;        public AuthorizedUser(string user)&#xA;        {&#xA;            _user = user;&#xA;        }&#xA;        public override void OnAuthorization(HttpActionContext actionContext)&#xA;        {&#xA;            base.OnAuthorization(actionContext);&#xA;            var context = Context.User;&#xA;&#xA;            if ((context.IsAuthenticated &amp;amp;&amp;amp; context.Name.Equals(_user)))&#xA;                return;&#xA;&#xA;            actionContext.Response =&#xA;                actionContext.ControllerContext.Request.CreateErrorResponse(HttpStatusCode.Unauthorized,&#xA;                    &quot;Unauthorized Access; User is &quot; + Context.User.LocalName);&#xA;        }&#xA;    } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need to decorate your method with this attribute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[AuthorizedUser(@&quot;sitecore\ServicesAPI&quot;)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your class would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ServicesController]    &#xA;public class ExampleController : ServicesApiController&#xA;{&#xA;    [AuthorizedUser(@&quot;sitecore\ServicesAPI&quot;)]&#xA;    public ActionResult Index()&#xA;    {&#xA;        return null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Some config changes are also needed to make this working.&#xA;Example codes and config files can be found in really nice post by Boris Brodsky: &lt;a href=&quot;http://borisbrodsky.com/sitecore/sitecore-webapi-servicesapicontroller-and-jwt-token-security/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://borisbrodsky.com/sitecore/sitecore-webapi-servicesapicontroller-and-jwt-token-security/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-04-04T11:47:25.957" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11154" PostTypeId="1" AcceptedAnswerId="11996" CreationDate="2018-04-04T13:16:41.280" Score="2" ViewCount="846" Body="&lt;p&gt;This is my custom Activity:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public SendPromoEmailActivity(ILogger&amp;lt;SendPromoEmailActivity&amp;gt; logger)&#xA;            : base((ILogger&amp;lt;IActivity&amp;gt;)logger)&#xA; {&#xA;&#xA; }&#xA;&#xA; public override ActivityResult Invoke(IContactProcessingContext context)&#xA; {&#xA;      EmailAddressList facet = context.Contact.GetFacet&amp;lt;EmailAddressList&amp;gt;();&#xA;&#xA;      return (ActivityResult)new Failure(&quot;My Send Promo Email is working&quot;);&#xA;      //Logger.LogDebug(&quot;My Send Promo Email is working&quot;);&#xA;      //return (ActivityResult)new SuccessMove();&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I think it's working as Marketing campaign is going through. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd expect to receive one of these logs:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;new Failure(&quot;My Send Promo Email is working&quot;)&lt;/li&gt;&#xA;&lt;li&gt;Logger.LogDebug(&quot;My Send Promo Email is working&quot;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Where do I get those logs of Marketing automation custom activity?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added activity in UI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p5J39.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p5J39.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/XU9xP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XU9xP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="2056" LastEditDate="2018-04-04T18:38:37.490" LastActivityDate="2018-05-28T10:29:49.073" Title="Where do I find log of Marketing automation custom activity or How to debug custom activity dlls?" Tags="|xconnect|marketing-automation|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11155" PostTypeId="1" AcceptedAnswerId="11160" CreationDate="2018-04-04T14:27:37.860" Score="1" ViewCount="754" Body="&lt;p&gt;I have a fresh installation of Sitecore 9.0.1 rev 171219 and am attempting to install SXA 1.6.  I've downloaded the package and when attempting to install it, it fails with the following error in the logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #7 09:11:03 INFO Installing item:&#xA;  items/master/sitecore/system/Modules/Layout Service/Rendering Contents&#xA;  Resolvers/SXA/Page List Contents&#xA;  Resolver/{93FC6E4C-9119-4C05-B8B5-41446A9BB5FA}/en/1/xml&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #7 09:11:03 INFO Installing item:&#xA;  items/master/sitecore/system/Modules/Layout Service/Rendering Contents&#xA;  Resolvers/SXA/Rich Text Contents&#xA;  Resolver/{192EFE3F-F0C8-49D0-AEED-6F233F36CCC3}/en/1/xml&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #7 09:11:03 ERROR One or more exceptions occurred&#xA;  while processing the subscribers to the 'item:saved' event.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception[1]: System.NullReferenceException &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Message[1]: Object reference not set to an instance of an object. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source[1]: Sitecore.Marketing.xMgmt &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Marketing.xMgmt.Definitions.ItemEventHandler.&amp;lt;&gt;c__DisplayClass19_0.b__0(Guid&#xA;  templateId) &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at System.Linq.Enumerable.Any[TSource](IEnumerable&lt;code&gt;1&#xA;  source, Func&lt;/code&gt;2 predicate) at&#xA;  Sitecore.Marketing.xMgmt.Definitions.ItemEventHandler.DeployItem(Item&#xA;  item) &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String&#xA;  eventName, Object[] parameters, EventResult result)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #7 09:11:03 ERROR Failed to save the item. Item ID: {FA86AD54-9CEC-4509-9EFD-DD6DBC608A5B}, database: master&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've searched all over and cannot find a way around this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone encountered this before?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on how I can get past this?  &lt;/p&gt;&#xA;" OwnerUserId="3486" LastEditorUserId="2056" LastEditDate="2018-04-04T17:36:42.167" LastActivityDate="2018-04-04T17:36:42.167" Title="NullReferenceException when installing Sitecore SXA" Tags="|sxa|installation|packages|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="11156" PostTypeId="1" AcceptedAnswerId="11178" CreationDate="2018-04-04T15:15:47.403" Score="0" ViewCount="1769" Body="&lt;p&gt;We are able to successfully build all the indexes for the first time except &lt;code&gt;sitecore_master_index&lt;/code&gt;, &lt;code&gt;sitecore_web_index&lt;/code&gt; and &lt;code&gt;Sitecore_core_index&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when trying to rebuild &lt;code&gt;sitecore_master_index&lt;/code&gt; for the first time, getting error as mentioned &lt;a href=&quot;https://community.sitecore.net/general/f/11/t/8902&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/general/f/11/t/8902&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Already implemented the solution posted on above question. But now getting a different exception while rebuilding as mentioned below: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Job started: Index_Update_IndexName=sitecore_master_index|#&#xA;Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. &#xA;---&amp;gt; SolrNet.Exceptions.SolrConnectionException: &#xA;    &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;    &amp;lt;response&amp;gt;&#xA;        &amp;lt;lst name=&quot;responseHeader&quot;&amp;gt;&#xA;            &amp;lt;int name=&quot;status&quot;&amp;gt;400&amp;lt;/int&amp;gt;&#xA;            &amp;lt;int name=&quot;QTime&quot;&amp;gt;1&amp;lt;/int&amp;gt;&#xA;        &amp;lt;/lst&amp;gt;&#xA;        &amp;lt;lst name=&quot;error&quot;&amp;gt;&#xA;            &amp;lt;lst name=&quot;metadata&quot;&amp;gt;&#xA;                &amp;lt;str name=&quot;error-class&quot;&amp;gt;org.apache.solr.common.SolrException&amp;lt;/str&amp;gt;&#xA;                &amp;lt;str name=&quot;root-error-class&quot;&amp;gt;org.apache.solr.common.SolrException&amp;lt;/str&amp;gt;&#xA;            &amp;lt;/lst&amp;gt;&#xA;            &amp;lt;str name=&quot;msg&quot;&amp;gt;Solr instance is not running in SolrCloud mode.&amp;lt;/str&amp;gt;&#xA;            &amp;lt;int name=&quot;code&quot;&amp;gt;400&amp;lt;/int&amp;gt;&#xA;        &amp;lt;/lst&amp;gt;&#xA;    &amp;lt;/response&amp;gt;&#xA; ---&amp;gt; &#xA;System.Net.WebException: The remote server returned an error: (400) Bad Request.&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable 1 parameters)&#xA;   --- End of inner exception stack trace ---&#xA;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable 1 parameters)&#xA;   at SolrNet.Impl.SolrCoreAdmin.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrCloudSearchIndex.CreateAlias(String aliasName, String collection)&#xA;   at Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrCloudSearchIndex.SetAlias(String aliasName, String collection)&#xA;   at Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrCloudSearchIndex.SetAliasesConfiguration()&#xA;   at Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrCloudSearchIndex.Rebuild(Boolean resetIndex, Boolean optimizeOnComplete)&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please suggest what to do?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &lt;/p&gt;&#xA;" OwnerUserId="1307" LastEditorUserId="70" LastEditDate="2018-04-05T13:34:00.183" LastActivityDate="2020-01-16T20:09:22.613" Title="Error while rebuilding the search index on Sitecore 8.2 and Solr 6.6.1" Tags="|solr|content-search|indexing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11157" PostTypeId="2" ParentId="11154" CreationDate="2018-04-04T15:31:14.577" Score="1" Body="&lt;p&gt;Assuming everything is done correct, you will find logs in the following folder&#xA;&lt;strong&gt;[yourxconnectroot]\App_data\jobs\continuous\AutomationEngine\App_Data\Logs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Otherwise you will find some errors there.&lt;/p&gt;&#xA;" OwnerUserId="713" LastActivityDate="2018-04-04T15:31:14.577" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11159" PostTypeId="2" ParentId="11135" CreationDate="2018-04-04T15:57:24.543" Score="5" Body="&lt;p&gt;I have spent some work using CHEF with Sitecore 8.1.  It was mostly from a Proof of Concept, and for a client that wanted to evaluate it. Additionally, I presented this to CHEF stakeholders in Seattle where we identified that there is a path forward for CHEF and Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have several cookbooks that were created to support the following architectures:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.X&lt;/li&gt;&#xA;&lt;li&gt;Mongo DB&lt;/li&gt;&#xA;&lt;li&gt;Azure IaaS Configurations&lt;/li&gt;&#xA;&lt;li&gt;IIS&lt;/li&gt;&#xA;&lt;li&gt;SQL Server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The POC contains cookbooks for creating VM's in Azure, installing IIS and SQL Server, installing databases, installing Sitecore in a distributed fashion (CM and CD).  The collection of Cookbooks include cookbooks that I have found scattered about that I have tried to bring into one place. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, most of the cookbooks were incomplete, including the Azure Resource cookbook.  Huge Inc. as well started creating a cookbook for Sitecore 7.X on Chef.  I extended and revamped it to work with Sitecore 8.x, which included the installation of Mongo DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All said, the cookbooks and recipes provided, allowed me to demonstrate a full install in a 45 minute POC meeting, where all I did was execute the CHEF recipes from the Chef Server and watch the magic happen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cookbooks Used:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;iis_demo - This provides all of the recipes for setting up IIS&lt;/li&gt;&#xA;&lt;li&gt;microsoft_azure - Base microsoft_azure cookbook.&lt;/li&gt;&#xA;&lt;li&gt;mongodb3 - This is a cookbook I created to install MongoDB using Chocolatey.&lt;/li&gt;&#xA;&lt;li&gt;msazure_expanded - This provides updated recipes for using Azure Resources. Limited in functionality still, but gets VM's and Storage setup correctly&lt;/li&gt;&#xA;&lt;li&gt;sitecore_ext - This is the &lt;a href=&quot;https://github.com/Vapok/sitecore-cookbook&quot; rel=&quot;nofollow noreferrer&quot;&gt;forked Huge Inc. Sitecore cookbook&lt;/a&gt;, modified heavily for Sitecore 8.x.&lt;/li&gt;&#xA;&lt;li&gt;vendor cookbooks - There are a host of other cookbooks that are dependencies.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;POC CHEF Repo&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can find my CHEF Repo on my Github called &lt;strong&gt;&lt;a href=&quot;https://github.com/Vapok/chef-sandbox&quot; rel=&quot;nofollow noreferrer&quot;&gt;chef-sandbox&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Provided as is. Feel free to fork.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Thoughts and Comments&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;These cookbooks are not adequate for Sitecore 9 at all, and I argue are probably not needed with the introduction of SIF. In fact, it might be pretty easy to rewrite these cookbooks to execute SIF commands directly, then trying to run IIS, SQL Server, or Sitecore independently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 8.X, connection strings were the hardest part. My advice is to plan out the environments in the CHEF Server to a point where you can configure IP addresses and hostnames within the Environment variables so that connection strings can be created without magic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I lost access to the CHEF Sever I was using, so I can't show the recipe configuration that I was using, but you can infer from the methods in the various cookbook recipes, which ones I was using. Most cookbooks rely heavily on the &lt;code&gt;default.rb&lt;/code&gt; recipe.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Get CHEF Trained and Certified!&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;CHEF offers really great training opportunities. This POC was completed starting with knowing nothing about CHEF, sitting through a 3 day intensive training program, followed by 2 days to put together a POC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-04-04T16:05:25.277" LastActivityDate="2018-04-04T16:05:25.277" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11160" PostTypeId="2" ParentId="11155" CreationDate="2018-04-04T17:29:13.547" Score="1" Body="&lt;p&gt;This error could be caused by missing SPE module. Try to install Sitecore PowerShell Extensions 4.7.2 which is a prerequisite for SXA 1.6&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-04-04T17:29:13.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11161" PostTypeId="1" AcceptedAnswerId="11170" CreationDate="2018-04-04T17:52:24.157" Score="0" ViewCount="371" Body="&lt;p&gt;We are using Sitecore 8.2 Update 4 and WFFM 170518. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have created a WFFM save action to take input from our website users and send that information to a downstream system. Last week, the downstream system went down and we didn't know about it. Once we discovered the problem, we were able to get the downstream system back up. However, during our testing we discovered that the form being displayed was not displaying any kind of notification that the submission failed. When I looked at the logs, I saw messages like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #14 05:51:31 WARN  [WFFM] Tracker.Current  is not initialized&#xA;ManagedPoolThread #14 05:51:31 INFO  AUDIT (sitecore\Anonymous): [WFFM] Form {5821FCAF-7D01-4E90-AEFB-064C4C62E497} is saving to db&#xA;ManagedPoolThread #14 05:51:31 WARN  [WFFM] Tracker.Current.Contact  is not initialized&#xA;ManagedPoolThread #14 05:51:31 WARN  [WFFM]  Tracker.Current.Interaction  is not initialized&#xA;ManagedPoolThread #14 05:51:31 WARN  [WFFM] CurrentSession  is not initialized&#xA;ManagedPoolThread #14 05:51:31 WARN  [WFFM] The remote server returned an error: (404) Not Found.&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (404) Not Found.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, there was no mention of a message being shown to the website visitor. When I replicated the issue in my developer environment, I got a message telling me that an error message had been displayed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;24024 16:19:58 WARN  [WFFM] The remote server returned an error: (404) Not Found.&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (404) Not Found.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   ...&#xA;&#xA;24024 16:19:58 WARN  [WFFM] The 'My Contact Form Export to SE[id={9AA6767D-60CD-4358-AE36-0A8121A22DC7F}]' save action failed: We experienced a technical difficulty while processing your request. Your data may not have been correctly saved.&#xA;24024 16:19:58 WARN  [WFFM] Web Forms for Marketers: an exception: We experienced a technical difficulty while processing your request. Your data may not have been correctly saved. has occured while trying to execute an action.&#xA;24024 16:19:58 WARN  Web Forms for Marketers: an exception 'We experienced a technical difficulty while processing your request. Your data may not have been correctly saved.' has occured while trying to execute an action '{9AA6767D-60CD-4358-AE36-0A8121A22D7F}'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The save action code doesn't have any error handling in it on purpose, so that way the errors would bubble up to the WFFM error handler. We are running the same code in both our Production environment as well as the development environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My questions are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What would cause WFFM to not notify the end user that an error had happened? &lt;/li&gt;&#xA;&lt;li&gt;What could be different between the production and the development environments that would cause that difference? &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="339" LastActivityDate="2018-04-05T01:59:28.940" Title="WFFM not showing error messages to website user" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11162" PostTypeId="1" CreationDate="2018-04-04T18:38:16.447" Score="1" ViewCount="430" Body="&lt;p&gt;I have created a custom checkbox that I show at ribbon in Experience Editor (with SPEAK style) and basically, it works. but I can't init default state of this checkbox correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone help to find a way to init default value?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked how Sitecore do it and it is tricky.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has navigation bar checkbox at ribbon, and for init default value Sitecore has &lt;em&gt;SetCheckboxFromRegistry.js&lt;/em&gt; file, that is located in &lt;em&gt;InitializePageEdit&lt;/em&gt; folder. This file contains a call to special class &#xA;this is actually part of settings in the config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;request name=&quot;ExperienceEditor.ToggleRegistryKeys.Get&quot;&#xA;type =&quot;Sitecore.ExperienceEditor.Speak.Ribbon.Requests.ToggleRegistryKey.GetRegistryKeysRequest,&#xA;Sitecore.ExperienceEditor.Speak.Ribbon&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;seems like I need do the same, but where I need add settings for my JavaScipt file that will be called my code for get default value? &lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="2056" LastEditDate="2018-04-04T18:44:57.220" LastActivityDate="2018-04-09T12:59:48.740" Title="How init custom check box value on Ribbon at Experience editor" Tags="|experience-editor|ribbon|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11164" PostTypeId="2" ParentId="9824" CreationDate="2018-04-04T19:13:11.297" Score="0" Body="&lt;p&gt;The solution to this had to do with the Solr configs, particularly schema.xml. I believe I had the wrong version. To solve:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I reviewed the Solr compatability table: &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I got a copy of the Solr install files to make sure I had the correct raw schema.xml (Which was called managedschema with my version of solr).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I very meticulously followed the Solr set up instructions&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&lt;/a&gt;&#xA;Including the extra steps listed in the compatability table&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After doing this, solr came up.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2018-04-04T19:13:11.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11167" PostTypeId="2" ParentId="11106" CreationDate="2018-04-04T21:15:56.403" Score="5" Body="&lt;p&gt;The difference between Sitecore Email Cloud Delivery and Custom SMTP are pretty simple. But to really understand why they exist, some background is needed.&lt;/p&gt;&#xA;&lt;h2&gt;What is a Mail Transit Provider and why do I need one?&lt;/h2&gt;&#xA;&lt;p&gt;At it's most basic component, the act of Sitecore (or any application really) to send email successfully, requires connection to some kind of outgoing SMTP (Simple Mail Transit Provider) service to do the actual dispatching of email.&lt;/p&gt;&#xA;&lt;p&gt;SMTP's are heavily regulated because of the impact of sending SPAM messages. One area of concern is what's called Reputation management. It's the concept that if you want your emails to be delivered to the Inbox of your recipients and not to the Junk/Spam boxes, the reputation of your domain is incredibly important.&lt;/p&gt;&#xA;&lt;h2&gt;How do you manage Reputation?&lt;/h2&gt;&#xA;&lt;p&gt;It's rather quite simple in theory, but really difficult in practice.  The core concept is making sure that you're only sending email to email addresses that have actively opted in to be mailed to.  Opt-In can come in many different forms and some companies do a better job than others at making it clear that an action the user is taking is subscribing them to a process that will send emails to them.&lt;/p&gt;&#xA;&lt;p&gt;However, when things go wrong, and there's a high number of bounces, high number of spam complaints, or high number of illicit tactics, spoofing etc occuring, it can place the actual SMTP server on to a publically distributed black list by IP address.  When an SMTP server is placed on this list, it takes a manual action to remove it, and every SMTP server in the world will validate against the black list and deny the sender from sending any email through that SMTP server.&lt;/p&gt;&#xA;&lt;p&gt;In cases where most companies are using 3rd party services for SMTP, those companies generally have controls in place to try and intervene before their own servers get blacklisted.&lt;/p&gt;&#xA;&lt;p&gt;In cases where companies host their own SMTP server, if they aren't careful, the could end up on the black list.&lt;/p&gt;&#xA;&lt;p&gt;DKIM and SPF are all ways that have come about as a way of validating the sender's domain and email server to ensure that the email server is acting correctly.&lt;/p&gt;&#xA;&lt;h1&gt;Sitecore's MTA Providers&lt;/h1&gt;&#xA;&lt;p&gt;Out of the box with Sitecore 9.0.1 as well as with EXM 3.4 and EXM 3.5, Sitecore ships with two MTA Providers:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Email Cloud Delivery Service&lt;/li&gt;&#xA;&lt;li&gt;Custom SMTP&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Custom SMTP&lt;/h2&gt;&#xA;&lt;p&gt;This is the easy one. This is a &lt;em&gt;Bring-Your-Own-SMTP&lt;/em&gt; concept.  If anyone is familiar even in the slightest with sending email automatically, you have to have an SMTP server.  Custom SMTP provides you default configurations for selecting a SMTP Server, Port, optional authentication, and other configurations.&lt;/p&gt;&#xA;&lt;p&gt;The most common SMTP services being used with the Custom SMTP are services like:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SendGrid&lt;/li&gt;&#xA;&lt;li&gt;Amazon SES SMTP&lt;/li&gt;&#xA;&lt;li&gt;Mailgun&lt;/li&gt;&#xA;&lt;li&gt;Postmark&lt;/li&gt;&#xA;&lt;li&gt;Mandrill&lt;/li&gt;&#xA;&lt;li&gt;AuthMailer&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The Custom SMTP Provider with Sitecore has a few drawbacks. Because it's a generic SMTP provider, it doesn't gather bounces or spam complaints from the SMTP providers. So, you won't see that information come into EXM.  There's also no global suppression list (controlled by the SMTP provider) for you to view, so you can't see the suppression list.&lt;/p&gt;&#xA;&lt;h2&gt;Sitecore Email Cloud Delivery Service&lt;/h2&gt;&#xA;&lt;p&gt;Sitecore Email Cloud Delivery Service or Sitecore Cloud EDS is Sitecore's subscription-based SMTP provider service. It's basically in competition with the other SMTP providers listed above but carries some unique differences.&lt;/p&gt;&#xA;&lt;p&gt;For starters, Sitecore Email Cloud Delivery Service is specifically built (through Sparkpost) to deal with Reputation Management.  There is a control panel that shows you the domains configured through Sitecore EDS and provides you all of the information you need to know to correctly setup your DKIM keys on your domain.&lt;/p&gt;&#xA;&lt;p&gt;Additionally, the suppression list is automatically populated into the Sitecore EXM Management UI.&lt;/p&gt;&#xA;&lt;p&gt;But the biggest bang for the buck is the built-in reporting that is gathered by Sitecore EDS.  Bounces and Spam Complaints give you a clear view into the deliverability of your email distribution. The lower your deliverability is, the higher chances that your domain will be blacklisted.&lt;/p&gt;&#xA;&lt;p&gt;Technically, when using Sitecore's Cloud EDS, there is NO SMTP configuration. Instead, the subscription is attached to your Sitecore license.  The Subscription calls for X amount of mail messages to be delivered per month.&lt;/p&gt;&#xA;&lt;h2&gt;So what's the difference?&lt;/h2&gt;&#xA;&lt;p&gt;The biggest difference is whether you have a tolerance for managing email reputation on your own or paying a subscription service to do it.  Sitecore heavily recommends using Sitecore Cloud EDS (and probably because they get money from it) but customers who don't use Sitecore Cloud EDS are much more likely to have deliverability issues if no one is actively monitoring it.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-04-04T21:23:36.947" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11168" PostTypeId="1" AcceptedAnswerId="11241" CreationDate="2018-04-05T00:17:48.147" Score="1" ViewCount="151" Body="&lt;p&gt;Can we set the priority (i.e. URGENT / NORMAL) for the approval? The high priority workflows are required to be approved first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="1273" LastEditDate="2018-04-09T06:49:48.030" LastActivityDate="2018-04-09T07:51:48.980" Title="Sitecore Workflow - Setting Priority" Tags="|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11169" PostTypeId="1" CreationDate="2018-04-05T01:32:39.130" Score="6" ViewCount="874" Body="&lt;p&gt;I have found Azure Sitecore PaaS has security limitations where you cannot secure the internet facing endpoints of the PaaS Apps. The only way to totally secure App endpoints in Azure is to put them in an App Service Environment (ASE). With that being said, I cannot find any evidence of anyone successfully deploying Sitecore PaaS into an ASE. I have found blogs saying they could not do it, but nothing saying it can’t be done. Has anyone successfully implemented that and can you give me some insight on how you implemented it? Thanks.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2018-09-25T16:21:09.020" Title="Using ASE (App Service Environment) to Secure Endpoints in Azure PaaS" Tags="|azure|paas|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11170" PostTypeId="2" ParentId="11161" CreationDate="2018-04-05T01:59:28.940" Score="3" Body="&lt;p&gt;The WFFM module processes Save Actions differently, depending on the settings, which means that they are processed in an async or synchronous manner. This is the expected behaviour.&lt;/p&gt;&#xA;&lt;p&gt;It might not seem obvious, but &lt;a href=&quot;https://sitecore.stackexchange.com/a/7054/135&quot;&gt;I previously provided this answer&lt;/a&gt; which contains all the details that you need and explains in a fair amount of detail what is going on and why.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The reason the user was not notified is because the Save Action was not marked as a &lt;code&gt;Client Action&lt;/code&gt;, which means that it was actually run on the CM Server (passed via the &lt;code&gt;Event Queue&lt;/code&gt;). When the user submits the form, the data is serialised in the Event Queue and later picked up by the CM server for processing. Any errors would be logged in the CM server, and since processing is done by a different server (so effectively async) the user is never notified of the error.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;To force a specific &lt;code&gt;Save Action&lt;/code&gt; to run synchronously ensure the &lt;code&gt;Client Action&lt;/code&gt; field is checked. This will force the Save Action to run one after another and any errors will force the error message to be shown to the users.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iYFAx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iYFAx.png&quot; alt=&quot;WFFM Client Action&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;The difference between Production and Development is the configuration. Assuming you have followed the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers/Web_Forms_For_Marketers_81/Web_Forms_For_Marketers_81_Update3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;installation guide&lt;/a&gt; correctly, in particular section &amp;quot;1.2.2 Configuring the CD server&amp;quot;, one of the steps listed is:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;In the &lt;code&gt;\Website\App_Config\Include\Sitecore.Forms.Config&lt;/code&gt; file,&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add the following node to the  section:&#xA;&lt;code&gt;&amp;lt;setting name=&amp;quot;WFM.IsRemoteActions&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;With this setting enabled, any &lt;code&gt;Save Action&lt;/code&gt; which does not have &lt;code&gt;Client Action&lt;/code&gt; checked will run on the CM instance as mentioned earlier. On your development environment this setting will be &lt;strong&gt;false&lt;/strong&gt; (the default value) and so all Save Actions will run in a synchronous manner, therefore the error being returned to the user.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-04-05T01:59:28.940" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11171" PostTypeId="1" CreationDate="2018-04-05T03:17:28.207" Score="1" ViewCount="633" Body="&lt;p&gt;Is there an SXA component that supports a rendering variant that can pull data from a multilist field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore SXA 1.4, I want to allow editors to select from a multilist of simple items (text and icon, not a page). I have tried using a Page List with the datasource set to an item that contains a multilist. I changed the Source Type of the rendering to &quot;Items of the same template&quot; but it displayed and empty in the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been recommended to use item queries, but I don't understand where to apply that. Any help much appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My alternative is to extend an existing SXA component, but my request isn't particularly complicated.&lt;/p&gt;&#xA;" OwnerUserId="3493" LastEditorUserId="1671" LastEditDate="2018-04-05T12:49:13.117" LastActivityDate="2018-04-05T12:49:13.117" Title="Which SXA component supports pulling data from a multilist field" Tags="|sxa|fieldtype|" AnswerCount="1" CommentCount="3" ClosedDate="2018-04-05T16:47:28.997" ContentLicense="CC BY-SA 3.0" />
  <row Id="11175" PostTypeId="2" ParentId="11171" CreationDate="2018-04-05T07:35:06.630" Score="1" Body="&lt;p&gt;Wrote a blog on that here: &lt;a href=&quot;https://ggullentops.blogspot.be/2017/04/sitecore-sxa-pagelist-item-query.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.be/2017/04/sitecore-sxa-pagelist-item-query.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps to take:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create an &lt;code&gt;item query&lt;/code&gt; that will fetch your data (the items with text and icon)&lt;/li&gt;&#xA;&lt;li&gt;Create a &lt;code&gt;variant&lt;/code&gt; for the &lt;code&gt;PageList&lt;/code&gt; component to display the fields you want displayed&lt;/li&gt;&#xA;&lt;li&gt;Create your PageList component: select the variant you just created and in the &lt;code&gt;Source Type&lt;/code&gt; you should find the item query you defined in step 1.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The item query part is explained in detail &lt;a href=&quot;https://sitecore.stackexchange.com/q/4706/237&quot;&gt;here&lt;/a&gt; as well.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-04-05T07:35:06.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11176" PostTypeId="1" CreationDate="2018-04-05T07:55:05.293" Score="0" ViewCount="194" Body="&lt;p&gt;When we add a new Form rendering to a placeholder the only options that are available on the wizard are to &lt;strong&gt;Create a blank form&lt;/strong&gt; or &lt;strong&gt;Select a form to copy&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZU55q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZU55q.png&quot; alt=&quot;WFFM Form Wizard&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no option to use existing forms that may have been previously created and used on other pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does the WFFM module support choosing an existing form option while creating or adding a forms in a placeholder? How can we enable the option to allow selection of existing forms, or how can our content editors re-use the forms from other areas of the site?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.0 update 3 version.&lt;/p&gt;&#xA;" OwnerUserId="3019" LastEditorUserId="135" LastEditDate="2018-04-05T14:19:29.513" LastActivityDate="2018-04-05T14:19:29.513" Title="How to select an existing form when adding a WFFM Form using Experience Editor" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11178" PostTypeId="2" ParentId="11156" CreationDate="2018-04-05T10:07:00.400" Score="2" Body="&lt;p&gt;The issue is now resolved, actually by mistake we enabled &lt;code&gt;Sitecore.ContentSearch.SolrCloud.SwitchOnRebuild.config.example&lt;/code&gt; and after disabling it again indexes rebuild successfully.&lt;/p&gt;&#xA;" OwnerUserId="1307" LastActivityDate="2018-04-05T10:07:00.400" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11180" PostTypeId="1" CreationDate="2018-04-05T11:59:18.197" Score="0" ViewCount="746" Body="&lt;p&gt;I am on Sitecore 9 update 1 , XP1 topology-Azure PaaS environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking for an option of redirecting any Content Management URL to Experience Editor mode. It will redirect login if not logged in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My CM instance has to be available over internet so I would like to have this flexibility.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an idea of doing it by &lt;strong&gt;&quot;rewrite&quot;&lt;/strong&gt; under web.config by prepending &lt;strong&gt;sc_mode=edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;rule name=&quot;Add sc mode edit&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;.*&quot; /&amp;gt;&#xA;        &amp;lt;conditions&amp;gt;&#xA;          &amp;lt;add input=&quot;{QUERY_STRING}&quot; pattern=&quot;sc_mode=edit&quot; negate=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;add input=&quot;&amp;amp;amp;{QUERY_STRING}&quot; pattern=&quot;^(&amp;amp;amp;.+)|^&amp;amp;amp;$&quot; /&amp;gt;&#xA;        &amp;lt;/conditions&amp;gt;&#xA;      &amp;lt;action type=&quot;Redirect&quot; url=&quot;{R:0}?sc_mode=edit{C:1}&quot; appendQueryString=&quot;false&quot;  /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I already have below rewrite code in my web.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rewrite&amp;gt;&#xA;  &amp;lt;rules&amp;gt;&#xA;    &amp;lt;rule name=&quot;Root Hit Force HTTPS Redirection&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;^$&quot; ignoreCase=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot; /&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot; /&amp;gt;&#xA;      &amp;lt;/conditions&amp;gt;&#xA;      &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;    &amp;lt;rule name=&quot;Sitecore Login or Admin Force HTTPS Redirection&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;^(sitecore/(login|admin))$&quot; /&amp;gt;&#xA;      &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot; /&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot; /&amp;gt;&#xA;      &amp;lt;/conditions&amp;gt;&#xA;      &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; appendQueryString=&quot;true&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;    &amp;lt;rule name=&quot;Forbidden&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;      &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot; /&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot; /&amp;gt;&#xA;      &amp;lt;/conditions&amp;gt;&#xA;      &amp;lt;action type=&quot;CustomResponse&quot; statusCode=&quot;403&quot; subStatusCode=&quot;0&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;        &#xA;  &amp;lt;/rules&amp;gt;&#xA;&amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Combining both results in two rule for &quot;.*&quot; match ; and givs error in edit mode as &quot;severe error contact Administrator&quot; and none of the button or link click is working only above error just below Editor ribbon is coming.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Need suggestion on how to proceed on this or take some other route to achieve this.&lt;/p&gt;&#xA;" OwnerUserId="493" LastEditorUserId="493" LastEditDate="2018-04-05T18:39:58.810" LastActivityDate="2018-04-09T13:14:47.643" Title="Redirecting any CM page URL to Experience Editor mode" Tags="|sitecore-client|experience-editor|paas|url-rewrite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11181" PostTypeId="2" ParentId="10578" CreationDate="2018-04-05T12:57:35.797" Score="1" Body="&lt;h2&gt;This is not a Unit Testing problem&lt;/h2&gt;&#xA;&lt;p&gt;This is just bad architecture.&lt;/p&gt;&#xA;&lt;p&gt;You need to isolate your calls to the weather service. Put that in a background service, that will call for new weather information every... 30 minutes or so. And if you need to vary the calls &amp;quot;by city&amp;quot; or whatever - at the very least make sure to cache the results in the same background service, so it only gets called once (in that 30 minute timespan).&lt;/p&gt;&#xA;&lt;p&gt;Then, in your actual rule, call up the background service (which should respond with a cached result almost instantly).&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-04-05T12:57:35.797" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11182" PostTypeId="2" ParentId="11176" CreationDate="2018-04-05T14:04:59.077" Score="3" Body="&lt;p&gt;It is not possible to select an existing form when you add a form onto a page in Sitecore 8.0 update 3 or earlier versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One option is to upgrade your Sitecore instance to 8.0 Update 6, in which this option was added, but be aware that there were a number of other big changes in this release including a number of code changes and updates to the front-end framework to use Bootstrap which may require you to spend a significant time updating your styling to fix this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative is to override the Form Selector and provide your own implementation to add a &quot;Use existing form&quot; option. &lt;a href=&quot;https://jammykam.wordpress.com/2015/10/05/webforms-for-marketers-allow-selection-of-existing-forms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;I have previously written a blog post&lt;/a&gt; on this exact thing for Sitecore 8.0 Update-3&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Steps to override the Form Selector&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Make a copy of &lt;strong&gt;/sitecore/shell/Applications/Modules/Web Forms for Marketers/InsertFormWizard.xml&lt;/strong&gt; and copy it to &lt;strong&gt;/sitecore/shell/Override&lt;/strong&gt; folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update the file to change the &lt;code&gt;Codebeside&lt;/code&gt; tag to point to your implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;WizardForm Application=&quot;Modules/Web Forms for Marketers/Insert Form Wizard&quot; CodeBeside=&quot;MyProject.Custom.WFFM.UI.InsertFormWizard, MyProject.Custom&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add a new RadioButton that will allow selection for existing forms:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Border Margin=&quot;10px&quot;&amp;gt;&#xA;  &amp;lt;Radiobutton ID=&quot;ChooseExistingForm&quot; Name=&quot;ChooseOperation&quot; Value=&quot;existing&quot;/&amp;gt;&#xA;&amp;lt;/Border&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And create a Class that for the code behind. You want to check if the new &quot;Existing Form&quot; option has been selected and if so vary the wizard page shown appropriately:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace MyProject.Custom.WFFM.UI&#xA;{&#xA;    public class InsertFormWizard : Sitecore.Forms.Shell.UI.InsertFormWizard&#xA;    {&#xA;        protected Radiobutton ChooseExistingForm;&#xA;&#xA;        protected override bool ActivePageChanging(string page, ref string newpage)&#xA;        {&#xA;            if (newpage == &quot;SelectPlaceholder&quot; &amp;amp;&amp;amp; page == &quot;SelectForm&quot; &amp;amp;&amp;amp; this.ChooseExistingForm.Checked)&#xA;                newpage = string.IsNullOrEmpty(base.Placeholder) ? &quot;SelectPlaceholder&quot; : &quot;ConfirmationPage&quot;;&#xA;&#xA;            if (this.ChooseExistingForm.Checked &amp;amp;&amp;amp; newpage == &quot;AnalyticsPage&quot;)&#xA;                newpage = &quot;ConfirmationPage&quot;;&#xA;&#xA;            return base.ActivePageChanging(page, ref newpage);&#xA;        }&#xA;&#xA;        protected override void OnNext(object sender, EventArgs formEventArgs)&#xA;        {&#xA;            if (this.NextButton.Header == &quot;Confirm&quot; &amp;amp;&amp;amp; this.ChooseExistingForm.Checked)&#xA;            {&#xA;                this.SaveExistingFormSelection();&#xA;                SheerResponse.SetModified(false);&#xA;                this.Next();&#xA;                return;&#xA;            }&#xA;            base.OnNext(sender, formEventArgs);&#xA;        }&#xA;&#xA;        private void SaveExistingFormSelection()&#xA;        {&#xA;            Item source = ExistingFormSelection();&#xA;            this.ServerProperties[this.newFormUri] = source.Uri.ToString();&#xA;            Registry.SetString(&quot;/Current_User/Dialogs//sitecore/shell/default.aspx?xmlcontrol=Forms.FormDesigner&quot;, &quot;1250,500&quot;);&#xA;            SheerResponse.SetDialogValue(source.ID.ToString());&#xA;        }&#xA;&#xA;        private Item ExistingFormSelection()&#xA;        {&#xA;            string queryString = Sitecore.Web.WebUtil.GetQueryString(&quot;la&quot;);&#xA;            Language result = Context.ContentLanguage;&#xA;            if (!string.IsNullOrEmpty(queryString))&#xA;                Language.TryParse(Sitecore.Web.WebUtil.GetQueryString(&quot;la&quot;), out result);&#xA;&#xA;            Item source = this.FormsRoot.Database.GetItem(this.multiTree.Selected, result);&#xA;            return source;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above is the minimum code required to make this work. I suggest reading the blog post for a more thorough explanation and the full code is also available in &lt;a href=&quot;https://gist.github.com/jammykam/92377635a06ac86d627a&quot; rel=&quot;nofollow noreferrer&quot;&gt;this Github Gist&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The user will now have the option to select an existing form using the wizard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ok2SZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ok2SZ.png&quot; alt=&quot;WFFM Existing Form Selector&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-04-05T14:04:59.077" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="11185" PostTypeId="2" ParentId="10394" CreationDate="2018-04-05T15:37:11.953" Score="1" Body="&lt;p&gt;Eventually with help from Sitecore support, I figured out what was causing performance degradation. For anyone having the same issue, try making the below config change.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[Your sitecore instance]\App_Config\Sitecore\DeviceDetection.Client\Sitecore.CES.DeviceDetection.config update &lt;strong&gt;DeviceDetection.Enabled to false&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Why I had to do this is still something I am trying to figure out but at least it got me successfully through the data migration part.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, the solution mentioned below did not work for me.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/828414&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/828414&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2704" LastActivityDate="2018-04-05T15:37:11.953" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11186" PostTypeId="1" CreationDate="2018-04-05T16:08:01.403" Score="0" ViewCount="1243" Body="&lt;p&gt;I have a search results listing page where every search results are being updated using AJAX. I set a few rendering parameters like the number of results per page on the rendering because they need to vary between pages. Unfortunately, the Current Rendering item is not null only on the first page load, and then returns null with every AJAX request. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to find the best way to obtain the parameters if I do not have the rendering item but I can pass eg. Rendering item Id in query string. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was planning to :&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Pass rendering ID in query string&lt;/li&gt;&#xA;&lt;li&gt;Get the rendering item&lt;/li&gt;&#xA;&lt;li&gt;Assign current RenderingContext.Current.Rendering to the item from 2&lt;/li&gt;&#xA;&lt;li&gt;Invoke the rest of the logic as usual&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I don't know how I should retrieve the rendering from ID to be able to assign it. I cannot just get the item because it's Rendering type, not Item type, can you please help? Maybe there is a better way to do it?&lt;/p&gt;&#xA;" OwnerUserId="1979" LastActivityDate="2018-04-06T01:01:54.087" Title="How to get rendering parameters based on Rendering ID" Tags="|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11187" PostTypeId="1" AcceptedAnswerId="11190" CreationDate="2018-04-05T17:09:38.043" Score="5" ViewCount="3104" Body="&lt;p&gt;I'm trying to programmatically get the HTML from an item, including its presentation details (i.e. placeholder items inserted via Experience Editor).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using the top solution from this post but it ONLY renders the item itself and does not include any of the renderings I've added to the page:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6251/is-it-possible-to-get-page-rendering-result-programmatically/6256#6256?newreg=2b3e351175ea445c83f589f6ebe71035&quot;&gt;Is it possible to get page rendering result programmatically ?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3500" LastEditorUserId="1671" LastEditDate="2018-04-05T17:21:33.587" LastActivityDate="2018-04-30T18:06:18.070" Title="How do you programmatically get the HTML from a Sitecore item, including all its renderings?" Tags="|mvc|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11188" PostTypeId="1" AcceptedAnswerId="11189" CreationDate="2018-04-05T19:55:00.010" Score="0" ViewCount="78" Body="&lt;p&gt;Is it against Sitecore's best security practices to allow the gateway to Sitecore's management server to the public internet? e.g www.test.com/sitecore &lt;/p&gt;&#xA;" OwnerUserId="3444" LastActivityDate="2018-04-05T20:43:32.547" Title="Allowing Sitecore's gateway to management server to public internet?" Tags="|configuration|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11189" PostTypeId="2" ParentId="11188" CreationDate="2018-04-05T20:43:32.547" Score="0" Body="&lt;p&gt;Simply put, it's not best practices to expose the Sitecore login screen and backend to the public internet. Sometimes it's unavoidable. In those case, the thing to remember is that the CM server is just another website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hardening access to the file system and ensuring that your login screen is properly secured should be considered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In most cases, the Best Practice is that the CM server is hidden behind the DMZ and only the Content Delivery server is exposed to the internet with the &lt;code&gt;sitecore&lt;/code&gt; folder disabled by authentication.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-04-05T20:43:32.547" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11190" PostTypeId="2" ParentId="11187" CreationDate="2018-04-05T21:38:55.707" Score="3" Body="&lt;p&gt;This appears to be working for me:&#xA;&lt;a href=&quot;https://jeffdarchuk.com/2015/10/18/render-item-to-string-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffdarchuk.com/2015/10/18/render-item-to-string-mvc/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new context stack that you can push new &lt;code&gt;PageRenderItemDefinitionContext&lt;/code&gt; items to, then override the render pipeline to use the &lt;code&gt;PageRenderItemDefinitionContext&lt;/code&gt; stack if it exists.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//&amp;lt;summary&amp;gt;&#xA;/// A context stack for the current page defintion.  By default many of the MVC pipeline&#xA;/// processes use a static singular page context PageContext.  This is problematic if&#xA;/// you want to render from a completely seperate context.  This is set up as a context&#xA;/// stack to be used on top of the already used PageContext.&#xA;/// &amp;lt;/summary&amp;gt; &#xA;public class PageRenderItemDefinitionContext&#xA;{&#xA;    public static PageRenderItemDefinitionContext Current =&amp;gt; ContextService.Get().GetCurrent&amp;lt;PageRenderItemDefinitionContext&amp;gt;();&#xA;&#xA;    public static PageRenderItemDefinitionContext CurrentOrNull =&amp;gt; ContextService.Get().GetCurrentOrDefault&amp;lt;PageRenderItemDefinitionContext&amp;gt;();&#xA;&#xA;    public PageDefinition Definition { get; private set; }&#xA;    public Item Item { get; private set; }&#xA;    public DisplayMode PageMode { get; set; }&#xA;&#xA;    public PageRenderItemDefinitionContext(PageDefinition pageDefinition, Item item, DisplayMode exteriorDisplayMode)&#xA;    {&#xA;        Assert.ArgumentNotNull(pageDefinition, nameof(pageDefinition));&#xA;        Assert.ArgumentNotNull(item, nameof(item));&#xA;&#xA;        Definition = pageDefinition;&#xA;        Item = item;&#xA;        PageMode = exteriorDisplayMode;&#xA;    }&#xA;&#xA;    public static IDisposable Enter(PageRenderItemDefinitionContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        return ContextService.Get().Push(context);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The second part of this is to override the render method in the &lt;code&gt;PerformRendering&lt;/code&gt; processor of the &lt;code&gt;RenderPlaceholder&lt;/code&gt; pipeline to use our new &lt;code&gt;PageRenderItemDefinitionContext&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PerformItemRendering : PerformRendering&#xA;{&#xA;    public static readonly string ItemRenderingKey = Guid.NewGuid().ToString();&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Render step, except it temporarily abandons the placeholder context to render a seperate item, after which it puts the context back&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;placeholderName&quot;&amp;gt;Placeholder to render&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;writer&quot;&amp;gt;writer to render to&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    protected override void Render(string placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;    {&#xA;        if (PageRenderItemDefinitionContext.CurrentOrNull != null)&#xA;           args.PageContext.PageDefinition = PageRenderItemDefinitionContext.Current.Definition;&#xA;&#xA;        if (placeholderName != ItemRenderingKey)&#xA;        {&#xA;            base.Render(placeholderName, writer, args);&#xA;            return;&#xA;        }&#xA;&#xA;        Stack&amp;lt;PlaceholderContext&amp;gt; previousContext = new Stack&amp;lt;PlaceholderContext&amp;gt;();&#xA;        while (PlaceholderContext.CurrentOrNull != null)&#xA;        {&#xA;            previousContext.Push(PlaceholderContext.Current);&#xA;            PlaceholderContext.Exit();&#xA;        }&#xA;&#xA;        try&#xA;        {&#xA;            PipelineService.Get().RunPipeline(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(args.PageContext.PageDefinition.Renderings.First(x =&amp;gt; x.Placeholder.IsWhiteSpaceOrNull()), writer));&#xA;        }&#xA;        finally&#xA;        {&#xA;            while (PlaceholderContext.CurrentOrNull != null)&#xA;            PlaceholderContext.Exit();&#xA;&#xA;            while (previousContext.Any())&#xA;            {&#xA;                PlaceholderContext.Enter(previousContext.Pop());&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create a new class to gather what we need and run the needed pipelines&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Renders an item's layout to a string or TextWriter.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public class ItemRenderer&#xA;{&#xA;   public Item Item { get; set; }&#xA;&#xA;   public ItemRenderer(Item item)&#xA;   {&#xA;       Item = item;&#xA;   }&#xA;&#xA;   /// &amp;lt;summary&amp;gt;&#xA;   /// Renders an item with a layout defined to a string for MVC&#xA;   /// &amp;lt;/summary&amp;gt;&#xA;   /// &amp;lt;returns&amp;gt;HTML of item&amp;lt;/returns&amp;gt;&#xA;   public virtual string Render()&#xA;   {&#xA;       using (TextWriter tw = new StringWriter())&#xA;       {&#xA;           Render(tw);&#xA;           return tw.ToString();&#xA;       }&#xA;   }&#xA;&#xA;   /// &amp;lt;summary&amp;gt;&#xA;   /// Renders an item with a layout defined to a string for MVC&#xA;   /// &amp;lt;/summary&amp;gt;&#xA;   /// &amp;lt;returns&amp;gt;HTML of item&amp;lt;/returns&amp;gt;&#xA;   public virtual void Render(TextWriter writer)&#xA;   {&#xA;       var originalDisplayMode = Context.Site.DisplayMode;&#xA;&#xA;       // keep a copy of the renderings we start with.&#xA;       // running the renderPlaceholder pipeline (which runs renderRendering) will overwrite these&#xA;       // and we need to set them back how they were when we're done rendering the xBlock&#xA;       var originalRenderingDefinitionContext = RenderingContext.CurrentOrNull?.PageContext?.PageDefinition;&#xA;&#xA;       try&#xA;       {&#xA;           // prevents editing the snippet in context, so you cannot mistakenly change something shared by mistake&#xA;           if (Context.PageMode.IsExperienceEditorEditing)&#xA;               Context.Site.SetDisplayMode(DisplayMode.Preview, DisplayModeDuration.Temporary);&#xA;&#xA;           var pageDef = new PageDefinition&#xA;           {&#xA;               Renderings = new List&amp;lt;Rendering&amp;gt;()&#xA;           };&#xA;&#xA;           //Extracts the item's layout XML, then parses all of the renderings out of it.&#xA;           pageDef.Renderings.AddRange(GetRenderings(GetLayoutFromItem()));&#xA;&#xA;           // Uncovers the main layout rendering&#xA;           var pageRenderingArgs = new GetPageRenderingArgs(pageDef);&#xA;           PipelineService.Get().RunPipeline(&quot;mvc.getPageRendering&quot;, pageRenderingArgs);&#xA;&#xA;           //Renders all placeholders for the layout rendering, which would be the entire page&#xA;           var renderPlaceholderArgs = new RenderPlaceholderArgs(PerformItemRendering.ItemRenderingKey, writer, pageRenderingArgs.Result)&#xA;           {&#xA;               PageContext = new PageContext&#xA;               {&#xA;                   PageDefinition = pageDef&#xA;               }&#xA;           };&#xA;&#xA;           using (PageRenderItemDefinitionContext.Enter(new PageRenderItemDefinitionContext(pageDef, Item, originalDisplayMode)))&#xA;           {&#xA;               PipelineService.Get().RunPipeline(&quot;mvc.renderPlaceholder&quot;, renderPlaceholderArgs);&#xA;           }&#xA;       }&#xA;       catch (Exception e)&#xA;       {&#xA;           Log.Error(&quot;There was a problem rendering an item to string&quot;, e, this);&#xA;           if (originalDisplayMode == DisplayMode.Edit || originalDisplayMode == DisplayMode.Preview)&#xA;           {&#xA;               writer.Write($&quot;&amp;lt;p class=\&quot;edit-only\&quot;&amp;gt;Error occurred while rendering {Item.Paths.FullPath}: {e.Message}&amp;lt;br&amp;gt;For error details, &amp;lt;a href=\&quot;{LinkManager.GetItemUrl(Item)}\&quot; onclick=\&quot;window.open(this.href); return false;\&quot;&amp;gt;visit the target page&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&quot;);&#xA;           }&#xA;       }&#xA;       finally&#xA;       {&#xA;           // replace the renderings in the current context with the ones that existed before we ran our sideline renderPlaceholder&#xA;           // because they have been overwritten with the xBlock's renderings at this point&#xA;           if (originalRenderingDefinitionContext != null)&#xA;           {&#xA;               RenderingContext.CurrentOrNull.PageContext.PageDefinition = originalRenderingDefinitionContext;&#xA;           }&#xA;&#xA;           Context.Site.SetDisplayMode(originalDisplayMode, DisplayModeDuration.Temporary);&#xA;       }&#xA;   }&#xA;&#xA;   /// &amp;lt;summary&amp;gt;&#xA;   /// Gets the layout XML from the item&#xA;   /// &amp;lt;/summary&amp;gt;&#xA;   /// &amp;lt;returns&amp;gt;xml of the layout definition&amp;lt;/returns&amp;gt;&#xA;   protected virtual XElement GetLayoutFromItem()&#xA;   {&#xA;       Field innerField = new LayoutField(Item).InnerField;&#xA;&#xA;       if (innerField == null)&#xA;           return null;&#xA;&#xA;       string fieldValue = LayoutField.GetFieldValue(innerField);&#xA;&#xA;       if (fieldValue.IsWhiteSpaceOrNull())&#xA;           return null;&#xA;&#xA;       return XDocument.Parse(fieldValue).Root;&#xA;   }&#xA;&#xA;   /// &amp;lt;summary&amp;gt;&#xA;   /// Gets the rendering out of the xml node and injects some values in&#xA;   /// &amp;lt;/summary&amp;gt;&#xA;   /// &amp;lt;param name=&quot;renderingNode&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;   /// &amp;lt;param name=&quot;deviceId&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;   /// &amp;lt;param name=&quot;layoutId&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;   /// &amp;lt;param name=&quot;renderingType&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;   /// &amp;lt;param name=&quot;parser&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;   /// &amp;lt;returns&amp;gt;MVC rendering&amp;lt;/returns&amp;gt;&#xA;   protected virtual Rendering GetRendering(XElement renderingNode, Guid deviceId, Guid layoutId, string renderingType, XmlBasedRenderingParser parser)&#xA;   {&#xA;       Rendering rendering = parser.Parse(renderingNode, false);&#xA;       rendering.DeviceId = deviceId;&#xA;       rendering.LayoutId = layoutId;&#xA;       if (renderingType != null)&#xA;           rendering.RenderingType = renderingType;&#xA;&#xA;       // if the xBlock is rendering in the context of another page, renderings with no data source should be repointed to the xBlock page item&#xA;       // as opposed to the context page item&#xA;       if (string.IsNullOrWhiteSpace(rendering.DataSource))&#xA;          rendering.DataSource = Item.ID.ToString();&#xA;&#xA;       return rendering;&#xA;   }&#xA;&#xA;   /// &amp;lt;summary&amp;gt;&#xA;   /// Get all renderings out of the layout definition&#xA;   /// &amp;lt;/summary&amp;gt;&#xA;   /// &amp;lt;param name=&quot;layoutDefinition&quot;&amp;gt;xml of the layout definition&amp;lt;/param&amp;gt;&#xA;   /// &amp;lt;returns&amp;gt;list of renderings&amp;lt;/returns&amp;gt;&#xA;   protected virtual IEnumerable&amp;lt;Rendering&amp;gt; GetRenderings(XElement layoutDefinition)&#xA;   {&#xA;       XmlBasedRenderingParser parser = MvcSettings.GetRegisteredObject&amp;lt;XmlBasedRenderingParser&amp;gt;();&#xA;       foreach (XElement xelement in layoutDefinition.Elements(&quot;d&quot;))&#xA;       {&#xA;           Guid deviceId = xelement.GetAttributeValueOrEmpty(&quot;id&quot;).ToGuid();&#xA;           Guid layoutId = xelement.GetAttributeValueOrEmpty(&quot;l&quot;).ToGuid();&#xA;&#xA;           yield return GetRendering(xelement, deviceId, layoutId, &quot;Layout&quot;, parser);&#xA;&#xA;           foreach (XElement renderingNode in xelement.Elements(&quot;r&quot;))&#xA;               yield return GetRendering(renderingNode, deviceId, layoutId, renderingNode.Name.LocalName, parser);&#xA;       }&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;At which point we can add an extension method to the Item object&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Renders an item with a layout definition to a string&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;item&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;Rendered output for the item&amp;lt;/returns&amp;gt;&#xA;public static string RenderToString(this Item item)&#xA;{&#xA;   return new ItemRenderer(item).Render();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm calling this method in a loop and appending the result to a string&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private static string GetHtmlFromItem(Item item)&#xA;{&#xA;    return item.RenderToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT:&#xA;I didn't think I needed the config override as I thought I was calling the method directly from the code. I had it in the configs in my local environment but it wasn't working on another.&#xA;    &#xA;      &#xA;        &#xA;          &#xA;            &#xA;          &#xA;        &#xA;      &#xA;    &lt;/p&gt;&#xA;" OwnerUserId="3500" LastEditorUserId="3500" LastEditDate="2018-04-30T18:06:18.070" LastActivityDate="2018-04-30T18:06:18.070" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11192" PostTypeId="2" ParentId="11186" CreationDate="2018-04-06T01:01:54.087" Score="2" Body="&lt;p&gt;I would suggest a different approach that i usually use in situations like these, &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;On the initial load of the page, add the rendering parameters values into the page as hidden input fields (input type: hidden), Or even like data attributes on one of the HTML elements.&lt;/li&gt;&#xA;&lt;li&gt;Create global javascript values that would read the values on these hidden fields as parameter object.&lt;/li&gt;&#xA;&lt;li&gt;When you submit your ajax/REST call, include the parameter object in the request.&lt;/li&gt;&#xA;&lt;li&gt;On your controller action, You can read the parameters values and use them to filter the search results.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-04-06T01:01:54.087" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11193" PostTypeId="1" CreationDate="2018-04-06T07:41:56.490" Score="3" ViewCount="675" Body="&lt;p&gt;We have been asked for migrating content from SharePoint to Sitecore 9. What should be the best way to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we use SharePoint Connect (SharePoint Integration Framework) to achieve this or it is just used for integration?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know there are some paid tools like Kapow and Siteport, but we are looking for open source or free module.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="1049" LastEditDate="2018-04-06T08:30:49.987" LastActivityDate="2019-02-07T13:52:04.230" Title="SharePoint to Sitecore content migration" Tags="|content-migration|sharepoint-connect|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="11194" PostTypeId="1" CreationDate="2018-04-06T08:03:16.233" Score="0" ViewCount="498" Body="&lt;p&gt;Hi all i'm getting the following Exception while upgrading the instance:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6848 07:38:16 FATAL [Experience Analytics]: Failed to synchronize segments. Message: Object reference not set to an instance of an object..    Details:     at Sitecore.ExperienceAnalytics.Client.Deployment.SegmentUtil.&amp;lt;GetSegmentsToSynchronize&amp;gt;b__0(SegmentDefinition segmentItem)&#xA;at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()&#xA;at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&#xA;at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)&#xA;at Sitecore.ExperienceAnalytics.Client.Deployment.SegmentUtil.GetSegmentsToSynchronize()&#xA;at Sitecore.ExperienceAnalytics.Client.Deployment.SegmentUtil.SynchronizeAllSegments()&#xA;at System.Threading.Tasks.Task.Execute()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsProcessor.&amp;lt;Process&amp;gt;d__2.MoveNext()&#xA;ManagedPoolThread #3 07:38:18 INFO  Trying to load XML configuration /App_Config/Security/GlobalRoles.config &#xA;ManagedPoolThread #0 07:38:55 INFO  Loading Dictionary from cache&#xA;12764 07:38:58 WARN  The &quot;ContentSearch.FullRebuildItemCountThreshold&quot; setting contains an invalid value. The default value is used instead. Invalid value: &quot;&quot;. Default value: &quot;100000&quot;&#xA;ManagedPoolThread #9 07:39:13 INFO  Job started: Index_Update_IndexName=sitecore_core_index&#xA;6252 07:39:14 WARN  The &quot;ConcurrentMergeSchedulerThreads&quot; setting contains an invalid value. The default value is used instead. Invalid value: &quot;&quot;. Default value: &quot;25&quot;&#xA;ManagedPoolThread #9 07:39:32 INFO  Job ended: Index_Update_IndexName=sitecore_core_index (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3403" LastEditorUserId="1049" LastEditDate="2018-04-06T11:52:22.440" LastActivityDate="2018-04-06T11:52:22.440" Title="Error During Upgrading Sitecore 8.1 to Sitecore 9.0.1" Tags="|upgrade|sitecore-query|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11195" PostTypeId="1" AcceptedAnswerId="11199" CreationDate="2018-04-06T08:27:51.727" Score="0" ViewCount="297" Body="&lt;p&gt;I got a task to rename all the namespaces in a solution according to a new namespace strategy and after I was done the solution builds  and starts but when I try to bootstrap the updated environmentfiles I get this error:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;4 10:09:28 ERROR InvalidEnvironmentJson.Error: Message=Error resolving type specified in JSON 'XX.Commerce.Plugin.Payments.Adyen.AdyenClientPolicy, XX.Commerce.Plugin.Payments.Adyen'. Path 'Policies.$values[3].$type', line 70, position 105.|Trace=   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolveTypeName(JsonReader reader, Type&amp;amp; objectType, JsonContract&amp;amp; contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, String qualifiedTypeName)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type&amp;amp; objectType, JsonContract&amp;amp; contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object&amp;amp; newValue, String&amp;amp; id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type&amp;amp; objectType, JsonContract&amp;amp; contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object&amp;amp; newValue, String&amp;amp; id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)&#xA;   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)&#xA;   at Sitecore.Commerce.Core.ValidateEnvironmentJsonBlock.d__0.MoveNext()&#xA;Newtonsoft.Json.JsonSerializationException: Error resolving type specified in JSON 'XX.Commerce.Plugin.Payments.Adyen.AdyenClientPolicy, XX.Commerce.Plugin.Payments.Adyen'. Path 'Policies.$values[3].$type', line 70, position 105. ---&amp;gt; Newtonsoft.Json.JsonSerializationException: Could not load assembly 'XX.Commerce.Plugin.Payments.Adyen'.&#xA;   at Newtonsoft.Json.Serialization.DefaultSerializationBinder.GetTypeFromTypeNameKey(TypeNameKey typeNameKey)&#xA;   at System.Collections.Concurrent.ConcurrentDictionary&lt;code&gt;2.GetOrAdd(TKey key, Func&lt;/code&gt;2 valueFactory)&#xA;   at Newtonsoft.Json.Serialization.DefaultSerializationBinder.BindToType(String assemblyName, String typeName)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolveTypeName(JsonReader reader, Type&amp;amp; objectType, JsonContract&amp;amp; contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, String qualifiedTypeName)&#xA;   --- End of inner exception stack trace ---&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolveTypeName(JsonReader reader, Type&amp;amp; objectType, JsonContract&amp;amp; contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, String qualifiedTypeName)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type&amp;amp; objectType, JsonContract&amp;amp; contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object&amp;amp; newValue, String&amp;amp; id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type&amp;amp; objectType, JsonContract&amp;amp; contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object&amp;amp; newValue, String&amp;amp; id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)&#xA;   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)&#xA;   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)&#xA;   at Sitecore.Commerce.Core.ValidateEnvironmentJsonBlock.d__0.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;In order to understand what is wrong I need a deeper understanding about this:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The Commerce Authoring service requires access to the Sitecore instance during the initialization process. Information about the Sitecore instance is located in the CommerceAuthoring\wwwroot\data\Environments\PlugIn.Habitat.CommerceAuthoring-1.0.0.json file, and contains the following default values:&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;$type&amp;quot;: &amp;quot;Sitecore.Commerce.Plugin.Management.SitecoreConnectionPolicy, Sitecore.Commerce.Plugin.Management&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;Host&amp;quot;: &amp;quot;cf.reference.storefront.com&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;SitecoreDatabase&amp;quot;: &amp;quot;XXXXXX&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;UserName&amp;quot;: &amp;quot;XXXXXX&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;Domain&amp;quot;: &amp;quot;XXXXXX&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;Password&amp;quot;: &amp;quot;XXX&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;&amp;quot;PolicyId&amp;quot;: &amp;quot;a12d609f37124c4fb9007519a8e18b69&amp;quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;It is the first line (&amp;quot;$type&amp;quot;:) that I am interested in. What represent the value of that line? The first part seem to Point to a specific class (SitecoreConnectionPolicy) but is the prefix (Sitecore.Commerce.Plugin.Management) a namespace or a path? And the second part (Sitecore.Commerce.Plugin.Management) is that a namespace, path or an assemblyname?&lt;/p&gt;&#xA;&lt;p&gt;Many thanks in advance for any input that might shed a light on this.&lt;/p&gt;&#xA;" OwnerUserId="3366" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-04-06T09:33:51.707" Title="Basic understanding of the authoring.json file" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11196" PostTypeId="1" AcceptedAnswerId="11240" CreationDate="2018-04-06T08:51:44.703" Score="3" ViewCount="6809" Body="&lt;p&gt;I'm trying to patch an &lt;strong&gt;AdoNetAppender&lt;/strong&gt; using the &lt;code&gt;log4net.Appender.AdoNetAppender, log4net&lt;/code&gt; appender by doing the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;log4net&amp;gt;&#xA;            &amp;lt;appender name=&quot;AdoNetAppender&quot; patch:after=&quot;*[@name='PublishingLogFileAppender']&quot; type=&quot;log4net.Appender.AdoNetAppender, log4net&quot;&amp;gt;&#xA;                &amp;lt;bufferSize value=&quot;1&quot; /&amp;gt;&#xA;                &amp;lt;connectionType value=&quot;System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; /&amp;gt;&#xA;                &amp;lt;connectionStringName value=&quot;Log4netConnectionString&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By enabling the &lt;a href=&quot;https://logging.apache.org/log4net/release/faq.html#internalDebug&quot; rel=&quot;nofollow noreferrer&quot;&gt;log4net internal debbuging&lt;/a&gt;, I noticed the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;log4net: DOMConfigurator: Loading Appender [AdoNetAppender] type: [log4net.Appender.AdoNetAppender, log4net]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;log4net:ERROR DOMConfigurator: Could not create Appender [AdoNetAppender] of type [log4net.Appender.AdoNetAppender, log4net]. Reported error follows.&#xA;  System.InvalidCastException: Unable to cast object of type 'log4net.Appender.AdoNetAppender' to type 'log4net.Appender.IAppender'.&#xA;     at log4net.Repository.Hierarchy.DOMHierarchyConfigurator.ParseAppender(XmlElement appenderElement)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;log4net:ERROR DOMConfigurator: Appender named [AdoNetAppender] not found.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I wonder if Sitecore is trying to cast the &lt;code&gt;log4net.Appender.AdoNetAppender, log4net&lt;/code&gt; to type &lt;code&gt;log4net.Appender.IAppender, Sitecore.Logging&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First question would be: Is it possible to use &lt;code&gt;log4net.Appender.AdoNetAppender, log4net&lt;/code&gt; appender?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to use the &lt;code&gt;log4net.Appender.AdoNetAppender, Sitecore.Logging&lt;/code&gt; before, but it is very limited. e.g. there is not &lt;code&gt;RawPropertyLayout&lt;/code&gt; and the &lt;code&gt;PatternLayout&lt;/code&gt; doesn't work the same way as in the &lt;strong&gt;log4net&lt;/strong&gt; assembly.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Update 1&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If I change the type to &lt;code&gt;log4net.Appender.AdoNetAppender&lt;/code&gt; (without the &lt;code&gt;, log4net&lt;/code&gt;) as below, I get errors such as &lt;code&gt;[log4net.Layout.PatternLayout] is not assignable to type [log4net.Layout.IRawLayout]&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;AdoNetAppender&quot; patch:after=&quot;*[@name='PublishingLogFileAppender']&quot; type=&quot;log4net.Appender.AdoNetAppender&quot;&amp;gt;&#xA;    [...]&#xA;    &amp;lt;parameter&amp;gt;&#xA;        &amp;lt;parameterName value=&quot;@log_date&quot; /&amp;gt;&#xA;        &amp;lt;dbType value=&quot;DateTime&quot; /&amp;gt;&#xA;        &amp;lt;layout type=&quot;log4net.Layout.PatternLayout, log4net&quot;&amp;gt;&#xA;            &amp;lt;conversionPattern value=&quot;%utcdate{yyyy&amp;amp;apos;-&amp;amp;apos;MM&amp;amp;apos;-&amp;amp;apos;dd HH&amp;amp;apos;:&amp;amp;apos;mm&amp;amp;apos;:&amp;amp;apos;ss&amp;amp;apos;.&amp;amp;apos;fff}&quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;/parameter&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I believe it is due to the fact that I'm using &lt;code&gt;log4net.Layout.PatternLayout, log4net&lt;/code&gt; layouts.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;log4net:ERROR DOMConfigurator: Object type [log4net.Layout.PatternLayout] is not assignable to type [log4net.Layout.IRawLayout]. There are no acceptable type convertions.&#xA;  log4net:ERROR DOMConfigurator: Failed to create object to set param: layout&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Also, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;log4net:ERROR DOMConfigurator: Cannot find Property [connectionStringName] to set object on [log4net.Appender.ADONetAppender]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I believe Sitecore is assuming &lt;code&gt;log4net.Appender.AdoNetAppender, Sitecore.Logging&lt;/code&gt; if I omit the &lt;strong&gt;log4net&lt;/strong&gt; from the type.&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-04-06T09:20:26.873" LastActivityDate="2018-04-09T09:13:44.390" Title="Could not create Appender [AdoNetAppender] of type [log4net.Appender.AdoNetAppender, log4net] error" Tags="|logging|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11197" PostTypeId="2" ParentId="8925" CreationDate="2018-04-06T08:56:53.077" Score="0" Body="&lt;p&gt;In Sitecore.XA.Foundation.Search.Solr.config, for each index core,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.XA.Foundation.Search.Providers.Solr.SolrSearchIndex, Sitecore.XA.Foundation.Search.Providers.Solr&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;param desc=&quot;core&quot;&amp;gt;testytesty_sitecore_web_index&amp;lt;/param&amp;gt;&#xA;  &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;   &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.XA.Foundation.VersionSpecific.Search.SitecoreItemCrawler, Sitecore.XA.Foundation.VersionSpecific&amp;lt;/patch:attribute&amp;gt;&#xA;   &amp;lt;/crawler&amp;gt;&#xA;  &amp;lt;/locations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;param desc=&quot;core&quot;&amp;gt;testytesty_sitecore_web_index&amp;lt;/param&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Points to the index on the Solr server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whereas this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm guessing points to the local reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing the first should help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There may still be bugs after this step, but hopefully different ones&lt;/p&gt;&#xA;" OwnerUserId="3504" LastActivityDate="2018-04-06T08:56:53.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11198" PostTypeId="2" ParentId="11194" CreationDate="2018-04-06T08:58:55.573" Score="1" Body="&lt;p&gt;You need to make sure the the Marketing Definition has been deployed. First, please check if the workflow of the Marketing Definition items are set to deployed (see screenshot below). Path: &lt;code&gt;/sitecore/system/Settings/Analytics&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7E6wl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7E6wl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you see that all the definition items have the proper workflow state, go to the Sitecore Control Panel and click on the Deploy Marketing Definition&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wW4Zq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wW4Zq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-04-06T08:58:55.573" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11199" PostTypeId="2" ParentId="11195" CreationDate="2018-04-06T09:07:11.173" Score="6" Body="&lt;p&gt;The json files actually contain serialized .NET classes so what you see in the $type field is the namespace of a class, followed by the name of the assembly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When this information is deserialized, the $type is used to instantiate the proper class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error you got indicates the .NET runtime cannot find the specified assembly or namespace in the bin folder of your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps,&#xA;Erwin Werkman&lt;/p&gt;&#xA;" OwnerUserId="1749" LastActivityDate="2018-04-06T09:07:11.173" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11200" PostTypeId="2" ParentId="11187" CreationDate="2018-04-06T10:35:02.630" Score="4" Body="&lt;p&gt;You can get the HTML of the page using &lt;strong&gt;&lt;code&gt;Sitecore.Web.WebUtil.ExecuteWebPage(&quot;provide url of item&quot;)&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1155" LastActivityDate="2018-04-06T10:35:02.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11202" PostTypeId="2" ParentId="11130" CreationDate="2018-04-06T11:22:33.280" Score="0" Body="&lt;p&gt;The solution to this problem in the end was frustratingly simple; name your DefaultFacetKey the same as the class name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;FacetKeys.PolicyHolder&lt;/code&gt; value was &lt;code&gt;&quot;VgzPolicyHolder&quot;&lt;/code&gt;, but when resolving the TokenMap expression somewhere deep down there's a TypeHelpers class in the xConnect namespace. That tries to get the value of the FacetKey attribute but somehow failed. When it does, it defaults to the classname.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After renaming my facetkey to &lt;code&gt;&quot;PolicyHolder&quot;&lt;/code&gt; all was well again.&lt;/p&gt;&#xA;" OwnerUserId="2369" LastActivityDate="2018-04-06T11:22:33.280" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11203" PostTypeId="1" CreationDate="2018-04-06T12:03:55.487" Score="1" ViewCount="951" Body="&lt;p&gt;I have created new Sitecore item in start menu and created new role to give access to item for one of our user. But item is not displaying at all in start menu when I login as that user(after new role allocated). If I allocate permission by user wise then I can able to see the item in start menu. But I need to achieve this through role, so I could use the same for multiple users. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;User already have allocated with multiple roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me on this.&lt;/p&gt;&#xA;" OwnerUserId="3059" LastEditorUserId="1671" LastEditDate="2018-04-06T12:48:25.670" LastActivityDate="2018-04-06T13:40:26.557" Title="Read access to role is not working" Tags="|sitecore-client|role-management|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11204" PostTypeId="2" ParentId="11203" CreationDate="2018-04-06T12:08:01.137" Score="3" Body="&lt;p&gt;Have you given the user any other roles at all or just the new roles?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to give the user basic access to Sitecore you will usually need to give them the &lt;strong&gt;Sitecore Client Authoring&lt;/strong&gt; &amp;amp; &lt;strong&gt;Sitecore Client Users&lt;/strong&gt; roles too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is more info on OOTB roles and what they do here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I'd recommend using the Access Viewer to check the access of your role once you have set it up:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z4S9q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z4S9q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is more info on how to use this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/view_the_access_rights_of_a_security_account&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/view_the_access_rights_of_a_security_account&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also bear in mind inheritance and how this it is automatically applied to child items, from the link below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;By default, an item inherits the access rights that are assigned to&#xA;  the items that are higher up the content tree (the ancestors). For&#xA;  example, a security administrator can configure the security settings&#xA;  of a single item and all the items that are lower down the content&#xA;  tree (the descendants) automatically inherit the same settings.&#xA;  However, if there is an item that should not inherit any security&#xA;  settings from its ancestors, you can use the Inheritance access right&#xA;  to deny the item the right to inherit the security settings.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Depending on what permissions are being inherited you may need to break inheritance to your item to get permissions to work as you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/the_inheritance_access_right&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/the_inheritance_access_right&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-04-06T12:18:26.147" LastActivityDate="2018-04-06T12:18:26.147" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11207" PostTypeId="2" ParentId="11203" CreationDate="2018-04-06T13:40:26.557" Score="1" Body="&lt;p&gt;Make sure that you have not set up any 'deny' permissions, just in case this causes issues with users who have multiple roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, break the inheritance so that previous inherited security is no longer applied and then grant the correct role this access.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is almost always a better approach then using explicit deny.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-04-06T13:40:26.557" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11208" PostTypeId="1" AcceptedAnswerId="11209" CreationDate="2018-04-06T13:50:17.700" Score="2" ViewCount="1761" Body="&lt;p&gt;Through Content Editor I deleted a page, after that, I published the folder where it was contained. But even deleted the page keeps appearing on the site and I do not know how to remove. The strange thing is that the page that I deleted appears in Recycle Bin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.0 version.&lt;/p&gt;&#xA;" OwnerUserId="2452" LastEditorUserId="2452" LastEditDate="2018-04-06T13:54:11.957" LastActivityDate="2018-04-06T14:30:44.430" Title="I deleted a page, but it still appears on the site. How can I delete this page?" Tags="|content-editor|publishing|workflow|versions|caching|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="11209" PostTypeId="2" ParentId="11208" CreationDate="2018-04-06T14:30:44.430" Score="7" Body="&lt;p&gt;Make sure to check &quot;publish subitems&quot; when publishing parent folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To verify if the item was removed from the &lt;code&gt;web&lt;/code&gt; database, switch to &lt;code&gt;web&lt;/code&gt; database from Sitecore Desktop and see if your page is there. Open &lt;code&gt;.../sitecore/shell/&lt;/code&gt; in the browser and on the bottom right corner of the screen there is a button to switch database. Switch back to &lt;code&gt;master&lt;/code&gt; database when you're done.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-04-06T14:30:44.430" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11210" PostTypeId="1" AcceptedAnswerId="11212" CreationDate="2018-04-06T14:34:30.807" Score="0" ViewCount="364" Body="&lt;p&gt;We have upgraded one application from &lt;strong&gt;7.2 to 8.2&lt;/strong&gt; version. The application is hosted on &lt;strong&gt;separate CM and CD&lt;/strong&gt; servers across different network zones. As per my understanding, if any record is added/edited to the CM server (Content tree) and save, it should be reflected to CM site without publishing. But we need to publish the added/edited content to reflect it on CM site. Is anything specific configuration is to be done to achieve this. or it is expected behavior&lt;/p&gt;&#xA;" OwnerUserId="3128" LastActivityDate="2018-04-06T14:37:25.077" Title="Content updated on CM site is not visible without Publish" Tags="|publishing|content-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11211" PostTypeId="1" AcceptedAnswerId="11213" CreationDate="2018-04-06T14:36:14.963" Score="0" ViewCount="621" Body="&lt;p&gt;Is there a way to index a subtree of items for one specific index in code? I know there's the reindex tree button but that reindexes the subtree for all indexes the items are in. I don't see a good way to filter out indexes that I don't need to update right away in the code for that button.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-04-06T14:51:04.753" Title="Index Subtree Of Items For A Specific Index" Tags="|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11212" PostTypeId="2" ParentId="11210" CreationDate="2018-04-06T14:37:25.077" Score="2" Body="&lt;p&gt;You need to publish the item to see it on CM server as not logged in user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can skip publishing on CM by configuring CM to run in Sitecore Live Mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The shortest answer how you can do this is find your site definition and set &lt;code&gt;database&lt;/code&gt; property to use &lt;code&gt;master&lt;/code&gt; instead of &lt;code&gt;web&lt;/code&gt;. When you do this, all the changes made in Content or Experience Editor will be reflected automatically in the CM website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More to read:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecore-masters.com/en/sitecore-live-mode/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore-masters.com/en/sitecore-live-mode/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.techguilds.com/blog/2017/07/enabling-sitecores-live-mode&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.techguilds.com/blog/2017/07/enabling-sitecores-live-mode&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-04-06T14:37:25.077" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11213" PostTypeId="2" ParentId="11211" CreationDate="2018-04-06T14:51:04.753" Score="6" Body="&lt;p&gt;I think this code snippet should do that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ISearchIndex index = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;);&#xA;Sitecore.Data.Database database = Sitecore.Configuration.Factory.GetDatabase(&quot;web&quot;);&#xA;Sitecore.Data.Items.Item startingPoint= database.GetItem(&quot;/sitecore/content/home/someStartingItem&quot;);           &#xA;index.Refresh(new SitecoreIndexableItem(startingPoint));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-04-06T14:51:04.753" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11214" PostTypeId="1" CreationDate="2018-04-06T16:14:42.613" Score="0" ViewCount="712" Body="&lt;p&gt;I am trying to import csv file to content data via power shell script.am getting following error message&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    New-UsingBlock : Item '/sitecore/content/Web3/Content Shared &#xA;    Folder/Property Page' is not in editing mode. Item ID: {A6E40603-D2E7- &#xA;   4527-94B9-8B8F646E4574}&#xA;        At line:26 char:2&#xA;       +     New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;       +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;       + CategoryInfo          : OperationStopped: (:) [New-UsingBlock], &#xA;         EditingNotAllowedException&#xA;         FullyQualifiedErrorId:Sitecore.Exceptions.EditingNotAllowedException,Cognifide.PowerShell.Commandlets.Data.NewUsingBlockCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Did anyone came across this problem before and solved it? please help me &#xA;also let me know for more info&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            #Upload the file on the Server in temporary folder&#xA;             #It will create the folder if it is not found&#xA;             $TargetLanguage = &quot;fr-CA&quot;&#xA;              $Language = &quot;en&quot;&#xA;&#xA;             $dataFolder = [Sitecore.Configuration.Settings]::DataFolder&#xA;             $tempFolder = $dataFolder + &quot;/temp/upload&quot;&#xA;             $filePath = Receive-File -Path $tempFolder -overwrite&#xA;             $templatePath = &quot;Chartwell/Project/Website/Page &#xA;              Template/Property Page&quot;   #Here&#xA;                  $contentPath = &quot;master:/content/Web3/Content Shared &#xA;                 Folder/Property Page&quot; #Here&#xA;&#xA;              if($filePath -eq &quot;cancel&quot;){&#xA;           exit&#xA;             }&#xA;&#xA;                $resultSet =  Import-Csv $filePath&#xA;&#xA;              $rowsCount = ( $resultSet | Measure-Object ).Count;&#xA;&#xA;            if($rowsCount -le 0){&#xA;          Remove-Item $filePath&#xA;    exit&#xA;}&#xA;&#xA;Write-Log &quot;Bulk Update Started!&quot;;&#xA;New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;    foreach ( $row in $resultSet ) {&#xA;    $ItemName = $row.&quot;PropertyNameEn&quot;; #Here&#xA;&#xA;&#xA;    $ItemNamePreClean  = $ItemName&#xA;&#xA;    if( $ItemNamePreClean -match &quot;'&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;'&quot;, &quot;&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;ˆ&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;ˆ&quot;, &quot; &quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;\(&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;\(&quot;, &quot; &quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;\)&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;\)&quot;, &quot; &quot;;&#xA;    }&#xA;&#xA;    if( $ItemNamePreClean -match &quot;à&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;à&quot;, &quot;a&quot; ;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;á&quot;){&#xA;    $ItemNamePreClean= $ItemNamePreClean -replace &quot;á&quot;, &quot;a&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;â&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;â&quot;, &quot;a&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;À&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;À&quot;, &quot;A&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Á&quot;){&#xA;    $ItemNamePreClean= $ItemNamePreClean -replace &quot;Á&quot;, &quot;A&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Â&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;Â&quot;, &quot;A&quot;;&#xA;    }&#xA;&#xA;    if( $ItemNamePreClean -match &quot;é&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;é&quot;, &quot;e&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;è&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;è&quot;, &quot;e&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;ê&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;ê&quot;, &quot;e&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;ë&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;ë&quot;, &quot;e&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;É&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;É&quot;, &quot;E&quot;;&#xA;    }&#xA;&#xA;    if( $ItemNamePreClean -match &quot;ó&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;ó&quot;, &quot;o&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;ô&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;ô&quot;, &quot;o&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Ó&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;Ó&quot;, &quot;O&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Ô&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;Ô&quot;, &quot;O&quot;;&#xA;    }&#xA;&#xA;    if( $ItemNamePreClean -match &quot;î&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;î&quot;, &quot;i&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;ï&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;ï&quot;, &quot;i&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Î&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;Î&quot;, &quot;I&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Ï&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;Ï&quot;, &quot;I&quot;;&#xA;    }&#xA;&#xA;    if( $ItemNamePreClean -match &quot;ù&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;ù&quot;, &quot;u&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;û&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;û&quot;, &quot;u&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Ù&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;Ù&quot;, &quot;U&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Û&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;Û&quot;, &quot;U&quot;;&#xA;    }&#xA;&#xA;    if( $ItemNamePreClean -match &quot;æ&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;æ&quot;, &quot;ae&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Æ&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;Æ&quot;, &quot;AE&quot;;&#xA;    }&#xA;&#xA;    if( $ItemNamePreClean -match &quot;ç&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;ç&quot;, &quot;c&quot;;&#xA;    }&#xA;    if( $ItemNamePreClean -match &quot;Ç&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;Ç&quot;, &quot;C&quot;;&#xA;    }&#xA;&#xA;    if( $ItemNamePreClean -match &quot;[^a-zA-Z0-9 ]&quot;){&#xA;    $ItemNamePreClean = $ItemNamePreClean -replace &quot;[^a-zA-Z0-9 ]&quot;, &quot;&quot;;&#xA;    }&#xA;&#xA;    $ItemName = $ItemNamePreClean&#xA;    $ItemName;&#xA;        $currentItem = New-Item $ContentPath -type $templatePath -ErrorAction SilentlyContinue -Name $itemName -Language $Language &#xA;        if ($currentItem){&#xA;            $currentItem.Editing.BeginEdit();&#xA;            $currentItem[&quot;Legacy ID&quot;]= $row.&quot;PropertyID&quot;;   #Here&#xA;            $currentItem[&quot;Property ID&quot;]= $row.&quot;PropertyID&quot;; #Here&#xA;            $currentItem[&quot;Property Name&quot;] = $row.&quot;PropertyNameEn&quot;;  #Here           &#xA;            $currentItem[&quot;Property Description&quot;] = $row.&quot;PropertyDescEn&quot;;   #Here&#xA;            $currentItem[&quot;USP&quot;] = $row.&quot;USP&quot;;   #Here&#xA;            $currentItem[&quot;Property Tag Line&quot;] = $row.&quot;PropertyTagLineEn&quot;;   #Here&#xA;            $currentItem[&quot;Is owned&quot;] = $row.&quot;IsOwned&quot;;  #Here&#xA;            $currentItem[&quot;Is Managed&quot;] = $row.&quot;IsManaged&quot;;  #Here&#xA;            $currentItem[&quot;Is Leased&quot;] = $row.&quot;IsLeased&quot;;    #Here&#xA;            $currentItem[&quot;Is Deleted&quot;] = $row.&quot;IsDeleted&quot;;  #Here&#xA;            $currentItem[&quot;Is Featured&quot;] = $row.&quot;IsFeatured&quot;;    #Here&#xA;            $currentItem[&quot;Is New Property&quot;] = $row.&quot;IsNewProperty&quot;; #Here&#xA;            $currentItem[&quot;Property Region&quot;] = $row.&quot;PropertyRegion&quot;;    #Here&#xA;            $currentItem[&quot;Property Square Footage Max&quot;] = $row.&quot;PropertySquareFootageMax&quot;;  #Here&#xA;            $currentItem[&quot;Property Square Footage Min&quot;] = $row.&quot;PropertySquareFootageMin&quot;;  #Here&#xA;            $currentItem[&quot;Percent Share In Property&quot;] = $row.&quot;PercentShareInProperty&quot;;  #Here&#xA;            $currentItem[&quot;Property Brochure Name&quot;] = $row.&quot;PropertyBrochureName&quot;;   #Here&#xA;            #$currentItem[&quot;Property Brochure&quot;] = $row.&quot;&quot;;   #Here&#xA;            $currentItem[&quot;Property Type&quot;] = $row.&quot;&quot;;    #Here&#xA;            $currentItem[&quot;Property Type Description&quot;] = $row.&quot;&quot;;    #Here&#xA;            $currentItem[&quot;Property Neighborhood&quot;] = $row.&quot;NeighbourhoodID&quot;; #Here&#xA;            #$currentItem[&quot;Property Seo Area&quot;] = $row.&quot;&quot;;   #Here&#xA;&#xA;        #Care Service Section&#xA;            $currentItem[&quot;Care Section Title&quot;] = $row.&quot;&quot;;   #Here&#xA;            $currentItem[&quot;Care Section Description&quot;] = $row.&quot;&quot;; #Here&#xA;&#xA;&#xA;        #Dining Section&#xA;            $currentItem[&quot;Dining Section Title&quot;] = &quot;Dining Services&quot;;   #Here&#xA;            $currentItem[&quot;Dining Section Description&quot;] = $row.&quot;DiningDataDesc&quot;; #Here&#xA;&#xA;&#xA;        #WellnessData&#xA;            $currentItem[&quot;Wellness Section Title&quot;] = &quot;Wellness Services&quot;;   #Here&#xA;            $currentItem[&quot;Wellness Section Description&quot;] = $row.&quot;WellnessDataDesc&quot;; #Here&#xA;&#xA;&#xA;        #Activities Section&#xA;            $currentItem[&quot;Activities Section Title&quot;] = &quot;Activities Services&quot;;   #Here&#xA;            $currentItem[&quot;Activities Section Description&quot;] = $row.&quot;ActivitiesDataDesc&quot;; #Here&#xA;&#xA;&#xA;        #Amenities Section&#xA;            $currentItem[&quot;Amenities Section Title&quot;] = &quot;Amenities&quot;;  #Here&#xA;            $currentItem[&quot;Amenities Section Description&quot;] = $row.&quot;AmenitiesDataDesc&quot;;   #Here&#xA;&#xA;&#xA;        #Address Section&#xA;            $currentItem[&quot;Street name and number&quot;] = $row.&quot;StreetNameAndNoEn&quot;;  #Here&#xA;            $currentItem[&quot;Municipalty&quot;] = $row.&quot;MunicipaltyEn&quot;; #Here&#xA;&#xA;            $currentItem[&quot;Postal code&quot;] = $row.&quot;PostalCode&quot;;    #Here&#xA;            $currentItem[&quot;Longitude&quot;] = $row.&quot;Longitude&quot;;   #Here&#xA;            $currentItem[&quot;Latitude&quot;] = $row.&quot;Latitude&quot;; #Here&#xA;            $currentItem[&quot;Is Display on Map&quot;] = $row.&quot;IsDisplayInMap&quot;;  #Here&#xA;&#xA;&#xA;&#xA;&#xA;            #French Section&#xA;            $langAdd = Add-ItemLanguage -Item $currentItem -Language $Language -TargetLanguage $TargetLanguage -IfExist Skip;&#xA;            $currentItem.Editing.EndEdit();&#xA;&#xA;            $ItemPath = $ContentPath + &quot;\&quot; + $itemName&#xA;            $NewcurrentItem = Get-Item -Path &quot;master:&quot; -Id $currentItem.id -Language $TargetLanguage&#xA;            $NewcurrentItem.Editing.BeginEdit();&#xA;            $NewcurrentItem[&quot;Property Name&quot;] = $row.&quot;PropertyNameFr&quot;; &#xA;            $NewcurrentItem[&quot;Property Description&quot;] = $row.&quot;PropertyDescFr&quot;;&#xA;                            $currentItem[&quot;USP&quot;] = $row.&quot;USPFr&quot;; &#xA;            $NewcurrentItem[&quot;Property Tag Line&quot;] = $row.&quot;PropertyTagLineFr&quot;; &#xA;            $NewcurrentItem[&quot;Property Brochure Name&quot;] = $row.&quot;PropertyBrochureNameFr&quot;; &#xA;            $NewcurrentItem[&quot;Dining Section Title&quot;] = $row.&quot;DiningDataTitleFr&quot;; &#xA;            $NewcurrentItem[&quot;Dining Section Description&quot;] = $row.&quot;DiningDataDescFr&quot;; &#xA;            $NewcurrentItem[&quot;Wellness Section Title&quot;] = $row.&quot;WellnessDataTitleFr&quot;; &#xA;            $NewcurrentItem[&quot;Wellness Section Description&quot;] = $row.&quot;WellnessDataDescFr&quot;; &#xA;            $NewcurrentItem[&quot;Activities Section Title&quot;] = $row.&quot;ActivitiesDataTitleFr&quot;; &#xA;            $NewcurrentItem[&quot;Activities Section Description&quot;] = $row.&quot;ActivitiesDataDescFr&quot;; &#xA;            $NewcurrentItem[&quot;Amenities Section Title&quot;] = $row.&quot;AmenitiesDataTitleFr&quot;; &#xA;            $NewcurrentItem[&quot;Amenities Section Description&quot;] = $row.&quot;AmenitiesDataDescFr&quot;; &#xA;            $NewcurrentItem[&quot;Street name and number&quot;] = $row.&quot;StreetNameAndNoFr&quot;; &#xA;            $NewcurrentItem[&quot;Municipality&quot;] = $row.&quot;MunicipaltyFr&quot;;             &#xA;&#xA;&#xA;            $NewcurrentItem.Editing.EndEdit();&#xA;        }&#xA;        else {&#xA;            $logThis =  &quot;Couldn't find: &quot; + $ContentPath + &quot;Item: &quot; + $itemName;&#xA;            $logThis;&#xA;            Write-Log $logThis;&#xA;        }&#xA;    }&#xA;}&#xA;$logInfo = &quot;Bulk Update is Completed!&quot;;&#xA;$logInfo&#xA;Write-Log $logInfo&#xA;&#xA;  Remove-Item $filePath&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3368" LastEditorUserId="3368" LastEditDate="2018-04-06T16:24:18.660" LastActivityDate="2018-04-06T17:38:58.767" Title="Powershell Script error" Tags="|mvc|powershell-extensions|powershell|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11215" PostTypeId="2" ParentId="11214" CreationDate="2018-04-06T16:19:48.613" Score="0" Body="&lt;p&gt;It looks like somewhere inside your &lt;code&gt;using&lt;/code&gt; block you try to update a field but you are not in editing mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way to do this&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Editing.BeginEdit()&#xA;$item.Fields[&quot;Title&quot;].Value = &quot;new title&quot;&#xA;$item.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.&quot;Title&quot; = &quot;new title&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;if you obtain an item in a different way than cmdlets (&lt;code&gt;Database.GetItem&lt;/code&gt;) you will have to wrap an item to be able to access fields like properties&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is how to wrap your item&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = $item | Wrap-Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-04-06T16:19:48.613" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11216" PostTypeId="2" ParentId="11214" CreationDate="2018-04-06T16:31:07.100" Score="2" Body="&lt;p&gt;In your script you first start with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$currentItem.Editing.BeginEdit();&#xA;$currentItem[&quot;Legacy ID&quot;]= $row.&quot;PropertyID&quot;;   &#xA;$currentItem[&quot;Property ID&quot;]= $row.&quot;PropertyID&quot;; &#xA;# ...&#xA;# other $currentItem changes&#xA;# ...&#xA;# and then you finish editing $currentItem with line&#xA;$currentItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you start editing &lt;code&gt;$NewcurrentItem&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$NewcurrentItem = Get-Item -Path &quot;master:&quot; -Id $currentItem.id -Language $TargetLanguage&#xA;$NewcurrentItem.Editing.BeginEdit();&#xA;$NewcurrentItem[&quot;Property Name&quot;] = $row.&quot;PropertyNameFr&quot;; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but suddenly you edit &lt;code&gt;$currentItem&lt;/code&gt; with this line. And &lt;code&gt;$currentItem&lt;/code&gt; is not in editing mode anymore:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$NewcurrentItem[&quot;Property Description&quot;] = $row.&quot;PropertyDescFr&quot;;&#xA;#&#xA;#&#xA;    $currentItem[&quot;USP&quot;] = $row.&quot;USPFr&quot;; # &amp;lt;--- THIS Line CAUSES ERROR&#xA;#&#xA;#&#xA;$NewcurrentItem[&quot;Property Tag Line&quot;] = $row.&quot;PropertyTagLineFr&quot;; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's line &lt;code&gt;$currentItem[&quot;USP&quot;] = $row.&quot;USPFr&quot;;&lt;/code&gt; which causes error&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-04-06T17:38:58.767" LastActivityDate="2018-04-06T17:38:58.767" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11217" PostTypeId="1" CreationDate="2018-04-06T17:55:54.110" Score="1" ViewCount="218" Body="&lt;p&gt;We have requirement where we do need get Clickstream report for various Sitecore pages where each and every single click needs to tracked in Analytics system like  Page,component and link clicked needs to be tracked&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can some body suggest possible solutions&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="605" LastEditDate="2018-04-06T18:22:15.320" LastActivityDate="2018-05-17T17:24:56.940" Title="Sitecore Clickstream Analytics" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11218" PostTypeId="1" CreationDate="2018-04-06T18:38:27.473" Score="0" ViewCount="288" Body="&lt;p&gt;I am running power shell script to bind treelist data in both language english &amp;amp; french.even if i change language am getting only English content in french .please review my script and let me know what am missing?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;       #Upload the file on the Server in temporary folder&#xA;       #It will create the folder if it is not found&#xA;         $TargetLanguage = &quot;fr-CA&quot;&#xA;         $Language = &quot;en&quot;&#xA;&#xA;      $dataFolder = [Sitecore.Configuration.Settings]::DataFolder&#xA;      $tempFolder = $dataFolder + &quot;\temp\upload&quot;&#xA;      $filePath = Receive-File -Path $tempFolder -overwrite&#xA;      $templatePath = &quot;Chartwell/Project/Website/Page Template/Property&quot; &#xA;&#xA;     $contentPath = &quot;master:/content/Web3/Content Shared Folder/Property&quot;&#xA;&#xA;     if($filePath -eq &quot;cancel&quot;){&#xA;      exit&#xA;     }&#xA;&#xA;       #Property Section&#xA;      $AllProperties = Get-ChildItem -Path &#xA;          &quot;master://sitecore/content/Web3/Content Shared Folder/Property &#xA;           Page&quot; -Recurse&#xA;&#xA;     #Dining Section            &#xA;      $AllDining = Get-ChildItem -Path &#xA;    &quot;master://sitecore/content/Web3/Content Shared Folder/Dining Service&quot; - &#xA;     Recurse&#xA;&#xA;&#xA;&#xA;        $resultSet =  Import-Csv $filePath&#xA;&#xA;      $rowsCount = ( $resultSet | Measure-Object ).Count;&#xA;&#xA;if($rowsCount -le 0){&#xA;    Remove-Item $filePath&#xA;    exit&#xA;}&#xA;&#xA;  Write-Log &quot;Bulk Update Started!&quot;;&#xA;        New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;     foreach ( $row in $resultSet ) {&#xA;&#xA;    $PropertyID = $row.&quot;PropertyID&quot;;    #Here&#xA;    $Property = $AllProperties  | Where-Object { $_.&quot;Legacy ID&quot; -eq &#xA;         $PropertyID };&#xA;&#xA;        if ($Property){&#xA;&#xA;        $DiningDataID = $row.&quot;DiningDataID&quot;;&#xA;        $DiningData = $AllDining   | Where-Object { $_.&quot;Legacy ID&quot; -eq &#xA;            $DiningDataID };&#xA;&#xA;        $ID = $Property.&quot;Dining Service&quot;&#xA;        if($ID -eq '')&#xA;        {&#xA;            $ID = $DiningData.id&#xA;        }&#xA;        else&#xA;        {               &#xA;            $ID = $ID + &quot;|&quot; +$DiningData.id&#xA;        }           &#xA;&#xA;        $Property.Editing.BeginEdit();&#xA;        $Property[&quot;Dining Service&quot;] = $ID;  #Here&#xA;                   #FrenchSection&#xA;        $langAdd = Add-ItemLanguage -Item $Property -Language $Language -TargetLanguage $TargetLanguage -IfExist Skip;&#xA;                 Write-Log $Property.id &#xA;        $Property.Editing.EndEdit();&#xA;                    $ItemPath = $ContentPath + &quot;\&quot; + $Property &#xA;        $NewcurrentItem = Get-Item -Path &quot;master:&quot; -Id $Property.id -Language $TargetLanguage&#xA;        $NewcurrentItem.Editing.BeginEdit();&#xA;        $NewcurrentItem[&quot;Dining Service&quot;] = $ID; &#xA;&#xA;        $NewcurrentItem.Editing.EndEdit();&#xA;&#xA;    }&#xA;    else {&#xA;        $logThis =  &quot;Couldn't find Property with ID: &quot; + $PropertyID + &quot; Property Item: &quot; + $Property;&#xA;        $logThis;&#xA;        Write-Log $logThis;&#xA;    }&#xA;}&#xA;}&#xA;$logInfo = &quot;Bulk Update is Completed!&quot;;&#xA;$logInfo&#xA;Write-Log $logInfo&#xA;&#xA;    Remove-Item $filePath&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;how to change language of the         $AllDining ?       &lt;/p&gt;&#xA;" OwnerUserId="3368" LastActivityDate="2018-04-06T18:44:22.547" Title="Bulkupdate change language for source folder" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11219" PostTypeId="2" ParentId="11218" CreationDate="2018-04-06T18:44:22.547" Score="1" Body="&lt;p&gt;Add &lt;code&gt;Language&lt;/code&gt; parameter to your &lt;code&gt;Get-ChildItem&lt;/code&gt; cmdlet call&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem . -Language &quot;ja-JP&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in this case, &lt;code&gt;ja-JP&lt;/code&gt; is a language code. Use the want that you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need the same item but in every language use &lt;code&gt;*&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem . -Language &quot;*&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-04-06T18:44:22.547" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="11220" PostTypeId="1" AcceptedAnswerId="11225" CreationDate="2018-04-06T18:48:59.197" Score="1" ViewCount="1233" Body="&lt;p&gt;I'm trying to embed a video in a Rich Text editor like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;video-wrapper&quot;&amp;gt;&#xA;    &amp;lt;video autoplay loop poster=&quot;/img/hero-stills/Homepage.jpg&quot; style=&quot;margin-top: -295px;position:absolute;left:20px;&quot;&amp;gt;&#xA;        &amp;lt;source src=&quot;/img/hero-videos/Homepage.mp4&quot; type=&quot;video/mp4&quot;&amp;gt;&amp;lt;/source&amp;gt;&#xA;        &amp;lt;source src=&quot;/img/hero-videos/Homepage.webm&quot; type=&quot;video/webm&quot;&amp;gt;&amp;lt;/source&amp;gt;&#xA;        &amp;lt;img src=&quot;/img/hero-stills/Homepage.jpg&quot; alt=&quot;Three standing robots&quot; /&amp;gt;&#xA;    &amp;lt;/video&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I save and close it, the &lt;code&gt;autoplay&lt;/code&gt; and &lt;code&gt;loop&lt;/code&gt; attributes get removed. How can I prevent these from getting removed?&lt;/p&gt;&#xA;" OwnerUserId="2609" LastActivityDate="2018-04-10T06:23:01.037" Title="Sitecore Rich Text Editor removing 'autoplay' attribute" Tags="|richtext-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11221" PostTypeId="2" ParentId="11217" CreationDate="2018-04-06T18:51:56.083" Score="3" Body="&lt;p&gt;I had a project where we had to track all the clicks and views of the user. The implementation was to use the &lt;strong&gt;Sitecore Page Events&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming you are using Sitecore 7.5 to 8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a category for the content click event in Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Add a checkbox whether a content should have its click event tracked.&lt;/li&gt;&#xA;&lt;li&gt;Implementation of a method to register the Page Event in MongoDB.&lt;/li&gt;&#xA;&lt;li&gt;Implementation of an aggregation processor to take data from MongoDB to SQL Reporting Database.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Items&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a Page Event Category under the path &lt;code&gt;/sitecore/system/Settings/Analytics/Page Events&lt;/code&gt;. Example, you can named it &lt;em&gt;Content Events Click&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we had a requirement whereby not all contents should be tracked, I have created a checkbox named &lt;code&gt;Is Tracked&lt;/code&gt; on the content item template. Then, I have implemented a method to create a Page Event Item under the path &lt;code&gt;/sitecore/system/Settings/Analytics/Page Events/Content Events Click&lt;/code&gt;. The method is triggered on item saved. I will only create the Page Event Item if the checkbox &lt;code&gt;Is Tracked&lt;/code&gt; is checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code Snippet of the &lt;code&gt;ItemSavedEventHandler&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private readonly ID clickPageEventCategoryItemId = new ID(&quot;Item ID of the Content Event Click&quot;);&#xA;&#xA;public void OnItemSaved(object sender, EventArgs args)&#xA;{&#xA;    var savedItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;    if (savedItem == null || savedItem.Database.Name.ToLower() != &quot;master&quot;)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    var itemId = savedItem.ID.ToGuid().ToString();&#xA;&#xA;    var clickEventName = $&quot;{itemId}_click&quot;;&#xA;&#xA;    var clickEventItem = savedItem.Database.SelectSingleItem($&quot;/sitecore/system/Settings/Analytics/Page Events/Content Events Click/*[@@Name = '{itemId}_click']&quot;);&#xA;&#xA;    if (clickEventItem != null)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    savedItem.Fields.ReadAll();&#xA;&#xA;    Sitecore.Data.Fields.CheckboxField trackPerformanceField = savedItem.Fields[&quot;Is Tracked&quot;];&#xA;&#xA;    if (!trackPerformanceField.Checked)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    var clickPageEventCategoryItem = savedItem.Database.GetItem(this.clickPageEventCategoryItemId);&#xA;&#xA;    using (new EventDisabler())&#xA;    {&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            clickEventItem = clickPageEventCategoryItem.Add(clickEventName, new TemplateID(PageEventItem.TemplateID));&#xA;&#xA;            var clickPageEventItem = PageEventItem.Create(clickEventItem);&#xA;            clickPageEventItem.BeginEdit();&#xA;            clickPageEventItem.IsSystem = true;&#xA;            clickPageEventItem.EndEdit();&#xA;&#xA;            using (new EditContext(clickEventItem))&#xA;            {&#xA;                clickEventItem.Fields[FieldIDs.WorkflowState].Value = &quot;EDCBB550-BED3-490F-82B8-7B2F14CCD26E&quot;;&#xA;                clickEventItem.Fields[FieldIDs.DisplayName].Value = clickEventName;&#xA;                clickEventItem.Fields[PageEventItem.FieldIDs.Points].Value = &quot;0&quot;;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Screenshot&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OBwz9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OBwz9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you need to have a method which is called each time the component or page is being clicked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code snippet to register the click event&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void CreateClickContentEvent(Guid itemId)&#xA;{&#xA;    if (Tracker.IsActive &amp;amp;&amp;amp; Tracker.Current != null)&#xA;    {&#xA;        Assert.IsNotNull(Tracker.Current, &quot;Tracker.Current&quot;);&#xA;&#xA;        if (Tracker.Current != null)&#xA;        {&#xA;            Assert.IsNotNull(Tracker.Current.Session, &quot;Tracker.Current.Session&quot;);&#xA;&#xA;            CurrentInteraction interaction = Tracker.Current.Session.Interaction;&#xA;&#xA;            Assert.IsNotNull(interaction, &quot;Tracker.Current.Session.Interaction&quot;);&#xA;            Assert.IsNotNull(interaction.CurrentPage, &quot;Tracker.Current.Session.Interaction.CurrentPage&quot;);&#xA;        }&#xA;&#xA;        var clickEventName = $&quot;{itemId}_click&quot;;&#xA;&#xA;        var itemPath = $&quot;/sitecore/system/Settings/Analytics/Page Events/Content Events Click/{clickEventName}&quot;;&#xA;&#xA;        var clickEventItem = Context.Database.GetItem(itemPath, Language.Parse(&quot;en&quot;));&#xA;&#xA;        if (clickEventItem != null)&#xA;        {&#xA;            PageEventData pageEventData = new PageEventData(clickEventName, clickEventItem.ID.ToGuid())&#xA;            {&#xA;                ItemId = itemId,&#xA;                Data = itemId.ToString(),&#xA;                DataKey = itemId.ToString(&quot;B&quot;),&#xA;                PageEventDefinitionId = clickEventItem.ID.ToGuid(),&#xA;                Text = &quot;Clicked&quot;,&#xA;                Name = clickEventName&#xA;            };&#xA;&#xA;            if (Tracker.Current.Contact != null)&#xA;            {&#xA;                try&#xA;                {&#xA;                    Tracker.Current.Interaction.CurrentPage.Register(pageEventData);&#xA;                }&#xA;                catch (Exception)&#xA;                {&#xA;                    Log.Error($&quot;Error on register tracking... &quot;, &quot;CreatePageEventWithGoal&quot;);&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From the above code, you will see that I am checking if the clicked item has its &lt;code&gt;id&lt;/code&gt; in the &lt;code&gt;Content Event Click&lt;/code&gt; container. If it is not present, the click will not be registered in MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the data has been captured in MongoDB, you will need to implement an aggregator which will aggregates the data from MongoDB to the Sitecore Reporting Database. You can read more from my blog post on &lt;a href=&quot;https://hishaamn.wordpress.com/2017/08/29/sitecore-analytics-aggregators/&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to setup the Sitecore Aggregation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;You will need to have a custom table to add those data &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Implement a dashboard or page on the Sitecore Experience Analytics Page to read the data.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You may need to change the code or flow based on your requirements.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Reference to my article is &lt;a href=&quot;https://hishaamn.wordpress.com/2018/05/17/sitecore-click-stream-analytics/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-05-17T17:24:56.940" LastActivityDate="2018-05-17T17:24:56.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11223" PostTypeId="2" ParentId="5066" CreationDate="2018-04-06T21:05:42.810" Score="2" Body="&lt;p&gt;It may be a bit late for an answer but I have been having this type of issue recently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be able to fix the issue, I have proceed as follows&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Check log if there are any errors. If data are not being entered, this may be because there is an error such as &lt;code&gt;Exception when storing an aggregation result into reporting database. Item will be postponed and retried later.&lt;/code&gt; Most of the time, it will already tell you what SQL error has occurred. For my case, it was that the string I was passing is too long and will be truncated.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Execute a SQL Profiler on the Sitecore Analytics table and check for the INSERT statement. To get the INSERT statement, you can perform a search on the keyword &quot;Fact_PageEvents&quot;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Once you have the SQL Statement, check for the values being passed in the INSERT and try to run it manually and this will output the error.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you are testing locally, add a breakpoint to see if it is hit. This allows you to know whether the aggregation is being triggered or not.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-04-06T21:18:33.517" LastActivityDate="2018-04-06T21:18:33.517" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11224" PostTypeId="1" AcceptedAnswerId="11226" CreationDate="2018-04-06T21:24:12.637" Score="6" ViewCount="1060" Body="&lt;p&gt;How do I sort my search results using item.Fields[&quot;Name&quot;}?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var queryable = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;();&#xA;queryable  = queryable.OrderByDescending(x =&amp;gt; x.Fields[&quot;MyDateField&quot;]);&#xA;var results = queryable.GetResults();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It throws an error when I run it: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The method 'get_Item' is not supported. Declaring type:&#xA;  System.Collections.Generic.Dictionary`2[[System.String, mscorlib,&#xA;  Version=4.0.0.0, Culture=neutral,&#xA;  PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib,&#xA;  Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].&#xA;  Exception: System.InvalidOperationException: variable 'x' of type&#xA;  'Sitecore.ContentSearch.SearchTypes.SearchResultItem' referenced from&#xA;  scope '', but it is not defined&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;On the other hand, this works:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;queryable  = queryable.OrderByDescending(x =&amp;gt; x.CreatedDate);&#xA;var results = queryable.GetResults();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3509" LastEditorUserId="605" LastEditDate="2018-04-07T12:07:35.447" LastActivityDate="2018-04-07T15:41:56.033" Title="How do I sort using Fields[&quot;Fieldname&quot;]" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11225" PostTypeId="2" ParentId="11220" CreationDate="2018-04-06T21:46:08.217" Score="3" Body="&lt;p&gt;What you can do is you can just use the true or false for those attributes you require to implement. Simply just doing &lt;code&gt;autoplay=&quot;true&quot;  loop=&quot;true&quot;  controls=&quot;true&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because &lt;code&gt;autoplay=&quot;true&quot;&lt;/code&gt; and &lt;code&gt;autoplay&lt;/code&gt; is all same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check this. It works like a charm. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/e9dlf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/e9dlf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference check this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-04-10T06:23:01.037" LastActivityDate="2018-04-10T06:23:01.037" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11226" PostTypeId="2" ParentId="11224" CreationDate="2018-04-06T22:53:48.540" Score="11" Body="&lt;p&gt;You will need to define a custom model that inherits from SearchResultItem to define the field you want to sort based upon using the Content Search API.  So assuming your Date field was called &lt;code&gt;Podcast Date&lt;/code&gt;, you would define the following model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Something.Data&#xA;{&#xA;   public class PodcastDateSearchItem : SearchResultItem&#xA;   {&#xA;      [IndexField(&quot;podcast_date&quot;)]&#xA;      public DateTime PodcastDate { get; set; }&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you have that, your Content Search Api Query should look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Something.Data.Repository&#xA;{&#xA;    public class AudioRepository&#xA;    {&#xA;        public IEnumerable&amp;lt;Items&amp;gt; GetPodcastItems()&#xA;        {&#xA;            using (var context = Sitecore.ContentSearch.ContentSearchManager.CreateSearchContext(new SitecoreIndexableItem(Sitecore.Context.Item)))&#xA;            {&#xA;                var query = context.GetQueryable&amp;lt;PodcastDateSearchItem&amp;gt;();&#xA;&#xA;                query = query.OrderByDescending(x =&amp;gt; x.PodcastDate);&#xA;&#xA;                var results = queryable.GetResults();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can use &lt;code&gt;Luke&lt;/code&gt; to find out what the index field name is for your field, it's typically all lowercase and spaces are replaced with underscores.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2018-04-07T15:41:56.033" LastActivityDate="2018-04-07T15:41:56.033" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11227" PostTypeId="1" AcceptedAnswerId="11249" CreationDate="2018-04-07T06:40:31.170" Score="6" ViewCount="386" Body="&lt;p&gt;I have a requirement to pre-populate fields from an external source. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to hook into a pipeline to achieve this? I'm thinking something similar to how Sitecore can populate the fields by query string by key value. i.e. when the form loads I pull my data from my external source and set the values of the fields by matching on field names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can obviously defined save actions for a form, is there a way to define a 'On Load' action?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've seen another answer on here suggesting to create custom individual fields, but I don't really want to create a bunch of fields that individually get the data it needs; I'd rather do it from a higher level in one operation.&lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="1125" LastEditDate="2018-04-30T09:41:55.413" LastActivityDate="2018-04-30T09:41:55.413" Title="Pre-populate form fields in WFFM" Tags="|wffm|mvc|mvc-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11228" PostTypeId="1" AcceptedAnswerId="11229" CreationDate="2018-04-07T09:25:38.207" Score="5" ViewCount="761" Body="&lt;p&gt;I'm creating utility pages and the structure of the code files is as below:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/Areas/MyTools/Controllers/UpdateField  &#xA;/Areas/MyTools/Views/UpdateField/Index.cshtml  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I browse &lt;a href=&quot;http://mysite/mytools/updatefield&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite/mytools/updatefield&lt;/a&gt;, it works fine and I would like to open the same page for &lt;a href=&quot;http://mysite/mytools/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite/mytools/&lt;/a&gt; as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it done differently in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLUTION:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@Hishaam's answer fixed it. Here is all the code for anyone experiencing the same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;MinionsAreaRegistration.cs&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This class is created in the project, when you add an area. Add a new route in &lt;code&gt;RegisterArea&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MinionsAreaRegistration : AreaRegistration&#xA;    {&#xA;        public override string AreaName&#xA;        {&#xA;            get&#xA;            {&#xA;                return &quot;MyTools&quot;;&#xA;            }&#xA;        }&#xA;&#xA;        public override void RegisterArea(AreaRegistrationContext context)&#xA;        {&#xA;            context.MapRoute(&#xA;                &quot;MyTools_default&quot;,&#xA;                &quot;MyTools/{controller}/{action}/{id}&quot;,&#xA;                new { action = &quot;Index&quot;, id = UrlParameter.Optional }&#xA;            );&#xA;&#xA;            context.MapRoute(&#xA;                &quot;MyTools_Home&quot;,&#xA;                &quot;MyTools/{id}&quot;,&#xA;                new { controller = &quot;UpdateField&quot;, action = &quot;Index&quot;, id = UrlParameter.Optional }                 &#xA;            );&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;RouteConfig.cs&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This class is also created when you add a MVC project. Add a new map route in &lt;code&gt;RegisterRoutes&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void RegisterRoutes(RouteCollection routes) &#xA;        {&#xA;            routes.IgnoreRoute(&quot;{resource}.axd/{*pathInfo}&quot;);&#xA;&#xA;            routes.MapRoute(&#xA;                &quot;MyTools_Home&quot;,&#xA;                &quot;MyTools/{id}&quot;,&#xA;                new { controller = &quot;UpdateField&quot;, action = &quot;Index&quot;, area = &quot;MyTools&quot;, id = UrlParameter.Optional }&#xA;                );&#xA;&#xA;            routes.MapRoute(&#xA;                name: &quot;MyTools_default&quot;,&#xA;                url: &quot;{controller}/{action}/{id}&quot;,&#xA;                defaults: new { controller = &quot;Home&quot;, action = &quot;Index&quot;, id = UrlParameter.Optional }&#xA;            );&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="605" LastEditDate="2018-04-07T13:25:21.667" LastActivityDate="2018-04-07T13:25:21.667" Title="How to set default controller for an area" Tags="|custom-route|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="11229" PostTypeId="2" ParentId="11228" CreationDate="2018-04-07T11:05:04.370" Score="4" Body="&lt;p&gt;You need to register the Area. So, create a registration area under the path &lt;code&gt;/Areas/MyTools/&lt;/code&gt;. You can name it &lt;code&gt;MyToolRegistrationArea.cs&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;MyToolRegistrationArea.cs&lt;/code&gt;, add the following&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace YourNamespace&#xA;{&#xA;    using System.Web.Mvc;&#xA;&#xA;    public class MyToolRegistrationArea : AreaRegistration&#xA;    {&#xA;        public override string AreaName&#xA;        {&#xA;            get&#xA;            {&#xA;                return &quot;MyTool&quot;;&#xA;            }&#xA;        }&#xA;&#xA;        public override void RegisterArea(AreaRegistrationContext context)&#xA;        {&#xA;            var myToolRoute = context.MapRoute(&#xA;                &quot;MyTool&quot;,&#xA;                &quot;mytool&quot;,&#xA;                new { controller = &quot;UpdateField&quot;, action = &quot;Index&quot;, id = UrlParameter.Optional },&#xA;                new[] { &quot;YourNamespace.Controllers&quot; });&#xA;&#xA;            myToolRoute.RouteHandler = new Sitecore.Mvc.Routing.RouteHandlerWrapper(myToolRoute.RouteHandler);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-04-07T11:05:04.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11230" PostTypeId="2" ParentId="11220" CreationDate="2018-04-07T23:56:18.297" Score="0" Body="&lt;p&gt;The reason that the attributes are removed is because &lt;a href=&quot;https://www.w3.org/TR/xhtml1/#h-4.5&quot; rel=&quot;nofollow noreferrer&quot;&gt;empty attributes are not valid in XHTML&lt;/a&gt; and the RTE control in Sitecore is configured as XHTML by default (you will see the same behaviour on the &lt;a href=&quot;https://demos.telerik.com/aspnet-ajax/editor/examples/builtincontentfilters/defaultcs.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Telerik RadEditor demo page&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The simplest and no code solution solution is to fully specify the attributes such as &lt;code&gt;autoplay=&quot;true&quot;&lt;/code&gt; as suggested &lt;a href=&quot;https://sitecore.stackexchange.com/a/11225/135&quot;&gt;in the answer by @Sam&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Disable XHTML&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;An alternative is to update the Sitecore Rich Text Editor to disable XHTML mode. You can see the behaviour in the Telerik demo page by unchecking the &quot;ConvertToXhtml&quot; option. I have previously blogged how to do this and you can &lt;a href=&quot;https://jammykam.wordpress.com/2016/02/09/sitecore-telerik-rte-settings/&quot; rel=&quot;nofollow noreferrer&quot;&gt;read more in my article&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new class to override the &lt;code&gt;SetupFilters()&lt;/code&gt; method and disable the &lt;code&gt;ConvertToXhtml&lt;/code&gt; filter:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class RteConfiguration : Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration&#xA;{&#xA;    public RteConfiguration(Item profile) : base(profile)&#xA;    {&#xA;    }&#xA;&#xA;    protected override void SetupFilters()&#xA;    {&#xA;        base.SetupFilters();&#xA;        Editor.DisableFilter(EditorFilters.ConvertToXhtml);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will need to add a reference to &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt; and &lt;code&gt;Telerik.Web.UI.dll&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use the new configuration, update the &lt;code&gt;HtmlEditor.DefaultConfigurationType&lt;/code&gt; setting to your own class:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;  &amp;lt;setting name=&quot;HtmlEditor.DefaultConfigurationType&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;MyProject.CMS.Custom.Controls.RteConfiguration, MyProject.CMS.Custom&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Certain &lt;code&gt;HTML Editor Profile&lt;/code&gt; in the core database specify the &lt;code&gt;Configuration Type&lt;/code&gt; directly (e.g. &lt;code&gt;/sitecore/system/Settings/Html Editor Profiles/Rich Text Default&lt;/code&gt;) then you either need to remove the item from the profile so it uses the &lt;code&gt;HtmlEditor.DefaultConfigurationType&lt;/code&gt; setting or update the setting item to point to your class instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when you add the attributes they will not be removed, &lt;strong&gt;but&lt;/strong&gt; it will update with an empty attribute value if you use the Rich Text Editor, e.g. &lt;code&gt;&amp;lt;video autoplay=&quot;&quot; loop=&quot;&quot; ... &amp;gt;&lt;/code&gt;. Even with the empty values, it should be valid and behave as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Edit Html&lt;/code&gt; leaves the attributes alone and exactly as entered.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Remove Validation Errors&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You will also see validation errors on the field, which may also fail Workflow Validation if you have this enabled (this is the same for both answers, not just this specific solution):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YW8iR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YW8iR.png&quot; alt=&quot;Field Validation Errors&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To disable these you can &lt;a href=&quot;https://kb.sitecore.net/articles/941511&quot; rel=&quot;nofollow noreferrer&quot;&gt;remove the XHTML Validation Rules&lt;/a&gt; from Rich Text and Global Rules items:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Types/Rich Text&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/system/Settings/Validation Rules/Global Rules&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-04-07T23:56:18.297" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11231" PostTypeId="1" CreationDate="2018-04-08T06:28:20.040" Score="1" ViewCount="341" Body="&lt;p&gt;I am trying to build a baisc application on &lt;strong&gt;Sitecore 9.0 Update -1&lt;/strong&gt; - JSS. This is a vanilla installation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I installed Sample JSS file and ran the following command.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jss deploy package --includeContent --includeDictionary&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Command got executed successfully. Even I am able to see all the component inside the Sitecore CMS but when I tried to browse the page after publishing it is showing below error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Cannot read property 'context' of undefined TypeError: Cannot read&#xA;  property 'context' of undefined    at&#xA;  C:\inetpub\wwwroot\Sitecore9.sc\dist\cricket\server.bundle.js:1:56404 &#xA;  at     at process._tickCallback&#xA;  (internal/process/next_tick.js:118:7)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W43j4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W43j4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please can somebody tell me how can I fixed this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="605" LastEditDate="2018-04-08T07:25:26.507" LastActivityDate="2018-04-08T07:25:26.507" Title="Cannot read property 'context' of undefined - Sitecore 9" Tags="|sitecore-install-framework|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11232" PostTypeId="1" CreationDate="2018-04-08T09:24:20.853" Score="0" ViewCount="77" Body="&lt;p&gt;We have switched our Sitecore instance from Lucene to Solr with SXA 1.4.&#xA;Lucene works fine with the 'yyyyMMdd' date format but Solr needs 'yyyy-MM-DDTHH:mm:ssZ', so querying is not working when we filter on date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The date field is a facet item in SXA, so we are limited to what we can do about this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to configure this in SXA 1.4?&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="490" LastEditDate="2018-04-08T09:30:18.393" LastActivityDate="2018-04-08T09:42:31.167" Title="Switching Sitecore Indexing to Solr with SXA 1.4" Tags="|sxa|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11233" PostTypeId="2" ParentId="11232" CreationDate="2018-04-08T09:42:31.167" Score="2" Body="&lt;p&gt;There is a default date format in a code and in certain criteria logic should use the format from this setting&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.DateFormat&quot; value=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;file: &lt;code&gt;Sitecore.XA.Foundation.Search.Solr.config.disabled&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If for some reason it is not taken into account and you can see that queries in &lt;code&gt;Search.log.*.txt&lt;/code&gt; files still use Lucene format then please contact Sitecore support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To help them, you can mention following information:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Description: Search results are not filtered correctly by date range.&#xA;Hotfix ID: 11697-1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-04-08T09:42:31.167" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11234" PostTypeId="1" CreationDate="2018-04-08T10:11:27.247" Score="0" ViewCount="659" Body="&lt;p&gt;I have built a custom peronsalization rule that sets a theme against a component. Each user can also choose a site theme which is stored against a contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then want to use this logic to build up themed search results. So person in theme A will see search results A and so on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently in the crawler I get all renderings I then parse the renderings &#xA;rule.Condition as my custom rule which lets me get the theme. I then use the rule.Actions to get the datasource which lets me get the fields to be indexed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works when my rule is use datasource A for theme A and datasource B for theme B but I'm afraid it wont be robust with all rule combinations &quot;hide&quot;, &quot;except where&quot; etc&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to use the sitecore's existing logic which determines what datasource to use given a personalisation rule?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1378" LastActivityDate="2018-04-08T15:49:09.240" Title="Run personalization rule programatically" Tags="|content-search|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11235" PostTypeId="1" CreationDate="2018-04-08T13:21:45.297" Score="2" ViewCount="526" Body="&lt;p&gt;I'm facing a strange error from commerce engine v. 8.2.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I add a product to cart as guest, all the pipelines work flawlessly and the product is added to the cart.&#xA;Instead, as a registered user, the same products make the engine abort the operation: the product isn't added to the cart and this exception appears in the log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;25 13:20:50 DEBUG Request starting HTTP/1.1 GET http://localhost:5000/api/Carts('Default%7B7e7328e7-8caa-4a3d-bf2f-856466fac77c%7Dstorefront')?$expand=Lines($expand=CartLineComponents($expand=ChildComponents)),Components application/json &#xA;25 13:20:50 DEBUG Executing action method &quot;Sitecore.Commerce.Plugin.Carts.CartsController.Get (Sitecore.Commerce.Plugin.Carts)&quot; with arguments ([&quot;Default{7e7328e7-8caa-4a3d-bf2f-856466fac77c}storefront&quot;]) - ModelState is Valid&#xA;25 13:20:50 INFO MemCache.GetInventoryItem.Hit: ItemKey=Habitat_Master|Prod1|Prod1Variant&#xA;25 13:20:50 INFO Inventory.block.PopulateLineItemInventory.ItemAvailabilityComponent.Expired: EffectiveDate=08/04/2018 11:20:50 +00:00|Expires=08/04/2018 11:16:48 +00:00|ItemId=Habitat_Master|Prod1|Prod1Variant&#xA;25 13:20:50 INFO PopulateLineItemAvailability.ComponentUpdated.Habitat_Master|Prod1|Prod1Variant: Count=1500&#xA;26 13:20:51 INFO MemCache.GetInventoryItem.Hit: ItemKey=Habitat_Master|Prod2|Prod2-1&#xA;26 13:20:51 INFO Inventory.block.PopulateLineItemInventory.ItemAvailabilityComponent.Expired: EffectiveDate=08/04/2018 11:20:51 +00:00|Expires=08/04/2018 11:16:48 +00:00|ItemId=Habitat_Master|Prod2|Prod2-1&#xA;26 13:20:51 INFO PopulateLineItemAvailability.ComponentUpdated.Habitat_Master|Prod2|Prod2-1: Count=10&#xA;26 13:20:51 INFO MemCache.GetInventoryItem.Hit: ItemKey=Habitat_Master|Prod3|Prod3_1&#xA;26 13:20:51 INFO Inventory.block.PopulateLineItemInventory.ItemAvailabilityComponent.Expired: EffectiveDate=08/04/2018 11:20:51 +00:00|Expires=08/04/2018 11:16:48 +00:00|ItemId=Habitat_Master|Prod3|Prod3_1&#xA;26 13:20:51 INFO PopulateLineItemAvailability.ComponentUpdated.Habitat_Master|Prod3|Prod3_1: Count=999&#xA;26 13:20:51 ERROR CtxMsg.Error.LineIsNotPurchasable: Text=Item 'Prod1Variant' is not purchasable.&#xA;26 13:20:51 ERROR CtxMsg.Error.LineIsNotPurchasable: Text=Item 'Prod2_1' is not purchasable.&#xA;26 13:20:51 ERROR CtxMsg.Error.LineIsNotPurchasable: Text=Item 'Prod3' is not purchasable.&#xA;26 13:20:51 ERROR PipelineAbort:Cart 'Default{7e7328e7-8caa-4a3d-bf2f-856466fac77c}storefront' has invalid lines.&#xA;26 13:20:51 ERROR PipelineAbort:Cart 'Default{7e7328e7-8caa-4a3d-bf2f-856466fac77c}storefront' has invalid lines.&#xA;25 13:20:51 DEBUG Executing ObjectResult, writing value &quot;Microsoft.AspNetCore.Mvc.ControllerContext&quot;.&#xA;26 13:20:51 DEBUG Executed action &quot;Sitecore.Commerce.Plugin.Carts.CartsController.Get (Sitecore.Commerce.Plugin.Carts)&quot; in 578.7314ms&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Trying to troubleshot the problem I found that the error comes from the &#xA;&lt;em&gt;Plugin.Catalog.ValidateCartLinesPriceBlock&lt;/em&gt; in the pipeline  &lt;em&gt;ICalculateCartLinesPipeline&lt;/em&gt;.&#xA;If this one doesn't find a PurchaseOptionMoneyPolicy in the cartline's policy, it throws the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This policy should come from the previous block &lt;em&gt;CalculateCartLinesPriceBlock&lt;/em&gt; which calls in turn &lt;em&gt;IGetSellableItemPipeline&lt;/em&gt;: this last one should get the list and sell price of the sellable item in order to allow the &lt;em&gt;CalculateCartLinesPriceBlock&lt;/em&gt; to set a valid PurchaseOptionMoneyPolicy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I didn't understand why the problem shows up only when the user is logged in. &lt;/p&gt;&#xA;" OwnerUserId="2638" LastActivityDate="2018-09-16T12:40:52.267" Title="Getting LineIsNotPurchasable error from commerce engine" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="11236" PostTypeId="2" ParentId="11180" CreationDate="2018-04-08T14:47:33.587" Score="1" Body="&lt;p&gt;You can force the &lt;code&gt;PageMode&lt;/code&gt; with a pipeline processor to set the display mode, this will cause the user to be redirected to the Sitecore Login page if they are not previously logged in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SetPageMode : HttpRequestProcessor&#xA;{&#xA;  public override void Process(HttpRequestArgs args)&#xA;  {&#xA;    if (Sitecore.Context.PageMode.IsNormal)&#xA;    {&#xA;      Sitecore.Context.Site.SetDisplayMode(DisplayMode.Edit, DisplayModeDuration.Remember);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will force any regular URL to edit mode as well (e.g. &lt;em&gt;/path-to/custom/page&lt;/em&gt;), even those without an &lt;code&gt;sc_mode&lt;/code&gt; parameter set, which can be useful if you email a link to a user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will also need to add another pipeline processor to &lt;a href=&quot;https://stackoverflow.com/a/25603570/661447&quot;&gt;redirect the user back to the original page&lt;/a&gt; after login.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LoginRedirect : LoggedInProcessor&#xA;{&#xA;  public override void Process(LoggedInArgs args)&#xA;  {&#xA;    if (Sitecore.Context.GetSiteName() != &quot;login&quot;) { return; }&#xA;&#xA;    string url = HttpUtility.UrlDecode(WebUtil.GetQueryString(&quot;url&quot;, &quot;&quot;));&#xA;    if (!string.IsNullOrWhiteSpace(url))&#xA;    {&#xA;      WebUtil.Redirect(url);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then patch these in, also setting &lt;code&gt;Authentication.SaveRawUrl=true&lt;/code&gt; so the url the user was trying to view is also passed through:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration &#xA;    xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; &#xA;    xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&#xA;    xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;ContentManagement&quot;&amp;gt;&#xA;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Authentication.SaveRawUrl&quot; set:value=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;processor type=&quot;Custom.Project.Pipelines.SetPageMode, Custom.Project&quot;&#xA;                   patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.SiteResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&#xA;    &amp;lt;processors&amp;gt;&#xA;      &amp;lt;loggedin&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot; type=&quot;Custom.Project.Processors.LoginRedirect, Custom.Project&quot; /&amp;gt;&#xA;      &amp;lt;/loggedin&amp;gt;&#xA;    &amp;lt;/processors&amp;gt;&#xA;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Only apply this config patch to your CM instance (i.e. do not deploy to your CD servers), but since you are using Sitecore 9, you should use the &lt;a href=&quot;https://jammykam.wordpress.com/2017/10/17/rules-based-configuration/&quot; rel=&quot;nofollow noreferrer&quot;&gt;config roles feature&lt;/a&gt; for easier management.  The above example config has the &lt;code&gt;ContentManagement&lt;/code&gt; config role set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend only switching the mode if the request mode is normal (which is what the code above is doing), this will allow your content authors to continue to use the preview, debug and explorer modes.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-04-09T13:14:47.643" LastActivityDate="2018-04-09T13:14:47.643" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11237" PostTypeId="2" ParentId="11234" CreationDate="2018-04-08T15:49:09.240" Score="4" Body="&lt;p&gt;Not sure if this would work in your case, but previously i was able to run sitecore personalization rule by using this code to get the datasource (Sitecore 8.1):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string GetPersonlizedRenderingDatasource(Rendering rendering, Item PageItem)&#xA;{&#xA;    var allReferences = GetRenderingsForControl(PageItem).ToList();&#xA;    var renderingUniqueId = ID.Parse(rendering.UniqueId);&#xA;    var renderingReferrence = allReferences.Where(i =&amp;gt; ID.Parse(i.UniqueId).Equals(renderingUniqueId)).FirstOrDefault();&#xA;&#xA;    if (renderingReferrence != null)&#xA;    {&#xA;       var ruleContext = new ConditionalRenderingsRuleContext(allReferences, renderingReferrence);&#xA;&#xA;      renderingReferrence.Settings.Rules.RunFirstMatching(ruleContext);&#xA;&#xA;      string personalizedDatasource = ruleContext.Reference.Settings.DataSource;&#xA;      return personalizedDatasource;&#xA;    }&#xA;&#xA;&#xA; public RenderingReference[] GetRenderingsForControl(Item currentPageItem)&#xA; {&#xA;     if (currentPageItem != null)&#xA;     {&#xA;         var device = Sitecore.Context.Device;&#xA;         DeviceItem deviceItem = Sitecore.Context.Database.Resources.Devices.GetAll().Where(d =&amp;gt; d.Name.ToLower() == &quot;default&quot;).First();&#xA;         var renderings = currentPageItem.Visualization.GetRenderings(device, true);&#xA;         return renderings;&#xA;     }&#xA;     return new RenderingReference[0];&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't think this would work if used in your custom Search crawler, But will work if it's run within user page context.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-04-08T15:49:09.240" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11238" PostTypeId="1" CreationDate="2018-04-09T02:53:26.190" Score="5" ViewCount="128" Body="&lt;p&gt;I noticed the call to update the customer details onto xDB is taking considerable amount of time so I would like to do it in a separate thread so that application does not have to wait until the update finish. So tried &lt;code&gt;Task.Run()&lt;/code&gt; but If I use this &lt;code&gt;Tracker.Current.Session.Identify(custId)&lt;/code&gt; is always &lt;code&gt;null&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any inputs on how I approach this?&lt;/p&gt;&#xA;" OwnerUserId="823" LastEditorUserId="605" LastEditDate="2018-04-09T18:12:17.107" LastActivityDate="2018-05-03T13:31:23.873" Title="How to update XDB with customer details in a separate thread" Tags="|xdb|sitecore-api|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="11239" PostTypeId="2" ParentId="11099" CreationDate="2018-04-09T03:21:54.440" Score="1" Body="&lt;p&gt;You need to set the absolute path of the image in your error page, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;body&amp;gt;&#xA;  &amp;lt;img src=&quot;/assets/images/errors/errorImage.png&quot;&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The reason the image works when you load the page directly in the browser is because the (I presume) the htm and image are located in the same folder, and therefore the image is correctly requested from the same folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you followed the post on &lt;a href=&quot;https://sitecore.stackexchange.com/q/221/135&quot;&gt;how to handle 404 and 500 errors&lt;/a&gt; then you will note that when the error is thrown, the URL remains the same as what the user requested (rather than it redirecting users to the 404 page). The image shows up with an 'x' because it was not found, because it is looking for the image in the same folder as the request URL (which will not be the ErrorPage folder). Setting the absolute path to the image (and any other assets on the page) will mean they resolve correctly regardless if the request URL.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-04-09T03:21:54.440" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11240" PostTypeId="2" ParentId="11196" CreationDate="2018-04-09T07:42:51.810" Score="0" Body="&lt;p&gt;After a while, I figure it out. Here's what I found out:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Although &lt;code&gt;Sitecore.Logging&lt;/code&gt; assembly uses the same log4net namespace, it doesn't depend on log4net at all. You can check it in the Sitecore &lt;strong&gt;Assembly list&lt;/strong&gt; link in the &lt;strong&gt;Release information&lt;/strong&gt; section of the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update5.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;download page&lt;/a&gt; and also in the .zip installation file. i.e. you won't find a log4net assembly.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Logging&lt;/code&gt; seems like a copy-and-paste from the original log4net but with fewer features. e.g. you don't have the &lt;code&gt;RawPropertyLayout&lt;/code&gt; and the &lt;code&gt;PatternLayout&lt;/code&gt; doesn't behave as the one in log4net (version 2.0.8).&lt;/li&gt;&#xA;&lt;li&gt;When you omit the &quot;log4net&quot; assembly name in the appender type, Sitecore assumes you are using an appender available at &lt;code&gt;Sitecore.Logging&lt;/code&gt;. e.g. &lt;code&gt;log4net.Appender.AdoNetAppender&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;If you use the &quot;log4net&quot; assembly name in the appender type, Sitecore tries to parse it to &lt;code&gt;log4net.Appender.IAppender, Sitecore.Logging&lt;/code&gt;, which obviously causes a parse error.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;How to work this around?&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you want to use the same features from log4net you have two options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Create a custom appender/layout extending from  &lt;code&gt;log4net.Appender.IAppender, Sitecore.Logging&lt;/code&gt; or &lt;code&gt;log4net.Appender.IRawLayout, Sitecore.Logging&lt;/code&gt; and copy the code from the log4net.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Configure log4net separately by either adding a log4net.config file or a different one but referencing its location in the application settings.&#xA;e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appSettings&amp;gt;&#xA;  &amp;lt;add key=&quot;log4net.Config&quot; value=&quot;App_Config/Company.Log4net.config&quot;/&amp;gt;&#xA;  &amp;lt;add key=&quot;log4net.Config.Watch&quot; value=&quot;True&quot;/&amp;gt;&#xA;&amp;lt;/appSettings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See more about log4net configuration &lt;a href=&quot;https://logging.apache.org/log4net/release/manual/configuration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't replace the log4net section in the web.config. Otherwise, the Sitecore logging will stop working.&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-04-09T09:13:44.390" LastActivityDate="2018-04-09T09:13:44.390" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11241" PostTypeId="2" ParentId="11168" CreationDate="2018-04-09T07:51:48.980" Score="2" Body="&lt;p&gt;Best would be to have 1 workflow with two different paths - Urgent and Normal. &#xA;Content approvers would check in their Workboxes and take Urgent workflow steps prioritized:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/N1ouM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N1ouM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Workflow would look similarly to this one:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5kXYi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5kXYi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen your previous question here on SSE with lot of other questions regarding workflow and wrote this blog post about the same with more details. You can find it here -&gt; &lt;a href=&quot;http://tothecore.sk/2018/04/06/sitecore-workflows-adding-new-states-commands-and-actions&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/04/06/sitecore-workflows-adding-new-states-commands-and-actions&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-04-09T07:51:48.980" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11243" PostTypeId="1" CreationDate="2018-04-09T10:12:55.720" Score="1" ViewCount="553" Body="&lt;p&gt;I'm getting the following error in my logs and at the same time experiencing data loss into xDB. &#xA;This is on &lt;code&gt;Sitecore 8.2 update 5&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My logs show following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;9612 11:44:56 WARN  Failed to deserialize Session object.&#xA;  Exception: &lt;strong&gt;Sitecore.Analytics.Exceptions.TypeNotAllowedForBindingException&lt;/strong&gt;&#xA;  Message: &lt;strong&gt;Binding for type Sitecore.Analytics.Tracking.NextPageData from assembly Sitecore.Analytics, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null is not allowed.&lt;/strong&gt;&#xA;  Source: Sitecore.Analytics&#xA;     at Sitecore.Analytics.Sessions.WhitelistSerializationBinder.BindToType(String assemblyName, String typeName)&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Bind(String assemblyString, String typeString)&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)&#xA;     at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)&#xA;     at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)&#xA;     at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)&#xA;     at Sitecore.Analytics.Sessions.PushSession.ProcessRequest(HttpContext context)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I tried adding this to &lt;code&gt;sessionSerialization/allowedTypes&lt;/code&gt;, but this just caused next on to occur:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;9648 11:23:11 WARN  Failed to deserialize Session object.&#xA;  Exception: &lt;strong&gt;Sitecore.Analytics.Exceptions.TypeNotAllowedForBindingException&lt;/strong&gt;&#xA;  Message: &lt;strong&gt;Binding for type Sitecore.Analytics.Model.OperatingSystemData from assembly Sitecore.Analytics.Model, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null is not allowed&lt;/strong&gt;.&#xA;  Source: Sitecore.Analytics&#xA;     at Sitecore.Analytics.Sessions.WhitelistSerializationBinder.BindToType(String assemblyName, String typeName)&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Bind(String assemblyString, String typeString)&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)&#xA;     at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)&#xA;     at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()&#xA;     at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)&#xA;     at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)&#xA;     at Sitecore.Analytics.Sessions.PushSession.ProcessRequest(HttpContext context)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;These are out of the Box Sitecore types, so I would not expect me to have to add them to allowedTypes. Also, adding multiple types here in a patch files does not seem to work, only the first added type is working, I have to add them to the original &lt;code&gt;Sitecore.Analytics.SessionSerialization.config&lt;/code&gt; files, which is totally unacceptable. But as I don't find anyone else complaining about this, I wonder if I am doing something wrong to cause this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I appreciate any insights here.&lt;/p&gt;&#xA;" OwnerUserId="2540" LastEditorUserId="35" LastEditDate="2018-04-11T07:36:15.253" LastActivityDate="2018-04-18T12:42:26.370" Title="Session object cannot be deserialized" Tags="|xdb|session-state|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11244" PostTypeId="2" ParentId="10733" CreationDate="2018-04-09T11:01:02.800" Score="1" Body="&lt;p&gt;I'm quite sure that you have changed the website name of the IIS website of your content management or standalone instance to 'bbc.local' and forgot to reflect that change on the SiteName parameter in the SIF script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Master_SingleServer.json line 240 you can see task 'CreateBinding' where SIF passes the SiteName parameter to SXAStorefront.CreateBinding.json.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;CreateBinding&quot;: {&#xA;  &quot;Type&quot;: &quot;InstallSitecoreConfiguration&quot;,&#xA;  &quot;Params&quot;: {&#xA;    &quot;Path&quot;: &quot;.\\Configuration\\Commerce\\SXAStorefront\\SXAStorefront.CreateBinding.json&quot;,&#xA;    &quot;SiteName&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;    &quot;CertificateName&quot;: &quot;[parameter('CertificateName')]&quot;,&#xA;    &quot;StorefrontHostName&quot;: &quot;[parameter('SiteHostHeaderName')]&quot;&#xA;  }&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And in 'Commerce\SXAStorefront\SXAStorefront.CreateBinding.json' you can see, that SIF is trying to stop an IIS website using exactly this name.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;StopWebsite&quot;: {&#xA;  // Stops the website if it is running.&#xA;  &quot;Type&quot;: &quot;ManageWebsite&quot;,&#xA;  &quot;Params&quot;: {&#xA;    &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;    &quot;Action&quot;: &quot;Stop&quot;&#xA;  }&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, since there is no preferred error action override, the script stops if the website cannot be found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you just need to update the $SiteName default value to match your environment.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#Requires -Version 3&#xA;param(&#xA;    [string]$SiteName = &quot;ConnectSite&quot;,  &#xA;    [string]$SiteHostHeaderName = &quot;sxa.storefront.local&quot;,   &#xA;    [string]$SqlDbPrefix = $SiteName,&#xA;    [string]$CommerceSearchProvider = &quot;SOLR&quot;&#xA;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My general advice when you're using SIF for On-Premise installations:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Be sure to customize the SIF installation scripts to match YOUR&#xA;  PARTICULAR environment.&#xA;  You should not use out-of-the-box SIF configurations for productive installations.&#xA;  copy them as a basis, then customize them to your needs.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="122" LastActivityDate="2018-04-09T11:01:02.800" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11245" PostTypeId="2" ParentId="9419" CreationDate="2018-04-09T11:51:06.360" Score="4" Body="&lt;p&gt;The certificate which is used for XConnect must contain a &quot;special&quot; private key. Not any private key will do it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you take a closer look at the SIF files, you'll notice, that the Self-Signed Certificate is created in a special way (I'll post only the important parts here):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$xconnectCert = New-SelfSignedCertificate -Type SSLServerAuthentication -TextExtension @( &quot;${extendedKeyUsage}={text}$serverAuthentication,$clientAuthentication&quot; ) `&#xA;                          -KeyUsage KeyAgreement, KeyEncipherment, DigitalSignature `&#xA;                          -KeyAlgorithm RSA -KeyLength 2048 `&#xA;                          -Subject $XConnectCertSubject `&#xA;                          -FriendlyName $XConnectCertFriendlyName `&#xA;                          -CertStoreLocation $TargetStore `&#xA;                          -DnsName $XConnectCertDnsNames `&#xA;                          -NotBefore (Get-Date) `&#xA;                          -NotAfter (Get-Date).AddYears(1) `&#xA;                          -Provider 'Microsoft Enhanced RSA and AES Cryptographic Provider' `&#xA;                          -KeyExportPolicy Exportable `&#xA;                          -KeyProtection None `&#xA;                          -KeySpec KeyExchange `&#xA;                          -Signer $rootCertPath&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The important part is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-Provider 'Microsoft Enhanced RSA and AES Cryptographic Provider'&#xA;-KeySpec KeyExchange&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can test if your particular certificate will work as client certificate for Sitecore XConnect using the following powershell code snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;(Get-ChildItem Cert:\LocalMachine\My\{thumbprint}).PrivateKey&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then powershell should respond with something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublicOnly           : False&#xA;CspKeyContainerInfo  : System.Security.Cryptography.CspKeyContainerInfo&#xA;KeySize              : 2048&#xA;KeyExchangeAlgorithm : RSA-PKCS1-KeyEx&#xA;SignatureAlgorithm   : http://www.w3.org/2000/09/xmldsig#rsa-sha1&#xA;PersistKeyInCsp      : True&#xA;LegalKeySizes        : {System.Security.Cryptography.KeySizes}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If your certificate returns an output like the one above, your certificate can be used for XConnect. Otherwise, it won't work. Period. Don't ask me about the details behind. I haven't had time to dig into the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second, important thing to note is, that your XConnect website must at least &quot;Accept&quot; client certificates. Open &quot;IIS Management&quot;, go to your website &gt; &quot;SSL Settings&quot; and make sure that Client Certificates are allowed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The third thing to note:&#xA;Each of your servers, which connects to the Xconnect server will need the XConnect certificate installed, including the private key.&#xA;The XConnect server itself will need the certificate too.&#xA;You can see it as kind of a mutual-authentication using a special SSL-Client Certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's all you need to know about XConnect client certificates.&#xA;Happy XConnect'ing.&lt;/p&gt;&#xA;" OwnerUserId="122" LastActivityDate="2018-04-09T11:51:06.360" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11246" PostTypeId="2" ParentId="10981" CreationDate="2018-04-09T12:40:13.470" Score="2" Body="&lt;p&gt;Thanks to @peter-prochazka for showing me the way. Here is my working code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var manager = AnalyticsHelpers.GetContactManager();&#xA;&#xA;if (manager != null)&#xA;{&#xA;    using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;    {&#xA;&#xA;        var trackerIdentifier = new IdentifiedContactReference(&#xA;            Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource,&#xA;            Sitecore.Analytics.Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&#xA;        var contact = client.Get&amp;lt;Contact&amp;gt;(trackerIdentifier,&#xA;            new Sitecore.XConnect.ContactExpandOptions());&#xA;&#xA;        if (contact == null)&#xA;        {&#xA;            manager.CreateContact(ID.NewID);&#xA;        }&#xA;&#xA;        if (Sitecore.Analytics.Tracker.Current.Contact.IsNew)&#xA;        {&#xA;            Sitecore.Analytics.Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;            manager.SaveContactToCollectionDb(Sitecore.Analytics.Tracker.Current.Contact);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3378" LastActivityDate="2018-04-09T12:40:13.470" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11247" PostTypeId="2" ParentId="11162" CreationDate="2018-04-09T12:59:48.740" Score="2" Body="&lt;p&gt;There's a few things required to create the button and hook it all up in order to fire an action. The simplest way is to make a copy of an existing checkbox and make modifications (i.e. one from &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/View/Show&lt;/code&gt; in &lt;code&gt;core&lt;/code&gt; database).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QCSdQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QCSdQ.png&quot; alt=&quot;Add Ribbon Item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then make sure the following is set:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Update the &lt;code&gt;Header&lt;/code&gt; and &lt;code&gt;Tooltip&lt;/code&gt; field, these will be shown in the Ribbon&lt;/li&gt;&#xA;&lt;li&gt;Update the &lt;code&gt;ID&lt;/code&gt; to a unique value, e.g. &lt;code&gt;ShowMyCustomRibbonButton&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;Click&lt;/code&gt; field is not required for SPEAK based ribbons. You can set it if you wish and add a &lt;code&gt;commands/command&lt;/code&gt; with matching name in config but it will not be used.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you copied an existing button then you should have a &lt;code&gt;SmallCheckButton&lt;/code&gt; Rendering defined on this item. You need to Design Layout layout of the Ribbon Item using &lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Rocks&lt;/a&gt;. Right click the item and select &lt;code&gt;Tasks &amp;gt; Design Layout&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8YS5K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8YS5K.png&quot; alt=&quot;Set Ribbon Properties&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in the &lt;code&gt;Properties&lt;/code&gt; window:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set the &lt;code&gt;RegistryKey&lt;/code&gt; value to something unique, which will store whether the user has enabled or disabled the state of this button. You can also retrieve the value from registry using this same key from C# code.&lt;/li&gt;&#xA;&lt;li&gt;Set the &lt;code&gt;Command&lt;/code&gt; field to the name of your JS Command object (more on this below, it needs to match the code)&lt;/li&gt;&#xA;&lt;li&gt;Set the &lt;code&gt;PageCodeScriptFileName&lt;/code&gt; field to the location of the JS file that handles the checkbox.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Handle the checkbox action&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The Javascript file specified in &lt;code&gt;PageCodeScriptFileName&lt;/code&gt; will handle the checkbox being checked/unchecked. The minimum outline of the functions need to look like below, but take a look at the existing files in &lt;code&gt;/sitecore/shell/client/Sitecore/ExperienceEditor/Commands&lt;/code&gt; folder for more examples:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;define([&quot;sitecore&quot;, &quot;/-/speak/v1/ExperienceEditor/ExperienceEditor.js&quot;], function (Sitecore, ExperienceEditor) {&#xA;  Sitecore.Commands.MyCustomControl =&#xA;  {&#xA;    commandContext: null,&#xA;    isEnabled: true,&#xA;&#xA;    canExecute: function (context) {&#xA;      if (!ExperienceEditor.isInMode(&quot;edit&quot;) || context.currentContext.isFallback) {&#xA;        return false;&#xA;      }&#xA;&#xA;      if (!Sitecore.Commands.MyCustomButtonCommand.commandContext) {&#xA;        this.commandContext = ExperienceEditor.getContext().instance.clone(context);&#xA;      }&#xA;      return true;&#xA;    },&#xA;&#xA;    execute: function (context) {&#xA;      ExperienceEditor.PipelinesUtil.generateRequestProcessor(&quot;ExperienceEditor.ToggleRegistryKey.Toggle&quot;, function (response) {&#xA;        response.context.button.set(&quot;isChecked&quot;, response.responseValue.value ? &quot;1&quot; : &quot;0&quot;);&#xA;        // run any custom logic here, e.g.&#xA;        //var btnIsChecked = response.context.button.get(&quot;isChecked&quot;) == &quot;1&quot;;&#xA;        //RunMyCustomLogic(btnIsChecked);&#xA;      }, { value: context.button.get(&quot;registryKey&quot;) }).execute(context);&#xA;    }&#xA;  };&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Command name should match (2) that you entered in the Properties window.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;canExecute&lt;/code&gt; : Determines if the current user has execute access. The above code is a simple &quot;is in edit mode&quot; check, but you can make a callback to a C# method which can check other things like security or simply return true.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;execute&lt;/code&gt; : called when the user checks or unchecks the option. The &lt;code&gt;generateRequestProcessor&lt;/code&gt; functions makes a callback to the server which stores it against the user profile, so it remembers the selected value for future requests.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can read more in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_experience_editor/customize_the_experience_editor_ribbon&quot; rel=&quot;nofollow noreferrer&quot;&gt;Customize the Experience Editor ribbon&lt;/a&gt; documentation or the &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/exploring_sitecore/posts/invok-a-command-from-editor-ribbon-series-2-of-4-experience-editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;Invoke a command from editor ribbon series - experience editor&lt;/a&gt; article.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-04-09T12:59:48.740" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11249" PostTypeId="2" ParentId="11227" CreationDate="2018-04-09T14:31:57.560" Score="3" Body="&lt;p&gt;You can use the Rules Engine, there are a bunch of out-of-the-box rules that allow you to set the default field value based on a number of conditions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AOhkZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AOhkZ.png&quot; alt=&quot;WFFM Rules Engine&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to set the value to something else (i.e. values from your external source) then you can &lt;a href=&quot;https://jeffdarchuk.com/2015/06/04/lets-use-that-rules-engine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;create custom a &lt;code&gt;RuleAction&lt;/code&gt;&lt;/a&gt; that retrieves that values. Be a little careful with your action though and try to limit the number of calls to your external source otherwise this could lead to performance issues. It may be better to query your external source and store that data in the user profile or user session so you only query once.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-04-09T14:31:57.560" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11250" PostTypeId="1" CreationDate="2018-04-09T15:08:06.223" Score="-2" ViewCount="887" Body="&lt;p&gt;For a project I am working on, I am attempting to figure out how to loop through a bucketed folder programmatically using C#. In viewing the bucketed folder structure, the bucket folder nests the items quite deep&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ex.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2018\&#xA;     04\&#xA;        09\&#xA;           32\&#xA;              16\&#xA;                 Item A&#xA;                 Item B&#xA;                 Item C&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I'm familar with how to loop through something one level deep in c#, but not something that is 5 or 6 levels deep.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var child in Model.Children)&#xA;{&#xA;    var mediaItem = (MediaItem)child;&#xA;    ....&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This style of looping is fine for a parent folder\child relationship, but doesn't drill down multiple levels to get to the items at the bottom.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm pretty new to c#, so I could really use a point in the right direction on how to drill down to something that is multi-levels deep and then loop through them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks!&lt;/p&gt;&#xA;" OwnerUserId="3055" LastEditorUserId="3055" LastEditDate="2018-04-09T15:28:38.043" LastActivityDate="2018-04-09T15:28:38.043" Title="Looping through items in bucketed folder" Tags="|sitecore-api|buckets|" AnswerCount="1" CommentCount="6" ClosedDate="2018-04-09T15:45:48.337" ContentLicense="CC BY-SA 3.0" />
  <row Id="11251" PostTypeId="2" ParentId="11250" CreationDate="2018-04-09T15:27:03.837" Score="1" Body="&lt;p&gt;You can use code like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (item.TemplateID.Guid ==YourItemTemplateId&#xA;                &amp;amp;&amp;amp; item.Parent != null)&#xA;            {&#xA;                var bucketroot = item.Parent;&#xA;                while (bucketroot.TemplateID == ID.Parse(Constants.Templates.BucketTemplateId))&#xA;                {&#xA;                    bucketroot = bucketroot.Parent;&#xA;                }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is based on your requirement what you want.&lt;/p&gt;&#xA;" OwnerUserId="251" LastActivityDate="2018-04-09T15:27:03.837" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="11253" PostTypeId="1" CreationDate="2018-04-09T17:42:46.580" Score="3" ViewCount="1584" Body="&lt;p&gt;I'm using Sitecore 9.0.1 and I also confirmed that all analytics are working. However, after creating new Goal item and rendering some live pages to gather analytics data, it shows this error. I enabled xProfile for Anonymous users through xConnect and can see the user's visited pages, but it doesn't update in Experience Analytics . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The part of error says &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;No known predicate type could be determined from&#xA;  Sitecore.Analytics.OmniChannel.Conditions.Channel.CurrentInteractionIsOnChannelCondition,Sitecore.Analytics.OmniChannel&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error Detail:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://gist.github.com/udt1106/251ed8cc6f0de96a82dcd0cc9f23cca4&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/udt1106/251ed8cc6f0de96a82dcd0cc9f23cca4&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anyone having the same issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;======== Actual the error was after creating new Goal Item ========&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="554" LastEditorUserId="2727" LastEditDate="2018-10-27T17:41:03.773" LastActivityDate="2019-09-25T13:01:57.790" Title="No known predicate type could be determined from Sitecore.Analytics.OmniChannel Error while creating a Goal item" Tags="|xdb|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11254" PostTypeId="1" AcceptedAnswerId="11256" CreationDate="2018-04-09T18:47:56.583" Score="2" ViewCount="2493" Body="&lt;p&gt;The title more or less says it all.  Having trouble figuring out how to redirect a Sitecore address to an external website URL, or if that's something that the SXA redirect map is capable of doing&lt;/p&gt;&#xA;" OwnerUserId="2289" LastActivityDate="2018-04-09T19:44:47.243" Title="Can SXA redirect map entries redirect from a Sitecore URL to an external one?" Tags="|sxa|redirect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11255" PostTypeId="1" CreationDate="2018-04-09T18:49:52.213" Score="-1" ViewCount="294" Body="&lt;p&gt;I am trying to package a local instance of sitecore 9, and keep running into an error after running the script provided by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error is as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.IO.FileNotFoundException: Could not find file 'C:\Users\usernamehere\AppData\Local\Temp\tempDacPacs4cbaf6a5-5242-4ef6-af6f-1ed93c3e5427\Sitecore.core.dacpac'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The script I am running comes from this site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/cloud/working_with_sitecore_azure_toolkit/packaging/packaging_a_sitecore_solution_for_the_microsoft_azure_app_service&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/cloud/working_with_sitecore_azure_toolkit/packaging/packaging_a_sitecore_solution_for_the_microsoft_azure_app_service&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="2464" LastEditorUserId="73" LastEditDate="2019-03-15T13:00:13.833" LastActivityDate="2019-08-12T13:02:30.280" Title="Could not find file ...\Temp\...\Sitecore.core.dacpac" Tags="|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11256" PostTypeId="2" ParentId="11254" CreationDate="2018-04-09T19:32:34.283" Score="5" Body="&lt;p&gt;No, &lt;strong&gt;Redirect Map&lt;/strong&gt; can only redirect to other items on a current site (it will try to append to a URL string that you define in the mapping).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Redirect Map + Redirect Item&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Although it is not a perfect solution you could redirect to an existing &lt;strong&gt;Redirect Item&lt;/strong&gt; (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/search/redirect_a_url&quot; rel=&quot;noreferrer&quot;&gt;Redirect a URL&lt;/a&gt;) and define external URL there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One important thing about &lt;strong&gt;Redirect Map&lt;/strong&gt;. It will match your URL only if Sitecore is unable to resolve the item (404), otherwise, it will return the item. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Wildcard Item / Redirect Item&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is an interesting solution but it will not work for every case. You can try to combine wildcards feature with &lt;strong&gt;Redirect Item&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eDrKd.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eDrKd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will match every URL that cannot be resolved on a first level and redirect to google&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Documentation:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/search/map_a_url_redirect&quot; rel=&quot;noreferrer&quot;&gt;Map a URL redirect&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/search/redirect_a_url&quot; rel=&quot;noreferrer&quot;&gt;Redirect a URL&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-04-09T19:44:47.243" LastActivityDate="2018-04-09T19:44:47.243" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11259" PostTypeId="1" AcceptedAnswerId="11317" CreationDate="2018-04-10T06:02:50.720" Score="0" ViewCount="883" Body="&lt;p&gt;I am trying to disable(readonly) and enable a RTE field on toggle of a checkbox in the Content Editor.&#xA;The John west blogs tells &#xA; to alter the &quot;renderContentEditor&quot; Pipeline which I guess will not be a efficient way of doing as this will get called every time and the performance will get a hit.&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/use-a-checkbox-to-control-section-visibility-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/use-a-checkbox-to-control-section-visibility-in-the-sitecore-asp-net-cms&lt;/a&gt;&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/render-content-editor-fields-read-only-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/render-content-editor-fields-read-only-in-the-sitecore-asp-net-cms&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I go with a custom Checkbox field that triggers to make the RTE field  readonly when selected and editable when not selected?&#xA;What is the best efficient way of handling this and how to achieve it?&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1049" LastEditDate="2018-04-10T08:01:28.577" LastActivityDate="2019-02-21T18:03:25.717" Title="Make a field(RTE) disable(readonly) and enable(editable) on toggle of checkbox in Content Editor" Tags="|content-editor|fieldtype|custom-field|renderfield|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11260" PostTypeId="1" CreationDate="2018-04-10T07:30:24.393" Score="1" ViewCount="724" Body="&lt;p&gt;Specific user roles need to be restricted from selecting multiple publishing targets (in this example it is &lt;em&gt;CDPublish&lt;/em&gt; and &lt;em&gt;CMPublish&lt;/em&gt;) for publishing items in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example: Administrator should be able to select both the publishing targets and proceed with publishing but when user with some specific roles (like Content regional Publisher, Content Author) select both the publishing targets for publishing they should get an custom alert message like &quot;This role do not have the permission to publish using both the publishing targets&quot;. These specific users can publish with only one publishing targets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0l9XS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0l9XS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="2056" LastEditDate="2018-05-18T10:03:08.700" LastActivityDate="2018-05-18T10:03:08.700" Title="Restriction on selecting multiple Publishing Targets for specific Users / Roles" Tags="|publishing|content-management|editor-user-permissions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11261" PostTypeId="2" ParentId="11260" CreationDate="2018-04-10T07:30:24.393" Score="0" Body="&lt;p&gt;This can be achieved by adding a Custom code in &lt;em&gt;Publish.xml&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Publish Wizard details are present in &lt;em&gt;Publish.xml&lt;/em&gt; and can be found inside the &quot;shell&quot; folder (&lt;em&gt;your website\Website\sitecore\shell\Applications\Dialogs\Publish&lt;/em&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit the Publish.xml file by adding your custom code in the CodeBeside attribute. Replace the existing &lt;em&gt;PublishForm&lt;/em&gt;,  &lt;em&gt;Sitecore.client&lt;/em&gt; with your custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Example: &lt;code&gt;&amp;lt;WizardForm CodeBeside=&quot;Your_Project_namespace.CustomPublishForm,Your_assembly&quot;&amp;gt;&lt;/code&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/8b99S.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8b99S.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the sample code added in the &lt;em&gt;CodeBeside&lt;/em&gt; to implement the requirement.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomPublishingTarget : PublishForm&#xA;{&#xA;    protected override bool ActivePageChanging(string page, ref string newpage)&#xA;    {&#xA;        Assert.ArgumentNotNull(page, &quot;page&quot;);&#xA;        Assert.ArgumentNotNull(newpage, &quot;newpage&quot;);&#xA;        if (page == &quot;Retry&quot;)&#xA;        {&#xA;            newpage = &quot;Settings&quot;;&#xA;        }&#xA;        if (newpage == &quot;Publishing&quot;)&#xA;        {&#xA;            if (GetLanguages().Length == 0)&#xA;            {&#xA;                SheerResponse.Alert(Translate.Text(&quot;You must pick at least one language to publish.&quot;), new string[0]);&#xA;                return false;&#xA;            }&#xA;            if (GetPublishingTargetDatabases().Length == 0)&#xA;            {&#xA;                SheerResponse.Alert(Translate.Text(&quot;You must pick at least one publishing target.&quot;), new string[0]);&#xA;                return false;&#xA;            }&#xA;            /* If both the publishing targets are selected */&#xA;            if (GetPublishingTargetDatabases().Length == 2)&#xA;            {&#xA;                User user = Context.User;&#xA;                UserRoles roles = null;&#xA;                if (user != null)&#xA;                {&#xA;                    roles = user.Roles;&#xA;                }&#xA;                /* User/Role restriction */&#xA;                if (roles != null &amp;amp;&amp;amp; roles.Count() != 0 &amp;amp;&amp;amp; !user.IsAdministrator)&#xA;                {&#xA;                    var listRolesToPublishTarget = ConfigurationManager.AppSettings[&quot;RolesForPublishTarget&quot;].Split('|').ToList();&#xA;                    bool publishAdminFlag = true;&#xA;                    foreach (string publishRole in listRolesToPublishTarget)&#xA;                    {&#xA;                        if (Context.User.IsInRole(publishRole))&#xA;                        {&#xA;                            publishAdminFlag = false;&#xA;                        }&#xA;                    }&#xA;                    if (publishAdminFlag)&#xA;                    {&#xA;                        var rolesList = roles.ToList();&#xA;                        string listRolesToRestrictPublishTarget = ConfigurationManager.AppSettings[&quot;RestrictedRolesForPublishTarget&quot;].ToString();&#xA;                        foreach (var restrictedRole in rolesList)&#xA;                        {&#xA;                            string restrictedRoleName = ((Account)(restrictedRole)).Name.ToString();&#xA;                            if (listRolesToRestrictPublishTarget.Contains(restrictedRoleName + '|'))&#xA;                            {&#xA;                                string alertMessage = ConfigurationManager.AppSettings[&quot;PublishTargetAlertMessage&quot;].ToString().Replace(&quot;\\n&quot;, Environment.NewLine);&#xA;                                SheerResponse.Alert(Translate.Text(alertMessage, new string[0]));&#xA;                                return false;&#xA;                            }&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;            if ((this.PublishChildrenPane.Visible || this.Republish.Checked) &amp;amp;&amp;amp; !this.ConfirmedOptions)&#xA;            {&#xA;                Context.ClientPage.Start(this, &quot;ConfirmPublishingOptions&quot;);&#xA;                return false;&#xA;            }&#xA;        }&#xA;        return base.ActivePageChanging(page, ref newpage);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Voila! now the restricted users/roles(like  Content regional Publisher, Content Author) are unable to publish using both the publishing targets and they get a popup &quot;This role do not have the permission to publish using both the publishing targets&quot;. Only the administrator(or any role configured in the config with key &quot;&lt;em&gt;RolesForPublishTarget&lt;/em&gt;&quot;) can publish using both the Publishing Targets.&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-04-10T07:30:24.393" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11262" PostTypeId="1" AcceptedAnswerId="11263" CreationDate="2018-04-10T08:26:12.010" Score="1" ViewCount="549" Body="&lt;p&gt;we have configured &lt;strong&gt;SOLR MASTER/SALVE&lt;/strong&gt; in our environment on different servers and Configured the required replication. Index is rebuild and web site is search is working. when we try to search with in Content tree, it gives message as &quot;No Result Found&quot;. While checking the search log file, got below entries. It is searching on custom index &lt;strong&gt;sitecore_community_index&lt;/strong&gt; instead of default &lt;strong&gt;Master index&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;6652 10:17:27 INFO  Serialized Query -&#xA;  ?q=_name:(_url)&amp;amp;rows=1&amp;amp;fq=_templatename:(&quot;Template&#xA;  field&quot;)&amp;amp;fq=_indexname:(sitecore_community_index) 6652 10:17:27 INFO &#xA;  Search Query : (((((-_group:(154d56cc0de243c7bbc0a25bd7ffd901)  &lt;em&gt;:&lt;/em&gt;)&#xA;  AND (_path:(154d56cc0de243c7bbc0a25bd7ffd901) AND&#xA;  _latestversion:(True))) AND _path:(154d56cc0de243c7bbc0a25bd7ffd901)) AND _latestversion:(1)) AND _datasource:(sitecore)) 6652 10:17:27 INFO&#xA;  Search Index : sitecore_community_index 6652 10:17:27 INFO  Search&#xA;  Took : 11ms 5708 10:18:29 INFO  Query - (_name:(&quot;Mail server*&quot;) OR&#xA;  (_content:(&quot;*Mail server*&quot;) AND _language:(en))) 5708 10:18:29 INFO &#xA;  Serialized Query - ?q=(_name:(&quot;Mail server*&quot;) OR (_content:(&quot;*Mail&#xA;  server*&quot;) AND&#xA;  _language:(en)))&amp;amp;rows=2147483647&amp;amp;fq=_indexname:(sitecore_community_index)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="605" LastEditDate="2018-04-10T08:29:14.177" LastActivityDate="2018-04-10T09:32:11.180" Title="Content search in Sitecore pointing to custom index instead of Master" Tags="|solr|content-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11263" PostTypeId="2" ParentId="11262" CreationDate="2018-04-10T09:32:11.180" Score="0" Body="&lt;p&gt;Sitecore content search might select the first index matching the context database. You have to ensure your &lt;code&gt;sitecore_community_index&lt;/code&gt; is defined after the standard &lt;code&gt;sitecore_master_index&lt;/code&gt;. You likely patched your index before the default ones with &lt;code&gt;patch:before&lt;/code&gt; or because your patch file name is alphabetically lower than the out of the box Solr configuration files.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2018-04-10T09:32:11.180" CommentCount="9" ContentLicense="CC BY-SA 3.0" />
  <row Id="11264" PostTypeId="1" AcceptedAnswerId="11266" CreationDate="2018-04-10T10:37:23.573" Score="0" ViewCount="160" Body="&lt;p&gt;I have Sitecore 8.2 u5 installed in my PC, with mongodb 3.6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I install WFFM 8.2, it keeps running for ever.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The mongodb service wasn't started. When I try to start it from services.msc, it gives an error - Windows cannot start this service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could this be a reason.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the logs, but they appear even when not installing WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception when executing agent processing/taskAgent&lt;br&gt;&#xA;Exception when executing agent aggregation/automationCleanupService&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Exception when executing agent processing/taskAgent Exception:&#xA;  System.TimeoutException Message: A timeout occured after 30000ms&#xA;  selecting a server using CompositeServerSelector{ Selectors =&#xA;  WritableServerSelector, LatencyLimitingServerSelector{&#xA;  AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster&#xA;  state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;Automatic&quot;, Type :&#xA;  &quot;Unknown&quot;, State : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;{ ClusterId&#xA;  : 1, EndPoint : &quot;Unspecified/localhost:27017&quot; }&quot;, EndPoint:&#xA;  &quot;Unspecified/localhost:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot;,&#xA;  HeartbeatException: &quot;MongoDB.Driver.MongoConnectionException: An&#xA;  exception occurred while opening a connection to the server. ---&gt;&#xA;  System.Net.Sockets.SocketException: No connection could be made&#xA;  because the target machine actively refused it 127.0.0.1:27017    at&#xA;  System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)    at&#xA;  System.Threading.Tasks.TaskFactory&lt;code&gt;1.FromAsyncCoreLogic(IAsyncResult&#xA;  iar, Func&lt;/code&gt;2 endFunction, Action&lt;code&gt;1 endAction, Task&lt;/code&gt;1 promise, Boolean&#xA;  requiresSynchronization)&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  MongoDB.Driver.Core.Connections.TcpStreamFactory.d__7.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  MongoDB.Driver.Core.Connections.TcpStreamFactory.d__4.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  MongoDB.Driver.Core.Connections.BinaryConnection.d__48.MoveNext()&#xA;  --- End of inner exception stack trace ---    at MongoDB.Driver.Core.Connections.BinaryConnection.d__48.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  MongoDB.Driver.Core.Servers.ServerMonitor.d__27.MoveNext()&quot;&#xA;  }] }. Source: MongoDB.Driver.Core    at&#xA;  MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector&#xA;  selector, ClusterDescription description)    at&#xA;  MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task&#xA;  completedTask)    at&#xA;  MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector&#xA;  selector, ClusterDescription description, Task descriptionChangedTask,&#xA;  TimeSpan timeout, CancellationToken cancellationToken)    at&#xA;  MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector&#xA;  selector, CancellationToken cancellationToken)    at&#xA;  MongoDB.Driver.Core.Bindings.WritableServerBinding.GetWriteChannelSource(CancellationToken&#xA;  cancellationToken)    at&#xA;  MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetWriteChannelSource(CancellationToken&#xA;  cancellationToken)    at&#xA;  MongoDB.Driver.Core.Operations.FindAndModifyOperationBase&lt;code&gt;1.Execute(IWriteBinding&#xA;  binding, CancellationToken cancellationToken)    at&#xA;  MongoDB.Driver.MongoCollection.ExecuteWriteOperation[TResult](IWriteOperation&lt;/code&gt;1&#xA;  operation)    at&#xA;  MongoDB.Driver.MongoCollection.FindAndModify(FindAndModifyArgs args)&lt;br&gt;&#xA;  at&#xA;  Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.&amp;lt;&gt;c__DisplayClass2d.b__2c()&#xA;  at&#xA;  Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.Execute(Action&#xA;  action, ExceptionBehavior exceptionBehavior)    at&#xA;  Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.FindAndModify(IMongoQuery&#xA;  query, IMongoSortBy sortBy, IMongoUpdate update, Boolean returnNew,&#xA;  Boolean upsert)    at&#xA;  Sitecore.Analytics.Processing.MongoDbTaskStorageProvider.PickFirstExclusiveTask()&#xA;  at Sitecore.Analytics.Processing.TaskQueue.TryGetNext(Guid&#xA;  taskIdBoundary, ProcessingTask&amp;amp; workItem)    at&#xA;  Sitecore.Analytics.Processing.TasksAgent.Execute()    at&#xA;  Sitecore.Analytics.Core.BackgroundService.Run()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;5024 15:54:04 ERROR Exception when executing agent&#xA;  aggregation/automationCleanupService Exception:&#xA;  System.TimeoutException Message: A timeout occured after 30000ms&#xA;  selecting a server using CompositeServerSelector{ Selectors =&#xA;  WritableServerSelector, LatencyLimitingServerSelector{&#xA;  AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster&#xA;  state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;Automatic&quot;, Type :&#xA;  &quot;Unknown&quot;, State : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;{ ClusterId&#xA;  : 1, EndPoint : &quot;Unspecified/localhost:27017&quot; }&quot;, EndPoint:&#xA;  &quot;Unspecified/localhost:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot;,&#xA;  HeartbeatException: &quot;MongoDB.Driver.MongoConnectionException: An&#xA;  exception occurred while opening a connection to the server. ---&gt;&#xA;  System.Net.Sockets.SocketException: No connection could be made&#xA;  because the target machine actively refused it 127.0.0.1:27017    at&#xA;  System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)    at&#xA;  System.Threading.Tasks.TaskFactory&lt;code&gt;1.FromAsyncCoreLogic(IAsyncResult&#xA;  iar, Func&lt;/code&gt;2 endFunction, Action&lt;code&gt;1 endAction, Task&lt;/code&gt;1 promise, Boolean&#xA;  requiresSynchronization)&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  MongoDB.Driver.Core.Connections.TcpStreamFactory.d__7.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  MongoDB.Driver.Core.Connections.TcpStreamFactory.d__4.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  MongoDB.Driver.Core.Connections.BinaryConnection.d__48.MoveNext()&#xA;  --- End of inner exception stack trace ---    at MongoDB.Driver.Core.Connections.BinaryConnection.d__48.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  MongoDB.Driver.Core.Servers.ServerMonitor.d__27.MoveNext()&quot;&#xA;  }] }. Source: MongoDB.Driver.Core    at&#xA;  MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector&#xA;  selector, ClusterDescription description)    at&#xA;  MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task&#xA;  completedTask)    at&#xA;  MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector&#xA;  selector, ClusterDescription description, Task descriptionChangedTask,&#xA;  TimeSpan timeout, CancellationToken cancellationToken)    at&#xA;  MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector&#xA;  selector, CancellationToken cancellationToken)    at&#xA;  MongoDB.Driver.Core.Bindings.WritableServerBinding.GetReadChannelSource(CancellationToken&#xA;  cancellationToken)    at&#xA;  MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetReadChannelSource(CancellationToken&#xA;  cancellationToken)    at&#xA;  MongoDB.Driver.Core.Operations.FindOperation&lt;code&gt;1.Execute(IReadBinding&#xA;  binding, CancellationToken cancellationToken)    at&#xA;  MongoDB.Driver.MongoCursor&lt;/code&gt;1.GetEnumerator()    at&#xA;  System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)&lt;br&gt;&#xA;  at&#xA;  Sitecore.Analytics.RangeScheduler.MongoDbRangeMap2.RemoveFinishedRanges()&#xA;  at&#xA;  Sitecore.Analytics.Automation.Data.MongoDbAutomationProvider.GetOldestUnaggregatedRangeTimestamp()&#xA;  at&#xA;  Sitecore.Analytics.Automation.Data.MongoDbAutomationProvider.RemoveAutomationTransitions(DateTime&#xA;  oldestInclusive, DateTime latestExclusive)    at&#xA;  Sitecore.Analytics.Automation.Aggregation.Data.Processing.CleanupAgent.Execute()&#xA;  at Sitecore.Analytics.Core.BackgroundService.Run()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-04-10T10:48:55.860" LastActivityDate="2018-04-10T14:25:51.970" Title="Unable to install WFFM in Sitecore 8.2 update 5" Tags="|wffm|mongodb|" AnswerCount="2" CommentCount="0" ClosedDate="2018-04-10T16:16:22.860" ContentLicense="CC BY-SA 3.0" />
  <row Id="11266" PostTypeId="2" ParentId="11264" CreationDate="2018-04-10T10:54:59.473" Score="1" Body="&lt;p&gt;On Sitecore versions that require MongoDB for xDB (7.5 and 8.X), Sitecore requires MongoDB to be running when installing most Sitecore packages. As you experienced, the installation wizard spins forever when MongoDB is not started and the package does not install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution would be to fix your MongoDB installation for it to start and re-install WFFM after.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should check the MongoDB logs and Windows Event Viewer to find the reason your service is unable to start.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2018-04-10T10:54:59.473" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11268" PostTypeId="2" ParentId="10965" CreationDate="2018-04-10T10:59:02.443" Score="0" Body="&lt;p&gt;Assuming you have properly configured the provider to handle your website authentication. Check &lt;code&gt;&amp;lt;sites hint=&quot;list&quot;&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get login URLs for your site through &lt;code&gt;GetSignInUrlInfoPipeline&lt;/code&gt; pipeline. Do something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var corePipelineManager = DependencyResolver.Current.GetService&amp;lt;BaseCorePipelineManager&amp;gt;();&#xA;var args = new GetSignInUrlInfoArgs(&quot;website&quot;, url);&#xA;GetSignInUrlInfoPipeline.Run(corePipelineManager, args);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;args.Result&lt;/code&gt; will have a list of the providers URLs available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to do a &lt;code&gt;POST&lt;/code&gt; request to these URLs. e.g&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var result in args.Result)&#xA;{&#xA;    using (Html.BeginForm(null, null, FormMethod.Post, new { @action = result.Href }))&#xA;    {&#xA;        &amp;lt;button type=&quot;submit&quot;&amp;gt;&#xA;            &amp;lt;img src=&quot;@result.Icon&quot; /&amp;gt;&#xA;            @result.Caption&#xA;        &amp;lt;/button&amp;gt;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="88" LastActivityDate="2018-04-10T10:59:02.443" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11269" PostTypeId="2" ParentId="9519" CreationDate="2018-04-10T11:16:05.480" Score="2" Body="&lt;p&gt;In my case, I had the same error when I delivered Unicorn configs to CD server.&#xA;I removed all Unicorn configs from CD and added Unicorn folder with configs to my &lt;code&gt;pubxml&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Target Name=&quot;ConfigFiles&quot; BeforeTargets=&quot;ExcludeFilesFromPackage&quot;&amp;gt;&#xA;    &amp;lt;ItemGroup&amp;gt;&#xA;      &amp;lt;ExcludeFromPackageFolders Include=&quot;App_Config\Include\Unicorn&quot;&amp;gt;&#xA;        &amp;lt;FromTarget&amp;gt;Project&amp;lt;/FromTarget&amp;gt;&#xA;      &amp;lt;/ExcludeFromPackageFolders&amp;gt;&#xA;      &amp;lt;ExcludeFromPackageFiles Include=&quot;App_Config\Include\*.disabled&quot;&amp;gt;&#xA;      &amp;lt;/ExcludeFromPackageFiles&amp;gt;&#xA;      &amp;lt;ExcludeFromPackageFiles Include=&quot;App_Config\Include\*.example&quot;&amp;gt;&#xA;      &amp;lt;/ExcludeFromPackageFiles&amp;gt;&#xA;      &amp;lt;ExcludeFromPackageFiles Include=&quot;App_Config\Include\*.exclude&quot;&amp;gt;&#xA;      &amp;lt;/ExcludeFromPackageFiles&amp;gt;&#xA;    &amp;lt;/ItemGroup&amp;gt;&#xA;  &amp;lt;/Target&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-04-10T11:16:05.480" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11270" PostTypeId="2" ParentId="11084" CreationDate="2018-04-10T12:05:41.420" Score="1" Body="&lt;p&gt;For anyone who finds this in future: My problem was the 'Author' role being applied to my user. For whatever reason, this conflicts with WFFM. Removing the role has no noticeable effects on my users and seems to have resolved the issue.&lt;/p&gt;&#xA;" OwnerUserId="3138" LastActivityDate="2018-04-10T12:05:41.420" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11271" PostTypeId="1" AcceptedAnswerId="11274" CreationDate="2018-04-10T12:35:04.013" Score="3" ViewCount="845" Body="&lt;p&gt;Previously in Exm 3.5 we send customize email using &lt;strong&gt;AsyncSendingManager&lt;/strong&gt; code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;AsyncSendingManager(messageItem).SendStandardMessage(recipientId)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Exm 9.0.1, there is no implementation this class. Is there any option available for sending customize email from exm?&lt;/p&gt;&#xA;" OwnerUserId="1930" LastActivityDate="2018-04-10T14:36:21.570" Title="How to send customize email from sitecore 9.0.1" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11272" PostTypeId="1" AcceptedAnswerId="11331" CreationDate="2018-04-10T13:52:24.707" Score="3" ViewCount="1441" Body="&lt;p&gt;We have problem with uploaded media item in Sitecore 9. When we are uploading some media file (image, video etc.), it will be created only in default language and not in all languages. This worked in Sitecore 8.x, but in Sitecore 9.0.1 no. Any solution?&lt;/p&gt;&#xA;" OwnerUserId="1130" LastEditorUserId="73" LastEditDate="2018-04-10T13:56:07.780" LastActivityDate="2018-04-13T14:16:17.967" Title="Media Item not created in multiple languages" Tags="|media-library|multilingual|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11273" PostTypeId="2" ParentId="11264" CreationDate="2018-04-10T14:25:51.970" Score="0" Body="&lt;p&gt;If you are running CMS-only mode, or do not have Mongo installed (on a development environment for example) then disabling analytics will allow the package to be installed without any errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1+ natively supports running in &lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/setting%20up%20and%20maintaining/experience%20management/configuring/configure%20experience%20management&quot; rel=&quot;nofollow noreferrer&quot;&gt;CMS only mode&lt;/a&gt;, set the following setting to &lt;strong&gt;false&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In earlier versions of Sitecore it is the following setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.Enabled&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that Sitecore version prior to 8.1 do not natively support running in CMS only mode, but disabling analytics mostly works but not a supported configuration for production.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-04-10T14:25:51.970" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11274" PostTypeId="2" ParentId="11271" CreationDate="2018-04-10T14:36:21.570" Score="5" Body="&lt;p&gt;In Sitecore 9.0.1, the way that Sitecore servers send messages through EXM has changed a bit due to the introduction of Rebus Messaging Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To send emails now, you'll want to instantiate the client api service.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IClientApiService _clientApiService;&#xA;&#xA;public ClassConstructor(IClientApiService clientApiService)&#xA;{&#xA;  _clientApiService = clientApiService;&#xA;&#xA;  var messageInfo = new AutomatedMessage();&#xA;  messageInfo.MessageId = messageId; //Guid of Message&#xA;  messageInfo.ContactIdentifier = contactIdentifier; //Contact Identifier&#xA;  messageInfo.CustomTokens = dictionaryOfTokens //Custom Tokens&#xA;  messageInfo.TargetLanguage = language //Language&#xA;&#xA;  _clientApiService.SendAutomatedMessage(messageInfo);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will send the custom message through EXM as usual.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, there are other methods that the Client API uses as well:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.EmailCampaign.Cd.Services&#xA;{&#xA;  public interface IClientApiService&#xA;  {&#xA;    void SendAutomatedMessage(AutomatedMessage automatedMessage);&#xA;&#xA;    void Subscribe(SubscribeMessage subscribeMessage);&#xA;&#xA;    void Unsubscribe(UnsubscribeMessage unsubscribeMessage);&#xA;&#xA;    void ConfirmSubscription(ConfirmSubscriptionMessage confirmSubscriptionMessage);&#xA;&#xA;    void RegisterEmailOpen(EmailOpenMessage emailOpenMessage);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-04-10T14:36:21.570" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11275" PostTypeId="2" ParentId="11243" CreationDate="2018-04-10T15:11:04.450" Score="4" Body="&lt;p&gt;As you pointed out on your comment, this can be resolved by adding the missing types &lt;code&gt;Sitecore.Analytics.SessionSerialization.config&lt;/code&gt;. You can see Sitecore comes with a bunch of these by default. Maybe they missed couple of them?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be able to patch this list, but you need to add a unique attribute to each node so they don't replace each other. e.g. (see &lt;code&gt;desc&lt;/code&gt; attribute)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;sessionSerialization&amp;gt;&#xA;  &amp;lt;!-- Provides fully qualified type names, which are allowed to be serialized. --&amp;gt;&#xA;  &amp;lt;allowedTypes&amp;gt;&#xA;    &amp;lt;type desc=&quot;a&quot;&amp;gt;MyAssembly.MyType.aaaa, MyAssembly&amp;lt;/type&amp;gt;&#xA;    &amp;lt;type desc=&quot;b&quot;&amp;gt;MyAssembly.MyType.bbbb, MyAssembly&amp;lt;/type&amp;gt;&#xA;  &amp;lt;/allowedTypes&amp;gt;&#xA;&amp;lt;/sessionSerialization&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="88" LastActivityDate="2018-04-10T15:11:04.450" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11276" PostTypeId="1" AcceptedAnswerId="11284" CreationDate="2018-04-10T17:10:46.830" Score="6" ViewCount="1631" Body="&lt;p&gt;I have a unicorn configuration set up like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include name=&quot;Rules&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Rules&quot; &amp;gt;&#xA;    &amp;lt;exclude children=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions&quot; includeChildren=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions/Elements&quot; includeChildren=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions/Tags&quot; includeChildren=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions/Elements/Error Page&quot; includeChildren=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions/Tags/Error Page&quot; includeChildren=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/exclude&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&amp;lt;include name=&quot;Custom Rules&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Rules/Definitions/Elements/Custom&quot; includeChildren=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;exclude path=&quot;Customer account type&quot; /&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I run the synchronization process I get the following message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The trees Rules and Custom Rules both contained the global path /sitecore/system/Settings/Rules/Definitions/Custom - overlapping trees are not allowed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I am not expecting this as the first configuration should exclude all children, including the &quot;Custom Rules&quot; path so that it can be included in the second configuration. What is the correct way of achieving what I want to achieve?&lt;/p&gt;&#xA;" OwnerUserId="367" LastEditorUserId="35" LastEditDate="2018-04-10T17:27:15.207" LastActivityDate="2018-04-11T09:23:44.127" Title="Unicorn overlapping configuration issue" Tags="|unicorn|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11278" PostTypeId="1" AcceptedAnswerId="11280" CreationDate="2018-04-10T19:23:45.463" Score="1" ViewCount="369" Body="&lt;p&gt;The requirement is to have an image field that is not the standard one but rather a pulldown list of images from a specific folder.  I can get this to work on the backend by using a droplist field or droplink field and pointing the Source item of the field to the folder in question, however, trying to then retrieve the actual image in code has proved problematic.  I can't seem to cast the item to a mediaitem (it yields null), so I'm wondering if this scenario is typically handled in a different way or are there solutions I've just not been able to find?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2018-04-10T21:24:20.987" Title="Restricting selection to a specific folder for use as an image file" Tags="|media-library|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11279" PostTypeId="2" ParentId="11272" CreationDate="2018-04-10T21:05:31.637" Score="1" Body="&lt;p&gt;We actually submitted this bug to Sitecore for 8.2-Update-5 (where it was definitely not fixed), and were essentially told that this was by design since version 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The explanation given was that uploading of unversioned media on sites with many languages caused significant slowdowns, hence the behavior was modified to create the item only in the current language. Note that an &quot;unversioned&quot; item is still (correctly) created based on the &lt;code&gt;Media.UploadAsVersionableByDefault&lt;/code&gt; setting being &lt;code&gt;false&lt;/code&gt;, but only in one language.  I suspect that this is the bug that was fixed in 8.2-Update-5 (a versioned item was previously created).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look in the release notes for &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update3/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Update-3&lt;/a&gt;, you'll see the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The MediaCreator creates versions in every language of unversioned media items. (94414, 398089)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The main problem this new behavior poses is in the handling of the &lt;code&gt;Alt&lt;/code&gt; field, where you will have to manually create language versions as needed. But even with only one language version, the media file itself should still be accessible in all languages (unless you're using a funky media URL pattern). However, Sitecore will create the media items in whichever language is currently active, which, if you like to keep your tree clean and tidy, could be a source of irritation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get the previous behavior back, you would need to customize Sitecore. We added a handler to the &lt;code&gt;item:added&lt;/code&gt; event.&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2018-04-11T12:41:45.540" LastActivityDate="2018-04-11T12:41:45.540" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11280" PostTypeId="2" ParentId="11278" CreationDate="2018-04-10T21:24:20.987" Score="5" Body="&lt;p&gt;You can use either a droplink, droplist or even a droptree. However, you need to know how Sitecore stores the value of the selected image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Droplink&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For droplink, if you check the raw values, you will see that the data is a Sitecore ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;DropTree&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For droptree, if you check the raw values, you will see that the data is a Sitecore ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;DropList&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For droplist, if you check the raw values, you will see that the data is the name of the item selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I have tested on how you can retrieve the selected images and cast it as &lt;code&gt;MediaItem&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have use the Home item and updated the Sample Item template with the following 3 fields&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Image Droplist&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Image DropLink&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Image Droptree&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AYWqR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AYWqR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use the DropLink or DropTree, it is very simple as you just need to get the item by &lt;code&gt;ID&lt;/code&gt; and cast it as a &lt;code&gt;MediaItem&lt;/code&gt;. For Droplist, since the name of the item will be obtained, you will need to add the full path. Below is the code snippet on how to retrieve and cast the item as &lt;code&gt;MediaItem&lt;/code&gt; for the 3 fields.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var database = Factory.GetDatabase(&quot;master&quot;);&#xA;&#xA;var homeItem = database.GetItem(new ID(&quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;));&#xA;&#xA;// If not all fields are being shown, uncomment below code&#xA;// homeItem.Fields.ReadAll();&#xA;&#xA;var imageDroplist = homeItem.Fields[&quot;Image Droplist&quot;].Value;&#xA;&#xA;var imageDropLink = homeItem.Fields[&quot;Image DropLink&quot;].Value;&#xA;&#xA;var imageDropTree = homeItem.Fields[&quot;Image Droptree&quot;].Value;&#xA;&#xA;var imageDropListItem = (MediaItem)database.GetItem($&quot;/sitecore/media library/Default Website/{imageDroplist}&quot;);&#xA;&#xA;var imageDropLinkItem = (MediaItem)database.GetItem(new ID(imageDropLink));&#xA;&#xA;var imageDropTreeItem = (MediaItem)database.GetItem(new ID(imageDropTree));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On a side note, I would tend to use the DropTree as field type because it will allow me to see the thumbnail of the image.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-04-10T21:24:20.987" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11282" PostTypeId="1" AcceptedAnswerId="11319" CreationDate="2018-04-11T04:51:21.777" Score="13" ViewCount="5303" Body="&lt;p&gt;I'm trying to find the item that has a bad internal link that is causing this exception when rebuilding the link database:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Job started: RebuildLinkDatabasesIndex|System.FormatException: Unrecognized Guid format. Actual value:  ---&gt; System.FormatException: Unrecognized Guid format.&#xA;     at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)&#xA;     at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult&amp;amp; result)&#xA;     at System.Guid..ctor(String g)&#xA;     at Sitecore.Data.ID..ctor(String id)&#xA;     --- End of inner exception stack trace ---&#xA;     at Sitecore.Data.ID..ctor(String id)&#xA;     at Sitecore.Xml.Xsl.LinkUrl.GetInternalUrl(Database database, String url, String itemID, String anchor, String queryString)&#xA;     at Sitecore.Xml.Xsl.LinkUrl.GetUrl(XmlField field, Database database)&#xA;     at Sitecore.Data.Fields.LinkField.get_InternalPath()&#xA;     at Sitecore.Data.Fields.LinkField.ValidateLinks(LinksValidationResult result)&#xA;     at Sitecore.Links.ItemLinks.AddLinks(Field field, List`1 links, ItemLinkState linkState)&#xA;     at Sitecore.Links.ItemLinks.GetLinks(ItemLinkState linkState, Boolean allVersions, Boolean includeStandardValuesLinks)&#xA;     at Sitecore.Links.ItemLinks.GetAllLinks(Boolean allVersions)&#xA;     at Sitecore.Links.LinkDatabase.UpdateReferences(Item item)&#xA;     at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;     at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;     at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;     at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;     at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;     at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;     at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;     at Sitecore.Links.LinkDatabase.Rebuild(Database database)&#xA;     at Sitecore.Shell.Applications.Dialogs.RebuildLinkDatabase.RebuildLinkDatabaseForm.Builder.Build()|Job ended: RebuildLinkDatabasesIndex (units processed: )&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have also tried running RemoveBrokenLinks.aspx and it gives the same exception. I have also tried using the Clean up databases tool which doesn't fix the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please advise how I can find the item path or item ID?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2.6&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-03-19T07:52:23.067" Title="Rebuilding link database: System.FormatException: Unrecognized Guid format" Tags="|link-database|admin-pages|" AnswerCount="5" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11283" PostTypeId="2" ParentId="11282" CreationDate="2018-04-11T05:23:37.950" Score="9" Body="&lt;p&gt;In Sitecore 8.2.1 the GeneralLink field allows to contain links with empty &quot;id&quot; attribute like :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link text=&quot;Description&quot; linktype=&quot;internal&quot; class=&quot;&quot; title=&quot;HomeAlt&quot; target=&quot;&quot; querystring=&quot;&quot; id=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But in Sitecore 8.2.6 it does not allow you to have such links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on this the check for null or empty value is not needed because this situation is not expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this reason,it works in Sitecore 8.2.1 and fails in 8.2.6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please use Scan for Broken links and try to fix it manually this links. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3eBd0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3eBd0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-04-11T05:23:37.950" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11284" PostTypeId="2" ParentId="11276" CreationDate="2018-04-11T05:32:33.980" Score="4" Body="&lt;p&gt;In your setup I wouldn't serialize these items as they are OOTB:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;except name=&quot;Definitions&quot; includeChildren=&quot;false&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;except name=&quot;Definitions/Elements&quot; includeChildren=&quot;false&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;except name=&quot;Definitions/Tags&quot; includeChildren=&quot;false&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So instead of:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include name=&quot;Rules&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Rules&quot; &amp;gt;&#xA;    &amp;lt;exclude children=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions&quot; includeChildren=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions/Elements&quot; includeChildren=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions/Tags&quot; includeChildren=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions/Elements/Error Page&quot; includeChildren=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;except name=&quot;Definitions/Tags/Error Page&quot; includeChildren=&quot;true&quot; /&amp;gt;&#xA;     &amp;lt;/exclude&amp;gt;&#xA; &amp;lt;/include&amp;gt;&#xA; &amp;lt;include name=&quot;Custom Rules&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Rules/Definitions/Elements/Custom&quot; includeChildren=&quot;true&quot;&amp;gt;&#xA;     &amp;lt;exclude path=&quot;Customer account type&quot; /&amp;gt;&#xA; &amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;your setup should be just these 3 elements to be included:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include name=&quot;Elements Error Page&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Rules/Definitions/Elements/Error Page&quot; includeChildren=&quot;true&quot; /&amp;gt;&#xA;&#xA;&amp;lt;include name=&quot;Tags Error Page&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Rules/Definitions/Tags/Error Page&quot; includeChildren=&quot;true&quot; /&amp;gt;&#xA;&#xA;&amp;lt;include name=&quot;Custom Rules&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Rules/Definitions/Elements/Custom&quot; includeChildren=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;exclude path=&quot;Customer account type&quot; /&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Don't you have &lt;code&gt;Customer account type&lt;/code&gt; specified in another config file by any chance? Could be that this is causing the trouble with overlapping trees as its excluded in your custom rule definition a could be it's specified somewhere else.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-04-11T09:23:44.127" LastActivityDate="2018-04-11T09:23:44.127" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11285" PostTypeId="1" AcceptedAnswerId="11291" CreationDate="2018-04-11T07:23:48.267" Score="1" ViewCount="247" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9.0&lt;/code&gt; with &lt;code&gt;SXA 1.6&lt;/code&gt; and &lt;code&gt;Solr&lt;/code&gt; search provider. Is there a way to display results grouped in SXA Search results components?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="1671" LastEditDate="2018-04-11T15:19:44.930" LastActivityDate="2018-04-11T15:19:44.930" Title="SXA Search Results Grouping" Tags="|sxa|solr|content-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11286" PostTypeId="1" CreationDate="2018-04-11T07:26:49.860" Score="0" ViewCount="378" Body="&lt;p&gt;I have &lt;code&gt;Sitecore 8.2 update 5&lt;/code&gt; and am trying to install &lt;code&gt;Email Experience Manager 3.5 rev. 170810 (Initial Release)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the downloaded &amp;amp; extracted zip, I have uploaded - &lt;code&gt;Email Experience Manager 3.5.0 rev. 170810.zip&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The installation ran for hours and I had to close it. There were also no errors logged.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in the launch pad, I see the EXM icon and when clicked on it, it throws the error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    The partial view '/sitecore/shell/client/Applications/ECM/EmailCampaign.Controls/AccountInformationExt/AccountInformationExt.cshtml' &#xA;    was not found or no view engine supports the searched locations. &#xA;    The following locations were searched:&#xA;    /sitecore/shell/client/Applications/ECM/EmailCampaign.Controls/AccountInformationExt/AccountInformationExt.cshtml &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I extracted the package to find the file, but it wasn't there. To my surprise, it wasn't there in any folder of package.zip.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/glvze.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/glvze.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or is there any other way to install EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;StackTrace:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[InvalidOperationException: The partial view&#xA;  '/sitecore/shell/client/Applications/ECM/EmailCampaign.Controls/AccountInformationExt/AccountInformationExt.cshtml'&#xA;  was not found or no view engine supports the searched locations. The&#xA;  following locations were searched:&#xA;  /sitecore/shell/client/Applications/ECM/EmailCampaign.Controls/AccountInformationExt/AccountInformationExt.cshtml]&#xA;  System.Web.Mvc.HtmlHelper.FindPartialView(ViewContext viewContext,&#xA;  String partialViewName, ViewEngineCollection viewEngineCollection)&#xA;  +416    System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter&#xA;  writer, ViewEngineCollection viewEngineCollection) +225&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +136    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +315&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Applications/ECM/EmailCampaign.Controls/AccountInformationExt/AccountInformationExt.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +787 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +147&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +73    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String&#xA;  placeholderName, TextWriter writer, RenderPlaceholderArgs args) +183&lt;br&gt;&#xA;  (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&lt;br&gt;&#xA;  Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String&#xA;  placeholderName) +258&lt;br&gt;&#xA;  ASP._sitecore_shell_client_Business_Component_Library_Layouts_Renderings_Structures_Substructures_GlobalHeader_cshtml.Execute()&#xA;  +622    System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252    System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +136    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +315&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Business Component&#xA;  Library/Layouts/Renderings/Structures/Substructures/GlobalHeader.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +787 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +147&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +73    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String&#xA;  placeholderName, TextWriter writer, RenderPlaceholderArgs args) +183&lt;br&gt;&#xA;  (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&lt;br&gt;&#xA;  Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String&#xA;  placeholderName) +258&lt;br&gt;&#xA;  ASP._sitecore_shell_client_Business_Component_Library_Layouts_Renderings_Structures_Page_Structures_Application_Dashboard_cshtml.Execute()&#xA;  +273    System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252    System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +136    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +315&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Business Component&#xA;  Library/Layouts/Renderings/Structures/Page&#xA;  Structures/Application/Dashboard.cshtml' (model:&#xA;  'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +787 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +147&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +73    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String&#xA;  placeholderName, TextWriter writer, RenderPlaceholderArgs args) +183&lt;br&gt;&#xA;  (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&lt;br&gt;&#xA;  Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String&#xA;  placeholderName) +258&lt;br&gt;&#xA;  ASP._sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute()&#xA;  +2015    System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252    System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&lt;br&gt;&#xA;  System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext&#xA;  pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&lt;br&gt;&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData)&#xA;  +136    Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +315&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Error while rendering view:&#xA;  '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc'). ]&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +787 &#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +147&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +73    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext&#xA;  viewContext, TextWriter writer) +331&lt;br&gt;&#xA;  System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;  +375    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +88&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;/code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +776&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +776&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext&#xA;  controllerContext, IList&lt;/code&gt;1 filters, ActionResult actionResult) +81&lt;br&gt;&#xA;  System.Web.Mvc.Async.&amp;lt;&gt;c__DisplayClass21.b__1e(IAsyncResult&#xA;  asyncResult) +36&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1671" LastEditDate="2018-04-11T15:18:20.070" LastActivityDate="2018-04-11T15:24:11.750" Title="Email Experience Manager Module Installation Issue" Tags="|exm|installation|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11287" PostTypeId="1" AcceptedAnswerId="11290" CreationDate="2018-04-11T08:27:35.730" Score="1" ViewCount="1126" Body="&lt;p&gt;I'm creating a search where users can filter/facet based on terms that may contain a space (e.g Temporary work) on Sitecore 8.1 with Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My first thought was to store the fields as untokenized; when I do this the field is stored in the index as expected (with uppercase letters e.g. Temporary work), but when sitecore creates the lucene query from the Linq provider it lowers the search term which means I never get a match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get around this casing issue I figured the field should be analyzed, but with an analyzer that doesn't tokenize based on whitespace. I read that &quot;KeywordAnalyzer - 'Tokenizes' the entire stream as a single token. This is useful for data like zip codes, ids, and some product names&quot; so I created this in my index configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;Job Type&quot; type=&quot;System.String&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; boost=&quot;1f&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;   &amp;lt;analyzer type=&quot;Lucene.Net.Analysis.KeywordAnalyzer, Lucene.Net&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I expected to see the term 'Temporary work' in the index but when I look in Luke I get the below where temporary and work have been split:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kIcIL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kIcIL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I misunderstanding here.&lt;/p&gt;&#xA;" OwnerUserId="350" LastActivityDate="2018-04-11T10:34:55.267" Title="KeywordAnalyzer still splits based on whitespace" Tags="|content-search|search-facet|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11289" PostTypeId="2" ParentId="11286" CreationDate="2018-04-11T08:59:54.213" Score="3" Body="&lt;p&gt;The .cshtml files are now embedded in the &lt;code&gt;Sitecore.EmailCampaign.Cm.Ui&lt;/code&gt; assembly using Razor Generator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look deeper into the stacktrace, you might find Glass Mapper. If so, this is a known issue and you'll need to look into upgrading Glass.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Slightly related: &lt;a href=&quot;http://www.glass.lu/Mapper/Sc/Documentation/CompileRazorViewSupport&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/Mapper/Sc/Documentation/CompileRazorViewSupport&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="85" LastActivityDate="2018-04-11T08:59:54.213" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11290" PostTypeId="2" ParentId="11287" CreationDate="2018-04-11T10:34:55.267" Score="0" Body="&lt;p&gt;First of all: change your analyzer to &lt;code&gt;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer&lt;/code&gt;. You can find a lot of information an Sitecore analyzers in this &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/understanding-analyzers-and-sitecore-7&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog from Adam Conn&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The LowerCaseKeywordAnalyzer has the &lt;code&gt;KeywordTokenizer&lt;/code&gt; and &lt;code&gt;LowerCaseFilter&lt;/code&gt;. The KeywordTokenizer emits the entire input as a single token and the LowerCaseFilter normalizes token text to lower case. This should fix the querying.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But.. you do have a second issue as well. The name of your field has a space in it. As you can read on this &lt;a href=&quot;https://kb.sitecore.net/articles/036144&quot; rel=&quot;nofollow noreferrer&quot;&gt;kb article&lt;/a&gt; the Lucene search provider has issues with Sitecore fields that have spaces in the names.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The following issues may occur when using the Lucene search provider&#xA;  and dealing with Sitecore fields that have whitespaces in their names:&lt;/p&gt;&#xA;  &#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;The value of the field may not be stored in the index even though&#xA;  the storage type of the field is set to YES in the index&#xA;  configuration.&lt;/li&gt;&#xA;  &lt;li&gt;The analyzer associated with the field may be ignored both during&#xA;  indexing and searching. The default analyzer is used instead.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So, rename your field or replace whitespaces with the underscores in the field name:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;job_type&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;  &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do not forget to reindex after making changes to the index configuration.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-04-11T10:34:55.267" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11291" PostTypeId="2" ParentId="11285" CreationDate="2018-04-11T11:37:19.257" Score="1" Body="&lt;p&gt;No, SXA is not supporting this feature out of the box. To be able to use that feature you would need to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;enable this feature on your Solr server&lt;/li&gt;&#xA;&lt;li&gt;modify SXA SearchService to perform a custom query and then group results as shown in the document from the link you paste - I strongly recommend not to do that&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you still want to use this grouping feature then the best option for you would be to write a custom rendering.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-04-11T11:37:19.257" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11293" PostTypeId="2" ParentId="11169" CreationDate="2018-04-11T14:30:38.847" Score="3" Body="&lt;p&gt;Deploying Sitecore to ASE is possible, but it really takes too much time to explain in this post, as it requires thorough knowledge of infra, vnets and other stuff within Azure, which is not specific ti Sitecore. Basically; get ASE to work and THEN take a few steps to deploy Sitecore to it. I know of a few companies who successfully implemented ASE in conjunction with Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2018-04-11T14:30:38.847" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11294" PostTypeId="2" ParentId="11286" CreationDate="2018-04-11T15:24:11.750" Score="2" Body="&lt;p&gt;I suspect you're missing DLL's to be quite honest.  The fact it took that long to install the package makes me think Sitecore coughed up a hairball when installing the DLL's, worker pool recycled, and the installed crapped out leaving out important DLL's.  That's my working theory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your bin folder and make sure you have the following DLL's present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BXvmh.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BXvmh.jpg&quot; alt=&quot;EXM DLL&amp;#39;s&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-04-11T15:24:11.750" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11295" PostTypeId="1" CreationDate="2018-04-11T15:28:00.493" Score="1" ViewCount="835" Body="&lt;p&gt;We have a requirement to customize the look of the confirmation emails sent by EXM when a user subscribes to a contact list, specifically we need a custom header and footer. I have tried to replace the Layout used on the &quot;Subscription Confirmation&quot; item (of template HTML Message) under the manager root, but the confirmation email happily disregards this change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking through the source with dotPeek I discovered that when the confirmation message is fetched, it does so with the method GetStandardMessage, which eventually calls the GetMessageBody method in the Sitecore.Modules.EmailCampaign.Messages.HtmlMail class. This method builds the wrapper of the entire HTML email in one hard-coded line (including a 4px margin on the body element), and injects the value of the &quot;Body&quot; RTE field into the email. For obvious reasons I don't want to include my custom header and footer in the rich text field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The documentation has a section on building a custom message template, but does not mention how to override the layout of the built-in notification emails. Since the whole feature of &quot;double opt-in&quot; process seems brand new, I have difficulties finding examples of how to perform the customization I'm looking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Clarification: This is with the built-in version of EXM that comes with Sitecore 9.0.1&lt;/p&gt;&#xA;" OwnerUserId="3527" LastEditorUserId="3527" LastEditDate="2018-04-11T15:51:03.360" LastActivityDate="2018-05-04T12:08:33.520" Title="Customizing the EXM subscription confirmation template" Tags="|exm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11296" PostTypeId="1" CreationDate="2018-04-11T15:28:03.130" Score="2" ViewCount="1298" Body="&lt;p&gt;I need to store a set of information (for example, poll results, article comments, etc,).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to use the Sitecore pattern to manage information (templates, items and content tree) in order to not deploy custom logic for custom SQL database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, I don't want to use the master (CM) database since items are not available in the web (CD) database (unless I publish them).&#xA;On the other site I cannot create items in web (CD) database since they are lost on publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to add a customer database to the content tree structure avoiding the publication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance, &#xA;Tex&lt;/p&gt;&#xA;" OwnerUserId="3526" LastEditorUserId="73" LastEditDate="2018-04-11T15:37:47.877" LastActivityDate="2018-04-11T15:37:47.877" Title="Sitecore Custom Databases for user generated content" Tags="|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11297" PostTypeId="2" ParentId="11296" CreationDate="2018-04-11T15:36:58.897" Score="6" Body="&lt;h2&gt;Yes&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can add as many databases as you like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an admittedly very old tutorial that takes you through the steps. Having just skimmed through it, I would say it's probably still perfectly valid - as Sitecore's Data Provider model hasn't changed significantly in a decade.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://intothecore.cassidy.dk/2009/05/working-with-multiple-content-databases.html&quot; rel=&quot;noreferrer&quot;&gt;Working with multiple content databases in Sitecore 6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But if you want to go on your own, the steps to add an additional database to your solution is roughly this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Clone one of your existing SQL databases. E.g. &quot;master&quot; or &quot;web&quot;.&lt;/li&gt;&#xA;&lt;li&gt;Add a new &lt;code&gt;&amp;lt;database&amp;gt;&lt;/code&gt; section to your configs. Patch it in. Give it a unique id, i.e. change &quot;master&quot; to &quot;ugc&quot; or something similar.&lt;/li&gt;&#xA;&lt;li&gt;Add a matching connection string for your cloned database in ConnectionStrings.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And that's more or less it. As long as you can access this database, you can access the content in it - no publishing required or even wanted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really wanted this information to come into your &quot;master&quot; content tree, you could set up a proxy for it. I'm not sure I would recommend you do however.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-04-11T15:36:58.897" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11298" PostTypeId="1" AcceptedAnswerId="11300" CreationDate="2018-04-11T15:54:28.250" Score="3" ViewCount="1975" Body="&lt;p&gt;I am trying to utilize the built-in Device Detection that is provided out-of-the-box with Sitecore 9.0.1.  Reading all of the documentation on this, it appears that this is enabled automatically without any configuration needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I am running into issues on a basically vanilla implementation of Sitecore.  Here is my setup:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 9.0.1 on Azure PaaS in xP1 topology. I have a Web Service for each Sitecore role (CM, CD, Processing, and Reporting) as well as all of the xConnect stuff. I have a simple Sitecore site with zero customizations other than light configurations (SiteDefinition.config, SMTP config).  Otherwise, completely vanilla.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No Device Detection or GeoIP is being logged into Sitecore analytics, even though I have a bunch of visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An examination of my logs highlight the following error message from the CM Server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Application: 2018-04-11T15:41:22  PID[6932] Warning     ManagedPoolThread #6 15:41:22 WARN  Authentication on CES Discovery service failed.&#xA;Application: Exception: System.Net.WebException&#xA;Application: Message: The remote server returned an error: (403) Forbidden.&#xA;Application: Source: System&#xA;Application:    at System.Net.HttpWebRequest.GetResponse()&#xA;Application:    at Sitecore.CES.Client.WebClient.&amp;lt;&amp;gt;c__DisplayClass6_0.&amp;lt;ExecuteRequest&amp;gt;b__0()&#xA;Application:    at Sitecore.CES.Client.WebClient.Execute[T](Func`1 action, String requestUri)&#xA;Application:    at Sitecore.CES.Client.ResourceConnector`1.Request(String endpoint, Object[] parameters)&#xA;Application:    at Sitecore.CES.Discovery.EndpointSource.GetEndpoint(String serviceName)&#xA;Application: &#xA;Application: &#xA;Application: 2018-04-11T15:41:22  PID[6932] Error       ManagedPoolThread #6 15:41:22 ERROR Could not update device detection database&#xA;Application: Exception: System.ArgumentNullException&#xA;Application: Message: Null ids are not allowed.&#xA;Application: Parameter name: endpointUri&#xA;Application: Source: Sitecore.Kernel&#xA;Application:    at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)&#xA;Application:    at Sitecore.CES.Client.WebClient.DownloadBinaryContent(String endpointUri, String resourcePath, DownladBinaryContentParameters parameters)&#xA;Application:    at Sitecore.CES.DeviceDetection.Providers.FiftyOneDegrees.FiftyOneDeviceDetectionClient.GetNewerVersion()&#xA;Application:    at Sitecore.CES.DeviceDetection.Providers.FiftyOneDegrees.FiftyOneDeviceDetectionClient.DoUpdate(String serviceName, String&amp;amp; newDatabasePath, String&amp;amp; newDatabaseVersion)&#xA;Application:    at Sitecore.CES.DeviceDetection.Providers.DeviceDetectionClient.Update()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone have any pointers?&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-04-11T17:44:24.380" Title="Device Detection Not Working on Vanilla Sitecore 9.0.1" Tags="|device-detection|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11300" PostTypeId="2" ParentId="11298" CreationDate="2018-04-11T17:44:24.380" Score="9" Body="&lt;p&gt;This is a known bug: &lt;a href=&quot;https://kb.sitecore.net/articles/828414&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/828414&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Install a hotfix corresponding to your Sitecore Experience Platform version:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For Sitecore XP 9.0 rev. 171002 (Initial Release)&lt;/strong&gt;: &lt;a href=&quot;https://dl.sitecore.net/hotfix/SC%20Hotfix%20204620-1%20Sitecore%20CES%202.1.0.zip&quot; rel=&quot;noreferrer&quot;&gt;https://dl.sitecore.net/hotfix/SC Hotfix 204620-1 Sitecore CES 2.1.0.zip&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For Sitecore XP 9.0 rev. 171219 (Update-1)&lt;/strong&gt;: &lt;a href=&quot;https://dl.sitecore.net/hotfix/SC%20Hotfix%20205547-1%20Sitecore%20CES%202.1.1.zip&quot; rel=&quot;noreferrer&quot;&gt;https://dl.sitecore.net/hotfix/SC Hotfix 205547-1 Sitecore CES 2.1.1.zip&lt;/a&gt;&#xA;See the readme.txt file inside the archive for installation instructions.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-04-11T17:44:24.380" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11301" PostTypeId="2" ParentId="9397" CreationDate="2018-04-11T22:59:47.550" Score="1" Body="&lt;p&gt;I'm hoping you already solved this, but I think I see the problem:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;physicalRootPath=&quot;$(sourceFolder)\foundation\Serialization\Serialization&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is your configuration for the &lt;code&gt;physicalRootPath&lt;/code&gt; - note that your variable is called &lt;code&gt;sourceFolder&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is your definition for your variable:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;sourceFolderPublic&quot; value=&quot;$(dataFolder)\Serialization&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that you have called that &lt;code&gt;sourceFolderPublic&lt;/code&gt; - make these 2 variables match and it should work ok.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-04-11T22:59:47.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11302" PostTypeId="1" CreationDate="2018-04-12T01:36:35.040" Score="1" ViewCount="52" Body="&lt;p&gt;We are pushing the customer details into &lt;code&gt;xDB&lt;/code&gt; when they login. The problem is we may have times where more than 5k customers could be accessing the site at the same time, So I don't want updating &lt;code&gt;xDB&lt;/code&gt; causing performance hits and we tried to update &lt;code&gt;xDB&lt;/code&gt; asynchronously and &lt;code&gt;Tracker&lt;/code&gt; is always &lt;code&gt;NULL&lt;/code&gt; if we do it asynchronously. I'm loosing content if I'm on async mode. My Implementation looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void CreateUpdatexDBProfile(CustomerDataWrapper customerData, int lastPurchaseAmount)&#xA;{&#xA;   Customer customer;&#xA;   if (customerData.Customer != null)&#xA;   {&#xA;       customer = customerData.Customer;&#xA;&#xA;       //Save profile information into xDB &#xA;       _trackerRepositoryClient.Identify(customer.CustomerId);&#xA;&#xA;       ICustomerMaketingData customerMData = new CustomerMaketingData()&#xA;       {&#xA;           EmailId = customer.Email,&#xA;           FirstName = customer.FirstName,&#xA;           LastName = customer.LastName,&#xA;           CustomerId = customer.CustomerId,&#xA;           LastPurchaseAmount = lastPurchaseAmount&#xA;        };&#xA;&#xA;&#xA;        if (customer.DateOfBirth != null &amp;amp;&amp;amp; customer.DateOfBirth.HasValue)&#xA;        {&#xA;            customerMData.Age = (DateTime.Today.Year - customer.DateOfBirth.Value.Year);&#xA;        }&#xA;&#xA;        customerMData.CustomerType = customerData.customerType;                    &#xA;&#xA;        //add customer profile data into xdb&#xA;         _trackerRepositoryClient.AddCustomerMarketingData(customerMData);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void AddCustomerMarketingData(ICustomerMaketingData customerMData)&#xA;{&#xA;    try&#xA;    {&#xA;        AddCustomerMarketingData(customerMData);&#xA;&#xA;        IContactEmailAddresses emailFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(MarketingCustom.Facets.Constants.EmailFacetName);&#xA;        if (!emailFacet.Entries.Contains(MarketingCustom.Facets.Constants.PersonalEmailFacetName))&#xA;        {&#xA;            IEmailAddress email = emailFacet.Entries.Create(MarketingCustom.Facets.Constants.PersonalEmailFacetName);&#xA;            email.SmtpAddress = customerMData.EmailId;&#xA;            emailFacet.Preferred = MarketingCustom.Facets.Constants.PersonalEmailFacetName;&#xA;        }&#xA;&#xA;        IContactPersonalInfo personalInfo = Tracker.Current.Contact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(MarketingCustom.Facets.Constants.PersonalFacetName);&#xA;        personalInfo.FirstName = customerMData.FirstName;&#xA;        personalInfo.Surname = customerMData.LastName;&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        _logger.Error(ex.Message, ex);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void AddCustomerMarketingData(ICustomerMaketingData customerMarketingData)&#xA;{&#xA;    if(customerMarketingData != null)&#xA;    {&#xA;        if (!string.IsNullOrEmpty(customerMarketingData.CustomerId))&#xA;        {&#xA;            if (Tracker.Current == null)&#xA;            {&#xA;                Tracker.StartTracking();&#xA;            }&#xA;&#xA;          Tracker.Current.Session.Identify(customerMarketingData.CustomerId);&#xA;&#xA;            ICustomerMaketingData customerMData = Tracker.Current.Contact.GetFacet&amp;lt;ICustomerMaketingData&amp;gt;(MF.Constants.CustomFacetName);&#xA;&#xA;            if (!string.IsNullOrEmpty(customerMarketingData.EmailId))&#xA;                customerMData.EmailId = customerMarketingData.EmailId;&#xA;&#xA;            if (!string.IsNullOrEmpty(customerMarketingData.FirstName))&#xA;                customerMData.FirstName = customerMarketingData.FirstName;&#xA;&#xA;            if (!string.IsNullOrEmpty(customerMarketingData.LastName))&#xA;                customerMData.LastName = customerMarketingData.LastName;&#xA;&#xA;            if (!string.IsNullOrEmpty(customerMarketingData.CustomerId))&#xA;                customerMData.CustomerId = customerMarketingData.CustomerId;&#xA;&#xA;            if (customerMarketingData.CustomerType != CustomerType.NoValue)&#xA;                customerMData.CustomerType = customerMarketingData.CustomerType;                    &#xA;&#xA;            customerMData.LastOrderAmount = customerMarketingData.LastPurchaseAmount;&#xA;&#xA;            if (customerMarketingData.Age &amp;gt; 0)&#xA;                customerMData.Age = customerMarketingData.Age;&#xA;&#xA;        }&#xA;    }    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I update this asynchronously to &lt;code&gt;xDB&lt;/code&gt;? Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3530" LastEditorUserId="35" LastEditDate="2018-04-12T08:59:04.533" LastActivityDate="2018-04-12T09:04:23.617" Title="Updating xDB on async mode on Sitecore 8.2 update 4" Tags="|xdb|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11303" PostTypeId="1" CreationDate="2018-04-12T02:44:50.767" Score="1" ViewCount="304" Body="&lt;p&gt;I am working on a Sitecore 9 solution which is hosted on Azure PaaS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a simple piece of code that is meant to store an object in session which works fine on my local machine but once deployed to the Azure WebApp I get below exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: mscorlib&#xA;  at System.Object.GetType()&#xA;  at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.Eval(String script, String[] keyArgs, Object[] valueArgs)&#xA;  at Sitecore.SessionProvider.Redis.RedisConnectionWrapper.TryUpdateAndReleaseLockIfLockIdMatch(String sessionId, Object lockId, ISessionStateItemCollection data, Int32 sessionTimeout)&#xA;  at Sitecore.SessionProvider.Redis.RedisSessionStateProvider.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem)&#xA;  at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)&#xA;  at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7CnDl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7CnDl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has someone faced a similar issue in past and has an idea what needs to be done to fix it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards,&#xA;Pratik Thakker &lt;/p&gt;&#xA;" OwnerUserId="1752" LastEditorUserId="70" LastEditDate="2018-04-12T07:44:27.210" LastActivityDate="2018-04-12T07:44:27.210" Title="Redis session provider not working on Azure PaaS webapp" Tags="|azure|session-state|redis|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11304" PostTypeId="1" CreationDate="2018-04-12T07:58:07.500" Score="1" ViewCount="387" Body="&lt;p&gt;I need some help on creating Content level testing in my pages through Experience Editor. I get a &quot;Forbidden&quot; message when trying to create a test on a page on my website page through Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue that I am facing is :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For english language : &#xA;I created a page in English - created a test in the IntroBanner, with 2 variants. after saving that, when i get the option for selecting the variant in the floating toolbar, in the second variant I am not getting any content. Also I get the warning in the top : &quot;The item has a test in draft&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For danish language :&#xA;I created a page in English - created a test in the IntroBanner, with 2 variants. after saving that, i am not getting option for selecting the variant through the floating toolbar. Also i get a warning in the top : &quot;The item has a test in draft&quot; and &quot;New components has been added to this page. Do you want to create a test?Create a test&quot;. When i click on Create a test, I am getting a popup which gives me &quot;Forbidden&quot; and also not able to create any variation through that window. (screenshots are for Danish version where i am getting error)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wNHjJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wNHjJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RgOQG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RgOQG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also i am not able to publish this test, and this test is not available in my web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me on the same&lt;/p&gt;&#xA;" OwnerUserId="950" LastActivityDate="2018-04-12T07:58:07.500" Title="&quot;Forbidden&quot; error when attempting to create test through Experience Editor" Tags="|experience-editor|content-testing|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="11305" PostTypeId="2" ParentId="11302" CreationDate="2018-04-12T08:43:21.230" Score="1" Body="&lt;p&gt;I presume with async you mean you are pushing data from your frontend through a web api.&#xA;Web api is by default not Sitecore context aware nor session aware. So you have to make sure you make them session aware and start the tracker manually (this is possible as webapi HTTP call should contain Sitecore cookies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check blogs like this to help you with snippets:&#xA;&lt;a href=&quot;http://jockstothecore.com/xdb-tracking-the-untrackable-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;xdb tracking the untrackable part 1&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To start tracker manually:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!Tracker.IsActive)&#xA;{&#xA;    Tracker.StartTracking();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Use &lt;code&gt;IRequiresSessionState&lt;/code&gt; on your web api controller handler (make it inherit from it)&lt;/p&gt;&#xA;" OwnerUserId="2540" LastEditorUserId="35" LastEditDate="2018-04-12T09:04:23.617" LastActivityDate="2018-04-12T09:04:23.617" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11306" PostTypeId="1" AcceptedAnswerId="11315" CreationDate="2018-04-12T09:42:38.533" Score="0" ViewCount="680" Body="&lt;p&gt;I was trying to install sitecore commerce 9 update 1 through &lt;strong&gt;&quot;Deploy-Sitecore-Commerce.ps1&quot;&lt;/strong&gt; But unfortunately i am ended up with the below error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[-------------------------------- DeployCommerceContentOps : DeployCommerceContent -----------------------------------&#xA;Install-SitecoreConfiguration : A parameter cannot be found that matches parameter name 'CommerceServicesDbServer'.&#xA;This error might have been caused by applying the default parameter binding. You can disable the default parameter&#xA;binding in $PSDefaultParameterValues by setting $PSDefaultParameterValues[&quot;Disabled&quot;] to be $true, and then trying&#xA;again. The following default parameters were successfully bound for this cmdlet when the error occurred: -Verbose&#xA;-WarningAction -InformationAction -ErrorAction -Debug&#xA;At C:\program&#xA;files\windowspowershell\modules\SitecoreInstallFramework\1.2.2\Public\Install-SitecoreConfiguration.ps1:254 char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea would be highly appreciate. My ps1 file is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pre&amp;gt;&#xA;  #Requires -Version 3&#xA;&#xA;param(&#xA;    [string]$SiteName = &quot;sxafront&quot;, &#xA;    [string]$SiteHostHeaderName = &quot;sxafront.storefront.com&quot;,    &#xA;    [string]$SqlDbPrefix = &quot;sxafront&quot;,&#xA;    [string]$CommerceSearchProvider = &quot;SOLR&quot;&#xA;)&#xA;&#xA;$global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path&#xA;$modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;Modules&quot; )&#xA;if ($env:PSModulePath -notlike &quot;*$modulesPath*&quot;)&#xA;{&#xA;    $p = $env:PSModulePath + &quot;;&quot; + $modulesPath&#xA;    [Environment]::SetEnvironmentVariable(&quot;PSModulePath&quot;,$p)&#xA;}&#xA;&#xA;&#xA;$params = @{&#xA;        Path = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json' &#xA;        SiteName = &quot;$($SiteName).sc&quot;&#xA;        SiteHostHeaderName = $SiteHostHeaderName &#xA;        InstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$($SiteName).sc&quot;&#xA;        XConnectInstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$($SiteName).xconnect&quot;&#xA;        CertificateName = &quot;$($SiteName).sc&quot;&#xA;        CommerceServicesDbServer = &quot;LT-MDA2-T-MY\MSSQLSERVER2&quot;&#xA;        CommerceServicesDbName = &quot;SitecoreCommerce9_SharedEnvironments&quot;&#xA;        CommerceServicesGlobalDbName = &quot;SitecoreCommerce9_Global&quot;       &#xA;        SitecoreDbServer =&quot;LT-MDA2-T-MY\MSSQLSERVER2&quot;&#xA;        SitecoreCoreDbName = &quot;$($SqlDbPrefix)_Core&quot;&#xA;        SitecoreUsername = &quot;sitecore\admin&quot;&#xA;        SitecoreUserPassword = &quot;b&quot;&#xA;        CommerceSearchProvider = $CommerceSearchProvider&#xA;        SolrUrl = &quot;https://lt-mda2-t-my.dk.sitecore.net:8991/solr&quot;&#xA;        SolrRoot = &quot;c:\\solr-6.6.2&quot;&#xA;        SolrService = &quot;Solr-6.6.2&quot;&#xA;        SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SolrSchemas&quot; )&#xA;        SearchIndexPrefix = &quot;commercedemo&quot;&#xA;        AzureSearchServiceName = &quot;&quot;&#xA;        AzureSearchAdminKey = &quot;&quot;&#xA;        AzureSearchQueryKey = &quot;&quot;&#xA;        CommerceEngineDacPac = Resolve-Path -Path &quot;..\assets\Sitecore.Commerce.Engine.DB.dacpac&quot;       &#xA;        CommerceOpsServicesPort = &quot;5015&quot;&#xA;        CommerceShopsServicesPort = &quot;5005&quot;&#xA;        CommerceAuthoringServicesPort = &quot;5000&quot;&#xA;        CommerceMinionsServicesPort = &quot;5010&quot;        &#xA;        SitecoreCommerceEngineZipPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.2.1.55.zip&quot;     &#xA;        SitecoreBizFxServicesContentPath = Resolve-Path -Path &quot;..\Sitecore.BizFX.1.1.9&quot;     &#xA;        SitecoreIdentityServerZipPath = Resolve-Path -Path &quot;..\Sitecore.IdentityServer.1.1.3.zip&quot;&#xA;        CommerceEngineCertificatePath = Resolve-Path -Path &quot;..\assets\EngineConnect.crt&quot;        &#xA;        SiteUtilitiesSrc = Resolve-Path -Path &quot;..\SIF.Sitecore.Commerce.1.0.1748\SiteUtilityPages&quot;  &#xA;        HabitatImagesModuleFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Habitat.Images-1.0.0.zip&quot;    &#xA;        AdvImagesModuleFullPath = Resolve-Path -Path &quot;..\Adventure Works Images.zip&quot;    &#xA;        CommerceConnectModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Connect Core 11.1.78.zip&quot;  &#xA;        CEConnectPackageFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.Connect.2.1.54.update&quot;&#xA;        PowerShellExtensionsModuleFullPath = Resolve-Path -Path &quot;..\assets\Sitecore PowerShell Extensions-4.7.2 for Sitecore 8.zip&quot;&#xA;        SXAModuleFullPath = Resolve-Path -Path &quot;..\assets\Sitecore Experience Accelerator 1.6 rev. 180103 for 9.0.zip&quot;&#xA;        SXACommerceModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator 1.1.47.zip&quot;&#xA;        SXAStorefrontModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront 1.1.47.zip&quot;&#xA;        SXAStorefrontThemeModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront Themes 1.1.47.zip&quot;&#xA;        SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Habitat Catalog 1.1.47.zip&quot;&#xA;        MergeToolFullPath = Resolve-Path -Path &quot;..\assets\Microsoft.Web.XmlTransform.dll&quot;&#xA;        UserAccount = @{&#xA;            Domain = $Env:COMPUTERNAME&#xA;            UserName = 'CSFndRuntimeUser'&#xA;            Password = 'Tbinfo28121981'&#xA;        }&#xA;        BraintreeAccount = @{&#xA;            MerchantId = 'ps4jmc83q4j5fzcp'&#xA;            PublicKey = 'xf5nx6yswqk2jyvk'&#xA;            PrivateKey = '5603f9ebe5fbad9be7f0d1ff6a650884'&#xA;        }&#xA;        SitecoreIdentityServerName = &quot;SitecoreIdentityServer&quot;       &#xA;    }&#xA;&#xA;if ($CommerceSearchProvider -eq &quot;SOLR&quot;) {&#xA;    Install-SitecoreConfiguration @params&#xA;}&#xA;elseif ($CommerceSearchProvider -eq &quot;AZURE&quot;){&#xA;    Install-SitecoreConfiguration @params -Skip InstallSolrCores&#xA;}&#xA;&#xA;&amp;lt;/pre&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3535" LastEditorUserId="35" LastEditDate="2018-04-12T10:49:13.200" LastActivityDate="2018-04-12T17:03:21.180" Title="Sitecore Commerce 9 Update 1 installation problem" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11308" PostTypeId="1" AcceptedAnswerId="12292" CreationDate="2018-04-12T11:49:15.660" Score="6" ViewCount="812" Body="&lt;p&gt;Here is my code for searching contact by preferred mail.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (XConnectClient client = SitecoreXConnectClientConfiguration.GetClient())&#xA;{&#xA;    try&#xA;    {&#xA;        var queryable = client.Contacts&#xA;            .Where(c =&amp;gt; c.GetFacet&amp;lt;EmailAddressList&amp;gt;(EmailAddressList.DefaultFacetKey).PreferredEmail&#xA;            .SmtpAddress != string.Empty).OrderByDescending(c =&amp;gt; c.LastModified).WithExpandOptions(new ContactExpandOptions(EmailAddressList.DefaultFacetKey));&#xA;&#xA;        var enumerator = queryable.GetBatchEnumeratorSync(20);&#xA;&#xA;        while (enumerator.MoveNext())&#xA;        {&#xA;            if (enumerator.Current != null)&#xA;            {&#xA;                foreach (var contact in enumerator.Current)&#xA;                {&#xA;                    if (contact.Emails() != null)&#xA;                    {&#xA;                        var email=contact.Emails().PreferredEmail.SmtpAddress;&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;    catch (XdbExecutionException ex)&#xA;    {&#xA;        AnalyticsHelpers.SitecoreLogException(ex);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I use here &lt;code&gt;SmtpAddress == &quot;sss@sss.com&quot;&lt;/code&gt; I dont get any contact. Though those contacts are showing in experience profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I use &lt;code&gt;SmtpAddress != string.Empty&lt;/code&gt; I am getting lots of contacts and one of contact's email address is &lt;code&gt;sss@sss.com&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to get only those contacts which preferred email address is &lt;code&gt;sss@sss.com&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also after checking some code, I have found that if I find that even if I use &lt;code&gt;SmtpAddress == &quot;sss@sss.com&quot;&lt;/code&gt; the query still take this contact.&lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="312" LastEditDate="2018-04-13T19:05:38.617" LastActivityDate="2018-06-12T20:31:58.830" Title="xConnect contact search by preferred email" Tags="|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11309" PostTypeId="1" AcceptedAnswerId="11310" CreationDate="2018-04-12T14:01:51.307" Score="5" ViewCount="1019" Body="&lt;p&gt;We are using Sitecore 9.0 and are currently investigating SXA multisites posibilities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our dream scenario would be like this :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;One tenant&lt;/li&gt;&#xA;&lt;li&gt;severals sites, siteA, siteB etc.&lt;/li&gt;&#xA;&lt;li&gt;each site uses same host header, f.ex. mysite.com&lt;/li&gt;&#xA;&lt;li&gt;each site has different virtual folder , sitea, siteb etc.&lt;/li&gt;&#xA;&lt;li&gt;sites would live in this urls : &lt;a href=&quot;https://mysite.com/sitea&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mysite.com/sitea&lt;/a&gt;, &lt;a href=&quot;https://mysite.com/siteb&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mysite.com/siteb&lt;/a&gt; etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is this scenario possible with SXA? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The idea is that IIS configuration (site + host header) would be done once, and adding extra sites would only be done in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now we can not get this to work.&lt;/p&gt;&#xA;" OwnerUserId="3538" LastEditorUserId="73" LastEditDate="2018-04-13T07:09:02.183" LastActivityDate="2018-04-13T07:09:02.183" Title="SXA multisite question" Tags="|sxa|multisite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11310" PostTypeId="2" ParentId="11309" CreationDate="2018-04-12T14:10:59.597" Score="6" Body="&lt;p&gt;Absolutely, it is possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ISS binding -&gt; &lt;code&gt;mysite.com&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example site configuration&#xA;&lt;a href=&quot;https://i.stack.imgur.com/j5pLH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/j5pLH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you might have problems with sites order.&#xA;&lt;strong&gt;Open Sxa Site Manager&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/PZSjl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PZSjl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And make sure that you order them correctly (if there is any site on the top that has &lt;code&gt;*&lt;/code&gt; binding, none of the sites below will be considered during site resolution)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So basically eliminate conflicts&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example conflict&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve this, site &lt;strong&gt;int&lt;/strong&gt; should be first as it a has a virtual folder but &lt;strong&gt;SiteA&lt;/strong&gt; not&#xA;&lt;a href=&quot;https://i.stack.imgur.com/AgfPi.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AgfPi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-04-12T14:10:59.597" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11314" PostTypeId="1" CreationDate="2018-04-12T14:57:05.490" Score="4" ViewCount="1417" Body="&lt;p&gt;After migration from &lt;strong&gt;Sitecore 8.2 Update-5&lt;/strong&gt; to &lt;strong&gt;Sitecore 9 Update-1&lt;/strong&gt; I see JavaScript error in Experience Editor mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a content page. Under content page I'm storing datasource items. Content page has some components which are using these datasource items. After changing datasource data in Experience Editor and clicking Save button I see error in browser console (Chrome, IE, FF):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; 16349168387717799575.JS:957 Uncaught TypeError: Cannot read property 'context' of undefined&#xA;&amp;gt;     at Object.showPublishAffectedPagesNotification (16349168387717799575.JS:957)&#xA;&amp;gt;     at 16349168387717799575.JS:939&#xA;&amp;gt;     at ExperienceEditor.js:142&#xA;&amp;gt;     at Object.onRequestProcessorSuccessCallback (ExperienceEditor.js:1015)&#xA;&amp;gt;     at Object.success (ExperienceEditor.js:990)&#xA;&amp;gt;     at fire (jquery-2.1.1.js:3073)&#xA;&amp;gt;     at Object.fireWith [as resolveWith] (jquery-2.1.1.js:3185)&#xA;&amp;gt;     at done (jquery-2.1.1.js:8251)&#xA;&amp;gt;     at XMLHttpRequest.&amp;lt;anonymous&amp;gt; (jquery-2.1.1.js:8598)&#xA;&amp;gt;     at Object.send (jquery-2.1.1.js:8623)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please, help me to resolve this issue.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="73" LastEditDate="2018-04-13T19:23:15.087" LastActivityDate="2020-04-15T15:12:30.063" Title="Cannot read property 'context' of undefined" Tags="|experience-editor|upgrade|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="11315" PostTypeId="2" ParentId="11306" CreationDate="2018-04-12T17:03:21.180" Score="0" Body="&lt;p&gt;It looks like you are mixing both installations: initial XC9 and XC9 Update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to your logs, it fails when calling &lt;code&gt;DeployCommerceContent&lt;/code&gt; task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how this task looks in initial XC9:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Function Invoke-DeployCommerceContentTask {&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Parameter(Mandatory=$true)]&#xA;        [string]$Name,&#xA;        [Parameter(Mandatory=$true)]&#xA;        [string]$ServicesContentPath,&#xA;        [Parameter(Mandatory=$true)]&#xA;        [string]$PhysicalPath,&#xA;        [Parameter(Mandatory=$true)]&#xA;        [psobject[]]$UserAccount = @(),&#xA;        [Parameter(Mandatory=$false)]&#xA;        [psobject[]]$BraintreeAccount = @(),&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$CommerceSearchProvider,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SitecoreDbServer,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SitecoreCoreDbName,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$CommerceServicesDbName,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$CommerceServicesGlobalDbName,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SiteHostHeaderName,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$CommerceAuthoringServicesPort,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SolrUrl,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SearchIndexPrefix,     &#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$AzureSearchServiceName,        &#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$AzureSearchAdminKey,       &#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$AzureSearchQueryKey        &#xA;    )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is XC9 Update 1:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Function Invoke-DeployCommerceContentTask {&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [Parameter(Mandatory=$true)]&#xA;        [string]$Name,&#xA;        [Parameter(Mandatory=$true)]&#xA;        [string]$ServicesContentPath,&#xA;        [Parameter(Mandatory=$true)]&#xA;        [string]$PhysicalPath,&#xA;        [Parameter(Mandatory=$true)]&#xA;        [psobject[]]$UserAccount = @(),&#xA;        [Parameter(Mandatory=$false)]&#xA;        [psobject[]]$BraintreeAccount = @(),&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$CommerceSearchProvider,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SitecoreDbServer,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SitecoreCoreDbName,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$CommerceServicesDbServer, // this is new param introduced in XC 9 Update 1&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$CommerceServicesDbName,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$CommerceServicesGlobalDbName,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SiteHostHeaderName,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$CommerceAuthoringServicesPort,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SolrUrl,&#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$SearchIndexPrefix,     &#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$AzureSearchServiceName,        &#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$AzureSearchAdminKey,       &#xA;        [Parameter(Mandatory=$false)]&#xA;        [string]$AzureSearchQueryKey        &#xA;    )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So your parent task passes an object that is not expected by the task declaration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try downloading latest XC9 Update 1 package from &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Commerce/90/Sitecore_Experience_Commerce_90_Update1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; and install again.&lt;/p&gt;&#xA;" OwnerUserId="139" LastActivityDate="2018-04-12T17:03:21.180" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11317" PostTypeId="2" ParentId="11259" CreationDate="2018-04-12T21:41:08.180" Score="3" Body="&lt;p&gt;You could perhaps do this by injecting some custom JavaScript into content editor like so with a pipeline:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pipeline&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   var page = HttpContext.Current.Handler as Page;&#xA; &#xA;foreach (string script in _scripts)&#xA;{&#xA;    page.Header.Controls.Add(&#xA;        new LiteralControl(&#xA;            &quot;&amp;lt;script type='text/javascript' language='javascript' src='{0}'&amp;gt;&amp;lt;/script&amp;gt;&quot;.FormatWith(script)));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Patch configuration&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;renderContentEditor&amp;gt;&#xA;    &amp;lt;processor patch:before=&quot;*[1]&quot;&#xA;               type=&quot;{Namespace}.InjectContentEditorResources, {Assembly}&quot;&amp;gt;&#xA;        &amp;lt;scripts hint=&quot;list:addScriptResource&quot;&amp;gt;&#xA;            ...&#xA;        &amp;lt;/scripts&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;&amp;lt;/renderContentEditor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in your JavaScript you can do some jquery to select your checkbox and so checks to enable/disable the field like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $sc(document).ready(function(event) {&#xA;    $sc('.field-selector').each( function(index) {&#xA;        //enable or disable here&#xA;    });&#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info on doing this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.google.co.uk/amp/s/jammykam.wordpress.com/2014/04/24/adding-custom-javascript-and-stylesheets-in-the-content-editor/amp/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.google.co.uk/amp/s/jammykam.wordpress.com/2014/04/24/adding-custom-javascript-and-stylesheets-in-the-content-editor/amp/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jockstothecore.com/injecting-resources-into-content-and-page-editor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jockstothecore.com/injecting-resources-into-content-and-page-editor/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-04-12T21:41:08.180" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11318" PostTypeId="1" AcceptedAnswerId="11339" CreationDate="2018-04-12T22:50:26.347" Score="7" ViewCount="759" Body="&lt;p&gt;The &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/configure_azure_search&quot; rel=&quot;noreferrer&quot;&gt;setup documentation&lt;/a&gt; states that: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Sitecore supports a Search service with geo-replicated scenarios.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It also mentions that you achieve this by adding multiple &lt;code&gt;Azure Search&lt;/code&gt; instances in the connectionstring using a pipe separator. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Clearly in &lt;code&gt;Azure Portal&lt;/code&gt; you would set each search instance to be in the desired region during setup. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other than that does anyone know how region selection is supported under the hood? &lt;/p&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2018-04-13T18:57:50.263" Title="How does Azure Search support Geo-Replicated scenarios?" Tags="|azure-search|geo-location|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11319" PostTypeId="2" ParentId="11282" CreationDate="2018-04-13T02:01:50.227" Score="11" Body="&lt;p&gt;I was unable to find the culprit using Vlad's method, so I went down another path. I installed the &lt;a href=&quot;https://github.com/SitecorePowerShell/Console&quot; rel=&quot;noreferrer&quot;&gt;Sitecore PowerShell Extensions Module&lt;/a&gt; and modified one of the built-in scripts - the &quot;Broken Links Report&quot; under /Content Reports/Reports/Content Audit. I added a Try { } Catch { } as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Try {&#xA;   $brokenLinks = $item.Links.GetBrokenLinks($IncludeAllVersions)&#xA;} &#xA;Catch { &#xA;   Show-Alert $item.ID&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This alerted the offending content item ID. It was then easy to find the problem field on the item and fix the link.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="-1" LastEditDate="2018-05-12T13:53:01.170" LastActivityDate="2018-05-12T13:53:01.170" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11320" PostTypeId="2" ParentId="11318" CreationDate="2018-04-13T05:28:56.550" Score="2" Body="&lt;p&gt;Sitecore supports a Search service with geo-replicated scenarios. To use this type of scenario:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create two or more Search service instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eWTmW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eWTmW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add connection strings with a pipe separator (|). If you have two search services, for example, searchservice1 and searchservice2, and you want to use them in a geo-replicated scenario, you must use the following connection string:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;cloud.search&quot; connectionString=&quot;serviceUrl=https://searchservice1.search.windows.net;apiVersion=2015-02-28;apiKey=AdminKey1|serviceUrl=https://searchservice2.search.windows.net;apiVersion=2015-02-28;apiKey=AdminKey2&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All details are int the link you provide. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-04-13T05:44:20.740" LastActivityDate="2018-04-13T05:44:20.740" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11321" PostTypeId="1" AcceptedAnswerId="11361" CreationDate="2018-04-13T06:16:10.760" Score="1" ViewCount="1149" Body="&lt;p&gt;We are not able to retrieve any data after submission of a newly created form. The &lt;em&gt;Form Reports&lt;/em&gt; page is completely void of any data in both the &lt;em&gt;Summary&lt;/em&gt; and &lt;em&gt;Detailed Reports&lt;/em&gt; tab. Exporting to Excel and XML also return nothing. There are no errors in the console on the &lt;em&gt;Form Reports&lt;/em&gt; page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no errors in the log file upon submission, no errors in the browser console, and the &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; is on the main layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Forms data provider is this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;formsDataProvider ref=&quot;/sitecore/wffm/analytics/analyticsFormsDataProvider&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Versions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.NET 8.2 (rev. 161221)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Web Forms for Marketers 8.2.rev. 170518&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on how I can fix this or at least debug it further?&lt;/p&gt;&#xA;" OwnerUserId="1648" LastEditorUserId="35" LastEditDate="2018-04-13T11:30:18.657" LastActivityDate="2018-04-16T14:08:31.340" Title="WFFM No Data On Form Reports Page or Export" Tags="|wffm|" AnswerCount="2" CommentCount="2" ClosedDate="2018-04-16T14:18:03.367" ContentLicense="CC BY-SA 3.0" />
  <row Id="11323" PostTypeId="1" AcceptedAnswerId="11324" CreationDate="2018-04-13T08:50:48.890" Score="3" ViewCount="686" Body="&lt;p&gt;We have added an event to &lt;code&gt;publish:complete&lt;/code&gt; and it is working fine when we publish in Sitecore (manually). However, when we do the exact same publish in code the event is not fired.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var publishOptions = new PublishOptions(item.Database, publishDb, PublishMode.Smart, lang, DateTime.Now);&#xA;&#xA;var publisher = new Publisher(publishOptions);&#xA;publisher.Options.RootItem = item;&#xA;publisher.Options.Deep = true;&#xA;publisher.Publish();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The publish works but the event is not fired. Caches are cleared and it seems that the publish:end is fired, but not the complete (and we need that one).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is the complete not fired?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version: 8.2-upd2&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-04-13T08:50:48.890" Title="Publish:complete not fired when publishing through code" Tags="|publishing|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11324" PostTypeId="2" ParentId="11323" CreationDate="2018-04-13T08:50:48.890" Score="3" Body="&lt;p&gt;I don't know if this is a bug or not.. couldn't find a reference to it. But the issue got fixed by using a different approach (code) to do the publish:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishManager.PublishItem(item, new[] { publishDb }, new [] { lang }, true, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I checked the Sitecore code behind these and found that the Publisher does indeed trigger the publish:end but not the publish:complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you search the numerous blog posts written about publishing programmatically you'll get both ways of publishing presented. But apparently they don't act the same. If you need the &lt;code&gt;publish:remote&lt;/code&gt; events, remember to use the &lt;code&gt;PublishManager&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-04-13T08:50:48.890" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11325" PostTypeId="2" ParentId="11321" CreationDate="2018-04-13T10:28:10.860" Score="1" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Update&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Actually just checking your version numbers, it looks like your using the wrong version of WFFM for your version of Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unless I’m mistaken your Sitecore Version is 8.2 update 2 but you using WFFM for Sitecore 8.2 update 4. Can you double check this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what I’d do to debug this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Debugging data storage&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First check if your data is being stored correctly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) So first thing to check is that you have run the wffm_analytics.sql script to create the database tables correctly&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) submit a form and check the analytics database tables (in SQL server) to see if the data has saved correctly &lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) check the Sitecore logs for any WFFM related errors &lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) under the ‘submit’ section on your form in content editor check the ‘Save form data to storage’ checkbox is enabled. Try unchecking it, saving and checking again and saving to be sure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) check your session end timeout is firing. If it is set to quite a long time then perhaps reduce it to test and see if that causes data to be stored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Debugging reports&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if the above proves there is data being stored in the db but it is just not being shown:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) open the network console in your browser and check there are no 404 or 500 errors being thrown. IoC containers can cause issues like this. There is more info on this here:&#xA;&lt;a href=&quot;https://www.sitecorenutsbolts.net/2015/07/27/Simple-Injector-and-WFFM-Controller-Injection-Woes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecorenutsbolts.net/2015/07/27/Simple-Injector-and-WFFM-Controller-Injection-Woes/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) check the console in your browser for JavaScript errors. You may have missing files or something blocking the JavaScript executing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Failing all of this double-check you have followed all of the steps in the deployment guide for WFFM 8.2 and if so perhaps spin up a new Sitecore 8.2 instance with SIM and install WFFM and see if it all works ok as it could be one of your customisation causing any issues: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers/82/Web_Forms_For_Marketers_82_Update4.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers/82/Web_Forms_For_Marketers_82_Update4.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-04-13T10:46:01.603" LastActivityDate="2018-04-13T10:46:01.603" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11327" PostTypeId="1" CreationDate="2018-04-13T11:54:34.137" Score="1" ViewCount="365" Body="&lt;p&gt;I'm running into an issue with using images in RTE. Images upload as expected into the medialibrary so no issues there. But when I insert the newly uploaded image in RTE it'll appear in Experience Editor view as a broken link. When requesting the image in a tab it gives a 404 (using the ashx-url as used in RTE). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configs concerning media all seem to have the default value and after trying all I can think of I can only get it to work when publishing the image first. After publish the image works as expected in RTE. So it almost looks as if the RTE is looking for the image in the web-database, but that doesn't make sense to me as we are in the experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody have an idea what is going on here and how I can prevent having to do a publish of media first before it's usable in RTE?&lt;/p&gt;&#xA;" OwnerUserId="1015" LastActivityDate="2018-04-13T11:54:34.137" Title="Media item (image) and RTE" Tags="|media-library|richtext-editor|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11330" PostTypeId="1" CreationDate="2018-04-13T13:56:29.163" Score="0" ViewCount="187" Body="&lt;p&gt;Why should we go with Sitecore form if WFFM form has more features?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example sitecore from has only below 6 actions where wffm has lot many actions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trigger Goal, Trigger Campaign Activity, Trigger Outcome, Redirect to Page, Save Data and Send Email Campaign &lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="2890" LastEditDate="2018-04-13T14:12:45.197" LastActivityDate="2018-04-13T15:41:38.973" Title="Why to use Sitecore form over WFFM" Tags="|wffm|sitecore-forms|" AnswerCount="2" CommentCount="1" ClosedDate="2018-04-13T19:26:45.420" ContentLicense="CC BY-SA 3.0" />
  <row Id="11331" PostTypeId="2" ParentId="11272" CreationDate="2018-04-13T14:16:17.967" Score="3" Body="&lt;p&gt;Here is the answer from Sitecore Support.&#xA;I've tested the settings and everything works just like with previous releases.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;The behavior that you are referring to has been changed in Sitecore 8.2 Update 3.&#xA; The reason for the change is that it has been recognized as a bug (reference number 94414). Here is a link to the corresponding Release Notes: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update3/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to revert to previous behavior, you might specify &quot;mediaCreator&quot; under the &quot;mediaLibrary&quot; configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;mediaPrefixes&amp;gt;&#xA;     &amp;lt;prefix value=&quot;~/media&quot;/&amp;gt;&#xA;     &amp;lt;!--  Prefix to identify WebDAV media requests  --&amp;gt;&#xA;     &amp;lt;prefix value=&quot;/sitecore_files&quot; patch:source=&quot;Sitecore.WebDAV.config&quot;/&amp;gt;&#xA; &amp;lt;/mediaPrefixes&amp;gt;&#xA; &amp;lt;mediaCreator type=&quot;Sitecore.Resources.Media.MediaCreator, Sitecore.Kernel&quot;/&amp;gt;&#xA; &amp;lt;requestParser type=&quot;Sitecore.Resources.Media.MediaRequest, Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If no type for &quot;mediaCreator&quot; is specified, the &quot;Sitecore.Resources.Media.MediaCreators.SingleLanguageMediaCreator&quot; type is used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the media items that you have shown in the video are unversioned.&#xA; This means that their &quot;Media&quot; field is &quot;Shared&quot; and thus such media items should be available for use even if they don't have versions in the current language.&lt;/p&gt;&#xA;" OwnerUserId="1130" LastActivityDate="2018-04-13T14:16:17.967" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11332" PostTypeId="2" ParentId="11330" CreationDate="2018-04-13T14:26:07.680" Score="5" Body="&lt;p&gt;It's a simple answer.  Because WFFM will eventually become obsolete and eventually not be included or supported with Sitecore anymore.  I believe the plan is that Sitecore Forms will eventually contain all the same features that WFFM currently includes.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-04-13T14:26:07.680" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11334" PostTypeId="2" ParentId="11330" CreationDate="2018-04-13T15:41:38.973" Score="2" Body="&lt;p&gt;In addition to what Dylan said:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore Forms comes OOTB with Sitecore Platform hence the additional efforts of installation as well as upgrade can be avoided.&lt;/li&gt;&#xA;&lt;li&gt;Multi-step form creation is not possible in WFFM which can be achieved in Sitecore Forms OOTB&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Forms UI is much more intuitive comparing to WFFM like drag and drop functionality etc&lt;/li&gt;&#xA;&lt;li&gt;You can save Form as a template using Sitecore Forms&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Forms is much more easier in maintaining Forms items with lots of features available OOTB like searching/sorting on Forms, Overview and Performance Tab etc&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-04-13T15:41:38.973" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11337" PostTypeId="1" AcceptedAnswerId="13272" CreationDate="2018-04-13T18:04:58.940" Score="1" ViewCount="443" Body="&lt;p&gt;&lt;strong&gt;Situation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to use the SPE Web API to call a simple script to publish 1 single item from gulp (in SXA Theme). The script URL call looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/-/script/v2/master/PublishItem?user=mypersonaluser&amp;amp;password=xxx&amp;amp;itemPath=/sitecore/media library/Themes/Portal/sass/main&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the call executes I receive a 500 error response with the following stacktrace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;15648 2018:04:13 16:46:48 ERROR Application error.&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: mscorlib&#xA;   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)&#xA;   at Cognifide.PowerShell.Core.Settings.Authorization.ServiceAuthorizationManager.GetServiceAuthorizationInfo(String serviceName)&#xA;   at Cognifide.PowerShell.Core.Settings.Authorization.ServiceAuthorizationManager.IsUserAuthorized(String serviceName, String userName)&#xA;   at Cognifide.PowerShell.Console.Services.RemoteScriptCall.ProcessRequest(HttpContext context)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Observations&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On request of Adam I already checked my showconfig.aspx and the section for my restfulv2 looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;restfulv2 requireSecureConnection=&quot;false&quot; patch:source=&quot;Gulp.config&quot; enabled=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;authorization&amp;gt;&#xA;        &amp;lt;add Permission=&quot;Allow&quot; IdentityType=&quot;Role&quot; Identity=&quot;sitecore\PowerShell Extensions Remoting&quot;/&amp;gt;&#xA;        &amp;lt;add name=&quot;AdminRule&quot; Permission=&quot;Allow&quot; IdentityType=&quot;Role&quot; Identity=&quot;sitecore\IsAdministrator&quot; patch:source=&quot;Gulp.config&quot;/&amp;gt;&#xA;        &amp;lt;!--add Permission=&quot;Allow&quot; IdentityType=&quot;User&quot; Identity=&quot;extranet\Anonymous&quot; /--&amp;gt;&#xA;        &amp;lt;add Permission=&quot;Allow&quot; IdentityType=&quot;User&quot; Identity=&quot;sitecore\admin&quot;/&amp;gt;&#xA;    &amp;lt;/authorization&amp;gt;&#xA;&amp;lt;/restfulv2&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally this only shows up on the first call&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why am I receiving this exception?&lt;/p&gt;&#xA;" OwnerUserId="495" LastActivityDate="2018-08-09T14:35:22.417" Title="SPE Remote Script Call Nullreference Exception" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11338" PostTypeId="1" CreationDate="2018-04-13T18:05:35.023" Score="0" ViewCount="375" Body="&lt;p&gt;Using &lt;code&gt;Sitecore 9 update 1&lt;/code&gt; is there a way to mark &lt;code&gt;Azure AD&lt;/code&gt; group as Sitecore administrator without creating new Administrator group in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="312" LastEditDate="2018-04-13T18:59:59.650" LastActivityDate="2018-05-18T11:39:42.930" Title="Sitecore Federated Authentication Administrator Group" Tags="|federated-authentication|azure-ad|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11339" PostTypeId="2" ParentId="11318" CreationDate="2018-04-13T18:57:50.263" Score="6" Body="&lt;p&gt;Azure Search has no built in replication at this time. The Sitecore Azure Search Provider can be pointed to multiple Azure Search instance at once and it will mirror all Create, Update, Delete, requests to those additional instances.&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2018-04-13T18:57:50.263" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11341" PostTypeId="1" AcceptedAnswerId="11411" CreationDate="2018-04-13T20:06:17.880" Score="0" ViewCount="568" Body="&lt;p&gt;I have a form that, upon submission, should redirect and display a PDF from my media library. Upon submission, I am receiving this error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vtuvq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vtuvq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore 9 Forms require that I provide a layout file for presenting PDFs?&lt;/p&gt;&#xA;" OwnerUserId="3540" LastEditorUserId="1671" LastEditDate="2018-04-13T20:12:09.273" LastActivityDate="2018-04-18T14:16:17.853" Title="Sitecore Forms Submit Action redirect to a PDF in Media Library" Tags="|presentation|media-library|sitecore-forms|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11343" PostTypeId="1" AcceptedAnswerId="11344" CreationDate="2018-04-14T05:17:25.813" Score="4" ViewCount="838" Body="&lt;p&gt;I'm following given post for Sitecore 9 Set up on local machine&#xA;&lt;a href=&quot;https://sitecoresolver.blogspot.in/2017/11/sitecore-xp-90-local-instance-setup.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 9 set up&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Got below error on install.ps1 execution even I'm able to browse the Solr URL( &lt;a href=&quot;https://localhost:8985/solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8985/solr/&lt;/a&gt; ) successfully&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AcLCe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AcLCe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where should I look at further now. Any suggestion&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OS: Windows 8.1&#xA;IIS: 8.5&#xA;PowerShell 5.1&#xA;Solr: 6.6.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried work around from below post but no luck&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.ryanbailey.co.nz/2018/01/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SolR issue&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="73" LastEditDate="2018-04-15T10:04:12.503" LastActivityDate="2018-04-15T10:04:12.503" Title="Sitecore 9 Installation :: Could not find Solr instance" Tags="|solr|sitecore-install-framework|" AnswerCount="1" CommentCount="1" ClosedDate="2018-04-16T09:31:19.930" ContentLicense="CC BY-SA 3.0" />
  <row Id="11344" PostTypeId="2" ParentId="11343" CreationDate="2018-04-14T05:44:44.727" Score="5" Body="&lt;p&gt;Try upgrading your Sitecore Install Framework to version 1.2+ and SIF Fundamentals to 1.1+.  I had this same issue when I was running 1.0 of both SIF and Fundamentals.  My Solr instance was definitely present because I could navigate to it, but what I found was happening, is that SIF is restarting the service that runs Solr, but I guess it doesn't restart fast enough.  I noticed the newer versions of SIF and SIF Fundamentals, retries the instance a few more times before it fails, which typically on the 2nd or 3rd try it works correctly.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not sure how to upgrade SIF and SIF Fundamentals, try the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open Powershell as an Administrator.&lt;/li&gt;&#xA;&lt;li&gt;Register a connection to MyGet feed&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/f/sc-powershell/api/v2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Then type the following commands to install the latest version of&#xA;each:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Update-Module SitecoreInstallFramework&#xA;Update-Module SitecoreFundamentals&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should be it.  Now try to re-run Sitecore Install Framework.  You can optionally also do &lt;code&gt;Install-Module [Name_of_module]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check the version of your module by importing the module by running &lt;code&gt;Import-Module SitecoreInstallFramework&lt;/code&gt; and then running &lt;code&gt;Get-Module SitecoreInstallFramework&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-04-14T05:44:44.727" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="11345" PostTypeId="1" CreationDate="2018-04-14T09:42:03.393" Score="1" ViewCount="961" Body="&lt;p&gt;I am trying to push the items from my TDS project through quick push but I am getting following error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception Object reference not set to an instance of an object. (NullReferenceException):&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.Dialogs.QuickPush.&amp;lt;PushItems&amp;gt;b__0(QuickPushDeployItem i)&#xA;   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)&#xA;   at HedgehogDevelopment.SitecoreProject.VSIP.Dialogs.QuickPush.PushItems(SitecoreProjectNode project, List`1 itemsToPush)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also I am getting error message that &quot;The quick push process failed with &quot;Object reference not set to an instance of an object.&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest what I am doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="3510" LastEditorUserId="607" LastEditDate="2018-04-14T09:44:04.463" LastActivityDate="2018-04-14T09:47:45.537" Title="Exception during quick push for TDS projects" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11347" PostTypeId="2" ParentId="11345" CreationDate="2018-04-14T09:47:45.537" Score="1" Body="&lt;p&gt;This issue can be related to one of the missing Sitecore items in one of your TDS projects. As per your above error, it is trying to iterate through items in TDS project and found some missing Sitecore items which it is not able to push to Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest that you review your TDS project and see if there are some missing Sitecore items in your TDS project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also if you want to find out the missing Sitecore item then try to unload the TDS project and then reload it. You should see output window for Team Development for Sitecore to find the missing Sitecore item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should have something like. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The file &lt;code&gt;'D:\Project\site\tds\Site.Website.Master\sitecore\templates\Project\Site\Content Type\Callouts\CTA\__Standard Values.item'&lt;/code&gt; could not be loaded.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TDS has finished parsing 200 .item files for Site.Website.Master.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Warning: TDS could not load all files for the project. The files may be missing or corrupted. &#xA;Please see the TDS pane in the output window for more details.&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2018-04-14T09:47:45.537" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11348" PostTypeId="2" ParentId="10831" CreationDate="2018-04-15T18:33:57.083" Score="2" Body="&lt;p&gt;This is a custom button made and enabled for Habitat as a showcase. You can find it under &lt;code&gt;FieldEditor&lt;/code&gt; Foundation module -&gt; &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/FieldEditor/serialization/WebEdit.FieldEditorAll/Edit%20Item.yml&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/FieldEditor/serialization/WebEdit.FieldEditorAll/Edit%20Item.yml&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is link for Sitecore 9 branch -&gt; &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/feature/v9/src/Foundation/FieldEditor/serialization/WebEdit.FieldEditorAll/Edit%20Item.yml&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/feature/v9/src/Foundation/FieldEditor/serialization/WebEdit.FieldEditorAll/Edit%20Item.yml&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-04-15T18:33:57.083" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11350" PostTypeId="1" CreationDate="2018-04-16T06:33:41.807" Score="3" ViewCount="1543" Body="&lt;p&gt;I have created a custom index (Sitecore 9 Update 1) using the below config, hoping that the index would contain documents only corresponding to the 3 included templates. However my index includes all documents under the root node and is not filtered by these included templates alone.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot; search:require=&quot;solr&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;     &amp;lt;indexConfigurations&amp;gt;&#xA;      &amp;lt;articleSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;      &amp;lt;initializeOnAdd&amp;gt;false&amp;lt;/initializeOnAdd&amp;gt;&#xA;&#xA;      &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;guidCollection&quot;     type=&quot;System.Collections.Generic.List`1[System.Guid]&quot;     fieldNameFormat=&quot;{0}_sm&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;stringCollection&quot;   type=&quot;System.Collections.Generic.List`1[System.String]&quot;   fieldNameFormat=&quot;{0}_sm&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;intCollection&quot;      type=&quot;System.Collections.Generic.List`1[System.Int32]&quot;    fieldNameFormat=&quot;{0}_im&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;guid&quot;               type=&quot;System.Guid&quot;                                        fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;id&quot;                 type=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot;                  fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;shortid&quot;            type=&quot;Sitecore.Data.ShortID, Sitecore.Kernel&quot;             fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;text&quot;               type=&quot;System.String&quot;                                      fieldNameFormat=&quot;{0}_t&quot;   cultureFormat=&quot;_{1}&quot;                  settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;string&quot;             type=&quot;System.String&quot;                                      fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;int&quot;                type=&quot;System.Int32&quot;                                       fieldNameFormat=&quot;{0}_tl&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;bool&quot;               type=&quot;System.Boolean&quot;                                     fieldNameFormat=&quot;{0}_b&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;datetime&quot;           type=&quot;System.DateTime&quot;                                    fieldNameFormat=&quot;{0}_tdt&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss.FFF'Z'&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;long&quot;               type=&quot;System.Int64&quot;                                       fieldNameFormat=&quot;{0}_tl&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;float&quot;              type=&quot;System.Single&quot;                                      fieldNameFormat=&quot;{0}_tf&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;double&quot;             type=&quot;System.Double&quot;                                      fieldNameFormat=&quot;{0}_td&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;stringArray&quot;        type=&quot;System.String[]&quot;                                    fieldNameFormat=&quot;{0}_sm&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;intArray&quot;           type=&quot;System.Int32[]&quot;                                     fieldNameFormat=&quot;{0}_im&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;datetimeArray&quot;      type=&quot;System.DateTime[]&quot;                                  fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;          &amp;lt;typeMatch typeName=&quot;datetimeCollection&quot; type=&quot;System.Collections.Generic.List`1[System.DateTime]&quot; fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;        &amp;lt;/typeMatches&amp;gt;&#xA;&#xA;        &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;__created_by&quot;         returnType=&quot;string&quot; /&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;__smallcreateddate&quot;   returnType=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot; /&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;__smallupdateddate&quot;   returnType=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot; /&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;__workflow_state&quot;     returnType=&quot;string&quot; /&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;extension&quot;            returnType=&quot;text&quot; /&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;title&quot;                returnType=&quot;text&quot; /&amp;gt;&#xA;        &amp;lt;/fieldNames&amp;gt;&#xA;&#xA;        &amp;lt;fieldTypes hint=&quot;raw:AddFieldByFieldTypeName&quot;&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;checkbox&quot;                                                                                                 returnType=&quot;bool&quot;             /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;date|datetime&quot;                                                                                            returnType=&quot;datetime&quot;         /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;html|rich text|single-line text|multi-line text|text|memo|image|reference&quot;                                returnType=&quot;text&quot;             /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;word document&quot;                                                                                            returnType=&quot;text&quot;             /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;integer&quot;                                                                                                  returnType=&quot;long&quot;             /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;number&quot;                                                                                                   returnType=&quot;float&quot;            /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;icon|droplist|grouped droplist&quot;                                                                           returnType=&quot;string&quot;           /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;checklist|multilist|treelist|tree list|treelistex|tree list|multilist with search|treelist with search&quot;   returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;name lookup value list|name value list&quot;                                                                   returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;          &amp;lt;fieldType fieldTypeName=&quot;droplink|droptree|grouped droplink|tree&quot;                                                                  returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;        &amp;lt;/fieldTypes&amp;gt;&#xA;      &amp;lt;/fieldMap&amp;gt;&#xA;&#xA;      &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;        &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;          &amp;lt;ContentGroupPage&amp;gt;{A212D61B-69BB-41D2-9C21-2D2D534CAAB5}&amp;lt;/ContentGroupPage&amp;gt;&#xA;          &amp;lt;SimpleArticlePage&amp;gt;{A1C555D5-C991-4439-92F7-BF9B74217AB2}&amp;lt;/SimpleArticlePage&amp;gt;&#xA;          &amp;lt;BrandedArticlePage&amp;gt;{24EE12B5-CCBF-4810-ADF2-65E37274143C}&amp;lt;/BrandedArticlePage&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;&#xA;        &amp;lt;fields hint=&quot;raw:AddExcludedSpecialField&quot;&amp;gt;&#xA;          &amp;lt;remove type=&quot;both&quot;&amp;gt;AllTemplates&amp;lt;/remove&amp;gt;&#xA;          &amp;lt;remove type=&quot;both&quot;&amp;gt;Created&amp;lt;/remove&amp;gt;&#xA;          &amp;lt;remove type=&quot;both&quot;&amp;gt;Editor&amp;lt;/remove&amp;gt;&#xA;          &amp;lt;remove type=&quot;both&quot;&amp;gt;Hidden&amp;lt;/remove&amp;gt;&#xA;          &amp;lt;remove type=&quot;both&quot;&amp;gt;Icon&amp;lt;/remove&amp;gt;&#xA;          &amp;lt;remove type=&quot;both&quot;&amp;gt;Links&amp;lt;/remove&amp;gt;&#xA;          &amp;lt;remove type=&quot;both&quot;&amp;gt;Updated&amp;lt;/remove&amp;gt;&#xA;        &amp;lt;/fields&amp;gt;&#xA;      &amp;lt;/documentOptions&amp;gt;&#xA;&#xA;      &amp;lt;virtualFields type=&quot;Sitecore.ContentSearch.VirtualFieldProcessorMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;processors hint=&quot;raw:AddFromConfiguration&quot;&amp;gt;&#xA;          &amp;lt;add fieldName=&quot;daterange&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.DateRangeFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;          &amp;lt;add fieldName=&quot;_lastestversion&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.LatestVersionFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;          &amp;lt;add fieldName=&quot;updateddaterange&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.UpdatedDateRangeFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;          &amp;lt;add fieldName=&quot;_url&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.UniqueIdFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;          &amp;lt;add fieldName=&quot;_fullpath&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.FullPathFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;          &amp;lt;add fieldName=&quot;parsedcreatedby_s&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.CreatedByFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;        &amp;lt;/processors&amp;gt;&#xA;      &amp;lt;/virtualFields&amp;gt;&#xA;      &amp;lt;fieldReaders ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldReaders&quot; /&amp;gt;&#xA;      &amp;lt;indexFieldStorageValueFormatter ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/indexFieldStorageValueFormatter&quot; /&amp;gt;&#xA;      &amp;lt;indexDocumentPropertyMapper ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/indexDocumentPropertyMapper&quot; /&amp;gt;&#xA;      &amp;lt;documentBuilderType ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/documentBuilderType&quot; /&amp;gt;&#xA;      &amp;lt;defaultSearchSecurityOption ref=&quot;contentSearch/indexConfigurations/defaultSearchSecurityOption&quot; /&amp;gt;&#xA;    &amp;lt;/articleSolrIndexConfiguration&amp;gt;&#xA;  &amp;lt;/indexConfigurations&amp;gt;&#xA;&#xA;  &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;Site_articles_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;core&quot;&amp;gt;Site_articles_index&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/articleSolrIndexConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsyncSingleInstance&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/content/Site/Home&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on what I am missing here?&lt;/p&gt;&#xA;" OwnerUserId="903" LastEditorUserId="2056" LastEditDate="2018-04-17T08:38:20.243" LastActivityDate="2018-12-13T14:02:40.547" Title="Unable to filter solr index contents by template" Tags="|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11351" PostTypeId="2" ParentId="11350" CreationDate="2018-04-16T06:50:46.090" Score="4" Body="&lt;p&gt;You need to set &lt;code&gt;IndexAllFields&lt;/code&gt; parameter to &lt;strong&gt;false&lt;/strong&gt; in order to include only items based on your desired templates. By default it is set to &lt;strong&gt;true&lt;/strong&gt;.&#xA;Take a look here for further details - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/the_search_and_indexing_configuration_files&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/the_search_and_indexing_configuration_files&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You shouldn't use OOTB search index configuration but create your custom one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;!-- Configuration sections for indexes --&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;&#xA;        &amp;lt;!-- If an index has no configuration specified, it will use the configuration below. The configuration is not merged if the index also has&#xA;             configuration, it is either this configuration or the index configuration. --&amp;gt;&#xA;        &amp;lt;CustomSearchIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;!-- This flag will index all fields by default. This allows new fields in your templates to automatically be included into the index.&#xA;               You have two choices : &#xA;&#xA;               1) Set this to true and place all the fields you would like to remove in the 'ExcludeField' list below.&#xA;               2) Set to false and place all fields you would like to be indexed in the 'IncludeField' list below.&#xA;            --&amp;gt;&#xA;          &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;&#xA;          &amp;lt;!-- Should index Initialize() method be called as soon as the index is added or wait for an external trigger --&amp;gt;&#xA;          &amp;lt;!-- For Solr Initialize() needs to be called after the IOC container has fired up --&amp;gt;&#xA;          &amp;lt;initializeOnAdd&amp;gt;false&amp;lt;/initializeOnAdd&amp;gt;&#xA;&#xA;          &amp;lt;!-- DEFAULT FIELD MAPPING &#xA;               This field map allows you to take full control over how your data is stored in the index. This can affect the way data is queried, performance of searching and how data is retrieved and casted to a proper type in the API. &#xA;            --&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;!-- This element must be first --&amp;gt;&#xA;            &amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;guidCollection&quot;     type=&quot;System.Collections.Generic.List`1[System.Guid]&quot;     fieldNameFormat=&quot;{0}_sm&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;stringCollection&quot;   type=&quot;System.Collections.Generic.List`1[System.String]&quot;   fieldNameFormat=&quot;{0}_sm&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;intCollection&quot;      type=&quot;System.Collections.Generic.List`1[System.Int32]&quot;    fieldNameFormat=&quot;{0}_im&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;guid&quot;               type=&quot;System.Guid&quot;                                        fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;id&quot;                 type=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot;                  fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;shortid&quot;            type=&quot;Sitecore.Data.ShortID, Sitecore.Kernel&quot;             fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;text&quot;               type=&quot;System.String&quot;                                      fieldNameFormat=&quot;{0}_t&quot;   cultureFormat=&quot;_{1}&quot;                  settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;string&quot;             type=&quot;System.String&quot;                                      fieldNameFormat=&quot;{0}_s&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;int&quot;                type=&quot;System.Int32&quot;                                       fieldNameFormat=&quot;{0}_tl&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;bool&quot;               type=&quot;System.Boolean&quot;                                     fieldNameFormat=&quot;{0}_b&quot;                                         settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;datetime&quot;           type=&quot;System.DateTime&quot;                                    fieldNameFormat=&quot;{0}_tdt&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss.FFF'Z'&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;long&quot;               type=&quot;System.Int64&quot;                                       fieldNameFormat=&quot;{0}_tl&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;float&quot;              type=&quot;System.Single&quot;                                      fieldNameFormat=&quot;{0}_tf&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;double&quot;             type=&quot;System.Double&quot;                                      fieldNameFormat=&quot;{0}_td&quot;                                        settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;stringArray&quot;        type=&quot;System.String[]&quot;                                    fieldNameFormat=&quot;{0}_sm&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;intArray&quot;           type=&quot;System.Int32[]&quot;                                     fieldNameFormat=&quot;{0}_im&quot;  multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;datetimeArray&quot;      type=&quot;System.DateTime[]&quot;                                  fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;datetimeCollection&quot; type=&quot;System.Collections.Generic.List`1[System.DateTime]&quot; fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot;                    settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;            &amp;lt;/typeMatches&amp;gt;&#xA;&#xA;            &amp;lt;!-- This allows you to map a field name in Sitecore to the index and store it in the appropriate way --&amp;gt;&#xA;            &amp;lt;!-- Add schema fields here to enable multi-language processing --&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__created_by&quot;         returnType=&quot;string&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__smallcreateddate&quot;   returnType=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__smallupdateddate&quot;   returnType=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;__workflow_state&quot;     returnType=&quot;string&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;extension&quot;            returnType=&quot;text&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;title&quot;                returnType=&quot;text&quot; /&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;&#xA;            &amp;lt;!-- FIELD TYPE MAPPING&#xA;                 This allows you to map a field type in Sitecore to a type in the index.&#xA;                 USAGE: When you add new field types to Sitecore, add the mappings here so they work through the Linq Layer &#xA;              --&amp;gt;&#xA;            &amp;lt;fieldTypes hint=&quot;raw:AddFieldByFieldTypeName&quot;&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;checkbox&quot;                                                                                                 returnType=&quot;bool&quot;             /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;date|datetime&quot;                                                                                            returnType=&quot;datetime&quot;         /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;html|rich text|single-line text|multi-line text|text|memo|image|reference&quot;                                returnType=&quot;text&quot;             /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;word document&quot;                                                                                            returnType=&quot;text&quot;             /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;integer&quot;                                                                                                  returnType=&quot;long&quot;             /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;number&quot;                                                                                                   returnType=&quot;float&quot;            /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;icon|droplist|grouped droplist&quot;                                                                           returnType=&quot;string&quot;           /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;checklist|multilist|treelist|tree list|treelistex|tree list|multilist with search|treelist with search&quot;   returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;name lookup value list|name value list&quot;                                                                   returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;              &amp;lt;fieldType fieldTypeName=&quot;droplink|droptree|grouped droplink|tree&quot;                                                                  returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;            &amp;lt;/fieldTypes&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;!-- GLOBALLY INCLUDE TEMPLATES IN INDEX&#xA;               This setting allows you to only include items that are based on specific templates in the index. You must specify all the&#xA;               templates that you want to include, because template inheritance is not checked. &#xA;               When you enable this setting, all the items that are based on other templates are excluded, regardless of whether the template&#xA;               is specified in the ExcludeTemplate list or not.&#xA;            --&amp;gt;&#xA;             &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;               &amp;lt;ContentGroupPage&amp;gt;{A212D61B-69BB-41D2-9C21-2D2D534CAAB5}&amp;lt;/ContentGroupPage&amp;gt;&#xA;               &amp;lt;SimpleArticlePage&amp;gt;{A1C555D5-C991-4439-92F7-BF9B74217AB2}&amp;lt;/SimpleArticlePage&amp;gt;&#xA;               &amp;lt;BrandedArticlePage&amp;gt;{24EE12B5-CCBF-4810-ADF2-65E37274143C}&amp;lt;/BrandedArticlePage&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;&#xA;            &amp;lt;!-- GLOBALLY INCLUDE FIELDS IN INDEX&#xA;               This setting allows you to specify which fields to include in the index when the indexAllFields setting is set to false.&#xA;            --&amp;gt;&#xA;            &amp;lt;!--&amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;            &amp;lt;__Created&amp;gt;{25BED78C-4957-4165-998A-CA1B52F67497}&amp;lt;/__Created&amp;gt;&#xA;            &amp;lt;/include&amp;gt;--&amp;gt;&#xA;&#xA;            &amp;lt;!-- GLOBALLY EXCLUDE FIELDS FROM BEING INDEXED&#xA;               This setting allows you to exclude fields from the index when the indexAllFields setting is set to true.&#xA;            --&amp;gt;&#xA;            &amp;lt;!--&amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;&#xA;              &amp;lt;__Created&amp;gt;{25BED78C-4957-4165-998A-CA1B52F67497}&amp;lt;/__Created&amp;gt;&#xA;            &amp;lt;/exclude&amp;gt;--&amp;gt;&#xA;&#xA;            &amp;lt;!-- REMOVE INBUILT SITECORE FIELDS&#xA;               This allows you to store a field in different ways in the index. You may want to store a field as Analyzed and Not Analyze&#xA;            --&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddExcludedSpecialField&quot;&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;AllTemplates&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Created&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Editor&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Hidden&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Icon&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Links&amp;lt;/remove&amp;gt;&#xA;              &amp;lt;remove type=&quot;both&quot;&amp;gt;Updated&amp;lt;/remove&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;&#xA;          &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/mediaIndexing&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;!-- VIRTUAL FIELDS&#xA;               Virtual fields can be used to translate a field query into a different query.&#xA;            --&amp;gt;&#xA;          &amp;lt;virtualFields type=&quot;Sitecore.ContentSearch.VirtualFieldProcessorMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;processors hint=&quot;raw:AddFromConfiguration&quot;&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;daterange&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.DateRangeFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;_lastestversion&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.LatestVersionFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;updateddaterange&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.UpdatedDateRangeFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;_url&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.UniqueIdFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;_fullpath&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.FullPathFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;add fieldName=&quot;parsedcreatedby_s&quot; type=&quot;Sitecore.ContentSearch.VirtualFields.CreatedByFieldProcessor, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;            &amp;lt;/processors&amp;gt;&#xA;          &amp;lt;/virtualFields&amp;gt;&#xA;&#xA;          &amp;lt;!-- SITECORE FIELDTYPE MAP&#xA;               This maps a field type by name to a Strongly Typed Implementation of the field type e.g. html maps to HTMLField&#xA;            --&amp;gt;&#xA;          &amp;lt;fieldReaders ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldReaders&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;!-- INDEX FIELD STORAGE MAPPER &#xA;               Maintains a collection of all the possible Convertors for the provider.&#xA;            --&amp;gt;&#xA;          &amp;lt;indexFieldStorageValueFormatter ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/indexFieldStorageValueFormatter&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;!-- INDEX PROPERTY TO DOCUMENT MAPPER&#xA;               Maintains a collection of all the possible Convertors for the provider.&#xA;            --&amp;gt;&#xA;          &amp;lt;indexDocumentPropertyMapper ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/indexDocumentPropertyMapper&quot; /&amp;gt;&#xA;&#xA;&#xA;          &amp;lt;!-- DOCUMENT BUILDER&#xA;               Allows you to override the document builder. The document builder class processes all the fields in the Sitecore items and prepares&#xA;               the data for storage in the index.&#xA;               You can override the document builder to modify how the data is prepared, and to apply any additional logic that you may require.&#xA;          --&amp;gt;&#xA;          &amp;lt;documentBuilderType ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/documentBuilderType&quot; /&amp;gt;&#xA;&#xA;          &amp;lt;defaultSearchSecurityOption ref=&quot;contentSearch/indexConfigurations/defaultSearchSecurityOption&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;/CustomSearchIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And now how your index definition should look like with configuration that we have created above:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;Site_articles_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/CustomSearchIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Site/Home&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-04-16T07:44:48.643" LastActivityDate="2018-04-16T07:44:48.643" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="11352" PostTypeId="1" CreationDate="2018-04-16T07:36:37.620" Score="-1" ViewCount="257" Body="&lt;p&gt;We are working an an existing Sitecore.NET 8.1 (rev. 151003) solution.&#xA;Seems like the WFFM got upgraded but isn't perfect. So we are trying to reinstall WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But facing below issue on local dev machine:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unable to cast object of type 'System.String' to type 'Sitecore.Analytics.Reporting.ReportDataProvider'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Its a single server and Sitecore.Analytics.reporting is disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yx80s.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yx80s.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="73" LastEditDate="2018-04-16T09:20:09.527" LastActivityDate="2018-04-16T09:20:15.500" Title="Unable to cast object of type 'System.String' to type 'Sitecore.Analytics.Reporting.ReportDataProvider'" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11353" PostTypeId="2" ParentId="11352" CreationDate="2018-04-16T07:39:38.337" Score="0" Body="&lt;p&gt;You need to comment you below from  &lt;strong&gt;SwitchMasterToweb.config&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;reporting&amp;gt;&#xA;  &amp;lt;dataProvider&amp;gt;&#xA;    &amp;lt;datasources&amp;gt;&#xA;      &amp;lt;add key=&quot;item&quot;&amp;gt;&#xA;        &amp;lt;FiltersFactory&amp;gt;&#xA;          &amp;lt;param desc=&quot;definitionDatabaseName&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/FiltersFactory&amp;gt;&#xA;      &amp;lt;/add&amp;gt;&#xA;      &amp;lt;add key=&quot;collection&quot;&amp;gt;&#xA;        &amp;lt;FiltersFactory&amp;gt;&#xA;          &amp;lt;param desc=&quot;definitionDatabaseName&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/FiltersFactory&amp;gt;&#xA;      &amp;lt;/add&amp;gt;&#xA;      &amp;lt;add key=&quot;reporting&quot;&amp;gt;&#xA;        &amp;lt;FiltersFactory&amp;gt;&#xA;          &amp;lt;param desc=&quot;definitionDatabaseName&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/FiltersFactory&amp;gt;&#xA;      &amp;lt;/add&amp;gt;&#xA;    &amp;lt;/datasources&amp;gt;&#xA;  &amp;lt;/dataProvider&amp;gt;&#xA;&amp;lt;/reporting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please have a look on commments: &lt;a href=&quot;https://blog.ryanbailey.co.nz/2016/02/sitecore-wffm-error-sitecoreanalyticsre.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.ryanbailey.co.nz/2016/02/sitecore-wffm-error-sitecoreanalyticsre.html&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-04-16T07:39:38.337" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11354" PostTypeId="1" CreationDate="2018-04-16T07:46:27.183" Score="5" ViewCount="502" Body="&lt;p&gt;When updating the stock balance in a catalog &#xA;I have found this pipeline to help me do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UpdateItemAvailabilityPipeline&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to use that I need to know the name &#xA;of the product catalog, the productId (and if &#xA;applicable, the variantId) and what amount to &#xA;change the current stock balance with.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunatly what I have to work with is only &#xA;one of those three, the productId. Instead of &#xA;the product catalog name I have a name for the &#xA;inventory catalog and instead of the number to &#xA;change the stock balance with I have a number &#xA;to set the stock balance to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could of cause fetch the current stock balance&#xA;from the database and calculate the difference &#xA;to what it needs to be but if I don't have to &#xA;do that extra database call, all the better.&#xA;And I still would need a way to get the product&#xA;catalog name from the inventory catalog name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to avoid that I wonder:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a pipeline that I could use that let &#xA;me set a fix number directly in the inventory &#xA;catalog without going through the product &#xA;catalog?&lt;/p&gt;&#xA;" OwnerUserId="3366" LastActivityDate="2018-04-16T23:35:19.493" Title="Updating stock balance in the inventory catalog" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11355" PostTypeId="1" CreationDate="2018-04-16T10:08:23.357" Score="0" ViewCount="190" Body="&lt;p&gt;Our Sitecore application has a separate content editorial and content delivery sites. We publish content and it was working fine till recent days. Recently from a week or two, the content is not immediately getting onto live site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We thought it may be a cache issue and did check the following steps suggested in this answers &lt;a href=&quot;https://sitecore.stackexchange.com/questions/649/content-does-not-show-after-publishing&quot;&gt;Content does not show after publishing,&lt;/a&gt; but all went in vain. The content is showing up on databases web and master but its not on live site. Some times we have to republish and sometimes we have to reset the app pool for the content to be on live site. And some other times the content will be published on its own after an hour or two. Please help. &lt;/p&gt;&#xA;" OwnerUserId="3472" LastActivityDate="2018-08-15T08:01:15.280" Title="Content update to Sitecore application is not going live immediately" Tags="|publishing|content-delivery|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11356" PostTypeId="1" CreationDate="2018-04-16T10:09:35.127" Score="1" ViewCount="241" Body="&lt;p&gt;On a manager root in EXM (9.0.1), the &quot;Final Confirmation Page&quot; is used for &lt;em&gt;both&lt;/em&gt; subscription confirmation (after a subscribed user clicks the &quot;confirm&quot; link in the confirmation email), as well as unsubscribe confirmation (after a subscribed user clicks the &quot;unsubscribe&quot; link in an email campaign).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How am I to separate the two and fulfill our requirement of having a unique message for subscription versus unsubscribe confirmation? Or am I forced to use a generic message like &quot;Your subscription preferences have been updated&quot;? The documentation is really not clear on this.&lt;/p&gt;&#xA;" OwnerUserId="3527" LastActivityDate="2018-06-03T12:10:44.043" Title="How to separate between Unsubscribe confirmation page and Subscription confirmation page?" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11358" PostTypeId="1" AcceptedAnswerId="11365" CreationDate="2018-04-16T10:30:38.417" Score="0" ViewCount="589" Body="&lt;p&gt;I have a WFFM form with a checkbox list field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is your favorite ice cream?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option-1(Checkbox)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option-2(Checkbox)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option-3(Checkbox)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have to include another option to the fields which is a text box to specify the enter the choice of interest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is your favorite ice cream?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option-1(Checkbox)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option-2(Checkbox)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option-3(Checkbox)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option-4(textbox)&lt;/strong&gt; - To specify any other option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to add add text box to checkbox list&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 Update 1&#xA;Sitecore WFFM 8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update-1&lt;/strong&gt;:&#xA;Using MVC and Custom save action to perform some operation based on user response on WFFM form.&#xA;Thanks&lt;/p&gt;&#xA;" OwnerUserId="955" LastEditorUserId="955" LastEditDate="2018-04-17T06:12:39.377" LastActivityDate="2018-04-17T06:12:39.377" Title="WFFM Checkbox list with textbox" Tags="|wffm|fieldtype|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11360" PostTypeId="1" AcceptedAnswerId="11363" CreationDate="2018-04-16T13:59:15.700" Score="2" ViewCount="1069" Body="&lt;p&gt;We are seeing the error &lt;code&gt;Tracker.Current is not initialized&lt;/code&gt; appearing in our logs, despite the fact that we have &lt;code&gt;Xdb.Enabled&lt;/code&gt; set to false and &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; set to true (we are using some basic personalization rules, but not storing anything to MongoDB). What other things should I check to eliminate this error message from the logs?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a side note, our layout does not have &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; and I assume this is not needed as we are not using Xdb; is this the right assumption?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-04-16T14:40:49.630" Title="Tracker.Current is not initialized error, despite Xdb.Enabled being turned off" Tags="|xdb|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11361" PostTypeId="2" ParentId="11321" CreationDate="2018-04-16T14:08:31.340" Score="0" Body="&lt;p&gt;This issue was due to simple user error.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Once the form was published live to our CD server form submissions started showing up in the Form Reports view&lt;/li&gt;&#xA;&lt;li&gt;Learned that there is a delay between submission of form data and when it shows up in the Form Reports view due to the Session Time Out configuration. User data is note flushed to xDB until the active session has ended. In our case this was set to 60 minutes. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1648" LastActivityDate="2018-04-16T14:08:31.340" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11362" PostTypeId="1" AcceptedAnswerId="11364" CreationDate="2018-04-16T14:31:35.810" Score="0" ViewCount="1202" Body="&lt;p&gt;I am trying to create a simple file upload through Sitecore Forms. I thought to create a custom form element to do this, but am unsure of how to go about this.&lt;/p&gt;&#xA;" OwnerUserId="3540" LastActivityDate="2018-04-16T14:58:50.027" Title="How to create a custom form element for file upload in Sitecore 9 Forms" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ClosedDate="2018-04-17T02:35:45.770" ContentLicense="CC BY-SA 3.0" />
  <row Id="11363" PostTypeId="2" ParentId="11360" CreationDate="2018-04-16T14:40:49.630" Score="7" Body="&lt;p&gt;You need to include &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; in your layout. Without this, Sitecore will not identify the request as being a legitimate one and instead detect it as being a robot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you have set &lt;code&gt;Xdb.Enabled = false&lt;/code&gt; and &lt;code&gt;Xdb.Tracking.Enabled = true&lt;/code&gt;, you are using &lt;a href=&quot;https://sitecore.stackexchange.com/a/357/135&quot;&gt;in-memory tracking of users&lt;/a&gt; which will allow you to personalize based on session activity. The tracker needs to be initialized to allow you to do this, which means the visitor needs to be identified as not being a robot first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should also &lt;a href=&quot;https://sitecore.stackexchange.com/a/4433/135&quot;&gt;read this answer&lt;/a&gt; which may help resolve issues with multi-server set up.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-04-16T14:40:49.630" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11364" PostTypeId="2" ParentId="11362" CreationDate="2018-04-16T14:58:50.027" Score="1" Body="&lt;p&gt;1) I would wait for next update and you will have it OOTB IMHO. I think that this functionality was omitted initially just to make Sitecore Forms working nicely in Sitecore 9 and they will add more and more functionality to pair it with WFFM module which will be deprecated for next major version&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) You can install WFFM for Sitecore 9 which has this functionality but be aware that WFFM will be deprecated in next major version of Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) If you really need it now with Sitecore Forms, you should create a new custom form element &quot;FileUpload&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should follow this &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_form_element&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; to achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find lot of articles on how to do fileupload with ASP.NET MVC. If you combine them with Sitecore documentation about creating custom form element, you will achieve your goal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also take a look and disassemble code of WFFM to see how it's working there and you can inspire your code based on that.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-04-16T14:58:50.027" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11365" PostTypeId="2" ParentId="11358" CreationDate="2018-04-16T17:46:22.743" Score="1" Body="&lt;p&gt;I don't think there are any out of the box fields for doing this, however you could:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Create your form with your checkboxes and a text field (for the 'Other Option') - this would be a separate field below the 4 checkboxes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Export the form to ascx: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/80/setting_up_and_configuring_web_forms/appearance/export_a_web_form_to_ascx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/80/setting_up_and_configuring_web_forms/appearance/export_a_web_form_to_ascx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Create a sublayout item, Assign the sublayout item to a content item &amp;amp;&#xA;Add a script similar to the following to the form:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;  var checkbox = document.getElementById(&quot;WebUserControl1_field_F2ACADD39B3C46A4A3036C63C0D60C3C&quot;);&#xA;  var textbox = document.getElementById(&quot;WebUserControl1_field_5339820707D14FAC88D66DCC8F81EB01&quot;).parentNode.parentNode;&#xA;  textbox.style.display = &quot;none&quot;;&#xA;  checkbox.onclick = function () {&#xA;    if (checkbox.checked) {&#xA;      textbox.style.display = &quot;block&quot;;&#xA;    }&#xA;    else {&#xA;      textbox.style.display = &quot;none&quot;;&#xA;    }&#xA;  }&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is more info on how to do this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/80/working_with_fields_actions_and_validations/fields/show_or_hide_form_fields_depending_on_other_field_values&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/80/working_with_fields_actions_and_validations/fields/show_or_hide_form_fields_depending_on_other_field_values&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative to this is to build you form with the additional checkbox (step 1 above) and then add classes to the fields in the form editor as shown here: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/80/using_web_forms/creating_web_forms/add_a_field_to_a_web_form&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/80/using_web_forms/creating_web_forms/add_a_field_to_a_web_form&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then using the classes to target the fields add some css to hide your textbox field by default and some javascript/jquery to the page to hide/show the textbox based on the selection of checkbox 4, e.g something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$('.checkbox4').change(function(){&#xA;    $(this).next('.other-textbox').toggle(this.checked);&#xA;}).change();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have a main js file you could include it there and scope it to a container or something so it only applies to this form.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-04-16T17:53:52.120" LastActivityDate="2018-04-16T17:53:52.120" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11366" PostTypeId="1" CreationDate="2018-04-16T19:08:38.330" Score="1" ViewCount="686" Body="&lt;p&gt;Our authors are requesting a publishing feature along the following lines. Let's say we have version 5 of an item approved, published, and visible on our live site. Our authors then edit version 6 of that item and approve it. How can we go about setting a future publish date time for version 6? Also, we do not want version 5 removed from our live site. We simply want version 6 published when the future publish date time arrives. I know from playing with publishing restrictions that if we set a future publishable time for this item, version 5 will be immediately removed from our live site, which we don't want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can this be done out of the box from Sitecore? If not, is there an existing app where this can be done?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3237" LastEditorUserId="1671" LastEditDate="2018-04-16T19:39:55.270" LastActivityDate="2018-04-16T21:25:52.860" Title="Scheduled Publishing of Specific Item Version" Tags="|publishing|versions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11367" PostTypeId="2" ParentId="11358" CreationDate="2018-04-16T19:23:48.833" Score="1" Body="&lt;p&gt;I would create custom checkbox list field type that would have checkbox &quot;Enable text option&quot; on it as a parameter. If checkbox &quot;Enable text option&quot; is checked on this field, textbox will be render but it would be grayed out. If you check it on form, textbox would be enabled and you can specify value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use javascript to enable / disable textbox when you check the checkbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can take a look further here how to create custom field in Sitecore WFFM 8.1 -&gt; &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/81/working_with_actions_and_validations/fields/create_a_custom_field_type&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/81/working_with_actions_and_validations/fields/create_a_custom_field_type&lt;/a&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would definetely dissesamble code for OOTB checkbox list and create your custom based on that.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-04-16T19:23:48.833" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11368" PostTypeId="2" ParentId="11366" CreationDate="2018-04-16T20:08:03.987" Score="1" Body="&lt;p&gt;In terms of auto-publishing at a specific time this is a really good module and it supports versions: &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xOXd8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xOXd8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See my answer here for more info on the module: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10371/scheduled-publish-unpublish-strategy/10375#10375&quot;&gt;Scheduled publish/unpublish strategy&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With regard to maintaining multiple urls for different versions of an item. This is not possible out of the box to my knowledge and doesn’t fit with how Sitecore works. An item has one published version and one url. Two urls pointed at one item (but with different urls) is not supported. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest instead of creating multiple versions your content editors copy the page and add the version to the page name (e.g my-page-v1, my-page-v2 etc) and then use the new module to publish the new page at a specific time. You could always have a listing page which listed all versions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It’s hard to say for sure with out more info on your use-case though.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Update&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8+ you can actually have more than one version of an item in the web database, this is used for the A/B testing functionality. You could perhaps write something custom leveraging the &lt;code&gt;PublishTestingVersions Processor&lt;/code&gt;&#xA; to achieve what you want but you would have to ensure the &lt;code&gt;RemoveOtherVersions Processor&lt;/code&gt; doesn't run. Something like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomVersionProcessor&#xA;{&#xA;    public void Process(Sitecore.Publishing.Pipelines.PublishVersion.PublishItemVersionArgs args)&#xA;    {&#xA;        // Custom logic here&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info can be found here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/multiple-item-versions-in-web-database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/multiple-item-versions-in-web-database&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-04-16T21:25:52.860" LastActivityDate="2018-04-16T21:25:52.860" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="11369" PostTypeId="1" AcceptedAnswerId="11395" CreationDate="2018-04-16T20:34:49.483" Score="1" ViewCount="1863" Body="&lt;p&gt;I am trying to swap partial views on my home page layout via jquery. I have 3 tabs which when clicked, would load their respective partial view into a placeholder on the main layout. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my controller file, I have created 3 ActionView methods (for each partial view), and also button click code using Jquery, but I keep getting a 404 error when I click a link, so something's going wrong somewhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller file&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using iehp.EventCalendar.Models;&#xA;using Sitecore;&#xA;using Sitecore.Data;&#xA;using Sitecore.Mvc.Controllers;&#xA;using System;&#xA;using System.Linq;&#xA;using System.Web.Mvc;&#xA;&#xA;namespace iehp.Controllers&#xA;{&#xA;    public class EventCalendarController : SitecoreController&#xA;    {&#xA;        public ActionResult EventCalendarCtrl()&#xA;        {&#xA;            //read config file &amp;amp; get parentGuid values&#xA;            var communityGuid = Sitecore.Configuration.Settings.GetSetting(&quot;communityEventCalendarFolderGuid&quot;);&#xA;            var communityResultsQty = Sitecore.Configuration.Settings.GetSetting(&quot;communityResultsQty&quot;);&#xA;&#xA;            var healthGuid = Sitecore.Configuration.Settings.GetSetting(&quot;healthEventCalendarFolderGuid&quot;);&#xA;            var healthResultsQty = Sitecore.Configuration.Settings.GetSetting(&quot;healthResultsQty&quot;);&#xA;&#xA;            int communityResultsQtyTemp = Int32.Parse(communityResultsQty);&#xA;            int healthResultsQtyTemp = Int32.Parse(healthResultsQty);&#xA;&#xA;            //init Sitecore db &#xA;            Database database = Context.Database;&#xA;&#xA;            var model = new EventViewModel();&#xA;            model.Item = database.GetItem(communityGuid);&#xA;            model.Community = model.Item.Children.ToList();&#xA;&#xA;            model.Item2 = database.GetItem(healthGuid);&#xA;            model.Health = model.Item2.Children.ToList();&#xA;&#xA;            //trunicate list to resultsQty from config&#xA;            ViewBag.communityList = model.Community.Where(x =&amp;gt; x.Fields[&quot;Active&quot;] != null &amp;amp;&amp;amp; x.Fields[&quot;Active&quot;].Value == &quot;1&quot;).Take(communityResultsQtyTemp);&#xA;            ViewBag.healthList = model.Health.Where(x =&amp;gt; x.Fields[&quot;Active&quot;] != null &amp;amp;&amp;amp; x.Fields[&quot;Active&quot;].Value == &quot;1&quot;).Take(healthResultsQtyTemp);&#xA;&#xA;            return PartialView(&quot;/Views/Components/_FADEventCalendarCtrl.cshtml&quot;, model);&#xA;        }&#xA;&#xA;        public ActionResult UrgentTabCtrl()&#xA;        {&#xA;            //read config file &amp;amp; get parentGuid values&#xA;            var urgentTab1Guid = Sitecore.Configuration.Settings.GetSetting(&quot;urgentTab1EventCalendarFolderGuid&quot;);&#xA;            var urgentTab1ResultsQty = Sitecore.Configuration.Settings.GetSetting(&quot;urgentTab1ResultsQty&quot;);&#xA;&#xA;            var urgentTab2Guid = Sitecore.Configuration.Settings.GetSetting(&quot;urgentTab2EventCalendarFolderGuid&quot;);&#xA;            var urgentTab2ResultsQty = Sitecore.Configuration.Settings.GetSetting(&quot;urgentTab2ResultsQty&quot;);&#xA;&#xA;            int urgentTab1ResultsQtyTemp = Int32.Parse(urgentTab1ResultsQty);&#xA;            int urgentTab2ResultsQtyTemp = Int32.Parse(urgentTab2ResultsQty);&#xA;&#xA;            //init Sitecore db &#xA;            Database database = Context.Database;&#xA;&#xA;            var model = new EventViewModel();&#xA;            model.Item3 = database.GetItem(urgentTab1Guid);&#xA;            model.UrgentTab1 = model.Item3.Children.ToList();&#xA;&#xA;            model.Item4 = database.GetItem(urgentTab2Guid);&#xA;            model.UrgentTab2 = model.Item4.Children.ToList();&#xA;&#xA;            //trunicate list to resultsQty from config&#xA;&#xA;            ViewBag.urgentTab1List = model.UrgentTab1.Where(x =&amp;gt; x.Fields[&quot;Active&quot;] != null &amp;amp;&amp;amp; x.Fields[&quot;Active&quot;].Value == &quot;1&quot;).Take(urgentTab1ResultsQtyTemp);&#xA;            ViewBag.urgentTab2List = model.UrgentTab2.Where(x =&amp;gt; x.Fields[&quot;Active&quot;] != null &amp;amp;&amp;amp; x.Fields[&quot;Active&quot;].Value == &quot;1&quot;).Take(urgentTab2ResultsQtyTemp);&#xA;&#xA;            return PartialView(&quot;/Views/Components/_UCEventCalendarCtrl.cshtml&quot;, model);&#xA;        }&#xA;&#xA;        public ActionResult PharmacyTabCtrl()&#xA;        {&#xA;            //read config file &amp;amp; get parentGuid values&#xA;            var pharmacyTab1Guid = Sitecore.Configuration.Settings.GetSetting(&quot;pharmacyTab1EventCalendarFolderGuid&quot;);&#xA;            var pharmacyTab1ResultsQty = Sitecore.Configuration.Settings.GetSetting(&quot;pharmacyTab1ResultsQty&quot;);&#xA;&#xA;            var pharmacyTab2Guid = Sitecore.Configuration.Settings.GetSetting(&quot;pharmacyTab2EventCalendarFolderGuid&quot;);&#xA;            var pharmacyTab2ResultsQty = Sitecore.Configuration.Settings.GetSetting(&quot;pharmacyTab2ResultsQty&quot;);&#xA;&#xA;            int pharmacyTab1ResultsQtyTemp = Int32.Parse(pharmacyTab1ResultsQty);&#xA;            int pharmacyTab2ResultsQtyTemp = Int32.Parse(pharmacyTab2ResultsQty);&#xA;&#xA;            //init Sitecore db &#xA;            Database database = Context.Database;&#xA;&#xA;            var model = new EventViewModel();  &#xA;            model.Item5 = database.GetItem(pharmacyTab1Guid);&#xA;            model.PharmacyTab1 = model.Item5.Children.ToList();&#xA;&#xA;            model.Item6 = database.GetItem(pharmacyTab2Guid);&#xA;            model.PharmacyTab2 = model.Item6.Children.ToList();&#xA;&#xA;            //trunicate list to resultsQty from config&#xA;            ViewBag.pharmacyTab1List = model.PharmacyTab1.Where(x =&amp;gt; x.Fields[&quot;Active&quot;] != null &amp;amp;&amp;amp; x.Fields[&quot;Active&quot;].Value == &quot;1&quot;).Take(pharmacyTab1ResultsQtyTemp);&#xA;            ViewBag.pharmacyTab2List = model.PharmacyTab2.Where(x =&amp;gt; x.Fields[&quot;Active&quot;] != null &amp;amp;&amp;amp; x.Fields[&quot;Active&quot;].Value == &quot;1&quot;).Take(pharmacyTab2ResultsQtyTemp);&#xA;&#xA;            return PartialView(&quot;/Views/Components/_PharmEventCalendarCtrl.cshtml&quot;, model);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Jquery&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(&quot;#urgentTab&quot;).on(&quot;click&quot;, function () {&#xA;    $.get('@Url.Action(&quot;EventCalendar&quot;,&quot;UrgentTabCtrl&quot;)', {}, function (response) {&#xA;        $(&quot;#eventCalendarBlock&quot;).html(response);&#xA;            });&#xA;        });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I'm hoping / expecting will happen when I click the #urgentTab link is that the #eventCalendarBlock div will get replaced with the new partial view. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However what actually happens is that I get an xhr 404 error that reads like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://[domain name]/@Url.Action(%22EventCalendar%22,%22UrgentTabCtrl%22)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's come to my attention that my attempt to do this might be correct, however as I'm trying it in regular MVC, Sitecore's MVC is slightly different, hence why it's not working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also learned that there are a couple of ways either through routing, or returning a json object that could make this work, but I haven't been able to find a complete enough example of either to adapt to my environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3055" LastActivityDate="2018-04-17T17:36:49.423" Title="loading partial view from jquery" Tags="|sitecore-api|webapi|javascript|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11370" PostTypeId="1" CreationDate="2018-04-16T21:58:53.753" Score="1" ViewCount="618" Body="&lt;p&gt;We are currently having Sitecore 8.2 update 6 runs on AWS. We are planning to implement Blue/Green deployment for zero downtime and disaster recovery. The plan is to have 2 set environments as Blue will have 1CM, 2 CDs (active) and Green will have 1CM, 2 CDs (standby). They both will share the same integrated environments including SQL, MONGODB and Solr so there is no need to update connection string. We will utilize Amazon Elastic Load Balance to route the traffic between Blue/Green environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is has anyone has implemented this type of set up before? Could you please share any drawbacks or concerns with this approach if any? The other aspect I am interested to know is there any automate way to tell load balance to route traffic to avoid manual work?&lt;/p&gt;&#xA;" OwnerUserId="3179" LastActivityDate="2024-01-25T06:08:41.037" Title="Sitecore hosting on AWS with Blue/Green deployment for zero downtime" Tags="|sitecore-query|deployment|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11371" PostTypeId="2" ParentId="4588" CreationDate="2018-04-16T22:05:11.017" Score="1" Body="&lt;p&gt;Just to follow up on this there were two things that we did to improve the performance and resolve the problems we were seeing, you may wish to look at these too:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove/Re-write any Fast Queries you have to use the Search APIs or&#xA;specific Sitecore Items Id's&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If using the Translate.Text() or Translate.TextByDomain() this uses fast queries under the hood so re-work how you use this or cache your dictionary items in memory to avoid lots of queries. More info on this here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/7083/sitecore-dictionary-performance-question/7085#7085&quot;&gt;Sitecore Dictionary Performance question&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Sitecore support did say they had an similar bug for SQL session state for 8.1 Update-1.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-04-16T22:05:11.017" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11372" PostTypeId="2" ParentId="11354" CreationDate="2018-04-16T23:35:19.493" Score="5" Body="&lt;p&gt;There's no simple &quot;Set product X to inventory Y&quot; command or pipeline, but here's how we've done it. I've included stubs for handling variants, but not the code that actually loads the variant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I preferred a pipeline, but I'll just delimit the blocks with comments to keep things simple. The pipeline was invoked once for each inventory update from a Command using a transaction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It also assumes that the &lt;code&gt;InventorySet&lt;/code&gt; has already been found and added to the context (we only do this once, so it's not part of this pipeline).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes, it's a fair bit of code unfortunately, but it does all the things that the BizFX UI does when you associate a product to an inventory set.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class UpdateInventoryArgument&#xA;{&#xA;    public string ProductId { get; set; }&#xA;    public int Quantity { get; set; }&#xA;}&#xA;&#xA;//////////////////////////////////&#xA;// ResolveSellableItemBlock&#xA;&#xA;// Inject&#xA;IFindEntityPipeline findEntityPipeline;&#xA;&#xA;var sellableItemId = $&quot;{CommerceEntity.IdPrefix&amp;lt;SellableItem&amp;gt;()}{arg.ProductId}&quot;;&#xA;var sellableItem = await findEntityPipeline.Run(new FindEntityArgument(typeof(SellableItem), sellableItemId, false), context) as SellableItem;&#xA;&#xA;if (sellableItem == null)&#xA;{&#xA;    context.Abort(await context.CommerceContext.AddMessage(context.GetPolicy&amp;lt;KnownResultCodes&amp;gt;().Warning, &quot;EntityNotFound&quot;,&#xA;        new[] { sellableItemId }, $&quot;SellableItem '{sellableItemId}' was not found.&quot;), context);&#xA;    return null;&#xA;}&#xA;&#xA;context.CommerceContext.AddUniqueObjectByType(sellableItem);&#xA;&#xA;ItemVariationComponent itemVariation = null;&#xA;&#xA;// Launch this pipeline with Options, not a Context, so that future blocks&#xA;// don't accidentally get the previous interation's variant&#xA;if (itemVariation != null)&#xA;{&#xA;    context.CommerceContext.AddUniqueObjectByType(itemVariation);&#xA;}&#xA;&#xA;//////////////////////////////////&#xA;// ResolveInventoryInformationBlock&#xA;&#xA;// Inject&#xA;IGetInventoryInformationPipeline getInventoryInformationPipeline;&#xA;&#xA;var sellableItem = context.CommerceContext.GetObject&amp;lt;SellableItem&amp;gt;();&#xA;var itemVariation = context.CommerceContext.GetObject&amp;lt;ItemVariationComponent&amp;gt;();&#xA;&#xA;var inventoryInformation = await getInventoryInformationPipeline.Run(new SellableItemInventorySetArgument(sellableItem.Id, arg.InventorySetId)&#xA;{&#xA;    VariationId = itemVariation != null ? itemVariation.Id : null&#xA;}, context);&#xA;&#xA;if (inventoryInformation == null)&#xA;{&#xA;    string inventoryInformationId = $&quot;{arg.InventorySetId.SimplifyEntityName()}-{sellableItem.ProductId}&quot;;&#xA;    if (itemVariation != null)&#xA;    {&#xA;        inventoryInformationId += $&quot;-{itemVariation.Id}&quot;;&#xA;    }&#xA;&#xA;    inventoryInformation = new InventoryInformation&#xA;    {&#xA;        Id = $&quot;{CommerceEntity.IdPrefix&amp;lt;InventoryInformation&amp;gt;()}{inventoryInformationId}&quot;,&#xA;        FriendlyId = inventoryInformationId,&#xA;        InventorySet = new EntityReference(arg.InventorySetId, &quot;&quot;),&#xA;        SellableItem = new EntityReference(sellableItem.Id, &quot;&quot;),&#xA;        VariationId = itemVariation != null ? itemVariation.Id : null&#xA;    };&#xA;&#xA;    inventoryInformation.GetComponent&amp;lt;TransientListMembershipsComponent&amp;gt;().Memberships.Add(CommerceEntity.ListName&amp;lt;InventoryInformation&amp;gt;());&#xA;}&#xA;&#xA;context.CommerceContext.AddUniqueObjectByType(inventoryInformation);&#xA;&#xA;////////////////////////&#xA;// UpdateInventoryInformationBlock&#xA;&#xA;var inventoryInformation = context.CommerceContext.GetObject&amp;lt;InventoryInformation&amp;gt;();&#xA;&#xA;entoryInformation = context.CommerceContext.GetObject&amp;lt;InventoryInformation&amp;gt;();&#xA;&#xA;if (inventoryInformation == null)&#xA;{&#xA;    return Task.FromResult((UpdateInventoryArgument)null);&#xA;}&#xA;&#xA;inventoryInformation.Quantity = arg.Quantity;&#xA;&#xA;return Task.FromResult(arg);&#xA;&#xA;//////////////////////&#xA;// PersistInventoryInformationPipeline&#xA;&#xA;// Inject&#xA;ICreateRelationshipPipeline createRelationshipPipeline;&#xA;IPersistEntityPipeline persistEntityPipeline;&#xA;&#xA;var inventoryInformation = context.CommerceContext.GetObject&amp;lt;InventoryInformation&amp;gt;();&#xA;var sellableItem = context.CommerceContext.GetObject&amp;lt;SellableItem&amp;gt;();&#xA;var itemVariation = context.CommerceContext.GetObject&amp;lt;ItemVariationComponent&amp;gt;();&#xA;&#xA;if (inventoryInformation == null)&#xA;{&#xA;    context.Abort(await context.CommerceContext.AddMessage(context.GetPolicy&amp;lt;KnownResultCodes&amp;gt;().Error, &quot;EntityNotFound&quot;,&#xA;        new object[0], $&quot;InventoryInformation was not found in context&quot;), context);&#xA;    return null;&#xA;}&#xA;&#xA;if (sellableItem == null)&#xA;{&#xA;    context.Abort(await context.CommerceContext.AddMessage(context.GetPolicy&amp;lt;KnownResultCodes&amp;gt;().Error, &quot;EntityNotFound&quot;,&#xA;        new object[0], $&quot;SellableItem was not found in context&quot;), context);&#xA;    return null;&#xA;}&#xA;&#xA;var isNew = inventoryInformation.IsPersisted == false;&#xA;&#xA;await persistEntityPipeline.Run(new PersistEntityArgument(inventoryInformation), context);&#xA;&#xA;if (isNew)&#xA;{&#xA;    await createRelationshipPipeline.Run(new RelationshipArgument(arg.InventorySetId, inventoryInformation.Id, &quot;InventorySetToInventoryInformation&quot;), context);&#xA;&#xA;    (itemVariation != null ? itemVariation.GetComponent&amp;lt;InventoryComponent&amp;gt;() : sellableItem.GetComponent&amp;lt;InventoryComponent&amp;gt;())&#xA;        .InventoryAssociations.Add(new InventoryAssociation&#xA;        {&#xA;            InventoryInformation = new EntityReference(inventoryInformation.Id, &quot;&quot;),&#xA;            InventorySet = new EntityReference(arg.InventorySetId, &quot;&quot;)&#xA;        });&#xA;&#xA;    await persistEntityPipeline.Run(new PersistEntityArgument(sellableItem), context);&#xA;}&#xA;&#xA;return arg;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-04-16T23:35:19.493" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11373" PostTypeId="1" CreationDate="2018-04-16T23:47:22.337" Score="1" ViewCount="172" Body="&lt;p&gt;Is there a way to disable Sitecore Ecommerce cache processing on startup?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This takes ages before its completed and Sitecore is running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version is 9.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;11660 11:33:40 INFO  Commerce.Connector - Processing response from CE. Skipping &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1676" LastEditorUserId="73" LastEditDate="2018-04-17T07:15:45.443" LastActivityDate="2018-04-17T07:15:45.443" Title="Disable Sitecore Ecommerce cache building on startup" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11374" PostTypeId="2" ParentId="1097" CreationDate="2018-04-17T01:32:50.670" Score="0" Body="&lt;p&gt;I think this is a bug in WFFM. I tried creating a brand new form on a clean install but it was still sending those un-expanded tokens for me. I ended up implementing a custom pipeline processor for processMessage. Basically, just copied the existing code from Sitecore.Forms.Core.Pipelines.ProcessMessage and add the code to remove un-expanded tokens at the end. It works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;       &amp;lt;processMessage&amp;gt;&#xA;         &amp;lt;processor type=&quot;Client.Sitecore.Custom.Forms.ProcessMessage, Client.Sitecore.Custom.Forms&quot; method=&quot;ExpandTokens&quot;     patch:instead=&quot;*[@method='ExpandTokens']&quot;&amp;gt;&#xA;                 &amp;lt;ItemRepository ref=&quot;/sitecore/wffm/itemRepository&quot;/&amp;gt;&#xA;                 &amp;lt;FieldProvider ref=&quot;/sitecore/wffm/fieldProvider&quot;/&amp;gt;&#xA;             &amp;lt;/processor&amp;gt;&#xA;       &amp;lt;/processMessage&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ProcessMessage&#xA;{&#xA;    private readonly string srcReplacer;&#xA;    private readonly string shortHrefReplacer;&#xA;    private readonly string shortHrefMediaReplacer;&#xA;    private readonly string hrefReplacer;&#xA;&#xA;    public IItemRepository ItemRepository { get; set; }&#xA;&#xA;    public IFieldProvider FieldProvider { get; set; }&#xA;&#xA;    public ProcessMessage()&#xA;        : this(DependenciesManager.WebUtil)&#xA;    {&#xA;    }&#xA;&#xA;    public ProcessMessage(IWebUtil webUtil)&#xA;    {&#xA;        Assert.IsNotNull((object)webUtil, &quot;webUtil&quot;);&#xA;        this.srcReplacer = string.Join(string.Empty, new string[3] { &quot;src=\&quot;&quot;, webUtil.GetServerUrl(), &quot;/~&quot; });&#xA;        this.shortHrefReplacer = string.Join(string.Empty, new string[3] { &quot;href=\&quot;&quot;, webUtil.GetServerUrl(), &quot;/&quot; });&#xA;        this.shortHrefMediaReplacer = string.Join(string.Empty, new string[3] { &quot;href=\&quot;&quot;, webUtil.GetServerUrl(), &quot;/~/&quot; });&#xA;        this.hrefReplacer = this.shortHrefReplacer + &quot;~&quot;;&#xA;    }&#xA;&#xA;    public void ExpandTokens(ProcessMessageArgs args)&#xA;    {&#xA;        Assert.IsNotNull((object)this.ItemRepository, &quot;ItemRepository&quot;);&#xA;        Assert.IsNotNull((object)this.FieldProvider, &quot;FieldProvider&quot;);&#xA;&#xA;        foreach (AdaptedControlResult field in args.Fields)&#xA;        {&#xA;            IFieldItem fieldItem = this.ItemRepository.CreateFieldItem(this.ItemRepository.GetItem(field.FieldID));&#xA;            var str1 = field.Value;&#xA;            var str2 = &quot;&quot;;&#xA;            try&#xA;            {&#xA;                str2 = this.FieldProvider.GetAdaptedValue(field.FieldID, str1);&#xA;            }&#xA;            catch(Exception)&#xA;            {&#xA;                str2 = str1;&#xA;            }&#xA;&#xA;&#xA;            if(string.IsNullOrWhiteSpace(str2))&#xA;            {&#xA;                Sitecore.Diagnostics.Log.Error(&quot;WFFM Field Error Field Name: &quot; + field.FieldName + &quot;; FieldID:&quot; +     field.FieldID, this);&#xA;            }&#xA;&#xA;            str2 = str2.Replace(&quot;src=\&quot;/sitecore/shell/themes/standard/-&quot;, this.srcReplacer)&#xA;                        .Replace(&quot;href=\&quot;/sitecore/shell/themes/standard/-&quot;, this.hrefReplacer)&#xA;                        .Replace(&quot;on\\w*=\&quot;.*?\&quot;&quot;, string.Empty);&#xA;&#xA;            if (args.MessageType == MessageType.Sms)&#xA;            {&#xA;                args.Mail.Replace(&quot;[{0}]&quot;.FormatWith((object)fieldItem.FieldDisplayName), str2);&#xA;                args.Mail.Replace(&quot;[{0}]&quot;.FormatWith((object)fieldItem.Name), str2);&#xA;            }&#xA;            else&#xA;            {&#xA;                if (!string.IsNullOrEmpty(field.Parameters) &amp;amp;&amp;amp; args.IsBodyHtml)&#xA;                {&#xA;                    if (field.Parameters.StartsWith(&quot;multipleline&quot;))&#xA;                        str2 = str2.Replace(Environment.NewLine, &quot;&amp;lt;br/&amp;gt;&quot;);&#xA;                    if (field.Parameters.StartsWith(&quot;secure&quot;) &amp;amp;&amp;amp; field.Parameters.Contains(&quot;&amp;lt;schidden&amp;gt;&quot;))&#xA;                        str2 = Regex.Replace(str2, &quot;\\d&quot;, &quot;*&quot;);&#xA;                }&#xA;                string str3 = Regex.Replace(args.Mail.ToString(), &quot;\\[&amp;lt;label id=\&quot;&quot; + (object)fieldItem.ID + &quot;\&quot;&amp;gt;[^&amp;lt;]+?&amp;lt;/label&amp;gt;]&quot;,     str2).Replace(fieldItem.ID.ToString(), str2);&#xA;                args.Mail.Clear().Append(str3);&#xA;            }&#xA;            args.From = args.From.Replace(&quot;[&quot; + (object)fieldItem.ID + &quot;]&quot;, str2);&#xA;            args.From = args.From.Replace(fieldItem.ID.ToString(), str2);&#xA;            args.To.Replace(string.Join(string.Empty, new string[3] { &quot;[&quot;, fieldItem.ID.ToString(), &quot;]&quot; }), str2);&#xA;            args.To.Replace(string.Join(string.Empty, new string[1] { fieldItem.ID.ToString()}), str2);&#xA;            args.CC.Replace(string.Join(string.Empty, new string[3] { &quot;[&quot;, fieldItem.ID.ToString(), &quot;]&quot; }), str2);&#xA;            args.CC.Replace(string.Join(string.Empty, new string[1] { fieldItem.ID.ToString()}), str2);&#xA;            args.Subject.Replace(string.Join(string.Empty, new string[3] { &quot;[&quot;, fieldItem.ID.ToString(), &quot;]&quot; }), str2);&#xA;            args.From = args.From.Replace(&quot;[&quot; + fieldItem.FieldDisplayName + &quot;]&quot;, str2);&#xA;            args.To.Replace(string.Join(string.Empty, new string[3] { &quot;[&quot;, fieldItem.FieldDisplayName, &quot;]&quot; }), str2);&#xA;            args.CC.Replace(string.Join(string.Empty, new string[3] { &quot;[&quot;, fieldItem.FieldDisplayName, &quot;]&quot; }), str2);&#xA;            args.Subject.Replace(string.Join(string.Empty, new string[3] { &quot;[&quot;, fieldItem.FieldDisplayName, &quot;]&quot;}), str2);&#xA;            args.From = args.From.Replace(&quot;[&quot; + field.FieldName + &quot;]&quot;, str2);&#xA;            args.To.Replace(string.Join(string.Empty, new string[3] { &quot;[&quot;, field.FieldName, &quot;]&quot; }), str2);&#xA;            args.CC.Replace(string.Join(string.Empty, new string[3] { &quot;[&quot;, field.FieldName, &quot;]&quot; }), str2);&#xA;            args.Subject.Replace(string.Join(string.Empty, new string[3] { &quot;[&quot;, field.FieldName, &quot;]&quot; }), str2);&#xA;&#xA;        }&#xA;&#xA;        //remove unexpanded tokens&#xA;        var str4 = Regex.Replace(args.Mail.ToString(), &quot;\\[&amp;lt;label id=\&quot;.*\&quot;&amp;gt;[^&amp;lt;]+?&amp;lt;/label&amp;gt;]&quot;, &quot;&quot;);&#xA;        args.Mail.Clear().Append(str4);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1762" LastEditorUserId="1762" LastEditDate="2018-04-17T02:42:02.177" LastActivityDate="2018-04-17T02:42:02.177" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11376" PostTypeId="2" ParentId="11373" CreationDate="2018-04-17T05:35:29.387" Score="1" Body="&lt;p&gt;Thanks for advice from Ryan Bailey.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The time it takes to rebuild the cache was caused by huge amount of products which were in the ECommerce engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The temporary solution for the development was to call the following APIs for the ECommerce server:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CleanEnvironment &lt;/li&gt;&#xA;&lt;li&gt;InitializeEnvironment&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Unfortunately the drawback of such solution was the fact that now there is no available catalogs in the ECommerce. Potentialy could be litigated by having limited product test data for dev environment.&lt;/p&gt;&#xA;" OwnerUserId="1676" LastActivityDate="2018-04-17T05:35:29.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11377" PostTypeId="2" ParentId="5915" CreationDate="2018-04-17T06:43:01.437" Score="1" Body="&lt;p&gt;The _content field is a field which contains the content of ALL your fields. It is NOT language dependent and does not remove stopwords on the solr side- so remove the &#xA;p.Content.Contains(searchParms.SearchTerm))&#xA;.Or(p =&gt; p.Content.Equals(searchParms.SearchTerm)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;predicates. &lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2018-04-17T06:43:01.437" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11378" PostTypeId="2" ParentId="11355" CreationDate="2018-04-17T06:47:17.550" Score="1" Body="&lt;p&gt;It sounds like the HTML cache that does not get cleared.&#xA;If you have created multiple  definitions, you need to make sure that the delivery site clears the HTML cache.&#xA;the publish:end:remote event has a HTMLCacheClearer defined with a list of sites to clear cache for.&#xA;Remember to add your custom sites to this list&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end:remote&quot; patch:source=&quot;Sitecore.ContentSearch.config&quot;&amp;gt;&#xA;&amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;&amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;&amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;&amp;lt;site&amp;gt;*Add your site(s) here*&amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&amp;lt;/handler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="214" LastActivityDate="2018-04-17T06:47:17.550" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11381" PostTypeId="1" AcceptedAnswerId="11383" CreationDate="2018-04-17T08:04:15.610" Score="1" ViewCount="643" Body="&lt;p&gt;I've been looking for best way to expose a api that returns data in Sitecore and I found some implementation which use ServicesApiContorller, what are the advantages of using this controller over normal MVC webapi contoroller?&lt;/p&gt;&#xA;" OwnerUserId="2447" LastActivityDate="2018-04-17T08:49:53.843" Title="Advantages of servicesapicontroller over api controller" Tags="|sitecore-api|sitecore-services-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11382" PostTypeId="2" ParentId="11369" CreationDate="2018-04-17T08:16:38.433" Score="2" Body="&lt;p&gt;This doesn't map 100% to what you want, but I normally wrap this in a WebApi controller and within that, call this code which renders HTML from a View Rendering:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.IO;&#xA;using System.Web;&#xA;using System.Web.Mvc;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Mvc.Common;&#xA;using Sitecore.Mvc.Controllers;&#xA;using Sitecore.Mvc.Pipelines;&#xA;using Sitecore.Mvc.Pipelines.Response.RenderRendering;&#xA;using Sitecore.Mvc.Presentation;&#xA;&#xA;public class RenderingHelper&#xA;{&#xA;    public string RenderViewRendering(string pathOrId, object model = null)&#xA;    {&#xA;        if (pathOrId == null)&#xA;        {&#xA;            throw new ArgumentNullException(nameof(pathOrId));&#xA;        }&#xA;&#xA;        var renderingItemInner = Sitecore.Context.Database.GetItem(pathOrId);&#xA;        if (renderingItemInner == null)&#xA;        {&#xA;            throw new ArgumentException(&quot;Item not found with path or id: &quot; + pathOrId);&#xA;        }&#xA;&#xA;        var pageContext = new PageContext&#xA;        {&#xA;            RequestContext = HttpContext.Current.Request.RequestContext&#xA;        };&#xA;&#xA;        ContextService.Get().Push(pageContext);&#xA;&#xA;        var rend = new Rendering&#xA;        {&#xA;            RenderingItem = new RenderingItem(renderingItemInner),&#xA;            Model = model&#xA;        };&#xA;&#xA;        using (var stringWriter = new StringWriter())&#xA;        {&#xA;            ContextService.Get().Push(GetViewContext(rend, stringWriter));&#xA;            PipelineService.Get().RunPipeline(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(rend, stringWriter));&#xA;            return stringWriter.ToString();&#xA;        }&#xA;    }&#xA;&#xA;    private static ViewContext GetViewContext(Rendering rend, TextWriter writer)&#xA;    {&#xA;        var contContext = new ControllerContext(HttpContext.Current.Request.RequestContext, new SitecoreController());&#xA;        HttpContext.Current.Request.RequestContext.RouteData.Values[&quot;controller&quot;] = &quot;Sitecore&quot;;&#xA;        IView view = new RenderingView(rend);&#xA;        return new ViewContext(contContext, view, new ViewDataDictionary(rend.Model), new TempDataDictionary(), writer);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've pieced together this code from several sources, and Googling around quickly maybe even from this site, but I'm afraid I've forgotten who deserves the credit. I also don't have the code which deals with Controller Renderings.&lt;/p&gt;&#xA;" OwnerUserId="85" LastActivityDate="2018-04-17T08:16:38.433" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11383" PostTypeId="2" ParentId="11381" CreationDate="2018-04-17T08:49:53.843" Score="1" Body="&lt;p&gt;ServicesApiController is just like a regular Web API controller +it was added benefits of the security and filter options which come the Sitecore.Service.Client. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-04-17T08:49:53.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11385" PostTypeId="1" AcceptedAnswerId="11400" CreationDate="2018-04-17T10:57:44.743" Score="5" ViewCount="3448" Body="&lt;p&gt;I have setup the sitecore 9 on my machine and used &lt;a href=&quot;https://buoctrenmay.com/2017/10/30/a-step-by-step-guide-for-sitecore-9-installation-on-your-machine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;setup guide&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have installed SQL Server 2017 and SOLR 6.6.2 in Remote Server.&#xA;[The OS is Windows Server 2012 R2 Standard]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed the instruction for setting up the SOLR, enabled the SSL ...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my dev machine [Windows 10], I have tried to execute install.ps1 file to install the Sitecore 9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the install.ps1 file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters &#xA;$prefix = &quot;sc9&quot; &#xA;$PSScriptRoot = &quot;D:\sc9_install&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot; &#xA;$sitecoreSiteName = &quot;$prefix.sc&quot; &#xA;$SolrUrl = &quot;https://sg1dev06:8983/solr&quot; &#xA;$SolrRoot = &quot;\\sg1dev06\solr-6.6.2&quot; &#xA;$SolrService = &quot;Solr_6.6.2&quot; &#xA;$SqlServer = &quot;SG1DEV06&quot; &#xA;$SqlAdminUser = &quot;sa&quot; &#xA;$SqlAdminPassword = &quot;AtmLg69K&quot; &#xA;&#xA;#$solrParams = @{     &#xA;#    Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;     &#xA;#    SolrUrl = $SolrUrl     &#xA;#    SolrRoot = $SolrRoot     &#xA;#    SolrService = $SolrService     &#xA;#    CorePrefix = $prefix &#xA;#} &#xA;&#xA;#Install-SitecoreConfiguration @solrParams &#xA;&#xA;#install client certificate for xconnect &#xA;$certParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;     &#xA;    CertificateName = &quot;$prefix.xconnect_client&quot; &#xA;    } &#xA; Install-SitecoreConfiguration @certParams -Verbose &#xA;&#xA;#install solr cores for xdb &#xA;$solrParams = &#xA;@{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;} &#xA;Install-SitecoreConfiguration @solrParams -Verbose &#xA;&#xA;#deploy xconnect instance &#xA;$xconnectParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;     &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip&quot;     &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    Sitename = $XConnectCollectionService     &#xA;    XConnectCert = $certParams.CertificateName     &#xA;    SqlDbPrefix = $prefix  &#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix     &#xA;    SolrURL = $SolrUrl      &#xA;    }&#xA;Install-SitecoreConfiguration @xconnectParams -Verbose &#xA;&#xA;#install solr cores for sitecore $solrParams = &#xA;$solrParams = @{     &#xA;    Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;} &#xA;&#xA;Install-SitecoreConfiguration @solrParams &#xA;&#xA;#install sitecore instance &#xA;$xconnectHostName = &quot;$prefix.xconnect&quot; &#xA;$sitecoreParams = @{     &#xA;    Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot;     &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_single.scwdp.zip&quot;  &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    SqlDbPrefix = $prefix  &#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix  &#xA;    SolrUrl = $SolrUrl     &#xA;    XConnectCert = $certParams.CertificateName     &#xA;    Sitename = $sitecoreSiteName         &#xA;    XConnectCollectionService = &quot;https://$XConnectCollectionService&quot;    &#xA;    } &#xA;Install-SitecoreConfiguration @sitecoreParams &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have got below error during the installation&#xA;&lt;a href=&quot;https://i.stack.imgur.com/coH2E.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/coH2E.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the Error Stack Trace for reference&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[-------------------------------------------- StartWebsite : ManageWebsite -------------------------------------------]&#xA;[StartWebsite]:[Start] sc9.xconnect&#xA;VERBOSE: Performing the operation &quot;Start-Website&quot; on target &quot;sc9.xconnect&quot;.&#xA;VERBOSE: Checking state of Website 'sc9.xconnect'&#xA;VERBOSE: Starting Website 'sc9.xconnect'&#xA;&#xA;[-------------------------------- ConfigureSolrSchemas [1] : ManageSolrSchema ----------------------------------------]&#xA;VERBOSE: Resolving ConfigFunction extension 'joinpath'&#xA;VERBOSE: Resolved 'Invoke-JoinPathConfigFunction'&#xA;VERBOSE: Invoke-JoinPathConfigFunction&#xA;VERBOSE: Joining: C:\inetpub\wwwroot\sc9.xconnect\App_Data solrcommands schema.json&#xA;VERBOSE: Result: C:\inetpub\wwwroot\sc9.xconnect\App_Data\solrcommands\schema.json&#xA;VERBOSE: Checking Solr instance 'https://sg1dev06:8983/solr'&#xA;VERBOSE: GET https://sg1dev06:8983/solr with 0-byte payload&#xA;&amp;gt;&amp;gt; TerminatingError(Invoke-WebRequest): &quot;Unable to connect to the remote server&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(Invoke-ManageSolrSchemaTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Could not find Solr instance: https://sg1dev06:8983/solr&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(Invoke-ManageSolrSchemaTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Could not find Solr instance: https://sg1dev06:8983/solr&quot;&#xA;Install-SitecoreConfiguration : Could not find Solr instance: https://sg1dev06:8983/solr&#xA;At D:\sc9_install\sc9_install.ps1:55 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;Install-SitecoreConfiguration : Could not find Solr instance: https://sg1dev06:8983/solr&#xA;At D:\sc9_install\sc9_install.ps1:55 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:02:25&#xA;**********************&#xA;Windows PowerShell transcript end&#xA;End time: 20180417184401&#xA;**********************&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Kindly help to resolve the issue.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Update 1&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;My SOLR is working fine and the certificate is valid&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nKTNy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nKTNy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My SIF Version is as below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WasoW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WasoW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I did manual SIF installation since the I got below error when I tried to install using script&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d5r7e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d5r7e.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2941" LastEditorUserId="2056" LastEditDate="2018-04-19T04:14:18.407" LastActivityDate="2018-04-19T04:14:18.407" Title="Installing Sitecore 9 in XP0 setup with SOLR instance on Remote Server" Tags="|solr|installation|sitecore-install-framework|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11386" PostTypeId="2" ParentId="11255" CreationDate="2018-04-17T11:14:35.550" Score="0" Body="&lt;p&gt;You might want to check if the DB users in your &lt;code&gt;connectionstring.config&lt;/code&gt; have enough privileges to generate a dacpac and/or if you have all the prerequisites installed on your machine: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SQL DAC Framework x64 &amp;amp; x86&lt;/li&gt;&#xA;&lt;li&gt;SQL CLR Types x64 &amp;amp; x86&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;All the dependencies are listed in the &lt;code&gt;Prerequisites.json&lt;/code&gt; SIF-file.&lt;/p&gt;&#xA;" OwnerUserId="3555" LastEditorUserId="3555" LastEditDate="2019-03-15T12:10:26.887" LastActivityDate="2019-03-15T12:10:26.887" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11387" PostTypeId="1" CreationDate="2018-04-17T12:07:48.373" Score="1" ViewCount="372" Body="&lt;p&gt;We are using ADFS Authenticator module, when we are trying to create a virtual user, we are getting the below error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Expecting state ‘Element’.. Encountered ‘Text’ with name ”, namespace&#xA;  ”.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Below is the code I am using in my applications.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt; Sitecore.Security.Accounts.User vuser =&#xA;Sitecore.Security.Authentication.AuthenticationManager.BuildVirtualUser(“athakur”, true); &lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3473" LastEditorUserId="1671" LastEditDate="2018-04-17T12:27:28.597" LastActivityDate="2023-07-20T04:22:30.593" Title="Getting Error while creating the Virtual User" Tags="|security|user-management|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11388" PostTypeId="1" CreationDate="2018-04-17T13:17:41.907" Score="0" ViewCount="219" Body="&lt;p&gt;In Sitecore 8 it used to be very simple to get the identifier of a contact in code, with this method &quot;contact.Identifiers.Identifier&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This seems to be no longer the case in Sitecore 9. Does anyone have an example of how i can get the identifier of a contact in Sitecore 9 programmatically?&lt;/p&gt;&#xA;" OwnerUserId="3557" LastEditorUserId="1671" LastEditDate="2018-04-17T13:20:10.057" LastActivityDate="2018-04-17T17:23:01.223" Title="How to get the identifier of a contact programmatically" Tags="|xdb|experience-profile|" AnswerCount="1" CommentCount="1" ClosedDate="2018-04-17T20:41:50.750" ContentLicense="CC BY-SA 3.0" />
  <row Id="11389" PostTypeId="2" ParentId="11385" CreationDate="2018-04-17T13:30:15.150" Score="2" Body="&lt;p&gt;Have you checked that Solr is available and working at this address? &lt;a href=&quot;https://sg1dev06:8983/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sg1dev06:8983/solr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also check that there are not HTTPS/SSL cert errors. SIF will fail the install if the Cert is invalid. You may need to re-install Solr if so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can try following my blog article here: &lt;a href=&quot;http://www.flux-digital.com/blog/install-sitecore-9-update-1-4-simple-steps/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.flux-digital.com/blog/install-sitecore-9-update-1-4-simple-steps/&lt;/a&gt;&#xA; and see if that helps with the setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I include a script that Jeremy Davis created that does all the Solr setup for you including the cert:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-04-17T13:30:15.150" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11390" PostTypeId="1" AcceptedAnswerId="12302" CreationDate="2018-04-17T13:30:28.423" Score="0" ViewCount="307" Body="&lt;p&gt;I added a custom processor to my &lt;code&gt;sitecore/processors/loggedin&lt;/code&gt; configuration, which is read fine when a user logs in through the standard Sitecore interface. However, if a user logs in with Azure AD using federated authentication in Sitecore 9.0.1, that processor doesn't appear to be firing when I step through with my VS debugger.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a different set of logged in processors I should be looking at for this login method?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-06-13T09:52:46.197" Title="LoggedIn processor with federated authentication" Tags="|federated-authentication|azure-ad|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11391" PostTypeId="2" ParentId="11388" CreationDate="2018-04-17T13:32:13.483" Score="3" Body="&lt;p&gt;In Sitecore 9 you can have multiple identifiers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Sitecore.XConnect.Contact you have the following property:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    //&#xA;    // Summary:&#xA;    //     A collection of identifiers associated with the contact. A contact can have zero&#xA;    //     or more identifiers.&#xA;    public IReadOnlyCollection&amp;lt;ContactIdentifier&amp;gt; Identifiers { get; } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using &lt;strong&gt;contact.Identifiers&lt;/strong&gt; you get all the identifiers and you can parse and get one of them depending on your requirements. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="85" LastEditDate="2018-04-17T17:23:01.223" LastActivityDate="2018-04-17T17:23:01.223" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11392" PostTypeId="2" ParentId="8635" CreationDate="2018-04-17T15:34:29.217" Score="0" Body="&lt;p&gt;Have you checked &quot;/sitecore/templates/System/Templates/Sections/Tagging/Tagging/__Semantics&quot; field is a Multilist With Search field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, if you created additional tag items under &quot;/sitecore/system/Settings/Buckets/Facets&quot;, try to remove them and test again.&lt;/p&gt;&#xA;" OwnerUserId="554" LastActivityDate="2018-04-17T15:34:29.217" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11395" PostTypeId="2" ParentId="11369" CreationDate="2018-04-17T17:36:49.423" Score="2" Body="&lt;p&gt;As there are many ways to solve this issue, I ended up using a combo of modifying my controller code and pulling in the view through an ajax call. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the final solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpGet]&#xA;    public ActionResult MethodName()&#xA;    {&#xA;       ...controller code goes here...&#xA;       return PartialView(&quot;/path/to/partialView.cshtml&quot;, obj); &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Jquery&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(&quot;#linkID&quot;).on(&quot;click&quot;, function () {&#xA;        $.ajax({&#xA;            type: &quot;GET&quot;,&#xA;            url: '/api/sitecore/{controller name}/{action}',&#xA;            contentType: &quot;application/json; charset=utf-8&quot;,&#xA;            cache: false,&#xA;            beforeSend: function () {&#xA;                $('#loading').show();&#xA;            },&#xA;            complete: function () {&#xA;                $('#loading').hide();&#xA;            },&#xA;            success: function (data) {&#xA;                $(&quot;#divtoDisplayPartial&quot;).html(data);&#xA;            },&#xA;            error: function (request, status, error) {&#xA;                console.log(request.responseText);&#xA;            }&#xA;        });&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Replace the {controller name} with the name of your controller from your controller file and replace the {action} with the name of your action(method). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also included an animated gif spinner in my #loading div, which is a nice to have while the view is loading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A big thanks to @ksbecker over at the sitecore slack community for helping me effort this solution. &lt;/p&gt;&#xA;" OwnerUserId="3055" LastActivityDate="2018-04-17T17:36:49.423" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11396" PostTypeId="1" CreationDate="2018-04-17T21:51:10.767" Score="2" ViewCount="239" Body="&lt;p&gt;Currently converting DEF from 1.4 to 2.0.1 and also from Sitecore 8.2 to Sitecore 9. I imported new code and templates from old site. I noticed some minor code changes between the different versions of DEF. I made those changes. No validation errors and no log errors. However when I run the pipeline batch process the code gets as far as the ValueAccessorConverter. It does not eventually continue on to the ReadResult part. I noticed a lot of template changes in Sitecore for the newest DEF have changed. Is there something I need to do differently in order for ReadResult to execute?&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; public class RedditFeedValueReader: IValueReader&#xA;{&#xA;    public readonly string FieldName;&#xA;&#xA;    public bool UseValueProperty { get; set; }&#xA;&#xA;    public RedditFeedValueReader(string fieldName)&#xA;    {&#xA;        this.FieldName = fieldName;&#xA;&#xA;    }&#xA;&#xA;    public ReadResult CanRead(object source, DataAccessContext context)&#xA;    {&#xA;        bool flag = source != null &amp;amp;&amp;amp; source is RedditSharp.Things.Post;&#xA;        return new ReadResult(DateTime.Now)&#xA;        {&#xA;            ReadValue = source,&#xA;            WasValueRead = flag,&#xA;&#xA;        };&#xA;    }&#xA;&#xA;    public ReadResult Read(object source, DataAccessContext context)&#xA;    {&#xA;        var flag = false;&#xA;        object readValue = (object) null;&#xA;        var feeditem = source as RedditSharp.Things.Post;&#xA;        if (feeditem != null)&#xA;        {&#xA;            if (FieldName == &amp;quot;Title&amp;quot; &amp;amp;&amp;amp; !string.IsNullOrEmpty(feeditem.Title))&#xA;            {&#xA;                readValue = feeditem.Title;&#xA;                flag = true;&#xA;            }&#xA;            else if (FieldName == &amp;quot;AuthorName&amp;quot; &amp;amp;&amp;amp; !string.IsNullOrEmpty(feeditem.AuthorName))&#xA;            {&#xA;                readValue = feeditem.AuthorName;&#xA;                flag = true;&#xA;            }&#xA;            else if (FieldName == &amp;quot;SelfText&amp;quot; &amp;amp;&amp;amp; !string.IsNullOrEmpty(feeditem.SelfText))&#xA;            {&#xA;                readValue = feeditem.SelfText;&#xA;                flag = true;&#xA;            }&#xA;            else if (FieldName == &amp;quot;Url&amp;quot; &amp;amp;&amp;amp; !string.IsNullOrEmpty(feeditem.Url.ToString()))&#xA;            {&#xA;                readValue = feeditem.Url;&#xA;                flag = true;&#xA;            }&#xA;        }&#xA;        return new ReadResult(DateTime.Now)&#xA;        {&#xA;            WasValueRead = flag,&#xA;            ReadValue = readValue&#xA;        };&#xA;    }&#xA;}&#xA;&#xA;  private static readonly Guid TemplateId = Guid.Parse(&amp;quot;{68BD9AAD-635F-40F3-9ACD-711662C59EEC}&amp;quot;);&#xA;    private IValueReader ValueReader { get; set; }&#xA;    private IValueWriter ValueWriter { get; set; }&#xA;&#xA;    public RedditFeedFieldValueAccessorConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;        this.SupportedTemplateIds.Add(TemplateId);&#xA;    }&#xA;    protected override ConvertResult&amp;lt;IValueAccessor&amp;gt; ConvertSupportedItem(ItemModel source)&#xA;    {&#xA;        var accessor = base.Convert(source);&#xA;        if (accessor == null)&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        var fieldName = base.GetStringValue(source, RedditFeedFieldValueValueAccessorItemModel.RedditFeedFieldName);&#xA;        if (string.IsNullOrEmpty(fieldName))&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        ValueWriter = this.GetValueWriter(source);&#xA;       // ValueReader= this.GetValueReader(source) ?? new RedditFeedValueReader(fieldName);&#xA;        if (accessor.ValueReader == null)&#xA;        {&#xA;            accessor.ValueReader = new RedditFeedValueReader(fieldName);&#xA;        }&#xA;&#xA;        if (ValueWriter == null)&#xA;        {&#xA;            ValueWriter = new PropertyValueWriter(fieldName);&#xA;        }&#xA;        return this.PositiveResult((IValueAccessor) new ValueAccessor());&#xA;    }&#xA; public class RedditFeedFieldValueAccessorConverter:ValueAccessorConverter&#xA;{&#xA;    private static readonly Guid TemplateId = Guid.Parse(&amp;quot;{68BD9AAD-635F-40F3-9ACD-711662C59EEC}&amp;quot;);&#xA;    private IValueReader ValueReader { get; set; }&#xA;    private IValueWriter ValueWriter { get; set; }&#xA;&#xA;    public RedditFeedFieldValueAccessorConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;        this.SupportedTemplateIds.Add(TemplateId);&#xA;    }&#xA;    protected override ConvertResult&amp;lt;IValueAccessor&amp;gt; ConvertSupportedItem(ItemModel source)&#xA;    {&#xA;        var accessor = base.Convert(source);&#xA;        if (accessor == null)&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        var fieldName = base.GetStringValue(source, RedditFeedFieldValueValueAccessorItemModel.RedditFeedFieldName);&#xA;        if (string.IsNullOrEmpty(fieldName))&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        ValueWriter = this.GetValueWriter(source);&#xA;       // ValueReader= this.GetValueReader(source) ?? new RedditFeedValueReader(fieldName);&#xA;        if (accessor.ValueReader == null)&#xA;        {&#xA;            accessor.ValueReader = new RedditFeedValueReader(fieldName);&#xA;        }&#xA;&#xA;        if (ValueWriter == null)&#xA;        {&#xA;            ValueWriter = new PropertyValueWriter(fieldName);&#xA;        }&#xA;        return this.PositiveResult((IValueAccessor) new ValueAccessor());&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="853" LastEditorUserId="2056" LastEditDate="2020-08-06T10:46:03.583" LastActivityDate="2023-12-19T22:01:25.167" Title="ReadResult not getting called" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="11397" PostTypeId="1" AcceptedAnswerId="11398" CreationDate="2018-04-18T02:38:58.393" Score="7" ViewCount="933" Body="&lt;p&gt;Currently, in our local environment, we are using Sitecore 9.0.1 XP0 topology but now when we will move to uat or production environments, we will need scaled environments. I need to know that how many servers are mandatory for Sitecore 9.0.1 XP1 basic installation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI: we are planning to have two web servers for load balancing.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="246" LastEditDate="2018-04-18T02:48:14.210" LastActivityDate="2018-04-18T16:16:04.383" Title="Number of servers in a standard Sitecore 9.0.1 XP1 Installation" Tags="|scaling|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11398" PostTypeId="2" ParentId="11397" CreationDate="2018-04-18T02:47:33.073" Score="3" Body="&lt;p&gt;With XP1 and two web servers for load balancing, you'll need the following:&lt;/p&gt;&#xA;&lt;h2&gt;On Prem  XP1 Configurations&lt;/h2&gt;&#xA;&lt;h3&gt;A Standard Sitecore XP1 Environment&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2 Servers for Content Delivery&lt;/li&gt;&#xA;&lt;li&gt;1 Server for Content Management&lt;/li&gt;&#xA;&lt;li&gt;1 Server for Processing&lt;/li&gt;&#xA;&lt;li&gt;1 Server for Reporting&lt;/li&gt;&#xA;&lt;li&gt;1 Server for xConnect Roles&lt;/li&gt;&#xA;&lt;li&gt;2+ Servers for SQL Server&lt;/li&gt;&#xA;&lt;li&gt;2+ Servers for SOLR / SOLR Cloud&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;For full detail on topologies, you can visit: &lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-vertically/built-in-topologies.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-vertically/built-in-topologies.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;On Prem - Absolute Minimum (Not Recommended)&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2 Servers Content Delivery&lt;/li&gt;&#xA;&lt;li&gt;1 Server - For Everything Sitecore&lt;/li&gt;&#xA;&lt;li&gt;1 SQL Server&lt;/li&gt;&#xA;&lt;li&gt;1 SOLR Server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;In this configuratuon, all of the Sitecore roles and xConnect are installed on a single server using different IIS sites. No redundancy, no scaling. Because 9 different server roles are running independently, but at the same time, performance will most likely be an issue.&lt;/p&gt;&#xA;&lt;h3&gt;On Prem Separate but Condensed&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2 Servers Content Delivery&lt;/li&gt;&#xA;&lt;li&gt;1 Server Content Management&lt;/li&gt;&#xA;&lt;li&gt;1 Server xDB (Containing Reporting and Processing as different IIS Sites, plus xConnect XP0)&lt;/li&gt;&#xA;&lt;li&gt;1 SQL Server&lt;/li&gt;&#xA;&lt;li&gt;1 SOLR Server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This gives you some separation, however processing of interactions may be slowed down significantly if you have a busy site.&lt;/p&gt;&#xA;&lt;h1&gt;Summary&lt;/h1&gt;&#xA;&lt;p&gt;At the end of the day, these are all separated IIS sites, you can combine them anyway you like. But if you're looking for Best Practice, the &amp;quot;Standard&amp;quot; is the way to go.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-04-18T12:12:37.493" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11399" PostTypeId="1" CreationDate="2018-04-18T05:29:25.373" Score="2" ViewCount="465" Body="&lt;p&gt;I have a Sitecore 9 instance that I'd like to deploy on Azure PaaS. I'm following the instructions here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/cloud/working_with_sitecore_azure_toolkit/overview/getting_started_with_sitecore_azure_toolkit&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/cloud/working_with_sitecore_azure_toolkit/overview/getting_started_with_sitecore_azure_toolkit&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been trying to package the solution with the Sitecore Azure Toolkit, and I'm currently stuck trying to run Start-SitecoreAzurePackaging.  I'm getting the error pasted below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried the solutions from the following pages with no success:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/3300/new-scwebdeploypackage-is-not-recognized&quot;&gt;New-SCWebDeployPackage is not recognized&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/019579&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/019579&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on what the issue might be?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;PS C:\sat&gt; Start-SitecoreAzurePackaging&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;cmdlet Start-SitecoreAzurePackaging at command pipeline position 1&#xA;  Supply values for the following parameters: SitecorePath:&#xA;  C:\inetpub\wwwroot\myTest DestinationFolderPath: C:\sat\wem&#xA;  CargoPayloadFolderPath: C:\sat\resources\9.0.0\CargoPayloads&#xA;  CommonConfigPath:&#xA;  C:\sat\resources\9.0.0\Configs\Common.Packaging.config.json&#xA;  SkuConfigPath:&#xA;  C:\sat\resources\9.0.0\Configs\XPSingle.Packaging.config.json&#xA;  ParameterXmlPath: C:\sat\resources\9.0.0\MsDeployXmls Connecting to&#xA;  database 'myTest_Core' on server '.'. Extracting schema Extracting&#xA;  schema from database&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;New-SCWebDeployPackage : Connecting to database 'myTest_Core' on server '.'. Extracting schema Extracting schema from database At&#xA;  C:\sat\tools\Sitecore.Cloud.Cmdlets.psm1:190 char:45&#xA;  + ... ckagePath = New-SCWebDeployPackage -Path $SitecorePath -Destination $ ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (Connecting to d...a from database:String) [New-SCWebDeployPackage], Excep    tion&#xA;      + FullyQualifiedErrorId : Microsoft.Extensions.Logging.EventId,Sitecore.Cloud.Cmdlets.Packaging.NewSCWebDeployPackage&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.IO.FileNotFoundException: Could not find file&#xA;  'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a&#xA;  -b4be-a53164a522d1\Sitecore.core.dacpac'. File name: 'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a-b4be-a53164a522d1\Sitecore.core.dacpac'&#xA;  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&#xA;  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess&#xA;  access, Int32 rights, Boolean useRights, FileShar e share, Int32&#xA;  bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String&#xA;  msgPath, Boolean bFromProxy, Boolea n useLongPath, Boolean checkHost) &#xA;  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess&#xA;  access, FileShare share, Int32 bufferSize, FileO ptions options,&#xA;  String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean&#xA;  checkHost)    at System.IO.File.InternalReadAllBytes(String path,&#xA;  Boolean checkHost)    at&#xA;  Sitecore.Cloud.Package.Common.FileSystemProvider.ReadFile(String&#xA;  fileName)    at&#xA;  Sitecore.Cloud.Packaging.WebDeployPackages.DatabasePackager.PackageDatabases(XDocument&#xA;  connStringFile)    at&#xA;  Sitecore.Cloud.Packaging.WebDeployPackages.WebDeployPackageBuilder.Build(SitecoreInstallationFolderTree&#xA;  scInstFold Tree, DirPath outputDir, String targetFileName, Boolean&#xA;  force, String version)    at&#xA;  Sitecore.Cloud.Cmdlets.Packaging.NewSCWebDeployPackage.ProcessRecord()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;New-SCWebDeployPackage : System.IO.FileNotFoundException: Could not find file&#xA;  'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a-b4be-a53164a522d1\Sitecore.core.dacpac'.&#xA;  File name:&#xA;  'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a-b4be-a53164a522d1\Sitecore.core.dacpac'&#xA;  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&#xA;  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess&#xA;  access, Int32 rights, Boolean useRights, FileShare share, Int32&#xA;  bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String&#xA;  msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)&lt;br&gt;&#xA;  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess&#xA;  access, FileShare share, Int32 bufferSize, FileOptions options, String&#xA;  msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)&lt;br&gt;&#xA;  at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)&#xA;  at Sitecore.Cloud.Package.Common.FileSystemProvider.ReadFile(String&#xA;  fileName)    at&#xA;  Sitecore.Cloud.Packaging.WebDeployPackages.DatabasePackager.PackageDatabases(XDocument&#xA;  connStringFile)    at&#xA;  Sitecore.Cloud.Packaging.WebDeployPackages.WebDeployPackageBuilder.Build(SitecoreInstallationFolderTree&#xA;  scInstFoldTree, DirPath outputDir, String targetFileName, Boolean&#xA;  force, String version)    at&#xA;  Sitecore.Cloud.Cmdlets.Packaging.NewSCWebDeployPackage.ProcessRecord()&#xA;  At C:\sat\tools\Sitecore.Cloud.Cmdlets.psm1:190 char:45&#xA;  + ... ckagePath = New-SCWebDeployPackage -Path $SitecorePath -Destination $ ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (System.IO.FileN...ProcessRecord():String) [New-SCWebDeployPackage],&#xA;  Excep    tion&#xA;      + FullyQualifiedErrorId : Microsoft.Extensions.Logging.EventId,Sitecore.Cloud.Cmdlets.Packaging.NewSCWebDeployPackage&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Could not find file&#xA;  'C:\Users\avi\AppData\Local\Temp\tempDacPacs0a610797-07eb-441a-b4be-a53164a522d1\Sitecore.core.&#xA;  dacpac'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3561" LastActivityDate="2019-09-08T20:11:55.290" Title="Packaging a Sitecore 9 solution with the Sitecore Azure Toolkit" Tags="|azure|paas|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11400" PostTypeId="2" ParentId="11385" CreationDate="2018-04-18T07:12:27.283" Score="7" Body="&lt;p&gt;I would recommend installing already Sitecore 9 Update 1 as you have Solr 6.6.2 installed. For Sitecore 9 Initial Release (that you are trying to install) Solr 6.6.1 is supported. Take a look here -&gt; &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think your biggest problem is that you have Solr on different machine than Sitecore. I haven't tried that myself by I would use subset of script on your Solr machine first to create cores and all of the other stuff and then run again another subset of your script on Sitecore machine to do the rest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Script that you run on Solr server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters &#xA;$prefix = &quot;sc9&quot; &#xA;$PSScriptRoot = &quot;D:\sc9_install&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot; &#xA;$sitecoreSiteName = &quot;$prefix.sc&quot; &#xA;$SolrUrl = &quot;https://sg1dev06:8983/solr&quot; &#xA;$SolrRoot = &quot;\\sg1dev06\solr-6.6.2&quot; &#xA;$SolrService = &quot;Solr_6.6.2&quot; &#xA;$SqlServer = &quot;SG1DEV06&quot; &#xA;$SqlAdminUser = &quot;sa&quot; &#xA;$SqlAdminPassword = &quot;AtmLg69K&quot; &#xA;&#xA;#install solr cores for xdb &#xA;$solrParams = &#xA;@{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;} &#xA;Install-SitecoreConfiguration @solrParams -Verbose &#xA;&#xA;#install solr cores for sitecore $solrParams = &#xA;$solrParams = @{     &#xA;    Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;} &#xA;&#xA;Install-SitecoreConfiguration @solrParams &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Script run on Sitecore server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters &#xA;$prefix = &quot;sc9&quot; &#xA;$PSScriptRoot = &quot;D:\sc9_install&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot; &#xA;$sitecoreSiteName = &quot;$prefix.sc&quot; &#xA;$SolrUrl = &quot;https://sg1dev06:8983/solr&quot; &#xA;$SolrRoot = &quot;\\sg1dev06\solr-6.6.2&quot; &#xA;$SolrService = &quot;Solr_6.6.2&quot; &#xA;$SqlServer = &quot;SG1DEV06&quot; &#xA;$SqlAdminUser = &quot;sa&quot; &#xA;$SqlAdminPassword = &quot;AtmLg69K&quot; &#xA;&#xA;#install client certificate for xconnect &#xA;$certParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;     &#xA;    CertificateName = &quot;$prefix.xconnect_client&quot; &#xA;    } &#xA; Install-SitecoreConfiguration @certParams -Verbose &#xA;&#xA;#deploy xconnect instance &#xA;$xconnectParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;     &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip&quot;     &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    Sitename = $XConnectCollectionService     &#xA;    XConnectCert = $certParams.CertificateName     &#xA;    SqlDbPrefix = $prefix  &#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix     &#xA;    SolrURL = $SolrUrl      &#xA;    }&#xA;Install-SitecoreConfiguration @xconnectParams -Verbose &#xA;&#xA;#install sitecore instance &#xA;$xconnectHostName = &quot;$prefix.xconnect&quot; &#xA;$sitecoreParams = @{     &#xA;    Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot;     &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_single.scwdp.zip&quot;  &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    SqlDbPrefix = $prefix  &#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix  &#xA;    SolrUrl = $SolrUrl     &#xA;    XConnectCert = $certParams.CertificateName     &#xA;    Sitename = $sitecoreSiteName         &#xA;    XConnectCollectionService = &quot;https://$XConnectCollectionService&quot;    &#xA;    } &#xA;Install-SitecoreConfiguration @sitecoreParams &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-04-18T07:42:23.570" LastActivityDate="2018-04-18T07:42:23.570" CommentCount="5" ContentLicense="CC BY-SA 3.0" />
  <row Id="11401" PostTypeId="1" AcceptedAnswerId="15313" CreationDate="2018-04-18T09:04:13.953" Score="9" ViewCount="3869" Body="&lt;p&gt;We are looking for possibility to reset xConnect Shard databases in Sitecore 9 to &quot;factory settings&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a developer I would like to reset these databases when there is some fault in inserted data when we are developing something new. We had an issue recently where some values in facets where not stored correctly which resulted in Experience Profile not being loaded at all and ended up with error/exception. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also our second thought is around integration environment were it would be useful from time to time to clean contact data, interactions and so on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Quick&quot; solution for now was to recreate Sitecore instance from scratch. We would like to avoid this time consuming approach in the future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As there is &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/deleting-data.html&quot; rel=&quot;noreferrer&quot;&gt;no possibility to delete data&lt;/a&gt; as per documentation programmatically is there any other option that you can think of?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-02-28T21:36:41.007" Title="Resetting xConnect Shard databases" Tags="|xconnect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11402" PostTypeId="2" ParentId="11401" CreationDate="2018-04-18T09:27:17.230" Score="7" Body="&lt;p&gt;You can do it deploying new shards and new shardmapmanager. Next exampple is to deploy new shards on Azure SQL. On premise you should use Sitecore.Xdb.Collection.Database.Sql for Premise installation. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You need to  get collectiondeployment tool from Sitecore XP Collection role WDP (Sitecore 9.0.1 rev. 171219 (Cloud)_xp1collection.scwdp.zip) &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Run next powershell script to deploy the new shards :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;param(&#xA;[string]$dbServer = &quot;y&quot;,&#xA;[string]$dbUser = &quot;sql&quot;,&#xA;[string]$dbPass = &quot;x&quot;,&#xA;[string]$shardMapManagerDbName = &quot;dbprefix.smm&quot;,&#xA;[string]$shardDbNamePrefix = &quot;dbprefix.shard&quot;,&#xA;[string]$shardDbNameSuffix = [string]::Empty,&#xA;[string]$totalShards = &quot;2&quot;,&#xA;[string]$shardMapNames = &quot;ContactIdShardMap,DeviceProfileIdShardMap,ContactIdentifiersIndexShardMap&quot;)&#xA;&#xA;$elapsed = [System.Diagnostics.Stopwatch]::StartNew()&#xA;try &#xA;{&#xA;Write-Host &quot;Database Server: $dbServer&quot;&#xA;&#xA;$invocationDir = Split-Path -Parent $MyInvocation.MyCommand.Path&#xA;$rootDir  = Join-Path -Path $invocationDir -ChildPath ..&#xA;&#xA;$exe = &quot;C:\foldertosqlshardingdeploymenttool\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe&quot;&#xA;$dacpac = &quot;C:\foldertoazuredacpac\Sitecore.Xdb.Collection.Database.Sql.Azure.dacpac&quot;&#xA;&#xA;Write-Host &quot;Xdb Collection Sql Deploy Tool: $exe&quot;&#xA;&#xA;if (Test-Path -path $exe) {&#xA;&#xA;Write-Host &quot;Create Xdb Collection Databases&quot;&#xA;&amp;amp; $exe &quot;/operation&quot; &quot;create&quot; &quot;/connectionstring&quot; &quot;&quot;&quot;user id=$dbUser`;password=$dbPass`;data source=$dbServer`;&quot;&quot;&quot; &quot;/dbedition&quot; &quot;&quot;&quot;Basic&quot;&quot;&quot; &quot;/shardMapManagerDatabaseName&quot; &quot;&quot;&quot;$shardMapManagerDbName&quot;&quot;&quot; &quot;/shardMapNames&quot; &quot;&quot;&quot;$shardMapNames&quot;&quot;&quot; &quot;/shardnumber&quot; &quot;&quot;&quot;$totalShards&quot;&quot;&quot;  &quot;/shardnameprefix&quot; &quot;&quot;&quot;$shardDbNamePrefix&quot;&quot;&quot; &quot;/shardnamesuffix&quot; &quot;&quot;&quot;$shardDbNameSuffix&quot;&quot;&quot; &quot;/dacpac&quot; &quot;&quot;&quot;$dacpac&quot;&quot;&quot;&#xA;Write-Host &quot;Create Xdb Collection Databases Complete&quot;&#xA;}&#xA;else&#xA;{&#xA;Write-Error &quot;Xdb Collection Sql Deploy Tool Not Found: $exe&quot;&#xA;}  &#xA;&#xA;} &#xA;finally &#xA;{&#xA;  Write-Host &quot;Total time: $($elapsed.Elapsed.ToString())&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;You need to create users for Collection DB&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the collectiondeployment you will find scripts for On Premises. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create DB Server login (you need to execute query on master DB)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CreateShardApplicationDatabaseServerLogin.sql&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    :SETVAR UserName username&#xA;&#xA;    :SETVAR Password yourpassword&#xA;&#xA;    IF(SUSER_ID('$(UserName)') IS NULL)&#xA;&#xA;    BEGIN&#xA;&#xA;      CREATE LOGIN [$(UserName)] WITH PASSWORD = '$(Password)';&#xA;&#xA;    END;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create SMM user CreateShardManagerApplicationDatabaseUser.sql&lt;/strong&gt;    &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  :SETVAR UserName username&#xA;&#xA;  BEGIN&#xA;&#xA;  CREATE USER [$(UserName)] FOR LOGIN [$(UserName)];&#xA;&#xA;  GRANT SELECT ON SCHEMA :: __ShardManagement TO [$(UserName)];&#xA;&#xA;  GRANT EXECUTE ON SCHEMA :: __ShardManagement TO [$(UserName)];&#xA;&#xA;  END;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create user for each Shard DB CreateShardApplicationDatabaseUser.sql&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;:SETVAR UserName username&#xA;&#xA;BEGIN&#xA;&#xA;CREATE USER [$(UserName)] FOR LOGIN [$(UserName)];&#xA;&#xA;EXEC [xdb_collection].[GrantLeastPrivilege] @UserName = '$(UserName)';&#xA;&#xA;END;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Grant permissions to user for SMM GrantShardMapManagerDbPermissions.sql&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     :SETVAR CollectionDbUserName username&#xA;&#xA;      GRANT SELECT ON SCHEMA :: __ShardManagement TO [$(CollectionDbUserName)]&#xA;&#xA;      GRANT EXECUTE ON SCHEMA :: __ShardManagement TO [$(CollectionDbUserName)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Grant permissions for shard used (repeat for each shard) GrantShardDbPermissions.sql&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      :SETVAR CollectionDbUserName username&#xA;&#xA;      EXEC [xdb_collection].[GrantLeastPrivilege] @UserName = '$(CollectionDbUserName)'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All this scripts should be run on &lt;strong&gt;SQLCMD&lt;/strong&gt; mode&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to delete solr indexes after you reset xDB dbs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Clean up Xdb Solr Cores&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://localhost:8983/solr/solrcorename_xdb/update?stream.body=&amp;lt;delete&amp;gt;&amp;lt;query&amp;gt;*:*&amp;lt;/query&amp;gt;&amp;lt;/delete&amp;gt;&amp;amp;commit=true&#xA;&#xA;&#xA;https://localhost:8990/solr/solrcorename_xdb_rebuild/update?stream.body=&amp;lt;delete&amp;gt;&amp;lt;query&amp;gt;*:*&amp;lt;/query&amp;gt;&amp;lt;/delete&amp;gt;&amp;amp;commit=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-04-19T10:29:24.590" LastActivityDate="2018-04-19T10:29:24.590" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11404" PostTypeId="2" ParentId="9143" CreationDate="2018-04-18T10:08:27.527" Score="5" Body="&lt;p&gt;I found that checking through the API can be achieved. Here is an example using Sitecore PowerShell Extensions.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PS master:\&amp;gt; [Sitecore.SecurityModel.License.LicenseManager]::GetEditorUserCount()&#xA;10&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-04-18T10:08:27.527" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11405" PostTypeId="1" CreationDate="2018-04-18T10:48:53.880" Score="1" ViewCount="312" Body="&lt;p&gt;How can I remove the disabled &quot;Register a Goal&quot; save actions from a WFFM form?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some reason, some of our Form items have this save action and I want to remove it, but cannot see how to do that. I tried turning on raw values, but I can't see the content for the &quot;Register a Goal&quot; action, only the markup for the email action (referring to the image below).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/spSir.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/spSir.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-04-18T11:53:29.927" Title="WFFM how to remove a &quot;Register a Goal&quot; save action" Tags="|xdb|wffm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11406" PostTypeId="2" ParentId="11405" CreationDate="2018-04-18T11:53:29.927" Score="5" Body="&lt;p&gt;You can remove it by deselecting it from the &lt;code&gt;Tracking&lt;/code&gt; field. Switch over to the Content Editor, the &lt;code&gt;Advanced&lt;/code&gt; section and then select &lt;code&gt;Goals&lt;/code&gt; option from the &lt;code&gt;Tracking&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then deselect the Goals in the popup, which will mean it is no longer listed in the Save Actions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aIfUo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aIfUo.png&quot; alt=&quot;WFFM Goals&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not aware of any other (easier) way of removing this, or disabling this completely unless you have &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; set to &lt;code&gt;false&lt;/code&gt; (but that means you longer have the ability to use Rules Engine for form fields or in-session personalization).&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-04-18T11:53:29.927" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11407" PostTypeId="1" CreationDate="2018-04-18T12:07:01.443" Score="1" ViewCount="249" Body="&lt;p&gt;I'm having an issue in my site.I'm using VirtualFolder property to change the site language content. I've a link 'Environment' and my default site language is Chinese. So,the URL looks like www.xyz.com/environment when I switch to English URL becomes www.xyz.com/en/environment but the problem here is when I again switch to Chinese language it strips the URL with '/en' So the URL becomes www.xyz.com/vironment which results the 404 not found error. Changing the Virtualfolder value solves the issue but I was looking for the permanent solution so that in future I may have link with any name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried changing the value of 'Languages.AlwaysStripLanguage' to false but didn't solve the issue for me.&#xA;Can anyone suggest me something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3379" LastActivityDate="2018-04-18T12:07:01.443" Title="Sitecore MultiLanguage Content changes the URL. Results 404, Not found error" Tags="|sitecore-client|content-editor|multilingual|sitecore-api|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11408" PostTypeId="2" ParentId="11243" CreationDate="2018-04-18T12:42:26.370" Score="0" Body="&lt;p&gt;This has been registered as a bug at Sitecore. My workaround is correct until a patch is delivered or the bug is fixed in future releases.&lt;/p&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2018-04-18T12:42:26.370" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11411" PostTypeId="2" ParentId="11341" CreationDate="2018-04-18T14:16:17.853" Score="2" Body="&lt;p&gt;In order to have the proper url for the &lt;code&gt;.pdf&lt;/code&gt;, you need to use the method &lt;code&gt;GetMediaUrl&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will generates the url in the proper way. Moreover, you can check the following &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6046/configuring-sitecore-to-display-pdfs-in-browser&quot;&gt;answer&lt;/a&gt; on how to open or display the pdf on the browser.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-04-18T14:16:17.853" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11412" PostTypeId="1" CreationDate="2018-04-18T14:19:03.093" Score="0" ViewCount="681" Body="&lt;p&gt;We are working on migration project where we are migrating from legacy CMS system to Sitecore 8.2 and we are migrating around 300  pages to Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the requirement where we have  is to Redirect users accessing some of the URL's from this external system to new system when this new System goes live.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Redirection would be something like this&lt;br&gt;&#xA;Legacy URL : &lt;a href=&quot;http://old_domain/en/press/pressreleases/10-16-2017/XXXXXXXXXXXXXXXXXXXX&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://old_domain/en/press/pressreleases/10-16-2017/XXXXXXXXXXXXXXXXXXXX&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;New URL : &lt;a href=&quot;http://new_domain/en/press/PressReleases/2017/October/XXXXXXXXXXXXXXXXXX&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://new_domain/en/press/PressReleases/2017/October/XXXXXXXXXXXXXXXXXX&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can some body guide me how do i do this.&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="73" LastEditDate="2018-04-18T14:20:16.580" LastActivityDate="2018-04-18T14:57:27.680" Title="Redirecting old URLs to new ones after migrating to Sitecore" Tags="|redirect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11413" PostTypeId="2" ParentId="11412" CreationDate="2018-04-18T14:57:27.680" Score="1" Body="&lt;p&gt;As Mark has said the Sitecore URL rewrite module is what is recommended for this: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/Url_Rewrite.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/Url_Rewrite.aspx&lt;/a&gt;&#xA;&lt;a href=&quot;https://github.com/iamandycohen/UrlRewrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/iamandycohen/UrlRewrite&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This module is similar to IIS rewrite rules and supports regex etc, however the re-write rules exist in Sitecore instead of in a web.config / redirects file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've used this before to great success as it is pretty flexible so should handle most scenarios. It also gives content editors visibility over what rules are in place which is much better than something hidden away that they can't see.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also developed a tool for importing a spreadsheet that contained the old an new urls and it auto-created the re-write url items for you. This saves a lot of time and user error when there are lots of urls to re-write. It supported multi-site too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will perhaps look to re-work it and make it available on the marketplace/github if this is something that would be useful to others.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-04-18T14:57:27.680" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="11414" PostTypeId="2" ParentId="11397" CreationDate="2018-04-18T16:02:46.250" Score="4" Body="&lt;p&gt;Dylan Young pointed out that this is likely an opinion-based answer, and I agree. It will completely depend on your solution and how you plan on using the different roles. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which features you use and how much you use them will dictate your production setup.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Basic recommendations&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In production XP1 you cannot use Lucene, so that means you need a server running Solr. You could technically run Solr on the same server with other shared services, but you will most likely want this to be isolated in most scenarios.&lt;/li&gt;&#xA;&lt;li&gt;You should likely make sure xDB Collection shards are on dedicated resources and not sharing with other dbs.&lt;/li&gt;&#xA;&lt;li&gt;In most cases, the analytics/reporting databases (i.e. processing tasks/pools/reporting) should also be isolated to make sure processing tasks don't consume the IO needed for content databases &lt;/li&gt;&#xA;&lt;li&gt;Content Delivery should be isolated from Content Management, so there's two servers minimum there when you scale out, even if you run Processing/Reporting alongside CM. You likely have at least one more Content Delivery for High Availability.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;What do you need?&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What kind of traffic levels do you need to meet?&lt;/li&gt;&#xA;&lt;li&gt;Are you going to be running Sitecore Connect or Data Exchange Framework regularly?&lt;/li&gt;&#xA;&lt;li&gt;Do you have additional integrations to xConnect, like in-store applications?&lt;/li&gt;&#xA;&lt;li&gt;Are you triggering a lot of live events from the CD?&lt;/li&gt;&#xA;&lt;li&gt;Do you have surge traffic patterns throughout the year?&lt;/li&gt;&#xA;&lt;li&gt;What is your implementation code going to be doing?&lt;/li&gt;&#xA;&lt;li&gt;Are you running transactional revenue through your site?&lt;/li&gt;&#xA;&lt;li&gt;What kind of performance numbers do you need?&lt;/li&gt;&#xA;&lt;li&gt;What are your requirements for High Availability?&lt;/li&gt;&#xA;&lt;li&gt;Do you have Disaster Recovery requirements? If so, what do you require in your DR scenario?&lt;/li&gt;&#xA;&lt;li&gt;How often do you publish, and how much do you publish?&lt;/li&gt;&#xA;&lt;li&gt;Where are your visitors? Do you have a global delivery need?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;All of these, and other factors, dictate what infrastructure you need.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Be ready to change&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In the end, my recommendation is to deploy in such a way that you can be flexible and react. If you try to overprovision up front you will inevitably have it wrong and need to change, so make sure that you have put out an infrastructure model where you can easily scale where you find bottlenecks and are not stuck and scrambling to respond to a change in infrastructure requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Separating out the roles will allow you to distribute across servers and scale horizontally more easily. They don't necessarily need their own server to start, but if you scale out fully and share some resources initially it will be easier to spread out.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Takeaways&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;&quot;It depends&quot;&lt;/strong&gt;. Number of servers will be dictated by scenario.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Know your Scenario&lt;/strong&gt;. You need to think through what you are going to do to plan.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Be flexible&lt;/strong&gt;. Separate roles, be ready for change.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2018-04-18T16:16:04.383" LastActivityDate="2018-04-18T16:16:04.383" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11415" PostTypeId="1" CreationDate="2018-04-18T16:09:28.567" Score="3" ViewCount="370" Body="&lt;p&gt;On Sitecore 8.2, I'm trying to do a big content sync to bring my Dev environment up to date with the production environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a large package of the entire content node, and I'm trying to install it to Dev and just overwrite everything. My installation is failing with the message &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Object reference not set to an instance of an object.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is there a way that I can make the installation continue when an error occurs and just skip the current item? &lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2018-04-18T16:31:45.290" LastActivityDate="2018-09-23T16:01:32.897" Title="Can I make a package installation skip over errors and exceptions?" Tags="|installation|packages|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11416" PostTypeId="1" CreationDate="2018-04-18T18:07:47.430" Score="5" ViewCount="167" Body="&lt;p&gt;I have an interesting problem.  On my home page I have multiple controls that link to items (articles).  The controls are in the Final Rendering of the home page and the data source for the control is set to an article item.  I use &lt;code&gt;RenderingContext.Current.ContextItem&lt;/code&gt; to access the item and pull info from the fields contained therein.  I have fields used specifically for the home page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is that we have &lt;strong&gt;User A&lt;/strong&gt; who is editing the home page in Experience Editor.  &lt;strong&gt;User B&lt;/strong&gt; edits one of the items that is linked from the home page.  &lt;strong&gt;User B&lt;/strong&gt; locks &amp;amp; edits the item and then saves &amp;amp; unlocks the item.  &lt;strong&gt;User A&lt;/strong&gt; then changes something OTHER THAN &lt;strong&gt;User B's&lt;/strong&gt; item and when he saves the home page it will overwrite &lt;strong&gt;User B's&lt;/strong&gt; changes without warning.  If &lt;strong&gt;User A&lt;/strong&gt; edits the same item as &lt;strong&gt;User B&lt;/strong&gt; then he will get a warning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are in a fast-paced, deadline environment so &lt;strong&gt;User A&lt;/strong&gt; cannot edit the home page exclusively while other users stop working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One possible solution is that there is an &quot;in-between layer&quot; of items that contain the information necessary for the home page and have links to the items defined in it (see sample template fields below).  But I don't know how to do something like that in Experience Editor.  This would put a layer of separation in-between the article items and the home page so that our home page user cannot overwrite the other editor's changes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Data&#xA;    Headline:&#xA;    Blurb:&#xA;    Link to story:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Hecak.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hecak.jpg&quot; alt=&quot;How the components are setup on the home page currently&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="933" LastEditorUserId="933" LastEditDate="2018-04-18T18:39:21.247" LastActivityDate="2023-07-24T07:01:18.980" Title="Experience Editor overwriting items edited elsewhere" Tags="|experience-editor|content-management|" AnswerCount="0" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11417" PostTypeId="2" ParentId="11396" CreationDate="2018-04-18T18:26:35.520" Score="0" Body="&lt;p&gt;Try to override &lt;strong&gt;GetValueWriter&lt;/strong&gt; instead of &lt;strong&gt;ConvertResult&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SupportedIds(&quot;{68BD9AAD-635F-40F3-9ACD-711662C59EEC}&quot;)]&#xA;public class RedditFeedFieldValueAccessorConverter : ValueAccessorConverter&#xA;{&#xA;    public RedditFeedFieldValueAccessorConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;    }&#xA;&#xA;    protected override IValueReader GetValueReader(ItemModel source)&#xA;    {&#xA;        IValueReader valueReader = base.GetValueReader(source);&#xA;        if (valueReader != null)&#xA;        {&#xA;            return valueReader;&#xA;        }&#xA;&#xA;        var fieldName = base.GetStringValue(source, RedditFeedFieldValueValueAccessorItemModel.RedditFeedFieldName);&#xA;        if (string.IsNullOrEmpty(fieldName))&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        return new RedditFeedValueReader(fieldName);&#xA;    }&#xA;&#xA;    protected override IValueWriter GetValueWriter(ItemModel source)&#xA;    {&#xA;        IValueWriter valueWriter = base.GetValueWriter(source);&#xA;        if (valueWriter != null)&#xA;        {&#xA;            return valueWriter;&#xA;        }&#xA;&#xA;        var fieldName = base.GetStringValue(source, RedditFeedFieldValueValueAccessorItemModel.RedditFeedFieldName);&#xA;        if (string.IsNullOrEmpty(fieldName))&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        return new PropertyValueWriter(fieldName);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-04-18T20:45:45.413" LastActivityDate="2018-04-18T20:45:45.413" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="11418" PostTypeId="2" ParentId="5344" CreationDate="2018-04-18T18:53:50.237" Score="3" Body="&lt;p&gt;Please make sure you have the Latest MS build version tools. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can get the Latest versions from &lt;a href=&quot;https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recommended for sitecore is to use Visual Studio 2017 and Build Tools For Visual Studio 2017. You can also use offline installer by pointing to the directory and running this command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;vs_buildtools.exe --add Microsoft.VisualStudio.Workload.MSBuildTools --quiet&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then run &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm uninstall -g node-gyp&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;npm install -g node-gyp&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Making sure that those node libs are not affected. Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-04-18T18:53:50.237" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11419" PostTypeId="2" ParentId="11387" CreationDate="2018-04-18T19:24:25.310" Score="1" Body="&lt;p&gt;Here is what worked for me:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;                //Specify with the domain name&#xA;                var virtualUser = Sitecore.Security.Authentication.AuthenticationManager.BuildVirtualUser(String.Format(&quot;extranet\\{0}&quot;, user.Email), true);&#xA;&#xA;                // You can add roles to the Virtual user                    virtualUser.Roles.Add(Sitecore.Security.Accounts.Role.FromName(&quot;extranet\\Anonymous&quot;));&#xA;&#xA;                // You can even work with the profile if you wish&#xA;                virtualUser.Profile.SetCustomProperty(&quot;CustomProperty&quot;, user.UserName);&#xA;                virtualUser.Profile.Email = user.Email;&#xA;                virtualUser.Profile.Name = user.DisplayName;&#xA;                virtualUser.Profile.FullName = user.UserName;&#xA;&#xA;                virtualUser.Profile.SetCustomProperty(&quot;Country&quot;, user.Country);&#xA;&#xA;                //And finally, if you wish to login the virtual user                    Sitecore.Security.Authentication.AuthenticationManager.LoginVirtualUser(virtualUser);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2812" LastActivityDate="2018-04-18T19:24:25.310" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11420" PostTypeId="1" AcceptedAnswerId="11421" CreationDate="2018-04-18T20:50:48.567" Score="3" ViewCount="981" Body="&lt;p&gt;We have a Sitecore 9 website, where we have set up Federated authentication to login to Sitecore using Facebook and Google. Logging into Sitecore using these social networks is working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QNlde.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QNlde.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone please point me to an example of how to integrate social login with the front end website? Previous versions using Social Connected Module had a rendering I could drop. How do we do this in Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastEditorUserId="3567" LastEditDate="2018-04-18T20:57:37.147" LastActivityDate="2018-04-18T22:19:02.750" Title="Facebook / Google login for website with Federated Authentication" Tags="|federated-authentication|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11421" PostTypeId="2" ParentId="11420" CreationDate="2018-04-18T21:09:37.187" Score="3" Body="&lt;p&gt;The Habitat v9 branch has a working example of how to implement this. Blog available here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/habitat-federated-authentication-for-sitecore-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/habitat-federated-authentication-for-sitecore-9&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Feature.Accounts module configures the use of the Facebook&#xA;  provider, but it will also show additional buttons to any providers&#xA;  you configure in the config file:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/feature/v9/src/Feature/Accounts/code/App_Config/Include/Feature/Feature.Accounts.config&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/feature/v9/src/Feature/Accounts/code/App_Config/Include/Feature/Feature.Accounts.config&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-04-18T21:09:37.187" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11422" PostTypeId="2" ParentId="4321" CreationDate="2018-04-18T21:45:19.083" Score="0" Body="&lt;p&gt;I had this same issue. For me the Unicorn source folder was wrong in the config file. When updating from Habitat SC8 to SC9 (feature/v9 branch) they moved the config file. I just had to update my &quot;sourceFolder&quot; in Habitat.Dev.config and re-run gulp and everything worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Habitat Sitecore 8 config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/src/Project/Habitat/code/App_Config/Include/Project/z.Habitat.DevSettings.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Habitat Sitecore 9 config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/src/Project/Habitat/code/App_Config/Environment/Project/Habitat.Dev.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3566" LastActivityDate="2018-04-18T21:45:19.083" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11424" PostTypeId="1" AcceptedAnswerId="13585" CreationDate="2018-04-19T04:03:48.740" Score="6" ViewCount="5959" Body="&lt;p&gt;I have a (hopefully) simple question about creating a custom submit action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My template for the submit action is /sitecore/templates/System/Forms/Submit Action and I only need to use the FormSubmitContext parameter in the execute method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the method signature looks like this then the execute method is never hit. The constructor is hit. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override bool Execute(string value, FormSubmitContext formSubmitContext)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My class derives from SubmitActionBase like so &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SendContactEmail : SubmitActionBase&amp;lt;string&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I change like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SendContactEmail : SubmitActionBase&amp;lt;RedirectActionData&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and method&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override bool Execute(RedirectActionData data, FormSubmitContext formSubmitContext)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And add a reference to the existing redirect action in the core database in the editor field then my execute method will be hit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8u5Bp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8u5Bp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To simply my question the constructor IS being hit so I can see that sitecore is instantiating the class but the execute method is not being called possibly because the string parameter is not being passed &lt;/p&gt;&#xA;" OwnerUserId="1378" LastEditorUserId="1378" LastEditDate="2018-04-19T07:53:54.593" LastActivityDate="2021-02-01T09:17:02.887" Title="Custom Submit Action Sitecore 9 Forms" Tags="|sitecore-forms|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11426" PostTypeId="1" CreationDate="2018-04-19T07:15:36.053" Score="2" ViewCount="506" Body="&lt;p&gt;I want to use the most secure TLS 1.2 on Sitecore Azure Web apps for all 4 roles - CD, CM, PRC and REP.&#xA;I did not do any changes in Analytics processing and reporting - so, I do not deploy my code to PRC and REP roles anymore.&#xA;Will it still work if I enable TLS 1.2 for all 4 web apps or I need to deploy some code there as well to alter ServicePointManager.SecurityProtocol?&lt;/p&gt;&#xA;" OwnerUserId="181" LastEditorUserId="312" LastEditDate="2018-04-19T11:05:55.090" LastActivityDate="2018-04-20T12:52:41.053" Title="Sitecore Azure WebApp and TLS 1.2" Tags="|security|azure|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11428" PostTypeId="2" ParentId="11424" CreationDate="2018-04-19T08:25:47.957" Score="4" Body="&lt;p&gt;I got this to work using a different approach. I implemented ISubmitAction and the ExecuteAction() method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then add an FormActionError.ErrorMessage if the submit action fails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps someone. I did test with and without specifying the assembly name as mentioned by Peter but believe if you are using Helix you do need it.&lt;/p&gt;&#xA;" OwnerUserId="1378" LastActivityDate="2018-04-19T08:25:47.957" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11429" PostTypeId="1" AcceptedAnswerId="11430" CreationDate="2018-04-19T10:06:56.020" Score="1" ViewCount="517" Body="&lt;p&gt;I installed Sitecore Connect for Salesforce 2.0.1 and I set up environment using manual for 2.0.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, after starting Pipeline Batch &quot;xConnect Contacts to Salesforce Sync&quot; I get info message that no entities were read from xConnect although I created few contacts in database using xConnect API:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&lt;code&gt;INFO [Data Exchange] No entities were read from xConnect. (pipeline: Read Contacts from xConnect, pipeline step: Read Contacts from xConnect, pipeline step identifier: ef308355-94e3-444c-9f8f-164fe26f3f8a&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked xDB database and I saw created contacts. After debugging suspicious class I found that xdbContext.Contacts.GetBatchEnumerator() returns TotalCount property 0 which is probably the cause of &quot;No entities...&quot; message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clue why this happens?  &lt;/p&gt;&#xA;" OwnerUserId="3570" LastActivityDate="2018-04-21T00:19:48.423" Title="Read Contact for xConnect pipeline returns &quot;No entities were read from xConnect&quot;" Tags="|xdb|xconnect|data-exchange-framework|salesforce-connect|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 3.0" />
  <row Id="11430" PostTypeId="2" ParentId="11429" CreationDate="2018-04-19T12:12:47.750" Score="3" Body="&lt;p&gt;When querying for the contacts, the search usually goes through the xConnect Search role to search the xDB Index. If you are not getting results, you might want to check to make sure that your contacts are in the index.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Checking Contacts&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;To check if contacts are in the index, you should visit your Solr web admin portal. From there, you would run a query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The URL will be something like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;https://127.0.0.1:8961/solr/#/sc9_xdb/query&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;... where [127.0.0.1:8961] is the URL and port for accessing your Sorl instance and [sc9_xdb] is the name of your xDB Index Core.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Possible issues&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If contacts are not in the index, this could be one of several issues:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your contacts are anonymous and not being indexed. You can update configuration to index anonymous contacts (for testing purposes) or you can identify your contacts.&lt;/li&gt;&#xA;&lt;li&gt;The search indexing service is not running, or throwing errors, and not updating your index. Check the Search Indexer logs.&lt;/li&gt;&#xA;&lt;li&gt;Something might be up with your Solr instance, but this is less likely.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2018-04-21T00:19:48.423" LastActivityDate="2018-04-21T00:19:48.423" CommentCount="7" ContentLicense="CC BY-SA 3.0" />
  <row Id="11434" PostTypeId="1" CreationDate="2018-04-19T19:50:27.557" Score="0" ViewCount="350" Body="&lt;p&gt;I'm trying to go through all the Angular tutorial from the JSS.Sitecore side but I came across multiple issue.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The examples don't match the code that is getting generated &lt;/li&gt;&#xA;&lt;li&gt;Getting missing modules that are not longer available online&lt;/li&gt;&#xA;&lt;li&gt;It is displaying the same component 3 times&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;These are my errors:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;building modules 3/3 modules 0 active[HPM] Proxy created: [ '/data',&#xA;  '/sitecore/api/layout/render',&#xA;  '/sitecore/api/jss/dictionary',&#xA;  '/sitecore/api/jss/contentsvc' ]  -&amp;gt;  http://localhost:3042&#xA;Unable to load manifest compiler babel-core/register (normally not a problem): Cannot find module 'babel-core/register'&#xA;path or pattern './sitecore/pipelines/**/*.patch.js' did not match any files.&#xA;copied media from: ./sitecore/assets/sc_logo.png to: sitecore\manifest\sitecore\assets\sc_logo.png&#xA;copied media from: ./sitecore/assets/sc_logo.png to: sitecore\manifest\sitecore\assets\sc_logo.png&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to clone an specific branch to get the angular basic sample app working?&lt;/p&gt;&#xA;" OwnerUserId="3571" LastEditorUserId="1671" LastEditDate="2018-04-20T13:08:35.417" LastActivityDate="2018-04-20T13:08:35.417" Title="Latest Angular basic sample Error" Tags="|sitecore-client|jss|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11435" PostTypeId="2" ParentId="5022" CreationDate="2018-04-20T00:43:25.793" Score="2" Body="&lt;p&gt;I had a similar error with Sitecore 9 - in my case, it was due to a misconfiguration in the &lt;code&gt;sitecore/settings/setting[@name=&quot;ContentSearch.Solr.ServiceBaseAddress&quot;]&lt;/code&gt; value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find where this is set in the &lt;code&gt;App_Config\Sitecore\ContentSearch\Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt; configuration file. Check that this value points to the Solr instance you're using, and confirm that the protocol is the same. For us, an update had overridden the value we had from https to http which caused the errors.&lt;/p&gt;&#xA;" OwnerUserId="3572" LastActivityDate="2018-04-20T00:43:25.793" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11437" PostTypeId="1" AcceptedAnswerId="11440" CreationDate="2018-04-20T02:19:33.150" Score="6" ViewCount="588" Body="&lt;p&gt;On Sitecore 8.2 nothing I am doing seems to be removing the language version of an item from the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Things I have tried so far:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Removed English version and smart published the item in English&lt;/li&gt;&#xA;&lt;li&gt;Removed English version and republished the item in English&lt;/li&gt;&#xA;&lt;li&gt;Removed English version and smart published the parent item in English&lt;/li&gt;&#xA;&lt;li&gt;Removed English version and republished the parent item in English&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I even added the English version back and set it to unpublishable and published in all of the ways above and still nothing. Even after clearing the Sitecore cache and recycling the AppPool the version is still there. Logs do not indicate any errors occurring when publishing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.NET 8.2 (rev. 161221)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JVRn0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JVRn0.png&quot; alt=&quot;Language Fallback In Use&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1648" LastEditorUserId="1671" LastEditDate="2018-04-20T13:00:16.813" LastActivityDate="2018-04-20T13:00:16.813" Title="Language version set to Unpublishable is not being removed from Web Database" Tags="|publishing|versions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11438" PostTypeId="2" ParentId="9317" CreationDate="2018-04-20T05:05:20.633" Score="-2" Body="&lt;p&gt;This error might be due to your proxy setting. To fix it, follow below steps...&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open Internet Explorer &lt;/li&gt;&#xA;&lt;li&gt;Go to the Tools menu and click on &lt;code&gt;Internet Options&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Select &lt;code&gt;Connection&lt;/code&gt; tab&lt;/li&gt;&#xA;&lt;li&gt;And Click on &lt;code&gt;LAN Settings&lt;/code&gt; button&lt;/li&gt;&#xA;&lt;li&gt;Unchecked on options and check &lt;code&gt;Automatically detect settings&lt;/code&gt; option&lt;/li&gt;&#xA;&lt;li&gt;Click the &lt;code&gt;Ok&lt;/code&gt; button and restart your browser&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Refer below image for the reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5dzai.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5dzai.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now your xConnect and Sitecore applications should work.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-04-20T05:05:20.633" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11439" PostTypeId="1" AcceptedAnswerId="11441" CreationDate="2018-04-20T06:04:17.823" Score="1" ViewCount="6161" Body="&lt;p&gt;Controller:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class ExampleController : Controller&#xA;{&#xA;    private readonly ISitecoreContext _sitecoreContext;&#xA;&#xA;    public ExampleController ()&#xA;    {&#xA;        &#xA;    }     &#xA;&#xA;    [System.Web.Http.HttpGet]&#xA;    // GET: Manifest&#xA;    public JsonResult Test()&#xA;    {&#xA;        return Json(&amp;quot;test&amp;quot;);         &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Register Route Pipeline:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterTestApiRoute&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapHttpRoute(&#xA;            &amp;quot;testApi&amp;quot;,&#xA;            &amp;quot;api/testing/{controller}/{action}&amp;quot;&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Patching route in config:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;initialize&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;TestProject.Pipelines.RegisterTestApiRoute, TestProject&amp;quot; patch:before=&amp;quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&amp;quot; /&amp;gt;&#xA;  &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;With all above in place the following default Sitecore webapi route works fine:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;http://localsitecore/api/sitecore/example/test&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;but my custom route&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;http://localsitecore/api/testing/example/test&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;returns below error:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;{&amp;quot;Message&amp;quot;:&amp;quot;No HTTP resource was found that matches the request URI 'http://localsitecore/api/testing/example/test'.&amp;quot;,&amp;quot;MessageDetail&amp;quot;:&amp;quot;No type was found that matches the controller named 'example'.&amp;quot;}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I'm not sure why controller is not found, in a properly compiled code, I've tried below:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Restarted IIS&lt;/li&gt;&#xA;&lt;li&gt;killed worker processes&lt;/li&gt;&#xA;&lt;li&gt;cleared Visual Studio temp files&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;No luck..&lt;/p&gt;&#xA;&lt;p&gt;even browsed my project dll with reflector, the controller exists..&lt;/p&gt;&#xA;&lt;p&gt;Am I missing anything here...?&lt;/p&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="342" LastEditDate="2022-01-14T17:59:39.397" LastActivityDate="2022-01-14T17:59:39.397" Title="Sitecore WebApi custom route not working controller not found" Tags="|sitecore-api|webapi|routing|custom-route|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11440" PostTypeId="2" ParentId="11437" CreationDate="2018-04-20T06:35:06.387" Score="10" Body="&lt;p&gt;There was a bug in earlier Sitecore 8.2, fixed in 8.2 Update 5 (rev. 170728)&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;A deleted language version of an item in the master database exists in the web database after publishing.​&lt;/p&gt;&#xA;&lt;p&gt;​Smart Publishing does not unpublish invalid item versions.​&#xA;See the information in the release notes:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update5/Release%20Notes&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update5/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Contact with Sitecore Support for a patch with a fix.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-04-20T06:35:06.387" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11441" PostTypeId="2" ParentId="11439" CreationDate="2018-04-20T06:40:00.013" Score="3" Body="&lt;p&gt;Your route pipeline definition should be changed to this one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterTestApiRoute&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapRoute(&#xA;            &quot;testApi&quot;,&#xA;            &quot;api/testing/{controller}/{action}&quot;&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;as MapRoute is meant for &quot;normal&quot; ASP.NET MVC controllers whereas MapHttpRoute is meant for Web API controllers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details about this topic can be found here:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/12042853/difference-between-maphttproute-and-maproute&quot;&gt;https://stackoverflow.com/questions/12042853/difference-between-maphttproute-and-maproute&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-04-20T06:40:00.013" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11443" PostTypeId="2" ParentId="11434" CreationDate="2018-04-20T11:11:59.687" Score="1" Body="&lt;p&gt;So I've just been testing this locally and here is what I did:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Run the jss create command like so in a new empty folder I created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cgKR0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cgKR0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Everything seems to install ok&#xA;&lt;a href=&quot;https://i.stack.imgur.com/mZoU2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mZoU2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Ndgun.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ndgun.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Cd to the new folder and run jss start, this seems to work ok:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RgDg3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RgDg3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/csv1q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/csv1q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Open localhost:3001 in my browser. It works but it's missing the sitecore logo for some reason (I see a 404 in the console) and the component appears to be repeated 3 times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this what you mean?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d6aQS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d6aQS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Update&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;if you run this on the root folder of your app:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;npm install --save-dev babel-core&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should get rid of the error and webpack will run without errors:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dbsfp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dbsfp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I still see the logo error and 3 versions of the component.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-04-20T11:24:20.907" LastActivityDate="2018-04-20T11:24:20.907" CommentCount="10" ContentLicense="CC BY-SA 3.0" />
  <row Id="11444" PostTypeId="1" CreationDate="2018-04-20T12:33:19.440" Score="3" ViewCount="1135" Body="&lt;p&gt;We have recently migrated from Sitecore 8.2 to 9. It seems that Sitecore 9 is doing link validation in a different way than previous versions. It seems that in our system in 8.2 there have been saved lots of broken links. The raw value of these links is of the form: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link linktype=&quot;internal&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A valid link Raw Value is of the form:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link linktype=&quot;internal&quot; id=&quot;{FAE49592-9B39-407E-A996-2121FF88447D}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the id is missing in the broken links and this causes lots of problems now. First, we get an error &lt;code&gt;System.FormatException: Unrecognized Guid format&lt;/code&gt; when we try to save items containing a broken link. Second, errors are thrown during publish and the publish process is stopped in it's tracks. The error thrown is like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Job started: Publish to 'web'|#Exception: System.Reflection.TargetInvocationException: &#xA;Exception has been thrown by the target of an invocation. ---&amp;gt; &#xA;System.FormatException: Unrecognized Guid format. Actual value:  ---&amp;gt; System.FormatException: Unrecognized Guid format.&#xA;   at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)&#xA;   at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult&amp;amp; result)&#xA;   at System.Guid..ctor(String g)&#xA;   at Sitecore.Data.ID..ctor(String id)&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Data.ID..ctor(String id)&#xA;   at Sitecore.Xml.Xsl.LinkUrl.GetInternalUrl(Database database, String url, String itemID, String anchor, String queryString)&#xA;   at Sitecore.Xml.Xsl.LinkUrl.GetUrl(XmlField field, Database database)&#xA;   at Sitecore.Data.Fields.LinkField.get_InternalPath()&#xA;   at Sitecore.Data.Fields.LinkField.ValidateLinks(LinksValidationResult result)&#xA;   at Sitecore.Links.ItemLinks.AddLinks(Field field, List`1 links, ItemLinkState linkState)&#xA;   at Sitecore.Links.ItemLinks.GetLinks(ItemLinkState linkState, Boolean allVersions, Boolean includeStandardValuesLinks)&#xA;   at Sitecore.Links.ItemLinks.GetValidLinks(Boolean allVersions)&#xA;   at Sitecore.Publishing.Pipelines.GetItemReferences.AddItemLinkReferences.GetReferences(Item item, Boolean sharedOnly, HashSet`1 processedItems)&#xA;   at Sitecore.Publishing.Pipelines.GetItemReferences.AddItemLinkReferences.GetItemReferences(PublishItemContext context)&#xA;   at Sitecore.Publishing.Pipelines.GetItemReferences.GetItemReferencesProcessor.Process&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the error occurs in the ValidateLinks function. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wonder why these errors did not occur in Sitecore 8 and they are now in Sitecore 9. And what would be the best way to solve these problems? We can't find a configuration option to not validate links during publish. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We could write a script to cleanup the broken links.&#xA;We could hook into the publishing pipeline to do some cleaning before the &quot;GetItemRefrences&quot; processor is executed. &#xA;But it seems that we should be able to solve this with some config option.&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="1671" LastEditDate="2018-04-20T13:05:14.707" LastActivityDate="2018-10-12T06:00:15.050" Title="Errors in Publishing due to broken links" Tags="|publishing|broken-links|" AnswerCount="1" CommentCount="1" ClosedDate="2018-10-26T23:05:13.140" ContentLicense="CC BY-SA 3.0" />
  <row Id="11445" PostTypeId="2" ParentId="11426" CreationDate="2018-04-20T12:52:41.053" Score="1" Body="&lt;p&gt;I tested it - and it works (I see visits in Analytics reports). So, I came to conclusion that it is possible to enable TLS 1.2 connections only on Sitecore web apps&lt;/p&gt;&#xA;" OwnerUserId="181" LastActivityDate="2018-04-20T12:52:41.053" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11447" PostTypeId="2" ParentId="10198" CreationDate="2018-04-20T17:32:28.173" Score="0" Body="&lt;p&gt;Like most ORMs, Glass uses lazy-loading in order to maximize performance. The objects you obtain using &lt;code&gt;SitecoreService&lt;/code&gt; are linked to the service. When you invoke a property, it is lazy-loaded by invoking the service again. When your &lt;code&gt;using&lt;/code&gt; block ends, the service is disposed, and therefore can't be invoked. This will trigger your exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Richard Seal points out, you should use dependency injection to manage your service's lifetime.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2018-04-20T17:32:28.173" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11448" PostTypeId="1" AcceptedAnswerId="11488" CreationDate="2018-04-20T18:33:39.587" Score="0" ViewCount="632" Body="&lt;p&gt;I know that my question is similar to other questions here, but I think I have a different scenario. I'm trying to upload some css files to sitecore (in my case Sc 9.0.1) by calling this url using &lt;br&gt;&lt;br&gt;WebClient()&#xA;&quot;/sitecore modules/PowerShell/Services/RemoteScriptCall.ashx?user=sitecore\******&amp;amp;password=*&amp;amp;script=\Themes\ExampleProject\ExampleProject Main Theme/styles&amp;amp;sc_database=master&amp;amp;apiVersion=media&amp;amp;scriptDb=master&quot;.&lt;br&gt;&lt;br&gt;&#xA;This is my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string Upload(string filePath)&#xA;    {&#xA;        if (!Directory.Exists(Directory.GetParent(filePath).FullName))&#xA;            return $&quot;The file {filePath} could not be found&quot;;&#xA;        using (var webClient = new WebClient())&#xA;        {&#xA;            string credentials = Convert.ToBase64String(Encoding.ASCII.GetBytes($&quot;username:password&quot;));&#xA;            webClient.Headers[HttpRequestHeader.Authorization] = string.Format(&quot;Basic {0}&quot;, credentials);&#xA;            webClient.Headers.Add(&quot;user-agent&quot;, @&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36&quot;);&#xA;            webClient.Headers.Add(&quot;Accept&quot;, &quot;*/*&quot;);&#xA;            webClient.Credentials = new NetworkCredential(&quot;*****&quot;, &quot;*&quot;, &quot;sitecore&quot;);&#xA;            byte[] responseArray = webClient.UploadFile(_targetUri, &quot;POST&quot;, filePath);&#xA;            return filePath;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As an answer from the server, I got, the error 403 (Forbidden) although I entered the admin credentials of the site. &#xA;&lt;br&gt;&lt;br&gt;&#xA;Does someone know where the problem is?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3544" LastEditorUserId="4050" LastEditDate="2020-01-31T04:03:50.990" LastActivityDate="2020-01-31T04:03:50.990" Title="Getting Error 403 from Server &quot;Forbidden&quot; during uploading File to Sitecore" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11450" PostTypeId="1" AcceptedAnswerId="11533" CreationDate="2018-04-20T19:50:10.297" Score="8" ViewCount="554" Body="&lt;p&gt;Sitecore 9.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to create a new site definition that's associated with a custom publishing target database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the database registered, publishing targets built, content completely published however I'm tracking an inability for the site to render placeholders.  I just get a blank page with the layout markup on it like the placeholders didn't exist.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tricky part is that if i jump into the site.config and modify it to use the &quot;web&quot; database and jump into the connection strings and switch the names of the web and custom database then it works perfectly.  This leads me to believe it's not the database itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My assumption is that i'm just missing some wireup in Sitecore, but i'm not sure what.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my Site and Database definition along with my attempt to wire everything up for my new database.  Any suggestions would be welcome.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;tenantcom.tenant.com&quot;&#xA;        patch:before=&quot;site[@name='website']&quot;&#xA;        hostName=&quot;*.tenant.com&quot;&#xA;        enableTracking=&quot;true&quot;&#xA;        virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot;&#xA;        rootPath=&quot;/sitecore/content/tenantCom Tenant&quot;&#xA;        startItem=&quot;/tenantCom&quot;&#xA;        language=&quot;en&quot;&#xA;        database=&quot;tenantcomlive&quot;&#xA;        domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;50MB&quot;&#xA;        registryCacheSize=&quot;0&quot;&#xA;        viewStateCacheSize=&quot;0&quot;&#xA;        xslCacheSize=&quot;25MB&quot;&#xA;        filteredItemsCacheSize=&quot;10MB&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot;&#xA;        cacheRenderingParameters=&quot;true&quot;&#xA;        renderingParametersCacheSize=&quot;10MB&quot;&#xA;        enableItemLanguageFallback=&quot;false&quot;&#xA;        enableFieldLanguageFallback=&quot;false&quot;&#xA;        itemwebapi.mode=&quot;Off&quot;&#xA;        itemwebapi.access=&quot;ReadOnly&quot;&#xA;        itemwebapi.allowanonymousaccess=&quot;false&quot; /&amp;gt;&#xA;&#xA;&#xA;&#xA;&amp;lt;/sites&amp;gt;&#xA;&amp;lt;databases&amp;gt;&#xA;  &amp;lt;database id=&quot;tenantcomlive&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot; &amp;gt;&#xA;    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;icon&amp;gt;Images/database_web.png&amp;lt;/icon&amp;gt;&#xA;    &amp;lt;securityEnabled&amp;gt;true&amp;lt;/securityEnabled&amp;gt;&#xA;    &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;      &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;        &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;        &amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;          &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Common.config&quot; /&amp;gt;&#xA;          &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Webdb.config&quot; /&amp;gt;&#xA;        &amp;lt;/prefetch&amp;gt;&#xA;      &amp;lt;/dataProvider&amp;gt;&#xA;    &amp;lt;/dataProviders&amp;gt;&#xA;    &amp;lt;PropertyStore ref=&quot;PropertyStoreProvider/store[@name='$(id)']&quot; /&amp;gt;&#xA;    &amp;lt;remoteEvents.EventQueue&amp;gt;&#xA;      &amp;lt;obj ref=&quot;eventing/eventQueueProvider/eventQueue[@name='$(id)']&quot; /&amp;gt;&#xA;    &amp;lt;/remoteEvents.EventQueue&amp;gt;&#xA;    &amp;lt;archives hint=&quot;raw:AddArchive&quot;&amp;gt;&#xA;      &amp;lt;archive name=&quot;archive&quot; /&amp;gt;&#xA;      &amp;lt;archive name=&quot;recyclebin&quot; /&amp;gt;&#xA;    &amp;lt;/archives&amp;gt;&#xA;    &amp;lt;cacheSizes hint=&quot;setting&quot;&amp;gt;&#xA;      &amp;lt;data&amp;gt;100MB&amp;lt;/data&amp;gt;&#xA;      &amp;lt;items&amp;gt;50MB&amp;lt;/items&amp;gt;&#xA;      &amp;lt;paths&amp;gt;2500KB&amp;lt;/paths&amp;gt;&#xA;      &amp;lt;itempaths&amp;gt;50MB&amp;lt;/itempaths&amp;gt;&#xA;      &amp;lt;standardValues&amp;gt;2500KB&amp;lt;/standardValues&amp;gt;&#xA;    &amp;lt;/cacheSizes&amp;gt;&#xA;    &amp;lt;Engines.DataEngine.Commands.AddFromTemplatePrototype&amp;gt;&#xA;      &amp;lt;obj type=&quot;Sitecore.Buckets.Commands.AddFromTemplateCommand, Sitecore.Buckets&quot; /&amp;gt;&#xA;    &amp;lt;/Engines.DataEngine.Commands.AddFromTemplatePrototype&amp;gt;&#xA;  &amp;lt;/database&amp;gt;&#xA;&amp;lt;/databases&amp;gt;&#xA;&amp;lt;eventing defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;  &amp;lt;eventQueueProvider defaultEventQueue=&quot;core&quot;&amp;gt;&#xA;    &amp;lt;eventQueue name=&quot;tenantcomlive&quot; type=&quot;Sitecore.Data.Eventing.$(database)EventQueue, Sitecore.Kernel&quot;&amp;gt;&#xA;      &amp;lt;param ref=&quot;dataApis/dataApi[@name='$(database)']&quot; param1=&quot;$(name)&quot; /&amp;gt;&#xA;      &amp;lt;param ref=&quot;PropertyStoreProvider/store[@name='$(name)']&quot; /&amp;gt;&#xA;    &amp;lt;/eventQueue&amp;gt;&#xA;  &amp;lt;/eventQueueProvider&amp;gt;&#xA;&amp;lt;/eventing&amp;gt;&#xA;&amp;lt;PropertyStoreProvider defaultStore=&quot;core&quot;&amp;gt;&#xA;  &amp;lt;store name=&quot;tenantcomlive&quot; prefix=&quot;tenantcomlive&quot; getValueWithoutPrefix=&quot;true&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.Properties.$(database)PropertyStore, Sitecore.Kernel&quot;&amp;gt;&#xA;    &amp;lt;param ref=&quot;dataApis/dataApi[@name='$(database)']&quot; param1=&quot;$(name)&quot; /&amp;gt;&#xA;    &amp;lt;param resolve=&quot;true&quot; type=&quot;Sitecore.Abstractions.BaseEventManager, Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;param resolve=&quot;true&quot; type=&quot;Sitecore.Abstractions.BaseCacheManager, Sitecore.Kernel&quot; /&amp;gt;&#xA;  &amp;lt;/store&amp;gt;&#xA;&amp;lt;/PropertyStoreProvider&amp;gt;&#xA;&amp;lt;scheduling&amp;gt;&#xA;  &amp;lt;!-- Agent to cleanup obsolete File Drop Area field media data --&amp;gt;&#xA;  &amp;lt;agent type=&quot;Sitecore.Tasks.CleanupFDAObsoleteMediaData&quot; method=&quot;Run&quot; interval=&quot;1.00:00:00&quot;&amp;gt;&#xA;    &amp;lt;databases hint=&quot;raw:AddDatabase&quot;&amp;gt;&#xA;      &amp;lt;database name=&quot;tenantcomlive&quot;/&amp;gt;&#xA;    &amp;lt;/databases&amp;gt;&#xA;  &amp;lt;/agent&amp;gt;&#xA;&amp;lt;/scheduling&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&#xA;" OwnerUserId="426" LastEditorUserId="277" LastEditDate="2018-04-20T19:52:04.090" LastActivityDate="2018-12-20T12:39:53.820" Title="Sitecore Site using custom database on custom site" Tags="|experience-editor|multisite|sql-database|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11451" PostTypeId="1" AcceptedAnswerId="11452" CreationDate="2018-04-21T03:26:13.190" Score="0" ViewCount="68" Body="&lt;p&gt;While adding a package reference to Sitecore.Commerce.Plugin.Orders, I see the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;NU1603: Sitecore.Commerce.Plugin.Availability 2.1.3 depends on Sitecore.Commerce.Plugin.Catalog (&gt;= 2.1.9) but Sitecore.Commerce.Plugin.Catalog 2.1.9 was not found. An approximate best match of Sitecore.Commerce.Plugin.Catalog 2.1.10 was resolved.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What's causing this error and how can I fix it?&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-04-21T03:26:28.317" Title="NU1603 adding Sitecore.Commerce.Plugin.Orders package" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11452" PostTypeId="2" ParentId="11451" CreationDate="2018-04-21T03:26:28.317" Score="1" Body="&lt;p&gt;tl;dr Explicitly add &lt;code&gt;Sitecore.Commerce.Plugin.Catalog 2.1.10&lt;/code&gt; to the project and then re-add the intended package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For whatever reason, Sitecore never published 2.1.9 of Sitecore.Commerce.Plugin.Catalog to the public NuGet feed instead skipping straight to 2.1.10. This becomes an issue when other packages depend on 2.1.9. When NuGet resolves &lt;em&gt;downstream&lt;/em&gt; dependencies it won't accept the actual referenced version missing, even if the version dependency is fuzzy (&lt;code&gt;&amp;gt;= 2.1.9&lt;/code&gt; in this case). If, on the other hand, the project already references the downstream dependency and &lt;em&gt;that&lt;/em&gt; version is acceptable then it is considered valid.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-04-21T03:26:28.317" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11454" PostTypeId="1" CreationDate="2018-04-21T14:27:39.220" Score="0" ViewCount="492" Body="&lt;p&gt;I'm new to Sitecore and I'm looking for the details of media library pipelines in CD. I'm trying to redirect media library link based on a flag. If the flag is checked for media library item then it should redirect to a page. We wont be able to depend on scheduled publishing since the number of media items is to huge(200-300 media items). So we need to publish the items and keep it as non accessible till the flag is un-checked. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="1517" LastActivityDate="2018-04-21T17:44:57.810" Title="Pipeline For Media Library for CD" Tags="|media-library|pipelines|content-delivery|" AnswerCount="1" CommentCount="4" FavoriteCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11455" PostTypeId="2" ParentId="11454" CreationDate="2018-04-21T17:44:57.810" Score="1" Body="&lt;p&gt;You don't have to deal with pipelines for this, You can use Sitecore security restrictions to disable &quot;&lt;strong&gt;extranet\anonymous&lt;/strong&gt;&quot; user access to these images, you can &quot;deny&quot; access of the containing folder of these Media items, and publish it, now the public will not have access to it until you give them access again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zshzI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zshzI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More on Sitecore security can be found &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/assign_access_rights_to_a_security_account&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-04-21T17:44:57.810" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11459" PostTypeId="1" CreationDate="2018-04-22T16:43:10.590" Score="6" ViewCount="309" Body="&lt;p&gt;Using Sitecore 9.01 and SXA 1.6 , we are trying to create search scope that filter News item based on their dates ,  so each News item has start and End date and we need to display only not expired news item ex : NewsEndDate &lt;code&gt;&amp;gt;=&lt;/code&gt; Today&lt;/p&gt;&#xA;&#xA;&lt;p&gt;is there a way to achive that , we are think of Computed filed to mark each news item as Expired or not &lt;/p&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="95" LastEditDate="2018-04-22T17:32:14.093" LastActivityDate="2018-04-22T17:32:14.093" Title="Dynamic Date Comparison in Search filter" Tags="|sxa|content-search|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11462" PostTypeId="1" AcceptedAnswerId="11465" CreationDate="2018-04-23T01:43:04.377" Score="4" ViewCount="4658" Body="&lt;p&gt;I am beginner to sitecore. My company wants to create the sitemap for their website. I have search on the google and got some options to create it with the help of some modules like sitemap XML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way in sitecore to create the Sitemap without using any module? If yes, then how?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you for any small help.&lt;/p&gt;&#xA;" OwnerUserId="3579" LastEditorUserId="73" LastEditDate="2021-06-07T10:30:01.707" LastActivityDate="2021-06-07T10:30:01.707" Title="Creating Sitemap without using any module" Tags="|sitemap|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11463" PostTypeId="1" AcceptedAnswerId="11464" CreationDate="2018-04-23T04:40:46.177" Score="1" ViewCount="552" Body="&lt;p&gt;Using Sitecore Forms, I have a custom submit action on a form that is redirecting to a media file; however, when the user hits back in the browser, they return to the form with the fields populated with their input. How do I clear the fields of the form so that they return to an empty form?&lt;/p&gt;&#xA;" OwnerUserId="3540" LastActivityDate="2019-05-13T20:38:59.273" Title="Clear form in custom submit action" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11464" PostTypeId="2" ParentId="11463" CreationDate="2018-04-23T05:02:53.780" Score="0" Body="&lt;p&gt;There is no OOTB functionality in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to use JavaScript to achieve this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look on this older question and try to implement answer:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/38177982/wffm-how-to-clear-or-init-form-fields-when-press-back-button-on-browser&quot;&gt;https://stackoverflow.com/questions/38177982/wffm-how-to-clear-or-init-form-fields-when-press-back-button-on-browser&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-04-23T05:34:45.457" LastActivityDate="2018-04-23T05:34:45.457" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11465" PostTypeId="2" ParentId="11462" CreationDate="2018-04-23T08:06:13.207" Score="4" Body="&lt;p&gt;During my journey with Sitecore starting from version 6.4, until now, I couldn't find a Sitecore feature that can build Sitemap XML for you automatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have few options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use one of the Market place modules like Sitecore XML. It is an open source so you can extend it if required&lt;/li&gt;&#xA;&lt;li&gt;Upload your Sitemap XML file on media library and build your own IIS rewrite rule. In this case, content authors will be responsible to update and publish it&lt;/li&gt;&#xA;&lt;li&gt;Build your own custom module to generate your Sitemap xml file for you based on your website structure&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Hope this will help you.&lt;/p&gt;&#xA;" OwnerUserId="2634" LastActivityDate="2018-04-23T08:06:13.207" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11466" PostTypeId="1" CreationDate="2018-04-23T08:26:41.680" Score="1" ViewCount="198" Body="&lt;p&gt;I'm trying to change the position of WFFM form validation summary in Sitecore 8.2 update 5. My form is very long and by default, the validation summary displays at the beginning of the form so the user is not aware that something went wrong if it fails because I do not scroll the page up. I found a file that seems to contain layout in \sitecore modules\Web\Web Forms for Marketers\Control\SitecoreSimpleFormAscx.ascx and I changed the position of validation in there but it doesn't seem to be using it - I can't see my change. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other file that is used as a layout for mvc forms?&lt;/p&gt;&#xA;" OwnerUserId="1979" LastActivityDate="2018-04-23T08:26:41.680" Title="How can I move validation summary on WFFM to display at the bottom of the form?" Tags="|wffm|validation|mvc-forms|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11467" PostTypeId="2" ParentId="10256" CreationDate="2018-04-24T06:20:51.823" Score="1" Body="&lt;p&gt;Your Sitecore instance is using &quot;poolsuser&quot; to connect to your_instance_name.Processing.Pools database. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Login failed for user 'poolsuser'. Source: .Net SqlClient Data Provider&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;exception could mean that username or password is invalid. It could also mean that login is disabled. Unfortunately more details (like error state code) are not logged.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Possible error state codes can be found in this article:&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/ms366351(v=sql.105)&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/ms366351(v=sql.105)&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Try to check logs in Event Viewer for further details. Especially &quot;Security&quot; or &quot;Application&quot; Windows logs. If you can find further details like error state code, compare it with codes from article mentioned above to determine precisely what is wrong&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If 1. is not successful I would try these things:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Verify that &quot;poolsuser&quot; exists in your_instance_name.Processing.Pools database. If yes, change password for user to one in config file. This can be done by opening ConnectionStrings.config file + SQL Server Management Studio (SSMS) with your_instance_name.Processing.Pools database properties opened:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/FcoK0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FcoK0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Just change password to the one that is mentioned in ConnectionStrings.config file in SSMS&lt;/li&gt;&#xA;&lt;li&gt;Check whether &quot;poolsuser&quot; has 'db_datareader' and 'db_datawriter' database role membership checked for your_instance_name.Processing.Pools database:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/0oBtV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0oBtV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-04-24T06:20:51.823" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11468" PostTypeId="2" ParentId="9116" CreationDate="2018-04-24T09:07:12.220" Score="0" Body="&lt;p&gt;I have SOLR version 7.3.0 installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I ran the 'xconnect-solr.json' script (without any errors) by updating the BaseConfig default value to '_default\conf' as this is where the config files exist in the new folder structure.&lt;/p&gt;&#xA;" OwnerUserId="2949" LastActivityDate="2018-04-24T09:07:12.220" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11469" PostTypeId="2" ParentId="8590" CreationDate="2018-04-24T10:50:28.920" Score="0" Body="&lt;p&gt;I have installed both Sitecore 9 and 9.1 using the SIF and SQL Server 2017. I have come accross the issue specified in this question but the key is to ensure your paramters for SQL server are correct. As long as you can log into SQL Server using the 3 parameters specified below and you have set the user &quot;&lt;em&gt;sc91&lt;/em&gt;&quot; as &lt;strong&gt;SysAdmin&lt;/strong&gt; it will work&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in my powershell script, my SQL Server parameters are...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SqlServer = &quot;JG-LAPTOP\SQLEXPRESS&quot;&#xA;$SqlAdminUser = &quot;sc91&quot; &#xA;$SqlAdminPassword=&quot;CP~~45%sd{}ee]%P)B&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;my version of SQL Server 2017 is...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Microsoft SQL Server 2017 (RTM-CU6) (KB4101464) - 14.0.3025.34 (X64)&lt;br&gt;&#xA;  Apr  9 2018 18:00:41   Copyright (C) 2017 Microsoft Corporation &#xA;  Express Edition (64-bit) on Windows 10 Pro 10.0  (Build 16299: )&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;for more info view this blog -&gt; &lt;a href=&quot;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2993" LastActivityDate="2018-04-24T10:50:28.920" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11470" PostTypeId="2" ParentId="11462" CreationDate="2018-04-24T12:27:53.020" Score="0" Body="&lt;p&gt;I recently went through this. While I didn't have to create an XML doc for the sitemap, I just needed to list the page urls. With some simple editing, you can modifiy the following script to generate XML instead of a straight list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;source: &lt;a href=&quot;https://pageditor.wordpress.com/2015/03/20/list-of-urls/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://pageditor.wordpress.com/2015/03/20/list-of-urls/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;c#&quot; AutoEventWireup=&quot;true&quot; Debug=&quot;true&quot; %&amp;gt;&#xA;&amp;lt;%@ Import Namespace=&quot;Sitecore.Data.Items&quot; %&amp;gt;&#xA;&#xA;&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;&#xA; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA; &amp;lt;head&amp;gt;&#xA; &amp;lt;title&amp;gt;List of URLs&amp;lt;/title&amp;gt;&#xA; &amp;lt;/head&amp;gt;&#xA; &amp;lt;body&amp;gt;&#xA; &amp;lt;script language=&quot;C#&quot; runat=&quot;server&quot;&amp;gt;&#xA;&#xA; string domain = &quot;http://mysite.com&quot;;&#xA; int count = 0;&#xA;&#xA; void Page_Load(object sender, System.EventArgs e)&#xA; {&#xA; Sitecore.Data.Database web = Sitecore.Configuration.Factory.GetDatabase(&quot;web&quot;);&#xA;&#xA; var home = web.GetItem(&quot;/sitecore/content/MySite/home&quot;);&#xA;&#xA; var pages = GetChildren(home);&#xA;&#xA; Response.Write(pages);&#xA; Response.Write(&quot;Total # of pages: &quot; + count.ToString());&#xA;&#xA; }&#xA;&#xA; private string GetChildren(Item home)&#xA; {&#xA; string result = &quot;&quot;;&#xA; if (!home.HasChildren) return &quot;&quot;;&#xA;&#xA; var childList = home.GetChildren();&#xA; foreach(Item item in childList)&#xA; {&#xA; if (DoesSitecoreItemHavePresentation(item))&#xA; {&#xA; result += domain + Sitecore.Links.LinkManager.GetItemUrl(item) + &quot;&amp;lt;br /&amp;gt;&quot;; &#xA; count++;&#xA; }&#xA;&#xA; result += GetChildren(item);&#xA; }&#xA;&#xA; return result;&#xA; }&#xA;&#xA; public bool DoesSitecoreItemHavePresentation(Item item)&#xA; {&#xA; return item.Fields[Sitecore.FieldIDs.LayoutField] != null &#xA; &amp;amp;&amp;amp; item.Fields[Sitecore.FieldIDs.LayoutField].Value != String.Empty;&#xA; }&#xA;&#xA; &amp;lt;/script&amp;gt;&#xA; &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3008" LastActivityDate="2018-04-24T12:27:53.020" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11471" PostTypeId="1" AcceptedAnswerId="11720" CreationDate="2018-04-24T12:40:43.017" Score="1" ViewCount="434" Body="&lt;p&gt;SXA Search box Suggestion component, returns error in specific cases if the returned results contain chars like &quot;.&quot; or &quot;\&quot; for example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any one faced this issue before?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Jywuw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jywuw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d2ML2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d2ML2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2018-05-11T09:00:39.913" Title="SXA Search box Suggestion Error" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11472" PostTypeId="1" CreationDate="2018-04-24T12:47:56.900" Score="2" ViewCount="304" Body="&lt;p&gt;I need to retrieve a contact from xDB, but I don't have that contact's identifier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally I would do it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactRepository contactRepo = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepository;&#xA;Contact contact = contactRepo.LoadContactReadOnly(someIdentifier);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, the identifier used in &lt;code&gt;LoadContactReadOnly&lt;/code&gt; (or in &lt;code&gt;TryLoadContact&lt;/code&gt;) is unknown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do, however, know the value of some of the other facets on the contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get a contact (or many contacts) from xDB that has a specific value in a facet other than &lt;code&gt;Identifier&lt;/code&gt;? For example, get all contacts with a specific email address in the &lt;code&gt;Emails.Entries.Preferred.SmtpAddress&lt;/code&gt; facet.&lt;/p&gt;&#xA;" OwnerUserId="3587" LastActivityDate="2018-04-24T12:47:56.900" Title="Get contact from xDB without identifier" Tags="|xdb|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11474" PostTypeId="1" AcceptedAnswerId="11872" CreationDate="2018-04-24T13:12:08.753" Score="0" ViewCount="344" Body="&lt;p&gt;Typically I would go into Global.asax.cs and add the code to set context language / culture and commerce price group / currency from a cookie (if available) in the session_start event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see multiple posts which do not recommend altering global.asax now for Sitecore and use pipelines instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see a pipeline for SessionEnd in showconfig.aspx - but none for SessionStart - would you know where I should add this? &#xA;I also saw this: &lt;a href=&quot;https://sitecorejohn.wordpress.com/2008/11/19/overriding-sitecores-logic-to-determine-the-context-language/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejohn.wordpress.com/2008/11/19/overriding-sitecores-logic-to-determine-the-context-language/&lt;/a&gt; but this would execute on every http request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could check if session exists and only them execute the code, (as suggested here: &lt;a href=&quot;https://stackoverflow.com/questions/38308613/sitecore-session-started-pipeline&quot;&gt;https://stackoverflow.com/questions/38308613/sitecore-session-started-pipeline&lt;/a&gt;) but it would still run the check on every http request anyhow? Is there a way around this?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastEditorUserId="3567" LastEditDate="2018-04-24T13:55:02.940" LastActivityDate="2018-05-19T20:39:39.023" Title="Setting Sitecore context language / Commerce price group from cookie" Tags="|pipelines|session-state|ucommerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11475" PostTypeId="1" AcceptedAnswerId="11482" CreationDate="2018-04-24T14:13:34.230" Score="2" ViewCount="134" Body="&lt;p&gt;I'm creating a large number of items using Data Exchange Framework (DEF). It looks like the items are being indexed one at a time when created/updated. I have a pipeline step that indexes a subtree of items and would like to stop other pipeline steps from indexing items created by the &lt;code&gt;Resolve Multilanguage Sitecore Item Dictionary Pipeline Step&lt;/code&gt; and edited by the &lt;code&gt;Update Sitecore Item Pipeline Step&lt;/code&gt;. I can't just wrap the &lt;code&gt;InProcItemModelRepository&lt;/code&gt; &lt;code&gt;Create&lt;/code&gt; and &lt;code&gt;Update&lt;/code&gt; methods with an event disabler because some of them use branch templates and disabling events causes issues when adding from a branch (&lt;a href=&quot;https://sitecore.stackexchange.com/a/10889/1436&quot;&gt;code doing so can be seen here&lt;/a&gt;). I don't want to disable indexing site wide if possible, only for this group of items being added.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="2056" LastEditDate="2018-04-24T18:28:59.170" LastActivityDate="2018-04-24T19:59:06.713" Title="Don't Index An Item In DEF Until All Items Have Been Added" Tags="|indexing|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11477" PostTypeId="1" CreationDate="2018-04-24T16:07:47.667" Score="1" ViewCount="178" Body="&lt;p&gt;We are doing automatic Azure deployments (blue/green) with .update package installations. We are using Octopus deploy to Azure, with remote Powershell script to install the .update package and do a smart publish. We deploy code, restart the app service similar to recycling the apppool, kick off .update package install and publish.&#xA;We are getting the following error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The type initializer for 'Sitecore.Install.Serialization.IOUtils' threw an exception.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If we go to the site manually, and try to install it as package thru the package installer, we get the same error. This seems to go away if we wait x amount of time. We can then install a package again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I verified &lt;code&gt;ITHit.WebDAV.Server.dll&lt;/code&gt; was in the bin folder. Does anyone have an idea what else it could be? Thanks.&lt;/p&gt;&#xA;" OwnerUserId="853" LastEditorUserId="1671" LastEditDate="2018-10-02T14:14:00.463" LastActivityDate="2018-10-02T14:14:34.760" Title="Automatic Deployment Azure .update Package Error, 'Sitecore.Install.Serialization.IOUtils' threw an exception" Tags="|azure|deployment|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11478" PostTypeId="1" CreationDate="2018-04-24T16:34:04.607" Score="1" ViewCount="4385" Body="&lt;p&gt;To my knowledge, indexes get rebuilt automatically when a Content Author performs a Smart Publish and/or a Full Republish in Sitecore. That functionality does not seem to functioning as intended as we are having to manually perform a re-index, via the Indexing Manager, to see those items get added/modified/deleted in certain indexes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is when specifically do the indexes get automatically rebuilt in Sitecore, and is there any setting in the .config's where this functionality can modified to NOT index automatically?&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="73" LastEditDate="2021-02-12T17:08:30.843" LastActivityDate="2021-02-12T17:08:30.843" Title="When do indexes get rebuilt automatically in Sitecore?" Tags="|index|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11479" PostTypeId="2" ParentId="11478" CreationDate="2018-04-24T17:46:43.293" Score="1" Body="&lt;p&gt;Sitecore indexes are built by using following methods&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Publishing the content&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to control panel -&gt; Indexing Manager -&gt; clicking on&#xA;rebuild search    index button with the required indexes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Rebuild indexes by using Rebuild method of API&lt;br&gt;&#xA;Sitecore.ContentSearch.ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can check to see if following setting has been added and have some value, indexing will take place after provided amount of time.&#xA;If it is set to zero, then it will disable the live indexing.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Indexing.UpdateInterval&quot;&amp;gt;&#xA;     &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;00:00:00&amp;lt;/patch:attribute&amp;gt;&#xA; &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, if you are wondering to disable indexing , you can disable indexing of items by using following sitecore API&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore.Configuration.Settings.Indexing.Enabled = false; (Sitecore&#xA;7 before versions)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.ContentSearch.Maintenance.IndexCustodian.PauseIndexing();(Sitecore 7 and after)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-04-24T17:46:43.293" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11481" PostTypeId="2" ParentId="11478" CreationDate="2018-04-24T19:04:22.063" Score="4" Body="&lt;p&gt;Sitecore can be configured to do rebuilds with very different strategies depending on the architecture and requirements (it can be after publish, or full republish, or even manual, i.e. only rebuilt when manually triggered). I recommend reading this article: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/index_update_strategies&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/index_update_strategies&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And then comparing that to your configuration to figure out which rebuilt strategy you're currently using for your indexes. I.e. if it is set to manual, then that would explain the behaviour you are currently seeing.&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2018-04-24T19:04:22.063" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11482" PostTypeId="2" ParentId="11475" CreationDate="2018-04-24T19:59:06.713" Score="2" Body="&lt;p&gt;I created a custom pipeline processor that can be used as the &lt;code&gt;Processor Type&lt;/code&gt; for a &lt;code&gt;Iterate Data and Run Pipelines Pipeline Step&lt;/code&gt; item. All it really does is wrap the method that runs pipeline steps in the linked pipelines in a &lt;code&gt;BulkUpdateContext&lt;/code&gt; which seems to be good enough. I made this change on the standard values of the &lt;code&gt;Iterate Data and Run Pipelines Pipeline Step&lt;/code&gt; which is not something everyone should do unless they plan on just using that step to map to Sitecore items which works for my use case. &lt;code&gt;BulkUpdateContext.IsActive&lt;/code&gt; was true while debugging through the pipeline steps that created/update items so it looks like this should work for me.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data;&#xA;using Sitecore.DataExchange.Attributes;&#xA;using Sitecore.DataExchange.Contexts;&#xA;using Sitecore.DataExchange.Models;&#xA;using Sitecore.DataExchange.Plugins;&#xA;using System.Collections.Generic;&#xA;&#xA;namespace Common.CustomSitecore.DataExchange.Processors.PipelineSteps&#xA;{&#xA;    [RequiredPipelineStepPlugins(new[] { typeof(PipelinesSettings), typeof(DataLocationSettings) })]&#xA;    [RequiredPipelineContextPlugins(new[] { typeof(IterableDataSettings) })]&#xA;    public class IterateAndRunPipelinesStepProcessor : Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor&#xA;    {&#xA;        protected override void ProcessPipelines(PipelineStep pipelineStep, ICollection&amp;lt;Pipeline&amp;gt; subPipelines,&#xA;            PipelineContext pipelineContext)&#xA;        {&#xA;            using (new BulkUpdateContext())&#xA;            {&#xA;                base.ProcessPipelines(pipelineStep, subPipelines, pipelineContext);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-04-24T19:59:06.713" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11485" PostTypeId="2" ParentId="11370" CreationDate="2018-04-24T22:13:42.507" Score="0" Body="&lt;h2&gt;Shared SQL?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From what I am hearing you say, you are keeping the SQL, Mongo and SOLR. In that case you can ONLY do blue/green with code deployments. No items. If you deploy template changes to blue, it will update the master/web/core for the shared green environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is if I am hearing you right.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;I did it with a separate SQL&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I did a blue/green for a large retailer not too long ago. We had it completely separate web and sql. It was a 7.2 with no analytics so reporting/Mongo did not matter. In that case, we ran a PowerShell script that would backup the databases, restore them in the other environment. Then used RedGate to Sync the SQL for any last changes that happened during the backup restore (I would use RAZL now). Deploy all our code and items. Then test the offline environment. This &lt;strong&gt;would&lt;/strong&gt; require a content freeze. If it failed, we would identify the failure and throw it away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having separate SQL is the only way I know of doing blue/green in Sitecore without risking the master DB because of a deployment failure that didn't pass the tests. Rolling back all your changes, all though possible, is a big risk.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-04-24T22:13:42.507" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11486" PostTypeId="1" CreationDate="2018-04-24T23:01:26.190" Score="4" ViewCount="468" Body="&lt;p&gt;The following is our master/slave configuration by using Solr replication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the image which depicts our configuration:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3l2rg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3l2rg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLR-master&lt;/strong&gt; is connected to the CM instance. When the CM rebuilds the &lt;code&gt;sitecore_web_index&lt;/code&gt; the Solr-master instance is doing all of the processing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLR-slave&lt;/strong&gt; is connected to the CD instance. You can either have each instance of the CD talk directly to a slave instance or you can connect them to a load balancer (F5/Netscaler/etc.). The Solr-slave instances poll at some interval (perhaps 60 seconds); If the Solr-master has completed a commit/startup then the Solr-slave instances will replicate the files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I use Sitecore &lt;code&gt;SwitchOnRebuildSolrSearchIndex&lt;/code&gt; on slave indexes which are replicated from Master? Is there any other alternatives without breaking search on CD which uses Slave indexes?&lt;/p&gt;&#xA;" OwnerUserId="1729" LastEditorUserId="73" LastEditDate="2018-05-02T16:04:15.947" LastActivityDate="2018-07-31T18:02:32.427" Title="How to use Sitecore SwitchOnRebuildSolrSearchIndex on Solr slave Indexes which are replicated from Master Index" Tags="|solr|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11488" PostTypeId="2" ParentId="11448" CreationDate="2018-04-25T06:21:13.843" Score="1" Body="&lt;p&gt;I found out where the problem is, some parameters where missing. The target database, api version and scriptdatabase. &quot;&amp;amp;sc_database=master&amp;amp;apiVersion=media&amp;amp;scriptDb=master&quot;. So i added these parameters to the url and it works&lt;/p&gt;&#xA;" OwnerUserId="3544" LastActivityDate="2018-04-25T06:21:13.843" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11490" PostTypeId="1" AcceptedAnswerId="11491" CreationDate="2018-04-25T10:02:04.750" Score="7" ViewCount="2561" Body="&lt;p&gt;Im trying to map Sitecore &quot;Name Value List&quot; field to NameValueCollection using below code which is not working. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(AutoMap = true)]&#xA;public interface IManifest&#xA;{&#xA;    string Title { get; set; }&#xA;&#xA;    string Description { get; set; }&#xA;&#xA;    string Author { get; set; }&#xA;&#xA;    [SitecoreField(&quot;ErrorMessages&quot;)]&#xA;    NameValueCollection ErrorMessages { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;all other field values are being mapped except for &quot;ErrorMessages&quot;. Does it require additional code/configuration to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="73" LastEditDate="2018-04-26T07:49:18.800" LastActivityDate="2020-05-30T18:47:29.567" Title="Map Sitecore &quot;Name Value List&quot; field to NameValue collection" Tags="|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11491" PostTypeId="2" ParentId="11490" CreationDate="2018-04-25T10:23:04.690" Score="4" Body="&lt;p&gt;I'm not sure if you can achieve this without any custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I did find a quick workaround here &lt;a href=&quot;https://community.sitecore.net/general/f/11/t/3026&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/general/f/11/t/3026&lt;/a&gt; :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(Name_Value_ListFieldName)]&#xA;public virtual string Name_Value_List_Raw  {get; set;}  &#xA;&#xA;public NameValueCollection Name_Value_List  {get {return &#xA;HttpUtility.ParseQueryString(Name_Value_List_Raw); }}   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="1000" LastEditDate="2020-05-30T18:47:29.567" LastActivityDate="2020-05-30T18:47:29.567" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11492" PostTypeId="1" CreationDate="2018-04-25T12:08:24.387" Score="1" ViewCount="292" Body="&lt;p&gt;I installed Sitecore Connect for Salesforce 2.0.1 and added contact data using xConnect api but after executing Pipeline Batch &quot;xConnect Contacts to Salesforce Sync&quot; I get error message in log that &quot;Record was not saved&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look at part of the log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #11 13:58:04 DEBUG [Data Exchange] Pipeline processor finished processing pipeline steps. (pipeline: Process Single Contact from xConnect, pipeline step: Iterate Salesforce Results and Run Pipelines, completed pipeline steps: 4)&#xA;ManagedPoolThread #11 13:58:04 DEBUG [Data Exchange] 25 elements were iterated. (pipeline: Read Contacts from xConnect, pipeline step: Iterate xConnect Contacts and Run Pipelines, pipeline step identifier: ba9db2c3-87b8-46b9-83d4-6a7e28f8805b)&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:MALFORMED_ID&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Contact ID: id value of incorrect type: someExample8&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:ENTITY_IS_DELETED&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:entity is deleted&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:ENTITY_IS_DELETED&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:entity is deleted&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:ENTITY_IS_DELETED&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:entity is deleted&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:INVALID_EMAIL_ADDRESS&#xA;ManagedPoolThread #11 13:58:08 ERROR [Data Exchange] Record was not saved:Email: invalid email address: Sitecore.XConnect.Collection.Model.EmailAddress&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Have anyone idea why this happens and how can I solve the error? It seems like some data are invalid but I am not sure why, because I used valid email addresses. At least I would like to know how to change this validation.&lt;/p&gt;&#xA;" OwnerUserId="3570" LastEditorUserId="3570" LastEditDate="2018-04-25T13:10:41.060" LastActivityDate="2018-04-25T13:10:41.060" Title="Sitecore Connect for Salesforce 2.0.1 - ERROR [Data Exchange] Record was not saved" Tags="|xconnect|data-exchange-framework|salesforce-connect|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11493" PostTypeId="2" ParentId="11486" CreationDate="2018-04-25T12:10:12.870" Score="1" Body="&lt;p&gt;I’m not sure what version of Sitecore you are using but have you looked at Solr Cloud? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To my knowledge you shouldn’t need switchonrebuild with Solr cloud as I believe Zookeeper should manage the core availability during index updates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a good guide here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore-community.github.io/docs/search/solr/Install-and-configure-SolrCloud/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore-community.github.io/docs/search/solr/Install-and-configure-SolrCloud/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.chrissulham.com/sitecore-on-solr-cloud-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.chrissulham.com/sitecore-on-solr-cloud-part-1/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are lots of configuration options that you can set so read the guides over carefully.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;update&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I also wrote answer here for how to setup SolrCloud that might be useful for you: &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1611/sitecore-content-deliveries-and-solr-with-high-availability&quot;&gt;Sitecore Content deliveries and Solr with High availability&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-05-02T15:21:06.560" LastActivityDate="2018-05-02T15:21:06.560" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="11494" PostTypeId="1" AcceptedAnswerId="11548" CreationDate="2018-04-25T13:30:40.220" Score="3" ViewCount="1173" Body="&lt;p&gt;Just starting messing with Sitecore Experience Platform/Commerce 9.0 update 1 on Azure's App Service, managed to deploy it fairly easily, but now I'm stuck during the bootstrap/initialization part.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per their documentation, I've imported the &quot;postman&quot; folder from the root of the Commerce Engine SDK folder into Postman. I ran the &lt;strong&gt;GetToken&lt;/strong&gt; call to get my SitecoreIdToken, it worked and the value got populated automatically in Postman.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I'm trying to run the &lt;strong&gt;Bootstrap Sitecore Commerce&lt;/strong&gt; and &lt;strong&gt;Initialize Environment&lt;/strong&gt; calls, but it doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've modified the default environment variable &lt;code&gt;HostName&lt;/code&gt; to reflect my Azure App Service's URL, being &lt;code&gt;sxc-portal-587220-ops.azurewebsites.net&lt;/code&gt;. I've left the &lt;code&gt;protocol&lt;/code&gt; as &lt;code&gt;https&lt;/code&gt;, and left everything else as-i.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the command, which now expands to &lt;code&gt;PUT https://sxc-portal-587220-ops.azurewebsites.net:5000/commerceops/Bootstrap()&lt;/code&gt; (for the &lt;strong&gt;Bootstrap Sitecore Commerce&lt;/strong&gt; call), it times out. Same for the &lt;strong&gt;Initialize Environment&lt;/strong&gt; call, which expands to &lt;code&gt;https://sxc-portal-587220-ops.azurewebsites.net:5000/commerceops/InitializeEnvironment(environment='EnvironmentName')&lt;/code&gt;&#xA;If I try and access the ops URL by itself (&lt;code&gt;https://sxc-portal-587220-ops.azurewebsites.net&lt;/code&gt;), I get the following error: &lt;code&gt;Status Code: 404; Not Found&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me regarding this issue ? Would be greatly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3591" LastActivityDate="2018-07-20T13:39:41.987" Title="Can't bootstrap/initialize a new Sitecore Commerce 9 instance on Azure App Service" Tags="|azure|sitecore-commerce|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11495" PostTypeId="1" CreationDate="2018-04-25T14:16:41.213" Score="1" ViewCount="511" Body="&lt;p&gt;We have set up the Master and Slave for Solr configuration. There is one master and two slave servers configured on different ports. Appropriate replication is configured. The load balance is in place so as we CD servers can be catered for all queries. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Checked and found that replication is there. Below is the Master and slave configurations. We are using only one code, itembucket. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- solrconfig.xml for master instance --&amp;gt;&#xA;&amp;lt;requestHandler name=&quot;/replication&quot; class=&quot;solr.ReplicationHandler&quot; &amp;gt;&#xA;   &amp;lt;lst name=&quot;master&quot;&amp;gt;&#xA;       &amp;lt;str name=&quot;replicateAfter&quot;&amp;gt;startup&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&quot;replicateAfter&quot;&amp;gt;commit&amp;lt;/str&amp;gt;&#xA;       &amp;lt;!--If configuration files need to be replicated give the names here, separated by comma --&amp;gt;&#xA;       &amp;lt;str name=&quot;confFiles&quot;&amp;gt;schema.xml,stopwords.txt,elevate.xml&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&quot;maxNumberOfBackups&quot;&amp;gt;0&amp;lt;/str&amp;gt;&#xA;   &amp;lt;/lst&amp;gt;&#xA; &amp;lt;/requestHandler&amp;gt;&#xA;&amp;lt;!-- solrconfig.xml in slave instances --&amp;gt;&#xA;&amp;lt;requestHandler name=&quot;/replication&quot; class=&quot;solr.ReplicationHandler&quot; &amp;gt; &#xA;     &amp;lt;lst name=&quot;slave&quot;&amp;gt;&#xA;       &amp;lt;str name=&quot;enable&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&quot;masterUrl&quot;&amp;gt;https://load-balanced-url/solr/itembuckets&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&quot;pollInterval&quot;&amp;gt;00:01:00&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&quot;compression&quot;&amp;gt;internal&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&quot;httpConnTimeout&quot;&amp;gt;5000&amp;lt;/str&amp;gt;&#xA;       &amp;lt;str name=&quot;httpReadTimeout&quot;&amp;gt;10000&amp;lt;/str&amp;gt;&#xA;     &amp;lt;/lst&amp;gt;&#xA;&amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is when we search the web site, it gives error as mentioned below on log file.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WARN  Unable to connect to Solr: [http://SOLR_URL_:8984/solr/], the [SolrNet.Exceptions.SolrConnectionException] was caught.&#xA;Exception: SolrNet.Exceptions.SolrConnectionException&#xA;Message: Unable to connect to the remote server&#xA;Source: SolrNet&#xA;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&#xA;   at SolrNet.Impl.SolrCoreAdmin.Status()&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrStatus.OkSolrStatus()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: Unable to connect to the remote server&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond XXX.XXX.XXX.XX:8984&#xA;Source: System&#xA;   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)&#xA;   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp;amp; socket, IPAddress&amp;amp; address, ConnectSocketState state, IAsyncResult asyncResult, Exception&amp;amp; exception)   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="3128" LastEditDate="2018-04-25T14:26:48.967" LastActivityDate="2018-08-25T08:01:25.230" Title="Site Search is not working with Solr Master slave configuration" Tags="|solr|content-search|" AnswerCount="1" CommentCount="4" ClosedDate="2018-08-27T11:24:24.030" ContentLicense="CC BY-SA 3.0" />
  <row Id="11497" PostTypeId="2" ParentId="10264" CreationDate="2018-04-25T15:03:48.347" Score="3" Body="&lt;p&gt;In the end I went with creating a custom chanel for internal users and then filtering out the internal traffic from reports via the rule engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the rough steps to follow are as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new chanel in Sitecore and copy it's id.&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/channels/create_a_channel&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/channels/create_a_channel&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Make Sitecore recognize your new chanel.&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/channels/map_traffic_types_to_channels&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/channels/map_traffic_types_to_channels&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Write a new processor inherit from &lt;code&gt;DetermineChannelProcessorBase&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Custom.Pipelines.DetermineInteractionChannel&#xA;{&#xA;    public class InternalTrafficChannel : DetermineChannelProcessorBase&#xA;    {&#xA;&#xA;        private readonly string channelId;&#xA;&#xA;        protected readonly List&amp;lt;string&amp;gt; Filters = new List&amp;lt;string&amp;gt;();&#xA;&#xA;        public virtual void AddFilter(string filter)&#xA;        {&#xA;            if (this.Filters.Contains(filter))&#xA;                return;&#xA;            this.Filters.Add(filter);&#xA;        }&#xA;&#xA;        public InternalTrafficChannel(string channelId)&#xA;        {&#xA;            this.channelId = channelId;&#xA;        }&#xA;&#xA;        public override void Process(DetermineChannelProcessorArgs args)&#xA;        {&#xA;            if (IsInternalTraffic(args.Interaction))&#xA;            {&#xA;                args.ChannelId = new ID(this.channelId);&#xA;            }&#xA;        }&#xA;&#xA;        private bool IsInternalTraffic(CurrentInteraction interaction)&#xA;        {&#xA;        \\write your logic here.&#xA;        }        &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the new processor to &lt;code&gt;determineInteractionChannel&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;determineInteractionChannel&amp;gt;&#xA;        &amp;lt;processor type=&quot;Custom.Pipelines.DetermineInteractionChannel.InternalTrafficChannel, Custom.Pipelines&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;channelId&quot;&amp;gt;{00000000-0000-0000-0000-000000000000}&amp;lt;/param&amp;gt;&#xA;        &amp;lt;filters hint=&quot;list:AddFilter&quot;&amp;gt;&#xA;            &amp;lt;filter&amp;gt;127.0.0.1&amp;lt;/filter&amp;gt;&#xA;        &amp;lt;/filters&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;/determineInteractionChannel&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a filter to exclude internal users in &lt;code&gt;/sitecore/system/Marketing Control Panel/Experience Analytics/Filters&lt;/code&gt; and as a rule write:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Rule 1&#xA;except when the current interaction is on the Internal channel&#xA;add visit to segment&#xA;Rule 2&#xA;except when the current interaction is on a channel in the Internal channel group&#xA;add visit to segment&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Amend Segments that you are interested in to use the new filter.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Rebuild your reporting db.&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2607" LastActivityDate="2018-04-25T15:03:48.347" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11498" PostTypeId="1" CreationDate="2018-04-25T15:04:30.603" Score="2" ViewCount="311" Body="&lt;p&gt;I would like to use the advance Angular JSS project as an starting point for a code first approach but I would like to know if it is possible to remove all components that came with that Angular project from the code itself?. &#xA;Removing the components from the manifest and the data folder didn't affect the the Sitecore tree or templates at all.&lt;/p&gt;&#xA;" OwnerUserId="3571" LastActivityDate="2018-04-25T15:42:20.977" Title="Removing templates from JSS" Tags="|templates|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11499" PostTypeId="2" ParentId="11498" CreationDate="2018-04-25T15:17:08.097" Score="2" Body="&lt;p&gt;For your own safety, by default the JSS import will &lt;em&gt;not&lt;/em&gt; delete any items. You can enable &lt;code&gt;Full Wipe Mode&lt;/code&gt; if you wish for the app's items to be cleared prior to import. You can do this, or just manually remove the items. If they're not in the manifest definitions, they won't come back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more info, see JSS docs on &lt;a href=&quot;https://jss.sitecore.net/#/dev-workflows?id=import-full-wipe-mode&quot; rel=&quot;nofollow noreferrer&quot;&gt;full wipe mode&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="1671" LastEditDate="2018-04-25T15:42:20.977" LastActivityDate="2018-04-25T15:42:20.977" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11500" PostTypeId="1" CreationDate="2018-04-25T19:20:49.087" Score="0" ViewCount="503" Body="&lt;p&gt;On Sitecore 7.2 (MVC) we are in process of introducing en-CA and fr-CA in our multi-site with multi-lingual project. Where we want to leverage the Virtual Folder concept. Like we want &lt;a href=&quot;https://abcd.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://abcd.com/&lt;/a&gt; to serve en-CA whereas &lt;a href=&quot;https://abcd.com/fr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://abcd.com/fr&lt;/a&gt; to server fr-CA. Following are the site settings we introduced:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;site name=&quot;execpreview.aff&quot;&#xA;          virtualFolder=&quot;/&quot;&#xA;          physicalFolder=&quot;/&quot;&#xA;          hostName=&quot;pre.abcd.com|pre-stg.abcd.com|pre-dev.abcd.com&quot;&#xA;          rootPath=&quot;/sitecore/content/MySite&quot;&#xA;          startItem=&quot;home&quot;&#xA;          database=&quot;web&quot;&#xA;          domain=&quot;sitecore&quot;&#xA;          allowDebug=&quot;true&quot;&#xA;          cacheHtml=&quot;true&quot;&#xA;          htmlCacheSize=&quot;10MB&quot;&#xA;          registryCacheSize=&quot;0&quot;&#xA;          viewStateCacheSize=&quot;0&quot;&#xA;          xslCacheSize=&quot;5MB&quot;&#xA;          filteredItemsCacheSize=&quot;2MB&quot;&#xA;          enablePreview=&quot;true&quot;&#xA;          enableWebEdit=&quot;true&quot;&#xA;          enableDebugger=&quot;true&quot;&#xA;          disableClientData=&quot;false&quot;&#xA;          patch:before=&quot;site[@name='website']&quot;&#xA;          enableFallback=&quot;false&quot;&#xA;          dictionaryDomain=&quot;MySite Dictionary&quot;&#xA;         /&amp;gt;&#xA;&#xA;  &amp;lt;site name=&quot;execpreviewaff.ca&quot;&#xA;          language=&quot;en-CA&quot;&#xA;          virtualFolder=&quot;/&quot;&#xA;          physicalFolder=&quot;/&quot;&#xA;          hostName=&quot;pre-ca.abcd.com|pre-stg-ca.abcd.com|pre-dev-ca.abcd.com&quot;&#xA;          rootPath=&quot;/sitecore/content/MySite&quot;&#xA;          startItem=&quot;home&quot;&#xA;          database=&quot;web&quot;&#xA;          domain=&quot;sitecore&quot;&#xA;          allowDebug=&quot;true&quot;&#xA;          cacheHtml=&quot;true&quot;&#xA;          htmlCacheSize=&quot;10MB&quot;&#xA;          registryCacheSize=&quot;0&quot;&#xA;          viewStateCacheSize=&quot;0&quot;&#xA;          xslCacheSize=&quot;5MB&quot;&#xA;          filteredItemsCacheSize=&quot;2MB&quot;&#xA;          enablePreview=&quot;true&quot;&#xA;          enableWebEdit=&quot;true&quot;&#xA;          enableDebugger=&quot;true&quot;&#xA;          disableClientData=&quot;false&quot;&#xA;          patch:before=&quot;site[@name='website']&quot;&#xA;          enableFallback=&quot;false&quot;&#xA;          dictionaryDomain=&quot;Mysite Dictionary&quot;&#xA;         /&amp;gt;&#xA;&#xA;  &amp;lt;site name=&quot;execpreviewaff.cafr&quot;&#xA;          language=&quot;fr-CA&quot;&#xA;          virtualFolder=&quot;/fr&quot;&#xA;          physicalFolder=&quot;/fr&quot;&#xA;          hostName=&quot;pre-ca.abcd.com|pre-stg-ca.abcd.com|pre-dev-ca.abcd.com&quot;&#xA;          rootPath=&quot;/sitecore/content/MySite&quot;&#xA;          startItem=&quot;home&quot;&#xA;          database=&quot;web&quot;&#xA;          domain=&quot;sitecore&quot;&#xA;          allowDebug=&quot;true&quot;&#xA;          cacheHtml=&quot;true&quot;&#xA;          htmlCacheSize=&quot;10MB&quot;&#xA;          registryCacheSize=&quot;0&quot;&#xA;          viewStateCacheSize=&quot;0&quot;&#xA;          xslCacheSize=&quot;5MB&quot;&#xA;          filteredItemsCacheSize=&quot;2MB&quot;&#xA;          enablePreview=&quot;true&quot;&#xA;          enableWebEdit=&quot;true&quot;&#xA;          enableDebugger=&quot;true&quot;&#xA;          disableClientData=&quot;false&quot;&#xA;          patch:before=&quot;site[@name='website']&quot;&#xA;          enableFallback=&quot;false&quot;&#xA;          dictionaryDomain=&quot;Mysite Dictionary&quot;&#xA;         /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this is how we have Language Code Map configured in a patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;LanguageCodeMap type=&quot;MyAssembly&quot;&amp;gt;&#xA;      &amp;lt;languages hint=&quot;raw:AddLanguageCode&quot;&amp;gt;&#xA;        &amp;lt;com tld=&quot;com&quot; iso=&quot;en&quot; suffix=&quot;com&quot; isdefault=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;uk tld=&quot;uk&quot; iso=&quot;en-GB&quot; suffix=&quot;co.uk&quot; isdefault=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;fr tld=&quot;fr&quot; iso=&quot;fr-FR&quot; suffix=&quot;fr&quot; isdefault=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;de tld=&quot;de&quot; iso=&quot;de-DE&quot; suffix=&quot;de&quot; isdefault=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;mx tld=&quot;mx&quot; iso=&quot;es-MX&quot; suffix=&quot;mx&quot; isdefault=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;au tld=&quot;au&quot; iso=&quot;en-AU&quot; suffix=&quot;com.au&quot; isdefault=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;fr tld=&quot;fr&quot; iso=&quot;fr-CA&quot; suffix=&quot;fr&quot; isdefault=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;ca tld=&quot;ca&quot; iso=&quot;en-CA&quot; suffix=&quot;ca&quot; isdefault=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;/languages&amp;gt;&#xA;    &amp;lt;/LanguageCodeMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The issue we are facing is  &lt;a href=&quot;https://abcd.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://abcd.com/&lt;/a&gt; is working fine by serving en-CA, but &lt;a href=&quot;https://abcd/fr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://abcd/fr&lt;/a&gt; is going to en-US site not the fr-CA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also if we swap the sequence on these Site Config, en-CA works fine but fr-CA throws a 404. Please note that we already have the &lt;code&gt;Languages.AlwaysStripLanguage=False&lt;/code&gt;. Also  if we configure only one at a time, it works fine but breaks when we configure together.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 1:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If we change the sequence by adding en-CA first, as I mentioned in the question we get a 404 page for fr-CA with URL as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://pre-dev-ca.abcd.com/System/404?item=%2ffr&amp;amp;user=sitecore%5cAnonymous&amp;amp;site=&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://pre-dev-ca.abcd.com/System/404?item=%2ffr&amp;amp;user=sitecore%5cAnonymous&amp;amp;site=&lt;/a&gt;&lt;strong&gt;execpreviewaff.ca&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where en-CA works fine. But if we notice the site parameter in the url it is referring to en-CA website not fr-CA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I strongly suspect there are some mismatch in Site Definitions but unable to locate that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone please suggest the possible problem?&lt;/p&gt;&#xA;" OwnerUserId="2890" LastEditorUserId="2890" LastEditDate="2018-04-26T13:07:27.300" LastActivityDate="2018-04-26T13:07:27.300" Title="Virtual folder setting is not working for multi lingual site" Tags="|multilingual|multisite|site-configuration|" AnswerCount="0" CommentCount="11" ContentLicense="CC BY-SA 3.0" />
  <row Id="11503" PostTypeId="1" AcceptedAnswerId="11545" CreationDate="2018-04-26T07:13:25.123" Score="2" ViewCount="84" Body="&lt;p&gt;I am using the IGetInventorySkuPipeline to get hold of an InventorySku object.&#xA;If I get one, then I want to modify and save it and if I don't get one (for the productId I send down the pipeline), then I want to create a new InventorySku for that product. But I don't find any pipeline for either save nor create an InventorySku.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing?&lt;/p&gt;&#xA;" OwnerUserId="3366" LastActivityDate="2018-05-30T14:21:05.650" Title="How to create a new InventorySku?" Tags="|pipelines|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11504" PostTypeId="1" CreationDate="2018-04-26T08:01:10.100" Score="3" ViewCount="337" Body="&lt;p&gt;I'd like to enable content editors to better structure their local datasources in the Sitecore Editor when using the experience editor to select datasources for renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd like them to be able to create a new folder underneath which ever item they have selected in the tree that is show in the dialogue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This might work by right click and pressing &quot;add new folder&quot;, or a new button in the left hand pane which says &quot;Add folder under selected item&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone point me in the right direction to how I might achieve this? Image attached for better context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HZTRB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HZTRB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3596" LastEditorUserId="73" LastEditDate="2018-04-26T08:03:19.627" LastActivityDate="2018-04-26T15:27:19.350" Title="Add “New Folder” button to datasource picker" Tags="|experience-editor|datasource|" AnswerCount="1" CommentCount="4" ClosedDate="2018-04-30T07:26:11.357" ContentLicense="CC BY-SA 3.0" />
  <row Id="11505" PostTypeId="1" CreationDate="2018-04-26T09:46:24.353" Score="3" ViewCount="429" Body="&lt;p&gt;Goal is to upgrade our sitecore VS solution from 8.2 update 1 to sitecore 9 update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thought this would be easier but I keep getting this error below when trying to upgrade my sitecore nuget packages from 8.2 update 1 to sitecore 9.0 update 1.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Package 'Sitecore.Abstractions.9.0.171219' does not exist in folder&#xA;  'C:\Work\source\repo\sitecore9poc\packages'&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Could not install package 'Sitecore.Abstractions 9.0.171219'. You are&#xA;  trying to install this package into a project that targets&#xA;  '.NETFramework,Version=v4.5.2', but the package does not contain any&#xA;  assembly references or content files that are compatible with that&#xA;  framework. For more information, contact the package author.&#xA;  ========== Finished ==========&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I tried updating the Target Framework from 4.5 to 4.6 and same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2018-04-26T09:53:47.813" LastActivityDate="2018-05-15T00:39:58.273" Title="Unable to upgrade sitecore nuget 8. 2 to 9.0.1" Tags="|upgrade|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11506" PostTypeId="2" ParentId="11505" CreationDate="2018-04-26T10:40:44.897" Score="11" Body="&lt;p&gt;This seems to be related to the .net version you are targetting on your projects. Sitecore 9 requires .Net 4.6.2 or 4.7. It seems like one or some of your projects are using 4.5.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Compatibility table reference: &lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/087164&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="88" LastActivityDate="2018-04-26T10:40:44.897" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11507" PostTypeId="2" ParentId="11504" CreationDate="2018-04-26T11:31:34.340" Score="2" Body="&lt;p&gt;By default this SPEAK dialog sits under:&#xA;&lt;code&gt;sitecore\shell\Applications\Dialogs\SelectRenderingDatasource\SelectRenderingDatasource.xml&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need to override this dialog and add your custom button and functionality. Best to add a new file under &lt;code&gt;\sitecore\shell\override\Applications\Dialogs\SelectRenderingDatasource&lt;/code&gt; with your custom xml/css. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;CodeBeside&lt;/code&gt; tag is where you map the &lt;code&gt;.xml&lt;/code&gt; to your &lt;code&gt;.cs&lt;/code&gt; class. If you have SXA, you can see how they have overridden it and added a search button.&lt;/p&gt;&#xA;" OwnerUserId="88" LastEditorUserId="88" LastEditDate="2018-04-26T11:45:52.730" LastActivityDate="2018-04-26T11:45:52.730" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11508" PostTypeId="1" AcceptedAnswerId="11511" CreationDate="2018-04-26T11:51:56.087" Score="3" ViewCount="725" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9 Update 1 Forms&lt;/code&gt;. I have created a custom automated campaign to send on form button click but I am not able to see my newly created campaign in &lt;code&gt;Send Email Campaign Message Action&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i7vWt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i7vWt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HISR6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HISR6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="5387" LastEditDate="2020-04-03T06:47:36.857" LastActivityDate="2020-04-03T06:47:36.857" Title="Custom automated campaign not showing in Send Email Campaign Message Action" Tags="|exm|sitecore-forms|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11510" PostTypeId="1" AcceptedAnswerId="11512" CreationDate="2018-04-26T13:30:19.590" Score="3" ViewCount="878" Body="&lt;p&gt;Is there a quick way of checking how many child items there are by querying the sitecore master db?&lt;/p&gt;&#xA;" OwnerUserId="3183" LastActivityDate="2018-04-26T13:41:08.247" Title="How to find out how many items are in media folder by querying the db" Tags="|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11511" PostTypeId="2" ParentId="11508" CreationDate="2018-04-26T13:34:01.690" Score="4" Body="&lt;p&gt;You should check that your message is &quot;Automated&quot; and &quot;Active&quot;. You can do this in 2 ways:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;in the &lt;code&gt;Content Editor&lt;/code&gt; check the &lt;code&gt;System&lt;/code&gt; section of your message item : &lt;a href=&quot;https://i.stack.imgur.com/CSHtk.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CSHtk.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;or, and better, in EXM: &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Go to the &quot;automated email campaigns&quot; in the main navigation on the left&lt;/li&gt;&#xA;&lt;li&gt;Find your message (it should be in there if it was an automated one)&lt;/li&gt;&#xA;&lt;li&gt;Click the message to go to the details and check the campaign info:&lt;a href=&quot;https://i.stack.imgur.com/3V8eb.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3V8eb.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If this is not Active, you can click on &quot;Full email campaign&quot; (on the right between the preview and the info pane). This will enable you to edit the properties - go to the delivery tab and set the message as active (click on the  &quot;Activate message&quot; button). It should look like this afterwards:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2pAVQ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2pAVQ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-04-26T13:34:01.690" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11512" PostTypeId="2" ParentId="11510" CreationDate="2018-04-26T13:41:08.247" Score="3" Body="&lt;p&gt;You can create a view that captures the item paths. Once you have that view, it's fairly easy to query that based on a part of the path to find children.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All sql and info can be found on this blog: &lt;a href=&quot;http://chowson.github.io/sitecore-item-paths-in-sql-queries/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://chowson.github.io/sitecore-item-paths-in-sql-queries/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And just in case it gets deleted, here it is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CREATE VIEW [dbo].[ItemsPath]&#xA;AS&#xA;    WITH ItemsTable (ItemPath, ID, Name, TemplateID, MasterID, ParentID, Created, Updated)&#xA;    AS&#xA;    (&#xA;        SELECT CAST('/' + base.Name AS nvarchar(MAX)) as ItemPath,&#xA;            base.ID, base.Name, base.TemplateID, base.MasterID, base.ParentID, base.Created, base.Updated&#xA;&#xA;        FROM Items as base&#xA;        WHERE base.ID = '11111111-1111-1111-1111-111111111111'  &#xA;&#xA;        UNION ALL&#xA;&#xA;        SELECT CAST(ItemPath + '/' + child.Name AS nvarchar(MAX)),&#xA;            child.ID, child.Name, child.TemplateID, child.MasterID, child.ParentID, child.Created, child.Updated&#xA;&#xA;        FROM ItemsTable as parent &#xA;        INNER JOIN Items as child &#xA;            ON child.ParentID = parent.ID &#xA;    )   &#xA;    SELECT ItemPath, ID, Name, TemplateID, MasterID, ParentID, Created, Updated&#xA;    FROM ItemsTable&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And to use it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;--Returns all descendants of the /sitecore/template item&#xA;SELECT * &#xA;FROM ItemsPath&#xA;WHERE ItemPath LIKE '/sitecore/templates%'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-04-26T13:41:08.247" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11513" PostTypeId="2" ParentId="11415" CreationDate="2018-04-26T13:47:50.613" Score="3" Body="&lt;h2&gt;No&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Unfortunately is the only answer. I think the above close votes are from people, trying to help you actually solve the Object Reference exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But no you cannot. Sitecore does not have an &quot;ignore errors&quot; or &quot;treat errors as warnings&quot; or similar setting when installing packages. You are going to have to isolate the item(s) that are giving you grief and removing them from the package manually (zip) - or find out why they are failing to install on your system (find the root cause of your exception).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your Sitecore logs will contain a listing of items installed, giving you a decent idea of which items are causing the failure, so you can act on it.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-04-26T13:47:50.613" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11514" PostTypeId="1" CreationDate="2018-04-26T13:52:40.853" Score="6" ViewCount="881" Body="&lt;h2&gt;Overview&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;During a disaster recovery test of our environment we make mongoDB unavailable to Sitecore with the expectation that Sitecore will continue to function normally due to the Configuration noted below per &lt;a href=&quot;https://kb.sitecore.net/articles/930657&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead what happens is the website throws exceptions making itself unavailable.  Additionaly, I can see a file created on the local CD server in the &lt;code&gt;Data/Submit Queue&lt;/code&gt; folder, however after restoring mongoDB these files remain there rather than disappear as expected from being processed by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Configuration&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We are currently running Sitecore.NET 8.2 (rev. 170728) with a CM server and several CD servers.  I validated the following configuration on all of our CD servers:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Submit Queue Enabled:&#xA;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;submitQueue patch:source=&quot;Sitecore.Analytics.Tracking.config&quot;&amp;gt;&#xA;  &amp;lt;queue type=&quot;Sitecore.Analytics.Data.DataAccess.SubmitQueue.FileSubmitQueue, Sitecore.Analytics&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;folderPath&quot;&amp;gt;$(dataFolder)/Submit Queue&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/queue&amp;gt;&#xA;&#xA;  &amp;lt;backgroundService type=&quot;Sitecore.Analytics.SubmitQueueService, Sitecore.Analytics&quot;&amp;gt;&#xA;    &amp;lt;!--  Service wakeup interval in seconds.  --&amp;gt;&#xA;    &amp;lt;Interval&amp;gt;60&amp;lt;/Interval&amp;gt;&#xA;  &amp;lt;/backgroundService&amp;gt;&#xA;&amp;lt;/submitQueue&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;mongoDB set not to fail on read errors:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mongo recoveryTimeout=&quot;60&quot;&amp;gt;&#xA;  &amp;lt;driver type=&quot;Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDriver, Sitecore.Analytics.MongoDB&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;connectionString&quot;&amp;gt;$(0)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;failOnReadErrors&quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/driver&amp;gt;&#xA;&amp;lt;/mongo&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Exceptions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;During the DR testing the CM servers continues to function online as expected, whereas the all CDs being to throw exceptions.  The following I believe to be the relevant problem from the Sitecore log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ERROR Cannot create tracker.&#xA;Exception: System.TimeoutException&#xA;Message: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;ReplicaSet&quot;, Type : &quot;ReplicaSet&quot;, State : &quot;Connected&quot;, Servers : [{ ServerId: &quot;{ ClusterId : 1, EndPoint : &quot;Unspecified/mongoserver1:27017&quot; }&quot;, EndPoint: &quot;Unspecified/mongoserver1:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot;, HeartbeatException: &quot;MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---&gt; System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 123.123.123.123:27017&#xA;   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)&#xA;   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.TcpStreamFactory.d__7.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.TcpStreamFactory.d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.BinaryConnection.d__48.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at MongoDB.Driver.Core.Connections.BinaryConnection.d__48.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Servers.ServerMonitor.d__27.MoveNext()&quot; }, { ServerId: &quot;{ ClusterId : 1, EndPoint : &quot;Unspecified/mongoserver2:27017&quot; }&quot;, EndPoint: &quot;Unspecified/mongoserver2:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot;, HeartbeatException: &quot;MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---&gt; System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 124.124.124.124:27017&#xA;   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)&#xA;   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.TcpStreamFactory.d__7.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.TcpStreamFactory.d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.BinaryConnection.d__48.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at MongoDB.Driver.Core.Connections.BinaryConnection.d__48.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Servers.ServerMonitor.d__27.MoveNext()&quot; }, { ServerId: &quot;{ ClusterId : 1, EndPoint : &quot;Unspecified/mongoserver3:27017&quot; }&quot;, EndPoint: &quot;Unspecified/mongoserver3:27017&quot;, State: &quot;Connected&quot;, Type: &quot;ReplicaSetSecondary&quot;, WireVersionRange: &quot;[0, 4]&quot; }] }.&#xA;Source: MongoDB.Driver.Core&#xA;   at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)&#xA;   at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)&#xA;   at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetReadChannelSource(CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetReadChannelSource(CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.Core.Operations.FindOperation`1.Execute(IReadBinding binding, CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.MongoCollection.ExecuteReadOperation[TResult](IReadOperation`1 operation, ReadPreference readPreference)&#xA;   at MongoDB.Driver.MongoCollection.FindOneAs[TDocument](FindOneArgs args)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.c__DisplayClass2a`1.b__29()&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.Execute(Action action, ExceptionBehavior exceptionBehavior)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.FindOneAs[TDocument](IMongoQuery query, ExceptionBehavior exceptionBehavior)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbContactStorage.LoadContactIdentifier(ID id)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.LoadContactIdentifierValue(ID contactId)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.TryLoadContact(ID id, IContactFactory factory, LeaseOwner leaseOwner, TimeSpan leaseDuration)&#xA;   at Sitecore.Analytics.Data.ContactRepository.TryLoadContact(Guid id, LeaseOwner leaseOwner, TimeSpan leaseDuration)&#xA;   at Sitecore.Analytics.Tracking.ContactManager.TryLoadContact(Guid contactId, Int32 lockDurationMinutes, Boolean exclusive)&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact.Process(InitializeTrackerArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureSessionContextPipeline.Run(InitializeTrackerArgs args)&#xA;   at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()&#xA;   at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Tracker.Initialize()&#xA;ERROR Application error.&#xA;Exception: System.InvalidOperationException&#xA;Message: Tracker.Current is not initialized&#xA;Source: Sitecore.Analytics&#xA;   at Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, Boolean failIfNotExists)&#xA;   at Sitecore.Analytics.Pipelines.StartAnalytics.StartAnalyticsPipeline.Run()&#xA;   at Sitecore.Mvc.Analytics.Pipelines.MvcEvents.RequestBegin.StartTracking.Process(RequestBeginArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would think this to be a separate issue, though since it occurs during the same timeframe of mongoDB being down I am posting this exception here as well.  I am not sure why WFFM would no longer be able to obtain a session (we use SQL for shared sessions).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;WARN [WFFM] CurrentSession  is not initialized&#xA;ERROR SessionEndPipeline failed.&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Analytics.Automation&#xA;   at Sitecore.Analytics.Pipelines.VisitEnd.RunAutomation.RunAutomationX(Database database)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.VisitEnd.VisitEndPipeline.Run(VisitEndArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.EndSession.SessionEndPipeline.Run(SessionEndArgs sessionEndArgs)&#xA;   at Sitecore.Web.Application.RaiseSessionEndEvent(HttpApplication context)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The question here being - why does Sitecore fail when mongoDB goes down when the configuration is defined to allow Sitecore to continue to function?&lt;/p&gt;&#xA;" OwnerUserId="2334" LastEditorUserId="2334" LastEditDate="2018-04-26T17:23:04.347" LastActivityDate="2018-04-26T17:23:04.347" Title="Sitecore Analytics Exceptions with mongoDB Failure" Tags="|xdb|configuration|experience-analytics|mongodb|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11516" PostTypeId="2" ParentId="11494" CreationDate="2018-04-26T16:26:46.403" Score="0" Body="&lt;p&gt;App Services only use ports 80 and 443, the hostname would normally be your CM instance and use ports 5000 and 5050 to redirect to the other hosts like ops and minions. replace the urls in postman with the webapps for each service as opposed to using the port 5000 redirects from the primary url. additionally make sure you selecting token auth for each POST/GET&lt;/p&gt;&#xA;" OwnerUserId="2705" LastActivityDate="2018-04-26T16:26:46.403" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11520" PostTypeId="1" AcceptedAnswerId="11521" CreationDate="2018-04-27T03:54:11.123" Score="2" ViewCount="375" Body="&lt;p&gt;I have assigned some images to products in BizFx, but the image always shows up as  a toaster on the storefront.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The toaster image belongs to the Habitat sample images, but there doesn't appear to be any references to that item so it's unclear why it's being used.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-04-27T05:34:00.087" Title="Why are all my product images toasters?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11521" PostTypeId="2" ParentId="11520" CreationDate="2018-04-27T03:54:53.580" Score="3" Body="&lt;p&gt;The toaster image is hardcoded (by id!) as a fallback for when the product template does not contain a field named &quot;Images&quot;. Not for an empty field value, only when the field missing entirely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The product fields are all generated when the &quot;Update Commerce Templates&quot; button is clicked in the ribbon. The process involves finding the first entity in the appropriate list and then obtaining a specific view (&lt;code&gt;ConnectSellableItem&lt;/code&gt; for products) and using it's properties as fields. Those properties are then used to generate templates in &lt;code&gt;/sitecore/templates/Commerce/Catalog Generated&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the case of images, it appears that actually having content is necessary to include the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, to resolve:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Call &lt;code&gt;GetList(id='SellableItems')&lt;/code&gt; (&quot;Lists - Sellable Items&quot; in postman) to find the entity ID of the first SellableItem&lt;/li&gt;&#xA;&lt;li&gt;Open that sellable item in BizFx and assign an image&lt;/li&gt;&#xA;&lt;li&gt;Open Content Editor and click the &quot;Update Commerce Templates&quot; ribbon button&lt;/li&gt;&#xA;&lt;li&gt;Click the &quot;Clear Commerce Cache&quot; ribbon button&lt;/li&gt;&#xA;&lt;li&gt;(If your site is in &quot;web&quot;) Publish the &lt;code&gt;/sitecore/templates/Commerce&lt;/code&gt; folder&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The &quot;Product Images&quot; rendering has caching enabled, so if you haven't set up clear-on-publish for the site you may want to recycle the app pool.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2018-04-27T05:34:00.087" LastActivityDate="2018-04-27T05:34:00.087" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11522" PostTypeId="2" ParentId="11495" CreationDate="2018-04-27T06:13:00.887" Score="0" Body="&lt;p&gt;The issue get resolved when we reconfigure SOLR server for SLAVE and provided the Load Balancer IP address we correct Core path. There was one extra (/) added to Service address at the end of address. That helps to resolve the issue. It has to be     &lt;a href=&quot;http://load_balancer_URL_:8984/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://load_balancer_URL_:8984/solr&lt;/a&gt;    instead of &#xA;    &lt;a href=&quot;http://load_balancer_URL_:8984/solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://load_balancer_URL_:8984/solr/&lt;/a&gt;    &lt;/p&gt;&#xA;" OwnerUserId="3128" LastActivityDate="2018-04-27T06:13:00.887" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11523" PostTypeId="1" AcceptedAnswerId="12549" CreationDate="2018-04-27T07:50:54.260" Score="9" ViewCount="4767" Body="&lt;p&gt;Sometimes when we change config file or deploy new code, we see this exception on first load of page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Server Error in '/' Application.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Index sitecore_marketingdefinitions_master was not found &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: Sitecore.ContentSearch.Exceptions.IndexNotFoundException: Index sitecore_marketingdefinitions_master was not found&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &#xA;  An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[IndexNotFoundException: Index sitecore_marketingdefinitions_master was not found]&#xA;     Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name) +127&#xA;     Sitecore.Marketing.Search.BaseDefinitionSearchProvider&lt;code&gt;2..ctor(String indexName) +91&#xA;     Sitecore.Marketing.Search.ProfileDefinitionSearchProvider..ctor(IDefinitionManagerSearchSettings searchSettings) +113&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider) +339&#xA;     Microsoft.Extensions.DependencyInjection.ScopedCallSite.Invoke(ServiceProvider provider) +116&#xA;     Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider) +111&#xA;     Microsoft.Extensions.DependencyInjection.ScopedCallSite.Invoke(ServiceProvider provider) +116&#xA;     Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService(IServiceProvider provider) +69&#xA;     Sitecore.Marketing.Definitions.DefinitionManagerFactory.GetDefinitionManager() +84&#xA;     Sitecore.Analytics.Data.&amp;lt;&amp;gt;c__DisplayClass7_0.&amp;lt;.ctor&amp;gt;b__4() +69&#xA;     System.Lazy&lt;/code&gt;1.CreateValue() +737&#xA;     System.Lazy&lt;code&gt;1.LazyInitValue() +431&#xA;     Sitecore.Analytics.Data.MarketingDefinitions.InitializeProfilesWithDefaultValues() +80&#xA;     System.Lazy&lt;/code&gt;1.CreateValue() +737&#xA;     System.Lazy`1.LazyInitValue() +431&#xA;     Sitecore.Analytics.Data.TrackingField.InitializeProfiles() +106&#xA;     Sitecore.Analytics.Data.TrackingField..ctor(Field innerField) +133&#xA;     Sitecore.Analytics.Data.TrackingField.GetTrackingField(Item item) +106&#xA;     Sitecore.Analytics.Data.ProfileUtil.GetProfiles(Item item, TrackingField&amp;amp; trackingField) +41&#xA;     Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditorHeader.ProfileCardsControl.RenderProfileCardIcons(Item item, HtmlTextWriter output, Boolean&amp;amp; hasCardsConfigured) +128&#xA;     Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditorHeader.ProfileCardsControl.RenderProfileCards(Item item, HtmlTextWriter output) +570&#xA;     Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditorHeader.ProfileCardsControl.OnInit(EventArgs e) +260&#xA;     System.Web.UI.Control.InitRecursive(Control namingContainer) +460&#xA;     System.Web.UI.Control.InitRecursive(Control namingContainer) +225&#xA;     System.Web.UI.Control.AddedControl(Control control, Int32 index) +245&#xA;     Sitecore.Web.UI.Sheer.ClientPage.AddControl(Control parent, Control control, String placeholder) +234&#xA;     Sitecore.Shell.Applications.ContentManager.Editor.Render(RenderContentEditorArgs args, Control parent) +283&#xA;     Sitecore.Shell.Applications.ContentManager.ContentEditorForm.RenderEditor(Item item, Item root, Control editorsContainer, Boolean showEditor) +291&#xA;     Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateEditor(Item folder, Item root, Boolean showEditor) +487&#xA;     Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update() +568&#xA;     Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e) +212&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;    System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;     System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;     System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;     Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;     Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +143&#xA;     System.Web.UI.Control.PreRenderRecursiveInternal() +200&#xA;     System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7574&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When we refresh the page, everything is working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anybody encountered similar issues?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How we can prevent this happening?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-25T07:12:23.147" LastActivityDate="2019-01-27T22:46:37.113" Title="&quot;Index sitecore_marketingdefinitions_master was not found&quot; exception in Sitecore 9" Tags="|content-search|configuration|" AnswerCount="2" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="11525" PostTypeId="1" AcceptedAnswerId="14055" CreationDate="2018-04-27T12:53:31.663" Score="1" ViewCount="1326" Body="&lt;p&gt;I'm trying to set up a gulp task for publishing, similar to the Habitat model and the Sitecore development book. One suggestion people have had is to exclude things like the Sitecore DLLs, Coveo DLLs, etc, that aren't needed to be included in a deployment. I've been able to set this up in a publish profile, where it looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ExcludeFilesFromDeployment&amp;gt;bin\Sitecore.*.dll;bin\Coveo.*.dll;bin\Newtonsoft.*.dll;packages.config&amp;lt;/ExcludeFilesFromDeployment&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the gulp task properties, I was able to add the &lt;code&gt;ExcludeFilesFromDeployment&lt;/code&gt; property to the &lt;code&gt;properties&lt;/code&gt; node, but it doesn't seem to recognize/accept it. Also, if I use the semicolon-delimited list, it throws an error. I'd like to add this in at the task level, rather than have a publish profile in every project...using a property to tell the task to use a profile works, if the excluded files are specified there, but that's a lot of extra overhead.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-12-18T09:53:27.237" Title="Using ExcludeFilesFromDeployment with gulp-msbuild" Tags="|helix|gulp|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11527" PostTypeId="2" ParentId="11399" CreationDate="2018-04-27T15:51:53.023" Score="0" Body="&lt;p&gt;if your trying to setup a Sitecore V9 PaaS infrastructure in Azure you could try using the Sitecore market place and using the wizard to install all the necessary resources for a 9 or 9.1 PaaS environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;having used the ARM templates for setting up an 8.2 Azure instance my advice to you with regards to the errors you receive while executing them are the following...&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Ensure all your URLs in your parameters.json file resolve correctly. ctrl + click each one and ensure that the scwdp zip file downloads and you dont get a 403&lt;/li&gt;&#xA;&lt;li&gt;Ensure all your scwdp are from the exact sitecore topology. if your using 9 make sure they are all 9 or all 9.1, not a mixture of both&lt;/li&gt;&#xA;&lt;li&gt;Set a complex SQL Server password in the parameters file so you dont get any &quot;Password not complex enough errors&quot;&lt;/li&gt;&#xA;&lt;li&gt;Setup GIT in the folder where all your Sitecore deployment/ARM templates are stored. That way you have a history for when you make changes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;using ARM templates is not a simple process and it involves a lot of trial and error. Most of the errors don't indicate what the root cause is, but if you ensure my points above are correct it will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for more info see my Questions/Answers regarding the issues i experienced with ARM templates on this forum.&lt;/p&gt;&#xA;" OwnerUserId="2993" LastActivityDate="2018-04-27T15:51:53.023" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11528" PostTypeId="1" CreationDate="2018-04-27T16:06:38.940" Score="1" ViewCount="1081" Body="&lt;p&gt;I took a backup from the server and setup the site on my local development environment. (by backup, I mean I took backup of all databases)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I set up staging(CM) and Production(CD) on my local development environment. When I rebuild master index, I got all content on the staging website, but on production website I do not have all contents even after rebuilding the web index. I can see those items under sitecore/content/home in the web database, and when I publish those all items are displaying.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My web index is configured to &lt;code&gt;onPublishEndAsync&lt;/code&gt; strategy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read this very useful &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/index_update_strategies&quot; rel=&quot;nofollow noreferrer&quot;&gt;page&lt;/a&gt; and I believe that it's because of our strategy we configured for web.  It sound to me like RemoteRebuildStrategy would work but I'm not sure how to configure it, or that's not the solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help how can I get those items indexed on web index so that I do not need to republish them. I'm working on Sitecore 7.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3606" LastEditorUserId="237" LastEditDate="2018-04-28T11:13:26.413" LastActivityDate="2018-04-28T11:13:26.413" Title="Rebuilding web index does not bring the published items" Tags="|indexing|lucene|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11529" PostTypeId="2" ParentId="11528" CreationDate="2018-04-27T16:31:09.120" Score="3" Body="&lt;p&gt;To trigger a rebuild on a &quot;remote&quot; server that has it's own indexes you need the RemoteRebuild strategy indeed. You can add it to the strategies of your index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;  &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;  &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/remoteRebuild&quot;/&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you might have read on the page you mentioned, this event is triggered when the index is rebuilt (only activated when a full index rebuild takes place). Make sure the EventQueue is enabled, your core database is shared and your indexes have the same name on the cm and cd - but I guess that won't be an issue.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-04-27T16:31:09.120" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11530" PostTypeId="1" AcceptedAnswerId="11532" CreationDate="2018-04-27T19:20:00.110" Score="1" ViewCount="3796" Body="&lt;p&gt;I have a scheduled task for sending out weekly emails to users who have subscribed. I have my task created in Sitecore and set to run on Fridays, at a minimum interval of 00:59:59; in the code, it checks if the current time is between 2-3PM and if so, continues to complete the task. Therefore the emails should only send once on Friday between 2 and 3 PM, but instead they are sending twice within one minute. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another issue I had is that even though my Sitecore task was configured to run every 59 minutes, it instead was originally sending emails every ten minutes. I fixed this with a code change that updates the &quot;Last Run&quot; field on my email settings item, and does not send emails if &quot;Last Run&quot; is the current day. This stopped the emails from going out every 10 minutes, but I still get the double. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From looking at my logs, this is what I see:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;04/27/2018&#xA;  14:08:11.000 -0400&lt;br&gt;&#xA;  ManagedPoolThread #8 14:08:11 INFO  Starting: Weekly Digest Email Scheduled Task (asynchronously)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;04/27/2018&#xA;  14:08:11.000 -0400&lt;br&gt;&#xA;  ManagedPoolThread #13 14:08:11 INFO  Weekly Digest Task last ran at 4/20/2018 2:02:04 PM&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;04/27/2018&#xA;  14:08:11.000 -0400&lt;br&gt;&#xA;  ManagedPoolThread #13 14:08:11 INFO  Running scheduled task!&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;04/27/2018&#xA;  14:08:11.000 -0400&lt;br&gt;&#xA;  ManagedPoolThread #8 14:08:11 INFO  Ended: Weekly Digest Email Scheduled Task&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;04/27/2018&#xA;  14:08:11.000 -0400&lt;br&gt;&#xA;  ManagedPoolThread #2 14:08:11 INFO  Starting: Send Weekly Digest Email&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;04/27/2018&#xA;  14:08:11.000 -0400&lt;br&gt;&#xA;  ManagedPoolThread #2 14:08:11 INFO  Weekly Digest Task last ran at 4/20/2018 2:02:04 PM&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;04/27/2018&#xA;  14:08:11.000 -0400&lt;br&gt;&#xA;  ManagedPoolThread #2 14:08:11 INFO  Running scheduled task!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So it appears that the task is triggering twice in the same second. When it checks &quot;Last Run&quot; the second time, the field has not been updated yet, so it still appears that it last ran a week ago and not the same day. I checked the &quot;Last Run&quot; field after the emails sent today, and it says it last ran at &lt;code&gt;4/27/2018 2:02:08 PM&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how my task is configured in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O5lfP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O5lfP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would unchecking Async fix it? I'm hesitant that making it not asynchronous will slow down the site when the task is running. It is also difficult to test since the task only runs once a week and any time it runs it is sending emails to real users, so I can't just run it a ton of times to test it. &lt;/p&gt;&#xA;" OwnerUserId="2609" LastActivityDate="2018-04-27T20:15:51.163" Title="Scheduled Task running multiple times when it should only run once an hour" Tags="|scheduled-tasks|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11531" PostTypeId="2" ParentId="11525" CreationDate="2018-04-27T19:33:13.447" Score="1" Body="&lt;p&gt;I have tried to achieve the same in the past. Even after several Google searches and personal attempts, I couldn't find anything to exclude files from deployment. The Gulp task is trying to pass the &lt;code&gt;ExcludeFileFromDeployment&lt;/code&gt; as parameter to the msbuild.exe. I'm afraid the msbuild.exe doesn't recognize any parameter named &lt;code&gt;ExcludeFileFromDeployment&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To work this around, I created a task for deleting files after publishing them. e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var del = require('del');&#xA;&#xA;[...] code here [...]&#xA;&#xA;gulp.task(&quot;03-Clean-Transform-Files&quot;, function () {&#xA;&#xA;  var removableBuildConfiguration = &quot;&quot;;&#xA;  if(config.buildConfiguration == &quot;Release&quot;) {&#xA;      removableBuildConfiguration = &quot;.Debug.deploytransform&quot;;&#xA;  } else if(config.buildConfiguration == &quot;Debug&quot;) {&#xA;      removableBuildConfiguration = &quot;.Release.deploytransform&quot;;&#xA;  }&#xA;&#xA;  return del([config.websiteRoot + '\\*\\*' + removableBuildConfiguration, &#xA;              config.websiteRoot + '\\*' + removableBuildConfiguration], {force: true}).then(paths =&amp;gt; {&#xA;    util.log('Deleted files and folders:\n', paths.join('\n'));&#xA;  });&#xA;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Gulp script is going to delete every file that matches the pattern &lt;code&gt;*.Debug.deploytransform&lt;/code&gt; or &lt;code&gt;*.Release.deploytransform&lt;/code&gt; in the name.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2018-04-27T19:33:13.447" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11532" PostTypeId="2" ParentId="11530" CreationDate="2018-04-27T20:15:51.163" Score="3" Body="&lt;p&gt;Based on the provided log and screenshot, you have 2 different tasks namely&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Weekly Digest Scheduled Task&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;04/27/2018 14:08:11.000 -0400 ManagedPoolThread #8 14:08:11 INFO&#xA;  Starting: Weekly Digest Email Scheduled Task (asynchronously)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Send Weekly Digest Email&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;04/27/2018 14:08:11.000 -0400 ManagedPoolThread #2 14:08:11 INFO&#xA;  Starting: Send Weekly Digest Email&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;First one is running &lt;em&gt;asynchronously&lt;/em&gt; and the second one is running &lt;em&gt;synchronously&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the screenshot, you have configured 2 tasks. This is why the emails are sent twice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on those facts, you need to disabled or remove the task that is running synchronously which I think is Weekly Digest Email Manual Task.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-04-27T20:15:51.163" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11533" PostTypeId="2" ParentId="11450" CreationDate="2018-04-27T21:02:36.477" Score="4" Body="&lt;p&gt;I needed to create a custom index core for this database or else it isn't able to apply a datasource in the rendering for some reason.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My main clue was seeing this pretty inconspicuous error message&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;9544 11:48:41 ERROR There is no appropriate index for /Home - {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}. You have to add an index crawler that will cover this item&#xA;  9544 11:48:41 WARN  Failed to execute datasource query Sitecore.ContentSearch.Exceptions.IndexNotFoundException: Index (EMPTY) was not found&#xA;     at Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name)&#xA;     at Sitecore.Mvc.ExperienceEditor.DatasourceValidator.DatasourceValidator.IsDatasourceValid(String dataSource, Database database)&#xA;  9544 11:48:41 WARN  '{B701850A-CB8A-4943-B2BC-DDDB1238C103}' is not valid datasource for tenantcomlive or user does not have permissions to access.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This prompted me to add an index core which consisted of this config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot; &amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;sitecore_tenantcomlive_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;core&quot;&amp;gt;sc901_tenantcomlive_index&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; desc=&quot;propertyStore&quot; param1=&quot;$(id)&quot;/&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;/&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsyncSingleInstance&quot;/&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;tenantcomlive&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and copying the web_index core at /server/solr/{prefix}_web_index to a new folder of /server/solr/tenantcomlive_index&lt;/p&gt;&#xA;&#xA;&lt;p&gt;after this i had to&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Delete the existing index data out of the new copy&lt;/li&gt;&#xA;&lt;li&gt;Restart the solr service&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the index in Sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And poof, it works.&lt;/p&gt;&#xA;" OwnerUserId="426" LastActivityDate="2018-04-27T21:02:36.477" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11535" PostTypeId="1" AcceptedAnswerId="11536" CreationDate="2018-04-28T11:04:25.700" Score="4" ViewCount="2773" Body="&lt;p&gt;We are using Castel windsor for DI in our Sitecore solution. Though we haven't done any IOC registration using Sitecore pipelines, It still resolves the Controllers. I'm fine with it. But the same is not working for Pipeline processors,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for ex:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Public class MyPipelineClass&#xA;{&#xA;    private IMyDependency myDependency;&#xA;&#xA;    public MyPilelineClass(IMyDependency _myDependency){&#xA;        this.myDependency = _myDependency;&#xA;    }&#xA;&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;         myDependency.Execute();&#xA;     }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I achieve this sort of injecting dependencies to constructor of sitecore pipeline processor from Windsor container?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm ready to provide any specific details that'll help answering this question.&lt;/p&gt;&#xA;" OwnerUserId="2447" LastActivityDate="2018-04-28T11:11:39.023" Title="Dependency Injection for Sitecore pipeline processor" Tags="|pipelines|dependency-injection|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11536" PostTypeId="2" ParentId="11535" CreationDate="2018-04-28T11:11:39.023" Score="10" Body="&lt;p&gt;Assuming you're running Sitecore 8.2 or later, you can add &lt;code&gt;resolve=&quot;true&quot;&lt;/code&gt; to the &lt;code&gt;&amp;lt;pipeline&amp;gt;&lt;/code&gt; element to enable DI resolution for the processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dependency_injection&quot; rel=&quot;noreferrer&quot;&gt;Sitecore uses &lt;code&gt;Microsoft.Extensions.DependencyInjection&lt;/code&gt; for dependency injection&lt;/a&gt;, which &lt;a href=&quot;https://github.com/aspnet/DependencyInjection&quot; rel=&quot;noreferrer&quot;&gt;doesn't appear to list Windsor as a supported container&lt;/a&gt;. It may be possible, but I'd seriously consider whether Windsor offers features/performance that make it worth it for your project to go &quot;off the beaten path&quot;.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-04-28T11:11:39.023" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11539" PostTypeId="2" ParentId="10756" CreationDate="2018-04-29T13:16:05.540" Score="3" Body="&lt;p&gt;The best way to tackle this is to add an Action Filter on your Controller actions to prevent the events from showing up in your Analytics Reports.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Filter code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]&#xA;public sealed class DisableTrackingAttribute : ActionFilterAttribute&#xA;{&#xA;    public override void OnActionExecuting(ActionExecutingContext filterContext)&#xA;    {&#xA;        if (!Tracker.IsActive || Tracker.Current == null)&#xA;        {&#xA;            Tracker.StartTracking();&#xA;        }&#xA;&#xA;        if (Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.CurrentPage != null)&#xA;        {&#xA;            Tracker.Current.CurrentPage.Cancel();&#xA;&#xA;            base.OnActionExecuting(filterContext);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Example Controller code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ServicesController]&#xA;public class AnalyticsController : ServicesApiController&#xA;{&#xA;    [HttpPost]&#xA;    [DisableTracking]&#xA;    public dynamic TriggerPageEvent(string eventId, string setUrl = null)&#xA;    {&#xA;        Some logic&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1375" LastActivityDate="2018-04-29T13:16:05.540" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11540" PostTypeId="1" CreationDate="2018-04-30T00:55:32.580" Score="0" ViewCount="513" Body="&lt;p&gt;I am using Sitecore 8.2 license file with Sitecore 9. I can see Sitecore.xDB.Base in the list of installed licenses but I am not sure if this is sufficient. Can use of Sitecore 8.2 licenses suppress some of the Sitecore 9 (or any module) functionalities?&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="2056" LastEditDate="2018-12-21T09:33:04.117" LastActivityDate="2018-12-21T09:33:04.117" Title="Sitecore 8.2 license file in Sitecore 9.0.1" Tags="|licensing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11541" PostTypeId="2" ParentId="11540" CreationDate="2018-04-30T04:35:53.320" Score="5" Body="&lt;p&gt;No, the Sitecore 8.2 license file is the same as the one used for 9. Anything licensed under 8.2 should continue to be licensed under 9. &lt;/p&gt;&#xA;" OwnerUserId="226" LastActivityDate="2018-04-30T04:35:53.320" CommentCount="3" ContentLicense="CC BY-SA 3.0" />
  <row Id="11543" PostTypeId="1" AcceptedAnswerId="13910" CreationDate="2018-04-30T09:44:41.150" Score="4" ViewCount="586" Body="&lt;p&gt;My application is using HTTPS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore sites configurations scheme are all set to HTTPS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm on Sitecore Management some internal sitecore iframes (Insert Link, Template Editor, Package Designer, Package Installer) doesn't work because the browser block it by using http instead of https (Mixed Content).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/06dBX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/06dBX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3611" LastEditorUserId="3611" LastEditDate="2018-04-30T10:05:48.573" LastActivityDate="2018-09-16T16:35:04.863" Title="Sitecore IFrame rendering HTTP instead of HTTPS" Tags="|configuration|security|site-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11545" PostTypeId="2" ParentId="11503" CreationDate="2018-04-30T12:21:11.520" Score="2" Body="&lt;p&gt;It seem my problem was that I were using&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CommercePipelineExecutionContext&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Commerce.Plugin.Inventory.InventorySku&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;when I should have used&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CommerceServer.Core.Inventory.InventoryCatalog&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CommerceServer.Core.Inventory.InventorySku&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Because&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CommerceServer.Core.Inventory.InventoryCatalog&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;have a .CreateSku()&#xA;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CommerceServer.Core.Inventory.InventorySku&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;have a .Save()&lt;/p&gt;&#xA;" OwnerUserId="3366" LastActivityDate="2018-04-30T12:21:11.520" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11546" PostTypeId="1" CreationDate="2018-04-30T12:47:25.337" Score="2" ViewCount="504" Body="&lt;p&gt;I am injecting a dependency into a custom API controller I've created that is inheriting from ServicesApiController. I have found that I need to use our service locator class to do this as otherwise, I get an error saying 'Make sure that the controller has a parameterless public constructor'. Here is some example code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   public class CustomApiController : ServicesApiController&#xA;        {&#xA;            private readonly ISomeDependancy _someDependancy;&#xA;&#xA;            public CustomApiController() : this(LocatorContainerManager.Current.Resolve&amp;lt;ISomeDependancy&amp;gt;())&#xA;            {&#xA;&#xA;            }&#xA;&#xA;            public CustomApiController(ISomeDependancy someDependancy)&#xA;            {&#xA;                _someDependancy = someDependancy;&#xA;            }&#xA;&#xA;            [HttpGet]&#xA;            public IHttpActionResult Get()&#xA;            {&#xA;               //return some items here&#xA;            }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Obviously I'd rather not use ServiceLocator. &#xA;The custom routes are patched in replacing Sitecore's &lt;code&gt;(Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using SimpleInjector and as I understand it the problem might be that the configuration is being overwritten by Sitecore as the custom routes are patched in before the ServicesWebApiInitializer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore I may need to move where they are registered to after the  WebApiInitializer as explained here by Corey:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1739/webapi-failing-to-resolve-dependencies&quot;&gt;WebApi failing to resolve dependencies&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does this sound right or am I miss-understanding something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Further info:&lt;/strong&gt; &lt;code&gt;Sitecore 8.2 Update 6. We are using xDB&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="5387" LastEditDate="2020-01-29T06:55:34.353" LastActivityDate="2020-02-28T07:02:40.343" Title="Injecting dependencies into custom ServicesApiController without using ServiceLocator" Tags="|sitecore-api|sitecore-services-client|dependency-injection|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11548" PostTypeId="2" ParentId="11494" CreationDate="2018-04-30T14:41:44.030" Score="2" Body="&lt;p&gt;Alright, I got the answer from Sitecore's Slack team (who reached out to Sitecore as they had the same issue). &#xA;It was a mix of JuanDanielGarza's answer, and kind of not!&#xA;It ended up being a simple issue of the pre-configured API calls from Sitecore that were hardcoded to use the Ops server's (not the CM instance) port 5000 for access.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;Bootstrap Sitecore Commerce&lt;/em&gt; API call looks like that when opened: &lt;code&gt;{{OpsApiHost}}/{{OpsApi}}/Bootstrap()&lt;/code&gt;, while the &lt;em&gt;Initialize Environment&lt;/em&gt; looks like this: &lt;code&gt;{{OpsApiHost}}/{{OpsApi}}/InitializeEnvironment(environment='{{Environment}}')&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;{{OpsApiHost}}&lt;/code&gt; is configured as such: &lt;code&gt;{{Protocol}}://{{HostName}}:5000&lt;/code&gt;. &lt;code&gt;{{Protocol}} = https&lt;/code&gt;, and &lt;code&gt;{{HostName}}&lt;/code&gt; has to be configured with your Ops App Service's URL.&lt;code&gt;{{Environment}}&lt;/code&gt; is already populated in the two environments that you load into Postman.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tIkE2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tIkE2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By changing the default port to 443 instead of 5000, it worked just fine, all the redirects in the backend were taken care of by the Ops server, and my Boostrapping and initialization calls succeeded without a hitch.&lt;/p&gt;&#xA;" OwnerUserId="3591" LastEditorUserId="2056" LastEditDate="2018-07-20T13:39:41.987" LastActivityDate="2018-07-20T13:39:41.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11549" PostTypeId="1" CreationDate="2018-04-30T15:28:45.147" Score="1" ViewCount="1190" Body="&lt;p&gt;I am in the process of trying to upgrade a Helix based 8.2 update 5 project to Sitecore 9.0.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have updated all projects to .NET 4.7 and have removed all Sitecore 8.2 DLLs that have no update to 9 option in Nuget.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All Sitecore DLLs that are available for upgrade have been updated to v9.&#xA;The solution builds but when I run the gulp task to deploy to my Sitecore 9.1 instance webroot I get the following generic error..&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unable to load one or more of the requested types. Retrieve the&#xA;  LoaderExceptions property for more information.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Stack Trace: &#xA;&#xA;&#xA;[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]&#xA;   System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0&#xA;   System.Reflection.Assembly.GetTypes() +112&#xA;   Sitecore.Services.Infrastructure.Sitecore.DependencyInjection.&amp;lt;&amp;gt;c.&amp;lt;AddWebApiControllers&amp;gt;b__0_0(Assembly assembly) +40&#xA;   System.Linq.&amp;lt;SelectManyIterator&amp;gt;d__17`2.MoveNext() +292&#xA;   Sitecore.Services.Infrastructure.Sitecore.DependencyInjection.ServiceCollectionExtensions.AddWebApiControllers(IServiceCollection serviceCollection, IEnumerable`1 assemblies) +204&#xA;   Sitecore.Content.Services.Configurator.Configure(IServiceCollection serviceCollection) +81&#xA;   Sitecore.DependencyInjection.BaseServicesConfiguratorFactory.Configure(IServiceCollection serviceCollection) +159&#xA;   Sitecore.DependencyInjection.BaseServicesConfiguratorFactory.Configure(IServiceCollection serviceCollection) +159&#xA;   Sitecore.DependencyInjection.BaseServiceProviderBuilder.ConfigureServiceCollection() +142&#xA;   Sitecore.DependencyInjection.ServiceLocator.ConfigureServiceProvider() +240&#xA;   Sitecore.DependencyInjection.ServiceLocator.get_ServiceProvider() +514&#xA;   Sitecore.DependencyInjection.SitecorePerRequestScopeModule..ctor() +13&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck) +0&#xA;   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark) +142&#xA;   System.Activator.CreateInstance(Type type, Boolean nonPublic) +105&#xA;   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp;amp; stackMark) +1515&#xA;   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +186&#xA;   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +27&#xA;   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +79&#xA;   System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +213&#xA;   System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1086&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +120&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +372&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +329&#xA;&#xA;[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +708&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The suggested solution to this on Stackoverflow post  &lt;a href=&quot;https://stackoverflow.com/q/1091853/266552&quot;&gt;https://stackoverflow.com/q/1091853/266552&lt;/a&gt; is to wrap the code that causes the error with the code below... &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.IO;&#xA;using System.Reflection;&#xA;using System.Text;&#xA;&#xA;try&#xA;{&#xA;    //The code that causes the error goes here.&#xA;}&#xA;catch (ReflectionTypeLoadException ex)&#xA;{&#xA;    StringBuilder sb = new StringBuilder();&#xA;    foreach (Exception exSub in ex.LoaderExceptions)&#xA;    {&#xA;        sb.AppendLine(exSub.Message);&#xA;        FileNotFoundException exFileNotFound = exSub as FileNotFoundException;&#xA;        if (exFileNotFound != null)&#xA;        {                &#xA;            if(!string.IsNullOrEmpty(exFileNotFound.FusionLog))&#xA;            {&#xA;                sb.AppendLine(&quot;Fusion Log:&quot;);&#xA;                sb.AppendLine(exFileNotFound.FusionLog);&#xA;            }&#xA;        }&#xA;        sb.AppendLine();&#xA;    }&#xA;    string errorMessage = sb.ToString();&#xA;    //Display or log the error based on your application.&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is that this is a helix solution with 52 projects. I’m not sure where I need to add this code to reveal the issue. I’ve tried application start but it doesn’t work, and I cannot debug either. This error must happen before any debugging is possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help to point me in the right direction is most appreciated.&lt;/p&gt;&#xA;" OwnerUserId="2993" LastEditorUserId="246" LastEditDate="2018-04-30T17:26:31.173" LastActivityDate="2019-01-02T19:02:10.397" Title="Upgrade Helix 8.2 Update 5 to Sitecore 9.0.1 - Unable to load one or more of the requested types" Tags="|upgrade|helix|" AnswerCount="1" CommentCount="2" ClosedDate="2019-01-04T12:26:46.343" ContentLicense="CC BY-SA 3.0" />
  <row Id="11551" PostTypeId="1" AcceptedAnswerId="11562" CreationDate="2018-04-30T16:30:50.730" Score="0" ViewCount="1045" Body="&lt;p&gt;I'm using glass mapper BeginRenderLink to output some links:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (BeginRenderLink(link, n =&amp;gt; n.Destination, isEditable: true))&#xA;{&#xA;    @RenderImage(link, lnk =&amp;gt; lnk.LinkIcon, isEditable: true, outputHeightWidth: true)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Most of the time this works fine. But in this case I have a link that is an external  link that uses a marketing tool called Adjust and the link has query string parameters that contain urls. In particular, one of the urls has Google Analytics parameters in it. So this url:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://app.adjust.com/6jr6nn_log23f?deep_link=com.somesubdomain.somedomain.rsurlscheme%3A%2F%2Fhttps://somedomain.com&amp;amp;fallback=https%3A%2F%2Fsomedoamin.com%2F%3Futm_source%3DWebsite%26utm_medium%3D03_20_2018%26utm_campaign%3DSOMEDOAMIN.COM&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using BeginRenderLink my second querystring parameter, 'fallback' is getting removed. By process of elimination I am sure it is the ga parameters (utm_source, utm_medium, etc...) that are the source of the problem. Also, if I just spit out an anchor link the url is rendered correctly, so I am sure it is the BeginRenderLink. I would like to continue using BeginRenderLink for Experience Editor reasons. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is this getting stripped?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also looked the Glass code and nothing obvious was leaping out at me.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2018-04-30T16:37:09.823" LastActivityDate="2018-05-01T02:46:59.237" Title="Glass mapper BeginRenderLink stripping query string parameter that is a Url with ga parameters" Tags="|glass-mapper|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11552" PostTypeId="1" AcceptedAnswerId="11737" CreationDate="2018-04-30T16:32:45.497" Score="1" ViewCount="3102" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9 Forms&lt;/code&gt; and I am creating &lt;code&gt;file upload control&lt;/code&gt; in Forms, for this, I have created FileUpload file type.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [Serializable]&#xA;public class FileUploadViewModel: InputViewModel&amp;lt;HttpPostedFileBase&amp;gt;&#xA;{&#xA;&#xA;    [DataType(DataType.Upload)]&#xA;    public override HttpPostedFileBase Value&#xA;    {&#xA;        get;&#xA;        set;&#xA;    }&#xA;&#xA;    protected override void InitItemProperties(Item item)&#xA;    {          &#xA;        base.InitItemProperties(item);       &#xA;    }&#xA;    protected override void UpdateItemFields(Item item)&#xA;    {&#xA;      base.UpdateItemFields(item);&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;also created &lt;code&gt;FileUpload.cshtml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Sitecore.Foundation.Forms.Custom.Fields.FileUploadViewModel &#xA;&amp;lt;input type=&quot;file&quot; value=&quot;@Model.Value&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and created one submit action, but I am getting null in Value field. Please provide me some guidance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Updated jquery.unobtrusive-ajax.js&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GNtpc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GNtpc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DPLUj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DPLUj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="5387" LastEditDate="2019-06-05T11:26:55.247" LastActivityDate="2019-06-05T11:26:55.247" Title="File upload control in Sitecore Forms" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11553" PostTypeId="1" CreationDate="2018-04-30T16:39:30.557" Score="4" ViewCount="917" Body="&lt;p&gt;I'm facing DateTime format issue on the SPEAK DateTime Picker. Basically, when the user is in the Content Editor, the format displays ok (&lt;code&gt;mm/dd/yyyy&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when the user opens the Experience Editor, clicks on the field, and clicks on the calendar icon, and it will show a pop-up. This pop-up (&lt;strong&gt;Select Date&lt;/strong&gt;) is showing the wrong date-time format(&lt;code&gt;dd/mm/yyyy&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only solution that I found so far was editing the associated JavaScript file&#xA;(&lt;code&gt;\sitecore\shell\client\Business Component Library\Layouts\Renderings\Common\DatePickers\DateTimePickers.js&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone has a more elegant solution for this issue? I already tried things like &lt;code&gt;DefaultRegionalIsoCode&lt;/code&gt; but it seems it does not affect the SPEAK Component, so far just this change on .js worked&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="342" LastEditDate="2018-11-07T19:18:18.050" LastActivityDate="2018-11-07T19:18:18.050" Title="Sitecore 9.0.1 Datepicker displaying wrong format" Tags="|sitecore-client|experience-editor|speak|datetimepicker|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11554" PostTypeId="1" AcceptedAnswerId="11555" CreationDate="2018-04-30T17:52:30.170" Score="6" ViewCount="514" Body="&lt;p&gt;While troubleshooting issues with the Experience Profile results on a 9.0.1 recently installed instance (PaaS), I've noticed the below setting on Sitecore.ExperienceProfile.config.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Name of Sitecore search index that is used for contact search. --&amp;gt;&#xA;&amp;lt;searchIndex name=&quot;sitecore_analytics_index&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Would this be something you'd expect on 9? I thought that index had been replaced by the xConnect's search xdb index. Did I get that wrong?&lt;/p&gt;&#xA;" OwnerUserId="1625" LastActivityDate="2018-04-30T18:25:08.747" Title="sitecore_analytics_index on Sitecore 9" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11555" PostTypeId="2" ParentId="11554" CreationDate="2018-04-30T18:25:08.747" Score="6" Body="&lt;p&gt;You are correct, this is no longer an index in Sitecore 9. It has been replaced by the xDB collection index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is probably a left-over setting that was missed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per the &lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/architecture-overview/search.html&quot; rel=&quot;noreferrer&quot;&gt;latest documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In 9.0, the following indexes are no longer managed by Sitecore&#xA;  Content Search:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;sitecore_list_index - replaced by the xDB collection index&lt;/li&gt;&#xA;  &lt;li&gt;sitecore_analytics_index - replaced by the xDB collection index&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-04-30T18:25:08.747" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11556" PostTypeId="1" CreationDate="2018-04-30T19:27:07.987" Score="6" ViewCount="2075" Body="&lt;p&gt;I am getting the 404 error while trying to populate the schema from &quot;Populate Solr Managed Schema&quot;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Index_Update_Collection=sitecore_core_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; SolrNet.Exceptions.SolrConnectionException:&#xA;&#xA;Error 404 Not Found&#xA;HTTP ERROR 404&#xA;Problem accessing /solr/sitecore_core_index/schema. Reason: Not Found&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 9.0 update 1 and Solr 6.6.2. Please let me know if I am missing any setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Alok...&lt;/p&gt;&#xA;" OwnerUserId="3196" LastEditorUserId="73" LastEditDate="2023-01-22T10:35:57.327" LastActivityDate="2024-02-16T12:08:10.950" Title="Populate Solr Managed Schema Error" Tags="|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11559" PostTypeId="1" CreationDate="2018-04-30T23:30:13.500" Score="1" ViewCount="740" Body="&lt;p&gt;We need to regularly run a custom task to sync contacts in xDB from an external contacts list. It appears that we should use Sitecore's Analytics API to do this, and we think the task should run on our CM (Content Management) server, not our CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The API to manipulate contacts in xDB appears to be the Sitecore.Analytics.Tracking.ContactManager class. This class relies on the &quot;contactManager&quot; node in Sitecore.Analytics.Tracking.config, which appears to rely on the &quot;contactManager&quot; node in &#xA;Sitecore.Analytics.Tracking.Database.config to make it actually work; this from the comment in Sitecore.Analytics.Tracking.config:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;The default contact repository is a stub that prevents the contact manager from reading and writing to the collection database. This behavior is overridden by the Sitecore.Analytics.Tracking.Database.config file.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OTOH, Sitecore docs sometimes say you should &lt;em&gt;disable&lt;/em&gt; Sitecore.Analytics.Tracking.Database.config on a CM server, but they're equivocal:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;If you have a dedicated content management server used for tracking but do not want to save changes to the collection database then disable the Sitecore.Analytics.Tracking.Database.config file. If you want to mix content management with other server features, or if there is a chance that other modules may depend on the tracking data access API, then you must enable this file again.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't tell what the above paragraph really means. So, my question is: what do we have to worry about if we enable Sitecore.Analytics.Tracking.Database.config on our CM server, in order to use the Sitecore.Analytics.Tracking.ContactManager class to update our contacts in xDB?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;References:&#xA;&lt;a href=&quot;https://briancaos.wordpress.com/2015/10/09/sitecore-contacts-create-and-save-contacts-directly-to-and-from-xdb-mongodb/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2015/10/09/sitecore-contacts-create-and-save-contacts-directly-to-and-from-xdb-mongodb/&lt;/a&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&lt;/a&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/server_considerations/server_configuration_features&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/server_considerations/server_configuration_features&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3614" LastActivityDate="2018-04-30T23:30:13.500" Title="Enable Sitecore.Analytics.Tracking.Database.config on CM?" Tags="|xdb|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="11560" PostTypeId="1" CreationDate="2018-05-01T01:00:14.867" Score="2" ViewCount="51" Body="&lt;p&gt;I'm trying to build our Commerce Engine project in VSTS, but restoring packages is failing with:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Package Sitecore.Framework.Pipelines 4.0.1 is not compatible with net462 (.NETFramework,Version=v4.6.2) / win7-x64. Package Sitecore.Framework.Pipelines 4.0.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;(The error appears for every &lt;code&gt;Microsoft.AspNetCore.*&lt;/code&gt; and &lt;code&gt;Sitecore.Framework.*&lt;/code&gt; package that's referenced)&lt;/p&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="73" LastEditDate="2018-05-01T10:26:39.307" LastActivityDate="2018-09-17T16:01:19.793" Title="Building Commerce Engine in VSTS (Hosted VS2017) fails to restore packages" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11561" PostTypeId="2" ParentId="11560" CreationDate="2018-05-01T01:00:26.427" Score="1" Body="&lt;p&gt;The &lt;code&gt;NuGet&lt;/code&gt; task doesn't support the newer Target Framework Monikor mappings required to pull this off. Use the &quot;.NET Core&quot; task and it will build as expected.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-05-01T01:00:26.427" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11562" PostTypeId="2" ParentId="11551" CreationDate="2018-05-01T02:46:59.237" Score="0" Body="&lt;p&gt;I tested this in a Sitecore 8.2.4 instance and I don't see Glass Mapper stripping out querystring information when using a General Link field and Glass Mapper's BeginRenderLink.  My source looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;li&amp;gt;&#xA;     @using (Html.Glass().BeginRenderLink(navItem, x =&amp;gt; x.Link, new { @class = cssClass }))&#xA;     {&#xA;         @Html.Glass().Editable(navItem, x =&amp;gt; x.Title);&#xA;     }&#xA; &amp;lt;/li&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I go to Sitecore and input a General Link that is an external link and input: &lt;code&gt;http://www.custom.com/?deep_link=com.somesubdomain.somedomain.rsurlscheme%3A%2F%2Fhttps://somedomain.com&amp;amp;fallback=https%3A%2F%2Fsomedoamin.com%2F%3Futm_source%3DWebsite%26utm_medium%3D03_20_2018%26utm_campaign%3DSOMEDOAMIN.COM&lt;/code&gt; which is similar to your example.  If I publish that change and then view source on the page, I see the full querystring in tact.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GP29w.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GP29w.jpg&quot; alt=&quot;Example&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are seeing the same in the view source, than this issue is outside of Sitecore, and more than likely when a user clicks on the link, when the next site loads, it parses the querystring and strips out parts of it.  It's possible in fact, that it's stripping out the tracking code because it's seen it and takes it out after storing a cookie from the requested url.  Either way, Glass isn't the issue.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-05-01T02:46:59.237" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11563" PostTypeId="1" CreationDate="2018-05-01T06:00:42.600" Score="1" ViewCount="106" Body="&lt;p&gt;I have a prototype of a custom data provider in Sitecore 9 that will be used to provide items created by an API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Data is currently fetched in the constructor of the data provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Im unclear on a few things:&#xA;- When the constructor of the data provider is called? Is it when the Database is initialised?&#xA;- If the data returned by the api may change periodicaly e.g. every few hours, and I want to have control over when we hit the API, would it be best to move the logic to get data from the API to GetItemDefinition and then add the data to a custom cache ?&#xA;- Is it best to implement scheduled publishing, or publish whenever data is fetched in order to keep web db up to date?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2018-05-01T06:00:42.600" Title="Readonly Data Provider" Tags="|data-provider|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11566" PostTypeId="1" AcceptedAnswerId="11646" CreationDate="2018-05-01T10:55:35.463" Score="0" ViewCount="452" Body="&lt;p&gt;After performing an upgrade from 8.1 to Sitecore 8.2 and GlassMapper 4.3.4.197 (from 4.0.3) I faced the following error described below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mHRDF.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mHRDF.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the &lt;code&gt;GlassMapper.Sc.Custom&lt;/code&gt; files remain the same and it worked on previous version. I think there's something in configuration changed, or it can be somehow connected to GlassMapper changes in &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;IObjectConstructionTask to AbstractObjectConstructionTask &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Because this class is abstract.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: Here's the Stack Trace of error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/Feature/UIKITTeaser/Views/Teaser/TIC01VideoImage.cshtml' (model: 'DigitalFuture.Feature.Teaser.Master.sitecore.templates.DF.Feature.Teaser.Tic01datasource, DigitalFuture.Feature.Teaser').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at DigitalFuture.Foundation.Domain.Extensions.Pipelines.MvcRenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Glass.Mapper.MapperException&#xA;Message: Failed to create type DigitalFuture.Foundation.Sc.Models.Video.VideoBase&#xA;Source: Glass.Mapper&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\CreateConcreteTask.cs:line 121&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\CreateConcreteTask.cs:line 67&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateMultiInterface.CreateMultiInferaceTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateMultiInterface\CreateMultiInferaceTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Sc.Pipelines.ObjectConstruction.EnforcedTemplateCheck.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Pipelines\ObjectConstruction\EnforcedTemplateCheck.cs:line 69&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CacheCheck.CacheCheckTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CacheCheck\CacheCheckTask.cs:line 67&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Sc.Pipelines.ObjectConstruction.SitecoreItemTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Pipelines\ObjectConstruction\SitecoreItemTask.cs:line 24&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Sc.Pipelines.ObjectConstruction.CreateDynamicTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Pipelines\ObjectConstruction\CreateDynamicTask.cs:line 59&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.DepthCheck.ModelDepthCheck.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\DepthCheck\ModelDepthCheck.cs:line 18&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.Run(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 97&#xA;   at Glass.Mapper.AbstractService.InstantiateObject(AbstractTypeCreationContext abstractTypeCreationContext) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\AbstractService.cs:line 160&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.LazyObjectInterceptor.Intercept(IInvocation invocation) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\LazyObjectInterceptor.cs:line 58&#xA;   at Castle.DynamicProxy.AbstractInvocation.Proceed()&#xA;   at Castle.Proxies.VideoBaseProxy.get_PosterImageUrl()&#xA;   at ASP._Page_Partial_PARTIALVideo_Views_Video_cshtml.Execute() in c:\inetpub\wwwroot\df0411\Website\Partial\PARTIALVideo\Views\Video.cshtml:line 18&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at ASP._Page_Partial_PARTIALVideoImageCombination_Views_VideoImageCombination_cshtml.Execute() in c:\inetpub\wwwroot\df0411\Website\Partial\PARTIALVideoImageCombination\Views\VideoImageCombination.cshtml:line 16&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at ASP._Page_Feature_UIKITTeaser_Views_Teaser_TIC01VideoImage_cshtml.Execute() in c:\inetpub\wwwroot\df0411\Website\Feature\UIKITTeaser\Views\Teaser\TIC01VideoImage.cshtml:line 48&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.MissingMethodException&#xA;Message: Cannot create an abstract class.&#xA;Source: mscorlib&#xA;   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&#xA;   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark)&#xA;   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&#xA;   at System.Activator.CreateInstance(Type type)&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\CreateConcreteTask.cs:line 100xception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/Feature/UIKITTeaser/Views/Teaser/TIC01VideoImage.cshtml' (model: 'DigitalFuture.Feature.Teaser.Master.sitecore.templates.DF.Feature.Teaser.Tic01datasource, DigitalFuture.Feature.Teaser').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at DigitalFuture.Foundation.Domain.Extensions.Pipelines.MvcRenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Glass.Mapper.MapperException&#xA;Message: Failed to create type DigitalFuture.Foundation.Sc.Models.Video.VideoBase&#xA;Source: Glass.Mapper&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\CreateConcreteTask.cs:line 121&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\CreateConcreteTask.cs:line 67&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateMultiInterface.CreateMultiInferaceTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateMultiInterface\CreateMultiInferaceTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Sc.Pipelines.ObjectConstruction.EnforcedTemplateCheck.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Pipelines\ObjectConstruction\EnforcedTemplateCheck.cs:line 69&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CacheCheck.CacheCheckTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CacheCheck\CacheCheckTask.cs:line 67&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Sc.Pipelines.ObjectConstruction.SitecoreItemTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Pipelines\ObjectConstruction\SitecoreItemTask.cs:line 24&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Sc.Pipelines.ObjectConstruction.CreateDynamicTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Pipelines\ObjectConstruction\CreateDynamicTask.cs:line 59&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.DepthCheck.ModelDepthCheck.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\DepthCheck\ModelDepthCheck.cs:line 18&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.Run(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 97&#xA;   at Glass.Mapper.AbstractService.InstantiateObject(AbstractTypeCreationContext abstractTypeCreationContext) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\AbstractService.cs:line 160&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.LazyObjectInterceptor.Intercept(IInvocation invocation) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\LazyObjectInterceptor.cs:line 58&#xA;   at Castle.DynamicProxy.AbstractInvocation.Proceed()&#xA;   at Castle.Proxies.VideoBaseProxy.get_PosterImageUrl()&#xA;   at ASP._Page_Partial_PARTIALVideo_Views_Video_cshtml.Execute() in c:\inetpub\wwwroot\df0411\Website\Partial\PARTIALVideo\Views\Video.cshtml:line 18&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at ASP._Page_Partial_PARTIALVideoImageCombination_Views_VideoImageCombination_cshtml.Execute() in c:\inetpub\wwwroot\df0411\Website\Partial\PARTIALVideoImageCombination\Views\VideoImageCombination.cshtml:line 16&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at ASP._Page_Feature_UIKITTeaser_Views_Teaser_TIC01VideoImage_cshtml.Execute() in c:\inetpub\wwwroot\df0411\Website\Feature\UIKITTeaser\Views\Teaser\TIC01VideoImage.cshtml:line 48&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.MissingMethodException&#xA;Message: Cannot create an abstract class.&#xA;Source: mscorlib&#xA;   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&#xA;   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark)&#xA;   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&#xA;   at System.Activator.CreateInstance(Type type)&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\CreateConcreteTask.cs:line 100xception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/Feature/UIKITTeaser/Views/Teaser/TIC01VideoImage.cshtml' (model: 'DigitalFuture.Feature.Teaser.Master.sitecore.templates.DF.Feature.Teaser.Tic01datasource, DigitalFuture.Feature.Teaser').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at DigitalFuture.Foundation.Domain.Extensions.Pipelines.MvcRenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Glass.Mapper.MapperException&#xA;Message: Failed to create type DigitalFuture.Foundation.Sc.Models.Video.VideoBase&#xA;Source: Glass.Mapper&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\CreateConcreteTask.cs:line 121&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\CreateConcreteTask.cs:line 67&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateMultiInterface.CreateMultiInferaceTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateMultiInterface\CreateMultiInferaceTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Sc.Pipelines.ObjectConstruction.EnforcedTemplateCheck.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Pipelines\ObjectConstruction\EnforcedTemplateCheck.cs:line 69&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CacheCheck.CacheCheckTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CacheCheck\CacheCheckTask.cs:line 67&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Sc.Pipelines.ObjectConstruction.SitecoreItemTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Pipelines\ObjectConstruction\SitecoreItemTask.cs:line 24&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Sc.Pipelines.ObjectConstruction.CreateDynamicTask.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper.Sc\Pipelines\ObjectConstruction\CreateDynamicTask.cs:line 59&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.&amp;lt;&amp;gt;c__DisplayClass8.&amp;lt;.ctor&amp;gt;b__1(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 74&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineTask`1.Next(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineTask.cs:line 53&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.DepthCheck.ModelDepthCheck.Execute(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\DepthCheck\ModelDepthCheck.cs:line 18&#xA;   at Glass.Mapper.Pipelines.AbstractPipelineRunner`2.Run(T args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\AbstractPipelineRunner.cs:line 97&#xA;   at Glass.Mapper.AbstractService.InstantiateObject(AbstractTypeCreationContext abstractTypeCreationContext) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\AbstractService.cs:line 160&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.LazyObjectInterceptor.Intercept(IInvocation invocation) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\LazyObjectInterceptor.cs:line 58&#xA;   at Castle.DynamicProxy.AbstractInvocation.Proceed()&#xA;   at Castle.Proxies.VideoBaseProxy.get_PosterImageUrl()&#xA;   at ASP._Page_Partial_PARTIALVideo_Views_Video_cshtml.Execute() in c:\inetpub\wwwroot\df0411\Website\Partial\PARTIALVideo\Views\Video.cshtml:line 18&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at ASP._Page_Partial_PARTIALVideoImageCombination_Views_VideoImageCombination_cshtml.Execute() in c:\inetpub\wwwroot\df0411\Website\Partial\PARTIALVideoImageCombination\Views\VideoImageCombination.cshtml:line 16&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at ASP._Page_Feature_UIKITTeaser_Views_Teaser_TIC01VideoImage_cshtml.Execute() in c:\inetpub\wwwroot\df0411\Website\Feature\UIKITTeaser\Views\Teaser\TIC01VideoImage.cshtml:line 48&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.MissingMethodException&#xA;Message: Cannot create an abstract class.&#xA;Source: mscorlib&#xA;   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandleInternal&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&#xA;   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp;amp; stackMark)&#xA;   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&#xA;   at System.Activator.CreateInstance(Type type)&#xA;   at Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateConcrete.CreateConcreteTask.CreateObject(ObjectConstructionArgs args) in c:\TeamCity\buildAgent\work\8567e2ba106d3992\Source\Glass.Mapper\Pipelines\ObjectConstruction\Tasks\CreateConcrete\CreateConcreteTask.cs:line 100&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;`&lt;/p&gt;&#xA;" OwnerUserId="3616" LastEditorUserId="3616" LastEditDate="2018-05-02T11:25:06.133" LastActivityDate="2018-05-07T13:10:40.330" Title="After upgrade to Sitecore 8.2 and GlassMapper 4.3.4.197 “Cannot create an abstract class.” error appeared" Tags="|glass-mapper|upgrade|" AnswerCount="1" CommentCount="3" ClosedDate="2018-05-07T13:11:56.720" ContentLicense="CC BY-SA 4.0" />
  <row Id="11568" PostTypeId="1" CreationDate="2018-05-01T13:33:23.600" Score="1" ViewCount="349" Body="&lt;p&gt;I am currently trying to install Sitecore Commerce 9 XC On-Premise locally, and seem to have some problems with the installation script. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting this error message during the installation procedure. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[------------------------------------------- InstallModule : InstallModule -------------------------------------------]&#xA;I am here?&#xA;Installing module:  Sitecore Commerce Experience Accelerator 1.1.47.zip&#xA;http://sxa.storefront.com/SiteUtilityPages/InstallModules.aspx?modules=Sitecore Commerce Experience Accelerator 1.1.47.z&#xA;ip&#xA;VERBOSE: GET http://sxa.storefront.com/SiteUtilityPages/InstallModules.aspx?modules=Sitecore Commerce Experience&#xA;Accelerator 1.1.47.zip with 0-byte payload&#xA;Install-SitecoreConfiguration :&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please&#xA;review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the&#xA;subscribers to the 'item:saved' event.&#xA;            Source Error:&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events);&#xA;Line 53:&#xA;Line 54:         new Installer().InstallPackage(package, context);&#xA;Line 55:&#xA;Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;            Stack Trace:&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39;&#xA;event.]&#xA;   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1849&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390&#xA;   Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294&#xA;   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0&#xA;   Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +129&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +202&#xA;   Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229&#xA;   Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127&#xA;   Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126&#xA;   Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28&#xA;   Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version) +343&#xA;   Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode,&#xA;IProcessingContext context, Boolean removeOtherVersions) +126&#xA;   Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) +1304&#xA;   Sitecore.Install.Items.ItemInstaller.Flush() +156&#xA;   Sitecore.Install.Framework.SinkDispatcher.Flush() +102&#xA;   Sitecore.Install.Utils.EntrySorter.Flush() +228&#xA;   Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565&#xA;   Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80&#xA;   Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source,&#xA;IProcessingContext context) +444&#xA;   Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72&#xA;   ASP.siteutilitypages_installmodules_aspx.Install(String package) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:54&#xA;   ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:36&#xA;   System.Web.UI.Control.OnLoad(EventArgs e) +103&#xA;   System.Web.UI.Control.LoadRecursive() +68&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;+1381&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2633.0&#xA;&#xA;&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.0\Public\Install-SitecoreConfiguration.ps1:255 char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:30&#xA;Transcript stopped, output file is C:\deploy\SIF.Sitecore.Commerce.1.1.4\SXAStorefront.Framework.180501 (4).log&#xA;Install-SitecoreConfiguration :&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please&#xA;review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the&#xA;subscribers to the 'item:saved' event.&#xA;            Source Error:&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events);&#xA;Line 53:&#xA;Line 54:         new Installer().InstallPackage(package, context);&#xA;Line 55:&#xA;Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;            Stack Trace:&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39;&#xA;event.]&#xA;   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1849&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390&#xA;   Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294&#xA;   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0&#xA;   Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +129&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +202&#xA;   Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229&#xA;   Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127&#xA;   Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126&#xA;   Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28&#xA;   Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version) +343&#xA;   Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode,&#xA;IProcessingContext context, Boolean removeOtherVersions) +126&#xA;   Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) +1304&#xA;   Sitecore.Install.Items.ItemInstaller.Flush() +156&#xA;   Sitecore.Install.Framework.SinkDispatcher.Flush() +102&#xA;   Sitecore.Install.Utils.EntrySorter.Flush() +228&#xA;   Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565&#xA;   Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80&#xA;   Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source,&#xA;IProcessingContext context) +444&#xA;   Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72&#xA;   ASP.siteutilitypages_installmodules_aspx.Install(String package) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:54&#xA;   ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:36&#xA;   System.Web.UI.Control.OnLoad(EventArgs e) +103&#xA;   System.Web.UI.Control.LoadRecursive() +68&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;+1381&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2633.0&#xA;&#xA;&#xA;At C:\deploy\SIF.Sitecore.Commerce.1.1.4\Deploy-Sitecore-Commerce.ps1:81 char:2&#xA;+     Install-SitecoreConfiguration @params -Verbose&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:03:21&#xA;Transcript stopped, output file is C:\deploy\SIF.Sitecore.Commerce.1.1.4\Master_SingleServer.180501 (19).log&#xA;Invoke-RestMethod :&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please&#xA;review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the&#xA;subscribers to the 'item:saved' event.&#xA;            Source Error:&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events);&#xA;Line 53:&#xA;Line 54:         new Installer().InstallPackage(package, context);&#xA;Line 55:&#xA;Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;            Stack Trace:&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39;&#xA;event.]&#xA;   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1849&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390&#xA;   Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294&#xA;   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0&#xA;   Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +129&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +202&#xA;   Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229&#xA;   Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127&#xA;   Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126&#xA;   Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28&#xA;   Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version) +343&#xA;   Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode,&#xA;IProcessingContext context, Boolean removeOtherVersions) +126&#xA;   Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) +1304&#xA;   Sitecore.Install.Items.ItemInstaller.Flush() +156&#xA;   Sitecore.Install.Framework.SinkDispatcher.Flush() +102&#xA;   Sitecore.Install.Utils.EntrySorter.Flush() +228&#xA;   Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565&#xA;   Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80&#xA;   Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source,&#xA;IProcessingContext context) +444&#xA;   Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72&#xA;   ASP.siteutilitypages_installmodules_aspx.Install(String package) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:54&#xA;   ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:36&#xA;   System.Web.UI.Control.OnLoad(EventArgs e) +103&#xA;   System.Web.UI.Control.LoadRecursive() +68&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;+1381&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2633.0&#xA;&#xA;&#xA;At C:\deploy\SIF.Sitecore.Commerce.1.1.4\Modules\SitecoreUtilityTasks\SitecoreUtilityTasks.psm1:20 char:5&#xA;+     Invoke-RestMethod $urlInstallModules -TimeoutSec 720&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc&#xA;   eption&#xA;    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Deploy script: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#Requires -Version 3&#xA;param(&#xA;    [string]$SiteName = &quot;sc90.local&quot;,   &#xA;    [string]$SiteHostHeaderName = &quot;sxa.storefront.com&quot;, &#xA;    [string]$SqlDbPrefix = 'sc90',&#xA;    [string]$CommerceSearchProvider = &quot;SOLR&quot;&#xA;)&#xA;&#xA;$global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path&#xA;$modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;Modules&quot; )&#xA;if ($env:PSModulePath -notlike &quot;*$modulesPath*&quot;)&#xA;{&#xA;    $p = $env:PSModulePath + &quot;;&quot; + $modulesPath&#xA;    [Environment]::SetEnvironmentVariable(&quot;PSModulePath&quot;,$p)&#xA;}&#xA;&#xA;&#xA;$params = @{&#xA;        Path = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json' &#xA;        SiteName = $SiteName&#xA;        SiteHostHeaderName = $SiteHostHeaderName &#xA;        InstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$SiteName&quot;&#xA;        XConnectInstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$($SiteName)_xconnect&quot;&#xA;        CertificateName = $SiteName&#xA;        CommerceServicesDbServer = $($Env:COMPUTERNAME)    #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;        CommerceServicesDbName = &quot;SitecoreCommerce9_SharedEnvironments&quot;&#xA;        CommerceServicesGlobalDbName = &quot;SitecoreCommerce9_Global&quot;       &#xA;        SitecoreDbServer = $($Env:COMPUTERNAME)            #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;        SitecoreCoreDbName = &quot;$($SqlDbPrefix)_Core&quot;&#xA;        SitecoreUsername = &quot;sitecore\admin&quot;&#xA;        SitecoreUserPassword = &quot;b&quot;&#xA;        CommerceSearchProvider = $CommerceSearchProvider&#xA;        SolrUrl = &quot;https://localhost:58/solr&quot;&#xA;        #SolrRoot = &quot;c:\\solr-6.6.2&quot;&#xA;        SolrRoot =  &quot;C:\Sitecore\solr-6.6.2&quot;&#xA;        SolrService = &quot;solr6&quot;&#xA;        SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SolrSchemas&quot; )&#xA;        SearchIndexPrefix = &quot;&quot;&#xA;        AzureSearchServiceName = &quot;&quot;&#xA;        AzureSearchAdminKey = &quot;&quot;&#xA;        AzureSearchQueryKey = &quot;&quot;&#xA;        CommerceEngineDacPac = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.SDK.*\Sitecore.Commerce.Engine.DB.dacpac&quot;       &#xA;        CommerceOpsServicesPort = &quot;5015&quot;&#xA;        CommerceShopsServicesPort = &quot;5005&quot;&#xA;        CommerceAuthoringServicesPort = &quot;5000&quot;&#xA;        CommerceMinionsServicesPort = &quot;5010&quot;        &#xA;        SitecoreCommerceEngineZipPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.2.*.zip&quot;        &#xA;        SitecoreBizFxServicesContentPath = Resolve-Path -Path &quot;..\Sitecore.BizFX.1.*&quot;       &#xA;        SitecoreIdentityServerZipPath = Resolve-Path -Path &quot;..\Sitecore.IdentityServer.1.*.zip&quot;&#xA;        CommerceEngineCertificatePath = Resolve-Path -Path &quot;..\storefront.engine.cer&quot;       &#xA;        SiteUtilitiesSrc = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SiteUtilityPages&quot; )  &#xA;        HabitatImagesModuleFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Habitat.Images-*.zip&quot;    &#xA;        AdvImagesModuleFullPath = Resolve-Path -Path &quot;..\Adventure Works Images.zip&quot;    &#xA;        CommerceConnectModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Connect*.zip&quot;  &#xA;        CEConnectPackageFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.Connect*.update&quot;&#xA;        PowerShellExtensionsModuleFullPath = Resolve-Path -Path &quot;..\Sitecore.PowerShell.Extensions-2*.zip&quot;&#xA;        #SXAModuleFullPath = Resolve-Path -Path &quot;..\Sitecore.Experience.Accelerator.*\content\Sitecore Experience Accelerator*.zip&quot;&#xA;        SXAModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Experience Accelerator*.zip&quot;&#xA;        SXACommerceModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator 1.*.zip&quot;&#xA;        SXAStorefrontModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront 1.*.zip&quot;&#xA;        SXAStorefrontThemeModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront Themes*.zip&quot;&#xA;        #SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront Habitat Catalog*.zip&quot;&#xA;        SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Habitat Catalog*.zip&quot;&#xA;&#xA;        #MergeToolFullPath = Resolve-Path -Path &quot;..\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\tools\VSToolsPath\Web\Microsoft.Web.XmlTransform.dll&quot;&#xA;        MergeToolFullPath = Resolve-Path -Path &quot;..\assets\Microsoft.Web.XmlTransform.dll&quot;&#xA;        UserAccount = @{&#xA;            Domain = $Env:COMPUTERNAME&#xA;            UserName = 'CSFndRuntimeUser'&#xA;            Password = 'Pu8azaCr'&#xA;        }&#xA;        BraintreeAccount = @{&#xA;            MerchantId = ''&#xA;            PublicKey = ''&#xA;            PrivateKey = ''&#xA;        }&#xA;        SitecoreIdentityServerName = &quot;SitecoreIdentityServer&quot;       &#xA;    }&#xA;&#xA;if ($CommerceSearchProvider -eq &quot;SOLR&quot;) {&#xA;    Install-SitecoreConfiguration @params -Verbose&#xA;}&#xA;elseif ($CommerceSearchProvider -eq &quot;AZURE&quot;){&#xA;    Install-SitecoreConfiguration @params -Skip InstallSolrCores&#xA;}   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Files:&lt;a href=&quot;https://i.stack.imgur.com/cjyYm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cjyYm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why this error? I am not even sure what it is trying to indicate?&lt;/p&gt;&#xA;" OwnerUserId="3617" LastEditorUserId="3617" LastEditDate="2018-05-08T10:13:50.180" LastActivityDate="2018-05-08T10:13:50.180" Title="Problems installation Sitecore 9 Commerce XC" Tags="|sitecore-commerce|installation|sitecore-install-framework|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11569" PostTypeId="2" ParentId="10553" CreationDate="2018-05-01T14:55:07.350" Score="1" Body="&lt;p&gt;Issue solved by updating to latest patch file Sitecore.Support.398622. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="976" LastEditorUserId="976" LastEditDate="2019-04-11T08:12:40.033" LastActivityDate="2019-04-11T08:12:40.033" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11570" PostTypeId="1" CreationDate="2018-05-01T15:39:45.073" Score="0" ViewCount="1886" Body="&lt;p&gt;I am dynamically constructing the left menu for the product &lt;/p&gt;&#xA;&#xA;&lt;p&gt;View:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            @foreach (var item in Model.Children)&#xA;       {&#xA;         &amp;lt;div class=&quot;btn btn-default&quot;&amp;gt;&#xA;&#xA;        &amp;lt;a id=&quot;lnk-@item.DisplayName&quot;  href=&quot;@Sitecore.Links.LinkManager.GetItemUrl(@item)&quot;&amp;gt;&amp;lt;span class=&quot;@item[&quot;Icon&quot;]&quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&quot;nameText&quot;&amp;gt;@item[&quot;Title&quot;]&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&#xA;&#xA;&#xA;              &amp;lt;/div&amp;gt;&#xA;         }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;when clicking the link am getting url as &#xA;QAV1/sitecore/Content/Property/Ridgepoint/Photos?sc_lang=en&lt;/p&gt;&#xA;&#xA;&lt;p&gt;how to avoid sitecore/content/ in the url?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site Definition: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;           &amp;lt;site name=&quot;qav1&quot; patch:before=&quot;site[@name='website']&quot;&#xA;         virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot;&#xA;        rootPath=&quot;/sitecore/content/Property/&quot;&#xA;        startItem=&quot;/Home&quot;&#xA;        database=&quot;web&quot;&#xA;        domain=&quot;extranet&quot;&#xA;        allowDebug=&quot;false&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;50MB&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;true&quot;&#xA;        useDisplayName=&quot;true&quot;&#xA;&#xA;        disableClientData=&quot;false&quot;/&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="73" LastEditDate="2018-05-02T07:49:59.863" LastActivityDate="2018-05-02T07:49:59.863" Title="LinkManager Adds /sitecore/content into the URL" Tags="|links|link-manager|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="11571" PostTypeId="2" ParentId="11570" CreationDate="2018-05-01T16:17:41.233" Score="1" Body="&lt;p&gt;The reason you're getting the full path is because your Site definition points to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/content/Property/&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the item you're rendering a url for is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;qav1/sitecore/content/Product/MenuName&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means, it's not under the Property item which is the starting point of the site. So, for the url to work (i.e. Sitecore to be able to find the item based on the url) it needs the full item path (as it wouldn't find it under Property). So the MenuName or the Product item needs to be under Property, in that case it will render the url without gav1/sitecore/content.&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2018-05-01T16:17:41.233" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11572" PostTypeId="1" AcceptedAnswerId="11684" CreationDate="2018-05-01T16:33:28.040" Score="2" ViewCount="648" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zQXRA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zQXRA.png&quot; alt=&quot;Sitecore auto created modules&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get a better understanding of the JSS library I ran the bundle analyzer on the Angular Sample project and I'm getting 169 modules on my main bundle. Does anybody knows where those 169 modules are coming from? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The total bundle size of my sample project looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;bundle.js (polyfills) 59.7 kB &#xA;main.bundle.js (main) 302 kB &#xA;styles.bundle.css (styles) 51.6 kB&#xA;inline.bundle.js (inline) 796 bytes&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is that normal for a startup project using JSS, even after using the --prod flags?&lt;/p&gt;&#xA;" OwnerUserId="3571" LastEditorUserId="73" LastEditDate="2018-05-02T07:49:30.323" LastActivityDate="2019-11-18T21:02:03.203" Title="Angular Bundle size issue" Tags="|jss|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 3.0" />
  <row Id="11574" PostTypeId="2" ParentId="6663" CreationDate="2018-05-01T17:59:55.267" Score="1" Body="&lt;p&gt;For anyone that it might be useful in the future, I ended up contacting the support and solved the problem by:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Filtering out such requests using the untrackedPages section of the config&lt;/li&gt;&#xA;&lt;li&gt;Installing a patch to fix a bug specific to the setuserprofilekey entry&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1625" LastActivityDate="2018-05-01T17:59:55.267" CommentCount="2" ContentLicense="CC BY-SA 3.0" />
  <row Id="11576" PostTypeId="1" CreationDate="2018-05-01T19:59:42.193" Score="0" ViewCount="1435" Body="&lt;p&gt;I took backup of running site and setup in my development environment, when I rebuild custom indexes on staging (CM) under data/indexs folder I can see all files are updated but on production (CD) index files are not updated i can see it by their date and time modified and also by seeing only two initial files in the index folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As there is no any kind of change in config files index should be build what should i consider to check? I did not see any warning etc in log file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I republished all items, and tried different strategies but no success.&lt;/p&gt;&#xA;" OwnerUserId="3606" LastEditorUserId="3606" LastEditDate="2018-05-01T21:54:10.587" LastActivityDate="2018-11-28T02:01:15.187" Title="Rebuilding custom index not working at all" Tags="|indexing|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 3.0" />
  <row Id="11578" PostTypeId="1" AcceptedAnswerId="11617" CreationDate="2018-05-01T21:06:52.920" Score="0" ViewCount="1446" Body="&lt;p&gt;I'm using Sitecore 8.2 Update 5. I do have ComponentArt Grid license file under bin folder. What else may be the reason of this error? It's working fine locally. I see suggestions to add ComponentArt Grid license file in bin folder which is not my case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/n7bzl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/n7bzl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2644" LastActivityDate="2020-02-17T12:00:13.397" Title="ComponentArt Grid Unlicensed control. Click here for more information" Tags="|sitecore-client|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 3.0" />
  <row Id="11581" PostTypeId="2" ParentId="11576" CreationDate="2018-05-01T22:20:02.430" Score="1" Body="&lt;p&gt;Normally if you have separate CD and CA Servers you would use the OnPublishEndAsync strategy, this is defined like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;onPublishEndAsync type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.&#xA;           OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;          &amp;lt;CheckForThreshold&amp;gt;true&amp;lt;/CheckForThreshold&amp;gt;&#xA;&amp;lt;/onPublishEndAsync&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This monitors the OnPublishEnd event and uses the EventQueue object to publish remotely to update the indexes on the CD Servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore you need to ensure you have the EnableEventQueues setting is set to true on the CA server with a patch file like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EnableEventQueues&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is more info on this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/index_update_strategies&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/index_update_strategies&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoreblog.patelyogesh.in/2013/07/sitecore-event-queue-scalability-king.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreblog.patelyogesh.in/2013/07/sitecore-event-queue-scalability-king.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-05-01T22:20:02.430" CommentCount="6" ContentLicense="CC BY-SA 3.0" />
  <row Id="11582" PostTypeId="1" AcceptedAnswerId="11583" CreationDate="2018-05-02T01:04:19.913" Score="1" ViewCount="231" Body="&lt;p&gt;I m trying to understand Helix framework /Habitat project and I'm mapping the implementation with my current application. We got service layers(that calls web api or restful services) which get all business logic related data. Should we prefer adding such modules in foundation layer or create separate layer for this?&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="73" LastEditDate="2018-05-02T07:41:07.907" LastActivityDate="2018-05-02T07:41:07.907" Title="In which layer, Are we suppose to place custom repository or data layers or external services interface?" Tags="|helix|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11583" PostTypeId="2" ParentId="11582" CreationDate="2018-05-02T01:12:54.787" Score="8" Body="&lt;p&gt;If it's used by a single feature, I would say it should be defined in that feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it's used a by number of features, then a Foundation module is probably more appropriate.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-05-02T01:12:54.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11584" PostTypeId="1" CreationDate="2018-05-02T09:32:21.467" Score="1" ViewCount="244" Body="&lt;p&gt;We have multiple sitecore websites hosted on their own instances with same domains below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;mainsite.com&lt;/li&gt;&#xA;&lt;li&gt;siteA.mainsite.com &lt;/li&gt;&#xA;&lt;li&gt;siteB.mainsite.com (with authentication enabled)&lt;/li&gt;&#xA;&lt;li&gt;siteC.mainsite.com&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And also on separate domain&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;site2.com&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Requirement&lt;/strong&gt; is that when user visits any of the sites we need to identify their interest and personalise the content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if user vists siteA.mainsite.com, spends quiet of bit of time reading article on specific category item. Then when user visits any of the other sites, show that category item on banner.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the best possible solution to achieve this type of personalisation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While ago sitecore released the FXM but I'm unsure if this is the best solution as this solution seems to work only in one direction.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="316" LastEditDate="2019-11-27T04:04:30.180" LastActivityDate="2019-11-27T04:04:49.287" Title="Personalisation between multiple sitecore instance with same or different subdomains" Tags="|xdb|personalization|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11585" PostTypeId="1" AcceptedAnswerId="11587" CreationDate="2018-05-02T09:37:35.193" Score="2" ViewCount="261" Body="&lt;p&gt;I have a scheduled task in Sitecore. In the task I need run the code, that send notification to all users that have access to specific WorkFlow state. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got list of all users under sitecore domain and check users rights to workflow state item, but I always get &quot;true&quot;. Looks like Security doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My function:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private List&amp;lt;string&amp;gt; GetUserEmailsInCurrentWorkflowState(WorkflowState state)&#xA;{&#xA;    List&amp;lt;string&amp;gt; emails = new List&amp;lt;string&amp;gt;();&#xA;    var stateItem = this.master.GetItem(state.StateID);&#xA;    foreach (var user in UserList.Where(x =&amp;gt; x.IsAdministrator == false).ToList())&#xA;    {&#xA;        if (AuthorizationManager.IsAllowed(stateItem, AccessRight.WorkflowStateWrite, user) &amp;amp;&amp;amp;&#xA;                AuthorizationManager.IsAllowed(stateItem, AccessRight.WorkflowCommandExecute, user))&#xA;         {&#xA;            if (!string.IsNullOrEmpty(user.Profile.Email))&#xA;            {&#xA;                emails.Add(user.Profile.Email);&#xA;            }&#xA;          }&#xA;     }&#xA;        return emails;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I tried switch context site (by default it &quot;scheduler&quot;) and context user:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private List&amp;lt;string&amp;gt; GetUserEmailsInCurrentWorkflowState(WorkflowState state)&#xA;    {&#xA;        List&amp;lt;string&amp;gt; emails = new List&amp;lt;string&amp;gt;();&#xA;        var stateItem = this.master.GetItem(state.StateID);&#xA;        foreach (var user in UserList.Where(x =&amp;gt; x.IsAdministrator == false).ToList())&#xA;        {&#xA;            var website = Sitecore.Configuration.Factory.GetSite(&quot;website&quot;);&#xA;            using (new SiteContextSwitcher(website))&#xA;            {&#xA;                Item item;&#xA;                using (new Sitecore.Security.Accounts.UserSwitcher(user))&#xA;                {&#xA;                    item = master.GetItem(new ID(state.StateID));&#xA;                }&#xA;                if (item != null)&#xA;                {&#xA;                    if (AuthorizationManager.IsAllowed(stateItem, AccessRight.WorkflowStateWrite, user) &amp;amp;&amp;amp;&#xA;                        AuthorizationManager.IsAllowed(stateItem, AccessRight.WorkflowCommandExecute, user))&#xA;                    {&#xA;                        if (!string.IsNullOrEmpty(user.Profile.Email))&#xA;                        {&#xA;                            emails.Add(user.Profile.Email);&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;        return emails;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tested the code under website and it worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the features of Security for scheduled tasks in Sitecore? How I can check access right of user to item in my task?&lt;/p&gt;&#xA;" OwnerUserId="3624" LastEditorUserId="73" LastEditDate="2018-05-02T11:16:05.763" LastActivityDate="2018-05-02T11:16:05.763" Title="Check access rights programmatically for scheduled task" Tags="|security|scheduled-tasks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11586" PostTypeId="1" AcceptedAnswerId="11588" CreationDate="2018-05-02T10:48:10.643" Score="3" ViewCount="1334" Body="&lt;p&gt;I followed the steps in the main Sitecore site to try and make a form using Sitecore 9, here &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/90/digital_marketing/sitecore_forms/creating_forms/create_a_new_form&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/90/digital_marketing/sitecore_forms/creating_forms/create_a_new_form&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, whenever i click &quot;save&quot;, i get an error message &quot;an error has occurred&quot;, and it won't save.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked the console, apparently every time i click &quot;save&quot; this error appears &lt;a href=&quot;https://i.stack.imgur.com/J6LMY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J6LMY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any tips on how to fix this would be great.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="73" LastEditDate="2018-05-02T11:15:45.820" LastActivityDate="2018-05-02T11:27:42.830" Title="403 Forbidden when saving form" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11587" PostTypeId="2" ParentId="11585" CreationDate="2018-05-02T11:03:26.503" Score="3" Body="&lt;p&gt;I think tasks are executed within a SecurityDisabler, which would explain the behavior you're seeing. Within your site the code works, but within a SecurityDisabler all rights will be &quot;true&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can try to fix this with a SecurityStateSwitcher:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SecurityStateSwitcher(SecurityState.Enabled))&#xA;{&#xA;  ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-05-02T11:03:26.503" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11588" PostTypeId="2" ParentId="11586" CreationDate="2018-05-02T11:10:38.990" Score="4" Body="&lt;p&gt;Looking at the error it looks like the new forms in Sitecore 9 are using the Sitecore item api in order to save the form and the error your seeing is due to failing authentication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;can you use postman (&lt;a href=&quot;https://www.getpostman.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.getpostman.com/&lt;/a&gt;) to post a test to the following endpoint to try and login and see if the item api is working correctly?:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore1.local/sitecore/api/ssc/auth/login&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore1.local/sitecore/api/ssc/auth/login&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be able to import this curl command into postman:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;curl -X POST \&#xA;  https://sitecore1.local/sitecore/api/ssc/auth/login \&#xA;  -H 'cache-control: no-cache' \&#xA;  -H 'content-type: application/x-www-form-urlencoded' \&#xA;  -H 'postman-token: 0de63dfb-7712-bc08-0ba0-abb85f33d855' \&#xA;  -d 'username=admin&amp;amp;password=b&amp;amp;domain=sitecore&amp;amp;database=master'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm assuming your local username and password here are admin/b so update these if not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the above request doesn't work make sure you set up a local self signed cert in IIS and are using Sitecore under HTTPS: &lt;a href=&quot;https://dontpaniclabs.com/blog/post/2017/01/11/creating-self-signed-ssl-certificate-developing-testing-iis/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dontpaniclabs.com/blog/post/2017/01/11/creating-self-signed-ssl-certificate-developing-testing-iis/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The item API requires requests to be under https in order to work. Once you have done this you should find the request above works. &lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-05-02T11:27:42.830" LastActivityDate="2018-05-02T11:27:42.830" CommentCount="12" ContentLicense="CC BY-SA 4.0" />
  <row Id="11589" PostTypeId="2" ParentId="2584" CreationDate="2018-05-02T11:39:18.760" Score="2" Body="&lt;p&gt;This is in addition to the accepted answer of Gatogordo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had a similar question, while slightly differ on the domain url...&#xA;I do want 1 content item that supports two languages too, but I do not like the idea of ?sc_lang=nl-NL or the /nl-nl/ part in the url. I want to have one language per domain. So, if you have a &lt;em&gt;second&lt;/em&gt; domain, like example.com for English targeted content, and example.nl for Dutch targeted content, then you could use this patch config to force a language for the context / domain.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;example&quot; patch:before=&quot;site[@name='website']&quot;&#xA;        hostName=&quot;example.nl&quot;&#xA;        targetHostName=&quot;example.nl&quot; language=&quot;nl-NL&quot; enableTracking=&quot;true&quot;&#xA;        virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/sites/Example&quot; startItem=&quot;/home&quot;&#xA;        database=&quot;master&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot;&#xA;        registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;0&quot; filteredItemsCacheSize=&quot;10MB&quot;&#xA;        enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot;&#xA;        cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; mvcArea=&quot;Example&quot;&#xA;        dictionaryDomain=&quot;SitesExampleDictionary&quot; /&amp;gt;&#xA;      &amp;lt;site name=&quot;exampleEN&quot; patch:before=&quot;site[@name='website']&quot;&#xA;        hostName=&quot;example.com&quot;&#xA;        targetHostName=&quot;example.com&quot; language=&quot;en&quot; enableTracking=&quot;true&quot;&#xA;        virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/sites/Example&quot; startItem=&quot;/home&quot;&#xA;        database=&quot;master&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot;&#xA;        registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;0&quot; filteredItemsCacheSize=&quot;10MB&quot;&#xA;        enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot;&#xA;        cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; mvcArea=&quot;Example&quot;&#xA;        dictionaryDomain=&quot;SitesExampleDictionary&quot; /&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that database is set to master in this config sample, you might need to change it to web.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tailor this configuration to your needs, apply the solution above from @Gatogordo as well for SEO score.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another tip for in your mvc layout cshtml, add the lang attribute to your html-tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;html lang=&quot;@Model.Item.Language.CultureInfo.TwoLetterISOLanguageName&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3182" LastActivityDate="2018-05-02T11:39:18.760" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11592" PostTypeId="2" ParentId="8791" CreationDate="2018-05-02T13:12:34.990" Score="6" Body="&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Move-Item -Destination Cert:\LocalMachine\CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Run this query in Powershell.&lt;/p&gt;&#xA;" OwnerUserId="3626" LastEditorUserId="70" LastEditDate="2018-05-02T13:39:29.733" LastActivityDate="2018-05-02T13:39:29.733" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11593" PostTypeId="1" AcceptedAnswerId="11594" CreationDate="2018-05-02T13:32:56.213" Score="1" ViewCount="1016" Body="&lt;p&gt;I have a helix project configured to use unicorn. on our production environment the marketing team have been adding content for around 2 months so there are thousands of changes to the master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've restored a DB locally and reserilaized each project so we can check in the new yaml files to source control. But in our Helix solution there over 60 projects and I've had to middle click the reserialize button on each project listed in unicorn.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a query string like &lt;code&gt;?verb=sync&lt;/code&gt; but to reserilaize all projects?&lt;/p&gt;&#xA;" OwnerUserId="2993" LastEditorUserId="73" LastEditDate="2018-05-02T15:03:04.757" LastActivityDate="2018-05-02T15:03:04.757" Title="Is it possible to reserialize all via an URL call" Tags="|helix|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11594" PostTypeId="2" ParentId="11593" CreationDate="2018-05-02T13:45:50.990" Score="2" Body="&lt;p&gt;Yup - and its just as simple as syncing all. Just change the verb to &lt;code&gt;Reserialize&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://mysite/unicorn.aspx?verb=Reserialize&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and it will reserialize all the configurations in the same way that &lt;code&gt;verb=sync&lt;/code&gt;, syncs them all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A second option would be to tick the box next to the &lt;code&gt;Configurations&lt;/code&gt; header and then &lt;code&gt;Reserialize Selected&lt;/code&gt; button. But this checkbox may not appear if you have no serialized items on your file store.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ETwcF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ETwcF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2018-05-02T13:51:25.603" LastActivityDate="2018-05-02T13:51:25.603" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11595" PostTypeId="2" ParentId="11584" CreationDate="2018-05-02T13:51:07.657" Score="1" Body="&lt;p&gt;In general, historical personalization of users requires the data in xDB. You have a one-to-one relationship between xDB and Master database, so if you migrate your multiple sites into one multi-site authoring environment and publish out to individual content delivery instances and separate web databases, your front-end will still be isolated but you can leverage the full XP platform capabilities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on your question, though, I believe you are trying to achieve in-session personalization between disparate Sitecore topologies by somehow using the same shared session database record between the different sites. I'm not sure this is possible, as I believe each Sitecore instance, regardless of domain, will want to create it's own session.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-05-02T13:51:07.657" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11596" PostTypeId="1" CreationDate="2018-05-02T14:47:36.147" Score="0" ViewCount="4894" Body="&lt;p&gt;I am trying to install Sitecore 9 (Update 1) through SIF. I have everything in place, I just need to enable SSL for Solr. I have Solr 6.6.2. I saw the &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;official reference&lt;/a&gt; and have no idea how to install OpenSSL nor add it to my PATH variable (not to mention that the link is broken and I can't find the binaries). Then I found a &lt;a href=&quot;https://kamsar.net/index.php/2017/10/Quickly-add-SSL-to-Solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;workaround&lt;/a&gt;, or at least so it seemed. I've run this script (see workaround link) and have entered the path to the keytool.exe but I get this every time:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Generating .p12 to import to Windows...&#xA;keytool.exe : Entry for alias solr-ssl successfully imported.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That shows up in red, which makes no sense because it doesn't sound like an error. It sounds like something worked. I should mention that I didn't run the following line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.\solrssl.ps1 -KeystoreFile C:\Solr\apache-solr\server\etc\solr-ssl.keystore.jks&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;because every time I do, I get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.\solrssl.ps1 : The term '.\solrssl.ps1' is not recognized as the name of a cmdlet, function, &#xA;script file, or operable program. Check the spelling of the name, or if a path was included, verify &#xA;that the path is correct and try again.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="1344" LastEditDate="2018-05-02T17:57:52.590" LastActivityDate="2019-08-10T18:30:36.827" Title="Unable to set up SSL for Solr" Tags="|solr|installation|sitecore-install-framework|sim|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11597" PostTypeId="1" AcceptedAnswerId="11621" CreationDate="2018-05-02T14:48:16.393" Score="4" ViewCount="1181" Body="&lt;p&gt;I have a query that's supposed to return related articles to the current article that &lt;em&gt;aren't&lt;/em&gt; the current article but &lt;em&gt;are&lt;/em&gt; the same category. However, it keeps including the current article in the results. It uses this predicate:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var predNotCurrentItem = PredicateBuilder&#xA;    .True&amp;lt;BlogSearchResult&amp;gt;()&#xA;    .And(x =&amp;gt; x.ItemId.Guid != currentArticle._Id);&#xA;var predPrimaryCategory = predNotCurrentItem.And(x =&amp;gt; x.PrimaryCategory == currentArticle.PrimaryCategory._Id);&#xA;&#xA;dest = _blogSearch.GetMostRecentArticles(predPrimaryCategory, count);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which, by way of the &lt;code&gt;GetMostRecentArticles&lt;/code&gt; function, calls this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected TList Search(Expression&amp;lt;Func&amp;lt;TSingle, bool&amp;gt;&amp;gt; predicate = null)&#xA;{&#xA;    TList results;&#xA;&#xA;    using (IProviderSearchContext context = SearchIndex.CreateSearchContext())&#xA;    {&#xA;        IQueryable&amp;lt;TSingle&amp;gt; query;&#xA;        if (predicate != null)&#xA;        {&#xA;            query = context.GetQueryable&amp;lt;TSingle&amp;gt;().Filter(predicate);&#xA;        }&#xA;        else&#xA;        {&#xA;            query = context.GetQueryable&amp;lt;TSingle&amp;gt;();&#xA;        }&#xA;        results = new TList { Results = query.Where(x =&amp;gt; !x.ExcludeFromSearch).ToList().Distinct() };&#xA;    }&#xA;&#xA;    return results;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've confirmed that &lt;code&gt;x.ItemId.Guid&lt;/code&gt; and &lt;code&gt;currentArticle._Id&lt;/code&gt; are returning the correct values, and they're both GUIDs so the comparison should work correctly. I've confirmed that it gets to the &lt;code&gt;Filter()&lt;/code&gt; call as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What am I doing wrong that prevents it from filtering out the article with matching GUID as expected?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Note: I suspect this is a C# thing rather than a Sitecore thing specifically, but if it matters we're using Sitecore 8.1u3 with Lucene 3.0.3.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;edit 1: adding configuration&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Relevant portion of the search configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.FieldMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;Article Title&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;Author&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.Guid&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;Primary Category&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.Guid&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;Additional Categories&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;States&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration.Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;Publish Date&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; type=&quot;System.DateTime&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;Keywords&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;Include on Blog Homepage&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.Boolean&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;Include in RSS Feeds&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.Boolean&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;Exclude from Related Blog Posts&quot; storageType=&quot;YES&quot; indexType=&quot;UNTOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.Boolean&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;    &amp;lt;/fieldNames&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneDocumentBuilderOptions, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;    &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;    &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;        &amp;lt;BlogArticle&amp;gt;(guid omitted)&amp;lt;/BlogArticle&amp;gt;&#xA;    &amp;lt;/include&amp;gt;&#xA;    &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;_content&quot; type=&quot;MyCompany.Library.Services.Search.Fields.RenderingContentsField, MyCompany.Library&quot; /&amp;gt;&#xA;    &amp;lt;/fields&amp;gt;&#xA;    &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;        &amp;lt;Keywords&amp;gt;(guid omitted)&amp;lt;/Keywords&amp;gt;&#xA;        &amp;lt;ArticleTitle&amp;gt;(guid omitted)&amp;lt;/ArticleTitle&amp;gt;&#xA;        &amp;lt;Author&amp;gt;(guid omitted)&amp;lt;/Author&amp;gt;&#xA;        &amp;lt;PrimaryCategory&amp;gt;(guid omitted)&amp;lt;/PrimaryCategory&amp;gt;&#xA;        &amp;lt;AdditionalCategories&amp;gt;(guid omitted)&amp;lt;/AdditionalCategories&amp;gt;&#xA;        &amp;lt;States&amp;gt;(guid omitted)&amp;lt;/States&amp;gt;&#xA;        &amp;lt;PublishDate&amp;gt;(guid omitted)&amp;lt;/PublishDate&amp;gt;&#xA;        &amp;lt;IncludeOnBlogHomepage&amp;gt;(guid omitted)&amp;lt;/IncludeOnBlogHomepage&amp;gt;&#xA;        &amp;lt;IncludeInRssFeeds&amp;gt;(guid omitted)&amp;lt;/IncludeInRssFeeds&amp;gt;&#xA;        &amp;lt;ExcludeFromRelatedBlogPosts&amp;gt;(guid omitted)&amp;lt;/ExcludeFromRelatedBlogPosts&amp;gt;&#xA;    &amp;lt;/include&amp;gt;&#xA;&amp;lt;/documentOptions&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1164" LastEditorUserId="1164" LastEditDate="2018-05-03T15:41:32.713" LastActivityDate="2018-05-04T07:12:08.900" Title="Predicate not filtering out same ID in Lucene query" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="11598" PostTypeId="2" ParentId="6486" CreationDate="2018-05-02T14:50:05.803" Score="8" Body="&lt;p&gt;To be able to attach media, your User should be a member of the Sitecore Role &quot;sitecore\Sitecore Client Maintaining&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YZe57.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YZe57.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2314" LastActivityDate="2018-05-02T14:50:05.803" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11599" PostTypeId="1" CreationDate="2018-05-02T15:31:25.627" Score="2" ViewCount="354" Body="&lt;p&gt;I have deployed Sitecore 9.0.1 XP Scaled in Azure PaaS (default, no customization). It is used self-signed certificate and configured with allowInvalidClientCertificates=&quot;true&quot; in azuredeploy.parameters.json. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Deployment has proceeded without problems and no errors has been reported. &#xA;I can confirm that all Web App Services works correctly including xConnectColletion and xConnectSearch (certificates are verified)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the first post deployment task is to rebuild Sitecore indexes. The challenge is with Sitecore-Core-Index - which is rebuilding very slowly and at the end fails. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Azure Search (standard tier) I can see 71 000 documents created for Sitecore-Core-Index but there are many errors in the Sitecore logs (as shown bellow). Eventually after several hours running also Sitecore re-indexing interface fail with same error message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this normal behavior ? Why are so many errors in log files?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;7636 12:17:06 ERROR [Index=sitecore_core_index] Commit failed&#xA;  Exception: System.AggregateException&#xA;  Message: One or more errors occurred.&#xA;  Source: mscorlib&#xA;     at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;     at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;     at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action&lt;code&gt;1 body, Action&lt;/code&gt;2 bodyWithState, Func&lt;code&gt;4 bodyWithLocal, Func&lt;/code&gt;1 localInit, Action&lt;code&gt;1 localFinally)&#xA;     at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable&lt;/code&gt;1 source, ParallelOptions parallelOptions, Action&lt;code&gt;1 body, Action&lt;/code&gt;2 bodyWithState, Action&lt;code&gt;3 bodyWithStateAndIndex, Func&lt;/code&gt;4 bodyWithStateAndLocal, Func&lt;code&gt;5 bodyWithEverything, Func&lt;/code&gt;1 localInit, Action&lt;code&gt;1 localFinally)&#xA;     at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable&lt;/code&gt;1 source, Action`1 body)&#xA;     at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.PostDocuments(ICloudBatch batch)&#xA;     at Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.Commit()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.BadRequestException&#xA;  Message: Error in the request URI, headers, or body&#xA;  Source: Sitecore.ContentSearch.Azure&#xA;     at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage response)&#xA;     at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.UpdateIndex(IndexDefinition indexDefinition)&#xA;     at Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.SyncRemoteService(IndexDefinition sourceIndexDefinition, IEnumerable&lt;code&gt;1 incomingFields)&#xA;     at Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.&amp;lt;&amp;gt;c__DisplayClass17_0.&amp;lt;EnsureIsInSync&amp;gt;b__0()&#xA;     at Sitecore.ContentSearch.Azure.Utils.Retryer.RetryPolicy.Execute(Action action)&#xA;     at Sitecore.ContentSearch.Azure.Http.SearchService.PostDocumentsImpl(ICloudBatch batch)&#xA;     at Sitecore.ContentSearch.Azure.Http.SearchService.PostDocuments(ICloudBatch batch)&#xA;     at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.&amp;lt;&amp;gt;c__DisplayClass15_0.&amp;lt;PostDocuments&amp;gt;b__0(ISearchService searchService)&#xA;     at System.Threading.Tasks.Parallel.&amp;lt;&amp;gt;c__DisplayClass17_0&lt;/code&gt;1.b__1()&#xA;     at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&#xA;     at System.Threading.Tasks.Task.&amp;lt;&gt;c__DisplayClass176_0.b__0(Object )&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;  Message: {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;An index with the name 'sitecore-core-index' in service 'myscpaas-as' could not be updated. Error updating index mapping&quot;}}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AUlar.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AUlar.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2298" LastEditorUserId="2056" LastEditDate="2018-05-03T05:52:04.390" LastActivityDate="2018-05-03T05:52:04.390" Title="Sitecore-Core-Index rebuild at Azure Search for Sitecore 9.0.1 PaaS fails" Tags="|azure|indexing|azure-search|paas|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11601" PostTypeId="2" ParentId="11596" CreationDate="2018-05-02T19:39:33.193" Score="2" Body="&lt;p&gt;You will require to download the followings:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Java SE Runtime Environment 9.0.1 &lt;/li&gt;&#xA;&lt;li&gt;NSSM 2.24 &lt;/li&gt;&#xA;&lt;li&gt;Solr 6.6.2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Download all and install the JRE 9.0.1 at default location&#xA;Extract all the contents of the SOLR and NSSM in the directory&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;C:\solr&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now run the save the following as the PowerShell and run it, it will do the rest installation for Solr 6.6.2.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Param(&#xA;    $solrVersion = &quot;6.6.2&quot;,&#xA;    $installFolder = &quot;c:\solr&quot;,&#xA;    $solrPort = &quot;8983&quot;,&#xA;    $solrHost = &quot;solr&quot;,&#xA;    $solrSSL = $true,&#xA;    $nssmVersion = &quot;2.24&quot;,&#xA;    $JREVersion = &quot;9.0.1&quot;&#xA;)&#xA;&#xA;$JREPath = &quot;C:\Program Files\Java\jre-$JREVersion&quot;&#xA;$solrName = &quot;solr-$solrVersion&quot;&#xA;$solrRoot = &quot;$installFolder\$solrName&quot;&#xA;$nssmRoot = &quot;$installFolder\nssm-$nssmVersion&quot;&#xA;$solrPackage = &quot;https://archive.apache.org/dist/lucene/solr/$solrVersion/$solrName.zip&quot;&#xA;$nssmPackage = &quot;https://nssm.cc/release/nssm-$nssmVersion.zip&quot;&#xA;$downloadFolder = &quot;~\Downloads&quot;&#xA;&#xA;## Verify elevated&#xA;## https://superuser.com/questions/749243/detect-if-powershell-is-running-as-administrator&#xA;$elevated = [bool](([System.Security.Principal.WindowsIdentity]::GetCurrent()).groups -match &quot;S-1-5-32-544&quot;)&#xA;if($elevated -eq $false)&#xA;{&#xA;    throw &quot;In order to install services, please run this script elevated.&quot;&#xA;}&#xA;&#xA;function downloadAndUnzipIfRequired&#xA;{&#xA;    Param(&#xA;        [string]$toolName,&#xA;        [string]$toolFolder,&#xA;        [string]$toolZip,&#xA;        [string]$toolSourceFile,&#xA;        [string]$installRoot&#xA;    )&#xA;&#xA;    if(!(Test-Path -Path $toolFolder))&#xA;    {&#xA;        if(!(Test-Path -Path $toolZip))&#xA;        {&#xA;            Write-Host &quot;Downloading $toolName...&quot;&#xA;            Start-BitsTransfer -Source $toolSourceFile -Destination $toolZip&#xA;        }&#xA;&#xA;        Write-Host &quot;Extracting $toolName to $toolFolder...&quot;&#xA;        Expand-Archive $toolZip -DestinationPath $installRoot&#xA;    }&#xA;}&#xA;# download &amp;amp; extract the solr archive to the right folder&#xA;$solrZip = &quot;$downloadFolder\$solrName.zip&quot;&#xA;downloadAndUnzipIfRequired &quot;Solr&quot; $solrRoot $solrZip $solrPackage $installFolder&#xA;&#xA;# download &amp;amp; extract the nssm archive to the right folder&#xA;$nssmZip = &quot;$downloadFolder\nssm-$nssmVersion.zip&quot;&#xA;downloadAndUnzipIfRequired &quot;NSSM&quot; $nssmRoot $nssmZip $nssmPackage $installFolder&#xA;&#xA;# Ensure Java environment variable&#xA;$jreVal = [Environment]::GetEnvironmentVariable(&quot;JAVA_HOME&quot;, [EnvironmentVariableTarget]::Machine)&#xA;if($jreVal -ne $JREPath)&#xA;{&#xA;    Write-Host &quot;Setting JAVA_HOME environment variable&quot;&#xA;    [Environment]::SetEnvironmentVariable(&quot;JAVA_HOME&quot;, $JREPath, [EnvironmentVariableTarget]::Machine)&#xA;}&#xA;&#xA;# if we're using HTTP&#xA;if($solrSSL -eq $false)&#xA;{&#xA;    # Update solr cfg to use right host name&#xA;    if(!(Test-Path -Path &quot;$solrRoot\bin\solr.in.cmd.old&quot;))&#xA;    {&#xA;        Write-Host &quot;Rewriting solr config&quot;&#xA;&#xA;        $cfg = Get-Content &quot;$solrRoot\bin\solr.in.cmd&quot;&#xA;        Rename-Item &quot;$solrRoot\bin\solr.in.cmd&quot; &quot;$solrRoot\bin\solr.in.cmd.old&quot;&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_HOST=192.168.1.1&quot;, &quot;set SOLR_HOST=$solrHost&quot; }&#xA;        $newCfg | Set-Content &quot;$solrRoot\bin\solr.in.cmd&quot;&#xA;    }&#xA;}&#xA;&#xA;# Ensure the solr host name is in your hosts file&#xA;if($solrHost -ne &quot;localhost&quot;)&#xA;{&#xA;    $hostFileName = &quot;c:\\windows\system32\drivers\etc\hosts&quot;&#xA;    $hostFile = [System.Io.File]::ReadAllText($hostFileName)&#xA;    if(!($hostFile -like &quot;*$solrHost*&quot;))&#xA;    {&#xA;        Write-Host &quot;Updating host file&quot;&#xA;        &quot;`r`n127.0.0.1`t$solrHost&quot; | Add-Content $hostFileName&#xA;    }&#xA;}&#xA;&#xA;# if we're using HTTPS&#xA;if($solrSSL -eq $true)&#xA;{&#xA;    # Generate SSL cert&#xA;    $existingCert = Get-ChildItem Cert:\LocalMachine\Root | where Subject -eq &quot;CN=$solrHost&quot;&#xA;    if(!($existingCert))&#xA;    {&#xA;        Write-Host &quot;Creating &amp;amp; trusting an new SSL Cert for $solrHost&quot;&#xA;&#xA;        # Generate a cert&#xA;        # https://docs.microsoft.com/en-us/powershell/module/pkiclient/new-selfsignedcertificate?view=win10-ps&#xA;&#xA;        # $cert = New-SelfSignedCertificate -DnsName www.fabrikam.com, www.contoso.com -CertStoreLocation &quot;cert:\LocalMachine&quot; &#xA;&#xA;        #working&#xA;        $cert = New-SelfSignedCertificate -DnsName &quot;$solrHost&quot; -CertStoreLocation cert:\LocalMachine\My&#xA;&#xA;        # Trust the cert&#xA;        # https://stackoverflow.com/questions/8815145/how-to-trust-a-certificate-in-windows-powershell&#xA;        $store = New-Object System.Security.Cryptography.X509Certificates.X509Store &quot;Root&quot;,&quot;LocalMachine&quot;&#xA;        $store.Open(&quot;ReadWrite&quot;)&#xA;        $store.Add($cert)&#xA;        $store.Close()&#xA;&#xA;        # remove the untrusted copy of the cert&#xA;        $cert | Remove-Item&#xA;    }&#xA;&#xA;    # export the cert to pfx using solr's default password&#xA;    if(!(Test-Path -Path &quot;$solrRoot\server\etc\solr-ssl.keystore.pfx&quot;))&#xA;    {&#xA;        Write-Host &quot;Exporting cert for Solr to use&quot;&#xA;&#xA;        $cert = Get-ChildItem Cert:\LocalMachine\Root | where Subject -eq &quot;CN=$solrHost&quot;&#xA;&#xA;        $certStore = &quot;$solrRoot\server\etc\solr-ssl.keystore.pfx&quot;&#xA;        $certPwd = ConvertTo-SecureString -String &quot;secret&quot; -Force -AsPlainText&#xA;        $cert | Export-PfxCertificate -FilePath $certStore -Password $certpwd | Out-Null&#xA;    }&#xA;&#xA;    # Update solr cfg to use keystore &amp;amp; right host name&#xA;    if(!(Test-Path -Path &quot;$solrRoot\bin\solr.in.cmd.old&quot;))&#xA;    {&#xA;        Write-Host &quot;Rewriting solr config&quot;&#xA;&#xA;        $cfg = Get-Content &quot;$solrRoot\bin\solr.in.cmd&quot;&#xA;        Rename-Item &quot;$solrRoot\bin\solr.in.cmd&quot; &quot;$solrRoot\bin\solr.in.cmd.old&quot;&#xA;        $newCfg = $cfg | % { $_ -replace &quot;REM set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks&quot;, &quot;set SOLR_SSL_KEY_STORE=$certStore&quot; }&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_SSL_KEY_STORE_PASSWORD=secret&quot;, &quot;set SOLR_SSL_KEY_STORE_PASSWORD=secret&quot; }&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks&quot;, &quot;set SOLR_SSL_TRUST_STORE=$certStore&quot; }&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_SSL_TRUST_STORE_PASSWORD=secret&quot;, &quot;set SOLR_SSL_TRUST_STORE_PASSWORD=secret&quot; }&#xA;        $newCfg = $newCfg | % { $_ -replace &quot;REM set SOLR_HOST=192.168.1.1&quot;, &quot;set SOLR_HOST=$solrHost&quot; }&#xA;        $newCfg | Set-Content &quot;$solrRoot\bin\solr.in.cmd&quot;&#xA;    }&#xA;}&#xA;# install the service &amp;amp; runs&#xA;$svc = Get-Service &quot;$solrName&quot; -ErrorAction SilentlyContinue&#xA;if(!($svc))&#xA;{&#xA;    Write-Host &quot;Installing Solr service&quot;&#xA;    &amp;amp;&quot;$installFolder\nssm-$nssmVersion\win32\nssm.exe&quot; install &quot;$solrName&quot; &quot;$solrRoot\bin\solr.cmd&quot; &quot;-f&quot; &quot;-p $solrPort&quot;&#xA;    $svc = Get-Service &quot;$solrName&quot; -ErrorAction SilentlyContinue&#xA;}&#xA;if($svc.Status -ne &quot;Running&quot;)&#xA;{&#xA;    Write-Host &quot;Starting Solr service&quot;&#xA;    Start-Service &quot;$solrName&quot;&#xA;}&#xA;&#xA;# finally prove it's all working&#xA;$protocol = &quot;http&quot;&#xA;if($solrSSL -eq $true)&#xA;{&#xA;    $protocol = &quot;https&quot;&#xA;}&#xA;Invoke-Expression &quot;start $($protocol)://$($solrHost):$solrPort/solr/#/&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This script is from &lt;a href=&quot;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&quot; rel=&quot;nofollow noreferrer&quot;&gt;@jermdavis&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see my complete guide for &lt;a href=&quot;https://isaadansari.wordpress.com/2018/04/23/sitecore-9-installation-download-install-validate-done/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 9 installation here&lt;/a&gt; as well.&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-05-02T19:39:33.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11602" PostTypeId="1" AcceptedAnswerId="12816" CreationDate="2018-05-02T20:05:35.593" Score="1" ViewCount="3367" Body="&lt;p&gt;My model contains string property &lt;strong&gt;ImagePath&lt;/strong&gt; with media file path, for example: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;/sitecore/media library/Comp_Images/Division1/Client1/Client_Images/BobRoss.jpg&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I display it into cshtml in sitecore rendering ?&#xA;something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;img  src=&quot;@Model.ImagePath&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;model is coming from database  - ImagePath field type is string&lt;/li&gt;&#xA;&lt;li&gt;images are being uploaded&#xA;programmaticaly via API from another app.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2651" LastEditorUserId="2651" LastEditDate="2018-05-03T01:19:43.337" LastActivityDate="2018-07-12T08:14:40.593" Title="I have image path into media library, how I can show it into cshtml?" Tags="|media-library|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11603" PostTypeId="2" ParentId="11238" CreationDate="2018-05-02T23:28:31.900" Score="3" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;For clarity to the reader: the following answer and code snippets are for &lt;strong&gt;Sitecore 8.2.X only&lt;/strong&gt; and will not work for Sitecore 9.X.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We got in contact with Sitecore Support who confirmed that it isn't supported for separate threads using their API. We were able to get something working by using a workaround. This hasn't had full code tidy up done yet - just a PoC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are able to run this using Task.Run successfully and have data pushed to XDB. It also handles DB locking scenarios if that is of interest, otherwise, you can ignore it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sample.Foundation.Accounts.Respositories&#xA;{&#xA;  [Service(typeof(IUpdateAnalyticsRepository))]&#xA;  public class UpdateAnalyticsRepository: IUpdateAnalyticsRepository&#xA;  {&#xA;    private ContactManager _manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;    private ContactRepository _repository = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepository;&#xA;&#xA;    public ContactManager XdbContactManager&#xA;    {&#xA;        get { return _manager; }&#xA;    }&#xA;&#xA;    public ContactRepository XdbContactRepository&#xA;    {&#xA;        get { return _repository; }&#xA;    }&#xA;&#xA;    public Contact GetXdbContact(string identifier)&#xA;    {&#xA;        var contact = XdbContactRepository.LoadContactReadOnly(identifier);&#xA;&#xA;        if (contact != null) return contact;&#xA;&#xA;        var leaseOwner = new LeaseOwner(GetType() + Guid.NewGuid().ToString(), LeaseOwnerType.OutOfRequestWorker);&#xA;&#xA;        contact = XdbContactRepository.CreateContact(Guid.NewGuid());&#xA;&#xA;        if (contact == null) return null;&#xA;&#xA;        contact.Identifiers.Identifier = identifier;&#xA;&#xA;        //Setting these values allows processing and aggregation to process this contact without erroring.&#xA;        contact.System.Value = 0;&#xA;        contact.System.VisitCount = 0;&#xA;&#xA;        //MAKE OTHER Contact Changes here too if you need to on Create.&#xA;&#xA;        XdbContactRepository.SaveContact(contact, new ContactSaveOptions(true, leaseOwner));&#xA;&#xA;        return contact;&#xA;    }&#xA;&#xA;    public void UpdateXdbContact(string identifier, string firstName, string lastName, string email)&#xA;    {&#xA;&#xA;        try&#xA;        {&#xA;            var currentContact = GetXdbContact(identifier);&#xA;&#xA;            if (currentContact == null)&#xA;                return;&#xA;&#xA;            var lockResult = XdbContactManager.TryLoadContact(currentContact.ContactId);&#xA;&#xA;            Contact updatedContact = currentContact;&#xA;&#xA;            switch (lockResult.Status)&#xA;            {&#xA;                case LockAttemptStatus.Success:&#xA;                    var lockedContact = lockResult.Object;&#xA;                    lockedContact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;                    updatedContact = UpdateContactInfo(lockedContact, firstName, lastName, email, identifier);  //this method should do work on lockedContact and return lockedContact.  this then saves it as updatedContact.&#xA;                    break;&#xA;                case LockAttemptStatus.NotFound:&#xA;                    updatedContact = currentContact;&#xA;                    break;&#xA;                default:&#xA;                    var exception = new Exception(GetType() + &quot; Contact could not be locked - &quot; + currentContact.ContactId);&#xA;                    Sitecore.Diagnostics.Log.Error(string.Format(&quot;[{1}:SaveContactInfoToXdb] Can't Lock or Find xDB Contact {0}&quot;, currentContact.ContactId, GetType()), exception);&#xA;                    break;&#xA;            }&#xA;&#xA;            //Save Contact Information - This is the ContactManager method to use&#xA;            XdbContactManager.SaveAndReleaseContact(updatedContact);&#xA;&#xA;        }&#xA;        catch (Exception exception)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error($&quot;Error in updating contact identifier {identifier}&quot;, exception);&#xA;        }&#xA;&#xA;&#xA;    }&#xA;&#xA;    private Contact UpdateContactInfo(Contact lockedContact, string firstName, string lastName, string customerId, string email)&#xA;    {&#xA;        try&#xA;        {&#xA;            var personalInfo = lockedContact.GetFacet&amp;lt;IContactPersonalInfo&amp;gt;(&quot;Personal&quot;);&#xA;&#xA;            personalInfo.FirstName = firstName;&#xA;            personalInfo.Surname = lastName;&#xA;&#xA;&#xA;            var contactEmails = lockedContact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;);&#xA;&#xA;            if (contactEmails != null)&#xA;            {&#xA;                IEmailAddress contactEmail = null;&#xA;&#xA;                if (contactEmails.Entries.Contains(&quot;Personal Email&quot;))&#xA;                {&#xA;                    contactEmail = contactEmails.Entries[&quot;Personal Email&quot;];&#xA;                }&#xA;                else&#xA;                {&#xA;                    contactEmail = contactEmails.Entries.Create(&quot;Personal Email&quot;);&#xA;                    contactEmails.Preferred = &quot;Personal Email&quot;;&#xA;                }&#xA;                contactEmail.SmtpAddress = email;&#xA;            }&#xA;        }&#xA;        catch (Exception exception)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error($&quot;Error in updating contact identifier {lockedContact.Identifiers.Identifier}&quot;, exception);&#xA;            return null;&#xA;        }&#xA;        return lockedContact;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can then be called wrapped in a Try-Catch to ensure no impacts to other functionality should something go wrong (Personalisation is a &quot;Nice to have&quot; not a &quot;Must Have&quot; right?) and run using something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;try&#xA;{&#xA;   //fire update xDB event in the background but don't wait for it to complete and don't worry about if it succeeds or not (personalization is &quot;nice to have&quot; only).&#xA;  Task.Run(() =&amp;gt; _updateAnalyticsRepositoryClient.UpdateXdbContact(customerOrderModel.Customer.CustomerId, customerOrderModel.Customer.FirstName, customerOrderModel.Customer.LastName, customerOrderModel.Customer.Email));&#xA;   }&#xA;   catch (Exception ex)&#xA;   {&#xA;      _logManagerClient.Warn(string.Format(&quot;Error updating XDB data for customer {0}. Exception was: {1}&quot;, customerId, ex));&#xA;      throw;&#xA;   }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Excuse the PoC code but give that a go and see what you think :)&lt;/p&gt;&#xA;" OwnerUserId="2539" LastEditorUserId="246" LastEditDate="2018-05-03T13:31:23.873" LastActivityDate="2018-05-03T13:31:23.873" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11604" PostTypeId="1" AcceptedAnswerId="11630" CreationDate="2018-05-03T06:37:23.973" Score="0" ViewCount="330" Body="&lt;p&gt;Using Sitecore DEF 2.01 in Sitecore 9, I'm following the &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v2.0.1/cookbooks/custom-providers/implementing-a-provider/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;tutorial&lt;/a&gt; for the File based provider, with minor modifications to read that the file contains json, and so my value accessor contains a property name rather than an index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Run I run the tenant, Im getting the error&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR [Data Exchange] Pipeline context is missing at least one&#xA;  required plugin. (pipeline: Experience from File to Item Sync&#xA;  Pipeline, pipeline step: Resolve Experience Info Item, pipeline step&#xA;  identifier: XXX-XXX-XXX-XXX, missing plugins:&#xA;  Sitecore.DataExchange.Plugins.SynchronizationSettings)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any ideas why based on the tutorial code?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My endpoint provider looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   [SupportedIds(TextFileEndpointTemplateId)]&#xA;public class MulesoftEndpointConverter : BaseEndpointConverter&#xA;{&#xA;    public const string TextFileEndpointTemplateId = &quot;{XXX-XXX}&quot;;&#xA;    public const string TemplateFieldPath = &quot;Path&quot;;&#xA;    public MulesoftEndpointConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;    }&#xA;    protected override void AddPlugins(ItemModel source, Endpoint endpoint)&#xA;    {&#xA;        //create the plugin&#xA;        var settings = new MulesoftSettings&#xA;        {&#xA;            //&#xA;            //populate the plugin using values from the item&#xA;            Path = this.GetStringValue(source, TemplateFieldPath)&#xA;        };&#xA;        //&#xA;        //add the plugin to the endpoint&#xA;        endpoint.AddPlugin(settings);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the ReadConverter lile&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [SupportedIds(ReadTextFileStepTemplateId)]&#xA;public class ReadMulesoftConverter : BasePipelineStepConverter&#xA;{&#xA;    public const string ReadTextFileStepTemplateId = &quot;{XXX-XXX}&quot;;&#xA;    public const string TemplateFieldEndpointFrom = &quot;EndpointFrom&quot;;&#xA;    public ReadMulesoftConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;    }&#xA;    protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep)&#xA;    {&#xA;        //&#xA;        //create the plugin&#xA;        var settings = new EndpointSettings&#xA;        {&#xA;            //populate the plugin using values from the item&#xA;            EndpointFrom = this.ConvertReferenceToModel&amp;lt;Endpoint&amp;gt;(source, TemplateFieldEndpointFrom)&#xA;        };&#xA;        //&#xA;        //add the plugin to the pipeline step&#xA;        pipelineStep.AddPlugin(settings);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2018-05-03T07:32:39.663" LastActivityDate="2018-05-04T12:39:04.110" Title="missing plugins: Sitecore.DataExchange.Plugins.SynchronizationSettings" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11607" PostTypeId="1" CreationDate="2018-05-03T10:15:07.207" Score="3" ViewCount="2064" Body="&lt;p&gt;We're using Sitecore PowerShell Extensions to generate some reports.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a problem when calling &quot;Show-ListView&quot; from the &quot;Actions&quot; script that is in the parent &quot;Show-ListView&quot; result. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks that both PowerShellResultViewerList sharing the same &quot;Property&quot; definition. We have same columns in both results, even if we defined different ones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our scenario:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select content item in the content editor&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Execute custom power-shell script from the ribbon with command (columns: Name, ItemPath, Notification):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$reportItems | Show-ListView -ViewName &quot;MyView&quot; -ActionData $actionData @props -Property @{Label=&quot;Name&quot;; Expression={$_.Name} },@{Label=&quot;ItemPath&quot;; Expression={$_.ItemPath} },@{Label=&quot;Notification&quot;; Expression=$scr }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;So far, so good, correct result items and columns&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click on custom action that start script with command (columns: Name, Updated By, Modified):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items | Show-ListView -Modal -Property Name, @{Label=&quot;Updated by&quot;; Expression={$_.&quot;__Updated By&quot;} }, @{Label=&quot;Modified&quot;; Expression={ $_.__Updated.ToLocalTime() } }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Items in result are correct, but columns are taken from the first &quot;ListViewResult&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Any idea how to separate this 2 reports to use unique property definition?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XYHe6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XYHe6.png&quot; alt=&quot;Show-ListView&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is full demo script, called from the Content Editor ribbon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should present cloned items for the current item in the list view (dialog 1 in the screenshot below). Working as expected:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Get-Notifications {&#xA;    param($ItemId)      &#xA;    $currentItem = Get-Item master: -ID $ItemId &#xA;    $notifications = $currentItem.Database.NotificationProvider.GetNotifications($currentItem)&#xA;    $counter = 0&#xA;    foreach($notification in $notifications) { $counter++ }&#xA;    return $counter&#xA;}&#xA;function Display-ClonedReport {&#xA;    param($SourceItem, $Options)    &#xA;    $clonedItems = Get-ItemClone -Item $SourceItem&#xA;    $reportItems = New-Object System.Collections.ArrayList      &#xA;    $currentItemId = $null&#xA;    $currentItemLanguage = $null    &#xA;    ForEach ($item In $clonedItems) {   &#xA;        if($currentItemId -ne $item.Id) {   &#xA;            $currentItemId = $item.Id&#xA;            $currentItemLanguage = $item.Language.Name          &#xA;            $currentItem = Get-Item master: -ID $item.Id            &#xA;            if($currentItem -ne $null) {                            &#xA;                $reportItems.Add($currentItem)&#xA;            }&#xA;        }       &#xA;    }   &#xA;    $props = @{&#xA;        Title = &quot;Cloned Items&quot;&#xA;        InfoTitle = &quot;Cloned Items of the Item '$($rootItem.Paths.FullPath)'&quot;&#xA;        InfoDescription = &quot;List of cloned Items. Click on item and execute action&quot;&#xA;        Icon = &quot;Software/32x32/branch.png&quot;&#xA;        PageSize = 25&#xA;    }   &#xA;    $scr = [scriptblock]::Create('Get-Notifications -ItemId $_.Id')&#xA;    $reportItems|   &#xA;        Show-ListView -ViewName &quot;MyView&quot; @props -Property `&#xA;            @{Label=&quot;Name&quot;; Expression={$_.Name} },&#xA;            @{Label=&quot;ItemPath&quot;; Expression={$_.ItemPath} },         &#xA;            @{Label=&quot;Notification&quot;; Expression=$scr }           &#xA;}&#xA;$rootItem = Get-Item -Path .&#xA;Display-ClonedReport -SourceItem $rootItem &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is demo script, &lt;strong&gt;called from the actions ribbon of the first list view result.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For demo purpose, here we try to present only list of languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should display second list view with columns &quot;Updated&quot; and &quot;Modified&quot; (as it is when we call this script in PowerShell ISE), but now, columns are not as it is defined in the script (dialog 2 in the screenshot below). Looks that list view reading columns from the session defined in the first call. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Notifications-Report {&#xA;    param($Item)    &#xA;    $items = Get-ChildItem -Path &quot;master:\sitecore\system\Languages&quot;&#xA;    $items | Show-ListView -ViewName &quot;MySecondView&quot; -Modal -Property @{Label=&quot;Updated&quot;; Expression={$_.&quot;__Updated By&quot;} }, @{Label=&quot;Modified&quot;; Expression={ $_.__Updated.ToLocalTime() } }&#xA;}&#xA;Notifications-Report   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/joD6c.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/joD6c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is screenshot when we call this script in the PowerShell ISE:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7gwQz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7gwQz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3630" LastEditorUserId="73" LastEditDate="2018-05-04T10:47:37.197" LastActivityDate="2018-05-04T10:47:37.197" Title="Show-ListView called from action script display columns from parent Show-ListView" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11608" PostTypeId="1" AcceptedAnswerId="11613" CreationDate="2018-05-03T11:15:55.900" Score="2" ViewCount="187" Body="&lt;p&gt;What is the difference between Sitecore Azure and Sitecore deployed on Azure PaaS. i.e. if I have Sitecore license and I procure an Azure PaaS server and install Sitecore on it, is it something different from Sitecore Azure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also if someone can point me to Sitecore Web App implementation document that will be really helpful.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="312" LastEditDate="2018-07-02T11:25:23.303" LastActivityDate="2018-07-02T11:25:23.303" Title="Sitecore Azure vs Sitecore WebApp vs Sitecore on Azure PaaS" Tags="|azure|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11609" PostTypeId="1" CreationDate="2018-05-03T12:18:37.473" Score="0" ViewCount="362" Body="&lt;p&gt;Does anyone know is it possible to subscribe to an event about disable user throw sitecore user management .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;it is  a lot of events in sitecore about it, but user:updated event not raised if a user was disabled.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Event.Subscribe(&quot;user:deleted&quot;, this.OnUserDeleted);&#xA;    Event.Subscribe(&quot;user:deleted:remote&quot;, this.OnUserDeleted);&#xA;    Event.Subscribe(&quot;user:updated&quot;, this.OnUserUpdated);&#xA;    Event.Subscribe(&quot;user:updated:remote&quot;, this.OnUserUpdatedRemote);&#xA;    Event.Subscribe(&quot;user:runtimerolesupdated&quot;, this.OnRuntimeRolesUpdated);&#xA;    Event.Subscribe(&quot;user:runtimerolesupdated:remote&quot;, this.OnRuntimeRolesUpdatedRemote); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1324" LastActivityDate="2018-05-03T12:18:37.473" Title="Sitecore disable user event" Tags="|user-management|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11611" PostTypeId="1" AcceptedAnswerId="11612" CreationDate="2018-05-03T12:19:30.377" Score="1" ViewCount="736" Body="&lt;p&gt;For passing data between renderings I have seen this &lt;a href=&quot;https://chrisperks.co/2017/03/06/a-workaround-for-missing-viewdata-in-sitecore-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt;. Here they use below method to set data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContextService.Get().GetCurrent().ViewData.Add(&quot;_SharedModel&quot;, viewModel);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9.0.1 I couldn't find this kind (&lt;strong&gt;GetCurrent().ViewData&lt;/strong&gt;) of method to set viewdata. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to pass data in Sitecore 9.0.1 or where can I find this method?&lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="1930" LastEditDate="2018-05-03T12:58:43.663" LastActivityDate="2018-05-03T13:24:51.150" Title="How to pass data between renderings in sitecore 9.0.1?" Tags="|presentation|renderfield|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11612" PostTypeId="2" ParentId="11611" CreationDate="2018-05-03T12:39:19.327" Score="4" Body="&lt;p&gt;&lt;strong&gt;a) Adding proper references&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find &quot;ContextService&quot; in Sitecore.Mvc namespace / assembly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just add below using to your razor view:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; using Sitecore.Mvc.Common; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in your project references add reference to &quot;Sitecore.Mvc&quot; assembly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have couple of options to achieve this. Two of them are below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Using nuget feed&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Mvc.NoReferences&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;from Sitecore Official nuget feed in version 9.0.171219 (that is correct one for Sitecore 9 Update 1). More information about nuget feeds can be found here -&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_public_nuget_packages_faq&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UREql.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UREql.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Copying Sitecore.Mvc.dll from bin folder to your shared lib folder in your project and reference it in csproj project file&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;b) Fixing GetCurrent method call&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should fix your code like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContextService.Get().GetCurrent&amp;lt;ViewContext&amp;gt;().ViewData.Add(&quot;_SharedModel&quot;, viewModel);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-03T13:24:51.150" LastActivityDate="2018-05-03T13:24:51.150" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11613" PostTypeId="2" ParentId="11608" CreationDate="2018-05-03T13:23:08.110" Score="4" Body="&lt;p&gt;First, for documentation, you will probably want to bookmark this section of the docs: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no current product named 'Sitecore Azure'. Sitecore did have something called this &lt;a href=&quot;https://doc.sitecore.net/cloud/80/azure/getting_started_with_sitecore_azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;in a previous version&lt;/a&gt;. It was a first version of a PaaS model for Sitecore. It has been replaced by the current Sitecore on Azure PaaS offering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also deploy IaaS into Azure, where you would deploy more traditionally and use Virtual Machines. The PaaS offering allows you to no longer take responsibility for the virtual machine/server/operating system and focus purely on the application level.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-05-03T13:23:08.110" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11615" PostTypeId="1" CreationDate="2018-05-03T16:15:37.857" Score="5" ViewCount="135" Body="&lt;p&gt;How can I add one more link in export action dropdown?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SZ5rg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SZ5rg.png&quot; alt=&quot;Export Excel in WFFM reports&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have patched 'export form data to excel' link with instead and it is working fine with custom processor but I want to add one more link/button for this custom export.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;exportToExcel&amp;gt;&#xA;        &amp;lt;processor patch:instead=&quot;processor[@type='Sitecore.WFFM.Services.Pipelines.ExportToExcel.ExportFormDataToExcel, Sitecore.WFFM.Services']&quot; type=&quot;Website.Shared.Pipeline.CustomExportToExcel, Website.Shared&quot; /&amp;gt;&#xA;      &amp;lt;/exportToExcel&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;    &#xA;  &amp;lt;/sitecore&amp;gt;  &#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3318" LastActivityDate="2018-05-03T16:51:28.800" Title="Add New Export Button in WFFM 3.4" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11616" PostTypeId="2" ParentId="11615" CreationDate="2018-05-03T16:51:28.800" Score="2" Body="&lt;ol&gt;&#xA;&lt;li&gt;Login to Sitecore backend&lt;/li&gt;&#xA;&lt;li&gt;Switch DB to core&lt;/li&gt;&#xA;&lt;li&gt;Insert new item under /sitecore/client/Applications/WFFM/Resources/Parameters/ActionControl Parameters/ActionColumn/&lt;/li&gt;&#xA;&lt;li&gt;Add new item with call of your JavaScript function. E.g.: &lt;code&gt;javascript:app.doSomething()&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open &lt;em&gt;\sitecore\shell\client\Applications\WFFM\Pages\FormReport\FormReport.js&lt;/em&gt; file and add function &lt;code&gt;doSomething&lt;/code&gt; to it. You can call any action from any  controller with any parameters from your Javascript function.&lt;/li&gt;&#xA;&lt;li&gt;Create new pipeline and processor for it&lt;/li&gt;&#xA;&lt;li&gt;Execute new pipeline inside your action in controller by &lt;code&gt;CorePipeline.Run(&quot;doSomething&quot;, formExportArgs);&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here is for example disassembled code of default endpoint(action in WFFM controller). You can use it as example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        [ValidateHttpAntiForgeryToken]&#xA;        public ActionResult Export(Guid id, int format)&#xA;        {&#xA;            Assert.ArgumentNotNull(id, &quot;id&quot;);&#xA;            Assert.ArgumentNotNull(format, &quot;format&quot;);&#xA;            bool flag = format == 0;&#xA;            Item itemFromMasterDatabase = this.itemRepository.GetItemFromMasterDatabase(new ID(id));&#xA;            Assert.IsTrue(itemFromMasterDatabase != null, &quot;Can't find the form.&quot;);&#xA;            Job job = Context.Job;&#xA;            if (job != null)&#xA;            {&#xA;                job.Status.LogInfo(DependenciesManager.ResourceManager.Localize(&quot;READING_DATA_FROM_DATABASE&quot;));&#xA;            }&#xA;            IEnumerable&amp;lt;FormData&amp;gt; formData = this.FormsDataProvider.GetFormData(id);&#xA;            FormExportArgs formExportArgs = new FormExportArgs(this.itemRepository.CreateFormItem(itemFromMasterDatabase), new FormPacket(formData), this.webUtil.GetTempFileName(), flag ? &quot;text/xml&quot; : &quot;application/vnd.ms-excel&quot;);&#xA;            formExportArgs.Parameters.Add(&quot;contextUser&quot;, Context.User.Name);&#xA;            CorePipeline.Run(flag ? &quot;exportToXml&quot; : &quot;exportToExcel&quot;, formExportArgs);&#xA;            return base.Json(new&#xA;            {&#xA;                File = formExportArgs.FileName&#xA;            }, JsonRequestBehavior.AllowGet);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-05-03T16:51:28.800" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11617" PostTypeId="2" ParentId="11578" CreationDate="2018-05-03T20:17:26.757" Score="3" Body="&lt;p&gt;Please check if you have &lt;code&gt;ComponentArt.UIFramework.lic&lt;/code&gt; file in the bin folder. It is bundled with the Sitecore Installation itself. But as Peter said if you upgraded your project than take it from vanilla Sitecore installation specific to your version. Also check the permissions on the license file, if it is already there.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-05-03T21:20:52.167" LastActivityDate="2018-05-03T21:20:52.167" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11618" PostTypeId="2" ParentId="11169" CreationDate="2018-05-04T06:23:31.500" Score="2" Body="&lt;p&gt;Please look at this: Sitecore XP Environment with App Service Environment&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/blob/317ce231aee3fe5a654889fcae168eab84c6118e/Sitecore%209.0.0/XPASE/README.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/blob/317ce231aee3fe5a654889fcae168eab84c6118e/Sitecore%209.0.0/XPASE/README.md&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for some reason it is not promoted and difficult to find at GitHub.&lt;/p&gt;&#xA;" OwnerUserId="2298" LastActivityDate="2018-05-04T06:23:31.500" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11619" PostTypeId="1" AcceptedAnswerId="11620" CreationDate="2018-05-04T06:28:24.003" Score="1" ViewCount="631" Body="&lt;p&gt;I found several posts on how to debug Customer Sample Solution or the new plugin we created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could someone suggest me the step-by-step guide to debug the default (original) plugin in Sitecore Commerce, such as those from &lt;code&gt;Sitecore.Commerce.Plugin.Pricing&lt;/code&gt;?&#xA;For example: &lt;code&gt;Plugin.Pricing.ResolvePriceCardsByBookBlock&lt;/code&gt; in &lt;code&gt;IResolveActivePriceSnapshotByTagsPipeline&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure if this can be achieved by using .NET Reflector.&#xA;I have tested using &quot;enable debugging&quot; feature from VS Extension of .Net Reflector on &lt;code&gt;Sitecore.Commerce.Plugin.Pricing&lt;/code&gt; assembly keeps causing the VS to restart when it reaches 61% of the process of enabling the debugging for that assembly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The version of Sitecore Experience Commerce is 9 Initial Release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The version of .NET reflector in VS 2017 Professional is .Net Reflector Pro 10.&lt;/p&gt;&#xA;" OwnerUserId="2076" LastActivityDate="2021-02-08T12:35:23.737" Title="How to Debug Default Sitecore Commerce Engine Plugin?" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11620" PostTypeId="2" ParentId="11619" CreationDate="2018-05-04T07:00:05.010" Score="2" Body="&lt;p&gt;I don't have experience debugging them with reflector. However, I have been able to successfully debug them with dotpeek as a symbol server: &lt;a href=&quot;https://www.jetbrains.com/help/decompiler/Using_product_as_a_Symbol_Server.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.jetbrains.com/help/decompiler/Using_product_as_a_Symbol_Server.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, don't expect to much, the code is optimized by the compiler and debugging it this way is quite hard to setup. In my experience you get quicker results by reasoning about the executing by analyzing the code and log files. Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-05-04T07:00:05.010" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11621" PostTypeId="2" ParentId="11597" CreationDate="2018-05-04T07:12:08.900" Score="2" Body="&lt;p&gt;From your search log and index configuration I think there's one or two things causing the issue.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;x =&amp;gt; x.ItemId.Guid != currentArticle._Id&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your expression above is being parsed incorrectly (well, incorrectly for what you want). It should instead be like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;x =&amp;gt; x.ItemId != Sitecore.Data.ID.Parse(currentArticle._Id)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You might need to store the current article ID in a variable outside the expression for it to work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var currentArticleId = Sitecore.Data.ID.Parse(currentArticle._Id);&#xA;var filter = PredicateBuilder&#xA;                 .True&amp;lt;BlogSearchResult&amp;gt;()&#xA;                 .And(x =&amp;gt; x.ItemId != currentArticleId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If it is still not working you probably need to add the field for the item ID (&lt;code&gt;_group&lt;/code&gt;) to your index configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;_group&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.GUID&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;    &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Comments&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The line where you filter for &lt;code&gt;ExcludeFromSearch&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;results = new TList { Results = query.Where(x =&amp;gt; !x.ExcludeFromSearch).ToList().Distinct() };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It would probably be more correct (and a tiny bit more performant) to use &lt;code&gt;.Filter()&lt;/code&gt; instead of &lt;code&gt;.Where()&lt;/code&gt;. Filters does not score the results and can be cached by Lucene. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;.Distinct()&lt;/code&gt; seem to be pointless from what I can see - every object in the list will be a separate object reference even though they might represent the same blog item.&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-05-04T07:12:08.900" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="11622" PostTypeId="1" CreationDate="2018-05-04T08:01:03.097" Score="0" ViewCount="209" Body="&lt;p&gt;We have a Sitecore 9.0 instance with an SXA version 1.5 and recently we created a new instance of Sitecore 9.0.1 with SXA 1.7. We have all our contents serialized through Unicorn and when we synced the items to the new Sitecore instance the components were not rendered. However, the components are in the presentation details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a bug from SXA or are there some compatibility issues with 1.5 and 1.7?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: I saw in the 1.7 change logs that &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Dynamic Placeholder enabled components now have a default placeholder&#xA;  settings item to fall back on if a specific item was not created.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Upon checking, my components in 1.7 have this item property called Dynamic Placeholder ID (values automatically generated by SXA, most likely?), whereas it doesn't exist in 1.5. Components with this settings is not rendered while components that doesn't have that property (such as the Rich Text component) are rendered into the page. Hoping this could shed light on my issue.&lt;/p&gt;&#xA;" OwnerUserId="2882" LastEditorUserId="73" LastEditDate="2018-05-04T08:57:36.693" LastActivityDate="2018-07-10T08:46:04.153" Title="Upgrading to version 1.7 does not render component" Tags="|sxa|experience-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11623" PostTypeId="1" AcceptedAnswerId="11634" CreationDate="2018-05-04T08:47:07.867" Score="2" ViewCount="138" Body="&lt;p&gt;I have an issue with a custom value mapping set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Env-nt:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.NET 9.0.1 (rev. 171219)&lt;/li&gt;&#xA;&lt;li&gt;Data Exchange Framework 2.0.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Installed packages:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Data Exchange Framework SDK 2.0.1&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Provider for Data Exchange Framework 2.0.1(to store items&#xA;in Sitecore)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My goal is to read list of entities from web service and create/update items in Sitecore. Decided to use &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v2.0.1/cookbooks/data-mapping/data-mapping-using-code/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;data mapping in the code&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.screencast.com/t/QWn9RCMYjIHp&quot; rel=&quot;nofollow noreferrer&quot;&gt;Custom Value Mapping Set&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.screencast.com/t/vtFBWX9IKUCi&quot; rel=&quot;nofollow noreferrer&quot;&gt;Converter&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.screencast.com/t/HRhc1EGiu2w&quot; rel=&quot;nofollow noreferrer&quot;&gt;Mapping Set Class&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.screencast.com/t/oyq2suPRR&quot; rel=&quot;nofollow noreferrer&quot;&gt;Using in a Pipeline Step&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I just followed &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v2.0.1/cookbooks/custom-providers/implementing-a-provider/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;the manual&lt;/a&gt;, but didn't configure any mappings. In addition, added &lt;a href=&quot;https://www.screencast.com/t/qkQUUNEjS&quot; rel=&quot;nofollow noreferrer&quot;&gt;couple Value Accessors(Property and Sitecore ones)&lt;/a&gt; which are used to specify the unique field/property in &quot;Resolve Product Item Step&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I received &lt;a href=&quot;https://www.screencast.com/t/g4lOfWLfV&quot; rel=&quot;nofollow noreferrer&quot;&gt;following messages&lt;/a&gt; when I tried to run Pipeline Batch(manually). I receive the same error for each entity(I have 5 ones). I can reach constructor of the converter in the debug mode, but I can't reach the constructor of a mapping set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will appreciate any help. Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3633" LastEditorUserId="73" LastEditDate="2018-05-04T08:57:47.873" LastActivityDate="2018-05-04T13:51:47.983" Title="Data Mapping Using Code" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="11624" PostTypeId="1" AcceptedAnswerId="11638" CreationDate="2018-05-04T08:49:30.050" Score="3" ViewCount="738" Body="&lt;p&gt;How can I add a category programatically ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In postman are examples how to add category into a catalog or how to add a subcategory. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I am calling AddCategory I am receiving next exception: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;@odata.context&quot;: &quot;https://localhost:5000/Api/$metadata#Commands/$entity&quot;,&#xA;    &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.EntityViews.Commands.DoActionCommand&quot;,&#xA;    &quot;Id&quot;: &quot;cd8621751643493f9a0a860db2e98a85&quot;,&#xA;    &quot;ResponseCode&quot;: &quot;Error&quot;,&#xA;    &quot;Messages&quot;: [&#xA;        {&#xA;            &quot;MessageDate&quot;: &quot;2018-05-04T08:29:55.7725232Z&quot;,&#xA;            &quot;Code&quot;: &quot;ValidationError&quot;,&#xA;            &quot;Text&quot;: &quot;Action has failed due to Optimistic Concurrency failure.&quot;,&#xA;            &quot;CommerceTermKey&quot;: &quot;OptimisticConcurrencyFailure&quot;&#xA;        }&#xA;    ],&#xA;    &quot;Models&quot;: [],&#xA;    &quot;ActionUrl&quot;: null&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am doing a PUT call to {{ServiceHost}}/{{ShopsApi}}/DoUxAction() &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This are my headers:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Content-Type:application/json&#xA;ShopName:{{ShopName}}&#xA;ShopperId:{{ShopperId}}&#xA;Language:{{Language}}&#xA;Currency:{{Currency}}&#xA;Environment:{{Environment}}&#xA;GeoLocation:{{GeoLocation}}&#xA;CustomerId:{{CustomerId}}&#xA;Authorization:{{SitecoreIdToken}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is my body : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;@odata.context&quot;: &quot;http://localhost:5000/Api/$metadata#Sitecore.Commerce.EntityViews.EntityView&quot;,&#xA;    &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.EntityViews.EntityView&quot;,&#xA;    &quot;Name&quot;: &quot;Details&quot;,&#xA;    &quot;Policies&quot;: [],&#xA;    &quot;DisplayName&quot;: &quot;Details&quot;,&#xA;    &quot;EntityId&quot;: &quot;{{CatalogId}}&quot;,&#xA;    &quot;Action&quot;: &quot;AddCategory&quot;,&#xA;    &quot;ItemId&quot;: &quot;&quot;,&#xA;    &quot;Properties&quot;: [&#xA;        {&#xA;            &quot;Name&quot;: &quot;Version&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;DisplayName&quot;: &quot;Version&quot;,&#xA;            &quot;Value&quot;: &quot;2&quot;,&#xA;            &quot;IsHidden&quot;: true,&#xA;            &quot;OriginalType&quot;: &quot;System.Int32&quot;,&#xA;            &quot;IsReadOnly&quot;: true,&#xA;            &quot;UiType&quot;: &quot;&quot;,&#xA;            &quot;IsRequired&quot;: true&#xA;        },&#xA;        {&#xA;            &quot;Name&quot;: &quot;Name&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;DisplayName&quot;: &quot;Name&quot;,&#xA;            &quot;Value&quot;: &quot;PostmanCategory&quot;,&#xA;            &quot;IsHidden&quot;: false,&#xA;            &quot;OriginalType&quot;: &quot;System.String&quot;,&#xA;            &quot;IsReadOnly&quot;: false,&#xA;            &quot;UiType&quot;: &quot;&quot;,&#xA;            &quot;IsRequired&quot;: true&#xA;        },&#xA;        {&#xA;            &quot;Name&quot;: &quot;DisplayName&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;DisplayName&quot;: &quot;Display Name&quot;,&#xA;            &quot;Value&quot;: &quot;Postman Category&quot;,&#xA;            &quot;IsHidden&quot;: false,&#xA;            &quot;OriginalType&quot;: &quot;System.String&quot;,&#xA;            &quot;IsReadOnly&quot;: false,&#xA;            &quot;UiType&quot;: &quot;&quot;,&#xA;            &quot;IsRequired&quot;: true&#xA;        },&#xA;        {&#xA;            &quot;Name&quot;: &quot;Description&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;DisplayName&quot;: &quot;Description&quot;,&#xA;            &quot;Value&quot;: &quot;Sample category created through Postman&quot;,&#xA;            &quot;IsHidden&quot;: false,&#xA;            &quot;OriginalType&quot;: &quot;System.String&quot;,&#xA;            &quot;IsReadOnly&quot;: false,&#xA;            &quot;UiType&quot;: &quot;&quot;,&#xA;            &quot;IsRequired&quot;: false&#xA;        },&#xA;        {&#xA;            &quot;Name&quot;: &quot;IsSearchable&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;DisplayName&quot;: &quot;Is Searchable&quot;,&#xA;            &quot;Value&quot;: &quot;false&quot;,&#xA;            &quot;IsHidden&quot;: false,&#xA;            &quot;OriginalType&quot;: &quot;System.Boolean&quot;,&#xA;            &quot;IsReadOnly&quot;: false,&#xA;            &quot;UiType&quot;: &quot;&quot;,&#xA;            &quot;IsRequired&quot;: false&#xA;        }&#xA;    ],&#xA;    &quot;ChildViews&quot;: [],&#xA;    &quot;DisplayRank&quot;: 500,&#xA;    &quot;UiHint&quot;: &quot;Flat&quot;,&#xA;    &quot;Icon&quot;: &quot;dashboard&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PafjY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PafjY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2020-07-23T09:41:58.317" Title="Add category into a catalog programatically" Tags="|sitecore-commerce|commerce-engine|commerce-catalog|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11626" PostTypeId="1" AcceptedAnswerId="11629" CreationDate="2018-05-04T10:55:19.637" Score="4" ViewCount="413" Body="&lt;p&gt;I have a .update package which is moving children items from one parent into another. When I install it using &lt;code&gt;/sitecore/admin/UpdateInstallationWizard.aspx?page=1&lt;/code&gt;, the chilren items are not moved. They stay in their original path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The installation log gives me this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;log says WARN:Item path: '[s]/sitecore/content/Sites/Site/Configuration/TO BE DELETED[/s]'&lt;br/&gt;Item ID: '[s]{E5196F6B-C43C-47F3-8216-760784F3DAF0}[/s]'&lt;br/&gt;Add item operation will be skipped.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is the configuration of the parent item that was suppose to get the children items moved into.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JUusi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JUusi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the package unzipped&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Wj6Na.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Wj6Na.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2018-05-04T13:02:43.777" Title="Why the .update package is not moving Sitecore items between parent items?" Tags="|update-packages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11627" PostTypeId="2" ParentId="11356" CreationDate="2018-05-04T11:46:46.230" Score="2" Body="&lt;p&gt;The only way to do this is to create your own custom ConfirmSubscription.aspx or Unsubscribe.aspx/UnsubscribeFromAll.aspx page, and replace the default ones in the /sitecore modules/Web/EXM/ folder on the CD role.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-05-04T11:46:46.230" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11628" PostTypeId="2" ParentId="11295" CreationDate="2018-05-04T12:08:33.520" Score="4" Body="&lt;p&gt;Instead of customizing the existing template, you're better off creating your own template and create a message based on that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Documentation is being written to explain how this is done, but here are the steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;(Optional) Create a custom message template. See &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_messages/types_and_templates/walkthrough_building_a_custom_message_template&quot; rel=&quot;nofollow noreferrer&quot;&gt;Building a custom message template&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create your custom confirmation message and overwrite the default settings:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In EXM, there are a range of service message that you can use to, for example, send a subscription confirmation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the default service messages or you can customize or replace them. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the service messages are stored in the manager root:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dv06U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dv06U.png&quot; alt=&quot;manager root service messages&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;App_Config\Sitecore\EmailExperience\Sitecore.EmailExperience.ContentManagement.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;configuration file, you can:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Replace a service message with your own. The path to the message must be relative to the manager root.&lt;/li&gt;&#xA;&lt;li&gt;Remove a service message, if you do not want to send a specific service message. If you, for example, never use the unsubscribe notification, you can remove the value of that setting in the configuration file.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Note: Some of the service messages use custom tokens that you may wish to add to your own custom service messages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Subscription confirmation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Custom token:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;$link$ - will be replaced by the confirmation link&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Setting name: StandardMessages.SubscriptionConfirmation&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default value: &quot;Service Messages/Self-Service Subscription/Subscription Confirmation&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Subscription notification&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once a contact has subscribed (and confirmed their subscription if that option is selected) using the EXM API, a subscription notification is sent&#xA;Setting name&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No custom tokens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting name: StandardMessages.SubscriptionNotification&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default value: &quot;Service Messages/Self-Service Subscription/Subscription Notification&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unsubscribe notification&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once a contact has unsubscribed from a list, an unsubscribe notification is sent to the contact. This is only done for contact lists included for the email campaign i.e. a notification is not sent when adding the contact to the global opt-out list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Custom token:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;$ListName$ - Will be replaced by the name of the list the contact was subscribed to&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Setting name: StandardMessages.UnsubscribeNotification&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default value: &quot;Service Messages/Self-Service Subscription/Unsubscribe Notification&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Dispatch completed&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During the email campaign creating process, on the Delivery tab, you have the option to notify a set of email addresses when dispatch has completed. Once dispatch has completed, this service message will be sent to the specified email addresses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Custom tokens:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;$message$ - Will be replaced by the name of the email campaign&lt;/li&gt;&#xA;&lt;li&gt;$status$ - The status of the email campaign e.g. completed&lt;/li&gt;&#xA;&lt;li&gt;$sent$ - The number of recipients&lt;/li&gt;&#xA;&lt;li&gt;$failed$ - The number of failed recipients&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Setting name: StandardMessages.DispatchCompleted&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default value: &quot;Service Messages/Status Messages/Dispatch Completed&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Triggered notification&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once an automated email campaign is activated or deactivated, a notification will be sent to any email addresses specified in the notification field on the Delivery tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Custom tokens:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;$message$ - Will be replaced by the name of the email campaign&lt;/li&gt;&#xA;&lt;li&gt;$status$ - The status of the email campaign e.g. completed&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Setting name: StandardMessages.TriggeredNotification&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default value: &quot;Service Messages/Status Messages/Automated Notification&quot;&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-05-04T12:08:33.520" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11629" PostTypeId="2" ParentId="11626" CreationDate="2018-05-04T12:10:20.393" Score="4" Body="&lt;p&gt;Found the issue. When moving Sitecore items using .update packages you need to first delete them and then add them to the target path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem with my .update package is that it only contains items addition. That’s why the installation process is never moving those items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a screenshot of how my.update package looks like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GHf18.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GHf18.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a screenshot of how a .update package which move items should look like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t0U23.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t0U23.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take for instance the following example of an item being moved:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PACKAGE_PATH\deleteditems\core\sitecore\client\business component library\version 1\layouts\renderings\containers\loadondemandpanel\loadondemandpanel parameters&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PACKAGE_PATH\addeditems\core\sitecore\client\business component library\version 1\layouts\renderings\containers\loadondemandpanel\loadondemandpanel parameters&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I am using TDS to generate the .update packages, I refered to the following article on how to setup deletion &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/tds-how-to-delete-items-target-sitecore-instance-tds-update-package&quot; rel=&quot;nofollow noreferrer&quot;&gt;TDS How-To: Delete items from the target Sitecore instance using TDS update package&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can’t emphasize enough on how careful you should be when using this configuration as you might end up with production data being deleted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, TDS won't add any deleteditems folder to the .update package, but - when deployed - will start removing every item that is not present in the project, with the exception of items that don’t have the Sync All children setting for their parent.&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-05-04T13:02:43.777" LastActivityDate="2018-05-04T13:02:43.777" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11630" PostTypeId="2" ParentId="11604" CreationDate="2018-05-04T12:39:04.110" Score="1" Body="&lt;p&gt;&lt;strong&gt;Resolve Experience Info Item&lt;/strong&gt; pipeline step requires &lt;strong&gt;&lt;em&gt;SynchronizationSettings context&lt;/em&gt;&lt;/strong&gt; plugin. But no one from previous pipeline steps add this plugin to the context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may happen if assigned pipeline step processor on &lt;strong&gt;Resolve Experience Info Item&lt;/strong&gt; uses attribute or one of the base classes use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[RequiredPipelineContextPlugins(typeof(SynchronizationSettings))]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-05-04T12:39:04.110" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11631" PostTypeId="1" AcceptedAnswerId="11635" CreationDate="2018-05-04T13:02:41.387" Score="3" ViewCount="435" Body="&lt;p&gt;I'm a newbie on Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm studying the &quot;Get Started&quot; tutorial from Sitecore e-learning website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have configured Sitecore 9 on Azure, from Azure marketplace, using extra-small sizing having 2 app service instance, 1 for the content delivery server and 1 for the content management server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Creating a new layout item, Sitecore generates a file &lt;code&gt;.cshtml&lt;/code&gt; on filesystem. The file is create on content management server but not on the content delivery server and the result is that when I try opening a web page I get a error page saying &lt;code&gt;The layout for the requested document was not found&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is, what can I do to sync the two app or, there is another way (best practice) to create a layout and deploying over the cloud?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3635" LastEditorUserId="172" LastEditDate="2018-05-05T14:24:58.647" LastActivityDate="2018-05-07T14:17:25.443" Title="How to create new layout on Sitecore CM server and sync it to Sitecore CD server in Azure Cloud" Tags="|azure|presentation|deployment|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11632" PostTypeId="2" ParentId="11631" CreationDate="2018-05-04T13:14:37.207" Score="0" Body="&lt;p&gt;The easiest way I will suggest is to connect with FTP and copy file across the delivery server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Best Practice&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally it supposed to be in your source control, as it is code base file and then you can use Visual studio to publish those files in your every app service instance.&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2018-05-04T13:14:37.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11633" PostTypeId="2" ParentId="11631" CreationDate="2018-05-04T13:50:53.537" Score="1" Body="&lt;p&gt;In ideal case you are creating Sitecore items and cshtml / js / css or any other files on your local machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are then distributing those artifacts during deployment to CM or CD servers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore items deployment:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You don't need to distribute package with Sitecore items to CD servers as they will be transferred there during &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/publishing/publishing&quot; rel=&quot;nofollow noreferrer&quot;&gt;publishing process&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use automated or manual deployment here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Manual deployment consists of creating Sitecore package of your local Sitecore items and deploying them to CM server. &lt;a href=&quot;https://www.youtube.com/watch?v=7ij7cDSe6LA&quot; rel=&quot;nofollow noreferrer&quot;&gt;Take a look here&lt;/a&gt; how to do it or also &lt;a href=&quot;https://blog.building-blocks.com/packaging-sitecore-items-to-move-them-between-environments/&quot; rel=&quot;nofollow noreferrer&quot;&gt;in this great article&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use Package designer (Can be found in Sitecore Desktop under Development Tools) tool to create package on your local development environment:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ize25.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ize25.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use Installation Wizard (Can be found in Sitecore Desktop under Development Tools) to install package on your CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For automated deployment you should use &lt;a href=&quot;https://sitecore.stackexchange.com/questions/292/packaging-up-items-from-unicorn-into-a-sitecore-package&quot;&gt;Unicorn&lt;/a&gt; or &lt;a href=&quot;http://hedgehogdevelopment.github.io/tds/&quot; rel=&quot;nofollow noreferrer&quot;&gt;TDS&lt;/a&gt; to serialize items that you create locally like layout from your question and then deserialize them during deployment using Sitecore Ship, Octopus Deploy or other choices.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you are newbie I would suggest starting with manual deployment for now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other artifacts like cshtml, js, css, ... files deployment:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can embed these files with similar approach to manual deployment of Sitecore items but instead of &quot;Items statically&quot; button, you will click on &quot;Files statically&quot; button in Package Designer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/73Zb0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/73Zb0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another approach would be using built in WebDeploy functionality in Visual Studio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best would be to have pipeline in VSTS, Jenkins or other build tools which will generate your package during build on server and then you can deploy it or pipeline will do it for you.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-05-04T13:50:53.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11634" PostTypeId="2" ParentId="11623" CreationDate="2018-05-04T13:51:47.983" Score="1" Body="&lt;p&gt;Vlad Shpak helped me to solve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following was changed in the example(from the &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v2.0.1/cookbooks/data-mapping/data-mapping-using-code/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.screencast.com/t/EMF8L5JKe&quot; rel=&quot;nofollow noreferrer&quot;&gt;Converter was changed&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Initialization of Mappings property in class which implements IMappingSet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ICollection&amp;lt;IMapping&amp;gt; Mappings =&amp;gt; new List&amp;lt;IMapping&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Decided to use SitecoreItemFieldWriter(Sitecore.DataExchange.Providers.Sc.DataAccess.Writers) instead of PropertyValueWriter.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private static IValueWriter valueWriter1 = new SitecoreItemFieldWriter(&quot;ID&quot;);&#xA;private static IValueWriter valueWriter2 = new SitecoreItemFieldWriter(&quot;Title&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3633" LastActivityDate="2018-05-04T13:51:47.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11635" PostTypeId="2" ParentId="11631" CreationDate="2018-05-04T14:33:08.020" Score="5" Body="&lt;p&gt;Welcome to Sitecore!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two important concepts:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Publishing&lt;/li&gt;&#xA;&lt;li&gt;Deployment&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Publishing always refer to Sitecore Items. This will PUBLISH items from your master DB to your web DB (standard config).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Deployment is the deployment of your file system. On Visual Studio when you publish a project you are actually performing what is called &quot;deployment&quot; on Sitecore world.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now that you understand these two concepts you will realize the situation: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;your CM uses your MASTER DB&lt;/li&gt;&#xA;&lt;li&gt;your CD uses your WEB DB&lt;/li&gt;&#xA;&lt;li&gt;Both CM and CD need to have the same file system(apart from SOME config files that will have specific configuration for each environment, ok?)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Performing a publish then you can transfer Sitecore items from master DB to web DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, you need to keep your file system in sync between your CM and CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this you need to perform a &quot;deployment&quot; and since you have not done this yet this is the reason you don`t see .cshtml files on your CD. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are different strategies to keep these environments in sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you are using Azure, then you could use &quot;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/app-service/app-service-continuous-deployment&quot; rel=&quot;nofollow noreferrer&quot;&gt;continuous deployment to the Microsoft Azure App service&lt;/a&gt;&quot;. You could set a continuous deployment on your Visual Studio. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer to this page: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/deploying/deploying_your_sitecore_customizations_with_microsoft_azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;Deploying your Sitecore customizations with Microsoft Azure &lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe this is a good starting point to clarify the solution being suggested.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good luck and if you have any trouble please raise your hands and we will be here to help!&lt;/p&gt;&#xA;" OwnerUserId="1203" LastEditorUserId="1203" LastEditDate="2018-05-07T14:17:25.443" LastActivityDate="2018-05-07T14:17:25.443" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11638" PostTypeId="2" ParentId="11624" CreationDate="2018-05-06T19:11:48.620" Score="3" Body="&lt;p&gt;I got this error because of &lt;strong&gt;Version&lt;/strong&gt; parameter which I add it into Body call. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;            &quot;Name&quot;: &quot;Version&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;DisplayName&quot;: &quot;Version&quot;,&#xA;            &quot;Value&quot;: &quot;2&quot;,&#xA;            &quot;IsHidden&quot;: true,&#xA;            &quot;OriginalType&quot;: &quot;System.Int32&quot;,&#xA;            &quot;IsReadOnly&quot;: true,&#xA;            &quot;UiType&quot;: &quot;&quot;,&#xA;            &quot;IsRequired&quot;: true&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to pass the right version into Body, is not documented why we need this parameter.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to get the right version ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to get all catalogs using a rest call. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1Tlrd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Tlrd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have the Version value in the json result for every catalog :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        {&#xA;            &quot;CompositeKey&quot;: null,&#xA;            &quot;DateCreated&quot;: &quot;2018-05-06T17:41:38.3000725Z&quot;,&#xA;            &quot;DateUpdated&quot;: &quot;2018-05-06T18:57:14.8980297Z&quot;,&#xA;            &quot;DisplayName&quot;: &quot;Postman Catalog11111&quot;,&#xA;            &quot;FriendlyId&quot;: &quot;PostmanCatalog11111&quot;,&#xA;            &quot;Id&quot;: &quot;Entity-Catalog-PostmanCatalog11111&quot;,&#xA;            &quot;Version&quot;: 6,&#xA;            &quot;IsPersisted&quot;: true,&#xA;            &quot;Name&quot;: &quot;PostmanCatalog11111&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;SitecoreId&quot;: &quot;f9505e96-72de-c413-50aa-b00b13277142&quot;,&#xA;            &quot;ParentCatalogList&quot;: null,&#xA;            &quot;ParentCategoryList&quot;: null,&#xA;            &quot;ChildrenCategoryList&quot;: &quot;802660cb-22d6-f3d7-2e7e-cd4284ccd0c8|a0ad547b-7387-59bf-60f5-1e8574fbe08b|e6e1b61a-4ecc-28b7-97ba-0e541d856608|72ddf689-9d07-580a-1477-84db68117cd9|b18f0e40-5eb4-321f-f5fc-4f0e71193c55&quot;,&#xA;            &quot;ChildrenSellableItemList&quot;: null,&#xA;            &quot;ItemVariations&quot;: null,&#xA;            &quot;PriceBookName&quot;: &quot;&quot;,&#xA;            &quot;PromotionBookName&quot;: &quot;&quot;,&#xA;            &quot;DefaultInventorySetName&quot;: &quot;&quot;,&#xA;            &quot;Currency&quot;: null&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-05-06T19:11:48.620" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11639" PostTypeId="1" CreationDate="2018-05-07T02:49:30.143" Score="0" ViewCount="66" Body="&lt;p&gt;I have a requirement of hiding all the ribbons except workflow ribbon so that content approver concentrates on only workflow .how do i achieve this ?what is the right way of hiding this ? our sitecore version is 8.1.&lt;a href=&quot;https://i.stack.imgur.com/xya1z.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xya1z.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1865" LastActivityDate="2018-05-07T02:49:30.143" Title="How to hide all the ribbons except the workflow one in experience editor" Tags="|experience-editor|workflow|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11640" PostTypeId="1" CreationDate="2018-05-07T07:00:38.003" Score="1" ViewCount="86" Body="&lt;p&gt;We are looking into implementing XDB for a solution which was recently upgraded to Sitecore 9.0.1 from Sitecore 8.2.2, and has a custom SSO login functionality already implemented, for user authentication on the website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The requirement is to capture customized data coming from the Authenticating application, and store it for the identified contact in Sitecore, to give a consolidated information view for business users for the identified contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We were informed that Federated Authentication is somewhat a must for enabling XConnect and XDB for a solution. Which got us looking into it, and it seems it is a way Sitecore enables authentication for both Experience Manager and Website to be carried out using 3rd Party authentication providers using OWIN. This being said, contact identification and analytics tracking can be carried out without it, considering we already have a custom SSO authentication implemented.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question we seek the answer to is, whether or not this understanding is correct. If not, then what is the dependency between the two and if it is a best practice/mandate to implement Federated authentication in order to use Sitecore Experience Manager to it's full capacity.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1724" LastActivityDate="2018-05-07T07:00:38.003" Title="Dependency between Federated Authentication and XDB" Tags="|xdb|federated-authentication|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11641" PostTypeId="1" CreationDate="2018-05-07T10:31:11.170" Score="3" ViewCount="2472" Body="&lt;p&gt;Following this &lt;a href=&quot;http://learnsitecore.cmsuniverse.net/en/Developers/Articles/2011/07/Programmatically-set-layout-in-sitecore.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt;, I managed to achieve adding a rendering programmatically. But it will add the new rendering, always at the last position.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to add it at a particular index/position?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Say, I have multiple items that have the layout structure like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;header&#xA;rendering 1&#xA;rendering 2&#xA;footer&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I would like to add the new rendering just above the footer for every such item.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="312" LastEditDate="2018-11-06T18:42:41.427" LastActivityDate="2018-11-06T18:42:41.427" Title="How to add rendering at a position programmatically?" Tags="|presentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11642" PostTypeId="2" ParentId="11641" CreationDate="2018-05-07T10:50:47.727" Score="7" Body="&lt;p&gt;There is a method &lt;code&gt;deviceDefinition.Insert(index, renderingDefinition)&lt;/code&gt; that should do the trick. The DeviceDefinition holds the RenderingDefinitions in an ArrayList, and this Insert method will insert the rendering definition at the specified index in that ArrayList.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;AddRendering&lt;/code&gt; method -as mentioned in the article you referred to in the question- will always add your renderingdefinition at the end of the ArrayList, causing your new rendering to appear at the last position. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the code in the article you mentioned, this would result into:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Database masterDatabase = Database.GetDatabase(&quot;master&quot;);&#xA;Item sampleItem = masterDatabase.GetItem(&quot;...&quot;);&#xA;string renderingXml = sampleItem[&quot;__Renderings&quot;];&#xA;LayoutDefinition layoutDefinition = new LayoutDefinition();&#xA;layoutDefinition.LoadXml(renderingXml);&#xA;&#xA;string defaultDeviceId = &quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;;&#xA;DeviceDefinition deviceDefinition = layoutDefinition.GetDevice(defaultDeviceId);&#xA;string sampleLayoutId = &quot;{14030E9F-CE92-49C6-AD87-7D49B50E42EA}&quot;;&#xA;deviceDefinition.Layout = sampleLayoutId;&#xA;&#xA;string sampleRenderingId = &quot;{493B3A83-0FA7-4484-8FC9-4680991CF743}&quot;;&#xA;RenderingDefinition renderingDefinition = new RenderingDefinition();&#xA;renderingDefinition.ItemID = sampleRenderingId;&#xA;renderingDefinition.Placeholder = &quot;content&quot;;&#xA;&#xA;// begin adapted code&#xA;var index = ...&#xA;deviceDefinition.Insert(index, renderingDefinition);&#xA;// end adapted code&#xA;&#xA;string outputXml = layoutDefinition.ToXml();&#xA;sampleItem.Editing.BeginEdit();&#xA;sampleItem[&quot;__Renderings&quot;] = outputXml;&#xA;sampleItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Defining the index depends a bit on how your renderings and placeholders are set. If the new rendering is the first in a placeholder, you could just add it at the beginning. Worst case scenario is that you need to search in the ArrayList for the footer.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-05-07T15:02:31.183" LastActivityDate="2018-05-07T15:02:31.183" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11643" PostTypeId="1" AcceptedAnswerId="11644" CreationDate="2018-05-07T11:57:42.227" Score="1" ViewCount="457" Body="&lt;p&gt;I created an own theme for SXA incl. Gridding, the problem is, that SXA is still calling bootstrap.css, which overrides all the styles that I made in my own theme. Is there is a possibility to disable the Sitecore calls to bootstrap?&lt;/p&gt;&#xA;" OwnerUserId="3544" LastEditorUserId="851" LastEditDate="2018-05-07T12:07:44.443" LastActivityDate="2018-05-07T12:08:11.880" Title="How to remove the references to bootstrap in SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11644" PostTypeId="2" ParentId="11643" CreationDate="2018-05-07T12:08:11.880" Score="1" Body="&lt;p&gt;Bootstrap will be your grid system (it's the default). If you want to remove all references to bootstrap, I think you need to select another grid system (currenly you can select Bootstrap, Foundation or Grid960) or create your own.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Info on the grid systems: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/structure/the_grid_settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/structure/the_grid_settings&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to create your own: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6463/create-new-grid-in-sitecore-experience-accelerator&quot;&gt;Create new Grid in Sitecore Experience Accelerator&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-05-07T12:08:11.880" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11646" PostTypeId="2" ParentId="11566" CreationDate="2018-05-07T13:10:40.330" Score="0" Body="&lt;p&gt;So, the answer was that we have two solutions in our project and both of them have GlassMapper.Sc.Custom file. Previously it worked somehow, bit now, after upgrade, it seems like the second config file completely rewrites first. &#xA;Big thanks &lt;a href=&quot;https://sitecore.stackexchange.com/users/73/mark-cassidy&quot;&gt;Mark Cassidy&lt;/a&gt;&#xA;for great help!&lt;/p&gt;&#xA;" OwnerUserId="3616" LastActivityDate="2018-05-07T13:10:40.330" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11648" PostTypeId="1" CreationDate="2018-05-07T14:34:07.463" Score="1" ViewCount="537" Body="&lt;p&gt;A few days ago I posted this question:-  &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11586/403-forbidden-when-saving-form&quot;&gt;403 Forbidden when saving form&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was facing an issue where whenever I tried to save the form,I would get the 403 forbidden error in the console. After multiple trials with the solution provided back then, I deleted the cookies of &lt;code&gt;sitecore.local&lt;/code&gt; and suddenly saving the form worked.&#xA;Little did i know that it was only temporary, I ran through the same issue today when again I tried to save a form after editing it, and I got the 403 error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the scenario I got to that always recreates the problem:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Clear the cookies and sign in to Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Edit Form and save works just fine&lt;/li&gt;&#xA;&lt;li&gt;Open content editor, navigate to page which will display this form&#xA;(up until this point if i return to the forms editor i can edit and&#xA;save just fine)&lt;/li&gt;&#xA;&lt;li&gt;Open the page that will display the form in the Experience editor&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After this step, whenever I try to return to the forms editor and save an edit, it will throw the 403 error. I am forced to delete the &lt;code&gt;sitecore.local&lt;/code&gt; cookie, and re-login whenever I want to re-edit anything in the form and view it. &#xA;I have no idea how to get past this error permanently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: These are solutions i tried that worked for other people but didn't work for me, writing them cause they might help:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Tried to use Sitecore under HTTPS by setting up a local self signed&#xA;certificate in IIS as per this link:&#xA;&lt;a href=&quot;https://dontpaniclabs.com/blog/post/2017/01/11/creating-self-signed-ssl-certificate-developing-testing-iis/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dontpaniclabs.com/blog/post/2017/01/11/creating-self-signed-ssl-certificate-developing-testing-iis/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Give the website folder full control for IIS_USER from properties -&gt;&#xA;security -&gt; edit priveleges, then performed app pool recycle in IIS&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;NB: As a final resort, I had to install a new instance of Sitecore for the error to go away, i will leave this question open in case someone has other solutions to try and fix the issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit 2: Installing another instance didn't work for long, the error appeared yet AGAIN.. The only thing that seems to temporarily work is opening the forms tab in a browser, and navigating the rest of Sitecore in a different browser.. I've tried this where i keep the Forms page open in Edge and i navigate Sitecore from Firefox, works so far.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="1671" LastEditDate="2018-06-13T15:52:00.677" LastActivityDate="2018-11-10T19:00:50.140" Title="403 Forbidden error on saving form after opening experience editor" Tags="|experience-editor|sitecore-forms|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11650" PostTypeId="1" AcceptedAnswerId="11652" CreationDate="2018-05-07T16:27:56.113" Score="0" ViewCount="85" Body="&lt;p&gt;I have a certain site on a Sitecore instance with 3 sites. One of them must become multilanguage, where the content tree is done already. But the media items under the media library cannot be easily extended with another language, as they are stored as unversioned media items, by default. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore I think I need to change the default behavior of Sitecore. I've read about the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8835/sitecore-image-upload-versioning-in-media-library&quot;&gt;config patch&lt;/a&gt; to use the versioned media item template from system by default. This is not exactly meeting my requirement as other sites in my instance do not have the desire to have versioning on media items. Though one might question, why not enabling media item versioning by that config patch? Maybe this impacts performance? I won't go further than 2 languages at the moment, and maybe a few more in the future). So what's usual out there?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Alternatively I could manually create a media folder per language for this specific site and leave it all unversioned, but that's a no-go for me.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="3182" LastActivityDate="2018-05-07T20:27:05.033" Title="Sitecore 8.2 multilingual versioned media item per site" Tags="|media-library|" AnswerCount="1" CommentCount="0" ClosedDate="2018-05-08T08:03:37.187" ContentLicense="CC BY-SA 4.0" />
  <row Id="11652" PostTypeId="2" ParentId="11650" CreationDate="2018-05-07T20:27:05.033" Score="2" Body="&lt;p&gt;Enabling versioned media by default is mostly a storage-related thing. Imagine a careless editor who creates 50 versions of a 20MB PDF, for example - the database would expand at a rapid rate. That said, versioning won't auto-create new versions unless workflow is involved, so usually it's less of an issue. Since workflow does not apply to shared fields, it's not a concern for any existing media.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main breaking change if you made media versioned by default is that the other sites would need to maintain a version in each language if they later became multilingual (theoretically language fallback could eliminate this limitation).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ideal solution is for media uploaders to intelligently choose whether an asset would even require translation or not (the advanced upload options allow choosing versioned or no when creating media), but that may be unreliable depending on the skill level of the authors.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-05-07T20:27:05.033" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11654" PostTypeId="1" AcceptedAnswerId="11658" CreationDate="2018-05-07T20:33:58.397" Score="2" ViewCount="348" Body="&lt;p&gt;We have implemented multisite &amp;amp; multilingual Sitecore implementation and now we are going to implement new website which will support 4 languages. &#xA;Sitecore8.1 in use.&#xA;Code base( VS solution) &amp;amp; Sitecore instance is common for all these sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Existing sites&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!--Site-1: US--&amp;gt;&#xA;        &amp;lt;site name=&quot;site1-us&quot;&#xA;        hostName=&quot;www.site1.com&quot;&#xA;        virtualFolder=&quot;/&quot; &#xA;        physicalFolder=&quot;/&quot; &#xA;        language=&quot;en&quot; &#xA;        rootPath=&quot;/sitecore/content/Site1&quot; &#xA;        startItem=&quot;/&quot; &#xA;        database=&quot;${Sites.WebDatabase}&quot;&#xA;        domain=&quot;extranet&quot; &#xA;        allowDebug=&quot;true&quot; &#xA;        loginPage=&quot;/profile/login.aspx&quot; &#xA;        cacheHtml=&quot;${Sites.CacheHtml}&quot; &#xA;        htmlCacheSize=&quot;1000MB&quot; &#xA;        registryCacheSize=&quot;0&quot; &#xA;        viewStateCacheSize=&quot;0&quot; &#xA;        xslCacheSize=&quot;5MB&quot; &#xA;        filteredItemsCacheSize=&quot;2MB&quot; &#xA;        enablePreview=&quot;true&quot; &#xA;        enableWebEdit=&quot;true&quot; &#xA;        enableDebugger=&quot;true&quot; &#xA;        removeTrailingSlashes =&quot;true&quot;&#xA;        enableTracking=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot;&#xA;        enableItemLanguageFallback=&quot;true&quot;&#xA;        enableFieldLanguageFallback=&quot;true&quot;&#xA;        EnableGeoIPSiteResolver=&quot;true&quot; &#xA;        Favicon=&quot;&quot; &#xA;        Custom=&quot;true&quot;&#xA;        linkProvider=&quot;languageEmbedded&quot;&#xA;        itemwebapi.mode=&quot;Off&quot;&#xA;        itemwebapi.access=&quot;ReadOnly&quot;&#xA;        itemwebapi.allowanonymousaccess=&quot;false&quot;&#xA;        patch:after=&quot;site[@name='modules_website']&quot;&#xA;                    pagesToRedirect=&quot;/experience&quot;/&amp;gt;&#xA;&#xA;&#xA;      &amp;lt;!--Site-1: UK--&amp;gt;&#xA;        &amp;lt;site name=&quot;site1-uk&quot;&#xA;        hostName=&quot;www.site1.com&quot;&#xA;        virtualFolder=&quot;/&quot; &#xA;        physicalFolder=&quot;/&quot; &#xA;        language=&quot;en-GB&quot; &#xA;        rootPath=&quot;/sitecore/content/Site1&quot; &#xA;        startItem=&quot;/&quot; &#xA;        database=&quot;${Sites.WebDatabase}&quot;&#xA;        domain=&quot;extranet&quot; &#xA;        allowDebug=&quot;true&quot; &#xA;        loginPage=&quot;/profile/login.aspx&quot; &#xA;        cacheHtml=&quot;${Sites.CacheHtml}&quot; &#xA;        htmlCacheSize=&quot;1000MB&quot; &#xA;        registryCacheSize=&quot;0&quot; &#xA;        viewStateCacheSize=&quot;0&quot; &#xA;        xslCacheSize=&quot;5MB&quot; &#xA;        filteredItemsCacheSize=&quot;2MB&quot; &#xA;        enablePreview=&quot;true&quot; &#xA;        enableWebEdit=&quot;true&quot; &#xA;        enableDebugger=&quot;true&quot; &#xA;        removeTrailingSlashes =&quot;true&quot;&#xA;        enableTracking=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot;&#xA;        enableItemLanguageFallback=&quot;true&quot;&#xA;        enableFieldLanguageFallback=&quot;true&quot;&#xA;        EnableGeoIPSiteResolver=&quot;true&quot; &#xA;        Favicon=&quot;&quot; &#xA;        Custom=&quot;true&quot;&#xA;        linkProvider=&quot;languageEmbedded&quot;&#xA;        itemwebapi.mode=&quot;Off&quot;&#xA;        itemwebapi.access=&quot;ReadOnly&quot;&#xA;        itemwebapi.allowanonymousaccess=&quot;false&quot;&#xA;        patch:after=&quot;site[@name='site1-us']&quot;&#xA;                    pagesToRedirect=&quot;/experience&quot;/&amp;gt;&#xA;&#xA;      &amp;lt;!--Site-1: AU--&amp;gt;&#xA;        &amp;lt;site name=&quot;site1-au&quot;&#xA;        hostName=&quot;www.site1.com&quot;&#xA;        virtualFolder=&quot;/&quot; &#xA;        physicalFolder=&quot;/&quot; &#xA;        language=&quot;en-AU&quot; &#xA;        rootPath=&quot;/sitecore/content/Site1&quot; &#xA;        startItem=&quot;/&quot; &#xA;        database=&quot;${Sites.WebDatabase}&quot;&#xA;        domain=&quot;extranet&quot; &#xA;        allowDebug=&quot;true&quot; &#xA;        loginPage=&quot;/profile/login.aspx&quot; &#xA;        cacheHtml=&quot;${Sites.CacheHtml}&quot; &#xA;        htmlCacheSize=&quot;1000MB&quot; &#xA;        registryCacheSize=&quot;0&quot; &#xA;        viewStateCacheSize=&quot;0&quot; &#xA;        xslCacheSize=&quot;5MB&quot; &#xA;        filteredItemsCacheSize=&quot;2MB&quot; &#xA;        enablePreview=&quot;true&quot; &#xA;        enableWebEdit=&quot;true&quot; &#xA;        enableDebugger=&quot;true&quot; &#xA;        removeTrailingSlashes =&quot;true&quot;&#xA;        enableTracking=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot;&#xA;        enableItemLanguageFallback=&quot;true&quot;&#xA;        enableFieldLanguageFallback=&quot;true&quot;&#xA;        EnableGeoIPSiteResolver=&quot;true&quot; &#xA;        Favicon=&quot;&quot; &#xA;        Custom=&quot;true&quot;&#xA;        linkProvider=&quot;languageEmbedded&quot;&#xA;        itemwebapi.mode=&quot;Off&quot;&#xA;        itemwebapi.access=&quot;ReadOnly&quot;&#xA;        itemwebapi.allowanonymousaccess=&quot;false&quot;&#xA;        patch:after=&quot;site[@name='modules_website']&quot;&#xA;                    pagesToRedirect=&quot;/experience&quot;/&amp;gt;&#xA;&#xA;&#xA;      &amp;lt;!--Site-1: CA--&amp;gt;&#xA;        &amp;lt;site name=&quot;site1-ca&quot;&#xA;        hostName=&quot;www.site1.com&quot;&#xA;        virtualFolder=&quot;/&quot; &#xA;        physicalFolder=&quot;/&quot; &#xA;        language=&quot;en-CA&quot; &#xA;        rootPath=&quot;/sitecore/content/Site1&quot; &#xA;        startItem=&quot;/&quot; &#xA;        database=&quot;${Sites.WebDatabase}&quot;&#xA;        domain=&quot;extranet&quot; &#xA;        allowDebug=&quot;true&quot; &#xA;        loginPage=&quot;/profile/login.aspx&quot; &#xA;        cacheHtml=&quot;${Sites.CacheHtml}&quot; &#xA;        htmlCacheSize=&quot;1000MB&quot; &#xA;        registryCacheSize=&quot;0&quot; &#xA;        viewStateCacheSize=&quot;0&quot; &#xA;        xslCacheSize=&quot;5MB&quot; &#xA;        filteredItemsCacheSize=&quot;2MB&quot; &#xA;        enablePreview=&quot;true&quot; &#xA;        enableWebEdit=&quot;true&quot; &#xA;        enableDebugger=&quot;true&quot; &#xA;        removeTrailingSlashes =&quot;true&quot;&#xA;        enableTracking=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot;&#xA;        enableItemLanguageFallback=&quot;true&quot;&#xA;        enableFieldLanguageFallback=&quot;true&quot;&#xA;        EnableGeoIPSiteResolver=&quot;true&quot; &#xA;        Favicon=&quot;&quot; &#xA;        Custom=&quot;true&quot;&#xA;        linkProvider=&quot;languageEmbedded&quot;&#xA;        itemwebapi.mode=&quot;Off&quot;&#xA;        itemwebapi.access=&quot;ReadOnly&quot;&#xA;        itemwebapi.allowanonymousaccess=&quot;false&quot;&#xA;        patch:after=&quot;site[@name='site1-us']&quot;&#xA;                    pagesToRedirect=&quot;/experience&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;URL: &lt;a href=&quot;http://www.site1.com/en&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site1.com/en&lt;/a&gt; &lt;a href=&quot;http://www.site1.com/en-GB&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site1.com/en-GB&lt;/a&gt; &lt;a href=&quot;http://www.site1.com/en-AU&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site1.com/en-AU&lt;/a&gt; &lt;a href=&quot;http://www.site1.com/en-CA&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site1.com/en-CA&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;!--Site-2: en-IE--&amp;gt;&#xA;        &amp;lt;site name=&quot;site2&quot;&#xA;        hostName=&quot;www.site2.com&quot;&#xA;        virtualFolder=&quot;/&quot; &#xA;        physicalFolder=&quot;/&quot; &#xA;        language=&quot;en-IE&quot; &#xA;        rootPath=&quot;/sitecore/content/Site2&quot; &#xA;        startItem=&quot;/&quot; &#xA;        database=&quot;${Sites.WebDatabase}&quot;&#xA;        domain=&quot;extranet&quot; &#xA;        allowDebug=&quot;true&quot; &#xA;        loginPage=&quot;/profile/login.aspx&quot; &#xA;        cacheHtml=&quot;${Sites.CacheHtml}&quot; &#xA;        htmlCacheSize=&quot;1000MB&quot; &#xA;        registryCacheSize=&quot;0&quot; &#xA;        viewStateCacheSize=&quot;0&quot; &#xA;        xslCacheSize=&quot;5MB&quot; &#xA;        filteredItemsCacheSize=&quot;2MB&quot; &#xA;        enablePreview=&quot;true&quot; &#xA;        enableWebEdit=&quot;true&quot; &#xA;        enableDebugger=&quot;true&quot; &#xA;        removeTrailingSlashes =&quot;true&quot;&#xA;        enableTracking=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot;&#xA;        enableItemLanguageFallback=&quot;true&quot;&#xA;        enableFieldLanguageFallback=&quot;true&quot;&#xA;        EnableGeoIPSiteResolver=&quot;true&quot; &#xA;        Favicon=&quot;&quot; &#xA;        Custom=&quot;true&quot;&#xA;        itemwebapi.mode=&quot;Off&quot;&#xA;        itemwebapi.access=&quot;ReadOnly&quot;&#xA;        itemwebapi.allowanonymousaccess=&quot;false&quot;&#xA;        patch:before=&quot;site[@name='site1-us']&quot;&#xA;                    pagesToRedirect=&quot;/experience&quot;/&amp;gt;&#xA;&#xA;&#xA;      &amp;lt;!--Site-2: en-TT--&amp;gt;&#xA;        &amp;lt;site name=&quot;site2-tt&quot;&#xA;        hostName=&quot;www.site2.com&quot;&#xA;        virtualFolder=&quot;/&quot; &#xA;        physicalFolder=&quot;/&quot; &#xA;        language=&quot;en-TT&quot; &#xA;        rootPath=&quot;/sitecore/content/Site2&quot; &#xA;        startItem=&quot;/&quot; &#xA;        database=&quot;${Sites.WebDatabase}&quot;&#xA;        domain=&quot;extranet&quot; &#xA;        allowDebug=&quot;true&quot; &#xA;        loginPage=&quot;/profile/login.aspx&quot; &#xA;        cacheHtml=&quot;${Sites.CacheHtml}&quot; &#xA;        htmlCacheSize=&quot;1000MB&quot; &#xA;        registryCacheSize=&quot;0&quot; &#xA;        viewStateCacheSize=&quot;0&quot; &#xA;        xslCacheSize=&quot;5MB&quot; &#xA;        filteredItemsCacheSize=&quot;2MB&quot; &#xA;        enablePreview=&quot;true&quot; &#xA;        enableWebEdit=&quot;true&quot; &#xA;        enableDebugger=&quot;true&quot; &#xA;        removeTrailingSlashes =&quot;true&quot;&#xA;        enableTracking=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot;&#xA;        enableItemLanguageFallback=&quot;true&quot;&#xA;        enableFieldLanguageFallback=&quot;true&quot;&#xA;        EnableGeoIPSiteResolver=&quot;true&quot; &#xA;        Favicon=&quot;&quot; &#xA;        Custom=&quot;true&quot;&#xA;        itemwebapi.mode=&quot;Off&quot;&#xA;        itemwebapi.access=&quot;ReadOnly&quot;&#xA;        itemwebapi.allowanonymousaccess=&quot;false&quot;&#xA;        patch:after=&quot;site[@name='site1-us']&quot;&#xA;                    pagesToRedirect=&quot;/experience&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;URL: &lt;a href=&quot;http://www.site2.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site2.com&lt;/a&gt; (Language embedding is not there for this site)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;rootPath=&quot;/sitecore/content/Site3&quot; startItem=&quot;/&quot; --&gt; This support one language en-NZ.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;URL: &lt;a href=&quot;http://www.site3.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site3.com&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;New WebSite&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--Site4 - US--&amp;gt;&#xA;    &amp;lt;site name=&quot;site4-us&quot;&#xA;            hostname=&quot;www.site4.com&quot;&#xA;                virtualFolder=&quot;/&quot; &#xA;                physicalFolder=&quot;/&quot; &#xA;                language=&quot;en&quot; &#xA;                rootPath=&quot;/sitecore/content/Site4&quot; &#xA;                startItem=&quot;/&quot; &#xA;                database=&quot;${Sites.WebDatabase}&quot;&#xA;                domain=&quot;extranet&quot; &#xA;                allowDebug=&quot;true&quot; &#xA;                loginPage=&quot;/profile/login.aspx&quot; &#xA;                cacheHtml=&quot;${Sites.CacheHtml}&quot; &#xA;                htmlCacheSize=&quot;1000MB&quot; &#xA;                registryCacheSize=&quot;0&quot; &#xA;                viewStateCacheSize=&quot;0&quot; &#xA;                xslCacheSize=&quot;5MB&quot; &#xA;                filteredItemsCacheSize=&quot;2MB&quot; &#xA;                enablePreview=&quot;true&quot; &#xA;                enableWebEdit=&quot;true&quot; &#xA;                enableDebugger=&quot;true&quot; &#xA;                removeTrailingSlashes =&quot;true&quot;&#xA;                enableTracking=&quot;true&quot;&#xA;                disableClientData=&quot;false&quot;&#xA;                enableItemLanguageFallback=&quot;true&quot;&#xA;                enableFieldLanguageFallback=&quot;true&quot;&#xA;                Favicon=&quot;&quot; &#xA;                Custom=&quot;true&quot;&#xA;                itemwebapi.mode=&quot;Off&quot;&#xA;                itemwebapi.access=&quot;ReadOnly&quot;&#xA;                itemwebapi.allowanonymousaccess=&quot;false&quot;&#xA;                patch:after=&quot;site[@name='site1-us']&quot;&#xA;                pagesToRedirect=&quot;/experience&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;URL: &lt;a href=&quot;http://www.site4.com/en&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site4.com/en&lt;/a&gt; &lt;a href=&quot;http://www.site4.com/en-GB&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site4.com/en-GB&lt;/a&gt; &lt;a href=&quot;http://www.site4.com/en-AU&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site4.com/en-AU&lt;/a&gt; &lt;a href=&quot;http://www.site4.com/en-CA&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.site4.com/en-CA&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to have this configuration possible?&#xA;I added the above site4 in sites.config, but since the languages are similar to Site1.&#xA;Now depending on how I patch it,&#xA; --&gt; patch:after=&quot;site[@name='site1']&quot; , Site1 is rendered for both Site1 and Site4&#xA; --&gt; patch:before=&quot;site[@name='site1']&quot; , Site4 is rendered for both Site1 and Site4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any suggestions for the above issue? Is it possible to have multi-domain sites but with same languages?&lt;/p&gt;&#xA;" OwnerUserId="1656" LastEditorUserId="1656" LastEditDate="2018-05-07T21:33:51.013" LastActivityDate="2018-05-09T00:09:45.507" Title="Sitecore Multidomain Similar Language possible?" Tags="|multilingual|multisite|site-configuration|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11655" PostTypeId="1" CreationDate="2018-05-07T20:41:05.403" Score="2" ViewCount="122" Body="&lt;p&gt;I am trying to use multilist with search  to allow the editor to select any item except home and items named with *&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am basically using * as described &lt;a href=&quot;https://sitecorerocksblog.wordpress.com/2016/11/15/resolve-wildcard-item/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since this is not a real page I want to filter it out but as soon as I enter&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation={F9045E60-5D2A-477B-8D10-7C8C83684260}&amp;amp;Filter=_path:C096F4EBC9C6402B897481CEF12D7EFD|-_name:Home|-name:*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I only get the home page I have tried escapeing * with \ but that didn't work any insight into this woudl be great thanks.&lt;/p&gt;&#xA;" OwnerUserId="3612" LastActivityDate="2018-05-07T20:41:05.403" Title="Multilist with Search exclude items named with wildcard" Tags="|content-search|" AnswerCount="0" CommentCount="1" ClosedDate="2018-05-08T08:29:44.713" ContentLicense="CC BY-SA 4.0" />
  <row Id="11656" PostTypeId="1" CreationDate="2018-05-07T21:15:04.237" Score="1" ViewCount="314" Body="&lt;p&gt;The documentation is not rich of information IMHO and, about this topic, I haven't found anything, at least in the version 8.2.1 (version I'm using).&#xA;In commerce 9 docs there is only a little paragraph that explain it's possible to unit test but there isn't a single example, even a simple one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sincerely I haven't even tried by myself, nonetheless being programmed as interface makes everything simpler but...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone unit tested a custom sitecore commerce engine plugin? How?&lt;/p&gt;&#xA;" OwnerUserId="2638" LastActivityDate="2018-05-08T06:07:01.167" Title="How can I unit test a sitecore commerce engine plugin?" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11657" PostTypeId="2" ParentId="11654" CreationDate="2018-05-07T22:48:14.350" Score="0" Body="&lt;p&gt;Another way around is the language fallback feature that can cater this requirement. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;check this, it will work like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OIWYP.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OIWYP.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for complete documentation, follow this reference link &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/language_fallback&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-05-08T04:55:55.807" LastActivityDate="2018-05-08T04:55:55.807" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11658" PostTypeId="2" ParentId="11654" CreationDate="2018-05-08T02:34:47.340" Score="2" Body="&lt;p&gt;Your configs are very messy and repetitive, this makes them somewhat more difficult to work with. You can clean them up by &lt;a href=&quot;http://sitecoreskills.blogspot.ca/2014/08/inheriting-sitecore-site-properties.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;making use of the &lt;code&gt;inherits&lt;/code&gt; property&lt;/a&gt; and setting some &quot;defaults&quot; on a base site config. You can then &quot;override&quot; the setting on your specific site entry.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have also defined the same site multiple times, only changing the &lt;code&gt;language&lt;/code&gt; attribute on each repetition... you don't need to do this, you only need to define the site once and &lt;em&gt;set the default language&lt;/em&gt; for the site. Sitecore does not care about the &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/prevent-the-sitecore-asp-net-cms-from-interpreting-url-path-prefixes-as-language-names&quot; rel=&quot;nofollow noreferrer&quot;&gt;language per site&lt;/a&gt;, it will &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8211/how-is-the-site-context-language-determined-and-is-there-a-priority-to-which-is&quot;&gt;always try to resolve it&lt;/a&gt; and return content on that language, instead it cares about the request domain name and trying to match that to the &lt;code&gt;hostName&lt;/code&gt; attribute. Your code should handle generation of the links to switch language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A sample config for multi-site resolving is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site&#xA;        name=&quot;website&quot;&#xA;        Favicon=&quot;&quot; &#xA;        Custom=&quot;true&quot;&#xA;        pagesToRedirect=&quot;/experience&quot;&#xA;        EnableGeoIPSiteResolver=&quot;True&quot;&#xA;        loginPage=&quot;/profile/login.aspx&quot;&#xA;        enableItemLanguageFallback=&quot;true&quot;&#xA;        enableFieldLanguageFallback=&quot;true&quot;&#xA;        removeTrailingSlashes=&quot;true&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;site &#xA;        name=&quot;site1&quot;&#xA;        inherits=&quot;website&quot;&#xA;        hostName=&quot;www.site1.com&quot;&#xA;        language=&quot;en&quot; &#xA;        rootPath=&quot;/sitecore/content/Site1&quot; &#xA;        startItem=&quot;/&quot; &#xA;        linkProvider=&quot;languageEmbedded&quot;&#xA;        patch:after=&quot;site[@name='modules_website']&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;site name=&quot;site2&quot;&#xA;        hostName=&quot;www.site2.com&quot;&#xA;        inherits=&quot;website&quot;&#xA;        language=&quot;en-IE&quot; &#xA;        rootPath=&quot;/sitecore/content/Site2&quot; &#xA;        startItem=&quot;/&quot; &#xA;        patch:after=&quot;site[@name='site1']&quot;/&amp;gt;&#xA;&#xA;      &amp;lt;site name=&quot;site3&quot;&#xA;        hostName=&quot;www.site3.com&quot;&#xA;        inherits=&quot;website&quot;&#xA;        language=&quot;en-NZ&quot; &#xA;        rootPath=&quot;/sitecore/content/Site3&quot; &#xA;        startItem=&quot;/&quot; &#xA;        EnableGeoIPSiteResolver=&quot;False&quot;&#xA;        patch:after=&quot;site[@name='site1']&quot;/&amp;gt;&#xA;&#xA;      &amp;lt;site name=&quot;site4&quot;&#xA;        hostName=&quot;www.site4.com&quot;&#xA;        inherits=&quot;website&quot;&#xA;        language=&quot;en&quot; &#xA;        rootPath=&quot;/sitecore/content/Site4&quot; &#xA;        startItem=&quot;/&quot;&#xA;        linkProvider=&quot;languageEmbedded&quot;&#xA;        EnableGeoIPSiteResolver=&quot;False&quot;&#xA;        patch:after=&quot;site[@name='site1']&quot;/&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For ease of inheritance, I've define the base site as &lt;code&gt;website&lt;/code&gt; and added the custom attributes to this site (from your config), and the defined each site &lt;strong&gt;only once&lt;/strong&gt; setting the default language to serve content if none is specified (or the language cookie is not set). Each site can also override any attributes from the base site definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a separate config per site then split the above config up as required, the config for each site remains the same and unchanged.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-05-08T12:58:48.293" LastActivityDate="2018-05-08T12:58:48.293" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11659" PostTypeId="2" ParentId="11656" CreationDate="2018-05-08T06:07:01.167" Score="5" Body="&lt;p&gt;Most services are, as you say, provided as interfaces so it's mostly down to mocking them for your purposes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said that, some things are harder to mock than they first appear. Here's what I use to mock &lt;code&gt;CommercePipelineExecutionContext&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;static class FakeCommercePipelineExecutionContext&#xA;{&#xA;    public static CommercePipelineExecutionContext CreateContext()&#xA;    {&#xA;        return new CommercePipelineExecutionContext(CreateOptions(), CreateLogger());&#xA;    }&#xA;&#xA;    private static ILogger CreateLogger()&#xA;    {&#xA;        return new NullLogger();&#xA;    }&#xA;&#xA;    private static IPipelineExecutionContextOptions CreateOptions()&#xA;    {&#xA;        return new CommercePipelineExecutionContextOptions(CreateCommerceContext());&#xA;    }&#xA;&#xA;    private static CommerceContext CreateCommerceContext()&#xA;    {&#xA;        var context = new CommerceContext(new NullLogger(), null);&#xA;&#xA;        context.Environment = new CommerceEnvironment();&#xA;&#xA;        return context;&#xA;    }&#xA;}&#xA;&#xA;class NullLogger : ILogger&#xA;{&#xA;    public IDisposable BeginScope&amp;lt;TState&amp;gt;(TState state)&#xA;    {&#xA;        return new NullDisposable();&#xA;    }&#xA;&#xA;    public bool IsEnabled(LogLevel logLevel)&#xA;    {&#xA;        return true;&#xA;    }&#xA;&#xA;    public void Log&amp;lt;TState&amp;gt;(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func&amp;lt;TState, Exception, string&amp;gt; formatter)&#xA;    {&#xA;    }&#xA;}&#xA;&#xA;class NullDisposable : IDisposable&#xA;{&#xA;    public void Dispose()&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That's enough to make access to policies, models, and objects work as expected. I have tests using that infrastructure that assert that the pipeline was aborted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some pipelines like &lt;code&gt;IFindEntityPipeline&lt;/code&gt; and &lt;code&gt;IPersistEntityPipeline&lt;/code&gt; can also be tricky to mock, so it might be worth creating helpers for them.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-05-08T06:07:01.167" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11660" PostTypeId="1" CreationDate="2018-05-08T07:06:34.547" Score="1" ViewCount="226" Body="&lt;p&gt;I have installed Sitecore commerce 9 using a deploy script. The installation seem to have gone ok. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is when i enter the page sxa.storefront.com - Is it supposed to an empty page with the text [no catalog data available]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I am not able to rerun the deploy script. When I do I enter an error message stating: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[------------------------------------------- InstallModule : InstallModule -------------------------------------------]&#xA;Installing module:  Sitecore Experience Accelerator 1.6 rev. 180103 for 9.0.zip&#xA;http://sxa.storefront.com/SiteUtilityPages/InstallModules.aspx?modules=Sitecore Experience Accelerator 1.6 rev. 180103 f&#xA;or 9.0.zip&#xA;VERBOSE: GET http://sxa.storefront.com/SiteUtilityPages/InstallModules.aspx?modules=Sitecore Experience Accelerator 1.6&#xA; rev. 180103 for 9.0.zip with 0-byte payload&#xA;Install-SitecoreConfiguration :&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please&#xA;review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the&#xA;subscribers to the 'item:saved' event.&#xA;            Source Error:&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events);&#xA;Line 53:&#xA;Line 54:         new Installer().InstallPackage(package, context);&#xA;Line 55:&#xA;Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;            Stack Trace:&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39;&#xA;event.]&#xA;   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1849&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390&#xA;   Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294&#xA;   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0&#xA;   Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +129&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +202&#xA;   Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229&#xA;   Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127&#xA;   Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126&#xA;   Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28&#xA;   Sitecore.Install.Items.ItemInstaller.InstallItem(BehaviourOptions installOptions, Item targetItem, ItemReference&#xA;item, XmlVersionParser parser, Boolean&amp;amp;amp; removeVersions) +386&#xA;   Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference,&#xA;XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp;amp; removeVersions) +375&#xA;   Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) +1304&#xA;   Sitecore.Install.Items.ItemInstaller.Flush() +156&#xA;   Sitecore.Install.Framework.SinkDispatcher.Flush() +102&#xA;   Sitecore.Install.Utils.EntrySorter.Flush() +228&#xA;   Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565&#xA;   Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80&#xA;   Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source,&#xA;IProcessingContext context) +444&#xA;   Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72&#xA;   ASP.siteutilitypages_installmodules_aspx.Install(String package) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:54&#xA;   ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:36&#xA;   System.Web.UI.Control.OnLoad(EventArgs e) +103&#xA;   System.Web.UI.Control.LoadRecursive() +68&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;+1381&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2633.0&#xA;&#xA;&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.0\Public\Install-SitecoreConfiguration.ps1:258 char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:05:55&#xA;Transcript stopped, output file is C:\deploy\SIF.Sitecore.Commerce.1.1.4\SXAStorefront.Framework.180508.log&#xA;Install-SitecoreConfiguration :&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please&#xA;review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the&#xA;subscribers to the 'item:saved' event.&#xA;            Source Error:&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events);&#xA;Line 53:&#xA;Line 54:         new Installer().InstallPackage(package, context);&#xA;Line 55:&#xA;Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;            Stack Trace:&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39;&#xA;event.]&#xA;   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1849&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390&#xA;   Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294&#xA;   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0&#xA;   Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +129&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +202&#xA;   Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229&#xA;   Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127&#xA;   Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126&#xA;   Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28&#xA;   Sitecore.Install.Items.ItemInstaller.InstallItem(BehaviourOptions installOptions, Item targetItem, ItemReference&#xA;item, XmlVersionParser parser, Boolean&amp;amp;amp; removeVersions) +386&#xA;   Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference,&#xA;XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp;amp; removeVersions) +375&#xA;   Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) +1304&#xA;   Sitecore.Install.Items.ItemInstaller.Flush() +156&#xA;   Sitecore.Install.Framework.SinkDispatcher.Flush() +102&#xA;   Sitecore.Install.Utils.EntrySorter.Flush() +228&#xA;   Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565&#xA;   Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80&#xA;   Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source,&#xA;IProcessingContext context) +444&#xA;   Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72&#xA;   ASP.siteutilitypages_installmodules_aspx.Install(String package) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:54&#xA;   ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:36&#xA;   System.Web.UI.Control.OnLoad(EventArgs e) +103&#xA;   System.Web.UI.Control.LoadRecursive() +68&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;+1381&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2633.0&#xA;&#xA;&#xA;At C:\deploy\SIF.Sitecore.Commerce.1.1.4\Deploy-Sitecore-Commerce.ps1:81 char:2&#xA;+     Install-SitecoreConfiguration @params -Verbose&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:09:13&#xA;Transcript stopped, output file is C:\deploy\SIF.Sitecore.Commerce.1.1.4\Master_SingleServer.180508.log&#xA;Invoke-RestMethod :&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please&#xA;review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the&#xA;subscribers to the 'item:saved' event.&#xA;            Source Error:&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events);&#xA;Line 53:&#xA;Line 54:         new Installer().InstallPackage(package, context);&#xA;Line 55:&#xA;Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;            Stack Trace:&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39;&#xA;event.]&#xA;   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1849&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390&#xA;   Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294&#xA;   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0&#xA;   Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +129&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +202&#xA;   Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229&#xA;   Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127&#xA;   Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126&#xA;   Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28&#xA;   Sitecore.Install.Items.ItemInstaller.InstallItem(BehaviourOptions installOptions, Item targetItem, ItemReference&#xA;item, XmlVersionParser parser, Boolean&amp;amp;amp; removeVersions) +386&#xA;   Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference,&#xA;XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp;amp; removeVersions) +375&#xA;   Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) +1304&#xA;   Sitecore.Install.Items.ItemInstaller.Flush() +156&#xA;   Sitecore.Install.Framework.SinkDispatcher.Flush() +102&#xA;   Sitecore.Install.Utils.EntrySorter.Flush() +228&#xA;   Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565&#xA;   Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80&#xA;   Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source,&#xA;IProcessingContext context) +444&#xA;   Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72&#xA;   ASP.siteutilitypages_installmodules_aspx.Install(String package) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:54&#xA;   ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in&#xA;c:\inetpub\wwwroot\sc90.local\SiteUtilityPages\InstallModules.aspx:36&#xA;   System.Web.UI.Control.OnLoad(EventArgs e) +103&#xA;   System.Web.UI.Control.LoadRecursive() +68&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;+1381&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2633.0&#xA;&#xA;&#xA;At C:\deploy\SIF.Sitecore.Commerce.1.1.4\Modules\SitecoreUtilityTasks\SitecoreUtilityTasks.psm1:20 char:5&#xA;+     Invoke-RestMethod $urlInstallModules -TimeoutSec 720&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc&#xA;   eption&#xA;    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am not sure what this errror indicate?&lt;/p&gt;&#xA;" OwnerUserId="3617" LastActivityDate="2018-05-08T07:06:34.547" Title="sxa storefront empty?" Tags="|sxa|sitecore-commerce|deployment|" AnswerCount="0" CommentCount="1" ClosedDate="2018-05-08T08:07:35.917" ContentLicense="CC BY-SA 4.0" />
  <row Id="11661" PostTypeId="1" CreationDate="2018-05-08T08:59:17.353" Score="1" ViewCount="1772" Body="&lt;p&gt;Is there any upgrade tool or documentation available for migration of sitecore 7 to sitecore 9. The current upgrade documentation for sitecore 9 require v8 as prerequisite. Can the same be used for v7 as well?&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2018-05-08T09:02:11.400" Title="Sitecore upgrade v7.2 to 9" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11662" PostTypeId="2" ParentId="11661" CreationDate="2018-05-08T09:02:11.400" Score="6" Body="&lt;p&gt;You can use Sitecore Migration tool 3.1 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Express Migration Tool makes it easy for customers to help migrate Sitecore 6.6,7.2, 7.5 or 8.0 to the latest version of Sitecore Experience Platform 9.0 without the need to gradually upgrade from version to version. &#xA;Please note that DMS data to xDB will still require the use of the conversion tools found on the Sitecore Experience Platform download pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Express Migration Tool Migrates: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Content items and media &lt;/li&gt;&#xA;&lt;li&gt;All users, roles and security permissions &lt;/li&gt;&#xA;&lt;li&gt;Assists with configuration migrations Web Forms For Marketers items&#xA;and data&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can download from this link : &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/31/Express_Migration_Tool_31.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool/31/Express_Migration_Tool_31.aspx&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-05-08T09:02:11.400" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11664" PostTypeId="1" CreationDate="2018-05-08T12:28:15.147" Score="4" ViewCount="613" Body="&lt;p&gt;I'm developing a Sitecore ssr with jss on azure using two app instances. One for content management and one for content delivery.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I installed all the jss packages on content management and it works. Now I'm trying to reproduce the same environment on content delivery.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wanna ask you what is the best solution to install jss (or only layout service) and how to deploy jss app (just copy the file and publish content?) in content delivery server.&lt;/p&gt;&#xA;" OwnerUserId="3635" LastEditorUserId="70" LastEditDate="2018-05-08T13:13:53.333" LastActivityDate="2018-05-08T15:05:25.980" Title="Install jss package (layout service) on content delivery server" Tags="|azure|jss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11665" PostTypeId="1" CreationDate="2018-05-08T12:38:28.717" Score="2" ViewCount="479" Body="&lt;p&gt;I have created a scheduled task in Sitecore, which runs fine in our Staging environment but the task did not trigger when moved to Production.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no related logs or errors. The last run time is also not updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read that, tasks will not be triggered when app pool is down. But the site is up and working fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to browse the &quot;keep-alive&quot; page in prod, nothing happens and same case with any admin page. Seems, they were disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could it be a reason, that keep-alive is down and task is not triggered?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have one CM &amp;amp; one CD server for prod. The instance is in CM. I have updated Sitecore.config in both CM &amp;amp; CD like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.TaskDatabaseAgent&quot; method=&quot;Run&quot; interval=&quot;00:10:00&quot; /&amp;gt;&#xA;&#xA;&amp;lt;agent name=&quot;Web_Database_Agent&quot; type=&quot;Sitecore.Tasks.DatabaseAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;schedule root&quot;&amp;gt;/sitecore/system/tasks/schedules&amp;lt;/param&amp;gt;&#xA;        &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;    &amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-05-08T12:38:28.717" Title="Scheduled Task not working in multi-server environment" Tags="|scheduled-tasks|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11666" PostTypeId="2" ParentId="11664" CreationDate="2018-05-08T15:05:25.980" Score="6" Body="&lt;p&gt;For a CD server, you do not need to install the Infrastructure package (this contains the deployment service). Just the main JSS Server package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As to deployment, yes you would publish the content from the CM, and deploy the JS artifacts (defaults to &lt;code&gt;/dist/AppName&lt;/code&gt;) to the CD app service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next preview of JSS will simplify this by shipping a single server package and automatically disabling the deployment services on CDs.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-05-08T15:05:25.980" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11668" PostTypeId="1" AcceptedAnswerId="11694" CreationDate="2018-05-08T22:49:24.060" Score="1" ViewCount="281" Body="&lt;p&gt;Im using DEF 2.0.1 and Sitecore 9, with an example adapted from the File Reader example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the pipeline, I'm getting an error in the logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #3 08:35:25 ERROR [Data Exchange] No value was read&#xA;  from identifier object. (pipeline: Experience from Source to Item Sync&#xA;  Pipeline, pipeline step: Resolve Experience Info Item, pipeline step&#xA;  identifier: 64c4f165-f978-4b5b-a7ee-ccaf1b92eae3)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The pipeline step is set-up as per the tutorial : &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v2.0.1/cookbooks/custom-providers/implementing-a-provider/use-the-provider/add-pipeline-step-to-resolve-target-item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://integrationsdn.sitecore.net/DataExchangeFramework/v2.0.1/cookbooks/custom-providers/implementing-a-provider/use-the-provider/add-pipeline-step-to-resolve-target-item.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where else should I be looking? All types and template ids appear to be correct&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see my processor is adding the expected data to the pipeline including a value for the ID field&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void ReadData(&#xA;            Endpoint endpoint,&#xA;            PipelineStep pipelineStep,&#xA;            PipelineContext pipelineContext,&#xA;            ILogger logger)&#xA;        {&#xA;....&#xA;&#xA;        //add the data that was read from the file to a plugin&#xA;        var data = this.GetIterableData(settings);&#xA;        var dataSettings = new IterableDataSettings(data);&#xA;&#xA;        //&#xA;        //add the plugin to the pipeline context&#xA;        pipelineContext.AddPlugin(dataSettings);&#xA;    }&#xA;&#xA;    protected virtual IEnumerable&amp;lt;Experience&amp;gt; GetIterableData(FileSettings settings){..}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2018-05-12T11:34:01.273" LastActivityDate="2018-05-12T11:34:01.273" Title="No value was read from identifier object" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11670" PostTypeId="2" ParentId="11654" CreationDate="2018-05-09T00:09:45.507" Score="0" Body="&lt;p&gt;I have found one scenario where I did have to define the site more than once for each language, and that is if they share the same starting item but have different hostNames. This was necessary so that SiteResolving in the Link Provider worked properly. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;site1&quot;&#xA;    inherits=&quot;website&quot;&#xA;    hostName=&quot;www.site1.com&quot;&#xA;    language=&quot;en&quot; &#xA;    rootPath=&quot;/sitecore/content/Site1&quot; &#xA;    startItem=&quot;/&quot; &#xA;    patch:before=&quot;site[@name='website']&quot; /&amp;gt;&#xA;&amp;lt;site name=&quot;site1ES&quot;&#xA;    inherits=&quot;website&quot;&#xA;    hostName=&quot;www.site1.com&quot;&#xA;    language=&quot;es&quot; &#xA;    rootPath=&quot;/sitecore/content/Site1&quot; &#xA;    startItem=&quot;/&quot; &#xA;    patch:before=&quot;site[@name='website']&quot; /&amp;gt;&#xA;&amp;lt;site name=&quot;site1CA&quot;&#xA;    hostName=&quot;ca.site1.com&quot;&#xA;    inherits=&quot;website&quot;&#xA;    language=&quot;en-CA&quot; &#xA;    rootPath=&quot;/sitecore/content/Site1&quot; &#xA;    startItem=&quot;/&quot; &#xA;    patch:before=&quot;site[@name='website']&quot; /&amp;gt;&#xA;&amp;lt;site name=&quot;site1CAFR&quot;&#xA;    hostName=&quot;ca.site1.com&quot;&#xA;    inherits=&quot;website&quot;&#xA;    language=&quot;fr-CA&quot; &#xA;    rootPath=&quot;/sitecore/content/Site1&quot; &#xA;    startItem=&quot;/&quot; &#xA;    patch:before=&quot;site[@name='website']&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, this can easily be avoided by having a different starting path for each domain.&lt;/p&gt;&#xA;" OwnerUserId="3647" LastActivityDate="2018-05-09T00:09:45.507" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11671" PostTypeId="1" AcceptedAnswerId="11683" CreationDate="2018-05-09T07:43:25.333" Score="5" ViewCount="3634" Body="&lt;p&gt;I've multisite solution setup, and sites config looks like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;localhost&quot; hostName=&quot;local.com&quot; scheme=&quot;http&quot; notFoundItem=&quot;not-found&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/product&quot; physicalFolder=&quot;/website&quot; targetHostName=&quot;local.com&quot; rootPath=&quot;/sitecore/content/local&quot; startItem=&quot;/login&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;false&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;localhostaccount&quot; hostName=&quot;localaccount.com&quot; scheme=&quot;http&quot; notFoundItem=&quot;not-found&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/product&quot; physicalFolder=&quot;/website&quot; targetHostName=&quot;localaccount.com&quot; rootPath=&quot;/sitecore/content/localaccount&quot; startItem=&quot;/login&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;false&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;website&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;25MB&quot; filteredItemsCacheSize=&quot;10MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; patch:source=&quot;Sitecore.LanguageFallback.config&quot; language=&quot;en&quot; itemwebapi.mode=&quot;Off&quot; itemwebapi.access=&quot;ReadOnly&quot; itemwebapi.allowanonymousaccess=&quot;false&quot; enableItemLanguageFallback=&quot;false&quot; enableFieldLanguageFallback=&quot;false&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;scheduler&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot; patch:source=&quot;Sitecore.config&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;system&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot; patch:source=&quot;Sitecore.config&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;publisher&quot; domain=&quot;sitecore&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot; patch:source=&quot;Sitecore.config&quot;/&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I add links of one site in another, the hostname is not resolved in the url. Necessary site resolving config is done. Am I missing anything here?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Rendering.SiteResolving&quot; value=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;!--  RENDERING - SITE RESOLVING MATCH CURRENT LANGUAGE&#xA;            Affects how cross-site links are rendered when Rendering.SiteResolving is enabled.&#xA;            If true, the link provider will take the language attribute of the site definitions into consideration when resolving&#xA;            which site/hostname to use when rendering a cross-site link.&#xA;            Default value: true&#xA;      --&amp;gt;&#xA;&amp;lt;setting name=&quot;Rendering.SiteResolvingMatchCurrentLanguage&quot; value=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;!--  RENDERING - SITE RESOLVING MATCH CURRENT SITE&#xA;            Affects how cross-site links are rendered when Rendering.SiteResolving is enabled.&#xA;            If true, the link provider will check if the target item is located under the start item for the current site before it&#xA;            tries to find a match in the full list of site definitions. This ensures that when the target item can be resolved using&#xA;            the current site, the target link will not change to a different site/hostname.&#xA;            Default value: true&#xA;      --&amp;gt;&#xA;&amp;lt;setting name=&quot;Rendering.SiteResolvingMatchCurrentSite&quot; value=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;!--  USE SERVER-SIDE REDIRECT FOR REQUEST ERRORS&#xA;            If true, Sitecore will use Server.Transfer instead of Response.Redirect to redirect request to service pages&#xA;            when an error occurs (item not found, access denied etc).&#xA;            Default value: false&#xA;      --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="73" LastEditDate="2018-05-12T11:33:10.543" LastActivityDate="2019-01-11T01:39:36.517" Title="Sitecore multisite cross links not resolved with proper hostname" Tags="|multisite|links|link-manager|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11672" PostTypeId="1" AcceptedAnswerId="11714" CreationDate="2018-05-09T08:56:37.940" Score="1" ViewCount="391" Body="&lt;p&gt;I'm using SXA event calendar component from tool box and I'm trying to figure out whether its possible to change the view of the event calendar component using its out-of-the-box features. Is there a way to add a &quot;create event&quot; button in calendar view where I can add an event on a specific day?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="73" LastEditDate="2018-05-12T11:25:18.360" LastActivityDate="2018-05-12T11:25:18.360" Title="Changing the view of the Calendar Component" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11673" PostTypeId="1" AcceptedAnswerId="11881" CreationDate="2018-05-09T13:08:38.003" Score="3" ViewCount="3152" Body="&lt;p&gt;I'm trying to implement custom submit action in Sitecore 9 Forms according to &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&quot; rel=&quot;nofollow noreferrer&quot;&gt;the guide&lt;/a&gt;, but found the problem with &lt;code&gt;Tracker.Current&lt;/code&gt; which is &lt;code&gt;null&lt;/code&gt; while accessing from &lt;code&gt;SubmitActionBase&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Tracker&lt;/code&gt; is fine in other areas (e.g. while accessing from view controller). If I call &lt;code&gt;Tracker.StartTracking();&lt;/code&gt; inside the action then &lt;code&gt;Tracker.Current&lt;/code&gt; is ok as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional conditions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;form is ajax enabled&lt;/li&gt;&#xA;&lt;li&gt;save action is called on &quot;Next&quot; navigation step, not on &quot;Submit&quot;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is this expected behaviour in Forms submit action?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's part of the code:   &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class UpdateContact : SubmitActionBase&amp;lt;UpdateContactData&amp;gt;&#xA;{&#xA;    public UpdateContact(ISubmitActionData submitActionData) : base(submitActionData)&#xA;    {&#xA;    }&#xA;&#xA;    protected override bool Execute(UpdateContactData data, FormSubmitContext formSubmitContext)&#xA;    {&#xA;        //Tracker.Enabled is true&#xA;        //Sitecore.Context.Site.Tracking().EnableTracking is true&#xA;        //Tracker.IsActive is false&#xA;        var contact = Tracker.Current.Contact; //Tracker.Current is null&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2492" LastEditorUserId="2492" LastEditDate="2018-05-10T18:35:23.310" LastActivityDate="2019-05-27T06:54:36.133" Title="Analytics.Tracker.Current is null in Sitecore 9 Update-1 Forms submit action with &quot;Next&quot; navigation step" Tags="|tracking|sitecore-forms|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11674" PostTypeId="1" AcceptedAnswerId="11675" CreationDate="2018-05-09T13:22:27.653" Score="2" ViewCount="1251" Body="&lt;p&gt;I have been searching for a method to connect social media accounts within sitecore 9, my search so far has resulted in finding &quot;social connect&quot;, but that apparently only works up to Sitecore 8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is : is there any module available in Sitecore 9 now that can have the same functionality as Sitecore Connect? i.e. connect my site to social media feeds, or embed something like tweets in my web page created by sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2019-02-15T17:56:51.707" Title="Is there a way to connect a social media feed to my page in Sitecore 9?" Tags="|social-connected|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11675" PostTypeId="2" ParentId="11674" CreationDate="2018-05-09T13:43:47.210" Score="2" Body="&lt;p&gt;There is no OOTB for Sitecore 9. You can:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Build these components and functionality as components for your client. Add General Link field where content editors need to specify link to embedded content e.g. &#xA;&lt;a href=&quot;https://dev.twitter.com/web/embedded-timelines&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.twitter.com/web/embedded-timelines&lt;/a&gt; and component will render HTML around to make it nicer&lt;/li&gt;&#xA;&lt;li&gt;Use HTML code component of Sitecore SXA 1.7 module together with twitter or any other social network widget for teitter for instance use HTML code from here &lt;a href=&quot;https://dev.twitter.com/web/embedded-timelines&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.twitter.com/web/embedded-timelines&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-09T18:26:37.567" LastActivityDate="2018-05-09T18:26:37.567" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11676" PostTypeId="1" CreationDate="2018-05-09T13:58:35.067" Score="0" ViewCount="3761" Body="&lt;p&gt;I want to display all versions published of an item in Sitecore. I'm working with &lt;code&gt;master&lt;/code&gt; database because in &lt;code&gt;Web&lt;/code&gt; database we have just the last version published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I found this &lt;code&gt;status:published&lt;/code&gt; version or not of the item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm working with &lt;code&gt;Sitecore 8.2 update 4 with SXA&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="2820" LastEditorUserId="73" LastEditDate="2018-06-08T18:59:15.937" LastActivityDate="2018-10-07T07:00:15.020" Title="How can I check if item version was published" Tags="|publishing|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11677" PostTypeId="2" ParentId="11676" CreationDate="2018-05-09T14:01:59.187" Score="0" Body="&lt;p&gt;In Sitecore only one version of an item in given language is published at a time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have an item with &lt;code&gt;version 1&lt;/code&gt; in EN language, you publish it, then there is version 1 published in the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you then create another version, &lt;code&gt;version 2&lt;/code&gt;, you publish it, then &lt;code&gt;version 1&lt;/code&gt; is not published anymore, only &lt;code&gt;version 2&lt;/code&gt; is published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to find all the published versions, just check what is in &lt;code&gt;web&lt;/code&gt; database.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-05-09T14:01:59.187" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11678" PostTypeId="2" ParentId="11676" CreationDate="2018-05-09T14:11:33.257" Score="1" Body="&lt;p&gt;As mentioned by Marek, &quot;all versions published&quot; sounds weird as there will always be only one version published (per language).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But to give you an idea of how you can fetch this information from the master database: if you have an &lt;code&gt;Item&lt;/code&gt; object called item, you could do something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var version in Sitecore.Context.Item.Versions.GetVersions(true))&#xA;{&#xA;    version.Publishing.IsPublishable(DateTime.Now, false)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will loop through all versions of the item in all languages (that is the &lt;code&gt;true&lt;/code&gt; parameter in GetVersions). For each version it will check if it is publishable today without taking note of the ancestors. This is just an example with the &lt;code&gt;IsPublishable&lt;/code&gt; function - you have more functions available in &lt;code&gt;publishing&lt;/code&gt;. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-05-09T14:11:33.257" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="11679" PostTypeId="2" ParentId="11671" CreationDate="2018-05-09T14:47:05.917" Score="1" Body="&lt;p&gt;I think this should work for you. I used it for bucketed items, and shortening the urls. But this will determine in the current item is in the current site. Else it will find the proper site and resolve the link using that site. I have not tested this code in this shape.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MultisiteItemLinkProvider : LinkProvider&#xA;{&#xA;    public override void Initialize(string name, NameValueCollection config)&#xA;    {&#xA;        Assert.ArgumentNotNullOrEmpty(name, &quot;name&quot;);&#xA;        Assert.ArgumentNotNull(config, &quot;config&quot;);&#xA;        base.Initialize(name, config);&#xA;    }&#xA;&#xA;    public override string GetItemUrl(Item item, UrlOptions options)&#xA;    {&#xA;        return GetItemUrlFromBase(item, options);&#xA;    }&#xA;&#xA;    protected virtual bool IsFromCurrentSite(Item item)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;        return item.Paths.FullPath.Contains(Sitecore.Context.Site.RootPath);&#xA;    }&#xA;&#xA;    protected virtual string GetItemUrlFromBase(Item item, UrlOptions options)&#xA;    {&#xA;        if (IsFromCurrentSite(item)) return base.GetItemUrl(item, options);&#xA;&#xA;        var website = this.GetSiteContext(item); //Sitecore.Configuration.Factory.GetSite(&quot;usms&quot;);&#xA;        using (new SiteContextSwitcher(website))&#xA;        {&#xA;            options.AlwaysIncludeServerUrl = true;&#xA;            options.SiteResolving = true;&#xA;            return base.GetItemUrl(item, options);&#xA;        }&#xA;    }&#xA;&#xA;    private static List&amp;lt;KeyValuePair&amp;lt;string, SiteContext&amp;gt;&amp;gt; GetSites()&#xA;    {&#xA;        return SiteManager.GetSites()&#xA;            .Where(&#xA;                s =&amp;gt;&#xA;                    !string.IsNullOrEmpty(s.Properties[&quot;rootPath&quot;]) &amp;amp;&amp;amp;&#xA;                    !string.IsNullOrEmpty(s.Properties[&quot;startItem&quot;]))&#xA;            .Select(&#xA;                d =&amp;gt; new KeyValuePair&amp;lt;string, SiteContext&amp;gt;($&quot;{d.Properties[&quot;rootPath&quot;]}{d.Properties[&quot;startItem&quot;]}&quot;,&#xA;                    new SiteContext(new SiteInfo(d.Properties))))&#xA;            .ToList();&#xA;    }&#xA;&#xA;    public virtual SiteContext GetSiteContext(Item item)&#xA;    {&#xA;&#xA;        var site = GetSites().LastOrDefault(s =&amp;gt; item.Paths.FullPath.ToLower().StartsWith(s.Key.ToLower()));&#xA;        return site.Value;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-05-09T14:47:05.917" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11682" PostTypeId="1" CreationDate="2018-05-09T16:03:30.673" Score="12" ViewCount="757" Body="&lt;p&gt;I'm reviewing the cache settings available in SXA found &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/set_sxa_caching_options&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. There are many components that are available for caching, but I'm not clear whether any should not be cached.&lt;/p&gt;&#xA;&lt;p&gt;In an effort to start simple:&#xA;Which components can be configured for caching that maximize the caching on the  page?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; You can add the &lt;code&gt;PartialDesign Dynamic Placeholder&lt;/code&gt; and it will cache everything!&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/j2Z56.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/j2Z56.png&quot; alt=&quot;Caching Setting&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&lt;p&gt;2021.03.03&lt;/p&gt;&#xA;&lt;p&gt;Turns out that if you cache the PartialDesign, Splitters, and Containers it has the outcome of interfering with some of the other caching. Still need to figure out how to cache the entire page after it's constructed.&lt;/p&gt;&#xA;&lt;p&gt;2019.06.21&lt;/p&gt;&#xA;&lt;p&gt;Decided to not spend too much time researching (someone say lazy developer?) so i went with the list below. A few are custom components.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EgK6V.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EgK6V.png&quot; alt=&quot;Example Setup&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2021-03-13T21:15:52.573" LastActivityDate="2021-03-13T21:15:52.573" Title="Which SXA components should be cached for minimal setup?" Tags="|sxa|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11683" PostTypeId="2" ParentId="11671" CreationDate="2018-05-09T17:16:08.400" Score="5" Body="&lt;p&gt;I've had to add &lt;code&gt;urlOptions.SiteResolving = true&lt;/code&gt; in my LinkProvider override and my &lt;code&gt;GetItemUrl&lt;/code&gt; extension to get this to work properly. This is in Sitecore 8.2 and older versions, not sure about Sitecore 9. &lt;/p&gt;&#xA;" OwnerUserId="3647" LastEditorUserId="342" LastEditDate="2019-01-11T01:39:36.517" LastActivityDate="2019-01-11T01:39:36.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11684" PostTypeId="2" ParentId="11572" CreationDate="2018-05-09T18:18:30.207" Score="4" Body="&lt;p&gt;I've done some research and testing into this and it appears to be normal. The &lt;code&gt;webpack-bundle-analyzer&lt;/code&gt; has issues with the &lt;code&gt;ModuleConcatenationPlugin&lt;/code&gt;, as Alex Smagin pointed out (&lt;a href=&quot;https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/115&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitHub issue&lt;/a&gt; - note that angular-cli is not using Webpack 4)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To test, I hacked angular-cli's webpack config locally to remove the &lt;code&gt;ModuleConcatenationPlugin&lt;/code&gt;. The bundle analyzer picture looks drastically different with concatenation off:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UaLf2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UaLf2.png&quot; alt=&quot;no-concat bundle analysis&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without the concatenation there is no huge-looking main.ts, because the system stuff being lumped into that is no longer there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The bundle size with module concatenation off is about 50k larger than with it on, so the optimization is definitely doing something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I analyzed the Angular Advanced app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Angular definitely is a pretty hefty library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Methodology:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Angular config hacked: &lt;code&gt;advanced-sample-angular\node_modules\@angular\cli\models\webpack-configs\production.js&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Command to build (modified &lt;code&gt;jss build:client-bundle&lt;/code&gt;):&#xA;&lt;code&gt;&#xA;cross-env-shell ng build --target=production --environment=prod --base-href / --deploy-url $npm_package_config_sitecoreDistPath/browser --output-path=$npm_package_config_buildArtifactsPath/browser --prod --stats-json&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-05-09T18:18:30.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11685" PostTypeId="2" ParentId="11673" CreationDate="2018-05-09T19:19:57.820" Score="0" Body="&lt;p&gt;You first need to identify contact and then you can use Tracker.Current.Contact notation. You need to use code from this article &lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/digital%20marketing/sitecore%20forms/setting%20up%20and%20configuring/walkthrough%20creating%20a%20custom%20submit%20action%20that%20updates%20contact%20details&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore%20experience%20platform/digital%20marketing/sitecore%20forms/setting%20up%20and%20configuring/walkthrough%20creating%20a%20custom%20submit%20action%20that%20updates%20contact%20details&lt;/a&gt; and it's execute method. We had no issues implementing similar code in our solution recently.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-05-09T19:19:57.820" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="11686" PostTypeId="1" CreationDate="2018-05-09T19:57:59.590" Score="7" ViewCount="3566" Body="&lt;p&gt;I am having trouble configuring the analytics engine on Sitecore 9 with a pretty standard install of Sitecore XP1. &#xA;I'm using the self-signed certificates and none of the analytics graphs display because of errors.  I've tried some expert recommended steps to resolve it, by configuring the services to use the correct xConnect certificate (Find by thumbprint). &#xA;The xdb processing site will not load.  Can someone help me solve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see this in the Sitecore log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: System.InvalidOperationException&#xA;Message: The certificate was not found.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.CertificateWebRequestHandlerModifier.Process(HttpClientHandler handler)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateRequestHandler()&#xA;   ...&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The 'processing' site log shows: Exception: System.Net.WebException&#xA;Message: The request was aborted: Could not create SSL/TLS secure channel.&lt;/p&gt;&#xA;" OwnerUserId="3656" LastEditorUserId="70" LastEditDate="2018-05-09T20:16:18.187" LastActivityDate="2018-05-23T04:53:08.350" Title="Experience Analytics fails on Sitecore 9.0.1" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="3" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11687" PostTypeId="1" AcceptedAnswerId="11739" CreationDate="2018-05-09T20:17:53.323" Score="0" ViewCount="155" Body="&lt;p&gt;We are in a process of upgrading Sitecore Commerce 8.2.1 instance into Sitecore Experience Commerce 9.0.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a custom plugin and two catalogs with lots of categories and products.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already seen this &lt;a href=&quot;https://community.sitecore.net/developers/f/6/t/8765&quot; rel=&quot;nofollow noreferrer&quot;&gt;community thread&lt;/a&gt; where some folks mentioned that upgrade between these versions is not supported.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a possibility to at least migrate product catalog between these versions?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-05-13T13:39:44.843" Title="Upgrading product catalog created in Sitecore Commerce 8.2.1 to Sitecore Commerce 9.0.1" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11688" PostTypeId="1" AcceptedAnswerId="12243" CreationDate="2018-05-09T20:54:12.783" Score="1" ViewCount="442" Body="&lt;p&gt;I've recently been looking at some of the personalization statistics offered in Sitecore's Experience Editor and noticed that some of the numbers are not correct. I'm not sure if this is an issue in Sitecore, or an error in the documentation that describes the statistic. Specifically, I am looking at the &quot;Reach&quot; statistic that's shown in the &quot;Personalized Experience&quot; dialog of the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the documentation (found &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/experience_optimization__content_testing/analyzing_and_optimizing_tests/the_personalized_experience_page&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;), Reach is &quot;the reach of the currently selected rule, which is expressed as the number of visitors that meet the condition and the percentage of all visitors that this number represents&quot;. The calculation is documented as &quot;Reach = (Visitors that match the condition/All visitors) x 100&quot;. The dialog mentions that it does this calculation for the last 30 days if A/B tests are not in place (which is true in my case).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The personalization rule that I've set up is a simple one that changes the data source of the component when a particular page is visited during the current visit. When I look at the statistics for the rule, however, I see that the dialog shows 8 visitors that met the condition, which accounts to 97% reach. I can't see how that's correct, considering that Sitecore Analytics shows over 4,000 hits to the page specified in the rule during the 30 day period. The default condition shows about 8,000 visitors that met the condition, which accounts for 3% reach. That also seems incorrect based on what I'm looking at in Sitecore Analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So there's basically a couple of issues I'm trying to understand with that statistic: How are the number of visitors that match the condition so small, when analytics show many page hits to the page? Secondly, how can &quot;Reach&quot;, as defined in the documentation, be 97% for the 8 visitors that matched the condition vs. 3% for the 8,000 that met the default condition?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any knowledge you can share about this issue will be greatly appreciated!&lt;/p&gt;&#xA;" OwnerUserId="1085" LastActivityDate="2018-06-08T22:01:04.310" Title="&quot;Reach&quot; statistic in &quot;Personalized Experience&quot; dialog of Experience Editor is not showing correct values" Tags="|experience-analytics|personalization|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11689" PostTypeId="1" CreationDate="2018-05-09T20:57:00.517" Score="2" ViewCount="922" Body="&lt;p&gt;I am curious to know if it is possible to export Sitecore master db using PowerShell to a csv or to PowerBI? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am exploring possibility to get information for a given UI component (e.g. “large hero”) which pages on the Sitecore platform across all tenants host this component?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. Large Hero is hosted only on /membership page&lt;/p&gt;&#xA;" OwnerUserId="3657" LastEditorUserId="73" LastEditDate="2018-05-09T22:24:35.980" LastActivityDate="2018-05-09T23:06:50.463" Title="Export component list in Sitecore master db with PowerShell" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11690" PostTypeId="2" ParentId="11689" CreationDate="2018-05-09T21:27:24.303" Score="3" Body="&lt;p&gt;You could install &lt;a href=&quot;https://doc.sitecorepowershell.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore PowerShell Extensions module&lt;/a&gt; and then use this PowerShell script to get list of renderings used on pages:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;write-host 'Running script...'&#xA;Set-Location master:\content&#xA;$pages = get-item master:\content\home | get-childitem -Recurse&#xA;$device = Get-LayoutDevice -Default&#xA;$Results = @();&#xA;$DataPath = &quot;C:\MySite\ComponentsInUse.csv&quot;&#xA;&#xA;foreach($page in $pages){&#xA;&#xA;    $renderings = Get-Rendering -Item $page -Device $device -FinalLayout&#xA;&#xA;    foreach($rendering in $renderings){&#xA;&#xA;        if($rendering.ItemID -ne $null)&#xA;        {&#xA;            $renderingItem = Get-Item master: -ID $rendering.ItemID&#xA;            if($renderingItem -ne $null)&#xA;            {&#xA;                $Properties = @{&#xA;                    RenderingItemName = $renderingItem.Name&#xA;                    RenderingItemID = $renderingItem.ID&#xA;                    RenderingItemPath = $renderingItem.Paths.Path&#xA;                    UsedOnPage = $page.Name&#xA;                    UsedOnPageID = $page.ID&#xA;                    UsedOnPagePath = $page.Paths.Path&#xA;                }&#xA;&#xA;                $Results += New-Object psobject -Property $Properties&#xA;            }&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&#xA;$Results | Select-Object RenderingItemName,RenderingItemID,RenderingItemPath,UsedOnPage,UsedOnPageID,UsedOnPagePath | Export-Csv -notypeinformation -Path $DataPath&#xA;&#xA;write-host 'Script ended' &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Script was inspired from &lt;a href=&quot;https://codebuildplay.wordpress.com/2016/11/15/sitecore-powershell-how-to-create-a-list-of-renderings-in-use/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this page&lt;/a&gt; so please take a look there for further references and examples. I have changed it to suit your needs.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-05-09T21:27:24.303" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11691" PostTypeId="2" ParentId="11689" CreationDate="2018-05-09T23:00:41.823" Score="5" Body="&lt;p&gt;Since you already know the specific component that you want to find references for, you can use the &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/common/get-itemreferrer&quot; rel=&quot;noreferrer&quot;&gt;Get-ItemReferrer&lt;/a&gt; commandlet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sh prettyprint-override&quot;&gt;&lt;code&gt;$references = Get-ItemReferrer -Path master:\layout\Renderings\Feature\Teasers\MyComponent&#xA;$references | Show-ListView &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will return all reference to the component, including any &lt;code&gt;__Standard Values&lt;/code&gt; of templates that you may have the rendering added to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Internally &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/blob/master/Cognifide.PowerShell/Commandlets/Data/GetItemReferrerCommand.cs#L55&quot; rel=&quot;noreferrer&quot;&gt;this uses the Links database&lt;/a&gt; so will be much faster than crawling the entire content tree.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-05-09T23:06:50.463" LastActivityDate="2018-05-09T23:06:50.463" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11692" PostTypeId="1" CreationDate="2018-05-09T23:57:05.177" Score="4" ViewCount="1170" Body="&lt;p&gt;I'm trying to install a load balanced CM pair. There are 2 CMs. I thought the install script automatically skips the DB deploy task if the DBs are installed, but doesn't look like. When I install the first CM, everything is fine. Then for the second one, I want to skip the DB Deploy task. I looked in the JSON config, and it's all wrapped in the InstallWDP task. How do you skip the individual DB deploy task? I assume this will be an issue for CD installs, as well, right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be more specific, I want to skip it during the execution, i.e. when calling &lt;code&gt;Install-SitecoreConfiguration&lt;/code&gt; - as I understand it, I should be able to pass in a parameter called &lt;code&gt;Skip&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="407" LastEditorUserId="407" LastEditDate="2018-05-10T00:53:49.897" LastActivityDate="2019-05-03T11:17:33.763" Title="How do skip the DB deploy task in Sitecore Install Framework" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11694" PostTypeId="2" ParentId="11668" CreationDate="2018-05-10T03:40:17.993" Score="1" Body="&lt;p&gt;I've found what was causing my issue ..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an entity with fields such as&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[JsonProperty(&quot;name&quot;)]&#xA;public string Name { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, although my json is deserialised successfully, and uses the JSonProperty (Newetonsoft JSON), this does not work unless I also give the property itself the same case. i.e.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[JsonProperty(&quot;name&quot;)]&#xA;public string name { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This makes no sense to me however as I can see the json is deserialised successfully in my processor using the uppercase &quot;Name&quot;. Why would the case need to match in the DEF? Could it be due to my Converter?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SupportedIds(JsonValueAccessorTemplateId)]&#xA;    public class JsonValueAccessorConverter : ValueAccessorConverter&#xA;    {&#xA;        public const string JsonValueAccessorTemplateId = &quot;{926B7450-07BB-4A97-B44A-CF4E008EDE62}&quot;;&#xA;        public const string TemplatePropNameField = &quot;PropertyName&quot;;&#xA;        public JsonValueAccessorConverter(IItemModelRepository repository) : base(repository)&#xA;        {&#xA;        }&#xA;        protected override IValueReader GetValueReader(ItemModel source)&#xA;        {&#xA;            var reader = base.GetValueReader(source);&#xA;            if (reader == null)&#xA;            {&#xA;                // get the field name&#xA;                var fieldName = this.GetStringValue(source, TemplatePropNameField);&#xA;&#xA;&#xA;                if (String.IsNullOrEmpty(fieldName)) return null;&#xA;                reader = new PropertyValueReader(fieldName);&#xA;            }&#xA;            return reader;&#xA;        }&#xA;&#xA;        protected override IValueWriter GetValueWriter(ItemModel source)&#xA;        {&#xA;            var writer = base.GetValueWriter(source);&#xA;            if (writer == null)&#xA;            {&#xA;                var fieldName = this.GetStringValue(source, TemplatePropNameField);&#xA;                if (String.IsNullOrEmpty(fieldName)) return null;&#xA;                writer = new PropertyValueWriter(fieldName);&#xA;            }&#xA;            return writer;&#xA;        }&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2018-05-10T03:40:17.993" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11695" PostTypeId="1" CreationDate="2018-05-10T05:21:06.993" Score="3" ViewCount="223" Body="&lt;p&gt;I'm trying to setup SOLR Cloud to work with my Sitecore 9.0 (Update-1) instance. I'm using 3 different VMs with [1-Zookeeper + 1-SOLR 6.6.2] configured on all machines.&#xA;I have added the following collection to the SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZMRBX.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZMRBX.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following code snippet, I used in a sublayout to print all items with templatename “Person”.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index = Sitecore.ContentSearch.ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;);&#xA;using (var context = index.CreateSearchContext())&#xA;{&#xA;    var results = context.GetQueryable&amp;lt;Sitecore.ContentSearch.SearchTypes.SearchResultItem&amp;gt;()&#xA;        .Where(i =&amp;gt; i.TemplateName == &quot;Person&quot;);&#xA;            Response.Write(&quot;&amp;lt;h3&amp;gt;Search Results&amp;lt;/h3&amp;gt;&amp;lt;br /&amp;gt;&quot;);&#xA;    Response.Write(&quot;&amp;lt;b&amp;gt;Total Item Count :: &amp;lt;/b&amp;gt;&quot; + results.Count());&#xA;    foreach (SearchResultItem searchResultItem in results)&#xA;    {&#xA;&#xA;        Response.Write(searchResultItem.Path + &quot;&amp;lt;br /&amp;gt;&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I'm trying to print search result for the above code snippet, getting the &#xA; following error :-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;5108 04:52:14 ERROR &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;response&amp;gt;&#xA;&amp;lt;lst name=&quot;responseHeader&quot;&amp;gt;&amp;lt;bool name=&quot;zkConnected&quot;&amp;gt;true&amp;lt;/bool&amp;gt;&amp;lt;int name=&quot;status&quot;&amp;gt;500&amp;lt;/int&amp;gt;&amp;lt;int name=&quot;QTime&quot;&amp;gt;24&amp;lt;/int&amp;gt;&amp;lt;lst name=&quot;params&quot;&amp;gt;&amp;lt;str name=&quot;q&quot;&amp;gt;_templatename:(Person)&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;fq&quot;&amp;gt;_indexname:(sitecore_web_index)&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;rows&quot;&amp;gt;2147483647&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;wt&quot;&amp;gt;xml&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;version&quot;&amp;gt;2.2&amp;lt;/str&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;lst name=&quot;error&quot;&amp;gt;&amp;lt;str name=&quot;trace&quot;&amp;gt;java.lang.NegativeArraySizeException&#xA;    at org.apache.lucene.util.PriorityQueue.&amp;amp;lt;init&amp;amp;gt;(PriorityQueue.java:63)&#xA;    at org.apache.lucene.util.PriorityQueue.&amp;amp;lt;init&amp;amp;gt;(PriorityQueue.java:44)&#xA;    at org.apache.solr.handler.component.ShardFieldSortedHitQueue.&amp;amp;lt;init&amp;amp;gt;(ShardFieldSortedHitQueue.java:45)&#xA;    at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:991)&#xA;    at org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:775)&#xA;    at org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:754)&#xA;    at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:429)&#xA;    at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)&#xA;    at org.apache.solr.core.SolrCore.execute(SolrCore.java:2477)&#xA;    at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)&#xA;    at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:529)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:361)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:305)&#xA;    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)&#xA;    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)&#xA;    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)&#xA;    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)&#xA;    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)&#xA;    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)&#xA;    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)&#xA;    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)&#xA;    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)&#xA;    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)&#xA;    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)&#xA;    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)&#xA;    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)&#xA;    at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)&#xA;    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)&#xA;    at org.eclipse.jetty.server.Server.handle(Server.java:534)&#xA;    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)&#xA;    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)&#xA;    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)&#xA;    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)&#xA;    at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:202)&#xA;    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)&#xA;    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)&#xA;    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)&#xA;    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)&#xA;    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)&#xA;    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)&#xA;    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)&#xA;    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)&#xA;    at java.lang.Thread.run(Unknown Source)&#xA;&amp;lt;/str&amp;gt;&amp;lt;int name=&quot;code&quot;&amp;gt;500&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt;&#xA;&amp;lt;/response&amp;gt;&#xA;&#xA;Exception: SolrNet.Exceptions.SolrConnectionException&#xA;Message: &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;response&amp;gt;&#xA;&amp;lt;lst name=&quot;responseHeader&quot;&amp;gt;&amp;lt;bool name=&quot;zkConnected&quot;&amp;gt;true&amp;lt;/bool&amp;gt;&amp;lt;int name=&quot;status&quot;&amp;gt;500&amp;lt;/int&amp;gt;&amp;lt;int name=&quot;QTime&quot;&amp;gt;24&amp;lt;/int&amp;gt;&amp;lt;lst name=&quot;params&quot;&amp;gt;&amp;lt;str name=&quot;q&quot;&amp;gt;_templatename:(Person)&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;fq&quot;&amp;gt;_indexname:(sitecore_web_index)&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;rows&quot;&amp;gt;2147483647&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;wt&quot;&amp;gt;xml&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;version&quot;&amp;gt;2.2&amp;lt;/str&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;lst name=&quot;error&quot;&amp;gt;&amp;lt;str name=&quot;trace&quot;&amp;gt;java.lang.NegativeArraySizeException&#xA;    at org.apache.lucene.util.PriorityQueue.&amp;amp;lt;init&amp;amp;gt;(PriorityQueue.java:63)&#xA;    at org.apache.lucene.util.PriorityQueue.&amp;amp;lt;init&amp;amp;gt;(PriorityQueue.java:44)&#xA;    at org.apache.solr.handler.component.ShardFieldSortedHitQueue.&amp;amp;lt;init&amp;amp;gt;(ShardFieldSortedHitQueue.java:45)&#xA;    at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:991)&#xA;    at org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:775)&#xA;    at org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:754)&#xA;    at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:429)&#xA;    at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)&#xA;    at org.apache.solr.core.SolrCore.execute(SolrCore.java:2477)&#xA;    at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)&#xA;    at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:529)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:361)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:305)&#xA;    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)&#xA;    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)&#xA;    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)&#xA;    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)&#xA;    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)&#xA;    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)&#xA;    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)&#xA;    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)&#xA;    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)&#xA;    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)&#xA;    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)&#xA;    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)&#xA;    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)&#xA;    at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)&#xA;    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)&#xA;    at org.eclipse.jetty.server.Server.handle(Server.java:534)&#xA;    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)&#xA;    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)&#xA;    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)&#xA;    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)&#xA;    at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:202)&#xA;    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)&#xA;    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)&#xA;    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)&#xA;    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)&#xA;    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)&#xA;    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)&#xA;    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)&#xA;    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)&#xA;    at java.lang.Thread.run(Unknown Source)&#xA;&amp;lt;/str&amp;gt;&amp;lt;int name=&quot;code&quot;&amp;gt;500&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt;&#xA;&amp;lt;/response&amp;gt;&#xA;&#xA;Source: SolrNet&#xA;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&#xA;   at SolrNet.Impl.SolrQueryExecuter`1.Execute(ISolrQuery q, QueryOptions options)&#xA;   at Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1.GetResult(SolrCompositeQuery compositeQuery, QueryOptions queryOptions)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (500) Internal Server Error.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using Azure loadbalancer to connect to SOLR CLOUD. I'm able to successfully query on SOLR dashboard. But when I do a search query from my CD or CM envirnment,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Response.Write(&quot;&amp;lt;b&amp;gt;Total Item Count :: &amp;lt;/b&amp;gt;&quot; + results.Count());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It prints the total result count. But when the control enters the foreach loop, it throws the error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (SearchResultItem searchResultItem in results)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I believe the issue might be with SOLR Cloud configuration on distributed environment. How do I figure out what is wrong here? Thanks !&lt;/p&gt;&#xA;" OwnerUserId="3658" LastEditorUserId="1000" LastEditDate="2018-05-12T15:00:24.867" LastActivityDate="2018-05-12T15:00:24.867" Title="SOLR CLOUD error on looping through search result on 9.0 Update-1" Tags="|solr|content-search|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11699" PostTypeId="1" CreationDate="2018-05-10T15:00:08.850" Score="4" ViewCount="2325" Body="&lt;p&gt;According to the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/creating_forms/add_list_items&quot; rel=&quot;nofollow noreferrer&quot;&gt;docs&lt;/a&gt;, you can add items to a list field in forms either as a static set of values, or a dynamic datasource. However, I need to create a field that can switch the datasource on the fly, based on the selection of another field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if City A is selected in a previous dropdown field, then the offices from that city should be shown. Likewise, City B would show the offices from that city. I have setup two different datasources, but cannot figure out any intuitive way to setup a way for them to switch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've considered several hacks, such as putting two dropdown fields (one for each city) and showing/hiding the relevant one, but as the cities list grows this will become cumbersome. In addition, the field is required, so hiding it and leaving it blank doesn't seem like it would work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this something that requires a custom field to function the way I want it to, and if so where can I find info on how to create such a thing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an easy, simple way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="3661" LastActivityDate="2021-02-26T17:21:45.267" Title="Changing the datasource for a dropdown list field in a form on a page" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11700" PostTypeId="1" AcceptedAnswerId="11706" CreationDate="2018-05-10T15:11:14.083" Score="1" ViewCount="885" Body="&lt;p&gt;while trying to install SXA 1.7, i have run across the following error:&#xA;One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I uploaded the package, then proceeded with the installation wizard, only to get that error.&#xA;I've tried to re-install multiple times and i always get the same error. I tried doing an iisreset as some other websites suggested that but it didn't help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a part of the errors log:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ManagedPoolThread #10 17:04:19 ERROR One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;Exception[1]: System.NullReferenceException &#xA;Message[1]: Object reference not set to an instance of an object. &#xA;Source[1]: Sitecore.Marketing.xMgmt &#xA;   at Sitecore.Marketing.xMgmt.Definitions.ItemEventHandler.&amp;lt;&gt;c__DisplayClass19_0.b__0(Guid templateId)&#xA;   at System.Linq.Enumerable.Any[TSource](IEnumerable&lt;code&gt;1 source, Func&lt;/code&gt;2 predicate)&#xA;   at Sitecore.Marketing.xMgmt.Definitions.ItemEventHandler.DeployItem(Item item)&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ManagedPoolThread #10 17:04:19 ERROR Failed to save the item. Item ID: {FA86AD54-9CEC-4509-9EFD-DD6DBC608A5B}, database: master&#xA;Exception: System.AggregateException&#xA;Message: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args)&#xA;   at System.EventHandler&lt;code&gt;1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.RaiseEvent[TArgs](EventHandler&lt;code&gt;1 handlers, Func&lt;/code&gt;2 argsCreator)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ManagedPoolThread #10 17:04:19 ERROR Error installing items/master/sitecore/system/Modules/PowerShell/Script Library/SXA/{FA86AD54-9CEC-4509-9EFD-DD6DBC608A5B}/en/1/xml&#xA;Exception: System.AggregateException&#xA;Message: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args)&#xA;   at System.EventHandler&lt;code&gt;1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.RaiseEvent[TArgs](EventHandler&lt;code&gt;1 handlers, Func&lt;/code&gt;2 argsCreator)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;   at Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item)&#xA;   at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent)&#xA;   at Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent)&#xA;   at Sitecore.Install.Items.ItemInstaller.InstallItem(BehaviourOptions installOptions, Item targetItem, ItemReference item, XmlVersionParser parser, Boolean&amp;amp; removeVersions)&#xA;   at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp; removeVersions)&#xA;   at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="3547" LastEditDate="2018-05-10T15:48:21.360" LastActivityDate="2018-05-10T16:15:29.820" Title="Installing SXA 1.7 : One or more exceptions occurred while processing the subscribers to the 'item:saved' event" Tags="|sxa|installation|packages|" AnswerCount="1" CommentCount="3" ClosedDate="2018-05-14T01:14:53.313" ContentLicense="CC BY-SA 4.0" />
  <row Id="11701" PostTypeId="1" AcceptedAnswerId="11707" CreationDate="2018-05-10T15:19:25.847" Score="2" ViewCount="915" Body="&lt;p&gt;Good Morning,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yesterday I was working on a fresh install of Sitecore 9.1 and followed the documentation for JSS with vue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything was fine. I was able to connect my local app with my Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The API Key return a json.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I started to add new components and made a deploy package.&#xA;In the Content Editor I can see my app, and all components inside.&#xA;&lt;img src=&quot;https://i.stack.imgur.com/sPpAN.png&quot; alt=&quot;Imgur&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nevertheless, in Experience Editor I have this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: window is not defined ReferenceError: window is not defined at C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:396975 at C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:396933 at e.exports (C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:400178) at Object. (C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:382155) at __webpack_require__ (C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:236) at Object. (C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:107516) at __webpack_require__ (C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:236) at Object. (C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:381784) at __webpack_require__ (C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:236) at Object. (C:\inetpub\wwwroot\vue.jss\dist\my-app\server.bundle.js:1:380876)&#xA;   à Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.Http.HttpNodeInstance.d__7`1.MoveNext()&#xA;--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---&#xA;   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   à Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance.d__13`1.MoveNext()&#xA;--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---&#xA;   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   à Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.d__10`1.MoveNext()&#xA;--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---&#xA;   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   à Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.d__10`1.MoveNext()&#xA;--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---&#xA;   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   à Sitecore.JavaScriptServices.ViewEngine.Node.Helpers.AsyncHelpers.RunSync[TResult](Func`1 func)&#xA;   à Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.PerformRender(TextWriter writer, IRenderEngine renderEngine, String moduleName, String functionName, Object[] functionArgs)&#xA;   à Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.Render(TextWriter writer)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks for helping me&lt;/p&gt;&#xA;" OwnerUserId="3659" LastActivityDate="2018-05-11T15:14:42.253" Title="JSS vue - Error with server.bundle.js after jss deploy package" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11702" PostTypeId="2" ParentId="11701" CreationDate="2018-05-10T15:29:22.247" Score="2" Body="&lt;p&gt;It looks like the relevant error is this: &lt;code&gt;window is not defined&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means something in your code (or a 3rd party component) is referencing the &lt;code&gt;window&lt;/code&gt; object, which is only available when JavaScript is running in the browser. When Node is rendering your JavaScript (server-side rendering), &lt;code&gt;window&lt;/code&gt; won't be available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any first or third-party components that are attempting to use &lt;code&gt;window&lt;/code&gt;? If it's a component you control, I would suggest adding a conditional statement around your usage of &lt;code&gt;window&lt;/code&gt;, e.g.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;if (typeof window !== 'undefined') {&#xA;  // it's safe to reference window here&#xA;}&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-05-10T15:29:22.247" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11703" PostTypeId="2" ParentId="11622" CreationDate="2018-05-10T15:42:19.137" Score="1" Body="&lt;p&gt;That is not how you should upgrade. You have written that: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&lt;em&gt;We have all our contents serialized through Unicorn and when we synced the items to the new Sitecore instance the components were not rendered.&lt;/em&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means (if I understand this correctly) that SXA upgrade manager had no chance to upgrade your content as it was not there. You should install a new version of SXA in the instance where whole content exist. If we introduced a change which can break your content then for sure there is an upgrade step which will migrate your content.&#xA;Even if you run upgrade steps and thehaveas been successful then there was no content. For me, it looks like you have updated instance (to 1.7) but with old not upgraded content.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-05-11T07:26:53.300" LastActivityDate="2018-05-11T07:26:53.300" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11704" PostTypeId="1" CreationDate="2018-05-10T15:49:11.743" Score="1" ViewCount="143" Body="&lt;p&gt;I am planning to share the same AWS RDS (SQL) for 2 different sets of Sitecore databases. So I will have 2 Webs, 2 Cores and 2 Masters DB. Could anyone confirm if this is possible? Why or why not? The most important thing is this a good idea?&#xA;The goal is cost saving while achieve blue/green deployment model for zero downtime.&lt;/p&gt;&#xA;" OwnerUserId="3179" LastEditorUserId="73" LastEditDate="2018-05-12T11:30:39.737" LastActivityDate="2018-05-12T11:30:39.737" Title="Can I have/install 2 sets of Sitecore databases on the same database server (SQL)?" Tags="|sql-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11705" PostTypeId="2" ParentId="11704" CreationDate="2018-05-10T15:50:22.173" Score="1" Body="&lt;p&gt;You can install as many as you like, just have to be different database names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for AWS, you can't restore a single database in the RDS instance. You can only restore the whole instance. So keep that in mind. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-05-10T15:50:22.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11706" PostTypeId="2" ParentId="11700" CreationDate="2018-05-10T16:15:29.820" Score="1" Body="&lt;p&gt;I suspected i had some corrupted file from the initial powershell extensions installation, so I reinstalled the &quot;Sitecore PowerShell Extensions-4.7.2&quot; package first, then reinstalled the &quot;Sitecore Experience Accelerator 1.7&quot; package, and it worked.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2018-05-10T16:15:29.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11707" PostTypeId="2" ParentId="11701" CreationDate="2018-05-10T16:20:27.633" Score="1" Body="&lt;p&gt;How I fixed this error.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;First, disable UglifyJsPlugin from webpack.shared.js&lt;/li&gt;&#xA;&lt;li&gt;&quot;jss deploy package&quot;&lt;/li&gt;&#xA;&lt;li&gt;Then go to the line specified in the error dist\my-app\server.bundle.js&lt;/li&gt;&#xA;&lt;li&gt;You will find what plugin are causing this error&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In my case I needed to change my code in webpack.shared.js like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    {&#xA;      test: /\.(scss|css)$/,&#xA;      use: ExtractTextPlugin.extract({&#xA;        fallback: 'style-loader',&#xA;        use: [&#xA;          &quot;css-loader&quot;, // translates CSS into CommonJS&#xA;          &quot;sass-loader&quot; // compiles Sass to CSS&#xA;        ]&#xA;      }),&#xA;    },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks to @Adam  for helping me&lt;/p&gt;&#xA;" OwnerUserId="3659" LastEditorUserId="3659" LastEditDate="2018-05-11T15:14:42.253" LastActivityDate="2018-05-11T15:14:42.253" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11708" PostTypeId="1" AcceptedAnswerId="11744" CreationDate="2018-05-10T18:16:25.147" Score="0" ViewCount="1438" Body="&lt;p&gt;Is it possible find all the items published on a given date along with Published user , published Date and time using sitecore powershell ? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="73" LastEditDate="2018-05-10T18:29:30.750" LastActivityDate="2018-05-14T12:09:09.013" Title="Sitecore Powershell Script to find publish history for a particular date" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11709" PostTypeId="2" ParentId="11704" CreationDate="2018-05-10T20:13:59.957" Score="0" Body="&lt;p&gt;Yes you can install as many Web, Master, Core Db instances on Sql Server just the names need to be different, and then according to whatever the names are and wherever the use is, you need to update the connection strings.&lt;/p&gt;&#xA;" OwnerUserId="1656" LastActivityDate="2018-05-10T20:13:59.957" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11710" PostTypeId="1" CreationDate="2018-05-11T03:48:07.157" Score="1" ViewCount="95" Body="&lt;p&gt;Is there a way to detect the experience editor I am at is the editor in Email Experience Manager message body?&lt;/p&gt;&#xA;" OwnerUserId="2252" LastActivityDate="2018-05-11T06:22:29.327" Title="How to Detect Editor if it is in EXM body editor" Tags="|experience-editor|exm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11711" PostTypeId="1" AcceptedAnswerId="11850" CreationDate="2018-05-11T04:00:21.340" Score="4" ViewCount="475" Body="&lt;p&gt;Using DEF 2.01 and Sitecore 9.01, I'm consuming a RESTFUL api, returning JSON, with the methods being&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://mydomainname/experience-groups&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mydomainname/experience-groups&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://mydomainname/experience-groups/29&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mydomainname/experience-groups/29&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://mydomainname/experiences&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mydomainname/experiences&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://mydomainname/experiences/32&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mydomainname/experiences/32&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I can read and create experiences and experience-groups from the api calls that return the listings i.e. /experience-groups and /experiences and they fit well with the model of using GetIterableData in the processor as per the example in the DEF cookbook.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to also call /experiences/id and experience-groups/id for each item to get additional detail and also as experience-groups/id contains a list of experiences.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Im not sure how to implementing this as I have written my processor to be very generic and not contain any logic for getting child items or establishing relationships. Does anyone have any experience of using DEF with a RESTful api with relationships.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My processor code if that helps:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [RequiredEndpointPlugins(typeof(JsonServiceEndpointSettings))]&#xA;    public class ReadJsonApiProcessor : BaseReadDataStepProcessor&#xA;    {&#xA;        public ReadJsonApiProcessor()&#xA;        {&#xA;        }&#xA;        protected override void ReadData(&#xA;            Endpoint endpoint,&#xA;            PipelineStep pipelineStep,&#xA;            PipelineContext pipelineContext,&#xA;            ILogger logger)&#xA;        {&#xA;&#xA;            //add the data that was read from the file to a plugin&#xA;            var data = this.GetIterableData(settings, logger, pipelineContext);&#xA;&#xA;            JArray result = ExtractArray(settings, logger, data);&#xA;            logger.Info(&quot;{0} json objects were read from endpoint. (pipeline step: {1}, endpoint: {2})&quot;, result?.Count ?? 0, pipelineStep.Name, endpoint.Name);&#xA;&#xA;            var dataSettings = new IterableDataSettings(result);&#xA;&#xA;            //&#xA;            //add the plugin to the pipeline context&#xA;            pipelineContext.AddPlugin(dataSettings);&#xA;        }&#xA;&#xA;&#xA;        protected JToken GetIterableData(JsonServiceEndpointSettings endpointSettings,&#xA;           ILogger logger, PipelineContext pipelineContext)&#xA;        {&#xA;&#xA;            using (var client = new JsonRequestService().GetHttpClient(endpointSettings))&#xA;            {&#xA;&#xA;                JToken toReturn = null;&#xA;                var url = endpointSettings.Url;&#xA;                var response = client.GetAsync(url).Result;&#xA;                switch (response.StatusCode)&#xA;                {&#xA;                    case HttpStatusCode.OK:&#xA;                        toReturn = response.Content.ReadAsAsync&amp;lt;JToken&amp;gt;().Result;&#xA;                        logger.Debug($&quot;Object loaded (url={url})&quot;);&#xA;                        break;&#xA;                    case HttpStatusCode.NotFound:&#xA;                        logger.Info($&quot;Object not found (url={url})&quot;);&#xA;&#xA;                        break;&#xA;                    default:&#xA;                        logger.Warn($&quot;Error reading object information: {(int)response.StatusCode}-{response.ReasonPhrase} (url={url})&quot;);&#xA;                        pipelineContext.CriticalError = true;&#xA;&#xA;                        break;&#xA;                }&#xA;                return toReturn;&#xA;            }&#xA;        }&#xA;&#xA;        private JArray ExtractArray(JsonServiceEndpointSettings readJsonObjectsSettings, ILogger logger, JToken jToken)&#xA;        {&#xA;            var result = jToken == null ? new JArray() : jToken as JArray;&#xA;            if (result == null)&#xA;            {&#xA;                //select root node&#xA;                if (!string.IsNullOrEmpty(readJsonObjectsSettings?.RootJsonPath))&#xA;                {&#xA;                    try&#xA;                    {&#xA;                        result = jToken.SelectToken(readJsonObjectsSettings.RootJsonPath) as JArray;&#xA;                    }&#xA;                    catch (Exception ex)&#xA;                    {&#xA;                        logger.Error($&quot;Error using '{readJsonObjectsSettings.RootJsonPath}': {ex.Message}&quot;);&#xA;                    }&#xA;                }&#xA;            }&#xA;            return result;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2018-05-12T11:25:47.107" LastActivityDate="2018-05-18T08:50:52.007" Title="Consuming a RESTFUL API with entity relationships" Tags="|data-exchange-framework|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11712" PostTypeId="1" CreationDate="2018-05-11T04:49:20.070" Score="2" ViewCount="891" Body="&lt;p&gt;I have Helix-Habitat based solutions which contains lots of Foundation and Feature projects. I want to set a sequence / order of modules to perform Unicorn sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anybody guide me here?&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="73" LastEditDate="2018-05-12T11:23:43.537" LastActivityDate="2018-05-12T11:23:43.537" Title="Syncing configurations in predefined sequence" Tags="|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11713" PostTypeId="2" ParentId="11710" CreationDate="2018-05-11T06:22:29.327" Score="1" Body="&lt;p&gt;In Sitecore 8.2, if you edit a message from the Experience Editor, there are 2 parameters added to the url which allows you later to determine if you're in EXM message editor:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;sc_mode=edit&lt;/code&gt; - just info that you're in editing mode&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;exm=1&lt;/code&gt; - info that you're in EXM editing mode&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-05-11T06:22:29.327" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11714" PostTypeId="2" ParentId="11672" CreationDate="2018-05-11T07:45:53.780" Score="2" Body="&lt;p&gt;Few notes which might help you:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Yes, you can completely change the view of the rendering. SXA has clone rendering feature which allows you to clone existing rendering and provide a path to the updated/new *.cshtml view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0AkCe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0AkCe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;SXA is using &lt;a href=&quot;https://fullcalendar.io/&quot; rel=&quot;nofollow noreferrer&quot;&gt;FullCalendar.js&lt;/a&gt; plugin to display the calendar. You can read the documentation and see what is possible there in context of front-end UI changes. You will find the initialization of the calendar in &lt;code&gt;component-fullcalendar.js&lt;/code&gt; (for the Wireframe theme this file is attached to this item: &lt;code&gt;/sitecore/media library/Themes/Wireframe/scripts/component-fullcalendar&lt;/code&gt;). You can modify this as you want to keep in mind that this is SXA item and will be overridden while updating SXA to next version (would be better to have an extension theme).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Modify, play with it, have fun!&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-11T07:45:53.780" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="11716" PostTypeId="2" ParentId="11682" CreationDate="2018-05-11T07:54:39.553" Score="1" Body="&lt;p&gt;You can set the &lt;code&gt;Cache Html&lt;/code&gt; option from the &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/content/Your tenant/Your demoSXA/Settings/Site Grouping/Your demoSXA&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Your demoSXA&lt;/code&gt; is your site name here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KSPk3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KSPk3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can setup the Cache on the components which renders data from field and can ignore the Markup only components like, Containers, Splitters, Dividers, etc.&#xA;Setup the followings, and you will see the darastic results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qEYV3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qEYV3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Component Level cache can also be enabled from: &#xA;&lt;code&gt;Presentation &amp;gt; Cache Settings &amp;gt; Component Cache Setting&lt;/code&gt; &#xA;and select the caches you want to apply on the components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/S6Ety.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/S6Ety.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference Link:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/set_sxa_caching_options&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/set_sxa_caching_options&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-05-11T20:16:09.957" LastActivityDate="2018-05-11T20:16:09.957" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11717" PostTypeId="1" CreationDate="2018-05-11T07:56:41.617" Score="2" ViewCount="207" Body="&lt;p&gt;I have added a new language to my Sitecore installation (Control Panel &gt; Localization &gt; Add a new language). In this case I added Spanish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a new version of my page in Spanish and published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I view my site from a Spanish IP address, it does not serve the Spanish version. Should it do so?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apologies - I am not a developer but I understood this functionality should work out of the box.&lt;/p&gt;&#xA;" OwnerUserId="3138" LastEditorUserId="73" LastEditDate="2018-05-11T10:43:46.117" LastActivityDate="2018-05-11T14:17:44.637" Title="How to add and activate new language version?" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11718" PostTypeId="2" ParentId="11717" CreationDate="2018-05-11T08:22:41.833" Score="2" Body="&lt;p&gt;This functionality is not out of the box. If you want the language to be based on the IP, you can write a language processor that uses the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/ip_geolocation/ip_geolocation/getting_started_with_sitecore_ip_geolocation_service&quot; rel=&quot;nofollow noreferrer&quot;&gt;geo ip information&lt;/a&gt; (or write your own IP logic). But you will need to write a language processor. There is an old but still very useful post on this here: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-overriding-sitecore-39-s-logic-to-determine-the-context-language&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-overriding-sitecore-39-s-logic-to-determine-the-context-language&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ootb the language will be determined by:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the sc_lang query string parameter &lt;/li&gt;&#xA;&lt;li&gt;the language prefix in the path in the requested URL &lt;/li&gt;&#xA;&lt;li&gt;the language cookie associated with the context site &lt;/li&gt;&#xA;&lt;li&gt;or a default language&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Edit: just wrote a blog post on my latest experience doing location based language resolving. This might help: &lt;a href=&quot;https://ggullentops.blogspot.be/2018/05/sitecore-context-language-geo-ip-location.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.be/2018/05/sitecore-context-language-geo-ip-location.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-05-11T14:17:44.637" LastActivityDate="2018-05-11T14:17:44.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11719" PostTypeId="2" ParentId="11712" CreationDate="2018-05-11T08:52:36.950" Score="3" Body="&lt;p&gt;You need to use &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;dependencies=&quot;Foundation.Serialization,Foundation.Indexing&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;notation in your Unicorn config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you need module &lt;strong&gt;Feature.Navigation&lt;/strong&gt; to be dependent on &lt;strong&gt;Foundation.Serialization,Foundation.Indexing&lt;/strong&gt; modules you would make it like this &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;    &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;configuration name=&quot;Feature.Navigation&quot; description=&quot;Feature Navigation&quot; dependencies=&quot;Foundation.Serialization,Foundation.Indexing&quot; patch:after=&quot;configuration[@name='Foundation.Serialization']&quot;&amp;gt;&#xA;        &amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\feature\navigation\serialization&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; useDataCache=&quot;false&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Navigation.Templates&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/Feature/Navigation&quot; /&amp;gt;&#xA;            &amp;lt;include name=&quot;Feature.Navigation.Renderings&quot; database=&quot;master&quot; path=&quot;/sitecore/layout/renderings/Feature/Navigation&quot; /&amp;gt;&#xA;        &amp;lt;/predicate&amp;gt;&#xA;        &amp;lt;roleDataStore type=&quot;Unicorn.Roles.Data.ReverseHierarchyRoleDataStore, Unicorn.Roles&quot; physicalRootPath=&quot;$(sourceFolder)\feature\navigation\roles&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;        &amp;lt;rolePredicate type=&quot;Unicorn.Roles.RolePredicates.ConfigurationRolePredicate, Unicorn.Roles&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;include domain=&quot;modules&quot; pattern=&quot;^Feature Navigation .*$&quot; /&amp;gt;&#xA;        &amp;lt;/rolePredicate&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/configurations&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unicorn will automatically determine order of projects / modules based on this configuration therefore Foundation.Serialization and Foundation.Indexing modules will be synced first and then Feature.Navigation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use wildcards and set dependencies this way:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;dependencies=&quot;Foundation.*&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;which will automatically push current module to be synced after all Foundation one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see more examples on how to set dependencies in Unicorn in this &lt;a href=&quot;https://github.com/kamsar/Unicorn/blob/master/src/Unicorn/Standard%20Config%20Files/Unicorn.Configs.Dependency.config.example&quot; rel=&quot;nofollow noreferrer&quot;&gt;example config file in Unicorn GitHub&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sample configuration for this example / answer was taken from &lt;a href=&quot;http://helix.sitecore.net/principles/sitecore-items/development.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix documentation&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-11T15:10:48.793" LastActivityDate="2018-05-11T15:10:48.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11720" PostTypeId="2" ParentId="11471" CreationDate="2018-05-11T09:00:39.913" Score="2" Body="&lt;p&gt;In order to use suggestions please remember that you need to have:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;at least Sitecore 9.0&lt;/li&gt;&#xA;&lt;li&gt;Solr&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Before first usage you need to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the &lt;code&gt;solrconfig.xml&lt;/code&gt; for your index, you need to add suggest searchComponent and component need to be called &lt;strong&gt;sxaSuggester&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Create /suggest requestHandler in the same file&lt;/li&gt;&#xA;&lt;li&gt;Build the suggester &lt;a href=&quot;http://localhost:8983/solr/sitecore_sxa_master_index/suggest?suggest.build=true&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr/sitecore_sxa_master_index/suggest?suggest.build=true&lt;/a&gt;. This will also tell you if your component is working fine.&lt;/li&gt;&#xA;&lt;li&gt;And you can query for some suggestions: &lt;a href=&quot;http://localhost:8983/solr/sitecore_sxa_master_index/suggest?suggest.q=test&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr/sitecore_sxa_master_index/suggest?suggest.q=test&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that what you will see depends on Solr configuration. There are thousands of possible suggestion configurations on Solr!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding your issue: I can confirm that it was a bug and will be fixed in SXA 1.7.1. The problem was in this line:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ODh55.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ODh55.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a quick workaround while waiting for SXA 1.7.1 you can replace this line with: &lt;code&gt;text = data.html.replace(/(&amp;lt;([^&amp;gt;]+)&amp;gt;)/ig, &quot;&quot;)&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-11T09:00:39.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11721" PostTypeId="1" AcceptedAnswerId="11899" CreationDate="2018-05-11T10:48:44.980" Score="6" ViewCount="569" Body="&lt;p&gt;I had an issue with a pipeline step &quot;Resolve Target Item&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Env-nt:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore.NET 9.0.1 (rev. 171219)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Data Exchange Framework 2.0.1&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Installed packages:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Data Exchange Framework SDK 2.0.1&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore Provider for Data Exchange Framework 2.0.1(to store items in Sitecore)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My goal is to read list of entities from web service and create/update items in Sitecore. In &lt;a href=&quot;http://integrationsdn.sitecore.net/DataExchangeFramework/v2.0.1/cookbooks/custom-providers/implementing-a-provider/use-the-provider/add-pipeline-step-to-resolve-target-item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;the documentation&lt;/a&gt; we had following info: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If a matching item is found, that item is set as the target object in the pipeline context. This means that during the mapping process, this is the object that values will be written to. If no matching item is found, a new item is created. The new item is set as the target object in the pipeline context.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, in my solution new items created(I have duplicated items if I run the batch several times), but not updated. It seems that it can't understand which value to use as a unique one (just a clue). I verified the solution several times, but still can't find the root cause.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3 screenshots for the corresponding Sitecore item are added below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EGIqo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EGIqo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KWYuW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KWYuW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/8FXlg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8FXlg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Value Accessor:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9G9Iv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9G9Iv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Target folder(with duplicated items):&#xA;&lt;a href=&quot;https://i.stack.imgur.com/IRzRX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IRzRX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance for any suggestion/idea.&lt;/p&gt;&#xA;" OwnerUserId="3633" LastEditorUserId="3633" LastEditDate="2018-05-16T08:53:46.053" LastActivityDate="2019-05-17T12:17:43.173" Title="Pipeline Step to Resolve Target Item" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="15" ContentLicense="CC BY-SA 4.0" />
  <row Id="11722" PostTypeId="1" AcceptedAnswerId="11723" CreationDate="2018-05-11T11:08:34.327" Score="2" ViewCount="183" Body="&lt;p&gt;When sitecore 9 using new Azure setup has been installed there are 5 different database servers. I want to know why we have different database for Forms and individual database servers. &#xA; Also I am unable to connect to this database via MS-SQL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fEWuk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fEWuk.png&quot; alt=&quot;Sitecore 9 Azure database instances - PaaS&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1268" LastEditorUserId="73" LastEditDate="2018-05-12T11:31:21.677" LastActivityDate="2018-05-12T11:31:21.677" Title="Why Sitecore 9 Azure installation having 5 different database ? Not able to connect to these database using local SQL MS (Sitecore PaaS)" Tags="|azure|sql-database|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11723" PostTypeId="2" ParentId="11722" CreationDate="2018-05-11T12:24:31.710" Score="4" Body="&lt;p&gt;In the image you provided, there is only a single server. There are 4 databases that will run on that server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your picture, you have the Core DB, Forms DB, Master DB, and Web DB all running on the 'sitecore9-isobar-261150-sql' server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are used to running locally, you might be familiar with SQL Server Management Studio. This would be similar to connecting to Management Studio on the single server (your laptop/desktop) and then seeing 4 databases listed that you can browse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may wish to look at the Azure SQL documentation for more information: &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-servers-databases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-servers-databases&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A single database created within an Azure resource group with a combined set of compute and storage resources or an independent scale of compute and storage resources. An Azure SQL database is associated with an Azure SQL Database logical server, which is created within a specific Azure region.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2018-05-11T18:03:28.983" LastActivityDate="2018-05-11T18:03:28.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11724" PostTypeId="2" ParentId="11674" CreationDate="2018-05-11T12:27:46.070" Score="2" Body="&lt;p&gt;You may be looking for something like 'Stackla' which has an integration to Sitecore. It allows you to curate content from various social feeds and then embed it into your Sitecore site:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.sitecore.com/products/sitecore-experience-platform/cross-channel-delivery/stackla-user-generated-content-connector&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/products/sitecore-experience-platform/cross-channel-delivery/stackla-user-generated-content-connector&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you are looking for Social login functionality, you can accomplish that now using Federated Authentication. There is an example of how to do so with Facebook within the Habitat v9 branch on GitHub: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/habitat-federated-authentication-for-sitecore-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/habitat-federated-authentication-for-sitecore-9&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-05-11T12:27:46.070" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11727" PostTypeId="1" AcceptedAnswerId="11732" CreationDate="2018-05-11T14:08:30.917" Score="0" ViewCount="102" Body="&lt;p&gt;Currently, each time I'm doing deploying jss using&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jss deploy package -c -d&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need to manually unprotect the Item of my App Layout to include my placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uty4U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uty4U.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas how to stop this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3659" LastEditorUserId="70" LastEditDate="2018-05-11T15:43:26.493" LastActivityDate="2018-05-11T17:29:25.100" Title="JSS deploy vueJs - then I need to manually Unprotect Layout to add my placeholders" Tags="|presentation|placeholders|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11728" PostTypeId="1" CreationDate="2018-05-11T15:41:54.167" Score="1" ViewCount="216" Body="&lt;p&gt;Currently we have one Sitecore instance using Sitecore Redis Session State Provider, &lt;code&gt;Sitecore.SessionProvider.Redis.RedisSessionStateProvider&lt;/code&gt;, and another ASP.NET MVC application using Microsoft Redis Session State Provider, &lt;code&gt;Microsoft.Web.Redis.RedisSessionStateProvider&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the ways for both applications to share the same session state?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far, we could think of two approachs:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;ASP.NET MVC application using &lt;code&gt;Sitecore.SessionProvider.Redis.RedisSessionStateProvider&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore instance using &lt;code&gt;Microsoft.Web.Redis.RedisSessionStateProvider&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;As both Redis Session State Provider share the same interface, at a first glance, it should not be an issue.&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2018-05-11T15:41:54.167" Title="How can I share session between a Sitecore instance and an ASP.NET MVC application?" Tags="|session-state|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11729" PostTypeId="1" AcceptedAnswerId="11730" CreationDate="2018-05-11T15:45:48.600" Score="14" ViewCount="3633" Body="&lt;p&gt;I'm not 100% sure what JSS is and I want to experiment with some sample JSS apps and build a JSS app of my own.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-03-30T20:21:41.527" Title="What is JSS and how do I get started with building a JSS app?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11730" PostTypeId="2" ParentId="11729" CreationDate="2018-05-11T15:45:48.600" Score="26" Body="&lt;p&gt;&lt;strong&gt;What is JSS?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;JSS is an SDK - allows developers to build websites using JS frameworks (React, Angular, React Native &amp;amp; Vue)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore is used as a Headless CMS - to provide the Sitecore item’s presentation details as JSON.&lt;/li&gt;&#xA;&lt;li&gt;It has Full support for the Sitecore Experience Platform - Experience Editor, Personalization, MV testing &amp;amp; Tracking / Analytics (via server-side rendering).&lt;/li&gt;&#xA;&lt;li&gt;Apps can be built entirely disconnected from Sitecore - then deployed to Sitecore later (Sitecore install not required)&lt;/li&gt;&#xA;&lt;li&gt;You can build your apps Code-first or Sitecore first depending on your requirements and experience.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Architecture&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZVDAA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZVDAA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Integration &amp;amp; Data Flow&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ppdvj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ppdvj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Release Process&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It is developed by Team X at Sitecore outside of the usual Sitecore&#xA;release schedules.&lt;/li&gt;&#xA;&lt;li&gt;JSS Is currently in Tech Preview (v9)&lt;/li&gt;&#xA;&lt;li&gt;JSS Version 10 will be released with Sitecore with the release of Sitecore 9.1 and this will be the General Release so will be officially supported by Sitecore.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pre-requisites&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure you have the following pre-requisites installed:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore 9.x (with a Consumption based licence with JSS included)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Node JS version 6.9 or above&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;NPM version 5.7 or above or yarn&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Installing JSS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Download and install two jss server packages in sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) JSS Server Package &lt;a href=&quot;https://dev.sitecore.net/~/media/AEB22B31C5F84BA2902B12E897F1316E.ashx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/~/media/AEB22B31C5F84BA2902B12E897F1316E.ashx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Infrastructure Package&#xA;&lt;a href=&quot;https://dev.sitecore.net/~/media/E23F0D52EB1544228D89E57A6D7E0233.ashx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/~/media/E23F0D52EB1544228D89E57A6D7E0233.ashx&lt;/a&gt;&#xA;(optional but needed to deploy your App to Sitecore)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/90_Tech_Preview/Sitecore_JavaScript_Services_90_Tech_Preview_3.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/90_Tech_Preview/Sitecore_JavaScript_Services_90_Tech_Preview_3.aspx&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Apply this to the web.config at the bottom of the system.webServer/handlers section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&lt;code&gt;&amp;lt;add verb=&quot;*&quot; path=&quot;sitecorejss_media.ashx&quot; type=&quot;Sitecore.JavaScriptServices.Media.MediaRequestHandler, Sitecore.JavaScriptServices.Media&quot; name=&quot;Sitecore.JavaScriptServices.Media.MediaRequestHandler&quot; /&amp;gt;&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Apply this to the web.config inside the system.webServer/modules section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&lt;code&gt;&amp;lt;add name=&quot;Sitecore.JavaScriptServices.Ship.ShipFilter&quot; type=&quot;Sitecore.JavaScriptServices.Ship.ShipFilter, Sitecore.JavaScriptServices.Ship&quot; /&amp;gt;&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add an API Key in the Core Database here :/sitecore/system/Settings/Services/API Keys&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Verify everything is working ok by going to: &lt;a href=&quot;http://sitecore-host/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey=&quot; rel=&quot;noreferrer&quot;&gt;http://sitecore-host/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey=&lt;/a&gt;{YOUR_API_KEY}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There is more info on this here:&#xA;&lt;a href=&quot;https://jss.sitecore.net/#/setup/jss-server-install?id=jss-server-install&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.net/#/setup/jss-server-install?id=jss-server-install&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Running A Sample JSS App&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This example is for the React Example App.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a new binding for ‘JssBasicAppReactWeb’ under sitecore in iis &amp;amp; your hosts file &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Using command prompt run:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&lt;code&gt;npm install -g @sitecore-jss/sitecore-jss-cli&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Choose a jss application template (we will use basic-sample-react)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Using command prompt run:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&lt;code&gt;jss create my-first-jss-app basic-sample-react&#xA;jss start&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Test the static site on: &lt;a href=&quot;http://localhost:3001&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:3001&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Using command prompt run:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&lt;code&gt;jss setup&lt;/code&gt;&lt;/em&gt;  - then follow setup steps&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&lt;code&gt;jss deploy config&#xA;Jss deploy package&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Test the connected site on: &lt;a href=&quot;http://JssBasicAppReactWeb&quot; rel=&quot;noreferrer&quot;&gt;http://JssBasicAppReactWeb&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;There is more info on this here: &lt;a href=&quot;https://jss.sitecore.net/#/setup/quick-start-dev&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.net/#/setup/quick-start-dev&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sample Template Apps&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sample apps can be found on Github here:&#xA;&lt;a href=&quot;https://github.com/Sitecore/jss&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/jss&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;More Resources&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.net&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.net&lt;/a&gt; - the official docs&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=qC5q0Z2GLAk&amp;amp;t=529s&quot; rel=&quot;noreferrer&quot;&gt;https://www.youtube.com/watch?v=qC5q0Z2GLAk&amp;amp;t=529s&lt;/a&gt; - a video of me talking about what JSS is, how it works and a demo of the install process etc (from the Sitecore Sessions organised by Woodrow Mercer)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=vW57a02oHZ0&quot; rel=&quot;noreferrer&quot;&gt;https://www.youtube.com/watch?v=vW57a02oHZ0&lt;/a&gt; - a video I created&#xA;taking you through the install process&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://www.flux-digital.com/blog/getting-started-sitecore-jss/&quot; rel=&quot;noreferrer&quot;&gt;http://www.flux-digital.com/blog/getting-started-sitecore-jss/&lt;/a&gt; - a&#xA;blog post I wrote on Jss. The commands are for Tech Preview 1 so see&#xA;above for the new commands for TP4. I will write a follow up for this&#xA;soon.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-10-25T23:50:05.270" LastActivityDate="2018-10-25T23:50:05.270" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11732" PostTypeId="2" ParentId="11727" CreationDate="2018-05-11T16:13:38.527" Score="2" Body="&lt;p&gt;The placeholders for the layout item are handled a bit differently than placeholders defined within your JS components because they are the top level placeholders that Layout Service needs to render.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Two potential solutions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a component that is assigned to the &lt;code&gt;main&lt;/code&gt; placeholder. Then in that component declare your &lt;code&gt;PH__footer&lt;/code&gt;, &lt;code&gt;PH__header&lt;/code&gt; and &lt;code&gt;PH__main&lt;/code&gt; placeholders. Be sure to update your manifest declarations accordingly.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &lt;code&gt;/sitecore/config/jss-basic-app-vue-web.config&lt;/code&gt; file in your JS app, find the &lt;code&gt;/configuration/sitecore/javaScriptServices/apps/app&lt;/code&gt; node and add the following attribute:&#xA;&lt;code&gt;rootPlaceholders=&quot;main,PH__footer,PH__header,PH__main&quot;&lt;/code&gt;&#xA;This will tell the import service which placeholders should be defined for the JSS app layout. Be sure to deploy/copy your modified config file to your Sitecore instance after making the change.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For #2, the &lt;code&gt;app&lt;/code&gt; config node inherits default values from the app definition found in &lt;code&gt;/App_Config/Sitecore/JavaScriptServices/Sitecore.JavaScriptServices.Apps.config&lt;/code&gt; in your Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also note: these approaches are valid for the other JS libs as well, e.g. React, Angular.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="3659" LastEditDate="2018-05-11T17:29:25.100" LastActivityDate="2018-05-11T17:29:25.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11733" PostTypeId="1" AcceptedAnswerId="11734" CreationDate="2018-05-12T19:58:17.630" Score="6" ViewCount="937" Body="&lt;p&gt;I have an issue with developers editing datasources for components in a page and those components being left locked after they have saved and left the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example is editor edits Page A, which has a rich text component and a datasource to an item that is located under the page (/_local/rte). When the editor edits the rich text item, Sitecore automatically locks it. This is a benefit so they do not have check it out for edit. But when the editor is complete, saves the item and even checks it in. The datasource items are left locked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The answer seems to be to set the Sitecore setting &lt;code&gt;AutomaticUnlockOnSaved&lt;/code&gt; to true. This causes items to unlock when saved. The only issue is that it only does this when saving an item in the content editor. NOT the experience editor. And in the content editor, it only unlocks the current item. Not the datasource items for all the components in the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoreart.martinrayenglish.com/2016/02/sitecore-8x-component-datasource-item.html&quot; rel=&quot;noreferrer&quot;&gt;http://sitecoreart.martinrayenglish.com/2016/02/sitecore-8x-component-datasource-item.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone dealt with this issue before? I haven't used SXA in a while, I wonder if they solved it there, since SXA is so components based.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems like maybe I need to add a SaveUI pipeline processor to unlock the child items on save. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-05-12T20:24:42.980" Title="Automatic locking of datasource items, but not unlocking" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11734" PostTypeId="2" ParentId="11733" CreationDate="2018-05-12T20:24:42.980" Score="2" Body="&lt;p&gt;So the answer has a few levels to it. First make sure this setting is set to true.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;AutomaticUnlockOnSaved&quot; value=&quot;true&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also in the Sitecore settings there is a setting specifically for admins, so they don't leave items locked. The key is &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;For regular users, the &quot;Keep Lock After Save&quot;item in the core database&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;! - KEEP LOCK AFTER SAVE FOR ADMIN USERS &#xA;    Set this value to true if you want to &#xA;    . &#xA;    Notice: For regular users, the &quot;Keep Lock After Save&quot; item in the core database will determine whether &#xA;    to lock or not. &#xA;    Default value: false &#xA;-&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I denied my user role access to the core database item &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Settings/Security/Policies/Page Editor/Keep Lock After Save&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All my items were no longer locked after save. Perfect.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-05-12T20:24:42.980" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11735" PostTypeId="2" ParentId="9461" CreationDate="2018-05-13T05:09:11.453" Score="0" Body="&lt;p&gt;The issue i had was that i first tried provisioning 'Sitecore 9.0.1 rev. 171219 (WDP XPSingle packages)'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then switched to 'Sitecore 9.0.1 rev. 171219 (WDP XMSingle packages)' as i was having issues and wanted to start with a more simple configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I placed the WDP packages for XPSingle in blob storage, i then went to upload the single WDP for XMSingle and found the WDP was named the same. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However when looking more closely at the two WDPs, i found the parameters.xml in the root had slightly different configuration relating to EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So i upload into different folders, switched the WDP URL and everything worked. I hope this helps you or someone else that approached it the same way as me.&lt;/p&gt;&#xA;" OwnerUserId="125" LastActivityDate="2018-05-13T05:09:11.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11736" PostTypeId="1" CreationDate="2018-05-13T08:40:35.660" Score="3" ViewCount="1887" Body="&lt;p&gt;I did an upgrade to SXA from version 1.6 to version 1.7. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After publishing my site, I got the warning message &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore Experience Accelerator Content Upgrade Required&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;with an upgrade button. but when i click upgrade and open the Powershell script results i find it empty, it doesn't contain any upgrade steps! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, i still get the same warning message even when i create a new site or a new tenant.&#xA;Any clue why i keep getting this warning although the Powershell script results is empty ?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="1671" LastEditDate="2018-06-29T14:36:56.390" LastActivityDate="2018-06-30T10:08:06.760" Title="SXA Upgrade gives warning &quot;Sitecore Experience Accelerator Content Upgrade Required&quot;" Tags="|sxa|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11737" PostTypeId="2" ParentId="11552" CreationDate="2018-05-13T12:04:11.077" Score="2" Body="&lt;p&gt;The reason your file is not coming through is because the form is sent over ajax and is not using the &lt;code&gt;enctype=&quot;multipart/form-data&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is caused by the script &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script src=&quot;/sitecore%20modules/Web/ExperienceForms/scripts/jquery.unobtrusive-ajax.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;loaded via &lt;code&gt;@Html.RenderFormScripts()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info on this script can be found here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/20643512/upload-is-null-after-adding-jquery-unobtrusive-ajax-js-reference&quot;&gt;https://stackoverflow.com/questions/20643512/upload-is-null-after-adding-jquery-unobtrusive-ajax-js-reference&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;There are 2 options:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;use an &lt;code&gt;asynchronous upload via ajax&lt;/code&gt;    &lt;/li&gt;&#xA;&lt;li&gt;or modify the &lt;code&gt;jquery.unobtrusive-ajax.min.js&lt;/code&gt; script.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3675" LastEditorUserId="5387" LastEditDate="2019-06-05T07:57:30.243" LastActivityDate="2019-06-05T07:57:30.243" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11739" PostTypeId="2" ParentId="11687" CreationDate="2018-05-13T13:39:44.843" Score="1" Body="&lt;p&gt;Yes, you can migrate you Commerce Server Catalog to XC9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all, you need to extend Catalog system entities schema &lt;a href=&quot;https://kb.sitecore.net/articles/083614&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Detailed instruction you can find &lt;a href=&quot;https://websterian.com/2018/05/11/sitecore-commerce-9-x-showing-custom-product-attributes-on-the-product-details-page-using-sxa/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, you can implement your custom plugin in XC9 and and call there Commerce Server Service API for get catalog structure/data. Use XC9 Engine API for create the same catalog in SC9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look at Postman Collections (Sitecore.Commerce.Engine.SDK), which Sitecore team provides OOTB. You can find there all examples of requests to SC Engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When your catalog will be created in XC9, you can use Postman request for export you catalogs. Also you can create your custom environment and add there some pipelines which will create catalog base on your exported catalog during &lt;code&gt;InitializeEnvironment&lt;/code&gt; your custom environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an example, you can look at &lt;code&gt;Plagin.Sample.Habitat&lt;/code&gt; project.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-05-13T13:39:44.843" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11740" PostTypeId="1" CreationDate="2018-05-13T16:35:54.770" Score="5" ViewCount="607" Body="&lt;p&gt;I'm enjoying JSS so far but have some general questions about what I perceive as &quot;overhead&quot; work involved in setting up the routes, component definitions and such.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I want to add a component, this is my understanding of what needs to be done:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create the component itself.&lt;/li&gt;&#xA;&lt;li&gt;Add entries for the component and its fields to a data/routes yaml.&lt;/li&gt;&#xA;&lt;li&gt;Create a Sitecore definition file for the component (ComponentName.sitecore.js)&lt;/li&gt;&#xA;&lt;li&gt;Import the component to ComponentFactory and set it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This means:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We have similar sets of data repeated in the component prop types, the routes yaml, and the definition file.&lt;/li&gt;&#xA;&lt;li&gt;Anytime I want to modify a component (say to add a new field), I have to update those three files.&lt;/li&gt;&#xA;&lt;li&gt;Initial setup of the routes yamls could be very time consuming, manually filling out multiple pages'/routes' worth of data.&lt;/li&gt;&#xA;&lt;li&gt;The main interface for rearranging components and editing their data is a yaml file. Again, this seems potentially time consuming and tedious.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So, I guess my questions are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Have I summarized this correctly? Am I over- or understating the amount of overhead?&lt;/li&gt;&#xA;&lt;li&gt;Are there existing workflow suggestions to mitigate the overhead? (Code-first sounds like the best workflow to me, but perhaps Sitecore-first would help with this?)&lt;/li&gt;&#xA;&lt;li&gt;Are there plans to automate some of this or otherwise reduce the complexity? Perhaps the definitions, for example, could be auto-generated from the yaml and/or component prop types?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And finally, I found this blurb on the JSS documentation site, but don't understand it:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The manifest is generated by taking the YAML or JSON manifest data files described previously and reading them, then adding them to a JavaScript API that generates the manifest. This means that you can replace the JSON or YAML files with direct JS API calls, should you wish to do so. The sample apps use the convention of the /data folder as a convention only - the actual manifest is created using the manifest source files in /sitecore/definitions/*.sitecore.js. These manifest definition files use helper libraries to crawl the YAML/JSON files and add them to the JS manifest object. If you wish to extend or replace the /data convention, that's entirely possible.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So...&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Can you explain the above and whether there are some possibilities here around what I've been asking?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Sorry for the long question, and thanks in advance. I look forward to working with JSS as it evolves.&lt;/p&gt;&#xA;" OwnerUserId="3672" LastActivityDate="2018-05-14T14:35:50.957" Title="Understanding the overhead involved with routes and definitions" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11744" PostTypeId="2" ParentId="11708" CreationDate="2018-05-14T07:12:22.433" Score="4" Body="&lt;p&gt;Currently, OOTB Sitecore does not keep track of published item. However, you can create your own. You can do so by listening the the event &lt;code&gt;publish:itemProcessed&lt;/code&gt;. Below is a code snippet which you can use to store those data.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnItemProcessed(object sender, EventArgs args)&#xA;{&#xA;    var itemArgs = args as ItemProcessedEventArgs;&#xA;&#xA;    if (itemArgs != null)&#xA;    {&#xA;        var publishContext = itemArgs.Context.PublishContext;&#xA;&#xA;        var processedItems = publishContext.ProcessedItems;&#xA;&#xA;        foreach (var processedItem in processedItems)&#xA;        {&#xA;            var item = Factory.GetDatabase(&quot;master&quot;).Items.GetItem(new ID(processedItem));&#xA;&#xA;            if (item != null)&#xA;            {&#xA;                //The Logic to store details about the item.&#xA;&#xA;                //Code is for retrieving the user who launched the publish&#xA;                var username = publishContext.PublishOptions.UserName&#xA;            }                &#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can store the data within a table and then query it to retrieve the data. You can add it on the Sitecore LaunchPad with a filter of the date range. Then you have a method which will generate the report based on the input.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have the piece of code ready, you need to attach it to the event as shown below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;events timingLevel=&quot;custom&quot;&amp;gt;&#xA;   &amp;lt;event name=&quot;publish:itemProcessed&quot;&amp;gt;&#xA;     &amp;lt;handler type=&quot;YourNamespace.ClassName, YourAssembly&quot; method=&quot;OnItemProcessed&quot; /&amp;gt;&#xA;   &amp;lt;/event&amp;gt;&#xA;&amp;lt;/events&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-05-14T12:09:09.013" LastActivityDate="2018-05-14T12:09:09.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11746" PostTypeId="1" CreationDate="2018-05-14T09:13:20.273" Score="0" ViewCount="41" Body="&lt;p&gt;i am wondering why did i could create the same &lt;code&gt;Item&lt;/code&gt; repeatedly and remove the same item repeatedly on the same requests. Does Sitecore automatically commits database changes on the end of requests?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        Database master = Database.GetDatabase(&quot;master&quot;);&#xA;        Item folder = master.GetItem(new ID(&quot;{098D8157-4B17-4061-A392-12EABFDFA13F}&quot;));&#xA;&#xA;        TemplateID templateId = new TemplateID(new ID(&quot;{A87A00B1-E6DB-45AB-8B54-636FEC3B5523}&quot;));&#xA;        //ec02041d-a4d0-478e-920e-4a2a0e48d51c&#xA;        ID id = new ID(&quot;ec02041d-a4d0-478e-920e-4a2a0e48d51c&quot;);&#xA;        Item i = folder.Add(&quot;testItem&quot;, templateId, id);&#xA;        folder.Database.Engines.DataEngine.CreateItem(&quot;testItem&quot;, folder, templateId.ID, id);&#xA;        i = folder.Add(&quot;testItem&quot;, templateId, id);&#xA;        i = folder.Add(&quot;testItem&quot;, templateId, id);&#xA;        i = folder.Add(&quot;testItem&quot;, templateId, id);&#xA;        i = folder.Add(&quot;testItem&quot;, templateId, id);&#xA;        i = folder.Add(&quot;testItem&quot;, templateId, id);&#xA;        i = folder.Add(&quot;testItem&quot;, new TemplateID(new ID(&quot;{BA3DAAD7-CB67-4BDC-B623-F25C96E785B7}&quot;)), id);&#xA;        i.Delete();&#xA;        i.Delete();&#xA;        i.Delete();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code above runs smoothly and no exception - I was expecting an exception since I am adding the same Item with the same ID more than once.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does Sitecore automatically commit the above code at end of request or some 'context'?&lt;/li&gt;&#xA;&lt;li&gt;Is it perhaps the &lt;code&gt;DataEngine&lt;/code&gt; is designed that way so that user wont accidentally delete non-existent item and caught an exception?&lt;/li&gt;&#xA;&lt;li&gt;How could i 'commit' those changes manually?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Fiddling the api a bit do no luck..&lt;/p&gt;&#xA;" OwnerUserId="1825" LastEditorUserId="73" LastEditDate="2018-05-14T09:24:25.120" LastActivityDate="2018-05-14T09:24:25.120" Title="Sitecore Item Api Fail Fast" Tags="|sitecore-api|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11747" PostTypeId="1" AcceptedAnswerId="11755" CreationDate="2018-05-14T10:19:41.510" Score="1" ViewCount="300" Body="&lt;p&gt;I am using Sitecore 9.0 without SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an existing website (20-30 pages - mainly brochureware) for a certain brand and for a specific country. I now need to create another website with the same look &amp;amp; feel (same layout, renderings etc. etc.) for a second country. The idea is that the second contry uses everything exactly as it is but changes the copy/text and maybe some images.&#xA;What is the best way to do this? Following are the options I have looked at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.) Let's say that in the content for the existing site, SiteA, is in /sitecore/content/.../CountryA. Make a copy of the content branch CountryA for SiteB in /sitecore/content/.../CountryB and add a site entry in the Sitecore config for SiteB. The problem with this is that all the DataSources have absolute paths ( e.g. /sitecore/content/.../CountryA/Home/ContentItem1) so most of the content is still coming from /sitecore/content/.../CountryA!&#xA;This still seems like the easiest way. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.) Relative data source path (as suggested in &lt;a href=&quot;https://stackoverflow.com/questions/38823601/sitecore-set-a-relative-data-source-while-using-branch&quot;&gt;https://stackoverflow.com/questions/38823601/sitecore-set-a-relative-data-source-while-using-branch&lt;/a&gt;). This option does not seem to be available in Control Properties (accessed via content item presentation details).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.) Branch template. This could help a bit but once you consider all the effort to create a branch template and then you still have to create all the content items - not sure if it is easier this way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any pointers / suggestions would be greatly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3345" LastActivityDate="2018-05-14T14:20:08.820" Title="How to create a new website from an existing website with only the content items different?" Tags="|content-editor|multisite|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11748" PostTypeId="1" AcceptedAnswerId="11749" CreationDate="2018-05-14T10:42:47.340" Score="2" ViewCount="3415" Body="&lt;p&gt;After I added new connection string into &lt;code&gt;ConnectionStrings.config&lt;/code&gt; file, I cannot log into Sitecore and getting this exception:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rOeMZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rOeMZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Exception textually:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; Server Error in '/' Application.&#xA;&#xA;&gt; One or more exceptions occurred while processing the subscribers to the 'property:changed' event.&#xA;&gt; Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;&gt; Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'property:changed' event.&#xA;&#xA;&gt; Source Error: &#xA;&#xA;&gt; An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;&gt; Stack Trace: &#xA;&#xA;&#xA;&gt; [AggregateException: One or more exceptions occurred while processing the subscribers to the 'property:changed' event.]&#xA;   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1849&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +422&#xA;   Sitecore.Data.Properties.PropertyStore.RaiseEvent(String name, Object[] parameters) +85&#xA;   Sitecore.Web.Authentication.DefaultTicketManager.IsTicketExpired(Ticket ticket, Boolean useProlongation) +357&#xA;   Sitecore.Web.Authentication.DefaultTicketManager.GetTicket(String ticketId, Boolean returnExpired) +118&#xA;   Sitecore.Web.Authentication.DefaultTicketManager.IsTicketValid(String ticketId) +49&#xA;   Sitecore.Shell.Web.ShellPage.IsLoggedIn(Boolean returnAfterLogin) +314&#xA;   Sitecore.Shell.Web.UI.SecurePage.OnLoad(EventArgs e) +22&#xA;   System.Web.UI.Control.LoadRecursive() +154&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4088&#xA;&#xA;&gt; Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2623.0&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="73" LastEditDate="2019-08-09T10:41:06.577" LastActivityDate="2020-02-10T12:10:13.320" Title="Adding new connection into ConnectionStrings.config gives &quot;exceptions occurred while processing the subscribers to the 'property:changed' event&quot;" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11749" PostTypeId="2" ParentId="11748" CreationDate="2018-05-14T10:59:28.560" Score="2" Body="&lt;p&gt;I have found root cause of this issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Database that should correspond to connection string was not present on SQL Server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was trying to add new publishing target to my Sitecore instance, therefore I have added new connection string for secondary web database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have forgotten to attach database into SQL Server and hence exception from Question. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, exception shown to the Sitecore user is not so descriptive and lead me nowhere.&#xA;Indication for resolution was found in these exceptions in Sitecore error log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #2 12:56:18 ERROR Exception processing remote events from database: web_secondary&#xA;  Exception: System.Data.SqlClient.SqlException&#xA;  Message: Login failed for user 'webuser'.&#xA;  Source: .Net SqlClient Data Provider&#xA;     at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;     at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource&lt;code&gt;1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;     at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource&lt;/code&gt;1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connection)&#xA;     at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource&lt;code&gt;1 retry, DbConnectionOptions userOptions)&#xA;     at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource&lt;/code&gt;1 retry)&#xA;     at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource&lt;code&gt;1 retry)&#xA;     at System.Data.SqlClient.SqlConnection.Open()&#xA;     at Sitecore.Data.DataProviders.Sql.DataProviderCommand..ctor(IDbCommand command, DataProviderTransaction transaction, Boolean openConnection)&#xA;     at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;&amp;gt;c__DisplayClass26_0.&amp;lt;CreateCommand&amp;gt;b__0()&#xA;     at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func&lt;/code&gt;1 action, Action recover)&#xA;     at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;&gt;c__DisplayClass29_0.b__0()&#xA;     at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func&lt;code&gt;1 action, Action recover)&#xA;     at Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateReader(String sql, Object[] parameters)&#xA;     at Sitecore.Data.DataProviders.Sql.SqlDataApi.&amp;lt;CreateObjectReader&amp;gt;d__27&lt;/code&gt;1.MoveNext()&#xA;     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable&lt;code&gt;1 source)&#xA;     at Sitecore.Eventing.EventQueue.ProcessEvents(Action&lt;/code&gt;2 handler)&#xA;     at Sitecore.Eventing.EventProvider.RaiseQueuedEvents()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Hopefully this will help somebody with same exception. This is possible solution for you :)&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-05-14T10:59:28.560" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11750" PostTypeId="1" CreationDate="2018-05-14T11:33:52.973" Score="1" ViewCount="254" Body="&lt;p&gt;There are few languages in CMS other than English, which are no longer needed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have removed them from &lt;code&gt;control panel &amp;gt; delete language&lt;/code&gt;, but after a log out &amp;amp; login, they re appear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am i doing wrong here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-05-14T11:50:27.103" Title="How to remove languages" Tags="|content-management|" AnswerCount="0" CommentCount="6" ClosedDate="2018-05-14T13:26:45.230" ContentLicense="CC BY-SA 4.0" />
  <row Id="11751" PostTypeId="1" AcceptedAnswerId="11757" CreationDate="2018-05-14T11:39:00.167" Score="8" ViewCount="1858" Body="&lt;p&gt;Is there a way to remove all the Analytics data?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our instance will go live soon and we would like to start capturing data afresh.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried rebuilding the database (secondary reporting) using the RebuildDatabase admin page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the Experience Analytics still shows some data like graphs, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other way to achieve what I'm trying to do, like deleting records from Mongo DB etc?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="2056" LastEditDate="2018-05-14T11:45:03.580" LastActivityDate="2019-01-17T20:58:32.343" Title="How to clean up analytics data?" Tags="|experience-analytics|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11752" PostTypeId="2" ParentId="11751" CreationDate="2018-05-14T11:47:24.283" Score="4" Body="&lt;p&gt;Have you tried Analytics Database Manager? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have used this Module many many times.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 1:&lt;/strong&gt; With ADM you can clean up analytics data from a specific date range. You can clean up: &lt;em&gt;Contacts, Interactions, User Agents, Devices and Form Data.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/QL2cl.png&quot; alt=&quot;Sitecore Analytics Database Manager&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 2:&lt;/strong&gt; You can also detach the old reporting-db, attach a clean Sitecore.Analytics.mdf and change the connectionString to the mongo db's. Sitecore will than add the new mongo-databases from scratch.&lt;/p&gt;&#xA;" OwnerUserId="1183" LastEditorUserId="1183" LastEditDate="2018-05-14T17:28:11.563" LastActivityDate="2018-05-14T17:28:11.563" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11754" PostTypeId="2" ParentId="6663" CreationDate="2018-05-14T13:30:46.213" Score="2" Body="&lt;p&gt;Even though &lt;code&gt;&amp;lt;untrackedPages&amp;gt;&lt;/code&gt; can be used to address your issue, I'd consider skipping the entire execution of request for *.js, *.map and fonts resources by using IgnoreURLPrefix in your web.config &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;IgnoreUrlPrefixes&quot; value=&quot;/sitecore/default.aspx|/trace.axd|/webresource.axd|/sitecore/shell/Controls/Rich Text Editor/Telerik.Web.UI.DialogHandler.aspx|/sitecore/shell/applications/content manager/telerik.web.ui.dialoghandler.aspx|/sitecore/shell/Controls/Rich Text Editor/Telerik.Web.UI.SpellCheckHandler.axd|/Telerik.Web.UI.WebResource.axd|/sitecore/admin/upgrade/|/layouts/testing|/sitecore/service/xdb/disabled.aspx|/sitecore/shell/client/applications/pathanalyzer/help/fonts/*|/sitecore/shell/client/speak/assets/lib/ui/1.1/deps/nvd3/*.map&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will skip Sitecore request processing pipeline and thus save your precious CPU processing time - unless you're storing those files as Sitecore media assets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This doesn't address the issue with &lt;em&gt;/api/sitecore/settings/setuserprofilekey&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Just a note: the issue you're describing is because you're either using your CM to browsing the site and didn't turn off the analytics or you're using co-located CM/CD deployment. In a properly scaled environment, you should not be seeing it.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope it helps.&lt;/p&gt;&#xA;" OwnerUserId="1760" LastEditorUserId="1760" LastEditDate="2018-05-14T13:38:09.743" LastActivityDate="2018-05-14T13:38:09.743" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11755" PostTypeId="2" ParentId="11747" CreationDate="2018-05-14T14:20:08.820" Score="0" Body="&lt;p&gt;We do this quite often, with far larger sites.&#xA;The sites run on the same templates and code.&#xA;For sites with more variation, we've created a second set of templates that can be configured slightly differently, while still running on the same code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Firstly, you need to know where your content is - including data sources.&#xA;If you have a structure where Your data sources and pages are contained within a single folder, then this can be copied as a whole.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At that point, you'll need to script a solution to localize any links and references. You will be able to do this using a fairly simple path replacement, as each site will have the same relative structure. The easiest way to script this is to look up each item's entries in the link database. You will need to exclude all references that are external to the site folder (e.g. to rendering items)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll also have to decide if the media library for the site will be shared, replicated or partially shared (e.g. site 2 can use site 1 media, but can only add new media in its own part of the library).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your relative data source for presentation components needs to be set on the Datasource Location field of the rendering item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, you will also need to incorporate relative paths for any presentation components with a datasource that you include in standard values for a page.&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2018-05-14T14:20:08.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11756" PostTypeId="2" ParentId="11740" CreationDate="2018-05-14T14:35:50.957" Score="4" Body="&lt;p&gt;That's a lot of questions for one question :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Your summary is roughly correct. A good way of thinking about the interlocking pieces is that the &lt;code&gt;.sitecore.js&lt;/code&gt; component definition is defining your component's data schema, the &lt;code&gt;.yaml&lt;/code&gt; an instance of that schema, and the React component the presentation of an instance of the schema.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the data is a bit repeated, yes, but there's a reason for it aside from sloppy architecture. An early version of JSS relied entirely on PropTypes to define the data structure. Unfortunately, PropTypes doesn't support the kind of rich data structures Sitecore can and is quite messy to extract from, and that evolved into what we have today to enable supporting non-sample-grade development.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've also played with inferring the schema from the content, but that also suffers from lack of metadata (is that URL value a text field? a link? a rich text field?). It's also subject to human error - we can validate that the content data follows a consistent schema, resulting in typos in content data not creating new random fields in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2/3) We are investigating ways to infer the &lt;code&gt;ComponentFactory&lt;/code&gt; at build time because that is definitely a place that seems like it could be automated. That is however something that would be React-specific.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Sure thing. The manifest is a dynamic JS API, and the YAML files are just a handy convention that feeds them. If you want to change how the manifest is composed - or implement your own conventions, such as inferring components from route data using some non-generic rule set of your own, you can. See the files in &lt;code&gt;/sitecore/definitions&lt;/code&gt;, especially &lt;code&gt;routes.sitecore.js&lt;/code&gt;, where the logic is for parsing the YAML/JSON files and adding them to the manifest JS API. Our implementation in the sample apps is just that - a sample, which may not be one size fits all for everyone. So we left it flexible for extension.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're always open to feedback, so happy to hear it if you've got more ideas.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-05-14T14:35:50.957" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11757" PostTypeId="2" ParentId="11751" CreationDate="2018-05-14T15:03:44.893" Score="5" Body="&lt;p&gt;This is quite simple, but anyway:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Truncate your mongo db. (You can just clean the folder on the server)&lt;/li&gt;&#xA;&lt;li&gt;Attach a reporting database from a vanilla sitecore instance&lt;/li&gt;&#xA;&lt;li&gt;Clean the analytics index (simply rebuild it or attach one from the vanilla instance)&lt;/li&gt;&#xA;&lt;li&gt;Refresh the reporting cache (&lt;a href=&quot;https://learnsitecorebasics.wordpress.com/tag/refresh-aggregated-data-in-reports/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://learnsitecorebasics.wordpress.com/tag/refresh-aggregated-data-in-reports/&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="982" LastEditorUserId="342" LastEditDate="2019-01-17T20:58:32.343" LastActivityDate="2019-01-17T20:58:32.343" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11758" PostTypeId="1" AcceptedAnswerId="11772" CreationDate="2018-05-14T15:23:24.023" Score="1" ViewCount="446" Body="&lt;p&gt;I'm trying to modify Sitecore default behaviour to search also in accordions content. I have checked &lt;code&gt;Is Displayed in Search Results&lt;/code&gt; at &lt;code&gt;/sitecore/templates/Feature/Experience Accelerator/Composites/Datasource/Accordion/Accordion Item/Accordion Item/Content&lt;/code&gt; but it's not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3604" LastEditorUserId="70" LastEditDate="2018-05-14T15:47:21.333" LastActivityDate="2018-05-15T06:46:07.237" Title="How can I modify SXA search component to search also in the Accordions content?" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11759" PostTypeId="1" AcceptedAnswerId="11760" CreationDate="2018-05-14T15:50:59.153" Score="4" ViewCount="805" Body="&lt;p&gt;I need to define a component in YAML manifest files in Sitecore JSS CodeFirst approach, where component doesn't have any &quot;Data Source Template&quot; field populated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, NO template should be created for this component in template section also.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2018-05-14T16:05:45.890" Title="How to define JSS component in YAML without DataSource Template" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11760" PostTypeId="2" ParentId="11759" CreationDate="2018-05-14T16:05:45.890" Score="8" Body="&lt;p&gt;This can be done by defining a component in the manifest that has no fields, for example:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Without Datasource&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { addComponent } from '@sitecore-jss/sitecore-jss-manifest';&#xA;&#xA;export default (manifest) =&amp;gt; {&#xA;  addComponent(manifest, {&#xA;    name: 'Welcome',&#xA;  });&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;With Datasource&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { addComponent, CommonFieldTypes } from '@sitecore-jss/sitecore-jss-manifest';&#xA;&#xA;export default (manifest) =&amp;gt; {&#xA;  addComponent(manifest, {&#xA;    name: 'Welcome',&#xA;    fields: [{ name: 'title', type: CommonFieldTypes.SingleLineText }],&#xA;  });&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-05-14T16:05:45.890" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11761" PostTypeId="1" AcceptedAnswerId="11762" CreationDate="2018-05-14T17:15:08.370" Score="2" ViewCount="191" Body="&lt;p&gt;I would like to see my app when I go to my local root URL (in anonymous mode).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I deleted the Home website from the admin. &#xA;So currently I have this tree:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Jqyyq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jqyyq.png&quot; alt=&quot;Sitecore Tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;my-app.config looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CROcF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CROcF.png&quot; alt=&quot;my app config&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I go to my URL I have this error:&#xA;&quot;&lt;strong&gt;The layout for the requested document was not found&lt;/strong&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do, to have &lt;em&gt;/sitecore/content/my-app/home&lt;/em&gt; as my homepage ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3659" LastActivityDate="2018-05-14T18:12:01.570" Title="I want my JSS app to be the homepage" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11762" PostTypeId="2" ParentId="11761" CreationDate="2018-05-14T18:12:01.570" Score="4" Body="&lt;ol&gt;&#xA;&lt;li&gt;Make sure you hostname matches your IIS binding.&lt;/li&gt;&#xA;&lt;li&gt;When you click on preview, make sure you selected sitecore/content/my-app/home item and not sitecore/content/my-app/&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1962" LastActivityDate="2018-05-14T18:12:01.570" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11763" PostTypeId="1" AcceptedAnswerId="11773" CreationDate="2018-05-14T18:24:51.280" Score="3" ViewCount="124" Body="&lt;p&gt;My task is to create a custom report which will export into a CSV that contains the details of all the users who have downloaded report files from our site. It will include not only information about the user, but information about the report they downloaded. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked into creating an Outcome Definition within the Marketing Control Panel then registering the Contact Outcome via Tracker.Current.RegisterContactOutcome(outcome) when the user downloads the report.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see the outcome has been tracked in the XDB when I pull it up via RoboMongo but I have no clue on to retrieve that information. I tried using the OutcomeDefinitionManager to call the Get() method but am only able to find information about the Outcome Definition itself. Not necessarily about which contacts have registered to that Outcome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I heading down the right path with using Outcome Definitions? If so, what method(s) do I need to call in order to retrieve such information about the user who registered to that Outcome?&lt;/p&gt;&#xA;" OwnerUserId="787" LastActivityDate="2018-05-15T20:12:50.860" Title="How to get all users who registered to an outcome" Tags="|xdb|marketing-definitions|outcomes|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11764" PostTypeId="1" CreationDate="2018-05-14T18:27:45.597" Score="1" ViewCount="681" Body="&lt;p&gt;I have a basic form built in Sitecore Forms. One of the fields is marked as mandatory. If a user submits the form without having input a value in the mandatory field, they are redirected to a page displaying only the form elements and no CSS. Is there an OOTB function I can use to deny a user's submission if they have not addressed the 'mandatory' fields? &lt;/p&gt;&#xA;" OwnerUserId="3540" LastActivityDate="2018-05-14T18:27:45.597" Title="Sitecore Forms - Incorrect form submission redirection" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11765" PostTypeId="1" CreationDate="2018-05-14T20:15:27.153" Score="1" ViewCount="284" Body="&lt;p&gt;I Have a parent item with a workflow assigned to it and workflow state is approved and teo child items with workflows assigned to it &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Parent - Workflow assigned - State Approved   &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Child1 - Workflow assigned - State Approved&lt;/li&gt;&#xA;&lt;li&gt;Child2 - Workflow Assigned - State  &lt;strong&gt;Blank&lt;/strong&gt; (none)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Will Child2 be published if i do a smart publish on the parent item ? how does it work ? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="73" LastEditDate="2018-05-15T18:45:28.470" LastActivityDate="2018-05-15T18:45:28.470" Title="Workflow State for a child Item is Blank , will smart publish, publish the item" Tags="|publishing|" AnswerCount="1" CommentCount="11" ClosedDate="2018-05-15T18:55:38.863" ContentLicense="CC BY-SA 4.0" />
  <row Id="11766" PostTypeId="1" CreationDate="2018-05-14T20:38:28.053" Score="0" ViewCount="61" Body="&lt;p&gt;How to set up an engagement value to multiple pages?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assign the same value to all &quot;product pages view&quot; or all &quot;add to cart&quot; event&lt;/p&gt;&#xA;" OwnerUserId="3680" LastEditorUserId="2948" LastEditDate="2018-05-15T07:49:11.447" LastActivityDate="2018-05-15T12:39:13.167" Title="Engagement value assignment to group or multiple pages" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ClosedDate="2018-05-21T22:12:48.320" ContentLicense="CC BY-SA 4.0" />
  <row Id="11767" PostTypeId="2" ParentId="11505" CreationDate="2018-05-15T00:39:58.273" Score="1" Body="&lt;p&gt;Below are the steps that worked for me using VS 2017:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Upgrade .Net 4.6.2 or 4.7&lt;/li&gt;&#xA;&lt;li&gt;If you get this error below then manually remove System.Net.Http reference and Install-Package System.Net.Http -Version 4.0.0&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Unable to find a version of 'System.Net.Http' that is compatible..&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Make code change below if you are using Tracker.Current.Session.Identify.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Replace Tracker.Current.Session.Identify with&#xA;  Tracker.Current.Session.IdentifyAs&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Use solution on link below if you face this &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;error &quot;ASPNETCOMPILER : error ASPCONFIG: Could not load file or&#xA;  assembly 'System.Runtime, Version=4.1.0.0, Culture=neutral,&#xA;  PublicKeyToken=b03f5f7f11d50a3a'&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/42755274/visual-studio-2017-could-not-load-file-or-assembly-system-runtime-version-4/49078929#49078929&quot;&gt;https://stackoverflow.com/questions/42755274/visual-studio-2017-could-not-load-file-or-assembly-system-runtime-version-4/49078929#49078929&lt;/a&gt;    &lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2018-05-15T00:39:58.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11768" PostTypeId="1" CreationDate="2018-05-15T01:18:18.033" Score="3" ViewCount="176" Body="&lt;p&gt;The DEF installation guide says that&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In most cases, data synchronization will not run on Sitecore delivery&#xA;  servers. The data that is synchronized, however, is used on those&#xA;  servers. As a result, all parts of Data Exchange Framework must be&#xA;  installed on Sitecore delivery servers.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Why is it necessary to install the CD DEF module on the CD servers as the data that is used there will be in the form of published Sitecore items, and won't be connected to DEF at that stage. What am I missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a question for us as there are different DEF CD and CM packages but we only have one source of Sitecore items in source control for both CM and CD. Im wondering why they need to be installed on CD servers at all..&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="432" LastEditDate="2018-05-15T01:59:13.397" LastActivityDate="2018-05-21T13:14:01.093" Title="Data Exchange Framework - need to install package on content delivery severs?" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11769" PostTypeId="1" CreationDate="2018-05-15T04:56:21.963" Score="-1" ViewCount="231" Body="&lt;p&gt;When using SXA Search box or facets in order to filter the search results, Query String is appended in the URL. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is there a way to hide query strings? &lt;/li&gt;&#xA;&lt;li&gt;How to append the Query strings?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Using SXA 1.6&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="2948" LastEditDate="2018-05-15T07:49:15.067" LastActivityDate="2018-07-14T09:32:48.037" Title="SXA Search append or hide QueryString" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11770" PostTypeId="1" AcceptedAnswerId="11774" CreationDate="2018-05-15T05:18:13.113" Score="0" ViewCount="1458" Body="&lt;p&gt;I keep getting error below even after trying out all of these. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;FXM.BaseHostDomain and  and FXM.hostname&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/150778&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/150778&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://sitecoreinfo.blogspot.com.au/2017/09/sitecore-fxm-and-cors.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreinfo.blogspot.com.au/2017/09/sitecore-fxm-and-cors.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Failed to load&#xA;  &lt;a href=&quot;https://mainsite.azurewebsites.net/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=&amp;amp;sessionId=&amp;amp;page=https%3A%2F%2Ftargetsite.azurewebsites.net%2F&amp;amp;referrer=&amp;amp;rt=1526361067832&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mainsite.azurewebsites.net/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=&amp;amp;sessionId=&amp;amp;page=https%3A%2F%2Ftargetsite.azurewebsites.net%2F&amp;amp;referrer=&amp;amp;rt=1526361067832&lt;/a&gt;:&#xA;  Redirect from&#xA;  '&lt;a href=&quot;https://mainsite.azurewebsites.net/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=&amp;amp;sessionId=&amp;amp;page=https%3A%2F%2Ftargetsite.azurewebsites.net%2F&amp;amp;referrer=&amp;amp;rt=1526361067832&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mainsite.azurewebsites.net/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=&amp;amp;sessionId=&amp;amp;page=https%3A%2F%2Ftargetsite.azurewebsites.net%2F&amp;amp;referrer=&amp;amp;rt=1526361067832&lt;/a&gt;'&#xA;  to&#xA;  '&lt;a href=&quot;https://mainsite.azurewebsites.net/sitecore/api/ssc/beacon/service/beacon/trackpagevisit?contactId=&amp;amp;sessionId=&amp;amp;page=https%3A%2F%2Ftargetsite.azurewebsites.net%2F&amp;amp;referrer=&amp;amp;rt=1526361067832&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mainsite.azurewebsites.net/sitecore/api/ssc/beacon/service/beacon/trackpagevisit?contactId=&amp;amp;sessionId=&amp;amp;page=https%3A%2F%2Ftargetsite.azurewebsites.net%2F&amp;amp;referrer=&amp;amp;rt=1526361067832&lt;/a&gt;'&#xA;  has been blocked by CORS policy: The value of the&#xA;  'Access-Control-Allow-Origin' header in the response must not be the&#xA;  wildcard '*' when the request's credentials mode is 'include'. Origin&#xA;  '&lt;a href=&quot;https://targetsite.azurewebsites.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://targetsite.azurewebsites.net&lt;/a&gt;' is therefore not allowed&#xA;  access. The credentials mode of requests initiated by the&#xA;  XMLHttpRequest is controlled by the withCredentials attribute.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Anyone faced this issue and got around?&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2018-05-15T07:06:04.780" LastActivityDate="2018-05-15T09:19:45.503" Title="'Access-Control-Allow-Origin' header in the response must not be the wildcard '*'" Tags="|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11771" PostTypeId="2" ParentId="11769" CreationDate="2018-05-15T06:41:01.347" Score="0" Body="&lt;p&gt;No, there is no such way. SXA search renderings are using BackboneJS which by default is using parameters after URL &lt;code&gt;#&lt;/code&gt; and there is no easy way to get rid of them or replace them to normal query parameters (instead of hash params).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had a task in the backlog to replace hash params with query ones but it would require too much work and as for now, we are not planning to do this.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-15T06:41:01.347" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11772" PostTypeId="2" ParentId="11758" CreationDate="2018-05-15T06:46:07.237" Score="1" Body="&lt;p&gt;Few things need to be done:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your template needs to inherit from &lt;code&gt;/sitecore/Templates/Foundation/Experience Accelerator/Search/Computed Fields/_Searchable&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create Search Scope which will include your custom template. Location for the scopes is &lt;code&gt;/sitecore/content/TENANT/SITE/Settings/Scopes&lt;/code&gt; and your scope query can look like:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/89P6Y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/89P6Y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;There is one more thing which might be needed if in the future you would like to search in the different locations. On the Settings item, you will find&lt;br&gt;&#xA;&lt;code&gt;Associated Content&lt;/code&gt; field. Update it in order to search in the different/custom locations.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-15T06:46:07.237" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11773" PostTypeId="2" ParentId="11763" CreationDate="2018-05-15T07:57:03.150" Score="4" Body="&lt;h2&gt;&lt;strong&gt;To retrieve Outcomes for given outcome definitions&lt;/strong&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There is no ready made API, but you can either write a Mongo query or extend &lt;code&gt;Sitecore.Analytics.Outcome.Data.MongoDbOutcomeRepository&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomRepository : MongoDbOutcomeRepository&#xA;{&#xA;    public CustomRepository(MongoDbCollection mongoCollection) : base(mongoCollection)&#xA;    {&#xA;    }&#xA;&#xA;    public CustomRepository(string connectionStringName) : base(connectionStringName)&#xA;    {&#xA;    }&#xA;&#xA;    public CustomRepository(string connectionStringName, string collectionName) : base(connectionStringName, collectionName)&#xA;    {&#xA;    }&#xA;&#xA;    public IList&amp;lt;IOutcome&amp;gt; GetOutcomesForDefinition(params ID[] definitionIds)&#xA;    {&#xA;      IMongoQuery query = Query.In(&quot;DefinitionId&quot;, definitionIds.Select(BsonValue.Create));&#xA;      MongoCursor&amp;lt;IOutcome&amp;gt; outcomes = this.MongoCollection.FindAs&amp;lt;IOutcome&amp;gt;(query);&#xA;      return outcomes.ToList();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The repository can then be used as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CustomRepository repo = new CustomRepository(&quot;analytics&quot;);&#xA;var contactOutcomes = repo.GetOutcomesForDefinition(definitionIds)&#xA;.Select(o =&amp;gt; new {o.EntityId, o.DefinitionId}); //apply any projection needed&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;&lt;strong&gt;To retrieve Outcomes for a given contact&lt;/strong&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You need to use &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/digital_marketing/marketing_operations/outcomes/register_an_outcome_programmatically?roles=developer&quot; rel=&quot;nofollow noreferrer&quot;&gt;OutcomeManager&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Instantiate the outcome manager.&#xA;var manager = Factory.CreateObject(&quot;outcome/outcomeManager&quot;, true) as OutcomeManager;&#xA;&#xA;// Get all outcomes of a contact.&#xA;IReadOnlyCollection&amp;lt;IOutcome&amp;gt; outcomes = manager.GetForEntity&amp;lt;IOutcome&amp;gt;(contactId);​&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is a distinction between &lt;code&gt;OutcomeDefinitionManager&lt;/code&gt; and &lt;code&gt;OutcomeManager&lt;/code&gt;. The &lt;a href=&quot;https://doc.sitecore.net/developers/xp/marketing-operations/marketing-operations-api/definition-managers/outcomes.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;former&lt;/a&gt; is used to create, update, activate outcome definitions as you see them in Marketing Control Panel. The latter is capable of registering an outcome for a contact and retrieving registered outcomes.&lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2018-05-15T20:12:50.860" LastActivityDate="2018-05-15T20:12:50.860" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11774" PostTypeId="2" ParentId="11770" CreationDate="2018-05-15T09:19:45.503" Score="1" Body="&lt;p&gt;Manged to fix this issue by steps below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make sure you get 200 response from this call. If you get 301, review your redirect rule which could be removing trailing slash. &#xA;&lt;a href=&quot;https://mainsiteazurewebsites.net/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=&amp;amp;sessionId=&amp;amp;page=https%3A%2F%2Ftargetsite.azurewebsites.net%2Ffamilies%3Fsubcat%3Dpregnancy&amp;amp;referrer=https%3A%2F%2Ftargetsite.azurewebsites.net%2F&amp;amp;rt=1526366632093&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mainsiteazurewebsites.net/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=&amp;amp;sessionId=&amp;amp;page=https%3A%2F%2Ftargetsite.azurewebsites.net%2Ffamilies%3Fsubcat%3Dpregnancy&amp;amp;referrer=https%3A%2F%2Ftargetsite.azurewebsites.net%2F&amp;amp;rt=1526366632093&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;And apply this custom header below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Hf5h6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hf5h6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="316" LastActivityDate="2018-05-15T09:19:45.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11775" PostTypeId="1" AcceptedAnswerId="11777" CreationDate="2018-05-15T09:36:36.127" Score="10" ViewCount="528" Body="&lt;p&gt;I need some assistance switching the xDB search indexes from SOLR to Azure Search in a Sitecore 9 vanilla install (installed using SIF).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have completed the following tasks:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added a Search Service to Azure&lt;/li&gt;&#xA;&lt;li&gt;Added the Search Service connection string to xConnect (named collection.search)&lt;/li&gt;&#xA;&lt;li&gt;Disabled all SOLR configs in xConnect and enabled all AzureSearch configs&lt;/li&gt;&#xA;&lt;li&gt;Restarted the xConnect sites&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I was hoping an index would be auto generated as with SOLR but it hasn't and I can't see anything of use in the logs.&lt;/p&gt;&#xA;" OwnerUserId="2949" LastEditorUserId="2949" LastEditDate="2018-05-15T11:21:08.920" LastActivityDate="2018-05-15T11:21:08.920" Title="Switch xDB Search indexes from SOLR to Azure Search" Tags="|xdb|xconnect|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11776" PostTypeId="1" AcceptedAnswerId="14068" CreationDate="2018-05-15T10:08:38.973" Score="0" ViewCount="876" Body="&lt;p&gt;Does it require to explicitly set authentication cookie after authenticating user via Sitecore Authentication Manager?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Security.Authentication.AuthenticationManager.Login(&#xA;                fullUsername,&#xA;                password,&#xA;                false))&#xA;            {&#xA;                //Does it require to explicitly set set authentication cookie here?&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2447" LastActivityDate="2018-09-22T15:02:11.097" Title="Forms Authentication cookie with Sitecore" Tags="|security|authentication|cookies|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11777" PostTypeId="2" ParentId="11775" CreationDate="2018-05-15T10:54:02.260" Score="8" Body="&lt;p&gt;Ensure that &lt;em&gt;IndexWorker&lt;/em&gt; service is updated in the same way as xConnect site was:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Stop &lt;em&gt;IndexWorker&lt;/em&gt; windows service.&lt;/li&gt;&#xA;&lt;li&gt;Disable all SOLR configs in &lt;em&gt;IndexWorker&lt;/em&gt; and enable all AzureSearch configs under &lt;em&gt;search role\App_data\jobs\continuous\IndexWorker&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add &lt;em&gt;collection.search&lt;/em&gt; connection string to &lt;em&gt;search role\App_data\jobs\continuous\IndexWorker\App_config\ConnectionStrings.config&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Start &lt;em&gt;IndexWorker&lt;/em&gt; windows service.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="842" LastActivityDate="2018-05-15T10:54:02.260" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="11778" PostTypeId="1" CreationDate="2018-05-15T11:32:20.777" Score="1" ViewCount="352" Body="&lt;p&gt;We are using Sitecore Commerce and it's default registration functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was working fine and today, there is a new error when a user tries to register on site.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Register: Index commerce_userprofiles_index_master was not found&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I tried rebuilding the index for the same, but still the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a distributed environment and there is no issue in the CM server. The error occurs in only the CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On further investigation, we found that this file was disabled in CD: &lt;code&gt;CommerceServer.ContentSearch.Solr.Index.Master.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This master config has an index configuration which was not available in &lt;code&gt;CommerceServer.ContentSearch.Solr.Index.Web.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;commerce_userprofiles_index_master&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;   &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;   &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;   &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;   &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/commerceSolrProfileUserObjectIndexConfiguration&quot; /&amp;gt;&#xA;   &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;     &amp;lt;crawler type=&quot;Sitecore.Commerce.Connect.CommerceServer.Search.UserProfileCrawler, Sitecore.Commerce.Connect.CommerceServer&quot;&amp;gt;&#xA;       &amp;lt;ProfileType&amp;gt;UserObject&amp;lt;/ProfileType&amp;gt;&#xA;       &amp;lt;AddressPropertiesToIndex&amp;gt;&#xA;         GeneralInfo.address_line1, GeneralInfo.address_line2, GeneralInfo.city, GeneralInfo.region_code, GeneralInfo.region_name, GeneralInfo.postal_code, GeneralInfo.country_name, GeneralInfo.country_code, GeneralInfo.tel_number&#xA;       &amp;lt;/AddressPropertiesToIndex&amp;gt;&#xA;     &amp;lt;/crawler&amp;gt;&#xA;   &amp;lt;/locations&amp;gt;&#xA; &amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As master.config was disabled, I copied this piece to the solr.index.web.config and it now works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are told, that in CD, master references are disabled. So, please advise, is what I did correct or is there another way to solve it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code which is called on Register button click:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;[AllowAnonymous]&#xA;[ValidateAntiForgeryToken]&#xA;[OutputCache(NoStore = true, Location = OutputCacheLocation.None)]&#xA;[SkipAnalyticsTracking]&#xA;public JsonResult Register(RegisterUserInputModel inputModel)&#xA;{&#xA;    try&#xA;    {&#xA;        Assert.ArgumentNotNull(inputModel, nameof(inputModel));&#xA;        var result = this.CreateJsonResult&amp;lt;RegisterApiModel&amp;gt;();&#xA;        if (result.HasErrors)&#xA;        {&#xA;            return Json(result, JsonRequestBehavior.AllowGet);&#xA;        }&#xA;        var response = AccountManager.RegisterUser(inputModel);&#xA;        if (response.ServiceProviderResult.Success &amp;amp;&amp;amp; response.Result != null)&#xA;        {&#xA;            result.Initialize(response.Result);&#xA;            MailManager.SendMail(&quot;CommerceUserRegistrationSuccess&quot;, inputModel.UserName);&#xA;            AccountManager.Login(response.Result.UserName, inputModel.Password, false);&#xA;        }&#xA;        else&#xA;        {&#xA;            result.SetErrors(response.ServiceProviderResult);&#xA;        }&#xA;        return Json(result);&#xA;    }&#xA;    catch (Exception e)&#xA;    {&#xA;        return Json(new ErrorApiModel(&quot;Register&quot;, e), JsonRequestBehavior.AllowGet);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="971" LastEditDate="2018-09-11T11:37:47.740" LastActivityDate="2018-09-11T11:37:47.740" Title="Unable to create new users in Commerce" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="11779" PostTypeId="2" ParentId="11766" CreationDate="2018-05-15T12:39:13.167" Score="1" Body="&lt;p&gt;I had a similar development whereby pages that the user has visited, the should receive the same engagement value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, I had to keep track of the pages that the user visited. Those were stored in the &lt;code&gt;PageEvents&lt;/code&gt; in MongoDB. Each time a user visited a page, I triggered the below code to register the event.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void CreateViewContentEvent(Guid itemId)&#xA;{&#xA;    try&#xA;    {&#xA;        if (Tracker.IsActive &amp;amp;&amp;amp; Tracker.Current != null)&#xA;        {&#xA;            Assert.IsNotNull(Tracker.Current, &quot;Tracker.Current&quot;);&#xA;&#xA;            if (Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.Session != null &amp;amp;&amp;amp; Tracker.Current.Session.Interaction != null)&#xA;            {&#xA;                string viewEventName = $&quot;{itemId}_view&quot;;&#xA;&#xA;                var itemPath = $&quot;/sitecore/system/Settings/Analytics/Page Events/Content Events View/{viewEventName}&quot;;&#xA;&#xA;                Item viewEventItem = Context.Database.GetItem(itemPath, Language.Parse(&quot;en&quot;));&#xA;&#xA;                if (viewEventItem != null)&#xA;                {&#xA;                    CreatePageEventWithGoal(viewEventName, &quot;Viewed&quot;, itemId, viewEventItem.ID.ToGuid());&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        Log.Error($&quot;Error on Content Click Event {ex.StackTrace} with message {ex.Message} + msg {msg}&quot;, &quot;AnalyticsService&quot;);&#xA;    }&#xA;}&#xA;&#xA;private static void CreatePageEventWithGoal(string eventName, string eventText, Guid itemId, Guid pageEventDefinitionId)&#xA;{&#xA;    PageEventData pageEventData = new PageEventData(eventName, pageEventDefinitionId)&#xA;    {&#xA;        ItemId = itemId,&#xA;        Data = itemId.ToString(),&#xA;        DataKey = itemId.ToString(&quot;B&quot;),&#xA;        PageEventDefinitionId = pageEventDefinitionId,&#xA;        Text = eventText,&#xA;        Name = eventName&#xA;    };&#xA;&#xA;    if (Tracker.Current.Contact != null)&#xA;    {&#xA;        try&#xA;        {&#xA;            Tracker.Current.Interaction.CurrentPage.Register(pageEventData);&#xA;        }&#xA;        catch (Exception)&#xA;        {&#xA;            Log.Error($&quot;Error on register tracking... &quot;, &quot;CreatePageEventWithGoal&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The below statement is to fetch the pageEvents in Sitecore. Those gets generated on item saved.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var itemPath = $&quot;/sitecore/system/Settings/Analytics/Page Events/Content Events View/{viewEventName}&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once I have the &lt;code&gt;view&lt;/code&gt; events registered into MongoDB, I had implemented a custom Aggregation Processor to aggregate the data into a custom table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A visit is a collection of PageEvents. So, to be able to add the same value to user view stream, when you loop through the &lt;code&gt;PageEvents&lt;/code&gt;, you need to set the same visit value. Below is a code snippet I have used in my custom aggregator to retrieve the data from mongoDb to push it to a custom table in the analytics database. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private readonly IDictionary&amp;lt;string, string&amp;gt; typeMap = new Dictionary&amp;lt;string, string&amp;gt;&#xA;{&#xA;    { &quot;Viewed&quot;, &quot;View&quot; },&#xA;    { &quot;Clicked&quot;, &quot;Click&quot; }&#xA;};&#xA;&#xA;protected override void OnProcess(AggregationPipelineArgs args)&#xA;{&#xA;    Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;    try&#xA;    {&#xA;        VisitData visit = args.Context.Visit;&#xA;&#xA;        List&amp;lt;Guid&amp;gt; tempList = new List&amp;lt;Guid&amp;gt;();&#xA;&#xA;        if (visit.Pages == null || visit.Pages.Count &amp;lt;= 0)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        ContentPerformance contentPerformance = null;&#xA;&#xA;        foreach (PageData page in visit.Pages)&#xA;        {&#xA;            if (page.PageEvents == null || page.PageEvents.Count &amp;lt;= 0)&#xA;            {&#xA;                continue;&#xA;            }&#xA;&#xA;            var pageEvents = page.PageEvents.Where(pe =&amp;gt; !pe.Text.IsNullOrEmpty()).ToList();&#xA;&#xA;            IEnumerable&amp;lt;PageEventData&amp;gt; relevantPageEvents = new List&amp;lt;PageEventData&amp;gt;();&#xA;&#xA;            if (pageEvents.Any())&#xA;            {&#xA;                relevantPageEvents = pageEvents.Where(pe =&amp;gt; this.typeMap.ContainsKey(pe.Text)).ToList();&#xA;            }&#xA;&#xA;            if (relevantPageEvents.Any())&#xA;            {&#xA;                foreach (PageEventData pageEvent in relevantPageEvents)&#xA;                {&#xA;                    Guid? patternId = null;&#xA;&#xA;                    using (var context = GetSearchIndex(&quot;my index name&quot;).CreateSearchContext())&#xA;                    {&#xA;                        var itemId = new ID(pageEvent.ItemId);&#xA;&#xA;                        var content = context.GetQueryable&amp;lt;ContentBox&amp;gt;().FirstOrDefault(w =&amp;gt; w.ItemId == itemId);&#xA;&#xA;                        ContentPerformanceKey contentPerformanceKey = new ContentPerformanceKey&#xA;                        {&#xA;                            ItemId = pageEvent.ItemId,&#xA;                            PatternName = patternName&#xA;                        };&#xA;&#xA;                        ContentPerformanceValue contentPerformanceValue = new ContentPerformanceValue();&#xA;&#xA;                        bool notYetProcessed = !tempList.Contains(pageEvent.PageEventDefinitionId);&#xA;&#xA;                        if (notYetProcessed)&#xA;                        {&#xA;                            contentPerformanceValue.Visits = 1;&#xA;                            contentPerformanceValue.Value = visit.Value;&#xA;&#xA;                            tempList.Add(pageEvent.PageEventDefinitionId);&#xA;                        }&#xA;                        else&#xA;                        {&#xA;                            contentPerformanceValue.Visits = 0;&#xA;                        }&#xA;&#xA;                        if (contentPerformance == null)&#xA;                        {&#xA;                            contentPerformance = args.GetFact&amp;lt;ContentPerformance&amp;gt;();&#xA;                        }&#xA;&#xA;                        contentPerformance.Emit(contentPerformanceKey, contentPerformanceValue);&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        Log.Error($&quot;[Perso] Error occured in Content Performance: StackTrace: {ex.StackTrace}. Message: {ex.Message}. InnerException: {ex.InnerException}&quot;, this);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You may need to change the above to accommodate your requirement. You can read more from my post about &lt;a href=&quot;https://hishaamn.wordpress.com/2017/08/29/sitecore-analytics-aggregators/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Aggregation Process&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-05-15T12:39:13.167" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11780" PostTypeId="1" CreationDate="2018-05-15T13:16:39.107" Score="1" ViewCount="592" Body="&lt;p&gt;(lucene on sitecore 8.2)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a tabbed search results page with 5 tabs:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;people&lt;/li&gt;&#xA;&lt;li&gt;insights&lt;/li&gt;&#xA;&lt;li&gt;news&lt;/li&gt;&#xA;&lt;li&gt;services&lt;/li&gt;&#xA;&lt;li&gt;other&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The &quot;other&quot; tab should display results that do not appear in the first four queries. I was going to try to iterate through and track all the Guids that are returned in the first four queries and then use that to have a exclude in the &quot;other&quot; tab query but not sure how performance would be or if there is a better way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first four queries I am only getting the hits and then using paging to take the first 10 - if I have to iterate through all hits and add the guids to an array - I thought that might be slower and the wrong way to go but not sure how else to do it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thoughts?&lt;/p&gt;&#xA;" OwnerUserId="901" LastActivityDate="2018-05-15T13:16:39.107" Title="Lucene &quot;not in&quot; or &quot;except&quot; query" Tags="|lucene|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11781" PostTypeId="1" CreationDate="2018-05-15T14:05:13.383" Score="1" ViewCount="338" Body="&lt;p&gt;Is A/B test (content,component and page) and related analytics data available in the base Sitecore license, Sitecore Experience Manager?&lt;/p&gt;&#xA;" OwnerUserId="3635" LastEditorUserId="3635" LastEditDate="2018-05-15T16:08:45.380" LastActivityDate="2018-05-15T16:08:45.380" Title="Is A/B test avaible in Experience Manager?" Tags="|experience-analytics|experience-profile|experience-optimization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11782" PostTypeId="1" AcceptedAnswerId="11787" CreationDate="2018-05-15T14:14:44.610" Score="1" ViewCount="41" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Sf4Rh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Sf4Rh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore version 8.2.5.  I wanted to set my condition to have no rules so it basically falls through after a wait period in the first condition, executes the triggers then moves to the next step.  Right now my user is hung in the first state...&lt;/p&gt;&#xA;" OwnerUserId="3000" LastActivityDate="2018-05-15T16:14:25.000" Title="Can I set a condition in an Engagement Plan with no rule so it always evaluates to 'True'?" Tags="|engagement-plans|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11783" PostTypeId="2" ParentId="11781" CreationDate="2018-05-15T14:20:01.890" Score="2" Body="&lt;h3&gt;No&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You essentially need the license &lt;code&gt;Sitecore.xDB.Base&lt;/code&gt; for that functionality. This is included in the Sitecore Experience Platform license (XP).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information here: &lt;a href=&quot;https://kb.sitecore.net/articles/911240&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore XP 8.0 and greater product license overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-05-15T14:20:01.890" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11784" PostTypeId="1" AcceptedAnswerId="11785" CreationDate="2018-05-15T14:51:34.123" Score="5" ViewCount="598" Body="&lt;p&gt;I know that MVC and by definition Sitecore MVC renders components from top to bottom order, but is there any way to force (hack) a controller rendering (which is used in the head of the page) to be rendered &lt;em&gt;after&lt;/em&gt; another specific rendering lower down in the page?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know this kind of makes an implied dependency which is crappy and generally goes against the philosophy of MVC, but I don't see another way around this particular problem. All the markup needs to be in place in the page at the point of page load, so a JavaScript-based solution won't work here, unfortunately.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-05-15T14:57:02.573" Title="Force controller rendering in head of page to render after other renderings" Tags="|presentation|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11785" PostTypeId="2" ParentId="11784" CreationDate="2018-05-15T14:57:02.573" Score="5" Body="&lt;p&gt;Yep. There are various ways to go about it. Here is one.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@{&#xA;    Layout = null;&#xA;&#xA;    HtmlString main = Html.Sitecore().Placeholder(&quot;MAIN&quot;);&#xA;    HtmlString head = Html.Sitecore().Placeholder(&quot;HEAD&quot;);&#xA;}&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;title&amp;gt;@Html.Sitecore().Field(&quot;title&quot;, new { DisableWebEdit = true })&amp;lt;/title&amp;gt;&#xA;    @head&#xA;&amp;lt;/head&amp;gt;&#xA;&#xA;&amp;lt;body&amp;gt;&#xA;    &amp;lt;h1&amp;gt;@Html.Sitecore().Field(&quot;title&quot;)&amp;lt;/h1&amp;gt;&#xA;    &amp;lt;h2&amp;gt;Cross component comms layout&amp;lt;/h2&amp;gt;&#xA;    &amp;lt;div&amp;gt;&#xA;        @main&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&#xA;&amp;lt;/html&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here, &lt;code&gt;main&lt;/code&gt; is rendered before &lt;code&gt;head&lt;/code&gt; (which is what you ask for), yet still output in the correct order in the document.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://jermdavis.wordpress.com/2016/04/04/getting-mvc-components-to-communicate/&quot; rel=&quot;noreferrer&quot;&gt;GETTING MVC COMPONENTS TO COMMUNICATE&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional reference:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://kamsar.net/index.php/2017/01/Controlling-Rendering-Order-in-Sitecore-MVC/&quot; rel=&quot;noreferrer&quot;&gt;Controlling Rendering Order in Sitecore MVC&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-05-15T14:57:02.573" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11787" PostTypeId="2" ParentId="11782" CreationDate="2018-05-15T16:14:25.000" Score="2" Body="&lt;p&gt;Yes it is possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is present /sitecore/system/Settings/Rules/Definitions/Elements/System/True rule. It always return true. &lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-05-15T16:14:25.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11788" PostTypeId="1" CreationDate="2018-05-15T17:50:50.760" Score="0" ViewCount="1789" Body="&lt;p&gt;we are on Sitecore 8.1 U3 , content editors generally upload large files to the media library using the File upload (advanced) option with Upload as files checked , these files are uploaded to a blob storage from the server &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Throws a 400 Bad request error at sitecore/shell/Applications/Media/UploadManager/Upload.aspx?db=master&amp;amp;id=%7B319E3E74-7251-46F8-xxxxxxxxxx%7, if the uploaded file is above 2GB&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried increasing the requestLimits maxAllowedContentLength value to 4GB and maxRequestLength to 4gb , does not work , throws the same error &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also read that IIS 7 and higher have a file upload limit of 2GB &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am i missing anything ? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="3355" LastEditDate="2018-05-15T18:07:34.870" LastActivityDate="2018-05-15T18:39:52.517" Title="Sitecore Media File upload above 2GB throws Bad Request 400" Tags="|sitecore-client|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11789" PostTypeId="1" AcceptedAnswerId="11790" CreationDate="2018-05-15T17:56:23.393" Score="3" ViewCount="535" Body="&lt;p&gt;Once code-first JSS solution is deployed to a running sitecore instance, we can see rendering items created under Rendering folder in Sitecore content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, Only Component Name field is populated with name of that component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How the binding works with physical files for JSS renderings (  /sitecore/templates/JavaScriptServices/Json Rendering) ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2018-05-15T18:03:48.847" Title="How JSS Rendering components bind to physical file" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11790" PostTypeId="2" ParentId="11789" CreationDate="2018-05-15T18:03:48.847" Score="6" Body="&lt;p&gt;The binding is done via JavaScript, during rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a JSS site loads, it gets the current route's layout data. In integrated mode, this comes by a JS object delivered directly to the &lt;code&gt;renderView()&lt;/code&gt; method (server-side rendering), and in connected mode or during route change, the data is delivered by a HTTP call to the Layout Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This data contains the name of the components that you see in the rendering item as part of the layout:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8K9F1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8K9F1.png&quot; alt=&quot;layout service output&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then the &lt;em&gt;Component Factory&lt;/em&gt; (&lt;a href=&quot;https://github.com/Sitecore/jss/blob/master/samples/basic-sample-react/src/boot/componentFactory.js&quot; rel=&quot;noreferrer&quot;&gt;part of the JSS app&lt;/a&gt;) maps those component names into a JS component implementation (this example is React; each library does it differently):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import IntegratedPage from '../app/components/IntegratedPage';&#xA;&#xA;const components = new Map();&#xA;components.set('IntegratedPage', IntegratedPage);&#xA;&#xA;const componentFactory = (componentName) =&amp;gt; components.get(componentName);&#xA;&#xA;export default componentFactory;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-05-15T18:03:48.847" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11791" PostTypeId="2" ParentId="11765" CreationDate="2018-05-15T18:05:09.487" Score="1" Body="&lt;p&gt;I was able to finally find the root Cause&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a content editor attempts to edit an item in the final state of a workflow, Sitecore creates a new version of the item and moves that item to the initial state of the workflow. None of that happens if you are logged in as an administrator. As an administrator, you can edit the content directly in the final state. Doing so means that these content changes are eligible to be published immediately, even if that isn't the intent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a rule of thumb, Sitecore administrator accounts should be not used for content entry because of these nuances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in my case , the editor had logged onto the sitecore as admin and modified the item , which was not supposed to be published &lt;/p&gt;&#xA;" OwnerUserId="3355" LastActivityDate="2018-05-15T18:05:09.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11793" PostTypeId="1" AcceptedAnswerId="11795" CreationDate="2018-05-15T18:30:22.487" Score="1" ViewCount="678" Body="&lt;p&gt;In JSS datasource items, we can see &quot;JSS Development Workflow&quot; added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that workflow, there are &quot;Development Mode&quot;, &quot;Content Mode&quot; and &quot;Published&quot; states.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In which state of the JSS development lifecycle these different stages are assigned/changed ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2019-01-22T13:55:07.613" Title="JSS Rendering DataSource item Workflow States" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11794" PostTypeId="2" ParentId="11788" CreationDate="2018-05-15T18:39:52.517" Score="3" Body="&lt;h3&gt;No, you're not. 2 GB is the limit.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;For a couple of reasons:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;requestFiltering doesn't allow to specify more than 4 GB for maxAllowedContentLength&lt;/li&gt;&#xA;&lt;li&gt;maxRequestLength is expressed in kilobytes and the limit specified above is nearly 2 TB. ASP.NET 2.0 doesn't allow a value greater than 2097151 KB (approx. 2 GB) and trying to set a greater value will fail with the following error : &#xA;&quot;The value for the property 'maxRequestLength' is not valid. The error is: The value must be inside the range 0-2097151&quot;&lt;/li&gt;&#xA;&lt;li&gt;If the application is running under the NET 4.5 Integrated Pipeline, upload will not work above 2G and the following error will be sent by IIS: &quot;HTTP 400.0 – Bad Request ASP.NET detected invalid characters in the URL.&quot;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://blogs.msdn.microsoft.com/friis/2013/06/19/uploading-large-file-to-iis-7-5-or-8-using-file-input-element/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Uploading large file to IIS 7.5 or 8 using file input element&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;What you could consider&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is uploading the file via an FTP connection to your server, and have Sitecore &quot;pick it up&quot;. Default folder is &lt;code&gt;/upload&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Using WebDAV. Admittedly I've not attempted this in years, but the WebDAV protocol should work around this limitation issue&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-05-15T18:39:52.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11795" PostTypeId="2" ParentId="11793" CreationDate="2018-05-15T18:46:18.823" Score="2" Body="&lt;p&gt;You can find information on the workflow states in the JSS docs: &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/dev-workflows/code-first#content-workflow-and-developer-overwrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/dev-workflows/code-first#content-workflow-and-developer-overwrite&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The JSS import process is designed to gracefully skip items to which the configured import user does not have write permission. This allows you to utilize Sitecore Security to prevent the import from overwriting content which should no longer be &amp;quot;developer-owned.&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;To further facilitate this, JSS includes a content workflow which is automatically applied to all generated templates. This workflow defines Development Mode and Content Mode states to designate the current &amp;quot;owership&amp;quot; of a content item.&lt;/p&gt;&#xA;&lt;p&gt;Development Mode - Import can overwrite field values and route item layout.&#xA;Content Mode - Import user is denied item write access. Import will skip writes on the item. For route items, this means that any rendering changes or updates to datasource items are also skipped.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="319" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-01-22T13:55:07.613" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11796" PostTypeId="1" CreationDate="2018-05-15T20:25:26.543" Score="2" ViewCount="1376" Body="&lt;p&gt;I have site definition up to C.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xighp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xighp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When accessing the properties in the URL Property page name is displayed. How to avoid it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Current Url:Http:/Sitename/en/Propert Page/PropertyName &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Expected URL:http:/Sitename/en/PropertyName&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried Alias name didn't work. I searched and tried IIS redirect it also didn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone handled this scenario with simpler approach kindly guide me.&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="2056" LastEditDate="2018-05-16T07:37:18.660" LastActivityDate="2018-07-18T09:12:40.283" Title="How to avoid folder name in URL" Tags="|presentation|urls|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11799" PostTypeId="1" AcceptedAnswerId="11853" CreationDate="2018-05-15T23:16:49.277" Score="2" ViewCount="171" Body="&lt;p&gt;Using DEF 2.0.1 and Sitecore 9.0.1, I have a custom pipeline step to publish items that have been updated&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[RequiredPipelineStepPlugins(new Type[] { typeof(EndpointSettings) })]&#xA;class PublishSitecoreItemStepProcessor : BasePipelineStepProcessor&#xA;{&#xA;    protected override void ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;    {&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can add a break point to the ProcessPipelineStep and it's never hit. The processor step us using my own template which inherits from Base Pipeline Step. Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/go4MK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/go4MK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CGZkU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CGZkU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2018-05-18T09:59:16.830" LastActivityDate="2018-05-18T09:59:16.830" Title="Custom Pipeline Step never called" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11800" PostTypeId="2" ParentId="11796" CreationDate="2018-05-16T01:41:30.803" Score="0" Body="&lt;p&gt;It can be done using the sitecore alias. I'm not sure how you create alias. I have implemented this for one of my projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Content Tree&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Home&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Blog&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Categories&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Cricket&lt;/li&gt;&#xA;&lt;li&gt;Football&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you want to access a cricket page, url would be &lt;strong&gt;&lt;a href=&quot;http://sitecore.local/blog/categories/cricket&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.local/blog/categories/cricket&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But client wanted this page to be access like &lt;strong&gt;&lt;a href=&quot;http://sitecore.local/blog/cricket&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.local/blog/cricket&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we have created an alias url as follows.&#xA;1. First create a alias item for Blog&#xA;2. Under Blog item, create an alias for Cricket and map the url to categories/cricket.&#xA;3. Do the similiar step for football. It will resolve your issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another step: &#xA;You have create your custom link provider &amp;amp; check for that particular page template. If you find, write your logics as per your requirement.&#xA;&lt;a href=&quot;https://gist.github.com/Adamsimsy/4c4af66a53d3b7ba2ebef5a46c067ca7&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/Adamsimsy/4c4af66a53d3b7ba2ebef5a46c067ca7&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2018-05-16T01:41:30.803" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11801" PostTypeId="1" AcceptedAnswerId="11804" CreationDate="2018-05-16T02:45:41.527" Score="0" ViewCount="968" Body="&lt;p&gt;We have been using Sitecore with SXA. Website is hosted in the Azure environment and we have a Traffic Manager which points to 2 CD URLs. Recently we moved to live environment since my project is kind of migration. We switched our website to old website name but sitemap URL are still pointing to Traffic Manager URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to resolve this?&lt;/p&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="2056" LastEditDate="2018-05-16T05:53:45.933" LastActivityDate="2018-05-16T06:01:13.393" Title="Sitemap XML URL is not updating in SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11802" PostTypeId="1" CreationDate="2018-05-16T03:59:39.273" Score="-1" ViewCount="633" Body="&lt;p&gt;We are facing a issue while adding a link to the content body and creating a new item in our application using content editor.&lt;/p&gt;&#xA;&lt;p&gt;Exception thrown:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Web.config registration missing!&lt;/p&gt;&#xA;&lt;p&gt;Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.&lt;/p&gt;&#xA;&lt;p&gt;Requested URL: /sitecore/shell/Controls/Rich Text Editor/Telerik.Web.UI.DialogHandler.aspx&lt;/p&gt;&#xA;&lt;p&gt;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1590.0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Screenshot&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2oFD4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2oFD4.png&quot; alt=&quot;Error Message&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;We are using Sitecore 8.2 initial release&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/88uzS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/88uzS.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3128" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-05-16T15:17:49.267" Title="Error while adding link to the content body - Web.config registration missing" Tags="|experience-editor|content-editor|content-management|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11804" PostTypeId="2" ParentId="11801" CreationDate="2018-05-16T05:52:16.623" Score="1" Body="&lt;p&gt;By default, the sitemap uses the Host Name defined in the Basic section in the Site Grouping Site Settings item of your site to connect to site and generate sitemap xml.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find it through Content Editor by navigating to /sitecore/content/....[sxa site]/Settings/Site Grouping/[sxa site]:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XOX98.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XOX98.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Host Name&quot; or &quot;Target Host Name&quot; are still pointing new website, just change it and you should be fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about sitemap in SXA &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/configure_a_sitemap&quot; rel=&quot;nofollow noreferrer&quot;&gt;can be found here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also check setup of your sites through &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/manage_multiple_sites_with_the_sxa_site_manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;SXA Site Manager&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-16T06:01:13.393" LastActivityDate="2018-05-16T06:01:13.393" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11806" PostTypeId="2" ParentId="11802" CreationDate="2018-05-16T06:27:16.667" Score="2" Body="&lt;p&gt;It seems that following &lt;a href=&quot;https://kb.sitecore.net/articles/978654&quot; rel=&quot;nofollow noreferrer&quot;&gt;this security bulletin&lt;/a&gt; caused this issue. To get rid from vulnerability someone deleted Telerik handlers from web.config for CM servers. But Telerik handlers are required on CM server for all Telerik controls features, they could be removed only on CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should do next steps for Sitecore 8.2:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download the ZIP archive &lt;a href=&quot;https://dl.sitecore.net/hotfix/Sitecore%20CMS%208.1-8.2%20Security%20Hotfix%20170504.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;containing the hotfix&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Back up the following files in your Sitecore website folder: \bin\Telerik.Web.UI.dll, \bin\Telerik.Web.UI.Skins.dll, \bin\Telerik.Web.UI.xml, \sitecore\shell\Controls\Rich Text Editor\RTEfixes.js&lt;/li&gt;&#xA;&lt;li&gt;Extract the contents of the archive to the Sitecore website folder.&lt;/li&gt;&#xA;&lt;li&gt;Open the web.config file within your Sitecore website root folder.&lt;/li&gt;&#xA;&lt;li&gt;Add the following lines within the &lt;code&gt;&amp;lt;appSettings&amp;gt;&lt;/code&gt; node: &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IfQO9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IfQO9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;6&quot;&gt;&#xA;&lt;li&gt;Replace the placeholder text &quot;YOUR_ENCRYPTION_KEY_HERE&quot; with a string of characters that will be used to secure the capabilities of Telerik controls. The string should be a set of random characters and numbers, up to a length of 256 characters. We recommend a minimum of 32 characters to be used.&lt;/li&gt;&#xA;&lt;li&gt;Under the &lt;em&gt;&lt;/em&gt; node of the &lt;em&gt;&lt;/em&gt; section in the web.config file, add the following configuration:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/FicnE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FicnE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Save and close the web.config file.&lt;/li&gt;&#xA;&lt;li&gt;Clear the browser cache.&lt;/li&gt;&#xA;&lt;li&gt;If you have a &lt;code&gt;&amp;lt;machineKey&amp;gt;&lt;/code&gt; node under the  section in the web.config file, &lt;a href=&quot;https://blogs.msdn.microsoft.com/amb/2012/07/31/easiest-way-to-generate-machinekey&quot; rel=&quot;nofollow noreferrer&quot;&gt;generate a new Machine Key&lt;/a&gt;. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For more detail about issue and fixes for other Sitecore versions, please review &lt;a href=&quot;https://kb.sitecore.net/articles/978654&quot; rel=&quot;nofollow noreferrer&quot;&gt;original article&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-05-16T06:27:16.667" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11810" PostTypeId="1" CreationDate="2018-05-16T09:13:52.497" Score="0" ViewCount="553" Body="&lt;p&gt;I am trying to display field name using Glass Mapper in view rendering in following format:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    FieldName - FieldValue&#xA;    FieldName - FieldValue&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Ex: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Country -  USA&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;City             - New York&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I can pull FieldValue from Model using GlassMapper but is there a possibility to fetch FieldName using GlassMapper or do I need to settle with Dictionary items to display in place of FieldNames&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Shiva&lt;/p&gt;&#xA;" OwnerUserId="955" LastActivityDate="2018-05-16T09:45:54.700" Title="Is it possible to display field name in View(cshtml) using glass mapper" Tags="|glass-mapper|mvc|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11811" PostTypeId="2" ParentId="11810" CreationDate="2018-05-16T09:45:54.700" Score="1" Body="&lt;p&gt;It depends how you configure field names matching to class properties. If you do it using attribute, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(FieldName = &quot;__Sortorder&quot;)]&#xA;public virtual int SortOrder { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can get field name by accessing to attribute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var attribute = (SitecoreFieldAttribute) Attribute.GetCustomAttribute(Model, typeof (SitecoreFieldAttribute));&#xA;var fieldName = attribute.FieldName;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have auto mapping then filed name property will correspond to it's name. &lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-05-16T09:45:54.700" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11812" PostTypeId="1" AcceptedAnswerId="11814" CreationDate="2018-05-16T10:37:28.213" Score="5" ViewCount="5159" Body="&lt;p&gt;For a form if the submit Action is set to &quot;Save Data&quot;, I would like to see where the data is saved after a user submit a form. &#xA;After exporting data to CSV files, i can view data but still do not know where i can see data in Sitecore.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried to find in &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms?roles=all&quot; rel=&quot;noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt; but wasn't able to find any information. &lt;/p&gt;&#xA;" OwnerUserId="3693" LastEditorUserId="2056" LastEditDate="2018-05-16T12:55:52.757" LastActivityDate="2018-05-16T12:55:52.757" Title="Where is the data saved on Submit action in Sitecore Forms?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11813" PostTypeId="1" AcceptedAnswerId="11816" CreationDate="2018-05-16T11:49:41.963" Score="3" ViewCount="626" Body="&lt;p&gt;I am Using &lt;code&gt;SXA 1.6&lt;/code&gt;, my question is about the gallery component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need the gallery component to be able to view all the images under &lt;code&gt;media library&lt;/code&gt;, and not be restricted to a component of type &lt;code&gt;gallery&lt;/code&gt; and a specified set of &lt;code&gt;gallery image&lt;/code&gt; under it only, i.e. I need the gallery component to view all items of type &lt;code&gt;Image&lt;/code&gt; automatically. how can I achieve that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, is there a way for me to set the data source of the gallery component to be the media library folder? so that it would automatically read all the &lt;code&gt;Image&lt;/code&gt; items under it?&lt;/p&gt;&#xA;" OwnerUserId="3694" LastEditorUserId="5387" LastEditDate="2019-08-12T05:20:00.237" LastActivityDate="2019-08-12T05:20:00.237" Title="Using SXA's &quot;Gallery&quot; component to view all images under &quot;media library&quot; automatically" Tags="|sxa|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11814" PostTypeId="2" ParentId="11812" CreationDate="2018-05-16T12:02:27.773" Score="9" Body="&lt;p&gt;You cannot see data directly in Sitecore (except of exporting them to CSV file). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see stored data in SQL Server in sitecoreInstanceName_ExperienceForms database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two tables:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;FieldData - Here you can see actual posted data with there field name, value and field type &lt;/li&gt;&#xA;&lt;li&gt;FormEntry - Here you can find relationship between FieldData and FormId&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-05-16T12:02:27.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11816" PostTypeId="2" ParentId="11813" CreationDate="2018-05-16T14:57:14.600" Score="1" Body="&lt;p&gt;You are going to have to customize the Gallery component for that. I think you are missing how the components work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The DataSource for a Gallery is a &lt;code&gt;Gallery Folder&lt;/code&gt; template. You can't just set it to look at media items. You can only set a single DataSource for a component. Once you have set the Gallery component DataSource, then you can add &lt;code&gt;Gallery&lt;/code&gt; items which link through to media items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From your requirements, you would need to create a custom component to do that. You might start by cloning the &lt;code&gt;Gallery&lt;/code&gt; component and then implementing your own code, change the DataSource template definition and modify the view to meet your requirements. But the out of the box &lt;code&gt;Gallery&lt;/code&gt; component will not support going direct to the images.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-05-16T14:57:14.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11817" PostTypeId="1" AcceptedAnswerId="11866" CreationDate="2018-05-16T15:12:18.260" Score="1" ViewCount="642" Body="&lt;p&gt;I would need to create a component in SXA that displays a link to all elements on the page that have a h2 title.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a non-SXA site I would know how to do this as I would have control over my components. They could set an anchor and set some values that can be read by the navigation component to display them as links. We also have &lt;a href=&quot;https://sitecore.stackexchange.com/q/11784/237&quot;&gt;solutions&lt;/a&gt; that enable us to get the navigation on top but still be executed after the other renderings. So that would be ok..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I need to do this in SXA... and I still want to use the default SXA components. So, how can I:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;add an anchor to the titles&lt;/li&gt;&#xA;&lt;li&gt;list all those anchors (and the title as text for them)&lt;/li&gt;&#xA;&lt;li&gt;make sure the anchor navigation rendering is executed after it has all information&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-05-22T11:46:54.380" Title="Creating an internal anchor navigation in SXA" Tags="|sxa|presentation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11818" PostTypeId="1" AcceptedAnswerId="11823" CreationDate="2018-05-16T16:29:11.893" Score="3" ViewCount="974" Body="&lt;p&gt;I have a rendering that is on an item, and all its dependencies and templates are published (this has been verified).  The rendering itself is inside a dynamic placeholder.  It shows up fine in edit mode and in preview, but once I change to normal mode all changes to the item are reflected except the rendering in question.  This one rendering does not show up (not even rendered in the markup).  No errors are thrown in either the logs or in the browser console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="1587" LastActivityDate="2019-10-29T05:53:13.120" Title="MVC rendering not being rendered in normal mode" Tags="|mvc|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="11819" PostTypeId="1" CreationDate="2018-05-16T17:59:16.020" Score="7" ViewCount="1741" Body="&lt;p&gt;We are planning to sync Sitecore production data with our &lt;code&gt;QA/DEV&lt;/code&gt; environment. But We do not want to take any risk with our production database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using &lt;code&gt;TDS&lt;/code&gt; in our lower environment. What could be good approach to make our lower environment up to date?&lt;/p&gt;&#xA;" OwnerUserId="2723" LastEditorUserId="5387" LastEditDate="2019-08-29T05:27:27.437" LastActivityDate="2019-08-29T05:27:27.437" Title="Sync Sitecore production database with QA/ DEV environment" Tags="|tds|deployment|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11820" PostTypeId="1" AcceptedAnswerId="11896" CreationDate="2018-05-16T18:17:54.657" Score="1" ViewCount="584" Body="&lt;p&gt;&lt;em&gt;As a&lt;/em&gt; developer,&lt;br&gt;&#xA;&lt;em&gt;I want&lt;/em&gt; to change data from a component in ONE place,&lt;br&gt;&#xA;&lt;em&gt;so that&lt;/em&gt; I don't need to duplicate this data for each pages&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I ask to my&lt;br&gt;&#xA;&lt;em&gt;src/app/components/&lt;strong&gt;header-nav.vue&lt;/em&gt;&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;template&amp;gt;&#xA;    &amp;lt;sc-link :field=&quot;fields.link&quot; /&amp;gt;         &#xA;&amp;lt;/template&amp;gt;&#xA;&#xA;&amp;lt;script&amp;gt;&#xA;import { Link } from '@sitecore-jss/sitecore-jss-vue';&#xA;&#xA;  export default {&#xA;    name: 'HeaderNav',&#xA;    props: {&#xA;      fields: {&#xA;        type: Object,&#xA;        default: () =&amp;gt; ({}),&#xA;      }&#xA;    },&#xA;    data:  function () {&#xA;      return {}&#xA;    },&#xA;    components: {&#xA;      ScLink: Link,&#xA;    }&#xA;  };&#xA;&amp;lt;/script&amp;gt;&#xA;&#xA;&amp;lt;style&amp;gt;&#xA;&#xA;&amp;lt;/style&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to use data from&lt;br&gt;&#xA;&lt;strong&gt;&lt;em&gt;data/components/header-nav/en.json&lt;/em&gt;&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;name&quot;: &quot;Header Nav&quot;,&#xA;  &quot;componentName&quot;: &quot;HeaderNav&quot;,&#xA;  &quot;fields&quot;: {&#xA;    &quot;link&quot;: { &#xA;      &quot;value&quot;: {&#xA;        &quot;href&quot;: &quot;/services&quot;,&#xA;        &quot;title&quot;: &quot;Services&quot;,&#xA;        &quot;text&quot;: &quot;Services&quot;&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;instead of&lt;br&gt;&#xA;&lt;strong&gt;&lt;em&gt;data/routes/en.json&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;name&quot;: &quot;services&quot;,&#xA;  &quot;displayName&quot;: &quot;Services&quot;,&#xA;  &quot;placeholders&quot;: {&#xA;    &quot;main&quot;: [&#xA;      {&#xA;        &quot;componentName&quot;: &quot;HeaderNav&quot;,&#xA;        &quot;fields&quot;: {&#xA;          &quot;link&quot;: {&#xA;            &quot;value&quot;: {&#xA;              &quot;href&quot;: &quot;/services&quot;,&#xA;              &quot;title&quot;: &quot;Services&quot;,&#xA;              &quot;text&quot;: &quot;Services&quot;&#xA;            }&#xA;          }&#xA;        }&#xA;      }&#xA;    ]&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3659" LastActivityDate="2018-05-24T14:31:28.790" Title="How can I share data from one component in JSS with Vue Js?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11821" PostTypeId="2" ParentId="11819" CreationDate="2018-05-16T18:38:22.307" Score="4" Body="&lt;p&gt;If all your items on the Production environment are found on TDS, you can deployed them to your lower environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if they are not, you can backup the Production databases (core, master and web) and restore them onto the lower environments. This is the approach I am using on all my Staging environments to keep them up to date with Production because on TDS, we have only test contents, templates, layouts/renderings and system item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then when we deploy our TDS to staging we set it not to delete items so the items from production will stay on the Staging environment with new items being installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that when you restore an environment database onto another one, you need to clear from core, master and web the&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Event queue table&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Properties table&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Because they still have the other environments details which can cause issues like events are out of sync.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-05-16T18:46:58.020" LastActivityDate="2018-05-16T18:46:58.020" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11822" PostTypeId="1" CreationDate="2018-05-16T19:09:45.783" Score="9" ViewCount="1662" Body="&lt;p&gt;I Installed Sitecore 9 XP1 with Separate CD and CM servers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting the below error in CD: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Unexpected character encountered while parsing value: &amp;lt;. Path '', line 0, position 0&#xA;31260 12:55:45 ERROR Cannot start analytics Tracker&#xA;Exception: Newtonsoft.Json.JsonReaderException&#xA;Message: Unexpected character encountered while parsing value: &amp;lt;. Path '', line 0, position 0.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3697" LastEditorUserId="73" LastEditDate="2020-03-04T12:04:29.390" LastActivityDate="2024-03-16T13:06:45.857" Title="Sitecore 9 Separate CD server - ERROR Cannot start analytics Tracker" Tags="|xdb|xconnect|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="11823" PostTypeId="2" ParentId="11818" CreationDate="2018-05-16T21:00:04.780" Score="2" Body="&lt;p&gt;Here are a few things you can try:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Validate whether the item is published to your target. If you have a single target your default database out of the box will be web. You can open the web database and validate whether that rendering is present on the item. It may be the case that the reference to the rendering is published but not the rendering itself in which case would explain such issue&lt;/li&gt;&#xA;&lt;li&gt;If the item with the reference to your rendering is not on your target database you have a publishing issue. It could be that you have publishing restrictions on the item? If you do try removing it and see if it helps&lt;/li&gt;&#xA;&lt;li&gt;One other thing that could be causing it not to be published is your item is not in the final workflow step meaning the item was not published&lt;/li&gt;&#xA;&lt;li&gt;If you see the rendering in your item on the web database and it all looks good but still don't see it being rendered you may be facing a cache issue. Have you tried clearing the server cache? You can do that through this page &lt;a href=&quot;http://hostname/sitecore/admin/cache.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hostname/sitecore/admin/cache.aspx&lt;/a&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="90" LastActivityDate="2018-05-16T21:00:04.780" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11824" PostTypeId="1" AcceptedAnswerId="11829" CreationDate="2018-05-16T23:00:36.630" Score="0" ViewCount="610" Body="&lt;p&gt;I have a function like below which give me the list of items which are closer to publishing date but not yet approved in workflow. I have to mail this list to few people.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  private void GetItemsTobePublishedbutNotApproved()&#xA;  {&#xA;        IWorkflow[] workflows = Sitecore.Context.Database.WorkflowProvider.GetWorkflows();&#xA;&#xA;        IWorkflow chosenWorkflow = workflows.Where(x =&amp;gt; x.WorkflowID == &quot;{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}&quot;).FirstOrDefault(); // choose your worfklow&#xA;&#xA;        WorkflowState[] workflowStates = chosenWorkflow.GetStates();&#xA;        string draftStateId = Convert.ToString(workflowStates.Where(c =&amp;gt; c.DisplayName == &quot;Draft&quot;).FirstOrDefault());&#xA;&#xA;        foreach (WorkflowState state in workflowStates)&#xA;        {&#xA;            if (!state.FinalState &amp;amp;&amp;amp; state.DisplayName != &quot;Draft&quot;)&#xA;            {&#xA;                DataUri[] itemDataUris = chosenWorkflow.GetItems(state.StateID);&#xA;                foreach (DataUri uri in itemDataUris)&#xA;                {&#xA;                    Item item = Sitecore.Context.Database.GetItem(uri);&#xA;                    DateField dateField = (DateField)item.Fields[&quot;Publish Date&quot;];&#xA;                    var dateTime = dateField.DateTime;&#xA;                    DateTime currentdateTime = DateTime.Now;&#xA;                    if ((currentdateTime - dateTime).TotalDays &amp;lt; 2)&#xA;                    {&#xA;                        string name = item.Name;&#xA;                        string currentState = state.DisplayName;&#xA;                        Sitecore.Workflows.WorkflowEvent[] workflowHistory = Sitecore.Context.Database.WorkflowProvider.GetWorkflow(item).GetHistory(item);&#xA;                        //Get the Author Information &#xA;                        string user = workflowHistory.Where(x =&amp;gt; x.OldState == &quot;DraftStateId&quot;).FirstOrDefault().User;&#xA;                        var submittingUser = Sitecore.Security.Accounts.User.FromName(user, false);&#xA;                        //Email all th details to a person &#xA;                    }&#xA;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have to create a job with the above function which runs once per day and trigger email. What should I do to convert above function as scheduled job?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3621" LastEditorUserId="2056" LastEditDate="2018-05-17T07:17:08.610" LastActivityDate="2018-06-16T14:46:43.957" Title="How do I adapt my function to Schedule job?" Tags="|workflow|scheduled-tasks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11825" PostTypeId="1" CreationDate="2018-05-16T23:24:10.587" Score="3" ViewCount="438" Body="&lt;p&gt;Using Sitecore 9.0.1 and DEF 2.0.1, to process JSON from an API. This works well until I have child entities in the json.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;&#xA;  &quot;name&quot;: &quot;XXX&quot;,&#xA;  &quot;short_description&quot;: null,&#xA;  &quot;description&quot;: null,&#xA;  &quot;type&quot;: &quot;destination&quot;,&#xA;  &quot;childobject&quot;: [&#xA;    {&#xA;      &quot;id&quot;: &quot;1&quot;,&#xA;      &quot;name&quot;: &quot;YYY&quot;,&#xA;      &quot;type&quot;: &quot;AAA&quot;&#xA;&#xA;    },&#xA;    {&#xA;      &quot;id&quot; : &quot;2&quot;&#xA;      &quot;name&quot;: &quot;FFF&quot;,&#xA;      &quot;type&quot;: &quot;ASSSAA&quot;&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My processor adds the parent object to IterableDataSettings with just the one row for the parent object. But how do I process childobjects ? It would seem they need to be added to a seperate IterableData set and pipeline but is that even possible in code? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My issues may stem from using a generic processor (ReadJsonDetailApiProcessor) that knows nothing about the &quot;childobjects&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I create an accessor for childobjects, could I use a custom Value Reader implementation ? But then again it would need to use a seperate pipeline &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can tell, Im lacking clarity on how to do this at the moment &lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2018-05-29T07:06:48.657" LastActivityDate="2018-06-01T07:21:17.883" Title="How to handle child data collections" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11826" PostTypeId="2" ParentId="11711" CreationDate="2018-05-16T23:27:35.193" Score="2" Body="&lt;p&gt;I have implemented this by reading all Sitecore experiences using a Read Sitecore Items Pipeline Step, iterating through it in another step, then another pipeline to call the experience detail api, and finally using the existing pipeline to update the Experience in Sitecore. Job done!&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2018-05-16T23:27:35.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11829" PostTypeId="2" ParentId="11824" CreationDate="2018-05-17T06:46:18.630" Score="1" Body="&lt;p&gt;You have couple of options to make this happen.&#xA;Two options are below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1) SiteCron&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to run job exactly at specified time, you should introduce Sitecron module into your solution. You can find it in &lt;a href=&quot;https://github.com/akshaysura/Sitecron&quot; rel=&quot;nofollow noreferrer&quot;&gt;Akshay's friendly github&lt;/a&gt; or directly in &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecron&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Marketplace&lt;/a&gt;. This option is good when there is no problem introducing new module into solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create class inheriting from IJob:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Quartz;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Managers;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Globalization;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;&#xA;namespace SampleJob.Publishing&#xA;{&#xA;    public class SmartSitePublishJob : IJob&#xA;    {&#xA;        public void Execute(IJobExecutionContext context)&#xA;        {&#xA;            Log.Info(&quot;GetItemsTobePublishedButNotApprovedJob Execute - Start&quot;, this);&#xA;&#xA;            Database master = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;&#xA;            IWorkflow[] workflows = master.WorkflowProvider.GetWorkflows();&#xA;&#xA;            IWorkflow chosenWorkflow = workflows.Where(x =&amp;gt; x.WorkflowID == &quot;{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}&quot;).FirstOrDefault(); // choose your worfklow&#xA;&#xA;            WorkflowState[] workflowStates = chosenWorkflow.GetStates();&#xA;            string draftStateId = Convert.ToString(workflowStates.Where(c =&amp;gt; c.DisplayName == &quot;Draft&quot;).FirstOrDefault());&#xA;&#xA;            foreach (WorkflowState state in workflowStates)&#xA;            {&#xA;                if (!state.FinalState &amp;amp;&amp;amp; state.DisplayName != &quot;Draft&quot;)&#xA;                {&#xA;                    DataUri[] itemDataUris = chosenWorkflow.GetItems(state.StateID);&#xA;                    foreach (DataUri uri in itemDataUris)&#xA;                    {&#xA;                        Item item = Sitecore.Context.Database.GetItem(uri);&#xA;                        DateField dateField = (DateField)item.Fields[&quot;Publish Date&quot;];&#xA;                        var dateTime = dateField.DateTime;&#xA;                        DateTime currentdateTime = DateTime.Now;&#xA;&#xA;                        if ((currentdateTime - dateTime).TotalDays &amp;lt; 2)&#xA;                        {&#xA;                            string name = item.Name;&#xA;                            string currentState = state.DisplayName;&#xA;                            Sitecore.Workflows.WorkflowEvent[] workflowHistory = Sitecore.Context.Database.WorkflowProvider.GetWorkflow(item).GetHistory(item);&#xA;                            //Get the Author Information &#xA;                            string user = workflowHistory.Where(x =&amp;gt; x.OldState == &quot;DraftStateId&quot;).FirstOrDefault().User;&#xA;                            var submittingUser = Sitecore.Security.Accounts.User.FromName(user, false);&#xA;                            //Email all the details to a person &#xA;                         }    &#xA;                     }&#xA;                 }&#xA;             }&#xA;&#xA;             Log.Info(&quot;GetItemsTobePublishedButNotApprovedJob Execute - End&quot;, this);&#xA;        }&#xA;    }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For further reference and sample solution &lt;a href=&quot;https://github.com/akshaysura/Sitecron/tree/master/SampleJob&quot; rel=&quot;nofollow noreferrer&quot;&gt;take a look on github&lt;/a&gt;.&#xA;Take a look also on video how to wire things up -&gt; &lt;a href=&quot;https://www.akshaysura.com/video/sitecron-demo/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.akshaysura.com/video/sitecron-demo/&lt;/a&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2) Sitecore OOTB Schedule Jobs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also leverage Sitecore OOTB Scheduler which is fine but it cannot guarantee when job will run precisely. It is based on agent and settings. It will run circa at same time within couple of minutes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, you need to create custom class in your solution with this signature:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Execute(Item[] items, Sitecore.Tasks.CommandItem command, Sitecore.Tasks.ScheduleItem schedule)&#xA;{&#xA;    //Here goes same code as in previous example for SiteCron&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You then need to create new command in Sitecore under /sitecore/system/Tasks/Commands/ based on &lt;strong&gt;/sitecore/templates/System/Tasks/Command&lt;/strong&gt; Template where you specify your class as Type and Method name in Method field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qU05n.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qU05n.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create new schedule job under /sitecore/system/Tasks/Schedules/ based on &lt;strong&gt;/sitecore/templates/System/Tasks/Schedule&lt;/strong&gt; Template where you specify your Command that you created in previous step and Schedule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/003yN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/003yN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details on how to set schedule based on your preference + other stuff can be found in this nice article -&gt; &lt;a href=&quot;https://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.degdigital.com/insights/how-to-create-sitecore-scheduled-task/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-17T13:29:57.830" LastActivityDate="2018-05-17T13:29:57.830" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11832" PostTypeId="1" AcceptedAnswerId="15436" CreationDate="2018-05-17T10:17:06.850" Score="2" ViewCount="3903" Body="&lt;p&gt;Marketing Automation is not working. When I check log in &lt;strong&gt;[xconnect]\Website\App_data\jobs\continuous\AutomationEngine\App_Data\Logs&lt;/strong&gt;&#xA;I have found this below error:&#xA;    &lt;strong&gt;Failed to instantiate a processor of type '&quot;Sitecore.Xdb.MarketingAutomation.Processing.EventProcessor&quot;'&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2018-05-17 10:37:19.698 +03:00 [Error] Failed to instantiate a processor of type '&quot;Sitecore.Xdb.MarketingAutomation.Processing.EventProcessor&quot;'.&#xA;System.InvalidOperationException: This configuration has not been initialized. Please call the initialize method before using it.&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.CheckInitialized()&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.get_CurrentModel()&#xA;   at Sitecore.XConnect.XdbContext..ctor(XdbContextConfiguration configuration)&#xA;   at Sitecore.XConnect.Client.XConnectClient..ctor(XConnectClientConfiguration config)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.Configuration.ConfigurationServiceType.&amp;lt;&amp;gt;c__DisplayClass24_0.&amp;lt;op_Implicit&amp;gt;b__0(IServiceProvider sp)&#xA;   at Sitecore.XConnect.Configuration.Extensions.&amp;lt;&amp;gt;c__DisplayClass13_0.&amp;lt;UseServiceDecorator&amp;gt;b__1(IServiceProvider provider)&#xA;   at lambda_method(Closure , ServiceProvider )&#xA;   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.Configuration.ConfigurationServiceType.&amp;lt;&amp;gt;c__DisplayClass24_0.&amp;lt;op_Implicit&amp;gt;b__0(IServiceProvider sp)&#xA;   at lambda_method(Closure , ServiceProvider )&#xA;   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.Configuration.ConfigurationServiceType.&amp;lt;&amp;gt;c__DisplayClass24_0.&amp;lt;op_Implicit&amp;gt;b__0(IServiceProvider sp)&#xA;   at lambda_method(Closure , ServiceProvider )&#xA;   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Sitecore.Xdb.MarketingAutomation.Factory.ProcessorFactory.CreateProcessor(Guid contactId, ExecutionData data)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have searched a lot but don't find anything related to fixing this issue. &lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="88" LastEditDate="2018-05-17T11:02:31.730" LastActivityDate="2022-04-06T11:35:39.117" Title="How to fix &quot;Failed to instantiate a processor of type '&quot;Sitecore.Xdb.MarketingAutomation.Processing.EventProcessor&quot;'&quot;" Tags="|marketing-automation|" AnswerCount="4" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="11834" PostTypeId="1" AcceptedAnswerId="11835" CreationDate="2018-05-17T10:44:24.417" Score="1" ViewCount="970" Body="&lt;p&gt;I found &quot;Taglist&quot; and &quot;Tag Treelist&quot; in the list of available field types in my current instance of Sitecore 9:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2Eb4F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2Eb4F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but i can't find any sort of documentation on them on the official Sitecore website, nor anywhere actually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone tell me what are they used for?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="2056" LastEditDate="2018-05-17T11:17:49.947" LastActivityDate="2018-05-17T11:40:39.957" Title="What are &quot;Taglist&quot; and &quot;Tag Treelist&quot; field types in Sitecore 9?" Tags="|sxa|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11835" PostTypeId="2" ParentId="11834" CreationDate="2018-05-17T11:11:54.343" Score="4" Body="&lt;p&gt;Both field types are coming from Sitecore Experience Accelerator (SXA). You can find their implementation in Sitecore.XA.Feature.Taxonomy.dll precisely in Sitecore.XA.Feature.Taxonomy.FieldTypes namespace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TagTreeList&lt;/strong&gt; is used by &quot;Tag Cloud&quot; rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This rendering looks like this (right column below Archive):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XDDee.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XDDee.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TagList&lt;/strong&gt; is used by &quot;Tag List&quot; Rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Renderings can be found in Sitecore under /sitecore/layout/Renderings/Feature/Experience Accelerator/Taxonomy in &quot;master&quot; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are defined in Sitecore.XA.Feature.Taxonomy.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;by this config patch&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;controlSources&amp;gt;&#xA;  &amp;lt;source patch:before=&quot;*[@namespace='Sitecore.Shell.Applications.ContentEditor']&quot; mode=&quot;on&quot; namespace=&quot;Sitecore.XA.Feature.Taxonomy.FieldTypes&quot; assembly=&quot;Sitecore.XA.Feature.Taxonomy&quot; prefix=&quot;content&quot;/&amp;gt;&#xA;&amp;lt;/controlSources&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and also in &quot;core&quot; database in /sitecore/system/Field types/List Types/Taglist and /sitecore/system/Field types/List Types/Tag Treelist items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Small details can be found here about renderings - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/the_sxa_renderings_and_rendering_variants#_Engagement&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/the_sxa_renderings_and_rendering_variants#_Engagement&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both fields usage can be seen in really cool Alan Plocieniak's blog post -&gt; &lt;a href=&quot;https://alan-null.github.io/2017/12/sxa-blog#search-results-page&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://alan-null.github.io/2017/12/sxa-blog#search-results-page&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-17T11:40:39.957" LastActivityDate="2018-05-17T11:40:39.957" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11838" PostTypeId="2" ParentId="11778" CreationDate="2018-05-17T13:40:24.360" Score="6" Body="&lt;p&gt;I had the same issue, but in my case we used Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;&lt;strong&gt;commerce_userprofiles_index_master&lt;/strong&gt;&quot; is used by the &quot;&lt;strong&gt;Customer&amp;amp;Order Manager&lt;/strong&gt;&quot; which is typically only used on CM inside Sitecore client. The C&amp;amp;O manager needs this index to find users created on runtime site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should disable the pipeline processors inside the &lt;code&gt;&amp;lt;commerce.customers.createUser&amp;gt;&lt;/code&gt; (so as update/delete) in &lt;code&gt;CommerceServer.Customers.config&lt;/code&gt; on your CD environment unless you need run C&amp;amp;O manager on CD in order to avoid errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In such a CM/CD distributed deployment, the &lt;strong&gt;commerce_userprofiles_index_master&lt;/strong&gt; needed on CM side will not be updated when users are created in runtime site on CD side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a workaround for the issue, there are 2 options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Using SOLR - then CommerceServer.ContentSearch.Solr.Index.Master.config should be enabled on a CD server as well as create\update\delete processors in CommerceServer.Customers.config.&lt;/li&gt;&#xA;&lt;li&gt;Perform a &lt;strong&gt;FULL INDEX REBUILD&lt;/strong&gt; for commerce_userprofiles_index_master on CM server in a timely manner.&lt;/li&gt;&#xA;&lt;li&gt;Disable the pipeline processors inside the (so as update/delete) in CommerceServer.Customers.config on your CD environment. (Side effect: You will not be able to see new customers in C&amp;amp;O until you do the FULL Rebuild)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-05-17T13:40:24.360" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11839" PostTypeId="1" CreationDate="2018-05-17T14:36:37.210" Score="1" ViewCount="243" Body="&lt;p&gt;We are building a site that needs to support multiple ways of logging in:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Forms authentication using Sitecore's built-in user database. Users belong to the extranet domain. This part is already implemented and working fine.&lt;/li&gt;&#xA;&lt;li&gt;Federated OWIN authentication against a 3rd party service that is fairly similar to Azure AD&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Content access depending on method of authentication&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Much of the website will be available to anonymous users.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Forms authentication will give users access to a few more pages (user dashboard etc.) plus additional features on the public pages.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Federated authentication will in addition to the above allow access to a secure part of the website.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We need to be able to save profile settings for both types of users in Sitecore. I suppose this means that we shouldn't use virtual users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our code solution uses the Helix architecture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking for general pointers on how to go about setting this up, both in terms of what to do on a Controller level and in terms of Sitecore security roles etc. Should we create a new domain for the federated users? If so, can we configure the site to support multiple domains on the same pages? Is this done by creating multiple site entries with the same rootPath in the Sitecore config file?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3703" LastEditorUserId="3703" LastEditDate="2018-05-17T14:54:59.280" LastActivityDate="2018-05-17T14:54:59.280" Title="Supporting federated and forms authentication on the same site" Tags="|helix|authentication|federated-authentication|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11840" PostTypeId="1" CreationDate="2018-05-17T15:02:13.050" Score="0" ViewCount="612" Body="&lt;p&gt;one specific requirement in which content editor needs to choose properties by state. I have properties with states field. Now I am planning to create the user-defined template for a content editor to choose properties based on the state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to add property filtering in template based on the selected state in the drop-down?&lt;/p&gt;&#xA;" OwnerUserId="3601" LastActivityDate="2018-05-18T18:11:09.547" Title="Create sitecore template field with specific condition" Tags="|presentation|templates|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11841" PostTypeId="1" AcceptedAnswerId="11842" CreationDate="2018-05-17T16:23:48.047" Score="6" ViewCount="223" Body="&lt;p&gt;Today a content editor asked me what the &quot;Control bar&quot; checkbox on the Experience Editor &quot;View&quot; tab is supposed to do - and I did not know. In our instance, clicking the checkbox doesn't seem to do/change anything. I haven't been able to find documentation that tells me what the expected behavior is for this checkbox so we can further troubleshoot our instance. Does anyone have any info or have you experienced this same issue? Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3706" LastActivityDate="2018-05-17T17:01:39.583" Title="What is the &quot;Control bar&quot; checkbox on Experience Editor &quot;View&quot; tab supposed to do?" Tags="|experience-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11842" PostTypeId="2" ParentId="11841" CreationDate="2018-05-17T17:01:39.583" Score="4" Body="&lt;p&gt;It changes how personalization of the component info is displayed in Experience Editor mode:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AZMc6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AZMc6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Uncheck it to hide the second bar which shows names of the conditions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may have also have similar impact on showing A/B tests in Experience Editor, but I'm not 100% sure now.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-05-17T17:01:39.583" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11844" PostTypeId="1" AcceptedAnswerId="12077" CreationDate="2018-05-17T18:38:57.170" Score="0" ViewCount="522" Body="&lt;p&gt;We are facing an odd error when opening a page in Experience Editor:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;An error occurred. [Log message: Could not get item with&#xA;  id:{EA2F948D-613B-4392-837E-96FC933FEFE1} from database:master]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Eqg1W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Eqg1W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The GUID listed, is the GUID of the page and comes up when you search for the item, so not sure what is causing the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jEzQs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jEzQs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a snipit of the logs that are showing the error, the error is logged multiple times. Any suggestions, what could be the issue?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2212 12:16:53 ERROR Could not get item with&#xA;  id:%7bEA2F948D-613B-4392-837E-96FC933FEFE1%7d from database:master&#xA;  Exception: System.InvalidOperationException Message: Could not get&#xA;  item with id:%7bEA2F948D-613B-4392-837E-96FC933FEFE1%7d from&#xA;  database:master Source: Sitecore.ExperienceEditor.Speak at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Contexts.ItemContext.get_Item()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Requests.EnableDesigning.CanDesign.GetState()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Requests.Common.ToggleCapabilityRequest.GetControlState()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorControlStateRequest&lt;code&gt;1.ProcessRequest()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest&lt;/code&gt;1.Process(RequestArgs&#xA;  requestArgs)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;6704 12:16:56 ERROR Could not get item with&#xA;  id:%7bEA2F948D-613B-4392-837E-96FC933FEFE1%7d from database:master&#xA;  Exception: System.InvalidOperationException Message: Could not get&#xA;  item with id:%7bEA2F948D-613B-4392-837E-96FC933FEFE1%7d from&#xA;  database:master Source: Sitecore.ExperienceEditor.Speak at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Contexts.ItemContext.get_Item()&#xA;  at&#xA;  Sitecore.XA.Foundation.Editing.Requests.CheckLimitedDevice.ProcessRequest()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs&#xA;  requestArgs)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;6928 12:16:56 ERROR Could not get item with&#xA;  id:%7bEA2F948D-613B-4392-837E-96FC933FEFE1%7d from database:master&#xA;  Exception: System.InvalidOperationException Message: Could not get&#xA;  item with id:%7bEA2F948D-613B-4392-837E-96FC933FEFE1%7d from&#xA;  database:master Source: Sitecore.ExperienceEditor.Speak at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Contexts.ItemContext.get_Item()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Contexts.ItemContext.get_DeviceItem()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Requests.SelectDevice.DeviceIconLabelRequest.ProcessRequest()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs&#xA;  requestArgs)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4084 12:16:56 ERROR Could not get item with&#xA;  id:%7bEA2F948D-613B-4392-837E-96FC933FEFE1%7d from database:master&#xA;  Exception: System.InvalidOperationException Message: Could not get&#xA;  item with id:%7bEA2F948D-613B-4392-837E-96FC933FEFE1%7d from&#xA;  database:master Source: Sitecore.ExperienceEditor.Speak at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Contexts.ItemContext.get_Item()&#xA;  at&#xA;  Sitecore.ContentTesting.Requests.ExperienceEditor.ItemHasActiveTestRequest.ProcessRequest()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs&#xA;  requestArgs)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3637" LastEditorUserId="2727" LastEditDate="2018-05-25T05:10:09.473" LastActivityDate="2018-05-31T13:59:46.760" Title="Could not get item with id exception when opening a page with Experience Editor" Tags="|experience-editor|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="11845" PostTypeId="2" ParentId="11840" CreationDate="2018-05-17T19:56:10.960" Score="1" Body="&lt;p&gt;For such solutions we used a solution by Dan Cruikshank: &lt;a href=&quot;https://getfishtank.ca/en/blog/using-item-field-as-a-data-source-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://getfishtank.ca/en/blog/using-item-field-as-a-data-source-in-sitecore&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The DataSource of your Dropdown would be the path to your 'states' and the other field will show the filtered 'propterties'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You first have to select a 'state', save the item and you will get a selection of the available 'properties'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.  &lt;/p&gt;&#xA;" OwnerUserId="1183" LastActivityDate="2018-05-17T19:56:10.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11847" PostTypeId="2" ParentId="11819" CreationDate="2018-05-17T20:42:44.127" Score="2" Body="&lt;p&gt;You can also use RAZL from Hedgehog to sync the environments over your build system. RAZL uses XML scripts which you can use e.g. with Teamcity to sync it with your staging or dev environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://hedgehogdevelopment.github.io/razl/script.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hedgehogdevelopment.github.io/razl/script.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards&#xA;Dirk&lt;/p&gt;&#xA;" OwnerUserId="1183" LastActivityDate="2018-05-17T20:42:44.127" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11848" PostTypeId="1" CreationDate="2018-05-17T23:03:47.887" Score="0" ViewCount="789" Body="&lt;p&gt;On my machine, I am able to sync all content across all Helix projects&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my colleagues machine, she doesn't see any check boxes or projects at all with no error displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to Kamsar, &lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn/issues/108&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreUnicorn/Unicorn/issues/108&lt;/a&gt;, this may be due to any of these conditions not being met:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MultipleConfigurationsExist &amp;amp;&amp;amp; &#xA; configurationHasAnySerializedItems &amp;amp;&amp;amp; &#xA; configurationHasValidRootPaths&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But they should all be met in this case. Any suggestions? Is there a Unicorn log I can check?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steve&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="2056" LastEditDate="2018-05-18T08:11:30.337" LastActivityDate="2018-05-18T08:11:30.337" Title="Check boxes for Unicorn Sync on Helix Projects not shown" Tags="|helix|habitat|unicorn|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11849" PostTypeId="2" ParentId="7455" CreationDate="2018-05-18T04:50:50.210" Score="-1" Body="&lt;p&gt;I ran into same situation.. and thought of posting how I fixed it, may help someone..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case datasource paths on the renderings were pointing to old location where I moved them from. After correcting those paths my pages started working as expected. &lt;/p&gt;&#xA;" OwnerUserId="2447" LastActivityDate="2018-05-18T04:50:50.210" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11850" PostTypeId="2" ParentId="11711" CreationDate="2018-05-18T08:50:52.007" Score="4" Body="&lt;p&gt;So, if in order to get additional detail you have to send a new request by id, I can propose 2 options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Create Pipeline step processor that gets all data and loops&#xA;  through them in order to get/send additional request to get data&#xA;  detail by id. (see 4)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Next example demonstrates how to sync all Experience Groups. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EWnCx.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EWnCx.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Create two Pipeline step processors&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Get all data (see 4)&lt;/li&gt;&#xA;  &lt;li&gt;Get data detail by id (see 6)&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Next example demonstrates how to sync all Experiences. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/M2cCn.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M2cCn.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-05-18T08:50:52.007" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11851" PostTypeId="1" CreationDate="2018-05-18T09:34:08.273" Score="8" ViewCount="13551" Body="&lt;p&gt;I have following structure in sitecore &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; Country &#xA;    &amp;gt; India&#xA;    &amp;gt; Srilanka &#xA;    &amp;gt; Bangladesh&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The following query returns all the child items but in alphabetical order&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; string parentItemPath = &quot;fast:/&quot;+ SitecoreHelper.GetItemUnversioned(Model.Item.ID.ToString()).Paths.Path;&#xA; Item[] allItems = SitecoreHelper.GetVersionedItemsByQuery(parentItemPath + &quot;/*&quot; );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I need the child items in the order defined in Sitecore.&lt;br&gt;&#xA;      i.e, Same as like Content Tree Order.Is there any way to achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&#xA;I have found one solution, not sure whether it is efficient or not&#xA;Provide values for sort field in each Item, like &lt;code&gt;200 to India, 201 to Srilanka&lt;/code&gt; and so on, and view the same in View. They are listed as same number. &lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="2963" LastEditDate="2018-11-15T17:00:32.417" LastActivityDate="2019-04-23T21:34:55.860" Title="Get all Children in the order defined in Sitecore" Tags="|sitecore-query|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11852" PostTypeId="2" ParentId="11851" CreationDate="2018-05-18T09:41:41.717" Score="9" Body="&lt;p&gt;Fast query runs on the database directly. In most of the scenarios it's not an ideal choice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to get children in the same order as they are defined in Sitecore, use Sitecore API.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Model.Item.Children&#xA;Model.Item.GetChildren()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Item.GetChildren()&lt;/code&gt; method can take &lt;code&gt;ChildListOptions&lt;/code&gt; as the parameter. Here are available flags:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ChildListOptions.None&#xA;ChildListOptions.IgnoreSecurity&#xA;ChildListOptions.AllowReuse&#xA;ChildListOptions.SkipSorting&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-05-18T09:44:24.743" LastActivityDate="2018-05-18T09:44:24.743" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11853" PostTypeId="2" ParentId="11799" CreationDate="2018-05-18T09:58:53.180" Score="3" Body="&lt;p&gt;Us we figured out from comments the problem was in the converter for created custom pipeline step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fix is to specify supported template id for the converter.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SupportedIds(&quot;[TEMPLATE ID]&quot;)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-05-18T09:58:53.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11854" PostTypeId="2" ParentId="11260" CreationDate="2018-05-18T10:01:14.870" Score="1" Body="&lt;p&gt;Best approach would be to disable or hide publishing targets completely based on role permissions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Administrators would still have access to all publishing targets but content editors would be restricted which is exactly what you had in requirements .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should always aim to hide or disable functionality which users should use or click to avoid confusion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can really easily achieve this without any custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your scenario, disabling would be great as publishing targets would be still present but cannot be selected / checked. Check out also &lt;a href=&quot;http://tothecore.sk/2018/05/17/setting-permissions-to-publishing-targets-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;my blog post with more details&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1) Hide publishing target&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to hide publishing target, go to Security Manager and deny &quot;Inheritance&quot; permission for particular publishing target. This will effectively disallow &quot;Read&quot; and &quot;Write&quot; permissions and therefore hide publishing target:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lqUkv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lqUkv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/40QVS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/40QVS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2) Disable publishing target&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you allow &quot;Read&quot; permission, your publishing target will be shown but also disabled for that particular role:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qzolf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qzolf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I2nti.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I2nti.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details can be found in my blog post where you can find step by step guide how to achieve one or other approach (disabling/hiding completely publishing targets) -&gt; &lt;a href=&quot;http://tothecore.sk/2018/05/17/setting-permissions-to-publishing-targets-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/05/17/setting-permissions-to-publishing-targets-in-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-05-18T10:01:14.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11855" PostTypeId="2" ParentId="11338" CreationDate="2018-05-18T11:39:42.930" Score="2" Body="&lt;p&gt;Assuming you have configured federated authentication properly. You can do this by mapping claims. &#xA;This is an excerpt an example from @Bas Lijten 's blog.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;As the Administrator role isn’t a real role, but more a Sitecore user&#xA;  property, this “role” needs to be set in a different way. The&#xA;  Propertyinitializer can be used to achieve this. First, it reads a&#xA;  claim (and its value) and if that claim has the defined value, the&#xA;  property will be set:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;&amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;  &amp;lt;!--The mapping sets the Email property of the user profile from emailaddress claim--&amp;gt;&#xA;  &amp;lt;map name=&quot;email claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;    &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;      &amp;lt;!--claim name--&amp;gt;&#xA;      &amp;lt;source name=&quot;idp&quot; value=&quot;Auth0&quot; /&amp;gt;&#xA;      &amp;lt;!--property name--&amp;gt;&#xA;      &amp;lt;target name=&quot;IsAdministrator&quot; value=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/data&amp;gt;&#xA;  &amp;lt;/map&amp;gt;&#xA;&amp;lt;/maps&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="88" LastActivityDate="2018-05-18T11:39:42.930" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11857" PostTypeId="2" ParentId="11851" CreationDate="2018-05-18T13:21:05.307" Score="7" Body="&lt;p&gt;Welcome to Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to have the first level children of an item use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;selectedItem.GetChildren()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are many ways to implement this so below is just one example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var countryItem = Database.GetDatabase(&quot;master&quot;).GetItem(countryItemID);&#xA;if (countryItem != null)&#xA;    var allFirstLevelChildren = countryItem.GetChildren();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should return all items as they are on Sitecore Content Tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you change your mind and want to sort this list or manipulate it then you can use LINQ for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var items = countryItem.GetChildren().Where(x =&amp;gt; x.TemplateID == &quot;{CountryTemplateId}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var items = countryItem.GetChildren().OrderBy(x =&amp;gt; x.Name);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, if you want to have ALL levels children of an item, again there are different ways to implement this but particularly I like to use the one below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Database.GetDatabase(&quot;master&quot;).SelectItems(countryItem.Paths.Path + &quot;//*&quot;).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another very common function to get all levels of children is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;countryItem.Axes.GetDescendants();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I hope that helps.&lt;/p&gt;&#xA;" OwnerUserId="1203" LastEditorUserId="288" LastEditDate="2019-04-23T21:34:55.860" LastActivityDate="2019-04-23T21:34:55.860" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11858" PostTypeId="2" ParentId="11819" CreationDate="2018-05-18T14:12:33.343" Score="2" Body="&lt;p&gt;As the others have hinted, there are lots of different ways to pull down content from one environment to another. Each has there own positives and negatives.  Another approach that hasn't been mentioned is the use of a module called the Sitecore Sidekick: &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each server that you want to move content from and then to needs to have the Sitecore Sidekick installed in those environments.  It provides an easy interface similar to Razl (except this is within the CMS itself) to select and migrate content.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Learn more on &lt;a href=&quot;https://jeffdarchuk.com/2016/10/24/sitecore-sidekick-content-migrator/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Jeff Darchuk's Blog&lt;/a&gt; to learn how to configure it for your specific environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ru8Jf.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ru8Jf.jpg&quot; alt=&quot;https://i.imgur.com/ySOzVLm.jpg&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-05-18T14:12:33.343" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11859" PostTypeId="2" ParentId="10865" CreationDate="2018-05-18T15:15:11.707" Score="0" Body="&lt;p&gt;You can go to your &quot;mmc&quot; by writting &quot;mmc&quot; in your start and a popup will be shown click File&gt;Add/remove snap-ins and then add certificates and from this folder you can remove the certifcate that were added by sitecore installation&lt;/p&gt;&#xA;" OwnerUserId="3428" LastActivityDate="2018-05-18T15:15:11.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11860" PostTypeId="1" AcceptedAnswerId="11861" CreationDate="2018-05-18T16:01:52.743" Score="0" ViewCount="171" Body="&lt;p&gt;My client has a form where they want a confirmation email to be sent to the user on form submission, sent to whatever email address they specified in the Email field on the form. I set up a new Send Email Message save action and set the &quot;To&quot; field to [Email]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Udf9x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Udf9x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works, however every time a content editor opens the Send Email Message editor, Sitecore is automatically adding extra brackets around Email:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To: [[Email]]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This breaks the form. I've informed my client to make sure to remove the extra brackets every time they save, but they're concerned about the form getting accidentally broken on production so I want to figure out why Sitecore is adding the extra brackets and how to stop it, or if there is a better way to send a confirmation message to the user based on a form field.&lt;/p&gt;&#xA;" OwnerUserId="2609" LastActivityDate="2018-05-18T17:45:33.627" Title="WFFM Email Save Action - to: [Email], Sitecore adding extra brackets (Sitecore 6.5)" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11861" PostTypeId="2" ParentId="11860" CreationDate="2018-05-18T17:45:33.627" Score="2" Body="&lt;p&gt;This is a know issue in Sitecore, reference number 402562.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to fix the error, you should download and apply the support fix for your version of WFFM (for Sitecore 6.5 it will be WFFM 2.3). You can find the fix in this Knowledge Base article: &lt;a href=&quot;https://kb.sitecore.net/articles/785584&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/785584&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have downloaded the support patch, you should:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Put the &lt;code&gt;Sitecore.Support.402562.dll&lt;/code&gt; file into the &lt;strong&gt;\bin&lt;/strong&gt; folder.&lt;/li&gt;&#xA;&lt;li&gt;Put the &lt;strong&gt;SendEmail.xml&lt;/strong&gt; file into the &lt;strong&gt;\sitecore\shell\Override folder&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Reassign the value of a particular field using the Send Mail Editor dialog. This means you will have to edit any existing forms that have broken and remove the double brackets from these.&lt;/li&gt;&#xA;&lt;li&gt;Publish the changes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-05-18T17:45:33.627" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11866" PostTypeId="2" ParentId="11817" CreationDate="2018-05-19T06:19:58.007" Score="2" Body="&lt;p&gt;You can create custom JavaScript function: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;read all h2 tag on document.ready &lt;/li&gt;&#xA;&lt;li&gt;Create dynamic html with step-1 content&lt;/li&gt;&#xA;&lt;li&gt;Add dynamic html into div&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can use OOTB html snippet component to insert the JavaScript function or create custom JavaScript file and upload into theme.&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="237" LastEditDate="2018-05-22T11:46:54.380" LastActivityDate="2018-05-22T11:46:54.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11867" PostTypeId="2" ParentId="7133" CreationDate="2018-05-19T09:21:25.123" Score="7" Body="&lt;p&gt;There is a &lt;code&gt;Media.AlwaysAppendRevision&lt;/code&gt; setting in &lt;code&gt;Sitecore.config&lt;/code&gt;. If the setting set to &lt;code&gt;true&lt;/code&gt; then Sitecore appends media item revision number to the media URLs generated by &lt;code&gt;LinkManager&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can set it to &lt;code&gt;true&lt;/code&gt; in &lt;code&gt;Sitecore.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.AlwaysAppendRevision&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you create the medial url this way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%=Sitecore.Resources.Media.MediaManager.GetMediaUrl(item)%&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then the result will be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://example.com/-/media/Default-Website/item.ashx?rev=04951d8eb3934adbbe42ec1c595768dd&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Above result has been gained using the following configurations:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.AlwaysIncludeServerUrl&quot; value=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;setting name=&quot;Media.AlwaysAppendRevision&quot; value=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;setting name=&quot;Media.MediaLinkServerUrl&quot; value=&quot;http://example.com&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2206" LastEditorUserId="2206" LastEditDate="2018-05-19T15:28:29.820" LastActivityDate="2018-05-19T15:28:29.820" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11868" PostTypeId="1" AcceptedAnswerId="11869" CreationDate="2018-05-19T09:28:59.807" Score="0" ViewCount="105" Body="&lt;p&gt;Log showing message as “Error Occurred” when page displayed in edit mode.&#xA;Un-commented the definition of Sitecore_suggested_test_index. The error is not showing up now. Is this index needs to be disabled/enabled for SXA sites?&lt;/p&gt;&#xA;" OwnerUserId="3035" LastActivityDate="2018-05-19T12:03:33.023" Title="Test Suggestion log error" Tags="|content-search|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11869" PostTypeId="2" ParentId="11868" CreationDate="2018-05-19T12:03:33.023" Score="0" Body="&lt;p&gt;This error is related to the &lt;strong&gt;Sitecore Suggested Tests&lt;/strong&gt; functionality (related to the MV [A/B] testing).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you disable the &lt;strong&gt;suggested_test_index&lt;/strong&gt; this feature can't function properly, thus you are receiving various errors (especially in the Exp. Editor) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To cut it short:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If you want to use the content (a/b or MV) testing feature, just keep the index and everything related to the Content Testing enabled.&lt;/li&gt;&#xA;&lt;li&gt;If you want to disable that, please follow this official Sitecore guide to disable the content testing (&lt;a href=&quot;https://kb.sitecore.net/articles/785358&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;) &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="982" LastActivityDate="2018-05-19T12:03:33.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11870" PostTypeId="2" ParentId="8533" CreationDate="2018-05-19T17:59:17.643" Score="2" Body="&lt;p&gt;We are able to fix this issue, though it was unique to our case, i thought it might be helpful to others who might have this problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In FXM js code, the following code tries to set the &lt;code&gt;sc_ext_contact&lt;/code&gt; cookie:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;cookies.set(extCookieName, resp.ContactId, { expires: new Date(Date.parse(e.ContactExpires)), path: '/' }); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the &lt;code&gt;Date.parse(e.ContactExpires)&lt;/code&gt; method was always returning null  resulting in the cookie never being created, This was caused by custom js extension on the &lt;strong&gt;external site&lt;/strong&gt; for the &lt;code&gt;Date&lt;/code&gt; class that was not parsing the date format that sitecore was returning correctly, After accounting for that date format in the external site, the cookie was then created correctly&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-05-19T17:59:17.643" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11872" PostTypeId="2" ParentId="11474" CreationDate="2018-05-19T20:39:39.023" Score="0" Body="&lt;p&gt;Turns out, both Sitecore and uCommerce take care of cookies on their own.&#xA;All i needed to do was set the language / price group in the context when the user triggered this change.&#xA;The cookie got saved automatically.&#xA;On starting a new session, both cookies were loaded up automatically by Sitecore and the uCommerce libraries!&lt;/p&gt;&#xA;" OwnerUserId="3567" LastActivityDate="2018-05-19T20:39:39.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11873" PostTypeId="1" CreationDate="2018-05-19T21:14:33.027" Score="2" ViewCount="279" Body="&lt;p&gt;I am on Sitecore 9 using SOLR.&#xA;We have added some facet configurations under &lt;code&gt;/sitecore/system/Settings/Buckets/Facets&lt;/code&gt; to show them while searching for items in buckets.&#xA;While the facets for fields available on the template are working fine, faceting on computed field values isn't working as expected.&#xA;I see the computed field value available in SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the facet settings item, I have added the field name from the index (all my facets vanished if i didnt add the _t for computed fields as opposed to template fields)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DhSVd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DhSVd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the search I am running on content editor&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/siZ21.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/siZ21.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got the solr query and ran the same:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TUfJw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TUfJw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6QLDK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6QLDK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While i get the same result count as content editor (24)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/daxVz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/daxVz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see the facet values are also returned&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UgovL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UgovL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the facet isnt showing up in the content editor as indicated above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on what I am missing here?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastEditorUserId="1671" LastEditDate="2018-06-29T14:31:48.160" LastActivityDate="2018-06-29T14:31:48.160" Title="Computed fields facets are not working in Content Editor" Tags="|sitecore-client|search-facet|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11874" PostTypeId="1" AcceptedAnswerId="11901" CreationDate="2018-05-20T02:27:17.110" Score="0" ViewCount="417" Body="&lt;p&gt;&lt;strong&gt;Background:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Our sitecore sites are hosted in Azure Web. We use ARR (Azure Request Routing) to redirect traffic between sitecore site vs. existing legacy site until we fully migrate the legacy pages on to sitecore.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While testing FXM, noticed a weird behavior with how sitecore FXM generates end point for sitecore/api/ssc/Beacon/Service. Instead of generating the public domain it seems to generate azure internal azurewebsite url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, our beacon JS is hosted on &lt;a href=&quot;https://fxm.poc.com.au/bundle/beacon&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://fxm.poc.com.au/bundle/beacon&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the response we get from this request has :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SCBeacon = new SCBeacon(&quot;//fxm.azurewebsites.net/sitecore/api/ssc/Beacon/Service&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It should be&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SCBeacon = new SCBeacon(&quot;//fxm.poc.com.au/sitecore/api/ssc/Beacon/Service&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I look at temp folder on azure, noticed that all the beacon file exept the beacon.js has incorrect URL:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/92HvQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/92HvQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made sure that &lt;/p&gt;&#xA;&#xA;&lt;p&gt;FXM.Hostname is set to fxm.poc.com.au&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Still isn't working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at BeaconLoadProcessor, the code seems to construct a URL from Context.Request.URL. Which is interesting and unsure how it would work in azure as we don't want to expose origin URL and are IP whitelisted:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZaXrV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZaXrV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="88" LastEditDate="2018-05-22T08:55:58.863" LastActivityDate="2018-05-22T08:55:58.863" Title="Sitecore FXM is generating incorrect beacon URL: sitecore/api/ssc/Beacon/Service" Tags="|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11875" PostTypeId="1" AcceptedAnswerId="11878" CreationDate="2018-05-20T08:21:22.397" Score="3" ViewCount="160" Body="&lt;p&gt;I built a custom form with Sitecore MVC, which has an email field section, however, if a user is logged in, i want the user email to be auto populated in the email section. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can i get the email of the currently logged in user in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="2727" LastEditDate="2018-05-25T05:02:16.613" LastActivityDate="2018-05-25T05:02:16.613" Title="Auto populate few fields in Sitecore MVC custom forms" Tags="|mvc-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11876" PostTypeId="2" ParentId="5022" CreationDate="2018-05-20T08:25:48.437" Score="4" Body="&lt;p&gt;Just Check your Solr Service is working fine.You can find the &lt;strong&gt;&quot;ContentSearch.Solr.ServiceBaseAddress&quot;&lt;/strong&gt; in this &#xA;&lt;strong&gt;&quot;App_Config\Sitecore\ContentSearch\Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&quot;&lt;/strong&gt; Config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are having multiple instance in your local then check the SOLR service running with correct path and your project indexes.&lt;/p&gt;&#xA;" OwnerUserId="3720" LastActivityDate="2018-05-20T08:25:48.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11877" PostTypeId="1" AcceptedAnswerId="11879" CreationDate="2018-05-20T14:22:18.720" Score="6" ViewCount="121" Body="&lt;p&gt;I have an icon in my recents icons that has a FQDN for the path. It causes my icon picker to stall while the editor waits to resolve the url. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how to clear the recent icons list? &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-05-21T14:10:36.743" Title="Clearing recent icons" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11878" PostTypeId="2" ParentId="11875" CreationDate="2018-05-20T15:01:13.310" Score="4" Body="&lt;p&gt;So it depends where you are storing the email.&lt;/p&gt;&#xA;&lt;h2&gt;Using xDB&lt;/h2&gt;&#xA;&lt;p&gt;If its in the xDB facet, what key did you store the email under. If you stored it under &lt;code&gt;Work Email&lt;/code&gt;, you would retrieve it like this.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Analytics.Tracker.Current.Contact != null)&#xA;{&#xA;    var emailFacet = Tracker.Current.Contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&amp;quot;Emails&amp;quot;);&#xA;    //Check if an work email address already exists for the contact&#xA;    if (emailFacet.Entries.Contains(&amp;quot;Work Email&amp;quot;))&#xA;    {&#xA;        IEmailAddress email = emailFacet[&amp;quot;Work Email&amp;quot;];&#xA;        return email.SmtpAddress;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;Using user's account&lt;/h2&gt;&#xA;&lt;p&gt;If you identified the user by their email address.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var email = Sitecore.Context.User.LocalName&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;Using user's profile&lt;/h2&gt;&#xA;&lt;p&gt;If you put the email on the user's profile when you created the user.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var email = Sitecore.Context.User.Profile.Email&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-05-20T21:29:58.360" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11879" PostTypeId="2" ParentId="11877" CreationDate="2018-05-20T15:53:35.417" Score="8" Body="&lt;p&gt;Recent icons are remembered for every user in their registry.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use &lt;code&gt;Registry.SetString(&quot;/Current_User/RecentIcons&quot;, string.Empty)&lt;/code&gt; code to clean them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the code of a simple aspx file you can drop to your web application which will do the trick. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IMPORTANT&lt;/strong&gt; put this file in &lt;code&gt;/sitecore/shell&lt;/code&gt; folder. I've tried in website root directly and in &lt;code&gt;/sitecore/admin&lt;/code&gt; and it didn't work for me.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; %&amp;gt;&#xA;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;public void Page_Load(object sender, EventArgs args)&#xA;{&#xA;    Sitecore.Web.UI.HtmlControls.Registry.SetString(&quot;/Current_User/RecentIcons&quot;, string.Empty);&#xA;}&#xA;&amp;lt;/script&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA; &amp;lt;body&amp;gt;&#xA;  &amp;lt;p&amp;gt;Recent icons cleared.&amp;lt;/p&amp;gt;&#xA; &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've written a blog post describing how you can work with Sitecore Registry and with simple &lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-registry-editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Registry Editor&lt;/a&gt; application. &lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-05-21T14:10:36.743" LastActivityDate="2018-05-21T14:10:36.743" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11881" PostTypeId="2" ParentId="11673" CreationDate="2018-05-21T07:24:11.927" Score="7" Body="&lt;p&gt;I received feedback from Sitecore support:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The mentioned behavior is expected because the tracker should be only triggered upon a submit as it is expensive to keep it alive after navigating to the next or previous page&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So it looks that it's not a bug. Tracker is not initialized in Forms &quot;Next&quot; or &quot;Previous&quot; navigation step. To workaround it, you can either change the form to non-ajax, or initialize the tracker inside your action code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Tracker.Current == null &amp;amp;&amp;amp; Tracker.Enabled)&#xA;{&#xA;    Tracker.StartTracking();&#xA;}&#xA;...&#xA;//access Tracker.Current&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I checked this method and visits history looks fine.&lt;/p&gt;&#xA;" OwnerUserId="2492" LastActivityDate="2018-05-21T07:24:11.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11882" PostTypeId="1" CreationDate="2018-05-21T07:55:50.337" Score="0" ViewCount="371" Body="&lt;p&gt;I have a fast query : &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/content/Countries/*&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I tried to mock them using nunit as &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (Db db = new Db()&#xA;            {&#xA;&#xA;                new DbItem(&quot;Countries&quot;){&#xA;                    new DbItem(&quot;India&quot;){&#xA;&#xA;                 },&#xA;                new DbItem(&quot;South Africa&quot;){&#xA;&#xA;                 },&#xA;                },&#xA;            })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it returns only the empty Item.It is not taking India and Africa.Suggest some ways to Mock those Items.&lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="73" LastEditDate="2018-05-21T09:19:36.033" LastActivityDate="2019-03-03T11:53:14.857" Title="Mock an Item in Nunit having fast Query" Tags="|unit-testing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11883" PostTypeId="2" ParentId="11882" CreationDate="2018-05-21T09:33:04.200" Score="3" Body="&lt;p&gt;As I stated in comments, it's a good practice to provide a &lt;a href=&quot;https://stackoverflow.com/help/mcve&quot;&gt;Minimal, Complete, and Verifiable example&lt;/a&gt;. For this particular case, it seems everything works fine so I need more details to reproduce your issue. If I create a test like this, it passes (NUnit 3.10.1):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Test]&#xA;public void QueryTest()&#xA;{&#xA;    using (var db = new Db&#xA;    {&#xA;        new DbItem(&quot;Countries&quot;)&#xA;        {&#xA;            new DbItem(&quot;India&quot;),&#xA;            new DbItem(&quot;South Africa&quot;)&#xA;        }&#xA;    })&#xA;    {&#xA;        var selectItems = db.Database.SelectItems(&quot;fast://sitecore/content/Countries/*&quot;);&#xA;        Assert.Equal(2, selectItems.Length); // Pass&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please take a note that &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/issues/182&quot; rel=&quot;nofollow noreferrer&quot;&gt;FastQuery support is limited in FakeDb&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="272" LastActivityDate="2018-05-21T09:33:04.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11884" PostTypeId="2" ParentId="6854" CreationDate="2018-05-21T09:48:36.633" Score="0" Body="&lt;p&gt;I have a similar issue after upgrading from 7.2.2 to 8.2.6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see reports in experience analytics and not in experience profile.&#xA;Verified configuration changes also and all are fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to fix the issue:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Open experience profile and open developer tools using F12. If you see below error then follow the resolving steps from Step 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AV8tD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AV8tD.png&quot; alt=&quot;Console error in experience profile&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Create a aspx page  and use the below snippet in page_load method in code file of that page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using System.Web.Http;&#xA;using System.Web.UI;&#xA;using System.Web.UI.WebControls;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;public partial class sitecore_admin_SerializeJson : System.Web.UI.Page&#xA;{&#xA;    protected void Page_Load(object sender, EventArgs e)&#xA;    {&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var config = GlobalConfiguration.Configuration;&#xA;    ((Newtonsoft.Json.Serialization.DefaultContractResolver)config.Formatters.JsonFormatter.SerializerSettings.ContractResolver).IgnoreSerializableAttribute = true;&#xA;    lblsuccess.Text = &quot;success&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; Keep this aspx page in website/sitecore/admin  folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Give folder permissions to data and website folders&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt; Open this aspx page in browser like &quot;&lt;a href=&quot;http://abc.com/sitecore/admin/file.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://abc.com/sitecore/admin/file.aspx&lt;/a&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 6:&lt;/strong&gt; Check experience profile page and you will see the data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This solution works only when you can see identification and contacts in mongo DB. When you visit any of the page the analytics mongo db track the identifiers and contacts.&lt;/p&gt;&#xA;" OwnerUserId="3726" LastActivityDate="2018-05-21T09:48:36.633" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11885" PostTypeId="2" ParentId="11882" CreationDate="2018-05-21T09:55:23.673" Score="5" Body="&lt;p&gt;When writing unit tests for Sitecore my general rule of thumb is to try not to test whether it's doing its job, that's not your responsibility. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you might be better off abstracting this away behind some interface. From your question, I can only assume that you have some consumer that is using a list of countries in some way. If you define an interface whose responsibility is to get a list of countries.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;interface ICountries&#xA;{&#xA;    IEnumerable&amp;lt;Country&amp;gt; GetAllCountries();&#xA;}&#xA;&#xA;class Country&#xA;{&#xA;    public string Name { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then pass this in as a constructor argument of the consumer &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class CountriesConsumer &#xA;{&#xA;    ICountries _countries;&#xA;    CountriesConsumer(ICountries countries)&#xA;    {&#xA;        _countries = countries;&#xA;    }&#xA;&#xA;    DoSomethign()&#xA;    {&#xA;        _countries.GetAllCountries();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I prefer this approach as then all I need to do is mock my own focused interface and let Sitecore just do its thing.&lt;/p&gt;&#xA;" OwnerUserId="3727" LastEditorUserId="73" LastEditDate="2019-03-03T11:53:14.857" LastActivityDate="2019-03-03T11:53:14.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11887" PostTypeId="1" CreationDate="2018-05-21T11:27:41.063" Score="1" ViewCount="1323" Body="&lt;p&gt;Is there a way to include the content in the Data folder in the search results?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when I search for an item using the search box it doesn't show up and I get 0 results but when the search box query is empty the items show up &lt;/p&gt;&#xA;&#xA;&lt;p&gt;the items inherit from _searchable and included only if I move them under the home. &#xA;Any help is appreciated&lt;/p&gt;&#xA;" OwnerUserId="3625" LastActivityDate="2018-10-06T16:33:53.477" Title="Search for Items Content under the Data Folder" Tags="|sxa|content-search|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="11888" PostTypeId="1" AcceptedAnswerId="12260" CreationDate="2018-05-21T11:33:11.363" Score="2" ViewCount="622" Body="&lt;p&gt;I am trying to install Sitecore Experience Commerce 9 on my Windows 10 machine with the help of script &lt;a href=&quot;https://github.com/asmagin/sitecore-installation-scripts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/asmagin/sitecore-installation-scripts&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my script..&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;#&#xA;.SYNOPSIS&#xA;    Installs the Sitecore Commerce Platform to the machine where this script is executed.&#xA;.DESCRIPTION&#xA;    Installs the Sitecore Commerce Platform to the machine where this script is executed.&#xA;    First make sure you have installed all the pre-requisites for SC9 from the Installation Guide&#xA;    Then make sure you walk through 2.2 Download the Sitecore XC release package and prerequisites of the SC9 Installation Guide, before running this script  &#xA;.EXAMPLE(S)&#xA;    C:\PS&amp;gt; Deploy-Sitecore-Commerce.ps1&#xA;.NOTES&#xA;    Author(s):  Alex Smagin&#xA;                Robbert Hock&#xA;#&amp;gt;&#xA;&#xA;#Requires -Version 3&#xA;&#xA;#parameters&#xA;param(&#xA;    [string]$Prefix = &quot;sc9u1&quot;,&#xA;    [string]$SiteName = &quot;sc9u1.sc&quot;, &#xA;    [string]$SiteHostHeader = &quot;storefront.local&quot;,   &#xA;    [string]$SqlDbPrefix = $Prefix,&#xA;    [string]$CommerceSearchProvider = &quot;SOLR&quot;,&#xA;    [string]$CommerceSiteName = &quot;$Prefix.commerce&quot;,&#xA;    [string]$Drive = $($Env:SYSTEMDRIVE),&#xA;    [string]$XConnectSiteHostHeaderName = &quot;$($Prefix).xconnect&quot;,&#xA;    [string]$SolrUrl = &quot;https://localhost:8984/solr&quot;,&#xA;    [string]$SolrInstallDir = &quot;C:\Sitecore9\solr-6.6.2\&quot;,&#xA;    [string]$SolrService = &quot;SOLR&quot;,&#xA;    [string]$SqlServer = &quot;DESKTOP-O8SPMPV\SQLEXPRESS&quot;,&#xA;    [string]$SitecoreUsername = &quot;sitecore\admin&quot;,&#xA;    [string]$SitecoreUserPassword = &quot;b&quot;,&#xA;    [string]$CommerceServerUserName = &quot;CSRuntimeUser&quot;,&#xA;    [string]$CommerceServerUserPassword = &quot;vagrant&quot;&#xA;)&#xA;&#xA;# Hide progress bar to speed up installation&#xA;$global:ProgressPreference = 'silentlyContinue'&#xA;Clear-Host&#xA;&#xA;# Import additional modules&#xA;$global:DEPLOYMENT_DIRECTORY = Split-Path $MyInvocation.MyCommand.Path&#xA;$modulesPath = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;Modules&quot; )&#xA;if ($env:PSModulePath -notlike &quot;*$modulesPath*&quot;) {&#xA;    $p = $env:PSModulePath + &quot;;&quot; + $modulesPath&#xA;    [Environment]::SetEnvironmentVariable(&quot;PSModulePath&quot;, $p)&#xA;}&#xA;&#xA;$params = @{&#xA;    Path                                     = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json'&#xA;&#xA;    # General configurations&#xA;    CommerceSearchProvider                   = $CommerceSearchProvider&#xA;    RootCertFileName                         = &quot;SitecoreRootCert&quot;&#xA;&#xA;    # SOLR&#xA;    SolrCorePrefix                           = $Prefix&#xA;    SolrInstallDir                           = $SolrInstallDir&#xA;    SolrSchemasDir                           = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SolrSchemas&quot; )&#xA;    SolrServiceName                          = $SolrService&#xA;    SolrUrl                                  = $SolrUrl&#xA;&#xA;    # Azure Search&#xA;    AzureSearchIndexPrefix                   = $Prefix&#xA;    AzureSearchServiceName                   = &quot;&quot;&#xA;    AzureSearchAdminKey                      = &quot;&quot;&#xA;    AzureSearchQueryKey                      = &quot;&quot;&#xA;&#xA;    # CM instance and XConnect settings&#xA;    SiteName                                 = $SiteName&#xA;    SiteHostHeader                           = $siteHostHeader&#xA;    SiteInstallDir                           = &quot;$($Drive)\inetpub\wwwroot\$Prefix.local&quot;&#xA;    XConnectInstallDir                       = &quot;$($Drive)\inetpub\wwwroot\$Prefix.xconnect&quot;&#xA;&#xA;    # SQL&#xA;    SqlCommerceServicesDbName                = &quot;$($Prefix)_SitecoreCommerce_SharedEnvironments&quot;&#xA;    SqlCommerceServicesDbServer              = $SqlServer    #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;    SqlCommerceServicesGlobalDbName          = &quot;$($Prefix)_SitecoreCommerce_Global&quot;&#xA;    SqlSitecoreCoreDbName                    = &quot;$($Prefix)_Core&quot;&#xA;    SqlSitecoreDbServer                      = $SqlServer    #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;&#xA;    # Commerce Services&#xA;    CommerceAuthoring                        = &quot;$CommerceSiteName-authoring&quot;&#xA;    CommerceAuthoringCertificateDnsName      = &quot;*.$Prefix.local&quot;&#xA;    CommerceAuthoringCertificateName         = &quot;all.$Prefix.local&quot;&#xA;    CommerceAuthoringDir                     = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$CommerceSiteName-authoring&quot;&#xA;    CommerceAuthoringHostHeader              = &quot;commerce-authoring.$SiteName&quot;&#xA;    CommerceAuthoringServicesPort            = &quot;443&quot;&#xA;&#xA;    CommerceMinions                          = &quot;$CommerceSiteName-minions&quot;&#xA;    CommerceMinionsCertificateDnsName        = &quot;*.$Prefix.local&quot;&#xA;    CommerceMinionsCertificateName           = &quot;all.$Prefix.local&quot;&#xA;    CommerceMinionsDir                       = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$CommerceSiteName-minions&quot;&#xA;    CommerceMinionsHostHeader                = &quot;commerce-minions.$SiteName&quot;&#xA;    CommerceMinionsServicesPort              = &quot;443&quot;&#xA;&#xA;    CommerceOps                              = &quot;$CommerceSiteName-ops&quot;&#xA;    CommerceOpsCertificateDnsName            = &quot;*.$Prefix.local&quot;&#xA;    CommerceOpsCertificateName               = &quot;all.$Prefix.local&quot;&#xA;    CommerceOpsDir                           = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$CommerceSiteName-ops&quot;&#xA;    CommerceOpsHostHeader                    = &quot;commerce-ops.$SiteName&quot;&#xA;    CommerceOpsServicesPort                  = &quot;443&quot;&#xA;&#xA;    CommerceShops                            = &quot;$CommerceSiteName-shops&quot;&#xA;    CommerceShopsCertificateDnsName          = &quot;*.$Prefix.local&quot;&#xA;    CommerceShopsCertificateName             = &quot;all.$Prefix.local&quot;&#xA;    CommerceShopsDir                         = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$CommerceSiteName-shops&quot;&#xA;    CommerceShopsHostHeader                  = &quot;commerce-shops.$SiteName&quot;&#xA;    CommerceShopsServicesPort                = &quot;443&quot;&#xA;&#xA;    SitecoreIdentityServer                   = &quot;$CommerceSiteName-identity&quot;&#xA;    SitecoreIdentityServerCertificateDnsName = &quot;*.$Prefix.local&quot;&#xA;    SitecoreIdentityServerCertificateName    = &quot;all.$Prefix.local&quot;&#xA;    SitecoreIdentityServerDir                = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$CommerceSiteName-identity&quot;&#xA;    SitecoreIdentityServerHostHeader         = &quot;identity.$SiteName&quot;&#xA;    SitecoreIdentityServerServicesPort       = &quot;443&quot;&#xA;&#xA;    SitecoreBizFx                            = &quot;$CommerceSiteName-bizfx&quot;&#xA;    SitecoreBizFxCertificateDnsName          = &quot;*.$Prefix.local&quot;&#xA;    SitecoreBizFxCertificateName             = &quot;all.$Prefix.local&quot;&#xA;    SitecoreBizFxDir                         = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$CommerceSiteName-bizfx&quot;&#xA;    SitecoreBizFxHostHeader                  = &quot;bizfx.$SiteName&quot;&#xA;    SitecoreBizFxServicesPort                = &quot;443&quot;&#xA;&#xA;    CommerceServicesPrefix                   = $Prefix&#xA;    CommerceEngineCertificatePath            = &quot;c:\certificates\$CommerceSiteName.crt&quot;&#xA;    CommerceEngineCertificateName            = $CommerceSiteName&#xA;&#xA;    # Packages&#xA;    PackageAdventureWorksImagesPath          = Resolve-Path -Path &quot;..\Adventure Works Images.zip&quot;&#xA;    PackageCEConnectPath                     = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.Connect*.update&quot;&#xA;    PackageCommerceConnectPath               = Resolve-Path -Path &quot;..\Sitecore Commerce Connect*.zip&quot;&#xA;    PackageCommerceEngineDacPacPath          = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.SDK.2.1.10\Sitecore.Commerce.Engine.DB.dacpac&quot;&#xA;    PackageHabitatImagesPath                 = Resolve-Path -Path &quot;..\Sitecore.Commerce.Habitat.Images-*.zip&quot;&#xA;    PackagePowerShellExtensionsPath          = Resolve-Path -Path &quot;..\Sitecore PowerShell Extensions-4.7.2 for Sitecore 8.zip&quot;&#xA;    PackageSitecoreBizFxServicesContentDir   = Resolve-Path -Path &quot;..\Sitecore.BizFX.1.1.9&quot;&#xA;    PackageSitecoreCommerceEnginePath        = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.2.*.zip&quot;&#xA;    PackageSitecoreIdentityServerPath        = Resolve-Path -Path &quot;..\Sitecore.IdentityServer.1.*.zip&quot;&#xA;    PackageSXACommercePath                   = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator 1.*.zip&quot;&#xA;    PackageSXAPath                           = Resolve-Path -Path &quot;..\Sitecore Experience Accelerator 1.7 rev. 180410 for 9.0.zip&quot;&#xA;    PackageSXAStorefrontCatalogPath          = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Habitat Catalog*.zip&quot;&#xA;    PackageSXAStorefrontPath                 = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront 1.*.zip&quot;&#xA;    PackageSXAStorefrontThemePath            = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront Themes*.zip&quot;&#xA;&#xA;    # Tools&#xA;    ToolsSiteUtilitiesDir                    = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SiteUtilityPages&quot; )&#xA;    ToolsMergeToolPath                       = Resolve-Path -Path &quot;..\Microsoft.Web.XmlTransform.dll&quot;&#xA;&#xA;    # Accounts&#xA;    SitecoreUsername                         = $SitecoreUsername&#xA;    SitecoreUserPassword                     = $SitecoreUserPassword&#xA;&#xA;    UserAccount                              = @{&#xA;        Domain   = $Env:COMPUTERNAME&#xA;        UserName = $CommerceServerUserName&#xA;        Password = $CommerceServerUserPassword&#xA;    }&#xA;&#xA;    BraintreeAccount                         = @{&#xA;        MerchantId = ''&#xA;        PublicKey  = ''&#xA;        PrivateKey = ''&#xA;    }&#xA;}&#xA;&#xA;### --------- HACK IGNORE UNTRUSTED CERT IN PS -----------------------------------------------------&#xA;# if (-not ([System.Management.Automation.PSTypeName]'ServerCertificateValidationCallback').Type) {&#xA;#     $certCallback = @&quot;&#xA;#     using System;&#xA;#     using System.Net;&#xA;#     using System.Net.Security;&#xA;#     using System.Security.Cryptography.X509Certificates;&#xA;#     public class ServerCertificateValidationCallback&#xA;#     {&#xA;#         public static void Ignore()&#xA;#         {&#xA;#             if(ServicePointManager.ServerCertificateValidationCallback ==null)&#xA;#             {&#xA;#                 ServicePointManager.ServerCertificateValidationCallback +=&#xA;#                     delegate&#xA;#                     (&#xA;#                         Object obj,&#xA;#                         X509Certificate certificate,&#xA;#                         X509Chain chain,&#xA;#                         SslPolicyErrors errors&#xA;#                     )&#xA;#                     {&#xA;#                         return true;&#xA;#                     };&#xA;#             }&#xA;#         }&#xA;#     }&#xA;# &quot;@&#xA;#     Add-Type $certCallback&#xA;# }&#xA;# [ServerCertificateValidationCallback]::Ignore()&#xA;### --------------------------------------------------------------&#xA;&#xA;### --------- HACK DISABLE PASSWORD COMPLEXITY -------------------&#xA;secedit /export /cfg c:\secpol.cfg&#xA;(gc C:\secpol.cfg).replace(&quot;PasswordComplexity = 1&quot;, &quot;PasswordComplexity = 0&quot;) | Out-File C:\secpol.cfg&#xA;secedit /configure /db c:\windows\security\local.sdb /cfg c:\secpol.cfg /areas SECURITYPOLICY&#xA;rm -force c:\secpol.cfg -confirm:$false&#xA;### --------------------------------------------------------------&#xA;&#xA;if ($commerceSearchProvider -eq &quot;SOLR&quot;) {&#xA;    Install-SitecoreConfiguration @params&#xA;}&#xA;elseif ($commerceSearchProvider -eq &quot;AZURE&quot;) {&#xA;    Install-SitecoreConfiguration @params -Skip InstallSolrCores&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But i am getting below error on CreateWebsiteOps section, right after &quot;Associating SSL certificate with site&quot; step...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[------------------------------------- CreateWebAppPoolOps : ManageCommerceService -----------------------------------]&#xA;[CreateWebAppPoolOps]:[Create-WebAppPool] sc9u1.commerce-ops&#xA;Creating and starting the sc9u1.commerce-ops Services application pool&#xA;Creation of the sc9u1.commerce-ops Services application pool completed&#xA;&#xA;[---------------------------------------- CreateWebsiteOps : ManageCommerceService -----------------------------------]&#xA;WARNING: Could not find Cert: *.sc9u1.local in cert:\LocalMachine\My&#xA;[CreateWebsiteOps]:[Create-Website] sc9u1.commerce-ops&#xA;Creating and starting the sc9u1.commerce-ops web site&#xA;&#xA;Name             ID   State      Physical Path                  Bindings&#xA;----             --   -----      -------------                  --------&#xA;sc9u1.commerce-o 10   Started    C:\inetpub\wwwroot\sc9u1.comme http *:80:&#xA;ps                               rce-ops&#xA;Creation and startup of the sc9u1.commerce-ops Services web site completed&#xA;&#xA;Using provided certificate:&#xA;Removing default HTTP binding&#xA;Removed default HTTP binding&#xA;Adding HTTPS binding&#xA;Added HTTPS binding&#xA;Associating SSL certificate with site&#xA;**********************&#xA;Command start time: 20180521165058&#xA;**********************&#xA;PS&amp;gt;TerminatingError(Invoke-ManageCommerceServiceTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Value does not fall within the expected range.&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(Invoke-ManageCommerceServiceTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Value does not fall within the expected range.&quot;&#xA;Install-SitecoreConfiguration : Value does not fall within the expected range.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Install-SitecoreConfiguration.ps1:253 &#xA;char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;Install-SitecoreConfiguration : Value does not fall within the expected range.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Install-SitecoreConfiguration.ps1:253&#xA;char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:01:35&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Need any pointer to resolve this issue.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-05-21T14:49:50.003" LastActivityDate="2018-06-11T17:22:12.383" Title="Value does not fall within the expected error while Sitecore Experience Commerce installation" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11889" PostTypeId="2" ParentId="11768" CreationDate="2018-05-21T13:14:01.093" Score="2" Body="&lt;p&gt;I double-checked and like confirmed my previous comment. It all depends on what you are doing with DEF. If there is nothing that needs updating in CD (some kind of real time feed for instance) then I don't see why you would need it installed there. Even so you can set a task to publish from CM. Most of the feeds I have done updated CM, but they were run either daily or every few hours.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2018-05-21T13:14:01.093" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11890" PostTypeId="1" AcceptedAnswerId="11893" CreationDate="2018-05-21T13:24:13.623" Score="3" ViewCount="404" Body="&lt;p&gt;Clients wants to go full PaaS with Sitecore 9 and Sitecore Experience Commerce 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have existing solution which was built with Sitecore 8.2 and Sitecore Commerce 8.2.1 with Solrand it's deployed as IaaS on Azure. We would like to continue using Solr as Search Provider instead of Azure Search also in upgraded solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I saw there is &lt;a href=&quot;http://integryx.net/post/2018/05/05/switch-sitecore-9-from-azure-search-to-solr-step-by-step-instructions&quot; rel=&quot;nofollow noreferrer&quot;&gt;possibility to create VM in Azure&lt;/a&gt; and install Solr there but I want to have Solr just somewhere as a service and specify connection string at the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there possibility to use Solr as SaaS in Azure or other cloud platform?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I saw there is &lt;a href=&quot;https://www.searchstax.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.searchstax.com/&lt;/a&gt;. Can you recommend this or something similar?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="73" LastEditDate="2018-05-21T17:19:37.543" LastActivityDate="2018-05-21T17:19:37.543" Title="Is there possibility to use Solr in Sitecore PaaS?" Tags="|solr|content-search|paas|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11891" PostTypeId="1" AcceptedAnswerId="11900" CreationDate="2018-05-21T13:30:52.353" Score="5" ViewCount="282" Body="&lt;p&gt;We have created a user and assigned the below 2 roles &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore\Analytics Reporting &lt;/li&gt;&#xA;&lt;li&gt;Sitecore\Developer&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please check the below screenshot of the user profile after assigning above 2 roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dBCqf.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dBCqf.jpg&quot; alt=&quot;Roles assigned to the newly created user&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We logged-in with the newly created user and tried to access below page.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Experience Analytics &amp;gt; Behavior &amp;gt; Pages&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the above page, all Entry and Exit pages are getting displayed as &lt;code&gt;[unknown page]&lt;/code&gt;. Please check the below screenshot for the reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zauUK.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zauUK.jpg&quot; alt=&quot;Screenshot reference for the issue&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same report is displaying fine for Admin users. Do we need to assign any other roles / permissions to display actual page name instead of all &lt;code&gt;[unknown page]&lt;/code&gt;? &lt;/p&gt;&#xA;" OwnerUserId="1289" LastEditorUserId="605" LastEditDate="2018-05-21T18:37:00.753" LastActivityDate="2018-05-21T20:45:42.143" Title="What Roles we need to assign for an user to access Experience Analytics without any issues?" Tags="|experience-analytics|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11892" PostTypeId="2" ParentId="11890" CreationDate="2018-05-21T13:35:17.950" Score="1" Body="&lt;p&gt;For now Sitecore or other Sitecore partners doesn't offer an OFFICIAL and tested option for Azure. In the future releases you will have the option to use Solr cloud provided by Sitecore or by a partner, Arm templates will contain scripts for Solr Cloud. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-05-21T14:10:18.083" LastActivityDate="2018-05-21T14:10:18.083" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11893" PostTypeId="2" ParentId="11890" CreationDate="2018-05-21T13:57:32.457" Score="4" Body="&lt;p&gt;While Sitecore do not offer that option as in the ARM templates out of the box, there is nothing to stop you from using Solr in your PaaS setup. From my experience you have the 2 options mentioned in your question:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Setup VM's and run SolrCloud there. The cons there is that you still have to maintain the VMs and you are effectively in an IaaS/PaaS hybrid setup.&lt;/li&gt;&#xA;&lt;li&gt;Use a service like &lt;a href=&quot;http://www.searchstax.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SearchStax&lt;/a&gt; to have Solr as a Service. They have a SeartStax Private Cloud option that runs Solr in an Azure virtual private network on Azure. This would sit in the same network as your Sitecore PaaS environment and effectively provide a PaaS Solr solution, its similar to how MongoDB was setup in 8.2&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So while its not out of the box, it is definitely possible.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-05-21T13:57:32.457" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11895" PostTypeId="1" CreationDate="2018-05-21T14:08:56.513" Score="2" ViewCount="171" Body="&lt;p&gt;I have a form that has two Send Email save actions. The first one sends an email to my client, providing them with all of the data that the user submitted in the form. The second one sends a confirmation email to the user. The form includes several file attachment fields. The attachments are sent to my client (which we want) but are also sent to the user (sending them the same files they just submitted, which we don't want). Is it possible to turn off attachments for one Send Email action? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Using WFFM version 2.3, Sitecore 6.5)&lt;/p&gt;&#xA;" OwnerUserId="2609" LastActivityDate="2018-06-21T01:17:31.963" Title="WFFM: Is it possible to not include attachments with one Send Email save action (but include them with all others)?" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11896" PostTypeId="2" ParentId="11820" CreationDate="2018-05-21T15:23:27.220" Score="1" Body="&lt;p&gt;You can do this using &lt;em&gt;ID references&lt;/em&gt; introduced in technical preview 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially, you define a shared piece of component content under &lt;code&gt;/data/component-content&lt;/code&gt;, give it an explicit, app-wide-unique &lt;code&gt;id&lt;/code&gt; value, and then refer to it from a route to include the shared reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Angular Basic app has an example of doing this &lt;a href=&quot;https://github.com/Sitecore/jss/blob/cda6450b024d8fa801f88d0dac31ab335ab9ec06/samples/basic-sample-angular/data/routes/en.yaml#L31&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. It is using YAML instead of JSON for its route data, but the equivalent JSON structure also works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that ID references work at a component level, but not a route level. So while you can share a single piece of lorem ipsum component content throughout the app if you wish, you cannot literally re-route the same route to a different shared &lt;em&gt;route&lt;/em&gt;. If you wanted to do some route rewriting behavior, you'd need to implement your custom logic in &lt;code&gt;/sitecore/definitions/routes.sitecore.js&lt;/code&gt;, which is where all the YAML/JSON files are parsed into the manifest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: for Vue in TP3, you'll also need to borrow the missing &lt;code&gt;/sitecore/definitions/component-content.sitecore.js&lt;/code&gt; file from &lt;a href=&quot;https://github.com/Sitecore/jss/blob/8b0ee5ce594b79b74eba89a4f3b8a5396ccb89a3/samples/advanced-sample-react/sitecore/definitions/component-content.sitecore.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; to get &lt;code&gt;component-content&lt;/code&gt; to build into the manifest. This will not be necessary for versions after technical preview 3.&lt;/p&gt;&#xA;" OwnerUserId="267" LastEditorUserId="267" LastEditDate="2018-05-24T14:31:28.790" LastActivityDate="2018-05-24T14:31:28.790" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="11897" PostTypeId="2" ParentId="8429" CreationDate="2018-05-21T15:29:16.163" Score="4" Body="&lt;p&gt;For posterity it's worth noting that in later versions of JSS it's recommended to use the field rendering helper components, for example in this case:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { Text } from '@sitecore-jss/sitecore-jss-react';&#xA;import React from 'react';&#xA;import PropTypes from 'prop-types';&#xA;&#xA;const AwesomeComponent = ({ fields }) =&amp;gt; {&#xA;    return &amp;lt;div&amp;gt;&amp;lt;Text field={fields.title} /&amp;gt; is awesome!&amp;lt;/div&amp;gt;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These handle the editable experience and encoding for you.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-05-21T15:29:16.163" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11899" PostTypeId="2" ParentId="11721" CreationDate="2018-05-21T18:41:05.203" Score="4" Body="&lt;p&gt;Sitecore DEF will use index queries to identify the existing items. If you get duplicates and your DEF configuration seems ok, you can run process and check your search logs. Those should list the queries that are performed for identification.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you test those queries against your index (by default the sitecore_master_index and I don't know of any setting to change that) you will probably not find any items (although you should if they exist in the master database). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, in that case: you need to find out why those items are not in your master index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the feedback in the comments, we can indeed conclude that a change to the default settings for this index in your solution was the root cause. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be honest, I try to avoid making changes to the master index, just for cases like this. I'd rather create a custom index if I need something changed...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: if you have ideas to make Sitecore better (and I think the idea of making this index setting configurable might be a good idea), make sure to let them know through support or the &lt;a href=&quot;https://sitecore.uservoice.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;uservoice&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-05-21T18:41:05.203" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11900" PostTypeId="2" ParentId="11891" CreationDate="2018-05-21T20:22:50.477" Score="5" Body="&lt;p&gt;You need to have the role &lt;code&gt;Analytics Management Reporting&lt;/code&gt; added to the user. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Then Analytics Management Reporting Role gives the user access to view&#xA;  the management reports for optimization efforts. This role is&#xA;  typically given to users working with optimization, who wants to view&#xA;  management reports for the optimization efforts.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;More info at &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Security Roles&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When you finish adding the role, you need to logout and also try to clear the Sitecore Cache via the &lt;code&gt;cache.aspx&lt;/code&gt; page. I've seen that the results are still in the cache even after logout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, while testing I have seen the following behavior:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The user should have access to the item: read and write.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Upon selection of the site from the dropdown at the top right corner, I have seen that the item are displayed properly. So, try to filter to the site you want to check.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Even as an Administrator, I was able to see that some entries were still as &lt;code&gt;Unknown Page&lt;/code&gt;. My guest is because those are APIs which do not map to any items.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Furthermore, from the following SSE &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9598/how-to-remove-unknown-page-in-sitecore-analytics?utm_medium=organic&amp;amp;utm_source=google_rich_qa&amp;amp;utm_campaign=google_rich_qa&quot;&gt;answer&lt;/a&gt; by Pete Navarra, the unknown page may be due to Analytics Dimension Key is either not defined correctly or has no associated value mapping. All Interactions in Sitecore that are tracked to a dimension are stored in Mongo by GUID ID. If for some reason, there are interactions in Mongo that do not relate to a Dimension ID in Sitecore, then this can cause an &quot;Unknown Page&quot; mapping.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-05-21T20:45:42.143" LastActivityDate="2018-05-21T20:45:42.143" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11901" PostTypeId="2" ParentId="11874" CreationDate="2018-05-22T00:21:38.237" Score="1" Body="&lt;p&gt;Sitecore has acknowledged this as bug and provided a patch for SC8.2 update 1. Ask support for support ticket 507773 patch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically fix is use the FXM.Hostname if specified otherwise Current.Request.URL&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2018-05-22T00:21:38.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11902" PostTypeId="2" ParentId="11895" CreationDate="2018-05-22T00:55:07.310" Score="1" Body="&lt;p&gt;You need to duplicate the &lt;strong&gt;Send Email Message&lt;/strong&gt; Save Action and add &lt;code&gt;&amp;lt;IsIncludeAttachments&amp;gt;false&amp;lt;/IsIncludeAttachments&amp;gt;&lt;/code&gt; to the &lt;strong&gt;Parameters&lt;/strong&gt; field, for example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vxdbE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vxdbE.png&quot; alt=&quot;Send Email with Attachment&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then in your Form use this new &quot;Send Email Message without Attachment&quot; action when you want to send an email to the user and not include any attachments which they may have uploaded.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-05-22T00:55:07.310" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11903" PostTypeId="1" AcceptedAnswerId="11905" CreationDate="2018-05-22T01:36:34.307" Score="1" ViewCount="1528" Body="&lt;p&gt;We effectively have an item with three fields.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Text to display in a heading.&lt;/li&gt;&#xA;&lt;li&gt;Droplink with the type of heading to display the text in (&lt;code&gt;h1&lt;/code&gt;, &lt;code&gt;h2&lt;/code&gt;, ...).&lt;/li&gt;&#xA;&lt;li&gt;Droplink with the heading style that points to the &lt;code&gt;class&lt;/code&gt;(es) to add to the heading.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Based upon past experience I believed I would be able to do something like &lt;code&gt;@Html.Sitecore().Field(Templates.PageText.Fields.PageTextHeading.ToString(), Model.Item, new { @class = headingStyle, EnclosingTag = headingRank })&lt;/code&gt;, but while the heading is properly displaying the class is not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I just do &lt;code&gt;&amp;lt;div&amp;gt;@headingStyle&amp;lt;/div&amp;gt;&lt;/code&gt; immediately before the above I do see the proper class name, suggesting that the values are coming across. I can also force a value to both the variable or in the anonymous object and the class still doesn't display.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given that the heading can be variable, I don't really want to write a check to see what heading is selected just to manually add it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I use Sitecore 8.2 Update-6 MVC functionality to add an enclosing tag, with a class, to the value of a text field?&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2018-05-22T05:20:54.487" Title="Rendering a Sitecore field in MVC with an enclosing tag and class" Tags="|mvc|renderfield|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11904" PostTypeId="1" AcceptedAnswerId="11907" CreationDate="2018-05-22T04:15:01.537" Score="2" ViewCount="777" Body="&lt;p&gt;Is there a way to handle two level sorting in SXA search results? for example if 2 item is having the same update date then we should sort by title.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if the first criteria don't differentiate between items we need another level&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2020-12-02T14:27:05.270" Title="SXA Search Sorting" Tags="|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11905" PostTypeId="2" ParentId="11903" CreationDate="2018-05-22T05:20:54.487" Score="2" Body="&lt;p&gt;The reason why your code doesn't work for you:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(Templates.PageText.Fields.PageTextHeading.ToString(), Model.Item, new { @class = headingStyle, EnclosingTag = headingRank })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is that Sitecore tries to add &lt;code&gt;@class&lt;/code&gt; attribute to the tag rendered from the field value itself, not from the &lt;code&gt;EnclosingTag&lt;/code&gt;. If your field was a &lt;code&gt;LinkField&lt;/code&gt;, the output would be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;h1&amp;gt;&amp;lt;a class=&quot;headingStyle&quot;&amp;gt;LINK_TEXT&amp;lt;/a&amp;gt;&amp;lt;/h1&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore cannot add a class attribute to the text which doesn't have any html tag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why the only option is what &lt;strong&gt;Vlad Iobagliu&lt;/strong&gt; wrote in his comment:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var before = string.format(&quot;&amp;lt;{0} class=\&quot;{1}\&quot;&amp;gt;&quot;, headingRank, headingStyle);&#xA;var after = string.format(&quot;&amp;lt;/{0}&amp;gt;&quot;, headingRank);&#xA;@Html.Sitecore().Field(Templates.PageText.Fields.PageTextHeading.ToString(), Model.Item, new { Before = before, After = after })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-05-22T05:20:54.487" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11907" PostTypeId="2" ParentId="11904" CreationDate="2018-05-22T06:16:33.207" Score="2" Body="&lt;p&gt;The SearchController is accepting two-level sorting. If you will inspect the requests which are sent to the server you'll notice that there is for example &lt;code&gt;o=Title,Ascending&lt;/code&gt; parameter. It accepts multiple sorting facets split by &lt;code&gt;|&lt;/code&gt;, so e.g.: &lt;code&gt;o=Title,Ascending|NavigationTitle,Ascending&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the service itself allows you to do that but unfortunately, there is no way to achieve this at the moment with the renderings. It would require custom implementation.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-22T06:16:33.207" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11909" PostTypeId="1" AcceptedAnswerId="11910" CreationDate="2018-05-22T07:11:26.283" Score="3" ViewCount="1349" Body="&lt;p&gt;When I created my &lt;em&gt;Azure based Sitecore 9 PaaS&lt;/em&gt; there were several other services which automatically installed with setup. One of which is &lt;strong&gt;Azure Application Insight&lt;/strong&gt;  which cost around 100$ per month extra to me. I want to stop this server but could not find any option for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I stop Sitecore 9 using this possibly configuration based disable feature. Also if you can provide permanent solution it would be of more help.&lt;/p&gt;&#xA;" OwnerUserId="1268" LastEditorUserId="73" LastEditDate="2018-05-22T08:24:29.370" LastActivityDate="2018-05-22T08:24:29.370" Title="How to disable Application Insight in Sitecore 9 PaaS?" Tags="|app-insight|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11910" PostTypeId="2" ParentId="11909" CreationDate="2018-05-22T07:11:26.283" Score="7" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Locate the &quot;Sitecore.Cloud.ApplicationInsights.config&quot; in your \App-Config\Include\zzz folder, and disable it by adding &quot;.disabled&quot; to the end of the filename.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In your &quot;ConnectionString.config&quot; file found in \App_Config, remove the connection string for the AI instrumentation.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;add name=&quot;appinsights.instrumentationkey&quot;&#xA; connectionString=&quot;XXXXXXXXXXXXXXXXXXXXXXXXXXX&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In your \web.config file, comment out the following entries:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpModules&amp;gt;&#xA;&amp;lt;add name=&quot;ApplicationInsightsWebTracking&quot; type=&quot;Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;&amp;lt;assemblyIdentity name=&quot;Microsoft.ApplicationInsights&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; culture=&quot;neutral&quot; /&amp;gt;&#xA;&amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-2.3.0.0&quot; newVersion=&quot;2.3.0.0&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.diagnostics&amp;gt;&#xA;&amp;lt;trace autoflush=&quot;true&quot; indentsize=&quot;0&quot;&amp;gt;&#xA;    &amp;lt;listeners&amp;gt;&#xA;        &amp;lt;add name=&quot;myAppInsightsListener&quot; type=&quot;Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener, Microsoft.ApplicationInsights.TraceListener&quot; /&amp;gt;&#xA;    &amp;lt;/listeners&amp;gt;&#xA;&amp;lt;/trace&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Perform these steps on the following server roles: CM, CD&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Finally Delete the Application Insight Service in Azure to stop billing. :)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information read this : &#xA;&lt;a href=&quot;http://integryx.net/post/2018/05/19/sitecore-9-paas-disable-application-insights&quot; rel=&quot;noreferrer&quot;&gt;http://integryx.net/post/2018/05/19/sitecore-9-paas-disable-application-insights&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1268" LastEditorUserId="1268" LastEditDate="2018-05-22T07:26:36.017" LastActivityDate="2018-05-22T07:26:36.017" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11911" PostTypeId="1" CreationDate="2018-05-22T07:14:28.177" Score="-1" ViewCount="144" Body="&lt;p&gt;Is Sitecore &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Scheduled Publishing module&lt;/a&gt; compatible with Sitecore Publishing Service?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone try this one 8.2 application which has Sitecore Publishing Service?&lt;/p&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="432" LastEditDate="2019-03-30T19:08:17.267" LastActivityDate="2019-03-30T19:08:17.267" Title="Sitecore scheduled publish module compatibility with Publishing Service" Tags="|publishing-service|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="11912" PostTypeId="2" ParentId="11887" CreationDate="2018-05-22T07:45:09.290" Score="3" Body="&lt;p&gt;You need to meet certain criteria to allow your data items to be visible in search results.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Important&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Although it is possible to achieve that via configuration please bear in mind that none of the default templates contains layout, thus you will not be able to display them (when you open item using link) and there might be weird behaviours with links as root path of your site is normally &lt;code&gt;Home&lt;/code&gt; item, located directly under the site. What it means links to those data items will contain more than a minimal path and might expose content path.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Configuration&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Template inheritance&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Your data items have to use a template which inherits from &lt;code&gt;_Searchable&lt;/code&gt; (&lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Search/Computed Fields/_Searchable&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Dw71r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Dw71r.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks to this field, SXA will add computed field for each item during indexing.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/0AQtT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0AQtT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Add associated content&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If not specified explicitly search results will be narrowed to the current site.&#xA;You can extend it adding additional nodes to &lt;code&gt;Associated Content&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AAN4u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AAN4u.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Create appropiate rendering variant&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;It depends how you will consume your results. If you are going to display them on a page using default searach results rendering remember about valid &lt;strong&gt;Rendering Variant&lt;/strong&gt; (notice &lt;code&gt;Text&lt;/code&gt; field, which is a part of &lt;code&gt;Text&lt;/code&gt; template)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AHwAK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AHwAK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Consume results&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Rebuild tree/index and after that, you can consume your data items &#xA;&lt;a href=&quot;https://i.stack.imgur.com/0ilc3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0ilc3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Searching via search box (query)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you need to filter items using search query (&lt;code&gt;q&lt;/code&gt; parameter) I think you will need a custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search phrase provided via &lt;code&gt;q&lt;/code&gt; parameter is used to search items in the index by comparing &lt;code&gt;sxacontent&lt;/code&gt; field. This is a computed field (&lt;code&gt;Sitecore.XA.Foundation.Search.ComputedFields.AggregatedContent, Sitecore.XA.Foundation.Search&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem I see is this line&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!item.IsPageItem() &amp;amp;&amp;amp; !IsPoi.Verify(item))&#xA;{&#xA;    return null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Computed field logic will return &lt;code&gt;null&lt;/code&gt; for items other than page items or POIs.&#xA;I think you will have to modify the code of &lt;code&gt;AggregatedContent&lt;/code&gt; class to include at least display name of your data item into the computed field.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-05-24T08:57:38.980" LastActivityDate="2018-05-24T08:57:38.980" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11915" PostTypeId="1" AcceptedAnswerId="11916" CreationDate="2018-05-22T12:51:37.480" Score="2" ViewCount="742" Body="&lt;p&gt;I have a list of blogs, and I'm using the Search Results component to render them. I need to order them by date: specifically, to show the most recent ones first, so they'd be ordered newest date first. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do this without using the &quot;sorting&quot; SXA component? Maybe using something specific in the Scope query?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've already checked this answer &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5788/sitecore-sxa-search-result-sorting-by-date&quot;&gt;Sitecore SXA Search Result Sorting by date&lt;/a&gt; where they use the SXA sorting rendering to accomplish this,but it's not what i need.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="3547" LastEditDate="2018-05-22T13:05:40.227" LastActivityDate="2018-05-22T13:12:18.827" Title="Sort SXA search results by date without SXA sorting rendering" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11916" PostTypeId="2" ParentId="11915" CreationDate="2018-05-22T13:12:18.827" Score="4" Body="&lt;p&gt;Yes, you can. Search Results rendering has &lt;code&gt;Default sort order&lt;/code&gt; setting in the Control Properties:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1ny7v.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1ny7v.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those configurations as you probably already know are stored under this item &lt;code&gt;/sitecore/content/Tenant/Site/Data/Search/Sort Results&lt;/code&gt;. Take a look:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fCCRW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fCCRW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-22T13:12:18.827" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11918" PostTypeId="1" AcceptedAnswerId="11937" CreationDate="2018-05-22T13:54:42.010" Score="3" ViewCount="558" Body="&lt;p&gt;I have a search result component and want to add a filter to it in order to filter the results by year or by month.&#xA;i have a template that has a date field and i tried the Filter(date) component but it uses a facet that filters by a range of date, i want to filter only by either month or year&#xA;Is there a way to do that?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastActivityDate="2018-05-23T08:31:56.457" Title="SXA Filter search result by year" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11919" PostTypeId="1" AcceptedAnswerId="11929" CreationDate="2018-05-22T14:15:59.783" Score="2" ViewCount="1593" Body="&lt;p&gt;I want to add a Search box in a blogging website, specifically on a page where all the blogs appear in a &quot;search results&quot; component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried adding the SXA search box component and connecting it with the search results component, but when i try it out, I find that the search box is searching based on the names of the items &lt;strong&gt;in sitecore&lt;/strong&gt;&#xA;i.e. I have 5 blog post items named  blog post 1/2/3/4/5, when i type in the search box &quot;blog post&quot; it shows me all 5 items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I need is a way to search using the fields &lt;strong&gt;inside&lt;/strong&gt; those items, i.e. If i want to search using a &quot;description&quot; field or &quot;summary&quot; field etc.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2018-05-23T10:32:43.733" Title="How to configure SXA Search Box to search based on Fields of a certain template?" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11920" PostTypeId="1" AcceptedAnswerId="11921" CreationDate="2018-05-22T14:41:26.210" Score="0" ViewCount="114" Body="&lt;p&gt;Is there any built-in mechanism to convert files to PDFs when uploading them to the media library, or does someone know of functionality that can accomplish same?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-05-22T15:16:06.763" Title="Convert files to PDF when uploading to media library" Tags="|media-library|pdf|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11921" PostTypeId="2" ParentId="11920" CreationDate="2018-05-22T15:16:06.763" Score="2" Body="&lt;p&gt;No, there is no built-in way to do this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can build a module that converts the files to PDF using iTextSharp, PhantomJS or Puppeteer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once upon a time @adamnaj wrote a &lt;a href=&quot;https://gist.github.com/AdamNaj/e24930984da535359490&quot; rel=&quot;nofollow noreferrer&quot;&gt;script to export media items&lt;/a&gt; to PDF using Sitecore PowerShell Extensions. Maybe you can use that idea to import them back into the media library after PDF generation.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-05-22T15:16:06.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11923" PostTypeId="1" AcceptedAnswerId="11930" CreationDate="2018-05-22T16:27:40.240" Score="4" ViewCount="602" Body="&lt;p&gt;I have requirements to create a search interface that allows the end user to perform faceted search against an index. One of the requirements is to be able to do a range query against certain fields (that are configured at runtime by the content owner). The search is executed as part of a REST call and the results are returned to the front end for display.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under normal circumstances, one would do a range query using the &lt;code&gt;.Between()&lt;/code&gt; method in LINQ, like so:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var productQuery = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;productQuery = productQuery.And(x =&amp;gt; x[filterField].Between(lowerLimit, upperLimit, Inclusion.Both));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I create the above predicate and pass it to the search context:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(string.Format(IndexBaseName, Sitecore.Context.Database.Name)).CreateSearchContext())&#xA;{&#xA;    var searchResults = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(productQuery).ToList(); &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above throws a &lt;code&gt;System.NotSupportedException&lt;/code&gt; with the message &quot;Unsupported expression node type: ArrayIndex&quot;. After a bit of Googling, it appears that this might be a &lt;a href=&quot;https://stackoverflow.com/questions/8353948/the-linq-expression-node-type-arrayindex-is-not-supported-in-linq-to-entities&quot;&gt;limitation of LINQ&lt;/a&gt;, which explains why most examples of calling &lt;code&gt;.Between()&lt;/code&gt; don't use &lt;code&gt;SearchResultItem&lt;/code&gt; and instead use a custom model where the range field is mapped to a property. I'm my case, since the fields can vary based on how the content editor configures which fields are used for these range queries, I need to find a way around this.&lt;/p&gt;&#xA;" OwnerUserId="249" LastActivityDate="2018-05-22T20:08:09.820" Title="Using .Between on a SearchResultItem field" Tags="|content-search|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11924" PostTypeId="1" CreationDate="2018-05-22T16:29:15.647" Score="3" ViewCount="389" Body="&lt;p&gt;I am wondering if you can implement Workflow for item renames in Sitecore. &#xA;It so happens that our marketing team occasionally change the name of the item thereby changing its URL.  But sometimes, they don't want the item to change its name until launch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am wondering if there is a way renames can be brought into the workflow.&#xA;The other option I can think of is - not use the old item but create a duplicate of it.&lt;br&gt;&#xA;Just wanted to see what others are thinking  &lt;/p&gt;&#xA;" OwnerUserId="2396" LastActivityDate="2018-05-22T17:50:38.273" Title="Workflow for Item rename." Tags="|workflow|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11925" PostTypeId="2" ParentId="11924" CreationDate="2018-05-22T17:48:51.003" Score="2" Body="&lt;p&gt;This functionality does not come out of the box. The item name is not versioned at all, so any change to the item name that is published will automatically change the URL. Even if you use the &lt;code&gt;Display Name&lt;/code&gt; to generate the Urls, the display name is &lt;code&gt;unversioned&lt;/code&gt;, so while it can have multiple language versions, changing it will still affect all versions of the item.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Make Copies - Use Publish Restrictions&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You could work around it, but creating a copy of the item, then renaming the new one and setting publish restrictions on both the original and the copy. Disabling the original at the same time as enabling the new. You would also want to make sure your content editors handled 301 redirects for these too.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Custom Url Generation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you really wanted, you &lt;em&gt;could&lt;/em&gt; add a new field to your templates which was &lt;code&gt;Versioned&lt;/code&gt; and then create a custom &lt;code&gt;LinkProvider&lt;/code&gt; and &lt;code&gt;ItemResolver&lt;/code&gt; that uses that field as the Url segment name. I would probably advise against this as it has a number of potential issues with performance etc.. But it would not be too hard to implement.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-05-22T17:48:51.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11926" PostTypeId="2" ParentId="11924" CreationDate="2018-05-22T17:50:38.273" Score="1" Body="&lt;p&gt;One way you might be able to do this is to use the Display Name field for URLs instead of the item name. This also enables you to support multilingual URLs as well, in case that is a need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, this field is Unversioned, which means you would have to change this on the Sitecore field definition in order to support versioning for Workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have not done that personally, so I'm not sure what sort of impact it would have to the Content Editor (since it uses the Display Name).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'd also need to make sure you source-control that change in some way to preserve the customization between upgrades, otherwise it would likely revert during an upgrade. Something to watch for, at least, if you go that route.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-05-22T17:50:38.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11927" PostTypeId="1" AcceptedAnswerId="12138" CreationDate="2018-05-22T18:10:21.363" Score="5" ViewCount="1534" Body="&lt;p&gt;In addition to my previous &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11888/value-does-not-fall-within-the-expected-error-while-sitecore-experience-commerce&quot;&gt;question&lt;/a&gt;, When I tried to re-execute the script with the help of script provided by &lt;a href=&quot;https://sitecore.stackexchange.com/users/646/alex-smagin&quot;&gt;Alex&lt;/a&gt; in his &lt;a href=&quot;https://github.com/asmagin/sitecore-installation-scripts&quot; rel=&quot;noreferrer&quot;&gt;repository&lt;/a&gt; and my previous exception resolved but got one more error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Commerce Services BootStrapping completed&#xA;&#xA;[--------------------------- EnsureSyncDefaultContentPaths : EnsureSyncDefaultContentPaths ---------------------------]&#xA;Ensure/Sync default content paths for: AdventureWorksAuthoring&#xA;Checking if https://commerce-shops.sc9u1.sc/commerceops/CheckCommandStatus(taskId=1934) has completed ...&#xA;Ensure/Sync default content paths for environment AdventureWorksAuthoring failed, please check Engine service logs for more info.&#xA;Install-SitecoreConfiguration : ScriptHalted&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Install-SitecoreConfiguration.ps1:253&#xA;char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I gone through the service logs (mentioned in above error log), I see below exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8 21:58:58 INFO Management.block.getitemsbypath./sitecore/Commerce/Commerce Control Panel/Commerce Engine Settings/Commerce Terms/BusinessTools/ViewPropertyNames|en&#xA;8 21:58:58 ERROR SitecoreConnectionManager.Error: Message=Invalid URI: The hostname could not be parsed.|Trace=   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)&#xA;   at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext commerceContext, String action, String method, ItemModel itemModel)&#xA;System.UriFormatException: Invalid URI: The hostname could not be parsed.&#xA;   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)&#xA;   at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext commerceContext, String action, String method, ItemModel itemModel)&#xA;8 21:58:58 ERROR Management.block.getitemsbypath: Sitecore Item Service Get item failed, Item /sitecore/Commerce/Commerce Control Panel/Commerce Engine Settings/Commerce Terms/BusinessTools/ViewPropertyNames not found.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I checked &lt;code&gt;ViewPropertyNames&lt;/code&gt; and other nodes in Sitecore tree and all are there. My doubt on hostname related issue but not sure, which hostname the script is looking for. I cross verified all applications hosted in IIS and entries are there in the host file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thus not sure, what exactly the hostname missing here?  &lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="1671" LastEditDate="2018-06-04T17:25:08.113" LastActivityDate="2018-08-07T17:26:38.080" Title="Ensure/Sync default content paths for environment AdventureWorksAuthoring failed during SXC installation" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11929" PostTypeId="2" ParentId="11919" CreationDate="2018-05-22T18:40:29.440" Score="2" Body="&lt;p&gt;Well, that's not exactly true. In SXA we've introduced new computed field - &lt;code&gt;SXA Content&lt;/code&gt; - which is aggregating all texts from all fields of an item. Base on this it's not true that SXA is searching base on item names as it search on everything.&#xA;Thanks to this there is no need to configure fields and other stuff, you just drop Search Box and Search Results on the page and search is working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But on the other hand, this might be a small disadvantage in some cases - like you've described.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a feature to overcome this - dynamic search results boosting introduced in SXA 1.7. Create a scope and look on its fields. We've added there boosting field where you can create boosting rules. You can boost your &lt;code&gt;description&lt;/code&gt; or &lt;code&gt;summary&lt;/code&gt; fields so that those results will pop up at the beginning of the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Dynamic search results boosting is a quite powerful feature. I think you need to investigate it!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XWu33.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XWu33.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here I'm boosting items under specific location which in Summary field will have at least what user entered in the Search Box:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NZfMq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NZfMq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-05-23T10:32:43.733" LastActivityDate="2018-05-23T10:32:43.733" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11930" PostTypeId="2" ParentId="11923" CreationDate="2018-05-22T20:08:09.820" Score="2" Body="&lt;p&gt;So in simplifying my code for posting as a question here, I left out the fact that &lt;code&gt;lowerLimit&lt;/code&gt; and &lt;code&gt;upperLimit&lt;/code&gt; above were actually values coming from an arrary and were actually:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;productQuery = productQuery.And(x =&amp;gt; x[filterField].Between(range[0],range[1], Inclusion.Both));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which is the actual source of the &quot;Unsupported expression node type: ArrayIndex&quot; message (which is exactly the issue in the &lt;a href=&quot;https://stackoverflow.com/questions/8353948/the-linq-expression-node-type-arrayindex-is-not-supported-in-linq-to-entities&quot;&gt;linked Stack Overflow question&lt;/a&gt;.)&lt;/p&gt;&#xA;" OwnerUserId="249" LastActivityDate="2018-05-22T20:08:09.820" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11931" PostTypeId="1" CreationDate="2018-05-22T22:53:21.933" Score="8" ViewCount="645" Body="&lt;p&gt;Does anyone have a SPE script that could be used to upgrade the rendering parameters of existing content to the new dynamic placeholder style required for Sitecore 9 Dynamic placeholders?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We used to use:&#xA;Placeholder&#xA;Placeholder_1&#xA;Placeholder_2&#xA;etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now required:&#xA;Placeholder-{parent_rendering_guid}-0&#xA;Placeholder-{parent_rendering_guid}-1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tricky part is getting that parent rendering guid to update the placeholder value with.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="192" LastActivityDate="2018-06-15T16:11:25.493" Title="Upgrade path from Integrated Dynamic Placeholders to Sitecore 9 Dynamic Placeholders (OOTB)" Tags="|presentation|mvc|powershell-extensions|upgrade|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11932" PostTypeId="1" AcceptedAnswerId="11933" CreationDate="2018-05-22T23:24:15.777" Score="2" ViewCount="639" Body="&lt;p&gt;I have a Workflow which is in draft state with submit action ,&#xA;based on few condition i have to decide if the next state is asian approver or american approver programattically how do i do this ?&#xA;If i do that then What do i give in the next state field (it shud be decided dynamically but sitecore throws an error if that field is empty)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer the images&#xA;&lt;a href=&quot;https://i.stack.imgur.com/0Cg8o.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0Cg8o.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2M9MV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2M9MV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3621" LastEditorUserId="73" LastEditDate="2018-05-23T08:14:20.640" LastActivityDate="2018-05-23T08:14:20.640" Title="Decide the Workflow state on the fly" Tags="|workflow|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11933" PostTypeId="2" ParentId="11932" CreationDate="2018-05-23T03:45:13.433" Score="5" Body="&lt;p&gt;You can create an interim &lt;code&gt;Workflow State&lt;/code&gt; which specifies an &lt;code&gt;Action&lt;/code&gt; to decide which state to move the workflow to next.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/L5Srt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/L5Srt.png&quot; alt=&quot;Workflow State Selector&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure you have set the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &lt;code&gt;Submit Action&lt;/code&gt; on the &lt;code&gt;Draft&lt;/code&gt; state should specify interim state as the &lt;code&gt;Next State&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;The interim state should contain:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;An &lt;code&gt;Action&lt;/code&gt; item, and set the &lt;code&gt;Type string&lt;/code&gt; value to your custom class (see code below). This &lt;code&gt;Action&lt;/code&gt; will run immediately upon entering this State.&lt;/li&gt;&#xA;&lt;li&gt;A &lt;code&gt;Command&lt;/code&gt; item with the &lt;code&gt;Next state&lt;/code&gt; field field set to move to the Asia Approver state&lt;/li&gt;&#xA;&lt;li&gt;A &lt;code&gt;Command&lt;/code&gt; item with the &lt;code&gt;Next state&lt;/code&gt; set to move to the US Approver state&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Your 2 Workflow State definitions for your Asia and US Approver&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You need to create a class which will contain the logic of when to move to a particular state. You would ideally use the Rules Engine (as mentioned in the comments) but for the sake for simplicity we will hard code the logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SetWorkflowState.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Linq;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Workflows;&#xA;using Sitecore.Workflows.Simple;&#xA;&#xA;namespace MyProject.WOrkflow&#xA;{&#xA;  public class SetWorkflowState&#xA;  {&#xA;    public void Process(WorkflowPipelineArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull((object)args, nameof(args));&#xA;      Item dataItem = args.DataItem;&#xA;&#xA;      if (dataItem[&quot;Continent&quot;] == &quot;Asia&quot;) // or whatever logic you need&#xA;        ExecuteCommand(dataItem, &quot;Send to Asia Approver&quot;);&#xA;      else&#xA;        ExecuteCommand(dataItem, &quot;Send to US Approver&quot;);&#xA;    }&#xA;&#xA;    public WorkflowResult ExecuteCommand(Item item, string commandName, string comment = null)&#xA;    {&#xA;      IWorkflow workflow = item.Database.WorkflowProvider.GetWorkflow(item);&#xA;&#xA;      if (workflow == null)&#xA;        return new WorkflowResult(false, &quot;No workflow assigned to item&quot;);&#xA;&#xA;      WorkflowCommand command = workflow.GetCommands(item[FieldIDs.WorkflowState])&#xA;                                        .FirstOrDefault(c =&amp;gt; c.DisplayName == commandName);&#xA;&#xA;      if (command == null)&#xA;        return new WorkflowResult(false, &quot;Workflow command not found&quot;);&#xA;&#xA;      return workflow.Execute(command.CommandID, item, comment, false, new object[0]);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update the logic to suit your needs, the above will trigger the &lt;em&gt;&quot;Send to Asia Approver&quot;&lt;/em&gt; or &lt;em&gt;&quot;Send to US Approver&quot;&lt;/em&gt; Command and move the item (based on the &lt;code&gt;Next state&lt;/code&gt; field on that command) to the correct state. This will also execute all/any actions which may be specified below the command as well, mimicking the behaviour of a user clicking a Workflow button in the UI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about Actions in section 3.1.4 of the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/workflowreference-usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;Workflow Reference document&lt;/a&gt; and more about changing workflow programatically in &lt;a href=&quot;https://www.cognifide.com/our-blogs/sitecore/changing-workflow-state-of-sitecore-items-programmatically/&quot; rel=&quot;noreferrer&quot;&gt;this blog post&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-05-23T03:45:13.433" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11934" PostTypeId="2" ParentId="11686" CreationDate="2018-05-23T04:53:08.350" Score="1" Body="&lt;p&gt;I had same issue before. Because some non–self-signed certificates in the Trusted Root Certification Authorities certificate store. You can follow   &lt;a href=&quot;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&quot;&gt;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&lt;/a&gt; &#xA;Hope it heplful!&lt;/p&gt;&#xA;" OwnerUserId="3481" LastActivityDate="2018-05-23T04:53:08.350" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11935" PostTypeId="1" AcceptedAnswerId="11956" CreationDate="2018-05-23T06:02:56.340" Score="5" ViewCount="413" Body="&lt;p&gt;I need to develop a specific feature that allows me to personalize a component &quot;banner&quot; of a page based on campaigns.(so basically this is based on querystrings in url)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my configuration:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/mwLrZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mwLrZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&#xA;Let's say that I try to access the first campaign &quot;Campagne 2018&quot;&#xA;I add its querystring &quot;sc_camp&quot; fetched in the field &quot;Campaign link&quot; in my URL and press Enter =&gt; It works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I change the value of the querystring &quot;sc_camp&quot; with the second campaign &quot;Brico&quot; =&gt; the banner doesn't change, I still see the banner from the previous campaign.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The trick here is, if I open the &quot;incognito mode&quot; of my browser or I simply open an other browser, and I use the querystring of the second campaign, I manage to see the banner personalisation...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a reason that I don't know, it seems that Sitecore store in session or something else the current campaign, so it's impossible to access an other one after you accessed the first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I really doubt that it's not possible to make it work this way.&#xA;Maybe I'm missing a configuration somewhere ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If no, is there a function that would allow me to reinitialise the campaign when I want it ? (not the smartest way I imagine but this could unlock me)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I based my development with this tutorial:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already seen this post but it didn't help me: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5981/personalization-using-a-campaign-not-working&quot;&gt;Personalization using a Campaign not working&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By the way, I'm using Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance !&lt;/p&gt;&#xA;" OwnerUserId="1467" LastActivityDate="2018-05-25T09:28:40.223" Title="Is it possible to have several campaign personalisation for the same component?" Tags="|mvc|personalization|campaigncreator|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11936" PostTypeId="2" ParentId="11935" CreationDate="2018-05-23T06:19:07.343" Score="2" Body="&lt;p&gt;Campaign in Sitecore means the source how the client first arrived to your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It means that when user first arrived with &lt;code&gt;sc_camp=CAMPAIGN_1&lt;/code&gt;, user is marked with that particular campaign. And this campaign is remembered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now if you open your site with another campaign link &lt;code&gt;sc_camp=CAMPAIGN_2&lt;/code&gt;, the campaign which is assigned to the user will not change. The reason for that is, that this user was acquired thanks to the first campaign, not the second.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why when you open the incognito mode, the &lt;code&gt;sc_camp=CAMPAIGN_2&lt;/code&gt; works for you. It's because you have completely new user and Sitecore marks this campaign as the source of how user got to the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's just how Sitecore campaigns work. Campaigns are assigned to user once they arrive at the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I may be wrong so best check it on your own, I think that if your visit session ends, and after those 20 minutes of user inactivity (or whatever is the timeout set in your config) your user opens another link with another campaign id in the url, new campaign will be started for that user. But you should double check that.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-05-23T06:26:00.730" LastActivityDate="2018-05-23T06:26:00.730" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11937" PostTypeId="2" ParentId="11918" CreationDate="2018-05-23T08:31:56.457" Score="3" Body="&lt;p&gt;No, it's not possible out of the box. We are not storing Months or Years in a separate field and that would be required to facet by one of those values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To achieve that you would need to create a separate field in your item template which will store month or year or create a computed field which will extract month or year from the date field and store it as a month or year inside of the index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The computed field can look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemYear : AbstractComputedIndexField&#xA;{&#xA;    public override object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        Item item = indexable as SitecoreIndexableItem;&#xA;&#xA;        DateTime date = EXTRACT DATE FROM THE ITEM;&#xA;&#xA;        return date.Year;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is the config part (it's for Lucene):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultLuceneIndexConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                    &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneDocumentBuilderOptions, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                        &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                            &amp;lt;field fieldName=&quot;year&quot; returnType=&quot;int&quot;&amp;gt;NAMESPACE.ItemYear , ASSEMBLY_NAME&amp;lt;/field&amp;gt;&#xA;                        &amp;lt;/fields&amp;gt;&#xA;                    &amp;lt;/documentOptions&amp;gt;                    &#xA;                &amp;lt;/defaultLuceneIndexConfiguration&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-23T08:31:56.457" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11938" PostTypeId="1" AcceptedAnswerId="11942" CreationDate="2018-05-23T08:49:51.953" Score="1" ViewCount="1188" Body="&lt;p&gt;Sitecore newbie here and I wanted to understand variants in Sitecore SXA, and Reading the rendering variants documentation, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/the_sxa_renderings_and_rendering_variants&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/the_sxa_renderings_and_rendering_variants&lt;/a&gt;) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;still did not help me understand why some components do not have default rendering variants like all the composites, the gallery and even the page content. where is the default variant and how and where is it connected to the rendering itself?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also if i copy or clone a rendering, do i have to create a variant for it, or if possible can i make use of the original rendering's default variant and how?&lt;/p&gt;&#xA;" OwnerUserId="3694" LastEditorUserId="3694" LastEditDate="2018-05-23T08:54:53.767" LastActivityDate="2018-05-23T11:42:41.293" Title="SXA Rendering variants" Tags="|sxa|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11939" PostTypeId="1" AcceptedAnswerId="11940" CreationDate="2018-05-23T10:33:45.717" Score="3" ViewCount="537" Body="&lt;p&gt;We have followed documentation on how to install Sitecore Commerce 9 on PaaS. Done Bootstrapping and all post installation steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When trying to on open Business Tools from Sitecore Launchpad, we see indefinite loop during start and 3 403 Forbidden responses for these requests:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2x GET method - xxx.azurewebsites.net/api/GetNavigationView()&#xA;GET method - xxx.azurewebsites.net/api/GetLanguagesView()&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My user is Administrator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Environment is HabitatAuthoring.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how it looks like - Indefinite loop:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0gQ2F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0gQ2F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-06-14T22:57:33.437" Title="Opening BizFx tool gives 403 Forbidden responses in Sitecore Commerce 9 on PaaS" Tags="|sitecore-commerce|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11940" PostTypeId="2" ParentId="11939" CreationDate="2018-05-23T11:01:36.440" Score="3" Body="&lt;p&gt;Solution was to assign &quot;Commerce Administrator&quot; role to the user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Administrator&quot; checkbox is not sufficient to access BizFX tools.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Commerce Business User&quot; is minimum role that needs to be assigned to access Business Tools.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-23T11:08:48.293" LastActivityDate="2018-05-23T11:08:48.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11941" PostTypeId="1" AcceptedAnswerId="12342" CreationDate="2018-05-23T11:29:34.607" Score="1" ViewCount="382" Body="&lt;p&gt;I have below situation where, I have to prevent OnItemProcessed event from occuring more than once.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Website&#xA;{&#xA;    public class ItemEventHandler&#xA;    {&#xA;        public void OnItemProcessed(object sender, EventArgs args)&#xA;        {&#xA;            // Code here will be processed once for every item in that publish event.&#xA;&#xA;&#xA;&#xA;            if(condition){&#xA;            Queue.WriteMessage();&#xA;            }&#xA;&#xA;            // once message is written to Queue based on condition, this event handler should not be run for subsequent items in that publish event&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;events config patch&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:itemProcessed&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Website.ItemEventHandler, Website&quot; method=&quot;OnItemProcessed&quot;&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="2447" LastEditDate="2018-05-23T12:10:32.603" LastActivityDate="2018-06-15T07:51:57.073" Title="Prevent OnItemProcessed event occuring for more than once per publish based on condition" Tags="|publishing|publishing-service|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="11942" PostTypeId="2" ParentId="11938" CreationDate="2018-05-23T11:42:41.293" Score="5" Body="&lt;p&gt;Starting from the top:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Composites are complex renderings which are not using Rendering Variants. They can nest simple renderings like Page Content or Title which supports Rendering Variants. E.g.: Tab rendering has heading and content parts - in both you will find Page Content rendering.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You are configuring current Rendering Variant in the Control Properties dialogue (you can also use Variant Switcher drop-down but in fact, it's setting up the same property):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/akpxl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/akpxl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;If no variant is selected then first available is used as default one - thanks to this you will always see something when you drop rendering on the page (case when you forgot to select one)&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When the rendering will be cloned the Rendering Variants are not copied but you can connect them to newly cloned rendering. Take a look at how Reusable renderings (Rich Text or Image) get's their Rendering Variants:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rmQep.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rmQep.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;SXA also contains &quot;Global&quot; Rendering Variants which are stored under this item: &lt;code&gt;/sitecore/system/Settings/Foundation/Experience Accelerator/Rendering Variants/Rendering Variants&lt;/code&gt;. E.g.: Page Content is using them and that's why it's visible on the page even if it's doesn't have any Rendering Variant in newly created Site.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-23T11:42:41.293" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11943" PostTypeId="1" CreationDate="2018-05-23T13:26:16.783" Score="10" ViewCount="599" Body="&lt;p&gt;Sitecore 8.2 U4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am working on tracking the movement of the user through my registration form. As they move from section to section, I am going to add a page to their tracker so I can see that movement in a Sitecore funnel. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am making an API call to a controller &lt;code&gt;/apis/v1/registration/tracksection/{section}&lt;/code&gt;. In that controller I am calling &lt;code&gt;Tracker.Current?.CurrentPage?.Cancel()&lt;/code&gt; to stop the API url from being tracked by Sitecore. Later in that controller I am calling the code below to insert a page into the tracker. I am basically trying to fake a call to a page the user didn't actually go to. I am doing this so I can track the user's UI experience in a Funnel. A funnel only tracks Sitecore pages, so I have to fake these pages in the tracker.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the issue is that after I run the code below. The API call goes back into the page history. If I comment out of the code below, the API is removed from page history via the &lt;code&gt;Tracker.Current?.CurrentPage?.Cancel()&lt;/code&gt; code as expected. Any idea how I can remove the API call and still inject the fake pages? Is there a different way I can add a page to the tracker that might work?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var page = Tracker.Current.Session.Interaction.CreatePage();&#xA;page.SetItemProperties(Registration.Constants.Ids.ClubInformation.Guid, &quot;en-us&quot;, 1);&#xA;page.SetUrl(Sitecore.Context.Database.GetItem(Registration.Constants.Ids.ClubInformation).Url());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-05-24T14:26:38.457" LastActivityDate="2018-06-30T18:46:24.197" Title="Making Sitecore ignore the call to an API, while manually adding a page to the tracker" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11944" PostTypeId="1" AcceptedAnswerId="11945" CreationDate="2018-05-23T13:32:40.800" Score="0" ViewCount="618" Body="&lt;p&gt;We have followed documentation on how to install Sitecore Commerce 9 on PaaS. Done Bootstrapping and almost all post installation steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After fixing issues with &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11939/opening-bizfx-tool-gives-403-forbidden-responses-in-sitecore-commerce-9-on-paas&quot;&gt;403 Forbidden exceptions&lt;/a&gt; we tried to open Business Tools from Sitecore Launchpad. Unfortunately, we saw indefinite loop during start and 400 Bad Request responses for these requests:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2x GET method - xxx.azurewebsites.net/api/GetNavigationView() GET&#xA;  method - xxx.azurewebsites.net/api/GetLanguagesView()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This was response code:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;@odata.context&quot;:&quot;&lt;a href=&quot;https://xxxxxxxx-authoring.azurewebsites.net/Api/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://xxxxxxxx-authoring.azurewebsites.net/Api/&lt;/a&gt;$metadata#Sitecore.Commerce.Core.CommandMessage&quot;,&quot;MessageDate&quot;:&quot;2018-05-23T12:17:32.0106229Z&quot;,&quot;Code&quot;:&quot;Error&quot;,&quot;Text&quot;:&quot;Shop&#xA;  'xxxxxxCommerceEngineStorefront' does not&#xA;  exist.&quot;,&quot;CommerceTermKey&quot;:&quot;InvalidShop&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Environment is HabitatAuthoring.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how it looks like - Indefinite loop:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YhOEQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YhOEQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2727" LastEditDate="2018-07-05T11:12:06.157" LastActivityDate="2018-07-05T11:12:06.157" Title="Opening BizFx tool gives 400 Bad Request responses with InvalidShop in Sitecore Commerce 9 on PaaS" Tags="|sitecore-commerce|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11945" PostTypeId="2" ParentId="11944" CreationDate="2018-05-23T13:32:40.800" Score="0" Body="&lt;p&gt;Thanks to jonne on Slack channel, I was able to identify quickly root cause of issue and find solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution is to navigate to default storefront under /sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts and rename it to name that you specified as defaultshopname during provisioning PaaS environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vTbrw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vTbrw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-23T15:34:51.310" LastActivityDate="2018-05-23T15:34:51.310" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11947" PostTypeId="1" AcceptedAnswerId="11951" CreationDate="2018-05-23T14:03:22.777" Score="1" ViewCount="1043" Body="&lt;p&gt;I am using TDS and visual studio 2017. I'm working with other people, so I need to constantly get latest first then get my sitecore items and sync them using TDS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i click on &quot;sync with sitecore&quot;, a list of all the differences between my project and my sitecore instance appear.&#xA;example&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NsVtg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NsVtg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I choose to add them to Sitecore, and click &quot;Do updates&quot;, but I'm met with this error&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Og95t.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Og95t.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone run into this error before? if yes, any idea how to fix it?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2018-05-23T17:00:03.520" Title="ParentItemNotFoundException when syncing project with sitecore using TDS" Tags="|tds|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11948" PostTypeId="1" AcceptedAnswerId="11949" CreationDate="2018-05-23T14:07:14.530" Score="5" ViewCount="754" Body="&lt;p&gt;Does anybody encountered the the TrackingNotEnabled exception on Sitecore Commerce 9 SXA Storefront?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears on almost every page and on any action that you do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the full exception error that I am receiving when I am accessing PDP.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/r64WI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/r64WI.png&quot; alt=&quot;TrackingNotExabled - Sitecore Commerce 9 SXA&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3439" LastActivityDate="2019-02-14T23:04:35.097" Title="How to solve Error: GetCurrentCart: TrackingNotEnabledException from Sitecore Commerce 9 SXA" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11949" PostTypeId="2" ParentId="11948" CreationDate="2018-05-23T14:10:20.537" Score="6" Body="&lt;p&gt;This issue appear when json models for Commerce are not deployed on xConnect folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had same issue, because my json model it was copied to other folder not in my xconnect folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/54xdu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/54xdu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have same files like on image please rename to json and copy to correct folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SelZu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SelZu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on this link : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://hachweb.wordpress.com/2018/05/22/sitecore-xc-proper-update-of-xconnect/&quot; rel=&quot;noreferrer&quot;&gt;https://hachweb.wordpress.com/2018/05/22/sitecore-xc-proper-update-of-xconnect/&lt;/a&gt; . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It explain you what is wrong with your installation scripts. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-05-23T14:57:18.990" LastActivityDate="2018-05-23T14:57:18.990" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11950" PostTypeId="1" CreationDate="2018-05-23T14:50:16.737" Score="1" ViewCount="450" Body="&lt;p&gt;I  have a template that has some fields and inherits from standard template and page. And on my site, I inserted a page from this template and I added my layout to its presentation details. In my layout, I need to show the fields in my template with some other SXA components such as search result. &#xA;However, when opening the page(based on the template) with experience editor, the SXA toolbox doesn't appear! so I can't add any SXA components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that because the page is based on a template and not a sxa page? Although I made the template inherits from the page.&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="851" LastEditDate="2018-05-24T05:59:56.063" LastActivityDate="2018-05-24T05:59:56.063" Title="Toolbox disappear when adding a layout to a page" Tags="|sxa|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11951" PostTypeId="2" ParentId="11947" CreationDate="2018-05-23T17:00:03.520" Score="2" Body="&lt;p&gt;Yes, you have some parent item which should be synced first as well. Try to find it first, then sync it, then try again with problematic one. It’s like trying to sync child without information about the parent.&lt;/p&gt;&#xA;" OwnerUserId="3396" LastActivityDate="2018-05-23T17:00:03.520" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11952" PostTypeId="1" CreationDate="2018-05-24T01:08:08.217" Score="0" ViewCount="110" Body="&lt;p&gt;Using Sitecore 9.0.1, I need to select a field but this field may be inherited from a base template. ie. I wont the content author to be able to select a field name using a suitable control and this field may come from an inherited templated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the treeview, I can only select fields on the parent template and not inherited fields. How can I allow the user to select an inherited field using the treeview or another control?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="1606" LastEditDate="2019-10-11T11:19:22.823" LastActivityDate="2019-10-11T11:19:22.823" Title="Sitecore Control to select inherited field?" Tags="|templates|data-exchange-framework|tree-list|inheritance|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11954" PostTypeId="1" AcceptedAnswerId="11965" CreationDate="2018-05-24T05:50:22.890" Score="3" ViewCount="214" Body="&lt;p&gt;Using DEF 2.0.1 and Sitecore 9.0.1, I want a Sitecore Item Field Value Accessor to access a field that is inherited from a base template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default tree view for the Field property of Sitecore Item Field Value Accessor doesn't show the inherited properties on an entity. I've also tried selecting the field on the base template itself but that doesn't work either. By not working, I mean the value is not populated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone run into this? Do I need my converter based on SitecoreItemFieldValueAccessorConverter or my own reader? &lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2018-05-24T15:07:10.100" Title="Data Exchange Framework - Sitecore Item Field Value Accessor doesn't work with inherited fields" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11955" PostTypeId="1" AcceptedAnswerId="11966" CreationDate="2018-05-24T08:40:55.987" Score="1" ViewCount="1084" Body="&lt;p&gt;One of the post installation steps of installing Sitecore Commerce 9 on PaaS is to Update Data Templates from Commerce ribbon in Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, this is ending with exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h0eit.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h0eit.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;7300 09:38:26 ERROR Http Client Error&#xA;  Exception: System.Exception&#xA;  Message: An error occured while trying to contact the Commerce Service. Error code BadRequest&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;7300 09:38:26 ERROR GetList(id='Catalogs',type='Sitecore.Commerce.Plugin.Catalog.Catalog, Sitecore.Commerce.Plugin.Catalog',skip=0,take=1)?$expand=Items($select=Id)&#xA;  System.Exception: An error occured while trying to contact the Commerce Service. Error code BadRequest&#xA;  at Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.LogResponseError(HttpResponseMessage response, Boolean raiseError)&#xA;  at Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.d__24.MoveNext()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #0 09:38:26 ERROR Exception&#xA;  Exception: System.Reflection.TargetInvocationException&#xA;  Message: Exception has been thrown by the target of an invocation.&#xA;  Source: mscorlib&#xA;  at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;  at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;  at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;  at (Object , Object[] )&#xA;  at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;  at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;  at Sitecore.Jobs.Job.DoExecute()&#xA;  at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;  Nested Exception&#xA;  Exception: System.ArgumentNullException&#xA;  Message: Value cannot be null.&#xA;  Parameter name: key&#xA;  Source: mscorlib&#xA;  at System.Collections.Concurrent.ConcurrentDictionary`2.ContainsKey(TKey key)&#xA;  at Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.GetEntityView(String sitecoreId, String viewName, String forAction, String itemId)&#xA;  at Sitecore.Commerce.Engine.Connect.DataProvider.Templates.CatalogTemplateGenerator.BuildCatalogTemplates(Database database)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I navigated to &quot;/sitecore/Commerce/Catalog Management/Catalogs&quot; and field &quot;SelectedCatalogs&quot; was empty. You can see it on picture above on the bottom part. I suspect that this is causing trouble but I don't know how to make it fulfilled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As this field is empty, it is also causing trouble with Default Catalog Setting item located in &quot;/sitecore/Commerce/Settings/Catalog/Default Catalog&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w6UGW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w6UGW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have clicked &quot;Refresh Commerce Cache&quot; couple of times and also restarted services in Azure PaaS. Nothing helped so far.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see catalogs for each environment without any problem in Business Tools (bizfx):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZUqUs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZUqUs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-25T07:39:07.363" LastActivityDate="2018-05-25T07:39:07.363" Title="Value cannot be null Exception when updating data templates in Sitecore Commerce 9 on PaaS" Tags="|sitecore-commerce|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11956" PostTypeId="2" ParentId="11935" CreationDate="2018-05-24T09:22:35.127" Score="0" Body="&lt;p&gt;Explanation from sitecore support: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Campaign is supposed to be triggered only for the landing page (the page which was the first in the visit). When a visitor triggered a campaign, the system sets the CampaignID for the current visit. If the visitor triggers campaigns on subsequent pages or another campaign on the same page, the campaign events will still be registered, but the system will not change the CampaignID for the current visit.&#xA;So the expected behavior in your case will be following: campaign based personalization will show correct rendering only if you access the landing page in the separate incognito windows (different sessions) for each campaign ID.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It validates the explanation of @Marek Musielak&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We decided to use a new custom condition rule, mixing the tutorial provided by @Peter Prochazka in this post: &lt;a href=&quot;http://blog.martinmiles.net/post/rules-engine-and-sitecore-personalization-based-on-url-query-string-parameters&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.martinmiles.net/post/rules-engine-and-sitecore-personalization-based-on-url-query-string-parameters&lt;/a&gt;&#xA;with the sitecore condition rule &quot;Campaign was triggered&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This solves the personnalisation issue like a charm :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you all !&lt;/p&gt;&#xA;" OwnerUserId="1467" LastEditorUserId="1467" LastEditDate="2018-05-25T09:28:40.223" LastActivityDate="2018-05-25T09:28:40.223" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11957" PostTypeId="1" AcceptedAnswerId="11958" CreationDate="2018-05-24T10:44:32.850" Score="3" ViewCount="879" Body="&lt;p&gt;I need to create an image grid, like this (image and title) using Sitecore's SXA 1.6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hok9z.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hok9z.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I took the approach of using a &lt;code&gt;Page list&lt;/code&gt; component to implement this and gave it a media folder as a data source. Then i created a variant to view the image and title fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is that the images are not showing in the list even though the field name is the same.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yRAjh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yRAjh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/OOIMv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OOIMv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What might cause this and is there a better approach?&lt;/p&gt;&#xA;" OwnerUserId="3694" LastEditorUserId="2056" LastEditDate="2018-07-24T13:39:38.917" LastActivityDate="2018-07-24T13:44:29.417" Title="Image not rendering in SXA PageList variant" Tags="|sxa|presentation|renderfield|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11958" PostTypeId="2" ParentId="11957" CreationDate="2018-05-24T11:08:17.377" Score="1" Body="&lt;p&gt;You should not use the Image items directly as datasources. To display images, the page list will look for an Image field and not for a Media field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One possible solution would be to create a template for datasource items that contain an Image field, a text field for your title, and possible other fields. Create items with this template and point the page list (datasource) to those items. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-05-24T11:08:17.377" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11959" PostTypeId="1" AcceptedAnswerId="11964" CreationDate="2018-05-24T11:26:39.493" Score="6" ViewCount="1046" Body="&lt;p&gt;I have a blog website, and a page where I can view and search in all the blog posts I have so far. Each blog is tagged with 1-2 tags in the &quot;tagging&quot; field in their respective item on Sitecore 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using the &quot;Search Results&quot; SXA component to view all the search results for all blog posts, and a rendering variant to show specific fields from the blog posts, e.g. &quot;title&quot;,&quot;date&quot; stuff like that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question: Is there a way I can show the tags of each individual blog post in the search results using a rendering variant for the search results?&#xA;If not, is there any other way I can implement this?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="851" LastEditDate="2018-05-24T12:19:28.573" LastActivityDate="2018-05-24T20:32:59.970" Title="How can i show the tags of each page with an SXA rendering variant?" Tags="|sxa|presentation|taxonomy|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11960" PostTypeId="1" CreationDate="2018-05-24T12:06:32.623" Score="3" ViewCount="271" Body="&lt;p&gt;Noticed that  Tracker.Current.Interaction.GeoData object doesn't have state property. However it has Region, City, Postalcode etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have requirement to identify visitor state so and personalize the content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On top of this we have requirement to identify state of visitor and use it for website business rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wondering if there's an easy way to achieve this with out of box Geo location API and how reliable it is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2018-05-24T12:36:24.013" Title="Sitecore detect Australian state using GeoLocaton" Tags="|geo-location|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11961" PostTypeId="2" ParentId="11960" CreationDate="2018-05-24T12:18:26.670" Score="4" Body="&lt;h2&gt;No, not out of the box.&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;According to Sitecore, there is no way to upgrade the precision on the Geo IP services provided. Out of the box, they state:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Inaccuracy in country, state, and city resolving. Sitecore IP Geolocation service may provide limited precision on a country, state, and city level.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.maxmind.com/en/geoip2-city-accuracy-comparison?country=Australia&amp;amp;resolution=50&quot; rel=&quot;nofollow noreferrer&quot;&gt;For Australia&lt;/a&gt;, the precision of the service is around 66%. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Full list of precision by country, here: &lt;a href=&quot;https://www.maxmind.com/en/geoip2-city-accuracy-comparison&quot; rel=&quot;nofollow noreferrer&quot;&gt;GeoIP2 City Accuracy&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Recommendation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Build your own, if you need better precision.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If the precision of the Sitecore IP Geolocation Service is not acceptable due to business reasons, a custom provider could be implemented to connect Sitecore with any other system for resolving Geo IP data.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://kb.sitecore.net/articles/569970&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore IP Geolocation Service accuracy&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-05-24T12:18:26.670" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11962" PostTypeId="2" ParentId="11960" CreationDate="2018-05-24T12:36:24.013" Score="2" Body="&lt;p&gt;If you wish to personalize by Australian State,'Region' is usually the 'State' (or 'Province', depending on country). Mark is right about data accuracy, but if you are just looking to pull what it THINKS the State is, you would usually personalize to Region.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-05-24T12:36:24.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11963" PostTypeId="2" ParentId="10797" CreationDate="2018-05-24T12:40:20.857" Score="5" Body="&lt;p&gt;This has been fixed in the &lt;a href=&quot;https://kb.sitecore.net/articles/467253&quot; rel=&quot;noreferrer&quot;&gt;cumulative hotfix for EXM 9.0 Update-1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that the contact is never being identified during dispatch. This needs to happen in the ensureSessionContext pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add the following pipeline processor&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LoadEmailRenderSessionContact&#xA;{&#xA;    public ContactRepositoryBase ContactRepository { get; set; }&#xA;&#xA;    public void Process(InitializeTrackerArgs args)&#xA;    {&#xA;        if (!ExmContext.IsRenderRequest || ExmContext.ContactIdentifier == null || ContactRepository == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Contact contact = ContactRepository.LoadContact(ExmContext.ContactIdentifier.Source, ExmContext.ContactIdentifier.Identifier);&#xA;&#xA;        if (contact == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        args.Session.Contact = contact;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and add it to the ensureSessionContext pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ensureSessionContext role:require=&quot;Standalone or ContentManagement or DedicatedDispatch or ContentDelivery&quot;&amp;gt;&#xA;    &amp;lt;processor type=&quot;FooBar.LoadEmailRenderSessionContact, FooBar&quot; x:before=&quot;processor[@type='Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact, Sitecore.Analytics']&quot; resolve=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;ContactRepository ref=&quot;contactRepository&quot; /&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;&amp;lt;/ensureSessionContext&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally, you should make sure that the tracker is enabled for the site as MVC personalization will otherwise not work i.e. set enableTracking=&quot;true&quot; on the exm site e.g..&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;exm&quot; enableTracking=&quot;true&quot; inherits=&quot;shell&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; startItem=&quot;/none&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;50MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-05-24T12:40:20.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11964" PostTypeId="2" ParentId="11959" CreationDate="2018-05-24T12:48:02.237" Score="7" Body="&lt;p&gt;You can do this. Use &lt;code&gt;VariantReference&lt;/code&gt; and then &lt;code&gt;VariantField&lt;/code&gt; or &lt;code&gt;VariantToken&lt;/code&gt; items and display tag name or field value:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GaEth.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GaEth.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks to a number of extension points in SXA it's fairly easy to implement a custom solution for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is &lt;code&gt;resolveVariantTokens&lt;/code&gt; pipeline which contains, for example, such processors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;resolveVariantTokens&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.ResolveVariantTokens.ResolveIFileTypeIcon, Sitecore.XA.Foundation.Variants.Abstractions&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.ResolveVariantTokens.ResolveItemId, Sitecore.XA.Foundation.Variants.Abstractions&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.ResolveVariantTokens.ResolveItemName, Sitecore.XA.Foundation.Variants.Abstractions&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.ResolveVariantTokens.ResolveSize, Sitecore.XA.Foundation.Variants.Abstractions&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/resolveVariantTokens&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Investigate one or two of them. You will notice that it's quite easy to add your own token called for example &lt;code&gt;$tags&lt;/code&gt; and then use it in Token variant item like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WO9BQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WO9BQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your custom processor would simply gets tags out of an item and just return tags name or &lt;code&gt;&amp;lt;span class=&quot;tag-something&amp;gt;TAG_NAME&amp;lt;/span&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="95" LastEditDate="2018-05-24T20:32:59.970" LastActivityDate="2018-05-24T20:32:59.970" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11965" PostTypeId="2" ParentId="11954" CreationDate="2018-05-24T15:07:10.100" Score="3" Body="&lt;p&gt;It should work well even if you set field from base template.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Sitecore Item Field Value Accessor doesn't show the inherited properties on an entity&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Yes. It's true. That is Sitecore behavior that comes from field type.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;I've also tried selecting the field on the base template itself but that doesn't work either. By not working, I mean the value is not populated.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It should work. I have an example where it works pretty well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Check:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Mapping is enabled&lt;/li&gt;&#xA;&lt;li&gt;Source and Target accessors set properly&lt;/li&gt;&#xA;&lt;li&gt;Source value Transformer is used to cast the proper type for mapping (if needed) &lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My test&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Templates&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MyL0d.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MyL0d.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Value Accessors&lt;/em&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WZFgj.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WZFgj.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/lhsyK.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lhsyK.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GXI1F.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GXI1F.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-05-24T15:07:10.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11966" PostTypeId="2" ParentId="11955" CreationDate="2018-05-24T15:49:58.307" Score="0" Body="&lt;p&gt;Solution was to change value of &quot;defaultEnvironment&quot; element in Sitecore.Commerce.Engine.Connect.config to this correct value:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;defaultEnvironment&amp;gt;HabitatAuthoring&amp;lt;/defaultEnvironment&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My colleague has not used default environment &quot;HabitatAuthoring&quot; during provisioning PaaS and configured our custom. I bootstrapped and initialized only AdventureWorks and Habitat environment. Therefore it was not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option to solve this problem would be to create and bootstrap your own environment to meet your custom environment name in config. This will be next step / correct solution during development phase of your project. First solution is to solve problem with OOTB / default values to showcase that Commerce 9 is installed and up and running.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-24T20:10:53.807" LastActivityDate="2018-05-24T20:10:53.807" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11968" PostTypeId="1" CreationDate="2018-05-25T06:01:14.967" Score="1" ViewCount="916" Body="&lt;p&gt;I am trying to automate Sitecore using  Selenium (C#).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details about the automations steps:&#xA;Scenario to automate:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Login to Sitecore with admin privileges.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;After logging in, select Content Editor.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Next step is to create a home page under a desired location in content tree.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Select Presentation Tab &gt; Details .&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Next Select Final Layout.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am unable to locate Final layout element as it is present on different frame/Dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried switching on to the frame but does not seem to work. Any help is appreciated!!!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The HTML content:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;iframe id=&quot;scContentIframeId0&quot; frameborder=&quot;0&quot; scrolling=&quot;auto&quot; class=&quot;ui-dialog-content ui-widget-content ui-dialog-normal&quot; src=&quot;/sitecore/shell/default.aspx?xmlcontrol=LayoutDetails&amp;amp;amp;id=%7B110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9%7D&amp;amp;amp;la=en&amp;amp;amp;vs=1&quot; style=&quot;width: auto; min-height: 0px; max-height: none; height: 600px;&quot;&amp;gt;&#xA;    &amp;lt;form&amp;gt;&#xA;        &amp;lt;div class=aspnethidden&amp;gt;&amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=scFlexColumnContainer scStretch&amp;gt;&amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=scFormDialogHeader&amp;gt;&amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=DialogHeader&amp;gt;&amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=scFlexContent scFormDialogContent&amp;gt;&amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=scStretchAbsolute scDialogContentContainer&amp;gt;&#xA;            &amp;lt;div class=scTabstrip&amp;gt;&#xA;                &amp;lt;span id=Tabs_tab_1&amp;gt;&#xA;&#xA;                &amp;lt;/span&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        '&#xA;        '&#xA;        '&#xA;    &amp;lt;/form&amp;gt;&#xA;&amp;lt;/iframe&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3744" LastEditorUserId="2056" LastEditDate="2018-05-30T06:24:36.897" LastActivityDate="2018-05-30T06:41:09.077" Title="Unable to locate element on the Frame (selenium c#)" Tags="|sitecore-client|automation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="11969" PostTypeId="2" ParentId="18361" CreationDate="2018-05-25T06:23:37.970" Score="1" Body="&lt;p&gt;I see such behaviour for the first time. I would check:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;if the production environment is properly set - &lt;em&gt;Add here&lt;/em&gt; dialogue is taking renderings differently than a toolbox. There is a special script in SXA which is generating toolbox. Check if all the themes are properly moved to the production (especially &lt;code&gt;/sitecore/media library/Base Themes/Editing Theme&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;check if for some reason (unknown or me) renderings in your production environment are not somehow placed under one item&lt;/li&gt;&#xA;&lt;li&gt;you showed Add here dialogue but I don't see the toolbox - all the renderings there are also under one section?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Few more things to mention. Toolbox sections depend on the parent item where the rendering is located:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0a5eI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0a5eI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Items under Available Renderings are just to group allowed renderings. To make managing of allowed renderings easier bu putting them into logical groups. E.g.: All Context renderings which are allowed are here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lPOnL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lPOnL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-25T06:23:37.970" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11970" PostTypeId="1" CreationDate="2018-05-25T06:36:25.853" Score="1" ViewCount="199" Body="&lt;p&gt;I am using TDS to Sync SXA Tenant\Site, I followed the below steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Unified Tenant and Site name with other team members&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- Add changed items in rendering variant node&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- After other team members get latest they got error &quot;Parent Item not found&quot; as the IDs are different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, when I tried to deploy the solution it created a new Tenant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another steps to get this working correctly? &lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="605" LastEditDate="2018-05-25T07:43:55.643" LastActivityDate="2018-06-21T07:33:41.177" Title="Sync SXA Tenant with TDS" Tags="|sxa|tds|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11976" PostTypeId="1" AcceptedAnswerId="11984" CreationDate="2018-05-25T15:18:34.453" Score="1" ViewCount="139" Body="&lt;p&gt;I am using rendering variant to render list of items and i need to add special styles depending on the index of the item being rendered, is there a way to handle this?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2018-05-26T15:40:46.920" Title="SXA Rendering Variant item index" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11977" PostTypeId="1" CreationDate="2018-05-25T15:56:12.860" Score="0" ViewCount="658" Body="&lt;p&gt;&lt;em&gt;As a&lt;/em&gt; developer,&lt;br&gt;&#xA;&lt;em&gt;I want&lt;/em&gt; my placeholder to be rendered in sitecore,&lt;br&gt;&#xA;&lt;em&gt;so that&lt;/em&gt; I can add more components inside&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all, in disconnected mode, everything is fine:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1 - I have a placeholder named : &lt;strong&gt;PH__fullscreen-hero&lt;/strong&gt; inside my component:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A5cHE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A5cHE.png&quot; alt=&quot;fullscreen-hero.vue&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2 - I added data to my en.json:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PSmIn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PSmIn.png&quot; alt=&quot;en.json&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3 - In local mode, everything is fine: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9P0BI.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9P0BI.jpg&quot; alt=&quot;local&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4 - Then after : &lt;code&gt;jss deploy package -c -d&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5 - in connected mode in my sitecore all placeholders are created nevertheless PH__fullscreen-hero doesn't render in the DOM in Experience Editor... :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gIkOs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gIkOs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did I forget something ?&#xA;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3659" LastActivityDate="2018-05-25T17:37:31.893" Title="Placeholders in my component doesn't show in Sitecore connected mode after a deploy - JSS - vueJs" Tags="|jss|" AnswerCount="1" CommentCount="2" ClosedDate="2018-05-25T17:41:08.080" ContentLicense="CC BY-SA 4.0" />
  <row Id="11978" PostTypeId="2" ParentId="11977" CreationDate="2018-05-25T17:37:31.893" Score="1" Body="&lt;p&gt;Solution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I forgot to include Placeholder in \sitecore\definitions\components\FullscreenHero.sitecore.js&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/D2jOU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D2jOU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3659" LastActivityDate="2018-05-25T17:37:31.893" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11980" PostTypeId="1" AcceptedAnswerId="12004" CreationDate="2018-05-25T19:46:25.013" Score="1" ViewCount="484" Body="&lt;p&gt;I want to add svg icons in the footer with links &lt;code&gt;&amp;lt;sc-link&amp;gt;&lt;/code&gt;, &#xA;how can i do that?&lt;/p&gt;&#xA;" OwnerUserId="3738" LastActivityDate="2018-05-28T17:25:53.720" Title="How can i add an svg with a sc-link JSS with VUE JS?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11981" PostTypeId="1" AcceptedAnswerId="11985" CreationDate="2018-05-26T07:37:24.380" Score="0" ViewCount="174" Body="&lt;p&gt;In SXA 1.7, is it possible to add style on &quot;li&quot; tag from rendering variant? as i think the li tag is added in javascript &quot;component-search-results?&quot;&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2018-05-26T20:47:02.823" Title="SXA Search Results Styling" Tags="|sxa|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="11982" PostTypeId="1" CreationDate="2018-05-26T10:40:24.983" Score="1" ViewCount="235" Body="&lt;p&gt;We have recently moved to Sitecore 8.2 Update 3 and facing following issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever we are trying to change the template for any item, it does not seems to get published. And it empty the existing fields even though we have the same field names in the new template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea on this?&lt;/p&gt;&#xA;" OwnerUserId="3751" LastEditorUserId="73" LastEditDate="2018-05-28T14:43:22.943" LastActivityDate="2018-05-28T14:43:22.943" Title="Name and Template changes not being published" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11983" PostTypeId="2" ParentId="11982" CreationDate="2018-05-26T10:43:33.933" Score="2" Body="&lt;p&gt;This is known publishing issue in Sitecore 8.2 Update 3. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to resolve the issue with this hotfix. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/136794&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/136794&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2018-05-26T10:43:33.933" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11984" PostTypeId="2" ParentId="11976" CreationDate="2018-05-26T15:40:46.920" Score="2" Body="&lt;p&gt;Sure you can. This is where the :nth-child() and the :nth-last-child() pseudo-classes come into play. You can achieve all that you want just with pure CSS styling.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-26T15:40:46.920" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11985" PostTypeId="2" ParentId="11981" CreationDate="2018-05-26T20:47:02.823" Score="1" Body="&lt;p&gt;Whatever the complexity is, SXA can handle it will. Follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create your markup and write styles for it. (a fully complete HTML)&lt;/li&gt;&#xA;&lt;li&gt;Create a rendering variant for search result. &lt;/li&gt;&#xA;&lt;li&gt;Customise your rendering variant based on your containers and markup.&lt;/li&gt;&#xA;&lt;li&gt;The listing should be based on &quot;ul&quot; and &quot;li&quot; and your item styles should be independent of  &quot;ul&quot; and &quot;li&quot; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That's it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The list already has classes on items for start and end etc. You can style based on it. If not you can use the pseudo selectors of css for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the link for nth child and pseudo selectors reference on w3schools which is very basic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.w3schools.com/cssref/sel_nth-child.asp&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.w3schools.com/cssref/sel_nth-child.asp&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.s if you are good at using css flex you can also take benefits from it&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-05-26T20:47:02.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11986" PostTypeId="1" CreationDate="2018-05-27T11:18:23.360" Score="1" ViewCount="1782" Body="&lt;p&gt;I have a template with field of type treelist which holds images, i want to read this field in my view rendering (.cshtml file) and loop over the images and display each one in an  tag. How can i do that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my code for reading from treelist:&#xA;(this code was working fine when my view was a controller rendering, however when i tried to add a view rendering it gives me error:&#xA;Inner Exception: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Sitecore.Data.Items.Item'. )&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Sitecore.Data.Items.Item&#xA;@using Sitecore.Data.Fields&#xA;@using Sitecore.Data.Items&#xA;@using Sitecore.Resources.Media&#xA;@{&#xA;    Layout = null;&#xA;}&#xA;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&#xA;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;script type=&quot;text/javascript&quot; src=&quot;~/Scripts/jquery-1.9.1.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;~/Scripts/jquery.validate.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script src=&quot;~/Scripts/jquery.validate.unobtrusive.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;script type=&quot;text/javascript&quot; src=&quot;~/Scripts/bootstrap.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;    &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;~/Content/bootstrap.css&quot; /&amp;gt;&#xA;    &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&amp;gt;&#xA;    &amp;lt;title&amp;gt;&#xA;&#xA;    &amp;lt;/title&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;  &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;&#xA;&#xA;&#xA;&#xA;         &amp;lt;div id=&quot;myCarousel&quot; class=&quot;carousel slide&quot; data-ride=&quot;carousel&quot;&amp;gt;&#xA;        &amp;lt;ol class=&quot;carousel-indicators&quot;&amp;gt;&#xA;            &amp;lt;li data-target=&quot;#myCarousel&quot; data-slide-to=&quot;0&quot;&#xA;                class=&quot;active&quot;&amp;gt;&amp;lt;/li&amp;gt;&#xA;            &amp;lt;li data-target=&quot;#myCarousel&quot; data-slide-to=&quot;1&quot;&amp;gt;&amp;lt;/li&amp;gt;&#xA;            &amp;lt;li data-target=&quot;#myCarousel&quot; data-slide-to=&quot;2&quot;&amp;gt;&amp;lt;/li&amp;gt;&#xA;            &amp;lt;li data-target=&quot;#myCarousel&quot; data-slide-to=&quot;3&quot;&amp;gt;&amp;lt;/li&amp;gt;&#xA;        &amp;lt;/ol&amp;gt;&#xA;        &amp;lt;div class=&quot;carousel-inner&quot; role=&quot;listbox&quot;&amp;gt;&#xA;            @{&#xA;                IEnumerable&amp;lt;Item&amp;gt; heroImages = null;&#xA;                var heroImagesField = new MultilistField(&#xA;                Model.Fields[&quot;Hero Images&quot;]);&#xA;                if (heroImagesField != null)&#xA;                {&#xA;                    heroImages = heroImagesField.GetItems();&#xA;                }&#xA;                if (heroImages != null)&#xA;                {&#xA;                    int i = 1;&#xA;                    foreach (var image in heroImages)&#xA;                    {&#xA;                        var mediaItem = (MediaItem)image;&#xA;                        &amp;lt;div class=&quot;item @(i == 1 ? &quot;active&quot; : &quot;&quot;) &quot;&amp;gt;&#xA;                            &amp;lt;img src=&quot; @MediaManager.GetMediaUrl(mediaItem) &quot;&#xA;                                 style=&quot;width:1920px;&quot; /&amp;gt;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                        i++;&#xA;                    }&#xA;                }&#xA;            }&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;&#xA;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="73" LastEditDate="2018-05-27T18:45:56.267" LastActivityDate="2018-05-27T20:23:38.493" Title="Sitecore Read a treelist field in view rendering" Tags="|tree-list|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11987" PostTypeId="1" AcceptedAnswerId="11992" CreationDate="2018-05-27T11:27:43.810" Score="1" ViewCount="941" Body="&lt;p&gt;I am using sitecore workflow action in order to execute method, but the DI inject services not working, what i have to do to solve this issue ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EX:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;basiclly i have work flow that will call ResendAction to send some informations, and in this class i am using DI to inject some services , but the DI not working with this kind of sitecore background tasks, and i need to keep using DI to inject any service i need&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ResendAction&#xA;{&#xA;    private readonly IRfiTasksHandler _rfiTasksHandler;&#xA;&#xA;    public ResendAction(IRfiTasksHandler rfiTasksHandler)&#xA;    {&#xA;        _rfiTasksHandler = rfiTasksHandler&#xA;    }&#xA;&#xA;    public void Process(WorkflowPipelineArgs args)&#xA;    {&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KEfcg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KEfcg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="492" LastEditorUserId="73" LastEditDate="2018-05-27T18:19:56.667" LastActivityDate="2018-05-27T18:19:56.667" Title="Sitecore Scheduled Tasks and Dependency Injection" Tags="|sitecore-api|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11989" PostTypeId="1" CreationDate="2018-05-27T14:19:31.163" Score="1" ViewCount="808" Body="&lt;p&gt;In my Helix based solution, every time I publish a change to a feature project  and load the site I get this error below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error goes away when I publish the website project in the project layer. So every time I publish a feature project in my development box I'm having to republish the website project as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on how to troubleshoot this? I can't find &quot;using code&quot; anywhere in my solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vPLbJ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vPLbJ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1481" LastEditorUserId="73" LastEditDate="2018-05-28T09:21:50.390" LastActivityDate="2018-05-29T07:35:56.017" Title="The type or namespace 'code' could not be found" Tags="|mvc|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="11990" PostTypeId="1" AcceptedAnswerId="11991" CreationDate="2018-05-27T15:57:12.917" Score="3" ViewCount="2144" Body="&lt;p&gt;On our Content Delivery server, the published URL is redirecting to the default home page of Sitecore and I need it to redirect to the SXA site home.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there specific steps I should take?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="237" LastEditDate="2018-09-08T17:55:28.557" LastActivityDate="2019-04-04T03:02:09.580" Title="SXA site not detected on content delivery - url goes to default home" Tags="|sxa|multisite|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11991" PostTypeId="2" ParentId="11990" CreationDate="2018-05-27T16:10:48.763" Score="2" Body="&lt;p&gt;The site definition (.../Settings/Site Grouping/[Site name]) contains (amongst others) the url of your site in the &lt;code&gt;Host Name&lt;/code&gt; field - a parameter you will normally find in the sites definition of a Sitecore site. When your url maps on a wrong site, this setting is probably wrong. Note that you can use wildcards and pipes in this field (just as you would in a non-sxa host name setting).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use the SXA site manager to verify the settings in a multi-site environment: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/getting_started_with_sxa/tenants_and_sites/manage_multiple_sites_with_the_sxa_site_manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/getting_started_with_sxa/tenants_and_sites/manage_multiple_sites_with_the_sxa_site_manager&lt;/a&gt;&#xA;With the SXA site manager you can also change the order of the sites to fix hostname issues.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-05-27T16:10:48.763" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11992" PostTypeId="2" ParentId="11987" CreationDate="2018-05-27T16:50:24.990" Score="3" Body="&lt;p&gt;Sitecore DI will only resolve your instances in controllers and in pipelines where &lt;code&gt;resolve=true&lt;/code&gt; is set. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Foo.BarProcessor, Foo&quot; resolve=&quot;true&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You are going to have to new that up yourself.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private readonly IRfiTasksHandler _rfiTasksHandler;&#xA;&#xA;public ResendAction()&#xA;{&#xA;    _rfiTasksHandler = DependencyResolver.Current.GetService&amp;lt;IRfiTasksHandler&amp;gt;();&#xA;}&#xA;&#xA;public void Process(WorkflowPipelineArgs args)&#xA;{&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you're not using MVC or if you're in a Scheduled Task or otherwise outside page context, you can use the Service Locator code below to resolve it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;_rfiTasksHandler = ServiceLocator.ServiceProvider.GetService&amp;lt;IRfiTasksHandler&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="73" LastEditDate="2018-05-27T18:19:19.100" LastActivityDate="2018-05-27T18:19:19.100" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="11994" PostTypeId="2" ParentId="11986" CreationDate="2018-05-27T20:23:38.493" Score="1" Body="&lt;p&gt;You should use the &lt;code&gt;Sitecore.Mvc.Presentation.RenderingModel&lt;/code&gt; as your model and then retrieve a Sitecore context item from it, rather then defining the &lt;code&gt;Sitecore.Data.Items.Item&lt;/code&gt; as a model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, you should change your model definition to this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@model Sitecore.Mvc.Presentation.RenderingModel&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. Your question is covered quite well by this community forum q/a:&#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/109&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/109&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Personally, I recommend looking through the community forum or Sitecore KB before submitting a question. &lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2018-05-27T20:23:38.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11995" PostTypeId="1" AcceptedAnswerId="12084" CreationDate="2018-05-28T01:22:22.420" Score="6" ViewCount="2500" Body="&lt;p&gt;We're using Sitecore 8. We have a scenario to provide permission to one user to unlock items which are locked by other user in CE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please advise on it. &lt;/p&gt;&#xA;" OwnerUserId="3450" LastEditorUserId="73" LastEditDate="2018-05-28T07:09:03.600" LastActivityDate="2018-05-31T20:51:11.630" Title="Provide permission to one user to unlock items which are locked by other user in CE" Tags="|sitecore-client|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="11996" PostTypeId="2" ParentId="11154" CreationDate="2018-05-28T10:04:25.770" Score="7" Body="&lt;p&gt;As mentioned elsewhere, the log files are in &lt;strong&gt;[yourxconnectroot]\App_data\jobs\continuous\AutomationEngine\App_Data\Logs.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can change the log level in: &lt;strong&gt;\App_data\jobs\continuous\AutomationEngine\App_Data\Config\sitecore\CoreServices\sc.Serilog.xml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to debug your custom activities, do the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Stop the service: &lt;strong&gt;[instancename]_automation-marketingautomationservice&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open a command prompt and launch \App_data\jobs\continuous\AutomationEngine\maengine.exe&lt;/li&gt;&#xA;&lt;li&gt;Attach to maengine.exe from Visual Studio&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This makes debugging a bit easier as you can start/stop the engine as you please, and you follow what the engine is doing in the console.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-05-28T10:04:25.770" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11997" PostTypeId="1" AcceptedAnswerId="11999" CreationDate="2018-05-28T10:16:07.410" Score="0" ViewCount="137" Body="&lt;p&gt;Can all presentation folders be deleted from child websites in a tenant that has 1 shared site from where the presentation is controlled?&lt;/p&gt;&#xA;" OwnerUserId="495" LastActivityDate="2018-07-28T21:01:05.977" Title="Child website presentation folders" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11998" PostTypeId="2" ParentId="11154" CreationDate="2018-05-28T10:29:49.073" Score="2" Body="&lt;p&gt;Where the Marketing Automation logs located depends how the service was installed.&#xA;The one of the way how to determine where the log for marketing automation located just to find the current service in services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PuvgN.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PuvgN.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right mouse click and choose Properties. See &quot;Path to executable&quot;. When you know the root location just go to &quot;App_Data\Logs&quot; if it was not changed in settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to debug it and configure the log Jacob Nielsen has already answered.&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-05-28T10:29:49.073" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="11999" PostTypeId="2" ParentId="11997" CreationDate="2018-05-28T11:49:48.670" Score="1" Body="&lt;p&gt;You can easily remove those items using PowerShell script but I would recommend not to do it. SXA has a lot of queries which are expecting Presentation item (and its child items) to be in the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want you can remove e.g. Rendering Variants created to each site or Partial Designs if you have a global set of them.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-28T11:49:48.670" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12000" PostTypeId="1" CreationDate="2018-05-28T13:39:17.103" Score="2" ViewCount="84" Body="&lt;p&gt;I need to remove all the old Sitecore Analytics data related to Assets/Downloads.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I only need to remove these Assets related data from contacts/reports since there were some incorrect configuration of tracking events earlier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have look into Analytics Database Manager tool and it seems it doesn't have this option of only removing Assets related information.&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if there is a way we can achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version : 8.2&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2018-05-28T13:39:17.103" Title="Cleanup Sitecore Assets Download Data" Tags="|xdb|experience-analytics|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12001" PostTypeId="1" AcceptedAnswerId="12008" CreationDate="2018-05-28T14:00:28.157" Score="0" ViewCount="84" Body="&lt;p&gt;In our project we have a Sitecore 9.0.1 solution conforming to Helix architecture. &#xA;We also have Sitecore Commerce installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I add a reference to Sitecore.Commerce.Core to a project in the Helix structure, it requires Microsoft.Extensions.DependencyInjection 2.0.0, while Sitecore 9 uses 1.1.1. They are not compatible and after deployment there is a bunch of errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to use Sitecore.Commerce.Core with the Helix project?&lt;/p&gt;&#xA;" OwnerUserId="3754" LastEditorUserId="73" LastEditDate="2018-05-28T17:51:30.627" LastActivityDate="2018-06-19T09:26:52.423" Title="Discrepancy between DependencyInjection version in regular Sitecore projects and Commerce.Core dependant project" Tags="|sitecore-commerce|helix|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12002" PostTypeId="2" ParentId="12001" CreationDate="2018-05-28T14:09:04.463" Score="1" Body="&lt;p&gt;Sitecore.Commerce.Core is typically only used in the plugins you write for the Commerce Engine and not in the features you write using the Helix structure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would not expect a project that uses Sitecore.Commerce.Core and is deployed to Sitecore XP. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should probably use Sitecore.Commerce.Connect.Core which is a layer between Sitecore XP and Sitecore Commerce Engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards,&#xA;Erwin&lt;/p&gt;&#xA;" OwnerUserId="1749" LastActivityDate="2018-05-28T14:09:04.463" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12004" PostTypeId="2" ParentId="11980" CreationDate="2018-05-28T14:59:55.943" Score="1" Body="&lt;p&gt;What you are looking for is a way to provide an image (svg, png, jpeg...) wrapped in a link, like a Facebook icon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you need create a new component : &quot;link-image&quot; with values from &lt;strong&gt;sc-link&lt;/strong&gt; and others from &lt;strong&gt;sc-image&lt;/strong&gt; ( &lt;em&gt;src, alt, title, target&lt;/em&gt; ).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your components/link-image.vue&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;template&amp;gt;&#xA;    &amp;lt;a &#xA;    :class=&quot;fields.link.value.class&quot; &#xA;    :href=&quot;fields.link.value.href&quot; &#xA;    :title=&quot;fields.link.value.title&quot; &#xA;    :target=&quot;fields.link.value.target&quot;&amp;gt;&#xA;      &amp;lt;img &#xA;      :alt=&quot;fields.image.value.alt&quot;&#xA;      :src=&quot;fields.image.value.src&quot; &amp;gt;&#xA;    &amp;lt;/a&amp;gt;&#xA;&amp;lt;/template&amp;gt;&#xA;&#xA;&amp;lt;script&amp;gt;&#xA; export default {&#xA;   name: 'LinkImage',&#xA;   props: {&#xA;     fields: {&#xA;       type: Object,&#xA;       default: () =&amp;gt; ({}),&#xA;     }&#xA;   }&#xA; };&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your sitecore/definitions/components/LinkImage.sitecore.js&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { addComponent, CommonFieldTypes, SitecoreIcon } from '@sitecore-jss/sitecore-jss-manifest';&#xA;&#xA;export default (manifest) =&amp;gt; {&#xA;  addComponent(manifest, {&#xA;    name: 'LinkImage',&#xA;    displayName: 'Link Image',&#xA;    icon: SitecoreIcon.Airbrush,&#xA;    fields: [&#xA;      { name: 'link', type: CommonFieldTypes.GeneralLink },&#xA;      { name: 'image', type: CommonFieldTypes.Image }&#xA;    ],&#xA;  });&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your src/app/componentFactory.js Add &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;import LinkImage from './components/link-image.vue';&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;components.set('LinkImage', LinkImage);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your data/routes/en.json:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  {&#xA;    &quot;componentName&quot;: &quot;LinkImage&quot;,&#xA;    &quot;fields&quot;: {&#xA;      &quot;link&quot;: {&#xA;        &quot;value&quot;: {&#xA;          &quot;href&quot;: &quot;https://www.google.com&quot;,&#xA;          &quot;title&quot;: &quot;Google&quot;,&#xA;          &quot;target&quot;: &quot;_blank&quot;,&#xA;          &quot;class&quot;: &quot;&quot;&#xA;        }&#xA;      },&#xA;      &quot;image&quot;: {&#xA;        &quot;value&quot;: {&#xA;          &quot;src&quot;: &quot;/assets/img/google-logo.svg&quot;,&#xA;          &quot;alt&quot;: &quot;Google&quot;&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3659" LastEditorUserId="3659" LastEditDate="2018-05-28T17:25:53.720" LastActivityDate="2018-05-28T17:25:53.720" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12006" PostTypeId="2" ParentId="10766" CreationDate="2018-05-28T15:22:23.980" Score="2" Body="&lt;p&gt;There are a couple of different approaches, but first a bit of background information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a contact/interaction/facet is added/updated and submitted to xConnect (at the end of the session), a work item is created for the Marketing Automation engine. This work item will then be evaluated against any active Marketing Automation campaigns where the start/end date has not been exceeded. See &lt;a href=&quot;https://doc.sitecore.net/developers/xp/marketing-automation/automation-engine/enrollment/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;plan and activity enrollment&lt;/a&gt; in the documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&lt;em&gt;Basically, what the intent is to use a rule at the start element and that will scan all the contacts from the contacts database, send an email and end the automation. In other words, enroll the contacts not by completion of a goal but by simply activating the marketing automation plan.&lt;/em&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As described above, that's now how Marketing Automation campaigns work i.e. all contacts are not evaluated against a campaign when it is activated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The scenario you describe would usually be resolved by triggering a goal upon login e.g. as Peter suggests. One caveat though. Do not &quot;abuse&quot; live events. Live processing of events come with a performance cost. Additionally, make sure the contact is actually created and pushed to xConnect before the event is triggered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative solution is to manually enroll the contact in the campaign as &lt;a href=&quot;https://doc.sitecore.net/developers/xp/marketing-automation/operations-api/index.html#enrolling-a-contact-in-a-single-plan&quot; rel=&quot;nofollow noreferrer&quot;&gt;described in the documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var operationsClient = ServiceLocator.ServiceProvider.GetService&amp;lt;IAutomationOperationsClient&amp;gt;();&#xA;&#xA;var contactXconnectId = Guid.Parse(&quot;{E7B756A1-3769-46F1-AE17-7B3A198F9290}&quot;);&#xA;var campaignId = Guid.Parse(&quot;{19FDD3A5-DBC2-4947-BEB4-69732ADEB0D8}&quot;);&#xA;var request = new EnrollmentRequest(contactXconnectId, campaignId); // Contact ID, Campaign ID&#xA;&#xA;request.Priority = 1; // Optional&#xA;request.ActivityId = Guid.Parse(&quot;{C5B87651-EE70-4684-BDD9-0B464B79476D}&quot;); // Optional&#xA;request.CustomValues.Add(&quot;test&quot;, &quot;test&quot;); // Optional&#xA;&#xA;BatchEnrollmentRequestResult result = await operationsClient.EnrollInPlanDirectAsync(new[]&#xA;{&#xA;request&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another alternative is to use the &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/subscription_management/the_exm_client_api&quot; rel=&quot;nofollow noreferrer&quot;&gt;EXM Client API&lt;/a&gt; to send the message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IClientApiService clientApiService = ServiceLocator.ServiceProvider.GetService&amp;lt;IClientApiService&amp;gt;()&#xA;var automatedMessage = new AutomatedMessage()&#xA;{&#xA;    MessageId = GUID_OF_YOUR_AUTOMATED_EMAIL_CAMPAIGN,&#xA;    ContactIdentifier = CONTACTIDENTIFIER_OF_YOUR_CONTACT&#xA;};&#xA;SendAutomatedMessage(automatedMessage);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, you could create a segmented list and send a regular email campaign to this list. This required the &lt;a href=&quot;https://kb.sitecore.net/articles/467253&quot; rel=&quot;nofollow noreferrer&quot;&gt;Cumulative hotfix for EXM 9.0 Update-1&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-05-28T15:22:23.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12007" PostTypeId="2" ParentId="12001" CreationDate="2018-05-28T17:26:46.597" Score="1" Body="&lt;p&gt;I typically have two solutions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;One for regular &quot;Sitecore&quot; project which is following Helix structure&lt;/li&gt;&#xA;&lt;li&gt;Second solution with all Commerce related stuff like plugins, minions and so on&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Either way they have to be deployed separately so it's also good practice to have it like this.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-19T09:26:52.423" LastActivityDate="2018-06-19T09:26:52.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12008" PostTypeId="2" ParentId="12001" CreationDate="2018-05-28T17:57:22.813" Score="2" Body="&lt;p&gt;They are not compatible. And they shouldn't be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your &quot;Helix Project&quot; is your website, your Sitecore solution. This runs on ASP.NET 4.5 (or so) and will be the front of your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Commerce.Core is a .NET Core component, and whatever you build using that component will need to be a .NET Core project which will be deployed to your Commerce Engine (not your website).&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-05-28T17:57:22.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12009" PostTypeId="1" AcceptedAnswerId="12102" CreationDate="2018-05-28T19:17:35.057" Score="0" ViewCount="2932" Body="&lt;ul&gt;&#xA;&lt;li&gt;In Disconnected mode  &lt;/li&gt;&#xA;&lt;li&gt;JSS Tech Preview 3  &lt;/li&gt;&#xA;&lt;li&gt;Sample vue JS&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have a component : data/component-content/&lt;strong&gt;Footer-nav&lt;/strong&gt;&#xA;With an ID : ID__footer-nav&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can link all my pages to this component perfectly:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;PH__footer&quot;: [&#xA;    {&#xA;        &quot;id&quot;: &quot;ID__footer-nav&quot;&#xA;    }&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Nevertheless, if I create a new placeholder inside this component &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;placeholder name=&quot;PH__footer-col&quot; :rendering=&quot;rendering&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and add data in my Footer-nav/en.json, I have this error in my console.log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#Placeholder 'PH__footer-col' was not found in the current rendering data&#xA;{&#xA;  &quot;uid&quot;: &quot;{3FC3DAE1-AA1D-5D7E-997D-9AB58DFFE0F9}&quot;,&#xA;  &quot;componentName&quot;: &quot;FooterNav&quot;,&#xA;  &quot;dataSource&quot;: &quot;available-in-connected-mode&quot;,&#xA;  &quot;params&quot;: {},&#xA;  &quot;fields&quot;: {&#xA;      #(... I hide them for clarity ...)&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;My data are in my manifest&lt;/li&gt;&#xA;&lt;li&gt;If I put my data in routes/en.json (bellow the ID) instead of routes/component-content/Footer-nav/en.json, I have not this problem.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any ideas ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3659" LastEditorUserId="3659" LastEditDate="2018-05-30T11:06:39.020" LastActivityDate="2018-12-11T11:58:57.147" Title="Placeholder was not found in the current rendering data - JSS sitecore 9 with VueJs" Tags="|jss|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12012" PostTypeId="1" CreationDate="2018-05-29T06:54:48.913" Score="2" ViewCount="776" Body="&lt;p&gt;With Sitecore Publishing Service installed, is it possible to have scheduled publishes. How can do add our custom schedule to the Publishing queue of Publishing Instance.&lt;/p&gt;&#xA;" OwnerUserId="3757" LastEditorUserId="69" LastEditDate="2018-05-29T12:41:04.333" LastActivityDate="2018-05-30T10:03:09.143" Title="Sitecore scheduled publishing with Publishing service" Tags="|publishing|publishing-service|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12013" PostTypeId="2" ParentId="11825" CreationDate="2018-05-29T07:17:23.933" Score="2" Body="&lt;p&gt;To resolve this issue you have to deep dive into two Pipeline Steps that could help you.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Resolve Sitecore Item Pipeline Step&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This Pipeline step has &quot;Find Existing Item&quot; section with two settings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gXgjF.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gXgjF.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Parent for Item&lt;/em&gt;&lt;/strong&gt; - You have to specify the parent item in the content tree in order to pipeline step knows the main root location for resolved items. This setting uses for the first-level item. In your case under selected parent will be added items with mapped fields: name, short_description, description, type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Parent for Item Location&lt;/em&gt;&lt;/strong&gt; - If a location is set, and the object at the location is a Sitecore item, this item is used as the parent instead of the item specified in Parent for Item. This setting can be used when you need resolve &quot;childobjects&quot;. How it works. When the parent item was added/updated it's still in the context together with source object(json) and it means that you just can extract/get/copy childobjects from source and iterate them and for the resolver use this field to specify parent. &lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Copy Object from Context to New Location Pipeline Step&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This Pipeline Step has &quot;&lt;em&gt;Location Settings&lt;/em&gt;&quot; section.&#xA;You can use this pipeline step in order to extract/copy/get &quot;childobjects&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3XHQF.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3XHQF.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Source object location&lt;/em&gt;&lt;/strong&gt; - to specify source object location. In your case to specify your json object location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Source Object value Accessor&lt;/em&gt;&lt;/strong&gt; - Component used to read the source object from the object resolved from the source object location (if not set, the source object itself is used). In other words here accessor should be used that knows how to extract/get/read childobject from json/parentjson.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Target Object Location&lt;/em&gt;&lt;/strong&gt; - The object that is resolved is copied to this location. It means that object resolved from Source &quot;Object value Accessor&quot; will be copied to the specified location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you should be able to iterate the childobjects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SWNjI.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SWNjI.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-06-01T07:21:17.883" LastActivityDate="2018-06-01T07:21:17.883" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="12014" PostTypeId="2" ParentId="11989" CreationDate="2018-05-29T07:35:56.017" Score="1" Body="&lt;p&gt;I've resolved the issue. I was looking for &quot;using code&quot; in my solution and wondering where that reference came from, but what I should have been looking for is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add namespace=&quot;code&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found this in the Views folder web.config of all of my Feature projects. Since I was creating all my projects using the name &quot;code&quot; to follow the Helix module structure and then renaming them to the actual name I want, Visual Studio was adding that as a default namespace in the Views web.config folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/…&#xA;    /[Module Name]&#xA;        /code&#xA;            /Views/web.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope someone finds this useful.&lt;/p&gt;&#xA;" OwnerUserId="1481" LastActivityDate="2018-05-29T07:35:56.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12019" PostTypeId="1" AcceptedAnswerId="12021" CreationDate="2018-05-29T10:32:46.793" Score="6" ViewCount="893" Body="&lt;p&gt;I've made a custom rule that enables the user to get a date field from any facet and see if that date's passed. I've made two variants, one for personalization and one for list segmentation/Marketing Automation. They use the same code to get the facet value. The personalization rule works fine; however when I try to segment a list an error is shown &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ytwtu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ytwtu.png&quot; alt=&quot;list segmentation error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and the log shows this beauty (YourLinqIsTooStrongException):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;11856 17:37:43 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;Source: System.Web&#xA;   at System.Web.UI.Page.HandleError(Exception e)&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest()&#xA;   at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline)&#xA;   at Sitecore.Web.UI.Sheer.ClientPage.ResumePipeline()&#xA;   at Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e)&#xA;   at System.Web.UI.Control.PreRenderRecursiveInternal()&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.XConnect.Search.YourLinqIsTooStrongException&#xA;Message: Unsupported query: (VisitMethodCall): value(VGZ.Sitecore.Foundation.MarketingAutomation.Rules.ExmDateCondition).Evaluate([contact])&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func\`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock[TResult](Func\`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.GetBatchEnumeratorSync[TEntity](IAsyncQueryable\`1 asyncQueryable, Int32 defaultBatchSize)&#xA;   at Sitecore.XConnect.Segmentation.SegmentationEngine.&amp;lt;&amp;gt;c.&amp;lt;CountContacts&amp;gt;b__24_0(IAsyncQueryable\`1 contacts)&#xA;   at Sitecore.XConnect.Segmentation.SegmentationEngine.PerformSearch[T](IContactSearchQueryFactory queryFactory, Func\`2 searchWork, Byte[] syncToken, ContactExpandOptions expandOptions)&#xA;   at Sitecore.XConnect.Segmentation.SegmentationEngine.CountContacts(IContactSearchQueryFactory queryFactory)&#xA;   at Sitecore.Shell.Applications.Analytics.SegmentBuilder.SegmentBuilderForm.EditFilterCondition(ClientPipelineArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The class that's giving me headaches:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExmDateCondition : ICondition, IMappableRuleEntity, IContactSearchQueryFactory&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;Gets or sets the facet that contains a date.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;facet.value&amp;lt;/value&amp;gt;&#xA;    public string DateFacet { get; set; }&#xA;&#xA;    public Expression&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt; CreateContactSearchQuery(IContactSearchQueryContext context)&#xA;    {&#xA;        return contact =&amp;gt; Evaluate(contact);&#xA;    }&#xA;&#xA;    public bool Evaluate(IRuleExecutionContext context)&#xA;    {&#xA;        return Evaluate(context.Fact&amp;lt;Contact&amp;gt;());&#xA;    }&#xA;&#xA;    private bool Evaluate(Contact contact)&#xA;    {&#xA;        if (string.IsNullOrWhiteSpace(DateFacet))&#xA;        {&#xA;            Log.Info(GetType() + &quot;: DateFacet is null&quot;, this);&#xA;            return false;&#xA;        }&#xA;&#xA;        string[] propertyPath = DateFacet.Split('.');&#xA;        if (propertyPath.Length == 0)&#xA;        {&#xA;            Log.Info(GetType() + &quot;: facet path is empty&quot;, this);&#xA;            return false;&#xA;        }&#xA;&#xA;        DateTime utcNow = DateTimeProvider.GetUtcNow();&#xA;&#xA;        var values = FacetProvider.GetFacetValue&amp;lt;DateTime&amp;gt;(contact, propertyPath);&#xA;        if (utcNow &amp;gt;= values.ToUniversalTime())&#xA;        {&#xA;            return true;&#xA;        }&#xA;&#xA;        // maybe the facet value was nullable datetime&#xA;        var value = FacetProvider.GetFacetValue&amp;lt;DateTime?&amp;gt;(contact, propertyPath);&#xA;        return value.HasValue &amp;amp;&amp;amp; utcNow &amp;gt;= value.Value.ToUniversalTime();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;They're both configured with this rule text:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;when the date in [DateFacet,Text,,facetpath (Facet.ValueName)] has passed&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using the rule in a Marketing Automation listener doesn't generate an error but nothing seems to happen either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone encountered this error before and how do I resolve it? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can imagine it has something to do with Sitecore not liking the complexity of my rule, but I'd very much like to be able to query a facet value in a generic way like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&#xA;Even after updating my code to directly call GetFacetValue(), Sitecore now trips over that method. The solution was to let go of trying to make a generic rule and making separate rules for the facet values we need.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Expression&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt; CreateContactSearchQuery(IContactSearchQueryContext context)&#xA;{&#xA;    return contact =&amp;gt; FacetProvider.GetFacetValue&amp;lt;DateTime&amp;gt;(contact, DateFacet.Split('.')) &amp;gt;= DateTimeProvider.GetUtcNow() || FacetProvider.GetFacetValue&amp;lt;DateTime?&amp;gt;(contact, DateFacet.Split('.')) &amp;gt;= DateTimeProvider.GetUtcNow();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;resulted in&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.XConnect.Search.YourLinqIsTooStrongException&#xA;Message: Unsupported query: (VisitMethodCall): GetFacetValue([contact], value(System.String[]))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2369" LastEditorUserId="2369" LastEditDate="2018-05-29T13:14:05.327" LastActivityDate="2018-06-05T23:48:27.617" Title="List segmentation on custom rule YourLinqIsTooStrongException error" Tags="|rules-engine|marketing-automation|segmentation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12020" PostTypeId="1" CreationDate="2018-05-29T11:40:50.710" Score="10" ViewCount="1541" Body="&lt;p&gt;What are the differences of code/pipeline execution in Sitecore side, when we run on debug mode compared to normal page request?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Facing a strange issue where normal page request takes long time to load, but the same page loads fine in debug mode (Sitecore PaaS instance).&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is there any specific pipeline/code where it skips on debug mode ?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 10/09/2019&lt;/strong&gt; : As @TomT updated in the comment below, It turns out the reason for this issue was due to CI/CD process coping incorrect sitecore version files to Sitecore 8 site. And VisitorIdentification code has cause this issue due to that mismatch files on the site.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="383" LastEditDate="2019-09-09T22:26:51.377" LastActivityDate="2019-10-02T21:18:23.603" Title="Sitecore Debug Mode" Tags="|paas|performance|debug|" AnswerCount="1" CommentCount="10" ClosedDate="2019-10-02T21:25:29.793" ContentLicense="CC BY-SA 4.0" />
  <row Id="12021" PostTypeId="2" ParentId="12019" CreationDate="2018-05-29T14:18:46.680" Score="7" Body="&lt;p&gt;Sadly, my solution was too ambitious for the Sitecore predicate engine. The solution was to re-write the condition to a bare-bones implementation where a Facet it retrieved by strong-typed class.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExmReminderEmailDateCondition : ICondition, IMappableRuleEntity, IContactSearchQueryFactory&#xA;{&#xA;    public Expression&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt; CreateContactSearchQuery(IContactSearchQueryContext context)&#xA;    {&#xA;        return contact =&amp;gt; contact.GetMaturityMailDates().ReminderEmailDate &amp;lt;= DateTimeProvider.GetUtcNow();&#xA;    }&#xA;&#xA;    public bool Evaluate(IRuleExecutionContext context)&#xA;    {&#xA;        var facet = context.Fact&amp;lt;Contact&amp;gt;().GetMaturityMailDates();&#xA;        if (facet == null)&#xA;        {&#xA;            return false;&#xA;        }&#xA;&#xA;        return facet.ReminderEmailDate &amp;lt;= DateTimeProvider.GetUtcNow();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This didn't result in a working immediately though, per &lt;a href=&quot;https://doc.sitecore.net/developers/xp/segmentation/create-a-custom-predicate.html#configure-automation-engine&quot; rel=&quot;noreferrer&quot;&gt;the documentation&lt;/a&gt; I needed to register the condition in the Automation Engine after which it started working.&lt;/p&gt;&#xA;" OwnerUserId="2369" LastActivityDate="2018-05-29T14:18:46.680" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12022" PostTypeId="1" AcceptedAnswerId="12026" CreationDate="2018-05-29T14:23:45.410" Score="1" ViewCount="228" Body="&lt;p&gt;I'm trying to figure out the best way to configure the newsletter subscription form built using WFFM which after form submission will send an e-mail to a user with an activation link to confirm the subscription.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found &lt;a href=&quot;https://stackoverflow.com/questions/37361571/how-to-configure-a-newsletter-subscription-with-sitecore-8-1-wffm-and-exm?utm_medium=organic&amp;amp;utm_source=google_rich_qa&amp;amp;utm_campaign=google_rich_qa&quot;&gt;this post&lt;/a&gt; which describes the solution accurately but unfortunately, my project Sitecore license is CMS-only and I'm afraid I cannot use the out of the box solution. I'm using Sitecore 8.2 update 5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, I'm not able to even add the &quot;Add contact to contact list&quot; save action to the form with error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This action cannot be added. Your configuration does not support it.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I believe it's caused by the lack of xDb.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any simple way to implement the functionality in CMS-only mode or it has to be a separate mini-project with completely custom development?&lt;/p&gt;&#xA;" OwnerUserId="1979" LastEditorUserId="2056" LastEditDate="2018-05-29T18:34:57.190" LastActivityDate="2018-05-29T18:34:57.190" Title="How to configure a newsletter subscription in Sitecore 8.2 in CMS Only mode" Tags="|wffm|contact-facets|cms-only|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12023" PostTypeId="1" AcceptedAnswerId="12028" CreationDate="2018-05-29T14:39:09.970" Score="4" ViewCount="740" Body="&lt;p&gt;I have a component in my sitecore instance called an &lt;b&gt;Article Download&lt;/b&gt; component. One of the fields for this component is called &lt;b&gt;Download Item&lt;/b&gt; and it is the type &lt;strong&gt;link&lt;/strong&gt; (not &lt;strong&gt;General Link&lt;/strong&gt;). My authors are unable to update this field so my question is three-fold:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Could it have something to do with the fact that the &lt;strong&gt;link&lt;/strong&gt; type is depreciated? Even when I grant administer rights on the component to the role a user is in, they do not have access to this field.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;What side-effects might I see if I change the type from &lt;strong&gt;link&lt;/strong&gt; to &lt;strong&gt;General Link&lt;/strong&gt;? I'm wondering if I can change the type without having to do too much refactoring.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;How can I give the authors access?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;UPDATED:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a screenshot of the permissions of the role on the field from the Access Viewer.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KiTy1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KiTy1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a screenshot of the permissions on the field from the security editor. I'm not sure why everything is grayed out.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/jQ9Gq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jQ9Gq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3761" LastEditorUserId="2727" LastEditDate="2018-10-27T17:45:43.190" LastActivityDate="2018-10-27T17:45:43.190" Title="Granting a role access to a field" Tags="|sitecore-client|security|fieldtype|role-management|editor-user-permissions|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12024" PostTypeId="1" AcceptedAnswerId="13342" CreationDate="2018-05-29T15:31:13.087" Score="1" ViewCount="211" Body="&lt;p&gt;I'm working on a project where we are using Sitecore Experience Commerce 9.0 Update-1. When I try to add a price to a sellable-item, I have the problem, that I cannot save prices with decimal places.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to use the American format (with a dot as a decimal separator), the dot will just be ignored. So if I enter &quot;3.99&quot; into the input, it will save &quot;399&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/skePB.png&quot; alt=&quot;Input 3.99&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/dEVRM.png&quot; alt=&quot;Saved as 399&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to use the German format (with a comma), it will give me an error.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cp5an.png&quot; alt=&quot;Price has incorrect decimal value&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anybody seen a problem like this in Sitecore XC 9?&lt;/p&gt;&#xA;" OwnerUserId="1282" LastActivityDate="2018-08-15T04:39:07.223" Title="No decimal place in price card snapshots?" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12025" PostTypeId="2" ParentId="12022" CreationDate="2018-05-29T15:42:05.903" Score="1" Body="&lt;p&gt;As you don't have xDB nor EXM it will be difficult (or impossible) with ootb WFFM. I see 2 options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;fully custom form&lt;/li&gt;&#xA;&lt;li&gt;custom save action to send the mail: you could create your own save action to send the mail with the activation link. You have a few options to generate the link: use the formID, the email (with some extra's or I can activate anyone), a combination, or something completely custom again..&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In both cases, handling the activation will be custom.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-05-29T15:42:05.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12026" PostTypeId="2" ParentId="12022" CreationDate="2018-05-29T17:44:49.413" Score="2" Body="&lt;p&gt;In CMS-Only mode you have zero possibilities to achieve your requirements as you cannot use EXM module (which is specifically designed for these kind of scenarios) and missing xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend three approaches:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If client already has Dynamics 365 or MS CRM on prem, you can built easily integration with custom save action in WFFM and save contact or lead there. You can then do automation with workflows and sending emails there.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can built integration with mailchimp or similar service again as custom save action in WFFM&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create your own custom solution. For this you would also need SMTP server or use sendgrid or similar services&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-05-29T17:56:56.383" LastActivityDate="2018-05-29T17:56:56.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12027" PostTypeId="2" ParentId="11997" CreationDate="2018-05-29T20:08:24.187" Score="0" Body="&lt;p&gt;&lt;strong&gt;You cannot do this without breaking everything.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The concept of shared sites was introduced lately and most of the logic still rely on items under &lt;strong&gt;Presentation&lt;/strong&gt;. Few things from my head:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;current site theme,&lt;/li&gt;&#xA;&lt;li&gt;templates to design mapping,&lt;/li&gt;&#xA;&lt;li&gt;asset optimizer settings,&lt;/li&gt;&#xA;&lt;li&gt;cache settings,&lt;/li&gt;&#xA;&lt;li&gt;available renderings (toolbox).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;Alternative&lt;/h1&gt;&#xA;&lt;p&gt;I would recommend taking a different approach for that.&#xA;This is a hack, not a recommended/supported way of work.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create shared site - &lt;strong&gt;S&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create normal site - &lt;strong&gt;A&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Remove Presentation node under &lt;code&gt;A/Presentation&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Clone &lt;code&gt;S/Presentation&lt;/code&gt; to &lt;code&gt;A/Presentation&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open &lt;code&gt;A/Settings/Shared Sites Settings&lt;/code&gt; and add cloned &lt;code&gt;A/Presentation&lt;/code&gt; (from &lt;code&gt;S/Presentation&lt;/code&gt;). This step will help changes from clone sources to auto-populate under other sites.&lt;/li&gt;&#xA;&lt;li&gt;[Optionally] Mark &lt;code&gt;A/Presentation&lt;/code&gt; and all children as Protected/Hidden.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;That way you should be able to control every site that contains cloned Presentation node via changes in the shared site.&lt;/p&gt;&#xA;&lt;p&gt;You could potentially do the same with Settings but be careful. I tested only obvious cases and I am not sure where things can blow up ;)&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-05-29T20:08:24.187" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12028" PostTypeId="2" ParentId="12023" CreationDate="2018-05-29T20:36:04.193" Score="2" Body="&lt;p&gt;The issue does appear to have something to do with the fact that this field was using a depreciated type. The Type &quot;link&quot; appears to only allow editing by Admins. When I changed the type to &quot;General Link&quot;, authors were able to edit. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know what sort of side effects I may expect, but so far in my testing, everything has worked fine with the only side effect being the resolution of my problem. It appears switching from &quot;link&quot; type to &quot;General Link&quot; type is perfectly safe.&lt;/p&gt;&#xA;" OwnerUserId="3761" LastActivityDate="2018-05-29T20:36:04.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12029" PostTypeId="1" AcceptedAnswerId="12089" CreationDate="2018-05-29T20:37:11.360" Score="0" ViewCount="539" Body="&lt;p&gt;I am at the final step of upgrading a website from 8.2 to 9.0 i.e. migrating the analytics data from MongoDB to xConnect. I am using xDB data migration tool and following the guide provided by sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have analytics data in MongoDB and all the connection settings and configurations are properly configured (as per the upgrade guide). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the pipeline batches for migrating MongoDB data to xConnect, it runs fine. I can even see the migration operation in the verification database in SqlServer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the pipeline batch completes, I don't see any migrated data in the Sql Server in the corresponding database (i.e. the one which is supposed to hold analytics data). And, obviously in the Sitecore Experience Profile there is no data (a red label appears on top to indicate An error).&#xA;This is the screenshot of the log file: &lt;a href=&quot;https://i.stack.imgur.com/atRnZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://i.stack.imgur.com/atRnZ.png&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or suggestions would be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3632" LastActivityDate="2018-05-31T22:12:40.093" Title="migrating xDB data to xConnect [upgrading sitecore 8.2 to 9.0]" Tags="|xdb|upgrade|xconnect|experience-profile|migration|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12032" PostTypeId="2" ParentId="12019" CreationDate="2018-05-30T04:39:55.050" Score="1" Body="&lt;p&gt;&lt;strong&gt;Update 1&lt;/strong&gt;: example of an expression. One additional challenge there is that you need to get the type of the facet so that you can feed it into the GetContactPredicate call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private static Expression&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt; GetContactPredicate(Type facetType, string facetKey, string propertyName, object value)&#xA;    {&#xA;        var contact = Expression.Parameter(typeof(Contact));&#xA;        var facet = Expression.Call(contact, &quot;GetFacet&quot;, new [] {facetType}, Expression.Constant(facetKey));&#xA;        var valueInIndex = Expression.Property(facet,  propertyName);&#xA;        var valuesComparisson = Expression.LessThanOrEqual(valueInIndex, Expression.Constant(value));&#xA;        return Expression.Lambda&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt;(valuesComparisson, contact);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sample call with hardcoded values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    GetContactPredicate(typeof(MaturityMailDates), MaturityMailDates.DefaultFacetKey, &quot;ReminderEmailDate&quot;, DateTimeProvider.GetUtcNow());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;The problem is XConnect doesn’t support custom method calls in its linq query expressions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This prevents using any kind of special logic to get to those facet properties to be compared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do instead, is drop down to issuing the Expression directly so that it can still be a general solution without having the need to have the method calls within the Expression passed to XConnect.&lt;/p&gt;&#xA;" OwnerUserId="76" LastEditorUserId="76" LastEditDate="2018-06-05T23:48:27.617" LastActivityDate="2018-06-05T23:48:27.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12033" PostTypeId="1" AcceptedAnswerId="12035" CreationDate="2018-05-30T06:34:46.270" Score="2" ViewCount="169" Body="&lt;p&gt;What files from Commerce should be enabled/disabled on a Content Delivery server.&lt;br&gt;&#xA;I can see all files from folder : &lt;strong&gt;App_Config\Include\Y.Commerce.Engine&lt;/strong&gt; use a rule-based configuration like : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the file from \App_Config\Include\Z.Commerce.Engine\ doesn't contain rule based configuration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also the files from Include folder doesn't contain rules based configuration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Oq0Ch.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Oq0Ch.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-05-30T07:12:50.693" LastActivityDate="2018-05-30T07:53:22.240" Title="Commerce configuration files CD server" Tags="|configuration|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12034" PostTypeId="2" ParentId="11968" CreationDate="2018-05-30T06:41:09.077" Score="1" Body="&lt;p&gt;Your code doesn't work because &lt;code&gt;Layout Details&lt;/code&gt; iframe is in another iframe (&lt;code&gt;jqueryModalDialogsFrame&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try the code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WebDriver.FindElement(By.XPath(&quot;//a[@title='Content Editor']&quot;)).Click(); &#xA;WebDriver.FindElement(By.XPath(&quot;//*[contains(@id,'Nav_PresentationStrip')]&quot;)).Click(); &#xA;WebDriver.FindElement(By.XPath(&quot;//*[@title='View and edit the layout details for the selected item.']&quot;)).Click();&#xA;WebDriver.SwitchTo().Frame(WebDriver.FindElement(By.Id(&quot;jqueryModalDialogsFrame&quot;)));&#xA;WebDriver.SwitchTo().Frame(WebDriver.FindElement(By.Id(&quot;scContentIframeId0&quot;)));&#xA;WebDriver.FindElement(By.Id(&quot;Tabs_tab_1&quot;)).Click();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-05-30T06:41:09.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12035" PostTypeId="2" ParentId="12033" CreationDate="2018-05-30T07:53:22.240" Score="1" Body="&lt;p&gt;I think in the next future release Sitecore Team will update all configs with rule-based configuration (if it necessary of course).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore provides installation only for standalone on-premise configuration and no any documentation how you can configure Sitecore Commerce 9 for CD environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From my point of view, you should try to use the same commerce configs on CD environment, but if you will have any issues there - you need to contact Sitecore Support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All these configs contains some configuration for DI and pipelines. Feeling that all of them are also required for CD environment&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-05-30T07:53:22.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12036" PostTypeId="1" CreationDate="2018-05-30T08:26:43.730" Score="2" ViewCount="384" Body="&lt;p&gt;I've setup FXM between main site and subdomain sitecore sites hosted on it's own instance. And setup the personalized banner on main site based on goal triggered on fxm sub-domain site. The rule I used is xx goal triggered on current visit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The goal needs to be triggered from FXM site on button click. My network tab shows successful 204 status code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the banner doesn't get personalized on main site when I visit the main site on same browser. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to troubleshoot whether goal has been triggered by querying mongoDB but am not able to make decision on which collection and query to use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion would be good.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="316" LastEditDate="2018-05-30T10:34:13.033" LastActivityDate="2018-05-30T10:34:13.033" Title="How to check whether goal has been triggered in mongoDB collection" Tags="|fxm|goals|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12037" PostTypeId="1" AcceptedAnswerId="12046" CreationDate="2018-05-30T08:33:01.227" Score="2" ViewCount="5172" Body="&lt;p&gt;We have a remote instance &lt;code&gt;http://dev-instance/sitecore/login&lt;/code&gt;.&lt;br&gt;&#xA;I have followed all the steps in this &lt;a href=&quot;http://www.coreblimeysitecore.com/blog/token-based-authentication-with-sitecore-services-client/&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; &#xA;and got the token in postman for &lt;code&gt;https://dev-instance/sitecore/api/ssc/auth/login&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when trying to get an item's info using, &lt;code&gt;https://dev-instance/sitecore/api/ssc/item/{item-id}&lt;/code&gt;, it gives no result and shows 403 forbidden.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to browse the same URL (logged into CMS in another tab), it says:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Access to dev.instance was denied&lt;br&gt;&#xA;  You don't have authorization to view this page.&lt;br&gt;&#xA;  HTTP ERROR 403&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sitecore\servicesAPI&lt;/code&gt; user has read access to that item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I browse the URL in the remote system which has the instance, it returns the JSON data.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some more configuration that needs to be done. or should the secret key used in connection string be of any specific format?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 update 5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-05-30T10:01:35.360" LastActivityDate="2018-05-30T10:58:27.773" Title="Sitecore services client 403 Forbidden" Tags="|sitecore-services-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12038" PostTypeId="1" AcceptedAnswerId="12049" CreationDate="2018-05-30T09:05:54.987" Score="3" ViewCount="84" Body="&lt;p&gt;In reference to this document: &lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/content-management/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure a content management (CM) server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently we have a 2 server CM setup, and both of them are configured as processing/reporting server roles. This is Sitecore 8.2. I don't know if this is even a supported setup for 8, but it's just to provide background.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are currently planning out infrastructure for Sitecore 9 and took a look at what this should look like. Scaling out horisontally doesn't seem to be a problem, however at the end of the document it states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you have multiple CM servers, you must set up a dedicated Reporting Service instance.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This sounds, to me, like&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It cannot be on either of the CM servers&lt;/li&gt;&#xA;&lt;li&gt;There can be only 1 dedicated Reporting Service instance&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is this correct?   Or will it be possible to assign the Reporting Service instance to one (or both) of the CM instances?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-05-30T11:19:19.440" Title="Can I have multiple Reporting Service Instances?" Tags="|scaling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12039" PostTypeId="2" ParentId="12036" CreationDate="2018-05-30T09:22:26.430" Score="4" Body="&lt;p&gt;If you just want to validate if the page event was saved, you can run a MongoDB query against &lt;code&gt;Interactions&lt;/code&gt; collection:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Interactions.find({&quot;$and&quot;: [&#xA;    {&quot;Pages&quot;:{&quot;$elemMatch&quot;:&#xA;        {&quot;PageEvents&quot;: {&quot;$elemMatch&quot;:&#xA;            {&quot;Name&quot;: &quot;Your Goal Name&quot;}}}}},&#xA;    {&quot;SiteName&quot;: &quot;fxm&quot;}]&#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="842" LastActivityDate="2018-05-30T09:22:26.430" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12040" PostTypeId="2" ParentId="12012" CreationDate="2018-05-30T10:03:09.143" Score="2" Body="&lt;p&gt;You can use the default Sitecore Publishing Agent. It is found in the &lt;code&gt;Sitecore.config&lt;/code&gt;. You can search for it by using &lt;code&gt;Sitecore.Tasks.PublishAgent&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to configure the source and target database (default: master and web). I had asked the same question to Sitecore Support and their response was that the methods from the Sitecore.Publishing.PublishManager class to perform new publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishManager.PublishSmart(database, targets, languageArray);&#xA;PublishManager.PublishIncremental(database, targets, languageArray); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.2 Update -2 default PublishAgent works fine and calls the new Publish Module.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-05-30T10:03:09.143" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12041" PostTypeId="2" ParentId="12036" CreationDate="2018-05-30T10:18:43.477" Score="2" Body="&lt;p&gt;You can use &lt;a href=&quot;https://robomongo.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Robo 3T&lt;/a&gt; tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next example shows how to find &lt;strong&gt;&lt;em&gt;goal by name&lt;/em&gt;&lt;/strong&gt; in &lt;strong&gt;&lt;em&gt;Interactions&lt;/em&gt;&lt;/strong&gt; collection.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.getCollection('Interactions').find({Pages : {$elemMatch: {PageEvents:{$elemMatch:{Name:'FXMDemoGoal'}}}}})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-05-30T10:23:48.203" LastActivityDate="2018-05-30T10:23:48.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12042" PostTypeId="2" ParentId="1411" CreationDate="2018-05-30T10:22:07.177" Score="0" Body="&lt;p&gt;Generally we do it when we have two databases -publish and preview&#xA;Commonly there are two scenarios where multiple publish targets are useful:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;when project is in continuous development phase, we go live in every sprint. &#xA;In such cases, authors can preview the site using one database where we publish our content. This is also useful when we go for localization.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When we want authors to validate content before going live, preview database will be useful and later while going live everything can be pushed to Publish Database.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;so keeping multiple targets is useful in higher environments and mostly when we deal with multilingual sites.&lt;/p&gt;&#xA;" OwnerUserId="3126" LastActivityDate="2018-05-30T10:22:07.177" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12043" PostTypeId="2" ParentId="11399" CreationDate="2018-05-30T10:32:38.900" Score="2" Body="&lt;p&gt;When you install your solution with SIF, Sitecore will create user account to connect to the databases. My guess: there accounts don't have suffisiant permissions to generate dacpac's.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what you could try is: swap over to the sa account in your connectionstrings for the sake of packaging your solution (or change the permissions of all created users by SIF)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="3765" LastActivityDate="2018-05-30T10:32:38.900" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12044" PostTypeId="1" AcceptedAnswerId="12079" CreationDate="2018-05-30T10:32:43.007" Score="3" ViewCount="894" Body="&lt;p&gt;Does anyone know if after rebuilding the Sitecore XDB Database will Sitecore continue to update the reporting and reporting.secondary databases?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or after perform in the rebuild will Sitecore only update the reporting database and we will have to quickly change the connection strings to point at the secondary database? If this is the case will we lose data in the secondary database because of the interval between the rebuild completing and the connection strings being changed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Documentation for rebuilding is here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2018-05-31T14:52:34.780" Title="Sitecore XDB Reporting Database Rebuild" Tags="|xdb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12045" PostTypeId="1" CreationDate="2018-05-30T10:38:05.470" Score="1" ViewCount="158" Body="&lt;p&gt;I have viewed the results of the API that get the facet data and it returns the below :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{  &#xA;   &quot;TotalTime&quot;:20,&#xA;   &quot;QueryTime&quot;:18,&#xA;   &quot;Signature&quot;:null,&#xA;   &quot;Index&quot;:&quot;sitecore_master_index&quot;,&#xA;   &quot;Facets&quot;:[  &#xA;      {  &#xA;         &quot;Key&quot;:&quot;facet&quot;,&#xA;         &quot;Name&quot;:&quot;facet&quot;,&#xA;         &quot;Values&quot;:[  &#xA;            {  &#xA;               &quot;Name&quot;:&quot;result4&quot;,&#xA;               &quot;Count&quot;:1&#xA;            },&#xA;            {  &#xA;               &quot;Name&quot;:&quot;August 2017&quot;,&#xA;               &quot;Count&quot;:1&#xA;            },&#xA;            {  &#xA;               &quot;Name&quot;:&quot;result1&quot;,&#xA;               &quot;Count&quot;:1&#xA;            },&#xA;            {  &#xA;               &quot;Name&quot;:&quot;result2&quot;,&#xA;               &quot;Count&quot;:2&#xA;            },&#xA;            {  &#xA;               &quot;Name&quot;:&quot;result3&quot;,&#xA;               &quot;Count&quot;:1&#xA;            }&#xA;         ]&#xA;      }&#xA;   ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;can I extend the API to return an additional field other than Name and count?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="851" LastEditDate="2018-05-30T11:14:32.317" LastActivityDate="2018-12-26T15:01:40.350" Title="SXA facet returned attributes in API call" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12046" PostTypeId="2" ParentId="12037" CreationDate="2018-05-30T10:45:41.257" Score="5" Body="&lt;p&gt;Below are different security policies for the Sitecore services. These were mentioned in &quot;Sitecore.Services.Client.config&quot;. In order to make your services accessible remotely we would need to set Option #3 mentioned below. Option #2 is the default one.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOffPolicy:&lt;/strong&gt;&#xA;Policy denies access to all Entity and Item Services.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore.Services.Infrastructure.Web.Http.Security.ServicesLocalOnlyPolicy:&lt;/strong&gt;&#xA;Policy denies access to all Entity and Item Services from requests&#xA;originating from remote clients.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy:&lt;/strong&gt;&#xA;Policy allows access to all Entity and Item Services&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;    &#xA;        &#xA;    &#xA;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More details can be found &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6552/getting-item-from-the-sitecore-item-service-api-not-working-remotely-403-forbid?utm_medium=organic&amp;amp;utm_source=google_rich_qa&amp;amp;utm_campaign=google_rich_qa&quot;&gt;here&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1289" LastEditorUserId="1233" LastEditDate="2018-05-30T10:58:27.773" LastActivityDate="2018-05-30T10:58:27.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12047" PostTypeId="1" AcceptedAnswerId="12249" CreationDate="2018-05-30T10:52:10.357" Score="1" ViewCount="1201" Body="&lt;p&gt;I'm facing an issue where when I'm in the content editor clicking on some already uploaded images in the media library, then I get a popup with an error in it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when I go to the event viewer to see the logged error I get the following.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Event code: 3005 &#xA;Event message: An unhandled exception has occurred. &#xA;Event time: 5/30/2018 12:10:33 PM &#xA;Event time (UTC): 5/30/2018 10:10:33 AM &#xA;Event ID: d503e129f07a4dbcaf238572566c50ed &#xA;Event sequence: 8294 &#xA;Event occurrence: 3 &#xA;Event detail code: 0 &#xA;&#xA;Application information: &#xA;    Application domain: /LM/W3SVC/2/ROOT-1-131721459236746399 &#xA;    Trust level: Full &#xA;    Application Virtual Path: / &#xA;    Application Path: D:\wwwroot\1.0.0.1545\ &#xA;    Machine name: CM01 &#xA;&#xA;Process information: &#xA;    Process ID: 752 &#xA;    Process name: w3wp.exe &#xA;    Account name: NT AUTHORITY\NETWORK SERVICE &#xA;&#xA;Exception information: &#xA;    Exception type: TargetInvocationException &#xA;    Exception message: Exception has been thrown by the target of an invocation.&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e)&#xA;   at System.Web.UI.Control.PreRenderRecursiveInternal()&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&#xA;Failed to map the path '/temp/_disabled.'.&#xA;   at System.Web.Configuration.ProcessHostMapPath.MapPathCaching(String siteID, VirtualPath path)&#xA;   at System.Web.Configuration.ProcessHostMapPath.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath path)&#xA;   at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull)&#xA;   at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping)&#xA;   at System.Web.HttpServerUtility.MapPath(String path)&#xA;   at Sitecore.Resources.Themes.GetFilename(String source, String size, String overlay, Boolean disabled)&#xA;   at Sitecore.Resources.Themes.Transform(String source, String overlay, Boolean disabled)&#xA;   at Sitecore.Resources.Themes.MapTheme(String sourcePath, String overlay, Boolean disabled)&#xA;   at Sitecore.Resources.ImageBuilder.ToString()&#xA;   at Sitecore.Shell.Web.UI.WebControls.SmallGalleryButton.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderSmallButton(HtmlTextWriter output, Control smallButton)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderSmallGalleryButton(HtmlTextWriter output, Item button, CommandContext commandContext)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter output, Item button, CommandContext commandContext)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual, String id)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunks(HtmlTextWriter output, Item strip, CommandContext commandContext, Boolean isContextual)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item ribbon, Boolean isContextual, ListString visibleStripList)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item defaultRibbon, Item contextualRibbon, ListString visibleStripList)&#xA;   at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at Sitecore.Web.HtmlUtil.RenderControl(Control ctl)&#xA;   at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateRibbon(Item folder, Boolean isCurrentItemChanged, Boolean showEditor)&#xA;   at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update()&#xA;   at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e)&#xA;&#xA;&#xA;Thread information: &#xA;    Thread ID: 89 &#xA;    Thread account name: NT AUTHORITY\NETWORK SERVICE &#xA;    Is impersonating: False &#xA;    Stack trace:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e)&#xA;   at System.Web.UI.Control.PreRenderRecursiveInternal()&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's not on all images and the person that has uploaded the images can click on them without getting the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The version is: Sitecore.NET 8.2 (rev. 171121)&lt;/p&gt;&#xA;" OwnerUserId="3766" LastEditorUserId="3766" LastEditDate="2018-06-07T07:09:58.687" LastActivityDate="2019-11-07T20:47:53.100" Title="Error when selecting an image in Media library" Tags="|content-editor|media-library|" AnswerCount="2" CommentCount="5" ClosedDate="2019-11-07T20:48:06.760" ContentLicense="CC BY-SA 4.0" />
  <row Id="12048" PostTypeId="1" AcceptedAnswerId="12069" CreationDate="2018-05-30T11:04:33.037" Score="6" ViewCount="970" Body="&lt;p&gt;Is there any information on whether or not keyword highlighting is supported in Sitecore 9.0.1 using Azure Search? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is an available feature in Solr as discussed here:  &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/using_solr_to_highlight_search_results&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/using_solr_to_highlight_search_results&lt;/a&gt; but is not mentioned in the 'Limitations of Azure Search'  section here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/sitecore_azure_search_overview#_Limitations_of_Azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/sitecore_azure_search_overview#_Limitations_of_Azure&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it is not available as part of Sitecore's Azure Search implementation, has anyone got any experience extending it to support this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many thanks&lt;/p&gt;&#xA;" OwnerUserId="1298" LastEditorUserId="2056" LastEditDate="2018-05-31T08:14:35.873" LastActivityDate="2019-06-24T15:44:28.477" Title="Search Keyword Highlighting with Azure Search" Tags="|azure-search|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12049" PostTypeId="2" ParentId="12038" CreationDate="2018-05-30T11:19:19.440" Score="2" Body="&lt;p&gt;Yes, my understanding is that you cannot horizontally scale the reporting service. If you plan on running multiple CMs, you need a single dedicated Reporting Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a sample architecture diagram of the &lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-horizontally/index.html#multiple-content-management-instances&quot; rel=&quot;nofollow noreferrer&quot;&gt;multiple CM scenario available&lt;/a&gt; in the scaling guide. It also shows a single reporting instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, when discussing 'multiple' instances, Reporting is left out of the &lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-horizontally/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;scaling guide&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-05-30T11:19:19.440" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12050" PostTypeId="2" ParentId="12045" CreationDate="2018-05-30T11:21:45.903" Score="1" Body="&lt;p&gt;No, there is no simple way to achieve that. You would need to modify &lt;code&gt;SearchController&lt;/code&gt; and few more classes to achieve that. Believe me - you don't want to go that way. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really want your custom solution/custom structure of response I would suggest implementing new service for this. Take a look at &lt;code&gt;GetFacets()&lt;/code&gt; method in &lt;code&gt;SearchController&lt;/code&gt; and &lt;code&gt;FacetSet&lt;/code&gt; class.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-05-30T11:21:45.903" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12051" PostTypeId="1" AcceptedAnswerId="12070" CreationDate="2018-05-30T11:32:25.060" Score="1" ViewCount="391" Body="&lt;p&gt;I have a template representing some rendering parameters. One of the fields on this template is a &quot;general link&quot; field which is supposed to link to an item in the Sitecore tree. I use the Synthesis object mapper framework.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that although I set a value in this field on my presentation details, the referenced item is null in my controller.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BrandController : Controller&#xA;{&#xA;    public ActionResult Index()&#xA;    {&#xA;        // IBrandParametersItem is my template&#xA;        var renderingParameters = RenderingContext.CurrentOrNull.Rendering.Parameters.As&amp;lt;IBrandParametersItem&amp;gt;();&#xA;&#xA;        // BrandFolder is the general link field.&#xA;        // The BrandFolder property is of type IPathItemReferenceField&#xA;        // The brandFolder variable becomes null(!) although the field contains a link in the rendering parameters.&#xA;        var brandFolder = renderingParameters.BrandFolder.Target.As&amp;lt;IBrandFolderItem&amp;gt;();&#xA;&#xA;        var brands = brandFolder.Children.Select(brand =&amp;gt; brand.As&amp;lt;IBrandItem&amp;gt;()).ToList() ?? new List&amp;lt;IBrandItem&amp;gt;();&#xA;&#xA;        return View(new BrandViewModel&#xA;        {&#xA;            Brands = brands&#xA;        });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Looking at the Synthesis code, I have learned that BrandFolder.Target uses the path set in BrandFolder.TargetPath to resolve the item. When I debug, I can see that BrandFolder.TargetPath is set to something like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link text=\&quot;\&quot; anchor=\&quot;\&quot; linktype=\&quot;internal\&quot; class=\&quot;\&quot; title=\&quot;\&quot; target=\&quot;\&quot;&#xA;querystring=\&quot;\&quot; id=\&quot;{F9E446BB-1EF5-4B9D-A99E-446DF05CB208}\&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So although it seems like the field value is correct(?), BrandFolder.Target still resolves to null. Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="2247" LastEditorUserId="73" LastEditDate="2018-05-30T12:56:04.270" LastActivityDate="2018-05-31T10:32:40.807" Title="PathItemReferenceField resolves to null although link to an item has been set" Tags="|synthesis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12054" PostTypeId="1" AcceptedAnswerId="12061" CreationDate="2018-05-30T19:35:49.760" Score="1" ViewCount="1824" Body="&lt;p&gt;I'd like to debug a Sitecore Helix Feature using Visual Studio 2017.&#xA;Is it possible or just the Website Project?&lt;/p&gt;&#xA;" OwnerUserId="2951" LastEditorUserId="73" LastEditDate="2018-05-31T07:09:32.250" LastActivityDate="2020-07-23T07:11:47.433" Title="How to debug Sitecore Helix Feature using Visual Studio 2017?" Tags="|habitat|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12055" PostTypeId="2" ParentId="12054" CreationDate="2018-05-30T19:39:01.080" Score="2" Body="&lt;p&gt;Its perfectly possible. You just need to attach Visual Studio to your &lt;code&gt;w3wp.exe&lt;/code&gt; process.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In Visual Studio, select &lt;strong&gt;Debug / Attach to Process&lt;/strong&gt; (or press CTRL+ALT+P).&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Attach to Process&lt;/strong&gt; dialog box, find the program that you want to attach to from the &lt;strong&gt;Available Processes&lt;/strong&gt; list. For this it will be one of the &lt;code&gt;w3wp.exe&lt;/code&gt; processes:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hezFl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hezFl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to select the &lt;code&gt;Show processes from all users&lt;/code&gt; check box.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Attach to&lt;/strong&gt; box, click &lt;strong&gt;Select&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In the Select Code Type dialog box, click Debug these code types and select the types to debug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click OK.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click Attach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ref: &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/3s68z0b3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/3s68z0b3.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2018-05-30T19:44:28.450" LastActivityDate="2018-05-30T19:44:28.450" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12056" PostTypeId="1" AcceptedAnswerId="12065" CreationDate="2018-05-30T20:32:50.530" Score="6" ViewCount="1066" Body="&lt;p&gt;We are trying to install &lt;code&gt;Sitecore 9.0.1 rev 171219 (XP0)&lt;/code&gt; on-premise. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything goes fine until it tries to create &lt;code&gt;Sitecore.Messaging&lt;/code&gt; Database. As the installation have already created MarketingAutomation, Processing.Pools and ReferenceData Databases successfully in SQL server. But when it is creating Sitecore.Messaging Database, throwing below exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Info: Opening SQL Connection with connection string 'data source=mysqlserver;initial catalog=Sitecore.Messaging;user id=sitecoresvc;pooling=False'. The 'transacted' setting for this connection is 'False'.&#xA;Error Code: ERROR_SQL_EXECUTION_FAILURE&#xA;More Information: An error occurred during execution of the database script. The error occurred between the following lines of the script: &quot;9&quot; and &quot;12&quot;. The verbose log might have more information about the error. The command started with the following:&#xA;&quot;CREATE USER [messaginguser] WITH PASSWORD = '123&quot;&#xA; Password validation failed. The password does not meet Windows policy requirements because it is too short. &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Looks like while creating this Database it is not respecting the password provided in ps1 file parameter but picking the default one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated!!!&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-11-06T20:55:49.060" Title="SIF Installation throwing Password Validation Failed exception" Tags="|sitecore-install-framework|powershell|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12059" PostTypeId="1" AcceptedAnswerId="12659" CreationDate="2018-05-31T04:57:42.793" Score="0" ViewCount="1342" Body="&lt;p&gt;Our website does not create &lt;code&gt;&quot;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt;&quot; cookie&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked into showconfig and can see&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureDevice, Sitecore.Analytics&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have the VisitorIdentification tag in our layout and Tracking is enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see the anonymous contacts and intercations created in the mongo db and Reporting database. It's just that we don't have cookie and all of them are recording as a separate entry in the database even if the request is coming from the same device and same browser&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I turned below setting to true and I can see all the anonymous contacts listed in the ExperienceProfile&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;setting name=&quot;ContentSearch.Analytics.IndexAnonymousContacts&quot; value=&quot;true&quot;/&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can someone please suggest what else could be the reason?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.2 update 4. I can also see the cookie is present on my dev site. Thanks&lt;/p&gt;&#xA;" OwnerUserId="2880" LastEditorUserId="2880" LastEditDate="2018-05-31T22:42:41.073" LastActivityDate="2019-04-02T17:26:23.383" Title="Our website does not create &quot;SC_ANALYTICS_GLOBAL_COOKIE&quot; cookie" Tags="|experience-analytics|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12060" PostTypeId="2" ParentId="12056" CreationDate="2018-05-31T05:07:14.537" Score="1" Body="&lt;p&gt;You have to set you password of sql database of your used as per alphanumeric password policy. Your password should be like &quot;password@123&quot; which is a strong type password. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;just edit your user in sql , change the password and retry installing SIF again.&#xA;also make sure you use SQL 2016 SP1 and above for sitecore 9.&lt;/p&gt;&#xA;" OwnerUserId="3126" LastActivityDate="2018-05-31T05:07:14.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12061" PostTypeId="2" ParentId="12054" CreationDate="2018-05-31T05:13:57.363" Score="0" Body="&lt;p&gt;Agree with Richard's Answer. Just keep few points in notice while debugging:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Attach you process to correct managed pool &#xA;&lt;a href=&quot;https://i.stack.imgur.com/CItEX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CItEX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Publish your dll's to your instance so that your breakpoints should load properly. Keep your profile in &quot;Debug&quot; mode and not in &quot;Release&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Your feature and foundation must be published properly to your instance.&lt;/li&gt;&#xA;&lt;li&gt;Your controller rendering has correct details of your controller and action method and dll.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3126" LastActivityDate="2018-05-31T05:13:57.363" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12063" PostTypeId="1" CreationDate="2018-05-31T06:24:47.427" Score="0" ViewCount="219" Body="&lt;p&gt;Background: Automating Sitecore Content Editor.&#xA;Tools Used:SpecFlow,Selenium C#&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue:Unable to send the Selenium WebDriver instance between SpecFlow Scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Eg:&#xA;Helper Class - Creates the instance of Webdriver for every scenario.&#xA;UtlilityClass - Utility Class inherits from Helper Class .Has Login Scenario which is used by other scenarios in different feature files.&#xA;Multicolumn Class - Contains scenario -  Runs Login functionality from Utility Class and does further steps .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;******************CODE*******************************&#xA;****Helper Class has only WebDriver and creation of Browser instance ****&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Helper Class&#xA;{&#xA;protected WebDriverHelper WebDriver { get; private set; }&#xA;[BeforeScenario]&#xA;public void BeforeScenario(){WebDriver = WebDriverHelper.Create(&quot;SiteCoreAdminPage&quot;);}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[AfterScenario]&#xA; public void AfterScenario(){WebDriver.Dispose(); }&#xA; }&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UtilityFeature-&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario:Login Functionality&#xA;Given Login&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UtilityDefinitionFile&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Utility Class has all the common functions to be utilised across scenarios.&#xA;UtilityClass:Helper Class&#xA;{&#xA;public void Login()&#xA;{&#xA;/&lt;em&gt;Perform all activities to log in&lt;/em&gt;/&#xA;}&#xA;}       &lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Multicolumn Feature File-&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario:&#xA;Given Login&#xA;Then CreateMulticolumnPage&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Multicolumn Definition File-&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Multicolumn:HelperClass&#xA;{&#xA;public void CreateMulticolumnPage()&#xA;{&#xA; /*When code reaches this point , another instance of Webdriver is created.I don't want the instance to be created but instead continue the actions in already existing instance of webdriver.&#xA;}&#xA;}&#xA;****************CODE ENDS********************&lt;/p&gt;&#xA;" OwnerUserId="3744" LastEditorUserId="3744" LastEditDate="2018-06-01T06:31:04.397" LastActivityDate="2018-08-30T08:00:32.010" Title="Unable to send WebDriver instance between scenarios residing in different feature files(SpecFlow)" Tags="|automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12064" PostTypeId="1" AcceptedAnswerId="12073" CreationDate="2018-05-31T07:22:29.193" Score="5" ViewCount="3834" Body="&lt;p&gt;As per blogs and best practices of Sitecore, its advised that fast queries should be avoided. The reason for that is fast queries will directly access the DB and fetch the results which causes overhead in performance if too many requests comes, mainly in production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normal Sitecore queries will take from indexes and have cache mechanism implemented. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;So if I fast query an item with 100 children will all those come in&#xA;to memory without paging or caching?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If normal queries are fetching from indexes where these indexes are stored and what indexing strategy they are following?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1468" LastEditorUserId="605" LastEditDate="2018-05-31T11:31:11.490" LastActivityDate="2018-05-31T18:17:19.127" Title="Why we should not use fast queries in Sitecore" Tags="|sitecore-query|index|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12065" PostTypeId="2" ParentId="12056" CreationDate="2018-05-31T07:22:52.540" Score="3" Body="&lt;p&gt;Your database is complaining that the password you specified for the messaging user (&lt;code&gt;SqlMessagingPassword&lt;/code&gt; parameter) is too &quot;simple&quot;. SQL will enforce you to use stronger passwords for your users. Just set the password in that parameter in the json file to something better. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the other passwords in the json file as well before retrying (and do a cleanup first).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-05-31T07:22:52.540" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12066" PostTypeId="1" AcceptedAnswerId="12074" CreationDate="2018-05-31T07:24:40.547" Score="2" ViewCount="345" Body="&lt;p&gt;I have been recently started working with Sitecore and Sitecore PowerShell Extensions, but have been struggling for a while. On my local clean instance of Sitecore, I have installed the SPE package that will allow me to use PowerShell within Sitecore. When I log in to the Experience platform and choose PowerShell ISE from the menu, I can for example run the following script:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Get-User -id admin&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and successfully get the result out of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the official &lt;a href=&quot;https://github.com/SitecorePowerShell/Console&quot; rel=&quot;nofollow noreferrer&quot;&gt;Github repository&lt;/a&gt; of SPE I have downloaded the latest release (&lt;em&gt;currently it is 4.7&lt;/em&gt;). Then, I have created the following PowerShell script (&lt;em&gt;locally, in Windows PowerShell ISE, not in Sitecore&lt;/em&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[CmdletBinding()]&#xA;param ()&#xA;begin {&#xA;    [System.String] $SitecoreExtensionsModule = $null&#xA;&#xA;    # Initialize command and script root paths.&#xA;    if (-not $PSCommandPath) { $SCRIPT:PSCommandPath = $SCRIPT:MyInvocation.MyCommand.Path }&#xA;    if (-not $PSScriptRoot) { $SCRIPT:PSScriptRoot = Split-Path -Path $PSCommandPath -Parent }&#xA;&#xA;    $SCRIPT:PSCommandName = Split-Path -Path $PSCommandPath -Leaf&#xA;&#xA;    # Initialize the Sitecore PowerShell Extensions module.&#xA;    if (([System.String]::IsNullOrEmpty($SitecoreExtensionsModule)) -or &#xA;        (-not (Test-Path -Path $SitecoreExtensionsModule -PathType Leaf))) {&#xA;        $SitecoreExtensionsModule = Join-Path -Path $PSScriptRoot -ChildPath '.\SPE'&#xA;    }&#xA;&#xA;    Import-Module -Name $SitecoreExtensionsModule -DisableNameChecking -Force -Verbose:$false -ErrorAction Stop&#xA;}&#xA;process {   &#xA;    # Documentation example from SPE.&#xA;    $session = New-ScriptSession -Username admin -Password b -ConnectionUri http://sitecoretest:8080 -Timeout ([int]::MaxValue)&#xA;    $session&#xA;&#xA;    Invoke-RemoteScript -Session $session -ScriptBlock { Get-User -id admin } -Verbose&#xA;    Stop-ScriptSession -Session $session&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I run this script, it gives me the following errors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set accessor for property &quot;Proxy&quot; is unavailable.&#xA;At U:\PowerShell scripts\SPE\Invoke-RemoteScript.ps1:250 char:17&#xA;+ ...             $singleConnection.Proxy = New-WebServiceProxy @proxyProps ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [], SetValueException&#xA;    + FullyQualifiedErrorId : SetWithoutSetterFromScriptProperty&#xA;&#xA;Set accessor for property &quot;Proxy&quot; is unavailable.&#xA;At U:\PowerShell scripts\SPE\Stop-ScriptSession.ps1:102 char:13&#xA;+             $singleConnection.Proxy = New-WebServiceProxy @proxyProps&#xA;+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [], SetValueException&#xA;    + FullyQualifiedErrorId : SetWithoutSetterFromScriptProperty&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Invoke-RemoteScript.ps1&lt;/code&gt; and &lt;code&gt;Stop-ScriptSession.ps1&lt;/code&gt; are part of the SPE source code, thus I have no idea why is this error happening. I have been searching over the StackExchange network and also within the issues in the Github repository of the project. Have not found a single thread where someone is asking about such issue, thus I have no idea how to proceed. I have also downloaded previous versions of SPE, like 4.0 and 3.3, but the same error pops up again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or advise on this is much appreciated. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3767" LastActivityDate="2018-05-31T20:38:44.210" Title="Set accessor for property &quot;Proxy&quot; unavailable - Sitecore PowerShell Extensions" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12067" PostTypeId="2" ParentId="12063" CreationDate="2018-05-31T07:39:47.900" Score="1" Body="&lt;p&gt;SpecFlow will generate tests for each of your scenario.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Test]&#xA;public void A()&#xA;{&#xA;     // runs Scenario A&#xA;}&#xA;&#xA;[Test]&#xA;pubic void B()&#xA;{&#xA;    // runs Scenario B&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Tests will be executed by test runner (VS Test Explorer, Resharper, TestDriven.NET, etc.). There is no strict order how this tests will be executed. Test B can be executed separately, can be executed sententiously with A. You can not guarantee that order will be always A=&gt;B. That is why it is not good idea to continue running B after A.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do: move common part test A and B to separate method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IWebDriver WebDriver;&#xA;&#xA;[Test]&#xA;public void A()&#xA;{&#xA;     CommonPart();&#xA;     // runs Scenario A&#xA;}&#xA;&#xA;[Test]&#xA;pubic void B()&#xA;{&#xA;    CommonPart();&#xA;    // runs Scenario B&#xA;}&#xA;&#xA;private void CommonPart()&#xA;{&#xA;    WebDriver = WebDriverHelper.Create(&quot;SiteCoreAdminPage&quot;);&#xA;    //login&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-05-31T07:39:47.900" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12068" PostTypeId="2" ParentId="12064" CreationDate="2018-05-31T08:11:11.087" Score="3" Body="&lt;p&gt;When using Sitecore Fast Query, the result will not be cached. Sitecore has different layer of caching&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CmkJM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CmkJM.png&quot; alt=&quot;http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;So if I fast query an item with 100 children will all those come in to&#xA;  memory without paging or caching?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you use fast query, it will bypass all those levels of cache and hit the database directly because Sitecore Fast Query converts all the query conditions into SQL statements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fast query is &lt;em&gt;faster&lt;/em&gt; on the first call than Sitecore query. But the next time, it will be slower than Sitecore query because it will need to hit the database again while Sitecore query will hit the cache.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If normal queries are fetching from indexes where these indexes are&#xA;  stored and what indexing strategy they are following?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Indexes are different from cache. Sitecore has 2 types of index provider: Lucene and Solr. When you query the indexes, it will not query the database but instead the lucene file indexes which are stored on the server or the Solr cores from the solr server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The index strategies differ for each database and requirements. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Master Indexes Strategy&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tend to use the &lt;code&gt;SyncMaster&lt;/code&gt; strategy because when content author performs changes on the Content Editor, the master index will get updated once the item is saved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Web Indexes Strategy&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For web indexes, normally, we tend to use &lt;code&gt;onPublishEndAsync&lt;/code&gt;. This stratgey will trigger the rebuild of indexes once a publish has completed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://learnsitecore.cmsuniverse.net/Developers/Articles/2009/07/CachingOverview.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Caching Overview&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://hishaamn.wordpress.com/2016/05/07/sitecore-cache/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Cache&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-05-31T18:17:19.127" LastActivityDate="2018-05-31T18:17:19.127" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12069" PostTypeId="2" ParentId="12048" CreationDate="2018-05-31T08:13:48.013" Score="1" Body="&lt;p&gt;I believe that keyword highlighting functionality is not supported by Azure Search provider used in your version of Sitecore. Maybe future versions will support that. Best would be to ask Sitecore Support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be doable according &lt;a href=&quot;http://techaspect.com/blog/everything-need-know-sitecore-azure-search&quot; rel=&quot;nofollow noreferrer&quot;&gt;to small note in this article&lt;/a&gt; but it's not implemented.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also Azure SDK and &lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.search.models.searchparameters?view=azure-dotnet&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Search Properties&lt;/a&gt; with it's HighlightFields, HighlightPostTag and HighlightPreTag properties and &lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.search.models.searchresult?view=azure-dotnet&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Search Result Model&lt;/a&gt; supports Highlights property similarly to Sitecore Solr implementation that you mentioned in your question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately in Sitecore implementation of Azure Search, I couldn't find any Highlights property implementation and therefore I believe this is for now not implemented:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W6gJC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W6gJC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore is not using any Azure SDK to do the search (in oppose to SolrNet library used for Solr). They have built their own implementation using HTTP calls so using Azure Search REST API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Custom development of a new search provider using either &lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/api/overview/azure/search?view=azure-dotnet&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure SDK&lt;/a&gt; or &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/search-documents&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure REST API&lt;/a&gt;. This would be time consuming&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Creating your own SearchResultsDeserializer class where you would have also Highlighting implemented:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rH21o.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rH21o.png&quot; alt=&quot;enter code here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is that you cannot just substitute OOTB class with your custom as there is no config entry for it. You would need to change lot's of other classes which are marked as internal. Tough solution to implement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) You have another option to contact Sitecore Support and ask them whether this is planned in roadmap or ask them to add this feature to feature request list for dev team. Therefore in this case you &quot;just&quot; have to wait for a next version or following one (if you don't have time constrains ;-) and Sitecore will add this functionality itself. I will give +1 to have this feature implemented.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-30T18:41:07.700" LastActivityDate="2018-06-30T18:41:07.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12070" PostTypeId="2" ParentId="12051" CreationDate="2018-05-31T10:32:40.807" Score="1" Body="&lt;p&gt;It turned out that &lt;code&gt;PathItemReferenceField&lt;/code&gt; was not the correct type for my general link field. The field had previously been of another type (internal link, I believe) and because of an incomplete Unicorn-sync the change to general link had not propagated to my Synthesis model in the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I did a proper sync, the type of the field changed to &lt;code&gt;HyperlinkField&lt;/code&gt;. This type &quot;contains&quot; the referred item in the &lt;code&gt;TargetItem&lt;/code&gt; property, as opposed to the &lt;code&gt;Target&lt;/code&gt; property on PathItemReferenceField.&lt;/p&gt;&#xA;" OwnerUserId="2247" LastActivityDate="2018-05-31T10:32:40.807" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12071" PostTypeId="2" ParentId="8842" CreationDate="2018-05-31T10:41:41.120" Score="7" Body="&lt;p&gt;Windows 2012 introduced stricter certificate store validations. According to KB 2795828: Lync Server 2013 Front-End service cannot start in Windows Server 2012, the Trusted Root Certification Authorities (i.e. Root) store can only have certificates that are self-signed. If that store contains non-self-signed certificates, client certificate authentication under IIS returns with a 403.16 error code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve the problem, you have to remove all non-self-signed certificates from the root store. This PowerShell command will identify non-self-signed certificates:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So we need to move these non-self-signed certificates into the Intermediate Certification Authorities (i.e. CA) store: The below poweshell script helps to move the file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Move-Item -Destination Cert:\LocalMachine\CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please check the below link for reference: &lt;a href=&quot;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&quot;&gt;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2957" LastEditorUserId="2957" LastEditDate="2018-09-21T07:15:11.620" LastActivityDate="2018-09-21T07:15:11.620" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12072" PostTypeId="2" ParentId="12059" CreationDate="2018-05-31T11:33:36.117" Score="0" Body="&lt;p&gt;Sounds silly, but is Tracking enabled in the config? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure that the Sitecore setting: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Xdb.Tracking.Enabled&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is set to true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And Ensure that layouts contain the VisitorIdentification tag or MVC helper&lt;/p&gt;&#xA;" OwnerUserId="1369" LastEditorUserId="367" LastEditDate="2019-04-02T17:26:23.383" LastActivityDate="2019-04-02T17:26:23.383" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12073" PostTypeId="2" ParentId="12064" CreationDate="2018-05-31T12:38:41.783" Score="8" Body="&lt;p&gt;Everything that @Hishaam said is correct, but I want to clarify the 2 questions here:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;So if I fast query an item with 100 children will all those come in to memory without paging or caching?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;No&lt;/strong&gt; - if you fast query a single item, you will get a single item. If your fast query adds children or all descendants you will get what you asked for. This is the same whether you do a standard &lt;em&gt;or&lt;/em&gt; fast query.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If normal queries are fetching from indexes where these indexes are stored and what indexing strategy they are following?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Normal queries are &lt;em&gt;not&lt;/em&gt; fetching from an index, they are still using the database, but they are put through layers of caching. On a cold start, fast query might be faster, but after the first call, a normal query (unless a crazy one) can be faster because of the caching.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;So what about indexing?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The third option to get data out is the content search API. This &lt;em&gt;does&lt;/em&gt; use either a Lucene, Solr or Azure Search index to get the data. It is very fast and the best method to use to get data unless you know the Id of an item. @Hishaam's post covers the typical strategies for updating those indexes.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-05-31T12:38:41.783" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12074" PostTypeId="2" ParentId="12066" CreationDate="2018-05-31T12:40:42.910" Score="2" Body="&lt;p&gt;I've managed to reproduce the problem, and after removing &lt;code&gt;Timeout&lt;/code&gt; or changing in it to &lt;code&gt;- Timeout 100&lt;/code&gt; resolves the problem. I don't know why does not accept &lt;code&gt;[int]::MaxValue&lt;/code&gt;, maybe it is doing overflow.&lt;/p&gt;&#xA;" OwnerUserId="3772" LastEditorUserId="3767" LastEditDate="2018-05-31T15:25:31.003" LastActivityDate="2018-05-31T15:25:31.003" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12075" PostTypeId="1" CreationDate="2018-05-31T13:02:15.300" Score="1" ViewCount="262" Body="&lt;p&gt;We are using Sitecore Commerce. Users who visit the website can register and are created in the domain &lt;code&gt;CommerceUsers&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We moved all data from our PROD to STAGING and this also included users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in staging, we want to delete all the commerce users but are unable to do so. I have tried&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Delete user from control panel &gt; user management  &lt;/li&gt;&#xA;&lt;li&gt;Delete from asp_users table in the core database  &lt;/li&gt;&#xA;&lt;li&gt;Serialized all users, deleted commerceusers from serialization folder and then reverted all users.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When any of those is done, the record is removed from User Management UI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When user tries to register again, it shows an error :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The external id for the user CommerceUsers\user@example.com is empty.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Register: An element with the specified key already exists&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Then when I check the user management UI or core DB, the user appears there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I permanently delete the 'CommerceUsers'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using Sitecore 8.2 Update 5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-05-31T13:08:02.120" LastActivityDate="2018-05-31T13:08:02.120" Title="Unable to delete commerce users" Tags="|sitecore-commerce|user-management|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12077" PostTypeId="2" ParentId="11844" CreationDate="2018-05-31T13:59:46.760" Score="0" Body="&lt;p&gt;Issue was related to a corrupted install of the SC Hotfix 195920-1 for Experience Editor. Once I reinstalled the hotfix, the issue went away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/502008&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/502008&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3637" LastActivityDate="2018-05-31T13:59:46.760" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12078" PostTypeId="1" AcceptedAnswerId="12080" CreationDate="2018-05-31T14:50:05.560" Score="3" ViewCount="343" Body="&lt;p&gt;So from my understanding it's better to use the tracker to update custom facets (or default facets) from a contact in xDb and then wait till SessionEnd to have that data saved to MongoDb.  But my question, is why is that the best approach?  Is there any performance or locking reasons to why this is the preferred approach, vs the approach of saving this data directly to Mongo before session end using a method like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactManager.SaveAndReleaseContactToXdb(contact);&#xA;ContactManager.FlushContactToXdb(contact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-06-01T13:02:21.190" Title="Is there a reason xDb contact data is saved on session end vs immediately saving the data" Tags="|xdb|mongodb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12079" PostTypeId="2" ParentId="12044" CreationDate="2018-05-31T14:52:34.780" Score="1" Body="&lt;p&gt;Secondary reporting database (which is used for rebuild) &lt;strong&gt;also&lt;/strong&gt; stores live data. Hence, no data is lost when the switch happens, because both databases contain the same data.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Official documentation&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you attach a secondary xDB Reporting database to the xDB&#xA;  Processing role, both the primary and secondary xDB Reporting database&#xA;  will store all live aggregation data.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/data-flows-and-processes/xp/processing.html#the-secondary-reporting-database&quot; rel=&quot;nofollow noreferrer&quot;&gt;Reference&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Default configuration&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Default configuration of &lt;code&gt;aggregation/aggregationContext/interaction&lt;/code&gt; is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;live type=&quot;Sitecore.Analytics.Aggregation.Data.AggregationContext&quot;&amp;gt;&#xA;    &amp;lt;ReportingTargets hint=&quot;list:AddReportingTarget&quot;&amp;gt;&#xA;        &amp;lt;primary ref=&quot;aggregation/reportingStorageProviders/primary&quot;/&amp;gt;&#xA;        &amp;lt;secondary ref=&quot;aggregation/reportingStorageProviders/secondary.live&quot;/&amp;gt;&#xA;    &amp;lt;/ReportingTargets&amp;gt;&#xA;&amp;lt;/live&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While &lt;code&gt;aggregation/reportingStoragaProviders&lt;/code&gt; points to the same database which is used for rebuild which effectively means that data ends up in both databases.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;secondary.live type=&quot;Sitecore.Analytics.Aggregation.SqlReportingStorageProvider, Sitecore.Analytics.Sql&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;reporting.secondary&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;cutoffBehavior&quot;&amp;gt;StoreOnlyAfterCutOffInclusive&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/secondary.live&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="842" LastActivityDate="2018-05-31T14:52:34.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12080" PostTypeId="2" ParentId="12078" CreationDate="2018-05-31T15:06:02.027" Score="5" Body="&lt;p&gt;It saves at sessions end because when the contact owner is on the site, the contact is locked in xDB. You couldn't save it if you wanted to. You have to wait until it is saved and the contact is released. This is the major flaw with xDB and the reason xConnect was created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In 9.0 xConnect resolves this by making the contact separate from the session. You can update and save as much as you want. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-05-31T15:06:02.027" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12083" PostTypeId="1" CreationDate="2018-05-31T18:29:17.670" Score="2" ViewCount="369" Body="&lt;p&gt;I want to create a multilingual site with vue.js and JSS, I added in the folder &lt;strong&gt;data/route/en.json and fr.json&lt;/strong&gt;, I don't know how to change between the two languages ​​in my navigation.&lt;/p&gt;&#xA;" OwnerUserId="3738" LastEditorUserId="2727" LastEditDate="2018-06-05T06:19:17.850" LastActivityDate="2018-06-08T17:22:20.260" Title="How to change between the two languages ​in my navigation with VUE.JS and JSS Sitecore?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12084" PostTypeId="2" ParentId="11995" CreationDate="2018-05-31T19:19:29.813" Score="6" Body="&lt;p&gt;I wrote an article &lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-unlock-item-command&quot; rel=&quot;noreferrer&quot;&gt;&quot;How to add a Sitecore Unlock Item Button to the Content Editor ribbon&quot;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The simplest code is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class UnlockItem : Command&#xA;{&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;        {&#xA;            context.Items[0].Locking.Unlock();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to register the new command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;commands&amp;gt;&#xA;      &amp;lt;command name=&quot;contenteditor:unlockitem&quot; type=&quot;MyAssembly.Namespace.UnlockItem, MyAssembly&quot; /&amp;gt;&#xA;    &amp;lt;/commands&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And add a button item in &lt;code&gt;core&lt;/code&gt; database, e.g. under &lt;code&gt;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Locks&lt;/code&gt; item, with &lt;code&gt;Click&lt;/code&gt; field set to &lt;code&gt;contenteditor:unlockitem&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or just download the Sitecore content package from the &lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-unlock-item-command&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Unlock Item Button&lt;/a&gt; article and install it on your CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to restrict the access to the command, break the inheritance of access rights on the new button and allow &lt;code&gt;read&lt;/code&gt; access for it for the chosen role (or users) only.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-05-31T19:19:29.813" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12085" PostTypeId="1" CreationDate="2018-05-31T20:29:04.933" Score="4" ViewCount="1562" Body="&lt;p&gt;I'm trying to use the &lt;code&gt;CORS settings under Site Grouping&lt;/code&gt;, but they don't seem to do anything.  I also can't seem to find any documentation about it.  Does anyone know of documentation or know what the secret is to get these to work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't get any errors, they just don't seem to have any impact on the response headers in any way.  I have verified that the changes have been published properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the settings I'm talking about:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hpGc4.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hpGc4.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2194" LastEditorUserId="95" LastEditDate="2022-07-24T00:59:23.840" LastActivityDate="2022-08-23T01:00:30.063" Title="CORS configuration in SXA" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12086" PostTypeId="2" ParentId="12066" CreationDate="2018-05-31T20:38:44.210" Score="1" Body="&lt;p&gt;The reason you get this is because the &lt;code&gt;Timeout&lt;/code&gt; value is intended to be in seconds. The proxy timeout being set is in milliseconds. I wrote the code to multiply it by 1000; therefore &lt;code&gt;[int]::MaxValue * 1000&lt;/code&gt; will result in an error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you divided by 1000 then you could avoid the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I submitted an &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/1012&quot; rel=&quot;nofollow noreferrer&quot;&gt;issue&lt;/a&gt; to catch for this.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-05-31T20:38:44.210" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12087" PostTypeId="2" ParentId="11995" CreationDate="2018-05-31T20:51:11.630" Score="7" Body="&lt;p&gt;Below is a script I used as part of a Ribbon command in SPE.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path .&#xA;$user = Get-User -Id &quot;sitecore\admin&quot;&#xA;New-UsingBlock (New-Object Sitecore.Security.Accounts.UserSwitcher $user) {&#xA;    $item | Unlock-Item&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add the ribbon integration:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nqTU4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nqTU4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h56s2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h56s2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-05-31T20:51:11.630" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12088" PostTypeId="1" CreationDate="2018-05-31T21:40:11.230" Score="2" ViewCount="318" Body="&lt;p&gt;I want to create an ARM template to setup 9.0.1 PaaS with the following configuration:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;1 appservice with CM, Reporting and Processing&lt;/li&gt;&#xA;&lt;li&gt;1 appservice with CD&lt;/li&gt;&#xA;&lt;li&gt;xDB fully scaled&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'm trying to determine how to go about doing this. Looking at &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&lt;/a&gt; as a starting point, I believe my options are either:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Deploy two XP0's and xDB. Use server roles to gate responsibility.&lt;/li&gt;&#xA;&lt;li&gt;Start with the XP1 template and modify the nested json files to remove the additional infrastructure to combine roles.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Are there other options that I haven't explored? What would be the recommended way for setting this up?&lt;/p&gt;&#xA;" OwnerUserId="4" LastActivityDate="2018-06-01T20:05:27.767" Title="Sitecore 9.0.1 Custom ARM template for XP1 with combined roles" Tags="|azure|paas|arm-template|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12089" PostTypeId="2" ParentId="12029" CreationDate="2018-05-31T22:12:40.093" Score="0" Body="&lt;p&gt;So after digging for a while, I found that the xConnect I was using was not talking with the upgraded site. Thus, I installed another instance of xConnect which also installs all the required certificates. Then, I went to the certificate manager and added the application pool of the upgraded site to the xConnect_client certificate. &#xA;I hooked up this new xConnect with the upgraded site and made the necessary modifications in the config files. Now the Experience Profile is showing the data.&lt;/p&gt;&#xA;" OwnerUserId="3632" LastActivityDate="2018-05-31T22:12:40.093" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12092" PostTypeId="1" AcceptedAnswerId="12113" CreationDate="2018-06-01T06:04:26.033" Score="3" ViewCount="384" Body="&lt;p&gt;We will be in a process of migrating solution made with Sitecore Commerce 8.2.1 to Sitecore Commerce 9 Update 1 soon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the requirements was to handle all orders without payment using Commerce server basically as &quot;ordering&quot; system. After order was created, we called external webservice that notified financial systems on company side and invoice was generated outside of Sitecore Commerce. This was more B2B commerce system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We were doing this by creating &quot;fake&quot; federated payment with same amount of money (for products and shipping) to even it and be able to order. Without this we couldn't create order. This was a temporary fix to this problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During upgrade, we would like to optimize this to be more transparent to all parties. So if no payment is made in Sitecore Commerce we also won't do any &quot;fake&quot; payment with federated payment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would it be possible to achieve this by turning off payment policy or how can we achieve this ordering scenario without payments?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-06-02T22:55:45.517" Title="Remove payment option from Sitecore Commerce and use Commerce as &quot;ordering system&quot;" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12093" PostTypeId="1" CreationDate="2018-06-01T08:53:13.287" Score="1" ViewCount="1280" Body="&lt;p&gt;I have created a Computed Field to index a MultiList field type into Solr. By default, Solr defines a Case Sensitive search behavior over Multivalued/List type. Below is the example-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solr indexed list is&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;car_service_brands_sm&quot;:[&quot;Kia&quot;,&#xA;                     &quot;Citroen&quot;,&#xA;                     &quot;Mitsubishi&quot;,&#xA;                     &quot;MB&quot;],&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Searching with &lt;strong&gt;car_service_brands_sm:&quot;kia&quot;&lt;/strong&gt;, no records founds.&lt;/li&gt;&#xA;&lt;li&gt;Search with &lt;strong&gt;car_service_brands_sm:&quot;Kia&quot;&lt;/strong&gt;, records founds.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;How can i make above search as &quot;Case Insensitive&quot; for MultiValued field type? Any help will be appreciated..thanks&lt;/p&gt;&#xA;" OwnerUserId="2752" LastEditorUserId="2752" LastEditDate="2018-06-05T12:55:48.080" LastActivityDate="2018-06-05T12:55:48.080" Title="How to ignore case sensitivity for multilist/list types field in the solr" Tags="|solr|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12094" PostTypeId="1" AcceptedAnswerId="12095" CreationDate="2018-06-01T09:50:05.050" Score="3" ViewCount="257" Body="&lt;p&gt;I am trying to associate a category to a product inside a minion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using next code : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var catalog = catalogRepository.GetCatalogByName(&quot;MyCatalog&quot;);&#xA;var category = catalogRepository.GetCategoryByName(&quot;MyCategory&quot;);&#xA;Random random = new Random(DateTime.Now.Millisecond);&#xA;&#xA;var result = await _createSellableItemPipeline.Run(new CreateSellableItemArgument(random.Next().ToString(), &quot;Product name&quot;, &quot;Product display name&quot;, &quot;This is a description of my test product&quot;), context);&#xA;SellableItem addedItem = null;&#xA;if (result != null) // Null here means it failed to add&#xA;{&#xA;    var catalogL = await _findEntityPipeline.Run(new FindEntityArgument(typeof(Catalog), catalog.Id, false), context) as Catalog;&#xA;    var categoryL= await _findEntityPipeline.Run(new FindEntityArgument(typeof(Category), category.Id, false), context) as Category;&#xA;&#xA;    addedItem = result.SellableItems.FirstOrDefault(); // This is the item which has just been added&#xA;    addedItem.ParentCatalogList = catalogL.SitecoreId.ToLower();&#xA;    addedItem.ParentCategoryList = categoryL.SitecoreId.ToLower();&#xA;    addedItem.Brand = &quot;My Brand&quot;;&#xA;    addedItem.Manufacturer = &quot;My Manufacturer&quot;;&#xA;&#xA;    var saveResult = _persistEntityPipeline.Run(new PersistEntityArgument(addedItem), context);&#xA;    var catalogResult = await this._associateSellableItemToParentPipeline.Run(new CatalogReferenceArgument(catalog.Id, category.Id, addedItem.Id));&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The ittem is created but is not associated to the category. If I associate it manually from the Merchandise dashboard it is working fine. What am I doing wrong? &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-06-25T14:59:50.350" LastActivityDate="2018-06-25T14:59:50.350" Title="Associate category to product programatically" Tags="|sitecore-commerce|commerce-catalog|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12095" PostTypeId="2" ParentId="12094" CreationDate="2018-06-01T11:07:15.547" Score="5" Body="&lt;p&gt;You also need to create a relation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;await createRelationshipPipeline.Run(new RelationshipArgument(categoryId, sellableItemId, &quot;CategoryToSellableItem&quot;)&#xA;{&#xA;    Mode = new RelationshipMode?(RelationshipMode.Create)&#xA;}, context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where createRelationshipPipeline is a ICreateRelationshipPipeline&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-06-01T11:07:15.547" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12097" PostTypeId="1" CreationDate="2018-06-01T12:51:40.230" Score="1" ViewCount="97" Body="&lt;p&gt;On a brand new Sitecore 8.2.5 + SXA 1.5 on Azure, deployed from the Sitecore templates, I cannot make the htmlCache working.&#xA;The [html] cache stays empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone encountered the same?&lt;/p&gt;&#xA;" OwnerUserId="2997" LastActivityDate="2018-06-01T12:51:40.230" Title="SXA 1.5 htmlCache not working" Tags="|sxa|caching|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12098" PostTypeId="2" ParentId="12078" CreationDate="2018-06-01T13:02:21.190" Score="2" Body="&lt;p&gt;Prior to Sitecore 9, the locking was definitely an issue and flushing at session end helped with the locking problem. Locking issues could still occur, but it was less frequent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As @Chris Auer mentions, changes in 9.0 solved the locking issue, but the content delivery servers are still set up to flush at session end for performance reasons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While you CAN send data at any time into xConnect, it is still more performant from a networking and processing perspective to batch up all the data you learn and then submit it as a batch to xConnect to process all the operations at once. This keeps your network I/O down, especially now that xConnect can be handling multiple sources of communication (Commerce, DEF, third parties, etc.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can definitely trigger calls immediately now, but just like with Marketing Automation live events, you want to be careful how often you do this or else you might need to scale out more instances to handle traffic load of so many concurrent requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As with any scaling discussion, think about what would happen with a high volume load and look at the choke points. You can solve it with hardware, but you can also solve by changing how 'real time' your data saving/retrieving is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In some scenarios, real-time is a necessity, but note that even if you immediately push it into the xDB, it usually won't be available to other systems until the xConnect search indexer puts it into the index. So if you do have real-time needs for some data, don't forget to look at your indexer to make sure it is operating with the configurations and specs you need to keep things up to date in the index.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-06-01T13:02:21.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12099" PostTypeId="2" ParentId="12092" CreationDate="2018-06-01T13:19:14.040" Score="1" Body="&lt;p&gt;I'm not sure if this is what you mean, but if you just want to be able to order without payment: I think that with the default SXC9 setup its already possible to place an order without payment. There is no out of the box validation for this (On the commerce engine side of things). We had to implement this ourselves to stop the order from ending up being completed. Not sure about the SXA / storefront side though&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-06-01T13:19:14.040" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12101" PostTypeId="1" AcceptedAnswerId="12131" CreationDate="2018-06-01T14:52:18.677" Score="0" ViewCount="3114" Body="&lt;p&gt;I am using Sitecore 9 with SXA 1.7. When I try to open page in Experience Editor, I got the below error. Any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&#xA;Error Rendering View: /Views/SxaLayout/SxaLayout.cshtml: Error while rendering view: '/Views/SxaLayout/SxaLayout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;Inner Exception: Object reference not set to an instance of an object.&#xA;   at Sitecore.XA.Foundation.Grid.Commands.ShowGridPropertiesDialog.QueryState(CommandContext context)&#xA;   at Sitecore.Shell.Framework.Commands.CommandManager.QueryState(Command command, CommandContext context)&#xA;   at Sitecore.Pipelines.GetChromeData.GetChromeDataProcessor.QueryButtonState(WebEditButton button, CommandContext context, String click)&#xA;   at Sitecore.Pipelines.GetChromeData.GetChromeDataProcessor.AddButtonToChromeData(WebEditButton button, GetChromeDataArgs args)&#xA;   at Sitecore.Pipelines.GetChromeData.GetChromeDataProcessor.AddButtonsToChromeData(IEnumerable`1 buttons, GetChromeDataArgs args)&#xA;   at Sitecore.Pipelines.GetChromeData.GetRenderingChromeData.Process(GetChromeDataArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.GetChromeData.GetChromeDataPipeline.Run(GetChromeDataArgs args)&#xA;   at Sitecore.Mvc.ExperienceEditor.Presentation.RenderingMarker.GetClientData()&#xA;   at Sitecore.Mvc.ExperienceEditor.Presentation.RenderingMarker.get_ClientData()&#xA;   at Sitecore.Mvc.ExperienceEditor.Presentation.RenderingMarker.GetStart()&#xA;   at Sitecore.Mvc.ExperienceEditor.Presentation.Wrapper..ctor(TextWriter writer, IMarker marker)&#xA;   at Sitecore.Mvc.ExperienceEditor.Pipelines.Response.RenderRendering.AddWrapper.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;   at ASP._Page_Views_SxaLayout_BootstrapBody_cshtml.Execute() in c:\inetpub\wwwroot\sitecore9\Views\SxaLayout\BootstrapBody.cshtml:line 20&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at Sitecore.XA.Foundation.SitecoreExtensions.Services.RazorService.GetRazorViewAsString(Object model, String filePath)&#xA;   at Sitecore.XA.Foundation.Grid.Extensions.GridExtensions.GridBody(RazorExtensions helper)&#xA;   at ASP._Page_Views_SxaLayout_SxaLayout_cshtml.Execute() in c:\inetpub\wwwroot\sitecore9.sc\Views\SxaLayout\SxaLayout.cshtml:line 32&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="2056" LastEditDate="2018-06-04T12:02:03.937" LastActivityDate="2021-04-12T11:37:36.013" Title="SXA Error when open page in Experience Editor" Tags="|sxa|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12102" PostTypeId="2" ParentId="12009" CreationDate="2018-06-01T16:09:30.503" Score="1" Body="&lt;p&gt;Based on a Slack conversation just now, the issue here was that the expectation was that using an ID reference to pull in a shared component content would also pull in child layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ID references in a route are shared content references, but do not support child placeholders within the ID-referenced component (i.e. you cannot define &lt;code&gt;placeholders&lt;/code&gt; on something in &lt;code&gt;/data/component-content&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Placeholders &lt;em&gt;can&lt;/em&gt; be defined on the route item that refers to the shared content item under the ID reference, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- id: component-shared-id&#xA;  placeholders:&#xA;    PH__footer-col:&#xA;    - id: footer-shared-1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-06-01T16:09:30.503" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12103" PostTypeId="2" ParentId="12093" CreationDate="2018-06-01T16:54:28.373" Score="1" Body="&lt;p&gt;I suggest to search lowercase in solr’s schema file. You can see there what is normally applied in solr to make both indexing and search lowercase text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can apply the same configs to the field you want to be case insensitive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Warning: I am not sure which part of sitecore is dealing with the specific field you are searching on and if the output of of those field values is used. If field value is read, then you could instead add a separate field that copies the original and lowercases it.&lt;/p&gt;&#xA;" OwnerUserId="76" LastActivityDate="2018-06-01T16:54:28.373" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12104" PostTypeId="2" ParentId="12101" CreationDate="2018-06-01T18:56:34.690" Score="3" Body="&lt;p&gt;I have seen this happen when the Experience Editor cannot resolve the site correctly. Things to look for:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure that your Site Grouping has the correct URL in for both the CD and the CM urls. So maybe something like &lt;code&gt;www.mysite.com|cms.mysite.com&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Make sure you are using the right url to edit the site if you have a multi-site setup&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can test this by going to the same page item in the Content Explorer, right click and go to the Experience Editor from that menu. If that works, it is the site resolving that is going wrong.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-06-01T18:56:34.690" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12105" PostTypeId="2" ParentId="9479" CreationDate="2018-06-01T19:15:56.127" Score="3" Body="&lt;p&gt;Sitecore 9.0.1 added the send send action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works in collaboration with EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, you can only send an email to the current contact filling in the form and you cannot use the content of the form in your email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to keep using EXM (which I recommend, it is a nice build in sitecore mailing system and easy to setup) you can take a look at my Sitecore Forms Extensions module. Aside to file upload, and captcha controls, it adds support for sending a mail to the backoffice through EXM and supports the use of the form content via tokens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://onelittlespark.bartverdonck.be/category/sitecore-forms-extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://onelittlespark.bartverdonck.be/category/sitecore-forms-extensions/&lt;/a&gt;&#xA;&lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-01T19:15:56.127" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12106" PostTypeId="2" ParentId="12088" CreationDate="2018-06-01T20:05:27.767" Score="2" Body="&lt;p&gt;I would start from the XP1 template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remove the Reporting and Processing from the infrastructure and application templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, add the roles reporting and processing to CM. For this you will need to start from the cm-package provided by sitecore and adapt the web.config file.&#xA;    &#xA;         Specify the roles that you want this server to perform. A server can perform one or more roles. Enter the roles in a comma separated list. The supported roles are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     ContentDelivery&#xA;     ContentManagement&#xA;     Processing&#xA;     Reporting&#xA;     Standalone&#xA;&#xA;Default value: Standalone&#xA;--&amp;gt;&#xA;&amp;lt;add key=&quot;role:define&quot; value=&quot;ContentManagement, Processing, Reporting&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Good luck!&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-01T20:05:27.767" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12108" PostTypeId="1" CreationDate="2018-06-01T23:40:46.140" Score="0" ViewCount="542" Body="&lt;p&gt;We want to build a search interface that pulls results both from media library and different content paths, to include both pdf and standard content items.  What is the best way to structure the predicate statements?  Our current code looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var predicate = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;predicate = predicate.And(i =&amp;gt; i.Paths.Contains(Paths.PdfsFolderID));&#xA;predicate = predicate.And(i =&amp;gt; i.Content.Contains(Key));&#xA;predicate = predicate.And(i =&amp;gt; i.TemplateName.Equals(&quot;pdf&quot;));&#xA;IQueryable&amp;lt;SearchResultItem&amp;gt; queryable = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(predicate);&#xA;                queryable.Count();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This brings in the media library pdf files that we want included.  How do we go about adding in the content items?  We have tried predicate.or to include alternate paths and templates, but so far, no luck. &#xA;In case it is pertinent, we use Lucene, and are on on SC 7.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="1408" LastActivityDate="2018-06-03T08:11:00.657" Title="Best way to configure search for multiple paths, templates?" Tags="|content-search|pdf|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12109" PostTypeId="2" ParentId="11144" CreationDate="2018-06-02T01:12:15.670" Score="0" Body="&lt;p&gt;[Solved] - To avoid the content author involvement,  I have used a new apporach.&#xA;Instead of passing the seed id for each Row &amp;amp; Column from the cms, I have written a method which takes the item id as a parameter and extract the integer part of it and use it as a seed value for dynamic placeholder.&lt;/p&gt;&#xA;" OwnerUserId="2752" LastEditorUserId="2752" LastEditDate="2018-06-03T14:43:50.183" LastActivityDate="2018-06-03T14:43:50.183" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12110" PostTypeId="1" CreationDate="2018-06-02T05:25:33.523" Score="1" ViewCount="441" Body="&lt;p&gt;When installing Sitecore 9 Update 1 on-premises installation, receive the below error message for the database password validation. The marketingautomation database is created and fails during creating the user. The Password specified in the JSON files is complex including a UpperCase character, lowercase character, special char (@) and numbers. Can anyone please help to resolve this issue? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Info: Adding database (user id=sa;data source=.\SQLEXPRESS2016;initial catalog=sc9u1_MarketingAutomation)&#xA;Info: Adding database (MsDeploy.Site/dbFullSql[@path='user id=sa;data source=.\SQLEXPRESS2016;initial catalog=sc9u1_MarketingAutomation']/sqlScript)&#xA;Info: Opening SQL Connection with connection string 'data source=.;initial catalog=sc9u1_MarketingAutomation;user id=sa;pooling=False'. The 'transacted' setting for this connection is 'False'.&#xA;**Error Code: ERROR_SQL_EXECUTION_FAILURE**&#xA;More Information: An error occurred during execution of the database script. The error occurred between the following lines of the script: &quot;9&quot; and &quot;12&quot;. The verbose log might have more information about the error. The command started with the following:&#xA;&quot;CREATE USER [marketingautomationuser] WITH PASSW&quot;&#xA; **Password validation failed. The password does not meet the requirements of the password filter DLL**. http://go.microsoft.com/fwlink/?LinkId=178587  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The link mentioned above is not useful since this is a generic exception. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I was able to resolve this issue by changing the password in each of the installation JSON files. &lt;/p&gt;&#xA;" OwnerUserId="3780" LastEditorUserId="3780" LastEditDate="2018-06-11T08:38:52.610" LastActivityDate="2018-06-11T08:38:52.610" Title="SIF installation Password Validation error" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="2" ClosedDate="2018-06-11T22:03:28.487" ContentLicense="CC BY-SA 4.0" />
  <row Id="12111" PostTypeId="1" AcceptedAnswerId="25915" CreationDate="2018-06-02T09:26:24.923" Score="2" ViewCount="308" Body="&lt;p&gt;In my Sitecore installation, under '/sitecore/system/Marketing Control Panel/Profiles/' i created a profile 'Movies' and profile keys under it corresponding to Action, Comedy and Horror.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Subsequently, i created Profile card and Personas.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem i am facing is, the field corresponding to 'Profile Card Value' is empty, as can be seen in the snapshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/276pw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/276pw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even if I enable raw values, there is nothing there. Same can be seen in this image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o3hJ7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o3hJ7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Sitecore version: Sitecore.NET 8.2 (rev. 170407).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tested the MongoDB connection and is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are warnings in the log files log.txt: &lt;code&gt;Could not find type in ReflectionUtil.CreateObject: Sitecore.Shell.Applications.Analytics.Personalization.ProfileCardValue&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no entries in FXM.log&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My issue is same as mentioned &lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/3998#pi214filter=all&amp;amp;pi214scroll=false&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="1110" LastEditDate="2018-06-20T09:17:04.937" LastActivityDate="2020-07-24T20:59:18.193" Title="'Profile Card Value' is empty" Tags="|experience-analytics|personalization|experience-profile|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="12113" PostTypeId="2" ParentId="12092" CreationDate="2018-06-02T22:55:45.517" Score="5" Body="&lt;p&gt;As of 9.0.1, &lt;code&gt;CreateOrderBlock&lt;/code&gt; (the first OOTB block in &lt;code&gt;ICreateOrderPipeline&lt;/code&gt;) validates that the payment total equals the grand total of the order and aborts the pipeline if it does not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, since the validation is not on the payment objects but on &lt;code&gt;Order.Totals.PaymentsTotal&lt;/code&gt; it should be pretty easy to work around.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend adding a block before (&lt;code&gt;AddTemporaryPaymentsTotal&lt;/code&gt;) and after (&lt;code&gt;RemoveTemporaryPaymentsTotal&lt;/code&gt;) the &lt;code&gt;CreateOrderBlock&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// AddTemporaryPaymentsTotal&#xA;cart.Totals.PaymentsTotal = order.Totals.GrandTotal;&#xA;&#xA;// RemoveTemporaryPaymentsTotal&#xA;order.Totals.PaymentsTotal = new Money(order.Totals.GrandTotal.CurrencyCode, 0M);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;CreateOrderBlock&lt;/code&gt; doesn't actually persist anything, so the temporary value won't be made available to anything else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You &lt;em&gt;could&lt;/em&gt; also replace &lt;code&gt;CreateOrderBlock&lt;/code&gt; and patch out the validation check but I would advise against it. The existing block has a fair bit of logic which may cause problems when you upgrade again.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-06-02T22:55:45.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12114" PostTypeId="2" ParentId="12108" CreationDate="2018-06-02T23:06:53.827" Score="2" Body="&lt;p&gt;There is alot of good blog posts about this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g.&#xA;&lt;a href=&quot;https://www.geekhive.com/buzz/post/2017/08/predicate-builder-advanced-search-queries/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.geekhive.com/buzz/post/2017/08/predicate-builder-advanced-search-queries/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And as jrap commented, you should just combined multiple predicates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var templateQuery = PredicateBuilder.False&amp;lt;ContentSearchResultItem&amp;gt;();&#xA;   templateQuery= templateQuery.Or(item =&amp;gt; item.TemplateName.Equals(&quot;pdf&quot;));&#xA;   templateQuery= templateQuery.Or(item = item.TemplateName.Equals(&quot;content item template&quot;));&#xA;&#xA;var pathQuery= PredicateBuilder.False&amp;lt;ContentSearchResultItem&amp;gt;();&#xA;   pathQuery= templateQuery.Or(item =&amp;gt; i.Paths.Contains(Paths.PdfsFolderID));&#xA;   pathQuery= templateQuery.Or(item = i.Paths.Contains(Paths.ContentFolderID));&#xA;&#xA;var predicate = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;predicate = predicate.And(pathQuery);&#xA;predicate = predicate.And(templateQuery);&#xA;predicate = predicate.And(i =&amp;gt; i.Content.Contains(Key));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Usually i use false,  when creating OR statements because that makes most sense in  my head (false OR predicateA OR predicateB), and true, when creating AND statements (true AND predicateA AND predicateB) Im not 100% sure on how sitecore &#xA; translates this into queries,  but i think its ignored.&lt;/p&gt;&#xA;" OwnerUserId="3782" LastEditorUserId="73" LastEditDate="2018-06-03T08:11:00.657" LastActivityDate="2018-06-03T08:11:00.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12115" PostTypeId="1" CreationDate="2018-06-03T01:34:29.783" Score="0" ViewCount="80" Body="&lt;p&gt;I am using sitecore 9 with SXA 1.7, when creating package using siterocks and deploying it to another environment, the renderings are displayed in preview mode but when open page as anonymous user nothing is rendered and the placeholders are empty, Any suggestion how can i trouble shot this?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2018-06-03T01:34:29.783" Title="SXA renderings not displayed in placeholder" Tags="|sxa|placeholders|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12116" PostTypeId="2" ParentId="12110" CreationDate="2018-06-03T12:20:23.617" Score="3" Body="&lt;p&gt;&lt;strong&gt;Strict password policy&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you use the Strict password policy recommended for SQL passwords.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the use of both upper-case and lower-case letters (case sensitivity)&lt;/li&gt;&#xA;&lt;li&gt;inclusion of one or more numerical digits&lt;/li&gt;&#xA;&lt;li&gt;inclusion of special characters, such as @, #, $&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Complete reference for password policy &lt;a href=&quot;https://en.wikipedia.org/wiki/Password_policy&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Validate using SIFless&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also validate your installation assets with SIFless.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Download SIFless from &lt;a href=&quot;https://bitbucket.org/RAhnemann/sif-less/downloads/SIFLess.zip&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;. Complete reference &lt;a href=&quot;http://www.rockpapersitecore.com/2017/10/introducing-sif-less-for-easy-sitecore-9-installation/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you fill all the files of the SIFless. It will show you like this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0xU0H.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0xU0H.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check my blog for complete guide to Sitecore 9 installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://isaadansari.wordpress.com/2018/05/01/sitecore-9-installation-download-install-validate-done/&quot; rel=&quot;noreferrer&quot;&gt;https://isaadansari.wordpress.com/2018/05/01/sitecore-9-installation-download-install-validate-done/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-06-03T12:20:23.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12117" PostTypeId="1" AcceptedAnswerId="12416" CreationDate="2018-06-03T12:24:12.183" Score="6" ViewCount="3944" Body="&lt;p&gt;I am using sitecore 9 and SXA 1.7, whenever I try to publish my site, I get this error. I have tried publishing other individual items that my site depends on, like the templates,and I have narrowed it down to having this error when I try to publish a certain templates folder and any of its respective children specifically, lets call it &quot;blogs&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on what could be the cause of this exception would be great or how to solve it would be great. I've searched around for a while but I can't find anyone who got the same error and is using sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the full error if it will help&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Job started: Publish to 'web'|#Exception:&#xA;  System.Reflection.TargetInvocationException: Exception has been thrown&#xA;  by the target of an invocation. ---&gt; System.AggregateException: One or&#xA;  more exceptions occurred while processing the subscribers to the&#xA;  'item:moving' event.    at&#xA;  Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName,&#xA;  Object[] parameters, EventResult result)    at&#xA;  Sitecore.Events.Event.RaiseEvent(String eventName, Object[]&#xA;  parameters)    at Sitecore.Events.Event.DataEngine_MovingItem(Object&#xA;  sender, ExecutingEventArgs&lt;code&gt;1 e)    at&#xA;  Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.RaiseEvent[TArgs](EventHandler&lt;code&gt;1&#xA;  handlers, Func&lt;/code&gt;2 argsCreator)    at&#xA;  Sitecore.Data.Engines.EngineCommand&lt;code&gt;2.RaiseExecuting(Boolean&amp;amp;&#xA;  cancelled)    at Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.CanExecute()&lt;br&gt;&#xA;  at Sitecore.Data.Engines.EngineCommand&lt;code&gt;2.Execute()    at&#xA;  Sitecore.Data.Managers.ItemProvider.MoveItem(Item item, Item&#xA;  destination, SecurityCheck securityCheck)    at&#xA;  Sitecore.Publishing.Pipelines.PublishItem.MoveItems.MoveTargetItem(Item&#xA;  targetItem, ID destinationId, PublishItemContext context)    at&#xA;  Sitecore.Publishing.Pipelines.PublishItem.MoveItems.ProcessItem(Item&#xA;  sourceItem, Item targetItem, PublishItemContext context)    at&#xA;  Sitecore.Publishing.Pipelines.PublishItem.MoveItems.Process(PublishItemContext&#xA;  context)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain)    at&#xA;  Sitecore.Publishing.Pipelines.PublishItem.PublishItemPipeline.Run(PublishItemContext&#xA;  context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate&#xA;  entry, PublishContext context, List&lt;/code&gt;1&amp;amp; referrers, List&lt;code&gt;1&amp;amp; children)&lt;br&gt;&#xA;  at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate&#xA;  entry, PublishContext context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;/code&gt;1&#xA;  entries, PublishContext context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate&#xA;  entry, PublishContext context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1&#xA;  entries, PublishContext context)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.ProcessQueue.Process(PublishContext&#xA;  context)    at (Object , Object[] )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain)    at&#xA;  Sitecore.Publishing.Pipelines.Publish.PublishPipeline.Run(PublishContext&#xA;  context)    at Sitecore.Publishing.Publisher.PublishWithResult()&lt;br&gt;&#xA;  --- End of inner exception stack trace ---    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[]&#xA;  arguments, Signature sig, Boolean constructor)    at&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments)    at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br&gt;&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;  Object[] parameters, Object obj)    at&#xA;  Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)    at (Object ,&#xA;  Object[] )    at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs&#xA;  args)    at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String&#xA;  pipelineName, PipelineArgs args, String pipelineDomain)    at&#xA;  Sitecore.Jobs.Job.DoExecute()    at&#xA;  Sitecore.Jobs.Job.ThreadEntry(Object state)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="2727" LastEditDate="2018-06-04T06:05:58.737" LastActivityDate="2018-06-20T10:39:25.197" Title="Publishing Error: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:moving' event" Tags="|sxa|publishing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12118" PostTypeId="1" AcceptedAnswerId="12119" CreationDate="2018-06-03T13:50:35.943" Score="2" ViewCount="290" Body="&lt;p&gt;I am trying to use nuget package to install this dll &quot;Sitecore.Publishing.Service.dll&quot; but it seems that it is not there , any one know what is the nuget package for Sitecore Publishing Service dlls?&lt;/p&gt;&#xA;" OwnerUserId="492" LastEditorUserId="237" LastEditDate="2018-10-25T12:05:24.420" LastActivityDate="2019-03-07T18:55:52.133" Title="Sitecore Publishing Service nuget packages" Tags="|publishing-service|nuget|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12119" PostTypeId="2" ParentId="12118" CreationDate="2018-06-03T14:08:22.060" Score="2" Body="&lt;p&gt;Not all modules are available (yet) in the Sitecore Nuget feed. SXA for example is not there yet, and it seems like the Publishing service is also (still) missing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the moment, you'll need to refer your solution to the dll locally. You can always contact Sitecore (through &lt;a href=&quot;https://support.sitecore.net/helpdesk/&quot; rel=&quot;nofollow noreferrer&quot;&gt;support&lt;/a&gt; / &lt;a href=&quot;https://sitecore.uservoice.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;uservoice&lt;/a&gt; / ... ) requesting to get the Publishing service module in Nuget as well. For SXA this has been done and the team is working on it (or at least thinking about it).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-06-03T14:08:22.060" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12120" PostTypeId="1" AcceptedAnswerId="12122" CreationDate="2018-06-03T15:22:23.297" Score="1" ViewCount="996" Body="&lt;p&gt;I have a date field in the template. It's value is set to 4/8/2018. However, when I see the item's raw value, Sitecore converts it into UTC and stores it like &lt;code&gt;20180407T183000Z&lt;/code&gt;. The same value is indexed into the Solr. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the problem is: when I do a search for date &gt;= 4/8/2018 no results are found. &#xA;When i do a search for date &gt;= 4/7/2018 there are items found. &#xA;How to handle this? Could anyone help? &lt;/p&gt;&#xA;" OwnerUserId="2752" LastEditorUserId="237" LastEditDate="2018-06-03T16:35:23.913" LastActivityDate="2018-06-03T16:35:23.913" Title="Sitecore Date type Solr indexing In UTC - How to perform solr search" Tags="|solr|content-search|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12121" PostTypeId="1" AcceptedAnswerId="12148" CreationDate="2018-06-03T16:25:42.920" Score="0" ViewCount="2840" Body="&lt;p&gt;i have a similar question to [A route named x is already in the route collection][1]&#xA;  [1]: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9058/a-route-named-x-is-already-in-the-route-collection-route-names-must-be-unique&quot;&gt;A route named x is already in the route collection. Route names must be unique&lt;/a&gt;. But the solution mentioned there doesn't worked for me. In my solution (for Sitecore 9.0.1), i just added an Api Controller for PoC and deleted later again, and since then i'm not able to run Sitecore. Consider, that i don't have a Global.asax file or App_start Folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could some one help me? I will appreciate it. Thanks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best Regards&lt;/p&gt;&#xA;&#xA;&lt;p&gt;+++++++++++ Displayed Error +++++++++++&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application. A route named&#xA;  'MS_attributerouteWebApi' is already in the route collection. Route&#xA;  names must be unique. Parameter name: name Description: An unhandled&#xA;  exception occurred during the execution of the current web request.&#xA;  Please review the stack trace for more information about the error and&#xA;  where it originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.ArgumentException: A route named&#xA;  'MS_attributerouteWebApi' is already in the route collection. Route&#xA;  names must be unique. Parameter name: name&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[ArgumentException: A route named 'MS_attributerouteWebApi' is already&#xA;  in the route collection. Route names must be unique. Parameter name:&#xA;  name]    System.Web.Routing.RouteCollection.Add(String name, RouteBase&#xA;  item) +391&lt;br&gt;&#xA;  System.Web.Http.Routing.AttributeRoutingMapper.MapAttributeRoutes(HttpConfiguration&#xA;  configuration, IInlineConstraintResolver constraintResolver,&#xA;  IDirectRouteProvider directRouteProvider) +166&lt;br&gt;&#xA;  Sitecore.Services.Infrastructure.Web.Http.HttpConfigurationBuilder.MapHttpAttributeRoutes()&#xA;  +89    Sitecore.Services.Infrastructure.Web.Http.ServicesConfigurator.Configure(HttpConfiguration&#xA;  config, RouteCollection routes) +501&lt;br&gt;&#xA;  Sitecore.Services.Infrastructure.Sitecore.Pipelines.ServicesWebApiInitializer.Process(PipelineArgs&#xA;  args) +194    (Object , Object[] ) +74&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Application_Start() +161&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +764&lt;br&gt;&#xA;  System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers) +581&lt;br&gt;&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172&lt;br&gt;&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context) +418&lt;br&gt;&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext) +369&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): A route named 'MS_attributerouteWebApi'&#xA;  is already in the route collection. Route names must be unique.&#xA;  Parameter name: name]&lt;br&gt;&#xA;  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +534&lt;br&gt;&#xA;  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)&#xA;  +111    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest&#xA;  wr, HttpContext context) +718&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3544" LastEditorUserId="2727" LastEditDate="2018-06-05T06:21:56.700" LastActivityDate="2018-06-05T19:25:00.440" Title="A routed &quot;MS_attributerouteWebApi&quot; is already in the route collection. Route names must be unique (Sitecore 9.0.1)" Tags="|sitecore-client|" AnswerCount="1" CommentCount="3" ClosedDate="2018-06-05T15:55:02.813" ContentLicense="CC BY-SA 4.0" />
  <row Id="12122" PostTypeId="2" ParentId="12120" CreationDate="2018-06-03T16:30:42.453" Score="0" Body="&lt;p&gt;I had this issue with a Lucene index a few years ago (might be similar in Solr). The issue is the timestamp. Sitecore uses UTC as you have noticed to index the date which will set a time (based on the time difference to utc). When you query for the date, you also need to convert to utc in your query. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case, that wasn't even enough as there was a 'bug' in our version (8.1) with casing in the stored dates. The dates were stored uppercase but the query used lowercase.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had 2 possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;use a format (like &lt;code&gt;yyyyMMdd&lt;/code&gt;) on the date (not storing the time anymore) in the index definition&lt;/li&gt;&#xA;&lt;li&gt;override the &lt;code&gt;Sitecore.ContentSearch.Converters.IndexFieldUTCDateTimeValueConverter&lt;/code&gt; class to store the dates lowercase&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can read all details about this on &lt;a href=&quot;https://ggullentops.blogspot.com/2015/12/sitecore-lucene-index-and-datetime.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;my blog&lt;/a&gt;. Note that even if it is this isssue: as mine was on Lucene the exact solution syntax might be a little different on Solr. But it should set you on the right track.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-06-03T16:30:42.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12123" PostTypeId="2" ParentId="11596" CreationDate="2018-06-03T18:04:33.363" Score="1" Body="&lt;p&gt;To add SSL to Solr,We need to generate the ssl key by using java keyttol.exe which is in location ‘C:\Program Files\solr-6.6.2\server\etc’.Set up the certificate by using certificate installation wizard if not OpenSSL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can follow the Add SSL to Solr instructions on URL &lt;a href=&quot;https://horizontalintegration.blog/2018/03/06/sitecore-9-0-installation-with-sif/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://horizontalintegration.blog/2018/03/06/sitecore-9-0-installation-with-sif/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-06-03T18:04:33.363" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12124" PostTypeId="1" AcceptedAnswerId="12139" CreationDate="2018-06-03T18:33:31.750" Score="5" ViewCount="306" Body="&lt;p&gt;I'm trying to create a custom report on sitecore analytics to display Assets downloaded per contact. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently there is a report to show downloaded assets but it doesn't display who has downloaded those assets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I saw the following post on sitecore community forum, where a person had achieved this same functionality. But, he hasn't given much information on how he achieved that.&#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/8384&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/9/t/8384&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help/guidance in the correct path would be really helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Version: Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="4515" LastEditDate="2019-08-20T17:35:45.200" LastActivityDate="2019-08-20T17:35:45.200" Title="How to create a new Sitecore Analytics report to show assets download per contact" Tags="|xdb|experience-analytics|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12126" PostTypeId="1" CreationDate="2018-06-04T04:12:58.510" Score="3" ViewCount="564" Body="&lt;p&gt;We've solr configured for  our 8.2 solution. Recently, a new computed field has been added to the schema. This field is a datetimecollection field which has list of datetimes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code for it. We rebuilt the index after adding the new custom field.&#xA;But then querying on the datetime field using search API isn't working as expected. The data is getting stored in solr indexes as multivalued array of dates. But then when querying the field in Sitecore,the value of this field is always the MinTime (1/1/0001 12 AM). Any clue as to why it's failing.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;indexConfigurations&amp;gt;&#xA;    &amp;lt;defaultSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;scheduledpublish&quot; returnType=&quot;datetimeCollection&quot;&amp;gt;classname, assembly&amp;lt;/field&amp;gt;&#xA;      &amp;lt;/fields&amp;gt;     &#xA;    &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;  &amp;lt;/indexConfigurations&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;[IndexField(&quot;scheduledpublish&quot;)]&#xA;[IgnoreIndexFieldAttribute]&#xA;public DateTime ScheduledPublishDateTime { get; set; }&#xA;&#xA;public override object ComputeFieldValue(IIndexable indexable)&#xA;{&#xA;    Sitecore.Data.Items.Item item = indexable as SitecoreIndexableItem;&#xA;    if (item == null)&#xA;        return null;&#xA;&#xA;    var dateList = new List&amp;lt;DateTime&amp;gt;();&#xA;    if (item.Publishing.PublishDate != DateTimeOffset.MinValue.UtcDateTime)&#xA;        dateList.Add(item.Publishing.PublishDate);&#xA;    if (item.Publishing.UnpublishDate != DateTimeOffset.MaxValue.UtcDateTime)&#xA;        dateList.Add(item.Publishing.UnpublishDate);&#xA;&#xA;    if (item.Publishing.ValidFrom != DateTimeOffset.MinValue.UtcDateTime)&#xA;        dateList.Add(item.Publishing.ValidFrom);&#xA;    if (item.Publishing.ValidTo != DateTimeOffset.MaxValue.UtcDateTime)&#xA;        dateList.Add(item.Publishing.ValidTo);&#xA;&#xA;    return dateList.Count == 0 ? null : dateList;&#xA;}&#xA;&#xA; var queryResult = searchContxt.GetQueryable&amp;lt;PublishItem&amp;gt;()&#xA;                .Filter(f =&amp;gt; f.LatestVersion &amp;amp;&amp;amp;&#xA;                    f.ScheduledPublishDateTime.Between(publishSpanFrom, publishSpanUntil, Inclusion.Upper))&#xA;                .OrderBy(f =&amp;gt; f.FullPath)&#xA;                .Skip(skip)&#xA;                .Take(500)&#xA;                .GetResults();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2161" LastEditorUserId="2161" LastEditDate="2018-06-05T22:38:30.840" LastActivityDate="2018-06-07T01:06:55.257" Title="Sitecore datetimecollection computed field issue" Tags="|solr|indexing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12127" PostTypeId="1" CreationDate="2018-06-04T06:09:38.730" Score="15" ViewCount="726" Body="&lt;p&gt;We are trying to create custom analytics reports but are not able to show any data in charts.&lt;/p&gt;&#xA;&lt;p&gt;Below are the steps followed to create a custom report,&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created custom dimensions and segments.&lt;/li&gt;&#xA;&lt;li&gt;Created custom filter and added rule &lt;strong&gt;where the interaction started at the Home&lt;/strong&gt; and attached filter to segment.&lt;/li&gt;&#xA;&lt;li&gt;In core db, Added &lt;strong&gt;ExperienceAnalyticsLineChart Parameters&lt;/strong&gt; under Audience &lt;strong&gt;PageSettings&lt;/strong&gt; and added segments and metrics.&lt;/li&gt;&#xA;&lt;li&gt;In Sitecore rocks,  Added Rendering &lt;strong&gt;ExperienceAnalyticsLineChart&lt;/strong&gt; by right-clicking on Audience and adding data source as &lt;strong&gt;ExperienceAnalyticsLineChart Parameters&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Deployed created segment.&lt;/li&gt;&#xA;&lt;li&gt;If we view the reports under &lt;code&gt;Audience&lt;/code&gt;, custom reports are not showing any data other than the report title.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Please suggest to me if any configuration or steps are required to make the custom analytics report work.&lt;/p&gt;&#xA;" OwnerUserId="3786" LastEditorUserId="11347" LastEditDate="2022-05-04T07:36:03.477" LastActivityDate="2024-03-16T12:06:00.863" Title="Not able to create custom reports in experience analytics" Tags="|experience-analytics|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12128" PostTypeId="1" AcceptedAnswerId="12134" CreationDate="2018-06-04T06:23:30.240" Score="3" ViewCount="494" Body="&lt;p&gt;It is not clear to me what are differences between Sitecore SXA and Hedgehog Feydra.&#xA;Both seems to address similar issues and help frontend and backend developers to speed up the things.&#xA;I have already went through &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Feydra/Feydra-QA&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; but it seems to be outdated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I simplify what I understand so far about these products:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore SXA&lt;/strong&gt; helps frontend developers to add styles, scripts, and so on without even opening / installing Sitecore. For backend developers it adds some information architecture defaults to your tenants and sites and also lot of other useful things like components, page/partial designs, bundling, minification, CORS support, ...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Feydra&lt;/strong&gt; is really &quot;just&quot; driving cooperation between frontend and backend developers and also supports frontend developers who also (like with SXA) don't need to work directly in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is it worth paying for Hedgehog Feydra when it has less features as Sitecore SXA and Sitecore SXA is free of charge as of Sitecore 9 with consumption license?&lt;/li&gt;&#xA;&lt;li&gt;What are pros and cons of both products?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-04T06:52:29.117" LastActivityDate="2018-06-04T15:04:01.603" Title="Sitecore SXA vs. Hedgehog Feydra" Tags="|sxa|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12129" PostTypeId="1" CreationDate="2018-06-04T08:42:45.240" Score="4" ViewCount="110" Body="&lt;p&gt;It seems that the architecture of the synchronization of leads from xDB to CRM has been changed in the the new version of CRM connectore module, 1.4.1.&#xA;It is working for Contact, where by default the contact is always getting identifed using the contact guid. But, for lead it is getting identified with the identifier value but the corresponding ID field is getting set to  &lt;code&gt;00000000-0000-0000-0000-000000000000&lt;/code&gt; and the entity is not getting inserted to CRM Lead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For both lead and contact, the configuration has been done for a custom id field which is eventually the identifier in the XDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have found that there is a new Queue processor in 1.4.1 -  &lt;code&gt;/sitecore/system/Data Exchange/BoschCrm/Queues/Queue Processors/Providers/Dynamics CRM/Queue Processor&lt;/code&gt; for CRM Contacts&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We updated the processor used in this item to a custom one, and changed the following attribute to leadid as below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LeadQueueProcessor : EntitiesProcessor&#xA;    {&#xA;        public LeadQueueProcessor()&#xA;        {&#xA;            this.AttributeToUpdateOnInsertedEntities = &quot;leadid&quot;;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We then also got the code for the EntitiesProcessor class in our local and observed how it behaves for lead with leadid and then for contact with contactid..&#xA;Indside ProcessEntries method of this class, there is an issue, which we think should be fixed -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Dictionary&amp;lt;object, Entity&amp;gt; dictionary = new Dictionary&amp;lt;object, Entity&amp;gt;();&#xA;                    foreach (object key in (IEnumerable&amp;lt;object&amp;gt;)context.KeysToProcess)&#xA;                    {&#xA;                        Entity entity = workQueue.Get(key) as Entity;&#xA;                        if (entity == null)&#xA;                        {&#xA;                            this.Log(new Action&amp;lt;string&amp;gt;(logger.Error), &quot;The specified key does not correspond to an entity. This processor was instructed to handle the entry, but it cannot.&quot;, string.Format(&quot;key: {0}&quot;, key));&#xA;                            return;&#xA;                        }&#xA;                        dictionary.Add(key, entity);&#xA;                    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The keys from the context.KeysToProcess get set to the CRM contact guid for a contact but it is getting set to the identifier value for a lead. And then for a lead when it tries to load the entity using the piece of code - &quot; Entity entity = workQueue.Get(key) as Entity;&quot;, an entity is created with an id of &quot; &lt;code&gt;00000000-0000-0000-0000-000000000000&lt;/code&gt;&quot;. This entity then never gets inserted to CRM Lead,.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a contact, the key somehow gets set to contact guid and the items are updated in CRM. CRM pipeline batch and the corresponding pipelines are though not configured with this contactid in any of the steps.&lt;/p&gt;&#xA;" OwnerUserId="3788" LastEditorUserId="2727" LastEditDate="2018-06-04T08:57:50.773" LastActivityDate="2018-06-04T08:57:50.773" Title="xDB to CRM sync for leads not working in DEF 1.4.1" Tags="|data-exchange-framework|dynamics-crm-module|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12130" PostTypeId="2" ParentId="12128" CreationDate="2018-06-04T09:54:20.227" Score="3" Body="&lt;p&gt;Writing all the pros and cons would lead us too far...  but actually Feydra and SXA are two completely different things. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Feydra is a tool that will help frontend devs working with Sitecore without actually needing Sitecore locally (well, it has some more features).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA is actually so much more... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you are using SXA it has indeed functionality that makes most of Feydra obsolete so you won't need it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Feydra is a development tool - the implementer will choose whether or not to use it. SXA is something that goes much further so you will probably discuss this with the customer whether to use it or not. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-06-04T09:54:20.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12131" PostTypeId="2" ParentId="12101" CreationDate="2018-06-04T11:56:49.123" Score="2" Body="&lt;p&gt;From Error, It seems that there is some issue with the component you have added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remove all the component you have added using page design or change the page design to Default one. And if page loads for you in experience editor with Default page design then there must be some issue with you component configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your error is locating the Main placeholder. If you have used partial design for main container then remove that specific partial design and try to view the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should work fine, if you haven't faced any issue during installation of SXA and site creation.&lt;/p&gt;&#xA;" OwnerUserId="3261" LastEditorUserId="3261" LastEditDate="2018-06-10T06:44:34.493" LastActivityDate="2018-06-10T06:44:34.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12132" PostTypeId="1" AcceptedAnswerId="12133" CreationDate="2018-06-04T12:03:55.440" Score="0" ViewCount="724" Body="&lt;p&gt;When opening the experience editor on the standard values of a template, the sc_site=website parameter is passed in the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my multisite setup I have different sites specified. The codebase takes this site into account to fetch site specific configuration, hence the page has a lot of errors when it is passed the &quot;website&quot; site as sc_site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can work around this by changing the sc_site manually. But I would like to automate this and build some logic to pass the correct sc_site on certain standard values of templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions which pipeline I could break in to?&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-04T12:24:15.170" Title="sc_site on template standard values" Tags="|experience-editor|content-editor|templates|" AnswerCount="1" CommentCount="0" ClosedDate="2018-06-04T13:41:06.730" ContentLicense="CC BY-SA 4.0" />
  <row Id="12133" PostTypeId="2" ParentId="12132" CreationDate="2018-06-04T12:24:15.170" Score="1" Body="&lt;p&gt;I have posted an answer to this that might work for you here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8048/dynamic-site-provider-experience-editor-resolves-to-website&quot;&gt;Dynamic Site Provider Experience Editor Resolves to Website&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I updates the Experience Editor Command and Preview Command to set the value of sc_site correctly.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-06-04T12:24:15.170" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12134" PostTypeId="2" ParentId="12128" CreationDate="2018-06-04T13:17:11.573" Score="8" Body="&lt;p&gt;SXA and Feydra are two completely different products attempting to solve completely different requirements. It's like comparing a convenience store (7-11) to a specialty drink store (Smoothie King).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SXA&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA is a product that is in use during the development life-cycle and in production. For example, it includes Creative Exchange to assist developers in pushing css/js associated with your theme into the CMS. There is also a site provider that is driven by items rather than a config; which is what makes creating new tenants on the fly possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Feydra&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Feydra is a product that is in use during the development life-cycle. It provides a way for developers to test out their css/js on a server running Sitecore, without needing to have it locally. The tag line on the TDS website says &quot;Feydra: Sitecore Front-End Development Tool&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Answers:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Both products bring value. Depending on the makeup of your team and the customer that will ultimately be responsible for maintaining the site, you can build a business case for each product independently. Referring to my analogy above, both stores sell drinks but are not the same type of store and people go to them depending on their needs. If you are really thirsty, you might go to both.&lt;/li&gt;&#xA;&lt;li&gt;Pros and cons - each product has a finite list of features that can be evaluated within the scope of each project.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-06-04T14:20:53.397" LastActivityDate="2018-06-04T14:20:53.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12136" PostTypeId="2" ParentId="12128" CreationDate="2018-06-04T15:04:01.603" Score="0" Body="&lt;p&gt;I think the two answers above make it clear that these are two different tools altogether.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to add that Feydra seems to rely on back-end developers building fairly well structured HTML which I think is a bit of a reach in some cases. Its main advantage from what I see is letting front-end developers avoid the hassle of having a local Sitecore instance.&lt;/p&gt;&#xA;" OwnerUserId="1727" LastActivityDate="2018-06-04T15:04:01.603" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12137" PostTypeId="2" ParentId="6757" CreationDate="2018-06-04T17:23:41.647" Score="0" Body="&lt;p&gt;To See if the sitecore content field has been indexed in Solr,we can use the query window from the solr dashboard panel.For example, we have Solr running on 8994 and ned to test for an indexed field title in web index, we can use &lt;a href=&quot;http://localhost:8984/solr/#/sitecore_web_index/query&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8984/solr/#/sitecore_web_index/query&lt;/a&gt; and type title_t:test in the text box to see if the field retrieves results.&#xA;see screenshot below&lt;a href=&quot;https://i.stack.imgur.com/LGjyi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LGjyi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-06-04T17:23:41.647" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12138" PostTypeId="2" ParentId="11927" CreationDate="2018-06-04T17:31:12.730" Score="3" Body="&lt;p&gt;Looking at the logs you posted, it seems the Script can't find a valid hostname required to continue the installation further. Please make sure:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The bindings with HTTPS (port 443) must be there in your IIS for your&#xA;website. &lt;/li&gt;&#xA;&lt;li&gt;Also the hostname of the Sitecore website must be in the&lt;br&gt;&#xA;&lt;code&gt;AllowedOrigins&lt;/code&gt; Property of the &lt;code&gt;config.json&lt;/code&gt; file.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Once done, try re-executing the steps again, you should be good.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-06-04T19:25:15.880" LastActivityDate="2018-06-04T19:25:15.880" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12139" PostTypeId="2" ParentId="12124" CreationDate="2018-06-04T17:32:09.067" Score="6" Body="&lt;p&gt;To be able to insert new fields into the analytics index, you should have the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Custom Crawler&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Index Aggregator&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Pipeline&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The crawler inherits from the &lt;code&gt;ObserverCrawler&amp;lt;T&amp;gt;&lt;/code&gt; type. The generics type identifies the kind of &lt;code&gt;IIndexable&lt;/code&gt; object the crawler handles. For example, one of the crawler handles visit objects and another crawler handles contact objects.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.ContentSearch.Analytics.Crawlers;&#xA;using Sitecore.Extension.Analytics.Models;&#xA;&#xA;public class AnalyticsDownloadCrawler : AnalyticsObserverCrawler&amp;lt;DownloadEventIndexable&amp;gt;&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The implementation of the &lt;code&gt;DownloadEventIndexable&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Globalization;&#xA;using Sitecore.Abstractions;&#xA;using Sitecore.Analytics.Model;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.Extension.Analytics.Args;&#xA;using Sitecore.Extension.Analytics.Pipelines;&#xA;&#xA;public class DownloadEventIndexable : AbstractIndexable&#xA;{&#xA;    public DownloadEventIndexable(PageEventData eventData, string url, Guid interactionId, Guid contactId)&#xA;    {&#xA;        var str = interactionId + url + eventData.DataKey;&#xA;        this.Id = (IndexableId&amp;lt;string&amp;gt;)str;&#xA;        this.UniqueId = new IndexableUniqueId&amp;lt;Guid, string&amp;gt;(contactId, $&quot;downloadEvent|{str}&quot;);&#xA;        this.DataSource = &quot;sitecore_aggregation&quot;;&#xA;        this.AbsolutePath = string.Empty;&#xA;        this.Culture = CultureInfo.GetCultureInfo(ContentSearchManager.SearchConfiguration.AnalyticsDefaultLanguage);&#xA;        this.LoadFields(eventData, url, interactionId, contactId);&#xA;    }&#xA;&#xA;    public override void LoadAllFields()&#xA;    {&#xA;    }&#xA;&#xA;    private void LoadFields(PageEventData eventData, string url, Guid interactionId, Guid contactId)&#xA;    {&#xA;        this.Fields = DownloadEventIndexableLoadFieldsPipeline.Run(ContentSearchManager.Locator.GetInstance&amp;lt;ICorePipeline&amp;gt;(), new DownloadEventIndexableLoadFieldsPipelineArgs(eventData, url, interactionId, contactId));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to implement a pipeline which will load the fields and add it to the index. Define the arguments for the pipeline first as shown below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Analytics.Model;&#xA;using Sitecore.ContentSearch.Analytics.Pipelines;&#xA;&#xA;public class DownloadEventIndexableLoadFieldsPipelineArgs : IndexableLoadFieldsPipelineArgs&#xA;{&#xA;    public DownloadEventIndexableLoadFieldsPipelineArgs(PageEventData eventData, string url, Guid interactionId, Guid contactId)&#xA;    {&#xA;        this.EventData = eventData;&#xA;        this.Url = url;&#xA;        this.InteractionId = interactionId;&#xA;        this.ContactId = contactId;&#xA;    }&#xA;&#xA;    public PageEventData EventData { get; private set; }&#xA;&#xA;    public string Url { get; private set; }&#xA;&#xA;    public Guid InteractionId { get; private set; }&#xA;&#xA;    public Guid ContactId { get; private set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you have implemented the arguments, create the pipeline which will trigger the &lt;code&gt;loadfields&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using Sitecore.Abstractions;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Diagnostics;&#xA;using Sitecore.Extension.Analytics.Args;&#xA;&#xA;public class DownloadEventIndexableLoadFieldsPipeline&#xA;{&#xA;    public static List&amp;lt;IIndexableDataField&amp;gt; Run(ICorePipeline pipeline, DownloadEventIndexableLoadFieldsPipelineArgs args, string pipelineName = &quot;downloadeventindexable.loadfields&quot;)&#xA;    {&#xA;        try&#xA;        {&#xA;            pipeline.Run(pipelineName, args);&#xA;        }&#xA;        catch&#xA;        {&#xA;            ObservationLog.Log.Debug(() =&amp;gt; &quot;Could not resolve pipeline - &quot; + pipelineName);&#xA;        }&#xA;        return args.Fields;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the pipeline which will add the data to the index fields. If you want to change or add new fields, this is where it should be done.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using Sitecore.Analytics.Model;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Extension.Analytics.Args;&#xA;&#xA;public class DownloadLoadFields : DownloadIndexableLoadFieldsProcessor&#xA;{&#xA;    protected override IEnumerable&amp;lt;IIndexableDataField&amp;gt; GetFields(DownloadEventIndexableLoadFieldsPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        PageEventData eventData = args.EventData;&#xA;&#xA;        Assert.IsNotNull(eventData, &quot;eventData&quot;);&#xA;&#xA;        List&amp;lt;IIndexableDataField&amp;gt; indexableDataFieldList = new List&amp;lt;IIndexableDataField&amp;gt;()&#xA;        {&#xA;            new IndexableDataField&amp;lt;Guid&amp;gt;(&quot;visit.InteractionId&quot;, args.InteractionId),&#xA;            new IndexableDataField&amp;lt;Guid&amp;gt;(&quot;contact.Id&quot;, args.ContactId),&#xA;            new IndexableDataField&amp;lt;string&amp;gt;(&quot;contact.download&quot;, args.EventData.ItemId.ToString()),&#xA;            new IndexableDataField&amp;lt;string&amp;gt;(&quot;type&quot;, &quot;assetdownloadevent&quot;)&#xA;        };&#xA;&#xA;        return indexableDataFieldList;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to implement the processor so that when the pipeline runs, it can resolve it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.Extension.Analytics.Args;&#xA;&#xA;public abstract class DownloadIndexableLoadFieldsProcessor&#xA;{&#xA;    public virtual void Process(DownloadEventIndexableLoadFieldsPipelineArgs args)&#xA;    {&#xA;        if (args == null)&#xA;            throw new ArgumentNullException(nameof(args));&#xA;        args.Fields.AddRange(this.GetFields(args));&#xA;    }&#xA;&#xA;    protected abstract IEnumerable&amp;lt;IIndexableDataField&amp;gt; GetFields(DownloadEventIndexableLoadFieldsPipelineArgs args);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to have the aggregator which will create a new DownloadEventIndexable object.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore.Analytics.Aggregation.Pipeline;&#xA;using Sitecore.Analytics.Model;&#xA;using Sitecore.ContentSearch.Analytics.Aggregators;&#xA;using Sitecore.ContentSearch.Analytics.Extensions;&#xA;using Sitecore.Extension.Analytics.Models;&#xA;&#xA;public class AnalyticsDownloadEventAggregator : ObservableAggregator&amp;lt;DownloadEventIndexable&amp;gt;&#xA;{&#xA;    public AnalyticsDownloadEventAggregator(string name) : base(name)&#xA;    {&#xA;    }&#xA;&#xA;    protected override IEnumerable&amp;lt;DownloadEventIndexable&amp;gt; ResolveIndexables(AggregationPipelineArgs args)&#xA;    {&#xA;        if (args.Context.Contact == null)&#xA;        {&#xA;            return Enumerable.Empty&amp;lt;DownloadEventIndexable&amp;gt;();&#xA;        }&#xA;&#xA;        if (!args.Context.Contact.ShouldBeIndexed())&#xA;        {&#xA;            ContentSearch.Diagnostics.ObservationLog.Log.Debug(() =&amp;gt; $&quot;The visit page events will not be indexed because contact {args.Context.Contact.Id} does not have an identifier and the system is not configured to index anonymous contacts and their interactions.&quot;);&#xA;&#xA;            return Enumerable.Empty&amp;lt;DownloadEventIndexable&amp;gt;();&#xA;        }&#xA;&#xA;        List&amp;lt;PageData&amp;gt; pages = args.Context.Visit.Pages;&#xA;&#xA;        Func&amp;lt;PageData, PageEventData, DownloadEventIndexable&amp;gt; resultSelector = (page, @event) =&amp;gt; new DownloadEventIndexable(@event, page.Url.ToString(), args.Context.Visit.InteractionId, args.Context.Contact.Id.Guid);&#xA;&#xA;        return pages.SelectMany(page =&amp;gt; page.PageEvents, resultSelector);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once the code implementation has been done, you need to patch the &lt;code&gt;Sitecore.ContentSearch.Lucene.Index.Analytics.config&lt;/code&gt; and &lt;code&gt;Sitecore.ContentSearch.Analytics.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.ContentSearch.Analytics.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;group groupName=&quot;analytics.aggregation&quot;&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;interactions&amp;gt;            &#xA;            &amp;lt;!-- Custom Download Aggregator --&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Extension.Analytics.Aggregators.AnalyticsDownloadEventAggregator, Sitecore.Extension.Analytics&quot;&amp;gt;&#xA;              &amp;lt;param desc=&quot;name&quot;&amp;gt;DownloadAggregationObservable&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;!-- END Custom Download Aggregator --&amp;gt;         &#xA;          &amp;lt;/interactions&amp;gt;          &#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/group&amp;gt;    &#xA;      &amp;lt;downloadeventindexable.loadfields&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Extension.Analytics.Pipelines.DownloadLoadFields, Sitecore.Extension.Analytics&quot; /&amp;gt;&#xA;      &amp;lt;/downloadeventindexable.loadfields&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.ContentSearch.Lucene.Index.Analytics.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_analytics_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;!-- Custom Download Crawler --&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.Extension.Analytics.Indexes.AnalyticsDownloadCrawler, Sitecore.Extension.Analytics&quot;&amp;gt;&#xA;                &amp;lt;CrawlerName&amp;gt;Lucene Download Crawler&amp;lt;/CrawlerName&amp;gt;&#xA;                &amp;lt;ObservableName&amp;gt;DownloadAggregationObservable&amp;lt;/ObservableName&amp;gt;&#xA;                &amp;lt;NumberOfSecondsToQueue&amp;gt;60&amp;lt;/NumberOfSecondsToQueue&amp;gt;&#xA;                &amp;lt;MinimumQueueSize&amp;gt;500&amp;lt;/MinimumQueueSize&amp;gt;&#xA;                &amp;lt;MaximumQueueSize&amp;gt;50000&amp;lt;/MaximumQueueSize&amp;gt;&#xA;                &amp;lt;ThrottlingEnabled&amp;gt;False&amp;lt;/ThrottlingEnabled&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;              &amp;lt;!-- END Custom Download Crawler --&amp;gt;&#xA;&#xA;            &amp;lt;/locations&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is a screenshot of the values in the sitecore analytics index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bAjgR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bAjgR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the list of dlls I have referenced in my solution&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore.Analytics.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Aggregation.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Model.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.kernel.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Abstractions.dll&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &lt;code&gt;Sitecore.Extension.Analytics&lt;/code&gt; namespace is a custom from the solution where I implemented the code.&lt;/li&gt;&#xA;&lt;li&gt;I am using Lucene for the Sitecore Analytics index.&lt;/li&gt;&#xA;&lt;li&gt;I have not implemented the Analytics dashboard.&lt;/li&gt;&#xA;&lt;li&gt;You can find more information from my blogpost &lt;a href=&quot;https://hishaamn.wordpress.com/2018/06/06/sitecore-add-my-stuff-to-analytics-index/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-06-06T10:49:32.230" LastActivityDate="2018-06-06T10:49:32.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12140" PostTypeId="1" AcceptedAnswerId="12185" CreationDate="2018-06-04T19:16:09.933" Score="1" ViewCount="87" Body="&lt;p&gt;In disconnected mode I have a &quot;value&quot; that I don't have in connected mode.&#xA;So if I need to do this:&#xA;&lt;code&gt;{{ fields.items.value.length }}&lt;/code&gt; it's working only in disconnected mode and not after a deploy...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Disconnected (fields.items.value.length):&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2B8aR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2B8aR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Connected (fields.items.length):&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EP96r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EP96r.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can I do ?&#xA;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3659" LastActivityDate="2018-06-06T14:58:05.180" Title="Sitecore JSS with Vue - Json are not identical between connected and disconnected mode" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12142" PostTypeId="2" ParentId="10036" CreationDate="2018-06-04T20:38:26.180" Score="0" Body="&lt;p&gt;I needed to add the following configuration to make custom field shown in the solr Index.I am trying to add it to a custom index(not default indexes).Adding FieldMap tag will map the field and index it. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;CustomDetails&amp;gt;{B713DC5E-1A10-40D5-A9C0-3DFF1431D05B}&amp;lt;/CustomDetails&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;FacetCategory&quot; returnType=&quot;string&quot;&amp;gt;Foundation.Location.Repository.FacetsComputedField, Foundation.Location&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;         &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;           &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                        &amp;lt;fieldType fieldName=&quot;FacetCategory&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;          &amp;lt;/fieldNames&amp;gt;&#xA;        &amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-06-04T20:38:26.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12144" PostTypeId="1" CreationDate="2018-06-04T23:04:37.397" Score="3" ViewCount="445" Body="&lt;p&gt;I have to add some new property on the commerce customer's profile of a commerce 8.2.1 solution.&#xA;I don't have any particular external integration needs.&#xA;All the user's data can be stored in sitecore/sitecore commerce, the only needs I have is to keep the editing support of the user manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before posting I followed this guide from version 8.1:&#xA;&lt;a href=&quot;http://commercesdn.sitecore.net/SCpbCS81/SitecoreCommerceConnectGuide/en-us/#Concepts/c_ProfileStoreFundamentals.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SCpbCS81/SitecoreCommerceConnectGuide/en-us/#Concepts/c_ProfileStoreFundamentals.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hovewer I found some issues:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If I set a datatype other than string in the web.config, I get an exception at runtime&lt;/li&gt;&#xA;&lt;li&gt;If I set the datatype as string, linked to an item via droplink (so It would be stored as a string Guid), I can edit the field from sitecore and it stores the field successfully, but when I try to set the same field via code, the field is left blank&lt;/li&gt;&#xA;&lt;li&gt;If the field is a datatype string type, but a simple single line instead of a link to an item, I'm able to save the data into it the same way I do (that not work), for the linked field.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To set the custom user field via code I do the following (assume that user is a valid CommerceUser object):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var userProfile = User.FromName(user.UserName, true).Profile;&#xA;userProfile.SetCustomProperty(propertyName, propertyValue);&#xA;userProfile.Save();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I skipping some steps or doing something wrong?&lt;/p&gt;&#xA;" OwnerUserId="2638" LastEditorUserId="2056" LastEditDate="2018-06-05T06:10:53.203" LastActivityDate="2018-06-06T08:21:33.787" Title="Which is the correct way to customize the Commerce User Profile?" Tags="|sitecore-commerce|user-profile|commerce-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12146" PostTypeId="2" ParentId="12085" CreationDate="2018-06-05T04:53:08.210" Score="-4" Body="&lt;p&gt;The CORS is to configure cross domain request!! You will not get any error as it is not related to your domain and hosting setup, it will impact to other domain trying to access your APIs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/developing/developing_with_sitecore/sitecoreservicesclient/the_entityservice_and_cors&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/developing/developing_with_sitecore/sitecoreservicesclient/the_entityservice_and_cors&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.w3.org/TR/cors/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.w3.org/TR/cors/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can refer to below example for clear understanding and use of CORS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/web-api/overview/security/enabling-cross-origin-requests-in-web-api&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/aspnet/web-api/overview/security/enabling-cross-origin-requests-in-web-api&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2018-06-05T04:53:08.210" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12147" PostTypeId="2" ParentId="12144" CreationDate="2018-06-05T06:00:15.687" Score="1" Body="&lt;p&gt;Code that you posted is for setting custom property on default user object in Sitecore not for Sitecore CommerceUser / profile object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is not much documentation on how to extend Sitecore CommerceUser in 8.2.1. You need to do it in Commerce Server Manager. You need to extend UserObject under Profile node and also make some SQL changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This walk-throughs will help you work with custom profile for Sitecore CommerceUser:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://davehetal.wordpress.com/2017/08/20/adding-new-property-to-userobject-in-sitecore-commerce/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://davehetal.wordpress.com/2017/08/20/adding-new-property-to-userobject-in-sitecore-commerce/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SCpbCS82/SitecoreCommerceGettingStarted/en-us/#Task/t_EditProfileSchemaforSCIntegration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SCpbCS82/SitecoreCommerceGettingStarted/en-us/#Task/t_EditProfileSchemaforSCIntegration.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SCpbCS82/SitecoreCommerceGettingStarted/en-us/#Concepts/c_ProfileStoreFundamentals.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SCpbCS82/SitecoreCommerceGettingStarted/en-us/#Concepts/c_ProfileStoreFundamentals.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.bugdebugzone.com/2016/02/commerce-server-how-to-add-property-to.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.bugdebugzone.com/2016/02/commerce-server-how-to-add-property-to.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Maybe also take a look here:&#xA;&lt;a href=&quot;https://blog.ryanbailey.co.nz/2017/06/sitecore-commerce-server-profile.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.ryanbailey.co.nz/2017/06/sitecore-commerce-server-profile.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As it was hard to extend default commerce user profile, we have used regular Sitecore users instead.&#xA;In our project last year, we have basically omitted this special Commerce user profile as it was not clear how it will be used in Sitecore Commerce 9. We planned to do upgrade. We have created regular Sitecore users under custom domain with custom profile template. You can do the same by following this blog post for instance -&gt; &lt;a href=&quot;https://briancaos.wordpress.com/2014/06/12/sitecore-users-custom-profile-properties/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2014/06/12/sitecore-users-custom-profile-properties/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-06T08:21:33.787" LastActivityDate="2018-06-06T08:21:33.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12148" PostTypeId="2" ParentId="12121" CreationDate="2018-06-05T06:44:45.513" Score="1" Body="&lt;p&gt;To resolve this issue:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Take a look whether you still have old dlls that you added custom routes with previously in your bin folder. If they are there, they are still therefore applied even though you have removed code. You need to remove them.&lt;/li&gt;&#xA;&lt;li&gt;Check also whether you have some old config files under App_Config folder left and not deleted. They could be also still applied. They need to be removed.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-06-05T06:44:45.513" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12150" PostTypeId="1" AcceptedAnswerId="12151" CreationDate="2018-06-05T08:02:06.083" Score="3" ViewCount="647" Body="&lt;p&gt;I am trying to create custom facets on new contacts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using this code : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            var model = client.Model;&#xA;            Contact contact = new Contact(new ContactIdentifier(&quot;external&quot;, Guid.NewGuid().ToString(), ContactIdentifierType.Known));&#xA;            client.AddContact(contact);&#xA;&#xA;&#xA;            MyConsumerProfileFacet facet = new MyConsumerProfileFacet ();&#xA;            facet.Email = &quot;myemail@gmail.com&quot;;&#xA;            facet.LastName = &quot;aaaaaaaa&quot;;&#xA;            facet.FirstName = &quot;bbbbbbb&quot;;&#xA;&#xA;             client.SetFacet(contact, MyConsumerProfileFacet .DefaultFacetKey, facet);&#xA;&#xA;            client.Submit();&#xA;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On submit I have next exception : &lt;strong&gt;The type of this instance does not correspond to any type in the model&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On xConnect I deployed my json model and it looks like : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Types&quot;: {&#xA;    &quot;X.Feature.DynamicsCrm.Facets.ConsumerProfileFacet&quot;: {&#xA;      &quot;Type&quot;: &quot;Facet&quot;,&#xA;      &quot;BaseType&quot;: &quot;Sitecore.XConnect.Facet&quot;,&#xA;      &quot;ClrType&quot;: &quot;X.Feature.DynamicsCrm.Facets.ConsumerProfileFacet, X.Feature.DynamicsCrm, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot;,&#xA;      &quot;Properties&quot;: {&#xA;        &quot;Websitegroup&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;Subscribetoportalnews&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;Subscribetoportalemail&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;Subscribetoportalblog&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        }, &#xA;         &quot;Email&quot;: {&#xA;      &quot;Type&quot;: &quot;String&quot;&#xA;        }, &#xA;       // other properties &#xA;       }&#xA;   }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I used default Facets it works perfectly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I am doing wrong ? &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-06-05T09:11:48.413" Title="xConnect Sitecore Context add custom facets to new contacts" Tags="|xconnect|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12151" PostTypeId="2" ParentId="12150" CreationDate="2018-06-05T09:11:48.413" Score="7" Body="&lt;p&gt;You need to add your custom model into config file which will patch \App_Config\Sitecore\XConnect.Client.Configuration\Sitecore.XConnect.Client.config at the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something similar to this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;xconnect&amp;gt;&#xA;    &amp;lt;runtime type=&quot;Sitecore.XConnect.Client.Configuration.RuntimeModelConfiguration,Sitecore.XConnect.Client.Configuration&quot;&amp;gt;&#xA;        &amp;lt;schemas hint=&quot;list:AddModelConfiguration&quot;&amp;gt;&#xA;            &amp;lt;!-- value of 'name' property must be unique --&amp;gt;&#xA;            &amp;lt;schema name=&quot;documentationmodel&quot; type=&quot;Sitecore.XConnect.Client.Configuration.StaticModelConfiguration,Sitecore.XConnect.Client.Configuration&quot; patch:after=&quot;schema[@name='collectionmodel']&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;modeltype&quot;&amp;gt;Documentation.Model.CollectionModel, Documentation.Model&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/schema&amp;gt;&#xA;        &amp;lt;/schemas&amp;gt;&#xA;    &amp;lt;/runtime&amp;gt;&#xA;    &amp;lt;/xconnect&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More information can be found here:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/managing-model/deployment.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/managing-model/deployment.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-06-05T09:11:48.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12154" PostTypeId="1" AcceptedAnswerId="12155" CreationDate="2018-06-05T12:29:35.013" Score="2" ViewCount="100" Body="&lt;p&gt;Installed SC9 update 1 using sitecore market place. I've been trying to setup JSS on Web Apps but not having any luck. When I try to install JSS Server package the installation process keeps spinning forever. I keep getting below error when trying to install JSS in azure web app. Works fine locally with SOLR. Any idea?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #4 04:06:40 FATAL Could not add field {9EDD2FCC-04AE-4230-84B4-C46C963F2284} : parameters for indexable sitecore://master/{5F8249B6-9290-4061-BD92-8DD72C7C6F7C}?lang=en&amp;amp;ver=1&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.ApplicationException&#xA;      Message: Conflict between type of incomming field 'Collection(Edm.String)' and field in schema 'Edm.String'&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source: Sitecore.ContentSearch.Azure&#xA;      at Sitecore.ContentSearch.Azure.Schema.CloudSearchIndexSchemaBuilder.AddFields(IndexedField[] fileds)&#xA;      at Sitecore.ContentSearch.Azure.Schema.CloudSearchIndexSchemaBuilder.AddField(String fieldName, Object fieldValue, CloudSearchFieldConfiguration configuration, CultureInfo culture)&#xA;      at Sitecore.ContentSearch.Azure.CloudSearchDocumentBuilder.AddField(String cloudName, Object fieldValue, CloudSearchFieldConfiguration cloudConfiguration, Boolean append, Boolean fieldIsEmpty)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Added this on &lt;code&gt;&amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;&lt;/code&gt; but didn't solve forever installation spinner issue:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Parameters&amp;gt;{9EDD2FCC-04AE-4230-84B4-C46C963F2284}&amp;lt;/Parameters&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Side effect (I think):&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspect because the installation hasn't been done properly I keep getting this error once JSS deployment has been done:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.&#xA;  in img&#xA;Invariant Violation: The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.&#xA;  in img&#xA;  at invariant (D:\home\site\wwwroot\dist\myapp\server.bundle.js:873:15)&#xA;  at assertValidProps (D:\home\site\wwwroot\dist\myapp\server.bundle.js:9457:63)&#xA;  at ReactDOMServerRenderer.renderDOM (D:\home\site\wwwroot\dist\myapp\server.bundle.js:11177:5)&#xA;  at ReactDOMServerRenderer.render (D:\home\site\wwwroot\dist\myapp\server.bundle.js:11031:21)&#xA;  at ReactDOMServerRenderer.read (D:\home\site\wwwroot\dist\myapp\server.bundle.js:10967:19)&#xA;  at Object.renderToStaticMarkup&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Kam and CharlesWood suggested to deploy with --env development but that didn't help either.&#xA;&lt;a href=&quot;https://sitecorechat.slack.com/archives/C7JT0NRQW/p1527930809000016&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorechat.slack.com/archives/C7JT0NRQW/p1527930809000016&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="2056" LastEditDate="2018-06-05T12:52:34.990" LastActivityDate="2018-06-06T09:17:06.993" Title="Unable to install JSS Server Package on Azure Web Apps" Tags="|azure-search|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12155" PostTypeId="2" ParentId="12154" CreationDate="2018-06-05T12:33:23.863" Score="3" Body="&lt;p&gt;This issue is related to Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there are two or more fields with the same name but different types that need to be indexed, this causes issues with Azure Search. In this case, Sitecore field types are mapped to different Azure Search Edm types. As a result, when rebuilding an index, Sitecore XP tries to add values of different types to the same field, which is not supported by Azure and causes a conflict between the type of the incoming field and the field in the schema.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two solutions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rename the field&lt;/li&gt;&#xA;&lt;li&gt;Exclude the filed from indexing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More information and also detailed solutions can be found here:&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/137856&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/137856&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-06-05T12:33:23.863" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12157" PostTypeId="1" CreationDate="2018-06-05T13:59:09.410" Score="0" ViewCount="142" Body="&lt;p&gt;We use 2 Checklist Filter to filter Search Result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem we faced  is the second filter affect the first filter and that is required (by narrowing filter) but this doesn't happen when using the first filter and the second filter doesn't affect &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: filtration of Search Result is working fine in both cases &lt;/p&gt;&#xA;" OwnerUserId="3721" LastEditorUserId="851" LastEditDate="2018-06-05T14:15:57.813" LastActivityDate="2018-06-05T14:20:37.853" Title="SXA 1.6 CheckList filter Issue" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12158" PostTypeId="1" CreationDate="2018-06-05T14:00:31.197" Score="1" ViewCount="80" Body="&lt;p&gt;I know Sitecore 8.1 is not compatible with SQL Always ON as per Sitecore documentation. That is a feature released with 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, would anybody know why specifically it wouldn`t work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="988" LastEditorUserId="73" LastEditDate="2018-06-05T16:05:58.953" LastActivityDate="2018-06-05T16:05:58.953" Title="Sitecore 8.1 with SQL Always ON" Tags="|sql-database|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12159" PostTypeId="2" ParentId="12157" CreationDate="2018-06-05T14:20:37.853" Score="1" Body="&lt;p&gt;Play with &lt;code&gt;Collapse on selection&lt;/code&gt; setting in the Control Properties dialog:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3M1Wm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3M1Wm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this doesn't help then maybe simply your data is built that way that one of the facets are not narrowing the second one and the filtering is working but simply there is nothing to filter.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-05T14:20:37.853" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12162" PostTypeId="2" ParentId="9058" CreationDate="2018-06-05T16:08:19.007" Score="2" Body="&lt;p&gt;Another solution and basically the simplest one is to remove dlls that add custom routes. You need to identify them and remove from your bin folder.&#xA;You can try to add some suffix to the end of the file to try to identify which one is the &quot;faulty&quot; something like &quot;asssembly.dll.disabled&quot; instead of &quot;asssembly.dll&quot;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-06-05T16:08:19.007" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12163" PostTypeId="1" AcceptedAnswerId="12165" CreationDate="2018-06-05T16:11:52.927" Score="7" ViewCount="779" Body="&lt;p&gt;Is it possible to perform a patch that has to match on more than on attribute?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My issue is that I'd like to patch after:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;processors&amp;gt;&#xA;    &amp;lt;uiDeleteItems&amp;gt;&#xA;      &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;Execute&quot;/&amp;gt;&#xA;    &amp;lt;/uiDeleteItems&amp;gt;&#xA;  &amp;lt;/processors&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Typically, I'd patch with something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;processors&amp;gt;&#xA;    &amp;lt;uiDeleteItems&amp;gt;&#xA;      &amp;lt;processor mode=&quot;on&quot; type=&quot;Custom.DeleteItems, Custom&quot; method=&quot;RemoteDelete&quot; patch:after=&quot;*[@type='Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel']&quot;/&amp;gt;&#xA;    &amp;lt;/uiDeleteItems&amp;gt;&#xA;  &amp;lt;/processors&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;processors&amp;gt;&#xA;    &amp;lt;uiDeleteItems&amp;gt;&#xA;      &amp;lt;processor mode=&quot;on&quot; type=&quot;Custom.DeleteItems, Custom&quot; method=&quot;RemoteDelete&quot; patch:after=&quot;*[@method='Execute']&quot;/&amp;gt;&#xA;    &amp;lt;/uiDeleteItems&amp;gt;&#xA;  &amp;lt;/processors&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is that there are previous processors that match on these descriptors prior to the one I'm targeting:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Buckets.Pipelines.UI.ItemDeleted, Sitecore.Buckets&quot; method=&quot;Execute&quot; mode=&quot;on&quot; patch:source=&quot;Sitecore.Buckets.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Type (in order they appear):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;Confirm&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckTemplateLinks&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckCloneLinks&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckLinks&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckLanguage&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;UncloneItems&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;Execute&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;PostAction&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(and many more for type)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what I really need to do is &lt;code&gt;patch:after&lt;/code&gt; when the type &lt;em&gt;and&lt;/em&gt; method equal my values. Is this possible out-of-the-box?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-- Edit after side-barring with Hishaam --&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Full Showconfig output of elements in question:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;uiDeleteItems&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckPermissions&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.Buckets.Pipelines.UI.ItemDeleted, Sitecore.Buckets&quot; method=&quot;Execute&quot; mode=&quot;on&quot; patch:source=&quot;Sitecore.Buckets.config&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;Confirm&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckTemplateLinks&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckCloneLinks&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckLinks&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckLanguage&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.PathAnalyzer.Client.Pipelines.DeleteItems.DeletePathAnalyzerItems,Sitecore.PathAnalyzer.Client&quot; method=&quot;CheckDefaultSiteMapGroup&quot; mode=&quot;on&quot; patch:source=&quot;Sitecore.PathAnalyzer.Client.config&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.PathAnalyzer.Client.Pipelines.DeleteItems.DeletePathAnalyzerItems,Sitecore.PathAnalyzer.Client&quot; method=&quot;CheckMapItems&quot; mode=&quot;on&quot; patch:source=&quot;Sitecore.PathAnalyzer.Client.config&quot;/&amp;gt;&#xA;  &amp;lt;processor type=&quot;Sitecore.ContentTesting.Pipelines.DeleteItems.DeleteTestDefinitionItems,Sitecore.ContentTesting&quot; method=&quot;CheckActiveTests&quot; mode=&quot;on&quot; patch:source=&quot;Sitecore.ContentTesting.config&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;UncloneItems&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;Execute&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;PostAction&quot;/&amp;gt;&#xA;&amp;lt;/uiDeleteItems&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my case, I can certainly target &lt;code&gt;method=&quot;PostAction&quot;&lt;/code&gt; and &lt;code&gt;patch:before&lt;/code&gt;. I typically like to insert my patches logically, in the event an additional patch is implemented. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Logically, I would say &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;My processor should execute after the&#xA;  &lt;code&gt;type='Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel'&#xA;  method='Execute'&lt;/code&gt; processor&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Not necessarily &quot;Before the PostAction processor&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will leave the question open as I'm curious if what I originally asked is possible OOTB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also- the new load order technique in Sitecore 9 would provide a mechanism to accomplish what I'm after, but this is on 8.2u4.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-06-05T16:54:08.703" LastActivityDate="2019-04-03T15:58:40.630" Title="Config Patch With Multiple Matched Attributes" Tags="|configuration|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12164" PostTypeId="2" ParentId="12163" CreationDate="2018-06-05T16:40:34.270" Score="3" Body="&lt;p&gt;In order to load the processor in the order you want, what you can do is to load the &lt;code&gt;showconfig.aspx&lt;/code&gt;. From the showconfig, you will get the current order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let say for example, this is how it looks in showconfig&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;Confirm&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckTemplateLinks&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckCloneLinks&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckLinks&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckLanguage&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;UncloneItems&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;Execute&quot;/&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;PostAction&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you want to load your processor between the &lt;code&gt;Execute&lt;/code&gt; and &lt;code&gt;PostAction&lt;/code&gt;. You just need to use the &lt;code&gt;patch:before&lt;/code&gt; the &lt;code&gt;PostAction&lt;/code&gt;. Something as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;processors&amp;gt;&#xA;    &amp;lt;uiDeleteItems&amp;gt;&#xA;      &amp;lt;processor mode=&quot;on&quot; type=&quot;Custom.DeleteItems, Custom&quot; method=&quot;RemoteDelete&quot; patch:before=&quot;*[@method='PostAction']&quot;/&amp;gt;&#xA;    &amp;lt;/uiDeleteItems&amp;gt;&#xA;  &amp;lt;/processors&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, if you are on Sitecore 9, you can use the new feature which is the Configuration Layer. This allows you to load files in specific way. You can get more information from those articles:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/90/developing/developing_with_sitecore/customizing_server_configuration/use_a_patch_file_to_customize_the_sitecore_configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://www.oshyn.com/blogs/2017/november/configuration-layers-in-sitecore-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Configuration Layer&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-06-05T16:42:48.360" LastActivityDate="2018-06-05T16:42:48.360" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12165" PostTypeId="2" ParentId="12163" CreationDate="2018-06-05T16:45:25.703" Score="13" Body="&lt;p&gt;Looking thru one of my previous projects I recalled seeing this in, you can use an &lt;code&gt;and&lt;/code&gt; to meet the attribute values of both your method and type (example):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- patch match on both type and method --&amp;gt;&#xA;&amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Buckets.Pipelines.UI.ItemMove, Sitecore.Buckets&quot; method=&quot;Execute&quot;&#xA;patch:instead=&quot;*[@method='Execute' and @type='Sitecore.Shell.Framework.Pipelines.MoveItems,Sitecore.Kernel']&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So your patch might resemble something like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;processors&amp;gt;&#xA;    &amp;lt;uiDeleteItems&amp;gt;&#xA;      &amp;lt;processor mode=&quot;on&quot; type=&quot;Custom.DeleteItems, Custom&quot; method=&quot;RemoteDelete&quot; &#xA;          patch:after=&quot;*[@type='Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel' and @method='Execute']&quot;/&amp;gt;&#xA;    &amp;lt;/uiDeleteItems&amp;gt;&#xA;  &amp;lt;/processors&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally, (though I haven't used it in a while but I do believe it is supported) you can also use an indexer to grab which match you want to patch around as well (the &lt;code&gt;last()&lt;/code&gt; I have not used in a patch but I believe is xpath supported): &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- first in matches --&amp;gt;&#xA;&amp;lt;processor patch:instead=&quot;*[@method='Execute' and @type='Sitecore.Shell.Framework.Pipelines.MoveItems,Sitecore.Kernel'][0]&quot; /&amp;gt;&#xA;&#xA;&amp;lt;!-- last in matches --&amp;gt;&#xA;&amp;lt;processor patch:instead=&quot;*[@method='Execute' and @type='Sitecore.Shell.Framework.Pipelines.MoveItems,Sitecore.Kernel'][last()]&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="695" LastEditorUserId="695" LastEditDate="2019-04-03T15:58:40.630" LastActivityDate="2019-04-03T15:58:40.630" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12166" PostTypeId="1" CreationDate="2018-06-05T16:57:12.490" Score="1" ViewCount="5928" Body="&lt;p&gt;I'm on Sitecore 8.1 and I have an item that has a multilist that allows a user to select all items under a site, but I want to exclude a couple items and their descendants. The basic tree structure looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site Home&lt;br&gt;&#xA;- Example Page 1&lt;br&gt;&#xA;- Example Page 2&lt;br&gt;&#xA;- Blog&lt;br&gt;&#xA;-- Tags&lt;br&gt;&#xA;--- Tag 1&lt;br&gt;&#xA;--- Tag 2&lt;br&gt;&#xA;--- Tag 3&lt;br&gt;&#xA;-- Categories&lt;br&gt;&#xA;--- Category 1&lt;br&gt;&#xA;--- Category 2&lt;br&gt;&#xA;--- Category 3&lt;br&gt;&#xA;-- Blog Year&lt;br&gt;&#xA;--- Blog Month&lt;br&gt;&#xA;---- Blog Post 1&lt;br&gt;&#xA;---- Blog Post 2&lt;br&gt;&#xA;---- Blog Post 3&lt;br&gt;&#xA;- Data&lt;br&gt;&#xA;-- Data Folder 1&lt;br&gt;&#xA;--- Data Folder 1 Item 1&lt;br&gt;&#xA;--- Data Folder 1 Item 2&lt;br&gt;&#xA;--- Data Folder 1 Item 3&lt;br&gt;&#xA;-- Data Folder 2&lt;br&gt;&#xA;--- Data Folder 2 Item 1&lt;br&gt;&#xA;--- Data Folder 2 Item 2&lt;br&gt;&#xA;--- Data Folder 2 Item 3&lt;br&gt;&#xA;-- Site Settings&lt;br&gt;&#xA;- Example Page 3&lt;br&gt;&#xA;- Example Page 4&lt;br&gt;&#xA;- Example Page 5&lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I currently use query:./ancestor-or-self::&lt;em&gt;[@@templateid='{template ID of Site Home}']//&lt;/em&gt; to get all items under the site, but I can't figure out how to exclude the Blog item and all its descendants and the Data item and all its descendants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What do I need to add to the end of that query to exclude the Blog item and its descendants and the Data item and its descendants?&lt;/p&gt;&#xA;" OwnerUserId="3399" LastActivityDate="2018-10-12T07:43:36.553" Title="Multilist source query to exclude items whose parent has a specific template id" Tags="|sitecore-query|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12167" PostTypeId="1" AcceptedAnswerId="12172" CreationDate="2018-06-05T17:13:33.817" Score="3" ViewCount="212" Body="&lt;p&gt;How to view the email campaigns online in a multisite solution? Because the link always redirects me to the default site (&lt;strong&gt;Site1&lt;/strong&gt;) even when the email campaign was sent in &lt;strong&gt;Site2 Email Root&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I did:&#xA; with the view email which I added in the header:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Request.QueryString[&quot;sc_pd_view&quot;] != &quot;1&quot;)&#xA;{&#xA;    &amp;lt;div style=&quot;margin: 10px 0; font-size: 10px; font-family: @Model.NewsletterOptions.FontFamily&quot;&amp;gt;&#xA;        @Html.Sitecore().Field(Templates.Header.Fields.ViewOnlineHavingTrouble, Model.ContentItem)&#xA;        &amp;amp;#32;&#xA;        &amp;lt;a href=&quot;/?sc_itemid=@Sitecore.Context.Item.ID&amp;amp;sc_lang=@Sitecore.Context.Language.Name&amp;amp;sc_pd_view=1&quot;&amp;gt;&#xA;            @Html.Sitecore().Field(Templates.Header.Fields.ViewOnlineClickHere, Model.ContentItem)&#xA;        &amp;lt;/a&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In each Email Manager root per site, I added the baseURLS:&#xA;Site1: &lt;a href=&quot;https://www.site1.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.site1.com&lt;/a&gt;&#xA;Site2: &lt;a href=&quot;https://www.site2.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.site2.com&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In /sitecore/system/Settings/Email/System/Hostname Mappings, Created two hostname mappings&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Y1r1i.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y1r1i.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I clicked the View Email Online link sent from &lt;strong&gt;SITE2&lt;/strong&gt;, it always redirects me to the SITE1 url and only shows blank page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you help me with this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are the references:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6767/how-to-open-an-sitecore-email-experience-manager-email-in-browser&quot;&gt;How to open an Sitecore Email Experience Manager email in browser&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/link_generation_and_hostname_mapping_in_exm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/link_generation_and_hostname_mapping_in_exm&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2472" LastEditorUserId="73" LastEditDate="2018-06-05T17:18:45.873" LastActivityDate="2018-06-06T09:12:24.050" Title="Multisites View Message Online in Sitecore 9 EXM" Tags="|exm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12168" PostTypeId="2" ParentId="12166" CreationDate="2018-06-05T17:40:45.023" Score="1" Body="&lt;p&gt;I was able to get my desired results by adding &lt;code&gt;name()=ancestor-or-self::blog and name()=ancestor-or-self::data&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my query ended up looking like &lt;code&gt;query:./ancestor-or-self::*[@@templateid='{template ID of Site Home}']//*[name()=ancestor-or-self::blog and name()=ancestor-or-self::data]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's using the item name instead of the template id, but it works for what I need.&lt;/p&gt;&#xA;" OwnerUserId="3399" LastEditorUserId="288" LastEditDate="2018-10-12T07:43:36.553" LastActivityDate="2018-10-12T07:43:36.553" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12169" PostTypeId="2" ParentId="12166" CreationDate="2018-06-05T19:46:28.897" Score="5" Body="&lt;p&gt;I would suggest switching your field technology from a Multilist to a Treelist.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The treelist allows the user to see the context of the object&#xA;they're selecting. Considering that you're offering to allow the&#xA;user to select from virtually any page on the site, allowing them to&#xA;navigate the site to pick entries is a good idea. &lt;/li&gt;&#xA;&lt;li&gt;Programmatically, Treelist stores its data identically to Multilist, so you &#xA;won't have to change any code that's reading the value. &lt;/li&gt;&#xA;&lt;li&gt;Instead of writing a complicated query, you can use Treelist's unique Datasource parameters to specify where the tree starts, which items are selectable, and even which items are visible.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&quot; rel=&quot;noreferrer&quot;&gt;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&lt;/a&gt; provides a good tutorial on these attributes, but for the casual user, they are described here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is an example of a configured Datasource value for a Treelist:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;datasource=/sitecore/content/mysite/list&amp;amp;excludetemplatesfordisplay=somebadtemplate&amp;amp;excludetemplatesforselection=someothertemlpate&amp;amp;includetemplatesfordisplay=templatetoshow&amp;amp;includetemplatesforselection=templatetoselect&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You're interested in the &lt;code&gt;excludetemplatesfordisplay&lt;/code&gt; parameter, which you can use to hide the blog. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Consider &lt;code&gt;excludetemplatesforselection&lt;/code&gt; when you need to let a user traverse an Item they shouldn't be able to add in order to get to descendant Items that are valid for selection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For both of these values you can either supply the Template Name or the Template ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to prefix your root Item's path with &lt;code&gt;datasource=&lt;/code&gt;otherwise Sitecore will treat the path as an XPath statement and not process the querystring parameters at the end as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are considerably more features available, and I suggest reviewing the &lt;a href=&quot;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&quot; rel=&quot;noreferrer&quot;&gt;link above&lt;/a&gt; to get them all.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2018-06-05T19:46:28.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12170" PostTypeId="1" CreationDate="2018-06-05T23:05:33.947" Score="1" ViewCount="248" Body="&lt;p&gt;Using Unicorn 3.0, In my Unicorn serialisation config I have this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;include name=&quot;Content&quot; database=&quot;master&quot; path=&quot;/sitecore/content/AAA&quot; &amp;gt;&#xA;              &amp;lt;exclude childrenOfPath=&quot;Imported Data/BBB/&quot; /&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the directoryBBB, there are thousands of items and doing a reserialisation is slow as it processes each child item to exclude.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The full path to the imported data folder is /sitecore/content/AAA/Imported Data/BBB/ &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a quicker way of specifying this in config?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="1347" LastEditDate="2018-06-06T05:56:26.340" LastActivityDate="2018-06-06T05:56:26.340" Title="Unicorn 3 - exclude childrenOfPath is slow" Tags="|unicorn|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12171" PostTypeId="1" AcceptedAnswerId="12707" CreationDate="2018-06-06T03:26:26.660" Score="2" ViewCount="9337" Body="&lt;p&gt;Created Sitecore 9 update 1 on Azure Web App using the Azure Marketplace. JSS packages have been installed successfully and also JSS deploy command successfully:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jss deploy package --includeContent --includeDictionary&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I keep getting this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.&#xA;  in img&#xA;Invariant Violation: The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.&#xA;  in img&#xA;  at invariant (D:\home\site\wwwroot\dist\myapp\server.bundle.js:873:15)&#xA;  at assertValidProps (D:\home\site\wwwroot\dist\myapp\server.bundle.js:9457:63)&#xA;  at ReactDOMServerRenderer.renderDOM (D:\home\site\wwwroot\dist\myapp\server.bundle.js:11177:5)&#xA;  at ReactDOMServerRenderer.render (D:\home\site\wwwroot\dist\myapp\server.bundle.js:11031:21)&#xA;  at ReactDOMServerRenderer.read (D:\home\site\wwwroot\dist\myapp\server.bundle.js:10967:19)&#xA;  at Object.renderToStaticMarkup&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Kam and CharlesWood suggested to deploy with --env development but that didn't help either. &lt;a href=&quot;https://sitecorechat.slack.com/archives/C7JT0NRQW/p1527930809000016&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorechat.slack.com/archives/C7JT0NRQW/p1527930809000016&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="312" LastEditDate="2018-06-07T09:57:05.707" LastActivityDate="2018-07-05T21:42:38.110" Title="The `style` prop expects a mapping from style properties to values, not a string" Tags="|azure|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12172" PostTypeId="2" ParentId="12167" CreationDate="2018-06-06T09:12:24.050" Score="1" Body="&lt;p&gt;I don't see the need for hostname mappings in your case. The mapping settings on your email manager root should be sufficient.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to create or move your email manager root under your sites rootpath.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/sitecore/content/sites/site-A/&amp;lt;email-manager-root&gt;&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/content/sites/site-A/homepage&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/content/sites/site-B/&amp;lt;email-manager-root&gt;&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/content/sites/site-B/homepage&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Next have your siteconfig like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;site-a&quot; rootPath=&quot;/sitecore/content/sites/site-A&quot; startItem=&quot;/homepage&quot; ... /&amp;gt;&#xA;&amp;lt;site name=&quot;site-b&quot; rootPath=&quot;/sitecore/content/sites/site-B&quot; startItem=&quot;/homepage&quot; ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-06T09:12:24.050" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12173" PostTypeId="2" ParentId="12154" CreationDate="2018-06-06T09:17:06.993" Score="1" Body="&lt;p&gt;If anyone face this issue, the solution is to exclude the field from indexing per below on :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Parameters&amp;gt;{9EDD2FCC-04AE-4230-84B4-C46C963F2284}&amp;lt;/Parameters&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then rebuild the index and only re-install package.&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2018-06-06T09:17:06.993" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12174" PostTypeId="1" AcceptedAnswerId="12206" CreationDate="2018-06-06T10:24:04.240" Score="2" ViewCount="1641" Body="&lt;p&gt;During installation of Sitecore Experience Commerce 9, i am getting below exception at &lt;code&gt;GetIdServerToken&lt;/code&gt; step.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Get Token From Sitecore.IdentityServer Install-SitecoreConfiguration :&#xA;  The remote server returned an error: (400) Bad Request. At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Install-SitecoreConfiguration.ps1:253&#xA;  char:21&#xA;  +                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When i checked the log file in &lt;code&gt;SitecoreIdentityServer&lt;/code&gt;, i got below information.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; 15:34:45  Using an in-memory repository. Keys will not be persisted to storage.&#xA; 15:34:45  Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.&#xA; 15:34:45  Creating key {ea66393e-7351-46a2-8e91-ceb572ff4a1e} with creation date 2018-06-06 10:04:45Z, activation date 2018-06-06 10:04:45Z, and expiration date 2018-09-04 10:04:45Z.&#xA; 15:34:45  No XML encryptor configured. Key {ea66393e-7351-46a2-8e91-ceb572ff4a1e} may be persisted to storage in unencrypted form.&#xA; 15:34:45  You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation.&#xA; 15:34:46  Request starting HTTP/1.1 POST http://localhost:5050/connect/token application/x-www-form-urlencoded 102&#xA; 15:34:46  Invoking IdentityServer endpoint: &quot;IdentityServer4.Endpoints.TokenEndpoint&quot; for &quot;/connect/token&quot;&#xA; 15:34:47  User authentication failed: &quot;invalid_username_or_password&quot;&#xA; 15:34:47  &quot;{&#xA;  \&quot;ClientId\&quot;: \&quot;postman-api\&quot;,&#xA;  \&quot;ClientName\&quot;: \&quot;Postman API\&quot;,&#xA;  \&quot;GrantType\&quot;: \&quot;password\&quot;,&#xA;  \&quot;Scopes\&quot;: \&quot;EngineAPI openid postman_api\&quot;,&#xA;  \&quot;UserName\&quot;: \&quot;admin\&quot;,&#xA;  \&quot;Raw\&quot;: {&#xA;    \&quot;username\&quot;: \&quot;admin\&quot;,&#xA;    \&quot;scope\&quot;: \&quot;openid EngineAPI postman_api\&quot;,&#xA;    \&quot;grant_type\&quot;: \&quot;password\&quot;,&#xA;    \&quot;password\&quot;: \&quot;***REDACTED***\&quot;,&#xA;    \&quot;client_id\&quot;: \&quot;postman-api\&quot;&#xA;  }&#xA;}&quot;&#xA; 15:34:47  Request finished in 1475.2586ms 400 application/json; charset=UTF-8&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any pointer would highly be appreciated. &lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2019-11-26T16:23:53.213" Title="User authentication failed: &quot;invalid_username_or_password&quot; in SitecoreIdentityServer logs" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ClosedDate="2019-11-26T21:53:05.707" ContentLicense="CC BY-SA 4.0" />
  <row Id="12175" PostTypeId="1" CreationDate="2018-06-06T10:59:19.817" Score="0" ViewCount="368" Body="&lt;p&gt;We are using Sitecore SXA 1.6 built-in sorting by title and we find that when title has, for example, two words sorting doesn't work in right way i.e sorting depending on the second word in the title instead of the first word any advice how to let it work properly &lt;/p&gt;&#xA;" OwnerUserId="3721" LastEditorUserId="73" LastEditDate="2018-07-08T11:49:09.637" LastActivityDate="2018-11-05T14:00:27.677" Title="Sorting by title doesn't work in right way, when title has multiple words" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12176" PostTypeId="1" CreationDate="2018-06-06T11:11:34.383" Score="8" ViewCount="615" Body="&lt;p&gt;I followed two below documentation articles to create multiple dedicated processing servers for interaction aggregation:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/processing/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/processing/index.html&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/content-management/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/content-management/index.html&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But they didn't describe how to configure CM server when we want to have multiple processing servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With a processing server, I need to set serviceUrl param in Sitecore.Xdb.Remote.Client.config on CM server as below image :&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2jImr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2jImr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how to configure multiple serviceUrls for multiple processing servers?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3701" LastEditorUserId="3701" LastEditDate="2018-08-15T03:49:20.270" LastActivityDate="2018-08-15T03:49:20.270" Title="How to configure multiple processing servers" Tags="|xconnect|processing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12177" PostTypeId="2" ParentId="9479" CreationDate="2018-06-06T11:26:04.387" Score="0" Body="&lt;p&gt;In Sitecore you need to write custom action for email send and add your website assemblies.dll , and the method name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that you need to add this new custom email send action in your email send option in Sitecore WFFM form modules. &#xA;In this way you can send the email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the screenshot below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/AohSb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AohSb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3019" LastActivityDate="2018-06-06T11:26:04.387" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12178" PostTypeId="2" ParentId="12176" CreationDate="2018-06-06T11:48:18.690" Score="8" Body="&lt;p&gt;You should introduce load balancer that will serve as &quot;point of contact&quot; for CM server. It's URL will be used as ServiceUrl on CM server. Your two processing servers will be behind it and load balancer will switch traffic to them as needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think that Sitecore Documentation Team have forgotten to add &quot;Load Balancer&quot; icon in their nonetheless brilliant documentation for Sitecore 9 and xConnect:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zdf9e.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zdf9e.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information can be found here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-horizontally/index.html#multiple-processing-instances&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-horizontally/index.html#multiple-processing-instances&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already contacted docsite@sitecore.net with a question regarding this.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-06T13:14:00.073" LastActivityDate="2018-06-06T13:14:00.073" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12179" PostTypeId="5" CreationDate="2018-06-06T12:06:07.337" Score="0" Body="&lt;p&gt;For questions related to Sitecore's Processing which refers to the analysis of collected data, and is performed by Processing servers. This activities include interaction aggregation, contact processing, processing agents, batch aggregation. Questions are also related to including the process, functionality, architecture, server-role, etc.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-06T12:38:34.400" LastActivityDate="2018-06-06T12:38:34.400" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12180" PostTypeId="4" CreationDate="2018-06-06T12:06:07.337" Score="0" Body="For questions related to Sitecore's Processing which refers to the analysis of collected data, and is performed by Processing servers. This activities include interaction aggregation, contact processing, processing agents, batch aggregation. Questions are also related to including the process, functionality, architecture, server-role, etc." OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-06T12:38:37.967" LastActivityDate="2018-06-06T12:38:37.967" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12181" PostTypeId="1" AcceptedAnswerId="12277" CreationDate="2018-06-06T12:34:11.013" Score="0" ViewCount="777" Body="&lt;p&gt;Our website require fix path structure in different language version, I know when you want to switch language, just put ?sc_lang=xx behind the path. but my condition is language ia part of path and friendly path&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(en) &lt;a href=&quot;http://xxx.xxx/en/how_this_works&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xxx.xxx/en/how_this_works&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(de) &lt;a href=&quot;http://xxx.xxx/de/So_funktioniert&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xxx.xxx/de/So_funktioniert&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is even I can replace the en to de, but how do I know in German version of current page customer display name(how this works -?-&gt;So funktioniert.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, language selector is in Navi page, it with its controller, but each Page Content has its own Controller, therefore Navi controller won't be able to know other rendering's information(ex:item ID) in other placeholder.&lt;/p&gt;&#xA;" OwnerUserId="3801" LastEditorUserId="73" LastEditDate="2018-06-06T12:37:04.703" LastActivityDate="2018-06-14T08:12:37.403" Title="Language switch with Language Path embedded and Custom Display Name" Tags="|multilingual|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12182" PostTypeId="2" ParentId="12181" CreationDate="2018-06-06T12:46:45.607" Score="1" Body="&lt;p&gt;To build the URL's you should use the LinkManager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can fetch the item in the correct language and pass it to the linkmanager to obtain the correct link like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var langItem = currentItem.Database.GetItem(currentItem.ID, language);&#xA;var url = LinkManager.GetItemUrl(langItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-06T12:46:45.607" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12183" PostTypeId="1" AcceptedAnswerId="12253" CreationDate="2018-06-06T13:12:22.497" Score="6" ViewCount="1454" Body="&lt;p&gt;On our Sitecore 9.0.1 in Azure PaaS, we notice that the first load of pages in the sitecore backend (login, desktop, experience editor, content editor) takes a lot of time. For now we implemented some warmup scripts to overcome this, but I was wondering how we could improve this startup speed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already tried increasing DTU's on databases or upscaling the server to B3, without a lot of success. It's unclear to me where the bottleneck is situated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions to which components I should upscale to improve performance?&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-23T09:14:53.503" Title="How can I improve startup times content management in Azure PaaS?" Tags="|azure|paas|performance|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12184" PostTypeId="1" AcceptedAnswerId="12186" CreationDate="2018-06-06T14:53:37.120" Score="2" ViewCount="6734" Body="&lt;p&gt;I need to find all the items that has personalization defined on the layout definitions using a Sitecore Powershell Extensions script.&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="73" LastEditDate="2018-06-06T14:57:06.460" LastActivityDate="2018-07-03T17:38:09.323" Title="Sitecore Powershell Script to find all the items with Personalizations defined" Tags="|powershell-extensions|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12185" PostTypeId="2" ParentId="12140" CreationDate="2018-06-06T14:58:05.180" Score="3" Body="&lt;p&gt;This is a bug in JSS tech preview 3. (one that I actually fixed yesterday!) It will be fixed in the next release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the meantime as a workaround, something like &lt;code&gt;const items = Array.isArray(fields.items) ? fields.items : fields.items.value;&lt;/code&gt; or &lt;code&gt;const items = fields.items.value || fields.items;&lt;/code&gt; should do the trick.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-06-06T14:58:05.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12186" PostTypeId="2" ParentId="12184" CreationDate="2018-06-06T15:17:20.737" Score="13" Body="&lt;p&gt;If personalisation is enabled for an item, then there will be a parameter named rules, when we get the rendering using &quot;Get-Rendering&quot;. The same can be done for a parent item and run the code for child items which has Rules in its renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have made a code snippet that will get all the items that has personalization defined&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function GetPersonalization($item)    &#xA;{&#xA;    $count = 0&#xA;    $renderingInstance = Get-Rendering -Item $item&#xA;    $renderingInstance | ForEach-Object {&#xA;        if($_.Rules)&#xA;        {&#xA;            $count++&#xA;        }&#xA;    }&#xA;    if($count -gt 0)&#xA;    {&#xA;        return $item&#xA;    }&#xA;}&#xA;&#xA;$itempath = &quot;/sitecore/content/home/test&quot;&#xA;$AllItems = Get-ChildItem -Path $itempath -Recurse&#xA;$table = @()&#xA;$AllItems | ForEach-Object {&#xA;    $table += GetPersonalization -item $_&#xA;}&#xA;&#xA;$table | Show-ListView -Property `&#xA;   @{ Name=&quot;Item Name&quot;; Expression={$_.DisplayName}},&#xA;   @{ Name=&quot;Item path&quot;; Expression={$_.FullPath}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="950" LastActivityDate="2018-06-06T15:17:20.737" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12187" PostTypeId="2" ParentId="12184" CreationDate="2018-06-06T15:20:02.260" Score="7" Body="&lt;p&gt;You can run fast query and check if __renderings field contains &lt;code&gt;conditions&lt;/code&gt; or &lt;code&gt;rule&lt;/code&gt; nodes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$query = &quot;fast:/sitecore//*[@__renderings='%&amp;lt;conditions%' or @#__Final Renderings#='%&amp;lt;conditions%']&quot;&#xA;Get-Item -Path &quot;master:&quot; -Query $query&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastEditorUserId="666" LastEditDate="2018-06-06T15:30:36.853" LastActivityDate="2018-06-06T15:30:36.853" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12189" PostTypeId="1" CreationDate="2018-06-06T16:45:28.423" Score="0" ViewCount="168" Body="&lt;p&gt;I'm using Sitecore 8.2 Update 4, and am looking at migrating a traditional MVC monolithic Sitecore project to the Helix architecture as I'm enhancing the existing website. I'm trying to wrap my mind around how to architect my .NET projects in a way that is consistent with Helix principles. Here's an example of something that I'm trying to do:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a Sitecore agent whose purpose is to read data from our CRM and then populate some of that data into contact cards. Here's a picture of what my proposed architecture looks like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LUbqY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LUbqY.png&quot; alt=&quot;Proposed Architecture Diagram&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that I have 1 feature (&lt;em&gt;Agents&lt;/em&gt;) that depends on other features (&lt;em&gt;Connectors&lt;/em&gt;, &lt;em&gt;Custom Facets&lt;/em&gt;). I know that Helix gives us the freedom to do &lt;a href=&quot;http://helix.sitecore.net/principles/architecture-principles/modules.html#groups&quot; rel=&quot;nofollow noreferrer&quot;&gt;groups&lt;/a&gt;, however, it doesn't specify what that looks like in a practical situation. This also seems to violate the &lt;a href=&quot;http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod&quot; rel=&quot;nofollow noreferrer&quot;&gt;Stable Dependency Principle&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm looking at changing my architecture to be more like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3oFLJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3oFLJ.png&quot; alt=&quot;Better Architecture?&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are my questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is this the right direction to go in order to get my dependencies to follow the correct flow?&lt;/li&gt;&#xA;&lt;li&gt;Other than the &lt;a href=&quot;http://helix.sitecore.net/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix site&lt;/a&gt;, are there any other good resources to help me process things like this?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="339" LastActivityDate="2018-06-06T16:45:28.423" Title="Migrating from Monolithic project to Helix (a little bit at a time)" Tags="|helix|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12191" PostTypeId="1" AcceptedAnswerId="12196" CreationDate="2018-06-07T00:15:33.497" Score="2" ViewCount="764" Body="&lt;p&gt;I have a sitecore scheduler job running every 60 minutes, It used to be every 10 minutes but after testing I changed it to run every 60 minutes&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;XYZ.Scheduler.AdviserSync&quot; method=&quot;Run&quot; interval=&quot;00:60:00&quot;&amp;gt;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It worked fine few days but then stopped working, today I chekd in the log files and I found this entry.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6032 15:15:19 INFO Scheduler - Skipping inactive agent: XYZ.Scheduler.AdviserSync&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also write some log entries when job starts but I can;t find them in log files, looks like job is not running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is interval configured properly? &#xA;Why scheduler job automatically stopped running?&#xA;Is there any setting I need to configure to run it properly?&lt;/p&gt;&#xA;" OwnerUserId="2119" LastEditorUserId="2119" LastEditDate="2018-06-07T00:32:25.107" LastActivityDate="2018-06-07T03:02:33.940" Title="Sitecore Scheduler job automatically stopped running" Tags="|sitecore-api|scheduler-job|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12192" PostTypeId="2" ParentId="12126" CreationDate="2018-06-07T01:06:55.257" Score="1" Body="&lt;p&gt;This seems to be an issue with Timezone. After changing my system timezone to UTC, its working as expected.&lt;/p&gt;&#xA;" OwnerUserId="2161" LastActivityDate="2018-06-07T01:06:55.257" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12193" PostTypeId="1" AcceptedAnswerId="12197" CreationDate="2018-06-07T02:26:13.433" Score="3" ViewCount="596" Body="&lt;p&gt;Could Some one help me updating the workflow and workflow state field for all the sub items under the item say sitecore/content/ParentItem .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a new workflow and set it up in standard values,But For the existing items i want to change the workflow to new Workflow and state to new Workflow State .&lt;/p&gt;&#xA;" OwnerUserId="3621" LastEditorUserId="73" LastEditDate="2018-06-07T07:53:01.730" LastActivityDate="2021-05-28T14:45:21.807" Title="How can I change already created items to be under my newly created workflow?" Tags="|workflow|powershell|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12195" PostTypeId="2" ParentId="12193" CreationDate="2018-06-07T02:46:11.033" Score="1" Body="&lt;p&gt;Following blog post contains script &#xA;&lt;a href=&quot;https://mtgeekblog.wordpress.com/2016/11/30/first-blog-post/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mtgeekblog.wordpress.com/2016/11/30/first-blog-post/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;function SetWorkflow($item)&#xA;{&#xA;  ## Update only items assigned __Default workflow&#xA;  if ($item.”__Default workflow” -eq “{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}”) {&#xA;    $item.__Workflow = “{A5BC37E7-ED96-4C1E-8590-A26E64DB55EA}”;&#xA;    $item.”__Workflow state” = “{190B1C84-F1BE-47ED-AA41-F42193D9C8FC}”;&#xA;  }&#xA;}&#xA;&#xA;## Update correct workflow information.&#xA;## Uncomment below two lines if you are ready to go for updating&#xA;#get-item . -Language * | foreach-object { SetWorkFlow($_) }&#xA;#get-childitem . -recurse -Language * | foreach-object { SetWorkFlow($_) }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="383" LastActivityDate="2018-06-07T02:46:11.033" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12196" PostTypeId="2" ParentId="12191" CreationDate="2018-06-07T03:02:33.940" Score="2" Body="&lt;p&gt;Scheduler - Skypping inactive agent &lt;/p&gt;&#xA;&#xA;&lt;p&gt;is generated by &lt;strong&gt;Sitecore.Task.Scheduler.ReadAgents&lt;/strong&gt; class  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private static Scheduler.Agent[] ReadAgents()&#xA;{&#xA;    Log.Info(&quot;Scheduler - Adding agents&quot;, typeof(Scheduler));&#xA;    try&#xA;    {&#xA;        ArrayList arrayList = new ArrayList();&#xA;        XmlNodeList configNodes = Factory.GetConfigNodes(&quot;scheduling/agent&quot;);&#xA;        foreach (XmlNode xmlNode in configNodes)&#xA;        {&#xA;            try&#xA;            {&#xA;                object obj = Factory.CreateObject(xmlNode, true);&#xA;                string @string = StringUtil.GetString(new string[]&#xA;                {&#xA;                    XmlUtil.GetAttribute(&quot;method&quot;, xmlNode),&#xA;                    &quot;Execute&quot;&#xA;                });&#xA;                TimeSpan timeSpan = DateUtil.ParseTimeSpan(XmlUtil.GetAttribute(&quot;interval&quot;, xmlNode), TimeSpan.FromSeconds(0.0), CultureInfo.InvariantCulture);&#xA;                string string2 = StringUtil.GetString(new string[]&#xA;                {&#xA;                    XmlUtil.GetAttribute(&quot;name&quot;, xmlNode),&#xA;                    obj.GetType().FullName&#xA;                });&#xA;                bool @bool = MainUtil.GetBool(XmlUtil.GetAttribute(&quot;async&quot;, xmlNode), false);&#xA;                if (timeSpan.TotalSeconds &amp;gt; 0.0)&#xA;                {&#xA;                    Log.Info(string.Concat(new object[]&#xA;                    {&#xA;                        &quot;Scheduler - Adding agent: &quot;,&#xA;                        string2,&#xA;                        &quot; (interval: &quot;,&#xA;                        timeSpan,&#xA;                        &quot;)&quot;&#xA;                    }), typeof(Scheduler));&#xA;                    Scheduler.Agent value;&#xA;                    if (@bool)&#xA;                    {&#xA;                        value = new Scheduler.AsyncAgent(string2, obj, @string, timeSpan, Scheduler.m_startTime);&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        value = new Scheduler.Agent(string2, obj, @string, timeSpan, Scheduler.m_startTime);&#xA;                    }&#xA;                    arrayList.Add(value);&#xA;                }&#xA;                else&#xA;                {&#xA;                    Log.Info(&quot;Scheduler - Skipping inactive agent: &quot; + string2, typeof(Scheduler));&#xA;                }&#xA;            }&#xA;            catch (Exception exception)&#xA;            {&#xA;                Log.Error(&quot;Error while instantiating agent. Definition: &quot; + xmlNode.OuterXml, exception, typeof(Scheduler));&#xA;            }&#xA;        }&#xA;        Log.Info(&quot;Scheduler - Agents added&quot;, typeof(Scheduler));&#xA;        return arrayList.ToArray(typeof(Scheduler.Agent)) as Scheduler.Agent[];&#xA;    }&#xA;    catch (Exception exception2)&#xA;    {&#xA;        Log.Error(&quot;Error while reading agents.&quot;, exception2, typeof(Scheduler));&#xA;    }&#xA;    return null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On sitecore code it reads the interval and test if the value is not 00:00 : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TimeSpan timeSpan = DateUtil.ParseTimeSpan(XmlUtil.GetAttribute(&quot;interval&quot;, xmlNode), TimeSpan.FromSeconds(0.0), CultureInfo.InvariantCulture);&#xA;&#xA;    if (timeSpan.TotalSeconds &amp;gt; 0.0)&#xA;            { &#xA;                  // sitecore code&#xA;            }&#xA;            else&#xA;            {&#xA;                //if interval is 0 it skips the agent&#xA;               Log.Info(&quot;Scheduler - Skipping inactive agent: &quot; + string2, typeof(Scheduler));&#xA;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please have a look to your config files using : &lt;strong&gt;yourhost/sitecore/admin/showconfig.aspx&lt;/strong&gt; and verify the value of interval. I recommend to change the value from &lt;strong&gt;00:60:00&lt;/strong&gt; to &lt;strong&gt;00:59:59&lt;/strong&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-06-07T03:02:33.940" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12197" PostTypeId="2" ParentId="12193" CreationDate="2018-06-07T05:59:22.457" Score="3" Body="&lt;p&gt;To update the workflow for the current item’s descendants, you can use the below script&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$contentsToUpdate = Get-Item master: -Query &quot;sitecore/content/ParentItem//*&quot; -Language &quot;en-GB&quot;&#xA;&#xA;foreach($content in $contentsToUpdate) {        &#xA;&#xA;    $content.Editing.BeginEdit()&#xA;    $content.Fields[&quot;__Default workflow&quot;].Value = &quot;Item ID of Default Workflow&quot;&#xA;    $content.Fields[&quot;__Workflow state&quot;].Value = &quot;Item ID of Workflow state&quot;&#xA;    $content.Fields[&quot;__Workflow&quot;].Value = &quot;Item ID of Workflow&quot;&#xA;    $content.Editing.EndEdit()&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the &lt;code&gt;-Language&lt;/code&gt; is equals to &lt;code&gt;en-GB&lt;/code&gt;. Change it according to the language you want to update.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-06-07T07:39:46.397" LastActivityDate="2018-06-07T07:39:46.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12198" PostTypeId="1" CreationDate="2018-06-07T07:09:59.827" Score="4" ViewCount="284" Body="&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;I followed below document to set up multiple processing server (i created 3 processing server)&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/processing/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/processing/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;After that i tried to rebuild reporting database and got some exceptions in log files of processing servers as below&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre&gt;&lt;code&gt;14416 20:44:14 WARN Cursor with id d1470ede-fbb5-4983-85b8-03fe5cca89d2 (TaskId 00000000-0000-0000-0000-000000000000) has been concurrently modified. It means the task has been completed, canceled, failed, or expired concurrently. Please consider increasing ownership time for cursors.***&#xA;&#xA;***Exception: Sitecore.Analytics.Core.Data.ConcurrentlyModifiedException Message: Routine caused exception: History_UpdateCursorProgress. Source: Sitecore.Analytics.Sql***&#xA;&#xA;***Nested Exception***&#xA;&#xA;***Exception: System.Data.SqlClient.SqlException Message: The interaction cursor has been concurrently modified. Source: .Net SqlClient Data Provider***&#xA;&#xA;***14416 20:44:14 ERROR Exception when executing agent aggregation/historyWorker Exception: Sitecore.Analytics.Core.Data.ConcurrentlyModifiedException Message: Routine caused exception: History_UpdateCursorProgress. Source: Sitecore.Analytics.Sql&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;what wrong with it ? Did i miss any setting for configuring multiple processing server ?&lt;/p&gt;&#xA;&lt;p&gt;I'm working on Sitecore 9.0 Update 1&lt;/p&gt;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3701" LastEditorUserId="73" LastEditDate="2021-05-29T07:13:50.080" LastActivityDate="2024-03-14T16:03:35.557" Title="&quot;ConcurrentlyModifiedException Message: Routine caused exception: History_UpdateCursorProgress.&quot; when rebuilding reporting database" Tags="|xconnect|reporting|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12199" PostTypeId="2" ParentId="12175" CreationDate="2018-06-07T07:27:09.140" Score="1" Body="&lt;p&gt;To start playing with sorting first you need to create facet item in your site (here: &lt;code&gt;/sitecore/content/TENANT/SITE/Settings/Facets/&lt;/code&gt;). Here is an example facet for Title field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zHzXW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zHzXW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Field Name is important here. This will tell the search engine to sort by what field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Later on, you need to create sorting definition which will be used by SXA renderings. Navigate to &lt;code&gt;/sitecore/content/TENANT/SITE/Data/Search/Sort Results&lt;/code&gt; and take a look at Title:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SxtPJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SxtPJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here you need to select Facet and Direction in which you want to sort (ascending or descending). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In SXA we are not modifying the way how search provider (Solr, Lucene or Azure) is sorting. We are just passing facet (field name) and sort direction.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-07T07:27:09.140" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12200" PostTypeId="1" AcceptedAnswerId="12204" CreationDate="2018-06-07T08:25:56.563" Score="2" ViewCount="264" Body="&lt;p&gt;I am trying to sync from Dynamics CRM into Sitecore/Xdb in both ways using Dynamics CRM 2.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can do next sync: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Dynamics CRM to xDb&lt;/li&gt;&#xA;&lt;li&gt;xDb to Dynamics CRM Contacts&lt;/li&gt;&#xA;&lt;li&gt;Dynamics CRM entity to Sitecore items. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have to sync Sitecore items into Dynamics CRM Entity. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created next pipeline steps : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V1n4S.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V1n4S.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I sync I receive next message : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #9 10:44:23 INFO [Data Exchange] Starting pipeline batch processing. (pipeline batch: Product Registration Item to CRM Product Registration)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] 3 match(es) found. (pipeline: Read Products Registration from Sitecore, pipeline step: Read Sitecore Items Pipeline Step, pipeline step identifier: bb522002-21c1-43ba-89a0-9bce2f9ba9a5)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] Cannot resolve entity from location or entity model is null. (pipeline: Products Registration Items to Product Crm Entity, pipeline step: Add Dynamics Product Registration to Queue Pipeline Step, pipeline step identifier: f5eda1e1-b153-42ce-a024-22bbc6f47b8f)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] Pipeline processor finished processing pipeline steps. (pipeline: Products Registration Items to Product Crm Entity, pipeline step: Add Dynamics Product Registration to Queue Pipeline Step, completed pipeline steps: 3)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] Cannot resolve entity from location or entity model is null. (pipeline: Products Registration Items to Product Crm Entity, pipeline step: Add Dynamics Product Registration to Queue Pipeline Step, pipeline step identifier: f5eda1e1-b153-42ce-a024-22bbc6f47b8f)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] Pipeline processor finished processing pipeline steps. (pipeline: Products Registration Items to Product Crm Entity, pipeline step: Add Dynamics Product Registration to Queue Pipeline Step, completed pipeline steps: 3)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] Cannot resolve entity from location or entity model is null. (pipeline: Products Registration Items to Product Crm Entity, pipeline step: Add Dynamics Product Registration to Queue Pipeline Step, pipeline step identifier: f5eda1e1-b153-42ce-a024-22bbc6f47b8f)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] Pipeline processor finished processing pipeline steps. (pipeline: Products Registration Items to Product Crm Entity, pipeline step: Add Dynamics Product Registration to Queue Pipeline Step, completed pipeline steps: 3)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] 3 elements were iterated. (pipeline: Read Products Registration from Sitecore, pipeline step: Iterate Data and Run Pipelines Pipeline Step, pipeline step identifier: 9d137a68-dda1-44a5-a494-4956ebfe0ebc)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] Pipeline processor finished processing pipeline steps. (pipeline: Read Products Registration from Sitecore, pipeline step: Iterate Data and Run Pipelines Pipeline Step, completed pipeline steps: 2)&#xA;ManagedPoolThread #9 10:44:23 DEBUG [Data Exchange] Pipeline batch processor finished processing pipelines. (pipeline batch: Product Registration Item to CRM Product Registration, completed pipelines: 1)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What am I missing, entities are not created into Dynamics CRM ? &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-06-07T20:57:23.163" Title="Sync Sitecore Item into Dynamics CRM Custom Entity" Tags="|data-exchange-framework|dynamics-crm-module|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12201" PostTypeId="1" CreationDate="2018-06-07T10:17:04.860" Score="2" ViewCount="665" Body="&lt;p&gt;I'm using Sitecore 8.0 update 6 and following Sitecore security hardening &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/security_hardening/configuring/deny_anonymous_users_access_to_a_folder&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd like to redirect user when the request is made to &lt;a href=&quot;https://www.foo.com/sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.foo.com/sitecore&lt;/a&gt; to &lt;a href=&quot;https://www.foo.com/404&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.foo.com/404&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is 404 item present in Sitecore. I have also updated the settings for below configuration to point /404&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;NoAccessUrl&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;LayoutNotFoundUrl&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;ItemNotFoundUrl   &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;LinkItemNotFoundUrl&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;However I'm receiving below error from IIS instead of /404 page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FtMGv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FtMGv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2024-02-25T12:04:30.627" Title="Sitecore content delivery server security hardening anonymous access" Tags="|security|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12203" PostTypeId="2" ParentId="12201" CreationDate="2018-06-07T11:39:17.647" Score="0" Body="&lt;p&gt;It seems that /sitecore folder is restricted at IIS level which is of-course recommended as per Sitecore best practices, that's why you are seeing that unauthorized access message. If you want to show some custom page (e.g 404) then I think you have to manage at IIS level for error code 401.2.&lt;/p&gt;&#xA;" OwnerUserId="1088" LastActivityDate="2018-06-07T11:39:17.647" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12204" PostTypeId="2" ParentId="12200" CreationDate="2018-06-07T12:41:38.490" Score="2" Body="&lt;p&gt;You missed 2 pipeline steps.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Create Entity Queue&lt;/strong&gt; - before add an entity to a queue you need to create queue.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Submit Remaining Entities From Queue&lt;/strong&gt; - checks if there are some entities in the queue after iterating and submit all of them.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Add Entity to Queue Pipeline Step&lt;/strong&gt; - adds entity to the queue but also can submit entities if its count in the queue equivalent batch size. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GicLz.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GicLz.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-06-07T20:57:23.163" LastActivityDate="2018-06-07T20:57:23.163" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12205" PostTypeId="1" AcceptedAnswerId="12210" CreationDate="2018-06-07T14:35:08.697" Score="2" ViewCount="230" Body="&lt;p&gt;I asked a question related to a configuration of mappings via code some time ago. I have an issue with adding of multilingual strings to a target(Sitecore) item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Initial question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11623/data-mapping-using-code&quot;&gt;Data Mapping Using Code&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found that I have to add 1 more step (Select Languages) comparing with a default flow. Also, I used &quot;Resolve Multilanguage Sitecore Item Dictionary&quot; pipeline step instead of &quot;Resolve Sitecore Item&quot;. I could populate at least shared fields before the changes above, but can't do it now. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have following error in the log: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #6 17:12:28 ERROR [Data Exchange] Pipeline step processing will abort because no source object could be resolved from the pipeline context. (pipeline: Single Attribute Sync Pipeline, pipeline step: Apply Mapping, pipeline step identifier: acc13c65-140a-484a-bb6c-11d0cb999774, target location: ec64487d-e7e6-40b0-a86c-40c74b95e04e)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As I understand, my custom ValueMappingSet is not valid anymore. Does somebody have any example of mapping multi-language data via code? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Select languages&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/GVjx5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GVjx5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Resolve Multilanguage Sitecore Item Dictionary&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VjvId.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VjvId.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Apply Mapping&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DQLva.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DQLva.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3633" LastEditorUserId="3633" LastEditDate="2018-06-11T12:39:11.927" LastActivityDate="2018-06-19T12:43:07.603" Title="Data Mapping for multilingual strings using Code" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12206" PostTypeId="2" ParentId="12174" CreationDate="2018-06-07T14:46:54.913" Score="2" Body="&lt;p&gt;I got it resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just needed to pass domain with the username to the script. I prefixed domain name i.e. in this case &lt;code&gt;\&quot;UserName\&quot;: \&quot;sitecore\\admin\&quot;&lt;/code&gt; for the user and it worked.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-06-07T14:46:54.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12207" PostTypeId="1" AcceptedAnswerId="12208" CreationDate="2018-06-07T14:58:07.097" Score="1" ViewCount="191" Body="&lt;p&gt;I've added 4 new fields under /Sitecore/Templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just to confirm, are my following assumptions correct? I feel I'm closing in from experiments alone, but among so many things to know and read about, I won't mind some external light. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;in Visual Studio 2013, until you do a TDS &quot;Sync with Sitecore&quot; there is no awareness of these new fields.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You normally never have to manually edit GlassData.cs . After a TDS &quot;Sync with Sitecore&quot;, the 4 new fields would be added automatically there, on the next Visual Studio BUILD. &#xA;(At first, I manually added my 4 fields there.. until I could Build quietly)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;GIT / bitbucket : you normally never include GlassData.cs in a commit.&#xA;In effect you never &quot;Push&quot; GlassData.cs? &#xA;But then what would be the auto-refresh mechanism on a shared DEV Sitecore instance (no Visual studio there) ? &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Thank you!&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="1206" LastEditDate="2018-06-07T15:04:41.143" LastActivityDate="2018-06-07T15:19:56.207" Title="New Template fields =&gt; is GlassData.cs re-generated automatically, no manual action needed?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12208" PostTypeId="2" ParentId="12207" CreationDate="2018-06-07T15:19:56.207" Score="4" Body="&lt;p&gt;The code generated model file (your GlassData.cs file) will regenerate when you sync with Sitecore. It will have no awareness of any items that are not in the TDS project. Your new fields will only be added to the generated code models after the Sitecore Sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The generated file should not be manually modified as the next sync will overwrite the changes. You should create new partials of the classes if you want to add any additional fields or properties to the models.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will want to check in the generated file into your source control system.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2018-06-07T15:19:56.207" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12209" PostTypeId="1" CreationDate="2018-06-07T15:56:26.383" Score="3" ViewCount="153" Body="&lt;p&gt;I have a sublayout/rendering that lives on a wildcard item within the content tree. For example, at &lt;code&gt;/sitecore/content/home/news/news-features/*/*/*/*&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sublayout/rendering checks an external data source to determine if content should be returned and does so if it can find it. However, if the content is not found for the path I would like to trigger our normal 404, which we've set up via the &lt;code&gt;ItemNotFoundUrl&lt;/code&gt; Sitecore config setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now the control is simply doing a &lt;code&gt;Response.Redirect(&quot;/not-found&quot;, true);&lt;/code&gt; if content for the request cannot be found, but I'm wondering instead if an exception can be thrown, or the item not found pipeline/processor can otherwise be triggered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can a sublayout/rendering trigger the item not found pipeline, such as when wildcard paths are used? Or is redirecting the best practice?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="124" LastEditDate="2019-12-20T15:06:15.843" LastActivityDate="2019-12-20T15:06:15.843" Title="Can a sublayout/rendering trigger the item not found pipeline?" Tags="|presentation|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12210" PostTypeId="2" ParentId="12205" CreationDate="2018-06-07T16:21:26.103" Score="3" Body="&lt;p&gt;If I rightly understand you don't want to use configuration for mapping and you need to implement multi language support for mapping  Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will begin form the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is &lt;strong&gt;Update Sitecore Item Pipeline Step&lt;/strong&gt; - pipeline step that can create or update Sitecore item(s).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This pipeline step can handle 2 target objects. It checks whether types are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;ItemModel&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IDictionary&amp;lt;string,ItemModel&amp;gt;&lt;/code&gt; where key is language&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Here is how you can use code mapping:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var target = GetTarget(); //returns IDictionary&amp;lt;string,ItemModel&amp;gt;&#xA;var source = GeSource();  //returns source object&#xA;&#xA;//Check if item model exist by language before map data&#xA;&#xA;target[&quot;en&quot;][&quot;fieldTitle&quot;] = source[&quot;en&quot;].Title;&#xA;target[&quot;en&quot;][&quot;fieldDescription&quot;] = source[&quot;en&quot;].Description;&#xA;&#xA;target[&quot;uk&quot;][&quot;fieldTitle&quot;] = source[&quot;uk&quot;].Title;&#xA;target[&quot;uk&quot;][&quot;fieldDescription&quot;] = source[&quot;uk&quot;].Description;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When target is Dictionary?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Target is dictionary when &lt;code&gt;Select Languages Pipeline Step&lt;/code&gt; and &lt;code&gt;Resolve Multilanguage Sitecore Item Dictionary Pipeline Step&lt;/code&gt; are used. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Select Languages Pipeline Step&lt;/strong&gt; - allows to specify supported languages.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Resolve Multilanguage Sitecore Item Dictionary Pipeline Step&lt;/strong&gt; -&#xA;resolves item by language and creates target dictionary for specified&#xA;languages if it does not exist.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update from Maxim:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had a wrong configuration in pipeline step &quot;Resolve Multilanguage Attribute Item&quot; (&quot;Resolved Object Location&quot; was empty). Vlad helped me to find this missing setting and solve my exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To populate the fields I used the following logic (based on Vlad's suggestions):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yhNNA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yhNNA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="3633" LastEditDate="2018-06-19T12:43:07.603" LastActivityDate="2018-06-19T12:43:07.603" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12212" PostTypeId="2" ParentId="1859" CreationDate="2018-06-07T18:12:25.673" Score="1" Body="&lt;p&gt;To add to the answers for the sake of googling people of the future, in case the last date the item was saved will do for your purposes, you can use &lt;code&gt;Sitecore.Context.Item.Statistics.Updated&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1034" LastActivityDate="2018-06-07T18:12:25.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12213" PostTypeId="2" ParentId="12209" CreationDate="2018-06-07T20:34:02.220" Score="3" Body="&lt;p&gt;I would suggest that create your own processor and place it after &lt;code&gt;Sitecore.Pipelines.HttpRequest.ItemResolver&lt;/code&gt;, In your processor check if the context item is a wild card and check your external data source, if no data matches your external source, then set the context item to null, This should take care of triggering the &quot;item not found&quot; pipeline&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;   &#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;processor type=&quot;Namespace.WildcardResolver, AssemblyName&quot;&#xA;                   patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And your code :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class WildcardResolver : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        //Item is not null and is wild card&#xA;        if (Sitecore.Context.Item != null || Sitecore.Context.Item.Name == &quot;*&quot;)&#xA;        {&#xA;            //Verify that external data source have the data &#xA;            //If not, then set the context item to null ,&#xA;            // Sitecore.Context.Item  = null&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-06-07T20:34:02.220" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12214" PostTypeId="1" CreationDate="2018-06-08T00:56:10.667" Score="0" ViewCount="1716" Body="&lt;p&gt;In Experience editor, the following error appears in the F12 Console when adding a new component with any rendering: 'Could not find the rendering in the HTML loaded from server'. I am logged in as admin/b.&lt;/p&gt;&#xA;" OwnerUserId="3799" LastActivityDate="2019-03-12T21:59:19.117" Title="Experience editor, error when adding new component 'Could not find the rendering in the HTML loaded from server'" Tags="|sitecore-client|experience-editor|components|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12215" PostTypeId="2" ParentId="12214" CreationDate="2018-06-08T00:56:10.667" Score="2" Body="&lt;ol&gt;&#xA;&lt;li&gt;Find out the name of the placeholder that you are inserting into by hovering the mouse over the &quot;Add here&quot; button. &lt;/li&gt;&#xA;&lt;li&gt;Let's assume it is the 'content' placeholder, go to Content Editor &gt; navigate to content (/sitecore/layout/Placeholder Settings/content),&lt;/li&gt;&#xA;&lt;li&gt;Go to the &quot;Data&quot; section, &quot;Allowed Controls&quot;, click Edit and then add the desired rendering (or all of them which is not recommended).&lt;/li&gt;&#xA;&lt;li&gt;Save. Error should be resolved.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3799" LastActivityDate="2018-06-08T00:56:10.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12216" PostTypeId="1" CreationDate="2018-06-08T01:16:13.273" Score="0" ViewCount="173" Body="&lt;p&gt;Has anyone tried to protect media assets(with hash) outside Sitecore application? &#xA;For example, if a request comes for a Sitecore media URL, you need to create a separate application(say a webApi),  reference Sitecore kernel and use the same hashing algo that &quot;ProtectMediaUrl&quot; uses...and return the valid hash for the requested media ?&lt;/p&gt;&#xA;" OwnerUserId="3807" LastEditorUserId="124" LastEditDate="2019-12-20T15:05:50.000" LastActivityDate="2019-12-20T15:05:50.000" Title="Sitecore media protection | outside sitecore application" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12217" PostTypeId="1" CreationDate="2018-06-08T02:11:30.153" Score="1" ViewCount="624" Body="&lt;p&gt;I have implemented the browser caching on the Sitecore item as follows.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class BrowserCaching : HttpRequestProcessor&#xA;    {&#xA;        public override void Process(HttpRequestArgs args)&#xA;        {&#xA;            Item currentItem;&#xA;&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            Profiler.StartOperation(&quot;Update browser caching headers.&quot;);&#xA;            var currentContext = HttpContext.Current;&#xA;            currentItem = global::Sitecore.Context.Item;&#xA;&#xA;            if (currentContext == null)&#xA;                return;&#xA;&#xA;            if (currentItem.TemplateID.ToString() == &quot;{D00CA443-2122-555C-A72C-4541E3C733FF}&quot;)&#xA;            {&#xA;                SetCacheHeaders(currentItem, currentContext);&#xA;            }&#xA;            Profiler.EndOperation();&#xA;        }&#xA;&#xA;        private static void SetCacheHeaders(Item item, HttpContext currentContext)&#xA;        {&#xA;            currentContext.Response.Cache.SetCacheability(HttpCacheability.Public);&#xA;            var ts = new TimeSpan(0, Convert.ToInt32(30), 0);&#xA;            currentContext.Response.Cache.SetMaxAge(ts);&#xA;            currentContext.Response.Cache.SetExpires(DateTime.Now.AddYears(1));&#xA;            var date = item.Statistics.Updated;&#xA;            if (date &amp;gt; DateTime.Now)&#xA;            {&#xA;                date = DateTime.Now;&#xA;            }&#xA;            currentContext.Response.Cache.SetLastModified(date);&#xA;            currentContext.Response.Cache.SetETag(item.Statistics.Revision);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Cache MaxAge is 30 mins. Expires is 1 year. The headers for the first request and Page refresh looks like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First request&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PwOjn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PwOjn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Page refresh&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3zcy6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3zcy6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The header seems to set the cache control headers in the Response headers but the page is not getting cached. On every refresh (hitting the enter button on address bar to refresh the page), the status is 200. I am using Chrome developer tool and also checked the Disable cache checkbox is unchecked. Also not using the incognito mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked Chrome/Firefox and IE and the page status is always 200. The page is not getting cached. Seems like &lt;code&gt;no-cache=“Set-Cookie”&lt;/code&gt; is causing this and here is the similar question &lt;a href=&quot;https://stackoverflow.com/questions/39081537/what-is-setting-no-cache-set-cookie&quot;&gt; What is setting no-cache=&quot;Set-Cookie&quot;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If i remove this set-cookie from the header then will it cause any problems to storing the contact detail in analytics?. How can I remove this line from the header. Is this causing page not to be cached?. Please any help would be appreciated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerDisplayName="user2980" LastEditorUserId="73" LastEditDate="2018-06-08T10:06:48.990" LastActivityDate="2018-08-07T13:01:09.480" Title="Browser caching not working" Tags="|caching|" AnswerCount="1" CommentCount="1" ClosedDate="2018-08-07T13:02:25.020" ContentLicense="CC BY-SA 4.0" />
  <row Id="12218" PostTypeId="1" AcceptedAnswerId="12223" CreationDate="2018-06-08T04:11:55.017" Score="4" ViewCount="123" Body="&lt;p&gt;Using Sitecore 9.0.1, and DEF 2.0.1, we have pipelines set-up which read attributes from an API, and then update / create an attribute item in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hfeoo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hfeoo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We now need to change this so that attributes of type A are created in folder AA and attributes of type B are created in folder BB etc. i.e. the data returned from the api is created in Sitecore in different folders dependent on the value of a type field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My first thought was that it would involve a custom implementation of ResolveSitecoreItemStepProcessor. However, this would require path settings for folders AA, BB etc. to specify the path to the folder to contain created items and would seem to be overly complex. Could something be done at the Iterate  Rows from Source and Run Pipeline step instead with a custom implementation?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2018-06-08T08:16:04.587" Title="Data Exchange Framework 2.0.1 - Data from API to be created in multiple Sitecore Folders" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12220" PostTypeId="1" CreationDate="2018-06-08T07:15:51.723" Score="8" ViewCount="8206" Body="&lt;p&gt;What is difference between Static and Dynamic placeholder? How to choose one over another?&lt;/p&gt;&#xA;" OwnerUserId="2752" LastActivityDate="2018-06-08T15:51:46.317" Title="What's difference between Static and Dynamic placeholder? How to choose one over another?" Tags="|dynamic-placeholder|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12222" PostTypeId="2" ParentId="10677" CreationDate="2018-06-08T08:00:42.900" Score="5" Body="&lt;p&gt;I have combined Vlad's code and put it into dedicated 'ListManager' class and created a method that retrieves contacts from list by its id and it could take both ContactList and SegmentList. You need to registed this class in the IoC in order to resolve dependencies. Here is what I have. This is tested and working on Sitecore 9.0.1:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Globalization;&#xA;using System.Linq;&#xA;using Sitecore.Data;&#xA;using Sitecore.ListManagement;&#xA;using Sitecore.ListManagement.XConnect;&#xA;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Client.Synchronous;&#xA;using Sitecore.XConnect.Collection.Model;&#xA;using Sitecore.XConnect.Segmentation;&#xA;using Sitecore.XConnect.Segmentation.ExpressionBuilder;&#xA;using Sitecore.XConnect.Segmentation.Predicates;&#xA;using Sitecore.XConnect.Segmentation.Predicates.Contacts;&#xA;&#xA;public class ListManager&#xA;{&#xA;    private readonly IContactListProvider contactListProvider;&#xA;    private readonly IContactSearchExpressionBuilder expressionBuilder;&#xA;    private readonly ISegmentationEngine segmentationEngine;&#xA;&#xA;    public ListManager(&#xA;        IContactListProvider contactListProvider,&#xA;        IContactSearchExpressionBuilder expressionBuilder,&#xA;        ISegmentationEngine segmentationEngine)&#xA;    {&#xA;        this.contactListProvider = contactListProvider;&#xA;        this.expressionBuilder = expressionBuilder;&#xA;        this.segmentationEngine = segmentationEngine;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Retrieves contacts from list. List can be of both 'ContactList' or 'SegmentedList'&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;listId&quot;&amp;gt;ID of the list (GUID).&amp;lt;/param&amp;gt;&#xA;    public IEnumerable&amp;lt;Contact&amp;gt; GetContactsFromList(Guid listId)&#xA;    {&#xA;        var listItem = Sitecore.Context.Database.GetItem(new ID(listId));&#xA;        if (listItem != null)&#xA;        {&#xA;            var listType = listItem[&quot;Type&quot;];&#xA;&#xA;            const int batchSize = 200;&#xA;            var expandOptions = new ContactExpandOptions(CollectionModel.FacetKeys.PersonalInformation);&#xA;&#xA;            IEntityBatchEnumerator&amp;lt;Contact&amp;gt; contacts = null;&#xA;&#xA;            if (listType.Equals(&quot;ContactList&quot;, StringComparison.InvariantCultureIgnoreCase))&#xA;            {&#xA;&#xA;                var listSubscriptionConditions = new ListSubscriptionMatches()&#xA;                {&#xA;                    ListId = listId&#xA;                };&#xA;&#xA;                contacts = this.segmentationEngine.FindContacts(&#xA;                    listSubscriptionConditions, &#xA;                    batchSize, &#xA;                    expandOptions);&#xA;            }&#xA;&#xA;            if (listType.Equals(&quot;SegmentedList&quot;, StringComparison.InvariantCultureIgnoreCase))&#xA;            {&#xA;                // works only if culture is 'en'&#xA;                var culture = CultureInfo.GetCultureInfo(&quot;en&quot;);&#xA;                var contactList = this.contactListProvider.Get(listId, culture);&#xA;&#xA;                var segments = contactList.SegmentDefinitions;&#xA;                var ruleConditions = segments.SelectMany(x =&amp;gt; x.Rules).Select(x =&amp;gt; x.Condition);&#xA;&#xA;                var contactSearchQuery = this.expressionBuilder.BuildQueryFactories(ruleConditions)&#xA;                    .CombineUsingOr();&#xA;&#xA;                contacts = this.segmentationEngine.FindContacts(&#xA;                    contactSearchQuery, &#xA;                    batchSize, &#xA;                    expandOptions);&#xA;            }&#xA;&#xA;            if (contacts != null)&#xA;            {&#xA;                while (contacts.MoveNext())&#xA;                {&#xA;                    foreach (var contact in contacts?.Current ?? Enumerable.Empty&amp;lt;Contact&amp;gt;())&#xA;                    {&#xA;                        yield return contact;&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="915" LastActivityDate="2018-06-08T08:00:42.900" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12223" PostTypeId="2" ParentId="12218" CreationDate="2018-06-08T08:16:04.587" Score="2" Body="&lt;p&gt;You have to add one more pipeline step before &lt;strong&gt;Resolve Attribute Item&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Call it &lt;strong&gt;Resolve Item Parent for Attribute&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I understand your &lt;strong&gt;Resolve Attribute Item&lt;/strong&gt; is &lt;strong&gt;Resolve Sitecore Item&lt;/strong&gt; pipeline step. That means that this pipeline step has a setting &lt;strong&gt;Parent for Item Location&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your task is in &lt;strong&gt;Resolve Item Parent for Attribute&lt;/strong&gt; resolve and put the parent to a location and in the resolver, pick up resolved item from the location.&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-06-08T08:16:04.587" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12224" PostTypeId="2" ParentId="12220" CreationDate="2018-06-08T09:02:54.973" Score="16" Body="&lt;p&gt;Simplified, this is how you can think of Sitecore placeholders and how Sitecore uses them to build up your page.&lt;/p&gt;&#xA;&lt;h3&gt;Sitecore Presentation Details, regular placeholders&lt;/h3&gt;&#xA;&lt;p&gt;For any page, Sitecore maintains a &amp;quot;map&amp;quot; of &amp;quot;presentation details&amp;quot;. Simplified, this is just a map of &lt;code&gt;placeholder&lt;/code&gt; and &lt;code&gt;component&lt;/code&gt;. So something like this&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;main&lt;/code&gt; (placeholder)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;heading&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;navigation&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;body_2col&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;left&lt;/code&gt; (placeholder - from &lt;code&gt;body_2col&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;article&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;right&lt;/code&gt; (placeholder - from &lt;code&gt;body_2col&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;callouts&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This is Sitecore's default approach. The problem with this approach is, that if if you add &lt;code&gt;body_2col&lt;/code&gt; to the same page more than once, this model has a problem. Sitecore's &amp;quot;map&amp;quot; will no longer be sufficient, as there is no way to distinguish for Sitecore between &lt;code&gt;left&lt;/code&gt; for the first &lt;code&gt;body_2col&lt;/code&gt; and the second one.&lt;/p&gt;&#xA;&lt;h3&gt;Dynamic Placeholders&lt;/h3&gt;&#xA;&lt;p&gt;Dynamic Placeholders solves this problem, by making the placeholders unique. Assuming &lt;code&gt;body_2col&lt;/code&gt; used a Dynamic Placeholder instead of a normal one - the picture comes out looking like this:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;main&lt;/code&gt; (placeholder)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;heading&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;navigation&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;body_2col&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;body_2col&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;left_1&lt;/code&gt; (placeholder - from &lt;code&gt;body_2col&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;article&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;right_1&lt;/code&gt; (dynamic placeholder - from &lt;code&gt;body_2col&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;callouts&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;left_2&lt;/code&gt; (dynamic placeholder, from &lt;code&gt;body_2col&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;newslist&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;right_2&lt;/code&gt; (dynamic placeholder - from &lt;code&gt;body_2col&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;top3news&lt;/code&gt; (component)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;When to chose one over the other&lt;/h3&gt;&#xA;&lt;p&gt;For &lt;em&gt;normal&lt;/em&gt; placeholders, you can predict the placeholder name (key). This means you can predictably add components to them via the Content Editor interface, programatically, or any other way.&lt;/p&gt;&#xA;&lt;p&gt;For &lt;em&gt;dynamic&lt;/em&gt; placeholders, the name (key) is determined at the time they are injected into the page layout - usually in the Experience Editor. If there are many of them on a page, working with Presentation Details via e.g. Content Editor becomes very difficult for a regular user.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-06-08T09:02:54.973" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12225" PostTypeId="1" AcceptedAnswerId="12230" CreationDate="2018-06-08T10:12:43.087" Score="3" ViewCount="1521" Body="&lt;p&gt;I am trying to install Sitecore 9 on my Windows 10 local developer machine runnin SQLExpress 2016.&#xA;I have to attend developers training soon and for that I need Sitecore 9 running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some reason, I cannot pass forward this error. My SQL Express admin password is &lt;code&gt;2!SiteCore&lt;/code&gt; which is strong enough but it keeps complaining that &lt;code&gt;Error: Password validation failed. The password does not meet Windows policy requirements because it is too short.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It has been 24 hours for me and I have searched left right and center. I have tried many different options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Complete error message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Info: Adding database (user id=sc9;data source=.\SQLEXPRESS;initial catalog=sitecore9_MarketingAutomation)&#xA;Info: Adding database (MsDeploy.Site/dbFullSql[@path='user id=sc9;data source=.\SQLEXPRESS;initial catalog=sitecore9_MarketingAutomation']/sqlScript)&#xA;Info: Opening SQL Connection with connection string 'data source=.\SQLEXPRESS;initial catalog=sitecore9_MarketingAutomation;user id=sc9;pooling=False'. The 'transacted' setting for this connection is 'False'.&#xA;Error: Password validation failed. The password does not meet Windows policy requirements because it is too short.&#xA;Error count: 1.&#xA;Error Code: ERROR_SQL_EXECUTION_FAILURE&#xA;More Information: An error occurred during execution of the database script. The error occurred between the following lines of the script: &quot;9&quot; and &quot;12&quot;. The verbose log might have more information about the error. The command started with the following:&#xA;&quot;CREATE USER [marketingautomationuser] WITH PASSW&quot;&#xA; Password validation failed. The password does not meet Windows policy requirements because it is too short. http://go.microsoft.com/fwlink/?LinkId=178587  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE.&#xA;Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At C:\sitecore\install\installation.ps1:57 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:01:25&#xA;Transcript stopped, output file is C:\sitecore\install\xconnect-xp0.180608 (2).log&#xA;Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Tasks\Invoke-WebDeployTask.ps1:36 char:2&#xA;+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Error points to the line 57 of my &lt;code&gt;installation.ps&lt;/code&gt; which is last line below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$xconnectParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;     &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip&quot;     &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    Sitename = $XConnectCollectionService     &#xA;    XConnectCert = $certParams.CertificateName     &#xA;    SqlDbPrefix = $prefix  &#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix     &#xA;    SolrURL = $SolrUrl      &#xA;    } &#xA;&#xA;Install-SitecoreConfiguration @xconnectParams -Verbose  // Line # 57&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It has nothing to do with my SQL password. My SQL Server password is very complex. It have tried several complex passwords. It is trying to create a user from what i see and fails there &#xA;&lt;code&gt;&quot;CREATE USER [marketingautomationuser] WITH PASSW&quot;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3808" LastEditorUserId="3808" LastEditDate="2018-06-08T10:33:34.283" LastActivityDate="2018-06-12T14:24:34.580" Title="Sitecore 9 Installation - Password is too short" Tags="|sitecore-install-framework|" AnswerCount="3" CommentCount="14" ClosedDate="2018-06-18T08:13:48.397" ContentLicense="CC BY-SA 4.0" />
  <row Id="12226" PostTypeId="2" ParentId="12225" CreationDate="2018-06-08T11:06:37.077" Score="2" Body="&lt;p&gt;Give this a go, this might solve the problem for you:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to: &lt;code&gt;Start &amp;gt; Run &amp;gt; type &quot;secpol.msc&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then go to: &lt;code&gt;\Security Settings\Account Policies\Password Policy&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then disable 'password must meet complexity requirements' and apply&lt;/p&gt;&#xA;&#xA;&lt;p&gt;then try again.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;obviously this should only be done on local dev environments and not&#xA;  on other environments.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-06-08T11:06:37.077" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="12228" PostTypeId="2" ParentId="12217" CreationDate="2018-06-08T12:14:28.983" Score="0" Body="&lt;p&gt;Chrome can ignore &lt;code&gt;Cache-Control&lt;/code&gt;, &lt;code&gt;Max-age&lt;/code&gt; and &lt;code&gt;Expires&lt;/code&gt; headers.&#xA;(I suppose that you uses Chrome by your screenshot)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Modern browsers are too smart that even if you send them cache headers, they can ignore them in next cases:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.scorchsoft.com/blog/force-chrome-clear-cache/&quot; rel=&quot;nofollow noreferrer&quot;&gt;When developer tools are open&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://blog.chromium.org/2017/01/reload-reloaded-faster-and-leaner-page_26.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;When you reload same page in same tab&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Using JS: &lt;code&gt;window.location.reload()&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://chromium.googlesource.com/chromium/src/+/540d0cca0eba6e24679387bb67e49d459969e6e9/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp#694&quot; rel=&quot;nofollow noreferrer&quot;&gt;When you do POST request&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I suggest you to verify if your code works by debugging code(check if it is called) and reviewing IIS logs, because your cache headers look ok.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. Think twice before starting using caching in browser on page level, you will lose some Sitecore features, for example personalization.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-06-08T12:14:28.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12229" PostTypeId="2" ParentId="12176" CreationDate="2018-06-08T14:14:59.267" Score="3" Body="&lt;p&gt;Hello excellent community folks - you don't strictly need a load balancer; you can choose a processing server for the CM to connect to. The CM-&gt;Processing connection is only needed to kick off reporting rebuild. That said, I understand that if Processing servers are being added/removed/changed, you don't want to just cross your fingers and hope that the CM has a Processing server to connect to when you need it! I will update that doc/s. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Edit: verified by the Processing developer a few minutes ago. Some extra info for anyone that happens upon this page; communication between multiple Processing instances happens via the Processing Tasks database)&lt;/p&gt;&#xA;" OwnerUserId="340" LastEditorUserId="340" LastEditDate="2018-06-08T14:20:16.037" LastActivityDate="2018-06-08T14:20:16.037" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12230" PostTypeId="2" ParentId="12225" CreationDate="2018-06-08T14:44:44.717" Score="4" Body="&lt;p&gt;Given the error and the complexity of your admin password, this might be related to the password being assigned to the marketing user when it is being created. By default, I believe this is &lt;code&gt;Test12345&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try updating the values in your XP0 JSON config file for the passwords being assigned to the created users for each database. I have had this issue when installing on a secure installation because the default password in the JSON file was not complex enough.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; This applies to both &lt;code&gt;xconnect-xp0.json&lt;/code&gt; and &lt;code&gt;sitecore-xp0.json&lt;/code&gt; files.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2018-06-10T04:32:12.483" LastActivityDate="2018-06-10T04:32:12.483" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="12231" PostTypeId="1" AcceptedAnswerId="12233" CreationDate="2018-06-08T14:46:23.043" Score="2" ViewCount="652" Body="&lt;p&gt;I am trying to edit &lt;code&gt;sitecore-XP0.json&lt;/code&gt; file and provide some values in it. But I am unable to find any information on how to edit the file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have edited the file like this but it does not seem to take effect. &#xA;Notice how I added another row as &quot;Value&quot;. Can someone please tell me how to edit this file?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Parameters&quot;: {&#xA;        &quot;Package&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The path to the Web Deploy package to deploy.&quot;,&#xA;            &quot;Value&quot;: &quot;C:\\sitecore\\install\\Sitecore9.0.0 rev.171002__single.scwdp.zip&quot;&#xA;        },&#xA;        &quot;LicenseFile&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The path to the Sitecore license file.&quot;,&#xA;            &quot;Value&quot;: &quot;C:\\sitecore\\install\\license.xml&quot;&#xA;        },&#xA;        &quot;SqlDbPrefix&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The prefix used for all Sql databases.&quot;,&#xA;            &quot;Value&quot;: &quot;sc9&quot;&#xA;        },&#xA;        &quot;SolrCorePrefix&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The prefix used for all Solr cores.&quot;,&#xA;            &quot;Value&quot;: &quot;SOLR6&quot;&#xA;        },      &#xA;        &quot;XConnectCert&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The certificate to use for encryption. Provide the name or the thumbprint.&quot;&#xA;        },&#xA;        &quot;SiteName&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;sitecore9&quot;,&#xA;            &quot;Description&quot;: &quot;The name of the site to be deployed.&quot;&#xA;        },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3808" LastActivityDate="2018-06-08T15:07:43.043" Title="How to edit sitecore-XP0.json file" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12232" PostTypeId="2" ParentId="12225" CreationDate="2018-06-08T14:59:50.897" Score="3" Body="&lt;p&gt;The password for the &lt;code&gt;marketingautomationuser&lt;/code&gt; account comes from the sitecore-xp0.json and xconnect-xp0.json files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &quot;SqlMarketingAutomationUser&quot;: {&#xA;        &quot;Type&quot;: &quot;string&quot;,&#xA;        &quot;DefaultValue&quot;: &quot;marketingautomationuser&quot;,&#xA;        &quot;Description&quot;: &quot;The Sql user for the Marketing Automation connection string in Sitecore.&quot;&#xA;    },&#xA;    &quot;SqlMarketingAutomationPassword&quot;: {&#xA;        &quot;Type&quot;: &quot;string&quot;,&#xA;        &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;        &quot;Description&quot;: &quot;The Sql password for the Marketing Automation connection string in Sitecore.&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Instead of editing these files to change the &lt;code&gt;SqlMarketingAutomationPassword&lt;/code&gt; default, you should instead update your installation script to provide the new password:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SqlMarketingAutomationPassword = &quot;Sup3rSecureS1tecore_pass!&quot; &#xA;&#xA;$xconnectParams = @{&#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;&#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;    SiteName = $XConnectCollectionService&#xA;    XConnectCert = $certParams.CertificateName&#xA;    SqlDbPrefix = $prefix&#xA;    SqlServer = $SqlServer&#xA;    SqlAdminUser = $SqlAdminUser&#xA;    SqlAdminPassword = $SqlAdminPassword&#xA;    SolrCorePrefix = $prefix&#xA;    SolrURL = $SolrUrl&#xA;    SqlMarketingAutomationPassword = $SqlMarketingAutomationPassword&#xA;}&#xA;&#xA;$sitecoreParams = @{&#xA;    Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot;&#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_single.scwdp.zip&quot;&#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;    SqlDbPrefix = $prefix&#xA;    SqlServer = $SqlServer&#xA;    SqlAdminUser = $SqlAdminUser&#xA;    SqlAdminPassword = $SqlAdminPassword&#xA;    SolrCorePrefix = $prefix&#xA;    SolrUrl = $SolrUrl&#xA;    XConnectCert = $certParams.CertificateName&#xA;    SiteName = $sitecoreSiteName&#xA;    XConnectCollectionService = &quot;https://$XConnectCollectionService&quot;&#xA;    SqlMarketingAutomationPassword = $SqlMarketingAutomationPassword&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As &lt;a href=&quot;https://sitecore.stackexchange.com/users/3808/sallu&quot;&gt;Sallu&lt;/a&gt; noted in a comment, the default password for many of the automatically-created accounts is &lt;code&gt;Test12345&lt;/code&gt;, which would not meet your Windows password policy requirements. By my count, there are twelve accounts Sitecore creates with the password &lt;code&gt;Test12345&lt;/code&gt;. You'll need to update the above code to include all twelve of those accounts and their newer more secure passwords (or, as Sallu suggested, edit the json files directly; still not the preferred solution, but permissible in a pinch). &lt;/p&gt;&#xA;" OwnerUserId="368" LastEditorUserId="368" LastEditDate="2018-06-12T14:24:34.580" LastActivityDate="2018-06-12T14:24:34.580" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12233" PostTypeId="2" ParentId="12231" CreationDate="2018-06-08T15:07:43.043" Score="7" Body="&lt;p&gt;You really shouldn't edit those files. If you need to override any of the default values, provide those overrides in your installation script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SqlMarketingAutomationPassword = &quot;Sup3rSecureS1tecore_pass!&quot; &#xA;&#xA;$xconnectParams = @{&#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;&#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;    SiteName = $XConnectCollectionService&#xA;    XConnectCert = $certParams.CertificateName&#xA;    SqlDbPrefix = $prefix&#xA;    SqlServer = $SqlServer&#xA;    SqlAdminUser = $SqlAdminUser&#xA;    SqlAdminPassword = $SqlAdminPassword&#xA;    SolrCorePrefix = $prefix&#xA;    SolrURL = $SolrUrl&#xA;    SqlMarketingAutomationPassword = $SqlMarketingAutomationPassword&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="368" LastActivityDate="2018-06-08T15:07:43.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12234" PostTypeId="2" ParentId="12216" CreationDate="2018-06-08T15:18:15.617" Score="1" Body="&lt;p&gt;You are asking how to get the hash value for a Sitecore media item and specific parameters from a non-Sitecore application, yes? You only need the hash if you are providing querystring parameters to the media asset; note the &lt;code&gt;h&lt;/code&gt; and &lt;code&gt;w&lt;/code&gt; parameters in this link:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://yoursite.com/image.jpg?h=165&amp;amp;w=400&amp;amp;hash=64724EFA440F8C6CC25FF0206D2109B34BBF2020&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should be able to create an API as you mentioned that takes in the media reference and parameters you need, then returns the hash for the media item. However, this API would open your site up to the very type of attack that Media Request Protection is designed to prevent. If you go this route, make sure that API is properly secured and protected from malicious users. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't need to use any parameters, you don't need to get the hash; Sitecore will return the unaltered media item. &lt;/p&gt;&#xA;" OwnerUserId="368" LastActivityDate="2018-06-08T15:18:15.617" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12235" PostTypeId="2" ParentId="12220" CreationDate="2018-06-08T15:51:46.317" Score="5" Body="&lt;p&gt;Mark Cassidy's response explains the why best.  However just to summarize, without Dynamic Placeholders, if you are trying to build a truly reusable website, where you reuse components as much as possible, you will run into issues if you do not use Dynamic Placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I would recommend that dynamic placeholders should be at the core of any Sitecore implementation.  It's important to know that if you are using Sitecore 9.x you have one already provided to you as part of the Core product.  This was introduced in Sitecore 9 because of the huge demand for it from the community.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dynamic_placeholders&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dynamic_placeholders&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using a version prior to Sitecore 9, there are a lot of great options available to use from the community.  You can also build your own.  The concept of how it works is pretty simple.  You basically need to create an extension method for the standard &lt;code&gt;@Html.Sitecore().Placeholder()&lt;/code&gt; method, that does a little more than the existing implementation. Then you'll adjust additional pipelines so that when the page renders it knows how to render the page correctly using the hidden placeholder key variations. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Uses a Unique Rendering Id:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Behind the scenes when you call &lt;code&gt;@Html.Sitecore().DynamicPlaceholder(&quot;Name&quot;)&lt;/code&gt; (extension method provided by the module) will add Name_{Guid} to the Placeholder name behind the scenes, so that you can specifically target it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are some advantages to the Id approach.  If you are working within the Experience Editor, there really isn't too much of a difference.  If however, you need to make any changes to the Presentation Details in the Content Editor, It's easier to move around id's than incremental numbers.  An incremental numbering system can get pretty complicated if you need to move a substantial part of your page around.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/T/True_Dynamic_Placeholders.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/T/True_Dynamic_Placeholders.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Fortis-Collection/dynamic-placeholders&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Fortis-Collection/dynamic-placeholders&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Uses a Index Counter:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically behind the scenes when you call &lt;code&gt;@Html.Sitecore().DynamicPlaceholder(&quot;Name&quot;)&lt;/code&gt; (extension method provided by the module), it will spit out Name_0, Name_1 or some variation to that key to allow content editors to specifically target a placeholder on the page.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/I/Integrated_Dynamic_Placeholders.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/I/Integrated_Dynamic_Placeholders.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are many more articles on the web that aren't necessarily packaged software that you can use as well, especially if you want to build your own (though with most of the ones out there, I don't see a reason why you would).&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-06-08T15:51:46.317" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12237" PostTypeId="1" AcceptedAnswerId="12256" CreationDate="2018-06-08T16:12:44.833" Score="0" ViewCount="3473" Body="&lt;p&gt;I am installing Sitecore 9 on my laptop running Windows 10, SQL Express 2016. At the very last steps of installation (around step 29) I am getting stuck at same spot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The output is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[--------------------------------------------------------------------------------------- CreateCores [11] : ManageSolrCore -----------------------------------------------------------------------------------------]&#xA;[CreateCores [11]]:[SolrCore] Performing Create on https://localhost:8983/solr&#xA;&#xA;&#xA;responseHeader         core&#xA;--------------         ----&#xA;@{status=0; QTime=391} sitecore9_fxm_web_index&#xA;&#xA;&#xA;[TIME] 00:00:29&#xA;Transcript stopped, output file is C:\sitecore\install\sitecore-solr.180609.log&#xA;ConvertFrom-Json : Invalid JSON primitive: .&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\ConfigFunctions\Invoke-ReadJsonConfigFunction.ps1:13 char:74&#xA;+ ... th).Where({ $_ -notmatch '^\s*\/\/'}) | Out-String | ConvertFrom-Json&#xA;+                                                          ~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [ConvertFrom-Json], ArgumentException&#xA;    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand&#xA;&#xA;GetSection : Cannot bind argument to parameter 'InputObject' because it is null.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Install-SitecoreConfiguration.ps1:26 char:73&#xA;+ ...  if ($params = GetSection -Section 'Parameters' -InputObject $json) {&#xA;+                                                                  ~~~~~&#xA;    + CategoryInfo          : InvalidData: (:) [GetSection], ParameterBindingValidationException&#xA;    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,GetSection&#xA;&#xA;Install-SitecoreConfiguration : A parameter cannot be found that matches parameter name 'SqlServer'.&#xA;At C:\sitecore\install\installation.ps1:88 char:31&#xA;+ Install-SitecoreConfiguration @sitecoreParams&#xA;+                               ~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidArgument: (:) [Install-SitecoreConfiguration], ParameterBindingException&#xA;    + FullyQualifiedErrorId : NamedParameterNotFound,Install-SitecoreConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It seems to be complaining about a &lt;code&gt;.&lt;/code&gt; in JSON file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also it seems to be complaining that &lt;code&gt;Install-SitecoreConfiguration : A parameter cannot be found that matches parameter name 'SqlServer'.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;At C:\sitecore\install\installation.ps1:88 char:31&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;+ Install-SitecoreConfiguration @sitecoreParams&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am at loss there. I am just hoping this will be the last hurdle to pass.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Closest link is this question &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9863/sitecore-installation-framework-fails-parameter-error&quot;&gt;Sitecore installation framework fails parameter error&lt;/a&gt; but he was trying to install on SQL Server 2014 and I have read at many places that people have successfully installed on SQL Express 2016 also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clues on this error, thanks?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Windows 10 / Powershell 5.1 / Solr 6.2.1 / Sitecore 9.0.0 rev. 171002 / SQL Express 2016&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tested with following Ms SQL Server 2016 ending in same error&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Ms SQL Express 2016 SP1&lt;/li&gt;&#xA;&lt;li&gt;Ms SQL Express 2016 SP2&lt;/li&gt;&#xA;&lt;li&gt;Ms SQL Server 2016 Developer SP1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;----------------- Installation.ps1 -----------------------&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters &#xA;$prefix = &quot;sitecore9&quot; &#xA;$PSScriptRoot = &quot;C:\sitecore\install\&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot; &#xA;$sitecoreSiteName = &quot;$prefix&quot; &#xA;$SolrUrl = &quot;https://localhost:8983/solr&quot; &#xA;$SolrRoot = &quot;C:\sitecore\solr-6.6.1\&quot; &#xA;$SolrService = &quot;solr6&quot; &#xA;$SqlServer = &quot;SQLSERVER&quot; &#xA;$SqlAdminUser = &quot;sa&quot; &#xA;$SqlAdminPassword='Admin1234%^' &#xA;&#xA;&#xA;#install client certificate for xconnect &#xA;$certParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;     &#xA;    CertificateName = &quot;$prefix.xconnect_client&quot; &#xA;    } &#xA;&#xA;Install-SitecoreConfiguration @certParams -Verbose &#xA;&#xA;#install solr cores for xdb &#xA;$solrParams = &#xA;@{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;} &#xA;Install-SitecoreConfiguration @solrParams -Verbose &#xA;&#xA;#deploy xconnect instance &#xA;$xconnectParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;     &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip&quot;     &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    Sitename = $XConnectCollectionService     &#xA;    XConnectCert = $certParams.CertificateName     &#xA;    SqlDbPrefix = $prefix  &#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix     &#xA;    SolrURL = $SolrUrl      &#xA;    } &#xA;&#xA;Install-SitecoreConfiguration @xconnectParams -Verbose &#xA;&#xA;#install solr cores for sitecore $solrParams = &#xA;$solrParams = @{     &#xA;    Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;} &#xA;&#xA;Install-SitecoreConfiguration @solrParams &#xA;&#xA;#install sitecore instance &#xA;$xconnectHostName = &quot;$prefix.xconnect&quot; &#xA;$sitecoreParams = &#xA;@{     &#xA;    Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot;     &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_single.scwdp.zip&quot;  &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    SqlDbPrefix = $prefix  &#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix  &#xA;    SolrUrl = $SolrUrl     &#xA;    XConnectCert = $certParams.CertificateName     &#xA;    Sitename = $sitecoreSiteName         &#xA;    XConnectCollectionService = &quot;https://$XConnectCollectionService&quot;    &#xA;} &#xA;Install-SitecoreConfiguration @sitecoreParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;----------------- sitecore-XP0.json -----------------------&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// -------------------------------------------------------------------------- //&#xA;//         Sitecore Install Framework - Sitecore XP0 Configuration            //&#xA;//                                                                            //&#xA;//  Run this configuration to install a single instance of Sitecore.          //&#xA;//  This instance is configured to use Solr.                                  //&#xA;//                                                                            //&#xA;//  NOTE: Only single line comments are accepted in configurations.           //&#xA;// -------------------------------------------------------------------------- //&#xA;{&#xA;    &quot;Parameters&quot;: {&#xA;        // Parameters are values that may be passed when Install-SitecoreConfiguration is called.&#xA;        // Parameters must declare a Type and may declare a DefaultValue and Description.&#xA;        // Parameters with no DefaultValue are required when Install-SitecoreConfiguration is called.&#xA;        &quot;Package&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The path to the Web Deploy package to deploy.&quot;&#xA;        },&#xA;        &quot;LicenseFile&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The path to the Sitecore license file.&quot;,&#xA;        },&#xA;        &quot;SqlDbPrefix&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The prefix used for all Sql databases.&quot;,&#xA;        },&#xA;        &quot;SolrCorePrefix&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The prefix used for all Solr cores.&quot;,&#xA;        },&#xA;        &quot;XConnectCert&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The certificate to use for encryption. Provide the name or the thumbprint.&quot;&#xA;        },&#xA;        &quot;SiteName&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Sitecore&quot;,&#xA;            &quot;Description&quot;: &quot;The name of the site to be deployed.&quot;&#xA;        },&#xA;        &quot;SitecoreAdminPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;b&quot;,&#xA;            &quot;Description&quot;: &quot;The admin password for the Sitecore instance.&quot;&#xA;        },&#xA;        &quot;SqlAdminUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;sc9&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin user account to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SqlAdminPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;admin1234%^&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin password to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SqlCoreUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;coreuser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Core connection string.&quot;&#xA;        },&#xA;        &quot;SqlCorePassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;4rfv%TGB6yhn&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Core connection string in Sitecore.&quot;,&#xA;            &quot;Value&quot;: &quot;4rfv%TGB6yhn&quot;&#xA;        },&#xA;        &quot;SqlMasterUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;masteruser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Master connection string.&quot;&#xA;        },&#xA;        &quot;SqlMasterPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;4rfv%TGB6yhn&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Master connection string in Sitecore.&quot;,&#xA;            &quot;Value&quot;: &quot;4rfv%TGB6yhn&quot;&#xA;        },&#xA;        &quot;SqlWebUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;webuser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Web connection string.&quot;&#xA;        },&#xA;        &quot;SqlWebPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;4rfv%TGB6yhn&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Web connection string in Sitecore.&quot;,&#xA;            &quot;Value&quot;: &quot;4rfv%TGB6yhn&quot;&#xA;        },&#xA;        &quot;SqlReportingUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;reportinguser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Reporting connection string.&quot;&#xA;        },&#xA;        &quot;SqlReportingPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;4rfv%TGB6yhn&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Reporting connection string in Sitecore.&quot;,&#xA;            &quot;Value&quot;: &quot;4rfv%TGB6yhn&quot;&#xA;        },&#xA;        &quot;SqlProcessingPoolsUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;poolsuser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Processing Pools connection string.&quot;&#xA;        },&#xA;        &quot;SqlProcessingPoolsPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;4rfv%TGB6yhn&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Processing Pools connection string in Sitecore.&quot;,&#xA;            &quot;Value&quot;: &quot;4rfv%TGB6yhn&quot;&#xA;        },&#xA;        &quot;SqlProcessingTasksUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;tasksuser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Processing Tasks connection string.&quot;&#xA;        },&#xA;        &quot;SqlProcessingTasksPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;4rfv%TGB6yhn&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Processing Tasks connection string in Sitecore.&quot;,&#xA;            &quot;Value&quot;: &quot;4rfv%TGB6yhn&quot;&#xA;        },&#xA;        &quot;SqlReferenceDataUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;referencedatauser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Reference Data connection string.&quot;&#xA;        },&#xA;        &quot;SqlReferenceDataPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;4rfv%TGB6yhn&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Reference Data connection string in Sitecore.&quot;,&#xA;            &quot;Value&quot;: &quot;4rfv%TGB6yhn&quot;&#xA;        },&#xA;        &quot;SqlMarketingAutomationUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;marketingautomationuser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Marketing Automation connection string.&quot;&#xA;        },&#xA;        &quot;SqlMarketingAutomationPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;4rfv%TGB6yhn&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Marketing Automation connection string in Sitecore.&quot;,&#xA;            &quot;Value&quot;: &quot;4rfv%TGB6yhn&quot;&#xA;        },&#xA;        &quot;SqlFormsUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;formsuser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Experience Forms connection string.&quot;&#xA;        },&#xA;        &quot;SqlFormsPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;4rfv%TGB6yhn&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Experience Forms connection string in Sitecore.&quot;,&#xA;            &quot;Value&quot;: &quot;4rfv%TGB6yhn&quot;&#xA;        },&#xA;        &quot;SqlServer&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;SQLEXPRESS&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql Server where databases will be installed.&quot;&#xA;        },&#xA;        &quot;SolrUrl&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;https://localhost:8983/solr&quot;,&#xA;            &quot;Description&quot;: &quot;The Solr instance to use.&quot;&#xA;        },&#xA;        &quot;XConnectCollectionService&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;https://XConnect&quot;,&#xA;            &quot;Description&quot;: &quot;The url for the XConnect Collection Service.&quot;&#xA;        },&#xA;        &quot;XConnectReferenceDataService&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Reference&quot;: &quot;XConnectCollectionService&quot;,&#xA;            &quot;Description&quot;: &quot;The url for the XConnect Collection Search Service.&quot;&#xA;        },&#xA;        &quot;MarketingAutomationOperationsService&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Reference&quot;: &quot;XConnectCollectionService&quot;,&#xA;            &quot;Description&quot;: &quot;The url for the XConnect Marketing Automation Service.&quot;&#xA;        },&#xA;        &quot;MarketingAutomationReportingService&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Reference&quot;: &quot;XConnectCollectionService&quot;,&#xA;            &quot;Description&quot;: &quot;The url for the XConnect Marketing Automation Reporting Service.&quot;&#xA;        }&#xA;    },&#xA;    &quot;Variables&quot;: {&#xA;        // Database names.&#xA;        &quot;Sql.Database.Core&quot;:                &quot;[concat(parameter('SqlDbPrefix'), '_Core')]&quot;,&#xA;        &quot;Sql.Database.Master&quot;:              &quot;[concat(parameter('SqlDbPrefix'), '_Master')]&quot;,&#xA;        &quot;Sql.Database.Web&quot;:                 &quot;[concat(parameter('SqlDbPrefix'), '_Web')]&quot;,&#xA;        &quot;Sql.Database.Reporting&quot;:           &quot;[concat(parameter('SqlDbPrefix'), '_Reporting')]&quot;,&#xA;        &quot;Sql.Database.Reference&quot;:           &quot;[concat(parameter('SqlDbPrefix'), '_ReferenceData')]&quot;,&#xA;        &quot;Sql.Database.Forms&quot;:               &quot;[concat(parameter('SqlDbPrefix'), '_ExperienceForms')]&quot;,&#xA;        &quot;Sql.Database.Pools&quot;:               &quot;[concat(parameter('SqlDbPrefix'), '_Processing.Pools')]&quot;,&#xA;        &quot;Sql.Database.Tasks&quot;:               &quot;[concat(parameter('SqlDbPrefix'), '_Processing.Tasks')]&quot;,&#xA;        &quot;Sql.Database.MarketingAutomation&quot;: &quot;[concat(parameter('SqlDbPrefix'), '_MarketingAutomation')]&quot;,&#xA;&#xA;        // The security certificate details&#xA;        &quot;Security.CertificateStore&quot;:                &quot;Cert:\\Localmachine\\My&quot;,&#xA;        &quot;Security.XConnect.CertificateThumbprint&quot;:  &quot;[GetCertificateThumbprint(parameter('XConnectCert'), variable('Security.CertificateStore'))]&quot;,&#xA;        &quot;Security.XConnect.CertificatePath&quot;:        &quot;[joinpath(variable('Security.CertificateStore'), variable('Security.XConnect.CertificateThumbprint'))]&quot;,&#xA;&#xA;        // Solr core names.&#xA;        &quot;Solr.Core.Name&quot;:       &quot;[concat(parameter('SolrCorePrefix'), '_core_index')]&quot;,&#xA;        &quot;Solr.Master.Name&quot;:     &quot;[concat(parameter('SolrCorePrefix'), '_master_index')]&quot;,&#xA;        &quot;Solr.Web.Name&quot;:        &quot;[concat(parameter('SolrCorePrefix'), '_web_index')]&quot;,&#xA;        &quot;Solr.MD.Master.Name&quot;:  &quot;[concat(parameter('SolrCorePrefix'), '_marketingdefinitions_master')]&quot;,&#xA;        &quot;Solr.MD.Web.Name&quot;:     &quot;[concat(parameter('SolrCorePrefix'), '_marketingdefinitions_web')]&quot;,&#xA;        &quot;Solr.MA.Master.Name&quot;:  &quot;[concat(parameter('SolrCorePrefix'), '_marketing_asset_index_master')]&quot;,&#xA;        &quot;Solr.MA.Web.Name&quot;:     &quot;[concat(parameter('SolrCorePrefix'), '_marketing_asset_index_web')]&quot;,&#xA;        &quot;Solr.Testing.Name&quot;:    &quot;[concat(parameter('SolrCorePrefix'), '_testing_index')]&quot;,&#xA;        &quot;Solr.Suggested.Name&quot;:  &quot;[concat(parameter('SolrCorePrefix'), '_suggested_test_index')]&quot;,&#xA;        &quot;Solr.FXM.Master.Name&quot;: &quot;[concat(parameter('SolrCorePrefix'), '_fxm_master_index')]&quot;,&#xA;        &quot;Solr.FXM.Web.Name&quot;:    &quot;[concat(parameter('SolrCorePrefix'), '_fxm_web_index')]&quot;,&#xA;&#xA;        // The sites full path on disk&#xA;        &quot;Site.PhysicalPath&quot;: &quot;[joinpath(environment('SystemDrive'), 'inetpub', 'wwwroot', parameter('SiteName'))]&quot;,&#xA;&#xA;        // The sites data folder&#xA;        &quot;Site.DataFolder&quot;: &quot;[joinpath(variable('Site.PhysicalPath'), 'App_Data')]&quot;&#xA;    },&#xA;    &quot;Tasks&quot;: {&#xA;        // Tasks are separate units of work in a configuration.&#xA;        // Each task is an action that will be completed when Install-SitecoreConfiguration is called.&#xA;        // By default, tasks are applied in the order they are declared.&#xA;        // Tasks may reference Parameters, Variables, and config functions.&#xA;        &quot;CreatePaths&quot;: {&#xA;            // Ensure the destination path for the site exists.&#xA;            &quot;Type&quot;: &quot;EnsurePath&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Exists&quot;: [ &quot;[variable('Site.PhysicalPath')]&quot; ]&#xA;            }&#xA;        },&#xA;        &quot;CreateAppPool&quot;: {&#xA;            // Creates or updates the app pool.&#xA;            &quot;Type&quot;: &quot;AppPool&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Properties&quot;: {&#xA;                    &quot;ProcessModel&quot;: {&#xA;                        &quot;identityType&quot;: &quot;ApplicationPoolIdentity&quot;&#xA;                    }&#xA;                }&#xA;            }&#xA;        },&#xA;        &quot;CreateWebsite&quot;: {&#xA;            // Creates or updates the IIS website instance.&#xA;            &quot;Type&quot;: &quot;Website&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;ApplicationPool&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;PhysicalPath&quot;: &quot;[variable('Site.PhysicalPath')]&quot;&#xA;            }&#xA;        },&#xA;        &quot;StopWebsite&quot;: {&#xA;            // Stops the website if it is running.&#xA;            &quot;Type&quot;: &quot;ManageWebsite&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Action&quot;: &quot;Stop&quot;&#xA;            }&#xA;        },&#xA;        &quot;StopAppPool&quot;: {&#xA;            // Stops the app pool if it is running.&#xA;            &quot;Type&quot;: &quot;ManageAppPool&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Action&quot;: &quot;Stop&quot;&#xA;            }&#xA;        },&#xA;        &quot;CreateBindings&quot;: {&#xA;            // Configures the site bindings for the website.&#xA;            &quot;Type&quot;: &quot;WebBinding&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;SiteName&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Add&quot;: [ { &quot;HostHeader&quot;: &quot;[parameter('SiteName')]&quot; } ],&#xA;                &quot;Remove&quot;: [ { &quot;Port&quot;: &quot;80&quot;, &quot;IPAddress&quot;: &quot;*&quot; } ]&#xA;            }&#xA;        },&#xA;        &quot;CreateHostHeader&quot;: {&#xA;            // Sets a hostheader for the website.&#xA;            &quot;Type&quot;: &quot;HostHeader&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;HostName&quot;: &quot;[parameter('SiteName')]&quot;&#xA;            }&#xA;        },&#xA;        &quot;SetPermissions&quot;: {&#xA;            // Sets permissions for the app pool user.&#xA;            &quot;Type&quot;: &quot;FilePermissions&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;[variable('Site.PhysicalPath')]&quot;,&#xA;                &quot;Rights&quot;: [&#xA;                    {&#xA;                        &quot;User&quot;: &quot;[concat('IIS AppPool\\', parameter('SiteName'))]&quot;,&#xA;                        &quot;FileSystemRights&quot;: &quot;FullControl&quot;,&#xA;                        &quot;InheritanceFlags&quot;: [ &quot;ContainerInherit&quot;, &quot;ObjectInherit&quot; ]&#xA;                    }&#xA;                ]&#xA;            }&#xA;        },&#xA;        &quot;SetCertStorePermissions&quot;: {&#xA;            // Set permissions for the services to access the client certificate.&#xA;            &quot;Type&quot;: &quot;FilePermissions&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;[ResolveCertificatePath(variable('Security.XConnect.CertificatePath'))]&quot;,&#xA;                &quot;Rights&quot;: [&#xA;                    {&#xA;                        &quot;User&quot;: &quot;[concat('IIS AppPool\\', parameter('SiteName'))]&quot;,&#xA;                        &quot;FileSystemRights&quot;: [ &quot;Read&quot; ],&#xA;                        &quot;InheritanceFlags&quot;: [ &quot;None&quot; ]&#xA;                    }&#xA;                ]&#xA;            }&#xA;        },&#xA;        &quot;InstallWDP&quot;: {&#xA;            // Syncs the web deploy package with the website.&#xA;            &quot;Type&quot;: &quot;WebDeploy&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Verb&quot;: &quot;Sync&quot;,&#xA;                &quot;Arguments&quot;: {&#xA;                    &quot;Source&quot;: {&#xA;                        &quot;Package&quot;: &quot;[resolvepath(parameter('Package'))]&quot;&#xA;                    },&#xA;                    &quot;Dest&quot;: &quot;Auto&quot;,&#xA;                    &quot;SetParam&quot;: [&#xA;                        { &quot;Name&quot;: &quot;Application Path&quot;, &quot;Value&quot;: &quot;[parameter('SiteName')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Database Server Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlServer')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Sitecore Admin New Password&quot;, &quot;Value&quot;: &quot;[parameter('SitecoreAdminPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Database Admin User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlAdminUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Database Admin User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlAdminPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Core DB Name&quot;, &quot;Value&quot;: &quot;[variable('Sql.Database.Core')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Master DB Name&quot;, &quot;Value&quot;: &quot;[variable('Sql.Database.Master')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Web DB Name&quot;, &quot;Value&quot;: &quot;[variable('Sql.Database.Web')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Reporting DB Name&quot;, &quot;Value&quot;: &quot;[variable('Sql.Database.Reporting')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XDB Reference Data DB Name&quot;, &quot;Value&quot;: &quot;[variable('Sql.Database.Reference')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Experience Forms DB Name&quot;, &quot;Value&quot;: &quot;[variable('Sql.Database.Forms')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Marketing Automation DB Name&quot;, &quot;Value&quot;: &quot;[variable('Sql.Database.MarketingAutomation')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Processing Pools DB Name&quot;, &quot;Value&quot;: &quot;[variable('Sql.Database.Pools')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Processing Tasks DB Name&quot;, &quot;Value&quot;: &quot;[variable('Sql.Database.Tasks')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Core DB User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlCoreUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Core DB User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlCorePassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Master DB User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlMasterUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Master DB User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlMasterPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Web DB User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlWebUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Web DB User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlWebPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Reporting DB User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlReportingUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Reporting DB User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlReportingPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XDB Reference Data DB User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlReferenceDataUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XDB Reference Data DB User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlReferenceDataPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Experience Forms DB User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlFormsUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Experience Forms DB User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlFormsPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Marketing Automation DB User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlMarketingAutomationUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Marketing Automation DB User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlMarketingAutomationPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Processing Pools DB User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlProcessingPoolsUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Processing Pools DB User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlProcessingPoolsPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Processing Tasks DB User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlProcessingTasksUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Processing Tasks DB User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlProcessingTasksPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XConnect Collection&quot;, &quot;Value&quot;: &quot;[parameter('XConnectCollectionService')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Xdb Reference Data Client&quot;, &quot;Value&quot;: &quot;[parameter('XConnectReferenceDataService')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XDB MA Reporting Client&quot;, &quot;Value&quot;: &quot;[parameter('MarketingAutomationReportingService')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XDB MA Ops Client&quot;, &quot;Value&quot;: &quot;[parameter('MarketingAutomationOperationsService')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XConnect Server Certificate Validation Thumbprint&quot;, &quot;Value&quot;: &quot;[variable('Security.XConnect.CertificateThumbprint')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;SOLR Connection String&quot;, &quot;Value&quot;: &quot;[parameter('SolrUrl')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr Core Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.Core.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr Master Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.Master.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr Web Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.Web.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr Marketing Definitions Master Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.MD.Master.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr Marketing Definitions Web Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.MD.Web.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr Marketing Asset Master Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.MA.Master.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr Marketing Asset Web Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.MA.Web.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr Testing Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.Testing.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr Suggested Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.Suggested.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr FXM Master Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.FXM.Master.Name')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Solr FXM Web Index Name&quot;, &quot;Value&quot;: &quot;[variable('Solr.FXM.Web.Name')]&quot; }&#xA;                    ]&#xA;                }&#xA;            }&#xA;        },&#xA;        &quot;SetLicense&quot;: {&#xA;            // Copies the license file to the instance data folder.&#xA;            &quot;Type&quot;: &quot;Copy&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Source&quot;: &quot;[resolvepath(parameter('LicenseFile'))]&quot;,&#xA;                &quot;Destination&quot;: &quot;[variable('Site.DataFolder')]&quot;&#xA;            }&#xA;        },&#xA;        &quot;StartAppPool&quot;: {&#xA;            // Starts the app pool.&#xA;            &quot;Type&quot;: &quot;ManageAppPool&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Action&quot;: &quot;Start&quot;&#xA;            }&#xA;        },&#xA;        &quot;StartWebsite&quot;: {&#xA;            // Starts the website.&#xA;            &quot;Type&quot;: &quot;ManageWebsite&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Action&quot;: &quot;Start&quot;&#xA;            }&#xA;        },&#xA;        &quot;UpdateSolrSchema&quot;: {&#xA;            // Update the solr schemas.&#xA;            &quot;Type&quot;: &quot;SitecoreUrl&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;SitecoreInstanceRoot&quot;: &quot;[concat('http://', parameter('SiteName'))]&quot;,&#xA;                &quot;SitecoreActionPath&quot;: &quot;sitecore/admin/PopulateManagedSchema.aspx?indexes=all&quot;,&#xA;                &quot;UserName&quot;: &quot;admin&quot;,&#xA;                &quot;Password&quot;: &quot;[parameter('SitecoreAdminPassword')]&quot;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;------- QUERY TO DROP DB ------&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Please note that it does connect to SQL server and setup databases which I have to drop first to try to reinstall&lt;/strong&gt;. This shows my server and my settings are fine.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;USE master;  &#xA;GO  &#xA;DROP DATABASE sitecore9_MarketingAutomation, [sitecore9_Processing.Pools], sitecore9_ReferenceData, [sitecore9_Xdb.Collection.Shard0], [sitecore9_Xdb.Collection.Shard1], [sitecore9_Xdb.Collection.ShardMapManager]&#xA;GO &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3808" LastEditorUserId="73" LastEditDate="2018-06-10T09:36:06.247" LastActivityDate="2018-06-11T14:30:28.867" Title="Getting error Invalid JSON primitive" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12238" PostTypeId="1" CreationDate="2018-06-08T16:14:49.910" Score="2" ViewCount="939" Body="&lt;p&gt;I have social log in set up with federated authentication on a Sitecore 9 instance.&#xA;I am able to login with facebook from my front end site:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JZVIi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JZVIi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where can a capture this 'hVEQItzjCrLQI1Fuc0v3pQ' on login?&#xA;I looked up this blog post: &lt;a href=&quot;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-2-google-and-facebook-app-and-the-custom-processor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-2-google-and-facebook-app-and-the-custom-processor.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the ProcessCore method does provide me with OnAuthenticated handler, but I dont see this sitecore generated user id in any object. I only see the claims data returned from facebook - I also checked in the handler for OnReturnEndpoint - and dont see it there too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am pretty much using the same code as in the example. Just added some code to show the login buttons on the front end site.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FacebookAuthentication : IdentityProvidersProcessor&#xA;{&#xA;    public FacebookAuthentication(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration) : base(federatedAuthenticationConfiguration)&#xA;    {&#xA;    }&#xA;&#xA;    protected override string IdentityProviderName =&amp;gt; &quot;Facebook&quot;;&#xA;&#xA;    protected override void ProcessCore(IdentityProvidersArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        IdentityProvider identityProvider = GetIdentityProvider();&#xA;        GetAuthenticationType();&#xA;&#xA;        FacebookAuthenticationProvider facebookProvider = new FacebookAuthenticationProvider&#xA;        {&#xA;            OnAuthenticated = context =&amp;gt;&#xA;            {&#xA;                // transform all claims&#xA;                ClaimsIdentity identity = context.Identity;&#xA;                foreach (Transformation current in identityProvider.Transformations)&#xA;                {&#xA;                    current.Transform(identity, new TransformationContext(FederatedAuthenticationConfiguration, identityProvider));&#xA;                }&#xA;                return System.Threading.Tasks.Task.FromResult(0);&#xA;            },&#xA;&#xA;            OnReturnEndpoint = (context) =&amp;gt;&#xA;            {&#xA;                if (context.Request.Query[&quot;state&quot;] != null)&#xA;                {&#xA;                    var state = HttpUtility.ParseQueryString(context.Request.Query[&quot;state&quot;]);&#xA;                    //Tring stuff here, trying to resolve the sitecore user name hash from facebook info??&#xA;                    IOwinContext context1 = HttpContext.Current.GetOwinContext();&#xA;                    UserManager&amp;lt;ApplicationUser&amp;gt; userManager = context1.GetUserManager();&#xA;                }&#xA;&#xA;                return System.Threading.Tasks.Task.FromResult(0);&#xA;            }&#xA;        };&#xA;&#xA;        IdentifyProviderCredentials credentials = IdentityProviderConfiguration.Current.GetCredentials(GetType().Name);&#xA;&#xA;        FacebookAuthenticationOptions options = new FacebookAuthenticationOptions&#xA;        {&#xA;            AppId = credentials.AppId,&#xA;            AppSecret = credentials.AppSecret,&#xA;            Provider = facebookProvider&#xA;        };&#xA;        options.Fields.Add(&quot;name&quot;);&#xA;        options.Fields.Add(&quot;email&quot;);&#xA;        options.Scope.Add(&quot;email&quot;);&#xA;        args.App.UseFacebookAuthentication(options);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastEditorUserId="3567" LastEditDate="2018-06-08T18:17:21.537" LastActivityDate="2019-01-06T16:02:55.580" Title="Getting the resolved Sitecore username corresponding to a facebook account on successful login" Tags="|federated-authentication|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12239" PostTypeId="1" CreationDate="2018-06-08T16:54:00.650" Score="0" ViewCount="148" Body="&lt;p&gt;So i get a weird error in Experience editor while saving. it says &quot;An Error Occurred&quot; and I cant understand really what's happening. &#xA;I looked at the logs and all i can see is a very generic exception. Any pointers or tips would greatly help. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.Reflection.TargetInvocationException Message:&#xA;  Exception has been thrown by the target of an invocation. Source:&#xA;  mscorlib    at System.RuntimeMethodHandle.InvokeMethod(Object target,&#xA;  Object[] arguments, Signature sig, Boolean constructor)    at&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments)    at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br&gt;&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;  Object[] parameters, Object obj)    at&#xA;  Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args,&#xA;  Pipeline pipeline)    at&#xA;  Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic)&lt;br&gt;&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CallServerSavePipeline.ProcessRequest()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs&#xA;  requestArgs)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.NullReferenceException Message: Object reference not&#xA;  set to an instance of an object. Source: Sitecore.FXM    at&#xA;  Sitecore.FXM.Pipelines.SaveUI.RemoveDeletedClientActionsProcessor.Process(SaveArgs&#xA;  args)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2396" LastEditorUserId="73" LastEditDate="2018-06-08T18:44:49.667" LastActivityDate="2018-06-08T18:44:49.667" Title="Error in Sitecore.FXM.Pipelines.SaveUI.RemoveDeletedClientActionsProcessor - Sitecore Experience Editor while saving" Tags="|experience-editor|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12240" PostTypeId="2" ParentId="12083" CreationDate="2018-06-08T17:22:20.260" Score="1" Body="&lt;p&gt;The out of the box Vue sample routing does not support language-path based routing. I would suggest reviewing the router setup in the React or Angular advanced apps, which support language-prefix based paths, and translating that to Vue. We are planning to ship with universal support for language path based routing in the next tech preview.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-06-08T17:22:20.260" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12241" PostTypeId="1" CreationDate="2018-06-08T21:08:51.363" Score="4" ViewCount="3401" Body="&lt;p&gt;We're using Sitecore Forms and allowing the user to add existing forms via a placeholder inside of a component. We have added the form in the placeholder and it renders as expected. Now we want to hook up the front end client side validation / styles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/add_a_form_to_a_web_page&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore docs&lt;/a&gt; say to add the following in the layout:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you want to add a form to a page on an existing site, you must add references to the form stylesheets and JavaScript files. Add the reference &lt;code&gt;@using Sitecore.ExperienceForms.Mvc.Html&lt;/code&gt; and in the head section add &lt;code&gt;@Html.RenderFormStyles()&lt;/code&gt; and &lt;code&gt;@Html.RenderFormScripts()&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, after viewing the page source, it's clear that no script and style references are actually being added. No errors are being thrown in the log. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can confirm that the script files are located in &lt;code&gt;/sitecore-modules/Web/ExperienceForms/scripts&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the item in the Sitecore tree, the form item itself has these fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AIQtE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AIQtE.png&quot; alt=&quot;Form Fields&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems to me that &lt;code&gt;@Html.RenderFormScripts()&lt;/code&gt; and &lt;code&gt;@Html.RenderFormStyles()&lt;/code&gt; would reference these field values on page load, but somewhere along the line it's not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="946" LastEditorUserId="946" LastEditDate="2018-06-08T21:49:41.270" LastActivityDate="2024-02-07T06:16:54.747" Title="@Html.RenderFormScripts() and @Html.RenderFormStyles() do nothing" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12242" PostTypeId="1" AcceptedAnswerId="12245" CreationDate="2018-06-08T21:48:42.703" Score="5" ViewCount="1553" Body="&lt;p&gt;I have created an index field called &quot;facetCategory&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class IndexResultModel : SearchResultItem&#xA;    {&#xA;        [IndexField(&quot;facetcategory_sm&quot;)]&#xA;        public IList&amp;lt;Guid&amp;gt; FacetCategory { get; set; }&#xA;     }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using search API and passing comma seperated guids to search.I am using the following code to retirve the results where FacetCategory contains list of Guids.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; try&#xA;            {&#xA;            var query = context.GetQueryable&amp;lt;IndexResultModel &amp;gt;();&#xA;            var containsQuery = PredicateBuilder.True&amp;lt;IndexResultModel &amp;gt;();&#xA;            if (!string.IsNullOrEmpty(filters))&#xA;            {&#xA;                var facets = filters.Split(new[] { &quot;,&quot; }, StringSplitOptions.RemoveEmptyEntries);&#xA;                foreach (string facet in facets)&#xA;                {&#xA;                    containsQuery = containsQuery.Or(item =&amp;gt; item.FacetCategory.Contains(new Guid(facet)));&#xA;                }&#xA;                //join the predicate and the containsQuery&#xA;                predicate = predicate.And(containsQuery);&#xA;            }&#xA;            query = query.Where(predicate);&#xA;            if (latitude != 0 &amp;amp;&amp;amp; longitude != 0)&#xA;            {&#xA;                query = query.WithinRadius(i =&amp;gt; i.GeoLoc, latitude, longitude, distance).OrderByNearest();&#xA;            }&#xA;            if (currentPage &amp;gt; 0 &amp;amp;&amp;amp; resultPerPage &amp;gt; 0)&#xA;            {&#xA;                Results = query.Skip((currentPage - 1) * currentPage).Take(resultPerPage).ToList();&#xA;            }&#xA;            else&#xA;            {&#xA;                Results = query.ToList();&#xA;            }&#xA;            }&#xA;            catch (Exception)&#xA;            {&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting an error because of adding the below code to search code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;containsQuery = containsQuery.Or(item =&amp;gt; item.FacetCategory.Contains(new Guid(facet)));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error says &quot;&lt;strong&gt;Unsupported expression node type: MemberAccess within type constructor parameter&lt;/strong&gt;&quot;.&#xA;I have tried the other index fields which are string or integer and it works fine but because facetcategory_sm type is IList, it can not query contains guids.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is screenshot of the field being indexed in Solr&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vlREY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vlREY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="2466" LastEditDate="2018-06-09T00:09:29.610" LastActivityDate="2018-06-09T16:06:57.157" Title="Sitecore Search API not searching List of Guids Unsupported expression node type" Tags="|solr|content-search|search-facet|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12243" PostTypeId="2" ParentId="11688" CreationDate="2018-06-08T22:01:04.310" Score="2" Body="&lt;p&gt;So I reached out to Sitecore Support, and it looks like this issue is resolved in Sitecore 9. However, for those of you using Sitecore 8, here is how you can resolve the issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the Content Editor, navigate to the &quot;/sitecore/system/Settings/Content Testing/Report Queries/Ruleset Exposure&quot; item.&lt;/li&gt;&#xA;&lt;li&gt;Copy and keep the existing query that's in that item, just so that you can revert the change if needed.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Replace the query with this one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT&#xA;    [RuleId],&#xA;    SUM([Visitors]) as [Visitors]&#xA;FROM &#xA;    [dbo].[Fact_RulesExposure]&#xA;WHERE&#xA;    [Date] &amp;gt;= @StartDate AND [Date] &amp;lt;= @EndDate AND&#xA;    [ItemId] = @ItemId AND&#xA;    [RuleSetId] = @RuleSetId&#xA;GROUP BY [RuleId]&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Save the item, and make sure the statistics in the &quot;Personalized experience&quot; dialog now reflect the correct numbers.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1085" LastActivityDate="2018-06-08T22:01:04.310" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12244" PostTypeId="1" CreationDate="2018-06-09T11:13:33.493" Score="1" ViewCount="177" Body="&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are trying to implement a &quot;&lt;strong&gt;Custom Form&lt;/strong&gt;&quot;(not Sitecore wffm) on Sitecore platform. The form is a multiple-steps form. To make it simple, let's say 3 main steps: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;enter personal information(name/email/DOB/etc)&lt;/li&gt;&#xA;&lt;li&gt;enter more information(terms/etc)&lt;/li&gt;&#xA;&lt;li&gt;enter payment information(credit card or bank info or paypal etc)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After go through above steps: user finished the process, got a receipt and receive an email&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Our ambitious target&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because users might drop off on any step and the website is based on the Sitecore platform, our ambitious target is not only get above 3 steps done, but also want to maximize Sitecore marketing functionalities. &#xA;E.g.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Analytics Tracking for each step&lt;/li&gt;&#xA;&lt;li&gt;Register different goals/campaigns&lt;/li&gt;&#xA;&lt;li&gt;Assign different pattern card directly to user if they didn't finished the process&lt;/li&gt;&#xA;&lt;li&gt;Personalization&lt;/li&gt;&#xA;&lt;li&gt;Add user to Engagement Plan if not finished the process&lt;/li&gt;&#xA;&lt;li&gt;and so on&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Our main approach&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On each of step, when user click &quot;Continue Button&quot;, will trigger Api call and post entered data to Back-end codes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In back-end codes, cast the posted data into a PipelineArgs, then go through a &quot;Custom Pipeline&quot;(refer: &lt;a href=&quot;https://laubplusco.net/creating-custom-pipeline-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://laubplusco.net/creating-custom-pipeline-in-sitecore/&lt;/a&gt;). Each of processor in the pipeline will focus on one functionality. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. first processor to do validation; second processor to save data to session/database; third processor to do Analytics; fourth to register a goal; fifth to do Engagement Plan; sixth to send email......&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There're several advantages: developers can share the tasks; we can implement functionalities in different stages; processors kind of not affected each other; if any processor wrong, just remove it, then user can still go through the form and finish the application; don't need to re-compile if urgent issue on Production environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By the way, we got this idea inspired by &quot;Save Actions&quot; on WFFM(a bit difference though). Refer: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/web_forms_for_marketers/working_with_actions_and_validations/the_submit_button/submit_actions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/web_forms_for_marketers/working_with_actions_and_validations/the_submit_button/submit_actions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My questions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;someone said Sitecore pipeline can only be used to extend build-in/Core pipelines, e.g. httpRequest/sessionEnd/publish/etc. Is that true and why?&#xA;(personally, I can't image that Sitecore would abandon the pipeline engine in future, any roadmap?)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;someone concerned about Test. My understanding is that most of test will be implemented on Service layer, not on processor. Is there any specific reason for Test?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;any other potential issue?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Is there any other better approach or pattern how to implement a custom form on Sitecore platform? &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1115" LastActivityDate="2018-06-09T11:13:33.493" Title="Can we use Sitecore pipeline engine when implement a &quot;Custom Form&quot; on Sitecore platform?" Tags="|wffm|pipelines|mvc-forms|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12245" PostTypeId="2" ParentId="12242" CreationDate="2018-06-09T16:06:57.157" Score="9" Body="&lt;p&gt;You need to create your Guid variable first before trying to filter FacetCategory on it, Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid facetGuid = new Guid(facet);&#xA;containsQuery = containsQuery.Or(item =&amp;gt; item.FacetCategory.Contains(facetGuid))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-06-09T16:06:57.157" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12246" PostTypeId="2" ParentId="12241" CreationDate="2018-06-09T18:40:36.800" Score="7" Body="&lt;p&gt;Did you make a split in your layout between outer and inner layout?&lt;/p&gt;&#xA;&lt;p&gt;Step 3 and 4 in documentation:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/add_a_form_to_a_web_page&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/add_a_form_to_a_web_page&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;It is important because, to make sure only to load required script and styles, Sitecore forms pushes scripts and styles URLs onto a stack during the rendering of the form. Those stacks are then written out into the html by the &lt;code&gt;@Html.RenderFormScripts()&lt;/code&gt; and &lt;code&gt;@Html.RenderFormStyles()&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;By using the outer layout, the body of your html (containing the forms components) is processed before the html. Thus, the forms component can push its script and styles on the stack before they are written out. If you don't use the outer layout, the stack will be empty when it is written out and filled up to late.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastEditorUserId="946" LastEditDate="2024-02-07T06:16:54.747" LastActivityDate="2024-02-07T06:16:54.747" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12247" PostTypeId="1" CreationDate="2018-06-10T08:19:08.613" Score="3" ViewCount="1071" Body="&lt;p&gt;I have implemented facebook login on my Sitecore site using federated authentication. I am trying to override the externalUserBuilder logic to be able to replace the hashed username in Sitecore with the email id as indicated here: &lt;a href=&quot;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-3-sitecore-user-and-claims-identity.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-3-sitecore-user-and-claims-identity.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it looks like the code isn't getting executed at all. Any breakpoint in this code isn't being hit, and the user name created is still the hash.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w8BJG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w8BJG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Feature.Accounts.Pipelines.IdentityProviders&#xA;{&#xA;    public class CustomExternalUserBuilder : DefaultExternalUserBuilder&#xA;    {&#xA;        public CustomExternalUserBuilder(string isPersistentUser) : base(bool.Parse(isPersistentUser)) { }&#xA;&#xA;        [SuppressMessage(&quot;Microsoft.Naming&quot;, &quot;CA1726:UsePreferredTerms&quot;, MessageId = &quot;Login&quot;)]&#xA;        protected override string CreateUniqueUserName(UserManager&amp;lt;ApplicationUser&amp;gt; userManager, ExternalLoginInfo externalLoginInfo)&#xA;        {&#xA;            //TODO: If Email&#xA;            Assert.ArgumentNotNull((object)userManager, nameof(userManager));&#xA;            Assert.ArgumentNotNull((object)externalLoginInfo, nameof(externalLoginInfo));&#xA;            IdentityProvider identityProvider = this.FederatedAuthenticationConfiguration.GetIdentityProvider(externalLoginInfo.ExternalIdentity);&#xA;            if (identityProvider == null)&#xA;                throw new InvalidOperationException(&quot;Unable to retrieve identity provider for given identity&quot;);&#xA;            string domain = identityProvider.Domain;&#xA;            return domain + &quot;\\&quot; + externalLoginInfo.Email;&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A2Crs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A2Crs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me with what I am missing here?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastActivityDate="2019-08-30T20:02:30.347" Title="Unable to override externalUserBuilder in Federated Authentication implementation" Tags="|federated-authentication|owin|" AnswerCount="1" CommentCount="3" ClosedDate="2019-08-30T20:19:57.637" ContentLicense="CC BY-SA 4.0" />
  <row Id="12248" PostTypeId="2" ParentId="10907" CreationDate="2018-06-11T04:31:03.873" Score="2" Body="&lt;p&gt;According to the Release Notes of Sitecore Experience Platform 9.0 Initial Release (rev.171002):&#xA;&quot;&lt;strong&gt;The Social Connected application is not included in Sitecore 9.0. Information about future availability will be confirmed at a later date.&lt;/strong&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details please take a look at the mentioned Release Notes: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/90/Sitecore%20Experience%20Platform%2090%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/90/Sitecore%20Experience%20Platform%2090%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FSPBr.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FSPBr.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2957" LastActivityDate="2018-06-11T04:31:03.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12249" PostTypeId="2" ParentId="12047" CreationDate="2018-06-11T08:06:00.760" Score="0" Body="&lt;p&gt;I'm not sure if it's a bug in sitecore or not, but the problem was that an image was uploaded by a user and it was still in draft state in the workflow, so when a person other than the one owning the draft clicked on it, it would fail. as soon as that person moved it for approval, it stopped failing.&lt;/p&gt;&#xA;" OwnerUserId="3766" LastActivityDate="2018-06-11T08:06:00.760" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12250" PostTypeId="1" AcceptedAnswerId="12251" CreationDate="2018-06-11T08:30:43.280" Score="4" ViewCount="716" Body="&lt;p&gt;I am getting a little bit confused getting events from facets in sitecore 9.0.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I understand there are two different Facet and Event class definitions. The Sitecore.XConnect version and the Sitecore.Analytics.Tracking version. The XConnect version is being used outside the session scope and the Tracking version inside.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now i wan to get all pageviewevents for a contact from outside the session but I dont know how to get the interaction id to do this. I have lookup a lot of examples but in the &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/get-interactions/get-facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;examples&lt;/a&gt; a GUID is used and I dont know the GUID.&lt;/p&gt;&#xA;" OwnerUserId="3554" LastEditorUserId="3554" LastEditDate="2018-06-11T08:51:24.333" LastActivityDate="2018-06-11T09:17:43.623" Title="How to get PageViewEvents from Interaction" Tags="|xconnect|events|contact-facets|interaction|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12251" PostTypeId="2" ParentId="12250" CreationDate="2018-06-11T09:17:43.623" Score="4" Body="&lt;p&gt;You should get a contact with expanded interactions which will contain page events.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private async Task&amp;lt;IReadOnlyCollection&amp;lt;PageViewEvent&amp;gt;&amp;gt; GetAllPageEvents(Guid contactId)&#xA;    {&#xA;        var allInteractionsExpandOptions = new ContactExpandOptions()&#xA;        {&#xA;            Interactions = new RelatedInteractionsExpandOptions()&#xA;            {&#xA;                Limit = int.MaxValue&#xA;            }&#xA;        };&#xA;        var actualContact = await _client.GetAsync(new ContactReference(contactId), allInteractionsExpandOptions);&#xA;        List&amp;lt;PageViewEvent&amp;gt; pageEvents = new List&amp;lt;PageViewEvent&amp;gt;();&#xA;        foreach (var interaction in actualContact.Interactions)&#xA;        {&#xA;            pageEvents.AddRange(interaction.Events.OfType&amp;lt;PageViewEvent&amp;gt;());&#xA;        }&#xA;&#xA;        return pageEvents.AsReadOnly();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="842" LastActivityDate="2018-06-11T09:17:43.623" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12252" PostTypeId="1" AcceptedAnswerId="12278" CreationDate="2018-06-11T10:17:35.840" Score="0" ViewCount="683" Body="&lt;p&gt;I am adding Search Results with Load More renderings. I need to display a number of items loaded with the total number of items returned from search API. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is there a way to get this info in SXA?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am using SXA 1.7&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="851" LastEditDate="2018-06-12T11:54:04.790" LastActivityDate="2018-06-12T12:08:01.773" Title="SXA Search results Load more control" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12253" PostTypeId="2" ParentId="12183" CreationDate="2018-06-11T11:00:22.607" Score="4" Body="&lt;p&gt;I have consulted with Sitecore support on this. Regarding resources, all of them are important: Memory, CPU, Disk Latency and Database DTU's.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also checked my cache settings and noticed there where 2 caches beyond there limits:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SqlDataProvider - Prefetch data (core) with 6383 items and a size of 43.3 MB and maxsize of 50MB&lt;/li&gt;&#xA;&lt;li&gt;SqlDataProvider - Prefetch data (master) with 8278 items and a size of 46.5 MB and maxsize of 50MB&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This surprised me because these prefetch caches are removed by a default installed patch &lt;a href=&quot;https://kb.sitecore.net/articles/290593&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/290593&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This purpose of this patch is to fix a startup problem needing to much resources from core DB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my experience, the patch may resolve the initial issue, but makes startup only slower, the caches are still there but smaller, needing to refetch stuff all the time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Solution&lt;/strong&gt; to improve startup times in my case was to remove the patch and increase the core DB prefetch cach to 250MB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that in my case this didn't reintroduce the initial issue for which the patch was distributed. The reason for this, is that I bundled my databases into an elastic database pool (as described on my blog &lt;a href=&quot;http://onelittlespark.bartverdonck.be/how-to-boost-your-sitecore-azure-paas-website-for-zero-dollars/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://onelittlespark.bartverdonck.be/how-to-boost-your-sitecore-azure-paas-website-for-zero-dollars/&lt;/a&gt;). This setup gives more resources to the core database during startup, and makes the patch redundant.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-11T11:00:22.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12254" PostTypeId="1" AcceptedAnswerId="12255" CreationDate="2018-06-11T11:04:14.007" Score="5" ViewCount="272" Body="&lt;p&gt;I am having some performance issues with XC9, when I check the log file it contains many entries like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;79 16:57:42 INFO Core.MemCache.CE.Miss.ContentItem: ItemKey=Entity-ContentItem-d14d0772-6dc3-4e48-ae96-f8b8cb8a8887&#xA;69 16:57:42 INFO Management.block.getitembyid.d14d0772-6dc3-4e48-ae96-f8b8cb8a8887: Language=en&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have a caching policy for &lt;code&gt;Sitecore.Commerce.Plugin.Content.ContentItem&lt;/code&gt; of type &lt;code&gt;#Sitecore.Commerce.Core.Caching.EntityMemoryCachingPolicy&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the Shops Environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="70" LastEditDate="2018-06-11T13:31:06.607" LastActivityDate="2018-06-11T13:31:48.120" Title="Content Items are not cached (using XC9 update-1)" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12255" PostTypeId="2" ParentId="12254" CreationDate="2018-06-11T11:04:50.783" Score="4" Body="&lt;p&gt;ContentItem are apparently not cached by the Content-Item cache, but by the &lt;code&gt;ManagementCachePolicy&lt;/code&gt;. I added the following cache policy:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;{&#xA;        &quot;$type&quot;: &quot;Sitecore.Commerce.Plugin.Management.ManagementCachePolicy, Sitecore.Commerce.Plugin.Management&quot;,&#xA;        &quot;AllowCaching&quot;: true,&#xA;        &quot;Expiration&quot;: 3600000&#xA;}&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="70" LastEditDate="2018-06-11T13:31:48.120" LastActivityDate="2018-06-11T13:31:48.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12256" PostTypeId="2" ParentId="12237" CreationDate="2018-06-11T14:30:28.867" Score="3" Body="&lt;p&gt;I compared your JSON file with a vanilla JSON file. Seems you have done plenty of edits in it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Especially when you:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Updated the Default passwords as well as added &quot;&lt;code&gt;Value&lt;/code&gt;&quot; parameter. &lt;/li&gt;&#xA;&lt;li&gt;Deleted &quot;&lt;code&gt;SqlMessagingUser&lt;/code&gt;&quot; along with other parameters. &lt;/li&gt;&#xA;&lt;li&gt;Edited the &quot;&lt;code&gt;SqlServer&lt;/code&gt;&quot; Default value. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I would recommend:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If you want to override the detault password then try passing those as a&#xA;parameter from you PS1 file OR just update the &lt;code&gt;DefaultValue&lt;/code&gt; on&#xA;both  &lt;code&gt;sitecore-XP0.json&lt;/code&gt; and &lt;code&gt;xconnect-xp0.json&lt;/code&gt; files for all the&#xA;Test12345 passwords replacing with your custom password. Exactly the way it is&#xA;suggested on the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12225/sitecore-9-installation-password-is-too-short&quot;&gt;another question which you asked&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Verify the &lt;code&gt;DefaultValue&lt;/code&gt; you updated for &lt;code&gt;SqlServer&lt;/code&gt; in your JSON file at line number 155.&lt;/li&gt;&#xA;&lt;li&gt;Validate all the other parameters you deleted from the JSON file like &lt;code&gt;SqlMessagingUser&lt;/code&gt;, &lt;code&gt;SqlMessagingPassword&lt;/code&gt;, &lt;code&gt;SqlExmMasterUser&lt;/code&gt;, &lt;code&gt;SqlExmMasterPassword&lt;/code&gt; etc&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My JSON file looks something like this after updating the Default passwords:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;SqlAdminUser&quot;: {&#xA;    &quot;Type&quot;: &quot;string&quot;,&#xA;    &quot;DefaultValue&quot;: &quot;sa&quot;,&#xA;    &quot;Description&quot;: &quot;The Sql admin user account to use when installing databases.&quot;&#xA;},&#xA;&quot;SqlAdminPassword&quot;: {&#xA;    &quot;Type&quot;: &quot;string&quot;,&#xA;    &quot;DefaultValue&quot;: &quot;custom@1234&quot;,&#xA;    &quot;Description&quot;: &quot;The Sql admin password to use when installing databases.&quot;&#xA;},&#xA;&quot;SqlCoreUser&quot;: {&#xA;    &quot;Type&quot;: &quot;string&quot;,&#xA;    &quot;DefaultValue&quot;: &quot;coreuser&quot;,&#xA;    &quot;Description&quot;: &quot;The user to create and use in Core connection string.&quot;&#xA;},&#xA;&quot;SqlCorePassword&quot;: {&#xA;    &quot;Type&quot;: &quot;string&quot;,&#xA;    &quot;DefaultValue&quot;: &quot;custom@1234&quot;,&#xA;    &quot;Description&quot;: &quot;The Sql password for the Core connection string in Sitecore.&quot;&#xA;},&#xA;&quot;SqlMasterUser&quot;: {&#xA;    &quot;Type&quot;: &quot;string&quot;,&#xA;    &quot;DefaultValue&quot;: &quot;masteruser&quot;,&#xA;    &quot;Description&quot;: &quot;The user to create and use in Master connection string.&quot;&#xA;},&#xA;&quot;SqlMasterPassword&quot;: {&#xA;    &quot;Type&quot;: &quot;string&quot;,&#xA;    &quot;DefaultValue&quot;: &quot;custom@1234&quot;,&#xA;    &quot;Description&quot;: &quot;The Sql password for the Master connection string in Sitecore.&quot;&#xA;},&#xA;&quot;SqlWebUser&quot;: {&#xA;    &quot;Type&quot;: &quot;string&quot;,&#xA;    &quot;DefaultValue&quot;: &quot;webuser&quot;,&#xA;    &quot;Description&quot;: &quot;The user to create and use in Web connection string.&quot;&#xA;},&#xA;&quot;SqlWebPassword&quot;: {&#xA;    &quot;Type&quot;: &quot;string&quot;,&#xA;    &quot;DefaultValue&quot;: &quot;custom@1234&quot;,&#xA;    &quot;Description&quot;: &quot;The Sql password for the Web connection string in Sitecore.&quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Else you can have it like the way &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12225/sitecore-9-installation-password-is-too-short&quot;&gt;Ed Schwehm suggested&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SqlMarketingAutomationPassword = &quot;Sup3rSecureS1tecore_pass!&quot; &#xA;&#xA;$xconnectParams = @{&#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;&#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;    SiteName = $XConnectCollectionService&#xA;    XConnectCert = $certParams.CertificateName&#xA;    SqlDbPrefix = $prefix&#xA;    SqlServer = $SqlServer&#xA;    SqlAdminUser = $SqlAdminUser&#xA;    SqlAdminPassword = $SqlAdminPassword&#xA;    SolrCorePrefix = $prefix&#xA;    SolrURL = $SolrUrl&#xA;    SqlMarketingAutomationPassword = $SqlMarketingAutomationPassword&#xA;}&#xA;&#xA;$sitecoreParams = @{&#xA;    Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot;&#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_single.scwdp.zip&quot;&#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;    SqlDbPrefix = $prefix&#xA;    SqlServer = $SqlServer&#xA;    SqlAdminUser = $SqlAdminUser&#xA;    SqlAdminPassword = $SqlAdminPassword&#xA;    SolrCorePrefix = $prefix&#xA;    SolrUrl = $SolrUrl&#xA;    XConnectCert = $certParams.CertificateName&#xA;    SiteName = $sitecoreSiteName&#xA;    XConnectCollectionService = &quot;https://$XConnectCollectionService&quot;&#xA;    SqlMarketingAutomationPassword = $SqlMarketingAutomationPassword&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Try again using a fresh JSON with minimal edits which you want to do. Good luck.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-06-11T14:30:28.867" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12257" PostTypeId="1" AcceptedAnswerId="12259" CreationDate="2018-06-11T16:17:46.567" Score="0" ViewCount="4031" Body="&lt;ol&gt;&#xA;&lt;li&gt;JSS&lt;/li&gt;&#xA;&lt;li&gt;VueJs sample&lt;/li&gt;&#xA;&lt;li&gt;Tech preview 3&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I tried to add favicons in &lt;code&gt;/assets/favicon-16x16.png&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, in &lt;code&gt;/src/app/ServerHtml.js&lt;/code&gt;, I added:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;icon&quot; type=&quot;image/png&quot; sizes=&quot;16x16&quot; href=&quot;/favicon-16x16.png&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;icon&quot; type=&quot;image/png&quot; sizes=&quot;16x16&quot; href={`${this.distPath}favicon-16x16.png`} /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I have a 404 error...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you help me ? Thanks&lt;/p&gt;&#xA;" OwnerUserId="3659" LastEditorUserId="73" LastEditDate="2018-06-11T16:33:26.260" LastActivityDate="2019-01-18T11:37:26.040" Title="How to add a favicon in the root of the app" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12259" PostTypeId="2" ParentId="12257" CreationDate="2018-06-11T16:53:16.237" Score="1" Body="&lt;p&gt;A general rule of thumb is that if you have an asset that is &lt;em&gt;not&lt;/em&gt; referenced in your Sitecore app route/content data, you need to ensure that you're referencing it in your app in the way that you normally would for static assets in a webpack-bundled app. e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import favicon from './assets/favicon.png';` // note: path is relative to the .js file&#xA;&#xA;render() {&#xA;  return &amp;lt;link rel=&quot;icon&quot; href={favicon} /&amp;gt;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Otherwise, if you are using absolute paths, webpack won't know about the asset and won't do anything with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;link rel=&quot;icon&quot; href=&quot;/assets/favicon.png&quot; /&amp;gt; // note: path is absolute&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this example, you have to ensure that your &lt;code&gt;/assets/favicon.png&lt;/code&gt; file is copied to your output folder as webpack will &lt;em&gt;not&lt;/em&gt; analyze the href attribute. This could be a separate build step or via webpack plugin, etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll also note that this is true for other assets like CSS, fonts, etc... not just images.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2018-06-11T16:59:00.890" LastActivityDate="2018-06-11T16:59:00.890" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12260" PostTypeId="2" ParentId="11888" CreationDate="2018-06-11T17:22:12.383" Score="3" Body="&lt;p&gt;It looks like your certificates were not created or you do not have access to them.&#xA;You suppose to see certificate *.sc9u1.local if you run Get-ChildItem Cert:\LocalMachine\My command in PowerShell. There also should be a file in c:\certificates called all.sc9u1.local based on your configurations. If you do not have this folder try to create it manually and restart the script.&lt;/p&gt;&#xA;" OwnerUserId="646" LastActivityDate="2018-06-11T17:22:12.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12261" PostTypeId="1" AcceptedAnswerId="12268" CreationDate="2018-06-11T18:00:13.240" Score="3" ViewCount="616" Body="&lt;p&gt;Our team is running Sitecore 8.2 Update 4 using a traditional MVC configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We wrote a pipeline that will inject CORS HTTP headers into the response that are configured via an item in Sitecore. However, it would appear that when we actually make the API call, we don't get any headers back. Here's an example of what we are doing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we make &lt;code&gt;https://www.mywebsite.com/api/Stations/GetStates&lt;/code&gt;, we get these headers:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Cache-Control →no-cache&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Content-Length →658&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Content-Type →application/json; charset=utf-8&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Date →Mon, 11 Jun 2018 17:35:59 GMT&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Expires →-1&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Pragma →no-cache&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Vary →Accept-Encoding&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;X-ADC →08/09&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;X-Frame-Options →SAMEORIGIN&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;X-ID →PZW33CS&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;X-Powered-By →ASP.NET&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As you can see, the &lt;code&gt;Access-Control&lt;/code&gt; headers are missing, and those are inserted using a Sitecore pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've found out that there is some sort of handler that are defined in the &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; that says this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;handler trigger=&quot;~/api/&quot; handler=&quot;sitecore_api.ashx&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If we change the call to &lt;code&gt;https://www.mywebsite.com/api2/Stations/GetStates&lt;/code&gt; (changing the route from &lt;strong&gt;api&lt;/strong&gt; to &lt;strong&gt;api2&lt;/strong&gt;), then we get the headers that we are expecting:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Access-Control-Allow-Headers →Content-Type&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Access-Control-Allow-Methods →POST, OPTIONS&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Access-Control-Allow-Origin →&lt;a href=&quot;https://www.myOtherSite.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.myOtherSite.com&lt;/a&gt; &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Cache-Control →no-cache&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Content-Length →637&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Content-Type →application/json; charset=utf-8&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Date →Mon, 11 Jun 2018 17:43:26 GMT&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Expires →-1&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Pragma →no-cache&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So, it looks like the API handler is messing with things. After doing some research, we can't find that file anywhere in the webroot, so we're not sure how to override/change this behavior. So our questions are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is that API route something that should be reserved for Sitecore only calls?&lt;/li&gt;&#xA;&lt;li&gt;What is the best way to have Sitecore not bypass the pipelines for our API call? Is it truly to use some sort of unique api naming structure such as &lt;code&gt;https://www.mywebsite.com/myapi/Stations/GetStates&lt;/code&gt;?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="339" LastActivityDate="2018-06-11T21:22:44.413" Title="How to get Sitecore Pipelines to run along with /API calls" Tags="|pipelines|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12263" PostTypeId="1" AcceptedAnswerId="12266" CreationDate="2018-06-11T19:53:18.307" Score="4" ViewCount="1394" Body="&lt;p&gt;How are boosted fields handled in Sitecore ContentSearch when there are multiple indexed fields with different boosting values? Is there some formula to calculate the result ordering and is this configurable in some way?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if I have the following template fields indexed as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;|     Field Name      | Boost Value |&#xA;|---------------------|-------------|&#xA;| Product Name        |           4 |&#xA;| Product Description |           2 |&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then given the following items exist and I search for &quot;VW hatchback car&quot;, is my assumption about the boosting (and hence sort order) of each item correct?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;|   Product Name    |                        Product Description                        |   Boost Sum        |&#xA;|-------------------|-------------------------------------------------------------------|--------------------|&#xA;| VW Golf Hatchback | Hatchback car with seats for 5 adults. Good car for city driving. | 4 + 4 + 2 + 2 = 12 |&#xA;| VW Passat Estate  | Large estate car with seats for 5 adults and a large boot.        | 4 + 2 = 6          |&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Would a repeated word in a field add to the &quot;boosting total&quot; for that item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 and Azure Search, but I'm assuming those are not of great relevance for this question.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2018-06-11T20:04:39.510" LastActivityDate="2018-06-11T20:39:56.520" Title="How are boosting values used for sorting when searching against multiple boosted fields" Tags="|content-search|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12265" PostTypeId="2" ParentId="12263" CreationDate="2018-06-11T20:35:56.923" Score="0" Body="&lt;p&gt;Since Sitecore ContentSearch is an abstraction of Lucene/Solr/AzureSearch I tried searching without reference to Sitecore. The &lt;a href=&quot;https://lucene.apache.org/core/3_5_0/scoring.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;lucene documentation on Scoring&lt;/a&gt; mentions the &lt;a href=&quot;https://lucene.apache.org/core/3_5_0/api/core/org/apache/lucene/search/Similarity.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Similarity class&lt;/a&gt; which I believe is where the logic of scoring/boosting lies. I did not attempt to fully understand that (yet) as it is pretty complex, but essentially my assumptions as described in the question are oversimplified.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-06-11T20:35:56.923" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12266" PostTypeId="2" ParentId="12263" CreationDate="2018-06-11T20:39:56.520" Score="4" Body="&lt;p&gt;I realize you are using Azure Search so my answer may not be &lt;em&gt;directly&lt;/em&gt; relevant to this, but having more familiarity with Solr I thought I would take a look:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://wiki.apache.org/solr/SolrRelevancyFAQ#How_are_documents_scored&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://wiki.apache.org/solr/SolrRelevancyFAQ#How_are_documents_scored&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;By default, a &amp;quot;TF-IDF&amp;quot; based Scoring Model is used. The basic scoring factors:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;tf stands for term frequency - the more times a search term appears in a document, the higher the score&lt;/li&gt;&#xA;&lt;li&gt;idf stands for inverse document frequency - matches on rarer terms count more than matches on common terms&lt;/li&gt;&#xA;&lt;li&gt;coord is the coordination factor - if there are multiple terms in a query, the more terms that match, the higher the score&lt;/li&gt;&#xA;&lt;li&gt;lengthNorm - matches on a smaller field score higher than matches on a larger field&lt;/li&gt;&#xA;&lt;li&gt;index-time boost - if a boost was specified for a document at index time, scores for searches that match that document will be boosted.&lt;/li&gt;&#xA;&lt;li&gt;query clause boost - a user may explicitly boost the contribution of one part of a query over another.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;From &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/add-scoring-profiles-to-a-search-index&quot; rel=&quot;nofollow noreferrer&quot;&gt;other documentation&lt;/a&gt;, it looks like Azure Search has a concept of &lt;code&gt;Scoring Profiles&lt;/code&gt; but if one is not specifically defined, it falls back to the &lt;code&gt;TF-IDF&lt;/code&gt; methodology (similar to Solr).&lt;/p&gt;&#xA;&lt;p&gt;So from the above, I would assume that the the more occurences of a given word (or phrase depending on the field &lt;code&gt;indexType&lt;/code&gt;, whether its &lt;code&gt;TOKENIZED&lt;/code&gt; or not and the type of Analyzer) would affect the overall score of a &lt;code&gt;Hit&lt;/code&gt;, coupled with that fields overall &lt;code&gt;boost&lt;/code&gt; value, would result in the overall &lt;code&gt;Relevancy&lt;/code&gt; (or results, ordered by overall &lt;code&gt;Score&lt;/code&gt; factoring in the rarity of the word in &lt;em&gt;all&lt;/em&gt; documents/hits).&lt;/p&gt;&#xA;&lt;p&gt;As far as &amp;quot;configurability&amp;quot; of how this relevancy or sorting by scoring is determined, I assume it would be some combination of boosting particular fields and the overall setup of the search mechanism (in my case Solr, in your case Azure Search), the type of Analyzers used, and even down to implementing your own &lt;code&gt;Query classes&lt;/code&gt; in Solr. In Azure Search it looks to be more configurable thru the use of &lt;code&gt;Scoring Profiles&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="695" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-06-11T20:39:56.520" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12268" PostTypeId="2" ParentId="12261" CreationDate="2018-06-11T21:01:37.247" Score="5" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Is that API route something that should be reserved for Sitecore only calls?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Yes, &lt;code&gt;/api/&lt;/code&gt; is a reserved space by default. One of the services that falls under this area is the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_itemservice&quot; rel=&quot;noreferrer&quot;&gt;Item Service&lt;/a&gt;. And if I recall correctly, hijacking this area (declaring a route in your &lt;code&gt;global.asax&lt;/code&gt; or &lt;code&gt;initialize&lt;/code&gt; or setting a site definition virtual path to it) results in bad behavior on the shell side of things because some Speak pages use the services in this space.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;What is the best way to have Sitecore not bypass the pipelines for our API call? Is it truly to use some sort of unique api naming structure such as &lt;a href=&quot;https://www.mywebsite.com/myapi/Stations/GetStates&quot; rel=&quot;noreferrer&quot;&gt;https://www.mywebsite.com/myapi/Stations/GetStates&lt;/a&gt;?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Usually when I am trying to make a backend MVC style call to a controller (JSON, partial HTML, whatever), I end up using &lt;code&gt;/api/Sitecore/ControllerName/ActionName&lt;/code&gt; as my route with really no additional setup needed (that I recall).&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="695" LastEditorUserId="695" LastEditDate="2018-06-11T21:22:44.413" LastActivityDate="2018-06-11T21:22:44.413" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12271" PostTypeId="1" AcceptedAnswerId="12273" CreationDate="2018-06-12T08:40:32.247" Score="5" ViewCount="3406" Body="&lt;p&gt;I'm programatically inserting some JPGs into the Media Library with the &lt;code&gt;MediaCreator&lt;/code&gt; and then putting URLs to those images in a Rich Text field another item (page). When I call &lt;code&gt;MediaManager.GetMediaUrl(item)&lt;/code&gt; I get a URL that begins with &lt;code&gt;/sitecore/shell/-/media&lt;/code&gt; and the anonymous user can't see these images. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get a URL to a media item that is visible to the anonymous user?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var mediaCreator = new MediaCreator();&#xA;var options = new MediaCreatorOptions&#xA;{&#xA;      Versioned = false,&#xA;      IncludeExtensionInItemName = false,&#xA;      Destination = _settings.NewsMediaRootItem.Paths.ContentPath + &quot;/&quot; + fileName,&#xA;      OverwriteExisting = true                        &#xA;};&#xA;&#xA;using (new SecurityDisabler())&#xA;{&#xA;    var item = mediaCreator.CreateFromStream(ms, fileName, options);&#xA;    var uri = MediaManager.GetMediaUrl(item);&#xA;    return uri;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3763" LastActivityDate="2018-06-12T09:19:45.310" Title="Why does MediaManager.GetMediaUrl() return internal &quot;/sitecore/shell/-/media&quot; URL instead of &quot;~/media&quot; URL?" Tags="|media-library|urls|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12272" PostTypeId="2" ParentId="12271" CreationDate="2018-06-12T08:44:03.967" Score="2" Body="&lt;p&gt;This happens because your context site is &quot;&lt;strong&gt;shell&lt;/strong&gt;&quot; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to switch to &lt;strong&gt;website&lt;/strong&gt; site using : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   using (new SecurityDisabler())&#xA;   {&#xA;      var item = mediaCreator.CreateFromStream(ms, fileName, options);&#xA;      using (new SiteContextSwitcher(Factory.GetSite(&quot;website&quot;)))&#xA;        {&#xA;         var uri = MediaManager.GetMediaUrl(item);&#xA;        }&#xA;       return uri;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-06-12T08:45:31.993" LastActivityDate="2018-06-12T08:45:31.993" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12273" PostTypeId="2" ParentId="12271" CreationDate="2018-06-12T08:53:50.857" Score="5" Body="&lt;p&gt;From what I remember, if you add an image from media library into RTE field, Sitecore uses the following format:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;-/media/5EA5C007FFFF4688A0B7E6F58B79D2E8.ashx&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With your media item id instead of &lt;code&gt;5EA5C007FFFF4688A0B7E6F58B79D2E8&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to use the same format from your code instead of generating the url using MediaManager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then the url will be transformed into a user friendly link when the field is generated on your site.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use &lt;code&gt;MediaUrlOptions.GetShellOptions()&lt;/code&gt; to generate url in this format:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;{&#xA;    var item = mediaCreator.CreateFromStream(ms, fileName, options);&#xA;    var uri = Sitecore.Resources.Media.MediaManager.GetMediaUrl(item, Sitecore.Resources.Media.MediaUrlOptions.GetShellOptions());&#xA;    return uri;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-06-12T09:19:45.310" LastActivityDate="2018-06-12T09:19:45.310" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12274" PostTypeId="1" AcceptedAnswerId="12303" CreationDate="2018-06-12T10:26:54.917" Score="1" ViewCount="119" Body="&lt;p&gt;We have recently migrated Data Exchange Framework (DEF) and also CRM Connect module from 1.0 to 1.4.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have created from scratch new tenant and added pipelines, value mappings, and other DEF related items one by one from old tenant but not by copying items but recreating them as it was suggested by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After all changes, we are not able to sync active records of custom CRM entity anymore. We can only sync inactive records by checking &quot;Exclude Active Filter&quot; in &quot;Read CRM entity&quot; pipeline. If we uncheck this checkbox, nothing is synced at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AtQHQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AtQHQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any idea how to tackle this problem? Or where to look at?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-06-13T20:17:14.417" Title="Exclude Active Filter not working properly in DEF / CRM Connect 1.4.1" Tags="|data-exchange-framework|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12276" PostTypeId="1" CreationDate="2018-06-12T11:04:05.557" Score="1" ViewCount="3947" Body="&lt;p&gt;I have read this article about how to create &lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-and-solr-custom-field-reader-and-indexing&quot; rel=&quot;nofollow noreferrer&quot;&gt;custom field reader and index&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to ask that at the very last step, in &lt;code&gt;MySearchResultItem&lt;/code&gt; class, is it mandatory to match the index field name &quot;&lt;code&gt;My Ideas&lt;/code&gt;&quot; with class property &quot;&lt;code&gt;MyIdeas&lt;/code&gt;&quot; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;My Ideas&quot;)]&#xA; public List&amp;lt;string&amp;gt; MyIdeas { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried with &lt;code&gt;[IndexField(&quot;_myideas&quot;)]&lt;/code&gt; but query is not able to find an result. I also looked in search.log and the search query is: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;?q=myideas_t:(*content*))&amp;amp;rows=1&amp;amp;fl=*,score&amp;amp;fq=_indexname:(my_custom_index)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3693" LastEditorUserId="73" LastEditDate="2018-06-13T20:21:18.423" LastActivityDate="2018-11-16T17:15:29.930" Title="Solr custom field reader and indexing" Tags="|solr|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12277" PostTypeId="2" ParentId="12181" CreationDate="2018-06-12T11:18:45.423" Score="0" Body="&lt;p&gt;The key is to obtain correct version of link address by passing itemID to Action Link, therefore create a pgLinkRedirect() in controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public ActionResult pgRedirect(string itemid)&#xA;    {&#xA;        var item = Sitecore.Context.Database.GetItem(new ID(itemid));&#xA;&#xA;        UrlOptions op = new UrlOptions();&#xA;        op.UseDisplayName = true;&#xA;        op.LanguageEmbedding = LanguageEmbedding.Always;&#xA;        op.LowercaseUrls = true;&#xA;&#xA;        var url = ComponentHelper.DisplayNameHandler(LinkManager.GetItemUrl(item, op), 2);&#xA;&#xA;        return Redirect(url);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you need another version of link, pass language name into GetItem as one of parameter.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var item = Sitecore.Context.Database.GetItem(new ID(itemid), LanguageManager.GetLanguage(lg));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then&lt;/p&gt;&#xA;&#xA;&lt;p&gt;each link in View using Action Link to pass itemID to controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.ActionLink(@item.MenuItemName, &quot;pgRedirect&quot;, new { itemid = @item.itemID })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;so you can get the link correctly!&lt;/p&gt;&#xA;" OwnerUserId="3801" LastActivityDate="2018-06-12T11:18:45.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12278" PostTypeId="2" ParentId="12252" CreationDate="2018-06-12T12:08:01.773" Score="0" Body="&lt;p&gt;To display a total number of results use Results Count rendering:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/stTs9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/stTs9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To show a number of items loaded by hitting Load More button you would need to add some custom logic (modify Results Count rendering or create a new one). Each time when you hit the button and the results are loaded the following event is triggered. Here is how you could attach for this event:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XA.component.search.vent.on(&quot;results-loaded&quot;, function (results) {&#xA;    //you custom logic here&#xA;});  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-12T12:08:01.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12279" PostTypeId="1" CreationDate="2018-06-12T12:09:42.593" Score="5" ViewCount="1690" Body="&lt;p&gt;I have 3 versions for an item. On selecting the item, there is message above the &lt;code&gt;Quick Info&lt;/code&gt; section:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you publish now, the selected version will not be visible on the&#xA;  Web site because it has been replaced by an older version. Version 2&#xA;  will be published instead.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This item is not in workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I check the &lt;code&gt;Change Restrictions&lt;/code&gt; option in the &lt;code&gt;Publish&lt;/code&gt; tab, only versions 1 &amp;amp; 2 are checked and version 3 is unchecked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I marked version 3 as publishable. The alert message is gone and the item can be published now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when new versions are created, I have to manually check them in 'Change Restrictions`. This never happened before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a bug or is there any config setting to make all versions publishable.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-06-12T12:55:32.963" Title="New versions are not publishable" Tags="|publishing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12280" PostTypeId="2" ParentId="12274" CreationDate="2018-06-12T12:17:33.470" Score="1" Body="&lt;p&gt;&lt;strong&gt;Exclude Active Filter&lt;/strong&gt; is used in order to include/exclude filtering by statecode:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual ConditionExpression GetActiveConditionExpression()&#xA;    {&#xA;        var condition = new ConditionExpression&#xA;        {&#xA;            AttributeName = &quot;statecode&quot;,&#xA;            Operator = ConditionOperator.Equal&#xA;        };&#xA;        condition.Values.Add(&quot;Active&quot;);&#xA;        return condition;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It works well with dynamics entities that have this field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See for contact:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/r3Iyo.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/r3Iyo.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my concern.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check whether your &lt;strong&gt;&lt;em&gt;Wave Crm Entity&lt;/em&gt;&lt;/strong&gt; (see from your screenshot) has this field. If no it should be excluded as you did.&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-06-12T12:17:33.470" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12281" PostTypeId="1" AcceptedAnswerId="25041" CreationDate="2018-06-12T12:21:16.193" Score="2" ViewCount="1538" Body="&lt;p&gt;I'm using Sitecore 9, and SXA 1.7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a search scope that searches for certain items whose template is &quot;blog page&quot;, in the scope query, I'm searching using the template and location, and I do get the items requires as results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I use the Search result component in a page and give it the previously mentioned scope, it does not show me any results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not know the reason for this, if anyone ran into anything similar I would appreciate some guidance.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2022-04-13T03:33:33.533" Title="Items appear in SXA scope but not in search results" Tags="|sxa|content-search|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12282" PostTypeId="2" ParentId="11282" CreationDate="2018-06-12T12:29:51.290" Score="6" Body="&lt;p&gt;Here is a complete script to detect all those errors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Add-Type -AssemblyName Sitecore.Kernel&#xA;&#xA;&#xA;function Resolve-Error ($ErrorRecord=$Error[0])&#xA;{&#xA;   $ErrorRecord | Format-List * -Force&#xA;   $ErrorRecord.InvocationInfo |Format-List *&#xA;   $Exception = $ErrorRecord.Exception&#xA;   for ($i = 0; $Exception; $i++, ($Exception = $Exception.InnerException))&#xA;   {   &quot;$i&quot; * 80&#xA;       $Exception |Format-List * -Force&#xA;   }&#xA;}&#xA;&#xA;function Test-Fields($item) {&#xA;    $anyState = [Sitecore.Links.ItemLinkState]::Any&#xA;&#xA;    $item.Fields.ReadAll()&#xA;    for ($j = 0; $j -lt $item.Fields.Count; $j++)&#xA;    {&#xA;        $field = $item.Fields[$j];&#xA;        if ($field -ne $null)&#xA;        {&#xA;            $field2 = [Sitecore.Data.Fields.FieldTypeManager]::GetField($field)&#xA;            if ($field2 -ne $null)&#xA;            {&#xA;                Try {&#xA;                    $linksValidationResult = New-Object -TypeName &quot;Sitecore.Links.LinksValidationResult&quot; -ArgumentList $field, $anyState&#xA;                    $field2.ValidateLinks($linksValidationResult);&#xA;                } &#xA;                Catch { &#xA;                   Write-Host &quot;Error on item: $($item.ID). Field: $($field.Name). Path: $($item.Paths.FullPath). Language: $($item.Language.Name). Value: $($field.Value)&quot;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;function ExecOnPath($path) {&#xA;    Write-Host &quot;Execute on: $path&quot;&#xA;&#xA;    Get-ChildItem -Path &quot;master:$path&quot; -Recurse -Language * | ForEach-Object { Test-Fields  $_ }&#xA;}&#xA;&#xA;ExecOnPath -Path &quot;/sitecore/content/Home&quot;&#xA;&#xA;Write-Host &quot;Done!&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Most of the time is is just because the value of those fields is: &#xA;If you want to fix it with this script you can just add the following code in the catch clause:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if($item[$field.Name] -eq '&amp;lt;link linktype=&quot;internal&quot; /&amp;gt;') {                &#xA;    $item.Editing.BeginEdit()&#xA;    $item[$field.Name] = &quot;&quot;&#xA;    $item.Editing.EndEdit()&#xA;&#xA;    Write-Host &quot;Fixed automatically!&quot;&#xA;} else {&#xA;    Write-Host &quot;Cannot fix it automatically...&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="287" LastEditorUserId="287" LastEditDate="2018-06-14T12:47:33.110" LastActivityDate="2018-06-14T12:47:33.110" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12283" PostTypeId="2" ParentId="12279" CreationDate="2018-06-12T12:55:32.963" Score="5" Body="&lt;p&gt;One of the reasons this could happen is if the &lt;code&gt;Hide version&lt;/code&gt; checkbox is checked on the &lt;code&gt;__Standard Values&lt;/code&gt; item of the template you're using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find &lt;code&gt;__Standard Values&lt;/code&gt; and check publishing restrictions are set for that item or open  &lt;code&gt;__Standard Values&lt;/code&gt; in Content Editor, find &lt;code&gt;Lifetime&lt;/code&gt; section of the fields, and uncheck &lt;code&gt;Hide version&lt;/code&gt; checkbox.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-06-12T12:55:32.963" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12284" PostTypeId="1" AcceptedAnswerId="12288" CreationDate="2018-06-12T13:46:06.680" Score="6" ViewCount="1295" Body="&lt;p&gt;Sitecore 8.2.7&#xA;SXA 1.7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our website does not render the language in the urls, however the sitemap does. Is there a way to ensure that SXA generates the urls like it does for the navigation?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;no&quot;?&amp;gt;&#xA;&amp;lt;urlset xmlns:xhtml=&quot;http://www.w3.org/1999/xhtml&quot; xmlns=&quot;http://www.sitemaps.org/schemas/sitemap/0.9&quot;&amp;gt;&#xA;  &amp;lt;url&amp;gt;&#xA;    &amp;lt;loc&amp;gt;https://www.company.com/en&amp;lt;/loc&amp;gt;&#xA;    &amp;lt;lastmod&amp;gt;2018-06-06&amp;lt;/lastmod&amp;gt;&#xA;    &amp;lt;changefreq&amp;gt;daily&amp;lt;/changefreq&amp;gt;&#xA;    &amp;lt;priority&amp;gt;1.0&amp;lt;/priority&amp;gt;&#xA;    &amp;lt;xhtml:link rel=&quot;alternate&quot; hreflang=&quot;en&quot; href=&quot;https://www.company.com/en&quot; /&amp;gt;&#xA;  &amp;lt;/url&amp;gt;&#xA;&amp;lt;/urlset&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore support acknowledged this as a bug. May be slated for SXA 1.8.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-06-15T01:12:21.183" LastActivityDate="2018-06-15T01:12:21.183" Title="How do you exclude language from SXA sitemap?" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12285" PostTypeId="1" AcceptedAnswerId="12286" CreationDate="2018-06-12T14:51:15.553" Score="3" ViewCount="119" Body="&lt;p&gt;I created a package of users and roles from local development environment of Sitecore.NET 9.0.1 (rev. 171219).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When this package is installed on Azure , users got disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know we can enable them from User Manager but would like to know, why this had happened?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone faced similar situation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l5dRz.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l5dRz.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2153" LastEditorUserId="2153" LastEditDate="2018-06-21T10:50:36.640" LastActivityDate="2018-06-21T10:50:36.640" Title="Sitecore Custom Role based User gets disabled on package installation" Tags="|packages|user-management|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12286" PostTypeId="2" ParentId="12285" CreationDate="2018-06-12T15:03:57.927" Score="2" Body="&lt;p&gt;This is a normal behaviour in Sitecore but you can transfer the password between environments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: This solution applies only to the default SQL Membership Provider provided used by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to follow next steps: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;IMPORTANT! Back up your databases.&lt;/li&gt;&#xA;&lt;li&gt;Copy the &lt;a href=&quot;https://kb.sitecore.net/~/media/577C27A0A2C44A26B8EAAE4E93369CCE.ashx?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;TransferUserPasswords.aspx&lt;/a&gt; file to the \sitecore\admin folder of your solution.&lt;/li&gt;&#xA;&lt;li&gt;Request the page using the URL as below:&#xA;&lt;strong&gt;/sitecore/admin/TransferUserPasswords.aspx&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Enter the connection strings of the source and target Core databases using appropriate text boxes.&lt;/li&gt;&#xA;&lt;li&gt;Click the Refresh button to get the list of users that exist in both Core databases.&lt;/li&gt;&#xA;&lt;li&gt;Use the &amp;lt;&amp;lt;&amp;lt; and &gt;&gt;&gt; buttons to select or deselect users for password transferring.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click the Transfer button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After performing these steps, passwords of the selected users will be transferred to the target Core database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information you can find &lt;a href=&quot;https://kb.sitecore.net/articles/242631&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; .  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-06-12T15:11:44.867" LastActivityDate="2018-06-12T15:11:44.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12287" PostTypeId="2" ParentId="12276" CreationDate="2018-06-12T15:13:27.977" Score="1" Body="&lt;p&gt;Ideally, something like this should work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;myideas&quot;)]&#xA;public List&amp;lt;string&amp;gt; MyIdeas { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8342/solr-issues-using-multilist-property-on-search-result/8433#8433&quot;&gt;have seen others&lt;/a&gt; (depending on what version of Sitecore) have issues with very similar fields that requires them to more closely mirror the Solr field naming:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;myideas_sm&quot;)]&#xA;public List&amp;lt;string&amp;gt; MyIdeas { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Suffixing the &lt;code&gt;_sm&lt;/code&gt; more or less tells Solr to interpret the field as a &lt;code&gt;stringCollection&lt;/code&gt; which really &lt;em&gt;should&lt;/em&gt; be inferred and not required, but as you can see others having similar issues. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similar to the other linked post, you may have some luck with defining a &lt;code&gt;TypeConverter&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;myideas_sm&quot;)]&#xA;[TypeConverter(typeof(Sitecore.ContentSearch.Converters.IndexFieldEnumerableConverter))]&#xA;public List&amp;lt;string&amp;gt; MyIdeas { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hopefully this can help you get over the issue and continuing on.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2018-06-12T15:13:27.977" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12288" PostTypeId="2" ParentId="12284" CreationDate="2018-06-12T17:55:13.910" Score="5" Body="&lt;p&gt;I had the same problem, it appears that the &lt;code&gt;SitemapHandler&lt;/code&gt; doesn't always obey the &lt;code&gt;langaugeEmbedding&lt;/code&gt; option set in in the configuration. I think the problem is in the &lt;code&gt;ResolveLanguageEmbedding&lt;/code&gt; function in the &lt;code&gt;LocalizableLinkProvider&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Replace the SitemapHandler&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To fix this, I simply overrode the SXA &lt;code&gt;SitemapHandler&lt;/code&gt; and overrode this method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual UrlOptions GetUrlOptions()&#xA;{&#xA;    UrlOptions defaultUrlOptions = LinkManager.GetDefaultUrlOptions();&#xA;    SiteContext site = Context.Site;&#xA;    defaultUrlOptions.Site = site;&#xA;    int num1 = 0;&#xA;    defaultUrlOptions.AlwaysIncludeServerUrl = num1 != 0;&#xA;    int num2 = 1;&#xA;    defaultUrlOptions.SiteResolving = num2 != 0;&#xA;    return defaultUrlOptions;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So that it would either be hard coded to set the required languageEmbedding or you can manually read the link provider settings and make sure it is set correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To override the &lt;code&gt;SitemapHandler&lt;/code&gt;, replace this processor with your patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.XA.Feature.SiteMetadata.Pipelines.HttpRequestBegin.SitemapHandler, Sitecore.XA.Feature.SiteMetadata&quot; resolve=&quot;true&quot; patch:source=&quot;Sitecore.XA.Feature.SiteMetadata.config&quot;&amp;gt;&#xA;    &amp;lt;CacheExpiration&amp;gt;30&amp;lt;/CacheExpiration&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Replace the LinkProvider&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;We also had to replace the SXA &lt;code&gt;LocalizableLinkProvider&lt;/code&gt; and override the &lt;code&gt;GetItemUrl&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override string GetItemUrl(Item item, UrlOptions options)&#xA;{&#xA;    if (options.LanguageEmbedding == LanguageEmbedding.AsNeeded)&#xA;    {&#xA;        options.LanguageEmbedding = this.LanguageEmbedding;&#xA;    }&#xA;&#xA;    return base.GetItemUrl(item, options);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We did this because the &lt;code&gt;LanguageEmbedding&lt;/code&gt; value in the options passed in had different values to the settings in the configuration which caused the language to be embedded for some SXA controls and not others. This sanitized that.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-06-12T17:55:13.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12289" PostTypeId="1" AcceptedAnswerId="12291" CreationDate="2018-06-12T18:35:37.497" Score="3" ViewCount="1001" Body="&lt;p&gt;I would like to know what is the best way to disable Sitecore Federated Experience Manager (FXM) in Sitecore 8.1? &#xA;We are not really using any Sitecore's XP features.  One way I know of is to remove the Sitecore FXM folder from APP_Config. &#xA;But I am not really sure if that is the best way. Wanted to see how others do it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reason to remove is that there is another exception in the website that is happening because of this module. While I can patch it and fix it - I don't really use and would not need any of those work.&lt;/p&gt;&#xA;" OwnerUserId="2396" LastEditorUserId="2056" LastEditDate="2018-06-12T20:14:11.910" LastActivityDate="2018-12-17T17:00:24.687" Title="Disable Sitecore FXM" Tags="|experience-editor|fxm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12290" PostTypeId="1" CreationDate="2018-06-12T20:07:57.850" Score="0" ViewCount="218" Body="&lt;p&gt;I have a script that goes and queries a string from a field box. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue: This script takes too long! How can I improve the time to get results? &lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-Location master:&#xA;Get-ChildItem -Path &quot;master:\\sitecore\content&quot; -Language * -Recurse -Force | &#xA;    ForEach-Object -Process {&#xA;        if ($_.InnerData.Fields | Where-Object {$_.value -match 'Dynamics CRM'}) {&#xA;            $_.Paths.FullPath | Write-Log &#xA;        }             &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3657" LastEditorUserId="95" LastEditDate="2018-06-12T21:07:14.473" LastActivityDate="2018-06-13T13:25:17.847" Title="Improving queries performance" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12291" PostTypeId="2" ParentId="12289" CreationDate="2018-06-12T20:12:06.763" Score="2" Body="&lt;p&gt;Disabling config files is better option than deleting whole FXM folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just add &quot;.disabled&quot; extension to all config files under App_Config\Include\FXM folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mcJnZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mcJnZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also don't forget to hide Federated Experience Manager from Launchpad for Content Editors:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/D3yPr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D3yPr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;as after clicking on this button they will end up in this never ending loop:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YbOe5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YbOe5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do it in &quot;core&quot; db by removing Inheritance for item /sitecore/client/Applications/Launchpad/PageSettings/Buttons/Marketing/Federated Experience Manager:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J4jse.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J4jse.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use Security Editor with role that is used by Content Editors (Author is here only as example, button is already hidden for this role):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OI0m8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OI0m8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately for Administrator, this cannot be hidden, so just ignore this button as admin :)&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="1671" LastEditDate="2018-12-17T17:00:24.687" LastActivityDate="2018-12-17T17:00:24.687" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12292" PostTypeId="2" ParentId="11308" CreationDate="2018-06-12T20:26:06.397" Score="3" Body="&lt;p&gt;&lt;code&gt;SmtpAddress&lt;/code&gt; is &lt;code&gt;[PIISensitive]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Indexing of PII sensitive data is disabled by default.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;public class EmailAddress&#xA;{&#xA;    public EmailAddress(string smtpAddress, bool validated)&#xA;    {&#xA;        this.SmtpAddress = smtpAddress;&#xA;        this.Validated = validated;&#xA;    }&#xA;&#xA;    public int BounceCount { get; set; }&#xA;&#xA;    [PIISensitive]&#xA;    public string SmtpAddress { get; set; }&#xA;&#xA;    public bool Validated { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In order to include it you have to set &lt;code&gt;IndexPIISensitiveData&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; as shown:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-pii-indexing.html#&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-pii-indexing.html#&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-06-12T20:31:58.830" LastActivityDate="2018-06-12T20:31:58.830" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12293" PostTypeId="2" ParentId="12290" CreationDate="2018-06-12T21:03:40.893" Score="3" Body="&lt;p&gt;From what I can tell given the above, you are trying to search the entire tree for instances of &lt;code&gt;Dynamics&amp;gt;CRM&lt;/code&gt; and writing the path to a log, you might see some better times from a &lt;code&gt;fast://&lt;/code&gt; query since it does not care about order given the tree compared to the &lt;code&gt;Get-ChildItem&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;$query = &quot;fast:/sitecore/content//*[@Field1 = 'Dynamics&amp;gt;CRM' or @Field2 = 'Dynamics&amp;gt;CRM']&quot;&#xA;Get-Item -Path &quot;master:&quot; -Language * -Query $query | ForEach-Object { $_.Paths.FullPath | Write-Log } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could also try and leverage your indexes:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;$root = (Get-Item &quot;master:/sitecore/content/&quot;)&#xA;Find-Item -Index sitecore_master_index `&#xA;          -Criteria @{Filter = &quot;DescendantOf&quot;; Field = $root },&#xA;                    @{Filter = &quot;Contains&quot;; Field = &quot;field1&quot;; Value = &quot;Dynamics&amp;gt;CRM&quot;},&#xA;                    @{Filter = &quot;Contains&quot;; Field = &quot;field2&quot;; Value = &quot;Dynamics&amp;gt;CRM&quot;} |&#xA;    Initialize-Item | ForEach-Object {$_.Paths.FullPath | Write-Log }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would say the only real deviation from my above scripts to what you provided is defining fields to search by compared to just searching all things everywhere.  That tidbit alone might help you speed things up.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2018-06-12T21:03:40.893" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12294" PostTypeId="2" ParentId="10773" CreationDate="2018-06-13T01:23:58.930" Score="2" Body="&lt;p&gt;@codeandfootball I ran into the same issue while running the Sitecore Express Migration Tool 3.1 and realised that the error is misleading and not actually referring to the path\connection strings in the instance parameters but rather the path that the Migration Tool is running from. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case I had the Migration Tool extracted onto my desktop within a nested folder which caused it to run into the max length error. Moving the folder to the the root drive solved this issue for me.&lt;/p&gt;&#xA;" OwnerUserId="3826" LastActivityDate="2018-06-13T01:23:58.930" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12297" PostTypeId="1" AcceptedAnswerId="12298" CreationDate="2018-06-13T07:37:01.917" Score="3" ViewCount="1183" Body="&lt;p&gt;I am using below configuration for log4net appender to log entries into Custom log file. The requirement is to have one log file for one day and all logs should append to this one file. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;CustomLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;      &amp;lt;file value=&quot;$(dataFolder)/Logs/Custom/CustomLog{date}.log&quot;/&amp;gt;&#xA;      &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;      &amp;lt;staticLogFileName value=&quot;true&quot;/&amp;gt;&#xA;      &amp;lt;datePattern value=&quot;.yyyyMMdd.'log'&quot; /&amp;gt;&#xA;      &amp;lt;rollingStyle value=&quot;Date&quot; /&amp;gt;&#xA;      &amp;lt;lockingModel type=&quot;log4net.Appender.FileAppender+MinimalLock&quot; /&amp;gt;&#xA;      &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;        &amp;lt;conversionPattern value=&quot;%d (%-5p) %n%m%n%n&quot; /&amp;gt;&#xA;      &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Even, when the setting  &lt;code&gt;&amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&lt;/code&gt; is true but still new file is creating with name of &quot;CustomLog20180613.123945.log&quot;.&lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="2056" LastEditDate="2018-06-13T08:27:31.840" LastActivityDate="2018-06-13T08:27:31.840" Title="Create One Custom Log file for each day in Sitecore Custom Log" Tags="|logging|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12298" PostTypeId="2" ParentId="12297" CreationDate="2018-06-13T07:45:11.087" Score="4" Body="&lt;p&gt;You should change your appender like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;CustomLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/Logs/Custom/CustomLog.log&quot;/&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;  &amp;lt;staticLogFileName value=&quot;false&quot;/&amp;gt;&#xA;  &amp;lt;datePattern value=&quot;_yyyyMMdd&quot; /&amp;gt;&#xA;  &amp;lt;rollingStyle value=&quot;Date&quot; /&amp;gt;&#xA;  &amp;lt;lockingModel type=&quot;log4net.Appender.FileAppender+MinimalLock&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;preserveLogFileNameExtension value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%d (%-5p) %n%m%n%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should generate correct log files with names like CustomLog_20180613.log&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RollingStyle attribute set to Date will do all the magic here for you and it will put formatted date string based on datePattern before &quot;.log&quot; extension.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make this work together &lt;code&gt;preserveLogFileNameExtension&lt;/code&gt; attribute needs to be set to &lt;code&gt;true&lt;/code&gt; to maintain &quot;.log&quot; extension in filename.&#xA;Also &lt;code&gt;staticLogFileName&lt;/code&gt; attribute needs to be set to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-13T08:00:12.917" LastActivityDate="2018-06-13T08:00:12.917" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12300" PostTypeId="2" ParentId="7005" CreationDate="2018-06-13T09:09:06.333" Score="1" Body="&lt;p&gt;In sitecore MVC always use /api/Sitecore/{controller}/{action}.&#xA;It should work if you are call from ajax.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sample code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jQuery.ajax({&#xA;            type: &quot;POST&quot;,&#xA;            url: &quot;/api/sitecore/{controller}/{action}&quot;,&#xA;            data: '{url: &quot;' + _url + '&quot; }',&#xA;            contentType: &quot;application/json; charset=utf-8&quot;,&#xA;            dataType: &quot;html&quot;,&#xA;            success: function (response) {&#xA;&#xA;            },                &#xA;            error: function (response) {&#xA;&#xA;            }&#xA;        });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3019" LastActivityDate="2018-06-13T09:09:06.333" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12301" PostTypeId="1" AcceptedAnswerId="12440" CreationDate="2018-06-13T09:46:30.600" Score="0" ViewCount="89" Body="&lt;p&gt;Currently I am trying to install Sitecore XC 9 Update 1 on a windows 8.1 PC and the documentation tells you that there are some problems with the installation, because of a missing support from Powershell Scripts on 8.1. But they don't tell you how to solve this problem and windows 8.1 is supported from SC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HwuU0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HwuU0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration: A parameter cannont be found that matches parameter name &quot;signer&quot;.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;someone has a good link how to install it on Windows 8.1?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;do you need more Informations or Logs to help me?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2018-06-22T05:31:57.410" LastActivityDate="2018-06-22T05:31:57.410" Title="Install Sitecore XC 9 Update 1 on Windows 8.1 / Windows Server 2012R2" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12302" PostTypeId="2" ParentId="11390" CreationDate="2018-06-13T09:52:46.197" Score="2" Body="&lt;p&gt;You have to use &lt;code&gt;owin.cookieAuthentication.signedIn&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a bunch of fedauth-related pipelines (like &lt;code&gt;owin.cookieAuthentication.*&lt;/code&gt;) defined in the &lt;code&gt;\App_Config\Sitecore\Owin.Authentication\Sitecore.Owin.Authentication.config&lt;/code&gt; file that you might want to explore.&lt;/p&gt;&#xA;" OwnerUserId="147" LastActivityDate="2018-06-13T09:52:46.197" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12303" PostTypeId="2" ParentId="12274" CreationDate="2018-06-13T11:39:43.090" Score="0" Body="&lt;p&gt;@Vlad's answer and explanation is definitely great. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case we found out two issues at the end:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)&#xA;We have discovered that we have left out old tenant &quot;just in case&quot; under Data Exchange folder in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sync was actually not creating new items under new tenant but was updating items under old tenant. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By coincidence, both tenants had same relative path set under each tenant settings to sync these entities and probably this was the root cause.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once we deleted items in old tenant, partially everything started to work as expected and part of the active records was synced.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) &#xA;Second issue was that we were synchronizing two entities from Dynamics into Sitecore. Both entities had Wave Id as field in their respective Sitecore template. Some of records had same Wave Id (obviously) for different entities. By syncing one entities all active records were synced. By syncing another entity records some appeared to us as not saved as only 7 out of 16 active records were synced. In reality as Wave Id was same this was matched by already synced entity records for first entity. When we renamed field bame from Wave Id to Wave Ref Id, it all started to work. This is probably a bug and will try to create ticket soon to Sitecore Support.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-13T20:17:14.417" LastActivityDate="2018-06-13T20:17:14.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12304" PostTypeId="1" CreationDate="2018-06-13T13:11:10.593" Score="1" ViewCount="848" Body="&lt;p&gt;We are trying to setup Sitecore commerce 8.2.1 update 2.&#xA;The database is on a remote server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The windows login is with a user &lt;code&gt;SitecoreServices&lt;/code&gt;who is an administrator.&#xA;The same user is also added to SQL Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When running the setup for CommerceServer.exe, the option selected is &lt;code&gt;Windows Authentication&lt;/code&gt; and on clicking 'Test`, it says - successfully connected to database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Commerce Server installation went fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When trying to run the bootstrap by this URL - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://habitat.commerceengine.dev.local:5000/commerceops/Bootstrap()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;there are a no. of error logs in the page and all of them show the same reason:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Login failed. The login is from an untrusted domain and   &#xA;cannot be used with Windows authentication  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the database server also, I have created the &lt;code&gt;SitecoreServices&lt;/code&gt; login with administrator privileges&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&#xA;        &quot;MessageDate&quot;:&quot;2018-06-13T12:56:34.4378692Z&quot;,&quot;Code&quot;:&quot;Error&quot;,&quot;Text&quot;:&quot;SQL:block:findentity.Exception:&#xA;  SQL.GetEntityCommand.Exception:&#xA;  Id=Entity-CommerceEnvironment-CommerceOps|Environment=GlobalEnvironment|Message='Login&#xA;  failed. The login is from an untrusted domain and cannot be used with&#xA;  Windows&#xA;  authentication.'|Number=18452|Procedure=''|Line=65536&quot;,&quot;CommerceTermKey&quot;:&quot;SQL:block:findentity&quot;&#xA;      }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2021-02-10T14:19:14.880" Title="Unable to bootstrap commerce engine" Tags="|sitecore-commerce|commerce-server|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12305" PostTypeId="2" ParentId="12290" CreationDate="2018-06-13T13:25:17.847" Score="2" Body="&lt;p&gt;A non-SPE approach is to use the out-of-the-box Search tab.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select the &lt;code&gt;/sitecore/Content&lt;/code&gt; item&lt;/li&gt;&#xA;&lt;li&gt;Type in the search box &lt;code&gt;custom:&lt;/code&gt; (tab)&lt;/li&gt;&#xA;&lt;li&gt;Type &lt;code&gt;fieldname|Dynamics&amp;gt;CRM&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Search&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It should return all items with a field of &lt;code&gt;fieldName&lt;/code&gt; with a value of &lt;code&gt;Dynamics&amp;gt;CRM&lt;/code&gt;. It has the added benefit of using the index by default, so it will be very quick. This doesn't write to the log, but perhaps that wasn't a requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Search And Replace&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the search tab, you can also replace values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2ojrC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2ojrC.png&quot; alt=&quot;Search and Replace&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Type in the existing word (&lt;code&gt;Dynamics&amp;gt;CRM&lt;/code&gt;) and the replacement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A9kyG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A9kyG.png&quot; alt=&quot;Replacement Word&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-06-13T13:25:17.847" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12306" PostTypeId="1" CreationDate="2018-06-13T13:51:12.420" Score="1" ViewCount="1442" Body="&lt;p&gt;JSS Tech preview 3&#xA;vueJs sample basic&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm looking to include &lt;strong&gt;vue-meta&lt;/strong&gt; for Server Rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've successfully added it for Client Rendering, but, because the tutorial to include vue-meta is very different that what we have in JSS I don't know how to include it for Server Rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/declandewet/vue-meta#step-2-server-rendering-optional&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/declandewet/vue-meta&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I have done so far:&#xA; - I added 4 fields ( meta ) in routes.sitecore.js:&#xA; - &lt;a href=&quot;https://i.stack.imgur.com/uaqt5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uaqt5.png&quot; alt=&quot;List item&quot;&gt;&lt;/a&gt;&#xA; - App.vue:&#xA; - &lt;a href=&quot;https://i.stack.imgur.com/IYect.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IYect.png&quot; alt=&quot;List item&quot;&gt;&lt;/a&gt;&#xA; - data/routes/en.json&#xA; - &lt;a href=&quot;https://i.stack.imgur.com/sgtcT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sgtcT.png&quot; alt=&quot;List item&quot;&gt;&lt;/a&gt;&#xA; - boot/Root.js&#xA; - &lt;a href=&quot;https://i.stack.imgur.com/GrxEs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GrxEs.png&quot; alt=&quot;List item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I follow the steps in the documentation of vue-meta, how should I convert their example to the code you have for JSS ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help!&lt;/p&gt;&#xA;" OwnerUserId="3659" LastActivityDate="2018-07-25T15:32:51.340" Title="JSS vueJs - How to include vue-meta for server rendering" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12307" PostTypeId="2" ParentId="12306" CreationDate="2018-06-13T16:16:12.780" Score="2" Body="&lt;h1&gt;UPDATE - JSS TECH PREVIEW 4&lt;/h1&gt;&#xA;&lt;p&gt;The &lt;a href=&quot;https://github.com/Sitecore/jss/tree/master/samples/vue&quot; rel=&quot;nofollow noreferrer&quot;&gt;Vue sample app&lt;/a&gt; for JSS Tech Preview 4 uses &lt;code&gt;vue-meta&lt;/code&gt; for managing meta fields in both SSR and client-side rendering.&lt;/p&gt;&#xA;&lt;p&gt;For the specific usage of &lt;code&gt;vue-meta&lt;/code&gt; and SSR, see the &lt;a href=&quot;https://github.com/Sitecore/jss/blob/master/samples/vue/server/server.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;server/server.js&lt;/code&gt; file&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h1&gt;JSS TECH PREVIEW 3&lt;/h1&gt;&#xA;&lt;p&gt;The &lt;code&gt;vue-meta&lt;/code&gt; docs use &lt;code&gt;bundleRenderer&lt;/code&gt; for SSR as opposed to just the &amp;quot;standard&amp;quot; renderer, but based on this example code: &lt;a href=&quot;https://github.com/declandewet/vue-meta/blob/master/examples/ssr.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/declandewet/vue-meta/blob/master/examples/ssr.js&lt;/a&gt;, it looks like you'd need to make a few modifications to &lt;code&gt;src/server.js&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;// the following code would be in the `.then((content)` chain after `renderer.renderToString(app)`&#xA;// where `app` is a Vue instance, and assumes you've already registered the Meta plugin elsewhere via Vue.use(Meta);&#xA;const meta = app.$meta().inject();&#xA;const serverComponent = new Vue({&#xA;  render(createElement) {&#xA;    return createElement(ServerHtml, {&#xA;      props: {&#xA;        content,&#xA;        initialState: validRouteOrNull,&#xA;        distPath: __BUNDLE_OUTPUT_PATH__,&#xA;        meta, // pass the meta object as prop to `ServerHtml`&#xA;      },&#xA;    });&#xA;  },&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Then in &lt;code&gt;src/app/ServerHtml.js&lt;/code&gt; you'd be able to add/reference the &lt;code&gt;meta&lt;/code&gt; prop and render the necessary meta data to the server-generated html. e.g.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;props: {&#xA;  ...&#xA;  meta: {&#xA;    type: Object&#xA;  },&#xA;},&#xA;render() {&#xA;  return (&#xA;    &amp;lt;html&amp;gt;&#xA;      &amp;lt;head&amp;gt;&#xA;        &amp;lt;title&amp;gt;{this.meta.title.text()}&amp;lt;/title&amp;gt;&#xA;      &amp;lt;/head&amp;gt;&#xA;      ...&#xA;    &amp;lt;/html&amp;gt;        &#xA;  )&#xA;}&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;DISCLAIMER: this code has &lt;em&gt;not&lt;/em&gt; been tested, it's ad-hoc based on the &lt;code&gt;vue-meta&lt;/code&gt; docs and JSS sample code.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-07-25T15:32:51.340" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12308" PostTypeId="1" CreationDate="2018-06-13T16:58:22.633" Score="3" ViewCount="261" Body="&lt;p&gt;I am adding a Speak UI launchpad application to allow content editors to upload a CSV file that contains data they need to update periodically. Currently, it's an error-prone manual process and this can hopefully make things easier. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added a Speak-TaskPage item to the YourApps node in the core database. And I added Uploader, Uploader Info, and Button controls to the layout. &#xA;I set the database and destination URL (to a location in the media library) to the Uploader control. &#xA;I set the click event to &quot;upload&quot; to the Button control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/speak/components/uploader&quot; rel=&quot;nofollow noreferrer&quot;&gt;This&lt;/a&gt; says &quot;The Uploader control provides users with a way to select files and a member function to upload selected files. You can raise the upload event from a button to trigger this function. Users can then upload selected files by clicking the button.&quot; and implies to me that I only need to set the click event to &quot;upload&quot; for it to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After doing all this, I can see my application page, I can select a document to upload, but after clicking the upload button, nothing happens. There is no activity in the network section of the developer console in the browser. I do see that the button control is not contained within the  section of the uploader control. Is it supposed to be this way? If not, how can I move the button control inside it? I couldn't figure out how.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rFmdo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rFmdo.png&quot; alt=&quot;Layout&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="124" LastEditDate="2019-12-20T15:04:10.810" LastActivityDate="2019-12-20T15:04:10.810" Title="How to trigger upload event for Uploader control?" Tags="|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12309" PostTypeId="2" ParentId="12276" CreationDate="2018-06-13T18:17:30.830" Score="1" Body="&lt;p&gt;StringCollection field types will be indexed using field name format fieldNameFormat=&quot;{0}_sm&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If field name is &lt;strong&gt;My Ideas&lt;/strong&gt; use the following code in your MySearchResultItem class.considering MySearchResultItem implements SearchResultItem class.I use  Ilist instead of list to query the string collection.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [IndexField(&quot;my_ideas_sm&quot;)]&#xA; public IList&amp;lt;string&amp;gt; locationFacetCategory { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If it is MyIdeas, use following code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  [IndexField(&quot;myideas_sm&quot;)]&#xA;   public IList&amp;lt;string&amp;gt; locationFacetCategory { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can further troubleshoot this with following steps.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make sure you are querying against correct index.&lt;/li&gt;&#xA;&lt;li&gt;make sure &lt;a href=&quot;http://localhost:8983/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr&lt;/a&gt; runs.&lt;/li&gt;&#xA;&lt;li&gt;Navigate to the Sitecore Control panel to rebuild the indexes using Indexing manager.&lt;/li&gt;&#xA;&lt;li&gt;Field has been correctly indexed and gets the value from Solr dashboard.for doing this navigate to &lt;a href=&quot;http://localhost:8983/solr/#/custom_index/query&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr/#/custom_index/query&lt;/a&gt; and query the item in the dashboard to find the fields being indexed there.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-06-13T18:17:30.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12310" PostTypeId="1" CreationDate="2018-06-13T20:17:31.310" Score="3" ViewCount="730" Body="&lt;p&gt;I am building a custom XML provider for SC9.0.1 / DEF 2.0.1. The example XML below shows a simple list of Doctors. And each Doctor has a list of Facilities. I would like to be able to sync the doctors and also have the list of facilities for each doctor live beneath each doctor in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&#xA;&amp;lt;Teachers&amp;gt;&#xA;    &amp;lt;Doctor&amp;gt;&#xA;        &amp;lt;FirstName&amp;gt;John&amp;lt;/FirstName&amp;gt;&#xA;        &amp;lt;LastName&amp;gt;Smith&amp;lt;/LastName&amp;gt;&#xA;        &amp;lt;DoctorID&amp;gt;123678&amp;lt;/DoctorID&amp;gt;&#xA;        &amp;lt;Facilities&amp;gt;&#xA;            &amp;lt;Facility&amp;gt;&#xA;                &amp;lt;Name&amp;gt;FacilityA&amp;lt;/Name&amp;gt;&#xA;                &amp;lt;ID&amp;gt;123&amp;lt;/ID&amp;gt;&#xA;            &amp;lt;/Facility&amp;gt;&#xA;            &amp;lt;Facility&amp;gt;&#xA;                &amp;lt;Name&amp;gt;FacilityB&amp;lt;/Name&amp;gt;&#xA;                &amp;lt;ID&amp;gt;234&amp;lt;/ID&amp;gt;&#xA;            &amp;lt;/Facility&amp;gt;&#xA;        &amp;lt;/Facilities&amp;gt;&#xA;    &amp;lt;/Doctor&amp;gt;&#xA;    &amp;lt;Doctor&amp;gt;&#xA;        &amp;lt;FirstName&amp;gt;Jane&amp;lt;/FirstName&amp;gt;&#xA;        &amp;lt;LastName&amp;gt;Jones&amp;lt;/LastName&amp;gt;&#xA;        &amp;lt;DoctorID&amp;gt;123978&amp;lt;/DoctorID&amp;gt;&#xA;        &amp;lt;Facilities&amp;gt;&#xA;            &amp;lt;Facility&amp;gt;&#xA;                &amp;lt;Name&amp;gt;FacilityC&amp;lt;/Name&amp;gt;&#xA;                &amp;lt;ID&amp;gt;678&amp;lt;/ID&amp;gt;&#xA;            &amp;lt;/Facility&amp;gt;&#xA;            &amp;lt;Facility&amp;gt;&#xA;                &amp;lt;Name&amp;gt;FacilityD&amp;lt;/Name&amp;gt;&#xA;                &amp;lt;ID&amp;gt;289&amp;lt;/ID&amp;gt;&#xA;            &amp;lt;/Facility&amp;gt;&#xA;        &amp;lt;/Facilities&amp;gt;&#xA;    &amp;lt;/Doctor&amp;gt;&#xA;&amp;lt;/Doctors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was able to follow the Sitecore documentation and also the example custom provider and handle the sync of Doctors pretty easily.  What I can't figure out at all is how to sync the list of Facilities for each Doctor.  I get the sense that somehow I should create a separate pipeline to handle the list of facilities for each doctor.  But I can't figure out how to set the source for the facilities.  I think it has something to do with using the pipeline context maybe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read this post - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11825/how-to-handle-child-data-collections&quot;&gt;How to handle child data collections&lt;/a&gt;.  From what I can tell from reading the answer there it seems like it has to do with using a &quot;Copy Object from Context to New Location Pipeline Step&quot;.  But I can't seem to find any real documentation on how to use a step of that type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: here is a screen shot showing my current pipeline steps&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AvGwB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AvGwB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is the processor that handles the XML data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.DataExchange.Processors.PipelineSteps;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using Sitecore.DataExchange.Contexts;&#xA;using Sitecore.DataExchange.Models;&#xA;using Sitecore.Services.Core.Diagnostics;&#xA;using Sitecore.DataExchange.Attributes;&#xA;using System.IO;&#xA;using System.Xml;&#xA;using Sitecore.DataExchange.Plugins;&#xA;&#xA;namespace MyProject.DataExchange&#xA;{&#xA;    [RequiredEndpointPlugins(typeof(XmlSystemSettings))]&#xA;    public class ReadXmlDataStepProcessor : BaseReadDataStepProcessor&#xA;    {&#xA;        public ReadXmlDataStepProcessor()&#xA;        { }&#xA;&#xA;        protected override void ReadData(Endpoint endpoint, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            if(endpoint == null)&#xA;            {&#xA;                throw new ArgumentNullException(nameof(endpoint));&#xA;        }&#xA;&#xA;        if(pipelineStep == null)&#xA;        {&#xA;            throw new ArgumentNullException(nameof(pipelineStep));&#xA;        }&#xA;&#xA;        if(pipelineContext == null)&#xA;        {&#xA;            throw new ArgumentNullException(nameof(pipelineContext));&#xA;        }&#xA;&#xA;        var settings = endpoint.GetXmlSystemSettings();&#xA;&#xA;        if(settings == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if(string.IsNullOrWhiteSpace(settings.XmlPath))&#xA;        {&#xA;            logger.Error(&quot;No path is specified on the endpoint. &quot; +&#xA;                &quot;(pipeline step: {0}, endpoint: {1})&quot;,&#xA;                pipelineStep.Name, endpoint.Name);&#xA;            return;&#xA;        }&#xA;&#xA;        var path = settings.XmlPath;&#xA;&#xA;        Uri uriResult;&#xA;        bool result = Uri.TryCreate(path, UriKind.Absolute, out uriResult) &amp;amp;&amp;amp; (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps);&#xA;&#xA;        if(!result)&#xA;        {&#xA;            if(!Path.IsPathRooted(path))&#xA;            {&#xA;                path = string.Format(&quot;{0}{1}&quot;, AppDomain.CurrentDomain.BaseDirectory, path);&#xA;            }&#xA;&#xA;            if(!File.Exists(path))&#xA;            {&#xA;                logger.Error(&quot;The path specified on the endpoint does not exist. &quot; +&#xA;                    &quot;(pipeline step: {0}, endpoint: {1}, path: {2})&quot;,&#xA;                    pipelineStep.Name, endpoint.Name, path);&#xA;                return;&#xA;            }&#xA;        }&#xA;&#xA;        //Main processing of XML goes here&#xA;        var lines = new List&amp;lt;string[]&amp;gt;();&#xA;        XmlDocument document = new XmlDocument();&#xA;        document.Load(path);&#xA;        XmlNodeList xmlNodeList = document.GetElementsByTagName(settings.XmlNodeName);&#xA;        XmlNode[] nodeArray = xmlNodeList.Cast&amp;lt;XmlNode&amp;gt;().ToArray();&#xA;        for(int i=0; i &amp;lt; xmlNodeList.Count; i++)&#xA;        {&#xA;            List&amp;lt;string&amp;gt; strs = new List&amp;lt;string&amp;gt;();&#xA;            for(int j=0; j &amp;lt; xmlNodeList[i].ChildNodes.Count; j++)&#xA;            {&#xA;                strs.Add(xmlNodeList[i].ChildNodes[j].InnerText);&#xA;            }&#xA;            lines.Add(strs.ToArray());&#xA;        }&#xA;&#xA;        var dataSettings = new IterableDataSettings(nodeArray);&#xA;        logger.Info(&quot;{0} rows were read from the file. (pipeline step: {1}, endpoint: {2})&quot;,&#xA;            lines.Count, pipelineStep.Name, endpoint.Name);&#xA;&#xA;        pipelineContext.AddPlugin(dataSettings);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE 2: I am getting closer to figuring this out.  The &lt;code&gt;Get Doctor Facility Info&lt;/code&gt; step seems to work. I am able to write to the log and see that it is properly iterating through the facilities for a given doctor.  Here is a screen shot of my pipelines now:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CFlJ1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CFlJ1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am now getting an error in the &lt;code&gt;Handle Individual Facility&lt;/code&gt; pipeline in the &lt;code&gt;Apply Mapping&lt;/code&gt; step.  The error says: &lt;code&gt;Pipeline step processing will abort because no source object could be resolved from the pipeline context.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe this means that the previous step (Resolve Facility Item) did not put the item in the right place or something.  Below are 2 screen shots of what my &lt;code&gt;Resolve Facility Item&lt;/code&gt; looks like.  I'm not really sure I have this set up properly.  Clearly I don't understand how DEF manages data in the context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mboyE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mboyE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iJUiN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iJUiN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2018-06-15T15:05:01.130" LastActivityDate="2018-06-15T15:05:01.130" Title="How can I use the Sitecore Data Exchange Framework to create child items from XML data?" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12311" PostTypeId="1" CreationDate="2018-06-13T23:44:50.950" Score="2" ViewCount="710" Body="&lt;p&gt;I am following &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_form_element&quot; rel=&quot;nofollow noreferrer&quot;&gt;these instructions&lt;/a&gt; provided by Sitecore to create a simple custom form element with an additional text property for managing a tooltip value. I have created the necessary coreDB components for the form designer UI, the masterDB field template, and the view model class (inheriting StringInputViewModel, marked as Serializable). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This all appears fine when I'm working in the form designer - I can see/edit my new property using the designer and I can see breakpoints getting hit on my property get/setters on my new FieldViewModel type. However, the value being passed to the model is always the original value set against the generated form field content item (empty by default, or whatever value I set manually if I edit the form field item directly using the content editor).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As best I can tell, the issue is the Speak field is not binding correctly to my view model. The only reference I can find to this binding process is in the above doc at the step labelled &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_form_element#_Configure_the_field&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configuring the Field Editor Parameters&lt;/a&gt; where there is an obtuse reference to 'FormData' and mapping the field model property name (implied to be a camelCase reference to the property name in my view model) to the front-end form designer control value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case, my FieldViewModel implementation has just one additional string property for &lt;em&gt;Tooltip&lt;/em&gt;, so my BindingConfiguration pairing is &lt;em&gt;tooltip | Value&lt;/em&gt; to match what appears in these instructions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm seeking any more information on the 'FormData' referred to herein, as I feel like this is perhaps related to my issue, and any steps I can take to troubleshoot this binding process. Any help or advice is very much appreciated! &lt;/p&gt;&#xA;" OwnerUserId="3830" LastActivityDate="2018-06-14T00:26:39.490" Title="SC9 Forms: data not binding to FieldViewModel when creating custom form element" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12312" PostTypeId="2" ParentId="12311" CreationDate="2018-06-14T00:26:39.490" Score="2" Body="&lt;p&gt;The issue appears to be that 'Tooltip' is a reserved field name which led to my own field not being properly handled during the binding process (despite the appearance of returning the correct data from the saved field content item).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing the name/BindingConfiguration of the field in the FormTextBox Parameters item and renaming the property in my view model class immediately resulted in the binding working as expected.&lt;/p&gt;&#xA;" OwnerUserId="3830" LastActivityDate="2018-06-14T00:26:39.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12313" PostTypeId="1" CreationDate="2018-06-14T00:28:11.323" Score="1" ViewCount="155" Body="&lt;p&gt;I've recently downloaded the source codes for Sitecore Powershell Extensions from GitHub and I've updated the Sitecore references to use the Sitecore 9 Nuget references.  After doing so, I've found that there are build errors because of code that no longer seems to be available in Sitecore 9.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically, in the Cognifide.Powershell project, &lt;code&gt;PsSitecoreItemProvider.cs&lt;/code&gt;, line 566, it is referring to &lt;code&gt;ProxyManager&lt;/code&gt;, however it looks like &lt;code&gt;Sitecore.Data.Proxies&lt;/code&gt; no longer has &lt;code&gt;ProxyManager&lt;/code&gt; in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I doing something wrong, or is this an issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1490" LastEditorUserId="2056" LastEditDate="2018-06-14T10:50:11.603" LastActivityDate="2018-07-14T11:32:48.557" Title="Type or namespace 'ProxyManager' does not exist in the namespace 'Sitecore.Data.Proxies'" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12314" PostTypeId="1" CreationDate="2018-06-14T06:21:12.220" Score="1" ViewCount="564" Body="&lt;p&gt;I'm in the process of performing an upgrade of Sitecore 8.1 update 3 to Sitecore 9.0.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have updated all the Sitecore nuget package references from 8.1 to their counterparts in 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the site I get the following exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not resolve type name: Sitecore.Data.SqlServer.SqlServerProxyDataProvider, Sitecore.Kernel (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When I decompile &lt;code&gt;Sitecore.Kernel v8.1&lt;/code&gt; I can see that the type in questions exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I decompile &lt;code&gt;Sitecore.Kernel v9&lt;/code&gt; they type is no longer there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know where it has gone and / or what I should be using instead?&lt;/p&gt;&#xA;" OwnerUserId="3669" LastEditorUserId="2056" LastEditDate="2018-06-14T11:00:34.687" LastActivityDate="2020-01-07T08:26:17.467" Title="What has replaced type Sitecore.Data.SqlServer.SqlServerProxyDataProvider in Sitecore v9?" Tags="|upgrade|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12316" PostTypeId="2" ParentId="12276" CreationDate="2018-06-14T06:56:12.693" Score="1" Body="&lt;p&gt;Another way of doing this would be to create a computed field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyIdeasMultiValued: AbstractComputedIndexField&#xA;{&#xA; public override object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        Item currentItem = indexable as SitecoreIndexableItem;&#xA;        List&amp;lt;string&amp;gt; result = new List&amp;lt;string&amp;gt;();&#xA;&#xA;        if (currentItem.Fields[&quot;My Ideas&quot;].HasValue)&#xA;        {&#xA;&#xA;            var myIdeas = currentItem.Fields[&quot;My Ideas&quot;].Value;&#xA;            var listOfVal = myIdeas.Split(new[] { &quot;\r\n&quot; }, StringSplitOptions.RemoveEmptyEntries).ToList();&#xA;            return listOfVal;                &#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you will have to tell sitecore to take your new computed field when building the index.&#xA;You will need to patch the Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA; &amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;contentSearch&amp;gt;&#xA;    &amp;lt;!-- Configuration sections for indexes --&amp;gt;&#xA;    &amp;lt;indexConfigurations&amp;gt;&#xA;     &amp;lt;sandboxIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;&amp;gt;&#xA;      &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;      &amp;lt;initializeOnAdd&amp;gt;false&amp;lt;/initializeOnAdd&amp;gt;&#xA;      &amp;lt;documentOptions&#xA;        type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;            &#xA;        &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;MyIdeasMultiValued&quot; &amp;gt;Test.ComputedFields.MyIdeasMultiValued,Test&amp;lt;/field&amp;gt;              &#xA;        &amp;lt;/fields&amp;gt;&#xA;      &amp;lt;/documentOptions&amp;gt;&#xA;      &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;        &amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;        &amp;lt;/typeMatches&amp;gt;&#xA;        &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;         &#xA;            &amp;lt;field fieldName=&quot;MyIdeasMultiValued&quot; returnType=&quot;stringCollection&quot;&amp;gt;&amp;lt;/field&amp;gt;&#xA;        &amp;lt;/fieldNames&amp;gt;&#xA;      &amp;lt;/fieldMap&amp;gt;           &#xA;    &amp;lt;/sandboxIndexConfiguration&amp;gt;&#xA;  &amp;lt;/indexConfigurations&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;MySearchResultItem&lt;/code&gt; you will add  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;MyIdeasMultiValued&quot;)]&#xA; public List&amp;lt;string&amp;gt; MyIdeas { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After you rebuild your index you can use the below code to perform the query to check the values.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = this.GetSearchIndex((Context.ContentDatabase ?? Context.Database).Name).CreateSearchContext())&#xA;{&#xA;  var listOfVal = context.GetQueryable&amp;lt;MySearchResultItem&amp;gt; ().Select(i=&amp;gt;i.MyIdeas);&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2018-06-14T06:56:12.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12319" PostTypeId="2" ParentId="12314" CreationDate="2018-06-14T10:42:19.580" Score="3" Body="&lt;p&gt;Seems that the whole Sitecore.Data.Proxies namespace has been significantly reduced in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also no ProxyDisabler any more as it has been retired in this version -&gt; &lt;a href=&quot;https://briancaos.wordpress.com/2018/01/22/in-sitecore-9-the-proxydisabler-have-been-retired-completely/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2018/01/22/in-sitecore-9-the-proxydisabler-have-been-retired-completely/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe there is no replacement for Sitecore.Data.SqlServer.SqlServerProxyDataProvider or any other ProxyProviders that were there before as Proxy items are no longer supported in Sitecore 9.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-14T11:23:33.977" LastActivityDate="2018-06-14T11:23:33.977" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12320" PostTypeId="2" ParentId="12313" CreationDate="2018-06-14T10:48:41.190" Score="1" Body="&lt;p&gt;You are not doing anything wrong. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ProxyManager, SqlServerProxyDataProvider, SqlProxyDataProvider, ProxyDisabler  and many proxy related classes have been deprecated in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no replacement for them in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details about ProxyDisabler, see &lt;a href=&quot;https://briancaos.wordpress.com/2018/01/22/in-sitecore-9-the-proxydisabler-have-been-retired-completely/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this post&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-06-14T10:48:41.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12321" PostTypeId="2" ParentId="12308" CreationDate="2018-06-14T10:51:20.773" Score="2" Body="&lt;p&gt;I found the cause of the problem.&#xA;In the UploadButton rendering, the click event needs to be set to &quot;javascript:app.Uploader.viewModel.upload()&quot; (where &quot;Uploader&quot; is the ID of the uploader rendering). I had only entered &quot;upload&quot; in this field.&lt;/p&gt;&#xA;" OwnerUserId="1133" LastEditorUserId="1133" LastEditDate="2018-06-21T13:03:50.210" LastActivityDate="2018-06-21T13:03:50.210" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12322" PostTypeId="1" CreationDate="2018-06-14T11:24:36.900" Score="4" ViewCount="381" Body="&lt;p&gt;I found &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TaggedTheSameAsCurrentPage|SxaTags &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TaggedWithAtLeastOneTagFromCurrentPage|SxaTags &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;that is similar to what I need. However it doesn't return any results.&#xA;I couldn't find much information about it on the internet. &#xA;Do I need any further setting?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks you&#xA;&lt;a href=&quot;https://i.stack.imgur.com/941If.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/941If.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3784" LastEditorUserId="73" LastEditDate="2018-06-14T22:33:47.293" LastActivityDate="2023-07-24T07:22:24.370" Title="How to search all the articles that have the same (or at least one) tag with the current page?" Tags="|sxa|content-search|search-facet|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12323" PostTypeId="1" CreationDate="2018-06-14T14:58:45.173" Score="1" ViewCount="36" Body="&lt;ul&gt;&#xA;&lt;li&gt;I setup the XA.Reference site using Sitecore 8.2.7 with SXA 1.7. &lt;/li&gt;&#xA;&lt;li&gt;I configured the Solr settings as described by the Sitecore documentation.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After indexing the content, all of the movies come back but the facet data is empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Tg8wj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Tg8wj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-06-14T14:58:45.173" Title="Why do my movie genres come back empty in XA.Reference while using Solr?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12324" PostTypeId="2" ParentId="12323" CreationDate="2018-06-14T14:58:45.173" Score="2" Body="&lt;p&gt;After discussing with Saul in the Sitecore Slack Chat, he pointed out that the field name needs to match what is in Solr. I suspect this is the case because it's not a custom computed index field, which would have its own settings patched to define the field type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had to change the field name to get results back from SXA, but then also needed to rename the facet item for it to render properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qgY0l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qgY0l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-06-14T14:58:45.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12326" PostTypeId="1" CreationDate="2018-06-14T16:13:33.087" Score="5" ViewCount="702" Body="&lt;p&gt;I have configured a High Availability for SOLR solution with&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2 x SOLR&lt;/li&gt;&#xA;&lt;li&gt;3 x Zookeeper&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;While I was building the indexes everything went well, except for the following &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;7816 05:28:53 ERROR SwitchOnRebuildSolrSearchIndex: CreateAlias: Setting alias 'sitecore_custom_web_index_primary_alias' to collection 'sitecore_custom_web_index' failed. Response body: SolrNet.ResponseHearder&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Unfortunately it does not log anything else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas why this occur?&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="73" LastEditDate="2018-08-15T02:16:11.463" LastActivityDate="2024-03-16T20:02:25.340" Title="CreateAlias: Setting alias 'sitecore_custom_web_index_primary_alias' to collection 'sitecore_custom_web_index' failed" Tags="|solr|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12327" PostTypeId="1" AcceptedAnswerId="12799" CreationDate="2018-06-14T16:57:32.533" Score="1" ViewCount="142" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/a3h0T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/a3h0T.png&quot; alt=&quot;My top assets value per visit&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore ver 8.2.5.  I have assigned goals to my various assets that are a part of a campaign.  (Whitepaper download, ebook, infographic).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All are being tracked in the downloads report, but I was wondering what the math is behind the calculation on this report?&lt;/p&gt;&#xA;" OwnerUserId="3000" LastActivityDate="2018-07-11T12:04:10.023" Title="How is the top assets by value per visit report actually calculated in Sitecore?" Tags="|experience-analytics|goals|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12328" PostTypeId="1" CreationDate="2018-06-14T18:15:50.237" Score="5" ViewCount="812" Body="&lt;p&gt;I know I am touching a bit of Personalization here. But I am trying to understand something pretty basic. &#xA;I want to do A/B testing but not with a different set of content (data source) but two different rendering items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Like for example&lt;/strong&gt;, I want to AB test a hero image vs Video component.  The current Sitecore Out of box setting allows me only to choose different datasources not components. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way I could think of is creating a custom wrapper component that is a combination of both hero and video component and then based on data source or type, chooses to display one. &#xA;Do I have to customize this way or has someone been that path before with a better approach? &#xA;&lt;strong&gt;Sitecore Version 8.1&lt;/strong&gt; &lt;/p&gt;&#xA;" OwnerUserId="2396" LastActivityDate="2018-06-14T22:30:14.443" Title="Sitecore AB Testing with different components" Tags="|experience-editor|personalization|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12329" PostTypeId="1" CreationDate="2018-06-14T19:23:17.620" Score="6" ViewCount="257" Body="&lt;p&gt;Right now I'm in the process of expanding our experience editor functionality. I've followed &lt;a href=&quot;https://citizensitecore.com/2016/01/27/taming-the-experience-editor-customizing-placeholders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;these&lt;/a&gt; &lt;a href=&quot;http://kmac23va.tumblr.com/post/139985168565/enhancing-the-chrome-for-sitecore-mvc&quot; rel=&quot;nofollow noreferrer&quot;&gt;articles&lt;/a&gt; for adding chrome around renderings and placeholders, and now I'm trying to extend this functionality further by inserting a custom button at the bottom of my placeholders that will let the user add a rendering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, this button should do the exact thing that the &quot;add to here&quot; buttons do - pull up the &quot;select a rendering&quot; window - but it will always add the component to the bottom.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My current best lead is to use the &lt;code&gt;webedit:newrendering&lt;/code&gt; somehow. I've tried creating a button in the following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a class=&quot;btn btn-default&quot; onclick=&quot;javascript:Sitecore.PageModes.PageEditor.postRequest('webedit:newrendering(id=@({renderingID}))')&quot;&amp;gt;Add New Rendering&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately this doesn't work at all. Again, ideally this button would just do the same thing as the &quot;Add here&quot; button when you click a placeholder in the experience editor, and I realize the code I've written wouldn't do that even if it did work.&lt;/p&gt;&#xA;" OwnerUserId="3678" LastEditorUserId="1671" LastEditDate="2018-06-29T13:26:44.123" LastActivityDate="2024-01-10T07:04:10.490" Title="How to create a custom button for experience editor that creates a new rendering?" Tags="|experience-editor|presentation|" AnswerCount="1" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12331" PostTypeId="1" AcceptedAnswerId="12606" CreationDate="2018-06-14T20:16:14.840" Score="6" ViewCount="401" Body="&lt;p&gt;I am using the Sitecore 9 default implementation of Dynamic Placeholders, and everything works fairly well. However, the one issue I've had is that the Dynamic Placeholders all overlap each other in the Experience Editor, making it very difficult to actually add content to these placeholders. Thus far I have been unable to find a cause for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code is as follows:&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;On the main page:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;@Html.Sitecore().DynamicPlaceholder(&quot;modules&quot;, 5)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;On the module added to the first dynamic placeholder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().DynamicPlaceholder(new DynamicPlaceholderDefinition(&quot;cards&quot;)&#xA; {&#xA;     Count = Model.CardCountPerRow,&#xA;     OutputModifier = (input, context) =&amp;gt; new HtmlString(&quot;&amp;lt;div class=\&quot;&quot; + Model.ColumnClass + &quot;\&quot;&amp;gt;&quot; + input + &quot;&amp;lt;/div&amp;gt;&quot;)&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone else encountered this and is there a way to fix it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;It appears that when I add different types of modules, they appear correctly. It is only when I try to add multiple instances of the same module type that they overlap each other.&lt;/p&gt;&#xA;" OwnerUserId="3838" LastEditorUserId="3838" LastEditDate="2018-06-19T20:30:15.743" LastActivityDate="2018-07-10T16:21:01.883" Title="Native Dynamic Placeholders overlap on the Experience Editor" Tags="|experience-editor|dynamic-placeholder|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12332" PostTypeId="1" CreationDate="2018-06-14T21:32:18.593" Score="1" ViewCount="457" Body="&lt;p&gt;We are running Solr 5.5.4 and Sitecore 8.2.3.  Our collection for the web index occasionally has multiple versions of an item in it.  This is causing problems with some of our older search queries that only expect 1 or no documents returned for an item, which is expected in the web database, since we are not doing any A/B content testing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a nice Solr query to run, to see if there are any duplicated items:&#xA;&lt;a href=&quot;https://[solr]:8983/solr/sitecore_web_index/select?facet.field=_group&amp;amp;facet=on&amp;amp;indent=on&amp;amp;q=_language:en&amp;amp;wt=json&amp;amp;facet.mincount=2&amp;amp;facet.limit=2147483647&amp;amp;rows=0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://[solr]:8983/solr/sitecore_web_index/select?facet.field=_group&amp;amp;facet=on&amp;amp;indent=on&amp;amp;q=_language:en&amp;amp;wt=json&amp;amp;facet.mincount=2&amp;amp;facet.limit=2147483647&amp;amp;rows=0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we rebuild the index, it rebuilds where this query returns no facet_fields items.  But after a few days of publishes, a few items creep into this list.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We haven't found another event that seems to be correlated to when these occur.  The one thing we have noted is that the older version of the item gets an _indextimestamp value of 10-90 seconds after the new one's _indextimestamp value.  So it almost seems like some event is occurring to update/recreate an old item after the new one gets created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We do use workflow for publishing content.  What process is it that removes the old version of an item from the web database?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've scoured the logs and don't see any logged errors around the times where the new or old items are being created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure where to look next.  &lt;/p&gt;&#xA;" OwnerUserId="2639" LastActivityDate="2018-06-14T22:35:23.620" Title="Solr cloud collection sitecore_web_index occasionally has multiple versions of an item in the index" Tags="|solr|index|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12333" PostTypeId="2" ParentId="12326" CreationDate="2018-06-14T21:52:55.853" Score="0" Body="&lt;p&gt;At the end of the index rebuild process it will switch the 2 Aliases over the 2 collections. &#xA;To put the rebuilt index live, and the old index under the rebuild alias.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do your two collections exist in Solr? In particular &quot;sitecore_custom_web_index&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your collection doesn't exist it will error trying to set an Alias for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can debug the commands getting sent to Solr, by running your iis app pool as your current user, changing the solr connection string from localhost:port to localhost.:port (notice the .) and running fiddler.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or looking in the Solr logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or construct it from documentation and your configuration.&#xA;&lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/collections-api.html#CollectionsAPI-createalias&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/collections-api.html#CollectionsAPI-createalias&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you know the Solr command, you can try calling Solr with that command to set the Alias yourself and see if works/fails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another note, the collection api only works in SolrCloud mode, you mention you have Zookeeper so should be fine. Check that in Solr you can see the Cloud left hand nav link, and the graph page shows a healthy green cluster.&lt;/p&gt;&#xA;" OwnerUserId="388" LastEditorUserId="388" LastEditDate="2018-06-14T22:01:23.833" LastActivityDate="2018-06-14T22:01:23.833" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12334" PostTypeId="2" ParentId="12310" CreationDate="2018-06-14T22:05:25.120" Score="3" Body="&lt;p&gt;You can resolve this issue in a different way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am a bit updated your configuration to explain how I see. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/fInIc.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fInIc.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When (7) was executed, means doctor was created. Doctor object still in the Pipeline Context Source location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(8) is Copy Object from Context to New Location Pipeline Step. Here you need to set Source Object Location and it is a Pipeline Context Source because doctor is still here.&lt;br&gt;&#xA;Source Object Value Accessor (that is what you need to create and set) has a reader. The reader should extract Facilities from Doctor.&#xA;Read data will be located to specified Target Object location.&#xA;In other words processor takes data from source, pass it to the accessor where accessor reader knows how to read Facilities and pass it to a target.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jBlTu.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jBlTu.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see in Target Object Location the Pipeline Context Iterable data set.&#xA;So for the Facilities you have to repeat scenario. It means that you need also iterate them. When you create your reader the reader should return IEnumarable. Just remember we still need the Doctor in Pipeline Context Source. We need it in  order to resolver for the single facility can resolve parent for item location and this time it in the pipeline context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many pipeline steps have locations settings.&#xA;Here is an example of available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fj9CG.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fj9CG.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you set one of them processor knows how to read source object.&#xA;For example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Pipeline Context Source. Processor tries to read source from &lt;code&gt;Source&lt;/code&gt;&#xA;property of &lt;code&gt;SynchronizationSettings&lt;/code&gt; object.&lt;/li&gt;&#xA;&lt;li&gt;Pipeline Context Target. Processor tries to read source from &lt;code&gt;Target&lt;/code&gt;&#xA;property of &lt;code&gt;SynchronizationSettings&lt;/code&gt; object&lt;/li&gt;&#xA;&lt;li&gt;Pipeline Context Iterable Data. Processor tries to read source from &lt;code&gt;Data&lt;/code&gt;&#xA;property of &lt;code&gt;IterableDataSettings&lt;/code&gt; object&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-06-14T23:23:41.320" LastActivityDate="2018-06-14T23:23:41.320" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12335" PostTypeId="2" ParentId="12332" CreationDate="2018-06-14T22:27:50.837" Score="1" Body="&lt;p&gt;Have you tried sitecore support? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have a patched crawler?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are a couple of bugs I've encountered which result in duplicate items in the web database. Which require patches from support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One bug only shows itself when using ContentSearch.Indexing.DisableDatabaseCaches=true&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other shows itself when you unpublish a version of an item. And you end up with an empty item in the index (other than shared fields)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a temporary work around rebuilding the index fixes it, as you have found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look in the Solr logs and pay close attention to the version number being indexed for any add/update/delete operation, you might see it deletes a version of the item from the index corectly on an unpublish, and then re-add a version 1 of the item even though version 1 isn't in the web database.&lt;/p&gt;&#xA;" OwnerUserId="388" LastEditorUserId="388" LastEditDate="2018-06-14T22:35:23.620" LastActivityDate="2018-06-14T22:35:23.620" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12336" PostTypeId="2" ParentId="12328" CreationDate="2018-06-14T22:30:14.443" Score="1" Body="&lt;p&gt;The approach you mention is suitable for when you want to include Rendering Parameters in your A/B test. For just switching between two components however, it is not necessary,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you need to do, is enable &lt;code&gt;Personalize the presentation of the component&lt;/code&gt;. This allows you to select between your Hero and Video components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nFuvm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nFuvm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components&quot; rel=&quot;nofollow noreferrer&quot;&gt;Walkthrough: Personalizing components&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(your specific use case under &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/personalization/walkthrough_personalizing_components#_Personalize_the_layout&quot; rel=&quot;nofollow noreferrer&quot;&gt;this section&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-06-14T22:30:14.443" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12338" PostTypeId="2" ParentId="4633" CreationDate="2018-06-14T23:01:43.497" Score="1" Body="&lt;p&gt;I tried all possible options for rendering parameter supporting multilingual ability and found two achievable solutions below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;(Which I would not prefer) Datasource way, instead of rendering parameter use Datasource (which has rendering parameter field in it).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;(I prefer) &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create rendering template for the component&lt;/li&gt;&#xA;&lt;li&gt;Bind rendering template to the rendering component&lt;/li&gt;&#xA;&lt;li&gt;Create page specific template&lt;/li&gt;&#xA;&lt;li&gt;Create its standard value (no need to create language specific version at standard value level)&lt;/li&gt;&#xA;&lt;li&gt;Very important, add rendering component in &lt;strong&gt;&quot;Shared layout&quot;&lt;/strong&gt; section not Final layout&lt;/li&gt;&#xA;&lt;li&gt;Create a page from the created template&lt;/li&gt;&#xA;&lt;li&gt;Update rendering parameters only in Final Layout&lt;/li&gt;&#xA;&lt;li&gt;In case of multilingual create another version of the item and set only rendering parameter values.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you add rendering in final layout, in that case when you add new item version you will lose rendering as well as its values. Whereas in this solution, the user does not have to create a new version at standard value level, they have to create a version at the item level and then just have to update rendering parameters in the final layout.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastActivityDate="2018-06-14T23:01:43.497" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12339" PostTypeId="1" CreationDate="2018-06-15T01:38:40.707" Score="0" ViewCount="86" Body="&lt;p&gt;We are using WFFM 2.4 with Sitecore 7.2 and have &quot;save to database&quot; action in many forms.As WFFM database size is more then 21 GB now, I am looking a script to remove old records. Please share if same kind of work you have done before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3841" LastEditorUserId="1000" LastEditDate="2018-06-15T04:00:58.623" LastActivityDate="2018-06-15T09:15:12.087" Title="Delete old records from WFFM 2.4 configured with Sitecore 7.2" Tags="|wffm|sql-database|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12340" PostTypeId="2" ParentId="10773" CreationDate="2018-06-15T05:48:44.600" Score="0" Body="&lt;p&gt;Sitecore support replied saying it was an error due to overly long filepaths. There should be a maximum of 260 chars only. I reduced the filepath, and it eventually worked.&lt;/p&gt;&#xA;" OwnerUserId="2916" LastActivityDate="2018-06-15T05:48:44.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12341" PostTypeId="1" AcceptedAnswerId="12381" CreationDate="2018-06-15T07:50:59.093" Score="5" ViewCount="678" Body="&lt;p&gt;I'm building a Sitecore Commerce 9 plugin that connects to a Message Queue and performs SellableItems updates based on the message.&lt;br /&gt;&lt;br /&gt;&#xA;I created a method to update the SellableItem and I tested it using a new CommerceCommand called from Postman - it works fine. The problem is that when I call same method from queue Message Handler, the context seems to be different then when called from Command, and the IFindEntityPipeline can't find same Category to assign the SellableItem to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my code:&lt;br /&gt;&#xA;Starting the Message Queue client:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ConfigureServices(IServiceCollection services)&#xA;    {&#xA;        var assembly = Assembly.GetExecutingAssembly();&#xA;        services.RegisterAllPipelineBlocks(assembly);&#xA;&#xA;        services.Sitecore().Pipelines(config =&amp;gt;&#xA;            config.ConfigurePipeline&amp;lt;IStartEnvironmentPipeline&amp;gt;(configure =&amp;gt; {&#xA;                    configure.Add&amp;lt;StartQueueReceiverBlock&amp;gt;();&#xA;                })&#xA;        );&#xA;&#xA;        services.RegisterAllCommands(assembly);&#xA;&#xA;        services.AddSingleton&amp;lt;IReceiveClient, ReceiveClient&amp;gt;();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The pipeline block:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class StartQueueReceiverBlock : PipelineBlock&amp;lt;CommerceEnvironment,CommerceEnvironment, CommercePipelineExecutionContext&amp;gt;&#xA;{&#xA;    private readonly IReceiveClient _client;&#xA;&#xA;    public StartQueueReceiverBlock(IReceiveClient client)&#xA;    {&#xA;        _client = client;&#xA;    }&#xA;&#xA;    public override Task&amp;lt;CommerceEnvironment&amp;gt; Run(CommerceEnvironment arg, CommercePipelineExecutionContext context)&#xA;    {&#xA;        return Task.Run&amp;lt;CommerceEnvironment&amp;gt;(() =&amp;gt;&#xA;            {&#xA;                if(arg.Name == &quot;HabitatAuthoring&quot;)&#xA;                    _client.Receive(context.CommerceContext);&#xA;                return arg;&#xA;            }&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The queue message handler calls my SellableItemUpsertPipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        private async Task ProcessMessagesAsync(Message message, CancellationToken token)&#xA;    {            &#xA;        await _sellableItemUpsertPipeline.Run(new SellableItemUpsertArgument(message), _context.GetPipelineContextOptions()); //_context passed from StartQueueReceiverBlock &#xA;&#xA;        await queueClient.CompleteAsync(message.SystemProperties.LockToken);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the troublesome part:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SellableItemUpsertBlock : PipelineBlock&amp;lt;SellableItemUpsertArgument, SellableItem, CommercePipelineExecutionContext&amp;gt;&#xA;{&#xA;    private readonly IFindEntityPipeline _findEntityPipeline;&#xA;&#xA;    public SellableItemUpsertBlock(IFindEntityPipeline findEntityPipeline)&#xA;    {&#xA;        this._findEntityPipeline = findEntityPipeline;&#xA;    }&#xA;&#xA;    public override async Task&amp;lt;SellableItem&amp;gt; Run(SellableItemUpsertArgument arg, CommercePipelineExecutionContext context)&#xA;    {&#xA;        //If finds Category when called from Postman, but returns null when triggered by queue message&#xA;        var entity = await _findEntityPipeline.Run(new FindEntityArgument(typeof(Category), &quot;Entity-Category-Habitat_Master-FeaturedProducts&quot;), context); &#xA;&#xA;        return new SellableItem();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How to retrieve same entity when triggering the pipeline from queue Message Handler?&lt;/p&gt;&#xA;" OwnerUserId="3754" LastActivityDate="2018-06-19T07:30:27.237" Title="Commerce Context problem" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="6" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12342" PostTypeId="2" ParentId="11941" CreationDate="2018-06-15T07:51:57.073" Score="1" Body="&lt;p&gt;Add a &lt;code&gt;public static bool&lt;/code&gt; variable in the &lt;code&gt;ItemEventHandler class and set it to&lt;/code&gt;true when the condition is satisfied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then add another event handler on &lt;code&gt;publish:end&lt;/code&gt; which will reset the variable back to &lt;code&gt;false&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will do the trick assuming that you have only 1 Sitecore instance publishing items at the same time and you're not using publishing service.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-06-15T07:51:57.073" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12343" PostTypeId="2" ParentId="12339" CreationDate="2018-06-15T09:15:12.087" Score="1" Body="&lt;p&gt;I think that it is better backup WFFM db and attach the new one clear database rather than do any manipulations with old data. But in case if you wish to do it, here is script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DELETE FROM Field&#xA;WHERE FormId in (select Id from Form where Timestamp &amp;lt; '2018/06/15')    &#xA;&#xA;GO&#xA;&#xA;DELETE FROM Form&#xA;WHERE Id in (select Id from Form where Timestamp &amp;lt; '2018/06/15')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Put date that you require instead of '2018/06/15' and don't forget to backup before running it.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-06-15T09:15:12.087" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12347" PostTypeId="1" AcceptedAnswerId="12349" CreationDate="2018-06-15T12:24:59.570" Score="6" ViewCount="74" Body="&lt;p&gt;We are on Sitecore 7.1 (rev. 140324) and need to use &lt;strong&gt;WFFM with MVC&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore I would like to check if Sitecore 7.1 (rev. 140324) supports WFFM with MVC.&lt;/p&gt;&#xA;" OwnerUserId="3844" LastEditorUserId="2056" LastEditDate="2018-06-18T09:28:20.107" LastActivityDate="2018-06-18T09:28:20.107" Title="Is WFFM with MVC supported in Sitecore 7.1?" Tags="|wffm|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12349" PostTypeId="2" ParentId="12347" CreationDate="2018-06-15T12:26:59.617" Score="0" Body="&lt;p&gt;MVC support is available from WFFM 2.4 rev.140923 which is compatibility with Sitecore 7.2 Initial Release or later only. This version comes with Support MVC 5. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case if you would like to find the some documentation on applicable support, please refer to release notes at &lt;a href=&quot;https://sdn.sitecore.net/Products/Web%20Forms%20for%20Marketers/Web%20Forms%20for%20Marketers%202,-d-,4/Release%20Notes.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://sdn.sitecore.net/Products/Web%20Forms%20for%20Marketers/Web%20Forms%20for%20Marketers%202,-d-,4/Release%20Notes.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Web Forms for Marketers module 2.4 rev.140923 version of the module runs on Sitecore 7.2 rev. 140228 and later.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This version Support MVC 5 and WFFM functionality works on Sitecore MVC layouts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you need to move to Sitecore 7.2 version atleast. &lt;/p&gt;&#xA;" OwnerUserId="607" LastActivityDate="2018-06-15T12:26:59.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12350" PostTypeId="1" AcceptedAnswerId="12351" CreationDate="2018-06-15T14:18:23.573" Score="4" ViewCount="485" Body="&lt;p&gt;There is a way to attach to an event which will inform us when the search results have been loaded from the server. We can do it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XA.component.search.vent.on(&quot;results-loaded&quot;, function (data) {&#xA;    //logic here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Search Results rendering is using exactly the same event to get the data and then render them on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But how actually known when those results are actually rendered on the page?&#xA;This might be useful in case if I would like e.g.: attach additional events to HTML elements rendered by rendering.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-15T14:18:23.573" Title="How to detect Search Results rendering DOM update" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12351" PostTypeId="2" ParentId="12350" CreationDate="2018-06-15T14:18:23.573" Score="5" Body="&lt;p&gt;Here is the small JavaScript code snippet which is using MutationObserver to detect DOM changes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var observeDOM = (function () {&#xA;    var MutationObserver = window.MutationObserver || window.WebKitMutationObserver,&#xA;        eventListenerSupported = window.addEventListener;&#xA;    return function (obj, callback) {&#xA;        if (MutationObserver) {&#xA;            var obs = new MutationObserver(function (mutations, observer) {&#xA;                if (mutations[0].addedNodes.length || mutations[0].removedNodes.length)&#xA;                    callback();&#xA;            });&#xA;            obs.observe(obj, { childList: true, subtree: true });&#xA;        }&#xA;        else if (eventListenerSupported) {&#xA;            obj.addEventListener('DOMNodeInserted', callback, false);&#xA;            obj.addEventListener('DOMNodeRemoved', callback, false);&#xA;        }&#xA;    };&#xA;})();&#xA;&#xA;observeDOM(document.querySelector('.search-results'), function () {&#xA;    alert('DOM has been changed!');&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I hope this will be useful to someone:) &lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-15T14:18:23.573" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12352" PostTypeId="1" CreationDate="2018-06-15T15:40:33.200" Score="6" ViewCount="375" Body="&lt;p&gt;I'm trying to write some xConnect search functionality that will search through all identifiers of all contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SOLR is running and I have added a set of sample contacts using the xConnect API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code executes as expected and finds a contact based on a twitter source:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var client = new XConnectClient(config))&#xA;{    &#xA;    var reference = new IdentifiedContactReference(&quot;twitter&quot;, &quot;Twitter1&quot;);&#xA;&#xA;    Task&amp;lt;Contact&amp;gt; contactTask = client.GetAsync&amp;lt;Contact&amp;gt;(reference, new ContactExpandOptions() { });&#xA;&#xA;    Contact contact = await contactTask;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However code below doesn't return any contacts (and I would expect it to based on the above):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var client = new XConnectClient(config))&#xA;{    &#xA;    var queryable = client.Contacts.Where(x =&amp;gt; x.Identifiers.Any(y =&amp;gt; y.Identifier == &quot;Twitter1&quot;)).GetBatchEnumerator(10);&#xA;&#xA;    var enumerator = await queryable;&#xA;&#xA;    while (await enumerator.MoveNext())&#xA;    {&#xA;        if (enumerator.Current != null)&#xA;        {&#xA;            foreach (var contact in enumerator.Current)&#xA;            {&#xA;                // process each contact&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code is an attempt to match the string &quot;Twitter1&quot; to any identifier source, not just a twitter source. If anyone knows what I might be doing wrong or another way of approaching this I'd be very grateful for some advice.&lt;/p&gt;&#xA;" OwnerUserId="2949" LastEditorUserId="2949" LastEditDate="2018-06-15T15:49:14.367" LastActivityDate="2018-06-15T19:09:07.857" Title="xConnect Contact Identifier Search" Tags="|xconnect|contact-facets|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12353" PostTypeId="2" ParentId="11931" CreationDate="2018-06-15T16:11:25.493" Score="2" Body="&lt;p&gt;Here are two PowerShell scripts that we successfully ran to fulfill this task. The first creates a CSV file with all items that have dynamic placeholders. The second loops through the rows in the CSV and updates the dynamic placeholder rendering parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Script 1:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Update the 'Home' node path and the 'basePageTemplateId' Guid&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Write-Output &quot;Start Script &quot; (Get-Date).ToString('MM/dd/yyyy hh:mm:ss tt')&lt;/p&gt;&#xA;&#xA;&lt;p&gt;$elevatedUser= Get-User -Identity &quot;sitecore\admin&quot;&#xA;New-UsingBlock (New-Object Sitecore.Security.Accounts.UserSwitcher $elevatedUser) {&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    $database = &quot;master&quot; #master|web&#xA;    $startPath = &quot;$($database):/sitecore/content/Home&quot;&#xA;    $placeholderKey = &quot;/main/*&quot;&#xA;&#xA;    $basePageTemplateId = [Sitecore.Data.ID]::Parse(&quot;{54BD9D21-90F2-4D22-A0BF-8747DD7C23B4}&quot;)&#xA;&#xA;    $itemsWithPlaceholders = @()&#xA;&#xA;    Get-ChildItem -Path $startPath -Language * -Recurse | ForEach-Object {&#xA;        $item = $_;&#xA;        $doesItInherit = [Sitecore.Data.Managers.TemplateManager]::GetTemplate($_.TemplateID, $_.Database).InheritsFrom($basePageTemplateId)&#xA;&#xA;        #Write-Output &quot;Outer Id: &quot; $_.Id&#xA;&#xA;        if($doesItInherit) {&#xA;            $renderings = Get-Rendering -Item $_  -Placeholder $placeholderKey -FinalLayout:$True&#xA;            foreach($rendering in $renderings){&#xA;                $matches = [regex]::Matches($rendering.Placeholder,'([0-9a-f]{8}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{12})$')&#xA;                if ($matches.Success) {&#xA;&#xA;                    $itemWithPlaceholder = @{&#xA;                        Language = $_.Language&#xA;                        Version = $_.Version                        &#xA;                        ItemId = $_.Id&#xA;                    }&#xA;                    $itemsWithPlaceholders += New-Object PSObject -Property $itemWithPlaceholder&#xA;&#xA;                    #Write-Output &quot;Inner Id: &quot; $_.Id&#xA;                    break&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    $itemsWithPlaceholders | export-csv -Path C:\Temp\Items-With-Dynamic-Placeholders.csv -NoTypeInformation&#xA;&#xA;    Write-Output &quot;Done&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Script 2:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Write-Output &quot;Start Script &quot; (Get-Date).ToString('MM/dd/yyyy hh:mm:ss tt')&#xA;&#xA;$csvPath = &quot;C:\Temp\Items-With-Dynamic-Placeholders.csv&quot;&#xA;$itemsWithDynamicPlaceholders = Import-Csv $csvPath&#xA;&#xA;$placeholderKey = &quot;/main/*&quot;&#xA;&#xA;foreach($row in $itemsWithDynamicPlaceholders) {&#xA;&#xA;    Write-Host &quot;Item details: &quot; $row.ItemId &quot;, &quot; $row.Version &quot;, &quot; $row.Language&#xA;&#xA;    $item = Get-Item -Path master: -ID $row.ItemId -Language $row.Language -Version $row.Version&#xA;&#xA;    $renderings = Get-Rendering -Item $item -Placeholder $placeholderKey -FinalLayout:$True&#xA;&#xA;    Write-Host $renderings.Count&#xA;&#xA;    foreach($rendering in $renderings){&#xA;&#xA;        $matches = [regex]::Matches($rendering.Placeholder,'([0-9a-f]{8}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{4}[-][0-9a-f]{12})$')&#xA;        if ($matches.Success) {&#xA;&#xA;            $renderingId = $matches.Groups[0].Value&#xA;&#xA;            $newPlaceholder = $rendering.Placeholder.Replace($renderingId, &quot;{$($renderingId.ToUpper())}-0&quot;)&#xA;            $newPlaceholder = $newPlaceholder.Replace(&quot;_&quot;, &quot;-&quot;)&#xA;            $rendering.Placeholder = $newPlaceholder&#xA;            $Placeholder = $rendering.Placeholder&#xA;            try{&#xA;&#xA;                #Write-Host &quot;Update Attempt: &quot;$item.Name &quot;, &quot; $renderingId &quot;, &quot; $Placeholder&#xA;&#xA;                Set-Rendering -Item $item -Instance $rendering -FinalLayout:$True&#xA;            }&#xA;            catch{&#xA;                $counter = $counter + 1&#xA;                Write-Output (Get-Date).ToString('MM/dd/yyyy hh:mm:ss tt') &quot; Error ItemId: &quot; $item.ID.Guid &quot; Name:  &quot; $item.Name &quot; Placeholder: &quot; $Placeholder &quot; Language: &quot;  $item.Language.Name &#xA;            }&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;Write-Output &quot;Done&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2949" LastActivityDate="2018-06-15T16:11:25.493" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12354" PostTypeId="2" ParentId="12352" CreationDate="2018-06-15T17:48:49.647" Score="4" Body="&lt;p&gt;Contact Identifiers are considered PII sensitive and are not indexed by default. To enable indexing of PII sensitive data, set &lt;code&gt;IndexPIISensitiveData&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; for xConnect index worker which is typically installed under xConnect website.&#xA;Configuration file to update: &lt;code&gt;App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore\sc.Xdb.Collection.IndexerSettings.xml&lt;/code&gt; or patch the setting by creating a patch file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also see the note about identifiers in the &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/search/contacts/index.html#search-contacts-by-identifier&quot; rel=&quot;nofollow noreferrer&quot;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Peter Prochazka wrote in the comment - be aware of &lt;strong&gt;GDPR&lt;/strong&gt; requirements when indexing PII sensitive data, i.e. get user consent before storing any PII data. In case you need more context about GDPR in Sitecore 9, &lt;a href=&quot;http://www.sitecore.com/-/media/www/files/resources/white-papers/sitecorexp9-and-gdpr-wpltr.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;this document&lt;/a&gt; might be a good start. &lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2018-06-15T19:09:07.857" LastActivityDate="2018-06-15T19:09:07.857" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12355" PostTypeId="1" CreationDate="2018-06-15T22:37:18.653" Score="1" ViewCount="4029" Body="&lt;p&gt;I'm having an issue while installing Sitecore 9.0 on my local machine. I'm not sure what the issue is since I've had success installing it in the past. I also have multiple issues of 9.0.1 installed. I've found people having the same issue while installing 9.0.1 with configuration for Sitecore 9.0, but that's not the issue I'm having since I downloaded a clean installation package right before the install. I'm at a loss for the reason right now, the only thing I can think of that may be a cause is that I just updated SSMS to the most recent versions in order to be able to install BACPAC files from an azure environment. I was wondering if anyone else has come across this issue. The exact error message I'm getting from powershell is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[--------------------------------------------------------------------------------- InstallWDP : WebDeploy ----------------------------------------------------------------------------------]&#xA;[WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe&#xA;msdeploy.exe : Error: Source does not support parameter called 'IIS Web Application Name'. Must be one of (Application Path, Sitecore Admin New Password, Database Server Name, Database &#xA;Admin User Name, Database Admin User Password, Core DB Name, Master DB Name, Web DB Name, Reporting DB Name, XDB Reference Data DB Name, Experience Forms DB Name, Marketing Automation DB &#xA;Name, Processing Pools DB Name, Processing Tasks DB Name, Core DB User Name, Core DB User Password, Master DB User Name, Master DB User Password, Web DB User Name, Web DB User Password, &#xA;Reporting DB User Name, Reporting DB User Password, XDB Reference Data DB User Name, XDB Reference Data DB User Password, Experience Forms DB User Name, Experience Forms DB User Password, &#xA;Marketing Automation DB User Name, Marketing Automation DB User Password, Processing Pools DB User Name, Processing Pools DB User Password, Processing Tasks DB User Name, Processing Tasks &#xA;DB User Password, Core Admin Connection String, Master Admin Connection String, Web Admin Connection String, Experience Forms Admin Connection String, Reporting Admin Connection String, &#xA;Processing Tasks Admin Connection String, Master Connection String, Core Connection String, Web Connection String, XDB Reference Data Connection String, Experience Forms Connection String, &#xA;Reporting Connection String, SOLR Connection String, XConnect Collection, XDB Reference Data Client, XDB MA Connection String, XDB MA Reporting Client, XDB MA Ops Client, Processing Pools &#xA;Connection String, Processing Tasks Connection String, XConnect Server Certificate Validation Thumbprint, XConnect Collection Certificate, XDB Reference Data Client Certificate, XDB MA &#xA;Reporting Client Certificate, XDB MA Ops Client Certificate, Data Folder, Solr Core Index Name, Solr Master Index Name, Solr Web Index Name, Solr Testing Index Name, Solr Suggested Index &#xA;Name, Solr FXM Master Index Name, Solr FXM Web Index Name, Solr Marketing Asset Master Index Name, Solr Marketing Asset Web Index Name, Solr Marketing Definitions Master Index Name, Solr &#xA;Marketing Definitions Web Index Name).&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-CommandTask.ps1:31 char:13&#xA;+             &amp;amp; $Path $Arguments | Out-Default&#xA;+             ~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (Error: Source d...eb Index Name).:String) [], RemoteException&#xA;    + FullyQualifiedErrorId : NativeCommandError&#xA;&#xA;Error count: 1.&#xA;Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At C:\path\install.ps1:51 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:07&#xA;Transcript stopped, output file is C:\WINDOWS\system32\xconnect-xp0.180615 (8).log&#xA;Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-WebDeployTask.ps1:36 char:2&#xA;+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2699" LastActivityDate="2018-06-16T07:28:41.990" Title="Installation of Sitecore 9.0 Failing on WebDeploy" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="0" ClosedDate="2018-06-18T10:59:30.247" ContentLicense="CC BY-SA 4.0" />
  <row Id="12356" PostTypeId="2" ParentId="12355" CreationDate="2018-06-16T06:00:43.880" Score="0" Body="&lt;p&gt;You need to make sure the following step are properly done, before installing it again:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;VS 2017 should be installed, (which pretty much installs everything necessary for sitecore deployment and build)&lt;/li&gt;&#xA;&lt;li&gt;Latest build tools to be installed ( MS Deploy build tools version 15)&lt;/li&gt;&#xA;&lt;li&gt;Remove all the datebases.&lt;/li&gt;&#xA;&lt;li&gt;Rewrite module to be installed correctly&lt;/li&gt;&#xA;&lt;li&gt;The Sitcore PSGallery and SitecoreGallery should be Trusted Repo&lt;/li&gt;&#xA;&lt;li&gt;Remove the IIS directory.&lt;/li&gt;&#xA;&lt;li&gt;Rerun the install&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have also compiled the list of commands for the powershell, that are prerequisites for the SC9 installation&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/isaadansari/63bd6ee4a1a80b40dcc0113739f4bb1b&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/isaadansari/63bd6ee4a1a80b40dcc0113739f4bb1b&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more help check out my blog, for easy insatllation guide&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://isaadansari.wordpress.com/2018/05/01/sitecore-9-installation-download-install-validate-done/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://isaadansari.wordpress.com/2018/05/01/sitecore-9-installation-download-install-validate-done/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-06-16T06:00:43.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12357" PostTypeId="2" ParentId="12355" CreationDate="2018-06-16T07:28:41.990" Score="1" Body="&lt;p&gt;The error you are seeing is from msdeploy. It's trying to communicate that the package your are installing does not have the 'IIS Web Application Name', it then provides the list of parameters the package does have.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SIF configuration will pass a bunch of parameters to msdeploy, but you need to provide the correct path to the WDP package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like in your xconnectparams block you are either passing the wrong WDP to the xconnect config, or using the wrong config with the xconnect wdp.&lt;/p&gt;&#xA;" OwnerUserId="128" LastActivityDate="2018-06-16T07:28:41.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12359" PostTypeId="1" CreationDate="2018-06-16T22:43:31.750" Score="4" ViewCount="157" Body="&lt;p&gt;I have renamed language code from fr-CA to fr, Added fr version to all my content Items. Now the French name in the URL is not displaying? How to correct it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link Manager Setting:Web.Config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;  &amp;lt;clear /&amp;gt;&#xA;  &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; &#xA;  addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; &#xA;  encodeNames=&quot;false&quot; languageEmbedding=&quot;asNeeded&quot; &#xA;  languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; &#xA;  useDisplayName=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SiteDefintion.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;sitecorelocal&quot; patch:before=&quot;site[@name='website']&quot;&#xA;        virtualFolder=&quot;/&quot;&#xA;        physicalFolder=&quot;/&quot;&#xA;        rootPath=&quot;/sitecore/content/Clsite&quot;&#xA;        startItem=&quot;/Home&quot;&#xA;        database=&quot;web&quot;&#xA;        allowDebug=&quot;false&quot;&#xA;        cacheHtml=&quot;true&quot;&#xA;        htmlCacheSize=&quot;50MB&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;true&quot;&#xA;        useDisplayName=&quot;true&quot;&#xA;&#xA;        disableClientData=&quot;false&quot;/&amp;gt;&#xA;&#xA;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the french language version pages, the french URL name should be displayed, As it defined the name in the DisplayName property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Previously it was working fine with language code FR-CA, but after changing it to fr langauge code, The English is displaying in the french url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to fix it? I am using Sitecore 9&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="690" LastEditDate="2018-06-18T09:27:05.640" LastActivityDate="2018-06-18T09:27:05.640" Title="UseDisplayName is not working after renaming language code from fr-CA to fr" Tags="|multilingual|link-manager|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12360" PostTypeId="1" CreationDate="2018-06-17T05:41:22.163" Score="0" ViewCount="410" Body="&lt;p&gt;Getting below warning in the Sitecore logs, Current using Sitecore version 8.2 update 4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;10688 01:24:44 INFO  [Experience Analytics]: Reducing segment: 'd8ba6f18-d0da-4cbb-b51f-8741c0fe9540' on date: 20-06-17 site 679248886.&#xA;8272 01:24:45 WARN  All caches have been cleared. This can decrease performance considerably.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please advice is this may be the reason of slowdown the CMS/Sitecore site? and how we can correct this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!!&#xA;Pushpendra&lt;/p&gt;&#xA;" OwnerUserId="579" LastEditorUserId="690" LastEditDate="2018-06-18T06:37:05.727" LastActivityDate="2019-07-01T18:33:19.320" Title="Getting warning in Sitecore Logs : [Experience Analytics]: Reducing segment" Tags="|experience-analytics|performance-optimization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12361" PostTypeId="1" AcceptedAnswerId="12363" CreationDate="2018-06-17T06:59:58.827" Score="1" ViewCount="296" Body="&lt;p&gt;We were able to import our products from Sitecore Commerce to the Sitecore CMS (saved as virtual items), and I would like to search for these products using the Sitecore Search. So I rebuild the Sitecore_master_index using the &quot;indexing manager&quot; in the control panel, unfortunately the rebuild stopped after processing the 20000 items and showed me the below error&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Index_Update_IndexName=sitecore_master_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.ArgumentNullException: Value cannot be null.&#xA;Parameter name: item&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.Commerce.Engine.Connect.Search.Crawlers.CatalogCrawlerBase`1.GetCatalogEntityLanguages(Item item)&#xA;   at Sitecore.Commerce.Engine.Connect.Search.Crawlers.CatalogCrawlerBase`1.GetItem(TEntity catalogEntity)&#xA;   at Sitecore.Commerce.Engine.Connect.Search.Crawlers.CatalogCrawlerBase`1.Add(IProviderUpdateContext context, CancellationToken cancellationToken)&#xA;   at Sitecore.ContentSearch.FlatDataCrawler`1.RebuildFromRoot(IProviderUpdateContext context, IndexingOptions indexingOptions, CancellationToken cancellationToken)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.PerformRebuild(Boolean resetIndex, Boolean optimizeOnComplete, IndexingOptions indexingOptions, CancellationToken cancellationToken)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Rebuild(Boolean resetIndex, Boolean optimizeOnComplete)&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.DoExecute()&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;I assume that the index was crawling all the items until it started to crawl the commerce products and some items are maybe null or something like that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope that someone could help me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="3544" LastEditorUserId="690" LastEditDate="2018-06-18T08:34:34.490" LastActivityDate="2018-06-18T10:01:19.467" Title="Exception GetCatalogEntityLanguages during the rebuild of sitecore_master_index (Sitecore 9.0.1)" Tags="|indexing|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12363" PostTypeId="2" ParentId="12361" CreationDate="2018-06-17T09:24:25.853" Score="4" Body="&lt;p&gt;I had a similair and what helped me was&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Login Sitecore shell -&gt; Desktop -&gt; Content Editor&lt;/li&gt;&#xA;&lt;li&gt;On Commerce tab click Delete Data templates&lt;/li&gt;&#xA;&lt;li&gt;On Commerce tab click Refresh Commerce Cache&lt;/li&gt;&#xA;&lt;li&gt;On Commerce tab click Update Data templates&lt;/li&gt;&#xA;&lt;li&gt;Go to Index Manager and rebuild the index(Master one).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Best regards&#xA;Christian&lt;/p&gt;&#xA;" OwnerUserId="3737" LastActivityDate="2018-06-17T09:24:25.853" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12364" PostTypeId="1" CreationDate="2018-06-17T14:06:54.350" Score="3" ViewCount="179" Body="&lt;p&gt;Using SXA 1.6 we have the requirement to allow the content editor to select articles with specific tags; these tags are editable by the content editor, is there a user friendly way to do so without the need to define them in search scope as it will be difficult for the content editor to manage them?&lt;/p&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="690" LastEditDate="2018-06-18T08:23:10.470" LastActivityDate="2018-06-18T08:23:10.470" Title="SXA 1.6 - Dynamic search scope" Tags="|sxa|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12366" PostTypeId="1" CreationDate="2018-06-18T09:16:00.140" Score="2" ViewCount="297" Body="&lt;p&gt;My client needs to change from &quot;Single CD and Separate CM&quot; to &quot;clustered CD and separate CM&quot; with Load balancer for CD cluster.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version: 8.1 (rev. 160519), In this &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/session_state/session_state_configuration_scenarios&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore document&lt;/a&gt; it mentioned,&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;With Sticky LB : ASP.NET session state provider use InProc, sharedsession use OutProc&lt;/li&gt;&#xA;&lt;li&gt;With non-sticky LB : use outproc for both private and shared.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In another &lt;a href=&quot;http://sitecore-community.github.io/docs/xDB/xdb-architecture/xdb-session-state/&quot; rel=&quot;nofollow noreferrer&quot;&gt;document&lt;/a&gt;, It mentioned like this&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;As soon as you scale to multiple CDs within a cluster, you must use&#xA;  OutProc session management for both private and shared session data&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and also says not to mix inproc and outproc&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Theoretically possible, but not recommended. You are getting the worst&#xA;  of both worlds in terms of reduced speed (OutProc) and reduced&#xA;  reliability (InProc).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Now I'm bit confused, if I use LB with sticky session enabled for CD cluster should I mix InProc and OutProc as mentioned  in the first document or Should I only use OutProc?&lt;/p&gt;&#xA;" OwnerUserId="1022" LastEditorUserId="690" LastEditDate="2018-06-18T10:59:05.120" LastActivityDate="2018-06-18T13:12:06.237" Title="Content Delivery Cluster- Load Balancer Session configuration" Tags="|configuration|session-state|load-balancer|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12367" PostTypeId="2" ParentId="12360" CreationDate="2018-06-18T09:35:51.667" Score="1" Body="&lt;p&gt;we also have had such errors with the reduce agent, it is a bug in Sitecore &lt;em&gt;(Ref.No. 21517)&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Unfortunately, the bug is not fixed yet and we don't have ETA - but it's likely to be fixed in a major update due to complexity.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please contact Sitecore Support for a hotfix, I do have a link to the hotfix but this one is especially build für Sitecore 8.2.2:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Please find the hotfix available at the following URL:&#xA;&lt;a href=&quot;https://dl.sitecore.net/hotfix/SC%20Hotfix%20167101-2%20Experience%20Analytics%202.0.2.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dl.sitecore.net/hotfix/SC%20Hotfix%20167101-2%20Experience%20Analytics%202.0.2.zip&lt;/a&gt;&#xA;Be aware that the hotfix was built specifically for 8.2 Update 2, and you should not install it on other Sitecore versions or in combination with other hotfixes, unless explicitly instructed by Sitecore Support.&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our project the reduce agent tried to reduce segments on 248 configured sites, the process took more than 4,5 hours until it hungs up and backend performance was very slow. Log entries was like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;20940 08:00:02 WARN  All caches have been cleared. This can decrease performance considerably. DEBUG entries have to be enabled in log4net to see the corresponding stack trace. &#xA;93336 08:00:02 WARN  All caches have been cleared. This can decrease performance considerably.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Best regards&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Dirk&lt;/p&gt;&#xA;" OwnerUserId="1183" LastActivityDate="2018-06-18T09:35:51.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12371" PostTypeId="1" AcceptedAnswerId="12386" CreationDate="2018-06-18T10:58:40.500" Score="3" ViewCount="1539" Body="&lt;p&gt;I created a variant in SXA with a NVelocit template. In this variant I am displaying some text in an a tag: &lt;code&gt;&amp;lt;a href=&quot;$item.Fields.Link&quot; target=&quot;_blank&quot;&amp;gt;Test&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works fine, but when my field &quot;Link&quot; is empty I don't want to show anything. So I found some information on NVelocity (not related to Sitecore though) that showed I could do this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#if ($item.Fields.Link != &quot;&quot;)&#xA;   &amp;lt;a href=&quot;$item.Fields.Link&quot; target=&quot;_blank&quot;&amp;gt;Test&amp;lt;/a&amp;gt;&#xA;#end&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also tried with single quotes, with &lt;code&gt;.empty&lt;/code&gt;, .. but nothing seems to work. I get no output anymore when doing this. If I put something after my end (just to test), that text is still shown. My field is very empty (no space or so).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to use some NVelocity coding in SXA?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: I found this blog from Michael &lt;a href=&quot;https://michaellwest.blogspot.com/2018/02/access-reference-fields-in-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://michaellwest.blogspot.com/2018/02/access-reference-fields-in-sxa.html&lt;/a&gt; where he uses &lt;code&gt;#set&lt;/code&gt; so I guess something should be possible... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using SXA 1.7&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-06-19T11:26:57.067" Title="Using #if in SXA variant NVelocity template" Tags="|sxa|nvelocity|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12372" PostTypeId="2" ParentId="12371" CreationDate="2018-06-18T12:42:39.410" Score="3" Body="&lt;p&gt;Something like this works for sure as I just checked on one of my old instances:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#if ($geospatial.Distance)&#xA;    &amp;lt;span style=&quot;color: red&quot;&amp;gt;$geospatial.Distance km&amp;lt;span&amp;gt;&#xA;#else&#xA;    &amp;lt;span style=&quot;color: brown&quot;&amp;gt;Nothing here&amp;lt;span&amp;gt;&#xA;#end&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When there will be results which don't have a &lt;code&gt;$geospatial&lt;/code&gt; in the context the if statement will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA is not adding any custom logic to those templates, we just run &lt;code&gt;Velocity.Evaluate&lt;/code&gt;. So maybe Sitecore have some limitation on evaluating these templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is another way to achieve what you want. You can add a custom processor to &lt;code&gt;ResolveVariantTokens&lt;/code&gt; pipeline and implement your logic in a token (C# code).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/noH5G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/noH5G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-06-18T12:57:25.883" LastActivityDate="2018-06-18T12:57:25.883" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12373" PostTypeId="2" ParentId="12366" CreationDate="2018-06-18T13:12:06.237" Score="1" Body="&lt;p&gt;Let's consider two statements about LB and sessions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sticky LB will route user to same CD server in cluster.&lt;/li&gt;&#xA;&lt;li&gt;OutProc session is required to share session information between&#xA;servers.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Knowing this, you can make conclusion that with sticky LB it is possible to use both OutProc and InProc session states. But usage of OutProc will be a little bit excessive. So, you can use any: either OutProc or InProc.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-06-18T13:12:06.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12375" PostTypeId="2" ParentId="11282" CreationDate="2018-06-18T17:04:47.567" Score="7" Body="&lt;p&gt;Quick note for anyone who may stumble upon this like I did. After experiencing this issue myself on 8.2.6 (and not having any luck with the other solutions listed here), I submitted a ticket with Sitecore Support and they informed me that this is a known bug:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;For your latest exception when rebuild link database, it was identified this issue as a bug. To track the future status of this bug report, please use the reference number 203014.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;They provided a link to a hotfix, which contains an updated Sitecore.Kernel.dll. Unfortunately this hotfix alone didn't fix the issue either. After a few more iterations back &amp;amp; forth with them, they sent a web form (code posted below) &amp;amp; this did the trick. Please read the feedback from support though:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The issue actually should be split into 2 sub problems.&lt;br&gt;&#xA;  a. Stop Sitecore generate broken links - it should be addressed by the provided hotfix&lt;br&gt;&#xA;  b. Fix the links, which are already broken. this step should be performed manually. Our team has tested the following solution.&lt;/p&gt;&#xA;  &#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;back up your master database&lt;/li&gt;&#xA;  &lt;li&gt;deploy the attached fixlinks page along with its .cs file.&lt;/li&gt;&#xA;  &lt;li&gt;open page in a browser and click go.&lt;/li&gt;&#xA;  &lt;li&gt;wait for page to finish. It will print &quot;status: idle &quot; and output list of fixed link fields.&lt;/li&gt;&#xA;  &lt;li&gt;try to rebuild links in master db again.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Do not apply the fix on the core database. If you believe that your core database is affected, then it will require another approach.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And here is the code for the web form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FixLinks.aspx:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; Debug=&quot;true&quot; CodeFile=&quot;FixLinks.aspx.cs&quot; Inherits=&quot;layouts_FixLinks&quot; %&amp;gt;&#xA;&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&#xA;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&#xA;  &amp;lt;head runat=&quot;server&quot;&amp;gt;&#xA;    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;  &amp;lt;body&amp;gt;&#xA;    &amp;lt;form id=&quot;form1&quot; runat=&quot;server&quot;&amp;gt;&#xA;      &amp;lt;div&amp;gt;&#xA;        &amp;lt;asp:Button ID=&quot;Button1&quot; OnClick=&quot;Button1_Click&quot; runat=&quot;server&quot; Text=&quot;Go&quot; /&amp;gt;&#xA;      &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/form&amp;gt;&#xA;  &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;FixLinks.aspx.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data;&#xA;using Sitecore.Data.Fields;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.SecurityModel;&#xA;using System;&#xA;using System.Collections.Concurrent;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Threading;&#xA;using System.Threading.Tasks;&#xA;using System.Web;&#xA;using System.Web.UI;&#xA;using System.Web.UI.WebControls;&#xA;&#xA;public partial class layouts_FixLinks : System.Web.UI.Page&#xA;{&#xA;    static bool running = false;&#xA;    static List&amp;lt;string&amp;gt; results = new List&amp;lt;string&amp;gt;();&#xA;    static int num = 0;&#xA;    protected void Page_Load(object sender, EventArgs e)&#xA;    {&#xA;        if (running)&#xA;        {&#xA;            this.Button1.Enabled = false;&#xA;            Response.Write(&quot;status: processing &quot;+num + &quot;&amp;lt;br/&amp;gt;&quot;);&#xA;            if (!Page.IsStartupScriptRegistered(&quot;refresh&quot;) &amp;amp;&amp;amp; !IsPostBack)&#xA;            {&#xA;                string scriptBlock =&#xA;                   @&quot;&amp;lt;script language=&quot;&quot;JavaScript&quot;&quot;&amp;gt;&#xA;               setTimeout(function(){window.location.reload(1);},5000);&#xA;               &amp;lt;/script&amp;gt;&quot;;&#xA;&#xA;                Page.RegisterStartupScript(&quot;refresh&quot;, scriptBlock);&#xA;            }&#xA;        }&#xA;        else&#xA;        {&#xA;            Response.Write(&quot;status: idle &quot; +num+ &quot;&amp;lt;br/&amp;gt;&quot;);&#xA;        }&#xA;        lock (results)&#xA;        {&#xA;            foreach (string s in results)&#xA;            {&#xA;                Response.Write(s + &quot;&amp;lt;br/&amp;gt;&quot;);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    protected void Button1_Click(object sender, EventArgs e)&#xA;    {&#xA;        running = true;&#xA;        num = 0;&#xA;        Task.Run(()=&amp;gt;this.go());&#xA;        Response.Redirect(Request.RawUrl);&#xA;    }&#xA;&#xA;    public void go()&#xA;    {&#xA;        try&#xA;        {&#xA;            using (new SecurityDisabler())&#xA;            {&#xA;                Database db = Database.GetDatabase(&quot;master&quot;);&#xA;                Item root = db.GetRootItem();&#xA;                Stack&amp;lt;Item&amp;gt; items = new Stack&amp;lt;Item&amp;gt;();&#xA;                items.Push(root);&#xA;                while (items.Count &amp;gt; 0)&#xA;                {&#xA;                    Item current = items.Pop();&#xA;                    foreach (Item specific in current.Versions.GetVersions(true))&#xA;                    {&#xA;                        foreach (Field f in specific.Fields)&#xA;                        {&#xA;                            if (f.Type== &quot;General Link&quot;||f.Type== &quot;General Link with Search&quot;)&#xA;                            {&#xA;                                LinkField link = (LinkField)f;&#xA;                                if ( !string.IsNullOrEmpty(f.GetValue(false,false))&amp;amp;&amp;amp;!string.IsNullOrEmpty(link.GetAttribute(&quot;linktype&quot;)) &amp;amp;&amp;amp;link.IsInternal)&#xA;                                {&#xA;                                    string id = link.GetAttribute(&quot;id&quot;);&#xA;                                    ID target = Sitecore.Data.ID.Null;&#xA;                                    if (!Sitecore.Data.ID.TryParse(id, out target))&#xA;                                    {&#xA;                                        using (new EditContext(specific))&#xA;                                        {&#xA;                                            specific.Fields[link.InnerField.ID].Value = string.Empty;&#xA;                                        }&#xA;                                        lock (results)&#xA;                                        {&#xA;                                            results.Add(specific.Uri.ToString()+&quot; - &quot;+link.InnerField.Name);&#xA;                                        }&#xA;                                    }&#xA;                                }&#xA;                            }&#xA;                        }&#xA;                    }&#xA;&#xA;                    Interlocked.Increment(ref num);&#xA;&#xA;                    foreach (Item child in current.Children)&#xA;                    {&#xA;                        items.Push(child);&#xA;                    }&#xA;                }&#xA;            }            &#xA;        }&#xA;        catch(Exception e)&#xA;        {&#xA;            lock (results)&#xA;            {&#xA;                results.Add(e.Message);&#xA;                results.Add(e.StackTrace);&#xA;            }&#xA;        }&#xA;        finally&#xA;        {&#xA;            running = false;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this helps someone.&lt;/p&gt;&#xA;" OwnerUserId="317" LastEditorUserId="317" LastEditDate="2018-06-25T16:56:51.050" LastActivityDate="2018-06-25T16:56:51.050" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12376" PostTypeId="1" AcceptedAnswerId="12570" CreationDate="2018-06-19T00:57:47.577" Score="2" ViewCount="892" Body="&lt;p&gt;I have a site configured with an item and field language fallback. We are using glassmapper as an ORM. We have used &lt;strong&gt;VersionCountDisabler&lt;/strong&gt; in the code and global.asax level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Settings:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;enableItemLanguageFallback=&quot;true&quot;  &lt;/li&gt;&#xA;&lt;li&gt;enableFieldLanguageFallback=&quot;true&quot;&lt;/li&gt;&#xA;&lt;li&gt;enforceVersionPresence=&quot;true&quot;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In the Content editor, it shows fallback version with all the values from the fallback item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it is returning an empty value for the &lt;strong&gt;non-shared&lt;/strong&gt; fields. Any help will be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastEditorUserId="690" LastEditDate="2018-06-19T15:06:02.193" LastActivityDate="2018-06-28T00:32:04.137" Title="Language fallback for Non-Shared fields are not working with Glass mapper and Sitecore 9?" Tags="|glass-mapper|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12377" PostTypeId="1" AcceptedAnswerId="12414" CreationDate="2018-06-19T02:05:28.070" Score="8" ViewCount="375" Body="&lt;p&gt;Using &lt;code&gt;DEF 2.0.1 and Sitecore 9&lt;/code&gt;, when reading Sitecore items using &lt;code&gt;ReadSitecoreItemsStepProcessor&lt;/code&gt;, it doesn't find items from the source specified by Item Root when the folder is a bucket e.g. in folder &lt;code&gt;sitecore/content/Parks/Imported Data/Experiences&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OPs0T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OPs0T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if the folder is converted to normal items, &lt;code&gt;ReadSitecoreItemsStepProcessor&lt;/code&gt; finds these items. Has anyone tried this with buckets or have any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="5387" LastEditDate="2019-07-26T11:36:09.937" LastActivityDate="2019-07-26T11:36:09.937" Title="ReadSitecoreItemsStepProcessor and Buckets" Tags="|data-exchange-framework|buckets|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12378" PostTypeId="1" CreationDate="2018-06-19T03:15:50.413" Score="1" ViewCount="99" Body="&lt;p&gt;From a Sitecore launchpad, is there a way I can identify which are the leads/contacts converted from a specific landing page ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Roman&lt;/p&gt;&#xA;" OwnerUserId="3851" LastEditorUserId="73" LastEditDate="2018-06-25T13:49:42.940" LastActivityDate="2018-06-25T13:49:42.940" Title="How to find out which leads are converted from a specific landing page" Tags="|marketing-definitions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12379" PostTypeId="1" AcceptedAnswerId="12383" CreationDate="2018-06-19T06:20:40.293" Score="3" ViewCount="530" Body="&lt;p&gt;When publishing the complete website, I am getting error. I have tried to find the solution but found so far that the configs might be corrupted. I have checked:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Configurations are all set. &lt;/li&gt;&#xA;&lt;li&gt;The Sitecore solution works fine, though (something related to SXA might be causing the issue.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 9.0 update 1 and SXA 1.7.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Job started: Publish to 'web'|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:moving' event.&#xA;     at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;     at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;     at Sitecore.Events.Event.DataEngine_MovingItem(Object sender, ExecutingEventArgs&lt;code&gt;1 e)&#xA;     at Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.RaiseEvent[TArgs](EventHandler&lt;code&gt;1 handlers, Func&lt;/code&gt;2 argsCreator)&#xA;     at Sitecore.Data.Engines.EngineCommand&lt;code&gt;2.RaiseExecuting(Boolean&amp;amp; cancelled)&#xA;     at Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.CanExecute()&#xA;     at Sitecore.Data.Engines.EngineCommand&lt;code&gt;2.Execute()&#xA;     at Sitecore.Data.Managers.ItemProvider.MoveItem(Item item, Item destination, SecurityCheck securityCheck)&#xA;     at Sitecore.Publishing.Pipelines.PublishItem.MoveItems.MoveTargetItem(Item targetItem, ID destinationId, PublishItemContext context)&#xA;     at Sitecore.Publishing.Pipelines.PublishItem.MoveItems.ProcessItem(Item sourceItem, Item targetItem, PublishItemContext context)&#xA;     at Sitecore.Publishing.Pipelines.PublishItem.MoveItems.Process(PublishItemContext context)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.Publishing.Pipelines.PublishItem.PublishItemPipeline.Run(PublishItemContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context, List&lt;/code&gt;1&amp;amp; referrers, List&lt;code&gt;1&amp;amp; children)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;/code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;/code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable&lt;/code&gt;1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;     at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.Process(PublishContext context)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.Publishing.Pipelines.Publish.PublishPipeline.Run(PublishContext context)&#xA;     at Sitecore.Publishing.Publisher.PublishWithResult()&#xA;     --- End of inner exception stack trace ---&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;     at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.Jobs.Job.DoExecute()&#xA;     at Sitecore.Jobs.Job.ThreadEntry(Object state)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-06-19T06:29:09.770" LastActivityDate="2018-06-19T10:44:14.910" Title="Newly created Site in SXA, publishing the full site gives error" Tags="|sxa|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12380" PostTypeId="1" CreationDate="2018-06-19T07:06:18.573" Score="1" ViewCount="489" Body="&lt;p&gt;Using SXA carousel with bootstrap template, but the image inside the slider does not contain the &quot;img-responsive&quot; tag, which is causing the issue with the image alignment, inside the parent div of the slider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I am adding the &quot;img-responsive&quot; tag manually, then the slide moment is breaking.&#xA;Has any one faced the similar issue and got any solution?&#xA;Or is there any other way to make the images in the slider responsive ?&lt;/p&gt;&#xA;" OwnerUserId="3451" LastEditorUserId="690" LastEditDate="2018-06-19T14:31:03.277" LastActivityDate="2018-06-19T14:31:03.277" Title="SXA carousel responsive issue" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12381" PostTypeId="2" ParentId="12341" CreationDate="2018-06-19T07:30:27.237" Score="3" Body="&lt;p&gt;Apparently the CommerceEnvironment in the CommercePipelineExecutionContext is different than the one passed as 'arg' into the Run method of my StartQueueReceiverBlock. I'm not sure if this is expected, or is it a configuration thing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my final version of this method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override Task&amp;lt;CommerceEnvironment&amp;gt; Run(CommerceEnvironment arg, CommercePipelineExecutionContext context)&#xA;    {&#xA;        return Task.Run&amp;lt;CommerceEnvironment&amp;gt;(() =&amp;gt;&#xA;            {&#xA;                if (arg.Name == &quot;HabitatAuthoring&quot;)&#xA;                {&#xA;                    context.CommerceContext.Environment = arg;&#xA;                    _client.Receive(context.CommerceContext);&#xA;                }&#xA;                return arg;&#xA;            }&#xA;        );&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3754" LastActivityDate="2018-06-19T07:30:27.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12383" PostTypeId="2" ParentId="12379" CreationDate="2018-06-19T10:44:14.910" Score="4" Body="&lt;p&gt;There is a (now) known bug in SXA 1.7 when publishing an item that has been moved. I just tested the fix and it works. You can find it here: &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.13144/releases/tag/1.7.0.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.13144/releases/tag/1.7.0.0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This handler is causing the problems: &lt;code&gt;&amp;lt;handler type=&quot;Sitecore.XA.Foundation.Multisite.EventHandlers.VirtualMediaFolderValidator, Sitecore.XA.Foundation.Multisite&quot;&amp;gt;&lt;/code&gt;. We removed it to be able to publish, but the fix is a better solution. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-06-19T10:44:14.910" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12385" PostTypeId="1" AcceptedAnswerId="12418" CreationDate="2018-06-19T11:04:04.570" Score="1" ViewCount="619" Body="&lt;p&gt;I have successfully installed Sitecore Experience Commerce 9 on my Windows 10 machine. Everything is working fine but I didn't see store website which is coming out of the box from Sitecore Commerce Installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I can see Commerce related items under the Sitecore node and all other application are just working fine i.e. bizfx, identity, minions etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update 1: &lt;code&gt;/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts&lt;/code&gt; content item is there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bI1Ud.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bI1Ud.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But i didn't find  &lt;code&gt;/sitecore/content/Sitecore&lt;/code&gt; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4x6h0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4x6h0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, i didn't see Storefront application in SXA Site Manager.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/oaXyu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oaXyu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Environment&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.1 rev. 171219 (WDP XP0 packages)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Commerce.2018.03-2.1.55&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Experience Accelerator 1.7 rev. 180410 for 9.0&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-06-20T11:44:06.087" LastActivityDate="2020-07-16T05:01:44.220" Title="Commerce store website Items are not visible in the content tree" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="12386" PostTypeId="2" ParentId="12371" CreationDate="2018-06-19T11:26:57.067" Score="4" Body="&lt;p&gt;Thanks Dawid for telling me it was possible - it kept me searching for the solution. After a while I found out that I was comparing an object to a string.. In the output the string cast is done automatically but not for the comparison.&#xA;So I ended up with a working template like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#set ($url = $item.Fields.Link.ToString())&#xA;#if ($url != &quot;&quot;)&#xA;  &amp;lt;a href=&quot;$url&quot; target=&quot;_blank&quot;&amp;gt;Test&amp;lt;/a&amp;gt;&#xA;#end&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The trick was the &lt;code&gt;ToString()&lt;/code&gt;..&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-06-19T11:26:57.067" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12387" PostTypeId="2" ParentId="12380" CreationDate="2018-06-19T12:00:16.487" Score="1" Body="&lt;p&gt;It's totally up to you what CSS class you will add to the Image rendering which is placed inside of the Carousel. The same with styling this class. If you apply custom (your own one) CSS class then it's your responsibility to style it correctly so that it won't break default SXA or your custom theme.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how you can add custom classes to the Image rendering:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nzPju.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nzPju.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is how you can manage the list of styles items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YAKcp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YAKcp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-19T12:00:16.487" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12388" PostTypeId="1" AcceptedAnswerId="12390" CreationDate="2018-06-19T12:02:12.323" Score="0" ViewCount="87" Body="&lt;p&gt;Quite new to Sitecore and I have come across something I have not seen before which I hope someone can explain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have noticed in a site that I have inherited that any components added to a page through the experience editor show up in the content tree under the page in a &quot;local content&quot; folder. Can someone explain why this happens.  Is it a setting in Sitecore or the way the components are coded&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mvYIt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mvYIt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="73" LastEditDate="2018-06-19T14:30:52.737" LastActivityDate="2018-06-19T14:30:52.737" Title="Components showing as Items in the content tree" Tags="|experience-editor|information-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12390" PostTypeId="2" ParentId="12388" CreationDate="2018-06-19T12:38:53.420" Score="3" Body="&lt;h3&gt;This is called &amp;quot;Local Datasources&amp;quot;&lt;/h3&gt;&#xA;&lt;p&gt;Essentially it is a way to help prevent massively bloated shared folders for content that really only appears on the page in question.&lt;/p&gt;&#xA;&lt;p&gt;It is (mostly) supported out of the box in Sitecore, with only a few minor UI adjustments required for a good experience.&lt;/p&gt;&#xA;&lt;p&gt;One example here: &lt;a href=&quot;https://ggullentops.blogspot.com/2017/02/local-datasources-module-for-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Local Datasources module for Sitecore Experience Editor&lt;/a&gt; and here: &lt;a href=&quot;https://www.the-reference.com/en/blog/gertgullentops/2017/local-datasources&quot; rel=&quot;nofollow noreferrer&quot;&gt;SITECORE LOCAL DATASOURCES&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-06-19T12:38:53.420" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12391" PostTypeId="1" AcceptedAnswerId="12393" CreationDate="2018-06-19T13:16:38.187" Score="4" ViewCount="856" Body="&lt;p&gt;HI I'm trying to install Sitecore Experience Commerce and got this PowerShell message&#xA;I tried the steps below to install this SQL for PowerShell but I still got the error message below&lt;br&gt;&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module?view=sql-server-2017&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module?view=sql-server-2017&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for any help !&lt;/p&gt;&#xA;&#xA;&lt;p&gt;----- DeployCommerceDatabase : DeployCommerceDatabase ------------------------&#xA;Deleting existing CommerceServices databases...&#xA;Install-SitecoreConfiguration : &lt;strong&gt;SQL Server Provider for Windows PowerShell is not installed.&lt;/strong&gt;&#xA;At F:\SITECORE_ECommerce_9\SIF.Sitecore.Commerce.1.0.1748\MyDeploy-Sitecore-Commerce.ps1:74 char:2&#xA;+     Install-SitecoreConfiguration @params&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pNFqS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pNFqS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="2056" LastEditDate="2018-06-19T19:13:18.233" LastActivityDate="2018-06-19T19:13:18.233" Title="Commerce PowerShell Error SQL Provider is not installed" Tags="|powershell|commerce-server|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12392" PostTypeId="2" ParentId="8861" CreationDate="2018-06-19T13:40:27.933" Score="3" Body="&lt;p&gt;You need to check this part of the documentation: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/extend_search#_Extend_search_to_3&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/extend_search#_Extend_search_to_3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This explains how to use a link type field in the facets. Add a computed field and use that fieldname in the facet:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Add the following definition to your search configuration file: &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;referenced&quot;&#xA;  type=&quot;Sitecore.XA.Foundation.Search.ComputedFields.ResolvedLinks, Sitecore.XA.Foundation.Search&quot; &#xA;  referenceField=&quot;link&quot;&#xA;  contentField=&quot;title&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;fieldName – attribute that defines the index field name where the&#xA;  value will be stored.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;referenceField – attribute that defines the field name of the indexed&#xA;  item. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;contentField – attribute that defines the field of the referenced item&#xA;  from which the value will be retrieved during the indexing.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Don't forget to rebuild your index after the change.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-06-19T14:12:27.820" LastActivityDate="2018-06-19T14:12:27.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12393" PostTypeId="2" ParentId="12391" CreationDate="2018-06-19T14:25:04.753" Score="7" Body="&lt;p&gt;I found the Answer ,download the file below only if you have  &quot;SQL SERVER 2017&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gitlab.com/viet.hoang/workshop/raw/master/Scripts%20for%20Sitecore%20Commerce%20901/DeployCommerceDatabase.psm1&quot; rel=&quot;noreferrer&quot;&gt;https://gitlab.com/viet.hoang/workshop/raw/master/Scripts%20for%20Sitecore%20Commerce%20901/DeployCommerceDatabase.psm1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Overwrite this file on the installation&#xA;SIF.Sitecore.Commerce.1.0.1748\Modules\DeployCommerceDatabase\DeployCommerceDatabase.psm1&#xA;Run the script to Install again and the issue will not show up&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="998" LastEditDate="2018-06-19T18:12:57.913" LastActivityDate="2018-06-19T18:12:57.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12394" PostTypeId="1" AcceptedAnswerId="12395" CreationDate="2018-06-19T15:07:00.933" Score="1" ViewCount="975" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/30tPf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/30tPf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;I modified to allow anonymous setting to true in Sitecore.Services.Client.config &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var xhrp = new XMLHttpRequest();&#xA;        xhrp.open(&quot;POST&quot;, &quot;http://sitecorenew.sc/sitecore/api/ssc/item/sitecore%2Fcontent%2Fhome &quot;);&#xA;        xhrp.setRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;);&#xA;        xhrp.onreadystatechange = function () {&#xA;            if (this.readyState == 4) {&#xA;                alert('Status: ' + this.status + '\nHeaders: ' + JSON.stringify(this.getAllResponseHeaders()) + '\nBody: ' + this.responseText);&#xA;            }&#xA;        };&#xA;        xhrp.send(&quot;{ \n    \&quot;ItemName\&quot;: \&quot;Home\&quot;, \n    \&quot;TemplateID\&quot;: \&quot;76036f5e-cbce-46d1-af0a-4143f9b557aa\&quot;, \n    \&quot;Title\&quot;: \&quot;Sitecore\&quot;, \n    \&quot;Text\&quot;: \&quot;\\r\\n\\t\\t\u003Cp\u003EWelcome to Sitecore\u003C/p\u003E\\r\\n\&quot; \n}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3857" LastEditorUserId="73" LastEditDate="2018-06-20T14:07:43.960" LastActivityDate="2018-06-20T14:07:43.960" Title="&quot;Method not allowed&quot; when using post request to create item" Tags="|sitecore-services-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12395" PostTypeId="2" ParentId="12394" CreationDate="2018-06-19T15:13:17.040" Score="1" Body="&lt;p&gt;You have to generate a authentication cookie and send that along with the request.  &lt;strong&gt;FYI ... This must be called via HTTPS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get the cookie like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var xhr = new XMLHttpRequest();&#xA;xhr.open(&quot;POST&quot;, &quot;https://sitecorenew.sc/sitecore/api/ssc/auth/login&quot;);&#xA;xhr.setRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;);&#xA;xhr.onreadystatechange = function () {&#xA;  if (this.readyState == 4) {&#xA;    alert('Status: '+this.status+'\nHeaders: '+JSON.stringify(this.getAllResponseHeaders())+'\nBody: '+this.responseText);&#xA;  }&#xA;};&#xA;xhr.send(&quot;{ \n \&quot;domain\&quot;: \&quot;sitecore\&quot;, \n \&quot;username\&quot;: \&quot;admin\&quot;, \n \&quot;password\&quot;: \&quot;b\&quot; \n}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Taken from:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/90/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/90/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2018-06-19T15:13:17.040" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12397" PostTypeId="1" AcceptedAnswerId="12399" CreationDate="2018-06-19T16:30:35.080" Score="5" ViewCount="709" Body="&lt;p&gt;I can't find any docs on this so I assume it's not possible, but...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you run Sitecore in Azure PaaS and have scale-out enabled (e.g. you're running 2x S3 instances) then can you have a shared/centralized cache, much like the Redis Session State cache?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm talking about the built-in &lt;code&gt;item&lt;/code&gt;, &lt;code&gt;data&lt;/code&gt;, &lt;code&gt;prefetch&lt;/code&gt; caches that you can clear from &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt;. &lt;strong&gt;Do these have to be stored in-memory on each instance?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so, it seems a massive performance problem that each time a new instance spins up it will have to re-create all of those caches from scratch when all the other instances have already done the heavy lifting.&lt;/p&gt;&#xA;" OwnerUserId="1417" LastEditorUserId="1417" LastEditDate="2018-06-20T13:38:37.397" LastActivityDate="2018-06-20T13:38:37.397" Title="How to share Sitecore caches (item, data, prefetch,etc NOT session state) on Azure PaaS between Web Apps" Tags="|azure|caching|performance-optimization|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12398" PostTypeId="1" CreationDate="2018-06-19T18:18:15.823" Score="2" ViewCount="345" Body="&lt;p&gt;After installation of the Sitecore Commerce, I got this message, for some reasons the ASPNET 2.1 core is not working for this website&lt;/p&gt;&#xA;&#xA;&lt;p&gt;website : SitecoreIdentityServer , which is also ASPNET core Works&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Application 'MACHINE/WEBROOT/APPHOST/COMMERCEMINIONS_SC9' with physical root 'C:\inetpub\wwwroot\CommerceMinions_Sc9\' created process with commandline 'C:\inetpub\wwwroot\CommerceMinions_Sc9\Sitecore.Commerce.Engine.exe ' but failed to listen on the given port '21614'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9f2DG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9f2DG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="690" LastEditDate="2018-06-20T00:10:06.333" LastActivityDate="2018-06-20T00:10:06.333" Title="Sitecore Commerce website fails to start" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12399" PostTypeId="2" ParentId="12397" CreationDate="2018-06-19T19:17:31.547" Score="3" Body="&lt;p&gt;The answer of your question “Do these have to be stored in-memory on each instance”?  is “&lt;strong&gt;YES&lt;/strong&gt;”&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, All the Sitecore cache (Item, data, Prefetch, html) are stored in the in-memory/In-Proc of the each server(CM,CD).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But technically it’s possible to implement Redis as output cache and stored the in-memory/In-Proc HTML cache into the output/Out-Proc cache(Redis), Sitecore 8.2 has introduced the abstraction for the cache which makes it possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this implementation has its own limitation which could impact the website performance as well; Martin Ivan explained this limitation in detail, please read this thread for more information:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/8512#pi214filter=all&amp;amp;pi214scroll=false&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/8512#pi214filter=all&amp;amp;pi214scroll=false&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="690" LastEditDate="2018-06-19T19:49:34.610" LastActivityDate="2018-06-19T19:49:34.610" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12400" PostTypeId="1" CreationDate="2018-06-19T19:39:52.813" Score="1" ViewCount="106" Body="&lt;p&gt;I am diving into Sitecore rules for Goals.  We have a goal with points, &quot;Download White Paper&quot;.  However I only want that goal to trigger once for a user in a current or subsequent visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have found this oddly worded rule for a goal:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where the specific goal was triggered during a past or current&#xA;  interaction and when the number of elapsed days compares to number and&#xA;  when the past number of interactions compares to number and the custom&#xA;  data compares to value&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Can I use this rule to accomplish what I want to do?&lt;/p&gt;&#xA;" OwnerUserId="3000" LastEditorUserId="690" LastEditDate="2018-06-19T19:59:41.363" LastActivityDate="2018-06-19T19:59:41.363" Title="Is there a way to only allow a site visitor to trigger a goal once?" Tags="|experience-analytics|rules-engine|goals|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12401" PostTypeId="1" CreationDate="2018-06-19T20:14:59.110" Score="1" ViewCount="253" Body="&lt;p&gt;Sitecore 8.2 U6 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been experimenting with the Sitecore stemming analyzer. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.ContentSearch.LuceneProvider.Analyzers.StandardAnalyzerWithStemming&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But it isn't perfect. It has trouble with natural words that end with &lt;code&gt;s&lt;/code&gt;, like Christmas. It just won't find it unless I search for Christma*.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am wondering what other people are doing for pluralized searches in Sitecore. We do not have SOLR in yet. That not on the roadmap for a few months. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-06-19T21:16:00.853" Title="Plural terms and Sitecore lucene" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12402" PostTypeId="1" AcceptedAnswerId="12404" CreationDate="2018-06-19T20:42:29.887" Score="4" ViewCount="455" Body="&lt;p&gt;The use-case for this situation is that I want to use the $name of the item to populate a text field for CSS class. Example:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;bg-$name&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Since this is for a CSS class, I want it to be lowercase, but I'm not sure if this is possible.&lt;/p&gt;&#xA;" OwnerUserId="3838" LastActivityDate="2018-06-19T21:08:13.987" Title="Can I modify Standard Values variables, such as $name, to be all lowercase?" Tags="|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12403" PostTypeId="2" ParentId="12401" CreationDate="2018-06-19T20:59:59.290" Score="4" Body="&lt;p&gt;Depends on how adventurous you feel ;-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What will improve things for you, is if you either upgrade your Lucene version (your Sitecore version ships with Lucene 3.0 or so - you need, as far as I can tell, at least version 4.6).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In there, you will find the &lt;code&gt;EnglishAnalyzer&lt;/code&gt; which is an extension of the Porter Stemming algorithm to handle &quot;English stuff&quot; like English Possessive form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, if you don't feel like upgrading Lucene, maybe you can jimmy it into your solution and use the analyzer anyway. Sources are available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/apache/lucenenet/tree/master/src/Lucene.Net.Analysis.Common/Analysis/En&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/apache/lucenenet/tree/master/src/Lucene.Net.Analysis.Common/Analysis/En&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it's never going to be perfect, or even come close to what SOLR can do. If you're serious about searching - and your question indicates that you are - it's time to trade up on your search technology.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;edited to add&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Leaving all tech in place, you could try experimenting with Fuzzy Searching instead. Performance isn't great in Lucene 3, but it might still get you a bit further.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try searching for &lt;code&gt;Christmas~&lt;/code&gt; and see what kind of results you get.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://lucene.apache.org/core/2_9_4/queryparsersyntax.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Lucene Query Parser Syntax&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://snowball.tartarus.org/texts/introduction.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Snowball: A language for stemming algorithms&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-06-19T21:16:00.853" LastActivityDate="2018-06-19T21:16:00.853" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12404" PostTypeId="2" ParentId="12402" CreationDate="2018-06-19T21:05:08.597" Score="6" Body="&lt;p&gt;Yes, but not OOTB. You would need to roll a custom token. Maybe something like &lt;code&gt;$namelower&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this you would extend the &lt;code&gt;ExpandInitialFieldValueProcessor&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using Sitecore.Pipelines.ExpandInitialFieldValue;&#xA;&#xA;namespace CustomExpandTokenProcessors.Pipelines&#xA;{&#xA;  public class CustomTokenReplacer : ExpandInitialFieldValueProcessor&#xA;  {&#xA;    private const string Token = &quot;$customtoken&quot;;&#xA;&#xA;    public override void Process(ExpandInitialFieldValueArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;      args.Result = args.TargetItem.Name.ToLower();&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can add your own code in there to set the result of the token expansion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you would need to patch this in like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;expandInitialFieldValue&amp;gt;&#xA;        &amp;lt;processor type=&quot;CustomExpandTokenProcessors.Pipelines.MyCustomTokenReplacer, CustomExpandTokenProcessors&quot; patch:after=&quot;processor[@type='type=Sitecore.Pipelines.ExpandInitialFieldValue.ReplaceVariables, Sitecore.Kernel']&quot;/&amp;gt;&#xA;      &amp;lt;/expandInitialFieldValue&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source of all this goodness is @soren.engel (&lt;a href=&quot;https://soen.ghost.io/working-with-custom-tokens-in-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;https://soen.ghost.io/working-with-custom-tokens-in-sitecore/&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-06-19T21:05:08.597" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12407" PostTypeId="1" CreationDate="2018-06-19T23:49:19.320" Score="2" ViewCount="609" Body="&lt;p&gt;The existing project is upgraded from Sitecore 8.0 to Sitecore 9.0u1. After that, I've observed that few renderings are not working. The root cause is, controller rendering datasource query. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If controller rendering datasource has query like &lt;strong&gt;&quot;query:./ancestor-or-self::&lt;em&gt;[@@templatename='AgentWebsite']//&lt;/em&gt;[@@templatename='Site Root']&quot;&lt;/strong&gt;, then it is not hitting the controller action. If I remove the datasource query, it is hitting properly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I observed below warning in log file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2708 00:09:21 WARN  'query:./ancestor-or-self::&lt;em&gt;[@@templatename='AgentWebsite']//&lt;/em&gt;[@@templatename='Site Root']' is not valid datasource for web or user does not have permissions to access.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we convert the above query to make it work on Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="3450" LastEditorUserId="3450" LastEditDate="2018-06-21T01:08:40.320" LastActivityDate="2018-06-23T12:08:35.940" Title="Controller action not called due to rendering datasource containing query:/" Tags="|sitecore-query|datasource|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12410" PostTypeId="1" AcceptedAnswerId="12411" CreationDate="2018-06-20T08:24:07.523" Score="3" ViewCount="575" Body="&lt;p&gt;I have installed Sitecore Commerce 8.2.1 in our DEV environment. The database is in a remote server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we click on the &quot;Add to cart&quot; button it throws these exceptions:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[SQL:block:addlistentities.Exception: The operation is not valid for&#xA;  the state of the transaction.]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[SQL:block:persistentity.Insert.Exception: The operation is not valid&#xA;  for the state of the transaction.]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It works fine on my local system which has the database in the same box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried these steps from &lt;a href=&quot;https://support.resolver.com/hc/en-ca/articles/207161116-Configure-Microsoft-Distributed-Transaction-Coordinator-MSDTC-&quot; rel=&quot;nofollow noreferrer&quot;&gt;article to configure MSDTC&lt;/a&gt; in the application server but without luck.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="2056" LastEditDate="2018-06-20T08:59:11.437" LastActivityDate="2018-06-20T09:16:42.673" Title="Sitecore Commerce - Transactions are not going through when using remote server" Tags="|sitecore-commerce|commerce-engine|commerce-server|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12411" PostTypeId="2" ParentId="12410" CreationDate="2018-06-20T08:41:52.767" Score="2" Body="&lt;p&gt;You have three options here how to resolve this problem:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;If you are not using Azure SQL, Sitecore recommends to turn on MSDTC on all servers. See option a) below.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you are using Azure SQL, you can disable transactions. See option b).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you are using Azure SQL, you have also other option and that it to enable MS Azure SQL databases with Commerce Server. See more information &lt;a href=&quot;https://kb.sitecore.net/articles/002773&quot; rel=&quot;nofollow noreferrer&quot;&gt;in this KB article with title &quot;Running Sitecore Commerce 8.2.1 with Microsoft Azure SQL databases &quot;&lt;/a&gt;. Please note that, as it's stated in the article, &quot;Sitecore currently provides experimental support for Azure SQL and Sitecore Commerce 8.2.1 compatibility&quot;. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You don't need to do any of these options if both SQL Server and Commerce server are on same machine like on your local dev machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;a) Enabling transactions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DTC should be enabled in the security configuration for MSDTC using the Component Services Administrative tool.&#xA;You will need to enable MSDTC on all servers running Commerce Server, as well as the SQL Server unless SQL Server and Commerce Server are running on the same machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To enable DTC, please perform the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Click Start &gt; Run, type dcomcnfg, and then click OK to open Component Services.&lt;/li&gt;&#xA;&lt;li&gt;In the console tree, click to expand Component Services, click to expand Computers, click to expand My Computer, and then click to expand Distributed Transaction Coordinator.&lt;/li&gt;&#xA;&lt;li&gt;Right-click Local DTC, and then click Properties to display the Local DTC Properties dialog box.&lt;/li&gt;&#xA;&lt;li&gt;Click the Security tab.&lt;/li&gt;&#xA;&lt;li&gt;In the Security Settings section, click Network DTC Access.&lt;/li&gt;&#xA;&lt;li&gt;In the Client and Administration section, select Allow Remote Clients and Allow Remote Administration.&lt;/li&gt;&#xA;&lt;li&gt;In the Transaction Manager Communication section, select Allow Inbound and Allow Outbound.&lt;/li&gt;&#xA;&lt;li&gt;In the Transaction Manager Communication section, select Mutual Authentication Required, and select Incoming Caller Authentication Required if you are running MSDTC in a cluster. No Authentication Required is the recommended selection.&lt;/li&gt;&#xA;&lt;li&gt;Select Enable XA Transactions, and then click OK.&lt;/li&gt;&#xA;&lt;li&gt;Repeat steps 1 through 9 on the other Web servers.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Use DTCPing.exe to validate the connection between the Web server and the computer that is running SQL Server or an SQL cluster depending on your configuration. To obtain the DTCPing.exe tool, go to &lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=72166&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=72166&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information about how to troubleshoot MSDTC, go to &#xA;&lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=72203&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=72203&lt;/a&gt;&#xA;&lt;a href=&quot;https://blogs.msdn.microsoft.com/asiatech/2011/03/01/how-to-troubleshoot-msdtc-communication-failure-ii/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/asiatech/2011/03/01/how-to-troubleshoot-msdtc-communication-failure-ii/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, please take a look at the following articles regarding enabling DTC:&#xA;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/dd327979.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/dd327979.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details regarding Microsoft Distributed Transaction Coordinator (MSDTC), please take a look at the following articles:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ms681291.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/ms681291.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://msdn.microsoft.com/en-us/library/ms683623.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-us/library/ms683623.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;b) Disabling transactions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also disable transactions by setting this in json config for COmmerce Engine:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{ &quot;$type&quot;:  &quot;Sitecore.Commerce.Core.TransactionsPolicy, Sitecore.Commerce.Core&quot;,&#xA;     &quot;TransactionalityEnabled&quot;:  false&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-20T09:16:42.673" LastActivityDate="2018-06-20T09:16:42.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12412" PostTypeId="1" AcceptedAnswerId="12653" CreationDate="2018-06-20T08:43:55.677" Score="9" ViewCount="846" Body="&lt;p&gt;After migrating from &lt;code&gt;Sitecore 8.0 update 3&lt;/code&gt; to &lt;code&gt;Sitecore 9 update 1&lt;/code&gt; using Sitecore Express Migration Tool 3.1, I have completed:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rebuild search index&lt;/li&gt;&#xA;&lt;li&gt;Rebuild link databases&lt;/li&gt;&#xA;&lt;li&gt;Deploy marketing definitions&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Profile is migrated to Sitecore 9 too but profile card and pattern card value always show &lt;code&gt;0&lt;/code&gt; although raw value has value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/s2lqG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s2lqG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://i.stack.imgur.com/9NvHT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9NvHT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried updating the Profile Card value and save but it still shows a value of &lt;code&gt;0&lt;/code&gt;.&#xA;I tried creating a new profile and that works fine.&#xA;The item is tracking with this profile can't select profile card although raw value still has value :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qGsTN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qGsTN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/hGxwI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hGxwI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't see any reference item for this profile either. It should be using a lot of items on tracking field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AqQsk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AqQsk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion about this issues?&lt;/p&gt;&#xA;" OwnerUserId="3481" LastEditorUserId="1000" LastEditDate="2018-07-03T17:02:38.620" LastActivityDate="2018-07-03T17:02:38.620" Title="Tracking for profile not working after upgrade" Tags="|upgrade|personalization|experience-profile|express-migration-tool|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12414" PostTypeId="2" ParentId="12377" CreationDate="2018-06-20T10:14:06.247" Score="5" Body="&lt;p&gt;The best option would be to create your own &lt;code&gt;Sitecore.DataExchange.Providers.Sc.Processors.PipelineSteps.ResolveSitecoreItemStepProcessor&lt;/code&gt; class by decompiling (use &lt;code&gt;DotPeek or ILSpy tools&lt;/code&gt;) &lt;code&gt;Sitecore.DataExchange.Providers.Sc.dll&lt;/code&gt; and using this instead of OOTB Processor class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a DoSearch method there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also need to create your own Repository class and your own &lt;code&gt;repository.Search()&lt;/code&gt; method. Don't forget to override also repository class in tenant settings so your class is hit not OOTB one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Buckets are searched differently so you need to use similar code to this one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var bucketItem = Sitecore.Context.Database.GetItem(bucketPath);&#xA;  if (bucketItem != null &amp;amp;&amp;amp; BucketManager.IsBucket(bucketItem))&#xA;  {     &#xA;     using (var searchContext = ContentSearchManager.GetIndex(bucketItem as IIndexable).CreateSearchContext())&#xA;    {&#xA;        var result = searchContext.GetQueryable&amp;lt;SearchResultItem().Where(x =&amp;gt; x.Name == itemName).FirstOrDefault();&#xA;        if(result != null)&#xA;            Context.Item = result.GetItem();&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is also the reason why it is not working for you.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="5387" LastEditDate="2019-07-26T11:36:04.123" LastActivityDate="2019-07-26T11:36:04.123" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12415" PostTypeId="1" AcceptedAnswerId="12419" CreationDate="2018-06-20T10:19:10.933" Score="0" ViewCount="548" Body="&lt;p&gt;I am getting error while inserting a new Tenant in Sitecore 9. I checked the SPE log and found below exception.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #7 15:40:07 ERROR Cannot bind argument to  parameter&#xA;  'TenantTemplateLocation' because it is null.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I tried with all and none selected from the Modules list but every time, I am getting the same result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any pointer would highly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="690" LastEditDate="2018-06-20T11:31:42.750" LastActivityDate="2018-06-20T19:50:59.673" Title="&quot;Cannot bind argument to parameter 'TenantTemplateLocation' because it is null&quot; while inserting new Tenant" Tags="|sxa|powershell|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12416" PostTypeId="2" ParentId="12117" CreationDate="2018-06-20T10:39:25.197" Score="6" Body="&lt;p&gt;I have a chat with the Support guys and looks like they already have a patch for it! It was created for 1.7 but according to them, it's also compatible with 1.7.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the link for the patch: &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.13144/releases/tag/1.7.0.0&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.13144/releases/tag/1.7.0.0&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-20T10:39:25.197" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12418" PostTypeId="2" ParentId="12385" CreationDate="2018-06-20T13:19:23.107" Score="1" Body="&lt;p&gt;I think the problem is with SXA version 1.7 that you have used. Based on requirements from Sitecore it should be 1.6 for Sitecore Commerce 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please install SXA 1.6 instead and &quot;Replace all&quot; when asked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also recommend you to use SQL Server 2016 SP1 instead of SQL Server 2017 as your installation might not be supported by Sitecore Support folks. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;See more information about compatibility here:&#xA;- &lt;a href=&quot;https://kb.sitecore.net/articles/804595&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/804595&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-20T17:22:09.597" LastActivityDate="2018-06-20T17:22:09.597" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12419" PostTypeId="2" ParentId="12415" CreationDate="2018-06-20T13:22:12.177" Score="1" Body="&lt;p&gt;Problem is that you are using SXA version 1.7. Based on requirements from Sitecore it should be 1.6 for Sitecore Commerce 9 that you are using. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please install SXA 1.6 instead and &quot;Replace all&quot; when asked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also recommend you to use SQL Server 2016 SP1 instead of SQL Server 2017 as your installation might not be supported by Sitecore Support folks. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;See more information about compatibility here:&#xA;- &lt;a href=&quot;https://kb.sitecore.net/articles/804595&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/804595&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-20T19:50:59.673" LastActivityDate="2018-06-20T19:50:59.673" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12425" PostTypeId="2" ParentId="9399" CreationDate="2018-06-21T00:57:13.520" Score="2" Body="&lt;p&gt;The checks that we are performing on the recent versions you mentioned are nothing too fancy, there are not health checks for every single fail point possible on a Coveo setup, especially in the on-premises version of the module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why I would say that the best way you can guarantee you are not missing any part is to simply try to create the model on your controller. If it throws an exception you can than do whatever you want, including not render the view.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2018-06-21T00:57:13.520" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12427" PostTypeId="1" CreationDate="2018-06-21T04:02:17.230" Score="1" ViewCount="197" Body="&lt;p&gt;My powershell script fails when I try to run it on the Azure VM.&#xA;The local installation passes successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated :)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; [-------------------------------------------- StartAppPool :&#xA;&amp;gt; ManageAppPool -------------------------------------------]&#xA;&amp;gt; [StartAppPool]:[Start] www.myproj.local.xconnect&#xA;&amp;gt; &#xA;&amp;gt; [-------------------------------------------- StartWebsite :&#xA;&amp;gt; ManageWebsite -------------------------------------------]&#xA;&amp;gt; [StartWebsite]:[Start] www.myproj.local.xconnect&#xA;&amp;gt; ********************** Command start time: 20180620161402&#xA;&amp;gt; ********************** PS&amp;gt;TerminatingError(Start-WebItem): &quot;The running command stopped because the preference variable&#xA;&amp;gt; &quot;ErrorActionPreference&quot; or common parameter is set to Stop: The&#xA;&amp;gt; process cannot access the file because it is being used by another&#xA;&amp;gt; process. (Exception from HRESULT: 0x80070020)&quot; ...&#xA;&amp;gt; Install-SitecoreConfiguration : The process cannot access the file&#xA;&amp;gt; because it is being used by another process. (Exception from HRESULT:&#xA;&amp;gt; 0x80070020) At&#xA;&amp;gt; C:\Projects\myproj.Sitecore.Bedrock\Release\Deployment\Local\myproj-LocalInstall.ps1:63&#xA;&amp;gt; char:1&#xA;&amp;gt; + Install-SitecoreConfiguration @xconnectParams&#xA;&amp;gt; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;&amp;gt;     + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;&amp;gt;     + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2299" LastEditorUserId="2727" LastEditDate="2018-06-21T05:00:17.773" LastActivityDate="2018-06-21T05:00:17.773" Title="Powershell script fails on trying to start website when installing the Sitecore 9.0.1" Tags="|azure|sitecore-install-framework|powershell|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12428" PostTypeId="1" AcceptedAnswerId="13113" CreationDate="2018-06-21T05:59:13.927" Score="4" ViewCount="688" Body="&lt;p&gt;Using Sitecore 9.0.1 and DEF 2.0.1, I have a pipeline which reads from an API and then resolves matching Sitecore items using the standard ResolveSitecoreItemStepProcessor and ResolveSitecoreItemStepConverter&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Locally, this works fine, and if the Sitecore item exists, it is updated rather than a new one created. On our server, duplicate records are created intermittently when the pipeline is run. The issue appears to happen more often when importing large data sets of 1000 records and then sometimes, only for the last 500 records.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #7 05:41:46 DEBUG [Data Exchange] Value converted for search. (pipeline: Experience from Source to Item Sync Pipeline, pipeline step: Resolve Experience Item, pipeline step identifier: 4b865ee9-78f5-49fe-a34e-b595d5d8b426, field: Uuid, original value: a109b95a-8135-4335-a20d-7edef2321a56, converted value: a109b95a-8135-4335-a20d-7edef2321a56)&#xA;ManagedPoolThread #7 05:41:46 DEBUG [Data Exchange] Starting search for item. (pipeline: Experience from Source to Item Sync Pipeline, pipeline step: Resolve Experience Item, pipeline step identifier: 4b865ee9-78f5-49fe-a34e-b595d5d8b426, field: Uuid, value: a109b95a-8135-4335-a20d-7edef2321a56)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;i.e. ResolveSitecoreItemStepProcessor is searching for an item with a Uuid (our custom field) of { a109b95a-8135-4335-a20d-7edef2321a56}. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've decompiled ResolveSitecoreItemStepProcessor and added our own debug. From that, we can see that the search isn't able to find the item in the index even when it exists. Also, when we have a duplicate, if we search in the Content Editor for some content which is duplicated across duplicate items, only one result is found until we re-index via the index manager. It therefore seems to be an indexing issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E7XIA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E7XIA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Iterate Rows from Source and Run Pipeline&quot; in turn calls the &quot; Experience from Source to Item Sync Pipeline&quot; pipeline. We added the &quot;Rebuild Index Pipeline&quot; step to try to address this issue but we still get this issue ..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mNFTA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mNFTA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yxXNH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yxXNH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are considering a number of approaches to fix this including &#xA;1) Using our own implementation of ResolveSitecoreItemStepProcessor that doesn't use the index but looks at the Sitecore tree (might be complex and have unforseen consequences)&#xA;2) Batching the import into smaller chunks (of say 100 records) as this happens only with large data sets&#xA;3) Possibility of turning off indexing during an import (needs research)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, we would identify the root cause of this issue, rather than one of these workarounds ..&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2018-08-01T13:53:28.307" LastActivityDate="2020-05-15T03:38:45.663" Title="Getting duplicate data on server. Indexing issue?" Tags="|indexing|data-exchange-framework|" AnswerCount="4" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12429" PostTypeId="2" ParentId="12428" CreationDate="2018-06-21T06:39:11.353" Score="2" Body="&lt;p&gt;Still think the issue in the indexing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The resolver uses &lt;code&gt;Search&lt;/code&gt; method from &lt;code&gt;InProcItemModelRepository&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual IEnumerable&amp;lt;ItemModel&amp;gt; Search(ItemSearchSettings settings)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Search&lt;/code&gt; tries to get &lt;code&gt;indexname&lt;/code&gt; by &lt;code&gt;databasename&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual string GetSearchIndexNameForDatabase(string databaseName)&#xA;    {&#xA;        return string.Format(&quot;sitecore_{0}_index&quot;, databaseName);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is configuration for &lt;code&gt;IItemModelRepository&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     &amp;lt;dataExchange&amp;gt;&#xA;        ...&#xA;        &amp;lt;itemModelRepository type=&quot;Sitecore.DataExchange.Local.Repositories.InProcItemModelRepository, Sitecore.DataExchange.Local&quot;&amp;gt;&#xA;            &amp;lt;databaseName&amp;gt;master&amp;lt;/databaseName&amp;gt;&#xA;        &amp;lt;/itemModelRepository&amp;gt;&#xA;        ...&#xA;    &amp;lt;/dataExchange&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-06-21T06:39:11.353" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12430" PostTypeId="1" AcceptedAnswerId="12431" CreationDate="2018-06-21T07:07:08.777" Score="4" ViewCount="1573" Body="&lt;p&gt;I need to overwrite/extend the component JavaScript (e.g.: script for the Carousel which is located here &lt;code&gt;/sitecore/media library/Base Themes/Components Theme/Scripts/component-carousel&lt;/code&gt;) files to add additional requirements or improve accessibility.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best practice to do that in SXA?&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-21T07:07:08.777" Title="How to extend SXA components scripts?" Tags="|sxa|javascript|components|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12431" PostTypeId="2" ParentId="12430" CreationDate="2018-06-21T07:07:08.777" Score="2" Body="&lt;p&gt;Starting form SXA 1.7 we've added an option to extend the component's script and we are using it also in the SXA to change the behaviour of few components in the Edit mode. You can create new Theme which will be extending our scripts or include those scripts in your current theme.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how this is done in SXA. Navigate to &lt;code&gt;/sitecore/media library/Base Themes&lt;/code&gt; and you should see similar structure:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ACxSS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ACxSS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, we use JavaScript decoration to extend component's scripts. Here is a content (trimmed a little bit) of &lt;code&gt;/sitecore/media library/Base Themes/Editing Components/Scripts/component-carousel-edit&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XA.component.carousels &amp;amp;&amp;amp; XA.component.carousels.initInstance &amp;amp;&amp;amp; (XA.component.carousels.initInstance = (function (func, $) {&#xA;&#xA;    var disableEmptySlides = function(component) {&#xA;        // custom logic which is disabling empty slides in the Edit mode for the Carousel&#xA;    }&#xA;&#xA;    var beforeInitScript = function (component, prop) {&#xA;        // code which will be run before initialization of the rendering&#xA;    }&#xA;&#xA;    var afterInitScript = function (component) {&#xA;        // script which will be used after the component has been initialized in the original script&#xA;        $(document).ready(function() {&#xA;            disableEmptySlides(component);&#xA;       });      &#xA;    }&#xA;&#xA;    return function (component, prop) {&#xA;        try {&#xA;            var _prop = beforeInitScript(component, prop);&#xA;        } catch (e) {&#xA;            console.log(e)&#xA;        }&#xA;&#xA;        var answer = func.apply(this, [component,_prop]);&#xA;&#xA;        try {&#xA;            afterInitScript(component);&#xA;        } catch (e) {&#xA;            console.log(e)&#xA;        }&#xA;&#xA;        return answer;&#xA;    }&#xA;&#xA;})(XA.component.carousels.initInstance, jQuery))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, in general, we have a pattern to use &lt;code&gt;beforeInitScript()&lt;/code&gt; and &lt;code&gt;afterInitScript()&lt;/code&gt; and in that way, we are extending original script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Editing Components theme is added as one of base themes of &lt;code&gt;/sitecore/media library/Themes/YOUR_TENANT/YOUR_SITE/Editing Theme&lt;/code&gt; base theme.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-21T07:07:08.777" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12433" PostTypeId="1" AcceptedAnswerId="12496" CreationDate="2018-06-21T08:04:45.497" Score="4" ViewCount="488" Body="&lt;p&gt;I have completed the Sitecore Commerce 8.2.1 setup. When I try to register a user on the live site, it shows this error on page:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Failed to persist profile to underlying stores&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have verified the columns of the &lt;code&gt;UserObject&lt;/code&gt; table in the &lt;code&gt;Profiles&lt;/code&gt; database with that of a working environment. They are the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I check the &lt;code&gt;User Manager&lt;/code&gt; in the CMS, the new user details are displayed there, but they are not present in the &lt;code&gt;Customer &amp;amp; Order Manager&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;7296 15:33:39 ERROR Register failed&#xA;Exception: CommerceServer.Core.Runtime.Profiles.CommerceProfileSystemException&#xA;Message: Failed to persist profile to underlying stores.&#xA;Source: CommerceServer.Core.Runtime&#xA;   at CommerceServer.Core.Runtime.Profiles.Profile.Update()&#xA;   at Sitecore.Commerce.Connect.CommerceServer.Profiles.CommerceServerProfileProvider.GetUserProfile(String userName)&#xA;   at Sitecore.Commerce.Connect.CommerceServer.Profiles.CommerceServerProfileProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection)&#xA;   at Sitecore.Security.SwitchingProfileProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection)&#xA;   at System.Configuration.SettingsBase.SaveCore()&#xA;   at System.Configuration.SettingsBase.Save()&#xA;   at System.Web.Profile.ProfileBase.SaveWithAssert()&#xA;   at System.Web.Profile.ProfileBase.Save()&#xA;   at Sitecore.Security.UserProfile.Save()&#xA;   at Sitecore.Security.SecurityUtil.SetUserDigestCredentials(User user, String credentials, String credentialsWithoutDomain)&#xA;   at Sitecore.Security.SitecoreMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus&amp;amp; status)&#xA;   at System.Web.Security.Membership.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus&amp;amp; status)&#xA;   at System.Web.Security.Membership.CreateUser(String username, String password, String email)&#xA;   at Sitecore.Security.Accounts.User.Create(String userName, String password)&#xA;   at Sitecore.Commerce.Data.Customers.SitecoreUserRepository.Create(CommerceUser entity, String password)&#xA;   at Sitecore.Commerce.Pipelines.Customers.CreateUser.CreateUserInSitecore.CreateUser(CreateUserRequest request, CreateUserResult result)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Commerce.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Commerce.Services.ServiceProvider.RunPipeline[TRequest,TResult](String pipelineName, TRequest request)&#xA;   at Sitecore.Foundation.Commerce.Website.Managers.AccountManager.RegisterUser(RegisterUserInputModel inputModel) in D:\Projects\External\TARH\Code\DCRMarketing\sitecore.demo.retail\src\Foundation\Commerce\Website\Sitecore.Foundation.Commerce.Website\Managers\AccountManager.cs:line 250&#xA;   at Sitecore.Feature.Commerce.Customers.Website.Controllers.CustomersController.Register(RegisterUserInputModel inputModel) in D:\Projects\External\TARH\Code\DCRMarketing\sitecore.demo.retail\src\Feature\Customers\Website\Sitecore.Feature.Commerce.Customers.Website\Controllers\CustomersController.cs:line 190&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Runtime.InteropServices.COMException&#xA;Message: Exception from HRESULT: 0x80040E2F&#xA;Source: CommerceServer.Core.Interop&#xA;   at CommerceServer.Core.Interop.Profiles.IProfileObject2.Update()&#xA;   at CommerceServer.Core.Runtime.Profiles.Profile.Update()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2018-06-21T09:50:13.963" LastActivityDate="2018-06-25T09:53:51.800" Title="Failed to persist profile to underlying stores" Tags="|sitecore-commerce|commerce-engine|commerce-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12434" PostTypeId="1" CreationDate="2018-06-21T08:45:06.787" Score="3" ViewCount="135" Body="&lt;p&gt;I want to share authority to read content with another system.&#xA;When contents are published to the public site, we create processing to output the data to the database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to catch only if you include a change in the &lt;code&gt;__Security&lt;/code&gt; field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was possible to catch the item updated by the &lt;code&gt;item:saved&lt;/code&gt; event.&#xA;I am in trouble because I do not know which field was changed.&lt;/p&gt;&#xA;" OwnerUserId="3869" LastEditorUserId="277" LastEditDate="2018-06-21T08:51:40.093" LastActivityDate="2018-06-21T08:51:40.093" Title="How to catch whether the item's __Security field is a modified publish" Tags="|security|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12435" PostTypeId="2" ParentId="12434" CreationDate="2018-06-21T08:49:21.247" Score="2" Body="&lt;p&gt;You can use &lt;code&gt;item:saving&lt;/code&gt; event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can compare the original and the new item there, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private static List&amp;lt;string&amp;gt; FindDifferences(Item newItem, Item originalItem)&#xA;{&#xA;    newItem.Fields.ReadAll();&#xA;&#xA;    IEnumerable&amp;lt;string&amp;gt; fieldNames = newItem.Fields.Select(f =&amp;gt; f.Name);&#xA;&#xA;    return fieldNames&#xA;        .Where(fieldName =&amp;gt; newItem[fieldName] != originalItem[fieldName])&#xA;        .ToList();&#xA;}&#xA;&#xA;protected void OnItemSaving(object sender, EventArgs args)&#xA;{&#xA;  Item newItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;  if (newItem == null || newItem.Database.DataManager.GetWorkflowInfo(newItem) == null)&#xA;  {&#xA;    return;&#xA;  }&#xA;&#xA;  Item originalItem = &#xA;    newItem.Database.GetItem(newItem.ID, newItem.Language, newItem.Version);&#xA;&#xA;  var differences = FindDifferences(newItem, originalItem);&#xA;&#xA;  // your code here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and register&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;events&amp;gt;&#xA;    &amp;lt;event name=&quot;item:saving&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;My.Assembly.Namespace.MyEventHandler,&#xA;        My.Assembly&quot; method=&quot;OnItemSaving&quot; /&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;  &amp;lt;/events&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please be aware that in some cases saving of the item can be intercepted so not necessarily your changes will be saved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Long time ago I wrote a blog post about tracking history of item changes &lt;a href=&quot;https://www.cognifide.com/our-blogs/sitecore/tracking-history-of-item-fields-changes-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.cognifide.com/our-blogs/sitecore/tracking-history-of-item-fields-changes-in-sitecore&lt;/a&gt; - I copied code from there.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-06-21T08:49:21.247" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12436" PostTypeId="1" CreationDate="2018-06-21T09:02:15.107" Score="1" ViewCount="200" Body="&lt;p&gt;I tried to install Sitecore Commerce using PowerShell script but I got the error that resource is not found for Sitecore PowerShell Extensions 4.7.2 although I have this zip package for Sitecore 9 version. Check my PowerShell output:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cUGQj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cUGQj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me to solve this issue?&lt;/p&gt;&#xA;" OwnerUserId="3570" LastEditorUserId="690" LastEditDate="2018-06-21T09:39:12.487" LastActivityDate="2018-06-21T09:39:12.487" Title="Sitecore Commerce 9 Update 1 Installation Issue with SPE 4.7.2" Tags="|powershell-extensions|sitecore-commerce|powershell|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12439" PostTypeId="1" CreationDate="2018-06-21T10:57:05.763" Score="0" ViewCount="427" Body="&lt;p&gt;One item with its children got deleted from the master database on my production environment. after installing the backup databases I found that the item was last presented on the 19th June and I'm trying to find out how it got deleted. I checked history table,PublishQueue table and WorkFlow History table and found nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last operation on that item was done on 14th June with the Saving Event. I also tried reviewing logs in between the time but didn't find anything related to that Item Id. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything I can try to find out the cause of deletion of that item? &lt;/p&gt;&#xA;" OwnerUserId="3379" LastEditorUserId="73" LastEditDate="2018-06-21T11:50:53.173" LastActivityDate="2018-06-21T19:25:31.270" Title="Item with children got deleted from master database" Tags="|content-management|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12440" PostTypeId="2" ParentId="12301" CreationDate="2018-06-21T11:15:30.040" Score="1" Body="&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;First of all you need to create all certificates by your own. Here its good to install sitecore on a Windows 10 so that you see which certificates you need.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I had to use makecert when you want to create the certifiactes on your windows 8.1 oder Windows Server 2012R2&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;then you need to search in your SIF config files after &quot;DO_NOT_TRUST&quot; and replace this string with your own prefix or with a clear string&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;you need the thumbprint from your own &quot;root&quot; certificat and you need to replace the &quot;DefaultValue&quot; from &quot;RootCertFileName&quot; Parameter Replace the &quot;SitecoreRootCert&quot; with your Thumbrpint from your Root certificate&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;when you have created all certificates with the right name in the right place then the installation should run without any errors. Because sitecore does not try to create any certificate because they all exist and so you get no errors from the sitecore scripts that they can't find signer and ....&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-06-21T11:15:30.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12441" PostTypeId="1" AcceptedAnswerId="12442" CreationDate="2018-06-21T11:25:58.900" Score="0" ViewCount="1137" Body="&lt;p&gt;I'm getting the following error while performing Sitecore content search:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Could not resolve type name:&#xA;  Sitecore.Support.ContentSearch.Client.Pipelines.Search.SearchContentSearchIndex,&#xA;  Sitecore.Support.181761 (method:&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode&#xA;  configNode, String[] parameters, Boolean assert)).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have performed the following activities before posting this question here:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Checked the Log file and could not find any specific details apart from the error description.&lt;/li&gt;&#xA;&lt;li&gt;Checked by Rebuilding the indexes and all indexes are running fine after performing rebuild indexes.&lt;/li&gt;&#xA;&lt;li&gt;Tried to follow the suggestion as mentioned in the below sitecore stack exchange link but could not find the particular type name &quot;Sitecore.Support.ContentSearch.Client.Pipelines.Search.SearchContentSearchIndex&quot; in both Web.config as well as &quot;Sitecore.ContentSearch.config as well:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/10583/could-not-resolve-type-name-error-while-performing-search-in-sitecore-in-content&quot;&gt;Could not resolve type name error while performing search in Sitecore in Content tree&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anybody please provide your suggestions/inputs on this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks and Regards&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Vijayarajan Venkateswaran&lt;/p&gt;&#xA;" OwnerUserId="3487" LastEditorUserId="73" LastEditDate="2018-06-21T11:47:40.147" LastActivityDate="2018-06-21T11:47:40.147" Title="Sitecore Content Search is not working in the Content Editor" Tags="|content-search|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12442" PostTypeId="2" ParentId="12441" CreationDate="2018-06-21T11:30:33.587" Score="3" Body="&lt;p&gt;Your exception clearly states that it cannot find &lt;code&gt;Sitecore.Support.ContentSearch.Client.Pipelines.Search.SearchContentSearchIndex, Sitecore.Support.181761&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It means you have a config file which points at the &lt;code&gt;Sitecore.Support.ContentSearch.Client.Pipelines.Search.SearchContentSearchIndex&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to have &lt;code&gt;Sitecore.Support.181761.dll&lt;/code&gt; in your bin folder or remove the config.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-06-21T11:30:33.587" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12443" PostTypeId="2" ParentId="12439" CreationDate="2018-06-21T13:44:54.077" Score="1" Body="&lt;h3&gt;No&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Short answer is no. If it's not in your log files, there is nowhere else you could look. It would get logged to the regular logfiles, and it should probaly show up in your History tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of this is difficult to fix AFTER it has happened however.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your situation and the answer is the same, as given here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3822/could-it-possible-to-find-out-who-changed-sitecore-password-through-sitecore-log/3823#3823&quot;&gt;Could it possible to find out who changed sitecore password through sitecore logs or db?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-06-21T19:25:31.270" LastActivityDate="2018-06-21T19:25:31.270" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12444" PostTypeId="1" AcceptedAnswerId="12465" CreationDate="2018-06-21T13:45:36.007" Score="1" ViewCount="1937" Body="&lt;p&gt;As explained in the official Sitecore documentation, I'm using the following block of code to login into the Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;module.exports = function (context, req) {&#xA;var XMLHttpRequest = require(&quot;xmlhttprequest&quot;).XMLHttpRequest;&#xA;var xhr = new XMLHttpRequest();&#xA;&#xA;xhr.onreadystatechange = function () {&#xA;        /*context.log('ReadyState='+this.readyState);&#xA;        if(this.readyState === 4 &amp;amp;&amp;amp; this.status === 200) {&#xA;        context.log('Response='+this.responseText);&#xA;        }*/&#xA;&#xA;};&#xA;&#xA;xhr.open(&quot;POST&quot;, &quot;https://content-XXXXX.com/sitecore/api/ssc/auth/login&quot;,true);&#xA;xhr.setRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;);&#xA;xhr.send('{&quot;domain&quot;:&quot;sitecore&quot;,&quot;username&quot;:&quot;XXXXX&quot;,&quot;password&quot;:&quot;XXXXXX&quot;}');&#xA;&#xA;    context.done();&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The request sends back a token to inform the authentication succeeded, but the documentation does not explain how to use it to send another POST request, for example to creating an item in the content tree.&#xA;How should I use it ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;xhr2.open(&quot;POST&quot;, &quot;https://content-XXXXXXXXX/sitecore/api/ssc/item/sitecore%2Fcontent%2Fhome&quot;,true);&#xA;xhr2.setRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;); &amp;lt;-- TOKEN HERE ?&#xA;xhr2.send('{&quot;ItemName&quot;: &quot;MyTest&quot;,&quot;TemplateID&quot;:&quot;XXXXXXXXX&quot;,&quot;Title&quot;:&quot;Sitecore&quot;,&quot;Text&quot;:&quot;MyTestText&quot;}');&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance for your help&lt;/p&gt;&#xA;" OwnerUserId="2278" LastEditorUserId="690" LastEditDate="2018-06-21T13:59:25.993" LastActivityDate="2018-06-22T09:19:45.900" Title="How to use Authenticated request with the Sitecore RESTful API" Tags="|sitecore-api|webapi|authentication|post|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12445" PostTypeId="2" ParentId="3945" CreationDate="2018-06-21T14:07:29.823" Score="2" Body="&lt;p&gt;I had this error come up on the &lt;code&gt;sitecore_marketingdefinitions_web&lt;/code&gt; during an upgrade from 8.2.2 to 9.0.1. What worked for me was doing a Smart Publish on the site, then trying to rebuild of that index. The rebuild was successful after that change.&lt;/p&gt;&#xA;" OwnerUserId="3873" LastEditorUserId="1671" LastEditDate="2018-06-21T14:28:58.023" LastActivityDate="2018-06-21T14:28:58.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12448" PostTypeId="1" CreationDate="2018-06-21T17:56:45.180" Score="1" ViewCount="939" Body="&lt;p&gt;Extending reference Question :&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2362/does-sxa-support-page-specific-content-with-partial-design&quot;&gt;Does SXA support page specific content with Partial Design?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added a navigation and page content in partial design.&#xA;The page content is having page content and some other inherited information rendered using rendering variants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I have a common design, I am trying to have a common design, but the page content fields are not editable in page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know, if any one have any work around or any sitecore settings with which, I can edit the components from partial design in page.&lt;/p&gt;&#xA;" OwnerUserId="3451" LastActivityDate="2018-06-21T18:15:34.197" Title="SXA Component in partial design is not editable in page" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12449" PostTypeId="2" ParentId="12448" CreationDate="2018-06-21T18:15:34.197" Score="3" Body="&lt;p&gt;You should be able to change &lt;strong&gt;content&lt;/strong&gt; exposed by renderings placed on partial design but &lt;strong&gt;not renderings&lt;/strong&gt; by itself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason for that is fact that those renderings definitions are stored in partial design, not page. During runtime, they are just copied to the page presentation and bound with proper context item. So this is a bit different behavior than presentation inheritance via Standard Values in vanilla Sitecore. So if you would like to change something per page you would have to copy a whole presentation from partial, edit it and then not use partial anymore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how it works and this is expected behavior. The question is why would you want to use partial designs and change renderings at the same time (if you want to have 'common design').&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you describe your case I could help you with some &quot;hacks&quot;.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-06-21T18:15:34.197" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12450" PostTypeId="1" CreationDate="2018-06-21T18:20:44.750" Score="2" ViewCount="551" Body="&lt;p&gt;Is there a way to set a minimum and max amount of components that can be inserted into a Dynamic Placeholder in Sitecore 9? There is a count and maxCount for the amount of placeholders that can be set as a parameter but what I am hoping is that there is out of the box functionality to accommodate this request when a client only wants a Content Author to be allowed to add 2 to the placeholder.&lt;/p&gt;&#xA;" OwnerUserId="475" LastEditorUserId="690" LastEditDate="2018-06-21T22:55:12.927" LastActivityDate="2018-06-21T22:55:12.927" Title="Max number of components in a Dynamic Placeholder with Sitecore 9" Tags="|placeholders|dynamic-placeholder|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12453" PostTypeId="1" AcceptedAnswerId="12454" CreationDate="2018-06-22T01:14:24.420" Score="13" ViewCount="3133" Body="&lt;p&gt;The log for my IndexWorker is filling up with the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Tokens are incompatible, they have different set of shards&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any ideas what might be causing this?&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2019-06-20T00:22:39.233" Title="XConnect IndexWorker error &quot;Tokens are incompatible, they have different set of shards.&quot;" Tags="|xconnect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12454" PostTypeId="2" ParentId="12453" CreationDate="2018-06-22T01:14:38.400" Score="28" Body="&lt;p&gt;Credit to &lt;a href=&quot;https://sitecore.stackexchange.com/users/269/rob-earlam&quot;&gt;Rob Earlam&lt;/a&gt; for helping me find the solution to this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially, information about the shard databases is stored in the xdb index. If either the server or database name of your shards changes, this will result in this error being logged. In my case, we had cloned (what was now) &quot;production&quot; to be the new &quot;UAT&quot; but the index still referred to the production database server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To confirm if this is indeed your problem, you can do the following (skip ahead if you're already sure):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Solr, query the &lt;code&gt;Sitecore_xdb&lt;/code&gt; index for &lt;code&gt;id:xdb-index-token&lt;/code&gt;. Next, copy the &lt;code&gt;xdbtokenbytes_s&lt;/code&gt; value and provide it to the following PowerShell script:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/richardszalay/93b7c03e7e92c26ffab09693750c9811&quot; rel=&quot;noreferrer&quot;&gt;ConvertFrom-XdbIndexToken.ps1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;param(&#xA;    [string]$Token = (Read-Host &quot;Enter xdbtokenbytes_s value&quot;)&#xA;)&#xA;&#xA;$bytes = [Convert]::FromBase64String($Token)&#xA;$ms = [System.IO.MemoryStream]::new($bytes, 0, $bytes.Length)&#xA;$bf = [System.Runtime.Serialization.Formatters.Binary.BinaryFormatter]::new()&#xA;$dict = $bf.Deserialize($ms);&#xA;&#xA;Write-Output $dict&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It will output something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[DataSource=DBSERVERNAME Database=Sitecore_Xdb.Collection.Shard0] - 1739&#xA;[DataSource=DBSERVERNAME Database=Sitecore_Xdb.Collection.Shard1] - 1349&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the indexed values don't match the actual db Server/Database, you'll need to rebuild the XDB index. There is &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-solr-index.html&quot; rel=&quot;noreferrer&quot;&gt;documentation available on how to do this&lt;/a&gt;, but it will usually boil down to running the following on your xconnect server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XConnectSearchIndexer.exe -requestrebuild&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Original C# version&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If PowerShell isn't an option, here's the equivalent in C#. Run it in a console app (or via a service like &lt;a href=&quot;https://dotnetfiddle.net/&quot; rel=&quot;noreferrer&quot;&gt;.NET Fiddle&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.IO;&#xA;&#xA;public class Program&#xA;{&#xA;    public static void Main()&#xA;    {&#xA;        var s = &quot;TOKEN_HERE&quot;;&#xA;        byte[] bytes = Convert.FromBase64String(s);&#xA;        using (var rs = new MemoryStream(bytes, 0, bytes.Length))&#xA;        {&#xA;            var sf = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();&#xA;            var o = sf.Deserialize(rs) as Dictionary&amp;lt;string, long?&amp;gt;;&#xA;            foreach(var kvp in o)&#xA;            {&#xA;                Console.WriteLine($&quot;{kvp.Key} - {kvp.Value}&quot;);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1173" LastEditorUserId="1173" LastEditDate="2019-06-20T00:22:39.233" LastActivityDate="2019-06-20T00:22:39.233" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12455" PostTypeId="1" AcceptedAnswerId="12456" CreationDate="2018-06-22T06:01:46.203" Score="4" ViewCount="142" Body="&lt;p&gt;Has anyone implemented a feature like Reversed Insert Options? Meaning a template should know where it should be added as an Insert Option rather than what it can add?&lt;/p&gt;&#xA;" OwnerUserId="2649" LastActivityDate="2018-06-22T06:21:23.693" Title="Reversed Insert Options" Tags="|best-practices|templates|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12456" PostTypeId="2" ParentId="12455" CreationDate="2018-06-22T06:21:23.693" Score="4" Body="&lt;p&gt;You can implement such a functionality in next way: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a base template with a field Revert Insert Options. The type of the field is TreeListEx and datasource will be: &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;DataSource=/sitecore/templates&amp;amp;IncludeTemplatesForSelection=Template,Branch,Command&#xA;  Template&amp;amp;IncludeTemplatesForDisplay=Branch folder,Branch,Template&#xA;  folder,Template,Folder,Node,Main section,Command&#xA;  Template&amp;amp;ExcludeItemsForDisplay={0DE95AE4-41AB-4D01-9EB0-67441B7C2450},{EB2E4FFD-2761-4653-B052-26A64D385227},{3D6658D8-A0BF-4E75-B3E2-D050FABCF4E1},{13D6D6C6-C50B-4BBD-B331-2B04F1A58F21} &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is the datasource for insert options field, you will have something similar.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;All your new templates will inherit from this base template.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create an event and add it to item:saved events. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this event you will implement next functionality: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) Verify if the saved event was trigger on a template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) Verify if the Revert Insert Options field has templates selected. If it has parse the templates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;c) Check if the selected templates has Standard Values. If it doesn't exist create Standard Values programatically. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;d) Add in the __Masters field (this field is responsable for insert option) the template from step &quot;a&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-06-22T06:21:23.693" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12457" PostTypeId="1" CreationDate="2018-06-22T06:35:05.307" Score="5" ViewCount="5453" Body="&lt;p&gt;At the time of installing Sitecore 9 by using SIFLess-EZ Power-shell script, the below error is obtained.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROVIDER &quot;.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;IN Dev m/c I have VS 2013, 2015 and 2017 insatlled with .NET v4.7&#xA;SQL Server:- 2016 and 2012.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I referred  blog &quot;&lt;a href=&quot;https://naveed-ahmad.com/2017/11/03/sitecore-9-sif-installation-error-error_scriptdom_needed_for_sql_provider/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://naveed-ahmad.com/2017/11/03/sitecore-9-sif-installation-error-error_scriptdom_needed_for_sql_provider/&lt;/a&gt;&quot; but still same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fdvH4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fdvH4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy&#xA;  V3\msdeploy.exe msdeploy.exe : Error Code:&#xA;  ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROVIDER At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-CommandTask.ps1:31&#xA;  char:13&#xA;  +             &amp;amp; $Path $Arguments | Out-Default&#xA;  +             ~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (Error Code: ERR...OR_SQL_PROVIDER:String) [], RemoteException&#xA;      + FullyQualifiedErrorId : NativeCommandError msdeploy.exe : Error Code: ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROVIDER At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-CommandTask.ps1:31&#xA;  char:13&#xA;  +             &amp;amp; $Path $Arguments | Out-Default&#xA;  +             ~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (Error Code: ERR...OR_SQL_PROVIDER:String) [], RemoteException&#xA;      + FullyQualifiedErrorId : NativeCommandError&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;More Information: The SQL provider cannot run because of a missing&#xA;  dependency. Please make sure that Microsoft SQL  Server Transact-SQL&#xA;  ScriptDom is installed.  Learn more at: &#xA;  &lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROV&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROV&lt;/a&gt;&#xA;  More Information: The SQL provider cannot run because of a missing&#xA;  dependency. Please make sure that Microsoft SQL Server Transact-SQL&#xA;  ScriptDom is installed.  Learn more at:&#xA;  &lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROV&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROV&lt;/a&gt;&#xA;  IDER. IDER.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Error count: 1. Error count: 1.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="605" LastEditDate="2018-09-12T14:50:17.573" LastActivityDate="2019-02-20T09:23:35.710" Title="SIFLess installation error &quot;ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROVIDER" Tags="|sitecore-install-framework|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12458" PostTypeId="1" CreationDate="2018-06-22T07:29:12.647" Score="4" ViewCount="209" Body="&lt;p&gt;I am working on Sitecore Commerce 9 and using Sitecore commerce customer for storing customer information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While customer registration, I would like to save few more information about the customer. Can somebody help in extending Sitecore Commerce Customer?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="73" LastEditDate="2018-06-22T08:00:49.437" LastActivityDate="2018-06-27T03:58:28.667" Title="Extend customer information" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12459" PostTypeId="1" AcceptedAnswerId="12466" CreationDate="2018-06-22T07:44:47.190" Score="5" ViewCount="6579" Body="&lt;p&gt;I am working on Sitecore project and using 301 redirect for our website. Right now our redirect chain is&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://example.com/&quot; rel=&quot;noreferrer&quot;&gt;http://example.com/&lt;/a&gt; &gt;&gt; &lt;a href=&quot;http://www.example.com&quot; rel=&quot;noreferrer&quot;&gt;http://www.example.com&lt;/a&gt; &gt;&gt; &lt;a href=&quot;https://www.example.com&quot; rel=&quot;noreferrer&quot;&gt;https://www.example.com&lt;/a&gt; &gt;&gt; &lt;a href=&quot;https://www.example.com/en&quot; rel=&quot;noreferrer&quot;&gt;https://www.example.com/en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our company recommendation is to change it in one redirect Example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://example.com/&quot; rel=&quot;noreferrer&quot;&gt;http://example.com/&lt;/a&gt; &gt;&gt; &lt;a href=&quot;https://www.example.com/en&quot; rel=&quot;noreferrer&quot;&gt;https://www.example.com/en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.example.com&quot; rel=&quot;noreferrer&quot;&gt;http://www.example.com&lt;/a&gt; &gt;&gt; &lt;a href=&quot;https://www.example.com/en&quot; rel=&quot;noreferrer&quot;&gt;https://www.example.com/en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.example.com&quot; rel=&quot;noreferrer&quot;&gt;https://www.example.com&lt;/a&gt; &gt;&gt; &lt;a href=&quot;https://www.example.com/en&quot; rel=&quot;noreferrer&quot;&gt;https://www.example.com/en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way that I can achieve this requirement with Sitecore or IIS URL Rewrite? If yes then How? Thank you for any small help.&lt;/p&gt;&#xA;" OwnerUserId="3579" LastEditorUserId="690" LastEditDate="2018-06-22T10:12:26.757" LastActivityDate="2020-10-19T13:56:26.730" Title="Sitecore 301 Redirect or IIS URL Rewrite" Tags="|iis|redirect|url-rewrite|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12460" PostTypeId="2" ParentId="12457" CreationDate="2018-06-22T07:52:01.030" Score="1" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/us7AN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/us7AN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works after running the CMD as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;%ProgramFiles(x86)%\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\gacutil&quot; /i &quot;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\140\Microsoft.SqlServer.TransactSql.ScriptDom.dll&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This registers the &lt;code&gt;Microsoft.SqlServer.TransactSql.ScriptDom.dll&lt;/code&gt; in Global Assembly Cache (GAC)&lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="172" LastEditDate="2018-09-12T13:28:26.283" LastActivityDate="2018-09-12T13:28:26.283" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12461" PostTypeId="2" ParentId="12407" CreationDate="2018-06-22T07:59:34.690" Score="2" Body="&lt;p&gt;Your query isn't wrong. And you don't need to change it for 9.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You've not shared your configuration nor your stack traces or anything else that might help, but my best guess is this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your 8.0 solution, you had implemented &lt;a href=&quot;http://www.sitecoreexperts.com/2015/01/queryable-data-source-in-sitecore-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Queryable Datasources&lt;/a&gt;. Out of the box, your query is not supported on either Sitecore 8 or Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And then I assume, this has not been noticed in the upgrade process and has therefore not been moved across to your Sitecore 9 installation. Move it, and your query should work as before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;on a side note&lt;/em&gt;: It looks like your query is designed to get the Site Root item of the current site you are on. There are &lt;em&gt;far&lt;/em&gt; better ways of doing that, than via Sitecore Query. Just saying :-)&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-06-22T07:59:34.690" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12462" PostTypeId="2" ParentId="12459" CreationDate="2018-06-22T08:07:22.173" Score="9" Body="&lt;p&gt;Well in any case you will have to bind example.com as well as www.example.com on your website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next you have multiple options. Either use IIS Rewrite rules.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Root Hit Force HTTPS Redirection&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;^$&quot; ignoreCase=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;conditions&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot; /&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot; /&amp;gt;&#xA;  &amp;lt;/conditions&amp;gt;&#xA;  &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and for www redirection&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Redirect example.com to www&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;^(.*)&quot; /&amp;gt;&#xA;  &amp;lt;conditions&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;^example\.com$&quot; /&amp;gt;&#xA;  &amp;lt;/conditions&amp;gt;&#xA;  &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://www.example.com/{R:0}&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another possibility is to use the redirect module that comes with SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And finally, you could use something from the marketplace.&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/3/301_Redirect_module.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/3/301_Redirect_module.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-22T08:07:22.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12463" PostTypeId="2" ParentId="12459" CreationDate="2018-06-22T08:13:44.293" Score="1" Body="&lt;p&gt;You can write your own re-write rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is not related to the Sitecore. If you want to handle inside the Sitecore, you have to use rewrite rule module available on the Sitecore Marketplace. &lt;/p&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2018-06-22T08:13:44.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12465" PostTypeId="2" ParentId="12444" CreationDate="2018-06-22T09:19:45.900" Score="2" Body="&lt;p&gt;You need to pass the token (received in the first request) in the header like:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;xhr2.setRequestHeader('token', val);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="88" LastActivityDate="2018-06-22T09:19:45.900" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12466" PostTypeId="2" ParentId="12459" CreationDate="2018-06-22T10:22:47.670" Score="7" Body="&lt;p&gt;&lt;strong&gt;Yes&lt;/strong&gt;, You can achieve this requirement through Sitecore 301 Redirect Module or IIS URL Rewrite both.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Paste the below Code inside your &lt;code&gt;&amp;lt;system.webServer&amp;gt;&amp;lt;/system.webServer&amp;gt;&lt;/code&gt; element in the web.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rewrite&amp;gt;&#xA;  &amp;lt;rules&amp;gt;&#xA;    &amp;lt;rule name=&quot;Redirect Maps Rule&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;.*&quot; /&amp;gt;&#xA;      &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{StaticRedirects:{PATH_INFO}}&quot; pattern=&quot;(.+)&quot; /&amp;gt;&#xA;      &amp;lt;/conditions&amp;gt;&#xA;      &amp;lt;action type=&quot;Redirect&quot; url=&quot;{C:1}&quot; appendQueryString=&quot;True&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;  &amp;lt;/rules&amp;gt;&#xA;  &amp;lt;rewriteMaps&amp;gt;&#xA;    &amp;lt;rewriteMap name=&quot;StaticRedirects&quot;&amp;gt;&#xA;      &amp;lt;add key=&quot;http://example.com&quot; value=&quot;https://www.example.com/en&quot; /&amp;gt;&#xA;&amp;lt;add key=&quot;http://www.example.com&quot; value=&quot;https://www.example.com/en&quot; /&amp;gt;&#xA;&amp;lt;add key=&quot;https://www.example.com&quot; value=&quot;https://www.example.com/en&quot; /&amp;gt;&#xA;&#xA;    &amp;lt;/rewriteMap&amp;gt;&#xA;  &amp;lt;/rewriteMaps&amp;gt;&#xA;&amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is the link, from where you can easily generate the IIS 301 redirection rules online :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://iis7-rewrite.herokuapp.com&quot; rel=&quot;noreferrer&quot;&gt;http://iis7-rewrite.herokuapp.com&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this will help you.&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="690" LastEditDate="2018-06-22T15:02:59.550" LastActivityDate="2018-06-22T15:02:59.550" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12467" PostTypeId="1" CreationDate="2018-06-22T13:31:52.960" Score="3" ViewCount="270" Body="&lt;p&gt;We are looking to roll out a deployment of Sitecore 9.0.2 in CMS only mode. Does it need all databases to run or can it work off:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Core&lt;/li&gt;&#xA;&lt;li&gt;Master&lt;/li&gt;&#xA;&lt;li&gt;Web&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'm happy we can run session inProc (provided thats still a thing in sc9) but do we need e.g. exm.master, experienceforms, messaging and reporting?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't plan to use either exm or the forms module atm.&lt;/p&gt;&#xA;" OwnerUserId="443" LastEditorUserId="443" LastEditDate="2018-06-22T14:47:33.350" LastActivityDate="2018-06-22T14:47:33.350" Title="Which databases does Sitecore 9.0.2 need for CMS only mode?" Tags="|sitecore-client|sql-database|deployment|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12468" PostTypeId="2" ParentId="12467" CreationDate="2018-06-22T13:53:04.677" Score="7" Body="&lt;p&gt;That would be an XM environment.&#xA;You require: forms, core, web and master&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/deploying/sitecore_configurations_and_topology_for_azure#_XMSingle&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/deploying/sitecore_configurations_and_topology_for_azure#_XMSingle&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WJFXC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WJFXC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-22T13:53:04.677" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12469" PostTypeId="2" ParentId="12467" CreationDate="2018-06-22T13:53:32.030" Score="1" Body="&lt;p&gt;I unziped the WDP zip file and I verify connection string file :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like you need next connection strings : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;connectionStrings&amp;gt;&#xA;  &amp;lt;!-- &#xA;    Sitecore connection strings.&#xA;    All database connections for Sitecore are configured here.&#xA;  --&amp;gt;&#xA;  &amp;lt;add name=&quot;core&quot; connectionString=&quot;user id=user;password=password;Data Source=(server);Database=Sitecore_Core&quot;/&amp;gt;&#xA;  &amp;lt;add name=&quot;master&quot; connectionString=&quot;user id=user;password=password;Data Source=(server);Database=Sitecore_Master&quot;/&amp;gt;&#xA;  &amp;lt;add name=&quot;web&quot; connectionString=&quot;user id=user;password=password;Data Source=(server);Database=Sitecore_Web&quot;/&amp;gt;&#xA;  &amp;lt;add name=&quot;sessions&quot; connectionString=&quot;user id=sa;password=12345;data source=.\SQL2016;database=Sitecore_Sitecore.Sessions&quot;/&amp;gt;&#xA;  &amp;lt;add name=&quot;experienceforms&quot; connectionString=&quot;user id=user;password=password;Data Source=(server);Database=Sitecore_ExperienceForms&quot;/&amp;gt;&#xA;&#xA;&#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EXM works just in XP mode, you need reporting just in XP mode. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-06-22T14:10:23.947" LastActivityDate="2018-06-22T14:10:23.947" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12470" PostTypeId="1" CreationDate="2018-06-22T14:38:07.367" Score="4" ViewCount="6929" Body="&lt;p&gt;I'm facing this error and no solution so far&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Installing package:  Sitecore.Commerce.Engine.Connect.2.1.54.update&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sxa.storefront.com/SiteUtilityPages/InstallPackages.aspx?package=Sitecore.Commerce.Engine.Connect.2.1.54.update&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sxa.storefront.com/SiteUtilityPages/InstallPackages.aspx?package=Sitecore.Commerce.Engine.Connect.2.1.54.update&lt;/a&gt;&#xA;Install-SitecoreConfiguration :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    One or more exceptions occurred while processing the subscribers to the 'packageinstall:items:ended' event.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;ERROR Query Exception - Query:&lt;a href=&quot;https://localhost:5000/api/Shops&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:5000/api/Shops&lt;/a&gt;('CommerceEngineDefaultStorefront') - Message: An error occured while processing this request&lt;/p&gt;&#xA;&#xA;&lt;p&gt;14952 15:09:48 ERROR Authentication Error&#xA;Exception: System.Exception&#xA;Message: The certificate thumbprint is invalid or missing from your configuration, secure communication with the Commerce Engine is not possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;18336 15:09:48 ERROR Commerce.Connector - There was an error retrieving the mappings from the Commerce Service&#xA;18336 15:09:48 INFO  Commerce.Connector - Loaded the mapping entries - 0 Entries, 0 Parents&#xA;18336 15:09:48 INFO  Commerce.Connector - Release mapping lock&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Commerce Authentication Error.png&#xA;Message: The certificate thumprint is invalid or missing from your configuration, secure communication ith the Commerce Engine is not possible&#xA;Any Suggestions?&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="998" LastEditDate="2018-08-30T09:53:28.347" LastActivityDate="2020-04-22T10:08:52.003" Title="One or more exceptions occurred while processing the subscribers to the 'packageinstall:items:ended' event" Tags="|sitecore-commerce|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12471" PostTypeId="1" CreationDate="2018-06-22T16:59:23.160" Score="3" ViewCount="238" Body="&lt;p&gt;When we installed Sitecore Commerce 9, it created databases with names SitecoreCommerce9_Global and SitecoreCommerce9_SharedEnvironments...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to change their names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please someone tell me the best way to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="2056" LastEditDate="2018-06-22T17:39:45.420" LastActivityDate="2018-06-22T19:08:42.737" Title="Sitecore database name change" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12473" PostTypeId="2" ParentId="12471" CreationDate="2018-06-22T19:08:42.737" Score="3" Body="&lt;p&gt;Short steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;shut down IIS &lt;/li&gt;&#xA;&lt;li&gt;Change DB Names in SQL Server&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;modify engine configs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;wwwroot\data\environments\Plugin.SQL.PolicySet-1.0.0.json&lt;/p&gt;&#xA;&#xA;&lt;p&gt;wwwroot\bootstrap\Global.json &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Start IIS&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Bootstrap (using Postman or customized SIF step)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1695" LastActivityDate="2018-06-22T19:08:42.737" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12474" PostTypeId="1" CreationDate="2018-06-22T21:51:48.350" Score="6" ViewCount="52" Body="&lt;p&gt;This sounds like a common issue, but always hunting us when it is least expected. Anyone has tried setting up a production environment whereby typically the CM (intranet) is hosted in on-prem (government data center) and the CD (internet)  is hosted also in on-prem under government data center as well. These 2 guys don't know each other at all. They don't know that each presence exists. So my million dollar question is, a simple publishing from CM to CD using the OOTB is not feasible, hence any recommendation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can think of the following via:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;SFTP - A transfer of serialised content from CM to CD then execute a synchronization. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;SQL Server replication &lt;a href=&quot;https://kb.sitecore.net/articles/610106&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/610106&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/dJact.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;API? Sounds like a lot of work  &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you have any other solutions, please do help post it. &lt;/p&gt;&#xA;" OwnerUserId="1605" LastEditorUserId="1605" LastEditDate="2018-06-22T22:11:51.330" LastActivityDate="2018-10-21T07:00:31.663" Title="Publishing content in a restricted 'Government sector' production environment" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12475" PostTypeId="2" ParentId="12474" CreationDate="2018-06-23T03:56:45.397" Score="1" Body="&lt;p&gt;Yes, it’s possible to transfer content from CM to CD environment without SQL(OOTB publishing), As you mentioned, SQL port is not allow on CD through the firewall.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First approach should be through serialization using Unicorn; Mark cassidy has given this approach in one of the post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setup Unicorn and serialize all the web content&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Zip up the Unicorn folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SFTP upload it (or any other means of transfer) to CD server&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Delete CD servers Unicorn/** folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unzip uploaded file to CD servers Unicorn folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Run Unicorn sync via its remote script capability&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check this link for more information: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/48/publishing-without-sql&quot;&gt;Publishing without SQL&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also check this product: &lt;a href=&quot;http://xcentium.com/digital-solutions/sitecore/vault&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xcentium.com/digital-solutions/sitecore/vault&lt;/a&gt;, they are using GIT for transferring content from CM to CD.&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-06-23T03:56:45.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12477" PostTypeId="1" AcceptedAnswerId="12479" CreationDate="2018-06-23T11:44:43.373" Score="4" ViewCount="495" Body="&lt;p&gt;The existing Sitecore instance has bucket items with default structure 'yyyy/MM/dd/HH/mm'. I've tried to copy bucket items into new Sitecore instance. But the new instance structure looks flat. I can see all structure in new instance but not in tree format. The functionality is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest to make the content tree structure in the new instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Old instance&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/INZBA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/INZBA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;New Instance&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zx38N.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zx38N.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3450" LastEditorUserId="690" LastEditDate="2018-06-23T18:46:19.983" LastActivityDate="2019-05-03T14:49:37.137" Title="Structure Issue after copying bucket items from one instance to another instance" Tags="|buckets|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12479" PostTypeId="2" ParentId="12477" CreationDate="2018-06-23T19:03:30.107" Score="3" Body="&lt;p&gt;I see three options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Sync your bucket again&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to your bucket root &lt;/li&gt;&#xA;&lt;li&gt;Click &lt;code&gt;Sync&lt;/code&gt; button in &lt;code&gt;CONFIGURE&lt;/code&gt; section&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KiQPT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KiQPT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the first step will not work you have to check if both instances have the same bucket path settings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Copy Item Buckets Settings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find item: &lt;code&gt;/sitecore/system/Settings/Buckets/Item Buckets Settings&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Compare &lt;code&gt;Rules for Resolving the Bucket Folder Path&lt;/code&gt; field on two instances. Settings there should be the same&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RnndD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RnndD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. Custom Bucket Rules&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also a third option. If you use some custom bucket rules (Sitecore setting &lt;code&gt;BucketConfiguration.DynamicBucketFolderPath&lt;/code&gt;) make sure they are deployed on both instances.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="2056" LastEditDate="2018-06-23T19:36:21.000" LastActivityDate="2018-06-23T19:36:21.000" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12480" PostTypeId="1" AcceptedAnswerId="12482" CreationDate="2018-06-23T22:54:26.777" Score="7" ViewCount="552" Body="&lt;p&gt;My question is about installing Sitecore in XP1 Scaled environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I installed the CM (XP1). The database for CM was created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to deploy the second CM, how can I do this? If I execute the same script, Sitecore will try to create a database, but I would like to use the database that already exists. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3644" LastEditorUserId="2056" LastEditDate="2018-06-24T05:09:34.370" LastActivityDate="2018-06-24T08:26:44.230" Title="Sitecore 9 update 1 - Multiple CM" Tags="|installation|sitecore-install-framework|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12481" PostTypeId="2" ParentId="12480" CreationDate="2018-06-24T05:08:15.557" Score="1" Body="&lt;p&gt;Deployment of databases is wired into &quot;Install WDP&quot; task in Sitecore Installation Framework. It cannot be removed easily without changing couple of things in OOTB package. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do as quick solution:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You need to specify different &quot;SqlDbPrefix&quot; parameter in your ps1 installation script for second CM server.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Once script is finished on second CM server, change connection strings to original databases created for first CM server.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove newly created databases on SQL Server created with prefix from step 1.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-24T08:26:44.230" LastActivityDate="2018-06-24T08:26:44.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12482" PostTypeId="2" ParentId="12480" CreationDate="2018-06-24T06:47:18.037" Score="5" Body="&lt;p&gt;You need to create a scwdp package that does not contain the databases. Basicly this is the same as you would do if you clean your website with every deploy and redeploy sitecore on to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This &quot;package without database&quot; can be created from the original one, by running a powershell script. Find out how to do this on my blog: &lt;a href=&quot;http://onelittlespark.bartverdonck.be/sitecore-9-in-azure-paas-for-dummies-2/&quot; rel=&quot;noreferrer&quot;&gt;http://onelittlespark.bartverdonck.be/sitecore-9-in-azure-paas-for-dummies-2/&lt;/a&gt; (The series is focussed arround PaaS, but would also address your question.)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;##########################################################################&#xA;#  &#xA;#  Usage: manualy extract the parameters.xml file from the original .scwdp.zip file and reference in this file.&#xA;#  Fill in the packagepath and paramfile path.&#xA;#&#xA;##########################################################################&#xA;&#xA;$PackagePath = &quot;c:\Projects\sitecore_single.scwdp.zip&quot;&#xA;$ParamFile = &quot;C:\Temp\parameters.xml&quot;&#xA;&#xA;##########################################################################&#xA;&#xA;$PackageDestinationPath = $($PackagePath).Replace(&quot;.scwdp.zip&quot;, &quot;-nodb.scwdp.zip&quot;)&#xA;&#xA;$msdeploy = &quot;C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe&quot;&#xA;$verb = &quot;-verb:sync&quot;&#xA;$source = &quot;-source:package=`&quot;$PackagePath`&quot;&quot;&#xA;$destination = &quot;-dest:package=`&quot;$($PackageDestinationPath)`&quot;&quot;&#xA;$declareParamFile = &quot;-declareparamfile=`&quot;$($ParamFile)`&quot;&quot;&#xA;$skipDbFullSQL = &quot;-skip:objectName=dbFullSql&quot;&#xA;$skipDbDacFx = &quot;-skip:objectName=dbDacFx&quot;&#xA;&#xA;# read parameter file&#xA;[xml]$paramfile_content = Get-Content -Path $ParamFile&#xA;$paramfile_paramnames = $paramfile_content.parameters.parameter.name&#xA;$params = &quot;&quot;&#xA;foreach($paramname in $paramfile_paramnames){&#xA;   $tmpvalue = &quot;tmpvalue&quot;&#xA;   if($paramname -eq &quot;License Xml&quot;){ $tmpvalue = &quot;LicenseContent&quot;}&#xA;   if($paramname -eq &quot;IP Security Client IP&quot;){ $tmpvalue = &quot;0.0.0.0&quot;}&#xA;   if($paramname -eq &quot;IP Security Client IP Mask&quot;){ $tmpvalue = &quot;0.0.0.0&quot;}&#xA;   $params = &quot;$params -setParam:`&quot;$paramname`&quot;=`&quot;$tmpvalue`&quot;&quot;&#xA;}&#xA;&#xA;# create new package&#xA;Invoke-Expression &quot;&amp;amp; '$msdeploy' --% $verb $source $destination &#xA;$declareParamFile $skipDbFullSQL $skipDbDacFx $params&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-24T06:47:18.037" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12483" PostTypeId="1" CreationDate="2018-06-24T07:02:07.580" Score="1" ViewCount="182" Body="&lt;p&gt;I want to truncate content text to be for example 1 line using sitecore sxa render variant &lt;/p&gt;&#xA;" OwnerUserId="3721" LastEditorUserId="73" LastEditDate="2018-06-24T18:50:57.807" LastActivityDate="2018-07-06T16:37:37.430" Title="How to truncate Content Using SXA 1.6" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12484" PostTypeId="2" ParentId="12483" CreationDate="2018-06-24T07:24:42.460" Score="6" Body="&lt;p&gt;SXA uses Sitecore field renderers. By default, it is impossible to achieve something like that with out-of-the-box functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, there is one feature in SXA that let you do it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add &lt;code&gt;VariantTemplate&lt;/code&gt; item to your variant definition (&lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Rendering Variants/VariantTemplate&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Define your template renderer and register it by adding new processor to &lt;code&gt;getVelocityTemplateRenderers&lt;/code&gt; pipeline (see example processor &lt;code&gt;AddTemplateRenderers&lt;/code&gt;, it registers: &lt;code&gt;NumberTool&lt;/code&gt; and &lt;code&gt;DateTool&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Use your tool (fill &lt;code&gt;Template&lt;/code&gt; field of an item created at first step)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;div class=introduction&quot;&amp;gt;&#xA;#set( $summary = $blogTool.GetSummary($item,&quot;BlogIntroduction&quot;,200))&#xA;$summary&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the example above I have &lt;strong&gt;blogTool&lt;/strong&gt; template renderer with a method GetSummary which accepts an &lt;strong&gt;item&lt;/strong&gt;, &lt;strong&gt;field name&lt;/strong&gt;, and a &lt;strong&gt;length&lt;/strong&gt; to define how many characters from the field should be displayed as a blog summary.&#xA;It is up to you what is your method signature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;useful links:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://michaellwest.blogspot.com/2017/04/custom-rendering-variant-token-tool-for-sxa.html&quot; rel=&quot;noreferrer&quot;&gt;https://michaellwest.blogspot.com/2017/04/custom-rendering-variant-token-tool-for-sxa.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-06-24T07:24:42.460" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12485" PostTypeId="1" CreationDate="2018-06-24T07:52:05.083" Score="1" ViewCount="2407" Body="&lt;p&gt;Is there any way to rollback the entire package after successful deployment?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per my knowledge, one way is to delete all the Sitecore items from the CMS, dll's if any from the bin and patch config files from their respective folders manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way Sitecore provide to rollback the deployed package so that I can avoid manual activity..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="237" LastEditDate="2018-06-24T12:29:05.600" LastActivityDate="2018-06-24T12:29:05.600" Title="How to uninstall Sitecore package" Tags="|sitecore-client|packages|" AnswerCount="1" CommentCount="0" ClosedDate="2018-06-24T15:50:46.533" ContentLicense="CC BY-SA 4.0" />
  <row Id="12486" PostTypeId="2" ParentId="12485" CreationDate="2018-06-24T09:02:07.447" Score="3" Body="&lt;p&gt;There is &lt;strong&gt;No&lt;/strong&gt; officially tool available , which provides such functionality but you can use the &lt;strong&gt;Anti-Package&lt;/strong&gt; functionality of the Sitecore rocks:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.net/nl-be/learn/blogs/technical-blogs/trevor-campbell/posts/2013/02/28-days-of-sitecore-rocks-package-management-part-1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.net/nl-be/learn/blogs/technical-blogs/trevor-campbell/posts/2013/02/28-days-of-sitecore-rocks-package-management-part-1.aspx&lt;/a&gt;&#xA;&lt;a href=&quot;https://sitecoresandbox.com/tag/anti-packages/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoresandbox.com/tag/anti-packages/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you can check this blog:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorebasics.wordpress.com/2014/02/10/package-history-v2-user-guide/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorebasics.wordpress.com/2014/02/10/package-history-v2-user-guide/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read the below blog provided by the Sitecore to uninstall the Sitecore package manually:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/916660&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/916660&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this will help you.&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-06-24T09:02:07.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12488" PostTypeId="2" ParentId="12483" CreationDate="2018-06-24T12:11:02.093" Score="4" Body="&lt;p&gt;There are two ways to do it. 1 with code and other with CSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;With CSS:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the &lt;code&gt;text-overflow:ellipis&lt;/code&gt; in your CSS for it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;div {&#xA;    white-space: nowrap; &#xA;    overflow: hidden;&#xA;    text-overflow: ellipsis;&#xA;}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://www.w3schools.com/cssref/css3_pr_text-overflow.asp&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.w3schools.com/cssref/css3_pr_text-overflow.asp&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a bit difference between both. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;With code, you only get the required number of text digits you enter.&lt;/li&gt;&#xA;&lt;li&gt;With CSS, your Text will be there but &lt;code&gt;...&lt;/code&gt; will be there at the end. &lt;/li&gt;&#xA;&lt;li&gt;The CSS solution is good for SEO practices.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;With Code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution which @alan proposed. &lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-07-06T16:37:37.430" LastActivityDate="2018-07-06T16:37:37.430" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12489" PostTypeId="1" AcceptedAnswerId="12515" CreationDate="2018-06-24T14:47:21.210" Score="1" ViewCount="638" Body="&lt;p&gt;I am using SXA 1.7 and need to add a Query item under my variant definition, I found that the query should be written using sitecore query format like &quot;query:./*&quot; to return the child items but it doesn't return the data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I need to know, how the child items field will be displayed, should I define the variant fields under the Query node in thevariant definition?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="690" LastEditDate="2018-06-25T06:34:33.807" LastActivityDate="2018-06-26T07:09:55.370" Title="SXA Add Query in the variant definition" Tags="|sxa|sitecore-query|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12490" PostTypeId="1" AcceptedAnswerId="12491" CreationDate="2018-06-24T20:11:10.403" Score="5" ViewCount="213" Body="&lt;p&gt;The process I am developing uses Jobs to run asynchronously. Some steps in the middle of the process change some folders, which makes Sitecore restart. Once Sitecore has restarted the process searches for the job by its Handle. However, it is not found in the JobManager anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to start the job with the option &quot;AfterLife&quot; set to different values (1 hour, 90 days), to make sure that the job is kept after it finishes. The result didn't change. The job is lost after sitecore restarts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further tests indicate that Jobs (not only mine) are not persisted after a Sitecore restart. I've checked it using the *.aspx page described on the following page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2014/11/11/sitecore-job-viewer-see-what-sitecore-is-doing-behind-your-back/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2014/11/11/sitecore-job-viewer-see-what-sitecore-is-doing-behind-your-back/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm wondering whether there is something that needs to be enabled for the Jobs to be persisted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any information that helps me to troubleshoot this process will be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="595" LastEditorUserId="690" LastEditDate="2018-06-25T07:24:33.477" LastActivityDate="2018-06-25T07:24:33.477" Title="Jobs disappears after Sitecore restarts" Tags="|configuration|scheduler-job|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12491" PostTypeId="2" ParentId="12490" CreationDate="2018-06-24T20:34:04.097" Score="7" Body="&lt;h2&gt;They don't persist, nor can they (out of the box)&lt;/h2&gt;&#xA;&lt;p&gt;As you've already mentioned, they do not persist across application pool resets. You're not doing anything wrong, they just aren't designed to persist. They live in the memory of whatever server triggered them.&lt;/p&gt;&#xA;&lt;p&gt;So as far as &amp;quot;traditional Sitecore&amp;quot; goes, be it Scheduled Tasks, Jobs or Agents - you are out of luck. There's nothing you can do (out of the box) to have these persist across AppPool resets.&lt;/p&gt;&#xA;&lt;p&gt;AfterLife is just an option to keep your task alive after it finished (in memory, still) so you can check on it's status (e.g. Status: Completed).&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;A job runs as a thread, and when the thread returns, the job is finished. Sitecore keeps the job around for a limited amount of time afterwards in case you want to check its status. This is called the “after-life”.&lt;/p&gt;&#xA;&lt;p&gt;By default the after-life value is 1 minute. It can be changed using the Options property on the job.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Asynchronous%20Tasks/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Asynchronous Tasks&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-06-24T20:34:04.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12492" PostTypeId="2" ParentId="10537" CreationDate="2018-06-25T04:55:48.620" Score="5" Body="&lt;p&gt;The Sitecore Experience Management configuration (CMS-only mode) running both the Content Delivery (CD) and Content Management (CM) roles. Use this environment when you are not planning to use the Analytics and Marketing features of the Sitecore Experience Platform. When you select this topology, xDB and xConnect are not available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After selecting your deployment topology (XP0, XM1, or XP1), you must download the corresponding web&#xA;deploy packages which also contain the environment configuration files from the Sitecore Downloads page – &lt;a href=&quot;https://dev.sitecore.net&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The following Web Deploy Packages are required for XM1 topologies:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore 9.0.0 rev. 171002 (OnPrem)_cd.scwdp.zip&lt;/li&gt;&#xA;&lt;li&gt;sitecore 9.0.0 rev. 171002 (OnPrem)_cm.scwdp.zip&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The following environment configuration files are required for XM1 topologies:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore-solr.json&lt;/li&gt;&#xA;&lt;li&gt;sitecore-XM1-cd.json&lt;/li&gt;&#xA;&lt;li&gt;sitecore-XM1-cm.json&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;If you want to install the XM0 topology, you only need to install the CM instance from the XM1 topology and then in the web.config file, specify the following setting:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;role:define&quot; value=&quot;Standalone&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You don't need &quot;Client Certificates&quot; and &quot;SSL Certificate for Solr&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source:&lt;/strong&gt; Sitecore installation Guide.&lt;/p&gt;&#xA;" OwnerUserId="2644" LastEditorUserId="2644" LastEditDate="2018-06-25T05:26:44.403" LastActivityDate="2018-06-25T05:26:44.403" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12493" PostTypeId="1" AcceptedAnswerId="12494" CreationDate="2018-06-25T06:24:40.170" Score="20" ViewCount="2519" Body="&lt;p&gt;Sitecore recently launched the version 9.0.2 which supports the MongoDB for xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, for a greenfield project which needs to kickoff on Sitecore 9.0.2, we have a choice between MS SQL Server or MongoDB for xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is therefore whether there are any guidelines which could help us to decide either to go with Mongo or SQL for xConnect?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anybody tested the load of analytics data on SQL Server using Sitecore 9?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any interesting findings could impact the decision to adopt the technology.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your practical experience or use-case would be highly appreciated. &lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="2056" LastEditDate="2019-01-29T21:50:10.897" LastActivityDate="2019-02-11T05:26:58.687" Title="Mongo vs SQL Server with Sitecore 9 Update 2" Tags="|xconnect|mongodb|sql-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12494" PostTypeId="2" ParentId="12493" CreationDate="2018-06-25T07:03:55.430" Score="17" Body="&lt;p&gt;&lt;strong&gt;1) Infrastructure&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;MongoDB will introduce new element into infrastructure of your solution. This increases cost of servers, cost of maintenance and at the end complicates the overall solution landscape. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In scaled solution you would need couple of Mongo DB server e.g. replica sets to support failover, redundancy and data availability.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you stay with MS SQL Server installed on VM in Azure or on prem, it would be just couple of more databases at the end hosted in your already existing database server where you host master, core, web and other Sitecore databases. On the other hand, if you use Azure DBs this could be really cost solution in oppose using Mongo DB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2) Tooling and Debugging&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also need more tooling like RoboMongo to query data for debugging purposes and for developers need to know how to query MongoDB as it is way different in oppose to classic SQL Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For administrators new set of monitoring tools / scripts to handle these servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you stay with MS SQL Server, you don't need to install additional tools and learn new queries as you are good to go with MS SQL Server Management Studio (SSMS).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3) Performance&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are getting the data from analytics index so whether you are using MongoDB or SQL Server, your decision won't significantly increase / decrease performance of reading data in your solution. Only question of performance here how fast can data be indexed using either Mongo DB / MS SQL Server. This is I think marginal question here. I would believe that this is a bit quicker for MS SQL Server as this is already third version of product which uses it. For Mongo DB querying data might be slower as it could be not so optimized in API (first version caution see below).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;4) First version caution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8 was using Mongo DB to hold Analytics data already. Sitecore 9 Initial Release and Update 1 were not supporting Mongo only SQL Server. Sitecore 9 Update 2 is the first version of Sitecore 9 where MongoDB support was introduced once again. It is also disabled by default. I would wait for next update or Sitecore 9.1 to experiment with this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;5) Pros for Mongo DB&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand, I believe MongoDB should be faster processing unstructured data than MS SQL Server although Microsoft made progress processing json data in recent versions of SQL Server like json native data type and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Usage of MongoDB would be great for existing projects that are on Sitecore 8 and want to migrate to Sitecore 9 using existing environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use Azure DB then Mongo DB would be relatively cheaper solution. Depends on architecture and landscape that you plan to use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To summarize, for your greenfield project, I would probably stick with MS SQL Server and wait for some fixes in upcoming releases regarding MongoDB support so you are not &quot;early adopter&quot; :) Then evaluate and maybe make a switch.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-26T22:53:41.717" LastActivityDate="2018-06-26T22:53:41.717" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12495" PostTypeId="2" ParentId="8107" CreationDate="2018-06-25T07:36:21.917" Score="1" Body="&lt;p&gt;I follow it in following 4 steps.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open SIM, delete the instance from there, select &quot;no&quot; for removing database&lt;/li&gt;&#xA;&lt;li&gt;Stop Solr Service, delete solr core from the folder, start Solr Service&lt;/li&gt;&#xA;&lt;li&gt;Open SQL Server, delete all related databases in bulk using script  &lt;a href=&quot;https://stackoverflow.com/a/3281190/3959541&quot;&gt;https://stackoverflow.com/a/3281190/3959541&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Delete XConnect site from IIS&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2305" LastActivityDate="2018-06-25T07:36:21.917" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12496" PostTypeId="2" ParentId="12433" CreationDate="2018-06-25T07:36:51.723" Score="4" Body="&lt;p&gt;Looks like your profile and/or encryption might not be set up properly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check and optionally re-run these steps from the &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_SC_SetUpCommerceServerSite.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Commerce 8.2.1 Deployment Guide&lt;/a&gt;.&#xA;`&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ProfileKeyManager.exe /kn /o &quot;c:\profileEncryptionKeys.xml&quot; /f&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ProfileKeyManager.exe /ke /kf &quot;c:\profileEncryptionKeys.xml&quot; /reg HKEY_LOCAL_MACHINE\SOFTWARE\CommerceServer\Encryption\Keys\CFSolutionStorefrontSite /f&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and finally&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;C:\Program Files (x86)\Microsoft SQL Server\110\DAC\bin\SqlPackage.exe&quot; /Action:Publish /SourceFile:&quot;.\Database\Profiles\Commerce.Storefront.ProfileDatabase.dacpac&quot; /TargetDatabaseName:CFSolutionStorefrontSite_profiles /TargetServerName:&quot;127.0.0.1&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Full information in the linked guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;edited to add&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/6/t/2813&quot; rel=&quot;nofollow noreferrer&quot;&gt;This accepted answer from Community Forums&lt;/a&gt;. It is for Sitecore Commerce 9, but I think the underlying problem is the same.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-06-25T09:53:51.800" LastActivityDate="2018-06-25T09:53:51.800" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12497" PostTypeId="2" ParentId="12378" CreationDate="2018-06-25T07:50:22.673" Score="1" Body="&lt;p&gt;I would use a different campaign on each landing page - and you can then split the conversion by campaign. If some campaigns are group, campaign facets might be the right element&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2018-06-25T07:50:22.673" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12499" PostTypeId="1" CreationDate="2018-06-25T13:29:22.943" Score="2" ViewCount="967" Body="&lt;p&gt;I have a content item in the CMS, which is like an admin page for content authors. This item should never go to the web database, but authors should be able to use it by the preview mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I set the &lt;code&gt;Lifetime&lt;/code&gt; to an older date or &lt;code&gt;Never Publish&lt;/code&gt; settings for this item, and try to preview it, it doesn't load. Instead it loads the factory default home page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm planning to make this item as a reusable component, to be used in any other instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any alternate way in which we can make it non publishable and yet preview it.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-06-25T13:59:37.570" LastActivityDate="2018-06-25T13:59:37.570" Title="How to preview a non publishable item" Tags="|publishing|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12500" PostTypeId="2" ParentId="12499" CreationDate="2018-06-25T13:43:25.377" Score="2" Body="&lt;p&gt;You can create a subdomain for preview: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Create a (sub)domain for preview (e.g. preview.mysite.com) and setup DNS as needed&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Add the preview host to the existing IIS Sitecore instance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.Add a new  node to the Sitecore instance’s config files &lt;/p&gt;&#xA;&#xA;&lt;p&gt;4.Set the new site to listen to the master database&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;website_preview&quot; filterItems=&quot;false&quot; enableWorkflow=&quot;true&quot; hostName=&quot;preview.mysite.com&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; database=&quot;master&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;a href=&quot;http://firebreaksice.com/how-to-setup-a-sitecore-preview-site-to-review-content-before-publishing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://firebreaksice.com/how-to-setup-a-sitecore-preview-site-to-review-content-before-publishing/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-06-25T13:43:25.377" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12501" PostTypeId="1" AcceptedAnswerId="12502" CreationDate="2018-06-25T14:13:00.723" Score="1" ViewCount="631" Body="&lt;p&gt;Is it possible to have the Value field of the NAME-VALUE list as the RichText?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our Requirement is to provide the HTML content in the Value field and render in the webpage as HTML.&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2018-06-25T14:18:48.310" Title="Name Value List with Value field as Rich Text" Tags="|content-editor|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12502" PostTypeId="2" ParentId="12501" CreationDate="2018-06-25T14:18:48.310" Score="2" Body="&lt;h2&gt;Not really, no&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;While it may be possible to tweak some stuff around to make it seem like it works, I doubt it would really be a solution for you in the long run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Internally, a &lt;code&gt;Name Value Field&lt;/code&gt; stores its value as an &lt;code&gt;UrlString&lt;/code&gt;. As such there are limitations to both length and actual content you can put in the field.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The raw value of Name Value List is stored in a url string format – value_1=20.5&amp;amp;value_2=21.5&amp;amp;value_3=22.5&amp;amp;value_4=23.5&amp;amp;value_5=24.5.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And in code, when reading the field value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string _urlParamsToParse = item[&quot;NameValueListFieldName&quot;];&#xA;NameValueCollection nameValueCollection = Sitecore.Web.WebUtil.ParseUrlParameters(_urlParamsToParse);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should probably re-visit whatever requirement it is, you're pursuing.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-06-25T14:18:48.310" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12503" PostTypeId="1" AcceptedAnswerId="13057" CreationDate="2018-06-25T14:56:14.683" Score="4" ViewCount="237" Body="&lt;p&gt;I have an issue with adding of child items under just created parent item. I am using an approach from &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12310/how-can-i-use-the-sitecore-data-exchange-framework-to-create-child-items-from-xm&quot;&gt;this post&lt;/a&gt;. However, I have an issue because I am &lt;strong&gt;using multilanguage pipeline steps&lt;/strong&gt; (details below).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Env-nt:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.NET 9.0.1 (rev. 171219)&#xA;Data Exchange Framework 2.0.1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Installed packages:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Data Exchange Framework SDK 2.0.1&#xA;Sitecore Provider for Data Exchange Framework 2.0.1(to store items in Sitecore)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My thoughts were following: if we already created a Parent, so we have Parent sitecore item in Target context. I want to use a Parent item as a parent for all its children. So, I set  &quot;Pipeline Context Target&quot; for &quot;Parent for Item Location&quot; field in Resolve Item Step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CJ3SV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CJ3SV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it seems I don't have correct parent item. Error message in the log: Item was not saved. (id: 00000000-0000-0000-0000-000000000000, language: en).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used dotPeek to check the code of processor &lt;strong&gt;ResolveMultilanguageSitecoreItemDictionaryPipelineStep&lt;/strong&gt; (highlighted on the image above). It seems that we don't use &quot;Parent for Item Location&quot; field at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lIH3O.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lIH3O.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we check the default pipeline step &lt;strong&gt;ResolveSitecoreItemStepProcessor&lt;/strong&gt; then it seems OK.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/isFnu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/isFnu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a workaround I will try to create my own processor (as a copy of existing one with some changes), but it would be great to get any suggestions/feed back from some of you as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards,&#xA;Maxim&lt;/p&gt;&#xA;" OwnerUserId="3633" LastEditorUserId="3633" LastEditDate="2018-06-26T07:35:29.683" LastActivityDate="2018-07-27T08:17:31.820" Title="Resolve Multilanguage Sitecore Item Dictionary Pipeline Step does not take into account Parent for Item Location setting" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12505" PostTypeId="1" CreationDate="2018-06-25T17:35:25.670" Score="4" ViewCount="273" Body="&lt;p&gt;I was trying to serialize Sitecore Commerce 9 Product catalog but it could not serialize automatically just after creating category/sellable item from BizFx (Sitecore Commerce) website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please can someone guide me how to serialize Sitecore Commerce 9 Product Catalog?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't want to create zip package to push Product Catalog from one environment to other.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="73" LastEditDate="2018-06-25T17:40:34.730" LastActivityDate="2018-07-21T11:57:43.553" Title="Product Catalog Serialization" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12506" PostTypeId="2" ParentId="12505" CreationDate="2018-06-25T17:56:11.410" Score="4" Body="&lt;p&gt;It doesn't exist such a functionality in Sitecore Commerce. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The products (products,catalogs, categories) are persistent in Commerce Engine not in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Products,catalogs and categories from Sitecore are not real items, are virtual items which are shown in Content Editor using Commerce Engine Connect Catalog Provider. The provider is defined in: &lt;strong&gt;Sitecore.Commerce.Engine.DataProvider.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot;&amp;gt;&#xA;    &amp;lt;dataProviders&amp;gt;&#xA;      &amp;lt;catalogProvider role:require=&quot;Standalone or ContentManagement&quot; type=&quot;Sitecore.Commerce.Engine.Connect.DataProvider.CatalogDataProvider, Sitecore.Commerce.Engine.Connect&quot;&amp;gt;&#xA;        &amp;lt;targetDatabaseName&amp;gt;master&amp;lt;/targetDatabaseName&amp;gt;&#xA;      &amp;lt;/catalogProvider&amp;gt;&#xA;      &amp;lt;catalogProvider role:require=&quot;ContentDelivery&quot; type=&quot;Sitecore.Commerce.Engine.Connect.DataProvider.CatalogDataProvider, Sitecore.Commerce.Engine.Connect&quot;&amp;gt;&#xA;        &amp;lt;targetDatabaseName&amp;gt;web&amp;lt;/targetDatabaseName&amp;gt;&#xA;      &amp;lt;/catalogProvider&amp;gt;&#xA;    &amp;lt;/dataProviders&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can serialize the items from a catalog but you can not import them into other system. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-06-25T17:56:11.410" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12507" PostTypeId="1" CreationDate="2018-06-25T22:11:22.533" Score="1" ViewCount="83" Body="&lt;p&gt;This is not a duplicate of: &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8915/there-is-no-method-getresults-on-type-sitecore-contentsearch-linq-queryableex&quot;&gt;There is no method &amp;#39;GetResults&amp;#39; on type &amp;#39;Sitecore.ContentSearch.Linq.QueryableExtensions&amp;#39; that matches the specified arguments&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;because the patch applied is already included in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also our exception is really on &quot;Filter&quot; rather than &quot;GetResults&quot; :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ERROR There is no method 'Filter' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments&#xA;Exception: System.InvalidOperationException&#xA;Message: There is no method 'Filter' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments&#xA;Source: System.Core&#xA;   at System.Linq.EnumerableRewriter.FindMethod(Type type, String name, ReadOnlyCollection&lt;code&gt;1 args, Type[] typeArgs, BindingFlags flags)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection&lt;/code&gt;1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection&lt;code&gt;1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection&lt;/code&gt;1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection&lt;code&gt;1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection&lt;/code&gt;1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection&lt;code&gt;1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.EnumerableExecutor&lt;/code&gt;1.Execute()&#xA;   at Sitecore.ContentSearch.Linq.QueryableExtensions.GetResults[TSource](IQueryable`1 source)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're migrating from 8.2 to 9. I now have this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;There is no method 'Filter' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I do see some people confronted to what must be a sibling &quot;There is no method 'GetResults' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' &lt;/p&gt;&#xA;&#xA;&lt;p&gt;so I'm looking into this, but will still take some advice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you!&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="1206" LastEditDate="2018-07-02T16:58:47.443" LastActivityDate="2018-07-02T16:58:47.443" Title="Error Log : &quot;There is no method 'Filter' on type...” while migrating Sitecore version" Tags="|content-search|migration|" AnswerCount="0" CommentCount="0" ClosedDate="2018-06-26T07:25:52.510" ContentLicense="CC BY-SA 4.0" />
  <row Id="12508" PostTypeId="1" AcceptedAnswerId="12510" CreationDate="2018-06-26T00:21:53.347" Score="1" ViewCount="59" Body="&lt;p&gt;How can I see which user created a campaign in Sitecore EXM, and which user scheduled or sent the campaign?&lt;/p&gt;&#xA;" OwnerUserId="702" LastActivityDate="2018-06-26T05:33:42.137" Title="Which user sent an email campaign in EXM?" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12509" PostTypeId="2" ParentId="12493" CreationDate="2018-06-26T01:16:16.457" Score="4" Body="&lt;p&gt;Here are my 2 cents :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I discussed with Sitecore folks about this. As per them, there is no impact on performance with either one. We had set up MongoDB with Sitecore 8.2 and considering the pain of data migration, and we are not killing it soon. Since xConnect is entirely new, performance was a little concern to us. I would highly recommend doing performance testing according to the traffic of your website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per my understanding, if you already have MongoDB implemented, you can consider to keep it along with xConnect (Performance and Load test is the must).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are setting up Sitecore from scratch or enabling marketing feature from Sitecore 9, SQL is the winner.&lt;/p&gt;&#xA;" OwnerUserId="2644" LastActivityDate="2018-06-26T01:16:16.457" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12510" PostTypeId="2" ParentId="12508" CreationDate="2018-06-26T05:33:42.137" Score="4" Body="&lt;p&gt;Assuming you're using Sitecore 9 with ExM built in, all of the ExM emails are stored in the following location:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/content/Email/Messages&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look inside the date named folders you will find the email campaigns you created in there. Each of these has the standard Sitecore fields for &lt;i&gt;Created By&lt;/i&gt; &amp;amp; &lt;i&gt;Updated by&lt;/I&gt;, in the &lt;i&gt;Statistics&lt;/i&gt; section. This will give you the name of the user who created the campaign.&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-06-26T05:33:42.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12511" PostTypeId="1" AcceptedAnswerId="12514" CreationDate="2018-06-26T05:35:55.743" Score="3" ViewCount="522" Body="&lt;p&gt;I tried changing it via&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void RemoveRoles(User user)&#xA;    {&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            UserRoles.FromUser(user).RemoveAll();&#xA;            UserProfile profile = user.Profile;&#xA;            profile.SetPropertyValue(&quot;IsAdministrator&quot;, &quot;False&quot;);&#xA;            profile.Save();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void RemoveRoles(User user)&#xA;    {&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            UserRoles.FromUser(user).RemoveAll();&#xA;            UserProfile profile = user.Profile;&#xA;            profile.IsAdministrator = false;&#xA;            profile.Save();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, both functions throw an exception: &quot;This property cannot be set for anonymous users.&quot; on line where I try to set IsAdministrator property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The user object has correct values when I debug the code and I'm able to remove all the roles added via rolemanager. However, I'm unable to remove admin role from the user.&lt;/p&gt;&#xA;" OwnerUserId="2938" LastEditorUserId="690" LastEditDate="2018-06-26T07:17:14.643" LastActivityDate="2018-06-26T07:17:14.643" Title="How to remove admin role permissions programatically?" Tags="|security|user-management|user-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12512" PostTypeId="1" AcceptedAnswerId="12513" CreationDate="2018-06-26T05:36:04.490" Score="1" ViewCount="59" Body="&lt;p&gt;I am doing a POC, trying to connect Sitecore and Salesforce. I wish to try to configure using Salesforce Connect 1.4.1 with Sitecore 8.1, but I can't find any article or documentation. Can someone help point me to any article or documentation on this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did check the documentation below but it's in initial release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/adamconn/sitecore-salesforce-connect&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/adamconn/sitecore-salesforce-connect&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-Arsen&lt;/p&gt;&#xA;" OwnerUserId="707" LastEditorUserId="690" LastEditDate="2018-06-26T05:58:15.453" LastActivityDate="2018-06-26T06:00:10.073" Title="Salesforce 1.4.1 with Sitecore 8.1" Tags="|salesforce-connect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12513" PostTypeId="2" ParentId="12512" CreationDate="2018-06-26T06:00:10.073" Score="1" Body="&lt;p&gt;The documentation of &lt;strong&gt;SalesForce Connect v 1.4.1&lt;/strong&gt;  can be found here: &lt;a href=&quot;http://integrationsdn.sitecore.net/SalesforceConnect/v1.4.1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://integrationsdn.sitecore.net/SalesforceConnect/v1.4.1/&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your link is not the right one, that's the personal repository of Adam Conn.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to download you can download the module from Sitecore portal: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Salesforce_Connect/Salesforce_Connect_1/Salesforce_Connect_1_4_1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Salesforce_Connect/Salesforce_Connect_1/Salesforce_Connect_1_4_1.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Installation documentation : &lt;a href=&quot;https://doc.sitecore.net/crm_connect/141&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/crm_connect/141&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-06-26T06:00:10.073" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12514" PostTypeId="2" ParentId="12511" CreationDate="2018-06-26T07:09:53.667" Score="5" Body="&lt;p&gt;Here is the correct code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var user = Sitecore.Security.Accounts.User.FromName(&quot;sitecore\\test&quot;, true);&#xA;RemoveRoles(user);&#xA;&#xA;protected void RemoveRoles(Sitecore.Security.Accounts.User user)&#xA;{&#xA;    Sitecore.Security.Accounts.UserRoles.FromUser(user).RemoveAll();&#xA;    Sitecore.Security.UserProfile profile = user.Profile;&#xA;    profile.IsAdministrator = false;&#xA;    profile.Save();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The important thing is to pass &lt;code&gt;true&lt;/code&gt; as the second parameter in the &lt;code&gt;FromName&lt;/code&gt; method for the &lt;code&gt;isAuthenticated&lt;/code&gt; parameter. Thanks to that you will be able to set &lt;code&gt;IsAdministrator&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-06-26T07:09:53.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12515" PostTypeId="2" ParentId="12489" CreationDate="2018-06-26T07:09:55.370" Score="0" Body="&lt;p&gt;Here is how you define what will be displayed from items returned by Variant Query, it's quite simple:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ydmIt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ydmIt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not sure if your query is working then make a quick test like in above example. Drop Page Content on the Home item, add some pages under the home and if you will put following query &lt;code&gt;query:./*&lt;/code&gt; in the Query field of Variant Query it should return Home children:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/189fi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/189fi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-26T07:09:55.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12516" PostTypeId="1" AcceptedAnswerId="12525" CreationDate="2018-06-26T07:43:18.247" Score="1" ViewCount="1919" Body="&lt;p&gt;I am trying to install Sitecore Commerce with following version details:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore 9.0.2 rev. 180604 (OnPrem)_single.scwdp&lt;/li&gt;&#xA;&lt;li&gt;Solr 6.6.3&lt;/li&gt;&#xA;&lt;li&gt;SQL Server 2016 Express (13.0.4001)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Commerce.2018.03-2.1.55&lt;/li&gt;&#xA;&lt;li&gt;Sitecore PowerShell Extensions-4.7.2 for Sitecore 8&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Experience Accelerator 1.6 rev. 180103 for 9.0&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am following steps mentioned in this blog&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://buoctrenmay.com/2018/03/09/step-by-step-guide-for-sitecore-commerce-9-installation-on-your-machine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://buoctrenmay.com/2018/03/09/step-by-step-guide-for-sitecore-commerce-9-installation-on-your-machine/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script adds 2 databases and 6 IIS sites for the Commerce server, adds the modules to Sitecore instance and breaks at point when Commerce connector tries to access the Commerce API and maybe add the catalog. Following error is seen on the Powershell console.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Importing Module =&gt; InitializeCommerce&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[---------------------------------- DisableCsrfValidation :&#xA;  DisableCsrfValidation ----------------------------------]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[--------------------------------------- GetIdServerToken :&#xA;  GetIdServerToken ---------------------------------------] Get Token&#xA;  From Sitecore.IdentityServer Install-SitecoreConfiguration :  Service&#xA;  Unavailable Service Unavailable HTTP Error 503. The service is&#xA;  unavailable. At C:\Program &#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253&#xA;  char:21&#xA;  +                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;  [TIME] 00:00:01 Transcript stopped, output file is&#xA;  E:\sc9_com_install\SIF\CommerceEngine.Initialize.180623.log&#xA;  Install-SitecoreConfiguration :  Service Unavailable Service&#xA;  Unavailable HTTP Error 503. The service is unavailable. At&#xA;  E:\sc9_com_install\SIF\sc9_com_install.ps1:81 char:2&#xA;  +     Install-SitecoreConfiguration @params&#xA;  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;  [TIME] 00:39:07 Transcript stopped, output file is&#xA;  E:\sc9_com_install\SIF\Master_SingleServer.180623.log&#xA;  Invoke-RestMethod :  Service Unavailable Service Unavailable HTTP&#xA;  Error 503. The service is unavailable. At&#xA;  E:\sc9_com_install\SIF\Modules\InitializeCommerce\InitializeCommerce.psm1:73 char:17&#xA;  + ... $response = Invoke-RestMethod $UrlIdentityServerGetToken -Method Post ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebE&lt;br&gt;&#xA;  xception&#xA;      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Also if I try to hit the URL for Commerce Authoring, the app pools(if it is already running) stops and the site throws service unavailable 503 error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have anyone faced this issue or know the solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. I have x64 system with windows 10 installed and have almost all .net frameworks SDK installed along with DotNetCore.2.0.5-WindowsHosting also installed&lt;/p&gt;&#xA;" OwnerUserId="2305" LastEditorUserId="690" LastEditDate="2018-06-26T11:34:47.900" LastActivityDate="2018-07-22T18:20:35.197" Title="Sitecore Commerce Installation error 503 service unavailable" Tags="|sitecore-commerce|powershell|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12517" PostTypeId="1" CreationDate="2018-06-26T08:35:17.003" Score="1" ViewCount="135" Body="&lt;p&gt;I installed the Sitecore Commerce 9 update 1. I followed steps from this site&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://buoctrenmay.com/2018/03/24/step-by-step-guide-for-sitecore-xc9-update-1-installation-on-your-machine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://buoctrenmay.com/2018/03/24/step-by-step-guide-for-sitecore-xc9-update-1-installation-on-your-machine/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After successfully installed powershell script without errors, I tried to open storefront.local/ site and managed to see demo site. However, when I try to open Experience Editor I don't see items from the demo site, I just see empty Experience Editor. Check screenshots.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EPinz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EPinz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BILJY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BILJY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I open storefront.local/ and do search, I get error page &quot;There is no method 'FacetOn' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions&quot;&#xA;I assume that something is wrong. I think I did post installation steps correctly. Can anyone help me with this?&lt;/p&gt;&#xA;" OwnerUserId="3570" LastEditorUserId="690" LastEditDate="2018-06-26T13:19:30.957" LastActivityDate="2018-06-26T13:19:30.957" Title="Sitecore Commerce Demo Site not Rendered on Experience Editor" Tags="|experience-editor|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12518" PostTypeId="2" ParentId="12517" CreationDate="2018-06-26T08:46:52.087" Score="1" Body="&lt;p&gt;That error message usually means that your SOLR indexes are paused. You can check their state using the sitecore powershell tools. You can also check the search log to see if there are any SOLR connection errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a super weird error, but when the indexes are paused Sitecore uses a normal collection for the IQueryable, which isn't supported by the FacetOn extensions method.&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-06-26T08:46:52.087" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12522" PostTypeId="1" CreationDate="2018-06-26T13:12:14.863" Score="1" ViewCount="176" Body="&lt;p&gt;I am using SXA 1.7 and using a search scope which filter using sxa:ItemsWithTheSameValueInField|FieldName, However it is not returning data in my search results. &#xA;Is there something i'm missing?&lt;/p&gt;&#xA;" OwnerUserId="3888" LastEditorUserId="3650" LastEditDate="2018-06-26T21:05:25.923" LastActivityDate="2018-06-28T21:58:29.167" Title="SXA Search Scope filters using sxa: ItemsWithTheSameValueInField" Tags="|sxa|" AnswerCount="0" CommentCount="4" ClosedDate="2018-06-28T21:58:37.637" ContentLicense="CC BY-SA 4.0" />
  <row Id="12525" PostTypeId="2" ParentId="12516" CreationDate="2018-06-26T13:49:18.700" Score="3" Body="&lt;p&gt;It seems that the local account user you have used for the application pool do not have sufficient access or the credentials are incorrectly entered for the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer this blog post for troubleshooting. &#xA;&lt;a href=&quot;https://himadritechblog.wordpress.com/2018/03/10/yet-another-sitecore-commerce-9-installation-blog-post/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://himadritechblog.wordpress.com/2018/03/10/yet-another-sitecore-commerce-9-installation-blog-post/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It mentions that the service unavailable error occurs if user do not have access&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the above link &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you had installed Sitecore Commerce before in your machine and the&#xA;  account CSFndRuntimeUser existed before the installation, it might&#xA;  have a different password than the one used by the installation script&#xA;  to create the SitecoreIdentityServer website. In this case you might&#xA;  see the following error because the App Pool for&#xA;  SitecoreIdentityServer will be stopped for incorrect password. Service&#xA;  Unavailable HTTP Error 503. The service is unavailable.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;If you are installing the Sitecore Commerce 9 in C:\inetpub\wwwroot&#xA;  folder, script might fail to grant permission to CSFndRuntimeUser&#xA;  account to the folder. If that happens, you can resolve the issue by&#xA;  manually granting permission and re-run the script again.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3456" LastEditorUserId="2305" LastEditDate="2018-06-26T14:49:49.037" LastActivityDate="2018-06-26T14:49:49.037" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12528" PostTypeId="1" CreationDate="2018-06-26T14:22:15.460" Score="4" ViewCount="101" Body="&lt;p&gt;A client has requested that they would like to stop users being able to log into sitecore with the same account in different browsers or machines etc.  Does anyone know if this is possible?&lt;/p&gt;&#xA;" OwnerUserId="3183" LastActivityDate="2018-06-26T14:22:15.460" Title="Stop users logging in to the sitecore CMS with the same account in different browsers" Tags="|security|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12529" PostTypeId="1" CreationDate="2018-06-26T14:40:21.970" Score="1" ViewCount="58" Body="&lt;p&gt;In our implementation, when try to visit the Sitecore Experience Profile's individual profile pages, it doesn't show any event related data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see its returning following errors on Web browser console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, cannot see any errors on the sitecore logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9WomU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9WomU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YF1uC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YF1uC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6PKbF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6PKbF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When try to open the webApi call urls in a separate tab, it doesn't return anything. &quot;Page cannot be reached&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help on what could be the issue ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Version : Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="383" LastEditDate="2018-06-26T15:00:19.150" LastActivityDate="2018-06-26T15:00:19.150" Title="Sitecore eXperience Profiler Tool Profile Page doesn't show data from Sitecore WebApi Calls" Tags="|experience-profile|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12530" PostTypeId="2" ParentId="8393" CreationDate="2018-06-26T14:42:36.860" Score="-1" Body="&lt;p&gt;you can used SitecoreController like this and &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;then use api/{controller}/{action}/{id} or api/SearchApi/Search&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SearchApiController &#xA;    : SitecoreController &#xA;{&#xA;&#xA;    [HttpGet]&#xA;    public IHttpActionResult Search()&#xA;    {&#xA;        var searchResults = GetSearchResults();&#xA;        if(searchResults == null)&#xA;            return NotFound();&#xA;        return Ok(searchResults);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3019" LastActivityDate="2018-06-26T14:42:36.860" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12531" PostTypeId="1" AcceptedAnswerId="12539" CreationDate="2018-06-26T17:12:50.440" Score="3" ViewCount="334" Body="&lt;p&gt;I have a Sitecore 9 XP1 topology installed, and&#xA;&lt;strong&gt;XConnect Collection Search&lt;/strong&gt; role from time to time generate logs files bigger than 1GB, and as it is a development environment, this is causing my server to run out of disk space every 2 days.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The file is located at &lt;strong&gt;XConnect Collection Search&lt;/strong&gt; instance on App_data\jobs\continuous\IndexWorker\App_data\Logs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how the entries looks like&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-06-25 00:00:00.010 -04:00 [Error] An error occured.&#xA;  System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Server Error).&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at Sitecore.Xdb.Collection.Search.Solr.SolrClient.d__4.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at Sitecore.Xdb.Collection.Search.Solr.SolrRebuildStatusStorage.d__5.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at Sitecore.XConnect.Search.Indexer.IndexerHost.d__28.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any ideas why am I getting such errors?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2018-06-27T03:00:36.377" Title="XConnect Indexer Log Huge" Tags="|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12533" PostTypeId="2" ParentId="9659" CreationDate="2018-06-26T21:04:44.620" Score="1" Body="&lt;pre&gt;&lt;code&gt;&amp;lt;location path=&quot;sitecore/shell/WebService&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;allow users=&quot;?,*&quot; /&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;this should be added to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\inetpub\wwwroot\tac.corporate\Web.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Not&lt;/strong&gt; on the Visual Studio editor after doing &lt;p&gt;&#xA;&lt;code&gt;Add &amp;gt; Existing item... &amp;gt; Add C:\inetpub\wwwroot\tac.corporate\Web.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JLXtD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JLXtD.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added it after&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, make sure that you are on Visual Studio on Administrator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, you can do&#xA;&lt;code&gt;Add &amp;gt; Existing item... &amp;gt; Add C:\inetpub\wwwroot\tac.corporate\Web.config&lt;/code&gt;.&#xA;(as per the Sitecore Platform Essentials for Developer eLearning Student Lab Guide)&lt;/p&gt;&#xA;" OwnerUserId="3865" LastActivityDate="2018-06-26T21:04:44.620" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12534" PostTypeId="1" CreationDate="2018-06-26T21:35:30.733" Score="0" ViewCount="570" Body="&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/10709/implement-subdomain-redirects-while-using-sitecore-url-rewrite-module&quot;&gt;In this post&lt;/a&gt; we have successfully implemented the subdomain redirect so now I'm going to implement domain redirect itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Entered URL: www.mysite.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Expected URL: www.samplesite.com/about/history&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all we have to change DNS mapping of &lt;strong&gt;www.mysite.com&lt;/strong&gt; URL so that this can start pointing to &lt;strong&gt;www.samplesite.com&lt;/strong&gt; Load balancer IP address so basically CNAME for &lt;strong&gt;www.mysite.com&lt;/strong&gt; should start pointing to &lt;strong&gt;www.samplesite.com&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to follow the same process for domain redirect which I followed for sub-domain redirect &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10709/implement-subdomain-redirects-while-using-sitecore-url-rewrite-module&quot;&gt;in this post&lt;/a&gt;&#xA;OR I need to make some change in Inbound/Outbound rules&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="73" LastEditDate="2018-06-28T21:59:19.233" LastActivityDate="2018-06-28T21:59:19.233" Title="Implement domain redirects while using sitecore URL Rewrite module" Tags="|redirect|url-rewrite|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12535" PostTypeId="1" CreationDate="2018-06-26T21:47:35.797" Score="1" ViewCount="115" Body="&lt;p&gt;I want to know whether I can/should make &lt;code&gt;/sitecore&lt;/code&gt; redirect to &lt;code&gt;sitecore.mysite.com&lt;/code&gt;, and if so, how would I go about doing this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've figured out how to set up &lt;code&gt;sitecore.mysite.com&lt;/code&gt;, and even have the shell and admin as &lt;code&gt;/shell&lt;/code&gt; and &lt;code&gt;/admin&lt;/code&gt; respectively, without the preceding &lt;code&gt;/sitecore&lt;/code&gt; part. What I can't figure out is how to make the old links redirect to the sub-domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also realized that the login page only works if it is &lt;code&gt;/sitecore/login&lt;/code&gt;, and there may very well be other links that don't work properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is any of this possible in Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="3838" LastActivityDate="2024-03-19T06:03:30.400" Title="Is it possible/advisable to make the Sitecore CP accessible via sub-domain?" Tags="|site-configuration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12536" PostTypeId="1" AcceptedAnswerId="12543" CreationDate="2018-06-26T22:06:19.557" Score="1" ViewCount="178" Body="&lt;p&gt;I have a Pass Powershell Arm installed Sitecore 9.0.1 XP1 install.  Verified that analytics were working (Collecting and reporting visits in the Experience Analytics Dashboard.  We installed DNS CNAME entries and corresponding SSL certificates for the new domain names and we are now getting 500 server errors on the Experience analytics pages.  Has anyone encountered this?  Is there another step required to configure XConnect for the new DNS names?&lt;/p&gt;&#xA;" OwnerUserId="2807" LastActivityDate="2018-06-27T07:56:44.967" Title="Azure Sitecore 9.0.1 XP1 Paas XConnect 500 errors after DNS CNAME and SSL cert added to Site" Tags="|azure|xconnect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12538" PostTypeId="2" ParentId="12516" CreationDate="2018-06-26T22:59:28.153" Score="2" Body="&lt;p&gt;To add to the answer above, you said you're attempting to install Sitecore.Commerce.2018.03-2.1.55 against Sitecore 9.0.2 rev. 180604 (OnPrem)_single.scwdp which isn't supported.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That version of XC is 9.0.1 and needs to be installed against Sitecore 9.0.1, not 9.0.2 like you listed.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Commerce 9.0.2 is due for release shortly, but for now you need to stick with Sitecore 9.0.1&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-06-26T22:59:28.153" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12539" PostTypeId="2" ParentId="12531" CreationDate="2018-06-27T03:00:36.377" Score="3" Body="&lt;p&gt;Based on the error message, it looks like you are getting a 500 error when it is attempting to contact Solr. I would check to make sure your Solr instance is up and running and look at the logs on the Solr side to make sure you aren't having a bunch of errors over there.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-06-27T03:00:36.377" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12540" PostTypeId="2" ParentId="8393" CreationDate="2018-06-27T03:16:27.290" Score="0" Body="&lt;p&gt;Can you please check http://{HostName}/sitecore/admin/showconfig.aspx and verify your pipeline processor position?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest to move it to the last position by applying Sitecore patch configuration or move it to zzz config folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are having the same setup(Sitecore 8.2 update-4) except the case I mentioned above and everything works fine.&lt;/p&gt;&#xA;" OwnerUserId="479" LastActivityDate="2018-06-27T03:16:27.290" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12541" PostTypeId="2" ParentId="12458" CreationDate="2018-06-27T03:58:28.667" Score="2" Body="&lt;p&gt;After a few days of research, I found one easy way to extend Sitecore 9 Commerce Customer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can use xConnect Custom Facets to store custom Customer information. Below link is helpful in creating xConnect Custom Facets:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jitendrasitecore.wordpress.com/2018/02/12/xconnect-create-custom-facet/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jitendrasitecore.wordpress.com/2018/02/12/xconnect-create-custom-facet/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hoping it would be helpful for others :)&lt;/p&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2018-06-27T03:58:28.667" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12542" PostTypeId="1" CreationDate="2018-06-27T07:43:13.497" Score="1" ViewCount="156" Body="&lt;p&gt;We are creating a shopping website with Sitecore Experience Commerce (SXC) 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We only provide &quot;Ship items&quot; option as delivery preference. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to hide the selection of delivery preference option in the checkout flow?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YvMQf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YvMQf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3891" LastEditorUserId="2056" LastEditDate="2018-06-28T09:37:11.037" LastActivityDate="2018-07-10T17:44:56.383" Title="Checkout flow hide delivery preference selection" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12543" PostTypeId="2" ParentId="12536" CreationDate="2018-06-27T07:49:11.827" Score="1" Body="&lt;p&gt;Check the WEBSITE_LOAD_CERTIFICATES application setting in on your app service in azure. It should correspond to the certificates used by xConnect and not your custom certificates. You can also set this value to * to load all the certificates.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sw5F0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sw5F0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be aware that these settings are filled in by the ARM templates and scripts. So you may need to adapt your script. Our script got corrupted by adding a second certificate because the call to fetch the certificates returned an array instead of the single certificate. We had to adopt the script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The value should correspond with the value in your connection string.&#xA;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=&amp;lt;&amp;lt;some-value&gt;&gt;;AllowInvalidClientCertificates=true&lt;/p&gt;&#xA;" OwnerUserId="3675" LastEditorUserId="3675" LastEditDate="2018-06-27T07:56:44.967" LastActivityDate="2018-06-27T07:56:44.967" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12545" PostTypeId="1" AcceptedAnswerId="12547" CreationDate="2018-06-27T08:03:25.960" Score="2" ViewCount="152" Body="&lt;p&gt;In our solution (&lt;em&gt;Sitecore 8.2 rev. 170728&lt;/em&gt;), the &lt;em&gt;Phrase&lt;/em&gt; fields of dictionary items are not indexed. Since this is the easiest way for our content authors to find the correct dictionary items, this is quite annoying. This seems also to be the case in a Vanilla Siteore 8.2 Installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the Configuration, the field should be indexed (the &lt;em&gt;Key&lt;/em&gt; field is indexed correctly), but it does not end up in the Index (checked with Luke).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know why this field is not indexed and how I can make Sitecore index that field?&lt;/p&gt;&#xA;" OwnerUserId="1714" LastActivityDate="2018-06-27T08:28:54.697" Title="Dictionary Item Phrases are not indexed" Tags="|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12546" PostTypeId="1" AcceptedAnswerId="12548" CreationDate="2018-06-27T08:28:07.413" Score="4" ViewCount="58" Body="&lt;p&gt;In sitecore 8.2 update 4, when we are uploading image from image field on item, media template is versioned type but when we are directly uploading image in media library then media template is unversioned type&#xA;by default&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.UploadAsVersionableByDefault&quot; value=&quot;false&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;it is set to false.&#xA;Any idea?&#xA;And this is happening OOTB for current 8.2 update 4 version.&lt;/p&gt;&#xA;" OwnerUserId="251" LastEditorUserId="124" LastEditDate="2018-06-27T09:17:47.203" LastActivityDate="2018-06-27T09:17:47.203" Title="Uploading media from Image field is uploading as versioned" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12547" PostTypeId="2" ParentId="12545" CreationDate="2018-06-27T08:28:54.697" Score="3" Body="&lt;p&gt;This behavior happens because ID of Phrase field is on excluded field list from indexing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look into file : &lt;strong&gt;\Website\App_Config\Include\Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config&lt;/strong&gt; you will find inside section &lt;strong&gt;exclude hint=&quot;list:AddExcludedField&quot;&lt;/strong&gt; the phrase of field ID . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8GbE2.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8GbE2.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Id of this Phrase field in Sitecore is the &lt;strong&gt;{2BA3454A-9A9C-4CDF-A9F8-107FD484EB6E}&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/n3G1S.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/n3G1S.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-06-27T08:28:54.697" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12548" PostTypeId="2" ParentId="12546" CreationDate="2018-06-27T08:39:14.503" Score="4" Body="&lt;p&gt;it seems bug in 8.2 update 4 which is fixed in update 5. Please see this KB article - &lt;a href=&quot;https://kb.sitecore.net/articles/959696&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/959696&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please try to apply this solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Mahendra&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2018-06-27T08:39:14.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12549" PostTypeId="2" ParentId="11523" CreationDate="2018-06-27T09:31:59.820" Score="10" Body="&lt;p&gt;It looks like the index is not initialized. Adding the following to the &lt;em&gt;marketingDefinitionSolrIndexConfiguration&lt;/em&gt; should fix it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;initializeOnAdd&amp;gt;true&amp;lt;/initializeOnAdd&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since the question was about a developer machine, the initial answer does not apply:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;s&gt;Can you check whether you have this configuration in your delivery server?&lt;/s&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;searchIndexName patch:source=&quot;Sitecore.Marketing.Search.config&quot;&amp;gt;sitecore_marketingdefinitions_master&amp;lt;/searchIndexName&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;s&gt;On the delivery systems, this should probably point to &lt;em&gt;sitecore_marketingdefinitions_web&lt;/em&gt;. The line should be in the file &lt;em&gt;Sitecore.Marketing.Search.config&lt;/em&gt;.&lt;/s&gt;&lt;/p&gt;&#xA;" OwnerUserId="1714" LastEditorUserId="1714" LastEditDate="2018-07-03T08:44:47.947" LastActivityDate="2018-07-03T08:44:47.947" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12550" PostTypeId="1" AcceptedAnswerId="12590" CreationDate="2018-06-27T09:37:11.273" Score="0" ViewCount="705" Body="&lt;p&gt;When using &lt;code&gt;sxa:ItemsWithTheSameValueInField|Fieldname&lt;/code&gt; with droplink field it is not filtering in search scope for example when adding in search scope :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sxa:ItemsWithTheSameValueInField|category&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where the category is a droplink in the template of the context item, is the syntax above correct or should be added in a different way?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="851" LastEditDate="2018-06-27T11:07:58.220" LastActivityDate="2018-06-28T17:55:16.583" Title="SXA search scope tokens" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12551" PostTypeId="2" ParentId="8393" CreationDate="2018-06-27T10:08:23.390" Score="2" Body="&lt;p&gt;It turned out that another member of the team had added a custom pipeline to handle 404's. It's code was checking the Sitecore.Context.Item and returning a 404 status if null, which obviously it would be when invoking the api url. &lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2018-06-27T10:08:23.390" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12553" PostTypeId="1" CreationDate="2018-06-27T10:55:03.073" Score="2" ViewCount="175" Body="&lt;p&gt;So I've got certain items indexed.&#xA;Each item has a &lt;strong&gt;tags&lt;/strong&gt; field, which is used in search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Tags field example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;tags&quot;: &#xA;&quot;{62AEFBF6-2580-4C80-A4E2-D9E82055DCE0}&#xA;|{5A3775E0-8D9F-42FA-B34D-5E93EAA56D4C}&#xA;|{20669674-ED92-488F-BFC7-4C45F4BF3C19}&#xA;|{C926F3FB-CAF6-4606-BBC3-12033A9CD866}&#xA;|{10BC8E78-FF2B-460B-AB71-97FF5E74656A}&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;So it's just a set of IDs.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Then I'm using a query to get these items by their tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here's a query:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore_full_path:(/.*path*/)  &#xA;AND (tags: (5c076a7b\-70a0\-4d1c\-9acd\-8d69db8d21e4)  &#xA;AND tags: (10bc8e78\-ff2b\-460b\-ab71\-97ff5e74656a) &#xA;AND tags: (7a111a76\-1c4f\-4918\-8f16\-54fdf856ea6b))...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The problem is&lt;/strong&gt; that when I use this query, Azure Search returns a couple of extra items, which don't have some of the tag IDs in their &lt;strong&gt;tags field&lt;/strong&gt;. Although, I'm using &lt;strong&gt;AND&lt;/strong&gt; operator in my queries, so that shouldn't happen.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For example&lt;/strong&gt;:&#xA;I would like to get items that have tag A, tag B and tag C.&#xA;So I use this query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore_full_path:(/.*path*/)  &#xA;AND (tags: (A) AND tags: (B) AND tags: (C))...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And as a result I get 6 items. Three of them have all of these tags in the tags field, but other three - only have B and C.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So I'm wondering&lt;/strong&gt;, is this an Azure Search issue or there is something wrong with my query or indexes?&lt;/p&gt;&#xA;" OwnerUserId="3892" LastEditorUserId="3892" LastEditDate="2018-06-27T11:57:07.783" LastActivityDate="2018-11-21T10:56:28.013" Title="Azure Search returns extra results" Tags="|azure-search|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12554" PostTypeId="1" AcceptedAnswerId="12564" CreationDate="2018-06-27T12:48:32.930" Score="1" ViewCount="396" Body="&lt;p&gt;I'm using the ItemService API in Javascript to login to sitecore and dynamically create items &#xA;(&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation i'm using&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var xhr = new XMLHttpRequest();&#xA;xhr.open(&quot;POST&quot;, &quot;http://&amp;lt;your server&amp;gt;/sitecore/api/ssc/item/sitecore%2Fcontent%2Fhome &quot;);&#xA;xhr.setRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;);&#xA;xhr.onreadystatechange = function () {&#xA;  if (this.readyState == 4) {&#xA;    alert('Status: '+this.status+'\nHeaders: '+JSON.stringify(this.getAllResponseHeaders())+'\nBody: '+this.responseText);&#xA;  }&#xA;};&#xA;xhr.send(&quot;{ \n    \&quot;ItemName\&quot;: \&quot;Home\&quot;, \n    \&quot;TemplateID\&quot;: \&quot;76036f5e-cbce-46d1-af0a-4143f9b557aa\&quot;, \n    \&quot;Title\&quot;: \&quot;Sitecore\&quot;, \n    \&quot;Text\&quot;: \&quot;\\r\\n\\t\\t\u003Cp\u003EWelcome to Sitecore\u003C/p\u003E\\r\\n\&quot; \n}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When items are created, i need to publish them but i can't find any informations in the doc about that. Is it possible to do that right after the item is created?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance for your help&lt;/p&gt;&#xA;" OwnerUserId="2278" LastActivityDate="2018-08-26T21:28:03.567" Title="Publish items using the JavaScript ItemService API" Tags="|publishing|sitecore-api|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12555" PostTypeId="1" CreationDate="2018-06-27T13:09:31.007" Score="1" ViewCount="716" Body="&lt;p&gt;We have a requirement to have the CM and CD in the same server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But while we are trying to access the CD URL as www.xyz.com/sitecore we are landing to the sitecore admin page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to deny access to the admin page with CD url. &lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2018-07-02T09:10:10.180" Title="Sitecore CM and CD in the same server" Tags="|deployment|scaling|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12556" PostTypeId="2" ParentId="12555" CreationDate="2018-06-27T13:22:09.990" Score="2" Body="&lt;p&gt;I assume that with &quot;same server&quot; you are talking about the same instance (otherwise you just need to apply the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening&quot; rel=&quot;nofollow noreferrer&quot;&gt;hardering setup&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, a possible solution could be to use the IIS rewrite module to set redirects on the folders you want to deny on the CD url. Put a redirect on &lt;code&gt;/sitecore/admin&lt;/code&gt;, &lt;code&gt;/sitecore/debug&lt;/code&gt;, &lt;code&gt;/sitecore/login&lt;/code&gt;, &lt;code&gt;/sitecore/shell/WebService&lt;/code&gt; and all their children to any path you want (e.g. your homepage)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: as Jose mentioned: this approach does require 2 domain names to make a distinction between CM and CD. Best practice would be to make the CM not publicly available. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: don't do this for the entire /sitecore folder.. that would break your CD.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-06-27T14:48:16.680" LastActivityDate="2018-06-27T14:48:16.680" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12557" PostTypeId="1" CreationDate="2018-06-27T13:45:30.967" Score="0" ViewCount="99" Body="&lt;p&gt;Is there a way to use complex types to duplicate property declarations in a Glass model?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, imagine a page with 5 images on it and each image needs a URL and alt text:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;...&quot; )]&#xA;public class ImagePageGlassModel &#xA;{&#xA;    [SitecoreField(FieldName = &quot;Image 1 URL&quot;)]&#xA;    public virtual string Image1Url { get; set; }&#xA;&#xA;    [SitecoreField(FieldName = &quot;Image 1 Alt&quot;)]&#xA;    public virtual string Image1Alt{ get; set; }&#xA;&#xA;    // repeat for 2, 3 and 4 ...&#xA;&#xA;    [SitecoreField(FieldName = &quot;Image 5 URL&quot;)]&#xA;    public virtual string Image5Url { get; set; }&#xA;&#xA;    [SitecoreField(FieldName = &quot;Image 5 Alt&quot;)]&#xA;    public virtual string Image5Alt{ get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is it possible to refactor this so that you have something like the following and still provide the 10 editable fields in the CMS:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;...&quot; )]&#xA;public class ImagePageGlassModel &#xA;{       &#xA;    [SitecoreField(FieldName = &quot;Image 1&quot;)]&#xA;    public virtual ImageGlassModel Image1 { get; set; }&#xA;&#xA;    // repeat for 2, 3 and 4 ...&#xA;&#xA;    [SitecoreField(FieldName = &quot;Image 5&quot;)]&#xA;    public virtual ImageGlassModel Image5 { get; set; }&#xA;}&#xA;&#xA;public class ImageGlassModel&#xA;{&#xA;    [SitecoreField(FieldName = &quot;URL&quot;)]&#xA;    public virtual string Image1Url { get; set; }&#xA;&#xA;    [SitecoreField(FieldName = &quot;Alt&quot;)]&#xA;    public virtual string Image1Alt{ get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3763" LastEditorUserId="3763" LastEditDate="2018-06-27T14:03:40.253" LastActivityDate="2018-06-27T14:03:40.253" Title="Is there a way to use complex types as SitecoreFields?" Tags="|glass-mapper|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12558" PostTypeId="1" CreationDate="2018-06-27T14:50:19.820" Score="1" ViewCount="244" Body="&lt;p&gt;We are facing issue on production enviornment ad issue is that Sitecore Experience Profile DashBoard is Empty and this issue is only on production not on UAT or QA when i scanned through logs i found this error many times.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Cannot submit pending item: MongoDB.Driver.MongoQueryException: QueryFailure flag was Executor error: Overflow sort stage buffered data usage of 34089254 bytes exceeds internal limit of 33554432 bytes (response was { &quot;$err&quot; : &quot;Executor error: Overflow sort stage buffered data usage of 34089254 bytes exceeds internal limit of 33554432 bytes&quot;, &quot;code&quot; : 17144 }).&#xA;   at MongoDB.Driver.Internal.MongoReplyMessage`1.ReadHeaderFrom(BsonBuffer buffer)&#xA;   at MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument](BsonBinaryReaderSettings readerSettings, IBsonSerializer serializer, IBsonSerializationOptions serializationOptions)&#xA;   at MongoDB.Driver.Operations.QueryOperation`1.GetFirstBatch(IConnectionProvider connectionProvider)&#xA;   at MongoDB.Driver.Operations.QueryOperation`1.Execute(IConnectionProvider connectionProvider)&#xA;   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xA;   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbInteractionStorage.RenumberInteractions(Guid contactId)&#xA;   at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.RenumberInteractions(ID contactId)&#xA;   at Sitecore.Analytics.Data.ContactRepository.ReconcileContact(Contact contact, LeaseOwner owner, TimeSpan duration)&#xA;   at Sitecore.Analytics.Pipelines.SubmitSessionContext.RenumberInteractions.Process(SubmitSessionContextArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Analytics.Pipelines.SubmitSessionContext.SubmitSessionContextPipeline.Run(SubmitSessionContextArgs args)&#xA;   at Sitecore.Analytics.Data.HttpSessionContextManager.Submit(Session session)&#xA;   at Sitecore.Analytics.SubmitQueueService.WakeUp()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can some body suggest me resolution of above issue&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="70" LastEditDate="2018-07-02T18:03:12.390" LastActivityDate="2018-07-02T18:03:12.390" Title="Sitecore Experience Profile DashBoard is Empty" Tags="|mongodb|experience-profile|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12559" PostTypeId="1" AcceptedAnswerId="12569" CreationDate="2018-06-27T15:11:29.060" Score="5" ViewCount="2645" Body="&lt;p&gt;I'm using Sitecore 9 and SXA 1.7.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a few PDF files that I have uploaded into media library/files/myfolder, and an &quot;instructions&quot; template whose fields are title (type: single line text), Date (type: date), description (type: single line text), and file (type: file).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a few items of type &quot;instructions&quot;, and in each of their &quot;file&quot; fields there is one PDF file from the media library/files/myfolder path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is: I created a search results component that searched for these &quot;instructions&quot; items, and I need it to &lt;em&gt;view a download link for these PDF files.&lt;/em&gt; Specifically, to view a link that the user can click on, which opens the related PDF file in a new tab or so.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far I've used the rendering variant to display each item's Name and Date, but I do not know how to show a download link for the PDF file. I have tried using reference-&gt;file in the rendering variant, but it shows nothing on the results page.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="3547" LastEditDate="2018-06-27T17:01:53.680" LastActivityDate="2018-06-27T21:19:18.113" Title="How to display PDF link in Sitecore page" Tags="|sxa|media-library|links|pdf|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12560" PostTypeId="1" AcceptedAnswerId="12567" CreationDate="2018-06-27T15:42:34.210" Score="1" ViewCount="148" Body="&lt;p&gt;I have a field editor button made from the template in core &lt;code&gt;/sitecore/templates/System/WebEdit/Field Editor Button&lt;/code&gt; which has an image field id in the field Fields. When a user clicks on the edit frame, clicks the experience editor button and chooses browse -&gt; upload media the image uploaded will be uploaded in the user's &lt;code&gt;Client Language&lt;/code&gt; rather than the language of the page they are on. Is there a way to configure this to use the page's language rather than the user's client language?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's probably also worth mentioning that this is applied to a &lt;code&gt;View rendering&lt;/code&gt;'s &lt;code&gt;Experience Editor Buttons&lt;/code&gt; field.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-06-28T14:41:26.973" Title="Experience Editor Button Field Editor Button with Image Field Uploading in Client Language" Tags="|experience-editor|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12562" PostTypeId="1" CreationDate="2018-06-27T16:49:08.980" Score="0" ViewCount="430" Body="&lt;p&gt;I have a template for events and I created items from these events. Then for each event item, I have event details which is a page that displays the details of the event, and it has a button &quot;Add to Calendar&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to be able to automatically add this event to the default calendar of the user device (example: Outlook calendar, Google calendar,...) whenever he clicks on that button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clue if there is a plugin that can do this for me or any other solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution is using SxA.&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="70" LastEditDate="2018-06-27T20:14:56.053" LastActivityDate="2018-06-27T20:14:56.053" Title="Sitecore Add Event to calendar SxA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12563" PostTypeId="2" ParentId="11578" CreationDate="2018-06-27T16:50:33.243" Score="3" Body="&lt;p&gt;If this doesn't solve your issue and your site is FIPS compliant, Sitecore has a machine.config update referenced here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/enable_fips&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/enable_fips&lt;/a&gt;, and also detailed here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12532/sitecore-8-2-update-6-componentart-unlicensed-control&quot;&gt;Sitecore 8.2 Update 6 ComponentArt Unlicensed Control&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3889" LastActivityDate="2018-06-27T16:50:33.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12564" PostTypeId="2" ParentId="12554" CreationDate="2018-06-27T16:57:00.153" Score="1" Body="&lt;p&gt;You can use the &lt;code&gt;PublishManager&lt;/code&gt; class to handle publishing of items in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishManager.PublishItem(Item item, Database[] targets, Language[] languages, bool deep, bool compareRevisions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;try&#xA;{&#xA;    var domainUser = @&quot;sitecore\admin&quot;;&#xA;&#xA;    if (Sitecore.Security.Accounts.User.Exists(domainUser))&#xA;    {&#xA;        var user = Sitecore.Security.Accounts.User.FromName(domainUser, false);&#xA;&#xA;        using (new Sitecore.Security.Accounts.UserSwitcher(user))&#xA;            PublishManager.PublishItem(item, webDatabaseArray, languagesArray, false, false);&#xA;    }&#xA;}&#xA;catch (Exception ex)&#xA;{&#xA;    Sitecore.Diagnostics.Log.Error(ex.Message, null);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="933" LastActivityDate="2018-06-27T16:57:00.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12565" PostTypeId="1" CreationDate="2018-06-27T17:40:16.697" Score="2" ViewCount="47" Body="&lt;p&gt;For some reason a lots of empty lines are added when TDS regenerate GlassData.cs.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This makes bitbucket diff hard and a lot longer to read, because the previous version didn't have all these blank lines. Paging down on 59,000 lines is.. very long!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, is there a way to control the formatting of TDS GlassData.cs output? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="690" LastEditDate="2018-06-28T04:46:11.867" LastActivityDate="2018-06-28T04:46:11.867" Title="Adding extra empty lines in GlassData.cs through TDS" Tags="|glass-mapper|tds|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12566" PostTypeId="2" ParentId="12562" CreationDate="2018-06-27T19:31:52.980" Score="3" Body="&lt;p&gt;You can try to use Variant Template and construct there such link in NVelocity template:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;http://www.google.com/calendar/event?action=TEMPLATE&amp;amp;text=[event-title]&amp;amp;dates=[start-custom format='Ymd\\THi00\\Z']/[end-custom format='Ymd\\THi00\\Z']&amp;amp;details=[description]&amp;amp;location=[location]&amp;amp;trp=false&amp;amp;sprop=&amp;amp;sprop=name:&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&amp;gt;Add to my calendar&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should add an event to the callender on the google account you are currently logged in (I didn't test it, just found that fancy link somewhere).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also still use plugins like those:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://add.eventable.com/free-add-to-calendar-button&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://add.eventable.com/free-add-to-calendar-button&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.addevent.com/add-to-calendar-button&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.addevent.com/add-to-calendar-button&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-27T19:31:52.980" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12567" PostTypeId="2" ParentId="12560" CreationDate="2018-06-27T20:04:20.500" Score="1" Body="&lt;p&gt;Reported this to Sitecore and it is a bug that can be &lt;a href=&quot;https://sitecore.app.box.com/s/vxjdzd843tralqlcjsm0643qvni2h4zj&quot; rel=&quot;nofollow noreferrer&quot;&gt;fixed with this patch&lt;/a&gt;. The patch is &lt;code&gt;Sitecore.Support.189805&lt;/code&gt;. The supported versions of the linked version are &lt;code&gt;Sitecore CMS 8.2 rev. 170407 (Update-3)&lt;/code&gt; and &lt;code&gt;Sitecore CMS 8.2 rev. 170728 (Update-5)&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-06-28T14:41:26.973" LastActivityDate="2018-06-28T14:41:26.973" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12569" PostTypeId="2" ParentId="12559" CreationDate="2018-06-27T21:19:18.113" Score="5" Body="&lt;p&gt;Did you create variant items under reference field? You need to display something in order to render a link. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works fine on my machine. Here are screenshots with the setup:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Template&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/r5wTt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/r5wTt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Content&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/xgHRU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xgHRU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Media Library&lt;/strong&gt; (&lt;code&gt;Title&lt;/code&gt; field is not filled automatically)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DIqjo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DIqjo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Variant&lt;/strong&gt; (pass through: &lt;code&gt;File&lt;/code&gt;)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/05p3g.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/05p3g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Results in EE&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ofFSK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ofFSK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-06-27T21:19:18.113" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12570" PostTypeId="2" ParentId="12376" CreationDate="2018-06-28T00:32:04.137" Score="2" Body="&lt;p&gt;Finally I fixed it by following the below steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable language settings at &lt;strong&gt;site level&lt;/strong&gt; in config file under  configuration as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site&#xA;name=&quot;custom-portal&quot;&#xA;hostName=&quot;portal&quot;&#xA;virtualFolder=&quot;/&quot;&#xA;physicalFolder=&quot;/&quot;&#xA;rootPath=&quot;/sitecore/content/portal&quot;&#xA;startItem=&quot;/home&quot;&#xA;database=&quot;web&quot;&#xA;domain=&quot;extranet&quot;&#xA;allowDebug=&quot;true&quot;&#xA;cacheHtml=&quot;true&quot;&#xA;htmlCacheSize=&quot;10MB&quot;&#xA;registryCacheSize=&quot;0&quot;&#xA;viewStateCacheSize=&quot;0&quot;&#xA;xslCacheSize=&quot;5MB&quot;&#xA;filteredItemsCacheSize=&quot;2MB&quot;&#xA;enablePreview=&quot;true&quot;&#xA;enableWebEdit=&quot;true&quot;&#xA;enableDebugger=&quot;true&quot;&#xA;disableClientData=&quot;false&quot;&#xA;notFoundItem=&quot;/Error-404&quot;&#xA;patch:before=&quot;site[@name='website']&quot;&#xA;dictionaryDomain=&quot;PortalDictionary&quot;&#xA;&#xA;enableItemLanguageFallback=&quot;true&quot;&#xA;enableFieldLanguageFallback=&quot;true&quot;&#xA;enforceVersionPresence=&quot;true&quot;&#xA;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable language fall-back setting at &lt;strong&gt;language level&lt;/strong&gt; under Sitecore-&gt;System-&gt;Languages in Sitecore&#xA;&lt;a href=&quot;https://i.stack.imgur.com/8qthw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8qthw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable language fall-back setting at &lt;strong&gt;template level&lt;/strong&gt;. &lt;strong&gt;Then only glassmapper will read the non-shared fields&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BxLTn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BxLTn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Add &lt;strong&gt;VersionCountDisabler&lt;/strong&gt; in global.ascx.cs, which is required by the glassmapper and this is the most important step.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LMziB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LMziB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1004" LastActivityDate="2018-06-28T00:32:04.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12572" PostTypeId="1" CreationDate="2018-06-28T03:42:27.730" Score="1" ViewCount="335" Body="&lt;p&gt;Sitecore 9.0 Update 2 - Hi All, we are upgrading Sitecore from 8.1 - Update 1 to Sitecore 9.0 - Update 2, while installing the update i.e. &lt;strong&gt;Sitecore 9.0.2 rev. 180604 (update package for 8.1).update&lt;/strong&gt; I am seeing following issue i.e. at the end of the installation, it's trying to delete some files and it's looping the same action. We have provided all necessary permissions to delete the files and disabled custom pipelines configs that we are using. Below the is the error what I am seeing. Could please help me in this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;ManagedPoolThread #16 18:03:23 ERROR One or more exceptions occurred while processing the subscribers to the 'item:saving' event.&#xA;Exception[1]: System.NullReferenceException &#xA;Message[1]: Object reference not set to an instance of an object. &#xA;Source[1]: Sitecore.Kernel&#xA;at Sitecore.Tasks.ItemEventHandler.UpdateReminder(Item item, Boolean force)&#xA;at Sitecore.Tasks.ItemEventHandler.OnItemSaving(Object sender, EventArgs args)&#xA;at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&lt;/li&gt;&#xA;&lt;li&gt;ManagedPoolThread #16 18:05:04 ERROR One or more exceptions occurred while processing the subscribers to the 'item:deleted' event.&#xA;Exception[1]: System.NullReferenceException &#xA;Message[1]: Object reference not set to an instance of an object. &#xA;Source[1]: Sitecore.Kernel &#xA;at Sitecore.Tasks.ItemEventHandler.OnItemDeleted(Object sender, EventArgs args)&#xA;at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1116" LastEditorUserId="90" LastEditDate="2018-06-28T10:13:30.893" LastActivityDate="2018-06-28T10:13:30.893" Title="Issue with Sitecore 9.0 - Update 2" Tags="|upgrade|" AnswerCount="0" CommentCount="1" ClosedDate="2018-06-28T15:18:50.007" ContentLicense="CC BY-SA 4.0" />
  <row Id="12575" PostTypeId="1" AcceptedAnswerId="15004" CreationDate="2018-06-28T07:23:16.727" Score="7" ViewCount="335" Body="&lt;p&gt;I am preparing me for my first XP1 Installation and I only have One CD and one CM in my setup.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;For what is the &quot;sitecore-xp1-dds.json&quot; for. whats the usage of this configuration JSON and when do I need to install it?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;and when do I need to install the &quot;sitecore-XP1-cm-dds-patch.json&quot;?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;and when do I have to install the cm-secondary Json file? (I think only when I have more then one CM)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Do I have to install a SOLr Zookeeper or can I just pass nothing into the &quot;SolrZookeeperUrl&quot; parameter? Is this working?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2018-06-28T08:05:10.990" LastActivityDate="2018-11-18T03:53:25.563" Title="XP1 Installation Question for DDS and cm-secondary" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12576" PostTypeId="1" CreationDate="2018-06-28T08:03:16.533" Score="2" ViewCount="142" Body="&lt;p&gt;I developed a Sitecore Control in its own separate Visual Studio Project. In order for it to work, it needs (among other things) to have some of its files copied to the Startup Project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been told to look at post-build events and xcopy, but none of the &lt;a href=&quot;https://msdn.microsoft.com/en-us/library/c02as0cs.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;macros usable by default&lt;/a&gt; seems to do what I need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question 1:&lt;/strong&gt; How do I copy an arbitrary group of files to the Startup Project (preserving folder structure) upon build?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, I added a package with the Core database items my module needs in the project repo; Sure, I have built a Sitecore Package with everything ready, but I would like to make the source available as well. Thus,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question 2:&lt;/strong&gt; is there a better way to organize and share a developed Module other than a VS Project?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: to be more clear, my Control requires adding files under the /sitecore/shell folder. As I change them during development, I should copy them manually to the web root, so I'd rather have this done automatically.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="2056" LastEditDate="2018-06-28T11:43:39.750" LastActivityDate="2018-06-28T11:45:52.107" Title="Developing a Module as a Visual Studio Project: how to copy the relevant files upon build? How to organise the VS Project?" Tags="|module|visual-studio|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12577" PostTypeId="2" ParentId="12542" CreationDate="2018-06-28T09:35:50.887" Score="1" Body="&lt;p&gt;You have two options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1) Quick &amp;amp; dirty solution&lt;/strong&gt; (not recommended) is to alter Delivery.cshtml file which you can locate under path_to_your_sitecore_instance\Views\Commerce\Checkout&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the code that you need to change for removing header and select box:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/blsjN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/blsjN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can remove it but you need to take care of preselecting &quot;Shipping options&quot; somewhere in the logic to show you shipping address and so on and to preserve the flow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is however not good solution in terms of keeping maintainability and upgradability of your solution.&#xA;I would use this option as starting point to determine whether this is even possible, then revert changes and do the same code changes by following option 2)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2) Best solution:&lt;/strong&gt;&#xA;You need to create your own Delivery View where you alter code similarly in option 1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create your own Checkout rendering and controller by inheriting original one:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JvwzU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JvwzU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to change View resolution to direct Delivery method to use your cshtml file:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nax04.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nax04.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally you need to change links to OOTB Delivery Controller to yours:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sfoOG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sfoOG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-10T17:44:56.383" LastActivityDate="2018-07-10T17:44:56.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12579" PostTypeId="2" ParentId="12576" CreationDate="2018-06-28T11:35:28.823" Score="2" Body="&lt;p&gt;&lt;strong&gt;Question 1 Answer:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Under your VS web project, create identical structure as you need for all files under your_sitecore_instance_path/Sitecore/ folder that you would like to deploy:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Wqhey.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Wqhey.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to specify &quot;Content&quot; as their build action in Properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Or44.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Or44.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create WDP package to webdeploy it or you can use TDS (see below).&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use TDS or Unicorn; If you use TDS -&gt; create ClientName.TDS.Core project where you add all core database items that you would like to share / deploy to Sitecore. You can link TDS to your web VS project created in first step and you can create Sitecore update package. This can be then easily deployed to Sitecore (both Sitecore items for core db and also files in /sitecore/ folder)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question 2 Answer:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sounds legit :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best would be if your team uses Git or other code repository that supports branching. You should create branch for this feature. Add your VS project into solution based on what was written in Question 1 Answer and then commit, push and integrate your branch back to main / trunk or create pull request.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-28T11:45:52.107" LastActivityDate="2018-06-28T11:45:52.107" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12580" PostTypeId="1" CreationDate="2018-06-28T12:32:00.973" Score="0" ViewCount="859" Body="&lt;p&gt;We are facing an issue on our Production environment: the Experience Profile Dashboard is empty. When we look at the logs we found &lt;code&gt;Tracker.IsActive= false&lt;/code&gt; and it says that &lt;code&gt;Release contact Processor&lt;/code&gt; is skipped.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can this be the reason that Sitecore Experience Profile DashBoard is empty?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What actually does &lt;code&gt;ReleaseContactProcessor&lt;/code&gt; do in the &lt;code&gt;End Analytics Pipeline&lt;/code&gt;? Is this the processor which pushes data to the Reporting Db from MongoDB?&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="237" LastEditDate="2019-12-24T10:26:48.277" LastActivityDate="2021-06-10T03:30:26.567" Title="Sitecore Release Contact Processor" Tags="|mongodb|experience-profile|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12581" PostTypeId="2" ParentId="12580" CreationDate="2018-06-28T12:56:00.680" Score="1" Body="&lt;p&gt;There are a few reasons why the &lt;code&gt;ReleaseContact&lt;/code&gt; processor might be skipped. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code for that method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(PipelineArgs args)&#xA;{&#xA;  if (Tracker.Current == null)&#xA;  {&#xA;    Log.Debug(&quot;Tracker is not initialized. ReleaseContact processor is skipped&quot;);&#xA;  }&#xA;  else&#xA;  {&#xA;    Session session = Tracker.Current.Session;&#xA;    Assert.IsNotNull((object) session, &quot;Tracker.Current.Session&quot;);&#xA;    if (session.TransferInProcess)&#xA;      Log.Debug(&quot;Contact is being transferred. ReleaseContact processor is skipped&quot;);&#xA;    else if (session.Contact == null)&#xA;      Log.Debug(&quot;Contact is null. ReleaseContact processor is skipped&quot;);&#xA;    else if (session.Settings.IsTransient)&#xA;    {&#xA;      Log.Debug(&quot;Session is in TRANSIENT MODE. ReleaseContact processor is skipped&quot;);&#xA;    }&#xA;    else&#xA;    {&#xA;      if (session.IsReadOnly)&#xA;        return;&#xA;      ContactManager contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;      string message = &quot;tracking/contactManager&quot;;&#xA;      Assert.IsNotNull((object) contactManager, message);&#xA;      Contact contact = session.Contact;&#xA;      contactManager.SaveAndReleaseInSharedSessionState(contact);&#xA;      session.Contact = (Contact) null;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, if the Tracker is not enabled, a transfer is already in process, the &lt;code&gt;session.Contact&lt;/code&gt; is null or &lt;code&gt;session.Settings.IsTransient&lt;/code&gt; is true. In any of those situations the processor is skipped. Your log files should tell you which.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on your statement that &lt;code&gt;Tracker.IsActive == false&lt;/code&gt; my guess is your logs look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;5000 15:54:43 DEBUG [Analytics]: Tracker.IsActive == false. EndAnalytics pipeline is terminated&#xA;&#xA;5000 15:54:43 DEBUG Tracker is not initialized. ReleaseContact processor is skipped&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In that case check the following settings in your config. They need to both be set to true:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, make sure that the &lt;code&gt;enableAnalytics&lt;/code&gt; attribute on your site definition is not &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thing to check is that you have &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; in your main layout file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this should get you close.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-06-28T12:56:00.680" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12582" PostTypeId="1" CreationDate="2018-06-28T13:18:54.883" Score="6" ViewCount="227" Body="&lt;p&gt;I am using Sitecore 9.0 version 171219 with data exchange framework 2.0 and after following the steps in the below link to use restful provider and starting the pipeline patch nothing happened and the summary file is empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://dataexchange.loveyourdemo.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dataexchange.loveyourdemo.com/&lt;/a&gt;&#xA;&lt;a href=&quot;https://github.com/waughn/data-exchange-restful-provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/waughn/data-exchange-restful-provider&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help for how to debug this issue or if there are any other logs that i can check? &lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="843" LastEditDate="2018-07-03T06:38:00.987" LastActivityDate="2018-07-03T06:59:05.783" Title="Empty Pipeline Batch Log file after running" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12583" PostTypeId="1" AcceptedAnswerId="12584" CreationDate="2018-06-28T14:33:20.550" Score="8" ViewCount="919" Body="&lt;p&gt;We changed the password complexity for users using a &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;passwordStrengthRegularExpression&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;property, it works fine but how can we inform the user about the format of password needed. &#xA;For example if the user need to change his password and he didn't know the regex he can't spend a lot of time without founding the best password format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default sitecore display this message&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KRG60.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KRG60.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and if we create a new user also the error message didn't give any information's about the needed password format&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3ysaf.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3ysaf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we customize these error messages?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using sitecore 8.2 with SXA1.4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2820" LastEditorUserId="73" LastEditDate="2018-06-28T15:14:27.530" LastActivityDate="2018-07-02T16:13:47.170" Title="Changing the &quot;Invalid Password&quot; message in User Manager" Tags="|user-management|user-profile|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12584" PostTypeId="2" ParentId="12583" CreationDate="2018-06-28T14:41:57.187" Score="7" Body="&lt;p&gt;This message is a dictionary entry in the &lt;code&gt;core&lt;/code&gt; database in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to Sitecore Desktop, switch to &lt;code&gt;core&lt;/code&gt; database and find the item: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Path: &lt;code&gt;/sitecore/system/Dictionary/F/Failed to set the password   Possible reasons are   1  The old password is incorrect  2  The new p_1&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ID: &lt;code&gt;{098CF1DA-CF18-412A-9EE9-A82E14BA3731}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Enter any &lt;code&gt;Phrase&lt;/code&gt; value you want:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8W5AZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8W5AZ.png&quot; alt=&quot;Sitecore Failed to set the password dictionary entry&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did test it and it worked:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xpdYa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xpdYa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be aware that:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;There are 2 items with similar names. Make sure you edit the correct one.&lt;/li&gt;&#xA;&lt;li&gt;You should not change the key - only set the &lt;code&gt;Phrase&lt;/code&gt; field value.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-06-29T06:29:00.347" LastActivityDate="2018-06-29T06:29:00.347" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12585" PostTypeId="1" CreationDate="2018-06-28T14:59:30.090" Score="1" ViewCount="1051" Body="&lt;p&gt;Is there a way where i can delete the Item from Sitecore Solr Index when an Item is deleted since item is not there i can not get the handle of item &lt;/p&gt;&#xA;" OwnerUserId="1533" LastActivityDate="2018-07-31T16:01:35.230" Title="Sitecore Index Update on Item Delete" Tags="|solr|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="12586" PostTypeId="1" AcceptedAnswerId="12604" CreationDate="2018-06-28T16:18:43.510" Score="1" ViewCount="619" Body="&lt;p&gt;Is there any way to attach two SXA sites from one Sitecore instance (IIS instance) to different port number of one domain name? For example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://abc.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://abc.com&lt;/a&gt; is on port 80 and pointing to one sxa site.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://abc.com:4502&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://abc.com:4502&lt;/a&gt; is on port 4502 and pointing to other sxa site.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I tried by:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added new binding with port 4502 in IIS&lt;/li&gt;&#xA;&lt;li&gt;Added host name as ABC.com:4502 in sxa site manager&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But when I am trying to access &lt;a href=&quot;http://ABC.com:4502&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://ABC.com:4502&lt;/a&gt; then it's rendering default site which are on port 80 i.e. &lt;a href=&quot;http://ABC.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://ABC.com&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="1671" LastEditDate="2018-06-29T11:58:25.870" LastActivityDate="2018-06-29T12:40:47.970" Title="Map SXA multi site to single domain with different ports" Tags="|sxa|multisite|iis|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12587" PostTypeId="1" CreationDate="2018-06-28T16:37:45.497" Score="3" ViewCount="878" Body="&lt;p&gt;Any idea how I can access the fields of an item inside the variant NVelocity template? &#xA;I have code inside my variant template and I'm trying to read the template fields using @Html.Sitecore().Field(&quot;Field Title&quot;) but it's not working.&#xA;Is there something I'm missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aikSs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aikSs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="237" LastEditDate="2018-06-28T16:53:55.493" LastActivityDate="2018-10-31T12:28:36.970" Title="Sitecore SXA Access Template fields inside a Variant Nvelocity template" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12588" PostTypeId="2" ParentId="12587" CreationDate="2018-06-28T16:52:32.223" Score="4" Body="&lt;p&gt;In a NVelocity template you can access the fields of the current context item with &lt;code&gt;$item.Fields.FieldName&lt;/code&gt; where FieldName is the name of your field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, the space in your field name could become an issue. Not sure how to do that. But you could rename the field (dismiss the space) and give it a display name for the editors if you want them to see it with a space.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-06-28T16:52:32.223" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12589" PostTypeId="1" AcceptedAnswerId="12595" CreationDate="2018-06-28T17:44:39.077" Score="2" ViewCount="158" Body="&lt;p&gt;I have successfully and rather easily deployed the XPSingle environment found here:  &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/Sitecore%209.0.2/XPSingle&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/Sitecore%209.0.2/XPSingle&lt;/a&gt;.  Pretty pleased with it overall!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, now I want to modify my ARM template to separate the CD server into a separate App Service - while leaving CM, Reporting, Processing on the first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it as simple as modifying the WDP for Single to remove the CD role, and then adding the appropriate one for CD - and adding the correct resources to the azuredeploy.json?&lt;/p&gt;&#xA;" OwnerUserId="467" LastActivityDate="2018-06-29T06:57:02.390" Title="Modify XPSingle ARM template" Tags="|azure-resource-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12590" PostTypeId="2" ParentId="12550" CreationDate="2018-06-28T17:55:16.583" Score="0" Body="&lt;p&gt;The syntax looks fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will write a few validation steps to help you.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Validate query&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Check your logs to see how Search Queries look like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For my token configured in a following way:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sxa:ItemsWithTheSameValueInField|Test&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've got the following query:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;12996 19:42:15 INFO  ExecuteQueryAgainstLucene (sitecore_sxa_web_index): +_latestversion:1 +(+(+_path:0dae33a26f53473e8abdb054d9bf3b75 +searchable:1) +test:de30ff2da089418bb4922855609a3537)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice this part:&#xA;&lt;code&gt;+test:de30ff2da089418bb4922855609a3537&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My context item where I execute the query from:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/u6qLG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u6qLG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your field is not in a query then it means that your context item does not contain this field. If it does and it looks good then move to a next step.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Check index content&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Make sure that your field is stored in the &lt;strong&gt;SXA&lt;/strong&gt; index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find your index against which you fire search queries when you open chrome dev tools:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jHAiz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jHAiz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My field looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5kbEZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5kbEZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Values in the index must be &quot;comparable&quot; with those from search queries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If for example, your &lt;code&gt;category&lt;/code&gt; field is a computed field, it will not work (normalized raw field value from an item has to be comparable with values in the index).&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-06-28T17:55:16.583" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12591" PostTypeId="2" ParentId="11578" CreationDate="2018-06-28T18:27:06.123" Score="0" Body="&lt;p&gt;If 1st and 2nd answer don't work for you, please download ZIP archive of the Sitecore site root folder and replace Sitecore folder and DLLs in your solution. It should resolve this problem.  Thanks!&lt;/p&gt;&#xA;" OwnerUserId="2644" LastActivityDate="2018-06-28T18:27:06.123" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12592" PostTypeId="2" ParentId="12555" CreationDate="2018-06-28T18:43:28.220" Score="1" Body="&lt;p&gt;Go to IIS. Select &lt;strong&gt;Admin&lt;/strong&gt; folder under the &lt;strong&gt;Sitecore&lt;/strong&gt; folder. In &lt;strong&gt;Feature View&lt;/strong&gt;, Double click on &lt;strong&gt;Authentication&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m1v3u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m1v3u.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select &lt;strong&gt;Anonymous Authentication&lt;/strong&gt; and click &lt;strong&gt;Disable&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yy9gT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yy9gT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2644" LastActivityDate="2018-06-28T18:43:28.220" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12595" PostTypeId="2" ParentId="12589" CreationDate="2018-06-29T06:57:02.390" Score="1" Body="&lt;p&gt;Required things to do:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Adapt WDP to remove CD role&lt;/li&gt;&#xA;&lt;li&gt;Create a seperate WDP with just the CD role&lt;/li&gt;&#xA;&lt;li&gt;Modify the nested/application.json to deploy the new cd&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Optionaly you might want to adapt infrastructure.json to create a seperate appserviceplan for your cd.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also inverse the method by starting from the XP-Scaled and then bundling the reporting and processing onto the cm.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-06-29T06:57:02.390" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12596" PostTypeId="1" CreationDate="2018-06-29T07:57:02.560" Score="0" ViewCount="77" Body="&lt;p&gt;We have the commerce server setup in a remote server. When browsing the CMS from that server, the modules - &lt;code&gt;Customer &amp;amp; Order Manager&lt;/code&gt; and &lt;code&gt;Merchandising Manager&lt;/code&gt; load fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if I browser them from a local machine &lt;code&gt;http://&amp;lt;serverip&amp;gt;/sitecore/client/Applications/CustomerOrderManager/Search&lt;/code&gt;, the data doesn't load.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It only shows up if the browser debugger is open. Checked in chrome &amp;amp; firefox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HtMu5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HtMu5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-07-03T07:45:04.820" Title="Commerce modules load only when browser debugger is open" Tags="|sitecore-client|sitecore-commerce|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12597" PostTypeId="1" AcceptedAnswerId="12641" CreationDate="2018-06-29T09:23:32.850" Score="11" ViewCount="2169" Body="&lt;p&gt;I am trying to setup mit XP1 installation requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I've setup a single SOLR server with Zookeeper on it like descripted here:&#xA;&lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/setting-up-an-external-zookeeper-ensemble.html&quot; rel=&quot;noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/setting-up-an-external-zookeeper-ensemble.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think I've up and running SOLR and Zookeeper, how could I know if I've done everything right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My SOLR I can reach from the outside from the server with HTTPS like &lt;a href=&quot;https://mysolrserver:8983/solr&quot; rel=&quot;noreferrer&quot;&gt;https://mysolrserver:8983/solr&lt;/a&gt; but I cant' call the Zookeeper under port 2181 is that right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And what I have to fill in into the sitecore-XP1.json under &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;SolrZookeeperUrl&quot;: {&#xA;        &quot;Type&quot;: &quot;string&quot;,&#xA;        &quot;DefaultValue&quot;: &quot;localhost:2181&quot;,&#xA;        &quot;Description&quot;: &quot;The Zookeeper instance to use.&quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is localhost the right url to post here, because SOLR and Zookeeper are on the same machine? Because my CD and CM are on other machines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The localhost Problem is SOLVED =&gt; I've found a hint inthe Installation Guide&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LENpC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LENpC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and my SOLR Setting looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &quot;SolrUrl&quot;: {&#xA;        &quot;Type&quot;: &quot;string&quot;,&#xA;        &quot;DefaultValue&quot;: &quot;https://sitecore.staging.com:8983/solr&quot;,&#xA;        &quot;Description&quot;: &quot;The Solr instance to use.&quot;&#xA;    },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've changed my Start Aguments from my SOLR instance to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;bin/solr start -e cloud -z localhost:2181 -noprompt&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I've tried to install the SOLR Indexes from my Sitecore Setup&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration -Path &quot;C:\Sitecore\xconnect-solr.json&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then I got an Error &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/56wCm.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/56wCm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;And when I Look into the Solr Log&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DAwSg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DAwSg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I see the following Error and under Cloud I am currently see&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yacCd.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yacCd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I am not shure what I've done wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when I call the &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.\zkcli.bat -zkhost localhost:2181 -cmd list&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7g5l6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7g5l6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see this output, but I can't interpret it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got it installed, how I will explain in the answerpost, when I get everything working but when I try to install the sitecore-solr.json I get the following cloud setup&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oYi3D.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oYi3D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the blubb and blubb2 indexes I added manually and they are the only ones which are connected to both of my SOLR instances. So I have to create all Indexes manually? Is this a bug in the JSON files?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2018-07-02T12:33:41.640" LastActivityDate="2018-07-03T09:40:58.013" Title="SOLR and Zookeeper setup" Tags="|solr|sitecore-install-framework|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12598" PostTypeId="1" CreationDate="2018-06-29T09:28:25.280" Score="3" ViewCount="172" Body="&lt;p&gt;I have a particular issue with &lt;code&gt;Sitecore 9.0.1&lt;/code&gt;. I need to create a custom flexible dimension. Initially I create the dimension and register it in the configuration file. Subsequently I deleted it from both master &amp;amp; web databases (and from the configuration file). &#xA;However the aggregation process still show this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.InvalidOperationException Message: Dimension could&#xA;  not be resolved for for dimension id:&#xA;  c22ee43a-b981-4a20-8de0-63a4877a02b1 Source:&#xA;  Sitecore.ExperienceAnalytics.Aggregation    at&#xA;  Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.get_Dimension()&#xA;  at&#xA;  Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.GetData(IVisitAggregationContext&#xA;  context)    at&#xA;  Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(IInteractionAggregationContext&#xA;  context, IEnumerable`1 segments)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The dimension id above is the one that I created and deleted. &#xA;Please tell me what else do I need to do. Or is this a bug in Sitecore 9.0.1?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards,&#xA;Hiep&lt;/p&gt;&#xA;" OwnerUserId="3787" LastEditorUserId="1671" LastEditDate="2018-06-29T11:55:07.010" LastActivityDate="2018-06-29T11:55:07.010" Title="Deleted dimension still show up in aggregation process" Tags="|experience-analytics|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12599" PostTypeId="1" AcceptedAnswerId="12605" CreationDate="2018-06-29T10:02:21.290" Score="1" ViewCount="314" Body="&lt;p&gt;I'm trying to create some web APIs in a new class library outside of my main website project (still in the same solution). In this library I've added the following API Controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace My.Custom.Namespace&#xA;{&#xA;    [ServicesController(&quot;mycustomnamespace.customapi&quot;)]&#xA;    public class CustomApi : ServicesApiController&#xA;    {&#xA;        public HttpResponseMessage TestMethod()&#xA;        {&#xA;            return Request.CreateResponse(HttpStatusCode.Accepted);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I then add this class library as a reference to my main website project, and try to call the API on this URL:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://localhost/sitecore/api/ssc/mycustomnamespace/customapi/1/TestMethod&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I'm only receiving a &lt;code&gt;404: No HTTP resource was found that matches the request URI&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get a &lt;code&gt;ServicesApiController&lt;/code&gt; to work from a referenced project/DLL?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sitecore 8.2 Update 5&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="3587" LastActivityDate="2018-06-29T14:57:40.153" Title="ServicesApiController in referenced project/DLL" Tags="|webapi|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="12601" PostTypeId="1" CreationDate="2018-06-29T11:28:26.950" Score="2" ViewCount="318" Body="&lt;p&gt;We are using &lt;em&gt;Sitecore Commerce 8.1 powered by Commerce Server&lt;/em&gt; and in the &lt;strong&gt;Commerce server Catalog Manager&lt;/strong&gt; we are getting the below error when we select the catalog.:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/5MUO4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5MUO4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &#xA;The error from the eventviewer are as below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9Zi1l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9Zi1l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Qy8P2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qy8P2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VAbVE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VAbVE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/7pEbN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7pEbN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Properties are also not showing for the Property definitions but are present in the available properties of Product definitions.&#xA;Have anyone faced such kind of error or any clue about the fix needed?&#xA;In TDS with Get Sitecore items I am getting the error :&quot;Failed to get the Dependent Catalogs&quot;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NlEbb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NlEbb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1049" LastEditDate="2018-07-03T06:13:26.907" LastActivityDate="2018-07-05T09:51:55.227" Title="Commerce Server Catalog Manager Error: Failed to get Dependent Catalogs" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12602" PostTypeId="2" ParentId="12597" CreationDate="2018-06-29T11:50:44.490" Score="3" Body="&lt;p&gt;If Solr Cloud is correctly configured you should be able to see &quot;Cloud&quot; menu in Solr Admin UI. It should also show you shard and replica configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BpjUu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BpjUu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding the Zookeeper, you are correct - you should not be able to browse to to it on port 2181. However, you can Telnet if it was running on the remote machine and wanted to check if it's accessible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;xconnect-solr.json&lt;/em&gt; and &lt;em&gt;sitecore-solr.json&lt;/em&gt; are not needed for SolrCloud for Sitecore 9. Official Sitecore documentation is pretty good at outlining steps needed to configure both &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solrcloud&quot; rel=&quot;nofollow noreferrer&quot;&gt;SolrCloud for CMS&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/search/configure-xconnect-search-providers/configure-solr-cloud-for-xconnect.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;SolrCloud for xConnect&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2018-07-01T19:18:30.807" LastActivityDate="2018-07-01T19:18:30.807" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="12603" PostTypeId="2" ParentId="12597" CreationDate="2018-06-29T12:30:58.437" Score="0" Body="&lt;p&gt;You can check if ZooKeeper is working correctly by using the zkcli command that comes with Solr.  Here's an example of how to use it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;server\scripts\cloud-scripts\zkcli -zkhost localhost:2181 -cmd list&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1061" LastActivityDate="2018-06-29T12:30:58.437" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12604" PostTypeId="2" ParentId="12586" CreationDate="2018-06-29T12:40:47.970" Score="3" Body="&lt;p&gt;Sitecore has the ability to define port within the  node for it's sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While SXA does not have an explicit entry to put the port in, the &quot;Site definition&quot; item is the SXA's equivalent of this and has an ability to provide those additional properties even if the SXA team wasn't aware of a property that should be there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following screenshot should give you the idea how:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/v0Fpp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/v0Fpp.png&quot; alt=&quot;How to define site port in SXA&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="202" LastActivityDate="2018-06-29T12:40:47.970" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12605" PostTypeId="2" ParentId="12599" CreationDate="2018-06-29T14:45:06.113" Score="2" Body="&lt;p&gt;You should follow MVC naming conventions for Controllers and rename your controller from &lt;code&gt;CustomApi&lt;/code&gt; to &lt;code&gt;CustomApiController&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Happy I could help you and that this did the trick.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-06-29T14:57:40.153" LastActivityDate="2018-06-29T14:57:40.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12606" PostTypeId="2" ParentId="12331" CreationDate="2018-06-29T19:42:10.563" Score="3" Body="&lt;p&gt;So, after wrestling with this for awhile, I finally figured out what the problem was. It seems I had forgotten to assign a placeholder setting to the dynamic placeholder, which then caused rendering issues since the Experience Editor couldn't tell the difference between the dynamic placeholders. The reason it displayed correctly when the placeholders were empty or when the placeholders had different modules plugged in was because the EE could then see that the placeholders were indeed different and not the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;tl;dr - Make sure you assign a placeholder setting to your dynamic placeholders!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; I also found that the EE was interfering with my CSS and JS, so I was able to make some changes that corrected some of my rendering issues.&lt;/p&gt;&#xA;" OwnerUserId="3838" LastEditorUserId="3838" LastEditDate="2018-07-10T16:21:01.883" LastActivityDate="2018-07-10T16:21:01.883" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12607" PostTypeId="1" CreationDate="2018-06-30T06:28:24.507" Score="4" ViewCount="97" Body="&lt;p&gt;We have empty reports in Sitecore Experience Dashboard on one of the environments where we have 1 CM and 2 CD servers and we have tried out various things but nothing worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reports look something like this&#xA;&lt;img src=&quot;https://i.stack.imgur.com/WN8gA.png&quot; alt=&quot;Empty search result&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) We need to track Anonymous user so  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;ContentSearch.Analytics.IndexAnonymousContacts&quot; value=&quot;true&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) enableAnalytics at Site level is set to true&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) We have got these settings in place &lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;true&quot; /&amp;gt; and &amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Check ReportDataView there is lots of Data in there in that View&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All I see in logs there are two kinds of entries&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error 1 : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.IsActive == false. EndAnalytics pipeline is terminated&#xA;Tracker is not initialized. ReleaseContact processor is skipped&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Error 2:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Cannot submit pending item: MongoDB.Driver.MongoQueryException: QueryFailure flag was Executor error: Overflow sort stage buffered data usage of 34089254 bytes exceeds internal limit of 33554432 bytes (response was { &quot;$err&quot; : &quot;Executor error: Overflow sort stage buffered data usage of 34089254 bytes exceeds internal limit of 33554432 bytes&quot;, &quot;code&quot; : 17144 })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I ran this command even error is still same ;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes:50151432})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any clue what to do here.&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="312" LastEditDate="2018-07-01T09:07:14.047" LastActivityDate="2018-07-01T09:07:14.047" Title="Blank Reports for Sitecore Analytics" Tags="|experience-analytics|mongodb|experience-profile|" AnswerCount="0" CommentCount="0" ClosedDate="2018-07-02T18:02:38.740" ContentLicense="CC BY-SA 4.0" />
  <row Id="12608" PostTypeId="1" AcceptedAnswerId="12609" CreationDate="2018-06-30T09:30:29.960" Score="12" ViewCount="120" Body="&lt;p&gt;I have used the Azure Marketplace to create a new deployment of Sitecore Experience Cloud (XP). During the wizard I selected &lt;code&gt;Autogenerate self-signed certificate&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I download the certificate after the deployment? &#xA;How can I get the certificate?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Question based on:&#xA;  &lt;a href=&quot;https://twitter.com/nlleach/status/1012721671105589249&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://twitter.com/nlleach/status/1012721671105589249&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2018-07-02T08:20:51.010" LastActivityDate="2018-07-02T08:22:37.370" Title="Copy of the certificate that the Azure Marketplace wizard generates?" Tags="|azure|xconnect|azure-marketplace|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12609" PostTypeId="2" ParentId="12608" CreationDate="2018-06-30T09:30:29.960" Score="13" Body="&lt;p&gt;&lt;strong&gt;No, you cannot download the certificate after the deployment.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Summary page of the wizard you can read in red:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Important Notice:&lt;/strong&gt; This certificate will not be available for download&#xA;  at any other time during or after the deployment. Please download now&#xA;  if a copy is required.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DbHe5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DbHe5.png&quot; alt=&quot;Sitecore Experience Cloud Azure Marketplace Wizard Summary&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So you can only download the certificate on the Summary page.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2018-07-02T08:22:37.370" LastActivityDate="2018-07-02T08:22:37.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12610" PostTypeId="2" ParentId="11736" CreationDate="2018-06-30T10:08:06.760" Score="3" Body="&lt;p&gt;Turned out this is a known issue with 1.6-to-1.7 upgrade. There were no upgrade steps for this upgrade path, so just find this item :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/sitecore/system/Settings/Foundation/Experience Accelerator/Upgrade/Current.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and manually increase the number from 1600 to 1700&lt;/p&gt;&#xA;" OwnerUserId="3650" LastActivityDate="2018-06-30T10:08:06.760" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12611" PostTypeId="1" CreationDate="2018-06-30T11:42:53.853" Score="1" ViewCount="369" Body="&lt;p&gt;I used the SearchResult component to get items from a template that contains a field called &quot;Related Journeys&quot; from type &quot;tree list&quot;. To render it I used a reference in the rendering variant but it renders all related journeys in each item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to render first related journey only, not all. Any help on how I can get the reference in the rendering variant to show only the first reference?&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="237" LastEditDate="2018-06-30T12:27:37.057" LastActivityDate="2018-06-30T19:29:47.080" Title="Rendering field from type tree list in rendering variant" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12613" PostTypeId="2" ParentId="11943" CreationDate="2018-06-30T18:12:53.917" Score="4" Body="&lt;p&gt;You have to cancel the page and tell the tracker about it, with &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Session.Interaction.AcceptModifications();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;before you start adding pages to the tracker. If you don’t accept changes, it will just bring the original page back into the tracker.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current?.CurrentPage?.Cancel();&#xA;Tracker.Current?.Session.Interaction.AcceptModifications(); &#xA;&#xA;var page = Tracker.Current.Session.Interaction.CreatePage();&#xA;page.SetItemProperties(pageGuid.Guid, &quot;en-us&quot;, 1);&#xA;page.SetUrl(Sitecore.Context.Database.GetItem(pageGuid).Url());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="165" LastEditorUserId="432" LastEditDate="2018-06-30T18:46:24.197" LastActivityDate="2018-06-30T18:46:24.197" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12615" PostTypeId="2" ParentId="12611" CreationDate="2018-06-30T19:29:47.080" Score="1" Body="&lt;p&gt;No, you can't limit the number of items returned by Variant Reference. It's only possible in Variant Query. The best approach to achieve this would be to write custom token (which can be used in Variant Token item).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an implementation of the existing token $name:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ResolveItemName : ResolveVariantTokensProcessor&#xA;{&#xA;    public override string Token =&amp;gt; &quot;$name&quot;;&#xA;&#xA;    public override void ResolveToken(ResolveVariantTokensArgs args)&#xA;    {&#xA;        if (args.ResultControl != null)&#xA;        {&#xA;            args.ResultControl.Controls.Add(new LiteralControl&#xA;            {&#xA;                Text = args.ContextItem.Name &#xA;            });&#xA;        }&#xA;        else&#xA;        {&#xA;            args.Result = args.ContextItem.Name;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will not give you such flexibility as using Variant Reference because you can put whatever you want under this item. Here you will have hardcoded HTML but you will be able to select from and item just one related journey.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-06-30T19:29:47.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12618" PostTypeId="2" ParentId="12585" CreationDate="2018-07-01T15:59:31.363" Score="1" Body="&lt;p&gt;In addition to what scFootsteps mentioned about publishing the parent folder/item so that the web database gets updated, Make sure that you also have to set a distinct InstanceName in ScalabilitySettings.config for each CD and CM server.&#xA;Make sure that EventQueue is working as expected, When you delete an item and publish the parent, you should see 2 entries in event queue table, one for CM server and one for CD server, as each server needs to acknowledge that it processed the event of deleting an item.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-07-01T15:59:31.363" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12619" PostTypeId="1" CreationDate="2018-07-01T16:00:50.873" Score="5" ViewCount="233" Body="&lt;p&gt;Using SXA 1.6 and Sitecore 9.0.1 , we have an environment with single tenant and multi sites ex: site1 , site2 ,.. we setup OOB security so only users in site1 can edit their content only and same for site2 , however we notice when a user in site1 publish his work, the content in site2 get published too &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;how we can resolve this issue?&lt;/li&gt;&#xA;&lt;li&gt;what is the best practices in content approval in multi site scenarios?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/xNMnB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xNMnB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FW8NE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FW8NE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2502" LastEditorUserId="2502" LastEditDate="2018-07-03T19:16:47.517" LastActivityDate="2018-07-03T19:16:47.517" Title="Multisite publishing issue in SXA" Tags="|sxa|security|multisite|editor-user-permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12620" PostTypeId="2" ParentId="12619" CreationDate="2018-07-01T16:18:15.893" Score="2" Body="&lt;p&gt;You would need to set &lt;code&gt;Publishing.CheckSecurity&lt;/code&gt; to be &lt;code&gt;true&lt;/code&gt; to prevent users from publishing content that they don't have access to (Items will be published only if the user have write access, and will be deleted if the user have delete access)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;!--  PUBLISHING SECURITY&#xA;        Check security rights when publishing?&#xA;        When CheckSecurity=true, Read rights are required for all source items. When it is&#xA;        determined that an item should be updated or created in the target database,&#xA;        Write right is required on the source item. If it is determined that the item&#xA;        should be deleted from target database, Delete right is required on the target item.&#xA;        In summary, only the Read, Write and Delete rights are used. All other rights are ignored.&#xA;        Default value: false&#xA;  --&amp;gt;&#xA;        &amp;lt;setting name=&quot;Publishing.CheckSecurity&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would recommend you have workflow enabled on your content, you can have different workflow for each site, this will restrict publishing content that has not been approved yet, it would also help if your workflow has an auto publish action when the item is approved.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-07-01T16:18:15.893" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12621" PostTypeId="2" ParentId="12555" CreationDate="2018-07-02T09:10:10.180" Score="0" Body="&lt;p&gt;You can also deny access to the sitecore folder in the web.config, but keep in mind that some directories should be accessable:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Deny users access to internal paths --&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;deny users=&quot;*&quot;/&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore modules&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;deny users=&quot;*&quot;/&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore/service&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;allow users=&quot;*&quot;/&amp;gt;&#xA;            &amp;lt;!--heartbeat, keepalive, ect. must be accessible--&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore/shell/Webservice/Service.asmx&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;allow users=&quot;*&quot;/&amp;gt;&#xA;            &amp;lt;!--allow webservice--&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore modules/Web/Web Forms for Marketers/mvc&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;allow users=&quot;*&quot;/&amp;gt;&#xA;            &amp;lt;!--allow WFFM Assets --&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see we use XML-Transformation to do that on CD-Server config only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards&#xA;Dirk&lt;/p&gt;&#xA;" OwnerUserId="1183" LastActivityDate="2018-07-02T09:10:10.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12622" PostTypeId="1" AcceptedAnswerId="12623" CreationDate="2018-07-02T12:37:57.723" Score="0" ViewCount="3406" Body="&lt;p&gt;I have a navigation component that should list the current page in a hierarchy of items. I use below line of code to build navigation tree.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return item&#xA;       .GetChildren()&#xA;       .Select(i =&amp;gt; new NavigationMenuItem&#xA;       (&#xA;          title: i.DisplayName,&#xA;          url: i.Url,&#xA;          children: i.IsAncestorOrSelf(current) ? Build(i, current) : null&#xA;       ));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Problem is some pages has other items as children I need to only return page-children when calling .GetChildren(), so how is that possible?&lt;/p&gt;&#xA;" OwnerUserId="3881" LastEditorUserId="3881" LastEditDate="2018-07-02T13:15:42.907" LastActivityDate="2018-07-02T13:15:42.907" Title="How to filter an Item's children based on its template?" Tags="|sitecore-api|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12623" PostTypeId="2" ParentId="12622" CreationDate="2018-07-02T12:53:40.537" Score="2" Body="&lt;p&gt;In case you need to filter only on the item template without worrying about other templates that are inherited by your item template you can use the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item&#xA;  .GetChildren()&#xA;  .Where(w =&amp;gt; w.TemplateID == templateId) //filter on children's TemplateId&#xA;  .Select(i =&amp;gt; new NavigationMenuItem&#xA;  (&#xA;   title: i.DisplayName,&#xA;   url: i.Url,&#xA;   children: i.IsAncestorOrSelf(current) ? Build(i, current) : null&#xA;  ));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, if you need to filter on derived templates (templates inherited by the item template), you can use this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item&#xA;  .GetChildren()&#xA;  .Where(w =&amp;gt; w.Template.BaseTemplates.Any(a =&amp;gt; a.ID == derivedTemplateId))&#xA;  .Select(i =&amp;gt; new NavigationMenuItem&#xA;  (&#xA;   title: i.DisplayName,&#xA;   url: i.Url,&#xA;   children: i.IsAncestorOrSelf(current) ? Build(i, current) : null&#xA;  ));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-07-02T12:53:40.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12624" PostTypeId="2" ParentId="12622" CreationDate="2018-07-02T13:00:23.410" Score="2" Body="&lt;p&gt;You can create a base page template and inherit this template to all pages type, then filter where the item is derived from the page template&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool IsDerived(this Item item, ID templateId)&#xA;    {&#xA;        if (item == null)&#xA;            return false;&#xA;&#xA;        return !templateId.IsNull &amp;amp;&amp;amp; item.IsDerived(item.Database.Templates[templateId]);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3908" LastActivityDate="2018-07-02T13:00:23.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12626" PostTypeId="1" AcceptedAnswerId="12627" CreationDate="2018-07-02T13:36:17.587" Score="4" ViewCount="467" Body="&lt;p&gt;Sitecore 9 on Azure PaaS comes with App Insights as a default. Out of the box, there are a bunch of metrics captured. This counts for a lot of data that comes at a cost. Even a clean install with no traffic reaches the default daily cap. This can be increased but comes at a cost.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore wrote an article &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/analytics/configure_application_insights_post_deployment&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/analytics/configure_application_insights_post_deployment&lt;/a&gt; to describe how to tweak you app insights.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to reduce the metrics being measured under the counterLoader/includedCounters node. Does someone have experience with this? Which metrics are actually usefull and should definitly be retained, which one are more nice to haves? I know this is can depend on the kind of project but if there are any general guidelines, I would welcome them.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-02-19T00:08:58.000" Title="Application Insights Telemetry Metrics" Tags="|paas|app-insight|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12627" PostTypeId="2" ParentId="12626" CreationDate="2018-07-02T13:55:23.543" Score="4" Body="&lt;p&gt;I never seen a list with usefull metrics. I discussed with Azure Team few months ago and they mention me to disabled GetChangesAvgTime counter. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One specific counter, GetChangesAvgTime, logged multiple times a second that can be disabled. It is related to change tracking on XDB search index worker.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To disable this specific counter please follow next steps: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Edit file on XP0 XConnect role or XP1 collectionsearch role&#xA;&lt;strong&gt;\App_data\jobs\continuous\IndexWorker\App_data\Diagnostics\Sitecore.Xdb.Collection.Counters.json&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Find the specific counter (231) GetChangesAvgTime and (232) GetChangeAvgTimeBase.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove or comment out the following lines &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;&#xA; &quot;CounterIndex&quot;: 231,&#xA;&#xA; &quot;CounterName&quot;: &quot;GetChangesAvgTime&quot;,&#xA;&#xA; &quot;CounterDescription&quot;: &quot;Get Changes average time elapsed time in milliseconds&quot;,&#xA;&#xA;&quot;CounterType&quot;: &quot;AverageCount64&quot;&#xA;&#xA;},&#xA;&#xA;{&#xA;&#xA;&quot;CounterIndex&quot;: 232,&#xA;&#xA;&quot;CounterName&quot;: &quot;GetChangesAvgTimeBase&quot;,&#xA;&#xA;&quot;CounterDescription&quot;: &quot;Get Changes average time elapsed time in milliseconds Base&quot;,&#xA;&#xA; &quot;CounterType&quot;: &quot;AverageBase&quot;&#xA;&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-07-02T14:40:07.183" LastActivityDate="2018-07-02T14:40:07.183" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12630" PostTypeId="1" CreationDate="2018-07-02T15:35:21.147" Score="1" ViewCount="161" Body="&lt;p&gt;Iam using sitecore 9 and installed the DEF, and have been trying to make it work. I followed the steps given here &lt;a href=&quot;http://dataexchange.loveyourdemo.com/use-restful-provider/news/create-connector/add-pipeline-batch.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dataexchange.loveyourdemo.com/use-restful-provider/news/create-connector/add-pipeline-batch.html&lt;/a&gt; and created my pipeline batch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the pipeline batch though, it keeps running for a while and stops at an error. On checking the Pipeline.Batch.20180702.144518.txt that is created, I find the following:&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;ManagedPoolThread #10 16:45:18 INFO  [Data Exchange] Starting pipeline batch processing. (pipeline batch: Pipeline Batch)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ManagedPoolThread #10 16:45:18 INFO  [Data Exchange] Pipeline step reading data. (pipeline step: Read Resource Data Pipeline Step, plugin: Sitecore.DataExchange.Plugins.EndpointSettings)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;8300 16:45:18 WARN  [Data Exchange] No access token is specified on the endpoint (pipeline step: Read Resource Data Pipeline Step, endpoint: RESTful Endpoint)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ManagedPoolThread #10 16:45:20 ERROR [Data Exchange] One or more errors occurred. (pipeline batch: Pipeline Batch, completed pipelines: 0)&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;ManagedPoolThread #10 16:45:20 DEBUG [Data Exchange] Pipeline batch processor finished processing pipelines. (pipeline batch: Pipeline Batch, completed pipelines: 0)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have no idea where to look to know exactly what the error is in &quot;one or more errors occurred&quot;,  I need to know where the errors are logged in detail, if any.&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="843" LastEditDate="2018-07-02T20:54:15.887" LastActivityDate="2018-07-02T20:54:15.887" Title="RESTful provider Pipeline Batch error: &quot;One or more errors occurred&quot;" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12632" PostTypeId="2" ParentId="12630" CreationDate="2018-07-02T15:45:31.227" Score="2" Body="&lt;p&gt;First of all you have to set the log level of your pipeline batch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nheDY.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nheDY.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you select the level of logs you can view the logs in Sitecore on log field (see the picture) or  you can verify on disk at &#xA;&lt;strong&gt;Your Website location\App_Data\logs\DataExchange&lt;/strong&gt; folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code for RestfulProdider module can be found here: &lt;a href=&quot;https://github.com/waughn/data-exchange-restful-provider/tree/master/2.0/src&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/waughn/data-exchange-restful-provider/tree/master/2.0/src&lt;/a&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error you get is related to RestFul provider,not Data Exchange Framework so I suggest you to bring it locally and debug it if you want to look deeper where is crashing. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-07-02T16:34:56.377" LastActivityDate="2018-07-02T16:34:56.377" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12633" PostTypeId="2" ParentId="12583" CreationDate="2018-07-02T16:13:47.170" Score="1" Body="&lt;p&gt;Hi @Marek thank you it works fine, I don't know why the first time I didn't seen my changes. Just notice that for me it's not the same GUID &lt;strong&gt;{5BB66CB4-F2BC-E08E-9563-28194D5C9779}&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For adding a new user with User Manger if you want to change the password error message located here&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;/sitecore/system/Dictionary/T/The password is invalid&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CpZDw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CpZDw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2820" LastActivityDate="2018-07-02T16:13:47.170" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12635" PostTypeId="1" CreationDate="2018-07-02T17:11:55.297" Score="5" ViewCount="1909" Body="&lt;p&gt;I'm re-posting because the other thread on with 'GetResults' instead of 'Filter' SOLR error message is in a different context. This thread was when migrating from 8.1 to 8.2, while we are migrating for 9 which already includes the patch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, for a search code that was working well on our 8.1, the same code on 9 is now producting this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ManagedPoolThread #8 17:00:23 ERROR There is no method 'Filter' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments&#xA;Exception: System.InvalidOperationException&#xA;Message: There is no method 'Filter' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments&#xA;Source: System.Core&#xA;   at System.Linq.EnumerableRewriter.FindMethod(Type type, String name, ReadOnlyCollection`1 args, Type[] typeArgs, BindingFlags flags)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection`1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection`1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection`1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection`1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection`1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.Expressions.OldExpressionVisitor.VisitExpressionList(ReadOnlyCollection`1 original)&#xA;   at System.Linq.EnumerableRewriter.VisitMethodCall(MethodCallExpression m)&#xA;   at System.Linq.EnumerableExecutor`1.Execute()&#xA;   at Sitecore.ContentSearch.Linq.QueryableExtensions.GetResults[TSource](IQueryable`1 source)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS: code example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private IEnumerable&amp;lt;SearchManagerResultItem&amp;gt; generateResults(int pageNumber, out int totalResultCount)&#xA;        {&#xA;            var srchQuery = this.OnGetInitialQuery();&#xA;&#xA;            // Query additions&#xA;            srchQuery = this.OnAddQueryBaseConditions(srchQuery);&#xA;            srchQuery = this.OnAddQuerySearchTerm(srchQuery);&#xA;            srchQuery = this.OnAddQueryLocations(srchQuery);&#xA;            srchQuery = this.OnAddQueryTemplates(srchQuery);&#xA;            srchQuery = this.OnAddQueryExcludedIDs(srchQuery);&#xA;            srchQuery = this.OnAddQueryDynamicFilters(srchQuery);&#xA;            srchQuery = this.OnAddQuerySorting(srchQuery);&#xA;&#xA;            // Get the results&#xA;            pageNumber = pageNumber &amp;lt; 0 ? 0 : pageNumber;&#xA;            var srchResults = srchQuery.Page(pageNumber, this.PageSize).GetResults();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the Visual Studio F12 &quot;Go to definition&quot; on srchQuery.Page&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Linq.Expressions;&#xA;using System.Runtime.CompilerServices;&#xA;&#xA;namespace Sitecore.ContentSearch.Linq&#xA;{&#xA;    public static class QueryableExtensions&#xA;    {&#xA;        public static IQueryable&amp;lt;TSource&amp;gt; FacetOn&amp;lt;TSource, TKey&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source, Expression&amp;lt;Func&amp;lt;TSource, TKey&amp;gt;&amp;gt; keySelector);&#xA;        public static IQueryable&amp;lt;TSource&amp;gt; FacetOn&amp;lt;TSource, TKey&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source, Expression&amp;lt;Func&amp;lt;TSource, TKey&amp;gt;&amp;gt; keySelector, int minimumResultCount);&#xA;        public static IQueryable&amp;lt;TSource&amp;gt; FacetOn&amp;lt;TSource, TKey&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source, Expression&amp;lt;Func&amp;lt;TSource, TKey&amp;gt;&amp;gt; keySelector, int minimumResultCount, IEnumerable&amp;lt;object&amp;gt; filterValues);&#xA;        public static IQueryable&amp;lt;TSource&amp;gt; FacetPivotOn&amp;lt;TSource&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source, Expression&amp;lt;Func&amp;lt;FacetPivotQuery&amp;lt;TSource&amp;gt;, FacetPivotQuery&amp;lt;TSource&amp;gt;&amp;gt;&amp;gt; keySelector);&#xA;        public static IQueryable&amp;lt;TSource&amp;gt; FacetPivotOn&amp;lt;TSource&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source, Expression&amp;lt;Func&amp;lt;FacetPivotQuery&amp;lt;TSource&amp;gt;, FacetPivotQuery&amp;lt;TSource&amp;gt;&amp;gt;&amp;gt; keySelector, int minimumResultCount);&#xA;        public static IQueryable&amp;lt;TSource&amp;gt; Filter&amp;lt;TSource&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source, Expression&amp;lt;Func&amp;lt;TSource, bool&amp;gt;&amp;gt; predicate);&#xA;        public static FacetResults GetFacets&amp;lt;TSource&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source);&#xA;        public static SearchResults&amp;lt;TSource&amp;gt; GetResults&amp;lt;TSource&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source);&#xA;        public static SearchResults&amp;lt;TSource&amp;gt; GetResults&amp;lt;TSource&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source, GetResultsOptions options);&#xA;        public static IQueryable&amp;lt;TSource&amp;gt; Page&amp;lt;TSource&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source, int page, int pageSize);&#xA;        public static IQueryable&amp;lt;TOuter&amp;gt; SelfJoin&amp;lt;TOuter, TInner, TKey&amp;gt;(this IQueryable&amp;lt;TOuter&amp;gt; outer, IEnumerable&amp;lt;TInner&amp;gt; inner, Expression&amp;lt;Func&amp;lt;TOuter, TKey&amp;gt;&amp;gt; outerKeySelector, Expression&amp;lt;Func&amp;lt;TInner, TKey&amp;gt;&amp;gt; innerKeySelector);&#xA;        public static IEnumerable&amp;lt;TSource&amp;gt; Stream&amp;lt;TSource&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source);&#xA;        public static IEnumerable&amp;lt;TSource&amp;gt; Stream&amp;lt;TSource&amp;gt;(this IQueryable&amp;lt;TSource&amp;gt; source, int pageSize);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="73" LastEditDate="2018-07-02T19:26:58.717" LastActivityDate="2018-11-30T16:02:20.437" Title="&quot;There is no method 'Filter' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches...&quot;" Tags="|solr|content-search|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12638" PostTypeId="1" CreationDate="2018-07-02T19:33:10.913" Score="0" ViewCount="318" Body="&lt;p&gt;I'm trying to get a newly built Sitecore 8.2 working on my computer. The code compiles, but when I try to load the site it shows the error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Method not found: 'System.String Automation.get_MachineName()'. &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Full stack trace:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[MissingMethodException: Method not found: 'System.String Automation.get_MachineName()'.]&#xA;     Sitecore.Analytics.Automation.AutomationWorker.Start() +0&#xA;     (Object , Object[] ) +71&#xA;     Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters) +36&#xA;     Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365&#xA;     Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +162&#xA;     Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +18&#xA;     Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args) +18&#xA;     Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args) +49&#xA;     Sitecore.Nexus.Web.HttpModule.Application_Start() +156&#xA;     Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +472&#xA;     System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +536&#xA;     System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +173&#xA;     System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336&#xA;     System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Method not found: 'System.String Automation.get_MachineName()'.]&#xA;     System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10043436&#xA;     System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95&#xA;     System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2609" LastActivityDate="2018-07-02T19:33:10.913" Title="Method not found: 'System.String Automation.get_MachineName()'" Tags="|xdb|mongodb|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12641" PostTypeId="2" ParentId="12597" CreationDate="2018-07-03T05:15:02.863" Score="4" Body="&lt;p&gt;So after a bit Help from &lt;code&gt;grg&lt;/code&gt; and &lt;code&gt;trowpa&lt;/code&gt; I got my answers and I will try to sum them up here&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;First the XP1 *-solr.json Files do not support the whole SolrCloud Installation, you can add the Indexes but you need to convert them that they connect to each SolrCloud instance&lt;/li&gt;&#xA;&lt;li&gt;At first you must get the Zookeeper Up and Running like described here: &lt;a href=&quot;http://www.chrissulham.com/sitecore-on-solr-cloud-part-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.chrissulham.com/sitecore-on-solr-cloud-part-2/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;In my setup I had the Zookeeper on the same Machine as my SOLR Cloud services&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;My First large Problem was I am using HTTPS and signed certificates and you must tell the zookeeper to use SSL but you send the order from the solrcloud&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\tools\solr-6.6.2-8983\server\scripts\cloud-scripts\zkcli.bat -zkhost localhost:2181 -cmd clusterprop -name urlScheme -val https&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Then you need to add the SOLR_HOST to your solr.in.cmd&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;set SOLR_HOST=01sitecore.staging.com&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;with this two settings I got the SSL up and running&#xA;-then you need to create data directory for your SOLR node and inside this directory you need to create a solr directory and add the following files to it &quot;solr.xml&quot; and &quot;zoo.cfg&quot; both files you can find inside &quot;\server\solr\&quot; copy this two files into your &quot;data\solr\&quot; directory&#xA;&lt;a href=&quot;https://i.stack.imgur.com/lg2VV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lg2VV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;now you can create your SOLR Instances (services with NSSM) with the following Argument&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.\solr.cmd start -c -p 8983 -z localhost:2181 -s  C:\tools\solr-6.6.2-8983\data\solr&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;at the Moment I will try to install Only SOLR without the Cloud, if this works its fine for me because at the Moment I don't know why I really need the Solr Cloud, there are too many unknown facts and its a bit complicated to set it up and the maintainability on a live server I don't know how to handle this when something goes wrong.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="312" LastEditDate="2018-07-03T09:40:58.013" LastActivityDate="2018-07-03T09:40:58.013" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12642" PostTypeId="2" ParentId="12582" CreationDate="2018-07-03T06:59:05.783" Score="2" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Verify that needed log levels are set&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UoKap.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UoKap.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;If after the running it is still empty it can be known issue. Reed the article mentioned in the comment above. &lt;a href=&quot;https://neilkillen.com/2017/12/18/hey-def-2-0-where-have-my-batch-messages-gone/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Hey DEF 2.0 where have my batch messages gone?&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;If you see some logs but it is not enough, means that provider you use does not cover everything with logs.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-07-03T06:59:05.783" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12644" PostTypeId="1" AcceptedAnswerId="12649" CreationDate="2018-07-03T08:05:48.527" Score="0" ViewCount="738" Body="&lt;p&gt;Installed &lt;code&gt;Sitecore 9 Update 1&lt;/code&gt; together with &lt;code&gt;Sitecore Experience Commerce 9 Update 1&lt;/code&gt; on my dev VM. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I go to Experience Analytics, I can see these exceptions instead of charts:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4BQ6e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4BQ6e.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is showing this excception not only for Goals but basically any board.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here are textual representations of exceptions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The ListControl list cannot be displayed due to a server error. Contact you system administrator.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The LineChart graph cannot be displayed due to a server error. Contact you system administrator.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;And here is exception that I can see in Developer toolbar in Firefox:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{message: &quot;An error has occurred.&quot;, exceptionMessage: &quot;An error occurred while sending the request.&quot;,…}&#xA;  exceptionMessage&#xA;  :&#xA;  &quot;An error occurred while sending the request.&quot;&#xA;  exceptionType&#xA;  :&#xA;  &quot;System.Net.Http.HttpRequestException&quot;&#xA;  innerException&#xA;  :&#xA;  {message: &quot;An error has occurred.&quot;,…}&#xA;  exceptionMessage&#xA;  :&#xA;  &quot;The underlying connection was closed: An unexpected error occurred on a send.&quot;&#xA;  exceptionType&#xA;  :&#xA;  &quot;System.Net.WebException&quot;&#xA;  innerException&#xA;  :&#xA;  {message: &quot;An error has occurred.&quot;,…}&#xA;  exceptionMessage&#xA;  :&#xA;  &quot;Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.&quot;&#xA;  exceptionType&#xA;  :&#xA;  &quot;System.IO.IOException&quot;&#xA;  innerException&#xA;  :&#xA;  {message: &quot;An error has occurred.&quot;,…}&#xA;  exceptionMessage&#xA;  :&#xA;  &quot;An existing connection was forcibly closed by the remote host&quot;&#xA;  exceptionType&#xA;  :&#xA;  &quot;System.Net.Sockets.SocketException&quot;&#xA;  message&#xA;  :&#xA;  &quot;An error has occurred.&quot;&#xA;  stackTrace&#xA;  :&#xA;  &quot;   at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)&#xA;  ↵   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)&quot;&#xA;  message&#xA;  :&#xA;  &quot;An error has occurred.&quot;&#xA;  stackTrace&#xA;  :&#xA;  &quot;   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)&#xA;  ↵   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)&quot;&#xA;  message&#xA;  :&#xA;  &quot;An error has occurred.&quot;&#xA;  stackTrace&#xA;  :&#xA;  &quot;   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext&amp;amp; context)&#xA;  ↵   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)&quot;&#xA;  message&#xA;  :&#xA;  &quot;An error has occurred.&quot;&#xA;  stackTrace&#xA;  :&#xA;  &quot;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;code&gt;1 taskFactory)&#xA;  ↵   at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.Get(IEnumerable&lt;/code&gt;1 keys, NameValueCollection readingPreferences)&#xA;  ↵   at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.Get(IEnumerable`1 keys, NameValueCollection readingPreferences)&#xA;  ↵   at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetReportSegments()&#xA;  ↵   at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetRequestType()&#xA;  ↵   at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.GetModelFromBindingContext(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;  ↵   at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;  ↵   at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)&#xA;  ↵   at System.Web.Http.Controllers.HttpActionBinding.d__0.MoveNext()&#xA;  ↵--- End of stack trace from previous location where exception was thrown ---&#xA;  ↵   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;  ↵   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;  ↵   at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()&#xA;  ↵--- End of stack trace from previous location where exception was thrown ---&#xA;  ↵   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;  ↵   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;  ↵   at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  ↵--- End of stack trace from previous location where exception was thrown ---&#xA;  ↵   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;  ↵   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;  ↵   at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  ↵--- End of stack trace from previous location where exception was thrown ---&#xA;  ↵   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;  ↵   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;  ↵   at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  ↵--- End of stack trace from previous location where exception was thrown ---&#xA;  ↵   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;  ↵   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;  ↵   at System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()&#xA;  ↵--- End of stack trace from previous location where exception was thrown ---&#xA;  ↵   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;  ↵   at System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()&#xA;  ↵--- End of stack trace from previous location where exception was thrown ---&#xA;  ↵   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;  ↵   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;  ↵   at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;This is what I can see in Sitecore log:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;5340 09:58:15 INFO  Cache created: 'ExperienceAnalytics.DimensionItems' (max size: 2MB, running total: 7120MB)&#xA;  5340 09:58:15 ERROR [Sitecore Services]: HTTP GET&#xA;  URL &lt;a href=&quot;http://sxc9.sc/sitecore/api/ao/aggregates/all/46511EC0EC7A492BA90F96BAB33B7456/all?&amp;amp;dateGrouping=collapsed&amp;amp;&amp;amp;dateFrom=04-04-2018&amp;amp;dateTo=02-07-2018&amp;amp;keyGrouping=by-key&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sxc9.sc/sitecore/api/ao/aggregates/all/46511EC0EC7A492BA90F96BAB33B7456/all?&amp;amp;dateGrouping=collapsed&amp;amp;&amp;amp;dateFrom=04-04-2018&amp;amp;dateTo=02-07-2018&amp;amp;keyGrouping=by-key&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt; System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host&#xA;     at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)&#xA;     at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)&#xA;     at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext&amp;amp; context)&#xA;     at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)&#xA;     --- End of inner exception stack trace ---&#xA;     at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;code&gt;1 taskFactory)&#xA;     at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.Get(IEnumerable&lt;/code&gt;1 keys, NameValueCollection readingPreferences)&#xA;     at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.Get(IEnumerable`1 keys, NameValueCollection readingPreferences)&#xA;     at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetReportSegments()&#xA;     at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetRequestType()&#xA;     at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.GetModelFromBindingContext(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;     at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;     at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)&#xA;     at System.Web.Http.Controllers.HttpActionBinding.d__0.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()&#xA;  5340 09:58:15 ERROR [Sitecore Services]: HTTP GET&#xA;  URL &lt;a href=&quot;http://sxc9.sc/sitecore/api/ao/aggregates/all/46511EC0EC7A492BA90F96BAB33B7456/all?&amp;amp;dateGrouping=collapsed&amp;amp;&amp;amp;dateFrom=04-04-2018&amp;amp;dateTo=02-07-2018&amp;amp;keyGrouping=by-key&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sxc9.sc/sitecore/api/ao/aggregates/all/46511EC0EC7A492BA90F96BAB33B7456/all?&amp;amp;dateGrouping=collapsed&amp;amp;&amp;amp;dateFrom=04-04-2018&amp;amp;dateTo=02-07-2018&amp;amp;keyGrouping=by-key&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt; System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host&#xA;     at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)&#xA;     at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)&#xA;     at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext&amp;amp; context)&#xA;     at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)&#xA;     --- End of inner exception stack trace ---&#xA;     at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;code&gt;1 taskFactory)&#xA;     at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.Get(IEnumerable&lt;/code&gt;1 keys, NameValueCollection readingPreferences)&#xA;     at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.Get(IEnumerable`1 keys, NameValueCollection readingPreferences)&#xA;     at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetReportSegments()&#xA;     at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetRequestType()&#xA;     at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.GetModelFromBindingContext(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;     at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;     at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)&#xA;     at System.Web.Http.Controllers.HttpActionBinding.d__0.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()&#xA;  2376 09:58:15 ERROR [Sitecore Services]: HTTP GET&#xA;  URL &lt;a href=&quot;http://sxc9.sc/sitecore/api/ao/aggregates/all/46511EC0EC7A492BA90F96BAB33B7456/all?&amp;amp;dateGrouping=by-auto&amp;amp;&amp;amp;keyTop=8&amp;amp;keyOrderBy=visits-Desc&amp;amp;dateFrom=04-04-2018&amp;amp;dateTo=02-07-2018&amp;amp;keyGrouping=by-key&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sxc9.sc/sitecore/api/ao/aggregates/all/46511EC0EC7A492BA90F96BAB33B7456/all?&amp;amp;dateGrouping=by-auto&amp;amp;&amp;amp;keyTop=8&amp;amp;keyOrderBy=visits-Desc&amp;amp;dateFrom=04-04-2018&amp;amp;dateTo=02-07-2018&amp;amp;keyGrouping=by-key&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt; System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host&#xA;     at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)&#xA;     at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)&#xA;     at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext&amp;amp; context)&#xA;     at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)&#xA;     --- End of inner exception stack trace ---&#xA;     at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;code&gt;1 taskFactory)&#xA;     at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.Get(IEnumerable&lt;/code&gt;1 keys, NameValueCollection readingPreferences)&#xA;     at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.Get(IEnumerable`1 keys, NameValueCollection readingPreferences)&#xA;     at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetReportSegments()&#xA;     at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetRequestType()&#xA;     at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.GetModelFromBindingContext(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;     at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;     at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)&#xA;     at System.Web.Http.Controllers.HttpActionBinding.d__0.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()&#xA;  2376 09:58:15 ERROR [Sitecore Services]: HTTP GET&#xA;  URL &lt;a href=&quot;http://sxc9.sc/sitecore/api/ao/aggregates/all/46511EC0EC7A492BA90F96BAB33B7456/all?&amp;amp;dateGrouping=by-auto&amp;amp;&amp;amp;keyTop=8&amp;amp;keyOrderBy=visits-Desc&amp;amp;dateFrom=04-04-2018&amp;amp;dateTo=02-07-2018&amp;amp;keyGrouping=by-key&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sxc9.sc/sitecore/api/ao/aggregates/all/46511EC0EC7A492BA90F96BAB33B7456/all?&amp;amp;dateGrouping=by-auto&amp;amp;&amp;amp;keyTop=8&amp;amp;keyOrderBy=visits-Desc&amp;amp;dateFrom=04-04-2018&amp;amp;dateTo=02-07-2018&amp;amp;keyGrouping=by-key&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt; System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host&#xA;     at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)&#xA;     at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)&#xA;     at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext&amp;amp; context)&#xA;     at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)&#xA;     --- End of inner exception stack trace ---&#xA;     at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;code&gt;1 taskFactory)&#xA;     at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.Get(IEnumerable&lt;/code&gt;1 keys, NameValueCollection readingPreferences)&#xA;     at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.Get(IEnumerable&lt;code&gt;1 keys, NameValueCollection readingPreferences)&#xA;     at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetReportSegments()&#xA;     at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetRequestType()&#xA;     at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.GetModelFromBindingContext(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;     at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;     at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)&#xA;     at System.Web.Http.Controllers.HttpActionBinding.&amp;lt;ExecuteBindingAsyncCore&amp;gt;d__0.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at System.Web.Http.Controllers.ExceptionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext()&#xA;  4228 09:58:15 ERROR Exception when executing agent aggregation/pathAnalyzerHistoryAgent&#xA;  Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;  Message: An error occurred while sending the request.&#xA;  Source: Sitecore.Xdb.Common.Web&#xA;     at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;/code&gt;1 taskFactory)&#xA;     at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;     at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;     at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;     at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;     at Sitecore.Analytics.Core.BackgroundService.Run()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Net.Http.HttpRequestException&#xA;  Message: An error occurred while sending the request.&#xA;  Source: mscorlib&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at Sitecore.Xdb.Common.Web.CommonWebApiClient&lt;code&gt;1.&amp;lt;ExecuteAsync&amp;gt;d__37.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at Sitecore.Xdb.Common.Web.CommonWebApiClient&lt;/code&gt;1.d__32.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;     at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.d__4.MoveNext()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Net.WebException&#xA;  Message: The underlying connection was closed: An unexpected error occurred on a send.&#xA;  Source: System&#xA;     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&#xA;     at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.IO.IOException&#xA;  Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.&#xA;  Source: System&#xA;     at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)&#xA;     at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Net.Sockets.SocketException&#xA;  Message: An existing connection was forcibly closed by the remote host&#xA;  Source: System&#xA;     at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)&#xA;     at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Anyone encountered this issue before? What should I check? WHat should be resolution?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="690" LastEditDate="2018-07-03T10:52:33.093" LastActivityDate="2018-07-03T11:22:28.403" Title="ListControl/LineChart graphs are not displaying due to a server error in Experience Analytics" Tags="|sitecore-client|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12645" PostTypeId="1" CreationDate="2018-07-03T09:24:18.923" Score="3" ViewCount="163" Body="&lt;p&gt;I'm currently playing around with the sxa.storefront. &#xA;Now I noticed I don't get emails. I'm using papercut to listen to the localhost:25 smtp - also testmails from exm Campaigns which you can send out are going through.&lt;br&gt;&#xA;When placing an order /register a user there is no confirmation mail. Now I'm wondering if I misconfigured something - Or if there is something I have to configure. Also in the logfiles there is nothing indicating an error. &#xA;&lt;br/&gt;I'm working with:&lt;br/&gt;&#xA;Sitecore.NET 9.0.1 (rev. 171219)&lt;br&gt;&#xA;Sitecore Experience Commerce 9.0 (On-Premise)&lt;/p&gt;&#xA;" OwnerUserId="1178" LastEditorUserId="246" LastEditDate="2018-11-29T05:01:22.050" LastActivityDate="2018-11-29T05:01:22.050" Title="SXA Storefront Emails" Tags="|sitecore-commerce|sxa-storefront|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12649" PostTypeId="2" ParentId="12644" CreationDate="2018-07-03T11:22:28.403" Score="1" Body="&lt;p&gt;I have found the root cause and also solution thanks to &lt;strong&gt;Vlad Iobagiu&lt;/strong&gt; who pointed me to right direction on Slack.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, it is not so obvious from exceptions and StackTrace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem was that the SSL certificate was not specified / selected for &lt;code&gt;xconnect&lt;/code&gt; site in IIS Manager: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zbj3I.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zbj3I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I set it to correct certificate, everything started to work as expected like before:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eYBwc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eYBwc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/n2qv6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/n2qv6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However don't know how this could be possible. How certificate was reset to nothing.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-07-03T11:22:28.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12651" PostTypeId="2" ParentId="12635" CreationDate="2018-07-03T12:26:52.950" Score="4" Body="&lt;p&gt;I ran into this same issue the other day.  The cause of the issue is the same as in the  &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8915/there-is-no-method-getresults-on-type-sitecore-contentsearch-linq-queryableex&quot;&gt;GetResults&lt;/a&gt; thread.  Solr needs to be running before you start Sitecore.  Just do an &lt;code&gt;iisreset&lt;/code&gt; to resolve the problem.&lt;/p&gt;&#xA;" OwnerUserId="1061" LastActivityDate="2018-07-03T12:26:52.950" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12653" PostTypeId="2" ParentId="12412" CreationDate="2018-07-03T14:21:47.653" Score="11" Body="&lt;p&gt;The issue you have is that one or more of your profiles are corrupt. Either by renaming or deleting. Everything internal to Sitecore profiling works off of names, not profile keys item or pattern card item IDs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way to solve this is to clean up the names/items in the database. To do this navigate to &lt;a href=&quot;https://[YOUR_SITE]/sitecore/admin/DbCleanup.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://[YOUR_SITE]/sitecore/admin/DbCleanup.aspx&lt;/a&gt;, select &quot;master&quot; and then &quot;Rebuild Descendants&quot; and press &quot;Execute Cleanup&quot; button. That will put everything back in line.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-07-03T14:21:47.653" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12654" PostTypeId="1" AcceptedAnswerId="12665" CreationDate="2018-07-03T15:01:47.393" Score="1" ViewCount="236" Body="&lt;p&gt;I have an inherited an instance of Sitecore 8 deployed to azure PaaS. Sitecore has been set up to use Azure search, however when I look in Sitecore the names of the indexes are slightly different from the index names in Azure.  It seems the developer used underscores in Sitecore in place of spaces however in Azure the underscores have been replaced with hyphens.  Does anyone know if this is standard behavior.  An example is below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore index = search_web_index&#xA;azure index = search-web-index&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="690" LastEditDate="2018-07-03T17:01:03.637" LastActivityDate="2018-07-04T06:51:41.273" Title="Sitecore 8.2 and Azure search indexes have different names" Tags="|azure-search|paas|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12655" PostTypeId="1" AcceptedAnswerId="12663" CreationDate="2018-07-03T16:29:56.800" Score="1" ViewCount="1524" Body="&lt;p&gt;We have a SXA website and tried to add 404 page as described here &lt;a href=&quot;https://sitecore.stackexchange.com/questions/221/how-do-you-setup-a-404-and-500-error-page-for-missing-files-and-media-items/222&quot;&gt;Setup 404 page&lt;/a&gt; by creating the Pipeline and adding a rendering to set the StatusCode to 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We also added &lt;strong&gt;Page Not found link&lt;/strong&gt; in Settings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LVRrp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LVRrp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Testing that in our Azure environment but it didn't work.The returned status code is still 200. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it any other best way to configure the 404 page for SXA website?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2820" LastEditorUserId="73" LastEditDate="2018-07-04T06:43:43.937" LastActivityDate="2021-03-03T23:56:34.327" Title="Status Code 200 returned for 404 page SXA website" Tags="|sxa|error-handling|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12656" PostTypeId="2" ParentId="12184" CreationDate="2018-07-03T17:38:09.323" Score="7" Body="&lt;p&gt;If you combine the answer from @Anton and @Sreekrishnan you get a nice and fast report.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$query = &quot;fast:/sitecore/content//*[@__renderings='%&amp;lt;conditions%' or @#__Final Renderings#='%&amp;lt;conditions%']&quot;&#xA;$items = Get-Item -Path &quot;master:&quot; -Query $query&#xA;$items | Show-ListView -Property `&#xA;   @{ Name=&quot;Item Name&quot;; Expression={$_.DisplayName}},&#xA;   @{ Name=&quot;Item path&quot;; Expression={$_.FullPath}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oJ46f.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oJ46f.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-07-03T17:38:09.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12657" PostTypeId="1" AcceptedAnswerId="13685" CreationDate="2018-07-03T18:23:26.553" Score="1" ViewCount="963" Body="&lt;p&gt;We are on Sitecore 8.2 and just upgraded to update 7 from update 2 and we are now experiencing issues with field validation. When a user goes to approve or publish an item after making changes they get &quot;You cannot approve an item with validation errors.&quot; But the field(s) in question do have valid data. And furthermore, if you go to the review tab and click on the validation button, everything comes back green (all fields with validation are fine).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have no custom validators on the items that are having issues. And if an admin goes in and changes the workflow state to approved and publishes it works as expected.&lt;/p&gt;&#xA;" OwnerUserId="1587" LastEditorUserId="605" LastEditDate="2018-07-03T21:10:45.753" LastActivityDate="2018-09-04T20:28:40.840" Title="Field validation not working correctly" Tags="|validation|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12658" PostTypeId="1" CreationDate="2018-07-03T21:24:09.393" Score="2" ViewCount="211" Body="&lt;p&gt;I have Azure VMs (Iaas) running Sitecore 9 Update 1 and am using Azure SQL as my backend. I deployed the xConnect Shards using the Shard Map Manager and it showed as successful. However, despite doing all the post steps of rebuilding links, indexes, and deploying marketing definitions without error, I keep getting the following error without data showing in Experience Analytics:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-07-03 14:19:14.811 -07:00 [Error] XConnect Exception Logger&#xA;  LogAsync() Sitecore.Xdb.Processing.Queue.ProcessingPoolException:&#xA;  Could not find stored procedure&#xA;  'xdb_processing_pools.InteractionLiveProcessing_AddBatch'. ---&gt;&#xA;  System.Data.SqlClient.SqlException: Could not find stored procedure&#xA;  'xdb_processing_pools.InteractionLiveProcessing_AddBatch'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="858" LastActivityDate="2018-07-05T18:30:33.983" Title="xConnectCollection Error using Azure SQL as Backend" Tags="|xconnect|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12659" PostTypeId="2" ParentId="12059" CreationDate="2018-07-03T22:44:08.470" Score="2" Body="&lt;p&gt;We had the below setting pointing to the wrong domain&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.CookieDomain&quot; value=&quot;****&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2880" LastActivityDate="2018-07-03T22:44:08.470" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12660" PostTypeId="1" CreationDate="2018-07-04T04:43:10.277" Score="0" ViewCount="135" Body="&lt;p&gt;Using Sitecore 8.2 U6&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what I want to do is iterate through 100k contacts and add pattern card(s) to the contacts. I would like to do this without requiring the users to log in or writing code to log each user in and manipulate their session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my code to add to the Behavior Profiles. It executes without issue, but when I pull the user again or visit their profile in Experience Explorer, the new pattern card has not been issued.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contact = xdbContactService.GetXdbContact(&quot;user@email.com&quot;);&#xA;&#xA;var profileConverterBase = BehaviorProfileConverterBase.Create();&#xA;var matchedBehaviorProfile = profileConverterBase.Convert(new ProfileData(&quot;Interests&quot;));&#xA;&#xA;// ID of a pattern card in the Interests profile&#xA;matchedBehaviorProfile.PatternId = new ID(&quot;{69E24166-3DF3-4A55-9852-95C3AA7E1242}&quot;);&#xA;matchedBehaviorProfile.NumberOfTimesScored = 2;&#xA;&#xA;contact.BehaviorProfiles.Add(matchedBehaviorProfile.Id, matchedBehaviorProfile);&#xA;&#xA;xdbContactService.XdbContactManager.SaveAndReleaseContact(contact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My call to get a contact from xDB&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Contact GetXdbContact(string identifier)&#xA;{&#xA;    var contact = XdbContactRepository.LoadContactReadOnly(identifier);&#xA;&#xA;    if (contact != null) return contact;&#xA;&#xA;    var leaseOwner = new LeaseOwner(GetType() + Guid.NewGuid().ToString(), LeaseOwnerType.OutOfRequestWorker);&#xA;&#xA;    contact = XdbContactRepository.CreateContact(Guid.NewGuid());&#xA;&#xA;    if (contact == null) return null;&#xA;&#xA;    contact.Identifiers.Identifier = identifier;&#xA;&#xA;    //Setting these values allows processing and aggregation to process this contact without erroring.&#xA;    contact.System.Value = 0;&#xA;    contact.System.VisitCount = 0;&#xA;&#xA;    //MAKE OTHER Contact Changes here too if you need to on Create.&#xA;&#xA;    XdbContactRepository.SaveContact(contact, new ContactSaveOptions(true, leaseOwner));&#xA;&#xA;    return contact;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I am not sure if this path would ever work. Looking at the &lt;code&gt;visit-scoring-profiles&lt;/code&gt; query, it looks in the interactions table for head of the &lt;code&gt;best-pattern-matches&lt;/code&gt; query. So just sticking a pattern on a contact won't work. It will have to come more organically from the Tracker Session. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;string fullQuery = RetrieveScoringProfiles.InjectFieldsForProfileCount(args, &quot;{collection: &quot;Interactions&quot;,\r\n&lt;br&gt;&#xA;query:  {\r\n                                                          $and: [\r\n                                                            {&quot;ContactId&quot;: @contactid},\r\n                                                            {&quot;Profiles&quot;: {&quot;$exists&quot;: 1}}\r\n                                                            ]\r\n&lt;br&gt;&#xA;}\r\n                                                fields: [&quot;_id&quot;,&quot;ContactId&quot;,&quot;StartDateTime&quot;,&quot;EndDateTime&quot;,&quot;ContactVisitIndex&amp;lt;&amp;lt;ProfileCounts&amp;gt;&amp;gt;&amp;lt;&amp;lt;ProfileSelectedPatterns&amp;gt;&amp;gt;&quot;]}&quot;);&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-07-04T16:34:04.680" LastActivityDate="2018-07-04T16:34:04.680" Title="Add Behavioral Profiles directly on a contact" Tags="|xdb|experience-analytics|experience-profile|" AnswerCount="0" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="12661" PostTypeId="2" ParentId="9484" CreationDate="2018-07-04T05:05:22.813" Score="2" Body="&lt;p&gt;If the above solution from Richard doesn't help, check /site/wwwroot/wwwroot/data/Environments/PlugIn.Content.PolicySet-1.0.0.json. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that the hostname and Sitecore credentials in this config file is correct as Sitecore uses this details to make API calls for Sitecore items. If you have to make changes to this config file you would have to do commerce bootstrap to see that the changes in effect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have documented this here - &lt;a href=&quot;https://pratikthakker.blogspot.com/2018/07/shop-does-not-existcommercetermkeyinval.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://pratikthakker.blogspot.com/2018/07/shop-does-not-existcommercetermkeyinval.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1752" LastActivityDate="2018-07-04T05:05:22.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12662" PostTypeId="2" ParentId="12655" CreationDate="2018-07-04T05:59:59.593" Score="0" Body="&lt;p&gt;Not sure if this is the best way but if the redirect is already working but the status code is incorrect you could add a view rendering with these three lines of code to your 404 page(I have tested in Azure).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;HttpContext.Current.Response.TrySkipIisCustomErrors = true;&#xA;HttpContext.Current.Response.StatusCode = (int)HttpStatusCode.NotFound;&#xA;HttpContext.Current.Response.StatusDescription = &quot;Page not found&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1378" LastActivityDate="2018-07-04T05:59:59.593" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12663" PostTypeId="2" ParentId="12655" CreationDate="2018-07-04T06:20:52.893" Score="6" Body="&lt;p&gt;The Pipeline solution is for the core Sitecore or non-SXA sites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In SXA you can set the pages directly by putting/selecting the pages with its out of the box feature. This is how you do it.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Create the page/pages for not found and internal server error page, you can even style it as per you design.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Assign those page in your settings, by selecting the relevant pages.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yqmJd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yqmJd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;For the 500 page you have to do a little trick, once you have designed the pages completely. &#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;go to &lt;code&gt;/sitecore/content/{Environment}/{DemoSXASite}/Settings/Site Grouping/DemoSXASite&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Select the tab from top navigation &quot;ERROR HANDLING&quot;&lt;/li&gt;&#xA;&lt;li&gt;Click on Generate static page.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VbGxS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VbGxS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my blog link for reference: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://isaadansari.wordpress.com/2018/07/04/setting-up-the-not-found-and-internal-server-error-pages-with-sxa-how-to-implement-series/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://isaadansari.wordpress.com/2018/07/04/setting-up-the-not-found-and-internal-server-error-pages-with-sxa-how-to-implement-series/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-07-05T06:23:26.507" LastActivityDate="2018-07-05T06:23:26.507" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12664" PostTypeId="2" ParentId="12654" CreationDate="2018-07-04T06:47:09.087" Score="0" Body="&lt;p&gt;The only other option is to reject the name (I think this is the case for XConnect in 9), since this is due to an &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/create-index&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Search limitation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The index name must be lower case, start with a letter or number, have no slashes or dots, and be less than 128 characters. After starting the index name with a letter or number, the rest of the name can include any letter, number and dashes, as long as the dashes are not consecutive.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="76" LastActivityDate="2018-07-04T06:47:09.087" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12665" PostTypeId="2" ParentId="12654" CreationDate="2018-07-04T06:51:41.273" Score="3" Body="&lt;p&gt;Azure Search only supports the following characters for index names (see &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/naming-rules&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/rest/api/searchservice/naming-rules&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Letters, numbers, dashes (&quot;-&quot;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Sitecore handles this internally and automatically converts underscores to dashes when initializing the &lt;code&gt;CloudSearchProviderIndex&lt;/code&gt; used for Azure Search. So it's not something you need to think about at all, unless you query Azure Search directly.&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-07-04T06:51:41.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12666" PostTypeId="1" AcceptedAnswerId="12667" CreationDate="2018-07-04T08:38:14.497" Score="1" ViewCount="379" Body="&lt;p&gt;In Habitat, I defined two templates: &lt;code&gt;_idenity&lt;/code&gt; and &lt;code&gt;_footer&lt;/code&gt;, and each of them has the same field name but different ID values,for example IDA and IDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The start root item inherits both these templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So when I use &lt;code&gt;item.Field(IDA)&lt;/code&gt; or &lt;code&gt;item.Field(IDB)&lt;/code&gt;, it always returns the same value. In my case, the field in the &lt;code&gt;_identity&lt;/code&gt; template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look deeply in code, the implementation is: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var field = item.Fields[fieldId];&#xA;FieldRenderer.Render(item, field.Name)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That means it will get value by name instead of by ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to get value by ID?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Ton&lt;/p&gt;&#xA;" OwnerUserId="3935" LastEditorUserId="1671" LastEditDate="2018-07-06T12:01:44.860" LastActivityDate="2018-07-06T12:01:44.860" Title="Multiple fields with the same name in Habitat" Tags="|templates|habitat|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12667" PostTypeId="2" ParentId="12666" CreationDate="2018-07-04T09:37:04.540" Score="1" Body="&lt;p&gt;Is it possible to get value by ID? - &lt;strong&gt;Yes&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the code to get Sitecore Item Field Value by ID:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var fieldValue= item.InnerData.Fields[new ID(fieldId)];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-07-04T09:37:04.540" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12668" PostTypeId="1" CreationDate="2018-07-04T10:38:59.360" Score="5" ViewCount="401" Body="&lt;p&gt;We are facing issues while moving an existing Sitecore master db from an on premise SQL Server instance to an Azure SQL Server. The BACPAC file is almost 5 GB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7CnXW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7CnXW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above error appears on &#xA;- Enabling index 'ndxUnique'&#xA;- importing database&#xA;- importing package schema and data into database&#xA;- updateing database&#xA;- importing data&#xA;- processing import&#xA;- enabling indexes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3J2d1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3J2d1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas about moving such big db into azure sql would be appreciated.&#xA;It's a Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="278" LastEditorUserId="690" LastEditDate="2018-07-04T12:41:42.693" LastActivityDate="2018-10-12T14:04:09.220" Title="Migrate SQL DB to Azure SQL" Tags="|azure|sql-database|content-migration|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12670" PostTypeId="2" ParentId="12428" CreationDate="2018-07-04T11:30:59.950" Score="0" Body="&lt;p&gt;After consulting with Sitecore Support on similar issues, one of my collegues received this patch: &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.227828/releases/tag/2.0.1.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.227828/releases/tag/2.0.1.0&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might want to try this one out.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-07-04T11:30:59.950" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12671" PostTypeId="1" AcceptedAnswerId="12779" CreationDate="2018-07-04T12:27:12.387" Score="3" ViewCount="575" Body="&lt;p&gt;Currently I've setup the XP1 successfull, it is up and Running and here is my Setup:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4jsSH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4jsSH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;So now I am trying to install Sitecore XC Update 1 on this setup.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the only knowledge I have so far that I need to install the XC on my CM and CD's&lt;/li&gt;&#xA;&lt;li&gt;I couldn't find any help on the sitecore site, what is strange because they are selling the hole thing and not too cheap&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Some hints to my Installation configuration&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;I've removed the &quot;EnsureLocalUser&quot; Task in the &quot;CommerceEngine.Deploy.json&quot; because I am using a Domain User, this domain user exists on my SQL Server and has sysadmin rights&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I've removed the Task &quot;InstallSolrCores&quot; in the &quot;Master_SingleServer.json&quot; because I've installed them directly on the SOLR Server&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I've removed the &quot;DO_NOT_TRUST_&quot; from all json files and added my Root CA Thumbprint to all &quot;RootCertFileName&quot; DefaultValues&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My XP0 Installation from XP and XC I've done with this documentation: &lt;a href=&quot;https://buoctrenmay.com/2018/03/24/step-by-step-guide-for-sitecore-xc9-update-1-installation-on-your-machine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://buoctrenmay.com/2018/03/24/step-by-step-guide-for-sitecore-xc9-update-1-installation-on-your-machine/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I was hoping that I could use the same Installation Script with some changes to the Certificate, ....&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    #Requires -Version 3&#xA;    param(&#xA;    [string]$SitePrefix = &quot;Sitecore&quot;,&#xA;    [string]$ScInstallDirectory = &quot;C:\inetpub\wwwroot\&quot;,&#xA;    [string]$SiteHostHeaderName = &quot;SitecoreCm.staging.com&quot;,&#xA;    [string]$SqlServer = &quot;mssql1.staging.com\Staging21&quot;,&#xA;    [string]$SqlDbPrefix = &quot;Sitecore&quot;,&#xA;    [string]$CommerceEngineCertificatePath = &quot;..\xcommerce.cer&quot;,&#xA;    [string]$CommerceSearchProvider = &quot;SOLR&quot;,&#xA;    [string]$SolrUrl = &quot;https://01sitecore1.staging.com:8983/solr&quot;,&#xA;    [string]$SolrRoot = &quot;c:\solr\solr-6.6.2&quot;,&#xA;    [string]$SolrService = &quot;solr-6.6.2&quot;&#xA;    )&#xA;&#xA;    $global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path&#xA;    $modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;Modules&quot; )&#xA;    if ($env:PSModulePath -notlike &quot;*$modulesPath*&quot;)&#xA;    {&#xA;        $p = $env:PSModulePath + &quot;;&quot; + $modulesPath&#xA;        [Environment]::SetEnvironmentVariable(&quot;PSModulePath&quot;,$p)&#xA;    }&#xA;&#xA;&#xA;    $params = @{&#xA;            Path = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json' &#xA;            SiteName = $SiteHostHeaderName&#xA;            SiteHostHeaderName = $SiteHostHeaderName &#xA;            InstallDir = &quot;$($ScInstallDirectory)\$($SiteHostHeaderName)&quot;&#xA;            XConnectInstallDir = &quot;$($ScInstallDirectory)\$($SitePrefix).xconnect.local&quot;&#xA;            CertificateName = &quot;8C41C6BE5471128081E32BE5B0440D8EBEC42B1&quot;&#xA;            CommerceServicesDbServer = $SqlServer    #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;            CommerceServicesDbName = &quot;SitecoreCommerce9_SharedEnvironments&quot;&#xA;            CommerceServicesGlobalDbName = &quot;SitecoreCommerce9_Global&quot;       &#xA;            SitecoreDbServer = $SqlServer            #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;            SitecoreCoreDbName = &quot;$($SqlDbPrefix)_Core&quot;&#xA;            SitecoreUsername = &quot;sitecore\admin&quot;&#xA;            SitecoreUserPassword = &quot;whose-alley-dingo-born-lip&quot;&#xA;            CommerceSearchProvider = $CommerceSearchProvider&#xA;            SolrUrl = &quot;$($SolrUrl)&quot;&#xA;            SolrRoot = &quot;$($SolrRoot)&quot;&#xA;            SolrService = &quot;$($SolrService)&quot;&#xA;            SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SolrSchemas&quot; )&#xA;            SearchIndexPrefix = &quot;&quot;&#xA;            AzureSearchServiceName = &quot;&quot;&#xA;            AzureSearchAdminKey = &quot;&quot;&#xA;            AzureSearchQueryKey = &quot;&quot;&#xA;            CommerceEngineDacPac = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.SDK.*\Sitecore.Commerce.Engine.DB.dacpac&quot;       &#xA;            CommerceOpsServicesPort = &quot;5015&quot;&#xA;            CommerceShopsServicesPort = &quot;5005&quot;&#xA;            CommerceAuthoringServicesPort = &quot;5000&quot;&#xA;            CommerceMinionsServicesPort = &quot;5010&quot;        &#xA;            SitecoreCommerceEngineZipPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.2*.zip&quot;     &#xA;            SitecoreBizFxServicesContentPath = Resolve-Path -Path &quot;..\Sitecore.BizFX.1.1.9&quot;     &#xA;            SitecoreIdentityServerZipPath = Resolve-Path -Path &quot;..\Sitecore.IdentityServer.1.*.zip&quot;&#xA;            CommerceEngineCertificatePath = Resolve-Path -Path &quot;$($CommerceEngineCertificatePath)&quot;      &#xA;            SiteUtilitiesSrc = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SiteUtilityPages&quot; )  &#xA;            HabitatImagesModuleFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Habitat.Images-*.zip&quot;    &#xA;            AdvImagesModuleFullPath = Resolve-Path -Path &quot;..\Adventure Works Images.zip&quot;    &#xA;            CommerceConnectModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Connect*.zip&quot;  &#xA;            CEConnectPackageFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.Connect*.update&quot;&#xA;            PowerShellExtensionsModuleFullPath = Resolve-Path -Path &quot;..\Sitecore PowerShell Extensions*.zip&quot;&#xA;            SXAModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Experience Accelerator*.zip&quot;&#xA;            SXACommerceModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator 1.*.zip&quot;&#xA;            SXAStorefrontModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront 1.*.zip&quot;&#xA;            SXAStorefrontThemeModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront Themes*.zip&quot;&#xA;            SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Habitat Catalog*.zip&quot;&#xA;            MergeToolFullPath = Resolve-Path -Path &quot;..\Microsoft.Web.XmlTransform.dll&quot;&#xA;            UserAccount = @{&#xA;                Domain = &quot;mydomain&quot;&#xA;                UserName = '21-sitecore'&#xA;                Password = 'thepassword'&#xA;            }&#xA;            BraintreeAccount = @{&#xA;                MerchantId = ''&#xA;                PublicKey = ''&#xA;                PrivateKey = ''&#xA;            }&#xA;            SitecoreIdentityServerName = &quot;SitecoreIdentityServer&quot;       &#xA;        }&#xA;&#xA;    if ($CommerceSearchProvider -eq &quot;SOLR&quot;) {&#xA;        Install-SitecoreConfiguration @params&#xA;    }&#xA;    elseif ($CommerceSearchProvider -eq &quot;AZURE&quot;){&#xA;        Install-SitecoreConfiguration @params -Skip InstallSolrCores&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My current problem is, that the setup can't restart the SQL Server. SQL Server is installed on a another machine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a strange issues as on my Dev Setup the SQL Server is also on another machine, and here I don't get this error.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Error Message in English: &quot;Cannot validate argument on parameter ‘InputObject’.&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GHc6a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GHc6a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, the Problem with the Cannont validate I've &quot;solved&quot; so far.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the Problem was that I've restarted the Installation Script again and when you restart it, it tries to delete all the websites when they are existing and then it tries also to restart the SQL Server. My first Solution is that I've manually removed all XC Websites which where created so far.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;And I think now I've found my error why there are no commerce databases created on the SQL Server.&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EgALP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EgALP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I only have the German Error Text :-/&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the second error seems to be a problem with the SQL Server, perhaps a restart help here. I've just tried to install it again on the next morning and the error was gone.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;My next Error is on &quot;InstallModule&quot; I get a 403.0 error when trying to install the Sitecore PowerShell Extensions-4.7.2 for Sitecore 8.zip&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tF7rB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tF7rB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to call this size directly on the Browser I get the same error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XiZO6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XiZO6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Solution for the 403.0 Error was that the page only was avaible with HTTPS when I was calling the page with HTTPS it was working, so I've modified the &quot;master_singleServer.json&quot; from http to https&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &quot;UtilitiesBaseUrl&quot;: &quot;[concat('https://', concat(parameter('SiteHostHeaderName'), '/SiteUtilityPages'))]&quot;,&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;problem: &quot;EnsureSyncDefaultContentPaths&quot;&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Descriped here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11927/ensure-sync-default-content-paths-for-environment-adventureworksauthoring-failed&quot;&gt;Ensure/Sync default content paths for environment AdventureWorksAuthoring failed during SXC installation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I don't know what to fill into the config.json files and into which files, because when you search in the wwwroot I got 8 result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hfVKS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hfVKS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when I look into the IIs Log I see what URL is called in here seems everything ok and I've also called the funktion called with Postman but I don't know if this is the right result&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fDUuX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fDUuX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This problem could be solved by Step #6 on the blogpost &lt;a href=&quot;https://buoctrenmay.com/2018/03/24/step-by-step-guide-for-sitecore-xc9-update-1-installation-on-your-machine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://buoctrenmay.com/2018/03/24/step-by-step-guide-for-sitecore-xc9-update-1-installation-on-your-machine/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Setting up web.config and Sitecore.ContentSearch.config&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;I also hat to manipulate the web.config I had commented out the following rule for the installation after it comment it in again&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;rule name=&quot;Forbidden&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot; /&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot; /&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;  &amp;lt;action type=&quot;CustomResponse&quot; statusCode=&quot;403&quot; subStatusCode=&quot;0&quot; /&amp;gt;&#xA; &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the file C:\inetpub\wwwroot\\App_Config\Sitecore\ContentSearch/Sitecore.ContentSearch.config comment out the event&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;event name=&quot;packageinstall:items:ended&quot;&amp;gt;&#xA;   &amp;lt;handler type=&quot;Sitecore.ContentSearch.Events.PackagingEventHandler, Sitecore.ContentSearch&quot; method=&quot;OnPackageInstallItemsEndHandler&quot; /&amp;gt;&#xA; &amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After this Changes the Installation on my CM was successfull&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need more information about my setup please tell me what you need to know&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2018-07-10T11:38:49.807" LastActivityDate="2018-07-10T11:39:47.377" Title="Problems installing SXC 9 Update 1 installation on XP1 9.0.2 CM" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12673" PostTypeId="1" AcceptedAnswerId="12711" CreationDate="2018-07-04T13:36:36.017" Score="1" ViewCount="363" Body="&lt;p&gt;This is somewhat related to &lt;a href=&quot;https://sitecore.stackexchange.com/q/3689/148&quot;&gt;How to view triggered goals&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are working on a solution where we need to trigger an analytics goal when someone submits a form. I've got that working by triggering the goal programatically and can see the goal registered as a conversion. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'm wondering is why I'm only seeing one visit. This is from a QA environment where multiple people have triggered the goal (submitted the form) several times. I was expecting to see how many times the goal has been triggered in total and also how many different users / sessions have triggered the goal. Am I missing something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/flLLM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/flLLM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="148" LastActivityDate="2018-07-06T04:46:48.533" Title="How many times has my goal been triggered" Tags="|xdb|experience-analytics|goals|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12674" PostTypeId="1" AcceptedAnswerId="12675" CreationDate="2018-07-04T14:15:02.887" Score="1" ViewCount="376" Body="&lt;p&gt;I have a template and i want to show the template name in the rendering variant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to add a &quot;field&quot; type to the variant, and set its name to &quot;template&quot;, but that didn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried using a &quot;token&quot; and set it to $currenttemplate but that didn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me because I don't know what to do.&lt;/p&gt;&#xA;" OwnerUserId="3888" LastActivityDate="2018-07-04T14:25:46.087" Title="How to show template name in rendering variant?" Tags="|sxa|presentation|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12675" PostTypeId="2" ParentId="12674" CreationDate="2018-07-04T14:25:46.087" Score="3" Body="&lt;p&gt;Try with &lt;code&gt;VariantTemplate&lt;/code&gt; field&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IRKiw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IRKiw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3mM9k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3mM9k.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-07-04T14:25:46.087" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12677" PostTypeId="2" ParentId="12666" CreationDate="2018-07-04T15:05:01.697" Score="2" Body="&lt;p&gt;This is an improper implementation in Habitat's &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/SitecoreExtensions/code/Services/FieldRendererService.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;FieldRendererService&lt;/a&gt;. And another reason why you shouldn't start a new (real) project based on that source code. It's really meant as a demo.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can pass a stringified ID to the &lt;code&gt;FieldRenderer.Render&lt;/code&gt; method, which is what should have been done here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string RenderField(Item item, ID fieldId)&#xA;{&#xA;    var field = item.Fields[fieldId];&#xA;    Assert.IsNotNull(field, &quot;Field with id: &quot; + fieldId + &quot; is null on item &quot; + item.Name);&#xA;    return FieldRenderer.Render(item, fieldId.ToString());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would also argue that it's a bit strange that the &quot;field ID&quot; variant checks for the field's existence, whereas the name-based variant does not. If you don't do this check, then Sitecore will silently return an empty string if the field doesn't exist.&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2018-07-05T15:00:08.617" LastActivityDate="2018-07-05T15:00:08.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12678" PostTypeId="1" CreationDate="2018-07-04T15:20:37.100" Score="1" ViewCount="137" Body="&lt;p&gt;We are trying to install the following NuGet package: Microsoft.IdentityModel.Protocols.OpenIdConnect&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, we are being blocked by this error message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error Unable to find a version of 'Microsoft.Extensions.Configuration'&#xA;  that is &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;compatible with 'Microsoft.Extensions.Configuration.CommandLine 2.1.1&#xA;  constraint: Microsoft.Extensions.Configuration (&gt;= 2.1.1)',&#xA;  'Microsoft.Extensions.Configuration.EnvironmentVariables 2.1.1&#xA;  constraint: Microsoft.Extensions.Configuration (&gt;= 2.1.1)',&#xA;  'Microsoft.Extensions.Configuration.FileExtensions 2.1.1 constraint:&#xA;  Microsoft.Extensions.Configuration (&gt;= 2.1.1)',&#xA;  'Microsoft.Extensions.Configuration.Ini 2.1.1 constraint:&#xA;  Microsoft.Extensions.Configuration (&gt;= 2.1.1)',&#xA;  'Microsoft.Extensions.Configuration.Json 2.1.1 constraint:&#xA;  Microsoft.Extensions.Configuration (&gt;= 2.1.1)',&#xA;  'Microsoft.Extensions.Configuration.Xml 2.1.1 constraint:&#xA;  Microsoft.Extensions.Configuration (&gt;= 2.1.1)'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Since Sitecore relies on this Microsoft.Extensions.Configuration NuGet package, we cannot remove it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do we get back to a state, where we can add NuGet packages?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="690" LastEditDate="2018-07-06T17:24:57.183" LastActivityDate="2018-07-06T17:24:57.183" Title="Cannot upgrade nuget package due to Microsoft.Extensions.Configuration" Tags="|sitecore-client|nuget|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12679" PostTypeId="1" AcceptedAnswerId="12682" CreationDate="2018-07-04T15:49:19.840" Score="2" ViewCount="107" Body="&lt;p&gt;We added a rule for &lt;code&gt;Password Policy&lt;/code&gt; in web.config by changing some properties(minRequiredPasswordLength, passwordStrengthRegularExpression) of &lt;code&gt;SqlMembershipProvider&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing password manually in &lt;strong&gt;User Manager interface&lt;/strong&gt; respects this rule fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we generate a random password using &lt;strong&gt;Generate&lt;/strong&gt; button it generates a password that didn't respect our rule. It generates always password with 14 characters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we modify this functionality to force generating password using our rule?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="2820" LastEditorUserId="2056" LastEditDate="2018-07-04T18:17:48.263" LastActivityDate="2018-07-04T18:18:26.877" Title="Change password using generate button in User Manager" Tags="|user-management|user-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12680" PostTypeId="1" AcceptedAnswerId="12681" CreationDate="2018-07-04T16:06:08.227" Score="10" ViewCount="1180" Body="&lt;p&gt;There is a lot of reasons why I would like to have a separate index per site (or even per language). Some of them are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;separation of data&lt;/li&gt;&#xA;&lt;li&gt;keeping the index small which increase performance&lt;/li&gt;&#xA;&lt;li&gt;not extending fields number limit per index (e.g.: Azure Search provider have 1000 fields limit)&lt;/li&gt;&#xA;&lt;li&gt;separate index per language would give the possibility to define a different list of stop words for Solr&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is that possible in SXA?&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-07-04T16:06:08.227" Title="Is there a way to define index per site in SXA" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12681" PostTypeId="2" ParentId="12680" CreationDate="2018-07-04T16:06:08.227" Score="13" Body="&lt;p&gt;Yes, it's possible. There is a new feature in SXA 1.7.1 which allows you to create an index per site and per language (and of course per database).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Site Definition (&lt;code&gt;/sitecore/content/YOUR_TENANT/YOUR_SITE/Settings/Site Grouping/YOUR_SITE&lt;/code&gt;) item you will find a new field in the Indexing section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YlzF3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YlzF3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This field is using a special convention which allows SXA to resolve custom indexes. In the above example I've for example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_sxa_web_en_index&lt;/code&gt; defined for Web database and English language&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_sxa_web_es_index&lt;/code&gt; specified for master database and Spanish language&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_sxa_master_en_index&lt;/code&gt; specified for master database and English language&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There is one more useful convention which can be used. If I would something like that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QMJtP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QMJtP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will allow you to specify an index per database regardless of a language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Things to remember&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;you need to define those indexes in config files by your own&lt;/li&gt;&#xA;&lt;li&gt;you need to ensure that those indexes exist in your search provider (e.g.: in case of Solr, you need to create cores manually)&#xA;In other words - SXA is using indexes which exists and it's not creating them automatically for you.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-07-04T16:06:08.227" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12682" PostTypeId="2" ParentId="12679" CreationDate="2018-07-04T18:11:01.723" Score="3" Body="&lt;p&gt;To make this work you need to follow these 5 steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create your own GeneratePassword() method.It should do exactly the same as System.Web.Security.SqlMembershipProvider.GeneratePassword(), but instead of using modulo 87, it should use your custom logic to generate valid passwords.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create your own SqlMembershipProvider and let it inherit from System.Web.Security.SqlMembershipProvider. The only thing this provider should do is to return your own GeneratePassword() (from step 1) instead of returning from System.Web.Security.Membership.GenereatePassword().&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the web.config file, add your new SqlMembershipProvider (from step 2) into .&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the web.config file, change the SitecoreMembershipProvider to use your own provider (from step 3) instead of Sitecore.Security.SitecoreMembershipProvider&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Test the Generate New Password from the Security Manager in Sitecore Desktop&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More details can be found in this awesome detailed blog post:&#xA;&lt;a href=&quot;http://kirkegaard-at.blogspot.com/2014/06/alphanumeric-characters-in-generate-new.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://kirkegaard-at.blogspot.com/2014/06/alphanumeric-characters-in-generate-new.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Credit goes to Rasmus Kirkegaard Mortensen.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-04T18:18:26.877" LastActivityDate="2018-07-04T18:18:26.877" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12684" PostTypeId="1" CreationDate="2018-07-05T04:16:04.307" Score="0" ViewCount="34" Body="&lt;p&gt;I've set up Sitecore XP 8.2 update 7 via SIM and I am following steps in&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_SC_SetUpCommerceServerSite.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_SC_SetUpCommerceServerSite.html&lt;/a&gt; &#xA;To setup Sitecore Commerce.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After setting Sitecore Commerce Server, when I try to run &lt;code&gt;Sitecore.Reference.Storefront.Powered.by.SitecoreCommerce.10.0.xxx.update&lt;/code&gt; package again, I get an error while accessing the site as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &quot;Error: failure in catalog resolve, hr: -2147483326&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore logs don't show any details. However, Windows event logs show following errors:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Error: failure in catalog resolve, hr: -2147483326&lt;/li&gt;&#xA;&lt;li&gt;Catalog Load failed catalog: Profile Definitions (-2147483326)&lt;/li&gt;&#xA;&lt;li&gt;DataSource::Init(DS-1-Profile Definitions) failed on catalog load&#xA;(-904429548)&lt;/li&gt;&#xA;&lt;li&gt;In BindArgs::OpenDataSrc(), failed initializing data source&#xA;(-904429548)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can someone suggest any resolutions for this error?&lt;/p&gt;&#xA;" OwnerUserId="2938" LastEditorUserId="690" LastEditDate="2018-07-05T09:55:50.203" LastActivityDate="2018-07-05T09:55:50.203" Title="&quot;Error: failure in catalog resolve&quot; thrown after setting Sitecore Commerce in localhost" Tags="|sitecore-commerce|installation|commerce-server|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12685" PostTypeId="1" CreationDate="2018-07-05T09:05:10.030" Score="3" ViewCount="371" Body="&lt;p&gt;&lt;strong&gt;Context&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my Sitecore (8.2.u7) instance I have 2 websites that share the same images.&#xA;For this reason, I have setup &lt;code&gt;Media.MediaLinkServerUrl&lt;/code&gt; e.g. cdn.mysite.com.&#xA;This will also help me to integrate with an external CDN provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also created a virtual Directory named &quot;MediaCache&quot; inside \App_Data\&#xA;that points to a local path. (for internal reasons)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Objectives&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to setup both sites to use the same cache folder e.g. \App_data\MediaCache\Common&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Actions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried with the following settings:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;(Sitecore setting) &lt;code&gt;Media.CacheFolder&lt;/code&gt; = &quot;/App_Data/MediaCache&quot;&lt;/li&gt;&#xA;&lt;li&gt;(site) &lt;code&gt;mediaCachePath&lt;/code&gt; = &quot;/App_Data/MediaCache/Common&quot;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But the result was the images to be stored under a &quot;website&quot; folder that actually points to the default &quot;website&quot; Sitecore site. (&quot;/App_data/MediaCache/website&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing I can think is that because I have specified an url for the media library items and there is no relevant site for them, then they are stored under the default website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this true or I do something wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance,&lt;/p&gt;&#xA;" OwnerUserId="3276" LastEditorUserId="3276" LastEditDate="2018-07-05T10:04:15.623" LastActivityDate="2018-07-05T10:04:15.623" Title="How to set Media Cache Folder per site?" Tags="|media-library|caching|multisite|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12686" PostTypeId="2" ParentId="12655" CreationDate="2018-07-05T09:25:30.810" Score="1" Body="&lt;p&gt;thank you for this article. &#xA;I Created a 404 page as you mentioned and added some component to customize content displayed. &#xA;I disabled the processor to override Sitecore's default 404. &#xA;I set also ItemNotFoundUrl &lt;code&gt;&amp;lt;setting name=&quot;ItemNotFoundUrl&quot; value=&quot;/404&quot; /&amp;gt;&lt;/code&gt; &#xA;In web.config I didn't added any specific configuration in section &lt;strong&gt;customErrors&lt;/strong&gt; and httpErrors for 404 statutscode just added paths in httpErrors for 400,405 and 500 statuscode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Added 404 and 500 in Settings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KEHam.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KEHam.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Trying that I still got 200 statuscode&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stilling have the issue, I added also a controller rendering to set statusCode&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageNotFoundController : Controller&#xA;{&#xA;    public ActionResult Request404Page()&#xA;    {&#xA;        System.Web.HttpContext.Current.Response.TrySkipIisCustomErrors = true;&#xA;        System.Web.HttpContext.Current.Response.StatusCode = 404;&#xA;        System.Web.HttpContext.Current.Response.StatusDescription = &quot;404 File Not Found&quot;;&#xA;&#xA;        return View();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the the view is empty&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But testing that still have the issue 200 statuscode returned. Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="2820" LastActivityDate="2018-07-05T09:25:30.810" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12687" PostTypeId="2" ParentId="12601" CreationDate="2018-07-05T09:51:55.227" Score="1" Body="&lt;p&gt;I have figured out the cause of the issue and have a fix, rather a work around to get rid of the error and have my Commerce Server up and running for edit.&#xA;The issue was the database got corrupted with invalid data. So I did a restore of the Commerce database and after that the error message got removed.&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-07-05T09:51:55.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12689" PostTypeId="1" CreationDate="2018-07-05T10:26:18.660" Score="5" ViewCount="2148" Body="&lt;p&gt;We are running Sitecore 9.0.0 (Initial Release) on Azure with SolrCloud (6.6.2) and getting close to go-live. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore's &lt;code&gt;SwitchOnRebuild&lt;/code&gt; functionality for indexing so that the indexes should be refreshed in the background. However, we are seeing an issue with the swapping of those indexes which means that the indexes are not updated correctly and various 404 errors are presented to the end-user because of failed lookups. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can also see clear differences between the index and rebuild indexes via a direct query in Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Initially, Sitecore thought this was a timeout issue (because there was a clear error in the logs relating to this) and we've increased the period from the default to 30 minutes. We are no longer seeing the timeout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are also using &lt;code&gt;EnforceAliasCreation&lt;/code&gt; and have multiple SolrCloud nodes, both of which are highlighted as potential causes of this behaviour and fixed in 9.0.2. Sitecore has suggested however that the release notes on these two issues are misleading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone seen/solved this before? Or any general pointers would be greatly appreciated -  Sitecore support seem a bit stumped so far.&lt;/p&gt;&#xA;" OwnerUserId="87" LastEditorUserId="1671" LastEditDate="2018-07-06T11:57:07.247" LastActivityDate="2018-07-25T09:45:32.897" Title="SwitchOnRebuild with SolrCloud not working" Tags="|solr|azure|indexing|performance|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12691" PostTypeId="2" ParentId="9639" CreationDate="2018-07-05T11:06:51.000" Score="1" Body="&lt;p&gt;I was also facing same issue. Not sure what was the root cause problem. But changing Identity of App pool in IIS work for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Goto IIS -&gt; Application Pools -&gt; Select your website application Pool -&gt; Click on Adavanced Settings -&gt; Click on Identity -&gt; Select any other identity like &quot;ApplicationPoolIdentity&quot; or &quot;Network Service&quot; or &quot;Local System&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note:- Choose the identity different from current one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should start your Sitecore instance.&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2018-07-05T11:06:51.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12692" PostTypeId="1" AcceptedAnswerId="12697" CreationDate="2018-07-05T12:30:44.123" Score="1" ViewCount="872" Body="&lt;p&gt;I just installed a fresh instance of Sitecore Commerce 9.0 Update 1 and then start to play with Habitat Home (content and commerce). After installing all stuff when I go to the Content Editor under &lt;strong&gt;Sitecore/Commerce/Catalog Management/Catalogs&lt;/strong&gt; I can't see the catalog but in Business Tools it is loaded correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For fixing this I'm trying to delete &lt;strong&gt;Delete Data Templates&lt;/strong&gt;, &lt;strong&gt;Refresh Commerce Cache&lt;/strong&gt; and then &lt;strong&gt;Update Data Templates&lt;/strong&gt;. &#xA;But when I trying to do the &lt;strong&gt;Update Data Templates&lt;/strong&gt; I'm getting following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kYSnv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kYSnv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;An error occured &#xA;  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt;&#xA;  System.ArgumentNullException: Value cannot be null. Parameter name:&#xA;  key at&#xA;  System.Collections.Concurrent.ConcurrentDictionary`2.ContainsKey(TKey&#xA;  key) at&#xA;  Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.GetEntityView(String&#xA;  sitecoreId, String viewName, String forAction, String itemId) at&#xA;  Sitecore.Commerce.Engine.Connect.DataProvider.Templates.CatalogTemplateGenerator.BuildCatalogTemplates(Database&#xA;  database) --- End of inner exception stack trace --- at&#xA;  System.RuntimeMethodHandle.InvokeMethod(Object target, Object[]&#xA;  arguments, Signature sig, Boolean constructor) at&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments) at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;  Object[] parameters, Object obj) at&#xA;  Sitecore.Jobs.JobRunner.RunMethod(JobArgs args) at (Object , Object[]&#xA;  ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain) at&#xA;  Sitecore.Jobs.Job.DoExecute() at Sitecore.Jobs.Job.ThreadEntry(Object&#xA;  state)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3926" LastEditorUserId="690" LastEditDate="2018-07-05T15:02:25.467" LastActivityDate="2018-07-05T15:02:25.467" Title="Unable to Update Data Templates in Sitecore Commerce 9" Tags="|sitecore-commerce|habitat|commerce-catalog|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12693" PostTypeId="1" AcceptedAnswerId="12694" CreationDate="2018-07-05T12:45:34.843" Score="1" ViewCount="734" Body="&lt;p&gt;I am trying to get only one item under a specific page in the content tree using a query in variant. I tried &lt;code&gt;query:.//*&lt;/code&gt; but it gets all children under that item. I only need the first one. Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="3888" LastEditorUserId="851" LastEditDate="2018-07-05T12:52:09.983" LastActivityDate="2018-07-05T12:52:09.983" Title="How to get first child of an item in content tree?" Tags="|sxa|sitecore-query|renderfield|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12694" PostTypeId="2" ParentId="12693" CreationDate="2018-07-05T12:51:46.803" Score="1" Body="&lt;p&gt;You can use &lt;code&gt;Maximal number of results&lt;/code&gt; field for this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C3ibA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C3ibA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-07-05T12:51:46.803" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12695" PostTypeId="2" ParentId="4358" CreationDate="2018-07-05T13:08:43.120" Score="4" Body="&lt;p&gt;Just an update for Sitecore 9, here are the Sitecore kernel dll's file versions for different releases -&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;11.1.0.369 = 9.0 rev. 171002 (9.0 Initial Release)&lt;/li&gt;&#xA;&lt;li&gt;11.1.1.395 = 9.0 rev. 171219 (9.0 Update-1)&lt;/li&gt;&#xA;&lt;li&gt;11.1.2.461 = 9.0 rev. 180604 (9.0 Update-2)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="124" LastEditorUserId="135" LastEditDate="2018-07-05T13:13:52.017" LastActivityDate="2018-07-05T13:13:52.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12696" PostTypeId="1" AcceptedAnswerId="12716" CreationDate="2018-07-05T13:32:44.627" Score="2" ViewCount="1685" Body="&lt;p&gt;am facing the issues while installing Sitecore 9, and getting below errors&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a valid licence and &lt;strong&gt;solr is up and running and version is 6.2.2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[---------------------------------------------------------- StartServices [1] : ManageService --------------------------------------------------------------]&#xA;[StartServices [1]]:[Updating] xp0.xconnect-IndexWorker&#xA;Install-SitecoreConfiguration : Service 'Sitecore XConnect Search Indexer - xp0.xconnect-IndexWorker (xp0.xconnect-IndexWorker)' **cannot be started due to &#xA;the following error: Cannot start service xp0.xconnect-IndexWorker on computer '.'.**&#xA;At C:\Users\sitecoretr\Downloads\OneDrive_2018-07-02\sitecore 9\SIFLess\SIFless-EZ-1530793277.ps1:42 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:03:35&#xA;Transcript stopped, output file is C:\Windows\system32\xconnect-xp0.180705 (20).log&#xA;Start-Service : Service 'Sitecore XConnect Search Indexer - xp0.xconnect-IndexWorker (xp0.xconnect-IndexWorker)' cannot be started due to the following &#xA;error: Cannot start service xp0.xconnect-IndexWorker on computer '.'.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-ManageServiceTask.ps1:40 char:33&#xA;+                     $instance | Start-Service&#xA;+                                 ~~~~~~~~~~~~~&#xA;    + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException&#xA;    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The below error in the event viewer&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The Sitecore XConnect Search Indexer - xp0.xconnect-IndexWorker service failed to start due to the following error: &#xA;Access is denied&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3924" LastEditorUserId="690" LastEditDate="2018-07-05T14:08:15.883" LastActivityDate="2018-07-06T09:54:45.923" Title="Service 'Sitecore XConnect Search Indexer - xp0.xconnect-IndexWorker Cannot start service xp0.xconnect-IndexWorker on computer '" Tags="|xconnect|sitecore-install-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12697" PostTypeId="2" ParentId="12692" CreationDate="2018-07-05T13:44:02.093" Score="2" Body="&lt;p&gt;Fixed!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Corrected the certificate thumbprint in this two config files:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore.Commerce.Endine.Connect.config&lt;/strong&gt; from &quot;habitathome.dev.local\App_Config\Include\Y.Commerce.Engine&quot;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;config.json&lt;/strong&gt; from &quot;\CommerceAuthoring_Sc9\wwwroot&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3926" LastActivityDate="2018-07-05T13:44:02.093" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12698" PostTypeId="1" CreationDate="2018-07-05T14:21:28.310" Score="0" ViewCount="154" Body="&lt;p&gt;I have a requirement where we need to retain a URL from a legacy system (Umbraco). The way legacy works is a search page that filters search results via query string but in the format of rest API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.q.&#xA;www.mydomain.com/searchpage/A (/A means filtering all names starts with A).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;www.mydomain.com/searchpage/A/Aaron (/A/Aaron means filtering all names starts with A along with specific name Aaron.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible achievable in Sitecore? We are trying not to use rewrite rules in this solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this makes sense.&lt;/p&gt;&#xA;" OwnerUserId="707" LastEditorUserId="4050" LastEditDate="2020-01-12T11:12:16.607" LastActivityDate="2020-01-12T11:12:16.607" Title="How to make query to form as part of base URL" Tags="|url-rewrite|urls|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12699" PostTypeId="2" ParentId="12698" CreationDate="2018-07-05T14:31:01.893" Score="2" Body="&lt;p&gt;You could use Sitecore wildcard item(s) to achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You create a page underneath searchpage and name it &quot;*&quot;. Sitecore will map all request that are made to something underneath searchpage (and can't be resolved) to this &lt;em&gt;wildcard&lt;/em&gt; item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The wildcard item itself is actually an item just like any other - so you can put a layout and renderings on it. In these renderings you can access the parameters in the url to use in any logic you need - in this case a (filtered) search result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Couldn't find any info on the official Sitecore docs, but there are plenty blogs posts on the subject as well.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-07-05T14:31:01.893" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12700" PostTypeId="1" AcceptedAnswerId="13030" CreationDate="2018-07-05T14:48:37.173" Score="6" ViewCount="847" Body="&lt;p&gt;We would like to inverse the logic and set the IndexAllFields property of the master index to false, so that only fields that are explicitly configured end up in the database. (Reason we are doing this has to do with the 1000 fields limit azure search)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a list of fields that sitecore needs and should be added to the master index?&lt;/p&gt;&#xA;" OwnerUserId="3675" LastEditorUserId="3675" LastEditDate="2018-07-06T06:47:59.310" LastActivityDate="2018-07-25T23:03:36.817" Title="Required fields on master search index" Tags="|azure-search|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12701" PostTypeId="1" AcceptedAnswerId="12702" CreationDate="2018-07-05T15:55:11.950" Score="9" ViewCount="746" Body="&lt;p&gt;I'm writing a SPE script to package up all unused media library items under a specific folder (prior to deletion). I've found &lt;code&gt;New-Package&lt;/code&gt; and &lt;code&gt;New-ItemSource&lt;/code&gt; methods and know how to use them (to some extent). How can I add multiple items from a collection to a single ItemSource object?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My script so far looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items = Get-ChildItem -Path &quot;master:\sitecore\media library\Project\ACME&quot; -Recurse | &#xA;Where-Object { $_.TemplateID -ne [Sitecore.TemplateIDs]::MediaFolder} |&#xA;Where-Object { ![Sitecore.Globals]::LinkDatabase.GetReferrerCount($_) -gt 0}&#xA;&#xA;&#xA;# Create package&#xA;$package = new-package &quot;Unused Media Items&quot;;&#xA;&#xA;# Set package metadata&#xA;$package.Sources.Clear();&#xA;$package.Metadata.Author = &quot;ACME&quot;;&#xA;$package.Metadata.Publisher = &quot;ACME&quot;;&#xA;$package.Metadata.Version = &quot;1.0.0&quot;;&#xA;$package.Metadata.Readme = &quot;&quot;;&#xA;&#xA;$source = $items | New-ItemSource -Name 'Media' -InstallMode Overwrite&#xA;$package.Sources.Add($source);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It seems that when I pipe a collection object to &lt;code&gt;New-ItemSource&lt;/code&gt; it only picks up the last item. It seems wrong to create a new itemsource object for each item, but maybe that is not an issue?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="690" LastEditDate="2018-07-06T17:46:53.810" LastActivityDate="2018-07-06T17:46:53.810" Title="SPE How to add multiple items to package source" Tags="|media-library|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12702" PostTypeId="2" ParentId="12701" CreationDate="2018-07-05T16:23:02.707" Score="11" Body="&lt;p&gt;The script we use to bundle up SPE can be found here:&#xA;&lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/Platform/Development/PowerShell Extensions Maintenance/Prepare Console Distribution&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the documentation &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/packaging/new-itemsource&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Creates new Item source that can be added to a Sitecore package. Item provided to it is added as well as its subitems.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;New-ItemSource&lt;/code&gt; returns a single object which represents the root node. Should probably just use &lt;code&gt;Get-Item&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-Item 'master:\templates\Modules\PowerShell Console' | &#xA;    New-ItemSource -Name 'Master Item Templates' -InstallMode Overwrite&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XxC7F.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XxC7F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Creates new Item source that can be added to a Sitecore package. This source only includes items explicitly added to it and not their children.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;New-ExplicitItemSource&lt;/code&gt; returns a single object which represents the multiple entries. Use &lt;code&gt;Get-ChildItem&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Get-ChildItem 'master:\system\Modules\PowerShell' | &#xA;    New-ExplicitItemSource -Name &quot;Master Module Root&quot; -InstallMode Merge -MergeMode Merge&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ylmSM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ylmSM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-07-05T16:28:34.913" LastActivityDate="2018-07-05T16:28:34.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12703" PostTypeId="1" AcceptedAnswerId="12704" CreationDate="2018-07-05T16:50:05.123" Score="1" ViewCount="142" Body="&lt;p&gt;I'm using Sitecore 9 and SXA 1.7. I have the SXA date filter component that I am using to filter some results, however, I noticed that it can let me choose the &quot;to/end&quot; date without choosing the &quot;start/from&quot; .. I need to change that behavior, so that it cannot let the user pick an &quot;end&quot; date without picking first the &quot;start&quot; date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to do that without writing custom code? and if the only solution is to customize the component, can anyone help me with an idea on how to achieve that?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2018-07-05T17:50:20.747" Title="How to force the date filter to pick &quot;from&quot; date before picking &quot;to&quot; date?" Tags="|sxa|validation|datetimepicker|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12704" PostTypeId="2" ParentId="12703" CreationDate="2018-07-05T17:50:20.747" Score="2" Body="&lt;p&gt;Something like that is not possible out of the box. You will need to write some custom code. Try something like that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Disable the second &lt;a href=&quot;https://jqueryui.com/datepicker/&quot; rel=&quot;nofollow noreferrer&quot;&gt;datepicker&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Use following code to enable the second datepicker when any date will be selected:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(&quot;#fromDate&quot;).datepicker({&#xA;    // Example options - modify as you need&#xA;    numberOfMonths: 1,&#xA;    dateFormat: 'dd/mm/yy',&#xA;    minDate: 0,&#xA;&#xA;    onSelect: function () {&#xA;        var selectedDate = $(this).datepicker('getDate');&#xA;        // This function will be called when you will select date in the first datepicker. &#xA;        // Simply enable second datepicker here.&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-07-05T17:50:20.747" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12705" PostTypeId="2" ParentId="12658" CreationDate="2018-07-05T18:30:33.983" Score="1" Body="&lt;p&gt;The issue was the Pools database lacking the stored procedures. A re-import of the pools database bacpac to Azure SQL fixed the issue.&lt;/p&gt;&#xA;" OwnerUserId="858" LastActivityDate="2018-07-05T18:30:33.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12706" PostTypeId="1" CreationDate="2018-07-05T18:43:42.917" Score="3" ViewCount="767" Body="&lt;p&gt;Please help me what am missing in writing log for the exception. Always am getting an empty file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Logger in &lt;code&gt;Sitecore.Config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;log4net&amp;gt;&#xA;   &amp;lt;appender name=&quot;CustomLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;      &amp;lt;file value=&quot;$(dataFolder)/logs/Custom/CustomLog.log&quot; /&amp;gt;&#xA;      &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;      &amp;lt;staticLogFileName value=&quot;false&quot; /&amp;gt;&#xA;      &amp;lt;datePattern value=&quot;_yyyyMMdd&quot; /&amp;gt;&#xA;      &amp;lt;rollingStyle value=&quot;Date&quot; /&amp;gt;&#xA;      &amp;lt;lockingModel type=&quot;log4net.Appender.FileAppender+MinimalLock&quot; /&amp;gt;&#xA;      &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;preserveLogFileNameExtension value=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;         &amp;lt;conversionPattern value=&quot;%d (%-5p) %n%m%n%n&quot; /&amp;gt;&#xA;      &amp;lt;/layout&amp;gt;&#xA;   &amp;lt;/appender&amp;gt;&#xA;   &amp;lt;root&amp;gt;&#xA;      &amp;lt;priority value=&quot;INFO&quot; /&amp;gt;&#xA;      &amp;lt;appender-ref ref=&quot;LogFileAppender&quot; /&amp;gt;&#xA;   &amp;lt;/root&amp;gt;&#xA;   &amp;lt;logger name=&quot;CustomLog&quot; additivity=&quot;false&quot;&amp;gt;&#xA;      &amp;lt;priority value=&quot;INFO&quot; /&amp;gt;&#xA;      &amp;lt;appender-ref ref=&quot;CustomLogFileAppender&quot; /&amp;gt;&#xA;   &amp;lt;/logger&amp;gt;&#xA;&amp;lt;/log4net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ILog Logger = LogManager.GetLogger(&quot;CustomLog&quot;);&#xA;try&#xA;{ }&#xA;catch(Exception e)&#xA;{&#xA;    Logger.Info(e);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="1671" LastEditDate="2018-07-06T11:53:00.130" LastActivityDate="2018-07-06T11:53:00.130" Title="Sitecore custom log file is empty" Tags="|mvc|logging|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12707" PostTypeId="2" ParentId="12171" CreationDate="2018-07-05T21:42:38.110" Score="0" Body="&lt;p&gt;I reproduced this today and it will be resolved in the next JSS release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is caused by Sitecore emitting a &lt;code&gt;style&lt;/code&gt; attribute on an image field in Layout Service, which JSS then passed through to the React component. React does not like string styles, so this is an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Style attributes are ignored as a workaround, as inline styles have no place coming from the API server.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-07-05T21:42:38.110" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12708" PostTypeId="2" ParentId="12706" CreationDate="2018-07-06T01:01:42.613" Score="7" Body="&lt;p&gt;Two possible problems that could cause this i can think of:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You are referencing log4net.dll instead of Sitecore.Logging.dll, You need to reference Sitecore.Logging.dll in your project for Sitecore custom logger to work&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You custom log4net configurations lives outside &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node, Make sure it is located within that node:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;&#xA;    &#xA;        &#xA;            &#xA;            &#xA;            &#xA;            &#xA;            &#xA;            &#xA;            &#xA;            &#xA;            &#xA;                &#xA;            &#xA;        &#xA;        &#xA;            &#xA;            &#xA;        &#xA;        &#xA;            &#xA;            &#xA;        &#xA;    &#xA;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2018-07-06T05:55:25.927" LastActivityDate="2018-07-06T05:55:25.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12709" PostTypeId="2" ParentId="12706" CreationDate="2018-07-06T02:31:06.713" Score="1" Body="&lt;p&gt;I think that &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;priority value=&quot;INFO&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Should be changed to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;level value=&quot;INFO&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Give that a go&lt;/p&gt;&#xA;" OwnerUserId="1378" LastActivityDate="2018-07-06T02:31:06.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12710" PostTypeId="1" AcceptedAnswerId="12715" CreationDate="2018-07-06T03:16:17.823" Score="7" ViewCount="1478" Body="&lt;p&gt;Sitecore 9 U1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have stood up a new instance of Habitat Home using &lt;a href=&quot;https://buoctrenmay.com/2018/05/30/sitecore-demo-habitat-home-step-by-step-setup-guide/amp/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this link&lt;/a&gt; and &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Content&quot; rel=&quot;nofollow noreferrer&quot;&gt;this repo&lt;/a&gt;. I am not crazy familiar with SXA. I can edit/preview the pages without issue, but when I try and view the site anonymously, I get the below error on every page. Full stack trace &lt;a href=&quot;https://gist.github.com/dnstommy/42cccda06220f43ce2554574a240aa83&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It feels like it is related to the site config. I have updated and tinkered with it in SXA and gone as far as creating a traditional site config via a patch file, but no go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Server Error in '/' Application.&#xA;Invalid item path in XA.Foundation.Presentation.PartialDesignDynamicPlaceholderRendering&#xA;Description: An unhandled exception occurred. &#xA;&#xA;Exception Details: System.Configuration.ConfigurationErrorsException: Invalid item path in XA.Foundation.Presentation.PartialDesignDynamicPlaceholderRendering&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[ConfigurationErrorsException: Invalid item path in XA.Foundation.Presentation.PartialDesignDynamicPlaceholderRendering]&#xA;   Sitecore.XA.Foundation.Presentation.Services.LayoutXmlService.GetPartialDesignRenderingItem(Item item) +238&#xA;   Sitecore.XA.Foundation.Presentation.Services.LayoutXmlService.CreateWrapperElement(Item item, String partialDesignSignature) +354&#xA;   Sitecore.XA.Foundation.Presentation.Services.LayoutXmlService.GetFromField(Item item) +2170&#xA;   Sitecore.XA.Foundation.Presentation.Services.LayoutXmlService.b__3_0(Item s) +65&#xA;   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +223&#xA;   System.Linq.d__17`2.MoveNext() +150&#xA;   System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) +454&#xA;   Sitecore.XA.Foundation.Presentation.Services.LayoutXmlService.GetRenderings(Item contextItem, Item designItem) +149&#xA;   Sitecore.XA.Foundation.Presentation.Pipelines.GetXmlBasedLayoutDefinition.AddPartialDesignsRenderings.Process(GetXmlBasedLayoutDefinitionArgs args) +679&#xA;   (Object , Object[] ) +74&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="70" LastEditDate="2019-07-25T18:51:39.837" LastActivityDate="2019-07-25T18:51:39.837" Title="Habitat Home error on SXA" Tags="|sxa|habitathome|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12711" PostTypeId="2" ParentId="12673" CreationDate="2018-07-06T04:46:48.533" Score="1" Body="&lt;p&gt;There are few things to consider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Firstly, your data will be initially written to session of that user. Once that session expires only it will be get written to xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can reduce the session expire time on your test environment to speed-up the data written process to xDB by adjusting the values mention on the below question&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2145/how-do-i-set-session-timeouts-in-sitecore&quot;&gt;How do I set session timeouts in Sitecore?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, there is a threshold to update the analytics reports set on several places.&#xA;One place would be to set &quot;MinimumVisitsFilter&quot; to &quot;0&quot; on \Website\sitecore\shell\Applications\Reports\Dashboard\Configuration.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also following blog post describes few other options though it is written to sitecore 6 versions.&#xA;&lt;a href=&quot;https://learnsitecorebasics.wordpress.com/tag/refresh-aggregated-data-in-reports/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://learnsitecorebasics.wordpress.com/tag/refresh-aggregated-data-in-reports/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2018-07-06T04:46:48.533" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12713" PostTypeId="2" ParentId="12706" CreationDate="2018-07-06T06:05:17.537" Score="1" Body="&lt;p&gt;For logging exception you should never use &lt;code&gt;Info&lt;/code&gt; method. You should use &lt;code&gt;Warn&lt;/code&gt;, &lt;code&gt;Error&lt;/code&gt; or &lt;code&gt;Fatal&lt;/code&gt; and pass the exception to that method. Thanks to that, nice stack trace will be populated in the log file, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;catch(Exception e)&#xA;{&#xA;  Log.Warn(&quot;Some meaningful description&quot;, e, &quot;CustomLog&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also make sure that you use what @JKerny wrote in his answer: use &lt;code&gt;level&lt;/code&gt; instead of &lt;code&gt;priority&lt;/code&gt; for log level value.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-07-06T06:05:17.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12714" PostTypeId="2" ParentId="12706" CreationDate="2018-07-06T06:32:21.697" Score="0" Body="&lt;p&gt;Try it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;logLevel&quot; set:value=&quot;INFO&quot;/&amp;gt;&#xA;&amp;lt;log4net&amp;gt;&#xA;  &amp;lt;appender name=&quot;CustomLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;    &amp;lt;file value=&quot;$(dataFolder)/logs/log.{date}.txt&quot; /&amp;gt;&#xA;    &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;      &amp;lt;conversionPattern value=&quot;%5t %d{yyyy-MM-dd HH:mm:ss.fff} %-5p %c - %m%n&quot; /&amp;gt;&#xA;    &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;/appender&amp;gt;&#xA;  &amp;lt;root&amp;gt;&#xA;    &amp;lt;priority set:value=&quot;$(logLevel)&quot; /&amp;gt;&#xA;  &amp;lt;/root&amp;gt;&#xA;  &amp;lt;logger name=&quot;CustomLog&quot; additivity=&quot;false&quot;&amp;gt;&#xA;    &amp;lt;level value=&quot;$(logLevel)&quot; /&amp;gt;&#xA;    &amp;lt;appender-ref ref=&quot;CustomLogFileAppender&quot; /&amp;gt;&#xA;  &amp;lt;/logger&amp;gt;&#xA;&amp;lt;/log4net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2644" LastActivityDate="2018-07-06T06:32:21.697" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12715" PostTypeId="2" ParentId="12710" CreationDate="2018-07-06T07:59:18.300" Score="7" Body="&lt;p&gt;This exception happens if the following item cannot be found&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ID:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;{455948A7-9860-4312-B818-994E723E8B9A}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Path:&lt;/strong&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/layout/Renderings/Foundation/Experience Accelerator/Dynamic Placeholders/PartialDesign Dynamic Placeholder&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Setting in the config where the ID comes from.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;XA.Foundation.Presentation.PartialDesignDynamicPlaceholderRendering&quot; value=&quot;{455948A7-9860-4312-B818-994E723E8B9A}&quot; patch:source=&quot;Sitecore.XA.Foundation.Presentation.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check if you got this rendering in your database because it looks like it is not there. Or at least not in a database of your context item (during the request)&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-07-06T07:59:18.300" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12716" PostTypeId="2" ParentId="12696" CreationDate="2018-07-06T09:54:45.923" Score="0" Body="&lt;p&gt;Try to add &quot;Everyone&quot; role and give full rights in WWW (rootfolder) XConnect Site.&lt;a href=&quot;https://i.stack.imgur.com/sXeam.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sXeam.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1338" LastActivityDate="2018-07-06T09:54:45.923" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12717" PostTypeId="2" ParentId="9754" CreationDate="2018-07-06T11:14:19.633" Score="2" Body="&lt;p&gt;I've had this symptom before, and eventually found out that it was due to the media items not existing in the language of the site (but since the blob field is Shared, the content editor would recognize it). This combined with a deployment/publish step that only handled items in explicitly defined languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, don't be fooled by a well-rendered thumbnail, sometimes the thumbnail works, but the original item has become corrupted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;I hope this helps someone, considering this question is already 6 months old.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="107" LastActivityDate="2018-07-06T11:14:19.633" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12719" PostTypeId="1" AcceptedAnswerId="12796" CreationDate="2018-07-06T13:49:53.987" Score="0" ViewCount="125" Body="&lt;p&gt;I recently tried using New-ItemClone command on SPE and encountered this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.AggregateException,Cognifide.PowerShell.Commandlets.Data.Clones.NewItemCloneCommand&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;These are the codes used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$master = Get-Item .&#xA;$destination = Get-Item -Path &quot;master:\content&quot;   &#xA;$siteName = &quot;myNewSite&quot;&#xA;&#xA;$newSite = New-ItemClone $master -Destination $destination -Name $siteName -Recurse&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QzxRg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QzxRg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8 update 2 and SPE 4.7.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clue what this might be? I'm new to using Sitecore cloning. Is there a particular item that can't be cloned? I've searched for documentations but can't find a specific one for this error.&lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="690" LastEditDate="2018-07-06T17:06:16.110" LastActivityDate="2018-07-11T08:14:23.233" Title="New-ItemClone Error through SPE" Tags="|powershell-extensions|powershell|item-clones|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12720" PostTypeId="1" AcceptedAnswerId="12721" CreationDate="2018-07-06T16:03:20.407" Score="0" ViewCount="107" Body="&lt;p&gt;I am trying to install Sitecore Commerce 8.2.1 with Sitecore 8.2 (initial release 160729). I am following the instruction at &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Commerce SDN&lt;/a&gt;. After I install Commerce Server 11.4.153 using exe, I start adding modules and update packages on Sitecore instance as mentioned in the documentation. The list of modules and packages are as below and are installed in same order as given:&#xA;Modules:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore Commerce Connect 10.3.27&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Commerce.Habitat.Images-1.0.0&lt;/li&gt;&#xA;&lt;li&gt;Adventure Works Images&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Update Packages:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore Commerce Server Connect.10.3.52&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Commerce.Engine.Connect.1.3.153&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Commerce Business Tools Shared.1.3.13&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Commerce Merchandising Manager.11.1.48&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Commerce Customer and Order Manager.1.3.11&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Commerce Pricing and Promotion Manager.1.3.17&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Reference.Storefront.Common.10.3.158&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Reference.Storefront.Powered.by.SitecoreCommerce.10.3.158&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It works well till the 7th package is installed, I can see the updates in backend, but as soon as I install &lt;code&gt;Sitecore.Reference.Storefront.Powered.by.SitecoreCommerce.10.3.158&lt;/code&gt; update package, it shows error and whole site breaks. I am then not even able to log in or even see front end site. Error is as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load type&#xA;  'Sitecore.Analytics.Pipelines.RemoveContactPiiSensitiveData.RemoveContactPiiSensitiveDataProcessorBase'&#xA;  from assembly 'Sitecore.Analytics, Version=10.0.0.0, Culture=neutral,&#xA;  PublicKeyToken=null'. Description: An unhandled exception occurred&#xA;  during the execution of the current web request. Please review the&#xA;  stack trace for more information about the error and where it&#xA;  originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.TypeLoadException: Could not load type&#xA;  'Sitecore.Analytics.Pipelines.RemoveContactPiiSensitiveData.RemoveContactPiiSensitiveDataProcessorBase'&#xA;  from assembly 'Sitecore.Analytics, Version=10.0.0.0, Culture=neutral,&#xA;  PublicKeyToken=null'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Have anyone faced this issue or know what is the possible cause?&lt;/p&gt;&#xA;" OwnerUserId="2305" LastEditorUserId="690" LastEditDate="2018-07-06T16:42:20.180" LastActivityDate="2018-07-06T16:42:20.180" Title="Pipeline issue while installing Sitecore Commerce 8.2.1" Tags="|xdb|sitecore-commerce|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12721" PostTypeId="2" ParentId="12720" CreationDate="2018-07-06T16:03:20.407" Score="1" Body="&lt;p&gt;From the error message it is clear that RemoveContactPiiSensitiveData Pipeline is not able to load from Sitecore.Analytics. If you search about this, you will come to know that this pipeline is related to right to be forgotten as per General Data Protection Act enforced by EU from 25th May 2018.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be compliant with this, Sitecore in its Update 7 for Sitecore 8.2(180406), have added few extra pipelines so that websites can trigger the pipeline to remove contact information in someone needs to be forgotten. Details can be read from the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update7/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release notes&lt;/a&gt;. As per that, it is mentioned&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To enable an organization to implement the Right to be forgotten, a new removeContactPiiSensitiveData pipeline has been implemented.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So I was using the latest release of Sitecore Commerce 8(Update 3) with Initial release of Sitecore 8.2 where as I needed Sitecore 8.2 Update 7. This was causing all the trouble.&lt;/p&gt;&#xA;" OwnerUserId="2305" LastActivityDate="2018-07-06T16:03:20.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12722" PostTypeId="1" CreationDate="2018-07-06T17:05:25.013" Score="1" ViewCount="113" Body="&lt;p&gt;I'm using SXA 1.4 on Sitecore 8.2 Update 4 to generate JSON feed, but the JSON feed is not being generated correctly. When I navigate to my URL, I get this JSON feed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;subject&quot;:&quot;Your results&quot;,&quot;message&quot;:&quot;   &amp;amp;lt;div style=&amp;amp;quot;max-width: 900px;&amp;amp;quot; &amp;amp;gt;&#xA;   &amp;amp;lt;!--[if mso]&amp;amp;gt;&#xA;      &amp;amp;lt;table role=&amp;amp;quot;presentation&amp;amp;quot; cellspacing=&amp;amp;quot;0&amp;amp;quot; cellpadding=&amp;amp;quot;0&amp;amp;quot; border=&amp;amp;quot;0&amp;amp;quot; width=&amp;amp;quot;100%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot;&amp;amp;gt;&#xA;      &amp;amp;lt;tr&amp;amp;gt;&#xA;      &amp;amp;lt;td width=&amp;amp;quot;100%&amp;amp;quot;&amp;amp;gt;&#xA;      &amp;amp;lt;![endif]--&amp;amp;gt;&#xA;&#xA;&#xA;&#xA;Hello &amp;amp;lt;%${name}%&amp;amp;gt;,&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;Message Information here.&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;&#xA;&amp;amp;lt;strong&amp;amp;gt;I have a link here:&amp;amp;lt;/strong&amp;amp;gt; &amp;amp;lt;a href=&amp;amp;quot;https://Some/Website/I/Like/&amp;amp;gt;&amp;amp;lt;strong&amp;amp;gt;Assessment Results&amp;amp;lt;/strong&amp;amp;gt;&amp;amp;lt;/a&amp;amp;gt; &#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;More text goes here, because I like to send long emails.&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;Even more text goes here.&#xA;&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;This is a really long email with carriage returns and linefeeds!&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;Even more text&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;&amp;amp;lt;br /&amp;amp;gt;&#xA;&#xA;&amp;amp;lt;p style=&amp;amp;quot; padding-top:0; margin-top:0; text-align:center; font-size: 12px; font-family:Arial, Helvetica, sans-serif; color:#cccccc;&amp;amp;quot;&amp;amp;gt;Source&amp;amp;amp;nbsp;Code:&amp;amp;amp;nbsp; 586703&#xA;&amp;amp;lt;/p&amp;amp;gt;&#xA;&amp;amp;lt;!-- Container part two : BEGIN --&amp;amp;gt;      &#xA;   &amp;amp;lt;!--[if mso]&amp;amp;gt;&#xA;   &amp;amp;lt;/td&amp;amp;gt;&#xA;   &amp;amp;lt;/tr&amp;amp;gt;&#xA;   &amp;amp;lt;/table&amp;amp;gt;&#xA;   &amp;amp;lt;![endif]--&amp;amp;gt;&#xA;   &amp;amp;lt;/div&amp;amp;gt;&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is all good, except the linefeed and carriage return characters are not valid JSON (according to these pictures taken from &lt;a href=&quot;https://www.json.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.json.org/&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c162Y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c162Y.png&quot; alt=&quot;JSON Definition example 1&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/MXzni.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MXzni.png&quot; alt=&quot;JSON Definition example 2&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a setting that I can use to make SXA correctly encode (or remove) the carriage return/line feed characters? Or is this something that only a patch from Sitecore can solve?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2018-07-06T17:05:25.013" Title="SXA 1.4 is not rendering JSON correctly" Tags="|sxa|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12724" PostTypeId="1" AcceptedAnswerId="24444" CreationDate="2018-07-06T18:13:10.007" Score="5" ViewCount="1718" Body="&lt;p&gt;I'm trying to add some items to a custom Sitecore Solr index Programmatically via the Sitecore Content Search APIs. The items I will add won't reside in Sitecore so the code below is just a test for now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've simplified the code a bit to share an example below, however I don't know if this approach will work or not as I'm not sure how best to pass in the IProviderUpdateContext and IProviderIndexConfiguration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(indexName).CreateSearchContext())&#xA;{&#xA;    //get the home item from Sitecore&#xA;    var item = _databaseManager.GetItem(new ID(&quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;));&#xA;&#xA;    //convert to an indexable item&#xA;    var searchItem = new SitecoreIndexableItem(item);&#xA;&#xA;    //add the item to the index - this doesn't work&#xA;    context.Index.Operations.Add(searchItem, null, null);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I know that there are other ways of doing this such as creating my own search crawler using FlatDataCrawler and the GetItemsToIndex() method. However I want to run the code from SiteCron in order to have more control over when and how it happens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 Update 6 and Solr 6.6.3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way I could do this is using the Rest Apis to add data but I’d rather use the internal Apis given this runs in the Sitecore context. &#xA;I’m open to other suggestions on how to do this in other ways though.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-07-08T10:45:32.397" LastActivityDate="2020-03-03T16:13:44.260" Title="Programmatically adding items to a custom Solr Index" Tags="|solr|content-search|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12725" PostTypeId="1" CreationDate="2018-07-06T18:16:36.277" Score="5" ViewCount="703" Body="&lt;p&gt;I am trying to figure out if the following use cases are supported natively in Sitecore 9 or if there would be custom development (and if so, the best approach to leverage):&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Simplified Test Scenario&lt;/strong&gt; - A/B test of the Products landing page to a subset of visitors&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Eligibility requirements:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;User is on the page&lt;/li&gt;&#xA;&lt;li&gt;User is logged in and the session holds the user type set to 'active member'&lt;/li&gt;&#xA;&lt;li&gt;Running Sitecore 9.01 - all marketing features on etc.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;strong&gt;Test:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;For members only, run an A/B test to swap components in the hero area to explore which option resonates better to members&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So I'm wondering - would a custom rule for the rules engine to test for membership type be the only thing to add? I'm not sure whether the rules engine can interact with the A/B tests being run.&lt;/p&gt;&#xA;&lt;p&gt;If not, what's the best path to achieve this user story?&lt;/p&gt;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&lt;p&gt;-Chris&lt;/p&gt;&#xA;" OwnerUserId="3932" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-07-09T09:14:31.977" Title="A/B testing a product landing page" Tags="|rules-engine|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12726" PostTypeId="1" AcceptedAnswerId="12727" CreationDate="2018-07-06T18:40:54.310" Score="0" ViewCount="280" Body="&lt;p&gt;I will start out by saying I am a bit of a noob when it comes to C# and Sitecore, but I am getting better.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to update our code to use a droplink control for an event item (we'll call it StringEventID), instead of a text field where users entered a GUID string (too many mistakes were made).  Instead, we want to use a droplink that shows a list of active events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We created a new droplink field within the template, called Event ID.  It has two data items, Event (name of the event) and EventID (GUID).  We added the new field to the existing Event template and it appears in SC as expected, with the droplink showing the event name as key, and guid as the value.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, because we are using a droplink, we have to convert the GUID that comes through, which is only a pointer to the actual value we want, the GUID for the event itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because so much of our code has been written with the filed StringEventID that it is impractical to update all of the code to convert the new GUID into string.  What we are hoping to do is in the ViewModel, update the code that originally just passed through the string, to now read the GUID, convert it to string, and then pass it along to the controller as a string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to do this?  Based on online research, I have build the following in the concrete model, but I get an error, saying that it does not have the matching return type of string.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{36371859-7FF2-47D0-86F1-1579416AA584}&quot;, AutoMap = true)]&#xA;public class NetForumEvent : Event, INetForumEvent&#xA;{&#xA;    public MyLinkedItem NetForumID { get; set; }&#xA;    ...&#xA; }&#xA;[SitecoreType(TemplateId = &quot;{36371859-7FF2-47D0-86F1-1579416AA584}&quot;, AutoMap = true)]&#xA;public class MyLinkedItem : NetForumEvent, IMyLinkedItem&#xA;{&#xA;    [SitecoreField(&quot;Event ID&quot;)]&#xA;    public string EventId&#xA;    {&#xA;        get { return Convert.ToString(EventID); }&#xA;        set&#xA;        {&#xA;            string id = Convert.ToString(EventID);&#xA;            id = value;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the abstract model, I have:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IMyLinkedItem : INetForumEvent&#xA;{&#xA;    string EventId { get; set; }&#xA;}&#xA;&#xA;public interface INetForumEvent : IEvent&#xA;{&#xA;    string NetForumID { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The exact error language is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;'NetForumEvent' does not implement interface member&#xA;'INetForumEvent.NetForumID'. 'NetForumEvent.NetForumID' cannot&#xA;implement 'INetForumEvent.NetForumID' because it does not have the&#xA;matching return type of 'string'.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Many thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="1408" LastEditorUserId="2727" LastEditDate="2018-10-31T10:07:19.460" LastActivityDate="2018-10-31T10:07:19.460" Title="Sitecore 7.2 using droplink" Tags="|mvc|sitecore-api|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12727" PostTypeId="2" ParentId="12726" CreationDate="2018-07-06T19:52:37.087" Score="1" Body="&lt;p&gt;You are getting the error because your concrete class &lt;code&gt;NetForumEvent&lt;/code&gt; is not implementing the interface properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public MyLinkedItem NetForumID { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in the concrete class and:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string NetForumID { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your interface. Change your interface property to return a &lt;code&gt;IMyLinkedItem&lt;/code&gt; object and then your code will compile and return the correct object for the mapping.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will also need to change the concrete class to return the &lt;code&gt;IMyLinkedItem&lt;/code&gt; instead of the &lt;code&gt;MyLinkedItem&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2018-07-07T00:18:25.777" LastActivityDate="2018-07-07T00:18:25.777" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12728" PostTypeId="1" AcceptedAnswerId="12836" CreationDate="2018-07-06T20:23:07.503" Score="0" ViewCount="64" Body="&lt;p&gt;I know the 3 references necessary for MVC are Sitecore.Kernel.NoReferences, Sitecore.Mvc.NoReferences, and Sitecore.Mvc.Analytics.NoReferences.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I have a legacy project I need to work on and need to know the correct references to add to my C# ASP.net project for Web Forms and User Control support in sitecore?&lt;/p&gt;&#xA;" OwnerUserId="3902" LastActivityDate="2018-08-11T16:00:40.880" Title="What are the references needed to support Web Forms and User Controls" Tags="|webforms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12729" PostTypeId="1" AcceptedAnswerId="12835" CreationDate="2018-07-06T21:06:36.547" Score="0" ViewCount="292" Body="&lt;p&gt;I have a Web Forms page and it uses &lt;code&gt;Sitecore.Context.Item.Fields&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This works when I publish to the local Sitecore instance.  But in my project that is external to the Sitecore instance, Visual Studio is telling me that the name Sitecore does not exist in the current context.  The project will build and deploy and work, but how do I get rid of this error in Visual Studio?&lt;/p&gt;&#xA;" OwnerUserId="3902" LastEditorUserId="690" LastEditDate="2018-07-07T19:00:29.440" LastActivityDate="2018-07-12T15:27:02.967" Title="How to make Sitecore.Context.Item.Fields work in a web control in an external project" Tags="|sitecore-api|webforms|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12731" PostTypeId="2" ParentId="12201" CreationDate="2018-07-07T13:28:40.610" Score="0" Body="&lt;p&gt;Since you are blocking the request at the IIS level, Sitecore is never seeing it. You just need to add the proper 404 config in your web.config. Then IIS will handle it properly.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;system.webServer&amp;gt;      &#xA;        &amp;lt;httpErrors errorMode=&quot;Custom&quot; existingResponse=&quot;Auto&quot;&amp;gt;&#xA;            &amp;lt;remove statusCode=&quot;403&quot; /&amp;gt;&#xA;            &amp;lt;remove statusCode=&quot;404&quot; /&amp;gt;&#xA;            &amp;lt;remove statusCode=&quot;500&quot; /&amp;gt;&#xA;            &amp;lt;error statusCode=&quot;500&quot; responseMode=&quot;File&quot; path=&quot;/500.html&quot; /&amp;gt;&#xA;            &amp;lt;error statusCode=&quot;403&quot; responseMode=&quot;Redirect&quot; path=&quot;/404.html&quot; /&amp;gt;&#xA;            &amp;lt;error statusCode=&quot;404&quot; responseMode=&quot;Redirect&quot; path=&quot;/404.html&quot; /&amp;gt;&#xA;        &amp;lt;/httpErrors&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;customErrors mode=&quot;On&quot; defaultRedirect=&quot;500.html&quot; redirectMode=&quot;ResponseRewrite&quot;&amp;gt;&#xA;            &amp;lt;error statusCode=&quot;403&quot; redirect=&quot;/404.html&quot; /&amp;gt;&#xA;            &amp;lt;error statusCode=&quot;404&quot; redirect=&quot;/404.html&quot; /&amp;gt;&#xA;            &amp;lt;error statusCode=&quot;500&quot; redirect=&quot;/500.html&quot; /&amp;gt;&#xA;        &amp;lt;/customErrors&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you will need to make sure you IP denial is set to &quot;Non Found&quot; via &quot;Edit Feature Settings&quot; when you click on your IP rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JQ5x1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JQ5x1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-07-07T14:08:58.613" LastActivityDate="2018-07-07T14:08:58.613" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12732" PostTypeId="1" CreationDate="2018-07-07T14:47:07.140" Score="2" ViewCount="601" Body="&lt;p&gt;I am setting up the Solr 6.6.2 with SSL for Sitecore 9 installation on one of the new development machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am following the Kam Figy PS script :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/kamsar/c3c8322c1ec40eac64c7dd546e5124de&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/kamsar/c3c8322c1ec40eac64c7dd546e5124de&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I am getting the below error while I am executing the solrssl.PS1 script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PS G:\Sitecore9\SSL&amp;gt; .\solrssl.ps1 -KeyStoreFile C:\solr-6.6.2\server\etc\solr-ssl.keystore.jks -Clobber&#xA;Removing C:\solr-6.6.2\server\etc\solr-ssl.keystore.jks...&#xA;&#xA;Generating JKS keystore...&#xA;C:\solr-6.6.2\server\etc\solr-ssl.keystore.p12&#xA;&#xA;Generating .p12 to import to Windows...&#xA;keytool.exe : Importing keystore C:\solr-6.6.2\server\etc\solr-ssl.keystore.jks to &#xA;C:\solr-6.6.2\server\etc\solr-ssl.keystore.p12...&#xA;At G:\Sitecore9\SSL\solrssl.ps1:54 char:1&#xA;+ &amp;amp; $keytool -importkeystore -srckeystore $KeystoreFile -destkeystore $ ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (Importing keyst...keystore.p12...:String) [], RemoteException&#xA;    + FullyQualifiedErrorId : NativeCommandError&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have already set the environment variable of JRE and changed the Keytool path as below :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$keytool = (Get-Command 'C:\Program Files\Java\jre-10.0.1\bin\keytool.exe').Source &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using JRE version 10.0.1 on Windows 10.&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="982" LastEditDate="2018-07-08T21:45:23.303" LastActivityDate="2018-07-08T21:45:23.303" Title="Solr Installation error : NativeCommandError" Tags="|solr|sitecore-install-framework|powershell|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12734" PostTypeId="2" ParentId="9968" CreationDate="2018-07-08T07:03:35.347" Score="3" Body="&lt;p&gt;There was no answer to this question so far, but the issue is quite common for Sitecore with SOLR, and is not really a huge problem, but rather a common WARN that occurs everywhere. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears when Sitecore indexing performs many commits to SOLR concurrently, causing this error when the searchers that are warming in the background exceed 2 (the default value is 2), you can increase that to solve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to go to : &lt;code&gt;&amp;lt;root&amp;gt;\solr\[CORE NAME]\conf\solrconfig.xml&lt;/code&gt; file and change the value of the &lt;code&gt;maxWarmingSearchers&lt;/code&gt; to a higher value, for example to 4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. You can also check out this article for common SOLR issues: &lt;a href=&quot;http://www.sitecorecoding.com/2015/08/solr-with-sitecore-checklist.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecorecoding.com/2015/08/solr-with-sitecore-checklist.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S.S I would highly recommend everyone to use this script for an easy automated SOLR setup: &lt;a href=&quot;https://gist.github.com/kamsar/ef8811bd458603f1e808&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/kamsar/ef8811bd458603f1e808&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2018-07-08T07:03:35.347" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12735" PostTypeId="2" ParentId="12732" CreationDate="2018-07-08T09:44:41.090" Score="1" Body="&lt;p&gt;You can use the alternate script by jermdavis, which works like a charm. I forked it, though, because it had one issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/isaadansari/bd5949c77a6c1dbb80ec2d12d1d9f731&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/isaadansari/bd5949c77a6c1dbb80ec2d12d1d9f731&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can manually download the, solr version package 6.6.2 and nssm version 2.24&#xA;and place them in your desired folder after extracting, Lets suppose: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;c:\solr\solr-6.6.2&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;c:\solr\nssm-2.24&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-07-08T09:44:41.090" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12736" PostTypeId="2" ParentId="12725" CreationDate="2018-07-08T15:30:57.207" Score="2" Body="&lt;p&gt;You're on the right track.  What you're looking for is a component test, not an A/B test.  The A/B test tests a full page against another page or version of the same page.  The component test applies a test against all the component variations on a page.  Any time you personalize a component (e.g., active member gets component variant A) you have the ability to run component testing on that personalization.  In most Sitecore configurations (as long as you're not logged in as an administrator) you should see a blue message bar that asks you if you want to start a test once you've personalized a component.    &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ur3UL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ur3UL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2018-07-08T15:30:57.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12738" PostTypeId="2" ParentId="12732" CreationDate="2018-07-08T18:00:22.517" Score="0" Body="&lt;p&gt;I am not sure but JRE version 10.0.1 might be having some compatibility issues with Solr 6.6.2 , I had used Java Version 8 and it worked for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check the following post on this problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.linkedin.com/pulse/sitecore-9-installation-errors-solutions-pratik-wasnik&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.linkedin.com/pulse/sitecore-9-installation-errors-solutions-pratik-wasnik&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2153" LastActivityDate="2018-07-08T18:00:22.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12740" PostTypeId="2" ParentId="5450" CreationDate="2018-07-09T00:51:31.990" Score="3" Body="&lt;p&gt;Having the need to use the QueryBuilder fieldtype aswell i was digging around with ILspy too see how i could actually execute the query generated by the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In sitecore 8.2 (not sure if this is valid for newer or older versions), there is a helper method defined in the namespace&#xA;Sitecore.ContentSearch.Utilities&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do something like this to execute the query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;);&#xA;&#xA;using (var context = index.CreateSearchContext())         &#xA;{            &#xA;    var solrSearchContext = context as Sitecore.ContentSearch.SolrProvider.SolrSearchContext;&#xA;&#xA;            var searchQuery = Sitecore.ContentSearch.Utilities.SearchStringModel.ExtractSearchQuery( sourceItem[&quot;SearchQuery&quot;]);&#xA;            var results = Sitecore.ContentSearch.Utilities.LinqHelper.CreateQuery&amp;lt;SearchResultItem&amp;gt;(context, searchQuery);           &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the result of the query will yield the Solr results and you can use this as you please.&lt;/p&gt;&#xA;" OwnerUserId="3939" LastEditorUserId="3939" LastEditDate="2018-07-18T05:00:44.133" LastActivityDate="2018-07-18T05:00:44.133" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12741" PostTypeId="1" AcceptedAnswerId="12958" CreationDate="2018-07-09T02:31:59.670" Score="3" ViewCount="1041" Body="&lt;p&gt;I have a clean installation of Sitecore 9.0.2 and am trying to hook up Autofac, however I am getting the following exception when trying to load any page on the site / CMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LryDv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LryDv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Autofac.Core.DependencyResolutionException&#xA;Message: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = HttpContextBase (DelegateActivator), Services = [System.Web.HttpContextBase], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---&amp;gt; A delegate registered to create instances of 'System.Web.HttpContextBase' returned null. (See inner exception for details.)&#xA;Source: Autofac&#xA;   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)&#xA;   at Autofac.Core.Resolving.InstanceLookup.Execute()&#xA;   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)&#xA;   at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)&#xA;   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object&amp;amp; instance)&#xA;   at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters)&#xA;   at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)&#xA;   at Sitecore.DependencyInjection.SitecorePerRequestScopeModule.GetScope(IServiceProvider serviceProvider)&#xA;   at Sitecore.DependencyInjection.SitecoreSingletonServiceScope.get_ServiceProvider()&#xA;   at Sitecore.DependencyInjection.ServiceLocator.get_ServiceProvider()&#xA;   at Sitecore.DependencyInjection.ServiceLocator.&amp;lt;&amp;gt;c__14`1.&amp;lt;GetRequiredResetableService&amp;gt;b__14_0()&#xA;   at Sitecore.DependencyInjection.LazyResetable`1.get_Value()&#xA;   at Sitecore.CES.DeviceDetection.Providers.DeviceDetectionClient.JobManagerWrapper.IsJobQueued(String jobName)&#xA;   at Sitecore.CES.DeviceDetection.Providers.DeviceDetectionClient.Tick()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Autofac.Core.DependencyResolutionException&#xA;Message: A delegate registered to create instances of 'System.Web.HttpContextBase' returned null.&#xA;Source: Autofac&#xA;   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)&#xA;   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;serviceProviderBuilder&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot; value=&quot;Foundation.DependencyInjection.DI.RegisterDependencies, Foundation.DependencyInjection&quot; /&amp;gt;&#xA;    &amp;lt;/serviceProviderBuilder&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterDependencies : BaseServiceProviderBuilder&#xA;{&#xA;    protected override IServiceProvider BuildServiceProvider(IServiceCollection serviceCollection)&#xA;    {&#xA;        var builder = new ContainerBuilder();&#xA;&#xA;        // Register Sitecore services in Autofac.&#xA;        builder.Populate(serviceCollection);&#xA;&#xA;        IContainer container = builder.Build();&#xA;&#xA;        // Return Autofac's service provider adaptor.&#xA;        return container.Resolve&amp;lt;IServiceProvider&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Relevant Packages:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;Autofac&quot; version=&quot;4.8.1&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Autofac.Extensions.DependencyInjection&quot; version=&quot;4.2.2&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Autofac.Mvc5&quot; version=&quot;4.0.2&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;AutoMapper&quot; version=&quot;5.1.1&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.AspNet.Mvc&quot; version=&quot;5.2.3&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.AspNet.Razor&quot; version=&quot;3.2.3&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.AspNet.WebPages&quot; version=&quot;3.2.3&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.Extensions.DependencyInjection&quot; version=&quot;1.1.0&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.Extensions.DependencyInjection.Abstractions&quot; version=&quot;1.1.0&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="73" LastEditDate="2018-07-10T09:10:57.117" LastActivityDate="2018-09-09T15:00:48.743" Title="Autofac in Sitecore 9" Tags="|dependency-injection|autofac|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12742" PostTypeId="2" ParentId="11676" CreationDate="2018-07-09T04:29:08.823" Score="0" Body="&lt;p&gt;You can get detailed item wise publish report using Sitecore module &quot;SITECORE PUBLISH REPORTING KIT&quot; available on marketplace at &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Publishing_Reporting_Kit_SPRK.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Publishing_Reporting_Kit_SPRK.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MnKsM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MnKsM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2018-07-09T04:29:08.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12743" PostTypeId="2" ParentId="9961" CreationDate="2018-07-09T05:48:31.063" Score="3" Body="&lt;p&gt;It looks like this issue has now been resolved in Sitecore 9 Update 2: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/90/Sitecore%20Experience%20Platform%2090%20Update2/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/90/Sitecore%20Experience%20Platform%2090%20Update2/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;The Experience Analytics and Path Analyzer applications fail to start on a Sitecore instance that is configured with the following role combination: Content Management, Processing, and Reporting .&quot;&lt;/p&gt;&#xA;" OwnerUserId="3940" LastActivityDate="2018-07-09T05:48:31.063" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12744" PostTypeId="2" ParentId="12741" CreationDate="2018-07-09T06:24:02.040" Score="0" Body="&lt;p&gt;It might cause from the version of Nuget packages, I think. Could you try with the suggestion from mine?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Autofac -version 4.8.0 &lt;/li&gt;&#xA;&lt;li&gt;Microsoft.Extensions.DependencyInjection -version 1.1.1&lt;/li&gt;&#xA;&lt;li&gt;Microsoft.Extensions.DependencyInjection.Abstractions -version 1.1.1&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This the package.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;Autofac&quot; version=&quot;4.8.0&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Autofac.Extensions.DependencyInjection&quot; version=&quot;4.2.2&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Autofac.Mvc5&quot; version=&quot;4.0.2&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.Extensions.DependencyInjection&quot; version=&quot;1.1.1&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.Extensions.DependencyInjection.Abstractions&quot; version=&quot;1.1.1&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope it'll solve your issue.&lt;/p&gt;&#xA;" OwnerUserId="1352" LastEditorUserId="70" LastEditDate="2018-08-10T14:58:13.637" LastActivityDate="2018-08-10T14:58:13.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12745" PostTypeId="1" CreationDate="2018-07-09T06:37:34.123" Score="1" ViewCount="326" Body="&lt;p&gt;We have setup the Publishing service version 1.1.0 on Sitecore 8.2 initial version. There are no errors in the Sitecore publishing service installation and also during the module installation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is when we try to publish, the publish dialog doesn't display any languages. I have tried the suggestions mentioned in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5958/sitecore-publishing-service-does-not-show-the-languages-and-seeing-404-errors&quot;&gt;Sitecore Publishing Service does not show the languages and seeing 404 errors&lt;/a&gt; but still have the same issue with languages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not see any errors in the logs which could indicate an issue during the publish dialog is loaded. Can anyone let me know if you have come across this issue and if this was resolved?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is a screenshot of the publish dialog and how it looks. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ggzP2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ggzP2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3780" LastEditorUserId="3780" LastEditDate="2018-07-09T07:13:31.450" LastActivityDate="2018-11-08T13:10:10.563" Title="Sitecore Publishing Service Dialog Languages Missing" Tags="|publishing-service|" AnswerCount="0" CommentCount="0" FavoriteCount="0" ClosedDate="2019-07-15T23:50:22.460" ContentLicense="CC BY-SA 4.0" />
  <row Id="12746" PostTypeId="1" AcceptedAnswerId="12753" CreationDate="2018-07-09T07:28:16.077" Score="3" ViewCount="1688" Body="&lt;p&gt;When trying to install Sitecore 9, I am getting the following error :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[UpdateSolrSchema]:[Authenticating] &lt;a href=&quot;http://habitat9.sc/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat9.sc/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&lt;/a&gt;&#xA;Install-SitecoreConfiguration : Error requesting &lt;a href=&quot;http://habitat9.sc/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat9.sc/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&lt;/a&gt;: The operation has timed out.&#xA;At C:\SW\OneDrive_2018-07-02\sitecore9\SIFLess\SIFless-EZ-1531118582.ps1:67 char:1&#xA;+ Install-SitecoreConfiguration @sitecoreParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We observed the siteore-XP0.json:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;UpdateSolrSchema&quot;: {&#xA;            // Update the solr schemas.&#xA;            &quot;Type&quot;: &quot;SitecoreUrl&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;SitecoreInstanceRoot&quot;: &quot;[concat('http://', parameter('SiteName'))]&quot;,&#xA;                &quot;SitecoreActionPath&quot;: &quot;sitecore/admin/PopulateManagedSchema.aspx?indexes=all&quot;,&#xA;                &quot;UserName&quot;: &quot;admin&quot;,&#xA;                &quot;Password&quot;: &quot;[parameter('SitecoreAdminPassword')]&quot;&#xA;            }&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This script is executed but I don't know where we were missing some steps. &lt;/p&gt;&#xA;" OwnerUserId="3924" LastEditorUserId="2056" LastEditDate="2018-07-09T10:26:39.987" LastActivityDate="2018-07-09T17:01:37.057" Title="While installing Sitecore 9, the SOLR schema is not updated" Tags="|solr|sitecore-client|sitecore-install-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12747" PostTypeId="1" AcceptedAnswerId="12758" CreationDate="2018-07-09T07:34:07.903" Score="0" ViewCount="421" Body="&lt;p&gt;We have integrated Azure B2C Multifactor Authentication logic using Openid connect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are able to view Login page and able to authenticate user via Azure MFA. Our problem is when we are trying to access Claims we found that Claim has SiItecore user details instead of Authenticated user information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone has any solution on this? &lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="2153" LastEditDate="2018-07-09T10:39:57.777" LastActivityDate="2018-07-09T15:45:53.710" Title="Azure B2C integration with Sitecore 7.2 not working" Tags="|authentication|azure-ad|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12749" PostTypeId="1" CreationDate="2018-07-09T09:30:52.730" Score="2" ViewCount="178" Body="&lt;p&gt;Sitecore version: &lt;code&gt;8.2 Update-5&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mongodb version: &lt;code&gt;3.2.20&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Connectionstring: &lt;code&gt;mongodb://&amp;lt;dbuser&amp;gt;:&amp;lt;dbpassword&amp;gt;@xxx.fleet.mlab.com:111,xxx:111/&amp;lt;dbname&amp;gt;?replicaSet=xxx&amp;amp;amp;ssl=true&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a dedicated Mongodb cluster at &lt;code&gt;mlab&lt;/code&gt; and trying to get this to work with Sitecore. The server has connection to the database, I tested it with nosqlclient (&lt;a href=&quot;https://github.com/nosqlclient/nosqlclient&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/nosqlclient/nosqlclient&lt;/a&gt;) and the connection was successful. When I try this with the Sitecore application then I'm getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Message: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. &#xA;Client view of cluster state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;ReplicaSet&quot;, Type : &quot;ReplicaSet&quot;, State : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;{ ClusterId : 1, EndPoint : &quot;Unspecified/xxx:111&quot; }&quot;, EndPoint: &quot;Unspecified/xxx:111&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot; }] }.&#xA;Source: MongoDB.Driver.Core&#xA;at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)&#xA;at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)&#xA;at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)&#xA;at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)&#xA;at MongoDB.Driver.Core.Bindings.WritableServerBinding.GetReadChannelSource(CancellationToken cancellationToken)&#xA;at MongoDB.Driver.Core.Bindings.ReadWriteBindingHandle.GetReadChannelSource(CancellationToken cancellationToken)&#xA;at MongoDB.Driver.Core.Operations.FindOperation`1.Execute(IReadBinding binding, CancellationToken cancellationToken)&#xA;at MongoDB.Driver.MongoCollection.ExecuteReadOperation[TResult](IReadOperation`1 operation, ReadPreference readPreference)&#xA;at MongoDB.Driver.MongoCollection.FindOneAs[TDocument](FindOneArgs args)&#xA;at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.&amp;lt;&amp;gt;c__DisplayClass2a`1.&amp;lt;FindOneAs&amp;gt;b__29()&#xA;at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.Execute(Action action, ExceptionBehavior exceptionBehavior)&#xA;at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.FindOneAs[TDocument](IMongoQuery query, ExceptionBehavior exceptionBehavior)&#xA;at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbContactStorage.LoadContactIdentifier(ID id)&#xA;at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.LoadContactIdentifierValue(ID contactId)&#xA;at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.TryLoadContact(ID id, IContactFactory factory, LeaseOwner leaseOwner, TimeSpan leaseDuration)&#xA;at Sitecore.Analytics.Data.ContactRepository.TryLoadContact(Guid id, LeaseOwner leaseOwner, TimeSpan leaseDuration)&#xA;at Sitecore.Analytics.Tracking.ContactManager.TryLoadContact(Guid contactId, Int32 lockDurationMinutes, Boolean exclusive)&#xA;at Sitecore.Analytics.Tracking.ContactManager.TryLoadContact(Guid contactId, Boolean exclusive)&#xA;at Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact.Process(InitializeTrackerArgs args)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()&#xA;at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;at Sitecore.Analytics.Tracker.Initialize()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3945" LastEditorUserId="2056" LastEditDate="2018-07-09T10:34:11.840" LastActivityDate="2018-07-13T13:26:08.740" Title="Problems getting Sitecore working with a Mlab mongodb cluster" Tags="|mongodb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12750" PostTypeId="2" ParentId="8819" CreationDate="2018-07-09T10:13:01.447" Score="2" Body="&lt;p&gt;If you want to include 100% of page visitors in your personalization test, you need to make sure the exposure is set to 100%.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nD8HD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nD8HD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're personalizing, you're delivering that personalization through Sitecore components.  Make your first data source of the component the default (non-personalized).  Then add the personalized versions of the content.  Now, 100% of your page visitors will be exposed to the test.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ivm88.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ivm88.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2018-07-09T10:13:01.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12751" PostTypeId="2" ParentId="11091" CreationDate="2018-07-09T10:26:46.813" Score="0" Body="&lt;p&gt;I found the solution and Now I am able to set the rules and personalize the content as per devices and many other options without xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There was an issue in sitecore 9 installation and there is a hotfix by sitecore to fix the issue and below is the link to that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/828414&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/828414&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Anuj Chawla&lt;/p&gt;&#xA;" OwnerUserId="3831" LastActivityDate="2018-07-09T10:26:46.813" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12752" PostTypeId="1" AcceptedAnswerId="12755" CreationDate="2018-07-09T12:22:58.003" Score="4" ViewCount="553" Body="&lt;p&gt;Whenever i tried to trigger &lt;code&gt;InitializeEnvironment&lt;/code&gt; Postman script.. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{{OpsApiHost}}/{{OpsApi}}/InitializeEnvironment(environment='{{Environment}}')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I always get below as a response.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;@odata.context&quot;: &quot;https://localhost:5000/CommerceOps/$metadata#Commands/$entity&quot;,&#xA;    &quot;Id&quot;: &quot;7d681424004f4c80850d0c4e19352eeb&quot;,&#xA;    &quot;ResponseCode&quot;: &quot;Ok&quot;,&#xA;    &quot;Messages&quot;: [],&#xA;    &quot;Models&quot;: [],&#xA;    &quot;ActionUrl&quot;: &quot;&quot;,&#xA;    &quot;TaskId&quot;: 446547,&#xA;    &quot;Status&quot;: &quot;WaitingForActivation&quot;,&#xA;    &quot;IsFaulted&quot;: false,&#xA;    &quot;IsCompleted&quot;: false,&#xA;    &quot;IsCanceled&quot;: false&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And i think, that is the reason why my environment is not properly initialized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update 1: Added logs&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;18 19:31:09 INFO Request starting HTTP/1.1 GET&#xA;  &lt;a href=&quot;http://localhost:5000/commerceops/InitializeEnvironment(environment=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:5000/commerceops/InitializeEnvironment(environment=&lt;/a&gt;'ArvindAuthoring')&#xA;  18 19:31:09 INFO Successfully validated the token. 18 19:31:09 INFO&#xA;  AuthenticationScheme: &quot;BearerIdentityServerAuthenticationJwt&quot; was&#xA;  successfully authenticated. 18 19:31:09 INFO AuthenticationScheme:&#xA;  &quot;Bearer&quot; was successfully authenticated. 18 19:31:09 INFO&#xA;  Authorization was successful for user: &quot;sitecore\Admin&quot;. 13 19:31:09&#xA;  INFO Executing action method&#xA;  &quot;Sitecore.Commerce.Core.CommandsController.InitializeEnvironment&#xA;  (Sitecore.Commerce.Core)&quot; with arguments ([&quot;ArvindAuthoring&quot;]) -&#xA;  ModelState is Valid 13 19:31:09 INFO Executing ObjectResult, writing&#xA;  value &quot;Microsoft.AspNetCore.Mvc.ControllerContext&quot;. 13 19:31:09 INFO&#xA;  Executed action&#xA;  &quot;Sitecore.Commerce.Core.CommandsController.InitializeEnvironment&#xA;  (Sitecore.Commerce.Core)&quot; in 13.4489ms 13 19:31:09 INFO Request&#xA;  finished in 33.8218ms 200 application/json; odata.metadata=minimal;&#xA;  odata.streaming=true; charset=utf-8 28 19:31:09 INFO&#xA;  Management.block.ValidateSitecoreConnection: Validating Sitecore&#xA;  connection: Url=&lt;a href=&quot;https://storefront.local&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://storefront.local&lt;/a&gt;, Environment=ArvindAuthoring.&#xA;  28 19:31:09 INFO SQL:blocks:ValidateSqlConnection: Validating Entity&#xA;  Store SQL connection: Environment=ArvindAuthoring 13 19:31:10 INFO&#xA;  Pricing.block.InitializeEnvironmentDefaultPriceBookBlock.InitializingArtifactSet:&#xA;  ArtifactSet=Pricing.DefaultPriceBook-1.0 28 19:31:10 WARN&#xA;  CtxMsg.ValidationError.BookNameAlreadyInUse: Text=Book name&#xA;  DefaultPriceBook is already in&#xA;  use.|Shopper=|Shop=|Correlation=924d5a55e5e747ada5bcac7ebdcd4d7c 26&#xA;  19:31:10 INFO Management.GetCommerceTerms./sitecore/Commerce/Commerce&#xA;  Control Panel/Commerce Engine Settings/Commerce Terms/System&#xA;  Messages|en 13 19:31:10 INFO&#xA;  Management.block.getitemsbypath./sitecore/Commerce/Commerce Control&#xA;  Panel/Commerce Engine Settings/Commerce Terms/System Messages|en 13&#xA;  19:31:13 ERROR PipelineAbort:Book name DefaultPriceBook is already in&#xA;  use. 13 19:31:13 ERROR&#xA;  Pricing.block.InitializeEnvironmentDefaultPriceBookBlock.Error:&#xA;  Message=The price book can not be null.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any clue?&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-07-09T12:40:40.617" LastActivityDate="2021-07-20T22:01:00.733" Title="InitializeEnvironment Postman script always returned the status as &quot;WaitingForActivation&quot;" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12753" PostTypeId="2" ParentId="12746" CreationDate="2018-07-09T12:36:29.383" Score="5" Body="&lt;p&gt;Please follow the below steps and try:-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The correct procedure is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Log in to Sitecore =&gt; go to Control Panel&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Click to &quot;Populate Solr Managed Schema&quot;&lt;/li&gt;&#xA;&lt;li&gt;Then click to &quot;Deploy marketing definitions&quot;&lt;/li&gt;&#xA;&lt;li&gt;Then click to &quot;Indexing manager&quot;&lt;/li&gt;&#xA;&lt;li&gt;And finally click to &quot;Rebuild link databases&quot;&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="2153" LastEditDate="2018-07-09T17:01:37.057" LastActivityDate="2018-07-09T17:01:37.057" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12755" PostTypeId="2" ParentId="12752" CreationDate="2018-07-09T13:15:57.473" Score="4" Body="&lt;p&gt;You need to run the CleanEnvironment command first. You cannot run the InitializeEnvironment twice without running the CleanEnvironment command, because it will try to import the same entities. &lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-07-09T13:15:57.473" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12756" PostTypeId="2" ParentId="12752" CreationDate="2018-07-09T14:55:18.537" Score="1" Body="&lt;p&gt;InitializeEnvironment is a long operation. As you can see in the response IsCompleted is false. In the commerce Postman collection, you can find the request &amp;quot;Check Long Running Command Status&amp;quot; which you can execute to check the InitializeEnvironment status.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="137" LastEditDate="2021-07-20T22:01:00.733" LastActivityDate="2021-07-20T22:01:00.733" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12757" PostTypeId="1" CreationDate="2018-07-09T15:21:27.577" Score="2" ViewCount="178" Body="&lt;p&gt;After downloading the habitat feature branch from github, running the gulp task 'default' copies over every file within a project file (.cs, .csproj, etc) into the web root rather than just the files it needs to run. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to go through the gulp file and only just the bits I need, but I just need to check that this wasn't done by design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/feature/v9&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/tree/feature/v9&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2428" LastEditorUserId="73" LastEditDate="2018-07-10T10:40:29.153" LastActivityDate="2018-07-10T10:40:29.153" Title="Habitat gulp default task copies all files" Tags="|habitat|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12758" PostTypeId="2" ParentId="12747" CreationDate="2018-07-09T15:45:53.710" Score="0" Body="&lt;p&gt;The solution is you can set to set &quot;Require Login&quot; to specific restricted pages and you can create a virtual user and then sign in to see your pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then use following property to verify whether user is authenticated or not.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.User.IsAuthenticated&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So , to create user you can use something like :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#region Namespace References&#xA;using Sitecore.Pipelines.HttpRequest;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;#endregion&#xA;&#xA;namespace AuthenticationHelper.Pipelines&#xA;{  &#xA;  public class B2CUserResolver : HttpRequestProcessor&#xA;{&#xA;    #region Custom Methods&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (Sitecore.Context.User.IsAuthenticated) { return; }&#xA;&#xA;        var loginResultUrl = Settings.SignInCallbackUrl;&#xA;        if (loginResultUrl.ToLower().EndsWith(args.Url.FilePathWithQueryString.ToLower()))&#xA;        {&#xA;            //We need to get the token and other post data that B2C sent us&#xA;            var idToken = HttpContext.Current.Request.Form[&quot;id_token&quot;];&#xA;            var idstate = HttpContext.Current.Request.Form[&quot;state&quot;];&#xA;&#xA;            if (string.IsNullOrEmpty(idToken)) { return; }&#xA;            //Validate the token&#xA;            var validToken = B2CHelper.ValidateToken(idToken);&#xA;            if (validToken == null)&#xA;            {&#xA;                if (!String.IsNullOrWhiteSpace(idstate))&#xA;                {&#xA;                    Sitecore.Web.WebUtil.Redirect(idstate, false);&#xA;                    args.AbortPipeline();&#xA;                }&#xA;                else&#xA;                {&#xA;                    return;&#xA;                }&#xA;            }&#xA;&#xA;            Dictionary&amp;lt;string, string&amp;gt; tokenClaims = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;            foreach (var c in validToken.Claims)&#xA;            {&#xA;                tokenClaims.Add(c.Type, c.Value);&#xA;            }&#xA;            bool loggedin = this.CreateAndLoginUser(tokenClaims[&quot;given_name&quot;], tokenClaims[&quot;given_name&quot;] + &quot; &quot; + tokenClaims[&quot;family_name&quot;], tokenClaims);&#xA;            if (loggedin)&#xA;            {&#xA;                if (!String.IsNullOrWhiteSpace(idstate))&#xA;                {&#xA;                    Sitecore.Web.WebUtil.Redirect(idstate, false);&#xA;                    args.AbortPipeline();&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    private bool CreateAndLoginUser(string userName, string fullName, Dictionary&amp;lt;string, string&amp;gt; props)&#xA;    {&#xA;        bool _res = false;&#xA;        Sitecore.Security.Accounts.User currentUser;&#xA;        bool success = B2CHelper.CreateVirtualUser(userName, fullName, props, out currentUser);&#xA;        if (success)&#xA;        {&#xA;            bool loggedin = Sitecore.Security.Authentication.AuthenticationManager.LoginVirtualUser(currentUser);&#xA;            _res = loggedin;&#xA;        }&#xA;        return _res;&#xA;    }&#xA;    #endregion&#xA; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;B2CHelper class as follows :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#region Namespace References&#xA;using Sitecore.Web;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.IO;&#xA;using System.Linq;&#xA;using System.Net;&#xA;using System.Web;&#xA;using System.Web.Script.Serialization;&#xA;using System.Security.Cryptography;&#xA;using System.IdentityModel.Tokens;&#xA;using System.IdentityModel.Selectors;&#xA;using System.Text;&#xA;#endregion&#xA;&#xA;namespace AuthenticationHelper&#xA;{&#xA;&#xA;public static class B2CHelper&#xA;{&#xA;    #region Variables        &#xA;    static string appID = Settings.ClientId;&#xA;    static string redirectURL = Settings.SignInCallbackUrl;&#xA;    static string policyName = Settings.PolicyName;&#xA;    static string directoryName = Settings.DirectoryName;&#xA;    #endregion&#xA;&#xA;    #region Custom Methods&#xA;    public static void InitializeMetadata()&#xA;    {&#xA;        if (HttpContext.Current.Application[Settings.ApplicationName] != null) return;&#xA;        string metadataEndpoint = String.Format(&quot;https://login.microsoftonline.com/{0}/v2.0/.well-known/openid-configuration?p={1}&quot;, directoryName, policyName);&#xA;&#xA;        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(metadataEndpoint);&#xA;        request.Method = &quot;GET&quot;;&#xA;        string respJson = String.Empty;&#xA;        using (var response = request.GetResponse())&#xA;        {&#xA;            using (var sr = new StreamReader(response.GetResponseStream()))&#xA;            {&#xA;                respJson = sr.ReadToEnd();&#xA;            }&#xA;        }&#xA;        var serializer = new JavaScriptSerializer();&#xA;&#xA;        B2CMetadata config = serializer.Deserialize&amp;lt;B2CMetadata&amp;gt;(respJson);&#xA;&#xA;        config = serializer.Deserialize&amp;lt;B2CMetadata&amp;gt;(respJson);&#xA;        HttpContext.Current.Application[Settings.ApplicationName] = config;&#xA;    }&#xA;&#xA;    public static KeysWrapper GetB2CKeys()&#xA;    {&#xA;        var config = (B2CMetadata)HttpContext.Current.Application[Settings.ApplicationName];&#xA;        HttpWebRequest keysRequest = (HttpWebRequest)WebRequest.Create(config.jwks_uri);&#xA;        keysRequest.Method = &quot;GET&quot;;&#xA;        string keysJson = String.Empty;&#xA;        using (var kresponse = keysRequest.GetResponse())&#xA;        {&#xA;            using (var ksr = new StreamReader(kresponse.GetResponseStream()))&#xA;            {&#xA;                keysJson = ksr.ReadToEnd();&#xA;            }&#xA;        }&#xA;        var keySerializer = new JavaScriptSerializer();&#xA;        KeysWrapper keys = keySerializer.Deserialize&amp;lt;KeysWrapper&amp;gt;(keysJson);&#xA;&#xA;        return keys;&#xA;    }&#xA;&#xA;    public static void InitiateCustomerSignInUp(B2CMetadata b2cMetadata)&#xA;    {&#xA;        var config = (B2CMetadata)HttpContext.Current.Application[Settings.ApplicationName];&#xA;        config = config != null ? config : b2cMetadata;&#xA;        string authEndpoint = config.authorization_endpoint;&#xA;        //We are using the Nonce parameter to avoid replay attacks&#xA;        string nonce = Guid.NewGuid().ToString();&#xA;        HttpContext.Current.Session[&quot;_NONCE_&quot;] = nonce;&#xA;&#xA;        string state = redirectURL;&#xA;        string rType = &quot;id_token&quot;;&#xA;        string rMode = &quot;form_post&quot;;&#xA;        string clientId = appID;&#xA;        string redirUri = redirectURL;&#xA;        string scope = &quot;openid&quot;;&#xA;        string policy = policyName;&#xA;        string prompt = &quot;login&quot;;&#xA;&#xA;        var sb = new StringBuilder(authEndpoint)&#xA;.Append($&quot;&amp;amp;client_id={clientId}&quot;)&#xA;.Append($&quot;&amp;amp;scope={scope}&quot;)&#xA;.Append($&quot;&amp;amp;response_type={rType}&amp;amp;response_mode={rMode}&quot;)&#xA;.Append($&quot;&amp;amp;redirect_uri={redirUri}&quot;)&#xA;.Append($&quot;&amp;amp;state={state}&amp;amp;nonce={nonce}&quot;)&#xA;.Append($&quot;&amp;amp;prompt={prompt}&quot;);&#xA;        WebUtil.Redirect(sb.ToString());&#xA;    }&#xA;&#xA;    public static void LogOut()&#xA;    {&#xA;        //Just logout&#xA;        Sitecore.Security.Authentication.AuthenticationManager.Logout();&#xA;    }&#xA;&#xA;    public static bool CreateVirtualUser(string userName, string displayName, Dictionary&amp;lt;string, string&amp;gt; properties, out Sitecore.Security.Accounts.User user)&#xA;    {&#xA;        bool _res = false;&#xA;        user = null;&#xA;        try&#xA;        {&#xA;            string fullUsername = String.Format(&quot;extranet\\{0}&quot;, userName);&#xA;            // Create virtual user&#xA;            var virtualUser = Sitecore.Security.Authentication.AuthenticationManager.BuildVirtualUser(fullUsername, true);&#xA;            virtualUser.RuntimeSettings.Load();&#xA;            virtualUser.RuntimeSettings.AddedRoles.Clear();&#xA;&#xA;            //set profile properties&#xA;            virtualUser.Profile.Email = userName;&#xA;            virtualUser.Profile.Name = displayName;&#xA;            foreach (var prop in properties)&#xA;            {&#xA;                virtualUser.Profile.SetCustomProperty(prop.Key, prop.Value);&#xA;            }&#xA;            virtualUser.Profile.Save();&#xA;            virtualUser.RuntimeSettings.IsVirtual = true;&#xA;&#xA;            virtualUser.RuntimeSettings.Save();&#xA;            user = virtualUser;&#xA;            _res = true;&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            _res = false;&#xA;        }&#xA;        return _res;&#xA;    }&#xA;&#xA;    public static JwtPayload ValidateToken(string rawToken)&#xA;    {&#xA;        JwtPayload token;&#xA;        if (Validate(rawToken, out token))&#xA;        {&#xA;            return token;&#xA;        }&#xA;        else&#xA;        {&#xA;            return null;&#xA;        }&#xA;    }&#xA;    private static bool Validate(string rawToken, out JwtPayload token)&#xA;    {&#xA;        try&#xA;        {&#xA;            var handler = new JwtSecurityTokenHandler();&#xA;            if (!handler.CanReadToken(rawToken) || !handler.CanValidateToken)&#xA;            {&#xA;                token = null;&#xA;                return false;&#xA;            }&#xA;            var tkn = handler.ReadToken(rawToken) as JwtSecurityToken;&#xA;            JwtHeader header = tkn.Header;&#xA;            JwtPayload jwtPayload = tkn.Payload;&#xA;            //Get the keys for validation&#xA;            var keysDictionary = B2CHelper.GetB2CKeys();&#xA;            var key = keysDictionary.FindByKidValue(tkn.Header[&quot;kid&quot;].ToString());&#xA;            var publicKey = new { e = key[&quot;e&quot;], n = key[&quot;n&quot;] };&#xA;            var signatureToValidate = tkn.EncodedHeader + &quot;.&quot; + tkn.EncodedPayload;&#xA;&#xA;            //Create a CryptoServiceProvider to represent the public key&#xA;            RSACryptoServiceProvider rsa = new RSACryptoServiceProvider();&#xA;            rsa.ImportParameters(&#xA;            new RSAParameters()&#xA;            {&#xA;                Modulus = new Microsoft.Owin.Security.DataHandler.Encoder.Base64UrlTextEncoder().Decode(publicKey.n),&#xA;                Exponent = new Microsoft.Owin.Security.DataHandler.Encoder.Base64UrlTextEncoder().Decode(publicKey.e),&#xA;&#xA;            });&#xA;            var rawSignature = tkn.RawSignature;&#xA;&#xA;            //Add the provider to the tokenvalidation parameters&#xA;            var options = new TokenValidationParameters()&#xA;            {&#xA;                IssuerSigningKeyResolver =&#xA;            ((tk, st, kid, tvp) =&amp;gt; { return new RsaSecurityKey(rsa); }),&#xA;                ValidIssuer = tkn.Issuer,&#xA;                ValidAudiences = tkn.Audiences,&#xA;                ValidateLifetime = true,&#xA;                ValidateIssuer = true,&#xA;                CertificateValidator = X509CertificateValidator.None&#xA;            };&#xA;            SecurityToken secToken;&#xA;&#xA;            //Call the validator with our keys&#xA;            handler.ValidateToken(rawToken, options, out secToken);&#xA;            token = jwtPayload;&#xA;            return true;&#xA;        }&#xA;        catch (SecurityTokenValidationException vex)&#xA;        {&#xA;            //Validation exceptions are caught here&#xA;            token = null;&#xA;            return false;&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            token = null;&#xA;            return false;&#xA;        }&#xA;    }&#xA;    #endregion&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please find link to the following Sitecore Marketplace Module which is created for the same purpose :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/SitecoreAzureAdloginusingOpenIDAuthentication.aspx&quot; rel=&quot;nofollow noreferrer&quot; title=&quot;SITECORE-AZUREAD-LOGIN-USING-OPENID-AUTHENTICATION&quot;&gt;https://marketplace.sitecore.net/en/Modules/S/SitecoreAzureAdloginusingOpenIDAuthentication.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2153" LastActivityDate="2018-07-09T15:45:53.710" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12759" PostTypeId="1" AcceptedAnswerId="12761" CreationDate="2018-07-09T16:49:35.660" Score="6" ViewCount="1044" Body="&lt;p&gt;I have just started learning sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a normal POC , which version of Sitecore should I use?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerDisplayName="user3946" LastActivityDate="2018-07-10T18:36:31.483" Title="As a beginner , what version of Sitecore should I setup and practice 8 or 9?" Tags="|installation|" AnswerCount="4" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12760" PostTypeId="2" ParentId="12759" CreationDate="2018-07-09T16:57:05.177" Score="6" Body="&lt;p&gt;The hardest part of Sitecore 9 is the install. Sitecore 8 and &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_Instance_Manager.aspx&quot; rel=&quot;noreferrer&quot;&gt;SIM tool&lt;/a&gt; is quick and easy. But the core of Sitecore's strength is in xConnect, which is in Sitecore 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made a video of an easy way to get Sitecore 9 up. If you can do it, use 9. Else &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_Instance_Manager.aspx&quot; rel=&quot;noreferrer&quot;&gt;SIM tool&lt;/a&gt; with 8.2 is a great place to start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.waitingimpatiently.com/install-sitecore-like-a-ci-nerd/&quot; rel=&quot;noreferrer&quot;&gt;https://www.waitingimpatiently.com/install-sitecore-like-a-ci-nerd/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For learning Sitecore, this is a fantastic place to start. &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1737/how-can-i-get-started-learning-sitecore&quot;&gt;How can I get started learning Sitecore?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-07-09T16:57:05.177" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12761" PostTypeId="2" ParentId="12759" CreationDate="2018-07-09T16:59:45.360" Score="2" Body="&lt;p&gt;Welcome to Sitecore Development !&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can try Sitecore 8x if you want to practice at a very beginner level as it is easy to install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please make sure to use latest update i.e. Sitecore 8.2 update 7 from following link:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/82/Sitecore_Experience_Platform_82_Update7.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.2 Update 7&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover , Sitecore has a very easy to understand documentation of setting up Sitecore and Visual Studio for development.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/set_up_sitecore_and_visual_studio_for_development&quot; rel=&quot;nofollow noreferrer&quot;&gt;Set up Sitecore and Visual Studio for development&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover , you can watch a demo video of Sitecore from CEP channel on youtube.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=i3Mwcphtz4w&quot; rel=&quot;nofollow noreferrer&quot;&gt;Geeting Started Sitecore MVC - Getting Started&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2153" LastEditorUserId="2153" LastEditDate="2018-07-09T17:20:55.090" LastActivityDate="2018-07-09T17:20:55.090" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12763" PostTypeId="1" CreationDate="2018-07-09T19:29:20.347" Score="0" ViewCount="580" Body="&lt;p&gt;I am following &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt; for installing Sitecore Commerce 8.2.1. I am done with almost all the steps required except the part Deploy the Commerce Engine. As mentioned there, if I unzipped the solution, changed .NET CORE SDK version to 2.1.2, which is installed on my machine and run dotnet restore at the root of SDK folder, I got the error message as below&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;MSBUILD : error MSB1011: Specify which project or solution file to use&#xA;  because this folder contains more than one project or solution file.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;There are multiple solution files, so I took Customer.Sample.Solution.sln as the main file and ran command &quot;dotnet restore Customer.Sample.Solution.sln&quot; on that, I got the error as below&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;E:\Scom\Sitecore.Commerce.Engine\Sitecore.Commerce.Engine.xproj(7,3):&#xA;  error MSB4019: The imported project &quot;C:\Program Files&#xA;  (x86)\dotnet\sdk\2.1.2\Microsoft\VisualStudio\v15.0\DotNet\Microsoft.DotNet.Props&quot;&#xA;  was not found. Confirm that the path in the  declaration is&#xA;  correct, and that the file exists on disk.&#xA;  E:\Scom\Sitecore.Commerce.Plugin.AdventureWorks\Sitecore.Commerce.Plugin.AdventureWorks.xproj(7,3):&#xA;  error MSB4019: The imported project &quot;C:\Program Files&#xA;  (x86)\dotnet\sdk\2.1.2\Microsoft\VisualStudio\v15.0\DotNet\Microsoft.DotNet.Props&quot;&#xA;  was not found. Confirm that the path in the  declaration is&#xA;  correct, and that the file exists on disk.&#xA;  E:\Scom\PluginSamples\Plugin.Sample.Payments.Braintree\Plugin.Sample.Payments.Braintree.xproj(7,3):&#xA;  error MSB4019: The imported project &quot;C:\Program Files&#xA;  (x86)\dotnet\sdk\2.1.2\Microsoft\VisualStudio\v15.0\DotNet\Microsoft.DotNet.Props&quot;&#xA;  was not found. Confirm that the path in the  declaration is&#xA;  correct, and that the file exists on disk.&#xA;  E:\Scom\Sitecore.Commerce.Engine\Sitecore.Commerce.Engine.xproj :&#xA;  warning NU1503: Skipping restore for project&#xA;  'E:\Scom\Sitecore.Commerce.Engine\Sitecore.Commerce.Engine.xproj'. The&#xA;  project file may be invalid or missing targets required for restore.&#xA;  [E:\Scom\Customer.Sample.Solution.sln]&#xA;  E:\Scom\Sitecore.Commerce.Plugin.AdventureWorks\Sitecore.Commerce.Plugin.AdventureWorks.xproj&#xA;  : warning NU1503: Skipping restore for project&#xA;  'E:\Scom\Sitecore.Commerce.Plugin.AdventureWorks\Sitecore.Commerce.Plugin.AdventureWorks.xproj'.&#xA;  The project file may be invalid or missing targets required for&#xA;  restore. [E:\Scom\Customer.Sample.Solution.sln]&#xA;  E:\Scom\PluginSamples\Plugin.Sample.Payments.Braintree\Plugin.Sample.Payments.Braintree.xproj&#xA;  : warning NU1503: Skipping restore for project&#xA;  'E:\Scom\PluginSamples\Plugin.Sample.Payments.Braintree\Plugin.Sample.Payments.Braintree.xproj'.&#xA;  The project file may be invalid or missing targets required for&#xA;  restore. [E:\Scom\Customer.Sample.Solution.sln] C:\Program Files&#xA;  (x86)\dotnet\sdk\2.1.2\NuGet.targets(103,5): warning : Unable to find&#xA;  a project to restore! [E:\Scom\Customer.Sample.Solution.sln]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Not sure if it plays any part but I have VS 2017 properly working and VS 2015 community with expired evaluation license. (The provided solution is for VS 2015)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So as I was unable to open it in VS 2015, I opened it with VS 2017 and upgraded the project and closed Visual Studio again. After that if I restore the project it works properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I tried to publish by then I again got the below error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;C:\Users\chaitanya.gadkari.nuget\packages\baseclass.contrib.nuget.output\2.1.0\build\net40\Baseclass.Contrib.Nuget.Output.targets(73,5):&#xA;  error MSB4175: The task factory &quot;CodeTaskFactory&quot; could not be loaded&#xA;  from the assembly &quot;C:\Program Files&#xA;  (x86)\dotnet\sdk\2.1.2\Microsoft.Build.Tasks.v15.0.dll&quot;. Could not&#xA;  load file or assembly 'C:\Program Files&#xA;  (x86)\dotnet\sdk\2.1.2\Microsoft.Build.Tasks.v15.0.dll'. The system&#xA;  cannot find the file specified.&#xA;  [E:\Scom\PluginSamples\Plugin.Sample.Habitat\Plugin.Sample.Habitat.csproj]&#xA;  Plugin.Sample.Payments.Braintree -&gt;&#xA;  E:\Scom\PluginSamples\Plugin.Sample.Payments.Braintree\bin\Debug\net461\Plugin.Sample.Payments.Braintree.dll&#xA;  C:\Users\chaitanya.gadkari.nuget\packages\baseclass.contrib.nuget.output\2.1.0\build\net40\Baseclass.Contrib.Nuget.Output.targets(73,5):&#xA;  error MSB4175: The task factory &quot;CodeTaskFactory&quot; could not be loaded&#xA;  from the assembly &quot;C:\Program Files&#xA;  (x86)\dotnet\sdk\2.1.2\Microsoft.Build.Tasks.v15.0.dll&quot;. Could not&#xA;  load file or assembly 'C:\Program Files&#xA;  (x86)\dotnet\sdk\2.1.2\Microsoft.Build.Tasks.v15.0.dll'. The system&#xA;  cannot find the file specified.&#xA;  [E:\Scom\Sitecore.Commerce.Plugin.AdventureWorks\Sitecore.Commerce.Plugin.AdventureWorks.csproj]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I open the project in Visual Studio there are two more errors as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There was a mismatch between the processor architecture of the project&#xA;  being built &quot;MSIL&quot; and the processor architecture of the reference&#xA;  &quot;C:\Users\chaitanya.gadkari.nuget\packages\sitecore.commerce.assemblies.common\11.4.148\lib\net452\CommerceServer.Core.Internal.ContentListHelper.dll&quot;,&#xA;  &quot;AMD64&quot;. This mismatch may cause runtime failures. Please consider&#xA;  changing the targeted processor architecture of your project through&#xA;  the Configuration Manager so as to align the processor architectures&#xA;  between your project and references, or take a dependency on&#xA;  references with a processor architecture that matches the targeted&#xA;  processor architecture of your&#xA;  project.  Sitecore.Commerce.Plugin.AdventureWorks C:\Program Files&#xA;  (x86)\Microsoft Visual&#xA;  Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Anyone have faced this issue while deploying Sitecore Commerce? Is there any specific version of .NET Framework I need to install? Or anything which I am missing?&lt;/p&gt;&#xA;" OwnerUserId="2305" LastEditorUserId="2056" LastEditDate="2018-07-10T04:55:11.047" LastActivityDate="2018-10-06T01:00:07.517" Title="Unable to compile and deploy Sitecore.Commerce.SDK project" Tags="|sitecore-commerce|visual-studio|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12764" PostTypeId="2" ParentId="12759" CreationDate="2018-07-09T19:55:40.833" Score="4" Body="&lt;p&gt;Welcome to the Sitecore dev community! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend skipping Sitecore 8 and start already with Sitecore 9. Maybe the installation is a bit easier for Sitecore 8 with &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Instance-Manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Instance Manager (SIM) tool&lt;/a&gt; but working with Sitecore 9 and xConnect especially is much more straight forward. You can also use &lt;a href=&quot;https://bitbucket.org/RAhnemann/sif-less/overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;SIFless&lt;/a&gt; tool to install Sitecore 9 much easier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With Sitecore 8 you also have to install Mongo DB to store analytics data and also RoboMongo or similar tool to query it. It brings more complexity during debugging and finding issues. You also have to learn Mongo query language which is completely different to TSQL used in MS SQL Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With Sitecore 9 you are doing selects to only SQL Server server and using therefore only TSQL commands.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9 has great new features like role based configuration, configuration layers and lots of built in functionality previously only available as modules like dynamic placeholders. Use can also install &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore SXA&lt;/a&gt; to speed up initial development and content creation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can follow my blog post to help you out installing latest version of Sitecore 9 -&gt; &lt;a href=&quot;https://tothecore.sk/2018/06/22/sitecore-9-update-2-sitecore-9-0-2-installation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/06/22/sitecore-9-update-2-sitecore-9-0-2-installation/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget that you can now get 60 days Sitecore develop trial license. More information &lt;a href=&quot;https://www.sitecore.com/getting-started/developer-trial&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-10T16:35:13.837" LastActivityDate="2018-07-10T16:35:13.837" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12766" PostTypeId="1" AcceptedAnswerId="12787" CreationDate="2018-07-09T20:40:09.617" Score="3" ViewCount="1475" Body="&lt;p&gt;I understand the mecanism when you create component code-first and then you import it into Sitecore.&#xA;I try to understand one point, how can I import new component from Sitecore (Sitecore-first ?) to the JSS React application ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For example :&lt;/strong&gt;&#xA;In Sitecore I created a template named &quot;Article&quot;. I also created a new item named &quot;My article&quot;.&#xA;Then I want to display it in my React JSS application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What steps I need to achieve in both Sitecore and application side to make if work ?&#xA;If it's explained in a documentation please share a link because I can't find that information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3803" LastActivityDate="2018-07-10T18:06:16.993" Title="Import template from Sitecore to JSS React application" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12767" PostTypeId="2" ParentId="12766" CreationDate="2018-07-09T21:10:26.987" Score="1" Body="&lt;p&gt;I'm assuming you're operating in Connected Mode. If so, review documentation here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.net/#/layout-service?id=the-sitecore-layout-service&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/#/layout-service?id=the-sitecore-layout-service&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A sample request is structured like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/api/layout/render/[config]?item=[path]&amp;amp;sc_lang=[language]&amp;amp;sc_apikey=[key]&amp;amp;tracking=[true|false]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="467" LastActivityDate="2018-07-09T21:10:26.987" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12768" PostTypeId="1" CreationDate="2018-07-10T04:35:22.370" Score="1" ViewCount="1467" Body="&lt;p&gt;I'm trying to Unit test my login method, for that I used below provider&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var provider = Substitute.For&amp;lt;Sitecore.Security.Authentication.AuthenticationProvider&amp;gt;();&#xA;            provider&#xA;                .Login(&quot;extranet\testuser@test.com&quot;, &quot;Test@123&quot;, false)&#xA;                .Returns(true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and used this in using block.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using(var db = new Sitecore.FakeDb.Db(&quot;master&quot;){ new Sitecore.FakeDb.DbItem(&quot;home&quot;)} )&#xA;            using (new Sitecore.Security.Authentication.AuthenticationSwitcher(provider))&#xA;            {&#xA;                var item = db.GetItem(&quot;/sitecore/content/home&quot;); //Here the error throws &quot;User cannot be null&quot;&#xA;&#xA;                var loginResult = Sitecore.Security.Authentication.AuthenticationManager.Login(&quot;extranet\testuser@test.com&quot;, &quot;Test@123&quot;);&#xA;               loginResult.Should().BeTrue();&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm able to test the sitecore Login method but inside that block the I'm not able to do any activity like &lt;code&gt;DataBase.GetItem()&lt;/code&gt; or &lt;code&gt;AuthenticationManager.GetActiveUser()&lt;/code&gt; which throws an error saying &lt;code&gt;System.InvalidOperationException: 'User cannot be null.'&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1022" LastEditorUserId="1022" LastEditDate="2018-07-10T09:13:52.327" LastActivityDate="2018-07-10T09:13:52.327" Title="Mocking the Authentication Provider" Tags="|unit-testing|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12769" PostTypeId="2" ParentId="12763" CreationDate="2018-07-10T04:53:00.957" Score="1" Body="&lt;p&gt;You need to follow Sitecore documentation that you mentioned in your question at the beginning precisely. Therefore you have to use VS2015 when you want to develop / deploy Sitecore Commerce 8.2.1 solution. You also need to download and install precisely &lt;a href=&quot;https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.0.3-preview2-download.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;.NET Core 1.0.3 SDK Preview 2 build 3156&lt;/a&gt; and &lt;a href=&quot;https://go.microsoft.com/fwlink/?LinkId=827546&quot; rel=&quot;nofollow noreferrer&quot;&gt;.NET Core 1.0.1 Visual Studio 2015 Tooling Preview 2&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See more software prerequisites and tooling requirements in Sitecore Commerce Documentation:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html#Concepts/c_M_InstallASPNETandRelated.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html#Concepts/c_M_InstallASPNETandRelated.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/Developers-Guide/SitecoreCommerce-8.2.1_Developers_Guide.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreCommerce/Developers-Guide/SitecoreCommerce-8.2.1_Developers_Guide.pdf&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-07-10T04:53:00.957" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12770" PostTypeId="2" ParentId="12768" CreationDate="2018-07-10T05:00:37.247" Score="2" Body="&lt;p&gt;For testing authentication using FakeDb you can try next : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [Theory]&#xA;    [AutoDbData]&#xA;    public void Login_UserIsNotLoggedIn_ShouldReturnFalse(FakeMembershipUser user, AuthenticationProvider authenticationProvider, AccountRepository repo)&#xA;    {&#xA;        authenticationProvider.Login(@&quot;somedomain\John&quot;, Arg.Any&amp;lt;string&amp;gt;(), Arg.Any&amp;lt;bool&amp;gt;()).Returns(false);&#xA;&#xA;        var context = new FakeSiteContext(new StringDictionary&#xA;                                          {&#xA;                                              {&quot;domain&quot;, &quot;somedomain&quot;}&#xA;                                          });&#xA;        using (new Switcher&amp;lt;Domain, Domain&amp;gt;(new Domain(&quot;somedomain&quot;)))&#xA;        {&#xA;            using (new AuthenticationSwitcher(authenticationProvider))&#xA;            {&#xA;                var loginResult = repo.Login(&quot;John&quot;, &quot;somepassword&quot;);&#xA;                loginResult.Should().BeNull();&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More tests you can find at : &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Feature/Accounts/Tests/AccountsRepositoryTests.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/src/Feature/Accounts/Tests/AccountsRepositoryTests.cs&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-07-10T05:00:37.247" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12771" PostTypeId="1" AcceptedAnswerId="12772" CreationDate="2018-07-10T05:43:24.557" Score="16" ViewCount="4180" Body="&lt;p&gt;I am new to Sitecore Experience Commerce (SXC) 9 development and want to embrace the whole platform. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where should I start? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I learn, watch &amp;amp; read?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where can I find help if I need it?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="1268" LastEditDate="2018-09-24T11:13:08.290" LastActivityDate="2021-04-16T10:59:24.507" Title="How to start development with Sitecore Commerce 9 / Sitecore Commerce 9 Learning Resources" Tags="|sitecore-commerce|commerce-engine|commerce-server|commerce-connect|training|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12772" PostTypeId="2" ParentId="12771" CreationDate="2018-07-10T05:57:35.690" Score="34" Body="&lt;p&gt;&lt;strong&gt;1. Sitecore Commerce Documention&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Great resource is &lt;a href=&quot;https://doc.sitecore.net/developers/xc/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore official documentation&lt;/a&gt; which contains:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Developer's Guide -&amp;gt; &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC-9.0_Developers_Guide.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC-9.0_Developers_Guide.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;DevOps Guide -&amp;gt; &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/DevOps-Guide/Sitecore-XC-9.0_DevOps_Guide.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/DevOps-Guide/Sitecore-XC-9.0_DevOps_Guide.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Installation Guide:&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For On-Premises - &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;for Azure App Service - &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(Cloud).pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(Cloud).pdf&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Business Tools User's Guide:&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Users-Guide/en-us/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Users-Guide/en-us/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://tothecore.sk/2018/07/04/sitecore-experience-commerce-9-business-tools-users-guide-for-ereaders&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/07/04/sitecore-experience-commerce-9-business-tools-users-guide-for-ereaders&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;SXA Storefront Guide:&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sxa_storefront&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sxa_storefront&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://tothecore.sk/2018/07/09/sitecore-experience-commerce-sxc-9-documentation-for-ereaders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/07/09/sitecore-experience-commerce-sxc-9-documentation-for-ereaders/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Commerce Connect:&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Developer's Guide - &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Commerce-Connect/Sitecore_Connect_90_Developer_Guide.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Commerce-Connect/Sitecore_Connect_90_Developer_Guide.pdf&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Integration Guide - &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Commerce-Connect/Sitecore_Connect_90_Integration_Guide.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Commerce-Connect/Sitecore_Connect_90_Integration_Guide.pdf&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Setting up Commerce Connect&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_commerce/setting_up_commerce_connect&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_commerce/setting_up_commerce_connect&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://tothecore.sk/2018/07/09/sitecore-experience-commerce-sxc-9-documentation-for-ereaders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/07/09/sitecore-experience-commerce-sxc-9-documentation-for-ereaders/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Commerce Connect Components:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_commerce/commerce_connect_components&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_commerce/commerce_connect_components&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://tothecore.sk/2018/07/09/sitecore-experience-commerce-sxc-9-documentation-for-ereaders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/07/09/sitecore-experience-commerce-sxc-9-documentation-for-ereaders/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Reports:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_commerce/reports&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_commerce/reports&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://tothecore.sk/2018/07/09/sitecore-experience-commerce-sxc-9-documentation-for-ereaders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/07/09/sitecore-experience-commerce-sxc-9-documentation-for-ereaders/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;2. Youtube&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;When you like to see things in action and narrated - take a look on two Youtube playlists that are part of &lt;a href=&quot;https://www.youtube.com/user/mastersitecore/playlists&quot; rel=&quot;nofollow noreferrer&quot;&gt;Master Sitecore channel&lt;/a&gt; which is maintained by Sitecore itself and I definitely recommend to watch all &amp;quot;episodes&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;List of Commerce related playlists on &lt;a href=&quot;https://www.youtube.com/user/mastersitecore/playlists&quot; rel=&quot;nofollow noreferrer&quot;&gt;Master Sitecore channel&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/playlist?list=PL1jJVFm_lGny-vqNPTv3VdBA_o31-Tq94&quot; rel=&quot;nofollow noreferrer&quot;&gt;&amp;quot;Sitecore Commerce Deep Dive&amp;quot;&lt;/a&gt; - Content more oriented for developers describing how Commerce Engine and all other parts of SXC work internally&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://m.youtube.com/playlist?list=PL1jJVFm_lGnwa9R0XqeGrhmNj1AHbAnE9&quot; rel=&quot;nofollow noreferrer&quot;&gt;&amp;quot;Sitecore Experience Commerce&amp;quot;&lt;/a&gt; - Content more oriented for merchandisers and other users of SXC with lot of how to videos&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Lot's of great non-commerce recordings regarding &lt;a href=&quot;https://www.youtube.com/watch?v=EzfV6RjCD8A&amp;amp;list=PL1jJVFm_lGnzMUBFF_IX5q0o-3UOX2mIs&quot; rel=&quot;nofollow noreferrer&quot;&gt;architecture&lt;/a&gt;, &lt;a href=&quot;https://www.youtube.com/playlist?list=PL1jJVFm_lGnz0XzXU5uNJSgTGMxNFsOky&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix&lt;/a&gt;, &lt;a href=&quot;https://www.youtube.com/playlist?list=PL1jJVFm_lGnxaNZ6AUm_GQNOxFHOjZAGp&quot; rel=&quot;nofollow noreferrer&quot;&gt;xConnect&lt;/a&gt; and many more can be found there also. Just &lt;a href=&quot;https://www.youtube.com/user/mastersitecore/playlists&quot; rel=&quot;nofollow noreferrer&quot;&gt;check it out&lt;/a&gt;, you won't regret!&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;3. Sitecore Official Commerce Trainings / Exams&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;Online Trainings&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I have learnt a lot taking and passing online trainings:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://learning.sitecore.com/user/consume/learning_pathway/5d48cb92-0c3b-3fa1-9683-482dc020fae0/25&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commerce Foundations 9 Collection&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://learning.sitecore.com/user/consume/learning_pathway/5d48cb92-0c3b-3fa1-9683-482dc020fae0/26&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commerce Developer's Fundamentals 9 Collection&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Take a look &lt;a href=&quot;http://tothecore.sk/2018/06/25/sitecore-commerce-9-100-overview-and-200-essentials-trainings-developer-view/&quot; rel=&quot;nofollow noreferrer&quot;&gt;on my humble review&lt;/a&gt; of these two official trainings from Sitecore. Will get you definitely up to speed!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;Onsite Training&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;There is also more advanced onsite training:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/services-and-support/training/classroom-training/back-end-developers/sitecore-commerce-for-developers?sc_lang=en&amp;amp;retrofit=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Experience Commerce 9.0 300: Advanced&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;Commerce Essentials Exam&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;You can also test your knowledge by passing Sitecore Experience Commerce (SXC) 9 Essentials Certification:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.freshdesk.com/support/solutions/articles/16000077959-sitecore-experience-commerce-9-0-essentials-certification-developer-exam-study-guide&quot; rel=&quot;nofollow noreferrer&quot;&gt;Official Study guide&lt;/a&gt; - You will learn here exactly how to register for this exam, details about exam and topics you need to cover during your preparation.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://tothecore.sk/2018/07/16/sitecore-experience-commerce-sxc-9-essentials-certification-study-guide&quot; rel=&quot;nofollow noreferrer&quot;&gt;Study guide&lt;/a&gt; prepared by &lt;a href=&quot;https://tothecore.sk/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Peter Prochazka&lt;/a&gt; - You will know exactly what steps you need to do in order to successfully pass this exam with all links to documentation and suggestion how to embrace preparation for this exam.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;4. Blogs&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;There are lots of Sitecore developers who share their knowledge, expertise and experience through their blogs, youtube channels and so on. Some are specialized in Sitecore Commerce particularly. This can be great source of truth and could help you find solution to your problems pretty quickly because you know, there is big probability that somebody experienced same problems as you before or somebody already developed similar solution to your current requirements ;) Also wise people learn by other's faults ;)&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Some notable Sitecore Commerce bloggers you should follow (some are also &lt;a href=&quot;https://mvp.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Commerce MVPs&lt;/a&gt;):&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://blog.ryanbailey.co.nz/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.ryanbailey.co.nz/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://blog.richardszalay.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.richardszalay.com/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://hachweb.wordpress.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hachweb.wordpress.com/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://tothecore.sk/tag/sitecore-commerce-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/tag/sitecore-commerce-9/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://andrewsutherland.azurewebsites.net/blog/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://andrewsutherland.azurewebsites.net/blog/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://medium.com/redhotminute-australia&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/redhotminute-australia&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://websterian.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://websterian.com/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://naveed-ahmad.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://naveed-ahmad.com/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://buoctrenmay.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://buoctrenmay.com/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://www.sitecorecpok.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecorecpok.com/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://himadritechblog.wordpress.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://himadritechblog.wordpress.com/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://davehetal.wordpress.com/category/sitecore/commerce/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://davehetal.wordpress.com/category/sitecore/commerce/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://sitecoredude.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoredude.com/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;5. Twitter&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you are on twitter, you can follow &lt;a href=&quot;https://twitter.com/commerceminion&quot; rel=&quot;nofollow noreferrer&quot;&gt;@commerceminion&lt;/a&gt;. It is a bot automatically retweeting all Sitecore Commerce related tweets. Great source of knowledge if you want to stay up to date!&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;6. Help&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you are seeking help, you can use lot's of channels:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Stack Exchange - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/tagged/sitecore-commerce&quot;&gt;https://sitecore.stackexchange.com/questions/tagged/sitecore-commerce&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Slack Channel - &lt;a href=&quot;https://sitecorechat.slack.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorechat.slack.com/&lt;/a&gt; (join #ecommerce channel) - read &lt;a href=&quot;https://www.akshaysura.com/2015/10/27/how-to-join-sitecore-slack-community-chat/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here how to join&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Commerce Community / Forums - &lt;a href=&quot;https://community.sitecore.net/developers/f/6&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/6&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Support - &lt;a href=&quot;https://support.sitecore.net/helpdesk/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.sitecore.net/helpdesk/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;7. Sitecore Habitat Home Commerce demo&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Great source of knowledge and help in the beginning of your Sitecore Commerce journey can be also Sitecore Habitat Home Commerce demo. This is demo / code repository of Sitecore Commerce solution and can used as a reference and inspiration for your solution.&lt;/p&gt;&#xA;&lt;p&gt;More information about Sitecore Habitat Home Commerce demo:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Source codes and instructions can be found here - &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Detailed step-by-step installation guide was written by Viet Hoang - &lt;a href=&quot;https://buoctrenmay.com/2018/06/01/sitecore-demo-habitat-home-commerce-step-by-step-setup-guide/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://buoctrenmay.com/2018/06/01/sitecore-demo-habitat-home-commerce-step-by-step-setup-guide/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Join #habitathome channel in Sitecore Slack&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="3581" LastEditDate="2021-04-16T10:59:24.507" LastActivityDate="2021-04-16T10:59:24.507" CommentCount="0" CommunityOwnedDate="2018-07-10T09:06:45.007" ContentLicense="CC BY-SA 4.0" />
  <row Id="12774" PostTypeId="2" ParentId="12724" CreationDate="2018-07-10T07:59:26.350" Score="3" Body="&lt;p&gt;If you created an item then it should be already in the index so you just need to update/refreshe it. You can do it like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var tempItem = (SitecoreIndexableItem)newItem;&#xA;ContentSearchManager.GetIndex(indexName).Refresh(tempItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Otherwhise, you can try using the &lt;code&gt;HistoryEngine&lt;/code&gt;. Try one of those (try also using those three at once):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Database.Engines.HistoryEngine.RegisterItemSaved(item, new ItemChanges(item));&#xA;item.Database.Engines.HistoryEngine.RegisterItemCreated(item);&#xA;item.Database.Engines.HistoryEngine.RegisterItemMoved(item, oldParentId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-07-10T07:59:26.350" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12776" PostTypeId="1" CreationDate="2018-07-10T10:28:43.147" Score="1" ViewCount="241" Body="&lt;p&gt;How we can assign one profile/pattern to logged-in/non loggedin user of sitecore &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I understood , if we set the Profile card on any Sitecore page and then use personalization by pattern card and visit same targeted page again and again &#xA;then Sitecore assigned user into one pattern based on the page visit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created profile/and pattren card as below and set the personalization  and visiting on  personalizatied pages again and again but still its showing&#xA;&lt;strong&gt;&quot;You have not been profiled yet&quot;&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FoiLJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FoiLJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0DRhc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0DRhc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="1338" LastEditDate="2018-07-11T08:49:32.310" LastActivityDate="2018-07-11T08:49:32.310" Title="What does mean of &quot;You have not been profiled yet&quot;? How to list user into any profile?" Tags="|habitat|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12777" PostTypeId="1" CreationDate="2018-07-10T10:37:44.830" Score="1" ViewCount="89" Body="&lt;p&gt;I see the campaign creator tool under Sitecore XP 9 documentation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in the &lt;a href=&quot;https://kb.sitecore.net/articles/541788&quot; rel=&quot;nofollow noreferrer&quot;&gt;compatibility table&lt;/a&gt; Campaign Creator tool is not supported for Sitecore 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it supported for Sitecore 9 or not?&lt;/p&gt;&#xA;" OwnerUserId="3950" LastEditorUserId="2056" LastEditDate="2018-07-10T11:18:59.240" LastActivityDate="2018-07-10T11:18:59.240" Title="Is Sitecore Campaign Creator tool supported in Sitecore 9" Tags="|campaigncreator|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12778" PostTypeId="2" ParentId="12777" CreationDate="2018-07-10T11:17:19.113" Score="2" Body="&lt;p&gt;Campaign Creator was integrated into Sitecore from version Sitecore 8.1 (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/Sitecore%2081/Sitecore%20Experience%20Platform%2081%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;See Release notes&lt;/a&gt;). It is not anymore a separate module:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xJgk5.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xJgk5.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can start it from Launchpad:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oEt7G.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oEt7G.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Take a look in this documentation for further details:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/campaigns/the_campaign_creator&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/campaigns/campaigns/the_campaign_creator&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/Sitecore%2081/Sitecore%20Experience%20Platform%2081%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/Sitecore%2081/Sitecore%20Experience%20Platform%2081%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-07-10T11:17:19.113" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12779" PostTypeId="2" ParentId="12671" CreationDate="2018-07-10T11:39:47.377" Score="1" Body="&lt;p&gt;I've added all Answers to my initial Post and I got it working on my CM with this settings&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-07-10T11:39:47.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12781" PostTypeId="1" AcceptedAnswerId="12874" CreationDate="2018-07-10T13:36:14.677" Score="4" ViewCount="406" Body="&lt;p&gt;I need programmatically import catalog from 3rd party service to Sitecore Commerce 9. I can create Catalog, Category and SellableItem. I can add related product for SellableItem, but I couldn't get a list of already added related products for my SellableItem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get list of related products for SellableItem?&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-07-16T09:28:27.693" Title="Get Related Products for SellableItem in custom plugin" Tags="|sitecore-commerce|commerce-catalog|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12782" PostTypeId="1" AcceptedAnswerId="12783" CreationDate="2018-07-10T14:03:29.933" Score="1" ViewCount="92" Body="&lt;p&gt;Does anyone know of a suite of third-party custom controls that are available for purchase for Sitecore? Or are you just using the standard VS third-party tools?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are going to start rewriting our ASXP everything (layouts and controls) to MVC (renders) for Sitecore.  It would be nice to have some standard controls already written.&lt;/p&gt;&#xA;" OwnerUserId="3453" LastEditorUserId="73" LastEditDate="2018-07-10T18:49:32.727" LastActivityDate="2018-07-10T18:49:32.727" Title="Third Party custom controls for Sitecore" Tags="|mvc|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12783" PostTypeId="2" ParentId="12782" CreationDate="2018-07-10T14:40:18.367" Score="4" Body="&lt;p&gt;Its not 3rd party - but you really should look into the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Experience Accelerator&lt;/a&gt; - while it doesn't have &quot;controls&quot; in the way you are thinking, it comes with a number of components/renderings that you can use to build pages and then you can build your theme to style those components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also very easy to build other components that you can use with SXA that follow the pattern.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way you have a nice standardized set of components, that all follow a good Sitecore architecture, you have a lot of built in additions like Sitemap, Robots.txt, Redirects etc... Boiler plate stuff that you would normally have to build yourself. It really does save a lot of effort in the build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you don't have to think too much about the information architecture, as there is already a good pattern to follow.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-07-10T14:40:18.367" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12784" PostTypeId="1" AcceptedAnswerId="12856" CreationDate="2018-07-10T14:48:21.110" Score="6" ViewCount="433" Body="&lt;p&gt;The Sitecore.XA libraries are available on the Sitecore MyGet feed but I'm not clear on how the dll file version maps to the version posted on dev.sitecore.net.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As of today (20180710) these are the versions listed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wTEeh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wTEeh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe 2.7.0.1346 maps to SXA 1.7.0 initial.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="851" LastEditDate="2018-07-13T16:39:35.793" LastActivityDate="2019-05-09T18:04:42.450" Title="How are the Sitecore.XA nuget library file versions mapped to release version?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12785" PostTypeId="1" CreationDate="2018-07-10T15:26:43.737" Score="4" ViewCount="308" Body="&lt;p&gt;I've setup federated authentication in Sitecore 9 and can log in with my IDP. There is an Owin.Log file in the logging directory but it is always empty. I did some research but was unable to find what this file is for. What needs to be done so something gets logged here?&lt;/p&gt;&#xA;" OwnerUserId="2495" LastEditorUserId="73" LastEditDate="2018-07-10T16:14:25.423" LastActivityDate="2023-07-24T07:19:17.347" Title="What is Owin.Log log file for?" Tags="|federated-authentication|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12786" PostTypeId="2" ParentId="12784" CreationDate="2018-07-10T15:46:21.160" Score="6" Body="&lt;p&gt;From the feed I see the following:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Feed Entries&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;These are the entries you may see in the NuGet feed.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;9.1.1&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;4.8.1 : SXA 1.8.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;9.1&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;4.8.0 : SXA 1.8.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;9.0&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;3.8.1 : SXA 1.8.1&lt;/li&gt;&#xA;&lt;li&gt;3.8.0 : SXA 1.8.0&lt;/li&gt;&#xA;&lt;li&gt;3.7.1 : SXA 1.7.1&lt;/li&gt;&#xA;&lt;li&gt;3.7.0 : SXA 1.7.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;8.2&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2.7.1 : SXA 1.7.1&lt;/li&gt;&#xA;&lt;li&gt;2.7.0 : SXA 1.7.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Retired feed values&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;3.7.0.643 : SXA 1.7.1 rev. 180604 for 9.0&lt;/li&gt;&#xA;&lt;li&gt;3.7.0.547 : SXA 1.7.0 rev. 180410 for 9.0&lt;/li&gt;&#xA;&lt;li&gt;2.7.0.1435 : SXA 1.7.1 rev. 180604 for 8.2&lt;/li&gt;&#xA;&lt;li&gt;2.7.0.1346 : SXA 1.7.0 rev. 180410 for 8.2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-05-09T18:04:42.450" LastActivityDate="2019-05-09T18:04:42.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12787" PostTypeId="2" ParentId="12766" CreationDate="2018-07-10T18:06:16.993" Score="2" Body="&lt;p&gt;In most cases, I would suggest using the JSS CLI to scaffold Sitecore-first components. Run &lt;code&gt;jss deploy component --help&lt;/code&gt; to see the options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Manual process to create a &quot;Sitecore-first&quot; JSS component:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a new datasource template to store the component's data fields. This template can be anywhere under &lt;code&gt;/sitecore/templates&lt;/code&gt; (optional if the component has no data fields, but most will)&lt;/li&gt;&#xA;&lt;li&gt;Create a new &lt;code&gt;Json Rendering&lt;/code&gt; item under &lt;code&gt;/layout/renderings/[anywhere]&lt;/code&gt; to register the component with Sitecore&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Under &lt;code&gt;Component Name&lt;/code&gt; enter the name of the component that will be returned by Layout Service. This is the &lt;em&gt;name of your frontend component&lt;/em&gt;, for example in the React sample it is the &lt;code&gt;Map&lt;/code&gt; key in the &lt;code&gt;componentFactory.js&lt;/code&gt; file.&lt;/li&gt;&#xA;&lt;li&gt;Set the &lt;code&gt;Datasource Template&lt;/code&gt; to your template, if using a datasource template&lt;/li&gt;&#xA;&lt;li&gt;Set the &lt;code&gt;Datasource Location&lt;/code&gt; to where you'd like to store the datasource item instances (i.e. &lt;code&gt;/sitecore/content/MySite/Component Content/Stuff&lt;/code&gt; or &lt;code&gt;./Page Components&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add the rendering to a route item's layout using Experience Editor&lt;/li&gt;&#xA;&lt;li&gt;Implement the React component and register it with the JSS app&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Note: When using connected mode, there is no need to define the component schema in disconnected mode (i.e. to use anything in &lt;code&gt;/data&lt;/code&gt; or &lt;code&gt;/sitecore/definitions&lt;/code&gt;). Sitecore owns that data in connected mode.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-07-10T18:06:16.993" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12788" PostTypeId="2" ParentId="12759" CreationDate="2018-07-10T18:36:31.483" Score="0" Body="&lt;p&gt;I would advise going through the &lt;strong&gt;Sitecore Developer Foundations&lt;/strong&gt; training which is free. While doing this course, you will create a sample Sitecore website using. You can get 60 days trial license from Sitecore. Once developer foundation training is done, go for Sitecore 9 certification.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://elearning.sitecore.net/public/searchResults?q=&amp;amp;ty=ML.BASE.DV.SearchAnyWords&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://elearning.sitecore.net/public/searchResults?q=&amp;amp;ty=ML.BASE.DV.SearchAnyWords&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Dly6A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Dly6A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2644" LastActivityDate="2018-07-10T18:36:31.483" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12790" PostTypeId="1" AcceptedAnswerId="12791" CreationDate="2018-07-10T20:43:10.737" Score="1" ViewCount="1498" Body="&lt;p&gt;I am mapping old Urls to new Urls using Sitecore 9.0  with SXA 1.5 - Redirect Map following this document:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/16/working_with_content/search/map_a_url_redirect&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/16/working_with_content/search/map_a_url_redirect&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;It works for direct Urls but when I do a wild-card, I get a resource unavailable.&lt;/p&gt;&#xA;&lt;p&gt;For example,  I map /Destinations/Paris to /Paris the redirect works.&lt;/p&gt;&#xA;&lt;p&gt;But when I do the same with wild card like&lt;/p&gt;&#xA;&lt;div class=&quot;s-table-container&quot;&gt;&#xA;&lt;table class=&quot;s-table&quot;&gt;&#xA;&lt;thead&gt;&#xA;&lt;tr&gt;&#xA;&lt;th&gt;OLD&lt;/th&gt;&#xA;&lt;th&gt;NEW&lt;/th&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/thead&gt;&#xA;&lt;tbody&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;/Destinations/(.+)&lt;/td&gt;&#xA;&lt;td&gt;/Paris&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;/Destinations/(.+)&lt;/td&gt;&#xA;&lt;td&gt;$1&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;^/Destinations/(.+)&lt;/td&gt;&#xA;&lt;td&gt;/Paris&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;They are not working. Any pointers appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3957" LastEditorUserId="95" LastEditDate="2023-08-11T19:04:09.567" LastActivityDate="2023-08-11T19:04:09.567" Title="Redirect Maps for wildcards not working" Tags="|sxa|redirect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12791" PostTypeId="2" ParentId="12790" CreationDate="2018-07-10T21:18:39.063" Score="2" Body="&lt;p&gt;I believe there is some logic in SXA to ensure that the text is actually a regular expression. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should start with ^ and end with $.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try this format:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-text prettyprint-override&quot;&gt;&lt;code&gt;^/careers/job-opportunities(/.*)?$&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-07-11T11:43:31.933" LastActivityDate="2018-07-11T11:43:31.933" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12792" PostTypeId="1" AcceptedAnswerId="12797" CreationDate="2018-07-10T21:47:23.233" Score="1" ViewCount="1147" Body="&lt;p&gt;I'm working with the React JSS Basic example. I created a new item based on the default &quot;Welcome&quot; component and I'm trying to retrieve it through JSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my Sitecore tree :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4khYz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4khYz.png&quot; alt=&quot;Sitecore tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get Welcome-1 item (default one) I use this url : &lt;a href=&quot;http://my-first-jss-app/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey=xxx&amp;amp;tracking=false&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my-first-jss-app/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey=xxx&amp;amp;tracking=false&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I try to get Welcome-2 item with different urls but it results in a 404 error.&#xA;Some urls that I tried : &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://my-first-jss-app/sitecore/api/layout/render/jss?item=/home/welcome-2&amp;amp;sc_apikey=xxx&amp;amp;tracking=false&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my-first-jss-app/sitecore/api/layout/render/jss?item=/home/welcome-2&amp;amp;sc_apikey=xxx&amp;amp;tracking=false&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://my-first-jss-app/sitecore/api/layout/render/jss?item=/welcome-2&amp;amp;sc_apikey=xxx&amp;amp;tracking=false&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my-first-jss-app/sitecore/api/layout/render/jss?item=/welcome-2&amp;amp;sc_apikey=xxx&amp;amp;tracking=false&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I already read the layout service documentation that says the path must be “The path to the item, relative to the context site's home item”. This is the case in my urls but it doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I have two questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Why my url to display Welcome-2 item is not correct ?&lt;/li&gt;&#xA;&lt;li&gt;Why Welcome-1 item is displayed when I reach “item=/” ? &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3803" LastActivityDate="2018-07-11T10:40:51.537" Title="Getting 404 error when retrieving items through Layout API" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12793" PostTypeId="1" AcceptedAnswerId="12803" CreationDate="2018-07-10T22:02:59.713" Score="0" ViewCount="630" Body="&lt;p&gt;I've upgraded from Unicorn 3 to 4 by installing the nuget packages. It required a few config changes and it feels like this is just a config problem. However, I've looked at all the example configs provided with Unicorn and updated my main configs, those seem to be working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because, this is happening when I sync from the /unicorn.aspx page. I'm just doing an upgrade so the configs all in the Unicorn 3 format. I had to change lines like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;roleDataStore type=&quot;Unicorn.Roles.Data.ReverseHierarchyRoleDataStore, Unicorn.Roles&quot; physicalRootPath=&quot;&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;roleDataStore type=&quot;Unicorn.Roles.Data.FilesystemRoleDataStore, Unicorn.Roles&quot; physicalRootPath=&quot;&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Otherwise it's the standard elements with a rolePredicate following.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Full Error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ERROR: Cannot activate Unicorn.Roles.Loader.RoleLoader, constructor param 'syncConfiguration' (IRoleSyncConfiguration). &#xA;   The type 'IRoleSyncConfiguration' is probably not registered, or may need to be an explicit unmapped parameter (as an XML attribute on the type registration). &#xA;   Inner message: Cannot construct Unicorn.Roles.Loader.IRoleSyncConfiguration because it has no constructor! (Configy.Containers.MicroResolutionException)&#xA;at Configy.Containers.MicroContainer.Activate(Type type, KeyValuePair`2[] unmappedConstructorParameters)&#xA;at System.Lazy`1.CreateValue()&#xA;at System.Lazy`1.LazyInitValue()&#xA;at Configy.Containers.MicroContainer.Resolve(Type type)&#xA;at Configy.Containers.MicroContainer.Resolve[T]()&#xA;at Unicorn.Roles.Pipelines.UnicornSyncComplete.SyncRoles.Process(UnicornSyncCompletePipelineArgs args)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;at Unicorn.SerializationHelper.SyncTree(IConfiguration configuration, Action`1 rootLoadedCallback, Boolean runSyncStartPipeline, IItemData partialSyncRoot)&#xA;at Unicorn.SerializationHelper.SyncConfigurations(IConfiguration[] configurations, IProgressStatus progress, ILogger additionalLogger)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="416" LastEditorUserId="70" LastEditDate="2018-07-11T13:40:47.647" LastActivityDate="2018-07-11T13:54:48.957" Title="Cannot activate Unicorn.Roles.Loader.RoleLoader after unicorn 3 -&gt; 4 upgrade" Tags="|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12794" PostTypeId="1" AcceptedAnswerId="12795" CreationDate="2018-07-10T23:33:55.530" Score="4" ViewCount="1471" Body="&lt;p&gt;Is there some easy config patch or hack I could make which would disable all indexing activities? I want to do this for things like package installation and also deletion of large content branches which seem to take a very long time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally I'd like to be able to drop a single config file into the App_Config\Include folder and then remove it when I'm finished.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-07-11T13:21:53.850" Title="Config patch/hack to temporarily disable index update" Tags="|content-search|content-editor|indexing|packages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12795" PostTypeId="2" ParentId="12794" CreationDate="2018-07-11T04:02:35.757" Score="10" Body="&lt;p&gt;You could create a patch file that sets all the indexes strategies to &lt;code&gt;manual&lt;/code&gt;, that would effectively disable any automated updates that might happen as a result of installing a package or other content updates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like this should give you a start. NOTE: I have not tested the patches or patched all the required indexes, but this should give you a good starting point:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;  xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;    &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot; search:require=&quot;lucene&quot;&amp;gt;&#xA;      &amp;lt;contentSearch&amp;gt;&#xA;        &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;          &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_core_index&quot;&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy set:ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_master_index&quot;&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy set:ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy set:ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;!-- Rinse and repeat for all indexes --&amp;gt;&#xA;          &amp;lt;/indexes&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is a list of index ID's for Sitecore 9.0.1:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore_core_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_master_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_web_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketingdefinitions_master&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketingdefinitions_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_asset_index_master&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_asset_index_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_testing_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_suggested_test_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_fxm_master_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_fxm_web_index&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;ref: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/search_index_descriptions&quot; rel=&quot;noreferrer&quot;&gt;Search Index Descriptions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2018-07-11T13:21:53.850" LastActivityDate="2018-07-11T13:21:53.850" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12796" PostTypeId="2" ParentId="12719" CreationDate="2018-07-11T08:14:23.233" Score="0" Body="&lt;p&gt;So looking into my solution, I found out that this error is due to a custom item:saving event code that was being called when executing New-ItemClone command. Putting a condition when this New-ItemClone is executing fixes the problem&lt;/p&gt;&#xA;" OwnerUserId="3255" LastActivityDate="2018-07-11T08:14:23.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12797" PostTypeId="2" ParentId="12792" CreationDate="2018-07-11T10:40:51.537" Score="3" Body="&lt;p&gt;&lt;code&gt;item=/&lt;/code&gt; returns the page item &lt;code&gt;/sitecore/content/my-first-jss-app/Home&lt;/code&gt;, not the &lt;code&gt;Welcome-1&lt;/code&gt; data source item. &lt;code&gt;Welcome-1&lt;/code&gt; and &lt;code&gt;Welcome-2&lt;/code&gt; are only items containing data, but no layout or presentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Welcome-1&lt;/code&gt; item data is displayed when you reach &lt;code&gt;item=/&lt;/code&gt; because this item is configured in the data source field of the Welcome rendering that is present in the presentation details of the Home item.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2018-07-11T10:40:51.537" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12798" PostTypeId="1" AcceptedAnswerId="12850" CreationDate="2018-07-11T12:03:24.273" Score="1" ViewCount="330" Body="&lt;p&gt;How can I keep the search keyword displayed in the SXA search box after searching?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The search box redirects to another page with the search results component and a new search box. I want the keyword to be kept in the search box in the second page.&lt;/p&gt;&#xA;" OwnerUserId="3862" LastEditorUserId="2056" LastEditDate="2018-07-12T06:36:26.040" LastActivityDate="2018-07-13T06:24:22.783" Title="Keep Sitecore SXA search box keyword" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12799" PostTypeId="2" ParentId="12327" CreationDate="2018-07-11T12:04:10.023" Score="2" Body="&lt;p&gt;It's the total engagement value attributed to the asset that occurs after site visitors have been exposed to the asset, divided by the number of visits to (exposure to) the asset.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The value is collected against all goals that have an engagement value number, not just goals that specifically assigned to an asset (directly, or via campaigns).  Example:  If you have a 5 point goal for asset download, a visitor would accumulate 5 points of engagement value for downloading the asset.  If that same visitor went on to fill out a contact form that had a 25 point goal, they'd accumulate 30 engagement points for that session.  And, 30 points would be attributed to that asset.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The intent is to show assets that influence (directly or indirectly) positive visitor behavior.  &lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2018-07-11T12:04:10.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12802" PostTypeId="1" CreationDate="2018-07-11T13:50:03.713" Score="0" ViewCount="1835" Body="&lt;p&gt;By mistake I have deleted the Admin user from Sitecore(9) User Manger panel and now unable to login with default user id and password i.e admin/b.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have run the below query but no record found in core DB&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT UserId FROM [aspnet_Users] WHERE UserName = 'sitecore\Admin'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="73" LastEditDate="2018-07-11T15:45:34.757" LastActivityDate="2018-07-12T06:34:47.917" Title="Is there a way to add Sitecore admin into core database?" Tags="|user-management|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12803" PostTypeId="2" ParentId="12793" CreationDate="2018-07-11T13:54:48.957" Score="0" Body="&lt;p&gt;It looks like a DLL mismatch. Just to confirm, you've made sure all of this matches your updated configuration?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;defaults&amp;gt;&#xA;            &amp;lt;!-- Note: do not colocate serialized items and serialized roles in the same folder --&amp;gt;&#xA;            &amp;lt;roleDataStore physicalRootPath=&quot;$(dataFolder)\Unicorn\Unicorn.Roles\$(configurationName)&quot; type=&quot;Unicorn.Roles.Data.FilesystemRoleDataStore, Unicorn.Roles&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;            &amp;lt;roleLoader type=&quot;Unicorn.Roles.Loader.RoleLoader, Unicorn.Roles&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;                &amp;lt;roleLoaderLogger type=&quot;Unicorn.Roles.Loader.DefaultRoleLoaderLogger, Unicorn.Roles&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;&#xA;            &amp;lt;roleSerializationFormatter type=&quot;Unicorn.Roles.Formatting.YamlRoleSerializationFormatter, Unicorn.Roles&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;&#xA;            &amp;lt;!-- &#xA;                If you set RemoveOrphans to true, role syncing will delete matching roles that are not serialized, like item syncing does.&#xA;                If set to false, roles are only ever added or updated (similar to New Items Only item syncing but updates are also synced)&#xA;            --&amp;gt;&#xA;            &amp;lt;roleSyncConfiguration removeOrphans=&quot;true&quot; type=&quot;Unicorn.Roles.Loader.DefaultRoleSyncConfiguration, Unicorn.Roles&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/defaults&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If so, my best guess would be, that your &lt;code&gt;Unicorn.Roles.dll&lt;/code&gt; is still a version 3 where a version 4 is expected and required.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-07-11T13:54:48.957" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12804" PostTypeId="2" ParentId="12802" CreationDate="2018-07-11T13:57:51.577" Score="3" Body="&lt;p&gt;Insert a new user, &lt;code&gt;sitecore\Admin&lt;/code&gt;. Then follow the instructions on this question to set the proper password. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/280/is-there-a-way-to-reset-sitecore-admin-password-from-database-level&quot;&gt;Is there a way to reset Sitecore admin password from database level?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 9, you need @Derek Dysart's answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SQL for inserting into the Membership database would look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;declare @now datetime&#xA;set @now= GETDATE()&#xA;exec aspnet_Membership_CreateUser 'sitecore','sitecore\Admin','pass@word1', '','admin1@contoso.com','','',1,@now,@now,0,0,null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://stackoverflow.com/a/19258123/81631&quot;&gt;https://stackoverflow.com/a/19258123/81631&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe you will still need to update the password and salt as described in the referenced post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, these are the values in a default installation. From the &lt;code&gt;dbo.aspnet_Membership&lt;/code&gt; table.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ApplicationId   UserId  Password    PasswordFormat  PasswordSalt    MobilePIN   Email   LoweredEmail    PasswordQuestion    PasswordAnswer  IsApproved  IsLockedOut CreateDate  LastLoginDate   LastPasswordChangedDate LastLockoutDate FailedPasswordAttemptCount  FailedPasswordAttemptWindowStart    FailedPasswordAnswerAttemptCount    FailedPasswordAnswerAttemptWindowStart  Comment&#xA;DD20E696-45B0-4074-B50E-F34B47F1E454    68FFFAA2-1FFE-4006-B661-A8B6B80C81DE    Tm9jY7uSHNQnx08P70kiVEBO2YM=    1   n4n5/iUJKDrabOzQyLOU8Q==    NULL            NULL    NULL    1   0   2017-12-19 15:40:30.000 2018-07-10 16:05:48.587 2017-12-19 15:40:30.000 1754-01-01 00:00:00.000 0   1754-01-01 00:00:00.000 0   1754-01-01 00:00:00.000 Sitecore Administrator&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-07-11T15:35:55.347" LastActivityDate="2018-07-11T15:35:55.347" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12805" PostTypeId="1" AcceptedAnswerId="12808" CreationDate="2018-07-11T15:55:28.177" Score="0" ViewCount="239" Body="&lt;p&gt;I created an item &lt;code&gt;TestComponent-1&lt;/code&gt; under my &lt;code&gt;Test&lt;/code&gt; route.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cC4wk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cC4wk.png&quot; alt=&quot;sitecore tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the display of my &lt;code&gt;TestComponent-1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4r3Aj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4r3Aj.png&quot; alt=&quot;test route&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I navigate to my &lt;code&gt;Test2&lt;/code&gt; route through experience editor and add &lt;code&gt;TestComponent-1&lt;/code&gt; item. This is the result&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EHOEa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EHOEa.png&quot; alt=&quot;test2 route&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is : Can we reuse item in different routes?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If yes : How to do it?&lt;/li&gt;&#xA;&lt;li&gt;If no : Why I was able to add &lt;code&gt;TestComponent-1&lt;/code&gt; to &lt;code&gt;Test2&lt;/code&gt; route without any errors? The behavior I expected was that the &lt;code&gt;TestComponent-1&lt;/code&gt; moved from &lt;code&gt;Test&lt;/code&gt; route to &lt;code&gt;Test2&lt;/code&gt; route&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Maybe there is a key concept that I didn't understand, if so please explain&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3803" LastEditorUserId="690" LastEditDate="2018-07-12T06:35:32.273" LastActivityDate="2018-07-12T06:35:32.273" Title="How to reuse component data item in Experience editor" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12806" PostTypeId="1" AcceptedAnswerId="12809" CreationDate="2018-07-11T17:14:42.107" Score="1" ViewCount="2211" Body="&lt;p&gt;I need to create a list of items in SXA with a background defined by the items themselves. On the items, the editor can select a colour (droplist). On the display, I want to use that colour as the background of that items tile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I can set css classes on the variants, but then they are fixed by the variant definition. I also know I can get fields from the item, but then they are just displayed and not in the class of a div or section. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried using a NVelocity template to open a div with the css class in it, but apparently SXA is too clever and closes the div for me (so the rest of my data is not in but after the div).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I considered using the rules engine to enable or disable part of the variant definition. But that seems weird, because I think I would need to create a variant section (including all needed children) for each possible colour.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible ootb? Or with a bit of custom javascript if necessary?&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="2948" LastEditDate="2018-07-18T09:45:53.600" LastActivityDate="2020-08-21T14:21:26.027" Title="Setting css class in SXA variant from content item" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12807" PostTypeId="1" CreationDate="2018-07-11T17:20:49.350" Score="1" ViewCount="919" Body="&lt;p&gt;We are implementing a solution that requires  importing  media items like images inside Sitecore Media Library.&#xA;Found it is achievable with Old WebApi, however nothing mentioned equivalent in Sitecore ItemService Restfull API guide.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;https://sdn.sitecore.net/upload/sitecore7/75/developer's_guide_to_sitecore.services.client_sc75-a4.pdf&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Knowing that we are working on Sitecore 9.0.1, Is there a way to achieve  this using  ItemService Restfull API? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found the same problem on Sitecore 8 referred to in the following link and the suggested solution was to use the old webapi on Sitecore v8 platform.&#xA;However my question is: Would this still be the solution in case of Sitecore 9 ?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/7655/creating-media-items-using-the-restful-itemservice-api&quot;&gt;Creating Media Items using the RESTful ItemService API&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3964" LastEditorUserId="2948" LastEditDate="2018-07-19T07:21:12.043" LastActivityDate="2018-07-19T07:21:12.043" Title="Import Media Items in Sitecore Media Library ItemService Restfull API" Tags="|sitecore-api|sitecore-services-client|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12808" PostTypeId="2" ParentId="12805" CreationDate="2018-07-11T17:23:32.393" Score="5" Body="&lt;p&gt;You can share content between components using &lt;em&gt;ID references&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These let you:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Assign a unique ID to a piece of shared content (in &lt;code&gt;component-content&lt;/code&gt; or &lt;code&gt;content&lt;/code&gt;, usually)&lt;/li&gt;&#xA;&lt;li&gt;Refer to that ID from another piece of content, as a datasource or referenced item&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Here's an example of referring to content by ID in the Angular sample: &lt;a href=&quot;https://github.com/Sitecore/jss/blob/cda6450b024d8fa801f88d0dac31ab335ab9ec06/samples/basic-sample-angular/data/routes/en.yaml#L31&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/jss/blob/cda6450b024d8fa801f88d0dac31ab335ab9ec06/samples/basic-sample-angular/data/routes/en.yaml#L31&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And defining the content by ID:&#xA;&lt;a href=&quot;https://github.com/Sitecore/jss/blob/cda6450b024d8fa801f88d0dac31ab335ab9ec06/samples/basic-sample-angular/data/component-content/Welcome/SharedWelcome/en.yaml#L2&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/jss/blob/cda6450b024d8fa801f88d0dac31ab335ab9ec06/samples/basic-sample-angular/data/component-content/Welcome/SharedWelcome/en.yaml#L2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This assumes you're working in &lt;em&gt;disconnected mode&lt;/em&gt; and importing the app to Sitecore. If you're defining your items within Sitecore, then there's nothing special JSS-wise and you can refer to datasource items from anywhere.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-07-11T17:23:32.393" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12809" PostTypeId="2" ParentId="12806" CreationDate="2018-07-11T18:12:46.407" Score="5" Body="&lt;p&gt;Yes, you can do it out of the box using tokens inside of the &lt;code&gt;Data attributes&lt;/code&gt; field in the Rendering Variant. Take a look:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SJPmb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SJPmb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each of my items has a &lt;code&gt;Colour&lt;/code&gt; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xZTUA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xZTUA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is an example output (Page List in my case):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/svjHv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/svjHv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm fulfilling here &lt;code&gt;style&lt;/code&gt; attribute but you can assign CSS class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additional information's&lt;/strong&gt;: This feature will not work with reference fields (e.g. Drop Link) unless you want an URL of a terget item. So&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;if you want CSS class name to be inserted in the data attribute you must use SingleLine-Text field (there is known issue with DropList field type).&lt;/li&gt;&#xA;&lt;li&gt;you can use reference fields if you want to get the URL of a target item. E.g.: you have an image field and you want to put a link to that image in the data attributes, in such case &lt;code&gt;$(IMAGE_FIELD_NAME)&lt;/code&gt; will output link to that image.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-07-12T09:16:25.193" LastActivityDate="2018-07-12T09:16:25.193" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12810" PostTypeId="1" AcceptedAnswerId="12811" CreationDate="2018-07-11T19:26:41.983" Score="1" ViewCount="363" Body="&lt;p&gt;&lt;strong&gt;Sitecore 8.2u4&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are losing rendering parameter values during the cloning process of certain fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps to reproduce:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a page item (item with Presentation Details)&lt;/li&gt;&#xA;&lt;li&gt;Add a Rendering to the page with a custom Rendering Parameters template assigned&lt;/li&gt;&#xA;&lt;li&gt;Be sure to be using a custom field type in the Rendering Parameters template&lt;/li&gt;&#xA;&lt;li&gt;Update the Rendering Parameters on the rendering (likely in Final Layout)&lt;/li&gt;&#xA;&lt;li&gt;Clone the page item elsewhere&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After performing the steps above, the cloned items do not have the same rendering parameters set in their Presentation Details.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-07-11T19:26:41.983" Title="Cloned Items Not Copying Rendering Parameters From Presentation Details" Tags="|presentation|item-clones|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12811" PostTypeId="2" ParentId="12810" CreationDate="2018-07-11T19:26:41.983" Score="1" Body="&lt;h2&gt;Sitecore 8&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The issue is caused by: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;incorrectly coded custom fields on the Rendering Parameters template.&lt;/li&gt;&#xA;&lt;li&gt;the setting &lt;code&gt;ItemCloning.RelinkClonedSubtree&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;During the cloning process, if &lt;code&gt;ItemCloning.RelinkClonedSubtree&lt;/code&gt; is true, Sitecore runs &lt;code&gt;ReferenceReplacementJob.Start&lt;/code&gt;. This method is primarily intended to update the presentation details of the clone to point to newly-cloned relative datasources of the clone. Essentially, &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;if the source item links to an item (like a child datasource) and the&#xA;  linked item was cloned as part of the cloning process, it relinks the&#xA;  linked item to the new clone parent via updating the Presentation Details.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As part of this process, however, it parses the rendering parameters and attempts to cast each field to the type &lt;code&gt;Sitecore.Data.Fields.CustomField&lt;/code&gt;. If it fails, the Rendering Parameter value is not added to the clone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution, therefore, is to ensure any custom Content Editor fields inherit from the &lt;code&gt;CustomField&lt;/code&gt; class and can thus be cast properly.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyCustomTextField : CustomField&#xA;{&#xA;    // My implementation&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Interestingly, many guides do not stress the importance of inheriting this class when building a custom field- even &lt;a href=&quot;https://www.sitecore.com/company/blog/474/creating-a-custom-sitecore-field-4246&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's own documentation does not mention this&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On top of that, the out-of-the-box &lt;code&gt;Integer&lt;/code&gt; field does not inherit the &lt;code&gt;CustomField&lt;/code&gt; class and is susceptible to the same behavior.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore 9&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This issue is not present in Sitecore 9. The &lt;code&gt;ReferenceReplacementJob&lt;/code&gt; piece was replaced by a pipeline and was likely refactored to account for this.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-07-11T19:26:41.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12812" PostTypeId="1" AcceptedAnswerId="12813" CreationDate="2018-07-11T20:39:55.327" Score="2" ViewCount="483" Body="&lt;p&gt;Here is my Sitecore tree&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w6ddX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w6ddX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my data item in the experience editor (using the default &lt;code&gt;Welcome&lt;/code&gt; component). I removed the Sitecore background image that was in the CSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/llHoX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/llHoX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what the layout API returns if I hit the url &lt;a href=&quot;http://my-first-jss-app/sitecore/api/layout/render/jss?item=/test2&amp;amp;sc_apikey=xxx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my-first-jss-app/sitecore/api/layout/render/jss?item=/test2&amp;amp;sc_apikey=xxx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DAUIG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DAUIG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We see that into my main placeholder there is some blocks named &lt;code&gt;code&lt;/code&gt; around my &lt;code&gt;Welcome&lt;/code&gt; component. It seems to be code from Sitecore experience editor...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then when I run my app I got my component but also this strange code on my page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cQ0eu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cQ0eu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you know where this is come from ? Please tell me if you need more informations.&lt;/p&gt;&#xA;" OwnerUserId="3803" LastActivityDate="2018-08-14T11:26:10.830" Title="Layout API returning strange code into placeholder" Tags="|jss|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12813" PostTypeId="2" ParentId="12812" CreationDate="2018-07-11T21:18:58.450" Score="4" Body="&lt;p&gt;The layout service data you see from the API is accurate and will contain elements that Experience Editor needs for rendering via your JSS app. Layout service will only emit this data when you're logged into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You're likely seeing the &quot;additional&quot; Experience Editor chrome data because you're browsing to your app in the same browser instance where you're already logged into Sitecore (even if they're separate tabs they share cookies).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest browsing to your app in an incognito window.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-07-11T21:18:58.450" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12814" PostTypeId="2" ParentId="10098" CreationDate="2018-07-12T06:32:42.647" Score="4" Body="&lt;p&gt;You should add the following setting in Sitecore.Analytics.Tracking.config just below the &lt;code&gt;&amp;lt;settings&amp;gt;&lt;/code&gt; section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.CookieDomain&quot; value=&quot;.xxx.com&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3929" LastEditorUserId="2056" LastEditDate="2018-07-12T06:37:19.807" LastActivityDate="2018-07-12T06:37:19.807" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12815" PostTypeId="2" ParentId="12802" CreationDate="2018-07-12T06:34:47.917" Score="3" Body="&lt;p&gt;Thanks @Mark Cassidy , We need to add one more row in db table &quot;[aspnet_Profile]&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps to create admin user via SQL queries in Sitecore 9:-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;declare @now datetime&#xA;set @now= GETDATE()&#xA;exec aspnet_Membership_CreateUser 'sitecore','sitecore\Admin','pass@word1', '','admin1@contoso.com','','',1,@now,@now,0,0,null&#xA;&#xA;UPDATE &#xA;    [aspnet_Membership] &#xA;SET &#xA;    [Password]='qOvF8m8F2IcWMvfOBjJYHmfLABc=', &#xA;    [PasswordSalt]='OM5gu45RQuJ76itRvkSPFw==', &#xA;    [IsApproved] = '1', &#xA;    [IsLockedOut] = '0'&#xA;WHERE &#xA;    UserId IN (&#xA;        SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\Admin'&#xA;    ) &#xA;&#xA;&#xA;INSERT [dbo].[aspnet_Profile] ([UserId], [PropertyNames], [PropertyValuesString], [PropertyValuesBinary], [LastUpdatedDate])&#xA; VALUES (Copy and Paste User ID from aspnet_Users DB table for sitecore\Admin,&#xA;  N'IsAdministrator:S:0:4:Portrait:S:4:27:FullName:S:31:13:ProfileItemId:S:44:38:SerializedData:B:0:3875:', &#xA;  N'TruePeople/16x16/Astrologer.pngAdministrator{AE4C4969-5B7E-4B4E-9042-B2D8701CE214}', &#xA;  [encoded data, 7752 characters], CAST(0x0000A2F500D2B376 AS DateTime))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Ref Link :-&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Follow First answer given by @Mark Cassidy for Sitecore 9, use insert query&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/6021/1338&quot;&gt;https://sitecore.stackexchange.com/a/6021/1338&lt;/a&gt; , use update query &lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://egeek.io/sitecore-reset-sitecore-admin-password/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://egeek.io/sitecore-reset-sitecore-admin-password/&lt;/a&gt; , use insert query for aspnet_Profile&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1338" LastActivityDate="2018-07-12T06:34:47.917" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12816" PostTypeId="2" ParentId="11602" CreationDate="2018-07-12T08:14:40.593" Score="3" Body="&lt;p&gt;Since you already have the media path in Sitecore, you can use the &lt;code&gt;GetItem()&lt;/code&gt; method to retrieve the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the code snippet you can use to get the url of the media and assign it to your property &lt;code&gt;ImagePath&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var imageItem = Sitecore.Context.Database.GetItem(&quot;path of item here&quot;);&#xA;this.ImagePath = MediaManager.GetMediaUrl(imageItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-07-12T08:14:40.593" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12817" PostTypeId="1" AcceptedAnswerId="12827" CreationDate="2018-07-12T08:46:28.910" Score="3" ViewCount="640" Body="&lt;p&gt;We are using Commerce Server 11.0 in Sitecore 8.1 update 1 and want to upgrade it to Sitecore XC 9.0 update 1.&#xA;How can I import all the Products from the Commerce Server to Sitecore Commerce engine? &#xA;Do we have any tool or API for this?&#xA;What are the steps to import the huge data into the new Commerce Engine?&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-07-29T12:18:31.030" Title="How to import data from Commerce server to Sitecore Commerce 9.0?" Tags="|sitecore-commerce|commerce-engine|commerce-server|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12819" PostTypeId="2" ParentId="12817" CreationDate="2018-07-12T09:29:50.630" Score="2" Body="&lt;p&gt;Currently there is no out of the box way of doing this. You will have to create your own plugin that reads the commerce server 11.0 catalog xml file and creates the corresponding entities. In the pre-release of SXC9 there was a naive plugin that did something similar, but this only imported the default commerce server fields. In our case, we reverse engineered this plugin and modified it to import our custom fields for development. I can share the source if you would like to. I've hear there are some catalog related changes planned for Update 2, so hopefully it will include an import.&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-07-12T09:29:50.630" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12820" PostTypeId="5" CreationDate="2018-07-12T09:47:17.217" Score="0" Body="&lt;p&gt;Web development teams use SXA Storefront to speed up the production of ecommerce solutions and to reuse components, layouts, and templates across a variety of storefronts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is based on Sitecore Experience Accelerator (SXA) -&gt; &lt;a href=&quot;/questions/tagged/sxa&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;sxa&amp;#39;&quot; rel=&quot;tag&quot;&gt;sxa&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about SXA Storefront can be found here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sxa_storefront&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sxa_storefront&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Documentation suitable for eReaders can be found &lt;a href=&quot;http://tothecore.sk/2018/07/09/sitecore-experience-commerce-sxc-9-documentation-for-ereaders&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-12T10:11:08.563" LastActivityDate="2018-07-12T10:11:08.563" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12821" PostTypeId="4" CreationDate="2018-07-12T09:47:17.217" Score="0" Body="Anything related to the SXA Storefront used to build Sitecore Experience Commerce (SXC) components" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-12T10:10:44.040" LastActivityDate="2018-07-12T10:10:44.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12822" PostTypeId="1" AcceptedAnswerId="12840" CreationDate="2018-07-12T10:10:10.637" Score="2" ViewCount="719" Body="&lt;p&gt;I have an custom index where I will store data that doesn't exist in Sitecore, it has the following configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;custom_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/customSolrIndexConfiguration&quot;&amp;gt;&#xA;              &amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&#xA;              &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/customSolrIndexConfiguration/fieldMap&quot;/&amp;gt;&#xA;              &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;              &amp;lt;/documentOptions&amp;gt;&#xA;            &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;!--&#xA;    &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Custom.Sitecore.Extensions.ContentSearch.CustomSearchCrawler, Custom.Sitecore.Extensions&quot;&amp;gt;&amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            --&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm trying to add items to the index via code (see this question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12724/programmatically-adding-items-to-a-custom-solr-index/12774#12774&quot;&gt;Programmatically adding items to a custom Solr Index&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However whatever I try I can only get the index to update when using my CustomSearchCrawler (commented out above in the configuration) which returns items to index using the GetItemsToIndex() method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to manage the indexed items outside of a Search Crawler as I don't want to add lots of items at once. I want to be able to add and delete items at will from a SiteCron Job as needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've read a lot of posts on SSE and blogs and as I understand it I want to execute the Refresh(), Update() or Add() methods to add new items or the Delete() methods to delete items. Rebuild() deletes everything in the entire index and creates it again - I don't want to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the following to add items with no luck:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Using Refresh()&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var tempItem = new SitecoreIndexableItem(item);&#xA;ContentSearchManager.GetIndex(&quot;custom_index&quot;).Refresh(tempItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Using Add()&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var tempItem = new SitecoreIndexableItem(item);&#xA;ContentSearchManager.GetIndex(&quot;custom_index&quot;).Operations.Add(tempItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3) Using Update()&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var tempItem = new SitecoreIndexableItem(item);&#xA;ContentSearchManager.GetIndex(&quot;custom_index&quot;).Operations.Update(tempItem, ContentSearchManager.GetIndex(&quot;custom_index&quot;).CreateUpdateContext(), ContentSearchManager.GetIndex(&quot;custom_index&quot;).Configuration);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;4) Using IndexCustodian UpdateItem()&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IndexCustodian.UpdateItem(ContentSearchManager.GetIndex(&quot;custom_index&quot;), new SitecoreItemUniqueId(item.Uri));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;5) Using IndexCustodian Refresh()&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var tempItem = new SitecoreIndexableItem(item);&#xA;IndexCustodian.Refresh(ContentSearchManager.GetIndex(&quot;custom_index&quot;),tempItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't see anything in the main log or crawler or search logs but nothing is created in my index. When I use the IndexCustodian it creates a new job in /sitecore/admin/jobs.aspx that appears to be updating the index but I don't see anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the question is do I need a Crawler or should the above code work without one? If it should work how do I debug this and is anything in my config or code wrong?&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-07-12T20:35:25.420" Title="Do I need a SearchCrawler to add and update items in a custom Solr Index?" Tags="|solr|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12823" PostTypeId="1" CreationDate="2018-07-12T10:14:07.180" Score="2" ViewCount="1074" Body="&lt;p&gt;I installed Commerce 9 in a new VM. Everything works fine, but when I am trying to open Bussiness Tools I got next exception : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eAjZR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eAjZR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the content editor I could see all categories and products. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XJ6aQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XJ6aQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-01T14:25:02.627" Title="Commerce 9 Bussiness Tools" Tags="|sitecore-commerce|commerce-connect|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12824" PostTypeId="1" AcceptedAnswerId="12826" CreationDate="2018-07-12T11:24:34.017" Score="2" ViewCount="1395" Body="&lt;p&gt;I am trying to follow documentation for &lt;a href=&quot;https://doc.sitecore.net/sxa_storefront/build_a_storefront_with_sxa_storefront/build_a_storefront_with_sxa_storefront/configure_catalogs_in_sxa_storefront&quot; rel=&quot;nofollow noreferrer&quot;&gt;setting up catalogs in SXA Storefront&lt;/a&gt; to configure new catalog in my newly created storefront site. But I am not able to see Catalog Item (which is required) under &lt;code&gt;/sitecore/content/[your tenant]/[your site]/Home/&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Waqv2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Waqv2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Currently on&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.1 rev. 171219 (WDP XP0 packages)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Commerce.2018.03-2.1.55&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Experience Accelerator 1.6&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2056" LastEditDate="2018-07-13T05:06:49.917" LastActivityDate="2018-07-13T05:06:49.917" Title="Not able to see Catalog Item under newly created commerce site" Tags="|sitecore-commerce|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12825" PostTypeId="1" CreationDate="2018-07-12T11:46:27.797" Score="-1" ViewCount="1697" Body="&lt;p&gt;I'm struggling to get jQuery to work properly in Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found &lt;a href=&quot;https://stackoverflow.com/questions/34670186/why-jquery-functions-are-not-loading-in-preview-mode&quot;&gt;this question&lt;/a&gt; and tried all the answers on that page, but none of those work for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So basically I have a clean page in Experience Editor. The markup for this page loads jQuery in &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;.&#xA;Somewhere down in &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; I have the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;    jQuery.noConflict();&#xA;&#xA;    jQuery(document).ready(function() {&#xA;        DoStuff();&#xA;    });&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;DoStuff()&lt;/code&gt; is never reached or executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried this variant:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;    (function($) {&#xA;        $(document).ready(function() {&#xA;            DoStuff();&#xA;        });&#xA;    }(jQuery));&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But still &lt;code&gt;DoStuff()&lt;/code&gt; is not executed.&#xA;I can debug this in developer tools and I can see that &lt;code&gt;jQuery(document).ready(function() {});&lt;/code&gt; and &lt;code&gt;$(document).ready(function() {});&lt;/code&gt; are reached, but they obviously do not attach themselves to the ready event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'm doing now is this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;    (function($) {&#xA;        DoStuff();&#xA;    }(jQuery));&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and now my &lt;code&gt;DoStuff()&lt;/code&gt; is executed, but I now have to make sure I place this code after the DOM elements it will later manipulate, which is sort of why we need &lt;code&gt;$(document).ready()&lt;/code&gt; in the first place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What must I do to make jQuery work properly in Experience Editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 Update 5&lt;/p&gt;&#xA;" OwnerUserId="3587" LastActivityDate="2022-09-07T11:01:24.790" Title="jQuery not working properly with Experience Editor" Tags="|experience-editor|javascript|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12826" PostTypeId="2" ParentId="12824" CreationDate="2018-07-12T12:17:42.300" Score="5" Body="&lt;p&gt;Sitecore documentation looks wrong or maybe this configuration will be available in the next release, which should be soon...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, you can find these configurations items:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;/sitecore/Commerce/Catalog Management/Catalogs&lt;/code&gt;  - here you can select&#xA;catalogs, which you want to have in Sitecore. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts&lt;/code&gt;  - under this item you can find your custom&#xA;Storefront settings, like ArvStorefront&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/Commerce/Commerce Control Panel/Storefront &#xA;Settings/Storefronts/{StorefrontName}/Catalog Configuration&lt;/code&gt; - here&#xA;you can select Catalog and , which you want to use for you Storefront&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/content/Sitecore/{StorefrontName}/Home/Product Catalog&lt;/code&gt; -&#xA;here you can set Category Datasource&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-07-12T12:17:42.300" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12827" PostTypeId="2" ParentId="12817" CreationDate="2018-07-12T12:38:30.443" Score="2" Body="&lt;p&gt;You can implement your custom plugin and use Commerce Server Api for get products/inventory and create entities for products/categories/catalogs/inventory and relationships in XC9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details, you can follow the Ryan Bailey's instructions: &lt;a href=&quot;https://blog.ryanbailey.co.nz/2018/05/sitecore-experience-commerce-minion-to.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.ryanbailey.co.nz/2018/05/sitecore-experience-commerce-minion-to.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-07-12T12:38:30.443" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12828" PostTypeId="1" CreationDate="2018-07-12T13:14:06.817" Score="2" ViewCount="83" Body="&lt;p&gt;i have followed the sitecore &lt;a href=&quot;https://sdn.sitecore.net/articles/media/prevent%20files%20from%20uploading/pipeline%20upload.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt; and create my custom processor for (Sitecore.Pipelines.Upload.Save). i have faced issues while saving all media items.&#xA;it gives error on &lt;code&gt;file.SaveAs(filename);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error message : &quot;Could not find a part of the path&#xA;  'C:\Inetpub\wwwroot\demosite\Website\{11111111-1111-1111-1111-111111111111}\{3D6658D8-A0BF-4E75-B3E2-D050FABCF4E1}\{730C1699-87A4-4CA7-A9CE-294AD7151F13}_blog-banner.jpg'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;can anyone help how i can encrypt zip file using SHA-256 while uploading into media library through content editor under specific folder and save it.&lt;/p&gt;&#xA;" OwnerUserId="3143" LastActivityDate="2018-07-12T13:14:06.817" Title="Encrypt zip file while uploading to media library folder sitecore 8.2" Tags="|sitecore-client|media-library|sitecore-api|pipelines|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12829" PostTypeId="2" ParentId="12825" CreationDate="2018-07-12T13:41:34.310" Score="1" Body="&lt;p&gt;You will need to use the alias returned by the noConflict call. This works for me in experience editor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var $j = jQuery.noConflict();&#xA;&#xA;$j(document).ready(function () {&#xA;    DoStuff();&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-07-12T13:41:34.310" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12830" PostTypeId="1" AcceptedAnswerId="12831" CreationDate="2018-07-12T14:05:38.323" Score="0" ViewCount="78" Body="&lt;p&gt;I have newly started with the Existing coveo project where everything looks fine,Except the platform.cloud.coveo.com doesnt have any info on index etc.Its completely blank.&lt;a href=&quot;https://i.stack.imgur.com/zjJ8j.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zjJ8j.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked in showconfig.aspx it looks fine asbeow &lt;/p&gt;&#xA;&#xA;&lt;p&gt;cloudPlatformUri -&lt;a href=&quot;https://platform.cloud.coveo.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://platform.cloud.coveo.com&lt;/a&gt;&#xA;organizationId-organizationId&#xA;indexingEndpointUri-&lt;a href=&quot;https://push.cloud.coveo.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://push.cloud.coveo.com&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know how to fix this .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks&lt;/p&gt;&#xA;" OwnerUserId="3621" LastActivityDate="2018-08-11T15:02:27.707" Title="Platform.Cloud.Coveo.Com doesnt have any information for my Organisation" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12831" PostTypeId="2" ParentId="12830" CreationDate="2018-07-12T14:27:13.750" Score="1" Body="&lt;p&gt;You have to rebuild the coveo_master_index and coveo_web_index from the Sitecore Indexing Manager in order for the Coveo Cloud index to be configured and filled with items.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2018-07-12T14:27:13.750" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12832" PostTypeId="1" CreationDate="2018-07-12T14:47:55.767" Score="4" ViewCount="612" Body="&lt;p&gt;I am getting the following error after installing the Habitat solution for Sitecore 9, from &lt;a href=&quot;https://github.com/sitecore/habitat/tree/feature/v9&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sitecore/habitat/tree/feature/v9&lt;/a&gt; , and pointing it at a clean Sitecore install...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could not get pipeline: canShowEditor (domain: ExperienceEditor)&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception Details: System.InvalidOperationException: Could not get pipeline: canShowEditor (domain: ExperienceEditor)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source Error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stack Trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[InvalidOperationException: Could not get pipeline: canShowEditor (domain: ExperienceEditor)]&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +283&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.ExperienceEditor.Pipelines.CanShowEditor.ExecuteCanShowEditor.Run(CanShowEditorPipelineEventArgs canShowEditorPipelineArgs) +93&#xA;   Sitecore.ExperienceEditor.Pipelines.GetExperienceEditorRibbon.WebEditStateProcessor.CheckState() +72&#xA;   (Object , Object ) +19&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.ExperienceEditor.Pipelines.GetExperienceEditorRibbon.ExecuteGetExperienceEditorRibbon.Run(GetExperienceEditorRibbonArgs args) +93&#xA;   Sitecore.ExperienceEditor.Speak.Ribbon.PageExtender.RibbonPageExtender.Insert() +58&#xA;   Sitecore.Pipelines.RenderLayout.PageExtenders.Process(RenderLayoutArgs args) +263&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Layouts.PageContext.BuildControlTree(Object sender, EventArgs e) +209&#xA;   System.Web.UI.Page.OnPreInit(EventArgs e) +11854916&#xA;   System.Web.UI.Page.PerformPreInit() +46&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1110&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone encountered this before?&lt;/p&gt;&#xA;" OwnerUserId="3434" LastEditorUserId="2948" LastEditDate="2018-07-19T07:21:16.030" LastActivityDate="2019-04-14T08:02:30.510" Title="Could not get pipeline: canShowEditor (domain: ExperienceEditor)" Tags="|sitecore-install-framework|habitat|" AnswerCount="1" CommentCount="1" ClosedDate="2019-04-14T08:18:40.753" ContentLicense="CC BY-SA 4.0" />
  <row Id="12833" PostTypeId="2" ParentId="12807" CreationDate="2018-07-12T15:00:01.673" Score="1" Body="&lt;p&gt;For a similar requirement, I have used both Sitecore Powershell and C#.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code in C#&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Extension.ImageUpload&#xA;{&#xA;    using System.Collections.Generic;&#xA;    using System.IO;&#xA;    using System.Text;&#xA;    using Sitecore.Configuration;&#xA;    using Sitecore.Data.Items;&#xA;    using Sitecore.Resources.Media;&#xA;&#xA;    public static class MediaUploader&#xA;    {&#xA;        public static string TriggerUpload(string directory, string sitecorePath)&#xA;        {&#xA;            var sb = new StringBuilder();&#xA;&#xA;            var filesWithPath = DirSearch(directory);&#xA;&#xA;            foreach (var filePath in filesWithPath.Keys)&#xA;            {&#xA;                sb.AppendLine($&quot;Processing {filePath}&quot;);&#xA;&#xA;                var myFile = AddFile(filePath, sitecorePath, filesWithPath[filePath]);&#xA;&#xA;                sb.AppendLine(myFile != null&#xA;                    ? $&quot;[SUCCES] File {myFile.Name} added successfully&quot;&#xA;                    : $&quot;[FAIL] Fail to add file with path {filePath}&quot;);&#xA;            }&#xA;&#xA;            return sb.ToString();&#xA;        }&#xA;&#xA;        public static MediaItem AddFile(string fileName, string sitecorePath, string path)&#xA;        {&#xA;            path = path.Replace(&quot;\\\\&quot;, &quot;\\&quot;);&#xA;&#xA;            // Create the options&#xA;            MediaCreatorOptions options = new MediaCreatorOptions&#xA;            {&#xA;                FileBased = false,&#xA;                IncludeExtensionInItemName = false,&#xA;                OverwriteExisting = false,&#xA;                Versioned = false,&#xA;                Destination = sitecorePath + &quot;/&quot; + fileName.Replace(&quot;.jpg&quot;, string.Empty).Replace(&quot;.png&quot;, string.Empty).Replace(&quot;.jpeg&quot;, string.Empty),&#xA;                Database = Factory.GetDatabase(&quot;master&quot;)&#xA;            };&#xA;&#xA;            // Now create the file&#xA;            var creator = new MediaCreator();&#xA;&#xA;            var mediaItem = creator.CreateFromFile(path, options);&#xA;&#xA;            return mediaItem;&#xA;        }&#xA;&#xA;        private static Dictionary&amp;lt;string, string&amp;gt; DirSearch(string sDir)&#xA;        {&#xA;            var files = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;&#xA;            foreach (string f in Directory.GetFiles(sDir))&#xA;            {&#xA;                files.Add(Path.GetFileName(f), f);&#xA;            }&#xA;&#xA;            foreach (string d in Directory.GetDirectories(sDir))&#xA;            {&#xA;                DirSearch(d);&#xA;            }&#xA;&#xA;            return files;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the Powershell Script is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$paths = @(&#xA;&quot;$AppPath/images/mysite/banners=/sitecore/media library/my site/banners&quot;,&#xA;&quot;$AppPath/images/mysite/main banners=/sitecore/media library/my site/main banners&quot;&#xA;)&#xA;&#xA;foreach($path in $paths){&#xA;&#xA;    $splitter = $path -split &quot;=&quot;&#xA;&#xA;    &quot;Executing for $splitter[0]&quot;&#xA;&#xA;    New-UsingBlock (New-Object Sitecore.SecurityModel.SecurityDisabler) {&#xA;        New-UsingBlock (New-Object Sitecore.Data.DatabaseCacheDisabler) {&#xA;            New-UsingBlock (New-Object Sitecore.Data.Events.EventDisabler) {&#xA;                New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;                    $results = [Sitecore.Extension.ImageUpload.MediaUploader]::TriggerUpload($splitter[0], $splitter[1])&#xA;                    $results&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    &quot;-----------------------------------------------&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the script, you need to set the path of the image directory where it resides on the server and the destination path.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;'image path on server'='destination of images in Sitecore'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once completed, you need to clear the Sitecore Cache via the &lt;code&gt;cache.aspx&lt;/code&gt; page&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-07-12T15:10:08.320" LastActivityDate="2018-07-12T15:10:08.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12834" PostTypeId="2" ParentId="632" CreationDate="2018-07-12T15:12:00.647" Score="0" Body="&lt;p&gt;I access a Data Source which is a folder of content items having a Name field and a Price field.  In the View Rendering, my Data Source is set to /sitecore/content/Products which is the folder containing the projects.  In my View Rendering cshtml file I have the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Data.Items&#xA;@using Sitecore.Mvc.Presentation&#xA;&#xA;&amp;lt;table&amp;gt;&#xA;    @foreach (Item product in RenderingContext.Current.Rendering.Item.Children)&#xA;     {&#xA;        &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;@product[&quot;Name&quot;]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;@product[&quot;Price&quot;]&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&#xA;     }&#xA;&amp;lt;/table&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This accesses the data source in a simpler way.  This is with Sitecore 9.&lt;/p&gt;&#xA;" OwnerUserId="3902" LastActivityDate="2018-07-12T15:12:00.647" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12835" PostTypeId="2" ParentId="12729" CreationDate="2018-07-12T15:27:02.967" Score="2" Body="&lt;p&gt;No one followed up so I will answer what I found.  This answer applies to projects outside of the Sitecore instance.  The problem was I used the NoReferences versions of the Sitecore libraries.  It turns out that if you want reliable Intellesense, then use the libraries with references making sure to add from the NuGet Sitecore repo the correct revision for your install.  Set Copy Local to false for any references already in Sitecore's bin folder so publishing doesn't break your local instance.&lt;/p&gt;&#xA;" OwnerUserId="3902" LastActivityDate="2018-07-12T15:27:02.967" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12836" PostTypeId="2" ParentId="12728" CreationDate="2018-07-12T15:35:38.097" Score="0" Body="&lt;p&gt;No one answered so I will post this as an answer as it worked for me.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This applies to VS projects created outside of the Sitecore local instance.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For my Web Forms project, I used Sitecore.Kernel and Sitecore.Web.  Make sure to install the right revision for your Sitecore install files and set Copy Local to false for all of your project references that are already in Sitecore's bin folder.  That way, publishing your project can't break your local instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone comes up with a better answer, I will accept it.&lt;/p&gt;&#xA;" OwnerUserId="3902" LastActivityDate="2018-07-12T15:35:38.097" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12837" PostTypeId="1" AcceptedAnswerId="13110" CreationDate="2018-07-12T15:51:06.880" Score="2" ViewCount="2709" Body="&lt;p&gt;I am running Sitecore 9 update 2 locally and trying to work with the experience profile. In the analytics, I see activity data but when I go to the profile screen I get no records. All my visits so far are anonymous. I tried to rebuild the reporting database and get this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Connection string used by aggregation/reportingStorageManager/ReportingTargetConfigPath is missing.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on my reading rebuilding the reporting database is the first step in troubleshooting this but I am not sure how to solve this error. I have searched the showconfig.aspx results but nothing in there is helping me. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any insight? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After digging into this more it sounds like a secondary reporting database should not be needed for this screen to work. So the error about rebuilding indexes is really not related as the secondary is needed for the rebuild but not for the experience profile screen. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the comments call out I did have an error in the xconnect and application logs about access to the Global counter. I have resolved that and now both logs show no errors. There are also no console errors being shown. Here are the logs I have checked. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;xConnect web app&lt;/em&gt;: xconnect log file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Application webapp&lt;/em&gt; : log, Exm, Search, Crawling, Publishing&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Automation server log&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Indexing Log&lt;/p&gt;&#xA;" OwnerUserId="3681" LastEditorUserId="2948" LastEditDate="2018-07-19T13:38:20.413" LastActivityDate="2018-08-02T14:45:44.630" Title="Experience Profile screen empty, no errors in the logs, contacts in collection DB but not reporting" Tags="|xconnect|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="12838" PostTypeId="1" CreationDate="2018-07-12T17:41:57.813" Score="0" ViewCount="859" Body="&lt;p&gt;I'm currently going through the &lt;strong&gt;Sitecore® 9.0 Platform Essentials for Developers eLearning&lt;/strong&gt; course and I think I must've done something wrong when setting up the solution, although I'm not sure what.  I used the powershell installer to get the site up and running (verified it works), and followed the PDF from the course to get the solution running in visual studio.  However, I just made my first template and when I did a Site Publish, I've started getting this error.  SitecoreRocks is blowing up too.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My bin folder has a ton of Sitecore DLLs, so I don't think there's one missing, but I also feel like that's the most obvious thing that I'm missing.  Any insight?&lt;/p&gt;&#xA;" OwnerUserId="3967" LastEditorUserId="73" LastEditDate="2018-12-10T14:03:23.257" LastActivityDate="2019-08-09T17:35:01.713" Title="Could not resolve type name: Sitecore.Data.Properties.SqlServerPropertyStore, Sitecore.Kernel" Tags="|sitecore-install-framework|training-certification|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12839" PostTypeId="1" CreationDate="2018-07-12T18:53:46.860" Score="1" ViewCount="93" Body="&lt;p&gt;I am trying to access the contents of a list using the &lt;code&gt;ContactListManager&lt;/code&gt;, but in certain contexts the &lt;code&gt;FindById(listId)&lt;/code&gt; method returns null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code is actually used as part of a condition in an Engagement Plan, to check if a contact is on a list.  If I trigger the code using the &quot;Execute&quot; button in the Engagement Plan then it finds the list okay.  I've even output all contact emails in that list to check that it works.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if I let the Engagement Plan do its own thing, then when it runs this condition, it does not find the list and returns null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this permissions or context related? Or something else (Sitecore bug)? I've added the &lt;code&gt;true&lt;/code&gt; argument to help debug but there are no exceptions in the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var listManager = Sitecore.Configuration.Factory.CreateObject(&quot;contactListManager&quot;, true) as ContactListManager;&#xA;var list = listManager?.FindById(listId); // list is sometimes null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3968" LastEditorUserId="432" LastEditDate="2018-07-12T19:07:29.277" LastActivityDate="2018-07-23T18:50:12.823" Title="ContactListManager.FindById returns null for a list that exists" Tags="|xdb|list-manager|engagement-plans|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12840" PostTypeId="2" ParentId="12822" CreationDate="2018-07-12T20:35:25.420" Score="2" Body="&lt;p&gt;In order to add the data to the index, you should use the Sitecore &lt;code&gt;SecurityDisabler&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tested it locally on the &lt;code&gt;IndexCustodian.Refresh()&lt;/code&gt; method and I can see the data being added to the index.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SecurityDisabler())&#xA;{&#xA;    var item = Factory.GetDatabase(&quot;master&quot;).GetItem(new ID(&quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;));&#xA;&#xA;    var tempItem = new SitecoreIndexableItem(item);&#xA;&#xA;    var index = ContentSearchManager.GetIndex(&quot;test_sitecore_core&quot;);&#xA;&#xA;    IndexCustodian.Refresh(index, tempItem);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From my investigation about the use of Crawlers, please see below the analysis:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assuming that the default Sitecore Crawler &lt;code&gt;(SitecoreItemCrawler)&lt;/code&gt; is being used;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Case 1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If the crawler has a root like &lt;code&gt;/sitecore/content/home&lt;/code&gt; and the item I want to add to the index via code is the Home item itself or a sub item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; The item will be added to the index.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Case 2&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If the crawler has a root like &lt;code&gt;/sitecore/content/home&lt;/code&gt;, the item I want to add to the index via code is the Item AA and Item AA is not a sub item of Home item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; The item will &lt;strong&gt;&lt;em&gt;not&lt;/em&gt;&lt;/strong&gt; be added to the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your case, since you are using a custom crawler, the crawler should grabs the objects from your source, pushes them into the indexable object and sends them down the index provider. So, you will need the crawler but without specifying the &lt;code&gt;root&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you are already following this &lt;a href=&quot;http://www.awareweb.com/awareblog/9-30-14-indexingsitecore7&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-07-12T20:35:25.420" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12844" PostTypeId="2" ParentId="12824" CreationDate="2018-07-12T23:42:26.073" Score="1" Body="&lt;p&gt;It looks like you're using the wrong version of SxA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You're running XC 9.0.1 which requires SxA 1.6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;XC9.0.2 once released will support SxA 1.7, but for now you need to use 1.6&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-07-12T23:42:26.073" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12846" PostTypeId="1" AcceptedAnswerId="12849" CreationDate="2018-07-13T00:14:02.153" Score="0" ViewCount="836" Body="&lt;p&gt;Getting an HTTP 500 error in Team Development for Sitecore when syncing or doing any operation. How do I test my TDS connection for more specific errors?&lt;/p&gt;&#xA;" OwnerUserId="3799" LastActivityDate="2018-07-13T06:10:14.267" Title="TDS 500 error, how do I test my TDS connection for more specific errors?" Tags="|tds|visual-studio|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12847" PostTypeId="2" ParentId="12846" CreationDate="2018-07-13T00:14:02.153" Score="0" Body="&lt;p&gt;Right click any VS TDS project and click Properties. Select the &quot;Build&quot; tab, click the &quot;Test&quot; button at the end of the page.&lt;/p&gt;&#xA;" OwnerUserId="3799" LastActivityDate="2018-07-13T00:14:02.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12848" PostTypeId="2" ParentId="12824" CreationDate="2018-07-13T04:49:15.367" Score="1" Body="&lt;p&gt;This is a new feature of Sitecore Experience Commerce 9 Update 2 Release. Documentation has been updated up front on doc.sitecore.net that's why you have seen instructions and screenshots there. This is however not valid for Initial release or Update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Release notes of Update 2 mark this as a new feature:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Storefront     Catalogs are now incorporated into the content area of the storefront sites and reside under a new &quot;{tenant}/{site}/{home}/catalogs&quot; item where it's used and belongs. This fixes multiple issues including:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Limited access to the catalog for non-admin Sitecore users.&lt;/li&gt;&#xA;&lt;li&gt;The same products appearing in multiple locations in content with the same item ID and path, causing problems in different places.&lt;/li&gt;&#xA;&lt;li&gt;Not being able to set and store Sitecore specific settings and data like personalization, presentation and workflow on catalog items and have it persisted correctly and uniquely.&quot;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;See more information here -&gt; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Commerce/90/Sitecore%20Experience%20Commerce%2090%20Update2/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Commerce/90/Sitecore%20Experience%20Commerce%2090%20Update2/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-13T05:05:09.447" LastActivityDate="2018-07-13T05:05:09.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12849" PostTypeId="2" ParentId="12846" CreationDate="2018-07-13T06:10:14.267" Score="2" Body="&lt;p&gt;To find the specific errors as per your question you can try the below steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select the output in Visual studio to get the details and see what happens when sync.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/tlwFF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tlwFF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Use the Test button for TDS specific project to validate the values you entered are correct.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/5qPeG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5qPeG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TVzzP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TVzzP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Check for the logs in the Sitecore to see if you have any errors.&lt;/li&gt;&#xA;&lt;li&gt;Last but not least make sure you are connected to the network like pulse secure or anything else which you are using for your connections.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-07-13T06:10:14.267" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12850" PostTypeId="2" ParentId="12798" CreationDate="2018-07-13T06:24:22.783" Score="1" Body="&lt;p&gt;This should work for a long time. If you will take a look at &lt;code&gt;component-search-box.js&lt;/code&gt; you will notice that in the view initialization there is the following line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XA.component.search.vent.on(&quot;hashChanged&quot;, this.updateSearchBoxValue.bind(this));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which is responsible for fulfilling the TextBox of a Search Box rendering with the value of &lt;code&gt;q&lt;/code&gt; param is such is there. And as far as I can see we didn't change that code for a long time so after being redirected you second Search Box should pick up query text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that if you are using signatures than two search boxes signatures must match.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-07-13T06:24:22.783" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12851" PostTypeId="2" ParentId="12839" CreationDate="2018-07-13T06:37:02.703" Score="1" Body="&lt;p&gt;There is a chance the automation engine is not configured to load the facet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This topic on &lt;a href=&quot;https://doc.sitecore.net/developers/xp/marketing-automation/activities/activity-types/access-contact-and-interaction-data.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;automation activities&lt;/a&gt;, has a section on: Limit the amount of data that is returned&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check what you have on MarketingAutomation.Loading.ContactFacetsConfigurator&lt;/p&gt;&#xA;" OwnerUserId="76" LastActivityDate="2018-07-13T06:37:02.703" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12852" PostTypeId="2" ParentId="12838" CreationDate="2018-07-13T10:04:59.330" Score="2" Body="&lt;p&gt;First of all, check if the missing type really exist. For this, I would use JetBrains dotPeak. Just load Sitecore.Kernel there and investigate:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lJiUR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lJiUR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Later on, ensure that you have the same libs referenced in your project so that you are not overriding what is in the &lt;code&gt;bin&lt;/code&gt; folder. Useful tip - set Copy Local to False so that you will not override &lt;code&gt;bin&lt;/code&gt; dll's:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WKr2H.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WKr2H.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the &lt;code&gt;web.config&lt;/code&gt; set &lt;em&gt;Do not copy&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3yuQV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3yuQV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="2056" LastEditDate="2018-07-13T10:07:08.227" LastActivityDate="2018-07-13T10:07:08.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12853" PostTypeId="2" ParentId="12700" CreationDate="2018-07-13T12:56:36.503" Score="2" Body="&lt;p&gt;When you set &lt;code&gt;IndexAllFields&lt;/code&gt; to false the indexing system will still index certain fields that it needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend setting that value and then add a single field.  Then in Azure Search review what fields are index so that you can see what gets indexed.  It's only a few fields.&lt;/p&gt;&#xA;" OwnerUserId="933" LastActivityDate="2018-07-13T12:56:36.503" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12854" PostTypeId="1" AcceptedAnswerId="12879" CreationDate="2018-07-13T12:57:59.420" Score="3" ViewCount="719" Body="&lt;p&gt;I am trying to upgrade a solution from Sitecore 9.0.1 to Sitecore 9.0.2&#xA;The upgrade package went well, followed the procedure upgraded xConnect as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When trying to work with list manager - do not see any of my contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In sitecore log there is exception&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;11896 13:39:53 ERROR [ListManagement]: Failed to get count of contacts for 60287a84-243b-4946-a51c-31366baf3842 contact list. The error has been occurred: The HTTP response was not successful: InternalServerError&#xA;Exception: Sitecore.XConnect.XdbSearchUnavailableException&#xA;Message: The HTTP response was not successful: InternalServerError&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.GetBatchEnumeratorSync[TEntity](IAsyncQueryable`1 asyncQueryable, Int32 defaultBatchSize)&#xA;   at Sitecore.XConnect.Segmentation.SegmentationEngine.c.b__24_0(IAsyncQueryable`1 contacts)&#xA;   at Sitecore.XConnect.Segmentation.SegmentationEngine.PerformSearch[T](IContactSearchQueryFactory queryFactory, Func`2 searchWork, Byte[] syncToken, ContactExpandOptions expandOptions)&#xA;   at Sitecore.XConnect.Segmentation.SegmentationEngine.CountContacts(IContactSearchQueryFactory queryFactory)&#xA;   at Sitecore.ListManagement.Services.Repositories.ListRepositoryBase`1.c__DisplayClass51_0.b__0()&#xA;&#xA;14112 13:39:53 ERROR [ListManagement]: Failed to get count of contacts for 88184756-e227-4d0c-b816-ee71ab4c843f contact list. The error has been occurred: The HTTP response was not successful: InternalServerError&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And in xConnect logs I see next:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;2018-07-13 14:43:20.437 +02:00 [Error] Sitecore.XConnect.Operations.XdbSearchOperation`1[Sitecore.XConnect.Contact]: System.InvalidOperationException: Cursor functionality requires a sort containing a uniqueKey field tie breaker&#xA;   at Sitecore.Xdb.Collection.Search.Solr.SolrResults.JsonResultsParser.MoveReaderToResponse(JsonTextReader reader)&#xA;   at Sitecore.Xdb.Collection.Search.Solr.SolrResults.JsonResultsParser.ParseSearchResponse[TSolrResult](JsonTextReader reader)&#xA;   at Sitecore.Xdb.Collection.Search.Solr.SolrResults.JsonResultsParser.d__3`1.MoveNext()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas what is missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did update all solr cores with uniqueId field change as described in the upgrade guide.&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="70" LastEditDate="2018-07-13T14:52:24.587" LastActivityDate="2018-07-16T13:19:21.690" Title="xConnect upgrade issues (upgrade from Sitecore 9.0.1 to 9.0.2)" Tags="|upgrade|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12855" PostTypeId="2" ParentId="12749" CreationDate="2018-07-13T13:26:08.740" Score="2" Body="&lt;p&gt;It turned out that &lt;code&gt;ssl=true&lt;/code&gt; also triggered verification of the SSL certificate, which was problematic in our environment. To fix it, add the following parameter to your connectionstring:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;amp;sslVerifyCertificate=false&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="107" LastActivityDate="2018-07-13T13:26:08.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12856" PostTypeId="2" ParentId="12784" CreationDate="2018-07-13T13:42:18.000" Score="5" Body="&lt;p&gt;Here is the detailed explanation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OXo3j.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OXo3j.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-07-13T13:42:18.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12857" PostTypeId="1" CreationDate="2018-07-13T14:03:49.380" Score="0" ViewCount="123" Body="&lt;p&gt;I have some questions about adding items on Sitecore route.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created &lt;code&gt;MyCarrousel&lt;/code&gt; item that display images.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Sitecore tree :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content (directory)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;MyCarrousel (item)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Home (route)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;About us (route)&lt;/li&gt;&#xA;&lt;li&gt;Contact (route)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I added &lt;code&gt;MyCarrousel&lt;/code&gt; item through Experience Editor to my &lt;code&gt;Home&lt;/code&gt; route and my &lt;code&gt;About us&lt;/code&gt; route.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is there an easy way to know which item is in which route ? My example is really simple but for a bigger React App there could be many different items in many different routes and a marketing guy must know where is his content&lt;/li&gt;&#xA;&lt;li&gt;Is it possible to add items on a route whithout going through experience editor ?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3803" LastActivityDate="2018-07-13T14:51:12.627" Title="How to add / view component items to / in a route" Tags="|experience-editor|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12858" PostTypeId="2" ParentId="12857" CreationDate="2018-07-13T14:51:12.627" Score="2" Body="&lt;p&gt;1) Yes, you can find all usages of a content item in Experience Editor:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UhVZy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UhVZy.png&quot; alt=&quot;EE usage&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Yes, but I would not generally recommend using the non-EE method as EE solves a lot of complexity that becomes your problem with manual layout assignment.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qNdeb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qNdeb.png&quot; alt=&quot;layout details&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-07-13T14:51:12.627" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12859" PostTypeId="1" CreationDate="2018-07-13T16:16:55.090" Score="5" ViewCount="297" Body="&lt;p&gt;Since I've customized the &quot;My Toolbar&quot; ribbon, it's a lot easier to work, having all the commands I usually need on the tab. Although, everytime I open the Content Editor page, the &quot;Home&quot; ribbon is opened by default. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any simple and quick way to change this, so that the &quot;My Toolbar&quot; stays as my default ribbon?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please keep in mind that I cannot change things like the template or any code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks a lot! &lt;/p&gt;&#xA;" OwnerUserId="3972" LastEditorUserId="277" LastEditDate="2018-07-13T17:22:38.633" LastActivityDate="2018-07-14T07:07:03.890" Title="Setup &quot;My Toolbar&quot; as the opener ribbon" Tags="|content-editor|ribbon|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12860" PostTypeId="2" ParentId="12859" CreationDate="2018-07-13T17:09:12.987" Score="6" Body="&lt;p&gt;Just move &lt;code&gt;/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/My&lt;/code&gt; item to the first position under its parent node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/59K4W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/59K4W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;As &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12859/setup-my-toolbar-as-the-opener-ribbon/12860?noredirect=1#comment19675_12860&quot;&gt;Jason&lt;/a&gt; mentioned, this will affect all the users who use Content Editor.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do this by either setting the value of the &lt;code&gt;Sortorder&lt;/code&gt; field to e.g. &lt;code&gt;-1000&lt;/code&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HKUHv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HKUHv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or by using &lt;code&gt;First&lt;/code&gt; button:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Mlsfv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Mlsfv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or by simply drag and dropping your item before the &lt;code&gt;Home&lt;/code&gt; item&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-07-14T07:07:03.890" LastActivityDate="2018-07-14T07:07:03.890" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12861" PostTypeId="1" AcceptedAnswerId="12862" CreationDate="2018-07-13T17:25:54.460" Score="4" ViewCount="155" Body="&lt;p&gt;I'm trying to install Habitat on my machine, according to this instruction &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;01-Getting-Started&lt;/a&gt;. However when I look back the script log, I got as bellow message &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nn5oB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nn5oB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should we skip these warning messages or we need to update somethings before running install.ps1 script? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally the site is still working well &lt;a href=&quot;http://habitat.dev.local/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.dev.local/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please advise, &#xA;Thank you&lt;/p&gt;&#xA;" OwnerUserId="3973" LastEditorUserId="73" LastEditDate="2018-07-13T17:47:34.817" LastActivityDate="2018-07-13T17:47:34.817" Title="Install Sitecore 9.0 update 2 encountered warnings" Tags="|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12862" PostTypeId="2" ParentId="12861" CreationDate="2018-07-13T17:43:35.227" Score="5" Body="&lt;p&gt;If this is the first time you are installing then those warnings are fine to ignore. Those warnings are stating that those services could not be stopped/found because they wouldn't exist yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you already had the site installed, the install script would stop the services so that new files could be installed over the top of them. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can safely ignore those warnings. &lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-07-13T17:43:35.227" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12863" PostTypeId="1" CreationDate="2018-07-13T18:20:32.217" Score="3" ViewCount="1003" Body="&lt;p&gt;I have a Sitecore 9 instance using Solr. I'm trying to query a collection of datetimes such that if any of the datetimes in that collection are within a range that item will be returned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue that I'm having is that the Solr query appears to only compare the year and ignore the rest of the date, for example, a query for &lt;code&gt;2018-01-01&lt;/code&gt; will return everything with a date in 2019 but nothing in 2018. (Example query at the bottom)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Field Configuration : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;sessionstartdate&quot; storageType=&quot;yes&quot; &#xA;returnType=&quot;datetimeCollection&quot; indexType=&quot;untokenized&quot;&amp;gt;RSAC.Project.Rsac.Search.Fields.SessionStartDateField, RSAC.Project.Rsac&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Queryable Item Definition : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(RsacSearchConstants.SessionStartDateField)]&#xA;[IgnoreIndexField]&#xA;public DateTime SearchableStartDates { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Linq Query : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (facetParameters.AfterDate.HasValue)&#xA;{&#xA;    var dateQuery = PredicateBuilder.True&amp;lt;ISessionItem&amp;gt;();&#xA;    dateQuery = dateQuery.And(x =&amp;gt; x.SearchableStartDates.Between(facetParameters.AfterDate.Value, DateTime.Now.AddYears(3), Inclusion.Both));&#xA;&#xA;    facetQuery = facetQuery.And(dateQuery);&#xA;}&#xA;...&#xA;query = query.Where(facetQuery);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The relevant part of the Solr Query Looks like this : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sessionstartdate_dtm:[2018-01-13T18:06:42.596Z TO 2021-07-13T18:06:42.624Z]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the field of one of the items I would expect to see returned by the above query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;sessionstartdate_dtm&quot;:[&quot;2018-04-15T13:00:00Z&quot;,&quot;2018-04-16T13:00:00Z&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried running variations of the query with and without the timestamp, with and without the '-' and ':' characters and it seems as if solr is seeing the year then searching just on that&lt;/p&gt;&#xA;" OwnerUserId="922" LastEditorUserId="690" LastEditDate="2018-07-14T20:03:18.687" LastActivityDate="2019-12-09T19:01:05.043" Title="Querying Solr datetime Collection" Tags="|solr|content-search|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12864" PostTypeId="1" CreationDate="2018-07-14T05:45:05.893" Score="0" ViewCount="506" Body="&lt;p&gt;I am trying to install Sitecore Experience Commerce 9.0 Update 2. Everything was going good but got below exception at the step &quot;&lt;strong&gt;InstallCommerceMAModule&lt;/strong&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-SitecoreConfiguration : No registration found for extension&#xA;  'ExpandArchive' of type 'Task'. At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Install-SitecoreConfiguration.ps1:253&#xA;  char:21&#xA;  +                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vxFzm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vxFzm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Added Script&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#Requires -Version 3&#xA;param(&#xA;    [string]$SiteName = &quot;sc9u2.sc&quot;, &#xA;    [string]$SiteHostHeaderName = &quot;storefront.local&quot;,   &#xA;    [string]$SqlDbPrefix = &quot;sc9u2&quot;,&#xA;    [string]$CommerceSearchProvider = &quot;SOLR&quot;&#xA;)&#xA;&#xA;$global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path&#xA;$modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;Modules&quot; )&#xA;if ($env:PSModulePath -notlike &quot;*$modulesPath*&quot;)&#xA;{&#xA;    $p = $env:PSModulePath + &quot;;&quot; + $modulesPath&#xA;    [Environment]::SetEnvironmentVariable(&quot;PSModulePath&quot;,$p)&#xA;}&#xA;&#xA;&#xA;$params = @{&#xA;        Path = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json' &#xA;        SiteName = $SiteName&#xA;        SiteHostHeaderName = $SiteHostHeaderName &#xA;        InstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$SiteName&quot;&#xA;        XConnectInstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\sc9u2.xconnect&quot;&#xA;        CertificateName = $SiteName&#xA;        CommerceServicesDbServer = &quot;DESKTOP-O8SPMPV\SQLEXPRESS&quot;    #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;        CommerceServicesDbName = &quot;SitecoreCommerce9_SharedEnvironments&quot;&#xA;        CommerceServicesGlobalDbName = &quot;SitecoreCommerce9_Global&quot;       &#xA;        SitecoreDbServer = &quot;DESKTOP-O8SPMPV\SQLEXPRESS&quot;            #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;        SitecoreCoreDbName = &quot;$($SqlDbPrefix)_Core&quot;&#xA;        SitecoreUsername = &quot;sitecore\admin&quot;&#xA;        SitecoreUserPassword = &quot;b&quot;&#xA;        CommerceSearchProvider = $CommerceSearchProvider&#xA;        SolrUrl = &quot;https://localhost:8984/solr&quot;&#xA;        SolrRoot = &quot;C:\Sitecore9\solr-6.6.2&quot;&#xA;        SolrService = &quot;Solr&quot;&#xA;        SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SolrSchemas&quot; )&#xA;        SearchIndexPrefix = &quot;&quot;&#xA;        AzureSearchServiceName = &quot;&quot;&#xA;        AzureSearchAdminKey = &quot;&quot;&#xA;        AzureSearchQueryKey = &quot;&quot;&#xA;        CommerceEngineDacPac = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.SDK.*\Sitecore.Commerce.Engine.DB.dacpac&quot;       &#xA;        CommerceOpsServicesPort = &quot;5015&quot;&#xA;        CommerceShopsServicesPort = &quot;5005&quot;&#xA;        CommerceAuthoringServicesPort = &quot;5000&quot;&#xA;        CommerceMinionsServicesPort = &quot;5010&quot;        &#xA;        SitecoreCommerceEngineZipPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.2.2.126.zip&quot;        &#xA;        SitecoreBizFxServicesContentPath = Resolve-Path -Path &quot;..\Sitecore.BizFX.1.2.19&quot;        &#xA;        SitecoreIdentityServerZipPath = Resolve-Path -Path &quot;..\Sitecore.IdentityServer.1.*.zip&quot;&#xA;        CommerceEngineCertificatePath = Resolve-Path -Path &quot;..\storefront.local.cer&quot;        &#xA;        SiteUtilitiesSrc = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SiteUtilityPages&quot; )  &#xA;        HabitatImagesModuleFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Habitat.Images-*.zip&quot;    &#xA;        AdvImagesModuleFullPath = Resolve-Path -Path &quot;..\Adventure Works Images.zip&quot;    &#xA;        CommerceConnectModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Connect*.zip&quot;  &#xA;        CommercexProfilesModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce ExperienceProfile Core *.zip&quot;    &#xA;        CommercexAnalyticsModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce ExperienceAnalytics Core *.zip&quot; &#xA;        CommerceMAModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Marketing Automation Core *.zip&quot;    &#xA;        CommerceMAForAutomationEngineModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Marketing Automation for AutomationEngine *.zip&quot; &#xA;        CEConnectPackageFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.Connect*.update&quot;&#xA;        PowerShellExtensionsModuleFullPath = Resolve-Path -Path &quot;..\Sitecore PowerShell Extensions-4.7.2 for Sitecore 8.zip&quot;&#xA;        SXAModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Experience Accelerator 1.7 rev. 180410 for 9.0.zip&quot;&#xA;        SXACommerceModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator 1.*.zip&quot;&#xA;        SXAStorefrontModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront 1.*.zip&quot;&#xA;        SXAStorefrontThemeModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront Themes*.zip&quot;&#xA;        SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Habitat Catalog*.zip&quot;&#xA;        MergeToolFullPath = Resolve-Path -Path &quot;..\Microsoft.Web.XmlTransform.dll&quot;&#xA;        UserAccount = @{&#xA;            Domain = $Env:COMPUTERNAME&#xA;            UserName = 'CSFndRuntimeUser'&#xA;            Password = 'Pu8azaCr'&#xA;        }&#xA;        BraintreeAccount = @{&#xA;            MerchantId = ''&#xA;            PublicKey = ''&#xA;            PrivateKey = ''&#xA;        }&#xA;        SitecoreIdentityServerName = &quot;SitecoreIdentityServer&quot;       &#xA;    }&#xA;&#xA;if ($CommerceSearchProvider -eq &quot;SOLR&quot;) {&#xA;    Install-SitecoreConfiguration @params&#xA;}&#xA;elseif ($CommerceSearchProvider -eq &quot;AZURE&quot;){&#xA;    Install-SitecoreConfiguration @params -Skip InstallSolrCores&#xA;}&#xA;# SIG # Begin signature block&#xA;# MIIXwQYJKoZIhvcNAQcCoIIXsjCCF64CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB&#xA;# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR&#xA;# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU2A4zbikI1U2u89We6OodK+3R&#xA;# VQ+gghL8MIID7jCCA1egAwIBAgIQfpPr+3zGTlnqS5p31Ab8OzANBgkqhkiG9w0B&#xA;# AQUFADCBizELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTEUMBIG&#xA;# A1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUVGhh&#xA;# d3RlIENlcnRpZmljYXRpb24xHzAdBgNVBAMTFlRoYXd0ZSBUaW1lc3RhbXBpbmcg&#xA;# Q0EwHhcNMTIxMjIxMDAwMDAwWhcNMjAxMjMwMjM1OTU5WjBeMQswCQYDVQQGEwJV&#xA;# UzEdMBsGA1UEChMUU3ltYW50ZWMgQ29ycG9yYXRpb24xMDAuBgNVBAMTJ1N5bWFu&#xA;# dGVjIFRpbWUgU3RhbXBpbmcgU2VydmljZXMgQ0EgLSBHMjCCASIwDQYJKoZIhvcN&#xA;# AQEBBQADggEPADCCAQoCggEBALGss0lUS5ccEgrYJXmRIlcqb9y4JsRDc2vCvy5Q&#xA;# WvsUwnaOQwElQ7Sh4kX06Ld7w3TMIte0lAAC903tv7S3RCRrzV9FO9FEzkMScxeC&#xA;# i2m0K8uZHqxyGyZNcR+xMd37UWECU6aq9UksBXhFpS+JzueZ5/6M4lc/PcaS3Er4&#xA;# ezPkeQr78HWIQZz/xQNRmarXbJ+TaYdlKYOFwmAUxMjJOxTawIHwHw103pIiq8r3&#xA;# +3R8J+b3Sht/p8OeLa6K6qbmqicWfWH3mHERvOJQoUvlXfrlDqcsn6plINPYlujI&#xA;# fKVOSET/GeJEB5IL12iEgF1qeGRFzWBGflTBE3zFefHJwXECAwEAAaOB+jCB9zAd&#xA;# BgNVHQ4EFgQUX5r1blzMzHSa1N197z/b7EyALt0wMgYIKwYBBQUHAQEEJjAkMCIG&#xA;# CCsGAQUFBzABhhZodHRwOi8vb2NzcC50aGF3dGUuY29tMBIGA1UdEwEB/wQIMAYB&#xA;# Af8CAQAwPwYDVR0fBDgwNjA0oDKgMIYuaHR0cDovL2NybC50aGF3dGUuY29tL1Ro&#xA;# YXd0ZVRpbWVzdGFtcGluZ0NBLmNybDATBgNVHSUEDDAKBggrBgEFBQcDCDAOBgNV&#xA;# HQ8BAf8EBAMCAQYwKAYDVR0RBCEwH6QdMBsxGTAXBgNVBAMTEFRpbWVTdGFtcC0y&#xA;# MDQ4LTEwDQYJKoZIhvcNAQEFBQADgYEAAwmbj3nvf1kwqu9otfrjCR27T4IGXTdf&#xA;# plKfFo3qHJIJRG71betYfDDo+WmNI3MLEm9Hqa45EfgqsZuwGsOO61mWAK3ODE2y&#xA;# 0DGmCFwqevzieh1XTKhlGOl5QGIllm7HxzdqgyEIjkHq3dlXPx13SYcqFgZepjhq&#xA;# IhKjURmDfrYwggSjMIIDi6ADAgECAhAOz/Q4yP6/NW4E2GqYGxpQMA0GCSqGSIb3&#xA;# DQEBBQUAMF4xCzAJBgNVBAYTAlVTMR0wGwYDVQQKExRTeW1hbnRlYyBDb3Jwb3Jh&#xA;# dGlvbjEwMC4GA1UEAxMnU3ltYW50ZWMgVGltZSBTdGFtcGluZyBTZXJ2aWNlcyBD&#xA;# QSAtIEcyMB4XDTEyMTAxODAwMDAwMFoXDTIwMTIyOTIzNTk1OVowYjELMAkGA1UE&#xA;# BhMCVVMxHTAbBgNVBAoTFFN5bWFudGVjIENvcnBvcmF0aW9uMTQwMgYDVQQDEytT&#xA;# eW1hbnRlYyBUaW1lIFN0YW1waW5nIFNlcnZpY2VzIFNpZ25lciAtIEc0MIIBIjAN&#xA;# BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAomMLOUS4uyOnREm7Dv+h8GEKU5Ow&#xA;# mNutLA9KxW7/hjxTVQ8VzgQ/K/2plpbZvmF5C1vJTIZ25eBDSyKV7sIrQ8Gf2Gi0&#xA;# jkBP7oU4uRHFI/JkWPAVMm9OV6GuiKQC1yoezUvh3WPVF4kyW7BemVqonShQDhfu&#xA;# ltthO0VRHc8SVguSR/yrrvZmPUescHLnkudfzRC5xINklBm9JYDh6NIipdC6Anqh&#xA;# d5NbZcPuF3S8QYYq3AhMjJKMkS2ed0QfaNaodHfbDlsyi1aLM73ZY8hJnTrFxeoz&#xA;# C9Lxoxv0i77Zs1eLO94Ep3oisiSuLsdwxb5OgyYI+wu9qU+ZCOEQKHKqzQIDAQAB&#xA;# o4IBVzCCAVMwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAO&#xA;# BgNVHQ8BAf8EBAMCB4AwcwYIKwYBBQUHAQEEZzBlMCoGCCsGAQUFBzABhh5odHRw&#xA;# Oi8vdHMtb2NzcC53cy5zeW1hbnRlYy5jb20wNwYIKwYBBQUHMAKGK2h0dHA6Ly90&#xA;# cy1haWEud3Muc3ltYW50ZWMuY29tL3Rzcy1jYS1nMi5jZXIwPAYDVR0fBDUwMzAx&#xA;# oC+gLYYraHR0cDovL3RzLWNybC53cy5zeW1hbnRlYy5jb20vdHNzLWNhLWcyLmNy&#xA;# bDAoBgNVHREEITAfpB0wGzEZMBcGA1UEAxMQVGltZVN0YW1wLTIwNDgtMjAdBgNV&#xA;# HQ4EFgQURsZpow5KFB7VTNpSYxc/Xja8DeYwHwYDVR0jBBgwFoAUX5r1blzMzHSa&#xA;# 1N197z/b7EyALt0wDQYJKoZIhvcNAQEFBQADggEBAHg7tJEqAEzwj2IwN3ijhCcH&#xA;# bxiy3iXcoNSUA6qGTiWfmkADHN3O43nLIWgG2rYytG2/9CwmYzPkSWRtDebDZw73&#xA;# BaQ1bHyJFsbpst+y6d0gxnEPzZV03LZc3r03H0N45ni1zSgEIKOq8UvEiCmRDoDR&#xA;# EfzdXHZuT14ORUZBbg2w6jiasTraCXEQ/Bx5tIB7rGn0/Zy2DBYr8X9bCT2bW+IW&#xA;# yhOBbQAuOA2oKY8s4bL0WqkBrxWcLC9JG9siu8P+eJRRw4axgohd8D20UaF5Mysu&#xA;# e7ncIAkTcetqGVvP6KUwVyyJST+5z3/Jvz4iaGNTmr1pdKzFHTx/kuDDvBzYBHUw&#xA;# ggUrMIIEE6ADAgECAhAHplztCw0v0TJNgwJhke9VMA0GCSqGSIb3DQEBCwUAMHIx&#xA;# CzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3&#xA;# dy5kaWdpY2VydC5jb20xMTAvBgNVBAMTKERpZ2lDZXJ0IFNIQTIgQXNzdXJlZCBJ&#xA;# RCBDb2RlIFNpZ25pbmcgQ0EwHhcNMTcwODIzMDAwMDAwWhcNMjAwOTMwMTIwMDAw&#xA;# WjBoMQswCQYDVQQGEwJVUzELMAkGA1UECBMCY2ExEjAQBgNVBAcTCVNhdXNhbGl0&#xA;# bzEbMBkGA1UEChMSU2l0ZWNvcmUgVVNBLCBJbmMuMRswGQYDVQQDExJTaXRlY29y&#xA;# ZSBVU0EsIEluYy4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7PZ/g&#xA;# huhrQ/p/0Cg7BRrYjw7ZMx8HNBamEm0El+sedPWYeAAFrjDSpECxYjvK8/NOS9dk&#xA;# tC35XL2TREMOJk746mZqia+g+NQDPEaDjNPG/iT0gWsOeCa9dUcIUtnBQ0hBKsuR&#xA;# bau3n7w1uIgr3zf29vc9NhCoz1m2uBNIuLBlkKguXwgPt4rzj66+18JV3xyLQJoS&#xA;# 3ZAA8k6FnZltNB+4HB0LKpPmF8PmAm5fhwGz6JFTKe+HCBRtuwOEERSd1EN7TGKi&#xA;# xczSX8FJMz84dcOfALxjTj6RUF5TNSQLD2pACgYWl8MM0lEtD/1eif7TKMHqaA+s&#xA;# m/yJrlKEtOr836BvAgMBAAGjggHFMIIBwTAfBgNVHSMEGDAWgBRaxLl7Kgqjpepx&#xA;# A8Bg+S32ZXUOWDAdBgNVHQ4EFgQULh60SWOBOnU9TSFq0c2sWmMdu7EwDgYDVR0P&#xA;# AQH/BAQDAgeAMBMGA1UdJQQMMAoGCCsGAQUFBwMDMHcGA1UdHwRwMG4wNaAzoDGG&#xA;# L2h0dHA6Ly9jcmwzLmRpZ2ljZXJ0LmNvbS9zaGEyLWFzc3VyZWQtY3MtZzEuY3Js&#xA;# MDWgM6Axhi9odHRwOi8vY3JsNC5kaWdpY2VydC5jb20vc2hhMi1hc3N1cmVkLWNz&#xA;# LWcxLmNybDBMBgNVHSAERTBDMDcGCWCGSAGG/WwDATAqMCgGCCsGAQUFBwIBFhxo&#xA;# dHRwczovL3d3dy5kaWdpY2VydC5jb20vQ1BTMAgGBmeBDAEEATCBhAYIKwYBBQUH&#xA;# AQEEeDB2MCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5kaWdpY2VydC5jb20wTgYI&#xA;# KwYBBQUHMAKGQmh0dHA6Ly9jYWNlcnRzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydFNI&#xA;# QTJBc3N1cmVkSURDb2RlU2lnbmluZ0NBLmNydDAMBgNVHRMBAf8EAjAAMA0GCSqG&#xA;# SIb3DQEBCwUAA4IBAQBozpJhBdsaz19E9faa/wtrnssUreKxZVkYQ+NViWeyImc5&#xA;# qEZcDPy3Qgf731kVPnYuwi5S0U+qyg5p1CNn/WsvnJsdw8aO0lseadu8PECuHj1Z&#xA;# 5w4mi5rGNq+QVYSBB2vBh5Ps5rXuifBFF8YnUyBc2KuWBOCq6MTRN1H2sU5LtOUc&#xA;# Qkacv8hyom8DHERbd3mIBkV8fmtAmvwFYOCsXdBHOSwQUvfs53GySrnIYiWT0y56&#xA;# mVYPwDj7h/PdWO5hIuZm6n5ohInLig1weiVDJ254r+2pfyyRT+02JVVxyHFMCLwC&#xA;# ASs4vgbiZzMDltmoTDHz9gULxu/CfBGM0waMDu3cMIIFMDCCBBigAwIBAgIQBAkY&#xA;# G1/Vu2Z1U0O1b5VQCDANBgkqhkiG9w0BAQsFADBlMQswCQYDVQQGEwJVUzEVMBMG&#xA;# A1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQw&#xA;# IgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwHhcNMTMxMDIyMTIw&#xA;# MDAwWhcNMjgxMDIyMTIwMDAwWjByMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGln&#xA;# aUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMTEwLwYDVQQDEyhE&#xA;# aWdpQ2VydCBTSEEyIEFzc3VyZWQgSUQgQ29kZSBTaWduaW5nIENBMIIBIjANBgkq&#xA;# hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+NOzHH8OEa9ndwfTCzFJGc/Q+0WZsTrb&#xA;# RPV/5aid2zLXcep2nQUut4/6kkPApfmJ1DcZ17aq8JyGpdglrA55KDp+6dFn08b7&#xA;# KSfH03sjlOSRI5aQd4L5oYQjZhJUM1B0sSgmuyRpwsJS8hRniolF1C2ho+mILCCV&#xA;# rhxKhwjfDPXiTWAYvqrEsq5wMWYzcT6scKKrzn/pfMuSoeU7MRzP6vIK5Fe7SrXp&#xA;# dOYr/mzLfnQ5Ng2Q7+S1TqSp6moKq4TzrGdOtcT3jNEgJSPrCGQ+UpbB8g8S9MWO&#xA;# D8Gi6CxR93O8vYWxYoNzQYIH5DiLanMg0A9kczyen6Yzqf0Z3yWT0QIDAQABo4IB&#xA;# zTCCAckwEgYDVR0TAQH/BAgwBgEB/wIBADAOBgNVHQ8BAf8EBAMCAYYwEwYDVR0l&#xA;# BAwwCgYIKwYBBQUHAwMweQYIKwYBBQUHAQEEbTBrMCQGCCsGAQUFBzABhhhodHRw&#xA;# Oi8vb2NzcC5kaWdpY2VydC5jb20wQwYIKwYBBQUHMAKGN2h0dHA6Ly9jYWNlcnRz&#xA;# LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEFzc3VyZWRJRFJvb3RDQS5jcnQwgYEGA1Ud&#xA;# HwR6MHgwOqA4oDaGNGh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEFz&#xA;# c3VyZWRJRFJvb3RDQS5jcmwwOqA4oDaGNGh0dHA6Ly9jcmwzLmRpZ2ljZXJ0LmNv&#xA;# bS9EaWdpQ2VydEFzc3VyZWRJRFJvb3RDQS5jcmwwTwYDVR0gBEgwRjA4BgpghkgB&#xA;# hv1sAAIEMCowKAYIKwYBBQUHAgEWHGh0dHBzOi8vd3d3LmRpZ2ljZXJ0LmNvbS9D&#xA;# UFMwCgYIYIZIAYb9bAMwHQYDVR0OBBYEFFrEuXsqCqOl6nEDwGD5LfZldQ5YMB8G&#xA;# A1UdIwQYMBaAFEXroq/0ksuCMS1Ri6enIZ3zbcgPMA0GCSqGSIb3DQEBCwUAA4IB&#xA;# AQA+7A1aJLPzItEVyCx8JSl2qB1dHC06GsTvMGHXfgtg/cM9D8Svi/3vKt8gVTew&#xA;# 4fbRknUPUbRupY5a4l4kgU4QpO4/cY5jDhNLrddfRHnzNhQGivecRk5c/5CxGwcO&#xA;# kRX7uq+1UcKNJK4kxscnKqEpKBo6cSgCPC6Ro8AlEeKcFEehemhor5unXCBc2XGx&#xA;# DI+7qPjFEmifz0DLQESlE/DmZAwlCEIysjaKJAL+L3J+HNdJRZboWR3p+nRka7Lr&#xA;# ZkPas7CM1ekN3fYBIM6ZMWM9CBoYs4GbT8aTEAb8B4H6i9r5gkn3Ym6hU/oSlBiF&#xA;# LpKR6mhsRDKyZqHnGKSaZFHvMYIELzCCBCsCAQEwgYYwcjELMAkGA1UEBhMCVVMx&#xA;# FTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3LmRpZ2ljZXJ0LmNv&#xA;# bTExMC8GA1UEAxMoRGlnaUNlcnQgU0hBMiBBc3N1cmVkIElEIENvZGUgU2lnbmlu&#xA;# ZyBDQQIQB6Zc7QsNL9EyTYMCYZHvVTAJBgUrDgMCGgUAoHAwEAYKKwYBBAGCNwIB&#xA;# DDECMAAwGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEO&#xA;# MAwGCisGAQQBgjcCARUwIwYJKoZIhvcNAQkEMRYEFFhL5ZmCLq9hUiVOrIhi7tNi&#xA;# NKdiMA0GCSqGSIb3DQEBAQUABIIBAH/rxB1j9CVdi/h3Z5ID/mjQbwHTOfchRIjf&#xA;# Zbar9Os6ApXTt1BucBvWvjnuhBitrglg3Ye34VKfcrCwpwDMB9yYefVqhcQt6nmN&#xA;# j6jZ/jAbpQ1NUfacVp4j0vSJzdYJx6hBSvkCDOsYI8dE41dY9KG1qGO6ENeph7hN&#xA;# FlenP5jAvSgI7cP9SwSLhXqAYkafISStBoEDVDoImcebsqzdCLrI2vEfrJykekZJ&#xA;# bzLYTIdSBA239FLPLgfSi8JMxmR91buc9FxX5KuSBsBQ5WVAn7Zv35MIJ5YJ9/hC&#xA;# nfH7iYcDvbuK7UKW+qJ8/WeuXRtTQeYn7Rkr3pgED1vC0DcbBxOhggILMIICBwYJ&#xA;# KoZIhvcNAQkGMYIB+DCCAfQCAQEwcjBeMQswCQYDVQQGEwJVUzEdMBsGA1UEChMU&#xA;# U3ltYW50ZWMgQ29ycG9yYXRpb24xMDAuBgNVBAMTJ1N5bWFudGVjIFRpbWUgU3Rh&#xA;# bXBpbmcgU2VydmljZXMgQ0EgLSBHMgIQDs/0OMj+vzVuBNhqmBsaUDAJBgUrDgMC&#xA;# GgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcN&#xA;# MTgwNjE0MTc1MTQwWjAjBgkqhkiG9w0BCQQxFgQU4dRV4mrmlmo23fz23U6f5lkM&#xA;# xjAwDQYJKoZIhvcNAQEBBQAEggEAe2TShd9FJInWxz/vZmn/mBW8zhOXCHPGgSz8&#xA;# pJr3BG0aBJ1wOoglnqwS9fEdHjs/RLHdXEKVBo5KSaPWeC2fYGLR43sTCcqwNTsX&#xA;# LEAfg9DrbiJLcB49od00oge74MXvfCb6eqBPVbCPTcgjlt+UyJ3ldRo/gUVH5Mly&#xA;# GRVlrdRXxGIvTrCxJdQ4u8zMhHSie4R2aWzv6L0TF63uIIFoVxpnzQNGKNftn3jt&#xA;# 2UU34gYl4I8e1vPpAoFfPLHWMi/qr7mqjg4LVQnNMpRyJuzGmoBXMFmBnLgkPecu&#xA;# tjnbFxotTOEywlOHvIg9F4JRRQ7TSya7+I56fWz7M2b7vWx8hg==&#xA;# SIG # End signature block&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2056" LastEditDate="2018-07-16T07:08:27.200" LastActivityDate="2018-07-16T07:08:27.200" Title="Exception while installing Sitecore Commerce 9 Update 2 - No registration found for extension &gt; 'ExpandArchive' of type 'Task'" Tags="|sitecore-commerce|installation|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12865" PostTypeId="1" AcceptedAnswerId="12867" CreationDate="2018-07-14T10:54:19.763" Score="1" ViewCount="770" Body="&lt;p&gt;I'm using Sitecore 9 and SXA 1.7.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a template with a &quot;General link with search&quot; field, and I created several items of that template where I need to &quot;insert external link&quot;, after that I set the URL and Link Description.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am creating a rendering variant for this, in it, when I use &quot;Field&quot; to render the &quot;external link&quot; field, it shows me the Link Description I set earlier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is this : Is there a way using the rendering variant to show custom text of mine instead of what is inside the link description, but have that new text still work as a functional link?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In other words : Can I change the displayed anchor name but still keep it a functional link to the URL?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="3547" LastEditDate="2018-07-15T09:30:58.447" LastActivityDate="2018-07-15T09:30:58.447" Title="How to change name of external link when viewing in its rendering variant?" Tags="|sxa|presentation|links|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12867" PostTypeId="2" ParentId="12865" CreationDate="2018-07-14T17:24:26.343" Score="2" Body="&lt;p&gt;We had the same issue a while ago and solved it by using &lt;strong&gt;Nvelocity&lt;/strong&gt;. Might not be the best solution (if there is a nicer one I would also love to see it) but it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I did: in your variant, don't use Field but Template (for a NVelocity template). In the template you can do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#set ($url = $item.Fields.YourLinkField.ToString())&#xA;#if ($url != &quot;&quot;)&#xA;&amp;lt;a href=&quot;$url&quot; target=&quot;_blank&quot;&amp;gt;YOUR TEXT&amp;lt;/a&amp;gt;&#xA;#end&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &quot;if&quot; construction is to make sure we don't display an empty link when nothing was set. Replace &quot;YourLinkField&quot; with the name of the link field in your template. If you need to add more logic, you can.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The template is not shared, so you could translate the text if needed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;One step further&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to extend this -like I did- and want the editor to change the text more easliy you can create your own NVelocity token and use something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#set ($url = $item.Fields.YourLinkField.ToString())&#xA;#if ($url != &quot;&quot;)&#xA;&amp;lt;a href=&quot;$url&quot; target=&quot;_blank&quot;&amp;gt;$translationTool.GetTranslation(&quot;Key&quot;)&amp;lt;/a&amp;gt;&#xA;#end&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;$translationTool.GetTranslation(&quot;Key&quot;)&lt;/code&gt; refers to custom code and might get the value from the Dictionary (or anywhere you want).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To create such a custom variant token, you can check the blog from Michael West who wrote a good article on it: &lt;a href=&quot;https://michaellwest.blogspot.com/2017/04/custom-rendering-variant-token-tool-for-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://michaellwest.blogspot.com/2017/04/custom-rendering-variant-token-tool-for-sxa.html&lt;/a&gt; You need to add a processor to the &lt;code&gt;getVelocityTemplateRenderers&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-07-14T17:24:26.343" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12870" PostTypeId="1" AcceptedAnswerId="12872" CreationDate="2018-07-16T08:56:24.830" Score="4" ViewCount="3009" Body="&lt;p&gt;I am installing Sitecore Commerce 9 Update 2 and received this exception in &quot; StartAppPool&quot; task:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-SitecoreConfiguration : The service cannot accept control messages at this time. (Exception from HRESULT:&#xA;  0x80070425)&#xA;  At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Install-SitecoreConfiguration.ps1:253&#xA;  char:21&#xA;  +                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is what I can see in PowerShell:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GA47c.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GA47c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I do?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-09-19T22:00:32.880" Title="&quot;The service cannot accept control messages at this time&quot; while installing Sitecore Commerce 9 Update 2" Tags="|sitecore-commerce|installation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12871" PostTypeId="2" ParentId="12870" CreationDate="2018-07-16T08:58:55.757" Score="2" Body="&lt;p&gt;You have to start again site with Sitecore instance that you are trying to install Sitecore Commerce on through IIS Manager because it is probably stopped.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It has been stopped by Deployment script but it couldn't be started automatically after that. This is a known issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look also into Application Pools whether also Application pool for this Site was not stopped and run it also manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When site and application pool is up and running again, just run the script once again and it should be fine now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best would be to restart the machine that you are installing to. Installation was much quicker after restart.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-08-01T05:33:30.227" LastActivityDate="2019-08-01T05:33:30.227" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12872" PostTypeId="2" ParentId="12870" CreationDate="2018-07-16T08:59:07.383" Score="4" Body="&lt;p&gt;I saw this message multiple time. The app pool is stopped, you need to restart the app pool for your website and run the installation again. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-07-16T08:59:07.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12873" PostTypeId="1" AcceptedAnswerId="12876" CreationDate="2018-07-16T09:06:28.820" Score="0" ViewCount="599" Body="&lt;p&gt;I've setup a XP1 Installation with CD and CM. I've installed the SXA and Powershell Extensions on my CM with the Installation Wizzard and here Its working I can open the site and edit content and view the content on the CM &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've inserted the Hostnames.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/On4GZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/On4GZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;on the cm I can open the site&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MacXf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MacXf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know how to install the hole SXA on the CD, because I've no Installation Wizzard there Or I don't know how to open it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I've tried so far is to extract the installation files and copied only the content of the &quot;files&quot; folder direct into the CD website&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cMuqo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cMuqo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've edited the :C:\inetpub\wwwroot\SitecoreCd1.staging.com\App_Config\Include\Foundation\Sitecore.XA.Foundation.Multisite.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and changed the database from master to web like in the installations decriped in the installation guide&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but that seems not to work right, when I know call my site on my CD I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QjDAg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QjDAg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SOLVED: Write Error in the host names :-/&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2018-07-16T10:47:18.827" LastActivityDate="2018-07-16T10:47:18.827" Title="Install SXA 1.7 on XP1 CD server" Tags="|sxa|sitecore-install-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12874" PostTypeId="2" ParentId="12781" CreationDate="2018-07-16T09:28:27.693" Score="4" Body="&lt;p&gt;Retrieve related products for 6042069 sellable item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var id = &quot;relatedproduct-6042069&quot;;&#xA;var findResult = this._findEntitiesInListPipeline.Run(new FindEntitiesInListArgument(typeof(Sitecore.Commerce.Plugin.Catalog.SellableItem), id, 0, 100), context.ContextOptions).Result;&#xA;var result = findResult.List.Items;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where _findEntitiesInListPipeline is IFindEntitiesInListPipeline&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-07-16T09:28:27.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12875" PostTypeId="1" AcceptedAnswerId="12877" CreationDate="2018-07-16T09:52:35.067" Score="0" ViewCount="555" Body="&lt;p&gt;I am trying to install Sitecore Commerce 9 Update 2 on my machine with Sitecore 9 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have received this exception during &quot;PublishExtensions&quot; step:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Request timed out.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Request timed out. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.Web.HttpException: Request timed out.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error: &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already tried to remove previous tasks from Master_SingleServer.json as suggested &lt;a href=&quot;https://buoctrenmay.com/2018/07/15/sitecore-commerce-9-update-2-and-step-by-step-install-guide-on-your-machine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;by Viet Hoang in his blog post&lt;/a&gt; but when trying to run it again, still receiving time out exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-07-16T11:46:14.627" Title="&quot;Request timed out.&quot; while running &quot;PublishExtensions&quot; step of Sitecore Commerce 9 Update 2 installation" Tags="|sitecore-commerce|installation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12876" PostTypeId="2" ParentId="12873" CreationDate="2018-07-16T09:53:12.710" Score="1" Body="&lt;p&gt;Make sure the hostnames are correct. In your screenshot I can see the CM twice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember you can use wildcards in the hostname: &lt;code&gt;sitecorec*1.staging.com&lt;/code&gt; would cover both sitecorecm1.staging.com and sitecorecd1.staging.com&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-07-16T09:53:12.710" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12877" PostTypeId="2" ParentId="12875" CreationDate="2018-07-16T11:46:14.627" Score="1" Body="&lt;p&gt;I have fixed this by doing publishing manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Desktop, I have open Sitecore menu and selected &quot;Publish Site&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H9U0m.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H9U0m.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nsEFU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nsEFU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VzZBt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VzZBt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have then removed all tasks from Master_SingleServer.json before and also including &quot;PublishExtensions&quot; and run the script once again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RfqVZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RfqVZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-07-16T11:46:14.627" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12878" PostTypeId="1" CreationDate="2018-07-16T12:25:41.687" Score="2" ViewCount="98" Body="&lt;p&gt;For hands-on on Sitecore Automation tool,&#xA;I have crated a Simple Automated campaign   i.e if Logged-in user visited to specific page then goal will be trigger and If goal trigger then add user to contact list and send an email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But &lt;strong&gt;neighter&lt;/strong&gt; user is adding in contact list &lt;strong&gt;nor&lt;/strong&gt; mail is going to logged-in user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to enable any config setting ,exm setting ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kjbJk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kjbJk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="73" LastEditDate="2018-07-16T12:26:06.610" LastActivityDate="2018-07-17T11:47:45.597" Title="Add Visitor into Contact List" Tags="|exm|contact-facets|marketing-automation|" AnswerCount="1" CommentCount="0" ClosedDate="2018-07-17T11:48:44.840" ContentLicense="CC BY-SA 4.0" />
  <row Id="12879" PostTypeId="2" ParentId="12854" CreationDate="2018-07-16T13:19:21.690" Score="3" Body="&lt;p&gt;I figured out that &lt;code&gt;xdb&lt;/code&gt; and &lt;code&gt;xdb_rebuild&lt;/code&gt; cores should not be updated with manages schema &lt;code&gt;uniqueId&lt;/code&gt; fields. However the upgrade guilde says all cores should be updated. So resolution was rolling back managed schemas for xdb SOLR cores.&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2018-07-16T13:19:21.690" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12882" PostTypeId="1" AcceptedAnswerId="12897" CreationDate="2018-07-16T17:03:14.147" Score="1" ViewCount="1245" Body="&lt;p&gt;In Sitecore (Sitecore 9) to get search results from different-2 third party systems including Sitecore, we need to use Elastic search instead of default Solr search in Sitecore 9. Is my understanding is correct or not?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, the Sitecore 9 required the Solr but to implement Elastic search we need to setup Elastic search as mentioned at &lt;a href=&quot;https://joaoneto.blog/2017/05/16/how-to-add-elasticsearch-to-your-sitecore-part-i/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://joaoneto.blog/2017/05/16/how-to-add-elasticsearch-to-your-sitecore-part-i/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case we need to install Solr or not and Is the above installation guide will be valid for SC9?&lt;/p&gt;&#xA;" OwnerUserId="3035" LastActivityDate="2018-07-17T14:27:57.807" Title="Sitecore Elastic Search" Tags="|solr|content-search|elastic|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12883" PostTypeId="2" ParentId="12882" CreationDate="2018-07-16T18:32:06.130" Score="-1" Body="&lt;p&gt;You are correct to say that querying more than one source of content for website search purposes with Lucene or Solr as used by Sitecore is very hard, or not possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are also correct to say that a unified index is the solution to this problem. There are multiple unified index products that could solve this problem:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Elastic Search. No integration in Sitecore. Runs on your premises, you manage the servers and services. You have to code everything to index and query Sitecore items and third-party data.&lt;/li&gt;&#xA;&lt;li&gt;Coveo for Sitecore. Commercial product fully integrated in Sitecore. Hosted in the cloud and offered as a service (SaaS). No code required to integrate in Sitecore or crawl third-party data as it has dozens of connectors for enterprise grade third-party systems.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In both cases, you probably do not want to switch from Lucene/Solr to the chosen unified index. Lucene/Solr is used extensively by many Sitecore administrative tools and manages many indices. Switching all of them would be a tedious task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend you index only the required Sitecore items and third-party data in the unified index and use it for your website search needs. Leaving Lucene/Solr in place for out of the box Sitecore functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for the Elastic Search installation guide validity for Sitecore 9, I do not know. You are better to leave a comment to the author.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Disclaimer: I work for Coveo and I am not against other search solutions. Each solution fits different needs.&lt;/p&gt;&#xA;" OwnerUserId="171" LastEditorUserId="171" LastEditDate="2018-07-17T14:27:57.807" LastActivityDate="2018-07-17T14:27:57.807" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12884" PostTypeId="2" ParentId="7197" CreationDate="2018-07-16T21:56:06.503" Score="1" Body="&lt;p&gt;After a lot of searching and debugging I finally found that I misnamed a couple of my solr indexes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SolrSearchIndex fieldNameTranslator field gets set within the Initialize() method like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.fieldNameTranslator = (AbstractFieldNameTranslator) new SolrFieldNameTranslator(this);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, should an exception occur during the initialization process, a log entry will be made with the text &quot;Unable to connect to [{0}], Core: [{1}]&quot; and a flag will be set. A couple lines down, a check will be made for the flag. If that flag is set because of an exception, the initialize function will return out never setting the fieldNameTranslator field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you open up the experience editor, a Linq to Solr query is made using the sitecore social index (among a few other things. This is where it failed for me). A null check will thus be made at that point for the fieldNameTranslator and throw the following exception should that field not be set.&lt;/p&gt;&#xA;" OwnerUserId="787" LastActivityDate="2018-07-16T21:56:06.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12885" PostTypeId="1" AcceptedAnswerId="12927" CreationDate="2018-07-16T23:29:24.403" Score="1" ViewCount="389" Body="&lt;p&gt;I noticed that lately when I log into a Sitecore instance in Firefox and view the &lt;code&gt;showconfig.aspx&lt;/code&gt;, it does not appear in XML, rather as a string of randomly jumbled words, paths and IDs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W32c6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W32c6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I open &lt;code&gt;showconfig&lt;/code&gt; in Firefox private mode I get the same result. In the Firefox browser console I see the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XML Parsing Error: not well-formed&#xA;Location: &#xA;Line Number 1, Column 129:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, if I log into Sitecore in Chrome and open &lt;code&gt;showconfig&lt;/code&gt; there, it shows the same jumbled mess &lt;em&gt;for a split second&lt;/em&gt;, then it shows the XML structure just fine, and no XML related console errors (one favicon.ico 404 is all). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VQvAM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VQvAM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tested this with a clean 8.2 rev 170728 instance and a &quot;clean&quot;/unaltered instance of Habitat (same Sitecore version). I am using the latest version of Firefox (61.0.1 right now) and the latest version of Chrome.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="70" LastEditDate="2018-11-13T20:50:50.750" LastActivityDate="2018-11-13T20:50:50.750" Title="Showconfig.aspx in Firefox does not appear correctly" Tags="|sitecore-client|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="12886" PostTypeId="1" CreationDate="2018-07-17T05:41:46.093" Score="2" ViewCount="110" Body="&lt;p&gt;I am new to sitecore and after watching the helix related videos and commerce videos and reading the documentation, I understand that foundation layer needs to be most stable layer and code in it must not change. Since, I haven't implemented any solutions in sitecore commerce yet, I'm looking for some advice here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look at the helix implementation of sitecore commerce in sitecore.demo.retail solution, a lot of code in Sitecore.Foundation.Commerce projects seems like it would change with changes in user requirements, specially in the managers solution folder. To me, it seems like the idea of this project is the integration with commerce connect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know the reason behind having this project in foundation layer? If I build my own solution with only commerce connect code in this layer and all the managers in their respective features, would it adversely affect my solution in the long run?  &lt;/p&gt;&#xA;" OwnerUserId="3986" LastActivityDate="2018-07-17T06:02:37.337" Title="Should Sitecore.Foundation.Commerce project reside in Foundation layer and should it be a single project?" Tags="|sitecore-commerce|helix|commerce-connect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12887" PostTypeId="2" ParentId="12886" CreationDate="2018-07-17T06:02:37.337" Score="2" Body="&lt;p&gt;The layer where you add the project it really depends what it contains Sitecore.X.Commerce project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example if you have extensions to get product information, or other things from commerce it should be on Foundation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it contains the commerce engine it should be added on Project layer because he will have references to some feature projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest you to look into Habitat Home Project how it was implemented,it was released few weeks ago: &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce/tree/develop/src/Project/HabitatHome&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce/tree/develop/src/Project/HabitatHome&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-07-17T06:02:37.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12888" PostTypeId="1" CreationDate="2018-07-17T08:03:38.610" Score="4" ViewCount="685" Body="&lt;p&gt;In Development environment , While clicking on   XProfile icon , there is no user inside &quot;Experience Profile&quot;, I am browsing website locally with loggedin/non- loggedin user but Still no record are listed in XProfile.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZQh8L.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZQh8L.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Connection String values are as below, do I need to update any setting ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was referring article for rebuild the Reporting DB  , but unable to get&lt;br&gt;&#xA;&quot;DACPAC file for the Sitecore_Analytics database &quot; into my dev m/c&#xA;&lt;a href=&quot;https://www.bugdebugzone.com/2016/07/error-connection-string-used-by.html&quot; rel=&quot;noreferrer&quot;&gt;https://www.bugdebugzone.com/2016/07/error-connection-string-used-by.html&lt;/a&gt;&#xA;&quot;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/reporting/rebuild-reporting.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/reporting/rebuild-reporting.html&lt;/a&gt;&quot; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;connectionStrings&amp;gt;&#xA;  &amp;lt;!-- &#xA;    Sitecore connection strings.&#xA;    All database connections for Sitecore are configured here.&#xA;  --&amp;gt;&#xA;  &amp;lt;add name=&quot;core&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_Core;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;master&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_Master;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;web&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_Web;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;messaging&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_Messaging;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xconnect.collection&quot; connectionString=&quot;https://xp0.xconnect&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xconnect.collection.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=024434323BA04210EFCB7E302B5B310D003D8813&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xdb.referencedata&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_ReferenceData;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xdb.referencedata.client&quot; connectionString=&quot;https://xp0.xconnect&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xdb.referencedata.client.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=024434323BA04210EFCB7E302B5B310D003D8813&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xdb.processing.pools&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_Processing.Pools;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;&#xA;  &amp;lt;add name=&quot;xdb.processing.tasks&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_Processing.Tasks;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xdb.marketingautomation&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_MarketingAutomation;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xdb.marketingautomation.reporting.client&quot; connectionString=&quot;https://xp0.xconnect&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xdb.marketingautomation.reporting.client.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=024434323BA04210EFCB7E302B5B310D003D8813&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xdb.marketingautomation.operations.client&quot; connectionString=&quot;https://xp0.xconnect&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;xdb.marketingautomation.operations.client.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=024434323BA04210EFCB7E302B5B310D003D8813&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;experienceforms&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_ExperienceForms;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;exm.master&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_EXM.Master;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;EXM.CryptographicKey&quot; connectionString=&quot;0x0000000000000000000000000000000000000000000000000000000000000000&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;EXM.AuthenticationKey&quot; connectionString=&quot;0x0000000000000000000000000000000000000000000000000000000000000000&quot; /&amp;gt;&#xA;&#xA;  &amp;lt;add name=&quot;reporting&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=xp0_Reporting;User ID=sa;Password=***@12&quot; /&amp;gt;&#xA;  &amp;lt;!-- &amp;lt;add name=&quot;analytics&quot; connectionString=&quot;mongodb://localhost/analytics&quot;/&amp;gt; --&amp;gt;&#xA;  &amp;lt;!-- &amp;lt;add name=&quot;reporting.secondary&quot; connectionString=&quot;Data Source=LHHGENZYME01\SA;Initial Catalog=Sitecore_ Analytics_Secondary;User ID=sa;Password=***@12&quot;/&amp;gt; --&amp;gt;&#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1338" LastActivityDate="2018-10-15T13:00:31.307" Title="No user inside &quot;Experience Profile&quot; in Sitecore 9" Tags="|xdb|experience-profile|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12890" PostTypeId="1" CreationDate="2018-07-17T10:24:18.370" Score="2" ViewCount="1726" Body="&lt;p&gt;I have added  below code snippet (as in Andy Burns Blog &lt;a href=&quot;https://andrewwburns.com/2016/10/21/secure-your-sitecore-cookies/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://andrewwburns.com/2016/10/21/secure-your-sitecore-cookies/&lt;/a&gt; ) to secure the Sitecore cookies.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;System.Web&amp;gt; and &amp;lt;httpCookies&amp;gt; set requireSSL:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;httpCookies requireSSL=&quot;true&quot; /&amp;gt;&lt;/code&gt;&#xA;And in &lt;code&gt;&amp;lt;forms&amp;gt;&lt;/code&gt; set requireSSL too.&#xA;&lt;code&gt;&amp;lt;forms name=&quot;.ASPXAUTH&quot; cookieless=&quot;UseCookies&quot; requireSSL=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is working for Sitecore cookies but when I’m login to the Sitecore then again recording Sitecore shell cookies(inject from the Sitecore javascript files) and they were not SSL secured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FEzSz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FEzSz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I wanted to know Is there way to enable SSL secure for Sitecore shell cookies from custom config.&lt;/p&gt;&#xA;" OwnerUserId="448" LastActivityDate="2021-04-01T06:56:34.133" Title="How to Enable SSL Secure for sitecore shell cookies" Tags="|sitecore-client|cookies|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12891" PostTypeId="2" ParentId="12888" CreationDate="2018-07-17T10:31:05.760" Score="6" Body="&lt;ol&gt;&#xA;&lt;li&gt;Set &lt;strong&gt;IndexAnonymousContactData&lt;/strong&gt; to true  in &lt;strong&gt;sc.XConnect.IndexerSettings.xml&lt;/strong&gt; inside xconnect website in wwwroot&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Ref:-&#xA;  &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-anonymous-contact-indexing.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-anonymous-contact-indexing.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Check below service is running &#xA;  &lt;a href=&quot;https://i.stack.imgur.com/1wYOv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1wYOv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.Rebuild the xDB search index &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right Click on service Property &quot;Sitecore XConnect Search Indexer - xp0.xconnect-IndexWorker&quot; and get the path &lt;/p&gt;&#xA;&#xA;&lt;p&gt;or   go to =&gt;&gt;&lt;br&gt;&#xA;wwwroot\xp0.xconnect\App_Data\jobs\continuous\IndexWorker\&lt;br&gt;&#xA; and open the Command Prompt in admin mode and run &lt;strong&gt;XConnectSearchIndexer -rr&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Tm9zr.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Tm9zr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1338" LastActivityDate="2018-07-17T10:31:05.760" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12892" PostTypeId="2" ParentId="12878" CreationDate="2018-07-17T11:47:45.597" Score="0" Body="&lt;p&gt;After Performing below steps I am able to see the users in Contact List&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/12891/1338&quot;&gt;https://sitecore.stackexchange.com/a/12891/1338&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1338" LastActivityDate="2018-07-17T11:47:45.597" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12895" PostTypeId="1" AcceptedAnswerId="12896" CreationDate="2018-07-17T11:59:27.623" Score="2" ViewCount="673" Body="&lt;p&gt;I'm using Sitecore Commerce 9 Update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a simple template with one field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CML7x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CML7x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using it to extend eCommerce ConnectSellableItem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3NASV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3NASV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ConncetSellableItem is extending Commerce Product template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TkUrV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TkUrV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An item that based on Commerce Product template has a field with the same name, but different type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/exX8s.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/exX8s.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm filling description for my simple template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HoLuA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HoLuA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After saving it value replaced with description field value from Content tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eAvs7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eAvs7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it intended behavior?&lt;/p&gt;&#xA;" OwnerUserId="3988" LastEditorUserId="2948" LastEditDate="2018-07-17T14:31:49.667" LastActivityDate="2018-07-17T14:31:49.667" Title="Template inheritance. Fields value overriding" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12896" PostTypeId="2" ParentId="12895" CreationDate="2018-07-17T12:17:28.943" Score="3" Body="&lt;p&gt;First of all products,catalogs and categories from Sitecore are not real items, are virtual items which are shown in Content Editor using C&lt;strong&gt;ommerce Engine Connect Catalog Provider&lt;/strong&gt;.&#xA;The products (products,catalogs, categories) are persistent in &lt;strong&gt;Commerce Engine&lt;/strong&gt; not in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To extend sellable item in Sitecore 9.0.1 you need to write C# code, you can not just inherit from another template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on next article where is explained how to extend sellable items for Commerce 9.0.1 : &lt;a href=&quot;https://kb.sitecore.net/articles/083614&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/083614&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Entity composer functionality was added in Sitecore 9.0.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Entity Composer allows you to build custom data views to contain the properties you want to add to the entity in question. You can then convert this view to a template to be applied to other entities which need the same data to the applied. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/experience-commerce-entity-composer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/experience-commerce-entity-composer&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-07-17T13:28:28.640" LastActivityDate="2018-07-17T13:28:28.640" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12897" PostTypeId="2" ParentId="12882" CreationDate="2018-07-17T13:28:40.727" Score="6" Body="&lt;p&gt;As I see this you have a few options. I disagree with @jflheureux that Solr is not a good fit for this. Solr is perfect for this, it is what it is designed for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The options would be:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new custom index to store both Sitecore content and the 3rd party data. This can use Solr or Azure Search (Don't bother with Lucene, that is really for local development only)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Pro&lt;/strong&gt;: This would be easier to specify the fields required that match across both datasets and it would not clutter the data with extra content from Sitecore that you do not need&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Pro&lt;/strong&gt;: You would need to access the Solr data direct through &lt;code&gt;Solr.net&lt;/code&gt; not the Sitecore Search API, so you have more flexibility in the queries that you write.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Con&lt;/strong&gt;: You would need to access the Solr data direct through &lt;code&gt;Solr.net&lt;/code&gt; not the Sitecore Search API, so you would need to write your own query layer.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Con&lt;/strong&gt;: You would have to implement 2 crawlers, one for the Sitecore content and one for the 3rd party. Although this should not be that complex to do. You would also need 2 versions of this index, for master and web content from Sitecore.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Extend the Sitecore indexes to include the 3rd party data and just use those indexes.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Pro&lt;/strong&gt;: Only 1 crawler would need to be written&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Pro&lt;/strong&gt;: You can use the Sitecore Search API&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Con&lt;/strong&gt;: You would have to structure your 3rd party data to mimic a Sitecore item and that could get really tricky. I would &lt;em&gt;not&lt;/em&gt; recommend this approach&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Use Coveo for Sitecore&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Pro&lt;/strong&gt;: Its a supported 3rd party option that is commercial and has some connectors for 3rd party data (It might not have the one you need tho). &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Pro&lt;/strong&gt;: There are some nice components already written&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Con&lt;/strong&gt;: Its only really for Site Search, if you need to use this content in code for lookup's etc... it might not be the best option&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Con&lt;/strong&gt;: There is a cost for this, it is a commercial product and can get expensive depending on your traffic level.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Elastic Search&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Con&lt;/strong&gt;: IMO there is no advantage to using this, you still have to maintain Solr or Azure Search for the main indexes, so why add the extra overhead of maintaining another search engine. Other than that, this option would be the same process as option 1.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I know I haven't directly answered your question by stating you &lt;em&gt;should&lt;/em&gt; use a particular method. The answer is &quot;it depends&quot; - you have to look at your infrastructure, your requirements and your experience with these technologies and decide what is the best option for you and your client.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-07-17T13:28:40.727" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12898" PostTypeId="1" CreationDate="2018-07-17T14:05:56.230" Score="0" ViewCount="735" Body="&lt;p&gt;When using &lt;code&gt;Insert page&lt;/code&gt; in &lt;code&gt;Experience Editor&lt;/code&gt; you get redirected to the newly created &lt;code&gt;page/item&lt;/code&gt; (after choosing the template and the item name).&lt;/p&gt;&#xA;&lt;p&gt;How can I modify this redirect URL so that I can add a custom query string parameter, or even redirect to a completely different item?&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;code&gt;Sitecore 8.2 Update 5&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="3587" LastEditorUserId="5387" LastEditDate="2021-12-01T07:44:27.370" LastActivityDate="2022-08-29T15:06:55.630" Title="Modifying redirect URL after inserting page in Experience Editor" Tags="|experience-editor|" AnswerCount="2" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12899" PostTypeId="2" ParentId="12898" CreationDate="2018-07-17T14:34:55.623" Score="0" Body="&lt;p&gt;As you did not specify the Sitecore version I will assume that you use &lt;code&gt;Sitecore.NET 9.0.2 (rev. 180604)&lt;/code&gt; or your version uses a similar approach.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;code&gt;core&lt;/code&gt; database&lt;/li&gt;&#xA;&lt;li&gt;Find following item &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Page Editor/Edit/Insert&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;In &lt;code&gt;Renderings&lt;/code&gt; field there is a button definition, where you will find source of assets (js) and &lt;code&gt;ID&lt;/code&gt; of the pipeline that will be called once you click the button in EE. Pipeline ID is &lt;code&gt;{DF6345DC-ACC8-43B4-BC08-DFBF29906505}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Find &lt;code&gt;{DF6345DC-ACC8-43B4-BC08-DFBF29906505}&lt;/code&gt; item in &lt;code&gt;core&lt;/code&gt; database.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now you can extend pipeline by adding new processors or overwriting existing processors if needed. Right now I can see two processors: &lt;code&gt;openInsertItemDialog&lt;/code&gt; and &lt;code&gt;insert&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code is located here: &lt;code&gt;site\sitecore\shell\client\Sitecore\ExperienceEditor\Pipelines\InsertItem\&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Older versions&lt;/strong&gt; (7.5 rev. 150130 &lt;strong&gt;&gt;&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using an older Sitecore version you might not find steps above applicable. Here are steps for older Sitecore version.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &lt;code&gt;core&lt;/code&gt; database&lt;/li&gt;&#xA;&lt;li&gt;Find following item &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Page Editor/Edit/Insert&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;In &lt;code&gt;Click&lt;/code&gt; field there is a name of the command that will be executed when you click the button in EE (&lt;code&gt;webedit:new&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Open config &lt;code&gt;http://site/sitecore/admin/ShowConfig.aspx&lt;/code&gt; and find following string &lt;code&gt;webedit:new&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Overwrite this command (search for something like this when you decompile source code (&lt;code&gt;SheerResponse.Eval(&quot;scNavigate(\&quot;&quot; + str + &quot;\&quot;, 1)&quot;);&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-07-19T12:32:52.937" LastActivityDate="2018-07-19T12:32:52.937" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="12903" PostTypeId="1" CreationDate="2018-07-17T18:50:20.737" Score="2" ViewCount="309" Body="&lt;p&gt;I'm working on a project where we're using TDS. In my environment, I have a duplicate folder item that showed up under the root of my site. It's not unheard of to have issues like this when working on a team using TDS. However, the item is broken. If I click on it, Sitecore shows a dialog showing a .Net Object not set to an instance of an object error. This happens if I try to interact with the item via a right or left click. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I run a sync with Sitecore from Visual Studio, TDS doesn't see the item at all. Any thoughts as to how it goes there and how to remove it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; to clarify, the item was &quot;duplicate&quot; in name only, which is assumed, but since I was unable to interact with the item, I couldn't see it's ID. However, using Sitecore Rocks, I was able to interact with the item and confirm that it was a second folder with the same name (different ID), created by another dev. Using Rocks, I removed it and all seems good. However, if anyone has experienced this error on an item via Content Editor, I'd like to understand more about how this can happen.  &lt;/p&gt;&#xA;" OwnerUserId="3876" LastEditorUserId="4050" LastEditDate="2019-12-11T03:14:57.217" LastActivityDate="2019-12-11T03:14:57.217" Title="Duplicate item in content tree, throws &quot;Object not set to and instance of an object&quot; error" Tags="|content-editor|tds|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12906" PostTypeId="1" CreationDate="2018-07-18T00:36:46.103" Score="6" ViewCount="1149" Body="&lt;p&gt;I'm seeing a pattern of errors in ApplicationInsights in Azure, repeated approximately every 30 seconds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WEZeO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WEZeO.png&quot; alt=&quot;Application insights&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At point in time analytics data was being collected, but for several days no new visit data has appeared. It is likely a configuration change caused a problem but I'm yet to narrow down what that was.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The custom event has a RenderedMessage Batch Execution Failed &quot;XdbContextLoggingPlugin&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Exception Properties&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Event time&lt;/strong&gt;  18/07/2018, 10:02:30&lt;br&gt;&#xA;&lt;strong&gt;Message&lt;/strong&gt; Specified method is not supported.&lt;br&gt;&#xA;&lt;strong&gt;Exception type&lt;/strong&gt;  System.NotSupportedException&lt;br&gt;&#xA;&lt;strong&gt;Failed method&lt;/strong&gt;   Sitecore.Xdb.Collection.Indexing.IndexReaderDisabled.GetDataCurrentlyIndexedToken&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Custom Data&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;0&lt;/strong&gt;   &lt;a href=&quot;https://REDACTED-COLLECT-URL/odata/Contacts/Sitecore.XConnect.Search?%24expand=Identifiers,MergeInfo,ConsentInformation&quot; rel=&quot;noreferrer&quot;&gt;https://REDACTED-COLLECT-URL/odata/Contacts/Sitecore.XConnect.Search?%24expand=Identifiers,MergeInfo,ConsentInformation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;LogLevel&lt;/strong&gt;    Error&lt;br&gt;&#xA;&lt;strong&gt;RenderedMessage&lt;/strong&gt; XConnect Exception Filter OnException(), url - &quot;&lt;a href=&quot;https://REDACTED-COLLECT-URL/odata/Contacts/Sitecore.XConnect.Search?%24expand=Identifiers,MergeInfo,ConsentInformation&quot; rel=&quot;noreferrer&quot;&gt;https://REDACTED-COLLECT-URL/odata/Contacts/Sitecore.XConnect.Search?%24expand=Identifiers,MergeInfo,ConsentInformation&lt;/a&gt;&quot;&lt;br&gt;&#xA;&lt;strong&gt;MessageTemplate&lt;/strong&gt; XConnect Exception Filter OnException(), url - {0}&lt;br&gt;&#xA;&lt;strong&gt;handledAt&lt;/strong&gt;   UserCode&lt;br&gt;&#xA;&lt;strong&gt;Application&lt;/strong&gt; XConnect&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Call stack&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.NotSupportedException:&#xA;   at Sitecore.Xdb.Collection.Indexing.IndexReaderDisabled.GetDataCurrentlyIndexedToken (Sitecore.Xdb.Collection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at Sitecore.Xdb.Collection.Indexing.IndexReaderCountersDecorator.GetDataCurrentlyIndexedToken (Sitecore.Xdb.Collection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at Sitecore.Xdb.Collection.Repository+&amp;lt;WaitUntilDataBecomesAvailableToSearch&amp;gt;d__11.MoveNext (Sitecore.Xdb.Collection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at Sitecore.Xdb.Collection.RepositoryCountersDecorator+&amp;lt;WaitUntilDataBecomesAvailableToSearch&amp;gt;d__10.MoveNext (Sitecore.Xdb.Collection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at Sitecore.XConnect.Service.RepositorySearchInvoker+&amp;lt;Execute&amp;gt;d__7.MoveNext (Sitecore.XConnect.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at Sitecore.XConnect.Operations.XdbOperationInvoker`1+&amp;lt;Execute&amp;gt;d__2.MoveNext (Sitecore.XConnect, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at Sitecore.XConnect.XdbContext+&amp;lt;ExecuteBatchAsyncInternal&amp;gt;d__79.MoveNext (Sitecore.XConnect, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at Sitecore.XConnect.XdbContext+&amp;lt;ExecuteBatchAsyncInternal&amp;gt;d__79.MoveNext (Sitecore.XConnect, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at Sitecore.XConnect.XdbContext+&amp;lt;SubmitAsync&amp;gt;d__74.MoveNext (Sitecore.XConnect, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at Sitecore.XConnect.Web.Controllers.EntityController`1+&amp;lt;CreateResponse&amp;gt;d__31.MoveNext (Sitecore.XConnect.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Threading.Tasks.TaskHelpersExtensions+&amp;lt;CastToObject&amp;gt;d__3`1.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Controllers.ApiControllerActionInvoker+&amp;lt;InvokeActionAsyncCore&amp;gt;d__0.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute+&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute+&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute+&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute+&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute+&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute+&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Controllers.ActionFilterResult+&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute+&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;   at System.Web.Http.Controllers.ExceptionFilterResult+&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext (System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="702" LastActivityDate="2018-11-29T12:11:50.013" Title="xConnect error NotSupportedException GetDataCurrentlyIndexedToken" Tags="|xconnect|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12907" PostTypeId="1" CreationDate="2018-07-18T03:24:18.913" Score="0" ViewCount="327" Body="&lt;p&gt;I am trying to setup CI/CD for sitecore habitat project. I just downloaded latest source and trying to setup the build definition. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm getting below error when restoring the package. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unable to resolve&#xA;  'D:\a\1\s\src\foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj'&#xA;  for '.NETFramework,Version=v4.6.2'.&#xA;      Unable to resolve 'D:\a\1\s\src\foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj'&#xA;  for '.NETFramework,Version=v4.6.2 (win)'.&#xA;      Unable to resolve 'D:\a\1\s\src\foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj'&#xA;  for '.NETFramework,Version=v4.6.2 (win-x64)'.&#xA;      Unable to resolve 'D:\a\1\s\src\foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj'&#xA;  for '.NETFramework,Version=v4.6.2 (win-x86)'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Below is just a build definition. I would like to setup build definition like this. &#xA;&lt;a href=&quot;https://visionsincode.wordpress.com/2017/08/31/continuous-integration-and-deployment-of-sitecore-habitathelix-as-an-azure-web-app/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://visionsincode.wordpress.com/2017/08/31/continuous-integration-and-deployment-of-sitecore-habitathelix-as-an-azure-web-app/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="1000" LastEditDate="2018-07-30T19:30:15.343" LastActivityDate="2018-07-30T19:30:15.343" Title="Nuget package restore failed in sitecore habitat project in vsts" Tags="|deployment|paas|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12908" PostTypeId="1" AcceptedAnswerId="12973" CreationDate="2018-07-18T05:10:00.187" Score="0" ViewCount="474" Body="&lt;p&gt;I would like to setup CI/CD for sitecore habitat project for learning purpose. I'm able to restore the nuget package but build is not succeeding.Below is my build definition.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JarVk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JarVk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have not done any changes in the sitecore habitat build. just downloaded the source from Github and trying. Build is happening properly in local visual studio without any issues but failed in the vsts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error as follows.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Done Building Project&#xA;  &quot;D:\a\1\s\src\Feature\Language\Tests\Sitecore.Feature.Language.Tests.csproj&quot;&#xA;  (default targets) -- FAILED. Project &quot;D:\a\1\s\Habitat.sln&quot; (1) is&#xA;  building&#xA;  &quot;D:\a\1\s\src\Feature\Maps\tests\Sitecore.Feature.Maps.Tests.csproj&quot;&#xA;  (35) on node 1 (default targets). PrepareForBuild:   Creating&#xA;  directory &quot;bin\Debug\&quot;.   Creating directory &quot;obj\Debug\&quot;. Done&#xA;  Building Project&#xA;  &quot;D:\a\1\s\src\Feature\Maps\tests\Sitecore.Feature.Maps.Tests.csproj&quot;&#xA;  (default targets) -- FAILED. Project &quot;D:\a\1\s\Habitat.sln&quot; (1) is&#xA;  building&#xA;  &quot;D:\a\1\s\src\Feature\Media\Tests\Sitecore.Feature.Media.Tests.csproj&quot;&#xA;  (36) on node 1 (default targets). PrepareForBuild:   Creating&#xA;  directory &quot;bin\Debug\&quot;.   Creating directory &quot;obj\Debug\&quot;.&#xA;       Copying file from &quot;obj\Debug\Sitecore.Foundation.Installer.Tests.dll.config&quot; to&#xA;  &quot;bin\Debug\Sitecore.Foundation.Installer.Tests.dll.config&quot;.&#xA;  CopyFilesToOutputDirectory:   Copying file from&#xA;  &quot;obj\Debug\Sitecore.Foundation.Installer.Tests.dll&quot; to&#xA;  &quot;bin\Debug\Sitecore.Foundation.Installer.Tests.dll&quot;.&lt;br&gt;&#xA;  Sitecore.Foundation.Installer.Tests -&gt;&#xA;  D:\a\1\s\src\Foundation\Installer\tests\bin\Debug\Sitecore.Foundation.Installer.Tests.dll&#xA;  Copying file from &quot;obj\Debug\Sitecore.Foundation.Installer.Tests.pdb&quot;&#xA;  to &quot;bin\Debug\Sitecore.Foundation.Installer.Tests.pdb&quot;. Done Building&#xA;  Project&#xA;  &quot;D:\a\1\s\src\Foundation\Installer\tests\Sitecore.Foundation.Installer.Tests.csproj&quot;&#xA;  (default targets). Project &quot;D:\a\1\s\Habitat.sln&quot; (1) is building&#xA;  &quot;D:\a\1\s\src\Foundation\LocalDatasource\tests\Sitecore.Foundation.LocalDatasource.Tests.csproj&quot;&#xA;  (46) on node 1 (default targets). &#xA;  ServiceCollectionExtensions.cs(7,18): error CS0234: The type or&#xA;  namespace name 'Mvc' does not exist in the namespace 'System.Web' (are&#xA;  you missing an assembly reference?)&#xA;  [D:\a\1\s\src\Foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj]&#xA;  ServiceCollectionExtensions.cs(8,17): error CS0234: The type or&#xA;  namespace name 'Extensions' does not exist in the namespace&#xA;  'Microsoft' (are you missing an assembly reference?)&#xA;  [D:\a\1\s\src\Foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj]&#xA;  ServiceCollectionExtensions.cs(13,20): error CS0234: The type or&#xA;  namespace name 'Diagnostics' does not exist in the namespace&#xA;  'Sitecore' (are you missing an assembly reference?)&#xA;  [D:\a\1\s\src\Foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj]&#xA;  Infrastructure\MvcControllerServicesConfigurator.cs(3,21): error&#xA;  CS0234: The type or namespace name 'Extensions' does not exist in the&#xA;  namespace 'Microsoft' (are you missing an assembly reference?)&#xA;  [D:\a\1\s\src\Foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj]&#xA;  Infrastructure\MvcControllerServicesConfigurator.cs(4,20): error&#xA;  CS0234: The type or namespace name 'DependencyInjection' does not&#xA;  exist in the namespace 'Sitecore' (are you missing an assembly&#xA;  reference?)&#xA;  [D:\a\1\s\src\Foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj]&#xA;  Infrastructure\MvcControllerServicesConfigurator.cs(6,54): error&#xA;  CS0246: The type or namespace name 'IServicesConfigurator' could not&#xA;  be found (are you missing a using directive or an assembly reference?)&#xA;  [D:\a\1\s\src\Foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj]&#xA;  Infrastructure\MvcControllerServicesConfigurator.cs(8,31): error&#xA;  CS0246: The type or namespace name 'IServiceCollection' could not be&#xA;  found (are you missing a using directive or an assembly reference?)&#xA;  [D:\a\1\s\src\Foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj]&#xA;  ServiceCollectionExtensions.cs(19,64): error CS0246: The type or&#xA;  namespace name 'IServiceCollection' could not be found (are you&#xA;  missing a using directive or an assembly reference?)&#xA;  [D:\a\1\s\src\Foundation\DependencyInjection\code\Sitecore.Foundation.DependencyInjection.csproj]&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  5 Warning(s)&#xA;23 Error(s) Time Elapsed 00:00:42.00 Process 'msbuild.exe' exited with code '1'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="73" LastEditDate="2018-07-19T08:27:22.360" LastActivityDate="2018-07-20T20:32:27.757" Title="Sitecore habitat build fails in vsts" Tags="|habitat|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12909" PostTypeId="1" CreationDate="2018-07-18T05:38:14.940" Score="4" ViewCount="1165" Body="&lt;p&gt;I got Sitecore 9 developer trial for 60 days which Sitecore is offering. I am able to download package and guides from this trial. But from where can I get license.xml file that I need to use in order to start the installation.&lt;/p&gt;&#xA;" OwnerUserId="3950" LastEditorUserId="2948" LastEditDate="2018-07-18T07:55:35.700" LastActivityDate="2018-07-26T18:01:19.210" Title="Unable to download the Sitecore packages with Sitecore trial version license" Tags="|licensing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12910" PostTypeId="2" ParentId="12906" CreationDate="2018-07-18T07:01:33.230" Score="1" Body="&lt;p&gt;It turned out this was caused by a configuration issue - some xml files were enabled on the collect role that shouldn't have been. One important thing to note is that even if the &quot;initialize.xml&quot; is disabled, it doesn't mean that other files in the same directory will be ignored.&lt;/p&gt;&#xA;" OwnerUserId="702" LastActivityDate="2018-07-18T07:01:33.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12911" PostTypeId="2" ParentId="12909" CreationDate="2018-07-18T07:10:06.973" Score="2" Body="&lt;p&gt;You should be able to download the packages from the site &lt;a href=&quot;https://dev.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net&lt;/a&gt; when you are logged in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Update2.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Alternative to download the packages:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another trick is, you can use the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_Instance_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Instance Manager (SIM 1.5)&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hzbxD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hzbxD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install it with your developer license.&lt;/li&gt;&#xA;&lt;li&gt;Click on the Get Sitecore from Home Tab.&lt;/li&gt;&#xA;&lt;li&gt;Select the versions you want to download.&lt;/li&gt;&#xA;&lt;li&gt;Wait and enjoy, while it downloads the package in your desired directory.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-07-18T07:10:06.973" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="12912" PostTypeId="2" ParentId="12903" CreationDate="2018-07-18T07:18:15.723" Score="1" Body="&lt;p&gt;This is happen due to TDS conflict, when more then on developer work on the same item or item referenced by more than one TDS projects, on that node some time we faces this issue, because the same item sync more than once so it show duplicate item error. Even Sitecore content tree not able to resolve which item need to use and that gives a .Net Object not set to and instance of an object error because that item not properly resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can interact for that item by sitecore rocks or by DBBrowser admin page.&#xA;For intract with DBBrowser you have to navigate to DBBrowser admin page as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;http://{hostname}/sitecore/admin/dbbrowser.aspx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope that your query has been reolved.&lt;/p&gt;&#xA;" OwnerUserId="1146" LastActivityDate="2018-07-18T07:18:15.723" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12913" PostTypeId="1" CreationDate="2018-07-18T07:39:41.267" Score="1" ViewCount="371" Body="&lt;p&gt;I couldn't create contacts list and getting following exception, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;HTTP POST&#xA;URL &lt;a href=&quot;http://x/sitecore/api/ssc/ListManagement/ContactList&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://x/sitecore/api/ssc/ListManagement/ContactList&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception Sitecore.XConnect.XdbSearchUnavailableException: The HTTP response was&#xA; not successful: InternalServerError&#xA;   at Sitecore.XConnect.Client.WebApi.SearchWebApiClient.&amp;lt;Search&amp;gt;d__9`1.MoveNext&#xA;()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot&#xA;ification(Task task)&#xA;   at Sitecore.XConnect.Client.Operations.SearchOperationInvoker.&amp;lt;Execute&amp;gt;d__2.M&#xA;oveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at Sitecore.XConnect.Search.SearchHelpers.&amp;lt;ExecuteSearch&amp;gt;d__6`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot&#xA;ification(Task task)&#xA;   at Sitecore.XConnect.Search.SearchDefinition`1.&amp;lt;Execute&amp;gt;d__22.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot&#xA;ification(Task task)&#xA;   at Sitecore.XConnect.Search.AsyncSearchHitEnumerator`1.&amp;lt;Create&amp;gt;d__8.MoveNext(&#xA;)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot&#xA;ification(Task task)&#xA;   at Sitecore.XConnect.Search.AsyncEntityQueryProvider.&amp;lt;ExecuteAsync&amp;gt;d__8`1.Mov&#xA;eNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3995" LastEditorUserId="2948" LastEditDate="2018-07-18T09:18:25.760" LastActivityDate="2018-07-18T09:18:25.760" Title="Can't create contact list" Tags="|xdb|sitecore-api|xconnect|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12914" PostTypeId="1" AcceptedAnswerId="12919" CreationDate="2018-07-18T08:55:56.957" Score="1" ViewCount="241" Body="&lt;p&gt;I am working on Sitecore Data Exchange Framework 1.4.1 with Sitecore 8.2 Update 1 wherein I have to read data from XML web service and write to Sitecore Content editor. I have created the Data exchange framework provider for reading the data following the DEF documentation. But when i run the pipeline batch finally, I'm getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;7/18/2018 7:52:25 AM  ERROR   Pipeline context is missing at least one&#xA;  required plugin. (pipeline: Read LMS Class Details from XML Data&#xA;  Pipeline, pipeline step: Iterate Rows from XML Data and Run Pipelines&#xA;  Pipeline Step, missing plugins:&#xA;  Sitecore.DataExchange.Plugins.IterableDataSettings) 7/18/2018 7:52:25&#xA;  AM    ERROR   Pipeline step will be skipped because the processor cannot&#xA;  processes the pipeline step. (pipeline: Read LMS Class Details from&#xA;  XML Data Pipeline, pipeline step: Iterate Rows from XML Data and Run&#xA;  Pipelines Pipeline Step, pipeline step processor:&#xA;  Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have also kept breakpoint in my code and trying to debug the code. But the debugger is not hitting the AddPlugins method. Not sure what I'm missing. Anybody have an idea on what could be the issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Vijayarajan&lt;/p&gt;&#xA;" OwnerUserId="3487" LastActivityDate="2018-07-18T13:18:36.787" Title="Data Exchange Framework is returning missing plugin error when running pipeline batch" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12915" PostTypeId="2" ParentId="11796" CreationDate="2018-07-18T09:12:40.283" Score="1" Body="&lt;p&gt;You can look into the below solution:&#xA;&lt;a href=&quot;https://stackoverflow.com/a/20605991/4129621&quot;&gt;https://stackoverflow.com/a/20605991/4129621&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you have to override LinkProvider and ItemResolver for that as mentioned in above URL.&lt;/p&gt;&#xA;" OwnerUserId="1146" LastActivityDate="2018-07-18T09:12:40.283" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12916" PostTypeId="1" AcceptedAnswerId="12937" CreationDate="2018-07-18T09:20:45.087" Score="5" ViewCount="166" Body="&lt;p&gt;My understanding is that the fields structure in routes data should be fairly flat, having just the fields and then a value beneath.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;---&#xA;name: about&#xA;placeholders:&#xA;  appname-main:&#xA;  - componentName: Heading&#xA;    fields:&#xA;      titleField:&#xA;        value: Page Title&#xA;      imageField:&#xA;        value:&#xA;          src: &quot;/assets/img/logo.png&quot;&#xA;          alt: Logo&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would like to instead provide a &quot;deeper&quot; set of data to a placeholder component. For example, I'd like to provide a image carousel component with an array of objects, each object containing image source, slide title, tags, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;---&#xA;name: about&#xA;placeholders:&#xA;  appname-main:&#xA;  - componentName: Carousel&#xA;    fields:&#xA;      data:&#xA;      - title:&#xA;          value: Image One&#xA;        img:&#xA;          value:&#xA;            src: &quot;/assets/img/img1.png&quot;&#xA;            alt: image one&#xA;        tags:&#xA;          value: tag1, tag2&#xA;      - title:&#xA;          value: Image Two&#xA;        img:&#xA;          value:&#xA;            src: &quot;/assets/img/img2.png&quot;&#xA;            alt: image two&#xA;        tags:&#xA;          value: tag2, tag3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this type of deeper data structure allowed? If so, how would the associated sitecore definitions file be structured?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, is this even a reasonable way to set things up? I am a front-end dev -- not a Sitecore dev -- so am unsure if this is how data would be setup within Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance for your help.&lt;/p&gt;&#xA;" OwnerUserId="3672" LastActivityDate="2018-07-19T15:08:27.973" Title="Providing &quot;deeper&quot; data to placeholders" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12917" PostTypeId="1" AcceptedAnswerId="12918" CreationDate="2018-07-18T12:28:42.500" Score="0" ViewCount="439" Body="&lt;p&gt;When I add some component to page design and select that page design for a page, the components present in page design are not reflecting in page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand, if I add components to a partial design, select them in page design, then the same is visible in page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using sitecore 8.1 with SXA 1.4&lt;/p&gt;&#xA;" OwnerUserId="3451" LastEditorUserId="135" LastEditDate="2019-12-11T06:58:52.887" LastActivityDate="2019-12-11T06:58:52.887" Title="Components added to Page Design are not showing in page" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12918" PostTypeId="2" ParentId="12917" CreationDate="2018-07-18T12:51:27.283" Score="2" Body="&lt;p&gt;Page Designs are just for grouping Partial Designs. And Partial Designs are the place where you should be dropping renderings. Looks like you need to do your homework with reading some docs:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/page_designs&quot; rel=&quot;nofollow noreferrer&quot;&gt;Page Designs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create and assign a page design - look &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/create_and_assign_a_page_design_in_the_content_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/create_and_assign_a_page_design_in_the_experience_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/page_design/create_and_change_a_partial_design&quot; rel=&quot;nofollow noreferrer&quot;&gt;Create and change a partial design&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Besides the official documentation you might be interested in reading some blogs (&lt;strong&gt;FIRST&lt;/strong&gt; hit on Google) too: &lt;a href=&quot;https://thecodeattic.wordpress.com/2018/05/08/partial-and-page-designs-in-sxa/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Partial and Page Designs in SXA&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-07-18T18:34:53.307" LastActivityDate="2018-07-18T18:34:53.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12919" PostTypeId="2" ParentId="12914" CreationDate="2018-07-18T12:59:11.523" Score="1" Body="&lt;p&gt;It means that &lt;code&gt;Iterate Rows from XML Data&lt;/code&gt; pipeline step processor is trying to find &lt;code&gt;IterableDataSettings&lt;/code&gt; plugin in the pipeline context and cannot find it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;IterateAndRunPipelinesStepProcessor&lt;/code&gt; processor is designed in order to loop through the collection and run pipeline(s) for a single object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to fix?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Verify if &lt;strong&gt;before&lt;/strong&gt; &lt;code&gt;Iterate Rows from XML Data&lt;/code&gt; pipeline step there is a pipeline step with assigned pipeline step processor that create new &lt;code&gt;IterableDataSettings&lt;/code&gt; plugin and adds them to pipeline context plugin's collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pipeline step should implement something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IEnumarable data = ReadXMLRows();&#xA;IterableDataSettings  iterableDataSettings = new IterableDataSettings(data)&#xA;context.Plugins.Add(iterableDataSettings);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Read LMS Class Details from XML Data Pipeline&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Read Xml Rows Pipeline Step (missed pipeline step)&lt;/li&gt;&#xA;&lt;li&gt;Iterate Rows from XML Data and Run Pipelines Pipeline Step&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-07-18T13:18:36.787" LastActivityDate="2018-07-18T13:18:36.787" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12920" PostTypeId="1" AcceptedAnswerId="12922" CreationDate="2018-07-18T13:36:05.527" Score="2" ViewCount="595" Body="&lt;p&gt;Could someone provide a rundown of Sitecore 9 XP SQL Server databases and their purpose? For example &quot;Xdb.Processing.Pools&quot;?&lt;/p&gt;&#xA;" OwnerUserId="1177" LastActivityDate="2018-07-18T14:18:51.830" Title="Rundown of Sitecore 9 XP SQL databases?" Tags="|sql-database|documentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12922" PostTypeId="2" ParentId="12920" CreationDate="2018-07-18T14:18:51.830" Score="4" Body="&lt;p&gt;&lt;strong&gt;The xDB Processing Pools database&lt;/strong&gt; performs the following functions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stores work items with IDs for newly created contacts and interactions. Work items are added by the xConnect Collection service role and consumed by the xDB Processing role during live aggregation processing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Acts as a retry mechanism for live aggregation, history aggregation and distributed processing by storing work items with IDs for contacts and interactions that could not be processed and should be retried. Work items are added by and consumed by xDB Processing role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The xDB Processing Tasks database&lt;/strong&gt; stores processing tasks related to history aggregation and distributed processing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The xDB Reference Data database&lt;/strong&gt; contains marketing reference content for all xDB data, such as definitions and taxonomies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The xDB Reporting database (Reporting DB)&lt;/strong&gt; contains data that has been aggregated or reduced by xDB Processing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The xDB Collection database&lt;/strong&gt; contains all contacts and interactions, including facets and events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Marketing Automation database&lt;/strong&gt; contains marketing automation plan and activity enrollments, and the automation pool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EXM database&lt;/strong&gt; stores the email dispatch queue used by the EXM Dispatch roles to handle email generation and dispatching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more information here: &lt;a href=&quot;https://doc.sitecore.net/developers/architecture-and-roles/roles/xp/storage-roles/xdb-collection-database.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/architecture-and-roles/roles/xp/storage-roles/xdb-collection-database.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-07-18T14:18:51.830" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12923" PostTypeId="1" AcceptedAnswerId="12925" CreationDate="2018-07-18T15:02:42.197" Score="2" ViewCount="187" Body="&lt;p&gt;Certain actions the contact does trigger goals. The triggering of the goals should be visible in the public site via profile completion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, we're not seeing the triggered goals in the KeyBehaviorCache. We would have to Abandon the session for it to refresh. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After triggering the goal we call 'FlushContactToXdb2'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we refresh the KeyBehaviorCache without abandoning session?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-07-19T15:13:26.857" Title="Refreshing KeyBehaviorCache after triggering a goal" Tags="|xdb|goals|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12924" PostTypeId="2" ParentId="12923" CreationDate="2018-07-18T15:28:58.657" Score="2" Body="&lt;p&gt;Key behavior cache (KBC) is read-only and is loaded when a session starts. KBC is updated when session is submitted and is not meant to store live data by design.&#xA;You could try combining it with current session and check goals in both KBC and &lt;code&gt;Tracker.Current.Session&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2018-07-18T15:28:58.657" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12925" PostTypeId="2" ParentId="12923" CreationDate="2018-07-18T16:38:32.280" Score="5" Body="&lt;p&gt;You can test if a goal has been triggered with this code. It looks in KBC and the current session.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool IfGoalAlreadyExists(ID goalId)&#xA;{&#xA;&#xA;    // this will get all the goals that have ever happened in the past for a user. Basically all history.   &#xA;    var behaviorCache = Tracker.Current.Session.Contact.GetKeyBehaviorCache().Goals.Any(x =&amp;gt; x.Id == goalId.ToGuid());&#xA;&#xA;    // this is all the goals that have happened on all the current pages, in the current session. So basically KBC + current pages = every goal that has been fired right now, for this user.&#xA;    var goalsTriggered = Tracker.Current.Session.Interaction.Pages.SelectMany(x =&amp;gt; x.PageEvents).Where(x =&amp;gt; x.IsGoal).ToList();&#xA;    var pages = goalsTriggered.Any(x =&amp;gt; x.PageEventDefinitionId == goalId.ToGuid());&#xA;&#xA;    return behaviorCache || pages;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-07-19T15:13:26.857" LastActivityDate="2018-07-19T15:13:26.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12926" PostTypeId="1" CreationDate="2018-07-18T23:04:35.400" Score="1" ViewCount="151" Body="&lt;p&gt;My &quot;Rebuild search indexes&quot; aborts and produces this error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;System.ArgumentException: it doesn't make sense to have a field that is neither indexed nor stored&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but which field, which Item ID? without the specifics..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a more comprehensive diagnostic? I'm in the /logs directory but nothing significant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I relaunch, and now I've got a different exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;RebuildSearchIndex|System.IO.IOException: Cannot overwrite:&#xA;  C:\Sitecore\AJN\Data\indexes__system_1a0w.fdt    at&#xA;  Lucene.Net.Store.FSDirectory.InitOutput(String name) &quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Not sure what the next step is? Thank you for any insight!&lt;/p&gt;&#xA;" OwnerUserId="1206" LastEditorUserId="690" LastEditDate="2018-07-19T13:37:21.460" LastActivityDate="2018-07-19T14:44:06.927" Title="Rebuild Search indexes error: &quot;System.ArgumentException&quot;" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12927" PostTypeId="2" ParentId="12885" CreationDate="2018-07-19T02:28:59.833" Score="2" Body="&lt;p&gt;The &lt;code&gt;Showconfig.aspx&lt;/code&gt; page should work in all browsers, and Firefox is listed on the &lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Compatibility table&lt;/a&gt; as a supported browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have confirmed this using Firefox 61 on both Sitecore 8.0 update-7, Sitecore 8.2 update-7 and Sitecore 9.0 update-1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This would suggest it is not an issue with Sitecore but an issue on your local install of Firefox. To try and debug the issue I would suggest:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Try in a &lt;a href=&quot;https://support.mozilla.org/en-US/kb/private-browsing-use-firefox-without-history&quot; rel=&quot;nofollow noreferrer&quot;&gt;private browsing window&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Try using a &lt;a href=&quot;https://portableapps.com/apps/internet/firefox_portable&quot; rel=&quot;nofollow noreferrer&quot;&gt;portable version of Firefox&lt;/a&gt;. &lt;/li&gt;&#xA;&lt;li&gt;If this works, then issue is something to do with your local install of Firefox. Try disabling all extensions you may be using. &lt;/li&gt;&#xA;&lt;li&gt;If that succeeds then re-enable each extension one by one until you find the plugin that is causing the issue.&lt;/li&gt;&#xA;&lt;li&gt;You could also try to &lt;a href=&quot;https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;refresh Firefox&lt;/a&gt;, which effectively resets all settings and add-ons.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As noted in the comments, the issue was due to an extension which was intefereing with the rendering of the config page/xml documents.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-07-19T02:28:59.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12929" PostTypeId="1" AcceptedAnswerId="12961" CreationDate="2018-07-19T03:31:02.637" Score="2" ViewCount="43" Body="&lt;p&gt;I'm going through Sitecore Commerce 8.2.1 architecture in &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html#Concepts/c_M_ProductionDeployments.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html#Concepts/c_M_ProductionDeployments.html&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that CM server doesn't have access to web database and CD server doesn't have access to Core database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would publishing work correctly in this case? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would it still be possible to use event queues in this solution?&lt;/p&gt;&#xA;" OwnerUserId="2938" LastEditorUserId="2056" LastEditDate="2018-07-20T10:22:49.440" LastActivityDate="2018-07-20T10:22:49.440" Title="Would publishing and event queue work based on solution provided in Sitecore Commerce 8.2.1 documentation?" Tags="|sitecore-commerce|solution-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12930" PostTypeId="1" AcceptedAnswerId="12967" CreationDate="2018-07-19T06:14:02.310" Score="3" ViewCount="1586" Body="&lt;p&gt;I have some items present in an item folder and want them to retrieve from Lucence index. There is a requirement that we have to order items in the Sitecore based on the order set on the Sitecore CMS, I have to retrieve them and show on the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here I'm using content search API and in the search query, I'm passing sort options based on the sortorder as below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; #region Sort Options&#xA;  SortOption sortOption = new SortOption() { SortFieldName = &quot;__sortorder&quot;, SortOrder = SortOrder.Ascending };&#xA;  #endregion&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I did the indexing but the results are partially order by sort order field &#xA;for example, I have set order as 1,2,3,4,5,6,7,8,9,10,11,12,13,14&#xA;Output of the items coming as : 1,10,11,12,13,14,2,3,4,5,6,....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also tried another option, I have added the sort order field in my search model as below to do sort based upon the field value&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [JsonProperty]&#xA; [IndexField(&quot;__sortorder&quot;)]&#xA; public string sortOrder { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But in output the sort order field value is coming but with Pipe (|) appended as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J81am.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J81am.png&quot; alt=&quot;Output&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest a way to retrieve the Sitecore items based on the sortorder field from the lucene indexes&lt;/p&gt;&#xA;" OwnerUserId="2473" LastEditorUserId="690" LastEditDate="2018-07-19T14:53:07.960" LastActivityDate="2020-11-20T06:12:09.613" Title="Results are not coming in the order using sortorder from lucene index" Tags="|content-search|lucene|sitecore-query|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12932" PostTypeId="1" CreationDate="2018-07-19T08:35:32.633" Score="2" ViewCount="32" Body="&lt;p&gt;I know this may be hard to answer out of context, but are there any gotchas or things to be aware of when using &lt;code&gt;AsParallel&lt;/code&gt; within a Sitecore scheduled task?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a scheduled task in our solution which generates an XML feed of all the products in our site (~500 products, each with ~10 subitems). Will using AsParallel to loop over these give much of a performance benefit, or could this actually cause problems in other areas due to using up all available threads?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know we can do timing/profiling locally to analyse the situation, but this does not really account for the impact to a CM/CD server which would be doing other stuff as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS we're using ContentSearch to retrieve the products, not Sitecore query before anyone tells me off! ;-)&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-07-19T08:35:32.633" Title="Is there an impact of using AsParallel in a scheduled task in Sitecore" Tags="|performance-optimization|scheduled-tasks|scaling|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12934" PostTypeId="1" AcceptedAnswerId="12947" CreationDate="2018-07-19T13:23:09.160" Score="3" ViewCount="130" Body="&lt;p&gt;I'm working on a custom field type for WFFM forms that records a cookie. Our save action uses the &lt;code&gt;ControlResult&lt;/code&gt;'s &lt;code&gt;FieldType&lt;/code&gt; property to know when it's a field of this type and do some extra logic on it. The property is added during the control's &lt;code&gt;GetResult&lt;/code&gt; method, which looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override ControlResult GetResult()&#xA;{&#xA;    ControlResult result = new ControlResult(this.FieldItemId, this.Name, (object) this.Value, this.ResultParameters, false)&#xA;    {&#xA;        FieldType = FieldType&#xA;    };&#xA;&#xA;    return result;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have a custom save action (&lt;code&gt;CustomSendEmail&lt;/code&gt;, which implements &lt;code&gt;ISaveAction&lt;/code&gt;) that reads the control results as an &lt;code&gt;AdaptedResultList&lt;/code&gt; in its &lt;code&gt;Execute&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to debug I observe two things:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;My custom &lt;code&gt;GetResult&lt;/code&gt; methods runs as expected, and I can observe the &lt;code&gt;FieldType&lt;/code&gt; property set on the result before it returns.&lt;/li&gt;&#xA;&lt;li&gt;By the beginning of the &lt;code&gt;Execute&lt;/code&gt; method, the control result still exists but the &lt;code&gt;FieldType&lt;/code&gt; is now &lt;code&gt;null&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What step am I missing for my &lt;code&gt;FieldType&lt;/code&gt; to survive into the save action?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Relevant details:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.1 update 3&lt;/li&gt;&#xA;&lt;li&gt;WFFM version consistent with Sitecore version&lt;/li&gt;&#xA;&lt;li&gt;Glass Mapper and Castle Windsor (although I don't think they affect anything here)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1164" LastActivityDate="2018-11-16T21:02:30.483" Title="FieldType of custom WFFM field disappearing" Tags="|wffm|fieldtype|custom-field|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12935" PostTypeId="2" ParentId="12926" CreationDate="2018-07-19T14:44:06.927" Score="1" Body="&lt;p&gt;You can check the &lt;code&gt;CrawlingLog&lt;/code&gt; and &lt;code&gt;SearchLog&lt;/code&gt; to see if there is any more detailed information (assuming you are checking the default log right now). If there isn't, you can turn on &lt;strong&gt;VerboseLogging&lt;/strong&gt; which will give you a ton more information to follow up on: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/indexing/the_search_and_indexing_log_files&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/indexing/the_search_and_indexing_log_files&lt;/a&gt;. (Different Sitecore versions may enable that slightly differently). You should be able to find the field with the issue in the logs after that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also check your &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; page to see the list of defined fields in each index. In all likely-hood, one of those things is not like the others and it may help you pinpoint which config in the directory is causing the issue. &lt;/p&gt;&#xA;" OwnerUserId="961" LastActivityDate="2018-07-19T14:44:06.927" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12936" PostTypeId="1" AcceptedAnswerId="12963" CreationDate="2018-07-19T14:52:38.963" Score="1" ViewCount="740" Body="&lt;p&gt;I'm creating a web shop based on Sitecore Commerce 9. We are not using SXA. I'm trying to show cart contents on the page. My environment was populated with the example project from SDK.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that when I add an item to cart and then load the cart, the lines contain only mysterious ProductId, and no reference to neither SellableItem nor Sitecore item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is repoducible with Postman:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add item to cart:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mQt3L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mQt3L.png&quot; alt=&quot;Add item to cart&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Load the cart - see that all the line properties are empty:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Yr1WD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Yr1WD.png&quot; alt=&quot;Load the cart&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use the following class to load the cart programatically and I get same result - no reference to the item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CartManager : ICartManager&#xA;{&#xA;    private CartServiceProvider _cartServiceProvider;&#xA;    private IStoreContext _storeContext;&#xA;    private IVisitorContext _visitorContext;&#xA;&#xA;    public CartManager(IVisitorContext visitorContext, IStoreContext storefrontContext)&#xA;    {&#xA;        this._cartServiceProvider = (CartServiceProvider)Factory.CreateObject(&quot;cartServiceProvider&quot;, true);&#xA;        this._storeContext = storefrontContext;&#xA;        this._visitorContext = visitorContext;&#xA;    }&#xA;&#xA;    public Cart GetCart()&#xA;    {&#xA;        var cart = _cartServiceProvider.LoadCart(new LoadCartRequest(this._storeContext.ShopName, &quot;Default&quot;, this._visitorContext.CustomerId));&#xA;        if(cart.Success)&#xA;        {&#xA;            return cart.Cart;&#xA;        }&#xA;        return null;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only property filled is the Id (in Postman) or the line.Product.ProductId (in the code) which doesn't refer to anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to get the SellableItem or the Sitecore item for the cart line?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;There is an error in the log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    6 22:01:28 INFO Executing action method &quot;Sitecore.Commerce.Plugin.Carts.CommandsController.AddCartLine (Sitecore.Commerce.Plugin.Carts)&quot; with arguments ([&quot;System.Web.Http.OData.ODataActionParameters&quot;]) - ModelState is Valid&#xA;6 22:01:28 ERROR Inventory.block.PopulateItemAvailability-No ProductArgument in Context&#xA;6 22:01:28 ERROR PopulateItemAvailabilityBlock.AllocationNull.|6042283|56042283&#xA;6 22:01:28 WARN PopulateItemAvailability.NotAvailable.|6042283|56042283&#xA;6 22:01:28 ERROR Pipeline completed with error&#xA;System.Exception: Error processing block: Preorderable.Block.PopulateItemPreorderableAvailability ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Sitecore.Commerce.Plugin.Preorderable.PopulateItemPreorderableAvailabilityBlock.&amp;lt;Run&amp;gt;d__2.MoveNext()&#xA;   --- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;   --- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.BasePipelineBlockRunner.&amp;lt;Run&amp;gt;d__3`1.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this is my IAddCartPipeline configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;        &quot;Name&quot;: &quot;IAddCartLinePipeline&quot;,&#xA;        &quot;Policies&quot;: [],&#xA;        &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.Carts&quot;,&#xA;        &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.CartLineArgument&quot;,&#xA;        &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;        &quot;Blocks&quot;: [&#xA;            {&#xA;                &quot;Name&quot;: &quot;ValidateSellableItemBlock&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.Catalog&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.CartLineArgument&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.CartLineArgument&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;AddCartLineBlock&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.Carts&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.CartLineArgument&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;AddContactBlock&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.Carts&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;ICalculateCartLinesPipeline&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.Carts&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;ICalculateCartPipeline&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.Carts&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;AddCartLineDigitalProductBlock&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.DigitalItems&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;AddCartLineWarrantyBlock&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.DigitalItems&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;AddCartLineInstallationBlock&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.DigitalItems&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;AddCartLineGiftCardBlock&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.GiftCards&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;PersistCartBlock&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.Carts&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            },&#xA;            {&#xA;                &quot;Name&quot;: &quot;WriteCartTotalsToContextBlock&quot;,&#xA;                &quot;Policies&quot;: [],&#xA;                &quot;Namespace&quot;: &quot;Sitecore.Commerce.Plugin.Carts&quot;,&#xA;                &quot;Receives&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;,&#xA;                &quot;Returns&quot;: &quot;Sitecore.Commerce.Plugin.Carts.Cart&quot;&#xA;            }&#xA;        ],&#xA;        &quot;Comment&quot;: &quot;&quot;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3754" LastEditorUserId="3754" LastEditDate="2018-07-19T20:16:52.480" LastActivityDate="2018-07-20T10:36:02.117" Title="Commerce cart lines don't have reference to products" Tags="|sitecore-commerce|commerce-catalog|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12937" PostTypeId="2" ParentId="12916" CreationDate="2018-07-19T15:08:27.973" Score="3" Body="&lt;p&gt;Array fields cannot be defined directly on an item, but the Content List field type can hold an array of references to other content items - each with their own set of fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an &lt;a href=&quot;https://github.com/Sitecore/jss/blob/cda6450b024d8fa801f88d0dac31ab335ab9ec06/samples/advanced-sample-react/data/routes/portfolio/en.yml#L48&quot; rel=&quot;nofollow noreferrer&quot;&gt;example&lt;/a&gt; of defining a content list field's data, and the &lt;a href=&quot;https://github.com/Sitecore/jss/blob/cda6450b024d8fa801f88d0dac31ab335ab9ec06/samples/advanced-sample-react/sitecore/definitions/components/ui-components.sitecore.js#L30&quot; rel=&quot;nofollow noreferrer&quot;&gt;field definition&lt;/a&gt; for the content list field.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-07-19T15:08:27.973" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12938" PostTypeId="1" CreationDate="2018-07-19T15:31:29.270" Score="-2" ViewCount="426" Body="&lt;p&gt;I created sitecore custom cache. the cache is showing up in the cache.aspx page (&#xA;sitecore/admin/cache.aspx) but showing the size as zero. but when i put log in code i am seeing the data saved in cache and getting retrieved from cache.&lt;/p&gt;&#xA;" OwnerUserId="4001" LastEditorUserId="73" LastEditDate="2018-07-19T18:12:43.657" LastActivityDate="2018-07-19T18:12:43.657" Title="Sitecore Custom Cache Size" Tags="|caching|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12939" PostTypeId="2" ParentId="12938" CreationDate="2018-07-19T15:48:20.360" Score="0" Body="&lt;p&gt;When you add your object to the cache, you have to use an object that is derived from a class that inherits ICacheable. The property GetDataLength is what tells Sitecore cache what size the object is. Please make sure that GetDataLength() is being assigned a value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see an example &lt;a href=&quot;https://laubplusco.net/create-custom-cache-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyCacheClass : ICacheable&#xA;{&#xA;    public long GetDataLength()&#xA;    {&#xA;        return 0;&#xA;    }&#xA;&#xA;    public bool Cacheable { get; set; }&#xA;    public bool Immutable { get; }&#xA;    public event DataLengthChangedDelegate DataLengthChanged;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-07-19T15:48:20.360" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12941" PostTypeId="1" CreationDate="2018-07-19T16:50:17.507" Score="1" ViewCount="678" Body="&lt;p&gt;I am trying to render an Ascx page from an MVC View Rendering in Sitecore. For example, in old Web Forms / Ascx to put placeholders you'd use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc:Placeholder runat=&quot;server&quot; key=&quot;placeholder-key&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the Mvc equivalent is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Placeholder(&quot;placeholder-key&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but I want to do the MVC equivalent of&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc:Sublayout runat=&quot;server&quot; Path=&quot;widget.ascx&quot; DataSource=&quot;Content&quot; Cacheable=&quot;True&quot; VaryByData=&quot;True&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or if I can't, is there a way to render the  in my MVC cshtml layuout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason is because I am trying to convert an old .ascx web page to a cshtml one. Any help please?&lt;/p&gt;&#xA;" OwnerUserId="2696" LastEditorUserId="1671" LastEditDate="2018-07-19T18:24:35.950" LastActivityDate="2018-07-19T18:24:55.263" Title="How to render a web form Sublayout in MVC layout?" Tags="|mvc|upgrade|webforms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12944" PostTypeId="1" AcceptedAnswerId="12952" CreationDate="2018-07-19T18:06:14.687" Score="3" ViewCount="898" Body="&lt;p&gt;Sitecore instance is doing a backup of configuration history every 20 minutes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not know where it comes from and what it is used for. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it necessary to keep all those backups? How to change the delay of the backup or simply remove it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If someone have a little information about this it would be greatly appreciated. Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's some screenshot of the path  :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EriTS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EriTS.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VAOCa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VAOCa.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4004" LastEditorUserId="2056" LastEditDate="2018-07-19T19:23:43.640" LastActivityDate="2018-07-20T00:58:18.600" Title="How to disable or change scheduling for backups of configuration history" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12945" PostTypeId="1" CreationDate="2018-07-19T18:16:14.237" Score="3" ViewCount="155" Body="&lt;p&gt;I have a simple script that we're running, where a content editor has bulk uploaded media and they want to go back through and provide attribution to the images (caption, alt text, photo credit) and it works, but on save the image that was attached get detached and lost.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The image is stored in the DB not as a file. If we only display a few fields (not the media field) it works fine but the editor can't see the image they're working on. I've tested with different permissions and that isn't a problem, we're receiving the following error:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Error&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6536 13:15:40 ERROR Could not run the 'getMediaStream' pipeline for '/sitecore/media library/PathToFile'. Original media data will be used.&#xA;Exception: System.ArgumentException&#xA;Message: Value of 'null' is not valid for 'stream'.&#xA;Source: System.Drawing&#xA;   at System.Drawing.Bitmap..ctor(Stream stream)&#xA;   at Sitecore.Resources.Media.SaveColorProfileProcessor.Process(GetMediaStreamPipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Resources.Media.Media.GetStreamFromPipeline(MediaOptions options, Boolean&amp;amp; canBeCached)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Script Sample&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$location = get-location&#xA;$items = Get-ChildItem -recurse $location | Where-Object { $_.Fields[&quot;Alt&quot;] -ne $null }&#xA;&#xA;ForEach ($item In $items) {&#xA;  if([Sitecore.Resources.Media.MediaManager]::HasMediaContent($item) -And $item.&quot;Alt&quot; -eq ''){&#xA;    Lock-Item -item $item&#xA;    Show-FieldEditor -item $item -Name &quot;alt&quot;,&quot;caption&quot;,&quot;Photo Credit&quot;,&quot;-Media&quot;, &quot;-Marketing asset&quot;, &quot;-Asset 1&quot;, &quot;-Asset 1&quot;, &quot;-Asset 2&quot;, &quot;-Asset 3&quot;, &quot;-File Path&quot;&#xA;    Unlock-Item -item $item&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Non-working Script Sample&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$location = get-location&#xA;$items = Get-ChildItem -recurse $location | Where-Object { $_.Fields[&quot;Alt&quot;] -ne $null }&#xA;&#xA;ForEach ($item In $items) {&#xA;  if([Sitecore.Resources.Media.MediaManager]::HasMediaContent($item) -And $item.&quot;Alt&quot; -eq ''){&#xA;    Lock-Item -item $item&#xA;    Show-FieldEditor -item $item -Name &quot;*&quot;, &quot;-Marketing asset&quot;, &quot;-Asset 1&quot;, &quot;-Asset 1&quot;, &quot;-Asset 2&quot;, &quot;-Asset 3&quot;, &quot;-File Path&quot;&#xA;    Unlock-Item -item $item&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4003" LastEditorUserId="4003" LastEditDate="2018-07-19T18:20:34.663" LastActivityDate="2018-07-19T18:20:34.663" Title="ShowFieldEditor on a media item detaching media" Tags="|media-library|powershell-extensions|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12946" PostTypeId="2" ParentId="12941" CreationDate="2018-07-19T18:24:42.377" Score="4" Body="&lt;p&gt;It's definitely not as simple as Vlad makes it out to be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Officially, Sitecore does not support this. You can mix and match MVC and WebForms in the same project, but only on a page-by-page basis. So either the page executes as Webforms (with Webforms components) or as MVC with MVC components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's been a few attempts to wedge around this, but I would not recommend going down an unsupported route. One example here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://horizontalintegration.blog/2015/09/15/mixing-sublayout-with-rendering-webforms-with-mvc-request/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://horizontalintegration.blog/2015/09/15/mixing-sublayout-with-rendering-webforms-with-mvc-request/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-07-19T18:24:42.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12947" PostTypeId="2" ParentId="12934" CreationDate="2018-07-19T18:58:08.323" Score="0" Body="&lt;p&gt;Ah, I think I may have figured this out. The &lt;code&gt;ControlResult&lt;/code&gt; get passed in to an &lt;code&gt;AdaptedControlResult&lt;/code&gt; before making it to the &lt;code&gt;Execute&lt;/code&gt; method's &lt;code&gt;AdaptedControlList&lt;/code&gt; parameter. The constructor for &lt;code&gt;AdaptedControlResult&lt;/code&gt; sets all of the parameters &lt;em&gt;except&lt;/em&gt; &lt;code&gt;FieldType&lt;/code&gt;, which it ignores:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public AdaptedControlResult(ControlResult result, IFieldProvider fieldProvider, bool simpleAdapt = false)&#xA;{&#xA;    Assert.ArgumentNotNull((object) result, &quot;result&quot;);&#xA;    Assert.ArgumentNotNull((object) fieldProvider, &quot;fieldProvider&quot;);&#xA;    this.FieldName = result.FieldName;&#xA;    this.Parameters = result.Parameters;&#xA;    this.FieldID = result.FieldID;&#xA;    this.Secure = result.Secure;&#xA;    ID result1;&#xA;    if (!ID.TryParse(result.FieldID, out result1))&#xA;    result1 = ID.Null;&#xA;    this.Value = simpleAdapt ? (result.Value ?? (object) string.Empty).ToString() : fieldProvider.GetAdaptedResult(result1, result.Value);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So there's no way to have that persist. Guess I'll have to use &lt;code&gt;Parameters&lt;/code&gt; instead.&lt;/p&gt;&#xA;" OwnerUserId="1164" LastActivityDate="2018-07-19T18:58:08.323" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12948" PostTypeId="2" ParentId="12944" CreationDate="2018-07-19T19:16:33.817" Score="1" Body="&lt;p&gt;The &lt;code&gt;Sitecore.Pipelines.Loader.DumpConfigurationFiles&lt;/code&gt; processor is responsible for creating these dumps of configuration files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is defined in Sitecore.Diagnostics.config like this:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.DumpConfigurationFiles, Sitecore.Kernel&quot;&amp;gt;&#xA;  &amp;lt;dumpFolder&amp;gt;$(dataFolder)/diagnostics/configuration_history&amp;lt;/dumpFolder&amp;gt;&#xA;  &amp;lt;zip&amp;gt;true&amp;lt;/zip&amp;gt;&#xA;  &amp;lt;files hint=&quot;raw:AddPath&quot;&amp;gt;&#xA;    &amp;lt;file path=&quot;/App_Config&quot; /&amp;gt;&#xA;    &amp;lt;file path=&quot;/Web.config&quot; /&amp;gt;&#xA;    &amp;lt;file path=&quot;/Global.asax&quot; /&amp;gt;&#xA;    &amp;lt;file path=&quot;/sitecore/shell/sitecore.version.xml&quot; /&amp;gt;&#xA;  &amp;lt;/files&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This agent is responsible for cleaning up this folder after 30 days:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;scheduling&amp;gt;&#xA;  &amp;lt;agent type=&quot;Sitecore.Tasks.CleanupAgent&quot;&amp;gt;&#xA;  &amp;lt;files&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/diagnostics/configuration_history&quot; pattern=&quot;*&quot; maxAge=&quot;30.00:00:00&quot; recursive=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/diagnostics/health_monitor&quot; pattern=&quot;*.*&quot; maxAge=&quot;07.00:00:00&quot; recursive=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;/files&amp;gt;&#xA;  &amp;lt;/agent&amp;gt;&#xA;&amp;lt;/scheduling&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Mind the &lt;code&gt;MaxAge&lt;/code&gt; parameter set to &lt;code&gt;30.00:00:00&lt;/code&gt;. You can maybe lower this number to &lt;code&gt;7.00:00:00&lt;/code&gt; to only store backups of configuration files for last seven days. Do this by creating patch config file. Do not change config directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I couldn't find any parameter that can be set to change interval between backups.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also remove the pipeline but I wouldn't recommend doing it. &lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="135" LastEditDate="2018-07-20T00:28:04.307" LastActivityDate="2018-07-20T00:28:04.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12949" PostTypeId="1" AcceptedAnswerId="12950" CreationDate="2018-07-19T19:44:50.257" Score="1" ViewCount="101" Body="&lt;p&gt;I have rebuild the path analyzer and I can see the paths as templates. It is showing Internet &amp;amp; Home item correctly. After that, it is just showing template names. Even some base templates are visible as path nodes in the path analyzer reports.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same reports showing correctly on QA environment, but this issue comes on production environment only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 Update-5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be highly appreciate&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="383" LastEditDate="2018-07-19T19:51:51.607" LastActivityDate="2018-07-19T21:14:43.957" Title="Sitecore Path Analyzer showing template names as paths" Tags="|path-analyzer|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12950" PostTypeId="2" ParentId="12949" CreationDate="2018-07-19T21:14:43.957" Score="4" Body="&lt;p&gt;Please double check if you have the &quot;Group map data&quot; selected. This would group nodes by template.&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-07-19T21:14:43.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12951" PostTypeId="2" ParentId="12812" CreationDate="2018-07-19T21:27:23.813" Score="2" Body="&lt;p&gt;In addition to Adam's answer, you can hide the extra markup with CSS so it doesn't look that weird when browsing the app in the same session :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;code {&#xA;  display: none;&#xA;}&#xA;.scChromeData{&#xA;  display: none;&#xA;}&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-07-19T21:27:23.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12952" PostTypeId="2" ParentId="12944" CreationDate="2018-07-20T00:58:18.600" Score="1" Body="&lt;p&gt;The backup of the configuration files is a feature that was added back in Sitecore 8 update-3, primarily introduced to help Sitecore Support with diagnostics information when trying to resolve issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Sitecore.Pipelines.Loader.DumpConfigurationFiles&lt;/code&gt; processor is responsible for creating these dumps/zip, but note that this is called from the &lt;code&gt;initialize&lt;/code&gt; pipeline which means that this &lt;em&gt;will only happen once on startup&lt;/em&gt;, and it is &lt;strong&gt;not&lt;/strong&gt; a processor that runs periodically or on a schedule. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there multiple backup files that &lt;em&gt;appear&lt;/em&gt; to be 20 mins apart it is purely coincidental, happening after a deployment or App Pool restart for whatever reason. If this is your local machine then it may be after a code deployment then it is probably again coincidental with a deploy from Visual Studio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note:&lt;/em&gt; If this is happening on a Production server then I would be more worried about this issue, and there is a different underlying issue causing your application to restart too often. Do not just patch the processor out, instead figure out what the problem is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As useful as this may be, it is not strictly required, you can remove the processor with a patch config if you so wish:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Pipelines.Loader.DumpConfigurationFiles, Sitecore.Kernel&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If this on your local machine, you may wish to use the &lt;a href=&quot;https://gist.github.com/kamsar/8c9efc80e72e6ada8304&quot; rel=&quot;nofollow noreferrer&quot;&gt;Developer Performance configs&lt;/a&gt; from Kam Figy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or as Peter points out &lt;a href=&quot;https://sitecore.stackexchange.com/a/12948/135&quot;&gt;in his answer&lt;/a&gt;, change the &lt;code&gt;maxAge&lt;/code&gt; property of the &lt;code&gt;CleanupAgent&lt;/code&gt; task. For example, to only keep files less than 6 hours old, patch the config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;scheduling&amp;gt;&#xA;  &amp;lt;agent type=&quot;Sitecore.Tasks.CleanupAgent&quot;&amp;gt;&#xA;    &amp;lt;files&amp;gt;&#xA;      &amp;lt;remove folder=&quot;$(dataFolder)/diagnostics/configuration_history&quot; set:maxAge=&quot;06:00:00&quot; /&amp;gt;&#xA;    &amp;lt;/files&amp;gt;&#xA;  &amp;lt;/agent&amp;gt;&#xA;&amp;lt;/scheduling&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more about the processors in &lt;a href=&quot;https://jammykam.wordpress.com/2015/12/18/periodically-saving-information-about-cache-and-rendering-statistics/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blog post&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-07-20T00:58:18.600" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12953" PostTypeId="1" AcceptedAnswerId="23316" CreationDate="2018-07-20T02:22:26.877" Score="2" ViewCount="1688" Body="&lt;p&gt;If we wanted to provide data (get/set operations on content tree, analytics, personalization, tracking data) from Sitecore 9 to native mobile apps (not based on Sitecore Mobile SDK and Xamarin but created using IOS swift and Android java) , in this case Sitecore 9 item web service and XConnect can be utilized or XConnect with JSS can be utilized?&lt;/p&gt;&#xA;&lt;p&gt;As per inputs from  JSS slack channel Layout service can helpful but:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;If user accessing the different-2 pages from mobile and in one of the page, one rendering having personalization based on Goal or User persona (Profile card) then Layout service will return personalized content for that page?&lt;/p&gt;&#xA;&lt;p&gt;How to push tracking data for personalization ( which cookies value needs to be set from app) from native mobile app?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Please let me know, what are the ways or recommended approach to share data (content, analytics, personalization, tracking) from Sitecore 9 to native mobile apps.&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-12-05T19:24:20.473" Title="Share Sitecore content to Native Mobile Apps (IOS swift and Android java)" Tags="|personalization|jss|sitecore-services-client|item-web-api|mobile|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12954" PostTypeId="1" AcceptedAnswerId="13012" CreationDate="2018-07-20T05:42:38.247" Score="0" ViewCount="398" Body="&lt;p&gt;When try to access path map reports using Sitecore Path Analyzer, it shows following error in GUI&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;No data was found for the selected map in the selected date range.&#xA;  Please try selecting a different map or changing the date range.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And when checked in the log files, I can see following error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6492 00:07:15 ERROR [Sitecore Services]: HTTP GET URL http://hostname/sitecore/api/PathAnalyzer/tree?treeDefinitionId={68E713D8-A382-4378-8FB0-9D7F7AD14B25}&amp;amp;start=20180522T000000&amp;amp;end=20180722T000000&amp;amp;language=en&amp;amp;group={00000000-0000-0000-0000-000000000000}&amp;amp;filter=null&#xA;&#xA;Exception System.ArgumentException: Illegal characters in path.    at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)    at System.IO.Path.GetFileName(String path)    at System.IO.Path.GetFileNameWithoutExtension(String path)    at Sitecore.PathAnalyzer.Services.Data.NodeFactory.ResolveNodeName(Node node)    at Sitecore.PathAnalyzer.Services.Data.NodeFactory.ResolveName(Node node) at Sitecore.PathAnalyzer.Services.Data.NodeFactory.CreateNodeViewModel(Node node, Boolean includeChildren)    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)    at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)    at System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, Encoding effectiveEncoding)    at System.Net.Http.Formatting.JsonMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, Encoding effectiveEncoding)    at System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.WriteToStreamAsync(Type type, Object value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken)&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.PathAnalyzer.Services.Caching.CacheableResponseAttribute.&amp;lt;OnActionExecutedAsync&amp;gt;d__9.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext() 6492 00:07:15 ERROR [Sitecore Services]: HTTP GET URL http://hostname/sitecore/api/PathAnalyzer/tree?treeDefinitionId={68E713D8-A382-4378-8FB0-9D7F7AD14B25}&amp;amp;start=20180522T000000&amp;amp;end=20180722T000000&amp;amp;language=en&amp;amp;group={00000000-0000-0000-0000-000000000000}&amp;amp;filter=null&#xA;&#xA;Exception System.ArgumentException: Illegal characters in path.    at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)    at System.IO.Path.GetFileName(String path)    at System.IO.Path.GetFileNameWithoutExtension(String path)    at Sitecore.PathAnalyzer.Services.Data.NodeFactory.ResolveNodeName(Node node)    at Sitecore.PathAnalyzer.Services.Data.NodeFactory.ResolveName(Node node) at Sitecore.PathAnalyzer.Services.Data.NodeFactory.CreateNodeViewModel(Node node, Boolean includeChildren)    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)    at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)    at System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, Encoding effectiveEncoding)    at System.Net.Http.Formatting.JsonMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, Encoding effectiveEncoding)    at System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.WriteToStreamAsync(Type type, Object value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken)&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.PathAnalyzer.Services.Caching.CacheableResponseAttribute.&amp;lt;OnActionExecutedAsync&amp;gt;d__9.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Strange thing is, when &quot;Group Map Data&quot; checkbox is selected (to group data by templates) reports showing without any errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be highly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 Update-5&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="383" LastEditDate="2018-07-21T07:09:52.523" LastActivityDate="2018-07-24T20:50:59.530" Title="Sitecore Path Analyzer Return Illegal Characters Error for Reports" Tags="|path-analyzer|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12955" PostTypeId="1" CreationDate="2018-07-20T06:11:04.027" Score="0" ViewCount="72" Body="&lt;p&gt;I'm going through Sitecore Commerce 8.2.1 architecture in &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html#Concepts/c_M_ProductionDeployments.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreCommerce/DevOpsGuide/en-us/index.html#Concepts/c_M_ProductionDeployments.html&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are the Commerce services servers separate physical servers for each engine role or is it just 1 server with multiple roles? I'm asking this because the description below the diagram seems to suggest that there is just 1 server with 4 cores and 7GB memory required but the diagram suggests that there should be at least three servers for commerce services. &lt;/p&gt;&#xA;" OwnerUserId="2938" LastEditorUserId="2056" LastEditDate="2018-07-20T06:47:49.513" LastActivityDate="2018-07-20T18:40:35.577" Title="In Commerce 8.2.1 Devops documentation, are the servers in commerce services layer separate servers or 1 server with separate engine roles?" Tags="|sitecore-commerce|solution-architecture|documentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12956" PostTypeId="2" ParentId="12955" CreationDate="2018-07-20T06:33:48.710" Score="1" Body="&lt;p&gt;Your setup depends on many factors like traffic, performance factors, scalability requirements, budget, devops practices, maintenance procedures, environment constrains and so on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see one example of the setup in documentation. It is only high level illustration how it could look like.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would start with one server with all engine roles. If you see that it is not sufficient and you have performance issues, you can easily remove site for engine role you don't need at that server and move it to separate server dedicated only to this engine role.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-20T06:49:03.187" LastActivityDate="2018-07-20T06:49:03.187" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12957" PostTypeId="1" AcceptedAnswerId="12977" CreationDate="2018-07-20T06:58:20.300" Score="1" ViewCount="2384" Body="&lt;p&gt;I've set up an Xp1 Installation on Windows Server 2012R2 (Infrastructure you can find &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12671/problems-installing-sxc-9-update-1-installation-on-xp1-9-0-2-cm?noredirect=1#comment19544_12671&quot;&gt;here&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything works fine so far only the XConnect is not working right. I have a dedicated Server where xConnect is installed, so it's not installed on my CM or CD Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Dashboard, you can see only a generic error message&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q5JnT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q5JnT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in the Logfiles, I get the following error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    3208 15:24:00 INFO  Cache created: 'ExperienceAnalytics.DimensionItems' (max size: 2MB, running total: 3297MB)&#xA;    4512 15:24:00 ERROR [Experience Analytics]: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---&amp;gt; System.IO.IOException: Unable to read data from the transport connection: Eine vorhandene Verbindung wurde vom Remotehost geschlossen. ---&amp;gt; System.Net.Sockets.SocketException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen&#xA;    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;    --- End of inner exception stack trace ---&#xA;    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;    at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)&#xA;    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)&#xA;    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)&#xA;    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&#xA;    at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)&#xA;    at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;    at System.Net.ConnectStream.WriteHeaders(Boolean async)&#xA;    --- End of inner exception stack trace ---&#xA;    at System.Net.HttpWebRequest.GetResponse()&#xA;    at Sitecore.Xdb.Reporting.Datasources.Remote.RemoteReportDataSourceProxy.GetData(ReportDataQuery query)&#xA;    at Sitecore.Xdb.Reporting.ReportDataProvider.ExecuteQueryWithCache(ReportDataQuery query, ReportDataSource dataSource, CachingPolicy cachingPolicy)&#xA;    at Sitecore.Xdb.Reporting.ReportDataProvider.GetData(String dataSourceName, ReportDataQuery query, CachingPolicy cachingPolicy)&#xA;    at Sitecore.ExperienceAnalytics.Api.ReportDataService.ExecuteQuery(IReportQueryData queryData, CachingPolicy cachingPolicy)&#xA;    at Sitecore.ExperienceAnalytics.Api.ReportingService.RunQuery(ReportQuery reportQuery)&#xA;    at Sitecore.ExperienceAnalytics.Api.Http.AnalyticsDataController.Get(ReportQuery reportQuery)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the following Certificates are installed on my CM, CD and xConnect Server they are all Ca Certified by our internal root Ca&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gI9By.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gI9By.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my IIS on my xConnect all https connections are set right I think.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Wpha.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Wpha.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and every IIS AppPool on CM and xConnect has access to the certificates &lt;/p&gt;&#xA;&#xA;&lt;p&gt;the Thumbprint from the xConnectCert you can find in the connection string on the CM server for the xConnect sites&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both Certificates are trusted certificates&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VFTVX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VFTVX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried to search in Wireshark, but I don't know where I have to look for or how I can see if it is not working right&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z0MVV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z0MVV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also read this post - &lt;a href=&quot;https://kamsar.net/index.php/2017/10/All-about-xConnect-Security/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2017/10/All-about-xConnect-Security/&lt;/a&gt; and I think I can't find any mistakes on my site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried this Stackexchange Article and added the Registry key like described in the article: &lt;a href=&quot;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&quot;&gt;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&lt;/a&gt; and it is still the same problem.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I can open each of my xConnect sites on the xConnect Server and every site shows the time&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kcozV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kcozV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when someone needs some more information please tell me what else to post.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="4050" LastEditDate="2020-01-14T22:38:16.517" LastActivityDate="2020-01-14T22:38:16.517" Title="ERROR [Experience Analytics] ... The underlying connection was closed" Tags="|xconnect|sitecore-install-framework|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="12958" PostTypeId="2" ParentId="12741" CreationDate="2018-07-20T07:20:56.950" Score="2" Body="&lt;p&gt;Sitecore support asked if I can just change over to use the built-in Microsoft DI, and gave arguments that it is faster and better supported by sitecore. They mentioned that this &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.197841/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;197841&lt;/a&gt; may fix the issue. At the time they didn't have a release for 9.0.2 ready, but it looks like it's up now. Instead I bit the bullet and changed over to Microsoft DI.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-07-20T07:20:56.950" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12959" PostTypeId="2" ParentId="12930" CreationDate="2018-07-20T08:18:10.877" Score="2" Body="&lt;p&gt;Standard sortorder field is listed under the exclude fields in the default index configuration of all the providers including Lucene, Solr and Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to comment out or remove it from there and then rebuild index again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tl3ZU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tl3ZU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3318" LastActivityDate="2018-07-20T08:18:10.877" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12961" PostTypeId="2" ParentId="12929" CreationDate="2018-07-20T10:21:01.730" Score="0" Body="&lt;p&gt;I believe that there is only high level diagram of the setup depicted in the documentation which is focusing mainly on Sitecore Commerce part and it's connections. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All connections which are relevant for Sitecore XP setup are still valid.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore CM server should have access to master, web and core databases among other connections&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore CD server should have access to web and core databases among other connections&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Nothing is changed here. You can follow normal publishing process as before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Event queue can be used without any problem as you would do with pure Sitecore CMS solution. Sitecore Commerce is not affecting this setup.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-07-20T10:21:01.730" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12962" PostTypeId="2" ParentId="9671" CreationDate="2018-07-20T10:30:32.157" Score="2" Body="&lt;p&gt;This has been fixed in Unicorn 4.0.4 and onward.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Full list of fixes in 4.0.4 here: &lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn/milestone/4?closed=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreUnicorn/Unicorn/milestone/4?closed=1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unicorn and Rainbow relies on running in a site context where dataprovider level features such as Language Fallback and EnforceVersionPresence are disabled - so it can read &quot;what's really stored&quot; without any artificial API injection.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-08-19T15:03:12.527" LastActivityDate="2018-08-19T15:03:12.527" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12963" PostTypeId="2" ParentId="12936" CreationDate="2018-07-20T10:33:27.557" Score="1" Body="&lt;p&gt;The fix for this is problem is described in this post: &lt;a href=&quot;https://sitecore.stackexchange.com/a/10592/3754&quot;&gt;https://sitecore.stackexchange.com/a/10592/3754&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, the Commerce Engine developed from SDK sample and stripped of the plugin samples is missing some pipelines, that are responsible for filling out the entities.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.Framework.Pipelines.Definitions.Extensions;&#xA;&#xA;// You may need to add references to these plugins&#xA;using Sitecore.Commerce.Plugin.Carts;&#xA;using Sitecore.Commerce.Plugin.Catalog;&#xA;using Sitecore.Commerce.Plugin.Coupons;&#xA;using Sitecore.Commerce.Plugin.Fulfillment;&#xA;using Sitecore.Commerce.Plugin.Payments;&#xA;using Sitecore.Commerce.Plugin.Promotions;&#xA;using Sitecore.Commerce.Plugin.Tax;&#xA;&#xA;namespace Sitecore.Commerce.Engine&#xA;{&#xA;    public static class ServiceCollectionExtensions&#xA;    {&#xA;        public static IServiceCollection ConfigureCartPipelines(&#xA;            this IServiceCollection services)&#xA;        {&#xA;            services.Sitecore().Pipelines(config =&amp;gt; config&#xA;                .ConfigurePipeline&amp;lt;ICalculateCartLinesPipeline&amp;gt;(builder =&amp;gt; builder&#xA;                    .Add&amp;lt;PopulateCartLineItemsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesPriceBlock&amp;gt;()&#xA;                    .Add&amp;lt;ValidateCartLinesPriceBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesSubTotalsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesFulfillmentBlock&amp;gt;()&#xA;                    .Add&amp;lt;ValidateCartCouponsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesPromotionsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesTaxBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartLinesTotalsBlock&amp;gt;(),&#xA;                    order: 1001&#xA;                )&#xA;&#xA;                .ConfigurePipeline&amp;lt;ICalculateCartPipeline&amp;gt;(builder =&amp;gt; builder&#xA;                    .Add&amp;lt;CalculateCartSubTotalsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartFulfillmentBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartPromotionsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartTaxBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartTotalsBlock&amp;gt;()&#xA;                    .Add&amp;lt;CalculateCartPaymentsBlock&amp;gt;()&#xA;                )&#xA;&#xA;                .ConfigurePipeline&amp;lt;IAddPaymentsPipeline&amp;gt;(builder =&amp;gt; builder&#xA;                    .Add&amp;lt;ValidateCartHasFulfillmentBlock&amp;gt;()&#xA;                        .After&amp;lt;ValidateCartAndPaymentsBlock&amp;gt;()&#xA;                )&#xA;            );&#xA;&#xA;            return services;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which you can then call in your ConfigureServices class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;services.ConfigureCartPipelines();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3754" LastEditorUserId="3754" LastEditDate="2018-07-20T10:36:02.117" LastActivityDate="2018-07-20T10:36:02.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12966" PostTypeId="2" ParentId="12953" CreationDate="2018-07-20T11:32:21.793" Score="6" Body="&lt;p&gt;In my point of view, JSS is pretty suite for your requirements. I've implemented something like you want with Xamarin. But I think it doesn't matter with which technology to do that because I didn't use any Xamarin Sitecore specific frameworks or tools. I only send simple HTTP requests to LayoutService.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If user accessing the different-2 pages from mobile and in one of the page, one rendering having personalization based on Goal or User persona (Profile card) then Layout service will return personalized content for that page?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Yes, Layout Service returns the data with applied personalization rules. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;How to push tracking data for personalization ( which cookies value needs to be set from app) from native mobile app?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Actually there are a few things that you need to take into account:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You need to pass &quot;tracking=true&quot; parameter for getting personalized results (&lt;code&gt;{YOUR_DOMAIN}/sitecore/api/layout/render/jss?item=/&amp;amp;sc_lang=en&amp;amp;tracking=true&amp;amp;sc_apikey={F3A7F3C9-0D0D-4F57-8D8A-5BFCAA4C349B}&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;You need to identify user if you want to get personalized results otherwise you will receive a content as for anonymous user&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I added a web service with the following method to identify contact:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public JsonResult Identify(string email)&#xA;    {&#xA;        if (email == null) throw new ArgumentNullException(nameof(email));&#xA;&#xA;        Tracker.Current.Session.IdentifyAs(&quot;identification-source-name&quot;, email);&#xA;&#xA;        return Json(true, JsonRequestBehavior.AllowGet);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I send a request to this method with contact identificator (email in my case) and it returns me &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; cookie. You need to pass this cookie with all requests to JSS. It allows you to retrieve personalized content for your contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following method I've used for forgetting user in case I need to change context contact:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public JsonResult ForgetCurrentContact()&#xA;    {&#xA;        if (Tracker.Current != null)&#xA;        {&#xA;            Tracker.Current.EndVisit(true);&#xA;        }&#xA;&#xA;        HttpContext.Session.Abandon();&#xA;&#xA;        return Json(true, JsonRequestBehavior.AllowGet);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2018-07-20T13:12:14.107" LastActivityDate="2018-07-20T13:12:14.107" CommentCount="15" ContentLicense="CC BY-SA 4.0" />
  <row Id="12967" PostTypeId="2" ParentId="12930" CreationDate="2018-07-20T12:34:14.110" Score="1" Body="&lt;p&gt;Issue is basically sorting is happening on the sortorder field which is returning the data in string format. So to resolve this issue I have added a field in  Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config file as below under &lt;code&gt;&amp;lt;fieldNames hint=&amp;quot;raw:AddFieldByFieldName&amp;quot;&amp;gt;&lt;/code&gt; root.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&amp;quot;__sortorder&amp;quot; storageType=&amp;quot;YES&amp;quot; indexType=&amp;quot;TOKENIZED&amp;quot;    vectorType=&amp;quot;NO&amp;quot; boost=&amp;quot;1f&amp;quot; type=&amp;quot;System.Int32&amp;quot; settingType=&amp;quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&amp;quot;&amp;gt;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;In the above line, I have added the type to int32 format then sort order field results in integer format instead of string format.&lt;/p&gt;&#xA;" OwnerUserId="2473" LastEditorUserId="2473" LastEditDate="2020-11-20T06:12:09.613" LastActivityDate="2020-11-20T06:12:09.613" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12970" PostTypeId="2" ParentId="8791" CreationDate="2018-07-20T16:14:35.187" Score="4" Body="&lt;p&gt;This happened to me recently when I tried to install a new certificate and put it in the Trusted Root Certificate Authority. Turns out, this makes Windows unhappy, as this store is meant for self-signed certificates. (A full explanation is in this KB article &lt;a href=&quot;https://support.microsoft.com/en-us/help/2801679/ssl-tls-communication-problems-after-you-install-kb-931125&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.microsoft.com/en-us/help/2801679/ssl-tls-communication-problems-after-you-install-kb-931125&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What deepak's Powershell script does is identify the non-self signed certificates in that store and move them to the Intermediate Certificate Authorities store. I'll repeat it here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | &#xA;    Where-Object {$_.Issuer -ne $_.Subject} | &#xA;    Move-Item -Destination Cert:\LocalMachine\CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I didn't figure this out myself, I read a few blog posts and other stack exchange answers, but this is what got me past the problem today.&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2018-07-20T16:14:35.187" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12971" PostTypeId="1" AcceptedAnswerId="12975" CreationDate="2018-07-20T17:31:08.293" Score="4" ViewCount="246" Body="&lt;p&gt;We are on &lt;code&gt;Sitecore 8.2&lt;/code&gt;. When looking at &lt;code&gt;Path Analyzer&lt;/code&gt;, is there a way to do a &quot;filter out&quot;? We are trying to see if there's a way to filter out all of the most visited pages to be able to see which pages do not get visited a lot.&lt;/p&gt;&#xA;" OwnerUserId="4011" LastEditorUserId="2056" LastEditDate="2018-07-20T21:42:16.067" LastActivityDate="2018-08-14T05:53:08.347" Title="Filter Out data from Path Analyzer" Tags="|path-analyzer|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12972" PostTypeId="2" ParentId="12955" CreationDate="2018-07-20T18:40:35.577" Score="1" Body="&lt;p&gt;Little Extrakt From pur live project: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our project we even had everything at one machine per environment.&#xA;So in the end a CM Server with sitecore and the commerce engine  and the same for CD ans eben only oke Single CD Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This setup is the most minimal scenario but already performant enough for our use Case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in General if that is Not enough ist always quiet easy zu scale up with the given Architecture.&lt;/p&gt;&#xA;" OwnerUserId="3737" LastActivityDate="2018-07-20T18:40:35.577" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12973" PostTypeId="2" ParentId="12908" CreationDate="2018-07-20T20:32:27.757" Score="0" Body="&lt;p&gt;I set up a quick VSTS build against Habitat &lt;code&gt;master&lt;/code&gt; and was able to get it working, through the Build step at least. (Tests would require more work as FakeDB needs a Sitecore &lt;code&gt;license.xml&lt;/code&gt;.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wpbS1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wpbS1.png&quot; alt=&quot;build configuration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some notes on the config:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I used the ASP.NET build template&lt;/li&gt;&#xA;&lt;li&gt;Defaulted to nuget 4.4.1 for me&lt;/li&gt;&#xA;&lt;li&gt;Needed to configure the nuget restore to use the Habitat nuget.config&lt;/li&gt;&#xA;&lt;li&gt;You need to set the &lt;code&gt;BuildConfiguration&lt;/code&gt; variable to &lt;code&gt;debug&lt;/code&gt; because of &lt;a href=&quot;https://github.com/Sitecore/Habitat/issues/435&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Otherwise it &quot;just worked.&quot;&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-07-20T20:32:27.757" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12975" PostTypeId="2" ParentId="12971" CreationDate="2018-07-20T21:38:05.553" Score="2" Body="&lt;p&gt;Path Analyzer is not the right tool for your requirements. It has it's own different purpose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should leverage more Experience Analytics data and their Behaviour reports where you have all page visit data -&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_behavior_tab_reports&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_behavior_tab_reports&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As it is not possible OOTB to export these data, I would suggest you to use this handy Experience Extractor tool to export the data to Excel and there you can do all the magic with  filtering out data: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/E/Experience_Extractor.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/E/Experience_Extractor.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other solution would be to create custom report which will basically invert Behaviour report and show pages from the end which have lowest number of visits.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-08-14T05:53:08.347" LastActivityDate="2018-08-14T05:53:08.347" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12976" PostTypeId="2" ParentId="12971" CreationDate="2018-07-20T23:37:00.917" Score="4" Body="&lt;p&gt;You can use the metrics filter to filter out the paths that have high visits. Please keep in mind is that it's a path analysis tool, so even if the high visit pages are out, it will show the parts of the paths to low visit pages that have high aggregated visits at the levels closer to the root. Hope it makes sense.&#xA;I'd suggest using the table view after the filter is applied where you can sort by Visits. Hope this helps!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-alex&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QQ91z.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QQ91z.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-07-20T23:37:00.917" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12977" PostTypeId="2" ParentId="12957" CreationDate="2018-07-20T23:44:47.340" Score="1" Body="&lt;p&gt;Experience Analytics API is hosted on the Sitecore Reporting Server, which is outside of XConnect. Depending on how your configuration, this could be either the same server as CM or a dedicated one. I'd skip XConnect connection troubleshooting and looked into whether you have a remote reporting server configured.&#xA;I believe the following article could help:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/reporting-service/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/reporting-service/index.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-07-20T23:44:47.340" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12978" PostTypeId="1" AcceptedAnswerId="12981" CreationDate="2018-07-21T11:33:13.207" Score="3" ViewCount="179" Body="&lt;p&gt;Sitecore Commerce 9.0.1 is installed on my machine and I want to install Sitecore Commerce 9.0.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Commerce doesn't include any prefix/postfix with the index name like Sitecore 9.0 or other version does. (For example: XXX_web_index). Sitecore Commerce directly creates three indexes without any prefix/postfix (For example: CatalogItemsScope, CustomersScope and OrdersScope).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Commerce 9.0.1 is already installed on my machine. So, the above-mentioned indexes are already created on my installed SOLR. Since I want to install Sitecore Commerce 9.0.2 on this same machine, I must have to create these indexes with other names. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuration file &quot;\Configuration\Commerce\Solr\sitecore-commerce-solr.json&quot; have indexes information which gets created while installing Commerce. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6NjqF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6NjqF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am pretty sure, if I change the index name here, indexes would be created with that name only. but will Sitecore Commerce point/use the changed indexes?&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="4050" LastEditDate="2020-01-12T17:45:21.520" LastActivityDate="2020-01-12T17:45:21.520" Title="Index name for Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12979" PostTypeId="2" ParentId="12505" CreationDate="2018-07-21T11:57:43.553" Score="2" Body="&lt;p&gt;We can use Postman tool to export the product catalog. It gives zip file. After that we can again use Postman to import the exported product catalog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aeN3B.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aeN3B.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2018-07-21T11:57:43.553" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12981" PostTypeId="2" ParentId="12978" CreationDate="2018-07-22T10:42:31.247" Score="1" Body="&lt;p&gt;You should specify &quot;SearchIndexPrefix&quot; parameter in your ps1 deploy script. This parameter is used to set prefix for index cores for indexes used by Commerce.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am usually specifying it as name of my site instance to easily find it as it will correspend to my site name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;SearchIndexPrefix = &quot;$($SiteInstance)&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find details of all parameters in installation guide -&gt; &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look on my ps1 script that I have used for installing Sitecore Commerce 9.0.2. That could help you also to set remaining parameters -&gt; &lt;a href=&quot;https://github.com/chorpo/SitecoreCommerce9Installation/blob/master/sxc9u2-My-Deploy-Sitecore-Commerce.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/chorpo/SitecoreCommerce9Installation/blob/master/sxc9u2-My-Deploy-Sitecore-Commerce.ps1&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-22T17:24:35.247" LastActivityDate="2018-07-22T17:24:35.247" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12982" PostTypeId="1" AcceptedAnswerId="12986" CreationDate="2018-07-22T14:01:30.027" Score="0" ViewCount="262" Body="&lt;p&gt;I'm using a SXA filter checklist with a SXA search results, I want to hide this filter when there is no data in the search results.&lt;/p&gt;&#xA;" OwnerUserId="3862" LastEditorUserId="690" LastEditDate="2018-07-23T06:09:43.470" LastActivityDate="2018-07-23T06:13:55.443" Title="Hide SXA filter checklist when no data is displayed" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12983" PostTypeId="2" ParentId="12516" CreationDate="2018-07-22T18:00:53.597" Score="0" Body="&lt;p&gt;Adding to @Jonne-Kats answer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to resolve this issue, I had to add CSFndRuntimeuser to the local administrators group.  This was part of the old 8.2.1 installation steps:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The instructions in this document assume the existence of a local administrator account named CSFndRuntimeUser. Add this account to your local administrator group, and grant the account login permissions for the SQL server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_M_DeploymentCreateLocalAccount.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreCommerce/DeploymentGuide/en-us/index.html#Concepts/c_M_DeploymentCreateLocalAccount.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This step does not appear to be part of the EnsureLocalUser SIF task created in \SIF.Sitecore.Commerce.1.1.4\Modules\WindowsLocalUser\WindowsLocalUser.psm1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found that the Identity Service was shutting down its Applicatin Pool, and the following warning was appearing in the Windows System log (visible in Event Viewer):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The identity of application pool SitecoreIdentityServer is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected, the application pool will be disabled when the application pool receives its first request.  If batch logon rights are causing the problem, the identity in the IIS configuration store must be changed after rights have been granted before Windows Process Activation Service (WAS) can retry the logon. If the identity remains invalid after the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The security policy &lt;code&gt;Log on as a batch job&lt;/code&gt; is assigned to Administrators, so adding CSFndRuntimeuser to the Administrators group resolved the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The steps for updating the account are documented here:&lt;a href=&quot;https://www.smartftp.com/support/kb/how-to-give-a-user-log-on-as-a-batch-job-rights-f2691.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.smartftp.com/support/kb/how-to-give-a-user-log-on-as-a-batch-job-rights-f2691.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are security implications, of course, which are discussed here:&lt;a href=&quot;https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/log-on-as-a-batch-job&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/log-on-as-a-batch-job&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="247" LastEditDate="2018-07-22T18:20:35.197" LastActivityDate="2018-07-22T18:20:35.197" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12984" PostTypeId="1" AcceptedAnswerId="13168" CreationDate="2018-07-23T05:13:24.607" Score="0" ViewCount="104" Body="&lt;p&gt;Sitecore Commerce 9.0.1 is install on my machine and I want to install Sitecore Commerce 9.0.2 also on the same machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we install Sitecore Commerce, it create few websites on IIS like CommerceAuthoring_Sc9, CommerceMinions_Sc9, CommerceOps_Sc9, CommerceShops_Sc9, SitecoreBizFx and SitecoreIdentityServer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since I want to install the Sitecore Commerce 9.0.2 also on the same machine, I must have to provide different name of the above mentioned web application which get created automatically. Please can somebody guide me how to provide custom name of these web applications.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="690" LastEditDate="2018-07-23T06:41:02.040" LastActivityDate="2018-08-03T07:30:38.243" Title="Website names of Sitecore Commerce web applications" Tags="|sitecore-commerce|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12986" PostTypeId="2" ParentId="12982" CreationDate="2018-07-23T06:13:55.443" Score="2" Body="&lt;p&gt;You could easily extend the search JS logic to do that. In one of your scripts, use &lt;code&gt;results-loaded&lt;/code&gt; search event. When it will be triggered simply check number of results and in case there won't be any simply hide filter.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XA.component.search.vent.on(&quot;results-loaded&quot;, function (results) {&#xA;    //you custom logic here&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-07-23T06:13:55.443" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12988" PostTypeId="1" AcceptedAnswerId="12989" CreationDate="2018-07-23T09:57:51.577" Score="1" ViewCount="1558" Body="&lt;p&gt;I'm creating a unit test for a code that has an Item.Add method used and trying to use Sitecore Fake DB for this and I'm getting an error that it's not being populated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A sample code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SampleTest&#xA;{&#xA;    [Fact]&#xA;    public void SampleTest_GetNewItem()&#xA;    {&#xA;        var myHomeID = new ID();&#xA;        var templateID = new ID();&#xA;        var template = new TemplateID(templateID);&#xA;&#xA;        using (var db = new Db()&#xA;        {&#xA;            new DbItem(&quot;Home&quot;, myHomeID)&#xA;        }){&#xA;            Item myHomeItem = db.GetItem(myHomeID);&#xA;            Item returnItem = myHomeItem.Add(&quot;myNewItem&quot;, template);&#xA;&#xA;            returnItem.Should().NotBeNull(); //Assert fails because returnItem is null&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this behavior not supported by fake DB? or is there something wrong with the code? and how can the code be unit tested?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance! :)&lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="690" LastEditDate="2018-07-23T14:35:39.353" LastActivityDate="2018-07-23T14:35:39.353" Title="Fake DB on Sitecore.data.Items.Item.add method" Tags="|unit-testing|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12989" PostTypeId="2" ParentId="12988" CreationDate="2018-07-23T10:37:38.343" Score="2" Body="&lt;p&gt;You need to add template to the &lt;code&gt;FakeDB&lt;/code&gt; database first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just add those 2 lines to your code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var childTemplate = new DbTemplate(&quot;child&quot;, templateID);&#xA;db.Add(childTemplate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;e.g:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var myHomeID = new ID();&#xA;var templateID = new ID();&#xA;var template = new TemplateID(templateID);&#xA;&#xA;using (var db = new Db {new DbItem(&quot;Home&quot;, myHomeID)})&#xA;{&#xA;    var childTemplate = new DbTemplate(&quot;child&quot;, templateID);&#xA;    db.Add(childTemplate);&#xA;&#xA;    Item myHomeItem = db.GetItem(myHomeID);&#xA;    Item returnItem = myHomeItem.Add(&quot;myNewItem&quot;, template);&#xA;&#xA;    returnItem.Should().NotBeNull();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-07-23T10:37:38.343" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12992" PostTypeId="1" CreationDate="2018-07-23T12:49:44.133" Score="0" ViewCount="355" Body="&lt;p&gt;After successfully installation of Sitecore Experience Commerce 9 Update 2, I published all the content from master to web. Everything is working perfectly but one thing I noticed that Product Catalog item (under &lt;code&gt;/sitecore/content/Sitecore/Storefront/Home/&lt;/code&gt;) is missing from the  web database.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is it a expected behavior of commerce?&lt;/li&gt;&#xA;&lt;li&gt;If not, what could be the reason?&lt;/li&gt;&#xA;&lt;li&gt;If yes, Why is it so?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BlKEG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BlKEG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="690" LastEditDate="2018-07-23T14:59:38.843" LastActivityDate="2018-07-23T14:59:38.843" Title="Product Catalog Item missing in the web database" Tags="|sitecore-commerce|publishing|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="12993" PostTypeId="1" CreationDate="2018-07-23T13:35:15.237" Score="3" ViewCount="946" Body="&lt;p&gt;I have uploaded all PDF files under media library. In one of my template, I added multilist with datasource to the pdf files which are created under media Library.&#xA;Now in my code,I have to read the PDF files selected in the multilist from Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added like below for the field in my Model.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual IEnumerable&amp;lt;File&amp;gt; Documents { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While reading  the data from the GlassMapper it is throwing an exception as below.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Message = &quot;Failed to map properties on to the Item&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please suggest a way to read the PDF files from Sitecore using GlassMapper&lt;/p&gt;&#xA;" OwnerUserId="2473" LastEditorUserId="277" LastEditDate="2018-07-23T13:57:54.357" LastActivityDate="2018-10-19T12:27:04.133" Title="How to read PDF files from multilist using glass mapper?" Tags="|glass-mapper|pdf|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12995" PostTypeId="1" CreationDate="2018-07-23T13:56:47.853" Score="3" ViewCount="766" Body="&lt;p&gt;I'm using Sitecore 8.2 and attempting to render Image and General Link fields as recommended in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6048/how-do-i-get-an-image-from-the-media-library-using-rendingmodel&quot;&gt;this post&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Company.Feature.Foo.Models.FooBarViewModel&#xA;...&#xA;@Html.Sitecore().Field(&quot;{123e4567-e89b-12d3-a456-426655440000}&quot;)&#xA;@Html.Sitecore().Field(&quot;{83d6de54-019d-4774-bfd9-ce79e0802a24}&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the resulting HTML is just the raw field values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;image mediaid=&quot;{123e4567-e89b-12d3-a456-426655440000}&quot; /&amp;gt;&#xA;&amp;lt;link text=&quot;Something&quot; linktype=&quot;internal&quot; class=&quot;bar&quot; querystring=&quot;&quot;&#xA;      target=&quot;&quot; id=&quot;{83d6de54-019d-4774-bfd9-ce79e0802a24}&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've also tried the following and they don't work. The only difference I can see compared with the post I linked is that I'm using a custom &lt;code&gt;@model&lt;/code&gt; class rather than &lt;code&gt;RenderingModel&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;{123e4567-...}&quot;, Html.Sitecore().CurrentItem)&#xA;@Html.Sitecore().Field(&quot;FieldName&quot;, Html.Sitecore().CurrentItem)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To get around this, I've had to write my own HTML Helpers that only partially implement what Sitecore could do. Is this a known issue with the standard renderer and does anyone have a fix?&lt;/p&gt;&#xA;" OwnerUserId="3998" LastEditorUserId="690" LastEditDate="2018-07-23T14:46:28.307" LastActivityDate="2018-07-23T14:46:28.307" Title="Image and link fields rendering as raw values" Tags="|mvc|fieldtype|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="12996" PostTypeId="2" ParentId="12993" CreationDate="2018-07-23T13:57:13.457" Score="6" Body="&lt;p&gt;You need to create a model first for your media items, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreClass]&#xA;public class MediaFile&#xA;{&#xA;    [SitecoreField(&quot;Attachment&quot;)]&#xA;    public virtual Stream File {get; set; }&#xA;&#xA;    [SitecoreField(&quot;MimeType&quot;)]&#xA;    public virtual string MimeType { get; set; }&#xA;&#xA;    [SitecoreField(&quot;Title&quot;)]&#xA;    public virtual string Title { get; set; }&#xA;&#xA;    [SitecoreField(&quot;Size&quot;)]&#xA;    public virtual string Size { get; set; }&#xA;&#xA;    [SitecoreField(&quot;Extension&quot;)]&#xA;    public virtual string Extension { get; set; }  &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then use it in your model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField]&#xA;public virtual IEnumerable&amp;lt;MediaFile&amp;gt; Documents {get;set;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-07-23T13:57:13.457" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="12997" PostTypeId="1" AcceptedAnswerId="12998" CreationDate="2018-07-23T14:28:25.410" Score="10" ViewCount="2010" Body="&lt;p&gt;I have been noticing this heartbeat.aspx in few blogs.But nothing explains the use of heartbeat.aspx,What exatcly is hearbeat.aspx and how/when can i use it ?&lt;/p&gt;&#xA;" OwnerUserId="3621" LastActivityDate="2019-01-31T18:57:43.177" Title="What is the Use of Heartbeat.aspx in Sitecore" Tags="|content-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="12998" PostTypeId="2" ParentId="12997" CreationDate="2018-07-23T14:39:17.427" Score="13" Body="&lt;p&gt;You can access &lt;code&gt;Heartbeat.aspx&lt;/code&gt; via &lt;code&gt;/sitecore/service/heartbeat.aspx&lt;/code&gt; url.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Heartbeat.aspx&lt;/code&gt; checks if all your SQL databases configured in your &lt;code&gt;connectionStrings&lt;/code&gt; config are accessible.&lt;/p&gt;&#xA;&lt;p&gt;I they are accessible, it just render empty response.&lt;/p&gt;&#xA;&lt;p&gt;If at least one of the databases is not accessible, it returns &lt;code&gt;500 Internal Error&lt;/code&gt; page and writes to the log file lines like:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;5112 16:42:04 FATAL SINGLE MSG: Sitecore heartbeat:&lt;/p&gt;&#xA;&lt;p&gt;Exception: System.Exception&lt;/p&gt;&#xA;&lt;p&gt;Message: Database ........................ is not available&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;You can exclude some of the connection strings from being checked by Hearbeat using &lt;code&gt;&amp;quot;Sitecore.Services.Heartbeat.ExcludeConnection&amp;quot;&lt;/code&gt; setting:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting &#xA;  name=&amp;quot;Sitecore.Services.Heartbeat.ExcludeConnection&amp;quot;&#xA;  value=&amp;quot;some-connection-string-name-1|another-connection-string-name-2&amp;quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-07-26T07:12:42.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="12999" PostTypeId="2" ParentId="12839" CreationDate="2018-07-23T18:50:12.823" Score="1" Body="&lt;p&gt;The problem was that the &lt;code&gt;listManager&lt;/code&gt; required privileges to access the list.  I wrapped the method call in &lt;code&gt;SecurityDisabler&lt;/code&gt; to successfully return the list:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SecurityDisabler()) {&#xA;    var listManager = Sitecore.Configuration.Factory.CreateObject(&quot;contactListManager&quot;, true) as ContactListManager;&#xA;    var list = listManager?.FindById(listId);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3968" LastActivityDate="2018-07-23T18:50:12.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13000" PostTypeId="1" AcceptedAnswerId="13014" CreationDate="2018-07-23T18:58:31.037" Score="3" ViewCount="357" Body="&lt;p&gt;I have a script that loops through items with a certain name, then loops through the versions of that item and checks the workflow standard fields (&lt;code&gt;__Workflow&lt;/code&gt;, &lt;code&gt;__Workflow state&lt;/code&gt;, etc). The goal of the script is to clear out a bunch of old items from the workbox that cannot be removed manually (separate issue), by setting the state field to the approved state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is working well for some of the versions, but for others, if I add a watch in the immediate window for &lt;code&gt;$version.__Workflow&lt;/code&gt; (or &lt;code&gt;$version.&quot;__Workflow state&quot;&lt;/code&gt;) I get nothing back, despite definitely seeing a value on that item version in the content editor. It's really odd. I did notice that, for the versions where the &lt;code&gt;__Workflow&lt;/code&gt; field is empty, it is only happening for version 1 where there are at least 2 versions and the 2nd or 3rd version is approved. For the others that didn't have this problem, I checked a few and noted that there was only one item version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Set location for script to run&#xA;Write-Host &quot;Starting work in the context of the 'master' database, from the 'Center List Page' item.&quot;&#xA;Set-Location -Path &quot;master:\content\Centers New\Center List Page&quot;&#xA;&#xA;# Set up variables&#xA;$workflowItemId = &quot;{C911EB2D-F425-40F1-9BD0-E0BEF9061828}&quot;&#xA;$workflowApprovedStateItemId = &quot;{D520C586-7F39-4591-9D0A-730CACEDD706}&quot;&#xA;$itemsProcessed = 0;&#xA;$itemVersionsProcessed = 0;&#xA;$itemVersionsUpdated = 0;&#xA;&#xA;# Logic&#xA;foreach ($item in Get-ChildItem . -Recurse)&#xA;{&#xA;    $itemsProcessed = $itemsProcessed + 1;&#xA;&#xA;    if ($item.Name -eq &quot;Local Image&quot;)&#xA;    {&#xA;        foreach ($version in $item.Versions.GetVersions())&#xA;        {&#xA;            # {A4505DF8-2C8D-42E0-AD39-45400B1A78E4} is an example of one still in draft.&#xA;            $itemVersionsProcessed = $itemVersionsProcessed + 1;&#xA;&#xA;            if ($item.ID -eq &quot;{A4505DF8-2C8D-42E0-AD39-45400B1A78E4}&quot;) {&#xA;                $test = &quot;stop&quot;&#xA;            }&#xA;&#xA;            if ($version.__Workflow -eq $workflowItemId -And $version.&quot;__Workflow state&quot; -ne $workflowApprovedStateItemId)&#xA;            {&#xA;                 Write-Host &quot;-- Updating item workflow status to 'Approved'... --&quot;&#xA;                 $version.Editing.BeginEdit();&#xA;                 $version.&quot;__Workflow state&quot; = $workflowApprovedStateItemId&#xA;                 $version.Editing.EndEdit();&#xA;                 $itemVersionsUpdated = $itemVersionsUpdated + 1;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;Write-Host &quot;The script has completed.&quot;&#xA;Write-Host (&quot;{0} items have been processed.&quot; -f $itemsProcessed)&#xA;Write-Host (&quot;{0} item versions have been processed.&quot; -f $itemVersionsProcessed)&#xA;Write-Host (&quot;{0} item versions had their workflow state field updated to Approved.&quot; -f $itemVersionsUpdated)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: If I try to set the &lt;code&gt;__Workflow&lt;/code&gt; field through the immediate window, I get this error: &lt;code&gt;The property '__Workflow' cannot be found on this object. Verify that the property exists and can be set.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IO7a1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IO7a1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="1344" LastEditDate="2018-07-24T21:14:50.000" LastActivityDate="2018-07-24T22:27:20.227" Title="Script is not reading Workflow field on some item versions" Tags="|workflow|powershell|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13001" PostTypeId="1" AcceptedAnswerId="13005" CreationDate="2018-07-23T19:12:25.967" Score="4" ViewCount="503" Body="&lt;p&gt;We are implementing a customer's membership and roles database that is used in multiple applications. They have used hyphen in the role names, which is generally allowed but Sitecore does not allow by default. If we try to edit the security settings for an item with a hyphenated row, it throws an error saying the role name is invalid.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to get Sitecore to allow hyphens in the role names?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2020-08-12T22:30:43.813" Title="Allow hyphens for Sitecore security roles?" Tags="|security|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13002" PostTypeId="1" CreationDate="2018-07-23T23:38:11.517" Score="6" ViewCount="774" Body="&lt;p&gt;I am currently trying to find and delete broken links in the Sitecore master database. I am using a version of &lt;a href=&quot;https://gitlab.com/viet.hoang/workshop/blob/master/Sitecore%20PowerShell%20Scripts/Broken%20Internal%20Links%20Report%20With%20Additional%20Info.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;this script&lt;/a&gt;. The problem I am having is that the number of items in the content tree is huge (thousands of items) so the site becomes unresponsive whenever I run the script to search the whole database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script I am using is currently using &lt;code&gt;Get-ChildItem&lt;/code&gt; as seen below, in order to get the items to search for broken links:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$items = Get-ChildItem -Path $root.ProviderPath -Recurse | HasBrokenLink -IncludeAllVersions (!$searchVersion)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am wondering if there is a faster method I can use to search the content tree, such as fast query. I have looked everywhere, but haven't found any examples of a broken link report script that uses anything other than &lt;code&gt;Get-ChildItem&lt;/code&gt; and &lt;code&gt;-Recurse&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a better method to find broken links in the master database?&lt;/p&gt;&#xA;" OwnerUserId="4022" LastEditorUserId="73" LastEditDate="2018-07-24T12:57:00.507" LastActivityDate="2018-07-24T12:57:00.507" Title="Broken Links Report Options Powershell vs. Fast Query?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13003" PostTypeId="2" ParentId="13002" CreationDate="2018-07-24T00:25:49.483" Score="4" Body="&lt;p&gt;You can have a look at the following &lt;a href=&quot;https://sitecore.stackexchange.com/a/6811/95&quot;&gt;answer&lt;/a&gt; for several ways to query items in PowerShell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest you try the call to Axes to get items fast.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$mediaItemContainer = Get-Item &quot;master:/media library&quot; &#xA;$items = $mediaItemContainer.Axes.GetDescendants() | &#xA;    Where-Object { [int]$_.Fields[&quot;Size&quot;].Value -gt 100000 } | Initialize-Item &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Looks like I already changed this behavior for a future release (maybe 4.8).&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$items = @($root) + @(($root.Axes.GetDescendants() | Initialize-Item)) | &#xA;    HasBrokenLink -IncludeAllVersions (!$searchVersion)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-07-24T00:40:48.463" LastActivityDate="2018-07-24T00:40:48.463" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13005" PostTypeId="2" ParentId="13001" CreationDate="2018-07-24T08:49:31.567" Score="5" Body="&lt;h2&gt;No.&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I actually opened a support ticket for this back in February 2017, where I questioned the restrictions put forth by the &quot;Create Role&quot; dialogue box. I felt it was being too restrictive, since the underlying API did, as you mention, allow dashes in role names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The answer I got was; that while overriding the &quot;Create Role&quot; dialogue is indeed possible, it would create unwanted side effects and I should refrain from doing it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Listed side effects were:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A Created role cannot be deleted;&lt;/li&gt;&#xA;&lt;li&gt;Unexpected exceptions connected with internal implementation;&lt;/li&gt;&#xA;&lt;li&gt;Access provided to the created role cannot be applied.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The last bullet is the one you experience.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was registered as a future feature request, but if I'm honest I probably wouldn't hold my breath on that one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Feature Request ID: 147168 - in case you want to escalate this with your local Sitecore representative.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-07-24T08:49:31.567" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13006" PostTypeId="2" ParentId="11957" CreationDate="2018-07-24T13:23:45.940" Score="2" Body="&lt;p&gt;1) One option would be to use Promo renderings + column and row splitters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would split content first into 2 (or number of rows you need) rows with row splitter:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p6f7Q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p6f7Q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and then I would put column splitter into each row splitter:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T0dM0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T0dM0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you will add Promo component item each box that was created by splitters:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rERXs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rERXs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can assign images, links, texts to them as you wish.&#xA;You need to create variant for this rendering to suit your design.&#xA;I have used Habitat styles of promoboxes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info about Promo renderings can be found here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/16/working_with_content/adding_and_changing_content/add_the_promo_rendering&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/16/working_with_content/adding_and_changing_content/add_the_promo_rendering&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also create snippet for each row to ease adding new &quot;rows&quot; with same components for content editors in Experience Editors. More information about snippets can be found here -&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/16/working_with_content/composites/add_a_snippet&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/16/working_with_content/composites/add_a_snippet&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Another option would be to create similar functionality to Link List component with your own variant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find details of this approach in this article:&#xA;&lt;a href=&quot;https://ggullentops.blogspot.com/2017/03/sitecore-sxa-variant-link-list.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2017/03/sitecore-sxa-variant-link-list.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-24T13:44:29.417" LastActivityDate="2018-07-24T13:44:29.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13007" PostTypeId="1" AcceptedAnswerId="13010" CreationDate="2018-07-24T14:06:59.277" Score="0" ViewCount="311" Body="&lt;p&gt;I have a SXA checklist filter, let's say it has 10 choices. I want to select and filter by them &quot;all&quot;. So I want to add a choice which filter by them all and name it : &quot;All&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do this (ootb) with the Filter Checklist component?&lt;/p&gt;&#xA;" OwnerUserId="3862" LastEditorUserId="237" LastEditDate="2018-07-24T19:47:17.493" LastActivityDate="2018-07-24T19:47:17.493" Title="Add choice All to SXA checklist filter" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="2" ClosedDate="2018-07-24T23:06:12.010" ContentLicense="CC BY-SA 4.0" />
  <row Id="13009" PostTypeId="2" ParentId="12909" CreationDate="2018-07-24T18:54:31.177" Score="3" Body="&lt;p&gt;For me looks like you didn't register on Sitecore Developer Trial Program.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you register on  Sitecore Developer Trial Program, your request would be processed by Sitecore Developer Trial Team. For me it takes one week to receive the trial license.&lt;/p&gt; &#xA;&#xA;&lt;p&gt;You will receive next email where it explain the steps you need to follow, and the license. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Thank you for joining the Sitecore Developer Trial Program! We have&#xA;  processed your request and the keys are in your hands. Your 60-day&#xA;  trial license is attached.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;If you have not already, please ensure that you can login to your&#xA;  profile at &lt;a href=&quot;https://profile.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://profile.sitecore.net/&lt;/a&gt; . If this is your first time,&#xA;  you will have received an invite to confirm your SSO profile which&#xA;  contains a confirmation link.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;What is ready now?&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Your account now has access to download the software from&#xA;  &lt;a href=&quot;https://dev.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net&lt;/a&gt; A 60-day trial license (attached) is now&#xA;  yours which is required to run the software. What’s next?&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;In the confirmation message you previously received, we recommended&#xA;  joining several community forums. That is a great place to start! Now&#xA;  that you have access to the software, you should start installing&#xA;  Sitecore. Here are some tips for installation:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Do you want to quickly spin up the product to take a look? Our Azure&#xA;  Marketplace wizard will help you quickly install in the Cloud. Log&#xA;  into the &lt;a href=&quot;https://portal.azure.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://portal.azure.com&lt;/a&gt; and search for the Sitecore&#xA;  Experience Cloud and get your new Sitecore infrastructure right now!&#xA;  Do you want to install local and start developing? The Sitecore 9.0&#xA;  download page, including the official installation guide, will get you&#xA;  started. Wondering about installing prerequisites? Visit the&#xA;  Installing Sitecore 9 blog series in Sitecore community to learn the&#xA;  ins and outs of getting your environment ready. Also, for a great&#xA;  video guide, watch the Install Sitecore 9 playlist while you follow&#xA;  along.    &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Welcome to the community! Let us know how we can help.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="14" LastEditorUserId="2153" LastEditDate="2018-07-26T18:01:19.210" LastActivityDate="2018-07-26T18:01:19.210" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13010" PostTypeId="2" ParentId="13007" CreationDate="2018-07-24T18:55:58.893" Score="2" Body="&lt;p&gt;Such functionality is not available out of the box. But there is plenty of ways to achieve this. Start of investigating &lt;code&gt;component-search-results-filter.js&lt;/code&gt; file. You could for example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;modify rendering view with additional checkbox and implement &lt;code&gt;checked&lt;/code&gt; event logic as a separate function of Backbone view&lt;/li&gt;&#xA;&lt;li&gt;dynamically inject checkbox in the &lt;code&gt;api.init&lt;/code&gt; function (after view initialization) and add function out of the view scope to find and check all checkbox in the filter&lt;/li&gt;&#xA;&lt;li&gt;and a few more approaches...&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Don't wait for a ready solution, ask questions to solve the problems not to copy and paste particular solution. I bet you've never opened &lt;code&gt;component-search-results-filter.js&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-07-24T18:55:58.893" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13012" PostTypeId="2" ParentId="12954" CreationDate="2018-07-24T20:50:59.530" Score="1" Body="&lt;p&gt;It works for the grouped dataset because the node name is not attempted to be parsed as url and therefore the code path that blows up is not hit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try putting either &quot;1&quot; or &quot;2&quot; as value for the following setting in configuration:&#xA;&lt;code&gt;&#xA;&amp;lt;!-- PATH ANALYZER - RESPONSE - NODE NAME RESOLVING MODE&#xA;           Possible values: 0(raw) | 1(name) | 2(displayname)&#xA;           Default value: 0&#xA;        --&amp;gt;&#xA;&lt;/code&gt;&#xA;&lt;code&gt;&amp;lt;setting name=&quot;PathAnalyzer.Response.NodeNameResolvingMode&quot; value=&quot;1&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This setting is defined in &lt;code&gt;Sitecore.PathAnalyzer.Services.config&lt;/code&gt; so I would consider creating a config patch if this solution works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;0&lt;/code&gt; means the node names will be resolved using &quot;raw&quot; mode and looks like some of the collected page urls in xDB have illegal chars, so the parsing blows up:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Exception System.ArgumentException: Illegal characters in path.    at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the comments suggest, &lt;code&gt;1&lt;/code&gt; enables resolution by item name and &lt;code&gt;2&lt;/code&gt; by display name (so it is more expensive).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My hunch is that you may be having wildcard items and therefore there is a chance that this won't help since they fall back to &quot;raw&quot; resolution by url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if this doesn't help, consider overriding &lt;code&gt;Sitecore.PathAnalyzer.Services.Data.NodeFactory, Sitecore.PathAnalyzer.Services&lt;/code&gt; that is also defined in &lt;code&gt;Sitecore.PathAnalyzer.Services.config&lt;/code&gt;, specifically this method:&#xA;&lt;code&gt;protected virtual string ResolveName(Sitecore.SequenceAnalyzer.Node node)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;where you can put a breakpoint and find what value of &lt;code&gt;node.Name&lt;/code&gt; causes the code to fail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-07-24T20:50:59.530" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13013" PostTypeId="1" CreationDate="2018-07-24T22:15:46.127" Score="0" ViewCount="211" Body="&lt;p&gt;The basic-sample-react-native project comes with the data routes setup in a JSON file. Can you tell me what the steps are for using a YAML file instead?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I swapped out the JSON file for a valid YAML file and changed the routeData path within dataService.disconnected.js. There must be another configuration step somewhere though, as that did not work for me.&lt;/p&gt;&#xA;" OwnerUserId="3672" LastActivityDate="2018-07-24T22:37:41.913" Title="Switching from JSON to YAML" Tags="|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13014" PostTypeId="2" ParentId="13000" CreationDate="2018-07-24T22:27:20.227" Score="0" Body="&lt;p&gt;Using &lt;code&gt;$version.Fields[&quot;__Workflow&quot;].Value&lt;/code&gt; instead of &lt;code&gt;$version.__Workflow&lt;/code&gt; (and similarly for the &lt;code&gt;__Workflow state&lt;/code&gt; field) did the trick. Not sure why some of the item versions did not have a &lt;code&gt;__Workflow&lt;/code&gt; property. &lt;/p&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2018-07-24T22:27:20.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13015" PostTypeId="2" ParentId="13013" CreationDate="2018-07-24T22:37:41.913" Score="4" Body="&lt;p&gt;As YAML is a superset of JSON, any valid JSON is also valid YAML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you're looking for idiomatic YAML just run the JSON through a converter like &lt;a href=&quot;https://www.json2yaml.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.json2yaml.com/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-07-24T22:37:41.913" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13016" PostTypeId="1" CreationDate="2018-07-25T03:48:29.053" Score="2" ViewCount="499" Body="&lt;p&gt;I have &lt;code&gt;Sitecore 9 update 2&lt;/code&gt; installed. I am trying to install &lt;code&gt;SXA (Sitecore Experience Accelerator 1.7.1 rev. 180604 for 9.0)&lt;/code&gt;. I have already installed &lt;code&gt;SPE (Sitecore PowerShell Extensions-4.7.2 for Sitecore 8/9)&lt;/code&gt;. When I install SXA I get this error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR One or more exceptions occurred while processing the subscribers to the &#xA;   'packageinstall:items:ended' event.&#xA;   Exception[1]: System.NullReferenceException &#xA;    Message[1]: Object reference not set to an instance of an object. &#xA;    Source[1]: Sitecore.ContentSearch &#xA;   at &#xA;&#xA;Sitecore.ContentSearch.SitecoreItemCrawler.IsExcludedFromIndex(SitecoreIndexableItem indexable, Boolean checkLocation)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11155/nullreferenceexception-when-installing-sitecore-sxa&quot;&gt;thread&lt;/a&gt; and this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/509/installing-package-acting-different-between-2-environments&quot;&gt;thread&lt;/a&gt; but neither help identify the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second thread seems most aligned but it is unclear what was found in the configs that fixed the issue. From what I have read my versions all align correctly. I am installing this on a base install with the website just running &lt;code&gt;HelixBase&lt;/code&gt;. &lt;/p&gt;&#xA;" OwnerUserId="3681" LastEditorUserId="5387" LastEditDate="2019-06-04T15:04:55.667" LastActivityDate="2019-06-04T15:04:55.667" Title="Sitecore 9 Sxa Install throwing NullReferenceException Error" Tags="|sxa|installation|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13017" PostTypeId="1" CreationDate="2018-07-25T08:50:53.427" Score="2" ViewCount="1511" Body="&lt;p&gt;I have a base template with property 'Intro Text' of type multiline text. This base template is used by 4 different templates. Now, one of these templates needs this field as a RTE field.&#xA;But I can't change the field-type in the base template, because that would break the other components. So I am thinking to create a new field 'Intro Text New' in the template that needs the RTE and I would need to copy all the existing content from the field 'Intro Text' and remove the base template from this template afterwards. Is there a way to migrate field values from one field to another in Sitecore? Also, would there be a better/faster way to solve the problem above?&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="690" LastEditDate="2018-07-25T08:58:00.137" LastActivityDate="2018-07-25T10:52:17.870" Title="Migrating values of a field to another field" Tags="|data-migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13019" PostTypeId="2" ParentId="12689" CreationDate="2018-07-25T09:45:32.897" Score="10" Body="&lt;p&gt;Okay - so we've got to the bottom of this and it looks like it was just a misconfiguration issue when using SOLR cloud.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm posting this here for reference:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rebuilding the index for SOLR cloud is detailed &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/switch_solr_indexes#_Swtch_SolrCloud_indexes&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the most important things being:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the CM box the following should be setup:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_web_index&quot; type=&#xA; &quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrCloudSearchIndex, &#xA;  Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;       &amp;lt;param desc=&quot;mainalias&quot;&amp;gt;$(id)_MainAlias&amp;lt;/param&amp;gt;&#xA;       &amp;lt;param desc=&quot;rebuildalias&quot;&amp;gt;$(id)_RebuildAlias&amp;lt;/param&amp;gt;&#xA;       &amp;lt;param desc=&quot;collection&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;       &amp;lt;param desc=&quot;rebuildcollection&quot;&amp;gt;$(id)_rebuild&amp;lt;/param&amp;gt;&#xA;       ...&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But on the CD boxes, it should be configured like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_web_index&quot; &#xA;type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, &#xA;Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;       &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;       &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)_MainAlias&amp;lt;/param&amp;gt;&#xA;       &amp;lt;param &#xA;ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; &#xA;desc=&quot;propertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where we'd gone wrong was that the &lt;strong&gt;&lt;/strong&gt; on our CD box was pointing at &lt;strong&gt;sitecore_web_index&lt;/strong&gt; and not at value in &lt;strong&gt;&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So from the example above it should have been &lt;strong&gt;sitecore_web_index_MainAlias&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we did this everything worked as expected. Obvious now, but the docs are not that clear on the configuration of the CD boxes so worth posting here in case it helps anyone else.&lt;/p&gt;&#xA;" OwnerUserId="87" LastActivityDate="2018-07-25T09:45:32.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13020" PostTypeId="2" ParentId="13017" CreationDate="2018-07-25T09:50:15.967" Score="5" Body="&lt;p&gt;Creating a new field on the template that needs the RTE should work. In order to automate you could use Sitecore Powershell Extensions, something like the following should work (I've not had chance to test this yet):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$rootItem = Get-Item master:/content;&#xA;$sourceTemplate = Get-Item &quot;Source-Template-Path-Or-Guid-Here&quot;;&#xA;&#xA;Get-ChildItem $rootItem.FullPath -Recurse | Where-Object { $_.TemplateName -eq $sourceTemplate.Name } | ForEach-Object {  &#xA;        $_.Editing.BeginEdit()&#xA;        $fieldValue = $_.Fields[&quot;Intro Text&quot;].Value&#xA;        $_.Fields[&quot;Intro Text New&quot;].Value = $fieldValue;&#xA;        $_.Editing.EndEdit()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Corey wrote a useful blog post: &lt;a href=&quot;https://blogs.perficient.com/sitecore/2016/06/13/sitecore-powershell-change-item-template-and-retain-field-value/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.perficient.com/sitecore/2016/06/13/sitecore-powershell-change-item-template-and-retain-field-value/&lt;/a&gt; on copying from one template to another and updating fields which I've based this on. Another useful reference here too: &lt;a href=&quot;https://therelentlessfrontend.com/2017/11/14/sitecore-powershell-to-update-item-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://therelentlessfrontend.com/2017/11/14/sitecore-powershell-to-update-item-fields/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I believe Sitecore Rocks allows you to do this using an update query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;update set @#Intro Text New# = '' + @#Intro Text# from /sitecore/content//*[@@templatename = 'Promo'];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;One thing to consider though is that if on the template you add the 'Intro Text New' field to you leave the base-template in place you will end up with two fields which may be confusing for content editors so perhaps look at re-organising the base template this is using afterwards etc.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-07-25T10:52:17.870" LastActivityDate="2018-07-25T10:52:17.870" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13022" PostTypeId="1" CreationDate="2018-07-25T13:11:46.340" Score="1" ViewCount="812" Body="&lt;p&gt;I try to track the top searched keywords to my website using the Sitecore analytics, I read that first I need to register the search page event, So I wrote this :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if(Tracker.Current == null)&#xA;        {&#xA;            var result1 = Tracker.Enabled;&#xA;            Tracker.StartTracking();&#xA;        }&#xA;&#xA;        var searchEvent = Tracker.MarketingDefinitions.PageEvents[AnalyticsIds.SearchEvent.Guid];&#xA;&#xA;        var result = Sitecore.Analytics.Tracker.Current.CurrentPage.Register(new PageEventData(searchEvent.Alias, searchEvent.Id)&#xA;        {&#xA;            Data = &quot;Test Keyword 2&quot;&#xA;        });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but still the internal search shows no data to display, I enabled the tracker and still the same problem, I'm using Sitecore 9&lt;/p&gt;&#xA;" OwnerUserId="3862" LastActivityDate="2018-07-25T13:11:46.340" Title="Enabling the internal search in the sitecore analytics" Tags="|experience-analytics|xconnect|tracking|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="13023" PostTypeId="2" ParentId="6854" CreationDate="2018-07-25T13:36:53.457" Score="8" Body="&lt;p&gt;I know the question for this is asking for 8.2 version but I figured I'd add this if anyone using Sitecore 9 has a similar question like me. It looks like the config pointed out by Chris Auer has been moved into the &lt;strong&gt;xconnect&lt;/strong&gt; site. The xml node to change is &lt;code&gt;&amp;lt;IndexAnonymousContactData&amp;gt;false&amp;lt;/IndexAnonymousContactData&amp;gt;&lt;/code&gt;. I found it in two places and changed both to false and then anonymous users started showing up in the experience profile of the site. The files were &lt;code&gt;~/App_data/jobs/continuous/IndexWorker/App_data/Config/Sitecore/SearchIndexer/sc.Xdb.Collection.IndexerSettings.xml&lt;/code&gt; and &lt;code&gt;~/App_data/Config/sitecore/SearchIndexer/sc.Xdb.Collection.IndexerSettings.xml&lt;/code&gt;. &lt;a href=&quot;https://community.sitecore.net/developers/f/9/t/8317&quot; rel=&quot;noreferrer&quot;&gt;More info can be found here&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-anonymous-contact-indexing.html&quot; rel=&quot;noreferrer&quot;&gt;here are the official docs about it&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-08-02T14:14:31.637" LastActivityDate="2018-08-02T14:14:31.637" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13024" PostTypeId="1" AcceptedAnswerId="13035" CreationDate="2018-07-25T14:09:47.537" Score="7" ViewCount="2299" Body="&lt;p&gt;We have recently upgraded Sitecore from 9.0.1 to 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore website works fine, but checked xconnect logs - lots of exceptions like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&#xA;System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---&amp;gt; System.ComponentModel.Win32Exception (0x80004005): The network path was not found&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)&#xA;   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.ShardMap.&amp;lt;OpenConnectionAsync&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.ElasticScaleConnectionManager.&amp;lt;&amp;gt;c__DisplayClass29_0.&amp;lt;&amp;lt;OpenConnectionAsync&amp;gt;b__1&amp;gt;d.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.ElasticScaleConnectionManager.&amp;lt;OpenConnectionAsync&amp;gt;d__29.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can confirm that my &lt;strong&gt;collectionuser&lt;/strong&gt; is properly setup in SQL server and has all required permissions, I can connect to Shard manager database with this user in SQL management studio. Also tried to connect from the server running xconnect with a power-shell script using same connection string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I double checked connection strings - they are identical between sitecore website and xconnect (including index worker and marketing automation serviecs). And Sitecore website works just fine with those.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore website and xconnect are running on the same web server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Index worker windows service is also throwing same errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be wrong here?&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2018-07-26T08:45:55.827" Title="xconnect 9.0.2 can not connect to SQL server" Tags="|upgrade|xconnect|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13025" PostTypeId="1" AcceptedAnswerId="13045" CreationDate="2018-07-25T15:10:28.567" Score="0" ViewCount="135" Body="&lt;p&gt;Indexupdatestrategy(OnPublishEndAsynchronousStrategy) for SOLR index is not updating the index whereas Full index is working fine. Can you please help me to fix this issue. Details are as below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using &lt;strong&gt;Sitecore 7.2(rev. 160123) and SOLR 4.10.1(cloud)&lt;/strong&gt;. I have setup my index update strategy as below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;onPublishEndAsyncLive type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch&quot; &amp;gt;&#xA;&amp;lt;param desc=&quot;database&quot;&amp;gt;liveweb&amp;lt;/param&amp;gt;&#xA;&amp;lt;CheckForThreshold&amp;gt;true&amp;lt;/CheckForThreshold&amp;gt;&#xA;&amp;lt;/onPublishEndAsyncLive&amp;gt;&#xA;&#xA;&#xA;&amp;lt;index id=&quot;my_site_search_liveweb_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot; patch:source=&quot;zCustomSBDIndexes.config&quot;&amp;gt;&#xA;&amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&amp;lt;param desc=&quot;core&quot;&amp;gt;my_site_search_liveweb&amp;lt;/param&amp;gt;&#xA;&amp;lt;param desc=&quot;rebuildcore&quot;&amp;gt;my_site_search_liveweb_tmp&amp;lt;/param&amp;gt;&#xA;&amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/databasePropertyStore&quot; param1=&quot;$(id)&quot;/&amp;gt;&#xA;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/sbdSolrIndexConfiguration&quot;/&amp;gt;&#xA;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;&amp;lt;strategy ref=&quot;contentSearch/indexUpdateStrategies/onPublishEndAsyncLive&quot;/&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;&amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;&amp;lt;Database&amp;gt;liveweb&amp;lt;/Database&amp;gt;&#xA;&amp;lt;Root&amp;gt;/sitecore/content/Product Repository/Products mysite&amp;lt;/Root&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;&amp;lt;Database&amp;gt;liveweb&amp;lt;/Database&amp;gt;&#xA;&amp;lt;Root&amp;gt;/sitecore/content/mysite&amp;lt;/Root&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;&amp;lt;Database&amp;gt;liveweb&amp;lt;/Database&amp;gt;&#xA;&amp;lt;Root&amp;gt;/sitecore/content/Shared&amp;lt;/Root&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;When I change a field value in sitecore CMS and publish the item to my Liveweb(Target) database, I am not seeing the updated value in my index(even after some wait time). &lt;/li&gt;&#xA;&lt;li&gt;I could see that after publishing the item, EventQueue is having an entry for PublishEndRemote event in the Liveweb db - Sitecore.Eventing.Remote.PublishEndRemoteEvent, Sitecore.Kernel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null&lt;/li&gt;&#xA;&lt;li&gt;Core Db's Properties table - EQstamp_&amp;lt;&gt; value looks ok with the Stamp value of the EventQueue entry.&lt;/li&gt;&#xA;&lt;li&gt;In the Crawling log with Debug mode, I could see that my_site_search_liveweb_index is triggering in IncrementalUpdate mode and getting committed.Please see the below logs.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;9920 16:53:37 INFO  [Index=my_site_search_liveweb_index] Initializing SitecoreItemCrawler. DB:liveweb / Root:/sitecore/content/Product Repository/Products mysite &#xA;9920 16:53:37 INFO  [Index=my_site_search_liveweb_index] Initializing SitecoreItemCrawler. DB:liveweb / Root:/sitecore/content/mysite &#xA;9920 16:53:37 INFO  [Index=my_site_search_liveweb_index] Initializing SitecoreItemCrawler. DB:liveweb / Root:/sitecore/content/Shared &#xA;9920 16:53:37 INFO  [Index=my_site_search_liveweb_index] Initializing OnPublishEndAsynchronousStrategy. &#xA;9920 16:53:37 DEBUG [Index=my_site_search_liveweb_index] Created access to temporary rebuild core. [my_site_search_liveweb_tmp] &#xA;12932 16:53:37 DEBUG [Index=my_site_search_liveweb_index] OnPublishEndAsynchronousStrategy executing. &#xA;12932 16:53:38 INFO  [Index=my_site_search_liveweb_index] Updating '2' items from Event Queue. &#xA;12932 16:53:38 DEBUG IndexCustodian. IncrementalUpdate triggered on index my_site_search_liveweb_index. Data=Count=2 &amp;lt;&amp;lt;lots of Resolving/Resolved field boosting logs...&amp;gt;&amp;gt; &#xA;ManagedPoolThread #7 16:53:57 DEBUG [Index=my_site_search_liveweb_index] Committing: Add: 10; Update:0; DeleteUnique: 0; DeleteGroup: 0 &#xA;ManagedPoolThread #7 16:53:57 DEBUG [Index=my_site_search_liveweb_index] Committed &#xA;ManagedPoolThread #7 16:53:57 DEBUG IndexDependentHtmlCacheManager triggered. ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'shell'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'login'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'admin'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'service'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'modules_shell'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'modules_website'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'mysite'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'mysiteca'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'website'. ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'scheduler'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'system'. ManagedPoolThread #7 16:53:57 DEBUG Clearing index dependent cache for site 'publisher'. &#xA;ManagedPoolThread #7 16:53:57 DEBUG IndexDependentHtmlCacheManager done.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;When I go to the SOLR cloud and query the item, I am not seeing the updated value in the field. But when I initiate and complete a full index, I am seeing the updated field value in the index. Any help is much appreciated.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="696" LastActivityDate="2018-07-26T16:58:05.167" Title="Sitecore 7.2 - SOLR 4.10.1 - OnPublishEndAsynchronousStrategy is not updating the SOLR index" Tags="|content-search|solr|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13026" PostTypeId="2" ParentId="13001" CreationDate="2018-07-25T16:01:03.200" Score="2" Body="&lt;p&gt;The restrictions on the creation of the roles is hardcoded into the &quot;Create Role&quot; dialog box. You have a couple of options to work around this.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Directly at database level&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Create the roles as you normally would using spaces, then update the role name with hyphens in the &lt;code&gt;aspnet_Roles&lt;/code&gt; table in the &lt;code&gt;core&lt;/code&gt; database:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;UPDATE [dbo].[aspnet_Roles]&#xA;   SET [RoleName] = 'sitecore\role-with-hyphen',&#xA;       [LoweredRoleName] = 'sitecore\role-with-hyphen'&#xA; WHERE [RoleName] = 'sitecore\role with spaces'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In most cases, creating Roles will not be a frequent task, so updating the database directly should not be an issue. Additionally, you can package up roles and security  using the Sitecore Package Designer and/or they should be serialized using TDS or Unicorn.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Override the Create Role dialog&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are uncomfortable updating SQL tables directly, then you can override the Create Role dialog.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make a copy of &#xA;&lt;strong&gt;website\sitecore\shell\Applications\Security\RoleManager\NewRole.xaml.xml&lt;/strong&gt; and place it in the &lt;strong&gt;website\sitecore\shell\Override&lt;/strong&gt; folder&lt;/li&gt;&#xA;&lt;li&gt;Edit the file and change the &lt;code&gt;inherits&lt;/code&gt; attribute to your own class, e.g.  &lt;code&gt;&amp;lt;Sitecore.Shell.Applications.Security.RoleManager.NewRole x:inherits=&quot;MyProject.Custom.Security.RoleManager.NewRolePage,MyProject.Custom&quot;&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a class, inherit from &lt;code&gt;Sitecore.Shell.Applications.Security.RoleManager.NewRolePage&lt;/code&gt; and override the &lt;code&gt;OK_Click&lt;/code&gt; method.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NewRolePage : DialogPage&#xA;{&#xA;    protected override void OK_Click()&#xA;    {&#xA;        string text = this.Name.Text;&#xA;        if (!SecurityUtil.IsValidRoleName(ref text)) /* update this check with the requierd logic */&#xA;        {&#xA;            SheerResponse.Alert(&quot;The role name \&quot;{0}\&quot; contains illegal characters.\n\nThe role name can only contain the following characters: A-Z, a-z, 0-9, ampersand and space.&quot;, new string[1]&#xA;            {&#xA;                text&#xA;            });&#xA;        }&#xA;        else&#xA;        {&#xA;            SheerResponse.SetDialogValue(&quot;{0}\\{1}&quot;.FormatWith((object) this.Domain.SelectedValue, (object) text));&#xA;            base.OK_Click();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Assigning Security&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;These solutions have not been thoroughly tested, and it would be wise to heed the advice the &lt;a href=&quot;https://sitecore.stackexchange.com/a/13005/135&quot;&gt;Mark provided in his answer&lt;/a&gt;, but the following is possible:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Roles can be deleted, with or without hyphens&lt;/li&gt;&#xA;&lt;li&gt;Roles can be assigned to other roles without or without hyphens (Role in Roles)&lt;/li&gt;&#xA;&lt;li&gt;Access can be assigned to item using Security Editor and viewed using the Access Viewer&lt;/li&gt;&#xA;&lt;li&gt;Roles can be packages &lt;a href=&quot;https://trayek.wordpress.com/2015/02/01/quick-tip-sitecore-security-packages/&quot; rel=&quot;nofollow noreferrer&quot;&gt;using the Package Designer&lt;/a&gt; and then installed using the Installation Wizard&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have tested this in Sitecore 8.1 update-1 and Sitecore 8.2 update-6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main area of caution would be any &lt;em&gt;unexpected exceptions connected with internal implementation&lt;/em&gt;, but note that Sitecore stores Permission details against items as a string. If you had roles set up in Active Directory with hyphens for example, then Sitecore would use the role name (i.e. not use a GUID as an identifier).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, all that said, since these are roles in Sitecore which &lt;strong&gt;you&lt;/strong&gt; have control over, then I highly recommend you forgo the use of hyphens in role names and just use spaces. Since you mention &quot;membership and roles database that is used in multiple applications&quot;, I highly recommend you do not apply security against non-Sitecore roles. Instead, create a [matching] role in Sitecore, apply security to this role, and then make the external role a member of this role.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-07-25T16:01:03.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13027" PostTypeId="1" CreationDate="2018-07-25T19:08:09.903" Score="1" ViewCount="781" Body="&lt;p&gt;I am getting the below error on Installation of Sitecore Experience Commerce 9.0 update 2.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Generating Catalog Templates Install-SitecoreConfiguration:Value&#xA;  cannot be null.Parameter name: key&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0QXxz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0QXxz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Server logs inside &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;6 11:00:48 ERROR CtxMsg.Error.EntityNotFound:&#xA;  Text=Core.block.LoadEnvironment.EnvironmentCouldNotBeFound:&#xA;  Environment=HabitatAuthoring 6 11:00:48 ERROR&#xA;  PipelineAbort:Core.block.LoadEnvironment.EnvironmentCouldNotBeFound:&#xA;  Environment=HabitatAuthoring 10 11:00:51 ERROR&#xA;  ClientCertificateValidationMiddleware: Certificate with thumbprint&#xA;  DBD3361F1F6197DC7F835B440E8F2FE38586DBA5 does not have a matching&#xA;  Thumbprint.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The logs says as below&quot;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; Generating Catalog Templates ...&#xA;&amp;gt; ********************** Command start time: 20180725111929&#xA;&amp;gt; ********************** PS&amp;gt;TerminatingError(Invoke-RestMethod): &quot;    &#xA;&amp;gt;         Value cannot be null.Parameter name: key       &#xA;&amp;gt;         &#xA;&amp;gt;          body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;} &#xA;&amp;gt;          p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top:&#xA;&amp;gt; -5px}&#xA;&amp;gt;          b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;&amp;gt;          H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;&amp;gt;          H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;&amp;gt;          pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;&amp;gt;          .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;&amp;gt;          .version {color: gray;}&#xA;&amp;gt;          .error {margin-bottom: 10px;}&#xA;&amp;gt;          .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;&amp;gt;          @media screen and (max-width: 639px) {&#xA;&amp;gt;           pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;&amp;gt;          }&#xA;&amp;gt;          @media screen and (max-width: 479px) {&#xA;&amp;gt;           pre { width: 280px; }&#xA;&amp;gt;          }&#xA;&amp;gt;             Server Error in '/' Application.&#xA;&amp;gt; &#xA;&amp;gt;              Value cannot be null.Parameter name: key &#xA;&amp;gt; &#xA;&amp;gt;              Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace&#xA;&amp;gt; for more information about the error and where it originated in the&#xA;&amp;gt; code.&#xA;&amp;gt; &#xA;&amp;gt; Exception Details: System.ArgumentNullException: Value cannot be&#xA;&amp;gt; null.Parameter name: key&#xA;&amp;gt; &#xA;&amp;gt; Source Error:  The source code that generated this unhandled exception&#xA;&amp;gt; can only be shown when compiled in debug mode. To enable this, please&#xA;&amp;gt; follow one of the below steps, then request the URL:1. Add a&#xA;&amp;gt; &amp;amp;quot;Debug=true&amp;amp;quot; directive at the top of the file that generated&#xA;&amp;gt; the error. Example: &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;lt;%@ Page Language=&amp;amp;quot;C#&amp;amp;quot;&#xA;&amp;gt; Debug=&amp;amp;quot;true&amp;amp;quot; %&amp;amp;gt;or:2) Add the following section to the&#xA;&amp;gt; configuration file of your application:&amp;amp;lt;configuration&amp;amp;gt;&#xA;&amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;lt;system.web&amp;amp;gt;&#xA;&amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;lt;compilation&#xA;&amp;gt; debug=&amp;amp;quot;true&amp;amp;quot;/&amp;amp;gt;&#xA;&amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;lt;/system.web&amp;amp;gt;&amp;amp;lt;/configuration&amp;amp;gt; Note that&#xA;&amp;gt; this second technique will cause all files within a given application&#xA;&amp;gt; to be compiled in debug mode. The first technique will cause only that&#xA;&amp;gt; particular file to be compiled in debug mode.Important: Running&#xA;&amp;gt; applications in debug mode does incur a memory/performance overhead.&#xA;&amp;gt; You should make sure that an application has debugging disabled before&#xA;&amp;gt; deploying into production scenario.&#xA;&amp;gt; &#xA;&amp;gt; Stack Trace:   [ArgumentNullException: Value cannot be null. Parameter&#xA;&amp;gt; name: key]   &#xA;&amp;gt; System.Collections.Concurrent.ConcurrentDictionary`2.ContainsKey(TKey&#xA;&amp;gt; key) +14761472   &#xA;&amp;gt; Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.GetEntityView(String&#xA;&amp;gt; sitecoreId, String viewName, String forAction, String itemId) +133   &#xA;&amp;gt; Sitecore.Commerce.Engine.Connect.DataProvider.Templates.CatalogTemplateGenerator.BuildCatalogTemplates(Database&#xA;&amp;gt; database) +636   &#xA;&amp;gt; ASP.siteutilitypages_generatecatalogtemplates_aspx.Page_Load(Object&#xA;&amp;gt; sender, EventArgs e) +246    System.Web.UI.Control.OnLoad(EventArgs e)&#xA;&amp;gt; +103    System.Web.UI.Control.LoadRecursive() +68    System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;&amp;gt; includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&amp;gt; +3811&#xA;&amp;gt; &#xA;&amp;gt;             Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0&quot;&#xA;&amp;gt; &amp;gt;&amp;gt; TerminatingError(Invoke-RestMethod): &quot;&#xA;&amp;gt;         Value cannot be null.Parameter name: key&#xA;&amp;gt;         &#xA;&amp;gt;          body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;} &#xA;&amp;gt;          p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top:&#xA;&amp;gt; -5px}&#xA;&amp;gt;          b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;&amp;gt;          H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;&amp;gt;          H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;&amp;gt;          pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;&amp;gt;          .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;&amp;gt;          .version {color: gray;}&#xA;&amp;gt;          .error {margin-bottom: 10px;}&#xA;&amp;gt;          .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;&amp;gt;          @media screen and (max-width: 639px) {&#xA;&amp;gt;           pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;&amp;gt;          }&#xA;&amp;gt;          @media screen and (max-width: 479px) {&#xA;&amp;gt;           pre { width: 280px; }&#xA;&amp;gt;          }&#xA;&amp;gt; &#xA;&amp;gt;             Server Error in '/' Application.&#xA;&amp;gt; &#xA;&amp;gt;              Value cannot be null.Parameter name: key &#xA;&amp;gt; &#xA;&amp;gt;              Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace&#xA;&amp;gt; for more information about the error and where it originated in the&#xA;&amp;gt; code.&#xA;&amp;gt;     Exception Details: System.ArgumentNullException: Value cannot be null.Parameter name: key&#xA;&amp;gt; &#xA;&amp;gt;             Source Error:   &#xA;&amp;gt; &#xA;&amp;gt; The source code that generated this unhandled exception can only be&#xA;&amp;gt; shown when compiled in debug mode. To enable this, please follow one&#xA;&amp;gt; of the below steps, then request the URL:1. Add a&#xA;&amp;gt; &amp;amp;quot;Debug=true&amp;amp;quot; directive at the top of the file that generated&#xA;&amp;gt; the error. Example: &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;lt;%@ Page Language=&amp;amp;quot;C#&amp;amp;quot;&#xA;&amp;gt; Debug=&amp;amp;quot;true&amp;amp;quot; %&amp;amp;gt;or:2) Add the following section to the&#xA;&amp;gt; configuration file of your application:&amp;amp;lt;configuration&amp;amp;gt;&#xA;&amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;lt;system.web&amp;amp;gt;&#xA;&amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;lt;compilation&#xA;&amp;gt; debug=&amp;amp;quot;true&amp;amp;quot;/&amp;amp;gt;&#xA;&amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;lt;/system.web&amp;amp;gt;&amp;amp;lt;/configuration&amp;amp;gt; Note that&#xA;&amp;gt; this second technique will cause all files within a given application&#xA;&amp;gt; to be compiled in debug mode. The first technique will cause only that&#xA;&amp;gt; particular file to be compiled in debug mode.Important: Running&#xA;&amp;gt; applications in debug mode does incur a memory/performance overhead.&#xA;&amp;gt; You should make sure that an application has debugging disabled before&#xA;&amp;gt; deploying into production scenario.&#xA;&amp;gt; &#xA;&amp;gt; Stack Trace:  [ArgumentNullException: Value cannot be null. Parameter&#xA;&amp;gt; name: key]&#xA;&amp;gt; System.Collections.Concurrent.ConcurrentDictionary`2.ContainsKey(TKey&#xA;&amp;gt; key) +14761472   &#xA;&amp;gt; Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.GetEntityView(String&#xA;&amp;gt; sitecoreId, String viewName, String forAction, String itemId) +133   &#xA;&amp;gt; Sitecore.Commerce.Engine.Connect.DataProvider.Templates.CatalogTemplateGenerator.BuildCatalogTemplates(Database&#xA;&amp;gt; database) +636   &#xA;&amp;gt; ASP.siteutilitypages_generatecatalogtemplates_aspx.Page_Load(Object&#xA;&amp;gt; sender, EventArgs e) +246    System.Web.UI.Control.OnLoad(EventArgs e)&#xA;&amp;gt; +103    System.Web.UI.Control.LoadRecursive() +68    System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;&amp;gt; includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&amp;gt; +3811&#xA;&amp;gt; &#xA;&amp;gt; Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319;&#xA;&amp;gt; ASP.NET Version:4.7.2106.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2019-12-12T12:07:17.560" Title="SXC 9 update 2 Installation error while &quot;Generating Catalog Templates&quot;" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="1" CommentCount="4" ClosedDate="2019-12-12T12:10:34.770" ContentLicense="CC BY-SA 4.0" />
  <row Id="13028" PostTypeId="1" AcceptedAnswerId="13031" CreationDate="2018-07-25T19:17:36.453" Score="2" ViewCount="299" Body="&lt;p&gt;While installing Sitecore Experience Commerce 9.0 Update 2 I see an error as &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Remove-Item : Cannot remove item&#xA;  C:\inetpub\wwwroot\sxp9u2.xconnect\App_data\jobs\continuous\AutomationEngine\Sitecore.Commerce.Connect.Collection.Model.dll:&#xA;  Access to the path&#xA;  'C:\inetpub\wwwroot\sxp9u2.xconnect\App_data\jobs\continuous\AutomationEngine\Sitecore.Commerce.Connect.Collection.Model.dll'&#xA;  is denied. At&#xA;  C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:1006&#xA;  char:29&#xA;  + ...             Remove-Item -LiteralPath $currentArchiveEntryFileInfo.Ful ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : PermissionDenied: (C:\inetpub\wwwr...ction.Model.dll:FileInfo) [Remove-Item],&#xA;  UnauthorizedAccessException&#xA;      + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0av6u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0av6u.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I even tried deleting the dll manually to see the issue as below&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4E5QH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4E5QH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-07-26T04:24:16.573" Title="SXC 9 Update 2 Installation error &quot;Sitecore.Commerce.Connect.Collection.Model.dll: Access to the path denied&quot;" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13029" PostTypeId="1" AcceptedAnswerId="13034" CreationDate="2018-07-25T19:26:30.493" Score="0" ViewCount="777" Body="&lt;p&gt;While installing Sitecore Experience Commerce 9.0 Update 2 I got the error where Sitecore.Commerce.Engine.Connect.2.2.86.update package installation failed and I get the below error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UdWdK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UdWdK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;------------------------------------------------------------------------------------------ InstallPackage : InstallPackage -----------------------------------------------------------------------------------------&#xA;    Installing package:  Sitecore.Commerce.Engine.Connect.2.2.86.update&#xA;    http://sxa.storefront.com/SiteUtilityPages/InstallPackages.aspx?package=Sitecore.Commerce.Engine.Connect.2.2.86.update&#xA;    Install-SitecoreConfiguration :&#xA;&#xA;            One or more exceptions occurred while processing the subscribers to the 'packageinstall:items:ended' event.&#xA;&#xA;&#xA;             body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;             p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;             b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;             H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;             H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;             pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;             .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;             .version {color: gray;}&#xA;             .error {margin-bottom: 10px;}&#xA;             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;             @media screen and (max-width: 639px) {&#xA;              pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;             }&#xA;             @media screen and (max-width: 479px) {&#xA;              pre { width: 280px; }&#xA;             }&#xA;&#xA;&#xA;&#xA;                Server Error in '/' Application.&#xA;                 One or more exceptions occurred while processing the subscribers to the 'packageinstall:items:ended' event.&#xA;&#xA;                 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;                 Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'packageinstall:items:ended' event.&#xA;                Source Error:&#xA;&#xA;&#xA;&#xA;&#xA;    Line 56:             try&#xA;    Line 57:             {&#xA;    Line 58:                 entries = UpdateHelper.Install(installationInfo, log, out text);&#xA;    Line 59:                 MetadataView view = UpdateHelper.LoadMetadata(installationInfo.Path);&#xA;    Line 60:                 var installer = new DiffInstaller(installationInfo.Action);&#xA;&#xA;&#xA;  [1]: https://i.stack.imgur.com/fQt9S.png&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I even tried analysing the Package with Install Update Package from Sitecore and found the below error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error installing 'addeditems/master/sitecore/templates/commerce/catalog/commerce catalog/__standard values_{81c273b0-8f34-4371-aa9f-d76bfae6d9ff}'. More info&#xA;Some of the installation operation cannot be performed.&#xA;An exception occured when trying to install 'addeditems/master/sitecore/templates/commerce/catalog/commerce catalog/__standard values_{81c273b0-8f34-4371-aa9f-d76bfae6d9ff}'.&#xA;Details: Microsoft.OData.Client.DataServiceQueryException: An error occurred while processing this request. ---&amp;gt; Microsoft.OData.Client.DataServiceClientException: Status Code: 401; Unauthorized at Microsoft.OData.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult) at Microsoft.OData.Client.QueryResult.EndExecuteQuery[TElement](Object source, String method, IAsyncResult asyncResult) --- End of inner exception stack trace --- at Sitecore.Commerce.ServiceProxy.Proxy.GetValue[T](DataServiceQuerySingle`1 query) at Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.GetLanguages() at &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1049" LastEditDate="2018-07-27T10:16:26.313" LastActivityDate="2018-09-25T11:01:32.047" Title="SXC 9 Update 2 Installation error: Sitecore.Commerce.Engine.Connect.2.2.86.update Package installation failed" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13030" PostTypeId="2" ParentId="12700" CreationDate="2018-07-25T23:03:36.817" Score="8" Body="&lt;p&gt;If you came here because you are using Azure Search on Sitecore 9 and are over 1000 fields, then you can safely set IndexAllFields to false, however at time of writing there is one known issue (ref 229445) preventing Forms from working correctly in 9.0.2 and below. To correctly patch your config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore role:require=&quot;Standalone or ContentManagement or ContentDelivery&quot; search:require=&quot;Azure&quot;&amp;gt;&#xA;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;indexConfigurations&amp;gt;&#xA;    &amp;lt;defaultCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;documentOptions&amp;gt;&#xA;        &amp;lt;!-- We only want default fields in the core/master/web indexes on azure due to 1000 field limit  --&amp;gt;&#xA;        &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;        &amp;lt;!-- Fix sitecore 9 forms issue 229445 --&amp;gt;&#xA;        &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;          &amp;lt;isTemplate&amp;gt;{558F9307-EBAF-480D-88B5-DFE9E63A66DE}&amp;lt;/isTemplate&amp;gt;&#xA;          &amp;lt;hidden&amp;gt;{39C4902E-9960-4469-AEEF-E878E9C8218F}&amp;lt;/hidden&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;      &amp;lt;/documentOptions&amp;gt;&#xA;    &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;  &amp;lt;/indexConfigurations&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that this only works for Azure search. Lucene and Solr have other fields missing too - you'll have to raise a sitecore support ticket for those.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-07-25T23:03:36.817" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13031" PostTypeId="2" ParentId="13028" CreationDate="2018-07-26T04:24:16.573" Score="1" Body="&lt;p&gt;In order to complete the InstallAutomationEngineModule stop the &quot; Sitecore Marketing Automation Engine sxp9u2&quot; service and re-run the Installation.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NWy0P.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NWy0P.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you edit the Master_SingleServer.json(Deploy folder\SIF.Sitecore.Commerce.1.2.14\Configuration\Commerce) to start with the step &quot;InstallCommerceMAModule&quot; and remove all the previous steps. &#xA;This will save time and help you to concentrate on specific error rather than going for all the succeeded steps again from the beginning. &lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-07-26T04:24:16.573" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13032" PostTypeId="2" ParentId="4916" CreationDate="2018-07-26T05:56:17.687" Score="1" Body="&lt;p&gt;A year on, and I've just found this after re-trying to solve the same problem, primarily for overriding the &lt;strong&gt;SolrBaseAddress&lt;/strong&gt; setting with a setting from AppSettings, as this will allow a Sitecore 9 deployment into Azure PaaS without needing to use any Sitecore patch files at all.  It's not a generic solution, in that it will only work for Solr Settings as described, but there's likely an adaptation that could be used for other settings, I just haven't checked yet.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Enter Sitecore.ContentSearch.ContentSearchManager::Locator&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This static property is the &quot;DI container&quot; for a number of the services that are used inside the Content Search subsystem.  The one we're interested in today is the registration for &lt;code&gt;ISettings&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1. Implement &lt;code&gt;ISettings&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;ISettings&lt;/code&gt; object is (annoyingly) implemented by an internal class called &lt;code&gt;Sitecore.CotentSearch.Abstractions.SettingsWrapper&lt;/code&gt;.  It's very frustrating that Sitecore have chosen to mark so many classes as internal, but onwards and upwards.  This class is a wrapper around the static properties and methods of &lt;code&gt;Sitecore.Configuration.Settings&lt;/code&gt; so you'll need to start by creating you're own.  I suggest judicious use of copy/paste from your favourite decompiler.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1a. Intercept &lt;code&gt;Sitecore.Configuration.Settings::GetSettings()&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Once you've got a new implementation of the &lt;code&gt;ISettings&lt;/code&gt; object you will need to intercept the &lt;code&gt;ISetting::GetSetting(string)&lt;/code&gt; and &lt;code&gt;ISetting::GetSetting(string,string)&lt;/code&gt; methods to first look in AppSettings to see if your setting is there, and if not, return control to the &lt;code&gt;Sitecore.Configuration.Settings&lt;/code&gt; version.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string GetSetting( string name )&#xA;{&#xA;    if ( ConfigurationManager.AppSettings.AllKeys.Contains( name ) )&#xA;        return ConfigurationManager.AppSettings[name];&#xA;&#xA;    return Settings.GetSetting( name );&#xA;}&#xA;public string GetSetting( string name, string defaultValue )&#xA;{&#xA;    if ( ConfigurationManager.AppSettings.AllKeys.Contains( name ) )&#xA;        return ConfigurationManager.AppSettings[name];&#xA;&#xA;    return Settings.GetSetting( name, defaultValue );&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;2. Override the service locator registration for &lt;code&gt;ISettings&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Untested&lt;/strong&gt; I assume you can do this with an &lt;code&gt;&amp;lt;initialize /&amp;gt;&lt;/code&gt; pipeline component, but put it in right at the beginning, before any of the Solr setup has happened. The registration is all done as part of the &lt;code&gt;Locator&lt;/code&gt;'s getter by default, so there's no special sequencing required other than just replacing the registration like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(PipelineArgs args)&#xA;{&#xA;    ContentSearchManager.Locator.Unregister( typeof( ISettings ) );&#xA;&#xA;    var fallbackSettingsService = new FallbackSettingsService();&#xA;    ContentSearchManager.Locator.Register&amp;lt;ISettings&amp;gt;( c =&amp;gt; fallbackSettingsService );&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or something like this anyway - I haven't tested this bit yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not 100% sure when this setup came into being - likely as part of 8.2 when the DI components materialised in Sitecore.  They are definitely available in the 9.0.2 version I am deploying today.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2018-07-26T05:56:17.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13033" PostTypeId="2" ParentId="12304" CreationDate="2018-07-26T06:20:39.673" Score="1" Body="&lt;p&gt;If your database is on a remote server and you are not using a Domain/Active Directory user, you need to setup your Commerce Engine to use SQL Authentication instead. You can change that by going to CommerceEngine\wwwroot\bootstrap\Global.json, under EntityStoreSqlPolicy set TrustedConnection to false, supply the SQL user username and password. &lt;/p&gt;&#xA;" OwnerUserId="3940" LastActivityDate="2018-07-26T06:20:39.673" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13034" PostTypeId="2" ParentId="13029" CreationDate="2018-07-26T06:56:34.520" Score="1" Body="&lt;p&gt;To fix it update the connection string SQL Server instance name manually to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server:”MACHINE\\SQLEXPRESS2016″&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in the following configuration JSON files and in some files you have to do it at 2 places:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;\SitecoreIdentityServer\wwwroot\appsettings.json    \CommerceShops_Sc9\wwwroot\bootstrap\Global.json    \CommerceOps_Sc9\wwwroot\bootstrap\Global.json    \CommerceMinions_Sc9\wwwroot\bootstrap\Global.json    \CommerceAuthoring_Sc9\wwwroot\bootstrap\Global.json    \CommerceShops_Sc9\wwwroot\data\Environments\Plugin.SQL.PolicySet-1.0.0.json    \CommerceShops_Sc9\wwwroot\data\Environments\PlugIn.Habitat.CommerceAuthoring-1.0.0.json    \CommerceShops_Sc9\wwwroot\data\Environments\PlugIn.AdventureWorks.CommerceAuthoring-1.0.0.json&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have made these changes, please do an iisreset before running the script again from PowerShell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://naveed-ahmad.com/2018/02/25/sitecore-experience-commerce-xc9-troubleshooting-your-installation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://naveed-ahmad.com/2018/02/25/sitecore-experience-commerce-xc9-troubleshooting-your-installation/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1049" LastEditDate="2018-07-26T13:11:07.523" LastActivityDate="2018-07-26T13:11:07.523" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13035" PostTypeId="2" ParentId="13024" CreationDate="2018-07-26T08:45:55.827" Score="16" Body="&lt;p&gt;The shard manager also keeps connection configuration in the &lt;strong&gt;[__ShardManagement].[ShardsGlobal]&lt;/strong&gt; table of the &lt;strong&gt;ShardMapManager&lt;/strong&gt; database. There is a ServerName, Port and DatabasName in there, so make sure these also point to the correct SQL server.&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-07-26T08:45:55.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13038" PostTypeId="1" AcceptedAnswerId="13121" CreationDate="2018-07-26T11:48:43.180" Score="2" ViewCount="950" Body="&lt;p&gt;I am getting the below error while trying to install Sitecore Experience Commerce 9.0 Update 2:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rjfQb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rjfQb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[--------------------------- EnsureSyncDefaultContentPaths : EnsureSyncDefaultContentPaths ---------------------------]&#xA;Ensure/Sync default content paths for: AdventureWorksAuthoring&#xA;Checking if https://localhost:5005/commerceops/CheckCommandStatus(taskId=2655) has completed ...&#xA;Ensure/Sync default content paths for environment AdventureWorksAuthoring failed, please check Engine service logs for&#xA;ore info.&#xA;Install-SitecoreConfiguration : ScriptHalted&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Install-SitecoreConfiguration.ps1:253&#xA;char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The service logs in C:\inetpub\wwwroot\CommerceShops_Sc9\wwwroot\logs points to:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR CtxMsg.Error.ContentPathAlreadyExists: Text=Content path&#xA;  '/sitecore/Commerce/Commerce Control Panel' already exists.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have also tried the below steps to resolve the error but still unable to.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Added the binding in IIS for the Sitecore website(sxp9u2.sc) and sxa,storefront.com with https(443).&lt;/li&gt;&#xA;&lt;li&gt;Added the above urls with http and https in the &lt;em&gt;AllowedOrigins&lt;/em&gt; Property of the &lt;em&gt;config.json&lt;/em&gt; for the below files.&#xA;C:\inetpub\wwwroot\CommerceAuthoring_Sc9\wwwroot&#xA;C:\inetpub\wwwroot\CommerceMinions_Sc9\wwwroot&#xA;C:\inetpub\wwwroot\CommerceOps_Sc9\wwwroot&#xA;C:\inetpub\wwwroot\CommerceShops_Sc9\wwwroot&lt;/li&gt;&#xA;&lt;li&gt;Verified $SiteHostHeaderName = &quot;sxa.storefront.com&quot; in the install ps1(Deploy-Sitecore-Commerce.ps1)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="73" LastEditDate="2018-07-26T12:29:37.563" LastActivityDate="2021-03-05T02:02:45.080" Title="installation error: Content path '/sitecore/Commerce/Commerce Control Panel' already exists" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13040" PostTypeId="1" AcceptedAnswerId="13098" CreationDate="2018-07-26T12:59:54.257" Score="5" ViewCount="1390" Body="&lt;p&gt;I'm using Sitecore 9 + Ecommerce Update 1.&#xA;I have a custom SXA component which uses as data source some Commerce Product.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bzHTV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bzHTV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For displaying all data I need to retrieve an Ecommerce Sellable item. I also need all variants under parent items. &#xA;What is the best way to do this?&lt;/p&gt;&#xA;" OwnerUserId="3988" LastEditorUserId="3988" LastEditDate="2018-07-26T13:44:29.230" LastActivityDate="2018-07-31T10:21:19.340" Title="How to retrieve SellableItem?" Tags="|sitecore-commerce|sxa-storefront|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13041" PostTypeId="1" CreationDate="2018-07-26T13:35:58.547" Score="4" ViewCount="358" Body="&lt;p&gt;I'm using Sitecore 9 update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to see if hitting a jss endpoint (&lt;code&gt;layout service&lt;/code&gt; endpoint specifically) captures analytics data just by virtue of hitting the endpoint or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also have a custom endpoint that I'm trying to use Sitecore's tracker in (`Sitecore.Analytics.Tracker.Current`). I planned on using the `experience profile` in order to view the results however I'm seeing a delay to get user data to show up in there (~30 minutes) even when I force a session to end which should start collecting the user's session data.&lt;/p&gt; &#xA;&#xA;&lt;p&gt;Is there some kind of dev/local mode I can configure &lt;code&gt;experience profile&lt;/code&gt; to use that can show visitor data in real time? If there isn't is there a way to see real time analytic data in my &lt;code&gt;xconnect&lt;/code&gt; site as it happens? &lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="2153" LastEditDate="2018-07-26T17:31:04.610" LastActivityDate="2023-07-23T12:06:55.933" Title="View Sitecore Analytics In Real Time" Tags="|xconnect|experience-profile|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="13042" PostTypeId="2" ParentId="13040" CreationDate="2018-07-26T13:38:28.483" Score="0" Body="&lt;p&gt;To achive this you can use commerce connect with the ICatalogrepository from the namespace sitecore.commerce.connect.commerceserver.catalog .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a getproduct() which can so what you need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the ProductFamily which is retrieved you get all Information about Product and variants.&lt;/p&gt;&#xA;" OwnerUserId="3737" LastActivityDate="2018-07-26T13:38:28.483" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13043" PostTypeId="2" ParentId="13040" CreationDate="2018-07-26T15:05:42.593" Score="0" Body="&lt;p&gt;For 9.0.2&#xA;This I dont know. I have it in use with Sitecore Commerce 8.2.1. But for your answer I just reflectored a bit inside the 9.0.2 dll and found some implementation of en eqivalent implementation  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;public override Item GetProduct(string productId, string catalogName)&#xA;    {&#xA;      Assert.ArgumentNotNullOrEmpty(catalogName, nameof (catalogName));&#xA;      Item obj = (Item) null;&#xA;      ISearchIndex index = CommerceTypeLoader.CreateInstance&amp;lt;ICommerceSearchManager&amp;gt;().GetIndex(catalogName);&#xA;      string catalogId = this.StorefrontContext.CurrentStorefront.CatalogItem.ID.ToGuid().ToString();&#xA;      int num = 0;&#xA;      using (IProviderSearchContext searchContext = index.CreateSearchContext((SearchSecurityOptions) num))&#xA;      {&#xA;        ParameterExpression parameterExpression;&#xA;        // ISSUE: method reference&#xA;        // ISSUE: method reference&#xA;        CommerceSellableItemSearchResultItem searchResultItem = searchContext.GetQueryable&amp;lt;CommerceSellableItemSearchResultItem&amp;gt;().Where&amp;lt;CommerceSellableItemSearchResultItem&amp;gt;((Expression&amp;lt;Func&amp;lt;CommerceSellableItemSearchResultItem, bool&amp;gt;&amp;gt;) (item =&amp;gt; item.CommerceSearchItemType == &quot;SellableItem&quot;)).Where&amp;lt;CommerceSellableItemSearchResultItem&amp;gt;((Expression&amp;lt;Func&amp;lt;CommerceSellableItemSearchResultItem, bool&amp;gt;&amp;gt;) (item =&amp;gt; item.Language == this.Context.Language.Name)).Where&amp;lt;CommerceSellableItemSearchResultItem&amp;gt;((Expression&amp;lt;Func&amp;lt;CommerceSellableItemSearchResultItem, bool&amp;gt;&amp;gt;) (item =&amp;gt; item.Name == productId.ToLowerInvariant())).Where&amp;lt;CommerceSellableItemSearchResultItem&amp;gt;((Expression&amp;lt;Func&amp;lt;CommerceSellableItemSearchResultItem, bool&amp;gt;&amp;gt;) (item =&amp;gt; item.ParentCatalogList.Contains&amp;lt;string&amp;gt;(catalogId))).Where&amp;lt;CommerceSellableItemSearchResultItem&amp;gt;((Expression&amp;lt;Func&amp;lt;CommerceSellableItemSearchResultItem, bool&amp;gt;&amp;gt;) (item =&amp;gt; item[&quot;_latestversion&quot;].Equals(&quot;1&quot;))).Select&amp;lt;CommerceSellableItemSearchResultItem, CommerceSellableItemSearchResultItem&amp;gt;(Expression.Lambda&amp;lt;Func&amp;lt;CommerceSellableItemSearchResultItem, CommerceSellableItemSearchResultItem&amp;gt;&amp;gt;((Expression) Expression.MemberInit(Expression.New(typeof (CommerceSellableItemSearchResultItem)), (MemberBinding) Expression.Bind((MethodInfo) MethodBase.GetMethodFromHandle(__methodref (SearchResultItem.set_ItemId)), )))); //unable to render the statement&#xA;        if (searchResultItem != null)&#xA;          obj = searchResultItem.GetItem();&#xA;      }&#xA;      return obj;&#xA;    }&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TNGAv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TNGAv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be found within OOTB existing SearchManager.cs from namespace Sitecore.Commerce.XA.Foundation.CommerceEngine.Managers &#xA;Maybe this could help you&lt;/p&gt;&#xA;" OwnerUserId="3737" LastActivityDate="2018-07-26T15:05:42.593" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13044" PostTypeId="1" AcceptedAnswerId="13046" CreationDate="2018-07-26T15:39:53.380" Score="1" ViewCount="111" Body="&lt;p&gt;I've setup fedauth in Sitecore 9 for my site which is working as expected for a single site. However I'm having a multisite solution and each site needs it's own login page. The login page is specified in the NoAccessUrl setting, which is set in Sitecore.Owin.Authentication.Enabler.config. This is using Sitecore 9 update 1 using wsFed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to have a different NoAccessUrl per site? &lt;/p&gt;&#xA;" OwnerUserId="2495" LastEditorUserId="2495" LastEditDate="2018-07-26T17:02:38.737" LastActivityDate="2018-07-26T17:05:11.507" Title="How to setup FedAuth with a unique login page per site?" Tags="|federated-authentication|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13045" PostTypeId="2" ParentId="13025" CreationDate="2018-07-26T16:58:05.167" Score="0" Body="&lt;p&gt;Based on this &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.449298&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt; on github &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Out of the box Solr integration for Sitecore 7.x, 8.0 and 8.1 supports&#xA;  Solr 4.x and does not work with SolrCloud that was introduced in Solr&#xA;  4.10.x versions and was fully implemented in Solr 5.x.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So you may want to upgrade solr to 5.x version and then use the Sitecore Solr patch in &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.449298/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;github&lt;/a&gt; (The patch was developed with Solr 5.2.1 and tested up to Solr 5.5.1.)&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-07-26T16:58:05.167" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13046" PostTypeId="2" ParentId="13044" CreationDate="2018-07-26T17:05:11.507" Score="1" Body="&lt;p&gt;Can you try setting the login page from config file? something like :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;Your_Website_Name&quot; set:loginPage=&quot;/api/controller/method&quot;&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;OR&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;Your_Website_Name&quot; set:loginPage=&quot;/your presentation item path&quot;&amp;gt;&#xA;   &amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2153" LastActivityDate="2018-07-26T17:05:11.507" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13048" PostTypeId="1" CreationDate="2018-07-26T18:00:55.437" Score="1" ViewCount="224" Body="&lt;p&gt;I have setup a AB Test at page level in Sitecore 8.2 Update 5 and cancelled it manually. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to setup the same AB Test again, it is throwing an error message in Experience Optimization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any ideas to overcome this issue? Is there anyway to restart the same test that was cancelled previously?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be greatly appreciated!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best,&lt;br/&gt;&#xA;Chandra Sekaran&lt;/p&gt;&#xA;" OwnerUserId="456" LastEditorUserId="2153" LastEditDate="2018-07-27T13:07:56.917" LastActivityDate="2018-07-27T13:07:56.917" Title="Sitecore AB Testing issue - 8.2 Update 5" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13049" PostTypeId="2" ParentId="9659" CreationDate="2018-07-26T18:20:59.353" Score="0" Body="&lt;p&gt;The site needs to be active on port 80. Default Sitecore installation, installs on port 443 with SSL. Hard Rock Web service looks for site on port 80. You can do this in IIS -&gt; Website Bindings -&gt; Add&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This one resolved the issue, after implementing all the above settings.&lt;/p&gt;&#xA;" OwnerUserId="4041" LastActivityDate="2018-07-26T18:20:59.353" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13050" PostTypeId="2" ParentId="13048" CreationDate="2018-07-26T19:36:53.980" Score="1" Body="&lt;p&gt;The cancelled ab testing was associated to the page within Content Editor Standard Values for that item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I removed the association, I was able to create a new AB test again.&lt;/p&gt;&#xA;" OwnerUserId="456" LastEditorUserId="2153" LastEditDate="2018-07-27T13:07:52.360" LastActivityDate="2018-07-27T13:07:52.360" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13051" PostTypeId="1" AcceptedAnswerId="13066" CreationDate="2018-07-26T19:47:29.193" Score="0" ViewCount="51" Body="&lt;p&gt;I am having issues trying to get my content to appear on my external site (&lt;a href=&quot;http://fxmtesternetrafael.azurewebsites.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://fxmtesternetrafael.azurewebsites.net&lt;/a&gt;) using FXM. I see 200 beacon responses but the eventual MatchesElements is [] blank.   &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;ContactId&quot;:&quot;d8ee9e3e0d6f4b67ab9b58ab013311b8|True&quot;,&quot;SessionId&quot;:&quot;v2ln3g5enhe4zac5fmq1n3ss&quot;,&quot;ContactExpires&quot;:&quot;2020-07-25T19:24:33.4279565&quot;,&quot;SessionPath&quot;:&quot;/&quot;,&quot;ElementMatches&quot;:[],&quot;Id&quot;:null,&quot;Url&quot;:null}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I am using the experience editor within FXM and I keep getting the following warning which might the root of my issues:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This page is in undefined. You are currently creating items in English. Change language to 'undefined'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p4JMS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p4JMS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried troubleshooting wise publishing at all levels and making sure I have the right selectors but when I add the language rules advised here &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6072/fxm-external-site-not-showing-added-component&quot;&gt;FXM External Site Not Showing Added Component&lt;/a&gt; I started seeing the undefined language warning. Help :(&lt;/p&gt;&#xA;" OwnerUserId="3824" LastActivityDate="2018-07-27T15:51:57.870" Title="FXM experience editor language not defined warning" Tags="|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13052" PostTypeId="1" AcceptedAnswerId="13055" CreationDate="2018-07-26T21:06:27.923" Score="0" ViewCount="1137" Body="&lt;p&gt;I want to know the best practice in using Item Queries and Search scope.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When should i use Item queries and when to use search scope as both of them is used in building queries&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any advise?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2018-07-27T01:35:52.613" Title="SXA Item Queries vs Search Scope" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13054" PostTypeId="2" ParentId="12823" CreationDate="2018-07-26T21:56:19.863" Score="3" Body="&lt;p&gt;Go to the config.json of your CommerceAuthoring website such as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;\CommerceAuthoring_Sc9\wwwroot\config.json&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the AppSettings\AllowedOrigins, make sure that an entry to your BizFx's URL is in the list.  It's normally, localhost:4200, but since you changed it, you need to update this config setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per Andrey's comment, yes, the URLs are case-sensitive.  &lt;/p&gt;&#xA;" OwnerUserId="2972" LastEditorUserId="2972" LastEditDate="2018-07-27T16:47:29.417" LastActivityDate="2018-07-27T16:47:29.417" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13055" PostTypeId="2" ParentId="13052" CreationDate="2018-07-27T01:35:52.613" Score="3" Body="&lt;p&gt;The two features are similar in that they make use of the &lt;code&gt;Query Builder&lt;/code&gt; field type, and are used in searching for items by SXA.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Item Queries&lt;/strong&gt; is used by list components such as the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Archive&lt;/li&gt;&#xA;&lt;li&gt;Link List&lt;/li&gt;&#xA;&lt;li&gt;Page List&lt;/li&gt;&#xA;&lt;li&gt;Tags&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can create custom queries under &lt;em&gt;Settings &gt; Item Queries&lt;/em&gt;, which will be bundled up with queries that come OOTB. You can also code a custom one like &lt;a href=&quot;https://www.sitecorenutsbolts.net/2018/03/16/Sitecore-SXA-Custom-PageList-data-sources/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; from Richard Seal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Page List you can see the query configured using the &lt;em&gt;Source Type&lt;/em&gt; parameter.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2iBEN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2iBEN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Search Scope&lt;/strong&gt; is used by other search enabled components which all get wired together using a common search signature. You can scope search in the following ways:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Globally for the tenant on the &lt;em&gt;Settings&lt;/em&gt; item because it inherits from the &lt;em&gt;_Search Criteria&lt;/em&gt; template.&lt;/li&gt;&#xA;&lt;li&gt;Locally for the page because it inherits from &lt;em&gt;_Page Search Scope&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li&gt;At a component level on the &lt;em&gt;Search Results&lt;/em&gt; component.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;On the Search Results component you can see the scope configured using the Search Scope parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/L15a0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/L15a0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the page you can configure the scope under the Search Criteria section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sC9iS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sC9iS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Settings item you can configure the scope under Search Criteria section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H4GGp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H4GGp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Something I am not clear on is whether the &lt;strong&gt;Item Queries&lt;/strong&gt; acknowledge the scope defined under Settings or on the page.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-07-27T01:35:52.613" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13056" PostTypeId="1" CreationDate="2018-07-27T04:12:29.043" Score="4" ViewCount="897" Body="&lt;p&gt;We are deploying a &lt;code&gt;Sitecore&lt;/code&gt; web application via CI/CD in &lt;code&gt;Octopus&lt;/code&gt; to an &lt;code&gt;Azure Staging slot&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The deployment randomly fails with the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; New-AzureRMWebAppSlot : Cannot acquire exclusive lock to create, update or  &#xA; At C:\Octopus\Work\20180727035133-565589-870\Script.ps1:5 char:1 &#xA; + New-AzureRMWebAppSlot -Name TestCM -Slot Staging -ResourceGroupNam ... &#xA; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &#xA; + CategoryInfo          : CloseError: (:) [New-AzureRmWebAppSlot], CloudException &#xA;+ FullyQualifiedErrorId : Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.NewAzureWebAppSlotCmdlet &#xA;The remote script failed with exit code 1 &#xA;The action Create and Deploy Staging Slot CM on the Octopus Server failed &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error does not always occur. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed microsoft's &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-lock-resources&quot; rel=&quot;nofollow noreferrer&quot;&gt;docs on checking for locks&lt;/a&gt; in &lt;code&gt;Azure Portal&lt;/code&gt; and none are showing up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I fix (or prevented) this issue ?&lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="2714" LastEditDate="2018-07-27T04:22:09.597" LastActivityDate="2018-07-27T04:22:09.597" Title="When deploying Sitecore in Azure, how do you fix (or prevent) a slot lock?" Tags="|azure|deployment|" AnswerCount="0" CommentCount="5" ClosedDate="2018-11-07T14:45:16.790" ContentLicense="CC BY-SA 4.0" />
  <row Id="13057" PostTypeId="2" ParentId="12503" CreationDate="2018-07-27T08:17:31.820" Score="2" Body="&lt;p&gt;we finally managed to solve this issue. Sitecore provided me with an official hotfix which I am using in Resolve Item/Update Item steps. &#xA;If you can't ask Support for the help by some reason - then you can use hotfix provided by Vlad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/vladcheg/Sitecore.DataExchange.Providers.Sc.CustomHotfix&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/vladcheg/Sitecore.DataExchange.Providers.Sc.CustomHotfix&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used his solution with one small change:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BGwGd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BGwGd.png&quot; alt=&quot;my changes&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found that DEF is trying to find the plugin above in ResolveMultilanguagePipelineStep (if we have &quot;Parent For Item Location&quot; field set to &quot;Pipeline Context Parent Temp Storage&quot;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OFsZc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OFsZc.png&quot; alt=&quot;data from dotPeek&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it will be useful for some of you.&lt;/p&gt;&#xA;" OwnerUserId="3633" LastActivityDate="2018-07-27T08:17:31.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13058" PostTypeId="1" AcceptedAnswerId="13097" CreationDate="2018-07-27T11:35:00.167" Score="2" ViewCount="246" Body="&lt;p&gt;I managed to import the data with Parent-Child relations (below you can see that I have several pipelines for different types of items - red for parent; green for subfolder; blue for children). However, I need to have children of different templates under the parent (Folder Assets on the image below). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nmVRJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nmVRJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought that I can try to extend the second Pipeline like below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Select Languages&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Resolve Product Model&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.Apply Mapping&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4.Update Sitecore Item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5.Get Product Folders&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6.Iterate Product Folders&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;7.Get Asset Folders (use another property of a parent object)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;8.Iterate Asset Folders (pointer to a new pipeline which will handle Assets)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, this solution doesn't work (it seems that If we changed the context to a child pipeline in step 6 then we can't go back to step 7). Do you have any suggestions how to setup the pipeline batch to reach the goal?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance for the help.&lt;/p&gt;&#xA;" OwnerUserId="3633" LastEditorUserId="73" LastEditDate="2018-07-28T07:09:41.897" LastActivityDate="2020-07-29T11:32:43.757" Title="Handle several collections of children items on data import" Tags="|data-exchange-framework|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13061" PostTypeId="1" CreationDate="2018-07-27T12:50:27.823" Score="0" ViewCount="51" Body="&lt;p&gt;I need to generate report from the custom model data saved with the interaction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a custom event with custom model and then trigger the action from the code based on the user behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, when the interaction is saved in database, the event is saved liked that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[&#xA;   {  &#xA;      &quot;@odata.type&quot;:&quot;#Feedback&quot;,&#xA;      &quot;CustomValues&quot;:[&#xA;&#xA;  ],&#xA;  &quot;Data&quot;:&quot;25b3ad4e-21f9-4cd9-af0f-d5dc3f40e0bd&quot;,&#xA;  &quot;DataKey&quot;:&quot;newsletterid&quot;,&#xA;  &quot;DefinitionId&quot;:&quot;2b9cdda6-aa15-4df3-a305-4883a2f16cf4&quot;,&#xA;  &quot;Id&quot;:&quot;2b9cdda6-aa15-4df3-a305-4883a2f16cf4&quot;,&#xA;  &quot;Text&quot;:&quot;Signed up for newsletter&quot;,&#xA;  &quot;Timestamp&quot;:&quot;2018-07-27T11:14:33.7989090Z&quot;,&#xA;  &quot;emailAddress&quot;:&quot;test@test.com&quot;,&#xA;  &quot;feedback&quot;:&quot;happy&quot;&#xA;   }&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need a report that get the users with their feedback from the above custom model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do that?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="73" LastEditDate="2018-07-28T07:36:58.467" LastActivityDate="2018-07-28T07:36:58.467" Title="Generate report from Interaction with custom model data" Tags="|xdb|xconnect|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13063" PostTypeId="1" CreationDate="2018-07-27T13:35:53.093" Score="1" ViewCount="47" Body="&lt;p&gt;I am on Sitecore.NET 8.0 (rev. 160115)&#xA;January 15, 2016&#xA;.NET Framework 4.0.30319.42000.&#xA;&lt;br/&gt;&lt;br/&gt;&#xA;I am trying to follow these instructions on &lt;a href=&quot;https://blog.richardszalay.com/2017/03/24/sitecore-experience-ribbon-header/&quot; rel=&quot;nofollow noreferrer&quot;&gt;how to fix a fixed position navigation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I created the Js file &amp;amp; I went into core and setup the following.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XNmFd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XNmFd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Funny thing is I don't think any of the piplines are executing (or I really don't understand what is going on)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to add the following to my pipeline and an existing one GetCommands.js for debugging purposes&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;window.hello = 'hello';&#xA;Sitecore.hello = 'hello';&#xA;console.log('hello');&#xA;alert('hello');&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When in the console  window.hello and Sitecore.hello were undefined.&lt;/p&gt;&#xA;" OwnerUserId="2632" LastEditorUserId="2153" LastEditDate="2018-07-27T16:10:08.973" LastActivityDate="2023-12-23T00:03:10.433" Title="Getting ClientSide Piplines to fire" Tags="|experience-editor|pipelines|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13064" PostTypeId="1" AcceptedAnswerId="13095" CreationDate="2018-07-27T13:36:03.090" Score="4" ViewCount="1898" Body="&lt;p&gt;From certain point in time I cannot start Sitecore XConnect Search Indexer Windows Service anymore. I can see just below exceptions in logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running Sitecore 9 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how my &lt;code&gt;C:\inetpub\wwwroot\sc9u2.xconnect\App_data\Diagnostics&lt;/code&gt; folder looks like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ciARN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ciARN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see this exception in AppDomain log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;2018-07-27 15:16:23.986 +02:00 [Information] Starting Xdb Indexer App Domain, Machine: WIN-G4E0D3RI00V, InstanceName: XConnectIndexer_AppDomain&#xA;&#xA;2018-07-27 15:16:26.773 +02:00 [Information] SystemPerformanceCounters Constructor, Instance:XConnectIndexer, Path: App_Data\Diagnostics, CounterFilePattern: *.json&#xA;&#xA;2018-07-27 15:16:27.976 +02:00 [Error] Exception occurred during instantiating of IndexerHost.&#xA;System.InvalidOperationException: Unable to resolve service for type 'Sitecore.Xdb.Collection.Indexing.IIndexInitializer' while attempting to activate 'Sitecore.Xdb.Collection.Indexing.SingleThreadedIndexer'.&#xA;   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.Configuration.ConfigurationServiceType.c__DisplayClass24_0.b__0(IServiceProvider sp)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerHost..ctor(IConfigurationRoot config)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.IndexerHostAppDomainBridge..ctor()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can see this exception in it's AppHost log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;2018-07-27 15:16:22.027 +02:00 [Information] Xdb Indexer Application Start, Machine: WIN-G4E0D3RI00V, InstanceName: XConnectIndexer_AppHost&#xA;&#xA;2018-07-27 15:16:28.068 +02:00 [Error] Failed to start the indexer host&#xA;System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.InvalidOperationException: Unable to resolve service for type 'Sitecore.Xdb.Collection.Indexing.IIndexInitializer' while attempting to activate 'Sitecore.Xdb.Collection.Indexing.SingleThreadedIndexer'.&#xA;   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.Configuration.ConfigurationServiceType.c__DisplayClass24_0.b__0(IServiceProvider sp)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerHost..ctor(IConfigurationRoot config)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.IndexerHostAppDomainBridge..ctor()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandleInternal&amp; ctor, Boolean&amp; bNeedSecurityCheck)&#xA;   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp; stackMark)&#xA;   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&#xA;   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp; stackMark)&#xA;   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&#xA;   at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark&amp; stackMark)&#xA;   at System.Activator.CreateInstance(String assemblyName, String typeName)&#xA;   at System.AppDomain.CreateInstance(String assemblyName, String typeName)&#xA;   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)&#xA;   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.CreateAppDomainAndIndexer()&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.Start()&#xA;   at Sitecore.XConnect.Search.Indexer.Service.OnStart(String[] args)&#xA;&#xA;2018-07-27 15:16:28.083 +02:00 [Information] Xdb Indexer Application End, Machine: WIN-G4E0D3RI00V, InstanceName: XConnectIndexer_AppHost&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I missing some files there? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anybody encountered this problem before?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="70" LastEditDate="2018-07-27T13:43:43.230" LastActivityDate="2018-07-31T07:23:11.033" Title="Cannot start Sitecore XConnect Search Indexer Windows Service" Tags="|xconnect|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13065" PostTypeId="1" CreationDate="2018-07-27T15:13:29.810" Score="0" ViewCount="315" Body="&lt;p&gt;I created rendering variants definition which has header, image and button. For the button, I provided CSS class and also uncheck 'Render if empty' checkbox. The issue I am seeing is that if I don't provide value for the button, it still renders. I am using SxA 1.7. Thanks for any help&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="312" LastEditDate="2018-11-06T19:15:23.550" LastActivityDate="2018-11-06T19:15:23.550" Title="Rendering variants CSS class" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13066" PostTypeId="2" ParentId="13051" CreationDate="2018-07-27T15:51:57.870" Score="0" Body="&lt;p&gt;Ah my issue was that the Sitecore site I was using to manage FXM was behind my corporate Internet and was blocking building the appropriate response back to my external site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I used a Sitecore site that was exposed out to the Internet then everything works as intended.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sigh I spent to much time on that!&lt;/p&gt;&#xA;" OwnerUserId="3824" LastActivityDate="2018-07-27T15:51:57.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13067" PostTypeId="1" AcceptedAnswerId="13075" CreationDate="2018-07-27T18:41:46.857" Score="3" ViewCount="952" Body="&lt;p&gt;I'm trying to find a way to allow a user to pick from a multi-select list as part of a rule condition, but I'm not having any luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My exact scenario is that each user on the site needs to identify as a certain investor type, before they are allowed to proceed onto the site.  Now what we want the users to be able to do is to be able to personalize components in the experience editor based on the users investor type.  I'm looking to create a rule like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;where current investor matches one of these [investorTypes,Multiselect,root=/sitecore/content/home/data/investor types,selected types]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if this is at all possible out of the box?  Or if something similar has been done elsewhere?  I think that the worst-case-scenario is to use a tree instead, and tell them to break it up into multiple conditions... but that seems like it's adding unnecessary work on the content author, when the multi-select is a concept everyone is already familiar with.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're on Sitecore 9.0.1, if it matters.&lt;/p&gt;&#xA;" OwnerUserId="4046" LastActivityDate="2018-07-29T01:53:17.693" Title="Rule condition with multiselect?" Tags="|personalization|rules-engine|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13068" PostTypeId="2" ParentId="13064" CreationDate="2018-07-27T19:40:18.017" Score="3" Body="&lt;p&gt;If you have applied an update, there is a chance you have missed a file. If this is the case, I suggest to re apply the update files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Context: the interface mentioned in the error message was introduced in one of the updates, so having new config files (with the updated DI registrations) without the assemblies would lead to that exact message.&lt;/p&gt;&#xA;" OwnerUserId="76" LastActivityDate="2018-07-27T19:40:18.017" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13071" PostTypeId="1" AcceptedAnswerId="13091" CreationDate="2018-07-27T20:04:45.187" Score="3" ViewCount="263" Body="&lt;p&gt;I want to use the layout service endpoint that is a part of jss. If I make a request to the layout service endpoint should any analytics events be triggered by default? Currently it seems that making a request directly to this endpoint does not and I'm not sure if this is due to a bad setup on my part or if this is expected behavior. I've seen a some documentation mentioning that jss supports analytics but I'm not sure if that means hitting these api endpoints record data based on the request or if it's handled in a different way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm specifically looking at the experience profile to try to see when the layout service is used however new user data pertaining to the layout service endpoint does not show up. It does show up when hitting a normal front end page though. I'm using Sitecore 9 update 2.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-07-30T13:53:29.090" LastActivityDate="2018-07-30T16:22:04.230" Title="Hitting the Layout Service Endpoint Is Not Recording Analytics" Tags="|jss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13072" PostTypeId="1" AcceptedAnswerId="13571" CreationDate="2018-07-27T20:12:34.850" Score="0" ViewCount="1922" Body="&lt;p&gt;I am working on a new site in our Dev environment and I can not get the Password Recovery working. We have it working for another site in a different box. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I first thought it was a communication issue.  However, from that box I am able to send email via telenet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked at the web.config settings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;passwordRecovery argsType=&quot;Sitecore.Pipelines.PasswordRecovery.PasswordRecoveryArgs&quot;&amp;gt;&#xA;    &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.PasswordRecovery.VerifyUsername, Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.PasswordRecovery.GeneratePassword, Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.PasswordRecovery.PopulateMail, Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.PasswordRecovery.SendPasswordRecoveryMail, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;/passwordRecovery&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;Login.DisablePasswordRecovery&quot; value=&quot;false&quot; /&amp;gt;&#xA;&#xA;&amp;lt;setting name=&quot;MailServer&quot; value=&quot;smtp.cantTellYou.com&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other things I looked at:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The app pool user is a local admin on the box&lt;/li&gt;&#xA;&lt;li&gt;The core database has the same password recovery settings as the working site&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is there a log or something I can look at to debug if these messages are getting sent out?&lt;/p&gt;&#xA;" OwnerUserId="2632" LastEditorUserId="2056" LastEditDate="2018-07-28T20:33:24.330" LastActivityDate="2018-08-28T11:45:19.467" Title="Mail Reset Password not working" Tags="|sitecore-client|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13073" PostTypeId="2" ParentId="13072" CreationDate="2018-07-28T03:53:53.100" Score="2" Body="&lt;p&gt;I believe that you could troubleshoot this by opening log file under Data\logs folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to fix your issues, follow below two steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)&#xA;If your SMTP server requires authentication, you need to also configure these settings in Web.config as configuring just MailServer is not sufficient:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;MailServerUserName&lt;/li&gt;&#xA;&lt;li&gt;MailServerPassword&lt;/li&gt;&#xA;&lt;li&gt;MailServerPost&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can do that by opening Web.config and changing these elements:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- MAIL SERVER USER If the SMTP server requires login, enter the user name in this setting--&amp;gt;&#xA;&amp;lt;setting name=&quot;MailServerUserName&quot; value=&quot;&quot; /&amp;gt;&#xA;&amp;lt;!-- MAIL SERVER PASSWORD If the SMTP server requires login, enter the password in this setting--&amp;gt;&#xA;&amp;lt;setting name=&quot;MailServerPassword&quot; value=&quot;&quot; /&amp;gt;&#xA;&amp;lt;!-- MAIL SERVER PORT If the SMTP server requires a custom port number, enter the value in this setting. The default value is: 25--&amp;gt;&#xA;&amp;lt;setting name=&quot;MailServerPort&quot; value=&quot;25&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2)&#xA;You also need to change the sender of the Forgot your Password email to a valid email address. You can change the subject and content of the email if you wish. To do this, follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Log in to Sitecore as an administrator&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Launchpad, open the Desktop, and select the Core database.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Content Editor, navigate to /sitecore/system/Settings/Security/Password recovery/Password Recovery Email.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Enter a valid email address in the Sender email address field, and change the other fields as you need.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More information can be found in official documentation:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/security_and_administration/login/configure_the_password_policy#_Enable_the_forgotten&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/setting_up_and_maintaining/security_and_administration/login/configure_the_password_policy#_Enable_the_forgotten&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-28T20:31:44.703" LastActivityDate="2018-07-28T20:31:44.703" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13074" PostTypeId="1" CreationDate="2018-07-28T04:35:15.533" Score="3" ViewCount="1017" Body="&lt;p&gt;Has anyone here implemented autocomplete feature of azure search with Sitecore? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see documentation on how to add a suggester while creating an index in azure, but Sitecore documentation (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/using_solr_autosuggest&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/using_solr_autosuggest&lt;/a&gt;) only mentions solr suggester configuration, and I don't see corresponding dlls for azure on nuget (Sitecore.ContentSearch.SolrProvider.dll, Sitecore.ContentSearch.SolrNetExtension.dll)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastActivityDate="2019-05-16T21:02:48.833" Title="How to add a suggester / enable autocomplete in Sitecore configuration for an Azure search index?" Tags="|azure|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13075" PostTypeId="2" ParentId="13067" CreationDate="2018-07-28T08:13:22.130" Score="4" Body="&lt;p&gt;OOTB Sitecore, this is not possible. However, you can still use the Treelist and there is no need to create different conditions. The way I use the treelist is as shown below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Rule Creation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;where current investor matches one of these [AssociatedInvestor,Treelist,root=/sitecore/content/Home/Investor Types,selected types]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The below screenshot is the outcome from the Rule Creation Window&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/X72ak.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/X72ak.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XiMOw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XiMOw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see in the above screenshots, I have selected multiple items under only one condition. So, for your use case, based on the path you specified in the question (&lt;code&gt;/sitecore/content/home/data/investor types&lt;/code&gt;), all your investor types are under that path. You just need to add your path with a Treelist type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in the code when you are implementing the condition, you will already have access to both selected value. The selected value are delimited by &lt;code&gt;|&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qcP1A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qcP1A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, your code will be like this for the condition&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class InvestorTypeCondition&amp;lt;T&amp;gt; : WhenCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;    public string AssociatedInvestor { get; set; }&#xA;&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        Assert.ArgumentNotNull(ruleContext, &quot;ruleContext&quot;);&#xA;&#xA;        if (!this.AssociatedInvestor.IsNullOrEmpty())&#xA;        {&#xA;            var selectedInvestors = this.AssociatedInvestor.Split('|');&#xA;            if (selectedInvestors.Any())&#xA;            {&#xA;                foreach (var selectedInvestor in selectedInvestors)&#xA;                {&#xA;                    // YOUR LOGIC GOES HERE&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        return true;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-07-28T08:13:22.130" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13076" PostTypeId="2" ParentId="13067" CreationDate="2018-07-29T01:53:17.693" Score="0" Body="&lt;p&gt;Listening to your scenario, it sounds like what you want is for the end user to identify themselves as a certain type of user and then personalize the site based on that selection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I talk in meetings about this exact scenario I always show &#xA;&lt;a href=&quot;https://www.airforce.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.airforce.com/&lt;/a&gt; as an example. The user self identifies themselves as a certain type of user by selecting the a few selectors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hfQKY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hfQKY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore world, I make those selectors call an API and set facets on the user's contact. Then I personalize the user either on a pattern card, identified by those selections. Or by a rule that reads the facet value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pattern card bits are OOTB. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-07-29T01:53:17.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13078" PostTypeId="2" ParentId="12907" CreationDate="2018-07-29T03:48:04.233" Score="1" Body="&lt;p&gt;Nuget Tool Installer task to be added before restoring the nuget package. Please take a look at below screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IdcVA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IdcVA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2018-07-29T03:48:04.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13079" PostTypeId="1" CreationDate="2018-07-29T05:00:09.503" Score="1" ViewCount="426" Body="&lt;p&gt;I am getting zero results in Sitecore Experience Dashboard and found that Sitecore gets data using Sitecore_analytics_index and an analytics index that i have is more or less broken, and as far as I know it is not possible to trigger a rebuild of the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can somebody please let me know how do i rebuild Sitecore_analytics_index and i have already build reporting Database which didn't result in success&lt;/p&gt;&#xA;" OwnerUserId="1533" LastActivityDate="2020-07-18T01:37:23.653" Title="Sitecore_Analytics_Index is Broken" Tags="|experience-analytics|experience-profile|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13080" PostTypeId="1" AcceptedAnswerId="13167" CreationDate="2018-07-29T05:55:48.167" Score="7" ViewCount="1132" Body="&lt;p&gt;I have installed Sitecore Experience Commerce 9.0 Update 2 and my IIS shows me the below websites created:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pvP3I.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pvP3I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What are the certificates associated with each of them?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do see &lt;em&gt;SitecoreIdentityServer&lt;/em&gt; and all other website assigned by default with  &lt;em&gt;Sitecore Commerce services SSL certificate&lt;/em&gt;(localhost) after installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why Identity server certificate exist?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover I do see the thumbprint of Identity server assigned on the &lt;em&gt;SitecoreIdentityServer&lt;/em&gt; appsettings.json but  the certificates is not assigned to it or any websites.&#xA;We also create &lt;em&gt;Sitecore commerce engine connect certificate&lt;/em&gt; but that is also not assigned to any of the bindings of any of the websites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6vYmj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6vYmj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="2056" LastEditDate="2018-07-30T07:00:30.740" LastActivityDate="2018-08-19T15:47:44.087" Title="What are the certificates associated with websites on installation of Sitecore Experience Commerce 9 Update 2" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13081" PostTypeId="2" ParentId="12817" CreationDate="2018-07-29T12:18:31.030" Score="1" Body="&lt;p&gt;Sitecore Experience Commerce 9 Update 2 now includes a command line migration tool that generates the required Commerce 9 compatible Catalog JSON files from the old Commerce Server Catalog xml files. Have a look at the sample migration plugins inside the SDK.&lt;/p&gt;&#xA;" OwnerUserId="3940" LastActivityDate="2018-07-29T12:18:31.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13082" PostTypeId="2" ParentId="13079" CreationDate="2018-07-29T14:03:22.563" Score="1" Body="&lt;p&gt;The Sitecore recommended way to rebuild the sitecore analytics index is to rebuild the reporting database. To achieve this, you also need to delete the index files in the index folder. For Lucene, you can find that in the &lt;code&gt;\Data\indexes\sitecore_analytics_index&lt;/code&gt; folder.&lt;/p&gt;&#xA;&lt;p&gt;When the rebuild is complete, the analytics job will run and rebuild the index.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/81/sitecore-experience-platform/en/walkthrough--rebuilding-the-reporting-database.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/81/sitecore-experience-platform/en/walkthrough--rebuilding-the-reporting-database.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="4026" LastEditDate="2020-07-18T01:37:23.653" LastActivityDate="2020-07-18T01:37:23.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13083" PostTypeId="1" AcceptedAnswerId="13084" CreationDate="2018-07-29T14:47:08.977" Score="5" ViewCount="384" Body="&lt;p&gt;I heard someone mention the  use of ShutdownGuard for long running precesses. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How does one properly make use of this and what are some cautions around its usage?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-07-29T22:10:33.830" Title="What is the ShutdownGuard and how should I use it?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13084" PostTypeId="2" ParentId="13083" CreationDate="2018-07-29T15:40:00.460" Score="7" Body="&lt;p&gt;The &lt;code&gt;ShutdownGuard&lt;/code&gt; prevents the application from shutting down, primarily this  was meant to be used by the package installer to prevent the application from shutting down due to config files and dll's being deployed. Without this in place, the application would potentially restart several times during the package installation process, once each time a config file or dll was deployed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;ShutdownGuard&lt;/code&gt; disposable class can be found in the &lt;code&gt;Sitecore.Update.Installer.Installer.Utils&lt;/code&gt; namespace, within the &lt;code&gt;Sitecore.Update.dll&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You &lt;em&gt;could&lt;/em&gt; use this in your own code by wrapping it within a &lt;code&gt;using&lt;/code&gt; block:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;//using Sitecore.Update.Installer.Utils;&#xA;&#xA;using (new ShutdownGuard())&#xA;{&#xA;  // your custom code for long running process&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;BUT, given the namespace and library this class is implemented within, it was clearly not intended for this code to be used for preventing the application shutting down during long running processes and tasks. This feels like a code smell and a misuse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should use Sitecore jobs to invoke long-running process in background threads (read more &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-jobs-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://www.codeflood.net/blog/2011/03/17/long-running-process-options/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;). If you need to run tasks periodically then you should used &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-all-about-sitecore-scheduling-agents-and-tasks&quot; rel=&quot;nofollow noreferrer&quot;&gt;Scheduled Tasks&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any application restarts whilst the Job/Task is running will cause it to not complete, but your code should take this into consideration and be defensively coded to allow the task to gracefully restart at a later stage and pick up where it left off. Relying on a code-only solution to prevent application restarts would lead to issues if the application stopped for other reasons, such as the entire server itself shutting down or restarting (e.g. planned maintenance).&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-07-29T22:10:33.830" LastActivityDate="2018-07-29T22:10:33.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13087" PostTypeId="1" CreationDate="2018-07-30T09:04:44.670" Score="1" ViewCount="708" Body="&lt;p&gt;I'm encountering an issue which I can't resolve : using explore mode in the experience editor, I get 403 errors when trying to see any of the data from the current visit (the tabs and accordions are all blank).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added some patches to try and fix api access, including &lt;code&gt;Sitecore.Services.SecurityPolicy&lt;/code&gt; and &lt;code&gt;Sitecore.Services.AllowAnonymousUser&lt;/code&gt;.&#xA;These patches do help me access the apis, which are now available from my browser. But the issue persists within the experience editor, and I get the following 403 errors on urls that ARE accessible through normal browsing in a new tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kdvNM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kdvNM.png&quot; alt=&quot;Sitecore 403 forbidden on experience editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any hints on this ? I've been on it for a few days... Thanks a lot for your help !&lt;/p&gt;&#xA;" OwnerUserId="4053" LastEditorUserId="73" LastEditDate="2018-07-30T09:09:31.903" LastActivityDate="2019-04-28T10:01:40.310" Title="Experience Explorer 403 forbidden on sitecore api ajax call" Tags="|experience-editor|sitecore-api|" AnswerCount="1" CommentCount="4" ClosedDate="2019-04-28T10:23:54.880" ContentLicense="CC BY-SA 4.0" />
  <row Id="13088" PostTypeId="1" CreationDate="2018-07-30T11:38:29.750" Score="1" ViewCount="272" Body="&lt;p&gt;We have currently enabled the Sitecore OOB Personalization module, and have developed some custom conditions and actions to display a particular component on the website. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a user authenticated on the sire, we are identifying the contact with a primary key, such that all interaction the user has done is associated with the primary key in the Mongo DB database later on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following activation of the Personalization module on our Production environment(which is a load-balanced environment), the component was working fine during testing. Yet, after some time we noticed that the component was not being displayed on a few individual servers. When we cleared the HTML cache on these specific servers, the component was working as required for some time but got hidden again afterward. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was a random behavior that was happening with this component on different servers, and not on specific individual servers(there is no HTML cache enabled on the MVC rendering for the component).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our logs, we noticed that the following errors were being obtained a few times on those individual servers&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.Analytics.Exceptions.ContactLockException Message: &#xA;Failed to extend contact lease for contact f217ae9d-a38f-4752-be0c-d824965f4d3b &#xA;Source: Sitecore.Analytics at Sitecore.Analytics.Tracking.ContactManager.SaveAndReleaseContact(Contact contact) at Sitecore.Analytics.Pipelines.EndAnalytics.ReleaseContact.Process(PipelineArgs args) at (Object , Object[] ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at&#xA; Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, Boolean failIfNotExists) &#xA;at Sitecore.Analytics.Pipelines.HttpRequest.EndAnalytics.Process(HttpRequestArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Following the occurrence of this error on the server, we noticed that one of the following conditions was being set as true &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Analytics.Tracking.Profile != null &amp;amp;&amp;amp;&#xA; Sitecore.Analytics.Tracking.Profile.Count &amp;gt; 0) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for all contacts who were trying to access the site(noticed these in the logs when accessing the individual server where the component was not being displayed).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you indicate in which specific use case we get this type of issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may find below the code snippet we have for the identification of the contact(the variable urn is our primary key)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactManager contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;if (contactManager != null)&#xA;{&#xA;Contact contact1 = contactManager.LoadContactReadOnly(urn);&#xA;if (contact1 == null || contact1.ContactId == Guid.Empty)&#xA;    Tracker.Current.Session.Identify(urn);&#xA;else&#xA;{&#xA;    ContactRepository contactRepository = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactRepository&quot;, true) as ContactRepository;&#xA;    if (contactRepository != null)&#xA;    {&#xA;                    Contact newContact = contactRepository.CreateContact(ID.NewID);&#xA;                    contact1.IsTemporaryInstance = true;&#xA;                    newContact.Identifiers.IdentificationLevel = ContactIdentificationLevel.Known;&#xA;                    newContact.Identifiers.Identifier = urn;&#xA;                    contactRepository.MergeContacts(newContact, contact1);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="4050" LastEditDate="2020-01-13T07:44:58.947" LastActivityDate="2024-01-24T16:04:15.577" Title="Failed to extend contact lease for contact" Tags="|personalization|contact-facets|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13090" PostTypeId="2" ParentId="13088" CreationDate="2018-07-30T15:39:38.007" Score="0" Body="&lt;p&gt;For web users, I think you are doing way too much work. If this was off Web Session and you needed to create contacts on the site, maybe in bulk, then this would be good code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under most circumstances, Sitecore does all the contact work for you. There is also no need for &lt;code&gt;contactRepository.MergeContacts&lt;/code&gt; anymore, that is built in now.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Get Contact&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contact = Tracker.Current.Contact;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Get a logged in contact&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Session.Identify(urn);&#xA;var contact = Tracker.Current.Contact;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-07-30T15:39:38.007" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13091" PostTypeId="2" ParentId="13071" CreationDate="2018-07-30T16:22:04.230" Score="3" Body="&lt;p&gt;If you're using Experience Profile, note that by default it &lt;a href=&quot;https://sitecore.stackexchange.com/a/6900/267&quot;&gt;does not index anonymous contacts that have not been identified&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may need to enable the &lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Analytics.IndexAnonymousContacts&quot; value=&quot;false&quot;/&amp;gt;&lt;/code&gt; setting to get anonymous contacts in the Experience Profile.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Important: The above is valid for Sitecore 8.2. For 9.0, the &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-anonymous-contact-indexing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;anonymous contacts setting is different&lt;/a&gt; and is set on xConnect config.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Note also that analytics data is persisted on session end, which means there's a delay before it makes it to the database. Placing a &lt;code&gt;abandon.aspx&lt;/code&gt; file with the following contents in the Sitecore webroot can allow you to arbitrarily end your session and thus flush the data immediately to xConnect:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; %&amp;gt;&#xA;&amp;lt;script runat=&quot;server&quot;&amp;gt;&#xA;public void Page_Load(object sender, EventArgs args)&#xA;{&#xA; Sitecore.Analytics.Tracker.Current.EndTracking();&#xA; Session.Abandon();&#xA;}&#xA;&amp;lt;/script&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA; &amp;lt;body&amp;gt;&#xA;  &amp;lt;p&amp;gt;The session was abandoned.&amp;lt;/p&amp;gt;&#xA; &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;FWIW, I tested direct API calls to Layout Service and they are being tracked as interactions, including attached goals in my Sitecore instance.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-07-30T16:22:04.230" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13092" PostTypeId="1" AcceptedAnswerId="13111" CreationDate="2018-07-30T17:48:51.650" Score="1" ViewCount="990" Body="&lt;p&gt;Background: Sitecore 8.2.6, SOLR 5.4.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to use class indexer to resolve field name for SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To simplify issue description let me provide next code snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var fieldName = ..method parameter.ToLowerInvariant();&#xA;var products = context.GetQueryable&amp;lt;SearchItemResult&amp;gt;()&#xA;                    .Where(x =&amp;gt; x[fieldName] != null)&#xA;                    .ToList().AsEnumerable();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For example, fieldName value that is passed to predicate is &quot;shape&quot;. Index actually contains field &lt;code&gt;shape_s&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is such - when I use standard &lt;code&gt;sitecore_web_index&lt;/code&gt;, in &lt;em&gt;Search.log&lt;/em&gt; I can observe query where this &lt;code&gt;shape&lt;/code&gt; is actually resolved to &lt;code&gt;shape_s&lt;/code&gt;, and query does its job. But when I switch to &lt;code&gt;custom sitecore_products_index&lt;/code&gt; which is based on web database and indexes just specific set of templates via &lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&lt;/code&gt;, in Search.log I get error message '[&quot;undefined field shape&quot;]'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I can think after all my experiments the only superficial difference is that web index contains all the templates, but custom product index contains reduced set of them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I inherit SearchItemResult to my custom class and define some property decorated with IndexField attribute, everything works fine if I use this approach. But in this specific task I have to use dynamic field name passed as parameter, so I want to use C# indexer for a SearchItemResult class to resolve this into SOLR's field name.&lt;/p&gt;&#xA;" OwnerUserId="2410" LastEditorUserId="605" LastEditDate="2018-07-31T20:22:24.413" LastActivityDate="2018-07-31T20:22:24.413" Title="Solr SearchResultItem indexer does not resolve dynamic field name on custom index" Tags="|solr|index|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13093" PostTypeId="1" CreationDate="2018-07-30T18:31:08.310" Score="1" ViewCount="854" Body="&lt;p&gt;I reinstalled Commerce, everything works fine. I created a new catalog. After few hours I was not able to open Bussiness Tools and I have next errors on logs: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;21:20:01 INFO Management.GetCommerceTerms./sitecore/Commerce/Commerce&#xA;  Control Panel/Commerce Engine Settings/Commerce Terms/System&#xA;  Messages|en 48 21:20:01 INFO Successfully validated the token. 48&#xA;  21:20:01 INFO AuthenticationScheme:&#xA;  &quot;BearerIdentityServerAuthenticationJwt&quot; was successfully&#xA;  authenticated. 48 21:20:01 INFO AuthenticationScheme: &quot;Bearer&quot; was&#xA;  successfully authenticated. 48 21:20:01 INFO Authorization was&#xA;  successful for user: &quot;sitecore\Admin&quot;. 49 21:20:01 ERROR&#xA;  SitecoreConnectionManager: RETRY 2 out of 3 with ERROR Internal Server&#xA;  Error. Failed to logging. /sitecore/api/ssc/auth/login for GET&#xA;  /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FSystem%20Messages&amp;amp;database=master&amp;amp;language=en&#xA;  57 21:20:01 INFO&#xA;  Management.block.getitembypath./sitecore/Commerce/Commerce Control&#xA;  Panel/Storefront&#xA;  Settings/Storefronts/CommerceEngineDefaultStorefront|en 57 21:20:01&#xA;  INFO Management.block.getitembypath./sitecore/Commerce/Commerce&#xA;  Control Panel/Storefront&#xA;  Settings/Storefronts/CommerceEngineDefaultStorefront: Language=en 49&#xA;  21:20:01 ERROR SitecoreConnectionManager: RETRY 3 out of 3 with ERROR&#xA;  Internal Server Error. Failed to logging. /sitecore/api/ssc/auth/login&#xA;  for GET&#xA;  /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FSystem%20Messages&amp;amp;database=master&amp;amp;language=en&#xA;  49 21:20:01 ERROR SitecoreConnectionManager.Error: Message=RETRY&#xA;  FAILED for GET&#xA;  /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FSystem%20Messages&amp;amp;database=master&amp;amp;language=en|Trace=&#xA;  at&#xA;  Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext&#xA;  commerceContext, String action, String method, ItemModel itemModel)&#xA;  System.Exception: RETRY FAILED for GET&#xA;  /sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FSystem%20Messages&amp;amp;database=master&amp;amp;language=en&#xA;  at&#xA;  Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext&#xA;  commerceContext, String action, String method, ItemModel itemModel)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;On browser I also have errors: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Failed to load resource: the server responded with a status of 400 ()&#xA;  main.564e7ed772d982491157.bundle.js:1 Http failure response for&#xA;  &lt;a href=&quot;https://commerce-authoring.x.local/api/GetNavigationView()&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://commerce-authoring.x.local/api/GetNavigationView()&lt;/a&gt;: 400 OK&#xA;  n.handleError @ main.564e7ed772d982491157.bundle.js:1&#xA;  vendor.d6cd11b36eec3f38b8a2.bundle.js:1 ERROR Error: Uncaught (in&#xA;  promise): Http failure response for&#xA;  &lt;a href=&quot;https://commerce-authoring.x.local/api/GetNavigationView()&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://commerce-authoring.x.local/api/GetNavigationView()&lt;/a&gt;: 400 OK&#xA;      at new V (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at N (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at N (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at polyfills.9d27157941ed2fdedcdc.bundle.js:1&#xA;      at t.invokeTask (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at Object.onInvokeTask (vendor.d6cd11b36eec3f38b8a2.bundle.js:1)&#xA;      at t.invokeTask (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at n.runTask (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at _ (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at XMLHttpRequest.invoke (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some custom code is causing this issue. Is Sitecore code not Commmerce code. I added a ProductCatalogItemResolver and looks like is crashing the code. I revert back the code and I still have have the same issue. Looks like my HabitatAuthoring environment was corupted but I don't understand how is possible because I am not modifying anything into commerce.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-07-31T15:47:21.200" LastActivityDate="2018-07-31T15:47:21.200" Title="ERROR SitecoreConnectionManager: with ERROR Internal Server Error. Failed to logging" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13095" PostTypeId="2" ParentId="13064" CreationDate="2018-07-31T06:37:21.290" Score="1" Body="&lt;p&gt;@eglasius answer lighted the bulb but didn't fix the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have remembered that I was setting indexing of anonymous contacts in C:\inetpub\wwwroot\sc9u2.xconnect\App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore\SearchIndexer\sc.XConnect.IndexerSettings.xml file based on this article:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-anonymous-contact-indexing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/enable-anonymous-contact-indexing.html&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems that the article is not reflecting latest changes made in Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of this (which is I believe only valid for Initial release and Update 1):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;&amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;XConnect&amp;gt;&#xA;    &amp;lt;!-- SearchIndexer role requires Collection and CollectionSearch role services --&amp;gt;&#xA;    &amp;lt;SearchIndexer&amp;gt;&#xA;        &amp;lt;Services&amp;gt;&#xA;        &amp;lt;IndexerSettings&amp;gt;&#xA;            &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.IndexerSettings, Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;            &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;            &amp;lt;Options&amp;gt;&#xA;            &amp;lt;IndexPIISensitiveData&amp;gt;false&amp;lt;/IndexPIISensitiveData&amp;gt;&#xA;            &amp;lt;IndexAnonymousContactData&amp;gt;false&amp;lt;/IndexAnonymousContactData&amp;gt;&#xA;            &amp;lt;/Options&amp;gt;&#xA;        &amp;lt;/IndexerSettings&amp;gt;&#xA;        &amp;lt;IIndexer&amp;gt;&#xA;            &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.DecoratedIndexer, Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;            &amp;lt;As&amp;gt;Sitecore.Xdb.Collection.Indexing.IIndexer, Sitecore.Xdb.Collection&amp;lt;/As&amp;gt;&#xA;            &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;        &amp;lt;/IIndexer&amp;gt;&#xA;        &amp;lt;IIndexRebuildFlow&amp;gt;&#xA;            &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.IndexRebuildFlow, Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;            &amp;lt;As&amp;gt;Sitecore.Xdb.Collection.Indexing.IIndexRebuildFlow, Sitecore.Xdb.Collection&amp;lt;/As&amp;gt;&#xA;            &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;            &amp;lt;Options&amp;gt;&#xA;            &amp;lt;IncomingDataLagOnCompletion&amp;gt;0.00:00:05&amp;lt;/IncomingDataLagOnCompletion&amp;gt;&#xA;            &amp;lt;!--Enable ParallelizationDegree setting to override default value which is (processorCount*4)--&amp;gt;&#xA;            &amp;lt;!--&amp;lt;ParallelizationDegree&amp;gt;16&amp;lt;/ParallelizationDegree&amp;gt;--&amp;gt;&#xA;            &amp;lt;BatchSize&amp;gt;1000&amp;lt;/BatchSize&amp;gt;&#xA;            &amp;lt;/Options&amp;gt;&#xA;        &amp;lt;/IIndexRebuildFlow&amp;gt;&#xA;        &amp;lt;/Services&amp;gt;&#xA;    &amp;lt;/SearchIndexer&amp;gt;&#xA;    &amp;lt;/XConnect&amp;gt;&#xA;&amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Update 2 you need to use this setting instead:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;XConnect&amp;gt;&#xA;      &amp;lt;!-- SearchIndexer role requires Collection and CollectionSearch role services --&amp;gt;&#xA;      &amp;lt;SearchIndexer&amp;gt;&#xA;        &amp;lt;Services&amp;gt;&#xA;          &amp;lt;IndexerSettings&amp;gt;&#xA;            &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.IndexerSettings, Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;            &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;            &amp;lt;Options&amp;gt;&#xA;                &amp;lt;!-- Indexer will split change set on chunks to improve memory consumption. Setting this option to 0, a negative value or removing the element completely, results in no splitting.--&amp;gt;&#xA;              &amp;lt;SplitRecordsThreshold&amp;gt;25000&amp;lt;/SplitRecordsThreshold&amp;gt;&#xA;              &amp;lt;IndexPIISensitiveData&amp;gt;false&amp;lt;/IndexPIISensitiveData&amp;gt;&#xA;              &amp;lt;IndexAnonymousContactData&amp;gt;true&amp;lt;/IndexAnonymousContactData&amp;gt;&#xA;            &amp;lt;/Options&amp;gt;&#xA;          &amp;lt;/IndexerSettings&amp;gt;&#xA;          &amp;lt;IIndexer&amp;gt;&#xA;            &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.DecoratedIndexer, Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;            &amp;lt;As&amp;gt;Sitecore.Xdb.Collection.Indexing.IIndexer, Sitecore.Xdb.Collection&amp;lt;/As&amp;gt;&#xA;            &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;          &amp;lt;/IIndexer&amp;gt;&#xA;          &amp;lt;IIndexerInitializer&amp;gt;&#xA;            &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.DefaultIndexInitializer, Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;            &amp;lt;As&amp;gt;Sitecore.Xdb.Collection.Indexing.IIndexInitializer, Sitecore.Xdb.Collection&amp;lt;/As&amp;gt;&#xA;            &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;          &amp;lt;/IIndexerInitializer&amp;gt;&#xA;          &amp;lt;IIndexRebuildFlow&amp;gt;&#xA;            &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.IndexRebuildFlow, Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;            &amp;lt;As&amp;gt;Sitecore.Xdb.Collection.Indexing.IIndexRebuildFlow, Sitecore.Xdb.Collection&amp;lt;/As&amp;gt;&#xA;            &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;            &amp;lt;Options&amp;gt;&#xA;              &amp;lt;IncomingDataLagOnCompletion&amp;gt;0.00:00:05&amp;lt;/IncomingDataLagOnCompletion&amp;gt;&#xA;              &amp;lt;!--Enable ParallelizationDegree setting to override default value which is (processorCount)--&amp;gt;&#xA;              &amp;lt;!--&amp;lt;ParallelizationDegree&amp;gt;16&amp;lt;/ParallelizationDegree&amp;gt;--&amp;gt;&#xA;              &amp;lt;BatchSize&amp;gt;5000&amp;lt;/BatchSize&amp;gt;&#xA;            &amp;lt;/Options&amp;gt;&#xA;          &amp;lt;/IIndexRebuildFlow&amp;gt;&#xA;          &amp;lt;IIndexRebuilderCountersDecorator&amp;gt;&#xA;              &amp;lt;Type&amp;gt;Sitecore.XConnect.Configuration.ServiceDecorator`2[[Sitecore.Xdb.Collection.Indexing.IIndexRebuilder, Sitecore.Xdb.Collection], [Sitecore.Xdb.Collection.Indexing.IndexRebuilderCountersDecorator, Sitecore.Xdb.Collection]], Sitecore.XConnect.Configuration&amp;lt;/Type&amp;gt;&#xA;              &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;          &amp;lt;/IIndexRebuilderCountersDecorator&amp;gt;&#xA;        &amp;lt;/Services&amp;gt;&#xA;      &amp;lt;/SearchIndexer&amp;gt;&#xA;    &amp;lt;/XConnect&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Mind the two new services definitions for &lt;strong&gt;IIndexerInitializer&lt;/strong&gt; and &lt;strong&gt;IIndexRebuilderCountersDecorator&lt;/strong&gt; which are only present in Update 2 version of that xml.&#xA;Especially IIndexerInitializer was crutial for solving this problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also changed &lt;strong&gt;BatchSize&lt;/strong&gt; to 5000 as also this setting / value has been changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After applying these settings and saving the xml file, I just starting the Sitecore XConnect Search Indexer Windows service for that instance and everything started to work once again. Without any restart or what so ever.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lessons learnt - Always copy only settings that you need not the whole config file cause it might changed between versions! I was always doing this but for God knows which reason I have copied it all :(&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have run WinMerge and compared my two instances (one running properly and this one) and only change was in this file...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hopefully this will help somebody to quickly diagnose similar exception.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-07-31T07:23:11.033" LastActivityDate="2018-07-31T07:23:11.033" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13096" PostTypeId="2" ParentId="12457" CreationDate="2018-07-31T06:56:30.327" Score="5" Body="&lt;p&gt;This would be because of the SQL provider cannot run because of a missing dependency. Please make sure that Microsoft SQL Server Transact-SQL ScriptDom is installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;To resolve the issue:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Set the path to the Data-Tier application framework in Windows Registry:   &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Locate the installation folder of the MS SQL server version that you are using: &lt;strong&gt;\%ProgramFiles(x86)%\Microsoft SQL Server\&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Find the Microsoft.SqlServer.Dac.dll file in one of the subfolders: &lt;strong&gt;\DAC\bin&lt;/strong&gt; or &lt;strong&gt;\SDK\Assemblies&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Store the full path to this subfolder as a &lt;strong&gt;DacFxPath&lt;/strong&gt; value (String type) under the registry key &lt;strong&gt;\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set the path to the SQL ScriptDOM and CLRTypes components in Windows Registry:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Locate the installation folder of the MS SQL server version that you are using: &lt;strong&gt;\%ProgramFiles(x86)%\Microsoft SQL Server\&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Find the Microsoft.SqlServer.TransactSql.ScriptDom.dll and Microsoft.SqlServer.Types.dll files in one of the subfolders: &lt;strong&gt;\DAC\bin&lt;/strong&gt; or &lt;strong&gt;\SDK\Assemblies&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Store the full path to this subfolder as a &lt;strong&gt;DacFxDependenciesPath&lt;/strong&gt; value (String type) under the registry key &lt;strong&gt;\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="4021" LastActivityDate="2018-07-31T06:56:30.327" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13097" PostTypeId="2" ParentId="13058" CreationDate="2018-07-31T07:18:46.393" Score="2" Body="&lt;p&gt;&lt;strong&gt;Solution 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Override &lt;code&gt;SetObjectOnPipelineContext&lt;/code&gt; method of&lt;code&gt;CopyObjectFromContextToNewLocationStepProcessor&lt;/code&gt; with &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class MyCopyObjectToNewLocation : DataExchange.Processors.PipelineSteps.CopyObjectFromContextToNewLocationStepProcessor&#xA;{&#xA;&#xA;    public override bool SetObjectOnPipelineContext(object obj, Guid location, PipelineContext pipelineContext, ILogger logger)&#xA;    {&#xA;&#xA;        if (location == ItemIDs.PipelineContextIterableData)&#xA;        {&#xA;            var plugin = this.GetPipelineContextPlugin&amp;lt;IterableDataSettings&amp;gt;(pipelineContext, false);&#xA;            if (plugin != null)&#xA;            {&#xA;                pipelineContext.RemovePlugin(typeof(IterableDataSettings));&#xA;            }&#xA;&#xA;            plugin = new IterableDataSettings(obj as IEnumerable);&#xA;            this.AddPluginToPipelineContext(plugin, pipelineContext, false);&#xA;            return true;&#xA;        }&#xA;&#xA;        return base.SetObjectOnPipelineContext(obj, location, pipelineContext, logger);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Find &lt;code&gt;__Standard Values&lt;/code&gt; of &lt;code&gt;Copy Object from Context to New Location Pipeline Step&lt;/code&gt; template and update &lt;code&gt;Process Type&lt;/code&gt; with your fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Verify that pipeline steps created on this template were updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution 1 is hint where problem is. There is an issue with itarable data location. Certainly for this location it checks if it's already set then skip it. It means the next using of this location in the current pipeline will never assign new object to &lt;code&gt;Pipeline Context Iterable Data&lt;/code&gt; location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As workaround you can use &lt;code&gt;Pipeline Context Temp Storage&lt;/code&gt; instead of &lt;code&gt;Pipeline Context Iterable Data&lt;/code&gt;   &lt;/p&gt;&#xA;" OwnerUserId="843" LastEditorUserId="843" LastEditDate="2018-07-31T08:40:28.610" LastActivityDate="2018-07-31T08:40:28.610" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13098" PostTypeId="2" ParentId="13040" CreationDate="2018-07-31T07:28:17.170" Score="4" Body="&lt;p&gt;I just received an answer from Sitecore support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to reference next dlls:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Commerce.Engine.Connect&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Commerce.ServiceProxy&lt;/li&gt;&#xA;&lt;li&gt;Microsoft.OData.Client&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To retrieve the sellable item from Sitecore Commerce 9 Update 1 you can use following code snippet. &#xA;To retrieve a sellable item &lt;strong&gt;without&lt;/strong&gt; variants:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var container = Sitecore.Commerce.Engine.Connect.EngineConnectUtility.GetShopsContainer();&#xA;var sellableItem = Sitecore.Commerce.ServiceProxy.Proxy&#xA;.GetValue&amp;lt;SellableItem&amp;gt;(container.SellableItems&#xA;.ByKey(&quot;Habitat_Master,Entity-SellableItem-6042134,&quot;)&#xA;.Expand(&quot;Components&quot;));&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var sellableItem = Sitecore.Commerce.Engine.Connect.Search.IndexUtility&#xA;.GetSellableItem(&quot;Habitat_Master,Entity-SellableItem-6042134,&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;where Habitat_Master is catalog name and Entity-SellableItem-6042134 is id of the sellable item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To retrieve a sellable item &lt;strong&gt;with&lt;/strong&gt; variants: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;var sellableItem = Sitecore.Commerce.ServiceProxy.Proxy&#xA;.GetValue&amp;lt;SellableItem&amp;gt;(container1.SellableItems&#xA;.ByKey(&quot;Habitat_Master,Entity-SellableItem-6042134,&quot;)&#xA;.Expand(&quot;Components($expand=ChildComponents($expand=ChildComponents($expand=ChildComponents($expand=ChildComponents))))&quot;));&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3988" LastEditorUserId="3988" LastEditDate="2018-07-31T10:21:19.340" LastActivityDate="2018-07-31T10:21:19.340" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13100" PostTypeId="1" CreationDate="2018-07-31T09:12:42.690" Score="1" ViewCount="601" Body="&lt;p&gt;In my company we feel comfortable with &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;VUE&lt;/li&gt;&#xA;&lt;li&gt;Angular&lt;/li&gt;&#xA;&lt;li&gt;React&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But I'm not sure which of the three, JSS is a &quot;best fit&quot; for, or which will be most supported in the future. Will any of them be a better option, in the long run?&lt;/p&gt;&#xA;" OwnerUserId="4057" LastEditorUserId="73" LastEditDate="2018-07-31T09:40:44.147" LastActivityDate="2018-07-31T15:52:20.277" Title="Which frontend is more supported by JSS?" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13104" PostTypeId="2" ParentId="13100" CreationDate="2018-07-31T11:43:40.147" Score="3" Body="&lt;p&gt;I don't think you are going to get a fully complete answer here, unless someone from Sitecore can give you some inside information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, having said that. If you look at the documentation site for JSS: &lt;a href=&quot;https://jss.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/&lt;/a&gt; - JSS currently has client SDK's for React, Angular &amp;amp; VUE. All 3 have feature parity AFAIK and from Technical Preview 4 these are now considered API Stable, so there are no &lt;em&gt;planned&lt;/em&gt; breaking changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;JSS was original conceived with ReactJS, but the plan was always to support multiple JS frameworks. All 3 are &quot;best fit&quot; for JSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for which you should use/which will be better in the long run? That is up to you. What do you have the most experience with or which skill set does your company have the best resource for? The answer is always going to be &quot;it depends&quot;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-07-31T11:43:40.147" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13105" PostTypeId="2" ParentId="13100" CreationDate="2018-07-31T15:52:20.277" Score="4" Body="&lt;p&gt;The goal is to support all three frameworks equally, so that implementers can make the choice of framework to use based on the needs of the project and team preference. As of tech preview 4, all frameworks have feature parity as Rich mentioned in his answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a team that truly has no preference, the React ecosystem and developer base is the largest of the three supported frameworks. Until next week, anyway :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I am on the JSS team.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-07-31T15:52:20.277" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13106" PostTypeId="1" CreationDate="2018-07-31T15:56:10.530" Score="0" ViewCount="641" Body="&lt;p&gt;If we know expected load on site i.e we know Numbers of hits in months,week and per day and we also know session time plus concurrent users . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we arrive at number of CMS &amp;amp; CD servers and possible configurations.&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="1342" LastEditDate="2018-07-31T19:02:46.267" LastActivityDate="2018-07-31T19:02:46.267" Title="Sitecore Sizing Calculations" Tags="|scaling|solution-architecture|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13107" PostTypeId="2" ParentId="13106" CreationDate="2018-07-31T17:32:03.890" Score="1" Body="&lt;p&gt;I don't think this is the answer you want, but there's no simple answer to this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This all depends on things like, what kind of architecture do you want, what's your requirements for global availability (i.e. data centers), disaster recovery, acceptable response times, how much caching do you plan on doing (or can do), using CDN, on-premise hosting vs. cloud, session management, what's your plan for publishing, using xDB, index management etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And keep in mind this is not just about how many Sitecore servers you should have, it's also question of database servers, indexing services, session management, processing servers, caching etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can look at Sitecore scaling guide for some guidelines:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/scaling-overview.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/scaling-guide/scaling-overview.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But would highly recommend talking with someone who has done Sitecore installations previously. &lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2018-07-31T17:32:03.890" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13108" PostTypeId="2" ParentId="13106" CreationDate="2018-07-31T18:00:17.910" Score="2" Body="&lt;p&gt;Sitecore provides some guidance for Azure based on topology which can be found here &lt;a href=&quot;https://kb.sitecore.net/articles/043375&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/043375&lt;/a&gt; &#xA;Jarmo is correct that there are many factors to take into consideration and these numbers will not be accurate for every Sitecore solution. If you are not using Azure you might want to compare this to similar hardware on your platform.&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-07-31T18:00:17.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13110" PostTypeId="2" ParentId="12837" CreationDate="2018-07-31T18:36:33.037" Score="4" Body="&lt;p&gt;After digging around and getting more familiar with all this I have figured out what was going on. There are a couple of things to understand here. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) In Sitecore 9 indexing of anonymous contacts is disabled by default. I had tried to turn this on but had missed a couple steps. &lt;a href=&quot;https://sitecore.stackexchange.com/a/10777/3681&quot;&gt;I found all the steps I needed in the answer to another thread&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) If anonymous contacts are not enabled you have to make sure you call the &lt;code&gt;IdentifyAs&lt;/code&gt; method for the request. If not the request will be anonymous and if you don't have those enabled nothing will show. &lt;a href=&quot;http://toadcode.blogspot.com/2018/07/experience-profile-anonymous-unknown.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here is a blog post breaking all this down&lt;/a&gt;. &lt;/p&gt;&#xA;" OwnerUserId="3681" LastEditorUserId="3681" LastEditDate="2018-08-02T14:45:44.630" LastActivityDate="2018-08-02T14:45:44.630" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13111" PostTypeId="2" ParentId="13092" CreationDate="2018-07-31T19:34:35.567" Score="5" Body="&lt;p&gt;Based on previous projects, when using &lt;code&gt;Where(x =&amp;gt; x[fieldName] != null)&lt;/code&gt;, the fieldName should match the one from the Solr Index. From your question, if you pass &lt;code&gt;Where(x =&amp;gt; x[&quot;shape_s&quot;] != null)&lt;/code&gt;, it should work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you have dynamic fields being passed to the search context, you will need to get the field type. You can get it by using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var fieldNameWithType = context.Index.FieldNameTranslator.GetIndexFieldName(&quot;shape&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Solr will return the value &lt;code&gt;shape_s&lt;/code&gt;. While debugging, you can see in the dictionary &lt;code&gt;typeFieldMap&lt;/code&gt; the list of all fields how they are in the Solr Index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your code will look like below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var fieldName = ..method parameter.ToLowerInvariant();&#xA;var fieldNameWithType = context.Index.FieldNameTranslator.GetIndexFieldName(fieldName)&#xA;var products = context.GetQueryable&amp;lt;SearchItemResult&amp;gt;()&#xA;                .Where(x =&amp;gt; x[fieldNameWithType] != null)&#xA;                .ToList().AsEnumerable();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-07-31T19:34:35.567" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13112" PostTypeId="1" CreationDate="2018-08-01T03:48:00.677" Score="0" ViewCount="914" Body="&lt;p&gt;I've renamed fields on a Sitecore template from uuid to uuid2, but for some records the solr index contains items with the field name uuid (in SOLR admin).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've populated my SOLR schemas again and rebuilt the index, but still some (but not all) records are using the old field name. I've also tried deleting the Sitecore data that is indexed and re-added it, but I still have the same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing and how can I fix it?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="690" LastEditDate="2018-08-01T10:41:29.613" LastActivityDate="2018-08-01T10:41:29.613" Title="SOLR search index not updating" Tags="|solr|indexing|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13113" PostTypeId="2" ParentId="12428" CreationDate="2018-08-01T03:50:29.197" Score="2" Body="&lt;p&gt;This is the answer I received from Sitecore support. In the end, we implemented our own version of ItemModel repository as they suggested:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;As you probably know, the ResolveSitecoreItemStepProcessor, as well as&#xA;  the other processors of the Sitecore provider, uses&#xA;  InProcItemModelRepository for any item related operations. The&#xA;  InProcItemModelRepository under the hood uses the ItemService API.&#xA;  Whenever your pipeline creates or updates an item&#xA;  InProcItemModelRepository sends the appropriate HTTP request against&#xA;  the ItemService. The problem is that each separate ItemService request&#xA;  gets served in a separate thread on the Sitecore side: same as it&#xA;  works for the other regular HTTP requests. Your sitecore_master_index&#xA;  is configured to use syncMaster strategy, which executes index updates&#xA;  from the corresponding DataEngine events. This all together leads to a&#xA;  situation when a number of parallel ItemService threads may initiate&#xA;  index updates for the performed item operations. But Sitecore does not&#xA;  allow concurrent updates for the same index, thus it queues the index&#xA;  update jobs. And in case of a large amount of content changes the&#xA;  number of jobs queued may grow very quickly.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;For example, in order to perform 1000 create/update operations, DEF&#xA;  will execute 1000 separate parallel ItemService requests. As a result,&#xA;  you will get 1000 queued update jobs only for the&#xA;  sitecore_master_index. Processing all these jobs may take some time,&#xA;  and thus the last item updates may be delayed.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;When your further DEF processors try to find existing objects then may&#xA;  fail due to the index is not up to date at the moment of processors&#xA;  execution.  Unfortunately, this is just how the&#xA;  InProcItemModelRepository was designed. I have registered a feature&#xA;  request to create a new endpoint (ItemModel repository) which does not&#xA;  depend on indexes so that it can be considered for future&#xA;  implementation. To track the future status of this request, please use&#xA;  the reference number 231598. More information about public reference&#xA;  numbers can be found here.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;At the moment you can consider developing your own implementation the&#xA;  ItemModel repository. As an option, you can use Sitecore Queries&#xA;  instead of the Content Search queries. Please let me know whether this&#xA;  makes sense for you.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2018-08-01T03:50:29.197" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13114" PostTypeId="1" AcceptedAnswerId="13130" CreationDate="2018-08-01T05:05:28.097" Score="4" ViewCount="828" Body="&lt;p&gt;I'm trying to deploy a Sitecore xConnect instance in an XP0 configuration in my Test environment, however my CD servers keep getting a NotSupportedException when they try to use the xConnect API to query the data, with the message &quot;Search operation not supported with xConnect collection-only configuration&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've confirmed that the client certificate is working, as xConnect seems to be able to &lt;em&gt;write&lt;/em&gt; data to the collection databases perfectly fine, however queries always return this exception. The bizarre thing is that the exact same instance in my dev environment works fine - I even did a diff across the two folders and only found expected differences (i.e. AppSettings.config(s) and ConnectionStrings.config(s)). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the relevant files mentioned at &lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/xp-service-roles/xconnect-search/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/xp-service-roles/xconnect-search/index.html&lt;/a&gt; (sc.XConnect.Collection.Initialize.xml, &#xA;sc.XConnect.CollectionSearch.Initialize.xml and sc.XConnect.MarketingAutomation.Initialize.xml) are all enabled as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stack Trace:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at Sitecore.XConnect.Search.SearchHelpers.&amp;lt;ExecuteSearch&amp;gt;d__6`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.SearchDefinition`1.&amp;lt;Execute&amp;gt;d__22.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.AsyncSearchHitEnumerator`1.&amp;lt;Create&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.AsyncEntityQueryProvider.&amp;lt;ExecuteAsync&amp;gt;d__8`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.AsyncEntityQueryProvider.&amp;lt;ExecuteAsync&amp;gt;d__7`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MyProject.InitialSettings.&amp;lt;SetupPopularLinks&amp;gt;d__14.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MyProject.SettingsController.&amp;lt;GetInitialSettings&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass37.&amp;lt;BeginInvokeAsynchronousActionMethod&amp;gt;b__36(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3d()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;&amp;gt;c__DisplayClass2b.&amp;lt;BeginInvokeAction&amp;gt;b__1c()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code Snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public async Task SetupPopularLinks()&#xA;{&#xA;    Guid definitionId = Guid.Parse(&quot;5D365D7A-847B-476A-B8DC-786C824F1435&quot;);&#xA;    List&amp;lt;string&amp;gt; guids = new List&amp;lt;string&amp;gt;(15);&#xA;    List&amp;lt;LinkItemClickEvent&amp;gt; events = new List&amp;lt;LinkItemClickEvent&amp;gt;();&#xA;    using (XConnectClient client = SitecoreXConnectClientConfiguration.GetClient())&#xA;    {&#xA;        var ints = await client.Interactions.Where(i =&amp;gt; true).ToList();&#xA;        IAsyncQueryable&amp;lt;Interaction&amp;gt; queryable = client.Interactions.Where(x =&amp;gt; x.LastModified &amp;gt; DateTime.Now.AddMonths(-3) //last three months only&#xA;            &amp;amp;&amp;amp; x.Events.Any(y =&amp;gt; y.DefinitionId == definitionId));&#xA;&#xA;        var enumerable = await queryable.GetBatchEnumerator(200);&#xA;        var totalCount = enumerable.TotalCount;&#xA;        while (await enumerable.MoveNext())&#xA;        {&#xA;            var interactionBatch = enumerable.Current; // Batch of &amp;lt;= 200 interactions&#xA;&#xA;            foreach (var interaction in interactionBatch)&#xA;            {&#xA;                events.AddRange(interaction.Events.OfType&amp;lt;LinkItemClickEvent&amp;gt;().ToList());&#xA;            }&#xA;        }&#xA;&#xA;        var counts =&#xA;        events&#xA;        .GroupBy(e =&amp;gt; e.ItemId)&#xA;        .Select(c =&amp;gt; new { Key = c.Key, Count = c.Count() })&#xA;        .OrderByDescending(a =&amp;gt; a.Count)&#xA;        .Take(15)&#xA;        .ToList();&#xA;        guids.AddRange(counts.Select(a =&amp;gt; a.Key.ToString(&quot;B&quot;).ToUpperInvariant())); // React frontend needs uppercase for matching of guids&#xA;    }&#xA;    PopularLinks = guids;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3572" LastEditorUserId="3572" LastEditDate="2018-08-01T23:52:33.253" LastActivityDate="2019-12-27T14:45:49.133" Title="NotSupportedException - Search operation not supported with xConnect collection-only configuration" Tags="|xconnect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13115" PostTypeId="2" ParentId="13087" CreationDate="2018-08-01T06:21:21.210" Score="0" Body="&lt;p&gt;This issue is created by a lack of token sent by the Experience Editor to Sitecore APIs. I do not know why it fails to send the security key, but in the meantime this setting enables you to bypass authorization, letting you work with Experience Explorer : &lt;code&gt;&amp;lt;setting name=&quot;Sitecore.Web.IsAuthorizationBypassAllowed&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do NOT recommend keeping this on but it can be useful when you really need to do a POC or test your marketing definitions. Keep in mind that this is a security breach and should not be used in a public environment.&lt;/p&gt;&#xA;" OwnerUserId="4053" LastActivityDate="2018-08-01T06:21:21.210" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13116" PostTypeId="2" ParentId="5006" CreationDate="2018-08-01T11:52:23.550" Score="0" Body="&lt;p&gt;There are many places noticed Lucene config using sc82 rev. 180406&#xA;after removed the following config files resolved the issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Website\App_Config\Include\Sitecore.Marketing.Definitions.MarketingAssets.Repositories.Lucene.IndexConfiguration.config&#xA;  Website\App_Config\Include\Sitecore.Marketing.Lucene.IndexConfiguration.config&#xA;  Website\App_Config\Include\Sitecore.Speak.ContentSearch.Lucene.config&#xA;  Website\App_Config\Include\ContentTesting\Sitecore.ContentTesting.Lucene.IndexConfiguration.config&#xA;  Website\App_Config\Include\FXM\Sitecore.FXM.Lucene.DomainsSearch.DefaultIndexConfiguration.config&#xA;  Website\App_Config\Include\ListManagement\Sitecore.ListManagement.Lucene.IndexConfiguration.config&#xA;  Website\App_Config\Include\Social\Sitecore.Social.Lucene.Index.Analytics.Facebook.config&#xA;  Website\App_Config\Include\Social\Sitecore.Social.Lucene.IndexConfiguration.config&#xA;  Website\App_Config\Include\ListManagement\Sitecore.ListManagement.Lucene.Index.List.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4067" LastEditorUserId="2948" LastEditDate="2018-08-01T12:31:40.537" LastActivityDate="2018-08-01T12:31:40.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13117" PostTypeId="1" AcceptedAnswerId="13127" CreationDate="2018-08-01T13:46:38.790" Score="1" ViewCount="240" Body="&lt;p&gt;I have set up merge handler for custom facet seeing &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/facets/facet-merge-handler.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this documentation&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I put sc.CustomPlugins.xml file -&gt; App_data\config\sitecore\Collection\&#xA;And dll file -&gt; App_data\jobs\continuous\AutomationEngine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I try to load my site, I am getting &lt;strong&gt;Sitecore.XConnect.XdbCollectionUnavailableException&lt;/strong&gt; error. How to fix this issue ? &#xA;Or why its happening?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apart from that if I delete  sc.CustomPlugins.xml, my site is working again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also after set up that merge handler I am getting this issue in xconnect site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XhDHR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XhDHR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="1930" LastEditDate="2018-08-01T14:29:14.570" LastActivityDate="2018-08-01T20:20:50.207" Title="Getting Sitecore.XConnect.XdbCollectionUnavailableException after setup MergerHandler in Sitecore 9.0u1" Tags="|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13119" PostTypeId="2" ParentId="12823" CreationDate="2018-08-01T14:25:02.627" Score="0" Body="&lt;p&gt;Can you make sure you have done all of the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Update the BizFxUri parameter in SitecoreBizFx\assets\config.json in your BizFx instance.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Update the AllowedOrigins parameter in wwwroot\config.json in your Commerce Engine instance. Double check here to make sure the protocol is &lt;strong&gt;https&lt;/strong&gt; and not http.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Replace the default URL (localhost:4200) in the RedirectUris, PostLogoutRedirectUris, AllowedCorsOrigins parameters in SitecoreIdentityServer\wwwroot\appsettings.json in your Identity Server instance.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Reset IIS.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Finally, clear all browser cache and try again. This last step is important.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3940" LastActivityDate="2018-08-01T14:25:02.627" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13121" PostTypeId="2" ParentId="13038" CreationDate="2018-08-01T15:02:18.013" Score="2" Body="&lt;p&gt;I tried the below steps to verify and fix the error &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure the binding in IIS for the Sitecore website(sxp9u2.sc) and sxa,storefront.com with https(443).&#xA;&lt;strong&gt;Note&lt;/strong&gt;: By default during Installation these binding should have got added and if they are not then you should add it.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure the above urls with http and https in the AllowedOrigins Property of the &lt;strong&gt;config.json&lt;/strong&gt; for the below files.&lt;br&gt;&#xA;C:\inetpub\wwwroot\CommerceAuthoring_Sc9\wwwroot\ C:\inetpub\wwwroot\CommerceMinions_Sc9\wwwroot\ C:\inetpub\wwwroot\CommerceOps_Sc9\wwwroot\ C:\inetpub\wwwroot\CommerceShops_Sc9\wwwroot\&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure you have &lt;em&gt;$&lt;strong&gt;SiteHostHeaderName&lt;/strong&gt; = &quot;sxa.storefront.com&quot;&lt;/em&gt; in the install ps1(&lt;em&gt;Deploy-Sitecore-Commerce.ps1&lt;/em&gt;)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Added the ConnectionString in &lt;strong&gt;appsettings.json&lt;/strong&gt; (C:\inetpub\wwwroot\SitecoreIdentityServer\wwwroot) with &quot;&lt;em&gt;User Id&lt;/em&gt;&quot;, &quot;&lt;em&gt;Password&lt;/em&gt;&quot; and removed &quot;&lt;em&gt;Integrated Security&lt;/em&gt;&quot;. Make sure the user id have all the required permission on the SQL server database.&#xA;&lt;strong&gt;Note&lt;/strong&gt; With the default ConnectionString my connection to the SQL was not working so I modified it here with the one than works.&lt;/li&gt;&#xA;&lt;li&gt;Modified the app pool Identity to &lt;strong&gt;LocalSystem&lt;/strong&gt; as the default CSFRuntimeUser was not working.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-08-01T15:02:18.013" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13124" PostTypeId="1" AcceptedAnswerId="13783" CreationDate="2018-08-01T18:54:56.680" Score="3" ViewCount="1054" Body="&lt;p&gt;Been stuck here for a while...&#xA;Installing Sitecore Experience Commerce 9.0 Update-2 on Sitecore XP 9.0.2&#xA;&lt;p&gt;This is my first time installing XC.&#xA;&lt;p&gt;The script used is shown after the log.&#xA;&lt;p&gt;This is the error log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[---------------------------------------------------------------------------------------------------------------------- InstallModule : InstallModule&#xA;----------------------------------------------------------------------------------------------------------------------] Installing module:  Sitecore Commerce ExperienceAnalytics Core&#xA;11.2.83.zip http://sxa.storefront.com/SiteUtilityPages/InstallModules.aspx?modules=Sitecore Commerce ExperienceAnalytics Core 11.2.83.zip&#xA;********************** Command start time: 20180801112334&#xA;********************** PS&amp;gt;TerminatingError(Invoke-RestMethod): &quot;&#xA;&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;} &#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top:&#xA;-5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event. &#xA;&#xA;&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;            Source Error: &#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events); Line 53:  Line 54:         new Installer().InstallPackage(package, context); Line 55: Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;&#xA;            Stack Trace: &#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39; event.]    Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1848    Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390    Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294    System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0    Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +135    Sitecore.Data.Engines.EngineCommand`2.Execute() +202    Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229    Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98    (Object , Object ) +14    Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484    Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127    Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126    Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28    Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version)&#xA;+343    Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) +126    Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&#xA;+1304    Sitecore.Install.Items.ItemInstaller.Flush() +156    Sitecore.Install.Framework.SinkDispatcher.Flush() +102    Sitecore.Install.Utils.EntrySorter.Flush() +228    Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565    Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80    Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)&#xA;+444    Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72    ASP.siteutilitypages_installmodules_aspx.Install(String package) in c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx:54 ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx:36 System.Web.UI.Control.OnLoad(EventArgs e) +99    System.Web.UI.Control.LoadRecursive() +154    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;+4082&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(Invoke-RestMethod): &quot;&#xA;&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;} &#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top:&#xA;-5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event. &#xA;&#xA;&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;            Source Error: &#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events); Line 53:  Line 54:         new Installer().InstallPackage(package, context); Line 55: Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;&#xA;            Stack Trace: &#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39; event.]    Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1848    Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390    Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294    System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0    Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +135    Sitecore.Data.Engines.EngineCommand`2.Execute() +202    Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229    Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98    (Object , Object ) +14    Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484    Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127    Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126    Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28    Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version)&#xA;+343    Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) +126    Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&#xA;+1304    Sitecore.Install.Items.ItemInstaller.Flush() +156    Sitecore.Install.Framework.SinkDispatcher.Flush() +102    Sitecore.Install.Utils.EntrySorter.Flush() +228    Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565    Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80    Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)&#xA;+444    Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72    ASP.siteutilitypages_installmodules_aspx.Install(String package) in c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx:54 ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx:36 System.Web.UI.Control.OnLoad(EventArgs e) +99    System.Web.UI.Control.LoadRecursive() +154    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;+4082&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&quot; Install-SitecoreConfiguration : &#xA;&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;} &#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top:&#xA;-5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event. &#xA;&#xA;&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please  review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the  subscribers to the 'item:saved' event.&#xA;&#xA;            Source Error: &#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events); Line 53:  Line 54:         new Installer().InstallPackage(package, context); Line 55: Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;&#xA;            Stack Trace: &#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39;  event.]    Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1848    Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390    Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294    System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0    Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +135    Sitecore.Data.Engines.EngineCommand`2.Execute() +202    Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229    Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98    (Object , Object ) +14    Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484    Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127    Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126    Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28    Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version)&#xA;+343    Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode,  IProcessingContext context, Boolean removeOtherVersions) +126    Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&#xA;+1304    Sitecore.Install.Items.ItemInstaller.Flush() +156    Sitecore.Install.Framework.SinkDispatcher.Flush() +102    Sitecore.Install.Utils.EntrySorter.Flush() +228    Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565    Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80    Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source,  IProcessingContext context)&#xA;+444    Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72    ASP.siteutilitypages_installmodules_aspx.Install(String package) in  c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx:54 ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in  c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx:36 System.Web.UI.Control.OnLoad(EventArgs e) +99    System.Web.UI.Control.LoadRecursive() +154    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) &#xA;+4082&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;At C:\Program  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration Install-SitecoreConfiguration :&#xA;&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top:&#xA;-5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;&#xA;&#xA;             Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;            Source Error:&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;Line 52:         context.AddAspect&amp;amp;lt;IFileInstallerEvents&amp;amp;gt;(events); Line 53: Line 54:         new Installer().InstallPackage(package, context); Line 55: Line 56:         // Execute Post Step&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx &amp;amp;nbsp;&amp;amp;nbsp; Line:  54&#xA;&#xA;&#xA;            Stack Trace:&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;amp;#39;item:saved&amp;amp;#39; event.]    Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1848    Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390    Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294    System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0    Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +135    Sitecore.Data.Engines.EngineCommand`2.Execute() +202    Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229    Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98    (Object , Object ) +14    Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484    Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127    Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126    Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28    Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version)&#xA;+343    Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) +126    Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&#xA;+1304    Sitecore.Install.Items.ItemInstaller.Flush() +156    Sitecore.Install.Framework.SinkDispatcher.Flush() +102    Sitecore.Install.Utils.EntrySorter.Flush() +228    Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565    Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80    Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)&#xA;+444    Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72    ASP.siteutilitypages_installmodules_aspx.Install(String package) in c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx:54 ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\websitename.web\SiteUtilityPages\InstallModules.aspx:36 System.Web.UI.Control.OnLoad(EventArgs e) +99    System.Web.UI.Control.LoadRecursive() +154    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;+4082&#xA;&#xA;            Version Information:&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3056.0&#xA;&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:02:16&#xA;********************** Windows PowerShell transcript end End time: 20180801112337&#xA;**********************&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Script used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#Requires -Version 3&#xA;param(&#xA;    [string]$SiteName = &quot;websitename.web&quot;,  &#xA;    [string]$SiteHostHeaderName = &quot;sxa.storefront.com&quot;, &#xA;    [string]$SqlDbPrefix = $SiteName,&#xA;    [string]$CommerceSearchProvider = &quot;SOLR&quot;&#xA;)&#xA;&#xA;$global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path&#xA;$modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;Modules&quot; )&#xA;if ($env:PSModulePath -notlike &quot;*$modulesPath*&quot;)&#xA;{&#xA;    $p = $env:PSModulePath + &quot;;&quot; + $modulesPath&#xA;    [Environment]::SetEnvironmentVariable(&quot;PSModulePath&quot;,$p)&#xA;}&#xA;&#xA;&#xA;$params = @{&#xA;        Path = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json' &#xA;        SiteName = $SiteName&#xA;        SiteHostHeaderName = $SiteHostHeaderName &#xA;        InstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$SiteName&quot;&#xA;        XConnectInstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$($SiteName)_xconnect&quot;&#xA;        CertificateName = $SiteName&#xA;        CommerceServicesDbServer = $($Env:COMPUTERNAME)    #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;        CommerceServicesDbName = &quot;SitecoreCommerce9_SharedEnvironments&quot;&#xA;        CommerceServicesGlobalDbName = &quot;SitecoreCommerce9_Global&quot;       &#xA;        SitecoreDbServer = $($Env:COMPUTERNAME)            #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;        SitecoreCoreDbName = &quot;$($SqlDbPrefix)_Core&quot;&#xA;        SitecoreUsername = &quot;sitecore\admin&quot;&#xA;        SitecoreUserPassword = &quot;b&quot;&#xA;        CommerceSearchProvider = $CommerceSearchProvider&#xA;        SolrUrl = &quot;https://localhost:8983/solr&quot;&#xA;        SolrRoot = &quot;C:\sitecore\solr-6.6.2&quot;&#xA;        SolrService = &quot;solr6&quot;&#xA;        SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SolrSchemas&quot; )&#xA;        SearchIndexPrefix = &quot;&quot;&#xA;        AzureSearchServiceName = &quot;&quot;&#xA;        AzureSearchAdminKey = &quot;&quot;&#xA;        AzureSearchQueryKey = &quot;&quot;&#xA;        CommerceEngineDacPac = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.SDK.*\Sitecore.Commerce.Engine.DB.dacpac&quot;       &#xA;        CommerceOpsServicesPort = &quot;5015&quot;&#xA;        CommerceShopsServicesPort = &quot;5005&quot;&#xA;        CommerceAuthoringServicesPort = &quot;5000&quot;&#xA;        CommerceMinionsServicesPort = &quot;5010&quot;        &#xA;        SitecoreCommerceEngineZipPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.2.2.126.zip&quot;        &#xA;        SitecoreBizFxServicesContentPath = Resolve-Path -Path &quot;..\Sitecore.BizFX.1.2.19&quot;        &#xA;        SitecoreIdentityServerZipPath = Resolve-Path -Path &quot;..\Sitecore.IdentityServer.1.*.zip&quot;&#xA;        CommerceEngineCertificatePath = Resolve-Path -Path &quot;..\websitename9.local.cer&quot;      &#xA;        SiteUtilitiesSrc = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SiteUtilityPages&quot; )  &#xA;        HabitatImagesModuleFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Habitat.Images-*.zip&quot;    &#xA;        AdvImagesModuleFullPath = Resolve-Path -Path &quot;..\Adventure Works Images.zip&quot;    &#xA;        CommerceConnectModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Connect*.zip&quot;  &#xA;        CommercexProfilesModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce ExperienceProfile Core *.zip&quot;    &#xA;        CommercexAnalyticsModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce ExperienceAnalytics Core *.zip&quot; &#xA;        CommerceMAModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Marketing Automation Core *.zip&quot;    &#xA;        CommerceMAForAutomationEngineModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Marketing Automation for AutomationEngine *.zip&quot; &#xA;        CEConnectPackageFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.Connect*.update&quot;&#xA;        PowerShellExtensionsModuleFullPath = Resolve-Path -Path &quot;..\Sitecore.PowerShell.Extensions-4.7.2.zip&quot;&#xA;        SXAModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Experience Accelerator 1.7.1 rev. 180604 for 9.0.zip&quot;&#xA;        SXACommerceModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator 1.*.zip&quot;&#xA;        SXAStorefrontModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront 1.*.zip&quot;&#xA;        SXAStorefrontThemeModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront Themes*.zip&quot;&#xA;        SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Habitat Catalog*.zip&quot;&#xA;        MergeToolFullPath = Resolve-Path -Path &quot;..\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\tools\VSToolsPath\Web\Microsoft.Web.XmlTransform.dll&quot;&#xA;        UserAccount = @{&#xA;            Domain = $Env:COMPUTERNAME&#xA;            UserName = 'CSFndRuntimeUser'&#xA;            Password = 'Pu8azaCr'&#xA;        }&#xA;        BraintreeAccount = @{&#xA;            MerchantId = ''&#xA;            PublicKey = ''&#xA;            PrivateKey = ''&#xA;        }&#xA;        SitecoreIdentityServerName = &quot;SitecoreIdentityServer&quot;       &#xA;    }&#xA;&#xA;if ($CommerceSearchProvider -eq &quot;SOLR&quot;) {&#xA;    Install-SitecoreConfiguration @params&#xA;}&#xA;elseif ($CommerceSearchProvider -eq &quot;AZURE&quot;){&#xA;    Install-SitecoreConfiguration @params -Skip InstallSolrCores&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3865" LastActivityDate="2018-12-11T08:24:41.800" Title="Sitecore Experience Commerce 9.0 installation error on Installing module: Sitecore Commerce ExperienceAnalytics Core" Tags="|sitecore-commerce|sitecore-install-framework|installation|commerce-engine|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13125" PostTypeId="1" CreationDate="2018-08-01T19:00:10.167" Score="1" ViewCount="540" Body="&lt;p&gt;I am going through Sitecore 9.0 e-learning certification training. I am on course 1 module 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do you set-up the example Adventure site used in the course labs?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like the student resource materials may have some of the right content but it doesn't appear to be the right file types, they are .html files whereas the e-learning approach uses &quot;.cshtml&quot; files, and I can't find any directions on how to include them in the project. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are they just there for reference purpose (the lab seems to be indicating that you should be following along)?&lt;/p&gt;&#xA;" OwnerUserId="4070" LastEditorUserId="1268" LastEditDate="2018-10-08T12:10:09.133" LastActivityDate="2018-10-08T12:10:09.133" Title="Sitecore e-learning 9.0 training for certification, course 1 module 2, how to set-up the example Adventure site?" Tags="|xconnect|training|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13126" PostTypeId="2" ParentId="13125" CreationDate="2018-08-01T20:03:52.173" Score="0" Body="&lt;p&gt;I don't have access to Sitecore 9 e-learning anymore but if I remember correctly you had to create cshtml views from those html files. Html files are there just for reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is to mimic &quot;usual&quot; Sitecore project where at the beginning design agency prepares designs and then you are creating Sitecore renderings out of designs. Design agency outputs are usually design manual and html, js and css files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you start with pure html based cshtml files as renderings / views and then you are wiring this to controller and model and replace parts of html with dynamically retrieved data from some repository.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Design agencies are usually mocking the sample data. You are basically putting there correct content with this approach.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-08-01T20:03:52.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13127" PostTypeId="2" ParentId="13117" CreationDate="2018-08-01T20:20:50.207" Score="1" Body="&lt;p&gt;The dll that contains code for the new merge handler should be copied to &lt;em&gt;c:\path\toxconnect\root\bin&lt;/em&gt; folder while configuration files should be copied *c:\path\toxconnect\root\App_data\config\sitecore\Collection* just as you pointed out. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Handlers are executed by xConnect for submitted operations, hence custom code needs to be reachable by xConnect service.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2018-08-01T20:20:50.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13128" PostTypeId="1" AcceptedAnswerId="13182" CreationDate="2018-08-01T21:00:04.983" Score="0" ViewCount="557" Body="&lt;p&gt;I'm trying to setup a A/B page test in Sitecore 8.2 Update 5 and when I start the test, I see the below error message and the page blows up.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: System.InvalidOper1tionException&#xA;Message: Test combination does not match the test definition&#xA;Source: Sitecore.ContentTesting&#xA;   at Sitecore.ContentTesting.Models.TestCombination.GetValue(Int32 variableIndex)&#xA;   at Sitecore.ContentTesting.Pipelines.EvaluateTestExposureBase`1.ValidateCombinationDatasource(TestCombination combination, ITestConfiguration testConfiguration)&#xA;   at Sitecore.ContentTesting.Pipelines.EvaluateTestExposureBase`1.Process(TPipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Have anyone faced this issue in the past? Any ideas or thoughts?&lt;/p&gt;&#xA;" OwnerUserId="456" LastEditorUserId="70" LastEditDate="2018-08-01T21:23:09.987" LastActivityDate="2018-08-03T17:29:01.610" Title="Sitecore AB Page test setup issue - Test combination does not match the test definition" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13129" PostTypeId="2" ParentId="13125" CreationDate="2018-08-01T21:33:12.747" Score="2" Body="&lt;p&gt;Found the solution, in one of the course PDFs: Sitecore Platform Essentials for Developer eLearning Student Lab Guide.pdf on page 23.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the end of the previous section in the PDF (Course 1 module 1 lab) there are directions on where and what data templates to create for the next lab. Unfortunately this is not mentioned in the actual course or documented anywhere, nor are you directed to follow along with the PDF lab guide, so I'm not sure how you would be expected to locate this information.&lt;/p&gt;&#xA;" OwnerUserId="4070" LastEditorUserId="4070" LastEditDate="2018-08-01T21:40:19.333" LastActivityDate="2018-08-01T21:40:19.333" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13130" PostTypeId="2" ParentId="13114" CreationDate="2018-08-02T01:23:56.533" Score="8" Body="&lt;p&gt;I ended up finding the solution - there was never an issue with the XConnect instance, but with the configuration on the CD Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that by default, Content Delivery servers are set to only use xConnect as a collection-only endpoint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To change this, update the config in the sitecore/xconnect/clientconfig node and add a &quot;&lt;code&gt;searchConnectionStringName&lt;/code&gt;&quot; parameter as below, which will be missing from the ContentDelivery role section. By default this config is located in &lt;code&gt;App_Config/Sitecore/XConnect.Client.Configuration/Sitecore.XConnect.Client.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;clientconfig type=&quot;Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration,Sitecore.XConnect.Client.Configuration&quot;&#xA;              singleInstance=&quot;true&quot;&#xA;              role:require=&quot;ContentDelivery or Processing or Reporting and !ContentManagement and !Standalone&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;clientModel&quot; ref=&quot;xconnect/runtime&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;collectionConnectionStringName&quot;&amp;gt;xconnect.collection&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;searchConnectionStringName&quot;&amp;gt;xconnect.collection&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;configurationConnectionStringName&quot;&amp;gt;xconnect.collection&amp;lt;/param&amp;gt;&#xA;&amp;lt;/clientconfig&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3572" LastActivityDate="2018-08-02T01:23:56.533" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13131" PostTypeId="1" AcceptedAnswerId="13134" CreationDate="2018-08-02T05:28:29.397" Score="0" ViewCount="153" Body="&lt;p&gt;I have written merge handler code for custom facet by seeing &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/facets/facet-merge-handler.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore documentation&lt;/a&gt;. Searched a lot but did not find a way to debug code for  &lt;strong&gt;MergingCalculatedFacetHandler&lt;/strong&gt; . Is there any way to do that?&lt;/p&gt;&#xA;" OwnerUserId="1930" LastEditorUserId="1930" LastEditDate="2018-08-02T07:12:46.753" LastActivityDate="2018-08-02T11:02:55.087" Title="How to debug merge handler code in sitecore 9.0.1" Tags="|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13134" PostTypeId="2" ParentId="13131" CreationDate="2018-08-02T07:33:21.320" Score="2" Body="&lt;p&gt;Debugging of xConnect is no different from debugging any other website hosted in IIS. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make sure that both dll with your changes and pdb files are copied to xConnect instance.&lt;/li&gt;&#xA;&lt;li&gt;In Visual Studio click Debug &gt; Attach to Process and attach to w3wp.exe. See &lt;a href=&quot;https://stackoverflow.com/questions/36200289/how-to-debug-code-in-sitecore&quot;&gt;here&lt;/a&gt; for more info. You might consider using &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=thebread.AttachToAllTheThings&quot; rel=&quot;nofollow noreferrer&quot;&gt;Visual Studio Extension&lt;/a&gt; that simplifies attaching to IIS processes.&lt;/li&gt;&#xA;&lt;li&gt;Add appropriate breakpoints to the merge handler in Visual Studio.&lt;/li&gt;&#xA;&lt;li&gt;Run &lt;em&gt;xConnect&lt;/em&gt; code that is supposed to invoke the handler, e.g. submit a contact/interaction using xConnect client.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2018-08-02T11:02:55.087" LastActivityDate="2018-08-02T11:02:55.087" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13136" PostTypeId="1" CreationDate="2018-08-02T08:43:11.807" Score="0" ViewCount="482" Body="&lt;p&gt;I have implemented the Dianoga in my dev environment, while the final solution is deployed on azure paas.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not resolve type name: Dianoga.Invokers.MediaCacheAsync.Pipelines.Initialize.MediaCacheReplacer, Dianoga (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting this error on azure environment.  Has anyone encountered it? or seems familiar?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;Could not resolve type name: Dianoga.Invokers.MediaCacheAsync.Pipelines.Initialize.MediaCacheReplacer, Dianoga (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.Exception: Could not resolve type name: Dianoga.Invokers.MediaCacheAsync.Pipelines.Initialize.MediaCacheReplacer, Dianoga (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[Exception: Could not resolve type name: Dianoga.Invokers.MediaCacheAsync.Pipelines.Initialize.MediaCacheReplacer, Dianoga (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).]&#xA;   Sitecore.Diagnostics.Error.Raise(String error, String method) +133&#xA;   Sitecore.Configuration.DefaultFactory.CreateType(XmlNode configNode, String[] parameters, Boolean assert) +1051&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +69&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +163&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert) +68&#xA;   Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode processorNode) +91&#xA;   Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode processorNode) +145&#xA;   Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters) +132&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +455&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +161&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +764&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +570&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +372&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +329&#xA;&#xA;[HttpException (0x80004005): Could not resolve type name: Dianoga.Invokers.MediaCacheAsync.Pipelines.Initialize.MediaCacheReplacer, Dianoga (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +708&#xA;&#xA;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2623.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-08-02T09:17:20.703" LastActivityDate="2018-08-03T08:13:13.980" Title="Dianoga implementation issue on the Azure Paas" Tags="|azure|paas|dianoga|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13137" PostTypeId="1" CreationDate="2018-08-02T08:45:36.140" Score="1" ViewCount="617" Body="&lt;p&gt;I have a menu container that contains link items. The menu container is just a container so it does not need to have separate versions in all the active site languages. More specifically, it will always only contain a version in english. The childitems however need to have separate versions in the active languages and there should be no language fallback if an item does not have a version in a language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var mainMenuContainer = menuContainer.Children.FirstOrDefault(ch =&amp;gt; ch.Name == MAINMENU_ITEMNAME);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the mainMenuContainer will have the english language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var mainNavItems = mainMenuContainer.Children.Where(m =&amp;gt; m.TemplateID == Constants.LinkItemTemplateId); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How could I enforce that this call only returns child items that have a version in the context language? Maybe I could do something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; foreach (var language in item.Languages)&#xA; {&#xA;     var langSpecificItem = MasterDb.GetItem(item.ID, language);&#xA;&#xA;     if (langSpecificItem.HasVersion())&#xA;     {&#xA;&#xA;     }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but this seems not to be a terribly efficient way. I see that I could also check the IsFallback property of each item, but that seems not to be very elegant.&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="1973" LastEditDate="2018-08-02T08:53:09.533" LastActivityDate="2018-08-02T08:56:25.447" Title="Enforcing that childitems without language version are not returned" Tags="|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13138" PostTypeId="2" ParentId="13137" CreationDate="2018-08-02T08:56:25.447" Score="1" Body="&lt;pre&gt;&lt;code&gt;var mainNavItems = mainMenuContainer.Children.Where(m =&amp;gt; m.TemplateID == Constants.LinkItemTemplateId &amp;amp;&amp;amp; m.Versions.Count &amp;gt; 0); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where: &lt;code&gt;m.Versions.Count &amp;gt; 0&lt;/code&gt; is the new bit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Items don't have language versions, only field values do. Add the above to your LINQ expression and you're good to go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a new functionality, &lt;code&gt;EnforceVersionPresence&lt;/code&gt; that also does this on a data layer level - but I highly recommend you do not use it. You'll basically have to &quot;break off&quot; your API from standard implementations to &quot;Enforced&quot; which could make it less portable.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-08-02T08:56:25.447" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13139" PostTypeId="2" ParentId="10394" CreationDate="2018-08-02T10:21:30.880" Score="2" Body="&lt;p&gt;One thing that people tend not to read is about the indexes in the MongoDB collection. After creating those indexes the xDB migration is nearly as fast as lightning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copy/paste from &quot;xDB Data Migration Tool Installation Guide 2.0.1.pdf&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1.2.3 Add Indexes to MongoDB Collections&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xDB Data Migration Tool reads virtually all of the data in the MongoDB data for analytics from Sitecore 8.x. In order to do this efficiently, a couple of indexes must be added. Note Adding these indexes is optional. However, if you choose not to add these indexes, you should expect the data migration process to take longer to complete.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open a mongo shell.&lt;/li&gt;&#xA;&lt;li&gt;Select the database with the xDB data you plan to migrate to Sitecore 9.&lt;/li&gt;&#xA;&lt;li&gt;Enter the following commands: &#xA;db.getCollection('Devices').createIndex({LastKnownContactId:1})&#xA;db.getCollection('Interactions').createIndex({ContactId:1})&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1406" LastActivityDate="2018-08-02T10:21:30.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13141" PostTypeId="2" ParentId="13136" CreationDate="2018-08-02T10:48:46.880" Score="5" Body="&lt;p&gt;If the targetframework of the project is lesser than 4.5.2 then try to upgrade the target framework and reinstall the Dianoga from nuget &lt;a href=&quot;https://www.nuget.org/packages/Dianoga/3.1.1&quot; rel=&quot;noreferrer&quot;&gt;https://www.nuget.org/packages/Dianoga/3.1.1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also do check if Dianoga.dll is there in bin folder of the application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similar issue reported at&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/kamsar/Dianoga/issues/22&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/kamsar/Dianoga/issues/22&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/kamsar/Dianoga/issues/21&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/kamsar/Dianoga/issues/21&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3318" LastEditorUserId="605" LastEditDate="2018-08-03T08:13:13.980" LastActivityDate="2018-08-03T08:13:13.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13144" PostTypeId="1" AcceptedAnswerId="15146" CreationDate="2018-08-02T12:05:37.437" Score="7" ViewCount="426" Body="&lt;h1&gt;Background:&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have Sitecore (9.0.2) and xConnect running on my machine&lt;/li&gt;&#xA;&lt;li&gt;I have another application which is a .net core application&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Aim:&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I have a form in the .net core application. When user fills the form I want to send the data to xConnect&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Problem:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When I try to add a nuget reference from the .net core project to Sitecore libraries, I see the error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Package Sitecore.XConnect.Client.NoReferences 9.0.180604 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Sitecore.XConnect.Client.NoReferences 9.0.180604 supports: net462 (.NETFramework,Version=v4.6.2)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So I created another Class Library (.net 4.6.2) project in the solution, added references there and referenced the project from the .net core project. Everything compiles, but when I execute the code, I'm getting error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;FileNotFoundException: Could not load file or assembly 'Sitecore.XConnect.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I reference that class library from a simple mvc website and execute the code, it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does it mean that it's not possible to send data to xConnect from a .net core application without some middleman?&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-11-24T06:20:58.913" Title="How to send data from a .net core application directly to xConnect" Tags="|xconnect|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13145" PostTypeId="1" CreationDate="2018-08-02T12:30:04.577" Score="1" ViewCount="380" Body="&lt;p&gt;I have installed Sitecore 9 update 1 in my local machine . When I try to rebuild the link database for the vanilla installation, the rebuilding keeps on processing and will never complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I see the sitecore log file, there is below exception and nothing else.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: An error occurred while sending the request. Source:&#xA;Sitecore.Xdb.Common.Web &#xA;&#xA;Nested Exception Exception : The certificate was not found. Source:&#xA;Sitecore.Xdb.Common.Web&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is rebuilding the link database related to xConnect ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it mandatory to use xConnect in Sitecore 9?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I rebuild the link database without xConnect?&lt;/p&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="70" LastEditDate="2018-08-02T19:43:08.987" LastActivityDate="2018-08-02T19:43:08.987" Title="Rebuild link database is not working" Tags="|link-database|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13149" PostTypeId="1" AcceptedAnswerId="13150" CreationDate="2018-08-02T15:21:23.507" Score="3" ViewCount="218" Body="&lt;p&gt;The SXA search results tool-tip contains the display name of the item as shown in image below &#xA;&lt;a href=&quot;https://i.stack.imgur.com/87uNG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/87uNG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to make the tool-tip reads its content from a specific field of the item template, as I have a rendering variant that contains many fields of different templates.&lt;/p&gt;&#xA;" OwnerUserId="4076" LastActivityDate="2018-08-02T15:47:41.687" Title="SXA Search results Tooltip" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13150" PostTypeId="2" ParentId="13149" CreationDate="2018-08-02T15:47:41.687" Score="3" Body="&lt;p&gt;Search Results rendering is using Rendering Variants to display results. If you want to modify how HTML of particular search results item is generated then you would need to override Rendering Variants logic (that might be pretty hard). We are using Field Renderers (Sitecore is generating HTML) there like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;FieldRenderer fieldRender = new FieldRenderer&#xA;{&#xA;    Item = item,&#xA;    FieldName = variantField.FieldName,&#xA;    ...&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This HTML is later on put on the fronted into &lt;code&gt;&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;&lt;/code&gt; list. And as far as I can see in the code we are not adding any tooltips there. So the tooltip comes from Field Renderer probably.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Beside all above you can try use Rendering Variant tokens:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oXGkH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oXGkH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-08-02T15:47:41.687" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13153" PostTypeId="1" AcceptedAnswerId="13154" CreationDate="2018-08-02T16:57:29.197" Score="1" ViewCount="546" Body="&lt;p&gt;I want to add new attributes for my catalog in Sitecore Experience Commerce 9 update 2 but not sure how to add it using the Sitecore Experience platform.&#xA;Moreover all the properties data need to be fetched and populated from an external API. What should be the approach to do so?&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-08-02T17:17:37.933" Title="How can I add custom catalog attributes in Sitecore Experience commerce 9 and populate it with data from API?" Tags="|sitecore-commerce|sitecore-api|commerce-catalog|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13154" PostTypeId="2" ParentId="13153" CreationDate="2018-08-02T17:17:37.933" Score="2" Body="&lt;p&gt;Have a look at this article for extending commerce entities (products, catalogs categories users etc.)with custom  properties&#xA;&lt;a href=&quot;https://hachweb.wordpress.com/2018/07/15/sitecore-xc-9-0-2-walk-through-extending-product-definitions-with-custom-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hachweb.wordpress.com/2018/07/15/sitecore-xc-9-0-2-walk-through-extending-product-definitions-with-custom-fields/&lt;/a&gt;&#xA;And this one for getting axcess to them within the engine &#xA;&lt;a href=&quot;https://hachweb.wordpress.com/2018/08/01/sitecore-xc-9-0-2-how-to-retrieve-composer-generated-templates-within-sitecore-engine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hachweb.wordpress.com/2018/08/01/sitecore-xc-9-0-2-how-to-retrieve-composer-generated-templates-within-sitecore-engine/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards.&lt;/p&gt;&#xA;" OwnerUserId="3737" LastActivityDate="2018-08-02T17:17:37.933" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13155" PostTypeId="1" CreationDate="2018-08-02T17:45:24.680" Score="3" ViewCount="492" Body="&lt;p&gt;I'm using Sitecore 9 and I have created a ServiceApiController to enhance Sitecore API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I put a simple action method but it doesn't catch any request and I get this exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Document not found - 404&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is my controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Services.Core;&#xA;using Sitecore.Services.Infrastructure.Web.Http;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using System.Web.Http;&#xA;using System.Web.Mvc;&#xA;&#xA;namespace SPCW.Feature.SalesforceBridge.Controllers&#xA;{&#xA;    public class TestApi : ServicesApiController&#xA;    {&#xA;        [System.Web.Http.HttpGet]&#xA;        [System.Web.Http.Route(&quot;v1/test&quot;)]&#xA;        public IHttpActionResult testMethod()&#xA;        {&#xA;            return Ok&amp;lt;string&amp;gt;(&quot;Test was successful&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and here is my configuration&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;api&amp;gt;&#xA;      &amp;lt;services&amp;gt;&#xA;        &amp;lt;configuration type=&quot;Sitecore.Services.Infrastructure.Configuration.ServicesConfiguration, Sitecore.Services.Infrastructure&quot;&amp;gt;&#xA;          &amp;lt;allowedControllers hint=&quot;list:AddController&quot;&amp;gt;&#xA;            &amp;lt;allowedController desc=&quot;TestApi&quot;&amp;gt;SPCW.Feature.SalesforceBridge.Controllers.TestApi, SPCW.Feature.SalesforceBridge&amp;lt;/allowedController&amp;gt;&#xA;          &amp;lt;/allowedControllers&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/api&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3444" LastEditorUserId="2056" LastEditDate="2018-08-03T05:29:21.517" LastActivityDate="2018-12-01T20:00:45.120" Title="Action methods in ServiceApiController is not catching the request" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13156" PostTypeId="1" CreationDate="2018-08-02T17:46:00.080" Score="0" ViewCount="748" Body="&lt;p&gt;I am writing powershell script that reads HTML from rich text field and then updates it. I am trying to use HtmlAgilityPack to read html. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To test HtmlAgilityPack I wrote short script (below), which runs successfully (loads html and prints it to screen) in Powershell ISE, but does not load html when run in Sitecore powershell editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what I am missing?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$html = &quot;&amp;lt;p&amp;gt;Testing&amp;lt;/p&amp;gt;&quot;&#xA;Add-Type -path &quot;C:\HtmlAgilityPack\HtmlAgilityPack.dll&quot;&#xA;$doc = New-Object HtmlAgilityPack.HtmlDocument&#xA;$doc.LoadHtml($html)&#xA;Write-Host &quot;Text:&quot; $doc.Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1711" LastEditorUserId="70" LastEditDate="2018-08-02T19:42:25.613" LastActivityDate="2018-08-02T21:18:37.280" Title="HtmlAgilityPack.HtmlDocument is not loading html in Sitecore Powershell" Tags="|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13157" PostTypeId="1" AcceptedAnswerId="13294" CreationDate="2018-08-02T18:20:32.283" Score="6" ViewCount="1273" Body="&lt;p&gt;I have a multi-page form built in Sitecore Experience Forms on Sitecore 9.0.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the first page, there is a &quot;&lt;code&gt;First Name&lt;/code&gt;&quot; field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the second page, we would like to display the text &quot;Thank you, &lt;code&gt;[First Name]&lt;/code&gt;&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to do this in Sitecore Experience Forms?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="73" LastEditDate="2018-08-11T07:39:09.930" LastActivityDate="2019-06-18T09:59:05.757" Title="Using Form Value from One Step as a Token in Another" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13158" PostTypeId="2" ParentId="13156" CreationDate="2018-08-02T18:26:21.173" Score="1" Body="&lt;p&gt;Try this :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$html = &quot;&amp;lt;p&amp;gt;Testing&amp;lt;/p&amp;gt;&quot;&#xA;$doc = New-Object -TypeName HtmlAgilityPack.HtmlDocument&#xA;$doc.LoadHtml($html)&#xA;Write-Host &quot;Text:&quot; $doc.DocumentNode.SelectNodes(&quot;//p&quot;)[0].InnerHtml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;-Hetal&lt;/p&gt;&#xA;" OwnerUserId="1301" LastEditorUserId="277" LastEditDate="2018-08-02T21:18:37.280" LastActivityDate="2018-08-02T21:18:37.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13159" PostTypeId="1" AcceptedAnswerId="13171" CreationDate="2018-08-02T19:16:43.737" Score="3" ViewCount="2373" Body="&lt;p&gt;&lt;p&gt;I've tried section (d) from this blog: &lt;a href=&quot;https://himadritechblog.wordpress.com/2018/03/10/yet-another-sitecore-commerce-9-installation-blog-post/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://himadritechblog.wordpress.com/2018/03/10/yet-another-sitecore-commerce-9-installation-blog-post/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;p&gt;And this blog:&#xA;&lt;a href=&quot;https://naveed-ahmad.com/2018/02/25/sitecore-experience-commerce-xc9-troubleshooting-your-installation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://naveed-ahmad.com/2018/02/25/sitecore-experience-commerce-xc9-troubleshooting-your-installation/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;p&gt; I am using I tried changing the connection string to DESKTOP-XXXXX\MSSQLSERVER and to DESKTOP-XXXXX\SQLEXPRESS16.&#xA;I've installed Sitecore 9.0.2 with $SqlAdminUser = &quot;sc90&quot; and $SqlAdminPassword=&quot;admin&quot;. I tried adding User Id=&quot;sc90&quot; and Password=&quot;admin&quot; but I still get the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;p&gt;Please share a solution if you have one. Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;p&gt;I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[-------------------------------- InitializeCommerceEngine : InstallSitecoreConfiguration ----------------------------]&#xA;Transcript started, output file is C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\CommerceEngine.Initialize.18&#xA;0802 (4).log&#xA;                                          ************************************&#xA;                                               Sitecore Install Framework&#xA;                                                     Version - 1.2.1&#xA;                                          ************************************&#xA;&#xA;&#xA;WorkingDirectory  : C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14&#xA;LogPath           : C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\CommerceEngine.Initialize.180802 (4).log&#xA;WhatIf            : False&#xA;Verbose           : SilentlyContinue&#xA;Configuration     : C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\Configuration\Commerce\CommerceEngine\Comm&#xA;                    erceEngine.Initialize.json&#xA;Debug             : SilentlyContinue&#xA;WarningAction     : Continue&#xA;ErrorAction       : Stop&#xA;InformationAction : Continue&#xA;&#xA;&#xA;&#xA;Importing Module =&amp;gt; InitializeCommerce&#xA;&#xA;[----------------------------------- DisableCsrfValidation : DisableCsrfValidation -----------------------------------]&#xA;&#xA;[---------------------------------------- GetIdServerToken : GetIdServerToken ----------------------------------------]&#xA;Get Token From Sitecore.IdentityServer&#xA;Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error.&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:06&#xA;Transcript stopped, output file is C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\CommerceEngine.Initialize.180802 (4).log&#xA;Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error.&#xA;At C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\MyDeploy-Sitecore-Commerce.ps1:80 char:2&#xA;+     Install-SitecoreConfiguration @params&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:11&#xA;Transcript stopped, output file is C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\Master_SingleServer.180802 (5).log&#xA;Invoke-RestMethod : The remote server returned an error: (500) Internal Server Error.&#xA;At C:\Users\MJK\Desktop\deploy\SIF.Sitecore.Commerce.1.2.14\Modules\InitializeCommerce\InitializeCommerce.psm1:73&#xA;char:17&#xA;+ ... $response = Invoke-RestMethod $UrlIdentityServerGetToken -Method Post ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc&#xA;   eption&#xA;    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3865" LastActivityDate="2019-04-26T11:11:21.723" Title="Sitecore Experience Commerce XC 9.0.2 installation error (at Get Token From Sitecore.IdentityServer)" Tags="|sitecore-commerce|sitecore-install-framework|installation|commerce-engine|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13163" PostTypeId="2" ParentId="13155" CreationDate="2018-08-03T05:27:03.077" Score="3" Body="&lt;p&gt;First, you need to add &quot;Controller&quot; at the end of your controller class name so instead of &lt;code&gt;TestApi&lt;/code&gt; it will be &lt;code&gt;TestApiController&lt;/code&gt; to follow MVC naming conventions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second, I think that better would be to decorate your class with this attribute &lt;code&gt;[ServicesController(&quot;v1.test&quot;)]&lt;/code&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then the call would look like this:&#xA;&lt;code&gt;http://localhost/sitecore/api/ssc/v1/test/1/TestMethod&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-09-02T18:04:05.097" LastActivityDate="2018-09-02T18:04:05.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13165" PostTypeId="1" AcceptedAnswerId="13166" CreationDate="2018-08-03T05:57:12.517" Score="1" ViewCount="287" Body="&lt;p&gt;When I published an item/page (Republish, unchecked related items) it took an unbearable amount of time, so I cancelled it by ending the IIS worker process (better way to end it?).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then an error dialog came up stating that the publishing process was interrupted (or similar wording).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, the 2 extra menu buttons under the Publish toolbar/Publish button in Content Editor stopped worked (Publish site/Publish item).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nothing happens when either one is clicked.&lt;/p&gt;&#xA;" OwnerUserId="3799" LastEditorUserId="2153" LastEditDate="2018-08-03T06:58:57.553" LastActivityDate="2018-12-01T08:01:45.330" Title="Interrupted publishing an item process - publish items stopped working" Tags="|sitecore-client|content-editor|publishing|" AnswerCount="1" CommentCount="0" ClosedDate="2018-12-01T10:44:12.640" ContentLicense="CC BY-SA 4.0" />
  <row Id="13166" PostTypeId="2" ParentId="13165" CreationDate="2018-08-03T05:57:12.517" Score="0" Body="&lt;p&gt;It was solved by going to the &lt;code&gt;launchpad&lt;/code&gt; &gt; &lt;code&gt;Control Panel&lt;/code&gt; &gt; and selecting &lt;code&gt;Clean up databases&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3799" LastActivityDate="2018-08-03T05:57:12.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13167" PostTypeId="2" ParentId="13080" CreationDate="2018-08-03T06:54:40.680" Score="3" Body="&lt;p&gt;I'll try my best to answer your questions here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Q: What are the certificates associated with each of them?&lt;/strong&gt;&#xA;&lt;em&gt;I do see SitecoreIdentityServer and all other website assigned by default with &#xA;Sitecore Commerce services SSL certificate(localhost) after installation.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The certificate associated to the Commerce Engine IIS websites is an SSL Server Certificate. This is required to encrypt all traffic to/from the Commerce Engine, Sitecore BizFx (Business Tools), and Sitecore Identity Server over https. For development purposes, a self-signed certificate with CN localhost is created. Once you change the hostnames for production use, you can get your own SSL certificate and update the binding.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Q: Why Identity server certificate exist?&lt;/strong&gt;&#xA;&lt;em&gt;Moreover I do see the thumbprint of Identity server assigned on the SitecoreIdentityServer appsettings.json but the certificates is not assigned to it or any websites. We also create Sitecore commerce engine connect certificate but that is also not assigned to any of the bindings of any of the websites.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Identity Server certificate&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is used by Sitecore Identity Server to sign and validate identity and JWT access tokens. Business Tools users are authenticated against the Identity Server and this is where it comes into play.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Configuration:&lt;/em&gt; The thumbprint for this certificate is configured in your Identity Server wwwroot\appsettings.json file.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Commerce Engine Connect certificate&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is a client certificate required to authenticate clients to Commerce Engine using certificate authentication. Commerce Engine Connect uses this to get access to the Commerce Engine. Calls made to Commerce Engine, eg. by the SXA Storefront go through Commerce Engine Connect. An X-ARR-ClientCert header is added to requests with the certificate information such as thumbprint to authenticate the call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Configuration:&lt;/em&gt; Once you install the certificate to your LocalMachine Personal Certificate store, you also need to add it to IIS Server Certificates.&#xA;Commerce Engine is configured with the thumbprint of this certificate in wwwroot/config.json. And the same thumbprint is configured in Commerce.Engine.Connect.config for Commerce Engine Connect (the client). You don't need to do this manually, as the SIF installation should take care of this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; You can read further on my blog post here: &lt;a href=&quot;https://sitecoredude.com/the-dudes-guide-to-certificates-in-sitecore-experience-commerce-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoredude.com/the-dudes-guide-to-certificates-in-sitecore-experience-commerce-9/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3940" LastEditorUserId="3940" LastEditDate="2018-08-19T15:47:44.087" LastActivityDate="2018-08-19T15:47:44.087" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13168" PostTypeId="2" ParentId="12984" CreationDate="2018-08-03T07:30:38.243" Score="0" Body="&lt;p&gt;In order to change the default IIS site names, you can pass an additional parameter called &lt;strong&gt;CommerceServicesPostfix&lt;/strong&gt; in Deploy-Sitecore-Commerce.ps1 when installing the Master_SingleServer.json configuration via SIF. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside the downloaded installation package for Sitecore XC9, you will find SIF.Sitecore.Commerce.1.2.14\Configuration\Commerce\Master_SingleServer.json. If you have a peek in there, by default the value of CommerceServicesPostfix is &quot;Sc9&quot;. You can also change this default value to something else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that if you change this value, you also need to update the default value of CommerceServicesPostfix parameter in the following files:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SIF.Sitecore.Commerce.1.2.14\Configuration\Commerce\CommerceEngine\CommerceEngine.Deploy.json&lt;/li&gt;&#xA;&lt;li&gt;SIF.Sitecore.Commerce.1.2.14\Configuration\Commerce\CommerceEngine\CommerceEngine.Initialize.json&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3940" LastActivityDate="2018-08-03T07:30:38.243" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13169" PostTypeId="1" AcceptedAnswerId="13187" CreationDate="2018-08-03T08:27:58.380" Score="1" ViewCount="237" Body="&lt;p&gt;In my application when editing, image properties from a rich text editor the label is missing for &quot;Title&quot;. (Ref. Image)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4VI62.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4VI62.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anybody having an idea of where to configure the label?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="2344" LastActivityDate="2018-08-03T19:50:57.517" Title="Title label is missing in Image Properties - Sitecore Media Image" Tags="|media-library|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13170" PostTypeId="1" AcceptedAnswerId="13176" CreationDate="2018-08-03T09:05:07.190" Score="9" ViewCount="1033" Body="&lt;p&gt;I am wondering what are the reasons or maybe technical limitations all of Sitecore 9 databases to be Partially Contained except Xdb.Collection.Shard0, Xdb.Collection.Shard1 and Xdb.Collection.ShardMapManager.&lt;/p&gt;&#xA;" OwnerUserId="1457" LastEditorUserId="69" LastEditDate="2018-08-03T13:37:20.187" LastActivityDate="2018-09-10T12:50:29.877" Title="Why Xdb.Collection.Shard0, Xdb.Collection.Shard1 and Xdb.Collection.ShardMapManager databases in Sitecore 9 are not Partially Contained?" Tags="|xdb|sitecore-install-framework|sql-database|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13171" PostTypeId="2" ParentId="13159" CreationDate="2018-08-03T09:23:38.207" Score="4" Body="&lt;p&gt;I also faced this error and below are the steps I did to fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Added the ConnectionString in &lt;strong&gt;appsettings.json&lt;/strong&gt; (&lt;em&gt;C:\inetpub\wwwroot\SitecoreIdentityServer\wwwroot&lt;/em&gt;) with &quot;&lt;em&gt;User Id&lt;/em&gt;&quot;, &quot;&lt;em&gt;Password&lt;/em&gt;&quot; and removed &quot;&lt;em&gt;Integrated Security&lt;/em&gt;&quot;. Make sure the user id have all the required permission on the SQL server database, if not then Grant all those permission especially the &lt;em&gt;db owner&lt;/em&gt;. &#xA;For example: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;AppSettings&quot;:{&quot;SitecoreMembershipOptions&quot;:{&quot;ConnectionString&quot;:&quot;Data Source=WIN-20IDVDM11DL\\SQLEXPRESS;Initial Catalog=sxp9u2_Core;User Id=sxp9;Password=Test12345&quot;,&quot;ApplicationName&quot;:&quot;sitecore&quot;,&quot;UseRoleProviderSource&quot;:true} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: For me the default ConnectionString to the SQL was not working so I modified it here with the one than works.&#xA;Modified the app pool Identity to &lt;em&gt;LocalSystem&lt;/em&gt; as the default &lt;em&gt;CSFRuntimeUser&lt;/em&gt; was not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look at the event viewer and logs to find out what exactly is breaking. This will help you to work on the exact fix needed &lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-08-03T09:23:38.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13173" PostTypeId="1" AcceptedAnswerId="13174" CreationDate="2018-08-03T09:34:08.607" Score="2" ViewCount="187" Body="&lt;p&gt;We want to change the destination folder for Webforms For Marketers file uploads. How can I do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already checked out the upload and the save actions but I can't find anything related, what am I missing?&lt;/p&gt;&#xA;" OwnerUserId="3554" LastActivityDate="2018-08-03T09:52:58.453" Title="How can I change the destination folder in the media library for WFFM file uploads?" Tags="|wffm|" AnswerCount="1" CommentCount="0" ClosedDate="2018-08-04T19:21:42.013" ContentLicense="CC BY-SA 4.0" />
  <row Id="13174" PostTypeId="2" ParentId="13173" CreationDate="2018-08-03T09:44:44.067" Score="3" Body="&lt;p&gt;In Form Designer, when you select your &lt;code&gt;File upload&lt;/code&gt; field, you can set &lt;code&gt;Upload To&lt;/code&gt; property:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DEzKu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DEzKu.png&quot; alt=&quot;Sitecore WFFM File upload destination folder&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-08-03T09:52:58.453" LastActivityDate="2018-08-03T09:52:58.453" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13175" PostTypeId="1" AcceptedAnswerId="13197" CreationDate="2018-08-03T11:57:15.590" Score="0" ViewCount="606" Body="&lt;p&gt;When I open Exm campaign page it throws error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;A serious error occurred please contact the administrator&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This error has appeared at the same time on different servers. Sitecore returned  it from &quot;&lt;em&gt;domain&lt;/em&gt;&quot;&lt;em&gt;/sitecore/api/ssc/EXM/InitialActiveReviews&lt;/em&gt; request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Log: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;5396 09:59:07 ERROR System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&amp;gt; System.InvalidOperationException: The model backing the 'FrameworkDbModel' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).&#xA;   at System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)&#xA;   at System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)&#xA;   at System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()&#xA;   at System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)&#xA;   at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)&#xA;   at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)&#xA;   at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()&#xA;   at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext()&#xA;   at System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider()&#xA;   at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)&#xA;   at ScCf.Subscription.ServerManager.GetServersByLicenseId(IAppsDataContext ctx, String licenseId) in C:\BuildAgent\work\3937cb50f5c3bdcd\ScCf.Subscription\ServerManager.cs:line 76&#xA;   at ScCf.Subscription.ServerManager.GetServer(String licenceId) in C:\BuildAgent\work\3937cb50f5c3bdcd\ScCf.Subscription\ServerManager.cs:line 28&#xA;   at Sitecore.Apps.Server.ServerService.GetServer(String licenseId, String password) in C:\BuildAgent\work\3937cb50f5c3bdcd\Sitecore.Apps\Server\ServerService.cs:line 27&#xA;   at Sitecore.Apps.Log.Logger.LogWebServiceCall(Credentials credentials) in C:\BuildAgent\work\3937cb50f5c3bdcd\Sitecore.Apps\Log\Logger.cs:line 50&#xA;   at Sitecore.Apps.ContextInitializer.Initialize(Credentials credentials, String language) in C:\BuildAgent\work\3937cb50f5c3bdcd\Sitecore.Apps\ContextInitializer.cs:line 31&#xA;   at Sitecore.Apps.WebService.WebServiceBase.Execute[T,TResult](Credentials credentials, Func`2 funcToExecute, T t) in C:\BuildAgent\work\3937cb50f5c3bdcd\Sitecore.Apps\WebService\WebServiceBase.cs:line 58&#xA;   at Sitecore.Apps.WebService.AppsService.GetServerApplicationsByApplicationId(Credentials credentials, Guid applicationId) in C:\BuildAgent\work\3937cb50f5c3bdcd\Sitecore.Apps\WebService\AppsService\ServerApplications.cs:line 32&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;" OwnerUserId="4080" LastEditorUserId="73" LastEditDate="2018-08-06T10:05:28.937" LastActivityDate="2018-08-06T10:05:28.937" Title="Email Experience Manager(EXM) campaign page error" Tags="|exm|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13176" PostTypeId="2" ParentId="13170" CreationDate="2018-08-03T13:49:44.837" Score="7" Body="&lt;p&gt;xConnect uses a change tracking functionality which requires a SQL User so it can access multiple databases. For this reason, contained database authentication cannot be used on the xDB Collection databases (shards and shard manager).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source info (from @Rosen Petrov): &lt;a href=&quot;https://www.timmitchell.net/post/2016/11/18/video-introduction-to-sql-server-change-tracking/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.timmitchell.net/post/2016/11/18/video-introduction-to-sql-server-change-tracking/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2018-09-10T12:50:29.877" LastActivityDate="2018-09-10T12:50:29.877" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13177" PostTypeId="1" AcceptedAnswerId="14169" CreationDate="2018-08-03T13:59:41.813" Score="1" ViewCount="1379" Body="&lt;p&gt;I have a Sitecore 9 site configured to use an OWIN provider as described in &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/configure_federated_authentication&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt;. The site also allows users to authenticate via forms authentication. The two authentication methods are working at this point.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the issue: Whenever a user hits a page that they are unauthorized to view, Sitecore immediately redirects them to the OWIN providers's login page. What we need instead is for Sitecore to display a custom 403 Unauthorized page with relevant information. We have installed the plugin &quot;Sitecore Error Manager&quot;, so we already have the ability to display a 403 page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do we change this behavior and tell Sitecore to redirect to our 403 page instead of the federated auth login page?&lt;/p&gt;&#xA;" OwnerUserId="3703" LastEditorUserId="3703" LastEditDate="2018-08-13T09:13:13.993" LastActivityDate="2018-09-27T20:57:23.093" Title="Sitecore redirecting to federated authentication provider on unauthorized" Tags="|federated-authentication|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13178" PostTypeId="1" AcceptedAnswerId="13179" CreationDate="2018-08-03T14:55:56.833" Score="2" ViewCount="553" Body="&lt;p&gt;I'm trying to find all items in Sitecore where a particular field (&quot;ShortTitle&quot;) is blank. I have the following call working to Sitecore Powershell Extensions's (SPE) Find-Item, but there doesn't seem to be a way to negate the criteria filter. I don't want result where the field is empty--I want everything else, like &quot;NotContains&quot;. Is there any way to do that?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Find-Item `&#xA;  -Index sitecore_web_index `&#xA;  -Criteria  @{Filter = &quot;Contains&quot;; Field = &quot;ShortTitle&quot;; Value = &quot;&quot;}     |&#xA;  Initialize-Item |&#xA;  Show-ListView @props -Property @{Label=&quot;Name&quot;; Expression={$_.DisplayName} },&#xA;                                 @{Label=&quot;Short Title&quot;; Expression={$_.&quot;ShortTitle&quot;} },&#xA;                                 @{Label=&quot;Path&quot;; Expression={$_.ItemPath} }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="599" LastEditorUserId="599" LastEditDate="2018-08-06T13:50:28.623" LastActivityDate="2018-08-06T13:50:28.623" Title="Negate the criteria filter in Sitecore Powershell Find-Item call?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13179" PostTypeId="2" ParentId="13178" CreationDate="2018-08-03T15:47:49.990" Score="4" Body="&lt;p&gt;Although it's not mentioned in the official documentation, this feature has existed for some time with the &lt;code&gt;Invert&lt;/code&gt; flag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Find-Item -Index sitecore_web_index `&#xA;          -Criteria  @{Filter = &quot;Contains&quot;; Field = &quot;ShortTitle&quot;;&#xA;                       Value = &quot;&quot;; Invert=$true} |&#xA;  Initialize-Item |&#xA;  Show-ListView -Property @{Label=&quot;Name&quot;; Expression={$_.DisplayName} },&#xA;                          @{Label=&quot;Short Title&quot;; Expression={$_.&quot;ShortTitle&quot;} },&#xA;                          @{Label=&quot;Path&quot;; Expression={$_.ItemPath} }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/415&quot; rel=&quot;nofollow noreferrer&quot;&gt;this issue on GitHub&lt;/a&gt;. The issues on SPE's repo are a great source of information.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2018-08-03T15:47:49.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13181" PostTypeId="2" ParentId="13177" CreationDate="2018-08-03T16:45:17.720" Score="3" Body="&lt;p&gt;You can set the NoAccessUrl setting or the loginPage attribute on the sitedefinition to point to your custom page. This &lt;a href=&quot;http://josedbaez.com/2018/03/sitecore9-sso/&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; has an example of using the NoAccessUrl to point to a custom page.&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-08-03T16:45:17.720" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13182" PostTypeId="2" ParentId="13128" CreationDate="2018-08-03T17:29:01.610" Score="0" Body="&lt;p&gt;I contacted Sitecore support and the issue is when the A/B test is not fully published from CM to CD servers. They provided a &lt;a href=&quot;https://sitecore.box.com/s/gzxiqyw5v2rp1u4oivswkozvqc1dt52l&quot; rel=&quot;nofollow noreferrer&quot;&gt;patch&lt;/a&gt; which resolved the issue.&lt;/p&gt;&#xA;" OwnerUserId="456" LastActivityDate="2018-08-03T17:29:01.610" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13183" PostTypeId="1" CreationDate="2018-08-03T17:29:19.733" Score="2" ViewCount="4214" Body="&lt;p&gt;I am currently trying to build 301 redirect module in sitecore9.trying to receive requested URL .will be verifying in the content tree if requested URL has &#xA;redirect URL then redirect to the URL with status code 301&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RedirectProcessor : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (Sitecore.Context.Item == null)&#xA;        {&#xA;            var requestedUrl = HttpContext.Current.Request.Url.ToString();&#xA;            var requestedPath = HttpContext.Current.Request.Url.AbsolutePath;&#xA;            var requestedPathAndQuery = HttpContext.Current.Request.Url.PathAndQuery;&#xA;            var db = Sitecore.Context.Database;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Website.Foundation.Redirect.RedirectProcessor&quot; patch:instead=&quot;*[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting an error page after Sitecore login. I am not sure using ItemResolver is correct or not. what is the pipeline have to used for customizing rendering pipeline&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="73" LastEditDate="2018-08-06T07:28:39.003" LastActivityDate="2018-08-06T07:28:39.003" Title="URLRedirection Custom HttpRequestProcessor" Tags="|pipelines|redirect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13184" PostTypeId="2" ParentId="13183" CreationDate="2018-08-03T17:58:25.397" Score="4" Body="&lt;p&gt;In your configuration, you are overwriting (&lt;code&gt;patch:instead&lt;/code&gt;) the Sitecore processor (&lt;code&gt;ItemResolver&lt;/code&gt;) responsible for figuring out the context item based on the HTTP request. If you remove that, not much is going to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since your logic applies only when no such context item has been found, your processor should run &lt;strong&gt;after&lt;/strong&gt; (&lt;code&gt;patch:after&lt;/code&gt;) the item resolver, like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Website.Foundation.Redirect.RedirectProcessor&quot;&#xA;    patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would add that handling redirections in this way can become surprisingly complex and can drastically impact performance if caching is not properly leveraged. If you have many such redirections, you might consider the use of an existing module such as the excellent &lt;a href=&quot;https://github.com/iamandycohen/UrlRewrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;URL Rewrite&lt;/a&gt; by Andy Cohen. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; There is a &lt;a href=&quot;https://github.com/davvves/UrlRewrite/tree/sc9update&quot; rel=&quot;nofollow noreferrer&quot;&gt;fork of this project for Sitecore 9&lt;/a&gt;, in which the author was kind enough to provide an &lt;a href=&quot;https://github.com/davvves/UrlRewrite/tree/sc9update/Package&quot; rel=&quot;nofollow noreferrer&quot;&gt;updated package&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2018-08-03T19:37:57.430" LastActivityDate="2018-08-03T19:37:57.430" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13187" PostTypeId="2" ParentId="13169" CreationDate="2018-08-03T19:50:57.517" Score="2" Body="&lt;p&gt;It looks like translation is missing in &lt;code&gt;RadEditor.Dialogs.resx&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to add it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find your web app root on the&lt;/li&gt;&#xA;&lt;li&gt;Navigate to &lt;code&gt;sitecore\shell\Controls\Rich Text Editor\Localization&lt;/code&gt; folder&lt;/li&gt;&#xA;&lt;li&gt;Open &lt;code&gt;RadEditor.Dialogs.resx&lt;/code&gt; file&lt;/li&gt;&#xA;&lt;li&gt;Search for &lt;code&gt;Common_ImageAltText&lt;/code&gt; string. You should find:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;data name=&quot;Common_ImageAltText&quot; xml:space=&quot;preserve&quot;&amp;gt;&#xA;    &amp;lt;value&amp;gt;Alt Text&amp;lt;/value&amp;gt;&#xA;&amp;lt;/data&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Add new data node below the &lt;code&gt;&amp;lt;data name=&quot;Common_ImageAltText&quot;&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;data name=&quot;Common_ImageTitleText&quot; xml:space=&quot;preserve&quot;&amp;gt;&#xA;    &amp;lt;value&amp;gt;Title Text You Like&amp;lt;/value&amp;gt;&#xA;&amp;lt;/data&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;6&quot;&gt;&#xA;&lt;li&gt;Clear browser cache and refresh the window.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Your translation should be there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/k7XM9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/k7XM9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-08-03T19:50:57.517" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13189" PostTypeId="1" AcceptedAnswerId="13190" CreationDate="2018-08-03T21:47:53.897" Score="6" ViewCount="2709" Body="&lt;p&gt;Is there a quick way to unlock all the items locked by a specific user from an admin account? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="73" LastEditDate="2018-08-06T07:58:54.697" LastActivityDate="2022-06-21T11:37:29.207" Title="SPE to Unlock all items locked by a specific user" Tags="|powershell-extensions|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13190" PostTypeId="2" ParentId="13189" CreationDate="2018-08-03T22:17:20.420" Score="12" Body="&lt;p&gt;Something like that should do the trick:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem master:\content -rec | &#xA;  Where-Object { $_.Locking.GetOwner() -eq &quot;sitecore\USERNAME&quot; } | &#xA;  % { $_.Locking.Unlock() }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You just take all the child items of the &lt;code&gt;sitecore\content&lt;/code&gt; item, check if your chosen user is the owner of it and unlock the item.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-08-03T22:22:27.260" LastActivityDate="2018-08-03T22:22:27.260" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13191" PostTypeId="1" AcceptedAnswerId="13336" CreationDate="2018-08-03T23:16:02.593" Score="8" ViewCount="849" Body="&lt;p&gt;We're getting an interesting validation error after upgrading from Sitecore 8.2 Update-6 to Sitecore 9 Update-2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have the standard &lt;code&gt;Required&lt;/code&gt; validator on a field (item name of the field is &lt;code&gt;Title&lt;/code&gt;). When the workflow validation triggers it says the field has no value, but doing a manual validation shows that it validates fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In both the editor and the admin dbbrowser tool the field has a value. Checking the item template's raw values I've confirmed that the validation points to the same items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The validation on this field hasn't changed in any way since we were on Sitecore 8.2 Update-6, nor has the workflow, and going back to old items and trying to publish them no longer works, because of the same validation issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I determine where Sitecore 9.x is now getting the idea that the populated field doesn't actually have a value, with the out of the box &lt;code&gt;Required&lt;/code&gt; validator?&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2019-08-01T18:38:05.510" Title="Standard Required field validation reporting field is empty after upgrade to Sitecore 9.0 Update-2" Tags="|validation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13193" PostTypeId="1" AcceptedAnswerId="13195" CreationDate="2018-08-06T05:50:11.323" Score="2" ViewCount="133" Body="&lt;p&gt;How can I copy security fields between environments? I can't use TDS serialization because there are too many changes that would be propagated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to simply only copy the security fields? And also choose which items to have their security fields copied out (and into another environment)?&lt;/p&gt;&#xA;" OwnerUserId="3799" LastActivityDate="2018-08-06T06:25:12.387" Title="How can I copy security fields between environments?" Tags="|security|role-management|serialization|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13194" PostTypeId="2" ParentId="13175" CreationDate="2018-08-06T06:09:03.600" Score="0" Body="&lt;p&gt;I'm seeing the same problem as of today. I've done some tracing, and EXM appears to be attempting to check its subscription status via this local API call:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://[CM_SERVER_HOST]/sitecore/api/ssc/EDS/Subscription&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://[CM_SERVER_HOST]/sitecore/api/ssc/EDS/Subscription&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That logs the same exception in the EXM logs that you noted: &quot;The model backing the 'FrameworkDbModel' context has changed since the database was created&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By inspecting the outgoing traffic from our CM server, I can see that this is actually coming from an external Sitecore service API call to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://apps.sitecore.net/api/Subscriptions(LicenseId=&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://apps.sitecore.net/api/Subscriptions(LicenseId=&lt;/a&gt;'LICENSE_ID_REMOVED')&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The response includes the following JSON:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;@odata.context&quot;:&quot;http://appcenter.cloud.sitecore.net/api/$metadata#Edm.String&quot;,&quot;value&quot;:&quot;The model backing the 'FrameworkDbModel' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It looks like Sitecore have updated their API, and it's now incompatible with the existing services out in the wild trying to call it. I'll be logging a support request now.&lt;/p&gt;&#xA;" OwnerUserId="4084" LastActivityDate="2018-08-06T06:09:03.600" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13195" PostTypeId="2" ParentId="13193" CreationDate="2018-08-06T06:25:12.387" Score="1" Body="&lt;p&gt;I think you can achieve what you need with TDS &lt;code&gt;FieldLevelDeploy&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general it allows you to deploy only selected fields of your items without overriding any other values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create a new TDS project with the whole content tree, mark the items as &lt;code&gt;Deploy Once&lt;/code&gt; and select &lt;code&gt;FieldLevelDeploy&lt;/code&gt; option with &lt;code&gt;Security&lt;/code&gt; field only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about it:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.hhogdev.com/help/tds/fieldleveldeploy&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.hhogdev.com/help/tds/fieldleveldeploy&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.seanholmesby.com/team-development-for-sitecore-tds-part-2-advanced-usage/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.seanholmesby.com/team-development-for-sitecore-tds-part-2-advanced-usage/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://www.seanholmesby.com/team-development-for-sitecore-field-level-deployments/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.seanholmesby.com/team-development-for-sitecore-field-level-deployments/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-08-06T06:25:12.387" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13196" PostTypeId="1" AcceptedAnswerId="13198" CreationDate="2018-08-06T08:46:30.093" Score="5" ViewCount="1663" Body="&lt;p&gt;I am new to Sitecore commerce Minions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wanted to create a Minion which runs for every 30 minutes to update the Product values. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting the Products properties from external source. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What changes do I need to make ?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="2153" LastEditDate="2018-08-09T17:32:14.813" LastActivityDate="2018-08-09T17:32:14.813" Title="How to implement a Sitecore Commerce Minion" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13197" PostTypeId="2" ParentId="13175" CreationDate="2018-08-06T08:55:04.807" Score="1" Body="&lt;p&gt;This behavior is more related to the on-going update of the Sitecore server-side API performed by our team. It's not expected behavior, so we are working to get it fixed as soon as possible. Please watch the further status here: &lt;a href=&quot;https://status.cloud.sitecore.net/maintenance/b59d217b-bfed-4066-900c-0e4fba161dac&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://status.cloud.sitecore.net/maintenance/b59d217b-bfed-4066-900c-0e4fba161dac&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1320" LastActivityDate="2018-08-06T08:55:04.807" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13198" PostTypeId="2" ParentId="13196" CreationDate="2018-08-06T08:56:15.123" Score="7" Body="&lt;p&gt;First of all you need to declare your minion on the environment definition for your minions environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore.Commerce.Engine project is the JSON file PlugIn.Habitat.CommerceMinions-1.0.0.json which is the definition for the habitat minions environment. This is the active environment on the commerce minions web site (one of 4 in IIS installed as part of commerce).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all you need to declare your minion in a json :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;$type&quot;: &quot;Sitecore.Commerce.Core.MinionPolicy, Sitecore.Commerce.Core&quot;,&#xA;    &quot;WakeupInterval&quot;: &quot;00:05:00&quot;,&#xA;    &quot;ListToWatch&quot;: &quot;&quot;,&#xA;    &quot;FullyQualifiedName&quot;: &quot;Plugin.MyProject.Import.ImportMinion, Plugin.MyProject.Import&quot;,&#xA;    &quot;ItemsPerBatch&quot;: 10,&#xA;    &quot;SleepBetweenBatches&quot;: 500&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to declare your class which inherits from &lt;strong&gt;Minion&lt;/strong&gt; class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; namespace Plugin.MyProject.Import&#xA;{&#xA;    public class ImportMinion : Minion&#xA;    {&#xA;        protected IImportMinionMinionPipeline MinionPipeline { get; set; }&#xA;&#xA;        public override void Initialize(IServiceProvider serviceProvider, ILogger logger, MinionPolicy policy, CommerceEnvironment environment, CommerceContext globalContext)&#xA;        {&#xA;            base.Initialize(serviceProvider, logger, policy, environment, globalContext);&#xA;            MinionPipeline = serviceProvider.GetService&amp;lt;IImportMinionMinionPipeline&amp;gt;();&#xA;        }&#xA;&#xA;        public override async Task&amp;lt;MinionRunResultsModel&amp;gt; Run()&#xA;        {&#xA;            this.Logger.LogInformation(&quot;ImportMinion running&quot;);&#xA;&#xA;            var commerceContext = new CommerceContext(this.Logger, this.MinionContext.TelemetryClient, null);&#xA;            commerceContext.Environment = this.Environment;&#xA;&#xA;            CommercePipelineExecutionContextOptions executionContextOptions = new CommercePipelineExecutionContextOptions(commerceContext, null, null, null, null, null);&#xA;&#xA;            MinionRunResultsModel res = await this.MinionPipeline.Run(new MinionRunResultsModel(), executionContextOptions);&#xA;&#xA;            return new MinionRunResultsModel();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Because of the changes in the json files you need to bootrastrap your commerce engine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have  a look for more informations on next links : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.ryanbailey.co.nz/2018/03/sitecore-experience-commerce-creating.html&quot; rel=&quot;noreferrer&quot;&gt;https://blog.ryanbailey.co.nz/2018/03/sitecore-experience-commerce-creating.html&lt;/a&gt; &#xA;&lt;a href=&quot;https://blog.ryanbailey.co.nz/2018/05/sitecore-experience-commerce-minion-to.html&quot; rel=&quot;noreferrer&quot;&gt;https://blog.ryanbailey.co.nz/2018/05/sitecore-experience-commerce-minion-to.html&lt;/a&gt;&#xA;&lt;a href=&quot;https://github.com/commerceengineplugins/sampleminion&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/commerceengineplugins/sampleminion&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-06T08:56:15.123" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13199" PostTypeId="2" ParentId="13065" CreationDate="2018-08-06T09:16:29.117" Score="1" Body="&lt;p&gt;It's working quite fine on 1.7.1. Take a look below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bpZd5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bpZd5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And just for the record, this is my Rendering Variant for Page Content:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fAfVU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fAfVU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-08-06T09:16:29.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13200" PostTypeId="1" AcceptedAnswerId="13423" CreationDate="2018-08-06T11:49:39.900" Score="7" ViewCount="535" Body="&lt;p&gt;We have a Sitecore commerce site that sells tickets. There is a requirement related to promotions which is as follows:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If customer purchases tickets for a future event (&lt;em&gt;Jan 1, 2019&lt;/em&gt; to &lt;em&gt;Jan&#xA;  3, 2019&lt;/em&gt;), anytime this month (&lt;em&gt;Aug 1, 2018&lt;/em&gt; to &lt;em&gt;Aug 31, 2018&lt;/em&gt;), they will  get a discount.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To summarize, there are two types of dates to be validated here&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1a. Promo usability Start Date (Aug 1, 2018)&#xA;1b. Promo usability End Date (Aug 31, 2018)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2a. Future Event Start Date (Jan 1, 2019)&#xA;2b. Future Event End Date (Jan 3, 2019)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When creating the promotion in the &lt;code&gt;Pricing &amp;amp; Promotions Manager&lt;/code&gt;, out of the box there are &lt;em&gt;Valid From&lt;/em&gt; &amp;amp; &lt;em&gt;Valid To&lt;/em&gt; date fields, &lt;strong&gt;which serve for 1a &amp;amp; 1b&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following this &lt;a href=&quot;http://blog.alpha-solutions.us/2018/01/how-to-create-a-custom-condition-in-sitecore-commerce-8-2-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt;, I have managed to create a new condition like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.Commerce.Promotions.Engine.Conditions&#xA;{&#xA;    using Microsoft.ApplicationBlocks.Data;&#xA;    using Sitecore.Commerce.Plugin.Carts;&#xA;    using Sitecore.Framework.Rules;&#xA;    using System;&#xA;    using System.Data;&#xA;    using System.IO;&#xA;    using System.Web;&#xA;    using System.Web.Configuration;&#xA;&#xA;    [EntityIdentifier(&quot;Future Event Dates&quot;)]&#xA;    public class FutureEventDatesCondition : ICartsCondition, ICondition, IMappableRuleEntity&#xA;    {&#xA;        public IRuleValue&amp;lt;string&amp;gt; FutureEventStartDate { get; set; }&#xA;        public IRuleValue&amp;lt;string&amp;gt; FutureEventEndDate { get; set; }&#xA;&#xA;        public bool Evaluate(IRuleExecutionContext context)&#xA;        {&#xA;            bool isPromoApplicable = false;&#xA;            DateTime startDate = Convert.ToDateTime(FutureEventStartDate.Yield(context));&#xA;            DateTime endDate = Convert.ToDateTime(FutureEventEndDate.Yield(context));&#xA;            DateTime checkinDate;&#xA;            DateTime checkoutDate;&#xA;            GetCartDates(out checkinDate, out checkoutDate);&#xA;&#xA;            isPromoApplicable = (checkinDate != DateTime.MinValue &amp;amp;&amp;amp; checkoutDate != DateTime.MinValue &amp;amp;&amp;amp;&#xA;                startDate &amp;lt;= checkinDate &amp;amp;&amp;amp; checkinDate &amp;lt;= endDate &amp;amp;&amp;amp;&#xA;                startDate &amp;lt;= checkoutDate &amp;amp;&amp;amp; checkoutDate &amp;lt;= endDate);&#xA;            return isPromoApplicable;&#xA;        }&#xA;&#xA;        private void GetCartDates(out DateTime checkinDate, out DateTime checkoutDate)&#xA;        {&#xA;            checkinDate = DateTime.MinValue;&#xA;            checkoutDate = DateTime.MinValue;&#xA;&#xA;            try&#xA;            {&#xA;                string sessionID = HttpContext.Current.Session.SessionID;&#xA;&#xA;                if (!string.IsNullOrEmpty(sessionID))&#xA;                {&#xA;                    string connectionstring = Convert.ToString(WebConfigurationManager.AppSettings[&quot;DH1DbCon&quot;]);&#xA;                    string query = &quot;SELECT * FROM tbl_CartDates WHERE sessionId = &quot; + HttpContext.Current.Session.SessionID;&#xA;                    DataTable dt = SqlHelper.ExecuteDataset(connectionstring, CommandType.Text, query)?.Tables[0];&#xA;&#xA;                    if (dt != null &amp;amp;&amp;amp; dt.Rows.Count &amp;gt; 0)&#xA;                    {&#xA;                        string startDate = Convert.ToString(dt.Rows[0][&quot;checkinDate&quot;]);&#xA;                        string endDate = Convert.ToString(dt.Rows[0][&quot;checkoutDate&quot;]);&#xA;&#xA;                        checkinDate = !string.IsNullOrEmpty(startDate) ? Convert.ToDateTime(startDate) : DateTime.MinValue;&#xA;                        checkoutDate = !string.IsNullOrEmpty(endDate) ? Convert.ToDateTime(endDate) : DateTime.MinValue;&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        throw new Exception(&quot;CART DATES NOT FOUND&quot;);&#xA;                    }&#xA;                }&#xA;                else&#xA;                {&#xA;                      throw new Exception(&quot;NO SESSION ID&quot;);       &#xA;                }&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;               throw ex;&#xA;            }&#xA;        }  &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After selecting it and clicking on OK, it will popup another dialog with two textboxes - &lt;code&gt;FutureEventStartDate&lt;/code&gt; &amp;amp; &lt;code&gt;FutureEventEndDate&lt;/code&gt;. I set the dates to Jan 01, 2019 &amp;amp; Jan 03, 2019.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On booking page, when I apply promo code, there is an error - &quot;A pipeline error occurred&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the commerce engine error logs, these were recorded: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR onError:System.Exception: Error processing block:&#xA;  Rules.blocks.runruleset ---&gt; System.AggregateException: One or more&#xA;  errors occurred. ---&gt; Sitecore.Framework.Rules.RuleExecutionException:&#xA;  An error occured evaluating the primary condition of the rule.  See&#xA;  the inner exception for details. ---&gt; System.NullReferenceException:&#xA;  Object reference not set to an instance of an object.    at&#xA;  Sitecore.Feature.Commerce.Promotions.Engine.Conditions.FutureEventDatesCondition.GetCartDates(DateTime&amp;amp;&#xA;  checkinDate, DateTime&amp;amp; checkoutDate)    at&#xA;  Sitecore.Feature.Commerce.Promotions.Engine.Conditions.FutureEventDatesCondition.Evaluate(IRuleExecutionContext&#xA;  context)    at&#xA;  Sitecore.Framework.Rules.BinaryCondition.Evaluate(IRuleExecutionContext&#xA;  context)    at Sitecore.Framework.Rules.RuleEngine.Run(IRule rule,&#xA;  IFactProvider factProvider)    --- End of inner exception stack trace&#xA;  ---    --- End of inner exception stack trace ---    --- End of inner exception stack trace ---    at&#xA;  Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Framework.Pipelines.BasePipelineBlockRunner.d__3&lt;code&gt;1.MoveNext()&#xA;  37 19:59:19 ERROR CtxMsg.Error.PipelineError: Text=A pipeline error&#xA;  occurred. (c611483f291f41ada2f720559ab05276) 35 19:59:19 ERROR&#xA;  onError:System.Exception: Error processing block:&#xA;  Promotions.block.applypromotions ---&amp;gt; System.ArgumentNullException:&#xA;  Value cannot be null. Parameter name: source    at&#xA;  System.Linq.Enumerable.ToList[TSource](IEnumerable&lt;/code&gt;1 source)    at&#xA;  Sitecore.Commerce.Plugin.Promotions.ApplyPromotionsBlock.d__3.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.d__2.MoveNext()&#xA;  --- End of inner exception stack trace ---    at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Framework.Pipelines.BasePipelineBlockRunner.d__3`1.MoveNext()&#xA;  35 19:59:19 ERROR CtxMsg.Error.PipelineError: Text=A pipeline error&#xA;  occurred. (c611483f291f41ada2f720559ab05276)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, there is no documentation I could find on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore Commerce 8.2.1 with sc8.2u5 &lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-08-17T06:15:57.140" LastActivityDate="2018-08-20T14:03:30.080" Title="How to add a new condition for a Sitecore Commerce promotion" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13202" PostTypeId="1" CreationDate="2018-08-06T13:41:44.640" Score="1" ViewCount="121" Body="&lt;p&gt;On a long running site a certain user always gets an HTTP 500 when opening the Experience Editor in Sitecore 8.1. This also persists if I create a new user with the same roles, leading me to believe that it is something in the roles. Unfortunately, I have not been able to figure out what's going on. The browser just gives me an HTTP 500 error, and the log contains barely any information. Is there anyone with any ideas that could solve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The log message says:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;4040 14:52:58 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at Sitecore.Mvc.Controllers.SitecoreActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.&amp;lt;&amp;gt;c__DisplayClass22.&amp;lt;BeginExecuteCore&amp;gt;b__1e()&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.&amp;lt;.cctor&amp;gt;b__0(IAsyncResult asyncResult, Action action)&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.RenderingLayoutAreaResolveStrategy.GetLayoutAreaValue(RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ChainedAreaResolveStrategy.Resolve(RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ResolveArea.ResolveAreaInfo(RenderRenderingArgs args, IRouteData routeData)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ResolveArea.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Sitecore roles this user has are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Advanced Publishing&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Publishing&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Users&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Social Authoring&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Analytics Testing&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Analytics Personalization&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Authoring&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Designing&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Designer&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Security&lt;/li&gt;&#xA;&lt;li&gt;sitecore\Sitecore Client Account Managing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Besides this there are about 110 other roles that we have defined internally which restrict access to certain parts of the tree under &lt;code&gt;Content&lt;/code&gt;, and one role that denies all access to &lt;code&gt;Layout&lt;/code&gt;, 'Social', 'System' and 'Templates`.&lt;/p&gt;&#xA;" OwnerUserId="4088" LastEditorUserId="4088" LastEditDate="2018-08-06T14:10:20.110" LastActivityDate="2018-08-06T14:10:20.110" Title="Getting a HTTP 500 upon opening the Experience Editor in Sitecore 8.1" Tags="|sitecore-client|experience-editor|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13203" PostTypeId="1" AcceptedAnswerId="13204" CreationDate="2018-08-06T13:48:06.413" Score="2" ViewCount="828" Body="&lt;p&gt;I have a scenario where the client has asked us to store one of the CSS files in the media library so they can make changes to colors without coming back to the developers. I've gotten this working with the media library and using the guid in the CSS call on the page (in case someone moves the item accidentally).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'd like to also do is make it so when the item is saved, it automatically creates a new version, so there's a rollback version in case someone makes a mistake. I've been reading that there's some way to make this happen by default in Sitecore if you're not an admin and you have a workflow on the item, but I tried that and didn't see the version increment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there's no out-of-the-box way of doing it, I'm guessing using the item:saved pipeline would be the way to go, but I'm open to other suggestions if folks have run into a similar scenario.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-08-06T15:57:47.153" Title="Force a new item version on save" Tags="|versions|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13204" PostTypeId="2" ParentId="13203" CreationDate="2018-08-06T15:47:06.937" Score="3" Body="&lt;p&gt;From what I recall, you need a few things in place:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Non-admin users (admins will bypass workflow)&lt;/li&gt;&#xA;&lt;li&gt;Two-step workflow (draft &amp;amp; final) that automatically approves on the save. This is the OOTB 'new version on save' approach.&lt;/li&gt;&#xA;&lt;li&gt;Versioned media. You can't version with unversioned media.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;However, a warning on auto-versioning. If you get a lot of edits this is going to create a lot of versions with every single hit of the 'save' button. This can lead to some performance issues so you'll want to plan for some form of automation for cleaning up versions on the item.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-08-06T15:47:06.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13205" PostTypeId="2" ParentId="13203" CreationDate="2018-08-06T15:57:47.153" Score="6" Body="&lt;p&gt;Media items are created as &lt;code&gt;Unversioned&lt;/code&gt; by default. Make sure that you have created a media item that uses the Versioned media template, e.g. &lt;code&gt;/sitecore/templates/System/Media/Versioned/File&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you upload the file, select the &quot;Upload Files (Advanced)&quot; option:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wtnjU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wtnjU.png&quot; alt=&quot;Upload image&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And then select the &quot;Make uploaded media items versionable&quot; option:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1nULW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1nULW.png&quot; alt=&quot;Upload properties&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also config setting to &lt;strong&gt;always&lt;/strong&gt; created media items as versioned, but this might be excessive.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.UploadAsVersionableByDefault&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to set the workflow on the versioned media template, setting it on &lt;code&gt;/sitecore/templates/System/Media/Versioned/File/__Standard Values&lt;/code&gt; will ensure the other versioned media templates inherit the workflow settings.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-08-06T15:57:47.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13206" PostTypeId="1" AcceptedAnswerId="13208" CreationDate="2018-08-06T17:56:52.990" Score="1" ViewCount="1582" Body="&lt;p&gt;Sitecore 8.1 Revision 160519&#xA;Glass Mapper 4.5.0.4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a link field in Sitecore set to an internal link. If I just render the link on a page (link.GetUrl()) it produces the correct relative Url. But when I render the link using Glass Mapper it gives me a link to www.google.com.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (BeginRenderLink(l =&amp;gt; button.Destination, new { @class = &quot;home-banner-rotator__btn&quot; }, isEditable: true))&#xA;{&#xA;    @button.LinkTitle&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Produces:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;http://www.google.com&quot; class=&quot;home-banner-rotator__btn&quot; tabindex=&quot;-1&quot;&amp;gt;View Restaurants&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have confirmed that all items are published appropriately. I can call the item with the ItemService API and get the correct results:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://mywebsite.com/sitecore/api/ssc/item/C36466E3-82D9-46F8-BC35-B4162BE1C94F?database=web&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mywebsite.com/sitecore/api/ssc/item/C36466E3-82D9-46F8-BC35-B4162BE1C94F?database=web&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;ItemID&quot;:&quot;c36466e3-82d9-46f8-bc35-b4162be1c94f&quot;,&#xA;    &quot;ItemName&quot;:&quot;Dining&quot;,&#xA;    &quot;ItemPath&quot;:&quot;/sitecore/content/MySite/Content/Home Page Banner Content/Home Page Banner CTA Buttons/Dining&quot;,&#xA;    &quot;ParentID&quot;:&quot;b67ae0ec-1371-4d5f-879d-13dd47d38677&quot;,&#xA;    &quot;TemplateID&quot;:&quot;fd394012-6054-4d52-a18a-886ec2bb631c&quot;,&#xA;    &quot;TemplateName&quot;:&quot;MySite Home Page Banner CTA Button&quot;,  &#xA;    &quot;CloneSource&quot;:null,&#xA;    &quot;ItemLanguage&quot;:&quot;en&quot;,&#xA;    &quot;ItemVersion&quot;:&quot;1&quot;,&#xA;    &quot;DisplayName&quot;:&quot;Dining&quot;,&#xA;    &quot;HasChildren&quot;:&quot;False&quot;,&#xA;    &quot;ItemIcon&quot;:&quot;/temp/iconcache/applications/32x32/document.png&quot;,&#xA;    &quot;ItemMedialUrl&quot;:&quot;/temp/iconcache/applications/48x48/document.png&quot;,&#xA;    &quot;ItemUrl&quot;:&quot;~/link.aspx?_id=C36466E382D946F8BC35B4162BE1C94F&amp;amp;amp;_z=z&quot;,&#xA;    &quot;LinkTitle&quot;:&quot;View Restaurants&quot;,&#xA;    &quot;Destination&quot;:&quot;&amp;lt;link text=\&quot;Dining\&quot; linktype=\&quot;internal\&quot; class=\&quot;\&quot; title=\&quot;Dining\&quot; target=\&quot;\&quot; querystring=\&quot;\&quot; id=\&quot;{30DDCC76-4B18-4AFA-9242-90F248254251}\&quot; /&amp;gt;&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Never the less, the link is routinely rendered to www.google.com no matter what.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2018-09-05T23:00:35.083" Title="Glass Mapper BeginRenderLink produces link to www.google.com" Tags="|glass-mapper|" AnswerCount="1" CommentCount="1" ClosedDate="2018-09-06T08:10:19.837" ContentLicense="CC BY-SA 4.0" />
  <row Id="13207" PostTypeId="1" AcceptedAnswerId="13218" CreationDate="2018-08-06T19:31:05.137" Score="0" ViewCount="612" Body="&lt;p&gt;I want to fetch the data from an external API and show it for  my Catalog items. The API basically contains the details of my sellable items like product price, name and other details which properties I have already defined and added in Composer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should be the approach and how to do it?&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="2056" LastEditDate="2018-08-07T06:27:26.753" LastActivityDate="2018-08-10T08:31:47.747" Title="How to integrate an external API with Catalog in Sitecore Commerce 9.0.2" Tags="|sitecore-commerce|sitecore-api|commerce-catalog|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13208" PostTypeId="2" ParentId="13206" CreationDate="2018-08-06T21:49:49.347" Score="3" Body="&lt;p&gt;This was an issue of scope. The BeginRenderLink was inside a forloop so Glass misinterpreted what Item to use. It was using some item that had www.google.com as the url address. I couldnt figure out what item. To fix, I explicitly stated the item in my BeginRenderLink Html helper:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Html.Glass().BeginRenderLink(MyExplicityItemHere,m =&amp;gt; m.Destination,etc...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="341" LastActivityDate="2018-08-06T21:49:49.347" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13209" PostTypeId="1" AcceptedAnswerId="13210" CreationDate="2018-08-06T22:25:16.150" Score="0" ViewCount="90" Body="&lt;p&gt;We currently have our Solr Cloud with zookeeper and for front with load balance (Solr Prd1 and Prd2). CM is connecting to Solr Prd1 (leader) and CDs are connecting to Solr load balance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does it matter for CM to connect to Solr leader or follower?&lt;/li&gt;&#xA;&lt;li&gt;Whichever Solr server that CM is connected to, the Solr server CPU is gearing up high almost 80% all the time. What could be the issue? Is this issue related to index strategy or server resource needs to be scale?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3179" LastActivityDate="2018-08-07T00:27:04.100" Title="Does it matter Sitecore CM connect to Solr Cloud leader vs follower?" Tags="|solr|content-search|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13210" PostTypeId="2" ParentId="13209" CreationDate="2018-08-07T00:19:11.923" Score="2" Body="&lt;p&gt;My understanding is that any server in an  Zookeeper Ensemble (3 or more Zookeeper instances used to form a SolrCloud) can be elected a leader or a follower at any time if the current leader disconnects from the Ensemble.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I’m aware all nodes are kept up to date and updates to the leader are asynchronously made to the followers. Therefore this shouldn’t pose too much of an issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With regard to the performance issue, there are a number of things that can affect this. Solr needs a fair bit of RAM allocated to it so check this but also look at your index update strategy, how often rebuilds are being triggered (check the Sitecore logs) and also how many items you have in you index. You could look to shard your index if it’s very large or to have index updates only run on the leader but queries run on the followers. It depends on a number of things though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a really great blog series on setting up solr cloud and part 4 includes tuning things like the JVM memory: &lt;a href=&quot;http://www.chrissulham.com/sitecore-on-solr-cloud-part-4/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.chrissulham.com/sitecore-on-solr-cloud-part-4/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-08-07T00:27:04.100" LastActivityDate="2018-08-07T00:27:04.100" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13211" PostTypeId="1" CreationDate="2018-08-07T01:33:34.550" Score="2" ViewCount="594" Body="&lt;p&gt;I had implemented a &lt;code&gt;item:saved&lt;/code&gt; event handler that updates the &lt;code&gt;MediaStream&lt;/code&gt; of a &lt;code&gt;MediaItem&lt;/code&gt;. The code is roughly like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public void OnItemSaved(object sender, EventArgs args)&#xA;  {&#xA;        SitecoreEventArgs evtArgs = args as SitecoreEventArgs;&#xA;        if(evtArgs == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        try&#xA;        {&#xA;            Item item = Event.ExtractParameter&amp;lt;Item&amp;gt;(evtArgs, 0);&#xA;            if ((item.Database != null)&#xA;                &amp;amp;&amp;amp; item.Database.Name.ToLower().Equals(&quot;master&quot;)&#xA;                &amp;amp;&amp;amp; item.Paths.IsMediaItem)&#xA;            {&#xA;                Media media = MediaManager.GetMedia(item);&#xA;                if (media != null)&#xA;                {&#xA;                    MediaStream mediaStream = media.GetStream();&#xA;                    if (StreamProcessor.SupportedExtensions.Contains(media.Extension)&#xA;                        &amp;amp;&amp;amp; (mediaStream != null))&#xA;                    {&#xA;                        Log.Info(string.Format(&quot;Begin media stream processing for {0} ({1}, {2})&quot;,&#xA;                                               item.Name,&#xA;                                               item.ID,&#xA;                                               item.Paths.FullPath&#xA;                                               )&#xA;                                 , this);&#xA;&#xA;                        using (EventDisabler evtDisabler = new EventDisabler())&#xA;                        {&#xA;                            Stream oriStream = mediaStream.Stream;&#xA;                            MemoryStream procStream = oriStream.Copy(false);&#xA;                            Stream _newStream = StreamProcessor.DoSomething(procStream);&#xA;                            MediaStream newStream = new MediaStream(_newStream, media.Extension, item);&#xA;                            media.SetStream(newStream);&#xA;                        }&#xA;&#xA;                        Log.Info(string.Format(&quot;End media stream processing for {0} ({1}, {2})&quot;,&#xA;                                               item.Name,&#xA;                                               item.ID,&#xA;                                               item.Paths.FullPath&#xA;                                               )&#xA;                                 , this);&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            //Fail safe, should not fails the entire Content Editor or Codes&#xA;            Log.Error(&quot;Unable to process media stream due to general error.&quot;, ex, this);&#xA;        }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My problem is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;It seems does not play nicely with Sitecore event in overall (it called numerous times including on lock changes, last updates, etc). How should i detect that the changes is only the &lt;code&gt;MediaStream&lt;/code&gt;?&#xA;Currently i can probe lock changes by checking the &lt;code&gt;ItemChanges&lt;/code&gt; from &lt;code&gt;SitecoreEventArgs.Parameters&lt;/code&gt;. However the item changes seems did not say anything for &lt;code&gt;MediaStream&lt;/code&gt; changes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private bool _IsLockChange(SitecoreEventArgs evtArgs)&#xA;{&#xA;    IEnumerable&amp;lt;object&amp;gt; parameters = evtArgs.Parameters;&#xA;    object itemChangesObj = parameters.FirstOrDefault(x =&amp;gt; x is ItemChanges);&#xA;&#xA;    if (itemChangesObj != null)&#xA;    {&#xA;        ItemChanges itemChanges = (ItemChanges)itemChangesObj;&#xA;        if (itemChanges.FieldChanges.Contains(FieldIDs.Lock))&#xA;        {&#xA;            //Skip&#xA;            return true;&#xA;        }&#xA;    }&#xA;&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the &lt;code&gt;SetStream&lt;/code&gt; is called several times (due lock changes for instance), the media attached into the item will be lost on the backend UI.&#xA;It also causes a custom data provider is not firing properly.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Is it possible the &lt;code&gt;EventDisabler&lt;/code&gt; is the cause of the issue above?&#xA;Though I believe it should not, the custom data provider developer points to it.&lt;/li&gt;&#xA;&lt;li&gt;Is it safe to update MediaStream in item:saved event?&#xA;Looking at the issue I found above, it is apparent that I need to find an alternative.&lt;/li&gt;&#xA;&lt;li&gt;What is the alternative to modify &lt;code&gt;MediaStream&lt;/code&gt; of a &lt;code&gt;MediaItem&lt;/code&gt; to ensure that every single file is processed through my custom method?&#xA;I'm checking &lt;code&gt;UiUpload&lt;/code&gt; processor to no luck as &lt;code&gt;HttpFileCollection&lt;/code&gt; only has read-only streams.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1825" LastActivityDate="2018-08-09T08:36:53.450" Title="Updating Media Item Stream on Item:Saved Event" Tags="|media-library|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13212" PostTypeId="1" CreationDate="2018-08-07T03:18:29.127" Score="1" ViewCount="536" Body="&lt;p&gt;I could see that sitecore express migration tool supports to migrate from previous old versions to sitecore 9 initial version. If i have to upgrade to sitecore 9 update 2, what steps need to follow?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Do i have to upgrade to sitecore 9 initial version then later upgrade from sitecore 9 (initial version) to sitecore 9 update 2.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;During migration what are the main areas to be focussed when upgrading from 7.2 to sitecore 9.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If anyone has done these kind of migrations, your inputs will be really useful. &lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2018-08-07T12:16:42.303" Title="Does Sitecore express migration tool support to upgrade from sitecore 7.2 to sitecore 9 update 2" Tags="|upgrade|express-migration-tool|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13213" PostTypeId="2" ParentId="13212" CreationDate="2018-08-07T04:24:37.250" Score="1" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore Migration Tool supports migration just to initial release of 9. &#xA;You can find the compatibility table of the module here: &lt;a href=&quot;https://kb.sitecore.net/articles/400952&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/400952&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To upgrade from 9.0 to 9.0.2 you need to follow &lt;a href=&quot;https://dev.sitecore.net/~/media/A24AE0FB3EC947ACB8F6FCCFBA0CD8C3.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Upgrade guide&lt;/a&gt; from &lt;strong&gt;9.0.2&lt;/strong&gt; release.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For the second point is difficult to give your the right answer. &#xA; You need to verify all modules and custom code to be compatible with Sitecore 9 after upgrade. &#xA; On 7.2 xDB doesn't exist, I guess you don't want to upgrade old DMS data to xDB. &#xA; If you are using Dynamics Placeholder on 7.2, you have to change your renderings (long story).  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-07T04:24:37.250" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13214" PostTypeId="1" CreationDate="2018-08-07T04:53:56.117" Score="0" ViewCount="449" Body="&lt;p&gt;I have just started to use Sitecore a few months ago and I would like to change the size of the popup dialog in the Experience Editor as shown below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NbFpq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NbFpq.png&quot; alt=&quot;Image of Sitecore Dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How and where can I change the size of this popup dialog?&#xA;I assumed that it might be somewhere under &lt;em&gt;\Website\sitecore\shell\Controls\Dialog&lt;/em&gt;s but the xml files under this folder does not seem to be the source of this popup dialog.&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="1049" LastEditDate="2018-08-07T05:13:13.813" LastActivityDate="2018-08-07T19:21:29.583" Title="How can I adjust the size of popup dialog in Experience Editor?" Tags="|sitecore-client|experience-editor|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13215" PostTypeId="1" AcceptedAnswerId="13216" CreationDate="2018-08-07T05:15:34.023" Score="0" ViewCount="482" Body="&lt;p&gt;My motive behind asking this is, trying to understand the roles and responsibilities of each databases and differentiate them from the other database(Sitecore Experience Platform).&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-08-08T06:14:35.190" Title="What are the databases Installed by Sitecore Experience Commerce 9.0.2?" Tags="|sitecore-commerce|sql-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13216" PostTypeId="2" ParentId="13215" CreationDate="2018-08-07T05:25:39.303" Score="3" Body="&lt;p&gt;Sitecore Commerce 9 has 2 databases:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;Global database&lt;/strong&gt; – stores all the global configuration data (policies and environments) that govern how the engine roles function.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;Shared Environments database&lt;/strong&gt; – the main data store for a commerce deployment. It stores all of the commerce data used on site, including catalog data, customer records, pricing information, and any promotions you have configured, along with the generic entities and lists that power the functionality created in the various installed plugins.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On bellow picture you can see all databases,roles and indexes which are used in Commerce 9. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/hdTdu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hdTdu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-08-08T06:14:35.190" LastActivityDate="2018-08-08T06:14:35.190" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13217" PostTypeId="1" CreationDate="2018-08-07T06:15:47.047" Score="4" ViewCount="756" Body="&lt;p&gt;I have created A Sitecore Scheduled Task to send email. I have to read some settings from a Sitecore Dictionary but receiving only key not value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After debugging I have found that &lt;code&gt;Sitecore.Context&lt;/code&gt; is null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could any one suggest how I can get dictionary values if have no &lt;code&gt;Sitecore.Context&lt;/code&gt; on controller action?&lt;/p&gt;&#xA;" OwnerUserId="3143" LastEditorUserId="73" LastEditDate="2018-08-07T13:04:19.107" LastActivityDate="2019-10-09T04:04:00.530" Title="Unable to get Dictionary Item value using sitecore Scheduler event" Tags="|sitecore-api|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13218" PostTypeId="2" ParentId="13207" CreationDate="2018-08-07T06:26:37.607" Score="1" Body="&lt;p&gt;I would see three approaches that you can use:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Dynamically calling external API&lt;/strong&gt; when there is need to have information about product like price, name and other details. Categories will be stored in Commerce as usual. Products will be taken from external API based on category id. When somebody hits the &quot;Add to cart&quot; button or &quot;+-&quot; quantity buttons you would set price, name and other fields for that particular cart line and it's components or you would push data as custom plugin / component if you need extra details. Then the price is &quot;frozen&quot; also for order once cart is ordered. Best to have external API lightweight like REST API or GraphQL. We implemented one commerce solution with similar approach. The biggest problem here is the reliability of external API. If that one is more down than working then second option would be better. Another issue with this approach is that you cannot do nice personalization or product promotion as data are not in Commerce dbs.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Importing data from external API&lt;/strong&gt; regularly e.g. night job. Build minion that would import all products and information about them throughout the night. With 100k+ products I think it shouldn't take long if you do it in batches. External API should support batch querying also for this. This is more reliable solution as it does not depend on external API so heavy and the load is more or less on commerce indexes. You can also do personalization and promotions much easier with this approach. See &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13196/how-to-implement-a-sitecore-commerce-minion&quot;&gt;How to implement a Sitecore Commerce Minion&lt;/a&gt; for more information.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Updating data from external API&lt;/strong&gt; - This is &quot;just&quot; a small tweak to second option. You are in this case only updating data in Commerce Catalog with a small minion. You need to have some conditions about existing products so you can update / delete them if needed / not needed anymore. Best would be that External API has some special request that you send to it and it will respond with changes made in x hours / days. You then only process those rows / entries. You don't need to go through the whole catalog...  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-08-10T08:31:47.747" LastActivityDate="2018-08-10T08:31:47.747" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13219" PostTypeId="1" AcceptedAnswerId="13220" CreationDate="2018-08-07T06:32:34.183" Score="2" ViewCount="888" Body="&lt;p&gt;I am trying to setup my Habitat Home Commerce solution (Sitecore Experience Commerce  9.0.2) and as a step for it I am trying to install the package &lt;code&gt;Sitecore Provider for Data Exchange Framework 2.0.1&lt;/code&gt; but received the below error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load file or assembly 'Sitecore.DataExchange,&#xA;  Version=2.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its&#xA;  dependencies. The system cannot find the file specified.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/v2Aox.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/v2Aox.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Content/tree/upgrade/9.0.2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Content/tree/upgrade/9.0.2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="9" LastEditDate="2018-08-14T13:08:55.063" LastActivityDate="2018-08-14T13:08:55.063" Title="Could not load file or assembly 'Sitecore.DataExchange' while installing Sitecore Provider for Data Exchange Framework 2.0.1 Package" Tags="|sitecore-commerce|packages|habitathome|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13220" PostTypeId="2" ParentId="13219" CreationDate="2018-08-07T06:37:19.977" Score="3" Body="&lt;p&gt;This error appear because you didn't install DataExchangeFramework module. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the installation wizzard you will see next message: &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore Provider for Data Exchange Framework 2.0.1 rev. 180108&lt;/h2&gt;&#xA;&#xA;&lt;h2&gt;Date: 08-Jan-2018&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Before you install this package you must ensure the following &#xA;packages are installed. If these packages are not installed, &#xA;the installation will fail.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;- Sitecore Data Exchange Framework&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore Provider for Data Exchange Framework 2.0.1 runs on:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;-  Sitecore Experience Platform 9.0.1 (and higher)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore Provider for Data Exchange Framework 2.0.1 &#xA;has been tested on:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;-  Sitecore Experience Platform 9.0.1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore® is a registered trademark. All other brand and&#xA;product names are the property of their respective holders.&#xA;The contents of this document are the property of Sitecore.&#xA;Copyright © 2001-2017 Sitecore. All rights reserved.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-07T06:37:19.977" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13221" PostTypeId="2" ParentId="13219" CreationDate="2018-08-07T06:47:02.920" Score="3" Body="&lt;p&gt;You need to install packages in correct order:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/%7E/media/C50B044E45FE4C4DA9E675CBEED3AA09.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Data Exchange Framework 2.0.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/%7E/media/D57A1FBB98ED4125B78D740E5B5F1772.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Provider for Data Exchange Framework 2.0.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/%7E/media/F243222B9A95497BAB6B591D39560E95.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;SQL Provider for Data Exchange Framework 2.0.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/%7E/media/C61F1265BB494CAFA4229FC9FC704AB0.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;xConnect Provider for Data Exchange Framework 2.0.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/%7E/media/819FB4C75CC74A8C984C343BEF7B53F1.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Microsoft Dynamics 365 for Sales Provider for Data Exchange Framework 2.0.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/%7E/media/ADBAF4CC6736499EBA0EBA6A9767D825.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Connect for Microsoft Dynamics 365 for Sales 2.0.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;See Readme in &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Content/tree/upgrade/9.0.2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Content/tree/upgrade/9.0.2&lt;/a&gt; for further details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also take a look on very good guides made by Viet Hoang:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://buoctrenmay.com/2018/08/01/sitecore-xp-9-0-2-and-sxa-1-7-1-demo-habitat-home-step-by-step-setup-guide/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://buoctrenmay.com/2018/08/01/sitecore-xp-9-0-2-and-sxa-1-7-1-demo-habitat-home-step-by-step-setup-guide/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://buoctrenmay.com/2018/08/07/sitecore-xc-9-0-2-demo-habitat-home-commerce-step-by-step-setup-guide/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://buoctrenmay.com/2018/08/07/sitecore-xc-9-0-2-demo-habitat-home-commerce-step-by-step-setup-guide/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-08-07T06:59:41.550" LastActivityDate="2018-08-07T06:59:41.550" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13222" PostTypeId="1" AcceptedAnswerId="13226" CreationDate="2018-08-07T09:13:51.850" Score="2" ViewCount="816" Body="&lt;p&gt;What are the recommended specs for a developer machine running a Sitecore 9 commerce solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running a virtual machine with 4 virtual processors of 2.4 Ghz with 10 GB RAM. Sitecore XP is installed using the single server topology with Sitecore Commerce engine on top. I often find the Commerce Engine using 50-55% (over two processes) and the Solr service using 20-25% of the CPU leaving little left for the IIS worker process to manage requests to my site. Sitecore and the site are quite slow especially when I browse them, especially in the commerce business tools.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected? Is there something wrong with my setup or should I simply add more power? Normal Sitecore development (no commerce) seems to work okay on this kind of setup.&lt;/p&gt;&#xA;" OwnerUserId="2247" LastEditorUserId="731" LastEditDate="2018-12-07T19:49:47.990" LastActivityDate="2018-12-07T19:49:47.990" Title="Recommended developer machine specs for Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13223" PostTypeId="1" AcceptedAnswerId="13225" CreationDate="2018-08-07T11:05:34.917" Score="2" ViewCount="1346" Body="&lt;p&gt;I have tried installing Sitecore 9 with and also without SIFLESS but I am getting below error: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;** Handler &quot;AutowiredPageHandlerFactory&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list ** &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/On3OU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/On3OU.png&quot; alt=&quot;Error Message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Frameworks / Versions - Sitecore 9.0.2, DB - SQL 2016, Solr - 6.6.2 ( with https )&lt;/p&gt;&#xA;" OwnerUserId="706" LastEditorUserId="73" LastEditDate="2018-08-07T11:59:33.357" LastActivityDate="2018-09-04T10:37:14.250" Title="Handler &quot;AutowiredPageHandlerFactory&quot; has a bad module &quot;ManagedPipelineHandler&quot; in its module list" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="13225" PostTypeId="2" ParentId="13223" CreationDate="2018-08-07T11:29:31.117" Score="1" Body="&lt;p&gt;You need to install these prerequisites before installing Sitecore 9 through Web Platform Installer (WPI).&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Install these features through WPI:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Web Deploy 3.6 for Hosting Servers&lt;/li&gt;&#xA;&lt;li&gt;URL Rewrite 2.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Instructions:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Download and run WPI:&#xA;&lt;a href=&quot;https://www.microsoft.com/web/downloads/platform.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.microsoft.com/web/downloads/platform.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In Programs section search for &amp;quot;Web Deploy&amp;quot; and choose &amp;quot;Web Deploy 3.6 for Hosting Servers&amp;quot; from search results. Click &amp;quot;Add&amp;quot; button.&lt;/p&gt;&#xA;&lt;p&gt;In Programs section search for &amp;quot;URL Rewrite&amp;quot; and choose &amp;quot;URL Rewrite 2.1&amp;quot;.   Click &amp;quot;Add&amp;quot; button.&lt;/p&gt;&#xA;&lt;p&gt;Click &amp;quot;Install&amp;quot; in the button of the screen and &amp;quot;I Accept&amp;quot; in license window.&lt;/p&gt;&#xA;&lt;p&gt;As a side effect of installing these features is installation of over 50 prerequisite features. And you can guess that one of them is also IIS ;)&lt;/p&gt;&#xA;&lt;p&gt;More detailed prerequisities can be found in my blog post -&amp;gt; &lt;a href=&quot;http://tothecore.sk/2018/02/04/installing-sitecore-9-0-1-part-1-3-preparing-virtual-machine&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/02/04/installing-sitecore-9-0-1-part-1-3-preparing-virtual-machine&lt;/a&gt; .&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-08-07T11:29:31.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13226" PostTypeId="2" ParentId="13222" CreationDate="2018-08-07T11:42:26.373" Score="1" Body="&lt;p&gt;As Per Sitecore Recommendation: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;RAM - 16 GB&lt;/li&gt;&#xA;&lt;li&gt;HDD - 500 GB&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I started Sitecore 9 Upgrade  on my 12 GB Thinkpad but the performance was very slow and utilization level of my CPU was hitting 97%. Then I moved to 16 GB RAM and performance improved after that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why we need High end spec Machine:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore 9 comes with xConnect which is hosted as another website in IIS and &#xA;consumes Memory&lt;/li&gt;&#xA;&lt;li&gt;Solr runs as a window service in Sitecore 9 which again takes more space&lt;/li&gt;&#xA;&lt;li&gt;When Sitecore Commerce is installed then 4 websites get deployed in IIS and they run concurrently so it consumes more memory.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4087" LastEditorUserId="1671" LastEditDate="2018-08-07T14:36:48.250" LastActivityDate="2018-08-07T14:36:48.250" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13227" PostTypeId="1" CreationDate="2018-08-07T11:43:28.567" Score="1" ViewCount="873" Body="&lt;p&gt;I have installed JSS tech preview 4 and trying to import the sample react app &quot;sitecore-embedded-jss-app&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When running jss deploy app or jss deploy app -c -d , I get the message &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Forbidden - Access is denied. You do not have permission to view this directory or page using the credentials that you supplied. &#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I assume the credentials that are used are that of user &quot;sitecore/jssimport&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that a correct assumption? Elevating the rights for this user in Sitecore still has same result.&#xA;Setting full control rights for everyone to filesystem has same result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what causes this error?&lt;/p&gt;&#xA;" OwnerUserId="4093" LastEditorUserId="2153" LastEditDate="2018-08-09T17:32:22.070" LastActivityDate="2020-05-22T02:12:43.673" Title="Access denied while importing sample react app to Sitecore" Tags="|jss|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13228" PostTypeId="2" ParentId="13227" CreationDate="2018-08-07T12:00:26.890" Score="2" Body="&lt;p&gt;A few troubleshooting suggestions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Have you deployed the app config for the sample app? &lt;code&gt;jss deploy config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Have you installed the JSS server package on your Sitecore instance? &lt;a href=&quot;http://jss.sitecore.net/docs/getting-started/jss-server-install&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jss.sitecore.net/docs/getting-started/jss-server-install&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Are you able to browse without 403 error to the &lt;em&gt;host name&lt;/em&gt; of the &lt;code&gt;deployUrl&lt;/code&gt; value defined in &lt;code&gt;scjssconfig.json&lt;/code&gt;? e.g. &lt;code&gt;http://jssreactweb&lt;/code&gt;. Ensure that your app config has been deployed and host name has been bound to your Sitecore IIS site.&lt;/li&gt;&#xA;&lt;li&gt;Do you have a &lt;code&gt;deploySecret&lt;/code&gt; value defined in your &lt;code&gt;scjssconfig.json&lt;/code&gt; and a &lt;code&gt;[appname].deploysecret.config&lt;/code&gt; file in &lt;code&gt;/sitecore/config&lt;/code&gt;? Run &lt;code&gt;jss setup&lt;/code&gt; if not.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-08-07T12:00:26.890" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13229" PostTypeId="2" ParentId="13215" CreationDate="2018-08-07T12:02:38.940" Score="0" Body="&lt;p&gt;There are two Databases which gets installed  on installing Sitecore commerce 9&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Global DataBase : It Stores all the Global configuration data of Sitecore commerce Engine . Any Customization that needs to be done apart from generic commerce engine has to be done here. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Global configuration data can be Policies or environment&#xA;A policy is a group of settings that define and affect the functionality of the individual features or plugins in the commerce engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Policies are named, versionable, variable datasets that help make the engine flexible and configurable. They are stored in the policy store in the Global database and are heavily cached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An environment in Sitecore XC is a collection of policies that affect how a call to the engine is handled. In other words, when a storefront calls the commerce engine for any functionality, it identifies the appropriate environment, which in turn effects the functionality provided by the engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Shared Environment :&#xA; It stores all of the commerce data which you create in commerce like your catalog , inventory , price Card, Promotions , customer details , order Details&lt;/p&gt;&#xA;" OwnerUserId="4087" LastActivityDate="2018-08-07T12:02:38.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13230" PostTypeId="2" ParentId="13212" CreationDate="2018-08-07T12:16:42.303" Score="0" Body="&lt;p&gt;Hi i would recommend you to go through the traditional approach of migration.&#xA;As per sitecore , they suggest that &#xA;if you are upgrading from old version to new then you have to start from the next version of  the current Sitecore  version you are using and then you have to progress till the new version. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For ex. If you are using sitecore 7.2 then first you need to upgrade to 7.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that  from 7.5 to 8.0  and so on till 9.0&lt;/p&gt;&#xA;" OwnerUserId="4087" LastActivityDate="2018-08-07T12:16:42.303" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13231" PostTypeId="2" ParentId="11424" CreationDate="2018-08-07T12:43:13.993" Score="2" Body="&lt;p&gt;Followed the same steps as its described in the below link, but debug is hitting only at the LogSubmit constructor not in the Execute. any idea on how to resolve it. &#xA;I'm using sitecore 9.0.2 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; &#xA;This is how I resolved, there was an issue in the form Submit action order, my custom action(LogSubmit) is added after the redirect to Page task, So every time before my custom action, redirect to Page is triggered. &#xA;So rearranging the Action Worked for me. See the below screen shot&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Initially:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6TiaD.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6TiaD.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Fixed:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lL52M.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lL52M.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2957" LastEditorUserId="2957" LastEditDate="2018-08-28T10:17:06.463" LastActivityDate="2018-08-28T10:17:06.463" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13233" PostTypeId="2" ParentId="13227" CreationDate="2018-08-07T14:18:28.143" Score="1" Body="&lt;p&gt;The problem was caused bij a set of rules in the web.config of the sitecore site stating that all traffic should be redirected to https. setting in scjssconfig was pointing to &lt;a href=&quot;http://my-app&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my-app&lt;/a&gt;. Disabling the rules in the web.config stopped the problem from occurring. Thanx Adam for pointing me in the right direction.&lt;/p&gt;&#xA;" OwnerUserId="4093" LastActivityDate="2018-08-07T14:18:28.143" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13234" PostTypeId="1" AcceptedAnswerId="13235" CreationDate="2018-08-07T14:51:07.580" Score="1" ViewCount="125" Body="&lt;p&gt;Say I have a template &quot;ArticlePage&quot; which includes the field &quot;ArticleTitle&quot; and then I have another template called &quot;ContentPage&quot; which includes the field &quot;Title&quot;. &lt;em&gt;(I know this is not an ideal setup, so try to ignore that fact).&lt;/em&gt; Assuming that no two pages inherit &lt;em&gt;both&lt;/em&gt; of those templates, is there a way to configure my search indexes so that both those template fields go into the same field in my ContentSearch index?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-08-07T15:49:49.893" Title="Index two different template fields into the same index field" Tags="|content-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13235" PostTypeId="2" ParentId="13234" CreationDate="2018-08-07T15:49:49.893" Score="5" Body="&lt;p&gt;You can use a computed field to make both fields to point to a single field in the index.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override object ComputeFieldValue(IIndexable indexable)&#xA;{&#xA;    Item currentItem = indexable as SitecoreIndexableItem;&#xA;&#xA;    // Your logic goes here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then add it to the &lt;code&gt;AddComputedIndexField&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;YourComputedFieldName&quot; returnType=&quot;string&quot;&amp;gt;YourNamespace, Your assembly&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-08-07T15:49:49.893" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13236" PostTypeId="2" ParentId="11927" CreationDate="2018-08-07T17:26:38.080" Score="0" Body="&lt;p&gt;On IIS, my website was stopped due to other website running under the same port. stop the other site then start the site that you want to install XC. This was my issue.&lt;/p&gt;&#xA;" OwnerUserId="3865" LastActivityDate="2018-08-07T17:26:38.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13237" PostTypeId="2" ParentId="13214" CreationDate="2018-08-07T18:25:25.667" Score="6" Body="&lt;p&gt;Sitecore does not make this easy. For some reason, the dialog size is hard-coded as 720px by 470px (SC 8.2) inside the &lt;code&gt;AddRendering&lt;/code&gt; command (&lt;code&gt;Sitecore.Shell.Applications.WebEdit.Commands.AddRendering&lt;/code&gt;). It is done in such a way that it would be very cumbersome to override, and not upgrade-friendly because you'd have to rewrite pretty much the entire command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only alternative I could find involves JavaScript, and the only way I could figure out to inject it on every Experience Editor page is through a processor (I used &lt;a href=&quot;https://jammykam.wordpress.com/2017/07/24/injecting-resources-into-experience-editor/&quot; rel=&quot;noreferrer&quot;&gt;this article&lt;/a&gt; by jammykam as inspiration, which in turn refers to &lt;a href=&quot;https://jockstothecore.com/injecting-resources-into-content-and-page-editor/&quot; rel=&quot;noreferrer&quot;&gt;this post&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Processor:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.IO;&#xA;using Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders;&#xA;&#xA;namespace DialogSizeAdjuster&#xA;{&#xA;    public class DialogSizeProcessor : RenderPageExtendersProcessor&#xA;    {&#xA;        protected override bool Render(TextWriter writer)&#xA;        {&#xA;            writer.Write(@&quot;&#xA;                &amp;lt;script&amp;gt;&#xA;                var dialogSizeAdjusterFactory = function(originalFunction) {&#xA;                    return function(url, dialogArguments, features, request, modifiedHandling, openerWindow, dialogClosedCallback) {&#xA;                        features += ';getBestDialogSize:true'&#xA;                        originalFunction(url, dialogArguments, features, request, modifiedHandling, openerWindow, dialogClosedCallback)&#xA;                    }&#xA;                }&#xA;                var isDialogReady = function() {&#xA;                    return window.frameElement.contentWindow.document.readyState == 'complete' &amp;amp;&amp;amp; window.parent &amp;amp;&amp;amp;&#xA;                        window.parent.document.getElementById('jqueryModalDialogsFrame') &amp;amp;&amp;amp;&#xA;                        window.parent.document.getElementById('jqueryModalDialogsFrame').contentWindow.showModalDialog&#xA;                }&#xA;                var adjustDialogSize = function() {&#xA;                    if(!isDialogReady()) {&#xA;                        setTimeout(adjustDialogSize, 1000)&#xA;                    } else {&#xA;                        var oldFunction = window.parent.document.getElementById('jqueryModalDialogsFrame').contentWindow.showModalDialog&#xA;                        window.parent.document.getElementById('jqueryModalDialogsFrame').contentWindow.showModalDialog = dialogSizeAdjusterFactory(oldFunction)&#xA;                    }&#xA;                }&#xA;                adjustDialogSize()&#xA;                &amp;lt;/script&amp;gt;&#xA;            &quot;);&#xA;            return true;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Config patch:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.renderPageExtenders&amp;gt;&#xA;          &amp;lt;processor type=&quot;DialogSizeAdjuster.DialogSizeProcessor, DialogSizeAdjuster&quot; /&amp;gt;&#xA;      &amp;lt;/mvc.renderPageExtenders&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's still pretty hacky, but it works. I did not hard-code the actual size, but instead I forced Sitecore to use a built-in algorithm to calculate the &quot;best size&quot; for the dialog (based on browser size).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you'd prefer to hard-code a specific size, you can do this by altering the &lt;code&gt;features&lt;/code&gt; parameter (log it to console first so you can see what's in it). In that case, it might be best to add the dimensions as parameters to the processor. You could also refer to an external Javascript file as outlined in the previously mentioned articles, and implement more complex logic.&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2018-08-07T19:21:29.583" LastActivityDate="2018-08-07T19:21:29.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13238" PostTypeId="2" ParentId="13159" CreationDate="2018-08-07T18:56:13.000" Score="2" Body="&lt;p&gt;Answer by Amitabh didn't work initially. I went to &lt;code&gt;C:\inetpub\wwwroot\SitecoreIdentityServer\wwwroot\logs&lt;/code&gt; to view the latest log. It said:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Unhandled exception: &quot;System.Data.SqlClient.SqlException (0x80131904): Cannot open database \&quot;sc902.sc_Core\&quot; requested by the login. The login failed.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I fixed this by running the following on the SQL server management studio:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;USE SC902_Core&#xA;GO&#xA;sp_changedbowner 'scuser'&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I got the same error on the terminal but a different log saying:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Unhandled exception: &quot;System.Security.Cryptography.CryptographicException: Keyset does not exist&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I double clicked on the certification that I created (.cer file) and installed it on user and local machine (yes, I did it on both. this might not be necessary).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;then I followed these steps: &lt;a href=&quot;https://blogs.msdn.microsoft.com/dsnotes/2015/08/13/service-failure-with-cryptographicexception-keyset-does-not-exist/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/dsnotes/2015/08/13/service-failure-with-cryptographicexception-keyset-does-not-exist/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3865" LastActivityDate="2018-08-07T18:56:13.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13239" PostTypeId="1" CreationDate="2018-08-07T19:35:21.497" Score="6" ViewCount="136" Body="&lt;p&gt;I'm trying to get a contact's profile data in Sitecore 9 u2. By profile data I mean data collected based on profile cards assigned to pages they visit. I'm using the &lt;code&gt;ContactBehaviorProfile&lt;/code&gt; facet as one of my &lt;code&gt;ExpandOptions&lt;/code&gt; while fetching the contact and using the method &lt;code&gt;Sitecore.XConnect.Contact.ContactBehaviorProfile&lt;/code&gt; but the scores returned from that don't seem to match what I see in experience profile's profiling tab for the selected contact. &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/facets/calculated-facets/contact-behavior-profile.html&quot; rel=&quot;noreferrer&quot;&gt;This documentation&lt;/a&gt; mentions it being the most recently matched profile data. Does that mean it doesn't get all of the contact's profile data? If it isn't then is there a different way to get all of a contact's profile data?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-08-07T19:35:21.497" Title="Get Contact Profile Data" Tags="|xconnect|experience-profile|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13240" PostTypeId="1" CreationDate="2018-08-07T19:52:06.413" Score="3" ViewCount="269" Body="&lt;p&gt;Does anyone know how to change the order of the conditional rendering rules when you try to personalize a component?  I've added a custom rule that I'd like to show up at the top of the list, but it's buried somewhere in the middle, because it seems to be purely alphabetical.  I see that the &quot;Predefined Rules&quot; are always at the top, which tells me that this must be possible, I'm just doing it wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far I have tried the following, to no avail:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;moving my custom tags to the top of the Conditional Rendering's default multiselect&lt;/li&gt;&#xA;&lt;li&gt;changing the sort order of my custom tags&lt;/li&gt;&#xA;&lt;li&gt;changing the sort order of my custom element&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Can anyone point me in the right direction?&lt;/p&gt;&#xA;" OwnerUserId="4046" LastActivityDate="2018-08-08T15:14:21.807" Title="Conditional Rendering Rule Order" Tags="|personalization|rules-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13241" PostTypeId="1" AcceptedAnswerId="13416" CreationDate="2018-08-07T22:51:16.787" Score="3" ViewCount="1721" Body="&lt;p&gt;I have an Azure Load Balancer in front of two Solr servers in a Master/Slave configuration. This is a Sitecore 9 Update 1 build, so Solr is running SSL. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the CD Servers that will be pointed to the Load Balancer they will hit an IP address (as its a Private Azure Load Balancer). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: &lt;a href=&quot;https://192.16.0.1:8983/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://192.16.0.1:8983/solr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue I am running against is that I cannot attach or install an SSL Certificate on the Load Balancer, and when the CD Servers go to talk to this endpoint that will route them to either Solr Master or Solr Slave, it wants a cert for the Load Balancer/sees its as an https endpoint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a method to skip the https validation of the load balancer and just have the Solr Servers validate the SSL/https?&lt;/p&gt;&#xA;" OwnerUserId="858" LastEditorUserId="73" LastEditDate="2018-08-08T08:41:31.107" LastActivityDate="2022-05-07T05:20:24.833" Title="Setting up SSL for Solr behind a Load Balancer on Azure" Tags="|solr|azure|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13242" PostTypeId="1" AcceptedAnswerId="13249" CreationDate="2018-08-08T11:32:53.560" Score="3" ViewCount="1192" Body="&lt;p&gt;I created a custom item resolver to remove/omit bucket folder item name from url.&#xA;With this resolver we can access url from: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;www.xpto.com/folder/2018/08/06/15/40/page&lt;/li&gt;&#xA;&lt;li&gt;www.xpto.com/folder/page&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And it works properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I create a link in a rich text for this bucketed page, the bucket path is not omited.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed this blog post:&#xA;&lt;a href=&quot;https://sitecorejunkie.com/2016/05/31/omit-sitecore-bucket-folder-item-names-from-page-item-urls/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorejunkie.com/2016/05/31/omit-sitecore-bucket-folder-item-names-from-page-item-urls/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems exactly what I need but it's not working for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 9 (and SXA).&lt;/p&gt;&#xA;" OwnerUserId="4094" LastEditorUserId="237" LastEditDate="2018-08-08T16:18:31.970" LastActivityDate="2018-08-08T16:18:31.970" Title="Omit bucket folders from page urls - linkprovider not working in SXA" Tags="|sxa|buckets|link-manager|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13244" PostTypeId="1" AcceptedAnswerId="13245" CreationDate="2018-08-08T13:06:50.670" Score="1" ViewCount="242" Body="&lt;p&gt;We currently use WFFM for a contact us form on our site and are looking for some type of spam filter for the form.  We are running the latest reCaptcha but people still fill out our forms with spam on a daily basis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something with the ability to block messages with key words would be great!&lt;/p&gt;&#xA;" OwnerUserId="3863" LastEditorUserId="73" LastEditDate="2018-08-08T13:29:15.267" LastActivityDate="2018-08-08T13:30:58.760" Title="Is there any spam filter for WFFM? Sitecore.NET 8.1 (rev. 160519)" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13245" PostTypeId="2" ParentId="13244" CreationDate="2018-08-08T13:30:58.760" Score="1" Body="&lt;p&gt;There is no such thing ootb, but you could write your own. One option would be to create a custom save action (documentation -amongst lots of other blogs- here: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/81/working_with_actions_and_validations/save_actions/create_a_new_save_action&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/81/working_with_actions_and_validations/save_actions/create_a_new_save_action&lt;/a&gt;) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that save action you could check on fields whether they contain any words you want to block and generate an error if needed. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-08-08T13:30:58.760" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13246" PostTypeId="1" CreationDate="2018-08-08T13:39:13.533" Score="-1" ViewCount="878" Body="&lt;p&gt;I am facing an issue when opening content editor :&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Exception: System.Web.HttpUnhandledException Message: Exception of&#xA;type 'System.Web.HttpUnhandledException' was thrown. Source:&#xA;System.Web    at System.Web.UI.Page.HandleError(Exception e)    at&#xA;System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;br /&gt;&#xA;at System.Web.UI.Page.ProcessRequest(Boolean&#xA;includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;br /&gt;&#xA;at System.Web.UI.Page.ProcessRequest()    at&#xA;System.Web.UI.Page.ProcessRequest(HttpContext context)    at&#xA;System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,&#xA;Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;&lt;p&gt;Nested Exception&lt;/p&gt;&#xA;&lt;p&gt;Exception: System.Reflection.TargetInvocationException Message:&#xA;Exception has been thrown by the target of an invocation. Source:&#xA;mscorlib    at System.RuntimeMethodHandle.InvokeMethod(Object target,&#xA;Object[] arguments, Signature sig, Boolean constructor)    at&#xA;System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;Object[] parameters, Object[] arguments)    at&#xA;System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br /&gt;&#xA;at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;Object[] parameters, Object obj)    at&#xA;Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs&#xA;e)    at System.Web.UI.Control.PreRenderRecursiveInternal()    at&#xA;System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&#xA;&lt;p&gt;Nested Exception&lt;/p&gt;&#xA;&lt;p&gt;Exception: System.Xml.XmlException Message: Data at the root level is&#xA;invalid. Line 1, position 1. Source: System.Xml    at&#xA;System.Xml.XmlTextReaderImpl.Throw(Exception e)    at&#xA;System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()    at&#xA;System.Xml.XmlTextReaderImpl.ParseDocumentContent()    at&#xA;System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)&#xA;at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)&lt;br /&gt;&#xA;at Sitecore.Data.Fields.PagePreviewField.ParseValue(String value)&lt;br /&gt;&#xA;at Sitecore.Data.Fields.PagePreviewField..ctor(Field innerField)    at&#xA;Sitecore.ApplicationCenter.PagePreview.PagePreviewManager.GetPreviews(Item&#xA;item)    at&#xA;Sitecore.Shell.Framework.Commands.ContentEditor.PagePreviews.GetHeader(CommandContext&#xA;context, String header)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.FillParamsFromCommand(CommandContext&#xA;commandContext, RibbonCommandParams ribbonCommandParams)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.GetCommandParameters(Item&#xA;controlItem, CommandContext commandContext)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderLargeButton(HtmlTextWriter&#xA;output, Item button, CommandContext commandContext)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter&#xA;output, Item button, CommandContext commandContext)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter&#xA;output, Item chunk, CommandContext commandContext)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter&#xA;output, Item chunk, CommandContext commandContext, Boolean&#xA;isContextual, String id)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter&#xA;output, Item chunk, CommandContext commandContext, Boolean&#xA;isContextual)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunks(HtmlTextWriter&#xA;output, Item strip, CommandContext commandContext, Boolean&#xA;isContextual)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter&#xA;output, Item ribbon, Boolean isContextual, ListString&#xA;visibleStripList)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter&#xA;output, Item defaultRibbon, Item contextualRibbon, ListString&#xA;visibleStripList)    at&#xA;Sitecore.Web.UI.WebControls.Ribbons.Ribbon.Render(HtmlTextWriter&#xA;output)    at&#xA;System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,&#xA;ControlAdapter adapter)    at&#xA;Sitecore.Web.HtmlUtil.RenderControl(Control ctl)    at&#xA;Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateRibbon(Item&#xA;folder, Boolean isCurrentItemChanged, Boolean showEditor)    at&#xA;Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update()&#xA;at&#xA;Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs&#xA;e)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I am not sure which XML is causing this issue so I don't know how to troubleshoot this.&lt;/p&gt;&#xA;&lt;p&gt;Any help?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="4050" LastEditDate="2021-10-05T17:40:09.780" LastActivityDate="2021-10-06T06:06:11.117" Title="Sitecore Content Editor Exception : Data at the root level is invalid" Tags="|sitecore-client|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13247" PostTypeId="2" ParentId="13246" CreationDate="2018-08-08T14:44:46.127" Score="0" Body="&lt;p&gt;To track this kind of error down when you have no idea which Item is causing it I normally restore my Sitecore database locally and patch in my own custom type to be able to debug it. If you can't restore your DB locally maybe just add some logging and debug in you dev environment instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to do this create a copy of the PagePreviewField in your codebase from Sitecore.Kernel (I used dotpeek to get this from Sitecore 8.2 Update 6): &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class CustomPagePreviewField : CustomField&#xA; {&#xA;&#xA;     public PagePreviewField(Field innerField) : base(innerField)&#xA;     {&#xA;      Assert.ArgumentNotNull((object) innerField, nameof (innerField));&#xA;      this.xmlValue = this.ParseValue(this.Value);&#xA;     }&#xA;&#xA;&#xA;     public PagePreviewField(Field innerField, string runtimeValue) : base(innerField, runtimeValue)&#xA;     {&#xA;      Assert.ArgumentNotNull((object) innerField, nameof (innerField));&#xA;      Assert.ArgumentNotNull((object) runtimeValue, nameof (runtimeValue));&#xA;      //log the field value here or attach debugger...&#xA;      this.xmlValue = this.ParseValue(this.Value);&#xA;     }&#xA;&#xA;     ///the rest of the code from the ootb implementation goes here...&#xA;&#xA;     private XDocument ParseValue(string value)&#xA;     {&#xA;         //log the field value here or attach debugger...&#xA;         Assert.ArgumentNotNull((object) value, nameof (value));&#xA;         if (string.IsNullOrEmpty(value))&#xA;           return XDocument.Parse(&quot;&amp;lt;p/&amp;gt;&quot;);&#xA;         return XDocument.Parse(value);&#xA;     }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then update the Sitecore config by patching in your custom field to replace the existing one, it should look similar to below once patched in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;Page Preview&quot; type=&quot;MyCustom.Extensions.Fields.CustomPagePreviewField, MyCustom.Extensions&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should give you the item details you need to debug this issue.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-08-08T14:50:35.210" LastActivityDate="2018-08-08T14:50:35.210" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13248" PostTypeId="2" ParentId="13240" CreationDate="2018-08-08T15:14:21.807" Score="2" Body="&lt;p&gt;Dug in a little after I saw your question and it appears that the &lt;code&gt;Predefined Rules&lt;/code&gt; are handled as a special case; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Within &lt;code&gt;Sitecore.Shell.Applications.Rules.RulesEditor.RulesEditorPage&lt;/code&gt; and in the &lt;code&gt;GetGroupedElements&lt;/code&gt; method there is an &lt;code&gt;OrderBy&lt;/code&gt; involving a static ID &lt;code&gt;RulesEditorPage.PredefinedRulesItemId&lt;/code&gt;.  After trying to follow the decompiled logic, my assumption is that the &lt;code&gt;Predefined Rules&lt;/code&gt; are weighted at the top and then the order by falls back to &lt;code&gt;Element Folder&lt;/code&gt; name. If that is the case, prefixing your &lt;code&gt;Element Folder&lt;/code&gt; name with an underscore or adding your rules to the &lt;code&gt;Predefined Rules&lt;/code&gt; &lt;code&gt;Element Folder&lt;/code&gt; would likely get them visible toward the top (though neither one of those seems like a perfect solution).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Further note:&lt;/em&gt; if you are interested in digging in more, there are 3 processors that get executed out of box during the &lt;code&gt;RulesEditorPage&lt;/code&gt; (in Sitecore 9.0.1 at least): &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;getRenderedRuleElements&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Pipelines.Rules.Taxonomy.GetContextFolder, Sitecore.Kernel&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Pipelines.Rules.Taxonomy.GetTags, Sitecore.Kernel&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Pipelines.Rules.Taxonomy.GetElementFolders, Sitecore.Kernel&quot;/&amp;gt;&#xA;&amp;lt;/getRenderedRuleElements&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These pipelines effectively find and aggregate the rules for a given &lt;code&gt;Tags Definition&lt;/code&gt; under the &lt;code&gt;Rules Context Folder&lt;/code&gt; (the multi-list that is sortable and relates your rules to let's say the &lt;code&gt;Insert Options&lt;/code&gt; rule).  The result of this &lt;code&gt;getRenderedRuleElements&lt;/code&gt; pipeline is what gets passed into the &lt;code&gt;RulesEditorPage&lt;/code&gt; and eventually ordered and rendered when you click &lt;code&gt;Edit Rule&lt;/code&gt;.  I will update my answer if I find anything else while I continue to dig.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2018-08-08T15:14:21.807" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13249" PostTypeId="2" ParentId="13242" CreationDate="2018-08-08T16:16:02.180" Score="7" Body="&lt;p&gt;The use of SXA is rather important in this case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see in your configuration, SXA uses by default the &lt;code&gt;switchableLinkProvider&lt;/code&gt;. This will check your site configuration in Sitecore to determine if you defined a linkprovider there. If not (I assume you did not), it will take the fallback, which is defined here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;XA.Foundation.Multisite.FallbackLinkProvider&quot; value=&quot;localizedProvider&quot; patch:source=&quot;Sitecore.XA.Foundation.Multisite.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, the default fallback is the localizedProvider and not &quot;sitecore&quot;. So you are actually patching the wrong provider. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this, you could patch the &lt;code&gt;localizedProvider&lt;/code&gt;, but I wouldn't do that. I'd rather add a new provider to the list and attach that to your site in SXA. How to do this can be found here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/add_and_select_a_custom_link_provider&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/add_and_select_a_custom_link_provider&lt;/a&gt; : navigate to &lt;em&gt;sitecore/content/tenant/site/settings/Site Grouping/site&lt;/em&gt; and in the Basic section, in the Link Provider name field, enter the name of your custom provider.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-08-08T16:16:02.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13250" PostTypeId="2" ParentId="11150" CreationDate="2018-08-08T16:40:50.233" Score="3" Body="&lt;p&gt;Since you say you were thinking of requiring the use of the auth/login endpoint before requests can be made to your custom controller, what you can do is add the Authorize filter as an attribute to the controller or specific actions like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Authorize]&#xA;public class ExampleController : ServicesApiController&#xA;{&#xA;    public ActionResult Index()&#xA;    {&#xA;        return null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That will only exclude access to anonymous users, in case you want to be more specific you can use something like this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;[Authorize(Users=&quot;Alice,Bob&quot;)]&lt;/li&gt;&#xA;&lt;li&gt;[Authorize(Roles=&quot;Administrators&quot;)]&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And then you can authenticate through the sitecore/api/ssc/auth/login endpoint.&lt;/p&gt;&#xA;" OwnerUserId="3350" LastActivityDate="2018-08-08T16:40:50.233" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13251" PostTypeId="1" CreationDate="2018-08-08T17:15:45.783" Score="1" ViewCount="147" Body="&lt;p&gt;We have upgraded from Sitecore 6.6 to Sitecore 8.2 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are getting a weird issue when user opens a page in the &lt;code&gt;Experience Editor&lt;/code&gt; and locks page to edit it. We expected to get edit options but we are not getting them until we refresh the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is happening on all the pages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version : Sitecore.NET 8.2 Update 5 (rev. 170728) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Checked Console, I found following errors :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sRLJQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sRLJQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="2056" LastEditDate="2018-08-10T06:05:24.940" LastActivityDate="2018-08-10T06:05:24.940" Title="Lock the item in Experience Editor" Tags="|experience-editor|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13252" PostTypeId="1" AcceptedAnswerId="13427" CreationDate="2018-08-08T17:48:11.590" Score="3" ViewCount="361" Body="&lt;p&gt;I have a multi-site Sitecore instance (Sitecore 8.2), and one of the sites is very slow to load. I enabled Pipeline profiling, and saw that the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline is taking a large majority of the time, more specifically the &lt;code&gt;Sitecore.Pipelines.HttpRequest.EnsureServerUrl&lt;/code&gt; processor. The most I could find about what that processor does was from this &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/the-httprequestbegin-pipeline-in-sitecore-8&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;, which only says:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;EnsureServerUrl&lt;/strong&gt; (Kernel): Ensures that Sitecore.Globals.ServerUrl has a value.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;br /&gt;&#xA;Does anyone have a better idea of what the &lt;code&gt;EnsureServerUrl&lt;/code&gt; processor does and what could cause it to become so slow? Or is there any way I can further debug that specific pipeline to see what is causing the problem?&lt;/p&gt;&#xA;" OwnerUserId="4096" LastActivityDate="2018-08-20T20:22:24.467" Title="Sitecore.Pipelines.HttpRequest.EnsureServerUrl Processor very slow" Tags="|pipelines|performance|performance-profiling|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13253" PostTypeId="1" AcceptedAnswerId="13254" CreationDate="2018-08-08T17:55:39.933" Score="1" ViewCount="441" Body="&lt;p&gt;I have a case where there is a URL that is commonly used across the system and I need to add it in a common place in the tree and reference it from Rich Text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I tried the below:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;added the Link in Links node under Data node in content tree&lt;/li&gt;&#xA;&lt;li&gt;In the RTE, I added link to this link item in rich text&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But when browsing it is not redirecting to the Link stored in this link item, it redirect to error page that this item has no layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to reference the URL added in this link item?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="73" LastEditDate="2018-08-08T18:56:18.700" LastActivityDate="2018-08-08T18:56:18.700" Title="Add link to redirect to an external link in the Rich text editor" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13254" PostTypeId="2" ParentId="13253" CreationDate="2018-08-08T18:20:12.073" Score="2" Body="&lt;p&gt;As you are talking about a Links node in the Data node I am assuming you are using SXA...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that case, you could create a &lt;code&gt;redirect&lt;/code&gt; item in your content tree (redirect is one of the ootb SXA options). When you link to that item, you should be redirected to whatever you have set in the redirection url in that redirect item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;Link&quot; item you are using is actually a datasource for the Link component. Datasource items do not have layouts, so it is normal that you get this error.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-08-08T18:20:12.073" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13259" PostTypeId="1" AcceptedAnswerId="13260" CreationDate="2018-08-09T08:36:06.300" Score="3" ViewCount="465" Body="&lt;p&gt;We noticed an issue when a new team member did a local setup of my project. The Sitecore Nuget packages did not get resolved correctly. After a while I noticed that the packages on the new install were in folders like &lt;code&gt;packages\Sitecore.Kernel.NoReferences.9.0.180604\lib\NET462&lt;/code&gt;. The last part (net462) was the tricky one, as I noticed on my machine they were in a net452 folder. Problem is that those folders are stored in the project files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;physically all package files and restore them with VS&lt;/li&gt;&#xA;&lt;li&gt;removing the packages from my solution and re-installing them&lt;/li&gt;&#xA;&lt;li&gt;rebooting :) (combined with previous steps)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Nothing seems to work.. the packages keep getting installed in a net452 folder on my machine, although it is definitely a 4.6.2 version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we tried this on a third dev machine, it was even more strange. Some packages got into 452 folders, others in 462..  :(&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea why this is happening and how I can get VS to install the packages in a 462 folder?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-08-09T14:28:38.913" Title="Why are my Sitecore Nuget packages installed in the wrong folder?" Tags="|nuget|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13260" PostTypeId="2" ParentId="13259" CreationDate="2018-08-09T08:36:06.300" Score="6" Body="&lt;p&gt;After trying almost everything and searching half the internet, I found the solution here: &lt;a href=&quot;https://docs.microsoft.com/en-us/nuget/consume-packages/managing-the-global-packages-and-cache-folders&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/nuget/consume-packages/managing-the-global-packages-and-cache-folders&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And especially the magic button in Visual Studio on this screen: &lt;a href=&quot;https://i.stack.imgur.com/Mcl3g.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Mcl3g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I cleared my Nuget caches -and removed all my package files once again- the restored packages got installed in a 462 folder as they should.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently Nuget keeps caches locally. And as my laptop is getting old and already has been used for several Sitecore projects (including older versions on older .net frameworks) I probably had some caching issue. Still weird that this happened for packages from Sitecore 9 (which don't even have 4.5.x versions). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As this took me some time to figure out, I hope this might help someone else facing the same issue.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-08-09T08:36:06.300" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13261" PostTypeId="2" ParentId="13211" CreationDate="2018-08-09T08:36:53.450" Score="1" Body="&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, the media has already been saved to the item and when you are modifying the Media Stream, the updated media stream is not being updated on the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should use the &lt;code&gt;item:saving&lt;/code&gt; event instead. This event will fire once the user clicks save. So, you will update the media stream during this event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using the &lt;code&gt;EventDisabler&lt;/code&gt;, you should note that it will not trigger the other events. So, it may be the case that the events &lt;code&gt;item:saved&lt;/code&gt; will not trigger.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-08-09T08:36:53.450" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13263" PostTypeId="1" AcceptedAnswerId="13276" CreationDate="2018-08-09T09:11:37.543" Score="8" ViewCount="5002" Body="&lt;p&gt;I had some trouble with xConnect at the beginning after I have installed Sitecore 9 Update 2. I had trouble with Sitecore xConnect Search Indexer Windows service particularly. It was a configuration issue at the end which caused the service not to run for a couple of days. Meanwhile, xConnect was saving data in the &lt;code&gt;Contacts&lt;/code&gt;/&lt;code&gt;Interactions&lt;/code&gt; table in SQL Server shard DBs.&lt;/p&gt;&#xA;&lt;p&gt;When I fixed the issues with Search Indexer Windows Service, I am getting these exceptions and it's flooding my AppDomain log located under &lt;code&gt;$path_to_your_xconnect_site$\App_data\jobs\continuous\IndexWorker\App_data\Logs&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Exception:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;2018-08-09 10:13:07.158 +02:00 [Error] *** [GetContactsChanges], Line&#xA;27. Errno 50000: Sync token is no longer valid for [Contacts] table. System.Data.SqlClient.SqlException (0x80131904): *** [GetContactsChanges], Line 27. Errno 50000: Sync token is no longer valid for [Contacts] table.    at System.Data.SqlClient.SqlCommand.&amp;lt;&amp;gt;c.&amp;lt;ExecuteDbDataReaderAsync&amp;gt;b__174_0(Task`1 result)    at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.Tasks.Task.Execute()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.Xdb.Sql.Common.Extensions.DbCommandExtensions.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;b__0&amp;gt;d.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.Xdb.Sql.Common.Extensions.DbCommandExtensions.&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.Xdb.Sql.Common.Extensions.SqlCommandExtensions.&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.Xdb.Sql.Common.Extensions.SqlCommandExtensions.&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.Xdb.Collection.Data.SqlServer.Managers.SqlDataRecordsManager`2.&amp;lt;&amp;gt;c__DisplayClass75_0.&amp;lt;&amp;lt;ReadChanges&amp;gt;b__0&amp;gt;d.MoveNext() ClientConnectionId:0970f150-17f0-4f1a-b752-8974c0683f83 Error Number:50000,State:1,Class:16&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Same exception but for &lt;code&gt;[InteractionFacets]&lt;/code&gt;, &lt;code&gt;[ContactFacets]&lt;/code&gt; and &lt;code&gt;[Interactions]&lt;/code&gt; is following this one with pretty much the same stack trace.&lt;/p&gt;&#xA;&lt;p&gt;Has somebody encountered similar problems? What was the resolution?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="4817" LastEditDate="2023-04-20T05:27:49.493" LastActivityDate="2023-04-22T13:08:01.933" Title="Getting exception &quot;Sync token is no longer valid for [Contacts] / [Interactions] table&quot; with xConnect Search Indexer" Tags="|xconnect|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13264" PostTypeId="1" CreationDate="2018-08-09T09:36:31.890" Score="2" ViewCount="140" Body="&lt;p&gt;I'm trying to create new contacts (in SC 9.0.1) via DEF 2.0.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm reading the data from the Azure Service Bus already. When the contacts with my specific identifier don't exist yet, they are created successfully by the pipeline. The problem is that I'm not able to update the facet values (e.g. LastName in Personal) for those contacts without this facet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, my &lt;strong&gt;contact_1&lt;/strong&gt; is updated successfully, because a have created the LastName facet's property for it before. On the other side, my &lt;strong&gt;contact_2&lt;/strong&gt; is not updated properly (the LastName facet's property) just simply because that contact didn't contain that Personal facet at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;More info:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm probably missing some basic point... I'm using the &lt;strong&gt;xConnect Entity Facet Property Value Accessor&lt;/strong&gt; for writing the value to xConnect. When I'm debugging the code I can see that the writer is trying to read the facet's value exactly before it's going to write the new value. In case there is no facet value so far, the reading fails together with the whole mapping for that field... I was looking for some option on the accessor to turn off such behavior :), but without any success :(&lt;/p&gt;&#xA;" OwnerUserId="730" LastEditorUserId="730" LastEditDate="2018-08-13T06:04:59.550" LastActivityDate="2018-08-13T06:04:59.550" Title="How to add facet values to a new contact using DEF?" Tags="|xconnect|data-exchange-framework|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13265" PostTypeId="1" AcceptedAnswerId="13266" CreationDate="2018-08-09T10:02:54.000" Score="5" ViewCount="302" Body="&lt;p&gt;The below code is not working for me. Any thing is missing?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            Random random = new Random(DateTime.Now.Millisecond);&#xA;            var result = await _createSellableItemPipeline.Run(new CreateSellableItemArgument(random.Next().ToString(), &quot;Hussain Test Product name&quot;, &quot;Product display name&quot;, &quot;This is a description of my test product&quot;), context);&#xA;            SellableItem addedItem = null;&#xA;            if (result != null) // Null here means it failed to add&#xA;            {&#xA;                addedItem = result.SellableItems.FirstOrDefault(); &#xA;                addedItem.ParentCatalogList = &quot;{59DDADC1-9B88-727E-9E14-3F6CF321AE0F}&quot;;&#xA;                addedItem.ParentCategoryList = &quot;{871C3B62-CE96-AD61-DABE-10DB020F02C5}&quot;;&#xA;                addedItem.Brand = &quot;MyTest Brand&quot;;&#xA;                addedItem.Manufacturer = &quot;My Manufacturer&quot;;&#xA;                var saveResult = _persistEntityPipeline.Run(new PersistEntityArgument(addedItem), context);&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="14" LastEditDate="2018-08-09T10:19:06.667" LastActivityDate="2018-08-09T11:06:20.957" Title="How to add Catalog , categories with Products in in Sitecore eCommerce programatically" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13266" PostTypeId="2" ParentId="13265" CreationDate="2018-08-09T10:54:12.203" Score="3" Body="&lt;p&gt;You are almost there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create the relation between the product and the catalog &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   var relation = await _createRelationshipPipeline.Run(&#xA;                 new RelationshipArgument(categoryID, addedItem.Id, &quot;CategoryToSellableItem&quot;)&#xA;                      {&#xA;                      Mode = new RelationshipMode?(RelationshipMode.Create)&#xA;                      }, context);                                              &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The categoryId should look in this way : &lt;strong&gt;Entity-Category-catalogname-categoryname&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To create a category you need to use next code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var createCategoryCommand = this._commerceCommander.Command&amp;lt;CreateCategoryCommand&amp;gt;();&#xA; var createdCategory = await createCategoryCommand.Process(context.CommerceContext, &quot;catalog id&quot;, &quot;category name&quot;, &quot;category displayname&quot;, &quot;description&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;CommerceCommander is declared on your class :       &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; private readonly CommerceCommander _commerceCommander; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and is injected on your constructor : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     public YourPipelineBlock(CommerceCommander commerceCommander)&#xA;     {&#xA;         this._commerceCommander = commerceCommander;&#xA;     }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-08-09T11:06:20.957" LastActivityDate="2018-08-09T11:06:20.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13267" PostTypeId="1" AcceptedAnswerId="13286" CreationDate="2018-08-09T11:45:50.757" Score="3" ViewCount="466" Body="&lt;p&gt;I've created a plugin for updating sellable items based on data from an external system. One of the things I need to handle is the case where a SellableItem is moved from Category x to Category y in Commerce. In order to achieve this I need to be able to fetch all &quot;CategoryToSellableItem&quot; relationships in which the SellableItem is referenced.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately the only reference to the parent categories on a SellableItem appears to be a pipe SellableItem.ParentCategoryList property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="628" LastEditorUserId="73" LastEditDate="2018-08-09T11:46:24.457" LastActivityDate="2019-12-11T13:32:04.357" Title="Get / Delete parent category relationships of SellableItem" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13268" PostTypeId="2" ParentId="13263" CreationDate="2018-08-09T12:13:13.833" Score="11" Body="&lt;p&gt;I ran into this a while ago but could not figure out how to fix it without a full reinstall.&lt;/p&gt;&#xA;&lt;p&gt;However, recently @ezlateva and @jflarente figured out that you can fix this issue with an index rebuild of the xDB core. Note that this requires two cores: old and new. The steps required are specific to the search engine, but documentation has steps for Solr:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/xp/en/developers/latest/sitecore-experience-platform/rebuild-the-xdb-index-in-solr.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/xp/en/developers/latest/sitecore-experience-platform/rebuild-the-xdb-index-in-solr.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;To invoke the rebuild request command:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to the server where the xConnect Search Indexer is running and open a command line.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to the xConnect Collection Search IndexWorker folder.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Run &lt;code&gt;Sitecore.XConnectSearchIndexer.exe -rr&lt;/code&gt; (alternatively &lt;code&gt;Sitecore.XConnectSearchIndexer.exe -requestrebuild&lt;/code&gt;). The command&#xA;registers a small document in the live core signaling that the rebuild&#xA;should be started. The xConnect Search Indexer will notice the&#xA;document and start the rebuild process.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;There are many more details in the docs, can't clone it all over, but hopefully this helps.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2023-04-19T21:51:00.130" LastActivityDate="2023-04-19T21:51:00.130" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13270" PostTypeId="2" ParentId="13267" CreationDate="2018-08-09T12:25:17.263" Score="1" Body="&lt;p&gt;You need to use next code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var relation = await _deleteRelationshipPipeline.Run(&#xA;                                      new RelationshipArgument(&quot;Entity-Category-catalogname-categoryname&quot;, &quot;Entity-SellableItem-ID&quot;, &quot;CategoryToSellableItem&quot;)&#xA;                                      {&#xA;                                          Mode = new RelationshipMode?(RelationshipMode.Create)&#xA;                                      }, context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;you need to replace &quot;&lt;strong&gt;catalogname-categoryname&lt;/strong&gt;&quot; and &quot;&lt;strong&gt;Entity-SellableItem-ID&lt;/strong&gt;&quot; with the right names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First you need to declare your &lt;strong&gt;deleteRelationshipPipeline&lt;/strong&gt; on your class and to inject into your constructor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;private readonly DeleteRelationshipPipeline _deleteRelationshipPipeline;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ImportMinionBlock(ICreateSellableItemPipeline createSellableItemPipeline,&#xA;            IPersistEntityPipeline persistEntityPipeline,&#xA;            ICreateRelationshipPipeline createRelationshipPipeline, IFindEntityPipeline findEntityPipeline,&#xA;            EditSellableItemPipeline editSellableItemPipeline, CreateSellableItemVariationPipeline createSellableItemVariationPipeline, DeleteRelationshipPipeline deleteRelationshipPipeline)&#xA;        {&#xA;&#xA;            _createSellableItemPipeline = createSellableItemPipeline;&#xA;            _persistEntityPipeline = persistEntityPipeline;&#xA;            _createRelationshipPipeline = createRelationshipPipeline;&#xA;            _findEntityPipeline = findEntityPipeline;&#xA;            _editSellableItemPipeline = editSellableItemPipeline;&#xA;            _createSellableItemVariationPipeline = createSellableItemVariationPipeline;&#xA;            _deleteRelationshipPipeline = deleteRelationshipPipeline;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-09T12:25:17.263" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13271" PostTypeId="2" ParentId="13259" CreationDate="2018-08-09T14:28:38.913" Score="3" Body="&lt;p&gt;It happened to me once and I fixed it by clearing nuget cache as &lt;a href=&quot;https://sitecore.stackexchange.com/users/237/gatogordo&quot;&gt;Gatogordo&lt;/a&gt; &#xA;But for some reason it doesn't work anymore even when I clear cache manually.&#xA;I got tired of it and wrote a script. It targets libs I had issue with Sitecore*9.0.180604 &#xA;run it from packages folder and it will rename 452 to 462. It is safe to do as I noticed those libraries target 462 anyway. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem | Foreach-Object{ &#xA;if($_.Name.StartsWith('Sitecore') -and $_.Name.EndsWith('9.0.180604')){&#xA;write-host 'Sitecore lib has been found'$_.Name&#xA;    Get-ChildItem -Path $_.FullName -Recurse | Where-Object {$_.Name -eq 'NET452'} | Foreach-Object { &#xA;            Write-host 'Renaming '$_.FullName &#xA;            Rename-Item -Path $_.FullName -NewName 'NET462'&#xA;        }&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Not pretty and not recommended but do the job&lt;/p&gt;&#xA;" OwnerUserId="1857" LastActivityDate="2018-08-09T14:28:38.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13272" PostTypeId="2" ParentId="11337" CreationDate="2018-08-09T14:35:22.417" Score="1" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Potential fix scheduled for release with SPE 5.0.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;There are appears to be a concurrency issue in SPE that may be addressed with &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/997&quot; rel=&quot;nofollow noreferrer&quot;&gt;issue 997&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following warms up the Sitecore instance and then immediately invokes the Web API. I used the following script to duplicate the error.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Invoke-WebRequest -UseBasicParsing -Uri &quot;http://sc827/sitecore/service/keepalive.aspx&quot; | Select-Object -ExpandProperty StatusDescription&#xA;&#xA;$jobs = [System.Collections.ArrayList]@()&#xA;foreach($index in 1..5) {&#xA;    $job = Start-Job -ScriptBlock {&#xA;        $url = &quot;http://sc827/-/script/v2/master/DoSomething?user=admin&amp;amp;password=b&quot;&#xA;        Invoke-WebRequest -UseBasicParsing -Uri $url | Select-Object -ExpandProperty Content&#xA;    }&#xA;&#xA;    $jobs.Add($job) &amp;gt; $null&#xA;}&#xA;&#xA;$jobs | Wait-Job&#xA;$jobs | Receive-Job&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The proposed fix converts a dictionary into a &lt;code&gt;ConcurrentDictionary&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-08-09T14:35:22.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13273" PostTypeId="1" CreationDate="2018-08-09T14:38:48.823" Score="0" ViewCount="707" Body="&lt;p&gt;I have recently installed a fresh version of Sitecore 9 update 2. After installation when I updated my project's Sitecore nuget packages, all my Sitecore.Kernel.NoReferences targeted to .NET4.5.2. All other Sitecore packages are in .NET4.6.2. What could be the reason behind that? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;Reference Include=&quot;Sitecore.Kernel, Version=11.1.0.0, Culture=neutral, processorArchitecture=MSIL&quot;&amp;gt;&amp;lt;HintPath&amp;gt;..\..\..\..\packages\Sitecore.Kernel.NoReferences.9.0.171219\lib\NET462\Sitecore.Kernel.dll&amp;lt;/HintPath&amp;gt;&#xA;&amp;lt;/Reference&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;Reference Include=&quot;Sitecore.Kernel, Version=11.1.0.0, Culture=neutral, processorArchitecture=MSIL&quot;&amp;gt;    &amp;lt;HintPath&amp;gt;..\..\..\..\packages\Sitecore.Kernel.NoReferences.9.0.180604\lib\NET452\Sitecore.Kernel.dll&amp;lt;/HintPath&amp;gt;&#xA;&amp;lt;/Reference&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="237" LastEditDate="2018-08-09T14:45:42.567" LastActivityDate="2018-08-09T15:12:28.523" Title="Sitecore.Kernel.NoReferences framework target changed after Sitecore 9 update 2 package update" Tags="|nuget|" AnswerCount="1" CommentCount="1" ClosedDate="2018-08-09T15:28:12.600" ContentLicense="CC BY-SA 4.0" />
  <row Id="13274" PostTypeId="2" ParentId="13273" CreationDate="2018-08-09T15:12:28.523" Score="0" Body="&lt;p&gt;I recently had the same issue, what i had to do is clear Nuget cache in Visual Studio, (Similar to Gatogordo referenced &lt;a href=&quot;https://sitecore.stackexchange.com/q/13259/237&quot;&gt;answer&lt;/a&gt;) by going to :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Visual Studio-&amp;gt;Tools-&amp;gt;Nuget Package Manager-&amp;gt; General&lt;/code&gt; then click on &lt;strong&gt;Clear ALl Nugets Cache&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;After&lt;/strong&gt; that you need to re-install the sitecore package using Package Manger Console to enforce the new target (.Net 4.6.2):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Update-Package Sitecore.Kernel.NoReferences  -Reinstall -IgnoreDependencies&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will force all of your projects to re-target the right .Net framework (From 4.5.2 --&gt; 4.6.2).&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-08-09T15:12:28.523" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13276" PostTypeId="2" ParentId="13263" CreationDate="2018-08-09T16:03:53.923" Score="12" Body="&lt;p&gt;The indexer can no longer figure out all the changes saved to xConnect while it was down. This is why rebuilding the index is the only option at this point.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;———&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Full context: if you are using SQL server for your collection database, the indexer uses SQL Server’s change tracking feature to keep up to date with any incoming changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SQL Server only keeps changes for a limited amount of time (configurable, I think default deployments have it at 5 days) called the retention period&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since your indexer was down longer than the retention period, then SQL Server will no longer returns all changes.&lt;/p&gt;&#xA;" OwnerUserId="76" LastEditorUserId="76" LastEditDate="2018-08-09T19:44:13.623" LastActivityDate="2018-08-09T19:44:13.623" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13279" PostTypeId="1" AcceptedAnswerId="13284" CreationDate="2018-08-09T19:11:12.610" Score="3" ViewCount="856" Body="&lt;p&gt;We're trying to migrate to the standalone &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Publishing Service&lt;/a&gt; (3.1 Update-1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have an environment that has two publishing targets (web and web2) and are trying to replicate this configuration in the new service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, while I see that we can add any connection string definitions we want, I don't see a way to add new publishing targets via the command line. Instead, it appears we need to update the \config\sitecore\publishing\sc.publishing.xml file to add a new &lt;code&gt;DefaultConnectionFactory&lt;/code&gt; and &lt;code&gt;StoreFactory&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is manually updating the XML file the proper way to setup an additional publishing target with the Sitecore Publishing Service, or is there a better way to do so?&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2018-08-10T05:52:45.177" Title="Proper way to add a publishing target to the Sitecore Publishing Service" Tags="|publishing|publishing-service|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13280" PostTypeId="1" AcceptedAnswerId="13281" CreationDate="2018-08-09T20:20:12.177" Score="1" ViewCount="664" Body="&lt;p&gt;&lt;strong&gt;Context:&lt;/strong&gt; We are using Sitecore 8.2 and using archive functionality to archive the content. When content is archived then it is only removed from master database so we had a requirement to remove the item from web database also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Our solution:&lt;/strong&gt; To achieve the above requirement, we have used custom archival given &lt;a href=&quot;https://sitecorejunkie.com/category/recycle-bin/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. We did modification to set NeverPublish for the item before item is archived and published the item to web so that it is removed from web. However after it is removed from the web, we want to set NeverPublish back to false. If we do it as part of archival function after publishitem function then item is not getting removed from web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; Based on analysis, it seems that by the time, item is getting published, the NeverPublish is set to false so item is not removed from the web. In order to fix this issue, we need a callback function on publish item method so that we can set NeverPublish false in that callback function after publish is completed. Any inputs are appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sample Code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override Guid ArchiveItem(Item item)&#xA;    {&#xA;        bool originalNeverPublish = item.Publishing.NeverPublish;&#xA;&#xA;        item.Editing.BeginEdit();&#xA;        item.Publishing.NeverPublish = true;&#xA;        item.Editing.EndEdit();&#xA;&#xA;        PublishManager.PublishItem(item, target,item.Languages, false, false, false);&#xA;&#xA;        item.Editing.BeginEdit();&#xA;        item.Publishing.NeverPublish = originalNeverPublish;&#xA;        item.Editing.EndEdit();&#xA;&#xA;        return base.ArchiveItem(item);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1740" LastActivityDate="2018-08-09T20:58:50.233" Title="Callback function on publish item" Tags="|sitecore-client|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13281" PostTypeId="2" ParentId="13280" CreationDate="2018-08-09T20:30:21.050" Score="4" Body="&lt;p&gt;When you use &lt;code&gt;PublishManager.PublishItem&lt;/code&gt; method, it returns an object of &lt;code&gt;Sitecore.Handle&lt;/code&gt; type. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use again &lt;code&gt;PublishManager&lt;/code&gt; to wait until the publish is finished. Just use &lt;code&gt;PublishManager.WaitFor&lt;/code&gt; function like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Handle handle = PublishManager.PublishItem(item, target, item.Languages, false, false, false);&#xA;PublishManager.WaitFor(handle, timeout, pollInterval);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It will wait until the publish is finished or for &lt;code&gt;timeout&lt;/code&gt; milliseconds (polling every &lt;code&gt;pollInterval&lt;/code&gt; milliseconds).&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get the published item in &lt;code&gt;publish:end&lt;/code&gt; event, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void PostProcessPublishedItem(object sender, EventArgs args)&#xA;{&#xA;    Publisher publisher = (args as SitecoreEventArgs).Parameters.FirstOrDefault() as Publisher;&#xA;    if (publisher.Options.Mode == PublishMode.SingleItem)&#xA;    {&#xA;        var item = publisher.Options.RootItem;&#xA;        ...&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want to make sure that you do your post process only when you are in the process of archiving item, maybe instead of using &lt;code&gt;item.Publishing.NeverPublish&lt;/code&gt;, you can use &lt;code&gt;item[FieldIDs.UnpublishDate]&lt;/code&gt; and set it to some very specific value, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item[FieldIDs.UnpublishDate] = &quot;20000102T030405Z&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And them only clear that value in the &lt;code&gt;publish:end&lt;/code&gt; event it the value is equal to what you set in your custom archiving method.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-08-09T20:58:50.233" LastActivityDate="2018-08-09T20:58:50.233" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13284" PostTypeId="2" ParentId="13279" CreationDate="2018-08-10T05:43:16.430" Score="2" Body="&lt;p&gt;You can use this syntax to add connection string to Publishing Service via command prompt:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.\Sitecore.Framework.Publishing.Host configuration setconnectionstring web2 ‘user id={user};password={password};data source={target_server};database={target_database};MultipleActiveResultSets=True;’&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However there is no command prompt to add publishing targets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to do it as you mentioned manually in publishing xml.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After all these steps are done, you need to apply the changes by running this command in command prompt:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Framework.Publishing.Host schema upgrade --force&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-08-10T05:52:45.177" LastActivityDate="2018-08-10T05:52:45.177" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13285" PostTypeId="2" ParentId="8910" CreationDate="2018-08-10T06:55:43.710" Score="2" Body="&lt;p&gt;Please try to add the below config patch in the xconnect client config file &quot;App_Config\Sitecore\XConnect.Client.Configuration&quot;.&#xA;    &lt;strong&gt;ContactCustomerInfoModel&lt;/strong&gt; is the model that i have created for Custom  facet.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;xconnect&amp;gt;&#xA;      &amp;lt;runtime type=&quot;Sitecore.XConnect.Client.Configuration.RuntimeModelConfiguration,Sitecore.XConnect.Client.Configuration&quot;&amp;gt;&#xA;        &amp;lt;schemas hint=&quot;list:AddModelConfiguration&quot;&amp;gt;&#xA;          &amp;lt;schema name=&quot;ContactCustomerInfoModel&quot; type=&quot;Sitecore.XConnect.Client.Configuration.StaticModelConfiguration,Sitecore.XConnect.Client.Configuration&quot; patch:after=&quot;schema[@name='collectionmodel']&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;modeltype&quot;&amp;gt;MyProject.Feature.Articles.CustomFacets.ContactCustomerInfoModel, MyProject.Feature.Articles&amp;lt;/param&amp;gt;&#xA;          &amp;lt;/schema&amp;gt;&#xA;        &amp;lt;/schemas&amp;gt;&#xA;      &amp;lt;/runtime&amp;gt;&#xA;    &amp;lt;/xconnect&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4105" LastEditorUserId="237" LastEditDate="2018-08-10T07:54:10.753" LastActivityDate="2018-08-10T07:54:10.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13286" PostTypeId="2" ParentId="13267" CreationDate="2018-08-10T07:03:46.673" Score="3" Body="&lt;p&gt;As written before, there is a IDeleteRelationshipPipeline to remove the relation, but you are most probably struggling with getting the Category ids, that the SellableItem relates to, to remove the relations. The relation is stored in ParentCategoryList of the SellableItems, but this list contains Sitecore item ids, and not the Commerce entity ids. So you have to find a Commerce entity ids for each of the categories.&#xA;I do it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public async Task UpsertSellableItemCategories(ProductModel product, CommercePipelineExecutionContext context)&#xA;     {&#xA;            var entity = await _findEntityPipeline.Run(new FindEntityArgument(typeof(SellableItem), $&quot;{CommerceEntity.IdPrefix&amp;lt;SellableItem&amp;gt;()}{product.Id}&quot;), context);&#xA;            if (entity == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;        if (!(entity is SellableItem))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var existingSellableItem = entity as SellableItem;&#xA;        var categoryIds = existingSellableItem?.ParentCategoryList?.Split('|');&#xA;&#xA;        //Get all existing categories&#xA;        var categoryList = await _getManagedListPipeline.Run(new FindEntitiesInListArgument(typeof(Category), CommerceEntity.ListName&amp;lt;Category&amp;gt;(), 0, int.MaxValue), context);&#xA;        var lst = categoryList.List.Items.Cast&amp;lt;Category&amp;gt;();&#xA;&#xA;        if (categoryIds != null)&#xA;        {&#xA;            //For each already related category&#xA;            foreach (var categoryId in categoryIds)&#xA;            {&#xA;                Category category = null;&#xA;                foreach (var cat in lst)&#xA;                {&#xA;                    if (cat.SitecoreId == categoryId)&#xA;                    {&#xA;                        category = cat;&#xA;                        break;&#xA;                    }&#xA;                }&#xA;&#xA;                if (category != null)&#xA;                {&#xA;                    //If category should not be related&#xA;                    if (!product.Categories.ContainsKey(category.FriendlyId))&#xA;                    {&#xA;                        //remove relationship&#xA;                        await this._deleteRelationshipPipeline.Run(&#xA;                            new RelationshipArgument(&#xA;                                category.Id,&#xA;                                $&quot;{CommerceEntity.IdPrefix&amp;lt;SellableItem&amp;gt;()}{product.Id}&quot;,&#xA;                                ProductConstants.RelationDefinitions.CategoryToSellableItem&#xA;                             )&#xA;                            {&#xA;                                Mode = new RelationshipMode?(RelationshipMode.Delete)&#xA;                            }, context);&#xA;                    }&#xA;                    else //If category should still be related&#xA;                    {&#xA;                        //relationship exits, don't add again&#xA;                        product.Categories.Remove(category.FriendlyId);&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        foreach (var cat in lst)&#xA;        {&#xA;            if (product.Categories.ContainsKey(cat.FriendlyId)) //contains only new categories&#xA;            {&#xA;                await this._createRelationshipPipeline.Run(&#xA;                    new RelationshipArgument(&#xA;                        cat.Id,&#xA;                        $&quot;{CommerceEntity.IdPrefix&amp;lt;SellableItem&amp;gt;()}{product.Id}&quot;,&#xA;                        ProductConstants.RelationDefinitions.CategoryToSellableItem&#xA;                        )&#xA;                    {&#xA;                        Mode = new RelationshipMode?(RelationshipMode.Create)&#xA;                    }, context);&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I have a list of the new categories in my ProductModel.Categories, that the SellableItem relates to.&lt;/li&gt;&#xA;&lt;li&gt;First I remove relation to the ones that are not in the list III&lt;/li&gt;&#xA;&lt;li&gt;I add the new relations&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3754" LastActivityDate="2018-08-10T07:03:46.673" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13287" PostTypeId="1" CreationDate="2018-08-10T07:57:06.740" Score="0" ViewCount="693" Body="&lt;p&gt;I am trying to setup HabitatHome.Commerce on Sitecore Experience Commerce 9 update 2. &#xA;On Postman the Post for GetToken &lt;strong&gt;SitecoreIdentityserver&lt;/strong&gt; is working fine and so as I can see when I run the &quot;&lt;strong&gt;deploy-commerce-engine.ps1&lt;/strong&gt;&quot; where as the &lt;strong&gt;Authoring&lt;/strong&gt; &lt;a href=&quot;https://localhost:5000/commerceops/CleanEnvironment()&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:5000/commerceops/CleanEnvironment()&lt;/a&gt; gives a &lt;em&gt;500 internal server error&lt;/em&gt; on Postman and &lt;em&gt;Could not establish trust relationship for the SSL/TLS secure channel&lt;/em&gt; on deployment script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Thumbprint on the &lt;em&gt;authoring,ops,shops&lt;/em&gt; and &lt;em&gt;minion&lt;/em&gt; config.json are pointing to my &lt;em&gt;enigineconnect&lt;/em&gt; certificate and same mentioned in &quot;&lt;em&gt;deploy-commerce-engine.ps1&lt;/em&gt;&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;localhost:5000 is CommerceAuthoring hostname.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The parameters for the &quot;&lt;em&gt;deploy-commerce-engine.ps1&lt;/em&gt;&quot; as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[string]$siteName = &quot;sxp9u2.sc&quot;,&lt;br&gt;&#xA;      [string]$engineHostName = &quot;localhost&quot;,&#xA;      [string]$identityServerHost = &quot;localhost:5050&quot;,   [switch]$Initialize,&#xA;      [switch]$Bootstrap,&#xA;      [switch]$SkipPublish,&#xA;      [string]$webRoot = &quot;C:\inetpub\wwwroot&quot;,&#xA;      [string[]] $engines = @(&quot;Authoring&quot;, &quot;Minions&quot;, &quot;Ops&quot;, &quot;Shops&quot;),  [string]$BizFxPathName = &quot;SitecoreBizFx&quot;,&#xA;      [string]$IdentityServerPathName = &quot;SitecoreIdentityServer&quot;,&#xA;      [string]$engineSuffix = &quot;Sc9&quot;,&#xA;      [string]$CommerceOpsPort = &quot;5000&quot;,&#xA;      [string]$adminUser = &quot;admin&quot;,&#xA;      [string]$adminPassword = &quot;b&quot;,     [string]$certificateName = &quot;sxp9u2.sc.engineconnect&quot;,&#xA;      [string]$publishFolder = (Join-Path $PWD &quot;publishTemp&quot;)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error in script and postman are as below&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UcZlc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UcZlc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3QWUB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3QWUB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure what went wrong, Do anyone have any clue on this?&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1049" LastEditDate="2018-08-13T12:04:18.387" LastActivityDate="2018-09-26T07:35:35.713" Title="500 Internal Server Error /commerceops/CleanEnvironment()" Tags="|sitecore-commerce|installation|habitathome|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="13291" PostTypeId="1" CreationDate="2018-08-10T09:42:21.790" Score="1" ViewCount="390" Body="&lt;p&gt;I am trying to install Sitecore 9.0 Update-2 on Azure PaaS using MarketPlace but I am getting the below error during deployment:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wCsc6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wCsc6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;code&quot;:&quot;c&quot;,&quot;message&quot;:&quot;At least one resource deployment operation&#xA;  failed. Please list deployment operations for details. Please see&#xA;  &lt;a href=&quot;https://aka.ms/arm-debug&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://aka.ms/arm-debug&lt;/a&gt; for usage&#xA;  details.&quot;,&quot;details&quot;:[{&quot;code&quot;:&quot;Conflict&quot;,&quot;message&quot;:&quot;{\r\n \&quot;status\&quot;:&#xA;  \&quot;Failed\&quot;,\r\n \&quot;error\&quot;: {\r\n \&quot;code\&quot;:&#xA;  \&quot;ResourceDeploymentFailure\&quot;,\r\n \&quot;message\&quot;: \&quot;The resource&#xA;  operation completed with terminal provisioning state 'Failed'.\&quot;,\r\n&#xA;  \&quot;details\&quot;: [\r\n {\r\n \&quot;code\&quot;: \&quot;DeploymentFailed\&quot;,\r\n&#xA;  \&quot;message\&quot;: \&quot;At least one resource deployment operation failed.&#xA;  Please list deployment operations for details. Please see&#xA;  &lt;a href=&quot;https://aka.ms/arm-debug&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://aka.ms/arm-debug&lt;/a&gt; for usage details.\&quot;,\r\n \&quot;details\&quot;: [\r\n&#xA;  {\r\n \&quot;code\&quot;: \&quot;Conflict\&quot;,\r\n \&quot;message\&quot;: \&quot;{\r\n&#xA;  \\&quot;status\\&quot;: \\&quot;Failed\\&quot;,\r\n \\&quot;error\\&quot;: {\r\n&#xA;  \\&quot;code\\&quot;: \\&quot;ResourceDeploymentFailure\\&quot;,\r\n&#xA;  \\&quot;message\\&quot;: \\&quot;The resource operation completed with terminal&#xA;  provisioning state 'Failed'.\\&quot;,\r\n \\&quot;details\\&quot;: [\r\n&#xA;  {\r\n \\&quot;code\\&quot;: \\&quot;PasswordNotComplex\\&quot;,\r\n&#xA;  \\&quot;message\\&quot;: \\&quot;Password validation failed. The password does not&#xA;  meet policy requirements because it is not complex enough.\\&quot;\r\n&#xA;  }\r\n ]\r\n }\r\n}\&quot;\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}&quot;}]}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When I dig into the exception, I got to know this is because of &lt;code&gt;&quot;The password does not meet policy requirements because it is not complex enough&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not using the complex password, also at the time of filling the parameters, it didn't show me the strong password validation error,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w3ADT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w3ADT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are three password parameters during the installation as below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore Admin Password&lt;/li&gt;&#xA;&lt;li&gt;SQL server password&lt;/li&gt;&#xA;&lt;li&gt;certification password&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am not sure, which password policy is violating during the deployment, as it's not throwing the validation error individually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, once I provided the complex password, then it worked for me.&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-08-10T09:42:21.790" Title="Sitecore Azure deployment failed : The password does not meet policy requirements" Tags="|azure|installation|paas|" AnswerCount="0" CommentCount="0" ClosedDate="2018-08-10T10:00:58.200" ContentLicense="CC BY-SA 4.0" />
  <row Id="13292" PostTypeId="1" AcceptedAnswerId="13329" CreationDate="2018-08-10T11:24:08.057" Score="3" ViewCount="368" Body="&lt;p&gt;We want to clean up Sitecore Analytics data (MongoDB + SQL) that are old (say 3 months).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already looked at Sitecore ADM and this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11751/how-to-clean-up-analytics-data&quot;&gt;question&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it seems that Sitecore ADM does not support scheduling of clean up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do this task periodically in Sitecore 8.1 (update 3), e.g. once a day?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="3416" LastEditDate="2018-08-10T12:06:37.050" LastActivityDate="2018-08-14T12:35:12.210" Title="Periodically cleanup Sitecore Analytics data" Tags="|experience-analytics|mongodb|scheduled-tasks|indexing|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13293" PostTypeId="1" AcceptedAnswerId="13296" CreationDate="2018-08-10T12:37:40.540" Score="3" ViewCount="201" Body="&lt;p&gt;I am using the below code to add the Images for products. Seems some thing is stopping to save the images. Any missing code here?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var components = new List&amp;lt;Component&amp;gt;&#xA;{&#xA;&#xA;    new ItemVariationsComponent&#xA;    {&#xA;        ChildComponents = new List&amp;lt;Component&amp;gt;&#xA;        {&#xA;            new ItemVariationComponent&#xA;            {&#xA;                Id = &quot;92604332591&quot;,&#xA;                Name = &quot;HHHHH Viva 4-Door 34.0 Cubic Foot Refrigerator w/ Ice Maker and Wifi (Stainless)&quot;,&#xA;                Policies = new List&amp;lt;Policy&amp;gt;&#xA;                {&#xA;                    new ListPricingPolicy(new List&amp;lt;Money&amp;gt; { new Money(&quot;USD&quot;, 3029.99M), new Money(&quot;CAD&quot;, 3030.99M) })&#xA;                },&#xA;                ChildComponents = new List&amp;lt;Component&amp;gt;&#xA;                {&#xA;&#xA;                    new ImagesComponent{ Images = new List&amp;lt;string&amp;gt;{ &quot;6042064_01&quot;, &quot;6042064_02&quot;, &quot;6042064_03&quot; } }&#xA;                },&#xA;&#xA;            }&#xA;&#xA;        },&#xA;        Name =&quot;test&quot;&#xA;&#xA;    }&#xA;};&#xA;addedItem.Components = components;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="70" LastEditDate="2018-08-10T13:20:21.687" LastActivityDate="2018-08-10T13:56:00.803" Title="How to add Images to Item Variations component for Product programatically" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13294" PostTypeId="2" ParentId="13157" CreationDate="2018-08-10T13:12:45.520" Score="3" Body="&lt;p&gt;I was able to get this to work using a custom pipeline processor: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ReplaceFirstNameToken : MvcPipelineProcessor&amp;lt;GetModelEventArgs&amp;gt;&#xA;{&#xA;    private readonly IFormRenderingContext _formRenderingContext;&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// ID of the Field on the Form&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public string FieldId { get; set; }&#xA;&#xA;    public ReplaceFirstNameToken(IFormRenderingContext renderingContext)&#xA;    {&#xA;        _formRenderingContext = renderingContext;&#xA;    }&#xA;&#xA;    public override void Process(GetModelEventArgs args)&#xA;    {&#xA;        // Check to make sure the Field ID has been set&#xA;        if (string.IsNullOrEmpty(FieldId))&#xA;        {&#xA;            Log.Error(&quot;ReplaceFirstNameToken: Parameter cannot be null or empty: FieldId&quot;, this);&#xA;            return;&#xA;        }&#xA;&#xA;        // This token replacement is only valid on form fields that inherit from TextViewModel (e.g. the &quot;Text&quot; field type)&#xA;        if (!(args.ViewModel is TextViewModel textViewModel)) return;&#xA;&#xA;        ReplaceTokensIfApplicable(textViewModel);&#xA;    }&#xA;&#xA;    protected virtual void ReplaceTokensIfApplicable(TextViewModel textViewModel)&#xA;    {&#xA;        // If the FieldID isn't a valid ID, don't do anything&#xA;        if (!ID.TryParse(FieldId, out ID fieldId)) return;&#xA;&#xA;        // Get the value of the first name field&#xA;        var textField = _formRenderingContext.GetPostedField(fieldId) as StringInputViewModel;&#xA;        string firstName = textField == null ? string.Empty : textField.Value;&#xA;&#xA;        // Replace the FirstName token in the Text of the textViewModel&#xA;        textViewModel.Text = textViewModel.Text.Replace(&quot;{{FirstName}}&quot;, firstName);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the corresponding configs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;forms.getModel&amp;gt;&#xA;            &amp;lt;processor type=&quot;MyProject.Foundation.Form.Pipelines.Forms.GetModel.ReplaceFirstNameToken, MyProject.Foundation.Form&quot; patch:after=&quot;processor[@type='Sitecore.ExperienceForms.Mvc.Pipelines.GetModel.CreateModel, Sitecore.ExperienceForms.Mvc']&quot; resolve=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;!-- The ID of the Input field itself on the form --&amp;gt;&#xA;            &amp;lt;FieldId&amp;gt;{10F6D000-C0B9-4053-9039-D97778D1E1C8}&amp;lt;/FieldId&amp;gt;&#xA;            &amp;lt;/processor&amp;gt;&#xA;        &amp;lt;/forms.getModel&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, &lt;code&gt;{{FirstName}}&lt;/code&gt; in Text fields will get automatically replaced with the value of the input of the First Name input field&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've detailed this out further in my &lt;a href=&quot;http://www.benlipson.net/2018/08/token-replacement-on-sitecore-experience-forms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4" LastEditorUserId="4" LastEditDate="2018-08-10T13:51:35.850" LastActivityDate="2018-08-10T13:51:35.850" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13296" PostTypeId="2" ParentId="13293" CreationDate="2018-08-10T13:56:00.803" Score="1" Body="&lt;p&gt;Images fields on commerce keep the images field like a list of media items id i. &#xA;So a image field in commerce raw value is like : 857eccd8-03a9-49cf-9ef7-a3168e4acb11|abceccd8-a1a9-321f-9e21-a1112dsds4acb11&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to replace in your code ids with media files ids&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var components = new List&amp;lt;Component&amp;gt;&#xA;    {&#xA;      new ItemVariationsComponent&#xA;      {&#xA;        ChildComponents = new List&amp;lt;Component&amp;gt;&#xA;        {&#xA;            new ItemVariationComponent&#xA;            {&#xA;                Id = &quot;92604332591&quot;,&#xA;                Name = &quot;HHHHH Viva 4-Door 34.0 Cubic Foot Refrigerator w/ Ice Maker and Wifi (Stainless)&quot;,&#xA;                Policies = new List&amp;lt;Policy&amp;gt;&#xA;                {&#xA;                    new ListPricingPolicy(new List&amp;lt;Money&amp;gt; { new Money(&quot;USD&quot;, 3029.99M), new Money(&quot;CAD&quot;, 3030.99M) })&#xA;                },&#xA;                ChildComponents = new List&amp;lt;Component&amp;gt;&#xA;                {&#xA;&#xA;                    new ImagesComponent{ Images = new List&amp;lt;string&amp;gt;{ &quot;857eccd8-03a9-49cf-9ef7-a3168e4acb11&quot; , &quot;857eccd8-03a9-49cf-9ef7-a3168e4acb11&quot; }}&#xA;                },&#xA;&#xA;            }&#xA;&#xA;        },&#xA;        Name =&quot;test&quot;&#xA;    }&#xA;};&#xA;addedItem.Components = components;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-10T13:56:00.803" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13297" PostTypeId="1" AcceptedAnswerId="13299" CreationDate="2018-08-10T15:56:14.377" Score="5" ViewCount="52" Body="&lt;p&gt;I have noticed that the &lt;code&gt;Sitecore.Buckets.LinkProviders&lt;/code&gt; namespace has 2 classes that extend the default &lt;code&gt;LinkProvider&lt;/code&gt;: &lt;code&gt;ScalableLinkProvider&lt;/code&gt; and &lt;code&gt;ItemSearchLinkProvider&lt;/code&gt;. I cannot find any direct references to them in either code or config and I cannot find any documentation or blogs that mention them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone tell me what the intended purpose of these classes is? Are there certain scenarios where I should use or derive from one of these link providers rather than the default &lt;code&gt;Sitecore.Links.LinkProvider&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2018-08-10T20:17:05.233" Title="When should I use ScalableLinkProvider or ItemSearchLinkProvider?" Tags="|link-manager|urls|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13298" PostTypeId="1" CreationDate="2018-08-10T19:51:11.003" Score="3" ViewCount="306" Body="&lt;p&gt;I have Sitecore 9 installed on a couple of environments. On just 1 of the environments, the ribbon icons are visible in the XP editor.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/co9xb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/co9xb.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In the other environments, no icons are appearing in the ribbon as shown in the screenshot above. Inspecting the frame source, I found out that there is a reference to a (seemingly dynamically generated) css file that is responsible for the icons showing up. The filepath is like: /sitecore/shell/Applications/Page%20Modes/Ouput/5022797587550786552.css. The part of the css file that is missing on the other environments is a couple of lines of the form at the end:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; .sprite-speak-ribbon-clean-ee.small { float: left; margin: 0 .4em 0 0; }&#xA;    .sprite-speak-ribbon-clean-ee.window_earth_24 { background-position: 0px -0px; width: 24px; height: 24px; }&#xA;    .sprite-speak-ribbon-clean-ee.small.arrow_fork { background-position: 0px -34px; width: 16px; height: 16px; }  etc etc&#xA;[shortened for brevity]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I wonder how Sitecore generates these files and why the css output could be different for the different environments while they all have the same Sitecore version installed. Possibly, more files and functionality are missing.&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="246" LastEditDate="2022-09-08T13:22:38.173" LastActivityDate="2022-09-08T13:22:38.173" Title="How do I find missing ribbon icons in a Sitecore 9 setup?" Tags="|experience-editor|setup|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13299" PostTypeId="2" ParentId="13297" CreationDate="2018-08-10T20:11:39.060" Score="4" Body="&lt;h2&gt;ItemSearchLinkProvider&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ItemSearchLinkProvider&lt;/code&gt; is a very simple provider with &lt;code&gt;GetItemUrl&lt;/code&gt; method which:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Checks if item is inside a bucket&lt;/li&gt;&#xA;&lt;li&gt;If no it returns &lt;code&gt;base.GetUrl&lt;/code&gt; - where base class is &lt;code&gt;Sitecore.Links.LinkProvider&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;If yes, it generates url in a format:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return string.Format(&quot;/{0}/{1}/{2}/{3}&quot;, &#xA;    item.GetParentBucketItemOrSiteRoot().Name.ToLower(), &#xA;    item.Statistics.Created.ToString(&quot;yyyy-MM-dd&quot;), &#xA;    item.ID.Guid.ToString().Substring(0, 4), &#xA;    item.Name.ToLowerInvariant());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So for example if your &lt;code&gt;My Last Article&lt;/code&gt; item is insiade a bucket called &lt;code&gt;News&lt;/code&gt;, was created on 17th of July 2018 and its id is &lt;code&gt;{360CB29F-4BF7-405C-916A-C1C4C2378902}&lt;/code&gt;, the url will be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;/news/2018-07-17/360c/my last article&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my opinion, this format has no usage. I don't see any reference from the code or config to this class.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;ScalableLinkProvider&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ScalableLinkProvider&lt;/code&gt; uses its own internal class &lt;code&gt;DatedLinkProvider&lt;/code&gt; to generate url with format:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;`/ancestors/up/to/site/root/itemname-201807171457`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where the numbers at the end are parent folders from the date and time in bucket structure in &lt;code&gt;yyyyMMddHHmm&lt;/code&gt; format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also a &lt;code&gt;ScalableLinkResolver&lt;/code&gt; class which you could use to resolve the urls generated by &lt;code&gt;ScalableLinkProvider&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-08-10T20:17:05.233" LastActivityDate="2018-08-10T20:17:05.233" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13300" PostTypeId="1" AcceptedAnswerId="13302" CreationDate="2018-08-11T09:18:13.673" Score="0" ViewCount="118" Body="&lt;p&gt;Appologies in advance, if it's a wrong platform to ask this question, but the I don't see any other platform either. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking to join a Sitecore community/meetup anywhere in India where I can learn from other peeps and also meet local Sitecore developers. Can someone please connect me to it? Can be digital as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&#xA;Gaurav Sharma &lt;/p&gt;&#xA;" OwnerUserId="4109" LastActivityDate="2020-01-15T07:46:26.843" Title="Sitecore Developer community in India" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="2" ClosedDate="2018-08-11T11:11:19.943" ContentLicense="CC BY-SA 4.0" />
  <row Id="13301" PostTypeId="1" CreationDate="2018-08-11T10:32:03.460" Score="1" ViewCount="198" Body="&lt;p&gt;Is there any way to disable or stop the whole resource group temporary? We can stop the individual’s WebApps within the resource group. The whole idea is to save the cost of the services if I am not using the environment at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore 9 XP single installation there are total 21 items installed including databases, App service etc.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be great if I can switch off/On my Sitecore environment  from resource group level.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts/Ideas? &lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-08-12T22:24:57.823" Title="How to Stop a Sitecore resource group in Azure PaaS" Tags="|azure|paas|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13302" PostTypeId="2" ParentId="13300" CreationDate="2018-08-11T10:50:14.617" Score="2" Body="&lt;p&gt;Mark has already given the answer on “how to connect with Sitecore community” Please check it here&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1689/how-can-i-connect-with-the-sitecore-community&quot;&gt;How can I connect with the Sitecore Community?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, you can also find the below Sitecore user group in India:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore User Group Hyderabad - &lt;a href=&quot;https://www.meetup.com/Sitecore-User-Group-Hyderabad/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.meetup.com/Sitecore-User-Group-Hyderabad/&lt;/a&gt;&#xA;Sitecore user group Delhi NCR - &lt;a href=&quot;https://www.linkedin.com/in/sugncr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.linkedin.com/in/sugncr/&lt;/a&gt;&#xA;Sitecore user group Bangalore - &lt;a href=&quot;http://sugblr.in/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sugblr.in/&lt;/a&gt;, &lt;a href=&quot;https://www.facebook.com/sugblr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.facebook.com/sugblr/&lt;/a&gt;&#xA;Sitecore user group India - &lt;a href=&quot;http://www.sugcon.in/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sugcon.in/&lt;/a&gt;, &lt;a href=&quot;https://www.meetup.com/Sitecore-User-Group-India/members/?op=leaders&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.meetup.com/Sitecore-User-Group-India/members/?op=leaders&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details on Meetup, Linkedin, Facebook, etc, I suggest you to connect the local Sitecore user group which is convenient for you to attend the monthly meetups, where you can get connected with many other Sitecore folks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you can check the online webinar, you will get the notification on meetup, Facebook, LinkedIn once you join the group.&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="4050" LastEditDate="2020-01-15T07:46:26.843" LastActivityDate="2020-01-15T07:46:26.843" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13304" PostTypeId="1" AcceptedAnswerId="13305" CreationDate="2018-08-11T18:23:40.260" Score="3" ViewCount="556" Body="&lt;p&gt;I am trying to build out some simple PowerShell tasks into SIF tasks, and I am really hitting a wall with the simplest stuff. My estimation is that a Command task is for exe and console apps and not PowerShell commands. Example below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My JSON configuration file dsc.json&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;Parameters&quot;: {&#xA;        &quot;InstallPath&quot;: {&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Start-DscConfiguration&quot;,&#xA;            &quot;Description&quot;: &quot;DSC Install Path.&quot;&#xA;        }&#xA;    },&#xA;    &quot;Tasks&quot;: {&#xA;        &quot;Test-Get-Children&quot;: {&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;Get-ChildItem&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-Path&quot;,&#xA;                    &quot;*.log&quot;&#xA;                ]&#xA;            }&#xA;        },&#xA;        &quot;Test-DSC&quot;: {&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;Start-DscConfiguration&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-Path&quot;,&#xA;                    &quot;.//Sitecore&quot;,&#xA;                    &quot;-Wait&quot;,&#xA;                    &quot;-Verbose&quot;&#xA;                ]&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Parameters PS1 file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$configsRoot            = Join-Path $PSScriptRoot Configs&#xA;&#xA;$sitecoreDSC = @{&#xA;    Path                = Join-Path $configsRoot dsc.json&#xA;}&#xA;&#xA;echo $sitecoreDSC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My install PS1 file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;. $PSScriptRoot\parameters.ps1&#xA;&#xA;Install-SitecoreConfiguration @sitecoreDSC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the Get-Children command my error is this. It seems like it is trying to run the arg on its on command:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Get-ChildItem : Cannot find path 'C:\gh\ScriptTest\PrepServer-Path' because it does not exist.&#xA;  At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-CommandTask.ps1:31 char:13&#xA;  +             &amp;amp; $Path $Arguments | Out-Default&#xA;  +             ~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : ObjectNotFound: (C:\gh\ScriptTest\PrepServer-Path:String) [Get-ChildItem], ItemNotFoundException&#xA;      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;On the Start-DscConfiguration my error is this. This is because &lt;code&gt;Start-DscConfiguration&lt;/code&gt; was executed with specifying the path. Again, the args were ignored.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Invoke-CommandTask : Cannot convert 'System.Management.Automation.PSObject[]' to the type 'System.String' required by parameter 'Path'. Specified method is not supported.&#xA;  At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;  +                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-08-11T19:53:07.613" Title="Running PowerShell in SIF using the Command Task" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13305" PostTypeId="2" ParentId="13304" CreationDate="2018-08-11T19:48:01.023" Score="3" Body="&lt;p&gt;Correct. Try running &lt;code&gt;Get-Help Invoke-CommandTask&lt;/code&gt; to see the documentation and guidance on the built in command task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can import arbitrary powershell functions by registering them in a custom module.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a psm1 file&lt;/li&gt;&#xA;&lt;li&gt;In the psm1, use &lt;code&gt;Register-SitecoreInstallExtension&lt;/code&gt; to register the function as a task&lt;/li&gt;&#xA;&lt;li&gt;Add the psm1 in the modules section of your config&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This will enable you to register existing or custom functions into the scope of your install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. &lt;code&gt;Register-SitecoreInstallExtension -Command Start-DSConfiguration -As StartDSC -Type Task&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will enable you to use the task type &lt;code&gt;StartDSC&lt;/code&gt; in your config. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In SIF V2, this will be even easier as a new feature simplifies custom function registration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really need or want to put raw powershell in your config, check out &lt;a href=&quot;https://github.com/SoftServeInc/SitecoreInstallExtensions/blob/master/SitecoreInstallExtensions/Tasks/Invoke-ScriptBlockTask.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;SIX&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="128" LastEditorUserId="128" LastEditDate="2018-08-11T19:53:07.613" LastActivityDate="2018-08-11T19:53:07.613" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13306" PostTypeId="1" CreationDate="2018-08-11T22:16:10.157" Score="3" ViewCount="265" Body="&lt;p&gt;We have one problem in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever we use the &quot;Multilist with Search&quot; fields, the same item is displayed multiple times with different versions. And the content editor is able to select same items multiple times. Not sure why it is?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please provide some help here so that we can get the latest version in &quot;Multilist with Search&quot; and so can chooose the latest version of the item.&lt;/p&gt;&#xA;" OwnerUserId="1297" LastActivityDate="2022-04-07T15:19:38.810" Title="Multilist with Search fields with duplicate items" Tags="|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13307" PostTypeId="2" ParentId="13306" CreationDate="2018-08-11T22:19:30.350" Score="3" Body="&lt;p&gt;To get the latest item version in the Multilist with Search field, you need to apply the following filter to the Multilist with Search field source:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Filter=_latestversion:true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Please try and see if it works fine.&lt;/p&gt;&#xA;" OwnerUserId="607" LastEditorUserId="251" LastEditDate="2022-04-07T15:19:38.810" LastActivityDate="2022-04-07T15:19:38.810" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13308" PostTypeId="1" CreationDate="2018-08-12T15:22:01.857" Score="2" ViewCount="506" Body="&lt;p&gt;Recently I got an interesting query from one our Sitecore clients. The current site they are working on has a large number of external links. If they use the hyper link manager to add these links maintaining / changing these links will be very difficult since the content editor has to go through 100s of pages to do the update. Is there a way to reuse the links or have a dictionary of links to be used by content editors?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any module/tip or trick to achieve this kind of requirement?&lt;/p&gt;&#xA;" OwnerUserId="1088" LastActivityDate="2021-03-16T05:14:43.940" Title="Is there a way to manage external links in Sitecore Content Editor so that it can be reused?" Tags="|content-editor|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13309" PostTypeId="2" ParentId="13301" CreationDate="2018-08-12T22:24:57.823" Score="2" Body="&lt;p&gt;This is more of an Azure feature question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can not stop an Azure Resource Group, because technically the resource group isn't running, but there is also no feature to disable or pause all of the resources in Azure currently.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like you said, you can pause the Web App roles, however, pausing them, does not remove all the costs of running those web app roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an open suggestion here: &lt;a href=&quot;https://feedback.azure.com/forums/34192--general-feedback/suggestions/17670613-hibernate-pause-a-resource-group-or-subscription&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://feedback.azure.com/forums/34192--general-feedback/suggestions/17670613-hibernate-pause-a-resource-group-or-subscription&lt;/a&gt; related to adding in this support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My suggestion for now, until Microsoft adds this feature (if they ever do), is to just delete the resource group.  If you used an ARM Template to create the resource group and the roles within that, than use the same ARM Template to recreate it.  If you didn't use an ARM template, than I would recommend using one of the existing Sitecore ARM templates and/or modifying it to meet your needs.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-08-12T22:24:57.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13312" PostTypeId="1" CreationDate="2018-08-13T09:06:21.583" Score="2" ViewCount="236" Body="&lt;p&gt;We have following production configuration&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1) 1 CM &amp;amp; 4 CD's deployed on Azure which are Load balanced&#xA;2) MS SQL Azure&#xA;3) Master Slave configuration for Solr&#xA;4) No Sitecore XDB&#xA;5) Disaster recovery is not enabled &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can somebody help me to know how can we achieve Zero down time during deployment. Zero down time is required for CD's only for CMS its not required&lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="731" LastEditDate="2018-12-07T19:50:08.033" LastActivityDate="2018-12-07T19:50:08.033" Title="Zero Down Time with Sitecore Deployment" Tags="|infrastructure|" AnswerCount="0" CommentCount="6" ClosedDate="2018-08-13T16:47:09.180" ContentLicense="CC BY-SA 4.0" />
  <row Id="13313" PostTypeId="1" CreationDate="2018-08-13T10:36:41.100" Score="3" ViewCount="194" Body="&lt;p&gt;We are on 6.3.1 rev. 110112 and We have some specific requirements for setting up the password in Sitecore from the client side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Example, we have the following requirements for the password setting. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One numeric character with upper-case and not to match any of the old password (like should match for last 5 passwords) or to change after certain days like 30 days, restrict a user to change password only a few times in one day etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we have any specific way to achieve this? Any help will be appreciated. &lt;/p&gt;&#xA;" OwnerUserId="3751" LastActivityDate="2020-01-15T10:37:29.623" Title="Sitecore Password setting configuration" Tags="|configuration|security|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13314" PostTypeId="2" ParentId="13313" CreationDate="2018-08-13T10:41:16.707" Score="3" Body="&lt;p&gt;We had a similar situation a long time back. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can set apply the strict password limitation using PasswordStrengthRegularExpression property. You should review this&#xA;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.web.security.sqlmembershipprovider.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://msdn.microsoft.com/en-us/library/system.web.security.sqlmembershipprovider.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As with your requirements, you will need to extend the functionality of the standard membership provider. Just override a few methods such as &quot;CreateUser&quot;, &quot;ValidateUser&quot; or &quot;ChangePassword&quot; etc and replace  provider in web.config with a new one &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Such requirements as &quot;change every X days&quot; also can be achieved with the help of some scheduled task, which will change the old password and inform the user about a new one etc.&lt;/p&gt;&#xA;" OwnerUserId="607" LastEditorUserId="4050" LastEditDate="2020-01-15T10:37:29.623" LastActivityDate="2020-01-15T10:37:29.623" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13315" PostTypeId="1" CreationDate="2018-08-13T18:39:52.373" Score="2" ViewCount="170" Body="&lt;p&gt;Using Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a form and I'm trying to add custom validation to the email field to block forbidden domains. I created the validation item in Sitecore and added it to my field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ewmVR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ewmVR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kmcwa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kmcwa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and I created the corresponding class in my project:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Example.Library.WebForms.Validators&#xA;{&#xA;    public class EmailValidation : FormCustomValidator&#xA;    {&#xA;&#xA;        public EmailValidation()&#xA;        {&#xA;            this.ServerValidate += this.ValidateEmailAddress;&#xA;        }&#xA;        private void ValidateEmailAddress(object source, ServerValidateEventArgs args)&#xA;        {&#xA;            var blacklistFolder = Sitecore.Context.Database.GetItem(exampleConstants.exampleBlacklistFolder);&#xA;            var domains = blacklistFolder.Axes.GetDescendants().Select(x =&amp;gt; x.GlassCast&amp;lt;IRestricted_Domain&amp;gt;());\&#xA;&#xA;            var email = args.Value;&#xA;&#xA;            foreach (var dom in domains)&#xA;            {&#xA;                var domain = dom.Domain;&#xA;                if (email.ToLower().EndsWith(domain.ToLower()))&#xA;                {&#xA;                    args.IsValid = false;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it doesn't seem to be doing anything, and when I debug and attach to the ValidateEmailAddress method it never hits it. What am I missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: I changed the Assembly from Example.Library to Example.Library.dll but it's still not hitting it.&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="690" LastEditDate="2018-08-14T11:50:27.270" LastActivityDate="2018-08-14T11:50:27.270" Title="WFFM - Custom validation class on form not being hit" Tags="|wffm|validation|custom-field|webforms|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13316" PostTypeId="1" CreationDate="2018-08-13T21:18:11.453" Score="0" ViewCount="513" Body="&lt;p&gt;I have some items that were cloned under experience accelerator folder under Feature node. But i am afraid that they got overwritten after upgrade of SXA to any newer version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can i move those items to another folder and this will require to move also items created in branch templates,...? or it will be preferred to redo the cloning again under the correct folder? &lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="2576" LastEditDate="2018-08-13T21:28:38.977" LastActivityDate="2018-08-14T06:29:23.523" Title="SXA move cloned items" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13317" PostTypeId="1" AcceptedAnswerId="13322" CreationDate="2018-08-13T21:20:34.013" Score="0" ViewCount="66" Body="&lt;p&gt;I have a variant that will display the item title, is there a way that i can trim the title from front end?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any attributes or properties in the variant field to trim title from the variant? &lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2018-08-14T06:21:02.187" Title="SXA trim titles in variant" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13318" PostTypeId="1" AcceptedAnswerId="13319" CreationDate="2018-08-13T22:17:00.640" Score="8" ViewCount="3786" Body="&lt;p&gt;I'm trying to install JSS on a VM.  When I run the install code, I get the following warnings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PS C:\dev&amp;gt; npm install -g @sitecore-jss/sitecore-jss-cli&#xA;C:\Users\sitecore\AppData\Roaming\npm\jss -&amp;gt; C:\Users\sitecore\AppData\Roaming\npm\node_modules\@sitecore-jss\sitecore-jss-cli\dist\bin\jss.js&#xA;npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\@sitecore-jss\sitecore-jss-cli\node_modules\fsevents):&#xA;npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;win32&quot;,&quot;arch&quot;:&quot;x64&quot;})&#xA;&#xA;+ @sitecore-jss/sitecore-jss-cli@9.0.6&#xA;updated 1 package in 8.154s`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Afterwards, when I try to test the installation, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PS C:\dev&amp;gt; jss --help&#xA;jss : The term 'jss' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.&#xA;At line:1 char:1&#xA;+ jss --help&#xA;+ ~~~&#xA;+ CategoryInfo          : ObjectNotFound: (jss:String) [], CommandNotFoundException&#xA;+ FullyQualifiedErrorId : CommandNotFoundException&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can see that the files have installed at the location listed, but my machine never recognizes JSS commands.  I tried installing locally in the dev folder as well, but I get the same error.&lt;/p&gt;&#xA;" OwnerUserId="4062" LastEditorUserId="73" LastEditDate="2018-08-15T02:12:45.567" LastActivityDate="2019-12-04T06:36:07.730" Title="The term 'jss' is not recognized while installing JSS" Tags="|jss|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13319" PostTypeId="2" ParentId="13318" CreationDate="2018-08-13T22:25:30.353" Score="11" Body="&lt;p&gt;A couple things to try:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;After global install, close/open your console. Sometimes console instances will cache path info.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Ensure that your &lt;code&gt;PATH&lt;/code&gt; environment variable has your global npm cache folder listed. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-08-13T22:25:30.353" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13320" PostTypeId="1" AcceptedAnswerId="13330" CreationDate="2018-08-14T00:45:51.343" Score="4" ViewCount="1635" Body="&lt;p&gt;We have a single Solr instance that we would like to point to two distinct Sitecore 9.0 Update-2 instances to - instance1.example.com and instance2.example.com.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since they are separate instances, when creating the collections, I've prefixed them with an instance name, for example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;instance1_sitecore_core_index&lt;/li&gt;&#xA;&lt;li&gt;instance1_sitecore_master_index&lt;/li&gt;&#xA;&lt;li&gt;instance1_sitecore_web_index&lt;/li&gt;&#xA;&lt;li&gt;instance1_sitecore_marketingdefinitions_master&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;...&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;instance2_sitecore_core_index&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;instance2_sitecore_master_index&lt;/li&gt;&#xA;&lt;li&gt;instance2_sitecore_web_index&lt;/li&gt;&#xA;&lt;li&gt;instance2_sitecore_marketingdefinitions_master&lt;/li&gt;&#xA;&lt;li&gt;...&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://abarhoum.com/2016/07/06/setting-up-indexes-for-multi-site-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Setting up indexes for multi-site Sitecore&lt;/a&gt; suggests duplicating config files, Sitecore.ContentSearch.Solr.Index.Master.config and Sitecore.ContentSearch.Solr.Index.Web.config for example, and then updating the &lt;code&gt;index id&lt;/code&gt; with a new name, and I'm concerned that it would still assume that a sitecore_web_index exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, doing a search against a base Sitecore 9.0 Update-2 website directory doesn't return all eleven indexes, which suggests it wouldn't capture all the instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to patch the configurations to have Sitecore treat sitecore_web_index as, for example, instance1_sitecore_web_index, and prefix the other Solr indexes as well?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="2056" LastEditDate="2018-08-14T13:16:36.807" LastActivityDate="2018-08-15T13:01:06.683" Title="How can I configure Sitecore to prefix all Solr index ids?" Tags="|solr|configuration|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="13321" PostTypeId="1" CreationDate="2018-08-14T05:23:11.513" Score="4" ViewCount="336" Body="&lt;p&gt;Not sure if this is possible. For example I have following config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;xx&amp;gt;&#xA; &amp;lt;yy id=&quot;1&quot;&amp;gt;&#xA;     &amp;lt;zz value=&quot;hehe&quot;/&amp;gt;&#xA; &amp;lt;/yy&amp;gt;&#xA; &amp;lt;yy id=&quot;2&quot;&amp;gt;&#xA;     &amp;lt;zz value=&quot;hehe&quot;/&amp;gt;&#xA; &amp;lt;/yy&amp;gt;&#xA; &amp;lt;yy id=&quot;3&quot;&amp;gt;&#xA;     &amp;lt;zz value=&quot;hehe&quot;/&amp;gt;&#xA; &amp;lt;/yy&amp;gt;&#xA; &amp;lt;yy id=&quot;4&quot;&amp;gt;&#xA;     &amp;lt;zz value=&quot;hehe&quot;/&amp;gt;&#xA; &amp;lt;/yy&amp;gt;&#xA;&amp;lt;/xx&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I wonder if I can create one patch config to update the value of zz for all items in the list? Even if a new yy is added in the future?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I imagine it should look like this (I made this up):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;yy id=&quot;[[*]]&quot;&amp;gt;&#xA;    &amp;lt;zz value=&quot;newValue&quot;/&amp;gt;&#xA;&amp;lt;/yy&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Otherwise I need to create a patch for each item yy and whenever a new yy is added, I need to patch it as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="2261" LastActivityDate="2018-09-15T04:01:18.413" Title="Sitecore Config Patch for child elements in a dynamic list" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13322" PostTypeId="2" ParentId="13317" CreationDate="2018-08-14T06:21:02.187" Score="1" Body="&lt;p&gt;Yes, you can. All you need to do is to use &lt;code&gt;VariantTemplate&lt;/code&gt; and do something like that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2bNIs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2bNIs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-08-14T06:21:02.187" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13323" PostTypeId="2" ParentId="13316" CreationDate="2018-08-14T06:29:23.523" Score="1" Body="&lt;p&gt;You cannot create items under SXA item or modify SXA items as they will be overridden by SXA while upgrading. Just like you noticed it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create your project folders and put those items there. Take a look:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/P1G0k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P1G0k.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-08-14T06:29:23.523" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13324" PostTypeId="1" AcceptedAnswerId="13331" CreationDate="2018-08-14T07:08:02.703" Score="2" ViewCount="430" Body="&lt;p&gt;I am able to add products and associated with Category programmatically. Now I need to add the Inventory sets to its associated products.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to add the Inventory sets while adding the Sellabale items? Or&#xA;do I need to create the Inventory sets after Sellable items are created and just associate the Sellable items with Inventory set?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="2056" LastEditDate="2018-08-14T13:40:01.083" LastActivityDate="2020-04-04T01:53:27.497" Title="How to add Inventory sets programatically in Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13325" PostTypeId="2" ParentId="12812" CreationDate="2018-08-14T11:26:10.830" Score="1" Body="&lt;p&gt;You can add query param &lt;strong&gt;&amp;amp;sc_mode=preview&lt;/strong&gt; and JSON will be clean again&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: &#xA;&lt;strong&gt;&lt;a href=&quot;http://sc9.sc/sitecore/api/layout/render/jss?item=item1&amp;amp;sc_lang=en&amp;amp;sc_apikey=KEY&amp;amp;sc_mode=preview&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sc9.sc/sitecore/api/layout/render/jss?item=item1&amp;amp;sc_lang=en&amp;amp;sc_apikey=KEY&amp;amp;sc_mode=preview&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="4121" LastActivityDate="2018-08-14T11:26:10.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13326" PostTypeId="2" ParentId="12890" CreationDate="2018-08-14T12:12:44.707" Score="2" Body="&lt;p&gt;Sitecore describes it as a bug in their tracking system (reference number 232082) and provided a possible workaround which is worked for me.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open the “\Website\sitecore\shell\Applications\Content Manager\Content Editor.js” file.&lt;/li&gt;&#xA;&lt;li&gt;Replace the following lines:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;scForm.setCookie(&amp;quot;scContentEditorFoldersWidth&amp;quot;, pos);&lt;/code&gt;&#xA;&lt;code&gt;scForm.setCookie(&amp;quot;scContentEditorFolders&amp;quot;, visible ? &amp;quot;1&amp;quot; : &amp;quot;0&amp;quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;With these lines:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;scForm.setCookie(&amp;quot;scContentEditorFoldersWidth&amp;quot;, pos, undefined, undefined, undefined, true);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;scForm.setCookie(&amp;quot;scContentEditorFolders&amp;quot;, visible ? &amp;quot;1&amp;quot; : &amp;quot;0&amp;quot;, undefined, undefined, undefined, true);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Clear the browser’s cache.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="448" LastEditorUserId="2153" LastEditDate="2021-04-01T06:56:34.133" LastActivityDate="2021-04-01T06:56:34.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13327" PostTypeId="1" AcceptedAnswerId="13354" CreationDate="2018-08-14T12:25:28.207" Score="7" ViewCount="1241" Body="&lt;p&gt;With Sitecore 9 Forms, is there any way of adding a multi-select drop down list?&lt;/p&gt;&#xA;" OwnerDisplayName="user4124" LastEditorUserId="69" LastEditDate="2018-08-14T12:55:19.943" LastActivityDate="2018-08-15T12:15:19.383" Title="Sitecore Forms Multi select dropdown" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13328" PostTypeId="2" ParentId="13200" CreationDate="2018-08-14T12:28:41.753" Score="1" Body="&lt;p&gt;Here is what you can do - write a custom condition which has two fields, event start date and end date. You will then implement the evaluate method for items in the cart wherein you will check if the items in the cart have the start and end date between the dates specified in the condition and return true or false accordingly. For this, you will create a new plugin which will -&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;import Sitecore.Framework.Rules&lt;/li&gt;&#xA;&lt;li&gt;have an identity identifier to be displayed at the front end. [EntityIdentifier(&quot;UsabilityCondition&quot;)]&lt;/li&gt;&#xA;&lt;li&gt;implement ICondition interface and others as needed&lt;/li&gt;&#xA;&lt;li&gt;Implement evaluate method from ICondition interface which will check of the dates from the condition against the items in the cart.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please refer to this sample from Erwin &lt;a href=&quot;https://github.com/commerceengineplugins/conditions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/commerceengineplugins/conditions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1657" LastActivityDate="2018-08-14T12:28:41.753" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13329" PostTypeId="2" ParentId="13292" CreationDate="2018-08-14T12:35:12.210" Score="2" Body="&lt;p&gt;The only data I can see which you can clear is from the Interaction collection in MongoDB. The steps are&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;First to remove the interaction from MongoDB which has a &lt;code&gt;savedatetime&lt;/code&gt; greater than 3 months&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Trigger the rebuild reporting database for the experience analytics dashboard to get updated. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Note that rebuild reporting database can take time to complete depending on the amount of data in MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can customize the approach based on your requirement if needed.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-08-14T12:35:12.210" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13330" PostTypeId="2" ParentId="13320" CreationDate="2018-08-14T12:38:34.390" Score="3" Body="&lt;p&gt;You can achieve this setup pretty easily.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two instances of Sitecore. For each SOLR core definition you will keep core name (name parameter) and id the same (id attribute).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally config would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_master_index&quot; .....&amp;gt;&#xA;   &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;   &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will just specify &quot;core&quot; parameter as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;param desc=&quot;core&quot;&amp;gt;instance1_$(id)&amp;lt;/param&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;param desc=&quot;core&quot;&amp;gt;instance2_$(id)&amp;lt;/param&amp;gt;&lt;/code&gt; as you need based on instance name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So config in your case would look like this at the end:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_master_index&quot; .....&amp;gt;&#xA;   &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;   &amp;lt;param desc=&quot;core&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For each solution you will have then config files for solr with same file name, solr ids and all the remaining settings. Only difference will be this &quot;core&quot; parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the patch config to apply your instance settings per solr core:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;   &amp;lt;sitecore search:require=&quot;solr&quot;&amp;gt;&#xA;      &amp;lt;contentSearch&amp;gt;&#xA;         &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_master_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_core_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_marketingdefinitions_master&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_marketingdefinitions_web&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_marketing_asset_index_master&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_marketing_asset_index_web&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_testing_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_suggested_test_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_fxm_master_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_fxm_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;            &amp;lt;/indexes&amp;gt;&#xA;         &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/contentSearch&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do not forget about added SXA indexes also if you will have them in the future and also for CD servers, you need to remove master indexes from the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In code you will reuse everything as you have as you are referencing solr index id so you will still reference &quot;sitecore_master_index&quot; or &quot;sitecore_web_index&quot; but based on the deployed configuration in each instance, you will effectively reference different Solr cores based on instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To identify Sitecore Solr cores quickly, you can go to ShowConfig admin page and search for &lt;code&gt;&amp;lt;indexes hint=&quot;list:AddIndex&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will see all 11 out of the box indexes and their respective configuration. You can quickly identify files in which are patched:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HU5hv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HU5hv.png&quot; alt=&quot;Example of search results for list:AddIndex in admin&amp;#39;s show config page.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="288" LastEditDate="2018-08-15T13:01:06.683" LastActivityDate="2018-08-15T13:01:06.683" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13331" PostTypeId="2" ParentId="13324" CreationDate="2018-08-14T13:21:06.090" Score="1" Body="&lt;p&gt;You can create the inventory set separately and associate it with the sellable &#xA;items. These are the steps I follow:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create an &lt;strong&gt;InventorySet&lt;/strong&gt; and associate the inventory set with the&#xA;catalog (You can use the &lt;strong&gt;IAssociateCatalogToInventorySetPipeline&lt;/strong&gt;&#xA;pipeline).  &lt;/li&gt;&#xA;&lt;li&gt;Create an &lt;strong&gt;InventoryInformation&lt;/strong&gt; record. Associate the&#xA;InventoryInformation record with the InventorySet by creating a&#xA;&quot;&lt;strong&gt;InventorySetToInventoryInformation&lt;/strong&gt;&quot; relation using the&#xA;&lt;strong&gt;ICreateRelationshipPipeline&lt;/strong&gt; pipeline. &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Retrieve the &lt;strong&gt;SellableItem&lt;/strong&gt; and&#xA;add an &lt;strong&gt;InventoryComponent&lt;/strong&gt; with an inventoryassociation that points&#xA;to the InventoryInformation entity:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;InventoryAssociations.Add(new InventoryAssociation&#xA;                        {&#xA;                            InventoryInformation = new EntityReference(id),&#xA;                            InventorySet = new EntityReference(inventorySet.Id)&#xA;                        }&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-08-14T13:21:06.090" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13336" PostTypeId="2" ParentId="13191" CreationDate="2018-08-14T22:26:08.397" Score="6" Body="&lt;p&gt;Sitecore Support has determined that this is a bug, &lt;a href=&quot;https://kb.sitecore.net/articles/853187&quot; rel=&quot;nofollow noreferrer&quot;&gt;public reference number&lt;/a&gt; 221523.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While previously it was necessary to &lt;a href=&quot;https://support.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;contact Sitecore Support&lt;/a&gt; if you ran into this issue, Sitecore's Knowledge Base has &lt;a href=&quot;https://kb.sitecore.net/articles/527534&quot; rel=&quot;nofollow noreferrer&quot;&gt;an article covering this issue, with the necessary hotfix&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue is resolved in 9.1.&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2019-08-01T18:38:05.510" LastActivityDate="2019-08-01T18:38:05.510" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="13337" PostTypeId="1" CreationDate="2018-08-15T00:02:36.807" Score="0" ViewCount="147" Body="&lt;p&gt;I'm working on migrating a legacy Sitecore site to JSS. In order to support the field types that they have in the existing site I have to support fields that do not conform to the predefined fieldTypes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I may get the following JSON for a component.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;componentName&quot;: &quot;legacy-component&quot;,&#xA;    &quot;fields: {&#xA;        &quot;FirstName&quot;: &quot;Test&quot;,&#xA;        &quot;LastName&quot;: &quot;User&quot;,&#xA;        &quot;Profile&quot;: {&#xA;            &quot;Url&quot;: &quot;http://example.com&quot;,&#xA;            &quot;Title&quot;: &quot;Profile&quot;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, when simply copying this data via a route into the manifest the data gets converted to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;componentName&quot;: &quot;legacy-component&quot;,&#xA;    &quot;fields: {&#xA;        &quot;FirstName&quot;: {&#xA;            value: &quot;Test&quot;,&#xA;            editable: &quot;Test&quot;&#xA;        },&#xA;        &quot;LastName&quot;: {&#xA;            value: &quot;User&quot;,&#xA;            editable: &quot;User&quot;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that the value and editable fields are being injected (as expected), but the Profile field is being removed entirely. I've explored modifying the source and have some promising leads to be able to add the ability to essentially just pass through a json file for certain kinds of fields, while still supporting the conversion of common field types for the new component data that is added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, I'm wondering if there's a way I can just pass through a copied json file to the manifest without it being modified in any way. The case this solves is FE developers working locally in disconnected mode without knowing anything about JSS or Sitecore, just the consumption of the data.&lt;/p&gt;&#xA;" OwnerUserId="4128" LastActivityDate="2018-08-15T04:03:05.920" Title="Any way to remove disconnected manifest processing?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13338" PostTypeId="2" ParentId="4321" CreationDate="2018-08-15T00:05:37.027" Score="5" Body="&lt;p&gt;Make sure you have updated the Habitat.Dev.config and set the sourceFolder to the src directory of your habitat solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default location is C:\Projects\Habitat and you would expect that to be the root directory of the repository, however that is not the folder the configuration wants. It is looking for the &quot;src&quot; directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your root git folder is C:\Projects\Habitat, then change the value of sourceFolder to the following&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;C:\Projects\Habitat\src&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4129" LastActivityDate="2018-08-15T00:05:37.027" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13339" PostTypeId="1" CreationDate="2018-08-15T03:36:49.800" Score="2" ViewCount="359" Body="&lt;p&gt;I restored my local Sitecore databases to Azure SqlServer.&#xA;And then i tried to make my local Sitecore 9 instance to connect to SQL Server database on Azure (i changed connection string to connect to databases on Azure).&#xA;The local website  &lt;a href=&quot;http://mylocalinstance/sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mylocalinstance/sitecore&lt;/a&gt; worked well but i had a problem with xconnect and the Sitecore Reporting Service didn't work.&#xA;Here is the exception i saw in xconnnect log :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;2018-08-15 10:33:14.870 +07:00 [Error] XConnect Exception Logger LogAsync()&#xA;System.InvalidOperationException: An error occurred when trying to create a controller of type 'InteractionsController'. Make sure that the controller has a parameterless public constructor. ---&gt; System.ArgumentException: Type 'Sitecore.XConnect.Web.Controllers.InteractionsController' does not have a default constructor&#xA;   at System.Linq.Expressions.Expression.New(Type type)&#xA;   at System.Web.Http.Internal.TypeActivator.Create[TBase](Type instanceType)&#xA;   at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.GetInstanceOrActivator(HttpRequestMessage request, Type controllerType, Func`1&amp;amp; activator)&#xA;   at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)&#xA;   at Sitecore.XConnect.Web.DependencyInjection.WebApiServiceControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)&#xA;   at System.Web.Http.Controllers.HttpControllerDescriptor.CreateController(HttpRequestMessage request)&#xA;   at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what is the problem with it ?&lt;/p&gt;&#xA;" OwnerUserId="3701" LastEditorUserId="3701" LastEditDate="2018-08-15T04:29:11.050" LastActivityDate="2018-08-15T04:29:11.050" Title="XConnect Exception When Using Azure SQL Server" Tags="|xconnect|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13341" PostTypeId="2" ParentId="13337" CreationDate="2018-08-15T04:03:05.920" Score="1" Body="&lt;p&gt;By default the sample apps use a disconnected version of Layout Service. Using this service is &lt;em&gt;not&lt;/em&gt; a requirement for JSS apps, it is primarily provided as a convenience for developers. The convenience being that you are able to emulate the data you would receive from the actual Sitecore Layout Service while also preparing your JSS app for code-first deployment. In other words, you have a consistent API for getting started with JSS and eventually integrating with Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can absolutely still work in disconnected mode without using the provided disconnected Layout Service or even the manifest - it's just going to require some effort. If you want to mock the Layout Service data you know you'll be receiving from Sitecore, you might consider building your own service layer to do that. Earlier versions of the JSS sample apps did just that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ugly pseudo-code:&#xA;&lt;code&gt;&#xA;if (env === development) {&#xA;  fetchRouteDataFromLocalFile();&#xA;} else {&#xA;  fetchRouteDataFromSitecoreLayoutService();&#xA;}&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're planning to use code-first deployment, which may or may not make sense for this scenario, you may need to massage your local route data into the format the manifest generator is expecting. Beyond that, your manifest component definitions wouldn't require any changes. And again, manifest generation is completely optional, you only need it if you are deploying code-first or using the disconnected layout service.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-08-15T04:03:05.920" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13342" PostTypeId="2" ParentId="12024" CreationDate="2018-08-15T04:39:07.223" Score="1" Body="&lt;p&gt;I talked to the Sitecore Support about this issues. This is a known bug in the Commerce Engine. The fix for this is the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open Commerce Engine SDK project&lt;/li&gt;&#xA;&lt;li&gt;Open &quot;Startup.cs&quot; file of Sitecore.Commerce.Engine project&lt;/li&gt;&#xA;&lt;li&gt;Add the following code to the end of &quot;Configure&quot; method&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;CultureInfo.CurrentCulture = new CultureInfo(&quot;en-US&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Build project&lt;/li&gt;&#xA;&lt;li&gt;Stop Commerce Engine and replace the &quot;Sitecore.Commerce.Engine.exe&quot; with one which you'be built.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore Commerce 9 Update 1. I don't really know, if this is already fixed in Update 2. But if you are running Update 1 or the initial release, that should fix it.&lt;/p&gt;&#xA;" OwnerUserId="1282" LastActivityDate="2018-08-15T04:39:07.223" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13344" PostTypeId="1" CreationDate="2018-08-15T08:08:30.867" Score="1" ViewCount="2821" Body="&lt;p&gt;I have a sitecore commerce site in my local machine and when I click the 'Book Now' button on the website, it shows this error message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;GetCurrentCart: Activation error occured while trying to get instance&#xA;  of type ICacheManager, key &quot;Sitecore_CommerceCartCache&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lkbX9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lkbX9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The commerceengine site which is in the same machine is also up.&#xA;I tried restarting IIS but no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the registered logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Commerce Server:  Error retrieving the Cache&#xA;  Manager.  Message: Activation error occured while trying to get&#xA;  instance of type ICacheManager, key &quot;Sitecore_CommerceCartCache&quot; 15084&#xA;  13:05:52 ERROR GetCurrentCart failed Exception:&#xA;  Microsoft.Practices.ServiceLocation.ActivationException Message:&#xA;  Activation error occured while trying to get instance of type&#xA;  ICacheManager, key &quot;Sitecore_CommerceCartCache&quot; Source:&#xA;  Sitecore.Commerce.Connect.CommerceServer    at&#xA;  Sitecore.Commerce.Connect.CommerceServer.Caching.EnterpriseLibraryCacheProvider.GetCache(String&#xA;  prefix, String cacheName, String&amp;amp; actualCacheName)    at&#xA;  Sitecore.Commerce.Connect.CommerceServer.Caching.EnterpriseLibraryCacheProvider.GetData[T](String&#xA;  prefix, String cacheName, String cacheKey)    at&#xA;  Sitecore.Foundation.Commerce.Website.Util.CartCacheHelper.GetCart(String&#xA;  customerId) in D:\Projects\External\DC&#xA;  Ecomm\sitecore.demo.retail\src\Foundation\Commerce\Website\Sitecore.Foundation.Commerce.Website\Util\CartCacheHelper.cs:line&#xA;  65    at&#xA;  Sitecore.Feature.Commerce.Orders.Website.Controllers.CartController.GetCurrentCart()&#xA;  in D:\Projects\External\DC&#xA;  Ecomm\sitecore.demo.retail\src\Feature\Orders\Website\Sitecore.Feature.Commerce.Orders.Website\Controllers\CartController.cs:line&#xA;  139&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Microsoft.Practices.Unity.ResolutionFailedException&#xA;  Message: Resolution of the dependency failed, type =&#xA;  &quot;Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager&quot;, name =&#xA;  &quot;Sitecore_CommerceCartCache&quot;. Exception occurred while: while&#xA;  resolving. Exception is: InvalidOperationException - The current type,&#xA;  Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager, is an&#xA;  interface and cannot be constructed. Are you missing a type mapping?&#xA;  ----------------------------------------------- At the time of the exception, the container was:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Resolving&#xA;  Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager,Sitecore_CommerceCartCache&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source: Microsoft.Practices.Unity    at&#xA;  Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object&#xA;  existing, String name, IEnumerable`1 resolverOverrides)    at&#xA;  Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name,&#xA;  ResolverOverride[] resolverOverrides)    at&#xA;  Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type&#xA;  serviceType, String key)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.InvalidOperationException Message: The current type,&#xA;  Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager, is an&#xA;  interface and cannot be constructed. Are you missing a type mapping?&#xA;  Source: Microsoft.Practices.Unity    at&#xA;  Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext&#xA;  context)    at&#xA;  BuildUp_Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager(IBuilderContext&#xA;  )    at&#xA;  Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext&#xA;  context)    at&#xA;  Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext&#xA;  context)    at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type&#xA;  t, Object existing, String name, IEnumerable`1 resolverOverrides)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;1584 13:05:53 ERROR Commerce Server:  Error retrieving the Cache&#xA;  Manager.  Message: Activation error occured while trying to get&#xA;  instance of type ICacheManager, key &quot;Sitecore_CommerceCartCache&quot; 1584&#xA;  13:05:53 ERROR GetCurrentCart failed Exception:&#xA;  Microsoft.Practices.ServiceLocation.ActivationException Message:&#xA;  Activation error occured while trying to get instance of type&#xA;  ICacheManager, key &quot;Sitecore_CommerceCartCache&quot; Source:&#xA;  Sitecore.Commerce.Connect.CommerceServer    at&#xA;  Sitecore.Commerce.Connect.CommerceServer.Caching.EnterpriseLibraryCacheProvider.GetCache(String&#xA;  prefix, String cacheName, String&amp;amp; actualCacheName)    at&#xA;  Sitecore.Commerce.Connect.CommerceServer.Caching.EnterpriseLibraryCacheProvider.GetData[T](String&#xA;  prefix, String cacheName, String cacheKey)    at&#xA;  Sitecore.Foundation.Commerce.Website.Util.CartCacheHelper.GetCart(String&#xA;  customerId) in D:\Projects\External\DC&#xA;  Ecomm\sitecore.demo.retail\src\Foundation\Commerce\Website\Sitecore.Foundation.Commerce.Website\Util\CartCacheHelper.cs:line&#xA;  65    at&#xA;  Sitecore.Feature.Commerce.Orders.Website.Controllers.CartController.GetCurrentCart()&#xA;  in D:\Projects\External\DC&#xA;  Ecomm\sitecore.demo.retail\src\Feature\Orders\Website\Sitecore.Feature.Commerce.Orders.Website\Controllers\CartController.cs:line&#xA;  139&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Microsoft.Practices.Unity.ResolutionFailedException&#xA;  Message: Resolution of the dependency failed, type =&#xA;  &quot;Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager&quot;, name =&#xA;  &quot;Sitecore_CommerceCartCache&quot;. Exception occurred while: while&#xA;  resolving. Exception is: InvalidOperationException - The current type,&#xA;  Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager, is an&#xA;  interface and cannot be constructed. Are you missing a type mapping?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2019-05-17T10:38:07.817" Title="Activation error occured while trying to get instance of type ICacheManager" Tags="|sitecore-commerce|commerce-engine|commerce-server|commerce-connect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13347" PostTypeId="1" CreationDate="2018-08-15T10:21:41.660" Score="3" ViewCount="45" Body="&lt;p&gt;I have &lt;code&gt;AccountsController&lt;/code&gt; in my solution with two methods &lt;code&gt;ExportData&lt;/code&gt; and &lt;code&gt;DeleteAccount&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created two separate Controller Renderings with similar code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using System.Web.Mvc&#xA;@using System.Web.Mvc.Html&#xA;@using Sitecore.HabitatHome.Foundation.Alerts.Models&#xA;@using Sitecore.HabitatHome.Foundation.Dictionary.Extensions&#xA;@using Sitecore.HabitatHome.Foundation.SitecoreExtensions.Extensions&#xA;@using Sitecore.Mvc&#xA;@using Sitecore.Mvc.Configuration&#xA;&#xA;@using (Html.BeginRouteForm(MvcSettings.SitecoreRouteName, FormMethod.Post, new { @class = &quot;form-signin&quot; }))&#xA;{&#xA;    @Html.AddUniqueFormId()&#xA;&#xA;    &amp;lt;div class=&quot;form-group&quot;&amp;gt;&#xA;        &amp;lt;input type=&quot;submit&quot; class=&quot;btn btn-info btn-md btn-block&quot; value=&quot;@Html.Sitecore().Dictionary(&quot;/Accounts/Data Protection/Export Data&quot;, &quot;Export Data&quot;)&quot; /&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Controller Renderings look at the end like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yBkhy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yBkhy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In every rendering only one button is rendered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I keep it like this only the second method is called (DeleteAccount) even though I have clicked on first button (Export Data). I would assume that the proper method from Controller is called.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I remove second rendering from the page. Everything is working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I add &lt;code&gt;@Html.Sitecore().FormHandler(&quot;Accounts&quot;,&quot;ExportData&quot;)&lt;/code&gt; or &lt;code&gt;@Html.Sitecore().FormHandler(&quot;Accounts&quot;,&quot;DeleteAccount&quot;)&lt;/code&gt; inside of using statement, proper method is called however Tracker.Current is null in this case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I create Controller Renderings to support scenario to have them on same page and proper method from Controller is called based on what I have clicked and Tracker.Current is correct?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had these two Controller Renderings before as one but the problem was that I was loosing Tracker.Current and Tracker.Current?.Contact when I clicked on button. I do not want to add StartingTracking to overcome this as it feels like a small hack.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-08-15T10:36:44.483" LastActivityDate="2018-08-15T10:36:44.483" Title="How to make two controller renderings working on same page to preserve tracking?" Tags="|xconnect|controller|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13348" PostTypeId="1" AcceptedAnswerId="13393" CreationDate="2018-08-15T11:03:37.423" Score="0" ViewCount="213" Body="&lt;p&gt;We are using a JSON based contentstore for one of our projects. We are working with Sitecore 9.0 and SXA for generation JSON documents for our content stores. Now our client asks if we can allow calls to children of an endpoint instead of the end-points itself. Is this possible, and if so, how?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for example we have: this&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Endpoint&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Group &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Key&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Value&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;the client wants to do direct requests to: /endpoint/group and wants to retrieve its sub key value pairs.&lt;/p&gt;&#xA;" OwnerUserId="3554" LastEditorUserId="3554" LastEditDate="2018-08-15T11:12:17.217" LastActivityDate="2018-08-17T07:17:24.660" Title="How to allow requests to items underneath an JSON endpoint" Tags="|sxa|presentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13349" PostTypeId="2" ParentId="5053" CreationDate="2018-08-15T11:43:03.707" Score="0" Body="&lt;p&gt;It's worth noting the solution used by &lt;a href=&quot;https://github.com/Sitecore/Habitat/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat&lt;/a&gt; for a similar situation. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;It uses a computed index field to index all the templates in the inheritance hierarchy for each indexed item. The indexing code returns a &lt;code&gt;List&amp;lt;string&amp;gt;&lt;/code&gt; of the IDs (which are formatted without dashes, brackets or braces).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There is an &lt;code&gt;IndexedItem&lt;/code&gt; class with a property called &lt;strong&gt;AllTemplates&lt;/strong&gt; of type &lt;code&gt;List&amp;lt;string&amp;gt;&lt;/code&gt; mapped with an attribute to the index field.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The search code uses the &lt;code&gt;Contains&lt;/code&gt; extension method on the AllTemplates field: &lt;code&gt;expression = expression.Or(i =&amp;gt; i.AllTemplates.Contains(IdHelper.NormalizeGuid(template)));&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-08-15T11:43:03.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13350" PostTypeId="1" CreationDate="2018-08-15T12:01:03.397" Score="2" ViewCount="1620" Body="&lt;p&gt;When you click [Ctrl+Enter] in Rich Text Editor it inserts a paragraph (&lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt;) at the cursor, and also encapsulates the content before the cursor in another paragraph.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've already created a custom Rich Text Editor profile in &lt;code&gt;core://sitecore/system/Settings/Html Editor Profiles/Rich Text Custom&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;which includes a custom Configuration Type which inherits from the default settings, but have set linebreaks to use &lt;code&gt;&amp;lt;br&amp;gt;&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomEditor : Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration&#xA;{&#xA;    protected override void SetupEditor()&#xA;    {&#xA;        base.SetupEditor();&#xA;&#xA;        Editor.NewLineMode = EditorNewLineModes.Br;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Even with this setting, pressing [Ctrl+Enter] in the editor inserts a new paragraph.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I though maybe the &lt;code&gt;Editor.EnableFilter(EditorFilters.FixEnclosingP);&lt;/code&gt; filter might have something to do with it, but enabling/disabling this has no effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, how can I prevent Rich Text Editor from inserting paragraphs when pressing [Ctrl+Enter] on the keyboard?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 Update 5, Issue is tested in IE11 + Chrome68&lt;/p&gt;&#xA;" OwnerUserId="3587" LastEditorUserId="3587" LastEditDate="2018-08-15T13:41:41.933" LastActivityDate="2018-08-15T16:11:49.013" Title="Prevent rich text editor from inserting paragraphs on Ctrl+Enter" Tags="|richtext-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13351" PostTypeId="1" AcceptedAnswerId="13441" CreationDate="2018-08-15T12:09:01.720" Score="3" ViewCount="1594" Body="&lt;p&gt;I'm trying to figure out why certain code is needed in order for a content search query to work with Azure search. I have a multilist field which is indexed by the default indexer in Sitecore, meaning the index field contains data such as&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;search_tags&quot;: &quot;{6537B24A-1B80-4EA0-BBA2-3D3923E0ED4F}|{FA5E4033-F48E-4749-A76A-B62C422D4ABA}|{9B61C09C-2029-4AD6-859E-477F2C1AB95B}&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have my own class called &lt;code&gt;IndexedItem&lt;/code&gt; inheriting &lt;code&gt;Sitecore.ContentSearch.SearchTypes.SearchResultItem&lt;/code&gt;. It has a field property as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;tags&quot;)]&#xA;public List&amp;lt;string&amp;gt; Tags { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using a query against the Tags property does not work (the clause is not included in the request to azure search). &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private Expression&amp;lt;Func&amp;lt;IndexedItem, bool&amp;gt;&amp;gt; GetPredicatesForTags(&#xA;        IEnumerable&amp;lt;string&amp;gt; tagIds)&#xA;    {&#xA;        var tagsPredicate = PredicateBuilder.False&amp;lt;IndexedItem&amp;gt;();&#xA;        foreach (var tagId in tagIds)&#xA;        {&#xA;            tagsPredicate = tagsPredicate.And(item =&amp;gt; item.Tags.Contains(tagId));&#xA;        }&#xA;&#xA;        return tagsPredicate;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using &lt;code&gt;string.Contains&lt;/code&gt; against the field shown below also does not work: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private Expression&amp;lt;Func&amp;lt;IndexedItem, bool&amp;gt;&amp;gt; GetPredicatesForTags(&#xA;        IEnumerable&amp;lt;string&amp;gt; tagIds)&#xA;    {&#xA;        var tagsPredicate = PredicateBuilder.False&amp;lt;IndexedItem&amp;gt;();&#xA;        foreach (var tagId in tagIds)&#xA;        {                &#xA;            tagsPredicate = tagsPredicate.And(item =&amp;gt; item[&quot;tags&quot;].Contains(tagId));&#xA;        }&#xA;&#xA;        return tagsPredicate;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I add &lt;strong&gt;an extra&lt;/strong&gt; &lt;code&gt;Or&lt;/code&gt; predicate with an equals clause, it works:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private Expression&amp;lt;Func&amp;lt;IndexedItem, bool&amp;gt;&amp;gt; GetPredicatesForTags(&#xA;        IEnumerable&amp;lt;string&amp;gt; tagIds)&#xA;    {&#xA;        var tagsPredicate = PredicateBuilder.False&amp;lt;IndexedItem&amp;gt;();&#xA;        foreach (var tagId in tagIds)&#xA;        {                &#xA;            tagsPredicate = tagsPredicate.And(item =&amp;gt; item[&quot;tags&quot;].Contains(tagId));&#xA;            tagsPredicate = tagsPredicate.Or(item =&amp;gt; item[&quot;tags&quot;] == tagId);&#xA;        }&#xA;&#xA;        return tagsPredicate;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With this code, the query sent to azure search includes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;search=search_tags:(2a4b1304\-834c\-430a\-9cc6\-d6286abfc4c7) AND search_tags:(25a06d19\-db86\-4759\-a243\-d580354296b6)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Strangely there only seems to be one query clause per tag ID, not two as the code would suggest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a quirk of Azure Search, or is it common to ContentSearch in general?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5053/multilist-fields-and-azure-search/13349&quot;&gt;Multilist fields and Azure Search&lt;/a&gt; describes a similar problem, but the OP is using a simple string type property on their SearchResultItem class, so the scenario is slightly different.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2018-08-15T13:38:55.810" LastActivityDate="2020-03-16T22:15:42.420" Title="ContentSearch predicates for filtering on a multilist field" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13352" PostTypeId="1" AcceptedAnswerId="13353" CreationDate="2018-08-15T12:12:18.030" Score="3" ViewCount="842" Body="&lt;p&gt;JSS deployment issue with react, using Tech Preview 4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the complete log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PS F:\Drive\my-first-jss-app&amp;gt; jss deploy app -c -d&#xA;JSS is creating a manifest for my-first-jss-app to ./sitecore/manifest...&#xA;Cleaning path ./sitecore/manifest...&#xA;Cleaned:&#xA; F:\Drive\my-first-jss-app\sitecore\manifest\data&#xA;F:\Drive\my-first-jss-app\sitecore\manifest\data\media&#xA;F:\Drive\my-first-jss-app\sitecore\manifest\data\media\files&#xA;F:\Drive\my-first-jss-app\sitecore\manifest\data\media\files\jss.pdf&#xA;F:\Drive\my-first-jss-app\sitecore\manifest\data\media\img&#xA;F:\Drive\my-first-jss-app\sitecore\manifest\data\media\img\jss_logo.png&#xA;F:\Drive\my-first-jss-app\sitecore\manifest\data\media\img\sc_logo.png&#xA;F:\Drive\my-first-jss-app\sitecore\manifest\sitecore-import.json&#xA;Enabling Babel transpilation for the manifest...&#xA;path or pattern './sitecore/pipelines/**/*.patch.js' did not match any files.&#xA;path or pattern './sitecore/pipelines/**/*.patch.ts' did not match any files.&#xA;copied media from: ./data/media/img/sc_logo.png to: sitecore\manifest\data\media\img\sc_logo.png&#xA;copied media from: ./data/media/img/jss_logo.png to: sitecore\manifest\data\media\img\jss_logo.png&#xA;copied media from: ./data/media/files/jss.pdf to: sitecore\manifest\data\media\files\jss.pdf&#xA;Manifest has been generated and written to ./sitecore/manifest/sitecore-import.json&#xA;JSS is manifest packaging my-first-jss-app to ./sitecore/package...&#xA;Adding data/media/files/jss.pdf&#xA;Adding data/media/img/jss_logo.png&#xA;Adding data/media/img/sc_logo.png&#xA;Adding sitecore-import.json&#xA;Wrote sitecore\package\my-first-jss-app.1534334605998.manifest.zip&#xA;Sending package sitecore\package\my-first-jss-app.1534334605998.manifest.zip to http://jssreactweb/sitecore/api/jss/import...&#xA;Unexpected response from import service:&#xA;Status message: Internal Server Error&#xA;Body: &amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;    &amp;lt;head&amp;gt;&#xA;        &amp;lt;title&amp;gt;Could not find base site 'website' for site 'my-first-jss-app'.&amp;lt;/title&amp;gt;&#xA;        &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&amp;gt;&#xA;        &amp;lt;style&amp;gt;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;        &amp;lt;/style&amp;gt;&#xA;    &amp;lt;/head&amp;gt;&#xA;&#xA;    &amp;lt;body bgcolor=&quot;white&quot;&amp;gt;&#xA;&#xA;            &amp;lt;span&amp;gt;&amp;lt;H1&amp;gt;Server Error in '/' Application.&amp;lt;hr width=100% size=1 color=silver&amp;gt;&amp;lt;/H1&amp;gt;&#xA;&#xA;            &amp;lt;h2&amp;gt; &amp;lt;i&amp;gt;Could not find base site 'website' for site 'my-first-jss-app'.&amp;lt;/i&amp;gt; &amp;lt;/h2&amp;gt;&amp;lt;/span&amp;gt;&#xA;&#xA;            &amp;lt;font face=&quot;Arial, Helvetica, Geneva, SunSans-Regular, sans-serif &quot;&amp;gt;&#xA;&#xA;            &amp;lt;b&amp;gt; Description: &amp;lt;/b&amp;gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;            &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;b&amp;gt; Exception Details: &amp;lt;/b&amp;gt;System.InvalidOperationException: Could not find base site 'website' for site 'my-first-jss-app'.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;b&amp;gt;Source Error:&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;table width=100% bgcolor=&quot;#ffffcc&quot;&amp;gt;&#xA;               &amp;lt;tr&amp;gt;&#xA;                  &amp;lt;td&amp;gt;&#xA;                      &amp;lt;code&amp;gt;&#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&amp;lt;/code&amp;gt;&#xA;&#xA;                  &amp;lt;/td&amp;gt;&#xA;               &amp;lt;/tr&amp;gt;&#xA;            &amp;lt;/table&amp;gt;&#xA;&#xA;            &amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;b&amp;gt;Stack Trace:&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;table width=100% bgcolor=&quot;#ffffcc&quot;&amp;gt;&#xA;               &amp;lt;tr&amp;gt;&#xA;                  &amp;lt;td&amp;gt;&#xA;                      &amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&#xA;&#xA;[InvalidOperationException: Could not find base site &amp;amp;#39;website&amp;amp;#39; for site &amp;amp;#39;my-first-jss-app&amp;amp;#39;.]&#xA;   Sitecore.Sites.ConfigSiteProvider.AddInheritedProperties(Site site, SafeDictionary`2 siteDictionary) +447&#xA;   Sitecore.Sites.ConfigSiteProvider.ResolveInheritance(SiteCollection sites, SafeDictionary`2 siteDictionary) +174&#xA;   Sitecore.Sites.ConfigSiteProvider.InitializeSites() +716&#xA;   Sitecore.Sites.ConfigSiteProvider.GetSites() +18&#xA;   System.Linq.&amp;amp;lt;SelectManyIterator&amp;amp;gt;d__17`2.MoveNext() +292&#xA;   Sitecore.Sites.SiteCollection.AddRange(IEnumerable`1 sites) +84&#xA;   Sitecore.Sites.SitecoreSiteProvider.GetSites() +218&#xA;   Sitecore.Sites.DefaultSiteContextFactory.GetSites() +255&#xA;   Sitecore.Sites.DefaultSiteContextFactory.GetSiteContext(String hostName, String fullPath, Int32 portNumber) +124&#xA;   Sitecore.Pipelines.PreAuthenticateRequest.SiteResolver.ResolveSiteContext(HttpRequestArgs args) +579&#xA;   Sitecore.Pipelines.PreAuthenticateRequest.SiteResolver.Process(HttpRequestArgs args) +14&#xA;   (Object , Object[] ) +74&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Web.RequestEventsHandler.OnBeginRequest(HttpContextBase context) +207&#xA;   Sitecore.Nexus.Web.HttpModule.(Object , EventArgs ) +77&#xA;   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136&#xA;   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp;amp; completedSynchronously) +88&#xA;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&#xA;&#xA;                  &amp;lt;/td&amp;gt;&#xA;               &amp;lt;/tr&amp;gt;&#xA;            &amp;lt;/table&amp;gt;&#xA;&#xA;            &amp;lt;br&amp;gt;&#xA;&#xA;            &amp;lt;hr width=100% size=1 color=silver&amp;gt;&#xA;&#xA;            &amp;lt;b&amp;gt;Version Information:&amp;lt;/b&amp;gt;&amp;amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2556.0&#xA;&#xA;            &amp;lt;/font&amp;gt;&#xA;&#xA;    &amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&amp;lt;!--&#xA;[InvalidOperationException]: Could not find base site &amp;amp;#39;website&amp;amp;#39; for site &amp;amp;#39;my-first-jss-app&amp;amp;#39;.&#xA;   at Sitecore.Sites.ConfigSiteProvider.AddInheritedProperties(Site site, SafeDictionary`2 siteDictionary)&#xA;   at Sitecore.Sites.ConfigSiteProvider.ResolveInheritance(SiteCollection sites, SafeDictionary`2 siteDictionary)&#xA;   at Sitecore.Sites.ConfigSiteProvider.InitializeSites()&#xA;   at Sitecore.Sites.ConfigSiteProvider.GetSites()&#xA;   at System.Linq.Enumerable.&amp;lt;SelectManyIterator&amp;gt;d__17`2.MoveNext()&#xA;   at Sitecore.Sites.SiteCollection.AddRange(IEnumerable`1 sites)&#xA;   at Sitecore.Sites.SitecoreSiteProvider.GetSites()&#xA;   at Sitecore.Sites.DefaultSiteContextFactory.GetSites()&#xA;   at Sitecore.Sites.DefaultSiteContextFactory.GetSiteContext(String hostName, String fullPath, Int32 portNumber)&#xA;   at Sitecore.Pipelines.PreAuthenticateRequest.SiteResolver.ResolveSiteContext(HttpRequestArgs args)&#xA;   at Sitecore.Pipelines.PreAuthenticateRequest.SiteResolver.Process(HttpRequestArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Web.RequestEventsHandler.OnBeginRequest(HttpContextBase context)&#xA;   at Sitecore.Nexus.Web.HttpModule.(Object , EventArgs )&#xA;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;--&amp;gt;&#xA;PS F:\Drive\my-first-jss-app&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-08-15T13:44:08.923" LastActivityDate="2018-08-15T13:44:08.923" Title="JSS deployment issue with react, using JSS Tech Preview 4" Tags="|jss|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13353" PostTypeId="2" ParentId="13352" CreationDate="2018-08-15T12:12:18.030" Score="2" Body="&lt;p&gt;The JSS Tech Preview 4 works fine on a fresh installed Sitecore 9, but it was breaking on my another machine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whereas if you were using the older Sitecore Instance with Tech Preview 3 and installing new react app with Tech Preview 4 on it, You will get the above issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;JSS Tech preview 3 was using JSS Server 8.x whereas JSS Tech Preview 4 is using 9.x. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to update:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;JSS Version&lt;/li&gt;&#xA;&lt;li&gt;Upgrade JSS Cli&lt;/li&gt;&#xA;&lt;li&gt;Add deployment secret (which is new in Tech 4)&lt;/li&gt;&#xA;&lt;li&gt;Upgrade Placeholers&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Complete guide how to upgrade your JSS Server.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://jss.sitecore.net/upgrade-guides/manifest-packages&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jss.sitecore.net/upgrade-guides/manifest-packages&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-08-15T12:52:05.983" LastActivityDate="2018-08-15T12:52:05.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13354" PostTypeId="2" ParentId="13327" CreationDate="2018-08-15T12:15:19.383" Score="0" Body="&lt;p&gt;The Dropdown list control does not support multiple select. Even if it did, from a UX perspective, that's not the control you would want to use. A dropdown indicates to the user that you want only one option selected. For multiple select, a form should use something like a checkbox list or a list box to indicate visually to the user that multiple answers are expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, the most likely control you want is a &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/creating_forms/the_list_elements#_List_box&quot; rel=&quot;nofollow noreferrer&quot;&gt;List Box&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Use the List box element to display a list of options where a contact&#xA;  can select any number of choices, including zero, one, or several.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It contains a &lt;strong&gt;Selection Mode&lt;/strong&gt; property which you can use to change it to allow multiple select:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Selection Mode:&lt;/strong&gt;&#xA;  Indicates whether only a single item or multiple items can be selected&#xA;  from the list at one time. The options are Single or Multiple.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Alternatively, if the number of options you have is small, you could use a &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/creating_forms/the_list_elements#_Checkbox_list&quot; rel=&quot;nofollow noreferrer&quot;&gt;Checkbox list&lt;/a&gt; control. It is always intended for multiple select, but from a UX perspective you should only use this when you have a small number of items to select from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;References:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Documentation landing page: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;The list elements: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/creating_forms/the_list_elements&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/creating_forms/the_list_elements&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Adding list items to forms: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/creating_forms/add_list_items&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/creating_forms/add_list_items&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-08-15T12:15:19.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13355" PostTypeId="1" CreationDate="2018-08-15T13:06:47.893" Score="4" ViewCount="726" Body="&lt;p&gt;I'm using Sitecore 9.0 Update 1 and XC9 Update 1 in a project for a European customer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We created our own environment based on the OOTB Habitat-environment. In the config-file we set EUR to be the default currency. USD was always just added as an option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my &quot;Currency Configuration&quot; I use the currency set &quot;Default&quot;, which has &quot;EUR&quot; assigned as default currency.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also all prices, that are assigned to the sellable items (wether list prices or price cards / price card snapshots), use just EUR as currency.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I try to add a product to the cart, that does not have a USD-price assigned, I get the following error in the commerce engine log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR CtxMsg.Error.LineIsNotPurchasable: Text=Item 'My Product' is not purchasable.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But if I add a price with currency &quot;USD&quot;, it works fine. I assume, I'm doing something wrong, sadly I wasn't able to figure out what it is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use the &lt;code&gt;CartServiceProvider&lt;/code&gt; from the &lt;code&gt;Sitecore.Commerce.Connect.Core.dll&lt;/code&gt; and use it's &lt;code&gt;AddCartLines&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a simplified version of the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var currency = &quot;EUR&quot;;&#xA;var cartLine = new CommerceCartLine(catalog, product.ProductId, null, product.Quantity);&#xA;var request = new AddCartLinesRequest(cart, new[] { cartLine })&#xA;{&#xA;    CurrencyCode = currency,&#xA;    Shop = new Shop { Name = Consts.ShopName }&#xA;};&#xA;&#xA;_cartServiceProvider.AddCartLines(request);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;:&#xA;I also noticed, that the cart always uses the list price to calculate the totals. That's a weird, because the price is calculated correctly based on the price card snapshots, when I use the &lt;code&gt;PricingServiceProvider&lt;/code&gt; and it's &lt;code&gt;GetProductPrices&lt;/code&gt; method. To assign price card snapshots to sellable items, we use tags. Maybe it's a problem when the cart tries to calculate the prices based on tags?&lt;/p&gt;&#xA;" OwnerUserId="1282" LastEditorUserId="1282" LastEditDate="2018-08-22T06:13:54.657" LastActivityDate="2018-08-27T14:28:10.623" Title="Products need USD price to be added to cart" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="13356" PostTypeId="1" AcceptedAnswerId="13362" CreationDate="2018-08-15T13:27:34.033" Score="0" ViewCount="193" Body="&lt;p&gt;I've some problems in understanging how to setup unicorn for content Staging. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;First of all I've installed and setup unicorn so far for my developer Items I want to sync to my Staging server, that works fine with calling the powershell &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sync-Unicorn -ControlPanelUrl &quot;http://sitecore.local/unicorn.aspx&quot; -SharedSecret 'XYZ...123'&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I've also created a unicorn config file for my content Items which my content authors will create and which should be synced between my Live and Staging environments and here I thought I could export only this yaml files on my staging system and import them on my live system and sync them there an vice versa when I want my live content on my staging machine. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is this right or I am missing here something? And when this is right how to implement this?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-08-15T15:43:11.557" Title="How to use Unicorn for Content Staging" Tags="|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13357" PostTypeId="1" CreationDate="2018-08-15T13:29:15.900" Score="0" ViewCount="595" Body="&lt;p&gt;I faced a very weird situation. I got a heritage with Sitecore 8.0 web site with analytics enabled. Everything works OK. But now I got a task to enable personalization for some components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I studied manuals and tried to implement a simple rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/S76Cy.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/S76Cy.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I edited this component either from Experience Editor or from Presentation -&gt; details -&gt; Controls..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the layouts I can see that there are two rules:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Yfua3.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Yfua3.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But after saving and publishing, when I open this page, I can't see any effect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Internet there is no articles with a similar problem, so I absolutely don't know what to do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sincerely,&#xA;  Dmitry &lt;/p&gt;&#xA;" OwnerUserId="4134" LastEditorUserId="605" LastEditDate="2018-09-14T14:07:23.487" LastActivityDate="2020-02-19T12:50:22.047" Title="SItecore 8.0 Personalization doesn't work" Tags="|experience-analytics|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13358" PostTypeId="2" ParentId="13357" CreationDate="2018-08-15T13:33:20.227" Score="1" Body="&lt;p&gt;Sometimes this is due to component-level caching. If the component, or any of the 'parent components' (components it sits inside thanks to placeholders) have caching enabled, the personalization won't be executed and it will just load from the cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure that all caching is disabled so that you can be sure the personalization is getting executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(This may not be the actual issue, but is one possible issue)&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-08-15T13:33:20.227" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13359" PostTypeId="1" AcceptedAnswerId="13360" CreationDate="2018-08-15T14:04:47.657" Score="2" ViewCount="655" Body="&lt;p&gt;How can I disable inline editing of rich text fields in Experience Editor?&#xA;I still want the users to be able to click the edit icon in the toolbar popup (leftmost icon in the attached screenshot) so that they can go to the full editor, but I don't want them to be able to insert text directly onto the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HHds9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HHds9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3587" LastActivityDate="2023-02-17T18:27:05.990" Title="Disable inline editing of rich text fields in Experience Editor" Tags="|experience-editor|richtext-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13360" PostTypeId="2" ParentId="13359" CreationDate="2018-08-15T14:54:55.050" Score="2" Body="&lt;p&gt;You can execute JavaScript on page load that will set &lt;em&gt;contenteditable&lt;/em&gt; attribute to false for all text boxes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(&quot;.scWebEditInput&quot;).attr(&quot;contenteditable&quot;, false)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-08-15T14:54:55.050" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13362" PostTypeId="2" ParentId="13356" CreationDate="2018-08-15T15:43:11.557" Score="1" Body="&lt;p&gt;Unicorn is a unidirectional tool, designed to push developer items &lt;em&gt;up&lt;/em&gt; between environments. If you're wanting to pull content &lt;em&gt;down&lt;/em&gt; from higher environments, have a look at &lt;a href=&quot;https://github.com/JeffDarchuk/SitecoreSidekick&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Sidekick&lt;/a&gt;, which is designed to pull content in reverse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In most cases, nonessential content items should not be owned by Unicorn.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-08-15T15:43:11.557" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13363" PostTypeId="2" ParentId="13350" CreationDate="2018-08-15T16:11:49.013" Score="4" Body="&lt;p&gt;There is a setting in config which allows you to set which tag to use for line breaks. By default it is set to use the &lt;code&gt;p&lt;/code&gt; tag but you can change it to something else, using a &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/using_patch_files_to_customize_the_sitecore_configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;patch config file&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!--&#xA;        HTML EDITOR LINE BREAK&#xA;        Specifies the tag that the HTML editor inserts on Enter. Values can be&#xA;        &quot;br&quot;, &quot;div&quot; and &quot;p&quot;.        &#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;HtmlEditor.LineBreak&quot; set:value=&quot;br&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;     &#xA;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should achieve what you are trying to do in the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You mention you are using [Ctrl+Enter] but in all instances I have tried this does nothing. Using as default install, [Enter] inserts a &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tag, and [Shift+Enter] inserts a &lt;code&gt;&amp;lt;br /&amp;gt;&lt;/code&gt; tag. It is the same behaviour in Chrome, Firefox and IE11 but hopefully the above helps.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-08-15T16:11:49.013" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13364" PostTypeId="1" CreationDate="2018-08-15T17:48:18.060" Score="1" ViewCount="183" Body="&lt;p&gt;I am trying to create a report of all placeholders and the rendering options available inside them. For this, I want to get all renderings within a placeholder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way get I can get all the renderings available in a placeholder in Sitecore using the Sitecore API? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1073" LastActivityDate="2018-08-15T17:51:24.057" Title="Get renderings for a placholder" Tags="|presentation|placeholders|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13365" PostTypeId="1" AcceptedAnswerId="13410" CreationDate="2018-08-15T17:51:19.963" Score="4" ViewCount="103" Body="&lt;p&gt;I am implementing a custom processor for item:created and I'm wondering if there is any easy way to determine if the item being created is being processed through the context of a user using Sitecore itself(say someone using the browser to create an item) or if it is being created when the item is being installed through a sitecore package or update installation wizard package?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know if how to differentiate that?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="2056" LastEditDate="2019-02-12T13:20:56.123" LastActivityDate="2019-02-12T13:20:56.123" Title="Is there a way to differentiate when a custom processor is being executed out of Sitecore context instead of a package being installed?" Tags="|pipelines|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13366" PostTypeId="2" ParentId="13364" CreationDate="2018-08-15T17:51:24.057" Score="1" Body="&lt;p&gt;You can use : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private IEnumerable&amp;lt;Sitecore.Data.Items.RenderingItem&amp;gt; GetRenderings(string placeholderKey, Sitecore.Data.Items.Item item)&#xA;{&#xA;  Sitecore.Layouts.RenderingReference[] renderings = GetRenderingReferences(item, &quot;default&quot;);&#xA;  foreach (var rendering in renderings)&#xA;  {&#xA;    if (rendering.Placeholder == placeholderKey)&#xA;    {&#xA;      yield return rendering.RenderingItem;&#xA;    }&#xA;  }&#xA;}&#xA;&#xA;&#xA;private Sitecore.Layouts.RenderingReference[] GetRenderingReferences(Sitecore.Data.Items.Item item, string deviceName)&#xA;{&#xA;  Sitecore.Data.Fields.LayoutField layoutField = item.Fields[&quot;__renderings&quot;];&#xA;  Sitecore.Layouts.RenderingReference[] renderings = layoutField.GetReferences(GetDeviceItem(item.Database, deviceName));&#xA;  return renderings;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here you can find multiple methods about placeholders API: &lt;a href=&quot;https://briancaos.wordpress.com/2013/12/17/get-sitecore-placeholders-and-rendering-hierarchy-from-a-sitecore-item/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2013/12/17/get-sitecore-placeholders-and-rendering-hierarchy-from-a-sitecore-item/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-15T17:51:24.057" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13367" PostTypeId="1" AcceptedAnswerId="13406" CreationDate="2018-08-15T18:36:19.853" Score="6" ViewCount="2554" Body="&lt;p&gt;I have been working on a problem for a bit now, and coming back to it again.  I have most of it taken care of, thanks to previously posted questions &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13094/sitecore-7-2-parsing-a-droplink-field-in-viewmodel?noredirect=1#comment20043_13094&quot;&gt;https://sitecore.stackexchange.com/questions/13094/sitecore-7-2-parsing-a-droplink-field-in-viewmodel?noredirect=1#comment20043_13094&lt;/a&gt;, but I am still having an issue getting the needed value out of the droplink field.&lt;/p&gt;&#xA;&lt;p&gt;I have a field template, called EventInfo, which has two properties, EventName and EventGuidNumber.  Both are single-line text field types.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&quot;https://www.hda.org/images/misc/screen1.png&quot; alt=&quot;Pic 1&quot; /&gt;&lt;/p&gt;&#xA;&lt;p&gt;EventName has the acronym we use for the event, EventGuidNumber has the GUID our association management DB has for the event.  I am trying to use the EventGuidNumber in our custom event code, to dynamically pull schedules, speakers, attendees, etc.&lt;/p&gt;&#xA;&lt;p&gt;The EventInfo field template is used in the droplink field called NetForumID.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&quot;https://www.hda.org/images/misc/screen5.png&quot; alt=&quot;Pic 2&quot; /&gt;&lt;/p&gt;&#xA;&lt;p&gt;The NetForumID droplink uses the list of eventinfo items as the data source.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jQRlO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jQRlO.png&quot; alt=&quot;Pic 3&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The NetForumID droplink is part of the overall Event template.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DYfvN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DYfvN.png&quot; alt=&quot;Pic 4&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Here is a section of code from the model:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &amp;quot;{C65FF46A-5E22-48E1-BB73-D0B2A82AD691}&amp;quot;, AutoMap = true)] /*Event ID template*/&#xA;public class EventIdDropdown&#xA;{&#xA;    [SitecoreField(&amp;quot;NetForumId&amp;quot;)]&#xA;    public virtual Guid Id { get; set; }&#xA;&#xA;    public virtual NetForumEvent NetForumId { get; set; }&#xA;}&#xA;&#xA;[SitecoreType(TemplateId = &amp;quot;{36371859-7FF2-47D0-86F1-1579416AA584}&amp;quot;, AutoMap = true)]&#xA;public class Event&#xA;{&#xA;    public virtual EventIdDropdown EventGuidNumber { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;When I test it, the correct property GUID shows up in EventIdDropdown Id, but NetForumId remains null.  I have tried using various permutations of code, including changing NetforumId to EventGuidNumber, and changing the template from the existing GUID (which points to the template EventInfo) to the GUID for the overall Event template.  In each case, the result is the same - EventIdDropdown.Id has a GUID value, EventIdDropdown.NetForumId remains null.&lt;/p&gt;&#xA;&lt;p&gt;We are on Sitecore7.2 and using GlassMapper 3.&lt;/p&gt;&#xA;&lt;p&gt;What am I missing? To me, the issue appears to be that I am not hooking into the actual value of the droplink, EventGuidNumber, correctly, but I am stumped on what else to try.&lt;/p&gt;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="1408" LastEditorUserId="1542" LastEditDate="2022-12-30T10:04:46.370" LastActivityDate="2022-12-30T10:04:46.370" Title="Getting value out of Sitecore DropLink with GlassMapper" Tags="|glass-mapper|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13368" PostTypeId="1" CreationDate="2018-08-15T20:44:51.237" Score="1" ViewCount="76" Body="&lt;p&gt;I am trying to install Sitecore 6.5(Sitecore 6.5.0 rev. 110602.exe) from sitecore sdn.I am using windows 10 local server to install sitecore 6.5.However, i am getting an error &quot;IIS is not installed or is a lower version than 5&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is screenshot of the error.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/IHA1G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IHA1G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-08-15T21:24:06.817" Title="Sitecore 6.5 installation on windows 10" Tags="|installation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13369" PostTypeId="2" ParentId="13368" CreationDate="2018-08-15T21:24:06.817" Score="3" Body="&lt;p&gt;The Sitecore Installation Wizard won't support that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you can still do it. I recently successfully installed a Sitecore version 6.0 using Sitecore Instance Manager. Download that, and download &quot;Zip Archive of the CMS Root&quot; version of your Sitecore version, and you're good to go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll find it here. &lt;a href=&quot;http://dl.sitecore.net/updater/sim/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Instance Manager&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-08-15T21:24:06.817" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13371" PostTypeId="1" AcceptedAnswerId="13586" CreationDate="2018-08-16T01:58:54.483" Score="3" ViewCount="422" Body="&lt;p&gt;I have a role which is inheriting for other roles (one of which is sitecore\Designer). The role now has all access rights to Templates and its sub items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I want to reduce the access rights such that the role will only have &quot;Read&quot; access to Templates and all it's sub items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;1) to tick X/Deny on the &quot;Inheritance&quot; column of Templates and then to tick Allow for the &quot;Read&quot; column of Templates, didn't work&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;2) to tick X/Deny on the &quot;Inheritance&quot; column of Templates and then to tick Allow for the &quot;Read&quot; column of all subitems, seemed to work at first but then stopped working&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I would like to apply settings to roles only and not directly to users. And avoid explicit denial.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I achieve this narrowing down of security?&lt;/p&gt;&#xA;" OwnerUserId="3799" LastEditorUserId="3799" LastEditDate="2018-08-16T03:54:51.263" LastActivityDate="2018-08-29T04:34:42.773" Title="Decreasing security rights on sitecore role" Tags="|security|role-management|editor-user-permissions|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13372" PostTypeId="2" ParentId="13321" CreationDate="2018-08-16T03:11:35.327" Score="5" Body="&lt;p&gt;It is not possible using the patching mechanism in Sitecore to replace the values of multiple elements using a single patch config statement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;If the values&lt;/em&gt; happen to all be the same, and you want to replace them, one possible solution is to make use of &lt;code&gt;sc.variables&lt;/code&gt;, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;myConfigValue&quot; value=&quot;S1t3c0r3&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then make use of this variable in your configuration, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;xx&amp;gt;&#xA; &amp;lt;yy id=&quot;1&quot;&amp;gt;&#xA;     &amp;lt;zz value=&quot;$(myConfigValue)&quot; /&amp;gt;&#xA; &amp;lt;/yy&amp;gt;&#xA; &amp;lt;yy id=&quot;2&quot;&amp;gt;&#xA;     &amp;lt;zz value=&quot;$(myConfigValue)&quot; /&amp;gt;&#xA; &amp;lt;/yy&amp;gt;&#xA; &amp;lt;yy id=&quot;3&quot;&amp;gt;&#xA;     &amp;lt;zz value=&quot;$(myConfigValue)&quot; /&amp;gt;&#xA; &amp;lt;/yy&amp;gt;&#xA; &amp;lt;yy id=&quot;4&quot;&amp;gt;&#xA;     &amp;lt;zz value=&quot;$(myConfigValue)&quot; /&amp;gt;&#xA; &amp;lt;/yy&amp;gt;&#xA;&amp;lt;/xx&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you need to change the value, then you can use a patch config to change the value of the variable, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;myConfigValue&quot; value=&quot;eXp1r13nc3&quot; /&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As long as any nodes you add later use the variable token, it will get replaced by Sitecore during the patching process.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-08-16T03:11:35.327" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13376" PostTypeId="2" ParentId="13348" CreationDate="2018-08-16T06:31:13.260" Score="2" Body="&lt;p&gt;Not sure if this is exactly what you expected but take a look bellow. For the following structure:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Q68zt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q68zt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to generate such JSON:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7oruP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7oruP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using just Json Content rendering with following Rendering Variant:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EqRLw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EqRLw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can modify the query as you need...&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-08-16T06:31:13.260" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13377" PostTypeId="1" CreationDate="2018-08-16T09:14:44.930" Score="2" ViewCount="359" Body="&lt;p&gt;I patched the Initialize Pipeline InitializeControllerFactory processor to point to my new solution InitializeControllerProcessor via:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Loader.InitializeControllerFactory, Sitecore.Mvc&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Test.Engine.Storefront.Core.Pipelines.ControllerFactory.InitializeControllerFactory, Test.Engine.Storefront.Core&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The sonfig is reflected conrrectly in /sitecore/admin/showconfig.aspx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a new class that implements IWindsorInstaller and pointed my Initialize Controller factory class to use Windsor.cs that uses that class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TestDependenciesInstaller : IWindsorInstaller&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Performs the installation in the &amp;lt;see cref=&quot;T:Castle.Windsor.IWindsorContainer&quot; /&amp;gt;.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;container&quot;&amp;gt;The container.&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;store&quot;&amp;gt;The configuration store.&amp;lt;/param&amp;gt;&#xA;    public void Install(IWindsorContainer container, IConfigurationStore store)&#xA;    {&#xA;        container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.Reference.Storefront.Powered.by.SitecoreCommerce&quot;)&#xA;          .BasedOn&amp;lt;IController&amp;gt;()&#xA;          .LifestyleTransient());&#xA;&#xA;        container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.Reference.Storefront.Powered.by.SitecoreCommerce&quot;)&#xA;          .BasedOn&amp;lt;IHttpController&amp;gt;()&#xA;          .LifestyleTransient());&#xA;&#xA;        container.Register(Classes.FromThisAssembly()&#xA;          .BasedOn&amp;lt;IController&amp;gt;()&#xA;          .LifestyleTransient());&#xA;&#xA;        container.Register(Classes.FromThisAssembly()&#xA;          .BasedOn&amp;lt;IHttpController&amp;gt;()&#xA;          .LifestyleTransient());&#xA;&#xA;        container.Register(Classes.FromAssemblyNamed(&quot;Test.Engine.Storefront&quot;)&#xA;          .BasedOn&amp;lt;IController&amp;gt;()&#xA;          .LifestyleTransient());&#xA;&#xA;        container.Register(Classes.FromAssemblyNamed(&quot;Test.Engine.Storefront&quot;)&#xA;          .BasedOn&amp;lt;IHttpController&amp;gt;()&#xA;          .LifestyleTransient());&#xA;&#xA;        container.Register(Classes.FromAssemblyContaining&amp;lt;CartServiceProvider&amp;gt;()&#xA;          .Pick()&#xA;          .WithService.DefaultInterfaces());&#xA;&#xA;        container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.Reference.Storefront.Powered.by.SitecoreCommerce&quot;)&#xA;          .Pick()&#xA;          .WithService.DefaultInterfaces());&#xA;&#xA;        container.Register(Classes.FromThisAssembly()&#xA;          .Pick()&#xA;          .WithService.DefaultInterfaces());&#xA;&#xA;        container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.Commerce.Connect.CommerceServer&quot;).Pick());&#xA;&#xA;        container.Register(Classes.FromAssemblyNamed(&quot;Sitecore.Reference.Storefront.Common&quot;).Pick());&#xA;&#xA;        container.Register(Classes.FromAssemblyNamed(&quot;Test.Engine.Storefront&quot;).Pick());&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I added a new controller that extends catalogController and updated the rendering in sitecore to point to that controller.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TestCatalogController : CatalogController&#xA;    {&#xA;        public TestCatalogController (&#xA;            InventoryManager inventoryManager, &#xA;            ContactFactory contactFactory, &#xA;            AccountManager accountManager, &#xA;            CatalogManager catalogManager, &#xA;            GiftCardManager giftCardManager, &#xA;            PricingManager pricingManager, &#xA;            CartManager cartManager) : base(inventoryManager, contactFactory, accountManager, catalogManager, giftCardManager, pricingManager, cartManager)&#xA;        {&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// An action to manage data for the ProductList&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;pageNumber&quot;&amp;gt;The page number.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;facetValues&quot;&amp;gt;The facet values.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sortField&quot;&amp;gt;The sort field.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sortDirection&quot;&amp;gt;The sort direction.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&#xA;        /// The view that represents the ProductList&#xA;        /// &amp;lt;/returns&amp;gt;&#xA;        public ActionResult MultipleProductLists(&#xA;            [Bind(Prefix = StorefrontConstants.QueryStrings.Paging)] int? pageNumber,&#xA;            [Bind(Prefix = StorefrontConstants.QueryStrings.Facets)] string facetValues,&#xA;            [Bind(Prefix = StorefrontConstants.QueryStrings.Sort)] string sortField,&#xA;            [Bind(Prefix = StorefrontConstants.QueryStrings.SortDirection)] CommerceConstants.SortDirection? sortDirection)&#xA;        {&#xA;            var productSearchOptions = new CommerceSearchOptions&#xA;            {&#xA;                NumberOfItemsToReturn = StorefrontConstants.Settings.DefaultItemsPerPage,&#xA;                StartPageIndex = 0,&#xA;                SortField = sortField&#xA;            };&#xA;&#xA;            var currentRendering = RenderingContext.Current.Rendering;&#xA;            if (string.IsNullOrEmpty(currentRendering.DataSource))&#xA;            {&#xA;                return GetNoDataSourceView();&#xA;            }&#xA;&#xA;            var datasource = currentRendering.Item;&#xA;&#xA;            var multipleProductSearchResults = this.CatalogManager.GetMultipleProductSearchResults(datasource, productSearchOptions);&#xA;            if (multipleProductSearchResults != null)&#xA;            {&#xA;                multipleProductSearchResults.Initialize(this.CurrentRendering);&#xA;                multipleProductSearchResults.DisplayName = datasource.DisplayName;&#xA;&#xA;                var products = multipleProductSearchResults.ProductSearchResults.SelectMany(productSearchResult =&amp;gt; productSearchResult.Products).ToList();&#xA;                this.CatalogManager.GetProductBulkPrices(this.CurrentVisitorContext, products);&#xA;                this.CatalogManager.InventoryManager.GetProductsStockStatusForList(this.CurrentStorefront, products);&#xA;&#xA;                foreach (var productViewModel in products)&#xA;                {&#xA;                    Item productItem = multipleProductSearchResults.SearchResults&#xA;                        .SelectMany(productSearchResult =&amp;gt; productSearchResult.SearchResultItems)&#xA;                        .Where(item =&amp;gt; item.Name == productViewModel.ProductId).FirstOrDefault();&#xA;                    productViewModel.CustomerAverageRating = this.CatalogManager.GetProductRating(productItem);&#xA;                }&#xA;&#xA;                return View(this.GetRenderingView(&quot;ProductRecommendation&quot;), multipleProductSearchResults);&#xA;            }&#xA;&#xA;            return View(this.GetRenderingView(&quot;ProductRecommendation&quot;));&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, when I deploy this solution in sitecore commerce out of the box solution, I get an error asking me to ensure that controller has a parameterless constructor. How do I extend the solution to inject the dependencies in constructor correctly?&lt;/p&gt;&#xA;" OwnerUserId="4132" LastEditorUserId="4132" LastEditDate="2018-08-17T06:30:35.800" LastActivityDate="2018-08-17T06:30:35.800" Title="How to inject dependencies in solution that extends Sitecore Reference Storefront" Tags="|sitecore-commerce|dependency-injection|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13379" PostTypeId="1" CreationDate="2018-08-16T11:50:06.473" Score="2" ViewCount="149" Body="&lt;p&gt;I am using SXA 1.7 and when using Date Range Filter and choose start date equal to end date it doesn't return data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when i investigated this issue i found that it occurs when the field used is of type date time but it is working with date field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example: if i have item with field date time = 2018-08-07T06:30:00Z it doesn't return data when filter by start = 2018-08-07 and end = 2018-08-07&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Help?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2018-08-16T11:50:06.473" Title="SXA Date Range Filter" Tags="|sxa|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13382" PostTypeId="2" ParentId="12127" CreationDate="2018-08-16T13:08:59.370" Score="0" Body="&lt;p&gt;You can use your existing &lt;code&gt;dimensions and segments&lt;/code&gt;, just add relevant &lt;code&gt;DimensionKeys&lt;/code&gt; to the &lt;code&gt;chart&lt;/code&gt; (e.g., for a pattern match, add patternCard item id to the key rendering properties, without braces and dashes), and you can see that data will appear in the chart. this trick worked for me.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CDzSW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CDzSW.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4139" LastEditorUserId="5774" LastEditDate="2021-06-14T11:44:36.743" LastActivityDate="2021-06-14T11:44:36.743" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13383" PostTypeId="1" CreationDate="2018-08-16T14:26:23.037" Score="1" ViewCount="42" Body="&lt;p&gt;I see several cloud providers offering pipeline services - GCloud with Dataflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am wondering how and when to use it in an complex application architecture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It doesn't seem adapted for serving data to a web UI because of the execution time. I could see the use for complex data processing in batch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are your thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any links to online ressource would be welcome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="4141" LastActivityDate="2018-08-16T14:26:23.037" Title="What are the benefit of pipelines?" Tags="|pipelines|cloud|" AnswerCount="0" CommentCount="0" ClosedDate="2018-08-16T14:43:44.540" ContentLicense="CC BY-SA 4.0" />
  <row Id="13384" PostTypeId="1" CreationDate="2018-08-16T14:28:26.727" Score="4" ViewCount="1953" Body="&lt;p&gt;Is it possible in Sitecore 7.5 to bind all the names in a Name Value Lookup to a datasource?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example the name will be represented as a dropdown list.&lt;/p&gt;&#xA;" OwnerUserId="4142" LastActivityDate="2018-08-16T15:10:26.190" Title="Name Value Lookup List where Name is from data source" Tags="|fieldtype|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13385" PostTypeId="2" ParentId="13384" CreationDate="2018-08-16T14:50:03.997" Score="1" Body="&lt;p&gt;Not really, no. But I've used a custom field type many times that sort of does what you ask.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's called &lt;a href=&quot;https://github.com/getfishtank/Sitecore-UnboundDroplist&quot; rel=&quot;nofollow noreferrer&quot;&gt;Unbound Droplist&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It basically allows you to set a pipe delimited string as values in a droplist. Like &lt;code&gt;red|white|orange&lt;/code&gt;. It's not quite what you ask, but I would need to know more about what you're trying to accomplish to narrow an answer down further.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-08-16T14:50:03.997" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13386" PostTypeId="2" ParentId="13384" CreationDate="2018-08-16T14:56:11.840" Score="6" Body="&lt;p&gt;This is not possible out of the box, you will need to create a custom field in order to achieve this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've previously blogged about a custom &lt;a href=&quot;https://jammykam.wordpress.com/2015/03/08/custom-sitecore-field-for-storing-keyvalue-data-with-lookups/&quot; rel=&quot;noreferrer&quot;&gt;Name Value Lookup field&lt;/a&gt;, which allows the key portion of the list to be datasource driven and only selectable from a dropdown list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xzYWh.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xzYWh.png&quot; alt=&quot;Custom Name Value field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the code is available in this &lt;a href=&quot;https://gist.github.com/jammykam/de0dabe2ac4612fe649e&quot; rel=&quot;noreferrer&quot;&gt;Github Gist&lt;/a&gt;, but essentially:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a new custom field that inherits from &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.NameLookupValue&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Override the &lt;code&gt;OnLoad&lt;/code&gt; method (inherited from base of above), and provide your own implementations of &lt;code&gt;LoadValue()&lt;/code&gt; and &lt;code&gt;BuildControl()&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;li&gt;The original &lt;code&gt;LoadValue()&lt;/code&gt; code has a regex validation in there which disallows dashes (i.e. not good for GUIDs)&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;BuildControl()&lt;/code&gt; method calls through to generate the required markup of your control. In the case of this custom field, &lt;a href=&quot;https://gist.github.com/jammykam/de0dabe2ac4612fe649e#file-namelookuplist-L112&quot; rel=&quot;noreferrer&quot;&gt;line 112&lt;/a&gt; is where the call is made to get the collection of items based on the datasource value and then build the dropdown list. Modify the logic and markup as required.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There is also &lt;a href=&quot;https://pratiksatikunvar.wordpress.com/2018/08/11/namelookuplist-field-with-query-and-dynamic-item-field-sources/&quot; rel=&quot;noreferrer&quot;&gt;a more recent post&lt;/a&gt; that builds on the above and allows use of Datasource queries to resolve the list, if that is a requirement.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-08-16T15:10:26.190" LastActivityDate="2018-08-16T15:10:26.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13387" PostTypeId="1" CreationDate="2018-08-16T17:37:58.823" Score="0" ViewCount="3065" Body="&lt;p&gt;JSS start connected mode issue, using JSS Tech Preview 4, React, Sitecore 9 Update2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the complete log.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jss.sc/sitecore/api/jss/dictionary/my-first-jss-app/en?sc_apikey={078944F4-4AAB-4086-9C04-060BAE991F81}:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)&#xA;(index):1 &#xA;Failed to load http://jss.sc/sitecore/api/jss/dictionary/my-first-jss-app/en?sc_apikey={078944F4-4AAB-4086-9C04-060BAE991F81}: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 500. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.&#xA;(index):1 &#xA;Failed to load http://jss.sc/sitecore/api/layout/render/jss?item=%2F&amp;amp;sc_lang=en&amp;amp;sc_apikey=%7B078944F4-4AAB-4086-9C04-060BAE991F81%7D: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.&#xA;index.js:1 &#xA;Route data fetch error Error: Network Error&#xA;    at createError (createError.js:16)&#xA;    at XMLHttpRequest.handleError (xhr.js:87)&#xA;function.console.(anonymous function) @ index.js:1&#xA;(index):1 &#xA;Uncaught (in promise) TypeError: Failed to fetch&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the browser shows this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3A6BS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3A6BS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-08-17T04:22:42.233" LastActivityDate="2018-08-17T04:22:42.233" Title="JSS start connected mode issue" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13388" PostTypeId="2" ParentId="13387" CreationDate="2018-08-16T18:01:29.830" Score="2" Body="&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to reproduce the issue via the steps below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a single browser window, multiple tabs:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Login to Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Open JSS app in Experience Editor (&lt;em&gt;keep tab open&lt;/em&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Wait for forms auth to timeout (set to 1 minute in web.config)&lt;/li&gt;&#xA;&lt;li&gt;In a separate tab, in the same browser window where EE is open, request &lt;a href=&quot;http://localhost:3000&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:3000&lt;/a&gt; in connected mode&lt;/li&gt;&#xA;&lt;li&gt;See CORS error due to:&#xA;&lt;code&gt;&#xA;Exception: System.Web.HttpException&#xA;Message: Cannot redirect after HTTP headers have been sent.&#xA;Source: System.Web&#xA;at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)&#xA;at Sitecore.Shell.Web.ShellPage.GotoLoginPage(HttpContext httpContext, Boolean returnAfterLogin)&#xA;at Sitecore.Shell.Web.ShellPage.IsLoggedIn(Boolean returnAfterLogin)&#xA;at Sitecore.Mvc.Pipelines.Request.RequestBegin.EnsureLoggedInForPreview.Process(PipelineArgs args)&#xA;... rest omitted for brevity&#xA;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The CORS error was being thrown by the browser because the 500 error on the server prevents the CORS headers from being sent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a bit of an edge case and something the core platform would need to address. We'll register this as a &quot;known issue&quot; and add it to the docs site FAQs / known issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The workaround / solution is to either logout of Sitecore, set EE to preview mode, or browse to localhost:3000 in an incognito window or completely separate browser (e.g. Firefox, Edge).&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll leave the original answer because the troubleshooting steps are still relevant.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;The error messages are indicating that perhaps CORS isn't configured properly. You may need to adjust your Sitcore JSS API key accordingly, here's info on how to do that: &lt;a href=&quot;https://jss.sitecore.net/docs/getting-started/app-deployment#step-2-api-key&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/docs/getting-started/app-deployment#step-2-api-key&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically, the following fields (copied from JSS docs for SEO / long-term reach):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;CORS Origins&lt;/em&gt;: If you will be using connected mode (quite likely), the APIs will need to support CORS so that your dev server (default: &lt;code&gt;http://localhost:3000&lt;/code&gt;) is allowed to make HTTP calls to the JSS services. For purely local development setup, use &lt;code&gt;*&lt;/code&gt; to allow all origins. In production, only allow specific origins (multiple origins are ;-delimited).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;AllowedControllers&lt;/em&gt;: Use the value shown below. It is also possible to use &lt;code&gt;*&lt;/code&gt;, but explicitly whitelisting controllers is a best practice. If you use additional custom SSC API controllers, they would need to be added to this list.&#xA;&lt;code&gt;&#xA;Sitecore.LayoutService.Mvc.Controllers.LayoutServiceController; Sitecore.JavaScriptServices.Globalization.Controllers.DictionaryServiceController;&#xA;Sitecore.Services.GraphQL.Hosting.Mvc.GraphQLController&#xA;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;Impersonation User&lt;/em&gt;: always specify an explicit user. The impersonation user is a Sitecore user whose security context is used to determine the security rights of the JSS app to Sitecore content. Most apps should use &lt;code&gt;extranet\anonymous&lt;/code&gt;, giving them the same security context as any anonymous web user. Note that authenticated users (with valid Sitecore auth cookies) will receive their own security context regardless of this setting; it applies only to anonymous requests.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If that doesn't solve the problem, I would check the Sitecore logs for more detailed error information as the console error is indicating that the server is responding with a 500 status code - meaning something isn't working properly on the Sitecore side.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2018-08-16T21:07:28.563" LastActivityDate="2018-08-16T21:07:28.563" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="13389" PostTypeId="2" ParentId="13367" CreationDate="2018-08-17T02:27:19.353" Score="0" Body="&lt;p&gt;You can use similar below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [SitecoreType(TemplateId = &quot;{xxxxxx-xxxx-xxxx-xxxx-xxxxxx}&quot;, AutoMap = true)]&#xA;public interface IMenuItem&#xA;{&#xA;    string Title { get; set; }&#xA;    [SitecoreQuery(&quot;./*[@@templateid='{xxxxxx-xxxx-xxxx-xxxx-xxxxxx}']&quot;, IsRelative= true)]&#xA;    IEnumerable&amp;lt;ISubMenuItem&amp;gt; SubMenuItems { get; set; }&#xA;}&#xA;    [SitecoreType(TemplateId = &quot;{xxxxxx-xxxx-xxxx-xxxx-xxxxxx}&quot;, AutoMap = true)]&#xA;public interface ISubMenuItem&#xA;{&#xA;    string Title { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here submenuitem are droplink type, we map that as IEnum.&lt;/p&gt;&#xA;" OwnerUserId="1146" LastEditorUserId="1146" LastEditDate="2018-08-18T11:34:44.083" LastActivityDate="2018-08-18T11:34:44.083" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13390" PostTypeId="1" CreationDate="2018-08-17T05:11:55.573" Score="0" ViewCount="194" Body="&lt;p&gt;With Sitecore Forms 9, how to Group options in  multi-select list box?&lt;/p&gt;&#xA;" OwnerDisplayName="user4124" LastEditorUserId="73" LastEditDate="2018-08-17T11:31:04.530" LastActivityDate="2018-08-17T13:48:42.410" Title="Multi-List Options Group" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13391" PostTypeId="1" AcceptedAnswerId="13392" CreationDate="2018-08-17T05:26:05.430" Score="2" ViewCount="1888" Body="&lt;p&gt;How to add a Send email functionality on Submit actions and configure it for Sitecore Forms ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 9.&lt;/p&gt;&#xA;" OwnerDisplayName="user4124" LastEditorUserId="73" LastEditDate="2018-08-17T11:30:55.273" LastActivityDate="2018-08-17T11:30:55.273" Title="Send Mail submit actions" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13392" PostTypeId="2" ParentId="13391" CreationDate="2018-08-17T05:48:28.850" Score="3" Body="&lt;p&gt;You have two options with Sitecore 9 Update 1 and onwards:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Use &lt;code&gt;Send Email Campaign Message&lt;/code&gt; submit action&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This option has couple of drawbacks:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;These emails can be send out only to known / identified contacts. You need to implement custom submit action described in next point.&lt;/li&gt;&#xA;&lt;li&gt;You cannot use data typed in form fields straight away in your email message. You need to create custom submit action which will be processed before sending email and will be updating current identified contact. Example of this kind of submit action is here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create your own &lt;code&gt;Send Email&lt;/code&gt; submit action&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rodrigo Peplau already described process of creating this kind of submit action pretty nicely &lt;a href=&quot;http://www.nishtechinc.com/Blog/2018/April/Send-E-mail-Action-to-Sitecore-9-Forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In essence you need to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Create your custom submit action based on this article - &lt;a href=&quot;http://www.nishtechinc.com/Blog/2018/April/Send-E-mail-Action-to-Sitecore-9-Forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nishtechinc.com/Blog/2018/April/Send-E-mail-Action-to-Sitecore-9-Forms&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can also take it directly from his repository - &lt;a href=&quot;https://bitbucket.org/nishtechinc/formssendmail/overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://bitbucket.org/nishtechinc/formssendmail/overview&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;You can also take a look in Sitecore doc page on how to create custom submit action - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;You need to create your custom Email Template&lt;/li&gt;&#xA;&lt;li&gt;You need to setup Form Designer to substitute fields with keywords like {Subject} or {From}&lt;/li&gt;&#xA;&lt;li&gt;Send email using MainUtil.SendMail() at the end&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 9 Initial Release only Second option is applicable as there was no &lt;code&gt;Send Email Campaign Message&lt;/code&gt; submit action and also EXM integrated so far in that version of Sitecore&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-08-17T06:00:41.327" LastActivityDate="2018-08-17T06:00:41.327" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13393" PostTypeId="2" ParentId="13348" CreationDate="2018-08-17T07:17:24.660" Score="0" Body="&lt;p&gt;It seemed that we were using the wrong placeholder settings for the relevant JSON Layouts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing this by using then presentation item on the ribbon and edit the layout details and edit the JSON List control to use the right placeholder (json instead of main), the issue was resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FWEBw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FWEBw.png&quot; alt=&quot;Final Layout for the JSON List&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/IcRlw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IcRlw.png&quot; alt=&quot;Control properties for the JSON List&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3554" LastActivityDate="2018-08-17T07:17:24.660" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13396" PostTypeId="1" AcceptedAnswerId="13422" CreationDate="2018-08-17T08:37:18.467" Score="6" ViewCount="209" Body="&lt;p&gt;I have created a new condition for a promotion in our Sitecore Commerce site following this &lt;a href=&quot;http://blog.alpha-solutions.us/2018/01/how-to-create-a-custom-condition-in-sitecore-commerce-8-2-1/&quot; rel=&quot;noreferrer&quot;&gt;example&lt;/a&gt;.&#xA;Is it possible to get cart details or the session id inside the evaluate method?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The evaluate method is triggered when  user clicks on the 'apply promo' button in UI.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.Commerce.Promotions.Engine.Conditions&#xA;{&#xA;    using Microsoft.ApplicationBlocks.Data;&#xA;    using Sitecore.Commerce.Plugin.Carts;&#xA;    using Sitecore.Framework.Rules;&#xA;    using System;&#xA;    using System.Data;&#xA;    using System.IO;&#xA;    using System.Web;&#xA;    using System.Web.Configuration;&#xA;&#xA;&#xA;    [EntityIdentifier(&quot;Future Event Dates&quot;)]&#xA;    public class FutureEventDatesCondition : ICartsCondition, ICondition, IMappableRuleEntity&#xA;    {&#xA;        public IRuleValue&amp;lt;string&amp;gt; FutureEventStartDate { get; set; }&#xA;        public IRuleValue&amp;lt;string&amp;gt; FutureEventEndDate { get; set; }&#xA;&#xA;        public bool Evaluate(IRuleExecutionContext context)&#xA;        {&#xA;           //how to get the cartid or sessionid in here           &#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore Commerce 8.2.1.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-08-20T04:41:16.387" LastActivityDate="2018-08-20T13:58:35.717" Title="How to access cart details or session id in commerce promotion condition" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13397" PostTypeId="1" AcceptedAnswerId="13414" CreationDate="2018-08-17T09:44:36.383" Score="0" ViewCount="772" Body="&lt;p&gt;I am trying to rebuild all my Indexes after the Sitecore commerce 9.0.2 setup but the rebuild failed with error as below&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Ug9qG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ug9qG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The logs I found from the CommerceAuthoring_sc9 says&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;4 00:44:26 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewNames&amp;database=master&amp;language=en&#xA;13 00:44:27 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewNames&amp;database=master&amp;language=en&#xA;40 00:44:27 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewPropertyNames&amp;database=master&amp;language=en&#xA;40 00:44:27 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/38f71d79-c476-4a2d-8361-6920615164c6/children?database=master&amp;language=en&#xA;40 00:44:27 ERROR SitecoreConnectionManager: RETRY 2 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewPropertyNames&amp;database=master&amp;language=en&#xA;13 00:44:28 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/7d2ff1d9-4997-4356-9b42-7900840bdba3/children?database=master&amp;language=en&#xA;13 00:44:30 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewPropertyNames&amp;database=master&amp;language=en&#xA;13 00:44:30 ERROR SitecoreConnectionManager: RETRY 2 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FBusinessTools%2FViewPropertyNames&amp;database=master&amp;language=en&#xA;13 00:44:30 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/7d2ff1d9-4997-4356-9b42-7900840bdba3/children?database=master&amp;language=en&#xA;4 01:24:08 ERROR SitecoreConnectionManager: RETRY 1 out of 3 with&#xA;ERROR Forbidden from GET&#xA;/sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FCommerce%20Engine%20Settings%2FCommerce%20Terms%2FSystem%20Messages&amp;database=master&amp;language=en&#xA;3 01:54:11 ERROR Connection id &quot;&quot;0HLG41VNKRDHC&quot;&quot;, Request id&#xA;&quot;&quot;0HLG41VNKRDHC:00000002&quot;&quot;: An unhandled exception was thrown by the&#xA;application. System.NullReferenceException: Object reference not set&#xA;to an instance of an object.    at&#xA;Sitecore.Commerce.Plugin.Views.ApiController.d__1.MoveNext()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have also tried to fix this with the help of Ryanblog &lt;a href=&quot;https://blog.ryanbailey.co.nz/2018/08/sitecore-experience-commerce-index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.ryanbailey.co.nz/2018/08/sitecore-experience-commerce-index.html&lt;/a&gt; but this also did not helped.&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="70" LastEditDate="2018-08-17T12:44:20.530" LastActivityDate="2018-08-18T16:50:13.913" Title="Rebuild of Indexes in Sitecore Commerce 9.0.2 fails with null reference error" Tags="|sitecore-commerce|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13399" PostTypeId="1" CreationDate="2018-08-17T11:45:32.303" Score="5" ViewCount="2550" Body="&lt;p&gt;I am using Sitecore 8.2 along with SXA. We have 404 and 500 custom error pages configured in Sitecore. 404 custom error page is working but I am unable to get 500 custom friendly error page whenever server error gets thrown. Instead a server error page with stack trace gets thrown.&#xA;Does anyone have any suggestion to make custom 500 error page being displayed when an internal server error occurs.&lt;/p&gt;&#xA;" OwnerUserId="4146" LastActivityDate="2020-06-05T19:05:16.333" Title="Sitecore SXA 500 custom error page not working" Tags="|sxa|error-handling|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13400" PostTypeId="1" CreationDate="2018-08-17T12:44:15.593" Score="2" ViewCount="57" Body="&lt;p&gt;In our project, we are creating users instead of contacts in Sitecore to track users interaction. For that, we need to log in that user in Sitecore first. &#xA;Can we create contacts instead of users in Sitecore 7.2?&lt;/p&gt;&#xA;" OwnerUserId="4147" LastEditorUserId="73" LastEditDate="2018-08-17T12:56:53.780" LastActivityDate="2018-12-15T19:03:35.793" Title="Create contacts in Sitecore 7.2" Tags="|experience-analytics|dms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13401" PostTypeId="2" ParentId="13390" CreationDate="2018-08-17T13:48:42.410" Score="1" Body="&lt;p&gt;You will need to make a custom form element. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fieldtype itself is quite easy to make following Sitecore's documentation: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_form_element&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_form_element&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Creating a good editor is a bit harder, if you want to make the options inside the Forms interface. But if you could use an external datasource (such as an item hierarchy somewhere in the solution) it should be easier to just point at the root for this hierarchy. Here's some inspiration for making a fieldtype with external Hierarchy for building up the control:&#xA;&lt;a href=&quot;https://mortenengel.blogspot.com/2018/06/fifa-world-cup-part-2-of-4.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mortenengel.blogspot.com/2018/06/fifa-world-cup-part-2-of-4.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2327" LastActivityDate="2018-08-17T13:48:42.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13402" PostTypeId="1" AcceptedAnswerId="13404" CreationDate="2018-08-17T13:51:20.107" Score="5" ViewCount="992" Body="&lt;p&gt;I have a General Link field in Sitecore that I would like to append some HTML to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I can create a custom extension method and put what I want &lt;em&gt;after&lt;/em&gt; the link's text by doing the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static HtmlString CallToActionButton(this SitecoreHelper helper, string fieldName, object parameters)&#xA;{&#xA;    if (helper == null)&#xA;    {&#xA;        throw new System.ArgumentNullException(&quot;helper&quot;);&#xA;    }&#xA;    return new HtmlString(helper.BeginField(fieldName, null, parameters).ToString() + &quot; &amp;lt;em&amp;gt;text within the link, but after the default text&amp;lt;/em&amp;gt;&quot; + helper.EndField().ToString());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But what I don't know is how to include the text within the link, but before the default text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the above would give me:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;https://example.com/&quot;&amp;gt;&#xA;  Link text defined in Sitecore&#xA;  &amp;lt;em&amp;gt;text within the link, but after the default text&amp;lt;/em&amp;gt;&#xA;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but I want:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;https://example.com/&quot;&amp;gt;&#xA;  &amp;lt;em&amp;gt;text within the link, but after the default text&amp;lt;/em&amp;gt;&#xA;  Link text defined in Sitecore&#xA;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What would the extension method be to append HTML before the default link text?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2018-08-17T14:40:35.603" LastActivityDate="2018-08-17T16:27:53.013" Title="How can I append HTML within and before the text of a rendered Link Field?" Tags="|mvc|links|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13403" PostTypeId="2" ParentId="13399" CreationDate="2018-08-17T13:57:00.363" Score="6" Body="&lt;p&gt;Assign 404 and 505 pages in your settings, by selecting the relevant pages by going &lt;code&gt;/sitecore/content/{Environment}/{DemoSXASite}/Settings/&lt;/code&gt; in the &quot;Error Handling section&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tfZke.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tfZke.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the 500 page you have to do a little trick, once you have designed the pages completely.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;go to &lt;code&gt;/sitecore/content/{Environment}/{DemoSXASite}/Settings/Site&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Grouping/DemoSXASite Select the tab from top navigation &quot;ERROR HANDLING&quot;&lt;/li&gt;&#xA;&lt;li&gt;Click on Generate static page.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yF5fk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yF5fk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my blog &lt;a href=&quot;https://isaadansari.wordpress.com/2018/07/04/setting-up-the-not-found-and-internal-server-error-pages-with-sxa-how-to-implement-series/&quot; rel=&quot;noreferrer&quot;&gt;link&lt;/a&gt; for reference, And don't forget to publish full site once done.&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-08-17T14:59:42.077" LastActivityDate="2018-08-17T14:59:42.077" CommentCount="19" ContentLicense="CC BY-SA 4.0" />
  <row Id="13404" PostTypeId="2" ParentId="13402" CreationDate="2018-08-17T16:27:53.013" Score="5" Body="&lt;p&gt;You'd basically want to override the text element in the field renderer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something along these lines:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    var linkField = (LinkField) Model.Item.Fields[fieldname];&#xA;}&#xA;@Html.Sitecore().Field(fieldname, new {&#xA;    text = &quot; &amp;lt;em&amp;gt;Before the text: &amp;lt;/em&amp;gt;&quot; + linkField.Text &#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More examples: &#xA;&lt;a href=&quot;https://marcotanainsights.wordpress.com/2017/10/05/tips-on-using-html-sitecore-fields-parameters-object/&quot; rel=&quot;noreferrer&quot;&gt;https://marcotanainsights.wordpress.com/2017/10/05/tips-on-using-html-sitecore-fields-parameters-object/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1342" LastActivityDate="2018-08-17T16:27:53.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13405" PostTypeId="2" ParentId="13400" CreationDate="2018-08-17T17:43:53.783" Score="1" Body="&lt;p&gt;Sitecore contacts were introduced in 7.5 together with xDb.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before Sitecore 7.5 it was Sitecore DMS and Sitecore OMS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many people were not happy with Sitecore DMS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest you to upgrade to new releases of Sitecore (releases 8+) rather than try to implement on Sitecore 7.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mainstream Support of Sitecore 7.2 ended in Dec 2017 and you have one more reason to upgrade to new releases. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-17T17:43:53.783" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13406" PostTypeId="2" ParentId="13367" CreationDate="2018-08-17T18:17:04.677" Score="4" Body="&lt;p&gt;Your model definitions look to be incorrect. You need 2 separate model definitions, one for each template type. To map the &lt;code&gt;NetForumId&lt;/code&gt; field from the &lt;code&gt;Event&lt;/code&gt; template you need to set the property to the correct model type you want returned, i.e. &lt;code&gt;EventInfo&lt;/code&gt;, and GlassMapper will take care of getting the linked item and mapping it.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{eventinfo-template-guid}&quot;, AutoMap = true)]&#xA;public class EventInfo &#xA;{&#xA;    [SitecoreId]&#xA;    public virtual Guid Id { get; set;} //Sitecore Item Id&#xA;&#xA;    public virtual string EventName { get; set; }&#xA;&#xA;    public virtual string EventGuidNumber { get; set; }&#xA;}&#xA;&#xA;[SitecoreType(TemplateId = &quot;{event-template-guid}&quot;, AutoMap = true)]&#xA;public class Event&#xA;{&#xA;    [SitecoreId]&#xA;    public virtual Guid Id { get; set;}&#xA;&#xA;    [SitecoreField(&quot;Event Abstract&quot;)]       &#xA;    public virtual string EventAbstract { get; set; }&#xA;&#xA;    public virtual EventInfo NetForumId { get; set; }&#xA;&#xA;    [SitecoreField(&quot;Event Description&quot;)]&#xA;    public virtual string EventDescription { get; set; }&#xA;&#xA;    // any other mappings...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that the &lt;code&gt;NetForumId&lt;/code&gt; property returns &lt;code&gt;EventInfo&lt;/code&gt; type. This should map the guid-type field in Sitecore to the strongly typed model for the value the user has selected. You can then render or access the values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model MyProject.Models.Event&#xA;&#xA;&amp;lt;div&amp;gt;&#xA;    @Model.EventAbstract &#xA;    @Model.NetForumId.Id&#xA;    @Model.NetForumId.EventName &#xA;    @Model.NetForumId.EventGuidNumber &#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-08-17T23:33:17.047" LastActivityDate="2018-08-17T23:33:17.047" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13408" PostTypeId="1" CreationDate="2018-08-17T19:28:49.243" Score="-1" ViewCount="490" Body="&lt;p&gt;We have a SXA site (say SiteA) (created by a different team and handed over to us). We have to use it and create multiple sites. So we cloned it and create multiple sites (SiteB, SiteC,SiteD), upto 60% of the details will be same across the sites. Is there a way to carry out a change in SiteA such that it percolates to SiteB, C and D immediately? For e.g. updating 'disclaimer' text used by a SXA rendering appearing on the home page of SiteA and the change getting reflected across Site B, C, D without having to make the content item a delegated area. If we have to update multiple content items between master and cloned sites, is delegated area the only option? Please note we are not in a position to change the design of SiteA.&lt;/p&gt;&#xA;" OwnerUserId="3234" LastEditorUserId="3234" LastEditDate="2018-11-10T17:51:35.090" LastActivityDate="2018-11-10T17:51:35.090" Title="SXA Site clone - pushing a change from a single site to multiple cloned sites" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13409" PostTypeId="1" AcceptedAnswerId="13411" CreationDate="2018-08-17T22:32:46.597" Score="6" ViewCount="746" Body="&lt;p&gt;I am using Sitecore 9.0.1 and I am trying to insert custom tokens to email in EXM. I followed Sitecore's documentation and spent hours investigating possible solutions but somehow my tokens did not get filled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the steps that I took:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created Facet,&lt;/li&gt;&#xA;&lt;li&gt;Created Model for facet and then deployed model (JSON to xConnect, this should work for xconnect side),&lt;/li&gt;&#xA;&lt;li&gt;Added new fields to /sitecore/client/Applications/List Manager/Dialogs/ImportWizardDialog/PageSettings/TabControl Parameters/Map/ImportModel named them FacetName_FieldName, &lt;/li&gt;&#xA;&lt;li&gt;Created FacetMapper and PropertyTokenMap and configured them. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I checked multiple times for possible configuration error, but I can't get tokens to fill. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone help me debug this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code reference :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Facet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; namespace Sitecore.Feature.EmailConfiguration.Facets{&#xA;[Serializable]&#xA;[FacetKey(DefaultFacetKey)]&#xA;public class EmailUser:Sitecore.XConnect.Facet&#xA;{&#xA;    public const string DefaultFacetKey = &quot;EmailUser&quot;;&#xA;    public string Username { get; set; }&#xA;    public string Password { get; set; }&#xA;    public EmailUser()&#xA;    {&#xA;&#xA;    }&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.EmailConfiguration.Models&#xA;    {&#xA;    public  class EmailUserModel&#xA;    {&#xA;        public static XdbModel Model { get; } = EmailUserModel.BuildModel();&#xA;&#xA;        public static XdbModel BuildModel()&#xA;        {&#xA;            XdbModelBuilder modelBuilder = new XdbModelBuilder(&quot;EmailUserModel&quot;, new XdbModelVersion(0, 1));&#xA;&#xA;            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);&#xA;            modelBuilder.DefineFacet&amp;lt;Contact, EmailUser&amp;gt;(EmailUser.DefaultFacetKey);&#xA;&#xA;            return modelBuilder.BuildModel();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;FacetMapper:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.EmailConfiguration.Mappers&#xA;{&#xA;    public class EmailUserFacetMapper : IFacetMapper&#xA;    {&#xA;        private readonly PreferredEmailFacetMapper mapper;&#xA;&#xA;        public EmailUserFacetMapper(): this(CollectionModel.FacetKeys.AddressList)&#xA;        {&#xA;        }&#xA;        public EmailUserFacetMapper(string facetName)&#xA;        {&#xA;            Assert.ArgumentNotNull(facetName, nameof(facetName));&#xA;&#xA;            this.FacetName = facetName;&#xA;        }&#xA;&#xA;        public string FacetName { get; }&#xA;&#xA;        public MappingResult Map(string facetKey, Facet facet, ContactMappingInfo mappings, string[] data)&#xA;        {&#xA;            using (EventLog eventLog = new EventLog(&quot;Application&quot;))&#xA;            {&#xA;                eventLog.Source = &quot;Application&quot;;&#xA;                eventLog.WriteEntry(&quot;EmailUserFacetMapperCalled facetKey:&quot; +facetKey+&quot; data&quot;+ string.Join(&quot;; &quot;, data));&#xA;            }&#xA;&#xA;            if (facetKey != this.FacetName)&#xA;            {&#xA;                return new NoMatch(facetKey);&#xA;            }&#xA;&#xA;            var emailUser = new EmailUser();&#xA;&#xA;            var username = mappings.GetValue(&quot;EmailUser_Username&quot;, data);&#xA;            var password = mappings.GetValue(&quot;EmailUser_Password&quot;,data);&#xA;&#xA;            if (!string.IsNullOrEmpty(username)) { emailUser.Username = username; }&#xA;            if (!string.IsNullOrEmpty(password)) { emailUser.Password = password; }&#xA;&#xA;            return (MappingResult)new FacetMapped(facetKey, (Facet) emailUser);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;PropertyTokenMap:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.EmailConfiguration.TokenMaps&#xA;{&#xA;    public class EmailUserPropertyTokenMap : DefaultRecipientPropertyTokenMap&#xA;    {&#xA;        protected static readonly MethodInfo GetUsernameValue = typeof(FacetExtensions).GetMethod(nameof(FacetExtensions.GetUsernameValue), new[] { typeof(EmailUser) });&#xA;        protected static readonly MethodInfo GetPasswordValue = typeof(FacetExtensions).GetMethod(nameof(FacetExtensions.GetPasswordValue), new[] { typeof(EmailUser) });&#xA;&#xA;&#xA;&#xA;&#xA;        static EmailUserPropertyTokenMap()&#xA;        {&#xA;            if (TokenBindings == null)&#xA;            {&#xA;                TokenBindings = new Dictionary&amp;lt;Token, RecipientPropertyTokenBinding&amp;gt;();&#xA;            }&#xA;            RecipientPropertyTokenBinding usernameTokenBinding = RecipientPropertyTokenBinding.Build&amp;lt;EmailUser&amp;gt;(new Token(&quot;username&quot;), null, GetUsernameValue);&#xA;            RecipientPropertyTokenBinding passwordTokenBinding = RecipientPropertyTokenBinding.Build&amp;lt;EmailUser&amp;gt;(new Token(&quot;password&quot;), null, GetPasswordValue);&#xA;&#xA;            TokenBindings.Add(usernameTokenBinding.Token, usernameTokenBinding);&#xA;            TokenBindings.Add(passwordTokenBinding.Token, passwordTokenBinding);&#xA;        }&#xA;    }&#xA;    public static class FacetExtensions&#xA;    {&#xA;        public static string GetUsernameValue(this EmailUser facet)&#xA;        {&#xA;            return facet.Username;&#xA;        }&#xA;&#xA;        public static string GetPasswordValue(this EmailUser facet)&#xA;        {&#xA;            return facet.Password;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Xml config: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;exm&amp;gt;&#xA;      &amp;lt;dispatchTask type=&quot;Sitecore.Feature.EmailConfiguration.DispatchTasks.EmailUserDispatchTask, Sitecore.Feature.EmailConfiguration&quot; patch:instead=&quot;*[@type='Sitecore.EmailCampaign.Cm.Dispatch.DispatchTask, Sitecore.EmailCampaign.Cm']&quot;&amp;gt;&#xA;        &amp;lt;param ref=&quot;exm/dispatchFailedTaskPool&quot;/&amp;gt;&#xA;        &amp;lt;param desc=&quot;recipientValidator&quot; ref=&quot;exm/recipientValidator&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;contactService&quot; ref=&quot;exm/contactService&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;dataProvider&quot; ref=&quot;exm/dataProvider&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;itemUtil&quot; ref=&quot;exm/itemUtil&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;eventDataService&quot; ref=&quot;exm/eventDataService&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;dispatchManager&quot; ref=&quot;exm/dispatchManager&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;emailAddressHistoryManager&quot; ref=&quot;exm/emailAddressHistoryManager&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;recipientManagerFactory&quot; ref=&quot;exm/recipientManagerFactory&quot; /&amp;gt;&#xA;        &amp;lt;param desc=&quot;sentHistoryManager&quot; ref=&quot;exm/sentHistoryManager&quot; /&amp;gt;&#xA;      &amp;lt;/dispatchTask&amp;gt;&#xA;    &amp;lt;/exm&amp;gt;&#xA;    &amp;lt;recipients&amp;gt;&#xA;      &amp;lt;recipientPropertyTokenMap type=&quot;Sitecore.Feature.EmailConfiguration.TokenMaps.EmailUserPropertyTokenMap, Sitecore.Feature.EmailConfiguration&quot; singleInstance=&quot;true&quot; patch:instead=&quot;*[@type='Sitecore.Modules.EmailCampaign.Core.Personalization.DefaultRecipientPropertyTokenMap, Sitecore.EmailCampaign']&quot; /&amp;gt;&#xA;    &amp;lt;/recipients&amp;gt;&#xA;&#xA;    &amp;lt;import&amp;gt;&#xA;      &amp;lt;facetMappers hint=&quot;list:Add&quot;&amp;gt;&#xA;      &amp;lt;facetMapper type=&quot;Sitecore.Feature.EmailConfiguration.Mappers.EmailUserFacetMapper,Sitecore.Feature.EmailConfiguration&quot; /&amp;gt;&#xA;        &amp;lt;/facetMappers&amp;gt;&#xA;    &amp;lt;/import&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;ListManagement.Import.FacetsToMap&quot;&amp;gt;&#xA;        &amp;lt;set:attribute name=&quot;value&quot;&amp;gt;Emails|Personal|Addresses|EmailUser&amp;lt;/set:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;&#xA; &amp;lt;xconnect&amp;gt;&#xA;      &amp;lt;runtime type=&quot;Sitecore.XConnect.Client.Configuration.RuntimeModelConfiguration,Sitecore.XConnect.Client.Configuration&quot;&amp;gt;&#xA;        &amp;lt;schemas hint=&quot;list:AddModelConfiguration&quot;&amp;gt;&#xA;              &amp;lt;schema name=&quot;EmailUserModel&quot; type=&quot;Sitecore.XConnect.Client.Configuration.StaticModelConfiguration,Sitecore.XConnect.Client.Configuration&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;modeltype&quot;&amp;gt;Sitecore.Feature.EmailConfiguration.Models.EmailUserModel,Sitecore.Feature.EmailConfiguration&amp;lt;/param&amp;gt;&#xA;              &amp;lt;/schema&amp;gt;&#xA;        &amp;lt;/schemas&amp;gt;&#xA;      &amp;lt;/runtime&amp;gt;&#xA;    &amp;lt;/xconnect&amp;gt;&#xA;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tugsw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tugsw.png&quot; alt=&quot;Core database import wizard map&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&#xA;I forgot to put Dispatch task, also i tried debuging this and it loads only 4 other facets without my facet. My test case is load csv i list Manager and then i send test tokens including default and my tokens. Default tokens work but my tokens are empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DispatchTask:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    namespace Sitecore.Feature.EmailConfiguration.DispatchTasks&#xA;{&#xA;    public class EmailUserDispatchTask :DispatchTask&#xA;    {&#xA;        private IContactService _contactService;&#xA;        public EmailUserDispatchTask(ShortRunningTaskPool taskPool, IRecipientValidator recipientValidator, IContactService contactService, EcmDataProvider dataProvider, ItemUtilExt itemUtil, IEventDataService eventDataService, IDispatchManager dispatchManager, EmailAddressHistoryManager emailAddressHistoryManager, IRecipientManagerFactory recipientManagerFactory, SentMessageManager sentMessageManager)&#xA;        : base(taskPool, recipientValidator, contactService, dataProvider, itemUtil, eventDataService, dispatchManager, emailAddressHistoryManager, recipientManagerFactory, sentMessageManager)&#xA;        {&#xA;            _contactService = contactService;&#xA;        }&#xA;        protected override IReadOnlyCollection&amp;lt;IEntityLookupResult&amp;lt;Contact&amp;gt;&amp;gt; GetContacts(List&amp;lt;DispatchQueueItem&amp;gt; dispatchQueueItems)&#xA;        {&#xA;            var test= _contactService.GetContacts(dispatchQueueItems.Select(x =&amp;gt; x.ContactIdentifier), PersonalInformation.DefaultFacetKey, EmailAddressList.DefaultFacetKey, ConsentInformation.DefaultFacetKey, PhoneNumberList.DefaultFacetKey, ListSubscriptions.DefaultFacetKey, EmailAddressHistory.DefaultFacetKey, EmailUser.DefaultFacetKey);&#xA;            return test;&#xA;        }&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is my Json generated for adding model to xconnect to locations &#xA;xconnect_root/App_data/Models and xconnect_root\App_data\jobs\continuous\IndexWorker\App_data\Models&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;Name&quot;: &quot;EmailUserModel&quot;,&#xA;  &quot;Version&quot;: &quot;0.1&quot;,&#xA;  &quot;References&quot;: [&#xA;    {&#xA;      &quot;Name&quot;: &quot;XConnect&quot;,&#xA;      &quot;Version&quot;: &quot;1.0&quot;&#xA;    },&#xA;    {&#xA;      &quot;Name&quot;: &quot;Sitecore.XConnect.Collection.Model&quot;,&#xA;      &quot;Version&quot;: &quot;9.0&quot;&#xA;    }&#xA;  ],&#xA;  &quot;Types&quot;: {&#xA;    &quot;Sitecore.Feature.EmailConfiguration.Facets.EmailUser&quot;: {&#xA;      &quot;Type&quot;: &quot;Facet&quot;,&#xA;      &quot;BaseType&quot;: &quot;Sitecore.XConnect.Facet&quot;,&#xA;      &quot;ClrType&quot;: &quot;Sitecore.Feature.EmailConfiguration.Facets.EmailUser, Sitecore.Feature.EmailConfiguration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot;,&#xA;      &quot;Properties&quot;: {&#xA;        &quot;Username&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;Password&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        }&#xA;      }&#xA;    }&#xA;  },&#xA;  &quot;Facets&quot;: [&#xA;    {&#xA;      &quot;Target&quot;: &quot;Contact&quot;,&#xA;      &quot;Name&quot;: &quot;EmailUser&quot;,&#xA;      &quot;Type&quot;: &quot;Sitecore.Feature.EmailConfiguration.Facets.EmailUser&quot;&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update 2: Seems that my Model does not get registered for some reason. I found information that if facet is registered than it will appear in database {siteprefix}_Xdb.Collection.Shard0].[xdb_collection].[ContactFacets] . Is there working example somewhere of adding model to xconnect?&lt;/p&gt;&#xA;" OwnerUserId="4152" LastEditorUserId="2948" LastEditDate="2018-08-19T22:29:36.720" LastActivityDate="2019-04-12T07:10:02.243" Title="Sitecore EXM insert Custom tokens issue" Tags="|xconnect|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13410" PostTypeId="2" ParentId="13365" CreationDate="2018-08-17T23:13:49.883" Score="3" Body="&lt;p&gt;Depending on the context of what you are trying to detect, there are a couple of options.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Based on user interaction&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you only care able the events that are fired when a user interacts with the UI, then there are &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/important-pipelines-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;a number of &lt;code&gt;&amp;lt;ui*&amp;gt;&lt;/code&gt; pipelines&lt;/a&gt; that you can add a processor to, and they only fire when a user interacts with the UI (i.e. a manual action). The equivalent of the &lt;code&gt;item:created&lt;/code&gt; event is the &lt;code&gt;&amp;lt;uiAddFromTemplate&amp;gt;&lt;/code&gt; pipeline, which will be called when the users add an item based on a data template, branch template or command template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create a processor using this structure:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class AddFromTemplate&#xA;{&#xA;    public void Execute(ClientPipelineArgs args)&#xA;    {&#xA;        // Add your custom logic&#xA;&#xA;        Assert.ArgumentNotNull((object) args, nameof (args));&#xA;        if (!args.HasResult)&#xA;            return;&#xA;        Item item = (Context.ContentDatabase ?? Context.Database).GetItem(args.Result);&#xA;&#xA;        if (item.FullPaths.Path == &quot;xyz&quot;)&#xA;        {&#xA;            // ...&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then patch this into the config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processors&amp;gt;&#xA;    &amp;lt;uiAddFromTemplate&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyProject.Custom.Pipelines.UI.AddFromTemplate, MyProject.Custom&quot; method=&quot;Execute&quot; mode=&quot;on&quot; /&amp;gt;&#xA;    &amp;lt;/uiAddFromTemplate&amp;gt;&#xA;&amp;lt;/processors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Package Installation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you need to check whether an handler has been called as a result of an event being fired, then you can take advantage of the fact the package installation is run as a Job, so you can &lt;a href=&quot;https://sitecore.stackexchange.com/a/841/135&quot;&gt;check the the &lt;code&gt;Sitecore.Context.Job.Name&lt;/code&gt; property&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;if (Sitecore.Context.Job?.Name == &quot;Install&quot;)&#xA;{&#xA;    // event fired as a result of package installation&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the item has been saved by the user via the UI or from other code programatically then the &lt;code&gt;Sitecore.Context.Job&lt;/code&gt; property will be null.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Events raised during publishing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Certain events are also raised during publishing, such as &lt;code&gt;item:created&lt;/code&gt; and &lt;code&gt;item:saved&lt;/code&gt;, since the item will technically be created/saved on the target database during publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be sure to cater for these events, if that is something that your code needs to avoid being run during publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The usual methods for this is are to check if the item database is &lt;strong&gt;master&lt;/strong&gt; or use the &lt;code&gt;PublishingHelper&lt;/code&gt; to check if the operation is called in the course of a publishing operation.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public void OnItemCreated(object sender, EventArgs args)&#xA;{&#xA;    var createdArgs = Event.ExtractParameter(args, 0) as ItemCreatedEventArgs;&#xA;    if (createdArgs?.Item?.Database.Name != &quot;master&quot;)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    // OR&#xA;&#xA;    if (PublishHelper.IsPublishing())&#xA;    {&#xA;        return;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;IsPublishing()&lt;/code&gt; just checks if &lt;code&gt;Context.Site.Name == &quot;publisher&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-08-18T03:32:13.837" LastActivityDate="2018-08-18T03:32:13.837" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13411" PostTypeId="2" ParentId="13409" CreationDate="2018-08-18T10:46:41.447" Score="4" Body="&lt;p&gt;The problem is most likely with your &quot;EmailUserDispatchTask&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need to specify your facet key in the override of the GetContacts method i.e.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override IReadOnlyCollection&amp;lt;IEntityLookupResult&amp;lt;Contact&amp;gt;&amp;gt; GetContacts(List&amp;lt;DispatchQueueItem&amp;gt; dispatchQueueItems)&#xA;{&#xA;    return _contactService.GetContacts(dispatchQueueItems.Select(x =&amp;gt; x.ContactIdentifier), PersonalInformation.DefaultFacetKey, EmailAddressList.DefaultFacetKey, ConsentInformation.DefaultFacetKey, PhoneNumberList.DefaultFacetKey, ListSubscriptions.DefaultFacetKey, EmailAddressHistory.DefaultFacetKey, ExmKeyBehaviorCache.DefaultFacetKey, EmailUser.DefaultFacetKey);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your custom code is otherwise correct, and works just fine on my end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may be that your facet is not imported correctly. You can try to manually create a contact in order to verify. First, create an empty contact list in List Manager and copy its id, then programatically create a contact e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (IXdbContext client = SitecoreXConnectClientConfiguration.GetClient())&#xA;{&#xA;    var contact = new Sitecore.XConnect.Contact(new ContactIdentifier(&quot;ListManager&quot;, &quot;someemail@domain.com&quot;, ContactIdentifierType.Known));&#xA;&#xA;    client.AddContact(contact);&#xA;&#xA;    client.SetEmails(contact, new EmailAddressList(new EmailAddress(&quot;someemail@domain.com&quot;, false), &quot;Preferred&quot;));&#xA;&#xA;                client.SetListSubscriptions(contact, new ListSubscriptions()&#xA;                {&#xA;                    Subscriptions = new List&amp;lt;ContactListSubscription&amp;gt;()&#xA;                    {&#xA;                        new ContactListSubscription(DateTime.UtcNow, true, listId)&#xA;                    }&#xA;                });&#xA;&#xA;    client.SetEmailUser(contact, new EmailUser()&#xA;                {&#xA;                    Password = &quot;password&quot;,&#xA;                    Username = &quot;username&quot;&#xA;                });&#xA;&#xA;    client.SetPersonal(contact, new PersonalInformation&#xA;                {&#xA;                    FirstName = &quot;first name&quot;,&#xA;                    LastName = &quot;last name&quot;&#xA;                });&#xA;&#xA;    client.Submit();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where SetEmailUser looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static SetFacetOperation&amp;lt;EmailUser&amp;gt; SetEmailUser(this IXdbContext context, IEntityReference&amp;lt;Contact&amp;gt; contact, EmailUser facet)&#xA;{&#xA;    return context.SetFacet(new FacetReference(contact, Facets.EmailUser.DefaultFacetKey), facet);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2018-08-18T11:47:56.150" LastActivityDate="2018-08-18T11:47:56.150" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="13413" PostTypeId="1" CreationDate="2018-08-18T12:10:54.260" Score="4" ViewCount="234" Body="&lt;p&gt;I am using Sitecore-9 with Sitecore-IP-Geolocation-Service enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a rendering based on presentation rule as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Where country == United states&lt;/strong&gt; means we are showing unauthenticated rendering.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If its other countries we are showing main rendering.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Below rule based rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JEVcq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JEVcq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Issue is what ever country I gave in the rules condition always fails.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Even I tested with TestIp page. Its showing correct location information.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vjg1D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vjg1D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Even I tried country code concepts, explained in below link. This also &#xA;has fails for all the country-codes.&lt;br&gt;&#xA;Ref: &lt;a href=&quot;https://sitecore.stackexchange.com/a/1570/2311&quot;&gt;https://sitecore.stackexchange.com/a/1570/2311&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to validate the rules with which country it is taking and why our rules getting failed.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="2948" LastEditDate="2018-08-19T14:59:39.880" LastActivityDate="2018-08-19T14:59:39.880" Title="Sitecore:9 geo location presentation rule based rendering not working" Tags="|geo-location|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13414" PostTypeId="2" ParentId="13397" CreationDate="2018-08-18T16:50:13.913" Score="1" Body="&lt;p&gt;The below steps helped me fix the issue.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the Sitecore go to: &lt;em&gt;Content editor &gt; Commerce (Menu)&gt; &lt;strong&gt;Update Data Templates&lt;/em&gt;&lt;/strong&gt;, the index would then rebuild to completion.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/PEhOe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PEhOe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;em&gt;PlugIn.Content.PolicySet-1.0.0.json&lt;/em&gt; configuration file should be correctly configured to the username and password for the Sitecore index, most importantly the &lt;strong&gt;Host&lt;/strong&gt; setting which was set to the default like &lt;em&gt;sxa.storefront.com&lt;/em&gt;  needs to be modified to &lt;em&gt;habitathome.dev.local&lt;/em&gt;, and also configured with a valid SSL certificate. By changing this host to the correct one (with a valid certificate) the errors logged in CommerceAuthoring_sc9 no longer occurred.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If after all this changes also the rebuild fails then you need check for the &lt;strong&gt;broken links&lt;/strong&gt; for &lt;em&gt;Core,System&lt;/em&gt; and &lt;em&gt;master&lt;/em&gt;, If you see broken links for items other than habitat then you need to re-install that particular package using the &lt;em&gt;Installation wizard&lt;/em&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: Strictly follow the order for which the packages that we need to install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Experience Platform 9.0 Update 2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Experience Accelerator 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Data Exchange Framework 2.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Provider for Data Exchange Framework 2.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SQL Provider for Data Exchange Framework 2.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xConnect Provider for Data Exchange Framework 2.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Microsoft Dynamics 365 for Sales Provider for Data Exchange Framework 2.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Connect for Microsoft Dynamics 365 for Sales 2.0.1&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-08-18T16:50:13.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13416" PostTypeId="2" ParentId="13241" CreationDate="2018-08-19T12:44:55.130" Score="3" Body="&lt;p&gt;I recommend you to use &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-introduction&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Application Gateway&lt;/a&gt; for this purpose.&#xA;You can assign a certificate to Application Gateway itself and also assign certificate (it may be even different one) for the requests that are forwarded from Application Gateway to particular endpoint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the usual scenarios is to off-load SSL on Application Gateway and then forward traffic to endpoints over HTTP. In this case for security reason you obviously need to have your endpoints (master and slave solr instances) in virtual network.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case you need some features of Azure Load Balancer that are not present in Application Gateway, you can put Application Gateway on front of Load Balancer (or vice versa) and let it handle SSL traffic for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I experimented a bit with SolrCloud (not master/slave) and also tried Application Gateway there. See &lt;a href=&quot;https://github.com/ivanbuzyka/Sitecore.SolrCloudConfiguration/wiki&quot; rel=&quot;nofollow noreferrer&quot;&gt;this wiki&lt;/a&gt; for more information&lt;/p&gt;&#xA;" OwnerUserId="234" LastActivityDate="2018-08-19T12:44:55.130" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13417" PostTypeId="1" AcceptedAnswerId="13418" CreationDate="2018-08-20T02:42:50.203" Score="2" ViewCount="68" Body="&lt;p&gt;The plan is my bucket to have different templates that need to be bucketable let's say 10 templates, Can I just create a 1 bucketable template and inherit it for the other 10 templates so they can be also bucketable?&lt;/p&gt;&#xA;" OwnerUserId="4154" LastActivityDate="2018-08-20T16:06:51.943" Title="Inheriting bucketable template" Tags="|templates|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13418" PostTypeId="2" ParentId="13417" CreationDate="2018-08-20T04:04:59.247" Score="5" Body="&lt;p&gt;Yes, you can create a Bucketable template that you can then set as a base template for any templates that you want to be bucketable as well.  I used to do this in the past.  In fact, I would have a base bucketable template and base bucket template that I would assign to templates so they would have those characteristics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Base bucket on the standard values, you could set the field __Is Bucket to true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then on the Base bucketable, update the standard values item to set __Bucketable to true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then just assign this base template to those 10 templates as a base template.  Whenever you create a new item based on any of those ten base templates, it should be bucketable based on the inherited base template of that template.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="1000" LastEditDate="2018-08-20T16:06:51.943" LastActivityDate="2018-08-20T16:06:51.943" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13420" PostTypeId="1" AcceptedAnswerId="14111" CreationDate="2018-08-20T10:17:54.907" Score="2" ViewCount="524" Body="&lt;p&gt;I have deployed our Sitecore 9 application to an Azure Scaled PaaS XP environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i have used the marketplace and selected a 9.01 infrastructure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our automated deployment has succeeded and our code deployed to both the CM and CD instances. on the CM i can log into Sitecore, run unicorn and can preview the pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the problem is when i try and view the site from the root domain i get the error below...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The certificate was not found.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: The certificate was not found.]&lt;br&gt;&#xA;  Sitecore.Xdb.Common.Web.CertificateWebRequestHandlerModifier.Process(HttpClientHandler&#xA;  handler) +276&lt;br&gt;&#xA;  Sitecore.Xdb.Common.Web.CommonWebApiClient&lt;code&gt;1.CreateRequestHandler()&#xA;  +182    Sitecore.Xdb.Common.Web.CommonWebApiClient&lt;/code&gt;1.CreateClient() +56&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;the ARM templates from the marketplace have produced 3 instaced for xConnect, these are...&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;xc-collect&lt;/li&gt;&#xA;&lt;li&gt;xc-refdata&lt;/li&gt;&#xA;&lt;li&gt;xc-search&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;we have a step on our GULP file that will deploy DLLs, XML and JSON to XConnect and i am yet to do this on our live environment but im convinced this error is not related.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any help is most appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;JGilmartin &lt;/p&gt;&#xA;" OwnerUserId="2993" LastEditorUserId="73" LastEditDate="2018-08-20T10:20:59.653" LastActivityDate="2018-09-25T11:33:37.487" Title="Sitecore 9.01 Azure PaaS XP Scaled XP The certificate was not found" Tags="|azure|xconnect|paas|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13422" PostTypeId="2" ParentId="13396" CreationDate="2018-08-20T13:58:35.717" Score="5" Body="&lt;p&gt;@RobEarlam from slack helped me with the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The cart details can be accessed like this inside the &lt;code&gt;Evaluate&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool Evaluate(IRuleExecutionContext context)&#xA;{&#xA;  CommerceContext commerceContext = context.Fact&amp;lt;CommerceContext&amp;gt;((string)null);&#xA;  List&amp;lt;Cart&amp;gt; lstCarts = commerceContext.GetObjects&amp;lt;Cart&amp;gt;();&#xA;  Cart cart = lstCarts[0];&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-08-20T13:58:35.717" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13423" PostTypeId="2" ParentId="13200" CreationDate="2018-08-20T14:03:30.080" Score="1" Body="&lt;p&gt;The error occurred because of this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpContext.Current.Session.SessionID;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It seems, it is not possible to get the session id in this method as this is an engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I instead had to get the cart details to proceed further.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool Evaluate(IRuleExecutionContext context)&#xA;{&#xA;   CommerceContext commerceContext = context.Fact&amp;lt;CommerceContext&amp;gt;((string)null);&#xA;   List&amp;lt;Cart&amp;gt; lstCarts = commerceContext.GetObjects&amp;lt;Cart&amp;gt;();&#xA;   Cart cart = lstCarts[0];&#xA;   ...&#xA;   ....&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-08-20T14:03:30.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13424" PostTypeId="1" AcceptedAnswerId="13494" CreationDate="2018-08-20T14:10:44.157" Score="6" ViewCount="183" Body="&lt;p&gt;I have created a custom condition to apply a promotion. On a valid criteria, the promo is applied to the product in the cart-summary/shopping-cart page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when user clicks on continue and moves to the checkout page, it is the original amount of the product that is displayed there. The promo is  removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try creating a promo with the out of box conditions, it works well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What else needs to be done in case of a custom condition to make the promo persistent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the code for my custom condition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.Commerce.Promotions.Engine.Conditions&#xA;{&#xA;    using Microsoft.ApplicationBlocks.Data;&#xA;    using Sitecore.Commerce.Core;&#xA;    using Sitecore.Commerce.Plugin.Carts;&#xA;    using Sitecore.Framework.Rules;&#xA;    using System;&#xA;    using System.Collections.Generic;&#xA;    using System.Data;&#xA;    using System.IO;&#xA;    using System.Web.Configuration;&#xA;&#xA;&#xA;    [EntityIdentifier(&quot;Future Event Dates&quot;)]&#xA;    public class FutureEventDatesCondition : ICartsCondition, ICondition, IMappableRuleEntity&#xA;    {&#xA;        public IRuleValue&amp;lt;string&amp;gt; FutureEventStartDate { get; set; }&#xA;        public IRuleValue&amp;lt;string&amp;gt; FutureEventEndDate { get; set; }&#xA;&#xA;        public bool Evaluate(IRuleExecutionContext context)&#xA;        {&#xA;            CommerceContext commerceContext = context.Fact&amp;lt;CommerceContext&amp;gt;((string)null);&#xA;            bool isPromoApplicable = false;&#xA;            string cartID = string.Empty;&#xA;            string error = string.Empty;&#xA;&#xA;            try&#xA;            {&#xA;                if (commerceContext != null)&#xA;                {&#xA;                    List&amp;lt;Cart&amp;gt; lstCarts = commerceContext.GetObjects&amp;lt;Cart&amp;gt;();&#xA;&#xA;                    if (lstCarts != null &amp;amp;&amp;amp; lstCarts.Count &amp;gt; 0)&#xA;                    {&#xA;                        Cart cart = lstCarts[0];&#xA;                        cartID = cart != null ? cart.Id : string.Empty;&#xA;&#xA;                        if (!string.IsNullOrEmpty(cartID))&#xA;                        {&#xA;                            DateTime futureEventStartDate = Convert.ToDateTime(FutureEventStartDate.Yield(context));&#xA;                            DateTime futureEventEndDate = Convert.ToDateTime(FutureEventEndDate.Yield(context));&#xA;&#xA;                            DateTime checkinDate;&#xA;                            DateTime checkoutDate;&#xA;&#xA;                            GetCartDates(commerceContext.CurrentCustomerId(), cartID, out checkinDate, out checkoutDate);&#xA;                            isPromoApplicable = (checkinDate != DateTime.MinValue &amp;amp;&amp;amp; checkoutDate != DateTime.MinValue &amp;amp;&amp;amp;&#xA;                                futureEventStartDate &amp;lt;= checkinDate &amp;amp;&amp;amp; checkinDate &amp;lt;= checkoutDate &amp;amp;&amp;amp; checkoutDate &amp;lt;= futureEventEndDate);&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                throw ex&#xA;            }&#xA;&#xA;            return isPromoApplicable;&#xA;        }&#xA;&#xA;        private void GetCartDates(string userId, string externalCartId, out DateTime checkinDate, out DateTime checkoutDate)&#xA;        {&#xA;            checkinDate = DateTime.MinValue;&#xA;            checkoutDate = DateTime.MinValue;&#xA;&#xA;            if (!string.IsNullOrEmpty(userId) &amp;amp;&amp;amp; !string.IsNullOrEmpty(externalCartId))&#xA;            {&#xA;                string connectionstring = Convert.ToString(WebConfigurationManager.AppSettings[&quot;DBCon&quot;]);&#xA;                string query = &quot;SELECT * FROM tbl_CartDates (NOLOCK) WHERE userId = '&quot; + userId + &quot;' AND ExternalCartId = '&quot; + externalCartId + &quot;'&quot;;&#xA;                DataTable dt = SqlHelper.ExecuteDataset(connectionstring, CommandType.Text, query)?.Tables[0];&#xA;&#xA;                if (dt != null &amp;amp;&amp;amp; dt.Rows.Count &amp;gt; 0)&#xA;                {&#xA;                    string startDate = Convert.ToString(dt.Rows[0][&quot;checkinDate&quot;]);&#xA;                    string endDate = Convert.ToString(dt.Rows[0][&quot;checkoutDate&quot;]);&#xA;&#xA;                    checkinDate = !string.IsNullOrEmpty(startDate) ? Convert.ToDateTime(startDate) : DateTime.MinValue;&#xA;                    checkoutDate = !string.IsNullOrEmpty(endDate) ? Convert.ToDateTime(endDate) : DateTime.MinValue;&#xA;                }&#xA;                else&#xA;                {&#xA;                    throw new Exception(&quot;CART DATES NOT FOUND&quot;);&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                throw new Exception(&quot;USER ID OR EXTERNAL CART ID IS EMPTY&quot;);&#xA;            }&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-08-21T05:55:37.860" LastActivityDate="2018-08-23T06:43:25.840" Title="Promotion not applied at checkout" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13425" PostTypeId="1" CreationDate="2018-08-20T14:32:59.393" Score="1" ViewCount="320" Body="&lt;p&gt;I have an instance of sitecore 8.0 setup (CD and CM separate servers).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the CM server we've noticed that if a page has multiple versions, and a user then tried to mark one of the versions as unpublished we get an error on the server itself:&#xA;An unhandled Microsoft .Net Framework exception occurred in w3wp.exe and iis will restart. The change does actually go through but with the app pool refreshing whenever this happens its making publishing and unpublishing and extremely long process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this something anyone else has faced before, any suggestions on where to look further?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've exported the process as it crashed and ran in through debugdiag to get the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[[GCFrame]] &#xA;[[GCFrame]] &#xA;[[HelperMethodFrame_1OBJ] (System.Threading.Monitor.Enter)] System.Threading.Monitor.Enter(System.Object) &#xA;System_ni!System.Diagnostics.Process.StartWithCreateProcess(System.Diagnostics.ProcessStartInfo)+190 &#xA;Sitecore.ContentTesting.Pipelines.GetScreenShotForURL.GenerateScreenShot.GenerateScreenshot(Sitecore.ContentTesting.Pipelines.GetScreenShotForURL.GetScreenShotForURLArgs)+123 &#xA;DynamicClass.(System.Object, System.Object[])+4a &#xA;Sitecore.Pipelines.CorePipeline.Run(Sitecore.Pipelines.PipelineArgs)+148 &#xA;Sitecore.ContentTesting.Pipelines.GetScreenShotForURL.GetScreenShotForURLPipeline.Run(Sitecore.ContentTesting.Pipelines.GetScreenShotForURL.GetScreenShotForURLArgs)+f7 &#xA;Sitecore.ContentTesting.Events.GenerateScreenshot.ScreenshotWorker(System.Object)+217 &#xA;mscorlib_ni!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+162 &#xA;mscorlib_ni!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+14 &#xA;mscorlib_ni!System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()+70 &#xA;mscorlib_ni!System.Threading.ThreadPoolWorkQueue.Dispatch()+152 &#xA;[[DebuggerU2MCatchHandlerFrame]] &#xA;[[ContextTransitionFrame]] &#xA;[[DebuggerU2MCatchHandlerFrame]] &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;inside the log files we see:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8144 12:24:57 ERROR Unhandled exception detected. The ASP.NET worker process will be terminated. &#xA;Exception: System.ComponentModel.Win32Exception&#xA;Message: The system cannot find the file specified&#xA;Source: System&#xA;   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)&#xA;   at Sitecore.ContentTesting.Pipelines.GetScreenShotForURL.GenerateScreenShot.GenerateScreenshot(GetScreenShotForURLArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.ContentTesting.Pipelines.GetScreenShotForURL.GetScreenShotForURLPipeline.Run(GetScreenShotForURLArgs args)&#xA;   at Sitecore.ContentTesting.Events.GenerateScreenshot.ScreenshotWorker(Object state)&#xA;   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()&#xA;   at System.Threading.ThreadPoolWorkQueue.Dispatch()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="3317" LastActivityDate="2018-08-20T14:32:59.393" Title="Sitecore 8.0 crashing w3wp.exe when choosing if a version is unpublished or published" Tags="|iis|versions|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13426" PostTypeId="2" ParentId="8814" CreationDate="2018-08-20T15:20:54.757" Score="0" Body="&lt;p&gt;An additional note: For Sitecore Commerce XC 9 (not 8.2.1 as in original question), it is no longer necessary to invoke it from the Commerce.Engine project, as long as you've run the Bootstrap command (located in the SitecoreCommerce_DevOps Postman collection) to get the configuration loaded to SQL Server. After that step your minion should run as normal.&lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="247" LastEditDate="2018-08-22T17:49:41.570" LastActivityDate="2018-08-22T17:49:41.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13427" PostTypeId="2" ParentId="13252" CreationDate="2018-08-20T19:40:39.830" Score="4" Body="&lt;p&gt;This ended up being a DNS issue; the site name was not being resolved properly. I took &lt;a href=&quot;https://sitecore.stackexchange.com/users/890/maz&quot;&gt;@maz&lt;/a&gt;'s advice and called &lt;code&gt;[System.Net.Dns]::GetHostEntry(&quot;siteHostName&quot;)&lt;/code&gt; in PowerShell (I didn't have Sitecore PowerShell Extensions installed, so I just called it from PowerShell on the server). It took about 4-5 seconds and then the call would error out, and that was about the same amount of time as the &lt;code&gt;EnsureServerUrl&lt;/code&gt; processor was taking according to the Pipeline profiling results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br /&gt;&#xA;Side note: Despite my last comment, there did end up being a warning in the logs for this issue. It only warns once for the exception, so it can be easy to miss and it may not be in every log file. The message displayed in the logs is &lt;code&gt;Cannot resolve the IP address of the web server with the specified hostname:&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4096" LastEditorUserId="4096" LastEditDate="2018-08-20T20:22:24.467" LastActivityDate="2018-08-20T20:22:24.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13428" PostTypeId="2" ParentId="10829" CreationDate="2018-08-20T22:46:18.753" Score="3" Body="&lt;p&gt;I know this is an ancient post and you've hopefully resolved the issue. I just want to put the answer on record, since it just happened to me as well.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;TL;DR&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Your version of MicroCHAP.dll and the Unicorn.psm1 script don't match each other.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Explanation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Habitat integrates with Unicorn (or Unicorn integrates with Habitat, if you prefer) via some javascript that then calls some PowerShell scripting that then calls some more PowerShell scripting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You find this in the &lt;code&gt;/scripts&lt;/code&gt; folder at the root of the Habitat repository.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside this folder, the actual bulk of the work happens in the &lt;code&gt;/scripts/Unicorn/Unicorn.psm1&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And now we're getting to it. This file was changed between the initial releases of Habitat and later ones. I don't know exactly when, but I guess between Unicorn 3 and Unicorn 4. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if you try and run the Habitat Sync Unicorn command using the &lt;em&gt;old version&lt;/em&gt; of the script, the parameters will be wrong and the challenge will fail.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Solution&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Make sure this script is updated to match your Habitat version. And make sure you also use the correct version of MicroCHAP.dll that comes with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, this is the path to the file in the Sitecore Habitat repository. A RAW view. Copy all this into your local file, and the problem goes away. (At time of this writing. Unicorn 4.0.4, MicroCHAP 1.2.2)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://raw.githubusercontent.com/Sitecore/Habitat/master/scripts/Unicorn/Unicorn.psm1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Unicorn.psm1 on Sitecore Habitat&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-08-20T22:46:18.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13429" PostTypeId="1" CreationDate="2018-08-20T23:01:26.747" Score="3" ViewCount="238" Body="&lt;p&gt;When I setup a page in Sitecore that does not have a version for the default language, then enter that page without specifying a language code will result in empty data being displayed. The problem is if I do specify a language code in a URL and someone visits that page (like sc_lang=zh-SG for example) then when the user browsers to other parts of the website they get blank content. Ideally there would be a way to say that one specific page should always render in a given language without modifying the user context in a way that would impact their experience in other parts of the website. Any recommendations?&lt;/p&gt;&#xA;" OwnerUserId="4158" LastActivityDate="2018-09-20T00:00:55.163" Title="Display single page in another language" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13430" PostTypeId="2" ParentId="13429" CreationDate="2018-08-20T23:07:57.750" Score="1" Body="&lt;p&gt;If you want to achieve this out-of-the-box, your only option is to configure &lt;code&gt;Language Fallback&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So essentially you will be running your site in a &quot;main&quot; language (like zh-SG) and then fall back to whatever is your default for when no versions are available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XFKKk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XFKKk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you need, is called &quot;Item-level language fallback&quot;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Item-level fallback enables you to set up an 'empty' item version in a&#xA;  given language so that it falls back to another language version,&#xA;  including all its fields. In this way, you can launch a new language&#xA;  version of your entire website without creating any items in the new&#xA;  language in the Content database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;Language fallback&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The full set of instructions to set this up would probably be too much for this answer, without knowing your specific Sitecore version and languages. The guide can be found here however: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/setting_up/enable_and_set_up_language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;Enable and set up language fallback&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In essence you need to add this to your site configurations:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;shell&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;      &amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;enableItemLanguageFallback&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(for just item level fallback)&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-08-20T23:07:57.750" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13433" PostTypeId="1" CreationDate="2018-08-21T05:12:28.880" Score="0" ViewCount="45" Body="&lt;p&gt;I am currently configuring a CD Server and a CM server but looking at the spreadsheet (downloaded from the official site: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&lt;/a&gt;) and checking the Sitecore's file extension one by one is really exhausting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to make this easy?&#xA;I first thought of PowerShell but the spreadsheet's format is just not helpful enough to code them.&lt;/p&gt;&#xA;" OwnerUserId="4091" LastActivityDate="2018-08-21T09:10:31.903" Title="How do you configure servers?" Tags="|sitecore-client|configuration|setup|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13435" PostTypeId="2" ParentId="13408" CreationDate="2018-08-21T06:35:32.357" Score="1" Body="&lt;p&gt;Yes, it's possible. You should use &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/sharing_content/share_content_using_delegated_areas&quot; rel=&quot;nofollow noreferrer&quot;&gt;Delegated Areas&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/sharing_content/share_data_sources_and_presentation_using_the_multisite_feature&quot; rel=&quot;nofollow noreferrer&quot;&gt;shared site&lt;/a&gt; features. It allows you to share presentation (like a page or partial designs, rendering variants, ...) or pages (e.g.: About page looks the same in Site A, Site B and Site C) within the same tenant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/orF1f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/orF1f.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you will select e.g.: a page from &lt;code&gt;Main&lt;/code&gt; site to clone to &lt;code&gt;Site A&lt;/code&gt;, SXA will show you something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gWlsH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gWlsH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just create delegated area and have fun!&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-08-22T07:08:47.193" LastActivityDate="2018-08-22T07:08:47.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13438" PostTypeId="1" CreationDate="2018-08-21T08:53:06.143" Score="1" ViewCount="109" Body="&lt;p&gt;We have setup a Paas enviroment with Sitecore 9.0.1 XP scaled. &#xA;The problem is that Sitecore login and admin tools are available on the Content Delivery server. My understanding is that Security hardening should be done by default on the Paas. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The role is defined as ContentDelivery in webconfig&#xA;The package used is Sitecore 9.0.1 rev. 171219 (Cloud)_cd.scwdp.zip&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know where the Security hardening should take place?&#xA;Is it in the Arm templates or should it be done by PS scripts?&lt;/p&gt;&#xA;" OwnerUserId="661" LastActivityDate="2018-08-21T11:20:30.637" Title="Sitecore security hardening Paas" Tags="|security|paas|" AnswerCount="1" CommentCount="0" ClosedDate="2018-08-21T11:54:22.570" ContentLicense="CC BY-SA 4.0" />
  <row Id="13439" PostTypeId="2" ParentId="13433" CreationDate="2018-08-21T09:10:31.903" Score="1" Body="&lt;p&gt;I had used a console app which allowed me to change the file name. Below is the code snippet of the console app&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void UpdateConfigs()&#xA;{&#xA;    var filesWithPath = DirSearch(@&quot;C:\path\to\app config folder\Include&quot;);&#xA;&#xA;    string[] configNames = File.ReadAllLines(@&quot;C:\Users\username\Desktop\Enable Configs.txt&quot;);&#xA;&#xA;    var counter = 0;&#xA;&#xA;    foreach (var configName in configNames)&#xA;    {&#xA;        if (filesWithPath.ContainsKey(configName))&#xA;        {&#xA;            Console.WriteLine($&quot;Changing {configName}&quot;);&#xA;            File.Move(filesWithPath[configName], Path.ChangeExtension(filesWithPath[configName], &quot;.disabled&quot;));&#xA;&#xA;            counter++;&#xA;        }&#xA;    }&#xA;&#xA;    Console.WriteLine();&#xA;    Console.WriteLine($&quot;Total: {counter}&quot;);&#xA;&#xA;    Console.WriteLine(&quot;Press any key to exit.&quot;);&#xA;    Console.ReadKey();&#xA;}&#xA;&#xA;private static Dictionary&amp;lt;string, string&amp;gt; DirSearch(string sDir)&#xA;{&#xA;    var files = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;&#xA;    foreach (string f in Directory.GetFiles(sDir))&#xA;    {&#xA;        files.Add(Path.GetFileName(f), f);&#xA;    }&#xA;&#xA;    foreach (string d in Directory.GetDirectories(sDir))&#xA;    {&#xA;        DirSearch(d);&#xA;    }&#xA;&#xA;    return files;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Enable Config is only 1 column. You just need to copy all the names from the header &lt;strong&gt;Config file name&lt;/strong&gt;. Below is an example of the text file entries&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1AB1X.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1AB1X.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to update the &lt;code&gt;.disabled&lt;/code&gt;. Follow the below steps&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If you are disabling configs, filter the excel sheet and set it to disabled.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Copy the names from the &lt;strong&gt;Config file name&lt;/strong&gt; and paste it into the text file.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Execute the code.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Note&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to change the &lt;code&gt;.disabled&lt;/code&gt; to blank if you need to enable the config file.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-08-21T09:10:31.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13440" PostTypeId="1" AcceptedAnswerId="13518" CreationDate="2018-08-21T09:18:01.467" Score="0" ViewCount="2059" Body="&lt;p&gt;I have applied a few placeholders in view rendering and also created a placeholder in placeholder setting in Sitecore. In placeholder settings &lt;code&gt;Editable&lt;/code&gt; is true but placeholder is not getting visible on experience editor. When I go to the particular placeholder and &lt;code&gt;uncheck Editable checkbox&lt;/code&gt; and again &lt;code&gt;check Editable checkbox&lt;/code&gt; then it started visibly but after some time I face the again same issue. Please help.&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="5387" LastEditDate="2019-06-03T09:35:00.517" LastActivityDate="2019-06-03T09:35:00.517" Title="Sitecore placeholder is not visible on experience editor" Tags="|experience-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13441" PostTypeId="2" ParentId="13351" CreationDate="2018-08-21T10:03:05.377" Score="3" Body="&lt;p&gt;There were two things wrong here:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Incorrect indexer for the type of field&lt;/li&gt;&#xA;&lt;li&gt;Bad (default) format for storing IDs.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The default indexing process meant that we were indexing the raw field value of the multilist as a string. The fact that there was a custom IndexedItem class with an array property did not change this and in fact, the raw field text was appearing in the first element of this array. The solution to this was to index the field as a computed index field meaning it would be indexed as an array. I created a custom ComputedIndexField class (implementing &lt;code&gt;Sitecore.ContentSearch.ComputedFields.IComputedIndexField&lt;/code&gt;). This ComputedIndexField was patched under &lt;code&gt;sitecore\contentSearch\configuration\indexes\index@id=myindex\configuration\documentOptions\fields@hint=raw:AddComputedIndexField&lt;/code&gt; with the element:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;search_tags&quot;&amp;gt;MyProject.Foundation.Indexing.Infrastructure.Fields.SearchTagsComputedField, MyProject.Foundation.Indexing&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The class is below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SearchTagsComputedField : IComputedIndexField&#xA;{&#xA;    public string FieldName { get; set; }&#xA;    public string ReturnType { get; set; }&#xA;&#xA;    public object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        var indexItem = indexable as SitecoreIndexableItem;&#xA;        if (indexItem == null)&#xA;        {&#xA;            return null;&#xA;        }&#xA;&#xA;        var item = indexItem.Item;&#xA;        var tagsFieldValue = item[Templates.ISearchDetails.Fields.Tags];&#xA;        var ids = ID.ParseArray(tagsFieldValue);&#xA;        var idList = ids.Select(IdHelper.NormalizeGuid).ToList();&#xA;        return idList;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We read the raw value of the field, then use ID.ParseArray to get a collection of IDs. &lt;code&gt;Sitecore.ContentSearch.Utilities.IdHelper.NormalizeGuid(ID)&lt;/code&gt; converts the IDs to strings in the numeric format (≡ &lt;code&gt;guid.ToString(&quot;N&quot;)&lt;/code&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that IdHelper.NormalizeGuid(string) formats IDs with dashes (≡ guid.ToString(&quot;D&quot;)) which is pretty crazy IMHO!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Indexing IDs in the numeric format is a better idea, especially with Azure search as it &lt;a href=&quot;https://stackoverflow.com/questions/37601956/azure-search-and-dashes&quot;&gt;does not seem to treat dashes in the same way as Lucene&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-08-21T10:03:05.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13444" PostTypeId="2" ParentId="13438" CreationDate="2018-08-21T11:20:30.637" Score="0" Body="&lt;p&gt;Going to answer it myself since I found the problem.&#xA;We had edited the Web.config and accidently removed the location tag that controlled access to sitecore files&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;    &#xA;      &#xA;        &#xA;      &#xA;    &#xA;  &lt;/p&gt;&#xA;" OwnerUserId="661" LastActivityDate="2018-08-21T11:20:30.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13445" PostTypeId="2" ParentId="8561" CreationDate="2018-08-21T12:08:51.590" Score="5" Body="&lt;p&gt;Another thing to check is that in the SSL settings of the xconnect site the &lt;a href=&quot;https://i.stack.imgur.com/bwU2G.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bwU2G.png&quot; alt=&quot;SSL Settings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Client certificates are accepted.&lt;/p&gt;&#xA;" OwnerUserId="4166" LastActivityDate="2018-08-21T12:08:51.590" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13446" PostTypeId="1" AcceptedAnswerId="13447" CreationDate="2018-08-21T14:11:43.150" Score="1" ViewCount="993" Body="&lt;p&gt;So, we're running Sitecore 9 on Azure.&lt;br&gt;&#xA;For some reason, on our CD, we're seeing the above error. You can see the full error message below.&lt;br&gt;&#xA;I haven't been able to find a lot of helpful information about this.&lt;br&gt;&#xA;I did come across the following article: &lt;a href=&quot;https://kb.sitecore.net/articles/347205&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/347205&lt;/a&gt; which sounds reasonable, except it doesn't look like Sitecore 9 uses SwitchMasterToWeb.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what this could be caused by?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[InvalidOperationException: Could not find configuration node: contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster]&#xA;       Sitecore.Configuration.DefaultFactory.GetConfigNode(String xpath, Boolean assert) +525&#xA;       Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +271&#xA;       Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +170&#xA;       Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +116&#xA;       Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;       Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +929&#xA;       Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +529&#xA;       Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +320&#xA;       Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;       Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +929&#xA;       Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +529&#xA;       Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +320&#xA;       Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;       Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +613&#xA;       Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration() +305&#xA;       Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name) +40&#xA;       Sitecore.Marketing.Search.Observers.Activation.UpdateSearchIndexObserver`1..ctor(ILogger`1 logger, String databaseName, String searchIndex) +302&#xA;       lambda_method(Closure , ServiceProvider ) +6857&#xA;       Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService(IServiceProvider provider) +69&#xA;       Sitecore.Marketing.Definitions.DefinitionManagerFactory.GetDefinitionManager() +84&#xA;       Sitecore.Analytics.Data.&amp;lt;&amp;gt;c__DisplayClass6_0.&amp;lt;.ctor&amp;gt;b__4() +69&#xA;       System.Lazy`1.CreateValue() +727&#xA;       System.Lazy`1.LazyInitValue() +184&#xA;       Sitecore.Analytics.Data.TrackingField.NormalizeProfiles(IMarketingDefinitions marketingDefinitions) +64&#xA;       Sitecore.Analytics.Data.TrackingField..ctor(Field innerField) +133&#xA;       Sitecore.Analytics.Data.TrackingField.GetTrackingField(Item item) +106&#xA;       Sitecore.Analytics.Data.TrackingField.FindTrackingField(Item item) +37&#xA;       Sitecore.Analytics.Data.TrackingField.HasTracking(Item item) +9&#xA;       Sitecore.Analytics.Media.MediaRequestTrackingInformation.IsTrackedRequest() +38&#xA;       Sitecore.Analytics.RobotDetection.Media.MediaRequestSessionModule.IsSessionRequired() +162&#xA;       Sitecore.Analytics.Media.MediaRequestSessionModule.ContextPostMapRequestHandler(Object sender, EventArgs e) +17&#xA;       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136&#xA;       System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195&#xA;       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +88&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3832" LastActivityDate="2018-08-21T14:44:43.000" Title="Could not find configuration node: contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster" Tags="|azure|content-delivery|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13447" PostTypeId="2" ParentId="13446" CreationDate="2018-08-21T14:44:43.000" Score="2" Body="&lt;p&gt;It seems that you have disabled or removed &lt;code&gt;syncMaster&lt;/code&gt; index update strategy on your CD server, but you have an index that is still referencing that strategy, So you need to search your index configuration files and find the the index that is still using it and remove it, it would look something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-08-21T14:44:43.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13448" PostTypeId="2" ParentId="1600" CreationDate="2018-08-21T14:44:49.013" Score="4" Body="&lt;p&gt;This is an alternative approach to supporting Tel links. I'm using sitecore 8.2 update 7 here and Glass.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It isn't quite a nice for content editors and doesn't provide Experience Support but with an bit of education I think it's acceptable if you only need limited support for this or your project doesn't allow time to implement the approach outlined by Akshay and Pete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instruct content editors to use the External link option in the content editor and to add their Tel link like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Lhwfy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Lhwfy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When saved Sitecore will actually add in http:// in front of the the link like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OWImV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OWImV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This looks like this in the Raw Value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link text=&quot;0111 111111&quot; linktype=&quot;external&quot; url=&quot;http://tel:0111 111111&quot; anchor=&quot;&quot; target=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The handle this we can create an Glass extension to render the link but remove the &quot;http://&quot; part from the link before rendering it: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public HtmlString RenderTelLink(Link link, object attributes = null, string contents = null)&#xA;    {&#xA;        if (!string.IsNullOrEmpty(link?.Url))&#xA;        {&#xA;             link.Url = link.Url.ToLowerInvariant().Replace(&quot;http://tel:&quot;, &quot;tel:&quot;);&#xA;             return new HtmlString(GlassHtml.RenderLink(link, x =&amp;gt; x, attributes, false, contents));&#xA;        }&#xA;        return new HtmlString(GlassHtml.RenderLink(link, x =&amp;gt; x, attributes, false, contents));&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally in your view use this new method for links where you need to support Tel links:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@RenderTelLink(myItem.Link, new {@class = &quot;my-custom-css-class&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This then produces the following html markup:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;tel:0111 111111&quot; class=&quot;my-custom-css-class&quot;&amp;gt;0111 111111&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This isn't as nice as the other approaches but I think it's ok if you just need to manage a small number of Telephone links and your content editors can work in this way.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-08-21T14:44:49.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13449" PostTypeId="1" CreationDate="2018-08-21T14:52:28.070" Score="2" ViewCount="555" Body="&lt;p&gt;I want to embed Instagram posts in an RTE field and am having trouble with captions. The Instagram Embed code is a block quote and script. This gets converted to an iFrame on rendering. The instagram post appears on the page, but not the caption. I can see the caption in the RTE, and when I view source on the page, I can see the caption, but it does not appear on the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not even sure how to approach this. Reach out to Instagram? Is this a problem with instagram conflicting with the RTE?&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2018-08-22T14:14:27.010" Title="Embedding Instagram in RTE" Tags="|richtext-editor|instagram|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13450" PostTypeId="2" ParentId="13449" CreationDate="2018-08-21T15:02:09.373" Score="2" Body="&lt;p&gt;By default, the RTE in Sitecore will strip out all &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tags. This is for safety, it is unlikely that most content editors really know enough about JavaScript to safely add scripts to pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can change the default behavior by changing this setting in the config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;HtmlEditor.RemoveScripts&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;BUT - this comes with a warning. Doing that could open up your site to any script a content editor copies/pastes into the control. If you trust your content editors, then this may be OK. But you do not have any control over what script an editor is able to add.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be much better to create a rendering that allows a user to paste in the relevant Instagram tags/ids and then the rendering can control adding the script tags around that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is an example embed code from Instagram:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;blockquote class=&quot;instagram-media&quot; data-instgrm-captioned data-instgrm-permalink=&quot;https://www.instagram.com/p/tsxp1hhQTG/?utm_source=ig_embed&quot; data-instgrm-version=&quot;9&quot; style=&quot; background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:540px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);&quot;&amp;gt;&amp;lt;div style=&quot;padding:8px;&quot;&amp;gt; &#xA;    &amp;lt;div style=&quot; background:#F8F8F8; line-height:0; margin-top:40px; padding:50% 0; text-align:center; width:100%;&quot;&amp;gt; &#xA;        &amp;lt;div style=&quot; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAMUExURczMzPf399fX1+bm5mzY9AMAAADiSURBVDjLvZXbEsMgCES5/P8/t9FuRVCRmU73JWlzosgSIIZURCjo/ad+EQJJB4Hv8BFt+IDpQoCx1wjOSBFhh2XssxEIYn3ulI/6MNReE07UIWJEv8UEOWDS88LY97kqyTliJKKtuYBbruAyVh5wOHiXmpi5we58Ek028czwyuQdLKPG1Bkb4NnM+VeAnfHqn1k4+GPT6uGQcvu2h2OVuIf/gWUFyy8OWEpdyZSa3aVCqpVoVvzZZ2VTnn2wU8qzVjDDetO90GSy9mVLqtgYSy231MxrY6I2gGqjrTY0L8fxCxfCBbhWrsYYAAAAAElFTkSuQmCC); display:block; height:44px; margin:0 auto -44px; position:relative; top:-22px; width:44px;&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt; &#xA;        &amp;lt;p style=&quot; margin:8px 0 0 0; padding:0 4px;&quot;&amp;gt; &#xA;            &amp;lt;a href=&quot;https://www.instagram.com/p/tsxp1hhQTG/?utm_source=ig_embed&quot; style=&quot; color:#000; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none; word-wrap:break-word;&quot; target=&quot;_blank&quot;&amp;gt;We’re putting the Weekend Hashtag Project on hold this weekend. Instead, we’re challenging people around the world to participate in the 10th Worldwide InstaMeet! Grab a few good friends or meet up with a larger group in your area and share your best photos and videos from the InstaMeet with the #WWIM10 hashtag for a chance to be featured on our blog Monday morning. Be sure to include the name of the location where your event took place along with the unique hashtag you&amp;amp;#39;ve chosen for your InstaMeet in your caption. Photo by @sun_shinealight&amp;lt;/a&amp;gt;&#xA;        &amp;lt;/p&amp;gt;&#xA;        &amp;lt;p style=&quot; color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;&quot;&amp;gt;A post shared by &amp;lt;a href=&quot;https://www.instagram.com/instagram/?utm_source=ig_embed&quot; style=&quot; color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px;&quot; target=&quot;_blank&quot;&amp;gt; Instagram&amp;lt;/a&amp;gt; (@instagram) on &amp;lt;time style=&quot; font-family:Arial,sans-serif; font-size:14px; line-height:17px;&quot; datetime=&quot;2014-10-03T18:00:13+00:00&quot;&amp;gt;Oct 3, 2014 at 11:00am PDT&amp;lt;/time&amp;gt;&#xA;        &amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/blockquote&amp;gt;&#xA;&amp;lt;script async defer src=&quot;//www.instagram.com/embed.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The image is being set in the base64 encoding. and the caption is set below in the markup. One other reason your caption might not be showing is the inline styles when you copy the embed code. This could be conflicting with your site's styles and hiding the content.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2018-08-21T15:10:42.017" LastActivityDate="2018-08-21T15:10:42.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13452" PostTypeId="1" AcceptedAnswerId="15368" CreationDate="2018-08-21T15:39:56.870" Score="2" ViewCount="627" Body="&lt;p&gt;Using Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Expected Behavior&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Start the installation wizard, choose/click on &quot;Upload package&quot; which will bring up the dialog for selecting and uploading a package file. Or if you already have the package in place, the click on &quot;Choose package&quot; and it will bring up the dialogue to choose the correct installation file.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Actual Behavior&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Start the installation wizard, choose/click on &quot;Upload package or Choose package&quot; and you will see the error in a popup message window: &lt;em&gt;'The type initializer for &lt;strong&gt;'Sitecore.Install.Serialization.IOUtils'&lt;/strong&gt; threw an exception.'&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Steps to Reproduce the Problem&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Start the installation wizard, choose/click on &quot;Upload package or Choose package&quot; which presents this error in a popup message window: 'The type initializer for 'Sitecore.Install.Serialization.IOUtils' threw an exception.'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a blog post but the solution didn't provide the fix for me: &lt;a href=&quot;http://bhavikmehtablog.blogspot.com/2017/09/sitecoreinstallserializationioutils_1.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://bhavikmehtablog.blogspot.com/2017/09/sitecoreinstallserializationioutils_1.html&lt;/a&gt;&#xA;It's possible that there's another dll missing or corrupt, but I haven't found it and am hoping this has already been solved. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2190" LastEditorUserId="73" LastEditDate="2018-08-21T16:24:51.487" LastActivityDate="2018-12-04T20:19:13.370" Title="Installation Wizard - Choose or Upload click throws error" Tags="|installation|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13453" PostTypeId="1" CreationDate="2018-08-21T16:02:05.133" Score="5" ViewCount="2185" Body="&lt;p&gt;I have written a PowerShell script that replaces sublayouts with renderings across all pages in a Sitecore site. Everything is working well except for the order of the renderings. The order always follows the order of the sublayouts in the page layout not the actual order seen in Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how I can get the order of the sublayouts and then apply that to the new renderings?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read that the rendering 'index' can be used to get and set the order but when I run this script on a page the index always returns as null for all renderings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$device = Get-LayoutDevice -Default&#xA;$database = &quot;master&quot; #master|web&#xA;$path = &quot;$($database):/sitecore/content/home&quot;&#xA;$item = Get-Item -Path $path&#xA;&#xA;$finalRenderings = @(Get-Rendering -Item $item -FinalLayout -Device $defaultDevice)&#xA;&#xA;foreach($rendering in $finalRenderings) {&#xA;    Write-Host &quot;Rendering Placeholder: &quot; $rendering.Placeholder&#xA;    Write-Host &quot;Rendering Index: &quot; $rendering.Index&#xA;&#xA;    $renderingItem = Get-Item $rendering.ItemID&#xA;    Write-Host &quot;Rendering Name: &quot; $renderingItem.DisplayName&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2949" LastEditorUserId="73" LastEditDate="2018-08-21T16:24:19.733" LastActivityDate="2018-11-14T14:40:40.120" Title="Getting and setting the order of renderings/sublayouts on a page" Tags="|presentation|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13454" PostTypeId="2" ParentId="13453" CreationDate="2018-08-21T16:51:23.493" Score="2" Body="&lt;p&gt;Exploring the commands &lt;code&gt;Get-Rendering&lt;/code&gt; and &lt;code&gt;Set-Rendering&lt;/code&gt; I found out this:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The index of the renderings in the raw xml matches the ordered when calling &lt;code&gt;Get-Rendering&lt;/code&gt;. Perhaps the &quot;index&quot; information you need is in the ordering of the &lt;code&gt;$finalRenderings&lt;/code&gt; variable.&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;Set-Rendering&lt;/code&gt; command has a parameter to insert at a specific index.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would recommend you try these two things:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;View the result of the Final Layout xml and field make note of the order of the &lt;code&gt;uid&lt;/code&gt; and &lt;code&gt;p:after=&lt;/code&gt; tags.&lt;/li&gt;&#xA;&lt;li&gt;Compare the order of #1 with the output of &lt;code&gt;Get-Rendering&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Does the order of &lt;code&gt;p:after=&lt;/code&gt; tags reflect the order you expect in the Experience Editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; List the renderings and compare with the raw xml. The &lt;code&gt;uid&lt;/code&gt; order is the same.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$device = Get-LayoutDevice -Default&#xA;$item = Get-Item -Path &quot;master:&quot; -ID &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;&#xA;&#xA;$finalRenderings = @(Get-Rendering -Item $item -FinalLayout -Device $defaultDevice)&#xA;&#xA;foreach($rendering in $finalRenderings) {&#xA;    Write-Host &quot;Rendering UniqueId: &quot; $rendering.UniqueId&#xA;}&#xA;&#xA;$finalLayoutField = $item.Fields[[Sitecore.FieldIDs]::FinalLayoutField]&#xA;[Sitecore.Data.Fields.LayoutField]::GetFieldValue($finalLayoutField)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Rendering UniqueId:  {43222D12-08C9-453B-AE96-D406EBB95126}&#xA;Rendering UniqueId:  {CF044AD9-0332-407A-ABDE-587214A2C808}&#xA;Rendering UniqueId:  {B343725A-3A93-446E-A9C8-3A2CBD3DB489}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;r xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;&amp;gt;&#xA;   &amp;lt;d id=&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot; l=&quot;{14030E9F-CE92-49C6-AD87-7D49B50E42EA}&quot;&amp;gt;&#xA;      &amp;lt;r ds=&quot;&quot; id=&quot;{885B8314-7D8C-4CBB-8000-01421EA8F406}&quot; par=&quot;&quot; ph=&quot;main&quot; uid=&quot;{43222D12-08C9-453B-AE96-D406EBB95126}&quot; /&amp;gt;&#xA;      &amp;lt;r ds=&quot;&quot; id=&quot;{CE4ADCFB-7990-4980-83FB-A00C1E3673DB}&quot; par=&quot;&quot; ph=&quot;/main/centercolumn&quot; uid=&quot;{CF044AD9-0332-407A-ABDE-587214A2C808}&quot; /&amp;gt;&#xA;      &amp;lt;r ds=&quot;&quot; id=&quot;{493B3A83-0FA7-4484-8FC9-4680991CF743}&quot; par=&quot;&quot; ph=&quot;/main/centercolumn/content&quot; uid=&quot;{B343725A-3A93-446E-A9C8-3A2CBD3DB489}&quot; /&amp;gt;&#xA;   &amp;lt;/d&amp;gt;&#xA;   &amp;lt;d id=&quot;{46D2F427-4CE5-4E1F-BA10-EF3636F43534}&quot; l=&quot;{14030E9F-CE92-49C6-AD87-7D49B50E42EA}&quot;&amp;gt;&#xA;      &amp;lt;r ds=&quot;&quot; id=&quot;{493B3A83-0FA7-4484-8FC9-4680991CF743}&quot; par=&quot;&quot; ph=&quot;content&quot; uid=&quot;{A08C9132-DBD1-474F-A2C A-6CA26A4AA650}&quot; /&amp;gt;&#xA;   &amp;lt;/d&amp;gt;&#xA;&amp;lt;/r&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-08-21T16:51:23.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13455" PostTypeId="1" AcceptedAnswerId="13457" CreationDate="2018-08-21T17:03:12.640" Score="5" ViewCount="317" Body="&lt;p&gt;I'm using Sitecore 8.2 update 5 and just setup a MongoDB using SSL, and it works fine but when Sitecore tries to communicate with it, does not work at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my ConnectionStrings.config, I've set as follows&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;code&gt;mongodb://mongodb.mydomain.com/analytics?ssl=true&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And Sitecore throws an error saying &lt;strong&gt;Tracking.Current is not initialized&lt;/strong&gt;, however, if I remove SSL from MongoDB and the ?ssl=true parameter everything works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea how to properly establish the communication?&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="393" LastEditDate="2018-08-21T17:09:45.743" LastActivityDate="2018-08-21T18:38:22.180" Title="Sitecore connecting to MongoDB using SSL" Tags="|mongodb|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13456" PostTypeId="1" AcceptedAnswerId="13532" CreationDate="2018-08-21T17:31:48.103" Score="3" ViewCount="2323" Body="&lt;p&gt;8.2 U5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I move the go live date, in publish settings, out to the future for my item. And in preview mode move the date out also. I see the content fine. I consider it the poor mans unpublished item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if I make the content item as unpublishable, I can't preview the item at all. I have tried creating a custom preview site config and set the &lt;code&gt;Preview.DefaultSite&lt;/code&gt; setting.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Preview.DefaultSite&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;customer.preview&quot; /&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the logs I get the error on the preview site URL:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;15096 13:08:06 ERROR Item could not be found from query string. [ID is &quot;{13A91BDC-E4E9-4AFF-87F6-95A7D9D1E891}&quot;.]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have reviewed all the changes from this SE question, &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12499/how-to-preview-a-non-publishable-item&quot;&gt;How to preview a non publishable item&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my preview site config with filterItems = false, database=master as well as the targetHostName and hostName set.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;customer.preview&quot; patch:after=&quot;site[@name='modules_website']&quot; &#xA;      targetHostName=&quot;customer.preview&quot; &#xA;      filterItems=&quot;false&quot;&#xA;      hostName=&quot;customer.preview&quot; &#xA;      database=&quot;master&quot; &#xA;      virtualFolder=&quot;/&quot; &#xA;      physicalFolder=&quot;/&quot; &#xA;      rootPath=&quot;/sitecore/content/Customer&quot; &#xA;      startItem=&quot;/Home&quot; &#xA;      dictionaryPath=&quot;/sitecore/content/USMS/Global/Dictionary&quot; &#xA;      dictionaryAutoCreate=&quot;false&quot; &#xA;      placeholderSettingsRoot=&quot;/sitecore/layout/Placeholder Settings/Project/Customer&quot;&#xA;      domain=&quot;usmspreview&quot; &#xA;      allowDebug=&quot;true&quot; &#xA;      cacheHtml=&quot;true&quot; &#xA;      htmlCacheSize=&quot;50MB&quot; &#xA;      registryCacheSize=&quot;0&quot; &#xA;      viewStateCacheSize=&quot;0&quot; &#xA;      xslCacheSize=&quot;25MB&quot; &#xA;      filteredItemsCacheSize=&quot;10MB&quot; &#xA;      enablePreview=&quot;true&quot; &#xA;      enableWebEdit=&quot;true&quot; &#xA;      enableDebugger=&quot;true&quot; &#xA;      disableClientData=&quot;false&quot; &#xA;      cacheRenderingParameters=&quot;true&quot; &#xA;      renderingParametersCacheSize=&quot;10MB&quot; &#xA;      loginPage=&quot;/login&quot;&#xA;      enableWorkflow=&quot;true&quot;&#xA;      enableItemLanguageFallback=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/sites&amp;gt;   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="73" LastEditDate="2018-08-26T11:23:45.733" LastActivityDate="2018-08-26T11:23:45.733" Title="Preview an unpublishable item" Tags="|site-configuration|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13457" PostTypeId="2" ParentId="13455" CreationDate="2018-08-21T18:38:22.180" Score="5" Body="&lt;p&gt;OOTB Sitecore does not communicate with Mongo using SSL, we need to implement a custom pipeline for such communication. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Customize the &lt;code&gt;Sitecore.Analytics.MongoDB.Config&lt;/code&gt; by defining  a new Pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you have two approaches to establish SSL connection between Mongo and Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;SSL Integration using physical PFX file&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;SSL Integration reading Machine Key&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please have a look at &lt;a href=&quot;https://sitecorecompetencies.com/2017/03/15/sitecore-mongodb-with-ssl-customization/&quot; rel=&quot;noreferrer&quot;&gt;my blog post for more details&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-08-21T18:38:22.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13458" PostTypeId="2" ParentId="13452" CreationDate="2018-08-21T18:54:44.557" Score="0" Body="&lt;p&gt;We faced this issue recently while upgrading form 7.2 to 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We also had &lt;code&gt;ITHit.WebDAV.Server.dll&lt;/code&gt; placed correctly. Hence we compared assemblies and configuration files with a Vanilla Sitecore 9.0 instance. There were couple of conflicts, once fixed this features was up and running. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apologies that I can not point you to exact Dlls which are missing or corrupt in my answer. But I would recommend you to compare your Dlls and Configuration files with a working instance on same Sitecore version, especially if you performed an upgrade.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-08-21T18:54:44.557" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13461" PostTypeId="2" ParentId="9628" CreationDate="2018-08-22T04:52:51.340" Score="1" Body="&lt;p&gt;Best solution is to use latest version of Sitecore Installation Framework (SIF) which is as of writting this answer version 1.2. This version is specifically targeted to resolve this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From release notes:&#xA;- Invoke-ResolveCertificatePathConfigFunction - Correctly resolves certificate private key path on Windows 8.1/2012&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look here for further information:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2012/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/1x/Sitecore%20Installation%20Framework%2012/Release%20Notes&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/1x/Sitecore_Installation_Framework_12.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/1x/Sitecore_Installation_Framework_12.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also recommend to install SIF through official Sitecore PowerShell gallery feed. Take a look here &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_powershell_public_nuget_feed_faq&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_powershell_public_nuget_feed_faq&lt;/a&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also follow my blog post &lt;a href=&quot;http://tothecore.sk/2018/06/22/sitecore-9-update-2-sitecore-9-0-2-installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/06/22/sitecore-9-update-2-sitecore-9-0-2-installation&lt;/a&gt; (Chapter 1) with instructions how to do that.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-08-22T04:52:51.340" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13462" PostTypeId="2" ParentId="13440" CreationDate="2018-08-22T05:10:24.440" Score="0" Body="&lt;p&gt;Based on your question you can check in the following areas to see why it is not shown.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Check to see if you are on experience editor mode when you do not see the placeholder.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;are there allowed renderings added to the placeholder you want to edit.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;debug the pipeline if there are any pipelines(like getPlaceholderrenderings) which are calculating computed renderings on the FYI.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-08-22T05:10:24.440" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13463" PostTypeId="1" CreationDate="2018-08-22T06:11:58.783" Score="0" ViewCount="257" Body="&lt;p&gt;We have &lt;code&gt;Send Email Message&lt;/code&gt; Save Action attached with WFFM form and &lt;code&gt;Save Form Data To Storage&lt;/code&gt; field is unchecked. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While submitting the form, mail goes perfectly but data not stored in WFFM SQL DB (I believe it's because of field &lt;code&gt;Save Form Data To Storage&lt;/code&gt; is unchecked) -We are using &lt;code&gt;sqlFormsDataProvider&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is can we get the data which was submitted during unchecked stage of field &lt;code&gt;Save Form Data To Storage&lt;/code&gt;. From anywhere like reporting DB or any specific MongoDB collection ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!!&#xA;Pushpendra &lt;/p&gt;&#xA;" OwnerUserId="579" LastEditorUserId="1671" LastEditDate="2018-08-22T11:54:05.777" LastActivityDate="2018-08-22T13:57:58.360" Title="Can we retrieve submitted data if Save Form Data To Storage is unchecked on a WFFM form?" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13464" PostTypeId="1" CreationDate="2018-08-22T07:03:55.230" Score="3" ViewCount="840" Body="&lt;p&gt;how to replace the existing media request handler with custom one in web.config with help of patch file,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;existing handler in web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;Sitecore.Resources.Media.MediaRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.MediaRequestHandler&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;my custom handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;demo.Foundation.Sitecore.ExtendedMediaRequest.ExtendedMediaRequestHandler, demo.Foundation.Sitecore.ExtendedMediaRequest&quot; name=&quot;Sitecore.MediaRequestHandler&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1545" LastEditorUserId="73" LastEditDate="2018-08-22T11:28:20.503" LastActivityDate="2018-08-22T12:06:37.390" Title="How to replace Sitecore.MediaRequestHandler in web.config with patch file" Tags="|configuration|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13465" PostTypeId="2" ParentId="13464" CreationDate="2018-08-22T07:21:26.120" Score="4" Body="&lt;p&gt;It is not possible with patch files. You can use a patch file to customize the Sitecore configuration only. It means, it only patches what is inside the&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more about patching&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/customizing_server_configuration/use_a_patch_file_to_customize_the_sitecore_configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/customizing_server_configuration/use_a_patch_file_to_customize_the_sitecore_configuration&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/customizing_server_configuration/configuration_patch_file_examples&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/customizing_server_configuration/configuration_patch_file_examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For the &lt;code&gt;web.config&lt;/code&gt; parts which are outside of the &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node, you can use &lt;code&gt;Slowcheetah Transforms&lt;/code&gt; during your build and publish process ( &lt;a href=&quot;https://www.google.com/search?q=slowcheetah+transforms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.google.com/search?q=slowcheetah+transforms&lt;/a&gt; ).&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-08-22T07:21:26.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13466" PostTypeId="1" CreationDate="2018-08-22T07:29:39.753" Score="0" ViewCount="2018" Body="&lt;p&gt;I am trying to setup my Visual studio for Commerce Engine Custom Plug-in Development. I am getting the below error while trying to run Commerce Engine (Sitecore Experience Commerce 9.0 update 2).&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4RWab.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4RWab.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[00:05:31 INF] Connection id &quot;0HLG7VMIJPCC6&quot; bad request data:&#xA;  &quot;Invalid request line:&#xA;  '\x16\x03\x03\x00\xAE\x01\x00\x00\xAA\x03\x03[}\x0B;\xFD\x14\xBF\xF9d\x91WG\xE0\xDF\xEF\xCEV\xAE!\x96#\x13\xCD!\xEDH\xCE5=\x9BnR\x00\x008\xC0,\xC0+\xC00\xC0/\x00\x9F\x00\x9E\xC0$\xC0#\xC0(\xC0'\xC0\x0A'&quot;&#xA;  Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException:&#xA;  Invalid request line:&#xA;  '\x16\x03\x03\x00\xAE\x01\x00\x00\xAA\x03\x03[}\x0B;\xFD\x14\xBF\xF9d\x91WG\xE0\xDF\xEF\xCEV\xAE!\x96#\x13\xCD!\xEDH\xCE5=\x9BnR\x00\x008\xC0,\xC0+\xC00\xC0/\x00\x9F\x00\x9E\xC0$\xC0#\xC0(\xC0'\xC0\x0A'&#xA;  at&#xA;  Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpParser&lt;code&gt;1.RejectRequestLine(Byte*&#xA;  requestLine, Int32 length)    at&#xA;  Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpParser&lt;/code&gt;1.GetUnknownMethod(Byte*&#xA;  data, Int32 length, Int32&amp;amp; methodLength)    at&#xA;  Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpParser&lt;code&gt;1.ParseRequestLine(TRequestHandler&#xA;  handler, Byte* data, Int32 length)    at&#xA;  Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpParser&lt;/code&gt;1.ParseRequestLine(TRequestHandler&#xA;  handler, ReadableBuffer buffer, ReadCursor&amp;amp; consumed, ReadCursor&amp;amp;&#xA;  examined)    at&#xA;  Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame.TakeStartLine(ReadableBuffer&#xA;  buffer, ReadCursor&amp;amp; consumed, ReadCursor&amp;amp; examined)    at&#xA;  Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame.ParseRequest(ReadableBuffer&#xA;  buffer, ReadCursor&amp;amp; consumed, ReadCursor&amp;amp; examined)    at&#xA;  Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame`1.d__2.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have followed the same as in the blog to set it up.&#xA;&lt;a href=&quot;https://medium.com/@siddharaju.s/debugging-sitecore-commerce-engine-custom-plugins-948a6b50e27f&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/@siddharaju.s/debugging-sitecore-commerce-engine-custom-plugins-948a6b50e27f&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="73" LastEditDate="2018-08-22T11:44:15.003" LastActivityDate="2018-08-22T11:44:15.003" Title="Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException in Sitecore.Commerce.Engine" Tags="|commerce-engine|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13468" PostTypeId="1" CreationDate="2018-08-22T09:33:17.383" Score="2" ViewCount="145" Body="&lt;p&gt;I have added a custom plugin &lt;strong&gt;Sample Notes&lt;/strong&gt;( &lt;em&gt;&lt;a href=&quot;https://blog.ryanbailey.co.nz/2018/02/sitecore-experience-commerce-extending.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.ryanbailey.co.nz/2018/02/sitecore-experience-commerce-extending.html&lt;/a&gt;&lt;/em&gt; ) as in &lt;strong&gt;HabitatHome Commerce&lt;/strong&gt; solution (&lt;em&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&lt;/a&gt;&lt;/em&gt;) and trying see it on the Sitecore commerce but unable to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The below steps are already done :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have added the reference of the Plugin to the Commerce Engine&lt;/li&gt;&#xA;&lt;li&gt;The config.json is pointing to correct .pfx and thumbprint&lt;/li&gt;&#xA;&lt;li&gt;The Host name and server name are properly provided&lt;/li&gt;&#xA;&lt;li&gt;The Sitecore.commerce.engine is published to the commerce sites(authoring,shops,minions,ops)&lt;/li&gt;&#xA;&lt;li&gt;The Update Data Template and Refresh of commerce cache is done in the Sitecore content editor.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is there anything else I am missing out?&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="73" LastEditDate="2018-08-22T10:33:49.180" LastActivityDate="2019-08-27T12:43:58.663" Title="Custom Plugin added not showing on Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13469" PostTypeId="1" AcceptedAnswerId="13470" CreationDate="2018-08-22T10:38:27.007" Score="4" ViewCount="159" Body="&lt;p&gt;When using the Entity Composer functionality in the XC9 Business Tools I noticed that:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;a sellable item child-view is (after updating templates) not shown in the Sitecore Content Editor (Commerce &gt; Catalog Management &gt; Catalogs)&lt;/li&gt;&#xA;&lt;li&gt;a entity composed template added to a sellable item by tag is (after updating templates) not shown in the Sitecore Content Editor (Commerce &gt; Catalog Management &gt; Catalogs)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Adding a entity template by item definition does result in showing the template in the Sitecore Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should entity templates work for child-views and adding by tag as well?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2018-08-22T11:20:49.690" LastActivityDate="2018-08-22T11:20:49.690" Title="XC9 Entity Composer: child-views and tagged templates not shown in Sitecore Content Editor" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13470" PostTypeId="2" ParentId="13469" CreationDate="2018-08-22T10:41:03.433" Score="3" Body="&lt;p&gt;After contacting Sitecore support, it turns out that with Sitecore XC9 update-2 the child-views and tagged templates do not work with the current Sitecore Dataprovider. This will be fixed in a later release (reference #40876).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Conclusion, for the moment (with XC9 update-2) you should link template by Item Definition.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-08-22T10:41:03.433" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13472" PostTypeId="2" ParentId="13464" CreationDate="2018-08-22T12:06:37.390" Score="0" Body="&lt;p&gt;I always like to take opportunities like this to remind developers to never directly modify the web.config. This make upgrades more difficult. Always transform a new web.config out of the Sitecore default web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the request above, use this slowcheetah transform &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;&#xA;    &amp;lt;system.webServer&amp;gt;&#xA;        &amp;lt;handlers&amp;gt;&#xA;            &amp;lt;add xdt:Transform=&quot;Replace&quot; xdt:Locator=&quot;Match(name)&quot; name=&quot;Sitecore.MediaRequestHandler&quot; verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;demo.Foundation.Sitecore.ExtendedMediaRequest.ExtendedMediaRequestHandler, demo.Foundation.Sitecore.ExtendedMediaRequest&quot; /&amp;gt;&#xA;        &amp;lt;/handlers&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-08-22T12:06:37.390" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13473" PostTypeId="1" CreationDate="2018-08-22T12:24:24.963" Score="0" ViewCount="205" Body="&lt;p&gt;We have installed WFFM on a Content delivery server and we were following the official documentation the Sitecore website. After installation we saw that the &lt;code&gt;index.cshtml&lt;/code&gt; was not deployed in the views folder on the Content delivery server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We checked the installation package for the CD role and found out the &lt;code&gt;index.cshtml&lt;/code&gt; was not in the package also. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The package we are using is: Web Forms for Marketers 9.0 rev. 171209_cd.scwdp&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to fix the issue of the missing &lt;code&gt;index.cshtml&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="3554" LastEditorUserId="3554" LastEditDate="2018-08-23T05:09:28.103" LastActivityDate="2018-08-23T19:04:36.177" Title="Web Forms For Marketers on Content Delivery missing index.cshtml on Sitecore 9.0.1" Tags="|wffm|installation|packages|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13474" PostTypeId="1" CreationDate="2018-08-22T13:30:16.880" Score="1" ViewCount="3440" Body="&lt;p&gt;Is it possible to use query for Droptree field in Sitecore 8.1?&#xA;In a multisite solution, I would like to point Droptree field source to an item in that particular site. Is this possible?&lt;/p&gt;&#xA;" OwnerUserId="2161" LastActivityDate="2019-11-25T11:04:23.580" Title="Fieldsource query for droptree field" Tags="|sitecore-query|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13475" PostTypeId="2" ParentId="13474" CreationDate="2018-08-22T13:35:07.577" Score="5" Body="&lt;p&gt;Yes is possible to have a query source like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@templatename='Site']/Data/Components/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Have a look on this link how to use sources for fields: &#xA;&lt;a href=&quot;http://sitecore.wonderamy.com/2011/03/using-source-property.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecore.wonderamy.com/2011/03/using-source-property.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="73" LastEditDate="2019-11-25T11:04:23.580" LastActivityDate="2019-11-25T11:04:23.580" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13476" PostTypeId="1" CreationDate="2018-08-22T13:47:45.643" Score="7" ViewCount="1220" Body="&lt;p&gt;In a Sitecore 9.0.2 instance we have version 3.1.1 of the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Publishing Service&lt;/a&gt; setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When publishing items via an administrator account, or a custom workflow, the publishing jobs show up in the publishing dashboard as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a scheduled task within Sitecore (defined in the config at &lt;code&gt;/configuration/sitecore/scheduling/agent&lt;/code&gt;) that updates and publishes items, using the below code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;{&#xA;    try&#xA;    {&#xA;        var directoryItem = m_MasterDB.Items[&quot;/sitecore/content/home/directory&quot;];&#xA;&#xA;        if (directoryItem == null)&#xA;        {&#xA;            throw new NullReferenceException(&quot;The directory item does not exist in Sitecore.&quot;);&#xA;        }&#xA;&#xA;        // Gets all publishing targets, using Sitecore definitions.&#xA;        var publishingTargets = PublishManager.GetPublishingTargets(directoryItem.Database);&#xA;        foreach (var publishingTarget in publishingTargets)&#xA;        {&#xA;            var targetDatabaseName = publishingTarget[&quot;Target database&quot;];&#xA;            if (string.IsNullOrWhiteSpace(targetDatabaseName))&#xA;            {&#xA;                continue;&#xA;            }&#xA;&#xA;            var targetDatabase = Sitecore.Configuration.Factory.GetDatabase(targetDatabaseName);&#xA;            if (targetDatabase == null)&#xA;            {&#xA;                continue;&#xA;            }&#xA;&#xA;            var publishOptions = new PublishOptions(&#xA;                directoryItem.Database,&#xA;                targetDatabase,&#xA;                PublishMode.Smart,&#xA;                directoryItem.Language,&#xA;                DateTime.Now)&#xA;            {&#xA;                // Publish sub-items.&#xA;                Deep = true&#xA;            };&#xA;&#xA;            // Perform the actual publish&#xA;            var publisher = new Publisher(publishOptions);&#xA;            publisher.Options.RootItem = directoryItem;&#xA;            publisher.PublishAsync();&#xA;        }&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Error(ex.Message, ex, this);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code publishes as expected, and displays in the default Sitecore logs when it's triggered, but doesn't display in the publishing dashboard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would we go about getting programmatic publishes to display in the standalone publishing service's dashboard?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2018-08-22T15:25:05.153" LastActivityDate="2019-01-11T12:46:07.697" Title="How can I programmatically publish content and have it show in the standalone Publishing Service Dashboard?" Tags="|publishing-service|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13477" PostTypeId="2" ParentId="13463" CreationDate="2018-08-22T13:57:58.360" Score="1" Body="&lt;p&gt;No, the data is not stored anywhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the &lt;code&gt;Save Form Data To Storage&lt;/code&gt; is unchecked, this is exactly what happens, the data is not stored and persisted to any database, it is only made available to your Save Actions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unless your Save Actions themselves store this data somewhere or make logging calls, the data is not stored by WFFM module.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-08-22T13:57:58.360" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13478" PostTypeId="2" ParentId="13449" CreationDate="2018-08-22T14:14:27.010" Score="0" Body="&lt;p&gt;Even with RemoveScripts set to false, the RTE still strips data attributes that do not have an associated value. In the embed code there is a data attribute that sets the caption display:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;data-instgrm-captioned&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This gets stripped out by the RTE no matter what I do. I can fix this by giving it a value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;data-instgrm-captioned=&quot;true&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once I do this, the Instagram embed appears as expected.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2018-08-22T14:14:27.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13479" PostTypeId="1" AcceptedAnswerId="13485" CreationDate="2018-08-22T15:16:46.903" Score="4" ViewCount="326" Body="&lt;p&gt;Is it possible with Sitecore 9 Forms to create logic jumps based on a user's answer to a question? For example, a user answers question 1 with a particular answer choice; as a result, I want that user to skip ahead to step 4 in the form (since Sitecore has multi-step forms). I see the actions by default have previous and next (and submit) but is there a way to address this type of flow?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-11-13T12:48:13.310" Title="Logic jumps in Sitecore 9 Forms" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13480" PostTypeId="1" CreationDate="2018-08-22T17:03:33.010" Score="4" ViewCount="5773" Body="&lt;p&gt;For handling status code 500 followed below step in web.config file:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web&amp;gt;&#xA;    &amp;lt;customErrors mode=&amp;quot;off&amp;quot; /&amp;gt;&#xA;&amp;lt;system.web&amp;gt;&#xA;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;    &amp;lt;httpErrors errorMode=&amp;quot;Custom&amp;quot;&amp;gt;&#xA;        &amp;lt;remove statusCode=&amp;quot;500&amp;quot; /&amp;gt;&#xA;        &amp;lt;error statusCode=&amp;quot;500&amp;quot; path=&amp;quot;/sitecore/service/500.aspx&amp;quot; responseMode=&amp;quot;ExecuteURL&amp;quot; /&amp;gt;&#xA;    &amp;lt;/httpErrors&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;In case if I add this part instead of httpErrors getting an internal error&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web&amp;gt;&#xA;   &amp;lt;customErrors mode=&amp;quot;RemoteOnly&amp;quot; defaultRedirect=&amp;quot;/sitecore/service/500.aspx&amp;quot;/&amp;gt;&#xA;&amp;lt;/system.web&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;error:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;The page cannot be displayed because an internal server error has occurred on server&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;500.aspx:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;%&#xA;Response.StatusCode = 500;&#xA;Response.TrySkipIisCustomErrors = true;&#xA;     %&amp;gt;&#xA;    &amp;lt;!doctype html&amp;gt;&#xA;   &amp;lt;html lang=&amp;quot;en&amp;quot;&amp;gt;&#xA;     &amp;lt;head&amp;gt;&#xA;&amp;lt;title&amp;gt;An Error Occurred&amp;lt;/title&amp;gt;&#xA;  &amp;lt;/head&amp;gt;&#xA;   &amp;lt;body&amp;gt;&#xA;&amp;lt;h1&amp;gt;An Error Occurred&amp;lt;/h1&amp;gt;&#xA;&amp;lt;h4&amp;gt;Our server couldn't complete your request.&#xA;    &amp;lt;br /&amp;gt;&#xA;    Please refresh your browser and try again soon.&#xA;&amp;lt;/h4&amp;gt;&#xA;&amp;lt;a href=&amp;quot;/&amp;quot;&amp;gt;Home&amp;lt;/a&amp;gt;&#xA;&amp;lt;p&amp;gt;&#xA;    Error Code: 500&#xA;&amp;lt;/p&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;please advice better approach to handling this scenario.&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="946" LastEditDate="2024-02-16T18:28:57.683" LastActivityDate="2024-02-16T18:28:57.683" Title="handling 500 errors in sitecore 9" Tags="|configuration|error-handling|" AnswerCount="1" CommentCount="2" ClosedDate="2018-08-23T00:45:44.207" ContentLicense="CC BY-SA 4.0" />
  <row Id="13481" PostTypeId="2" ParentId="13241" CreationDate="2018-08-22T17:55:46.727" Score="3" Body="&lt;p&gt;Other way:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;use IIS on both servers as an reverse proxy with SSL offloading:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blogs.msdn.microsoft.com/friis/2016/08/25/setup-iis-with-url-rewrite-as-a-reverse-proxy-for-real-world-apps/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/friis/2016/08/25/setup-iis-with-url-rewrite-as-a-reverse-proxy-for-real-world-apps/&lt;/a&gt;&#xA;(make sure you read part 2 as well):&#xA;&lt;a href=&quot;https://blogs.msdn.microsoft.com/friis/2016/08/25/iis-with-url-rewrite-as-a-reverse-proxy-part-2-dealing-with-500-52-status-codes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/friis/2016/08/25/iis-with-url-rewrite-as-a-reverse-proxy-part-2-dealing-with-500-52-status-codes/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4169" LastActivityDate="2018-08-22T17:55:46.727" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13482" PostTypeId="2" ParentId="13480" CreationDate="2018-08-22T18:04:53.753" Score="7" Body="&lt;p&gt;The error handling for Sitecore 9 is the same as Sitecore 8.x&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For me, I like to have my error pages as html pages so that it wont cause a loop if I have a serious issue. Here I remove all the existing code and add my new ones to my custom html files.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Web.config&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;httpErrors errorMode=&quot;Custom&quot; existingResponse=&quot;Auto&quot;&amp;gt;&#xA;        &amp;lt;remove statusCode=&quot;403&quot; /&amp;gt;&#xA;        &amp;lt;remove statusCode=&quot;404&quot; /&amp;gt;&#xA;        &amp;lt;remove statusCode=&quot;500&quot; /&amp;gt;&#xA;        &amp;lt;error statusCode=&quot;500&quot; responseMode=&quot;Redirect&quot; path=&quot;/500.html&quot; /&amp;gt;&#xA;        &amp;lt;error statusCode=&quot;403&quot; responseMode=&quot;Redirect&quot; path=&quot;/404.html&quot; /&amp;gt;&#xA;        &amp;lt;error statusCode=&quot;404&quot; responseMode=&quot;Redirect&quot; path=&quot;/404.html&quot; /&amp;gt;&#xA;    &amp;lt;/httpErrors&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I do the same thing in my custom errors. This might be overkill, but lets cover our bases.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web&amp;gt;&#xA;    &amp;lt;customErrors mode=&quot;On&quot; defaultRedirect=&quot;500.html&quot; redirectMode=&quot;ResponseRewrite&quot;&amp;gt;&#xA;        &amp;lt;error statusCode=&quot;403&quot; redirect=&quot;/404.html&quot; /&amp;gt;&#xA;        &amp;lt;error statusCode=&quot;404&quot; redirect=&quot;/404.html&quot; /&amp;gt;&#xA;        &amp;lt;error statusCode=&quot;500&quot; redirect=&quot;/500.html&quot; /&amp;gt;&#xA;    &amp;lt;/customErrors&amp;gt;&#xA;&amp;lt;/system.web&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Sitecore&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;And in Sitecore set the Layout Not Found and Item Not Found urls&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;LayoutNotFoundUrl&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/404.html&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;      &amp;lt;setting name=&quot;ItemNotFoundUrl&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/404.html&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;MVC&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;And to go to the next level, you can track your MVC exceptions in a pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Customer.Foundation.Logging.Pipelines&#xA;{&#xA;    using System.Web;&#xA;    using System.Web.Configuration;&#xA;    using Sitecore.Mvc.Pipelines.MvcEvents.Exception;&#xA;    using Sitecore.Diagnostics;&#xA;    using Sitecore.Configuration;&#xA;    using Customer.Foundation.Logging.Services;&#xA;&#xA;    public class GenericExceptionHandler : ExceptionProcessor&#xA;    {&#xA;        public override void Process(ExceptionArgs args)&#xA;        {&#xA;            Log.Error(&quot;MVC generic exception processing &quot; + Sitecore.Context.RawUrl, args.ExceptionContext.Exception, this);&#xA;            CustomErrorsMode mode = Settings.CustomErrorsMode;&#xA;&#xA;            if (mode == CustomErrorsMode.Off&#xA;                // to show details to Sitecore admins: || SC.Context.User.IsAdministrator &#xA;                // to show in the Page Editor: || SC.Context.PageMode.IsPageEditor&#xA;                // to show in Preview: || SC.Context.PageMode.IsPreview&#xA;                // to show in the debugger: || SC.Context.PageMode.IsDebugging&#xA;                || (mode == CustomErrorsMode.RemoteOnly &amp;amp;&amp;amp; HttpContext.Current.Request.IsLocal))&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            // THIS IS A CUSTOMER ERROR ALERTING SERVICE LIKE Sentry.io &#xA;            ErrorService errorService = new ErrorService();&#xA;            errorService.SendErrorToService(args.ExceptionContext.Exception);&#xA;&#xA;            Sitecore.Web.WebUtil.RedirectToErrorPage(&quot;An error has occurred&quot;);&#xA;            args.ExceptionContext.ExceptionHandled = true;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;An that is brought together with a patch config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;mvc.renderRendering&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer, Sitecore.Mvc&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Customer.Foundation.Logging.Pipelines.ExecuteRenderer, Customer.Foundation.Logging&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/processor&amp;gt;&#xA;        &amp;lt;/mvc.renderRendering&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;        &#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-08-22T18:48:27.963" LastActivityDate="2018-08-22T18:48:27.963" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13485" PostTypeId="2" ParentId="13479" CreationDate="2018-08-22T19:59:53.117" Score="3" Body="&lt;p&gt;No, using OOTB functionality it is not possible to skip sections of a form based on user input.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The multi-page wizard in Sitecore 9 Forms is &quot;dumb&quot;, it only allows you to proceed next or previous and is not context aware and there is currently to logic integration to allow you select the rules for which section could be skipped (the WFFM module integrates with the Rules Engine to allow you to set logic to carry out some actions for example).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is talk of this sort of functionality being made available in a future release, but no official roadmap has been released.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-08-22T19:59:53.117" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13487" PostTypeId="2" ParentId="13420" CreationDate="2018-08-22T20:09:49.323" Score="0" Body="&lt;p&gt;In your ARM template installation script, have you tried something as shown below. This worked for us without any issues.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$CertificateFile = &quot;Path to your .p12 file&quot;&#xA;$Parameters = @{&#xA;&quot;authCertificateBlob&quot; = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes($CertificateFile))&#xA;}&#xA;Start-SitecoreAzureDeployment -Name $DeploymentId -location $Location -ArmTemplatePath $SCARMTemplate -ArmParametersPath $ParamFile -LicenseXmlPath $LicenseFile -SetKeyValue $Parameters&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2704" LastActivityDate="2018-08-22T20:09:49.323" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13489" PostTypeId="1" AcceptedAnswerId="13490" CreationDate="2018-08-23T00:22:19.587" Score="4" ViewCount="716" Body="&lt;p&gt;I'm trying to see if I can setup child templates, on a given parent template, that would show up every time the parent template is used to create an item. I tried adding the child templates to the template item itself, which it allows you to do, but after saving and refreshing the tree I created a content item using the modified template but the child items where not present. I tried this on the Standard Values item as well but no cigar. Is there some trick to this or is it just not possible?&lt;/p&gt;&#xA;" OwnerUserId="2974" LastActivityDate="2018-08-23T00:56:02.433" Title="How to setup child templates by default" Tags="|templates|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13490" PostTypeId="2" ParentId="13489" CreationDate="2018-08-23T00:56:02.433" Score="6" Body="&lt;p&gt;welcome to SSE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I'm understanding your question right, it sounds like you need to use branch templates to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A branch template will allow you to set a predefined tree structure, like a parent item with 1 or more child items. Then you would setup your insert options so that instead of inserting a new item based on the parent template, you would insert a new item based on the &lt;code&gt;Branch template&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When that item is created in the content tree, the child items will also be created.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Creating a Branch Template&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To create a branch template, navigate to &lt;code&gt;/sitecore/templates/Branches&lt;/code&gt; and you can start there. Add a new &lt;code&gt;Branch&lt;/code&gt; and the wizard will ask you to select the item template you want to base the branch off.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wynpX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wynpX.png&quot; alt=&quot;Create Branch Template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uVacw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uVacw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now create your structure:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WY5Fa.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WY5Fa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have done that, set the insert options to insert the new &lt;code&gt;Branch&lt;/code&gt; you created, and it will automatically create all the child items too.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-08-23T00:56:02.433" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13491" PostTypeId="1" CreationDate="2018-08-23T02:46:17.040" Score="0" ViewCount="613" Body="&lt;p&gt;I am creating an approval workflow in sitecore 9.0&#xA;I am using existing &quot;Sample Workflow&quot; for testing as it provides everything required for approval workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a template with 2 simple single line text fields&#xA;1 - title (required)&#xA;2 - description (required)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In standard values of individual fields, I am adding the required field validation rule and also setup the &quot;Sample Workflow&quot; as the default workflow. I did not put $name in the title field and description field is also empty. when I save I get warning that fields are required but I thing I will provide there values in actual content page not in standard values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I am creating a content page based on the template and filling value for both fields, when I click on &quot;Validation&quot; link on the review tab, I see all ok. I can submit the page without any error but when I try to approve, I get both fields are required error message and cant submit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is workflow/template not configured properly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: I have enabled gutter for validation and I can see a required field error indicator but field is not empty, it got some text.&lt;/p&gt;&#xA;" OwnerUserId="2119" LastEditorUserId="2119" LastEditDate="2018-08-24T00:02:42.340" LastActivityDate="2018-08-24T09:31:10.857" Title="Publishing workflow required field error" Tags="|sitecore-client|publishing|workflow|" AnswerCount="1" CommentCount="0" ClosedDate="2018-08-28T00:28:14.460" ContentLicense="CC BY-SA 4.0" />
  <row Id="13492" PostTypeId="1" AcceptedAnswerId="13501" CreationDate="2018-08-23T05:46:09.713" Score="0" ViewCount="475" Body="&lt;p&gt;Is there a component in SXA or is there simple way how to create variant for &quot;Accordion&quot; component to achieve similar functionality as is used on Sitecore doc page where on top you have list of links to different sections of page which are referenced by hash # in anchor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) Something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1x6ja.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1x6ja.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1 is list of links and 2 is already one of linked headers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) On the top link is generated with #_Shopping_Cart:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/34WUJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/34WUJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;c) And H1 is generated with matching id _Shopping_Cart:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6D7BA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6D7BA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-08-23T05:54:34.987" LastActivityDate="2018-08-23T13:17:26.260" Title="Link / Page List component to reference H1 on page with # in SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13493" PostTypeId="2" ParentId="11085" CreationDate="2018-08-23T06:29:20.437" Score="3" Body="&lt;p&gt;I had same issue as yours, I have created helper class(&lt;a href=&quot;https://cmsxperience.com/2016/03/31/render-svg-images-in-razor-with-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;as Santiago Morla's Blog &lt;/a&gt;) to render SVG file and it resolved my issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static MvcHtmlString RenderSvg(this HtmlHelper helper, Image image)&#xA;{&#xA;    if (image != null)&#xA;    {&#xA;        string result;&#xA;        var imageItem = Sitecore.Context.Database.GetItem(image.MediaId.ToString());&#xA;        if (imageItem == null)&#xA;        {&#xA;            return new MvcHtmlString(&quot;&amp;lt;!-- Null --&amp;gt;&quot;);&#xA;        }&#xA;        var imageMediaItem = new MediaItem(imageItem);&#xA;        if (imageMediaItem.MimeType != &quot;image/svg+xml&quot;) return new MvcHtmlString(String.Format(&quot;&amp;lt;img src=\&quot;{0}\&quot; alt=\&quot;{1}\&quot; /&amp;gt;&quot;, image.Src, image.Alt));&#xA;        using (var reader = new StreamReader(MediaManager.GetMedia(imageMediaItem).GetStream().Stream))&#xA;        {&#xA;            result = reader.ReadToEnd();&#xA;        }&#xA;        if (string.IsNullOrWhiteSpace(result))&#xA;            return new MvcHtmlString(String.Format(&quot;&amp;lt;img src=\&quot;{0}\&quot; alt=\&quot;{1}\&quot; /&amp;gt;&quot;, image.Src, image.Alt))&#xA;    return new MvcHtmlString(result);&#xA;    }&#xA;&#xA;    return new MvcHtmlString(&quot;&amp;lt;!-- Null --&amp;gt;&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope will help you.&lt;/p&gt;&#xA;" OwnerUserId="448" LastEditorUserId="448" LastEditDate="2018-08-23T06:37:58.023" LastActivityDate="2018-08-23T06:37:58.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13494" PostTypeId="2" ParentId="13424" CreationDate="2018-08-23T06:43:25.840" Score="2" Body="&lt;p&gt;I have managed to fix this issue.&#xA;Here is the reason why the promo was not persistent in the checkout page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Evaluate&lt;/code&gt; method is triggered when the promo code is applied and also on the page load of the checkout page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have used &lt;code&gt;commerceContext.CurrentCustomerId()&lt;/code&gt; to get the userid. This worked in the summary page but in the checkout, it returned an empty value and hence the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I changed it to &lt;code&gt;commerceContext.CurrentShopperId()&lt;/code&gt; instead and now it's working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The line is now&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;GetCartDates(commerceContext.CurrentShopperId(), cartID, out checkinDate, out checkoutDate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-08-23T06:43:25.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13496" PostTypeId="2" ParentId="4431" CreationDate="2018-08-23T11:23:17.257" Score="4" Body="&lt;p&gt;On Sitecore 9 this error can also happen if your custom facet model json files on xconnect don't match the custom model you have defined in your DLL. Make sure you deploy your new json model file to all the places that xconnect needs them or the tracker will not initialize.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a good reference that explains how custom facets work and how to generate the json file and where to put it. Primarily the &quot;Deploying Custom Collection Models to xConnect&quot; section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://citizensitecore.com/2017/10/17/xconnect-adding-custom-facets-in-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://citizensitecore.com/2017/10/17/xconnect-adding-custom-facets-in-sitecore-9/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3404" LastActivityDate="2018-08-23T11:23:17.257" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13497" PostTypeId="1" CreationDate="2018-08-23T11:34:21.280" Score="1" ViewCount="588" Body="&lt;p&gt;I do no see the &lt;strong&gt;Catalog Management&lt;/strong&gt;(&lt;em&gt;sitecore &gt; Commerce &gt; Catalog Management&lt;/em&gt;) showing up any data. This is after done with the setup of Habitat Home commerce on Sitecore commerce 9 update 2.&#xA;All the templates related to commerce and Catalogs are present and &lt;em&gt;Update Data Templates&lt;/em&gt; work without any errors.&#xA;I do not see any errors in the logs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I need to do so that I can fetch it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HOBqO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HOBqO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="1049" LastEditDate="2018-08-23T12:12:06.380" LastActivityDate="2023-12-26T20:03:30.427" Title="Catalog Management is empty after HabitatHome Commerce Setup" Tags="|sitecore-commerce|habitat|commerce-catalog|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13498" PostTypeId="1" AcceptedAnswerId="13499" CreationDate="2018-08-23T11:45:35.130" Score="1" ViewCount="122" Body="&lt;p&gt;When loading SellableItems in the Content Editor that have a XC9 Entity Composer template property without value (no RawValue key present in JSON) the CatalogDataProvider throws an error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;GetItemFields(ItemDefinition item, VersionUri version, CallContext context)&#xA;Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;Sitecore.Data.FieldList.Add(ID fieldId, String value)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This results in not having any values shown in the Sitecore Content Editor for Sellable Items.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2020-02-15T12:18:13.447" Title="XC9 Entity Composer: error when RawValue is not present" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13499" PostTypeId="2" ParentId="13498" CreationDate="2018-08-23T11:47:06.210" Score="1" Body="&lt;p&gt;This line in the &lt;code&gt;ReadOnlyCatalogDataProvider&lt;/code&gt; causes it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;fieldList1.Add(templateField.ID, property[(object) &quot;Value&quot;].Value&amp;lt;string&amp;gt;());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When changing it to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var val = property[(object)&quot;Value&quot;].Value&amp;lt;string&amp;gt;() ?? String.Empty; fieldList1.Add(templateField.ID, val);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is registered as bug by Sitecore support by reference number #40914.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-08-23T11:47:06.210" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13500" PostTypeId="1" AcceptedAnswerId="13502" CreationDate="2018-08-23T12:35:45.013" Score="1" ViewCount="81" Body="&lt;p&gt;We want to replace our current MongoDB and Sitecore Analytics DB on regular intervals. We are aware that it removes ALL Analytics data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our plan is to setup a completely fresh Sitecore Analytics SQL db and MongoDB with regular intervals - do we need to rebuild the reporting db after doing this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is for Sitecore 8.1.3.&lt;/p&gt;&#xA;" OwnerUserId="3416" LastActivityDate="2018-08-23T13:43:48.823" Title="Rebuild Sitecore Analytics db in fresh installation" Tags="|experience-analytics|mongodb|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13501" PostTypeId="2" ParentId="13492" CreationDate="2018-08-23T13:17:26.260" Score="1" Body="&lt;p&gt;There isn't anything OOTB that would do this, even with Rendering Variants. The Accordion is probably the closest thing to that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the easiest way to achieve what you want would be to clone the Accordion component and provide your own razor view for it. If you look at the existing razor for the Accordion (Just focusing on the part that builds the accordion section):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;&#xA;    &amp;lt;ul class=&quot;items&quot;&amp;gt;&#xA;        @foreach (var composite in Model.CompositeItems)&#xA;        {&#xA;            &amp;lt;li class=&quot;item&quot;&amp;gt;&#xA;                @using (Html.Sxa().BeginEditFrame(composite.Value.ID.ToString(), &quot;Accordion&quot;, Model.IsControlEditable))&#xA;                {&#xA;                    var headerKey = string.Format(&quot;{0}-{1}-{2}&quot;, headerBaseKey, composite.Key, Model.Id);&#xA;                    &amp;lt;div class=&quot;toggle-header&quot;&amp;gt;&#xA;                        &amp;lt;div class=&quot;label&quot;&amp;gt;&#xA;                            @Html.Sitecore().Placeholder(headerKey)&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                    var contentKey = string.Format(&quot;{0}-{1}-{2}&quot;, contentBaseKey, composite.Key, Model.Id);&#xA;                    &amp;lt;div class=&quot;toggle-content&quot;&amp;gt;&#xA;                        @Html.Sitecore().Placeholder(contentKey)&#xA;                    &amp;lt;/div&amp;gt;&#xA;                }&#xA;            &amp;lt;/li&amp;gt;&#xA;        }&#xA;    &amp;lt;/ul&amp;gt;                            &#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just a very quick alteration to that, adding a second loop would put the accordion content where you need it to be. Then the rendering variant of the content would take care of the &lt;code&gt;H1&lt;/code&gt; for the heading:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;&#xA;    &amp;lt;ul class=&quot;items&quot;&amp;gt;&#xA;        @foreach (var composite in Model.CompositeItems)&#xA;        {&#xA;            &amp;lt;li class=&quot;item&quot;&amp;gt;&#xA;                @using (Html.Sxa().BeginEditFrame(composite.Value.ID.ToString(), &quot;Accordion&quot;, Model.IsControlEditable))&#xA;                {&#xA;                    var headerKey = string.Format(&quot;{0}-{1}-{2}&quot;, headerBaseKey, composite.Key, Model.Id);&#xA;                    &amp;lt;div class=&quot;toggle-header&quot;&amp;gt;&#xA;                        &amp;lt;div class=&quot;label&quot;&amp;gt;&#xA;                            @Html.Sitecore().Placeholder(headerKey)&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                }&#xA;            &amp;lt;/li&amp;gt;&#xA;        }&#xA;    &amp;lt;/ul&amp;gt;                            &#xA;    @foreach (var composite in Model.CompositeItems)&#xA;    {&#xA;        &amp;lt;div class=&quot;item&quot;&amp;gt;&#xA;            @using (Html.Sxa().BeginEditFrame(composite.Value.ID.ToString(), &quot;Accordion&quot;, Model.IsControlEditable))&#xA;            {&#xA;                var contentKey = string.Format(&quot;{0}-{1}-{2}&quot;, contentBaseKey, composite.Key, Model.Id);&#xA;                &amp;lt;div class=&quot;toggle-content&quot;&amp;gt;&#xA;                    @Html.Sitecore().Placeholder(contentKey)&#xA;                &amp;lt;/div&amp;gt;&#xA;            }&#xA;        &amp;lt;/div&amp;gt;&#xA;    }&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Its not exactly the same markup and uses the Accordion JavaScript to toggle the content vs the anchor links with Id's, but it should give you the same result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Caveat: The above code is untested, but gives you a starting point :)&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-08-23T13:17:26.260" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13502" PostTypeId="2" ParentId="13500" CreationDate="2018-08-23T13:43:48.823" Score="0" Body="&lt;p&gt;Well, rebuilding the reporting DB will take all the data from the collections databases (MongoDd), so as you are replacing those too, there probably isn't much merit to rebuilding the reporting database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, you probably should redeploy the marketing definitions when you start with a clean reporting/analytics database, otherwise the aggregation tasks will not write the correct data.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-08-23T13:43:48.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13503" PostTypeId="1" CreationDate="2018-08-23T14:02:47.390" Score="1" ViewCount="123" Body="&lt;p&gt;We are using Sitecore 8.2 update-5 along with corresponding wffm module. Form submit action 'Create Item' doesn't show any way to configure item's name. is there any way to set it to one of the form's fields?&lt;/p&gt;&#xA;" OwnerUserId="2025" LastEditorUserId="73" LastEditDate="2018-08-23T23:16:26.437" LastActivityDate="2018-12-22T23:02:05.467" Title="How to control name of the item created using Sitecore WFFM form submit action - 'Create Item'?" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13504" PostTypeId="1" CreationDate="2018-08-23T14:18:58.160" Score="6" ViewCount="492" Body="&lt;p&gt;During a vulnerability scan, Path-Based Vulnerability has been reported in the below-mentioned links,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;www.sample.com/web/abcdefgh/ijklmnop/-/document_library_display.old&#xA;www.sample.com/web/abcdefgh/ijklmnop/-/document_library_display.bak&#xA;www.sample.com/web/abcdefgh/ijklmnop/-/document_library_display.inc&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We do not find any .old, .bak and .inc files present anywhere in the application.how to avoid accessing these extensions.&lt;/p&gt;&#xA;" OwnerUserId="3601" LastActivityDate="2018-08-25T22:20:08.663" Title="Media file path based vulnerablity" Tags="|configuration|media-library|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13510" PostTypeId="1" AcceptedAnswerId="13511" CreationDate="2018-08-23T17:44:40.307" Score="3" ViewCount="1755" Body="&lt;p&gt;I am trying to use the JSS service Layout API to get the items from a datasource specified in a control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I set a specific item as a datasource, I do get the item fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XXSqf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XXSqf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oIXRK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oIXRK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I use a query to get multiple items, I don't get any data from the service. Only the text of datasource query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ivyEA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ivyEA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZHhKt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZHhKt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to get the datasource items in the json. I am missing something?&#xA;Should I extend the layout service for this to work?&lt;/p&gt;&#xA;" OwnerUserId="4180" LastActivityDate="2018-08-23T19:23:51.343" Title="JSS Layout Service not returning items from datasource with query" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13511" PostTypeId="2" ParentId="13510" CreationDate="2018-08-23T18:42:34.917" Score="3" Body="&lt;p&gt;You have two options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Use Integrated GraphQL to query the rendering data you need: &lt;a href=&quot;https://jss.sitecore.net/docs/techniques/graphql/integrated-graphql&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/docs/techniques/graphql/integrated-graphql&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Extend an existing Rendering Contents Resolver or implement a custom Rendering Contents Resolver in order to use a search query as a datasource. The out-of-the-box resolvers are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Datasource Resolver - The default behavior, serializes the rendering's datasource item&lt;/li&gt;&#xA;&lt;li&gt;Datasource Item Children Resolver - Serializes the children of the datasource item&lt;/li&gt;&#xA;&lt;li&gt;Context Item Resolver - Serializes the context item instead of the datasource item&lt;/li&gt;&#xA;&lt;li&gt;Context Item Children Resolver - Serializes the children of the context item&lt;/li&gt;&#xA;&lt;li&gt;Folder Filter Resolver - Serializes the descendents of the datasource item, excluding folders&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can find information about Rendering Contents Resolvers here, they are fairly straightforward to implement:&#xA;&lt;a href=&quot;https://jss.sitecore.net/docs/techniques/extending-layout-service/layoutservice-rendering-contents&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/docs/techniques/extending-layout-service/layoutservice-rendering-contents&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2018-08-23T19:23:51.343" LastActivityDate="2018-08-23T19:23:51.343" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13512" PostTypeId="2" ParentId="13473" CreationDate="2018-08-23T19:04:36.177" Score="1" Body="&lt;p&gt;This is an error with the Azure wdp packages that are available for download from the Sitecore Developer site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you open up the downloaded zip, e.g. &lt;em&gt;Packages for XM Scaled.zip&lt;/em&gt;, and inspect the contents using an application such as &lt;a href=&quot;https://www.7-zip.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;7-zip&lt;/a&gt; you will notice that the &lt;code&gt;Content\Website\Views\Form&lt;/code&gt; folder is empty and contains no files:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7QrfL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7QrfL.png&quot; alt=&quot;WFFM CD wdp&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the exact same version of WFFM, if you check the cswdp.zip package for the CM instance then you will see that the Views exists as would expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l0u3j.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l0u3j.png&quot; alt=&quot;WFFM CM wdp&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resolve the error, you can repacked the CD wdp with the missing files (you should be able to replace the entire &lt;code&gt;Content&lt;/code&gt; folder) and use that for your deployments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should also raise this issue with Sitecore Support to fix since the original packages have been generated incorrectly.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-08-23T19:04:36.177" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13516" PostTypeId="2" ParentId="13491" CreationDate="2018-08-24T09:31:10.857" Score="1" Body="&lt;p&gt;Well it's not configured correctly. It's important to realise, Sitecore works with validators on many levels. That is to say, you can make the field required on many different levels, all of them acting independently of each other.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The Quick Action / Gutter bar&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CrzsP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CrzsP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This result of validators here, are shown in the gutter on the left. As you've also seen.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;The Validate Button&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Hvrv2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hvrv2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The results of validators defined here, are shown when you press the &quot;Validation&quot; button on the &quot;Review&quot; ribbon.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;The Validator Bar&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uzlP6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uzlP6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This defines the validators that get triggered when you &quot;Save&quot; an item. Non-admin users will not be able to save items with validation errors. Admin users &lt;em&gt;will&lt;/em&gt; be allowed. Be aware of this when testing.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Workflow&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mHgac.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mHgac.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally there are the Workflow Validators. The validators defined here, apply to when you're moving an item through workflow.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;In summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You either do not have the correct validators set up for Workflow OR (and probably this) you are logged in as an admin and are bypassing workflows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another possible problem could be, if you have Language Fallback enabled. If you do, you need to disable it and try your workflow again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More on validation here: &lt;a href=&quot;http://sitecoreworld.blogspot.com/2014/12/sitecore-validation-examples.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Validation Examples&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-08-24T09:31:10.857" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13518" PostTypeId="2" ParentId="13440" CreationDate="2018-08-24T11:19:49.657" Score="1" Body="&lt;p&gt;Resolved this issue by updating below setting&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;setting name=&quot;Query.MaxItems&quot;&amp;gt;  &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;1000&amp;lt;/patch:attribute&amp;gt;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2018-08-24T11:19:49.657" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13519" PostTypeId="1" AcceptedAnswerId="13536" CreationDate="2018-08-24T11:45:39.773" Score="5" ViewCount="977" Body="&lt;p&gt;I've some problems in understanding how some technologies should work together in sitecore.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;When I am right is unicorn only here to sync developer definition items from dev to staging to live and only in this direction&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;but how can I sync content items from dev to staging to live and at the best vicy versa. When I understand @kam Figy right in this answer &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13356/how-to-use-unicorn-for-content-staging/13362#13362&quot;&gt;How to use Unicorn for Content Staging&lt;/a&gt; is unicorn not for content staging and I should use sidekick for conent staging?&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I would like to use my TFS to automate the content Staging with unicorn I know how to deploy my definition items on my server but how could I use it to deploy content items?&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;some more informations about my local setup:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;we got some developer pcs with local sitecore installed&lt;/li&gt;&#xA;&lt;li&gt;the first test environment is &amp;quot;Dev&amp;quot; where a XP0 is installed and the TFS deploys sitecore there&lt;/li&gt;&#xA;&lt;li&gt;the second evironment is &amp;quot;Staging&amp;quot; where the ready to use features are deployed and are filled with contnent and get testet. With XP1 CD and CM&lt;/li&gt;&#xA;&lt;li&gt;the third and final environment is &amp;quot;Live&amp;quot; where the XP1 is installed with CD and CM&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;My Current Setup:&lt;/h1&gt;&#xA;&lt;p&gt;So I've created my Setup and will give it a try.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Unicorn to sync the developer items from dev to staging to live&lt;/li&gt;&#xA;&lt;li&gt;sitecore sidekick to sync content between all scopes.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-08-31T06:15:32.410" Title="How to do content Staging in Sitecore when using Unicorn" Tags="|sxa|unicorn|sitecore-sidekick|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13521" PostTypeId="1" CreationDate="2018-08-24T13:07:07.187" Score="2" ViewCount="78" Body="&lt;p&gt;I am aware on how to set a seasonal price for a product. &#xA;Our site sells online tickets. The price of a ticket by default is 75 USD.&#xA;But during December it is 100 USD. So, I configure the date and price. When user browses the site in December, it will show as 100.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The new requirement is as follows.&lt;br&gt;&#xA;Say, this is August. User wants to purchase the ticket for a December event. The price should be 100.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not possible out of box.&lt;br&gt;&#xA;Though I have set the future price for the product, when user adds it to cart (in august) and proceeds to checkout, the unit price shown is 75. Because it is getting the price for the current timestamp.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tickets are for a theme park that sell everyday and are of 2 variants - Adult &amp;amp; Child.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone please guide me, what pipelines should be extended to achieve our goal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore commerce 8.2.1 u3 with sc 8.2 u5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-08-27T04:38:13.017" LastActivityDate="2018-08-27T04:38:13.017" Title="How to customize seasonal pricing in Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13522" PostTypeId="2" ParentId="13521" CreationDate="2018-08-24T13:45:50.633" Score="1" Body="&lt;p&gt;It's not the same product.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your ticket, is a product &lt;em&gt;within a timeframe&lt;/em&gt;. Just like an off-peak hotel room, valid only between October and April, as an example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I don't know your full setup, but sounds to me like you need to create something similar. &quot;Off Season Ticket&quot; and &quot;Ticket&quot; (or whatever makes sense in your case). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing the price of a &quot;Ticket&quot; on certain dates is functionality used to cater for sales events such as Black Friday and so - where specific products are marked down for sale - to clear inventory to make way for next seasons product offerings. Not directly applicable to your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To clarify; conditional promotions are applicable to &lt;em&gt;time of sale&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's going to be a &lt;em&gt;lot&lt;/em&gt; of custom handling you'll need to get done, to get Sitecore Commerce which is almost exclusively aimed at Retail B2C at this time, to work as expected in a case such as yours. For now, however, you need to start looking at your dynamically priced product differently.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-08-24T13:45:50.633" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13526" PostTypeId="2" ParentId="13503" CreationDate="2018-08-24T16:06:35.090" Score="1" Body="&lt;p&gt;I'm afraid that is not possible out-of-the-box. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I can suggest is that you create a custom &lt;code&gt;&amp;lt;item:created&amp;gt;&lt;/code&gt; event handler to rename an item of your certain WFFM item template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;That would work as a dirty fix.&lt;/p&gt;&#xA;" OwnerUserId="982" LastActivityDate="2018-08-24T16:06:35.090" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13527" PostTypeId="1" CreationDate="2018-08-24T16:33:49.737" Score="13" ViewCount="3588" Body="&lt;p&gt;I have added the following &lt;code&gt;X-frame-options&lt;/code&gt; header in &lt;strong&gt;web.config&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;httpProtocol&amp;gt;&#xA;  &amp;lt;customHeaders&amp;gt;&#xA;    &amp;lt;remove name=&quot;X-Powered-By&quot; /&amp;gt;&#xA;&#xA;    &amp;lt;add name=&quot;X-Frame-Options&quot; value=&quot;sameorigin&quot; /&amp;gt;   &#xA;&#xA;  &amp;lt;/customHeaders&amp;gt;&#xA;&amp;lt;/httpProtocol&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Despite adding this header, our security scan still recommends that anti-framing measures need to be taken. How do we implement X-Frame-options properly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to set the HTTP response header with &lt;code&gt;X-frame-options&lt;/code&gt; that should reflect across application, with &lt;strong&gt;sameorigin&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest that is this approach is correct or if it needs to be implemented differently in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="135" LastEditDate="2018-08-25T12:22:53.387" LastActivityDate="2018-08-25T16:59:39.747" Title="X-Frame Option in Sitecore 9" Tags="|configuration|security|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13528" PostTypeId="2" ParentId="8107" CreationDate="2018-08-24T18:44:22.960" Score="1" Body="&lt;p&gt;if you want SIF to support uninstalling a Sitecore instance, please file a support ticket at &lt;a href=&quot;https://support.sitecore.net/helpdesk/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.sitecore.net/helpdesk/&lt;/a&gt; and ask to link it with a feature request &lt;code&gt;#204173&lt;/code&gt;, and &lt;code&gt;#250404&lt;/code&gt; if you want it to repairs / reinstalls.&lt;/p&gt;&#xA;" OwnerUserId="973" LastEditorUserId="973" LastEditDate="2018-08-24T18:54:20.100" LastActivityDate="2018-08-24T18:54:20.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13530" PostTypeId="2" ParentId="8107" CreationDate="2018-08-24T21:03:00.687" Score="4" Body="&lt;p&gt;Thomas Eldblom put together a nice package using Sitecore Extensions to install and uninstall an instance of Sitecore. I find this works great for me and my dev instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You really have to familiarize yourself with it. But it is a nifty way to install and uninstall Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Eldblom/sifdemos&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Eldblom/sifdemos&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Parameters.ps1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Parameters pulls together all the locations and files like normal.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# General Args&#xA;$prefix                 = 'sugcon_xm0'&#xA;$configsRoot            = Join-Path $PSScriptRoot Configs&#xA;$packagesRoot           = Join-Path $PSScriptRoot Packages&#xA;$licenseFilePath        = Join-Path $PSScriptRoot '..\\license.xml'&#xA;$sqlServer              = '.'&#xA;&#xA;### Sitecore ###&#xA;&#xA;    # Install Sitecore&#xA;    $sitecoreStandalone = @{&#xA;        Path                = Join-Path $configsRoot sitecore-xm0.json&#xA;        Package             = Join-Path $packagesRoot 'Sitecore 9.0.1 rev. 171219 (OnPrem)_single.scwdp.zip'&#xA;        LicenseFile         = $licenseFilePath&#xA;        SqlDbPrefix         = $prefix&#xA;        SiteName            = $prefix&#xA;        SqlServer           = $sqlServer&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Uninstall.ps1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Nice simple ps1 to bring it all together and execute the SIF configuration task.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Bring parameters into scope&#xA;. $PSScriptRoot\parameters.ps1&#xA;&#xA;$uninstallArgs = @{&#xA;    Path = Join-Path $configsRoot &quot;uninstall.json&quot;&#xA;    Prefix = $prefix&#xA;    SqlServer = $sqlServer&#xA;}&#xA;&#xA;Install-SitecoreConfiguration @uninstallArgs&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Uninstall JSON&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Json task doco to detail what to uninstall using the SIF task manager.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// 20180824164803&#xA;// https://raw.githubusercontent.com/Eldblom/sifdemos/master/2_xm0/Configs/uninstall.json&#xA;&#xA;{&#xA;  &quot;Parameters&quot;: {&#xA;    &quot;Prefix&quot;: {&#xA;      &quot;Type&quot;: &quot;string&quot;,&#xA;      &quot;Description&quot;: &quot;Prefix used for sites, solr, databases etc&quot;&#xA;    },&#xA;    &quot;SqlAdminUser&quot;: {&#xA;      &quot;Type&quot;: &quot;string&quot;,&#xA;      &quot;DefaultValue&quot;: &quot;sa&quot;,&#xA;      &quot;Description&quot;: &quot;The Sql admin user account to use when installing databases.&quot;&#xA;    },&#xA;    &quot;SqlAdminPassword&quot;: {&#xA;      &quot;Type&quot;: &quot;string&quot;,&#xA;      &quot;DefaultValue&quot;: &quot;12345&quot;,&#xA;      &quot;Description&quot;: &quot;The Sql admin password to use when installing databases.&quot;&#xA;    },&#xA;    &quot;SqlServer&quot;: {&#xA;      &quot;Type&quot;: &quot;string&quot;,&#xA;      &quot;DefaultValue&quot;: &quot;.\\SQL2016&quot;,&#xA;      &quot;Description&quot;: &quot;The Sql Server where databases will be installed.&quot;&#xA;    }&#xA;  },&#xA;  &quot;Variables&quot;: {&#xA;    &quot;All.With.Prefix&quot;: &quot;[concat(parameter('Prefix'),'*')]&quot;,&#xA;    &quot;Install.Path&quot;: &quot;[joinpath(environment('SystemDrive'), 'inetpub', 'wwwroot',variable('All.With.Prefix'))]&quot;,&#xA;    &quot;Sql.ConnectionString&quot;: &quot;[sqlconnectionstring(parameter('SqlServer'), '', parameter('SqlAdminUser'), parameter('SqlAdminPassword'))]&quot;,&#xA;    &quot;Sql.DropDatabasesScript&quot;: &quot;[resolvepath('..\\5_uninstall\\dropdatabases.sql')]&quot;&#xA;  },&#xA;  &quot;Tasks&quot;: {&#xA;    &quot;RemoveWebsites&quot;: {&#xA;      &quot;Type&quot;: &quot;RemoveWebsite&quot;,&#xA;      &quot;Params&quot;: {&#xA;        &quot;Name&quot;: &quot;[variable('All.With.Prefix')]&quot;&#xA;      }&#xA;    },&#xA;    &quot;RemoveAppPools&quot;: {&#xA;      &quot;Type&quot;: &quot;RemoveWebAppPool&quot;,&#xA;      &quot;Params&quot;: {&#xA;        &quot;Name&quot;: &quot;[variable('All.With.Prefix')]&quot;&#xA;      }&#xA;    },&#xA;    &quot;RemoveServices&quot;: {&#xA;      &quot;Type&quot;: &quot;RemoveService&quot;,&#xA;      &quot;Params&quot;: {&#xA;        &quot;Name&quot;: &quot;[variable('All.With.Prefix')]&quot;&#xA;      }&#xA;    },&#xA;    &quot;RemoveInstalledContent&quot;: {&#xA;      &quot;Type&quot;: &quot;Remove&quot;,&#xA;      &quot;Params&quot;: {&#xA;        &quot;Path&quot;: &quot;[variable('Install.Path')]&quot;,&#xA;        &quot;Recurse&quot;: true&#xA;      }&#xA;    },&#xA;    &quot;RemoveDatabases&quot;: {&#xA;      &quot;Type&quot;: &quot;Sql&quot;,&#xA;      &quot;Params&quot;: {&#xA;        &quot;InputFile&quot;: &quot;[variable('Sql.DropDatabasesScript')]&quot;,&#xA;        &quot;ConnectionString&quot;: &quot;[variable('Sql.ConnectionString')]&quot;,&#xA;        &quot;Variable&quot;: &quot;[concat('prefix=', parameter('prefix'), '%')]&quot;,&#xA;        &quot;OutputSqlErrors&quot;: true,&#xA;        &quot;Verbose&quot;: true&#xA;      }&#xA;    }&#xA;  },&#xA;  &quot;Modules&quot;: [&#xA;    &quot;SqlServer&quot;,&#xA;    &quot;..\\5_uninstall\\extensions.psm1&quot;&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-08-24T21:03:00.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13531" PostTypeId="2" ParentId="13527" CreationDate="2018-08-25T13:10:20.040" Score="14" Body="&lt;p&gt;Yes, this is &lt;strong&gt;&lt;em&gt;one of&lt;/em&gt;&lt;/strong&gt; the recommended approaches to &lt;a href=&quot;https://www.keycdn.com/blog/x-frame-options/#Enabling-X-Frame-Options-Header&quot; rel=&quot;noreferrer&quot;&gt;prevent clickjacking&lt;/a&gt;, and adding the &lt;code&gt;X-frame-options&lt;/code&gt; header is one of the required steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After making the changes to the web.config, you should see that &lt;code&gt;X-frame-options&lt;/code&gt; should be present in the response headers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should also ensure that relevant &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy&quot; rel=&quot;noreferrer&quot;&gt;&lt;code&gt;Content Security Policy&lt;/code&gt;&lt;/a&gt; headers have also been set. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement to distribution of malware.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP&quot; rel=&quot;noreferrer&quot;&gt;Mozilla Developer Network&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspect this is the reason your security scan is still failing. Setting the &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors&quot; rel=&quot;noreferrer&quot;&gt;frame-ancestors&lt;/a&gt; is one of the &lt;a href=&quot;https://www.owasp.org/index.php/Content_Security_Policy_Cheat_Sheet&quot; rel=&quot;noreferrer&quot;&gt;OWASP recommendations&lt;/a&gt; to prevent clickjacking.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;  &amp;lt;httpProtocol&amp;gt;&#xA;    &amp;lt;customHeaders&amp;gt;&#xA;      &amp;lt;remove name=&quot;X-Powered-By&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;X-Frame-Options&quot; value=&quot;SAMEORIGIN&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;Content-Security-Policy&quot; value=&quot;frame-ancestors 'self'&quot; /&amp;gt;&#xA;    &amp;lt;/customHeaders&amp;gt;&#xA;  &amp;lt;/httpProtocol&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With these config changes in place, you should now see the following response headers being returned:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ujird.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ujird.png&quot; alt=&quot;Content Security Policy headers&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend you check the security headers present on your website using &lt;a href=&quot;https://securityheaders.com/&quot; rel=&quot;noreferrer&quot;&gt;https://securityheaders.com/&lt;/a&gt; which will scan the security headers present and you can see what else you might be missing. Note that this tool can only work against a live, publicly accessible site, i.e. you can check your local website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also recommend reading these blog posts by &lt;a href=&quot;https://www.akshaysura.com/2016/08/19/secure-sitecore-secure-headers-xss-protection/&quot; rel=&quot;noreferrer&quot;&gt;Akshay Sura&lt;/a&gt; and &lt;a href=&quot;http://blog.baslijten.com/sitecore-security-3-prevent-xss-using-content-security-policy/&quot; rel=&quot;noreferrer&quot;&gt;Bas Litjen&lt;/a&gt; which contain a number of other recommendations.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore X-Frame-Options module&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore has introduced an &lt;code&gt;X-frame-options&lt;/code&gt; module, which is included by default in the &lt;code&gt;web.config&lt;/code&gt; as an http module:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;  &amp;lt;modules runAllManagedModulesForAllRequests=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;add type=&quot;Sitecore.Web.XFrameOptionsHeaderModule, Sitecore.Kernel&quot; name=&quot;SitecoreXFrameOptionsHeaderModule&quot; /&amp;gt;&#xA;  &amp;lt;/modules&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Prior to Sitecore 8.2 Update-4, this would add an &lt;code&gt;X-frame-options='sameorigin'&lt;/code&gt; header to be added to &lt;strong&gt;all&lt;/strong&gt; requests. However a &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update4/Release%20Notes&quot; rel=&quot;noreferrer&quot;&gt;change was made in this version&lt;/a&gt; to so this header was &lt;em&gt;only&lt;/em&gt; added to backend requests to the CMS (by checking that the security domain of the requested site is 'sitecore')&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;122317: The XFrameOptionsHeaderModule module picks up front-end requests. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;For earlier versions, using &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1448/how-to-set-x-frame-options-to-deny&quot;&gt;Outbound Rules of the URL Rewrite in IIS&lt;/a&gt; is the recommended way to &lt;em&gt;change&lt;/em&gt; the header. For Sitecore 8.2 onwards you &lt;em&gt;need to handle this yourself&lt;/em&gt; and add the headers you require, including &lt;code&gt;X-frame-options&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This leads to a problem that the &lt;code&gt;X-frame-options&lt;/code&gt; will be inserted twice for requests to the backend admin. Options to mitigate this are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Only add the &lt;code&gt;customHeaders&lt;/code&gt; on your CD servers&lt;/li&gt;&#xA;&lt;li&gt;Create a custom Http Module and add it to &lt;em&gt;web.config&lt;/em&gt; modules section in a similar way that to the Sitecore &lt;code&gt;XFrameOptionsHeaderModule&lt;/code&gt;, and add a check to &lt;em&gt;only&lt;/em&gt; add the header if it is not already present.&lt;/li&gt;&#xA;&lt;li&gt;Use a slightly more advanced outbound rule to only insert the header when it is &lt;a href=&quot;https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-outbound-rules-for-url-rewrite-module#defining-a-precondition&quot; rel=&quot;noreferrer&quot;&gt;not present using preconditions:&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;httpProtocol&amp;gt;&#xA;  &amp;lt;customHeaders&amp;gt;&#xA;    &amp;lt;remove name=&quot;X-Powered-By&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;Content-Security-Policy&quot; value=&quot;frame-ancestors 'self'&quot; /&amp;gt;&#xA;  &amp;lt;/customHeaders&amp;gt;&#xA;&amp;lt;/httpProtocol&amp;gt;&#xA;&amp;lt;rewrite&amp;gt;&#xA;  &amp;lt;outboundRules&amp;gt;&#xA;    &amp;lt;rule name=&quot;Add RESPONSE_X-Frame-Options&quot; preCondition=&quot;X-Frame-Option not present&quot;&amp;gt;&#xA;      &amp;lt;match serverVariable=&quot;RESPONSE_X_Frame_Options&quot; pattern=&quot;.*&quot; /&amp;gt;&#xA;      &amp;lt;action type=&quot;Rewrite&quot; value=&quot;SAMEORIGIN&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;    &amp;lt;preConditions&amp;gt;&#xA;      &amp;lt;preCondition name=&quot;X-Frame-Option not present&quot;&amp;gt;&#xA;        &amp;lt;add input=&quot;{RESPONSE_X_Frame_Options}&quot; pattern=&quot;.+&quot; negate=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/preCondition&amp;gt;&#xA;    &amp;lt;/preConditions&amp;gt;&#xA;  &amp;lt;/outboundRules&amp;gt;  &#xA;&amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will insert the &lt;code&gt;X-Frame-Options&lt;/code&gt; header &lt;strong&gt;only&lt;/strong&gt; if is has not already been set, so will allow the Sitecore &lt;code&gt;XFrameOptionsHeaderModule&lt;/code&gt; to insert the header for the backend and independently allow you to insert the header for your frontend/CD sites.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-08-25T16:59:39.747" LastActivityDate="2018-08-25T16:59:39.747" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13532" PostTypeId="2" ParentId="13456" CreationDate="2018-08-25T20:01:56.180" Score="7" Body="&lt;p&gt;It is not possible to preview an item when you change the publish restrictions and make the item (or one of it's parents) not Publishable. The logic being, from my understanding, is that you are trying to preview &lt;em&gt;how an item will look to the end user once published&lt;/em&gt;, if you make an item unpublishable then the end user will never be able to view it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting up a preview site and setting &lt;code&gt;&amp;lt;site database=&quot;master&quot; ...&amp;gt;&lt;/code&gt; will not work due to the same reason as above.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. Workflow&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Use &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/managing_items/workflows/workflows_and_the_workbox&quot; rel=&quot;noreferrer&quot;&gt;Workflows&lt;/a&gt;. Any item which is in a non-final workflow state will not be published, but you can still preview the item as normal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you keep a parent item in a non-approved state then none of the child item will be published either, this is useful for creating a test folder that authors can safely play around in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only downside to this is you have to ensure your authors do not accidentally approve this item from the Workbox. There are ways to mitigate this, such as not giving authors &lt;code&gt;write access&lt;/code&gt; to this item or applying a different Workflow to this item, which does not have a final state and your authors do not have read access on the workflow either. This will not work as well for regular content items scattered throughout your content tree though.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. Preview Publish Target&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can workaround this by setting up an additional Publishing Target and setting restrictions to &lt;strong&gt;only&lt;/strong&gt; publish the item to this target.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Attach a new web database in SQL Server with a different name, e.g. &lt;code&gt;mysite_sitecore_preview&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add a new entry in &lt;code&gt;/App_Config/ConnectionStrings.config&lt;/code&gt; for the preview database&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;add name=&quot;preview&quot; connectionString=&quot;Data Source=.;Initial Catalog=mysite_sitecore_preview;...&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Add an config entry under &lt;code&gt;/sitecore/databases/database&lt;/code&gt; node. You can duplicate the existing entry for &lt;code&gt;web&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;databases&amp;gt;&#xA;    &amp;lt;database id=&quot;preview&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;      &amp;lt;connectionStringName&amp;gt;$(id)&amp;lt;/connectionStringName&amp;gt;&#xA;      &amp;lt;!-- copy rest of the config same as web --&amp;gt;&#xA;    &amp;lt;/database&amp;gt;&#xA;  &amp;lt;/database&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Add the matching index for this database. Again, you can copy the existing &lt;code&gt;web&lt;/code&gt; entry and change the database settings &lt;code&gt;preview&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;contentSearch&amp;gt;&#xA;    &amp;lt;configuration&amp;gt;&#xA;      &amp;lt;indexes&amp;gt;&#xA;        &amp;lt;index id=&quot;sitecore_preview_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;preview&quot;&amp;gt;mysite_preview_index&amp;lt;/param&amp;gt;&#xA;          &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;            &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;Database&amp;gt;preview&amp;lt;/Database&amp;gt;&#xA;              &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;            &amp;lt;/crawler&amp;gt;&#xA;          &amp;lt;/locations&amp;gt;&#xA;          &amp;lt;!-- ... Add other properties --&amp;gt;&#xA;        &amp;lt;/index&amp;gt;&#xA;      &amp;lt;/indexes&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;  &amp;lt;/contentSearch&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Optionally update the site setting to use the preview database, which will allow users to preview the pages without being logged into the CMS: &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; database=&quot;preview&quot; ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;6&quot;&gt;&#xA;&lt;li&gt;Finally create a new &lt;code&gt;Publishing Target&lt;/code&gt; under &lt;code&gt;/sitecore/system/Publishing targets&lt;/code&gt; in the Sitecore content tree. Set the &lt;code&gt;Target database&lt;/code&gt; field to the same name of the connection string entry from (2), e.g. &lt;code&gt;preview&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7mqbO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7mqbO.png&quot; alt=&quot;Preview Publishing Target&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using Workflow then you should also check the &lt;code&gt;Preview publishing target&lt;/code&gt; field which will allow you to publish items even though they may not be in a final workflow state. This is useful in combination with (5) above&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Publish Restrictions&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can now take advantage of this additional Publishing Target so that content is &lt;strong&gt;not&lt;/strong&gt; published to the web database/production site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1e3sV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1e3sV.png&quot; alt=&quot;Publish settings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Leave the &lt;code&gt;Publishable&lt;/code&gt; checkbox ticked under the &lt;em&gt;Item&lt;/em&gt; tab. Instead, under the &lt;em&gt;Targets&lt;/em&gt; tab &lt;strong&gt;only check the Targets that this item should be Publishable to&lt;/strong&gt;. If you not want publish to the live site then check the other optons, i.e. &lt;code&gt;Preview&lt;/code&gt;. You &lt;strong&gt;&lt;em&gt;must&lt;/em&gt;&lt;/strong&gt; have at least one target checked, if both are unchecked then this setting does not apply.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Again, you can apply this restriction to a parent level folder and any children under this folder will not be published. We used this method frequently, and then users move the item to the correct location when they want to publish to live.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Preview from within the CMS will now work as expected. You can also publish to the Preview target so users who are not logged into the CMS can view these pages.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Preview Site / Live Mode&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can also create a preview site under a different url (e.g. &lt;code&gt;preview.mysite.com&lt;/code&gt;) by adding another &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; entry.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want, you can also &lt;a href=&quot;https://sitecore.stackexchange.com/q/333/135&quot;&gt;enable &quot;Live Mode&quot;&lt;/a&gt; on the CM so users not logged in can preview the changes without the items having to be published (to the preview target)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In all scenarios you must add an additional publish target for this method to work though.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-08-25T20:01:56.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13533" PostTypeId="2" ParentId="13504" CreationDate="2018-08-25T22:20:08.663" Score="4" Body="&lt;p&gt;It's a known issue that Sitecore will serve media requests regardless of the request extension. If you want to prevent media being accessed using an incorrect extension then you need to handle this yourself.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Media Request Event&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;One option is to add an handler for the &lt;code&gt;media:request&lt;/code&gt; event that will check the file extension of the request against the resolved media item, and return a 404 status code if they do not match.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Linq;&#xA;using System.Net;&#xA;using Sitecore.Events;&#xA;using Sitecore.IO;&#xA;using Sitecore.Resources.Media;&#xA;&#xA;namespace MySite.Custom.Media.Events&#xA;{&#xA;    public class CheckMediaExtension&#xA;    {&#xA;        public void OnMediaRequest(object sender, EventArgs args)&#xA;        {&#xA;            // Safety checks&#xA;            if (Sitecore.Context.Site.Name.Equals(Sitecore.Constants.ShellSiteName, StringComparison.InvariantCultureIgnoreCase))&#xA;                return;&#xA;            var sitecoreEventArgs = (SitecoreEventArgs) args;&#xA;            if (sitecoreEventArgs == null || !sitecoreEventArgs.Parameters.Any())&#xA;                return;&#xA;            var request = (MediaRequest) sitecoreEventArgs.Parameters[0];&#xA;            if (request == null)&#xA;                return;&#xA;&#xA;            // Now we've established we have a valid request&#xA;            var mediaItem = MediaManager.GetMedia(request.MediaUri).MediaData.MediaItem;&#xA;            string requestExtension = FileUtil.GetExtension(request.InnerRequest.RequestContext.HttpContext.Request.FilePath);&#xA;&#xA;            if (!string.Equals(mediaItem.Extension, requestExtension, StringComparison.InvariantCultureIgnoreCase))&#xA;            {&#xA;                var response = request.InnerRequest.RequestContext.HttpContext.Response;&#xA;                response.Clear();&#xA;                response.TrySkipIisCustomErrors = true;&#xA;                response.StatusCode = (int) HttpStatusCode.NotFound;&#xA;                response.End();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then patch this event handler in:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;events&amp;gt;&#xA;    &amp;lt;event name=&quot;media:request&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;MySite.Custom.Media.Events.MediaRequestEvent, MySite.Custom&quot; method=&quot;OnMediaRequest&quot;/&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;  &amp;lt;/events&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you go down this route then make sure you have set the &lt;code&gt;Media.RequestExtension&lt;/code&gt; to empty, which will cause the media URLs to be generated with the correct file type extension.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;!--&#xA;  MEDIA - REQUEST EXTENSION&#xA;  The extension to use in media request URLs.&#xA;  If the value is not set, the Extension field of the individual media items &#xA;  will be used (ie. JPG, GIF, etc.)&#xA;  Default value: &quot;ashx&quot;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Media.RequestExtension&quot; set:value=&quot;&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-08-25T22:20:08.663" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13535" PostTypeId="1" CreationDate="2018-08-26T16:07:48.357" Score="3" ViewCount="127" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZNasx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZNasx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;I'm using SXA 1.7 and i use a date range filter on a page.When i create an arabic version for this filter, i'm only allowed to translate the (Title, from label and  to label)but for example the month dropdown menu is always displayed in english as (Jan, Feb, Mar,.....) ,However i need to translate the displayed calendar itself. Is there a way to do so??&lt;a href=&quot;https://i.stack.imgur.com/ffDzM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ffDzM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="3650" LastEditDate="2018-08-27T08:17:54.477" LastActivityDate="2018-08-27T08:17:54.477" Title="Translating SXA Date Filter" Tags="|sxa|multilingual|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13536" PostTypeId="2" ParentId="13519" CreationDate="2018-08-26T16:53:15.713" Score="2" Body="&lt;p&gt;I'll tell you what I have done a few times and see if maybe it helps you. But you have to balance the user's content and possible template changes with what you are going to overwrite with unicorn yml files.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Dev&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In dev I track the following items in Unicorn:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content (/sitecore/content/siteA/*)&lt;/li&gt;&#xA;&lt;li&gt;Foundation, Feature, Project, Layouts, Templates, Settings, etc...&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Each one of these are in their own configuration so I can sync/serialize them individually. This allows developers to share content as well as templates and all the normal Sitecore configuration items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I find this the best use case for Unicorn and I use it all the time. Syncing content between developers is seamless with Unicorn. I recently had to sync 80,000 items several times. Easy as pie. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;UAT&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In our UAT (pre prod) environment, I keep the same configs. My CI will deploy all code, BUT what I do is put git on my UAT CM server and sync the repo/yml files on the server. What this gives me is that the content that is created on UAT comes back to dev and the content I created in dev gets pushed to UAT. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;CI deploy code&lt;/li&gt;&#xA;&lt;li&gt;Git push changes&lt;/li&gt;&#xA;&lt;li&gt;Git pull changes&lt;/li&gt;&#xA;&lt;li&gt;Unicorn sync&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Stage&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Stage is difficult. As a staging server, this is your chance to test your deployment before it goes to production. But as you will read below, I do not use unicorn in production for the reasons noted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you have three choices&#xA; 1. Don't deploy unicorn to stage or production&#xA; 2. Deploy unicorn to just stage and risk your deployment untested&#xA; 3. Deploy unicorn in stage and production&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whatever choice you make, you should deploy unicorn files with CI to a specific folder and transform your unicorn configurations to use that folder for the datastore. Then you can sync unicorn with PowerShell &lt;code&gt;Sync-UnicornConfiguration&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Production&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I never deploy Unicorn content to production. #1 with Unicorn in place, the yml files on disk are the source of data for Sitecore, not SQL. So the speed of disk is now your limiting source for CM server speed. #2 Also the risk of content being archived with a unicorn sync is high if you remove yml files in a deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also would not deployed Unicorn yml files for templates, layouts. etc.... You are much better off turning them into an installation file and installing the update traditionally. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;yml to sitecore install: &lt;a href=&quot;https://kamsar.net/index.php/2017/02/Unicorn-4-Preview-Part-2-5-Generating-Packages-with-SPE/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2017/02/Unicorn-4-Preview-Part-2-5-Generating-Packages-with-SPE/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sync live content back to dev&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Updating dev with production is very important for proper development/uat testing so you are working with real data and not stubbed out developer content. There are several ways to get that data back. The request here is Unicorn and I will talk about some others.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Unicorn&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can configure unicorn on your CM server, but see performance concerns above. But once you serialize your content tree and media items (use LFS if you are keeping media in git). You can zip up the yml files from CM and bring them back to dev/uat. Unzip then into dev unicorn datastore folders and sync all those items right back into your de/uat environments.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;RAZL&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is one of my favorite solutions for this problem. &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Razl&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Razl&lt;/a&gt; RAZL is a tool that uses the built in Sitecore serialization to sync the Sitecore tree from one site to another. It's a really easy tool to you use. And you can create scripts that you can run with automation to automatically sync data from one environment to another. It's not a free tool, valuable.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Sitecore packaging&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The simple solution is just to use Sitecore packaging to package up your tree and reinstall into dev/uat. To make it even easier, you can use Sitecore PowerShell extensions. That adds a [right click] &gt; [download tree&#xA;] option to Sitecore. This makes it really easy to quickly download Sitecore content.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Database restore&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is kind of the nuclear option since it completely overwrites your dev data. But you can backup production core/master/web databases and restore them over your dev/uat databases.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-08-27T13:54:57.670" LastActivityDate="2018-08-27T13:54:57.670" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13537" PostTypeId="2" ParentId="12554" CreationDate="2018-08-26T21:28:03.567" Score="0" Body="&lt;p&gt;Kevin is right, there is no publish task available in the API. The expectation is that there will be a workflow in place and the moving from state to state would be a business process. Handling that in the API would be custom.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't have a workflow in place, I suggest you just turn on the publishing task. If you don't already have it turned on. This will publish the items on a schedule basis.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;scheduling&amp;gt;&#xA;        &amp;lt;agent type=&quot;Sitecore.Tasks.PublishAgent&quot;&amp;gt;&#xA;            &amp;lt;!-- The time format is &quot;HH:MM:SS&quot; --&amp;gt;&#xA;            &amp;lt;!-- Auto-Publish every 6 hrs HCG-C6 --&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;interval&quot;&amp;gt;06:00:00&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;target database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;smart&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;languages&quot;&amp;gt;en&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/agent&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-08-26T21:28:03.567" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13538" PostTypeId="1" AcceptedAnswerId="13539" CreationDate="2018-08-27T09:54:56.043" Score="2" ViewCount="252" Body="&lt;p&gt;We are running a Sitecore 8.2.0 instance with EXM 3.4&#xA;In logs there are bunch of exceptions like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;9200 04:19:17 ERROR Failed to process an email opened task&#xA;Exception: Sitecore.Modules.EmailCampaign.Exceptions.MessageEventPipelineException&#xA;Message: Custom values not found for Message id: {098F3624-A046-4D57-841D-B973316AB55C}, Instance id: {098F3624-A046-4D57-841D-B973316AB55C}, Contact id: {36DE6791-2BA1-4F4B-A05E-B9E7A3304F93}&#xA;Source: Sitecore.EmailCampaign&#xA;   at Sitecore.Modules.EmailCampaign.Core.Pipelines.HandleMessageEventBase.SetCustomValues.Process(HandleMessageEventPipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Modules.EmailCampaign.Core.PipelineHelper.RunPipeline(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.EmailCampaign.Cd.Tasks.EmailOpenedTaskProcessor.OnProcess(ShortRunningTask task, CancellationToken cancellationToken)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What are those custom values? what could be wrong with it?&lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2018-08-27T12:03:29.860" Title="Sitecore 8.2.0 + EXM 3.4 email open task errors" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13539" PostTypeId="2" ParentId="13538" CreationDate="2018-08-27T10:14:53.833" Score="3" Body="&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Up until, and including, EXM 3.4, EXM creates an associated engagement plan for each email campaign.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once a contact interacts with an email campaign (e.g. click or open a link), EXM will move the contact to the appropiate state in the engagement plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a side note, before EXM 3.3, the EXM reporting was based on the engagement plan. In EXM 3.3+ the reporting is now based on xDB data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Answer&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For every contact in the engagement plan, EXM stores custom values e.g. which email address was used, which test variant (if any) and the target language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a contact interacts with an email campaign (e.g. by openining the email or clicking a link), the custom values for that contact will be looked up in the engagement plan. Unfortunately, this lookup is unreliable as the engagement plans are not always in sync, and this will cause the lookup to sometimes fail - as in your case. This is, most of the time, a temporary error though and the lookup will be retried. It's not immediately obvious in your case though, as we don't have the entire stacktrace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This problem was address in EXM 3.5+, which no longer relies on engagement plans to store the custom values.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2018-08-27T12:03:29.860" LastActivityDate="2018-08-27T12:03:29.860" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13540" PostTypeId="1" CreationDate="2018-08-27T11:08:47.867" Score="1" ViewCount="886" Body="&lt;p&gt;Could anybody please help on below.&#xA;I'm getting below error after 1 hour of execution in powershell script  while installing sitecore on Azure PaaS using ARM template but I can access CM and CD server after this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-AzureRmResourceGroupDeployment : 11:49:54 PM - Resource Microsoft.Web/sites/extensions 'demo-sc901azure2-cm/MSDeploy' failed with message '{&#xA;&quot;status&quot;: &quot;failed&quot;,&#xA;&quot;error&quot;: {&#xA;&quot;code&quot;: &quot;ResourceDeploymentFailure&quot;,&#xA;&quot;message&quot;: &quot;The resource operation completed with terminal provisioning state 'failed'.&quot;,&#xA;&quot;details&quot;: [&#xA;{&#xA;&quot;code&quot;: &quot;Failed&quot;,&#xA;&quot;message&quot;: &quot;AppGallery Deploy Failed: 'System.UriFormatException: Invalid URI: The URI is empty.\r\n at System.Uri.CreateThis(String uri, Boolean dontEscape, &#xA;UriKind uriKind)\r\n at Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt;DownloadPackageAndSettings&amp;amp;gt;d__26.MoveNext()\r\n--- End of stack trace from &#xA;previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at &#xA;System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at &#xA;Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt;DownloadAndDeployPackage&amp;amp;gt;d__17.MoveNext()'&quot;&#xA;}&#xA;]&#xA;}&#xA;}'&#xA;At D:\sitecore9_azure_PaaS\tools\Sitecore.Cloud.Cmdlets.psm1:123 char:35&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&#xA;New-AzureRmResourceGroupDeployment : 11:49:54 PM - AppGallery Deploy Failed: 'System.UriFormatException: Invalid URI: The URI is empty.&#xA;at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)&#xA;at Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt;DownloadPackageAndSettings&amp;amp;gt;d__26.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;at Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt;DownloadAndDeployPackage&amp;amp;gt;d__17.MoveNext()'&#xA;At D:\sitecore9_azure_PaaS\tools\Sitecore.Cloud.Cmdlets.psm1:123 char:35&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&#xA;VERBOSE: 11:49:54 PM - Resource Microsoft.Web/sites 'demo-sc901azure2-exm-dds' provisioning status is succeeded&#xA;VERBOSE: 11:49:54 PM - Resource Microsoft.Resources/deployments 'demo-sc901azure2-application' provisioning status is succeeded&#xA;VERBOSE: 11:49:55 PM - Checking deployment status in 60 seconds&#xA;&#xA;New-AzureRmResourceGroupDeployment : 11:51:10 PM - Resource Microsoft.Resources/deployments 'demo-sc901azure2-application-exm' failed with message '{&#xA;&quot;status&quot;: &quot;Failed&quot;,&#xA;&quot;error&quot;: {&#xA;&quot;code&quot;: &quot;ResourceDeploymentFailure&quot;,&#xA;&quot;message&quot;: &quot;The resource operation completed with terminal provisioning state 'Failed'.&quot;,&#xA;&quot;details&quot;: [&#xA;{&#xA;&quot;code&quot;: &quot;DeploymentFailed&quot;,&#xA;&quot;message&quot;: &quot;At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage &#xA;details.&quot;,&#xA;&quot;details&quot;: [&#xA;{&#xA;&quot;code&quot;: &quot;Conflict&quot;,&#xA;&quot;message&quot;: &quot;{\r\n \&quot;status\&quot;: \&quot;failed\&quot;,\r\n \&quot;error\&quot;: {\r\n \&quot;code\&quot;: \&quot;ResourceDeploymentFailure\&quot;,\r\n \&quot;message\&quot;: \&quot;The resource operation &#xA;completed with terminal provisioning state 'failed'.\&quot;,\r\n \&quot;details\&quot;: [\r\n {\r\n \&quot;code\&quot;: \&quot;Failed\&quot;,\r\n \&quot;message\&quot;: \&quot;AppGallery Deploy &#xA;Failed: 'System.UriFormatException: Invalid URI: The URI is empty.\\r\\n at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)\\r\\n at &#xA;Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt;DownloadPackageAndSettings&amp;amp;gt;d__26.MoveNext()\\r\\n--- End of stack trace from previous location where &#xA;exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at &#xA;System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at &#xA;Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt;DownloadAndDeployPackage&amp;amp;gt;d__17.MoveNext()'\&quot;\r\n }\r\n ]\r\n }\r\n}&quot;&#xA;}&#xA;]&#xA;}&#xA;]&#xA;}&#xA;}'&#xA;At D:\sitecore9_azure_PaaS\tools\Sitecore.Cloud.Cmdlets.psm1:123 char:35&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&#xA;New-AzureRmResourceGroupDeployment : 11:51:10 PM - At least one resource deployment operation failed. Please list deployment operations for details. Please see &#xA;https://aka.ms/arm-debug for usage details.&#xA;At D:\sitecore9_azure_PaaS\tools\Sitecore.Cloud.Cmdlets.psm1:123 char:35&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The file azuredeploy.parameters.json has the following parameters&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;$schema&quot;: &quot;https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#&quot;,&#xA;  &quot;contentVersion&quot;: &quot;1.0.0.0&quot;,&#xA;&#xA;&quot;parameters&quot;: {&#xA;    &quot;deploymentId&quot;: {&#xA;      &quot;value&quot;: &quot;&quot;&#xA;    },&#xA;&quot;location&quot;: {&#xA;  &quot;value&quot;: &quot;East US&quot;&#xA;},&#xA;    &quot;sitecoreAdminPassword&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;licenseXml&quot;: {&#xA;      &quot;value&quot;: &quot;&quot;&#xA;    },&#xA;    &quot;repAuthenticationApiKey&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;sqlServerLogin&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;sqlServerPassword&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;cmMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;cdMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;prcMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;repMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;xcRefDataMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;xcCollectMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;xcSearchMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;maOpsMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;maRepMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    }, &#xA;    &quot;deployExmDds&quot;: {&#xA;      &quot;value&quot;: true&#xA;    },&#xA;    &quot;exmDdsMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;exmCmMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;authCertificateBlob&quot;:{&#xA;      &quot;value&quot;: &quot;&quot;&#xA;    },&#xA;    &quot;authCertificatePassword&quot;:{&#xA;      &quot;value&quot;: &quot;ProvidedValue&quot;&#xA;    },&#xA;    &quot;sitecoreSKU&quot;:{&#xA;      &quot;value&quot;: &quot;Small&quot;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Powershell script that looks like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SCSDK=&quot;D:\sitecore9_azure_PaaS\tools&quot;&#xA;$SCTemplates=&quot;https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.0.1/XP&quot;&#xA;$DeploymentId = &quot;demo-sc901azure&quot;&#xA;$ResourceGroup = &quot;demo-sc901azurerg&quot;&#xA;$LicenseFile = &quot;D:\sitecore9_azure_PaaS\license.xml&quot;&#xA;$CertificateFile = &quot;ProvidedValue&quot;&#xA;$SubscriptionId = &quot;ProvidedValue&quot;&#xA;$Location=&quot;East US&quot;&#xA;$ParamFile=&quot;D:\sitecore9_azure_PaaS\azuredeploy.parameters.json&quot;&#xA;$Parameters = @{&#xA;&quot;deploymentId&quot;=$DeploymentId;&#xA;&quot;authCertificateBlob&quot; = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes($CertificateFile))&#xA;}&#xA;Import-Module $SCSDK\Sitecore.Cloud.Cmdlets.psm1&#xA;Add-AzureRMAccount&#xA;Set-AzureRMContext -SubscriptionId $SubscriptionId&#xA;Start-SitecoreAzureDeployment -Name $ResourceGroup -Location $Location -ArmTemplateUrl &quot;$SCTemplates/azuredeploy.json&quot; -ArmParametersPath $ParamFile -LicenseXmlPath $LicenseFile -SetKeyValue $Parameters -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3377" LastEditorUserId="3377" LastEditDate="2018-08-27T18:00:43.823" LastActivityDate="2018-08-28T01:45:52.170" Title="Azure PaaS ARM template installation error - &quot;Invalid URI: The URI is empty&quot;" Tags="|azure|paas|arm-template|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13541" PostTypeId="1" CreationDate="2018-08-27T12:54:43.017" Score="5" ViewCount="260" Body="&lt;p&gt;I am implementing functionality to push certain items in my content tree down in search results depending on a &quot;discontinued&quot; checkbox field. I have created a rule item under &lt;code&gt;/sitecore/system/Settings/Rules/Indexing and Search/Global Rules&lt;/code&gt; which applies a negative boost value to items where the discontinued field is checked (== &quot;1&quot;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q30QW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q30QW.png&quot; alt=&quot;Rule to negatively boost discontinued products&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to tell from the documents in the search index to see that this negative boost value has been applied? I don't see any message about the execution of the rule in my crawling logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Azure Search and have used Postman to inspect my index to look at the documents where I have checked the &quot;discontinued&quot; checkbox, but I don't see any difference. I noticed a &lt;code&gt;@search.score&lt;/code&gt; property of the document but am not sure if this is related to the boost value applied to the document/item.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2023-07-24T06:54:00.460" Title="Check if boost rule has been applied to an item" Tags="|content-search|azure-search|rules-engine|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13542" PostTypeId="2" ParentId="13355" CreationDate="2018-08-27T14:28:10.623" Score="7" Body="&lt;p&gt;OOTB Sitecore Commerce 9 uses &lt;strong&gt;USD currency&lt;/strong&gt; as a default currency.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to use different currency you need to do:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to your &lt;strong&gt;Home&lt;/strong&gt; item and check &lt;code&gt;Control Panel Configuration&lt;/code&gt; in &lt;code&gt;Storefront Settings&lt;/code&gt; section. There Sitecore store reference to Storefront Configuration for your Sitecore Commerce site.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to &lt;code&gt;/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts&lt;/code&gt; and find under this item Storefront Configuration, which you are using for your site&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to &lt;code&gt;/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/{your_storefront_configuration}/Currency Configuration&lt;/code&gt; and find Currency Set. All created/predefined Currency Sets you can find under &lt;code&gt;/sitecore/Commerce/Commerce Control Panel/Shared Settings/Currency Settings/Currency Sets&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to your currency set and select EUR currency in Currencies field and set EUR currency in Default currency field&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After that you need to patch commerceEngineConfiguration and replace defaultShopCurrency to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;defaultShopCurrency&amp;gt;EUR&amp;lt;/defaultShopCurrency&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now all you price calculations will be in EUR currency&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not using SXA and you implemented your custom solution:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You need to have reference on home item to Storefront Configuration, which your Storefront uses (or any other place in your site structure)&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Implement your &lt;strong&gt;own CartManager&lt;/strong&gt; and for all requests like:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;AddCartLinesRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;AddPaymentInfoRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;AddPromoCodeRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;AddShippingInfoRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;GetCartsRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;MergeCartRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;RemovePaymentInfoRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;RemoveShippingInfoRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;RemoveCartLinesRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;RemovePartiesRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;RemovePromoCodeRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;UpdateCartLinesRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;LoadCartByNameRequest&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;you need to set &lt;code&gt;CurrencyCode&lt;/code&gt; property to &lt;code&gt;EUR&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var cartResult =&#xA;        CartServiceProvider.AddCartLines(new AddCartLinesRequest(cart, cartLineList) {CurrencyCode = &quot;EUR&quot;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, GetCurrencyCode by shop, doesn't work properly (decompiled code):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Commerce.XA.Foundation.Common.Providers&#xA;{&#xA;  public class RequestCurrencyProvider : IRequestCurrencyProvider&#xA;  {&#xA;    public string GetCurrencyCode(Shop shop)&#xA;    {&#xA;      return ServiceLocator.ServiceProvider.GetService&amp;lt;IStorefrontContext&amp;gt;().CurrentStorefront.SelectedCurrency;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-08-27T14:28:10.623" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13543" PostTypeId="1" CreationDate="2018-08-27T15:22:20.317" Score="0" ViewCount="302" Body="&lt;p&gt;I'm using two checklist filters with two different facets for each one that are using a computed index field to populate their data.&#xA;Each one is filtering the search results and the other filter data correctly, but not filtering its data.&#xA;As shown in the image below for FILTER BY INFORMATION filter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before Filtering :&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vZiww.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vZiww.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After filtering :&lt;a href=&quot;https://i.stack.imgur.com/vNgQ6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vNgQ6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Still other choices are there although the search results aren't containing all these data.&#xA;It was working well when the facet was using ordinary field not a computed one.&lt;/p&gt;&#xA;" OwnerUserId="4193" LastActivityDate="2018-08-27T18:09:48.880" Title="Checklist filter SXA not filtering itself" Tags="|sxa|content-search|search-facet|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13544" PostTypeId="2" ParentId="13543" CreationDate="2018-08-27T15:34:08.890" Score="2" Body="&lt;p&gt;There is an option to do that. Checklist Filter has &quot;Collapse on selection&quot; checkbox in renderings parameters dialogue which when selected will make a filter to collapse when the value is selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EG0Q8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EG0Q8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-08-27T18:09:48.880" LastActivityDate="2018-08-27T18:09:48.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13545" PostTypeId="1" AcceptedAnswerId="13599" CreationDate="2018-08-27T16:16:14.673" Score="1" ViewCount="473" Body="&lt;p&gt;I am busy setting up our first Sitecore team. We have our first developer, but he never finished his official Sitecore certification.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that we can't let him work on our Sitecore license without certification. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I thought I will check with community that what minimum level of certification is required to work on Sitecore (to ensure that our Sitecore support is not void). &lt;/p&gt;&#xA;" OwnerUserId="4109" LastEditorUserId="73" LastEditDate="2018-08-27T20:04:11.063" LastActivityDate="2018-08-29T12:47:44.357" Title="What certification is required" Tags="|sitecore-commerce|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13546" PostTypeId="1" AcceptedAnswerId="13610" CreationDate="2018-08-27T16:58:45.463" Score="0" ViewCount="172" Body="&lt;p&gt;The below one is the sample component on SellableItem entity. I want to store the list of items in &quot;Scaling Componet&quot; section. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;public class ScalingComponents : Component&#xA;    {&#xA;        public decimal Rate { get; set; } = 0.00M;&#xA;        public decimal Qty { get; set; } = 0.00M;&#xA;        public string RecordNumber { get; set; } = string.Empty;&#xA;        public string RecordSeq { get; set; } = string.Empty;&#xA;    }&lt;/p&gt;&#xA;&#xA;&lt;p&gt;var sampleProduct= new SellableItem&#xA;            {&#xA;                Id = productEntityId,&#xA;                ProductId = product.ProductId,&#xA;                Name = product.ProductId,&#xA;                DisplayName = product.DisplayName,&#xA;                Components = new List&#xA;                {&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;              new ScalingComponents {&#xA;                  ChildComponents = new List&amp;lt;Component&amp;gt;&#xA;                    {&#xA;                        new ScalingComponents&#xA;                        {&#xA;                            Id = random.Next().ToString(),&#xA;                            Name = &quot;scale1&quot; ,&#xA;                           RecordNumber=&quot;1234&quot;,&#xA;                           RecordSeq =&quot;1111&quot;,&#xA;                           Qty=1.20m,&#xA;                           Rate=2m&#xA;                        },&#xA;                         new ScalingComponents&#xA;                        {&#xA;                            Id = random.Next().ToString(),&#xA;                            Name = &quot;scale2&quot; ,&#xA;                           RecordNumber=&quot;5678&quot;,&#xA;                           RecordSeq =&quot;2222&quot;,&#xA;                           Qty=4.20m,&#xA;                           Rate=4m&#xA;                        },&#xA;&#xA;                    },&#xA;&#xA;                    Name =&quot;test&quot;&#xA;              }&#xA;            }&#xA;        };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code is not inserting 2 rows in &quot;Scaling&quot; section in Sellable item view.&#xA;Am i missing anything here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WuDMm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WuDMm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4085" LastActivityDate="2018-08-30T12:51:07.293" Title="Not able to add the record by using Custom component" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13547" PostTypeId="1" AcceptedAnswerId="13555" CreationDate="2018-08-27T16:59:47.790" Score="2" ViewCount="369" Body="&lt;p&gt;I'm trying to connect to my single-instance of Sitecore hosted on Azure using Visual Studio 2015 (with the Sitecore Rocks plugin). I get this error message saying 'Welcome to Sitecore, do you want to retry?'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to resolve the issue using the idea &lt;a href=&quot;http://sitecore.badalkotecha.com/2017/10/connecting-sitecore-rocks-to-sitecore-9.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It advises the reader to make a change to web.config to connect to Sitecore. But now I think I have a circular problem here - I can't connect VS to Sitecore without modifying web.config, and I can't modify web.config without connecting VS to Sitecore. Could someone please advise me what I'm missing here? I'm sure I'm not the first one to connect VS 2015 to Sitecore Azure! Or is it possible to modify web.config without Visual Studio?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help with the above would be greatly appreciated!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Joonu&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS - I'm new to Sitecore! :-)&lt;/p&gt;&#xA;" OwnerUserId="4194" LastEditorUserId="4194" LastEditDate="2018-08-27T18:22:52.900" LastActivityDate="2018-08-28T17:53:15.010" Title="Error while trying to connect to Sitecore using VS 2015" Tags="|visual-studio|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13548" PostTypeId="1" CreationDate="2018-08-27T17:01:48.897" Score="6" ViewCount="496" Body="&lt;p&gt;As SXA is supporting placeholder settings for different renderings, Is there any way that we can setup placeholder settings for rendering variants too for a single rendering?&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2018-08-27T17:08:35.257" Title="Can we apply placeholder settings for rendering variants?" Tags="|sxa|placeholders|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13549" PostTypeId="2" ParentId="13545" CreationDate="2018-08-27T17:03:23.337" Score="6" Body="&lt;p&gt;There is some information that you are missing, like, are you trying to setup as a Sitecore Partner or are you a Sitecore client?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But here are some points:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You do not need to be Sitecore certified to work on a Sitecore build, that would include using your Sitecore license locally to build the site. There is no requirement for certification to work on a Sitecore site that I know of. It will &lt;strong&gt;not&lt;/strong&gt; invalidate your support agreement with Sitecore&lt;/li&gt;&#xA;&lt;li&gt;However, if you are trying to be a Sitecore Partner, then there are certain requirements for that around how many certified developers you have. Those requirements can change so it is best to speak to your Sitecore rep about them&lt;/li&gt;&#xA;&lt;li&gt;Support and File access is something important to think about tho, if you are not certified, you will not have access to the Sitecore support portal, or access to download installation files/modules from &lt;a href=&quot;https://dev.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/&lt;/a&gt;, this can make things tricky when trying to implement a Sitecore site.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As for the level of certification, the only requirement for support and file access is the basic certification. It is up to you if you feel like your developers would benefit from the higher level one.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-08-27T17:03:23.337" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13550" PostTypeId="2" ParentId="13548" CreationDate="2018-08-27T17:08:35.257" Score="4" Body="&lt;p&gt;welcome to SSE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The short answer is, yes you can. Here is the reference material: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/add_a_dynamic_placeholder_to_a_rendering_variant&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/add_a_dynamic_placeholder_to_a_rendering_variant&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The longer answer:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add a placeholder to your rendering variant and add the &lt;code&gt;Placeholder Key&lt;/code&gt; value. Make sure you do not add a dash to the key name&lt;/li&gt;&#xA;&lt;li&gt;Go to your placeholder settings for your site &lt;code&gt;&amp;lt;siteroot&amp;gt;/Presentation/Placeholder Settings&lt;/code&gt; and add a placeholder&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;code&gt;Data&lt;/code&gt; section enter the &lt;code&gt;Placeholder Key&lt;/code&gt; you just added into your rendering variant and suffix it with &lt;code&gt;*&lt;/code&gt; to make it dynamic. So if your key was &lt;code&gt;MyRenderingVariantPlaceholder&lt;/code&gt;, you would enter &lt;code&gt;MyRenderingVariantPlaceholder*&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now you can restrict the use of renderings by using the allows controls field like you would in other Placeholder Settings.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-08-27T17:08:35.257" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13551" PostTypeId="2" ParentId="13545" CreationDate="2018-08-27T17:12:58.333" Score="1" Body="&lt;p&gt;Cliff notes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You only need to have developer licenses for your in house developers. Your Sitecore partners will already have their own partner licenses for their devs.&lt;/li&gt;&#xA;&lt;li&gt;No one can contact Sitecore support without out a certification and a Sitecore portal login.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-08-27T17:12:58.333" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13552" PostTypeId="1" CreationDate="2018-08-27T17:18:31.857" Score="1" ViewCount="181" Body="&lt;p&gt;I am using Sitecore Azure Toolkit for packaging and deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering if there is a way to add custom databases (databases created by myself, other than core, master, web, etc.) to the packages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or if there is a way to automatically (using Azure Powershell scripts) add the custom databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks...&lt;/p&gt;&#xA;" OwnerUserId="4195" LastEditorUserId="2153" LastEditDate="2018-08-28T08:28:36.340" LastActivityDate="2018-08-28T08:28:36.340" Title="How to add Custom Databases to Sitecore Azure Deployment?" Tags="|azure|deployment|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13553" PostTypeId="1" AcceptedAnswerId="13559" CreationDate="2018-08-27T19:01:46.827" Score="2" ViewCount="391" Body="&lt;p&gt;In Module 5,  I am getting an error on the Creating a Breadcrumb Component. I brought in the TAC.Sitecore.Abstractions project like the directions say and I added the reference for it in my event.tac.local project. When I try to build the TAC.Sitecore.Abstractions project, I am receiving the following errors:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IBLj1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IBLj1.png&quot; alt=&quot;Sitecore 9.0 errors&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to Google these various errors and have not been able to find any solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the SitecoreItem.cs file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/weMaE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/weMaE.png&quot; alt=&quot;Code from SitecoreItem.cs&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I appreciate any help that anyone can give to help resolve these errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;" OwnerUserId="4196" LastEditorUserId="69" LastEditDate="2018-08-31T01:41:29.077" LastActivityDate="2018-08-31T01:41:29.077" Title="Sitecore 9 eLearning TAC.Sitecore.Abstraction errors with code in Student resource file SitecoreItem.cs" Tags="|unit-testing|training|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13555" PostTypeId="2" ParentId="13547" CreationDate="2018-08-27T20:36:13.273" Score="1" Body="&lt;p&gt;If you are using IaaS and a virtual machine, you should be able to connect to your VM instance with RDP and modify the web.config from there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using PaaS and an Azure App Service, you can set up an FTP user, or simply get the FTP user and password from your publish profile. Then you can use something like Filezilla to edit the web.config.&lt;/p&gt;&#xA;" OwnerUserId="467" LastActivityDate="2018-08-27T20:36:13.273" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13556" PostTypeId="2" ParentId="13552" CreationDate="2018-08-27T20:41:07.573" Score="1" Body="&lt;p&gt;A custom db really has nothing to do with Sitecore.  You can either add it to the ARM template deployment like shown here:&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/templates/microsoft.sql/servers/databases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/templates/microsoft.sql/servers/databases&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or via powershell here:&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-get-started-powershell&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-get-started-powershell&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="467" LastActivityDate="2018-08-27T20:41:07.573" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13557" PostTypeId="2" ParentId="13540" CreationDate="2018-08-28T01:45:52.170" Score="1" Body="&lt;p&gt;The error is because there is no value set for the parameter cmMsDeployPackageUrl.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That parameter is usually link to a private blob storage of the sitecore CM (cloud) package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/deploying/walkthrough_deploy_a_new_sitecore_environment_to_the_microsoft_azure_app_service&quot; rel=&quot;nofollow noreferrer&quot;&gt;guide&lt;/a&gt; and set all required parameters.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-08-28T01:45:52.170" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13559" PostTypeId="2" ParentId="13553" CreationDate="2018-08-28T03:52:20.977" Score="1" Body="&lt;p&gt;Check reference of Microsoft.Net.Compilers&#xA;remove obj folders (clean solution build)&#xA;remove any missing reference and add again. (Reference generated error or appear as warning)&#xA;Make sure you aren't missing any reference in any project&lt;/p&gt;&#xA;" OwnerUserId="4197" LastActivityDate="2018-08-28T03:52:20.977" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13560" PostTypeId="2" ParentId="13552" CreationDate="2018-08-28T04:33:45.553" Score="1" Body="&lt;p&gt;Does the custom db belong to the Sitecore environment? I.e. if it doesn't exist your custom application won't run?&#xA;If this is the case, look at bundling the database as a custom module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Documentation for creating a custom module: &lt;a href=&quot;https://doc.sitecore.net/cloud/working_with_sitecore_azure_toolkit/packaging/the_web_deploy_packages_for_a_module&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/cloud/working_with_sitecore_azure_toolkit/packaging/the_web_deploy_packages_for_a_module&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could then also add into the module the XDT to update the connection strings as well as generating the database so that the Sitecore environment is updated post database creation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A great example of adding connection strings would be the Sitecore 8.2 EXM packages where we had to add connection strings for EXM:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Email_Experience_Manager/35/Email_Experience_Manager_35_Update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email_Experience_Manager/35/Email_Experience_Manager_35_Update2.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could then create your own module installer JSON like the EXM one:&#xA;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/EXM%203.5.0/xp0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/EXM%203.5.0/xp0&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1413" LastActivityDate="2018-08-28T04:33:45.553" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13561" PostTypeId="1" CreationDate="2018-08-28T05:41:31.500" Score="4" ViewCount="5220" Body="&lt;p&gt;I am not sure if I should use SXA in my project. Currently we want to use only the XP but in the future we would like to use XC too.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;I think I need to create many components by my self because of the design wishes from the gui team&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When we later use the XC we only would use the item listings and not the checkout or user registering or the shopping cart. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So, currently I think its not worth the price and the additional starting time for my Sitecore website when I create a tenant and I am using not enough components out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it hard to create new SXA components?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our current desission:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;we have decided not to use SXA in our sitecore project&lt;/li&gt;&#xA;&lt;li&gt;because its very expensive&lt;/li&gt;&#xA;&lt;li&gt;its hard to customize/extend existing SXA component with addional markup&lt;/li&gt;&#xA;&lt;li&gt;we want clear and simple components designed directly from us for us&lt;/li&gt;&#xA;&lt;li&gt;we have a lot unique controlls&lt;/li&gt;&#xA;&lt;li&gt;we are new to sitecore and its hard to learn how to use sitecore with helix pattern right. And with an other technologie stack in sitecore intself it seem hard to do it the right way because of the lack of documentation for SXA and Helix.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2018-09-12T13:22:36.977" LastActivityDate="2022-12-05T16:35:16.087" Title="SXA or not SXA is the Question what are your experiences?" Tags="|sxa|sxa-storefront|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13562" PostTypeId="2" ParentId="13561" CreationDate="2018-08-28T07:37:14.000" Score="5" Body="&lt;p&gt;Of course, it is worth it! I will not write down all the features again as it was mentioned thousands of times on different blog posts. It's not just about the components which are shipped with SXA. There are much more features which will speed up your site development process drastically. Just a few articles from first Google results:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.sam-solutions.com/blog/the-benefits-of-sitecore-experience-accelerator-for-your-project/&quot; rel=&quot;noreferrer&quot;&gt;The Benefits of Sitecore Experience Accelerator for Your Project&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.hhog.com/sxa-sitecore-experience-accelerator&quot; rel=&quot;noreferrer&quot;&gt;SITECORE EXPERIENCE ACCELERATOR - A new way of building Sitecore websites&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://rcchopra.wordpress.com/2016/10/19/advantage-of-designs-in-sitecore-experience-accelerator/&quot; rel=&quot;noreferrer&quot;&gt;Advantage of designs in #Sitecore Experience Accelerator&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Regarding the components - believe me, you will not need to create a lot of custom ones. I think, that having 5 custom renderings that is already a huge number when you have SXA installed. &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/create_a_rendering_variant&quot; rel=&quot;noreferrer&quot;&gt;Rendering Variants&lt;/a&gt; give you such a big flexibility that there is no need for creating custom renderings.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-08-28T07:37:14.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13563" PostTypeId="1" CreationDate="2018-08-28T09:06:23.733" Score="2" ViewCount="2580" Body="&lt;p&gt;Does someone has experiences in very slow startup of sitecore 9.0.2 in a new and clear local installation it takes about 5 minutes after I change a config file until sitecore is up and running again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The instance is fresh installed I've an other local installation which starts in about 1 minute and I am using the same installation script, just the prefix changed. The local system has no  traffic and I can't see any hard cpu usage why the instance startup takes so long.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The logfiles seems to be ok, no exceptions and so on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I should post any logfiles and so on please tell me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found the following post on sitecore forums: &lt;a href=&quot;https://community.sitecore.net/developers/f/5/t/8920&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/5/t/8920&lt;/a&gt; I've tried this but it does not help.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-08-29T12:32:50.663" Title="Sitecore 9.0.2 very slow startup" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="6" ClosedDate="2018-08-29T21:59:07.560" ContentLicense="CC BY-SA 4.0" />
  <row Id="13564" PostTypeId="2" ParentId="13553" CreationDate="2018-08-28T09:11:53.807" Score="0" Body="&lt;p&gt;I don't believe this is a missing references issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your &lt;code&gt;TestItem.cs&lt;/code&gt; file. You have mismatched &lt;code&gt;{&lt;/code&gt; and &lt;code&gt;}&lt;/code&gt; brackets, likely missing the last closing &lt;code&gt;}&lt;/code&gt;.  Once that is sorted out, &lt;code&gt;TAC.Sitecore.Abstractions&lt;/code&gt; will compile correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The remaining errors are just followups from this initial error.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-08-28T09:11:53.807" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13566" PostTypeId="2" ParentId="13561" CreationDate="2018-08-28T09:34:42.423" Score="6" Body="&lt;p&gt;Faster time to market is not a preference, its a necessity now a days. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA is not just about its toolbox and pre-built components. Its about the entire SXA Website Development Process which help you to expedite the website development process. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a non-SXA project you always have dependencies on the previous phase. Most importantly the Content Entry, this can never take place until all the phases e.g. User Experience, Visual Design, Front-End, Back-End are complete. Well there is a delta for the Backend development which can be overlapped with Content Entry but that is negligible. The Content Entry phase gets more bigger when you have Multi-site and Multilingual project to go live with.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qseM3.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qseM3.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whereas if you are using SXA the Content Entry can start right from the Visual Design phase, when you are done with Wireframing. By Saying that when you will finish the Backend development, you will be having handsome amount of actual Content in place which also helps in more realistic testing compared with testing using Lorem Ipsum content (Which we normally do).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LMcET.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LMcET.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally it also reduces your actual development time by using more than 100+ pre-built components. And most importantly if your designing/content/digital marketing team is skilled enough to work on Sitecore SXA, the time to market can be reduced tremendously. Plus everyone in your team like front end developers, content team and backend developers work consolidated on Sitecore utilizing the powers of SXA hence what all you can expect is a great outcome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As David said, its not worth re-iterating all the features which SXA provides as you can find them on countless blogs and videos. Hence rather talking about Why Opt-In for SXA, let me list out few points on When and Why Opt-Out for SXA?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Most importantly if your client with &lt;strong&gt;&lt;em&gt;Non-Subscription Model&lt;/em&gt;&lt;/strong&gt; is not budgeted to spend cost on SXA Licensing. BUT in your research phase if you find that using SXA can save more money and time on your project, you can try to convincing the client to use SXA. &lt;/li&gt;&#xA;&lt;li&gt;If you are not starting from the scratch, you are bound to follow the current theme being used by the existing solution (which is not a grid system) and you are not budgeted for the efforts to make the SXA site fit-in your existing solution.&lt;/li&gt;&#xA;&lt;li&gt;Your front end and content team is not skilled enough to use Sitecore SXA and if you think user trainings for this project is not feasible due to time crunch.&lt;/li&gt;&#xA;&lt;li&gt;If there are possibilities that the Content finalization in your project will be delayed and can't be available in early phases of project.&lt;/li&gt;&#xA;&lt;li&gt;As you said if the design requirements of the components are more complex than the OOTB components and number is such custom components is higher. And if you think developing these custom components will be more easier than massaging the OOTB SXA components.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But believe me if you are good with these points you MUST use SXA. I mean its worth trying an Helix compliant platform bundled with good amount of pre-built components available by just drag-drop.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-09-21T13:56:52.573" LastActivityDate="2018-09-21T13:56:52.573" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13571" PostTypeId="2" ParentId="13072" CreationDate="2018-08-28T11:45:19.467" Score="0" Body="&lt;p&gt;So the issue was with the &lt;code&gt;MailServer&lt;/code&gt; variable indeed.  The part that was causing the confusion was there was a patch override file setup in production. Using &lt;code&gt;showconfig.aspx&lt;/code&gt; helped identify the root cause.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Funny story, even after updating the patch override file the mail server still did not work, what had happened is someone made a backup of the config file and named it &lt;code&gt;zzz_CompanySettings_Old.config&lt;/code&gt; which had the original values and would always run after &lt;code&gt;zzz_CompanySettings.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Removing the _Old file and setting the patch override correctly fix the issue.&lt;/p&gt;&#xA;" OwnerUserId="2632" LastActivityDate="2018-08-28T11:45:19.467" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13573" PostTypeId="1" AcceptedAnswerId="13689" CreationDate="2018-08-28T12:23:09.777" Score="1" ViewCount="525" Body="&lt;p&gt;I am getting the cast error while installing the Sitecore commerce 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-SitecoreConfiguration : Cannot convert 'System.Object[]' to&#xA;  the type 'System.String' required by parameter&#xA;  'SitecoreBizFxServicesContentPath'. Specified method is not supported.&#xA;  At&#xA;  C:\deploy\SIF.Sitecore.Commerce.1.2.14\Deploy-Sitecore-Commerce.ps1:80&#xA;  char:32&#xA;  +     Install-SitecoreConfiguration @params&#xA;  +                                   ~~~~~~~&#xA;      + CategoryInfo          : InvalidArgument: (:) [Install-SitecoreConfiguration], ParameterBindingException&#xA;      + FullyQualifiedErrorId : CannotConvertArgument,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3874" LastEditorUserId="1671" LastEditDate="2018-08-28T12:42:28.213" LastActivityDate="2018-09-04T21:54:08.590" Title="Error Installing Sitecore Commerce 9" Tags="|sitecore-commerce|installation|powershell|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13574" PostTypeId="1" AcceptedAnswerId="13575" CreationDate="2018-08-28T14:21:22.667" Score="6" ViewCount="5319" Body="&lt;p&gt;Trying to $expand multiple levels of an item's children.&#xA;I have tried queries with &lt;code&gt;//*&lt;/code&gt; at the end, but that didn't work, for example:&#xA;&lt;code&gt;/sitecore/api/ssc/aggregate/content/Items('/sitecore/content/Site/Editorials//*')&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That didn't work, as I kept getting errors like : &#xA;&lt;code&gt;&#xA;A potentially dangerous Request.Path value was detected from the client (*)&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4203" LastActivityDate="2018-08-28T14:25:57.370" Title="How to expand children ( multi level ) with FieldValues with OData" Tags="|odata|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13575" PostTypeId="2" ParentId="13574" CreationDate="2018-08-28T14:25:57.370" Score="5" Body="&lt;p&gt;Turns out we can use multiple levels of &lt;code&gt;$expand&lt;/code&gt;, or even supply &lt;code&gt;$level&lt;/code&gt; of depth,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/object/Simple.OData.Client/issues/85&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/object/Simple.OData.Client/issues/85&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, &lt;code&gt;$level&lt;/code&gt; doesn't seem to allow expanding &lt;code&gt;FieldValues&lt;/code&gt; for all levels, so I ended up having multiple &lt;code&gt;$expand&lt;/code&gt; like so :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/api/ssc/aggregate/content/Items('/sitecore/content/MySite/MyContent')/Children?$expand=Children($expand=Children, FieldValues), FieldValues&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4203" LastActivityDate="2018-08-28T14:25:57.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13576" PostTypeId="1" CreationDate="2018-08-28T15:08:07.320" Score="0" ViewCount="941" Body="&lt;p&gt;What is the benefit of including dependencies in Unicorn Configuration file. In what scenarios actually the dependencies are usefull.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;configuration name=&quot;Project.Example&quot; description=&quot;Example Project&quot; dependencies=&quot;Foundation.Print&quot; patch:after=&quot;configuration[@name='Foundation.Print']&quot;&amp;gt;&#xA;      &amp;lt;predicate&amp;gt;&#xA;&#xA;        &amp;lt;include name =&quot;Sitecore.Project.Example.Templates&quot; database=&quot;master&quot; path =&quot;/sitecore/templates/Project/Example&quot;&amp;gt;&#xA;          &amp;lt;exclude childern =&quot; true&quot;/&amp;gt;&quot;&#xA;        &amp;lt;/include&amp;gt;            &#xA;&#xA;      &amp;lt;/predicate&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Foundation.Print is the configuration name given for one of my project/module at Foundation layer&lt;/p&gt;&#xA;" OwnerUserId="3980" LastActivityDate="2018-08-28T16:50:50.260" Title="What is the benefit of including dependencies in Unicorn Configuration file" Tags="|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13577" PostTypeId="1" AcceptedAnswerId="13606" CreationDate="2018-08-28T15:30:06.447" Score="1" ViewCount="387" Body="&lt;p&gt;I am getting the error not able to start SQL Server Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Restarting SQL Server&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Something went wrong restarting SQL server again&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Install-SitecoreConfiguration: Service 'SQL Server (MSSQLSERVER)&#xA;  (MSSQLSERVER)' cannot be stopped due to the following error: Cannot&#xA;  stop SQLPBENGINE service on computer '.'. At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253&#xA;  char:21&#xA;  +                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Script:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#Requires -Version 3&#xA;param(&#xA;    [string]$SiteName = &quot;C360.local&quot;,   &#xA;    [string]$SiteHostHeaderName = &quot;C360.local&quot;, &#xA;    [string]$SqlDbPrefix = $SiteName,&#xA;    [string]$CommerceSearchProvider = &quot;SOLR&quot;&#xA;)&#xA;&#xA;$global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path&#xA;$modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;Modules&quot; )&#xA;if ($env:PSModulePath -notlike &quot;*$modulesPath*&quot;)&#xA;{&#xA;    $p = $env:PSModulePath + &quot;;&quot; + $modulesPath&#xA;    [Environment]::SetEnvironmentVariable(&quot;PSModulePath&quot;,$p)&#xA;}&#xA;&#xA;&#xA;$params = @{&#xA;        Path = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json' &#xA;        SiteName = $SiteName&#xA;        SiteHostHeaderName = $SiteHostHeaderName &#xA;        InstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$SiteName&quot;&#xA;        XConnectInstallDir = &quot;$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$($SiteName)_xconnect&quot;&#xA;        CertificateName = $SiteName&#xA;        CommerceServicesDbServer = $($Env:COMPUTERNAME)    #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;        CommerceServicesDbName = &quot;SitecoreCommerce9_SharedEnvironments&quot;&#xA;        CommerceServicesGlobalDbName = &quot;SitecoreCommerce9_Global&quot;       &#xA;        SitecoreDbServer = $($Env:COMPUTERNAME)            #OR &quot;SQLServerName\SQLInstanceName&quot;&#xA;        SitecoreCoreDbName = &quot;C360_Core&quot;&#xA;        SitecoreUsername = &quot;sitecore\admin&quot;&#xA;        SitecoreUserPassword = &quot;b&quot;&#xA;        CommerceSearchProvider = $CommerceSearchProvider&#xA;        SolrUrl = &quot;https://localhost:8983/solr&quot;&#xA;        SolrRoot = &quot;C:\Program Files\Solr\solr-6.6.2&quot;&#xA;        SolrService = &quot;solr662&quot;&#xA;        SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SolrSchemas&quot; )&#xA;        SearchIndexPrefix = &quot;&quot;&#xA;        AzureSearchServiceName = &quot;&quot;&#xA;        AzureSearchAdminKey = &quot;&quot;&#xA;        AzureSearchQueryKey = &quot;&quot;&#xA;        CommerceEngineDacPac = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.SDK.*\Sitecore.Commerce.Engine.DB.dacpac&quot;       &#xA;        CommerceOpsServicesPort = &quot;5015&quot;&#xA;        CommerceShopsServicesPort = &quot;5005&quot;&#xA;        CommerceAuthoringServicesPort = &quot;5000&quot;&#xA;        CommerceMinionsServicesPort = &quot;5010&quot;        &#xA;        SitecoreCommerceEngineZipPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.2.2.126.zip&quot;        &#xA;        SitecoreBizFxServicesContentPath = Resolve-Path -Path &quot;..\Sitecore.BizFX.1.2.19&quot;        &#xA;        SitecoreIdentityServerZipPath = Resolve-Path -Path &quot;..\Sitecore.IdentityServer.1.*.zip&quot;&#xA;        CommerceEngineCertificatePath = Resolve-Path -Path &quot;..\storefront.engine.cer&quot;       &#xA;        SiteUtilitiesSrc = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;SiteUtilityPages&quot; )  &#xA;        HabitatImagesModuleFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Habitat.Images-*.zip&quot;    &#xA;        AdvImagesModuleFullPath = Resolve-Path -Path &quot;..\Adventure Works Images.zip&quot;    &#xA;        CommerceConnectModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Connect*.zip&quot;  &#xA;        CommercexProfilesModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce ExperienceProfile Core *.zip&quot;    &#xA;        CommercexAnalyticsModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce ExperienceAnalytics Core *.zip&quot; &#xA;        CommerceMAModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Marketing Automation Core *.zip&quot;    &#xA;        CommerceMAForAutomationEngineModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Marketing Automation for AutomationEngine *.zip&quot; &#xA;        CEConnectPackageFullPath = Resolve-Path -Path &quot;..\Sitecore.Commerce.Engine.Connect*.update&quot;&#xA;        PowerShellExtensionsModuleFullPath = Resolve-Path -Path &quot;..\assets\Sitecore PowerShell Extensions*.zip&quot;&#xA;        SXAModuleFullPath = Resolve-Path -Path &quot;..\assets\Sitecore Experience Accelerator*.zip&quot;&#xA;        SXACommerceModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator 1.*.zip&quot;&#xA;        SXAStorefrontModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront 1.*.zip&quot;&#xA;        SXAStorefrontThemeModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Storefront Themes*.zip&quot;&#xA;        SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path &quot;..\Sitecore Commerce Experience Accelerator Habitat Catalog*.zip&quot;&#xA;        MergeToolFullPath = Resolve-Path -Path &quot;..\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\tools\VSToolsPath\Web\Microsoft.Web.XmlTransform.dll&quot;&#xA;        UserAccount = @{&#xA;            Domain = $Env:COMPUTERNAME&#xA;            UserName = 'CSFndRuntimeUser'&#xA;            Password = 'Pu8azaCr'&#xA;        }&#xA;        BraintreeAccount = @{&#xA;            MerchantId = ''&#xA;            PublicKey = ''&#xA;            PrivateKey = ''&#xA;        }&#xA;        SitecoreIdentityServerName = &quot;SitecoreIdentityServer&quot;       &#xA;    }&#xA;&#xA;if ($CommerceSearchProvider -eq &quot;SOLR&quot;) {&#xA;    Install-SitecoreConfiguration @params   &#xA;}&#xA;elseif ($CommerceSearchProvider -eq &quot;AZURE&quot;){&#xA;    Install-SitecoreConfiguration @params -Skip InstallSolrCores&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3874" LastEditorUserId="2056" LastEditDate="2018-08-29T15:10:30.323" LastActivityDate="2018-08-30T04:19:20.063" Title="Sitecore Commerce 9 Installation Error - Unable to Stop SQL Service" Tags="|sitecore-commerce|sitecore-install-framework|installation|powershell|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="13578" PostTypeId="1" CreationDate="2018-08-28T15:51:58.940" Score="3" ViewCount="353" Body="&lt;p&gt;How can I insert a computed index field in Solr as a rendering variant, I tried creating a field variant with the same name but it didn't work.&lt;/p&gt;&#xA;" OwnerUserId="4204" LastActivityDate="2023-02-02T21:56:32.730" Title="Computed Index field as a rendering variant" Tags="|sxa|renderfield|computed-field|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13579" PostTypeId="2" ParentId="13578" CreationDate="2018-08-28T16:04:22.000" Score="1" Body="&lt;p&gt;There is no out-of-the-box variant definition item to fetch content from an index. But you can create it yourself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One way would be to use NVelocity. A nice blog post on how to extend that can be found here: &lt;a href=&quot;https://michaellwest.blogspot.com/2017/04/custom-rendering-variant-token-tool-for-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://michaellwest.blogspot.com/2017/04/custom-rendering-variant-token-tool-for-sxa.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create your processor, add it to the getVelocityTemplateRenderers pipeline and use it in a template. The process method in the processor can get the item as parameter - with this information you can fetch the field from your index and return the value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: you can make it more generic if you also pass the field name from the template to the processor&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE: in SXA 1.9 a new pipeline was added called &lt;code&gt;processSearchItems&lt;/code&gt; that you can use if you are using the ootb Search functionality. The ootb processor in that pipeline will cast the item to a &lt;code&gt;SearchItem&lt;/code&gt; which includes an empty object. You could add a processor to that pipeline that fills that object with the needed data. The data from that object can be rendered with the Model variant (or Model iterator as from 1.9).&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-10-30T19:38:10.050" LastActivityDate="2019-10-30T19:38:10.050" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13580" PostTypeId="1" AcceptedAnswerId="13602" CreationDate="2018-08-28T16:16:34.793" Score="5" ViewCount="309" Body="&lt;p&gt;Is it possible to create a custom segment condition that you pass in two values into and then perform a conditional expression between two values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g. Create a segmented list if the IndexedContact last visit date was between 5 and 10 days ago?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the code I've found to help so far uses TypedQueryableOperatorCondition which only checks a single value against a single parameter e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return this.GetCompareExpression&amp;lt;DateTime&amp;gt;((Expression&amp;lt;Func&amp;lt;IndexedContact, DateTime&amp;gt;&amp;gt;) (c =&amp;gt; c.LatestVisitDate), DateUtil.ParseDateTime(this.Value, DateTime.MinValue));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore version 8.2 and Email Experience Manager version 3.5&lt;/p&gt;&#xA;" OwnerUserId="505" LastEditorUserId="121" LastEditDate="2018-08-29T12:31:13.403" LastActivityDate="2018-08-29T16:51:37.703" Title="How to create a custom segment condition using a between expression" Tags="|exm|list-manager|segmentation|segmented-list|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13581" PostTypeId="2" ParentId="13576" CreationDate="2018-08-28T16:50:50.260" Score="4" Body="&lt;p&gt;As outlined in the &lt;a href=&quot;https://kamsar.net/index.php/2016/01/Unicorn-3-1-Released/&quot; rel=&quot;nofollow noreferrer&quot;&gt;release details for Unicorn 3.1&lt;/a&gt; on Kam Figy's blog:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Unicorn configurations may now declare dependency relationships between each other. This is useful for example when one configuration may contain templates and another configuration might contain items based on those templates. With a dependency relationship the dependent configurations are guaranteed to always go first when configurations are synced. Transitive relationships (e.g. A -&amp;gt; B -&amp;gt; C) are supported.&lt;/p&gt;&#xA;&lt;p&gt;[...]&lt;/p&gt;&#xA;&lt;p&gt;Dependencies do not force dependent configurations to sync. If config A depends on config B and you choose to sync only config A, B will not be synced. However if you sync both A and B, then B will always sync first due to the dependency.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This is a convenient way to ensure that your configurations will be synced in a logical order. It's certainly more intuitive (and less error-prone) than tweaking the &lt;code&gt;patch:after&lt;/code&gt; attributes to enforce order.&lt;/p&gt;&#xA;&lt;p&gt;If you look at the Habitat demo code, you'll find examples where this used. Notice that &lt;code&gt;patch:after&lt;/code&gt; is not used, and that the syntax is flexible and allows specifying multiple dependencies (in a Helix solution, this would logically be the Foundation or Feature projects your module depends upon) or &lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn/issues/165&quot; rel=&quot;nofollow noreferrer&quot;&gt;even wildcards&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Theming/code/App_Config/Include/Foundation/Foundation.Theming.Serialization.config&quot; rel=&quot;nofollow noreferrer&quot;&gt;Foundation.Theming.Serialization.config&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot; xmlns:role=&amp;quot;http://www.sitecore.net/xmlconfig/role/&amp;quot;&amp;gt;&#xA;    &amp;lt;sitecore role:require=&amp;quot;Standalone or ContentManagement&amp;quot;&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;            &amp;lt;configurations&amp;gt;&#xA;                &amp;lt;configuration name=&amp;quot;Foundation.Theming&amp;quot;&#xA;                               description=&amp;quot;Foundation Theming&amp;quot;&#xA;                               dependencies=&amp;quot;Foundation.Serialization,Foundation.SitecoreExtensions,Foundation.Assets&amp;quot;&#xA;                               extends=&amp;quot;Helix.Foundation&amp;quot;&amp;gt;&#xA;                    &amp;lt;predicate&amp;gt;&#xA;                        &amp;lt;include name=&amp;quot;Settings&amp;quot; database=&amp;quot;master&amp;quot; path=&amp;quot;/sitecore/system/settings/Foundation/Theming&amp;quot; /&amp;gt;&#xA;                    &amp;lt;/predicate&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;/configurations&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Feature/Metadata/code/App_Config/Include/Feature/Feature.Metadata.Serialization.config&quot; rel=&quot;nofollow noreferrer&quot;&gt;Feature.Metadata.Serialization.config&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot; xmlns:role=&amp;quot;http://www.sitecore.net/xmlconfig/role/&amp;quot;&amp;gt;&#xA;    &amp;lt;sitecore role:require=&amp;quot;Standalone or ContentManagement&amp;quot;&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;            &amp;lt;configurations&amp;gt;&#xA;                &amp;lt;configuration name=&amp;quot;Feature.Metadata&amp;quot;&#xA;                               description=&amp;quot;Feature Metadata&amp;quot;&#xA;                               dependencies=&amp;quot;Foundation.*&amp;quot;&#xA;                               extends=&amp;quot;Helix.Feature&amp;quot;&amp;gt;&#xA;                    &amp;lt;rolePredicate&amp;gt;&#xA;                        &amp;lt;include domain=&amp;quot;modules&amp;quot; pattern=&amp;quot;^Feature Metadata .*$&amp;quot; /&amp;gt;&#xA;                    &amp;lt;/rolePredicate&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;/configurations&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="890" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-08-28T16:50:50.260" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13583" PostTypeId="2" ParentId="13547" CreationDate="2018-08-28T17:53:15.010" Score="0" Body="&lt;p&gt;Add the below to your web.config file in web root and try the Sitecore Rocks connection again. It will work.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;location path=&quot;sitecore/shell/WebService&quot;&amp;gt;&#xA;&amp;lt;system.web&amp;gt;&#xA;    &amp;lt;authorization&amp;gt;&#xA;        &amp;lt;allow users=&quot;?,*&quot; /&amp;gt;&#xA;    &amp;lt;/authorization&amp;gt;&#xA;&amp;lt;/system.web&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="2704" LastActivityDate="2018-08-28T17:53:15.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13585" PostTypeId="2" ParentId="11424" CreationDate="2018-08-28T20:05:50.900" Score="10" Body="&lt;p&gt;The reason your &lt;code&gt;Execute()&lt;/code&gt; method is not being hit is due to the use of &lt;code&gt;string&lt;/code&gt; parameter type of your &lt;code&gt;SubmitActionBase&lt;/code&gt;. There is a check in this base class if there parameters passed from your &lt;code&gt;Submit Action&lt;/code&gt; item are empty, and if so the action is not executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution depends on what your Submit Action is doing.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1.Override TryParse method&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you are not passing any parameters to the Submit Action from the item, then you can override the TryParse method and return &lt;code&gt;true&lt;/code&gt;. The &lt;code&gt;Execute()&lt;/code&gt; method will then be carried out as expected:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomSubmitAction : SubmitActionBase&amp;lt;string&amp;gt;&#xA;{&#xA;    public CustomSubmitAction (ISubmitActionData submitActionData) : base(submitActionData)&#xA;    {&#xA;    }&#xA;&#xA;    protected override bool Execute(string data, FormSubmitContext formSubmitContext)&#xA;    {&#xA;        // your custom logic&#xA;        return true;&#xA;    }&#xA;&#xA;    // This is the problematic method which needs to be overriden&#xA;    protected override bool TryParse(string value, out string target)&#xA;    {&#xA;        target = string.Empty;&#xA;        return true;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;2. Use strongly typed parameter for your base class&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If your custom submit action requires parameters passed from the item then it is recommended that you use strongly typed objects. There's no need to override the &lt;code&gt;TryParse&lt;/code&gt; method in this case.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomSubmitAction: SubmitActionBase&amp;lt;CustomClass&amp;gt;&#xA;{&#xA;}&#xA;&#xA;public class CustomClass&#xA;{&#xA;    public Guid FirstNameFieldId { get; set; }&#xA;    public Guid LastNameFieldId { get; set; }&#xA;    public Guid EmailFieldId { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;3. Set parameters in your Submit Action&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Or set the values in the &lt;code&gt;Parameters&lt;/code&gt; field of the Submit Action. It is not recommended to rely on this method, since you need to ensure that the parameter is added every time the Submit Action is used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RH442.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RH442.png&quot; alt=&quot;Submit Action&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more in &lt;a href=&quot;https://joaoneto.blog/2018/02/28/why-my-custom-submit-action-doesnt-work/&quot; rel=&quot;noreferrer&quot;&gt;this blog post by Joao Neto&lt;/a&gt;. Also also note that the &lt;code&gt;TryParse()&lt;/code&gt; method is overridden in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action&quot; rel=&quot;noreferrer&quot;&gt;official Sitecore walkthrough for creating a Submit Action&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-08-28T20:05:50.900" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13586" PostTypeId="2" ParentId="13371" CreationDate="2018-08-29T02:45:18.257" Score="1" Body="&lt;p&gt;It looks like the setup of roles was correct, however the way permission was given was incorrect. I will detail the correct way here as I don't think it's very clear from google searches currently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all, &lt;code&gt;sitecore\Sitecore Client Users&lt;/code&gt; is the minimum necessary for a new user to be able to login, the new custom role should implement this or any role that inherits from it (such as &lt;code&gt;sitecore\Content Editor&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now to stop all base permissions: go to the custom role and allow read for the top level &quot;sitecore&quot; item AND deny read for descendants. This can't be achieved on the GUI table, you must instead click the button &lt;code&gt;Assign&lt;/code&gt; on the top bar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now from here you can build up. As a rule of thumb, you should mostly allow read/write for the item only (such as the webpage) via the &lt;code&gt;Assign&lt;/code&gt; button and not allow read/write for descendants (no need to deny, just leave the tick/cross empty for the descendants). Since you have read denial set on the top level sitecore item, it will flow down to all children. The reason for allowing read for the webpage only and not descendants: so that child webpages don't automatically get the read permission. Then you can do a full read permission on the &lt;code&gt;Page Content&lt;/code&gt; item of that webpage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This has solved most of my requirements/issues. Then I got a mysterious issue with 2 very similar roles that should behave the same but they don't. The folders &lt;code&gt;Layout&lt;/code&gt;, &lt;code&gt;System&lt;/code&gt; and &lt;code&gt;Templates&lt;/code&gt; were showing in one and not the other. I installed the Security Rights Reporting module to see if there was a difference causing this (&lt;a href=&quot;https://github.com/jbluemink/Sitecore-Security-Rights-Reporting&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/jbluemink/Sitecore-Security-Rights-Reporting&lt;/a&gt;), running it on both users and both custom roles. Nothing came up. Then I came across this page (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_content_editor/customize_the_content_editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_content_editor/customize_the_content_editor&lt;/a&gt;), the difference was that while logged in to the user, you can hide &lt;code&gt;hidden items&lt;/code&gt; in the content editor (log in to user &gt; Content Editor &gt; top left Red menu button &gt; Application options &gt; Untick &lt;code&gt;Hidden items&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps someone!&lt;/p&gt;&#xA;" OwnerUserId="3799" LastEditorUserId="3799" LastEditDate="2018-08-29T04:34:42.773" LastActivityDate="2018-08-29T04:34:42.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13587" PostTypeId="1" AcceptedAnswerId="13588" CreationDate="2018-08-29T07:00:06.743" Score="4" ViewCount="176" Body="&lt;p&gt;Is it possible to assign different field source for the different language?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I have a sample template in with samplefield.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;samplefield has a field source as  &lt;code&gt;/sitecore/content/Home-en&lt;/code&gt; for &lt;strong&gt;English&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;samplefield has field source as  &lt;code&gt;/sitecore/content/Home-ot&lt;/code&gt; for &lt;strong&gt;Other Languages&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If not, how can we achieve this?&lt;/p&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="605" LastEditDate="2018-08-29T07:13:12.193" LastActivityDate="2018-08-29T07:13:12.193" Title="Different Field source for different Language" Tags="|content-editor|templates|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13588" PostTypeId="2" ParentId="13587" CreationDate="2018-08-29T07:08:23.437" Score="4" Body="&lt;p&gt;You can achieve the requirement by either implementing a custom field or a custom token. I would tend to use the custom token&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Custom Token&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the code snippet you can use to implement the custom token&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomTokenReplacer : ExpandInitialFieldValueProcessor&#xA;{&#xA;    private const string Token = &quot;$customtoken&quot;;&#xA;&#xA;    public override void Process(ExpandInitialFieldValueArgs args)&#xA;    {&#xA;      Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;      // TODO: Add your own custom token replacement logic here...&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you patch the newly created token via the config file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;expandInitialFieldValue&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourNamespace, YourAssembly&quot; patch:after=&quot;processor[@type='type=Sitecore.Pipelines.ExpandInitialFieldValue.ReplaceVariables, Sitecore.Kernel']&quot;/&amp;gt;&#xA;      &amp;lt;/expandInitialFieldValue&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that in the datasource on your template, you should use the token you defined. Example: &lt;code&gt;$customtoken&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information is available &lt;a href=&quot;https://soen.ghost.io/working-with-custom-tokens-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-08-29T07:08:23.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13589" PostTypeId="1" CreationDate="2018-08-29T08:55:34.507" Score="0" ViewCount="128" Body="&lt;p&gt;Environment: Sitecore version 9.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have successfully integrated Azure AD for our Sitecore client application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, for some reason, now I would like to authenticate my website user (external user) from the same Azure AD using custom button on different login page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried using &lt;code&gt;GetSignInUrlInfoPipeline&lt;/code&gt;but after successful authentication from Azure AD end, application didn't get the user information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also , when I check the Sitecore.Context.User.IsAuthenticated`, I am getting the value false.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clue?&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-08-29T09:35:59.090" LastActivityDate="2018-08-29T09:35:59.090" Title="Authenticating external user using Azure AD" Tags="|azure-ad|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13590" PostTypeId="1" AcceptedAnswerId="13596" CreationDate="2018-08-29T09:31:48.010" Score="3" ViewCount="1612" Body="&lt;p&gt;Can I use same Solr service to install or use for different vanilla Sitecore 9.0.2 instances? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best practice?&lt;/p&gt;&#xA;" OwnerUserId="2153" LastEditorUserId="2056" LastEditDate="2018-08-29T11:38:06.300" LastActivityDate="2018-08-31T11:40:24.583" Title="Same Solr Service for multiple Sitecore instances" Tags="|solr|best-practices|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13592" PostTypeId="2" ParentId="13590" CreationDate="2018-08-29T09:41:19.860" Score="2" Body="&lt;p&gt;If you are doing on development machine yes you can do it. &#xA;For production I don't recommend to use same Solr for different solutions.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just keep in mind if you have different Sitecore releases, your release should be compatible with your Solr server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on Solr compatibility table : &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-29T09:41:19.860" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13593" PostTypeId="2" ParentId="13590" CreationDate="2018-08-29T09:44:22.480" Score="1" Body="&lt;p&gt;The answer is yes, you can use the same solr service for different sitecore instances.You need to make sure that both Sitecore versions are compatible with the solr version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing that you will need to change is the index names for the second instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, In both instances, the Sitecore master index will have the same name.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore_master_index&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will need to rename it to something like &lt;code&gt;sitecore_master_index_instance2&lt;/code&gt;.&#xA;This has to be done for all sitecore indexes namely:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;master&lt;/li&gt;&#xA;&lt;li&gt;web&lt;/li&gt;&#xA;&lt;li&gt;core&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This can be done on the following configs:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.ContentSearch.Solr.Index.Core.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.ContentSearch.Solr.Index.Master.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.ContentSearch.Solr.Index.Web.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1674" LastEditorUserId="2153" LastEditDate="2018-08-29T10:12:41.200" LastActivityDate="2018-08-29T10:12:41.200" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13594" PostTypeId="2" ParentId="13590" CreationDate="2018-08-29T09:45:01.213" Score="0" Body="&lt;p&gt;Yes, you can with some considerations:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Ensure that core names are unique for each Sitecore instance, so that data doesn't get overwritten.&lt;/li&gt;&#xA;&lt;li&gt;Ensure that Solr server version is compatible with Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Performance might be impacted if some instances of Sitecore take heavy load and index size grows significantly. However, it should be okay for development scenarios.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="842" LastActivityDate="2018-08-29T09:45:01.213" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13595" PostTypeId="2" ParentId="13590" CreationDate="2018-08-29T10:09:41.603" Score="0" Body="&lt;p&gt;As other people have mentioned here it is possible to do this by renaming all the indexes in your 2nd instance. However since you won't be doing this in Production etc then this is a bit of an odd approach and could lead to confusion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure of your reasoning for this but I'm guessing it's because you don't want to have to spend time having to setup Solr again, you are not sure about how to run more than one instance of Solr on a single server or you are concerned about the performance of running multiple instances of Solr on one box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would say in my experience there is no issue with installing multiple instances of Solr on one server and that it is very easy to do and maintain. I'd recommend that you use a Powershell script like one from Jeremy Davis which will install Solr on a specific port for you (e.g not: 8983) and uses NSSM to install the Solr service under a specific name. This will easily allow you to identify and mange multiple Solr instances. You can do this on a local dev machine or on a dev or even UAT Server:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With regard to performance the -Xmx value can be set to set the amount of memory that the JVM uses so this can be managed also if required: &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/jvm-settings.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/jvm-settings.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is not the reason please update your question to include your reasoning or comment below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a better approach in my mind as:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can upgrade each instance without a dependency on another Sitecore instance&lt;/li&gt;&#xA;&lt;li&gt;It separates concerns so there is not potential issues arising from another site indexing lots of content etc&lt;/li&gt;&#xA;&lt;li&gt;It reduces confusion regarding config and avoids the config somehow ending up deployed to other environments&lt;/li&gt;&#xA;&lt;li&gt;Performance will likely be better&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-08-29T10:09:41.603" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13596" PostTypeId="2" ParentId="13590" CreationDate="2018-08-29T11:36:26.030" Score="4" Body="&lt;p&gt;Short answer is yes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Long answer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can achieve this setup pretty easily.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two or more instances of Sitecore. Make sure that these are compatible with installed version of Solr. Check it &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For new installations:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you specify prefix parameter for solr cores install ps1 script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters &#xA;$prefix = &quot;sc9u2&quot; &#xA;$PSScriptRoot = &quot;C:\resourcefiles\&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot; &#xA;$sitecoreSiteName = &quot;$prefix.sc&quot; &#xA;$SolrUrl = &quot;https://localhost:8984/solr&quot; &#xA;$SolrRoot = &quot;C:\Solr\solr-6.6.2\&quot; &#xA;$SolrService = &quot;Solr&quot; &#xA;$SqlServer = &quot;.\&quot; &#xA;$SqlAdminUser = &quot;sa&quot; &#xA;$SqlAdminPassword= &quot;saP4$$&quot; &#xA;&#xA;#install solr cores for xdb &#xA;$solrParams = &#xA;@{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;} &#xA;&#xA;Install-SitecoreConfiguration @solrParams -Verbose &#xA;&#xA;#install solr cores for sitecore $solrParams = &#xA;$solrParams = @{     &#xA;    Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;} &#xA;&#xA;Install-SitecoreConfiguration @solrParams &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is only part of the script to demonstrate how to set CorePrefix parameter to Solr cores.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Full script can be found here -&gt; &lt;a href=&quot;https://github.com/chorpo/Sitecore9Installation/blob/master/01%20Install.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/chorpo/Sitecore9Installation/blob/master/01%20Install.ps1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For already installed instances:&lt;/strong&gt;&#xA;For each Solr core definition you will keep core name (name parameter) and id the same (id attribute).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally config would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_master_index&quot; .....&amp;gt;&#xA;   &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;   &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will just specify &quot;core&quot; parameter as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;param desc=&quot;core&quot;&amp;gt;instance1_$(id)&amp;lt;/param&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;param desc=&quot;core&quot;&amp;gt;instance2_$(id)&amp;lt;/param&amp;gt;&lt;/code&gt; as you need based on instance name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So config in your case would look like this at the end:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_master_index&quot; .....&amp;gt;&#xA;   &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;   &amp;lt;param desc=&quot;core&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For each solution you will have then config files for Solr with same file name, Solr ids and all the remaining settings. Only difference will be this &quot;core&quot; parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the patch config to apply your instance settings per Solr core:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;   &amp;lt;sitecore search:require=&quot;solr&quot;&amp;gt;&#xA;      &amp;lt;contentSearch&amp;gt;&#xA;         &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_master_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_core_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_marketingdefinitions_master&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_marketingdefinitions_web&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_marketing_asset_index_master&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_marketing_asset_index_web&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_testing_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_suggested_test_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_fxm_master_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;               &amp;lt;index id=&quot;sitecore_fxm_web_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;core&quot; patch:instead=&quot;param[@desc='core']&quot;&amp;gt;instancename_$(id)&amp;lt;/param&amp;gt;&#xA;               &amp;lt;/index&amp;gt;&#xA;            &amp;lt;/indexes&amp;gt;&#xA;         &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/contentSearch&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do not forget about adding SXA indexes or custom indexes also if you will have them in the future and also for CD servers, you need to remove master or other unnecessary indexes from the list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In code you will reuse everything as you have as you are referencing solr index id so you will still reference &quot;sitecore_master_index&quot; or &quot;sitecore_web_index&quot; but based on the deployed configuration in each instance, you will effectively reference different Solr cores based on instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To identify Sitecore Solr cores quickly, you can go to ShowConfig admin page and search for &lt;code&gt;&amp;lt;indexes hint=&quot;list:AddIndex&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will see all 11 out of the box indexes and their respective configuration. You can quickly identify files in which are patched:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HU5hv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HU5hv.png&quot; alt=&quot;Example of search results for list:AddIndex in admin&amp;#39;s show config page.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-08-31T11:40:24.583" LastActivityDate="2018-08-31T11:40:24.583" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13597" PostTypeId="2" ParentId="13563" CreationDate="2018-08-29T11:48:39.777" Score="0" Body="&lt;p&gt;As per Sitecore recommendation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Installation-Guide/Sitecore-XC-9.0_Installation_Guide(On-Prem).pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;RAM - 16 GB&lt;/li&gt;&#xA;&lt;li&gt;HDD - 500 GB&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I started Sitecore 9 Upgrade on my 12 GB Thinkpad but the performance was very slow and utilization level of my CPU was hitting 97%. Then I moved to 16 GB RAM and performance improved after that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why we need a high end machine:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 9 comes with xConnect which is hosted as another website in IIS and consumes Memory.&lt;/li&gt;&#xA;&lt;li&gt;Solr runs as a window service in Sitecore 9 which again takes more space.&lt;/li&gt;&#xA;&lt;li&gt;When Sitecore Commerce is installed then 4 websites get deployed in IIS and they run concurrently so it consumes more memory.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So I recommend you upgrade your machine/server and then try.&lt;/p&gt;&#xA;" OwnerUserId="4087" LastEditorUserId="288" LastEditDate="2018-08-29T12:32:50.663" LastActivityDate="2018-08-29T12:32:50.663" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13598" PostTypeId="1" AcceptedAnswerId="13600" CreationDate="2018-08-29T12:13:58.857" Score="6" ViewCount="252" Body="&lt;p&gt;I have been following Akshay's video tutorials about SXC, the last one about creating a minion: &lt;a href=&quot;https://www.konabos.com/blog/creating-a-minion-for-sitecore-commerce-xc-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.konabos.com/blog/creating-a-minion-for-sitecore-commerce-xc-9/&lt;/a&gt;. In this tutorial he creates a Plugin with a minion that calculates loyalty points for customers based on previous orders by that customer. In the plugin he refers to multiple types that are found in other plugins, e.g. &lt;code&gt;Order&lt;/code&gt;, &lt;code&gt;Customer&lt;/code&gt;, &lt;code&gt;LoyaltyComponent&lt;/code&gt; (the latter type was created in another custom plugin in a previous tutorial).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do I set up the dependencies to these types from my new minion plugin?&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or in general:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do I refer to types that are declared in other commerce engine plugins (features)?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First thought was simply to refer to the other plugins directly, e.g. &lt;code&gt;Sitecore.Commerce.Plugin.Orders&lt;/code&gt;, &lt;code&gt;Sitecore.Commerce.Plugin.Customers&lt;/code&gt;, &lt;code&gt;Plugin.Xxxx.Loyalty&lt;/code&gt; but as the plugins are found in the feature-layer, I guess this is the wrong way to go, otherwise I would have features referencing each other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second thought was to refer to the &lt;code&gt;Sitecore.Commerce.ServiceProxy&lt;/code&gt; foundation project that is part of the commerce SDK. This proxy contains the types, deferred from the Commerce Engine API. The problem here is that the types of the ServiceProxy-project do not inherit from the base types found in &lt;code&gt;Sitecore.Commerce.Core&lt;/code&gt; so they are not directly usable with core functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example: In this method in my pipeline block I am trying to convert the order entities from a list to an object of type &lt;code&gt;Order&lt;/code&gt;, but it is not possible because &lt;code&gt;Order&lt;/code&gt; from the ServiceProxy project does not inherit from &lt;code&gt;Sitecore.Commerce.Core.CommerceEntity&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override async Task&amp;lt;Customer&amp;gt; Run(Customer customer, CommercePipelineExecutionContext context)&#xA;{&#xA;    var listName = $&quot;Orders.ByCustomer-{customer.Id}&quot;;&#xA;    var result = await _findEntitiesInListPipeline.Run(new FindEntitiesInListArgument(typeof(Order), listName, 0,int.MaxValue), context);&#xA;&#xA;    var customerOrderPoints = 0;&#xA;    if (result?.List != null &amp;amp;&amp;amp; result.List.Items.Any())&#xA;    {&#xA;        foreach (CommerceEntity entity in result.List.Items)&#xA;        {&#xA;            var order = (Order)entity; // &amp;lt;-- This is not possible because 'Order' is from ServiceProxy and inherits from another 'CommerceEntity' than the one found in Sitecore.Commerce.Core&#xA;&#xA;            if (order != null)&#xA;            {&#xA;                customerOrderPoints += order.HasComponent&amp;lt;LoyaltyComponent&amp;gt;()&#xA;                    ? order.GetComponent&amp;lt;LoyaltyComponent&amp;gt;().PointsEarned&#xA;                    : 0;&#xA;            }&#xA;&#xA;            var loyaltyComponent = customer.GetComponent&amp;lt;LoyaltyComponent&amp;gt;();&#xA;            loyaltyComponent.PointsEarned = customerOrderPoints;&#xA;&#xA;            await _persistEntityPipeline.Run(new PersistEntityArgument(customer), context);&#xA;        }&#xA;    }&#xA;    return customer;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I can only make it work with the first approach but I don't want to go that way. Akshay's code is not on Github yet, so I can't see exactly how he has done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: I noticed that &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC-9.0_Developers_Guide.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;the developer's guide for SXC 9&lt;/a&gt; says&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A plugin can also take a dependency on another plugin to extend its functionality.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This implies that it is okay to make direct references. But &lt;a href=&quot;https://helix.sitecore.net/principles/architecture-principles/layers.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;the Helix principles&lt;/a&gt; says that one feature module must never depend on another feature module, so perhaps the plugins should not be placed in the feature-layer like they are in this tutorial(?)&lt;/p&gt;&#xA;" OwnerUserId="2247" LastEditorUserId="2247" LastEditDate="2018-08-29T13:02:16.190" LastActivityDate="2018-08-29T13:14:57.787" Title="How to refer to types declared in other plugins" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13599" PostTypeId="2" ParentId="13545" CreationDate="2018-08-29T12:47:44.357" Score="0" Body="&lt;p&gt;@Gaurav,&#xA;If your developer has experience working  in Sitecore and you are confident about his/her previous experience  then I believe there is no harm in allowing him to work on Sitecore license . &#xA;However I caution you to keep your sitecore license encrypted so that it can't be used on a personal machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Doing a sitecore certification has a lot of advantages such as&#xA;It gives you credibility in the sitecore community and market.&#xA;You can contact the sitecore support team with your Sitecore certification email id attached to your client Sitecore licenses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I will suggest you to ask him to appear for sitecore Developer certification which cost only 300$. Below is the link for Study Aids:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.freshdesk.com/support/solutions/articles/16000067853-sitecore-certified-platform-associate-developer-exam-study-guide-&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.freshdesk.com/support/solutions/articles/16000067853-sitecore-certified-platform-associate-developer-exam-study-guide-&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="4087" LastActivityDate="2018-08-29T12:47:44.357" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13600" PostTypeId="2" ParentId="13598" CreationDate="2018-08-29T13:08:22.870" Score="8" Body="&lt;p&gt;The minion project lives inside of your Engine solution so you would not use a proxy. The proxy is mainly for projects which live outside of the Engine environment to communicate with the engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You typically add the references via nuget packages for commerce plugins such as catalogs, orders, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Starting in commerce I had a million questions and with the community's help, I was able to connect some of the dots. The code base will give you a good idea as they are working solutions. I have uploaded the loyalty Commerce engine and Commerce website solutions to GitHub.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the link: &lt;a href=&quot;https://github.com/konabos/Sitecore-Commerce-Loyalty&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/konabos/Sitecore-Commerce-Loyalty&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A plugin should either live in a feature project or a foundation project depending on how crucial the plugin is. For instance, a payment processing plugin central to your system should be a foundation project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But an add on plugin such as custom fields, etc could live in a feature project in your commerce solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I typically have not made it a habit of modifying the Engine project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Refer to: &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&lt;/a&gt; and &lt;a href=&quot;https://github.com/sitecore/sitecore.habitathome.content&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/sitecore/sitecore.habitathome.content&lt;/a&gt; - they are neatly structured.&lt;/p&gt;&#xA;" OwnerUserId="146" LastEditorUserId="146" LastEditDate="2018-08-29T13:14:57.787" LastActivityDate="2018-08-29T13:14:57.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13602" PostTypeId="2" ParentId="13580" CreationDate="2018-08-29T16:51:37.703" Score="4" Body="&lt;p&gt;TypedQueryableOperatorCondition and TypedQueryableStringOperatorCondition are helpers, and are both using &lt;code&gt;Sitecore.Rules.Conditions.WhenCondition&amp;lt;T&amp;gt;&lt;/code&gt; behind the scene, so you could implement your own condition based on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an (untested) example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomLatestVisitDateCondition&amp;lt;T&amp;gt; : WhenCondition&amp;lt;T&amp;gt;, IQueryableRule&amp;lt;IndexedContact&amp;gt;&#xA;    where T: VisitorRuleContext&amp;lt;IndexedContact&amp;gt;&#xA;{&#xA;&#xA;    public Expression&amp;lt;Func&amp;lt;IndexedContact, bool&amp;gt;&amp;gt; InitPredicate { protected get; set; }&#xA;    public Expression&amp;lt;Func&amp;lt;IndexedContact, bool&amp;gt;&amp;gt; ResultPredicate { get; protected set; }&#xA;&#xA;    public string FromValue { get; set; }&#xA;    public string ToValue { get; set; }&#xA;&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        var from = DateUtil.ParseDateTime(FromValue, DateTime.MinValue);&#xA;        var to = DateUtil.ParseDateTime(ToValue, DateTime.MinValue);&#xA;&#xA;        this.ApplyFilter(ruleContext, c =&amp;gt; c.LatestVisitDate &amp;gt;= from &amp;amp;&amp;amp; c.LatestVisitDate &amp;lt;= to);&#xA;        return true;&#xA;    }&#xA;&#xA;    private void ApplyFilter(T ruleContext, Expression&amp;lt;Func&amp;lt;IndexedContact, bool&amp;gt;&amp;gt; expression)&#xA;    {&#xA;        ResultPredicate = (InitPredicate ?? ruleContext.Where).And(expression);&#xA;        if (InitPredicate != null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        ruleContext.Where = ResultPredicate;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-08-29T16:51:37.703" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13604" PostTypeId="1" AcceptedAnswerId="13618" CreationDate="2018-08-29T23:03:04.827" Score="10" ViewCount="1441" Body="&lt;p&gt;How to add a route like app/payments/:id in JSS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and make a component receive the id to handle it&lt;/p&gt;&#xA;" OwnerUserId="4015" LastActivityDate="2018-08-30T15:51:51.943" Title="How to add a route like app/payments/:id in JSS? react" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13606" PostTypeId="2" ParentId="13577" CreationDate="2018-08-30T04:19:20.063" Score="1" Body="&lt;p&gt;Thanks for supporting me. The issue was from the SQL instance. We need to enable the TCP Ip protocol for the SQL server and make sure &quot;SQL Server PolyBase Engine (MSSQLSERVER) &quot; is in the running status. If service is in starting status we need to start it again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nFulg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nFulg.png&quot; alt=&quot;SQL Poly base engine Services&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3874" LastActivityDate="2018-08-30T04:19:20.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13607" PostTypeId="1" AcceptedAnswerId="13609" CreationDate="2018-08-30T06:24:31.977" Score="3" ViewCount="516" Body="&lt;p&gt;In my newsletter, we have an anchor bar implementation. Anchor Bar has all list of anchor links. After clicking on anchor links, Newsletter should scroll to specific Anchor Target. I am using HTML &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; for Anchor Link. It is not Sitecore Link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My final anchor link HTML code is &#xA;            &lt;code&gt;&amp;lt;a href=&quot;#News1&quot; &amp;gt;MyLink&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when Sitecore sends the anchor link at the time of Email Sending, it deletes the href property and make it as&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;a #News1=&quot;&quot; &amp;gt;MyLink&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see Anchor HREF's Value (#News1) became the property and Anchor HREF has been deleted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not using any custom pipeline or LinkManager to change the behavior of HREF or link binding.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Version Details are as&#xA;Sitecore - Sitecore.NET 8.2 (rev. 161221)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Email Experience Manager 4.0.1 rev. 170105&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Ali&lt;/p&gt;&#xA;" OwnerUserId="814" LastEditorUserId="814" LastEditDate="2018-08-30T09:31:25.967" LastActivityDate="2018-08-31T12:22:19.067" Title="Anchor Link HREF is getting removed in EXM 3.4" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13608" PostTypeId="2" ParentId="13607" CreationDate="2018-08-30T07:40:44.023" Score="2" Body="&lt;p&gt;When the email is made for the individual user, every link is run through the modifyHyperlink pipeline. The first step of this pipeline is &quot;SkipAnchorLinks&quot;, which should make sure that anchors aren't changed, if it's an anchor. But this is exclusively if it's the anchor only - meaning it cannot be either an absolute or relative link. The link needs to start with the # character.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My guess is that you also have relative parts in your links? As long as it's for the same page, that should not be needed. If removed I think you will find it working (at least I have seen it work because of this before).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that doesn't work for you, it could be interesting to add a processor to the start and the end of the modifyHyperlink pipeline to make sure that this is actually where it happens. You'd want to print the Aborted, GeneratedUrl and ServerUrl properties of the pipeline arguments in this case. If you don't want to make the debug steps manually, you can try this out: &lt;a href=&quot;https://github.com/alphasolutionsrepo/pipeline.debug&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/alphasolutionsrepo/pipeline.debug&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2327" LastActivityDate="2018-08-30T07:40:44.023" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13609" PostTypeId="2" ParentId="13607" CreationDate="2018-08-30T11:31:46.297" Score="1" Body="&lt;p&gt;EXM 3.4 removes href from link tags and src from img tags in some cases.&#xA;This happens through the use of Sitecore.Modules.EmailCampaign.Core.Links.LinksManager, which calls ChangeLink based on a parameter function (which is what will change the actual link). However, if this function returns null, the entire matched link (including href=&quot; / src=&quot;) will be matched with the original link itself - thus removing the important attribute part of the link tag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The functions returns null if the pipeline is aborted, but this is wrong, it should have returned the link itself instead. This for instance happens for anchor links. This bug also affects the auto embedded image opened image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These bugs are fixed in EXM 3.5, so upgrading will fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that's not an option, we fixed it by replacing the mail type in order to overwrite this unwanted behaviour - we only use ABTestMessage, but it's inherited from WebPageMail and HtmlMailBase, so you can replace any of these you need. What it looks like for us now is this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ABTestMessage:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ABTestMessage : Sitecore.Modules.EmailCampaign.Messages.ABTestMessage&#xA;{&#xA;    private CoreFactory _coreFactory;&#xA;&#xA;    protected ABTestMessage(Item item) : this(item, CoreFactory.Instance)&#xA;    {&#xA;&#xA;    }&#xA;&#xA;    internal ABTestMessage(Item item, CoreFactory coreFactory) : base(item)&#xA;    {&#xA;        this._coreFactory = coreFactory;&#xA;    }&#xA;&#xA;    //needed to instantiate correct type&#xA;    public new static ABTestMessage FromItem(Item item)&#xA;    {&#xA;        if (item == null || !ABTestMessage.IsCorrectMessageItem(item))&#xA;        {&#xA;            return null;&#xA;        }&#xA;        return new ABTestMessage(item);&#xA;    }&#xA;&#xA;    //needed to clone to the correct type&#xA;    public override object Clone()&#xA;    {&#xA;        ABTestMessage aBTestMessage = new ABTestMessage(base.InnerItem);&#xA;        this.CloneFields(aBTestMessage);&#xA;        return aBTestMessage;&#xA;    }&#xA;&#xA;    //edited with the only purpose of the inline delegate returning link instead of null if the pipeline was aborted&#xA;    public override void CollectRelativeFiles(bool preview = false)&#xA;    {&#xA;        if (this.ManagerRoot.Settings.EmbedImages)&#xA;        {&#xA;            base.CollectRelativeFiles(preview);&#xA;            return;&#xA;        }&#xA;&#xA;        try&#xA;        {&#xA;            this._relativeFiles = new List&amp;lt;FileInMemory&amp;gt;();&#xA;            if (this.Body != null)&#xA;            {&#xA;                DateTime utcNow = DateTime.UtcNow;&#xA;                LinksManager linksManager = new LinksManager(this.Body, LinkType.Src | LinkType.Css);&#xA;                this.Body = linksManager.Replace(delegate (string link)&#xA;                {&#xA;                    GenerateLinkPipelineArgs generateLinkPipelineArgs = new GenerateLinkPipelineArgs(link, this, preview, this.ManagerRoot.Settings.WebsiteSiteConfigurationName);&#xA;                    this.PipelineHelper.RunPipeline(&quot;modifyImageLink&quot;, generateLinkPipelineArgs);&#xA;                    if (!generateLinkPipelineArgs.Aborted)&#xA;                    {&#xA;                        return generateLinkPipelineArgs.GeneratedUrl;&#xA;                    }&#xA;                    return link;&#xA;                });&#xA;                Util.TraceTimeDiff(&quot;Modify 'src' links&quot;, utcNow);&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            this.Warnings.Add(ex.Message);&#xA;            Logger.Instance.LogError(ex);&#xA;        }&#xA;    }&#xA;&#xA;    //edited with the only purpose of the inline delegate returning link instead of null if the pipeline was aborted&#xA;    protected override string CorrectHtml(string html, bool preview)&#xA;    {&#xA;        HtmlHelper htmlHelper = new HtmlHelper(html);&#xA;        htmlHelper.CleanHtml();&#xA;        DateTime utcNow = DateTime.UtcNow;&#xA;        htmlHelper.InsertStyleSheets();&#xA;        Util.TraceTimeDiff(&quot;Insert style sheets&quot;, utcNow);&#xA;        utcNow = DateTime.UtcNow;&#xA;        LinksManager linksManager = new LinksManager(htmlHelper.Html, LinkType.Href);&#xA;        html = linksManager.Replace(delegate (string link)&#xA;        {&#xA;            GenerateLinkPipelineArgs generateLinkPipelineArgs = new GenerateLinkPipelineArgs(link, this, preview, ManagerRoot.Settings.WebsiteSiteConfigurationName);&#xA;            PipelineHelper.RunPipeline(&quot;modifyHyperlink&quot;, generateLinkPipelineArgs);&#xA;            if (!generateLinkPipelineArgs.Aborted)&#xA;            {&#xA;                return generateLinkPipelineArgs.GeneratedUrl;&#xA;            }&#xA;            return link;&#xA;        });&#xA;        Util.TraceTimeDiff(&quot;Modify 'href' links&quot;, utcNow);&#xA;        utcNow = DateTime.UtcNow;&#xA;        html = HtmlHelper.EncodeSrc(html);&#xA;        Util.TraceTimeDiff(&quot;Encode 'src' links&quot;, utcNow);&#xA;        return html;&#xA;    }&#xA;&#xA;    //needed by the overriden CollectRelativeFiles - we just take it from base via reflection&#xA;    private List&amp;lt;FileInMemory&amp;gt; _relativeFiles&#xA;    {&#xA;        get&#xA;        {&#xA;            return (List&amp;lt;FileInMemory&amp;gt;) typeof(HtmlMailBase).GetField(&quot;_relativeFiles&quot;, BindingFlags.Instance | BindingFlags.NonPublic).GetValue(this);&#xA;        }&#xA;        set&#xA;        {&#xA;            typeof(HtmlMailBase).GetField(&quot;_relativeFiles&quot;, BindingFlags.Instance | BindingFlags.NonPublic).SetValue(this, value);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need to overwrite the TypeResolver to use your new implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TypeResolver : Sitecore.Modules.EmailCampaign.Core.TypeResolver&#xA;{&#xA;    public override MessageItem GetCorrectMessageObject(Item item)&#xA;    {&#xA;        if (ABTestMessage.IsCorrectMessageItem(item))&#xA;        {&#xA;            return ABTestMessage.FromItem(item);&#xA;        }&#xA;        return base.GetCorrectMessageObject(item);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And lastly you need to configure the use of the resolver in a .config file:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;TypeResolver type=&quot;Sitecore.Modules.EmailCampaign.Core.TypeResolver,Sitecore.EmailCampaign&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;YOURNAMESPACE.TypeResolver, YOURASSEMBLY&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/TypeResolver&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2327" LastEditorUserId="2327" LastEditDate="2018-08-30T11:41:03.277" LastActivityDate="2018-08-30T11:41:03.277" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13610" PostTypeId="2" ParentId="13546" CreationDate="2018-08-30T12:45:41.213" Score="1" Body="&lt;p&gt;Here i did the below steps and i am able to add the list of data to Custom view&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created &quot;Table&quot; type Parent EntityView&lt;/li&gt;&#xA;&lt;li&gt;Added the Properties ( column names ) to the parent view&lt;/li&gt;&#xA;&lt;li&gt;Created a child views with values&lt;/li&gt;&#xA;&lt;li&gt;Add all child views to Parent view.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Below is the sample code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var parentView = new EntityView&#xA;                {&#xA;                    Name = context.GetPolicy&amp;lt;ScaleViewsPolicy&amp;gt;().ItemScale,&#xA;                    DisplayName = &quot;Scales&quot;,&#xA;                    EntityId = arg.EntityId,&#xA;                    ItemId = variationId,&#xA;                    UiHint = &quot;Table&quot;&#xA;&#xA;                };&#xA;&#xA;&#xA; var childView = new EntityView&#xA;            {&#xA;                Name = &quot;Summary&quot;,&#xA;                DisplayName = string.Empty,&#xA;                EntityId = entityView.EntityId,&#xA;                ItemId = &quot;|&quot; + component.RecordNumber,&#xA;            };&#xA;&#xA;childView.Properties.Add(&#xA;       new ViewProperty&#xA;       {&#xA;           Name = nameof(ScalingsComponents.RecordNumber),&#xA;           RawValue = component.RecordNumber,&#xA;           IsReadOnly = isReadOnly,&#xA;           IsRequired = false,&#xA;           OriginalType = &quot;Html&quot;,&#xA;&#xA;       });&#xA;&#xA; parentView.ChildViews.Add(childView);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="73" LastEditDate="2018-08-30T12:51:07.293" LastActivityDate="2018-08-30T12:51:07.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13611" PostTypeId="1" AcceptedAnswerId="13612" CreationDate="2018-08-30T13:21:17.327" Score="1" ViewCount="2681" Body="&lt;p&gt;I'm using Sitecore 9 (Update 2) and have installed Powershell module as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone come across this while running the Unicorn task? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[09:10:57] Starting 'Sync-Unicorn'...&#xA;Error: C:\Sitecore\habitat\Habitat-1.6\scripts/Unicorn/./Sync.ps1 : File &#xA;Error: C:\Sitecore\habitat\Habitat-1.6\scripts\Unicorn\Sync.ps1 cannot be loaded. The file &#xA;C:\Sitecore\habitat\Habitat-1.6\scripts\Unicorn\Sync.ps1 is not digitally signed. You cannot run this script on the &#xA;current system. For more information about running scripts and setting execution policy, see about_Execution_Policies &#xA;at http://go.microsoft.com/fwlink/?LinkID=135170.&#xA;At line:1 char:1&#xA;+ C:\Sitecore\habitat\Habitat-1.6\scripts/Unicorn/./Sync.ps1 -secret 74 ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : SecurityError: (:) [], PSSecurityException&#xA;    + FullyQualifiedErrorId : UnauthorizedAccess&#xA;C:\Sitecore\habitat\Habitat-1.6\scripts\unicorn.js:44&#xA;    if (err !== null) throw err;&#xA;                      ^&#xA;Error: Command failed: powershell -executionpolicy unrestricted &quot;C:\Sitecore\habitat\Habitat-1.6\scripts/Unicorn/./Sync.ps1 -secret 749CABBC85EAD20CE55E2C6066F1BE375D2115696C8A8B24DB6ED1FD60613086 -url https://habitat.sc/unicorn.aspx&quot;&#xA;C:\Sitecore\habitat\Habitat-1.6\scripts/Unicorn/./Sync.ps1 : File &#xA;C:\Sitecore\habitat\Habitat-1.6\scripts\Unicorn\Sync.ps1 cannot be loaded. The file &#xA;C:\Sitecore\habitat\Habitat-1.6\scripts\Unicorn\Sync.ps1 is not digitally signed. You cannot run this script on the &#xA;current system. For more information about running scripts and setting execution policy, see about_Execution_Policies &#xA;at http://go.microsoft.com/fwlink/?LinkID=135170.&#xA;At line:1 char:1&#xA;+ C:\Sitecore\habitat\Habitat-1.6\scripts/Unicorn/./Sync.ps1 -secret 74 ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : SecurityError: (:) [], PSSecurityException&#xA;    + FullyQualifiedErrorId : UnauthorizedAccess&#xA;    at ChildProcess.exithandler (child_process.js:291:12)&#xA;    at ChildProcess.emit (events.js:182:13)&#xA;    at maybeClose (internal/child_process.js:961:16)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)&#xA;Process terminated with code 1.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't see the unblock option either and I tried setting the policy to unrestricted as well: &lt;a href=&quot;https://i.stack.imgur.com/7ufqY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7ufqY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="706" LastEditorUserId="706" LastEditDate="2018-08-30T13:47:43.727" LastActivityDate="2018-08-30T13:58:24.890" Title="Sync.ps1 is not digitally signed. You cannot run this script on the current system" Tags="|habitat|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13612" PostTypeId="2" ParentId="13611" CreationDate="2018-08-30T13:34:42.190" Score="5" Body="&lt;p&gt;Looks like you're running a non-admin Powershell console. Try running it as an admin user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that is not an option, you may need to unblock the script. Locate it in File Explorer and &lt;code&gt;Unblock&lt;/code&gt; it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ktsxs.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ktsxs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further reference: &lt;a href=&quot;https://blogs.technet.microsoft.com/rmilne/2015/04/03/unable-to-run-downloaded-powershell-script/&quot; rel=&quot;noreferrer&quot;&gt;Unable To Run Downloaded PowerShell Script&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edited to add.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If none of this works, you're likely getting an ExecutionPolicy from your AD. You can override this with admin rights. Execute this, in a PowerShell console prompt.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;be aware of the implications of doing this however&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Set-ExecutionPolicy &quot;Unrestricted&quot; -Scope MachinePolicy -Confirm:$false&#xA;Set-ExecutionPolicy &quot;Unrestricted&quot; -Scope UserPolicy -Confirm:$false&#xA;Set-ExecutionPolicy &quot;Unrestricted&quot; -Scope Process -Confirm:$false&#xA;Set-ExecutionPolicy &quot;Unrestricted&quot; -Scope CurrentUser -Confirm:$false&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://blogs.msdn.microsoft.com/pasen/2011/12/07/set-executionpolicy-windows-powershell-updated-your-execution-policy-successfully-but-the-setting-is-overridden-by-a-policy-defined-at-a-more-specific-scope/&quot; rel=&quot;noreferrer&quot;&gt;Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope!!!&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-08-30T13:58:24.890" LastActivityDate="2018-08-30T13:58:24.890" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13613" PostTypeId="1" AcceptedAnswerId="13630" CreationDate="2018-08-30T13:35:29.340" Score="3" ViewCount="461" Body="&lt;p&gt;My custom rule checks if it is contact's birthday today. Birthdate from Personal facet and current date are compared (respectively their months and days). Following code should do it (at least by my humble guess):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Expression&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt; CreateContactSearchQuery(IContactSearchQueryContext context)&#xA;{&#xA;    return contact =&amp;gt; contact.Personal().Birthdate.HasValue &amp;amp;&amp;amp; contact.Personal().Birthdate.Value.Month == DateTime.Now.Month &amp;amp;&amp;amp; contact.Personal().Birthdate.Value.Day == DateTime.Now.Day;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But as mentioned in the title: YourLinqIsTooStrongException  is thrown in logs when I try to do &lt;strong&gt;segmented list&lt;/strong&gt;. See:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.XConnect.Search.YourLinqIsTooStrongException&#xA;Message: Unsupported query: (VisitMember): &#xA;Convert([contact].Personal().Birthdate).Month&#xA;Source: Sitecore.Xdb.Common.Web at Sitecore.Xdb.Common.Web. Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory) at Sitecore.XConnect.Client.XConnectSynchronousExtensions. SuspendContextLock[TResult](Func`1 taskFactory) at Sitecore.XConnect.Client. XConnectSynchronousExtensions.GetBatchEnumeratorSync[TEntity](IAsyncQueryable`1 asyncQueryable, Int32 defaultBatchSize) at Sitecore.XConnect.Segmentation. SegmentationEngine.&amp;lt;&amp;gt;c.&amp;lt;CountContacts&amp;gt;b__24_0(IAsyncQueryable`1 contacts) at Sitecore.XConnect.Segmentation. SegmentationEngine.PerformSearch[T](IContactSearchQueryFactory queryFactory, Func`2 searchWork, Byte[] syncToken, ContactExpandOptions expandOptions) at Sitecore.XConnect.Segmentation.SegmentationEngine. CountContacts(IContactSearchQueryFactory queryFactory) at Sitecore.Shell.Applications.Analytics.SegmentBuilder. SegmentBuilderForm.GetFilterSectionHtml(XElement filter, Boolean fillVisitorCount) at Sitecore.Shell.Applications.Analytics. SegmentBuilder.SegmentBuilderForm.InitializeFilters() at Sitecore.Shell. Applications.Analytics.SegmentBuilder.SegmentBuilderForm.Initialize(String value)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the error shown on screen says basically the same:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3201m.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3201m.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to convert values into string using &lt;em&gt;MMdd&lt;/em&gt; format for both but had similar results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Very similar question has already been asked here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12019/list-segmentation-on-custom-rule-yourlinqistoostrongexception-error&quot;&gt;List segmentation on custom rule YourLinqIsTooStrongException error&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Difference is that in question already answered there is custom facet, while in my case I only try to access value of Personal facet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In mentioned question there is advised to just simplify solution for Sitecore predicate engine and also to not forget to register condition in Automation Engine. Which I also did (created new XML file as described &lt;a href=&quot;https://doc.sitecore.net/developers/xp/segmentation/create-a-custom-predicate.html#configure-automation-engine&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to my question(s) - how should I proceed? Should I simplify the condition somehow more? Is there a way to check that my condition is registered correctly? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Edits: Added clarification when exactly the error is thrown.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="4209" LastEditorUserId="73" LastEditDate="2018-08-30T14:13:27.770" LastActivityDate="2018-08-31T12:04:00.343" Title="Custom predicate: YourLinqIsTooStrongException in CreateContactSearchQuery function" Tags="|marketing-automation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13614" PostTypeId="1" AcceptedAnswerId="13642" CreationDate="2018-08-30T13:55:02.383" Score="3" ViewCount="456" Body="&lt;p&gt;I do not think this is required, but I am not certain. After installing Commerce 9 with the Habitat and Adventure Works catalogs, it creates four rest environments: Auth, Ops, Minions and Shops. Each environment only differs by the wwwroot\config.json field Environment. Respectively for me they are: HabitatAuthoring, HabitatMinions, AdventureWorksOpsApi, HabitatShops. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The OpsApi did not seem to be working. I do not find an environment in SQL in the CommerceEntities table for an AdventureWorksOpsApi or HabitatOpsApi. I changed the Ops environment to use the HabitatMinions environment and it seems to be working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything seems to be working, so I do not think this is required; but it almost seems to me that there should be four sites per environment. Should every environment have its own set of Auth, Ops, Minions and Shops supporting sites?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And should there be OpsApi environments in the CommerceEntities table?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update to add to the above. It appears the install of the demo commerce environments uses the AdventureWorksOpsApi for the Ops host configuration even though it does not create a matching environment. The Ops host will not working until you either create one or your change the configuration to one of the others. I chose to change to one of the HabitatAuthoring for now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the posts below, I now have a better understand of the role of each host and the purpose the environment in the configuration.&lt;/p&gt;&#xA;" OwnerUserId="2068" LastEditorUserId="2068" LastEditDate="2018-09-04T20:59:27.993" LastActivityDate="2018-09-04T20:59:27.993" Title="Commerce 9 Environments - do we need one of Auth, Ops, Minions and Shops per Environment" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13615" PostTypeId="1" AcceptedAnswerId="13655" CreationDate="2018-08-30T14:44:17.847" Score="5" ViewCount="911" Body="&lt;p&gt;I am working through the training for Sitecore 9 Platform Essentials. I am on Module 7 where they have you work on the Related Events controller and show you how to make a complex field editable in the Experience Editor. I have followed all of the directions and have added my edit frame around the Related Events component. In the core database, I have created a Field Editor button under /sitecore/content/Applications/WebEdit/Edit Frame Buttons/RelatedEvents/ and named it &quot;Edit Related Events&quot;. I have added an icon to the button and assigned it to the field &quot;RelatedEvents&quot;. I have assigned related events to this Climbing Item. When I view the Event Details page in the Experience Editor the page displays fine. As soon as I click on the Edit button in the Experience Editor the error displays in the pageSide placeholder. I have published all of the files. I do not know what is causing this error. I have googled it but haven't found a solution. Hoping someone can help me out. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error says:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error Rendering Controller: RelatedEvents. Action: Index: An unhandled exception occurred.&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.ExecuteCore()&#xA;   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.ExecuteController(Controller controller)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.Execute()&#xA;   at Sitecore.Mvc.Presentation.ControllerRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Screenshot of page receiving error&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ykpyb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ykpyb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RelatedEventsController screenshot&#xA;&lt;a href=&quot;https://i.stack.imgur.com/iBEpL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iBEpL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RelatedEventsProvider.cs screenshot&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pFGYi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pFGYi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RelatedEvents View screenshot&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Zh33h.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zh33h.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RelatedEvents Controller Rendering screenshot&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Yf4CF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Yf4CF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4196" LastEditorUserId="4196" LastEditDate="2018-08-30T16:17:40.190" LastActivityDate="2018-09-02T23:16:21.133" Title="Sitecore 9 Platform Essentials Module 7 - Error Rendering Controller: Related Events when using an Edit Frame" Tags="|experience-editor|controller|training|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13616" PostTypeId="5" CreationDate="2018-08-30T14:59:02.097" Score="0" Body="&lt;h1&gt;Training and Certification Questions&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore has an extensive selection of training opportunities that are done through self-study using &lt;a href=&quot;https://www.sitecore.com/services-and-support/training&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's eLearning courses&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While going through some of the training coursework, it's not uncommon for students to have questions related to the coursework or error messages that might be presented to them. Sitecore Stack Exchange allows students to post questions about training following a set of guidelines.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Contact Sitecore for Help&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;For technical support regarding issues with the eLearning platform or transactions including purchases, enrollment, exam vouchers, etc., click the Contact Us link on the &lt;a href=&quot;https://elearning.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore eLearning website&lt;/a&gt; or send an email to &lt;strong&gt;training@sitecore.net&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Guidelines for posting &lt;a href=&quot;/questions/tagged/training&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;training&amp;#39;&quot; rel=&quot;tag&quot;&gt;training&lt;/a&gt; Questions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Any questions that do not adhere to these guidelines may be revised by the community, downvoted, or flagged for review.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The question must clearly define the eLearning course being used and the module number that they are stuck on.&lt;/li&gt;&#xA;&lt;li&gt;The question must have screenshots, full error messages, and a full description of the issue that the student is seeing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Guidelines for posting &lt;a href=&quot;/questions/tagged/training&quot; class=&quot;post-tag&quot; title=&quot;show questions tagged &amp;#39;training&amp;#39;&quot; rel=&quot;tag&quot;&gt;training&lt;/a&gt; Answers&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Try not to &lt;em&gt;answer&lt;/em&gt; the question directly, but provide guidance on how to have the student figure out the answer. This includes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Providing methods for teaching the student how to decompile or understand error messages&lt;/li&gt;&#xA;&lt;li&gt;Providing hints for on where the student can look to resolve the issue&lt;/li&gt;&#xA;&lt;li&gt;Providing external resources that might further the students understanding of a topic matter&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Rule on Questions about Exams&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Posted questions cannot pertain to or describe questions found on the Web Accessor certification exams. This could result in the removal of questions by moderators without notice.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="2056" LastEditDate="2018-08-30T22:16:47.573" LastActivityDate="2018-08-30T22:16:47.573" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13617" PostTypeId="4" CreationDate="2018-08-30T14:59:02.097" Score="0" Body="Questions referencing Sitecore training modules that might come up during the process of going through coursework." OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-08-30T14:59:02.097" LastActivityDate="2018-08-30T14:59:02.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13618" PostTypeId="2" ParentId="13604" CreationDate="2018-08-30T15:41:49.717" Score="12" Body="&lt;p&gt;Assuming you wish to use Sitecore layout data for the custom route:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Teach the app about the route. In &lt;code&gt;RouteHandler.js&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Switch&amp;gt;&#xA;  // add this&#xA;  &amp;lt;Route key=&quot;myCustomRoute&quot; path=&quot;/app/payments/:id&quot; render={customRouteRenderFunction} /&amp;gt;&#xA;&#xA;  {routePatterns.map((routePattern) =&amp;gt; (&#xA;    &amp;lt;Route key={routePattern} path={routePattern} render={routeRenderFunction} /&amp;gt;&#xA;  ))}&#xA;&amp;lt;/Switch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then implement the render function that will process your custom route and inject the &lt;code&gt;:sitecoreRoute&lt;/code&gt; param that the &lt;code&gt;RouteHandler&lt;/code&gt; needs to fetch the Sitecore data. This param will affect which Sitecore item provides the layout for the custom route. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const customRouteRenderFunction = (props) =&amp;gt; {&#xA;  const handlerProps = { ...props };&#xA;  // this will make it use the styleguide route item for its layout data&#xA;  handlerProps.match.params.sitecoreRoute = '/styleguide';&#xA;&#xA;  return &amp;lt;RouteHandler route={handlerProps} /&amp;gt;;&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can use the &lt;code&gt;withRouter()&lt;/code&gt; function &lt;a href=&quot;https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/api/withRouter.md&quot; rel=&quot;noreferrer&quot;&gt;from react-router&lt;/a&gt; to get the current route params within your components, and thus receive the &lt;code&gt;:id&lt;/code&gt; param:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { withRouter } from 'react-router-dom';&#xA;&#xA;const MyComponent = (props) =&amp;gt; &amp;lt;h1&amp;gt;my ID is: {props.match.params.id}&amp;lt;/h1&amp;gt;&#xA;&#xA;export default withRouter(MyComponent);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: custom routing like this will require customizing how Sitecore parses routes &lt;em&gt;in C#&lt;/em&gt; to operate correctly in Integrated Mode. In integrated mode Sitecore is responsible for resolving routes, as opposed to the client side router. In most cases, using the route path without parameters mapped to  a Sitecore item will be the simplest technique. &lt;a href=&quot;https://ggullentops.blogspot.com/2015/08/sitecore-wildcard-items-to-max.html&quot; rel=&quot;noreferrer&quot;&gt;Wildcard items&lt;/a&gt; in Sitecore are another useful technique to get client and server-side routing aligned.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you do not wish to use Sitecore layout data within your route, then it can be mapped using standard &lt;code&gt;react-router&lt;/code&gt; techniques.&lt;/p&gt;&#xA;" OwnerUserId="267" LastEditorUserId="267" LastEditDate="2018-08-30T15:51:51.943" LastActivityDate="2018-08-30T15:51:51.943" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13619" PostTypeId="1" CreationDate="2018-08-30T17:17:34.190" Score="1" ViewCount="1393" Body="&lt;p&gt;For Unicorn serialization currently i have given path  like &lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;targetDataStore physicalRootPath=&quot;C:\SitecoreProjects\Unicorn1\src\Project\Unicorn_Test\serialization&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However its absolute source path in my machine and working fine for me. &#xA;Since we are working in a team, how can i make this to relative path so that all team members can check out this from source control work without any issues while reserialize and sync?&lt;/p&gt;&#xA;" OwnerUserId="3980" LastEditorUserId="95" LastEditDate="2018-08-30T19:08:43.503" LastActivityDate="2018-08-30T23:13:35.343" Title="How can we give the relative path in unicorn configuration file?" Tags="|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13620" PostTypeId="2" ParentId="13619" CreationDate="2018-08-30T17:53:29.233" Score="3" Body="&lt;p&gt;You can do this by using a variable that gets set in a developer only config. I would normally setup the &lt;code&gt;targetDataStore&lt;/code&gt; like this in my unicorn config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\$(layer)\$(module)\serialization\Website&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in my website project, I have a &lt;code&gt;z.DevSettings.config&lt;/code&gt; file, where I specify the value for the &lt;code&gt;$(sourceFolder)&lt;/code&gt; variable:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;C:\Projects\MyProject\src&quot; /&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That file is not committed to source control, each developer would create a version of that so that the source folder can be set based on your local machine setup. We don't commit it, because then it will not affect anyone else.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-08-30T17:53:29.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13621" PostTypeId="1" AcceptedAnswerId="13623" CreationDate="2018-08-30T19:45:41.790" Score="2" ViewCount="445" Body="&lt;p&gt;I've uploaded a few images of kittens, teddy bears, flowers, and other cute things to a folder within the Sitecore Media Library. I now need to access them using the ItemService API and display them in my ASP.NET page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I access these images by their ItemID, I get 200 (OK) responses, which JSON string containing all the data pertaining to these images. But I'm unable to figure out a way how to display these images within my page. Some of the code snippets I am trying out are the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To access the ItemService API:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var client = new WebClient();&#xA;client.Headers.Add(HttpRequestHeader.ContentType, &quot;image/jpeg&quot;);&#xA;// I am able to get an HTTP 200 response with the proper JSON with the following line&#xA;client.DownloadFile((@&quot;https://&amp;lt;mysite&amp;gt;.azurewebsites.net/sitecore/api/ssc/item/&amp;lt;my item guid&amp;gt;&quot;, @&quot;cutePicture.json&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I even try the &lt;code&gt;DownloadData&lt;/code&gt; method of the &lt;code&gt;WebClient&lt;/code&gt; class and attempt to convert the returned byte array to and Image using multiple ways, but each time I get errors saying 'Invalid Parameter' and others.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var client = new WebClient();&#xA;client.Headers.Add(HttpRequestHeader.ContentType, &quot;image/jpeg&quot;);&#xA;var bytes = client.DownloadData(@&quot;https://&amp;lt;mysite&amp;gt;.azurewebsites.net/sitecore/api/ssc/item/&amp;lt;my item guid&amp;gt;&quot;);&#xA;using (MemoryStream ms = new MemoryStream(bytes))&#xA;{&#xA;     Image myImage = Image.FromStream(ms); // Fails here&#xA;     myImage.Save(@&quot;MyCuteImage.jpg&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I replace the &lt;code&gt;using&lt;/code&gt; block with the following snippet, but that too doesn't let me convert the byte array to an image.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ImageConverter converter = new ImageConverter();&#xA;Image myImage = (Image)converter.ConvertFrom(bytes); // throws an error saying the parameter is invalid&#xA;myImage.Save(@&quot;MyCuteImage.jpg&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Could someone please help me out here? Are there any settings/decorations I need to give my page to make Sitecore know that my page is accessing data from it? And how do I achieve my desired result, i.e., displaying a picture got from the Sitecore media library using the ItemService API onto my page? What am I missing here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help with the above would be greatly appreciated!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Joonu&lt;/p&gt;&#xA;" OwnerUserId="4194" LastEditorUserId="4194" LastEditDate="2018-08-31T13:13:52.730" LastActivityDate="2018-08-31T13:13:52.730" Title="What do I need to do to display an image on my web page using the ItemService API?" Tags="|sitecore-client|sitecore-api|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13622" PostTypeId="1" AcceptedAnswerId="13626" CreationDate="2018-08-30T20:27:42.640" Score="1" ViewCount="1263" Body="&lt;p&gt;I have several newly added save events for existing items. Any way to force a save of an item? When I do &lt;code&gt;$item.Editing.BeginEdit()&lt;/code&gt; / &lt;code&gt;$item.Editing.EndEdit()&lt;/code&gt; in PowerShell it returns false since nothing changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trying to think of a field I can update to trick into thinking it changed.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="73" LastEditDate="2018-08-30T23:03:41.483" LastActivityDate="2021-11-25T09:18:38.343" Title="Force saving of an item" Tags="|powershell-extensions|sitecore-api|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13623" PostTypeId="2" ParentId="13621" CreationDate="2018-08-30T21:08:20.547" Score="2" Body="&lt;p&gt;When you request a media item using ItemService API, You should receive the following field in the JSON respons:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ItemMedialUrl: &quot;https://&amp;lt;mysite&amp;gt;.azurewebsites.net/-/media/kittens.ashx&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should be able to use that URL to show the image on your ASP.NET web page.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-08-30T21:08:20.547" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13624" PostTypeId="2" ParentId="13622" CreationDate="2018-08-30T21:25:32.917" Score="1" Body="&lt;p&gt;I don't know if the following code can be run from Powershell extensions, But i remember the following Sitecore API used to raise the Item:Saved events :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Events.Event.RaiseItemSaved(this, new Sitecore.Data.Events.ItemSavedEventArgs(item));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-08-30T21:25:32.917" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13625" PostTypeId="2" ParentId="13619" CreationDate="2018-08-30T22:46:34.770" Score="0" Body="&lt;h3&gt;Explanation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Relative - to what?  That is the issue here.  Your solution files live in your solution folder, likely under GIT control or some other form of source control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When Unicorn executes, it executes in your Web Context (IIS folder) and knows nothing about the solution that was published to it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;No relative path would work here, &lt;code&gt;~/&lt;/code&gt; is pointing to the IIS &quot;Website&quot; folder.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Another approach&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;An interesting - although untested by me - solution to this was also presented on the Unicorn Issues area.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn/issues/275&quot; rel=&quot;nofollow noreferrer&quot;&gt;Question: how can I specify a solution relative path for &quot;targetDataStore&quot; configuration property&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It basically introduces a &lt;code&gt;$(solutionFolder)&lt;/code&gt; variable that can then be used in the configuration of &lt;code&gt;&amp;lt;targetDataStore&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've not tried it myself (and a part of me thinks this is maybe overkill), but wanted to offer up an alternative answer to Richards answer above (which is the approach I use as well).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It involves a T4 template and a config transformation.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;T4&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;#@ template debug=&quot;false&quot; hostspecific=&quot;true&quot; language=&quot;C#&quot; #&amp;gt;&amp;lt;# /* hostspecific must be set to &quot;true&quot; in order to access Visual Studio project properties. */ #&amp;gt;&#xA;&amp;lt;#@ assembly name=&quot;System.Core&quot; #&amp;gt;&#xA;&amp;lt;#@ import namespace=&quot;System.Text&quot; #&amp;gt;&#xA;&amp;lt;#@ output extension=&quot;.config&quot; #&amp;gt;&#xA;&amp;lt;#@ assembly name=&quot;EnvDTE&quot; #&amp;gt;&amp;lt;# /* This assembly provides access to Visual Studio project properties. */ #&amp;gt;&#xA;&amp;lt;#&#xA;    var serviceProvider = this.Host as IServiceProvider;&#xA;    var dte = serviceProvider.GetService(typeof(EnvDTE.DTE)) as EnvDTE.DTE;&#xA;    var solutionDirectory = System.IO.Path.GetDirectoryName(dte.Solution.FullName);&#xA;#&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Transform&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;sc.variable name=&quot;solutionFolder&quot; value=&quot;&amp;lt;#= solutionDirectory #&amp;gt;&quot; &#xA;        xdt:Transform=&quot;SetAttributes&quot; xdt:Locator=&quot;Match(name)&quot;/&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then using it in Unicorn&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;targetDataStore&#xA;    physicalRootPath=&quot;$(solutionFolder)\XXX.Unicorn\$(configurationName)&quot;&#xA;    useDataCache=&quot;false&quot;&#xA;    type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot;&#xA;    singleInstance=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-08-30T23:13:35.343" LastActivityDate="2018-08-30T23:13:35.343" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13626" PostTypeId="2" ParentId="13622" CreationDate="2018-08-30T22:52:40.620" Score="2" Body="&lt;p&gt;This is going to be a very short answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But &lt;code&gt;$item.Editing.EndEdit($true, $false)&lt;/code&gt; should do the trick.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The two parameters are&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;updateStatistics&lt;/li&gt;&#xA;&lt;li&gt;silent&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Setting &lt;code&gt;updateStatistics&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; SHOULD force Sitecore to write a new Modified Date, Modified By etc. and thus force a save of your item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting &lt;code&gt;silent&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; would defeat your purpose, as it would supress events.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Edited to add&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;But also be aware of this. I'm not sure if there's an issue involving Sitecore Powershell Extensions or what's going on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/7930/item-editing-endedit-is-not-triggering-save-event-when-called-from-powershell&quot;&gt;Item.Editing.EndEdit() is not triggering save event when called from Powershell extension&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="95" LastEditDate="2018-08-31T00:13:40.973" LastActivityDate="2018-08-31T00:13:40.973" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13627" PostTypeId="2" ParentId="9147" CreationDate="2018-08-31T06:15:43.127" Score="0" Body="&lt;p&gt;Anchor target was not working with &lt;code&gt;name&lt;/code&gt; property in Outlook. But it is working when I add &lt;code&gt;id&lt;/code&gt; and &lt;code&gt;name&lt;/code&gt; property together in acnhor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Working Anchor link &#xA;&lt;code&gt;&amp;lt;a id=&quot;Article_01&quot; name=&quot;Article_01&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks to all for all answers.&lt;/p&gt;&#xA;" OwnerUserId="814" LastEditorUserId="312" LastEditDate="2018-08-31T07:02:32.583" LastActivityDate="2018-08-31T07:02:32.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13628" PostTypeId="1" CreationDate="2018-08-31T06:35:02.320" Score="0" ViewCount="162" Body="&lt;p&gt;I have added the diagrammatic representation for the upgrade. Please let me know your thoughts and if I need to add or follow certain additional steps while doing the upgrade.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bcKed.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bcKed.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-08-31T06:35:02.320" Title="Flow chart for Upgrade of Sitecore 8.1 Commerce Server to Sitecore Experience Commerce 9.0.2" Tags="|sitecore-commerce|upgrade|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="13629" PostTypeId="1" CreationDate="2018-08-31T06:40:11.813" Score="1" ViewCount="208" Body="&lt;p&gt;We have a requirement of using Angular page along with Sitecore 9 JSS SDK. There are two components on the Angular page where first component gets data from Sitecore and other pulls data from API. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content author should have the option to edit the CMS content of the component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have done a small POC with Integrated mode. My question is there any other way to achieve the above requirement?&lt;/p&gt;&#xA;" OwnerUserId="4211" LastEditorUserId="73" LastEditDate="2018-08-31T11:44:28.973" LastActivityDate="2018-08-31T11:44:28.973" Title="Sitecore Experience Editor with JSS SDK" Tags="|jss|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13630" PostTypeId="2" ParentId="13613" CreationDate="2018-08-31T07:00:38.377" Score="5" Body="&lt;p&gt;The real problem with the question/answer linked in the description is the use of custom methods as part of the expression.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This type of exception is normally about types of queries that are not currently supported by XConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The blocking problem on this one is trying to query on properties of a date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Comparisons with this shape are supported:&#xA;&lt;code&gt;c.PersonalInformation().DateField &amp;gt; startOfMonth &amp;amp;&amp;amp; c.PersonalInformation().DateField &amp;lt; endOfMonth&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While queries with this shape don’t:&#xA;c.PersonalInformation().DateField.Month == month&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately for something like birthdays, it means your only option is to check the date is within the start and end of the day of the year for all the possible years you allow your users to enter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That would work, but other alternatives are: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;have a separate field/facet with the birthday in the shape you need. This only works if you control what is writing to that facet.&lt;/li&gt;&#xA;&lt;li&gt;same field/facet as above, but write to it from a XConnect plugin.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="76" LastEditorUserId="76" LastEditDate="2018-08-31T12:04:00.343" LastActivityDate="2018-08-31T12:04:00.343" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13631" PostTypeId="1" AcceptedAnswerId="13632" CreationDate="2018-08-31T07:28:36.873" Score="2" ViewCount="1086" Body="&lt;p&gt;Compared to the instructor led training if I purchase an eLearning module and want to appear for examination , does 1500$ cost include the one time certification coupon ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I get Sitecore support if I land into some difficulties during eLearning training ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What about Sitecore Commerce training?&#xA;Will Sitecore® Experience Commerce™ 9 300 exam be launched on eLearning platform ?&lt;/p&gt;&#xA;" OwnerUserId="1268" LastEditorUserId="2153" LastEditDate="2018-09-05T12:07:49.337" LastActivityDate="2018-09-05T12:07:49.337" Title="Does Sitecore eLearning training course contain certification coupon?" Tags="|sitecore-commerce|support|training|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13632" PostTypeId="2" ParentId="13631" CreationDate="2018-08-31T07:50:35.973" Score="5" Body="&lt;p&gt;Yes at the end of the training you will receive certification coupon. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On &lt;a href=&quot;https://elearning.sitecore.net/Public/ContentDetails.aspx?id=BC286B8A482C49BD8CB52CE507B666D0&quot; rel=&quot;noreferrer&quot;&gt;https://elearning.sitecore.net/Public/ContentDetails.aspx?id=BC286B8A482C49BD8CB52CE507B666D0&lt;/a&gt;  is described what it contains the training. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The purchase of the Sitecore® Platform Essentials for Developers eLearning includes the option to take the Sitecore® Certified Platform Associate Developer exam&lt;/strong&gt;. Developers who pass the exam become Sitecore® Certified Professionals. Developers can register to take the exam with an online proctored service from anywhere in the world or at a testing center.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will not get any help from Sitecore if you have issue during elearning training. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding last question (Sitecore® Experience Commerce™ 9 300 on elearning) I suggest to ask Sitecore from your region. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have more questions I suggest you to send mail to  one of the bellow: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;North and South America:  &lt;strong&gt;ustraining@sitecore.net&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Europe, Middle East, Africa: &lt;strong&gt;training-emea@sitecore.net&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Greater Asia: &lt;strong&gt;training-apac@sitecore.net&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Japan: &lt;strong&gt;training.jp@sitecore.net&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Australia, New Zealand: &lt;strong&gt;training-au@sitecore.net&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-08-31T07:50:35.973" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13635" PostTypeId="1" AcceptedAnswerId="13636" CreationDate="2018-08-31T09:43:13.963" Score="5" ViewCount="595" Body="&lt;p&gt;My curiosity is to know more about the features which Microsoft has provided  in the SQL server 2016 version which also allows the Sitecore to implement the xDB on the SQL Server 2016 itself, which was not possible before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I totally agree, of having the advantage of Microsoft only infrastructure in the Sitecore solution, so we don’t have to maintain the 2 database administrators and infrastructure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be great if someone can explain what’s was the problem/bottleneck of the older version of SQL server(prior to 2016 ), which could not handle the xDB requirement and what exactly they introduce in SQL server 2016, which makes it possible for Sitecore xDB to handle the high performance when data is growing at fast rate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any documentations on the gaps which Microsoft SQL server has had before, which they filled in the version 2016 from Sitecore xDB points of view?&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-08-31T11:05:51.633" Title="Why Sitecore 9 xDB on SQL server 2016?" Tags="|xdb|sql-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13636" PostTypeId="2" ParentId="13635" CreationDate="2018-08-31T10:00:48.000" Score="4" Body="&lt;p&gt;I think that JSON data type and specific JSON related functions that were introduced in MS SQL Server 2016 are major reason why xConnect and xDB starting from Sitecore 9 can finally support also &quot;xDB requirements&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also introduction of xConnect as an API for xDB helped achieved this as it abstracted previous close tight of xDB with Mongo DB and made underlying DB &quot;irrelevant&quot;. &lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-08-31T10:00:48.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13637" PostTypeId="2" ParentId="13635" CreationDate="2018-08-31T10:03:28.260" Score="2" Body="&lt;p&gt;One of the most important SQL Server 2016 features required by xDB is &lt;a href=&quot;https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-2016&quot; rel=&quot;nofollow noreferrer&quot;&gt;always encrypted&lt;/a&gt; which provides data at rest encryption. It's supported by MongoDB in Sitecore 8 xDB while SQL Server 2016 provides the same feature for Sitecore 9 xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a side note, SQL Server 2016 also added support for JSON, but xDB does not really use JSON data type in SQL.&lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2018-08-31T11:05:51.633" LastActivityDate="2018-08-31T11:05:51.633" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13638" PostTypeId="1" CreationDate="2018-08-31T11:53:36.247" Score="2" ViewCount="406" Body="&lt;p&gt;I have to setup Sitecore 9 Update 1 on the VM machine where no internet is available due to company policies. I have installed rest of the dependent tools like VS 2017, SQL Server 2017, SOLR and other dependent software. But when I am trying to install Sitecore 9 through install.ps script I am getting nuget related error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do anybody know how to install Sitecore 9 as offline installer?&lt;/p&gt;&#xA;" OwnerUserId="930" LastEditorUserId="73" LastEditDate="2018-08-31T13:31:30.640" LastActivityDate="2018-08-31T13:31:30.640" Title="Sitecore 9 as offline installer" Tags="|sitecore-install-framework|habitat|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13639" PostTypeId="1" AcceptedAnswerId="13641" CreationDate="2018-08-31T11:59:35.067" Score="6" ViewCount="324" Body="&lt;p&gt;I have to migrate data from SharePoint 2010 to Sitecore 9 Update 1 instance. There is one connector &quot;&lt;a href=&quot;https://dev.sitecore.net/Downloads/SharePoint_Connect/2_0/SharePoint_Connect_23.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;SharePoint Connect 2.2&lt;/a&gt;&quot; for this. Drawback is that &quot;SharePoint Connect is not supported on Sitecore 9 (and greater)&quot; based on note from Sitecore about this module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other way to migrate data from SharePoint 2010 to Sitecore 9 Update 1 including SharePoint media?&lt;/p&gt;&#xA;" OwnerUserId="930" LastEditorUserId="73" LastEditDate="2018-08-31T13:32:06.720" LastActivityDate="2018-08-31T13:32:06.720" Title="SharePoint 2010 to Sitecore 9 update 1" Tags="|migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13641" PostTypeId="2" ParentId="13639" CreationDate="2018-08-31T12:30:32.567" Score="2" Body="&lt;p&gt;You have various options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create instance of Sitecore 8 with Sharepoint Connect connector installed. Do the migration there and then create package with migrated items and deploy/install them via Installation Wizard to your Sitecore 9&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Clone repository with source code for Sharepoint Connect connector from here -&gt; &lt;a href=&quot;https://github.com/Sitecore/SharePoint-Connect&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/SharePoint-Connect&lt;/a&gt; . Adjust code to fit your purposes and tweak it to work with Sitecore 9. Release it maybe then in your own repository as fork. Maybe also somebody else could you it in the future.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use &lt;a href=&quot;https://dev.sitecore.net/Downloads/Data_Exchange_Framework/2x/Data_Exchange_Framework_201.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Data Exchange Framework&lt;/a&gt; and create similar Sharepoint provider as exists for &lt;a href=&quot;https://dev.sitecore.net/Downloads/Dynamics_CRM_Connect/2x/Sitecore_Connect_for_Microsoft_Dynamics_365_for_Sales_201.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dynamics 365&lt;/a&gt; or &lt;a href=&quot;https://dev.sitecore.net/Downloads/Salesforce_Connect/2x/Sitecore_Connect_for_Salesforce_CRM_201.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Salesforce&lt;/a&gt;. You don't need to create complete implementation based on these two. Do only Minimum Viable Product that suit your requirements.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create your custom migration script as a console app, ps1 script or anything else. This will read data from Sharepoint and based on requirements create corresponding items in Sitecore in some hierarchies. Create appropriate templates, fields for future Sitecore items. Don't forget to use buckets if items exceed 100+ child elements. This will help you repeat migration between different environments also to catch all exceptions / edge cases during testing of migration.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-08-31T12:30:32.567" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="13642" PostTypeId="2" ParentId="13614" CreationDate="2018-08-31T12:41:16.597" Score="2" Body="&lt;p&gt;first of all maybe read this blog article of me &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://hachweb.wordpress.com/2018/08/06/sitecore-xc-9-0-2-commerce-environments-behind-the-scenes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hachweb.wordpress.com/2018/08/06/sitecore-xc-9-0-2-commerce-environments-behind-the-scenes/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There I described exactly that topic in detail. Maybe it already answers your question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For short summary:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The local installation is a XP0 installation. That means everything runs on one single machine (CM / CD and respectively also the XC instances).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I have pointed out in the article in such an environment only the Authoring and Minions &quot;instances&quot; are actively used by the installed sitecore instance. the rest is only for demonstration purpose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a production environment, where you have separated CM and CD instances you will also have separated XC instances. So e.g. near the CM instances you will have a XC instances with authoring role (environment). Near the CD instance you will have a XC instances with only shops role (environment). Apart of that you will have somewhere on also on the same machine than the other instaces some XC instance with minions role (environment). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In the end to answer your question:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should every environment have its own set of Auth, Ops, Minions and Shops supporting sites? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;-&gt; This is not mandatory. It depends on your built up environment. In a standard production environment you will have these environments, like mentioned above and in the article But e.g. on a XP0 instance you will actively only find authoring role, which is used by Sitecore and for background tasks the minions role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards&lt;/p&gt;&#xA;" OwnerUserId="3737" LastActivityDate="2018-08-31T12:41:16.597" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13643" PostTypeId="2" ParentId="13614" CreationDate="2018-08-31T13:05:35.353" Score="3" Body="&lt;p&gt;Each role has a specific purpose and each role is required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Authoring Role: This instance servers traffic from the commerce business tools. Since the traffic comes from the admin, the traffic is low.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Shops Role: This instance of the commerce engine serves traffic from all of your storefronts. You would scale this role based on how much traffic your front end sites get. The best way to look at it is in comparison to your xp installs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Minions Role: This instance runs independently of the XP and supports asynchronous processing. This is a crucial instance to process orders, cleanup, process other lists. Move order statuses. If you process a large amount of orders, you might want to scale this instance to process them faster.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DevOps Role: This instance is internal and for devops purposes. Usually you give access to this role to admins etc to bootstrap, initialize and other environment functions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the documentation all are required and all have a purpose. I know the only thing diff in all these instances is a piece of text in the json but if you look at it the other way, same code with a small config tweak is able to perform a different job.&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2018-08-31T13:05:35.353" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13644" PostTypeId="2" ParentId="13638" CreationDate="2018-08-31T13:20:47.493" Score="1" Body="&lt;p&gt;This is part of the script that is trying to download nuget packages:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Install-Assets {&#xA;    #Register Assets PowerShell Repository&#xA;    if ((Get-PSRepository | Where-Object {$_.Name -eq $AssetsPSRepositoryName}).count -eq 0) {&#xA;        Register-PSRepository -Name $AssetsPSRepositoryName -SourceLocation $AssetsPSRepository -InstallationPolicy Trusted&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can overcome this to make it offline by:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Downloading &quot;Sitecore Installation Framework&quot; and &quot;Sitecore Fundamentals&quot; packages from &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/1x/Sitecore_Installation_Framework_12.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore SIF Download site&lt;/a&gt; from Manual Downloads section. Below picture is just illustration. You should download latest version SIF 1.2 -&gt; &lt;a href=&quot;https://i.stack.imgur.com/pUKSS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pUKSS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Unzip downloaded packages and remove version number from the end of folder names so you end up with two folders with names SitecoreFundamentals&#xA;and SitecoreInstallFramework.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Move folders created in step 2 under C:\Program Files\WindowsPowerShell\Modules on remote server. Folder with Modules should look like this at the end -&gt; &lt;a href=&quot;https://i.stack.imgur.com/vXXHi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vXXHi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove this from ps1 script that you are referencing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if ((Get-PSRepository | Where-Object {$_.Name -eq $AssetsPSRepositoryName}).count -eq 0) {&#xA;         Register-PSRepository -Name $AssetsPSRepositoryName -SourceLocation $AssetsPSRepository -InstallationPolicy Trusted&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can follow my blog post with more detailed steps how to do this:&#xA;&lt;a href=&quot;http://tothecore.sk/2018/02/06/installing-sitecore-9-0-1-part-3-3-installing-sitecore-using-sif&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://tothecore.sk/2018/02/06/installing-sitecore-9-0-1-part-3-3-installing-sitecore-using-sif&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-08-31T13:26:30.437" LastActivityDate="2018-08-31T13:26:30.437" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13645" PostTypeId="2" ParentId="10097" CreationDate="2018-08-31T13:35:24.807" Score="0" Body="&lt;p&gt;In your new code, you use the same facet key &lt;code&gt;MyFacetKey&lt;/code&gt; over and over again. Best to set a &lt;code&gt;DefaultFacetKey&lt;/code&gt; on your custom facet classes and use those. On the standard classes, they're already implemented. So, for example, do this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;client.SetFacet&amp;lt;PersonalInformation&amp;gt;(contact, PersonalInformation.DefaultFacetKey, new PersonalInformation()&#xA;              {&#xA;                FirstName = FirstName,&#xA;                LastName = LastName,&#xA;              });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So for all the other facets, also use &lt;code&gt;Facet.DefaultFacetKey&lt;/code&gt; for these.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, when getting the contact, you won't get any facets unless you include them in the expand options; so change&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var contact = client.Get&amp;lt;Sitecore.XConnect.Contact&amp;gt;(trackerIdentifier, new Sitecore.XConnect.ContactExpandOptions());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var facets = new string[] { PersonalInformation.DefaultFacetKey }; &#xA; var contact = client.Get&amp;lt;Sitecore.XConnect.Contact&amp;gt;(trackerIdentifier, new Sitecore.XConnect.ContactExpandOptions(facets));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can get the facet of the contact object and manipulate it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Within the client using&#xA;&#xA;var facets = new string[] { PersonalInformation.DefaultFacetKey }; &#xA;var contact = client.Get&amp;lt;Sitecore.XConnect.Contact&amp;gt;(trackerIdentifier, new Sitecore.XConnect.ContactExpandOptions(facets));&#xA;&#xA;// Assuming contact != null&#xA;var personalInformationFacet = contact.GetFacet&amp;lt;PeronalInformation&amp;gt;(PersonalInformation.DefaultFacetKey);&#xA;&#xA;// Assuming personalInformationFacet != null&#xA;personalInformationFacet.FirstName = FirstName;&#xA;personalInformationFacet.LastName = LastName;&#xA;&#xA;client.SetFacet&amp;lt;PersonalInformation&amp;gt;(contact,  PersonalInformation.DefaultFacetKey, personalInformationFacet);&#xA;await client.SubmitAsync();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2198" LastEditorUserId="5387" LastEditDate="2019-07-26T13:18:34.063" LastActivityDate="2019-07-26T13:18:34.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13646" PostTypeId="1" CreationDate="2018-08-31T17:42:09.660" Score="5" ViewCount="973" Body="&lt;p&gt;While trying to create a new configuration setting whose value is a string consisting of one double quote (&lt;code&gt;&quot;&lt;/code&gt;), the following exception is thrown:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;28240 19:25:51 ERROR Could not load configuration file: C:\inetpub\wwwroot\sitename\Website\App_Config\Include\EzImporter\Sitecore.EzImporter.config: System.Xml.XPath.XPathException: This is an unclosed string.&#xA;   at MS.Internal.Xml.XPath.XPathScanner.ScanString()&#xA;   at MS.Internal.Xml.XPath.XPathScanner.NextLex()&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParsePrimaryExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseFilterExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseExpresion(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParsePredicate(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseExpresion(AstNode qyInput)&#xA;   at MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion)&#xA;   at System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver)&#xA;   at System.Xml.XPath.XPathNavigator.Compile(String xpath)&#xA;   at System.Xml.XmlNode.SelectSingleNode(String xpath, XmlNamespaceManager nsmgr)&#xA;   at Sitecore.Xml.Patch.XmlPatchHelper.MergeChildren(XmlNode target, IXmlElement patch, XmlPatchNamespaces ns, Boolean targetWasInserted)&#xA;   at Sitecore.Xml.Patch.XmlPatchHelper.MergeChildren(XmlNode target, IXmlElement patch, XmlPatchNamespaces ns, Boolean targetWasInserted)&#xA;   at Sitecore.Xml.Patch.XmlPatchHelper.MergeNodes(XmlNode target, IXmlElement patch, XmlPatchNamespaces ns)&#xA;   at Sitecore.Configuration.ConfigPatcher.ApplyPatch(TextReader patch, String sourceName)&#xA;   at Sitecore.Configuration.ConfigPatcher.ApplyPatch(String filename)&#xA;   at Sitecore.Configuration.ConfigReader.LoadAutoIncludeFiles(ConfigPatcher patcher, String folder)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The setting in the config file looks like this: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;EzImporter.QuotationMark&quot; value=&quot;&amp;amp;quot;&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to escape one double quote in the configuration file?&lt;/p&gt;&#xA;" OwnerUserId="595" LastEditorUserId="890" LastEditDate="2018-08-31T19:41:29.343" LastActivityDate="2018-08-31T19:41:29.343" Title="Single quotation mark in configuration file" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13647" PostTypeId="2" ParentId="13646" CreationDate="2018-08-31T19:07:13.007" Score="5" Body="&lt;p&gt;After some additional tests, I manage to achieve the objective.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The right expression is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;EzImporter.QuotationMark&quot; set:value=&quot;&amp;amp;quot;&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice that the attribute &quot;value&quot; has been replaced by &quot;set:value&quot;. The set prefix also needs its associated xml namespace: &lt;code&gt;xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The final code is as follow:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      ...&#xA;      &amp;lt;setting name=&quot;EzImporter.QuotationMark&quot; set:value=&quot;&amp;amp;quot;&quot;/&amp;gt;&#xA;      ...&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The reason why it was failing was due to the mechanism performed by Sitecore to merge several configuration files. Internally it checks the setting already exists and it uses an XPath expression such as &lt;code&gt;'setting[@name=&quot;EzImporter.QuotationMark&quot; and @value=&quot;&quot;&quot;]'&lt;/code&gt;, is causes the exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By replacing the &quot;value&quot; attribute by &quot;set:value&quot; the XPath expression ignores the double quot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope it helps somebody else.&lt;/p&gt;&#xA;" OwnerUserId="595" LastActivityDate="2018-08-31T19:07:13.007" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13649" PostTypeId="1" AcceptedAnswerId="13650" CreationDate="2018-09-01T06:44:16.850" Score="1" ViewCount="1051" Body="&lt;p&gt;I getting error when running a sitecore 9.0 instance.Error is &quot;Required License Missing:Runtime&quot;.Please provide Any solution.&lt;/p&gt;&#xA;" OwnerDisplayName="user4124" LastEditorUserId="73" LastEditDate="2018-09-01T12:48:04.093" LastActivityDate="2018-09-01T12:48:04.093" Title="Sitecore error - Required License Missing: Runtime" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13650" PostTypeId="2" ParentId="13649" CreationDate="2018-09-01T06:48:52.690" Score="4" Body="&lt;p&gt;In order for your Sitecore website to work, you need to have a valid license file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;License files can only be obtained by spending the money or getting one from Sitecore if you are a Sitecore partner.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Few month ago Sitecore Developer Trial Program was launched and you can receive a trial license for 60 days free of charge (&lt;a href=&quot;https://www.sitecore.com/getting-started/developer-trial&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/getting-started/developer-trial&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Default license is located on c:\inetpub\wwwroot\yoursite\App_Data\license.xml. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have such a license? &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="2056" LastEditDate="2018-09-01T11:10:21.317" LastActivityDate="2018-09-01T11:10:21.317" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13651" PostTypeId="1" CreationDate="2018-09-02T00:30:30.943" Score="1" ViewCount="833" Body="&lt;p&gt;I have a component that is a list of content managed links, and I'm trying to figure out what the best way is to make this experience editor friendly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently the component has a &quot;list&quot; datasource, where you enter individual links as child items.  Without getting super crazy with it, this is probably the design I'm going to have to go with, but while it's perfectly logical in the Content Editor, it doesn't work in the Experience Editor at all.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think ideally what I would like to do is be able to present the user with a way to open the content editor as a modal, on top of the experience editor.  I currently have a button that opens a new tab to the content editor with the root item set to the list datasource.  This is functional, but it's not ideal.  I'd like to be able to open this window as a modal, so they can easily update the list without having to leave the page entirely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible?  I know I've done something similar within custom speak pages, using the modal components, but I'm not sure how I would accomplish this within the experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;BTW, we are on Sitecore 9, update 1.&lt;/p&gt;&#xA;" OwnerUserId="4046" LastActivityDate="2018-09-02T19:29:15.950" Title="Open Content Editor in Modal in the Experience Editor" Tags="|experience-editor|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13652" PostTypeId="2" ParentId="13651" CreationDate="2018-09-02T09:10:49.960" Score="2" Body="&lt;p&gt;Possible solutions can be found in the below article. It has almost the exact same example as in your case. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.singlestoneconsulting.com/-/media/files/sitecore_experience_editor_enhancements.pdf?la=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.singlestoneconsulting.com/-/media/files/sitecore_experience_editor_enhancements.pdf?la=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Required functionality is achievable by Custom Experience Button quite easily but there is a problem in this approach where&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;component has a &quot;list&quot; datasource, where you enter individual links as child items. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;While being on Experience Editor, Author makes the changes in the ChildItems (links in your case) of the data-source given in the rendering parameters and publish it but the changes wouldn't reflect in the web database as Sitecore will publish the current page and related items. But it won't publish the child items of the data-source though it will publish the data-source item. Hence the changes will not appear in the web db.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Above problem can be fixed in three ways.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make page level data-sources where the component on the page will select the child as data-source. While publishing the page just make sure that sub-items checkbox is selected in the publishing popup.&lt;/li&gt;&#xA;&lt;li&gt;Data-source item should have a Multilist/Treelist field where the child items should be select-able. In the code just make sure to pick items from this field to fill the modal instead of getting it as ChildItems from Sitecore API.&lt;/li&gt;&#xA;&lt;li&gt;Modify the Sitecore publishing pipelines to include the child items of the data-sources selected in the renderings.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In such cases, I prefer second approach given above.&lt;/p&gt;&#xA;" OwnerUserId="3318" LastActivityDate="2018-09-02T09:10:49.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13653" PostTypeId="1" CreationDate="2018-09-02T18:40:29.700" Score="3" ViewCount="147" Body="&lt;p&gt;Is it possible to get flag and country name associated with each site using Sitecore SXA. I need to dispaly country flag as well as country name side by side on top of the page for each SXA Site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2021-09-29T14:55:36.577" Title="How to get Current Site Country flag using Sitecore SXA?" Tags="|sxa|sitecore-client|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13654" PostTypeId="2" ParentId="13651" CreationDate="2018-09-02T19:29:15.950" Score="1" Body="&lt;p&gt;You can use &quot;Experience Editor Buttons&quot; functionality which replaced previous &quot;Edit Frame&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1: SET UP THE AVAILABLE BUTTONS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to the CORE database. Find the /sitecore/content/Applications/WebEdit/Custom Experience Buttons.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your own pleasure, create a nice folder structure that matches your component structure, and add a “Field Editor Button” in the structure:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rYwXO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rYwXO.png&quot; alt=&quot;A Field Editor Button placed in a folder below Custom Experience Buttons.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the “Fields” field of that button, add the fields that needs to be editable, as a Pipe separated list, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;FieldName1|FieldName2|FieldName3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 2: CONFIGURE THE RENDERING&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the “Experience Editor Buttons”, add the button you created:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/F0oQm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F0oQm.png&quot; alt=&quot;The button is added to the Experience Editor Buttons&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 3: TEST IT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, when clicking the rendering, the button you added is available:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CT1LX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CT1LX.png&quot; alt=&quot;Experience Editor Buttons&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when clicking it, the Edit Frame opens, and the fields are available for editing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qwdyM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qwdyM.png&quot; alt=&quot;Edit Frame&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps taken from this awesome article written by Brian Predersen:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2017/09/01/edit-special-field-types-in-sitecore-experience-editor-custom-experience-editor-buttons-replaces-the-edit-frame/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2017/09/01/edit-special-field-types-in-sitecore-experience-editor-custom-experience-editor-buttons-replaces-the-edit-frame/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More information:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://varunvns.wordpress.com/2017/02/22/custom-experience-editor-buttons/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://varunvns.wordpress.com/2017/02/22/custom-experience-editor-buttons/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://techmusingz.wordpress.com/2017/03/16/editframe-vs-experience-editor-buttons-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://techmusingz.wordpress.com/2017/03/16/editframe-vs-experience-editor-buttons-in-sitecore/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-02T19:29:15.950" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13655" PostTypeId="2" ParentId="13615" CreationDate="2018-09-02T23:16:21.133" Score="3" Body="&lt;p&gt;Thanks for the very detailed question!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on your description for how you created the Edit Frame Buttons and how you are referencing them, I suspect that the path the buttons is incorrect. Specifically, you said that you created the buttons at &lt;code&gt;/sitecore/content/Applications/WebEdit/Edit Frame Buttons/RelatedEvents/&lt;/code&gt;, yet, your parameter reads &lt;code&gt;Related Events&lt;/code&gt; in your View screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;@Html.EditFrame()&lt;/code&gt; extension method takes a &quot;Buttons&quot; parameter that is used to attempt to match a &lt;em&gt;folder name&lt;/em&gt; under &lt;code&gt;/sitecore/content/Applications/WebEdit/Edit Frame Buttons&lt;/code&gt; which should contain one or more Edit Frame buttons underneath it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/using_editframes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/using_editframes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps #2 and #7 under the Edit Frames Buttons section of this blog post: &lt;a href=&quot;http://www.awareweb.com/awareblog/11-25-14-custombuttonspageeditor&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.awareweb.com/awareblog/11-25-14-custombuttonspageeditor&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="100" LastActivityDate="2018-09-02T23:16:21.133" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13657" PostTypeId="1" CreationDate="2018-09-03T07:33:28.050" Score="3" ViewCount="1138" Body="&lt;p&gt;We are planning to start a new Helix principles compliant project. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We got pretty good idea on backend Sitecore solution setup by looking at Habitat implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keen to get your advice based on your Helix project on:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;How to set up the front end assets (css/jss) that match with backend Helix setup e.g. feature with css/js ?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;How does front end team integrate with backend ?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="2153" LastEditDate="2018-09-03T15:14:59.480" LastActivityDate="2018-11-05T14:03:18.500" Title="Front End build and integration process for Sitecore Helix Project" Tags="|helix|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13658" PostTypeId="1" CreationDate="2018-09-03T07:39:28.470" Score="-1" ViewCount="104" Body="&lt;p&gt;When trying to send a mail using a 'friendly name' I get the error:&#xA;'We experienced a technical difficulty while processing your request.  Your data may not have been correctly saved'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want to show 'Friendly name' instead of no-reply@someextremlynicewebsite.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What we did is in the send email editor enter this in the 'From' field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Friendly Name&quot; no-reply@somesite.com;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone know the correct form for this principle?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: After investigating the sources from the sitecore libraries I found out there are differences between WFFM for sitecore 9.0 and WFFM for sitecore 9.0.1.&#xA;I don't know if I can paste code from sitecore itself here but it seems that sitecore already started phasing out WFFM by using sitecore.forms as the base for sitecore forms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the processmessage class, getmail method this regex is being used, blocking all other formats:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;^\w+([-+.']\w+)&lt;em&gt;@\w+([-.]\w+)&lt;/em&gt;\.\w+([-.]\w+)*$&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code is not available in WFFM for sitecore 9.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best approach to fix this?&lt;/p&gt;&#xA;" OwnerUserId="3554" LastEditorUserId="73" LastEditDate="2018-11-13T08:41:31.787" LastActivityDate="2018-11-13T08:41:31.787" Title="'Friendly name' does not work in save actions" Tags="|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13659" PostTypeId="1" AcceptedAnswerId="13660" CreationDate="2018-09-03T07:57:52.650" Score="2" ViewCount="51" Body="&lt;p&gt;Is it possible to filter WFFM reports by date range in Sitecore v8.2 ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Current reports are either taking a long time to run or are timing out. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Users have requested the ability to add a date filter to limit the number of records being returned and to reduce the wait time for reports to be generated.&lt;/p&gt;&#xA;" OwnerUserId="444" LastEditorUserId="2153" LastEditDate="2018-09-03T14:15:53.200" LastActivityDate="2018-09-03T14:15:53.200" Title="Filter WFFM report by date range" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13660" PostTypeId="2" ParentId="13659" CreationDate="2018-09-03T08:47:52.140" Score="1" Body="&lt;p&gt;One of the reason for slow response or timeout of the WFFM reports are db indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please try the following on WFFM database of your instance:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) add an additional index for the FormId to the FieldData table:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;USE [Sitecore_Wffm]&#xA;GO&#xA;CREATE NONCLUSTERED INDEX [FormId_FieldData]&#xA;ON [dbo].[FieldData] ([FormId])&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Rebuild both [PK_FieldData] and [PK_FormData] &#xA;3) Make sure that Avg. Fragmentation is within 5% for all indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To check the Avg. Fragmentation, you can use the &quot;Index Physical Statistics&quot; from Standard Report.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VcWXx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VcWXx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QUqQB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QUqQB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the Avg. Fragmentation is within 5%, try to generate the reports again which should be faster.&lt;/p&gt;&#xA;" OwnerUserId="3318" LastActivityDate="2018-09-03T08:47:52.140" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13661" PostTypeId="1" CreationDate="2018-09-03T10:18:43.843" Score="4" ViewCount="178" Body="&lt;p&gt;I have created a Custom Minion and added it in Habitat Minion environment json file. I wanted to create a separate patch file for my custom minion. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions on how to do that?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="2056" LastEditDate="2018-09-03T14:28:49.707" LastActivityDate="2018-09-03T14:28:49.707" Title="Commerce Minion config patch file" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13662" PostTypeId="2" ParentId="13658" CreationDate="2018-09-03T10:46:49.513" Score="1" Body="&lt;p&gt;The following format might work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Friendly Name&quot; &amp;lt;no-reply@somesite.com&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've not tested this but as I understand it the MailAddress method in MailMessage should support this and I believe thats what WFFM is using here under the hood.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the above doens't work perhaps try patching in a pipeline to re-work the from address:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyProject.Wffm&#xA;{&#xA;    public class FormatFriendlyFromAddress&#xA;    {        &#xA;        public void Process(ProcessMessageArgs args)&#xA;        {&#xA;            args.From = $&quot;{args.From} &amp;lt;no-reply@somesite.com&amp;gt;&quot;; //make any changes to the address required here&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch this in like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;processMessage&amp;gt;&#xA;    &amp;lt;processor type=&quot;MyProject.Wffm.FormatFriendlyFromAddress, MyProject.Wffm&quot; method=&quot;Process&quot; patch:before=&quot;processor[@method='SendEmail']&quot;/&amp;gt;&#xA;  &amp;lt;/processMessage&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-09-03T11:45:42.600" LastActivityDate="2018-09-03T11:45:42.600" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13663" PostTypeId="1" CreationDate="2018-09-03T11:44:30.100" Score="3" ViewCount="5702" Body="&lt;p&gt;I have problem with my Sitecore 9.0.1 XP1 installation. The environment is Azure VMs with Azure SQL and is following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2x CM VMs&lt;/li&gt;&#xA;&lt;li&gt;2x CD VMs&lt;/li&gt;&#xA;&lt;li&gt;1x xConnect + Sitecore Processing VM&lt;/li&gt;&#xA;&lt;li&gt;1x Sitecore Reporting VM&lt;/li&gt;&#xA;&lt;li&gt;Azure SQL Premium Elastic Pool&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am using single public SSL certificate across all servers - it has Server and Client Authentication roles. I configured its thumbprint in all ConnectionStrings.config files&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When launching CD/CM I am getting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    69684 11:40:08 **ERROR xDB unavailable when submitting contact**.&#xA;Exception: Sitecore.Analytics.DataAccess.XdbUnavailableException&#xA;Message: xDB unavailable&#xA;Source: Sitecore.Analytics.XConnect&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling[T](Func`2 func)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.&amp;lt;&amp;gt;c__DisplayClass15_0.&amp;lt;LoadContact&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.Data.ContactRepository.LoadContact(ID contactId)&#xA;   at Sitecore.Analytics.Data.ContactRepository.MergeTemporaryContact(Contact contact)&#xA;   at Sitecore.Analytics.Data.ContactRepository.SaveContact(Contact contact)&#xA;   at Sitecore.Analytics.Tracking.ContactManager.SubmitContact(Contact contact, Contact&amp;amp; realContact)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: An error occurred while sending the request.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.Get[TEntity](IXdbContext context, IEntityReference`1 reference, ExpandOptions expandOptions, TimeSpan timeout)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.GetContactByIdentifier(IXdbContext xdbContext, String source, String identifier)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling[T](Func`2 func)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.Xdb.Common.Web.ConnectionTimeoutException&#xA;Message: A task was canceled.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteAsync&amp;gt;d__37.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.CollectionBatchWebApiClient.&amp;lt;ExecuteBatch&amp;gt;d__11.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Threading.Tasks.TaskCanceledException&#xA;Message: A task was canceled.&#xA;Source: mscorlib&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteAsync&amp;gt;d__37.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Things tried/checked so far:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Made sure no errors in certificate thumbprint in config files&lt;/li&gt;&#xA;&lt;li&gt;Added iis apppool identities to read certificate's private keys&lt;/li&gt;&#xA;&lt;li&gt;Checked and made sure that all 5x xConnect websites are available&#xA;locally and from any other server (with no certificate errors)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In Sitecore documentation they mention that xConnect server and client certificates are usually different - I have it configured on one SSL certificate - is that supported?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="4222" LastActivityDate="2018-09-03T11:44:30.100" Title="ERROR xDB unavailable when submitting contact - certificates?" Tags="|xdb|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13664" PostTypeId="2" ParentId="13661" CreationDate="2018-09-03T13:47:50.683" Score="3" Body="&lt;p&gt;It's pretty simple.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Put this part of configuration to your Habitat Minion JSON file in Policies values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;        &quot;$type&quot;: &quot;Sitecore.Commerce.Core.PolicySetPolicy, Sitecore.Commerce.Core&quot;,&#xA;        &quot;PolicySetId&quot;: &quot;Entity-PolicySet-{your_policy_name}PolicySet&quot;&#xA;      },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create a separate JSON file with your configuration and paste configuration like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;$type&quot;: &quot;Sitecore.Commerce.Core.PolicySet, Sitecore.Commerce.Core&quot;,&#xA;  &quot;Id&quot;: &quot;Entity-PolicySet-{your_policy_name}PolicySet&quot;,&#xA;  &quot;Version&quot;: 1,&#xA;  &quot;IsPersisted&quot;: false,&#xA;  &quot;Name&quot;: &quot;{your_policy_name}PolicySet&quot;,&#xA;  &quot;Policies&quot;: {&#xA;    &quot;$type&quot;: &quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;    &quot;$values&quot;: [&#xA;      {&#xA;        &quot;$type&quot;: &quot;Plugin.Habitat.{ProjectName}.Policies.{your_policy_type}, Plugin.Habitat.{ProjectName}&quot;,&#xA;        &quot;YourPropertyName&quot;: &quot;ABC&quot;&#xA;      }&#xA;    ]&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After that publish your changes and run Bootstrap()&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-09-03T13:47:50.683" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13665" PostTypeId="1" CreationDate="2018-09-03T14:24:12.757" Score="4" ViewCount="351" Body="&lt;p&gt;I am very new to Sitecore (8.2) and was given an assignment to have a possibility to view pages with different users (member, registered, etc) in the Explore Mode. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The goal is when I select a certain preset (user), it would show the site just like it would do in normal circumstances. So if I have a preset which mimics a logged-in member, I would like to see the site as if a real member was logged in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything is based on Personalization rules to determine the type of user etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know how to create a preset, but now I would like to know how to mimic a user that passes these certain Personalization rules. Here is where I created the presets:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bTIiY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bTIiY.png&quot; alt=&quot;Experience explorer presets&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have literally no idea what I'm doing or even what I'm talking about and I can't find anything on Google.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone point me in the right direction?&lt;/p&gt;&#xA;" OwnerUserId="4225" LastEditorUserId="73" LastEditDate="2018-09-03T17:02:58.687" LastActivityDate="2018-09-03T17:02:58.687" Title="Testing Personalization rules with Explore Mode presets" Tags="|experience-editor|personalization|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13666" PostTypeId="2" ParentId="13665" CreationDate="2018-09-03T16:35:12.377" Score="4" Body="&lt;p&gt;Your request - 'I would like to know how to mimic a user that passes these certain Personalization rules'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It sounds like you know how to create an Experience Explorer preset, but aren't sure how to configure the Experience Explorer preset.  Since your use case is about non-logged in user vs. logged in user, we'll start there.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm going to make an assumption that your project uses the Sitecore User Manager for login authentication and that you've set Sitecore roles to associate users (members) to member type (member, registered, etc).  That's the best practice, if you want to use out of the box Sitecore personalization.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Within the Experience Explorer preset, go to the &lt;code&gt;Visitor Information section&lt;/code&gt;.  You can go to the &lt;code&gt;Associate Sitecore User&lt;/code&gt; field and find a member profile that has the permissions that you'd like to mimic.  That will pass the user's roles to Sitecore.  If you use the &lt;code&gt;current user is a member of the specific role&lt;/code&gt; personalization rule, you can personalize components to the various roles.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YXnxt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YXnxt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;If you need to know how to personalize a component...&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to the component and click on this icon&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZjkKQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZjkKQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click the '+' sign (1)&#xA;Name the new version of the component (2)&#xA;Select the personalized content (3)&#xA;Select 'edit rule' (4)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/M2iez.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M2iez.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search for the 'current user is a member of the specific role' rule&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vRZMG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vRZMG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select the role for the member type your personalizing&#xA;&lt;a href=&quot;https://i.stack.imgur.com/8IiA0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8IiA0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note:  You can build out pretty detailed Experience Explorer presets.  Take a look at the Onsite Behavior, Visitor Information, Location, Referral Information and History sections to get a feel for preset variables that you can add.  &lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2018-09-03T16:35:12.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13667" PostTypeId="1" CreationDate="2018-09-04T01:44:24.043" Score="1" ViewCount="278" Body="&lt;p&gt;I have been looking around most of the blog post, however there is no straight forward solution to get state details for any location. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even Sitecore doc mentioned Geo IP location gives state but it fails to give any working example.&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/ip_geolocation/setting_up_sitecore_ip_geolocation&quot; rel=&quot;nofollow noreferrer&quot;&gt;Setting Sitecore Ip GeoLocation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm bit confused here. Even this blogpost rule out what sitecore doc says.&#xA;&lt;a href=&quot;https://andrewwburns.com/2016/10/28/what-does-sitecores-geoip-return-for-region/&quot; rel=&quot;nofollow noreferrer&quot;&gt;what is region code?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly help. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="102" LastEditorUserId="2153" LastEditDate="2018-09-04T16:42:17.483" LastActivityDate="2018-09-04T16:42:17.483" Title="Sitecore Geo IP location region vs state" Tags="|geo-location|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13668" PostTypeId="1" AcceptedAnswerId="13693" CreationDate="2018-09-04T04:14:42.387" Score="2" ViewCount="226" Body="&lt;p&gt;What i want to do: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Save and update facet data repeatedly through WebApi&lt;/li&gt;&#xA;&lt;li&gt;Read the facet data through WebApi&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Everything works fine, until the contact stops being updated. It seems as if, once the inital flush to xDB has happened I will forever retrieve old data and it wont update either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Saving the data, i'm doing this. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public IHttpActionResult SaveContact([FromBody] dataFromView)&#xA;    {&#xA;        if (Sitecore.Analytics.Tracker.Current != null &amp;amp;&amp;amp; data != null)&#xA;        {&#xA;            var contact = Sitecore.Analytics.Tracker.Current.Contact;&#xA;            if (contact != null)&#xA;            {&#xA;&#xA;                ICalculatorData customfacet = Tracker.Current.Contact.GetFacet&amp;lt;ICustomFacet&amp;gt;(&quot;NameOfCustomFacet&quot;);&#xA;&#xA;&#xA;                if (customfacet != null)&#xA;                {                        &#xA;                   customfacet.someproperty = dataFromView.updatedproperty;                      &#xA;                };&#xA;            }                &#xA;            return Ok();&#xA;        }&#xA;&#xA;        return BadRequest();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The facet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;    public class CustomFacet: Facet, ICustomFacet&#xA;    {      &#xA;&#xA;        private const string SOMENUMBER= &quot;SomeNumber&quot;;&#xA;&#xA;        public decimal SomeNumber&#xA;        {&#xA;            get { return base.GetAttribute&amp;lt;decimal&amp;gt;(SOMENUMBER); }&#xA;            set { base.SetAttribute&amp;lt;decimal&amp;gt;(SOMENUMBER, value); }&#xA;        }&#xA;&#xA;&#xA;        public CustomFacet()&#xA;        {&#xA;&#xA;            base.EnsureAttribute&amp;lt;decimal&amp;gt;(SOMENUMBER);&#xA;        }&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ICustomFacet&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface ICustomFacet : IFacet&#xA;    {&#xA; decimal SomeNumber { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I take the same approach when reading the data, only i'm just returning the customFacet instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I clear my cookies and retrieve a new SC_ANALYTICS_GLOBAL_COOKIE id, i'll be able to again save and update the data. Until it keeps returning old data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: Log &#xA;Exception: Sitecore.Analytics.Exceptions.ContactLockException Message: Failed to extend contact lease for contact 5d3ad09a-76af-4a3d-98b9-b448d4e3be14&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is happening on my development environment, working as both CM and CD&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone who can shed some light onto this issue?&lt;/p&gt;&#xA;" OwnerUserId="3939" LastEditorUserId="3939" LastEditDate="2018-09-05T00:25:24.067" LastActivityDate="2018-09-07T01:22:33.657" Title="Custom facet data not being updated after initial flush to xDB" Tags="|xdb|mongodb|contact-facets|webapi|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="13669" PostTypeId="1" CreationDate="2018-09-04T07:29:15.250" Score="1" ViewCount="306" Body="&lt;p&gt;As a source for a DropList, I would like to use a query that returns the list of languages defined for a specific item.&#xA;Is it possible?&lt;/p&gt;&#xA;" OwnerUserId="4226" LastEditorUserId="73" LastEditDate="2018-09-04T08:05:03.823" LastActivityDate="2018-12-03T11:01:20.370" Title="Get the list of languages of an item in a droplist field query source" Tags="|sitecore-query|" AnswerCount="1" CommentCount="1" ClosedDate="2018-12-03T11:02:25.910" ContentLicense="CC BY-SA 4.0" />
  <row Id="13670" PostTypeId="1" CreationDate="2018-09-04T08:03:05.083" Score="2" ViewCount="263" Body="&lt;p&gt;Changing the work flow state moves the item to next state but disables Work flow commands in the Quick actions panel. However, it is enabled in the Ribbon (Review tab)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wS0Mb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wS0Mb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Screenshot from the gutter&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KpFeR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KpFeR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, Gutter panel shows the commands enabled when logged-in as administrator&lt;/p&gt;&#xA;" OwnerUserId="1333" LastEditorUserId="605" LastEditDate="2018-09-04T11:55:14.630" LastActivityDate="2018-12-28T23:00:50.313" Title="Change in Work flow state disables Workflow command in Quick actions or gutter panel" Tags="|workflow|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13671" PostTypeId="2" ParentId="13669" CreationDate="2018-09-04T08:04:40.990" Score="0" Body="&lt;h3&gt;Not really&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Not out of the box. Not in any way I could find at least.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reason is; Sitecore Query (or even fast: query) works on item-level. I've never seen it used to query multiple versions of any single item, which is what you need here.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;But with a little work&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;But there are options with a reasonably small code footprint. Alex Smagin (and others) wrote about, putting custom tokens into the datasource area of your field, to execute custom functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://asmagin.com/2014/06/22/sitecore-extending-field-datasource-queries-with-tokens/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SITECORE: EXTENDING FIELD DATASOURCE QUERIES WITH TOKENS,&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically it involves hooking into Sitecore's &lt;code&gt;GetLookupSourceItems&lt;/code&gt; pipeline and injecting the specific dropdown list options you need there.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-09-04T08:04:40.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13673" PostTypeId="1" AcceptedAnswerId="13700" CreationDate="2018-09-04T09:49:38.037" Score="2" ViewCount="614" Body="&lt;p&gt;I am using Sitcore 9 and have implemented federated authentication on CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to remove normal login authentication , so that the only way that user can be authenticated is form from third party federated authentication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="2153" LastEditDate="2018-09-04T13:47:31.710" LastActivityDate="2019-05-10T09:18:58.243" Title="Sitecore Federated Authentication on CM server - remove Login form" Tags="|sitecore-client|federated-authentication|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13674" PostTypeId="2" ParentId="9317" CreationDate="2018-09-04T10:35:28.927" Score="0" Body="&lt;p&gt;We faced the similar error while installing Sitecore 9 Update 2, because I was configuring on the new machine with first time .Net/Sitecore installation. The problem was due to missing ASP component (ASP, ASP.net 3.5 and ASP.net 4.7)&#xA;Go to &gt; Control Panel\Programs\Programs and Features&#xA;Click &gt; Turn Window Features on or off&#xA;Navigate To &gt; Internet Information Services &gt; World Wide Web Services &gt; Application development features&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ASP&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Asp.net 3.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Asp.net 4.7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6kZEO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6kZEO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And make sure, all three above option should be checked, if not checked it and click ok.&#xA;Hope, it will resolve the issue.&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-09-04T10:35:28.927" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13675" PostTypeId="2" ParentId="13223" CreationDate="2018-09-04T10:37:14.250" Score="3" Body="&lt;p&gt;We faced the similar error while installing Sitecore 9 Update 2, because I was configuring on the new machine with first time .Net/Sitecore installation. The problem was due to missing ASP component (ASP, ASP.net 3.5 and ASP.net 4.7)&#xA;Go to &gt; Control Panel\Programs\Programs and Features&#xA;Click &gt; Turn Window Features on or off&#xA;Navigate To &gt; Internet Information Services &gt; World Wide Web Services &gt; Application development features&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ASP&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Asp.net 3.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Asp.net 4.7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And make sure, all three above option should be checked, if not checked it and click ok.&#xA;Hope, it will resolve the issue.&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-09-04T10:37:14.250" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13677" PostTypeId="1" AcceptedAnswerId="13726" CreationDate="2018-09-04T12:17:08.760" Score="2" ViewCount="497" Body="&lt;p&gt;SXA Checlikst filter is not working when filtering by a choice with a special character like : '&amp;amp;' then filter by other filter&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vEvJk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vEvJk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the problem is in the encoding because when I checked the Url the first choice was not right :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Blockquote&#xA;  &lt;a href=&quot;https://my_instance_name//sxa/search/results/?l=en&amp;amp;s=&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://my_instance_name//sxa/search/results/?l=en&amp;amp;s=&lt;/a&gt;{57C05478-9434-4B19-BD13-F4C248DB8AF6}&amp;amp;itemid={E089DD6D-ECFB-4C8D-AF7E-A4CEF507D92F}&amp;amp;sig=SearchResults1&amp;amp;relatedaspectoflifesearchable=Business%20Library%20&amp;amp;templatedisplayname=Service%20Subtopic&amp;amp;e=0&amp;amp;q=&amp;amp;p=10&amp;amp;v={8D1038ED-B68C-4D02-B5D4-430F30288136}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you notice in the Url there is only :&#xA;Business%20Library%20&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I write : Business%20Library%20%26%20Directory, It works successfullt&lt;/p&gt;&#xA;" OwnerUserId="4229" LastEditorUserId="2153" LastEditDate="2018-09-04T13:47:38.990" LastActivityDate="2018-09-06T09:02:57.653" Title="SXA Checlikst filter not working with special characters" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13678" PostTypeId="1" AcceptedAnswerId="13679" CreationDate="2018-09-04T12:39:27.853" Score="5" ViewCount="469" Body="&lt;p&gt;When one subscribes an event programatically how does Sitecore determine the order of that event x the ones patched through configuration? Is there a way to control that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example when one opens the even item:created or item:saved it´s well known that if you register them through config it uses the order of config patched to execute but what if you subscribe an event programatically what does that mean? Which gets executed first and how to control that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Events.Event.Subscribe(&quot;item:created&quot;, myArgs);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How does this event execution order relate to other item:created patched through configuration?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&#xA;This code is triggered as part of a processor hooked into the initialize pipeline. &lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="73" LastEditDate="2018-09-04T13:47:54.520" LastActivityDate="2018-09-04T13:47:54.520" Title="Order of execution of events subscribed programatically" Tags="|configuration|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13679" PostTypeId="2" ParentId="13678" CreationDate="2018-09-04T13:27:19.560" Score="4" Body="&lt;p&gt;The configuration would already be loaded to execute that pipeline. Your added events would &lt;em&gt;normally&lt;/em&gt; get sent to the end of any existing events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind though, you should not rely on event ordering.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Do NOT rely on event ordering. All event dispatches should be logically independent, as if they were occurring in parallel. Events are logically independent actions.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/a/374549/81631&quot;&gt;https://stackoverflow.com/a/374549/81631&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-09-04T13:27:19.560" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13680" PostTypeId="2" ParentId="13678" CreationDate="2018-09-04T13:37:35.633" Score="4" Body="&lt;p&gt;Agree with Mark, the only addition to that is that dynamic subscribed events are executed after events from configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Sitecore.Events.Event.RaiseEvent:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;result = GetConfigSubscribers().RaiseEvent(eventName, parameters);&#xA;DynamicSubscribers.RaiseEvent(eventName, parameters, result);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where DynamicSubscribers would contain your programatically bound events and  the GetConfigSubscribers would contain the config bound events&lt;/p&gt;&#xA;" OwnerUserId="3782" LastActivityDate="2018-09-04T13:37:35.633" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13681" PostTypeId="2" ParentId="13657" CreationDate="2018-09-04T15:24:27.693" Score="3" Body="&lt;p&gt;For Point 1 have a closer look at the Foundation projects &quot;Sitecore.Foundation.Assets&quot; and &quot;Sitecore.Foundation.Theming&quot; in the Habitat solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Foundation.Assets makes it possible to add assets by theme, page or rendering. The Theming project allows you to add different themes to a site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Point 2 is very based on your organisational structure, front-end-team should work in .less files which are compiled to .css file by &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebCompiler&quot; rel=&quot;nofollow noreferrer&quot;&gt;Web Compiler&lt;/a&gt; and &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=MadsKristensen.BundlerMinifier&quot; rel=&quot;nofollow noreferrer&quot;&gt;Bundler &amp;amp; Minifier&lt;/a&gt; (both VS extensions).&lt;/p&gt;&#xA;" OwnerUserId="1183" LastEditorUserId="731" LastEditDate="2018-11-05T14:03:18.500" LastActivityDate="2018-11-05T14:03:18.500" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13682" PostTypeId="1" AcceptedAnswerId="13722" CreationDate="2018-09-04T16:40:42.530" Score="1" ViewCount="247" Body="&lt;p&gt;I would like to call an API to Sitecore to get changes of Media Library files stored in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So given a Media Library, I would like to list the New Files, Updated Files and Deleted files since a timestamp. SharePoint, Google Drive, Box.com etc all have a similar feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing I can seem to find is the push API where I install a Sitecore ASP.NET application into Sitecore itself and it will then send updates to my app that way. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But isn't there some sort of pull-based event api?&lt;/p&gt;&#xA;" OwnerUserId="4231" LastEditorUserId="2056" LastEditDate="2018-09-06T06:45:14.103" LastActivityDate="2018-09-06T06:45:14.103" Title="RESTful API for getting incremental changes?" Tags="|sitecore-api|webapi|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="13683" PostTypeId="1" AcceptedAnswerId="13684" CreationDate="2018-09-04T17:19:48.107" Score="3" ViewCount="1227" Body="&lt;p&gt;I'm using Unicorn (v4.0.3, Rainbow v2.0). In the &lt;code&gt;Rainbow.config&lt;/code&gt; it states the following for the &lt;code&gt;Rainbow.SFS.SerializationFolderPathMaxLength&lt;/code&gt; property:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Example: A value of &quot;90&quot; for this setting will mean that item paths&#xA;  longer than 150 characters will be shortened, since Sitecore  reserves&#xA;  8 characters (and 248 - 8 - 90 = 150).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So I put 80. By their math that would mean 248 - 8 -80 = 160, meaning a path of 160 characters is ALLOWED and anything longer will be shortened. I want to avoid shortening so it seems like a good value to me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then this error appears when I try to open Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;The physical root path of this SFS tree, C:\Sitecore\bhcorporate\Website\App_Data\Unicorn\BrightHorizons.Serialization\Content, &#xA;is longer than the configured max base path length 80. If the tree contains any loopback &#xA;paths, unexpected behavior may occur. You should increase the &#xA;Rainbow.SFS.SerializationFolderPathMaxLength setting in Rainbow.config to greater than &#xA;85 and perform a reserialization from a master content database.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm confused. The config indicates that a smaller value allows longer paths. Yet the error indicates that a larger value is needed. Can someone explain?&lt;/p&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="70" LastEditDate="2018-09-04T17:30:06.537" LastActivityDate="2019-02-26T20:31:08.560" Title="Clarification needed on the Rainbow.SFS.SerializationFolderPathMaxLength setting" Tags="|unicorn|rainbow|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13684" PostTypeId="2" ParentId="13683" CreationDate="2018-09-04T17:25:48.863" Score="3" Body="&lt;p&gt;The limitation is not Unicorn or Rainbow. The file system sets the limit (248 chars).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All you are doing with that configuration setting, is changing how &quot;lax&quot; Rainbow needs to be before doing the path shortening. Changing it from 90 to 80 will only work, if your root path actually allows for this (without breaking the Windows Path Length limitation).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, the root path is already 85 characters. You would need a root path shorter than 80, for your setting to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And while we're at it - be aware that changing this setting requires a &lt;em&gt;full reserialize&lt;/em&gt; of all configurations. You cannot change this individually on each developer machine.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Further clarification&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Default setting of 90 tells Rainbow; &quot;Assume your rootpath will always be less than 90 characters&quot;. On developer machines but also on other environments where you would want to use it (when you deploy).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It then takes this assumption and &quot;knows&quot; when it needs to break and perform the rollback to avoid hitting the path limit. It does this by calculating the path of the item being serialized, adding the base (90), and the name of the item in question. If this adds up to more than the path limit, it rolls over.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And in case you further investigate - Windows 10 does allow for this path length limitation to be disabled. But supporting frameworks like .NET and so on does not support this prior to .NET 4.7.1 (which is only an option for Sitecore 9). Other tools such as 7-zip and even the Windows GIT client still do not fully support unlimited path lengths.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is currently being investigated as a possible optional feature to support.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-09-04T17:34:31.933" LastActivityDate="2018-09-04T17:34:31.933" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13685" PostTypeId="2" ParentId="12657" CreationDate="2018-09-04T20:28:40.840" Score="2" Body="&lt;p&gt;I had to put in a support ticket with sitecore.  It turned out this was an issue in the sitecore.kernel.dll itself.  They created a patch file for us that fixed the issue &lt;a href=&quot;https://sitecore.box.com/s/hp1uvqy2k6cmhtheb5j4kn6qcpf3c2ls&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1587" LastActivityDate="2018-09-04T20:28:40.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13686" PostTypeId="1" CreationDate="2018-09-04T20:51:34.067" Score="0" ViewCount="158" Body="&lt;p&gt;For at least one of my contacts, when I search for them it shows that they have only one visit on the results page, but if I click into the details and look at the Activity tab and the visits there, I'm seeing 2 visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What might cause this discrepancy and how do I fix it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am worried that this may be happening with many more, if not all of my contacts and cannot trust the results I am seeing. &lt;/p&gt;&#xA;" OwnerUserId="3761" LastActivityDate="2019-05-23T20:00:34.393" Title="Experience Profile search results show fewer visits than in details" Tags="|xdb|experience-profile|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13687" PostTypeId="1" AcceptedAnswerId="13721" CreationDate="2018-09-04T21:17:52.423" Score="2" ViewCount="407" Body="&lt;p&gt;I have created a catalog semi following the Habitat plugin, but using methods to create:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;await _persistEntityPipeline.Run(new PersistEntityArgument(item), context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The process seems to work correctly. I can see categories, their child categories and sellable items through the commerce business tools. After doing this, I was expecting to see these items on the front end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can find them in the database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can find them one at a time using PostMan:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{{ServiceHost}}/{{ShopsApi}}/SellableItems('ENV_Master,Entity-SellableItem-AA237_318,')?$expand=Components($expand=ChildComponents($expand=ChildComponents($expand=ChildComponents($expand=ChildComponents))))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Result:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;@odata.context&quot;: &quot;https://localhost:5000/Api/$metadata#SellableItems/$entity&quot;,&#xA;    &quot;CompositeKey&quot;: null,&#xA;    &quot;CreatedBy&quot;: null,&#xA;    &quot;UpdatedBy&quot;: null,&#xA;    &quot;DateCreated&quot;: &quot;2018-09-04T21:06:34.3666257Z&quot;,&#xA;    &quot;DateUpdated&quot;: &quot;2018-09-04T20:24:36.3062164Z&quot;,&#xA;    &quot;DisplayName&quot;: &quot;2018 ICD-10-CM Expert for Physicians: The Complete Code Set&quot;,&#xA;    &quot;FriendlyId&quot;: &quot;AA237_318&quot;,&#xA;    &quot;Id&quot;: &quot;Entity-SellableItem-AA237_318&quot;,&#xA;    &quot;Version&quot;: 3,&#xA;    &quot;EntityVersion&quot;: 1,&#xA;    &quot;Published&quot;: true,&#xA;    &quot;IsPersisted&quot;: false,&#xA;    &quot;Name&quot;: &quot;AA237&quot;,&#xA;    &quot;Policies&quot;: [&#xA;        {&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Plugin.Availability.AvailabilityAlwaysPolicy&quot;,&#xA;            &quot;PolicyId&quot;: &quot;b00ba625b47e41069814b1443c5a2bc1&quot;,&#xA;            &quot;Models&quot;: []&#xA;        },&#xA;        {&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Plugin.Pricing.ListPricingPolicy&quot;,&#xA;            &quot;PolicyId&quot;: &quot;a29bbca4b22b4109a202ddf14ebbd8c7&quot;,&#xA;            &quot;Models&quot;: [],&#xA;            &quot;Prices&quot;: [&#xA;                {&#xA;                    &quot;CurrencyCode&quot;: &quot;USD&quot;,&#xA;                    &quot;Amount&quot;: 81&#xA;                }&#xA;            ]&#xA;        },&#xA;        {&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Plugin.Pricing.PurchaseOptionMoneyPolicy&quot;,&#xA;            &quot;PolicyId&quot;: &quot;3bb4e6d567ad4fb58fd41a3b35b92e0b&quot;,&#xA;            &quot;Models&quot;: [],&#xA;            &quot;Expires&quot;: &quot;2018-09-04T21:11:34.3706496Z&quot;,&#xA;            &quot;SellPrice&quot;: {&#xA;                &quot;CurrencyCode&quot;: &quot;USD&quot;,&#xA;                &quot;Amount&quot;: 81&#xA;            },&#xA;            &quot;FixedSellPrice&quot;: false&#xA;        }&#xA;    ],&#xA;    &quot;SitecoreId&quot;: &quot;de7523d6-283a-49ef-833d-bc241365b750&quot;,&#xA;    &quot;CatalogToEntityList&quot;: null,&#xA;    &quot;ParentCatalogList&quot;: &quot;b1da3bad-9621-7915-3ce6-a4457204798a&quot;,&#xA;    &quot;ParentCategoryList&quot;: &quot;a6f49394-1a07-25ce-6005-5e1bdfc0c78d&quot;,&#xA;    &quot;ChildrenCategoryList&quot;: null,&#xA;    &quot;ChildrenSellableItemList&quot;: null,&#xA;    &quot;ItemVariations&quot;: null,&#xA;    &quot;Description&quot;: &quot;This essential book for diagnostic coding includes.&quot;,&#xA;    &quot;ItemTemplate&quot;: null,&#xA;    &quot;ProductId&quot;: &quot;AA237_318&quot;,&#xA;    &quot;Brand&quot;: &quot;&quot;,&#xA;    &quot;Manufacturer&quot;: &quot;&quot;,&#xA;    &quot;TypeOfGood&quot;: &quot;&quot;,&#xA;    &quot;Tags&quot;: [],&#xA;    &quot;ListPrice&quot;: {&#xA;        &quot;CurrencyCode&quot;: &quot;USD&quot;,&#xA;        &quot;Amount&quot;: 81&#xA;    },&#xA;    &quot;Components&quot;: [&#xA;        {&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Plugin.Catalog.DisplayPropertiesComponent&quot;,&#xA;            &quot;Id&quot;: &quot;ac54aeb30ba5443bbb305625d9ddf02e&quot;,&#xA;            &quot;Name&quot;: &quot;&quot;,&#xA;            &quot;Comments&quot;: &quot;&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;DisambiguatingDescription&quot;: &quot;&quot;,&#xA;            &quot;DisplayOnSite&quot;: true,&#xA;            &quot;DisplayInProductList&quot;: true,&#xA;            &quot;Color&quot;: &quot;&quot;,&#xA;            &quot;Size&quot;: &quot;&quot;,&#xA;            &quot;Style&quot;: &quot;&quot;,&#xA;            &quot;ChildComponents&quot;: []&#xA;        },&#xA;        {&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Plugin.Workflow.WorkflowComponent&quot;,&#xA;            &quot;Id&quot;: &quot;7638fb8752bf4788b42d1ab46a5cd2c9&quot;,&#xA;            &quot;Name&quot;: &quot;&quot;,&#xA;            &quot;Comments&quot;: &quot;&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;Workflow&quot;: {&#xA;                &quot;Name&quot;: &quot;DefaultCommerceWorkflow&quot;,&#xA;                &quot;EntityTarget&quot;: &quot;Entity-Workflow-DefaultCommerceWorkflow&quot;,&#xA;                &quot;Policies&quot;: []&#xA;            },&#xA;            &quot;CurrentState&quot;: &quot;Approved&quot;,&#xA;            &quot;ChildComponents&quot;: []&#xA;        },&#xA;        {&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Core.LocalizedEntityComponent&quot;,&#xA;            &quot;Id&quot;: &quot;d769ba98786a4d0a8ecb9f3fb0af19ab&quot;,&#xA;            &quot;Name&quot;: &quot;&quot;,&#xA;            &quot;Comments&quot;: &quot;&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;Entity&quot;: {&#xA;                &quot;Name&quot;: &quot;&quot;,&#xA;                &quot;EntityTarget&quot;: &quot;Entity-LocalizationEntity-a339da44dd9d4d03a09c695576e3299a&quot;,&#xA;                &quot;Policies&quot;: []&#xA;            },&#xA;            &quot;ChildComponents&quot;: []&#xA;        },&#xA;        {&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Plugin.Catalog.CatalogsComponent&quot;,&#xA;            &quot;Id&quot;: &quot;1251ea730990445280bc89fef8bc0fed&quot;,&#xA;            &quot;Name&quot;: &quot;&quot;,&#xA;            &quot;Comments&quot;: &quot;&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;ChildComponents&quot;: [&#xA;                {&#xA;                    &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Plugin.Catalog.CatalogComponent&quot;,&#xA;                    &quot;Id&quot;: &quot;bdd3ba9911a84b2eabbb4a6ca1725a0e&quot;,&#xA;                    &quot;Name&quot;: &quot;ENV_Master&quot;,&#xA;                    &quot;Comments&quot;: &quot;&quot;,&#xA;                    &quot;Policies&quot;: [],&#xA;                    &quot;CatalogLanguages&quot;: [],&#xA;                    &quot;DefaultLanguage&quot;: null,&#xA;                    &quot;ItemDefinition&quot;: &quot;&quot;,&#xA;                    &quot;ChildComponents&quot;: []&#xA;                }&#xA;            ]&#xA;        },&#xA;        {&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Core.MessagesComponent&quot;,&#xA;            &quot;Id&quot;: &quot;598a1e8a15ec4b5a8e49d479545229b7&quot;,&#xA;            &quot;Name&quot;: &quot;&quot;,&#xA;            &quot;Comments&quot;: &quot;&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;Messages&quot;: [&#xA;                {&#xA;                    &quot;Code&quot;: &quot;Pricing&quot;,&#xA;                    &quot;Text&quot;: &quot;ListPrice&amp;lt;=PricingPolicy: Price=$81.00&quot;&#xA;                },&#xA;                {&#xA;                    &quot;Code&quot;: &quot;Pricing&quot;,&#xA;                    &quot;Text&quot;: &quot;SellPrice&amp;lt;=ListPrice: Price=$81.00&quot;&#xA;                }&#xA;            ],&#xA;            &quot;ChildComponents&quot;: []&#xA;        },&#xA;        {&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Plugin.Inventory.InventoryComponent&quot;,&#xA;            &quot;Id&quot;: &quot;7464711206624a29890fc2aa293e9c0a&quot;,&#xA;            &quot;Name&quot;: &quot;&quot;,&#xA;            &quot;Comments&quot;: &quot;&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;InventoryAssociations&quot;: [],&#xA;            &quot;ChildComponents&quot;: []&#xA;        }&#xA;    ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I get no items back using PostMan to retrieve all sellable items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{{ServiceHost}}/{{ShopsApi}}/SellableItems&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Result:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;@odata.context&quot;: &quot;https://localhost:5000/Api/$metadata#SellableItems&quot;,&#xA;    &quot;value&quot;: []&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I assume this is the reason why I am not getting any items on the front end, but I cannot figure out why none are returning. How can I go about troubleshooting this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I have not added any inventory for these items. Is that required to return results?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What about variations? Must there be at least one variant? I would assume no, but I am not sure. I see when creating inventory information it has a parameter of variant Id. I would assume this could be empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any kind of checklist of things that must be in place in order to return sellable items?&lt;/p&gt;&#xA;" OwnerUserId="2068" LastEditorUserId="2068" LastEditDate="2018-09-05T14:25:15.837" LastActivityDate="2018-09-05T21:21:03.133" Title="Troubleshooting No Sellable Items" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13688" PostTypeId="2" ParentId="13673" CreationDate="2018-09-04T21:52:30.983" Score="0" Body="&lt;p&gt;Your question is a little vague, but have you reviewed the Sitecore configuration instructions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/using_federated_authentication_with_sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/using_federated_authentication_with_sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="467" LastActivityDate="2018-09-04T21:52:30.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13689" PostTypeId="2" ParentId="13573" CreationDate="2018-09-04T21:54:08.590" Score="0" Body="&lt;p&gt;I had run into similar issue. Check the path value for the parameter SitecoreBizFxServicesContentPath and then check the version you have for the zip file.&#xA;And then change the wildcard to full path to the zip file to resolve. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/aZ1aD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aZ1aD.png&quot; alt=&quot;Path as in the Installation script&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OYXUy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OYXUy.png&quot; alt=&quot;The file name&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1301" LastActivityDate="2018-09-04T21:54:08.590" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13690" PostTypeId="1" CreationDate="2018-09-04T22:17:47.457" Score="1" ViewCount="92" Body="&lt;p&gt;In XC 9.0.2, is there a way to differentiate between a &quot;billing&quot; party and a &quot;shipping&quot; party when adding a party to a customer?   the &lt;code&gt;Party&lt;/code&gt; class doesn't have a way to do this.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see that &lt;code&gt;CustomerParty&lt;/code&gt; has a &lt;code&gt;PartyType&lt;/code&gt; which seems to be exactly what I'm looking for, but not exactly clear on how to associate a &lt;code&gt;Party&lt;/code&gt; with a &lt;code&gt;CustomerParty&lt;/code&gt;, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;CommerceCustomer.Parties&lt;/code&gt; is also a &lt;code&gt;List&amp;lt;CustomerParty&amp;gt;&lt;/code&gt;, but that doesn't hold any actual address info.    &lt;/p&gt;&#xA;" OwnerUserId="436" LastEditorUserId="73" LastEditDate="2018-09-05T13:56:39.713" LastActivityDate="2018-09-05T13:56:39.713" Title="Differentiate between Billing and Shipping party" Tags="|sitecore-commerce|commerce-connect|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13691" PostTypeId="1" AcceptedAnswerId="13694" CreationDate="2018-09-05T01:01:14.867" Score="2" ViewCount="1365" Body="&lt;p&gt;I have a Sitecore component which displays news headlines and &quot;readmore&quot; link.&#xA;Once the user clicks on &quot;read more&quot;, it shows extra information on the same page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I track all the users who clicked on that link?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should I explicitly write some code to this ? If not, where can I see the data? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore version 8.2 &lt;/li&gt;&#xA;&lt;li&gt;Mongo DB (Analytics) is enabled&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3621" LastEditorUserId="2056" LastEditDate="2018-09-05T03:11:55.790" LastActivityDate="2018-09-05T09:02:31.940" Title="How do I track how many users clicked my link?" Tags="|experience-analytics|tracking|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13693" PostTypeId="2" ParentId="13668" CreationDate="2018-09-05T01:30:22.560" Score="2" Body="&lt;p&gt;Now that we know your issue is that you are hitting the MaxPageIndexThreshold limit. And that this is because of the API calls. You can find a nice way to make API calls be ignored from analytics, with a bit of code from Habitat. It's just an attribute for you controller actions. This will kill your API calls from being logged in xDB. When you API calls are in as &quot;page&quot; views, it trashes you path analyzer. Since there are hundreds of calls that do not actually correlate to the user's journey.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpGet]&#xA;[SkipAnalyticsTrackingApi]&#xA;public ActionResult GetFooter()&#xA;{&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the attribute&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Foundation.SitecoreExtensions.Attributes&#xA;{&#xA;    using System.Web.Mvc;&#xA;    using Sitecore.Analytics;&#xA;&#xA;    public class SkipAnalyticsAjaxTrackingAttribute : ActionFilterAttribute&#xA;    {&#xA;        public override void OnActionExecuting(ActionExecutingContext filterContext)&#xA;        {&#xA;            if (filterContext.RequestContext.HttpContext.Request.IsAjaxRequest() &amp;amp;&amp;amp; Tracker.IsActive)&#xA;            {&#xA;                Tracker.Current?.CurrentPage?.Cancel();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-09-05T01:30:22.560" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13694" PostTypeId="2" ParentId="13691" CreationDate="2018-09-05T03:06:19.883" Score="5" Body="&lt;p&gt;I would use Page Event rather than Goal in this case as it is more appropriate. There is not much technical difference between those two.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1) Creating Page Event&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create Page Event under /sitecore/system/Settings/Analytics/Page Events.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/U1vxe.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/U1vxe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and then fire it programmatically:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void RegisterPageEvent(string name, Guid definitionId, Guid itemId, string data, string text)&#xA;&#xA;{&#xA;&#xA;  Assert.IsNotNull(Tracker.Current, &quot;Tracker.Current&quot;);&#xA;&#xA;  Assert.IsNotNull(Tracker.Current.Session, &quot;Tracker.Current.Session&quot;);&#xA;&#xA;  var interaction = Tracker.Current.Session.Interaction;&#xA;&#xA;  Assert.IsNotNull(interaction, &quot;Tracker.Current.Session.Interaction&quot;);&#xA;&#xA;  Assert.IsNotNull(interaction.CurrentPage, &quot;Tracker.Current.Session.Interaction.CurrentPage&quot;);&#xA;&#xA;  var pageEventData = new PageEventData(name, definitionId)&#xA;&#xA;  {&#xA;&#xA;    ItemId = itemId,&#xA;&#xA;    Data = data,&#xA;&#xA;    Text = text&#xA;&#xA;  };&#xA;&#xA;  interaction.CurrentPage.Register(pageEventData);&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can follow these guidelines for further clarification:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/events/sample_register_a_page_event&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/events/sample_register_a_page_event&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/events/register_a_page_event_programmatically&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/events/register_a_page_event_programmatically&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2015/10/07/sitecore-register-page-events/&quot; rel=&quot;noreferrer&quot;&gt;https://briancaos.wordpress.com/2015/10/07/sitecore-register-page-events/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;2) Analytics&#xA;You have various options how to get list of visitors who triggered that page event. Just to name some:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) Engagement plan - You can create engagement plan with initial condition &quot;where your page event was triggered&quot;. Follow &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/engagement_plans/creating_engagement_plans/walkthrough_creating_an_engagement_plan&quot; rel=&quot;noreferrer&quot;&gt;this official documentation&lt;/a&gt;. Then you can &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/engagement_plans/monitoring_engagement_plans/monitor_an_engagement_plan&quot; rel=&quot;noreferrer&quot;&gt;monitor this engagement plan&lt;/a&gt; to get list of visitors who clicked on that button and you can also &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/engagement_plans/monitoring_engagement_plans/supervising_an_engagement_plan&quot; rel=&quot;noreferrer&quot;&gt;supervise this engagement plan&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) Custom Experience Analytics Report -&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/analyzing_and_reporting/analytics/configuring/walkthrough__creating_an_experience_analytics_report&quot; rel=&quot;noreferrer&quot;&gt;Follow official documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Conclusion:&#xA;This part depends on what should be outcome for you. Just count of clicks is sufficient? or you need more details about visitors who clicked for further processing? Both these requirements can be achieved with option a).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/experience_profile/configuring_the_xfile/configure_a_page_event_to_appear_in_the_experience_profile&quot; rel=&quot;noreferrer&quot;&gt;configure page event to appear in Experience profile&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-09-05T03:12:16.630" LastActivityDate="2018-09-05T03:12:16.630" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13695" PostTypeId="1" CreationDate="2018-09-05T05:46:21.203" Score="0" ViewCount="339" Body="&lt;p&gt;In SXA Search, I observed that we can control search results display using Page Size and Page Selector components together. But, I want to control page list component also like Search by displaying Pagination and Page Size. I did not find any SXA Page Size Component associated with Page List. Seems it is working only for Search with Page Selector. Kindly let me know if there is any way to make this configurable&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oij6D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oij6D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2018-09-05T07:42:45.110" LastActivityDate="2018-10-05T08:00:47.390" Title="Is there a way to control Page size of Page list Component like Search Results in SXA" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13696" PostTypeId="2" ParentId="13695" CreationDate="2018-09-05T06:48:58.113" Score="1" Body="&lt;p&gt;Then only rendering you can associate with &lt;code&gt;Page List&lt;/code&gt; is &lt;code&gt;Pagination&lt;/code&gt;. There is not &quot;Page Size&quot; for &lt;code&gt;Page List&lt;/code&gt; and as you correctly noticed then only place to control &lt;code&gt;Page List&lt;/code&gt; page size is the field in the Control Properties dialogue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z2E7x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z2E7x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-09-05T06:48:58.113" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13698" PostTypeId="1" CreationDate="2018-09-05T07:32:43.510" Score="1" ViewCount="498" Body="&lt;p&gt;While opening the item in the Experience editor I am getting a lot of errors like the below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error Rendering View: /Views/MediaFeature/LightboxVideo.cshtml: Error&#xA;  while rendering view: '/Views/MediaFeature/LightboxVideo.cshtml'&#xA;  (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;  &lt;br&gt;at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter&#xA;  writer) &lt;br&gt;at&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) Inner&#xA;  Exception:&#xA;  &lt;br&gt;&lt;br&gt;d:\home\site\wwwroot\Views\MediaFeature\LightboxVideo.cshtml(7):&#xA;  error CS1525: Invalid expression term '.'&lt;br&gt; &lt;br&gt;at&#xA;  System.Web.Compilation.AssemblyBuilder.Compile() &lt;br&gt;at&#xA;  System.Web.Compilation.BuildProvidersCompiler.PerformBuild() &lt;br&gt;at&#xA;  System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath&#xA;  virtualPath) at&#xA;  System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath&#xA;  virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean&#xA;  allowBuildInPrecompile, Boolean throwIfNotFound, Boolean&#xA;  ensureIsUpToDate) at&#xA;  System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext&#xA;  context, VirtualPath virtualPath, Boolean noBuild, Boolean&#xA;  allowCrossApp, Boolean allowBuildInPrecompile, Boolean&#xA;  throwIfNotFound, Boolean ensureIsUpToDate) at&#xA;  System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath&#xA;  virtualPath, HttpContext context, Boolean allowCrossApp, Boolean&#xA;  throwIfNotFound) at&#xA;  System.Web.Compilation.BuildManager.GetCompiledType(VirtualPath&#xA;  virtualPath) at&#xA;  System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext&#xA;  viewContext, TextWriter writer) at&#xA;  System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper,&#xA;  String partialViewName, Object model, ViewDataDictionary viewData) at&#xA;  Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;How can I resolve this error?&lt;/p&gt;&#xA;" OwnerUserId="3428" LastEditorUserId="7820" LastEditDate="2021-03-09T16:13:36.093" LastActivityDate="2021-03-09T16:13:36.093" Title="After deploying Habitat to Azure I am getting rendering error" Tags="|azure|deployment|habitat|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13699" PostTypeId="1" CreationDate="2018-09-05T07:55:23.700" Score="0" ViewCount="92" Body="&lt;p&gt;For some reasons, I need to compare a Node configuration between one version of Sitecore Experience Commerce and another version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say I have only installed SXC 8.2.1 Update 2 and I haven't installed SXC 8.2.1 Update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I check the Node Configuration of that 8.2.1 Update 3 just from the package before it is installed (e.g. in Sitecore.Commerce.8.2.1_U3_1.3.7)?&lt;/p&gt;&#xA;" OwnerUserId="2076" LastActivityDate="2018-12-05T09:02:05.390" Title="How to check Node Configuration in Commerce Engine before Installing the SXC itself?" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13700" PostTypeId="2" ParentId="13673" CreationDate="2018-09-05T08:04:03.437" Score="1" Body="&lt;p&gt;Currently, this can't be solved without setting up a different loginpage or modifying the out of the box page, as there is no switch in the sourcecode of this page which hides the forms authentication loginbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do, is disable the technical functionality, just by following the guidance within this link: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/using_federated_authentication_with_sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/using_federated_authentication_with_sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will disable the formsauthentication module and give an error when credentials are submitted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So your options are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;disable the forms authentication using the previous link (recommended!)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;and choose between the following three options: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;a new login page (en patch all the sites in the  node (recommended)&lt;/li&gt;&#xA;&lt;li&gt;overwrite the existing loginpage and remove all the forms authentication html&lt;/li&gt;&#xA;&lt;li&gt;do nothing and keep broken login functionality&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="71" LastActivityDate="2018-09-05T08:04:03.437" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13701" PostTypeId="1" AcceptedAnswerId="13760" CreationDate="2018-09-05T08:25:39.923" Score="5" ViewCount="3227" Body="&lt;p&gt;In one of our environments (doesn't happen locally) we are seeing the following error in the experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3RwDq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3RwDq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error only appears once the item has been approved in workflow. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The stack trace from the logs is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2840 09:12:27 ERROR Value cannot be null.&#xA;Parameter name: version&#xA;Exception: System.ArgumentNullException&#xA;Message: Value cannot be null.&#xA;Parameter name: version&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.Data.DefaultDatabase.GetItem(ID itemId, Language language, Version version)&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Requests.Workflow.AreItemsInFinalWorkflowState.GetItemsFromRequestValue()&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Requests.Workflow.AreItemsInFinalWorkflowState.ProcessRequest()&#xA;   at Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs requestArgs)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore version: 8.2 update 2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears to occur when a datasource item has a broken link. If I fix the links the error disappears. However, what's confusing is that we are getting this error in our QA environment but not in our production, even though it has the same data, which suggests it is something we have introduced from code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 2:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make things even more curious, I see the error when logged in as the Admin account, however, if I login as a different user (who also has the Administrator checkbox checked) the error doesn't display!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 3&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The difference between the two users &amp;amp; environments was simply down to preferences, whereby one user had the &quot;Associated content&quot; checkbox selected within the View tab of the Ribbon. Having this selected on an item in the approved workflow state seems to determine whether or not an XHR request is made to: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://host/-/speak/request/v1/expeditor/ExperienceEditor.Workflow.AreItemsInFinalWorkflowState&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://host/-/speak/request/v1/expeditor/ExperienceEditor.Workflow.AreItemsInFinalWorkflowState&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this request is producing the error which gets displayed in red. The request contains the following payload:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;language&quot;: &quot;en&quot;,&#xA;  &quot;version&quot;: 1,&#xA;  &quot;isFallback&quot;: false,&#xA;  &quot;isHome&quot;: false,&#xA;  &quot;itemId&quot;: &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;,&#xA;  &quot;database&quot;: &quot;master&quot;,&#xA;  &quot;deviceId&quot;: &quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;,&#xA;  &quot;isLocked&quot;: false,&#xA;  &quot;isLockedByCurrentUser&quot;: false,&#xA;  &quot;ribbonUrl&quot;: &quot;/?sc_mode=edit&amp;amp;sc_itemid={110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&amp;amp;sc_version=1&amp;amp;sc_lang=en&amp;amp;sc_site=presales&quot;,&#xA;  &quot;siteName&quot;: &quot;presales&quot;,&#xA;  &quot;isReadOnly&quot;: false,&#xA;  &quot;analyticsEnabled&quot;: true,&#xA;  &quot;webEditMode&quot;: &quot;edit&quot;,&#xA;  &quot;requireLockBeforeEdit&quot;: false,&#xA;  &quot;virtualFolder&quot;: &quot;/&quot;,&#xA;  &quot;isInFinalWorkFlow&quot;: true,&#xA;  &quot;argument&quot;: &quot;&quot;,&#xA;  &quot;value&quot;: &quot;{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{6C522CA2-7C32-4BC2-842C-73D7FDFDF0F4},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{A924615B-7B4E-443F-9373-022754F2F912},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{5B0C5A66-762B-48A0-9091-C49CCACD5FDD},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{7AC76F5C-41C3-464F-80CF-4AF1828582E3},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined|{0AF18751-B2DB-42E9-A3AC-AC6676FBE59C},undefined&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After de-compiling the &lt;code&gt;Sitecore.ExperienceEditor.Speak.Ribbon.Requests.Workflow.AreItemsInFinalWorkflowState&lt;/code&gt; type, I can see the code is trying to parse a version number from each instance of 'undefined' in the value property of the payload. This results in null being sent to Database.GetItem(id, lang, version) and then the exception. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the question now is, why are these values undefined? &lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="1125" LastEditDate="2018-09-06T15:13:40.127" LastActivityDate="2018-09-07T08:46:52.680" Title="Experience editor error: An error occurred. [Log message: Value cannot be null. Parameter name: version]" Tags="|experience-editor|ribbon|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="13702" PostTypeId="2" ParentId="13698" CreationDate="2018-09-05T08:59:48.397" Score="1" Body="&lt;p&gt;This issue has been fixed by adding the below to the &lt;code&gt;web.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;system.codedom&amp;gt;&#xA;    &amp;lt;compilers&amp;gt;&#xA;      &amp;lt;compiler language=&quot;c#;cs;csharp&quot; extension=&quot;.cs&quot;&#xA;        type=&quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, &#xA;        Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, &#xA;        Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot;&#xA;        warningLevel=&quot;4&quot; compilerOptions=&quot;/langversion:6 /nowarn:1659;1699;1701&quot;/&amp;gt;&#xA;    &amp;lt;/compilers&amp;gt;&#xA;  &amp;lt;/system.codedom&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3428" LastEditorUserId="312" LastEditDate="2019-01-08T10:50:47.277" LastActivityDate="2019-01-08T10:50:47.277" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13703" PostTypeId="2" ParentId="13691" CreationDate="2018-09-05T09:02:31.940" Score="2" Body="&lt;p&gt;As the requirement to show extra information on the same page, it would be hard to trigger an serverside event. My suggestion would be the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;configure FXM for your Sitecore site, which enables you to track events/goals using javascript (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/federated_experience_manager/configuring/configuring_fxm&quot; rel=&quot;nofollow noreferrer&quot;&gt;see documentation&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;register an event or goal (as Peter proposed) for the &quot;readmore&quot; action&lt;/li&gt;&#xA;&lt;li&gt;onclick, fire the javascript to trigger this goal&lt;/li&gt;&#xA;&lt;li&gt;use the default Experience ANalytics report for goals (if you used a goal) to track the number of clicks, or create a custom report for this specific event.&lt;/li&gt;&#xA;&lt;li&gt;The Path analyzer could be used as well, for analyzing clicks, clickthroughs et cetera&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;when including FXM on your localwebsite, you could use the following code to track an event or goal:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&#xA;SCBeacon.trackEvent(“Read more”)&#xA;SCBeacon.trackEvent(“Read more”, { data: “custom data”, dataKey: “custom data key” })&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2018-09-05T09:02:31.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13704" PostTypeId="2" ParentId="13686" CreationDate="2018-09-05T09:22:56.647" Score="1" Body="&lt;p&gt;Search results are served from Analytics index while actual details are loaded directly from the storage. It might be that the contact was indexed correctly or one of his interactions was not indexed at all. It should not happen during normal operations, but you could check indexing logs for any anomalies. To fix the search results view you would need to rebuild Analytics index (&lt;code&gt;/sitecore/admin/RebuildReportingDB.aspx&lt;/code&gt;).&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2018-09-05T09:22:56.647" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="13705" PostTypeId="1" CreationDate="2018-09-05T09:30:01.847" Score="1" ViewCount="585" Body="&lt;p&gt;While investigating some missing log files, I found that quite frequently we had short periods with two log files, created with about a second of each other, directly after a recycle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a scheduled recycle at 4am.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each log file starts with the &lt;code&gt;INFO  Heartbeat - Initializing&lt;/code&gt; line and includes the &quot;Sitecore started&quot; line (Sitecore.NET 8.2 (rev. 170728))&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the startup info section we see:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;4776 04:00:06 INFO Microsoft.NET version info&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4776 04:00:06 INFO &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4776 04:00:06 INFO UTC offset: 02:00:00&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4776 04:00:06 INFO Machine name: *********&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4776 04:00:06 INFO App pool ID: Correct app pool&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4776 04:00:06 INFO &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4776 04:00:06 INFO Process ID: 3296&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4776 04:00:06 INFO Windows identity info&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;4776 04:00:06 INFO Managed pipeline mode: Integrated&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The process ID is different for each log file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the log files stops within a minute, in almost all cases with the shutdown message&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;836 04:00:41 WARN Sitecore shutting down&#xA;836 04:00:41 WARN Shutdown message: HostingEnvironment initiated shutdown&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The other continues until the file rolls over at midnight.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can also see that there are sometimes external resource conflicts (e.g. an attempt to write to a data file fails as it is in use by another process) that appear to be between the instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our hypothesis for the case of missing log files is that we are seeing two instances of the single Sitecore application started within the same app pool , one locks resources (the log file itself?) that the other can't access, breaking logging for that instance until the next recycle and then the instance with the resource lock is killed by the IIS after a minute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So does anyone have any experience of this, or ideas of how and where to investigate?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the record - the App pool only has our single Sitecore instance in it (multisite), has only one worker process and is set to allow overlapped recycling. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&#xA;I can now confirm that for a short period we actually have three process IDs in the app pool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can see in the event log that when this happens the recycle has occurred a couple of seconds early, and then at the correct scheduled time (two seconds later) the new process asks to be recycled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With overlapped recycling this leaves two processes finishing their requests while the third starts up (and will continue to the next scheduled recycle).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Missing log files are caused by the second process gaining a lock on the timestamped logfile so the third can't write to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Extra log files are caused when the log timestamps for the second and third processes differ, so each gets its own log file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An answer to a similar question on Serverfault.com suggests that time synchronization on the VMWare platform may be the root cause, and that this is a general issue unconnected with Sitecore itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://serverfault.com/questions/372873/does-iis-sometimes-allocate-more-worker-processes-than-configured&quot;&gt;https://serverfault.com/questions/372873/does-iis-sometimes-allocate-more-worker-processes-than-configured&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="345" LastEditDate="2018-11-08T09:24:55.503" LastActivityDate="2018-11-08T09:24:55.503" Title="Why would I see a double log file, or be missing a log file?" Tags="|iis|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13706" PostTypeId="1" AcceptedAnswerId="13707" CreationDate="2018-09-05T10:07:31.530" Score="9" ViewCount="499" Body="&lt;p&gt;In any Sitecore 8.2.x when using Experience Analytics when opening up chrome debugging there appears to be an error around TLS, there would be the same error when .Net code will be calling another location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the error log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception System.Net.WebException: The underlying connection was&#xA;  closed: An unexpected error occurred on a send. ---&gt;&#xA;  System.IO.IOException: Unable to read data from the transport&#xA;  connection: An existing connection was forcibly closed by the remote&#xA;  host. ---&gt; System.Net.Sockets.SocketException: An existing connection&#xA;  was forcibly closed by the remote host&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3594" LastEditorUserId="3594" LastEditDate="2018-09-05T13:04:26.207" LastActivityDate="2018-09-05T13:04:26.207" Title="All Sitecore 8.2.x Azure Topologies seem to be effected because of TLS issues" Tags="|azure|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13707" PostTypeId="2" ParentId="13706" CreationDate="2018-09-05T12:46:42.603" Score="6" Body="&lt;p&gt;&lt;strong&gt;&lt;em&gt;Solutions&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Existing Installations&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please unzip Sitecore package, published as release artifact here and find the patch and bin and include them within your solution&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;New Installations&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have upgraded the arm templates to include a wdp fix&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changes includes:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;ARM templates, available from top of repo&#xA;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore package, published as release artifact here&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;More Information&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Microsoft disabled support of TLS 1.0 on App Services recently (&lt;a href=&quot;https://social.msdn.microsoft.com/Forums/en-US/9dace9cb-a1a8-4f77-af26-324bc2b6740e/tls-plans-for-azure-app-service?forum=windowsazurewebsitespreview&quot; rel=&quot;noreferrer&quot;&gt;https://social.msdn.microsoft.com/Forums/en-US/9dace9cb-a1a8-4f77-af26-324bc2b6740e/tls-plans-for-azure-app-service?forum=windowsazurewebsitespreview&lt;/a&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#if-your-app-targets-a-net-framework-version-earlier-than-47&quot; rel=&quot;noreferrer&quot;&gt;enter link description here&lt;/a&gt;) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Technical details can be found here:  &lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#if-your-app-targets-a-net-framework-version-earlier-than-47&quot; rel=&quot;noreferrer&quot;&gt;Transport Layer Security (TLS) best practices with the .NET Framework&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TLDR; If you are not setting specific TLS version from the code, then you just need to check .Net version used for standalone Web Apps (not the code you install on top of Sitecore):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;.Net 3.5 – 4.5.2 (Sitecore 8.2.X) - Explicit setting of TLS version required. That’s how we did this for SXP. &lt;/li&gt;&#xA;&lt;li&gt;4.6 - 4.6.2 (Sitecore 9.0-9.0.2) - Need to be tested on your solution. We haven’t found any issues with SXP.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;4.7 and above - No actions required&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Please Note: This is not a problem in versions 9.x&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="312" LastActivityDate="2018-09-05T12:46:42.603" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13708" PostTypeId="1" AcceptedAnswerId="13711" CreationDate="2018-09-05T14:27:45.383" Score="0" ViewCount="1166" Body="&lt;p&gt;when the CM link is browsed users should be automatically logged in to the CMS.How do i do this ?which pipeline should i over ride .&lt;/p&gt;&#xA;" OwnerUserId="3621" LastActivityDate="2018-09-05T15:16:40.190" Title="How to login sitecore User using Active directory credentials" Tags="|sitecore-client|login|active-directory-module|" AnswerCount="1" CommentCount="1" ClosedDate="2018-09-05T18:53:50.760" ContentLicense="CC BY-SA 4.0" />
  <row Id="13710" PostTypeId="2" ParentId="13682" CreationDate="2018-09-05T15:13:54.880" Score="0" Body="&lt;p&gt;It sounds to me like the only way Sitecore has to do this is by using the History table&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/the_history_table_and_the_history_engine&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/the_history_table_and_the_history_engine&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is unfortunately no api or UI to this feature. So you must use database connections to query for new events.&lt;/p&gt;&#xA;" OwnerUserId="4231" LastEditorUserId="731" LastEditDate="2018-09-05T15:17:52.090" LastActivityDate="2018-09-05T15:17:52.090" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13711" PostTypeId="2" ParentId="13708" CreationDate="2018-09-05T15:16:40.190" Score="1" Body="&lt;p&gt;Sitecore's AD Module provides functionality to allow users to perform Single Sign-on to the Sitecore client using their Active Directory accounts. As the users land at URL /sitecore/admin/ldaplogin.aspx it will authenticate them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about how to configure LDAP login as the default login at &lt;a href=&quot;http://www.nehemiahj.com/2013/01/how-to-enable-single-sign-on-in-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.nehemiahj.com/2013/01/how-to-enable-single-sign-on-in-sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively you can set your CM domain default page as /sitecore/admin/ldaplogin.aspx. &lt;/p&gt;&#xA;" OwnerUserId="3318" LastActivityDate="2018-09-05T15:16:40.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13712" PostTypeId="1" AcceptedAnswerId="13717" CreationDate="2018-09-05T15:45:44.987" Score="2" ViewCount="351" Body="&lt;p&gt;I recently started working on a &lt;strong&gt;JSS React&lt;/strong&gt; template. Today I ran &lt;code&gt;jss build&lt;/code&gt; and found that the vendor chunk size is 436KB non-gzipped. Being that JSS is built on top of CRA whose vendor files total 118KB, I'm a bit worried about the ~320KB difference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also checked Chrome's coverage devtool and found that 43% of the vendor code is not actually used, although I assume it would be less in connected mode (I have no way to test that yet).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bGu6g.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bGu6g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I am aware that JSS is currently in Tech Preview, so I'm curious if this point will be addressed in the final release or if it's even seen as a concern by the dev team. At the moment, loading half a MB for just libs is a huge performance hit for our users and I'm reluctant about using JSS in production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something? Is there anything else I can do aside from ejecting and/or caching the files?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Please note&lt;/strong&gt; that this is a different question than &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11572/angular-bundle-size-issue?newreg=f014a23d4e5a4cd8ae8dee7132cb3a55&quot;&gt;Angular Bundle size issue&lt;/a&gt; which concerns the unknown modules, and not the chunk size.&lt;/p&gt;&#xA;" OwnerUserId="4236" LastActivityDate="2018-09-05T18:51:46.807" Title="React vendor chunk size quite large" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13715" PostTypeId="2" ParentId="750" CreationDate="2018-09-05T16:11:36.367" Score="0" Body="&lt;p&gt;Our issue was due to corruption of our TDS.Master.scproj file. If you need to fix I'd look for duplicates in that file instead of where the error message suggests, which is in the HedgehogDevelopment.SitecoreProject.targets file. We actually ended up rolling back a sloppy commit and that fixed our issue.&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2018-09-05T16:11:36.367" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13717" PostTypeId="2" ParentId="13712" CreationDate="2018-09-05T18:46:44.757" Score="4" Body="&lt;p&gt;You are correct that the vendors chunk for the JSS React sample app is ~430KB before gzip (after gzip that number is ~116KB). The disparity with the &quot;vanilla&quot; CRA bundle size is a result of the additional dependencies that are used by the JSS sample app, e.g. Apollo for GraphQL, i18next for translation, etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The important thing to understand is that you are &lt;em&gt;not required&lt;/em&gt; to use a JSS sample app as the basis for a production app. The sample apps are intended to be just that, samples. As such, they have to strike a balance between getting started with JSS and demonstrating the features of JSS - all of which requires pulling in dependencies you may not ultimately need in your app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To that end, in a React app - regardless of whether or not it is based on CRA - the only dependency you need in order to use the JSS helper components in your app is &lt;code&gt;@sitecore-jss/sitecore-jss-react&lt;/code&gt;. Any other dependency in the sample apps is to support the various JSS development modes and the various Sitecore/JSS features demonstrated in the sample apps.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2018-09-05T18:51:46.807" LastActivityDate="2018-09-05T18:51:46.807" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13718" PostTypeId="1" AcceptedAnswerId="13720" CreationDate="2018-09-05T20:05:41.433" Score="2" ViewCount="1102" Body="&lt;p&gt;I have created a branch template [Comparison Chart] which contains a folder item called [Headers] which is designed to contain items of the template [CChart Header]. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside the [Comparison Chart] item, on the same level as the headers folder will be items of [CChart Row] template which has a droplist field called [Selected Headers]. I would like the [Selected Headers] field to be populated with any/all items inside the [Headers] folder, but I do not know how to setup the field to have a relative datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a visual representation of the tree structure:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Comparison Chart ([Comparison Chart] item)&#xA;     Headers (folder)&#xA;          Blue ([CChart Header] item)&#xA;          Red ([CChart Header] item)&#xA;          Green ([CChart Header] item)&#xA;     Volkswagons ([CChart Row] item)&#xA;     Fords ([CChart Row] item)&#xA;     Toyotas ([CChart Row] item)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Eventually, I will spit out a table similar to the below, but I can't figure out how to set the datasource so that authors can select which headers apply to which rows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;The manufacturers produce cars in the colors indicated below&#xA;               Blue     Red     Green&#xA;Volkswagons     X        X        X&#xA;Fords                    X&#xA;Toyotas         X                 X&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3761" LastActivityDate="2018-09-05T21:18:45.083" Title="Relative datasource for template field" Tags="|templates|datasource|branch|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13719" PostTypeId="2" ParentId="13718" CreationDate="2018-09-05T20:12:12.653" Score="2" Body="&lt;p&gt;You can use something like this in your template field source (You would need to change the templateid value to be the actual ID of your comparison chart template ID ):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@templateid='{Comparison Chart Template ID}']/Headers/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or another way using the parent folder name&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@name='Comparison Chart']/Headers/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2018-09-05T20:17:49.033" LastActivityDate="2018-09-05T20:17:49.033" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13720" PostTypeId="2" ParentId="13718" CreationDate="2018-09-05T21:11:18.797" Score="2" Body="&lt;p&gt;[CChart Row] template would have Multilist field instead of Droplist as you want to select multiple [CChart Hearder] items like blue, red green while Droplist will allow to select only one of these.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reg datasource query, you can use any of the below&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;query:../Headers/*&lt;/li&gt;&#xA;&lt;li&gt;query:./ancestor::* [@@name=‘Comparison Chart]/Headers/*&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3318" LastEditorUserId="3318" LastEditDate="2018-09-05T21:18:45.083" LastActivityDate="2018-09-05T21:18:45.083" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13721" PostTypeId="2" ParentId="13687" CreationDate="2018-09-05T21:21:03.133" Score="1" Body="&lt;p&gt;After runnging sellable item all variations on a habitat item versus one that I created, I noticed it was missing the following block:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;            &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.Plugin.ManagedLists.ListMembershipsComponent&quot;,&#xA;            &quot;Id&quot;: &quot;55c6a9d0c6da4eeb88ace11249a72336&quot;,&#xA;            &quot;Name&quot;: &quot;&quot;,&#xA;            &quot;Comments&quot;: &quot;&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;Memberships&quot;: [&#xA;                &quot;SellableItems&quot;,&#xA;                &quot;CatalogItems&quot;&#xA;            ],&#xA;            &quot;ChildComponents&quot;: []&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Adding this block of code before running the persist method resolved the issue:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var listMembershipComponent = new ListMembershipsComponent();&#xA;listMembershipComponent.Memberships.Add(&quot;SellableItems&quot;);&#xA;listMembershipComponent.Memberships.Add(&quot;CatalogItems&quot;);&#xA;item.Components.Add(listMembershipComponent);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2068" LastActivityDate="2018-09-05T21:21:03.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13722" PostTypeId="2" ParentId="13682" CreationDate="2018-09-06T06:22:40.427" Score="1" Body="&lt;p&gt;There is no OOTB API for your requirements. &#xA;You would need to build it from scratch. One solution would be to use &lt;code&gt;PublishQueue&lt;/code&gt; table from &lt;code&gt;master&lt;/code&gt; database.&#xA;This table is used to store all item changes. Information from this table is used during incremental publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can have this kind of SQL script in your stored procedure (quickly made by me as a starting point for you) which will be used by your API to retrieve data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WITH ItemsTable (ItemPath, ID, Name, TemplateID, MasterID, ParentID, Created, Updated)&#xA;    AS&#xA;    (&#xA;        SELECT CAST('/' + base.Name AS nvarchar(MAX)) as ItemPath,&#xA;            base.ID, base.Name, base.TemplateID, base.MasterID, base.ParentID, base.Created, base.Updated&#xA;&#xA;        FROM Items as base&#xA;        WHERE base.ID = '11111111-1111-1111-1111-111111111111'  &#xA;&#xA;        UNION ALL&#xA;&#xA;        SELECT CAST(ItemPath + '/' + child.Name AS nvarchar(MAX)),&#xA;            child.ID, child.Name, child.TemplateID, child.MasterID, child.ParentID, child.Created, child.Updated&#xA;&#xA;        FROM ItemsTable as parent &#xA;        INNER JOIN Items as child &#xA;            ON child.ParentID = parent.ID &#xA;&#xA;            UNION ALL&#xA;&#xA;        SELECT CAST(ItemPath + '/' + archived.Name AS nvarchar(MAX)),&#xA;            archived.ItemId, archived.Name, archived.TemplateID, archived.MasterID, archived.ParentID, archived.Created, archived.Updated&#xA;&#xA;        FROM ItemsTable as parent &#xA;        INNER JOIN ArchivedItems as archived &#xA;            ON archived.ParentID = parent.ID &#xA;    )   &#xA;    SELECT ItemPath, ItemsTable.ID, Name, PublishQueue.Action, PublishQueue.Date&#xA;    FROM [sc9u2_Master].[dbo].[PublishQueue] PublishQueue&#xA;    INNER JOIN ItemsTable ON PublishQueue.ItemID = ItemsTable.ID&#xA;    WHERE ItemPath LIKE '/sitecore/content/Habitat Sites/Habitat Home/home%'&#xA;    ORDER BY ItemPath DESC, Date&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your WHERE clause would be obviously something like this as you want to have changes from media library:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WHERE ItemPath LIKE '/sitecore/media library%'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Result is something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IznBK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IznBK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In highlighted section you see that you have three particularly interesting actions for your case Created, VersionAdded and Deleted. These three actions are your changes that you would like to track:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Created&lt;/code&gt; action = New file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;VersionAdded&lt;/code&gt; action = Update file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Delete&lt;/code&gt; action = Delete file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you can also adjust SQL script to get only these actions:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;AND [Action] IN ('Created', 'VersionAdded', 'Deleted')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To fulfill also your Timestamp requirement you can introduce another statement to WHERE clause:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;AND Date &amp;gt; '2018-09-05'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Full SQL script that you can use is below (not production ready, you need to tweak it and tune up):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WITH ItemsTable (ItemPath, ID, Name, TemplateID, MasterID, ParentID, Created, Updated)&#xA;    AS&#xA;    (&#xA;        SELECT CAST('/' + base.Name AS nvarchar(MAX)) as ItemPath,&#xA;            base.ID, base.Name, base.TemplateID, base.MasterID, base.ParentID, base.Created, base.Updated&#xA;&#xA;        FROM Items as base&#xA;        WHERE base.ID = '11111111-1111-1111-1111-111111111111'  &#xA;&#xA;        UNION ALL&#xA;&#xA;        SELECT CAST(ItemPath + '/' + child.Name AS nvarchar(MAX)),&#xA;            child.ID, child.Name, child.TemplateID, child.MasterID, child.ParentID, child.Created, child.Updated&#xA;&#xA;        FROM ItemsTable as parent &#xA;        INNER JOIN Items as child &#xA;            ON child.ParentID = parent.ID &#xA;&#xA;            UNION ALL&#xA;&#xA;        SELECT CAST(ItemPath + '/' + archived.Name AS nvarchar(MAX)),&#xA;            archived.ItemId, archived.Name, archived.TemplateID, archived.MasterID, archived.ParentID, archived.Created, archived.Updated&#xA;&#xA;        FROM ItemsTable as parent &#xA;        INNER JOIN ArchivedItems as archived &#xA;            ON archived.ParentID = parent.ID &#xA;    )   &#xA;    SELECT ItemPath, ItemsTable.ID, Name, PublishQueue.Action, PublishQueue.Date&#xA;    FROM [sc9u2_Master].[dbo].[PublishQueue] PublishQueue&#xA;    INNER JOIN ItemsTable ON PublishQueue.ItemID = ItemsTable.ID&#xA;    WHERE ItemPath LIKE '/sitecore/media library%' AND [Action] IN ('Created', 'VersionAdded', 'Deleted')&#xA;    AND Date &amp;gt; '2018-09-05'&#xA;    ORDER BY ItemPath DESC, Date&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5L0uZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5L0uZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-06T06:22:40.427" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13723" PostTypeId="2" ParentId="13699" CreationDate="2018-09-06T07:17:29.047" Score="1" Body="&lt;p&gt;You could use the SDK that ships with the Product to achieve this. If you open up the &lt;code&gt;Customer.Sample.Solution.sln&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you could run the Engine project called &lt;code&gt;Sitecore.Commerce.Engine&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It wont run successfully as you don't have the DB's etc installed, but it should be enough to generate the NodeConfiguration output to disk&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-09-06T07:17:29.047" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13724" PostTypeId="1" CreationDate="2018-09-06T07:17:46.813" Score="0" ViewCount="1708" Body="&lt;p&gt;I need to add a Consent check box with some label content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example label content: &lt;code&gt;By checking this box you are consenting abc abc in our &amp;lt;a href=&quot;https://www.abc.com/privacy-policy&quot;&amp;gt;Privacy Policy&amp;lt;/a&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I try to add the above data in the Form label, the anchor tag is not converted to link and stays as text. How do I get the label to render it as HTML?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="342" LastEditDate="2019-01-04T13:52:12.407" LastActivityDate="2019-04-26T06:05:21.297" Title="Adding Form with anchor tag in Checkbox label" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13725" PostTypeId="2" ParentId="13724" CreationDate="2018-09-06T07:34:41.373" Score="2" Body="&lt;p&gt;I recommend creating your custom Form element where you will add Richtext Field in the template. Call it &quot;Checkbox with Richtext&quot; or &quot;Checkbox with links&quot; or &quot;Advanced Checkbox&quot; or anything you come up with :) Then you will create Model class and Razor view file where input type checkbox will be rendered with your Richtext field text. This should be editable and also supported.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow Sitecore official documentation for more detailed steps -&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_form_element&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_form_element&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't tested this by myself so I don't know whether Richtext fields are supported this way in Sitecore Forms. Please try and let all others know here.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-06T07:34:41.373" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13726" PostTypeId="2" ParentId="13677" CreationDate="2018-09-06T08:41:42.157" Score="3" Body="&lt;p&gt;I did a small investigation and it's actually a bug in front-end part of SXA search logic. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is a blocker for you then you could apply following changes to make Checklist Filter work:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;component-search-query.js - replace &lt;code&gt;item&lt;/code&gt; with &lt;code&gt;encodeURIComponent(item)&lt;/code&gt; in &lt;code&gt;updateHash()&lt;/code&gt; function&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YCe6l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YCe6l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;component-search-results-filter.js - replace &lt;code&gt;facetValue = currentFacet.data('facetvalue')&lt;/code&gt; with &lt;code&gt;facetValue = decodeURIComponent(currentFacet.data('facetvalue'))&lt;/code&gt; in &lt;code&gt;updateFacet()&lt;/code&gt; function:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ERyhf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ERyhf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You will find both scripts under &lt;code&gt;/sitecore/media library/Base Themes/SearchTheme&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Important!&lt;/strong&gt; &lt;strong&gt;This is not an official fix&lt;/strong&gt;, I've not tested it fully and with other search renderings (I can imagine some potential problems). Treat it as a workaround if this bug is blocking you.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-09-06T09:02:57.653" LastActivityDate="2018-09-06T09:02:57.653" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13730" PostTypeId="2" ParentId="11142" CreationDate="2018-09-06T13:05:50.337" Score="0" Body="&lt;p&gt;Expanding upon a comment, we opted to change the order Sitecore processes the icon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The patch file to do so would look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;!-- Change the order of how Sitecore gets the icon so that it checks Sitecore before the system. --&amp;gt;&#xA;            &amp;lt;getFileIcon&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Pipelines.GetFileIcon.Processors.GetIconFromSystemFileAssociation, Sitecore.Kernel&quot;&amp;gt;&#xA;                    &amp;lt;patch:delete /&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Pipelines.GetFileIcon.Processors.GetIconFromSystemFileAssociation, Sitecore.Kernel&quot; /&amp;gt;&#xA;            &amp;lt;/getFileIcon&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="288" LastActivityDate="2018-09-06T13:05:50.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13731" PostTypeId="1" AcceptedAnswerId="13765" CreationDate="2018-09-06T14:06:03.960" Score="2" ViewCount="404" Body="&lt;p&gt;I've seen this in some examples, but it didn't seem to work when I tried it out. Basically, take a scenario where you have a placeholder name prefix, like &quot;column&quot; or &quot;row&quot;, but in the actual placeholder names you have &quot;column1&quot; and &quot;column2&quot;, etc. In the placeholder settings, you want a common placeholder setting for both, so you use the key &quot;column*&quot; to catch both placeholders. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like I said, I've seen this in a book or article, but not a working code sample, so I don't know if it requires code/pipeline intervention.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-09-07T09:50:54.970" Title="Placeholder settings wildcard keys" Tags="|placeholders|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13732" PostTypeId="1" AcceptedAnswerId="13756" CreationDate="2018-09-06T14:09:53.007" Score="2" ViewCount="88" Body="&lt;p&gt;I am able to import the package by adding custom classes in the section &quot;add-your-classes-here&quot;. But, when I try to add the bootstrap classes like &quot;hidden-sm&quot;, &quot;hidden-xs&quot;, they are not actually getting added to div tags.&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2018-09-06T14:10:55.687" LastActivityDate="2018-09-07T05:56:21.650" Title="Not able to add hidden-sm hidden-xs bootstrap classes to a row splitter" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13733" PostTypeId="2" ParentId="5079" CreationDate="2018-09-06T14:10:04.100" Score="2" Body="&lt;p&gt;We found that adding the following to the &lt;code&gt;schema.xml&lt;/code&gt; in your Solr cores for &lt;strong&gt;master&lt;/strong&gt; and &lt;strong&gt;web&lt;/strong&gt; helped get the search working for content and geospatial searches.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dynamicField name=&quot;*_tm&quot; type=&quot;text_general&quot; multiValued=&quot;true&quot; indexed=&quot;true&quot; stored=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;field name=&quot;geolocation_rpt&quot; type=&quot;location_rpt&quot; indexed=&quot;true&quot; stored=&quot;true&quot;  multiValued=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-09-06T14:10:04.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13734" PostTypeId="1" AcceptedAnswerId="13739" CreationDate="2018-09-06T14:27:29.270" Score="2" ViewCount="230" Body="&lt;p&gt;I've setup a Sitecore 9.0.2 solution, and i'm testing out JSS. I'm using code-first, and I'm trying to get FullWipe to work on jss deploys.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According the documentation, i'm supposed to set SitecoreJss.WipeAllowed = true, and set wipeOnImport = true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These settings are from my showconfig.aspx:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;SitecoreJSS.WipeAllowed&quot; value=&quot;true&quot; patch:source=&quot;Sitecore.JavaScriptServices.Configuration.config&quot;/&amp;gt;&#xA;&#xA;&amp;lt;app name=&quot;customer&quot; sitecorePath=&quot;/sitecore/content/jss-home&quot; useLanguageSpecificLayout=&quot;true&quot; graphQLEndpoint=&quot;/api/customer&quot; inherits=&quot;defaults&quot; wipeOnImport=&quot;true&quot; patch:source=&quot;customer.deploysecret.config&quot; deploymentSecret=&quot;...&quot; debugSecurity=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was expecting it to delete the previously added app items in Sitecore (or put in recycle bin) on each deploy, but it is not doing so. It simply just appends templates and fields on templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Im doing: &lt;code&gt;jss deploy app -c -d&lt;/code&gt; to deploy my app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone tell me what I'm doing wrong here?&lt;/p&gt;&#xA;" OwnerUserId="4248" LastEditorUserId="1342" LastEditDate="2018-09-06T15:03:20.647" LastActivityDate="2018-09-06T16:39:34.800" Title="Cannot get FullWipe to work with Sitecore JSS Tech Preview 4" Tags="|jss|deployment|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13735" PostTypeId="2" ParentId="13705" CreationDate="2018-09-06T15:00:10.937" Score="1" Body="&lt;p&gt;We've seen this as well. IISRESET was tried as well with no luck. Checking Data\diagnostics\configuration_history\ we saw that files were being changed, and that McAfee on the client's server was reading core files, prompting a restart.&lt;/p&gt;&#xA;" OwnerUserId="4249" LastActivityDate="2018-09-06T15:00:10.937" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13736" PostTypeId="1" AcceptedAnswerId="13867" CreationDate="2018-09-06T15:21:31.973" Score="1" ViewCount="245" Body="&lt;p&gt;Getting occasional error on glass 4.5.0.4 on Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Page editing error. Could not find property **** &#xA;on type ****BaseItemModel at Glass.Mapper.Utilities.GetGlassProperty.... at &#xA;Glass.Mapper.Sc.GlassHtml.MakeEditable...&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Rebooting the server fixes the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most of the time appears to be working, but sometimes having deployed to an environment when loading experience editor get this issue, and require to reboot the server.&#xA;Could be a race condition on what glass template map gets loaded first, or a caching issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone seen this error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We weren't seeing this issue on the older version of Glass 4.3.4.197 on Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the base class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [SitecoreType(AutoMap = true)]&#xA;    public class BaseItemModel&#xA;    {&#xA;        [SitecoreId]&#xA;        public virtual Guid ItemId { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.TemplateId)]&#xA;        public virtual Guid TemplateId { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.TemplateName)]&#xA;        public virtual string TemplateName { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;View:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits GlassView&amp;lt;******.MyViewModel&amp;gt;&#xA;&#xA;@using (BeginEditFrame(&quot;*******EDITFRAMEPATH&quot;,  Html.Sitecore().CurrentRendering.DataSource, &quot;Title&quot;))&#xA;{&#xA;&amp;lt;div&amp;gt;&#xA;@Editable(x =&amp;gt; x.MyProperty***)&#xA;&amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="388" LastEditorUserId="388" LastEditDate="2018-09-07T07:57:09.407" LastActivityDate="2018-09-13T07:33:13.137" Title="Occasional error on glass 4.5.0.4 on sitecore 9 &quot;Page editing error. Could not find property&quot;" Tags="|experience-editor|glass-mapper|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13737" PostTypeId="1" CreationDate="2018-09-06T15:28:10.160" Score="4" ViewCount="839" Body="&lt;p&gt;I'm using the 301 Redirect Module in Sitecore 8.2. When a user creates a new item, it is automatically placed under the parent in alphabetical order, and then when they move it to the order it's actually supposed to be in (by dragging the item to the right place), a redirect is generated that redirects from the current path to the current path:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/28yBI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/28yBI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to prevent the redirect module from generating a redirect when the path has not changed?&lt;/p&gt;&#xA;" OwnerUserId="2609" LastActivityDate="2018-09-07T17:58:06.100" Title="Sitecore Redirect Module created redirects when an item has moved above/below a sibling but still has same path" Tags="|module|redirect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13738" PostTypeId="2" ParentId="13737" CreationDate="2018-09-06T16:01:38.600" Score="4" Body="&lt;p&gt;This appears to be an issue with the Redirect Module itself but I fixed it by cloning the module repo and modifying the OnItemMoved method in AutoCreateRedirectOnMove.cs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AutoCreateRedirectOnMove&#xA;{&#xA;    protected void OnItemMoved(object sender, EventArgs args)&#xA;    {&#xA;        //ensures arguments aren't null&#xA;        Assert.ArgumentNotNull(sender, &quot;sender&quot;);&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;        if (Sitecore.Configuration.Settings.GetBoolSetting(Constants.Settings.AutoGenerateRedirectsOnMove, true))&#xA;        {&#xA;            Item item = Event.ExtractParameter&amp;lt;Item&amp;gt;(args, 0);&#xA;            ID oldParentID = Event.ExtractParameter&amp;lt;ID&amp;gt;(args, 1);&#xA;&#xA;            // ADDED BY ME&#xA;            if (oldParentID == item.ParentID) return;&#xA;            //&#xA;&#xA;            using (new SecurityDisabler())&#xA;            {&#xA;                CreateRedirectItem(item, item.Database.GetItem(oldParentID));&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The line I added prevents a redirect from being generated if the parent of the item has not been changed. I compiled the solution, copied the resulting SharedSource.RedirectModule.dll from the bin and placed it in the bin of my project, overwriting the existing dll. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: The project owners have merged the fix into their repo so it should be resolved with the next release on the Sitecore Marketplace&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="2609" LastEditDate="2018-09-07T17:58:06.100" LastActivityDate="2018-09-07T17:58:06.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13739" PostTypeId="2" ParentId="13734" CreationDate="2018-09-06T16:15:10.637" Score="4" Body="&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The documentation for full wipe mode has been updated to reflect TP4 usage: &lt;a href=&quot;https://jss.sitecore.net/docs/fundamentals/dev-workflows/code-first#import-full-wipe-mode&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/docs/fundamentals/dev-workflows/code-first#import-full-wipe-mode&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;It looks like the documentation around wipe is out of date. With TP4, you need to set the &lt;code&gt;SitecoreJSS.WipeAllowed&lt;/code&gt; config setting to true (as you already have):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;SitecoreJSS.WipeAllowed&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But instead of adding the &lt;code&gt;wipeOnImport=&quot;true&quot;&lt;/code&gt; attribute to your app config, you pass the &lt;code&gt;--wipe&lt;/code&gt; parameter via JSS CLI deploy command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;jss deploy app -c -d --wipe&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or use the &lt;code&gt;-w&lt;/code&gt; alias for &lt;code&gt;--wipe&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;jss deploy app -c -d -w&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We'll get the documentation updated as soon as possible.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2018-09-06T16:39:34.800" LastActivityDate="2018-09-06T16:39:34.800" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13740" PostTypeId="1" AcceptedAnswerId="13750" CreationDate="2018-09-06T16:17:29.973" Score="1" ViewCount="259" Body="&lt;p&gt;I am trying to set up a campaign in EXM to send an email based on a Sitecore page. However, when I get to the message part I am unable to set the subject line. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NwXDB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NwXDB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added the &quot;Set Page Title&quot; rendering up on the presentation of the item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cwCE2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cwCE2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and I have this code in my view.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;head&amp;gt;&#xA; &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&amp;gt;&#xA; @Html.Sitecore().Placeholder(&quot;mn-title&quot;)&#xA;&amp;lt;/head&amp;gt;`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I am still unable to set the subject line. What am I missing? &lt;/p&gt;&#xA;" OwnerUserId="3681" LastActivityDate="2018-09-06T23:10:59.657" Title="Unable to set the Subject line even with 'Set Page Title' Rendering" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13741" PostTypeId="1" AcceptedAnswerId="13742" CreationDate="2018-09-06T16:17:38.377" Score="2" ViewCount="5999" Body="&lt;p&gt;I am working on a view rendering and trying to get a list of selected items from a multilist field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know if it matters, but the list field I am trying to get the selected items from is a child of the Model.Item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Children items have a field called &quot;Selected Items&quot; which is a MultiList field type. I can't figure out how to get anything out of the &quot;selectedItems&quot; object. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to get the value of a text field on each selected item?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    @foreach (Item item in Model.Item.Children)&#xA;    {&#xA;            MultilistField selectedItems = item.Fields[&quot;Selected Items&quot;];&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3761" LastEditorUserId="2153" LastEditDate="2018-09-07T09:51:56.690" LastActivityDate="2018-09-07T09:51:56.690" Title="Get MultilistField selected items" Tags="|mvc|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13742" PostTypeId="2" ParentId="13741" CreationDate="2018-09-06T16:26:18.337" Score="3" Body="&lt;p&gt;Your &lt;code&gt;selectedItems&lt;/code&gt; will have &lt;code&gt;GetItems()&lt;/code&gt;. That will give you a list of all referred items in the field. Just loop over them with another foreach and get the text field you need from each of those items.  That should do the trick.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (Item referred in selectedItems.GetItems())&#xA;{&#xA;    ... = referred.Fields[&quot;..&quot;]; &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-09-06T16:26:18.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13743" PostTypeId="1" AcceptedAnswerId="13744" CreationDate="2018-09-06T17:30:52.183" Score="6" ViewCount="372" Body="&lt;p&gt;Is there an option in Sitecore Rocks that makes Sitecore Explorer show the Display Name for an item instead of using the item name? I've looked through the options/right-click menu but I haven't seen anything. The closest thing I have found is &lt;code&gt;right click &amp;gt; Tasks &amp;gt; Set Display Names&lt;/code&gt; but that just sets the field and doesn't affect how Sitecore Explorer displays the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore Rocks version 2.1.86&lt;/p&gt;&#xA;" OwnerUserId="4096" LastActivityDate="2018-09-07T09:51:02.440" Title="How to get Sitecore Explorer to show the Display Name for an item" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13744" PostTypeId="2" ParentId="13743" CreationDate="2018-09-06T18:34:19.263" Score="7" Body="&lt;p&gt;Short answer is no.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you can update the code of &lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Rocks on GitHub&lt;/a&gt;. I have investigated a bit and saw that Sitecore Rocks only uses the item name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the namespace &lt;code&gt;Sitecore.Rocks.ContentTrees.Items.ItemTreeViewItem&lt;/code&gt;, you will see in the constructor that the Text property used to display on the Content Tree Pane is assigned the item name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see screenshot below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8h4rp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8h4rp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can change it here. Moreover, I haven't got into deep analysis of the code but from my point of view, this is the start point.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="2153" LastEditDate="2018-09-07T09:51:02.440" LastActivityDate="2018-09-07T09:51:02.440" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13745" PostTypeId="1" CreationDate="2018-09-06T20:13:28.143" Score="0" ViewCount="294" Body="&lt;p&gt;Sitecore 8.2 Update 5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kind of at a real loss here. Should be really simple code, just can't get the commands. In the code below workflow and workflow2 are not null and is the correct workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In command, I am getting the commands for the current item's FieldIDs.WorkflowState. No commands are returned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In command2, I am calling the state directly by ID. Still no commands are returned. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var database = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;&#xA;var workflow = database.WorkflowProvider.GetWorkflow(item);&#xA;var command = workflow.GetCommands(item[FieldIDs.WorkflowState]); &#xA;&#xA;var workflow2 = database.WorkflowProvider.GetWorkflow(&quot;{6AC12F8A-9374-41A3-B2D9-DBC7C9A0FB73}&quot;);  &#xA;var command2 = workflow2.GetCommands(&quot;{8B439291-76EE-46D2-ACEE-2BC67142D35F}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-09-06T21:07:19.417" LastActivityDate="2018-09-07T02:00:37.383" Title="Unable to get list of commands for a workflow state" Tags="|workflow|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="13746" PostTypeId="1" AcceptedAnswerId="13749" CreationDate="2018-09-06T22:01:13.830" Score="6" ViewCount="340" Body="&lt;p&gt;I am working on a feature that should behave differently based on whether or not Sitecore believes that the current Contact is legitimate or a malicious bot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using &lt;code&gt;ContactClassification.IsRobot(Tracker.Current.Contact.System.Classification)&lt;/code&gt; to determine whether the current contact has been flagged as a robot. It's been pretty easy for me to persist this Boolean value on a view model, surface it in my view, and change the behavior on the front end as a result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main issue I am facing is testing my feature. I would be easy for me to inject a superficial True/False value for testing purposes, however, I'm more interested in testing the feature as a true bot would see it. This begs the question: Is there a known way to have a visit flagged as a robot for testing purposes?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My goal is not to have to develop an actual malicious bot just to test my feature.&lt;/p&gt;&#xA;" OwnerUserId="100" LastEditorUserId="100" LastEditDate="2018-09-06T22:09:03.373" LastActivityDate="2018-09-08T16:54:17.207" Title="Is there a way to trigger Sitecore's bot detection on purpose?" Tags="|xdb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13747" PostTypeId="1" AcceptedAnswerId="13751" CreationDate="2018-09-06T22:10:11.133" Score="1" ViewCount="87" Body="&lt;p&gt;If we have different prices for products based upon member type. For example, a non-member pays X, a member pays Y, special member type pays Z. Would the best way to handle this be to create a product variant for the member type or would a pricing tier be preferred?&lt;/p&gt;&#xA;" OwnerUserId="2068" LastActivityDate="2018-09-07T01:13:50.730" Title="Sitecore Commerce Member Type Pricing" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13748" PostTypeId="2" ParentId="13745" CreationDate="2018-09-06T22:17:38.237" Score="2" Body="&lt;h3&gt;Your context site needs to have Workflow enabled&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;For any Workflow functionality to work, you must be in the context of a site that has it enabled. By default, this would only be the &lt;code&gt;&quot;shell&quot;&lt;/code&gt; site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your code and question does not mention what site context you are currently in, but I am assuming since you're requesting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var database = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;that you are in a Site Context other than &lt;code&gt;&quot;shell&quot;&lt;/code&gt; which would have this database by default. Asking for &lt;code&gt;&quot;master&quot;&lt;/code&gt; by magic string is a nasty habit by the way, but let's leave that for now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either force your Site Context to &lt;code&gt;&quot;shell&quot;&lt;/code&gt; using a &lt;code&gt;SiteContextSwitcher&lt;/code&gt; or enable workflows on the context site you are running. Add &lt;code&gt;enableWorkflows=&quot;true&quot;&lt;/code&gt; to the &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; element for the site.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-09-06T22:17:38.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13749" PostTypeId="2" ParentId="13746" CreationDate="2018-09-06T22:26:55.823" Score="2" Body="&lt;p&gt;Bots are not necessarily malicious. I believe every Sitecore site in the world welcomes GoogleBot when it swings by for a visit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For what you want to do, I suggest adding a new agent string to the &lt;code&gt;Sitecore.Analytics.ExcludeRobots.config&lt;/code&gt; file and call up your site using same agent string. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, in the same file, set &lt;code&gt;127.0.0.1&lt;/code&gt; under &lt;code&gt;&amp;lt;excludedIPAddresses&amp;gt;&lt;/code&gt; to mark local sessions as robot per default. This, you would need to switch on and off however.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The file, on Sitecore 9, is located in &lt;code&gt;\App_Config\Sitecore\Marketing.Tracking&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-09-06T22:26:55.823" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13750" PostTypeId="2" ParentId="13740" CreationDate="2018-09-06T23:00:28.143" Score="2" Body="&lt;p&gt;The &quot;Existing Page&quot; EXM template uses the target page's browser title (i.e.&lt;code&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;...&lt;/code&gt;) to determine the email's subject. Is it possible that you aren't outputting a title for this page? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In any case, I don't believe that the &lt;code&gt;Set Page Title&lt;/code&gt; rendering is intended to be placed on to items in your content tree. &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_messages/types_and_templates/walkthrough_building_a_custom_message_template&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt; has you place it on the message root's presentation details (ex: &lt;code&gt;/sitecore/templates/Branches/System/Email Campaign/Messages/Custom newsletter/Monthly newsletter/Name/Message root&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Set Page Title&lt;/code&gt; rendering is an Xsl Rendering that points to &lt;code&gt;/xsl/EmailCampaign/Set Page Title.xslt&lt;/code&gt; in your webroot. This file simply renders the &quot;Subject&quot; field off the email message item.&lt;/p&gt;&#xA;" OwnerUserId="100" LastEditorUserId="100" LastEditDate="2018-09-06T23:10:59.657" LastActivityDate="2018-09-06T23:10:59.657" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13751" PostTypeId="2" ParentId="13747" CreationDate="2018-09-07T01:13:50.730" Score="1" Body="&lt;p&gt;This scenario isn't supported out of the box and always there are a few different ways to achieve results like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One possible solution would be to use the Pricebook functionality. You could create a different Pricebook to contain the each of the tiers of pricing, then dynamically switch the pricebook that is used when the user logs in?&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-09-07T01:13:50.730" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13752" PostTypeId="2" ParentId="13668" CreationDate="2018-09-07T01:22:33.657" Score="1" Body="&lt;p&gt;As i'm using WebApi2 and not the one build into Sitecore, I had to modify Chris Auer's answer a bit to use the using System.Web.Http.Filters; instead of System.Web.Mvc. Here's the result. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics;&#xA;using System.Linq;&#xA;using System.Web.Http.Filters;&#xA;&#xA;public class SkipAnalyticsAjaxTrackingAttribute : ActionFilterAttribute&#xA;{&#xA;&#xA;    public override void OnActionExecuted(HttpActionExecutedContext actionExecutedContext)&#xA;    {&#xA;        var isAjax = false;&#xA;        if (actionExecutedContext.Request.Headers.Contains(&quot;X-Requested-With&quot;))&#xA;        {&#xA;            var requestedWith = actionExecutedContext.Request.Headers.GetValues(&quot;X-Requested-With&quot;).FirstOrDefault();&#xA;            if(!string.IsNullOrEmpty(requestedWith)){&#xA;&#xA;                isAjax = requestedWith.Equals(&quot;XMLHttpRequest&quot;);&#xA;&#xA;            }&#xA;        }               &#xA;        if (isAjax &amp;amp;&amp;amp; Tracker.IsActive)&#xA;        {&#xA;            Tracker.Current?.CurrentPage?.Cancel();&#xA;        }&#xA;        base.OnActionExecuted(actionExecutedContext);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3939" LastActivityDate="2018-09-07T01:22:33.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13753" PostTypeId="2" ParentId="13745" CreationDate="2018-09-07T02:00:37.383" Score="4" Body="&lt;p&gt;This one gets filed under the &quot;doh&quot; column. The user who is doing this action did not have access to the workflows. When I switched to &lt;code&gt;SecurityDisabler()&lt;/code&gt;. The commands show up. This is a self service app where a user logs in with a limited Sitecore user to edit some content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help Mark and Jon.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-09-07T02:00:37.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13754" PostTypeId="1" AcceptedAnswerId="13757" CreationDate="2018-09-07T04:09:22.707" Score="1" ViewCount="1323" Body="&lt;p&gt;I have attached a page design to a particular page which consists of Header and Footer as separate partial designs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After doing this, I am not able to add any components onto main placeholder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In fact, I am not getting &quot;Add here&quot; option in the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly let me know where I am doing wrong.&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="2056" LastEditDate="2018-09-07T05:56:10.980" LastActivityDate="2020-08-31T20:21:04.170" Title="Not able to get &quot;Add here&quot; option in main placeholder after assigning Page Design to a page" Tags="|sxa|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13755" PostTypeId="2" ParentId="13754" CreationDate="2018-09-07T05:08:49.537" Score="0" Body="&lt;p&gt;In the Content Editor, you can set placeholder restrictions for your layout placeholders. These restrictions are applied on all pages in the site. For example, if you add restrictions for a footer, these apply for all footers on every page of the site. In this way, you can control the content that content owners can place in layout placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add a placeholder setting for a site:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to the Presentation folder of your site, right-click Placeholder Settings, click Insert, and then click Placeholder.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/28AOZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/28AOZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Enter a name and click&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Data section, in the Allowed Controls field, click Edit.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5D1Js.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5D1Js.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;In the Select Items dialog box, navigate to Layout/Rendering/Feature/Experience Accelerator and select the renderings that you want to enable, and then click OK. For example, if you want a very simple footer, enable only the Rich Text (Reusable), Twitter, and Link renderings for the footer.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XAtn8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XAtn8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Save the placeholder setting.&#xA;Now in the Experience Editor, when you click Add here, for example, in the footer, you can only select the renderings that you just added. Other renderings can still appear in the Toolbox but the content owner is not able to drag them to the placeholder.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/70Yr0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/70Yr0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KTsWy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KTsWy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details can be found here: &#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/set_placeholder_restrictions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/set_placeholder_restrictions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-09-07T05:08:49.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13756" PostTypeId="2" ParentId="13732" CreationDate="2018-09-07T05:25:51.597" Score="3" Body="&lt;p&gt;Instead of adding class after exporting markup from Creative Exchange. You can utilize the advanced options for the grid. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1aNrP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1aNrP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also create you own CSS classes from here&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CKhde.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CKhde.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can learn more here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/structure/change_the_layout_of_a_rendering&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/structure/change_the_layout_of_a_rendering&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-09-07T05:56:21.650" LastActivityDate="2018-09-07T05:56:21.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13757" PostTypeId="2" ParentId="13754" CreationDate="2018-09-07T05:50:17.103" Score="2" Body="&lt;p&gt;I was struggling with the same issue the other day. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution is pretty simple.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume that you have assigned Header partial design to &lt;code&gt;header&lt;/code&gt; placeholder and Footer partial design to &lt;code&gt;footer&lt;/code&gt; placeholder in respective partial designs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Page design therefore &lt;code&gt;header&lt;/code&gt; and &lt;code&gt;footer&lt;/code&gt; placeholders are not available anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe that in Page design you have assigned Page Content component or something similar to &lt;code&gt;main&lt;/code&gt; placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When these three things are like this, when you are in Experience Editor you won't see &quot;Add here&quot; anymore as all placeholders are &quot;taken&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To enable something in &lt;code&gt;main&lt;/code&gt; placeholder, put there Row splitter component in Page design and move everything that you had in &lt;code&gt;main&lt;/code&gt; placeholder to first row.&#xA;Then you will be able to add new content in second row of that splitter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/structure/change_the_layout_of_a_page&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/structure/change_the_layout_of_a_page&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-07T05:50:17.103" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13758" PostTypeId="1" AcceptedAnswerId="13759" CreationDate="2018-09-07T06:48:12.093" Score="2" ViewCount="586" Body="&lt;p&gt;Is there any document for configuring Azure search for xConnect.&#xA;I could see a link here : &lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/search/configure-xconnect-search-providers/configure-azure-search-for-xconnect.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/search/configure-xconnect-search-providers/configure-azure-search-for-xconnect.html&lt;/a&gt;&#xA;But no steps to configure the same is provided&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also i need to know how the indexes will be built automatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have documentation for rebuilding the indexes manually but how the normal indexes will be built, whether it should be done manually or whether automatic index build is available &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-azure-index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-azure-index.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="950" LastActivityDate="2019-01-16T14:02:46.637" Title="Configure Azure search for Sitecore xConnect" Tags="|xconnect|azure-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13759" PostTypeId="2" ParentId="13758" CreationDate="2018-09-07T07:54:42.703" Score="8" Body="&lt;p&gt;&lt;strong&gt;Enabling Azure Search&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use xConnect and IndexWorker with Azure Search you need to do a couple of things:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Create &lt;a href=&quot;https://azure.microsoft.com/en-us/services/search/&quot; rel=&quot;noreferrer&quot;&gt;Azure Search service&lt;/a&gt; in your Azure subscription. Copy the service key which will be needed for connection strings.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Disable SOLR configuration files by renaming them, e.g. to &lt;code&gt;*.disabled&lt;/code&gt; and enable AzureSearch configuration files by removing &lt;code&gt;*.disabled&lt;/code&gt; in the following locations:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;xConnectRoot/App_Data/Config/Sitecore/CollectionSearch&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;xConnectRoot/App_Data/Config/Sitecore/SearchIndexer&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;xConnectRoot/App_Data/jobs/continuous/IndexWorker/App_Data/Config/Sitecore/CollectionSearch&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;xConnectRoot/App_Data/jobs/continuous/IndexWorker/App_Data/Config/Sitecore/SearchIndexer&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Update &lt;code&gt;collection.search&lt;/code&gt; value in &lt;code&gt;xConnectRoot/App_Config/ConnectionStrings.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&amp;lt; add name=&quot;collection.search&quot; connectionString=&quot;serviceUrl=&lt;a href=&quot;https://[service&quot; rel=&quot;noreferrer&quot;&gt;https://[service&lt;/a&gt; name].search.windows.net;indexName=xdb;apiKey=[key]&quot; /&gt;&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add &lt;code&gt;collection.search&lt;/code&gt; connection string to &lt;code&gt;xConnectRoot/App_Data/jobs/continuous/IndexWorker/App_Config/ConnectionStrings.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&amp;lt; add name=&quot;collection.search&quot; connectionString=&quot;serviceUrl=&lt;a href=&quot;https://[service&quot; rel=&quot;noreferrer&quot;&gt;https://[service&lt;/a&gt; name].search.windows.net;indexName=xdb;apiKey=[key]&quot; /&gt;&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Rebuild&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rebuild is not run automatically, but should be started manually by running console app: &lt;code&gt;\XConnectSearchIndexer.exe -rr&lt;/code&gt;. Please take a look at the &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-azure-index.html&quot; rel=&quot;noreferrer&quot;&gt;official documentation&lt;/a&gt; for more details.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2018-09-07T07:54:42.703" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13760" PostTypeId="2" ParentId="13701" CreationDate="2018-09-07T08:03:34.077" Score="6" Body="&lt;p&gt;&lt;strong&gt;TLDR&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have data source items that contain broken links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Long explanation:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This error message occurs in the experience editor under the following conditions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Your item is in the final workflow stage.&lt;/li&gt;&#xA;&lt;li&gt;You have renderings that are pointing to data source items that don't exist.&lt;/li&gt;&#xA;&lt;li&gt;You have the &quot;Associated Content&quot; checkbox checked in the &quot;View&quot; tab in the ribbon.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When these conditions are true, and XHR is sent to &lt;a href=&quot;http://host/-/speak/request/v1/expeditor/ExperienceEditor.Workflow.AreItemsInFinalWorkflowState&quot; rel=&quot;noreferrer&quot;&gt;http://host/-/speak/request/v1/expeditor/ExperienceEditor.Workflow.AreItemsInFinalWorkflowState&lt;/a&gt; where the payload contains the following (note the &lt;code&gt;undefined&lt;/code&gt;): &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&quot;value&quot;: &quot;{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},undefined&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This causes an exception in &lt;code&gt;Sitecore.ExperienceEditor.Speak.Ribbon.Requests.Workflow.AreItemsInFinalWorkflowState&lt;/code&gt; because it is trying to parse a version number from the &lt;code&gt;undefined&lt;/code&gt; string. This results in a null argument being passed to &lt;code&gt;Database.GetItem()&lt;/code&gt;. The error is returned to the front end and displayed on the page prevent the page from being published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you fix the links in the datasource items, the data than gets sent is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&quot;value&quot;: &quot;{4A5BB80B-BE5E-4C56-9442-FD3C3840E1FA},1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;...where &lt;code&gt;1&lt;/code&gt; is the version number.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although an error message is useful when there are broken links, I think this is probably a bug in Sitecore as the error message is unrelated and unhelpful. &lt;/p&gt;&#xA;" OwnerUserId="1125" LastEditorUserId="1125" LastEditDate="2018-09-07T08:46:52.680" LastActivityDate="2018-09-07T08:46:52.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13761" PostTypeId="2" ParentId="2690" CreationDate="2018-09-07T08:50:02.477" Score="4" Body="&lt;p&gt;Google is enforcing the use of API keys, effective June 11th 2018. Keyless usage will result in a degraded experience, or an error. &lt;a href=&quot;https://developers.google.com/maps/billing/important-updates&quot; rel=&quot;nofollow noreferrer&quot;&gt;See more details here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that you not only have to specify Authorization Key for Maps Provider as Keith correctly mentioned in his Answer but you also need to enable Google Maps APIs for your account and that Authorization Key. Without this SXA Map Component won't work at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the APIs that you need to enable for your account / Authorization Key:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/11Q8F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/11Q8F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should have same list of APIs as are in picture under &quot;In use APIs&quot;. Obviously you can have more if you are using more services from Google but for Map component to work this is minimum.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details in this blog post:&#xA;&lt;a href=&quot;https://tothecore.sk/2018/09/07/sitecore-sxa-set-google-maps-for-map-component-with-latest-pricing-changes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/09/07/sitecore-sxa-set-google-maps-for-map-component-with-latest-pricing-changes/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-07T08:50:02.477" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13763" PostTypeId="1" AcceptedAnswerId="13764" CreationDate="2018-09-07T08:56:25.727" Score="1" ViewCount="116" Body="&lt;p&gt;I am trying to create new POI from Map properties dialog with SXA but getting this exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Method &quot;CreateDataSource&quot; not found in&#xA;  Sitecore.Shell.Applications.ContentManager.FieldEditorForm. (method:&#xA;  Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command)).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Steps to reproduce:&#xA;I clicked on &quot;Edit component map item&quot; (1) and then in POI field, I clicked on &quot;Create&quot; (2). Exception raised (3).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nJUon.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nJUon.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone encountered the same? Is this a bug or something that I need to configure?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am on Sitecore 9 Update 2 and SXA 1.7.1 with Habitat Home instance.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-07T09:03:47.347" Title="Create new POI in SXA Map component gives &quot;CreateDataSource not found exception&quot;" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13764" PostTypeId="2" ParentId="13763" CreationDate="2018-09-07T09:03:47.347" Score="1" Body="&lt;p&gt;That is actually an issue in the 1.7.1 release. Those buttons - &lt;code&gt;Create&lt;/code&gt;, &lt;code&gt;Copy to&lt;/code&gt; - are already removed in 1.8. They should be only available in data source selection dialogue and because of the fact that it's the same tree control by mistake they have been automatically added also to this POI selection field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please use a context menu to add new POI items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wkEbh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wkEbh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-09-07T09:03:47.347" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13765" PostTypeId="2" ParentId="13731" CreationDate="2018-09-07T09:50:54.970" Score="3" Body="&lt;p&gt;With the new dynamic placeholders of Sitecore 9, you can add a seed.&#xA;In this way you can reuse the name of your placeholder and reuse the placeholder settings. However, the placeholders have another key due to their seeds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dynamic_placeholders&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dynamic_placeholders&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&#xA;@Html.Sitecore().DynamicPlaceholder(&quot;column&quot;, seed: 10)&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-09-07T09:50:54.970" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13766" PostTypeId="1" CreationDate="2018-09-07T10:06:00.583" Score="1" ViewCount="145" Body="&lt;p&gt;I'm trying this really easy Receive-File but I'm getting a blanc popup.&lt;br&gt;&#xA;I've tried different paths but always get the same result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another popup Read-Host is no problem. That one shows correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm testing this out on a fresh 9.0.2 Azure web app with the PowerShell Module installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bvdUC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bvdUC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone has a clue what I'm overlooking?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't have any JS errors. When looking and comparing the network calls, the PowerShellUploadFile2.aspx is returning a lot less than expected. 3 links instead of the full html document for the popup.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link href=&quot;https://fonts.googleapis.com/css?family=Open+Sans:400,300italic,400italic,600italic,700italic,300,600,700,800&quot; rel=&quot;stylesheet&quot; /&amp;gt;&#xA;&amp;lt;link href=&quot;/sitecore/shell/themes/standard/default/Default.css&quot; rel=&quot;stylesheet&quot; /&amp;gt;&#xA;&amp;lt;link href=&quot;/sitecore/shell/controls/Lib/Flexie/flex.css&quot; rel=&quot;stylesheet&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="483" LastEditorUserId="483" LastEditDate="2018-09-07T12:39:21.300" LastActivityDate="2018-09-07T12:39:21.300" Title="PowerShell Receive-File dialog is empty" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13768" PostTypeId="1" CreationDate="2018-09-07T11:12:59.807" Score="2" ViewCount="1218" Body="&lt;p&gt;I'm working with Sitecore 9.0.2 and Solr 6.6.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i tried to rebuild xDB search index, i saw some error in log of SOLR as below :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;9/7/2018, 4:47:39 PM&#xA;ERROR false&#xA;RequestHandlerBase&#xA;org.apache.solr.common.SolrException: Exception writing document id 873f5ab98eae06000000055b8a091a00 to the index; possible analysis error: Document contains at least one immense term in field=&quot;text_s&quot; &#xA;(whose UTF8 encoding is longer than the max length 32766),&amp;amp;#8203; all of which were skipped. Please correct the analyzer to not produce such terms.&#xA;&#xA;The prefix of the first immense term is: '[40,&amp;amp;#8203; 115,&amp;amp;#8203; 117,&amp;amp;#8203; 98,&amp;amp;#8203; 109,&amp;amp;#8203; 105,&amp;amp;#8203; 116,&amp;amp;#8203; 32,&amp;amp;#8203; 101,&amp;amp;#8203; 110,&amp;amp;#8203; 113,&amp;amp;#8203; 117,&amp;amp;#8203; 105,&amp;amp;#8203; 114,&amp;amp;#8203; 121,&amp;amp;#8203; 41,&amp;amp;#8203; 32,&amp;amp;#8203; 109,&amp;amp;#8203; 101,&amp;amp;#8203; 115,&amp;amp;#8203; 115,&amp;amp;#8203; 97,&amp;amp;#8203; 103,&amp;amp;#8203; 101,&amp;amp;#8203; 58,&amp;amp;#8203; 32,&amp;amp;#8203; 100,&amp;amp;#8203; 105,&amp;amp;#8203; 114,&amp;amp;#8203; 101]...',&amp;amp;#8203; &#xA;original message: bytes can be at most 32766 in length; got 92665.&#xA;&#xA;Perhaps the document has an indexed string field (solr.StrField) which is too large&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone to know how to fix it ?&lt;/p&gt;&#xA;" OwnerUserId="3701" LastEditorUserId="3701" LastEditDate="2018-09-07T11:16:34.073" LastActivityDate="2018-09-07T14:46:36.393" Title="Solr Error When Rebuild xDB Search Index" Tags="|xdb|solr|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13769" PostTypeId="1" CreationDate="2018-09-07T12:03:29.777" Score="0" ViewCount="860" Body="&lt;p&gt;Is there a way to determine when the Sitecore cache Clean Up Agent runs?  Also, can somoene provide instructions on how to enable the Sitecore Clean Up Agent.  Sitecore does not provide instructions.&#xA;Thanks in advance,&lt;/p&gt;&#xA;" OwnerUserId="4253" LastActivityDate="2018-09-07T13:38:17.773" Title="Sitecore Clean Up Agent not running" Tags="|caching|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13771" PostTypeId="2" ParentId="13769" CreationDate="2018-09-07T13:10:19.007" Score="2" Body="&lt;p&gt;You may wish to look for errors in the logs to see if there are any issues when the agent is running. The most typical issue would be permissions to remove the file on the system. Default should be 6 hours interval, if you have not disabled the agent. This KB article has details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/113648&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/113648&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2018-09-07T13:38:17.773" LastActivityDate="2018-09-07T13:38:17.773" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13772" PostTypeId="2" ParentId="13769" CreationDate="2018-09-07T13:31:52.167" Score="3" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Is there a way to determine when the Sitecore cache Clean Up Agent runs?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can know if the batch has ran by checking if the entries &lt;code&gt;Scheduling.CleanupAgent started. FileCleaner count:&lt;/code&gt; and &lt;code&gt;Scheduling.CleanupAgent done&lt;/code&gt; are in the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you need to make sure that you have the logging level as INFO&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also have the entry &lt;code&gt;Exception in Scheduling.CleanupAgent. Folder:&lt;/code&gt; if there are any errors.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Also, can somoene provide instructions on how to enable the Sitecore Clean Up&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;First, check the showconfig.aspx page (&lt;a href=&quot;http://[domain]/sitecore/admin/showconfig.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://[domain]/sitecore/admin/showconfig.aspx&lt;/a&gt;) and search for &lt;code&gt;agent type=&quot;Sitecore.Tasks.CleanupAgent&quot;&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check the interval if it is not set to 00:00:00. 00:00:00 means the agent is disabled.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;To configure it, change the interval. Default is every 6 hours.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As @Jay S mentioned in his answer, you can have more information about different errors at &lt;a href=&quot;https://kb.sitecore.net/articles/113648&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Knowlegde Base&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-09-07T13:31:52.167" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13773" PostTypeId="1" CreationDate="2018-09-07T13:32:37.707" Score="0" ViewCount="653" Body="&lt;p&gt;I have problem accessing admin UI on Processing and Reporting role on Sitecore 9. We use XP fully scaled environment deployed on Azure via 'Sitecore® Experience Cloud' from Azure Market place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After loging via admin login screen I get following error on /sitecore/shell/&#xA;(note: /sitecore/admin/ works):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;Postcondition 'value should not be null' failed.&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: Sitecore.Framework.Conditions.PostconditionException: Postcondition 'value should not be null' failed.&#xA;&#xA;Source Error:&#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[PostconditionException: Postcondition 'value should not be null' failed.]&#xA;   Sitecore.Framework.Conditions.EnsuresValidator`1.ThrowExceptionCore(String condition, String additionalMessage, ConstraintViolationType type) +156&#xA;   Sitecore.Framework.Conditions.Throw.ValueShouldNotBeNull(ConditionValidator`1 validator, String conditionDescription) +144&#xA;   Sitecore.Framework.Conditions.ValidatorExtensions.IsNotNull(ConditionValidator`1 validator) +62&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +295&#xA;   Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters) +119&#xA;   Sitecore.Shell.Framework.Commands.CommandManager.ReadCommands() +664&#xA;   Sitecore.Shell.Framework.Commands.CommandManager..cctor() +68&#xA;&#xA;[TypeInitializationException: The type initializer for 'Sitecore.Shell.Framework.Commands.CommandManager' threw an exception.]&#xA;   Sitecore.Shell.Framework.Commands.CommandManager.GetCommand(String name) +0&#xA;   Sitecore.Web.UI.HtmlControls.Menu.AddMenuItem(Control parent, Item child, String target, CommandContext context) +618&#xA;   Sitecore.Web.UI.HtmlControls.Menu.AddFromDataSource(Item item, Control parent, String target, CommandContext context) +379&#xA;   Sitecore.Web.UI.HtmlControls.Menu.AddFromDataSource(Item item, String target) +82&#xA;   Sitecore.Web.UI.HtmlControls.DataContextMenu.OnLoad(EventArgs e) +67&#xA;   System.Web.UI.Control.LoadRecursive() +68&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Control.LoadRecursive() +162&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1381&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any Ideas?&lt;/p&gt;&#xA;" OwnerUserId="4189" LastActivityDate="2018-12-13T16:04:31.033" Title="Admin UI for PRC and REP roles not working on Azure PaaS on vanilla Sitecore 9" Tags="|admin-pages|processing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13774" PostTypeId="2" ParentId="13768" CreationDate="2018-09-07T14:20:02.980" Score="2" Body="&lt;p&gt;You will need to go custom on that one. Check this &lt;a href=&quot;https://stackoverflow.com/a/29466115/66372&quot;&gt;answer&lt;/a&gt; on some of your options to avoid Solr rejecting to index the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also want to check the indexer logs to make sure you are trying to solve the right issue. I say this because that field doesn’t look like a XConnect field.&lt;/p&gt;&#xA;" OwnerUserId="76" LastEditorUserId="76" LastEditDate="2018-09-07T14:46:36.393" LastActivityDate="2018-09-07T14:46:36.393" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13775" PostTypeId="1" AcceptedAnswerId="14803" CreationDate="2018-09-07T14:48:43.913" Score="5" ViewCount="610" Body="&lt;p&gt;I need to delete the catalogs from Sitecore Commerce by using code. Is there any pipeline or command?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="312" LastEditDate="2018-11-06T19:53:00.313" LastActivityDate="2018-11-07T23:49:21.327" Title="How to delete Catalog, Category and SellableItems in Sitecore Commerce programatically?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13776" PostTypeId="1" CreationDate="2018-09-07T18:39:21.213" Score="2" ViewCount="145" Body="&lt;p&gt;I am using sitecore 9 federated authentication feature to authenticate user through third party, i need to implement single logout from sitecore CMS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;what is the configuration needs to be done to allow single logout from CMS?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="2576" LastEditDate="2018-09-07T19:13:12.037" LastActivityDate="2018-09-07T19:13:12.037" Title="Sitecore 9 Federated Authentication on CM server - Single Logout" Tags="|federated-authentication|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13778" PostTypeId="2" ParentId="13746" CreationDate="2018-09-08T16:54:17.207" Score="0" Body="&lt;p&gt;I found another approach whereby I forego adding the &lt;code&gt;VisitorIdentification()&lt;/code&gt; method call in my main layout when I want to pretend I am a robot. Sitecore automatically flags all traffic with a visitor identification level of 925 (IsAutoDetectedRobot) until they can prove they are human. By excluding this method call, that never happens:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (string.IsNullOrEmpty(Request.QueryString[&quot;sc_robot&quot;]))&#xA;{&#xA;    @Html.Sitecore().VisitorIdentification()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="100" LastActivityDate="2018-09-08T16:54:17.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13779" PostTypeId="1" CreationDate="2018-09-09T07:12:55.290" Score="3" ViewCount="448" Body="&lt;p&gt;When we install Sitecore Commerce 9.0.2, by default we got Habitat catalog. We have created a new catalog as per my project requirement. Now I want to deploy the same catalog to the other/higher environment, so we have exported our newly created catalog and imported the same package to the higher environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here the problem is when I imported the newly created catalog, it removed the default catalog (Habitat catalog). I need the existing/default catalog as well. Please, can somebody help me here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="73" LastEditDate="2018-09-09T08:52:11.850" LastActivityDate="2018-09-10T22:38:12.260" Title="Commerce Catalog Export &amp; Import" Tags="|sitecore-commerce|commerce-catalog|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13780" PostTypeId="2" ParentId="13779" CreationDate="2018-09-09T10:23:09.460" Score="0" Body="&lt;p&gt;The current implementation of import catalog is to remove all the catalogs and then import the new one. &#xA;To import your new catalog as well as the Habitat catalog, make sure both are in the import folder. That should probably do the trick.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards,&#xA;Erwin&lt;/p&gt;&#xA;" OwnerUserId="1749" LastActivityDate="2018-09-09T10:23:09.460" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13781" PostTypeId="1" CreationDate="2018-09-09T10:47:22.057" Score="0" ViewCount="639" Body="&lt;p&gt;I created template inherited from redirect, when i create item from this template i found that item name in item path have white space not &quot;-&quot; as items created from template inherited from page.&#xA;any idea how to make item path correct and have no spaces between word without inherited from page?? &lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="73" LastEditDate="2018-09-09T14:46:37.403" LastActivityDate="2018-10-11T22:00:12.590" Title="How to make item path have no spaces between words?" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13782" PostTypeId="1" AcceptedAnswerId="13834" CreationDate="2018-09-09T15:57:45.217" Score="3" ViewCount="238" Body="&lt;p&gt;When I try to initialize my XConnectClientConfiguration when running on an Azure App Service, the call to &lt;code&gt;cfg.InitializeAsync()&lt;/code&gt; simply hangs. The controller trying to connect to XConnect eventually throws a 500-Timeout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This same code runs fine when used in a console app.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static async Task&amp;lt;XConnectClient&amp;gt; CreateXConnectClient(string connectionString, Uri serviceUri)&#xA;{&#xA;  var options = CertificateWebRequestHandlerModifierOptions.Parse(connectionString);&#xA;  options.AllowInvalidClientCertificates = &quot;true&quot;;&#xA;&#xA;  var certificateModifiers = new[] { new CertificateWebRequestHandlerModifier(options) };&#xA;&#xA;  var clientModifiers = new[] { new TimeoutHttpClientModifier(new TimeSpan(0, 0, 30)) };&#xA;&#xA;  var collectionClient = new CollectionWebApiClient(&#xA;    new Uri(serviceUri, &quot;odata/&quot;),&#xA;    clientModifiers, certificateModifiers);&#xA;  var searchClient = new SearchWebApiClient(&#xA;    new Uri(serviceUri, &quot;odata/&quot;),&#xA;    clientModifiers, certificateModifiers);&#xA;  var configurationClient = new ConfigurationWebApiClient(&#xA;    new Uri(serviceUri, &quot;configuration/&quot;),&#xA;    clientModifiers, certificateModifiers);&#xA;&#xA;  var cfg = new XConnectClientConfiguration(new XdbRuntimeModel(Model.Instance), collectionClient, searchClient, configurationClient, true);&#xA;&#xA;  await cfg.InitializeAsync();&#xA;  var client = new XConnectClient(cfg);&#xA;&#xA;  return client;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've validated that I can connect to the XConnect instance from the App Service using the same certificate:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var handler = new HttpClientHandler())&#xA;{&#xA;  var certificate = GetCert();&#xA;  handler.ClientCertificates.Add(certificate);&#xA;  using (var client = new HttpClient(handler))&#xA;  {&#xA;    client.BaseAddress = Settings.XConnectServiceUri;&#xA;    var response = client.GetAsync(&quot;odata&quot;).Result;&#xA;    Show(response.IsSuccessStatusCode&#xA;      ? response.Content.ReadAsStringAsync().Result&#xA;      : $&quot;Error, received status code {response.StatusCode}: {response.ReasonPhrase}&quot;);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="651" LastActivityDate="2018-09-11T20:51:15.913" Title="XConnectClientConfiguration.InitializeAsync() hangs on Azure Web App" Tags="|xdb|azure|xconnect|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13783" PostTypeId="2" ParentId="13124" CreationDate="2018-09-09T21:30:26.333" Score="3" Body="&lt;p&gt;On my machine, i have some problem with xConnect client certificates and i got the same error.Even after making sure xConnect site works, i got the same error.&#xA;The root cause of error is saving &quot;/sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions/Connect/By campaigns for orders placed/All campaigns for orders placed&quot; item.I was able to solve this error by commenting out the following configuration in &quot;\App_Config\Sitecore\ExperienceAnalytics\Sitecore.ExperienceAnalytics.Client.config&quot; file.Hope this will help installing the commerce modules bypassing the xCOnnect certificate issues.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;item:saved&quot;&amp;gt;&#xA;            &amp;lt;handler type=&quot;Sitecore.ExperienceAnalytics.Client.Deployment.Events.SegmentDeployedEventHandler, Sitecore.ExperienceAnalytics.Client&quot; method=&quot;OnItemSaved&quot;&amp;gt;&#xA;                &amp;lt;param&#xA;                    type=&quot;Sitecore.ExperienceAnalytics.Client.Deployment.DeploySegmentDefinitionProcessor, Sitecore.ExperienceAnalytics.Client&quot;&amp;gt;&#xA;                    &amp;lt;param ref=&quot;experienceAnalytics/client/logger&quot; /&amp;gt;&#xA;                    &amp;lt;param type=&quot;Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentStore, Sitecore.ExperienceAnalytics.Core&quot;&amp;gt;&#xA;                    &amp;lt;/param&amp;gt;&#xA;                &amp;lt;/param&amp;gt;&#xA;            &amp;lt;/handler&amp;gt;&#xA;        &amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="2466" LastEditDate="2018-09-10T01:08:55.320" LastActivityDate="2018-09-10T01:08:55.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13784" PostTypeId="1" AcceptedAnswerId="13786" CreationDate="2018-09-09T21:52:14.060" Score="2" ViewCount="962" Body="&lt;p&gt;I am installing Sitecore Commerce 9 on site with Sitecore 9.0 Update 2. I am using SIF to install Sitecore Commerce. I get the following error and it interrupts the commerce installation.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-SitecoreConfiguration : Could not load file or assembly&#xA;  'file:///C:\sc902commercedeploy\assets\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\tools\VSToolsPath\Web\Microsoft.Web.XmlTransform.dll'&#xA;  or one of its dependencies. Operation is not supported. (Exception&#xA;  from HRESULT: 0x80131515)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; - I have the file in the correct place under MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3 folder.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="2056" LastEditDate="2018-09-10T05:55:18.860" LastActivityDate="2019-05-17T10:09:12.637" Title="Sitecore Commerce installation error in opening Microsoft.Web.XmlTransform.dll" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13785" PostTypeId="2" ParentId="13784" CreationDate="2018-09-09T23:00:14.500" Score="1" Body="&lt;p&gt;You need to ensure that you have extracted the dll out of the nuget package, your SIF script can't link through to the nuget package itself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you open up the Nuget packages, you will find the dll at: &lt;strong&gt;\tools\VSToolsPath\Web\Microsoft.Web.Publishing.Tasks.dll&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can drop this dll on to disk and then point your SIF script directly to it, e.g. the line in my SIF install script that points to it, looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MergeToolFullPath = Resolve-Path -Path &quot;C:\Sitecore Repo\Modules\Sitecore.Commerce.2018.07-2.2.126\Microsoft.Web.XmlTransform.dll&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-09-09T23:00:14.500" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13786" PostTypeId="2" ParentId="13784" CreationDate="2018-09-10T05:53:20.187" Score="7" Body="&lt;p&gt;You need to unblock that file as Windows thinks it is suspicious (as you have downloaded it from internet in &quot;zip&quot; file).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right click on the file and on General tab check &quot;Unblock&quot; on the bottom of the screen. Click on &quot;OK&quot; or &quot;Apply&quot; afterwards:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/03xtZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/03xtZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More useful tips can be found in my article dedicated to installation of Sitecore Commerce 9 -&gt; &lt;a href=&quot;https://tothecore.sk/2018/07/16/installing-sitecore-experience-commerce-sxc-9-0-update-2-9-0-2/&quot; rel=&quot;noreferrer&quot;&gt;https://tothecore.sk/2018/07/16/installing-sitecore-experience-commerce-sxc-9-0-update-2-9-0-2/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-10T05:53:20.187" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13787" PostTypeId="1" AcceptedAnswerId="13795" CreationDate="2018-09-10T06:55:03.863" Score="5" ViewCount="1943" Body="&lt;p&gt;We are currently using Sitecore for one project but did not use JSS anywhere. Other project team plans to use headless CMS and considering &quot;Contentful&quot; CMS for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone please explain the major differences between Sitecore and Contentful in terms of headless features? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards,&#xA;Venkat&lt;/p&gt;&#xA;" OwnerUserId="3450" LastEditorUserId="3133" LastEditDate="2019-08-12T08:25:10.127" LastActivityDate="2019-08-12T08:25:10.127" Title="Headless CMS : Sitecore vs Contentful" Tags="|sitecore-api|jss|" AnswerCount="2" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13788" PostTypeId="1" CreationDate="2018-09-10T12:24:08.577" Score="6" ViewCount="386" Body="&lt;p&gt;I'm using Solr auto-suggest with the SXA search box, it's working perfect but with two issues, first it brings suggestion for all data in the site without any limitation, I want to limit to a search scope or a specific template type, second I want it to bring specific version(language), in English website it brings all data with all languages which is wrong.&lt;/p&gt;&#xA;" OwnerUserId="4229" LastActivityDate="2019-10-11T07:03:28.657" Title="Solr auto-suggest brings all data in the website" Tags="|sxa|content-search|solr|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13789" PostTypeId="2" ParentId="13773" CreationDate="2018-09-10T13:36:55.893" Score="1" Body="&lt;p&gt;By some experiments (comparing assemblies on PRC and CM roles, disabling different commands, ...) I have realized that the issue is caused by &lt;strong&gt;marketingtaxonomy:deploy&lt;/strong&gt; command from the &lt;em&gt;Sitecore.Marketing.Client.config&lt;/em&gt; file. Simply, if I disable it, the UI is working properly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, the root cause is not understandable still. Hopefully, I'll have some more time to resolve that and come back here with the happy-end... &lt;/p&gt;&#xA;" OwnerUserId="730" LastActivityDate="2018-09-10T13:36:55.893" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13791" PostTypeId="1" CreationDate="2018-09-10T14:22:37.483" Score="2" ViewCount="592" Body="&lt;p&gt;I'm wondering if there is a way to retrieve the item children in batches, I saw this ability other REST APIs where we can set pagination parameters like startIndex and itemPerPage.&lt;/p&gt;&#xA;" OwnerUserId="4266" LastEditorUserId="73" LastEditDate="2018-09-10T14:30:10.463" LastActivityDate="2018-09-10T14:33:47.010" Title="ItemService REST API - retrieve children of an item in batches" Tags="|item-web-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13792" PostTypeId="2" ParentId="13791" CreationDate="2018-09-10T14:33:47.010" Score="2" Body="&lt;p&gt;You can do this in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;Item Web API&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically you have 2 parameters&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;page&lt;/em&gt;: Specify the page number in the result set of pages that the service shows.&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;pageSize&lt;/em&gt;: Specify the number of results the service returns in the HTTP response.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Which will control how many items you get, and which virtual &quot;page&quot; to start from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: &lt;code&gt;/item/{id}/query?pageSize&amp;amp;page&amp;amp;database&amp;amp;includeStandardTemplateFields&amp;amp;fields&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;If you want to do it in native c# code&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There is no such option. Basically when you hit &lt;code&gt;GetChildren()&lt;/code&gt; or the &lt;code&gt;.Children&lt;/code&gt; property of an &lt;code&gt;item&lt;/code&gt; - all children will be resolved. This is also true for Item Web API querying, but you save a bit of bandwidth by only returning a subset.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-09-10T14:33:47.010" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13794" PostTypeId="2" ParentId="13788" CreationDate="2018-09-10T15:14:43.333" Score="4" Body="&lt;p&gt;There are a few ways you can limit the scope for the Search components. First have a look &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/sxa_search&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; at the SXA documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Start under Settings &gt; Scopes. Here you can define the search query and rules for boosting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/z8CRJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/z8CRJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the page you can specify the scope:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c3Vxz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c3Vxz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Search Results component you can also configure the scope:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0zJA1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0zJA1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-09-10T15:14:43.333" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13795" PostTypeId="2" ParentId="13787" CreationDate="2018-09-10T15:41:01.273" Score="13" Body="&lt;p&gt;Full disclosure: I'm on the JSS team, so naturally I'm biased.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contentful is fairly similar to using Sitecore's SSC REST APIs. You have a large bucket of content, and you have an API to retrieve chunks or lists of it. It's relatively standard headless SaaS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;JSS delivers the full power of Sitecore by delivering headless layout capabilities. Instead of delivering content chunks only, like regular headless vendors are doing, JSS gives authors the flexibility to syndicate a whole content layout to the headless site. This lets authors run personalization, multivariate testing, previewing, and other standard features that make traditional CMS more friendly to authors, while maintaining the flexibility that headless gives. JSS also ships with a variety of content APIs, including GraphQL, for access to non-layout-based content giving the best of both worlds. &lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-09-10T15:41:01.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13798" PostTypeId="1" CreationDate="2018-09-10T20:27:46.290" Score="1" ViewCount="1293" Body="&lt;p&gt;In our application we have an excel (xlsx/xls) file in medial library. We are trying to create a functionality to be able to download this excel using an html anchor or button. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when we click on the achor/button, we get erro &quot;The requested document was not found&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently I have following changes done but it’s not working. Please suggest right approach to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Config Setting&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting patch:instead=&quot;setting[@name='Media.RequestExtension']&quot; name=&quot;Media.RequestExtension&quot; value=&quot;&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA; &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2. View(cshtml) code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt; a href=&quot;http://xyx.com/-/media/TCW/Dotcom/TestFactSheet.xlsx&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3. Controller code to get the media Url&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var  factSheetItem = SitecoreContext.GetItem&amp;lt;Item&amp;gt;(usPage.MorningStarFactSheetLink.Id);&#xA;MediaUrlOptions mediaOptions= new MediaUrlOptions();&#xA;mediaOptions.AlwaysIncludeServerUrl = true;&#xA;mediaOptions.AbsolutePath =true;&#xA;var mediaItemUrl =  MediaManager.GetMediaUrl(factSheetItem, mediaOptions);&#xA;vm.Fields.MorningStarFactSheetLink = mediaItemUrl;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;We have tried file/General Link Field Types for Template field&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Note: we are facing this issue for all types of files pdf/excel not just excel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get below error screen. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/GH7eZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GH7eZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please do suggest correct approach to implement it.&lt;/p&gt;&#xA;" OwnerUserId="4150" LastEditorUserId="4150" LastEditDate="2018-09-11T15:43:46.220" LastActivityDate="2018-09-11T15:43:46.220" Title="Download Sitecore Media file from UI" Tags="|media-library|links|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13799" PostTypeId="2" ParentId="13779" CreationDate="2018-09-10T22:38:12.260" Score="3" Body="&lt;p&gt;Using the Postman scripts in XC9.0.2, you have a &lt;em&gt;mode&lt;/em&gt; parameter that is used to control how the import is processed. The two modes you can use are &lt;em&gt;Replace&lt;/em&gt; and &lt;em&gt;Add&lt;/em&gt;. This parameter is used in the &lt;em&gt;ImportCatalogsPrepareBlock&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Replace&lt;/strong&gt;: Causes the block to first execute the &lt;em&gt;IRemoveAllCatalogItemsPipeline&lt;/em&gt;, before importing your catalog data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Add&lt;/strong&gt;: Imports your catalog data directly, without calling the &lt;em&gt;IRemoveAllCatalogItemsPipeline&lt;/em&gt; first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you call the controller and set the &lt;em&gt;mode&lt;/em&gt; parameter to &lt;em&gt;add&lt;/em&gt;, then your data will be appended to the data that already exists in the system. Note that if your import data contains Id's that already exist in the system then errors will be logged, there is also an error count threshold that is set and when that is met the import will stop and be marked as a failure.&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-09-10T22:38:12.260" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13800" PostTypeId="1" AcceptedAnswerId="13802" CreationDate="2018-09-11T00:03:08.750" Score="1" ViewCount="255" Body="&lt;p&gt;I'm trying to index the Sitecore item fields. Each field has a type and I saw that some field types contain an item ID(or Media item) and other the display name. For example(data from the REST API)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Grouped droplink&quot;: &quot;{66BDC8CD-5311-4CBD-BCAE-76BDAFASD42C}&quot;&#xA;&#xA;&quot;Grouped droplist&quot;: &quot;Test Item&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The values for a &lt;code&gt;Grouped droplink&lt;/code&gt; field are IDs, and the values for &lt;code&gt;Grouped droplist&lt;/code&gt; field are display names. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt; Is there a way to received the values from those fields in the same way, all items or all display names?&lt;/p&gt;&#xA;" OwnerUserId="4266" LastEditorUserId="605" LastEditDate="2018-09-11T13:24:24.860" LastActivityDate="2018-09-11T13:24:24.860" Title="Translate ID into a displayname" Tags="|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13801" PostTypeId="1" AcceptedAnswerId="13813" CreationDate="2018-09-11T01:26:56.613" Score="2" ViewCount="533" Body="&lt;p&gt;In the home page of our site we have the login component developed by WFFM. We have a Custom Save action that will call a web api for fetching the result and login into the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if we open the site and wait for 10 min in the home page without doing any action and try to login, we are getting an error as &quot;&lt;strong&gt;&lt;em&gt;We experienced a technical difficulty while processing your request&lt;/em&gt;&lt;/strong&gt;.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we try to login immediately(with in 2 min), we are not getting this error. the user is getting logged-in sucessfully. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While looking at the log we could see the following line&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WARN&lt;/strong&gt;  Web Forms for Marketers: an exception 'The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the  configuration specifies explicit encryption and validation keys. AutoGenerate cannot be used in a cluster.' has occured while trying to execute an action ''.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Note&lt;/em&gt;&lt;/strong&gt;: We had hosted the site in two server with LB enabled. &lt;strong&gt;&lt;em&gt;One of the two server is used as CM&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have anyone faced this problem. &lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2018-09-11T12:02:48.683" Title="Error While calling WFFM Custom Saveaction" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13802" PostTypeId="2" ParentId="13800" CreationDate="2018-09-11T05:52:31.620" Score="1" Body="&lt;p&gt;The index always stores the raw values of a field. In your case Grouped droplink raw value will be ID of the referred item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to have the Display name or any other value referred item, you will have to use the computed index fields. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can refer the below link for computed index fields &#xA;&lt;a href=&quot;https://www.3chillies.co.uk/blog/2015/10/code-how-to-create-a-computed-index-field-in-sitecore-8-solr-lucene&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.3chillies.co.uk/blog/2015/10/code-how-to-create-a-computed-index-field-in-sitecore-8-solr-lucene&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="3770" LastEditorUserId="605" LastEditDate="2018-09-11T13:23:17.300" LastActivityDate="2018-09-11T13:23:17.300" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13804" PostTypeId="1" CreationDate="2018-09-11T06:28:32.927" Score="0" ViewCount="349" Body="&lt;p&gt;I am creating a template in Sitecore 9 with following fields.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Title - single line text field&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Description - multi line field&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Now, I want to add 2 image fields but their type is not Image, they are defined in a CustomImage template, for example&lt;/p&gt;&#xA;&#xA;&lt;p&gt;LeftImage - based on CustomImage template&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RightImage - based on CustomImage template&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CustomImage template fields are&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;ImageTitle - single line text field&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;ImageSource - general link filed&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;ImagePosition - dropdown with left and right options&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;One way to achieve this is to create a composite field control and use that but I am trying to avoid that, is there any other way?&lt;/p&gt;&#xA;" OwnerUserId="2119" LastEditorUserId="73" LastEditDate="2018-09-11T07:13:25.953" LastActivityDate="2018-09-11T11:49:51.380" Title="Sitecore Template fields based on another template" Tags="|templates|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13805" PostTypeId="2" ParentId="13804" CreationDate="2018-09-11T06:41:09.910" Score="1" Body="&lt;p&gt;Are multiple ways to implement something similar. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;One simple way to do it is to create LeftImage and RightImage field like a DropLink and the datasource will point to an item which have you have CustomImage items. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Other option which is better from my point of view is to have LeftImage and RightImage renderings which have datasource a CustomImage template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this way you can use personalization and AB testing for the components. You need to set for your RightImage renderings DataSourceTemplate and DataSourceLocation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this way the editor will be forced to have the right items for your renderings. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastEditorUserId="70" LastEditDate="2018-09-11T11:49:51.380" LastActivityDate="2018-09-11T11:49:51.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13807" PostTypeId="1" CreationDate="2018-09-11T10:06:29.113" Score="2" ViewCount="272" Body="&lt;p&gt;I migrated xDB data from the Mongo database to xConnect collection databases successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, I tried to rebuild xDB search index. The rebuild process finished successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I noticed that Experience Profile didn't display the number of contacts fully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It showed 42912 results (contacts) but I checked in xConnect collection databases (shard0 and shard1) and I saw that there were over 1200 000 contacts in them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FxTMO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FxTMO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yoyk8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yoyk8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to change MaximumInteractionPeriod in sc.XConnect.Collection.Model.Plugins.xml from 30 to 3000 before rebuilding but it was not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone to know what wrong with it?&lt;/p&gt;&#xA;" OwnerUserId="3701" LastEditorUserId="4050" LastEditDate="2020-01-14T22:38:44.170" LastActivityDate="2020-01-14T22:38:44.170" Title="Experience profile doesn't display number of contacts fully after rebuild xDB search index" Tags="|solr|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13808" PostTypeId="1" AcceptedAnswerId="13816" CreationDate="2018-09-11T10:54:20.133" Score="2" ViewCount="559" Body="&lt;p&gt;Does anyone know of a concept like Sitecore.Context.PageMode inside the Sitecore 9 Forms editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to use this in the cshtml files (Views/FormBuilder/FieldTemplates/*.cshtml) to show some additional information for editors, but it may only be vissible in the editor and not when the form is rendered on the actual page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For info: Sitecore.Context.PageMode.IsNormal == true in the forms editor.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-09-11T14:07:16.700" Title="Is there a concept like PageMode in the Sitecore 9 Forms Editor?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13809" PostTypeId="1" CreationDate="2018-09-11T11:04:21.340" Score="3" ViewCount="1150" Body="&lt;p&gt;We need to create proof of concept that the idea of monitoring the file is feasible in Sitecore by installing a universal forwarder at the Sitecore server that will forward the log to Splunk. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We would need a Sitecore test box/sandbox that we can use where logging is configured. How can we get Sitecore test box/sandbox for our purpose?&lt;/p&gt;&#xA;" OwnerUserId="4272" LastEditorUserId="1268" LastEditDate="2018-09-12T13:28:34.567" LastActivityDate="2018-09-13T13:40:31.623" Title="Downloading Sitecore as a non-certified developer" Tags="|training|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13811" PostTypeId="1" AcceptedAnswerId="13828" CreationDate="2018-09-11T11:25:58.707" Score="3" ViewCount="1082" Body="&lt;p&gt;I have a source query over a standard Multi-List field and I want the query to retrieve items based on the current selected language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any attribute that could handle that in the source query?&lt;/p&gt;&#xA;" OwnerUserId="4232" LastEditorUserId="605" LastEditDate="2018-09-11T20:00:24.707" LastActivityDate="2018-09-11T20:06:18.100" Title="Source Query using the current language version" Tags="|multilingual|sitecore-query|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13813" PostTypeId="2" ParentId="13801" CreationDate="2018-09-11T12:02:48.683" Score="2" Body="&lt;p&gt;This sounds like your load balancer is routing the request to a different server than the origin home page request and you haven't setup your machine key on each machine to be the same.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;TL/DR;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;web.config&lt;/code&gt; add is the following setting for the machineKey and set the values to be the same on each server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web&amp;gt;&#xA;    &amp;lt;machineKey &#xA;        decryptionKey=&quot;13C9825F6B5ABB0622CF09B6C7F949F83D113B3CC2351438&quot; &#xA;        validationKey=&quot;DA39AFED706512A688EDD4FA5898FABF2D8A0D6897465093B1237C1D46E34F8E7B0E9A09FFE647CAC32DEFE9AFAEDDE6EFE8FF6CDE0BF27C883277BB3566BFA6&quot; &#xA;    /&amp;gt;&#xA;&amp;lt;/system.web&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;What is happening?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Internally Asp.Net will use those 2 keys to encrypt/decrypt the anti-forgery token. By default these keys are &lt;strong&gt;randomly&lt;/strong&gt; generated on application start. So when your user gets routed by the load balancer to a different server than the original request, the decryption key will be different and the token cannot be decrypted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix that, you need to make sure that all instances of the same website have the same machine keys. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To generate the values for the machine key, there are a number of online generating sites, like &lt;a href=&quot;http://www.allkeysgenerator.com/Random/ASP-Net-MachineKey-Generator.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;ASP.Net MachineKey Generator&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have the same values on all your instances of that site, it doesn't matter which server the user is routed too, the token will be able to be decrypted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you are setting these, it is important to follow these rules too:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The keys should be different on each website on the same server. So if you have multi websites are hosting on the same server they keys should be unique.&lt;/li&gt;&#xA;&lt;li&gt;The keys should be different on each environment for the same website. So if your website is hosting in multi-environments ensure that the keys on each environment are differently as well.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-09-11T12:02:48.683" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13815" PostTypeId="2" ParentId="13736" CreationDate="2018-09-11T14:06:50.700" Score="0" Body="&lt;p&gt;My best guess is that the ASP.NET temporary cache isn't being refreshed properly. You could see if this is the issue by deleting the folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root next time it occurs and recycling the app pool.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2018-09-11T14:06:50.700" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13816" PostTypeId="2" ParentId="13808" CreationDate="2018-09-11T14:07:16.700" Score="6" Body="&lt;p&gt;No, there is nothing out of the box, but a &lt;code&gt;sc_formmode&lt;/code&gt; url parameter is present whenever you are in Form Builder mode. The value is &lt;code&gt;new&lt;/code&gt; or &lt;code&gt;edit&lt;/code&gt; depending on the context, but just checking for the presence of the parameter is sufficient.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create an extension method to make this more reusable:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;using Sitecore.Mvc.Helpers;&#xA;&#xA;namespace MyCustom.Forms.Feature.ExperienceForms.Extensions&#xA;{&#xA;    public static class HtmlHelperExtensions&#xA;    {&#xA;        public static bool IsExperienceForms(this SitecoreHelper helper)&#xA;        {&#xA;            return Sitecore.Context.Request.QueryString[&quot;sc_formmode&quot;] != null;&#xA;        }    &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your views you can then detect the mode and render your markup as required:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;@if (Html.Sitecore().IsExperienceForms())&#xA;{&#xA;    @* render Forms Builder mode *@&#xA;}&#xA;else&#xA;{&#xA;    @* render normal view *@&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more in &lt;a href=&quot;https://joaoneto.blog/2018/06/02/how-to-check-if-page-mode-is-experience-forms/&quot; rel=&quot;noreferrer&quot;&gt;this blog post by Joao Neto&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-09-11T14:07:16.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13817" PostTypeId="2" ParentId="13807" CreationDate="2018-09-11T14:19:32.040" Score="1" Body="&lt;p&gt;Probably my answer is short but as it is said in Sitecore documentation, Experience Profile lets you monitor the behavior of contacts that have interacted with your company or with your website. So it means that the Experience Profile displays only contacts with any interactions. So, for example, if you add contacts by importing them diractly into contact list, they will not be appiared in Experience Profile, but will be represented in xDB.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2018-09-11T14:19:32.040" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13818" PostTypeId="1" CreationDate="2018-09-11T14:52:06.967" Score="2" ViewCount="674" Body="&lt;p&gt;Our client has asked that we make the header and footer of their Sitecore site (version 8.2) personalizable and A/B testable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Usually I would create a 'settings' item in the content tree for the header/footer content but that wouldn't allow the required functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I achieve the above without having to set a data source on every header/footer component in the site?&lt;/p&gt;&#xA;" OwnerUserId="2949" LastEditorUserId="2949" LastEditDate="2018-09-11T15:01:08.933" LastActivityDate="2018-09-20T19:36:19.280" Title="Personalization for Global Components (such as header and footer)" Tags="|personalization|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13820" PostTypeId="1" AcceptedAnswerId="13821" CreationDate="2018-09-11T14:55:35.650" Score="3" ViewCount="937" Body="&lt;p&gt;We are using Sitecore 9 Update 2 with SXA 1.7.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Call to Action component should contain Image, Text and Link components from SXA together.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to build this kind of component in SXA 1.7.1? Is Snippet component helpful here? Is code needed to build this component?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-09-11T15:01:33.500" LastActivityDate="2018-09-11T15:41:59.830" Title="How to create &quot;Call to Action&quot; with SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13821" PostTypeId="2" ParentId="13820" CreationDate="2018-09-11T15:35:28.103" Score="2" Body="&lt;p&gt;Although there is no ootb &quot;CTA&quot; component, you do not need custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I normally do in such cases:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a custom template for &quot;CTA&quot; with the needed fields&lt;/li&gt;&#xA;&lt;li&gt;Create a copy of &quot;Promo&quot; (see below) and name it CTA&lt;/li&gt;&#xA;&lt;li&gt;Set the datasource (location and template) for your CTA's (use your template and add a location in the Data folder)&lt;/li&gt;&#xA;&lt;li&gt;Add this CTA rendering to your allowed renderings on the site&lt;/li&gt;&#xA;&lt;li&gt;Create a variant for this new rendering to display the fields and such (the name of the variant is the exact name of your rendering - the name of the variant definition can be anything.. you might even create more than one)&lt;/li&gt;&#xA;&lt;li&gt;You should be good to go..&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To create a copy of Promo you can use the official docs: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/copy_and_customize_an_sxa_rendering&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/copy_and_customize_an_sxa_rendering&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or if you are not concerned about multisite and re-using the component, there is a faster way: just copy the Promo rendering item and adjust the fields you want (optionally the rendering parameters, surely the datasource and datatemplate as mentioned above)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way you will end up with only one datasource. If you actually want three (for image, text and link separately) snippets are indeed the way to go - but normally your editors will like one datasource better..&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-09-11T15:41:59.830" LastActivityDate="2018-09-11T15:41:59.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13822" PostTypeId="1" AcceptedAnswerId="13825" CreationDate="2018-09-11T15:56:48.600" Score="2" ViewCount="352" Body="&lt;p&gt;Using the REST API for ItemService to retrieve Sitecore Items with Multilist fields.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;curl --cookie &quot;.ASPXAUTH=abcd&quot; -X GET &quot;https://localhost/sitecore/api/ssc/item/7ff9d310-abcd-abcd-abcd-d5fdc5f305b9&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Result :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;...&#xA;&quot;Multilist&quot;: &quot;{A53F9EFA-301B-42CA-A0BE-BFE7A15857E6}|{25F61C2F-0656-4C32-BA35-E913258B4243}&quot;,&#xA;...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The response shows ids instead of the display names. I would like to have the display names instead of the ids in the response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The UI shows a list of display names - not IDs, for example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Multilist: test_item1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question: is there a way to receive the display names instead IDs for cases like Multilist fields with the rest api? (I would like to avoid multiple api calls too.)&lt;/p&gt;&#xA;" OwnerUserId="4266" LastActivityDate="2018-09-11T18:41:00.320" Title="Receive display names when retrieving Sitecore Items using the REST API" Tags="|item-web-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13823" PostTypeId="1" AcceptedAnswerId="14049" CreationDate="2018-09-11T17:25:39.297" Score="5" ViewCount="524" Body="&lt;p&gt;Sitecore doc &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/35/configuring_the_delivery_process/recipients/recipient_repositories&quot; rel=&quot;nofollow noreferrer&quot;&gt;Recipient repositories&lt;/a&gt; claims &quot;The Email Experience Manager can use various sources of recipients to send email campaigns, including both the sources provided by Sitecore &lt;strong&gt;and your own sources&lt;/strong&gt;.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently, to do this, you would need to (1) create a custom recipient repository, other than the default XdbRecipientRepository, and then (2) get EXM to use your custom repository when sending emails. But I can find no clue how to do either of these things. Does anyone have links or tips to how to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our use case is: We need to send mailings to a couple of &quot;internal&quot; lists (all employees &amp;amp; all students). It would be much easier to just create recipient lists &quot;directly&quot;, rather than having to create and manage xDB contacts for these mailings. It should also be much more performant, because the xDB contacts API runs very slowly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore 8.2, EXM 3.5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: Multiple answerers have suggested that we use List Manager's &quot;Import CSV&quot; feature rather than do what I'm asking to do in my question, so I'll explain why we're not doing that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&quot;Import CSV&quot; is an &lt;em&gt;interactive manual&lt;/em&gt; feature of List Manager. We need to synchronize these lists &lt;em&gt;automatically&lt;/em&gt; (daily), not just import them once.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We need to &lt;em&gt;add&lt;/em&gt; recipients to these lists ongoing, not just import the lists once.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We need to &lt;em&gt;modify&lt;/em&gt; existing recipient's properties when the source properties change, not just import new recipients.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We need to &lt;em&gt;remove&lt;/em&gt; recipients when they're removed from the source lists, not just import new recipients.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3614" LastEditorUserId="73" LastEditDate="2018-09-12T22:17:49.680" LastActivityDate="2018-09-21T11:31:23.890" Title="Automatically create recipient lists for EXM" Tags="|exm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13824" PostTypeId="2" ParentId="11053" CreationDate="2018-09-11T17:29:23.613" Score="2" Body="&lt;p&gt;Sitecore pipeline processors are cached after instantiation, if memory serves, so the dependencies to them are injected exactly once - thus the container is not consulted every time a pipeline is run. To create each pipeline processor for every run would be quite expensive, and some pipelines are very tight loop (i.e. &lt;code&gt;renderField&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To work around this, you can inject a singleton factory dependency that you can request your request-scoped object from (i.e. &lt;code&gt;_myIObjectFactory.GetCurrentObject()&lt;/code&gt;). The implementation of this factory could proxy to service locator, or &lt;code&gt;HttpContext.Current.Items&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-09-11T17:29:23.613" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13825" PostTypeId="2" ParentId="13822" CreationDate="2018-09-11T18:41:00.320" Score="3" Body="&lt;p&gt;Try this instead:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://localhost/sitecore/api/ssc/item/7ff9d310-abcd-abcd-abcd-d5fdc5f305b9?includeStandardTemplateFields=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It should return a value for &lt;code&gt;__Display name&lt;/code&gt; as well as all other standard field values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just realized I didn't read all of the question.  In the case of a multilist field (or any data field), the field only contains the raw ids, not any additional information.  You would need to customize this service to return something else in this case.  Or you can return the result, pull the values for the multilist and then query again using the API to get those display names (or any other fields you need).&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-09-11T18:41:00.320" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13826" PostTypeId="1" AcceptedAnswerId="13842" CreationDate="2018-09-11T18:52:08.427" Score="3" ViewCount="320" Body="&lt;p&gt;We are trying to add dynamic fields in a bucket search results view. We want to display custom fields. In the previous versions of sitecore there use to be a DynamicFields pipeline. As stated in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/90/Sitecore%20Experience%20Platform%2090%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore 9 release notes&lt;/a&gt;, the pipeline has been removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we achieve this using sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="4180" LastEditorUserId="73" LastEditDate="2018-09-12T12:03:03.900" LastActivityDate="2019-10-29T09:43:35.227" Title="Adding Dynamic Fields in Bucket Search Results" Tags="|content-search|buckets|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13827" PostTypeId="2" ParentId="13818" CreationDate="2018-09-11T18:58:21.567" Score="2" Body="&lt;p&gt;If you need to personalize or A/B test the Header and Footer (or any other global presentation detail, than they cannot be statically rendered to the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In other words you cannot do:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;{guid}&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You must apply a placeholder that applies the navigation or global elements to the page, so that they can be personalized.  This is also known as &lt;code&gt;Dynamic Renderings&lt;/code&gt; and is at the core of being able to use datasources and using different mechanisms to change the datasource based on conditions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Typically that would also mean that now you would have to have this navigation applied to every page item of your site.  There are a couple of options you have to help reduce the amount of effort that this would require.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could define a Base Template that includes information about the placement in Presentation Details in the Standard Values, and then apply that template to all of your Templates that would need it.  I'm not sure that would work too beautifully if this is a change you are making.  That works better if it's a new build out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second option is that you could build something similar to SxA's feature &lt;code&gt;Partial Designs&lt;/code&gt; that would basically be a way to define a grouping of presentation details and include that on a page.  All modifications would happen on the grouping, and the pages would just inherit the changes you make to the grouping or partial design.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-09-11T18:58:21.567" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13828" PostTypeId="2" ParentId="13811" CreationDate="2018-09-11T19:48:44.143" Score="3" Body="&lt;p&gt;OOTB Sitecore, this is not possible using Sitecore queries because Sitecore does not take into account which language has been selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Get Lookup Source Item&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the Lookup Source Item pipeline (&lt;code&gt;&amp;lt;getLookupSourceItems&amp;gt;&lt;/code&gt;). This particular pipeline is responsible to execute the Sitecore query you've filled in the Datasource Field. Moreover, you can implement your business logic to retrieve items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Implementation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to implement a method which has &lt;code&gt;GetLookupSourceItemsArgs&lt;/code&gt; as parameter. The &lt;code&gt;args&lt;/code&gt; paramter has a property named &lt;strong&gt;Item&lt;/strong&gt; which contain the selected item in the current selected version.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(GetLookupSourceItemsArgs args)&#xA;{&#xA;    if (this.SkipProcessor(args)) return;&#xA;&#xA;    var items = Factory.GetDatabase(&quot;master&quot;).GetItem(&quot;PATH TO CONTAINER ITEM OR SITECORE ID&quot;), args.Item.Language).GetChildren(ChildListOptions.SkipSorting);&#xA;&#xA;    foreach (var item in items)&#xA;    {&#xA;        var itemVersions = item.Versions.GetVersions();&#xA;&#xA;        foreach (var itemVersion in itemVersions)&#xA;        {&#xA;            if (itemVersion.Language.Name.Equals(args.Item.Language.Name))&#xA;            {&#xA;                args.Result.Add(itemVersion);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    args.AbortPipeline();&#xA;}&#xA;&#xA;private bool SkipProcessor(GetLookupSourceItemsArgs args)&#xA;{&#xA;    return !args.Source.ToLower().Contains(&quot;itemversionspecific&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration File&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you implemented the code, you need to add it to the &lt;code&gt;getLookupSourceItems&lt;/code&gt; pipeline. Below is an example of the patch.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getLookupSourceItems&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourNamespace,YourAssembly&quot; patch:before=&quot;*&quot;/&amp;gt;&#xA;      &amp;lt;/getLookupSourceItems&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Testing&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the above code, I tested it by creating a container item named &lt;code&gt;Items&lt;/code&gt; holding 3 items&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Item with English version only&lt;/li&gt;&#xA;&lt;li&gt;Item with French version only&lt;/li&gt;&#xA;&lt;li&gt;Item with both English and French version&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;English Version Selected&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/kZis4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kZis4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;French Version Selected&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/brWpV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/brWpV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Upon selection of a language version, the items from the Multi-List Field changes the list of items.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-09-11T20:06:18.100" LastActivityDate="2018-09-11T20:06:18.100" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13829" PostTypeId="1" CreationDate="2018-09-11T19:49:31.827" Score="1" ViewCount="436" Body="&lt;p&gt;Simply wondering how to tag an image with a few different keywords and find it that way later on within the media library. It seems like currently the search function of the media library only picks up on the terms within the file name and nothing else. (using sitecore 8.2) &lt;/p&gt;&#xA;" OwnerUserId="3680" LastEditorUserId="1671" LastEditDate="2018-09-13T13:19:57.083" LastActivityDate="2018-10-16T15:34:39.370" Title="How to make a media library image searchable with few keywords rather just the item name?" Tags="|content-search|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13831" PostTypeId="1" CreationDate="2018-09-11T20:12:22.753" Score="-1" ViewCount="364" Body="&lt;p&gt;We are creating some custom buttons on the ribbon of a rendering in the experience editor that when clicked will trigger custom events listed in the commands.config.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The command executes just fine, the problem we are running into is that we do not have the renderings context that the button is on.  Is there a way to achieve this?  One thought has been to use some parameters passed in the button click via the button configuration in the core db but I am still not sure how we would tell it what rendering we are on.&lt;/p&gt;&#xA;" OwnerUserId="1587" LastActivityDate="2018-11-11T11:02:15.390" Title="Experience Editor rendering context" Tags="|experience-editor|commands|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13832" PostTypeId="2" ParentId="13781" CreationDate="2018-09-11T20:19:46.570" Score="1" Body="&lt;p&gt;in the sitecore config file there is a section: &lt;code&gt;&amp;lt;encodeNameReplacements&amp;gt;&lt;/code&gt;&#xA;you can add a line like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;replace mode=&quot;on&quot; find=&quot; &quot; replaceWith=&quot;-&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That is how we have done it, and it works well&lt;/p&gt;&#xA;" OwnerUserId="1587" LastActivityDate="2018-09-11T20:19:46.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13834" PostTypeId="2" ParentId="13782" CreationDate="2018-09-11T20:51:15.913" Score="3" Body="&lt;p&gt;Turns out the problem had nothing to do with the client certificate. It seems that when running under IIS, it's imperative that the controller's methods all run async when using initializing the XConnectClient. Not all of mine were.&lt;/p&gt;&#xA;" OwnerUserId="651" LastActivityDate="2018-09-11T20:51:15.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13836" PostTypeId="2" ParentId="11444" CreationDate="2018-09-12T05:54:22.177" Score="0" Body="&lt;p&gt;Yes this is a known issue with Sitecore 9 publishing engine. We also encountered same issue and wrote a powershell script to clean up the invalid links traversing through the entire Sitecore tree...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="4277" LastActivityDate="2018-09-12T05:54:22.177" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13837" PostTypeId="1" AcceptedAnswerId="13841" CreationDate="2018-09-12T05:56:29.043" Score="1" ViewCount="177" Body="&lt;p&gt;This may seem like a really obvious question, but I just wanted to make sure as I couldn't find any documentation on this particular attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Within the site definitions &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; there is an attribute called &lt;code&gt;enableTracking&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example: &#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;service&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/sitecore/service&quot; physicalFolder=&quot;/sitecore/service&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am wondering if this attribute is defaulted to true if it is not present?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does it determine if an individual site has XDB tracking enabled / disabled?  Or does it have another purpose?&lt;/p&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2018-09-12T08:47:22.403" Title="With regard to site definitions what is the default value of the enableTracking attribute?" Tags="|site-configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13838" PostTypeId="2" ParentId="13837" CreationDate="2018-09-12T05:56:29.043" Score="2" Body="&lt;p&gt;I asked the following question to Sitecore support and the answer was:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;This setting literally defines whether analytics tracking is enabled for a site or not.&lt;/p&gt;&#xA;&lt;p&gt;For some sites tracking can be excessive&#xA;functionality, therefore this parameter allows disabling it in a handy&#xA;way on a site level.&lt;/p&gt;&#xA;&lt;p&gt;You can enable it globally but disable for&#xA;specific sites by this setting.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-09-12T05:56:29.043" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13840" PostTypeId="2" ParentId="13823" CreationDate="2018-09-12T08:18:28.367" Score="2" Body="&lt;p&gt;you can create Contact Lists from a CSV-File that's the most easiest way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore you can create your lists programmatically, we also do that because a customer of us wants to send newsletters from a third party CRM-System, so we offered an API to catch the contacts and the newsletter id, build the contactlist and include it in the newsletter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;       var newsletterRecipientListName = string.Format(&quot;{0}_{1}&quot;, newsletter.Settings.NewsletterItemId, DateTime.Now.Ticks);&#xA;       var filteredContacts = newsletter.Contacts.DistinctBy(x =&amp;gt; x.Email.ToLowerInvariant()).ToList();&#xA;       var listId = _listManagementService.CreateList(newsletterRecipientListName, filteredContacts, messageItem.ManagerRoot.InnerItem.ID.ToString());&#xA;       messageItem.RecipientManager.AddIncludedRecipientListId(new ID(listId));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The CreateList Method looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public string CreateList(string listName, IEnumerable&amp;lt;Analytics.Contacts.Models.Contact&amp;gt; contacts, string managerRootId)&#xA;    {&#xA;        var listManager = Factory.CreateObject(&quot;contactListManager&quot;, false) as ContactListManager;&#xA;        var list = new ContactList(listName);&#xA;        if (listManager == null)&#xA;        {&#xA;            return string.Empty;&#xA;        }&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            listManager.Create(list);&#xA;            var contactDatas = GetContactDatas(contacts);&#xA;&#xA;            AssignContactsToList(contactDatas, list.Id, managerRootId);&#xA;        }&#xA;&#xA;        return list.Id;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have created our own Contact model because the contacts are enriched with much more facets than the default ones. We then Subscribe them to the contact list:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    protected void AssignContactsToList(IEnumerable&amp;lt;ContactData&amp;gt; contacts, string contactListId, string managerRootId)&#xA;    {&#xA;        foreach (var contactData in contacts)&#xA;        {&#xA;            var recipientId = new Sitecore.Modules.EmailCampaign.Xdb.XdbContactId(contactData.ContactId);&#xA;&#xA;            Sitecore.Modules.EmailCampaign.ClientApi.UpdateSubscriptions(recipientId, new[] { contactListId }, new string[] { }, managerRootId, false);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Best regards&#xA;Dirk&lt;/p&gt;&#xA;" OwnerUserId="1183" LastActivityDate="2018-09-12T08:18:28.367" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13841" PostTypeId="2" ParentId="13837" CreationDate="2018-09-12T08:47:22.403" Score="0" Body="&lt;p&gt;It looks like the default setting for a site is &lt;code&gt;true&lt;/code&gt; if not set. This will of course be overridden by the global setting.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Analytics.Tracking&#xA;{&#xA;    public class TrackingSiteContext&#xA;    {&#xA;        public TrackingSiteContext (SiteInfo siteInfo)&#xA;        {&#xA;            this.SiteInfo = siteInfo;&#xA;        }&#xA;&#xA;        public bool EnableTracking&#xA;        {&#xA;            get&#xA;            {&#xA;                bool flag = true;&#xA;                bool result;&#xA;                if (bool.TryParse (this.SiteInfo.Properties[&quot;enableTracking&quot;], out result))&#xA;                    flag = result;&#xA;                return flag;&#xA;            }&#xA;        }&#xA;&#xA;        protected SiteInfo SiteInfo { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-09-12T08:47:22.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13842" PostTypeId="2" ParentId="13826" CreationDate="2018-09-12T08:57:44.627" Score="5" Body="&lt;p&gt;We had the same issue, luckily it isn't too hard to re-implement. I believe this should work exactly like before, but we might have skipped something we didn't need so just be aware of that.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;h3&gt;AddDynamicFields.cs&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore;&#xA;using Sitecore.Abstractions;&#xA;using Sitecore.Buckets.Pipelines.UI.FillItem;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.SearchTypes;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Globalization;&#xA;using YourSolution.DynamicFields&#xA;&#xA;namespace YourSolution&#xA;{&#xA;    public class AddDynamicFields : FillItemProcessor&#xA;    {&#xA;        public override void Process(FillItemArgs args)&#xA;        {&#xA;            foreach (var searchResultItem in args.ResultItems.OfType&amp;lt;SitecoreUISearchResultItem&amp;gt;())&#xA;            {&#xA;                Language itemLanguage;&#xA;                Language.TryParse(searchResultItem.Language, out itemLanguage);&#xA;&#xA;                var version = Sitecore.Data.Version.Parse(searchResultItem.Version);&#xA;&#xA;                var item =&#xA;                    Context.ContentDatabase.GetItem(searchResultItem.ItemId, itemLanguage, version) ??&#xA;                    Context.Database.GetItem(searchResultItem.ItemId, itemLanguage, version);&#xA;&#xA;                if (item == null)&#xA;                    return;&#xA;&#xA;                LoadDynamicFields(item, searchResultItem);&#xA;            }&#xA;        }&#xA;&#xA;        private static void LoadDynamicFields(Item innerItem, SitecoreUISearchResultItem sitecoreItem)&#xA;        {&#xA;            if (sitecoreItem.DynamicFields == null)&#xA;                sitecoreItem.DynamicFields = new List&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt;();&#xA;&#xA;            var dynamicFieldsArgs = new DynamicFieldsArgs { InnerItem = innerItem};&#xA;            var corePipelineManager = ContentSearchManager.Locator.GetInstance&amp;lt;BaseCorePipelineManager&amp;gt;();&#xA;            corePipelineManager.Run(&quot;buckets.dynamicFields&quot;, dynamicFieldsArgs);&#xA;&#xA;            sitecoreItem.DynamicFields = dynamicFieldsArgs.DynamicFields.ToList();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;DynamicFieldsArgs.cs&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using Sitecore.Buckets.Pipelines;&#xA;using Sitecore.Data.Items;&#xA;&#xA;namespace YourSolution.DynamicFields&#xA;{&#xA;    public class DynamicFieldsArgs : BucketsPipelineArgs&#xA;    {&#xA;        public Item InnerItem { get; set; }&#xA;&#xA;        public IDictionary&amp;lt;string, string&amp;gt; DynamicFields { get; set; } = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;DynamicFieldsProcessor.cs&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Buckets.Pipelines;&#xA;&#xA;namespace YourSolution.DynamicFields&#xA;{&#xA;    public abstract class DynamicFieldsProcessor : BucketsPipelineProcessor&amp;lt;DynamicFieldsArgs&amp;gt;&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Config patch&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;buckets.fillItem&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourSolution.AddDynamicFields, YourSolution&quot; /&amp;gt;&#xA;      &amp;lt;/buckets.fillItem&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-09-12T08:57:44.627" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13844" PostTypeId="2" ParentId="13831" CreationDate="2018-09-12T09:28:39.193" Score="2" Body="&lt;p&gt;You can follow the steps below to configure the custom button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create your custom button in the path &lt;code&gt;/sitecore/content/Applications/WebEdit/Custom Experience Buttons&lt;/code&gt; in core database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I created a custom button and copied the click event from change component position.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K6Zx6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K6Zx6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;master&lt;/code&gt; database, navigate to your rendering.&#xA;There is a field &lt;code&gt;Experience Editor Buttons&lt;/code&gt;, you will see a multilist containing the button you created.&#xA;Select the button you want for the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ypRS2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ypRS2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Experience Editor, the button will appear when the rendering is configured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nQGm2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nQGm2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1674" LastActivityDate="2018-09-12T09:28:39.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13846" PostTypeId="1" AcceptedAnswerId="13848" CreationDate="2018-09-12T11:51:02.673" Score="2" ViewCount="808" Body="&lt;p&gt;I'm trying to update a droplink field value using its name but I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Value not in the selection list&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The code is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[&quot;__Subitems Sorting&quot;].Value = sort; // sort contains the name (&quot;Reverse&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As far as I understand, they expect me to pass the ID instead of the name but how can i retrieve it from the name?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance for your help&lt;/p&gt;&#xA;" OwnerUserId="2278" LastEditorUserId="605" LastEditDate="2018-09-12T13:37:08.427" LastActivityDate="2018-09-12T13:37:08.427" Title="Updating droplink field value by name" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13847" PostTypeId="1" CreationDate="2018-09-12T12:03:51.087" Score="0" ViewCount="612" Body="&lt;p&gt;I created SXA Tags in the Sitecore and I know how to add this tag to an item but I want to add the required field validation to the Tag fields, so I can not save the items without adding tag to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any ideas?&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="690" LastEditDate="2018-09-12T14:55:28.210" LastActivityDate="2018-09-13T05:28:29.370" Title="How to add required field validation to SXA Tags field?" Tags="|sxa|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13848" PostTypeId="2" ParentId="13846" CreationDate="2018-09-12T12:10:27.893" Score="3" Body="&lt;p&gt;The subitem sorting has the datasource pointing to the path &lt;code&gt;/sitecore/system/Settings/Subitems Sorting&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since you have the name of the sorting type, you can find the item from the container and then assign it to the &lt;code&gt;__Subitems Sorting&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void SetSorting(Item item, string sortType)&#xA;{&#xA;    var sortItem = Factory.GetDatabase(&quot;master&quot;).GetItem(new ID(&quot;{B01EB085-82BC-4D79-B15F-90EAB9E98062}&quot;)).Children&#xA;        .FirstOrDefault(w =&amp;gt; w.Name.Equals(sortType));&#xA;&#xA;    if (sortItem != null)&#xA;    {&#xA;        item.Editing.BeginEdit();&#xA;        item.Fields[&quot;__Subitems Sorting&quot;].Value = sortItem.ID.ToString();&#xA;        item.Editing.EndEdit();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The ID &lt;code&gt;{B01EB085-82BC-4D79-B15F-90EAB9E98062}&lt;/code&gt; is the Sitecore Id for the item &lt;code&gt;Subitems Sorting&lt;/code&gt;. You can use the path if you want.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-09-12T12:10:27.893" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="13850" PostTypeId="2" ParentId="13809" CreationDate="2018-09-12T13:04:26.623" Score="3" Body="&lt;p&gt;There are 3 different solution to this question:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The easiest of all is using &lt;a href=&quot;https://sitecorekakde.wordpress.com/sitecore-test-drive/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Test Drive&lt;/a&gt; which is a azure hosted sitecore instance already setup with a Demo website. It has been uploaded on Microsoft app store and is available for a limited time.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Signup on &lt;a href=&quot;https://elearning.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;eLearning Portal&lt;/a&gt;, register for free sitecore eLearning course. In step 2 you will receive a sitecore installer file along with quick overview training.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;And the last option is to drop an enquiry to &lt;a href=&quot;http://mailto:SitecoreSupport@sitecore.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Support&lt;/a&gt; for getting the evaluation copy along with developer training license for Trial. For more information &lt;a href=&quot;https://www.sitecore.com/getting-started/developer-trial&quot; rel=&quot;nofollow noreferrer&quot;&gt;Visit&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1268" LastActivityDate="2018-09-12T13:04:26.623" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13851" PostTypeId="1" CreationDate="2018-09-12T13:21:53.610" Score="3" ViewCount="458" Body="&lt;p&gt;We have configured an EXM automated campaign and the e-mails are being sent as expected. Looking at the dashboards, all percentage numbers are set to 0%.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YbvBl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YbvBl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How is that possible?&#xA;How EXM knows when a link have been opened? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="4279" LastActivityDate="2019-12-07T22:17:57.467" Title="Analytics data for 'automated' emails from EXM not displayed/present" Tags="|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13853" PostTypeId="1" AcceptedAnswerId="13854" CreationDate="2018-09-12T14:18:51.880" Score="2" ViewCount="86" Body="&lt;p&gt;We have doubt regarding, deploying Sitecore version 7 site to Azure Paas?     &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per in the sitecore documentation, We have explored that Sitecore Experience Platform support Azure Paas from sitecore 8.0+ versions.      &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly reply back to us, if it is possible.&lt;/p&gt;&#xA;" OwnerUserId="4278" LastEditorUserId="1342" LastEditDate="2018-09-12T22:40:16.217" LastActivityDate="2018-09-13T13:56:09.950" Title="Deployment of Sitecore 7 into Azure PaaS" Tags="|deployment|paas|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13854" PostTypeId="2" ParentId="13853" CreationDate="2018-09-12T14:38:42.770" Score="2" Body="&lt;p&gt;To answer your question - NO, Sitecore 7 is not supprted on Azure PaaS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Sitecore XP 8.2 Update-1 (rev. 161115) supports deployments to Microsoft Azure using the Web Apps feature in Azure App Service. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XOmxH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XOmxH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2018-09-12T14:38:42.770" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13855" PostTypeId="1" AcceptedAnswerId="13857" CreationDate="2018-09-12T14:48:18.017" Score="1" ViewCount="206" Body="&lt;p&gt;I was trying to create custom facets in Sitecore 9.0 Update 1. I was able to create one and add a custom tab in experience profile. I fill the custom facet data with the help of a WFFM form. I see the data is being saved to _Shard DB. I get an error while data retrieval.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error occurs only on a scaled Sitecore Azure environment and the error is visible in logs generated within the reporting web server. On an on-premise environment everything works fine. Also on Azure, if I force CM to also do processing and reporting, everything works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution works fine on On-Premise Standalone environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added the necessary patch files to the include folder. I see the files are patched fine in the show.config. I have the pipeline patch as required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error details are as shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: An error occurred while sending the request.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at sSupport.Controllers.ContactQueryPipelineProcessor.GetContact(Guid contactId, String[] facets)&#xA;   at sSupport.Controllers.ContactQueryPipelineProcessor.GetTableFromContact(DataTable rawTable, Guid contactId)&#xA;   at sSupport.Controllers.ContactQueryPipelineProcessor.Process(ReportProcessorArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Cintel.Reporting.ReportingServerDatasource.QueryPipelineDataSource.GetData(ReportDataQuery query)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: The certificate was not found.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.CertificateWebRequestHandlerModifier.Process(HttpClientHandler handler)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateRequestHandler()&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateClient()&#xA;   at System.Lazy`1.CreateValue()&#xA;   at System.Lazy`1.LazyInitValue()&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.d__37.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.d__32.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.d__4.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &quot;sSupport.Controllers.ContactQueryPipelineProcessor&quot; is the custom project which is used to get the data from xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, i have the &lt;strong&gt;xconnect.collection.certificate&lt;/strong&gt; value in my reporting server ConnectionString.config with &lt;strong&gt;thumbprint&lt;/strong&gt; and &lt;strong&gt;AllowInvalidClientCertificates=true&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same is true for CM server (which is able to get the custom facet data).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated. &lt;/p&gt;&#xA;" OwnerUserId="2718" LastEditorUserId="73" LastEditDate="2018-09-12T15:58:34.173" LastActivityDate="2018-09-12T15:58:34.173" Title="Experience Profile custom facet retrieval error" Tags="|xconnect|sitecore-api|experience-profile|reporting|contact-facets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13856" PostTypeId="1" AcceptedAnswerId="13864" CreationDate="2018-09-12T15:17:16.993" Score="3" ViewCount="183" Body="&lt;p&gt;I have used the pipeline profile and found the &lt;strong&gt;owin.initialize&lt;/strong&gt; pipeline isn't available on the CM server which is hosted on the Azure App service. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have used the Sitecore 9 Update 1 - XP Scaled.&#xA;How can I turn on the &lt;strong&gt;owin.initialize&lt;/strong&gt; pipeline on the CM server?&lt;/p&gt;&#xA;" OwnerUserId="4280" LastEditorUserId="2153" LastEditDate="2018-09-13T12:21:39.303" LastActivityDate="2018-09-14T22:17:10.250" Title="CM server Sitecore 9 Update 1 is hosted on the Azure with XP Scaled didn't see the owin.initialize pipeline" Tags="|azure|paas|owin|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13857" PostTypeId="2" ParentId="13855" CreationDate="2018-09-12T15:53:25.317" Score="3" Body="&lt;p&gt;Go to your Azure Sitecore Reporting instance and select &quot;Application settings&quot; under the Settings menu. Under &quot;Application settings&quot; on the right, add a new &quot;APP SETTING NAME&quot; called &lt;strong&gt;WEBSITE_LOAD_CERTIFICATES&lt;/strong&gt; as shown in image below. The value will be your certificate thumbprint. It is still hazy why this needs to be done especially since other facet queries work fine without adding this setting, but this will get the functionality working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YLHv3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YLHv3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2704" LastActivityDate="2018-09-12T15:53:25.317" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13858" PostTypeId="2" ParentId="13847" CreationDate="2018-09-12T16:43:16.163" Score="2" Body="&lt;p&gt;You need to select Required validation rule for all the validation rules section in the template for your desired field:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Quick Action Bar&lt;/li&gt;&#xA;&lt;li&gt;Validate Button&lt;/li&gt;&#xA;&lt;li&gt;Validator Bar&lt;/li&gt;&#xA;&lt;li&gt;Workflow&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Best would be to duplicate OOTB Required validation rule and set &quot;Result&quot; parameter to &quot;FatalError&quot;. Name the validation rule as &quot;Fatal Required&quot;  or something similar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In other words, set &lt;code&gt;Result=FatalError&lt;/code&gt; inside the Parameters field of your duplicated Required validation rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EVvGe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EVvGe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can use it as a validation rule and it will disable content editors to save pages without specifying Tags field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kplsV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kplsV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Un3Fr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Un3Fr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-09-13T05:28:29.370" LastActivityDate="2018-09-13T05:28:29.370" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13859" PostTypeId="1" CreationDate="2018-09-12T17:16:34.687" Score="7" ViewCount="1238" Body="&lt;p&gt;I am installing new Sitecore9 on our dev server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our DBA team is concerned about why Sitecore DBs should have contained users?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From my understanding, it is just for using SIF framework. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We also got &quot;DB has to be Contained&quot; error while restoring Sitecore 9 DBs in another server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we use SQL users after installation? We have our SQL on Amazon RDS. Appreciate if anyone can help me on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4281" LastEditorUserId="2153" LastEditDate="2018-09-13T12:20:37.480" LastActivityDate="2018-09-20T17:45:19.680" Title="Why do we require Contained database for Sitecore 9?" Tags="|sitecore-install-framework|contained-database|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13860" PostTypeId="2" ParentId="13859" CreationDate="2018-09-12T18:16:10.243" Score="13" Body="&lt;p&gt;The use of the &amp;quot;Contained Database User model&amp;quot; was introduced for very good reasons, and could be considered useful outside the realm of Sitecore.&lt;/p&gt;&#xA;&lt;p&gt;You can read the &lt;a href=&quot;https://docs.microsoft.com/en-us/sql/relational-databases/security/contained-database-users-making-your-database-portable?view=sql-server-2017&quot; rel=&quot;noreferrer&quot;&gt;article here&lt;/a&gt; and &lt;a href=&quot;https://docs.microsoft.com/en-us/sql/relational-databases/databases/contained-databases?view=sql-server-2017&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; published by Microsoft on it.&lt;/p&gt;&#xA;&lt;h2&gt;Traditional Login and User Model&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The important principal is that both the login (in the master database) and the user (in the user database) must exist and be related to each other. This means that the connection to the user database has a dependency upon the login in the master database, and this limits the ability of the database to be moved to a different hosting SQL Server or Azure SQL Database server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2&gt;Contained Database User Model&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;In the contained database user model, the login in the master database is not present. Instead, the authentication process occurs at the user database, and the database user in the user database does not have an associated login in the master database....To connect as a contained database user, the connection string must always contain a parameter for the user database so that the Database Engine knows which database is responsible for managing the authentication process.&lt;/p&gt;&#xA;&lt;p&gt;By reducing the ties to the instance of SQL Server, partially contained databases can be useful during failover when you use Always On availability groups.&lt;/p&gt;&#xA;&lt;p&gt;Creating contained users enables the user to connect directly to the contained database. This is a very significant feature in high availability and disaster recovery scenarios such as in an Always On solution. If the users are contained users, in case of failover, people would be able to connect to the secondary without creating logins on the instance hosting the secondary. This provides an immediate benefit.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2&gt;Conclusion&lt;/h2&gt;&#xA;&lt;p&gt;So if I understand this correctly, Sitecore made a good decision to do this since it simplifies the way they distribute the databases for on-premise and Azure instances. Given that this is a feature promoted by Microsoft, I recommend you help provide articles/documentation to the Database Administrators. I don't imagine Sitecore will provide an alternative approach so education will be your best stategy.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-09-12T18:26:55.560" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13861" PostTypeId="1" AcceptedAnswerId="13862" CreationDate="2018-09-12T20:59:14.533" Score="1" ViewCount="487" Body="&lt;p&gt;I have recently upgraded web site from Sitecore 8.2 to 8.2 update 7.&#xA;I have enabled the sitecore xDB in sitecore.xDB.config.&#xA;Now when i am browsing the web site, i am getting the following error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could not get pipeline InitializeMongoDbCollectionIndexes(domain:)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x9SAg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x9SAg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already tried issue &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1894/cannot-patch-sitecore-initialize-pipeline-sitecore-8-1-update-3&quot;&gt;Cannot patch Sitecore initialize pipeline (Sitecore 8.1 Update 3)&lt;/a&gt; but it does solve in my case.&lt;/p&gt;&#xA;" OwnerUserId="3783" LastActivityDate="2022-12-28T12:55:28.983" Title="Could not get pipeline InitializeMongoDbCollectionIndexes(domain)" Tags="|upgrade|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13862" PostTypeId="2" ParentId="13861" CreationDate="2018-09-12T23:01:45.150" Score="2" Body="&lt;p&gt;I encountered similar error when i upgraded to update 7 and enabled xDB in configuration.&#xA;Please make sure you have the following configuration in pipelines section of  Sitecore.Analytics.Mongodb.config(in app_config/include).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;initializeMongoDbCollectionsIndexes&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.InitializeMongoDbCollectionsIndexes.EnsureMongoDbCollectionsIndexesProcessor, Sitecore.Analytics.MongoDb&quot; /&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.InitializeMongoDbCollectionsIndexes.EnsureMongoDbInteractionCollectionIndexForGetAllHistoricalInteractionsProcessor, Sitecore.Analytics.MongoDb&quot; /&amp;gt;&#xA;  &amp;lt;/initializeMongoDbCollectionsIndexes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-09-12T23:01:45.150" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13863" PostTypeId="1" AcceptedAnswerId="13865" CreationDate="2018-09-12T23:03:12.997" Score="3" ViewCount="3160" Body="&lt;p&gt;I've been reading several blog posts about application insights and Sitecore logs, and I've not been able to get the proper configuration working. This is using Sitecore 9 ARM templates on Azure app service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've got a QA instance that has one AI instance, and a CM/CD instance set that has another AI instance. Doing some reading, I saw that I needed to edit the ApplicationInsights.config file in the web root to include the InstrumentationKey value from the AI properties. I did this for the appropriate environment instance, using the App Service Editor (since the keys are different per environment, I didn't want to include the config file in my project root).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did a restart of my QA app service as a test, then logged into Sitecore and bounced around. I then went to the Azure portal and to the AI instance for my QA, and clicked the Search option to check for the last 24 hours. I didn't get any results, and I'd expect to at least get the &quot;audit&quot; message when I logged in as admin, if not all the startup messages I'm used to seeing in the Sitecore log files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if there's a time point at which log results write over, if I'm looking in the wrong place, or if there's additional configuration required. I haven't seen a good definitive &quot;this is how you do it&quot; blog on the matter (though I intend to write one once I have this figured out).&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="1278" LastEditDate="2018-09-13T12:20:54.767" LastActivityDate="2018-09-13T23:12:09.437" Title="Accessing log files in application insights for Sitecore 9 in Azure app service" Tags="|azure|paas|logging|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13864" PostTypeId="2" ParentId="13856" CreationDate="2018-09-12T23:31:33.600" Score="2" Body="&lt;p&gt;After play around in the config files, I found there is a flag inside the web.config where contains the &lt;code&gt;&amp;lt;add key=&quot;owin:AutomaticAppStartup&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt;. I changed it to true value then the owin.initialize pipeline turns on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&#xA;I would like to share more details about this issue. Please remind that in the web.config already have a setting value: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add key=&quot;owin:appStartup&quot; value=&quot;Sitecore.Owin.Startup, Sitecore.Owin&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This setting is a default value which turns on &lt;strong&gt;owin.initialize&lt;/strong&gt; pipeline.&#xA;Setting the value &lt;strong&gt;true&lt;/strong&gt; in the key &lt;code&gt;&amp;lt;add key=&quot;owin:AutomaticAppStartup&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt; or remove the &lt;strong&gt;owin:AutomaticAppStartup&lt;/strong&gt; out the web.config file also turn on the &lt;strong&gt;owin.initialize&lt;/strong&gt; pipeline.&lt;/p&gt;&#xA;" OwnerUserId="4280" LastEditorUserId="4280" LastEditDate="2018-09-14T22:17:10.250" LastActivityDate="2018-09-14T22:17:10.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13865" PostTypeId="2" ParentId="13863" CreationDate="2018-09-13T05:41:50.713" Score="11" Body="&lt;h1&gt;How it works&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Have a look at the &lt;code&gt;App_Config/Sitecore/Azure/Sitecore.Cloud.ApplicationInsights.config&lt;/code&gt; which gets deployed to all CM/CD/PRC/REP roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will see that all the built-in log4net appenders get patched to append via the Application Insights LevelTraceAppender.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also notice that sitecore still logs to the file system on Azure PaaS, which is done via the &lt;code&gt;App_Config/Sitecore/ExperienceContentManagement.Administration/Sitecore.ExperienceContentManagement.Administration.config&lt;/code&gt;. This essentially works by patching in an extra file appender to all built-in log4net loggers.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Troubleshooting&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you are not seeing any logs - check your &lt;code&gt;appinsights.instrumentationkey&lt;/code&gt; value that is set in &lt;code&gt;ConnectionStrings.config&lt;/code&gt; is correct - it should match the Instrumentation Key displayed on your Application Insights resource. AI logs should appear in the AI search within 1 or 2 minutes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thing to check is that you are not over the daily volume cap. This can be configured by going to the Application Insights resource in the portal -&gt; Configure -&gt; Usage and estimated costs -&gt; Daily cap. You can then see a graph of current usage and change the usage cap. I have found that the default of 0.33GB is too low for a standard installation - usually 1GB is enough, but you may need 2GB or more on a production install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally - go to &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; on your CM role and make sure all the above mentions configs are loading correctly. If they are not - you may need to check your appSettings &lt;code&gt;search:define&lt;/code&gt; and &lt;code&gt;role:define&lt;/code&gt; values.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Enable Live Metrics Stream trace&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In 9.0.2 and below, the ApplicationInsights dll's are too old for this to work. For this reason I usually install &lt;code&gt;Microsoft.ApplicationInsights.Web&lt;/code&gt; in a project on the solution so that the latest dll's are deployed along with the rest of the code.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Enable Application Map&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;On all roles, in the &lt;code&gt;wwwroot/ApplicationInsights.config&lt;/code&gt;, uncomment the line containing the &lt;code&gt;DependencyTrackingTelemetryModule&lt;/code&gt;. A caution though - it nearly doubles your ApplicationInsights data usage.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Querying Application Insights&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/analytics/analyze_sitecore_logs_with_application_insights&quot; rel=&quot;noreferrer&quot;&gt;Sitecore's method of querying the logs&lt;/a&gt; is not the easiest in my opinion - I prefer to search using the query builder.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Go to the Application Insights resource and click the Analytics button on the Overview tab.&lt;/li&gt;&#xA;&lt;li&gt;The query builder will open. Paste in the following query:  &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;traces&lt;br&gt;&#xA;  | project timestamp, message, severityLevel, customDimensions.Role, customDimensions.InstanceName&lt;br&gt;&#xA;  | order by timestamp desc&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Select the time range and click Run&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2018-09-13T23:12:09.437" LastActivityDate="2018-09-13T23:12:09.437" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13866" PostTypeId="1" AcceptedAnswerId="13869" CreationDate="2018-09-13T06:58:56.973" Score="2" ViewCount="203" Body="&lt;p&gt;In Sitecore 9, in the Content Editor and under the Presentation tab, there's an option to set Aliases on an item. Assuming you already have the desired item stored in variable $item, how would you set a new alias?&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2018-09-13T12:51:49.710" Title="Setting Presentation Aliases with Sitecore Powershell Extensions" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13867" PostTypeId="2" ParentId="13736" CreationDate="2018-09-13T07:33:13.137" Score="1" Body="&lt;p&gt;We worked this out in the end.  The issue is some of our models were not added to Glass at startup through GlassMapperScCustom.GetGlassLoaders.  In editing mode when someone calls Editable in a view it calls GetTypeConfigurationFromType, which has this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      var config = TypeConfigurations.ContainsKey(type) ? TypeConfigurations[type] : null;&#xA;&#xA;       if (config != null) return config as T;&#xA;&#xA;       if (checkBase &amp;amp;&amp;amp; type.BaseType != null)&#xA;       {&#xA;           //check base type encase of proxy&#xA;           config = TypeConfigurations.ContainsKey(type.BaseType) ? TypeConfigurations[type.BaseType] : null;&#xA;       }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it checks the base class if it cant find the type configuration (which initially it doesnt as its not loaded at startup). If the base class also isnt there it uses the OnDemandLoader to add it in to the type configurations, and next time its loaded the first check succeeds. Somewhere else obscure in our code base we were also loading the base model as a standalone model, which also adds it into the type configurations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On startup, if one or our users did this action which loaded the base type, the next time the parent models where accessed the base check in GetTypeConfigurationFromType now succeeds, which causes the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution for us is to make sure all models are loaded into Glass on startup and not rely on the OnDemandLoader to add them in.&lt;/p&gt;&#xA;" OwnerUserId="4284" LastActivityDate="2018-09-13T07:33:13.137" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13868" PostTypeId="1" AcceptedAnswerId="13875" CreationDate="2018-09-13T10:07:13.400" Score="1" ViewCount="1144" Body="&lt;p&gt;I am getting the below error once I installed the Sitecore JSS server packages Preview 4. I have follwed the same steps mentioned in &lt;a href=&quot;https://jss.sitecore.net/docs/getting-started/jss-server-install&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/docs/getting-started/jss-server-install&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The controller for path '&lt;strong&gt;/sitecore/api/layout/render/jss&lt;/strong&gt;' was not found or does not implement IController.&lt;/p&gt;&#xA;&lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;/p&gt;&#xA;&lt;p&gt;Exception Details: Sitecore.Mvc.Diagnostics.ExceptionWrapper: The controller for path '/sitecore/api/layout/render/jss' was not found or does not implement IController.&lt;/p&gt;&#xA;&lt;p&gt;Source Error:&lt;/p&gt;&#xA;&lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;&lt;p&gt;Stack Trace:&lt;/p&gt;&#xA;&lt;p&gt;[ExceptionWrapper: The controller for path&#xA;'/sitecore/api/layout/render/jss' was not found or does not implement&#xA;IController.]&lt;/p&gt;&#xA;&lt;p&gt;[ControllerCreationException: Could not create controller:&#xA;'LayoutService'.  The context item is:&#xA;'/sitecore/content/Careers/Home'.  The current route url is:&#xA;'sitecore/api/layout/{action}/{configuration}'. ]&lt;br /&gt;&#xA;Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext&#xA;requestContext, String controllerName) +172&lt;br /&gt;&#xA;System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase&#xA;httpContext, IController&amp;amp; controller, IControllerFactory&amp;amp; factory)&#xA;+268    System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +95&lt;br /&gt;&#xA;System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;+923    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +157&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4021" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-04T07:28:08.090" Title="Sitecore JSS installation error" Tags="|jss|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13869" PostTypeId="2" ParentId="13866" CreationDate="2018-09-13T12:51:49.710" Score="1" Body="&lt;p&gt;To create an alias, you just need to create an item under &lt;code&gt;/sitecore/system/aliases&lt;/code&gt; using the template &lt;code&gt;/sitecore/templates/System/Alias&lt;/code&gt; and fill in the required fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In SPE that would look something like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$aliasName = &quot;Your Alias Name Here&quot;&#xA;$newAlias = New-Item -Path &quot;master:\system\aliases&quot; -Name $aliasName -ItemType &quot;system/alias&quot;&#xA;$newAlias.Editing.BeginEdit()&#xA;$newAlias._.&quot;Linked Item&quot;.TargetID = $item.ID&#xA;$newAlias._.&quot;Linked Item&quot;.LinkType = &quot;internal&quot;&#xA;$newAlias.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That will create the alias item and set the linked item to the item in your &lt;code&gt;$item&lt;/code&gt; variable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The alias url is defined by the item name of the alias item. So you would need to set that to whatever you wanted the alias to be. Maybe with a &lt;code&gt;Read-Variable&lt;/code&gt; to get the user input.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-09-13T12:51:49.710" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13870" PostTypeId="2" ParentId="13859" CreationDate="2018-09-13T13:25:12.387" Score="1" Body="&lt;h2&gt;Can we use SQL users after installation?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have outlined some ways to NOT use Contained Authentication in this other question on SSE: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11047/sitecore-9-installation-using-sql-active-directory-user/11063&quot;&gt;Sitecore 9 installation using SQL active directory user&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why contained database users?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You should note, based on the details from that question, that Contained is an absolute requirement when using Azure. If you plan on going to Azure SQL, you will need to use contained database users. This is one of the reasons it has been introduced so that we can move towards practices that are current and &quot;cloud-ready&quot;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;&quot;DB has to be contained&quot; error&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Regarding your restore issue, you likely were restoring databases that already had contained users in them, which is why you would receive that error.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-09-13T13:25:12.387" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13871" PostTypeId="2" ParentId="13809" CreationDate="2018-09-13T13:40:31.623" Score="1" Body="&lt;p&gt;Following document contains information for developers who would like to start on sitecore..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/developer-getting-started-&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/developer-getting-started-&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Getting up and running&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Some helpful steps when you first want to get started: &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Make sure you can log into profile.sitecore.net. This is your key to&#xA;  being able to access so many things in the Sitecore world.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Understand prerequisites with &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/installing-sitecore-9-introduction&quot; rel=&quot;nofollow noreferrer&quot;&gt;Installing Sitecore 9&lt;/a&gt; blog series. For a&#xA;  video guide, watch &lt;a href=&quot;https://www.youtube.com/watch?v=z8CWDtPq5iw&amp;amp;list=PLBDqdodEhG7-9-hX5R_m2UAvpMKEZp-xY&quot; rel=&quot;nofollow noreferrer&quot;&gt;Install Sitecore 9&lt;/a&gt; playlist while you follow along.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Download Sitecore 9 today from dev.sitecore.net. Refer to Release&#xA;  information: Instillation Guide for details. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Take a &lt;a href=&quot;http://siteco.re/2DZoQcV&quot; rel=&quot;nofollow noreferrer&quot;&gt;free eLearning&lt;/a&gt; course! This free course from Sitecore will&#xA;  guide you through the basics of Sitecore and set you up for future&#xA;  training and certification.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Dig into the &lt;a href=&quot;http://siteco.re/2C485fp&quot; rel=&quot;nofollow noreferrer&quot;&gt;Developer Documentation&lt;/a&gt; for Sitecore 9. This technical&#xA;  documentation will help you understand more about the platform and the&#xA;  architecture.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;See enablement content from the most recent &lt;a href=&quot;http://vshow.on24.com/vshow/SitecoreGVS/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Virtual Developer Day&lt;/a&gt;.&#xA;  We'll be sure to reach out when future developer events come around.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="383" LastActivityDate="2018-09-13T13:40:31.623" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13872" PostTypeId="2" ParentId="13829" CreationDate="2018-09-13T13:47:06.130" Score="3" Body="&lt;p&gt;I would recommend you to explore Sitecore Cognitive Services which is an integration between Sitecore and Microsoft Cognitive Services. The foundation of Sitecore Cognitive Services uses Sitecore's Content Search to analyze text and images with a number of cognitive API's. The analyses is based on computed fields so content is indexed as it's created and will store the analysis in the index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your specific requirement about Advanced Image Search, Sitecore Cognitive Services are equipped with:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Visual Analysis&lt;/li&gt;&#xA;&lt;li&gt;Emotional Analysis&lt;/li&gt;&#xA;&lt;li&gt;Facial Analysis&lt;/li&gt;&#xA;&lt;li&gt;Text Analysis etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For more details please checkout the URls below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Symposium 2017: Sitecore Cognitive Services Presentation:-&lt;/strong&gt;&#xA;&lt;a href=&quot;https://www.youtube.com/watch?v=F8aRrj_uWMk&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=F8aRrj_uWMk&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Blog post by Mark Stiles:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://markstiles.net/blog/2017/2/22/sitecore-cognitive-services/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://markstiles.net/blog/2017/2/22/sitecore-cognitive-services/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2018-09-14T12:51:09.957" LastActivityDate="2018-09-14T12:51:09.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13873" PostTypeId="2" ParentId="13851" CreationDate="2018-09-13T13:52:00.877" Score="1" Body="&lt;p&gt;when you check your logfiles you might find something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;14052 12:17:31 ERROR Failed to process an email opened task&#xA;Exception: Sitecore.EmailCampaign.Model.Web.Exceptions.MessageEventPipelineException&#xA;Message: Failed to get campaign for Message id: {guid}, Contact identifier: Alias PII removed&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This indicates that the campaign can not be found, or that at least it is not available in the &quot;en&quot;-culture. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had the issue with our emails being created in Dutch (nl-be culture) and translated into French (fr-be culture). EXM created those campaigns only in the nl-be, there was no version for fr-be or en.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solutions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create the en-version of the associated campaign manually.&lt;/li&gt;&#xA;&lt;li&gt;Another option is to fix the Sitecore.Modules.EmailCampaign.Core.Pipelines.HandleMessageEventBase.IdentifyCampaign  processor.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-09-13T13:52:00.877" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13874" PostTypeId="2" ParentId="13853" CreationDate="2018-09-13T13:56:09.950" Score="1" Body="&lt;p&gt;You can run Sitecore 7 on Azure Classic (aka old PaaS) with worker roles. But I would not recommend it...&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-09-13T13:56:09.950" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13875" PostTypeId="2" ParentId="13868" CreationDate="2018-09-13T14:14:06.897" Score="1" Body="&lt;p&gt;It sounds like some kind of custom routing setup may be conflicting with Layout Service's routing registration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Layout service (App_Config/Sitecore/LayoutService/*.config) patches its route registrations after the &lt;code&gt;Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc&lt;/code&gt; pipeline processor, so if some other custom routing causes this patch to fail, the LS route may not be registered correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; page will let you diagnose this issue and see the interactions between custom routing. If the &lt;code&gt;Sitecore.LayoutService.Mvc.Pipelines.Initialize.RegisterRoutes, Sitecore.LayoutService.Mvc&lt;/code&gt; pipeline processor does not go before the &lt;code&gt;InitializeRoutes&lt;/code&gt; pipeline processor, the LS will not register correctly.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-09-13T14:14:06.897" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13877" PostTypeId="1" CreationDate="2018-09-13T14:27:53.700" Score="1" ViewCount="147" Body="&lt;p&gt;I've an excel sheet with list of contacts that I've uploaded to Sitecore using xconnect through stand alone console app.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;                var client = new HRDataImport.ConsoleApp.XConnnectClient();&#xA;&#xA;                Console.WriteLine(&quot;Step 1: Retrieve Sitecore XConnect certificate and Url from App.config&quot;);&#xA;                xconnectCertificate = ConfigurationManager.AppSettings.Get(&quot;XCONNECT_CLIENT_CERTIFICATE_THUMBPRINT&quot;);&#xA;                xconnectUrl = ConfigurationManager.AppSettings.Get(&quot;XCONNECT_CLIENT_SERVICE_URL&quot;);&#xA;                Console.WriteLine(&quot;XConnect Url: &quot; + xconnectUrl);&#xA;                Console.WriteLine(&quot;XConnect Certificate: &quot; + xconnectCertificate);&#xA;                Console.WriteLine();&#xA;                // connect to xconnect and submit contact &#xA;                Console.WriteLine(&quot;Initialize Sitecore XConnect using HRInformation Model&quot;);&#xA;                client.Initialize(xconnectCertificate, xconnectUrl).GetAwaiter().GetResult();&#xA;                Console.WriteLine(&quot;Get/Create Sitecore contact &quot;);&#xA;                foreach (var emp in Employess)&#xA;                {&#xA;&#xA;                  Console.WriteLine(&quot;Get contactwith id :&quot;+ emp.EmpMail);&#xA;                  var contact = client.GetContact(emp.EmpMail).GetAwaiter().GetResult();&#xA;&#xA;                if (contact != null)&#xA;                {&#xA;                    Console.WriteLine(&quot;CONTACT FOUND&quot;);&#xA;                    var personalInfo = contact.GetFacet&amp;lt;PersonalInformation&amp;gt;();&#xA;&#xA;                    Console.WriteLine(&quot;personalInfo.FirstName: &quot; + personalInfo.FirstName);&#xA;                    Console.WriteLine(&quot;personalInfo.LastName: &quot; + personalInfo.LastName);&#xA;                    Console.WriteLine(&quot;personalInfo.JobTitle: &quot; + personalInfo.JobTitle);&#xA;&#xA;                    }&#xA;                else&#xA;                {&#xA;                    Console.WriteLine(&quot;NO CONTACT FOUND&quot;);&#xA;                    Console.WriteLine(&quot;----------------&quot;);&#xA;                    Console.WriteLine(&quot;Create contact, set information and submit&quot;);&#xA;                    client.SetPersonalInformation(emp.FirstName, emp.LastName, emp.JobTitle);                        &#xA;                    client.Submit(emp.EmpMail).GetAwaiter().GetResult();&#xA;                }&#xA;                Console.WriteLine();&#xA;                Console.WriteLine(&quot;-------Done Emp Id --&quot;+ emp.EmpMail);&#xA;                }&#xA;&#xA;        public async Task Submit(string identifier, string source = CONTACT_SOURCE_IDENTIFIER)&#xA;        {&#xA;            if (_cfg == null)&#xA;                throw new Exception(&quot;Initialize must be called first.&quot;);&#xA;&#xA;            using (var client = new XConnectClient(_cfg))&#xA;            {&#xA;                // Identifier for a 'known' contact&#xA;                var contactIdentifier = new ContactIdentifier(source, identifier, ContactIdentifierType.Known);&#xA;                var identifiers = new ContactIdentifier[] { contactIdentifier };&#xA;&#xA;                // Create a new contact object from the identifier&#xA;                _contact = new Contact(identifiers);&#xA;                //Add to the client&#xA;                client.AddContact(_contact);&#xA;                client.SetFacet(_contact, PersonalInformation.DefaultFacetKey, personalInfo);&#xA;                client.SetFacet(_contact, EmailAddressList.DefaultFacetKey, emails);                    &#xA;                //Submit changes&#xA;                await client.SubmitAsync();&#xA;            }&#xA;&#xA;            _contact = null;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I've done Azure AD integration to let the users sign in using their windows username/password.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8K46z.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8K46z.jpg&quot; alt=&quot;Azure AD Integration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I'm trying to do, is that after the user logs in using Azure AD to Sitecore; I need to map the existing contact to the user that is being logging in.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference, I've used Habitat's accounts feature and this is what I've done so far, but I'm facing lots of issues regarding the tracker and it's &quot;isActive&quot; is always set to false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;If you have better solution please bring it on, I don't mind starting over with the right approach.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;owin.cookieAuthentication.signedIn&amp;gt;&#xA;    &amp;lt;processor type=&quot;Accounts.Infrastructure.Pipelines.SignedIn.TrackSignedIn, Feature.Accounts&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/owin.cookieAuthentication.signedIn&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TrackSignedIn.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        public override void Process(SignedInArgs args)&#xA;        {&#xA;            var provider = this.GetProvider(args.Context.Identity);&#xA;            if (provider.Name == Sitecore.Owin.Authentication.Constants.LocalIdentityProvider)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            if (Tracker.Current == null)&#xA;            {&#xA;                Tracker.Initialize();&#xA;            }&#xA;          this.AccountTrackerService.TrackLoginAndIdentifyContact(provider.Name, args.User.Id);&#xA;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;AccountTrackerService.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        public virtual void TrackLoginAndIdentifyContact(string source, string identifier)&#xA;        {&#xA;            this.trackerService.TrackGoal(LoginGoalId, source);&#xA;            this.trackerService.IdentifyContact(source, identifier);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TrackerService.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public void IdentifyContact(string source, string identifier)&#xA;    {&#xA;        if (!this.IsActive) /*Tracker.Current.IsActive is Always False!!*/&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Tracker.Current.Session.IdentifyAs(source, identifier);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After solving is IsActive issue, I was going to change the identifier to match the one I used in the console app so it can map the existing contact to the logged in user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Again this could be the wrong way, please let me know your thoughts either by solving the IsActive issue or by bringing up whole new solution.&lt;/p&gt;&#xA;" OwnerUserId="4289" LastActivityDate="2018-09-13T14:27:53.700" Title="Mapping Sitecore contact to Azure AD user" Tags="|xconnect|azure-ad|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13880" PostTypeId="1" AcceptedAnswerId="13881" CreationDate="2018-09-13T19:45:48.720" Score="4" ViewCount="203" Body="&lt;p&gt;I want to change SXA search box algorithm to support exact matching, when I search with a work like &quot;National Day&quot;, it returns results that contains &quot;National&quot; or &quot;Day&quot; or &quot;National Day&quot;, I want it to returns results that contains &quot;National Day&quot; as a whole only.&lt;/p&gt;&#xA;" OwnerUserId="4229" LastActivityDate="2018-09-13T19:53:41.850" Title="SXA Search box algorithm" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13881" PostTypeId="2" ParentId="13880" CreationDate="2018-09-13T19:53:41.850" Score="5" Body="&lt;p&gt;This is not possible out of the box, although we've been discussing this today and there is a chance we will change it in future releases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to change it on your own you need to implement your own SearchService. It might sound scary but in fact, you just need to inherit from SXA &lt;code&gt;SearchService&lt;/code&gt; and override &lt;code&gt;ContentPredicate()&lt;/code&gt; method. Take a look at original implementation, you will notice that we are using there &lt;code&gt;Contains&lt;/code&gt; LINQ method which is comparing search query with AggregatedContent field. Probably you just need to replace &lt;code&gt;Contains&lt;/code&gt; with &lt;code&gt;Equals&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this just replace SXA implementation of ISearchService with your one in the DI container.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-09-13T19:53:41.850" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13883" PostTypeId="1" CreationDate="2018-09-14T03:54:17.077" Score="3" ViewCount="575" Body="&lt;p&gt;We need to setup infrastructure for Sitecore 9 update 2 in azure PaaS. To achieve this we first need to identify which one is must/optional for costing. Have been reading all Sitecore documentations below on what role/service/database/index_cores etc required for this but I'm bit confused:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-vertically/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-vertically/index.html&lt;/a&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/deploying/sitecore_configurations_and_topology_for_azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/deploying/sitecore_configurations_and_topology_for_azure&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are not planning to use EXM or Marketing automation. Appreciate if someone could advice on what role and services needs to be setup in production. Here's what've got so far:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Dedicated CD&lt;/li&gt;&#xA;&lt;li&gt;Dedicated CM with Processing and Reporting&lt;/li&gt;&#xA;&lt;li&gt;Dedicated xConnect&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I'm not sure:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Where these services below will reside. Sound like they can be bundled in to one dedicate instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Marketting automation Reporting/Operation, Referece Data Service, Marketing Automation Engine.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Whether we must install EXM/Marketing Automation databases or it's optional&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Do we also need Web Jobs, how do know whether it's required?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Do we need message bus, how do know whether it's required?&lt;/li&gt;&#xA;&lt;li&gt;Do we need a separate database server for hosting  1. (web/master/core/reporting) 2. collection 3. Processing/Marketing&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="316" LastEditorUserId="316" LastEditDate="2018-09-14T06:47:25.543" LastActivityDate="2018-09-14T14:12:31.510" Title="Sitecore 9 Infrastructure (roles and services required) Design in Azure" Tags="|azure|infrastructure|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13884" PostTypeId="2" ParentId="13883" CreationDate="2018-09-14T06:37:17.037" Score="1" Body="&lt;p&gt;you can run all the services in one of the other roles - so minimum need without discussing what the performance requiresments of the site it should run is difficult. You can just move all webroles to the same app service plan for cost savings - it is the app service plan that has the real cost.&#xA;Do not forget the infrastructure services (Redis cache and Azure Search). these are the expensive ones - and again might be cost saved uzing Solr and a smaller edition of Redis that what the ARM templates do&#xA;ALso - move the database to a elastic pool - then the number of databases probably do not matter&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2018-09-14T06:37:17.037" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13885" PostTypeId="2" ParentId="13883" CreationDate="2018-09-14T07:43:47.340" Score="2" Body="&lt;p&gt;If you are not planning on using marketing automation, you might want to setup an XM environment. XM is sitecore CMS-only and doesn't include xDB.&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/experience_management_an_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/experience_management/experience_management_an_overview&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this setup, you don't need those xDB services and only require a CM and CD server (which could be combined on one server as well)&#xA;In XM0 (aka XMSingle), all CM and CD are combined on one instance.&#xA;In XM1, CM and CD server are splitted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding your databases, I would recommend to put all your databases on the same server (as default) + setup an elastic database pool. When using an elastic pool, there is no cost involved when adding additional databases. It also improves your performance during startup. &lt;a href=&quot;http://onelittlespark.bartverdonck.be/how-to-boost-your-sitecore-azure-paas-website-for-zero-dollars/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://onelittlespark.bartverdonck.be/how-to-boost-your-sitecore-azure-paas-website-for-zero-dollars/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-09-14T07:43:47.340" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13887" PostTypeId="1" CreationDate="2018-09-14T10:55:41.330" Score="1" ViewCount="96" Body="&lt;p&gt;I'm updating some of our search code to utilise boosting of different fields. We have been given a specification of the boosting values to be applied to different fields. We are covering 15 fields in total with boost values ranging from 24 to 50 (steps of 2). No other fields have custom boost values applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some sort of rule of thumb on how to decide on appropriate boost values?&#xA;I experimented by changing one boost value from 50 to 100 and seemed to get &lt;em&gt;better results&lt;/em&gt; this way (ie an expected page appeared first in the results).&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-02-01T18:18:15.973" Title="Content Search - How to choose boost values" Tags="|content-search|lucene|azure-search|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13888" PostTypeId="1" AcceptedAnswerId="13890" CreationDate="2018-09-14T11:53:40.800" Score="1" ViewCount="100" Body="&lt;p&gt;I want to exclude two fields with the same name from indexing.&#xA;Can I have two entries in the DefaultIndexConfiguration.config file in the exclude list or is there any other way ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example below where &lt;code&gt;Parameters_template&lt;/code&gt; is the field name.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Parameters_template&amp;gt;{04F2D6D8-7748-425C-A435-B63C4FFBF43E}&amp;lt;/Parameters_template&amp;gt;&#xA;&amp;lt;Parameters_template&amp;gt;{9003574A-FB95-4FC3-B17C-33893DAD35A9}&amp;lt;/Parameters_template&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="237" LastEditDate="2018-09-14T15:03:11.823" LastActivityDate="2018-09-14T15:03:11.823" Title="Excluding fields with same name from indexing" Tags="|indexing|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13889" PostTypeId="1" CreationDate="2018-09-14T11:59:30.267" Score="1" ViewCount="260" Body="&lt;p&gt;Instance of Sitecore 8.2 is set up with one main website and multiple sub-websites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each sub-website has their own set of users/roles and a folder in the media library. Initially every role has full access to every folder and you must deny certain access (write, create, rename, and delete) manually for each folder for each role. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For every new folder that is put into the media library, you must then go back to all the current/older roles and update their permissions (denying the write, create, rename, and delete access) manually for each new folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are looking to simplify this solution , so each current/older role is denied permissions automatically for each new folder added and each new role is automatically denied permissions to all current/older folders. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would this be possible?&lt;/p&gt;&#xA;" OwnerUserId="4295" LastEditorUserId="2153" LastEditDate="2018-09-16T15:14:51.350" LastActivityDate="2018-09-16T15:14:51.350" Title="Sitecore Media Library Permission Restrictions" Tags="|editor-user-permissions|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13890" PostTypeId="2" ParentId="13888" CreationDate="2018-09-14T12:13:00.247" Score="1" Body="&lt;p&gt;The name you use in the configuration is actually meaningless (unless for readability) so yes, you can. I'm not sure however that it will work if you have the same entry multiple times - suggestion: just try it ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, as mentioned, you can easily get what you need with this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ParametersTemplate1&amp;gt;{...}&amp;lt;/ParametersTemplate1&amp;gt;&#xA;&amp;lt;ParametersTemplate2&amp;gt;{...}&amp;lt;/ParametersTemplate2&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-09-14T12:13:00.247" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13891" PostTypeId="1" CreationDate="2018-09-14T12:39:09.127" Score="0" ViewCount="53" Body="&lt;p&gt;When I have have my navigation tree with page X and page Y and some content on page X and I need to show the same page X with the same content under an other content tree. E.g. page X under page Z. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to only create a &quot;virtual&quot; Link or so? So that I have the same page and I need to nurse the content once?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore%20experience%20platform/content%20authoring/managing%20items/cloning%20%20versioning/clones&quot; rel=&quot;nofollow noreferrer&quot;&gt;Cloneing in sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="605" LastEditDate="2018-09-14T13:46:30.663" LastActivityDate="2018-09-14T13:46:30.663" Title="&quot;virtual&quot; sites in the navigation tree" Tags="|sitecore-api|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13893" PostTypeId="1" CreationDate="2018-09-14T13:25:30.867" Score="0" ViewCount="121" Body="&lt;p&gt;I want to understand the multi-site manager Flush event. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of flush event triggered every time after successful creation of site, IIS reset's which makes the site outage and not able to perform any operation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this really needed or the FLUSH operation can be postponed during deployment activity?&lt;/p&gt;&#xA;" OwnerUserId="4296" LastEditorUserId="605" LastEditDate="2018-09-19T10:27:33.353" LastActivityDate="2018-09-19T10:27:33.353" Title="What is the use of Flush Event in Multi-site manager?" Tags="|multisite|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13894" PostTypeId="1" CreationDate="2018-09-14T13:36:34.660" Score="9" ViewCount="2275" Body="&lt;p&gt;I had a strange problem when I was installing Sitecore 9.1 and here is the solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The problem&lt;/strong&gt; occurred when running the SIF command &lt;em&gt;Install-SitecoreConfiguration @xconnectParams&lt;/em&gt; from the SIF section &lt;em&gt;# Deploy XConnect instance&lt;/em&gt;. It failed with this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-SitecoreConfiguration : Cannot retrieve the dynamic parameters&#xA;  for the cmdlet. Retrieving the COM class factory for component with&#xA;  CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} failed due to the&#xA;  following error: 80040154 Class not registered (Exception from&#xA;  HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). At line:1 char:1&#xA;  + Install-SitecoreConfiguration @xconnectParams -verbose  *&gt;&amp;amp;1 | Tee-Ob ...&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4297" LastEditorUserId="237" LastEditDate="2018-09-14T15:07:02.520" LastActivityDate="2019-06-28T17:33:55.127" Title="When installing Sitecore 9.1, how does one fix this error &quot;Cannot retrieve the dynamic parameters for the cmdlet...&quot;?" Tags="|sitecore-install-framework|installation|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13896" PostTypeId="1" CreationDate="2018-09-14T14:03:10.763" Score="1" ViewCount="489" Body="&lt;p&gt;I'm currently setting up a new JSS project using the JSS React boilerplate and I ran into an issue regarding the scaffolding of components. When using the scaffolding script I can use &lt;code&gt;jss scaffold Foo&lt;/code&gt; to scaffold a Foo component in the &lt;code&gt;src/components&lt;/code&gt; folder as well as the needed sitecore files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to achieve scaffolding nested components in the &lt;code&gt;src/components&lt;/code&gt; folder a React.js front-end SPA. With the current way of scaffolding, I'm not able to do this. Placing the scaffolded component in a subfolder in &lt;code&gt;src/components/Bar/Foo&lt;/code&gt; won't work. Even when I keep the same folder structure in &lt;code&gt;sitecore/definitions/components&lt;/code&gt;. I suspect this is due to some paths being used while scaffolding in seperate files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to have nested components in &lt;code&gt;src/components&lt;/code&gt; to build a structured project?&lt;/p&gt;&#xA;" OwnerUserId="4298" LastActivityDate="2018-09-14T14:19:26.467" Title="Nested Components Scaffolding" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13897" PostTypeId="2" ParentId="13883" CreationDate="2018-09-14T14:12:31.510" Score="4" Body="&lt;h2&gt;Azure PaaS on the Cheap&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your focus seems to be on reducing costs, so the first thing to make sure of is to reduce the number of app service plans being used. This doesn't necessarily mean merging together apps in Sitecore, but making sure your apps use the same app service plans. There are some examples of this in the &lt;a href=&quot;https://kb.sitecore.net/articles/267409&quot; rel=&quot;nofollow noreferrer&quot;&gt;standard topologies&lt;/a&gt;. Note how Small and Extra Small merge some apps into the same plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned previously, Azure Search can be a source of cost, so if you are willing to spin up the Solr piece yourself then that can save you some monthly dollars.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No matter what topology you end up with, remember that at some point you will want to log a support ticket so there is some value in having something that is not missing pieces.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;No EXM or MA&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This means you should not deploy a separate Dispatch Server instance, you can save on one instance there (though it's more like saving on not adding an instance). You can see how to disable the functionality here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9745/disable-exm-and-remove-connection-strings&quot;&gt;Disable EXM and remove connection strings&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are not using MA, then you probably don't want to deploy any dedicated instances specifically for Marketing Automation worker or APIs, but given the UI is in the product out-of-the-box, I would not recommend removing these components. Simply have them on shared app service plans with other elements.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Bundling XP Services&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There are a lot of options for what to do with xConnect and the other new XP Services (Marketing Automation Worker, Operations API, etc.). You can physically merge them, as is done in XP Single where all of them run as a single app. Or you can run them all separately but on the same plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, you go with scaled but sharing an app service plan, or go with two app service plans as shown in the standard topologies to allow for xConnect collection to be scaled separately from the other apps. Going with the scaled version will give you the infrastructure flexibility you will need to isolate the apps as you start seeing different load distributions in your application.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Should you install EXM/MA databases?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Just from a support and making-life-easier standpoint, I would make sure the databases are there if you can find a cost-effective way (like elastic pools) to have all dbs. You don't want to be having an issue and then wondering if it's the strange changes you've made to the architecture that are causing it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Web Jobs?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You definitely need the one for the Search Index worker as the index is what everything is looking at for contact data. The Marketing Automation Worker job makes sure that plans get processed. Again, since MA is in the tool by default, even if you don't plan on using it you probably want this job installed. It installs on an existing app.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Message bus?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In 9.0.2 the message bus (REBUS) is only being used by EXM, but in future versions more of the software will be using it for messaging between applications and services. You probably want this here to help with upgrades and enabling new functionality in the future, but you won't actually be putting any data in here most likely.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Separate databases?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I strongly recommend you to separate collection from everything else in production. It will chew your IO resources and you don't want anything going on in there impacting anything else in the system for a live site.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-09-14T14:12:31.510" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13898" PostTypeId="2" ParentId="13896" CreationDate="2018-09-14T14:19:26.467" Score="3" Body="&lt;p&gt;Assuming you used one of the sample apps to bootstrap your app, the scaffolding script is located in &lt;code&gt;scripts/scaffold-component.js&lt;/code&gt; and is fully customizable to suit your needs and patterns. In this same file you can customize the manifest definition scaffolding as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll likely also want to change the component factory generation script &lt;code&gt;scripts/generate-component-factory.js&lt;/code&gt; as well (if you're using it) to match the nested structure of your components.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-09-14T14:19:26.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13899" PostTypeId="2" ParentId="13894" CreationDate="2018-09-14T14:34:35.147" Score="9" Body="&lt;p&gt;The solution was changing the &quot;bitness&quot; of my PowerShell.exe. Somehow, and I have a guess how, I was running 32 bit Powershell instead of 64 bit Powershell on my 64 bit Azure VM. Once I started the 64 bit version of Powershell, all was fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The (correct) 64 bit was located at &lt;code&gt;C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My guess on how I started the 32 bit instead was I searched for Powershell.exe and did not notice that it was starting from the 32 bit folder &lt;code&gt;C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4297" LastEditorUserId="237" LastEditDate="2018-09-14T15:06:04.060" LastActivityDate="2018-09-14T15:06:04.060" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13900" PostTypeId="1" CreationDate="2018-09-14T15:03:24.107" Score="1" ViewCount="1077" Body="&lt;p&gt;I have filter (checklist) on a page with facets set to SxATags. It is not pulling any tags. When I switch the facet to title, it does work. Please advice. After adding filter(checklist) and Search results components on page, I did rebuild the indexes as well. Please advice if I am missing any steps. I am on sitecore 9.0.2 with SxA 1.7.1. Thanks&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="73" LastEditDate="2019-04-15T08:10:14.800" LastActivityDate="2019-10-30T15:19:16.117" Title="SXA filter (checklist) not working with facets SxaTags" Tags="|sxa|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13901" PostTypeId="1" AcceptedAnswerId="13902" CreationDate="2018-09-14T16:06:37.247" Score="3" ViewCount="578" Body="&lt;p&gt;Some time ago my team and I decided to break out some often-used fields into components that can be inherited, a Heading field being one of them. We put the Heading field into it's own template and started using it as one of the base templates for other templates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As we started using this component we discovered that when you have more than one component on the same page that uses it, the value of one of the Heading fields will be shared across all instances of that field on that page. My question is: Is there a way to make inherited fields unique to the parent item that uses it? Or are we just doing it wrong?&lt;/p&gt;&#xA;" OwnerUserId="2974" LastActivityDate="2018-09-14T21:17:04.970" Title="Template inheritance - how to resolve duplicate usage" Tags="|templates|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13902" PostTypeId="2" ParentId="13901" CreationDate="2018-09-14T16:38:01.200" Score="9" Body="&lt;p&gt;A solid option is to build components that have a data source item rather than relying purely on fields defined on the page.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Here's a scenario to help explain what I mean:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say you need to render a hero on the page, along with a few promotional items. I would imagine that the hero image is defined on the page, since many of those page types could use a hero. We add a &lt;strong&gt;Page Content&lt;/strong&gt; component to render &lt;em&gt;Content&lt;/em&gt; text and the &lt;em&gt;Hero&lt;/em&gt; image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LCniX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LCniX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could add more fields to the page template, but why not have the component reference a data source designed specifically for what's need? So after some more development, improved styles... you add new components with data sources. We add two &lt;strong&gt;Promo&lt;/strong&gt; components configured with local or global data sources.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V4Udk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V4Udk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This was demoed with SXA. I encourage you to give that product a spin to see just how simple this can be.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-09-14T16:38:01.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13903" PostTypeId="2" ParentId="13901" CreationDate="2018-09-14T21:17:04.970" Score="1" Body="&lt;p&gt;As Michael mentions, you are doing it wrong.  You have a page item that has fields on it, and then building components that pull fields from the current context item.  As Michael noted, you should always build components that are reusable with a data source (with fields) that are contained within another item.  That way if you want to add 50 headline components to a page, you don't run into a scenario where you can't because you need to add another headline to your page template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said all that, there is a way you can get around that.  It's bad practice, and I highly recommend that you do not follow this.  You could create on your headline component a rendering parameter.  This rendering parameter would include the name of the field to pull from.  Example, if you had on your context item 5 headline fields, such as (headline 1, headline 2, etc), you could specify in the rendering parameters that this component will pull in the value &lt;code&gt;headline 1&lt;/code&gt;.  Then on the second headline component on that same page, you could set the rendering parameters to pull from &lt;code&gt;headline 2&lt;/code&gt;.  This would also allow you to get around the issue of building 5 headline components for a page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But like I said, this is a bad practice.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-09-14T21:17:04.970" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13906" PostTypeId="1" CreationDate="2018-09-15T18:45:28.347" Score="1" ViewCount="218" Body="&lt;p&gt;I have cloned the SXA Image Component by creating a new view file, new template and new rendering parameters template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lncBP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lncBP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a &lt;code&gt;URL&lt;/code&gt; field in the item and I have inserted an external link in here. I have also created a rendering variant with a single image field (Is Link set to true). But the output for the link (href) is always &lt;code&gt;#&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QF7na.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QF7na.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JYrGY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JYrGY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="237" LastEditDate="2018-09-16T08:35:01.543" LastActivityDate="2018-09-16T08:35:01.543" Title="Href url for cloned Image component is always #" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13907" PostTypeId="2" ParentId="12832" CreationDate="2018-09-16T07:14:57.740" Score="0" Body="&lt;p&gt;I am sure you have resolved this issue, but for other developers who might encountered this problem; I had encountered similar issue while installing habitat in Sitecore 9-Update 1. Spent few hours trying to resolve/troubleshoot it, but ended up installing a vanilla Sitecore 9-Update 2 instead using habitat scripts (install-xp0.ps1) because upgrade process from U1 to U2 will definitely take more time. &lt;/p&gt;&#xA;" OwnerUserId="1605" LastActivityDate="2018-09-16T07:14:57.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13908" PostTypeId="2" ParentId="13906" CreationDate="2018-09-16T08:31:10.600" Score="1" Body="&lt;p&gt;The SXA image component does not work this wway.. it looks for the &lt;code&gt;TargetUrl&lt;/code&gt; field from the Image datasource template (it uses the actual guid for this - &lt;code&gt;{54CAB1BA-53D3-4CE4-AB7E-F8C17596AA47}&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The variant is rendered with this value (or &lt;code&gt;#&lt;/code&gt; if not found) as a &quot;href override&quot;. That is where the url comes from..  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without this, the &quot;Is link&quot; would link to the context item (at that moment), which would mean your link goes to the image item itself what would be pointless.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you want to customize the image component, use the original template as a base template for your own. This way you will have the TargetUrl field in your template.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-09-16T08:31:10.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13909" PostTypeId="2" ParentId="13357" CreationDate="2018-09-16T10:47:37.980" Score="0" Body="&lt;p&gt;In your screenshot there is nothing set on the personalize content. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To test that personalization works on your site I would create two simple rules, is it Sunday and point to one personalize content and do the same for another day. Play around with those simple rules.&#xA;I would recommend to test these out in explore mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/explore_mode/explore_mode&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.net explore mode&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a client that doesn't have xdb in their license, than xDB would be deactivated.&#xA;You could check the logs to verify that xdb is enabled on site startup.&lt;/p&gt;&#xA;" OwnerUserId="4304" LastEditorUserId="4304" LastEditDate="2018-09-17T05:12:09.387" LastActivityDate="2018-09-17T05:12:09.387" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13910" PostTypeId="2" ParentId="11543" CreationDate="2018-09-16T11:02:56.340" Score="1" Body="&lt;p&gt;Does the site you run has this settings in the site definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt; &#xA;&amp;lt;site name=&quot;website&quot; scheme=”https”... /&amp;gt; &#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This parameter influences link formation by the LinkManager class. If this parameter is not defined in the web.config  section, then LinkManager can return a link in the following format: “://home.aspx” without the protocol identifier “http” or “https”. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/Articles/Administration/Configuring%20Multiple%20Sites/Adding%20New%20Site/site%20Attribute%20Properties/scheme.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Scheme sdn&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should also ensure that all traffic is served over SSL/TLS, open the Sitecore web.config file and edit the  section to include these attributes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web&amp;gt;&#xA;    &amp;lt;httpCookies httpOnlyCookies=&quot;true&quot; requireSSL=&quot;true&quot; lockItem=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/system.web&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/use_https_on_all_your_sitecore_instances&quot; rel=&quot;nofollow noreferrer&quot;&gt;Use HTTPS on all your Sitecore instances&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4304" LastEditorUserId="4304" LastEditDate="2018-09-16T16:35:04.863" LastActivityDate="2018-09-16T16:35:04.863" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13911" PostTypeId="2" ParentId="11235" CreationDate="2018-09-16T12:40:52.267" Score="1" Body="&lt;p&gt;If you are not using SXA and your default currency is not USD, for one or the products, add a dummy List Price in USD (e.g. zero) and see if that item is now purchasable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you using the Habitat Retail Demo code as a reference, it makes a the default calls (with default USD underlying). Therefore, even if you change the currency to EUR in storefront settings in Sitecore and shop default currency in config, the engine will still make a call using USD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to confirm the currency being passed in the call made to the Commerce Engine, you need to use Wireshark to inspect the calls made to the engine. For a guide on how to do this, follow this excellent article by Kazim Nami:&#xA;&lt;a href=&quot;https://kazimnami.com/2017/11/18/wireshark-and-sitecore-commerce-engine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kazimnami.com/2017/11/18/wireshark-and-sitecore-commerce-engine/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details on this error, please refer to my blog post here:&#xA;&lt;a href=&quot;https://sitecoredude.com/sitecore-xc9-add-cart-line-error-item-is-not-purchasable/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoredude.com/sitecore-xc9-add-cart-line-error-item-is-not-purchasable/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3940" LastActivityDate="2018-09-16T12:40:52.267" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13912" PostTypeId="2" ParentId="9484" CreationDate="2018-09-16T12:47:12.590" Score="1" Body="&lt;p&gt;Make sure your storefront name is the configured correctly and is named consistently. There are a couple of different places where you need to check:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Storefront Item in Sitecore Commerce Control Panel&lt;/li&gt;&#xA;&lt;li&gt;Default Shop Name in Sitecore.Commerce.Engine.Connect.config&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For more details on how to update the default storefront name, please checkout my blog post here:&#xA;&lt;a href=&quot;https://sitecoredude.com/how-to-change-the-default-storefront-name-in-sitecore-experience-commerce-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoredude.com/how-to-change-the-default-storefront-name-in-sitecore-experience-commerce-9/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have already done the above, &lt;strong&gt;clear your browser cache&lt;/strong&gt; and test again.&lt;/p&gt;&#xA;" OwnerUserId="3940" LastEditorUserId="3940" LastEditDate="2018-09-30T14:53:41.543" LastActivityDate="2018-09-30T14:53:41.543" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13913" PostTypeId="1" AcceptedAnswerId="13914" CreationDate="2018-09-16T13:24:22.530" Score="1" ViewCount="62" Body="&lt;p&gt;We are using habitat in our project. In most of our controller class of each feature, we are doing a same service call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So we are planning to have a Base Controller to avoid duplicates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we have different project for each feature in Habitat, how can we implement this. &lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2018-09-16T13:28:54.617" Title="Base Controller in Habitat" Tags="|habitat|controller|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13914" PostTypeId="2" ParentId="13913" CreationDate="2018-09-16T13:28:54.617" Score="2" Body="&lt;p&gt;The right place from my point of view  to implement BaseController is in Foundation Layer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this way all features project can inherit from it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our solution we have a project  &quot;*.Foundation.Kernel&quot; where we have a BaseControler class. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace YourSolutionName.Foundation.Kernel.Controllers&#xA;{&#xA;    public class ControllerBase : SitecoreController&#xA;    {&#xA;       //yoour code &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-09-16T13:28:54.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13915" PostTypeId="2" ParentId="7091" CreationDate="2018-09-16T14:51:33.073" Score="1" Body="&lt;p&gt;If you are getting build error as 'Error: spawn C:\Program Files (x86)\MSBuild\15.0\Bin\amd64\MSBuild. exe ENOENT ' ensure you set the buildToolVersion: auto.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PrDwb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PrDwb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to determine this 'auto' value, looking at the logic on the gulp-msbuild\lib\msbuild-finder.js&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details in the below blog link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sivalingaamorthy.wordpress.com/2018/09/17/error-spawn-cprogram-files-x86msbuild15-0binamd64msbuild-exe-enoent/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sivalingaamorthy.wordpress.com/2018/09/17/error-spawn-cprogram-files-x86msbuild15-0binamd64msbuild-exe-enoent/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="1698" LastEditDate="2018-09-17T09:41:59.447" LastActivityDate="2018-09-17T09:41:59.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13916" PostTypeId="1" CreationDate="2018-09-16T15:31:58.153" Score="0" ViewCount="511" Body="&lt;p&gt;I need to sort items returning from a query inside a variant. For example query:.//*[@@templatename='Template']. I need to sort these items since it doesn't work through build query. Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="3888" LastEditorUserId="237" LastEditDate="2018-09-16T18:54:05.763" LastActivityDate="2018-09-16T18:54:05.763" Title="How to sort items in a query inside a variant?" Tags="|sxa|sitecore-query|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13919" PostTypeId="1" CreationDate="2018-09-16T18:33:56.433" Score="0" ViewCount="459" Body="&lt;p&gt;We have a requirement to create simple tables using Sitecore SXA 1.7.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could think of 2 options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Richtext field where content editors insert table without any styling. Why not - Error prone. Not limiting fantasy of content editors :-) which could end with inconsistency of tables look &amp;amp; feel on different pages&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Using row and column splitters. Why not - Too fluid and not behaving as html table.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Do you create separate table component? How would you solve table component with SXA?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-16T18:33:56.433" Title="Tables with SXA" Tags="|sxa|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13920" PostTypeId="2" ParentId="13916" CreationDate="2018-09-16T18:52:01.323" Score="4" Body="&lt;p&gt;While using Variant Query you can use:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;normal Sitecore query&lt;/li&gt;&#xA;&lt;li&gt;Sitecore content search query&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Try something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+template:{7826b36e-d813-40cf-aa33-26132ff2dad6};sort:published&#xA;+template:{7826b36e-d813-40cf-aa33-26132ff2dad6};sort:published[desc]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where &lt;code&gt;published&lt;/code&gt; is field of an item. Use your field there.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-09-16T18:52:01.323" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13921" PostTypeId="1" CreationDate="2018-09-16T23:26:04.210" Score="4" ViewCount="93" Body="&lt;p&gt;I have created a composite control in Sitecore 9 and I can use that in template editor when adding new fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tsYsY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tsYsY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This control is supposed to show an Image control where I can browse and select images but I can't see any browse button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VUXxQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VUXxQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box image control shows these options&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7LuSp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7LuSp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;my code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomImage : Sitecore.Web.UI.HtmlControls.Control&#xA;{&#xA;    public CustomImage()&#xA;    {&#xA;        this.Class = &quot;scContentControl&quot;;&#xA;        base.Activation = true;&#xA;    }&#xA;    protected override void OnLoad(EventArgs e)&#xA;    {&#xA;        base.OnLoad(e);&#xA;        if (!Sitecore.Context.ClientPage.IsEvent)&#xA;        {&#xA;            var image = new Sitecore.Shell.Applications.ContentEditor.Image();&#xA;            this.Controls.Add(image);&#xA;&#xA;        }&#xA;        else&#xA;        {&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I could not find any example on how to add image control in composite control, so code is very basic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I get this working, my goal is to have 4 image controls in one composite control.&lt;/p&gt;&#xA;" OwnerUserId="2119" LastEditorUserId="2119" LastEditDate="2018-09-17T01:05:02.077" LastActivityDate="2023-07-24T07:11:03.550" Title="4 Image Controls in a Composite Control, Not showing action buttons" Tags="|sitecore-client|custom-field|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13923" PostTypeId="2" ParentId="13900" CreationDate="2018-09-17T06:56:46.733" Score="0" Body="&lt;p&gt;Each Site has the default &lt;code&gt;SxaTags&lt;/code&gt; facet item which is using &lt;code&gt;SxaTags&lt;/code&gt; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eDSGg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eDSGg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should do the job when used on Checklist Filter and it's doing as I just checked on my local dev instance.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-09-17T06:56:46.733" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13924" PostTypeId="1" CreationDate="2018-09-17T07:05:24.863" Score="5" ViewCount="363" Body="&lt;p&gt;In our project we are using EXM 3.4 and SItecore 8.2 update 2. When we are sending emails form EXM, mail body content is not displaying correctly. It always generating one hyper link like below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[Message clipped]  View entire message&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In here clicking on &quot;View entire message&quot; hyperlink is displaying in browser window. But as per our requirement we have to display content directly in Email body.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: in Outlook content is displaying correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone come accross the same issue please let me know the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your help in advance:)&lt;/p&gt;&#xA;" OwnerUserId="4214" LastEditorUserId="4214" LastEditDate="2018-09-17T12:09:28.290" LastActivityDate="2018-09-17T14:02:10.860" Title="EXM newsletter content not displaying in gmail ([Message clipped])" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13925" PostTypeId="2" ParentId="13924" CreationDate="2018-09-17T07:18:58.070" Score="8" Body="&lt;p&gt;When you send a message and the body section of the message exceeds 102KB, your Gmail subscribers will see the first 102KB of content and then see the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Gmail message clipped notification.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on these links:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://help.aweber.com/hc/en-us/articles/205678278-Why-is-my-message-clipped-in-Gmail-&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://help.aweber.com/hc/en-us/articles/205678278-Why-is-my-message-clipped-in-Gmail-&lt;/a&gt; &#xA; &lt;a href=&quot;https://fulcrumtech.net/resources/preventing-gmail-from-clipping-your-emails/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://fulcrumtech.net/resources/preventing-gmail-from-clipping-your-emails/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can you do to avoid your email being clipped by gmail?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Include only relevant information in your emails&lt;/strong&gt;. To provide additional information, add hyperlinks that take users to your website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Avoid copying and pasting content from a word-processing program or a website&lt;/strong&gt;. This practice may add extra formatting code to your email’s underlying code without you realizing it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Use fluid hybrid design to create responsive email&lt;/strong&gt;s. This technique is a hybrid of fluid design and traditional responsive design, which reduces the need for long media queries. Fluid hybrid design employs content blocks based on percentages that adapt to the screen size being used. Check out this article for more information about fluid hybrid design&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Minimize your code&lt;/strong&gt;. This would include, for example, removing comments from your code, as well as white spaces, double spaces, line breaks, and tabs. There are also online tools that can minimize email messages automatically, such as HTML Minifier and HTML compressor. It’s not a good idea to use such sites as Tiny.url or Bitly to shorten your URLs, however, because this practice may get your emails caught in spam filters. Keep in mind that once the code is minimized, it’s hard to read and work with, so make this your last step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Always preview your emails before sending them&lt;/strong&gt;. In addition to using online email testing tools such as Litmus and Email on Acid, you should also send the email to your own Gmail account, just to be sure it’s rendering correctly.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="73" LastEditDate="2018-09-17T14:02:10.860" LastActivityDate="2018-09-17T14:02:10.860" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13929" PostTypeId="1" CreationDate="2018-09-17T12:43:21.233" Score="3" ViewCount="178" Body="&lt;p&gt;We need to install Xconnect Xp0 instance (Sitecore 9.0.2) with SQL Windows Authentication, We don't have access to the SQL Server with SQL Authentication enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you Please help what all changes we need to do in xconnect-xp0.json file to make it happen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Piyush jain&lt;/p&gt;&#xA;" OwnerUserId="2218" LastEditorUserId="690" LastEditDate="2018-09-18T10:24:09.747" LastActivityDate="2018-09-18T10:24:09.747" Title="Sitecore 9.0.2 Installation with SQL Windows Authentication" Tags="|xconnect|sitecore-install-framework|installation|sql-database|" AnswerCount="0" CommentCount="1" ClosedDate="2018-11-07T13:30:55.133" ContentLicense="CC BY-SA 4.0" />
  <row Id="13932" PostTypeId="1" AcceptedAnswerId="13933" CreationDate="2018-09-17T15:58:44.497" Score="0" ViewCount="539" Body="&lt;p&gt;I use SIF to install XP1 packages for all Sitecore 9.0.2 server roles. When I look in the logs of the Reporting instance, I see exceptions, such as:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Dependency injection can't find an implementation of &lt;code&gt;IReferenceDataClient&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;11420 16:41:21 ERROR Application error.&#xA;Exception: System.InvalidOperationException&#xA;Message: Unable to resolve service for type 'Sitecore.Xdb.ReferenceData.Core.IReferenceDataClient' while attempting to activate 'Sitecore.Marketing.Operations.Xdb.ReferenceData.Service.Definitions.Profiles.ProfileDefinitionReferenceDataRepository'.&#xA;Source: Microsoft.Extensions.DependencyInjection&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.PopulateCallSites(ServiceProvider provider, ISet`1 callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.CreateCallSite(ServiceProvider provider, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetResolveCallSite(IService service, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetServiceCallSite(Type serviceType, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.PopulateCallSites(ServiceProvider provider, ISet`1 callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.CreateCallSite(ServiceProvider provider, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetResolveCallSite(IService service, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetServiceCallSite(Type serviceType, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType, ServiceProvider serviceProvider)&#xA;   bei System.Collections.Concurrent.ConcurrentDictionaryExtensions.GetOrAdd[TKey,TValue,TArg](ConcurrentDictionary`2 dictionary, TKey key, Func`3 valueFactory, TArg arg)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)&#xA;   bei Sitecore.Marketing.Definitions.DefinitionManagerFactory.GetDefinitionManager[TDefinition]()&#xA;   bei Sitecore.Analytics.Data.MarketingDefinitions.&amp;lt;&amp;gt;c__DisplayClass7_0.&amp;lt;.ctor&amp;gt;b__4()&#xA;   bei System.Lazy`1.CreateValue()&#xA;   bei System.Lazy`1.LazyInitValue()&#xA;   bei Sitecore.Analytics.Data.MarketingDefinitions.InitializeProfilesWithDefaultValues()&#xA;   bei System.Lazy`1.CreateValue()&#xA;   bei System.Lazy`1.LazyInitValue()&#xA;   bei Sitecore.Analytics.Data.TrackingField.InitializeProfiles()&#xA;   bei Sitecore.Analytics.Data.TrackingField..ctor(Field innerField)&#xA;   bei Sitecore.Analytics.Data.TrackingField.GetTrackingField(Item item)&#xA;   bei Sitecore.Analytics.Data.TrackingField.FindTrackingField(Item item)&#xA;   bei Sitecore.Analytics.Data.TrackingField.HasTracking(Item item)&#xA;   bei Sitecore.Analytics.Media.MediaRequestTrackingInformation.IsTrackedRequest()&#xA;   bei Sitecore.Analytics.RobotDetection.Media.MediaRequestSessionModule.IsSessionRequired()&#xA;   bei Sitecore.Analytics.Media.MediaRequestSessionModule.ContextPostMapRequestHandler(Object sender, EventArgs e)&#xA;   bei System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   bei System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Dependency injection can't find an implementation of &lt;code&gt;IReferenceDataProvider&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;29048 16:56:33 ERROR Application error.&#xA;Exception: System.InvalidOperationException&#xA;Message: Unable to resolve service for type 'Sitecore.Xdb.ReferenceData.Core.Repository.IReferenceDataProvider' while attempting to activate 'Sitecore.Xdb.ReferenceData.Service.Repository.ReferenceDataRepository'.&#xA;Source: Microsoft.Extensions.DependencyInjection&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.PopulateCallSites(ServiceProvider provider, ISet`1 callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.CreateCallSite(ServiceProvider provider, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetResolveCallSite(IService service, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetServiceCallSite(Type serviceType, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.PopulateCallSites(ServiceProvider provider, ISet`1 callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.CreateCallSite(ServiceProvider provider, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetResolveCallSite(IService service, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetServiceCallSite(Type serviceType, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.PopulateCallSites(ServiceProvider provider, ISet`1 callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.CreateCallSite(ServiceProvider provider, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetResolveCallSite(IService service, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetServiceCallSite(Type serviceType, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.PopulateCallSites(ServiceProvider provider, ISet`1 callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.CreateCallSite(ServiceProvider provider, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetResolveCallSite(IService service, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetServiceCallSite(Type serviceType, ISet`1 callSiteChain)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType, ServiceProvider serviceProvider)&#xA;   bei System.Collections.Concurrent.ConcurrentDictionaryExtensions.GetOrAdd[TKey,TValue,TArg](ConcurrentDictionary`2 dictionary, TKey key, Func`3 valueFactory, TArg arg)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)&#xA;   bei Sitecore.Marketing.Definitions.DefinitionManagerFactory.GetDefinitionManager[TDefinition]()&#xA;   bei Sitecore.Analytics.Data.MarketingDefinitions.&amp;lt;&amp;gt;c__DisplayClass7_0.&amp;lt;.ctor&amp;gt;b__4()&#xA;   bei System.Lazy`1.CreateValue()&#xA;   bei System.Lazy`1.LazyInitValue()&#xA;   bei Sitecore.Analytics.Data.MarketingDefinitions.InitializeProfilesWithDefaultValues()&#xA;   bei System.Lazy`1.CreateValue()&#xA;   bei System.Lazy`1.LazyInitValue()&#xA;   bei Sitecore.Analytics.Data.TrackingField.InitializeProfiles()&#xA;   bei Sitecore.Analytics.Data.TrackingField..ctor(Field innerField)&#xA;   bei Sitecore.Analytics.Data.TrackingField.GetTrackingField(Item item)&#xA;   bei Sitecore.Analytics.Data.TrackingField.FindTrackingField(Item item)&#xA;   bei Sitecore.Analytics.Data.TrackingField.HasTracking(Item item)&#xA;   bei Sitecore.Analytics.Media.MediaRequestTrackingInformation.IsTrackedRequest()&#xA;   bei Sitecore.Analytics.RobotDetection.Media.MediaRequestSessionModule.IsSessionRequired()&#xA;   bei Sitecore.Analytics.Media.MediaRequestSessionModule.ContextPostMapRequestHandler(Object sender, EventArgs e)&#xA;   bei System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   bei System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Dependency injection can't find the connection string &lt;code&gt;xdb.referencedata&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;14920 17:00:59 ERROR Application error.&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Ein Aufrufziel hat einen Ausnahmefehler verursacht.&#xA;Source: mscorlib&#xA;   bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   bei System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   bei Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)&#xA;   bei Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   bei Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   bei Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   bei Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   bei Sitecore.Xdb.ReferenceData.SqlServer.Xmgmt.Configuration.ServiceCollectionExtensions.&amp;lt;&amp;gt;c.&amp;lt;AddSqlServerReferenceDataProvider&amp;gt;b__0_0(IServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)&#xA;   bei Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)&#xA;   bei Sitecore.Marketing.Definitions.DefinitionManagerFactory.GetDefinitionManager[TDefinition]()&#xA;   bei Sitecore.Analytics.Data.MarketingDefinitions.&amp;lt;&amp;gt;c__DisplayClass7_0.&amp;lt;.ctor&amp;gt;b__4()&#xA;   bei System.Lazy`1.CreateValue()&#xA;   bei System.Lazy`1.LazyInitValue()&#xA;   bei Sitecore.Analytics.Data.MarketingDefinitions.InitializeProfilesWithDefaultValues()&#xA;   bei System.Lazy`1.CreateValue()&#xA;   bei System.Lazy`1.LazyInitValue()&#xA;   bei Sitecore.Analytics.Data.TrackingField.InitializeProfiles()&#xA;   bei Sitecore.Analytics.Data.TrackingField..ctor(Field innerField)&#xA;   bei Sitecore.Analytics.Data.TrackingField.GetTrackingField(Item item)&#xA;   bei Sitecore.Analytics.Data.TrackingField.FindTrackingField(Item item)&#xA;   bei Sitecore.Analytics.Data.TrackingField.HasTracking(Item item)&#xA;   bei Sitecore.Analytics.Media.MediaRequestTrackingInformation.IsTrackedRequest()&#xA;   bei Sitecore.Analytics.RobotDetection.Media.MediaRequestSessionModule.IsSessionRequired()&#xA;   bei Sitecore.Analytics.Media.MediaRequestSessionModule.ContextPostMapRequestHandler(Object sender, EventArgs e)&#xA;   bei System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   bei System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ArgumentException&#xA;Message: Unable to find connection string with name 'xdb.referencedata'&#xA;Source: Sitecore.Xdb.ReferenceData.SqlServer&#xA;   bei Sitecore.Xdb.ReferenceData.SqlServer.SqlServerReferenceDataProvider.ResolveConnectionString(String connectionStringOrName)&#xA;   bei Sitecore.Xdb.ReferenceData.SqlServer.SqlServerReferenceDataProvider..ctor(String connectionStringOrName, ILogger`1 logger, ITvpConverter tvpConverter, IRetryManager retryManager)&#xA;   bei Sitecore.Xdb.ReferenceData.SqlServer.SqlServerReferenceDataProvider..ctor(String connectionStringOrName, ILogger`1 logger, IRetryManager retryManager)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How do I configure Sitecore Reporting correctly to prevent these errors from occurring?&lt;/p&gt;&#xA;" OwnerUserId="104" LastActivityDate="2018-09-17T15:58:44.497" Title="How do I solve Reporting role log errors related to reference data?" Tags="|sitecore-install-framework|reporting|infrastructure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13933" PostTypeId="2" ParentId="13932" CreationDate="2018-09-17T15:58:44.497" Score="1" Body="&lt;p&gt;It looks like the Reporting role is configured incorrectly out of the box. It does not have the Reference Data subsystem enabled. Here's how you can fix this.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Step 1&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the file &lt;code&gt;Sitecore.Xdb.ReferenceData.Service.config&lt;/code&gt; located under &lt;code&gt;\App_Config\Sitecore\Marketing.Xdb.ReferenceData.Service\&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Update &lt;code&gt;&amp;lt;sitecore role:require=&quot;Processing or Standalone&quot;&amp;gt;&lt;/code&gt;&lt;br&gt;&#xA;to &lt;code&gt;&amp;lt;sitecore role:require=&quot;Processing or Standalone or Reporting&quot;&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Step 2:&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the file &lt;code&gt;Sitecore.Xdb.ReferenceData.SqlServer.config&lt;/code&gt; located under &lt;code&gt;\App_Config\Sitecore\Marketing.Xdb.ReferenceData.SqlServer\&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Update &lt;code&gt;&amp;lt;sitecore role:require=&quot;Processing or Standalone&quot;&amp;gt;&lt;/code&gt;&lt;br&gt;&#xA;to &lt;code&gt;&amp;lt;sitecore role:require=&quot;Processing or Standalone or Reporting&quot;&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Step 3:&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the file &lt;code&gt;\App_Config\ConnectionStrings.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add a new connection string named &lt;code&gt;xdb.referencedata&lt;/code&gt; and point it to the relevant SQL database. You can look up the value of this connection string on your CM instance.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="104" LastActivityDate="2018-09-17T15:58:44.497" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13934" PostTypeId="2" ParentId="11560" CreationDate="2018-09-17T16:01:19.793" Score="1" Body="&lt;p&gt;Add a &lt;strong&gt;NuGet Tool Installer&lt;/strong&gt; task before your NuGet restore task, which will force the use of the latest version of NuGet (currently 4.3.0).  I had the same issue and this resolved it.&lt;/p&gt;&#xA;" OwnerUserId="4309" LastActivityDate="2018-09-17T16:01:19.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13935" PostTypeId="1" AcceptedAnswerId="13937" CreationDate="2018-09-17T16:27:28.217" Score="0" ViewCount="2371" Body="&lt;p&gt;I'm using this line of code to search for items whose names are exactly the string i provide in the query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string query = path + &quot;//*[@@templatename = 'Template Folder' and @@name='&quot; + year + &quot;']&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm trying now to find a solution to return items whose names at least contain this specific string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example :&lt;/strong&gt; In my content tree i have 2 folders named &quot;2018&quot;&#xA;I need to retrieve them in case i provide the term &quot;201&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that possible ? I can't find any informations in the official documentation.&#xA;Thank you in advance for your help&lt;/p&gt;&#xA;" OwnerUserId="2278" LastActivityDate="2018-09-17T16:52:12.887" Title="using sitecore queries to search for items whose names contain a specific string" Tags="|sitecore-query|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13936" PostTypeId="1" CreationDate="2018-09-17T16:38:09.013" Score="2" ViewCount="1475" Body="&lt;p&gt;I need to add a new button in the custom experience button. I watched some &lt;a href=&quot;https://www.youtube.com/watch?v=D6jqqaBMu0s&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=D6jqqaBMu0s&lt;/a&gt; regarding the field editor button. That field editor gives you option to only edits the fields that are in your page (template).&#xA;&lt;strong&gt;Is there a way that i can edit the Datasource item fields.&lt;/strong&gt;(Renderings)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if the user goes in Experience Editor click on the rendering(example Standard Dynamic Directory), The ribbon comes up. (Custom experience buttons)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My button should be in the Custom experience buttons and if some one clicks on the button, the &lt;strong&gt;Description field&lt;/strong&gt; under the Editor Options for the rendering should come up in the RTE and the user should be able to edit and save the values.&#xA;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2sr2X.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2sr2X.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PQm6D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PQm6D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4310" LastEditorUserId="4310" LastEditDate="2018-09-17T17:04:11.907" LastActivityDate="2021-08-03T03:40:37.290" Title="Custom Experience Button edit the Datasource item fields" Tags="|sitecore-api|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13937" PostTypeId="2" ParentId="13935" CreationDate="2018-09-17T16:41:31.957" Score="8" Body="&lt;p&gt;Sitecore query supports various axes, functions, and operators similar to those used in XPath. You can use The contains() function as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string query = path + &quot;//*[@@templatename = 'Template Folder' and contains(@@name, '&quot; + year + &quot;')]&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;List of supported functions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;contains('does this string', 'this string')&lt;/li&gt;&#xA;&lt;li&gt;startswith('does this string', 'this string')&lt;/li&gt;&#xA;&lt;li&gt;endswith('does this string', 'this string')&lt;/li&gt;&#xA;&lt;li&gt;not(condition)&lt;/li&gt;&#xA;&lt;li&gt;position()&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2018-09-17T16:52:12.887" LastActivityDate="2018-09-17T16:52:12.887" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13938" PostTypeId="2" ParentId="13936" CreationDate="2018-09-17T17:31:26.310" Score="0" Body="&lt;p&gt;Datasource item fields can be mapped to Custom Experience Editor Buttons, in the same way as Page item field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;: Switch to the Core database, navigate to /sitecore/Content/Applications/WebEdit/Custom Experience Buttons items in content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;: Create a new button item, using /sitecore/templates/System/WebEdit/Field Editor Button template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;: Fill out all four fields, Header, Icon, Fields, Tooltip. Fields is the important one here, as we need to add the field title name. (In your case &lt;strong&gt;Description&lt;/strong&gt; is the field which is of RTE)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 4&lt;/strong&gt;: Switch to master database, and navigate to the component (sub-layout/rendering, in your case &lt;strong&gt;Standard Dynamic Directory&lt;/strong&gt;), and map the newly created button using &lt;strong&gt;Experience Editor Buttons&lt;/strong&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 5&lt;/strong&gt;: Now go to experience editor, and edit the component, you should see new Edit button, using which we can edit Description field.&lt;/p&gt;&#xA;" OwnerUserId="1003" LastActivityDate="2018-09-17T17:31:26.310" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13939" PostTypeId="2" ParentId="13936" CreationDate="2018-09-17T17:32:37.927" Score="0" Body="&lt;p&gt;You should be able to do this with an edit frame&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You use the EditFrames feature like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.EditFrame(&quot;/sitecore/content/Home&quot;, null, &quot;My custom title&quot;, &quot;My custom tooltip&quot;, &quot;cssClassName&quot;, null)) { &amp;lt;p&amp;gt;Inside of edit frame.&amp;lt;/p&amp;gt; } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The parameters are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;DataSource &lt;/li&gt;&#xA;&lt;li&gt;Buttons  &lt;/li&gt;&#xA;&lt;li&gt;Title&lt;/li&gt;&#xA;&lt;li&gt;Tooltip&lt;/li&gt;&#xA;&lt;li&gt;CssClass&lt;/li&gt;&#xA;&lt;li&gt;Parameters&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can pass the DataSource parameter in the following formats:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;/sitecore/content/Home {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;RenderingContext.Current.ContextItem.ID.ToString()&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;RenderingContext.Current.PageContext.Item.ID.ToString()&lt;/li&gt;&#xA;&lt;li&gt;Html.Sitecore().CurrentRendering.DataSource&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="4304" LastActivityDate="2018-09-17T17:32:37.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13942" PostTypeId="1" CreationDate="2018-09-18T10:11:57.840" Score="1" ViewCount="533" Body="&lt;p&gt;I am planning a small Sitecore 9.0.2 + Sitecore Experience Commerce production deployment for a demo website with very low traffic. I do not have a lot of time to provision multiple servers, so I plan to use the XP0 topology: SQL Server, Solr, xConnect, Sitecore website, Sitecore Experience Commerce 9 services all on the same VM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have read that you should not use self-signed certificates in production. I completely understand why for the Sitecore website. To avoid trust warnings in the browser. I will have my own domain demoname.companyname.com and wildcard SSL certificate for *.companyname.com that I will use for the Sitecore website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, as everything else will be installed locally, can I use self signed certificates for the xConnect, solr, and commerce services? What are the potential security concerns?&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2018-09-18T10:11:57.840" Title="Can I use self-signed certificates for xConnect, Solr, and Sitecore Commerce in a Sitecore 9 XP0 production deployment?" Tags="|solr|sitecore-commerce|security|xconnect|scaling|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13944" PostTypeId="1" AcceptedAnswerId="13952" CreationDate="2018-09-18T11:30:53.920" Score="4" ViewCount="643" Body="&lt;p&gt;We are using Sitecore 8.2 update 3 and azure search for indexing.Azure search has limitation of 1000 fields so what we are planning to do is to remove the custom templates from the sitecore_master_index and add those fields to a new custom index.But my concern is will the sitecore content editor still be able to search these custom fields ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also is it a recommended practice to remove the custom fields from sitecore_master_index to reduce the size of master index ?&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2018-09-18T14:00:06.563" Title="Remove custom templates from sitecore master index" Tags="|indexing|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13945" PostTypeId="1" AcceptedAnswerId="13951" CreationDate="2018-09-18T12:02:31.360" Score="1" ViewCount="235" Body="&lt;p&gt;The question may be very basic, but for better understanding about JSS i am asking this. The question is, can we use JSS for existing site created with traditional Sitecore MVC?&#xA;Because I am not getting component's data source as JS object in Layout service API response.&lt;/p&gt;&#xA;" OwnerUserId="4021" LastEditorUserId="4021" LastEditDate="2020-07-02T05:07:51.560" LastActivityDate="2020-07-02T05:07:51.560" Title="Sitecore JSS for existing Sitecore site" Tags="|jss|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13946" PostTypeId="1" CreationDate="2018-09-18T12:22:10.457" Score="3" ViewCount="369" Body="&lt;p&gt;I am trying to create new client using &lt;code&gt;client_credentails&lt;/code&gt; grant but i am unable to do that&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;                &quot;ClientId&quot;: &quot;integrations&quot;,&#xA;                &quot;ClientSecrets&quot;: [ &quot;secret&quot;, &quot;2BB80D537B1DA3E38BD30361AA855686BDE0EACD7162FEF6A25FE97BF527A25B&quot; ],&#xA;                &quot;AllowedGrantTypes&quot;: [&#xA;                    &quot;client_credentials&quot;&#xA;                ],&#xA;                &quot;AccessTokenType&quot;: 0,&#xA;                &quot;AccessTokenLifetimeInSeconds&quot;: 3600,&#xA;                &quot;IdentityTokenLifetimeInSeconds&quot;: 3600,&#xA;                &quot;RequireClientSecret&quot;: true,&#xA;                &quot;AllowedScopes&quot;: [&#xA;                    &quot;openid&quot;,&#xA;                    &quot;dataEventRecords&quot;,&#xA;                    &quot;dataeventrecordsscope&quot;,&#xA;                    &quot;securedFiles&quot;,&#xA;                    &quot;securedfilesscope&quot;,&#xA;                    &quot;role&quot;,&#xA;                    &quot;EngineAPI&quot;,&#xA;                    &quot;postman_api&quot;&#xA;                ]&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;api returns &lt;code&gt;&quot;error&quot;: &quot;invalid_client&quot;&lt;/code&gt;&#xA;I am not sure what should be in ClientSecrets. Plain text or SHA256?&#xA;What do I miss in configuration?&lt;/p&gt;&#xA;" OwnerUserId="4315" LastActivityDate="2018-10-18T13:00:49.637" Title="New Client for Identity Server" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13950" PostTypeId="1" CreationDate="2018-09-18T13:22:38.803" Score="3" ViewCount="266" Body="&lt;p&gt;When adding an anchor link in the Link Manager inside a RTE field in Sitecore 9, the attribute &lt;code&gt;name&lt;/code&gt; is used. This is no longer supported with html5 according to W3Schools:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The  name attribute is not supported in HTML5. Use the id attribute&#xA;  instead. The name attribute specifies the name of an anchor. The name&#xA;  attribute is used to create a bookmark inside a document.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I need to change the behavior of the Link Manager so instead of the &lt;code&gt;name&lt;/code&gt; attribute it uses the &lt;code&gt;id&lt;/code&gt; attribute. The usage of the name attribute causes problems in other parts of my application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was not able to accomplish this. I tried using this approach (overriding the &lt;code&gt;LinkItemExpander&lt;/code&gt;): &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6232/set-data-attributes-for-links-to-certain-items&quot;&gt;Set Data Attributes for Links to Certain Items&lt;/a&gt;&#xA;but I was not successful. And this approach would also not resolve the problem of anchors with an id instead of a name attribute not showing in the &quot;Existing Anchor&quot; DropDownList when link to them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone help me with that?&lt;/p&gt;&#xA;" OwnerUserId="4316" LastEditorUserId="237" LastEditDate="2019-12-24T10:23:22.077" LastActivityDate="2019-12-24T10:23:22.077" Title="How to let Sitecore 9 RTE Link Manager use &quot;id&quot; attribute instead of &quot;name&quot; attribute for anchors" Tags="|richtext-editor|link-manager|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13951" PostTypeId="2" ParentId="13945" CreationDate="2018-09-18T13:41:26.350" Score="-1" Body="&lt;p&gt;I figured out the reason for the issue. In the end, we should have to include the rendering's placeholders in to the Layout Service placeholder list to get that in Layout service API response.&lt;a href=&quot;https://i.stack.imgur.com/0cPbn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0cPbn.png&quot; alt=&quot;Layout service plaholder&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4021" LastEditorUserId="4021" LastEditDate="2020-07-02T05:06:25.800" LastActivityDate="2020-07-02T05:06:25.800" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="13952" PostTypeId="2" ParentId="13944" CreationDate="2018-09-18T14:00:06.563" Score="5" Body="&lt;p&gt;I recently upgraded from Lucence search to Azure search for one of our client and yes 1000 field limit very annoying thing with Azure search because the default Sitecore installation has that much of fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you can choose two way to handle this -&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.You can set the following setting to false &lt;code&gt;&amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&lt;/code&gt; in &lt;strong&gt;Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config&lt;/strong&gt; and manually add the fields those are required in your search in &lt;strong&gt;Sitecore.ContentSearch.Azure.Index.Web.ExcludeFields.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;            &amp;lt;Column3Label&amp;gt;{D3062424-DB75-4AB3-B297-FE40B04C8114}&amp;lt;/Column3Label&amp;gt; &#xA;            ...........&#xA;            .........&#xA; &amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Or you can add the template id's that is required in your search instead of a particular field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;&amp;lt;template&amp;gt;{44831A38-85F0-4370-8AA7-C3B7DC87965A}&amp;lt;/template&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Or you can both step1 and step2 together.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Or yon can go with another way by updating the Root of index in &lt;strong&gt;Sitecore.ContentSearch.Azure.Index.Web.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/Content/SiteNode/Home&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And if you use the above configuration then content editor search will also work.&lt;/p&gt;&#xA;" OwnerUserId="1499" LastActivityDate="2018-09-18T14:00:06.563" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13953" PostTypeId="1" CreationDate="2018-09-18T15:37:38.670" Score="5" ViewCount="270" Body="&lt;p&gt;I am working on creating an intranet, and I know the users logging in to access the site. I am trying to create and update contacts' personal information. However, I am running into issues with Read-Only attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8, you could add code to access the contact personal information in session in the Create Visit pipeline. However, in Sitecore 9, this contact personal information is now Read-Only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked at the Sitecore 9 Web Tracking documentation found here (&lt;a href=&quot;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/identification/index.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/identification/index.html&lt;/a&gt;) and it uses the xConnect Client API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is using the xConnect Client API the only way to update facets on the contacts in Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="4318" LastActivityDate="2018-09-18T15:42:07.407" Title="How do you track known users in Sitecore 9 Update 1?" Tags="|xdb|xconnect|tracking|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13954" PostTypeId="2" ParentId="13953" CreationDate="2018-09-18T15:42:07.407" Score="2" Body="&lt;p&gt;YES, updating facets is possible just using xConnect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kZ0tS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kZ0tS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details have a look here: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/contact-facets/update-facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/contact-facets/update-facets.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-09-18T15:42:07.407" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13956" PostTypeId="1" CreationDate="2018-09-18T18:34:15.130" Score="1" ViewCount="172" Body="&lt;p&gt;Using the following in PS1 script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module SitecoreInstallFramework&#xA;$prefix = &quot;bc2018&quot;&#xA;$PSScriptRoot = &quot;D:\resourcefiles&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot;&#xA;$xConnectCertName = &quot;$prefix.xconnect_client&quot;&#xA;$SqlServer = &quot;BCCMPTLCD4DB&quot;&#xA;$SqlAdminUser = &quot;Admin&quot;&#xA;$SqlAdminPassword=&quot;sp20019!&quot;&#xA;$SiteName = &quot;$prefix.xconnect.org&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Install client certificate for xconnect&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$certParams = @{&#xA;  Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;&#xA;  CertificateName = &quot;$prefix.xconnect_client&quot;&#xA;}&#xA;&#xA;Install-SitecoreConfiguration @certParams -Verbose&amp;lt;br /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Deploy xconnect instance&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$xconnectParams = @{&#xA;   Path = &quot;$PSScriptRoot\xconnect-xp1-collection.json&quot;&#xA;   Package = &quot;$PSScriptRoot\Sitecore 9.0.2 rev. 180604 (OnPrem)_xp1collection.scwdp.zip&quot;&#xA;   LicenseFile = &quot;D:\resourcefiles\license.xml&quot;&#xA;   Sitename = $SiteName&#xA;   XConnectCert = $xConnectCertName&#xA;   SqlDbPrefix = $prefix&#xA;   SqlServer = $SqlServer&#xA;   SqlAdminUser = $SqlAdminUser&#xA;   SqlAdminPassword = $SqlAdminPassword&#xA;}&#xA;&#xA;Install-SitecoreConfiguration @xconnectParams -Verbose&amp;lt;br /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It gets to the follow spot in the script and then just stalls:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5d4P6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5d4P6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4320" LastEditorUserId="605" LastEditDate="2018-09-19T11:59:03.703" LastActivityDate="2019-12-24T10:20:43.877" Title="SC 9.0.2 SIF xConnect Stalls During Web Deploy" Tags="|xconnect|sitecore-install-framework|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13957" PostTypeId="1" CreationDate="2018-09-18T18:34:49.087" Score="2" ViewCount="244" Body="&lt;p&gt;There are 5 sitecore forms in my page and 5 different custom submit actions for sending mail confirmation are configured for each sitecore form. But, clicking submit button on each form sending 5 mails instead of single relevant mail. Please let me know where I am going wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="1000" LastEditDate="2018-09-18T19:04:33.917" LastActivityDate="2018-09-18T19:17:12.173" Title="Clicking a single submit button submitting all the sitecore forms in the page" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13958" PostTypeId="2" ParentId="13957" CreationDate="2018-09-18T19:17:12.173" Score="1" Body="&lt;p&gt;Unchecking the 'Is Ajax' field for the form worked!! Thanks&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2018-09-18T19:17:12.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13959" PostTypeId="1" AcceptedAnswerId="13960" CreationDate="2018-09-18T19:20:12.990" Score="1" ViewCount="1848" Body="&lt;p&gt;I am able to get the selected value of a sitecore forms dropdown using the code below, but how can I get the selected text? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;postedField.GetType().GetProperty(&quot;Value&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="237" LastEditDate="2019-12-24T10:17:56.430" LastActivityDate="2019-12-24T10:17:56.430" Title="How to get both text and value of a dropdown from Sitecore form?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13960" PostTypeId="2" ParentId="13959" CreationDate="2018-09-18T20:57:19.077" Score="9" Body="&lt;p&gt;Assuming you're asking about Sitecore 9 Forms, if you have the value, you can get the selected text of a dropdown field like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (field is DropDownListViewModel)&#xA;{&#xA; DropDownListViewModel dropdownField = field as DropDownListViewModel;&#xA; string selectedtext = dropdownField.Items.FirstOrDefault(a =&amp;gt; a.Value == value)?.Text;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By the way, the HabitatHome demo repository has a useful little extension method sample for getting the value of a submitted form field. Check it out &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Content/blob/develop/src/Feature/Forms/code/Extensions/FormFieldExtensions.cs&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="9" LastActivityDate="2018-09-18T20:57:19.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13962" PostTypeId="1" CreationDate="2018-09-19T04:32:48.177" Score="3" ViewCount="201" Body="&lt;p&gt;Using Sitecore 9.0 and DEF 2.0.1, imagine I am processing this json:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;&#xA;  &quot;name&quot;: &quot;XXX&quot;,&#xA;  &quot;id&quot; : &quot;1234,&#xA;  &quot;childobject&quot;: [&#xA;    {&#xA;      &quot;id&quot;: &quot;1&quot;,&#xA;      &quot;name&quot;: &quot;YYY&quot;,&#xA;      &quot;type&quot;: &quot;AAA&quot;&#xA;&#xA;    },&#xA;    {&#xA;      &quot;id&quot; : &quot;2&quot;&#xA;      &quot;name&quot;: &quot;FFF&quot;,&#xA;      &quot;type&quot;: &quot;ASSSAA&quot;&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am processing child objects via a &quot;Copy Object from Context to New Location Pipeline Step&quot; and then iterating over them..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then Resolve the Sitecore item for the child object - in this case to a seperate Sitecore folder. In my mapping for child object, I need to set the value of a Sitecore field to the id of the parent object i.e. ParentId to &quot;XXX&quot; but at this stage I don't have access to the the id of the parent object as the &quot;Copy Object...&quot; pipeline step is using the json only for child objects. How can I set the value of this parent id field inside my child object?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2018-09-26T09:25:45.623" LastActivityDate="2018-09-26T09:25:45.623" Title="Need to access Parent Field" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13963" PostTypeId="1" CreationDate="2018-09-19T06:38:09.787" Score="1" ViewCount="504" Body="&lt;p&gt;Using custom roles setup to lockdown access. Gave access rights to the Forms folder and the app menu for the launchpad. However I receive the error on the GUI after clicking one of the forms to open it:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The form was not loaded due to an error.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;F12 dev tools reveals 401/403 unauthorized for some api call (&lt;code&gt;formbuilder/load&lt;/code&gt;), and also another error on the dev tools on the main Forms page (&lt;code&gt;getFormDetails&lt;/code&gt; api call).&lt;/p&gt;&#xA;" OwnerUserId="3799" LastEditorUserId="237" LastEditDate="2019-12-24T10:11:40.760" LastActivityDate="2019-12-24T10:11:40.760" Title="The form was not loaded due to an error. 401 403 unauthorized" Tags="|security|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13964" PostTypeId="2" ParentId="13963" CreationDate="2018-09-19T06:38:09.787" Score="1" Body="&lt;p&gt;If you are restricting access, some functionality requires specific roles. In this case for Forms, the role &quot;Forms Editor&quot; needs to be assigned to either the role or user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/the_security_roles_in_sitecore_forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/the_security_roles_in_sitecore_forms&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3799" LastActivityDate="2018-09-19T06:38:09.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13965" PostTypeId="1" AcceptedAnswerId="14538" CreationDate="2018-09-19T06:52:14.283" Score="3" ViewCount="793" Body="&lt;p&gt;I'm currenlty experiencing some problems with a basic Sitecore setup on Azure.&#xA;I deployed a simple XP0 environment with Powershell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I made a change in the connectionstrings.config (Kudo) for manually switching between Azure Search and a VM Solr environment. The switch worked, the default site was running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when changing it back to the Azure Search, the site keeps giving me '500 - The request timed out.'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even though I don't see any errors in the log. It seems like it is stuck somewhere, but I can't figure out what the cause is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone experienced similar problems?&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2018-10-23T12:21:51.503" Title="Azure Sitecore WebApp 500 errors after config change" Tags="|azure|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13966" PostTypeId="1" CreationDate="2018-09-19T06:58:34.127" Score="0" ViewCount="130" Body="&lt;p&gt;After installing Sitecore.Rocks.2.1.86, tried to create new connection through VS2017, but getting timeout error. &lt;a href=&quot;https://i.stack.imgur.com/ZUet8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZUet8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help with the above would be greatly appreciated!&lt;/p&gt;&#xA;" OwnerUserId="4322" LastEditorUserId="2948" LastEditDate="2018-09-19T09:51:44.887" LastActivityDate="2018-09-19T11:14:38.197" Title="Sitecore rocks timeout error" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="13967" PostTypeId="1" AcceptedAnswerId="13972" CreationDate="2018-09-19T06:58:37.340" Score="1" ViewCount="2182" Body="&lt;p&gt;I have created an ItemNotFoundResolver and injected it after ItemResolver pipeline as follows :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemNotFoundResolver : HttpRequestProcessor {&#xA;private readonly ISitecoreEntityService _entityService;&#xA;public ItemNotFoundResolver(ISitecoreEntityService entityService)&#xA;{&#xA;   _entityService = entityService;&#xA;}&#xA;//code logic here to call a method from the SitecoreEntityService&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Patch file is as follows :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&#xA;&amp;lt;processor patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; type=&quot;TestProject.Feature.ErrorHandling.Pipelines.HttpRequest.ItemNotFoundResolver, TestProject.Feature.ErrorHandling&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In  Project TestProject.Foundation.ORM&#xA;Have created an entity service and registered the same&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SitecoreEntityService : ISitecoreEntityService&#xA;{&#xA;    protected readonly ISitecoreService _service;&#xA;    protected readonly IMvcContext _mvcContext;&#xA;    protected readonly IRequestContext _requestContext;&#xA;    public SitecoreEntityService(ISitecoreService service, IMvcContext mvcContext, IRequestContext requestContext)&#xA;    {&#xA;        Condition.Requires&amp;lt;ISitecoreService&amp;gt;(service).IsNotNull(&quot;ISitecoreService could not be null&quot;);&#xA;        Condition.Requires&amp;lt;IMvcContext&amp;gt;(mvcContext).IsNotNull(&quot;IMvcContext could not be null&quot;);&#xA;        Condition.Requires&amp;lt;IRequestContext&amp;gt;(requestContext).IsNotNull(&quot;IRequestContext could not be null&quot;);&#xA;&#xA;        _service = service;&#xA;        _mvcContext = mvcContext;&#xA;        _requestContext = requestContext;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In RegisterContainer.cs &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;        serviceCollection.AddTransient&amp;lt;ISitecoreService&amp;gt;(provider =&amp;gt;&#xA;            Sitecore.Context.Database.Name.ToLower() == &quot;core&quot; ? new SitecoreService(&quot;master&quot;) : new SitecoreService(Sitecore.Context.Database));&#xA;        serviceCollection.AddScoped&amp;lt;IRequestContext, RequestContext&amp;gt;();&#xA;        serviceCollection.AddScoped&amp;lt;IMvcContext, MvcContext&amp;gt;();&#xA;        serviceCollection.AddScoped&amp;lt;IGlassHtml, GlassHtml&amp;gt;();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While I am trying to install a package through UpdateInstallationWizard, I am getting the following error in logs, while the last step (installation) is getting executed. and then it fails :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3052 20:30:51 ERROR Application error.&#xA;Exception: Sitecore.Exceptions.ConfigurationException&#xA;Message: Could not create object from service provider . Config XML: &#xA;&amp;lt; processor type=&quot;TestProject.Feature.ErrorHandling.Pipelines.HttpRequest.ItemNotFoundResolver, TestProject.Feature.ErrorHandling&quot; resolve=&quot;true&quot; patch:source=&quot;TestProject.Feature.ErrorHandling.config&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; /&gt;&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromServiceProvider(XmlNode configNode, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert)&#xA;   at Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode processorNode)&#xA;   at Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode processorNode)&#xA;   at Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Web.RequestEventsHandler.OnPostAuthenticateRequest(HttpContextBase context)&#xA;   at Sitecore.Nexus.Web.HttpModule.(Object , EventArgs )&#xA;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nested Exception&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: TestProject.Foundation.ORM&#xA;   at TestProject.Foundation.ORM.DI.RegisterContainer.&amp;lt;&gt;c.b__0_0(IServiceProvider provider) in C:\Projects\TestProject\src\Foundation\ORM\code\DI\RegisterContainer.cs:line 16&#xA;   at lambda_method(Closure , ServiceProvider )&#xA;   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.Internal.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProvider provider, Type type)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromServiceProvider(XmlNode configNode, Boolean assert)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have idea on why this error is shown. Am I missing something. &#xA;Please help me solve this issue.&lt;/p&gt;&#xA;" OwnerUserId="950" LastActivityDate="2018-09-19T07:57:02.497" Title="Could not create object from service provider - Registering service using Dependency Injection" Tags="|pipelines|dependency-injection|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13968" PostTypeId="2" ParentId="13967" CreationDate="2018-09-19T07:20:39.193" Score="0" Body="&lt;p&gt;Did you register the configurator? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow the &quot;&lt;strong&gt;Service registration&lt;/strong&gt;&quot; section at &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dependency_injection&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/dependency_injection&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g3Rq8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g3Rq8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1352" LastActivityDate="2018-09-19T07:20:39.193" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13969" PostTypeId="1" AcceptedAnswerId="13977" CreationDate="2018-09-19T07:24:05.073" Score="1" ViewCount="342" Body="&lt;p&gt;I noticed that the EnvironmentName settings is always (for each process) set to HabitatMinions.&#xA;What is the purpose of this setting?&#xA;(I could not find any official documentation about it)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Shouldn't it e.g. be set to HabitatAuthoring for the Authoring process in order to prevent triggering a minion task?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-09-19T10:21:59.793" Title="EnvironmentName setting in config.json" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13970" PostTypeId="2" ParentId="13969" CreationDate="2018-09-19T07:24:05.073" Score="3" Body="&lt;p&gt;The EnvironmentName setting is used to identify which environment should be StartedUp on application startup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The OOTB example wrongly has the HabitatMinions set as EnvironmentName for all roles. If you have this setting for all roles each will start a Minion task, which is bad for performance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is registered by Sitecore Support as bug with public reference number 41553.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-09-19T07:24:05.073" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13971" PostTypeId="1" CreationDate="2018-09-19T07:33:00.100" Score="0" ViewCount="340" Body="&lt;p&gt;Need help in fixing the below issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we are trying to send an email form EXM “DELIVERY” tab, Email Campaign Message Item (The item which create under the path /sitecore/content/Email Campaign/Messages ) is getting Protected automatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You cannot edit this item because it is protected.&#xA;To unprotect the item, click Unprotect Item on the Configure tab or click Unprotect Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of this protection unable to send an email from EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I remove the Item Protection of Message Item which exists under (Ex: Path: /sitecore/content/Email Campaign/Messages/2018/09/03T134033) then we are able to send an email without any issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you for the help in advance:)&lt;/p&gt;&#xA;" OwnerUserId="4214" LastActivityDate="2024-04-01T15:02:45.337" Title="Item Protected issue when sending email from EXM newsletter" Tags="|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13972" PostTypeId="2" ParentId="13967" CreationDate="2018-09-19T07:57:02.497" Score="3" Body="&lt;p&gt;&lt;code&gt;Sitecore.Context.Database&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt; at the time when the &lt;code&gt;ISitecoreSevice&lt;/code&gt; type is being injected. A simple null-check should probably solve this.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Configure(IServiceCollection serviceCollection)&#xA;{&#xA;    serviceCollection.AddTransient&amp;lt;ISitecoreService&amp;gt;(provider =&amp;gt;&#xA;    {&#xA;        var databaseName = Sitecore.Context.Database?.Name.ToLower();&#xA;        if (databaseName == null || databaseName == &quot;core&quot;)&#xA;            return new SitecoreService(&quot;master&quot;);&#xA;        return new SitecoreService(Sitecore.Context.Database);&#xA;    });&#xA;    serviceCollection.AddScoped&amp;lt;IRequestContext, RequestContext&amp;gt;();&#xA;    serviceCollection.AddScoped&amp;lt;IMvcContext, MvcContext&amp;gt;();&#xA;    serviceCollection.AddScoped&amp;lt;IGlassHtml, GlassHtml&amp;gt;();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-09-19T07:57:02.497" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13973" PostTypeId="1" CreationDate="2018-09-19T08:38:13.703" Score="5" ViewCount="1009" Body="&lt;p&gt;I am trying to send some anonymous data into analytics and browse it in experience profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I set &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; into layout and added reference to &lt;code&gt;mvc.extensions&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set the timeout for the session to 1 and browsed page. After 1 minute I can see in logs following error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR PostSessionEndPipeline failed.&#xA;Exception: Sitecore.XConnect.Operations.EntityOperationException&#xA;Message: Operation #0, Conflict, DeviceProfile {0396d6cd-af6c-44d5-9844-496b528677bf}&#xA;Source: Sitecore.Xdb.Common.Web&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Firstly I fixed device detection using the SC patch and thought that's gonna solve the issue but not.&#xA;I've checked everything that I could but still can't find the issue.&#xA;Does anyone have an idea?&lt;/p&gt;&#xA;" OwnerUserId="3859" LastEditorUserId="246" LastEditDate="2019-07-25T11:17:54.487" LastActivityDate="2019-07-29T05:12:40.553" Title="Sitecore 9 Session End Pipeline issue" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="3" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13974" PostTypeId="2" ParentId="9904" CreationDate="2018-09-19T09:31:58.047" Score="1" Body="&lt;p&gt;It's now available in the Sitecore nuget feed v3:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From there, you can install the Sitecore.XA.Foundation.Mvc package in your project and reference the Sitecore.XA.Foundation.Mvc.Controllers in your code.&lt;/p&gt;&#xA;" OwnerUserId="3433" LastActivityDate="2018-09-19T09:31:58.047" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13976" PostTypeId="2" ParentId="13893" CreationDate="2018-09-19T10:16:12.680" Score="1" Body="&lt;p&gt;You should use the version 4.0 of the Multiple Site Manager which is compatible with Sitecore 8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module no longer uses the publish end pipelines to trigger site flush. Instead, there is new event &lt;code&gt;multisitesmanager:flush:remote&lt;/code&gt; to do the job.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, you can decide when you want to use the flush operation. If you check the checkboxes after creating a site, it is at this moment that the flush operation will trigger.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1mVzS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1mVzS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you need to flush the changes because if you have added a new hostName updated target host name select the check boxes to restart servers. This is required to clear out linkbuilder’s cache (LinkBuilder class is used by sitecore to build site links).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information can be found &lt;a href=&quot;http://blog.alpha-solutions.us/2015/06/multiple-site-manager-4-0/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-09-19T10:16:12.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13977" PostTypeId="2" ParentId="13969" CreationDate="2018-09-19T10:21:59.793" Score="1" Body="&lt;p&gt;Update from Sitecore Support this has been fixed in SIF: &lt;code&gt;SIF.Sitecore.Commerce.1.2.14.zip\Modules\DeployCommerceContent\DeployCommerceContent.psm1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;                # Set the proper environment name&#xA;                $pathToJson  = $(Join-Path -Path $PhysicalPath -ChildPath &quot;wwwroot\config.json&quot;)&#xA;                $originalJson = Get-Content $pathToJson -Raw | ConvertFrom-Json&#xA;&#xA;                $environment = &quot;HabitatShops&quot;&#xA;                if ($Name -match &quot;CommerceAuthoring&quot;){&#xA;                    $environment = &quot;HabitatAuthoring&quot;&#xA;                }elseif ($Name -match &quot;CommerceMinions&quot;){&#xA;                    $environment = &quot;HabitatMinions&quot;&#xA;                }        &#xA;&#xA;                $originalJson.AppSettings.EnvironmentName = $environment&#xA;                $originalJson | ConvertTo-Json -Depth 100 -Compress | set-content $pathToJson&#xA;            } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-09-19T10:21:59.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13979" PostTypeId="2" ParentId="13966" CreationDate="2018-09-19T11:14:38.197" Score="2" Body="&lt;p&gt;Have you tried to change the authorization of your website as described in this blogpost by Rob Ahnemann? &#xA;XHTML&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;location path=&quot;sitecore/shell/WebService&quot;&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;authorization&amp;gt;&#xA;        &amp;lt;allow users=&quot;?,*&quot; /&amp;gt;&#xA;    &amp;lt;/authorization&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.rockpapersitecore.com/2017/10/sitecore-rocks-with-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.rockpapersitecore.com/2017/10/sitecore-rocks-with-sitecore-9/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-09-19T11:14:38.197" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13980" PostTypeId="1" AcceptedAnswerId="13984" CreationDate="2018-09-19T11:40:49.370" Score="0" ViewCount="473" Body="&lt;p&gt;We have created out deployment chain from Sitecore and Unicorn with TFS and thats works fine so far. Every time when we deploy a new release we delete the current web folder in the wwwroot from our Sitecore website and copy a clean Sitecore installation folder into this folder and after that we are copying our source files like yml and dlls and views, ... into the folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I don't know how to handle the installation of new modules. The current solution would be I need to have a second server with a clean Sitecore installation where I can install the module and then I can take the new &quot;wwwroot\sitecore.local&quot; folder as new source for my TFS setup is that the right approach or how do you manage your Sitecore deployment when you need to install new modules?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="73" LastEditDate="2019-03-29T10:00:49.793" LastActivityDate="2019-03-29T10:00:49.793" Title="Sitecore deployment with new modules" Tags="|sitecore-install-framework|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="13981" PostTypeId="1" AcceptedAnswerId="13986" CreationDate="2018-09-19T11:44:07.157" Score="3" ViewCount="395" Body="&lt;p&gt;Is there a way to create catalog/product from commerce API?&#xA;In postman I found example &lt;code&gt;&quot;Add Catalog&quot;&lt;/code&gt; but it uses &quot;&lt;code&gt;DoUxActions&lt;/code&gt;action instead of some REST method like &lt;code&gt;[POST] /Catalogs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I managed to generate client code from &lt;code&gt;metadata&lt;/code&gt; (&lt;code&gt;{{OpsApiHost}}/{{ShopsApi}}/$metadata&lt;/code&gt;) using &lt;code&gt;Odata Connected Service&lt;/code&gt; in VS&#xA;and tried to use generated method for creating new catalog&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;_container.AddToCatalogs(new Sitecore.Commerce.Plugin.Catalog.Catalog()&#xA;            {&#xA;                Name = &quot;Test&quot;,&#xA;                DisplayName = &quot;Test&quot;,&#xA;                PriceBookName = &quot;Postman_Price_Book&quot;,&#xA;                PromotionBookName = &quot;Postman_Promotion_Book&quot;,&#xA;            });&#xA;await _container.SaveChangesAsync();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but &lt;code&gt;SaveChangesAsync&lt;/code&gt; throws error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;System.NotSupportedException: No action match template 'Catalogs' in 'CatalogsController'&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using postman i was able to get all routes&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{{OpsApiHost}}/{{OpsApi}}/GetApiRoutes&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and PUT/POST for Catalogs ins't present.&#xA;Is there a way to create catalog/product or do I have to go with &lt;code&gt;DoUxAction&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4315" LastActivityDate="2018-09-19T12:11:48.927" Title="Sitecore Experience Commerce. Create catalog from code" Tags="|sitecore-commerce|commerce-engine|commerce-server|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13982" PostTypeId="2" ParentId="13980" CreationDate="2018-09-19T12:02:48.870" Score="4" Body="&lt;p&gt;There are a few ways to handle this but the best way I've found are to create NuGet packages for your modules and then have your build server (Octopus / Team City / Jenkins / TFS etc) execute a step to deploy the NuGet package after your Sitecore deployment has completed. You would need to ensure the packages are installed locally/dev (wherever is your source environment) first and then the Sitecore Items from the package will be Synced with Unicorn and deployed to other environments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The NuGet packages only need to contain the files, config, dlls etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some Sitecore modules have a GitHub repo and an NuGet package is available for it, so you could add it to your project in that way and the NuGet package restore should add everything required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For those Modules that don't you can just extract the Sitecore package zip and then put the required files into a NuGet package. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example the Url Redirects module from the Marketplace does not have a NuGet package. Here is what would be in the NuGet Package after unzipping the Sitecore Module package and adding the files from it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oE3FA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oE3FA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;/bin&lt;/strong&gt; - contains the Hi.UrlRewrite.dll etc &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;/App_Config&lt;/strong&gt; - contains the patch config files to add the module to the Sitecore config.   &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;/sitecore modules&lt;/strong&gt; - contains pages, files, css etc used by the module&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There is further info on this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.velir.com/blog/2012/12/04/create-and-deploy-sitecore-modules-nuget&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.velir.com/blog/2012/12/04/create-and-deploy-sitecore-modules-nuget&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://hermanussen.eu/sitecore/wordpress/2013/05/turn----any----sitecore----package----into----a----nuget----package/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hermanussen.eu/sitecore/wordpress/2013/05/turn----any----sitecore----package----into----a----nuget----package/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also if you wanted to host your NuGet packages internally on a private feed it looks like this is pretty easy to setup for TFS: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.benday.com/2017/05/03/walkthrough-publish-to-private-nuget-server-from-tfs2017-build/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.benday.com/2017/05/03/walkthrough-publish-to-private-nuget-server-from-tfs2017-build/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-09-19T12:27:32.703" LastActivityDate="2018-09-19T12:27:32.703" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13983" PostTypeId="2" ParentId="13981" CreationDate="2018-09-19T12:04:10.333" Score="1" Body="&lt;p&gt;You can do it in next wa in a pipeline block: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DoActionGenerateCatalog : PipelineBlock&amp;lt;EntityView, EntityView, CommercePipelineExecutionContext&amp;gt;&#xA;{&#xA;    private readonly CommerceCommander _commerceCommander;&#xA;&#xA;    public DoActionGenerateCatalog(CommerceCommander commerceCommander)&#xA;    {&#xA;        this._commerceCommander = commerceCommander;&#xA;    }&#xA;&#xA;     public override async Task&amp;lt;EntityView&amp;gt; Run(EntityView entityView, CommercePipelineExecutionContext context)&#xA;    {&#xA;        var createdCatalog = await this._commerceCommander.Command&amp;lt;CreateCatalogCommand&amp;gt;().Process(context.CommerceContext, name, displayName);&#xA;&#xA;       createdCatalog = await this._commerceCommander.Command&amp;lt;GetCatalogCommand&amp;gt;().Process(context.CommerceContext, name);&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-09-19T12:04:10.333" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13984" PostTypeId="2" ParentId="13980" CreationDate="2018-09-19T12:07:49.173" Score="2" Body="&lt;p&gt;Using Unicorn (but would definitely also be possible with TDS), I've created &quot;module projects&quot; in the past. And then just deployed those along with the rest of the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The process was simply.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new Web Project&lt;/li&gt;&#xA;&lt;li&gt;Install the module locally&lt;/li&gt;&#xA;&lt;li&gt;Identify the assets of the module (sits in the files folder of the package) and include them in the new project&lt;/li&gt;&#xA;&lt;li&gt;Make a Unicorn.config for all the items in the package&lt;/li&gt;&#xA;&lt;li&gt;Serialize, and check in.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another benefit of this approach is, that there is no need for other developers to do manual module installs on each of their machines - thus not having to deal with long &quot;how to set up your local development environment&quot; documents that never really get updated anyway.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-09-19T12:07:49.173" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13986" PostTypeId="2" ParentId="13981" CreationDate="2018-09-19T12:11:48.927" Score="1" Body="&lt;p&gt;In addition to Vlads answer you can also have a look at this plugin, where I implemented a lot of functionality around importing / creating and updating commerce content in general. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Chris1415/Plugin.Sample.Importer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Chris1415/Plugin.Sample.Importer&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3737" LastActivityDate="2018-09-19T12:11:48.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13987" PostTypeId="1" AcceptedAnswerId="13992" CreationDate="2018-09-19T12:13:39.967" Score="1" ViewCount="584" Body="&lt;p&gt;I have a variables.config file where i have all the variables and corresponding values stored like shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EjZTm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EjZTm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is default sitecore file :&#xA;&lt;a href=&quot;https://i.stack.imgur.com/PUCbj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PUCbj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Now i want to replace the value 1000 with the value stored in the Variables.config file&#xA;Now i am trying with this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HacPx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HacPx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this is not working.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2018-09-19T15:10:18.537" Title="Replace value of an element with a value from sitecore variable" Tags="|configuration|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="13988" PostTypeId="1" CreationDate="2018-09-19T13:00:33.090" Score="2" ViewCount="1142" Body="&lt;p&gt;I am trying to setup the Sitecore JSS,getting error when executing the command.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jss deploy app --includeContent --includeDictionary&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Skipping data update of /sitecore/content because item already exists and is not writable by import user.&#xA;  Exception thrown while importing JSS app&#xA;  Exception: System.UnauthorizedAccessException&#xA;  Message: The current user does not have write access to this item. User: sitecore\JssImport, Item: ContentBlock ({1C0AA103-5BE5-5A08-9403-C6C36670C4B9})&#xA;  Source: Sitecore.Kernel&#xA;     at Sitecore.Data.Items.ItemEditing.BeginEdit()&#xA;     at Sitecore.JavaScriptServices.AppServices.Datasources.AppLevelDatasourceStrategy.ConfigureDatasourceFolder(RenderingDef rendering, Item folder, IdManager idManager, AppConfiguration app)&#xA;     at Sitecore.JavaScriptServices.AppServices.Datasources.AppLevelDatasourceStrategy.GetDatasourceLocations(RenderingDef rendering, AppConfiguration app, IdManager idManager)&#xA;     at Sitecore.JavaScriptServices.AppServices.Datasources.AggregateDatasourceStrategy.GetDatasourceLocations(RenderingDef rendering, AppConfiguration app, IdManager idManager)&#xA;     at Sitecore.JavaScriptServices.AppServices.Pipelines.Import.ProcessRenderings.CreateRendering(RenderingDef renderingDef, ImportPipelineArgs args, IdManager idManager, AppConfiguration app, IDatasourceStrategy datasourceStrategy)&#xA;     at Sitecore.JavaScriptServices.AppServices.Pipelines.Import.ProcessRenderings.&amp;lt;&gt;c__DisplayClass3_0.b__0(RenderingDef rendering)&#xA;     at System.Linq.Enumerable.WhereSelectListIterator&lt;code&gt;2.MoveNext()&#xA;     at System.Linq.Enumerable.WhereEnumerableIterator&lt;/code&gt;1.MoveNext()&#xA;     at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable&lt;code&gt;1 source, Func&lt;/code&gt;2 keySelector, Func&lt;code&gt;2 elementSelector, IEqualityComparer&lt;/code&gt;1 comparer)&#xA;     at Sitecore.JavaScriptServices.AppServices.Pipelines.Import.ProcessRenderings.Process(ImportPipelineArgs args)&#xA;     at (Object , Object )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.JavaScriptServices.AppServices.Pipelines.Import.ImportPipeline.Import(ImportPipelineArgs args)&#xA;     at Sitecore.JavaScriptServices.AppServices.ImportService.ImportJob.StartImportInternal()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;any help appreciated. &lt;/p&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2021-12-16T15:32:56.053" Title="The current user does not have write access to this item. User: sitecore\JssImport," Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13989" PostTypeId="2" ParentId="13988" CreationDate="2018-09-19T13:23:02.953" Score="1" Body="&lt;p&gt;The error was mainly because of the Javascript services - SitecorePath was mentioned wrongly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suppose to leave it as 'sitecore/content/myapp', but i changed to ''sitecore/content/' thinking that it needs to be changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TeSMu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TeSMu.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2018-09-19T13:23:02.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13990" PostTypeId="2" ParentId="13965" CreationDate="2018-09-19T13:53:34.610" Score="4" Body="&lt;p&gt;After testing out some more things, I finally was able to solve the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got closer to my problem by switching out the connection strings to databases of a clean setup. Which made the Sitecore environment work again without the 500 errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After further research I tried again with the databases that gave the problem. And my reaction was to check the EventQueue tables.&#xA;After cleaning up the EventQueue, History and PublishQueue tables, the site was responding again (no 500 errors anymore).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if someone else comes across this problem, have a look at those tables.&#xA;Try switching databases perhaps or clean them in Core, Master and Web.&lt;br&gt;&#xA;Article that helped me:&#xA;&lt;a href=&quot;https://briancaos.wordpress.com/2016/08/12/sitecore-event-queue-how-to-clean-it-and-why/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2016/08/12/sitecore-event-queue-how-to-clean-it-and-why/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2018-09-19T13:53:34.610" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13991" PostTypeId="1" AcceptedAnswerId="14043" CreationDate="2018-09-19T14:12:22.323" Score="0" ViewCount="253" Body="&lt;p&gt;After reorganizing the solution and moving code files (controllers and views among other things) to other projects in order to implement the Helix principle I now seem to have broken something. I can still reach the Sitecore login page but when I do log in I get the Picture below rather than the launchpad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running Sitecore 8.2 update 5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any advice on what might be broken and how to fix it is most welcome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Uukcl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Uukcl.png&quot; alt=&quot;ScreenShot of the error page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3366" LastActivityDate="2018-09-21T06:27:32.867" Title="Broken routes prevent access to launchpad" Tags="|sitecore-client|launchpad|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13992" PostTypeId="2" ParentId="13987" CreationDate="2018-09-19T15:10:18.537" Score="2" Body="&lt;p&gt;It is not possible to use Sitecore config variables in this way to set replacement values. The global config variable replacement process only works on node attributes, e.g. &lt;code&gt;&amp;lt;setting name=&quot;xyz&quot; value=&quot;$(variable)&quot; /&amp;gt;&lt;/code&gt;. It will not work on element values, e.g. &lt;code&gt;&amp;lt;element&amp;gt;$(value)&amp;lt;/element&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find some elements in the Sitecore config which &lt;em&gt;appear to look&lt;/em&gt; like a global variables, but checking the expanded config in &lt;strong&gt;&quot;/sitecore/admin/showconfig.aspx&quot;&lt;/strong&gt; you will note that they have &lt;strong&gt;not&lt;/strong&gt; been expanded by the &lt;code&gt;ConfigReader&lt;/code&gt; and in fact the replacements is made by the underlying code used by that process (&lt;code&gt;Sitecore.Pipelines.Loader.DumpConfigurationFiles&lt;/code&gt; processor is a good example of this).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the replacement of the &lt;code&gt;&amp;lt;Limit&amp;gt;&lt;/code&gt; node, in your case you should use a regular config patch which target's this element:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;configuration&amp;gt;&#xA;    &amp;lt;indexes&amp;gt;&#xA;      &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;        &amp;lt;commitPolicyExecutor&amp;gt;&#xA;          &amp;lt;policies&amp;gt;&#xA;            &amp;lt;policy&amp;gt;&#xA;              &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;            &amp;lt;/policy&amp;gt;&#xA;          &amp;lt;/policies&amp;gt;&#xA;        &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-09-19T15:10:18.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13993" PostTypeId="1" AcceptedAnswerId="13996" CreationDate="2018-09-19T15:23:59.120" Score="0" ViewCount="1251" Body="&lt;p&gt;It seems like the router setup for the JSS Vue example may be preventing the transitions that are built into Vue Router from properly running.  Specifically I am having issues with the leave animation.  It seems like it either gets skips or the enter state runs too quickly.  The enter animation works fine and I have also used this before on more simple Vue app builds.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the code I added to &lt;code&gt;AppRoot.vue&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;template&amp;gt;&#xA;  &amp;lt;div class=&quot;app-root&quot;&amp;gt;&#xA;    &amp;lt;context-view :visible=&quot;contextViewVisible&quot; /&amp;gt;&#xA;    &amp;lt;!-- 'router-view' is a &quot;global&quot; component that is injected into the Vue component registry by vue-router. --&amp;gt;&#xA;    &amp;lt;transition name=&quot;slide-fade&quot;&amp;gt;&#xA;      &amp;lt;router-view v-if=&quot;!languageIsChanging&quot; /&amp;gt;&#xA;    &amp;lt;/transition&amp;gt;&#xA;&#xA;    &amp;lt;div v-if=&quot;languageIsChanging&quot; class=&quot;alert alert-info&quot;&amp;gt;Language is changing...&amp;lt;/div&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;&amp;lt;/template&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As well as the CSS for the transition animations:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  .slide-fade-enter-active {&#xA;    transition: all 0.5s ease;&#xA;    transition-delay: 2s;&#xA;  }&#xA;  .slide-fade-leave-active {&#xA;    transition: all 1s cubic-bezier(1, 0.5, 0.8, 1);&#xA;  }&#xA;  .slide-fade-enter, .slide-fade-leave-to&#xA;  /* .slide-fade-leave-active below version 2.1.8 */ {&#xA;    transform: translateX(30px);&#xA;    opacity: 0;&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My guess is that it has something to do with how the dynamic routes are being fetched and the logic in  &lt;code&gt;RouteHandler.vue&lt;/code&gt;.  I'm wondering if there are any other more simple examples of route handling that only deal with fetching the right components and mounting them with the data from SiteCore (no language switcher and graphQL stuff).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated!&lt;/p&gt;&#xA;" OwnerUserId="4327" LastActivityDate="2018-09-19T19:05:03.470" Title="JSS Vue page transitions not fully working in example project" Tags="|jss|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13994" PostTypeId="1" CreationDate="2018-09-19T15:45:00.177" Score="3" ViewCount="441" Body="&lt;p&gt;I'm planning on using Redis for shared and private session for my Sitecore 9 update 1 site. There is already an existing Redis cluster running using Redis version 4.0.10. I believe the Azure Redis cache service uses Redis 3.2.7. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any issue using Redis 4.0.10 for session, if so what are the Redis versions that work with Sitecore 9 update 1?&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-09-19T15:45:00.177" Title="Sitecore Redis engine version compatibility" Tags="|session-state|redis|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="13996" PostTypeId="2" ParentId="13993" CreationDate="2018-09-19T17:16:48.147" Score="0" Body="&lt;p&gt;I think the issue you're encountering is due to the loading state transitions within the &lt;code&gt;RouteHandler&lt;/code&gt; component that is rendered by the &lt;code&gt;&amp;lt;router-view /&amp;gt;&lt;/code&gt;. In the code you've provided, the &lt;code&gt;&amp;lt;transition&amp;gt;&lt;/code&gt; gets applied to whatever is rendered by the &lt;code&gt;&amp;lt;router-view /&amp;gt;&lt;/code&gt; component (which is ultimately the &lt;code&gt;RouteHandler&lt;/code&gt; component in the sample apps).&lt;/p&gt;&#xA;&lt;p&gt;However, because route data retrieval is asynchronous, the &lt;code&gt;RouteHandler&lt;/code&gt; will enter the &lt;code&gt;loading&lt;/code&gt; state and render a &lt;code&gt;&amp;lt;route-loading /&amp;gt;&lt;/code&gt; component while route data is being retrieved. After route data has been retrieved, the &lt;code&gt;RouteHandler&lt;/code&gt; will render the &lt;code&gt;&amp;lt;layout /&amp;gt;&lt;/code&gt; component. The &lt;code&gt;&amp;lt;router-view /&amp;gt;&lt;/code&gt; component is therefore technically &amp;quot;swapping&amp;quot; separate components and the &lt;code&gt;&amp;lt;transition&amp;gt;&lt;/code&gt; that wraps &lt;code&gt;&amp;lt;router-view /&amp;gt;&lt;/code&gt; is trying to apply the transition to &lt;em&gt;each&lt;/em&gt; component that &lt;code&gt;&amp;lt;router-view /&amp;gt;&lt;/code&gt; renders.&lt;/p&gt;&#xA;&lt;p&gt;All of that said, it seems like the most straightforward solution might be to move the &lt;code&gt;&amp;lt;transition /&amp;gt;&lt;/code&gt; into the &lt;code&gt;RouteHandler&lt;/code&gt; component, directly wrapping the components declared in its template. Then also use the transition &lt;code&gt;mode&lt;/code&gt; property on the &lt;code&gt;&amp;lt;transition /&amp;gt;&lt;/code&gt; component, which is explained in the Vue docs: &lt;a href=&quot;https://v2.vuejs.org/v2/guide/transitions.html#Transition-Modes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://v2.vuejs.org/v2/guide/transitions.html#Transition-Modes&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;transition name=&amp;quot;slide-fade&amp;quot; mode=&amp;quot;out-in&amp;quot;&amp;gt;&#xA;  &amp;lt;not-found v-if=&amp;quot;notFound&amp;quot; :context=&amp;quot;appState.sitecoreContext&amp;quot; /&amp;gt;&#xA;  &amp;lt;route-loading v-else-if=&amp;quot;loading&amp;quot;  /&amp;gt;&#xA;  &amp;lt;layout v-else :route=&amp;quot;appState.routeData&amp;quot; /&amp;gt;&#xA;&amp;lt;/transition&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I also adjusted the css a bit, just to remove the &lt;code&gt;transition-delay&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;.slide-fade-enter-active {&#xA;  transition: all 0.5s ease;&#xA;}&#xA;.slide-fade-leave-active {&#xA;  transition: all 1s cubic-bezier(1, 0.5, 0.8, 1);&#xA;}&#xA;.slide-fade-enter, .slide-fade-leave-to&#xA;  /* .slide-fade-leave-active below version 2.1.8 */ {&#xA;  transform: translateX(30px);&#xA;  opacity: 0;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The transition should then behave like:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Current element transitions out first, then when complete, the new element transitions in.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;You may need to experiment with transition timings and delays to achieve your desired effect, but I believe this is the path you'll need to explore.&lt;/p&gt;&#xA;&lt;p&gt;Alternatively, you may wish to replace the &lt;code&gt;&amp;lt;route-loading /&amp;gt;&lt;/code&gt; component in the sample app with your own transition / loading indicator.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="-1" LastEditDate="2022-09-27T22:35:34.400" LastActivityDate="2018-09-19T19:05:03.470" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="13997" PostTypeId="1" CreationDate="2018-09-19T17:36:30.833" Score="1" ViewCount="105" Body="&lt;p&gt;I have an item with version in &lt;code&gt;en&lt;/code&gt; only. I have set the &lt;code&gt;en-GB&lt;/code&gt; language to fallback to &lt;code&gt;en&lt;/code&gt;, and it works great. With Sitecore's &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/language_fallback/language_fallback&quot; rel=&quot;nofollow noreferrer&quot;&gt;language fallback&lt;/a&gt; functionality, I do not have to have a version in the &lt;code&gt;en-GB&lt;/code&gt; language, unless I decide to create one and localize some content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same is true for Datasource content items. I have them set to fallback and I only need to create localized versions if I am translating their content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, this makes it very difficult for me to determine if a given page item/request/URL is falling back or not. Simply checking for the presence of the context item's language versions will not always work, as most, if not all, of the page's content is data-sourced. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Knowing this information would be useful for several scenarios:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Determining whether or not to output &lt;a href=&quot;https://moz.com/learn/seo/hreflang-tag&quot; rel=&quot;nofollow noreferrer&quot;&gt;hreflang's&lt;/a&gt;. For example, I would not want to generate hreflangs for a page that is falling back 100% and contains zero translations.&lt;/li&gt;&#xA;&lt;li&gt;Determining how to include the page in a sitemap.  &lt;/li&gt;&#xA;&lt;li&gt;Determining whether or not to offer visitors a given language as a selection in a language switcher.&lt;/li&gt;&#xA;&lt;li&gt;Possibly something in reverse, such as alerting content authors that Datasource item is missing a translated version.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This begs the question: &lt;strong&gt;Is there a generally accepted way of determining whether a given page item/request/url is being translated?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="100" LastEditorUserId="100" LastEditDate="2018-09-19T21:54:18.340" LastActivityDate="2018-09-19T21:54:18.340" Title="How do you detect if a request is translated?" Tags="|multilingual|language-fallback|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="13999" PostTypeId="1" AcceptedAnswerId="28252" CreationDate="2018-09-19T19:01:02.173" Score="5" ViewCount="340" Body="&lt;p&gt;I've got a navigation folder outside of the home node that contains a folder for each navigation bar (IE header and footer for simplicity). Under that navigation bar folder are the items that should appear on the menu. Then the &quot;header&quot; or &quot;footer&quot; item has a drop link to hook the appropriate menu to the appropriate spot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When publishing from the homepage and using &quot;publish related&quot; any changes made to the individual navigation items aren't being pushed, because they're not the directly related item, but a subitem of the related item. I found one blog that suggested this was possible - &lt;a href=&quot;https://abarhoum.com/2016/08/29/deep-publishing-of-related-items-with-sitecroe-experience-editor/&quot; rel=&quot;noreferrer&quot;&gt;https://abarhoum.com/2016/08/29/deep-publishing-of-related-items-with-sitecroe-experience-editor/&lt;/a&gt;. But I tried implementing that and the menu item didn't push out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone accomplished something similar to this scenario?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2021-03-29T06:48:09.163" Title="Publishing the subitems of related items" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14000" PostTypeId="1" AcceptedAnswerId="14041" CreationDate="2018-09-19T22:34:47.520" Score="4" ViewCount="181" Body="&lt;p&gt;I'm implementing a scheduled task that loops through contacts that have recently visited the site and sends over some analytics information to another service we have. The relevant parts of the code is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contactRepository = new ContactRepository();&#xA;var contact = contactRepository.LoadContactReadOnly(contactId);&#xA;var keyBehaviorCache = contact.GetKeyBehaviorCache();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm getting an exception on the call to &lt;code&gt;GetKeyBehaviorCache()&lt;/code&gt; that says contact.Attachments should contain key KeyBehaviorCache. Looking at the decompiled code, it's checking the contact for an attachment called KeyBehaviorCache that indeed doesn't exist on the contact.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Assert.IsTrue((contact.Attachments.ContainsKey(&quot;KeyBehaviorCache&quot;) ? 1 : 0) != 0, &quot;contact.Attachments should contain key {0}&quot;, (object) &quot;KeyBehaviorCache&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Looking at sitecore's documentation, I see that the key behavior cache isn't accessible during aggregating and reporting but only on a content delivery instance. That seems a little big vague to me. I'm currently running a single instance on my local machine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this something that isn't possible to do from a scheduled task or has anyone done this successfully? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're currently running version 8.2 (rev. 170728).&lt;/p&gt;&#xA;" OwnerUserId="2699" LastEditorUserId="605" LastEditDate="2018-09-21T18:44:50.953" LastActivityDate="2018-09-21T18:44:50.953" Title="Using Key Behavior Cache in scheduled task" Tags="|xdb|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14001" PostTypeId="1" AcceptedAnswerId="14009" CreationDate="2018-09-20T00:22:17.970" Score="3" ViewCount="186" Body="&lt;p&gt;Let's say that we have a bunch of items that are already published, meaning that their workflow status must be something like &lt;code&gt;_final&lt;/code&gt;. When we move those items from a folder to another in the Content Editor, the workflow status remains the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I would prefer those items moved from a folder to another folder checked, not just showing those contents to public without any controls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to set the workflow status to something like &lt;code&gt;_Draft&lt;/code&gt; so that the user must start their workflow from the beginning when they move their items (contents) to other folders?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="605" LastEditDate="2018-09-20T07:20:35.033" LastActivityDate="2018-09-20T07:20:35.033" Title="Moving items in Content Editor bypasses Workflow in Sitecore" Tags="|workflow|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14002" PostTypeId="1" AcceptedAnswerId="14026" CreationDate="2018-09-20T01:37:52.957" Score="1" ViewCount="2081" Body="&lt;p&gt;I am using below setting in my application to reduce file size, but no luck. Sometimes it is giving bigger than the original size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Media.UseLegacyResizing -&gt; value=true&#xA;Media.InterpolationMode -&gt; value=Low&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the settings I need to modify to get file in less size?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="2344" LastActivityDate="2018-09-20T13:47:40.417" Title="Get Optimized Image in sitecore" Tags="|media-library|performance-optimization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14003" PostTypeId="2" ParentId="14002" CreationDate="2018-09-20T01:59:28.320" Score="1" Body="&lt;p&gt;I would recommend trying &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dianoga&lt;/a&gt;. It is very simple to install and is production ready, and supports multiple different image types (jpg, png, svg).&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-09-20T01:59:28.320" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14004" PostTypeId="1" CreationDate="2018-09-20T04:44:17.083" Score="0" ViewCount="626" Body="&lt;p&gt;I have disabled the Asset Optimization for the entire SXA site. I am able to view the updated styles of my Theme in normal mode. But, in editing mode, not able to get the updated styles. Is there any setting or querystring I can append to url to resolve this. I tried clearing my browser cache and using aodisabled=1 (not required as I disabled it anyway) but still no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2018-09-20T09:24:47.890" Title="Editing Sitecore SXA Page is not showing up updated styles" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14006" PostTypeId="1" CreationDate="2018-09-20T05:53:49.380" Score="0" ViewCount="249" Body="&lt;p&gt;I wanted to know how to stress test the sitecore azure indexes(rebuilding of indexes).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a methodology or a tool(like Jmeter or similar tool) to check how the index performs under heavy load.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2018-10-20T07:00:40.793" Title="How to stress\load test sitecore azure indexes" Tags="|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14007" PostTypeId="2" ParentId="14006" CreationDate="2018-09-20T06:38:49.400" Score="1" Body="&lt;p&gt;You can monitor the performance of your index via Application Insights.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the Azure Portal&lt;/li&gt;&#xA;&lt;li&gt;Open your Application Insights instance and click the Metrics tab&lt;/li&gt;&#xA;&lt;li&gt;Change the Resource dropdown to your Azure Search service&lt;/li&gt;&#xA;&lt;li&gt;Select the Search queries per second metric&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you need to generate load artificially, this can also be done via Application Insights under the Performance Tests tab. From there you can create a test which will generate load on the WebApp. You'll need to configure the test carefully to hit a page on the site that triggers a search.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-09-20T06:38:49.400" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14008" PostTypeId="2" ParentId="14004" CreationDate="2018-09-20T07:15:13.273" Score="1" Body="&lt;p&gt;You can turn off asset optimization in 3 ways:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/system/Settings/Foundation/Experience Accelerator/Theming/Optimiser&lt;/code&gt; - under this item, you can &lt;strong&gt;globally&lt;/strong&gt; turn off scripts and styles minification and bundling&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/content/TENANT/SITE/Presentation/Page Designs&lt;/code&gt; - under this item in your site, in the Asset Optimization section you can control minification and bundling for your site only&lt;/li&gt;&#xA;&lt;li&gt;by adding &lt;code&gt;aodisable=1&lt;/code&gt; to query string you can turn off asset optimization for a request (depending on the SXA version you might need to enable &lt;code&gt;XA.Foundation.Theming.AssetsOptimizationSwitch.Enabled&lt;/code&gt; setting in the Sitecore.XA.Foundation.Theming.config file)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'm pretty sure that all of those options are working fine as I'm using them randomly from time to time. If you don't want to use optimization at all:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;turn it off globally - this basically is enough&lt;/li&gt;&#xA;&lt;li&gt;remove all &lt;code&gt;optimize&lt;/code&gt; and &lt;code&gt;optimize-min&lt;/code&gt; item from your styles and scripts folders under themes - but this is just for a sake of having a clean tree of items&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you still don't see updated styles or scripts - that is just a browser cache.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-09-20T09:24:47.890" LastActivityDate="2018-09-20T09:24:47.890" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14009" PostTypeId="2" ParentId="14001" CreationDate="2018-09-20T07:19:50.963" Score="2" Body="&lt;p&gt;You should make use of the event &lt;code&gt;item:moved&lt;/code&gt;. In this pipeline, when the item has already been moved, you can update the workflow state.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnItemMovedEvent(object sender, EventArgs args)&#xA;{&#xA;    var eventArgs = args as SitecoreEventArgs;&#xA;&#xA;    if (eventArgs == null)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    var item = eventArgs.Parameters[0] as Item;&#xA;&#xA;    // Apply some logics to see if item workflow should be updated&#xA;&#xA;    using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;    {       &#xA;        item.Editing.BeginEdit();&#xA;        item.Fields[&quot;__Workflow state&quot;].Value = &quot;{190B1C84-F1BE-47ED-AA41-F42193D9C8FC}&quot;;&#xA;        item.Editing.EndEdit();     &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I am assuming you are using the Sample Workflow. If you are using a custom one, you need to update the &lt;code&gt;ID&lt;/code&gt; at the statement&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[&quot;__Workflow state&quot;].Value = &quot;{190B1C84-F1BE-47ED-AA41-F42193D9C8FC}&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once completed, you need to add it to the item event pipeline via config file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;        &amp;lt;event name=&quot;item:saved&quot;&amp;gt;&#xA;            &amp;lt;handler type=&quot;YourNamespace.ClassName,YourAssembly&quot; method=&quot;OnItemMovedEvent&quot; /&amp;gt;&#xA;        &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-09-20T07:19:50.963" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14010" PostTypeId="1" CreationDate="2018-09-20T08:05:25.783" Score="1" ViewCount="482" Body="&lt;p&gt;We have multisite setup with two websites pointing to two domains in sites.config and we are trying to map custom membership provider to each of the domains. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the configuration:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;membership defaultProvider=&quot;sitecore&quot; hashAlgorithmType=&quot;SHA1&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;clear /&amp;gt;&#xA;    &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Security.SitecoreMembershipProvider, Sitecore.Kernel&quot; realProviderName=&quot;switcher&quot; providerWildcard=&quot;%&quot; raiseEvents=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;sql&quot; type=&quot;System.Web.Security.SqlMembershipProvider&quot; connectionStringName=&quot;core&quot; applicationName=&quot;sitecore&quot; minRequiredPasswordLength=&quot;1&quot; minRequiredNonalphanumericCharacters=&quot;0&quot; requiresQuestionAndAnswer=&quot;false&quot; requiresUniqueEmail=&quot;false&quot; maxInvalidPasswordAttempts=&quot;5&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;custommembershipprovider1&quot; type=&quot;Myproject.custommembershipprovider1, Myproject&quot; maxInvalidPasswordAttempts=&quot;5&quot; minRequiredPasswordLength=&quot;8&quot; minRequiredNonalphanumericCharacters=&quot;1&quot; passwordAttemptWindow=&quot;10&quot; applicationName=&quot;/&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;custommembershipprovider2&quot; type=&quot;Myproject.custommembershipprovider1, Myproject&quot; maxInvalidPasswordAttempts=&quot;5&quot; minRequiredPasswordLength=&quot;8&quot; minRequiredNonalphanumericCharacters=&quot;1&quot; passwordAttemptWindow=&quot;10&quot; applicationName=&quot;/&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;switcher&quot; type=&quot;Sitecore.Security.SwitchingMembershipProvider, Sitecore.Kernel&quot; applicationName=&quot;sitecore&quot; mappings=&quot;switchingProviders/membership&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/membership&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;switchingProviders&amp;gt;&#xA;&amp;lt;membership&amp;gt;&#xA;  &amp;lt;provider providerName=&quot;sql&quot; storeFullNames=&quot;true&quot; wildcard=&quot;%&quot; domains=&quot;*&quot; /&amp;gt;&#xA;  &amp;lt;provider providerName=&quot;custommembershipprovider1&quot; storeFullNames=&quot;false&quot; wildcard=&quot;%&quot; domains=&quot;Domain1&quot;/&amp;gt;&#xA;  &amp;lt;provider providerName=&quot;custommembershipprovider2&quot; storeFullNames=&quot;false&quot; wildcard=&quot;%&quot; domains=&quot;Domain2&quot;/&amp;gt;&#xA;&amp;lt;/membership&amp;gt;&#xA;&amp;lt;roleManager&amp;gt;&#xA;  &amp;lt;provider providerName=&quot;sql&quot; storeFullNames=&quot;true&quot; wildcard=&quot;%&quot; domains=&quot;*&quot; ignoredUserDomains=&quot;&quot; allowedUserDomains=&quot;&quot; /&amp;gt;&#xA;&amp;lt;/roleManager&amp;gt;&#xA;&amp;lt;profile&amp;gt;&#xA;  &amp;lt;provider providerName=&quot;sql&quot; storeFullNames=&quot;true&quot; wildcard=&quot;%&quot; domains=&quot;*&quot; ignoredDomains=&quot;&quot; /&amp;gt;&#xA;  &amp;lt;provider providerName=&quot;customprofileprovider1&quot; storeFullNames=&quot;false&quot; wildcard=&quot;%&quot; domains=&quot;Domain1&quot;/&amp;gt;&#xA;&amp;lt;/profile&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Domains.Config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;domain name=&quot;sitecore&quot; ensureAnonymousUser=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;  &#xA;  &#xA;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Calling authentication manager in code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;AuthenticationManager.Login(&#xA;            fullUsername, // passing &quot;Context.Domain\Username&quot;&#xA;            password,&#xA;            false)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try this the AuthenticationManager hits ValidateUser() of &quot;custommembershipprovider1&quot; for both the domains. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am i missing anything here in mapping domain to specific custom membership provider?&lt;/p&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="3133" LastEditDate="2019-11-08T09:15:25.260" LastActivityDate="2019-11-08T09:15:25.260" Title="Membership provider per domain in multisite configuration" Tags="|multisite|authentication|membership-provider|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14011" PostTypeId="1" AcceptedAnswerId="14012" CreationDate="2018-09-20T08:16:25.650" Score="4" ViewCount="380" Body="&lt;p&gt;After installing Sitecore 9 update 2, I noticed few changes in ConnectionString.config. One of them is &lt;code&gt;&amp;lt;add name=&quot;sessions&quot; connectionString=&quot;user id=sa;password=12345;data source=.\SQL2016;database=Sitecore_Sitecore.Sessions&quot; /&amp;gt;&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone please explain what is the purpose of this database? I haven't found this database in server after installation. Is it safe to keep as it is now?&lt;/p&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="3378" LastEditDate="2018-09-20T09:58:21.897" LastActivityDate="2018-09-20T09:58:21.897" Title="What is the purpose of Sitecore 9 update 2 session database?" Tags="|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14012" PostTypeId="2" ParentId="14011" CreationDate="2018-09-20T08:35:13.693" Score="3" Body="&lt;p&gt;The xDB stores two kinds of session information - shared and private . You can think of shared session state as the contact store - it has information about the contact, devices used, and engagement plan states. Private session state contains information about interactions - such as goals triggered. When you install Sitecore on a single machine, both types of session data are stored InProc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore Experience Database, you can use a session state server to share all your contact sessions across different browsers and devices. Configuring out-of-process session state is important if you have deployed an environment with multiple content delivery servers or clusters of content delivery servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tracking the session state of your contacts is important regardless of whether you install a standalone environment or a fully scalable environment. For example, it is possible to track two simultaneous contact sessions from two different devices, such as from a desktop web browser or a mobile phone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you decide to deploy a large, fully scalable environment with vertical and horizontal scaling, then session state becomes even more important. For example, in a multi-content delivery cluster environment, you can share contact information between content delivery instances to ensure that contacts stay connected to the particular cluster where their interaction originated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is described how you configure session database: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/configuring_session_database_servers&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/configuring_session_database_servers&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configuring_a_private_session_state_database_using_the_sql_server_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configuring_a_private_session_state_database_using_the_sql_server_provider&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configure_a_shared_session_state_database_using_the_sql_server_provider&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-09-20T08:35:13.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14013" PostTypeId="1" AcceptedAnswerId="14019" CreationDate="2018-09-20T09:05:27.773" Score="0" ViewCount="377" Body="&lt;p&gt;I need to add a charFilter to the Solr managed schema. I'm using Solr Cloud 6.6 and Sitecore 9.0.1. Sitecore uses a SchemaPopulateHelper class that generates xml updates to the managed schema. It essentially performs updates according to the following description, but does it using xml format instead of json:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/schema-api.html#SchemaAPI-MultipleCommandsinaSinglePOST&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/schema-api.html#SchemaAPI-MultipleCommandsinaSinglePOST&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So a Sitecore managed field type update POST to the Solr API (reflected from &lt;code&gt;Sitecore.ContentSearch.SolrProvider.Pipelines.PopulateSolrSchema.SchemaPopulateHelper&lt;/code&gt;) looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;replace-field-type&amp;gt;&#xA;  &amp;lt;name&amp;gt;text_general&amp;lt;/name&amp;gt;&#xA;  &amp;lt;class&amp;gt;solr.TextField&amp;lt;/class&amp;gt;&#xA;  &amp;lt;positionIncrementGap&amp;gt;100&amp;lt;/positionIncrementGap&amp;gt;&#xA;  &amp;lt;multiValued&amp;gt;false&amp;lt;/multiValued&amp;gt;&#xA;  &amp;lt;indexAnalyzer&amp;gt;&#xA;    &amp;lt;tokenizer&amp;gt;&#xA;      &amp;lt;class&amp;gt;solr.StandardTokenizerFactory&amp;lt;/class&amp;gt;&#xA;    &amp;lt;/tokenizer&amp;gt;&#xA;    &amp;lt;filters&amp;gt;&#xA;      &amp;lt;class&amp;gt;solr.WordDelimiterGraphFilterFactory&amp;lt;/class&amp;gt;&#xA;      &amp;lt;catenateNumbers&amp;gt;1&amp;lt;/catenateNumbers&amp;gt;&#xA;      &amp;lt;generateNumberParts&amp;gt;1&amp;lt;/generateNumberParts&amp;gt;&#xA;      &amp;lt;splitOnCaseChange&amp;gt;1&amp;lt;/splitOnCaseChange&amp;gt;&#xA;      &amp;lt;generateWordParts&amp;gt;1&amp;lt;/generateWordParts&amp;gt;&#xA;      &amp;lt;catenateAll&amp;gt;0&amp;lt;/catenateAll&amp;gt;&#xA;      &amp;lt;catenateWords&amp;gt;1&amp;lt;/catenateWords&amp;gt;&#xA;      &amp;lt;splitOnNumerics&amp;gt;1&amp;lt;/splitOnNumerics&amp;gt;&#xA;    &amp;lt;/filters&amp;gt;&#xA;    &amp;lt;filters&amp;gt;&#xA;      &amp;lt;class&amp;gt;solr.LowerCaseFilterFactory&amp;lt;/class&amp;gt;&#xA;    &amp;lt;/filters&amp;gt;&#xA;  &amp;lt;/indexAnalyzer&amp;gt;&#xA;  &amp;lt;queryAnalyzer&amp;gt;&#xA;    &amp;lt;tokenizer&amp;gt;&#xA;      &amp;lt;class&amp;gt;solr.StandardTokenizerFactory&amp;lt;/class&amp;gt;&#xA;    &amp;lt;/tokenizer&amp;gt;&#xA;    &amp;lt;filters&amp;gt;&#xA;      &amp;lt;class&amp;gt;solr.WordDelimiterGraphFilterFactory&amp;lt;/class&amp;gt;&#xA;      &amp;lt;catenateNumbers&amp;gt;0&amp;lt;/catenateNumbers&amp;gt;&#xA;      &amp;lt;generateNumberParts&amp;gt;1&amp;lt;/generateNumberParts&amp;gt;&#xA;      &amp;lt;splitOnCaseChange&amp;gt;1&amp;lt;/splitOnCaseChange&amp;gt;&#xA;      &amp;lt;generateWordParts&amp;gt;1&amp;lt;/generateWordParts&amp;gt;&#xA;      &amp;lt;catenateAll&amp;gt;0&amp;lt;/catenateAll&amp;gt;&#xA;      &amp;lt;catenateWords&amp;gt;0&amp;lt;/catenateWords&amp;gt;&#xA;      &amp;lt;splitOnNumerics&amp;gt;1&amp;lt;/splitOnNumerics&amp;gt;&#xA;    &amp;lt;/filters&amp;gt;&#xA;    &amp;lt;filters&amp;gt;&#xA;      &amp;lt;class&amp;gt;solr.LowerCaseFilterFactory&amp;lt;/class&amp;gt;&#xA;    &amp;lt;/filters&amp;gt;&#xA;  &amp;lt;/queryAnalyzer&amp;gt;&#xA;&amp;lt;/replace-field-type&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I essentially tried adding charFilters, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;&amp;lt;indexAnalyzer&amp;gt;&#xA;    &amp;lt;charFilters&amp;gt;&#xA;      &amp;lt;class&amp;gt;solr.PatternReplaceCharFilterFactory&amp;lt;/class&amp;gt;&#xA;      &amp;lt;pattern&amp;gt;a&amp;lt;/pattern&amp;gt;&#xA;      &amp;lt;replacement&amp;gt;b&amp;lt;/replacement&amp;gt;&#xA;    &amp;lt;/charFilters&amp;gt;&#xA;    &amp;lt;tokenizer&amp;gt;&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This doesn't work, and I've tried a few variants of this. The tricky thing is that Solr accepts the update request, without any errors in the Sitecore log. There are no errors in the Solr logs either. The only way I can see that this fails is to make other changes to the schema at the same time and see that those are not stored either. If I remove the charFilter and make other changes to the field type, I can see that Solr picks this up and stores them into the managed schema.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on how this update should be written or how I could debug this?&lt;/p&gt;&#xA;" OwnerUserId="213" LastActivityDate="2018-09-20T11:12:39.780" Title="How to add charFilter to Solr Managed Schema from Sitecore 9?" Tags="|content-search|solr|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14014" PostTypeId="1" AcceptedAnswerId="14046" CreationDate="2018-09-20T09:06:24.800" Score="0" ViewCount="83" Body="&lt;p&gt;I have a question regarding Content Management configuration settings. I have setup our CM environment as per &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/configure_a_content_management_server&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's instructions&lt;/a&gt;. I. In the excel sheet provided, I have filter out ‘Enable’ under Content Management (CM) column, you’ll see below files are enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o0ldV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o0ldV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However according to this &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/server_considerations/server_configuration_features?roles=marketer&quot; rel=&quot;nofollow noreferrer&quot;&gt;document&lt;/a&gt;, these configuration files are processing/aggregation features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With that said, my question is given that those files are enabled in our CM environment would that mean our CM is serving as CM + processing/aggregation?&#xA;Is there any anything I need to watch on disabling these configs?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="707" LastActivityDate="2018-09-21T06:42:00.360" Title="Content Management having processing/aggregation config files Sitecore 8.1" Tags="|xdb|content-management|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14015" PostTypeId="1" CreationDate="2018-09-20T09:42:53.557" Score="1" ViewCount="362" Body="&lt;p&gt;I followed &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-azure-index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; to rebuild the xDB index in Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;About 2 hours after the rebuild index process started, i noticed that the rebuild process seemed to stopped (document of xdb-secondary didn't continue to rise).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when i tried to check if rebuild was complete with the query : $filter=id eq 'xdb-rebuild-status', i didn't get a RebuildState of 6 indicates that rebuild has completed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also checked log files of xc-search AppService but could not see any error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to know if i can check log of Azure Search to see errors (With Solr Search, we can see it's log) ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If yes where can i check ?&lt;/p&gt;&#xA;" OwnerUserId="3701" LastActivityDate="2018-09-20T09:42:53.557" Title="rebuild the xDB index in Azure Search didn't finished" Tags="|xdb|azure|azure-search|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14016" PostTypeId="1" CreationDate="2018-09-20T10:24:05.537" Score="0" ViewCount="146" Body="&lt;p&gt;I need to give the customers the possibility to have more than one cart, and I am not able to find a way to retrieve all the carts related to a given customer.&#xA;I'm creating carts with this name structure: &quot;[p]cart[userid]storefront&quot;, where p is a progressive number.&#xA;Then I tried to retrieve all the carts which names end with &quot;cart[userid]storefront&quot;, but it's not working at all. I tried:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;http://{{ServiceHost}}/{{ShopsApi}}/Carts/?$filter=endswith(Name,'cart[userid]storefront')&#xA;      http://{{ServiceHost}}/{{ShopsApi}}/Carts/?$filter=endswith(Name,'cart[userid]storefront')&#xA;  eq true&#xA;      http://{{ServiceHost}}/{{ShopsApi}}/Carts/?$filter=endswith(Id,'cart[userid]storefront')&#xA;      http://{{ServiceHost}}/{{ShopsApi}}/Carts/?$filter=endswith(Id'cart[userid]storefront')&#xA;  eq true&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But all of them gave 500 internal server error.&#xA;Could you give me some hint on how to achieve this result or tell me why this ODATA Services are not working correctly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thank you&lt;/p&gt;&#xA;" OwnerUserId="4332" LastActivityDate="2018-12-19T15:00:10.753" Title="Sitecore Commerce 8.2.1 Get all carts of a given user" Tags="|sitecore-commerce|odata|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14018" PostTypeId="1" CreationDate="2018-09-20T11:09:42.610" Score="2" ViewCount="454" Body="&lt;p&gt;We are in process of designing the infrastructure architecture to host sitecore 9 update 2 in azure. This requires us to appropriately size all the databases for  Sitecore 9. Also I can't find any good documentation on whether if any of these DBs needs to be single-database vs. elastic pool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Core database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Master database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Web database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reporting database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pools database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tasks database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Forms database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Marketing Automation database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference data database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Shard map management&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Shard 0/1 databases&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site will be multisite and visit's per month will be around 500,000/month.  I had a look at this KB below but I can't figure out which DBs should be in elastic pool.&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/267409&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/267409&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2018-09-20T12:25:29.600" Title="Sitecore 9 Update 2 - Azure Database Type and Sizes" Tags="|azure|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14019" PostTypeId="2" ParentId="14013" CreationDate="2018-09-20T11:12:39.780" Score="1" Body="&lt;p&gt;It turned out this is caused by a design flaw in Sitecore...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The XML that Sitecore creates internally is never posted to Solr. Instead, Sitecore converts the internal XML representation to JSON before posting it to Solr, using the &lt;code&gt;SchemaCommand&lt;/code&gt; class where it serializes the &lt;code&gt;XElement&lt;/code&gt; list with &lt;code&gt;JsonConvert&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Solr schema REST api requires &lt;code&gt;charFilters&lt;/code&gt; to be an array and when having only one charFilter in the XML representation, there is no way that the json conversion would know that this should be represented as an array.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So essentially, if I add two charFilters, like the filter I want, and a second dummy filter that replaces for example &quot;a&quot; with &quot;a&quot;, the schema update works as expected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This design flaw also means that it isn't possible to create a field type with only one Filter, though that scenario is probably quite rare.&lt;/p&gt;&#xA;" OwnerUserId="213" LastActivityDate="2018-09-20T11:12:39.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14020" PostTypeId="1" AcceptedAnswerId="14713" CreationDate="2018-09-20T11:49:06.933" Score="1" ViewCount="200" Body="&lt;p&gt;We have installed sitecore XP1 on our Servers and our SQL admin whats to disable the &amp;quot;contained database authentication&amp;quot; after installation because of security issues he was reading in a article from MS.&lt;/p&gt;&#xA;&lt;p&gt;I've also seen this article: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13859/why-do-we-require-contained-database-for-sitecore-9&quot;&gt;Why do we require Contained database for Sitecore 9?&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h1&gt;So here the Question&lt;/h1&gt;&#xA;&lt;p&gt;How can I revert the contained Database setting after the installation without destroying my Sitecore instance?&lt;/p&gt;&#xA;&lt;p&gt;We have allready tried to extract the Users and create local Server Logins for them but that doesn't seem to work for all Sitecore users.&lt;/p&gt;&#xA;&lt;p&gt;When we try to extract the sitecore_coreuser with this SQL Script:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;    USE Sitecore_Core&#xA;&#xA;    ALTER USER [sitecore_coreuser] WITH  NAME = [sitecore_coreuser_ORIG]&#xA;    USE master&#xA;    CREATE LOGIN [sitecore_coreuser] WITH PASSWORD=N'sitecore_coreuser'&#xA;    USE Sitecore_Core&#xA;    CREATE USER [sitecore_coreuser] FOR LOGIN [sitecore_coreuser] WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [aspnet_Membership_BasicAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Membership_FullAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Membership_ReportingAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Profile_BasicAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Profile_FullAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Profile_ReportingAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Roles_BasicAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Roles_FullAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Roles_ReportingAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER [sitecore_coreuser]&#xA;    GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Sitecore is not working anymore. Did we miss something in the usersettings?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-02T12:04:10.843" Title="Revert &quot;contained database authentication&quot; after Installation XP1" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14021" PostTypeId="1" AcceptedAnswerId="14022" CreationDate="2018-09-20T12:22:47.787" Score="2" ViewCount="271" Body="&lt;p&gt;I defined two languages in Sitecore: &lt;code&gt;en&lt;/code&gt; and &lt;code&gt;nl-NL&lt;/code&gt;.&#xA;Also I created simple rendering and trying to create datasource (datasource template has Standard Values for en and &lt;code&gt;nl-NL&lt;/code&gt; languages with predefined values for fields) for my rendering  in Experience Editor mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm creating datasource item in Experience Editor and context page language is &lt;code&gt;en&lt;/code&gt; - I can see that datasource was created for &lt;code&gt;en&lt;/code&gt; version&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Problem is:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm creating datasource item in Experience Editor and context page language is &lt;code&gt;nl-NL&lt;/code&gt; - I can see that datasource was created only for &lt;code&gt;en&lt;/code&gt; version, but not for &lt;code&gt;nl-NL&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9 Update 1, SXA 1.6&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-09-20T12:34:44.490" Title="Datasource of the rendering is always created in the English language but not in the current page language" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14022" PostTypeId="2" ParentId="14021" CreationDate="2018-09-20T12:22:47.787" Score="0" Body="&lt;p&gt;Sitecore Support confirmed that it's a bug and prepared patch &lt;strong&gt;Sitecore.Support.254850&lt;/strong&gt; for resolve this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.254850/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sitecoresupport/Sitecore.Support.254850/releases&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2018-09-20T12:34:44.490" LastActivityDate="2018-09-20T12:34:44.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14023" PostTypeId="2" ParentId="14018" CreationDate="2018-09-20T12:25:29.600" Score="3" Body="&lt;p&gt;I would put everything in a (single)pool and give web a reserved minimum dtu. With an XP0 we see huge gains from having a shared 200dtu pool. This makes the spikes much easier to handle.&lt;/p&gt;&#xA;" OwnerUserId="2134" LastActivityDate="2018-09-20T12:25:29.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14024" PostTypeId="2" ParentId="13787" CreationDate="2018-09-20T13:07:31.673" Score="7" Body="&lt;p&gt;Full disclosure from me as well: I have been working at Contentful for the last few years, before that and for at least 10 years, however, I have been building sites using a wide range of CMS. Sitecore, EPiServer, Drupal, Wordpress, Umbraco, Magnolia etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main difference, that is very important to understand, is that a truly headless CMS comes completely decoupled from the presentation of content. There are no templates, there is no hierarchical view of content that ties to the presentation (e.g. a page tree) and there is no need to host the actual CMS anywhere. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This leaves you free to &quot;only&quot; develop the application while the CMS simply gets out of your way. No tech stack is imposed on you. No assemblies need to be scanned to get your models. No local database needs to be set up for development. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The downside is that you need to do some more work to get the actual data from a headless CMS since for every piece of content you need, you make an API call. This is normally handled through officially supported SDKs (for example &lt;a href=&quot;https://github.com/contentful/contentful.net&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/contentful/contentful.net&lt;/a&gt;) for whatever language you want to fetch the content for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a feature to feature comparison, the headless CMSs often fall short of the more traditional CMS vendors, but the key to understanding here is how a headless CMS encourages a true microservices architecture where you use the right service for the right task, instead of relying on a monolithic &quot;solve them all&quot; platform. By integrating a headless CMS with personalization from, for example, Optimizely or Google optimize, you get the benefits of each platform and can use their respective strengths to improve your final solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a blogpost I wrote the first time I stumbled upon Contentful (before I started working there) &lt;a href=&quot;https://robertlinde.se/contentful/2016/04/18/contentful-the-future-of-cms.html&quot; rel=&quot;noreferrer&quot;&gt;https://robertlinde.se/contentful/2016/04/18/contentful-the-future-of-cms.html&lt;/a&gt; that might give you a few more ideas of the benefits.&lt;/p&gt;&#xA;" OwnerUserId="4333" LastActivityDate="2018-09-20T13:07:31.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14025" PostTypeId="2" ParentId="14016" CreationDate="2018-09-20T13:31:00.527" Score="1" Body="&lt;p&gt;Sitecore Experience Commerce doesn't implement full OData funtionality, the philosophy was not to provide an API for complex sorting and filtering.  It's purpose was to provide a simple API for traversing lists of entities and getting specific entities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you want shouldn't be too hard to achieve though. Your best solution would be to implement a custom Controller, Command &amp;amp; Pipeline to achieve this. You could look into how the &lt;code&gt;IGetCartPipeline&lt;/code&gt; functions and leverage this to return the list of carts you require&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-09-20T13:31:00.527" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14026" PostTypeId="2" ParentId="14002" CreationDate="2018-09-20T13:47:40.417" Score="1" Body="&lt;p&gt;Sitecore's default setting for &lt;code&gt;Media.Resizing.Quality&lt;/code&gt; is 95, i.e. 95% quality for JPEG compression. This is the most important setting &amp;mdash;I would leave the other ones to their default value. In most cases this will actually increase file size, so I recommend lowering that to a more reasonable value in the 70-85 range (80 being the one I generally go with):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Media.Resizing.Quality&quot; set:value=&quot;80&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that this only affects images resized with &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/media-options-and-query-string-parameters-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;query parameters&lt;/a&gt;, such as those generated by the Sitecore MVC helper:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;MyImage&quot;, item)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="890" LastActivityDate="2018-09-20T13:47:40.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14028" PostTypeId="1" AcceptedAnswerId="14051" CreationDate="2018-09-20T15:26:59.597" Score="1" ViewCount="49" Body="&lt;p&gt;I am creating a catalog from code. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;_createCatalogCommand.Process(context.CommerceContext, AcogConstants.CatalogName, &quot;My Catalog&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Process works. However, if clean the environment and re-run the process, I get new SitecordIds. This means that I have to manually go into Sitecore and reset a number of values to point to the new catalog items. I do not see a way with the  CreateCatalogCommand or EditCatalogCommand to set the SitecoreId to a specific ID. How can I do this?&lt;/p&gt;&#xA;" OwnerUserId="2068" LastEditorUserId="731" LastEditDate="2018-09-20T15:35:14.317" LastActivityDate="2018-09-21T11:45:03.067" Title="Sitecore 9 Commerce Specify Sitecore IDs on Create Catalog" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14029" PostTypeId="1" AcceptedAnswerId="14056" CreationDate="2018-09-20T16:18:52.857" Score="0" ViewCount="292" Body="&lt;p&gt;I'm importing products into a Sitecore uCommerce site and referencing these new products using the uCommerce Sitecore data provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The products are successfully imported and show in the uCommerce interface but they don't immediately show in the products bucket (Sitecore/uCommerce/Products).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; - ObjectFactory.Instance.Resolve&amp;lt;ICacheProvider&amp;gt;().ClearCache();&#xA; - ObjectFactory.Instance.Resolve&amp;lt;ScratchIndexer&amp;gt;().Index();&#xA; - Clearing all the sitecore caches (cache.aspx)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but none of these work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As soon as I recycle the app pool they appear as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there something else I need to call from my import code to make the data provider work without a recycle?&lt;/p&gt;&#xA;" OwnerUserId="350" LastEditorUserId="350" LastEditDate="2018-09-21T10:36:08.090" LastActivityDate="2019-03-21T22:11:34.047" Title="How can I clear the uCommerce dataprovider cache?" Tags="|data-provider|ucommerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14030" PostTypeId="1" AcceptedAnswerId="14094" CreationDate="2018-09-20T16:59:37.007" Score="1" ViewCount="769" Body="&lt;p&gt;This is a similar issue to this one: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11701/jss-vue-error-with-server-bundle-js-after-jss-deploy-package?rq=1&quot;&gt;JSS vue - Error with server.bundle.js after jss deploy package&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But unfortunately I can't comment on that one because my rep is not high enough.  I believe the issue is stemming from at least one of the node modules/Vue plugins I am importing and using on the site.  One is using the window variable quite a few times.  Is there any way to go around this?  I can't control the use of window because it's used in a 3rd party plugin.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated!&lt;/p&gt;&#xA;" OwnerUserId="4327" LastActivityDate="2021-11-10T04:19:59.910" Title="JSS Vue - getting error in server.bundle on deploy" Tags="|jss|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14031" PostTypeId="2" ParentId="14030" CreationDate="2018-09-20T17:03:09.650" Score="1" Body="&lt;p&gt;You can probably polyfill &lt;code&gt;window&lt;/code&gt; as a &lt;a href=&quot;https://stackabuse.com/using-global-variables-in-node-js/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Node global&lt;/a&gt; so that it has something to work against. However, if the library is not designed to support SSR there may be other issues getting it to work.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-09-20T17:03:09.650" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14033" PostTypeId="1" AcceptedAnswerId="14070" CreationDate="2018-09-20T17:34:59.183" Score="1" ViewCount="546" Body="&lt;p&gt;I saw from the docs that sitecore commerce has a managed list feature that can be used to mantain and return a list of entity (CommerceEntity).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been used it to get the list of pending orders and stuff like that.&#xA;However those list were out-of-the-box in the commerce engine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I would like to create a new managed list which returns a list of orders that have a custom status, and keep it up-to-date when an order change its status e.g. from &quot;Pending&quot; to the custom one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do that?&lt;/p&gt;&#xA;" OwnerUserId="2638" LastActivityDate="2020-02-24T12:32:44.320" Title="How do I create a custom managed list?" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14034" PostTypeId="2" ParentId="13859" CreationDate="2018-09-20T17:38:19.060" Score="0" Body="&lt;p&gt;Amazon RDS supports contained databases. You will have to enable it in the parameter group instead of the sp_configure stored proc. See below screenshot:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/jDHGW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jDHGW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2495" LastEditorUserId="2495" LastEditDate="2018-09-20T17:45:19.680" LastActivityDate="2018-09-20T17:45:19.680" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14035" PostTypeId="1" AcceptedAnswerId="14037" CreationDate="2018-09-20T18:25:11.290" Score="3" ViewCount="1818" Body="&lt;p&gt;How would I create a custom Content Editor Warning bar? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want it to appear whenever the item is based on a specific template and does not have any children.&lt;/p&gt;&#xA;" OwnerUserId="4148" LastEditorUserId="4148" LastEditDate="2018-09-20T19:11:18.600" LastActivityDate="2018-09-21T07:29:09.670" Title="Creating Custom Content Editor Warning Bar" Tags="|content-editor|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14037" PostTypeId="2" ParentId="14035" CreationDate="2018-09-20T19:08:30.783" Score="13" Body="&lt;h1&gt;Intro&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I'll be answering my own question here, since I know how to do this, but I wanted to share.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has an out of the box solution for creating custom notifications in the content editor. Sitecore also has a variety of rules that can be used to describe when this notification bar should appear, but if a condition for a rule you want to use does not exist there is a way to create one yourself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am going to step through an example where a warning bar appears when an item based a specific template has no children. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/GnbPM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GnbPM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The steps we'll go through are as follows: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create the Rule in the Content Editor Warnings &lt;/li&gt;&#xA;&lt;li&gt;Create the Rule Condition Item &lt;/li&gt;&#xA;&lt;li&gt;Create the Custom Condition Code &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;1 - Create the Rule in the Content Editor Warnings&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the master database navigate to /sitecore/System/Settings/Rules/Content Editor Warnings/Rules. Right click the Rules item and select Insert &gt; Content Editor Warning Rule, and name the new item &quot;ItemHasNoChildren&quot;.  You should now see the following: &#xA;&lt;a href=&quot;https://i.stack.imgur.com/us4qH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/us4qH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We said that there were two conditions that we wanted.  The first being when the item is of a specified template, and the second is when the item has no children.  Our first condition exists in Sitecore out of the box, but the second we'll create custom ourselves. &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Rule field of the ItemHasNoChildren item, click &quot;Edit rule&quot; to open the dialog&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the choose conditions section on the left of the dialog, scroll down to &quot;Item Information&quot; and you select the condition that says &quot;where the item template is specific template&quot; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Edit Rule section of the dialog at the bottom, you should see &quot;Rule 1&quot; with the condition you selected below it.  Select the underlined words &quot;specific template&quot; and from the dialog that pops up select the template you want to base your rule off of.   &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In my case, I created a new template called &quot;SampleTemplate&quot;.  You can choose one of your that already exist if you like, but don't choose the Standard Template, otherwise this rule will run on every item.  At this point the &quot;Create rule&quot; dialog should look something like this: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kDLAq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kDLAq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned before we will create the second condition ourselves, so it isn't available in the dialog yet, we'll come back to it later.  For now we will set the actions we want this rule to do. &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &quot;Choose actions&quot; section of the dialog on the right select the &quot;show content editor warning: Title, Text&quot; action &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The action should not appear in the &quot;Edit rule&quot; section of the dialog below the condition we added, click on the underlined words &quot;Title&quot; and &quot;Text&quot; and give them some meaningful information, this is what text will be displayed on the warning bar &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The dialog should look something like this now: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YJNhx.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YJNhx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click ok. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;OPTIONAL: Creating a custom tag&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to /sitecore/System/Settings/Rules/Definitions/Tags. &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Right click the &quot;Tags&quot; item and select Insert &gt; Tag and give it the same it &quot;My Custom Rules&quot; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate back to &quot;Content Editor Warnings&quot; Rules Context Folder (/sitecore/System/Settings/Rules/Content Editor Warnings) and then go to the &quot;Default&quot; item that is a child of its &quot;Tags&quot; item &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The &quot;Tags&quot; field in the &quot;Taxonomy&quot; section shows a multilist of the tags that the Content Editor Warnings subscribe to, find the tag you created and add it the selected  list &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MZlLO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MZlLO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;2 - Create the Rule Condition Item&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Since the second condition we wanted (item has no children) we need to create an item in Sitecore that will reference our custom rule. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In your master database go to item at /sitecore/System/Settings/Rules/Elements.   &lt;/li&gt;&#xA;&lt;li&gt;Right click the &quot;Elements&quot; item and select Insert &gt; Element Folder, and name the new item &quot;My Custom Rules&quot;.  &lt;/li&gt;&#xA;&lt;li&gt;Inside your new item find the &quot;Default&quot; item that is a child of the &quot;Tags&quot; item.  In the multilist select the tag you created (mine was called &quot;My Custom Rules&quot;) and add it to the selected list.  If you did not create a tag, then feel free to select a tag you think is appropriate.  Just make sure that that &quot;/sitecore/system/Settings/Rules/Content Editor Warnings/Tags/Default&quot; item also has it selected. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Qq6Iw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qq6Iw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Just like the image above, right click the &quot;My Custom Rules&quot; item, select Insert &gt; Condition, and name the new item &quot;No Children&quot; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the No Children item write &quot;where the item has no children&quot; in the &quot;Text&quot; field of the &quot;Data&quot; section &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Next we want this item to reference our code, but we'll come back to that once we've written the code. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;3 - Create the Custom Condition Code&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Head over to visual studio and create a new web application solution, I called mine &quot;CodeSamples&quot;. &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a new class, I called mine &quot;WhenItemHasNoChildren&quot; and use the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Diagnostics;         //For Assert class &#xA;using Sitecore.Data.Items;          //For Item class &#xA;using Sitecore.Rules;               //For RuleContext class &#xA;using Sitecore.Rules.Conditions;    //For WhenCondition class &#xA;&#xA;namespace CodeSamples &#xA;{ &#xA;    public class WhenItemHasNoChildren&amp;lt;T&amp;gt; : WhenCondition&amp;lt;T&amp;gt; where T : RuleContext &#xA;    { &#xA;        protected override bool Execute(T ruleContext) &#xA;        { &#xA;            Assert.ArgumentNotNull(ruleContext, &quot;ruleContext&quot;); &#xA;            Item item = ruleContext.Item; &#xA;            return (item == null) ? false : !item.HasChildren; &#xA;        } &#xA;    } &#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I'll leave it to you to figure out what's going on there.   &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Once you've done that, build you code, and publish or copy (I won't judge) your CodeSamples.dll to the bin folder of your Sitecore instance's webroot. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Go back to Sitecore and find your &quot;No Children&quot; condition again (mine is at &quot;/sitecore/System/Settings/Rules/Definitions/Elements/My Custom Rules/No Children&quot;)  &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &quot;Type&quot; field under the &quot;Script&quot; section enter: your_namespace.your_classname,your_project.  For me that looks like: CodeSamples.WhenItemHasNoChildren,CodeSamples &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Your item should look something like this: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Sd2Ep.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Sd2Ep.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now that you have successfully linked your condition item to the custom code for your condition, let's go back to the Content Editor Warnings and add the condition to the rule we created. &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;6&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to /sitecore/System/Settings/Rules/Content Editor Warnings/Rules/ItemHasNoChildren and click &quot;Edit rule&quot; in the Rule field once again to open the dialog. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &quot;Choose conditions&quot; section of the dialog, you should now see &quot;where the item has no children&quot; under &quot;My Custom Rules&quot;.  Select it and now your &quot;Create rule&quot; dialog should look like this: &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2t6YF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2t6YF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now our custom condition is a part of the rule we created. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Conclusion&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Now create some items based on the &quot;SampleTemplate&quot; or whatever template you used, and give some items children and don't for others you should see your new warning bar! (I had more pictures showing it in action, but I don't have enough reputation to post them in here. Good luck!)&lt;/p&gt;&#xA;" OwnerUserId="4148" LastActivityDate="2018-09-20T19:08:30.783" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14038" PostTypeId="1" AcceptedAnswerId="15501" CreationDate="2018-09-20T19:31:19.643" Score="4" ViewCount="7667" Body="&lt;p&gt;I am facing below issue while installing Sitecore 9 update 2 on my Azure VM server, which doesn’t have any Visual Studio or SQL Management Studio installed.&#xA;Error states : &lt;code&gt;Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is more details about issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[---------------------------------------------- InstallWDP : WebDeploy -----------------------------------------------]&#xA;[WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe&#xA;Info: Adding MsDeploy.Site (MsDeploy.Site).&#xA;Info: Adding database (user id=sa;data source=XYZ;initial catalog=Dev_Processing.Pools)&#xA;Info: Initializing deployment: Pending.&#xA;Info: Analyzing deployment plan: Pending.&#xA;Info: Updating database: Pending.&#xA;Info: Creating deployment plan: Pending.&#xA;Info: Verifying deployment plan: Pending.&#xA;Info: Deploying package to database: Pending.&#xA;Info: Creating deployment plan: Running.&#xA;Info: Initializing deployment: Running.&#xA;Info: Initializing deployment (Start)&#xA;Info: Initializing deployment: Faulted.&#xA;Info: Initializing deployment (Failed)&#xA;Info: Creating deployment plan: Faulted.&#xA;Info: Verifying deployment plan: Faulted.&#xA;Info: Deploying package to database: Faulted.&#xA;Error Code: ERROR_EXECUTING_METHOD&#xA;Error: Could not deploy package.&#xA;Error: Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvi&#xA;der is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database p&#xA;latform service.&#xA;Error: Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvi&#xA;der is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database p&#xA;latform service.&#xA;More Information: Could not deploy package.Error count: 1.&#xA;&#xA;Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is&#xA;not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform&#xA;service.&#xA;Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is&#xA;not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform&#xA;service.&#xA;  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD.&#xA;Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero&#xA;exit code - (-1)&#xA;At E:\Scripts\SiteCore\InstallSitecore9.ps1:44 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:01:30&#xA;Transcript stopped, output file is E:\Scripts\SiteCore\xconnect-xp0.180920.log&#xA;Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code -&#xA;(-1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-WebDeployTask.ps1:36&#xA;char:2&#xA;+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;PwoserShell line 44 :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#deploy xconnect instance &#xA;$xconnectParams = @{ &#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot; &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.2 rev. 180604 (OnPrem)_xp0xconnect.scwdp.zip&quot; &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot; &#xA;    Sitename = $XConnectCollectionService &#xA;    XConnectCert = $certParams.CertificateName &#xA;    SqlDbPrefix = $prefix &#xA;    SqlServer = $SqlServer &#xA;    SqlAdminUser = $SqlAdminUser &#xA;    SqlAdminPassword = $SqlAdminPassword &#xA;    SolrCorePrefix = $prefix &#xA;    SolrURL = $SolrUrl &#xA;} &#xA;Install-SitecoreConfiguration @xconnectParams //(line: 44)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4337" LastEditorUserId="605" LastEditDate="2018-09-20T19:45:49.820" LastActivityDate="2021-03-08T17:14:46.600" Title="&quot;Could not deploy package&quot; error while installing Sitecore 9 update 2 setup on Remote server" Tags="|xconnect|sitecore-install-framework|installation|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14041" PostTypeId="2" ParentId="14000" CreationDate="2018-09-20T20:07:04.617" Score="3" Body="&lt;p&gt;Since the user is not in a session, you will need to load the contact behavior cache using the extension &lt;code&gt;LoadKeyBehaviorCache&lt;/code&gt;. A code snippet is provided below.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public void GetContactInfo(string contactId)&#xA;{&#xA;    var contactGuid = Guid.Parse(contactId);&#xA;&#xA;    var contactManager = Sitecore.Configuration.Factory.CreateObject(&amp;quot;tracking/contactManager&amp;quot;, true) as ContactManager;&#xA;&#xA;    var contact = contactManager.LoadContactReadOnly(contactGuid);&#xA;&#xA;    contact.LoadKeyBehaviorCache();&#xA;&#xA;    var behaviorCacheResults = contact.GetKeyBehaviorCache();&#xA;&#xA;    //------------------------------------------------------//&#xA;&#xA;    var historicalDataResults = contact.LoadHistorycalData(1).ToList();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Based on your comment on the question, you want to access&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;completed goals&lt;/li&gt;&#xA;&lt;li&gt;triggered campaigns&lt;/li&gt;&#xA;&lt;li&gt;engagement value&lt;/li&gt;&#xA;&lt;li&gt;Any profile cards associated with the contact.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;You will need to use both the Historical and Behavior Cache. Below is a classification of where you can obtain the data you require.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Behavior Cache&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;completed goals&lt;/li&gt;&#xA;&lt;li&gt;triggered campaigns&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Historical Data&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;engagement value&lt;/li&gt;&#xA;&lt;li&gt;Any profile cards associated with the contact&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;&lt;strong&gt;Additional Information&lt;/strong&gt;&lt;/h2&gt;&#xA;&lt;p&gt;In the Behavior Cache, you can retrieve all the below data&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Channels, Campaigns, Custom Values, Goals, Outcomes, Page Events, Venues&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;In the historical data, you can retrieve more information such as&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;SiteName, Pages, Referrer etc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You can dotpeek the &lt;code&gt;Sitecore.Analytics.dll&lt;/code&gt; and navigate to the namespace &lt;code&gt;Sitecore.Analytics.Tracking.IInteractionData&lt;/code&gt;. You will see all the properties that you can use to get additional information from the contact.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-09-20T20:49:16.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14043" PostTypeId="2" ParentId="13991" CreationDate="2018-09-21T06:20:08.177" Score="0" Body="&lt;p&gt;In my case the problem was that I had a corrupted global.asax file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I restored that everything went back to normal.&lt;/p&gt;&#xA;" OwnerUserId="3366" LastEditorUserId="3366" LastEditDate="2018-09-21T06:27:32.867" LastActivityDate="2018-09-21T06:27:32.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14044" PostTypeId="1" AcceptedAnswerId="14045" CreationDate="2018-09-21T06:33:54.827" Score="3" ViewCount="100" Body="&lt;p&gt;I noticed that the payment type (e.g. used in &lt;code&gt;http://{{ServiceHost}}/{{ShopsApi}}/GetCartPaymentMethods(cartId='Cart01', paymentType='Creditcard'))&lt;/code&gt; is no where configured in Sitecore. It turns out that it's hard-coded in the &lt;code&gt;BaseTranslateItemsToPaymentBlock&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual string GetPaymentTemplateName(string paymentOptionType)&#xA;{&#xA;return paymentOptionType == &quot;1&quot; ? &quot;CreditCard&quot; : (paymentOptionType == &quot;2&quot; ? &quot;LoyaltyCard&quot; : (paymentOptionType == &quot;3&quot; ? &quot;GiftCard&quot; : (paymentOptionType == &quot;4&quot; ? &quot;Federated&quot; : string.Empty)));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would expect a Sitecore configuration setting. This is difficult to use at the XC9 API, and Commerce Connect doesn't work well with it. At the moment I cannot retrieve all payment options and next retrieve the payment methods using the PaymentOptionType because that expects (at XC9 side) the above mentioned hard-coded values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to solve this?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-09-21T06:33:54.827" Title="Hard-coded payment option types" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14045" PostTypeId="2" ParentId="14044" CreationDate="2018-09-21T06:33:54.827" Score="2" Body="&lt;p&gt;Solved it by overriding the base method;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TranslateItemsToPaymentMethodsBlock : Sitecore.Commerce.Plugin.Management.TranslateItemsToPaymentMethodsBlock&#xA;{&#xA;    public TranslateItemsToPaymentMethodsBlock(CommerceCommander commander) : base(commander)&#xA;    {&#xA;    }&#xA;&#xA;    protected override string GetPaymentTemplateName(string paymentOptionType)&#xA;    {&#xA;          return paymentOptionType == &quot;5&quot; ? &quot;MyCustomOptionType&quot; : base.GetPaymentTemplateName(paymentOptionType);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and configuring XC9 to use the new class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.ConfigurePipeline&amp;lt;IGetPaymentOptionsPipeline&amp;gt;(d =&amp;gt;&#xA;{&#xA;   d.Replace&amp;lt;Sitecore.Commerce.Plugin.Management.TranslateItemsToPaymentOptionsBlock, TranslateItemsToPaymentOptionsBlock&amp;gt;();&#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-09-21T06:33:54.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14046" PostTypeId="2" ParentId="14014" CreationDate="2018-09-21T06:42:00.360" Score="0" Body="&lt;p&gt;The aggregation pipelines should be disabled on CM since you have a processing server. Because the role of the processing server is just to perform aggregation of analytics data to the Reporting database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have agents/jobs running on CM, then you need to have the &lt;code&gt;Sitecore.Processing.config&lt;/code&gt; enabled on CM. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Sitecore.Processing.config&lt;/code&gt; is not for Analytics but Sitecore Tasks. It is the task that you configure on the Sitecore CMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also read the following &lt;a href=&quot;https://robearlam.com/blog/configuring-a-shared-reporting-processing-instance-in-sitecore-8-0&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; by Rob Earlam since you will see that there are conflicting configuration.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-09-21T06:42:00.360" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14047" PostTypeId="2" ParentId="14035" CreationDate="2018-09-21T07:29:09.670" Score="4" Body="&lt;p&gt;Besides the option of using rules mentioned by Tyler (which is great), one can also use the &lt;code&gt;getContentEditorWarnings&lt;/code&gt; pipeline (this is also how the rules are being executed).&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class HasNoChildren&#xA;{&#xA;    public void Process(GetContentEditorWarningsArgs args)&#xA;    {&#xA;        if (args.Item == null) return;&#xA;        if (!args.Item.HasChildren) return;&#xA;&#xA;        var contentEditorWarning = args.Add();&#xA;        contentEditorWarning.Title = &quot;Item has no children&quot;;&#xA;        contentEditorWarning.Text = &quot;Item has no children. It is required [...]&quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch it in using a config file:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getContentEditorWarnings&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourSolution.HasNoChildren, YourSolution&quot; /&amp;gt;&#xA;      &amp;lt;/getContentEditorWarnings&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's the properties/methods on the &lt;code&gt;ContentEditorWarning&lt;/code&gt; class which you can use to customize your warning message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ContentEditorWarning&#xA;{&#xA;    public string Key { get; set; }&#xA;    public string Title { get; set; }&#xA;    public string Text { get; set; }&#xA;    public string Icon { get; set; }&#xA;&#xA;    public bool HideFields { get; set; }&#xA;    public bool IsExclusive { get; set; }&#xA;    public bool IsFullscreen { get; set; }&#xA;&#xA;    public List&amp;lt;Pair&amp;lt;string, string&amp;gt;&amp;gt; Options { get; }&#xA;&#xA;    public void AddOption(string header);&#xA;    public void AddOption(string header, string command);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-09-21T07:29:09.670" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14048" PostTypeId="1" CreationDate="2018-09-21T09:35:24.690" Score="3" ViewCount="1130" Body="&lt;p&gt;I have installed the default version of Sitecore 9 and I want to setup a demo website on top of it.&#xA;I &lt;strong&gt;DO NOT&lt;/strong&gt; want to install Visual studio and do code builds! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to have a simple installation of a demo website through Sitecore 9 installation package.. that's it! (like the good old launchsitecore.net)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does such exist?&lt;/p&gt;&#xA;" OwnerUserId="4340" LastEditorUserId="1000" LastEditDate="2018-09-21T19:06:42.173" LastActivityDate="2018-09-21T19:06:42.173" Title="Easy to setup demo website for Sitecore 9" Tags="|packages|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14049" PostTypeId="2" ParentId="13823" CreationDate="2018-09-21T11:31:23.890" Score="0" Body="&lt;p&gt;I would not recommend the approach you're asking for help with. I'll address your comments and questions later, but first address what you're trying to do.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Apparently, to do this, you would need to (1) create a custom&#xA;  recipient repository, other than the default XdbRecipientRepository,&#xA;  and then (2) get EXM to use your custom repository when sending&#xA;  emails. But I can find no clue how to do either of these things. Does&#xA;  anyone have links or tips to how to do this?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As explained &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/35/configuring_the_delivery_process/recipients/recipient_repositories&quot; rel=&quot;nofollow noreferrer&quot;&gt;in the article&lt;/a&gt;, you will need to patch the recipientRepository section in Sitecore.EmailExperience.Core.config. You can either replace the default XdbRecipientRepository with your own implementation of Sitecore.Modules.EmailCampaign.Recipients.RecipientRepository, or just add your own.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I &lt;strong&gt;strongly&lt;/strong&gt; recommend you do &lt;strong&gt;not&lt;/strong&gt; go down this path.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The RecipientRepository is removed in later versions of EXM, so you will &lt;strong&gt;not&lt;/strong&gt; have an upgrade path&lt;/li&gt;&#xA;&lt;li&gt;In addition to implementing a custom RecipientRepository, you will also have to implement custom logic for handling unsubscribes and several other areas.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now, as far your comments and questions.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;It would be much easier to just create recipient lists &quot;directly&quot;,&#xA;  rather than having to create and manage xDB contacts for these&#xA;  mailings.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;On paper, this may be true, but then your requirements change, maybe you'll need to work with contact facets or use the contact data for personalisation - either on the website or in an email campaign. Neither of which you'll be able to do. Additionally, if you don't use xDB, you will have to write your own code for creating and managing contacts, which brings me on to your second point:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;It should also be much more performant, because the xDB contacts API&#xA;  runs very slowly.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;That's a dangerous assumption to make. Who's to say your external list, or managing of contacts will not prove to be a bottleneck?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Import CSV&quot; is an interactive manual feature of List Manager. We need&#xA;  to synchronize these lists automatically (daily), not just import them&#xA;  once.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;We need to add recipients to these lists ongoing, not just import the&#xA;  lists once.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;We need to modify existing recipient's properties when the source&#xA;  properties change, not just import new recipients.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;We need to remove recipients when they're removed from the source&#xA;  lists, not just import new recipients.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This can all be done in xDB. A contact has a unique identifier, which you can use to synchronize changes from your external list into xDB, allowing you to add, modify and remove contacts as necessary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xDB is a major and integral part of Sitecore. If you're using Sitecore and want to work with contacts, you should have an extremely good reason for not using what's already &quot;in the box&quot;. What you're aiming to do is &quot;run of the mill&quot;, and I promise you'll regret going down the custom recipient repository route.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-09-21T11:31:23.890" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14050" PostTypeId="2" ParentId="14048" CreationDate="2018-09-21T11:40:56.633" Score="1" Body="&lt;p&gt;As far I know doesn't exist such a site to install a package (sitecore items, dlls) and to have a demo site up and running. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Few days ago Sitecore Demo Team create some utilities powershell scripts which helps you to install Sitecore Habitat Home Demo site&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on their github repository: &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Utilities&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Utilities&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find scripts to install XP or Sitecore Commerce Habitat Home Demo Sites. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-09-21T11:40:56.633" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14051" PostTypeId="2" ParentId="14028" CreationDate="2018-09-21T11:45:03.067" Score="1" Body="&lt;p&gt;OK. This was very simple. Just needed to run persist entity after create command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var category = await _createCategoryCommand.Process(context.CommerceContext, catalogId, categoryName, categoryDisplayName, description);&#xA;&#xA;category.SitecoreId = SomeFunctionToGetSitecoreId();&#xA;&#xA;await _persistEntityPipeline.Run(new PersistEntityArgument(category), context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2068" LastActivityDate="2018-09-21T11:45:03.067" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14053" PostTypeId="1" CreationDate="2018-09-21T12:51:03.867" Score="0" ViewCount="1135" Body="&lt;p&gt;I have an issue exactly similar to this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/12281/items-appear-in-sxa-scope-but-not-in-search-results&quot;&gt;Items appear in SXA scope but not in search results&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and here is my sitecore log&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    876 14:32:27 ERROR Exception when executing agent aggregation/aggregator&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: An error occurred while sending the request.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.Analytics.Processing.AsyncPoolScheduler`2..ctor(IAsyncProcessingPool`1 pool, IXdbContextFactory xdbContextFactory, ExpandOptions options, Int16 maxBatchSize)&#xA;   at Sitecore.Analytics.Aggregation.InteractionAggregationAgent.&amp;lt;ExecuteCoreAsync&amp;gt;d__15.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.Agent.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;ExecuteAgentAsync&amp;gt;d__22.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;RunAsync&amp;gt;d__26.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Http.HttpRequestException&#xA;Message: An error occurred while sending the request.&#xA;Source: mscorlib&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteAsync&amp;gt;d__37.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteGetAsync&amp;gt;d__32.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.&amp;lt;Refresh&amp;gt;d__4.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: The underlying connection was closed: An unexpected error occurred on a send.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&#xA;   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.IO.IOException&#xA;Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.&#xA;Source: System&#xA;   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)&#xA;   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: An existing connection was forcibly closed by the remote host&#xA;Source: System&#xA;   at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)&#xA;   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;ManagedPoolThread #5 14:32:31 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;ManagedPoolThread #5 14:32:31 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;13504 14:32:35 ERROR Exception when executing agent aggregation/pathAnalyzerLiveAgent&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: An error occurred while sending the request.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Http.HttpRequestException&#xA;Message: An error occurred while sending the request.&#xA;Source: mscorlib&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteAsync&amp;gt;d__37.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteGetAsync&amp;gt;d__32.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.&amp;lt;Refresh&amp;gt;d__4.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: The underlying connection was closed: An unexpected error occurred on a send.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&#xA;   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.IO.IOException&#xA;Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.&#xA;Source: System&#xA;   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)&#xA;   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Sockets.SocketException&#xA;Message: An existing connection was forcibly closed by the remote host&#xA;Source: System&#xA;   at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)&#xA;   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;16704 14:32:36 WARN  Results endpoint exception&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.XA.Foundation.SitecoreExtensions&#xA;   at Sitecore.XA.Foundation.SitecoreExtensions.Extensions.ItemExtensions.FirstChildInheritingFrom(Item item, ID templateId)&#xA;   at Sitecore.XA.Foundation.Search.Services.FacetService.GetFacetItems(IEnumerable`1 facets, String siteName)&#xA;   at Sitecore.XA.Foundation.Search.Extensions.FacetExtensions.ApplyFacetFilters(IQueryable`1 query, NameValueCollection queryString, Coordinates center, String siteName)&#xA;   at Sitecore.XA.Foundation.Search.Services.SearchService.GetQuery(String query, String scope, String language, Coordinates center, String site, String itemid, String&amp;amp; indexName)&#xA;   at Sitecore.XA.Feature.Search.Controllers.SearchController.GetResults(String v, String q, String s, String l, String g, String o, Int32 e, Int32 p, String sig, String site, String itemid)&#xA;&#xA;22532 14:32:41 INFO  Cache created: 'ExperienceAnalytics.Sites' (max size: 1MB, running total: 3714MB)&#xA;ManagedPoolThread #2 14:32:41 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;ManagedPoolThread #2 14:32:41 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;can anyone understand what is wrong?&lt;/p&gt;&#xA;" OwnerUserId="4232" LastActivityDate="2019-01-08T19:19:29.433" Title="SXA search results not working" Tags="|sxa|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14054" PostTypeId="1" CreationDate="2018-09-21T12:54:02.153" Score="3" ViewCount="1768" Body="&lt;p&gt;On my development machine, I had installed &lt;code&gt;Sitecore 9.0.2&lt;/code&gt; months ago and now, for POC purposes, I am trying to install the second instance of &lt;code&gt;Sitecore 9.0.2&lt;/code&gt;. While doing that I am facing a strange issue, where-in SQL execution is failing whilst creating marketing automation DB. Here is complete stack trace (snippet from the &lt;strong&gt;SIF log file)&lt;/strong&gt;: How can it be solved?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; msdeploy.exe : Error Code: ERROR_SQL_EXECUTION_FAILURE At C:\Program&#xA;&gt; Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-CommandTask.ps1:31&#xA;&gt; char:13&#xA;&gt; +             &amp; $Path $Arguments | Out-Default&#xA;&gt; +             ~~~~~~~~~~~~~~~~~~&#xA;&gt;     + CategoryInfo          : NotSpecified: (Error Code: ERROR_SQL_EXECUTION_FAILURE:String) [], RemoteException&#xA;&gt;     + FullyQualifiedErrorId : NativeCommandError msdeploy.exe : Error Code: ERROR_SQL_EXECUTION_FAILURE At C:\Program&#xA;&gt; Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-CommandTask.ps1:31&#xA;&gt; char:13&#xA;&gt; +             &amp; $Path $Arguments | Out-Default&#xA;&gt; +             ~~~~~~~~~~~~~~~~~~&#xA;&gt;     + CategoryInfo          : NotSpecified: (Error Code: ERROR_SQL_EXECUTION_FAILURE:String) [], RemoteException&#xA;&gt;     + FullyQualifiedErrorId : NativeCommandError&#xA;&gt; &#xA;&gt; More Information: An error occurred during execution of the database&#xA;&gt; script. The error occurred between the following  lines of the script:&#xA;&gt; &quot;12&quot; and &quot;16&quot;. The verbose log might have more information about the&#xA;&gt; error. The command started  with the following: More Information: An&#xA;&gt; error occurred during execution of the database script. The error&#xA;&gt; occurred between the following lines of the script: &quot;12&quot; and &quot;16&quot;. The&#xA;&gt; verbose log might have more information about the error. The command&#xA;&gt; started with the following:&#xA;&gt; &#xA;&gt; &quot;EXEC sp_addrolemember 'db_datareader', [marketin&quot;  Execution Timeout&#xA;&gt; Expired.  The timeout period elapsed prior to completion of the&#xA;&gt; operation or the server is not  responding.&#xA;&gt; http://go.microsoft.com/fwlink/?LinkId=178587  Learn more at: &#xA;&gt; http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE.&#xA;&gt; &quot;EXEC sp_addrolemember 'db_datareader', [marketin&quot;  Execution Timeout&#xA;&gt; Expired.  The timeout period elapsed prior to completion of the&#xA;&gt; operation or the server is not responding.&#xA;&gt; http://go.microsoft.com/fwlink/?LinkId=178587  Learn more at:&#xA;&gt; http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE.&#xA;&gt; &#xA;&gt; Error: Execution Timeout Expired.  The timeout period elapsed prior to&#xA;&gt; completion of the operation or the server is not  responding. Error:&#xA;&gt; Execution Timeout Expired.  The timeout period elapsed prior to&#xA;&gt; completion of the operation or the server is not responding.&#xA;&gt; &#xA;&gt; Error: The wait operation timed out Error: The wait operation timed&#xA;&gt; out&#xA;&gt; &#xA;&gt; Error count: 1. Error count: 1.&#xA;&gt; &#xA;&gt; ********************** Command start time: 20180918054113&#xA;&gt; ********************** PS&gt;TerminatingError(Invoke-CommandTask): &quot;The running command stopped because the preference variable&#xA;&gt; &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Command&#xA;&gt; C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a&#xA;&gt; non-zero exit code - (-1)&quot;&#xA;&gt; &gt;&gt; TerminatingError(Invoke-CommandTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common&#xA;&gt; parameter is set to Stop: Command C:\Program Files\iis\Microsoft Web&#xA;&gt; Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&quot;&#xA;&gt; &gt;&gt; TerminatingError(Invoke-CommandTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common&#xA;&gt; parameter is set to Stop: Command C:\Program Files\iis\Microsoft Web&#xA;&gt; Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&quot;&#xA;&gt; Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft&#xA;&gt; Web Deploy V3\msdeploy.exe returned a non-zero  exit code - (-1) At&#xA;&gt; D:\Sitecore SCG\Sitecore91XP\install_sitecore.ps1:50 char:1&#xA;&gt; + Install-SitecoreConfiguration @xconnectParams&#xA;&gt; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;&gt;     + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;&gt;     + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&gt; Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft&#xA;&gt; Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1) At&#xA;&gt; D:\Sitecore SCG\Sitecore91XP\install_sitecore.ps1:50 char:1&#xA;&gt; + Install-SitecoreConfiguration @xconnectParams&#xA;&gt; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;&gt;     + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;&gt;     + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="2838" LastEditorUserId="5387" LastEditDate="2019-08-01T13:12:16.750" LastActivityDate="2020-09-02T11:56:04.977" Title="ERROR_SQL_EXECUTION_FAILURE | While installing second instance of Sitecore XP 9.0.2" Tags="|sitecore-install-framework|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14055" PostTypeId="2" ParentId="11525" CreationDate="2018-09-21T13:03:34.737" Score="3" Body="&lt;p&gt;I was able to exclude the Sitecore DLLs from the Deployment when adding &lt;code&gt;ExcludeFilesFromDeployment: 'bin\\Sitecore.*.dll'&lt;/code&gt; to my properties object used in gulp-msbuild. The same is probably possible using &lt;code&gt;ExcludeFoldersFromDeployment&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could not exclude multiple files with the proposed semicolon notation.&#xA;But when using MSBuild directly in command line, adding a compile switch like this worked for me: &lt;code&gt;/p:ExcludeFilesFromDeployment:&quot;bin\Sitecore.Kernel.dll; bin\Sitecore.Logging.dll&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe someone else is able to clarify the last part.&lt;/p&gt;&#xA;" OwnerUserId="3222" LastActivityDate="2018-09-21T13:03:34.737" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14056" PostTypeId="2" ParentId="14029" CreationDate="2018-09-21T13:08:34.947" Score="1" Body="&lt;p&gt;I peeked inside the uCommerce Sitecore DLLs and found the class &lt;code&gt;DataProviderReinitializeTask&amp;lt;T&amp;gt;&lt;/code&gt; which contained code for clearing the dataprovider cache.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use in any location you'll need code like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var context = ObjectFactory.Instance.Resolve&amp;lt;UCommerce.Sitecore.ISitecoreContext&amp;gt;();&#xA;var dataProviderMaster = context.DataProviderMaster;&#xA;if (dataProviderMaster != null)&#xA;    dataProviderMaster.DataChangedPleaseReinitialize();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="350" LastActivityDate="2018-09-21T13:08:34.947" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14057" PostTypeId="1" AcceptedAnswerId="14165" CreationDate="2018-09-21T13:16:18.687" Score="0" ViewCount="206" Body="&lt;p&gt;I want to change the icons used in the component hierarchy navigation in the experience editor, so that editors can clearly see if they are selecting a component, placeholder or edit frame.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did this some years ago in 7.2 by editing the chrome js files for placeholder and edit frame.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The component navigation tree looks like this, but all steps of the navigation are represented by the blue bullet icon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bTdcG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bTdcG.png&quot; alt=&quot;Component navigation tree before fix&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how we'd like it to look, and how we got it to look in Sitecore 7:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mCHoJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mCHoJ.png&quot; alt=&quot;Component navigation tree fixed&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't see where or how to make the same change in Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore 7 solution is here:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/26425059/is-it-possible-to-define-different-icons-for-placeholders-components-and-edit-f&quot;&gt;https://stackoverflow.com/questions/26425059/is-it-possible-to-define-different-icons-for-placeholders-components-and-edit-f&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2018-09-27T14:20:42.060" Title="How to change icons in the experience editor for placeholder and edit frames in component navigation tree" Tags="|sitecore-client|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14058" PostTypeId="1" AcceptedAnswerId="14059" CreationDate="2018-09-21T14:56:01.717" Score="2" ViewCount="452" Body="&lt;p&gt;Is there a way to specify default rendering variant?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are planning to create 2 custom rendering variants for Promo component for one site and want to set one of these custom variants as default for that Promo component on that site so content editors don't need to choose it everytime component is added to page. &lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-21T18:02:21.817" Title="Default rendering variant for SXA component" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14059" PostTypeId="2" ParentId="14058" CreationDate="2018-09-21T15:11:11.383" Score="3" Body="&lt;p&gt;I did a quick test on SXA 1.7.1 and in that version the default is indeed the first one in the list of variants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you change nothing, it will be the first one alphabetically. But you can reorder them in Sitecore (just like all items) and that order is taken into account. So by changing the order you can change the default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Small tip: be aware when you create a new variant that gets on top (e.g. because it starts with 'a') you just created a new default variant. That might have some serious impact on existing content.. &lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-09-21T18:02:21.817" LastActivityDate="2018-09-21T18:02:21.817" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14060" PostTypeId="1" AcceptedAnswerId="14198" CreationDate="2018-09-21T16:07:37.697" Score="1" ViewCount="2079" Body="&lt;p&gt;We've got a Sitecore 9 Azure app service instance that we're having a singular issue with. We've got redirects set up as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;rule name=&quot;Redirect to www&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;xyz.com&quot; /&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://www.xyz.com/{R:0}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;    &#xA;        &#xA;        &#xA;            &#xA;            &#xA;        &#xA;        &#xA;    &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if I enter &lt;a href=&quot;http://www.xyz.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.xyz.com&lt;/a&gt;, it redirects to &lt;a href=&quot;https://www.xyz.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.xyz.com&lt;/a&gt; as expected. If I enter &lt;a href=&quot;https://xyz.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://xyz.com&lt;/a&gt;, the domain resolves properly...the oddity is that from the first rule, I'd expect it to rewrite to &lt;a href=&quot;https://www.xyz.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.xyz.com&lt;/a&gt;. On another site we have that's Sitecore 8 running on an Azure VM, that redirect does occur.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The catch is using &lt;a href=&quot;http://xyz.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://xyz.com&lt;/a&gt;, this brings up the Azure 404 message suggesting a custom domain needs to be established. We did this for www.xyz.com, but not for xyz.com. I wouldn't think it would be needed since &lt;a href=&quot;https://xyz.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://xyz.com&lt;/a&gt; is resolving, but I'm not 100% sure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tested the redirects locally by hacking the domain names with my hosts file, and everything worked as I'd expect. I'm not sure why there's an issue here, except to think it's something different with Azure app service. We're running it through an app gateway as well, so the IP address for xyz.com and www.xyz.com resolve to the app gateway IP, not the CD app service instance IP.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-10-01T14:16:48.320" Title="URL rewrite for naked domain to www domain in Azure app service" Tags="|azure|url-rewrite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14061" PostTypeId="2" ParentId="14048" CreationDate="2018-09-21T16:10:28.850" Score="0" Body="&lt;p&gt;&lt;em&gt;[Cross-posted from StackOverflow where &lt;a href=&quot;https://stackoverflow.com/questions/52441234/where-can-i-find-sitecore-9-demo-website&quot;&gt;there is a similar question]&#xA;&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I realize you mentioned you already know about Habitat, but for others who come looking for an answer to this I'll drop the link to the Habitat Home repositories:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Content&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Content&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Commerce&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These allow you to tell a full end-to-end Commerce and Content experience with everything ready for you.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Habitat Home Demo websites&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The front-end of the Experience Platform demo can be viewed here: &lt;a href=&quot;https://experienceplatform.habitathomedemo.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://experienceplatform.habitathomedemo.com/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The front-end of the Experience Commerce demo can be viewed here: &lt;a href=&quot;https://experiencecommerce.habitathomedemo.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://experiencecommerce.habitathomedemo.com/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;App Source&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There is also a 'no installation required' demo available from App Source, but this is currently running on version 8.2 (it will be updated to 9.x in the future):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://appsource.microsoft.com/en-us/product/web-apps/sitecore.sxp_824?tab=Overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://appsource.microsoft.com/en-us/product/web-apps/sitecore.sxp_824?tab=Overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-09-21T16:10:28.850" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14063" PostTypeId="1" CreationDate="2018-09-21T16:40:09.273" Score="2" ViewCount="416" Body="&lt;p&gt;In my controller I'm error checking the query string and if the ID they specify doesn't exist I want to return a 404. While the path doesn't correspond with an item in sitecore I am trying to pull an item based on this ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a working nice 404 solution now. For some reason it doesn't pick up when I &lt;code&gt;return HttpNotFound()&lt;/code&gt; to show the nice error message. But it does send the correct error code. I think it's reaching the IIS error page.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot; type=&quot;CarnegieHall.Web.Pipelines.PageNotFoundResolver, CarnegieHall.Web&quot; /&amp;gt;&#xA;    &amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel']&quot; type=&quot;CarnegieHall.Web.Pipelines.SetNotFoundStatusCode, CarnegieHall.Web&quot; /&amp;gt;&#xA;&amp;lt;/httpRequestBegin&amp;gt;&#xA;  &amp;lt;httpRequestProcessed&amp;gt;&#xA;    &amp;lt;processor type=&quot;CarnegieHall.Web.Pipelines.SetNotFoundStatusCode, CarnegieHall.Web&quot; /&amp;gt;&#xA;  &amp;lt;/httpRequestProcessed&amp;gt;&#xA;  &amp;lt;mvc.getPageItem&amp;gt;&#xA;    &amp;lt;processor&#xA;      patch:after=&quot;processor[@type='Sitecore.Mvc.Pipelines.Response.GetPageItem.GetFromRouteUrl, Sitecore.Mvc']&quot;&#xA;      type=&quot;CarnegieHall.Web.Pipelines.GetFromOldContext, CarnegieHall.Web&quot; /&amp;gt;&#xA;  &amp;lt;/mvc.getPageItem&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I think the issue is in the GetFromOldContext&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GetFromOldContext : GetPageItemProcessor&#xA;{&#xA;    public override void Process(GetPageItemArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;        if (ItemNotFoundStatusRepository.HasFoundItemKey())&#xA;            return;&#xA;        args.Result = Context.Item;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In GetFromoldContext HttpContext.Current.Response.StatusCode is always 200.&lt;/p&gt;&#xA;" OwnerUserId="416" LastActivityDate="2024-03-29T16:01:25.153" Title="Custom error page on System HttpNotFound()" Tags="|error-handling|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14064" PostTypeId="2" ParentId="14048" CreationDate="2018-09-21T18:56:20.700" Score="1" Body="&lt;p&gt;Currently there is no demo like that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can just install Sitecore Experience Accelerator (SXA) and create couple of simple pages with OOTB SXA components. More information here -&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a second option - Sitecore Demo team is currently working on making Habitat Home deployable via two WDP packages. This will be basically what you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check it here &lt;a href=&quot;https://experienceplatform.habitathomedemo.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://experienceplatform.habitathomedemo.com&lt;/a&gt;. You can use that site for demonstration purposes for now but obviously just published content. You won't get access to sitecore editors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Content&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Content&lt;/a&gt; in upcoming weeks for some news. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also check &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Content/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Content/releases&lt;/a&gt; maybe it will be directly there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Meanwhile follow readme of that github repository on how  to install it via Visual Studio or follow Viet Hoang's awesome step by step guide on how to install it -&gt; &lt;a href=&quot;https://buoctrenmay.com/2018/08/01/sitecore-xp-9-0-2-and-sxa-1-7-1-demo-habitat-home-step-by-step-setup-guide/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://buoctrenmay.com/2018/08/01/sitecore-xp-9-0-2-and-sxa-1-7-1-demo-habitat-home-step-by-step-setup-guide/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-09-21T18:56:20.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14065" PostTypeId="1" CreationDate="2018-09-22T07:06:39.867" Score="0" ViewCount="314" Body="&lt;p&gt;I need to add new items to my Treelist field in the datasource item of the component from edit mode like Linklist. Anyway, Linklist contains child items but is there any way we can handle similar functionality for Treelist also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2018-11-23T08:01:45.283" Title="How to add new items to a Treelist field in the Datasource item from SXA edit mode like Link List" Tags="|sxa|tree-list|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14066" PostTypeId="2" ParentId="1762" CreationDate="2018-09-22T10:00:20.940" Score="0" Body="&lt;p&gt;Even I had the same problem very recently. I removed the dictionary.dat in Website/temp/ and republished the dictionary value again. This solved my issue. Thanks to &lt;a href=&quot;https://cmsxperience.com/2016/10/19/refresh-sitecore-dictionary-entries/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cmsxperience.com/2016/10/19/refresh-sitecore-dictionary-entries/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="976" LastActivityDate="2018-09-22T10:00:20.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14068" PostTypeId="2" ParentId="11776" CreationDate="2018-09-22T15:02:11.097" Score="1" Body="&lt;p&gt;Seems that one does not have to authentication cookie after calling &#xA;&lt;code&gt;Sitecore.Security.Authentication.AuthenticationManager.Login()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FormAuthentication.SetAuthCookie  will be called after successful login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://cprakash.com/2014/09/12/sitecore-form-authentication-cookie-renewal-sliding-expiration/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cprakash.com/2014/09/12/sitecore-form-authentication-cookie-renewal-sliding-expiration/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2447" LastActivityDate="2018-09-22T15:02:11.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14069" PostTypeId="2" ParentId="14053" CreationDate="2018-09-22T19:21:25.267" Score="0" Body="&lt;p&gt;Exception &lt;code&gt;System.NullReferenceException, Message: Object reference not set to an instance of an object&lt;/code&gt; means that you are using default host header of Sitecore instead of host header of your SXA site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve your problem:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Browse using your SXA Host Header Url.&lt;/li&gt;&#xA;&lt;li&gt;Check that Solr Cores &lt;code&gt;sitecore_sxa_master_index&lt;/code&gt; and &lt;code&gt;sitecore_sxa_web_index&lt;/code&gt; exist.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If they don't, create them using the following command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;solr create_core -c new_core -d basic_configs &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Populate schema and rebuild index.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4197" LastEditorUserId="3334" LastEditDate="2019-01-08T19:19:29.433" LastActivityDate="2019-01-08T19:19:29.433" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14070" PostTypeId="2" ParentId="14033" CreationDate="2018-09-23T05:24:42.097" Score="4" Body="&lt;p&gt;Managed lists are just strings, they're not registered anywhere. You can add an order to a custom one by adding it to the Orders &lt;code&gt;ListMembershipComponent&lt;/code&gt; or &lt;code&gt;TransientListMembershipComponent&lt;/code&gt; (tl;dr the latter in your case) and then persisting the entity using &lt;code&gt;IPersistEntityPipeline&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Implementation-wise, the SQL plugin has pipeline blocks in &lt;code&gt;IPersistEntityPipeline&lt;/code&gt; which create back-references for any managed lists. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regular list memberships remain two-way (list to entity, and entity to list via the component) and typically represent things that can never change (all orders are in the &lt;code&gt;Orders&lt;/code&gt; list as well as the &lt;code&gt;Customer-{id}-Orders&lt;/code&gt; list).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Transient list memberships are meant for things that can change, like status lists. As such, the SQL plugin block removes the component from the entity after they create the back-references resulting in a one way (list to entity)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find some great examples of changing status + assigning transient list memberships by peeking at the blocks in &lt;code&gt;ICreateOrderPipeline&lt;/code&gt; / &lt;code&gt;IPendingOrdersMinionPipeline&lt;/code&gt; / &lt;code&gt;IReleasedOrdersMinionPipeline&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-09-23T05:24:42.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14071" PostTypeId="1" AcceptedAnswerId="14073" CreationDate="2018-09-23T07:52:39.060" Score="4" ViewCount="661" Body="&lt;p&gt;We are trying to add in additional code everytime an item moves into &lt;code&gt;Editing&lt;/code&gt; state of the workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When does this happen? Would I add this code on item save? Version added?&#xA;Admin users usually dont trigger workflow state updates - this leads me to believe that its not a plain and simple item save hook?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my scenario, the item being edited actually doesnt have a workflow on it, but whenever it is edited which would virtually move it into editing state if it had a workflow, I need to add some custom code to add its parent item (which has workflow set on it) into editing state.&lt;/p&gt;&#xA;" OwnerUserId="3567" LastEditorUserId="605" LastEditDate="2018-09-23T09:44:32.397" LastActivityDate="2018-09-23T09:49:57.120" Title="Which pipeline is used to change the workflow state internally?" Tags="|pipelines|workflow|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14072" PostTypeId="2" ParentId="14071" CreationDate="2018-09-23T09:43:58.993" Score="4" Body="&lt;p&gt;You should use the event &lt;code&gt;item:saved&lt;/code&gt;. When you have saved the item, in the handler, you will be able to extract the item which has been saved. Based on the item, you can retrieve the parent item. Then, check if the parent item's template is derived from a template that you want to update the workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason you need to check for the parent item is becaue you don't want the workflow state to be updated for all the items.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnItemSaved(object sender, EventArgs args)&#xA;{&#xA;    var eventArgs = args as SitecoreEventArgs;&#xA;&#xA;    var item = eventArgs?.Parameters[0] as Item;&#xA;&#xA;    if (item != null)&#xA;    {&#xA;        var parentItem = item.Parent;&#xA;&#xA;        if (ProcessShouldSkipped(parentItem))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            parentItem.Editing.BeginEdit();&#xA;            parentItem.Fields[&quot;__Workflow state&quot;].Value = &quot;ID of your workflow state&quot;;&#xA;            parentItem.Editing.EndEdit(true);&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;public static bool ProcessShouldSkipped(Item parentItem)&#xA;{&#xA;    return !parentItem.Template.ID.Equals(new ID(&quot;ID of your template&quot;));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you need to patch the new handler to the &lt;code&gt;item:saved&lt;/code&gt; event.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;        &amp;lt;event name=&quot;item:saved&quot;&amp;gt;&#xA;            &amp;lt;handler type=&quot;YourNamespaceWithClassName,YourAssemblyName&quot; method=&quot;OnItemSaved&quot; /&amp;gt;&#xA;        &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that in this code snippet the template ID has been hard coded. You can create a setting either in Siteceore or in a config file. Then use the setting to see if the item workflow should be updated.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-09-23T09:43:58.993" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14073" PostTypeId="2" ParentId="14071" CreationDate="2018-09-23T09:49:57.120" Score="3" Body="&lt;p&gt;You should read this article from John West: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-intercepting-item-updates-with-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/repost-intercepting-item-updates-with-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It explains what your options are to intercept item saves.&#xA;There is no real best answer for everything, it depends what you want to do. &#xA;It mentions the events: &lt;code&gt;item:saved&lt;/code&gt; and &lt;code&gt;item:saving&lt;/code&gt;. (more info in Hishaam's answer) But also the &lt;code&gt;rules engine&lt;/code&gt; and the saveUI pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I know, there is no pipeline for workflow - in the &lt;code&gt;&amp;lt;saveUI&amp;gt;&lt;/code&gt; pipeline you will find the &lt;code&gt;WorkflowSaveCommand&lt;/code&gt; - this answers your question but won't get you what you need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I read your question, I assume that you have a rather specific item template that you want this code for. In that case, I would go for the item saved rule. You can achieve the same result with the events, but you might need to write some additional checks which you could turn into a condition to separate the condition from the actual action.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-09-23T09:49:57.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14075" PostTypeId="1" CreationDate="2018-09-23T14:43:36.200" Score="5" ViewCount="2163" Body="&lt;p&gt;I need to prevent Sitecore from removing my script tags in RTE for specific templates even when &lt;code&gt;HtmlEditor.RemoveScripts&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked at &#xA;&lt;a href=&quot;https://laubplusco.net/customizing-sitecore-rich-text-field-configuration/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://laubplusco.net/customizing-sitecore-rich-text-field-configuration/&lt;/a&gt;&#xA;&lt;a href=&quot;https://jermdavis.wordpress.com/2014/04/06/ever-wished-the-rich-text-field-didnt-mess-with-your-html/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jermdavis.wordpress.com/2014/04/06/ever-wished-the-rich-text-field-didnt-mess-with-your-html/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but both didn't work, I'm not sure if this is related to the articles being old or I'm doing something wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting &lt;code&gt;HtmlEditor.RemoveScripts&lt;/code&gt; value to &lt;code&gt;false&lt;/code&gt; works, but when I use the below when the setting value is &lt;code&gt;true&lt;/code&gt; it doesn't:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;base.SetupFilters();&#xA;base.Editor.DisableFilter(EditorFilters.RemoveScripts);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;using Sitecore 8.2 u 7&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="490" LastEditDate="2018-09-24T09:12:28.237" LastActivityDate="2019-04-24T12:02:00.373" Title="Preventing RTE from removing scripts for specific templates only" Tags="|richtext-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14076" PostTypeId="1" AcceptedAnswerId="14077" CreationDate="2018-09-23T19:16:23.603" Score="7" ViewCount="1273" Body="&lt;p&gt;I am using EXM Version 9.0.1, with Sitecore 9 update 1 installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created the campaign and want to track the email open rate in the report section, but my Email open rates are not capturing , as I am using the simple html template/Plain text Message Template and email body is not clickable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I wondering,  there is no action happened on the email body and sitecore is not able to track any action of &quot;email Open&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, If I select the other template, which has some action on the html body and in that case my &quot;email opens&quot; tracks properly as its passing some query string to the Sitecore Site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing any configuration to &quot;explicitly track the email open rate&quot; or what is the logic behind the tracking open rate ?  &lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="690" LastEditDate="2018-09-24T04:07:45.340" LastActivityDate="2018-09-25T04:36:23.093" Title="How does Sitecore EXM track the Email Opens Rate?" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14077" PostTypeId="2" ParentId="14076" CreationDate="2018-09-23T19:31:04.707" Score="14" Body="&lt;p&gt;The question is: How does EXM track opens?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During dispatch, EXM automatically embeds a tracking pixel to the bottom of the rendered email. The tracking pixels link's to &lt;em&gt;RegisterEmailOpened.ashx&lt;/em&gt; on the Content Delivery server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The RegisterOpen process logs the open event as an Interaction on the Contact in xConnect/xDB.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The first step to troubleshooting this process is examining the raw content of a sent piece of mail and looking for the tracking pixel. The tracking pixel is an &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag that is present on the bottom of a sent piece of mail. If you don't see that, the email layout you're using isn't correctly adding the pixel. (All of the OOTB templates put this).  This does NOT exist when you run a &quot;Email Test&quot; from EXM.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;body style=3D&quot;margin:4px;&quot; &amp;gt;&#xA;        &amp;lt;p&amp;gt;&#xA;            &amp;lt;strong&amp;gt;This is an example email&amp;lt;/strong&amp;gt;&#xA;        &amp;lt;/p&amp;gt;&#xA;        &amp;lt;p&amp;gt;&#xA;            &amp;lt;strong&amp;gt;&amp;amp;nbsp;&amp;lt;/strong&amp;gt;&#xA;        &amp;lt;/p&amp;gt;&#xA;        &amp;lt;p&amp;gt;Sending this to Test User 12 Tester.&amp;lt;/p&amp;gt;&#xA;        &amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&#xA;        &amp;lt;p&amp;gt;Thanks,&amp;lt;/p&amp;gt;&#xA;        &amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&#xA;        &amp;lt;p&amp;gt;Pete&amp;lt;/p&amp;gt;&#xA;        &amp;lt;img height=3D&quot;1&quot; width=3D&quot;1&quot; border=3D&quot;0&quot; style=3D&quot;border-color: transparent;&quot; src=3D&quot;https://www.exampledomain.net//sitecore%20modules/Web/EXM/RegisterEmailOpened.ashx?ec_eq=3DH5aEpKOBu%2fmLhjhgLykgb8K2TUlbxiVIldiWwGN%2bFjKr6M%2byrSbBj%2fB7vYTiU9gFHULILVZO%2fPh8aDWOx9spG58v0lcdrY1NH%2b40hYZW5SV1p8uTCOjb5NDd%2fqLqnxoEBRHfyV5WLJW%2f%2bJruq1kIhAlmo5mQUuKqgARg938jAZpY6oKsryxGumMlNoDfwHMGdLPoTcsNeVy22kJ0%2fcvUDZBchsq4GlnFLRWWbaZ4419KB5ue2zlho9AJQ1d2vNFg&quot; alt=3D&quot;&quot; /&amp;gt;&#xA;    &amp;lt;/body&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Also, look at the Manager Root item and make sure that &quot;Track Message Open&quot; is checked on the Manager Root. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/Eo8xi.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Eo8xi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Next is to make sure that the pixel is loading correctly. Take the URL, and all of the query string parameters from the raw output of a dispatched piece of mail, and try to run it.  Verify that you don't get any 404 or 500 errors.  If it works, it will just be blank.&lt;/li&gt;&#xA;&lt;li&gt;If that seems to work, verify all logs (Sitecore and xConnect) that communication is working.  At this point, if it still isn't working, you will be troubleshooting your xDB implementation which is outside of the scope of this question.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-09-25T04:36:23.093" LastActivityDate="2018-09-25T04:36:23.093" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14078" PostTypeId="2" ParentId="14053" CreationDate="2018-09-23T20:56:12.000" Score="2" Body="&lt;p&gt;This bit:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.XA.Foundation.SitecoreExtensions&#xA;   at Sitecore.XA.Foundation.SitecoreExtensions.Extensions.ItemExtensions.FirstChildInheritingFrom(Item item, ID templateId)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;especially &lt;code&gt;FirstChildInheritingFrom&lt;/code&gt; might mean that SXA has not been properly installed (e.g.: some templates are missing).&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-09-23T20:56:12.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14079" PostTypeId="1" CreationDate="2018-09-23T23:58:09.110" Score="0" ViewCount="44" Body="&lt;p&gt;Using Sitecore 9, is it possible out of the box for an item to follow a certain workflow when a specific value is set for a field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g I have a severity field which if has a certain value, means the item needs to go through a different workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One approach could be a custom workflow submit action based on the &quot;Auto Submit Action&quot; that looks at the value of the severity field and sets the Workflow of the item accordingly. Is this the best approach? Wouldnt it require me to use an Action rather than a Command to move an item to the next workflow state?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="1347" LastEditDate="2018-09-24T01:40:53.033" LastActivityDate="2018-09-24T02:57:51.387" Title="Workflow only on specific value of Field" Tags="|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14080" PostTypeId="2" ParentId="14079" CreationDate="2018-09-24T02:57:51.387" Score="1" Body="&lt;p&gt;Out of the box, there is no such option. Well. Not really, anyway.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Using the Rules Engine&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Under the assumption that &quot;out of the box&quot; is in the meaning of &quot;no code should be deployed&quot;, there is sort of a way. But I wouldn't do it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use the Rules Engine to capture the &lt;code&gt;item:saved&lt;/code&gt; event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mexAN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mexAN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you're still going to need some code. &lt;code&gt;Run the specific script&lt;/code&gt; would then point to a code snippet where you could set a specific Workflow (e.g. &quot;Escalated&quot;, &quot;Normal&quot; and so on).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This would be &quot;out of the box&quot; but I strongly recommend against it. You still need code (in the script) but now you're embedding the code as Sitecore content. Code belongs in your Visual Studio solution.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Action versus Command then...&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To the second part of your question; if you're creating code - how to go about it?  This question already has an answer here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11932/decide-the-workflow-state-on-the-fly&quot;&gt;Decide the Workflow state on the fly&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-09-24T02:57:51.387" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14082" PostTypeId="2" ParentId="8842" CreationDate="2018-09-24T05:04:43.207" Score="0" Body="&lt;p&gt;The reason you are getting this error is mainly because, you local machine don't have the self-signed root certificate and client certificate. You can follow the below steps to create a self-signed root certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Self-Signed Root Certificate&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;makecert -r -pe -n &quot;CN=MyWebSSLRoot&quot; -b 12/22/2013 -e 12/23/2040 -ss root -sr localmachine -len 2048&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create a client certificate&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;makecert -pe -n &quot;CN=XConnect&quot; -eku 1.3.6.1.5.5.7.3.2 -is root -ir localmachine -in MyWebSSLRoot -ss my -sr currentuser -len 2048&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Close all the browser instance and open the xConnect URL again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also check if the solution in the below link helps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://medium.com/@sivalingaamorthy/sitecore-9-xconnect-not-working-having-error-http-error-403-16-b148bb247897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/@sivalingaamorthy/sitecore-9-xconnect-not-working-having-error-http-error-403-16-b148bb247897&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="1698" LastEditDate="2018-09-25T04:53:45.703" LastActivityDate="2018-09-25T04:53:45.703" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14083" PostTypeId="1" CreationDate="2018-09-24T06:45:01.227" Score="1" ViewCount="54" Body="&lt;p&gt;Currently I am deploying Sitecore 9 infrastructure at our customer, which hosts web apps at Azure App Service Environments v2 (ASEv2).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using standard Sitecore ARM templates, with slight modifications (I do not need to deploy serverFarms, as they are already in ASEv2) and here comes a problem: web apps could not find certificate, deployed in RG by ARM template. If I add this certificate manually to web app, it got deployed to RG, but this time - it seems to be installed on ASEv2 somehow and all web apps in this ASE could load my certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an ARM/Powershell example on how to deploy PFX certificate at ASEv2, so it will be available to web apps in this ASE for loading?&lt;/p&gt;&#xA;" OwnerUserId="181" LastActivityDate="2018-09-24T06:45:01.227" Title="Deploy XConnect certificate to ASEv2" Tags="|xconnect|arm-template|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14084" PostTypeId="1" AcceptedAnswerId="14086" CreationDate="2018-09-24T07:07:49.570" Score="5" ViewCount="659" Body="&lt;p&gt;There are several sitecore indexing commit policy executor like &#xA;&lt;code&gt;Sitecore.ContentSearch.TimeIntervalCommitPolicy&lt;/code&gt;&#xA;and &#xA;&lt;code&gt;Sitecore.ContentSearch.ModificationCountCommitPolicy&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to know the difference between these two policies. &#xA;I can't find much information on this in sitecore documentation.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="70" LastEditDate="2018-09-26T12:39:11.453" LastActivityDate="2018-09-26T12:39:11.453" Title="Sitecore indexing commit policy Executor" Tags="|indexing|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14085" PostTypeId="2" ParentId="14065" CreationDate="2018-09-24T07:30:00.297" Score="1" Body="&lt;p&gt;If you are talking about this button on the Link List:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xDD3z.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xDD3z.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Than it's custom edit frame button which is located &lt;code&gt;/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Link/Insert Sibling&lt;/code&gt; in the Core database. It's using &lt;code&gt;Sitecore.XA.Foundation.Editing.Commands.WebEditNew&lt;/code&gt; command. Take a look there into that class. Create new one, use the same, change what you want, have fun. &lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-09-24T07:30:00.297" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14086" PostTypeId="2" ParentId="14084" CreationDate="2018-09-24T07:59:45.613" Score="6" Body="&lt;p&gt;Commit policies are the idea of telling the provider when it will finally commit documents into a persistent state so that if the application was to crash or the computer was to power down that you would be able to still search for those documents in the index when the application was started again. Common policies are to commit by document count, time, amount of ram buffered or document size count but in essence you have full control over the logic of when a commit will happen.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you use TimeIntervalCommitPolicy  it's commit your documents every 3 minutes. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TimeIntervalCommitPolicy : ICommitPolicy, IDisposable, ICloneable, ISearchIndexInitializable&#xA;    {&#xA;        //Sitecore 9 code &#xA;        private readonly TimeSpan interval = new TimeSpan(0, 0, 5, 0);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you use ModificationCountCommitPolicy you have &quot;Limit&quot; setting in configuration. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;          &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                  &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;                &amp;lt;/policy&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the documents modified exceed the Limit from settings, documents are committed to the index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a described Commit policies for Sitecore 7: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-commit-policies&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sitecore-7-commit-policies&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On current version they work in the same way. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-09-24T08:10:43.423" LastActivityDate="2018-09-24T08:10:43.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14087" PostTypeId="2" ParentId="14054" CreationDate="2018-09-24T08:30:12.793" Score="0" Body="&lt;p&gt;Please try unblocking the &lt;code&gt;Microsoft.Web.XmlTransform.dll&lt;/code&gt;.&#xA;Normally you get such kind of errors when you extract the SIF zip files without doing unblock before the extract.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nREm9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nREm9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did got something same with error but with the unblock and re-execution everything worked fine.&lt;/p&gt;&#xA;" OwnerUserId="1049" LastEditorUserId="35" LastEditDate="2018-11-29T14:06:15.563" LastActivityDate="2018-11-29T14:06:15.563" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14091" PostTypeId="1" AcceptedAnswerId="14093" CreationDate="2018-09-24T11:35:56.593" Score="2" ViewCount="702" Body="&lt;p&gt;I've created my own helix based solution on the habitat project and I need to support multiple sites in this solution. But I don't know how to structure the Project folder here I need to create is the following basic structure the right approach or did I miss something?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Project&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Common&lt;/li&gt;&#xA;&lt;li&gt;DotComWeb&lt;/li&gt;&#xA;&lt;li&gt;DotComCommon&lt;/li&gt;&#xA;&lt;li&gt;ShopsWeb&lt;/li&gt;&#xA;&lt;li&gt;ShopsCommon&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-09-24T12:50:37.967" Title="Habitat multisite solution structure example" Tags="|helix|habitat|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14092" PostTypeId="1" CreationDate="2018-09-24T12:04:52.007" Score="1" ViewCount="84" Body="&lt;p&gt;We are trying to work with virtual catalogs but have some trouble finding documentation on how it is supposed to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our objective is just to use two base catalogs together in our storefront and thought that a virtual catalog is the best way to accomplish this? We want to merge two base catalogs into one without any price changes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We found that the virtual catalog creates its own items with original item id and catalog name in brackets and wonder if that is optional? Example: 6042591(Habitat_Master)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The virtual catalog items doesn't contain values in Display Name or Description. Why?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we changed anything on the item in the virtual catalog it didn't reflect in the original catalog, shouldn't it do that? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use a virtual catalog must we use the virtual catalog item when we add it to the cart or can we use the original catalog item?&lt;/p&gt;&#xA;" OwnerUserId="4348" LastActivityDate="2018-09-24T12:04:52.007" Title="Virtual catalogs in Commerce 8.2.1" Tags="|sitecore-commerce|commerce-catalog|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14093" PostTypeId="2" ParentId="14091" CreationDate="2018-09-24T12:50:37.967" Score="8" Body="&lt;p&gt;When I was setting up our project layer based upon &lt;a href=&quot;https://helix.sitecore.net/principles/architecture-principles/layers.html#project-layer&quot; rel=&quot;noreferrer&quot;&gt;the Helix architecture principles for the project layer&lt;/a&gt;, this bit stood out to me:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Typically, in a single tenant solution there will only be a single module, namely the specific website or requirements that fits the needs of the tenant, and this will contain little or no pre-compiled code but instead consist of mark-up, styling, layout and templates of the item types in Sitecore which the editors can create (see Template types).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And for Habitat:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;The Common module paves the way for a multi-tenant implementation by defining some of the shared templates and settings between tenants.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So our current structure looks very similar:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Project&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;AbcWebsite&lt;/li&gt;&#xA;&lt;li&gt;Common&lt;/li&gt;&#xA;&lt;li&gt;QrsWebsite&lt;/li&gt;&#xA;&lt;li&gt;XyzWebsite&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What I'm not sure is what the use case would be for another Common project for each website, as you've done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unless you have multiple multi-tenant implementations with their own shared code, I wouldn't expect you'd need another common project for each website. And if you do have multi-tenant implementations like that (such as if each multi-tenant instance is a different client/customer), I wonder if that should instead be a different Visual Studio solution, one for each client/multi-tenant instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This also means that if you don't have a multi-tenant solution, a Common project layer module wouldn't be required.&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2018-09-24T12:50:37.967" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14094" PostTypeId="2" ParentId="14030" CreationDate="2018-09-24T13:13:43.450" Score="0" Body="&lt;p&gt;Ok so I solved this by adding the plugins through a conditional in the main.js file.  Before I was adding directly in the components but this wasn't working.  I'm not sure if this is a permanent solution though.  I may look into adding Nuxt.js to this project to better handle the SSR aspect of Sitecore JSS.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import i18ninit from './i18n';&#xA;import { createApp } from './createApp';&#xA;import './registerServiceWorker';&#xA;import Vue from 'vue';&#xA;import VueFullPage from 'vue-fullpage.js';&#xA;import createjs from 'createjs-module';&#xA;&#xA;i18ninit().then((i18n) =&amp;gt; {&#xA;  // HTML element to place the app into&#xA;  const rootElement = document.getElementById('root');&#xA;&#xA;  // retrieve the initial app state if it is defined&#xA;  const initialState = window.__JSS_STATE__ || null;&#xA;&#xA;  if (typeof window !== 'undefined') {&#xA;    // register Vue full page global component&#xA;    Vue.use(VueFullPage);&#xA;    Vue.prototype.$createjs = createjs;&#xA;  }&#xA;&#xA;  const { app } = createApp(initialState, i18n);&#xA;  app.$mount(rootElement);&#xA;}); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4327" LastActivityDate="2018-09-24T13:13:43.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14095" PostTypeId="2" ParentId="13956" CreationDate="2018-09-24T13:40:14.850" Score="1" Body="&lt;p&gt;We have found that Database Change audit stalls the database.  In order to solve this issue we had to turn off that audit.  Here is what we did (our database is called &lt;em&gt;DB_Changes&lt;/em&gt;):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create new query against master database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ALTER SERVER AUDIT DB_Changes WITH (STATE = OFF)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Run the Powershell script for xConnect.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;After script completes run the following query to re-enable audits:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ALTER SERVER AUDIT DB_Changes WITH (STATE = ON)&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4320" LastEditorUserId="237" LastEditDate="2019-12-24T10:20:43.877" LastActivityDate="2019-12-24T10:20:43.877" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14096" PostTypeId="1" AcceptedAnswerId="14099" CreationDate="2018-09-24T15:37:12.983" Score="3" ViewCount="648" Body="&lt;p&gt;My goal is to use the &lt;strong&gt;Show-ListView&lt;/strong&gt; function available in Sitecore Powershell to show a dynamic number of columns. I'm currently executing the Show-ListView function as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$table |&#xA;    Show-ListView @props -Property @{ Label = &quot;Item&quot;; Expression = { $_.Item} },&#xA;    @{ Label = &quot;Page Type&quot;; Expression = { $_.PageType } },&#xA;    @{ Label = &quot;Path&quot;; Expression = { $_.Path} },&#xA;    @{ Label = &quot;en&quot;; Expression = { $_.'en' } },&#xA;    @{ Label = &quot;en-AU&quot;; Expression = { $_.'en-au' } },&#xA;    @{ Label = &quot;en-CA&quot;; Expression = { $_.'en-ca' } },&#xA;    @{ Label = &quot;en-GB&quot;; Expression = { $_.'en-gb' } },&#xA;    @{ Label = &quot;en-IN&quot;; Expression = { $_.'en-in' } },&#xA;    @{ Label = &quot;en-SG&quot;; Expression = { $_.'en-sg' } },&#xA;    @{ Label = &quot;fr-CA&quot;; Expression = { $_.'fr-ca' } },&#xA;    @{ Label = &quot;ja-JP&quot;; Expression = { $_.'ja-jp' } },&#xA;    @{ Label = &quot;zh-CN&quot;; Expression = { $_.'zh-cn' } }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'd like for the list of languages printed to be dynamic based on input I'm gathering from the user. I've already successfully read in the user input using the &lt;code&gt;Read-Variable&lt;/code&gt; function but I'm not sure if there is a way to use this list to dynamically generate columns. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible using the built-in Sitecore Powershell functions or does the column generation have to be exclusively static?&lt;/p&gt;&#xA;" OwnerUserId="1080" LastEditorUserId="605" LastEditDate="2018-09-24T18:11:46.340" LastActivityDate="2018-09-24T18:11:46.340" Title="Using Show-ListView to Display a Dynamic Number of Columns in Sitecore Powershell" Tags="|powershell-extensions|module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14097" PostTypeId="1" AcceptedAnswerId="14110" CreationDate="2018-09-24T16:12:20.683" Score="2" ViewCount="328" Body="&lt;p&gt;When setting a bucket as the target datasource location for an SXA Component and a datatemplate the &lt;code&gt;Sitecore.Shell.Applications.Dialogs.SelectRenderingDatasource&lt;/code&gt; throws a NullReference exception on rendering:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.XA.Foundation.SitecoreExtensions&#xA;   at Sitecore.XA.Foundation.SitecoreExtensions.Controls.SourcedMultiRootTreeview.GetNodeID(String shortID)&#xA;   at Sitecore.Web.UI.WebControls.TreeviewEx.RenderNodeBegin(HtmlTextWriter output, IDataView dataView, String filter, Item item, Boolean active, Boolean isExpanded)&#xA;   at Sitecore.XA.Foundation.SitecoreExtensions.Controls.DatasourceMultiRootTreeview.RenderNodeBegin(HtmlTextWriter output, IDataView dataView, String filter, Item item, Boolean active, Boolean isExpanded)&#xA;   at Sitecore.Web.UI.WebControls.TreeviewEx.RenderNode(HtmlTextWriter output, IDataView dataView, String filter, Item root, Item parent, Item folder)&#xA;   at Sitecore.Web.UI.WebControls.TreeviewEx.RenderNode(HtmlTextWriter output, IDataView dataView, String filter, Item root, Item parent, Item folder)&#xA;   at Sitecore.Web.UI.WebControls.TreeviewEx.Render(HtmlTextWriter output, IDataView dataView, String filter, Item root, Item folder)&#xA;   at Sitecore.Web.UI.WebControls.MultiRootTreeview.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.HtmlControls.Panel.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.HtmlControls.Border.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at Sitecore.Web.HtmlUtil.RenderControl(Control ctl)&#xA;   at Sitecore.Web.UI.WebControls.GridPanel.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.HtmlControls.Border.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at Sitecore.Web.HtmlUtil.RenderControl(Control ctl)&#xA;   at Sitecore.Web.UI.WebControls.GridPanel.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.WebControls.Placeholder.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.XmlControls.GenericControl.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.HtmlControls.Border.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.XmlControls.GenericControl.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.WebControls.Placeholder.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)&#xA;   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)&#xA;   at Sitecore.Web.FormAdapter.Render(HtmlTextWriter writer)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.XmlControls.GenericControl.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.WebControls.Placeholder.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.XmlControls.GenericControl.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&#xA;   at Sitecore.Web.UI.Sheer.ClientPage.Render(HtmlTextWriter writer)&#xA;   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can buckets not be used? Is this an SXA issue? Are we missing any settings?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS: When enabling &quot;Buckets&quot; under the View tab in the content editor the dialog will work without a problem. It just doesn't work when this is disabled (which is the default)&lt;/p&gt;&#xA;" OwnerUserId="495" LastEditorUserId="73" LastEditDate="2018-09-24T22:16:40.527" LastActivityDate="2018-09-25T10:29:17.417" Title="Bucket as DataSource throws NullReferenceException" Tags="|sxa|buckets|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14099" PostTypeId="2" ParentId="14096" CreationDate="2018-09-24T18:10:50.333" Score="6" Body="&lt;p&gt;Yes it is possible to dynamically render the fields in the &lt;strong&gt;Show-ListView&lt;/strong&gt;. You can read more from the article I posted: &lt;a href=&quot;https://hishaamn.wordpress.com/2018/06/30/sitecore-powershell-dynamic-ui/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Powershell Dynamic UI&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on your current requirement, I have assumed that the &lt;code&gt;Read-Variables&lt;/code&gt; takes as input a list of language. Below is a code snippet that split the languages and then create a pattern.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$result = Read-Variable -Parameters `&#xA;    @{ Name = &quot;inputLanguages&quot;; Value=&quot;&quot;; Title=&quot;Text&quot;; Tab=&quot;Language&quot;; Placeholder=&quot;Input Languages delimited by ,&quot;} `&#xA;    -Description &quot;Language Options&quot; `&#xA;    -Title &quot;SSE Question&quot; -Width 650 -Height 700 -OkButtonName &quot;Proceed&quot; -CancelButtonName &quot;Abort&quot; -ShowHints&#xA;&#xA;if($result -ne &quot;ok&quot;)&#xA;{&#xA;    Exit&#xA;}&#xA;&#xA;$pattern = &quot;&quot;&#xA;&#xA;$languages = $inputLanguages -split &quot;,&quot;&#xA;$counter = 1&#xA;&#xA;foreach($language in $languages){&#xA;&#xA;    if($languages.length -eq $counter){&#xA;        $pattern += '@{ Label = &quot;'+$language+'&quot;; Expression = { $_.&quot;'+$language.ToLower()+'&quot; }; }'&#xA;    }&#xA;    else{&#xA;        $pattern += '@{ Label = &quot;'+$language+'&quot;; Expression = { $_.&quot;'+$language.ToLower()+'&quot; }; },'&#xA;    }&#xA;&#xA;    $counter++&#xA;}&#xA;&#xA;$convertPattern = Invoke-Expression $pattern&#xA;&#xA;&#xA;Get-ChildItem -Path &quot;master:\sitecore\content\Home&quot; | Show-ListView -Property $convertPattern &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The outcome is shown in the screenshot below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xPfbE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xPfbE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-09-24T18:10:50.333" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14100" PostTypeId="1" CreationDate="2018-09-24T18:29:41.630" Score="2" ViewCount="220" Body="&lt;p&gt;I'm using WFFM MVC on Sitecore 8.2 and want to re-direct to the Success Page with some custom querystring parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However looking at Sitecore.Mvc.Forms.config no  pipelines are run for MVC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore most examples I've found for doing this will not work with MVC (only WebForms :-(). e.g: &lt;a href=&quot;https://ggullentops.blogspot.com/2016/07/sitecore-wffm-act-on-success.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2016/07/sitecore-wffm-act-on-success.html&lt;/a&gt; and: &lt;a href=&quot;https://sitecoretricks.com/2018/02/23/wffm-webfroms-customizing-the-successredirect-pipeline/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoretricks.com/2018/02/23/wffm-webfroms-customizing-the-successredirect-pipeline/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this answer from Marek Musielak about overriding the entire FormController class but this seems pretty horrible: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/32924910/overwrite-succesredirect-for-wffm-on-mvc-project&quot;&gt;https://stackoverflow.com/questions/32924910/overwrite-succesredirect-for-wffm-on-mvc-project&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are they any work-arounds or other approaches for this?&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-11-23T20:00:45.107" Title="WFFM Redirect with Querystring Parameters Sitecore MVC" Tags="|wffm|" AnswerCount="1" CommentCount="0" ClosedDate="2018-11-24T00:38:45.057" ContentLicense="CC BY-SA 4.0" />
  <row Id="14101" PostTypeId="2" ParentId="14100" CreationDate="2018-09-24T19:11:35.653" Score="0" Body="&lt;p&gt;Adam,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you should check my blog on &lt;a href=&quot;https://ggullentops.blogspot.com/2016/07/sitecore-wffm-act-on-success.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2016/07/sitecore-wffm-act-on-success.html&lt;/a&gt;. You say you did, but it does mention the solution for MVC, even with the code to adapt the redirect url (by adding a querystring, just as you need).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pipeline you are looking for is &lt;code&gt;&amp;lt;wffm.success&amp;gt;&lt;/code&gt; (set in Sitecore.MvcForms.config).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The wffm.success is by default empty. The actual redirect happens in another pipeline later on. So redirecting here is not the right thing to do. When I started writing the processor I noticed  had a lot of information in a Sitecore.Forms.Mvc.Models.FormModel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have access to all the fields, and to the SuccessRedirectUrl property. At this point this is filled with the url as set in Sitecore (which is very useful as a base) and you can alter it as you please. The actual redirect will happen later but it will use the value you have set here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SuccessRedirect : FormProcessorBase&amp;lt;IFormModel&amp;gt;&#xA;{&#xA;    public override void Process(FormProcessorArgs&amp;lt;IFormModel&amp;gt; args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;        var model = args.Model as FormModel;&#xA;        if (model == null)&#xA;            return;&#xA;         model.SuccessRedirectUrl = model.SuccessRedirectUrl + &quot;?val=&quot; + model.Results[0].Value;&#xA;    }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-09-24T19:11:35.653" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14102" PostTypeId="1" CreationDate="2018-09-25T07:24:50.170" Score="2" ViewCount="417" Body="&lt;p&gt;I have created bundling in my project as follows :&#xA;Have created a config under App_Start/BundleConfig.cs &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BundleConfig&#xA;{&#xA;    [UsedImplicitly]&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        RegisterBundles(BundleTable.Bundles);&#xA;&#xA;    }        &#xA;    public static void RegisterBundles(BundleCollection bundles)&#xA;    {            &#xA;        bundles.Add(new ScriptBundle(&quot;~/bundles/js&quot;).Include(&quot;~/Assets/Project/scripts/main.js&quot;));           &#xA;        bundles.Add(new StyleBundle(&quot;~/bundles/css&quot;).Include(&quot;~/Assets/Project/styles/main.css&quot;));&#xA;    }        &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and added the same in Pipeline&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;initialize&amp;gt;&#xA;    &amp;lt;processor type=&quot;MyProject.Foundation.Assets.App_Start.BundleConfig, MyProject.Foundation.Assets&quot; patch:before=&quot;processor[@type='Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel']&quot; /&amp;gt;&#xA;  &amp;lt;/initialize&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the bundling is working fine as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now I need to optimize them using a query parameter in the URL, example if I browse example.local?debug=true, I need to enable optimizations as false&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So now I have added another config &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BundleOptimizations : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {            &#xA;        EnableOptimizations();&#xA;    }       &#xA;&#xA;    public void EnableOptimizations()&#xA;    {&#xA;        var debugMode = HttpContext.Current.Request.QueryString[&quot;debug&quot;];&#xA;        if (!string.IsNullOrEmpty(debugMode) &amp;amp;&amp;amp; string.Equals(debugMode, &quot;true&quot;, StringComparison.InvariantCultureIgnoreCase))&#xA;        {&#xA;            BundleTable.EnableOptimizations = false;&#xA;        }&#xA;        else&#xA;        {&#xA;            BundleTable.EnableOptimizations = true;&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and this config I have added in HttpRequestBegin pipeline&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;processor type=&quot;MyProject.Foundation.Assets.App_Start.BundleOptimizations, MyProject.Foundation.Assets&quot; patch:before=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel']&quot; /&amp;gt;&#xA;  &amp;lt;/httpRequestBegin&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I am not able to get these bundles optimized using the query parameter. Please can someone help me with the same&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="950" LastEditorUserId="4050" LastEditDate="2020-01-14T05:31:47.327" LastActivityDate="2020-01-14T05:31:47.327" Title="Sitecore MVC Bundling Optimization" Tags="|bundling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14105" PostTypeId="1" AcceptedAnswerId="14106" CreationDate="2018-09-25T07:46:49.470" Score="2" ViewCount="738" Body="&lt;p&gt;According to the cachetuner, I should extend my &quot;rules&quot; cache. (By default it is 800KB)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody now which setting in sitecore config I should adapt in order to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2024-03-22T03:09:37.697" Title="How to set Rules Cache Size" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14106" PostTypeId="2" ParentId="14105" CreationDate="2018-09-25T07:54:56.173" Score="6" Body="&lt;p&gt;The setting is called &lt;code&gt;Rules.MaxCachedRules&lt;/code&gt;. The value should be in KB or MB. You can set it to 0 to disable the cache completely.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot; xmlns:set=&amp;quot;http://www.sitecore.net/xmlconfig/set/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!-- Default value if not set otherwise (800KB) --&amp;gt;&#xA;      &amp;lt;setting name=&amp;quot;Rules.MaxCachedRules&amp;quot; value=&amp;quot;2MB&amp;quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="55" LastEditorUserId="946" LastEditDate="2024-03-22T03:09:37.697" LastActivityDate="2024-03-22T03:09:37.697" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14108" PostTypeId="1" CreationDate="2018-09-25T09:19:51.440" Score="1" ViewCount="594" Body="&lt;p&gt;Does anybody recognize this error: &quot;this.Interaction should not be null&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It occurs on our server when we execute &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.IdentifyAs(source, identifier);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The request is executed as an Ajax request to a mvc-controller. Identifier is an email address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Previously we have checked that the tracker is active and running by:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool IsActive&#xA;    {&#xA;        get&#xA;        {&#xA;            if (Sitecore.Analytics.Tracker.Enabled == false)&#xA;            {&#xA;                return false;&#xA;            }&#xA;            if (Sitecore.Analytics.Tracker.Current == null)&#xA;            {&#xA;                Sitecore.Analytics.Tracker.StartTracking();&#xA;            }&#xA;            if (Sitecore.Analytics.Tracker.Current != null &amp;amp;&amp;amp; !Sitecore.Analytics.Tracker.Current.IsActive)&#xA;            {&#xA;                Sitecore.Analytics.Tracker.StartTracking();&#xA;            }&#xA;            return true;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4352" LastEditorUserId="4352" LastEditDate="2018-09-25T13:32:15.370" LastActivityDate="2018-10-26T15:01:03.810" Title="this.Interaction should not be null Sitecore 9.0.2 Azure" Tags="|experience-analytics|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14109" PostTypeId="1" CreationDate="2018-09-25T09:49:46.507" Score="0" ViewCount="329" Body="&lt;p&gt;I have been working with Sitecore version 8.2, with three to four sites in one instance. Everything work fine, but in logs the following errors are seen.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; ERROR Application error.&#xA;Exception: System.Web.HttpException&#xA;Message: Exception of type 'System.Web.HttpException' was thrown.&#xA;Source: System.Web.WebPages&#xA;   at System.Web.WebPages.WebPageRoute.DoPostResolveRequestCache(HttpContextBase context)&#xA;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just wondering how this error occurs on the site and none of the functionality is affected. Please provide an detailed explanation regarding the same &lt;/p&gt;&#xA;" OwnerUserId="2963" LastActivityDate="2018-10-09T11:41:59.103" Title="HttpException on Sitecore logs" Tags="|sitecore-client|logging|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14110" PostTypeId="2" ParentId="14097" CreationDate="2018-09-25T10:29:17.417" Score="3" Body="&lt;p&gt;I can confirm that it's an issue in SXA. I've registered this in our backlog and it will be fixed in 1.8 release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Workaround might be hard to implement for you. It would require to override &lt;code&gt;Sitecore.XA.Foundation.SitecoreExtensions.CustomFields.FieldTypes.MultiRootTreeList&lt;/code&gt; and change &lt;code&gt;OnLoad()&lt;/code&gt; method in which you would need to create your custom &lt;code&gt;DatasourceMultiRootTreeview&lt;/code&gt; with properly implemented &lt;code&gt;GetNodeID()&lt;/code&gt; method (simple null check is missing there).&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-09-25T10:29:17.417" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14111" PostTypeId="2" ParentId="13420" CreationDate="2018-09-25T11:33:37.487" Score="1" Body="&lt;p&gt;This Error occurred for 2 reasons...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1&#xA;ensure in your web config for the instance your working on (CM, CD) you have thr following attribute &lt;code&gt;&amp;lt;add key=&quot;AllowInvalidClientCertificates&quot; value=&quot;true&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2&#xA;in Azure make sure that in the App Settings you have for &lt;strong&gt;WEBSITE_LOAD_CERTIFICATES&lt;/strong&gt; is set to a star -&gt; *&lt;/p&gt;&#xA;&#xA;&lt;p&gt;once this is done, restart your app services and it will begin working&lt;/p&gt;&#xA;" OwnerUserId="2993" LastActivityDate="2018-09-25T11:33:37.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14112" PostTypeId="1" AcceptedAnswerId="15908" CreationDate="2018-09-25T12:26:07.130" Score="2" ViewCount="1473" Body="&lt;p&gt;Default Sitecore logs performance counters every 5 second from each of the 4 roles. This is a bit much for our needs. Is it possible to reduce the sampling intervall of performance counters without reducing the other logging?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see that in application.config file in the root directory this is set like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Add Type=&quot;Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel&quot;&amp;gt;&#xA;  &amp;lt;MaxTelemetryItemsPerSecond&amp;gt;5&amp;lt;/MaxTelemetryItemsPerSecond&amp;gt;&#xA;&amp;lt;/Add&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I want to change it to sample every 5 minutes instead of 5 seconds, not limit the number of samples per second. Is this possible?&lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="312" LastEditDate="2019-01-08T10:42:51.260" LastActivityDate="2019-01-08T10:43:10.003" Title="Change volume of performance counters in Application Insights PaaS" Tags="|azure|paas|application-insights|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14113" PostTypeId="1" CreationDate="2018-09-25T12:48:58.910" Score="0" ViewCount="120" Body="&lt;p&gt;When i publish item of specific template , i would like to take the item name and Path,few more custom fields and put it on sql server (Custom Table).How do i do this please guide (This is business requirement to store it in Custom Table)&lt;/p&gt;&#xA;" OwnerUserId="3621" LastActivityDate="2018-09-26T18:52:44.160" Title="Insert into DB on Sitecore Publishing" Tags="|publishing|" AnswerCount="1" CommentCount="1" ClosedDate="2018-09-29T04:10:39.583" ContentLicense="CC BY-SA 4.0" />
  <row Id="14114" PostTypeId="2" ParentId="14113" CreationDate="2018-09-25T13:01:26.767" Score="0" Body="&lt;p&gt;If you want to do it one by one, use the &lt;code&gt;publish:itemProcessed&lt;/code&gt; event. In there you can get the item that was just published and ship its properties over to your SQL server.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;code&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ItemProcessed(object sender, EventArgs args)&#xA;{&#xA;    var itemProcessedEventArgs = args as ItemProcessedEventArgs;&#xA;&#xA;    if (itemProcessedEventArgs == null || ID.IsNullOrEmpty(itemProcessedEventArgs?.Context?.ItemId)) return;&#xA;&#xA;    var db = Sitecore.Configuration.Factory.GetDatabase(&quot;web&quot;);&#xA;    var item  = db.GetItem(itemProcessedEventArgs.Context.ItemId);&#xA;&#xA;    if (item == null) return;&#xA;&#xA;    var model = new MyPropeerties&#xA;    {&#xA;        Path = item.Paths.FullPath,&#xA;        Name = item.Appearance.DisplayName,&#xA;        CustomField = item[&quot;MyCustomField&quot;]&#xA;    };&#xA;&#xA;    DoSomeSQLWork(model);&#xA;}&#xA;&#xA;public void DoSomeSQLWork(MyPropeerties model)&#xA;{&#xA;    // Make you SQL call with your model data&#xA;}&#xA;&#xA;public class MyPropeerties&#xA;{&#xA;    public string Path { get; set; }&#xA;    public string Name { get; set; }&#xA;    public string CustomField { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;config&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:itemProcessed&quot;&amp;gt;&#xA;   &amp;lt;handler type=&quot;My.Assembly.Namespace.ItemProcessedProcessor, My.Assembly&quot; method=&quot;ItemProcessed&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-09-26T18:52:44.160" LastActivityDate="2018-09-26T18:52:44.160" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14115" PostTypeId="1" CreationDate="2018-09-25T14:06:52.187" Score="1" ViewCount="140" Body="&lt;p&gt;As I am trying to check Profile Definitions under Global resources in Commerce Server Manager and getting webpage not found 404 for all objects Address,User Object... so on.&#xA;After going through multiple threads faced the similar issue found following at&#xA;&lt;a href=&quot;https://www.bugdebugzone.com/2016/09/sitecore-commerce-server-manager.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.bugdebugzone.com/2016/09/sitecore-commerce-server-manager.html&lt;/a&gt;&#xA;Tried above approach but still it fails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qRbmi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qRbmi.png&quot; alt=&quot;Commerce Server Manager&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Is there any other reasons that is causing &quot;web page 404 not found&quot;?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If it is, Please post the source that I can go through.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eYYZ0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eYYZ0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&amp;amp;Regards.&lt;/p&gt;&#xA;" OwnerUserId="4357" LastEditorUserId="4357" LastEditDate="2018-09-25T14:13:21.653" LastActivityDate="2024-03-28T10:01:25.137" Title="Commerce server manager Profile definitions return 404 webpage" Tags="|sitecore-commerce|commerce-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14119" PostTypeId="2" ParentId="14102" CreationDate="2018-09-25T15:05:46.293" Score="4" Body="&lt;p&gt;Sorry for providing a single line answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what i did to get the optimization done :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my question, I had mentioned about the BundeOptimizations which I had created inheriting HttpRequesProcessor and placing the same in the httpRequestBegin. So while I was investigaing on the same I came across the show config which has the following registered in the preprocess request :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.FXM.Pipelines.PreProcessRequest.HandleBundleRequest, Sitecore.FXM&quot; resolve=&quot;true&quot; patch:source=&quot;Sitecore.FXM.Bundle.config&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And when i decompiled the code, I could see that they were registering the bundles in this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I tried to implement my optimization code inside the preprocess request as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BundleOptimizations : PreprocessRequestProcessor&#xA;{    &#xA;        public override void Process(PreprocessRequestArgs args)&#xA;        {            &#xA;            EnableOptimizations();&#xA;        }       &#xA;&#xA;        public static void EnableOptimizations()&#xA;        {&#xA;          var debugMode = HttpContext.Current.Request.QueryString[&quot;debug&quot;];&#xA;          if (!string.IsNullOrEmpty(debugMode) &amp;amp;&amp;amp; string.Equals(debugMode, &quot;true&quot;, StringComparison.InvariantCultureIgnoreCase))&#xA;          {&#xA;              BundleTable.EnableOptimizations = false;&#xA;          }&#xA;          else&#xA;          {&#xA;              BundleTable.EnableOptimizations = true;&#xA;          }&#xA;&#xA;        }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then updated the same in preprocessrequest config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;preprocessRequest&amp;gt;&#xA;    &amp;lt;processor type=&quot;Project.Foundation.Assets.App_Start.BundleOptimizations, Project.Foundation.Assets&quot; /&amp;gt;&#xA;&amp;lt;/preprocessRequest&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then i tried to add the URL with ?debug =true in it and it worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="950" LastEditorUserId="950" LastEditDate="2018-09-26T05:56:20.123" LastActivityDate="2018-09-26T05:56:20.123" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14121" PostTypeId="1" CreationDate="2018-09-25T17:05:10.183" Score="0" ViewCount="988" Body="&lt;p&gt;I've been working on an integration of logging in users in Sitecore via Federated Authentication with Identity Server 4 based on Open ID.  Unfortunately I've followed every recommendation I could follow so far, but I'm getting a strange error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;16592 12:08:38 WARN  Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationMiddleware - The state field is missing or invalid.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I've research Open Id using this as a reference: &lt;a href=&quot;https://docs.microsoft.com/en-gb/azure/active-directory/develop/v1-protocols-openid-connect-code&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-gb/azure/active-directory/develop/v1-protocols-openid-connect-code&lt;/a&gt; and discovered the state is a field that is typically uniquely generated.  I assume this should have on the sign in request that Sitecore makes to the Authority for a Sign-In request.  My assumption is that Sitecore generates this request behind the scenes, but any idea why the State is not being generated?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A little sampling of my current configuration:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;p&gt;&#xA;    &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;owin.identityProviders&amp;gt;&#xA;            &amp;lt;processor type=&quot;Site.Foundation.Identity.Processor.SitecoreIdentityServerProvider, Site.Foundation&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/owin.identityProviders&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&#xA;    &amp;lt;federatedAuthentication&amp;gt;&#xA;        &amp;lt;identityProvidersPerSites hint=&quot;list:AddIdentityProvidersPerSites&quot;&amp;gt;&#xA;            &amp;lt;!--The list of providers assigned to all sites--&amp;gt;&#xA;            &amp;lt;mapEntry name=&quot;all websites&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                    &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;                &amp;lt;/sites&amp;gt;&#xA;                &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;                    &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='SitecoreIdentityServer']&quot; /&amp;gt;&#xA;                &amp;lt;/identityProviders&amp;gt;&#xA;                &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                    &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;                &amp;lt;/externalUserBuilder&amp;gt;&#xA;            &amp;lt;/mapEntry&amp;gt;&#xA;&#xA;        &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;        &amp;lt;identityProviders&amp;gt;&#xA;            &amp;lt;identityProvider id=&quot;SitecoreIdentityServer&quot; type=&quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;                &amp;lt;param desc=&quot;domainManager&quot; type=&quot;Sitecore.Abstractions.BaseDomainManager&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;                &amp;lt;caption&amp;gt;Log in with Identity Server&amp;lt;/caption&amp;gt;&#xA;                &amp;lt;icon&amp;gt;/sitecore/shell/themes/standard/Images/24x24/bas.png&amp;lt;/icon&amp;gt;&#xA;                &amp;lt;domain&amp;gt;sitecore&amp;lt;/domain&amp;gt;&#xA;                &amp;lt;transformations hint=&quot;list:AddTransformation&quot;&amp;gt;&#xA;                    &amp;lt;!--SetIdpClaim transformation--&amp;gt;&#xA;                    &amp;lt;transformation name=&quot;set idp claim&quot; ref=&quot;federatedAuthentication/sharedTransformations/setIdpClaim&quot; /&amp;gt;&#xA;                &amp;lt;/transformations&amp;gt;&#xA;            &amp;lt;/identityProvider&amp;gt;&#xA;        &amp;lt;/identityProviders&amp;gt;&#xA;        &amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;                &amp;lt;map name=&quot;email claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                    &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;                        &amp;lt;source name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&quot; /&amp;gt;&#xA;                        &amp;lt;target name=&quot;Email&quot; /&amp;gt;&#xA;                    &amp;lt;/data&amp;gt;&#xA;                &amp;lt;/map&amp;gt;&#xA;                &amp;lt;map name=&quot;email verified&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                    &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;                        &amp;lt;source name=&quot;email_verified&quot; /&amp;gt;&#xA;                        &amp;lt;target name=&quot;EmailVerified&quot; /&amp;gt;&#xA;                    &amp;lt;/data&amp;gt;&#xA;                &amp;lt;/map&amp;gt;&#xA;                &amp;lt;map name=&quot;first name&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                    &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;                        &amp;lt;source name=&quot;given_name&quot; /&amp;gt;&#xA;                        &amp;lt;target name=&quot;FirstName&quot; /&amp;gt;&#xA;                    &amp;lt;/data&amp;gt;&#xA;                &amp;lt;/map&amp;gt;&#xA;                &amp;lt;map name=&quot;middle name&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                    &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;                        &amp;lt;source name=&quot;middle_name&quot; /&amp;gt;&#xA;                        &amp;lt;target name=&quot;MiddleName&quot; /&amp;gt;&#xA;                    &amp;lt;/data&amp;gt;&#xA;                &amp;lt;/map&amp;gt;&#xA;                &amp;lt;map name=&quot;last name&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                    &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;                        &amp;lt;source name=&quot;family_name&quot; /&amp;gt;&#xA;                        &amp;lt;target name=&quot;LastName&quot; /&amp;gt;&#xA;                    &amp;lt;/data&amp;gt;&#xA;                &amp;lt;/map&amp;gt;&#xA;            &amp;lt;/maps&amp;gt;&#xA;        &amp;lt;/propertyInitializer&amp;gt;&#xA;    &amp;lt;/federatedAuthentication&amp;gt;&#xA;&#xA;    &amp;lt;settings&amp;gt;&#xA;        &amp;lt;setting name=&quot;FederatedAuthentication.Enabled&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/setting&amp;gt;&#xA;        &amp;lt;setting name=&quot;IdentityServer.ClientId&quot; value=&quot;identityservertestclient&quot; /&amp;gt;&#xA;        &amp;lt;setting name=&quot;IdentityServer.ClientSecret&quot; value=&quot;client-secret-removed-for-security&quot; /&amp;gt;&#xA;        &amp;lt;!-- connect/authorize --&amp;gt;&#xA;        &amp;lt;setting name=&quot;IdentityServer.Authority&quot; value=&quot;Url-To-The-Identity-Server-Path&quot; /&amp;gt;&#xA;        &amp;lt;setting name=&quot;IdentityServer.MetadataAddress&quot; value=&quot;Url-To-The-Identity-Server-OpenId-Configuration&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;&#xA;    &amp;lt;services&amp;gt;&#xA;        &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseAuthenticationManager, Sitecore.Kernel&quot;&#xA;                  implementationType=&quot;Sitecore.Owin.Authentication.Security.AuthenticationManager, Sitecore.Owin.Authentication&quot;&#xA;                  lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;        &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseTicketManager, Sitecore.Kernel&quot;&#xA;                  implementationType=&quot;Sitecore.Owin.Authentication.Security.TicketManager, Sitecore.Owin.Authentication&quot;&#xA;                  lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;        &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BasePreviewManager, Sitecore.Kernel&quot;&#xA;                  implementationType=&quot;Sitecore.Owin.Authentication.Publishing.PreviewManager, Sitecore.Owin.Authentication&quot;&#xA;                  lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the Middleware script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.IdentityModel.Protocols;&#xA;using Microsoft.Owin.Security.Notifications;&#xA;using Microsoft.Owin.Security.OpenIdConnect;&#xA;using Owin;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Owin.Authentication.Configuration;&#xA;using Sitecore.Owin.Authentication.Pipelines.IdentityProviders;&#xA;using Sitecore.Owin.Authentication.Services;&#xA;using System.Globalization;&#xA;using System.Security.Claims;&#xA;using System.Threading.Tasks;&#xA;&#xA;namespace Site.Foundation.Identity.Processor&#xA;{&#xA;    public class SitecoreIdentityServerProvider : IdentityProvidersProcessor&#xA;    {&#xA;        private readonly FederatedAuthenticationConfiguration _federatedAuthenticationConfiguration;&#xA;        public SitecoreIdentityServerProvider(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration) : base(federatedAuthenticationConfiguration)&#xA;        {&#xA;            _federatedAuthenticationConfiguration = federatedAuthenticationConfiguration;&#xA;        }&#xA;&#xA;        protected override string IdentityProviderName =&amp;gt; &quot;SitecoreIdentityServer&quot;;&#xA;&#xA;        protected override void ProcessCore(IdentityProvidersArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            IdentityProvider provider = this.GetIdentityProvider();&#xA;            string authenticationType = this.GetAuthenticationType();&#xA;&#xA;            args.App.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions&#xA;            {&#xA;                ClientId = Settings.GetSetting(&quot;IdentityServer.ClientId&quot;),&#xA;                Caption = provider.Caption,&#xA;                AuthenticationMode = Microsoft.Owin.Security.AuthenticationMode.Passive,&#xA;                AuthenticationType = authenticationType,&#xA;                //SignInAsAuthenticationType = &quot;Cookies&quot;,&#xA;                Scope = &quot;openid&quot;,&#xA;                UseTokenLifetime = false,&#xA;&#xA;                Authority = Settings.GetSetting(&quot;IdentityServer.Authority&quot;),&#xA;                MetadataAddress = Settings.GetSetting(&quot;IdentityServer.MetadataAddress&quot;),&#xA;                ResponseType = &quot;code id_token&quot;,&#xA;&#xA;                ClientSecret = Settings.GetSetting(&quot;IdentityServer.ClientSecret&quot;),&#xA;&#xA;                Notifications = new OpenIdConnectAuthenticationNotifications()&#xA;                {&#xA;                    SecurityTokenValidated = (context) =&amp;gt; SecurityTokenValidation(context, provider)&#xA;                }&#xA;            });&#xA;        }&#xA;&#xA;        private Task SecurityTokenValidation(SecurityTokenValidatedNotification&amp;lt;OpenIdConnectMessage, OpenIdConnectAuthenticationOptions&amp;gt; context, IdentityProvider provider)&#xA;        {&#xA;            ClaimsIdentity identity = context.AuthenticationTicket.Identity;&#xA;&#xA;            foreach (var claimTransformationService in provider.Transformations)&#xA;            {&#xA;                claimTransformationService.Transform(identity, new TransformationContext(_federatedAuthenticationConfiguration, provider));&#xA;            }&#xA;&#xA;            return Task.CompletedTask;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any thoughts would be greatly appreciated!&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-09-25T17:05:10.183" Title="Identity Server 4 and Sitecore Federated Authentication Error" Tags="|federated-authentication|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14122" PostTypeId="1" CreationDate="2018-09-25T17:09:09.400" Score="2" ViewCount="861" Body="&lt;p&gt;In administration Sitecore 9.0.1, we disabled duplicate items at the same level by setting the &lt;code&gt;AllowDuplicateItemNamesOnSameLevel&lt;/code&gt; option to &lt;strong&gt;false&lt;/strong&gt;. Everything works fine, but when a user attempts to upload a picture that already exists to  media library an error is displayed with wrong (too generic) message. We would like to have better error message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added custom processor similar as &lt;code&gt;Sitecore.Pipelines.Upload.CheckSize&lt;/code&gt; but instead of &lt;code&gt;FileTooBigForUpload&lt;/code&gt; method (which works from my code) I use &lt;code&gt;FileCannotBeUploaded&lt;/code&gt;. Unfortunately this is causing some exception in UploadMediaForm.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CheckDuplicitySaveUploadProcessor : UploadProcessor&#xA;    {&#xA;        public void Process(UploadArgs args)&#xA;        {                                  &#xA;          foreach (string index in args.Files) {&#xA;              HttpPostedFile file = args.Files[index];&#xA;              if (string.IsNullOrEmpty(file?.FileName))&#xA;              {&#xA;                  continue;&#xA;              }     &#xA;              //args.UiResponseHandlerEx.FileTooBigForUpload(file.FileName); //this is OK&#xA;              args.UiResponseHandlerEx.FileCannotBeUploaded(file.FileName, &quot;File  exist.&quot;); //exception&#xA;              return;              &#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pXCnj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pXCnj.png&quot; alt=&quot;File too big &quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/slbcS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/slbcS.png&quot; alt=&quot;File cannot be uploaded&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Method &quot;ShowUploadError&quot; not found in Sitecore.Shell.Applications.Media.UploadMedia.UploadMediaForm. (method: Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command)).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[Exception: Method &quot;ShowUploadError&quot; not found in Sitecore.Shell.Applications.Media.UploadMedia.UploadMediaForm. (method: Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command)).]&#xA;     Sitecore.Diagnostics.Error.Raise(String error, String method) +133&#xA;     Sitecore.Shell.Framework.Commands.CommandManager.GetMethodCommand(String command) +1129&#xA;     Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command) +35&#xA;     Sitecore.Web.UI.Sheer.ClientPage.RaiseEvent() +124&#xA;     Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +801&#xA;     System.Web.UI.Control.PreRenderRecursiveInternal() +162&#xA;     System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6875&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But when I disassemble Sitecore.Client 11.1.0.0 I can see protected void ShowUploadError(string reason, string fileName) method defined.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Globalization;&#xA;using Sitecore.Text;&#xA;using Sitecore.Web;&#xA;using Sitecore.Web.UI.Pages;&#xA;using Sitecore.Web.UI.Sheer;&#xA;using Sitecore.Web.UI.XmlControls;&#xA;using System;&#xA;&#xA;namespace Sitecore.Shell.Applications.Media.UploadMedia&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;Represents a UploadMediaForm.&amp;lt;/summary&amp;gt;&#xA;    public class UploadMediaForm : DialogForm&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&amp;lt;/summary&amp;gt;&#xA;        protected GenericControl ItemUri;&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Raises the load event.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;e&quot;&amp;gt;The &amp;lt;see cref=&quot;T:System.EventArgs&quot; /&amp;gt; instance containing the event data.&amp;lt;/param&amp;gt;&#xA;        protected override void OnLoad(EventArgs e)&#xA;        {&#xA;            base.OnLoad(e);&#xA;            if (Context.ClientPage.IsEvent || Context.ClientPage.IsPostBack)&#xA;                return;&#xA;            Item obj = Database.GetItem(Sitecore.Data.ItemUri.ParseQueryString(Context.ContentDatabase));&#xA;            if (obj == null)&#xA;                return;&#xA;            this.ItemUri.Attributes[&quot;value&quot;] = obj.Uri.ToString();&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Handles a click on the OK button.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;remarks&amp;gt;When the user clicks OK, the dialog is closed by calling&#xA;        /// the &amp;lt;see cref=&quot;M:Sitecore.Web.UI.Sheer.ClientResponse.CloseWindow&quot;&amp;gt;CloseWindow&amp;lt;/see&amp;gt; method.&amp;lt;/remarks&amp;gt;&#xA;        protected override void OnOK(object sender, EventArgs args)&#xA;        {&#xA;            string str = Context.ClientPage.ClientRequest.Form[&quot;File&quot;];&#xA;            if (str == null || str.Trim().Length == 0)&#xA;            {&#xA;                SheerResponse.Alert(&quot;Specify a file to upload.&quot;, Array.Empty&amp;lt;string&amp;gt;());&#xA;            }&#xA;            else&#xA;            {&#xA;                this.OK.Disabled = true;&#xA;                this.Cancel.Disabled = true;&#xA;                Context.ClientPage.ClientResponse.Timer(&quot;StartUploading&quot;, 10);&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Shows the error.&amp;lt;/summary&amp;gt;&#xA;        protected void ShowError()&#xA;        {&#xA;            SheerResponse.Alert(&quot;An error occured while uploading a file .\n\nThe reason may be that the file does not exist or the path is wrong.&quot;, Array.Empty&amp;lt;string&amp;gt;());&#xA;            this.OK.Disabled = true;&#xA;            this.Cancel.Disabled = true;&#xA;            this.OK.Disabled = false;&#xA;            this.Cancel.Disabled = false;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Starts the uploading.&amp;lt;/summary&amp;gt;&#xA;        protected void StartUploading()&#xA;        {&#xA;            Context.ClientPage.ClientResponse.Eval(&quot;submit()&quot;);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Ends the uploading.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;id&quot;&amp;gt;The id.&amp;lt;/param&amp;gt;&#xA;        protected void EndUploading(string id)&#xA;        {&#xA;            if (id.Length &amp;gt; 0 &amp;amp;&amp;amp; WebUtil.GetQueryString(&quot;edit&quot;) == &quot;1&quot;)&#xA;            {&#xA;                UrlString urlString = new UrlString(&quot;/sitecore/shell/Applications/Content Manager/default.aspx&quot;);&#xA;                urlString[&quot;fo&quot;] = id;&#xA;                urlString[&quot;mo&quot;] = &quot;popup&quot;;&#xA;                urlString[&quot;wb&quot;] = &quot;0&quot;;&#xA;                urlString[&quot;pager&quot;] = &quot;0&quot;;&#xA;                urlString[State.Client.UsesBrowserWindowsQueryParameterName] = WebUtil.GetQueryString(State.Client.UsesBrowserWindowsQueryParameterName, &quot;0&quot;);&#xA;                Context.ClientPage.ClientResponse.ShowModalDialog(urlString.ToString(), string.Equals(Context.Language.Name, &quot;ja-jp&quot;, StringComparison.InvariantCultureIgnoreCase) ? &quot;1115&quot; : &quot;955&quot;, &quot;560&quot;);&#xA;            }&#xA;            SheerResponse.SetDialogValue(id);&#xA;            base.OnOK((object)this, EventArgs.Empty);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Shows the fle too bid.&amp;lt;/summary&amp;gt;&#xA;        protected void ShowFileTooBig()&#xA;        {&#xA;            SheerResponse.Alert(Translate.Text(&quot;The file is too big to be uploaded.\n\nThe maximum size of a file that can be uploaded is {0}.&quot;, (object)MainUtil.FormatSize(Settings.Upload.MaximumDatabaseUploadSize)), Array.Empty&amp;lt;string&amp;gt;());&#xA;            this.OK.Disabled = true;&#xA;            this.Cancel.Disabled = true;&#xA;            this.OK.Disabled = false;&#xA;            this.Cancel.Disabled = false;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Shows the file too big.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;filename&quot;&amp;gt;The filename.&amp;lt;/param&amp;gt;&#xA;        protected void ShowFileTooBig(string filename)&#xA;        {&#xA;            Assert.ArgumentNotNullOrEmpty(filename, nameof(filename));&#xA;            SheerResponse.Alert(Translate.Text(&quot;The file \&quot;{0}\&quot; is too big to be uploaded.\n\nThe maximum size of a file that can be uploaded is {1}.&quot;, (object)filename, (object)MainUtil.FormatSize(Settings.Upload.MaximumDatabaseUploadSize)), Array.Empty&amp;lt;string&amp;gt;());&#xA;            this.OK.Disabled = true;&#xA;            this.Cancel.Disabled = true;&#xA;            this.OK.Disabled = false;&#xA;            this.Cancel.Disabled = false;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Shows the upload error.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;reason&quot;&amp;gt;Reason.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;fileName&quot;&amp;gt;File name.&amp;lt;/param&amp;gt;&#xA;        protected void ShowUploadError(string reason, string fileName)&#xA;        {&#xA;            SheerResponse.Alert(Translate.Text(string.Format(&quot;The \&quot;{0}\&quot; file cannot be uploaded.\n {1}&quot;, (object)fileName, (object)reason)), Array.Empty&amp;lt;string&amp;gt;());&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2118" LastEditorUserId="605" LastEditDate="2018-09-26T07:40:49.893" LastActivityDate="2019-09-17T16:02:10.313" Title="Sitecore UploadProcessor causing error in UploadMediaForm" Tags="|sitecore-client|admin-pages|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14125" PostTypeId="2" ParentId="14115" CreationDate="2018-09-25T20:20:53.940" Score="0" Body="&lt;p&gt;The blog you mentioned almost certainly has the correct solution. Make sure there is a website in IIS that is reachable via localhost and that has the widgets virtual directory, and that should solve it.&lt;/p&gt;&#xA;" OwnerUserId="1749" LastActivityDate="2018-09-25T20:20:53.940" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14126" PostTypeId="1" AcceptedAnswerId="14777" CreationDate="2018-09-25T20:36:50.843" Score="1" ViewCount="138" Body="&lt;p&gt;This is a followup to this question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13747/sitecore-commerce-member-type-pricing&quot;&gt;Sitecore Commerce Member Type Pricing&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to vary pricing by member type as well as by geography. I started going down the road of attempting to use price cards to provide functionality. I would create different pricing cards and then figure out how to assign the pricing card given the context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my initial import, I come up with 220 different price cards. I think this would be impossible for merchandisers to work with. Do we go to a card per product per pricing attribute; which would create more price cards, but make them more identifiable to a user? There is no search that I see in the price card section, so I think this would still be difficult.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could add an Entity View on sellable items that would have additional pricing attributes. I think that would work OK for one currency, but this is a customer that wants to sell in multiple currencies. Also, I think if we did this, we basically would have to not use pricing cards at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone ever tried to override the List Price component to include pricing attributes? Or overriding PriceTier in PricingSnapshot Component?&lt;/p&gt;&#xA;" OwnerUserId="2068" LastEditorUserId="73" LastEditDate="2018-09-26T09:26:24.417" LastActivityDate="2018-11-07T00:26:45.600" Title="Varying pricing by member types" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14127" PostTypeId="1" CreationDate="2018-09-26T02:14:23.893" Score="2" ViewCount="590" Body="&lt;p&gt;After the successful install of the Sitecore XC 9.0.2. I get the store homepage same as the Sitecore CMS. &#xA;Not sure if this has to do with port binding. &#xA;I will really appreciate if some expert can help me out with this issue.&#xA;Screenshots of the issue are attached below.&lt;a href=&quot;https://i.stack.imgur.com/3Gj3o.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Gj3o.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jg3kv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jg3kv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t4Jmo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t4Jmo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4359" LastEditorUserId="2727" LastEditDate="2018-10-27T16:23:28.620" LastActivityDate="2020-08-19T11:06:45.660" Title="After XC 9.0.2 install, Store home page shows Default Sitecore CMS page" Tags="|sitecore-commerce|installation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14128" PostTypeId="1" AcceptedAnswerId="14189" CreationDate="2018-09-26T04:52:37.627" Score="3" ViewCount="316" Body="&lt;p&gt;I'm working on creating a custom promotion. Our site sells theme park &amp;amp; hotel tickets online.&#xA;The business scenario is - 20% off, if the visit date is 3 months from today.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The user can add both theme park &amp;amp; hotel tickets to the cart simultaneously.&lt;br&gt;&#xA;The cart line items like customerid, externalcartid, product id, variant id and checkin/out dates are stored in a custom database as soon user adds the items to the cart.&#xA;Let's assume, that the author has added items in the &lt;code&gt;TargetItemId&lt;/code&gt; fields of &quot;items&quot; &amp;amp; &quot;qualifications&quot; tabs of pricing &amp;amp; promotions manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my code for the condition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[EntityIdentifier(&quot;Advance Month Booking&quot;)]&#xA;public class AdvanceMonthBookingCondition : ICartsCondition, ICondition, IMappableRuleEntity&#xA;{&#xA;    public IRuleValue&amp;lt;int&amp;gt; MonthsInAdvanceToVisitDate { get; set; }             &#xA;&#xA;    public bool Evaluate(IRuleExecutionContext context)&#xA;    {&#xA;        CommerceContext commerceContext = context.Fact&amp;lt;CommerceContext&amp;gt;((string)null);&#xA;        bool isPromoApplicable = false;&#xA;        string cartID = string.Empty;&#xA;&#xA;        try&#xA;        {&#xA;            if (commerceContext != null)&#xA;            {&#xA;                var promotionModel = (commerceContext.Objects.OfType&amp;lt;Promotion&amp;gt;()).FirstOrDefault(); //The result is null here.&#xA;                List&amp;lt;Cart&amp;gt; lstCarts = commerceContext.GetObjects&amp;lt;Cart&amp;gt;();&#xA;&#xA;                if (lstCarts != null &amp;amp;&amp;amp; lstCarts.Count &amp;gt; 0)&#xA;                {&#xA;                    Cart cart = lstCarts[0];&#xA;                    cartID = cart != null ? cart.Id : string.Empty;&#xA;&#xA;                    if (!string.IsNullOrEmpty(cartID))&#xA;                    {&#xA;                        int monthsInAdvance = 0;&#xA;&#xA;                        if (int.TryParse(Convert.ToString(MonthsInAdvanceToVisitDate.Yield(context)), out monthsInAdvance) &amp;amp;&amp;amp; monthsInAdvance &amp;gt;= 1)&#xA;                        {&#xA;                            //get details from custom database&#xA;                            DataTable dt = GetCartDates(commerceContext.CurrentShopperId(), cartID);&#xA;&#xA;                            //loop through the datatable and check if the specified product is there in cart and is in eligible date range&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            throw ex;               &#xA;        }&#xA;&#xA;        return isPromoApplicable;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would like to know, how I can access the promotion properties here. Mainly the &lt;code&gt;TargetItemIds&lt;/code&gt; specified while adding the promotion in pricing &amp;amp; promotions manager.&#xA;So, that I can check if the same are available in the line items and they have a valid date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, there are two targetItemId fields - one in items tab and another in qualifications tab, where author can set IDs. Which is to be used when?&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-09-28T04:27:03.600" LastActivityDate="2018-10-01T11:24:19.713" Title="How to access Promotion properties" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14129" PostTypeId="1" AcceptedAnswerId="14142" CreationDate="2018-09-26T06:47:33.460" Score="3" ViewCount="2449" Body="&lt;p&gt;Hey guys I've been working on a site under VS 2017 and sitecore 8.2 with TDS 5.7. I need to work on a different site that's running sitecore 8.1 with TDS 5.5, so I installed VS 2015 in order to install that TDS version, however when I'm trying to deploy I'm getting this error&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The IDE is using tasks in C:\Program Files&#xA;  (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.Tasks.dll.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The Build is using tasks in&#xA;  packages\HedgehogDevelopment.TDS.5.5.0.15\build\HedgehogDevelopment.SitecoreProject.Tasks.dll&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;That dll is version 5.7, Is there a way I can use both versions at the same time? or should I just uninstall the 5.7 in order to use 5.5?&lt;/p&gt;&#xA;" OwnerUserId="1166" LastActivityDate="2018-09-26T11:34:34.730" Title="How to use different versions of TDS" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14130" PostTypeId="1" AcceptedAnswerId="14294" CreationDate="2018-09-26T07:08:26.157" Score="1" ViewCount="709" Body="&lt;p&gt;Sitecore 8.2 update 7, Exm 3.5&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the EDS log we see this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MessageTaskRunner worker thread 4 11:10:59 ERROR SendEmailError: ChilkatLog:&#xA;SendEmail:&#xA;DllDate: Aug 31 2017&#xA;ChilkatVersion: 9.5.0.69&#xA;UnlockPrefix: SITECO.EMX082018&#xA;Architecture: Little Endian; 64-bit&#xA;Language: .NET 4.5 / x64&#xA;VerboseLogging: 0&#xA;sendEmailInner:&#xA;  renderToMime:&#xA;    createEmailForSending:&#xA;      Auto-generating Message-ID&#xA;      cloneWithReplacements:&#xA;        Replacing [-1123963804] with [cid:CID-33dbc438-3df6-4f28-bebd-493db5d47ac3@SITECORECM]&#xA;      --cloneWithReplacements&#xA;    --createEmailForSending&#xA;    renderToMime: Elapsed time: 0 millisec&#xA;  --renderToMime&#xA;  sendMimeInner:&#xA;    progressTotal: 69483&#xA;    ensureSmtpSession:&#xA;      ensureSmtpConnection:&#xA;        SmtpHost: 10.6.90.112&#xA;        SmtpPort: 25&#xA;        SmtpUsername: Anonymous&#xA;        SmtpSsl: 0&#xA;        StartTLS: 0&#xA;        smtpConnect:&#xA;          smtpHostname: 10.6.90.112&#xA;          smtpPort: 25&#xA;          connectionIsReady:&#xA;            Need new SMTP connection&#xA;          --connectionIsReady&#xA;          smtpSocketConnect:&#xA;            socket2Connect:&#xA;              connect2:&#xA;                ConnectFailReason: Connection rejected&#xA;                A few possible causes for a connection being rejected are:&#xA;                - A firewall (software or hardware), such as Windows Firewall, is blocking the connection .&#xA;                - Nothing is listening at the remote host:port&#xA;              --connect2&#xA;            --socket2Connect&#xA;            Failed to connect to SMTP server..&#xA;          --smtpSocketConnect&#xA;        --smtpConnect&#xA;      --ensureSmtpConnection&#xA;    --ensureSmtpSession&#xA;  --sendMimeInner&#xA;--sendEmailInner&#xA;Failed.&#xA;--SendEmail&#xA;--ChilkatLog&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4080" LastEditorUserId="4080" LastEditDate="2018-10-05T13:21:18.037" LastActivityDate="2018-10-05T21:10:15.417" Title="exm error pauses the sending of letters" Tags="|exm|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14133" PostTypeId="2" ParentId="14122" CreationDate="2018-09-26T07:38:41.750" Score="0" Body="&lt;p&gt;Following your comment, your requirement is to enable multiple file upload. Currently from the screenshot provided, it is using the Classic Upload. You can change the below setting to &lt;code&gt;false&lt;/code&gt; to enable the flash upload.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  UPLOAD CLASSIC&#xA;        Indicates if uploading runs in classic (no flash) mode.&#xA;        Default: false&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;Upload.Classic&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The default value is &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then the code you have implemented will work except that you need to add the property &lt;code&gt;ErrorText&lt;/code&gt; so that the tooltip, when hovering, shows the message. Also, you need to abort the pipeline, else it will continue through all the processors. Below is the code amendment&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CheckDuplicitySaveUploadProcessor : Sitecore.Pipelines.Upload.UploadProcessor&#xA;{&#xA;    public void Process(Sitecore.Pipelines.Upload.UploadArgs args)&#xA;    {&#xA;        foreach (string index in args.Files)&#xA;        {&#xA;            HttpPostedFile file = args.Files[index];&#xA;            if (string.IsNullOrEmpty(file?.FileName))&#xA;            {&#xA;                continue;&#xA;            }&#xA;&#xA;            //args.UiResponseHandlerEx.FileTooBigForUpload(file.FileName); //this is OK&#xA;&#xA;            args.UiResponseHandlerEx.FileCannotBeUploaded(file.FileName, &quot;File  exist.&quot;); //exception&#xA;            args.ErrorText = $&quot;The file \&quot;{file.FileName}\&quot; already exists.&quot;;&#xA;            args.AbortPipeline();&#xA;&#xA;            return;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that in the code, it is not checking if the file name already exist which I assume you'll implement it later.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the screenshot of how the window will appear when the user hovers on the tooltip.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KK0lr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KK0lr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-09-26T07:44:36.203" LastActivityDate="2018-09-26T07:44:36.203" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14134" PostTypeId="1" CreationDate="2018-09-26T07:52:08.800" Score="1" ViewCount="548" Body="&lt;p&gt;While using SXA v1.7.1 in the experience editor we sometimes were getting plagued by this exception after attempting to edit the style/grid parameters of a rendering on the page. It appears that some sort of double encoding is occuring when the layout details are being posted back to Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). Actual value: %7B113BEF7C-97E6-46CA-8CF3-916F7FAA8DE2%7D]&#xA;   Sitecore.Data.ID..ctor(String id) +207&#xA;   Sitecore.Data.ID.Parse(String value) +59&#xA;   System.Linq.WhereSelectArrayIterator`2.MoveNext() +145&#xA;   System.Linq.WhereEnumerableIterator`1.MoveNext() +124&#xA;   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +436&#xA;   System.Linq.Enumerable.ToList(IEnumerable`1 source) +69&#xA;   Sitecore.XA.Foundation.Grid.Commands.ShowGridPropertiesDialog.FillGridParameters(NameValueCollection contextParameters, DeviceDefinition device, NameValueCollection parameters, String fieldName, String value) +551&#xA;   Sitecore.XA.Foundation.Grid.Commands.ShowGridPropertiesDialog.UpdateLayout(NameValueCollection contextParameters, FieldEditorOptions fieldEditorOptions) +893&#xA;   Sitecore.XA.Foundation.Grid.Commands.ShowGridPropertiesDialog.Run(ClientPipelineArgs args) +160&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have implemented a temporary workaround by overriding the ShowGridPropertiesDialog command and checking each guid and decoding it if required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a bug?&lt;/p&gt;&#xA;" OwnerUserId="495" LastActivityDate="2018-09-26T07:52:08.800" Title="SXA Grid Parameters: Guid should contain 32 digits with 4 dashes" Tags="|sxa|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14135" PostTypeId="2" ParentId="13962" CreationDate="2018-09-26T07:53:47.890" Score="1" Body="&lt;p&gt;Add Apply Mapping pipeline step to take parent id and set to child.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HPmwT.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HPmwT.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuration for Apply Mapping&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LQnIQ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LQnIQ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuration for Apply Mapping for Parent Id&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LigMu.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LigMu.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the apply mapping for parent Id you can accessing to the parent object selection &lt;strong&gt;Pipeline Context Parent Source&lt;/strong&gt; and assign corresponded Mapping Set configuration.  &lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-09-26T07:53:47.890" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14136" PostTypeId="1" AcceptedAnswerId="14137" CreationDate="2018-09-26T08:17:44.573" Score="2" ViewCount="114" Body="&lt;p&gt;I can not find any describtion of a XC9 Sales Activity. What is a XC9 Sales Activity exactly?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-09-26T08:17:44.573" Title="XC9 Sales Activity definiton" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14137" PostTypeId="2" ParentId="14136" CreationDate="2018-09-26T08:17:44.573" Score="2" Body="&lt;p&gt;I got a quick and elaborate answer from Rob Earlam on Slack:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;I asked the same question to the Product team a while back and got this response.......&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A SalesActivity represents an instance of a charge or credit that occurs related to an Order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you provide your payment information and place the order, it is often the case that the actual charge to your payment instrument doesn't occur right away.&#xA;We return back the Order confirmation and process the payment asynchronously (after validating in the PendingOrders minion, that the item can actually be delivered).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This may be due to buying a backorder or preorder or some other situation (fraud alert, inventory issue, etc) which causes you to delay settling the charge.&#xA;When the order is settled, a SalesActivity is generated, representing that charge.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also often the case where multiple SalesActivities are generated during the lifecycle of an Order.&#xA;For example, if the order is split and charges are done at two different times, a SalesActivity is generated, when each Order piece is fulfilled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also possible to have a negative SalesActivity.  If an Order is placed and then the customer subsequently returns all of some of the items in the order, when the customer is refunded, a SalesActivity with a negative number is generated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These can be thought of as Debits and Credits in a Ledger and represents the history of charges/credits related to a specific order.&#xA;The sum of the SalesActivities should match the GrandTotal of the Order.&quot;&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-09-26T08:17:44.573" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14138" PostTypeId="1" AcceptedAnswerId="14807" CreationDate="2018-09-26T09:30:03.680" Score="17" ViewCount="2605" Body="&lt;p&gt;We are having serious issues in the startup (boot) time of our application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After carefull investigation we have discovered that the most time is consumed by first-time-visit compilation of the cshtml files. This compilation can take up to 50 seconds per cshtml file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use Helix architecture with a lot of components. The combination of all those compilations takes ages and it can take up between 20 and 30 minutes for the site to boot. Once all cshtml have been hit once, the site speed and performance is ok.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: this cshtml takes 43 seconds to compile!&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@inherits System.Web.Mvc.WebViewPage&#xA;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;Feature.PageLayout.Models.PageSectionViewModel&amp;gt;&#xA;&#xA;@{&#xA;var sectionClasses = Model.Presentation.BackgroundColor != null ? Model.Presentation.BackgroundColor.CssClass : &quot;&quot;;&#xA;}&#xA;&#xA;&amp;lt;section class=&quot;section-box @sectionClasses&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;container&quot;&amp;gt;&#xA;        @Html.Sitecore().DynamicPlaceholder(&quot;pagelayout-pagesection&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/section&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have tried to precompile our cshtml files. This was a major difference and we had the site cold started in under 3 minutes. Unfortunatly, we can only precompile our own code, and we don't have precompiled cshtml and aspx from Sitecore, causing the platform not to work giving the error that those pages are not precompiled. (e.g. login page, experience editor, ...) So precompilation is out of the option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On IaaS platforms, we do not experience this compilation time of cshtml taking up so much time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question: Did anyone experience the same kind of issues? Are there any settings in Azure PaaS that we are missing?&lt;/p&gt;&#xA;" OwnerUserId="3675" LastEditorUserId="312" LastEditDate="2018-11-06T19:55:08.567" LastActivityDate="2021-06-23T22:21:04.097" Title="Slow cshtml compilation on Azure WebApps" Tags="|azure|performance|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14139" PostTypeId="2" ParentId="14075" CreationDate="2018-09-26T09:45:54.470" Score="3" Body="&lt;p&gt;First of all, the above links (in the question) do not work anymore. Any inline js is removed on several levels and so it's extremely difficult to handle all of them without making your upgrade process a nightmare!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I managed to find a workaround, by reversing the logic:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set the &lt;code&gt;HtmlEditor.RemoveScripts&lt;/code&gt; value to false. So js is never removed&lt;/li&gt;&#xA;&lt;li&gt;Use one of the links above (in the question) to override &lt;code&gt;Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration&lt;/code&gt; and add your logic to always enable the &lt;code&gt;RemoveScripts&lt;/code&gt; filter (which removes inline js) except for certain templates to keep the filter disabled.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This workaround has the downside of having the &lt;code&gt;HtmlEditor.RemoveScripts&lt;/code&gt; setting value as &lt;code&gt;false&lt;/code&gt;, however Sitecore would function as if it was &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-09-26T09:45:54.470" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14140" PostTypeId="1" AcceptedAnswerId="14202" CreationDate="2018-09-26T10:25:01.290" Score="1" ViewCount="613" Body="&lt;p&gt;How to find entity by &lt;code&gt;sitecoreId&lt;/code&gt; ?&#xA;When I query for all categories, return model looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;            &quot;CompositeKey&quot;: null,&#xA;            &quot;CreatedBy&quot;: &quot;sitecore\\Admin&quot;,&#xA;            &quot;UpdatedBy&quot;: &quot;sitecore\\Admin&quot;,&#xA;            &quot;DateCreated&quot;: &quot;2018-09-25T09:43:47.6186016Z&quot;,&#xA;            &quot;DateUpdated&quot;: &quot;2018-09-25T09:44:06.8559231Z&quot;,&#xA;            &quot;DisplayName&quot;: &quot;X&quot;,&#xA;            &quot;FriendlyId&quot;: &quot;X-X&quot;,&#xA;            &quot;Id&quot;: &quot;Entity-Category-X-X&quot;,&#xA;            &quot;Version&quot;: 3,&#xA;            &quot;EntityVersion&quot;: 1,&#xA;            &quot;Published&quot;: false,&#xA;            &quot;IsPersisted&quot;: true,&#xA;            &quot;Name&quot;: &quot;X&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;SitecoreId&quot;: &quot;fa51a9f8-06e3-3400-cf6a-cb8e8dc1ce16&quot;,&#xA;            &quot;CatalogToEntityList&quot;: &quot;2ad5c290-2725-64c8-0658-089ce8ceaef9&quot;,&#xA;            &quot;ParentCatalogList&quot;: &quot;2ad5c290-2725-64c8-0658-089ce8ceaef9&quot;,&#xA;            &quot;ParentCategoryList&quot;: null,&#xA;            &quot;ChildrenCategoryList&quot;: &quot;fb073ff0-bb9a-2d50-38fe-26d8d39da8b4&quot;,&#xA;            &quot;ChildrenSellableItemList&quot;: null,&#xA;            &quot;ItemVariations&quot;: null,&#xA;            &quot;Description&quot;: &quot;&quot;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now i want to load &lt;code&gt;ChildrenCategoryList&lt;/code&gt; or any other list by sitecoreId, however i cannot find any service/action/pipeline for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Category pluginCategory = await _getCategoryCommand.Process(context, category.Id);&lt;/code&gt; where id is   &lt;code&gt;Id = Name.ToCategoryId(ParentCatalogId);&lt;/code&gt;&#xA;this is by name, but i want to do the same by &lt;code&gt;sitecoreId&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4315" LastEditorUserId="4315" LastEditDate="2018-09-26T10:54:48.290" LastActivityDate="2018-10-03T15:04:37.013" Title="Get entity by sitecoreId" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14141" PostTypeId="1" AcceptedAnswerId="14143" CreationDate="2018-09-26T11:10:44.323" Score="2" ViewCount="315" Body="&lt;h2&gt;Introduction&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 9 Update 2 with SXA 1.7.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have implemented &quot;Download Center&quot; using OOTB search components from SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We would like to show &quot;Title&quot; value of Checklist field instead of GUIDs in Search Results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have already created our custom Rendering Variant but it only shows Ids.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Question&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;How we can show value of &quot;Title&quot; field instead of indexed GUIDs in search results?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rhNls.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rhNls.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Setup of solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Custom Template that we have created (inherits Foundation interface template _Searchable + adds new fields):&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zIAcF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zIAcF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have created hierarchy of tags under Data &gt; Tags (we are refering to these from template as can be seen above):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/D5qqq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D5qqq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how it looks like on items itself:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OEVc1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OEVc1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rendering variant for Search Results (same is also for remaining fields):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gXG7h.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gXG7h.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How we should configure this to show Title field instead of GUID?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how the search results look now:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TQKVu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TQKVu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-09-26T11:19:15.800" LastActivityDate="2018-09-26T11:54:18.853" Title="Checklist field value in Search Results in SXA" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14142" PostTypeId="2" ParentId="14129" CreationDate="2018-09-26T11:34:34.730" Score="3" Body="&lt;p&gt;As your error shows, there are shared files in your MS Build folder where TDS drops some of its install, so while it usually appears like it is being installed per Visual Studio version, there is actually a small set of files being used by all versions of Visual Studio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the past, I have used the 'latest' version as they are usually backwards compatible, but sometimes it will make changes to the XML of the TDS project files that are unwanted. I would recommend installing v5.7 for VS 2015 and seeing what types of changes it tries to make to your solution right away. If they are minimal, you might find it to be easier to work that way.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-09-26T11:34:34.730" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14143" PostTypeId="2" ParentId="14141" CreationDate="2018-09-26T11:54:18.853" Score="3" Body="&lt;p&gt;You can use a &lt;code&gt;Reference&lt;/code&gt; in your variant.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Reference&lt;/strong&gt;: displays field from referenced item. If you want to display&#xA;  a field from a referenced item, you can define this field in the&#xA;  PassThroughField. You can use this variant field for the following&#xA;  fields: LinkField (GeneralLink, DropLink), FileField (File),&#xA;  ImageField (Image), and ReferenceField (Droptree). Reference items can&#xA;  contain have another reference item as its child item. This can be&#xA;  convenient when you want to create a tree of reference items and&#xA;  display fields from items which are referenced in referenced items.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Although the official doc (as above) don't mention you fieldtypes, I just tested with a CheckList field and that worked just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So: create in your variant definition a child of type &quot;Reference&quot;. And underneath the reference, a child of type &quot;Field&quot;. In the reference item pass the fieldname from your item (e.g. &quot;Topic&quot;) and in the field item use the fienldname of the topic template (probably &quot;Title&quot;).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-09-26T11:54:18.853" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14144" PostTypeId="1" CreationDate="2018-09-26T12:02:18.233" Score="4" ViewCount="1081" Body="&lt;p&gt;We have recommendation from our seo team to use image format like jpeg 2000, jpeg XR, webp but when we try to upload Jpeg 2000 image with extension .jp2, sitecore not taking as image format instead it takes as file.&#xA;Are we missing any configuration to support these image format?&lt;/p&gt;&#xA;" OwnerUserId="4363" LastEditorUserId="70" LastEditDate="2018-09-26T17:14:21.507" LastActivityDate="2022-03-17T15:30:03.093" Title="Will Sitecore support Jpeg 2000 , Jpeg XR, webp image format by default?" Tags="|media-library|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14145" PostTypeId="2" ParentId="14144" CreationDate="2018-09-26T12:37:49.943" Score="2" Body="&lt;p&gt;welcome to SSE. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore to recognize a &lt;code&gt;.jp2&lt;/code&gt; extension, you would need to set that up in the configuration of the media types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box, the &lt;code&gt;jpeg&lt;/code&gt; configuration is like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaType name=&quot;JPEG image&quot; extensions=&quot;jpg, jpeg, jpe, jfif&quot;&amp;gt;&#xA;    &amp;lt;mimeType&amp;gt;image/jpeg&amp;lt;/mimeType&amp;gt;&#xA;    &amp;lt;forceDownload&amp;gt;false&amp;lt;/forceDownload&amp;gt;&#xA;    &amp;lt;sharedTemplate&amp;gt;system/media/unversioned/jpeg&amp;lt;/sharedTemplate&amp;gt;&#xA;    &amp;lt;versionedTemplate&amp;gt;system/media/versioned/jpeg&amp;lt;/versionedTemplate&amp;gt;&#xA;    &amp;lt;mediaValidator type=&quot;Sitecore.Resources.Media.ImageValidator&quot;/&amp;gt;&#xA;    &amp;lt;thumbnails&amp;gt;&#xA;        &amp;lt;generator type=&quot;Sitecore.Resources.Media.ImageThumbnailGenerator, Sitecore.Kernel&quot;&amp;gt;&#xA;            &amp;lt;extension&amp;gt;png&amp;lt;/extension&amp;gt;&#xA;        &amp;lt;/generator&amp;gt;&#xA;        &amp;lt;width&amp;gt;150&amp;lt;/width&amp;gt;&#xA;        &amp;lt;height&amp;gt;150&amp;lt;/height&amp;gt;&#xA;        &amp;lt;backgroundColor&amp;gt;#FFFFFF&amp;lt;/backgroundColor&amp;gt;&#xA;    &amp;lt;/thumbnails&amp;gt;&#xA;    &amp;lt;prototypes&amp;gt;&#xA;        &amp;lt;media type=&quot;Sitecore.Resources.Media.JpegMedia, Sitecore.Kernel&quot;/&amp;gt;&#xA;    &amp;lt;/prototypes&amp;gt;&#xA;&amp;lt;/mediaType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that in the &lt;code&gt;extentions&lt;/code&gt; attribute, &lt;code&gt;jp2&lt;/code&gt; is missing. You could either patch that to add &lt;code&gt;jp2&lt;/code&gt; or just add a new mediaType with the &lt;code&gt;jp2&lt;/code&gt; extension like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaType name=&quot;JPEG image&quot; extensions=&quot;jp2&quot;&amp;gt;&#xA;    &amp;lt;mimeType&amp;gt;image/jpeg&amp;lt;/mimeType&amp;gt;&#xA;    &amp;lt;forceDownload&amp;gt;false&amp;lt;/forceDownload&amp;gt;&#xA;    &amp;lt;sharedTemplate&amp;gt;system/media/unversioned/jpeg&amp;lt;/sharedTemplate&amp;gt;&#xA;    &amp;lt;versionedTemplate&amp;gt;system/media/versioned/jpeg&amp;lt;/versionedTemplate&amp;gt;&#xA;    &amp;lt;mediaValidator type=&quot;Sitecore.Resources.Media.ImageValidator&quot;/&amp;gt;&#xA;    &amp;lt;thumbnails&amp;gt;&#xA;        &amp;lt;generator type=&quot;Sitecore.Resources.Media.ImageThumbnailGenerator, Sitecore.Kernel&quot;&amp;gt;&#xA;            &amp;lt;extension&amp;gt;png&amp;lt;/extension&amp;gt;&#xA;        &amp;lt;/generator&amp;gt;&#xA;        &amp;lt;width&amp;gt;150&amp;lt;/width&amp;gt;&#xA;        &amp;lt;height&amp;gt;150&amp;lt;/height&amp;gt;&#xA;        &amp;lt;backgroundColor&amp;gt;#FFFFFF&amp;lt;/backgroundColor&amp;gt;&#xA;    &amp;lt;/thumbnails&amp;gt;&#xA;    &amp;lt;prototypes&amp;gt;&#xA;        &amp;lt;media type=&quot;Sitecore.Resources.Media.JpegMedia, Sitecore.Kernel&quot;/&amp;gt;&#xA;    &amp;lt;/prototypes&amp;gt;&#xA;&amp;lt;/mediaType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Depending on your IIS settings you may also need to add a mime type in your web.config like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;system.webServer&amp;gt;&#xA;        &amp;lt;staticContent&amp;gt;&#xA;            &amp;lt;remove fileExtension=&quot;.jp2&quot; /&amp;gt;&#xA;            &amp;lt;mimeMap fileExtension=&quot;.jp2&quot; mimeType=&quot;image/jp2&quot;/&amp;gt;&#xA;        &amp;lt;/staticContent&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Its virtually the same solution for svg files from this post: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11085/inserting-svg-files-markup&quot;&gt;Inserting SVG files/markup&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-09-26T12:37:49.943" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14147" PostTypeId="2" ParentId="14108" CreationDate="2018-09-26T12:58:14.167" Score="1" Body="&lt;p&gt;Tracker and Identify require an HTTP PageSession context exists in order to work.  AJAX calls to establish a different context and does not create a PageContext.  This is why you are finding that Tracker is already null and trying to start it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you &lt;code&gt;StartTracking()&lt;/code&gt; it will start Tracker with a different contact id but not create the Interaction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can't Identify in an AJAX call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use a Controller Rendering to perform the Identify.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more in-depth information about common Tracker issues and a deep dive on this, reference &lt;a href=&quot;https://sitecorehacker.com/2017/02/12/sitecore-analytics-tracker-common-issues-and-how-to-resolve-them/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/2017/02/12/sitecore-analytics-tracker-common-issues-and-how-to-resolve-them/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-09-26T14:53:45.417" LastActivityDate="2018-09-26T14:53:45.417" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14148" PostTypeId="1" AcceptedAnswerId="14164" CreationDate="2018-09-26T13:12:49.617" Score="1" ViewCount="1094" Body="&lt;p&gt;I need to search the content that has a date equal to &lt;strong&gt;today&lt;/strong&gt; so that the search results component would only show the items that are only valid for today and later &#xA;I'm using SXA 1.7&lt;/p&gt;&#xA;" OwnerUserId="3806" LastEditorUserId="237" LastEditDate="2018-09-26T13:15:01.407" LastActivityDate="2018-09-27T14:10:29.787" Title="Search results with starting date equal to Today" Tags="|sxa|content-search|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14149" PostTypeId="1" AcceptedAnswerId="14161" CreationDate="2018-09-26T13:16:29.073" Score="9" ViewCount="2357" Body="&lt;h2&gt;Introduction&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 9 Update 2 with SXA 1.7.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have implemented &quot;Download Center&quot; using OOTB search components from SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We would like to show &quot;Title&quot; value of Checklist field instead of GUIDs in Filter(Checklist) component.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Question&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;How we can show value of &quot;Title&quot; field instead of indexed GUIDs in filter (checklist) component?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zRZFs.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zRZFs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Setup of solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Custom Template that we have created (inherits Foundation interface template _Searchable + adds new fields):&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zIAcF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zIAcF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have created hierarchy of tags under Data &gt; Tags (we are refering to these from template as can be seen above):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/D5qqq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D5qqq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how it looks like on item itself:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OEVc1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OEVc1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setup of Checklist filter  (same is done also for remaining fields):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jHx9p.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jHx9p.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How we should configure this to show Title field instead of GUID?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how the facet is configured (which is referenced in above checklist filter setup):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hziWL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hziWL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how the filter looks now:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zRZFs.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zRZFs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Resolution 1 - Filtering not  working&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have tried to use Tag Treelist instead and created another field.&#xA;It solved somehow the issue as I can see topic instead of ID but filtering is not working in this case:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VsnnG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VsnnG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Resolution 2 - Facets not displayed&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I have also tried to create new indexed fields instead but it is also not working with them (no values can be filtered):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SeBYn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SeBYn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how fields are indexed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0xmLa.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0xmLa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have set facets accordingly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ne7ZF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ne7ZF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iVf6q.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iVf6q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have used name with &quot;_sm&quot; suffix as suggested by Gatogordo so full field name is specified as it is indexed in Solr:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YFI2H.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YFI2H.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems that the values are coming but they are not rendered:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TPIWf.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TPIWf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-09-26T16:23:46.417" LastActivityDate="2020-12-11T13:34:35.957" Title="Filter (Checklist) component shows ids of facets not values in SXA" Tags="|sxa|" AnswerCount="4" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14150" PostTypeId="2" ParentId="14149" CreationDate="2018-09-26T13:48:22.373" Score="1" Body="&lt;p&gt;You need to check this part of the documentation: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/extend_search#_Extend_search_to_3&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/configuring/extend_search#_Extend_search_to_3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This explains how to use a link type field in the facets. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Index config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a computed field and use that fieldname in the facet:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Add the following definition to your search configuration file: &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;referenced&quot;&#xA;  type=&quot;Sitecore.XA.Foundation.Search.ComputedFields.ResolvedLinks, Sitecore.XA.Foundation.Search&quot; &#xA;  referenceField=&quot;link&quot;&#xA;  contentField=&quot;title&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;fieldName – attribute that defines the index field name where the&#xA;  value will be stored.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;referenceField – attribute that defines the field name of the indexed&#xA;  item. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;contentField – attribute that defines the field of the referenced item&#xA;  from which the value will be retrieved during the indexing.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Don't forget to rebuild your index after the change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore facet config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the fields are added to the index, check the index to get the exact name of the field in the index (including the suffix). Put this name in your facet's fieldname.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That last part can be tricky.. if it doesn't work, check the url that is made for the facets and see if that actually has data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Bugs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately there are some bugs with the javascript for checkbox filters. One bug creates a lowercase version of your facet value (and it should keep the casing). Another one is on the active-facet class which is not set with multiple values or when the value has a space. If you contact support, you can get a fix.. (or just ask on Slack)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might need to avoid spaces ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-09-26T16:25:30.380" LastActivityDate="2018-09-26T16:25:30.380" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14151" PostTypeId="1" AcceptedAnswerId="14153" CreationDate="2018-09-26T14:10:22.293" Score="0" ViewCount="3032" Body="&lt;p&gt;As I am new to Sitecore and working on session time out functionality in Sitecore. Instead of redirecting to login page I've to display session time out warning message to end user and How to validate at server side whether user session is timeout or not?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can this be achieved in Sitecore?&#xA;Can it be done in Sitecore as same as normal ASP.net session timeout as below ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if(Session[&quot;mykey&quot;] != null)&#xA;{&#xA;  // Session is not expired&#xA;}&#xA;else&#xA;{&#xA;  //Session is expired&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is a better approach to implement it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there is any source related to better approach to validate session time out in Sitecore, Please provide blogs/articles. Any suggestion would be very helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &amp;amp; Regards.&lt;/p&gt;&#xA;" OwnerUserId="4357" LastEditorUserId="73" LastEditDate="2018-09-29T04:11:54.677" LastActivityDate="2018-09-29T04:11:54.677" Title="How to check Server side whether session is time out or not?" Tags="|sitecore-api|session-state|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14152" PostTypeId="1" CreationDate="2018-09-26T14:18:15.623" Score="4" ViewCount="1033" Body="&lt;p&gt;Is there a pipeline / event available which I can plug into to execute custom code when workflow state changes for any item?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastActivityDate="2018-09-26T21:30:12.180" Title="How to add custom code on workflow state change?" Tags="|pipelines|workflow|events|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14153" PostTypeId="2" ParentId="14151" CreationDate="2018-09-26T14:25:44.983" Score="2" Body="&lt;p&gt;Yes - Sitecore is just an ASP.Net web application, so session works just the same. The same rules apply as any other .net web application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your method is one way to check that, you could also check the &lt;code&gt;HttpContext.Current.Session.IsNewSession&lt;/code&gt; along with a check on existence of the session cookie like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool IsSessionExpired()&#xA;{&#xA;    if (HttpContext.Current.Session != null)&#xA;    {&#xA;        if (HttpContext.Current.Session.IsNewSession)&#xA;        {&#xA;            string CookieHeaders = HttpContext.Current.Request.Headers[&quot;Cookie&quot;];&#xA;&#xA;            if ((null != CookieHeaders) &amp;amp;&amp;amp; (CookieHeaders.IndexOf(&quot;ASP.NET_SessionId&quot;) &amp;gt;= 0))&#xA;            {&#xA;                // IsNewSession is true, but session cookie exists,&#xA;                // so, ASP.NET session is expired&#xA;                return true;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;http://www.beansoftware.com/ASP.NET-Tutorials/Find-If-Session-Expired.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.beansoftware.com/ASP.NET-Tutorials/Find-If-Session-Expired.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-09-26T14:25:44.983" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14154" PostTypeId="2" ParentId="14152" CreationDate="2018-09-26T14:34:52.717" Score="7" Body="&lt;p&gt;There's no pipeline or event that you can plug into in the general sense of Sitecore's pipelines and events that you see in the ShowConfig.  Instead, it's driven by an Item based pipeline provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is accomplished by creating what's called &lt;strong&gt;Workflow Actions&lt;/strong&gt; that allows you to execute code when a workflow is changed to that state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's an example of this in the Standard Workflow that comes with Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8MNyc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8MNyc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Create a new item under the Workflow State that you want the action to execute on using the &lt;code&gt;/sitecore/templates/System/Workflow/Action&lt;/code&gt; template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Create your Custom Code like the &lt;code&gt;PublishAction&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class PublishAction&#xA;  {&#xA;    /// &amp;lt;summary&amp;gt;Runs the processor.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;    public void Process(WorkflowPipelineArgs args)&#xA;    {&#xA;      Item dataItem = args.DataItem;&#xA;      Item innerItem = args.ProcessorItem.InnerItem;&#xA;      NameValueCollection urlParameters = WebUtil.ParseUrlParameters(innerItem[&quot;parameters&quot;]);&#xA;      bool deep = this.GetDeep(urlParameters, innerItem);&#xA;      bool related = this.GetRelated(urlParameters, innerItem);&#xA;      Database[] array1 = this.GetTargets(urlParameters, innerItem, dataItem).ToArray&amp;lt;Database&amp;gt;();&#xA;      Language[] array2 = this.GetLanguages(urlParameters, innerItem, dataItem).ToArray&amp;lt;Language&amp;gt;();&#xA;      bool compareRevisions = this.IsCompareRevision(urlParameters, innerItem);&#xA;      if (!Settings.Publishing.Enabled || !((IEnumerable&amp;lt;Database&amp;gt;) array1).Any&amp;lt;Database&amp;gt;() || !((IEnumerable&amp;lt;Language&amp;gt;) array2).Any&amp;lt;Language&amp;gt;())&#xA;        return;&#xA;      PublishManager.PublishItem(dataItem, array1, array2, deep, compareRevisions, related);&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3) Set the Namespace and Class name of your custom code to the &lt;strong&gt;Type string&lt;/strong&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) ???&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) Profit!  Now when an item changes to that workflow state, the custom code will execute.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-09-26T21:30:12.180" LastActivityDate="2018-09-26T21:30:12.180" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14156" PostTypeId="1" CreationDate="2018-09-26T15:48:25.573" Score="5" ViewCount="585" Body="&lt;p&gt;I am trying to search a Sitecore Azure Index using whole phrase searching, rather than single words.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&#xA;&quot;applying for a job&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;is matching all individual of the words in the phrase, rather than the whole phrase. What do I have to do to have a whole phrase match only?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private string CreateQueryText(string searchQuery)&#xA;{&#xA;    var replace = HttpUtility.UrlDecode(searchQuery);&#xA;    var query = $@&quot;&quot;&quot;{replace}&quot;&quot;&quot;;&#xA;    return query;&#xA;}&#xA;&#xA;private Expression&amp;lt;Func&amp;lt;ContentPageResultItem, bool&amp;gt;&amp;gt; CreateSearchPredicate(SearchQuery searchQuery)&#xA;{&#xA;    var query = CreateQueryText(searchQuery.Query);&#xA;    var basePredicate = PredicateBuilder.False&amp;lt;ContentPageResultItem&amp;gt;(); // Anchor False for OR Queries, True for And Queries&#xA;    basePredicate = basePredicate.Or(item =&amp;gt; item.Title.Contains(query));&#xA;    basePredicate = basePredicate.Or(item =&amp;gt; item.Summary.Contains(query));&#xA;    return basePredicate;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks.  &lt;/p&gt;&#xA;" OwnerUserId="3918" LastEditorUserId="70" LastEditDate="2018-09-26T16:54:39.747" LastActivityDate="2019-06-09T17:01:35.157" Title="Whole Phrase Searching in Azure" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14157" PostTypeId="1" AcceptedAnswerId="14160" CreationDate="2018-09-26T19:29:45.437" Score="5" ViewCount="745" Body="&lt;p&gt;Hi We are using Sitecore 9.0.2 and would like to use Geo Location IP Service. This service has been enabled and its working fine. To access the geo location using API there are two options available  which makes me confusing. Can you please suggest which one is correct and benefit of using it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;First Option&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var geoIpOptions = new Sitecore.Analytics.Lookups.GeoIpOptions&#xA;        {&#xA;            Ip = ipAddress,&#xA;            MillisecondsTimeout = 1000,&#xA;            Id = GeoIpManager.IpHashProvider.ComputeGuid(ipAddress)&#xA;        };&#xA;&#xA;        var geoIpResult = GeoIpManager.GetGeoIpData(geoIpOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Second Option :&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WhoIsInformation whoIsInformation = LookupManager.GetInformationByIp(ipAddress.ToString());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3841" LastActivityDate="2018-09-27T07:09:15.230" Title="Correct API for Geo Location Service" Tags="|xdb|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14158" PostTypeId="2" ParentId="14127" CreationDate="2018-09-26T20:14:55.897" Score="2" Body="&lt;p&gt;That’s because you did not use the default host name &lt;code&gt;sxa.storefront.com&lt;/code&gt;.&#xA; To correct that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;log into &lt;code&gt;sc9.sc/sitecore/&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;access &lt;code&gt;/sitecore/content/Sitecore/Storefront/Settings/Site Grouping/Storefront&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;update Host Name to &lt;code&gt;storefront.local&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;then publish &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should help you.&lt;/p&gt;&#xA;" OwnerUserId="3737" LastEditorUserId="2727" LastEditDate="2018-10-27T16:21:53.867" LastActivityDate="2018-10-27T16:21:53.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14159" PostTypeId="1" AcceptedAnswerId="14170" CreationDate="2018-09-27T07:00:15.453" Score="4" ViewCount="883" Body="&lt;p&gt;I am currently working on a project using Sitecore version 8.2.7 and our client asked us if we can disable &lt;em&gt;drag-and-drop&lt;/em&gt; function so that they do not have to worry about any accidental item deletion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We first came up with an idea that denying their access rights (delete) but they said they might want to delete items from the Content Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now we are asked if we can disable moving items on the Content Editor's GUI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas and thoughts are appricated.&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="605" LastEditDate="2018-09-28T08:43:12.173" LastActivityDate="2018-09-28T08:48:22.373" Title="How can I disable drag-and-drop functions on GUI in the Content Editor?" Tags="|content-editor|editor-user-permissions|permissions|accessibility|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14160" PostTypeId="2" ParentId="14157" CreationDate="2018-09-27T07:09:15.230" Score="6" Body="&lt;p&gt;The quick answer is that you should always use option #1 over option #2.  When you make a request to &lt;code&gt;LookupManager.GetInformationByIp()&lt;/code&gt;, this makes a direct service call to map the ip to a location.  That might seem to be what you are trying to achieve, but there are several issues with that.  Including some of the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No caching to return previously looked up Ip Addresses&lt;/li&gt;&#xA;&lt;li&gt;Before Sitecore 9, or if you are using your own Geo IP Service, you could be looking up IP addresses unnecessarily, which will cause you to incur more credit expenses ($$$).&lt;/li&gt;&#xA;&lt;li&gt;Subsequent IP Lookups will return results slower than if you returned them from local caching or lookup tables.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Using &lt;code&gt;GeoIpManager&lt;/code&gt; will check internal caches and databases to see if that IP has been requested before, which will result in several benefits to your application.  Some of the steps that take place include (these may vary based on the version of Sitecore):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Access Data Dictionary of recent lookups in memory&lt;/li&gt;&#xA;&lt;li&gt;Access GeoIp Table of Ip Address Mappings&lt;/li&gt;&#xA;&lt;li&gt;Use Service to Lookup Ip&lt;/li&gt;&#xA;&lt;li&gt;Store resolved service ip to geo information in data dictionary/ip table.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It's also important to note that if you are just trying to get the current users country code for example, it probably would make more sense to use the current Tracker, using &lt;code&gt;Sitecore.Analytics.Tracker.Current.Interaction.GeoData.Country&lt;/code&gt; will return a string value of the country.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keeping in mind that with most of the options above, you are unlikely to have the Geo Ip information available on the first page load (unless you run the service calls synchronously which isn't recommended).&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-09-27T07:09:15.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14161" PostTypeId="2" ParentId="14149" CreationDate="2018-09-27T09:04:35.207" Score="8" Body="&lt;p&gt;Looks like it works out of the box with minor config change. Ensure that all of your custom fields which stores tags are using &lt;code&gt;Tag Treelist&lt;/code&gt; field type. Here are mine custom fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YeTIO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YeTIO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's the only config change which I did - to be honest, I don't even know if this is required. The field type should be detected correctly anyway:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fNir1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fNir1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've just used one of the fields in this example and filtering works fine. Numbers next to tags are correct then same with results:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oorql.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oorql.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is hot the TopicTags field looks like the inside of the Solr:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Mnh6c.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Mnh6c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the facet itself:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yvBXK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yvBXK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-09-27T09:04:35.207" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14163" PostTypeId="2" ParentId="14148" CreationDate="2018-09-27T11:40:59.993" Score="5" Body="&lt;h2&gt;Search Results Boosing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can use search results boosting for this. And here are two approaches:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It won't show you only the items with an actual date but will boost the result with the current date at the top of your results. Then if you know that you will have only one item which is marked with the current date you can select the page size of the Search Results rendering to 1 and have just that one item displayed.&lt;/li&gt;&#xA;&lt;li&gt;You will implement boosting rule differently then we are doing this in the SXA. Without &lt;code&gt;c.Name != string.Empty&lt;/code&gt; added to each predicate at the end to have rest of the results.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Such rule doesn't exist out of the box and you will need to create it on your own. But thanks to the dynamic search results boosting in SXA you can do that.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Implement new rule - take a look at &lt;code&gt;Sitecore.XA.Foundation.Search.Rules.WhenFieldAndQueryMatches&amp;lt;T&amp;gt;&lt;/code&gt; class. I believe you can even use a copy of that class with a new name. The FieldName property is important.&lt;/li&gt;&#xA;&lt;li&gt;Add a processor to &lt;code&gt;ResolveBoostingQuery&lt;/code&gt; SXA pipeline - you need a code which will resolve boosting. The most helpful will be probably &lt;code&gt;Sitecore.XA.Foundation.Search.Pipelines.ResolveBoostingQuery.ResolveFieldAndQueryMatchRule&lt;/code&gt; class. All you need to do is to compare field value with a date from your item to &lt;code&gt;DateTime.Now&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Add a new item of template &lt;code&gt;Condition&lt;/code&gt;. We have SXA ones located here: &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/SXA&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;And just have fun:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9emBn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9emBn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Search Results Tokens&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The other approach is to write your own custom search results token. In SXA we already have a couple of custom ones. Just click &lt;code&gt;Build query&lt;/code&gt; in the scope item, type SXA and you will see something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EpXYv.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EpXYv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can write your own ones. All you need to do is to write custom processor to resolve token - take a look at &lt;code&gt;Sitecore.XA.Foundation.Search.Pipelines.ResolveSearchQueryTokens.CurrentTemplate&lt;/code&gt; class. For more advance example take a look here &lt;code&gt;Sitecore.XA.Foundation.Search.Pipelines.ResolveSearchQueryTokens.ItemsWithTheSameValueInField&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-09-27T11:55:17.353" LastActivityDate="2018-09-27T11:55:17.353" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14164" PostTypeId="2" ParentId="14148" CreationDate="2018-09-27T14:10:29.787" Score="2" Body="&lt;p&gt;I also found this solution that uses Solr syntax to search on the date &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/10391405/how-does-now-day-in-a-solr-query-work&quot;&gt;How does NOW/DAY in a Solr query work&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I can use this syntax in the Custom query &#xA;&lt;a href=&quot;https://i.stack.imgur.com/tbpUe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tbpUe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3806" LastActivityDate="2018-09-27T14:10:29.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14165" PostTypeId="2" ParentId="14057" CreationDate="2018-09-27T14:20:42.060" Score="0" Body="&lt;p&gt;The answer is that you can do exactly the same in Sitecore 8 as you could in 7.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find your Chrome type js in \sitecore\shell\Applications\Page modes\ChromeTypes and add an override icon function after the constructor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;icon: function() {&#xA;  return '/sitecore/shell/~/icon/ApplicationsV2/16x16/bullet_square_glass_green.png.aspx';&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The full details are in this answer on Stack Overflow, I've copied parts of it here so it's now on both sites:&#xA;&lt;a href=&quot;https://stackoverflow.com/a/26428851/528656&quot;&gt;https://stackoverflow.com/a/26428851/528656&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2018-09-27T14:20:42.060" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14166" PostTypeId="1" AcceptedAnswerId="14168" CreationDate="2018-09-27T14:37:22.217" Score="5" ViewCount="83" Body="&lt;p&gt;If anyone follows the Sitecore KB article &lt;a href=&quot;https://kb.sitecore.net/articles/083614&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/083614&lt;/a&gt;, &quot;How to extend Catalog system entities schema in Sitecore Experience Commerce 9.0&quot;, you may encounter the issue where your plugin does not update correctly. I was able to load the plug in and make edits, but the main sellable item user interface was not updating correctly. &lt;/p&gt;&#xA;" OwnerUserId="2068" LastEditorUserId="2068" LastEditDate="2018-09-27T19:50:51.053" LastActivityDate="2018-09-27T19:50:51.053" Title="Sitecore Commerce Plugin.Sample.Notes EntityVersion issue" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14168" PostTypeId="2" ParentId="14166" CreationDate="2018-09-27T19:50:19.547" Score="1" Body="&lt;p&gt;I discovered that it was updating entityversion 1 in the database; not the current version I was working with. I tracked this back to a section in code in the Get[PlugInName]ViewBlock. This was corrected by adding the EntityVersion field in the code section below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var view = new EntityView&#xA;                {&#xA;                    Name = context.GetPolicy&amp;lt;Known[PluginName]ViewsPolicy&amp;gt;().[PluginName],&#xA;                    DisplayName = &quot;[PluginName]&quot;,&#xA;                    EntityId = arg.EntityId,&#xA;                    ItemId = variationId,&#xA;                    EntityVersion = arg.EntityVersion&#xA;                };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2068" LastActivityDate="2018-09-27T19:50:19.547" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14169" PostTypeId="2" ParentId="13177" CreationDate="2018-09-27T20:55:11.160" Score="1" Body="&lt;p&gt;This wasn't a Sitecore issue - it was an MVC issue. The redirects to the login page were occuring when we hit a controller decorated with [Authorize] that we weren't authorized for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To change this behavior, we extended the Authorize attribute and set a custom redirect URL like this: &lt;a href=&quot;https://forums.asp.net/t/2039316.aspx?Change+redirect+page+when+user+is+unauthorized&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://forums.asp.net/t/2039316.aspx?Change+redirect+page+when+user+is+unauthorized&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3703" LastEditorUserId="1000" LastEditDate="2018-09-27T20:57:23.093" LastActivityDate="2018-09-27T20:57:23.093" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14170" PostTypeId="2" ParentId="14159" CreationDate="2018-09-28T08:07:40.767" Score="8" Body="&lt;p&gt;Yes it is possible to disable the drag option. From my investigation, there are 2 ways you can disable it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 1: Comment Out Javascript&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can disable the drag and drop feature by commenting out the method initialize in the javascript.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to the &lt;code&gt;\Website\sitecore\shell\Applications\Content Manager\Content Editor.js&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the Js file and search for &lt;code&gt;var scContentEditorDragDrop = Class.create({&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Comment out the code. Please see below&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Iry9u.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Iry9u.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 2: Custom pipeline&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can implement a pipeline and add it to the &lt;code&gt;&amp;lt;uiDragItemTo&amp;gt;&lt;/code&gt;. When dragging item starts, it will check if the item can be drag or not. Below is the sample code snippet&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Draggable&#xA;{&#xA;    public void IsDraggable(ClientPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, nameof(args));&#xA;&#xA;        // Logic to check if dragging item is enable&#xA;        // if yes, show dialog and abort pipeline.&#xA;&#xA;        Context.ClientPage.ClientResponse.Alert(&quot;You cannot drag an item. Feature is disabled.&quot;);&#xA;        args.AbortPipeline();&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the item will be drag and drop, the below error message will appear and it will not drag the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/f0bpO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f0bpO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to patch the config so that your patch is in first order.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;processors&amp;gt;&#xA;      &amp;lt;uiDragItemTo&amp;gt;&#xA;        &amp;lt;processor patch:before=&quot;processor[@type='Sitecore.Shell.Framework.Pipelines.DragItemTo,Sitecore.Kernel']&quot;&#xA;            type=&quot;YourNamespace.Draggable,YourAssemblyName&quot; method=&quot;IsDraggable&quot;/&amp;gt;&#xA;      &amp;lt;/uiDragItemTo&amp;gt;&#xA;    &amp;lt;/processors&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My recommendation is to go for &lt;strong&gt;Solution 2&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-09-28T08:20:06.377" LastActivityDate="2018-09-28T08:20:06.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14171" PostTypeId="2" ParentId="14159" CreationDate="2018-09-28T08:48:22.373" Score="0" Body="&lt;p&gt;From what I know, you cannot disable it using any setting. You need to edit the Sitecore javascript files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find the file&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;sitecore\shell\Applications\Content Manager\Content Editor.js&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;go to the &lt;code&gt;onNodeDrop&lt;/code&gt; function and remove the content of it (or just add &lt;code&gt;return;&lt;/code&gt; at the beginning of it).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you clear your browser cache.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-09-28T08:48:22.373" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14172" PostTypeId="1" CreationDate="2018-09-28T10:21:15.903" Score="0" ViewCount="56" Body="&lt;p&gt;Attached the Sitedefinition.config we are using.&#xA;if we have the patch:before=&quot;site[@name='scheduler']&quot;, then the home page itself is not loading. We are experiencing &quot;Layout Not Found&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if we have patch:before=&quot;site[@name='website']&quot;, we are able to login to the site and navigate. But for some page we are receiving the &quot;Layout error&quot;.(These pages are redirected by WFFM Custom save action)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note : We have multisite in single sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4iqZO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4iqZO.png&quot; alt=&quot;Sitedefinition.config&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="73" LastEditDate="2018-09-28T10:37:40.440" LastActivityDate="2018-09-28T10:37:40.440" Title="Setting @name to scheduler or website, leads to layout not found" Tags="|wffm|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="14173" PostTypeId="2" ParentId="10416" CreationDate="2018-09-28T12:22:27.433" Score="3" Body="&lt;p&gt;Avoid setting &lt;code&gt;silent&lt;/code&gt; to true. It'll cause all kinds of strange things. It looks like you're looking at setting &lt;code&gt;updateStatistics&lt;/code&gt; to false:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;item.Editing.EndEdit(false, false);&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="213" LastActivityDate="2018-09-28T12:22:27.433" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14174" PostTypeId="1" AcceptedAnswerId="14175" CreationDate="2018-09-28T13:33:24.050" Score="2" ViewCount="938" Body="&lt;p&gt;Our Sitecore solution has been designed following Sitecore's Helix principles and guidelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The project layer contains a few simple views that make up columns and sections on a page, very much like the Habitat solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a module in the foundation layer with some helper classes that retrieve render properties and parameters. We would like to use one of the methods from these classes in a view located in the project layer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would it be against the Helix layering principles if a project in the project layer calls directly a module in the foundation layer? &lt;/p&gt;&#xA;" OwnerUserId="4372" LastEditorUserId="73" LastEditDate="2018-09-28T13:33:53.873" LastActivityDate="2018-09-28T18:56:07.763" Title="Project layer reference to a foundation model" Tags="|helix|solution-architecture|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14175" PostTypeId="2" ParentId="14174" CreationDate="2018-09-28T13:37:16.010" Score="7" Body="&lt;p&gt;Yes you can call module from foundation layer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look here: &lt;a href=&quot;https://helix.sitecore.net/principles/architecture-principles/layers.html&quot; rel=&quot;noreferrer&quot;&gt;https://helix.sitecore.net/principles/architecture-principles/layers.html&lt;/a&gt; for more details . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FfbRV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FfbRV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-09-28T13:37:16.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14176" PostTypeId="1" AcceptedAnswerId="14177" CreationDate="2018-09-28T15:17:09.590" Score="2" ViewCount="718" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;SXA v1.7.1 with Sitecore v9.0.2&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm regularly getting this error in Sitecore when trying to publish after I have restructured some items in &lt;code&gt;master&lt;/code&gt; database. If I delete the modified sub-tree from &lt;code&gt;web&lt;/code&gt; database and try to publish again then everything works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error as below -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;17576 00:00:00 ERROR One or more exceptions occurred while processing the subscribers to the 'item:moving' event.&#xA;Exception[1]: System.NullReferenceException &#xA;Message[1]: Object reference not set to an instance of an object. &#xA;Source[1]: Sitecore.XA.Foundation.Multisite &#xA;   at Sitecore.XA.Foundation.Multisite.EventHandlers.VirtualMediaFolderValidator.OnItemMoving(Object obj, EventArgs args)&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do anyone have any solution or workaround for this?&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2018-09-28T18:47:31.583" Title="Error while publishing when items are moved in SXA based website" Tags="|sxa|events|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14177" PostTypeId="2" ParentId="14176" CreationDate="2018-09-28T15:20:39.277" Score="5" Body="&lt;p&gt;This is a known bug. &#xA;You should contact Support to get the patch (you can use reference number 13144).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason is that in the OnItemMoving function in the VirtualMediaFolderValidator class from SXA, this line: &lt;code&gt;Database contentDatabase = ServiceLocator.ServiceProvider.GetService&amp;lt;IContext&amp;gt;().ContentDatabase;&lt;/code&gt; does not work when running in a publish job, as there is no ContentDatabase. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-09-28T15:20:39.277" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14178" PostTypeId="2" ParentId="5652" CreationDate="2018-09-28T15:47:33.510" Score="0" Body="&lt;p&gt;This will still track the visit&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used a pipeline to patch the startAnalytics pipeline&#xA;and stopped the visit before it even started&#xA;with args.abortPipeline()&lt;/p&gt;&#xA;" OwnerUserId="968" LastActivityDate="2018-09-28T15:47:33.510" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14179" PostTypeId="1" AcceptedAnswerId="14197" CreationDate="2018-09-28T18:03:04.317" Score="2" ViewCount="178" Body="&lt;p&gt;I need to be able to provide pricing by a number of factors. I have found that I can add a component to a sellable item that would allow me to add those variable prices to the sellable item. I can surface those prices on the front end. Now, when a customer adds an item to the cart, I would like to be able to specify the price. Or if a user has started a cart and logs in, I would like to be able to update the prices in the cart based upon the user type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like when I add an item to a cart, I am just sending the quantity. The commerce side picks the price and sets a value on PurchaseOptionMoneyPolicy.  Here is a block of code where the Sitecore.Commerce.PlugIn.Carts calculates totals:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!money.HasPolicy&amp;lt;PurchaseOptionMoneyPolicy&amp;gt;())&#xA;                {&#xA;                    money.Totals.SubTotal = new Money(str, decimal.Zero);&#xA;                }&#xA;                else&#xA;                {&#xA;                    PurchaseOptionMoneyPolicy policy = money.GetPolicy&amp;lt;PurchaseOptionMoneyPolicy&amp;gt;();&#xA;                    money.Totals.SubTotal = new Money(str, policy.SellPrice.Amount * money.Quantity);&#xA;                }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I am considering creating a plugin that would allow for updating the sell price amount on a cart, after a line item has been added to the cart or after a user login or other relevant information changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am wondering if this is a safe way to proceed. Are there any actions which might cause the SellPrice amount to be modified after they have been added to the cart?&lt;/p&gt;&#xA;" OwnerUserId="2068" LastEditorUserId="73" LastEditDate="2018-09-29T03:54:51.103" LastActivityDate="2018-10-01T14:05:05.660" Title="Overriding the Cart Price" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14180" PostTypeId="2" ParentId="14176" CreationDate="2018-09-28T18:47:31.583" Score="2" Body="&lt;p&gt;As Gatogordo said, definitely contact Support to receive the official patch&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the meantime, what you can do to get past this is patch this to your configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;events&amp;gt;&#xA;        &amp;lt;event name=&quot;item:adding&quot;&amp;gt;&#xA;            &amp;lt;handler type=&quot;Sitecore.XA.Foundation.Multisite.EventHandlers.VirtualMediaFolderValidator, Sitecore.XA.Foundation.Multisite&quot; method=&quot;OnItemAdding&quot;&amp;gt;&#xA;                &amp;lt;patch:delete /&amp;gt;&#xA;            &amp;lt;/handler&amp;gt;&#xA;        &amp;lt;/event&amp;gt;&#xA;        &amp;lt;event name=&quot;item:moving&quot;&amp;gt;&#xA;            &amp;lt;handler type=&quot;Sitecore.XA.Foundation.Multisite.EventHandlers.VirtualMediaFolderValidator, Sitecore.XA.Foundation.Multisite&quot; method=&quot;OnItemMoving&quot;&amp;gt;&#xA;                &amp;lt;patch:delete /&amp;gt;                                                                                                                               &#xA;            &amp;lt;/handler&amp;gt;&#xA;        &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will effectively disable the &lt;code&gt;VirtualMediaFolderValidator&lt;/code&gt; while you wait for the official fix.&lt;/p&gt;&#xA;" OwnerUserId="9" LastActivityDate="2018-09-28T18:47:31.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14181" PostTypeId="2" ParentId="14174" CreationDate="2018-09-28T18:56:07.763" Score="2" Body="&lt;p&gt;Anything in the project layer CAN call anything in the foundation &amp;amp; feature layers. And since you could potentially make a feature that would also want to use the rendering parameters functionality, your design is perfect. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-09-28T18:56:07.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14182" PostTypeId="1" CreationDate="2018-09-29T13:40:19.683" Score="0" ViewCount="893" Body="&lt;p&gt;as treelist values is being indexed in solr as IDs so I needed to create a computed index field for it to read the names, as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace TAMM.SXA.Feature.ServiceDetails.ComputedIndexFields&#xA;{&#xA;    public class FAQRelatedADGEsField : AbstractComputedIndexField&#xA;    {&#xA;        public override object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;&#xA;            Item item = indexable as SitecoreIndexableItem;&#xA;&#xA;            StringBuilder ADGEsNameList = new StringBuilder();&#xA;&#xA;            if (item == null)&#xA;            {&#xA;                return null;&#xA;            }&#xA;&#xA;            if (item.TemplateName == &quot;FAQ&quot;)&#xA;            {&#xA;                Database currentDatabase = item.Database;&#xA;                if (item.Fields[&quot;FAQ Related ADGE&quot;].HasValue)&#xA;                {&#xA;                    var ADGEsIDs = item.Fields[&quot;FAQ Related ADGE&quot;].Value.ToString().Split(new[] { '|' },&#xA;                        StringSplitOptions.RemoveEmptyEntries).ToList();&#xA;                    foreach (var ADGEID in ADGEsIDs)&#xA;                    {&#xA;                        ID FAQADGEID = new ID(ADGEID);&#xA;                        Item FAQADGEItem = currentDatabase.GetItem(FAQADGEID, item.Language);&#xA;                        if (FAQADGEItem != null)&#xA;                        {&#xA;&#xA;                            ADGEsNameList.Append(FAQADGEItem.Name.ToString() + &quot;,&quot;);&#xA;                        }&#xA;                    }&#xA;&#xA;                }&#xA;            }&#xA;            return ADGEsNameList;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried to register it as stringCollection as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement or ContentDelivery&quot; search:require=&quot;solr&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;!-- Configuration sections for indexes --&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;!-- If an index has no configuration specified, it will use the configuration below. The configuration is not merged if the index also has&#xA;             configuration, it is either this configuration or the index configuration. --&amp;gt;&#xA;        &amp;lt;defaultSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;FAQRelatedADGEsField&quot; returnType=&quot;stringCollection&quot;&amp;gt;TAMM.SXA.Feature.ServiceDetails.ComputedIndexFields.FAQRelatedADGEsField,TAMM.SXA.Feature.ServiceDetails&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but when querying Solr I get the field like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;faqrelatedadgesfield_sm&quot;:[&quot;First Entity,Second Entity,&quot;],&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the purpose is to use this field in a facet to be displayed as checklist filter&lt;/p&gt;&#xA;&#xA;&lt;p&gt;can anyone help to get the computed index right?&lt;/p&gt;&#xA;" OwnerUserId="4232" LastActivityDate="2018-09-29T14:54:03.490" Title="Computed Index Field for TreeList in SOLR" Tags="|solr|indexing|tree-list|computed-field|" AnswerCount="1" CommentCount="7" ClosedDate="2018-09-29T14:54:54.867" ContentLicense="CC BY-SA 4.0" />
  <row Id="14183" PostTypeId="2" ParentId="14182" CreationDate="2018-09-29T14:54:03.490" Score="0" Body="&lt;p&gt;You could (and maybe should) use the options that SXA gives you. The are described in the answers here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14149/filter-checklist-component-shows-ids-of-facets-not-values-in-sxa&quot;&gt;Filter (Checklist) component shows ids of facets not values in SXA&lt;/a&gt;  (one of them is actually the code you are trying to write but which is already written by the SXA team).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you do really want to write your own code, return a collection of strings (IEnumerable or List) instead of a single string with comma's.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-09-29T14:54:03.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14186" PostTypeId="1" CreationDate="2018-10-01T07:04:55.170" Score="5" ViewCount="409" Body="&lt;p&gt;Out of box, Sitecore provides with XP0 and XP1 SCWDP packages. We are thinking that  Dedicated CD Instance option below will suffice our requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-vertically/index.html#dedicated-content-delivery-instance&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/scaling-guide/scaling-scenarios/scale-vertically/index.html#dedicated-content-delivery-instance&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This combination requires:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;CD&lt;/li&gt;&#xA;&lt;li&gt;CM (with processing and reporting)&lt;/li&gt;&#xA;&lt;li&gt;xConnect (with collection &amp;amp; search, Reference Data, Automation etc.)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I can't find any good documents on how to create a sitecore web deploy package for such a scenario. Basically I need to know which configurations/connection setting should be enbabled/disabled for each. And how to setup web jobs as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any advice will be appreciated. &lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2018-10-01T07:21:25.070" LastActivityDate="2019-03-09T17:27:39.567" Title="How to create a web deploy package (scwdp) for Dedicated CD Instance Option" Tags="|scaling|setup|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14189" PostTypeId="2" ParentId="14128" CreationDate="2018-10-01T08:28:13.683" Score="4" Body="&lt;p&gt;If we take a look at &lt;em&gt;Sitecore.Commerce.Plugin.Carts.CartItemQuantityCondition&lt;/em&gt; and &lt;em&gt;Sitecore.Commerce.Plugin.Carts.CartItemSellPriceAction&lt;/em&gt;, then you can see that both of them inherit a base class called &lt;em&gt;Sitecore.Commerce.Plugin.Carts.CartTargetItemId&lt;/em&gt; which provides them this functionality. This base class exposes a property which will contain what the user has specified in the Business Tools when creating the promotion&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IRuleValue&amp;lt;string&amp;gt; TargetItemId { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However this will just give you the raw data, what you'll probably want to use is the Method provided by the base class as that will match this raw data to the context cart and give you the matching lines.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual IEnumerable&amp;lt;CartLineComponent&amp;gt; MatchingLines(IRuleExecutionContext context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you add the &lt;em&gt;Sitecore.Commerce.Plugin.Carts&lt;/em&gt; nuget package then you can just inherit from the same base class to use the existing functionality in your conditions &amp;amp; benefits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDITED&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the request in your comment, here is an example of how to inherit from this base class to gain access to the CartLines that match the targetIDs specificed by the user in the Business Tools&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Condition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Commerce.Plugin.Carts;&#xA;using Sitecore.Framework.Rules;&#xA;&#xA;namespace Feature.Rules.Engine.Conditions&#xA;{&#xA;    [EntityIdentifier(&quot;MySampleCartCondition&quot;)]&#xA;    public class SampleCartCondition : CartTargetItemId, ICondition&#xA;    {&#xA;        public bool Evaluate(IRuleExecutionContext context)&#xA;        {&#xA;            var matchingLines = MatchingLines(context);&#xA;&#xA;            //Insert logic to evaulate whether the matching lines visit date is within 3 months from today&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Benefit:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Commerce.Plugin.Carts;&#xA;using Sitecore.Framework.Rules;&#xA;&#xA;namespace Feature.Rules.Engine.Benefits&#xA;{&#xA;    [EntityIdentifier(&quot;MySampleBenefit&quot;)]&#xA;    public class SampleBenefit : CartTargetItemId, ICartLineAction&#xA;    {&#xA;        public void Execute(IRuleExecutionContext context)&#xA;        {&#xA;            var matchingLines = MatchingLines(context);&#xA;&#xA;            //Insert logic to apply your 20% benefit to the matching cart lines&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="269" LastEditorUserId="269" LastEditDate="2018-10-01T11:24:19.713" LastActivityDate="2018-10-01T11:24:19.713" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14190" PostTypeId="1" AcceptedAnswerId="14308" CreationDate="2018-10-01T08:46:59.460" Score="0" ViewCount="517" Body="&lt;p&gt;I am using Sitecore 8.2 update 3 and Azure search service in our application.&#xA;I am able to rebuild the master index successfully but when i am rebuilding web index, it will get stuck in middle and never completes.&#xA;I get below error in logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;WARN Crawler : AddRecursive DoItemAdd failed - {D9B152A2-0503-45EF-ACE0-AAFE117120A7}&#xA;   Exception: System.AggregateException&#xA;   Message: One or more errors occurred.&#xA;   Source: mscorlib&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action&lt;code&gt;1 body, Action&lt;/code&gt;2 bodyWithState, Func&lt;code&gt;4 bodyWithLocal, Func&lt;/code&gt;1 localInit, Action&lt;code&gt;1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable&lt;/code&gt;1 source, ParallelOptions parallelOptions, Action&lt;code&gt;1 body, Action&lt;/code&gt;2 bodyWithState, Action&lt;code&gt;3 bodyWithStateAndIndex, Func&lt;/code&gt;4 bodyWithStateAndLocal, Func&lt;code&gt;5 bodyWithEverything, Func&lt;/code&gt;1 localInit, Action&lt;code&gt;1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable&lt;/code&gt;1 source, Action&lt;code&gt;1 body)&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.PostDocuments(ICloudBatch batch)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.Commit()&#xA;   at Sitecore.ContentSearch.CommitPolicyExecutor.IndexModified(IProviderUpdateContext context, Object document, IndexOperation operation)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchIndexOperations.Add(IIndexable indexable, IProviderUpdateContext context, ProviderIndexConfiguration indexConfiguration)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler&lt;/code&gt;1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.BadRequestException&#xA;   Message: Error in the request URI, headers, or body&#xA;   Source: Sitecore.ContentSearch.Azure&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage response)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.UpdateIndex(IEnumerable&lt;code&gt;1 fields)&#xA;   at Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.SyncRemoteService(IEnumerable&lt;/code&gt;1 sourceSchema, IEnumerable&lt;code&gt;1 incomingSchema)&#xA;   at Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.&amp;lt;&amp;gt;c__DisplayClass11_0.&amp;lt;EnsureIsInSync&amp;gt;b__0()&#xA;   at Sitecore.ContentSearch.Azure.Utils.Retryer.RetryPolicy.Execute(Action action)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchService.PostDocumentsImpl(ICloudBatch batch)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchService.PostDocuments(ICloudBatch batch)&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.&amp;lt;&amp;gt;c__DisplayClass11_0.&amp;lt;PostDocuments&amp;gt;b__0(ISearchService searchService)&#xA;   at System.Threading.Tasks.Parallel.&amp;lt;&amp;gt;c__DisplayClass17_0&lt;/code&gt;1.b__1()&#xA;   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&#xA;   at System.Threading.Tasks.Task.&amp;lt;&gt;c__DisplayClass176_0.&gt;b__0(Object )&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: &gt;Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;  Message: {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;The request is invalid. Details: &gt;index.fields[0].name : The name field is required.\r\n&quot;}}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2018-10-08T10:04:30.383" Title="Sitecore Azure rebuild index:The request is invalid. Details: index.fields[0].name" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14191" PostTypeId="2" ParentId="14186" CreationDate="2018-10-01T09:22:04.310" Score="3" Body="&lt;p&gt;SCWPD are just zip files, so you can extract and modify them to add you adaptation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In essence, the biggest differences for your topology are in the web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Especialy in the appSettings part where the role is defined (role:define). In theory you can just reuse the XP1 package and than go into it and change the web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or you could also just use the XP1 package unmodified and override the appsettings in azure on the webapp. (or push this on azure through the ARM templates)&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-10-01T09:22:04.310" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14192" PostTypeId="1" AcceptedAnswerId="14199" CreationDate="2018-10-01T11:40:22.530" Score="3" ViewCount="543" Body="&lt;p&gt;I am using Minion and i wanted to get the Sitecore item from  Minion? I can't add in the policy file. I am using Sitecore 9.0.1 version&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any pipeline or command to use here?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastActivityDate="2019-07-27T02:14:48.997" Title="Get Sitecore item from Sitecore Commerce context" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14193" PostTypeId="1" AcceptedAnswerId="14194" CreationDate="2018-10-01T12:28:11.343" Score="11" ViewCount="14829" Body="&lt;p&gt;How to solve the XConnect:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2018-10-02 00:00:27.142 +02:00 [Information] SystemPerformanceCounters Constructor, Instance:xconnect, Path: C:\inetpub\wwwroot\xconnect\App_Data\Diagnostics, CounterFilePattern: *.json&#xA;System.UnauthorizedAccessException: Access to the registry key 'Global' is denied.&#xA;   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)&#xA;   at Microsoft.Win32.RegistryKey.InternalGetValue(String name, Object defaultValue, Boolean doNotExpand, Boolean checkSecurity)&#xA;   at Microsoft.Win32.RegistryKey.GetValue(String name)&#xA;   at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item)&#xA;   at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()&#xA;   at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)&#xA;   at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)&#xA;   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()&#xA;   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xA;   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)&#xA;   at Sitecore.XConnect.Diagnostics.PerformanceCounters.SystemPerformanceCounters.Initialize(String counterFilePattern)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="73" LastEditDate="2019-05-03T12:57:09.413" LastActivityDate="2021-05-26T18:25:04.400" Title="access to the registry key 'Global' is denied" Tags="|xconnect|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14194" PostTypeId="2" ParentId="14193" CreationDate="2018-10-01T12:28:11.343" Score="18" Body="&lt;p&gt;Add the IIS app pool user to the &quot;Performance Monitor Users&quot; &amp;amp; &quot;Performance Log Users&quot; groups, e.g:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CMD&amp;gt; net localgroup &quot;Performance Monitor Users&quot; &quot;IIS APPPOOL\sitecore&quot; /add&#xA;CMD&amp;gt; net localgroup &quot;Performance Log Users&quot; &quot;IIS APPPOOL\sitecore&quot; /add&#xA;CMD&amp;gt; net localgroup &quot;Performance Monitor Users&quot; &quot;IIS APPPOOL\xconnect&quot; /add&#xA;CMD&amp;gt; net localgroup &quot;Performance Log Users&quot; &quot;IIS APPPOOL\xconnect&quot; /add&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-05-03T09:43:26.137" LastActivityDate="2019-05-03T09:43:26.137" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14195" PostTypeId="2" ParentId="8722" CreationDate="2018-10-01T12:57:56.137" Score="3" Body="&lt;p&gt;Prior to &lt;strong&gt;Sitecore 9&lt;/strong&gt;, TDE could be used to configure data-at-rest encryption. Always Encrypted was introduced in &lt;strong&gt;SQL Server 2016&lt;/strong&gt;, thus TDE was the only option for data-at-rest encryption and SSL for data-in-motion.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Always Encrypted is available in SQL Server 2016 (13.x) and SQL&#xA;  Database. (Prior to SQL Server 2016 (13.x) SP1, Always Encrypted was&#xA;  limited to the Enterprise Edition.)&#xA;  &lt;a href=&quot;https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-2017&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-2017&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 9&lt;/strong&gt; supports SQL Server 2016 SP 1 and &lt;strong&gt;Always Encrypted&lt;/strong&gt; support was added as data-at-rest encryption approach. Encryption can be configured just for columns with sensitive data. The performance for all other data will not be affected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both, SQL Server and SQL Provider has to be configured to support Always Encrypted. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below you can find required encryption type per column with sensitive data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2xh8X.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2xh8X.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's also required to enable always encrypted in the &lt;strong&gt;sc.Xdb.Collection.Data.Sql.xml&lt;/strong&gt; configuration file in all the roles:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;UseAlwaysEncrypted&amp;gt;true&amp;lt;/UseAlwaysEncrypted&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's optional feature. As far as, &lt;strong&gt;Sitecore 9&lt;/strong&gt; uses sharded clusters with multiple shards, all the shards have to be configured individually. If you need more details, I can provide them.&#xA;TDE can be configured as well. There is no official documentation that states that TDE is supported, but all the databases in PaaS are deployed with TDE enabled by default.&#xA;Always Encrypted can  be configured just for the 'collection' db. All other dbs do not support it.&lt;/p&gt;&#xA;" OwnerUserId="4378" LastActivityDate="2018-10-01T12:57:56.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14196" PostTypeId="2" ParentId="8107" CreationDate="2018-10-01T13:55:22.310" Score="1" Body="&lt;p&gt;I hope this script can help to automate removing all those artifacts&#xA;&lt;a href=&quot;https://github.com/medkrimi/UninstallSitecore/blob/master/uninstall.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/medkrimi/UninstallSitecore/blob/master/uninstall.ps1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It removes :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Website&lt;/li&gt;&#xA;&lt;li&gt;Hosts &lt;/li&gt;&#xA;&lt;li&gt;Sitecore files&lt;/li&gt;&#xA;&lt;li&gt;SQL Databases&lt;/li&gt;&#xA;&lt;li&gt;SSL Certificates (Make sure your are not sharing them between diffirent instance if you are in dev.local)&lt;/li&gt;&#xA;&lt;li&gt;Solr Cores&lt;/li&gt;&#xA;&lt;li&gt;Application Users&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1962" LastActivityDate="2018-10-01T13:55:22.310" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14197" PostTypeId="2" ParentId="14179" CreationDate="2018-10-01T14:05:05.660" Score="1" Body="&lt;p&gt;Prices can also be calculated during retrieval of the cart. For example, if the cart was created yesterday and the prices have changed in the mean time, the cart price needs to be re-calculated. The safest way is to add a custom pipeline block to the ICalculateCartLinesPipeline. It should be safe to asume that updates to the cart line prices are always done through this pipeline. &lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-10-01T14:05:05.660" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14198" PostTypeId="2" ParentId="14060" CreationDate="2018-10-01T14:16:48.320" Score="1" Body="&lt;p&gt;Turns out the solution was to add the naked domain xyz.com to the custom domains list. It involved pointing the A record and a TXT identifier in the DNS to Azure, so the custom domain system could detect it. Azure walks you through it pretty easily.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-10-01T14:16:48.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14199" PostTypeId="2" ParentId="14192" CreationDate="2018-10-01T14:49:20.937" Score="3" Body="&lt;p&gt;You can use:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Commerce.Plugin.Management.IGetItemByIdPipeline&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string defaultLanguage = context.GetPolicy&amp;lt;GlobalEnvironmentPolicy&amp;gt;().DefaultLocale;&#xA;ItemModelArgument itemModelArgument = new ItemModelArgument(&quot;{itemPath}&quot;);&#xA;itemModelArgument.Language = defaultLanguage;&#xA;IEnumerable&amp;lt;ItemModel&amp;gt; itemModels = await _getItemsByPathPipeline.Run(itemModelArgument, context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Commerce.Plugin.Management.IGetItemsByPathPipeline&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string defaultLanguage = context.GetPolicy&amp;lt;GlobalEnvironmentPolicy&amp;gt;().DefaultLocale;&#xA;ItemModelArgument itemModelArgument = new ItemModelArgument(&quot;{ItemID}&quot;);&#xA;itemModelArgument.Language = defaultLanguage;&#xA;ItemModel itemModel = await _getItemByIdPipeline.Run(itemModelArgument, context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2018-10-01T15:03:28.050" LastActivityDate="2018-10-01T15:03:28.050" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14200" PostTypeId="1" AcceptedAnswerId="14291" CreationDate="2018-10-01T15:58:11.030" Score="3" ViewCount="1240" Body="&lt;p&gt;I noticed no data was being generated in the Experience Profile. I went to the site and tried to generate some test data by filling out a form and received an error &quot;Updating Contact Failed&quot;. I checked the logs for xConnect and saw the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Error] A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)&#xA;&#xA;[Error] Sitecore.XConnect.Web.Infrastructure.Operations.GetEntitiesOperation`1[Sitecore.XConnect.Contact]: Sitecore.XConnect.Operations.DependencyFailedException: One or more dependencies failed ---&amp;gt; Sitecore.Xdb.Collection.Failures.DataProviderException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.&#xA;&#xA;[Error] [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have verified that the xConnect URL is up and running and that SQL is configured to allow remote connections. I have updated the connection string for &quot;collection&quot; in the (site_name).xconnect project to use an admin account instead of the default Sitecore user.&lt;/p&gt;&#xA;" OwnerUserId="4379" LastEditorUserId="2056" LastEditDate="2018-10-01T17:39:48.827" LastActivityDate="2018-10-05T14:48:08.783" Title="xConnect cannot reach SQL Server" Tags="|xdb|xconnect|sql-database|" AnswerCount="1" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="14202" PostTypeId="2" ParentId="14140" CreationDate="2018-10-01T22:22:28.380" Score="1" Body="&lt;p&gt;I'm not sure that you need to get Sitecore Item to load subcategoroies. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you may use the concept of Commerce Lists to load children categories. For Model you've provided in your question you may use list &lt;code&gt;CategoryToCategory&lt;/code&gt; that will load all subcategories for your category. You can try to use Postman for your model. API URL will look like this: &#xA;&lt;code&gt;{{ServiceHost}}/{{ShopsApi}}/GetList(id='CategoryToCategory-{FriendlyId}',type='Sitecore.Commerce.Plugin.Catalog.Category, Sitecore.Commerce.Plugin.Catalog',skip=0,take=100)?$expand=Items&lt;/code&gt; in your example &lt;code&gt;{FriendlyId}&lt;/code&gt; equals to &lt;code&gt;X-X&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to call the same command from code, then you can use the following snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;await findEntitiesInListCommand.Process(commerceContext: commerceContext, type: typeof(Sitecore.Commerce.Plugin.Catalog.Category).ToString(), listName: &quot;CategoryToCategory&quot;, skip: 0, take: 100);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You may then use the code you've provided in your question to load additional information: &lt;code&gt;Category pluginCategory = await _getCategoryCommand.Process(context, category.Id);&lt;/code&gt; where id is &lt;code&gt;Id = Name.ToCategoryId(ParentCatalogId);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update on CategoryToCategory string&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't found any documentation on this but explored it while looking at &lt;code&gt;SitecoreCommerce_SharedEnvironments&lt;/code&gt; database. I was looking through default Commerce pipelines and found following block in &lt;code&gt;InitializeRelationshipDefinitionsBlock&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override async Task&amp;lt;string&amp;gt; Run(string arg, CommercePipelineExecutionContext context)&#xA;{&#xA;  InitializeRelationshipDefinitionsBlock definitionsBlock = this;&#xA;  string relationship1 = await definitionsBlock.CreateRelationship(&quot;CatalogToCategory&quot;, &quot;Represents a relationship between a catalog and a category&quot;, typeof (Sitecore.Commerce.Plugin.Catalog.Catalog), typeof (Category), context, false, false);&#xA;  string relationship2 = await definitionsBlock.CreateRelationship(&quot;CatalogToSellableItem&quot;, &quot;Represents a relationship between a catalog and a sellable item&quot;, typeof (Sitecore.Commerce.Plugin.Catalog.Catalog), typeof (SellableItem), context, false, false);&#xA;  string relationship3 = await definitionsBlock.CreateRelationship(&quot;CategoryToCategory&quot;, &quot;Represents a relationship between a category and another category&quot;, typeof (Category), typeof (Category), context, false, false);&#xA;  string relationship4 = await definitionsBlock.CreateRelationship(&quot;CategoryToSellableItem&quot;, &quot;Represents a relationship between a category and a sellable item&quot;, typeof (Category), typeof (SellableItem), context, false, false);&#xA;  string relationship5 = await definitionsBlock.CreateRelationship(&quot;PromotionBookToCatalog&quot;, &quot;Represents a relationship between a promotion book and a catalog&quot;, typeof (PromotionBook), typeof (Sitecore.Commerce.Plugin.Catalog.Catalog), context, false, false);&#xA;  string relationship6 = await definitionsBlock.CreateRelationship(&quot;PriceBookToCatalog&quot;, &quot;Represents a relationship between a price book and a catalog&quot;, typeof (PriceBook), typeof (Sitecore.Commerce.Plugin.Catalog.Catalog), context, false, false);&#xA;  return arg;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="139" LastEditorUserId="139" LastEditDate="2018-10-03T15:04:37.013" LastActivityDate="2018-10-03T15:04:37.013" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14203" PostTypeId="1" CreationDate="2018-10-02T00:59:47.333" Score="0" ViewCount="234" Body="&lt;p&gt;Is there a possibility to disable the autocomplete of Sitecore WFFM text box.&#xA;We are using Sitecore 8.1&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2019-05-01T14:03:15.643" Title="Disabling the Autocomplete in WFFM" Tags="|wffm|security|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14204" PostTypeId="1" AcceptedAnswerId="14206" CreationDate="2018-10-02T01:38:12.193" Score="0" ViewCount="45" Body="&lt;p&gt;I first duplicated the original Sitecore Web DB and just renamed to Sitecore Preview DB.&#xA;Now that I noticed I accidentally copied the Sitecore Master DB instead of Web DB and I am trying to delete the current Preview DB but Microsoft SQL Server Management Studio shows an error says &quot;Sitecore_Preview&quot; is currently under use and cannot be deleted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to stop IIS of the Sitecore instance but it didn't work.&#xA;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastActivityDate="2018-10-02T03:19:02.197" Title="Sitecore DB: Can't delete Preview DB table from SQL Server 13.0.400" Tags="|xdb|sitecore-client|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14206" PostTypeId="2" ParentId="14204" CreationDate="2018-10-02T03:19:02.197" Score="2" Body="&lt;p&gt;You can just check the &quot;Close existing connections&quot; checkbox. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WdqUN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WdqUN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-10-02T03:19:02.197" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14208" PostTypeId="1" CreationDate="2018-10-02T05:05:55.823" Score="0" ViewCount="162" Body="&lt;p&gt;We are using Sitecore Commerce 9.0.2 and CD and CM are on two different servers. CM is working perfectly fine and we are able to see the product catalog data on CM but it is not displaying on CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The product catalog is in the published state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe some configurations are missing. Please somebody can point out what configurations are missing? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be a great help if you can provide some pointer area as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2018-10-02T06:57:10.843" Title="Product Catalog not available on CD" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="2" ClosedDate="2018-10-02T21:54:46.293" ContentLicense="CC BY-SA 4.0" />
  <row Id="14209" PostTypeId="2" ParentId="11477" CreationDate="2018-10-02T06:34:09.187" Score="1" Body="&lt;p&gt;The problem may be related to the situation when you are referencing DLLs in your Visual Studio project from another version than the one that is referenced by default in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend you to get &quot;bin&quot; folder from vanilla Sitecore distributive and compare it with your &quot;bin&quot; folder to check for any difference in DLLs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pay especially attention to the &lt;code&gt;Mvp.Xml.dll&lt;/code&gt;. From my experience of observing such exception the newer version of this DLL was referenced by Nuget in VS project. When changing that to the one from Sitecore vanilla distributive, the issue was not reproducible anymore. &lt;/p&gt;&#xA;" OwnerUserId="234" LastEditorUserId="1671" LastEditDate="2018-10-02T14:14:34.760" LastActivityDate="2018-10-02T14:14:34.760" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14210" PostTypeId="2" ParentId="14208" CreationDate="2018-10-02T06:57:10.843" Score="1" Body="&lt;p&gt;The Sitecore Commerce product team plans to provide fully supported scaled topology documentation with the 9.1 release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Community prepared two scaled installations for installing Sitecore Commerce 9.0.2 in a Scaled Deployment, based on Sitecore’s XP1 topology. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are located on Github:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/CommerceMinion/Sitecore-v902-XP1-Scaled-Installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/CommerceMinion/Sitecore-v902-XP1-Scaled-Installation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: These are not officially supported by Sitecore Support&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-10-02T06:57:10.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14211" PostTypeId="1" CreationDate="2018-10-02T09:36:03.497" Score="1" ViewCount="282" Body="&lt;p&gt;I am trying to create query using Search Query builder (used to create new Item Query in SXA site) that will return items where custom datetime field value is in defined range.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see that there is a &quot;Search by a field value&quot; option:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K8FNM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K8FNM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also based on documentation creating range should be possible but onlt for numerical and text values:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/searching/build_a_search_query#_Search_within_a&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/searching/build_a_search_query#_Search_within_a&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the query but no results are coming:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9exTg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9exTg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without the Start Time condition defined I can see all items that are available. I just want the ones which are greater than specified date time.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Questions:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Is it possible to use same range as specified in documentation above also for datetime values? What should be correct format of values in this case to make it working?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I apply some greater-than and less-than notation here?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-10-02T09:36:03.497" Title="Get items which datetime custom field is greater than specified value using Search Query Builder" Tags="|sxa|querybuilder|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14212" PostTypeId="1" CreationDate="2018-10-02T11:28:42.153" Score="0" ViewCount="831" Body="&lt;p&gt;Is there a way to retrieve data from table &lt;code&gt;xdb_collection.Interactions&lt;/code&gt; in &lt;code&gt;xdb_collection.shard0&lt;/code&gt; datasource in my code? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already tried to use the method in the following link &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1221/sorting-pages-by-most-views/1232#1232&quot;&gt;Sorting Pages by most views&lt;/a&gt; but it only works with the reporting datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit:&#xA;When trying the extraction approach i get the below error and the code exists.&lt;a href=&quot;https://i.stack.imgur.com/hRDzO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hRDzO.png&quot; alt=&quot; extraction approach error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="3650" LastEditDate="2018-10-04T09:08:27.663" LastActivityDate="2018-10-05T08:57:10.337" Title="Retrieving data from interactions table" Tags="|xdb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14213" PostTypeId="2" ParentId="14212" CreationDate="2018-10-02T12:04:24.967" Score="3" Body="&lt;p&gt;You &lt;strong&gt;should not&lt;/strong&gt; query xdb_collection database. XConnect API is meant to be used for this type of scenarios. You have 2 ways to retrieve interactions from XDB database:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/data-extraction/extract-contact-and-interactions.html#extracting-interactions&quot; rel=&quot;nofollow noreferrer&quot;&gt;Interaction extraction&lt;/a&gt; to get all interactions only limited by date.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/search/interactions/index.html#search-by-interaction-property&quot; rel=&quot;nofollow noreferrer&quot;&gt;Search interactions&lt;/a&gt; if you need to have more complex search criteria.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Code samples taken from documentation for reference&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Extraction approach&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Collection.Model;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;&#xA;namespace Documentation&#xA;{&#xA;    public class DataExtraction&#xA;    {&#xA;        // Async interaction&#xA;        public async void ExampleAsync()&#xA;        {&#xA;            using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    // Extract interactions&#xA;                    var allInteractions = new List&amp;lt;Interaction&amp;gt;();&#xA;                    var interactionEnumerator = await client.CreateInteractionEnumerator(DateTime.UtcNow, new InteractionExpandOptions(), 200);&#xA;                    while (await interactionEnumerator.MoveNext())&#xA;                    {&#xA;                        foreach (var interaction in interactionEnumerator.Current)&#xA;                        {&#xA;                            allInteractions.Add(interaction);&#xA;                        }&#xA;                    }&#xA;&#xA;                }&#xA;                catch (XdbExecutionException ex)&#xA;                {&#xA;                    // Manage exceptions&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Search based approach&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XConnect.Collection.Model;&#xA;using Sitecore.XConnect.Operations;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Threading.Tasks;&#xA;using System.Linq;&#xA;using Sitecore.XConnect.Search;&#xA;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Client;&#xA;&#xA;namespace Documentation&#xA;{&#xA;    public class SearchInteractionProperty&#xA;    {&#xA;        // Async example&#xA;        public async void ExampleAsync()&#xA;        {&#xA;            using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    var someChannelId = Guid.Parse(&quot;0565e9b0-936c-4594-8cc3-5fcace3918ed&quot;);&#xA;&#xA;                    IAsyncQueryable&amp;lt;Sitecore.XConnect.Interaction&amp;gt; queryable = client.Interactions&#xA;                        .Where(x =&amp;gt; x.ChannelId == someChannelId &amp;amp;&amp;amp; x.StartDateTime &amp;gt; DateTime.UtcNow.AddDays(-10));&#xA;&#xA;                    var enumerable = await queryable.GetBatchEnumerator(10);&#xA;&#xA;                    while (await enumerable.MoveNext())&#xA;                    {&#xA;                        IReadOnlyCollection&amp;lt;Interaction&amp;gt; currentBatch = enumerable.Current;&#xA;                    }&#xA;                }&#xA;                catch (XdbExecutionException ex)&#xA;                {&#xA;                    // Handle exception&#xA;                }&#xA;            }&#xA;        }    &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2018-10-05T08:57:10.337" LastActivityDate="2018-10-05T08:57:10.337" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14214" PostTypeId="1" AcceptedAnswerId="15545" CreationDate="2018-10-02T13:03:11.437" Score="3" ViewCount="385" Body="&lt;p&gt;I am assigning an Entity Composer template by Item Defintion to a Sellable Item. This shows fine in the Business Tools, but the generated Sitecore item templates have a circular dependency. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The generated template under &quot;/sitecore/templates/Commerce/Catalog Generated/&quot;, &quot;Drinks&quot; in my example, contains a reference to the generated component: &quot;/sitecore/templates/Commerce/Catalog Generated/Components/Drinks&quot;. The component has a link back to the item under &quot;Catalog Generated&quot;, this causes a circular dependency error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3688 14:55:33 ERROR Circular template inheritance detected in 'Drinks'&#xA;3688 14:55:33 ERROR This may be caused by explicitly assigned base id's or by the setting 'DefaultBaseTemplate' in web.config.&#xA;3688 14:55:33 ERROR Template trail: Commerce/Catalog Generated/Components/Drinks : Commerce/Catalog Generated/Components/Drinks : Commerce/Catalog Generated/Components/Drinks : ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Did anyone have the same problem?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-12-14T14:10:08.067" Title="XC9 entity composer templates: circular template inheritance" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14215" PostTypeId="2" ParentId="7662" CreationDate="2018-10-02T13:59:22.703" Score="1" Body="&lt;p&gt;I wanted to post the answer to this question. Resolving this requires you to deal with both SPEAK and SheerUI for various components. Some are in speak and the other depending on the type of link are in Sheer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get Sitecore Rocks as you will need to modify the SPEAK UI. This is quite involved and has been documented in detail in this blog post of mine:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.akshaysura.com/2017/04/07/dont-speak-i-know-just-what-youre-saying-sitecore-speak-customize-general-link-with-nofollow-checkbox/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.akshaysura.com/2017/04/07/dont-speak-i-know-just-what-youre-saying-sitecore-speak-customize-general-link-with-nofollow-checkbox/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="146" LastActivityDate="2018-10-02T13:59:22.703" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14216" PostTypeId="2" ParentId="11477" CreationDate="2018-10-02T14:04:41.337" Score="0" Body="&lt;p&gt;We have since solved it by installing Sitecore first, then deploying. We don't get this error after deploying, so if that dll was a diff version i would think it would still be an issue after deployment. Ivan's answer is correct I believe. It is possible in the order that we did things a new version of Mvp.Xml.dll was put in place.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2018-10-02T14:04:41.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14218" PostTypeId="1" CreationDate="2018-10-02T16:02:29.720" Score="2" ViewCount="622" Body="&lt;p&gt;Using Sitecore 9 update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;followed Sitecore documentation to implement the site search in Azure PaaS&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/configure_azure_search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/configure_azure_search&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Azure Search can contain up to 1000 fields I have created custom search index for the large data in Sitecore which is imported from third party and I added the items into custom index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using simple queries to return the content from the new index, the search is not stable and break multiple times during the day, sometimes it return data and other times not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that document count in Azure changed after each publish &#xA;&lt;a href=&quot;https://i.stack.imgur.com/3Tk0l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Tk0l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;querable filter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var queryable = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;();&#xA;            queryable = queryable.Filter(i =&amp;gt; i.Paths.Contains([MyItem].ID));&#xA;            queryable = queryable.Filter(i =&amp;gt; i.TemplateId == Templates.[MyItem].TemplateID);&#xA;            queryable = queryable.Filter(i =&amp;gt; i.Language == Sitecore.Context.Language.Name);&#xA;            var indexresults = queryable.OrderBy(x =&amp;gt; x.Name);&#xA;            List&amp;lt;Item&amp;gt; resultList = new List&amp;lt;Item&amp;gt;();&#xA;            resultList = queryable.Select(n =&amp;gt; n.GetItem()).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="635" LastActivityDate="2018-12-03T09:59:38.820" Title="Sitecore 9.0 update 1 Azure search is not stable" Tags="|azure-search|paas|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14219" PostTypeId="1" AcceptedAnswerId="14223" CreationDate="2018-10-02T16:02:53.830" Score="1" ViewCount="73" Body="&lt;p&gt;Note: I am using a trial instance of Sitecore 9.0.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I create an item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;curl -X POST \&#xA; https://mysitecoreurl/sitecore/api/ssc/item/%2Fsitecore%2Fcontent%2FHome%2Ffolder1 \&#xA;  -H 'Content-Type: application/json' \&#xA;  -d '{ &#xA;    &quot;ItemName&quot;: &quot;Home4&quot;, &#xA;    &quot;TemplateID&quot;: &quot;76036f5e-cbce-46d1-af0a-4143f9b557aa&quot;, &#xA;    &quot;Title&quot;: &quot;Sitecore2&quot;, &#xA;    &quot;Text&quot;: &quot;\r\n\t\t&amp;lt;p&amp;gt;Welcome to Sitecore 4&amp;lt;/p&amp;gt;\r\n&quot; &#xA;}'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It returns seems ok?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Status: 201 Created&#xA;Location: Location →https://mysitecoreurl/sitecore/api/ssc/item/b8527e6a-f731-4cb2-a8a0-1f3cd8d7bd4f?Database=master&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I get the GUID of the folder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;curl -X GET \&#xA;  'https://mysitecoreurl/sitecore/api/ssc/item/?path=/sitecore/content/Home/folder1'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which returns:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;ItemID&quot;: &quot;fe2e79b2-2b0c-4866-a6b4-70eab694e58b&quot;,&#xA;    &quot;ItemName&quot;: &quot;folder1&quot;,&#xA;    &quot;ItemPath&quot;: &quot;/sitecore/content/Home/folder1&quot;,&#xA;    &quot;ParentID&quot;: &quot;110d559f-dea5-42ea-9c1c-8a5df7e70ef9&quot;,&#xA;    &quot;TemplateID&quot;: &quot;a87a00b1-e6db-45ab-8b54-636fec3b5523&quot;,&#xA;    &quot;TemplateName&quot;: &quot;Folder&quot;,&#xA;    &quot;CloneSource&quot;: null,&#xA;    &quot;ItemLanguage&quot;: &quot;en&quot;,&#xA;    &quot;ItemVersion&quot;: &quot;1&quot;,&#xA;    &quot;DisplayName&quot;: &quot;folder1&quot;,&#xA;    &quot;HasChildren&quot;: &quot;True&quot;,&#xA;    &quot;ItemIcon&quot;: &quot;/temp/iconcache/applications/16x16/folder.png&quot;,&#xA;    &quot;ItemMedialUrl&quot;: &quot;/temp/iconcache/applications/48x48/folder.png&quot;,&#xA;    &quot;ItemUrl&quot;: &quot;~/link.aspx?_id=FE2E79B22B0C4866A6B470EAB694E58B&amp;amp;amp;_z=z&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now when I try to get the children of the folder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;curl -X GET \&#xA;  https://mysitecoreurl/sitecore/api/ssc/item/fe2e79b2-2b0c-4866-a6b4-70eab694e58b/children&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I do not see my new item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;curl -X GET \&#xA;  https://mysitecoreurl/sitecore/api/ssc/item/b8527e6a-f731-4cb2-a8a0-1f3cd8d7bd4f&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Returns:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The item &quot;b8527e6a-f731-4cb2-a8a0-1f3cd8d7bd4f&quot; was not found.&#xA;&#xA;It may have been deleted by another user.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I missing something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But here it is in the UI: &lt;a href=&quot;https://i.stack.imgur.com/PVy1G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PVy1G.png&quot; alt=&quot;yet here it is&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and the guid of that item matches: &lt;a href=&quot;https://i.stack.imgur.com/a57PT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/a57PT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing here? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a feeling I'm missing some sort of &quot;Publish&quot; step.&lt;/p&gt;&#xA;" OwnerUserId="4231" LastEditorUserId="4231" LastEditDate="2018-10-02T16:25:59.763" LastActivityDate="2018-10-02T17:57:56.867" Title="Creating an item with the API returns 201, but then I cannot find the item?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14223" PostTypeId="2" ParentId="14219" CreationDate="2018-10-02T17:57:56.867" Score="2" Body="&lt;p&gt;Is it because you are missing the database param in your request for your item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default is the context database for the logged in user so perhaps you are logged into Core or Web?:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;curl -X GET \&#xA;  https://mysitecoreurl/sitecore/api/ssc/item/b8527e6a-f731-4cb2-a8a0-1f3cd8d7bd4f?Database=master&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-10-02T17:57:56.867" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="14225" PostTypeId="1" AcceptedAnswerId="14249" CreationDate="2018-10-02T19:05:37.687" Score="2" ViewCount="642" Body="&lt;p&gt;I read this from the docs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore CMS uses the following three SQL Server databases: Core –&#xA;  contains all settings, like a large configuration file for the&#xA;  Sitecore user interface. ... Master – contains all versions of all&#xA;  content. ... Web – contains the latest version of published content&#xA;  that has reached a final workflow state.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;are there always just 3? or can there be more? &lt;/p&gt;&#xA;" OwnerUserId="4231" LastActivityDate="2018-10-03T14:52:59.587" Title="Are there always just 3 databases?" Tags="|link-database|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14226" PostTypeId="2" ParentId="14225" CreationDate="2018-10-02T19:11:37.767" Score="3" Body="&lt;p&gt;It depends on your version of Sitecore and if you are using xDB or WFFM or not but usually there are more than 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example of the DBs for an out of the box install of Sitecore 8:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/43F0q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/43F0q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using xDB in Sitecore 8 then there is a reporting database in SQL Server too. There is also a Mongo DB Database to store the xDB data. If you are using Web Forms for Marketers (WFFM) there is a database to store the data for that module too (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about Sitecore 8 xDB Architecture here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/platform/architecture_overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/platform/architecture_overview&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example of the DBs for an out of the box install of Sitecore 9:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Weo8a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Weo8a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9 there are many more databases as in 9.0 and 9.0.1 Sitecore stores xDB data in SQL server instead of in MongoDB. This changed in 9.0.2 and above there is MongoDB support again, so there will be less databases if you choose to use MongoDB instead of SQL for xDB. Also it ships with an replacement for WFFM called Experience Forms so has a database for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about Sitecore 9 xDB Architecture here: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/index.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-10-03T14:52:59.587" LastActivityDate="2018-10-03T14:52:59.587" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14227" PostTypeId="2" ParentId="14225" CreationDate="2018-10-02T19:12:30.047" Score="3" Body="&lt;h3&gt;Simplified version&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;For version 8, there are 4&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Core&lt;/strong&gt; &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Setting and Sitecore users&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Master&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All versioned content for authors&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Web&lt;/strong&gt;  &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All published content&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Reporting/Analytics&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Aggregated analytics data from processing of xDB session data&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For version 9, there are &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Core&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Setting and Sitecore users&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;EXM.Master&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Email experience manager content&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ExperienceForms&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Forms data from the new Sitecore 9 forms&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;MarketingAutomation&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All marketing automation rules and data.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Master&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All versioned content for authors&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Messaging&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Processing.Pools&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Processing.Tasks&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ReferenceData&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Reporting&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Aggregated analytics data from processing of xDB session data&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Web&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All published content&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-10-02T19:18:13.403" LastActivityDate="2018-10-02T19:18:13.403" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14229" PostTypeId="2" ParentId="1597" CreationDate="2018-10-02T21:34:50.907" Score="7" Body="&lt;p&gt;I recommend to integrate Google AMP with Sitecore by overriding the following pipelines:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;httpRequestBegin&lt;/code&gt; to check whether it is an AMP request (&lt;em&gt;for example&lt;/em&gt;, by &lt;code&gt;/amp/&lt;/code&gt; URL prefix or suffix) or not and, if a resolved item has an AMP view, set an AMP flag to true;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;mvc.buildPageDefinition&lt;/code&gt; to substitute a normal Layout with the AMP one for AMP requests on the fly;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;mvc.renderRendering&lt;/code&gt; to extend the standard &lt;code&gt;Vary By Param&lt;/code&gt; cache option to support the AMP view.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Please find the exact implementation on &lt;a href=&quot;https://github.com/kate-orlova/google-amp-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitHub&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="4390" LastEditorUserId="4390" LastEditDate="2020-12-25T06:56:10.227" LastActivityDate="2020-12-25T06:56:10.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14233" PostTypeId="2" ParentId="14218" CreationDate="2018-10-03T02:28:54.083" Score="3" Body="&lt;p&gt;I am running Sitecore 9.0 Update1 with Azure Search, and added custom index configurations in as well. The only time I found indexes are not returning results is when they are being re-indexed. So I recommend to check your indexing strategy, what do you currently have configured in your custom index &quot;sitecore-product-index&quot;?&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Basic indexing strategies for Azure Search&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;One option is to only set the index strategy to manual, and this would be a good one for you to test first. The index will only rebuild when you manually reindex from your CM server (control panel &gt; indexing manager), or you add code elsewhere to rebuild your index.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;    &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot; /&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you only want it to rebuild on publish (or a manual build), which is recommended if it might be outdated after item changes are published, then set this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;    &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could add other strategies, but its good to start with a basic one, and add only if you find you need the index to be updated more regularly. Which brings me to the next point:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Azure Search Index SwitchOnRebuild&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you do update an index regularly or it needs to be available for searching at all times (critical functionality), then another option with Azure Search is to enable SwitchOnRebuild, which basically adds two copies of each index, and Sitecore automatically uses the one that isn't being built to do searches (zero index downtime).&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/zero_downtime_index_rebuild_in_azure_search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/zero_downtime_index_rebuild_in_azure_search&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, this was only made available with Sitecore 9.0 Update 2. So you will have to upgrade your version to use it.&lt;/p&gt;&#xA;" OwnerUserId="1314" LastActivityDate="2018-10-03T02:28:54.083" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14234" PostTypeId="2" ParentId="6046" CreationDate="2018-10-03T07:02:05.730" Score="5" Body="&lt;p&gt;You can also easily extend Sitecore to set &lt;code&gt;Content-Disposition&lt;/code&gt; per file. To do this, add a new field on &lt;code&gt;File&lt;/code&gt; template, located here &lt;code&gt;/sitecore/templates/System/Media/Versioned/File&lt;/code&gt;. The best way is to create a new template and make &lt;code&gt;File&lt;/code&gt; template to inherit from it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The new field can be a checkbox named: &lt;code&gt;Set Content Disposition Inline&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you have to create your own &lt;code&gt;MediaRequestHandler&lt;/code&gt; and set it in &lt;code&gt;Web.config&lt;/code&gt;. You can do that with transform file like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;handlers&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;YourNamespace.MediaRequestHandler, AssemblyName&quot; name=&quot;Sitecore.MediaRequestHandler&quot; xdt:Transform=&quot;SetAttributes(type)&quot; xdt:Locator=&quot;Match(name)&quot; /&amp;gt;&#xA;    &amp;lt;/handlers&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The last piece of course is &lt;code&gt;MediaRequestHandler&lt;/code&gt;. You have to create a new class and inherit from existing one. This is how your class can looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MediaRequestHandler : Sitecore.Resources.Media.MediaRequestHandler&#xA;{&#xA;    protected override bool DoProcessRequest(HttpContext context, MediaRequest request, Sitecore.Resources.Media.Media media)&#xA;    {&#xA;        if (base.DoProcessRequest(context, request, media))&#xA;        {&#xA;            if (context.Response.StatusCode != 304)&#xA;            {&#xA;                if (media.MediaData.MediaItem.InnerItem[setContentDispositionFieldId] == &quot;1&quot;)&#xA;                {&#xA;                    var extension = media.Extension;&#xA;                    if (extension.Length &amp;gt; 0 &amp;amp;&amp;amp; extension[0] != '.')&#xA;                    {&#xA;                        extension = &quot;.&quot; + extension;&#xA;                    }&#xA;&#xA;                    var fileName = media.MediaData.MediaItem.Name + extension;&#xA;&#xA;                    context.Response.Headers[&quot;Content-Disposition&quot;] = $&quot;inline; filename=\&quot;{fileName}\&quot;&quot;;&#xA;                }&#xA;            }&#xA;&#xA;            return true;&#xA;        }&#xA;&#xA;        return false;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-10-03T07:02:05.730" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14235" PostTypeId="1" AcceptedAnswerId="14236" CreationDate="2018-10-03T07:22:33.860" Score="2" ViewCount="686" Body="&lt;p&gt;What does the &quot;Refresh Commerce Cache&quot; button in the Sitecore Content Editor exactly do?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does it perform a REST call on the XC9 Commerce Engine?&#xA;And if so, what would be the call (in Postman)?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-10-03T07:28:41.120" Title="What does the Refresh Commerce Cache button exactly?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14236" PostTypeId="2" ParentId="14235" CreationDate="2018-10-03T07:28:41.120" Score="7" Body="&lt;p&gt;I've decompiled the RefreshCacheCommand in the Sitecore.Commerce.Engine.Connect.dll assembly and apparently it clears the cache of the commerce data provider and then sitecore master and web databases:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CatalogRepository.DefaultCache.Clear();&#xA;CatalogRepository.MappingEntries = (ConcurrentDictionary&amp;lt;string, string&amp;gt;) null;&#xA;EngineConnectUtility.RefreshSitecoreCaches(&quot;master&quot;);&#xA;EngineConnectUtility.RefreshSitecoreCaches(&quot;web&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the sitecore process starts, the commerce data provider retrieves the catalog from the commerce engine and caches it internally (In the mapping entries). Clearing the cache will clear these entries and the data provider will refresh the catalog.&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-10-03T07:28:41.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14237" PostTypeId="2" ParentId="11016" CreationDate="2018-10-03T07:45:04.920" Score="0" Body="&lt;p&gt;If you are into Docker, you could give &lt;a href=&quot;https://github.com/avivasolutionsnl/sitecore-commerce-docker&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/avivasolutionsnl/sitecore-commerce-docker&lt;/a&gt; a try.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, you could use it (the Dockerfiles) as reference of how to get a minimal setup.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-10-03T07:45:04.920" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14238" PostTypeId="1" AcceptedAnswerId="14239" CreationDate="2018-10-03T09:01:06.283" Score="2" ViewCount="1256" Body="&lt;p&gt;I am using Sitecore 8.2 update 3 with Azure search service(Basic) in our application. While rebuilding the index,we get below error.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;7980 08:34:38 INFO Schema synchronization failed&#xA;   Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;   Message: Error while search service call, see details in message&#xA;   Source: Sitecore.ContentSearch.Azure&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage response)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.GetIndex()&#xA;   at Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer.RefreshLocalSchema()&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchService.SyncSchema(Object state)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;   Message: {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;You are sending too many requests. Please try again later.&quot;}}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I went through the Azure documentation for search-limits-quota-capacity but i don't find maximum number of requests we can make to Azure.&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/search/search-limits-quotas-capacity&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/search/search-limits-quotas-capacity&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Number of fields is less than 1000 and&#xA;Batch size is set to 100 in our application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can i check the number of service requests we have made ?&lt;/p&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="1913" LastEditDate="2018-10-04T05:15:51.843" LastActivityDate="2021-09-10T14:05:17.847" Title="Sitecore Azure Rebuild index error : sending too many requests" Tags="|azure-search|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14239" PostTypeId="2" ParentId="14238" CreationDate="2018-10-03T10:49:00.620" Score="2" Body="&lt;p&gt;I often encounter this error when there are too many indexes in the Azure search service. I use &lt;a href=&quot;https://www.getpostman.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Postman&lt;/a&gt; to 1) get a &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/list-indexes&quot; rel=&quot;nofollow noreferrer&quot;&gt;list of the indexes&lt;/a&gt; and 2) to &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/delete-index&quot; rel=&quot;nofollow noreferrer&quot;&gt;delete indexes&lt;/a&gt; which are not needed (our setup means each developer has their own indexes in Azure search and we often hit the limits!).&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-10-03T10:49:00.620" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14240" PostTypeId="1" AcceptedAnswerId="14241" CreationDate="2018-10-03T12:04:30.807" Score="1" ViewCount="248" Body="&lt;p&gt;I want to apply negative boosting to items, based on the value of an indexed checkbox field in order to move those items to the bottom of the search results. I am applying (positive) boosting to other fields as well which precludes me from simply ordering my results by the &lt;code&gt;discontinued&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am indexing the checkbox field as a string, as I believe this may be necessary in order to use boosting on this indexing field. I'm not certain of this though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My method for adding negative boost predicates is below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private IQueryable&amp;lt;IndexedItem&amp;gt; AddUnboostingPredicates(IQueryable&amp;lt;IndexedItem&amp;gt; queryable)&#xA;{&#xA;    return queryable.Where(item =&amp;gt; item[&quot;discontinued&quot;].Equals(&quot;1&quot;).Boost(-1000)&#xA;                                       || item[&quot;discontinued&quot;].Equals(&quot;0&quot;));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This code results in the error message&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;Failed to parse query string at line 1, column 70. See &lt;a href=&quot;https://aka.ms/azure-search-full-query&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://aka.ms/azure-search-full-query&lt;/a&gt; for supported syntax.&quot;}}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Looking at search.log file I believe this is the offending part of the query expression sent to Azure:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;(product_discontinued:(1)^-1000 OR product_discontinued:(0))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-10-03T12:18:38.467" Title="Content Search and Azure how to apply negative boost based on a checkbox value" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14241" PostTypeId="2" ParentId="14240" CreationDate="2018-10-03T12:18:38.467" Score="1" Body="&lt;p&gt;Azure Search does not seem to support negative boost values, as indicated &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/lucene-query-syntax-in-azure-search#bkmk_termboost&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To boost a term use the caret, &quot;^&quot;, symbol with a boost factor (a number) at the end of the term you are searching. You can also boost phrases. The higher the boost factor, the more relevant the term will be relative to other search terms. By default, the boost factor is 1. Although &lt;strong&gt;the boost factor must be positive&lt;/strong&gt;, it can be less than 1 (for example, 0.20).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-10-03T12:18:38.467" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14242" PostTypeId="1" CreationDate="2018-10-03T12:32:15.527" Score="8" ViewCount="4715" Body="&lt;p&gt;Not really sure where to go from here.  Trying to install Sitecore 9 and have gotten to this point and can't seem to get beyond it.  It tells me that the property value cannot be found, but I have no idea what property value or how to even turn more debug information on - note I change the name to something.xconnect - it was using the correct prefix because it did set up the website in IIS and created the folder under the webroot(C:\inetpub\wwwroot\something.xconnect) as I would have expected.   Any pointers to help get me on track would be greatly appreciated since this is my first install and it is turning out to be painful.  I know that there was anothing post similar related to value and I checked those things and it didn't seem like it was any of those things, but went through and did check that before posting this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[------------------------------------------- CreateWebsite : Website -------------------------------------------------]&#xA;[CreateWebsite]:[Exists] something.xconnect&#xA;[CreateWebsite]:[Setting] applicationPool =&gt; something.xconnect&#xA;[CreateWebsite]:[Setting] physicalPath =&gt; C:\inetpub\wwwroot\something.xconnect&#xA;[--------------------------------------------- StopWebsite : ManageWebsite -------------------------------------------]&#xA;[StopWebsite]:[Stop] something.xconnect&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Command start time: 20181002193908&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;PS&gt;TerminatingError(CheckWebsiteState): &quot;The property 'Value' cannot be found on this object. Verify that the property exists.&quot;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;blockquote&gt;&#xA;    &lt;p&gt;TerminatingError(Invoke-ManageWebsiteTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: The property 'Value' cannot be found on this object. Verify that the property exists.&quot;&#xA;    TerminatingError(Invoke-ManageWebsiteTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: The property 'Value' cannot be found on this object. Verify that the property exists.&quot;&#xA;    Install-SitecoreConfiguration : The property 'Value' cannot be found on this object. Verify that the property exists.&#xA;    At C:\deploy\Sitecore-Commerce-Install-Scripts\sc-install\scripts\Install-Sitecore-XP.ps1:44 char:1&#xA;    + Install-SitecoreConfiguration @xconnectParams&#xA;    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;    Install-SitecoreConfiguration : The property 'Value' cannot be found on this object. Verify that the property exists.&#xA;    At C:\deploy\Sitecore-Commerce-Install-Scripts\sc-install\scripts\Install-Sitecore-XP.ps1:44 char:1&#xA;    + Install-SitecoreConfiguration @xconnectParams&#xA;    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;  &lt;/blockquote&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4393" LastActivityDate="2023-12-06T10:04:09.227" Title="Install-SitecoreConfiguration : The property 'Value' cannot be found on this object" Tags="|sitecore-install-framework|installation|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14245" PostTypeId="2" ParentId="14203" CreationDate="2018-10-03T13:06:29.490" Score="1" Body="&lt;p&gt;You may need to create custom SingleLineText field for this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ValidationProperty(&quot;Text&quot;)]&#xA;public class SingleLineText : Sitecore.Form.Web.UI.Controls.SingleLineText&#xA;{&#xA;    [VisualCategory(&quot;Custom Properties&quot;)]&#xA;    [VisualProperty(&quot;Autofill&quot;, 2)]&#xA;    [DefaultValue(&quot;off&quot;)]&#xA;    public string Autofill { get; set; }&#xA;&#xA;    protected override void OnInit(EventArgs e)&#xA;    {&#xA;        // Set placeholder text, if present&#xA;        if (!string.IsNullOrEmpty(Autofill))&#xA;        {&#xA;            textbox.Attributes[&quot;autocomplete&quot;] = Autofill;&#xA;        }&#xA;&#xA;        base.OnInit(e);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, You need to create field definition item under, Name it &quot;Extended SingleLineText&quot;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field&#xA;  Types/Custom/&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Set the assembly name and class name to use the class you created for this field, Then you can use your new field which by default will disable autocomplete/autofill for you, since the autocomplete is set to &quot;off&quot;.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-10-03T13:06:29.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14246" PostTypeId="1" AcceptedAnswerId="14261" CreationDate="2018-10-03T13:53:49.963" Score="1" ViewCount="93" Body="&lt;p&gt;&lt;em&gt;Similar&lt;/em&gt; to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14240/content-search-and-azure-how-to-apply-negative-boost-based-on-a-checkbox-value&quot;&gt;my earlier question&lt;/a&gt;, I need a way to move certain items to the end of my search results, &lt;strong&gt;without using ordering&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a checkbox field (currently indexed as a string, containing &quot;1&quot; or &quot;0&quot;). I need the checked items (&quot;1&quot;) to be at the bottom of the results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally, it would be possible to do this with ordering, but since I am boosting certain fields, applying ordering operations screws up the result relevancy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a method which adds predicates to my &lt;code&gt;IQueryable&lt;/code&gt; object containing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;queryable.Where(item =&amp;gt; item[&quot;discontinued&quot;].Equals(&quot;1&quot;).Boost(1.0f)&#xA;                     || item[&quot;discontinued&quot;].Equals(&quot;0&quot;).Boost(4.0f));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found from my earlier question that you cannot use negative boost values with Azure search, so I instead tried to give a higher boost for the unchecked items than the checked ones. &lt;em&gt;Is this even possible?&lt;/em&gt;: &lt;strong&gt;to use two different boost values against the same field depending on the value?&lt;/strong&gt;. My current testing seems to show that this does not work.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-10-04T09:06:00.420" Title="Content Search and Azure how to move items to the bottom of search results with boosting" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14247" PostTypeId="1" CreationDate="2018-10-03T13:55:15.967" Score="0" ViewCount="172" Body="&lt;p&gt;I have created a custom benefit/action for a promotion. When user applies the promo, nothing happens. There are no errors when i check in debug. The code is hit though.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Execute(IRuleExecutionContext context)&#xA;{&#xA;    .....code&#xA;    ......&#xA;   ApplyDiscountPercentForLineItems(commerceContext,  validCartLineItems, discountPercent, &#xA;  awardingBlockName);&#xA;}&#xA;&#xA;public static void ApplyDiscountPercentForLineItems(CommerceContext commerceContext, &#xA;                     List&amp;lt;CartLineItem&amp;gt; validCartLineItems, decimal discountPercent, &#xA;                     string awardingBlockName)&#xA;{&#xA;   var cart = (commerceContext.Objects.OfType&amp;lt;Cart&amp;gt;()).FirstOrDefault();&#xA;   var totals = (commerceContext.Objects.OfType&amp;lt;CartTotals&amp;gt;()).FirstOrDefault();&#xA;&#xA;   var model = commerceContext.Objects.OfType&amp;lt;PropertiesModel&amp;gt;().FirstOrDefault();&#xA;&#xA;   foreach (var line in validCartLineItems)&#xA;   {&#xA;     var discount = commerceContext.GetPolicy&amp;lt;KnownCartAdjustmentTypesPolicy&amp;gt;().Discount;&#xA;     var d = discountPercent;&#xA;&#xA;     if (commerceContext.GetPolicy&amp;lt;GlobalPricingPolicy&amp;gt;().ShouldRoundPriceCalc)&#xA;     {&#xA;       d = decimal.Round(d, commerceContext.GetPolicy&amp;lt;GlobalPricingPolicy&amp;gt;().RoundDigits,&#xA;           commerceContext.GetPolicy&amp;lt;GlobalPricingPolicy&amp;gt;().MidPointRoundUp ? &#xA;           MidpointRounding.AwayFromZero : MidpointRounding.ToEven);&#xA;     }&#xA;&#xA;    decimal amount;    &#xA;    var currentAmount = totals.Lines[line.Id].SubTotal.Amount;    &#xA;    amount = currentAmount - (currentAmount * d / 100);&#xA;    amount = amount * decimal.MinusOne;&#xA;    totals.Lines[line.Id].SubTotal.Amount += amount;&#xA;&#xA;    var item = new CartLineLevelAwardedAdjustment&#xA;    {&#xA;      Name = (string)model.GetPropertyValue(&quot;PromotionText&quot;),&#xA;      DisplayName = (string)model.GetPropertyValue(&quot;PromotionCartText&quot;),&#xA;      Adjustment = new Money(commerceContext.CurrentCurrency(), amount),&#xA;      AdjustmentType = discount,&#xA;      IsTaxable = false,&#xA;      AwardingBlock = awardingBlockName,&#xA;      IncludeInGrandTotal = true&#xA;    };&#xA;&#xA;   line.Adjustments.Add(item);&#xA;&#xA;   line.GetComponent&amp;lt;MessagesComponent&amp;gt;().AddMessage(&#xA;   commerceContext.GetPolicy&amp;lt;KnownMessageCodePolicy&amp;gt;().Promotions, &#xA;   $&quot;PromotionApplied: {model.GetPropertyValue(&quot;PromotionId&quot;)}&quot;);&#xA; }           &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2018-10-03T14:01:18.330" LastActivityDate="2018-11-16T00:02:45.570" Title="How to create a custom benefit" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14249" PostTypeId="2" ParentId="14225" CreationDate="2018-10-03T14:32:59.063" Score="3" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;...can there be more?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;One possible response is yes- to leverage a &lt;strong&gt;Preview Publishing Target&lt;/strong&gt;. In this scenario you would duplicate your &lt;code&gt;web&lt;/code&gt; database, connection string and definition. Rename to &lt;code&gt;preview&lt;/code&gt; (for example).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Connection Strings&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;preview&quot; connectionString=&quot;user id=sitecore;password=sitecore;Data Source=(local);Database=Sitecore_Preview&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Definition&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;databases&amp;gt;&#xA;    &amp;lt;!-- preview --&amp;gt;&#xA;    &amp;lt;database id=&quot;preview&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;      &amp;lt;icon&amp;gt;Images/database_web.png&amp;lt;/icon&amp;gt;&#xA;      &amp;lt;securityEnabled&amp;gt;true&amp;lt;/securityEnabled&amp;gt;&#xA;      &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;        &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;          &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;          &amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;            &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Common.config&quot; /&amp;gt;&#xA;            &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Webdb.config&quot; /&amp;gt;&#xA;          &amp;lt;/prefetch&amp;gt;&#xA;        &amp;lt;/dataProvider&amp;gt;&#xA;      &amp;lt;/dataProviders&amp;gt;&#xA;      &amp;lt;proxiesEnabled&amp;gt;false&amp;lt;/proxiesEnabled&amp;gt;&#xA;      &amp;lt;proxyDataProvider ref=&quot;proxyDataProviders/main&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;      &amp;lt;archives hint=&quot;raw:AddArchive&quot;&amp;gt;&#xA;        &amp;lt;archive name=&quot;archive&quot; /&amp;gt;&#xA;        &amp;lt;archive name=&quot;recyclebin&quot; /&amp;gt;&#xA;      &amp;lt;/archives&amp;gt;&#xA;      &amp;lt;cacheSizes hint=&quot;setting&quot;&amp;gt;&#xA;        &amp;lt;data&amp;gt;100MB&amp;lt;/data&amp;gt;&#xA;        &amp;lt;items&amp;gt;50MB&amp;lt;/items&amp;gt;&#xA;        &amp;lt;paths&amp;gt;2500KB&amp;lt;/paths&amp;gt;&#xA;        &amp;lt;itempaths&amp;gt;50MB&amp;lt;/itempaths&amp;gt;&#xA;        &amp;lt;standardValues&amp;gt;2500KB&amp;lt;/standardValues&amp;gt;&#xA;      &amp;lt;/cacheSizes&amp;gt;&#xA;    &amp;lt;/database&amp;gt;&#xA;  &amp;lt;/databases&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Workflow Considerations&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;With two web databases, you can leverage the &lt;strong&gt;Preview Publishing Target&lt;/strong&gt; setting. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Publishing Target&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xeXpt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xeXpt.png&quot; alt=&quot;Preview Publishing Target&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Workflow State&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1Dp5n.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Dp5n.png&quot; alt=&quot;Workflow Preview State&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will promote items in this workflow state immediately to your preview target. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are additional considerations with this configuration such as a separate CM and CD instances and indexing that fall outside the scope of your specific question. But, short answer, yes you can have additional databases.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-10-03T14:32:59.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14250" PostTypeId="1" AcceptedAnswerId="14257" CreationDate="2018-10-03T15:16:56.323" Score="3" ViewCount="804" Body="&lt;p&gt;How to add &lt;code&gt;DisplayName&lt;/code&gt; in another language version from code?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;createCategoryCommand.Process(context, category.ParentCatalogId, category.Name, category.DisplayName, category.Description);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;commands don't accept language parameter and I cannot find any other method for that.&lt;/p&gt;&#xA;" OwnerUserId="4315" LastActivityDate="2021-02-23T11:02:32.533" Title="Add localization to entity" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14252" PostTypeId="1" AcceptedAnswerId="17782" CreationDate="2018-10-03T17:27:51.437" Score="2" ViewCount="470" Body="&lt;p&gt;Is there an easy way to find a list of recommended patches for a specific Sitecore version/update? I can see that individual patches are recommended for a particular version but I can't find a a list of all recommended patches.&lt;/p&gt;&#xA;" OwnerUserId="444" LastActivityDate="2021-10-22T05:13:20.713" Title="List of recommended patches for specific Sitecore version" Tags="|configuration|security|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14253" PostTypeId="1" CreationDate="2018-10-03T17:30:55.087" Score="0" ViewCount="643" Body="&lt;p&gt;I'm unable yet to locate a particular &quot;Item owner:  &lt;strong&gt;sitecore\smith&lt;/strong&gt;&quot; value I see well-and-alive in Content Editor &quot;Quick Info&quot; of an item, but not in the SQL Server backend tables. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I often pull a convenient SELECT query over the:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Items &lt;/li&gt;&#xA;&lt;li&gt;VersionedFields&lt;/li&gt;&#xA;&lt;li&gt;unVersionedFields&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;tables, but this particular field VALUE doesn't seem to live there. I went to other tables like History, but still didn't find it there either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be noted is that it's a content that is created from an importing agent automation from a CSV file. So the __owner &quot;sitecore\smith&quot; is from the developer under which the import agent executes, rather that the real Sitecore end-user. But does it really matter as to simply find where this value &quot;sitecore\smith&quot; lives in the backend tables..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you!&lt;/p&gt;&#xA;" OwnerUserId="1206" LastActivityDate="2018-10-03T19:30:24.877" Title="Where is the value &quot;Item owner: sitecore\smith&quot; from &quot;Quick Info&quot; living in back-end SQL tables?" Tags="|sql-database|sitecore-query|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14254" PostTypeId="1" CreationDate="2018-10-03T17:47:02.677" Score="9" ViewCount="1907" Body="&lt;p&gt;I have ContentSearch code that works and runs fine using Lucene. When I switch the configs over to Solr, the query fails, and the logs state that the field I'm using in the query doesn't exist.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;tags&quot;)]&#xA;public IEnumerable&amp;lt;ID&amp;gt; Tags { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;16644 13:34:20 ERROR Solr Error : [&quot;undefined field tags&quot;] - Query&#xA;  attempted: [((_template:(2d7ad1cb107e44158690c03e0b65f90c) AND&#xA;  -_name:(&quot;__Standard Values&quot;)) AND tags:(fc8ac78af9aa495fb4ee08aca0444e1b))]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Note that the error says 'undefined field tags', but really, this should be &lt;code&gt;tags_sm&lt;/code&gt; when Sitecore adds the suffix to the query.&#xA;Changing &lt;code&gt;[IndexField(&quot;tags&quot;)]&lt;/code&gt; to &lt;code&gt;[IndexField(&quot;tags_sm&quot;)]&lt;/code&gt; gets it working....but now my code is Search Provider dependent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there something I'm missing to make this work without the suffix? I thought Sitecore would automatically add it in there?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is how the query looks:-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var filterPredicate = PredicateBuilder.True&amp;lt;ArticleSearchResultItem&amp;gt;()&#xA;                .And(x =&amp;gt; x.TemplateId == IArticlePageItemConstants.TemplateId &amp;amp;&amp;amp; x.Name != &quot;__Standard Values&quot;);&#xA;&#xA;if (parameters.TagId != (ID)null &amp;amp;&amp;amp; parameters.TagId != ID.Null)&#xA;{&#xA;   filterPredicate = filterPredicate.And(x =&amp;gt; x.Tags.Contains(parameters.TagId));&#xA;}&#xA;&#xA;var queryable = searchContext.GetQueryable&amp;lt;ArticleSearchResultItem&amp;gt;();&#xA;var searchResults = queryable&#xA;                .Where(filterPredicate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is on Sitecore 8.1 Update-2, using Solr 6.1.0.&#xA;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2022-03-03T00:04:13.773" Title="Solr Search Model doesn't work without the dynamic field suffix" Tags="|content-search|solr|" AnswerCount="2" CommentCount="6" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14255" PostTypeId="2" ParentId="14253" CreationDate="2018-10-03T18:37:31.310" Score="2" Body="&lt;p&gt;&lt;code&gt;Item owner&lt;/code&gt; is a versioned field of an item. You can see it in the &lt;code&gt;Security&lt;/code&gt; section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2yMgd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2yMgd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o5gE5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o5gE5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to find that value for given item in a Sitecore database, you can use a query like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT &#xA;    *&#xA;FROM &#xA;    [VersionedFields]&#xA;  WHERE &#xA;    FieldId = '52807595-0F8F-4B20-8D2A-CB71D28C6103'&#xA;AND&#xA;  ItemId = '110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ake2v.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ake2v.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-10-03T19:30:24.877" LastActivityDate="2018-10-03T19:30:24.877" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14256" PostTypeId="1" AcceptedAnswerId="14281" CreationDate="2018-10-03T20:42:05.220" Score="1" ViewCount="780" Body="&lt;p&gt;I'm using &lt;code&gt;@Html.Glass().Editable(Model, x =&amp;gt; x.MyProperty)&lt;/code&gt; for some of our single-text / rich text fields. When I load the site with this code in the view everything looks fine. However, when I open the Experience Editor I see this error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Value cannot be null. Parameter name: objectToSwitchTo.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.Common.Switcher`2.Enter(TValue objectToSwitchTo)&#xA;   at Glass.Mapper.Sc.GlassHtml.MakeEditable[T](Expression`1 field, Expression`1 standardOutput, T model, Object parameters, Context context, Database database, TextWriter writer)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've seen a few other SO threads about this but no real solutions for me. I'm using a data source set on the rendering. I've stepped through the entire process and don't see any null attributes in my model after using &lt;code&gt;GetDataSourceItem&amp;lt;MyClass&amp;gt;&lt;/code&gt;. However, one thing I noticed is that my Sitecore ID field is all zeroes. I saw a different error prior to this, saying I needed to add a Sitecore ID field to my model, so I did. My code for the ID field is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [SitecoreId]&#xA;    public virtual Guid Id { get; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Glass version is &lt;code&gt;4.5.0.4&lt;/code&gt; which I believe is still pretty recent.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2018-11-03T23:00:18.500" Title="Glass Error opening Experience Editor (ObjectToSwitchTo)" Tags="|glass-mapper|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14257" PostTypeId="2" ParentId="14250" CreationDate="2018-10-03T23:08:12.880" Score="5" Body="&lt;p&gt;You will need to save category first and then provide localizations for it. Let's say you already have &lt;code&gt;Category categoryEntity&lt;/code&gt;. You then need to do the following steps:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// getting localization entity for your category. it will automatically create new if there is no existing one&#xA;LocalizationEntity localizationEntity = await this.localizeEntityPropertyCommand.GetLocalizationEntity(context.CommerceContext, categoryEntity);&#xA;&#xA;// preparing translations&#xA;List&amp;lt;Parameter&amp;gt; localizations = new List&amp;lt;Parameter&amp;gt;&#xA;                                    {&#xA;                                        new Parameter&#xA;                                            {&#xA;                                                Key = &quot;en&quot;, Value = &quot;Default Display Name&quot;&#xA;                                            },&#xA;                                        new Parameter&#xA;                                            {&#xA;                                                Key = &quot;fr-FR&quot;, Value = &quot;French Display Name&quot;&#xA;                                            }&#xA;                                    };&#xA;&#xA;// adding localizations for DisplayName property&#xA;localizationEntity.AddOrUpdatePropertyValue(&quot;DisplayName&quot;, localizations);&#xA;&#xA;// saving localization entity to database&#xA;await this.persistEntityPipeline.Run(new PersistEntityArgument(localizationEntity), context);&#xA;&#xA;// this is needed if initial category didn't have LocalizedEntityComponent to link category with localization entity&#xA;if (!categoryEntity.HasComponent&amp;lt;LocalizedEntityComponent&amp;gt;())&#xA;{&#xA;    categoryEntity.SetComponent(new LocalizedEntityComponent(localizationEntity.Id, localizationEntity.Name));&#xA;&#xA;    // saving category entity to database&#xA;    await this.persistEntityPipeline.Run(new PersistEntityArgument(categoryEntity), context);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="139" LastActivityDate="2018-10-03T23:08:12.880" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14258" PostTypeId="1" AcceptedAnswerId="14260" CreationDate="2018-10-04T05:41:31.397" Score="1" ViewCount="904" Body="&lt;p&gt;I have a requirement to implement a custom search box and pull search results based on scope and then present the search results by combining components created using two templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to use the Search method in ISearchService - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IEnumerable&amp;lt;Item&amp;gt; results = new List&amp;lt;Item&amp;gt;();&#xA;results = searchService.Search(&quot;&quot;, scopeItem.ID.ToString(), Sitecore.Context.Language.ToString());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Search method is expecting a string query as first argument, which if I pass as my search term is not giving me any results.&#xA;But if I query for an empty string, I am getting all items from the Scope in the result set. I am doing string operations to see if any of the fields contains my search term.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking for a better way to implement this something like - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;results = searchService.Search(searchTerm, scopeItem.ID.ToString(), Sitecore.Context.Language.ToString());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="2617" LastEditorUserId="851" LastEditDate="2018-10-04T07:42:33.497" LastActivityDate="2018-12-03T09:01:30.297" Title="Search using a Search string in SXA Search service" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14260" PostTypeId="2" ParentId="14258" CreationDate="2018-10-04T07:56:01.427" Score="3" Body="&lt;p&gt;I would suggest using &lt;code&gt;SearchService&lt;/code&gt; to build query like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IQueryable&amp;lt;ContentPage&amp;gt; query = SearchService.GetQuery(new SearchQueryModel&#xA;{&#xA;    Coordinates = model.Coordinates, //not needed if you are not using geo-search&#xA;    ItemID = model.ItemID,&#xA;    Languages = model.Languages,&#xA;    Query = model.Query,&#xA;    ScopesIDs = model.ScopesIDs,&#xA;    Site = model.Site&#xA;}, out indexName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(&lt;em&gt;implementation took for SXA code - model which you see is not required, you can pass params in a different way&lt;/em&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and then just use that query to pull the items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IEnumerable&amp;lt;Item&amp;gt; items = query.Select(r =&amp;gt; r.GetItem())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is how it works in the SXA search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you still want to go with &lt;code&gt;Search(QueryModel model)&lt;/code&gt; method if &lt;code&gt;SearchService&lt;/code&gt; then keep in mind it's using &lt;code&gt;GetQuery&lt;/code&gt; method inside anyway. We are using this &lt;code&gt;Search&lt;/code&gt; method explicitly only in one of out JSON renderings. Here is an example usage:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SearchService.Search(new QueryModel&#xA;{&#xA;    Query = HttpContext.Current.Request.Params[&quot;q&quot;],&#xA;    Offset = Offset,&#xA;    PageSize = PageSize,&#xA;    Sortings = new List&amp;lt;string&amp;gt;(),&#xA;    Languages = new List&amp;lt;string&amp;gt;(),&#xA;    ScopesIDs = new List&amp;lt;ID&amp;gt;()&#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-10-04T07:56:01.427" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14261" PostTypeId="2" ParentId="14246" CreationDate="2018-10-04T09:06:00.420" Score="0" Body="&lt;p&gt;I found &lt;a href=&quot;https://www.brimit.com/blog/boosting-search-result-multilist-field&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; which shows a similar approach to boosting (see the end of last code sample, toward the bottom) which confirms that my &lt;em&gt;logic&lt;/em&gt; was correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The error was my choice of boost values.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am boosting around 15 &lt;em&gt;other&lt;/em&gt; fields with values in the range of &lt;code&gt;24&lt;/code&gt; to &lt;code&gt;50&lt;/code&gt;. I guess that in order for this boost rule to have greater influence than the other ones it needs to be orders of magnitude greater (probably) than the other boost values (this must depend on the number of boosted fields and the frequency of occurrences of search terms). What I found was that upping the boost for non-discontinued items to &lt;code&gt;1000&lt;/code&gt; fixed the problem. Not a very scientific way to fix the problem, but it seems to work. Note that in my case, I need the discontinued boosting to be used like sorting i.e. to take higher precedence than any of the other boosting rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code now looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;queryable.Where(item =&amp;gt; item[&quot;discontinued&quot;].Equals(&quot;1&quot;).Boost(1f)&#xA;                     || item[&quot;discontinued&quot;].Equals(&quot;0&quot;).Boost(1000f));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On a side note, I experimented with changing the type of the &lt;code&gt;discontinued&lt;/code&gt; field from string to bool in the index, but this did not work. You cannot use boosting on a bool field, but you can use sorting.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-10-04T09:06:00.420" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14263" PostTypeId="2" ParentId="13318" CreationDate="2018-10-04T10:08:47.887" Score="0" Body="&lt;p&gt;Kindly find Jan Bluemink's answer that solved my issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/52626472/jss-is-not-recognized-as-an-internal-or-external-command&quot;&gt;https://stackoverflow.com/questions/52626472/jss-is-not-recognized-as-an-internal-or-external-command&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Check your environment path variable. Default the npm location on Windows is &lt;code&gt;C:\Users{user}\AppData\Roaming\npm&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There you found a jss.cmd and the &lt;code&gt;node_modules\@sitecore-jss folder&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;To fix the &quot;jss&quot; is not recognized as an internal or external command, operable program or batch file.&quot; error add the npm location to your path or shortly &lt;code&gt;%AppData%\npm&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;To add somethings to the path go to control panel -&gt; System and Security -&gt; System -&gt; Advanced System Settings then environment variables.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you cant found the npm location try&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;npm config get prefix&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4377" LastEditorUserId="2948" LastEditDate="2018-10-04T12:55:25.807" LastActivityDate="2018-10-04T12:55:25.807" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14264" PostTypeId="1" CreationDate="2018-10-04T11:01:05.477" Score="3" ViewCount="222" Body="&lt;p&gt;We have a requirement where we need to make lots and lots of legally mandated content throughout the site. This also requires a significant content tree and data source restructure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this content needs to be published only on specified date e.g. 1st Feb 2019. This content changes will take hours and another few hours for testing etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Options below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Restore prod content to UAT and make content changes a couple of weeks eariler. This mean content change needs to be freezed otherwise it will lead to in-consistency.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make changes directly in prod week earlier. Same issue as above.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;make changes as part day of release. Too many changes which leads to error and testing impacts.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Does sitecore provide any feature out of box to solve this type of scenario?&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2018-10-04T16:50:41.897" Title="Feature toggle CMS Content" Tags="|content-delivery|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14265" PostTypeId="1" CreationDate="2018-10-04T12:54:58.103" Score="0" ViewCount="130" Body="&lt;p&gt;Is there any way to use inline style for the JSS React components?&#xA;I have tried:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const inlineStyle = { width: '100%' }&#xA;const Example = () =&amp;gt;&#xA;    &amp;lt;Image style={ inlineStyle } /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the style seems to be ignored. The output is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Expected:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img style=&quot;width: 100%&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have read the release notes but cant se anything about ignoring styles.&lt;/p&gt;&#xA;" OwnerUserId="4398" LastActivityDate="2018-10-15T20:54:12.307" Title="Inline style React components not working" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14267" PostTypeId="1" AcceptedAnswerId="14268" CreationDate="2018-10-04T13:15:38.023" Score="0" ViewCount="168" Body="&lt;p&gt;Is there any existing documentation on how to migrate custom facets from SC8 xDB contacts to SC9 using the migration tool?&lt;/p&gt;&#xA;" OwnerUserId="3557" LastActivityDate="2018-10-04T13:33:12.870" Title="xDB SC 8 to SC9 migration and custom facets" Tags="|xdb|xconnect|migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14268" PostTypeId="2" ParentId="14267" CreationDate="2018-10-04T13:33:12.870" Score="4" Body="&lt;p&gt;&lt;a href=&quot;http://integrationsdn.sitecore.net/xDBDataMigrationTool/v2.0.1/adding-custom-data/facets/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://integrationsdn.sitecore.net/xDBDataMigrationTool/v2.0.1/adding-custom-data/facets/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will explain how to determine the data to migrate, how to write the components to store your data, how to map the data from MongoDB to xConnect Contact facets and how to use the needed pipelines.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-10-04T13:33:12.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14269" PostTypeId="1" AcceptedAnswerId="14270" CreationDate="2018-10-04T13:47:05.657" Score="4" ViewCount="482" Body="&lt;p&gt;What is the best practice to change styling of OOTB components in SXA?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are we allowed to change main.css and also any component-{componentname}.css in our custom theme?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this compatible with upgrade? Are there any downsides?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have tried to create our own custom.css file but we need to use &lt;code&gt;!important;&lt;/code&gt; notation almost on every class to make it working and override existing styles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using SXA 1.7.1.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-10-04T13:55:13.293" Title="How to change styling of OOTB components in SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14270" PostTypeId="2" ParentId="14269" CreationDate="2018-10-04T13:55:13.293" Score="5" Body="&lt;p&gt;When you export your theme, there are sass files. &lt;code&gt;component-*.scss&lt;/code&gt; - you should use those to customize your styles. Don't directly change the &lt;code&gt;*.css&lt;/code&gt; files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once that theme is exported, it does not get overwritten by any upgrades, if the basic theme gets updated in a future upgrade you can always compare that against your custom theme and bring any changes over. The theme is yours to edit as you need to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you have found, trying to override the existing files, ends up being painful and just adds a lot of bloat to your styles. So just use the files that the theme has given you and modify those. I have done this in multiple projects now and haven't had any problems upgrading so far.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its also good practice to follow the theme folder structure. So if you have an optional style, add it to the &lt;code&gt;sass/styles/&amp;lt;my component&amp;gt;&lt;/code&gt; folder, or if you are styling a rendering variant, add it to the &lt;code&gt;sass/variants/&amp;lt;my component&amp;gt;/&amp;lt;variant-name&amp;gt;&lt;/code&gt; folder. Make sure that your main &lt;code&gt;sass/component-mycomponent.scss&lt;/code&gt; file imports those of course. This makes things nice and easy to find when you are fixing issues in the styles of the site.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-10-04T13:55:13.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14271" PostTypeId="1" CreationDate="2018-10-04T14:06:14.613" Score="3" ViewCount="575" Body="&lt;p&gt;Is there an easy way using SPE to determine whether an item has been published?&lt;/p&gt;&#xA;" OwnerUserId="444" LastActivityDate="2018-10-04T15:40:37.607" Title="Determining whether item has been published" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14273" PostTypeId="2" ParentId="1975" CreationDate="2018-10-04T15:28:17.033" Score="0" Body="&lt;p&gt;Every time when I work with placeholders I try to wrap them in custom style which appears only in Experience editor. It helps content editors understand where is the edge of placeholder and help to select nested placeholders. Example below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Sitecore.Mvc.Presentation.RenderingModel&#xA;@{&#xA;    string style = &quot;&quot;;&#xA;    if (!Sitecore.Context.PageMode.IsNormal &amp;amp;&amp;amp; Sitecore.Context.PageMode.IsExperienceEditor)&#xA;    {&#xA;        style = &quot;min-height:200px; min-width:100px; border:1px dotted black; background-color: hotpink; padding-bottom:15px&quot;;&#xA;    }&#xA;}&#xA;&amp;lt;section class=&quot;some-class&quot; style=&quot;@style&quot;&amp;gt;&#xA;    @Html.Sitecore().DynamicPlaceholder(&quot;your-placeholder&quot;, CreatePlaceholderWrapper(), 2, 4)&#xA;&amp;lt;/section&amp;gt;&#xA;@functions&#xA;{&#xA;    TagBuilder CreatePlaceholderWrapper()&#xA;    {&#xA;        var tagBuilder = new TagBuilder(&quot;div&quot;);&#xA;        tagBuilder.Attributes.Add(&quot;style&quot;, &quot;min-width:200px; min-height:100px; border:1px dotted black; background-color: pink;&quot;);&#xA;        return tagBuilder;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1857" LastActivityDate="2018-10-04T15:28:17.033" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14274" PostTypeId="2" ParentId="14271" CreationDate="2018-10-04T15:40:37.607" Score="2" Body="&lt;p&gt;If you are interested seeing an example visible through the gutter, enable the &lt;strong&gt;Publishing Status Gutter&lt;/strong&gt; module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GiRCs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GiRCs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to try it out:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;navigate to the Script Library&lt;/li&gt;&#xA;&lt;li&gt;enable the Publishing Status Gutter module&lt;/li&gt;&#xA;&lt;li&gt;rebuild the integration points&lt;/li&gt;&#xA;&lt;li&gt;enable the gutter.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RQDLX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RQDLX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-10-04T15:40:37.607" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14275" PostTypeId="1" CreationDate="2018-10-04T16:35:38.447" Score="1" ViewCount="522" Body="&lt;p&gt;We have created a version of sellable items in the product catalog. It is in the draft mode. When I search the same item, we found two different items in the sitecore_web_index. One for the earlier version and another is for draft version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per my understanding, once the product catalog will be approved and published, it should go to the sitecore_web_index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please can somebody will help me in not getting index of the draft version of the sellable item. &lt;/p&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2018-11-04T12:00:46.407" Title="Product catalog's sellabe item - index in Sitecore_Web_Index" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14276" PostTypeId="2" ParentId="14264" CreationDate="2018-10-04T16:50:41.897" Score="2" Body="&lt;p&gt;Just brainstorming here, but one way of approaching this would be to go with a 'multisite' scenario, which could be risky depending on how many hard-coded GUIDs you are using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A secondary site with the new structure and content can be set up, completely published, and ready to go. When you are ready to swap, the host mappings can be updated so your new content path resolves instead of the old one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to share content, you could use 'clones', I suppose. This would make sure edits from the original content translate over to your new site, but you can have the items in a different structure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you didn't have the restructuring happening, i.e. you were only editing the items content and presentation, versioning and workflow would allow you to do this. As soon as you need to physically alter the tree structure of the content you can't use the built-in item versioning for that and need to have a different tree somewhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Post-launch you could then slowly replace your clones with the original items and retire the old content tree path.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-10-04T16:50:41.897" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14277" PostTypeId="2" ParentId="13657" CreationDate="2018-10-04T17:45:20.960" Score="1" Body="&lt;p&gt;Our front end team works separately in Pattern Lab, and we don't require them to have Sitecore running to do their work. It's just not efficient for them to have to learn Sitecore or manage a local Sitecore environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We typically take their compiled FE assets and put them at the Project level, this is done with a gulp task when we run a build/deploy. This way you can have some common base assets that are shared by all sites, then specific Project files for site specific overrides or themes. You can organize your FE assets by tenant/site according to the Helix principles this way, at the Project level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Habitat advocates keeping FE assets alongside the features, and that's great for full stack teams, but it's not practical for our team's workflow.&lt;/p&gt;&#xA;" OwnerUserId="499" LastActivityDate="2018-10-04T17:45:20.960" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14279" PostTypeId="2" ParentId="13657" CreationDate="2018-10-04T20:49:41.867" Score="1" Body="&lt;p&gt;The question might be a little too broad for StackExchange, since it invites discussion, but, what we do is as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our design team works within their own space, using Jekyll to generate a static site on pages and modules. While creating modules they determine the CSS/SASS (and JS/hopefully TypeScript one day) necessary for those individual modules to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They have a build process (currently Grunt) that compiles minified CSS and JS for the entire site (collection of almost all modules). Those assets are deployed to Azure as a versioned (/yyyy/mm.dd/...) release, and they let the dev team know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a project layer module (&lt;code&gt;Xxx.Project.Common&lt;/code&gt;, since our websites share the outer wrapper) that defines the main layout(s) and adds the base CSS/JS includes within those layouts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We then have a &lt;code&gt;Xxx.Feature.Yyy&lt;/code&gt; module for each individual component that the designers develop. We take advantage of the &lt;code&gt;Sitecore.Foundation.Assets&lt;/code&gt; module from the &lt;a href=&quot;https://github.com/Sitecore/Habitat&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat project&lt;/a&gt; in cases where we want specific JS (and eventually CSS) to be included when the module is added to the page. These are tied to the module in Sitecore, with the path to the asset on Azure/CDN entered into the corresponding field in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This allows our designers to work with HTML, CSS, and JS, without having to get deep into the code itself. The modular approach they're taking also makes it easier to create these as Helix-based modules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another big benefit of starting with flat HTML components is that it makes it easier for these to be ported over to WordPress as well as static sites.&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2018-10-04T20:49:41.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14281" PostTypeId="2" ParentId="14256" CreationDate="2018-10-04T22:01:12.770" Score="2" Body="&lt;p&gt;The fact I was getting an empty ID made me think that maybe Glass wasn't able to set the item ID on the property, so I changed my field definition from:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreId]&#xA;public virtual Guid Id { get; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreId]&#xA;public virtual Guid Id { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now things are working fine.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2018-10-04T22:01:12.770" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14282" PostTypeId="1" CreationDate="2018-10-05T05:56:03.863" Score="1" ViewCount="388" Body="&lt;p&gt;I have secured a Sitecore SXA page on role basis and able to redirect to login page (which is using SXA login component) upon direct access of the page &#xA;[&lt;a href=&quot;http://abc/registration/login?returnUrl=%2Fregistration%2Fmy-profile][1]&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://abc/registration/login?returnUrl=%2Fregistration%2Fmy-profile][1]&lt;/a&gt;. But not able to navigate to return url (&lt;a href=&quot;http://abc/registration/my-profile&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://abc/registration/my-profile&lt;/a&gt;) upon successful login and always getting redirected to home page instead. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2018-11-04T15:00:00.973" Title="Not able to navigate to return url from SXA login component" Tags="|sxa|login|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14284" PostTypeId="2" ParentId="14275" CreationDate="2018-10-05T10:09:25.417" Score="7" Body="&lt;p&gt;This is controlled by the &lt;strong&gt;Sitecore.Commerce.Core.IgnorePublishedPolicy&lt;/strong&gt;, if the environment you're passing in your request contains this policy then both published &amp;amp; unpublished entities will be returned in any requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box the &lt;em&gt;HabitatAuthoring&lt;/em&gt; environment contains this policy, whereas the &lt;em&gt;HabitatShops&lt;/em&gt; doesn't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make sure you get the correct values in your indexes your crawlers should pass in &lt;em&gt;HabitatAuthoring&lt;/em&gt; for the master index and &lt;em&gt;HabitatShops&lt;/em&gt; for your web index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box the master index definition includes these default crawlers...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;crawler type=&quot;Sitecore.Commerce.Engine.Connect.Search.Crawlers.CatalogsCrawler, Sitecore.Commerce.Engine.Connect&quot; patch:source=&quot;Sitecore.Commerce.Engine.Connectors.Index.Solr.config&quot;&amp;gt;&#xA;  &amp;lt;ItemsToTake&amp;gt;100&amp;lt;/ItemsToTake&amp;gt;&#xA;  &amp;lt;ListName&amp;gt;Catalogs&amp;lt;/ListName&amp;gt;&#xA;  &amp;lt;IndexListName&amp;gt;CatalogsIndex&amp;lt;/IndexListName&amp;gt;&#xA;  &amp;lt;Environments hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;environment&amp;gt;HabitatAuthoring&amp;lt;/environment&amp;gt;&#xA;  &amp;lt;/Environments&amp;gt;&#xA;  &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&amp;lt;crawler type=&quot;Sitecore.Commerce.Engine.Connect.Search.Crawlers.CategoriesCrawler, Sitecore.Commerce.Engine.Connect&quot; patch:source=&quot;Sitecore.Commerce.Engine.Connectors.Index.Solr.config&quot;&amp;gt;&#xA; &amp;lt;ItemsToTake&amp;gt;100&amp;lt;/ItemsToTake&amp;gt;&#xA;  &amp;lt;ListName&amp;gt;Categories&amp;lt;/ListName&amp;gt;&#xA;  &amp;lt;IndexListName&amp;gt;CategoriesIndex&amp;lt;/IndexListName&amp;gt;&#xA;  &amp;lt;Environments hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;environment&amp;gt;HabitatAuthoring&amp;lt;/environment&amp;gt;&#xA;  &amp;lt;/Environments&amp;gt;&#xA;  &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&amp;lt;crawler type=&quot;Sitecore.Commerce.Engine.Connect.Search.Crawlers.SellableItemsCrawler, Sitecore.Commerce.Engine.Connect&quot; patch:source=&quot;Sitecore.Commerce.Engine.Connectors.Index.Solr.config&quot;&amp;gt;&#xA;  &amp;lt;ItemsToTake&amp;gt;100&amp;lt;/ItemsToTake&amp;gt;&#xA;  &amp;lt;ListName&amp;gt;SellableItems&amp;lt;/ListName&amp;gt;&#xA;  &amp;lt;IndexListName&amp;gt;SellableItemsIndex&amp;lt;/IndexListName&amp;gt;&#xA;  &amp;lt;Environments hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;environment&amp;gt;HabitatAuthoring&amp;lt;/environment&amp;gt;&#xA;  &amp;lt;/Environments&amp;gt;&#xA;  &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Web index includes these default crawlers...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;crawler type=&quot;Sitecore.Commerce.Engine.Connect.Search.Crawlers.CatalogsCrawler, Sitecore.Commerce.Engine.Connect&quot; patch:source=&quot;Sitecore.Commerce.Engine.Connectors.Index.Solr.config&quot;&amp;gt;&#xA;  &amp;lt;ItemsToTake&amp;gt;100&amp;lt;/ItemsToTake&amp;gt;&#xA;  &amp;lt;ListName&amp;gt;Catalogs&amp;lt;/ListName&amp;gt;&#xA;  &amp;lt;IndexListName&amp;gt;CatalogsIndex&amp;lt;/IndexListName&amp;gt;&#xA;  &amp;lt;Environments hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;environment&amp;gt;HabitatShops&amp;lt;/environment&amp;gt;&#xA;  &amp;lt;/Environments&amp;gt;&#xA;  &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&amp;lt;crawler type=&quot;Sitecore.Commerce.Engine.Connect.Search.Crawlers.CategoriesCrawler, Sitecore.Commerce.Engine.Connect&quot; patch:source=&quot;Sitecore.Commerce.Engine.Connectors.Index.Solr.config&quot;&amp;gt;&#xA;  &amp;lt;ItemsToTake&amp;gt;100&amp;lt;/ItemsToTake&amp;gt;&#xA;  &amp;lt;ListName&amp;gt;Categories&amp;lt;/ListName&amp;gt;&#xA;  &amp;lt;IndexListName&amp;gt;CategoriesIndex&amp;lt;/IndexListName&amp;gt;&#xA;  &amp;lt;Environments hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;environment&amp;gt;HabitatShops&amp;lt;/environment&amp;gt;&#xA;  &amp;lt;/Environments&amp;gt;&#xA;  &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&amp;lt;crawler type=&quot;Sitecore.Commerce.Engine.Connect.Search.Crawlers.SellableItemsCrawler, Sitecore.Commerce.Engine.Connect&quot; patch:source=&quot;Sitecore.Commerce.Engine.Connectors.Index.Solr.config&quot;&amp;gt;&#xA;  &amp;lt;ItemsToTake&amp;gt;100&amp;lt;/ItemsToTake&amp;gt;&#xA;  &amp;lt;ListName&amp;gt;SellableItems&amp;lt;/ListName&amp;gt;&#xA;  &amp;lt;IndexListName&amp;gt;SellableItemsIndex&amp;lt;/IndexListName&amp;gt;&#xA;  &amp;lt;Environments hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;environment&amp;gt;HabitatShops&amp;lt;/environment&amp;gt;&#xA;  &amp;lt;/Environments&amp;gt;&#xA;  &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice how the environment name being passed in changes between the master &amp;amp; web definitions. This is what controls whether unpublished entities are indexes or not.&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-10-05T10:09:25.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14285" PostTypeId="2" ParentId="9659" CreationDate="2018-10-05T10:44:45.147" Score="3" Body="&lt;p&gt;My sitecore instance had redirects to https and allowed https only. Change your Host Name to &lt;a href=&quot;https://events.tac.local:433&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://events.tac.local:433&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1857" LastActivityDate="2018-10-05T10:44:45.147" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14286" PostTypeId="2" ParentId="9632" CreationDate="2018-10-05T12:32:17.087" Score="1" Body="&lt;p&gt;I got the same exception while rebuilding the index.&#xA;In my case there was only one field(no any other field with same name).&#xA;When I saw this field in index,the field type was Edm.String.&#xA;But in sitecore the field type was Number which equates to Edm.Double in azure.&#xA;So there was a mismatch with local schema and remote schema.&#xA;I did below steps to resolve the issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Stop Sitecore instance.&lt;/li&gt;&#xA;&lt;li&gt;Remove Affected indexes.&lt;/li&gt;&#xA;&lt;li&gt;Start sitecore instance.&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the affected indexes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="1913" LastEditDate="2019-03-20T15:39:57.940" LastActivityDate="2019-03-20T15:39:57.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14288" PostTypeId="2" ParentId="14282" CreationDate="2018-10-05T13:19:11.243" Score="2" Body="&lt;p&gt;It started working when I clear the DestinationUrl field in the Login metadata item (/sitecore/content/Test/Tenant/Site/Data/Security/Login)&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2018-10-05T13:19:11.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14289" PostTypeId="1" AcceptedAnswerId="14290" CreationDate="2018-10-05T13:34:52.910" Score="2" ViewCount="2134" Body="&lt;p&gt;I'm using Sitecore 9, which has Sitecore Forms built-in out of the box. In the &quot;Form Elements&quot; tools panel on the right, there's a list of elements you can use to build the form. For example: Text, Single-line text, Multi-line text, Number, Email, etc. The Text element only allows plain text, although you can choose from a short list of html tags to wrap in it. It does not allow for rich text, such as adding anchor tags. How do you add rich text to the middle of a Sitecore Form?&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2021-09-14T11:30:28.680" Title="How to add rich text to Sitecore Forms?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14290" PostTypeId="2" ParentId="14289" CreationDate="2018-10-05T13:52:15.463" Score="10" Body="&lt;p&gt;You could check the Forms Extension my colleague Bart released: &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions&lt;/a&gt;. It includes a &amp;quot;RawHtml&amp;quot; field that can be used to output unescaped pure html.&lt;/p&gt;&#xA;&lt;p&gt;Or just check that code to create your own version with a custom field that suits your needs (as the raw html is fairly simple). Documentation on how to create your custom field can be found here: &lt;a href=&quot;https://doc.sitecore.com/en/developers/90/sitecore-experience-manager/walkthrough--creating-a-custom-form-element.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/en/developers/90/sitecore-experience-manager/walkthrough--creating-a-custom-form-element.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Overview of the steps (from the Walkthrough)&lt;/h2&gt;&#xA;&lt;p&gt;To build a custom form element, you need these essential steps:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a new field template (Base template is &lt;code&gt;Templates/System/Forms/Fields/Field&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Create a new class that derives from the FieldViewModel class (for Simple field types such as an integer field or a multi-line text field ) or from the ListViewModel class (for List field types such as a drop-down list).&lt;/li&gt;&#xA;&lt;li&gt;Create a razor view file that will provide the CSHTML markup that will use your view model.&lt;/li&gt;&#xA;&lt;li&gt;Create the sections for the Form elements pane. Suggestion in the docs is to use Sitecore Rocks, navigate to &lt;code&gt;/sitecore/client/Applications/FormsBuilder/Components/Layouts/PropertyGridForm/PageSettings/Settings&lt;/code&gt; and add a new item using the &lt;code&gt;Form Parameters&lt;/code&gt; template. You can then create the new sections using the &lt;code&gt;FormSection&lt;/code&gt; template and creating children of this new new Form Parameters item.&lt;/li&gt;&#xA;&lt;li&gt;Configure the field editor parameters. For each of these new parameters you create, you'll need to set things like Styling, FormLabel, etc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastEditorUserId="69" LastEditDate="2021-09-14T11:30:28.680" LastActivityDate="2021-09-14T11:30:28.680" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14291" PostTypeId="2" ParentId="14200" CreationDate="2018-10-05T14:48:08.783" Score="1" Body="&lt;p&gt;Are you using SQL Express?  If so, for SQL Express, try a different connection string.  Instead of &lt;code&gt;COMPUTERNAME\SQLEXPRESS&lt;/code&gt;, try using &lt;code&gt;(local)\SQLEXPRESS&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also verify that Named Pipes and TCP/IP connections are enabled for your SQL Express instance.&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2018-10-05T14:48:08.783" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14292" PostTypeId="1" AcceptedAnswerId="14379" CreationDate="2018-10-05T18:18:00.513" Score="2" ViewCount="168" Body="&lt;p&gt;I wanted to add a promotion condition in Sitecore Commerce.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a custom promotion condition using a promotion plugin and deployed it to Authoring web site.&#xA;I can not see the custom condition in the Sitecore Commerce business tools when I am adding a promotion condition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wanted to see the promotion condition when I add a new condition in the promotions section of the business tools.&lt;/p&gt;&#xA;" OwnerUserId="3783" LastEditorUserId="237" LastEditDate="2018-10-06T08:24:33.563" LastActivityDate="2018-10-12T01:59:54.583" Title="Sitecore commerce promotion condition" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14293" PostTypeId="1" CreationDate="2018-10-05T19:33:51.000" Score="4" ViewCount="171" Body="&lt;p&gt;Is there a way to retrieve a set of content items from Sitecore's APIs in batches, besides using the REST API? I'm looking at improving performance for a client's Sitecore site. A lot of the legacy code consists of this common pattern for retrieving multiple content items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; foreach(string itemId in itemIds)&#xA; {&#xA;      var content = Sitecore.GetContentItem(itemId);&#xA;      list.Add(content);&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Seems kind of inefficient to make all those calls back and forth from the database one a time per ID. Profiling with Visual Studio confirmed my suspicion, with it sometimes take a few seconds to resolve all the content items. I know good caching can somewhat mitigate the cost of this, but I'm wondering if there's a better way of doing this type of batch retrieval of content items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not, could parallelizing this loop possibly help? I'd imagine it would, since using something like TPL would allow you to dedicate cores for each content item retrieval, with something similar happening on the database side as well so there'll be parallelized queries as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as the nature of data interaction; the Sitecore data retrieval is for retrieving content only. The client code is meant to have read-only access to Sitecore data; it will not be updating the Sitecore data itself. As far as data location, scenarios of data retrieval can be in some cases just pulling the children of a content item; or pulling multiple content items from various locations in the content tree in the same content retrieval code block.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thoughts?&lt;/p&gt;&#xA;" OwnerUserId="4157" LastEditorUserId="4157" LastEditDate="2018-10-12T16:46:33.260" LastActivityDate="2018-11-11T22:02:40.547" Title="Content Item batch retrieval in .Net code?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14294" PostTypeId="2" ParentId="14130" CreationDate="2018-10-05T21:10:15.417" Score="2" Body="&lt;p&gt;The error you are seeing is expected, as is the email campaign dispatch being paused.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case the error is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ConnectFailReason: Connection rejected A few possible causes for a&#xA;  connection being rejected are:&#xA;  - A firewall (software or hardware), such as Windows Firewall, is blocking the connection .&#xA;  - Nothing is listening at the remote host:port&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In other words, Sitecore/EXM cannot connect to your SMTP server. I would suggest you try and set the configuration settings NumberThreads and maxPoolSize to the same value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error handling varies dependending on the version of EXM, and the type of error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SMTP connectivity issues&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If connection to the SMTP server fails, the connection will be retried a set number (3 if I recall correctly) of times. If it is not a transient error, the dispatch will be paused. This is handled in a similar way for all versions of EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This error may simply occur because of connectivity errors, but it can also be caused by misconfiguration - specifically &lt;a href=&quot;https://sitecore.stackexchange.com/a/5824/121&quot;&gt;the NumberThreads and maxPoolSize setting&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no out-of-the-box functionality to automatically resume paused dispatches, but it is possible to create e.g. a custom Sitecore job that will resume any paused dispatches.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EXM 3.0 -&gt; 3.4.2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the email campaign cannot be dispatched to certain contacts, for example because their email address could not be validated, the email campaign will never move into the &quot;Sent&quot; state. All contacts will be processed, but it will remain in the &quot;Paused&quot; state. I believe the reasoning was that this would allow the user to fix any invalid contacts, and then resume the email campaign.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EXM 3.5+&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In later versions of EXM, the email campaign will move to the &quot;Sent&quot; state, even if there are contacts which could not be processed. For each of those contacts an interaction will be created with a &quot;Dispatch failed&quot; event describing the reason. You can see the list of failures on the campaign report page.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-10-05T21:10:15.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14295" PostTypeId="1" AcceptedAnswerId="14297" CreationDate="2018-10-06T12:02:07.377" Score="1" ViewCount="364" Body="&lt;p&gt;I have some orders which need to be removed. In OrderServiceProvider class could not find any method related to deleting the order. Is there any other way to delete orders?&lt;/p&gt;&#xA;" OwnerUserId="3581" LastActivityDate="2018-10-06T13:13:15.527" Title="How to delete orders in Sitecore Commerce 9?" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14296" PostTypeId="2" ParentId="14295" CreationDate="2018-10-06T12:29:39.963" Score="2" Body="&lt;p&gt;I think there is no OOTB functionality to DELETE orders.&#xA;Not in service provider of Commerce Connect not in Orders Manager of Business Tools, and not in Postman in the orders collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what i can see this is still not supported in XC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you could directly go to SQL server into shared environment in the ordersentities table and delete the orders manually there.&#xA;BUT this is dangerous and could produce sideffects if you delete it not correctly.&#xA;Such an answer I also got from sitecore support some time ago in former versions.&lt;/p&gt;&#xA;" OwnerUserId="3737" LastActivityDate="2018-10-06T12:29:39.963" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14297" PostTypeId="2" ParentId="14295" CreationDate="2018-10-06T13:13:15.527" Score="4" Body="&lt;p&gt;There is no possibility to remove Order by calling any API. &#xA;There is no status for orders that could enable this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like anything else in Commerce, you can only change status of order.&#xA;Records need to exist in DB for audit purposes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best status for you would be &quot;Cancelled&quot;. No further processing of order is done afterwards. Keep in mind that order needs to be in &quot;Pending&quot; status before changing it to &quot;Cancelled&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RICRm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RICRm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look to chapter 5.1 of Developer Guide for further details -&gt; &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC-9.0_Developers_Guide.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commercesdn.sitecore.net/SitecoreXC_9.0/Developers-Guide/Sitecore-XC-9.0_Developers_Guide.pdf&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-10-06T13:13:15.527" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14298" PostTypeId="2" ParentId="11887" CreationDate="2018-10-06T16:33:53.477" Score="0" Body="&lt;p&gt;We had the same issue when we migrated the items from 8.1 to 9.0.1 (SXA Storefront Site). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have to add SXA Page template inheritance to our 8.1 base template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the snip it&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA Storefront Page base template&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Rum9Y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Rum9Y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Migrated 8.1 Base template for Pages added with base template like SXA Storefront Page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tSKkw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tSKkw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this our search results page in SXA Storefront showed the pages migrated from 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this help whoever works in Sitecore 8.1 to 9.0.1 migration with SXA Storefront site. &lt;/p&gt;&#xA;" OwnerUserId="4411" LastActivityDate="2018-10-06T16:33:53.477" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14299" PostTypeId="1" CreationDate="2018-10-06T18:16:18.167" Score="7" ViewCount="747" Body="&lt;p&gt;I have a Single Sitecore Instance, where multi-site implemented for 3 countries.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- Content&#xA;   - Country 1&#xA;       - Home &#xA;       - About Us&#xA;   - Country 2&#xA;       - Home &#xA;       - About Us&#xA;   - Country 3&#xA;       - Home &#xA;       - About Us&#xA;&#xA;&#xA;1. Country 1    (www.example.c1)&#xA;2. Country 2    (www.example.c2)&#xA;3. Country 3    (www.example.c3)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;During deployment &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If any deployment done to Country 1 website, expecting only the Country 1 website to have the down-time, the other sites should have 'Zero downtime &amp;amp; impact'  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To achieve this, what is the best practice to be followed ?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;A separate IIS website &amp;amp; app pool needs to be created for each country ?&lt;/li&gt;&#xA;&lt;li&gt;A separate folder for each website, in which the binaries needs to be deployed ?&lt;/li&gt;&#xA;&lt;li&gt;What is the Sitecore license implication ?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="1698" LastEditDate="2019-02-06T18:04:08.373" LastActivityDate="2019-04-30T14:49:04.347" Title="What is the best approach for zero downtime deployments for Multi-Site implementations?" Tags="|multisite|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14300" PostTypeId="1" CreationDate="2018-10-07T06:59:19.810" Score="1" ViewCount="38" Body="&lt;p&gt;I am trying to add a new SXA Accordian component from Experience editor in IE but not able to get 'Create' link which is working fine in Chrome. PFB Screenshots&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5mCdj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5mCdj.png&quot; alt=&quot;Chrome&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/R4WcN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/R4WcN.png&quot; alt=&quot;IE&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2018-10-07T06:59:19.810" Title="Not able to create a new SXA Accordian items in IE" Tags="|sxa|sitecore-api|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14302" PostTypeId="1" CreationDate="2018-10-08T02:21:15.393" Score="5" ViewCount="1220" Body="&lt;p&gt;So if your using Application Insights w/ your Sitecore setup, you've invariably seen the following when perusing the basic reporting. A lot of request going to the cryptic &lt;strong&gt;Sitecore/Index&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HKlDd.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HKlDd.png&quot; alt=&quot;Sitecore/Index as shown in Application Insights&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can imagine this is troubling, as I figured out, the &lt;strong&gt;Sitecore/Index&lt;/strong&gt; is referred to as the &lt;em&gt;Page level controller&lt;/em&gt; which underlying is an MVC Controller/Action  &lt;code&gt;SitecoreController.Index()&lt;/code&gt;, which is called for every route that matches an item path, so alot. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Source: &lt;a href=&quot;https://stackoverflow.com/a/14999263/2446435&quot;&gt;https://stackoverflow.com/a/14999263/2446435&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It would be more helpful if I could instead log the Item Path or something. But this got me thinking, Why not log the Renderings. Let's refer to my illustration of a typical Sitecore page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qCVU2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qCVU2.png&quot; alt=&quot;a typical sitecore page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I was thinking about this in a similar way to how the Sitecore Debugger works. &#xA;&lt;a href=&quot;http://www.glass.lu/Blog/Archive/Using%20the%20Sitecore%20Debug%20Tool%20Part%201&quot; rel=&quot;noreferrer&quot;&gt;http://www.glass.lu/Blog/Archive/Using%20the%20Sitecore%20Debug%20Tool%20Part%201&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I could hijack the pipeline, I could call &lt;code&gt;TelemetryClient.TrackRequest()&lt;/code&gt; or &lt;code&gt;TrackDependency()&lt;/code&gt;. However, I don't really think this option is ideal. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First if I used a &lt;code&gt;Dependency&lt;/code&gt; object, &lt;code&gt;Dependency&lt;/code&gt; objects are relatively primitive. Rendering are more of a &lt;code&gt;Request&lt;/code&gt;, Item Paths of their own, potentially &lt;code&gt;dependencies&lt;/code&gt; of their own, etc etc, too much detail and complexity to be represented as a &lt;code&gt;dependency&lt;/code&gt;. Unless I were to just track the new &lt;code&gt;Request&lt;/code&gt; as a &lt;code&gt;Dependency&lt;/code&gt; of the Old &lt;code&gt;Request&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So yes, I could call &lt;code&gt;TrackRequest&lt;/code&gt;, but I'm not really sure the Framework would attach all the inner &lt;code&gt;dependencies&lt;/code&gt; of my Rendering correctly, they would most likely be tied to the OOTB &lt;code&gt;Request&lt;/code&gt; Object. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rather I would like to Hijack the Pipeline in Sitecore where Renderings Begin and Complete their execution. The way I see it is to try and leverage as much of the OOTB Rendering Object where Application Insights attaches more telemetry to the current &lt;code&gt;Operation_ID&lt;/code&gt;, taking advantage of correlation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for example, I only want Telemetry executed within the confines of the &lt;code&gt;HeaderControllerRendering&lt;/code&gt; associated with the corresponding &lt;code&gt;Request&lt;/code&gt;. Maybe I allow the Telemetry inside this component to be associated with its corresponding &lt;code&gt;Request&lt;/code&gt; object, as well as shared with its Ancestors &lt;code&gt;Request&lt;/code&gt; objects (IE &lt;code&gt;Main_Layout.cshtml&lt;/code&gt; and so on depending on how far your rendering hierarchy goes). &#xA;But I certainly don't want, for example, Telemetry of &lt;code&gt;Top Main View Rendering.cshtml&lt;/code&gt; or &lt;code&gt;Footer Controller Rendering&lt;/code&gt; associated with the &lt;code&gt;Request&lt;/code&gt; object of &lt;code&gt;HeaderControllerRendering&lt;/code&gt; as they are in this scenario cousin renderings(?) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So If you are not keeping up with this, I understand, it's a little convoluted, let me try and explain it with some pseudo code.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: I think I need something like PipelineBasedRequestFilter &#xA;  &lt;a href=&quot;https://stackoverflow.com/a/52599581/2446435&quot;&gt;https://stackoverflow.com/a/52599581/2446435&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyHypotheticalRenderingFilter : IActionFilter&#xA;{&#xA;    public virtual void OnActionExecuting(ActionExecutingContext actionExecutingContext)&#xA;    {&#xA;        RequestTelemetry parentRequest = HttpContext.GetRequestTelemetry();&#xA;        RequestTelemetry request = new Request();&#xA;        request.ParentOperationID = parentRequest.OperationID;&#xA;        TelemetryRequestBag.SaveRequest(request); &#xA;        parentRequest = request;&#xA;    }&#xA;&#xA;    public virtual void OnActionExecuted(ActionExecutedContext actionExecutedContext)&#xA;    {&#xA;        RequestTelemetry request = HttpContext.GetRequestTelemetry();&#xA;        TelemetryClient.TrackRequest(request);&#xA;        RequestTelemetry request = TelemetryRequestBag.RetreiveRequest(request.ParentOperationID);    &#xA;    }&#xA;}&#xA;&#xA;public class TelemetryRequestBag&#xA;{&#xA;    private Dictionary&amp;lt;string, RequestTelemetry&amp;gt; requestTelemetry;&#xA;&#xA;    public TelemetryRequestBag()&#xA;    {&#xA;        requestTelemetry = new Dictionary&amp;lt;string,RequestTelemetry&amp;gt;();&#xA;    }&#xA;&#xA;    SaveRequest(RequestTelemetry request)&#xA;    {&#xA;        requestTelemetry.Add(request.OperationID, request);&#xA;    }&#xA;&#xA;    RetrieveRequest(string Operation_ID)&#xA;    {&#xA;        return requestTelemetry.Get(Operation_ID);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The goal here would be to go from something like this, where I have 43 results for a &lt;code&gt;Request&lt;/code&gt; that starts with Sitecore/Index&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TXQbp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TXQbp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To significantly less and including a row like this: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;timestamp&lt;/strong&gt;: 2018-10-08T01:48:32.114   &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;itemType&lt;/strong&gt;: request    &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;operation_Id&lt;/strong&gt;: MYNewOperationIDHere&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;operation_Name&lt;/strong&gt;: ControllerRendering: Analytics/FullStory &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;operation_ParentId&lt;/strong&gt;: 40765245d3a270409a420f6735a09dc3&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And If I ran the following Query, I'd expect back the preceding row, and any of the &lt;code&gt;dependencies&lt;/code&gt;, &lt;code&gt;traces&lt;/code&gt;, or subsequent &lt;code&gt;requests&lt;/code&gt; that occur as a result of &lt;code&gt;MYNewOperationIDHere&lt;/code&gt;.    &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;union *&#xA;| where operation_Id == &quot;MYNewOperationIDHere&quot;&#xA;    or operation_ParentId == &quot;MYNewOperationIDHere&quot;&#xA;| project timestamp, itemType, operation_Id, operation_Name, operation_ParentId&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;timestamp&lt;/strong&gt;: 2018-10-08T01:48:32.114   &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;itemType&lt;/strong&gt;: request    &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;operation_Id&lt;/strong&gt;: MYNewOperationIDHere&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;operation_Name&lt;/strong&gt;: ControllerRendering: Analytics/FullStory &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;operation_ParentId&lt;/strong&gt;: 40765245d3a270409a420f6735a09dc3&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Questions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Where in Sitecore can I hook into, to take similar action to do what I do in the pseudo code?&lt;/li&gt;&#xA;&lt;li&gt;Can anyone point out any major flaws/possible bugs in my solution around the Application Insights Schema.&lt;/li&gt;&#xA;&lt;li&gt;Can anyone point out any major flaws/possible bugs in my solution around Sitecore. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1600" LastEditorUserId="1600" LastEditDate="2018-10-08T03:00:54.483" LastActivityDate="2019-06-14T12:15:09.197" Title="How to breakup Sitecore/Index Request in Application Insights" Tags="|app-insight|" AnswerCount="2" CommentCount="1" ClosedDate="2019-06-16T13:07:18.427" ContentLicense="CC BY-SA 4.0" />
  <row Id="14303" PostTypeId="1" AcceptedAnswerId="14304" CreationDate="2018-10-08T07:43:50.293" Score="0" ViewCount="200" Body="&lt;p&gt;I've created a Parameters Template with a Treelist Field and a Rendering which uses this Template. That works so far I can select multiple values. But Now I am using this rendering in a dynamic Placeholder and I want to get the Selected Values from my Parameter. The Only thing I get at the moment are Pipe separated GUIDs and I was hoping that I could use MultilistField to get the Values from my selection. But I don't know how to initialize the Multilistfield. Because the Guids I am currently getting with the following Function&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string GetParameter(DynamicPlaceholderRenderContext context, string parameter)&#xA;{&#xA;        var parameterValue = context.Parameters.ContainsKey(parameter) ? context.Parameters[parameter] :&#xA;             context.Rendering.Parameters.Contains(parameter) ? context.Rendering.Parameters[parameter] :&#xA;             string.Empty;&#xA;&#xA;        return parameterValue;&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which I Call in my view inside the wrapper Method fpr my DynamicPlaceholder&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; @Html.Sitecore().DynamicPlaceholder(&quot;grid-column&quot;, CreateWrapper)&#xA;&#xA; @functions&#xA; {&#xA;&#xA;     private readonly IParameterTemplatesProvider _parameterTemplatesService = new ParameterTemplatesProvider();&#xA;&#xA;     HtmlString CreateWrapper(HtmlString htmlString, DynamicPlaceholderRenderContext context)&#xA;     { &#xA;        var cssClasses = _parameterTemplatesService.GetParameter(context, Templates.GridBase.Fields.CssClassesFieldName);&#xA;&#xA;&#xA;     }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to get some &quot;context&quot; data like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var test = Sitecore.Context.Item.Fields[Templates.Column.Fields.CssClassesFieldName];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get null back but no Object or something else where I can create a MultilistField. I Think I've some prober missunderstandings when I can access &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Context.Item or RenderingContext.Current.Rendering.Item how can get the Real Selected values from my Treelist&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not shure if my problems are associated with DynamicPlaceholders or some other missunderstandings in the sitecore technology :-)&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-10-08T07:52:48.270" Title="DynamicPlaceholder get Parameter Templates Treelistvalues" Tags="|dynamic-placeholder|tree-list|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14304" PostTypeId="2" ParentId="14303" CreationDate="2018-10-08T07:52:48.270" Score="1" Body="&lt;p&gt;Rendering parameters are stored as name-value-collection (like a query string) with just the raw value - which for a multi-list field is a pipe-separated list of IDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could change your &lt;code&gt;GetParameter()&lt;/code&gt; method to something like the following, to get a list of items:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IList&amp;lt;Item&amp;gt; GetParameter(DynamicPlaceholderRenderContext context, string parameter)&#xA;{&#xA;    var parameterValue = context.Parameters.ContainsKey(parameter) ? context.Parameters[parameter] :&#xA;            context.Rendering.Parameters.Contains(parameter) ? context.Rendering.Parameters[parameter] :&#xA;            string.Empty;&#xA;&#xA;    // You might want to do some more checks here&#xA;    // - check for valid IDs, non-null items returned etc.&#xA;    return parameterValue.Split(new [] {'|'}, StringSplitOptions.RemoveEmptyEntries)&#xA;                         .Select(id =&amp;gt; Sitecore.Context.Database.GetItem(id))&#xA;                         .ToList();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As noted you might want to do some error-checking just in case.&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2018-10-08T07:52:48.270" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14305" PostTypeId="5" CreationDate="2018-10-08T08:04:18.843" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-10-08T08:04:18.843" LastActivityDate="2018-10-08T08:04:18.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14306" PostTypeId="4" CreationDate="2018-10-08T08:04:18.843" Score="0" Body="This is a special tag that is designed to be used only by the system for questions that have had all of their other tags removed. Do not add this tag to existing questions, it is reserved for use by the system to identify posts with no valid tags." OwnerUserId="1542" LastEditorUserId="1542" LastEditDate="2018-10-08T12:10:22.393" LastActivityDate="2018-10-08T12:10:22.393" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14307" PostTypeId="1" CreationDate="2018-10-08T08:36:26.607" Score="1" ViewCount="740" Body="&lt;p&gt;The team wants to use sitecore forms for its site's transaction. One of the requirements is to use sitecore's Automated email campaign to send the confirmation email of a successful registration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we use the email from the text input field to send the confirmation email?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have no idea as of the moment how this can be achieved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hanz Enriquez&lt;/p&gt;&#xA;" OwnerUserId="3365" LastActivityDate="2018-10-08T15:19:34.773" Title="Getting the email from a form in Sitecore EXM" Tags="|exm|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14308" PostTypeId="2" ParentId="14190" CreationDate="2018-10-08T10:04:30.383" Score="0" Body="&lt;p&gt;I got this exception while trying to rebuild sitecore web index.&#xA;This issue arises when sitecore tries to index some item whose template or field doesn't exist in the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got this issue resolved by republishing the templates as some templates were not published properly earlier.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2018-10-08T10:04:30.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14310" PostTypeId="1" CreationDate="2018-10-08T12:00:20.463" Score="4" ViewCount="162" Body="&lt;p&gt;We have multiple sites in sitecore but all are edited by the same editors and they want to be able to edit it all in one place. The majority of our editors use EE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Problems&lt;/strong&gt;: When you follow a link (on a page on EE) or search and follow (in EE) to an item belonging to another site (than the one you are editing) it leads you to the full site address. In our case the public address of the site. We want it to lead directly to the editing of that page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know you can set up a &quot;mirror&quot; of the site on the cm server but then you need a new domain name for the new site on the cm server too as well as configuring the sites (We are currently adding a dynamic site provider using the items in the content tree) and also the cookie handling gets a bit weird. In short: I think this is a bad way of doing it for us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Main idea&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why not just use only id-parameter style links (sc_itemid=...) when working on the cm server?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Try 1&lt;/strong&gt;: Configure the standard link provider in Sitecore to only use ?sc_itemid=GUID - linking style.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I failed to do that. Maybe it is possible, but I don't know how&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Try 2&lt;/strong&gt;: Use a very simple custom link provider on CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Patch-file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;sitecore&quot;&amp;gt;&#xA;      &amp;lt;!-- Use an extremely simple link-provider on cm-servers, only sending id and language as parameters --&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Foundation.Url.UrlHandlers.IDLinkProvider, Foundation.Url&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/add&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Class&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;using Sitecore.Links;&#xA;namespace Foundation.Url.UrlHandlers&#xA;{&#xA;    class IDLinkProvider : [NORMAL LINK PROVIDER HERE]&#xA;    {&#xA;        static string host = null; // static as it may be kept between threads and requests. No worry if set twice or so.&#xA;&#xA;        public override string GetItemUrl(Item item, UrlOptions options)&#xA;        {&#xA;            // Use &quot;parent&quot; link provider if not content&#xA;            if ((item.Database.Name != &quot;master&quot; &amp;amp;&amp;amp; item.Database.Name != &quot;web&quot;) || !item.Paths.IsDescendantOf(item.Database.GetItem(Sitecore.Constants.ContentPath))) return base.GetItemUrl(item, options);&#xA;&#xA;            string lang = item.Language.Name;&#xA;            if (options?.Language != null) lang = options.Language.Name; // If lang provided in options, use it.&#xA;            string url = &quot;/&quot; + lang + &quot;?sc_itemid=&quot; + item.ID + &quot;&amp;amp;sc_lang=&quot; + lang; &#xA;            // Note the leading / to make it a full address. Required on for example the search in EE.&#xA;            // Also note the language in the file path too, to make language selector in EE work&#xA;            if (Sitecore.Context.Site != null &amp;amp;&amp;amp; Sitecore.Context.PageMode.IsExperienceEditor) url += &quot;&amp;amp;sc_mode=edit&quot;;&#xA;            if (options.AlwaysIncludeServerUrl) {&#xA;                // Note: Just use the local computers full dns name, this may work, or not work, for you.&#xA;                if (host == null) host = &quot;https://&quot; + System.Net.Dns.GetHostEntry(&quot;localhost&quot;).HostName;&#xA;                return host + url;&#xA;            }&#xA;            return url;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried with an even simpler LinkProvider first but then I had to add some checks for it to work like only use it for stuff under the content-item (or it destroyed links in content editor etc) and also the sc_mode=edit was not added or remembered in the cookie correctly in some situations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Questions&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a bad idea for some reason?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have you got a better solution or improvements on this one?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS I tried to post this on Sitecore's community forum but it was instantly marked as spam (?!)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Alternative idea&lt;/strong&gt; instead of inheriting the standard link provider:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe I could have added this linkProvider as yet another link provider, set my new as the default one and use a fallback mechanism where I load and call the &quot;sitecore&quot; link provider, instead of calling base.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Updates&lt;/strong&gt;&#xA;Some changes in the code after testing it in a real environment: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Only apply on master and web db and &lt;/li&gt;&#xA;&lt;li&gt;Check that Site is set before trying to check if we are in ee-mode.&lt;/li&gt;&#xA;&lt;li&gt;Handle cases where a host is required. I.e. when AlwaysIncludeServerUrl is true&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="4384" LastEditorUserId="4384" LastEditDate="2018-10-18T11:18:28.127" LastActivityDate="2018-10-18T11:18:28.127" Title="Using Experience Editor on a multisite solution. Custom linkProvider to solve problems?" Tags="|experience-editor|multisite|link-manager|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14311" PostTypeId="2" ParentId="14307" CreationDate="2018-10-08T12:15:55.327" Score="2" Body="&lt;p&gt;You could check the Forms Extension my colleague Bart released: &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions&lt;/a&gt;. It includes save actions implementing some missing features (for now) in the Forms/EXM combination. For instance, sending a mail to someone that is not your current contact and sending the forms data to EXM. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It might do what you need, and if not you can use the codebase as a starting point for your implementation. For your purpose, you'll need to check his SendEmail submit action. The full code is a bit too much to copy here, but it actually combines existing features of Forms and EXM to something useful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The official docs on how to create a custom save action can be found here: &lt;a href=&quot;https://doc.sitecore.net/web_forms_for_marketers/81/working_with_actions_and_validations/save_actions/create_a_new_save_action&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/web_forms_for_marketers/81/working_with_actions_and_validations/save_actions/create_a_new_save_action&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-10-08T12:15:55.327" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14312" PostTypeId="2" ParentId="14307" CreationDate="2018-10-08T12:16:36.713" Score="1" Body="&lt;p&gt;This is not possible out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I have written a module &quot;Sitecore Form Extensions&quot; that will add this functionality. &#xA;&lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/downloads&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/downloads&lt;/a&gt;&#xA;&lt;a href=&quot;http://onelittlespark.bartverdonck.be/send-sitecore-forms-to-a-fixed-email-address/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://onelittlespark.bartverdonck.be/send-sitecore-forms-to-a-fixed-email-address/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a new &quot;Send Email&quot; submit action in the package that allows you to pick an EXM message, in the EXM message you can use tokens in the format of $form_fieldname$&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-10-08T12:16:36.713" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14313" PostTypeId="1" AcceptedAnswerId="14343" CreationDate="2018-10-08T13:26:31.820" Score="0" ViewCount="597" Body="&lt;p&gt;I'm using Sitecore 9 and SXA 1.7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to find a way to sort search results with 2 facets without using custom code or having it affect performance speed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, I have some blog posts that I need to be sorted both by date and by a computed index field I created called Featured, I want the Featured posts to always appear first, and the search results in general to be sorted by date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to do this by setting the facet to sort by date, and adding the sort by featured in the search result scope.. however, I have noticed that adding any kind of sorting inside the scope causes a big performance issue, as the search results are significantly slower to load once sorting is added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I need to know is if there's a way to implement this without having it affect the performance speed so much? and possibly without having to make custom code?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2018-10-10T07:56:40.827" Title="Sorting search results with multiple facets" Tags="|sxa|content-search|search-facet|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14314" PostTypeId="1" AcceptedAnswerId="14316" CreationDate="2018-10-08T13:53:20.470" Score="0" ViewCount="106" Body="&lt;p&gt;Sitecore.NET 8.2 update 7. EXM 3.5. We use custom smtp. This errors have no effects for sending. Could I off it?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Message: The request failed with HTTP status 403: Forbidden.&#xA;Source: System.Web.ServicesLog:at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)&#xA;       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)&#xA;       at Sitecore.Modules.EmailCampaign.EmailPreviewService.EmailPreview.GetEmailClients(Credentials credentials)&#xA;       at EmailCampaign.Controls.EmailPreviewClientDataSource.EmailPreviewClientDataSource.GetEmailClients()&#xA;&#xA;ERROR Could not fetch list of spam check clients&#xA;Exception: System.Net.WebException&#xA;Message: The request failed with HTTP status 403: Forbidden.&#xA;Source: System.Web.Services&#xA;       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)&#xA;       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)&#xA;       at Sitecore.Modules.EmailCampaign.SpamCheckService.SpamCheck.GetSpamClients(Credentials credentials)&#xA;       at EmailCampaign.Controls.SpamCheckClientDataSource.SpamCheckClientDataSource.GetSpamCheckClients()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4080" LastActivityDate="2018-10-08T15:38:08.313" Title="Exm error &quot;Could not fetch list of email clients&quot;" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14315" PostTypeId="2" ParentId="14307" CreationDate="2018-10-08T15:19:34.773" Score="1" Body="&lt;p&gt;The Automated email campaign will attempt to send the email to the current contact. The missing piece in Sitecore 9 Forms is populating the contact with the data from the form.&#xA;You can implement a custom Submit Action to identify the contact and send all form fields into xDB. Then, the automated campaign will pick up the details and send the email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a detailed walk-through of how to create a custom submit action that will populate contact details: &#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="9" LastActivityDate="2018-10-08T15:19:34.773" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14316" PostTypeId="2" ParentId="14314" CreationDate="2018-10-08T15:38:08.313" Score="1" Body="&lt;p&gt;You can ignore those exceptions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The email preview and spam check functionality has been deprecated. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;On February 28, 2018, Sitecore will turn off the Email Preview and&#xA;  Spam Check services. The reason for this is that Litmus has decided to&#xA;  deprecate their legacy API, which we currently use as a part of&#xA;  Sitecore Email Experience Manager (EXM) Email Preview and Spam Check&#xA;  services.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Litmus is retiring their API in 2018 because they have a new product&#xA;  offering. The new product does not allow an OEM integration, so it is&#xA;  not a viable part of our partnership. Customers can utilize the new&#xA;  service but must sign up with Litmus directly.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;from &lt;a href=&quot;https://kb.sitecore.net/articles/460210&quot; rel=&quot;nofollow noreferrer&quot;&gt;End of life for Email Preview and Spam Check (Litmus) services&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-10-08T15:38:08.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14317" PostTypeId="1" AcceptedAnswerId="14318" CreationDate="2018-10-08T16:28:28.623" Score="0" ViewCount="183" Body="&lt;p&gt;Does anyone knows how to override the clear button event of a checklist, my scenario is to clear two checklist filters selections by clicking clear button of one of them.&#xA;Anyone knows how to achieve that or what is the event triggered by clear button?&lt;/p&gt;&#xA;" OwnerUserId="4232" LastActivityDate="2018-10-08T18:13:49.127" Title="SXA Checklist clear event" Tags="|sxa|search-facet|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14318" PostTypeId="2" ParentId="14317" CreationDate="2018-10-08T18:13:49.127" Score="2" Body="&lt;p&gt;If you want to override how the default script works all you need to do is to override &lt;code&gt;removeFacet()&lt;/code&gt; function in &lt;code&gt;component-search-results-filter&lt;/code&gt; script of Search base theme.&#xA;Few things you need to know:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;all search renderings are using/can use signatures (each filter support one or multiple signatures) - so it's not just about unselecting elements in UI but also removing params from the hash in the URL&lt;/li&gt;&#xA;&lt;li&gt;you need to get a list of all filters on the page - take a look at &lt;code&gt;getFacetDataRequestInfo()&lt;/code&gt; function in the same file and you can use a similar approach&lt;/li&gt;&#xA;&lt;li&gt;all the all of the filters need to have a fact assigned - you can check the data properties of Backbone model (it's stored there after parsing data attributes, the same with signatures) - this information is required to know what to remove from the hash&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-10-08T18:13:49.127" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14319" PostTypeId="1" CreationDate="2018-10-09T00:14:56.307" Score="0" ViewCount="249" Body="&lt;p&gt;How do I set up a goal that uses a rule in Sitecore that only counts those users who have visited two pages in succession? It's important that I exclude all traffic that haven't visited these pages in succession.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&#xA;- first page visited: www.abc.com/page-1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and then&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;second page visited: www.abc.com/page-2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Why: &#xA;I am trying to A/B test a Call-to-Action button on the 1st page that links through to the 2nd page. Both pages will get high volumes of traffic to them everyday from other sources so I need to ensure that I only include the traffic who click on the CTA button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the best way to do this in goals or in something else in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="4417" LastActivityDate="2018-10-09T03:15:48.443" Title="How to set a goal that only counts two specific pages visited in succession?" Tags="|content-testing|goals|experience-optimization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14321" PostTypeId="1" AcceptedAnswerId="14333" CreationDate="2018-10-09T00:48:56.700" Score="2" ViewCount="731" Body="&lt;p&gt;I am getting 404s (requested document not found) when I try to use a custom route I created per the guide here: &lt;a href=&quot;https://kb.sitecore.net/articles/700677&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/700677&lt;/a&gt;. My patch config is showing up in showconfig, here's what it looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;[obfuscated].Pipelines.Routes.RegisterCustomRoute, [obfuscated]&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The processor code: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;namespace BrightHorizons.Pipelines.Routes&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    public class RegisterCustomRoute&#xA;    {&#xA;        public virtual void Process(PipelineArgs args)&#xA;        {&#xA;            RouteTable.Routes.MapRoute(&quot;CustomRoute&quot;, &quot;api/{controller}/{action}/{id}&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The controller action and controller name seem correct... here's what that looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FindACenterController : GlassController&#xA;{&#xA;    public ActionResult FindACenterMap()&#xA;    {&#xA;        ...&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am trying to access it like this:&#xA;&lt;code&gt;http://mysite/api/FindACenter/FindACenterMap&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried using a basic Default route in the RouteConfig.cs (&lt;code&gt;/{controller}/{action}/{id}&lt;/code&gt;) under App_Start before that and it did not work either. I am really not good at MVC routing so looking for some guidance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; &#xA;FindACenterMap is now working, however this is not working for a different controller. Added a new route:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RouteTable.Routes.MapRoute(&quot;SubmitScheduleVisit&quot;,&#xA;    &quot;api/SubmitScheduleVisit&quot;,&#xA;    new { controller = &quot;FindACenter&quot;, action = &quot;SubmitScheduleVisit&quot; },&#xA;    new { httpMethod = new HttpMethodConstraint(&quot;POST&quot;) }&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's in the same controller. This is the action definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpPost]&#xA;public ActionResult SubmitScheduleVisit(string selectedDate, string selectedTime, string firstName, string lastName,&#xA;            string emailAddress, string phoneNumber, string whenToStart, List&amp;lt;string&amp;gt; childDatesOfBirth)&#xA;{&#xA;     ....&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLUTION TO UPDATE&lt;/strong&gt; (Not a solution to the original question): I simply had to run the query in Postman. I was testing the API call in Firefox which meant it was getting run as a GET, not a POST. Solved.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="1344" LastEditDate="2018-10-09T18:58:06.370" LastActivityDate="2018-10-09T18:58:06.370" Title="Requested document not found when using MVC routes" Tags="|mvc|routing|custom-route|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14322" PostTypeId="2" ParentId="14299" CreationDate="2018-10-09T01:13:11.573" Score="3" Body="&lt;p&gt;To achieve zero downtime for sitecore websites, a commonly recommended &quot;best-practice&quot; approach is to have two sitecore Content Delivery (CD) servers and a load balancer in front, and then a separate CM server for content management. This approach also works perfectly for your multisite scenario because all 3 sites are served from both CD servers (one app pool in each, with all site bindings). Any deployment can be done by taking one CD server offline (removed from load balancer) at a time, updating the code, then bringing online and repeating this for the other server, always having one CD server online and resulting in zero downtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that sitecore licensing typically requires that you have a license per instance (and different app pools also count as separate instances, so contact sitecore to discuss your licensing requirements).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The examples you suggested are not best practice, but could be considered to reduce costs. You could have 3 separate app pools serving separate sitecore CD instances (each its own website folder on disk with a full copy of the website files/binaries), the only difference would need to be a unique config &quot;Analytics.ClusterName&quot; setting. This means you don't need extra infrastructure, but this will share the resources of the server and possibly result in slower performance, and still need to be licensed as separate instances. Then the site bindings in IIS for each country's website can each be binded to one app pool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you should use the sitecore standard single instance (combined CM/CD) configuration for multiple instances. They should be configured as CD instances, so that they don't all do the same processing jobs that will conflict with each other and result in a broken application!&lt;/p&gt;&#xA;" OwnerUserId="1314" LastActivityDate="2018-10-09T01:13:11.573" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14324" PostTypeId="2" ParentId="14319" CreationDate="2018-10-09T03:15:48.443" Score="2" Body="&lt;p&gt;There is an easy way to do this by editing the link of your call to action in sitecore. &#xA;In the querystring value of the link, enter in: sc_trk=goalname&#xA;(so if your goal is named &quot;LinkAction1&quot; , then enter sc_trk=LinkAction1)&#xA;Save and publish that, and it will only trigger that goal if a user clicks that call to action button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vAfhO.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vAfhO.jpg&quot; alt=&quot;insert link with goal trigger&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1314" LastActivityDate="2018-10-09T03:15:48.443" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14325" PostTypeId="1" AcceptedAnswerId="14341" CreationDate="2018-10-09T05:48:48.953" Score="0" ViewCount="124" Body="&lt;p&gt;We have a requirement, where we need to migrate Blog Sites in Wordpress to Sitecore. We are using WeBlog Module(Release 3.1) to migrate in Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I downloaded the module from GitHub, and followed the instructions to set it up. After setup, when I try to import the XML Export File from Wordpress, using the module from Sitecore, it gets failed. I am not able to see any error on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please let me know, what more I need to do in order to make it work? Also, any leads where I can find the logs will also be very helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &amp;amp; Regards,&lt;br&gt;&#xA;Sharad Kumar Sangal&lt;/p&gt;&#xA;" OwnerUserId="4420" LastActivityDate="2018-11-09T06:01:40.283" Title="WeBlog Module (Release 3.1) - Word Press Blog Site Migration to Sitecore 8.2" Tags="|weblog|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14327" PostTypeId="1" AcceptedAnswerId="14455" CreationDate="2018-10-09T07:30:07.357" Score="0" ViewCount="52" Body="&lt;p&gt;I'm just wondering if it is possible to install/enable sitecore Habitat's visits detail panel onto our own (testing) website that is not sitecore helix compliance ?&lt;/p&gt;&#xA;" OwnerUserId="3851" LastActivityDate="2018-10-17T16:28:34.670" Title="How to install sitecore Habitat's &quot;visits detail panel&quot; on other sitecore site" Tags="|helix|habitat|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14328" PostTypeId="2" ParentId="8915" CreationDate="2018-10-09T07:55:06.283" Score="2" Body="&lt;p&gt;This could also be shown when your &lt;code&gt;ServiceBaseAddress&lt;/code&gt; is wrong in &lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had to change my address from &lt;code&gt;https://xxx/solr/&lt;/code&gt; to &lt;code&gt;https://xxx/solr&lt;/code&gt; (removed the last /)&lt;/p&gt;&#xA;" OwnerUserId="4421" LastEditorUserId="35" LastEditDate="2018-10-09T14:35:23.700" LastActivityDate="2018-10-09T14:35:23.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14329" PostTypeId="2" ParentId="14109" CreationDate="2018-10-09T11:41:59.103" Score="2" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;about every 21 minutes&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The application pool in our environment was&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;General/Start Mode=AlwaysRunning&lt;/li&gt;&#xA;&lt;li&gt;Process Model/Idle Time-out(minutes)=20&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We had changed the time-out to 1, now the error occurs about every 2 minutes.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;We logged &quot;Request.AppRelativeCurrentExecutionFilePath&quot; when the error occurred.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We found the wrong setting in our environment.&#xA;(web.config / configuration / system.webServer / applicationInitialization)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Correct)&lt;code&gt;&amp;lt;add initializationPage=&quot;foo/bar.cshtml&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wrong)&lt;code&gt;&amp;lt;add initializationPage=&quot;~/foo/bar.cshtml&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The wrong setting caused the wrong path.&#xA;(~/~/foo/bar.cshtml)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The correct setting resolved the error in our environment.&lt;/p&gt;&#xA;" OwnerUserId="4419" LastActivityDate="2018-10-09T11:41:59.103" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14332" PostTypeId="1" AcceptedAnswerId="14760" CreationDate="2018-10-09T14:11:46.783" Score="4" ViewCount="400" Body="&lt;p&gt;We are using Sitecore 9 Update 2 + Sitecore Commerce 9 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search field didn't return any result when I'm trying to add an image to the sellable item. As a key, I use image name. &#xA;Before that, I republished all site and rebuilt all indexes.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3dIfw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3dIfw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nQ3uq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nQ3uq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I heard it's known issue for Commerce team, but didn't found any information about it. &lt;/p&gt;&#xA;" OwnerUserId="3988" LastEditorUserId="3988" LastEditDate="2018-10-09T14:28:36.897" LastActivityDate="2020-06-05T12:23:52.767" Title="Can't add image to the sellable item" Tags="|sitecore-commerce|media-library|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14333" PostTypeId="2" ParentId="14321" CreationDate="2018-10-09T16:14:51.390" Score="2" Body="&lt;p&gt;The code below is code I reuse constantly. The only caveat is that is the controller is in a different project/library than the route initialization code, strange thing happen. I always keep the controller and initialize code together. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your url would now be &lt;code&gt;http://mysite/api/FindACenterMap&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see this answer while modification of the global.asax is not required. &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2305/global-asax-application-start-not-hit-after-upgrade-to-sitecore-8-2/2311#2311&quot;&gt;Global.asax Application_Start not hit after upgrade to Sitecore 8.2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The route&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual void Process(PipelineArgs args)&#xA;{&#xA;    RouteTable.Routes.MapRoute(&quot;FindACenterMap&quot;,&#xA;        &quot;api/FindACenterMap&quot;,&#xA;        new { controller = &quot;FindACenter&quot;, action = &quot;FindACenterMap&quot; },&#xA;        new { httpMethod = new HttpMethodConstraint(&quot;GET&quot;) }&#xA;    );&#xA;&#xA;    RouteTable.Routes.MapRoute(&quot;SubmitScheduleVisit&quot;,&#xA;        &quot;api/SubmitScheduleVisit&quot;,&#xA;        new { controller = &quot;FindACenter&quot;, action = &quot;SubmitScheduleVisit&quot; },&#xA;        new { httpMethod = new HttpMethodConstraint(&quot;POST&quot;) }&#xA;    );&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The controller&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FindACenterController : GlassController&#xA;{&#xA;    [HttpGet]&#xA;    public ActionResult FindACenterMap()&#xA;    {&#xA;        ...&#xA;    }&#xA;&#xA;    [HttpPost]&#xA;    public ActionResult SubmitScheduleVisit(string selectedDate, string selectedTime, string firstName, string lastName, string emailAddress, string phoneNumber, string whenToStart, List&amp;lt;string&amp;gt; childDatesOfBirth)&#xA;    {&#xA;            ....&#xA;    }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The config&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;[obfuscated].Pipelines.Routes.RegisterCustomRoute, [obfuscated]&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-10-09T18:30:40.093" LastActivityDate="2018-10-09T18:30:40.093" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14336" PostTypeId="1" CreationDate="2018-10-09T23:44:18.043" Score="0" ViewCount="840" Body="&lt;p&gt;After installing Sitecore publishing module package on my sitecore 9 instance, l can no more see the languages and targets when I try to publish an item. I have installed publishing service as well and see the same behaviour there when I try to publish site. I have checked the configuration and the database and targets are present there. Is it a known issue or am i missing something in configuration. &lt;a href=&quot;https://i.stack.imgur.com/FSyEb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FSyEb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="408" LastEditDate="2018-12-09T08:41:32.450" LastActivityDate="2019-05-10T14:51:51.003" Title="Publishing target missing after installing Sitecore publishing module" Tags="|publishing-service|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14337" PostTypeId="1" AcceptedAnswerId="14355" CreationDate="2018-10-10T01:49:04.053" Score="1" ViewCount="121" Body="&lt;p&gt;According to this official guide &quot;Configure Azure Search&quot;(&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/configure_azure_search#_Create_a_Search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/search_and_indexing/configure_azure_search#_Create_a_Search&lt;/a&gt;), first I have created Search Service on Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, I have disabled all the config files for Solr and enabled config files for Azure Search. Then, I added a single code with URL and API ver, key in ConnectionStrings.config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what can I do next? I cannot see any guides about how to test the connections between Sitecore and Azure Search.&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="4091" LastEditDate="2018-10-10T04:25:07.157" LastActivityDate="2018-10-10T22:18:56.833" Title="How do you check if your configuration for Azure Search is working on Sitecore 8.2.7?" Tags="|sitecore-client|configuration|azure|xconnect|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14338" PostTypeId="2" ParentId="14336" CreationDate="2018-10-10T03:28:57.793" Score="1" Body="&lt;p&gt;Thanks Peter, there were indeed few settings missing in the publishing service configuration which i corrected from the article you provided, but the issue which i was facing i.e. publishing target not showing up was due to someone unknowingly checking in a patch file for publishing services i.e. publishingservices.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The patch file was containing a different url for publishing service and was overriding the one which i provided in the original config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The config was cached by asp.net and hence was still pointing to the wrong url given in patch file. I am not sure why sitecore didn't show me the error but after cleaning temporary asp.net files sitecore start showing error for wrong publishing url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On correcting the url, the target start appearing in my publishing dialog box. &#xA;I did IIS reset multiple times but it has no effect and only clearing of temporary asp.net file helped. This is the link which mentioned clearing temporary files &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5958/sitecore-publishing-service-does-not-show-the-languages-and-seeing-404-errors/5959#5959&quot;&gt;Sitecore Publishing Service does not show the languages and seeing 404 errors&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2018-10-10T03:28:57.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14339" PostTypeId="2" ParentId="5958" CreationDate="2018-10-10T03:33:29.583" Score="0" Body="&lt;p&gt;Just got resolution for my issue which was quite similar to yours &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14336/publishing-target-missing-after-installing-sitecore-publishing-module/14338#14338&quot;&gt;publishing target missing after installing Sitecore publishing module&lt;/a&gt;. you can try clearing temporary asp.net files to make sure nothing is cached.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastActivityDate="2018-10-10T03:33:29.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14340" PostTypeId="1" CreationDate="2018-10-10T04:34:55.837" Score="2" ViewCount="155" Body="&lt;p&gt;Using DEF 2.0.1 and Sitecore 9.0.1, we have a DEF import process that imports items from an API and creates Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thats works OK until we introduce versions of an item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But we have fields on the imported data templates that are edited by the content author (believe me - there are valid reasons why they share the template) and should not be overwritten by the DEF and that works fine when the item has only one version ...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when an author creates a new version, that version has been reported disappear following an import on our Staging server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Testing locally, when I edit the value of field that isn't managed by the DEF in version 2 of an item and then run a DEF import, Im seeing the value of that field in version 2 being overwritten with the value from version 1. We are using the standard ResolveSitecoreItemStepProcessor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone had any experience of working with versions of items and the DEF?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2019-11-14T19:30:21.897" Title="Data Exchange Framework and Item Versions" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14341" PostTypeId="2" ParentId="14325" CreationDate="2018-10-10T05:25:36.840" Score="1" Body="&lt;p&gt;It's a known issue: &#xA;&lt;a href=&quot;https://github.com/WeTeam/WeBlog/issues/263&quot; rel=&quot;nofollow noreferrer&quot;&gt;github.com/WeTeam/WeBlog/issues/263&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can suggest this small exe to validate XML: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/WeTeam/WeBlog/issues/253#issuecomment-343414007&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/WeTeam/WeBlog/issues/253#issuecomment-343414007&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With help of it you might find what value is a problem for the importer. &lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-10-10T05:25:36.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14342" PostTypeId="1" CreationDate="2018-10-10T06:22:41.763" Score="0" ViewCount="2682" Body="&lt;p&gt;Have anyone used Mock Test framework for unit testing? I need to perform an unit testing for parent child functionality and am not able to get it resolved, because i am not getting a parent child relationships using Mock setup. Please help me on the same. I need to mock an entire hierarchy level of parent and children&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an article category section, which has different articles in it. I need to get all the articles, with the category name and the code logic is working fine. But I need to create a mock parent child relation setup for the same so that i can unit test that too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help on this&lt;/p&gt;&#xA;" OwnerUserId="950" LastActivityDate="2018-11-09T15:45:48.017" Title="Create mock tests for the Sitecore logic" Tags="|unit-testing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14343" PostTypeId="2" ParentId="14313" CreationDate="2018-10-10T07:56:40.827" Score="0" Body="&lt;p&gt;I've checked the implementation and the &lt;code&gt;o&lt;/code&gt; param accepts multiple sortings. You can pass there something like that: &lt;code&gt;Title,Ascending|MyField,Ascending&lt;/code&gt;. This means that the results will be sorted by &lt;code&gt;Title&lt;/code&gt; field in ascending direction and then by &lt;code&gt;MyField&lt;/code&gt; field also in ascending direction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But at the moment there is no way to pass two sorting params at once from the UI so that you would need to extend the front-end part.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-10-10T07:56:40.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14346" PostTypeId="1" CreationDate="2018-10-10T12:30:07.127" Score="0" ViewCount="98" Body="&lt;p&gt;I am not shure how to do it &quot;right&quot; because the solution that this works would be to use the &quot;MetaData Keyword&quot; instead of the &quot;_Keyword&quot; as &quot;IncludeTemplatesForSelection&quot; but then I would &quot;reference&quot; from my feature to the project layer but as datasource I've set allready a Guid from &quot;sitecore/content/s.../..DotCom/Global/MetaData Keywords&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;does it give here a right and &quot;wrong&quot; solution or what would be the right approach?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jLHOi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jLHOi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-10-11T09:11:32.107" Title="How to Assign Datasources and IncludeTemplatesForSelection with Helix" Tags="|helix|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14347" PostTypeId="1" AcceptedAnswerId="14360" CreationDate="2018-10-10T12:43:14.063" Score="2" ViewCount="514" Body="&lt;p&gt;I am using Sitecore XC9 update-2 and noticed that import commerce items are not published by default. The items are however shown when using the Authoring environment, but not when using the Shops environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this setting for the Authoring environment:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;   &quot;$type&quot;: &quot;Sitecore.Commerce.Core.IgnorePublishedPolicy, Sitecore.Commerce.Core&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is it since XC9 update-2 necessary to publish commerce items after import?&#xA;And if so, how to do this programmatically?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2018-10-10T13:09:44.570" LastActivityDate="2019-06-16T17:16:47.307" Title="Publishing items after catalog import (using XC9 update-2)?" Tags="|sitecore-commerce|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14348" PostTypeId="1" AcceptedAnswerId="14351" CreationDate="2018-10-10T14:00:29.850" Score="0" ViewCount="68" Body="&lt;p&gt;I would like to know how many times a user control is being used in a sitecore site.  If possible, I would like to get the list of pages that use a specific user control.  Googling doesn't seem to help.&lt;/p&gt;&#xA;" OwnerUserId="3902" LastActivityDate="2018-10-10T15:25:11.830" Title="how to tell how many times a user control is used and where is it used?" Tags="|webforms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14349" PostTypeId="2" ParentId="14342" CreationDate="2018-10-10T14:06:42.587" Score="1" Body="&lt;p&gt;Using &lt;strong&gt;Sitecore.FakeDb&lt;/strong&gt; you can create something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public void YourTest()&#xA;    {&#xA;        using (var db = GetHierarchyItems())&#xA;        {&#xA;           &amp;lt;.. run your testing here..&amp;gt;&#xA;        }&#xA;    }&#xA;&#xA;    private static Db GetFullBreadcrumbsItems()&#xA;    {&#xA;        return new Db&#xA;        {&#xA;            new DbItem(&quot;Parent&quot;, ID.NewID, IConstants.WhateverTemplateId)&#xA;            {&#xA;                new DbItem(&quot;Child&quot;, ID.NewID, IConstants.WhateverTemplateId)&#xA;                {&#xA;                    new DbItem(&quot;Grandchild&quot;, ID.NewID, IConstants.WhateverTemplateId)&#xA;                },&#xA;                new DbField(&quot;Some Field Of Parent Item&quot;, IConstants.SomeFieldId)&#xA;                {&#xA;                     Value = &quot;something&quot;&#xA;                },&#xA;            }&#xA;        };&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1034" LastActivityDate="2018-10-10T14:06:42.587" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14350" PostTypeId="1" AcceptedAnswerId="14391" CreationDate="2018-10-10T15:12:49.690" Score="1" ViewCount="723" Body="&lt;p&gt;I am adding a sitemap to my site. I created a custom route and am adding it in a pipeline processor. When I brows to the page I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Object reference not set to an instance of an object.&#xA;&#xA;[NullReferenceException: Object reference not set to an instance of an object.]  &#xA;Sitecore.Mvc.Pipelines.Request.RequestBegin.EnsureLoggedInForPreview.Process( PipelineArgs args) +30&#xA; (Object , Object[] ) +70&#xA; Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +468&#xA; Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +21&#xA; Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +194&#xA; Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +73  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1122&#xA; System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213&#xA; System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +131&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapRoute(&quot;Sitemap&quot;, &quot;sitemap.xml&quot;,&#xA;            new { controller = &quot;XmlSitemap&quot;, action = &quot;XmlSitemap&quot; });&#xA;&#xA;        });&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I am patching it in as per Sitecore's documentation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;DD.Platform.Sc.Pipelines.Mvc.RouteConfig,DD.Platform.Sc&quot;&#xA;               patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Its definitely something about the .xml. If I make the custom route just 'sitemap' it works. &lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2018-10-12T14:09:38.557" LastActivityDate="2018-10-12T16:44:38.407" Title="Adding sitemap.xml custom route causes EnsureLoggedInForPreview.Process" Tags="|sitemap|custom-route|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14351" PostTypeId="2" ParentId="14348" CreationDate="2018-10-10T15:25:11.830" Score="1" Body="&lt;p&gt;You can look up the referrers of the specific user control since it's an item in Sitecore (rendering/sublayout) using the Link database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a quick check, you can take a look at the Navigate ribbon &gt; Links&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B527f.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B527f.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want a report-like list, it might be easiest to use &lt;a href=&quot;https://doc.sitecorepowershell.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt; to get a list of all referrers in an exportable format - &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/common/get-itemreferrer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/appendix/common/get-itemreferrer&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="9" LastActivityDate="2018-10-10T15:25:11.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14354" PostTypeId="1" CreationDate="2018-10-10T17:57:37.780" Score="1" ViewCount="109" Body="&lt;p&gt;I am using SXA 1.7, we are using 4 search results component in the page and we can find that the performance degrades after logging to the system with 10 users. IIS worker process is consuming about 93% of CPU utilization and when inspcet the requests in worker process we found that SXA search results elapsed time is increasing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any missing configuration that should be done to enhance the performance?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2018-10-10T17:57:37.780" Title="SXA Search Performance" Tags="|sxa|performance-optimization|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14355" PostTypeId="2" ParentId="14337" CreationDate="2018-10-10T22:18:56.833" Score="3" Body="&lt;p&gt;In the Content Management server, log in and go to the Control Panel, open the Indexing manager and then Rebuild all indexes. If you don't get any errors then you can check the indexes in Azure search and make sure the count of items indexed is as expected. Even if it succeeds you should check the logs for any warnings and errors that may cause some individual items not to be indexed.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-10-10T22:18:56.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14360" PostTypeId="2" ParentId="14347" CreationDate="2018-10-11T04:33:16.000" Score="4" Body="&lt;p&gt;There is a published flag on each catalog entity in XC9-update 2. Try setting that to true before you persist the entity.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private async Task PublishSellableItem(CommercePipelineExecutionContext context, string sellableItemId)&#xA;{&#xA;    var sellableItem = (await _commerceCommander&#xA;        .Command&amp;lt;FindEntityCommand&amp;gt;()&#xA;        .Process(context.CommerceContext, typeof(SellableItem), actualSellableItemId, false)) as SellableItem;&#xA;&#xA;    sellableItem.Published = true;&#xA;&#xA;    await _commerceCommander.PersistEntity(context.CommerceContext, sellableItem);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(There's no need to have a separate method to do this. It's just for a complete example.)&lt;/p&gt;&#xA;" OwnerUserId="4119" LastActivityDate="2018-10-11T04:33:16.000" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14361" PostTypeId="1" AcceptedAnswerId="14362" CreationDate="2018-10-11T06:39:25.770" Score="0" ViewCount="355" Body="&lt;p&gt;When installing Sitecore instance, I chose a wrong physical path but it was meant to be at a different location.&#xA;I realized that I get 404 error when I moved whole Sitecore folder (Web and Data, but no data since we are using Azure SQ Server). I changed the physical path for Sitecore instance but it did not work well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ay thoughts?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastActivityDate="2018-10-11T06:52:58.290" Title="Moving whole Sitecore instance to another location using Sitecore 8.2.7" Tags="|sitecore-client|sitecore-install-framework|iis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14362" PostTypeId="2" ParentId="14361" CreationDate="2018-10-11T06:52:58.290" Score="2" Body="&lt;p&gt;Change location of your &lt;code&gt;Web&lt;/code&gt; folder on &lt;code&gt;IIS&lt;/code&gt; and also update the path to a &lt;code&gt;Data&lt;/code&gt; folder. It is configured via &lt;code&gt;dataFolder&lt;/code&gt; variable. You can use patch file to udpate it: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;dataFolder&quot;&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/App_Data&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/sc.variable&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-10-11T06:52:58.290" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14363" PostTypeId="1" AcceptedAnswerId="14364" CreationDate="2018-10-11T08:12:06.677" Score="1" ViewCount="66" Body="&lt;p&gt;I have created copy of the Sample Workflow and rename it to (e.g. to) XYZ Default. Then I assigned it to field Default Workflow of all templates.&#xA;And when I create new item based on template with my XYZ Default workflow, I see the following values in fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Workflow: Workflows/XYZ Default&#xA;State: Workflows/Sample Workflow/Draft&#xA;Default workflow: Workflows/XYZ Default&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why I see value Workflows/Sample Workflow/Draft in State field, not Workflows/XYZ Default/Draf?&lt;/p&gt;&#xA;" OwnerUserId="3624" LastActivityDate="2018-10-11T08:38:43.797" Title="How to set the copy of Sample Workflow to items right way?" Tags="|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14364" PostTypeId="2" ParentId="14363" CreationDate="2018-10-11T08:14:47.323" Score="3" Body="&lt;p&gt;When you crated a copy of a workflow you copied all fields as well. Your workflow stores Initial workflow state and next steps in a fields. &#xA;To fix it, go to your new workflow and update fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First go to your &lt;code&gt;XYZ Default&lt;/code&gt; item and update &lt;code&gt;Initial state&lt;/code&gt; field.&#xA;Then go to each workflow's &lt;code&gt;Command&lt;/code&gt; items and update &lt;code&gt;Next state&lt;/code&gt; field.&lt;/p&gt;&#xA;" OwnerUserId="35" LastEditorUserId="35" LastEditDate="2018-10-11T08:38:43.797" LastActivityDate="2018-10-11T08:38:43.797" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14365" PostTypeId="2" ParentId="14346" CreationDate="2018-10-11T09:11:32.107" Score="1" Body="&lt;p&gt;I am currently using a query to solve the multisite problem and using a Multilist as Type&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the new source Query is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor::*[@@templatename='Site Root']/Global//*[@@templatename ='MetaData Keyword']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-10-11T09:11:32.107" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14366" PostTypeId="1" AcceptedAnswerId="14369" CreationDate="2018-10-11T09:55:18.063" Score="0" ViewCount="168" Body="&lt;p&gt;I'm trying to add languages versions to an existing sitecore item i've created:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//creation of my item&#xA;&#xA;Item item = Utils.CreatePage(cp.CreationFolder.Split('&amp;amp;')[0] + &quot;/&quot; + year, month, cp.PageTemplate);&#xA;&#xA;&#xA;&#xA; public static Item CreatePage(string creationFolder, int val, string pageTemplate)&#xA;    {&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            Database masterDb = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;            Item parentItem = masterDb.Items[creationFolder];&#xA;            TemplateItem template = masterDb.GetTemplate(pageTemplate);&#xA;            Item itemCreated = parentItem.Add(val.ToString(), template);&#xA;            Item item = masterDb.GetItem(itemCreated.ID);&#xA;            return item;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, after the call of this function is done, i call this function to add new versions and fill some fields:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Utils.EnableSubItemsSorting(item, &quot;Reverse&quot;, cp.SubItemsSortingFolder, lstStrLanguages);&#xA;&#xA;       public static void EnableSubItemsSorting(Item item, string sort, string SubItemsSortingFolder, List&amp;lt;string&amp;gt; lst_lg)&#xA;        {&#xA;            Database masterDb = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;            foreach (var lg in lst_lg)&#xA;            {&#xA;                using (new LanguageSwitcher(lg))&#xA;                {&#xA;                    var sitecoreItem = masterDb.GetItem(item.ID, Sitecore.Data.Managers.LanguageManager.GetLanguage(lg));&#xA;                    sitecoreItem.Editing.BeginEdit();&#xA;                    try&#xA;                    {&#xA;                        var sortItem = Factory.GetDatabase(&quot;master&quot;).GetItem(SubItemsSortingFolder).Children&#xA;                                       .FirstOrDefault(w =&amp;gt; w.Name.Equals(sort));&#xA;                        sitecoreItem.Fields[&quot;__Subitems Sorting&quot;].Value = sortItem.ID.ToString();&#xA;                    }&#xA;                    catch (Exception)&#xA;                    {&#xA;                        sitecoreItem.Editing.CancelEdit();&#xA;                    }&#xA;                    finally&#xA;                    {&#xA;                        sitecoreItem.Editing.EndEdit();&#xA;                        sitecoreItem = null;&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In sitecore i only see the item created in english and not in french for example, even if i'm absolutely sure that the &lt;code&gt;lstStrLanguages&lt;/code&gt; contains both values (&quot;fr&quot; and &quot;en&quot;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone explain me what's wrong in my code ? &#xA;Thank you for your help!&lt;/p&gt;&#xA;" OwnerUserId="2278" LastEditorUserId="2056" LastEditDate="2019-02-12T13:20:19.993" LastActivityDate="2019-02-12T13:20:19.993" Title="Can't add new language versions to an existing item" Tags="|multilingual|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14367" PostTypeId="1" AcceptedAnswerId="14383" CreationDate="2018-10-11T12:11:11.977" Score="2" ViewCount="1112" Body="&lt;p&gt;One of the Sitecore projects is running on Azure PaaS. I use Sitecore 9 update 1 medium size (1 cm, 1 cd). The publishing speed is very slow after exceeding 10k items or more (I have around 200k items, it takes 1 day to complete the publishing).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tested the same publishing scenario on a clean PaaS Sitecore instance and it's still slow If you compare it with your local dev or the development on-premise Sitecore instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the following to increase the publishing performance with no luck:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Scaled out the CM app service.&lt;/li&gt;&#xA;&lt;li&gt;Scaled out the databases (core, master, web). I have set up the DTU to 1000 for testing purposes and I can see the site is getting faster but still the publishing very slow after reaching 10k items. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Right now I'm switching to Sitecore Publishing Service, but I would like to know what is the reason for the performance issue especially all of the databases and the web app services located in the same region with great specs. &lt;/p&gt;&#xA;" OwnerUserId="1122" LastEditorUserId="73" LastEditDate="2019-04-11T20:20:08.613" LastActivityDate="2019-04-12T02:23:51.733" Title="Azure PaaS Publishing Performance" Tags="|azure|publishing|paas|publishing-service|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14368" PostTypeId="1" AcceptedAnswerId="14370" CreationDate="2018-10-11T12:30:03.450" Score="2" ViewCount="263" Body="&lt;p&gt;Is it possible to create a zip file using Sitecore &lt;code&gt;FileUtil.ZipFiles&lt;/code&gt; where the files to be added are from the Media Library items? &lt;/p&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="277" LastEditDate="2018-10-11T13:32:12.087" LastActivityDate="2018-10-11T13:32:12.087" Title="Sitecore FileUtil.ZipFiles creating zip files from Media Library items" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14369" PostTypeId="2" ParentId="14366" CreationDate="2018-10-11T12:57:58.007" Score="1" Body="&lt;p&gt;It's most likely related to missing permissions that prevent the code from creating item language versions. You could use &lt;code&gt;SecurityDisabler&lt;/code&gt; just as you did in your first code sample:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SecurityDisabler())&#xA;{&#xA;    Utils.EnableSubItemsSorting(item, &quot;Reverse&quot;, cp.SubItemsSortingFolder, lstStrLanguages);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;SecurityDisabler&lt;/code&gt; causes a segment of code to run in the context of a&#xA;  user with administrative rights, regardless of the context user. The&#xA;  code within the &lt;code&gt;using&lt;/code&gt; statement block has full control of the entire&#xA;  system, and can take any action on any item or field.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2018-10-11T13:02:58.190" LastActivityDate="2018-10-11T13:02:58.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14370" PostTypeId="2" ParentId="14368" CreationDate="2018-10-11T13:31:55.313" Score="3" Body="&lt;p&gt;No, it's not possible wit &lt;code&gt;FileUtil&lt;/code&gt; only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a reference to &lt;code&gt;Sitecore.Zip.dll&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Use &lt;code&gt;Sitecore.Zip.ZipWriter&lt;/code&gt; class like that:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (ZipWriter zw = new ZipWriter(FileUtil.MapPath(&quot;/test.zip&quot;)))&#xA;{&#xA;    var mediaItem = new MediaItem(item);&#xA;    zw.AddEntry(mediaItem.Name + &quot;.&quot; + mediaItem.Extension, mediaItem.GetMediaStream());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Remember that your IIS process user must have write access to the folder where you want to create the zip file.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-10-11T13:31:55.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14371" PostTypeId="2" ParentId="11553" CreationDate="2018-10-11T14:48:00.480" Score="2" Body="&lt;p&gt;According to the help desk, yes you still have to edit the file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;\sitecore\shell\client\Business Component Library\Layouts\Renderings\Common\DatePickers\DatePicker.js&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But instead of fixing the hard-coded date format to your desired format, update this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.model.set(&quot;dateFormat&quot;, &quot;mm/dd/yyyy&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.model.set(&quot;dateFormat&quot;, this.$el.attr(&quot;data-dateformat&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not sure yet if Sitecore considers this a bug and if it will be fixed in future versions (it is there in 90u1 and u2). As soon as they answer this question I will let you know.&lt;/p&gt;&#xA;" OwnerUserId="471" LastEditorUserId="1671" LastEditDate="2018-11-07T18:42:23.957" LastActivityDate="2018-11-07T18:42:23.957" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14374" PostTypeId="1" CreationDate="2018-10-11T16:58:42.143" Score="1" ViewCount="106" Body="&lt;p&gt;We are having the below item structure in sitecore and using Lucene Index, &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Home&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-- Products A Repository&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Product 1&lt;/li&gt;&#xA;&lt;li&gt;Product 2&lt;/li&gt;&#xA;&lt;li&gt;Product 3&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;-- Products B Repository&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Product 1&lt;/li&gt;&#xA;&lt;li&gt;Product 2&lt;/li&gt;&#xA;&lt;li&gt;Product 3&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Products A &amp;amp; Product B repository items is using Same template called product.&#xA;We have created new common custom index start location we set as Home.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we are trying to use the below code  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex(indexName);&#xA;using (var searchContext = index.CreateSearchContext())&#xA;{&#xA;    var searchText =&quot;Product&quot;;&#xA;    var items = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                .Where(x =&amp;gt; x.Content.Equals(searchText) &amp;amp;&amp;amp; x.Language == query.Language)&#xA;                .OrderByDescending(x =&amp;gt; x.Updated)&#xA;                .GetResults();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;reference: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/80/developing/developing_with_sitecore/search_and_item_buckets/linq_to_sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/80/developing/developing_with_sitecore/search_and_item_buckets/linq_to_sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but we are not sure how to set the Index Search Start location to search the item from the particular repository.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your Solution Works well , i marked as answer&lt;/p&gt;&#xA;" OwnerUserId="2957" LastEditorUserId="35" LastEditDate="2018-10-31T12:05:29.477" LastActivityDate="2018-10-31T12:31:52.313" Title="Lucene Search Item start location" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14375" PostTypeId="1" CreationDate="2018-10-11T17:17:05.143" Score="6" ViewCount="2806" Body="&lt;p&gt;I have some personalization conditions. None of these seem to execute. When debugging, none of the rules stop with break points. I have tried using the most simple built in rules such as &lt;code&gt;when [date] has passed&lt;/code&gt; to no avail. It is just not stepping through the conditions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is on &lt;strong&gt;Sitecore.NET 8.2 (rev. 160729)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have values &lt;code&gt;Xdb.Enabled&lt;/code&gt; and &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am testing in normal mode. I have &lt;code&gt;Sitecore.xDB.base&lt;/code&gt; license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see nothing in logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are the control properties and personalization rules. If the control does not have a data source nothing shows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I0O52.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I0O52.png&quot; alt=&quot;Control Properties&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HMTS3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HMTS3.png&quot; alt=&quot;Personalization Rules&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen all of the custom rules execute correctly. This is the only rule that I have not seen execute correctly. Possibly if there is one rule that is incorrect it would stop personalization running altogether?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AptifyMemberDuesPaidThruCondition&amp;lt;T&amp;gt; : OperatorCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;    private readonly IAptifyAuthenticator _aptifyAuthenticator;&#xA;&#xA;    public AptifyMemberDuesPaidThruCondition() : this(ServiceLocator.ServiceProvider.GetService&amp;lt;IAptifyAuthenticator&amp;gt;())&#xA;    { }&#xA;&#xA;    public AptifyMemberDuesPaidThruCondition(IAptifyAuthenticator aptifyAuthenticator)&#xA;    {&#xA;        _aptifyAuthenticator = aptifyAuthenticator;&#xA;    }&#xA;&#xA;    public string DuesPaidThru { get; set; }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// This function will be called to test the condition&#xA;    /// &amp;lt;/summary&amp;gt;       &#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;&#xA;        //Check if the user is logged in, otherwise return false&#xA;        if (!_aptifyAuthenticator.UserAptifyAuthenticated())&#xA;            return false;&#xA;&#xA;        DateTime dateTime = DateUtil.ParseDateTime(this.DuesPaidThru, DateTime.MinValue);&#xA;        if (dateTime.Kind != DateTimeKind.Utc)&#xA;        {&#xA;            string str = string.Concat(&quot;AptifyMemberDuesPaidThruCondition&amp;lt;T&amp;gt; expects UTC date, but date with different kind has been assigned to Now property: &quot;, this.DuesPaidThru);&#xA;            Log.Warn(str, this);&#xA;        }&#xA;&#xA;        var actualDuesPaidThru = _aptifyAuthenticator.GetUserCustomerPropertyDate(AuthenticatedPropertyName.DuesPaidThru);&#xA;&#xA;        if (!actualDuesPaidThru.HasValue)&#xA;            return false;&#xA;&#xA;        return DateComparer(actualDuesPaidThru.Value, dateTime, GetOperator());&#xA;&#xA;    }&#xA;&#xA;    private bool DateComparer(DateTime date1, DateTime date2, ConditionOperator conditionOperator)&#xA;    {&#xA;&#xA;        switch (conditionOperator)&#xA;        {&#xA;            case ConditionOperator.Equal:&#xA;                return date1.Equals(date2);&#xA;            case ConditionOperator.LessThan:&#xA;                return date1 &amp;lt; date2;&#xA;            case ConditionOperator.LessThanOrEqual:&#xA;                return date1 &amp;lt;= date2;&#xA;            case ConditionOperator.GreaterThan:&#xA;                return date1 &amp;gt; date2;&#xA;            case ConditionOperator.GreaterThanOrEqual:&#xA;                return date1 &amp;gt;= date2;&#xA;            case ConditionOperator.NotEqual:&#xA;                return !date1.Equals(date2);&#xA;            default:&#xA;                return false;&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas where to troubleshoot?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: this started working after I went to web database, modified a&#xA;  property (not related to personalization) and saved the item. This&#xA;  indicates some other kind of issue.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Update 2&lt;/strong&gt;: it stopped working with no changes. I can change the item&#xA;  and see changes, but personalization is now not working. It is like it&#xA;  just turns off.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2068" LastEditorUserId="2068" LastEditDate="2018-10-16T13:55:10.637" LastActivityDate="2022-06-16T21:02:08.810" Title="Personalization Conditions not Executing - Intermittently working" Tags="|personalization|" AnswerCount="4" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="14376" PostTypeId="2" ParentId="14374" CreationDate="2018-10-11T17:18:51.013" Score="5" Body="&lt;p&gt;In the SearchResultItem class, you can find Paths property, which holds ancestor id's.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;_path&quot;)]&#xA;[DataMember]&#xA;[TypeConverter(typeof (IndexFieldEnumerableConverter))]&#xA;public virtual IEnumerable&amp;lt;ID&amp;gt; Paths { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can pass start location (eg: in your case Product A Repository item id or Product B Repository item id) to Path, &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var index = ContentSearchManager.GetIndex(indexName);&#xA; using (var searchContext = index.CreateSearchContext())&#xA; {&#xA;     var searchText = &quot;Product&quot;;&#xA;     var items = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&#xA;                 .Where(x =&amp;gt; x.Paths.Contains(new ID(&quot;{}&quot;)) &amp;amp;&amp;amp; x.Content.Equals(searchText) &amp;amp;&amp;amp; x.Language == query.Language)&#xA;                 .OrderByDescending(x =&amp;gt; x.Updated)&#xA;                 .GetResults();&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1003" LastEditorUserId="35" LastEditDate="2018-10-31T12:31:52.313" LastActivityDate="2018-10-31T12:31:52.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14377" PostTypeId="2" ParentId="8259" CreationDate="2018-10-11T19:42:32.517" Score="2" Body="&lt;p&gt;We had the same problem with our tax calculation. We saw, that the &lt;code&gt;ConfigureServices&lt;/code&gt; method was called successfully, but the pipeline block just wasn't added to the pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After a lot of trying and debugging, we figured out, that our plugin was loaded too early. So it looks like it is depending on another plugin to add the &lt;code&gt;CalculateCartTaxBlock&lt;/code&gt;, but this plugin was loaded after our plugin.&#xA;Sadly, it looks like there is no way to manipulate the order, in which the plugins are loaded. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this, we had to do a pretty dirty hack. We implemented our plugin as part of the &lt;code&gt;Customer.Sample.Solution.sln&lt;/code&gt; that ships with the SDK.&#xA;In this solution you find the a couple of sample plugin like &lt;code&gt;Plugin.Sample.AdventureWorks&lt;/code&gt;. Inside of the &lt;code&gt;Plugin.Sample.AdventureWorks&lt;/code&gt; plugin we updated the &lt;code&gt;ConfigureSitecore&lt;/code&gt; class to call our plugin.&#xA;The final code of the &lt;code&gt;ConfigureServices&lt;/code&gt; method inside of the sample plugin looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ConfigureServices(IServiceCollection services)&#xA;{&#xA;    var assembly = Assembly.GetExecutingAssembly();&#xA;    services.RegisterAllPipelineBlocks(assembly);&#xA;&#xA;    services.Sitecore().Pipelines(config =&amp;gt; config&#xA;     .ConfigurePipeline&amp;lt;IInitializeEnvironmentPipeline&amp;gt;(d =&amp;gt;&#xA;        {&#xA;            d.Add&amp;lt;InitializeCatalogBlock&amp;gt;()&#xA;                .Add&amp;lt;InitializeInventoryBlock&amp;gt;()&#xA;                .Add&amp;lt;InitializeEnvironmentRegionsBlock&amp;gt;()&#xA;                .Add&amp;lt;InitializeEnvironmentShopsBlock&amp;gt;()&#xA;                .Add&amp;lt;InitializeEnvironmentPricingBlock&amp;gt;()&#xA;                .Add&amp;lt;InitializeEnvironmentPromotionsBlock&amp;gt;()&#xA;                .Add&amp;lt;InitializeEnvironmentGiftCardsBlock&amp;gt;();&#xA;        })&#xA;     .ConfigurePipeline&amp;lt;IRunningPluginsPipeline&amp;gt;(c =&amp;gt; { c.Add&amp;lt;RegisteredPluginBlock&amp;gt;().After&amp;lt;RunningPluginsBlock&amp;gt;(); }));&#xA;&#xA;    services.ConfigureCartPipelines();&#xA;    services.ConfigureOrdersPipelines();&#xA;&#xA;&#xA;    new MyPlugin.ConfigureSitecore().ConfigureServices(services);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So we just added &lt;code&gt;new MyPlugin.ConfigureSitecore().ConfigureServices(services);&lt;/code&gt; at the end to call our &lt;code&gt;ConfigureServices&lt;/code&gt; of our plugin again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To avoid, that all the commands and other services are loaded twice, we added a static variable to check if the plugin is already initialized. If so, we just replace our pipeline block (again).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ConfigureSitecore : IConfigureSitecore&#xA;{&#xA;    private static bool _isInitialized = false;&#xA;&#xA;    public void ConfigureServices(IServiceCollection services)&#xA;    {&#xA;        if (_isInitialized)&#xA;        {&#xA;            services.Sitecore().Pipelines(cfg =&amp;gt;&#xA;                cfg.ConfigurePipeline&amp;lt;ICalculateCartPipeline&amp;gt;(d =&amp;gt; d.Replace&amp;lt;CalculateCartTaxBlock, MyCalculateCartTaxBlock&amp;gt;()));&#xA;&#xA;            Log.Information(&quot;Plugin already initialized. Skipping.&quot;);&#xA;            return;&#xA;        }&#xA;&#xA;        Log.Information(&quot;Configure my plugin&quot;);&#xA;        var assembly = Assembly.GetExecutingAssembly();&#xA;        services.RegisterAllPipelineBlocks(assembly);&#xA;&#xA;        services.Sitecore().Pipelines(cfg =&amp;gt;&#xA;            cfg.ConfigurePipeline&amp;lt;ICalculateCartPipeline&amp;gt;(d =&amp;gt; d.Replace&amp;lt;CalculateCartTaxBlock, MyCalculateCartTaxBlock&amp;gt;()));&#xA;&#xA;        services.RegisterAllCommands(assembly);&#xA;&#xA;        _isInitialized = true;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's pretty hacky, but it works for us.&lt;/p&gt;&#xA;" OwnerUserId="1282" LastEditorUserId="1282" LastEditDate="2018-10-11T20:51:51.857" LastActivityDate="2018-10-11T20:51:51.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14379" PostTypeId="2" ParentId="14292" CreationDate="2018-10-12T01:59:54.583" Score="2" Body="&lt;p&gt;After creating custom promotion, Make sure you follow the steps below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Run dotnet.exe to generate the commerce engine site files and publish the output files &#xA;to output folder&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Copy all the files except wwwroot folder and place them in “C:\inetpub\wwwroot\CommerceAuthoring_Sc9”.May need to do an IIS reset if it says “file is open”.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Navigate to Sitecore path – ‘/sitecore/Commerce/Commerce Control Panel/Commerce Engine Settings/Commerce Terms/BusinessTools/Conditions’ and add the condition with ‘Commerce term template’           &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More details and steps on how to create custom sitecore commerce promotion is avaialable in blog &lt;a href=&quot;https://horizontalintegration.blog/2018/10/09/sitecore-9-commerce-custom-promotion-condition/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://horizontalintegration.blog/2018/10/09/sitecore-9-commerce-custom-promotion-condition/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-10-12T01:59:54.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14382" PostTypeId="1" AcceptedAnswerId="14386" CreationDate="2018-10-12T08:02:39.920" Score="2" ViewCount="133" Body="&lt;p&gt;I need to update product price on Product detail page based upon the quantity selected by the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the user &lt;code&gt;ADD&lt;/code&gt; an item to the cart, scaled price should be reflected according to the quantity they select &lt;code&gt;(qnty: &quot;1-to-3&quot;, Price=&quot;$30&quot;, qnty: &quot;4-to-6&quot;,Price =&quot;$25&quot;)&lt;/code&gt; and it should get reflected on &lt;code&gt;MiniCart&lt;/code&gt; also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried by overriding &lt;code&gt;AddCartLineBlock&lt;/code&gt; pipeline (in &lt;code&gt;Sitecore.Commerce.PlugIn.Carts.dll&lt;/code&gt;) to update the price, but it didn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other way I could update the Cart price on &lt;code&gt;AddToCart&lt;/code&gt; action and proceed to checkout flow with the updated price ?&lt;/p&gt;&#xA;" OwnerUserId="3658" LastEditorUserId="35" LastEditDate="2018-10-12T12:25:30.810" LastActivityDate="2018-10-12T12:25:30.810" Title="Implementing Price scale on AddToCart" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14383" PostTypeId="2" ParentId="14367" CreationDate="2018-10-12T08:58:25.220" Score="5" Body="&lt;p&gt;I have put together a config from the info on &lt;a href=&quot;https://sitecore.stackexchange.com/questions/557/publishing-items-in-bulk&quot;&gt;this good answer for Sitecore 8&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a try at applying the following config on both CD and CM:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!-- This setting is changed from the default value to enable parallel processing of publishing candidates.&#xA;           The value '4 ' is specified here as an example.&#xA;           The optimal value for this setting depends on your solution and on the CPU capacity of the server that runs the publishing operations.&#xA;&#xA;           For example, if the system architecture leverages a dedicated publishing instance with plenty of CPU capacity, this setting can be&#xA;           increased even further.&#xA;           On the other hand, on solutions where publishing is run on an authoring server that is already running a high load, changing this&#xA;           setting to a non-default value may cause system stability issues. &#xA;           We highly recommend that you perform publishing tests with the expected load before you change this setting in production environments.&#xA;&#xA;           Please remember that your database server's CPU and disk capacity may need to be adjusted to accommodate this setting.&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;Publishing.MaxDegreeOfParallelism&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;4&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;publish&amp;gt;&#xA;        &amp;lt;!-- This processor performs parallel processing of publishing candidates.&#xA;             The Publishing.MaxDegreeOfParallelism setting specifies how many concurrent operations can be run. --&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Publishing.Pipelines.Publish.ProcessQueue, Sitecore.Kernel&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Publishing.Pipelines.ParallelPublish.ParallelProcessQueue,Sitecore.Kernel&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/publish&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tested this on 9.0.1. I get the following results on a full republish:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Local machine - config not applied - ~5 items/s&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Local machine - config applied - ~1000 items/s&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Azure PaaS B3, 50 DTU master 50 DTU web - config not applied - ~2 items/s&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Azure PaaS B3, 50 DTU master 50 DTU web - config applied - ~90 items/s&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It hits 100% DTU usage, but CPU usage is not quite maxed so I think the 50 DTU is the bottleneck in this example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From my calculation you are currently getting ~2 items/s which is in line with what I was getting before adding the config.&#xA;If you can achieve ~100 items/s then you should be able to publish 200,000 items in ~34 minutes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've updated the config and removed a lot of the settings as I did have some issues with it on 9.1. Also the main setting to tweak is the &lt;code&gt;Publishing.MaxDegreeOfParallelism&lt;/code&gt; as the others didn't have much effect from my testing.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-04-12T02:23:51.733" LastActivityDate="2019-04-12T02:23:51.733" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14385" PostTypeId="1" AcceptedAnswerId="14389" CreationDate="2018-10-12T11:12:43.867" Score="8" ViewCount="608" Body="&lt;p&gt;I am trying to create a simple Image controller Rendering and I don't want to add the template interface to my page type, because I want to add the image dynamicaly to my site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So here my &quot;problems&quot; begin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a simple Controllerrendering with a viewmodel&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageImageViewModel&#xA;{&#xA;    public HtmlString PageImage { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;as simple Controller call to my ModelBuilder&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult PageImage()&#xA;{&#xA;    return View(PageImageModelBuilder.GetPageImageViewModel(RenderingContext.Current.Rendering.Item));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the modelbuilder &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public PageImageViewModel GetPageImageViewModel(Item currentItem)&#xA;{&#xA;    var model = new PageImageViewModel();&#xA;    model.PageImage = new HtmlString(FieldRenderer.Render(currentItem, Templates.PageImage.Fields.Image_FieldName));&#xA;    return model;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the view&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Bazar.Feature.PageContent&#xA;@model Bazar.Feature.PageContent.Models.Models.PageImageViewModel&#xA;&#xA;&amp;lt;div class=&quot;&quot;&amp;gt;&#xA;    &amp;lt;p&amp;gt;Hallo Welt&amp;lt;/p&amp;gt;&#xA;     @Model.PageImage&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;thats the codeside I think that should work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and now the sitecore elments&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I've created a Interface Template for my _PageImage&lt;/li&gt;&#xA;&lt;li&gt;I've created the Controller rendering&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z0ZqG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z0ZqG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V0s6f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V0s6f.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;And I've tried to add this new control to my &quot;Home&quot; view where I've some dynamic placeholders but I don't get the modal where I can choose what Image I want to see.&lt;/li&gt;&#xA;&lt;li&gt;try to add the controller rendering to my page&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/00cPp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/00cPp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;but after that no image selection is opened and the final layout looks like&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/igCFC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/igCFC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;and I can't edit or select the Image&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DWeyw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DWeyw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;so far I understand my Problem is the controller rendering has no connection to my Interface Template _PageImage but I don't understand how to get this &quot;connection&quot;?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="35" LastEditDate="2018-10-16T11:34:50.570" LastActivityDate="2018-10-16T11:34:50.570" Title="How to Connect controller rendering with Interface Template" Tags="|helix|controller|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14386" PostTypeId="2" ParentId="14382" CreationDate="2018-10-12T11:17:04.340" Score="1" Body="&lt;p&gt;What you're describing is called a price card. Price cards allow you to specify discounts for quantities added to the cart, and also dates that the prices apply. You can add/modify price cards from the pricing section in biztools. I would recommend using price cards rather than implementing custom functionality.&#xA;In the Habitat environment, you can get to the price cards by going to &#xA;&lt;code&gt;Pricing &amp;gt; (Price Books) Habitat_PriceBook&lt;/code&gt; and you'll find the price card section there.&lt;/p&gt;&#xA;" OwnerUserId="4119" LastEditorUserId="4119" LastEditDate="2018-10-12T12:01:43.420" LastActivityDate="2018-10-12T12:01:43.420" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14389" PostTypeId="2" ParentId="14385" CreationDate="2018-10-12T13:24:04.047" Score="8" Body="&lt;h3&gt;The fix&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You need to specify a template in the &lt;code&gt;Datasource Template&lt;/code&gt; field of your controller rendering. This is the field that tells Sitecore to prompt an editor to select a data source when adding a rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OFPRq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OFPRq.png&quot; alt=&quot;Image of Datasource Location and Datasource Template fields&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;A cool feature&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Sitecore will take template inheritance into account when allowing you to select data sources, which means that you'll be able to select any item that has a base template of the one you select here (e.g. &lt;code&gt;_PageImage&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Another recommendation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Additionally, it's good practice to specify the location under which data sources can be found by putting that path in the &lt;code&gt;Datasource Location&lt;/code&gt; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/z349d.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/z349d.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2018-10-14T13:48:09.423" LastActivityDate="2018-10-14T13:48:09.423" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14390" PostTypeId="2" ParentId="12668" CreationDate="2018-10-12T14:04:09.220" Score="2" Body="&lt;p&gt;We regularly move our bacpacs between azure and onsite.  It is not unusual for these bacpacs to be greater than 11G.  If SSMS is timing out, you may want to try to upload the bacpac to a storage account (Blob storage), then use the portal to create the DB.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that still bombs, then open a ticket w/Azure folks.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that works, then it is probably not the bacpac or service level of the SQL Database you are creating.  Updating SSMS may help, but I have not experience this as an issue so I couldn't tell you it will help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a sidebar, I've found that it doesn't matter whether the DB is a P1 or a P15 for an export.  It takes the same amount of time +-5%.&lt;/p&gt;&#xA;" OwnerUserId="4445" LastActivityDate="2018-10-12T14:04:09.220" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14391" PostTypeId="2" ParentId="14350" CreationDate="2018-10-12T16:44:38.407" Score="2" Body="&lt;p&gt;I had to explicitly allow xml files using the Sitecore FilterUrlExtensions setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;preprocessRequest&amp;gt;&#xA;        &amp;lt;processor type='Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel'&amp;gt;&#xA;      &amp;lt;param desc=&quot;Allowed extensions (comma separated)&quot;&amp;gt;aspx, ashx, asmx, asp, xml&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/preprocessRequest&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="341" LastActivityDate="2018-10-12T16:44:38.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14392" PostTypeId="2" ParentId="8590" CreationDate="2018-10-12T17:45:23.223" Score="3" Body="&lt;p&gt;After getting this issue myself trying to set up a new machine you will have issues if you have SQL Server 2017 and use only the dependencies mentioned in the installation guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Turns out the trouble is that the DacFx version linked to in the installation guide only works for SQL Server 2016 and you have to download a later version:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Microsoft® SQL Server® Data-Tier Application Framework (17.0.1 DacFx)&#xA;&lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=55114&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.microsoft.com/en-us/download/details.aspx?id=55114&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I installed this version I had no trouble running the scripts.&lt;/p&gt;&#xA;" OwnerUserId="2583" LastActivityDate="2018-10-12T17:45:23.223" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14394" PostTypeId="1" AcceptedAnswerId="14395" CreationDate="2018-10-12T21:15:12.940" Score="2" ViewCount="327" Body="&lt;p&gt;For an application I want to remove some levels of data from what jss's layout service returns. My end goal is to have an api endpoint that returns fields on the content items and fields on personalized datasource items. I want the json to look like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;   id: '{myId}',&#xA;   path: '/my/path',&#xA;   fields: [&#xA;      {&#xA;         name: 'field name',&#xA;         value: 'value'&#xA;      }&#xA;   ],&#xA;   content : //placeholder name&#xA;   [&#xA;      {&#xA;         id: '{myId}',&#xA;         fields: [&#xA;           {&#xA;              name: 'field name',&#xA;              value: 'value'&#xA;           }&#xA;         ]&#xA;      },&#xA;      {&#xA;         id: '{myId}',&#xA;         fields: [&#xA;           {&#xA;              name: 'field name',&#xA;              value: 'value'&#xA;           }&#xA;         ]&#xA;      }&#xA;   ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is it possible to do this with &lt;code&gt;GraphQL&lt;/code&gt;? So far it looks like using the &lt;code&gt;GraphQL&lt;/code&gt; fields on renderings (&lt;a href=&quot;https://jss.sitecore.net/docs/techniques/graphql/integrated-graphql&quot; rel=&quot;nofollow noreferrer&quot;&gt;integrated mode&lt;/a&gt;) cannot affect the json returned by the layout service that is outside of a rendering. I think using that method to get the desired effect I would need to customize jss's item serializer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I used the &lt;a href=&quot;https://jss.sitecore.net/docs/techniques/graphql/connected-graphql&quot; rel=&quot;nofollow noreferrer&quot;&gt;connected approach&lt;/a&gt; is there an easier way to do this than adding a custom query that looks up personalized datasources based on a context item? It seems like the existing &lt;code&gt;datasources&lt;/code&gt; query has a different purpose (passing in the context item's path/id gives the context item itself back).&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2018-10-12T21:30:55.487" LastActivityDate="2018-10-12T21:30:55.487" Title="Changing The Layout Service Response Outside The Json Of A Rendering" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14395" PostTypeId="2" ParentId="14394" CreationDate="2018-10-12T21:17:42.317" Score="3" Body="&lt;p&gt;You would need to customize the item serializer to accomplish what you want.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-10-12T21:17:42.317" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14396" PostTypeId="2" ParentId="14293" CreationDate="2018-10-12T21:38:21.777" Score="1" Body="&lt;p&gt;When you need to retrieve a lot of content, your first port of call should be the ContentSearch API as it is orders of magnitude faster than just about any other way of querying content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default the sitecore_master_index and sitecore_web_index will index all fields, just make sure the crawler root location is set correctly in config. In your case you may need to add a new field that you can use to more easily filter out items you don't need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't be too quick to create a new index if you don't need to as custom indexes are difficult to maintain - especially if you need to support both Solr and Azure search.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-10-12T21:38:21.777" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14397" PostTypeId="2" ParentId="11553" CreationDate="2018-10-13T21:14:08.747" Score="3" Body="&lt;p&gt;I'm glad that Sitecore is now aware of the bug and it will provide a official fix&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made a blog about this a couple months ago with the detailed Discussion and the research of the issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://errorcotidianam.wordpress.com/2018/04/30/sitecore-9-1-datepicker-displaying-wrong-format/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://errorcotidianam.wordpress.com/2018/04/30/sitecore-9-1-datepicker-displaying-wrong-format/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will also update my blog post with this version provided from Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for letting me know that .&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="998" LastEditDate="2018-10-13T21:19:55.943" LastActivityDate="2018-10-13T21:19:55.943" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14398" PostTypeId="1" AcceptedAnswerId="14399" CreationDate="2018-10-15T02:59:29.030" Score="1" ViewCount="321" Body="&lt;p&gt;I have configured our CD Server by following the official spreadsheet obtained at &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/server_configuration_resources&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/xdb/configuring_servers/server_configuration_resources&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, control panel is no longer available after configuration, showing &quot;The requested document was not found&quot; error message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I really want to do is to rebuild searching indexes on CD server so I need to access Control Panel. I am not sure which configuration file is causing this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="70" LastEditDate="2018-11-13T20:50:22.070" LastActivityDate="2018-11-13T20:50:22.070" Title="Cannot connect to Control Panel on CD server after configurating" Tags="|sitecore-client|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14399" PostTypeId="2" ParentId="14398" CreationDate="2018-10-15T04:11:46.380" Score="6" Body="&lt;p&gt;If you have followed that spreadsheet to configure the CD server, It has disabled the sitecore access since sitecore should be restricted on CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now,to rebuild the indexes, You need to login to the CM server and rebuild the index 'Sitecore_web_index' from sitecore control panel of CM server.&#xA;That will rebuild the index on web database which your CD server is using.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-10-15T04:11:46.380" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14400" PostTypeId="2" ParentId="14375" CreationDate="2018-10-15T04:39:41.437" Score="0" Body="&lt;p&gt;The sitecore default rules are supposed to be executed without additional steps.&#xA;You can check the following to troubleshoot further.&#xA;1. Is the personalization rendering added to shared renderings section or final rendering section?&#xA;2. Did you publish the page and if so check the web database to see if the personalization rendering is present in web database.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-10-15T04:39:41.437" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14401" PostTypeId="1" AcceptedAnswerId="14403" CreationDate="2018-10-15T07:27:51.940" Score="0" ViewCount="2416" Body="&lt;p&gt;I am trying to create a controller Rendering with the use of FieldRenderer.Render, but this does not work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult PageImage()&#xA;{&#xA;        return View(PageImageModelBuilder.GetPageImageViewModel(RenderingContext.Current.ContextItem));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the function where I am building my ViewModel&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   public PageImageViewModel GetPageImageViewModel(Item currentItem)&#xA;    {&#xA;        var model = new PageImageViewModel();&#xA;        try&#xA;        {&#xA;            var renderer = new FieldRenderer();&#xA;            renderer.DisableWebEditing = false;&#xA;            renderer.Item = currentItem;&#xA;            renderer.FieldName = &quot;Image&quot;;&#xA;&#xA;            model.PageImage = new HtmlString(renderer.Render());&#xA;            //model.PageImage = new HtmlString(FieldRenderer.Render(currentItem, &quot;Image&quot;));&#xA;            model.Beschreibung = new HtmlString(FieldRenderer.Render(currentItem, Templates.PageImage.Fields.Beschreibung_FieldName));&#xA;        }&#xA;        catch (Exception exception)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Error(&quot;GetPageImageViewModel Error&quot;, exception, typeof(PageImageViewModel));&#xA;        }&#xA;&#xA;        return model;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the view Model&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageImageViewModel&#xA;{&#xA;    public HtmlString PageImage { get; set; }&#xA;    public HtmlString Beschreibung { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and last but not Least the Controller Rendering&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Feature.PageContent&#xA;@model Feature.PageContent.Models.Models.PageImageViewModel&#xA;&#xA;&amp;lt;div class=&quot;&quot;&amp;gt;&#xA;  &amp;lt;p&amp;gt;Hallo Welt&amp;lt;/p&amp;gt;&#xA;  @Model.PageImage&#xA;  &amp;lt;p&amp;gt;Sitecore()Field:&amp;lt;/p&amp;gt;&#xA;  @Html.Sitecore().Field(&quot;Image&quot;, new { mw = 400, @class = &quot;img-fluid&quot; })&#xA;  &amp;lt;p&amp;gt;FieldRenderer: &#xA;     @Model.Beschreibung&#xA;  &amp;lt;/p&amp;gt;&#xA;  &amp;lt;p&amp;gt;Default Field: @Html.Sitecore().Field(&quot;Beschreibung&quot;)&amp;lt;/p&amp;gt;&#xA; &amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Renderings with &quot;Sitecore().Field&quot; are working, but my controller Renderings with HTmlString are not showing up&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hGeAo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hGeAo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think I am doing something wrong with the Context perhaps but I am not shure what. When you need more informations then plz tell me. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is using a ViewModel with HtmlString the right approach or what should I use?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-10-15T08:22:19.567" Title="FieldRenderer.Render for controller Rendering not &quot;working&quot;" Tags="|controller|renderfield|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14402" PostTypeId="1" CreationDate="2018-10-15T08:10:03.063" Score="1" ViewCount="541" Body="&lt;p&gt;We need to get Sitecore SXA Installed on Sitecore 9.0 Update 2 we are aware that there are 2 ways to do this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Using Azure Market place module&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Using ARM templates&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The details are mentioned in this link : &lt;a href=&quot;https://naveed-ahmad.com/2017/11/05/installing-sitecore-9-on-mircosoft-azure-cloud-as-paas-know-your-options/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://naveed-ahmad.com/2017/11/05/installing-sitecore-9-on-mircosoft-azure-cloud-as-paas-know-your-options/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But we have already installed Sitecore XP in PAAS and we want install the Sitecore SXA package the way we do in IAAS as mentioned in link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.rightpoint.com/thought/2016/11/17/install-guide-for-sitecore-experience-accelerator&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.rightpoint.com/thought/2016/11/17/install-guide-for-sitecore-experience-accelerator&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So questions will we face any issue if we install SXA package in PAAS as we do in IAAS mode&lt;/p&gt;&#xA;" OwnerUserId="1533" LastActivityDate="2019-05-16T18:04:40.943" Title="Sitecore SXA on PAAS" Tags="|sxa|paas|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14403" PostTypeId="2" ParentId="14401" CreationDate="2018-10-15T08:22:19.567" Score="2" Body="&lt;p&gt;It seems that I was using the wrong Context Item when I use this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RenderingContext.Current.Rendering.Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;everything is working fine. Would be nice to know what is the difference between these two contexts&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-10-15T08:22:19.567" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14404" PostTypeId="1" AcceptedAnswerId="14410" CreationDate="2018-10-15T11:31:26.317" Score="0" ViewCount="1123" Body="&lt;p&gt;I'm trying to create a disconnected JSS vue app using the quick start guide, by running the following commands:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;npm install -g @sitecore-jss/sitecore-jss-cli&#xA;jss create jss-app-vue vue&#xA;cd jss-app-vue&#xA;jss start&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I run the &lt;code&gt;jss start&lt;/code&gt; command I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Watching for changes to component factory sources in src/components...&#xA;INFO  Starting development server...&#xA;Enabling Babel 7 transpilation for the manifest...&#xA;ReferenceError: Unknown option: .caller. Check out &#xA;http://babeljs.io/docs/usage/options/ for more information about options.&#xA;at buildUnknownError (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\validation\options.js:113:11)&#xA;at Object.keys.forEach.key (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\validation\options.js:99:57)&#xA;at Array.forEach (&amp;lt;anonymous&amp;gt;)&#xA;at validate (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\validation\options.js:69:21)&#xA;at loadPrivatePartialConfig (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\partial.js:38:50)&#xA;at loadFullConfig (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\full.js:43:39)&#xA;at loadOptions (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\index.js:28:36)&#xA;at OptionManager.init (E:\Projects\jss-app-vue\node_modules\@babel\core\lib\config\index.js:34:12)&#xA;at compile (E:\Projects\jss-app-vue\node_modules\@babel\register\lib\node.js:61:42)&#xA;at compileHook (E:\Projects\jss-app-vue\node_modules\@babel\register\lib\node.js:102:12)&#xA;npm ERR! code ELIFECYCLE&#xA;npm ERR! errno 1&#xA;npm ERR! jss-app-vue@9.0.6 start:proxy: `node scripts/disconnected-mode-proxy.js` npm ERR! Exit status 1&#xA;npm ERR!&#xA;npm ERR! Failed at the jss-app-vue@9.0.6 start:proxy script.&#xA;npm ERR! This is probably not a problem with npm. There is likely additional logging output above.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It appears there's an issue running the &lt;code&gt;start:proxy&lt;/code&gt; command. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: This only appears to affect the vue template. The issue doesn't occur if I create an app using the react template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any additional steps required to setup an app with the vue template?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For info I'm running node v8.11.3 and npm v5.6.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="4450" LastActivityDate="2018-10-15T13:32:17.060" Title="Sitecore JSS error when creating quick start app with Vue template" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14405" PostTypeId="1" AcceptedAnswerId="14406" CreationDate="2018-10-15T11:42:48.340" Score="0" ViewCount="410" Body="&lt;p&gt;I noticed that configuration settings, e.g. &lt;code&gt;/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/CommerceEngineDefaultStorefront&lt;/code&gt;, (and probably also other configuration settings) are not synced to the commerce database (ie. &lt;code&gt;[SitecoreCommerce9_SharedEnvironments].[dbo].[ContentEntities]&lt;/code&gt;) by the EnsureSyncDefaultContentPaths REST call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the log the following error occurs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;74 21:06:12 ERROR CtxMsg.Error.ContentPathAlreadyExists: Text=Content path '/sitecore/Commerce/Commerce Control Panel' already exists.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Currently the only workaround I found was to re-initialize the environment.&#xA;This is clearly not desired in a production environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to solve it?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-10-15T11:42:48.340" Title="How to sync content items in XC9?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14406" PostTypeId="2" ParentId="14405" CreationDate="2018-10-15T11:42:48.340" Score="3" Body="&lt;p&gt;I got the following answer from Sitecore Support:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EnsureSyncDefaultContentPaths should be run only once when the environment is just set-up. For the subsequent configuration updates you should use the SynchronizeContentItem DoUxAction from the ContentApiSamples collection in Postman:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As body put the following data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;@odata.context&quot;: &quot;http://localhost:5000/Api/$metadata#Sitecore.Commerce.EntityViews.EntityView&quot;,&#xA;    &quot;@odata.type&quot;: &quot;#Sitecore.Commerce.EntityViews.EntityView&quot;,&#xA;    &quot;Name&quot;: &quot;SynchronizeContentItem&quot;,&#xA;    &quot;Policies&quot;: [],&#xA;    &quot;DisplayName&quot;: &quot;SynchronizeContentItem&quot;,&#xA;    &quot;EntityId&quot;: &quot;Entity-ContentPath-Commerce Control Panel&quot;,&#xA;    &quot;Action&quot;: &quot;SynchronizeContentItem&quot;,&#xA;    &quot;ItemId&quot;: &quot;&quot;,&#xA;    &quot;Properties&quot;: [&#xA;        {&#xA;            &quot;Name&quot;: &quot;Version&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;DisplayName&quot;: &quot;Version&quot;,&#xA;            &quot;Value&quot;: &quot;2&quot;, // to find the exact version you should pass here you should run &quot;Sync Item&quot; GetEntityView request from the Postman.&#xA;            &quot;IsHidden&quot;: true,&#xA;            &quot;OriginalType&quot;: &quot;System.Int32&quot;,&#xA;            &quot;IsReadOnly&quot;: true,&#xA;            &quot;UiType&quot;: &quot;&quot;,&#xA;            &quot;IsRequired&quot;: true&#xA;        },&#xA;        {&#xA;            &quot;Name&quot;: &quot;Path&quot;,&#xA;            &quot;Policies&quot;: [],&#xA;            &quot;DisplayName&quot;: &quot;Path&quot;,&#xA;            &quot;Value&quot;: &quot;/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/CommerceEngineDefaultStorefront&quot;,//itemPath for the item you want to update.&#xA;            &quot;IsHidden&quot;: false,&#xA;            &quot;OriginalType&quot;: &quot;System.String&quot;,&#xA;            &quot;IsReadOnly&quot;: false,&#xA;            &quot;UiType&quot;: &quot;&quot;,&#xA;            &quot;IsRequired&quot;: true&#xA;        }&#xA;    ],&#xA;    &quot;ChildViews&quot;: [],&#xA;    &quot;DisplayRank&quot;: 500,&#xA;    &quot;UiHint&quot;: &quot;Flat&quot;,&#xA;    &quot;Icon&quot;: &quot;chart_column_stacked&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-10-15T11:42:48.340" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14407" PostTypeId="2" ParentId="14402" CreationDate="2018-10-15T11:52:32.777" Score="1" Body="&lt;p&gt;I'm no PAAS expert, but this seems to be dependent on your redeployment. If you redeploy with the ARM templates (which I think is the best way to do it as you are sure of a clean setup) you can't just install SXA as you do in IAAS. But maybe you have another redeploy setup where doing this is possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my answer would be &quot;yes, but...&quot;. Install SXA with the package to get the necessary items in your database. But rememember that your installation will succeed, but could be easily broken after the first redeploy. And you will not have SXA on the CD's. So, after installing it, you should set up your deployment using the SXA web deploy packages and change your ARM's to include SXA in the setup. Then perform a redeployment to your PAAS environment.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-10-15T11:52:32.777" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14408" PostTypeId="1" CreationDate="2018-10-15T12:40:20.943" Score="2" ViewCount="1470" Body="&lt;p&gt;I want to achieve the Treelist in such a way that it shows up all the ancestors of an item which is derived from the template mentioned in the IncludeTemplatesForSelection parameter of the query. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Example I have below content Tree.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/n5Ib8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/n5Ib8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, the datasource is the &quot;Datasource&quot; item. I want to show all the &quot;item 1&quot; in the tree for selection(descendants of source). But treelist should not show &quot;Folder 4&quot; since it does not have &quot;Item 1&quot; in it, &quot;Folder 2&quot; should only display &quot;Item 1&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There can be many templates which hold &quot;Item 1&quot; and I cannot add all to ExcludeTemplatesForDisplay parameter. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way I can achieve this by the Query? &lt;/p&gt;&#xA;" OwnerUserId="4452" LastActivityDate="2020-04-07T15:02:30.443" Title="Treelist to show the all the items in which have the items derived from templates mentioned in IncludeTemplatesForSelection parameter" Tags="|sitecore-query|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14409" PostTypeId="2" ParentId="14408" CreationDate="2018-10-15T12:50:39.250" Score="2" Body="&lt;p&gt;You might be able to achieve this functionality by using datasource parameters. You already mention &lt;code&gt;ExcludeTemplatesForDisplay&lt;/code&gt; but have you tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;IncludeItemsForDisplay&lt;/code&gt; &lt;br/&gt;&#xA;A comma separated list of item names or ids to be shown to author. &lt;br/&gt;&#xA;Example use: includeitemsfordisplay=Item 1&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IncludeTemplatesForDisplay&lt;/code&gt;&lt;br/&gt;&#xA;A comma separated list of templates names (no ids). Items based on these templates will shown to the content editor.&lt;br/&gt; &#xA;Example use: includetemplatesfordisplay=Item 1&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IncludeTemplatesForSelection&lt;/code&gt;&lt;br/&gt;&#xA;A comma separated list of template names (no IDs). Items are visible in the tree and can be selected. &lt;br/&gt;&#xA;Example use: includetemplatesforselection=Item 1 Template&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'd imagine either &lt;code&gt;IncludeItemsForDisplay&lt;/code&gt; or &lt;code&gt;IncludeTemplatesForDisplay&lt;/code&gt; are going to be the most useful (assuming Item 1 has a specific template).&lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2018-10-15T12:50:39.250" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14410" PostTypeId="2" ParentId="14404" CreationDate="2018-10-15T13:32:17.060" Score="2" Body="&lt;p&gt;This is likely due to a breaking change in one of the Vue sample's dependencies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't have &lt;code&gt;yarn&lt;/code&gt; installed, the &lt;code&gt;jss create&lt;/code&gt; command will use &lt;code&gt;npm install&lt;/code&gt; when installing the sample (and dependencies). Unfortunately, using &lt;code&gt;npm install&lt;/code&gt; does not respect the &lt;code&gt;yarn.lock&lt;/code&gt; file in the Vue sample. Therefore, the dependencies for the Vue sample aren't guaranteed to be the correct version because &lt;code&gt;npm&lt;/code&gt; will follow the version ranges from &lt;code&gt;package.json&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is already fixed for the JSS GA release, where we've switched all the samples to use &lt;code&gt;npm&lt;/code&gt; instead of &lt;code&gt;yarn&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the interim, the easiest way to fix this would be to install &lt;code&gt;yarn&lt;/code&gt; &lt;a href=&quot;https://yarnpkg.com/en/docs/install&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://yarnpkg.com/en/docs/install&lt;/a&gt;.&#xA;Then run the &lt;code&gt;jss create jss-app-vue vue&lt;/code&gt; command again.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-10-15T13:32:17.060" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14411" PostTypeId="1" CreationDate="2018-10-15T13:54:29.950" Score="4" ViewCount="480" Body="&lt;p&gt;I'm creating a branch where my home item has three drop link fields for navigation. I'm also creating the starting point for the three navigation paths in my branch. However, pre-setting the drop link fields to these navigation paths doesn't work correctly, because when the branch is created, it's referencing the original branch item, not the solution item. I'm looking for a way to properly replace these datasources at branch creation time.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-10-15T14:38:28.407" Title="Setting a droplink default in a branch template" Tags="|branch|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14412" PostTypeId="2" ParentId="14411" CreationDate="2018-10-15T14:26:27.067" Score="3" Body="&lt;p&gt;There isn't an OOTB way to achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But. I always use &lt;a href=&quot;https://github.com/AlenPelin/Sitecore-Smart-Commands&quot; rel=&quot;nofollow noreferrer&quot;&gt;Alen Pelin's SmartCommands&lt;/a&gt;.  Included in this package is &quot;Smart Create From Branch&quot; which does what you need.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Having this branch template&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;my branch&#xA;      $name: linkField -&gt; branchChild&#xA;        branchChild: linkField -&gt; $name&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;by default, the item created from this branch template becomes&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;createdItem: linkField -&gt; branchChild&#xA;      createdChild: linkField -&gt; $name&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;With smart link replacement it becomes expected:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;createdItem: linkField -&gt; createdChild&#xA;      createdChild -&gt; createdItem&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-10-15T14:26:27.067" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14413" PostTypeId="2" ParentId="14411" CreationDate="2018-10-15T14:38:28.407" Score="0" Body="&lt;p&gt;There are two possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Not great: change the fields' type to Drop List&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This will work because the names of the items underneath the relative navigation paths will be the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Disclaimer: This has a bad code smell. The home item no longer relates directly to an item with ID. If the selected item is moved or has its name changed, the reference is lost. (It's also more expensive to get the related item because you have to get the parent and then find the child by a specific name, vs just getting the item by ID for a Drop Link.)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Better: update the home item with code after it's created&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You can attach to the &lt;code&gt;item:created&lt;/code&gt; event and add your own code to set your field values.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a custom class to perform the reference updates:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SetHomeItemNavigationItems : EventBase&#xA;{&#xA;    public void ItemCreated(object sender, EventArgs args)&#xA;    {&#xA;        var itemCreatedArgs = Event.ExtractParameter(args, 0) as ItemCreatedEventArgs;&#xA;&#xA;        Assert.IsNotNull(itemCreatedArgs, nameof(itemCreatedArgs));&#xA;&#xA;        if (itemCreatedArgs?.Item == null)&#xA;            return;&#xA;&#xA;        // If this item is being created in a different database (e.g. &quot;web&quot; because it's being published), ignore it&#xA;        if (!&quot;master&quot;.Equals(itemCreatedArgs.Item?.Database?.Name, StringComparison.OrdinalIgnoreCase))&#xA;            return;&#xA;&#xA;        using (new DatabaseSwitcher(itemCreatedArgs.Item.Database))&#xA;        {&#xA;            if (itemCreatedArgs.Item.TemplateID == new ID(&quot;{home-page-id}&quot;))&#xA;            {&#xA;                itemCreatedArgs.Item.Editing.BeginEdit();&#xA;                itemCreatedArgs.Item.Fields[&quot;Navigation Field 1&quot;].Value = // get navigation item 1&#xA;                itemCreatedArgs.Item.Fields[&quot;Navigation Field 2&quot;].Value = // get navigation item 2&#xA;                itemCreatedArgs.Item.Fields[&quot;Navigation Field 3&quot;].Value = // get navigation item 3&#xA;                itemCreatedArgs.Item.Editing.EndEdit();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add a patch config file to enable your event handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;events&amp;gt;&#xA;            &amp;lt;event name=&quot;item:created&quot;&amp;gt;&#xA;                &amp;lt;handler type=&quot;Custom.Events.ItemCreated.SetHomeItemNavigationItems,Custom&quot; method=&quot;ItemCreated&quot; /&amp;gt;&#xA;            &amp;lt;/event&amp;gt;&#xA;        &amp;lt;/events&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-10-15T14:38:28.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14414" PostTypeId="1" AcceptedAnswerId="14453" CreationDate="2018-10-15T15:36:55.877" Score="2" ViewCount="1413" Body="&lt;p&gt;Using Sitecore 9 and SXA 1.7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are trying to use Opengraph meta tags by adding custom metadata in this section for an item&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1Wi06.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Wi06.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;however, it never renders on the page,and never shows up in the html.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We checked that our page's page design includes meta data partial design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;is there something we are doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2018-10-17T15:37:12.640" Title="Opengraph meta tags not rendering" Tags="|sxa|presentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14415" PostTypeId="2" ParentId="14414" CreationDate="2018-10-15T15:50:20.670" Score="4" Body="&lt;p&gt;You are editing wrong section (Custom Metadata - for custom tags). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;key value collection will be rendered in a following way:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;meta name=&quot;test_key&quot; content=&quot;test&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is &lt;code&gt;OpenGraph&lt;/code&gt; section and you should use it instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/264Lw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/264Lw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also make sure that you have appropriate renderings on the meta partial design (&lt;strong&gt;Open Graph&lt;/strong&gt; rendering).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b2glk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b2glk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-10-15T15:50:20.670" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14416" PostTypeId="2" ParentId="14265" CreationDate="2018-10-15T20:54:12.307" Score="1" Body="&lt;p&gt;This is definitely a bug. I've logged an issue and it will be fixed for the upcoming GA release.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-10-15T20:54:12.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14417" PostTypeId="2" ParentId="10216" CreationDate="2018-10-16T00:12:40.923" Score="6" Body="&lt;p&gt;Thank you, Vinicius. To add to the correct answer, after downloading the two utilities from your answer, my problem was not resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I encountered into the same issue when running Sitecore installation using SIF on staging environment where SQL server was not added to environment variables.&#xA;When running the SIF on dev/staging/prod environments where SQL server management studio is not installed, after installing the 2 utilities, we need to make sure that environment System variable &lt;code&gt;Path&lt;/code&gt; should contain &lt;code&gt;C:\Program Files\Microsoft SQL Server\110\Tools\Binn&lt;/code&gt; which is a location of &quot;SQLCMD.EXE&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ldJCg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ldJCg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="35" LastEditDate="2018-10-16T11:34:37.240" LastActivityDate="2018-10-16T11:34:37.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14421" PostTypeId="1" CreationDate="2018-10-16T13:11:00.820" Score="3" ViewCount="504" Body="&lt;p&gt;sitecore sxa - I am using paglist for showing product lists with the help of query builder and variants. its not showing proper order list, When in the query builder, I see that sort is an option, its not working in sxa pagelist component. &#xA;Is there any other option to show the product items in orderwise.&lt;a href=&quot;https://i.stack.imgur.com/BgslW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BgslW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="73" LastEditDate="2018-10-16T13:15:20.597" LastActivityDate="2018-10-16T17:01:33.920" Title="How to sort the pagelist items" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14422" PostTypeId="2" ParentId="14421" CreationDate="2018-10-16T13:44:03.070" Score="3" Body="&lt;p&gt;It shows based on the sorting on the base folder. in your case. (Product) is the folder, apply the sorting by right-clicking on it, and sort what you need. The default is the Sort by Relevance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Rg2zF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Rg2zF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then select based on your criteria from the followings.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Zk6GW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zk6GW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sorting it in Query:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can use it in the item query:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;use for sortorder:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;+template:{227A17F5-E501-4B08-B263-CBAD3DEDEA1C};sort:sortorder&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;use for published date:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;+template:{227A17F5-E501-4B08-B263-CBAD3DEDEA1C};sort:published&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-10-16T17:01:33.920" LastActivityDate="2018-10-16T17:01:33.920" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14424" PostTypeId="1" CreationDate="2018-10-16T14:05:51.233" Score="3" ViewCount="307" Body="&lt;p&gt;As I'm  new to Profile cards and pattern cards so gone through multiple blogs on How to associate Profile and pattern cards to a Sitecore item. I've a scenario when user visits Home page 2 times and Registration page 3 times I want my profile to be matched As FrequentRegisterUser?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How this can be done in Sitecore and please include the reference if available?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit :&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per above descriptions I am elaborating it in more detailed and simple words&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've below three pages and If user visits the following journey &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Home-&gt;Hotels-&gt;Booking &lt;/p&gt;&#xA;&#xA;&lt;p&gt;based on given visit number for specific page(Item) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Home(visitcount:1)-&gt;Hotels(visitcount:4)-&gt;Booking page(visitcount:1) I want my pattern to be matched as Holiday Visitor&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BVbpm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BVbpm.png&quot; alt=&quot;profile snippet**strong text**&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Cannot I achieve above using built in rules or conditions in sitecore?&#xA;  If not, What would be alternative approach to achieve it.&#xA;  Do I need to create custom rule condition?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any help or suggestion would be greatly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;&#xA;" OwnerUserId="4357" LastEditorUserId="4357" LastEditDate="2018-10-17T11:29:50.830" LastActivityDate="2018-10-18T03:25:38.383" Title="Setting Profile cards and Pattern cards to multiple items based on condition?" Tags="|xdb|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14425" PostTypeId="1" CreationDate="2018-10-16T15:31:25.067" Score="7" ViewCount="269" Body="&lt;p&gt;I've been doing a lot more SPE report implementations and noticed that the functionality of loading the ListView is dependent on whether the editor is using the Content Editor from Launchpad or the Content Editor from the Desktop.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Initial Configuration:&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Script calls &lt;code&gt;Show-ListView&lt;/code&gt; without &lt;code&gt;-Modal&lt;/code&gt; parameter&lt;/li&gt;&#xA;&lt;li&gt;Script calls &lt;code&gt;Close-Window&lt;/code&gt; after calling &lt;code&gt;Show-ListView&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Desktop -&gt; Content Editor&lt;/strong&gt;&lt;br&gt;&#xA;The ListView window will open once the Running Script window finishes. This adds another tab to the Sitecore task bar as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Launchpad -&gt; Content Editor&lt;/strong&gt;&lt;br&gt;&#xA;The Running Script window stays open and the ListView never opens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It turns out that the &lt;code&gt;Close-Window&lt;/code&gt; call seems to be closing the actual ListView in the second scenario. Removing the &lt;code&gt;Close-Window&lt;/code&gt; call, however, requires the user to actually click close on the Running Script window. A minor inconvenience.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried the &lt;code&gt;-Modal&lt;/code&gt; route, which works fine in conjunction with &lt;code&gt;Close-Window&lt;/code&gt; and loads the ListView just fine, however, in the first scenario, Desktop -&gt; Content Editor, when opening an item in the ListView, the Content Editor window which opens with that item, loads behind the modal and the editor is forced to close the ListView modal in order to interact with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is: &lt;strong&gt;Is there a native way to determine whether an editor is in the &lt;code&gt;Desktop -&amp;gt; Content Editor&lt;/code&gt; versus the &lt;code&gt;Launchpad -&amp;gt; Content Editor&lt;/code&gt;?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="168" LastActivityDate="2018-10-16T20:49:29.323" Title="How to determine whether an editor is using the Desktop Content Editor or Launchpad Content Editor?" Tags="|content-editor|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14426" PostTypeId="2" ParentId="13829" CreationDate="2018-10-16T15:34:39.370" Score="1" Body="&lt;p&gt;You will definitely want a computed field here.  As for what to put in the computed field- it depends.  If you have alternative text, that would be great.  Otherwise, you will need to do some image processing at indexing time to infer what the image may be related to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Amitabh pointed out, you can use something like &lt;a href=&quot;https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Cognitive Services&lt;/a&gt; to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for setting up the computed field, there are a ton of tutorials out there.  I've &lt;a href=&quot;https://jockstothecore.com/searching-page-datasources/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blogged about how to manipulate what goes into the visualization field&lt;/a&gt; before.  It would be a very similar approach in your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2018-10-16T15:34:39.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14427" PostTypeId="1" AcceptedAnswerId="14460" CreationDate="2018-10-16T16:07:32.913" Score="1" ViewCount="230" Body="&lt;p&gt;I am installing sitecore 9.0 update 2 using SIF.&#xA;I am getting the follwoing error while accessing SOlr.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Transcript stopped, output file is C:\sitecoreinstall\xconnect-xp0.181016 (4).log&#xA;Invoke-ManageSolrSchemaTask : **error processing commands**&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;+                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea why this is happening?&lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="1671" LastEditDate="2018-10-16T18:16:57.180" LastActivityDate="2018-10-18T01:29:50.147" Title="Sitecore 9.0 installation Solr exception" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14430" PostTypeId="2" ParentId="14242" CreationDate="2018-10-16T18:29:14.793" Score="31" Body="&lt;p&gt;I got the similar error when installing the sitecore using SIF.I verified different configurations but finally found that IIS was not started. So i started IIS and error is gone.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-10-16T18:29:14.793" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14432" PostTypeId="2" ParentId="14425" CreationDate="2018-10-16T20:49:29.323" Score="3" Body="&lt;p&gt;No, there is no native way to determine it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Ohter approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You might want to play with &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/common/invoke-javascript&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Invoke-JavaScript&lt;/code&gt; cmldet&lt;/a&gt; to solve your problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could execute JS code to determine your current location (&lt;code&gt;window.location.href&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;http://domain/sitecore/shell/default.aspx&lt;/code&gt; - &lt;strong&gt;Desktop&lt;/strong&gt;  → &lt;strong&gt;CE&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;http://domain/sitecore/shell/Applications/Content%20Editor.aspx?sc_bw=1&lt;/code&gt; - &lt;strong&gt;Launchpad&lt;/strong&gt; → &lt;strong&gt;CE&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;the problem is that it is hard to return this value back to PowerShell script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your only problem is to close particular window you might want to skip two-way communication and just do things on front-end side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Invoke-JavaScript -Script 'setTimeout(function(){console.log(&quot;auto window close&quot;);window.parent.document.querySelector(&quot;.ui-dialog .ui-icon-closethick&quot;).click();},1000)'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rQHCU.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rQHCU.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-10-16T20:49:29.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14433" PostTypeId="2" ParentId="14247" CreationDate="2018-10-16T23:27:43.740" Score="1" Body="&lt;p&gt;I had this issue previously and it was because by my custom benefit was implementing &lt;code&gt;IAction&lt;/code&gt; and not &lt;code&gt;ICartLineAction&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As part of the benefit resolution process the &lt;code&gt;IDiscoverPromotionsPipeline&lt;/code&gt; is executed and it contains the &lt;code&gt;FilterPromotionsByBenefitTypeBlock&lt;/code&gt;, which excludes any benefits that dont implement &lt;code&gt;ICartLineAction&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-10-16T23:27:43.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14434" PostTypeId="2" ParentId="14347" CreationDate="2018-10-16T23:37:41.340" Score="3" Body="&lt;p&gt;You can achieve this automatically by using the &lt;code&gt;AutoApprovePolicy&lt;/code&gt;. If you add an instance of this to the context environments policy collection, then run your import, then remove it, you will find that the products are all created with their published value set to &lt;em&gt;true&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a CSV import command that used it something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public async Task&amp;lt;CommerceCommand&amp;gt; Process(CommerceContext commerceContext, IFormFile importFile, bool publishEntities = true)&#xA;{&#xA;    using (CommandActivity.Start(commerceContext, this))&#xA;    {&#xA;        var pipelineContextOptions = commerceContext.GetPipelineContextOptions();&#xA;        var catalogsArgument = new ImportCsvProductsArgument(importFile);&#xA;&#xA;        if (publishEntities)&#xA;            commerceContext.Environment.SetPolicy(new AutoApprovePolicy());&#xA;&#xA;        //RUN PRODUCT IMPORT&#xA;&#xA;        if (publishEntities)&#xA;            commerceContext.Environment.RemovePolicy(typeof(AutoApprovePolicy));&#xA;    }&#xA;    return this;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-10-16T23:37:41.340" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14436" PostTypeId="1" AcceptedAnswerId="14439" CreationDate="2018-10-17T00:32:09.177" Score="2" ViewCount="279" Body="&lt;p&gt;I am trying to bundle assets. I read &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3434/is-there-something-in-sitecore-8-2-that-breaks-bundling&quot;&gt;Is there something in Sitecore 8.2 that breaks bundling?&lt;/a&gt; which was the simplest example I could find. My RegisterBundles.Void() method is not being hit and minified bundles are not being created. We are running Sitecore 9.0.2  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;initialize&amp;gt;&#xA;    &amp;lt;processor type=&quot;MySite.Project.MySite.Pipelines.RegisterBundles, MySite.Project.MySite&quot; /&amp;gt;&#xA;&amp;lt;/initialize&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In My Register Class I tested both single file and wildcard:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterBundles : Sitecore.Mvc.Pipelines.Loader.InitializeRoutes&#xA;{        &#xA;    public override void Process(PipelineArgs args)&#xA;    {&#xA;        Register(BundleTable.Bundles);&#xA;    }&#xA;&#xA;    private void Register(BundleCollection bundles)&#xA;    {&#xA;        bundles.Add(new ScriptBundle(&quot;~/Assets/min/js&quot;).Include(&quot;~/Assets/js/*.js&quot;));&#xA;        bundles.Add(new ScriptBundle(&quot;~/Assets/min/test&quot;).Include(&quot;~/Assets/js/mysite.global.js&quot;));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In My Layout/View:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Scripts.Render(&quot;~/Assets/min/js&quot;)&#xA;@Scripts.Render(&quot;~/Assets/min/test&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I do a show config my element is the last one added to the initialize element. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I do a view source the script tag is rendering correctly but my process method is never hit so the assets are never registered. Do I need to patch instead or patch after or something in my config?  &lt;/p&gt;&#xA;" OwnerUserId="1378" LastEditorUserId="70" LastEditDate="2018-10-17T12:45:54.533" LastActivityDate="2018-10-17T12:45:54.533" Title="How to set up Asset Bundling" Tags="|bundling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14437" PostTypeId="1" CreationDate="2018-10-17T01:11:06.767" Score="1" ViewCount="567" Body="&lt;p&gt;I have configured two Sitecore servers (CM and CD) using Sitecore 8.2.7. On CD server, Sitecore page is properly shown on the browser but there is a error message shown in the log folder as shown below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;4668 19:37:07 ERROR Error loading hook: &amp;lt;hook type=&quot;Sitecore.ContentSearch.Hooks.Initializer, Sitecore.ContentSearch&quot; patch:source=&quot;Sitecore.ContentSearch.config&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We are using Azure Search for content searching but not sure how this is causing error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I fix this?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastActivityDate="2018-10-17T01:11:06.767" Title="Error message &quot;loading hook&quot; for content search" Tags="|configuration|logging|error-handling|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14438" PostTypeId="1" AcceptedAnswerId="14454" CreationDate="2018-10-17T02:41:09.657" Score="1" ViewCount="2246" Body="&lt;p&gt;I have configured CD server according to the official document and spreadsheet and also disabled anonymous IIS access to admin, login, shell folders and default.aspx file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, after changing IIS setting now I can see an error message in the Sitecore log as shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; WARN  Request is redirected to document not found page. Requested url: /login.aspx?ReturnUrl=%2fsitecore%2f, User: extranet\Anonymous, Website: website&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using sitecore version 8.2.7 and very new to this.&#xA;Now I have no clue for how to fix this problem.&#xA;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastActivityDate="2018-10-17T16:00:17.153" Title="&quot;WARN Request is redirected to document not found page&quot; message shown in the log file" Tags="|configuration|logging|error-handling|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14439" PostTypeId="2" ParentId="14436" CreationDate="2018-10-17T05:34:08.590" Score="1" Body="&lt;p&gt;Your guess was correct. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You were missing &lt;code&gt;patch:before&lt;/code&gt; statement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your config should look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;initialize&amp;gt;&#xA;    &amp;lt;processor &#xA;          type=&quot;MySite.Project.MySite.Pipelines.RegisterBundles, MySite.Project.MySite&quot; &#xA;          patch:before=&quot;processor[@type='Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel']&quot; /&amp;gt;&#xA;&amp;lt;/initialize&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="70" LastEditDate="2018-10-17T12:45:35.107" LastActivityDate="2018-10-17T12:45:35.107" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14440" PostTypeId="1" AcceptedAnswerId="14442" CreationDate="2018-10-17T06:44:38.580" Score="2" ViewCount="465" Body="&lt;p&gt;We have requirement to create custom table in Sitecore on publishing any &#xA;Sitecore forms.With Sitecore 9 , all forms related data stored in seperate Form database.&#xA;So is Sitecore Form Database common between CM and CD server just like core ?&lt;/p&gt;&#xA;" OwnerUserId="1884" LastEditorUserId="73" LastEditDate="2018-10-17T11:36:31.723" LastActivityDate="2018-10-18T05:31:36.543" Title="Where is Sitecore Form Database accessed from?" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14441" PostTypeId="2" ParentId="14440" CreationDate="2018-10-17T06:51:52.650" Score="2" Body="&lt;p&gt;Yes, the forms database is directly accessed through the CD servers. There is no publishing on the forms database.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-10-17T06:51:52.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14442" PostTypeId="2" ParentId="14440" CreationDate="2018-10-17T06:53:39.810" Score="4" Body="&lt;p&gt;The form database is accessed by Content Management and Content Deliveries server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xhFWh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xhFWh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;a href=&quot;https://doc.sitecore.net/developers/architecture-and-roles/roles/xm/storage-roles/forms-database.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/architecture-and-roles/roles/xm/storage-roles/forms-database.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-10-17T09:27:34.823" LastActivityDate="2018-10-17T09:27:34.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14443" PostTypeId="1" CreationDate="2018-10-17T11:45:14.417" Score="3" ViewCount="3137" Body="&lt;p&gt;How can we show Captcha using Sitecore Forms and validate? &lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="73" LastEditDate="2018-10-17T13:30:02.467" LastActivityDate="2023-06-12T04:49:53.717" Title="How we can use Captcha in Sitecore Forms?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14444" PostTypeId="2" ParentId="14443" CreationDate="2018-10-17T11:51:59.147" Score="4" Body="&lt;p&gt;It doesn't exist such a field out of the box. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;@Bart Verdonck created a module :  &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions&lt;/a&gt; which has a control to support google reCaptcha.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can download it from : &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/downloads&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/downloads&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;He has a series of blogposts about his module: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://onelittlespark.bartverdonck.be/category/sitecore-forms-extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://onelittlespark.bartverdonck.be/category/sitecore-forms-extensions/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-10-17T11:51:59.147" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14445" PostTypeId="1" AcceptedAnswerId="14446" CreationDate="2018-10-17T12:11:54.377" Score="3" ViewCount="242" Body="&lt;p&gt;When Sitecore indicates that publishing has finished (via normal publish dialog) does this mean that subsequent indexing will also have finished, or does the dialog only report on publish status?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2018-10-18T05:25:31.870" Title="When publish dialog says publish has finished, does that mean indexing has also finished as well?" Tags="|publishing|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14446" PostTypeId="2" ParentId="14445" CreationDate="2018-10-17T12:14:36.493" Score="6" Body="&lt;p&gt;By default web indexes uses &lt;code&gt;onPublishEndAsync&lt;/code&gt; strategy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's executed asynchronously and depending on your application settings, can be distributed to all CD servers (e.g. with Lucene).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why the dialog only reports the publishing itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to see if the reindexing is completed, you may want to try &lt;code&gt;/sitecore/admin/jobs.aspx&lt;/code&gt; page. But those are only jobs executed on that particular server you're browsing, so it will not tell you if other servers still process their indexes.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-10-17T12:14:36.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14449" PostTypeId="1" AcceptedAnswerId="14452" CreationDate="2018-10-17T13:54:17.193" Score="1" ViewCount="433" Body="&lt;p&gt;This may be a little broad so I'd appreciate any pointers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to replace the typical 404 response with 410 for pages that have been deleted? Obviously I'd like to keep 404 responses for genuine 404's.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3907" LastEditorUserId="342" LastEditDate="2018-10-17T17:03:09.573" LastActivityDate="2018-10-17T17:03:09.573" Title="Replacing 404 errors with 410 Sitecore 7.2" Tags="|pipelines|error-handling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14451" PostTypeId="1" AcceptedAnswerId="14456" CreationDate="2018-10-17T14:44:37.867" Score="0" ViewCount="111" Body="&lt;p&gt;We are using SXA 1.7.1 to develop a website but we're dealing with this issue that makes development much slower than it should be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you export a page using the creative exchange, you would usually add classes in the html on elements that have the &quot;add-classes-here&quot; class. Then when you import, style items are created for those classes and they're added to components automatically. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case, this doesn't happen. It says that the import was successful but no style items are created. Has anyone else encountered this problem? Any ideas on why this might happen?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you!&lt;/p&gt;&#xA;" OwnerUserId="1327" LastActivityDate="2018-10-18T09:06:44.600" Title="SXA import doesn't create items for custom styles" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14452" PostTypeId="2" ParentId="14449" CreationDate="2018-10-17T15:08:17.923" Score="5" Body="&lt;p&gt;You certainly could, but it requires a couple moving parts:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Track the pages when they are deleted so you can look them up later&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;To know whether a requested URL used to exist or not, you'll need to track pages as they're deleted so you can check that list later.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need an &lt;code&gt;item:deleted&lt;/code&gt; event handler:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageDeletionLogger&#xA;{&#xA;    public void ItemDeleted(object sender, EventArgs args)&#xA;    {&#xA;        var deletedItem = Event.ExtractParameter(args, 0) as Item;&#xA;        var formerParentId = Event.ExtractParameter(args, 1) as ID;&#xA;&#xA;        if (deletedItem == null || formerParentId == (ID)null || formerParentId == ID.Null)&#xA;            return;&#xA;&#xA;        // If this item is being manipulated in a different database (e.g. &quot;web&quot; because it's being published), ignore it&#xA;        if (!&quot;master&quot;.Equals(deletedItem.Database?.Name, StringComparison.OrdinalIgnoreCase))&#xA;            return;&#xA;&#xA;        // If this item is a template or a branch, ignore it&#xA;        if (deletedItem.Paths.Path.StartsWith(&quot;/sitecore/templates/&quot;))&#xA;            return;&#xA;&#xA;        // Ignore items that aren't pages&#xA;        if (!TemplateManager.GetTemplate(deletedItem).IsDerived(new ID(&quot;id-of-base-page-template&quot;)))&#xA;            return;&#xA;&#xA;        // TODO:Log the page details/URL here&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(And you'll need this handy template checking method &lt;strong&gt;[beware: it's recursive]&lt;/strong&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class TemplateExtensions&#xA;{&#xA;    public static bool IsDerived([NotNull]this Template template, [NotNull]ID templateId)&#xA;    {&#xA;        return template.ID == templateId || template.GetBaseTemplates().Any(baseTemplate =&amp;gt; IsDerived(baseTemplate, templateId));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you'll need to patch it into config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;events&amp;gt;&#xA;            &amp;lt;event name=&quot;item:deleted&quot;&amp;gt;&#xA;                &amp;lt;handler type=&quot;Custom.Events.PageDeletionLogger,Custom&quot; method=&quot;ItemDeleted&quot; /&amp;gt;&#xA;            &amp;lt;/event&amp;gt;&#xA;        &amp;lt;/events&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Look them up as part of the &lt;code&gt;HttpRequestBegin&lt;/code&gt; pipeline&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Then, when incoming requests are processed, you'll need to look them up in your list of deleted pages and see whether they should get a 410 or 404.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DeletedPageResolver : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        // If we resolved a context item, get out&#xA;        if (Sitecore.Context.Item != null)&#xA;            return;&#xA;&#xA;        var listOfDeletedPageUrls = // TODO: Get the list of deleted page URLs&#xA;        if (listOfDeletedPageUrls.Contains(args.Context.Request.RawUrl))&#xA;        {&#xA;            // TODO: Set your 410 HTTP status code&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And, of course, you'll need to patch that into config, too:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;httpRequestBegin&amp;gt;&#xA;                &amp;lt;processor type=&quot;Custom.Processors.HttpRequestBegin.DeletedPageResolver, Custom&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;/&amp;gt;&#xA;            &amp;lt;/httpRequestBegin&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Disclaimer&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I've not worked with the 410 status code before, so it's possible you'll need to do more to avoid having the page redirect to an error page (e.g. resolve the &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; to a page that has the 410 error content you want to display).&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-10-17T15:08:17.923" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14453" PostTypeId="2" ParentId="14414" CreationDate="2018-10-17T15:37:12.640" Score="0" Body="&lt;p&gt;After using the Open graph section mentioned by Alan, we found that it still didn't work, the info we were inputting still didn't get rendered in the page at all. Turns out it's because of the Facebook SDK script included in the Default social media group's &quot;Common Code Snippet&quot; at the path : /sitecore/content/Tenant/Home/Settings/Social Media Groups/Default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kmSj4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kmSj4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We finally solved the issue by making the default item and its children unpublishable, and I believe this can also be solved by removing the common code snippet if it's of no use to you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once we made it unpublishable, any info we inputted in the &quot;Open graph&quot; section of an item would appear just fine.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2018-10-17T15:37:12.640" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14454" PostTypeId="2" ParentId="14438" CreationDate="2018-10-17T16:00:17.153" Score="2" Body="&lt;p&gt;Is there actually a &quot;problem&quot;? The log warning is just telling you that someone tried to browse to /login.aspx (which apparently doesn't exist on your site, which is fine), and Sitecore responded with its normal default behavior (redirecting to &quot;404&quot; page). You can repro this yourself by browsing to /login.aspx on your site and see what happens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These log warnings can be annoying, and you can preempt them by adding your own handler to the &amp;lt;httpRequestBegin&gt; pipeline, but that's another question.&lt;/p&gt;&#xA;" OwnerUserId="3614" LastActivityDate="2018-10-17T16:00:17.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14455" PostTypeId="2" ParentId="14327" CreationDate="2018-10-17T16:28:34.670" Score="0" Body="&lt;p&gt;There is not a &quot;non technical&quot; way of doing this, this code is non-supported by Sitecore and would need to be copied/integrated by a developer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may be able to achieve some of what you are looking for using &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/explore_mode&quot; rel=&quot;nofollow noreferrer&quot;&gt;Explore Mode&lt;/a&gt; when signed in to your authoring environment.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-10-17T16:28:34.670" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14456" PostTypeId="2" ParentId="14451" CreationDate="2018-10-17T17:25:28.057" Score="0" Body="&lt;p&gt;I have seen this before, I believe it to be a potential bug in the Creative Exchange import code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your developers reformat the &lt;code&gt;html&lt;/code&gt; files after the export, the import is not able to import the new CSS classes and create the style items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you make sure you don't reformat any of the html, add your css class names and then import the html, it should work ok.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-10-17T17:25:28.057" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14460" PostTypeId="2" ParentId="14427" CreationDate="2018-10-18T01:29:50.147" Score="3" Body="&lt;p&gt;The issue was with using wrong solr version.I was using Solr version 7.5.&#xA;Sitecore version 9 is compatible only with the versions 6.6.1, 6.6.2, 6.6.3.I found the compatibility table at &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;.&#xA;I have uninstalled Solr 7.5 and installed 6.6.2 and no longer see the issue.   &lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-10-18T01:29:50.147" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14461" PostTypeId="1" CreationDate="2018-10-18T02:19:05.637" Score="0" ViewCount="64" Body="&lt;p&gt;The following role was assigned to a user, But still not able to view WFFM module in Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore\Developer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore\Designer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore\Sitecore Client Developing&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore\Sitecore Market Form Author&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore\Sitecore Client Securing&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore\Sitecore Client Forms author&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: All these role was created with a custom role(SiteContentAuthor) and we also provided the field level restriction to other content items for the SiteContentAuthor role.&lt;/p&gt;&#xA;" OwnerUserId="1867" LastActivityDate="2018-10-18T02:19:05.637" Title="WFFM Roles not working" Tags="|wffm|role-management|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14462" PostTypeId="2" ParentId="14424" CreationDate="2018-10-18T03:25:38.383" Score="1" Body="&lt;p&gt;I am making the assumption that you want to know if they have visited the home and registration page or any past visit. Not just the current visit. The page history of the user is kept in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/personalization/historical_personalization/key_behavior_cache&quot; rel=&quot;nofollow noreferrer&quot;&gt;Key Behavior Cache&lt;/a&gt;. But the KBC does not contain pages. But it does contain past page events and goals.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To create a page event, go to the item &lt;code&gt;/sitecore/system/Settings/Analytics/Page Events&lt;/code&gt; and create two new events. One for home page visit and one for registration page visit. Note the item IDs for each of these events.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then on the home page, assign the home page visit event. On the registration page assign the registration page visit. You assign events in the image below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m5NjG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m5NjG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just to revisit how profiles work in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Profile&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;template: &lt;code&gt;/sitecore/templates/System/Analytics/Profile&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the container for a profile. In you image, this is &lt;code&gt;Holiday Visitor&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Profile Key&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;template: &lt;code&gt;/sitecore/templates/System/Analytics/Profile Key&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is an individual scoring item for a pattern card. Remember in the end you are looking to trigger pattern cards. The profile key is a vehicle for scoring to trigger a pattern card.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Profile Card&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;template: &lt;code&gt;/sitecore/templates/System/Analytics/Profile Card - Persona&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a preselected set of profile keys and values. A profile card is a great thing because setting each key and value on each item would take forever. And then making a change would take for ever. By using a profile card, you are assigning a profile card to an item. One stop shopping.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your Holiday Visitor profile card should have enough value to trigger the Holiday Visitor pattern card.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Pattern Card&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;template: &lt;code&gt;/sitecore/templates/System/Analytics/Patterns/Pattern Card&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A pattern card is the prize at the end. When you trigger enough profile keys to a certain value level, the pattern is assigned to the user. This is what you personalize on. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;ProcessItem Pipeline&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The technique I am going to use here it to check to see if the user has compiled enough page events for the home page (2) and registration page (3). If they have, we are going to send a profile card into the TrackingFieldProcessor.ProcessProfiles() function to trigger the pattern card.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code is untested, but it should get you to where you need to be. You could also make this much more dynamic by using rules. But I thought rules would make this code more confusing. You can look at this repo to see how to use rules and profile items. &lt;a href=&quot;https://github.com/buildabonfire/rule-based-profile-cards&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/buildabonfire/rule-based-profile-cards&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.PersonalizationRules.Pipelines.ProcessItem&#xA;{&#xA;    using System;&#xA;    using System.Collections.Generic;&#xA;    using System.Linq;&#xA;    using Sitecore.Analytics;&#xA;    using Sitecore.Analytics.Data;&#xA;    using Sitecore.Analytics.Pipelines.ProcessItem;&#xA;    using Sitecore.Analytics.Tracking;&#xA;    using Sitecore.Data;&#xA;    using Sitecore.Data.Items;&#xA;    using Sitecore.Diagnostics;&#xA;&#xA;    public class ProcessItemForProfiles : ProcessItemProcessor&#xA;    {&#xA;        // this is profile card value field on the profile card template.&#xA;        public static ID ProfileCardValue = new ID(&quot;{85970AB7-22EA-4206-BE86-C0167178860B}&quot;);&#xA;&#xA;        public override void Process(ProcessItemArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;&#xA;            var registrationPageEventGuid = new Guid(&quot;ID For Registration Page Event&quot;);&#xA;            var homePageEventGuid = new Guid(&quot;ID For Home Page Event&quot;);&#xA;&#xA;            // lets check to see if we have enough events and lets see if the user is already in the &quot;Holiday Visitor&quot; profile.&#xA;            if (IsPageEventCount(registrationPageEventGuid, 3) &#xA;                 &amp;amp;&amp;amp; IsPageEventCount(homePageEventGuid, 2) &#xA;                 &amp;amp;&amp;amp; !Tracker.Current.Interaction.Profiles.ContainsProfile(&quot;Holiday Visitor&quot;))&#xA;            {&#xA;                var profileItem = Sitecore.Context.ContentDatabase.GetItem(new ID(&quot;ID to the profile card&quot;));&#xA;                ProcessProfile(profileItem);&#xA;            }&#xA;        }&#xA;&#xA;        private bool IsPageEventCount(Guid pageEventId, int count)&#xA;        {&#xA;            var pageEvents = Tracker.Current.Session.Interaction.Pages.SelectMany(x =&amp;gt; x.PageEvents).Where(x =&amp;gt; !x.IsGoal);&#xA;            var sessionCount = pageEvents.Count(x =&amp;gt; x.PageEventDefinitionId == pageEventId);&#xA;            var kbcCount = Tracker.Current.Session.Contact.GetKeyBehaviorCache().PageEvents.Count(x =&amp;gt; x.Id == pageEventId);&#xA;&#xA;            return (sessionCount + kbcCount) &amp;gt; count;&#xA;        }&#xA;&#xA;        private static void ProcessProfile(BaseItem profileItem)&#xA;        {&#xA;            var isActive = Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.IsActive;&#xA;            if (!isActive) return;&#xA;&#xA;            var trackingFields = new List&amp;lt;TrackingField&amp;gt;&#xA;            {&#xA;                new TrackingField(profileItem.Fields[ProfileCardValue])&#xA;            };&#xA;&#xA;            var fields = (IEnumerable&amp;lt;TrackingField&amp;gt;)trackingFields;&#xA;&#xA;            var interaction = Tracker.Current?.Session?.Interaction;&#xA;            if (interaction == null) return;&#xA;&#xA;            TrackingFieldProcessor.ProcessProfiles(interaction, fields.FirstOrDefault());&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The config&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;processItem&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Feature.PersonalizationRules.Pipelines.ProcessItem.ProcessItemForProfiles, Sitecore.Feature.PersonalizationRules&quot;&#xA;                           patch:after=&quot;processor[@type='Sitecore.ExperienceExplorer.Business.Pipelines.ProcessItem.ProfilesPipeline, Sitecore.ExperienceExplorer.Business']&quot;&amp;gt;&amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/processItem&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-10-18T03:25:38.383" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14463" PostTypeId="2" ParentId="14451" CreationDate="2018-10-18T04:46:32.857" Score="0" Body="&lt;p&gt;In this case, you can make workaround PowerShell script which can export every html template created for SXA component and can also copy the html and css included in the same. When you use exchange to import it gives only html files which can be and can't be relevant to you.&#xA;For creating the PowerShell script you need to take care of selection so that you can choose proper files.&lt;/p&gt;&#xA;" OwnerUserId="4391" LastEditorUserId="35" LastEditDate="2018-10-18T09:06:44.600" LastActivityDate="2018-10-18T09:06:44.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14469" PostTypeId="1" AcceptedAnswerId="14474" CreationDate="2018-10-18T09:03:14.527" Score="0" ViewCount="1182" Body="&lt;p&gt;I've created some controller views where I added some special styles to my controls and I want to disable these extra styles when the &lt;code&gt;Editing&lt;/code&gt;, &lt;code&gt;Designing&lt;/code&gt; or &lt;code&gt;Control&lt;/code&gt; button is disabled, is it possible to get these values in the controller?&lt;/p&gt;&#xA;&lt;p&gt;Currently I am checking these two options, but here I need to change this completely into the preview mode to disable my component background styles.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.PageMode.IsNormal &amp;amp;&amp;amp; Sitecore.Context.PageMode.IsExperienceEditor&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So it would be nice If I could control my implementation with the &lt;code&gt;Editing&lt;/code&gt; ,&lt;code&gt;Designing&lt;/code&gt; or &lt;code&gt;Controls&lt;/code&gt; checkbox&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yAq1D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yAq1D.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="5943" LastEditDate="2023-07-14T15:28:52.933" LastActivityDate="2023-07-14T15:28:52.933" Title="experience editor check in cshtml if editing or designing is enabled" Tags="|experience-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14470" PostTypeId="1" AcceptedAnswerId="14471" CreationDate="2018-10-18T10:20:52.423" Score="0" ViewCount="97" Body="&lt;p&gt;@Edited after &lt;a href=&quot;https://sitecore.stackexchange.com/users/73/mark-cassidy&quot;&gt;Mark's&lt;/a&gt; answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a ascx control where I have defined some variables. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%&#xA;var showFilters = RenderingParameters.ShowFilters;&#xA;var minimizeCardHeight = RenderingParameters.MinimizeCardHeight;&#xA;var numberOfProfiles = 0;&#xA;%&amp;gt;&#xA;&amp;lt;sc:EditFrame ID=&quot;editContributors&quot; runat=&quot;server&quot; Title=&quot;Contributors Area&quot; Buttons=&quot;/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Test Button&quot;&amp;gt;&#xA;&amp;lt;div class='test'&amp;gt;&#xA;&amp;lt;% if(minimizeCardHeight) { %&amp;gt; &#xA;&amp;lt;div class=&quot;divider&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;&amp;lt;% } %&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;/sc:EditFrame&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, in visual studio there is no error shown for any variables but when I publish the code and run the page in Experience Editor, a compilation error is thrown&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;CS0103: The name 'minimizeCardHeight' does not exist in the current&#xA;  context&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please let me know what I am doing wrong here.&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="4452" LastEditDate="2018-10-18T14:26:09.420" LastActivityDate="2018-10-18T14:26:09.420" Title="Not able to use local variables in Sitecore Edit Frames" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14471" PostTypeId="2" ParentId="14470" CreationDate="2018-10-18T11:10:06.973" Score="1" Body="&lt;p&gt;A number of things. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You cannot have the &lt;code&gt;&amp;lt;%=&lt;/code&gt; inside the &lt;code&gt;&amp;lt;sc:EditFrame&amp;gt;&lt;/code&gt; control. It will not be evaluated. &lt;code&gt;&amp;lt;%=&lt;/code&gt; sends its output to the &lt;code&gt;output stream&lt;/code&gt;, it does not act as a variable as you seem to assume. See &lt;a href=&quot;https://stackoverflow.com/questions/370201/why-will-expressions-as-property-values-on-a-server-controls-lead-to-a-co&quot;&gt;https://stackoverflow.com/questions/370201/why-will-expressions-as-property-values-on-a-server-controls-lead-to-a-co&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;You cannot edit Rendering Parameters using an Edit Frame. See &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2778/inline-editing-of-rendering-parameters-in-experience-editor&quot;&gt;Inline editing of rendering parameters in Experience Editor&lt;/a&gt; for details.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-10-18T11:10:06.973" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14472" PostTypeId="1" CreationDate="2018-10-18T15:15:45.447" Score="0" ViewCount="156" Body="&lt;p&gt;I am trying to deploy JSS-React app in Service Fabric cluster, does anyone know if &#xA;- Sitecore-JSS application supported in Service Fabric?&#xA;- Can I create .net Core application for this?&lt;/p&gt;&#xA;" OwnerUserId="4337" LastEditorUserId="1671" LastEditDate="2018-10-18T16:47:05.457" LastActivityDate="2018-10-18T18:19:43.187" Title="Does anyone know, if Sitecore-JSS-React application supported in Service Fabric cluster" Tags="|jss|deployment|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14474" PostTypeId="2" ParentId="14469" CreationDate="2018-10-18T16:07:05.243" Score="0" Body="&lt;p&gt;If I understand your question properly, you would have to process this client-side (JavaScript), since Sitecore does not do a full page refresh when you click on one of these checkboxes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client-side flags would be:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Designing: &lt;code&gt;Sitecore.Speak.Commands.EnableDesigning.isEnabled&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Editing: &lt;code&gt;Sitecore.Speak.Commands.EnableEditing.isEnabled&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Controls: &lt;code&gt;Sitecore.Speak.Commands.ShowControls.commandContext.button.attributes.isChecked&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Field Validation: &lt;code&gt;Sitecore.Speak.Commands.EnableFieldsValidation.isEnabled&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="890" LastActivityDate="2018-10-18T16:07:05.243" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14476" PostTypeId="1" AcceptedAnswerId="14477" CreationDate="2018-10-18T17:06:23.733" Score="1" ViewCount="389" Body="&lt;p&gt;When we create any form in Sitecore 9.0 , it stores them under path /sitecore/Forms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to specify particular path during creation of form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible ?&lt;/p&gt;&#xA;" OwnerUserId="1884" LastEditorUserId="2056" LastEditDate="2018-10-18T17:26:04.997" LastActivityDate="2018-10-18T17:26:04.997" Title="Sitecore 9.0 Forms location can not be specified during creation" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14477" PostTypeId="2" ParentId="14476" CreationDate="2018-10-18T17:25:06.320" Score="4" Body="&lt;p&gt;If you just want to have different location of root Forms item, this is possible. &#xA;Forms root item is referenced in various places in &lt;code&gt;core&lt;/code&gt; database and you just need to change this reference to your new item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the items in &lt;code&gt;core&lt;/code&gt; db that you need to change:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SearchConfig: {60F35FD9-88CB-4DF5-8E78-1E9BF5FE181C}&lt;/li&gt;&#xA;&lt;li&gt;AllFormsSearchConfig: {60F35FD9-88CB-4DF5-8E78-1E9BF5FE181C}&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;See these blog post for further details:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecoresandbox.com/2018/03/09/there-are-no-forms-to-display-in-sitecore-9-forms-designer/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoresandbox.com/2018/03/09/there-are-no-forms-to-display-in-sitecore-9-forms-designer/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://blogs.perficientdigital.com/2018/03/30/best-practices-on-sitecore-9-forms-for-development-teams/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.perficientdigital.com/2018/03/30/best-practices-on-sitecore-9-forms-for-development-teams/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you would like to specify this path during each form creation, that is I am afraid not possible as this item in referenced from &lt;code&gt;core&lt;/code&gt; db and needs to be always the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some changes will be done with Sitecore 9.1 and SXA 1.8 where you can create forms specific to sites where they were created. But don't know whether it will be feature of SXA 1.8 or Sitecore 9.1 itself. Will update this answer once it's out and I can clarify.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-10-18T17:25:06.320" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14478" PostTypeId="1" CreationDate="2018-10-18T18:04:41.943" Score="0" ViewCount="234" Body="&lt;p&gt;We are trying to install Sitecore 9.0.2 XP rev. 180604 on Azure and we are getting error: &lt;code&gt;ERROR_SQL_EXECUTION_FAILURE&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any inputs would be helpful.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-AzureRmResourceGroupDeployment : 12:31:16 PM - Resource &#xA;&#xA;Microsoft.Web/sites/extensions 'XXXsitecoredev-cm/MSDeploy' &#xA;&#xA;failed with message '{&#xA;  &quot;status&quot;: &quot;failed&quot;,&#xA;  &quot;error&quot;: {&#xA;    &quot;code&quot;: &quot;ResourceDeploymentFailure&quot;,&#xA;    &quot;message&quot;: &quot;The resource operation completed with terminal provisioning state 'failed'.&quot;,&#xA;    &quot;details&quot;: [&#xA;      {&#xA;        &quot;code&quot;: &quot;Failed&quot;,&#xA;        &quot;**message&quot;: &quot;Package deployment failed\r\nAppGallery Deploy Failed: &#xA;'Microsoft.Web.Deployment.DeploymentDetailedClientServerException: An error occurred during execution of the database &#xA;script. The error occurred between the following lines of the script: \&quot;1\&quot; and \&quot;43\&quot;. The verbose log might have more &#xA;information about the error. The command started with the following:\r\n\&quot;declare @ApplicationName nvarchar(256) = &#xA;'sitecore\&quot;\r\n Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server &#xA;is not responding. http://go.microsoft.com/fwlink/?LinkId=178587  Learn more at: &#xA;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE. ---&amp;amp;gt; System.Data.SqlClient.SqlException: Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not &#xA;responding**. ---&amp;amp;gt; System.ComponentModel.Win32Exception: The wait operation timed out\r\n   --- End of inner exception &#xA;stack trace ---\r\n   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, &#xA;Action`1 wrapCloseInAction)\r\n   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject &#xA;stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior &#xA;runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject &#xA;stateObj, Boolean&amp;amp;amp; dataReady)\r\n   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, &#xA;Boolean async, Int32 timeout, Boolean asyncWrite)\r\n   at &#xA;System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean &#xA;sendToPipe, Int32 timeout, Boolean&amp;amp;amp; usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   at &#xA;System.Data.SqlClient.SqlCommand.ExecuteNonQuery()\r\n   at Microsoft.Web.Deployment.DBStatementInfo.Execute(DbConnection &#xA;connection, DbTransaction transaction, DeploymentBaseContext baseContext, Int32 timeout)\r\n   --- End of inner exception &#xA;stack trace ---\r\n   at Microsoft.Web.Deployment.DBStatementInfo.Execute(DbConnection connection, DbTransaction &#xA;transaction, DeploymentBaseContext baseContext, Int32 timeout)\r\n   at &#xA;Microsoft.Web.Deployment.DBConnectionWrapper.ExecuteSql(DBStatementInfo sqlStatement, DeploymentBaseContext baseContext, &#xA;Int32 timeout)\r\n   at Microsoft.Web.Deployment.SqlScriptToDBProvider.AddHelper(DeploymentObject source, Boolean &#xA;whatIf)\r\n   at Microsoft.Web.Deployment.DeploymentObject.AddChild(DeploymentObject source, Int32 position, &#xA;DeploymentSyncContext syncContext)\r\n   at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAddChild(DeploymentObject &#xA;destParent, DeploymentObject sourceObject, Int32 position)\r\n   at &#xA;Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)\r\n   at &#xA;Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)\r\n   at &#xA;Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject &#xA;sourceObject)\r\n   at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, &#xA;DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId, &#xA;String syncSessionId)\r\n   at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, &#xA;DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)\r\n   at &#xA;Microsoft.Web.Deployment.WebApi.AppGalleryPackage.Deploy(String deploymentSite, String siteSlotId, Boolean doNotDelete)\r\n &#xA;  at Microsoft.Web.Deployment.WebApi.DeploymentController.&amp;amp;lt;DownloadAndDeployPackage&amp;amp;gt;d__17.MoveNext()'&quot;&#xA;      }&#xA;    ]&#xA;  }&#xA;}'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="1671" LastEditDate="2018-10-18T18:12:15.997" LastActivityDate="2018-10-18T18:12:15.997" Title="Sitecore PAAS Installation failure" Tags="|paas|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14479" PostTypeId="2" ParentId="14472" CreationDate="2018-10-18T18:19:43.187" Score="1" Body="&lt;p&gt;The question is pretty vague so there are several possible answers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First note that the Sitecore setup (CM, CD, etc) backing any JSS application can certainly not run on service fabric.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;If using JSS for JavaScript apps (i.e. React)&lt;/strong&gt;, then the JSS app requires a Node host. If service fabric can run Node apps, then JSS should work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;If you want to use .NET Core&lt;/strong&gt;, then it is theoretically possible to consume JSS's services (i.e. layout service) over HTTP from .NET Core, then render the app using ASP.NET Core MVC instead of JS. This is probably not what you mean, however - hosting a JSS JS app within a .NET Core environment would basically mean using .NET Core to shell out to Node, which is pretty much a waste.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-10-18T18:19:43.187" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14481" PostTypeId="1" AcceptedAnswerId="14482" CreationDate="2018-10-19T02:56:54.100" Score="9" ViewCount="3028" Body="&lt;p&gt;Is there a way to remove Analytics data in Sitecore 9? Similar question for &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5039/clean-analytics-in-sitecore-8&quot;&gt;Sitecore 8&lt;/a&gt; which talked about the use of __DeleteAllReportingData and deletion of Mongodbs or the use of &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&quot; rel=&quot;noreferrer&quot;&gt;Analytics_Database_Manager&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've searched, but didnt find anything about Sitecore 9 Analytics Data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If any knows, please let us know. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="4471" LastEditorUserId="1278" LastEditDate="2018-10-19T03:40:42.013" LastActivityDate="2019-05-21T19:00:48.520" Title="Clean Analytics in Sitecore 9" Tags="|xdb|experience-analytics|xconnect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14482" PostTypeId="2" ParentId="14481" CreationDate="2018-10-19T05:02:57.050" Score="18" Body="&lt;p&gt;To clean the sql xdb database in Sitecore 9 you need to run bellow script in SQL on every shard that you have . &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;USE [yourdatabaseprefix.Collection.ShardX]&#xA;&#xA;GO&#xA;&#xA;DELETE FROM [xdb_collection].ContactIdentifiers&#xA;&#xA;Delete from [xdb_collection].ContactFacets&#xA;&#xA;Delete from [xdb_collection].InteractionFacets&#xA;&#xA;Delete from [xdb_collection].Interactions&#xA;&#xA;Delete from [xdb_collection].Contacts   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Updated for 9.1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Add these also for 9.1&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Delete from [xdb_collection].ContactIdentifiersIndex&#xA;Delete from [xdb_collection].DeviceProfileFacets&#xA;Delete from [xdb_collection].DeviceProfiles&#xA;Delete from [xdb_collection].DeviceProfileFacets&#xA;Delete from [xdb_collection].DeviceProfileFacets &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You also need to clean the interactions out of the processing pool&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TRUNCATE TABLE [xdb_processing_pools].[InteractionLiveProcessingPool]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you use SOLR you need to update xdb solr index:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-solr-index.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-solr-index.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Azure Search you need to use: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-azure-index.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-azure-index.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should also to rebuild reporting database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/reporting/rebuild-reporting.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/reporting/rebuild-reporting.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="432" LastEditDate="2019-05-21T19:00:48.520" LastActivityDate="2019-05-21T19:00:48.520" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14483" PostTypeId="1" AcceptedAnswerId="14489" CreationDate="2018-10-19T08:39:25.907" Score="0" ViewCount="550" Body="&lt;p&gt;Trying to create empty Contact List in Sitecore 9 Update 2 through List Manager but getting 403 HTTP response code and below exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Request URL is &lt;code&gt;https://sc9u2.sc/sitecore/api/ssc/ListManagement/ContactList&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;__RequestVerificationToken is part of Request headers. I have already tried it in latest Chrome and Firefox but no difference.&#xA;In IE11 it is working...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Message : An error has occurred.&#xA;&#xA;ExceptionMessage :  The required anti-forgery cookie &quot;__RequestVerificationToken&quot; is not present.&#xA;&#xA;ExceptionType : System.Web.Mvc.HttpAntiForgeryException&#xA;&#xA;StackTrace : at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken) at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext, String cookieToken, String formToken) at Sitecore.Web.Http.Filters.ValidateHttpAntiForgeryTokenAttribute.OnAuthorization(HttpActionContext actionContext)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2021-04-17T03:22:41.907" Title="Contact List can't be created in Sitecore 9 Update 2" Tags="|list-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14484" PostTypeId="1" CreationDate="2018-10-19T09:48:11.043" Score="5" ViewCount="1986" Body="&lt;p&gt;So after a clean install of Sitecore, I've been trying to get an app working with xConnect, but when I'm running that I'm getting the following exception in my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;No connection could be made because the target machine actively refused it&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code I'm using: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var config = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(null);&#xA;var connectionString = WebConfigurationManager.AppSettings[&quot;xConnectConnectionString&quot;];&#xA;var collectionClientUrl = WebConfigurationManager.AppSettings[&quot;xConnectCollectionClientUrl&quot;];&#xA;var searchClientUrl = WebConfigurationManager.AppSettings[&quot;xConnectSearchClientUrl&quot;];&#xA;var configurationClientUrl = WebConfigurationManager.AppSettings[&quot;xConnectConfigurationClientUrl&quot;];&#xA;await XConnect.Initialize(connectionString, collectionClientUrl, searchClientUrl, configurationClientUrl);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The values in the appsettings are: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;xConnectConnectionString&quot; value=&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=D277A26033FA68500804EEB7E108754A3A4968FD;AllowInvalidClientCertificates=true&quot; /&amp;gt;&#xA;&amp;lt;add key=&quot;xConnectCollectionClientUrl&quot; value=&quot;https://blank.902.local.xconnect/odata&quot; /&amp;gt;&#xA;&amp;lt;add key=&quot;xConnectSearchClientUrl&quot; value=&quot;https://blank.902.local.xconnect/odata&quot; /&amp;gt;&#xA;&amp;lt;add key=&quot;xConnectConfigurationClientUrl&quot; value=&quot;https://blank.902.local.xconnect/configuration&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Thumbprint you see in the xConnectConnectionString is the thumbprint for the xConnect certificate (for clarity: not client certificate)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;XConnect is a custom class, XConnect.Initialize does this (pretty much copy/paste from the documentation):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static async Task Initialize(string connectionString, string collectionClientUrl, string searchClientUrl, string configurationClientUrl)&#xA;{&#xA;    var options = CertificateWebRequestHandlerModifierOptions.Parse(connectionString);&#xA;&#xA;    var certificateModifier = new CertificateWebRequestHandlerModifier(options);&#xA;&#xA;    var clientModifiers = new List&amp;lt;IHttpClientModifier&amp;gt;();&#xA;    var timeoutClientModifier = new TimeoutHttpClientModifier(new TimeSpan(0, 0, 20));&#xA;    clientModifiers.Add(timeoutClientModifier);&#xA;&#xA;    var collectionClient = new CollectionWebApiClient(new Uri(collectionClientUrl), clientModifiers, new[] { certificateModifier });&#xA;    var searchClient = new SearchWebApiClient(new Uri(searchClientUrl), clientModifiers, new[] { certificateModifier });&#xA;    var configurationClient = new ConfigurationWebApiClient(new Uri(configurationClientUrl), clientModifiers, new[] { certificateModifier });&#xA;&#xA;    Cfg = new XConnectClientConfiguration(new XdbRuntimeModel(CollectionModel.Model), collectionClient, searchClient, configurationClient);&#xA;&#xA;    try&#xA;    {&#xA;        await Cfg.InitializeAsync();&#xA;    }&#xA;    catch (XdbModelConflictException ce)&#xA;    {&#xA;        //I am not sure what to do with exception now&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        //I am not sure what to do with exception now&#xA;        throw;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried uploading a list in List Manager as well, which seems to have the same type of issue. After uploading a list with 2 contacts I do see the list and it seems to have contacts assigned to it, but the contacts do not show in Experience Profile. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C7uFx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C7uFx.png&quot; alt=&quot;Test list with contacts&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I go into the list, I see the following error message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KaF4y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KaF4y.png&quot; alt=&quot;Contacts are being indexed message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I check my Sitecore log files, I get the following message there:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #2 10:11:35 ERROR Exception Exception:&#xA;  System.Reflection.TargetInvocationException Message: Exception has&#xA;  been thrown by the target of an invocation. Source: mscorlib    at&#xA;  System.RuntimeMethodHandle.InvokeMethod(Object target, Object[]&#xA;  arguments, Signature sig, Boolean constructor)    at&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments)    at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br&gt;&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;  Object[] parameters, Object obj)    at&#xA;  Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)    at (Object , Object&#xA;  )    at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&lt;br&gt;&#xA;  at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String&#xA;  pipelineName, PipelineArgs args, String pipelineDomain)    at&#xA;  Sitecore.Jobs.Job.DoExecute()    at&#xA;  Sitecore.Jobs.Job.ThreadEntry(Object state)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Sitecore.XConnect.XdbSearchUnavailableException Message: An&#xA;  error occurred while sending the request. Source:&#xA;  Sitecore.XConnect.Client    at&#xA;  Sitecore.XConnect.Client.WebApi.SearchWebApiClient.d__9&lt;code&gt;1.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.XConnect.Client.Operations.SearchOperationInvoker.&amp;lt;Execute&amp;gt;d__2.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  Sitecore.XConnect.Search.SearchHelpers.&amp;lt;ExecuteSearch&amp;gt;d__6&lt;/code&gt;1.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.XConnect.Search.SearchDefinition&lt;code&gt;1.&amp;lt;Execute&amp;gt;d__22.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.XConnect.Search.AsyncSearchHitEnumerator&lt;/code&gt;1.d__8.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.XConnect.Search.AsyncEntityQueryProvider.d__8&lt;code&gt;1.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.XConnect.Search.AsyncEntityQueryProvider.&amp;lt;ExecuteAsync&amp;gt;d__7&lt;/code&gt;1.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.ListManagement.XConnect.ContactsOperationIndexingState.IsFinished(String&#xA;  syncToken)    at&#xA;  Sitecore.ListManagement.Operations.UpdateListOperationsAgent.CheckIndexing(ListOperation&#xA;  listOperation)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Sitecore.Xdb.Common.Web.ConnectionTimeoutException Message:&#xA;  A task was canceled. Source: Sitecore.Xdb.Common.Web    at&#xA;  Sitecore.Xdb.Common.Web.CommonWebApiClient&lt;code&gt;1.&amp;lt;ExecuteAsync&amp;gt;d__37.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.XConnect.Client.WebApi.SearchWebApiClient.&amp;lt;Search&amp;gt;d__9&lt;/code&gt;1.MoveNext()&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Threading.Tasks.TaskCanceledException Message: A&#xA;  task was canceled. Source: mscorlib    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task&#xA;  task)    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Xdb.Common.Web.CommonWebApiClient`1.d__37.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And if I check the log file for the IndexWorker, I get a whole bunch of this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-10-19 09:44:12.229 +01:00 [Error] An error occured.&#xA;  System.Net.Http.HttpRequestException: An error occurred while sending&#xA;  the request. ---&gt; System.Net.WebException: Unable to connect to the&#xA;  remote server ---&gt; System.Net.Sockets.SocketException: No connection&#xA;  could be made because the target machine actively refused it&#xA;  127.0.0.1:8989    at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)&#xA;  at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)&lt;br&gt;&#xA;  at System.Net.ServicePoint.ConnectSocketInternal(Boolean&#xA;  connectFailure, Socket s4, Socket s6, Socket&amp;amp; socket, IPAddress&amp;amp;&#xA;  address, ConnectSocketState state, IAsyncResult asyncResult,&#xA;  Exception&amp;amp; exception)    --- End of inner exception stack trace ---&lt;br&gt;&#xA;  at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) &#xA;  at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult&#xA;  ar)    --- End of inner exception stack trace ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Xdb.Collection.Search.Solr.SolrClient.d__4.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Xdb.Collection.Search.Solr.SolrRebuildStatusStorage.d__5.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.XConnect.Search.Indexer.IndexerHost.d__28.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, in the ConnectionStrings.config I've got the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;solrCore&quot; connectionString=&quot;https://localhost:8989/solr/blank.902.local_xdb&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Not entirely sure where 127.0.0.1 comes from rather than localhost - but even then &lt;a href=&quot;https://127.0.0.1:8989&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://127.0.0.1:8989&lt;/a&gt; is accessible and redirects to my SOLR - it's just http that doesn't...&lt;br/&gt; Lastly all environments (xConnect, Sitecore and SOLR) all are running in HTTPS with a valid (self-signed) certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure if this is relevant but in my xConnect AppSettings configuration I do have the following set: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;AllowInvalidClientCertificates&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I commented out the &lt;code&gt;validateCertificateThumbprint&lt;/code&gt; setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the first part of the question is now answered due to be being a numpty. I was having issues with the certificates initially, so I was using Fiddler in combination with my custom application so I could get the error code back. To enable Fiddler I added the following to the web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.net&amp;gt;&#xA;    &amp;lt;defaultProxy&amp;gt;&#xA;      &amp;lt;proxy autoDetect=&quot;false&quot; bypassonlocal=&quot;false&quot; proxyaddress=&quot;http://127.0.0.1:8888&quot; usesystemdefault=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;/defaultProxy&amp;gt;&#xA;&amp;lt;/system.net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Removing that from web.config stops the error from being thrown in my custom app trying to connect with xConnect. Still had issues though as Solr and the Index Worker can't communicate.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;HttpRequestException: Response status code does not indicate success:&#xA;  503&#xA;  ({metadata={error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException},msg=SolrCore&#xA;  is loading,code=503}).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Now when I open SOLR I also get the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C7uFx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C7uFx.png&quot; alt=&quot;Solr error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error is all about:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;SolrException: Error opening new searcher&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Reading the inner exception there::&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Caused by: org.apache.lucene.store.LockObtainFailedException: Lock&#xA;  held by this virtual machine:&#xA;  C:\Solr-6.6.0\server\solr\blank.902.local_xdb_rebuild\data\index\write.lock&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I then tried to follow the rebuilding steps &lt;a href=&quot;https://i.stack.imgur.com/KaF4y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;found on the doc site&lt;/a&gt; but messed up massively, corrupted the various cores that were working so had to reinstall for the umpteenth time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While I did this reinstall, I noticed something strange on my XConnect Client cert in the MS Management Console, although did not screengrab it. &#xA;I ended up generating my own SSL cert for XConnect Client (via PowerShell). Added this to Trusted Root Certification Authorities after importing and ran into an issue with security - added IIS user to the permissions for the cert and... Still nothing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is now the exception in the xConnect log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-10-23 14:30:27.189 +01:00 [Error]&#xA;  Sitecore.XConnect.Operations.XdbSearchOperation`1[Sitecore.XConnect.Contact]:&#xA;  System.TimeoutException: A wait for data to be indexed has been timed&#xA;  out. 2018-10-23 14:30:27.189 +01:00 [Error]&#xA;  [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;  System.TimeoutException: A wait for data to be indexed has been timed&#xA;  out.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In the IndexWorker logfile I'm getting the same I was getting at the start of this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-10-23 13:17:38.522 +01:00 [Error] An error occured.&#xA;  System.Net.Http.HttpRequestException: An error occurred while sending&#xA;  the request. ---&gt; System.Net.WebException: Unable to connect to the&#xA;  remote server ---&gt; System.Net.Sockets.SocketException: No connection&#xA;  could be made because the target machine actively refused it&#xA;  127.0.0.1:8989&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Although I'm now also getting the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-10-23 13:17:42.168 +01:00 [Error] An error occured.&#xA;  System.Net.Http.HttpRequestException: An error occurred while sending&#xA;  the request. ---&gt; System.Net.WebException: The server committed a&#xA;  protocol violation. Section=ResponseStatusLine&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm accessing the website on https, xConnect is on https, SOLR runs under https - but looking at the earlier error it seems like it's trying to access SOLR on &lt;a href=&quot;http://127.0.0.1:8989&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://127.0.0.1:8989&lt;/a&gt; instead of https...&lt;/p&gt;&#xA;" OwnerUserId="115" LastEditorUserId="115" LastEditDate="2018-10-23T13:37:41.430" LastActivityDate="2018-10-23T13:37:41.430" Title="XConnect IndexWorker unable to connect" Tags="|solr|xconnect|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="14486" PostTypeId="1" AcceptedAnswerId="14491" CreationDate="2018-10-19T11:07:31.450" Score="2" ViewCount="1384" Body="&lt;p&gt;&lt;strong&gt;Background:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sometimes we get invalid pointers to renderings in the diffs stored in the rendering fields in Sitecore. (_Final Renderings in our case but maybe it appears in in the shared _Renderings too)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example when having some renderings in the standard values and then edit some pages. Later removing the renderings in the standard values. If you combine this with synchronizing templates between development and production environments (for example with unicorn) you get after=&quot;non-existing-id&quot; and other weird stuff in your delta values in _Final Renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Updates from Sitecore says this should not occur... but you still get some weird values at some points. So...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This combined with the problem that Sitecore 8.someversion causes the page to totally crash in both Normal mode (visitors) and in Experience editor mode.&#xA;With the not-saying-so-much:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.CreateCyclePreventer(String placeholderName, Rendering rendering)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;   ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Findings:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem can be &quot;manually&quot; fixed in content editor&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open an item with such a problem in Content Editor&lt;/li&gt;&#xA;&lt;li&gt;Select Presentation and click Details it opens the dialog&lt;/li&gt;&#xA;&lt;li&gt;Click OK &lt;strong&gt;without&lt;/strong&gt; changing anything&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The values in the _Final Renderings fields are now slightly changed (still containing a diff, but &quot;fixed&quot;) and the page may be edited i Experience Editor again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we do the same work as the Ok-press on the dialog programmatically? I guess yes, but how?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(I plan to use it in a loop to fix items, but I do know how to loop items, that is not the problem in this question.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution starters:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess we should read the existing Standard Values shared _Renderings field, the items _Renderings and _Final Renderings field. I guess into LayoutDefinition-objects. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Combine them somehow and then get the correct diffs back and write them to the field. Maybe using XmlDeltas that have been mentioned on some pages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I mainly need help on is how to combine them and get the correct diffs to write to _Renderings and _Final Renderings on the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some pages i have found so far (to pages describing parts of it or related stuff):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://learnsitecore.cmsuniverse.net/en/Developers/Articles/2011/07/Programmatically-set-layout-in-sitecore.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://learnsitecore.cmsuniverse.net/en/Developers/Articles/2011/07/Programmatically-set-layout-in-sitecore.aspx&lt;/a&gt; (Just how you may modify/set the value, nothing about diffs)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11641/how-to-add-rendering-at-a-position-programmatically&quot;&gt;How to add rendering at a position programmatically&lt;/a&gt; (Just how you may modify/set the value, nothing about diffs)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/4531/change-datasource-in-final-layout-through-api&quot;&gt;Change datasource in final layout through API&lt;/a&gt; (Modify final layout, but no full example?)&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/the_versioned_layout_api_changes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/the_versioned_layout_api_changes&lt;/a&gt; (About setting/getting)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.cognifide.com/our-blogs/sitecore/complex-layouts-in-sitecore-using-standard-values-hierarchy/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.cognifide.com/our-blogs/sitecore/complex-layouts-in-sitecore-using-standard-values-hierarchy/&lt;/a&gt; (some info about the diffs)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jermdavis.wordpress.com/2015/07/20/editing-layout-details/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jermdavis.wordpress.com/2015/07/20/editing-layout-details/&lt;/a&gt; Saying that updating the values by just calling the right getter/setting will make it become a diff. But that is for _Renderings, not _Final Renderings.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The same crash as we get too:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/10506/createcyclepreventer-throwing-nullreferenceexception-with-final-rendering-detail&quot;&gt;CreateCyclePreventer throwing NullReferenceException with final rendering details&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="4384" LastEditorUserId="4384" LastEditDate="2018-10-19T11:43:05.573" LastActivityDate="2018-10-23T07:25:45.640" Title="Fixing incorrect references in _Final Renderings (and maybe _Renderings too)" Tags="|presentation|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14487" PostTypeId="1" CreationDate="2018-10-19T11:29:33.247" Score="1" ViewCount="291" Body="&lt;p&gt;We're working on the Sitecore upgrade from Sitecore 7.2 to Sitecore 9 update2. Using the express migration tool, we moved all the content from sitecore7.2 to sitecore 9 initial version and updated the references and breaking changes and it almost works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To move from Sitecore 9 initial version to Sitecore 9 update 2, There are some upgrade scripts which are available. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: Current project is not using any DMS functionalities and sitecore customization is very less.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a couple of questions.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Shall i take the packages from sitecore 9 initial version and&#xA;install the package to sitecore 9 update2 directly since i don't&#xA;have much sitecore customizations and No XDb migrations?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When do we follow upgrade option? ( i mean upgrading from sitecore 9&#xA;Initial version to Sitecore 9 update2 using Upgrade scripts and&#xA;Upgrade packages)?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="1671" LastEditDate="2018-10-19T21:57:20.630" LastActivityDate="2018-10-19T21:57:20.630" Title="Upgrade from Sitecore 9.0 initial version to Sitecore 9 update 2" Tags="|migration|express-migration-tool|content-migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14488" PostTypeId="2" ParentId="14486" CreationDate="2018-10-19T11:42:29.007" Score="0" Body="&lt;p&gt;I'm not sure how exactly to do the &quot;open and save&quot; process you're looking for, but another way to accomplish this would be to simply remove any renderings from the &lt;code&gt;__Renderings&lt;/code&gt; and &lt;code&gt;__Final Renderings&lt;/code&gt; fields where the ID of the rendering does not exist in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like (you'd need to modify this to do the &lt;code&gt;FieldIDs.LayoutField&lt;/code&gt;, also):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string finalLayoutFieldValue = theItem[FieldIDs.FinalLayoutField];&#xA;if (!string.IsNullOrEmpty(finalLayoutFieldValue))&#xA;{&#xA;    XNamespace sNamespace = XNamespace.Get(&quot;s&quot;);&#xA;    XElement rootElement = XElement.Parse(finalLayoutFieldValue);&#xA;    IEnumerable&amp;lt;XElement&amp;gt; renderingElements = rootElement.Element(&quot;d&quot;)?.Elements(&quot;r&quot;);&#xA;&#xA;    IEnumerable&amp;lt;XElement&amp;gt; renderingsToRemove = renderingElements.Where(rendering =&amp;gt; rendering.Attribute(sNamespace + &quot;id&quot;) != null &amp;amp;&amp;amp; Sitecore.Context.Database.GetItem(rendering.Attribute(sNamespace + &quot;id&quot;).Value) == null);&#xA;&#xA;    if (renderingsToRemove.Any()) &#xA;    {&#xA;        foreach (XElement renderingToRemove in renderingsToRemove)&#xA;        {&#xA;            renderingToRemove.Remove();&#xA;        }&#xA;&#xA;        var finalLayoutField = (LayoutField)theItem.Fields[FieldIDs.FinalLayoutField];&#xA;        theItem.Editing.BeginEdit();&#xA;        finalLayoutField.Value = rootElement.ToString(SaveOptions.DisableFormatting);&#xA;        theItem.Editing.EndEdit();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-10-19T11:42:29.007" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14489" PostTypeId="2" ParentId="14483" CreationDate="2018-10-19T12:27:00.793" Score="2" Body="&lt;p&gt;For me looks like this is a Sitecore bug. &#xA;As far I see Chrome, Firefox and IE works differently on validating tokens. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Sitecore is a setting IsAuthorizationBypassAllowed. This setting, when set to true will ignore Request Validation checking on Controllers where the ValidateHttpAntiForgeryToken attribute is set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please create a patch file for : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Sitecore.Web.IsAuthorizationBypassAllowed&quot; value=&quot;true&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;@Pete Navara&lt;/strong&gt; created a blogpost about this issue and he described it like an &lt;strong&gt;EXM wizard&lt;/strong&gt; : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;@&lt;a href=&quot;https://sitecorehacker.com/2017/11/10/bypassing-sitecores-request-verification/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/2017/11/10/bypassing-sitecores-request-verification/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-10-19T12:45:13.213" LastActivityDate="2018-10-19T12:45:13.213" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14490" PostTypeId="2" ParentId="12993" CreationDate="2018-10-19T12:27:04.133" Score="0" Body="&lt;p&gt;Depends what you need to do with those pdfs I would keep it as Item and used MediaManager to work with it&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual IEnumerable&amp;lt;Item&amp;gt; Documents { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then use it like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach(var document in Model.Documents){&#xA;    MediaManager.GetMediaUrl(document);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1857" LastActivityDate="2018-10-19T12:27:04.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14491" PostTypeId="2" ParentId="14486" CreationDate="2018-10-19T13:09:32.023" Score="1" Body="&lt;p&gt;Is was as easy as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public string CheckRefs(Item item)&#xA;    {&#xA;        var finalLayoutField = item.Fields[Sitecore.FieldIDs.FinalLayoutField];&#xA;        string finalXml = LayoutField.GetFieldValue(finalLayoutField);&#xA;        var finalDetails = Sitecore.Layouts.LayoutDefinition.Parse(finalXml);&#xA;        string newFinalXml = finalDetails.ToXml();&#xA;        if (newFinalXml != finalXml)&#xA;        {&#xA;            item.Editing.BeginEdit();&#xA;            LayoutField.SetFieldValue(finalLayoutField, newFinalXml);&#xA;            item.Editing.EndEdit();&#xA;            return &quot;modified&quot;;&#xA;        }&#xA;        return &quot;no changes&quot;;&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The solution was in the links I found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can also confirm that this make the page working for end users and editable in experience editor again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As there may have been references to renderings that no longer exist, the order of some components may have changed. But that information was lost anyway, unless you could get the rendering location back from source control and try more advance methods of ordering renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Extra&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want a more complete example you should have a &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (Language lang in item.Languages)&#xA;{&#xA;        Item itemLang = item.Database.GetItem(item.ID, lang);&#xA;        ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;somewhere too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/the_versioned_layout_api_changes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/versioned_layouts/the_versioned_layout_api_changes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4384" LastEditorUserId="4384" LastEditDate="2018-10-23T07:25:45.640" LastActivityDate="2018-10-23T07:25:45.640" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14492" PostTypeId="2" ParentId="14487" CreationDate="2018-10-19T14:13:52.467" Score="1" Body="&lt;p&gt;Since you are already on Sitecore 9.0 Initial Update, I don't think you need to create packages and install on Update 2. And obviously since Express Migration Tool 3.1 doesn't support any targeted version greater than 9.0 Initial Version, you can't use that. I would rather Upgrade the same SC 9.0 Initial Version instance to Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From this stage onward I will follow the step below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Backup everything, especially database. Preferable use any source control and check-in the current state. Follow the Upgrade Guide provided with SC9 Update 2:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Preparing to Upgrade from Sitecore XP 9.0&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Disable Experience Analytics.&lt;/li&gt;&#xA;&lt;li&gt;Stop Two Windows Services - Sitecore XConnect Search Indexer service and Sitecore &#xA;Marketing Automation Engine service.&lt;/li&gt;&#xA;&lt;li&gt;Disable the Data Migration Too.&lt;/li&gt;&#xA;&lt;li&gt;Upgrade the Databases.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Final Preparations for Upgrading from All Versions&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;STOP all the content test.&lt;/li&gt;&#xA;&lt;li&gt;Disable the Web Forms for Marketers Module – If Installed.&lt;/li&gt;&#xA;&lt;li&gt;Enable Email Experience Manager – MOST IMPORTANT, cause on SC9 Update 2 EXM will be &#xA;part of the platform.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Then follow the steps provided under - &lt;em&gt;Upgrade from Sitecore XP 9.0 Initial Release&lt;/em&gt;  and beyond.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-10-19T14:13:52.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14493" PostTypeId="1" CreationDate="2018-10-19T14:28:10.247" Score="0" ViewCount="3531" Body="&lt;pre&gt;&lt;code&gt;Windows PowerShell&#xA;Copyright (C) 2014 Microsoft Corporation. All rights reserved.&#xA;&#xA;PS P:\&amp;gt; D:&#xA;PS D:\&amp;gt; cd sc9_install&#xA;PS D:\sc9_install&amp;gt; .\sc9_install&#xA;Install-SitecoreConfiguration : The term 'Install-SitecoreConfiguration' is not recognized as the name of a cmdlet,&#xA;function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the&#xA;path is correct and try again.&#xA;At D:\sc9_install\sc9_install.ps1:29 char:1&#xA;+ Install-SitecoreConfiguration @certParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ObjectNotFound: (Install-SitecoreConfiguration:String) [], CommandNotFoundException&#xA;    + FullyQualifiedErrorId : CommandNotFoundException&#xA;&#xA;Install-SitecoreConfiguration : The term 'Install-SitecoreConfiguration' is not recognized as the name of a cmdlet,&#xA;function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the&#xA;path is correct and try again.&#xA;At D:\sc9_install\sc9_install.ps1:40 char:1&#xA;+ Install-SitecoreConfiguration @solrParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ObjectNotFound: (Install-SitecoreConfiguration:String) [], CommandNotFoundException&#xA;    + FullyQualifiedErrorId : CommandNotFoundException&#xA;&#xA;Install-SitecoreConfiguration : The term 'Install-SitecoreConfiguration' is not recognized as the name of a cmdlet,&#xA;function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the&#xA;path is correct and try again.&#xA;At D:\sc9_install\sc9_install.ps1:57 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ObjectNotFound: (Install-SitecoreConfiguration:String) [], CommandNotFoundException&#xA;    + FullyQualifiedErrorId : CommandNotFoundException&#xA;&#xA;Install-SitecoreConfiguration : The term 'Install-SitecoreConfiguration' is not recognized as the name of a cmdlet,&#xA;function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the&#xA;path is correct and try again.&#xA;At D:\sc9_install\sc9_install.ps1:68 char:1&#xA;+ Install-SitecoreConfiguration @solrParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ObjectNotFound: (Install-SitecoreConfiguration:String) [], CommandNotFoundException&#xA;    + FullyQualifiedErrorId : CommandNotFoundException&#xA;&#xA;Install-SitecoreConfiguration : The term 'Install-SitecoreConfiguration' is not recognized as the name of a cmdlet,&#xA;function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the&#xA;path is correct and try again.&#xA;At D:\sc9_install\sc9_install.ps1:87 char:1&#xA;+ Install-SitecoreConfiguration @sitecoreParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ObjectNotFound: (Install-SitecoreConfiguration:String) [], CommandNotFoundException&#xA;    + FullyQualifiedErrorId : CommandNotFoundException&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2789" LastEditorUserId="1671" LastEditDate="2018-10-19T14:39:25.873" LastActivityDate="2018-10-21T16:23:29.957" Title="While installing Sitecore 9 update 2 got below issue" Tags="|sitecore-install-framework|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14494" PostTypeId="2" ParentId="14493" CreationDate="2018-10-19T14:48:24.593" Score="2" Body="&lt;p&gt;The error you are seeing is due to the Sitecore Installation Framework not being installed/registered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be able to register the Powershell module by executing the following statements:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2&#xA;Install-Module SitecoreInstallFramework &#xA;Update-Module SitecoreInstallFramework &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If this doesn't fix the issue, it could be due to a manual install of the framework previously that needs to be removed first.&lt;/p&gt;&#xA;" OwnerUserId="731" LastActivityDate="2018-10-19T14:48:24.593" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14495" PostTypeId="1" CreationDate="2018-10-19T15:00:25.100" Score="0" ViewCount="80" Body="&lt;p&gt;We are using simple text components in SXA 1.7.1 and we need to validate these text components for maximum length. If this was not SXA we would have put the validations at template level now I want to know what is best approach to do these maximum length validations in SXA. &lt;/p&gt;&#xA;" OwnerUserId="1533" LastEditorUserId="1671" LastEditDate="2018-10-19T17:39:38.787" LastActivityDate="2018-10-19T17:39:38.787" Title="CMS Validation in SXA 1.7.1" Tags="|sxa|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14496" PostTypeId="1" AcceptedAnswerId="14551" CreationDate="2018-10-19T15:01:44.943" Score="4" ViewCount="1675" Body="&lt;h1&gt;The issue&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;When I use the &lt;strong&gt;Upload files (advanced)&lt;/strong&gt; feature of the Media Library to upload a zip file with images in it (Sitecore 8.1 Update 3) and check the box to &lt;strong&gt;Unpack ZIP archives&lt;/strong&gt;, uploading fails with the error:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;An error occured while uploading:&#xA;Exception has been thrown by the target of an invocation&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Np1ue.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Np1ue.png&quot; alt=&quot;image of error message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;What I've tried&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I checked the logs, but found no messages at the time that the error occurs (or that looked related).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried tracing the network requests, but everything responds with &lt;code&gt;200&lt;/code&gt;s and there are no error messages in the responses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I saw &lt;a href=&quot;https://www.sitecorenutsbolts.net/2015/09/15/Sitecore-8-Bug-Uploading-Images-in-Zip-Files/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article about handling the upload with SPE&lt;/a&gt;, but we don't currently have that installed (and we want content editors to be able to perform the functionality, too).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I saw &lt;a href=&quot;https://www.cmsbestpractices.com/bug-sitecore-media-library-issue-with-unpacking-zip-archives/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article with a promising-looking fix&lt;/a&gt;, but the change was already applied in my version of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried updating security to give Everyone Full Control to the entire Website directory (and descendants).&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2018-10-19T16:05:03.533" LastActivityDate="2018-10-24T12:52:06.223" Title="Uploading zip file to Media Library and enabling &quot;unpacking&quot; results in an error" Tags="|content-editor|media-library|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14498" PostTypeId="2" ParentId="14493" CreationDate="2018-10-19T16:05:34.867" Score="0" Body="&lt;p&gt;As Patrick Barron said, Sitecore installation framework is not installed properly. If you are not much comfortable with powershell, you can go for SIF-less tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.rockpapersitecore.com/2017/10/introducing-sif-less-for-easy-sitecore-9-installation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.rockpapersitecore.com/2017/10/introducing-sif-less-for-easy-sitecore-9-installation/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2018-10-19T16:05:34.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14499" PostTypeId="2" ParentId="5575" CreationDate="2018-10-19T18:06:57.250" Score="1" Body="&lt;p&gt;When you do a manual duplication of a form, Save Actions are copied as is.  If you had a Save Action that sent an email with token keys to the fields you asked them to enter, those tokens/guids are hard copied pointers to the previous field items as child items under your 'copied from' form and thus not valid in your new form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See more details here: &lt;a href=&quot;http://www.nonlinearcreations.com/Digital/how-we-think/articles/2015/05/Web-forms-for-marketers-form-duplication.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore WFFM Form Duplication&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I imagine there are other things affected that their internal pipeline missed in manual duplication.&lt;/p&gt;&#xA;" OwnerUserId="4474" LastActivityDate="2018-10-19T18:06:57.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14500" PostTypeId="2" ParentId="14481" CreationDate="2018-10-20T13:23:02.530" Score="2" Body="&lt;p&gt;I agree with Vlad on deleting the xdb shared data. But I would also restore a clean/fresh reporting database. Otherwise you have to rebuild the reporting DB to clean up the analytics reporting.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-10-20T13:23:02.530" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14501" PostTypeId="2" ParentId="14496" CreationDate="2018-10-20T14:45:28.267" Score="8" Body="&lt;p&gt;This is a problem with zip archives generated on Macs. Sitecore zipping mechanis doesn't work well with zip archives containing &lt;code&gt;__MACOSX&lt;/code&gt; folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a workaround you can unzip your archive on PC, remove &lt;code&gt;__MACOSX&lt;/code&gt; folder and zip your files again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to look for possible fix for the issue long time ago, but it would require changing multiple Sitecore classes. I don't have a list anymore, but from what I remember, the classes were:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;two &lt;code&gt;UploadProcessor&lt;/code&gt; classes: &lt;code&gt;Save&lt;/code&gt; and &lt;code&gt;CheckSize&lt;/code&gt;,&lt;/li&gt;&#xA;&lt;li&gt;replacing original &lt;code&gt;MediaUploader&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;EDIT: full list of classes which must be changed can be found in Dan's answer&lt;/h2&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-10-24T11:38:25.873" LastActivityDate="2018-10-24T11:38:25.873" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14503" PostTypeId="2" ParentId="14493" CreationDate="2018-10-21T16:23:29.957" Score="1" Body="&lt;p&gt;You need to perform the following steps to work with it correctly. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Enabling PowerShell Policy to allow to run commands&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-ExecutionPolicy -ExecutionPolicy RemoteSigned&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Add the Sitecore MyGet repository to PowerShell&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Install the Sitecore Install Framwork module and Sitecore Fundamentals module (provides additional functionality for local installations like creating self-signed certificates)&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module SitecoreInstallFramework&#xA;Install-Module SitecoreFundamentals&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Trusted reop PSGallery &amp;amp; SitecoreGallery&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-PSRepository -Name PSGallery -InstallationPolicy Trusted&#xA;Set-PSRepository -Name SitecoreGallery -InstallationPolicy Trusted&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Import the modules into your current PowerShell context (if not already done)&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module SitecoreFundamentals&#xA;Import-Module SitecoreInstallFramework&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can follow this blog for complete installation steps. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://isaadansari.wordpress.com/2018/05/01/sitecore-9-installation-download-install-validate-done/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://isaadansari.wordpress.com/2018/05/01/sitecore-9-installation-download-install-validate-done/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-10-21T16:23:29.957" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14504" PostTypeId="1" AcceptedAnswerId="14955" CreationDate="2018-10-21T20:01:56.403" Score="3" ViewCount="81" Body="&lt;p&gt;I'm setting up a bunch of site definitions for my project. I know I need to add them all to the publish:end and publish:end:remote events to clear caching. But when it comes to the entries in &lt;code&gt;&amp;lt;cacheSizes&amp;gt;&amp;lt;sites&amp;gt;&lt;/code&gt; these seem to be duplicates of entries in the site definition item. Are both needed for a site, or can what's in the site definition suffice?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-11-15T12:30:16.407" Title="CacheSizes node vs cache settings in site definition" Tags="|caching|site-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14505" PostTypeId="2" ParentId="12470" CreationDate="2018-10-21T22:36:37.203" Score="3" Body="&lt;p&gt;You can try to perform the following actions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check certificateThumbprint value(certificateThumbprint value of certificate which you've created before installation) in the &#xA;&lt;code&gt;App_Config\Include\Y.Commerce.Engine\Sitecore.Commerce.Engine.Connect.config&#xA;&amp;lt;certificateThumbprint&amp;gt;V A L U E&amp;lt;/certificateThumbprint&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it doesn't help, the possible approach to disable index rebuild temporarily and rebuild all indexes after Commerce is installed. To do it, you need to comment out this handler during the installation process:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;\App_Config\Sitecore\ContentSearch\Sitecore.ContentSearch.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;event name=&quot;packageinstall:items:ended&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.ContentSearch.Events.PackagingEventHandler, Sitecore.ContentSearch&quot; method=&quot;OnPackageInstallItemsEndHandler&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It executes index rebuild after each package is installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Guys, try this and let me know if it the issue for you&lt;/p&gt;&#xA;" OwnerUserId="998" LastEditorUserId="5387" LastEditDate="2019-08-09T11:20:52.863" LastActivityDate="2019-08-09T11:20:52.863" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14506" PostTypeId="2" ParentId="14340" CreationDate="2018-10-21T23:46:54.577" Score="1" Body="&lt;p&gt;We appear to have fixed by changing this line in the the DoSearch method of ResolveSitecoreItemStepProcessor.cs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return source.FirstOrDefault&amp;lt;ItemModel&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return source.LastOrDefault&amp;lt;ItemModel&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you see any issues with this, please shout out!&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2018-10-21T23:46:54.577" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14507" PostTypeId="1" CreationDate="2018-10-22T05:07:07.900" Score="2" ViewCount="40" Body="&lt;p&gt;Does anyone know the difference between recently dispatched and sent messages displayed in Email Campaign Manager(ECM) Messages?&lt;/p&gt;&#xA;" OwnerUserId="3950" LastEditorUserId="3950" LastEditDate="2018-10-22T10:39:40.423" LastActivityDate="2018-10-22T10:39:40.423" Title="Difference between recently dispatched and sent messages in ECM Messages" Tags="|ecm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14508" PostTypeId="1" CreationDate="2018-10-22T07:00:30.477" Score="2" ViewCount="2043" Body="&lt;p&gt;While publishing the content in sitecore, the following error occured.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Publish to 'web'|#Exception: System.Reflection.TargetInvocationException:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While checking on logs, i found the error with following language &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not parse the language 'ms-BD'. Note that a custom language name must be on the form: isoLanguageCode-isoRegionCode-customName.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But that language is not installed, and there are no language corresponding to that code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE #1: Add some more log details:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; ERROR Exception&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;Nested Exception&#xA;Exception: System.AggregateException&#xA;Message: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;Source: Sitecore.Kernel&#xA;at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args)&#xA;at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;at Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;at Sitecore.Data.Managers.PipelineBasedItemProvider.SaveItem(Item item)&#xA;at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent)&#xA;at Sitecore.Data.Items.EditContext.Dispose()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="2056" LastEditDate="2018-10-23T13:46:44.903" LastActivityDate="2018-10-23T13:56:37.213" Title="Getting &quot;Could not parse the language&quot; exception while publishing" Tags="|sitecore-client|multilingual|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14509" PostTypeId="1" AcceptedAnswerId="14518" CreationDate="2018-10-22T07:39:51.767" Score="2" ViewCount="393" Body="&lt;p&gt;I have replaced default ReleaseOrderBlock with CustomBlock inside IPendingOrdersMinionPipeline. I have tried debugging by stopping CommerceAuthoring_Sc9 in IIS and running Commerce engine on port 5000 using IISExpress in Visual studio.But debugger is not hitting to Custom block inside plugin. However i am able to debug other plugins.&lt;/p&gt;&#xA;" OwnerUserId="3581" LastActivityDate="2018-10-24T11:14:13.570" Title="How to debug custom minion block which is inside IPendingOrdersMinionPipeline?" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14510" PostTypeId="2" ParentId="14507" CreationDate="2018-10-22T08:18:15.833" Score="1" Body="&lt;p&gt;&quot;Recently dispatched&quot; shows any email campaigns where the state is &quot;Sent&quot; or &quot;Sending&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Sent messages&quot; only shows email campaigns where the state is &quot;Sent&quot;.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2018-10-22T08:59:23.600" LastActivityDate="2018-10-22T08:59:23.600" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14511" PostTypeId="1" AcceptedAnswerId="14512" CreationDate="2018-10-22T08:45:57.663" Score="2" ViewCount="748" Body="&lt;p&gt;I tried to use some of the &lt;code&gt;OOTB conditional rendering&lt;/code&gt; rules for personalization I had running in a &lt;code&gt;Sitecore 8&lt;/code&gt; instance, after upgrade/migrate to &lt;code&gt;Sitecore 9&lt;/code&gt; and ran into the fact that some of them no longer work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I first noticed this with the rule:&#xA;&lt;code&gt;where the referrer [operatorid,StringOperator,,compares to] [Referrer,,,specific value]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;which is defined in item:&#xA;&lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Visit/Referrer&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some reason, this rule is not working in Sitecore 9&lt;/p&gt;&#xA;" OwnerUserId="2540" LastEditorUserId="5387" LastEditDate="2019-06-21T12:42:57.540" LastActivityDate="2019-06-21T12:42:57.540" Title="Some Sitecore 8 conditions for conditional renderings seem missing in Sitecore 9" Tags="|personalization|rules-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14512" PostTypeId="2" ParentId="14511" CreationDate="2018-10-22T08:54:31.483" Score="4" Body="&lt;p&gt;[Answering my own question here]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some digging I found that this rule, which has as 'Type' definition:&#xA;Sitecore.ExperienceAnalytics.Aggregation.Rules.Conditions.ReferrerCondition,Sitecore.ExperienceAnalytics&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Actually is nowhere to be found in the Sitecore 9 Sitecore.ExperienceAnalytics assemblies.&#xA;So I decided to file a Sitecore support ticket.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The conversation I had was the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Hello Joost,&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The issue here is that &quot;The rules items were supposed to be removed&quot;. Starting from 9.0 Experience Analytics stopped using these rules and they were replaced by the new segmentation rules, So all the rule items and the related types were removed from Experience Analytics libraries but rule items under /sitecore/system/Settings/Rules/Definitions/Elements/Visit/* were not removed.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;This has been registered as a bug.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;To track the future status of this bug report, please use the reference number 198463. More information about public reference numbers can be found here:&#xA;  &lt;a href=&quot;https://kb.sitecore.net/articles/853187&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/853187&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The whole architecture was replaced with the new segmentation rules, So there are no rule items anymore (i.e., items inheriting from rule template defined in /sitecore/templates/System/Rules) instead we created our own rules using our own template which is /sitecore/templates/System/Experience Analytics/Segment. E.g., the rule ‘/sitecore/system/Settings/Rules/Definitions/Elements/Visit/Visit language’ was replaced by the segment ‘/sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions/Visits/By language/All visits by language’&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Please refer to the below link for creating a new segment and a custom filter which could help you if you are attempting to use those rules in Experience Analytics (e.g., creating a custom filter that filter customers with the age &gt; 20, Adding this filter to a custom segment which is a child to a dimension ‘/sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions/Visits/By language’ would result in having this segment showing customers with the age &gt; 20 by language.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/configuring/create_a_custom_report_filter_and_segment&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/configuring/create_a_custom_report_filter_and_segment&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Kind regards,&lt;/p&gt;&#xA;  &#xA;  &lt;hr&gt;&#xA;  &#xA;  &lt;p&gt;Hi ***,&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;thanks that explains that. But it doesn’t explain why all these rules are still available for personalization but don’t seem to work. What should we do to use them in personalization?&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;thnx&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Edited by *** on Monday, May 21, 2018 at 2:50 PM (UTC)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Hi Joost,&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Thank you for the update.&lt;/p&gt;&#xA;  &#xA;  &lt;blockquote&gt;&#xA;    &lt;p&gt;What should we do to use them in personalization?&#xA;     As far as the implementation of those conditions was removed from the code of the Sitecore 9 release and the corresponding condition items will be removed in the next releases, the way you should follow if you want to use the same conditions in personalization rule is to implement your own custom conditions:&lt;/p&gt;&#xA;  &lt;/blockquote&gt;&#xA;  &#xA;  &lt;p&gt;To create a custom rule (condition) for personalization and learn about rule engine you can refer to the following posts:&#xA;  &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/rules-engine-implementations-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/rules-engine-implementations-with-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Please do not hesitate to contact us in case you need any additional assistance regarding this issue.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So this means that actually to have these kind of rules, used by for example conditional renderings, we need to implement them ourselves.&#xA;It is quiet tricky as these item definitions still exist and show up in your conditions/rule book when creating personalization conditions, but they don't actually work in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far I see that a lot of items under: /sitecore/system/Settings/Rules/Definitions/Elements/Visit&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seem to be defined in the Sitecore.ExperienceAnalytics.Aggregation.Rules.Conditions namespace which no longer exist. There may be more, so if you want to be sure, or if you run into such rules no longer working, make sure to do a quick check on this item/type definition and whether or not it still exists to prevent you from breaking your head on what you are doing wrong in your code/setup.&lt;/p&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2018-10-22T08:54:31.483" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14513" PostTypeId="1" AcceptedAnswerId="14522" CreationDate="2018-10-22T10:17:01.260" Score="2" ViewCount="300" Body="&lt;p&gt;In the Sitecore link field, click on &lt;code&gt;Insert email&lt;/code&gt;, a dialog box opens (attached in the below images).&#xA;It has fields like &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Displayed Text&lt;/li&gt;&#xA;&lt;li&gt;Subject&lt;/li&gt;&#xA;&lt;li&gt;E-mail Address&lt;/li&gt;&#xA;&lt;li&gt;Style&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lUNvD.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lUNvD.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the above dialog box, I am trying to add one more field &lt;strong&gt;Body&lt;/strong&gt;, but it is not appearing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to make changes in the file &lt;code&gt;Website\sitecore\shell\Applications\Dialogs\MailLink\MailLink.xml&lt;/code&gt;&#xA;and customized &lt;code&gt;Sitecore.Shell.Applications.Dialogs.MailLink\MailLinkForm&lt;/code&gt;&#xA;class. But nothing happened.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone guide me that these are the right files I am making changes in or I need to do something else.&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="605" LastEditDate="2018-10-22T14:38:30.323" LastActivityDate="2018-10-22T14:38:30.323" Title="Insert Body field in Insert Email Link Dialog in Sitecore Link field" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14515" PostTypeId="1" CreationDate="2018-10-22T11:48:45.563" Score="6" ViewCount="850" Body="&lt;p&gt;I need to add additional checkbox under Forms Settings tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I customize it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PEY53.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PEY53.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1884" LastEditorUserId="73" LastEditDate="2018-10-23T11:04:17.933" LastActivityDate="2018-10-24T11:13:20.927" Title="Adding additional checkbox under Forms Settings tab" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14516" PostTypeId="2" ParentId="14515" CreationDate="2018-10-22T12:03:21.307" Score="5" Body="&lt;h2&gt;1. First step is to create new item under PageSettings for FormSettings in &lt;code&gt;core&lt;/code&gt; database.&lt;/h2&gt;&#xA;&lt;p&gt;You need to add it in &lt;code&gt;core&lt;/code&gt; database under &lt;code&gt;/sitecore/client/Applications/FormsBuilder/Components/Layouts/FormSettingsPropertyGrid/PageSettings/SettingsForm&lt;/code&gt; item:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UqBfj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UqBfj.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;It needs to be created based on &lt;code&gt;FormCheckBox Parameters&lt;/code&gt; template.&lt;/p&gt;&#xA;&lt;p&gt;Exact path to that template:&lt;/p&gt;&#xA;&lt;p&gt;/sitecore/client/Business Component Library/version 2/Layouts/Renderings/Forms/Form/Templates/FormCheckBox Parameters&lt;/p&gt;&#xA;&lt;p&gt;or you can find it based on its ID also:&lt;/p&gt;&#xA;&lt;p&gt;{AD75C314-F983-4C56-81D5-DC10D5CCF4EF}&lt;/p&gt;&#xA;&lt;p&gt;You need to also enable this new control in ControlDefinitions field in parent item that is based on FormSection template. This needs to be done in order to  render control under that form section:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0cLQY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0cLQY.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;There is already checkbox that you can use as starting point.&#xA;Make your checkbox based on this item:&lt;/p&gt;&#xA;&lt;p&gt;/sitecore/client/Applications/FormsBuilder/Components/Layouts/FormSettingsPropertyGrid/PageSettings/SettingsForm/Advanced/PerformanceTracking&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dAGfp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dAGfp.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;2. Second step is to add new field on Form template itself.&lt;/h2&gt;&#xA;&lt;p&gt;You can do this but altering item template under this path &lt;code&gt;/sitecore/templates/System/Forms/Form&lt;/code&gt; and adding your custom shared checkbox field:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/355R6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/355R6.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;You will refer to this field name in next step shortly.&lt;/p&gt;&#xA;&lt;p&gt;I would recommend creating your own Form template based on OOTB one located under the path - /sitecore/templates/System/Forms/Form and reference your newly created one but the reference is on so many places that it would be hard to do so.&lt;/p&gt;&#xA;&lt;h2&gt;3. Third step is to add your newly created setting in FormsViewModel.&lt;/h2&gt;&#xA;&lt;p&gt;For that you would need to create your own model class in your solution that will inherit Sitecore.ExperienceForms.Mvc.Models.FormViewModel class.&#xA;It is located in Sitecore.ExperienceForms.Mvc.dll.&lt;/p&gt;&#xA;&lt;p&gt;You need to add new property of type bool or string depending your requirements:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vurOA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vurOA.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Reference your field created in step 2 here as &lt;code&gt;Fields[&amp;quot;Your_Custom_field_name&amp;quot;]&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You also need to set your fields value in UpdateItem method:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/71MN3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/71MN3.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;and InitializeModel method to get current value of your custom parameter:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8ifDM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8ifDM.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;4. Forth step is to alter Model class that will be used by Sitecore Forms.&lt;/h2&gt;&#xA;&lt;p&gt;Instead of OOTB Sitecore.ExperienceForms.Mvc.Models.FormViewModel,Sitecore.ExperienceForms.Mvc class you need to change Model Type field in Form item in &lt;code&gt;master&lt;/code&gt; database in path &lt;code&gt;/sitecore/system/Settings/Forms/Field Types/Form&lt;/code&gt; to your custom class created in step 3.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yUPHa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yUPHa.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;5. Last step is to create your own FormRenderingContext and make Sitecore Forms use it instead of OOTB one.&lt;/h2&gt;&#xA;&lt;p&gt;You need to inherit from Sitecore.ExperienceForms.Mvc.FormRenderingContext class and add properties around your custom property.&lt;/p&gt;&#xA;&lt;p&gt;Create patch config file to change this serviceType to your custom class at the end.&lt;/p&gt;&#xA;&lt;p&gt;From:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;register serviceType=&amp;quot;Sitecore.ExperienceForms.Mvc.IFormRenderingContext,&#xA;Sitecore.ExperienceForms.Mvc&amp;quot; &#xA;implementationType=&amp;quot;Sitecore.ExperienceForms.Mvc.FormRenderingContext, &#xA;Sitecore.ExperienceForms.Mvc&amp;quot; lifetime=&amp;quot;Transient&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;To:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;register serviceType=&amp;quot;Sitecore.ExperienceForms.Mvc.IFormRenderingContext, &#xA;Sitecore.ExperienceForms.Mvc&amp;quot; implementationType=&amp;quot;YouCustomImplementationClass, &#xA;YourAssembly&amp;quot; lifetime=&amp;quot;Transient&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-10-24T11:13:20.927" CommentCount="16" ContentLicense="CC BY-SA 4.0" />
  <row Id="14517" PostTypeId="1" CreationDate="2018-10-22T12:04:40.040" Score="1" ViewCount="290" Body="&lt;p&gt;We are migrating Data from existing sharepoint to Sitecore 9.0.2 where we are using SXA 1.7.1 we got all the data like text &amp;amp; Images which need to be migrated but now we need to do below steps at rune time&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Create Partial designs at run time&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Create Page Designs at Run time&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Assign Page to Page design&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can some body help me with relevant Sitecore API's to do these activities at run time.&lt;/p&gt;&#xA;" OwnerUserId="1533" LastActivityDate="2018-10-23T21:29:56.190" Title="Sitecore Partial designs at run Time" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14518" PostTypeId="2" ParentId="14509" CreationDate="2018-10-22T12:35:05.403" Score="1" Body="&lt;p&gt;&lt;code&gt;CommerceMinions_Sc9&lt;/code&gt; is responsible for run and call all OrdersMinions like &lt;code&gt;ReleasedOrdersMinion&lt;/code&gt;, &lt;code&gt;WaitingForAvailabilityOrdersMinion&lt;/code&gt; and etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to check your changes in CommerceAuthoring role, you need to change Environment variable &lt;code&gt;MinionsHost&lt;/code&gt; in Postman to &lt;code&gt;{{Protocol}}://{{HostName}}:5000&lt;/code&gt; and execute &lt;code&gt;Run PendingOrders Minion&lt;/code&gt; request from Postman manually&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-10-22T12:35:05.403" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14519" PostTypeId="1" AcceptedAnswerId="14520" CreationDate="2018-10-22T12:41:08.790" Score="1" ViewCount="337" Body="&lt;p&gt;I had some custom code performing queries on a Sitecore index that worked perfectly on my local environment with Solr. But when deploying the code to Azure PAAS with Azure search they don't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The queries are rather simple and contain (amongst others, just listing the troubled predicates here):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;check a date field to be not older than 30 days&lt;/li&gt;&#xA;&lt;li&gt;check if the item is of a certain template (comparing the templateID)&lt;/li&gt;&#xA;&lt;li&gt;check if the item is a a certain base template (using the inheritance index field)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We are seeing several issues in the logs:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the inheritance field apparently cannot be used in a filter on Azure&lt;/li&gt;&#xA;&lt;li&gt;our queries get &quot;This_Is_Equal_ConstNode_Return_Nothing&quot; in the search part&lt;/li&gt;&#xA;&lt;li&gt;filter on ID is not working (seems that the ID is in uppercase, should be lowercase)&lt;/li&gt;&#xA;&lt;li&gt;filter on date is not working (&quot;Specified cast is not valid&quot; error)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I did/tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;patch the inheritance field to be filterable (this fixed that issue)&lt;/li&gt;&#xA;&lt;li&gt;verify if the same code works on the same Sitecore version (9.0.2) without SXA - it does..&lt;/li&gt;&#xA;&lt;li&gt;verify if changing my DateTime to DateTimeOffset would help - it doesn't&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any idea what's wrong?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-10-22T12:41:08.790" Title="Index queries not working with DateTime and ID on SXA and PAAS" Tags="|sxa|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14520" PostTypeId="2" ParentId="14519" CreationDate="2018-10-22T12:41:08.790" Score="2" Body="&lt;p&gt;After some research I found out that:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;to work with the &lt;strong&gt;inheritance&lt;/strong&gt; field in the index, I should indeed patch that on Azure as it is filterable in Solr but not in the Cloud&lt;/li&gt;&#xA;&lt;li&gt;the problems with &lt;strong&gt;ID&lt;/strong&gt;'s were indeed related to the cast: they get converted to uppercase guids instead of lowercase ones which does make a difference on Azure Search&lt;/li&gt;&#xA;&lt;li&gt;the problems with &lt;strong&gt;Dates&lt;/strong&gt; were also related to conversion issues...&lt;/li&gt;&#xA;&lt;li&gt;and the conversion issues are related to SXA (1.7.1)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The problem is located in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;indexFieldStorageValueFormatter patch:instead=&quot;*[@type='Sitecore.ContentSearch.Azure.Converters.CloudIndexFieldStorageValueFormatter, Sitecore.ContentSearch.Azure']&quot; type=&quot;Sitecore.XA.Foundation.Search.Providers.Azure.CloudIndexFieldStorageValueFormatter, Sitecore.XA.Foundation.Search.Providers.Azure&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in &lt;code&gt;Sitecore.XA.Foundation.Search.Azure.config&lt;/code&gt;. Apparently SXA is overriding some converting stuff - when I disabled their patch my queries starting working (and my search controls from SXA itself also still worked). So that was a temporary fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this information I contacted Sitecore Support and they managed to get me a patch that fixes the issues. So, if you encounter these issues with your queries in a SXA setup with Azure Search you can contact support and mention bug number 250035.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-10-22T12:41:08.790" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14521" PostTypeId="2" ParentId="14517" CreationDate="2018-10-22T13:30:27.367" Score="-1" Body="&lt;p&gt;Use &lt;a href=&quot;https://doc.sitecorepowershell.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt;. You can automate basically everything with it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look here: &lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/SXA/SXA - Scaffolding&lt;/code&gt;. You will find there SXA scaffolding scripts which you can use as a tutorial. Whole automation, upgrade scripts and context menu scripts in SXA are written in PowerShell.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-10-22T13:30:27.367" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14522" PostTypeId="2" ParentId="14513" CreationDate="2018-10-22T14:15:15.337" Score="4" Body="&lt;p&gt;The dialog which is appearing is the one from the SPEAK UI. In order to add your new text field, you will need to add a textbox to the presentation details of the dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note that, it will need to use &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=JakobChristensen.SitecoreRocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Rocks&lt;/a&gt; to update the UI for SPEAK because you will need to have access to the renderings.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to the Core database and then to the path &lt;code&gt;/sitecore/client/Applications/Dialogs/InsertEmailDialog&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right click on the InsertEmailDialog &gt; Tasks &gt; Design Layout, you can add the rendering for the TextBox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EVxJh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EVxJh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the textbox added, you can update the code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The JS is found at &lt;code&gt;/sitecore/shell/client/Applications/Dialogs/InsertEmailDialog.js&lt;/code&gt; and the backend code is at the namespace &lt;code&gt;Sitecore.Speak.Applications.InsertEmail, Sitecore.Speak.Applications&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2018-10-22T14:33:04.377" LastActivityDate="2018-10-22T14:33:04.377" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14524" PostTypeId="1" CreationDate="2018-10-22T14:28:40.480" Score="2" ViewCount="104" Body="&lt;p&gt;The SXA[ResolveRenderingDatasource] is not cached if you configure a site grouping node for a CD configuration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/u2uCe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u2uCe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="714" LastActivityDate="2018-10-22T14:33:53.047" Title="SXA[ResolveRenderingDatasource] is not cached on CD configuration" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14525" PostTypeId="2" ParentId="14524" CreationDate="2018-10-22T14:28:40.480" Score="2" Body="&lt;p&gt;If you use Sxa Site Grouping for CM and CD configuration; please enable &quot;Enable Preview&quot; for the CD configuration. Otherwise, the cache doesn't work for SXA[ResolveRenderingDatasource]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;This is an SXA 1.7.1 bug&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VdPQO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VdPQO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="714" LastEditorUserId="714" LastEditDate="2018-10-22T14:33:53.047" LastActivityDate="2018-10-22T14:33:53.047" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14526" PostTypeId="2" ParentId="14509" CreationDate="2018-10-22T15:51:42.723" Score="0" Body="&lt;p&gt;Check these three things :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) You have added your block to the pipeline correctly using the &lt;code&gt;ConfigureSitecore&lt;/code&gt; class (I sometimes think its correct but miss something small)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Make sure you are referencing your new plugin assembly from the Sitecore.Commerce.Engine project&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Look at the latest &lt;code&gt;NodeConfigurationXXXXX.log&lt;/code&gt; and ensure that your block is registered in the correct pipeline. You could also use the &lt;code&gt;{{ServiceHost}}/{{OpsApi}}/GetPipelines()&lt;/code&gt; call in postman.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also ensure the minions are actually running by executing the correct postman call e.g. &lt;code&gt;{{MinionsHost}}/{{OpsApi}}/RunMinion()&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4380" LastEditorUserId="1282" LastEditDate="2018-10-24T11:14:13.570" LastActivityDate="2018-10-24T11:14:13.570" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14528" PostTypeId="1" CreationDate="2018-10-22T21:33:07.090" Score="2" ViewCount="389" Body="&lt;p&gt;If using sitecore JSS App with Headless SSR via sitecore-jss-proxy, can the Node.js app be hosted on AWS server?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note did mention below, but not clear about AWS. I understand Sitecore install have some complication on AWS, so we will be using Azure for that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question is only for Node.js app with headless proxy.&lt;/p&gt;&#xA;" OwnerUserId="4480" LastEditorUserId="73" LastEditDate="2018-10-22T21:57:00.833" LastActivityDate="2018-10-22T23:43:33.667" Title="Sitecore JSS with headless mode can be hosted in AWS" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14529" PostTypeId="2" ParentId="14528" CreationDate="2018-10-22T23:37:45.027" Score="3" Body="&lt;p&gt;Put simply yes. The Node.JS / jss-proxy app can run anywhere really, but can most definitely run in AWS, Azure, a2 Hosting, anywhere where you can host JavaSciprt. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For fast interactions with Sitecore between AWS and Azure, you will need to set up a VPN Gateway from Azure to AWS (like a Site-to-Site IPSEC tunnel) for the proxy just to make sure that the Node.JS app can talk to Sitecore through a dedicated route and not rely on just public interfaces when in Connected mode. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, and for some background, there are no issues associated with running Sitecore in Amazon's AWS EC2 IaaS offerings. And JSS can run so long as you are using the Subscription licensing model from Sitecore, which is the model that Sitecore is encouraging everyone to utilize.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-10-22T23:43:33.667" LastActivityDate="2018-10-22T23:43:33.667" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14530" PostTypeId="2" ParentId="14528" CreationDate="2018-10-22T23:39:00.380" Score="1" Body="&lt;p&gt;The node server can certainly be hosted in AWS, but you will have a gigantic delay as the node server makes API calls to the Sitecore server that is still in Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a side note, there are no major issues running Sitecore in AWS as long as you run the farm in IaaS. I have built entire farms in AWS before. But if you want PaaS, Azure is the only supported mode. Also you do not need PaaS for JSS. Only the proper license.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-10-22T23:39:00.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14532" PostTypeId="1" AcceptedAnswerId="14533" CreationDate="2018-10-23T07:50:55.453" Score="0" ViewCount="197" Body="&lt;p&gt;In the Experience Analytics, there is the &lt;code&gt;Device&lt;/code&gt; section under the &lt;code&gt;Audience&lt;/code&gt; tab which shows reports like - &lt;em&gt;Top device types by visit&lt;/em&gt;, &lt;em&gt;Top device types by bounces&lt;/em&gt; etc. They never showed any data. Are there any config settings to make to get these graphs to show up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 update 5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2018-10-23T07:59:56.373" Title="No data displayed for Device type analytics" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14533" PostTypeId="2" ParentId="14532" CreationDate="2018-10-23T07:53:24.430" Score="2" Body="&lt;p&gt;You need to setup (and subscribe to) &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/developing/device_detection/device_detection/set_up_device_detection&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Device Detection&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;You must have Sitecore 8.1 or later installed. From Sitecore XP 9.0 and onwards, the Device Detection functionality is available by default without needing to purchase an additional subscription.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;To optimize access to the Device database in a scaled environment, it is best practice to store the database in a location where all of your Sitecore instances can access it. You can do this by setting the common path for each Sitecore server as shown:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;DeviceDetection.DatabasePath&quot; value=&quot;/App_Data/DeviceDetection&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If you are running Sitecore Experience Platform 8.0, you must upgrade to the latest version to use Device Detection. The device functionality is upgraded automatically.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-10-23T07:59:56.373" LastActivityDate="2018-10-23T07:59:56.373" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14534" PostTypeId="1" AcceptedAnswerId="14536" CreationDate="2018-10-23T08:57:42.560" Score="3" ViewCount="1082" Body="&lt;p&gt;We have Sitecore 8.2.0 instance with EXM 3.4 on it and during one of campaigns we have experienced strange behavior. The message was sent to more than 41K recepients, however 2 of them were not and that caused the campaign to stop and it currently is on &quot;Pause&quot; mode and still appears &quot;in progress&quot; section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error message is next:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MessageTaskRunner worker thread 408 10:34:06 ERROR Failed to send '[NAME]' to 'xdb:dbf29ac0-f193-413b-bcf5-b7819f00xxxx'.&#xA;MessageTaskRunner worker thread 407 10:34:06 ERROR Message sending error: System.AggregateException: One or more errors occurred. ---&amp;gt; Sitecore.EDS.Core.Exceptions.InvalidMessageException: Failed to send the email message due to incorrect data.&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatTransportClient.SendAsync(Email message)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;RetryOnFault&amp;gt;d__10.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;SendTaskAsync&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;SendEmailAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchProviderBase.&amp;lt;SendAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;SendAsync&amp;gt;d__6.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.SendEmail.Process(SendMessageArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Modules.EmailCampaign.Core.PipelineHelper.RunPipeline(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Modules.EmailCampaign.Core.Dispatch.DispatchTask.OnSendToNextRecipient()&#xA;---&amp;gt; (Inner Exception #0) Sitecore.EDS.Core.Exceptions.InvalidMessageException: Failed to send the email message due to incorrect data.&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatTransportClient.SendAsync(Email message)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;RetryOnFault&amp;gt;d__10.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;SendTaskAsync&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;SendEmailAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchProviderBase.&amp;lt;SendAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;SendAsync&amp;gt;d__6.MoveNext()&amp;lt;---&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have looked into decompiled code of &lt;code&gt;Sitecore.Modules.EmailCampaign.Core.Dispatch.DispatchTask&lt;/code&gt; class and can see that &lt;code&gt;System.AggregateException&lt;/code&gt; with inner &lt;code&gt;InvalidMessageException&lt;/code&gt; should not cause the message to be put on pause, however it does. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what I want to ask is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How can I ignore that and make the mail campaign to be in &lt;code&gt;Sent&lt;/code&gt;&#xA;state so we can see stats on it?&lt;/li&gt;&#xA;&lt;li&gt;Is there any way to figure out what was the incorrect data and how come these two recepients cause it to stop? &lt;/li&gt;&#xA;&lt;li&gt;I have tried to implement my own dispatch task which would handle the Pause state differently, however there is to many references to internal classes and methods which makes it very hard to implement.&lt;/li&gt;&#xA;&lt;li&gt;I have also tried to remove those two recepients from the list for send-out, and from the mail engagement plan, however they are not getting removed from the send-out and when clicking &quot;Resume&quot;, EXM attemts to send to those two again and faisl again.&lt;/li&gt;&#xA;&lt;li&gt;Any suggestions on what I can try on that one?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="915" LastEditorUserId="2056" LastEditDate="2018-10-23T11:27:32.793" LastActivityDate="2018-10-23T11:27:32.793" Title="Email campaign paused when dispatch to recipients failed" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14535" PostTypeId="1" AcceptedAnswerId="14586" CreationDate="2018-10-23T09:00:56.320" Score="1" ViewCount="484" Body="&lt;p&gt;Is it possible to have two Coveo Search Results Lists in one page? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to display two kinds of results, one for the filtered results list and one for the rest of the results (not retrieved by the first query). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already have the rest of the results in JS, I just need to pass this results list to something that can render the results using the same results template but in another location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 and Coveo For Sitecore 4.1&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="490" LastEditDate="2018-10-23T10:40:03.000" LastActivityDate="2018-10-25T13:44:07.013" Title="Initializing two Coveo Search Results Lists in one page" Tags="|coveo|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14536" PostTypeId="2" ParentId="14534" CreationDate="2018-10-23T09:18:33.370" Score="3" Body="&lt;p&gt;This is expected behaviour. See &lt;a href=&quot;https://sitecore.stackexchange.com/a/14294/121&quot;&gt;exm error pauses the sending of letters&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In 3.4, and earlier versions, the campaign is set to paused state by design if dispatch fails to some recipients. I believe the thinking was that this would allow the person doing the dispatch to fix/clean up the bad recipients and then resume the dispatch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They might fail for any number of reasons e.g. an invalid email address. You should be able to see the exact reason in the EDS log file.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;How can I ignore that and make the mail campaign to be in Sent state&#xA;  so we can see stats on it?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You should be able to see stats, even if it's not in Sent state. If not, you can try forcing it in Sent state by editing the corresponding item in the content editor.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Is there any way to figure out what was the incorrect data and how&#xA;  come these two recepients cause it to stop?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;See the EDS log file, and if that doesn't help, try enable debug logging.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I have tried to implement my own dispatch task which would handle the&#xA;  Pause state differently, however there is to many references to&#xA;  internal classes and methods which makes it very hard to implement.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You should not try to change this behaviour. It's by design. In 3.5+ this has been changed and will move the email campaign into sent state even if some recipients fail.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I have also tried to remove those two recepients from the list for&#xA;  send-out, and from the mail engagement plan, however they are not&#xA;  getting removed from the send-out and when clicking &quot;Resume&quot;, EXM&#xA;  attemts to send to those two again and faisl again.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You need to remove them from the DispatchQueue table in the exm.master database. Look for the message id.&lt;/p&gt;&#xA;" OwnerUserId="121" LastActivityDate="2018-10-23T09:18:33.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14537" PostTypeId="1" AcceptedAnswerId="14584" CreationDate="2018-10-23T11:57:12.343" Score="6" ViewCount="318" Body="&lt;p&gt;A query built using the Sitecore Azure Content Search Provider doesn't produce the query that I was expecting. The result is that far too many results are returned. The purpose of the code is to find specific items in the index, not to search for matches based on a search term.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code was initially built for Solr, and I'm sure it worked back then.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the issue is that Sitecore is using the search option rather than $filter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code I've used to create the predicate is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var predicate = PredicateBuilder.False&amp;lt;RelatedQualificationSearchResultItem&amp;gt;();&#xA;&#xA;foreach (var codeParentPos in codeParentPosPairs)&#xA;{&#xA;    var innerPredicate = PredicateBuilder.True&amp;lt;RelatedQualificationSearchResultItem&amp;gt;();&#xA;&#xA;    innerPredicate = innerPredicate.And(i =&amp;gt; i.ParentPos == codeParentPos.ParentPos);&#xA;&#xA;    if (!string.IsNullOrEmpty(codeParentPos.Code))&#xA;    {&#xA;        innerPredicate = innerPredicate.And(i =&amp;gt; i.QmdCode == codeParentPos.Code);&#xA;    }&#xA;&#xA;    predicate = predicate.Or(innerPredicate);&#xA;}&#xA;&#xA;return predicate;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is an example generated query (reduced to two inner predicates):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;search=(ParentPos:(1234\-56) AND QmdCode:(111/2222/3)) OR (ParentPos:(4321\-56) AND QmdCode:(333/2222/1))&amp;amp;queryType=full&amp;amp;$count=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This returns over &lt;em&gt;250&lt;/em&gt; results from the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead I want it to use a query like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;$filter=(ParentPos eq '1234-56' and QmdCode eq '111/2222/3') or (ParentPos eq '4321-56' and QmdCode eq '333/2222/1')&amp;amp;queryType=full&amp;amp;$count=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This returns &lt;em&gt;2&lt;/em&gt; results which in my opinion is what would be expected from the code written.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything I can do to make this behave as I'd expect? I don't want to have to resort to ditching the Sitecore provider again.&lt;/p&gt;&#xA;" OwnerUserId="350" LastEditorUserId="2056" LastEditDate="2018-10-23T12:24:12.830" LastActivityDate="2018-11-24T09:00:40.083" Title="How to force Sitecore to use &amp;$filter not &amp;search in Azure Content Search Provider" Tags="|azure|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14538" PostTypeId="2" ParentId="13965" CreationDate="2018-10-23T12:21:51.503" Score="2" Body="&lt;p&gt;Turns out that my other answer merely fixed half of my problems and was inconsistent.&lt;br&gt;&#xA;So I had to create a Sitecore support ticket.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some investigation, they pointed me to a hotfix of a known Sitecore problem: &lt;strong&gt;Deadlock causes site unresponsiveness on application start&lt;/strong&gt;.&lt;br&gt;&#xA;If you are having similar problems, use Reference Number 209972 in a support ticket.&lt;br&gt;&#xA;And download the hotfix from the &lt;a href=&quot;https://kb.sitecore.net/articles/910936&quot; rel=&quot;nofollow noreferrer&quot;&gt;Knowledge Base article&lt;/a&gt; to test if it fixes your problems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently this can occur since version Sitecore 9.0 Initial release.  &lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2018-10-23T12:21:51.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14539" PostTypeId="1" AcceptedAnswerId="14602" CreationDate="2018-10-23T13:17:35.513" Score="0" ViewCount="802" Body="&lt;p&gt;Sitecore verison - 9.0.2&#xA;Glass version - 5.0.6.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are trying to use Glass @RenderLink to render a pdf media item, it's generating anchor tag with below path&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/media-library/site-content/xxx/your-account/xxx/xxx/pdfFileName&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Which is going to page not found as expected. I believe it should render as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/~/media/site-content/xxx/your-account/xxx/xxx/pdfFileName.ashx&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Looks like Glass issue, am I right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an alternative way to render pdf link, our cshtml is a Glass View rendering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Code Example view.cshtml:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@inherits Glass.Mapper.Sc.Web.Mvc.GlassView&amp;lt;xxx.Data.GlassModel.sitecore.templates.xx.Journeys.Components.Ixxx&amp;gt;&#xA;&#xA;@Editable(x=&amp;gt;x.Heading)&#xA;@RenderLink(x=&amp;gt;x.LinkName)&#xA;@Editable(x=&amp;gt;x.Description)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Glass model is generated by TDS and the Link field in the model as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(Ixxxx.LinkNameFieldName)]&#xA;Link LinkName{get; set;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2018-10-23T13:40:54.283" LastActivityDate="2018-10-26T08:52:59.153" Title="Glass RenderLink not rendering right media url" Tags="|glass-mapper|link-manager|renderfield|razor|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14540" PostTypeId="1" AcceptedAnswerId="14546" CreationDate="2018-10-23T13:19:33.413" Score="1" ViewCount="442" Body="&lt;p&gt;Are there in any difference in personalization usage when using JSS SSR headless mode vs jss api only mode (with layout services where can use personalization).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are in process of getting jss license and trying to evaluate different options.&#xA;SSR headless mode and api only, both are using layout services to get personalized layout. Is there any benefit in ssr mode, only in terms of using personalization and analytics.&lt;/p&gt;&#xA;" OwnerUserId="4481" LastActivityDate="2018-10-23T15:30:48.173" Title="JSS SSR headless mode vs api only for personalization" Tags="|personalization|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14541" PostTypeId="2" ParentId="14535" CreationDate="2018-10-23T13:39:29.243" Score="1" Body="&lt;p&gt;A Coveo Result List component binds to events triggered by its parent Coveo Search Interface component. When there is more than one Coveo Result List component in a Coveo Search Interface, all of them are displaying the same search results. There is no way to pass specific search results to a Coveo Results List component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way to achieve your goal is by having 2 distinct Coveo Search Interface components. Each of them will have their own Coveo Result List component. Each of them will have their own query filters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To share a single result template for both Coveo Result List components, you can extract the result template &lt;code&gt;script&lt;/code&gt; element outside of the 2 search interfaces and give it a unique id:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script id=&quot;MyTemplate&quot; type=&quot;text/underscore&quot; class=&quot;result-template&quot;&amp;gt;&#xA;  Your result template here&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, in each Coveo Result List component, you insert a very small result template that load the global one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/underscore&quot; class=&quot;result-template&quot;&amp;gt;&#xA;  &amp;lt;%= loadTemplate('MyTemplate') %&amp;gt;&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="171" LastActivityDate="2018-10-23T13:39:29.243" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14542" PostTypeId="2" ParentId="14508" CreationDate="2018-10-23T13:42:39.623" Score="4" Body="&lt;p&gt;Looks like you are trying to use culture 'ms-BD' that is not present in .NET by default.&#xA;Check that you definitely need 'ms-BD' and it is not mistake or misprint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check cultures registered in system by running this C# console app:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class Program&#xA;{&#xA;    static void Main(string[] args)&#xA;    {&#xA;        CultureInfo[] cinfo = CultureInfo.GetCultures(CultureTypes.AllCultures &amp;amp; ~CultureTypes.NeutralCultures);&#xA;        Console.WriteLine(&quot;List of cultures registered in system&quot;);&#xA;        foreach (CultureInfo cul in cinfo)&#xA;        {&#xA;            Console.WriteLine(cul.DisplayName + &quot;  &quot; + cul.Name);&#xA;        }&#xA;        Console.ReadLine();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get next cultures:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Malay  ms &lt;/li&gt;&#xA;&lt;li&gt;Malay (Brunei Darussalam) ms-BN &lt;/li&gt;&#xA;&lt;li&gt;Malay (Malaysia)  ms-MY&lt;/li&gt;&#xA;&lt;li&gt;Malay (Latin, Singapore)  ms-SG&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But you are trying to use 'ms-BD'.  Malay (Bangladesh)?&#xA;If it is not misprint/mistake and you are intended to use 'ms-BD' then you need to &lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/api/system.globalization.cultureandregioninfobuilder.-ctor?redirectedfrom=MSDN&amp;amp;view=netframework-4.7.2#System_Globalization_CultureAndRegionInfoBuilder__ctor_System_String_System_Globalization_CultureAndRegionModifiers_&quot; rel=&quot;nofollow noreferrer&quot;&gt;register your custom culture&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class Program&#xA;{&#xA;    static void Main(string[] args)&#xA;    {&#xA;        string culture = &quot;ms-BD&quot;;&#xA;        string name = &quot;Malay Bangladesh&quot;;&#xA;&#xA;        CultureInfo cultureInfo = new CultureInfo(&quot;ms&quot;);&#xA;        RegionInfo regionInfo = new RegionInfo(&quot;BD&quot;);&#xA;&#xA;        CultureAndRegionInfoBuilder cultureAndRegionInfoBuilder = new CultureAndRegionInfoBuilder(culture, CultureAndRegionModifiers.None);&#xA;&#xA;        cultureAndRegionInfoBuilder.LoadDataFromCultureInfo(cultureInfo);&#xA;        cultureAndRegionInfoBuilder.LoadDataFromRegionInfo(regionInfo);&#xA;&#xA;        // Custom Changes&#xA;        cultureAndRegionInfoBuilder.CultureEnglishName = name;&#xA;        cultureAndRegionInfoBuilder.CultureNativeName = name;&#xA;&#xA;        cultureAndRegionInfoBuilder.Register();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After running this console application on machine where exception was occurred you will get new custom culture that should fix exception.&lt;/p&gt;&#xA;" OwnerUserId="666" LastEditorUserId="666" LastEditDate="2018-10-23T13:56:37.213" LastActivityDate="2018-10-23T13:56:37.213" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14544" PostTypeId="2" ParentId="14535" CreationDate="2018-10-23T14:33:44.137" Score="3" Body="&lt;p&gt;In Coveo for Sitecore 4.1, there is a Coveo for Sitecore Hive component fronted exactly for this purpose, &lt;code&gt;Coveo Related Query&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It allows you to execute a second query that is related (or not) to another Search Interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The component works just like a standard Search Interface, so you need to add a &lt;code&gt;Result List&lt;/code&gt; in it as well as result templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some options allow you to customize the experience:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Main Search Interface&lt;/strong&gt;: Allows you to bind the Related Query to an existing Search Interface. This will ensure the state is shared between the two interfaces.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Use the search interface current filters&lt;/strong&gt;: When clicking on a facet, the facet's filter will also be propagated to the Related Query.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Use the search interface current query&lt;/strong&gt;: When entering a keyword in the search box, the keywords will also be propagated to the Related Query.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Mixing those attributes together, you can most probably achieve the required result here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance, you could have a &quot;Related Articles&quot; widget that only inherits the keywords but not the filters, since you don't want facets like &quot;Product Type&quot; to affect your &quot;Related Articles&quot; widget. You would need to add a &lt;code&gt;Query Filter&lt;/code&gt; component to only show articles in the Related Query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what it looks like in action:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pk5R6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pk5R6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2018-10-23T14:33:44.137" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14545" PostTypeId="1" CreationDate="2018-10-23T15:29:59.973" Score="0" ViewCount="67" Body="&lt;p&gt;In the Sitecore Habitat implementation, I am looking for a role that is allowed to create/rename and delete items. I see the role &lt;code&gt;habitat\Project Habitat Content Author&lt;/code&gt;, that is only allowed to read and write.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MWjEQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MWjEQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the rest, I only see feature roles, that can only edit fields. So, which role is supposed to create/rename and delete items in the content tree?&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="2727" LastEditDate="2018-10-27T17:44:14.543" LastActivityDate="2019-04-25T21:00:55.133" Title="Page Creation role in Sitecore Habitat" Tags="|security|habitat|role-management|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14546" PostTypeId="2" ParentId="14540" CreationDate="2018-10-23T15:30:48.173" Score="2" Body="&lt;p&gt;Headless SSR mode has the same functionality as headless client-side rendering, but using it results in:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Improved client-side startup times (no DOM manipulation at page load time)&lt;/li&gt;&#xA;&lt;li&gt;SEO (crawler JS execution is quite buggy at best)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://medium.com/walmartlabs/the-benefits-of-server-side-rendering-over-client-side-rendering-5d07ff2cefe8&quot; rel=&quot;nofollow noreferrer&quot;&gt;This article&lt;/a&gt; goes into a lot of depth about SSR and the performance impacts thereof.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-10-23T15:30:48.173" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14547" PostTypeId="1" AcceptedAnswerId="16352" CreationDate="2018-10-23T15:44:20.730" Score="7" ViewCount="730" Body="&lt;p&gt;I've installed Solr &amp;amp; Sitecore 9 using the following tutorials/scripts and now my CPU usage is at 100 percent, stemming mostly from Java and XConnectSearchIndexer as per the screenshot. Has anybody got any information on what might be the issue here? A colleague of mine also followed the same installation procedure and is facing the same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tutorials/Scripts used:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://medium.com/redhotminute-australia/setting-up-solr-with-ssl-for-sitecore-9-acdf009edd93&quot; rel=&quot;noreferrer&quot;&gt;https://medium.com/redhotminute-australia/setting-up-solr-with-ssl-for-sitecore-9-acdf009edd93&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/installing-sitecore-9-installing-the-platform&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/installing-sitecore-9-installing-the-platform&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qcxuO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qcxuO.png&quot; alt=&quot;Image of my Task Manager&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Jack&lt;/p&gt;&#xA;" OwnerUserId="4487" LastActivityDate="2019-01-30T21:50:52.077" Title="Sitecore 9 Installation, CPU now at 100% usage" Tags="|configuration|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="14548" PostTypeId="1" CreationDate="2018-10-23T18:16:15.203" Score="1" ViewCount="135" Body="&lt;p&gt;In Sitecore 8.2 Update 3, when I try and rebuild an index from inside the content editor (From the Developer ribbon) when the dialog opens that should be a progress bar showing the rebuilding progress, instead I get a little desktop:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AbtHc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AbtHc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I dont see an error in the logs but I do see in the logs that the index rebuild is happening. If I close the dialog, I get the index rebuilt successfully confirmation dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I make the rebuild request, there are two outgoing requests. The second one is checking progress. The first one is maybe opening the dialog?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://local.mywebsite.com/sitecore/shell/default.aspx?xmlcontrol=Gallery.Indexes&amp;amp;id=%7B110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9%7D&amp;amp;la=en&amp;amp;vs=1&amp;amp;db=master&amp;amp;sc_content=master&amp;amp;ShowEditor=1&amp;amp;Ribbon.RenderTabs=true&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://local.mywebsite.com/sitecore/shell/default.aspx?xmlcontrol=Gallery.Indexes&amp;amp;id=%7B110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9%7D&amp;amp;la=en&amp;amp;vs=1&amp;amp;db=master&amp;amp;sc_content=master&amp;amp;ShowEditor=1&amp;amp;Ribbon.RenderTabs=true&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this one check the progress&lt;br&gt;&#xA; &lt;a href=&quot;https://local.mywensite.com/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Dialogs.Progress.aspx?j=69195195-7797-40c5-be86-953b862b53d1%3bPHLWLTPC0J7N3W-local.aramark.us&amp;amp;th=5&amp;amp;title=Rebuilding%2bindex%2b(frontendsearch_UnitedStates_web_index)&amp;amp;i=People%252f16x16%252fhammer.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://local.mywensite.com/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Dialogs.Progress.aspx?j=69195195-7797-40c5-be86-953b862b53d1%3bPHLWLTPC0J7N3W-local.aramark.us&amp;amp;th=5&amp;amp;title=Rebuilding%2bindex%2b(frontendsearch_UnitedStates_web_index)&amp;amp;i=People%252f16x16%252fhammer.png&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="341" LastEditDate="2018-10-23T18:42:52.650" LastActivityDate="2018-10-23T19:10:33.503" Title="Rebuild Index progress dialog shows Sitecore Desktop" Tags="|indexing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14549" PostTypeId="2" ParentId="14548" CreationDate="2018-10-23T19:10:33.503" Score="1" Body="&lt;p&gt;OK. Found the problem. During a scan of the site I found a bunch of links like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://local.mywebsite.com/other/contact-us/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/link.aspx?_id=B727B5BE173F4423924C17C19278C0E0&amp;amp;_z=z&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://local.mywebsite.com/other/contact-us/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/~/link.aspx?_id=B727B5BE173F4423924C17C19278C0E0&amp;amp;_z=z&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I built a redirect rule to strip those out:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;rule name=&quot;Expanded Links&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;.+?(?=~\/)&quot; ignoreCase=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;action type=&quot;Redirect&quot; redirectType=&quot;Permanent&quot; logRewrittenUrl=&quot;true&quot; url=&quot;{R:0}&quot; appendQueryString=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That rules breaks the dialog&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2018-10-23T19:10:33.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14551" PostTypeId="2" ParentId="14496" CreationDate="2018-10-23T21:00:23.233" Score="2" Body="&lt;h1&gt;Warning&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Don't do this unless you have a &lt;em&gt;really&lt;/em&gt; good reason to do so. &lt;a href=&quot;https://sitecore.stackexchange.com/a/14501/342&quot;&gt;Marek's answer&lt;/a&gt; is better practice. The method I've outlined below works, but--as you'll see--requires decompiling a lot of internal Sitecore code. This will mean, at the very least, a lot of testing when upgrading Sitecore in the future and, at the worst, significant rewriting.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;You've been warned&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;So here's how you do it! The underlying problem is that the &lt;code&gt;Sitecore.Zip&lt;/code&gt; library doesn't handle the property files that are in the &lt;code&gt;__MACOSX&lt;/code&gt; folder of zip files generated on Macs. Luckily, if you're using .NET Framework 4.5 or newer, you can use Microsoft's &lt;code&gt;System.IO.Compression&lt;/code&gt; library for handling the files and everything works fine. Everything below is to replace Sitecore's implementation with Microsoft's.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;First, you need to decompile three pipelines:&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;Sitecore.Pipelines.Upload.CheckExtension&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This iterates the contents of the zip file and looks for any restricted file extensions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note: this one is only necessary if you've added &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/secure_the_file_upload_functionality#_The_upload_filter&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's Upload Filter&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.IO;&#xA;using System.IO.Compression;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Pipelines.Upload;&#xA;&#xA;namespace Custom.Processors.UiUpload&#xA;{&#xA;    /// -------------------------------------------------------------------------&#xA;    /// NOTE: THIS CLASS IS DECOMPILED FROM Sitecore.Pipelines.Upload.CheckExtension.&#xA;    ///     THE ONLY SUBSTANTIVE CHANGE IS TO USE System.IO.Compression INSTEAD &#xA;    ///     OF Sitecore.Zip FOR THE ZIP FILE HANDLING.&#xA;    /// -------------------------------------------------------------------------&#xA;    public class CustomCheckExtension : UploadProcessor&#xA;    {&#xA;        private bool _isAllowed;&#xA;&#xA;        private string _extensions;&#xA;&#xA;        public CustomCheckExtension(string allowed, string blocked)&#xA;        {&#xA;            if (!string.IsNullOrEmpty(allowed))&#xA;            {&#xA;                this._isAllowed = true;&#xA;                this._extensions = allowed.Replace(&quot; &quot;, &quot;&quot;).ToLower();&#xA;                return;&#xA;            }&#xA;            if (!string.IsNullOrEmpty(blocked))&#xA;            {&#xA;                this._isAllowed = false;&#xA;                this._extensions = blocked.Replace(&quot; &quot;, &quot;&quot;).ToLower();&#xA;            }&#xA;        }&#xA;&#xA;        private List&amp;lt;string&amp;gt; PrepareExtensions(string csvExtensions)&#xA;        {&#xA;            string[] strArrays = csvExtensions.Split(',');&#xA;            List&amp;lt;string&amp;gt; strs = new List&amp;lt;string&amp;gt;();&#xA;            string[] strArrays1 = strArrays;&#xA;            for (int i = 0; i &amp;lt; strArrays1.Length; i++)&#xA;            {&#xA;                strs.Add(strArrays1[i]);&#xA;            }&#xA;            return strs;&#xA;        }&#xA;&#xA;        public void Process(UploadArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, nameof(args));&#xA;            if (string.IsNullOrEmpty(this._extensions))&#xA;            {&#xA;                return;&#xA;            }&#xA;            List&amp;lt;string&amp;gt; strs = this.PrepareExtensions(this._extensions);&#xA;            foreach (string file in args.Files)&#xA;            {&#xA;                HttpPostedFile item = args.Files[file];&#xA;                if (string.IsNullOrEmpty(item?.FileName))&#xA;                {&#xA;                    continue;&#xA;                }&#xA;                if (IsUnpack(args, item))&#xA;                {&#xA;                    try&#xA;                    {&#xA;                        var archive = new ZipArchive(item.InputStream, ZipArchiveMode.Read);&#xA;                        foreach (ZipArchiveEntry entry in archive.Entries.Where(e =&amp;gt; !e.FullName.ToUpperInvariant().Contains(&quot;__MACOSX&quot;)))&#xA;                        {&#xA;                            string str = Path.GetExtension(entry.Name.ToLower()).TrimStart('.');&#xA;                            bool flag = strs.Contains(str);&#xA;                            if (this._isAllowed &amp;amp;&amp;amp; flag || (this._isAllowed || !flag) &amp;amp;&amp;amp; (!this._isAllowed || flag))&#xA;                            {&#xA;                                continue;&#xA;                            }&#xA;                            HttpContext.Current.Response.Write(string.Concat(&quot;&amp;lt;script type=\&quot;text/JavaScript\&quot;&amp;gt;alert(\&quot;Uploading files with .&quot;, str, &quot; extension is restricted\&quot;);&amp;lt;/script&amp;gt;&quot;));&#xA;                            Log.Audit($&quot;Upload restricted: {entry.Name}&quot;, this);&#xA;                            new Done().Process(args);&#xA;                            args.AbortPipeline();&#xA;                            return;&#xA;                        }&#xA;                    }&#xA;                    finally&#xA;                    {&#xA;                        item.InputStream.Position = 0;&#xA;                    }&#xA;                }&#xA;                string str1 = Path.GetExtension(item.FileName.ToLower()).TrimStart('.');&#xA;                bool flag1 = strs.Contains(str1);&#xA;                if (this._isAllowed &amp;amp;&amp;amp; flag1 || (this._isAllowed || !flag1) &amp;amp;&amp;amp; (!this._isAllowed || flag1))&#xA;                {&#xA;                    continue;&#xA;                }&#xA;                HttpContext.Current.Response.Write(string.Concat(&quot;&amp;lt;script type=\&quot;text/JavaScript\&quot;&amp;gt;alert(\&quot;Uploading files with .&quot;, str1, &quot; extension is restricted\&quot;);&amp;lt;/script&amp;gt;&quot;));&#xA;                Log.Audit($&quot;Upload restricted: {item.FileName}&quot;, this);&#xA;                new Done().Process(args);&#xA;                args.AbortPipeline();&#xA;                return;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;Sitecore.Pipelines.Upload.CheckSize&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This iterates the contents of the zip file and looks for any file that is larger than the allowed size&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.IO.Compression;&#xA;using System.Web;&#xA;using Sitecore;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Pipelines.Upload;&#xA;&#xA;namespace Custom.Processors.UiUpload&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Resolves the folder.&#xA;    /// &#xA;    /// -------------------------------------------------------------------------&#xA;    /// NOTE: THIS CLASS IS DECOMPILED FROM Sitecore.Pipelines.Upload.CheckSize.&#xA;    ///     THE ONLY SUBSTANTIVE CHANGE IS TO USE System.IO.Compression INSTEAD &#xA;    ///     OF Sitecore.Zip FOR THE ZIP FILE HANDLING.&#xA;    /// -------------------------------------------------------------------------&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class CustomCheckSize : UploadProcessor&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Runs the processor.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;        public void Process(UploadArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, nameof(args));&#xA;            if (args.Destination == UploadDestination.File)&#xA;            {&#xA;                return;&#xA;            }&#xA;            foreach (string file in args.Files)&#xA;            {&#xA;                HttpPostedFile item = args.Files[file];&#xA;                if (string.IsNullOrEmpty(item?.FileName))&#xA;                {&#xA;                    continue;&#xA;                }&#xA;                if (!IsUnpack(args, item))&#xA;                {&#xA;                    if (item.ContentLength &amp;lt;= Settings.Media.MaxSizeInDatabase)&#xA;                    {&#xA;                        continue;&#xA;                    }&#xA;                    string fileName = item.FileName;&#xA;                    HttpContext.Current.Response.Write(string.Concat(&quot;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;script type=\&quot;text/JavaScript\&quot; language=\&quot;javascript\&quot;&amp;gt;window.top.scForm.getTopModalDialog().frames[0].scForm.postRequest(\&quot;\&quot;, \&quot;\&quot;, \&quot;\&quot;, 'ShowFileTooBig(&quot;, StringUtil.EscapeJavascriptString(fileName), &quot;)')&amp;lt;/script&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;Done&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&quot;));&#xA;                    args.ErrorText = $&quot;The file \&quot;{fileName}\&quot; is too big to be uploaded. The maximum size for uploading files is {MainUtil.FormatSize(Settings.Media.MaxSizeInDatabase)}.&quot;;&#xA;                    args.AbortPipeline();&#xA;                    return;&#xA;                }&#xA;                var archive = new ZipArchive(item.InputStream, ZipArchiveMode.Read);&#xA;                try&#xA;                {&#xA;                    foreach (ZipArchiveEntry entry in archive.GetEntriesWithoutMacOsXDirectoryItems())&#xA;                    {&#xA;                        if (entry.GetIsDirectory() || entry.Length &amp;lt;= Settings.Media.MaxSizeInDatabase)&#xA;                        {&#xA;                            continue;&#xA;                        }&#xA;                        string str = string.Concat(item.FileName, &quot;/&quot;, entry.Name);&#xA;                        HttpContext.Current.Response.Write(string.Concat(&quot;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;script type=\&quot;text/JavaScript\&quot; language=\&quot;javascript\&quot;&amp;gt;window.top.scForm.getTopModalDialog().frames[0].scForm.postRequest(\&quot;\&quot;, \&quot;\&quot;, \&quot;\&quot;, 'ShowFileTooBig(&quot;, StringUtil.EscapeJavascriptString(str), &quot;)')&amp;lt;/script&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;Done&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&quot;));&#xA;                        args.ErrorText = $&quot;The file \&quot;{str}\&quot; is too big to be uploaded. The maximum size for uploading files is {MainUtil.FormatSize(Settings.Media.MaxSizeInDatabase)}.&quot;;&#xA;                        args.AbortPipeline();&#xA;                        return;&#xA;                    }&#xA;                }&#xA;                finally&#xA;                {&#xA;                    item.InputStream.Position = 0;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;Sitecore.Pipelines.Upload.Save&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is the one that does the real work (unzips the contents and adds them to the media library)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.IO;&#xA;using System.IO.Compression;&#xA;using System.Web;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.IO;&#xA;using Sitecore.Pipelines.Upload;&#xA;using Sitecore.SecurityModel;&#xA;using Sitecore.Web;&#xA;&#xA;namespace Custom.Processors.UiUpload&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Saves the uploaded files.&#xA;    /// -------------------------------------------------------------------------&#xA;    /// NOTE: THIS CLASS IS DECOMPILED FROM Sitecore.Pipelines.Upload.Save.&#xA;    ///     THE ONLY SUBSTANTIVE CHANGE IS TO USE System.IO.Compression INSTEAD &#xA;    ///     OF Sitecore.Zip FOR THE ZIP FILE HANDLING.&#xA;    /// -------------------------------------------------------------------------&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class CustomSave : UploadProcessor&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Runs the processor.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;exception cref=&quot;T:System.Exception&quot;&amp;gt;&amp;lt;c&amp;gt;Exception&amp;lt;/c&amp;gt;.&amp;lt;/exception&amp;gt;&#xA;        public void Process(UploadArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, nameof(args));&#xA;            for (int i = 0; i &amp;lt; args.Files.Count; i++)&#xA;            {&#xA;                HttpPostedFile item = args.Files[i];&#xA;                if (!string.IsNullOrEmpty(item.FileName))&#xA;                {&#xA;                    try&#xA;                    {&#xA;                        bool flag = IsUnpack(args, item);&#xA;                        if (!args.FileOnly)&#xA;                        {&#xA;                            var mediaUploader = new CustomMediaUploader&#xA;                            {&#xA;                                File = item,&#xA;                                Unpack = flag,&#xA;                                Folder = args.Folder,&#xA;                                Versioned = args.Versioned,&#xA;                                Language = args.Language,&#xA;                                AlternateText = args.GetFileParameter(item.FileName, &quot;alt&quot;),&#xA;                                Overwrite = args.Overwrite,&#xA;                                FileBased = args.Destination == UploadDestination.File&#xA;                            };&#xA;                            List&amp;lt;CustomMediaUploadResult&amp;gt; mediaUploadResults;&#xA;                            using (new SecurityDisabler()) {&#xA;                                mediaUploadResults = mediaUploader.SafeUpload();&#xA;                            }&#xA;                            string[] fileName = { item.FileName };&#xA;                            Log.Audit(this, &quot;Upload: {0}&quot;, fileName);&#xA;                            foreach (CustomMediaUploadResult mediaUploadResult in mediaUploadResults)&#xA;                            {&#xA;                                this.ProcessItem(args, mediaUploadResult.Item, mediaUploadResult.Path);&#xA;                            }&#xA;                        }&#xA;                        else if (!flag)&#xA;                        {&#xA;                            string file = this.UploadToFile(args, item);&#xA;                            if (i == 0)&#xA;                            {&#xA;                                args.Properties[&quot;filename&quot;] = FileHandle.GetFileHandle(file);&#xA;                            }&#xA;                        }&#xA;                        else&#xA;                        {&#xA;                            UnpackToFile(args, item);&#xA;                        }&#xA;                    }&#xA;                    catch (Exception exception1)&#xA;                    {&#xA;                        Exception exception = exception1;&#xA;                        Log.Error(string.Concat(&quot;Could not save posted file: &quot;, item.FileName), exception, this);&#xA;                        throw;&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Processes the item.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;mediaItem&quot;&amp;gt;The media item.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;path&quot;&amp;gt;The path.&amp;lt;/param&amp;gt;&#xA;        private void ProcessItem(UploadArgs args, MediaItem mediaItem, string path)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, nameof(args));&#xA;            Assert.ArgumentNotNull(mediaItem, nameof(mediaItem));&#xA;            Assert.ArgumentNotNull(path, nameof(path));&#xA;            if (args.Destination != UploadDestination.Database)&#xA;            {&#xA;                Log.Info(string.Concat(&quot;Media Item has been uploaded to file system: &quot;, path), this);&#xA;            }&#xA;            else&#xA;            {&#xA;                Log.Info(string.Concat(&quot;Media Item has been uploaded to database: &quot;, path), this);&#xA;            }&#xA;            args.UploadedItems.Add(mediaItem.InnerItem);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Unpacks to file.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;file&quot;&amp;gt;The file.&amp;lt;/param&amp;gt;&#xA;        private static void UnpackToFile(UploadArgs args, HttpPostedFile file)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, nameof(args));&#xA;            Assert.ArgumentNotNull(file, nameof(file));&#xA;            string str = FileUtil.MapPath(TempFolder.GetFilename(&quot;temp.zip&quot;));&#xA;            file.SaveAs(str);&#xA;            using (var archive = new ZipArchive(file.InputStream, ZipArchiveMode.Read))&#xA;            {&#xA;                foreach (ZipArchiveEntry entry in archive.GetEntriesWithoutMacOsXDirectoryItems())&#xA;                {&#xA;                    string uniqueFilename = FileUtil.MakePath(args.Folder, entry.Name, '\\');&#xA;                    if (!entry.GetIsDirectory())&#xA;                    {&#xA;                        if (!args.Overwrite)&#xA;                        {&#xA;                            uniqueFilename = FileUtil.GetUniqueFilename(uniqueFilename);&#xA;                        }&#xA;                        Directory.CreateDirectory(Path.GetDirectoryName(uniqueFilename));&#xA;                        lock (FileUtil.GetFileLock(uniqueFilename))&#xA;                        {&#xA;                            FileUtil.CreateFile(uniqueFilename, entry.Open(), true);&#xA;                        }&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        Directory.CreateDirectory(uniqueFilename);&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Uploads to file.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;file&quot;&amp;gt;The file.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;The name of the uploaded file&amp;lt;/returns&amp;gt;&#xA;        private string UploadToFile(UploadArgs args, HttpPostedFile file)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, nameof(args));&#xA;            Assert.ArgumentNotNull(file, nameof(file));&#xA;            string uniqueFilename = FileUtil.MakePath(args.Folder, Path.GetFileName(file.FileName), '\\');&#xA;            if (!args.Overwrite)&#xA;            {&#xA;                uniqueFilename = FileUtil.GetUniqueFilename(uniqueFilename);&#xA;            }&#xA;            file.SaveAs(uniqueFilename);&#xA;            Log.Info(string.Concat(&quot;File has been uploaded: &quot;, uniqueFilename), this);&#xA;            return Assert.ResultNotNull(uniqueFilename);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;And the config patch to put them in place&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;processors&amp;gt;&#xA;            &amp;lt;uiUpload&amp;gt;&#xA;                &amp;lt;!-- Again, this one is optional and should only be used if you have the Sitecore Upload Filter configured --&amp;gt;&#xA;                &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.Upload.CheckExtension, Sitecore.UploadFilter&quot;&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Custom.Processors.UiUpload.CustomCheckExtension,Custom&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;                &amp;lt;processor mode=&quot;on&quot; type=&quot;Custom.Processors.UiUpload.CustomCheckSize,Custom&quot; patch:instead=&quot;processor[@type='Sitecore.Pipelines.Upload.CheckSize, Sitecore.Kernel']&quot;/&amp;gt;&#xA;                &amp;lt;processor mode=&quot;on&quot; type=&quot;Custom.Processors.UiUpload.CustomSave,Custom&quot; patch:instead=&quot;processor[@type='Sitecore.Pipelines.Upload.Save, Sitecore.Kernel']&quot;/&amp;gt;&#xA;            &amp;lt;/uiUpload&amp;gt;&#xA;        &amp;lt;/processors&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Next, you need to decompile some supporting classes&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;These classes are used by the above pipelines.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;Sitecore.Resources.Media.MediaUploader&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This class is used by the &lt;code&gt;Save&lt;/code&gt; pipeline processor to actually upload the contents of the zip file to the database&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.IO;&#xA;using System.IO.Compression;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.IO;&#xA;using Sitecore.Pipelines.GetMediaCreatorOptions;&#xA;using Sitecore.Resources.Media;&#xA;&#xA;namespace Custom.Processors.UiUpload&#xA;{&#xA;    /// -------------------------------------------------------------------------&#xA;    /// NOTE: THIS CLASS IS DECOMPILED FROM Sitecore.Resources.Media.MediaUploader.&#xA;    ///     THE ONLY SUBSTANTIVE CHANGE IS TO USE System.IO.Compression INSTEAD &#xA;    ///     OF Sitecore.Zip FOR THE ZIP FILE HANDLING.&#xA;    /// -------------------------------------------------------------------------&#xA;    public class CustomMediaUploader : MediaUploader&#xA;    {&#xA;        public List&amp;lt;CustomMediaUploadResult&amp;gt; SafeUpload()&#xA;        {&#xA;            List&amp;lt;CustomMediaUploadResult&amp;gt; list = new List&amp;lt;CustomMediaUploadResult&amp;gt;();&#xA;            if (string.Compare(Path.GetExtension(this.File.FileName), &quot;.zip&quot;, StringComparison.InvariantCultureIgnoreCase) == 0 &amp;amp;&amp;amp; this.Unpack)&#xA;                this.UnpackToDatabase(list);&#xA;            else&#xA;                this.UploadToDatabase(list);&#xA;            return list;&#xA;        }&#xA;&#xA;        private void UploadToDatabase(List&amp;lt;CustomMediaUploadResult&amp;gt; list)&#xA;        {&#xA;            Assert.ArgumentNotNull(list, nameof(list));&#xA;            CustomMediaUploadResult mediaUploadResult = new CustomMediaUploadResult();&#xA;            list.Add(mediaUploadResult);&#xA;            mediaUploadResult.Path = FileUtil.MakePath(this.Folder, Path.GetFileName(this.File.FileName), '/');&#xA;            mediaUploadResult.ValidMediaPath = MediaPathManager.ProposeValidMediaPath(mediaUploadResult.Path);&#xA;            var options = new MediaCreatorOptions&#xA;                          {&#xA;                              Versioned = this.Versioned,&#xA;                              Language = this.Language,&#xA;                              OverwriteExisting = this.Overwrite,&#xA;                              Destination = mediaUploadResult.ValidMediaPath,&#xA;                              FileBased = this.FileBased,&#xA;                              AlternateText = this.AlternateText,&#xA;                              Database = this.Database&#xA;                          };&#xA;            options.Build(GetMediaCreatorOptionsArgs.UploadContext);&#xA;            mediaUploadResult.Item = MediaManager.Creator.CreateFromStream(this.File.InputStream, mediaUploadResult.Path, options);&#xA;        }&#xA;&#xA;        private void UnpackToDatabase(List&amp;lt;CustomMediaUploadResult&amp;gt; list)&#xA;        {&#xA;            Assert.ArgumentNotNull(list, nameof(list));&#xA;            string str = FileUtil.MapPath(TempFolder.GetFilename(&quot;temp.zip&quot;));&#xA;            string tempFolderPath = str.Substring(0, str.LastIndexOf(&quot;\\&quot;, StringComparison.OrdinalIgnoreCase));&#xA;            this.File.SaveAs(str);&#xA;            ZipArchiveEntry lastEntry = null;&#xA;            try&#xA;            {&#xA;&#xA;                using (ZipArchive archive = ZipFile.OpenRead(str))&#xA;                {&#xA;                    foreach (ZipArchiveEntry entry in archive.GetEntriesWithoutMacOsXDirectoryItems())&#xA;                    {&#xA;                        lastEntry = entry;&#xA;                        if (!entry.GetIsDirectory())&#xA;                        {&#xA;                            string filePath = FileUtil.MakePath(tempFolderPath, entry.Name, '/');&#xA;                            try&#xA;                            {&#xA;                                entry.ExtractToFile(filePath, true);&#xA;                                var mediaUploadResult = new CustomMediaUploadResult();&#xA;                                list.Add(mediaUploadResult);&#xA;                                mediaUploadResult.Path = FileUtil.MakePath(this.Folder, entry.Name, '/');&#xA;                                mediaUploadResult.ValidMediaPath = MediaPathManager.ProposeValidMediaPath(mediaUploadResult.Path);&#xA;                                var options = new MediaCreatorOptions&#xA;                                              {&#xA;                                                  Language = this.Language,&#xA;                                                  Versioned = this.Versioned,&#xA;                                                  OverwriteExisting = this.Overwrite,&#xA;                                                  Destination = mediaUploadResult.ValidMediaPath,&#xA;                                                  FileBased = this.FileBased,&#xA;                                                  Database = this.Database&#xA;                                              };&#xA;                                options.Build(GetMediaCreatorOptionsArgs.UploadContext);&#xA;                                mediaUploadResult.Item = MediaManager.Creator.CreateFromFile(filePath, options);&#xA;                            }&#xA;                            finally&#xA;                            {&#xA;                                if (System.IO.File.Exists(filePath))&#xA;                                    System.IO.File.Delete(filePath);&#xA;                            }&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Log.Error($&quot;[CustomMediaUploader] Error trying to save {lastEntry?.FullName} from {this.File.FileName}&quot;, ex, this);&#xA;            }&#xA;            finally&#xA;            {&#xA;                FileUtil.Delete(str);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;Sitecore.Resources.Media.MediaUploadResult&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This class is used to provide the result of the file upload back to the &lt;code&gt;MediaUploader&lt;/code&gt; and had read-only properties (well, technically the sets are &lt;code&gt;internal&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;&#xA;namespace Musc.Common.Web.Processors.UiUpload&#xA;{&#xA;    /// -------------------------------------------------------------------------&#xA;    /// NOTE: THIS CLASS IS DECOMPILED FROM Sitecore.Resources.Media.MediaUploadResult.&#xA;    ///     THE ONLY SUBSTANTIVE CHANGE IS TO ALLOW ACCESS TO SET THE PROPERTIES.&#xA;    /// -------------------------------------------------------------------------&#xA;    public class CustomMediaUploadResult&#xA;    {&#xA;        public Item Item { get; internal set; }&#xA;        public string Path { get; internal set; }&#xA;        public string ValidMediaPath { get; internal set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Last but not least, you may find these extension methods handy&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;ZipArchiveExtensions&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This adds an extension method to get the files in the archive that aren't in a &lt;code&gt;__MACOSX&lt;/code&gt; folder&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class ZipArchiveExtensions&#xA;{&#xA;    public static IEnumerable&amp;lt;ZipArchiveEntry&amp;gt; GetEntriesWithoutMacOsXDirectoryItems([NotNull] this ZipArchive archive)&#xA;    {&#xA;        return archive.Entries.Where(e =&amp;gt; !e.FullName.ToUpperInvariant().Contains(&quot;__MACOSX&quot;));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;ZipArchiveEntryExtensions&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This adds an extension method to see whether the current entry is a directory or not&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class ZipArchiveEntryExtensions&#xA;{&#xA;    public static bool GetIsDirectory([NotNull] this ZipArchiveEntry entry)&#xA;    {&#xA;        return entry.FullName.EndsWith(&quot;/&quot;, StringComparison.OrdinalIgnoreCase) &amp;amp;&amp;amp; string.IsNullOrEmpty(entry.Name);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2018-10-24T12:52:06.223" LastActivityDate="2018-10-24T12:52:06.223" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14552" PostTypeId="2" ParentId="14517" CreationDate="2018-10-23T21:17:53.833" Score="1" Body="&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SPE&lt;/a&gt; is a really good option. It really just wraps the Sitecore API and groups some things to make the calls easier.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Partial Designs&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;But if you want to just use the native API, then it should be pretty simple too. &lt;code&gt;Partial Designs&lt;/code&gt; are just Sitecore Items with presentation applied to them. They need to be based of the right template, but it should be as simple as creating the item and setting the &lt;code&gt;__Renderings&lt;/code&gt; or &lt;code&gt;__Final renderings&lt;/code&gt; fields appropriately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to remember is that your &lt;code&gt;Partial Design&lt;/code&gt; template is unique to your &lt;code&gt;Tenant&lt;/code&gt;, so the template would be located somewhere like: &lt;code&gt;/sitecore/templates/Project/My Tenant/Partial Design&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Item CreatePartialDesign(string partialDesignName)&#xA;{&#xA;    // Get the parent item&#xA;    var masterDb = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;    var parentItem = masterDb.Items[&quot;/sitecore/content/My Tenant/My Site/&quot;];&#xA;&#xA;    //Now we need to get the template from which the item is created&#xA;    TemplateItem partialDesignTemplate = masterDb.GetTemplate(&quot;Project/My Tenant/Partial Design&quot;);&#xA;&#xA;    //Now we can add the new item as a child to the parent&#xA;    return parentItem.Add(partialDesignName, partialDesignTemplate);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can set the presentation. It can get a bit complicated, but basically you need to set get the &lt;code&gt;LayoutDefinition&lt;/code&gt;, find the default device and add a layout and 1 or more renderings. Here is some sample code that might get you started:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var partialDesignItem = CreatePartialDesign(&quot;New Partial Design&quot;);&#xA;string renderingXml = sampleItem[&quot;__Renderings&quot;];&#xA;LayoutDefinition layoutDefinition = new LayoutDefinition();&#xA;layoutDefinition.LoadXml(renderingXml);&#xA;&#xA;string defaultDeviceId = &quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;;&#xA;DeviceDefinition deviceDefinition = layoutDefinition.GetDevice(defaultDeviceId);&#xA;string sampleLayoutId = &quot;{layout-item-guid}&quot;;&#xA;deviceDefinition.Layout = sampleLayoutId;&#xA;&#xA;// Add any renderings you want to a bit like this. You will need the rendering Id's&#xA;string sampleRenderingId = &quot;{rendering-item-guid}&quot;;&#xA;RenderingDefinition renderingDefinition = new RenderingDefinition();&#xA;renderingDefinition.ItemID = sampleRenderingId;&#xA;renderingDefinition.Placeholder = &quot;content&quot;;&#xA;deviceDefinition.AddRendering(renderingDefinition);&#xA;&#xA;// Write the presentation back to the renderings field&#xA;string outputXml = layoutDefinition.ToXml();&#xA;sampleItem.Editing.BeginEdit();&#xA;sampleItem[&quot;__Renderings&quot;] = outputXml;&#xA;sampleItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Page Designs&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Page designs are also just items, so create the item and then you can set the value in the field &lt;code&gt;Partial Designs&lt;/code&gt;. It is a multilist field, so just use the &lt;code&gt;MultilistField&lt;/code&gt; object in the Sitecore API to set the values. Or just set the raw value as pipe separated guids.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Assigning a page design to a page&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Again, this is just a field on the page item. The field just stores the ID of the page design you want to assign.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2018-10-23T21:29:56.190" LastActivityDate="2018-10-23T21:29:56.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14553" PostTypeId="1" AcceptedAnswerId="14556" CreationDate="2018-10-24T00:45:20.330" Score="0" ViewCount="1048" Body="&lt;p&gt;I am using Sitecore 9.0.2 with SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added the below javascript for client-side validation in SXALayout.cshtml page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5uOgP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5uOgP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, I am getting &lt;code&gt;XA is not defined&lt;/code&gt; error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hLw3u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hLw3u.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="2056" LastEditDate="2018-10-24T06:40:53.743" LastActivityDate="2018-10-24T06:40:53.743" Title="Adding custom script for client side validation in SXA" Tags="|sxa|sitecore-forms|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="14555" PostTypeId="2" ParentId="8907" CreationDate="2018-10-24T02:32:02.883" Score="3" Body="&lt;p&gt;I have checked the xConnect logs &lt;code&gt;\App_Data\logs&lt;/code&gt; folder to check for the errors and found out that there is an error in accessing the SSL certificates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error says &lt;code&gt;The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---&amp;gt; System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.&lt;/code&gt;&#xA;I was able to fix it by running the script available at &lt;a href=&quot;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I ran the part of the script which is responsible for setting up SSL for Solr. &lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="5387" LastEditDate="2019-06-14T10:28:19.930" LastActivityDate="2019-06-14T10:28:19.930" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14556" PostTypeId="2" ParentId="14553" CreationDate="2018-10-24T06:38:47.010" Score="1" Body="&lt;p&gt;You shouldn't change views which come OOTB unless it is really necessary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend creating js file with your custom scripts and adding that file into your theme in SXA. Make sure it's loaded as last one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow this great tutorial on Sitecore Doc site -&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/designing/themes/the_sxa_themes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/designing/themes/the_sxa_themes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Location of file would be /sitecore/media library/Themes/{theme_name}/scripts/ &lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g. /sitecore/media library/Themes/Wireframe/scripts/ &lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you are using Wireframe theme.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-10-24T06:38:47.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14557" PostTypeId="1" AcceptedAnswerId="14558" CreationDate="2018-10-24T07:49:48.520" Score="0" ViewCount="94" Body="&lt;p&gt;I need to add IP Address of customer when order is getting created in Sitecore Commerce 9.0.2 from cart using OrderServiceProvider method.&lt;/p&gt;&#xA;" OwnerUserId="3581" LastEditorUserId="2056" LastEditDate="2018-10-24T09:24:11.990" LastActivityDate="2018-10-24T09:24:11.990" Title="How to add IP Address to Order in Commerce" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14558" PostTypeId="2" ParentId="14557" CreationDate="2018-10-24T09:21:19.423" Score="1" Body="&lt;p&gt;The commerce engine already supports adding an IP address. However, currently there is no way to pass the IP through the default Commerce Connect pipelines. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default AddCartLines implementation of the engine takes the IP address of the &quot;GeoLocation&quot; HTTP header and adds this to the ContactComponent of the cart. When you submit the order based on this cart, the contactcomponent with the IP will be copied to the order. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However the GeoLocation header does not get passed into the HTTP headers by the default connect implementation. As I see it, you will need to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Replace the default AddCartLines processor in the AddLinesToCart pipeline&lt;/li&gt;&#xA;&lt;li&gt;Have this processor use a custom version of the GetShopsContainer method that is part of the EngineConnectUtility class. &lt;/li&gt;&#xA;&lt;li&gt;This custom version adds the GeoLocation header with value: IpAddress=&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-10-24T09:21:19.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14559" PostTypeId="1" CreationDate="2018-10-24T10:53:23.633" Score="2" ViewCount="282" Body="&lt;p&gt;I am using sitecore 8.2 Update-1, I have issue with GeoIp. On my system GeoIp service is already running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IVZGu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IVZGu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if I am access IP address in Experience explore then return all GeoIp value like same as in below screenshot&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SxDNl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SxDNl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I am trying access Geo Data from &lt;code&gt;GeoIpManager.GetGeoIpData&lt;/code&gt; like&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/f9ZvK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f9ZvK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So &lt;code&gt;GeoIpManager.GetGeoIpData&lt;/code&gt; is return null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I do to resolve this error and what should we need check configuration for same issue &lt;/p&gt;&#xA;" OwnerUserId="4492" LastEditorUserId="605" LastEditDate="2018-10-24T11:18:36.860" LastActivityDate="2018-10-24T11:18:36.860" Title="why tracker.current.Interaction.geodata return null value in sitecore if GeoIp service is running" Tags="|geo-location|" AnswerCount="0" CommentCount="4" ClosedDate="2018-10-24T12:27:14.647" ContentLicense="CC BY-SA 4.0" />
  <row Id="14563" PostTypeId="1" AcceptedAnswerId="14564" CreationDate="2018-10-24T13:09:54.823" Score="1" ViewCount="65" Body="&lt;p&gt;The following two reports in &lt;code&gt;Experience Analytics&lt;/code&gt; do not display any graph and show &quot;No data to display&quot;.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Behavior - Pages - Exit pages - Top exit pages by conversions&lt;/li&gt;&#xA;&lt;li&gt;Behavior - Page URLs - Exit page URLs - Top exit page URLs by conversions&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The description for these two reports in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_behavior_tab_reports#_Pages&quot; rel=&quot;nofollow noreferrer&quot;&gt;official document&lt;/a&gt; says - &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The exit page/page URLs that have generated the most efficient high&#xA;  value visits on your website.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But these two reports show graphs:&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Behavior - Pages - Exit pages - Top exit pages by value per visit&lt;/li&gt;&#xA;&lt;li&gt;Behavior - Page URLs - Exit page URLs - Top exit page URLs by value per visit&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Then, the reports 1 &amp;amp; 2 should also show some data, according to that definition. Is that correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not, what could be the reason. Is there any configuration to be made like  a goal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 update 5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="342" LastEditDate="2018-10-25T13:26:43.857" LastActivityDate="2018-10-25T13:26:43.857" Title="Top exit pages by conversions - No data displayed" Tags="|experience-analytics|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14564" PostTypeId="2" ParentId="14563" CreationDate="2018-10-24T13:22:01.513" Score="1" Body="&lt;p&gt;Reports 1 and 2 depend on &lt;strong&gt;conversion&lt;/strong&gt; data rather than simply visits. Do you have any goals (and have they been triggered)? You can read more about goals and converting in Sitecore's documentation on the subject:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_experience_analytics_reports_relevant_for_marketers#_The_Conversions_tab&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_experience_analytics_reports_relevant_for_marketers#_The_Conversions_tab&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_conversions_tab_reports&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/reporting/the_conversions_tab_reports&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-10-24T13:22:01.513" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14565" PostTypeId="1" CreationDate="2018-10-24T13:24:14.113" Score="0" ViewCount="102" Body="&lt;p&gt;In the &lt;code&gt;Experience Analytics&lt;/code&gt;, none of the &lt;code&gt;Paid Keyword&lt;/code&gt; reports are showing any graphs for our site. All the reports show - &lt;strong&gt;&quot;No data to display&quot;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Aquisition - Keywords - Top paid keywords   Aquisition - Keywords -&#xA;  Paid overview - Google - Top keywords by visits   Aquisition -&#xA;  Keywords - Paid overview - Bing - Top keywords by visits   Aquisition&#xA;  - Keywords - Paid overview - Facebook - Top keywords by visits&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In CMS, there is an option to set &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/configuring/set_up_branded_keywords&quot; rel=&quot;nofollow noreferrer&quot;&gt;branded keywords&lt;/a&gt;. Is there any similar setting or configuration to be done to get these reports working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 update 5 &lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="2727" LastEditDate="2018-10-27T17:50:17.587" LastActivityDate="2018-11-07T19:38:19.313" Title="Paid keyword reports not displaying any graphs" Tags="|experience-analytics|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14566" PostTypeId="1" AcceptedAnswerId="14568" CreationDate="2018-10-24T13:42:37.837" Score="0" ViewCount="58" Body="&lt;p&gt;In the &lt;code&gt;Experience Analytics&lt;/code&gt;, none of the &quot;Offline Channel&quot; reports are showing any graphs for our site. All the reports show - &quot;No data to display&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Aquisition - Channels - Offline - Offline&lt;br&gt;&#xA;Aquisition - Channels - Offline - Offline channels by visits and value per visit&lt;br&gt;&#xA;Aquisition - Channels - Offline - Offline channels by value&lt;br&gt;&#xA;Aquisition - Channels - Offline - Offline channels by conversion&lt;br&gt;&#xA;Aquisition - Channels - Offline - All channels groups  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our site is &lt;em&gt;www.example.com&lt;/em&gt;. If there is another site &lt;em&gt;abc.com&lt;/em&gt; or a &lt;em&gt;facebook page&lt;/em&gt; which has a link to our site, then these two sites are offline channels. Is my understanding correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any configuration to be done like a goal creation, for these graphs to show up, or just having a link on another site is enough for the analytics to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 update 5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="342" LastEditDate="2018-10-25T13:26:53.400" LastActivityDate="2018-10-25T13:26:53.400" Title="Offline channel reports not working" Tags="|experience-analytics|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14567" PostTypeId="1" CreationDate="2018-10-24T13:48:33.073" Score="0" ViewCount="100" Body="&lt;p&gt;I am having an issue in Sitecore 9.0.2 that cross sites links are not resolving properly. The link is resolved as a context site link and when I click on that link it gives me 404 so anyone has any idea on this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have two sites -&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;corporate&lt;/li&gt;&#xA;&lt;li&gt;corporate.jp.local&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When I linked any item(Home/test/test1) of Site 1(corporate) in Site 2(corporate.jp.local). It generates the URL with the second site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: &lt;code&gt;corporate.jp.local/test/test1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Already tried below solutions but they've not worked:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/3408/cross-site-links-not-resolving-correctly-in-rte-fields-on-multi-site-environment&quot;&gt;Cross-site links not resolving correctly in RTE fields on multi-site environment&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11671/sitecore-multisite-cross-links-not-resolved-with-proper-hostname&quot;&gt;Sitecore multisite cross links not resolved with proper hostname&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Sitedefinition structure&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;japan&quot; patch:before=&quot;site[@name='website']&quot;&#xA;            hostName=&quot;corporate.jp.local&quot;&#xA;            targetHostName=&quot;corporate.jp.local&quot;&#xA;            language=&quot;ja-JP&quot;&#xA;            enableFallback=&quot;true&quot;&#xA;            virtualFolder=&quot;/&quot;&#xA;            physicalFolder=&quot;/&quot;&#xA;            rootPath=&quot;/sitecore/content/jp&quot;&#xA;            startItem=&quot;/Home&quot;&#xA;            database=&quot;web&quot;&#xA;            domain=&quot;extranet&quot;&#xA;            allowDebug=&quot;true&quot;&#xA;            cacheHtml=&quot;true&quot;&#xA;            htmlCacheSize=&quot;10MB&quot;&#xA;            enablePreview=&quot;true&quot;&#xA;            enableWebEdit=&quot;true&quot;&#xA;            enableDebugger=&quot;true&quot;&#xA;            disableClientData=&quot;false&quot; /&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;site name=&quot;English&quot; patch:before=&quot;site[@name='website']&quot;&#xA;      hostName=&quot;corporate&quot;&#xA;      targetHostName=&quot;corporate&quot;&#xA;      language=&quot;en&quot;&#xA;      virtualFolder=&quot;/&quot;&#xA;      physicalFolder=&quot;/&quot;&#xA;      rootPath=&quot;/sitecore/content/en&quot;&#xA;      startItem=&quot;/home&quot;&#xA;      database=&quot;web&quot;&#xA;      domain=&quot;extranet&quot;&#xA;      allowDebug=&quot;true&quot;&#xA;      cacheHtml=&quot;true&quot;&#xA;      htmlCacheSize=&quot;100MB&quot;&#xA;      enablePreview=&quot;true&quot;&#xA;      enableWebEdit=&quot;true&quot;&#xA;      enableDebugger=&quot;true&quot;&#xA;      disableClientData=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Tree structure&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;japan&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Home&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;test&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;test1&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;test&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Home&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;test&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;test1&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1499" LastEditorUserId="342" LastEditDate="2018-10-25T16:55:01.400" LastActivityDate="2018-10-25T16:55:01.400" Title="Cross sites links are resolving as a context site link (Sitecore 9 Update 2)" Tags="|multisite|link-manager|" AnswerCount="0" CommentCount="15" ClosedDate="2018-10-25T11:42:26.040" ContentLicense="CC BY-SA 4.0" />
  <row Id="14568" PostTypeId="2" ParentId="14566" CreationDate="2018-10-24T13:49:31.953" Score="1" Body="&lt;p&gt;&lt;strong&gt;Offline channels&lt;/strong&gt; are, by definition, not online. Some examples of this would be direct mail campaigns with a QR code, telemarketing, a physical event like a trade show, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See Sitecore's documentation for more information:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_operations/channels/the_offline_channel_groups_and_their_channels&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/marketing_operations/channels/the_offline_channel_groups_and_their_channels&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to get traffic to appear in your Offline Channel reports, you will need to associate your content with some of these offline channels.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-10-24T13:49:31.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14569" PostTypeId="1" CreationDate="2018-10-24T14:18:44.000" Score="5" ViewCount="2913" Body="&lt;p&gt;I have deployed Sitecore 9.0.2 XP Single in an Azure App Service Environment (ASE). After deployment I keep seeing the following error being reported in the log files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: System.InvalidOperationException&#xA;Message: **The certificate was not found**.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.CertificateWebRequestHandlerModifier.Process(HttpClientHandler handler)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateRequestHandler()&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateClient()&#xA;   at System.Lazy`1.CreateValue()&#xA;   at System.Lazy`1.LazyInitValue()&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.d__37.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.d__32.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.d__4.MoveNext()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I used &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/Sitecore%209.0.2/XPSingle&quot; rel=&quot;nofollow noreferrer&quot;&gt;these&lt;/a&gt; Quickstart templates that Sitecore provides on Github, and only modified them slightly to allow the use of the ASE. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I generated a self-signed client certificate. In the ARM template parameter file I used the 'allowInvalidClientCertificates' parameter and set it to 'true'. I see that the certifcate has been processed during the installation. The Resource Group contains an object of type Microsoft.Web/certificates. I also see that the Web.config file contains the following line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;AllowInvalidClientCertificates&quot; value=&quot;True&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The ConnectionStrings.config contains entries listing the certificate thumbprint. As suggested in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9413/xconnect-webapps-on-azure-paas-not-working&quot;&gt;this&lt;/a&gt; stackexchange thread, I added &quot;AllowInvalidClientCertificates=true&quot; to the connection string. But that didn't solve the problem.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;xconnect.collection.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue=DUMMYTHUMBPRINT;AllowInvalidClientCertificates=true&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;xdb.marketingautomation.operations.client.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue=DUMMYTHUMBPRINT;AllowInvalidClientCertificates=true&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;xdb.marketingautomation.reporting.client.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue=DUMMYTHUMBPRINT;AllowInvalidClientCertificates=true&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;xdb.referencedata.client.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=CurrentUser;FindType=FindByThumbprint;FindValue=DUMMYTHUMBPRINT;AllowInvalidClientCertificates=true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any suggestion would be highly appreciated that could lead to a solution. &#xA;Many thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="4493" LastEditorUserId="73" LastEditDate="2019-09-06T13:27:17.720" LastActivityDate="2019-09-06T13:27:17.720" Title="Azure PaaS reports certificate not found" Tags="|azure|xconnect|paas|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14571" PostTypeId="2" ParentId="14569" CreationDate="2018-10-24T15:21:06.327" Score="2" Body="&lt;p&gt;In your Azure Portal, select your web app running the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to the SSL Settings blade, and in the Private Certificates tab check whether you've got the xConnect client certificate installed there, and whether that thumbprint matches what you have in your config settings. &lt;br/&gt; &#xA;(If the certificate doesn't show here it needs to be uploaded first)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that's the case, open the Advanced Tools (should have a link that opens in a new tab), where you can select Debug console -&gt; PowerShell. &#xA;In the PowerShell console, type &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -path cert:\CurrentUser\My&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See if your certificate appears there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that's not the case, go back to your web app, go to Application Settings and add the setting &lt;code&gt;WEBSITE_LOAD_CERTIFICATES&lt;/code&gt; with the value of either the thumbprint or (if you have more certificates) the value &lt;code&gt;*&lt;/code&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/IXPWU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IXPWU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="115" LastEditorUserId="115" LastEditDate="2018-10-25T08:09:31.200" LastActivityDate="2018-10-25T08:09:31.200" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="14572" PostTypeId="1" AcceptedAnswerId="14582" CreationDate="2018-10-24T17:52:18.170" Score="2" ViewCount="264" Body="&lt;p&gt;Let's assume I have multiple renderings on a page, which are nested within each other- think &quot;outer wrapper&quot;, with a &quot;two column&quot; inside, with a &quot;button&quot; inside of that.  If I remove a parent rendering (like &quot;outer wrapper&quot;), all child renderings disappear visually.  These renderings are still within presentation details, though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When looping the renderings from within presentation details, how can I detect if a particular rendering (like the button above) is going to be visible on the screen vs. being orphaned off?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2018-11-08T21:49:43.447" Title="Detect renderings with invalid placeholder path?" Tags="|dynamic-placeholder|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14573" PostTypeId="2" ParentId="14572" CreationDate="2018-10-24T18:00:57.287" Score="2" Body="&lt;p&gt;At run-time, yes. Sort of.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you're considering a programmatic loop, there are various reasons why this would be very difficult to achieve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thing is: Sitecore doesn't know which placeholders will be emitted on any given Layout/Page. These placeholders are emitted by the components on the page at the time they are rendered, and Sitecore then loops through the presentation details again for &quot;dives deeper&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the only way (I can think of) to achieve this, would be to run the rendering pipeline for the Item in question and then collect the placeholder information. Would be a pretty expensive call and might cause all sorts of problems (rendering outside an actual HttpRequest context).&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-10-24T18:00:57.287" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14574" PostTypeId="2" ParentId="12023" CreationDate="2018-10-24T18:09:22.763" Score="0" Body="&lt;p&gt;I just ran across this issue, and like Michael said it is caused by the &lt;code&gt;Link&lt;/code&gt; type being deprecated. However, for me, the template using the &lt;code&gt;Link&lt;/code&gt; type was a System template in Sitecore (&lt;code&gt;Templates/System/Alias&lt;/code&gt;). Since I didn't want to mess with a default template created by Sitecore, I solved it by adjusting the users permissions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Core database, I had to give the user Read access to &lt;code&gt;sitecore/system/Field types/Deprecated Types/link&lt;/code&gt;. That caused all of the link options to show up for them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br /&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EY3p0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EY3p0.png&quot; alt=&quot;Core database permission change&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4096" LastActivityDate="2018-10-24T18:09:22.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14575" PostTypeId="1" CreationDate="2018-10-24T18:17:42.103" Score="3" ViewCount="375" Body="&lt;p&gt;When using the JSS Layout Service with my Angular application, I notice that if I add personalized content to my component, the response (and display) I get back from the Layout service depends on a certain flag. [{&lt;strong&gt;pageEditing: true&lt;/strong&gt;, site: {name: &quot;portal.local&quot;}, pageState: &quot;normal&quot;, language: &quot;en&quot;}]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this value is false, my personalization seems to work.   If true, it shows some generic HTML content (code).  I notice I can control this flag by logging out of the Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a programmatic way to always request the pageEditing=false version from my app?   I understand that the experience editor needs to show the content so it needs to handle both.  Thank you.&lt;/p&gt;&#xA;" OwnerUserId="4496" LastActivityDate="2018-10-24T18:55:47.060" Title="JSS Layout Service and Personalization" Tags="|personalization|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14576" PostTypeId="2" ParentId="14575" CreationDate="2018-10-24T18:28:11.763" Score="6" Body="&lt;p&gt;This behavior is due to being logged into Sitecore and browsing your JSS app in the same browser instance (even if they're separate tabs they share cookies).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest browsing to your app in an incognito window or separate browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Related question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12812/layout-api-returning-strange-code-into-placeholder&quot;&gt;Layout API returning strange code into placeholder&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2018-10-24T18:55:47.060" LastActivityDate="2018-10-24T18:55:47.060" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14577" PostTypeId="1" CreationDate="2018-10-24T18:37:51.403" Score="4" ViewCount="475" Body="&lt;p&gt;We just updated from Sitecore 8.2 Update 4 to Update 7 and we've started seeing some strange behavior when publishing new items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue presents itself in that it takes awhile for newly created items take awhile to show up on the site after they are published. It turns out that they publish just fine, but it takes awhile for them to be indexed so that the Item Resolver can find them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After turning on a bunch of logging, I have determined that when you publish, the &lt;code&gt;Index_Update_IndexName=sitecore_web_index&lt;/code&gt; job runs right away as it should. If you publish JUST the new item, the job runs quickly and finishes quickly and the item will display.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If, however, you publish related item, the update job takes quite awhile to finish and the new item doesn't show up until the job finishes. This is true EVEN if you are doing a smart publish and only a couple items are updated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my testing I am working on a test environment that does not have much use. When I smart publish, only 3 items are updated, but it takes 6-7 minutes and my crawling log shows nearly 3000 items indexed following that one publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure where to start troubleshooting this. The publish works, the index job kicks off as expected. There are no relevant errors logged (as far as I can tell). The indexing job finishes normally and the content is properly indexed after the job finishes running. It just seems like the indexing job is processing many more items than are necessary based on what was actually published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried truncating the EventQueue and PublishingQueue to be sure there isn't any data hanging around and it has not made any difference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using SOLR indexes. Does anyone know of anything else to look at?&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;UPDATE 1 (as requested in the comments):&#xA;Update strategy is &lt;code&gt;onPublishEndAsync&lt;/code&gt; and that strategy is configured with &lt;code&gt;CheckForThreshold&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no &lt;code&gt;Indexing.FullRebuildItemCountThreshold&lt;/code&gt; (or any &lt;code&gt;FullRebuildItemCountThreshold&lt;/code&gt; for that matter) defined in any config. According to the documentation, this value will default to 100,000.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;UPDATE 2 (as requested in the comments):&#xA;There are no custom publishing pipelines except a couple that log extra data for the current publish item.  There are none that publish extra items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for the extra debugging, here is what I see after turning it on. The publish log shows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6812 14:23:00 INFO  Finished [Publishing] - ProcessQueue in 6793 ms&#xA;6812 14:23:00 INFO  Publish Mode : SingleItem&#xA;6812 14:23:00 INFO  Created : 0&#xA;6812 14:23:00 INFO  Updated : 128&#xA;6812 14:23:00 INFO  Deleted : 0&#xA;6812 14:23:00 INFO  Skipped : 12&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The crawling log shows the following (I've removed interleaved updates of other indexes to just include the one in question, sitecore_web_index):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;9884 14:23:00 DEBUG [Index=sitecore_web_index] OnPublishEndAsynchronousStrategy executing.&#xA;9884 14:23:00 DEBUG [Index=sitecore_web_index] OnPublishEndAsynchronousStrategy: Batch for processing [9315374; 9315501] Count: 128&#xA;9884 14:23:00 DEBUG IndexCustodian. IncrementalUpdate triggered on index sitecore_web_index. Data=Count=128&#xA;10624 14:23:33 DEBUG [Index=sitecore_web_index] Documents sent to SOLR: 500 out of 500 - solr status: 0&#xA;10624 14:23:58 DEBUG [Index=sitecore_web_index] Documents sent to SOLR: 500 out of 500 - solr status: 0&#xA;ManagedPoolThread #5 14:24:22 DEBUG [Index=sitecore_web_index] Documents sent to SOLR: 500 out of 500 - solr status: 0&#xA;ManagedPoolThread #5 14:24:44 DEBUG [Index=sitecore_web_index] Documents sent to SOLR: 500 out of 500 - solr status: 0&#xA;4644 14:25:04 DEBUG [Index=sitecore_web_index] Documents sent to SOLR: 500 out of 500 - solr status: 0&#xA;10624 14:25:30 DEBUG [Index=sitecore_web_index] Documents sent to SOLR: 500 out of 500 - solr status: 0&#xA;ManagedPoolThread #5 14:25:43 DEBUG [Index=sitecore_web_index] Documents sent to SOLR: 320 out of 320 - solr status: 0&#xA;ManagedPoolThread #5 14:25:43 DEBUG [Index=sitecore_web_index] Committing: Add: 3320; Update:0; DeleteUnique: 85; DeleteGroup: 0&#xA;ManagedPoolThread #5 14:25:43 DEBUG [Index=sitecore_web_index] Committed - solr status 0&#xA;ManagedPoolThread #5 14:25:43 DEBUG IndexDependentHtmlCacheManager triggered.&#xA;ManagedPoolThread #5 14:25:43 DEBUG IndexDependentHtmlCacheManager done (processed sites: 16).&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The header of the crawling job reports 128 items in the batch (which matches the number of items published), but the job actually ends up sending 3320 updates to SOLR. Many of the 128 items in the batch are related items (templates and layouts) but almost all of the 3320 items sent to SOLR are content which is why filtering the indexing to just the content items will not have much of an effect on the issue.&lt;/p&gt;&#xA;" OwnerUserId="2194" LastEditorUserId="2194" LastEditDate="2018-10-30T20:53:10.937" LastActivityDate="2023-07-24T07:02:57.950" Title="Sitecore Index_Update Job Performance" Tags="|solr|publishing|indexing|" AnswerCount="0" CommentCount="12" ContentLicense="CC BY-SA 4.0" />
  <row Id="14578" PostTypeId="2" ParentId="14545" CreationDate="2018-10-24T20:23:13.367" Score="1" Body="&lt;p&gt;Based on a quick examination, I'd say the the security configuration within Habitat is incomplete and not a good reference. In your own implementation, your primary content author role should certainly be granted those additional permissions. &lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-10-24T20:23:13.367" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14579" PostTypeId="1" CreationDate="2018-10-24T22:50:10.123" Score="1" ViewCount="754" Body="&lt;p&gt;I am trying to bundle css and js on a sitecore 9.0.2 solution. I am getting the above run time error when the view calls the Styles.Render method. I am using Web.Optimizations 1.1.3 which is dependent on web grease 1.5.2. The webgrease DLL in my sandbox is version 1.5.2.14234.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I have tried: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Added assembly binding to web.config &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;assemblyIdentity name=&quot;WebGrease&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; &#xA;culture=&quot;neutral&quot; /&amp;gt;&#xA;&amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-1.5.2.14234&quot; newVersion=&quot;1.5.2.14234&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Added packes to packages.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;Microsoft.AspNet.Web.Optimization&quot; version=&quot;1.1.3&quot; targetFramework=&quot;net461&quot; /&amp;gt;&#xA;  &amp;lt;package id=&quot;WebGrease&quot; version=&quot;1.5.2&quot; targetFramework=&quot;net461&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Added namespace to views web config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add namespace=&quot;System.Web.Optimization&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also checked that the razor dll and binding was same as vanilla sitecore and I compared my configs and DLLS against a non-sitecore web app that I was able to get bundling working in easily.  &lt;/p&gt;&#xA;" OwnerUserId="1378" LastActivityDate="2018-10-24T22:50:10.123" Title="Asset Bundling: Could not load file or assembly 'WebGrease, Version=1.5.1.25624" Tags="|bundling|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14580" PostTypeId="2" ParentId="11253" CreationDate="2018-10-25T05:10:15.640" Score="4" Body="&lt;p&gt;Have you migrated from Sitecore 8.x to 9? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This error is being caused due to a redesign of rule set in Sitecore 9. I had the same issue and got the following response from Sitecore support:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This error looks related to the fact that the rule set has been&#xA;  redesigned in Sitecore 9.0, therefore if you have upgraded to the&#xA;  latest version of Sitecore from any 8.x version, you must update all&#xA;  of your custom filters. You do this by setting and configuring new&#xA;  rules in the new rule set. Every rule that was available by default in&#xA;  Sitecore 8.x has a new matching rule in the Rule Set Editor in&#xA;  Sitecore 9.0. If you do not update your custom filter to use new&#xA;  rules, the Reporting database cannot aggregate any visits from&#xA;  contacts and your reports will not show any data. For more details&#xA;  please see the following topic:&#xA;  &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/configuring/update_a_custom_filter_to_use_new_rules&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/analyzing_and_reporting/analytics/configuring/update_a_custom_filter_to_use_new_rules&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Please note that because filters and rules are dependent on a segment,&#xA;  after you update your custom filter to use new rules, you must also&#xA;  redeploy all segments that use the filter with the new rule.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Based on the error dump you attached, the issue is being caused by the following filters that were in Sitecore 8.2, but not in 9:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qcLF8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qcLF8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These filters are referencing the following segments:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dQS7U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dQS7U.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Follow the instructions above for all the filters and update the rules to use the new Sitecore 9 rules and then re-deploy the segments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) If you are not using those filters, you can delete the filters as well as the dimension and re-deploy marketing definitions. You may have to clear all tables in your ReferenceData database and then a re-deploy the marketing definitions (a simple deploy of marketing definitions did not remove the deleted dimension/segments for me).&lt;/p&gt;&#xA;" OwnerUserId="3940" LastActivityDate="2018-10-25T05:10:15.640" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14582" PostTypeId="2" ParentId="14572" CreationDate="2018-10-25T06:39:15.253" Score="3" Body="&lt;p&gt;If all of your dynamic placeholder keys contains the rendering UID then it should be possible. Let's expect that your placeholder keys look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/main/wrapper_0b720b64f1a648dd9774cdc1484e7152&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Guid&lt;/code&gt; is the UID of the Wrapper rendering item. In this case the following method could work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private bool IsRenderingShown(RenderingReference rendering, RenderingReference[] renderings)&#xA;{&#xA;    if (rendering == null || string.IsNullOrEmpty(rendering.Placeholder) || renderings == null)&#xA;    {&#xA;        return false;&#xA;    }&#xA;&#xA;    var partPlaceholders = rendering.Placeholder.Split('/', '_');&#xA;    foreach (var p in partPlaceholders)&#xA;    {&#xA;        if (!Guid.TryParse(p, out Guid uniqueId))&#xA;        {&#xA;            continue;&#xA;        }&#xA;&#xA;        var renderingFound = renderings.Any(r =&amp;gt; Guid.TryParse(r.UniqueId, out Guid u) ? u.Equals(uniqueId) : false);&#xA;        if (!renderingFound)&#xA;        {&#xA;            return renderingFound;&#xA;        }&#xA;    }&#xA;&#xA;    return true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2018-11-08T21:49:43.447" LastActivityDate="2018-11-08T21:49:43.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14583" PostTypeId="1" CreationDate="2018-10-25T07:57:53.863" Score="1" ViewCount="71" Body="&lt;p&gt;I've implemented simple search by query in my sitecore application. Locally it works perfectly with solr, but when solution is deployed to an Azure environment that is using Azure Search it doesn't work with query more than 5 letters. What can be reason for that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;code of my search expression:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    protected override Expression&amp;lt;Func&amp;lt;ArticleSearchItem, bool&amp;gt;&amp;gt; GetPredicateExpression(ArticleSearchParameters searchParameters)&#xA;    {&#xA;        var articleSearchQuery = PredicateBuilder.True&amp;lt;ArticleSearchItem&amp;gt;();&#xA;&#xA;        if (!string.IsNullOrEmpty(searchParameters.Query))&#xA;        {&#xA;            articleSearchQuery = articleSearchQuery.Or(i =&amp;gt; i.Title.Contains(searchParameters.Query.ToLower()));&#xA;            articleSearchQuery = articleSearchQuery.Or(i =&amp;gt; i.Text.Contains(searchParameters.Query.ToLower()));&#xA;            articleSearchQuery = articleSearchQuery.Or(i =&amp;gt; i.PreviewTitle.Contains(searchParameters.Query.ToLower()));&#xA;            articleSearchQuery = articleSearchQuery.Or(i =&amp;gt; i.PreviewText.Contains(searchParameters.Query.ToLower()));&#xA;        }&#xA;&#xA;        articleSearchQuery = articleSearchQuery.And(i =&amp;gt; i.TemplateId == searchParameters.TemplateId &amp;amp;&amp;amp; i.Paths.Contains(searchParameters.SiteRootId));&#xA;&#xA;        return articleSearchQuery;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3624" LastEditorUserId="3624" LastEditDate="2018-10-25T09:30:03.127" LastActivityDate="2018-10-25T09:30:03.127" Title="Azure Search doesn't work with query more than five letters" Tags="|solr|azure-search|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14584" PostTypeId="2" ParentId="14537" CreationDate="2018-10-25T08:17:38.407" Score="2" Body="&lt;p&gt;I received an answer from Sitecore Support and it seems there was a bug in the provider that was fixed in Sitecore 9.0 Update 2 (rev. 180604).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fix doesn't use $filter, but it does wrap the search term in quotes and this makes the query work as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can't upgrade to this version of Sitecore and need the patch you can ask Sitecore referencing bug #147386.&lt;/p&gt;&#xA;" OwnerUserId="350" LastActivityDate="2018-10-25T08:17:38.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14585" PostTypeId="1" CreationDate="2018-10-25T12:22:05.340" Score="2" ViewCount="719" Body="&lt;p&gt;I am running into an issue for a site we are upgrading from 8.1 to 9.0.1. In the process of refactoring and updating the code base, we have upgraded Glass from v3 to v4.5. After doing so, every Glass &lt;code&gt;getitem&lt;/code&gt; (&lt;code&gt;GetCurrentItem&lt;/code&gt;, queries, etc - everything) returns null. I've seen similar posts on StackOverflow that mention language fallback as a likely culprit but the site language is set to &quot;en&quot; in our site configuration and when debugging the &lt;code&gt;Sitecore.Context.Language&lt;/code&gt; is set to &quot;en&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For further context, we've even tried taking DI and other factors out of the equation by setting up a test page on the site. This also returns a null object.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%&#xA;    var sitecoreContext = new Glass.Mapper.Sc.SitecoreContext();&#xA;    var itemId = new Guid(&quot;{861C0CDA-FF19-4F1B-BB4C-B65C8E3DA724}&quot;);&#xA;&#xA;    Sitecore.Context.Language = Sitecore.Data.Managers.LanguageManager.GetLanguage(&quot;en&quot;);&#xA;&#xA;    using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;    {&#xA;        var item = sitecoreContext.GetItem&amp;lt;Sitecore.Data.Items.Item&amp;gt;(itemId);&#xA;        Response.Write(item.Name); //this is null exception b/c item is null&#xA;    }&#xA;%&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(You'll notice that we are trying &lt;code&gt;SecurityDisabler&lt;/code&gt; here as well to make sure that permissions isn't the problem. I'll also note that straight Sitecore API calls work fine.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe a clue from &lt;code&gt;FallbackCheckTask&lt;/code&gt; (which I actually don't think we need anymore but that is a different concern):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wClND.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wClND.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;args.Result&lt;/code&gt; here is null but &lt;code&gt;scContext.Item&lt;/code&gt; looks correct. Why is the result null? Any ideas on how to dig deeper into that?&lt;/p&gt;&#xA;" OwnerUserId="98" LastEditorUserId="98" LastEditDate="2018-10-25T14:12:58.710" LastActivityDate="2018-10-25T16:18:18.943" Title="Glass always returns null" Tags="|glass-mapper|upgrade|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14586" PostTypeId="2" ParentId="14535" CreationDate="2018-10-25T13:44:07.013" Score="0" Body="&lt;p&gt;While I was reading about Coveo Related Query, I came across this &lt;a href=&quot;https://docs.coveo.com/en/940/coveo-for-sitecore-v4/adding-related-results&quot; rel=&quot;nofollow noreferrer&quot;&gt;document&lt;/a&gt; which perfectly suited my problem. My second query was already achieved using SearchEndpoint I had my results object ready but needed a way to render the results in a new results list component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I ended up doing is getting the underscore Template used for the original results list, and then used Coveo's &lt;code&gt;template.instantiateToElement()&lt;/code&gt; to render the results in a similar design with the original results list and finally added the html into a its related html div.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var templateElement = $('#' + this.templateElementId);&#xA;var template = new Coveo.UnderscoreTemplate(templateElement[0]);&#xA;for (let i = 0; i &amp;lt; data.results.length; i++) {&#xA;    var renderedTemplatePromise = template.instantiateToElement(data.results[i]);&#xA;    renderedTemplatePromise.done(res =&amp;gt; {&#xA;        $('.related-results').append(&quot;res);&#xA;    });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-10-25T13:44:07.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14587" PostTypeId="1" AcceptedAnswerId="14590" CreationDate="2018-10-25T14:31:17.107" Score="17" ViewCount="3884" Body="&lt;p&gt;There have been numerous discussions around headless capabilities supported by the Sitecore platform. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What does that even mean?&lt;/li&gt;&#xA;&lt;li&gt;What product offerings from Sitecore support headless capabilities?&lt;/li&gt;&#xA;&lt;li&gt;How are each of the headless features different?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2018-10-25T14:43:02.000" LastActivityDate="2018-10-25T22:24:03.733" Title="What does headless mean in the context of Sitecore?" Tags="|sitecore-api|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14588" PostTypeId="1" AcceptedAnswerId="14589" CreationDate="2018-10-25T14:38:53.607" Score="1" ViewCount="1534" Body="&lt;p&gt;This is using Sitecore 9.0.2 and Glass 5.1.10. I'm trying to figure out the best way to access the IMvcContext (or ISitecoreService) in a view rendering. Using controller rendering is very straightforward, but one of our devs opened the view rendering with &lt;code&gt;IMvcContext mvcContext = new IMvcContext()&lt;/code&gt; which seems unneeded to declare a new context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would think there's another way to essentially get the existing context in, but I'm not sure if that's a cast of Sitecore.Context in some fashion, or if that's really the best way. Or, if it would be best practice to switch to a controller rendering if this situation comes up, which is perfectly viable.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="342" LastEditDate="2018-10-25T15:09:26.323" LastActivityDate="2021-10-30T07:20:59.983" Title="Accessing IMvcContext/ISitecoreService in a view rendering" Tags="|glass-mapper|mvc|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14589" PostTypeId="2" ParentId="14588" CreationDate="2018-10-25T14:49:22.823" Score="2" Body="&lt;p&gt;This should be changed to a &lt;code&gt;ControllerRendering&lt;/code&gt; so you can do business logic (like acquiring other supporting items and assembling a view model) in the controller layer or a service layer.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-10-25T14:49:22.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14590" PostTypeId="2" ParentId="14587" CreationDate="2018-10-25T14:50:34.907" Score="17" Body="&lt;p&gt;&lt;strong&gt;What is a Headless CMS?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A headless CMS is a back-end only content management system (usually built from the ground up as a content repository) that makes content accessible via an API for display on any device. A Headless CMS focuses entirely on the administrative interface, workflows, collaboration and the organization and delivery of content. It doesn’t concern itself with presentation layers, templates, site structure, or design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lars Nielsen wrote more about Sitecore and Headless back in January 2017 here: &lt;a href=&quot;https://www.sitecore.com/company/blog/356/sitecore-as-a-true-headless-cms-4418&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.com/company/blog/356/sitecore-as-a-true-headless-cms-4418&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are 3 headless offerings out of the box in Sitecore 9+:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1) The REST API for the ItemService&lt;/strong&gt; -&#xA;This has been available for quite some time (Sitecore 7.5). However it isn't always seen as true Headless due to it not including presentation details or personalisation in the response. Other APIs such as the Item Web API were available in older versions of Sitecore also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2) JSS&lt;/strong&gt; -&#xA;This uses the Layout service (It has it's own individual JSON structure and named configurations) to support Front-end Apps (e.g React, Angular, Vue) whilst maintaining full Sitecore Experience Editor and personalisation features (page-level content composition,  multi-variate testing etc). This is seen as a true Headless offering as it returns serialized presentation details as well as support for tracking and analytics. JSS requires a consumption based licence (at time of writing).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11729/what-is-jss-and-how-do-i-get-started-with-building-a-jss-app&quot;&gt;What is JSS and how do I get started with building a JSS app?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.net/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3) SXA&lt;/strong&gt; -&#xA;SXA also uses the Layout Service (again with it's own individual JSON structure and named configurations). This powers the SXA Components. SXA is available with a perpetual licence (at cost) as well as included in an consumption based licence (at time of writing).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/getting_started_with_sxa&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/getting_started_with_sxa&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At this point in time if you want true Headless support you must therefore have the JSS or SXA modules included in your Licence in order to have access to the Layout Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Omni&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9.1 JSS, SXA, Sitecore Services Client API and other services come together in what is being referred to as Sitecore Omni. The idea is that Sitecore Omni Delivers individual experiences connected and disconnected to&#xA;any platform with the full power of the Sitecore Experience Cloud. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in 9.1 and beyond JSS and SXA are just part of the headless architecture and there are other elements that play important roles too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The images below from Mark van Aalst's Symposium 2018 presentation (Sitecore Headless Revolution) describe this in more detail and the architecture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oKnfI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oKnfI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ex7b2.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ex7b2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other Useful links:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.sitecore.com/en-gb/products/sitecore-experience-platform/wcm/headless-cms&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.com/en-gb/products/sitecore-experience-platform/wcm/headless-cms&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.net/docs/fundamentals/services/layout-service&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.net/docs/fundamentals/services/layout-service&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/data_modeling/json/use_sxa_layout_service_to_model_your_pages_in_json&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_accelerator/data_modeling/json/use_sxa_layout_service_to_model_your_pages_in_json&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-10-25T22:24:03.733" LastActivityDate="2018-10-25T22:24:03.733" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14591" PostTypeId="2" ParentId="14587" CreationDate="2018-10-25T15:36:21.797" Score="2" Body="&lt;p&gt;To extend further Adam's answers and shedding more light on your first question:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What headless even mean in Sitecore Context?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a very layman's term &lt;em&gt;Headless CMS&lt;/em&gt; means decoupling the back-end (The Content Repository) and front-end (The Website) of a Content Management System. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To extent the usability of a CMS its not always mandatory to use both aspects of it. Rather there are many scenarios where just exposing the &lt;strong&gt;&lt;em&gt;Backend&lt;/em&gt;&lt;/strong&gt; to be utilized by multiple channels to achieve Ominchannel Rediness and reduce the Time to Market. This can be done using RESTful APIs, Microservice Architecture etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This &lt;a href=&quot;https://en.wikipedia.org/wiki/Headless_content_management_system&quot; rel=&quot;nofollow noreferrer&quot;&gt;Wiki&lt;/a&gt; explains the difference between Coupled / Decoupled / Headless CMS precisely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like every other CMS, Sitecore is also built with a back end (Databases, Services) and front end (Sitecore IDE). Hence in Sitecore there are 3 possible ways to go &lt;em&gt;Headless&lt;/em&gt; and expose just the back end as described by Adam in his excellent answer i.e. REST APIs, JSS and SXA.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-10-25T15:36:21.797" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14592" PostTypeId="2" ParentId="14585" CreationDate="2018-10-25T16:18:18.943" Score="3" Body="&lt;p&gt;This fix will probably not apply to many others - but our issue was that some of our Visual Studio projects were directly referencing v3 Glass dll's (we aren't sure how this happened as both v3 and v4.5 were referenced using nuget). Because of the conflict between versions, Glass just didn't work &lt;em&gt;at all&lt;/em&gt;. Once we removed the old references, everything worked.&lt;/p&gt;&#xA;" OwnerUserId="98" LastActivityDate="2018-10-25T16:18:18.943" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14593" PostTypeId="1" AcceptedAnswerId="14597" CreationDate="2018-10-25T16:44:52.437" Score="5" ViewCount="627" Body="&lt;p&gt;What is the best way (if any) to add a rendering parameter template to a rendering using JSS?&#xA;I have looked at some of the import processors, but can’t find a simple way of doing this from javascript.&lt;/p&gt;&#xA;" OwnerUserId="4501" LastActivityDate="2018-10-25T19:17:07.503" Title="Code first Rendering Parameter templates" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14594" PostTypeId="1" AcceptedAnswerId="14595" CreationDate="2018-10-25T18:23:20.353" Score="5" ViewCount="1422" Body="&lt;p&gt;When iterating an item's fields', sometimes the API fails to &lt;em&gt;see&lt;/em&gt; a field unless &lt;code&gt;item.Fields.ReadAll()&lt;/code&gt; is executed prior to checking for field existence.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've ran into this multiple times in all my years, and running &lt;code&gt;item.Fields.ReadAll()&lt;/code&gt; always saves the day but I don't have a clear explanation for why it returns fields sometimes, but not others. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my most recent example, I iterated a list of items with the same template. The items without an image set (I believe this happens on other field types as well) would return as if the field didn't exist on the template.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (product.Fields.Select(i =&amp;gt; i.Name).All(i =&amp;gt; i != field.Name))&#xA;  continue;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The line above would trip the &lt;code&gt;continue&lt;/code&gt; on products without an image set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm aware that &lt;code&gt;item[field.Name]&lt;/code&gt; would always return the value of the field regardless of whether or not &lt;code&gt;item.Fields.ReadAll()&lt;/code&gt; was executed prior.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-10-25T18:40:47.187" Title="When is item.Fields.ReadAll() required to be run?" Tags="|fieldtype|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14595" PostTypeId="2" ParentId="14594" CreationDate="2018-10-25T18:29:34.297" Score="8" Body="&lt;p&gt;When you need all fields :-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For performance reasons, Sitecore will not explicitly read fields that have no value, or fields that have only Standard Value defined. The only time you will need to call &lt;code&gt;.ReadAll&lt;/code&gt; is when you plan to loop through the &lt;code&gt;FieldCollection&lt;/code&gt; - pretty much like the scenario you describe above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For reference:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;For the sake of performance, Sitecore will not give you all fields in the FieldCollection in the following code, only fields with explicit values on item level, including empty string:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach(Sitecore.Data.Fields.Field field in Sitecore.Context.Item.Fields)&#xA;{&#xA;  // here you will see only fields with values (even empty string) set on item level&#xA;  // fields with null in them or standard values will not be here.&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;http://sitecoresupport.blogspot.com/2009/01/friday-gotcha-sitecoredataitemsitemfiel.html&quot; rel=&quot;noreferrer&quot;&gt;Friday Gotcha: Sitecore.Data.Items.Item.Fields&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Reading the template definition&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are interested in what fields are defined for your item (template), &lt;code&gt;TemplateManager&lt;/code&gt; also has a method to help you out.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Template template = TemplateManager.GetTemplate(new ID(&quot;&quot;), Sitecore.Context.Database);&#xA;TemplateField[] allFields = template.GetFields(true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Adding &lt;code&gt;(true)&lt;/code&gt; to the &lt;code&gt;GetFields&lt;/code&gt; call, will instruct &lt;code&gt;TemplateManager&lt;/code&gt; to also return base fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially this is what &lt;code&gt;ReadAllFields&lt;/code&gt; does, behind the scenes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://soen.ghost.io/getting-all-the-fields-of-a-template/&quot; rel=&quot;noreferrer&quot;&gt;Getting all the fields of a template in Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;On source&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore retrieves data only when necessary. To ensure that Sitecore retrieves all field values for an item,&#xA;  invoke the Sitecore.Data.Items.Item.ReadAll() method. For example, to iterate the fields of the&#xA;  context item:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Items.Item item = Sitecore.Context.Item;&#xA;item.Fields.ReadAll();&#xA;foreach (Sitecore.Data.Fields.Field field in item.Fields)&#xA;{&#xA; // TODO: process field&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From the: &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/64/content_api_cookbook_sc64_and_later-usletter.pdf&quot; rel=&quot;noreferrer&quot;&gt;Sitecore CMS 6.4 and later Content API Cookbook&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Funnily enough, this is not mentioned in the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/content_api_cookbook-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;6.0 cookbook&lt;/a&gt;. I would have thought this method was around since the beginning of time - but I've found no earlier mention of it.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-10-25T18:40:47.187" LastActivityDate="2018-10-25T18:40:47.187" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14596" PostTypeId="1" CreationDate="2018-10-25T18:55:32.723" Score="1" ViewCount="52" Body="&lt;p&gt;I work with Sitecore 8.2 Update-5 and Sitecore Commerce 8.2.1. Is it possible to trigger an EA plan when an order is updated with a new status?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say I want to trigger a EA plan that sends an email when an order status is changed to shipped. How can this be done? I havent find any event based documentation for this yet, so my idea is to implement some sort of api call from the Commerce Engine when the order status is changed to the Sitecore website instance.&lt;/p&gt;&#xA;" OwnerUserId="2937" LastActivityDate="2018-10-25T18:55:32.723" Title="Trigger EA plan when Sitecore Commerce 8.2.1 orders change status?" Tags="|sitecore-commerce|commerce-engine|engagement-plans|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14597" PostTypeId="2" ParentId="14593" CreationDate="2018-10-25T19:17:07.503" Score="8" Body="&lt;p&gt;This will be supported out of the box in the general availability release of JSS (with Sitecore 9.1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Parameters templates are automatically created for any component that declares params, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;export default function(manifest: Manifest) {&#xA;  manifest.addComponent({&#xA;    name: 'StyleguideComponentParams',&#xA;    params: ['cssClass', 'columns', 'useCallToAction'],&#xA;  });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;becomes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pa3Ts.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pa3Ts.png&quot; alt=&quot;rendering params template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-10-25T19:17:07.503" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14598" PostTypeId="2" ParentId="14587" CreationDate="2018-10-25T19:25:51.900" Score="7" Body="&lt;p&gt;Extra $0.02:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At its core, headless CMS is the decoupling of &lt;em&gt;rendering&lt;/em&gt; from &lt;em&gt;content repository&lt;/em&gt;. Turning the CMS into a part of a more general overarching architecture where many other sources can also have input into the rendering of a site (i.e. PIMs, CRMs, REST services, etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This decoupling frees implementers from having to worry as much about the technology choices of the CMS, as well as provides greater flexibility compared to a CMS that tightly couples rendering and content data - the implementer truly owns the architecture of the rendering environment, with much less influence from the CMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Headless is more or less the CMS response to modern architecture trends where systems are becoming much more distributed and scaled.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-10-25T19:25:51.900" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14599" PostTypeId="1" AcceptedAnswerId="14600" CreationDate="2018-10-26T05:20:54.457" Score="1" ViewCount="656" Body="&lt;p&gt;By default, the page Content rendering under the Tabs item is taking datasource as tabs item only. Instead, i need the rendering to take datasource as current page item. I didn't find any datasource query to refer current page item. Kindly let me know if any such query exists or other alternative for this requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2018-10-26T06:58:53.220" Title="SXA Datasource query to refer current item" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14600" PostTypeId="2" ParentId="14599" CreationDate="2018-10-26T06:58:53.220" Score="6" Body="&lt;p&gt;Open &lt;strong&gt;Page Content&lt;/strong&gt; rendering parameters and use this query&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;query:self::&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The data source will change depending on which page you place your Tabs&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-10-26T06:58:53.220" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14601" PostTypeId="1" CreationDate="2018-10-26T08:33:42.820" Score="1" ViewCount="846" Body="&lt;p&gt;I am working with Sitecore 9.0 update 2 on Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Server is scale out : 1CM and 3CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After email campaign is run, we can receive email but reporting is not working.&#xA;It doesn't have any data is as shown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked in Campaigns table in database, data isn't stored. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WFZpH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WFZpH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;In addition, I saw an error when I open email that is sent by EXM &#xA;1724 11:57:37 ERROR Failed to get a registration result&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.EmailCampaign.Cd&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any suggestion for this issues ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open and click rates show after i open email but report is not updated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bPMzs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bPMzs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3481" LastEditorUserId="3481" LastEditDate="2018-10-29T11:01:24.203" LastActivityDate="2019-03-25T03:51:28.730" Title="EXM report is empty (data is not being captured) in scaled environment" Tags="|azure|sitecore-api|exm|reporting|" AnswerCount="3" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="14602" PostTypeId="2" ParentId="14539" CreationDate="2018-10-26T08:52:59.153" Score="0" Body="&lt;p&gt;I have found an alternative for rendering pdf link media item through Glass.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Editable(x=&amp;gt;x.LinkName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;worked for me.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2018-10-26T08:52:59.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14603" PostTypeId="1" AcceptedAnswerId="14606" CreationDate="2018-10-26T11:55:11.343" Score="0" ViewCount="218" Body="&lt;p&gt;I need to get Order detail using OrderConfirmationId in sitecore commerce storefront side(not in commerce engine). I could only find methods in OrderServiceProvider which requires OrderId to get Order. Is there any api or method from where we can get order by OrderConfirmationId/TrackingNumber. Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3581" LastActivityDate="2018-10-26T12:53:27.383" Title="How to get Order using OrderConfirmationId/TrackingNumber in Sitecore Commerce?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14605" PostTypeId="1" AcceptedAnswerId="14646" CreationDate="2018-10-26T12:43:13.270" Score="0" ViewCount="123" Body="&lt;p&gt;How to get PhoneNumber from Sitecore.Commerce.Plugin.Customers.Customer which is in CustomerDetailsComponent.&lt;/p&gt;&#xA;" OwnerUserId="3581" LastActivityDate="2018-10-30T10:04:59.887" Title="How to get PhoneNumber from Sitecore.Commerce.Plugin.Customers.Customer?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14606" PostTypeId="2" ParentId="14603" CreationDate="2018-10-26T12:53:27.383" Score="2" Body="&lt;p&gt;You can use the normal GetVisitorOrder method from the OrderServiceProvider and pass the OrderConfirmationId into the OrderID. The engine API accepets both the orderid and orderconfirmationid as the key.&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2018-10-26T12:53:27.383" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14608" PostTypeId="2" ParentId="14601" CreationDate="2018-10-26T14:47:17.833" Score="1" Body="&lt;p&gt;Check if the campaign attached to this email is published and if it is available in all languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oQr5q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oQr5q.png&quot; alt=&quot;Email Campaign&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-10-26T14:47:17.833" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="14609" PostTypeId="1" AcceptedAnswerId="14635" CreationDate="2018-10-26T16:11:01.087" Score="2" ViewCount="163" Body="&lt;p&gt;After configuring SIF installer for Sitecore 9.0.2 installation as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# Start Install&#xA;Import-Module SitecoreInstallFramework&#xA;$prefix = &quot;foo&quot;&#xA;...&#xA;&#xA;#install solr cores for sitecore&#xA;$solrParams = @{&#xA;  Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;&#xA;  SolrUrl = $SolrUrl&#xA;  SolrRoot = $SolrRoot&#xA;  SolrService = $SolrService&#xA;  CorePrefix = $prefix&#xA;}&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It generates cores inside Solr with correct prefix, however, when I navigate to Content Editor, I'm getting following error &lt;code&gt;Index sitecore_marketingdefinitions_master was not found&lt;/code&gt;, and after inspecting &lt;code&gt;Sitecore.Marketing.Solr.Index.Web.config&lt;/code&gt; and &lt;code&gt;Sitecore.Marketing.Solr.Index.Master.config&lt;/code&gt; I've noticed that the configuration is pointing to wrong core id.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_marketingdefinitions_web&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What makes me think is the root of the problem above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question is - why does that happen and how do I fix that? As everything seemed to be correctly declared in SIF config and other sub-configs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or am I doing something completely wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="4500" LastActivityDate="2018-10-29T16:24:15.267" Title="Installing Sitecore 9.0.2 SIF generates wrong marketingdefinitions_master configuration" Tags="|solr|configuration|sitecore-install-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14610" PostTypeId="1" CreationDate="2018-10-26T22:53:22.243" Score="1" ViewCount="320" Body="&lt;p&gt;I am using Sitecore 9.0 update 2, and want to track the Page visits with query string. Currently all pages are tracked without query string and my requirement is to track page visit as new page, if it is with dynamic query string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gOWrv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gOWrv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I have multiple page hits with unique query string of &lt;code&gt;/Search.aspx&lt;/code&gt; page, but it all track under one page called &lt;code&gt;/Search.aspx&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="2727" LastEditDate="2018-10-27T16:20:21.350" LastActivityDate="2018-10-27T16:20:21.350" Title="How to track Page Visit with Query String in Sitecore 9 Analytics?" Tags="|experience-analytics|reporting|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14611" PostTypeId="1" CreationDate="2018-10-27T01:06:49.590" Score="2" ViewCount="542" Body="&lt;p&gt;Our company have a team (14 developers) working in a Sitecore based solution. Currently for every dev we have i7 16gb ram 500gb SSD installation in each dev machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now we want to move to a server based solution where we setup 14 VM (windows server 2016) for developers. It is because so that developer can use his/her VM from outside office and also some of the machines have aged.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The primary thing we need to know what would be the recommended hardware specs for such setup. Recommended processor, ram and storage specs I mean. Is one server setup would be enough or not... things like this.&lt;/p&gt;&#xA;" OwnerUserId="3358" LastEditorUserId="2727" LastEditDate="2018-10-27T16:16:51.070" LastActivityDate="2018-11-26T17:02:10.330" Title="Recommended Server specs for multi developer VM - Sitecore 9 development" Tags="|sitecore-commerce|installation|best-practices|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14612" PostTypeId="2" ParentId="14611" CreationDate="2018-10-27T01:52:19.073" Score="1" Body="&lt;p&gt;I worked for a company 4 years ago that required developers to work on a VM in such a way as you describe.  Even though it was hosted on a good spec server for that time, the performance was significantly worse than just using a local machine due to latency. Additionally BSOD were frequent. It also made multi monitor support somewhat painful. I would recommend that you instead purchase laptops so the developers can work remotely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for your question about specs, these days I would recommend&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;4 or 6 core on latest generation processor&lt;/li&gt;&#xA;&lt;li&gt;16GB RAM - 32GB preferred&lt;/li&gt;&#xA;&lt;li&gt;500GB SSD&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-10-27T01:52:19.073" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14614" PostTypeId="1" AcceptedAnswerId="14615" CreationDate="2018-10-27T19:11:36.083" Score="4" ViewCount="153" Body="&lt;p&gt;I've got a few automated email campaigns in Sitecore 9.0 Update-2 that I created from existing pages. I've noticed that if I modify the content or presentation of those pages, the automated emails do not send the latest content; rather, they send an older version of the pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publishing makes no difference--the only way I've been able to get the automated email campaigns to send the latest content is by restarting Sitecore. Is there a cache that I need to clear somewhere?&lt;/p&gt;&#xA;" OwnerUserId="10" LastActivityDate="2018-10-27T19:18:06.947" Title="EXM automated email campaigns showing outdated content" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14615" PostTypeId="2" ParentId="14614" CreationDate="2018-10-27T19:18:06.947" Score="4" Body="&lt;p&gt;EXM Automated Messages keep a Message Cache that stores the contents of the file.  If you are changing content of an Email Item and not seeing the content change when dispatching it is likely because you haven't &lt;strong&gt;Deactivated&lt;/strong&gt; the email message.&lt;/p&gt;&#xA;&lt;p&gt;This can happen if you directly edit an Email Message either by Unprotecting The Email Item, or directly editing a child item though the content editor.&lt;/p&gt;&#xA;&lt;h2&gt;To Fix or to Correctly Edit an Automated Message&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go into EXM UI in Sitecore, click on &lt;strong&gt;Automated&lt;/strong&gt; messages, and find the message you are desiring to edit.&lt;/li&gt;&#xA;&lt;li&gt;Click on the Delivery Tab&lt;/li&gt;&#xA;&lt;li&gt;Press the &lt;strong&gt;Deactivate&lt;/strong&gt; button.&lt;/li&gt;&#xA;&lt;li&gt;Edit the message (if you have additional edits to make)&lt;/li&gt;&#xA;&lt;li&gt;On the Delivery Tab, press the &lt;strong&gt;Activate&lt;/strong&gt; button.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;This will reactivate the message and refresh the Message Cache.&lt;/p&gt;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-10-27T19:18:06.947" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14616" PostTypeId="1" CreationDate="2018-10-29T02:28:22.063" Score="2" ViewCount="792" Body="&lt;p&gt;Publishing error&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DUQn3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DUQn3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I'm getting an exception after every publish from CM.I try to publish a certain templates folder and any of its respective children specifically,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 9.0.2, Solr 6.6.2 and sitecore sxa 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on what could be the cause of this exception would be great or how to solve it would be great. I've searched around for a while but I can't find anyone who got the same error and is using sitecore 9.0.2.&lt;/p&gt;&#xA;" OwnerUserId="4397" LastActivityDate="2018-10-29T02:47:11.010" Title="sitecore 9.0.2 publishing error" Tags="|publishing|" AnswerCount="1" CommentCount="0" ClosedDate="2018-10-29T13:53:01.590" ContentLicense="CC BY-SA 4.0" />
  <row Id="14617" PostTypeId="1" CreationDate="2018-10-29T02:29:24.060" Score="5" ViewCount="3057" Body="&lt;p&gt;I have a Sitecore instance running on 8.1 rev. 151207 on a scaled environment with one CM and 2 CDs. &#xA;I have been noticing that every time I publish content in a specific language(chinese) which has a site associated with it the cache is not cleared for that site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example the chinese version of the site has a site definition for the chinese site. If I inspect on the show config I see that the publish:end:remote does have the site defined as one of the sites that need the cache to be cleared on publish but it doesn`t clear.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot; patch:source=&quot;MyCustomConfig.HtmlCacheClearer.config&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;mySiteChina&amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Inspecting the logs of the CM I do see that the HtmlCacheClearer is getting captured:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;5304 01:38:33 INFO  Job started: Publish to 'web'&#xA;&#xA;5304 01:38:35 INFO  HtmlCacheClearer clearing HTML caches for all sites (11).&#xA;&#xA;5304 01:38:35 INFO  HtmlCacheClearer done.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also I do see the EnableEventQueues set to true in the showconfig of the CD nodes just like suggested &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2259/how-can-i-know-that-the-html-cache-on-the-cd-is-cleared-on-publish&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to note is that I have been watching and as far as I can tell this is happening on the chinese site specifically. Others seem to have the cache cleared on publish just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also before anyone asks I have checked that indeed after the publish the content is in the web db but won`t show in the frontend site until cache is cleared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;:&#xA;Logs on CD show the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Heartbeat 19:28:52 INFO  HtmlCacheClearer clearing HTML caches for all sites (9).&#xA;&#xA;Heartbeat 19:28:52 INFO  HtmlCacheClearer done.&#xA;&#xA;Heartbeat 19:28:52 INFO  RenderingParametersCacheClearer clearing caches for the sites: website.&#xA;&#xA;Heartbeat 19:28:52 INFO  RenderingParametersCacheClearer done.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Accessing the front end from within the server with this log still shows the same content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on what could be wrong here?&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="35" LastEditDate="2018-11-07T19:17:47.860" LastActivityDate="2021-03-02T14:09:53.463" Title="Cache not clearing on publish" Tags="|publishing|caching|" AnswerCount="4" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="14618" PostTypeId="2" ParentId="14616" CreationDate="2018-10-29T02:47:11.010" Score="1" Body="&lt;p&gt;I got similar error when installing sitecore commerce.&#xA;This is a known issue and there is a patch provided by sitecore at &lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.13144/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sitecoresupport/Sitecore.Support.13144/releases&lt;/a&gt;. Copy the Sitecore.Support.13144 dll into bin folder and it should fix the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the patch does not work for you, work around would be to find the event(with name item:moving) in SXA configuration file in App_config and comment it.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qaKfb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qaKfb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-10-29T02:47:11.010" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="14619" PostTypeId="1" CreationDate="2018-10-29T06:55:33.503" Score="1" ViewCount="442" Body="&lt;p&gt;I'm trying to navigate between sites but current language is not consistent between sites under the same tenant, how to unify lang cookie?&lt;/p&gt;&#xA;" OwnerUserId="4232" LastActivityDate="2018-10-29T12:07:38.147" Title="Navigation between sites using same lang cookie" Tags="|multilingual|multisite|cookies|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14620" PostTypeId="2" ParentId="14127" CreationDate="2018-10-29T07:52:51.773" Score="0" Body="&lt;p&gt;Your &lt;code&gt;Site Grouping&lt;/code&gt; setting looks valid (has properly configured &lt;code&gt;Host Name&lt;/code&gt;). Please double check that whole site is published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Such behavior may also happen if your license doesn't support SXA. &lt;/p&gt;&#xA;" OwnerUserId="139" LastActivityDate="2018-10-29T07:52:51.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14621" PostTypeId="1" CreationDate="2018-10-29T10:05:36.423" Score="5" ViewCount="443" Body="&lt;p&gt;I want to add help text to section of the template.&#xA;I have added content to all 3 short description, long description and help link.&lt;/p&gt;&#xA;&lt;p&gt;Templates fields do get all the help text but Template Section is not showing any of the help text.&lt;/p&gt;&#xA;&lt;p&gt;I understand that the help link functionality might not be supported as click event is bind to expand and collapse of the section. But I am not sure about the other 2 help texts.&lt;/p&gt;&#xA;&lt;p&gt;Is there any other configuration that we need to enable to get help text on section Header? Or is there any CSS changes that are required.&lt;/p&gt;&#xA;&lt;p&gt;Images of what is required :&lt;/p&gt;&#xA;&lt;p&gt;Image of Help Text:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/kJ41Y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kJ41Y.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now, I need help Text to show up in the section of the item here which is not showing up as of now:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NLfuD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NLfuD.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="4452" LastEditDate="2022-11-07T10:11:47.240" LastActivityDate="2022-11-07T10:11:47.240" Title="Adding help Text to Section of a template" Tags="|sitecore-client|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14622" PostTypeId="1" AcceptedAnswerId="14623" CreationDate="2018-10-29T10:54:55.963" Score="0" ViewCount="6957" Body="&lt;p&gt;I have a normal MVC Controller (not a Sitecore Rendering) which I am calling in an AJAX request (from a Sitecore page). I need the current Sitecore item there. How can I access it there?&lt;/p&gt;&#xA;" OwnerUserId="3621" LastEditorUserId="342" LastEditDate="2018-10-29T11:48:24.980" LastActivityDate="2018-10-29T13:47:09.063" Title="How do I access Sitecore.Context.Item in normal MVC Controller" Tags="|mvc|ajax|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14623" PostTypeId="2" ParentId="14622" CreationDate="2018-10-29T11:03:48.017" Score="8" Body="&lt;p&gt;If it's an ajax call you just did from javascript to a normal MVC controller, there is no Sitecore.Context.Item there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do is in your original Sitecore rendering write the id of your item to the generated html (e.g. as a &lt;code&gt;data-itemid&lt;/code&gt; attribute) and then pass it with your ajax call back to the server. Thanks to that you will know which item you want to use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your cshtml file just use code like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div data-itemid=&quot;@Sitecore.Context.Item.ID&quot;&amp;gt;&#xA;    Your rendering content&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And in you javascript:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var data = {&#xA;     ItemId = itemId,&#xA;     OtherData = &quot;foo&quot;,&#xA;     OneMore = &quot;bar&quot;&#xA;};&#xA;&#xA;$.ajax({&#xA;  type: &quot;POST&quot;,&#xA;  url: url,&#xA;  data: data&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;create class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PostData&#xA;{&#xA;    public string ItemId {get;set;}&#xA;    OtherData {get;set;}&#xA;    OneMore {get;set;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in your controller:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult AcceptPost(PostData data){&#xA;     var item = Sitecore.Context.Database.GetItem(data.ItemId);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is just a sample - you should adapt this code to your scenario.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-10-29T13:47:09.063" LastActivityDate="2018-10-29T13:47:09.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14624" PostTypeId="1" CreationDate="2018-10-29T11:54:51.383" Score="3" ViewCount="122" Body="&lt;p&gt;Is it possible to migrate xDB data from existing Sitecore 8.2 to a fresh Sitecore 9.x instance using the xDB Data Migration tool? I mean if I install a fresh Sitecore 9.x instance (not upgraded one), can I migrate the analytics data from 8.2 via the migration too having only the Mongo Collection database, or it requires some other data from existing solution (e.g. some data from Master and so on)?&lt;/p&gt;&#xA;" OwnerUserId="4516" LastActivityDate="2018-10-29T12:56:35.477" Title="xDB Data Migration tool and vanila Sitecore instance" Tags="|xdb|xconnect|mongodb|data-exchange-framework|migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14626" PostTypeId="2" ParentId="14619" CreationDate="2018-10-29T12:07:38.147" Score="1" Body="&lt;p&gt;Are the sites on different domains? If so, I suspect it's a cookie issue. By default, Sitecore (and ASP.NET) will use a very specific domain for its cookies to limit the cookies to only that domain. Since cookies cannot be shared across domains, when you switch domains, Sitecore can't see the language cookie anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resolve this, I would recommend creating an &lt;code&gt;httpRequestEnd&lt;/code&gt; pipeline processor that looks for your site's cookie (&lt;code&gt;sitename#lang&lt;/code&gt;) in the &lt;code&gt;Response.Cookies&lt;/code&gt; collection and updates the &lt;code&gt;Domain&lt;/code&gt; on it to be less specific.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Disclaimer: this code has not been tested in this exact form.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The pipeline processor&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Custom.Pipelines.HttpRequestEnd&#xA;{&#xA;    public class UpdateLanguageCookieDomain : HttpRequestProcessor&#xA;    {&#xA;        public override void Process(HttpRequestArgs args)&#xA;        {&#xA;            // For performance and cleanliness reasons, only run this on requests for your site&#xA;            SiteContext currentSite = Context.Site;&#xA;            if (currentSite == null || !currentSite.Name.Equals(&quot;yoursitename&quot;))&#xA;                return;&#xA;&#xA;            if (string.IsNullOrEmpty(args.Context.Request.Url?.DnsSafeHost))&#xA;                return;&#xA;&#xA;            string[] domainChunks = _HttpContext.Request.Url.DnsSafeHost.Split(new[] { '.' }, StringSplitOptions.RemoveEmptyEntries);&#xA;            // If it's only 2 or fewer chunks, then it's safe to leave the cookie domain as the full domain&#xA;            if (domainChunks.Length &amp;gt; 2)&#xA;            {&#xA;                // If it's more than 2 chunks, we should set the cookie domain to the least-restrictive domain possible&#xA;                // e.g. subdomain.domain.com -&amp;gt; [subdomain, domain, com] -&amp;gt; &quot;.domain.com&quot;&#xA;                var domain = $&quot;.{domainChunks[domainChunks.Length - 2]}.{domainChunks[domainChunks.Length - 1]}&quot;;&#xA;&#xA;                foreach (string key in args.Context.Request.Cookies.AllKeys.Where(key =&amp;gt; key == &quot;yoursitename#lang))&#xA;                {&#xA;                    args.Context.Response.Cookies[key].Domain = domain;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;The config patch&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;httpRequestEnd&amp;gt;&#xA;                &amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.EndDiagnostics, Sitecore.Kernel']&quot; type=&quot;Custom.Pipelines.HttpRequestEnd.UpdateLanguageCookieDomain,Custom&quot; /&amp;gt;&#xA;            &amp;lt;/httpRequestEnd&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-10-29T12:07:38.147" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14627" PostTypeId="2" ParentId="14624" CreationDate="2018-10-29T12:56:35.477" Score="1" Body="&lt;p&gt;It should be possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only one thing I see in the xDB Data Migration tool where some data from Master are needed. It's a profile data. To migrate profile score facet properly you need to have all these items under &lt;code&gt;/sitecore/system/Marketing Control Panel/Profiles&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2018-10-29T12:56:35.477" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14628" PostTypeId="2" ParentId="14622" CreationDate="2018-10-29T13:14:36.210" Score="2" Body="&lt;p&gt;In Ajax requests the Sitecore.Context.Item object is &lt;code&gt;NULL&lt;/code&gt;. So you can't use it to get the current page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To work around this, you will need to tell the MVC action what the current context item is using its ID. So you will need to pass this ID from the HTML into your MVC action.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult SubmitForm(string firstName, string lastName, string pageId){&#xA;    var page = Sitecore.Context.Database.GetItem(pageId);&#xA;&#xA;    // `page` variable now has a reference to your current page (Context Item)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The ID in the HTML is usually stored in a hidden input element or a data-attribute on some element. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;input type=&quot;hidden&quot; name=&quot;pageId&quot; value=&quot;@Sitecore.Context.Item.ID.ToString()&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;OR&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div data-pageId=&quot;@Sitecore.Context.Item.ID.ToString()&quot; &amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally in your ajax request function, you will have to get the value of the &lt;code&gt;pageID&lt;/code&gt; and pass it into your ajax request&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-10-29T13:14:36.210" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14629" PostTypeId="2" ParentId="14617" CreationDate="2018-10-29T13:47:55.620" Score="1" Body="&lt;ol&gt;&#xA;&lt;li&gt;Enable the &lt;code&gt;ScalabilitySettings.config&lt;/code&gt; in all of your sitecore instances &lt;/li&gt;&#xA;&lt;li&gt;Make sure to find the  &lt;code&gt;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&lt;/code&gt; in your &lt;code&gt;web.config&lt;/code&gt; and configure with appropriate sites &lt;/li&gt;&#xA;&lt;li&gt;Finally &lt;code&gt;HtmlCacheClearer&lt;/code&gt; does not create any logs.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4517" LastEditorUserId="890" LastEditDate="2018-10-29T15:51:44.060" LastActivityDate="2018-10-29T15:51:44.060" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14631" PostTypeId="1" AcceptedAnswerId="14990" CreationDate="2018-10-29T14:43:54.027" Score="6" ViewCount="576" Body="&lt;p&gt;Using Sitecore 9.0.2, I'm looking to globally enable field-level language fallback. This seems like it should be easy to do, just go to the Field template and check on the box in the standard values. However, this doesn't appear to work properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this article from 2016 about the issue, and Sitecore suggested it was a bug and provided a patch: &lt;a href=&quot;https://learnsitecorebasics.wordpress.com/tag/field-level-fallback/&quot; rel=&quot;noreferrer&quot;&gt;https://learnsitecorebasics.wordpress.com/tag/field-level-fallback/&lt;/a&gt;. But it seems like this is still present today and was never patched in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before I either get Sitecore to send me the v9 equivalent patch, or patch it myself in a similar style using dotPeek to find what needs fixing where, I wanted to check the community to see if others have this issue and there's a better way, beyond manually setting the checkbox on every field.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-11-21T16:54:35.263" Title="Globally enabling field-level fallback" Tags="|language-fallback|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14632" PostTypeId="2" ParentId="6189" CreationDate="2018-10-29T14:59:33.067" Score="-2" Body="&lt;p&gt;One of my colleagues wrote this up as a way to shortcut adding a bunch of new cultures...our project required a bunch of &quot;en-XX&quot; for English versions that didn't exist. This talks about setting up a console app, but I wonder if the principle couldn't be modified into a class library that could be run as a web service call to activate? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.integryx.net/post/2018/02/19/add-a-custom-language-definition-to-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.integryx.net/post/2018/02/19/add-a-custom-language-definition-to-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note, I've not tested this, so I don't know if it'll work for you, but it's programmatic so you can at least get it onto the app service (versus the standard tool I found on the Sitecore marketplace).&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2018-10-29T14:59:33.067" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14633" PostTypeId="1" AcceptedAnswerId="14701" CreationDate="2018-10-29T15:37:06.443" Score="2" ViewCount="419" Body="&lt;p&gt;I have a footer that I want to include by default into the layout rather than be injected as a Sitecore component by a content editor. The footer data, however, should be editable and translatable. Is there any way to achieve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;SiteFooter.js&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import React from 'react';&#xA;import { Text } from '@sitecore-jss/sitecore-jss-react';&#xA;import SiteFooterLink from '../SiteFooterLink';&#xA;&#xA;const SiteFooter = ({ fields }) =&amp;gt; (&#xA;    &amp;lt;footer id=&quot;site-footer&quot; className=&quot;site-footer&quot;&amp;gt;&#xA;        &amp;lt;div className=&quot;container container--content container--med container--centred&quot;&amp;gt;&#xA;            &amp;lt;div className=&quot;site-footer__links&quot;&amp;gt;&#xA;                { fields.links.map((item, index) =&amp;gt; (&#xA;                    &amp;lt;SiteFooterLink key={index} {...item} /&amp;gt;&#xA;                )) }&#xA;            &amp;lt;/div&amp;gt;&#xA;&#xA;            &amp;lt;div className=&quot;site-footer__copyright&quot;&amp;gt;&#xA;                &amp;lt;p className=&quot;copy copy--sml copy--faded copy--flush&quot;&amp;gt;&amp;lt;Text field={fields.copyrightCopy} /&amp;gt; {(new Date()).getFullYear()}&amp;lt;/p&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/footer&amp;gt;&#xA;);&#xA;&#xA;export default SiteFooter;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;SiteFooterLink.js&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import React from 'react';&#xA;import { Link } from '@sitecore-jss/sitecore-jss-react';&#xA;&#xA;const SiteFooterLink = ({ fields }) =&amp;gt;&#xA;  Object.keys(fields).length ?&#xA;    &amp;lt;div className=&quot;site-footer__link&quot;&amp;gt;&#xA;      &amp;lt;Link field={fields.attributes} className=&quot;link&quot; /&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    : null;&#xA;&#xA;export default SiteFooterLink;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The following is my &lt;code&gt;component-content&lt;/code&gt; data file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;en.yml&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;id: site-footer&#xA;name: Site Footer&#xA;componentName: SiteFooter&#xA;fields:&#xA;  copyrightCopy: © Company&#xA;  links:&#xA;  - id: site-footer-link-1&#xA;  - id: site-footer-link-2&#xA;  - id: site-footer-link-3&#xA;  - id: site-footer-link-4&#xA;  - id: site-footer-link-5&#xA;  - id: site-footer-link-6&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To summarise, I want to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Include the footer component directly into the layout.&lt;/li&gt;&#xA;&lt;li&gt;Import/link the &lt;code&gt;component-content&lt;/code&gt; data to the footer.&lt;/li&gt;&#xA;&lt;li&gt;Update the data (translations, links) based on the current language.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I feel like I'm missing something really obvious here. Thanks in advance for any help!&lt;/p&gt;&#xA;" OwnerUserId="4236" LastEditorUserId="70" LastEditDate="2018-10-29T15:54:57.317" LastActivityDate="2018-11-01T16:06:26.757" Title="How to include editable component data into static non-Sitecore component?" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14634" PostTypeId="1" AcceptedAnswerId="14652" CreationDate="2018-10-29T15:42:01.947" Score="6" ViewCount="504" Body="&lt;p&gt;I have a custom xDB/xConnect Interaction Facet that I have created using Sitecore's documentation found here: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/facets/creating-facets/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-model/facets/creating-facets/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I am trying to create a custom rule condition for the purposes of personalization. The rule I am trying to target is to be used during the &lt;em&gt;&lt;strong&gt;Current Interaction&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;h1&gt;Personalization Rule Requirement&lt;/h1&gt;&#xA;&lt;p&gt;Trying to create:&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;where SiteIds is equal to [somevalue] in current interaction&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;h2&gt;Current Rule Code Created&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;    public bool Evaluate(IRuleExecutionContext context)&#xA;    {&#xA;&#xA;        var contact = context.Fact&amp;lt;Contact&amp;gt;();&#xA;        var interaction = contact.Interactions.OrderByDescending(sort =&amp;gt; sort.StartDateTime).FirstOrDefault(i =&amp;gt; !i.GetFacet&amp;lt;SalesforceInteraction&amp;gt;().SiteIds.IsNullOrEmpty());&#xA;        var sfFacet = interaction?.GetFacet&amp;lt;SalesforceInteraction&amp;gt;();&#xA;        var kruxInfo = sfFacet?.GetSiteIdsFromInteraction();&#xA;&#xA;        return kruxInfo != null &amp;amp;&amp;amp; Comparison.Evaluate(kruxInfo.KruxSegment, KruxSegment);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;However, after looking at this, I fret that this won't pick up the &lt;em&gt;current interaction&lt;/em&gt; which is the requirement.&lt;/p&gt;&#xA;&lt;p&gt;When I look at other OOTB rules that specify &lt;em&gt;&lt;strong&gt;current interaction&lt;/strong&gt;&lt;/em&gt;, I get examples like the following:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public string GoalId { get; set; }&#xA;&#xA;private Guid GoalGuid { get; set; }&#xA;&#xA;protected override bool Execute(T ruleContext)&#xA;{&#xA;  Assert.ArgumentNotNull((object) ruleContext, &amp;quot;ruleContext&amp;quot;);&#xA;  Assert.IsNotNull((object) Tracker.Current, &amp;quot;Tracker.Current is not initialized&amp;quot;);&#xA;  Assert.IsNotNull((object) Tracker.Current.Session, &amp;quot;Tracker.Current.Session is not initialized&amp;quot;);&#xA;  Assert.IsNotNull((object) Tracker.Current.Session.Interaction, &amp;quot;Tracker.Current.Session.Interaction is not initialized&amp;quot;);&#xA;  try&#xA;  {&#xA;    this.GoalGuid = new Guid(this.GoalId);&#xA;  }&#xA;  catch&#xA;  {&#xA;    Log.Warn(string.Format(&amp;quot;Could not convert value to guid: {0}&amp;quot;, (object) this.GoalId), (object) this.GetType());&#xA;    return false;&#xA;  }&#xA;  return ((IEnumerable&amp;lt;Page&amp;gt;) Tracker.Current.Session.Interaction.Pages).Any&amp;lt;Page&amp;gt;((Func&amp;lt;Page, bool&amp;gt;) (page =&amp;gt; page.PageEvents.Any&amp;lt;PageEventData&amp;gt;((Func&amp;lt;PageEventData, bool&amp;gt;) (e =&amp;gt; e.PageEventDefinitionId == this.GoalGuid))));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&lt;p&gt;This utilizes &lt;code&gt;Tracker.Current&lt;/code&gt; to get the current interaction.  When I explored using that method, I could NOT figure out how to reference the custom facet information in xConnect using the Tracker.Current methodology.&lt;/p&gt;&#xA;&lt;h1&gt;How do I correctly create this rule?&lt;/h1&gt;&#xA;&lt;h1&gt;EDIT 1:&lt;/h1&gt;&#xA;&lt;p&gt;I've updated my rule evaluation code to look like this, still not sure if this will work.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;    public bool Evaluate(IRuleExecutionContext context)&#xA;    {&#xA;        var contact = context.Fact&amp;lt;Contact&amp;gt;();&#xA;&#xA;        var interaction = Tracker.Current?.Session?.Interaction?.InteractionId == null&#xA;            ? contact.Interactions.OrderByDescending(sort =&amp;gt; sort.StartDateTime).FirstOrDefault(i =&amp;gt; !i.GetFacet&amp;lt;SalesforceInteraction&amp;gt;().SiteIds.IsNullOrEmpty())&#xA;            : contact.Interactions.FirstOrDefault(i =&amp;gt; i.Id.HasValue &amp;amp;&amp;amp; i.Id.Value.Equals(Tracker.Current.Session.Interaction.InteractionId));&#xA;&#xA;        var sfFacet = interaction?.GetFacet&amp;lt;SalesforceInteraction&amp;gt;();&#xA;        var kruxInfo = sfFacet?.GetSiteIdsFromInteraction();&#xA;&#xA;        return kruxInfo != null &amp;amp;&amp;amp; Comparison.Evaluate(kruxInfo.KruxSegment, KruxSegment);&#xA;&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-10-30T13:34:46.613" Title="How do I access a custom Interaction facet using Tracker.Current.Session?" Tags="|xconnect|personalization|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14635" PostTypeId="2" ParentId="14609" CreationDate="2018-10-29T16:24:15.267" Score="1" Body="&lt;p&gt;Turned out everything was correct in the config, the reason for it for not working was an underpowered machine. As during the installation process, it was timing out in some of the steps, therefore creating a chain reaction of very obvious error messages. So, as soon as I switched to a more powerful machine, and executed installation process with exact same configuration files, everything worked flawlessly without a single error message. Altho, during one of the attempts, was getting an exact same error message, but that was due to the misconfigured xconnect path in commerce installation file.&lt;/p&gt;&#xA;" OwnerUserId="4500" LastActivityDate="2018-10-29T16:24:15.267" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14637" PostTypeId="2" ParentId="6189" CreationDate="2018-10-29T17:17:37.940" Score="9" Body="&lt;p&gt;The very unfortunate answer to this question is that &lt;strong&gt;&lt;em&gt;you can't&lt;/em&gt;&lt;/strong&gt; (at least not as of the writing of this answer).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per &lt;a href=&quot;https://blogs.msdn.microsoft.com/benjaminperkins/2018/06/11/implementing-custom-cultures-cultureinfo-localize-azure-app-service/&quot; rel=&quot;noreferrer&quot;&gt;this blog post&lt;/a&gt;, dated June 2018:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You cannot, at this moment, create a custom culture on an Azure App&#xA;  Service.  Cultures are part of the standard operating system and&#xA;  require changes to the registry to modify or add them.  An Azure App&#xA;  Service runs in a sandbox which does not allow code or script to&#xA;  modify the registry.  I do not work on the team responsible for this&#xA;  Windows feature, but I have confidence the team puts lots of diligence&#xA;  into providing the fundamental capabilities to match the requirements&#xA;  of most global cultures.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It goes on to say:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There is some support for language packs on IIS which I write about&#xA;  here.  In this case, you need to install a language pack for the&#xA;  language you want to respond in and the language pack does include the&#xA;  translated version of the IIS errors.  But, you cannot install&#xA;  language packs on an Azure App Service platform yourself.  To find&#xA;  which language packs are on an Azure App Service instance, you can&#xA;  access KUDU/SCM and dup the contents of the D:\inetpub\custerr&#xA;  directory.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-10-29T17:17:37.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14639" PostTypeId="2" ParentId="14633" CreationDate="2018-10-29T19:48:56.783" Score="0" Body="&lt;p&gt;Check out the &lt;a href=&quot;http://jss.sitecore.net/docs/fundamentals/services/dictionary-service&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dictionary Service&lt;/a&gt; and &lt;a href=&quot;https://jss.sitecore.net/docs/techniques/content-translation#translation-of-dictionary-items&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dictionary Import&lt;/a&gt;. Content that's not in a component really only has one place to go, and that's the Dictionary. You could use other services as well (SSC or GraphQL) but that would require working Sitecore-first.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-10-29T19:48:56.783" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14640" PostTypeId="2" ParentId="13670" CreationDate="2018-10-29T19:56:48.180" Score="1" Body="&lt;p&gt;As of Sitecore 8.1 Update-3, users are required to first Lock an item before changing its workflow state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/Sitecore%2081/Sitecore%20Experience%20Platform%2081%20Update3/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 8.1 Update-3 (rev. 160519) Release Notes&lt;/a&gt; the reference number is 96708&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;96708, 450554: Users must now lock an item to change its workflow state.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4520" LastEditorUserId="73" LastEditDate="2018-10-29T21:20:31.947" LastActivityDate="2018-10-29T21:20:31.947" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14641" PostTypeId="2" ParentId="6189" CreationDate="2018-10-29T20:19:59.823" Score="2" Body="&lt;p&gt;This is how I've overcome the custom culture restriction in Azure Web Apps by using URL Rewrite from IIS.&#xA;Here's a snippet from /App_Config/UrlRewriteAndRedirects.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;rule name=&quot;RewriteCustomCultures&quot; enabled=&quot;true&quot;&amp;gt;&#xA; &amp;lt;match url=&quot;^(/?)en-(jp)(/?)(.*)?&quot; /&amp;gt;&#xA; &amp;lt;action type=&quot;Rewrite&quot; url=&quot;en-{CustomCultures:{R:2}}/{R:4}&quot; appendQueryString=&quot;true&quot; /&amp;gt;&#xA; &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here's a snippet from /App_Config/RewriteMaps.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;rule name=&quot;RewriteCustomCultures&quot; enabled=&quot;true&quot;&amp;gt;&#xA; &amp;lt;match url=&quot;^(/?)en-(jp)(/?)(.*)?&quot; /&amp;gt;&#xA; &amp;lt;action type=&quot;Rewrite&quot; url=&quot;en-{CustomCultures:{R:2}}/{R:4}&quot; appendQueryString=&quot;true&quot; /&amp;gt;&#xA; &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Link Provider&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Link Provider must also be modified so that the the URL's generated will use custom cultures instead of the &quot;real&quot; culture inside Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other Culture Info and Localisation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The culture that you have selected may not have the correct number formatting, date / time formatting, Default Calendar Type used (eg. Gregorian, Lunar), or currency formatting. In Windows 10 Control Panel -&gt; Region -&gt; Additional Settings, every single setting that can be overridden can be seen clearly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DGpNy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DGpNy.png&quot; alt=&quot;Localisation formatting in Windows&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to build additional functionality to override each of the settings. Our solution includes having an override checkbox as a configuration Sitecore item for that language to store the exact same settings as Windows Region settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Migrating the content&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now that the solution in place, the content needs to be migrated from one culture to another. To ensure that existing content and Sitecore item language versions remain in tact with the appropriate workflow still in place, I have opted to migrate the content directly using Update SQL queries on the master and publishing target databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The queries are straight forward, just go through every single SQL Table with the Language column, and change en-JP to en-JM. As the content is changed without going through Sitecore, Content Search indexes, Link Databases and Dictionary file are going to be out of sync and rebuild is required. So make sure you have allocated enough content freeze time for this task. We left this running overnight in the production instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check out my blog post&#xA;&lt;a href=&quot;https://medium.com/@Vincent_Lui/sitecore-cloud-migration-from-on-premise-to-microsoft-azure-platform-as-a-service-paas-part-2-9e1cdff2fbd2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/@Vincent_Lui/sitecore-cloud-migration-from-on-premise-to-microsoft-azure-platform-as-a-service-paas-part-2-9e1cdff2fbd2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do shout out if this helps you resolve the problem.&lt;/p&gt;&#xA;" OwnerUserId="2716" LastEditorUserId="2716" LastEditDate="2018-10-29T22:46:07.467" LastActivityDate="2018-10-29T22:46:07.467" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14643" PostTypeId="1" AcceptedAnswerId="14680" CreationDate="2018-10-30T07:04:34.240" Score="2" ViewCount="1589" Body="&lt;p&gt;I am getting the below error in the Sitecore Authroing logs. What is the issue or any configuration problem?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ERROR SitecoreConnectionManager.Error: Message=Invalid URI: The hostname could not be parsed.|Trace=   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)&#xA;   at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext commerceContext, String action, String method, ItemModel itemModel)&#xA;System.UriFormatException: Invalid URI: The hostname could not be parsed.&#xA;   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)&#xA;   at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.ProcessRequest(CommerceContext commerceContext, String action, String method, ItemModel itemModel)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="70" LastEditDate="2018-10-30T19:18:14.140" LastActivityDate="2018-10-31T14:29:45.183" Title="SitecoreConnectionManager.Error: Message=Invalid URI: The hostname could not be parsed" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14646" PostTypeId="2" ParentId="14605" CreationDate="2018-10-30T10:04:59.887" Score="3" Body="&lt;p&gt;I was dotPeeking some of XC code and looks like it should do the trick:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var customerDetails = customer.GetComponent&amp;lt;CustomerDetailsComponent&amp;gt;();&#xA;var view = customerDetails.View?.ChildViews?.FirstOrDefault(v =&amp;gt; v.Name.Equals(&quot;Details&quot;, StringComparison.OrdinalIgnoreCase)) as EntityView;&#xA;if (view != null)&#xA;{&#xA;   ExtendedCustomerPropertiesPolicy propertiesPolicy = context.GetPolicy&amp;lt;CustomerPropertiesPolicy&amp;gt;();    &#xA;   customerDetailsModel.PhoneNumber = view.Properties.FirstOrDefault(x =&amp;gt; x.Name == propertiesPolicy.PhoneNumber)?.Value;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="139" LastActivityDate="2018-10-30T10:04:59.887" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14647" PostTypeId="2" ParentId="14643" CreationDate="2018-10-30T10:38:17.320" Score="2" Body="&lt;p&gt;This is a normal behavior when your Sitecore is restarting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Commerce engine tries to connect to Sitecore to get some data from Commerce Control Panel (items under:  &lt;strong&gt;/sitecore/Commerce/Commerce Control Panel&lt;/strong&gt;) and he can not read data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Commerce Control Panel is installed when you install Commerce Connect. The Commerce Control Panel enables you to configure commerce engines, your storefronts, and business tools (such as Customer and Order Manager, and Pricing and Promotion Manager) by editing content in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-10-30T10:38:17.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14648" PostTypeId="1" CreationDate="2018-10-30T10:59:21.883" Score="3" ViewCount="3038" Body="&lt;p&gt;I have two Azure SQL servers and a failover group that allow Sitecore to refer to the other SQL server in case of disaster recovery.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have just installed Sitecore version 8.2.7 but I cannot login using a failover group name in the ConnectionStrings.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have production environment and DR environment but not sure which SQL server or a failover group should I write in the connection string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="312" LastEditDate="2018-11-06T19:47:01.620" LastActivityDate="2018-11-06T19:47:01.620" Title="What does connection strings look like when we use failover group on Azure?" Tags="|configuration|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14649" PostTypeId="1" AcceptedAnswerId="14696" CreationDate="2018-10-30T11:51:57.063" Score="6" ViewCount="606" Body="&lt;p&gt;I am facing data loss in our Testing server after making some template fields &lt;code&gt;Shared&lt;/code&gt;. However, in my development machine, I still have all the values for those &lt;code&gt;Shared&lt;/code&gt; fields which I have lost in the Test server. Furthermore, in &lt;code&gt;Deployment Property Manager (TDS)&lt;/code&gt;, I have set both content and templates to &lt;code&gt;Deploy Always&lt;/code&gt; and &lt;code&gt;Synchronize All Children&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea how to get those values, or am I missing something?&lt;/p&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="3378" LastEditDate="2018-10-30T17:34:49.903" LastActivityDate="2018-11-01T10:16:39.337" Title="Data loss after changing template fields to shared" Tags="|tds|templates|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14651" PostTypeId="2" ParentId="14617" CreationDate="2018-10-30T12:54:22.610" Score="4" Body="&lt;p&gt;Often, this is caused by the list of sites on the CD does not include the site you are trying to clear. When testing on the CM, everything looks fine because the full list has been deployed there, but if the CD configuration for the cache clear misses some sites then you will see this issue on the CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest comparing the ShowConfig for the &lt;code&gt;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&lt;/code&gt; on CM to that on CD and look for deltas.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-10-30T12:54:22.610" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14652" PostTypeId="2" ParentId="14634" CreationDate="2018-10-30T13:34:46.613" Score="7" Body="&lt;p&gt;In the context of the tracker, interaction facets do not exist. However, you can set custom values on an interaction:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Interaction.CustomValues[&quot;myvalue&quot;] = &quot;blah&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Before 9.X, these custom values were persisted in MongoDB. In 9.X+, you have to map custom values to an interaction facet in xConnect. That facet will never be loaded back into the tracker because there is no such concept as continuing an existing interaction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in your case, I suspect you will want to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set custom values on the current interaction.&lt;/li&gt;&#xA;&lt;li&gt;Whilst your data is in the format of a custom value, use that for personalization.&lt;/li&gt;&#xA;&lt;li&gt;On session end, map the custom values to an interaction facet in xConnect - assuming you want to save this data and not use it exclusively in session and then get rid of it. &lt;a href=&quot;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/interaction-facets.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/interaction-facets.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;PS - Great docs feedback, adding to my list! :)&lt;/p&gt;&#xA;" OwnerUserId="340" LastActivityDate="2018-10-30T13:34:46.613" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14653" PostTypeId="2" ParentId="14649" CreationDate="2018-10-30T13:48:50.690" Score="3" Body="&lt;p&gt;This is a known bug in TDS that was fixed in version 5.7.0.21.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Download/TDS-Classic&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release notes:&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Fixed an issue with shared fields in __Standard Values not being reset properly when an update package is installed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Specifically, the issue happens on templates that have precisely one shared field. Templates with more than one shared field are installed correctly.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Disclaimer&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I recommend upgrading to the latest version 5.7.0.24 to be safe. &lt;em&gt;My recollection is that this was &lt;strong&gt;actually&lt;/strong&gt; fixed in version 5.7.0.22&lt;/em&gt;. 5.7.0.22 sticks in my head and is not listed on the TDS downloads page.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-10-30T13:54:07.883" LastActivityDate="2018-10-30T13:54:07.883" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14655" PostTypeId="1" CreationDate="2018-10-30T15:01:24.527" Score="1" ViewCount="756" Body="&lt;p&gt;I know that adding Master DB In CD Config is not a good practice ,But if i have a scenario of Creating Sitecore Items Dynamically (Ofcourse in Master DB) and Publish it to web ,What do you recommend ?&lt;/p&gt;&#xA;" OwnerUserId="3621" LastActivityDate="2018-10-30T16:46:27.500" Title="Having Master DB in CD Configuration" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14657" PostTypeId="1" AcceptedAnswerId="14670" CreationDate="2018-10-30T15:55:33.997" Score="5" ViewCount="1369" Body="&lt;p&gt;Possible robots are hitting my site at &lt;code&gt;/autodiscover/autodiscover.xml&lt;/code&gt;. This gets a 404 which logs as a Page Event in analytics. My site is getting slammed with these. Robot detection is obviously failing here. Can I block certain URLs from getting logged as a page event?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Difficulty level: max&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to do this on 7.2 and 8.0 and 8.1.&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="312" LastEditDate="2018-11-06T19:19:13.023" LastActivityDate="2018-11-06T19:19:13.023" Title="How do I block a certain URL from analytics?" Tags="|xdb|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14658" PostTypeId="2" ParentId="14655" CreationDate="2018-10-30T16:46:27.500" Score="5" Body="&lt;p&gt;One solution is to utilize the Event Queue. By default, it uses the &lt;code&gt;Core&lt;/code&gt; database and thus, presumably, is accessible from your CM and CD servers.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1) Create payload class&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[DataContract]&#xA;public class ItemCreatorRemoteEvent : IHasEventName&#xA;{&#xA;    public ItemCreatorRemoteEvent(string itemName, string itemData, string eventName)&#xA;    {&#xA;        ItemName = itemName;&#xA;        ItemData = itemData;&#xA;        EventName = eventName;&#xA;    }&#xA;&#xA;    // This is the custom data you will be passing between servers&#xA;    // Any serializable data type (int, string, bool, simple class) can be used&#xA;    [DataMember]&#xA;    public string ItemName { get; protected set; }&#xA;&#xA;    [DataMember]&#xA;    public string ItemData { get; protected set; }&#xA;&#xA;    // add as much information as you need here to pass between servers. You have a 2GB cap, so go nuts&#xA;&#xA;    // This is implemented from IHasEventName and bridges the gap between the remote and local event&#xA;    [DataMember]&#xA;    public string EventName { get; protected set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;2) Set Up Subscriber On All Servers&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Class&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemCreatorSubscriber&#xA;{&#xA;    public void Initialize(PipelineArgs args)&#xA;    {&#xA;        EventManager.Subscribe&amp;lt;ItemCreatorRemoteEvent&amp;gt;(new Action&amp;lt;ItemCreatorRemoteEvent&amp;gt;(OnGenericRemoteEvent&amp;lt;ItemCreatorRemoteEvent&amp;gt;));&#xA;    }&#xA;&#xA;    private static void OnGenericRemoteEvent&amp;lt;TEvent&amp;gt;(TEvent @event) where TEvent : IHasEventName&#xA;    {&#xA;        RemoteEventArgs&amp;lt;TEvent&amp;gt; remoteEventArgs = new RemoteEventArgs&amp;lt;TEvent&amp;gt;(@event);&#xA;        Event.RaiseEvent(@event.EventName, (IPassNativeEventArgs) remoteEventArgs);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Patch Config&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&quot;MyNamespace.ItemCreatorSubscriber, MyDll&quot; method=&quot;Initialize&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;3) Create Item Creation Code&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Class&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemCreatorEvent&#xA;{&#xA;    public void CreateItem(object sender, EventArgs args)&#xA;    {&#xA;        var itemCreatorArgs = args as RemoteEventArgs&amp;lt;ItemCreatorRemoteEvent&amp;gt;;&#xA;        if (itemCreatorArgs == null)&#xA;        throw new InvalidOperationException(&quot;Unexpected event args: {0}&quot;.FormatWith((object) args.GetType().FullName));&#xA;&#xA;        // verify you're on the CM server (this event will fire on all servers). &#xA;        var isCmServer = Settings.GetBoolSetting(&quot;IsCmServer&quot;);&#xA;&#xA;        // Item creation code here&#xA;        if(isCmServer){&#xA;          // create your item&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Patch Config&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;events&amp;gt;&#xA;            &amp;lt;event name=&quot;itemCreator:remote&quot;&amp;gt;&#xA;                &amp;lt;handler type=&quot;MyNamespace.ItemCreatorEvent, MyDll&quot; method=&quot;CreateItem&quot; /&amp;gt;&#xA;            &amp;lt;/event&amp;gt;&#xA;        &amp;lt;/events&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;4) Trigger The Event From a CD Server&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var remoteEvent = new ItemCreatorRemoteEvent(&quot;my item name&quot;, &quot;my item data&quot;, &quot;itemCreator:remote&quot;);&#xA;Sitecore.Eventing.EventManager.QueueEvent&amp;lt;ItemCreatorRemoteEvent&amp;gt;(remoteEvent); // default is to run `globally`, i.e. all servers but the one it was triggered from.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;You will need a bit of logic to trigger the event from a CD server- how you do so is up to you. Maybe a form submit action?&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main things to focus on are the item payload (&lt;code&gt;ItemCreatorRemoteEvent&lt;/code&gt;) and the &lt;code&gt;ItemCreatorEvent &amp;gt; CreateItem&lt;/code&gt; method. The payload gets serialized into the &lt;code&gt;event queue&lt;/code&gt; table in the &lt;code&gt;Core&lt;/code&gt; database. The &lt;code&gt;CreateItem&lt;/code&gt; method will need to target the CM instance with a setting or something as outlined in the comments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorerap.wordpress.com/2017/12/29/simple-remote-events-in-sitecore/&quot; rel=&quot;noreferrer&quot;&gt;More detailed information here.&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-10-30T16:46:27.500" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14659" PostTypeId="2" ParentId="5421" CreationDate="2018-10-30T17:36:22.927" Score="2" Body="&lt;p&gt;If you have set the Sitecore setting &lt;code&gt;ContentTesting.AlwaysShowTestCandidateNotification&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; but you still do not see the &quot;Create a test&quot; link, it may be because that link will only display if the current item &lt;strong&gt;does not have workflow&lt;/strong&gt;.  If you have workflow on the item, then you will need to use the workflow approach to content testing (which means you may need to create some custom workflow steps).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/analyzing_and_reporting/experience_optimization__content_testing/setting_up_tests/adding_content_testing_to_a_workflow&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's documentation&lt;/a&gt; for setting up a testing workflow step.&lt;/p&gt;&#xA;" OwnerUserId="817" LastActivityDate="2018-10-30T17:36:22.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14660" PostTypeId="1" AcceptedAnswerId="14661" CreationDate="2018-10-30T18:28:27.860" Score="10" ViewCount="2775" Body="&lt;p&gt;What is the difference between Sitecore Pipelines and a Sitecore Event Handlers for a specific event? When should we customise a pipeline and when should we add a new handler?&lt;/p&gt;&#xA;" OwnerUserId="4522" LastActivityDate="2020-08-14T15:06:41.697" Title="Pipelines vs Event Handlers" Tags="|pipelines|events|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14661" PostTypeId="2" ParentId="14660" CreationDate="2018-10-30T18:50:19.957" Score="9" Body="&lt;h3&gt;Pipeline&lt;/h3&gt;&#xA;&lt;p&gt;To me pipelines are about process. Do this, then this. Allowing you to insert and remove processes simply with patch configs. A great example of this is &lt;code&gt;login user pipeline&lt;/code&gt;. Your pipeline would be:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Log user in&lt;/li&gt;&#xA;&lt;li&gt;Identify user in xDB&lt;/li&gt;&#xA;&lt;li&gt;Add logging info for user&lt;/li&gt;&#xA;&lt;li&gt;Add user to marketing automation for returning customer&lt;/li&gt;&#xA;&lt;li&gt;etc....&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;It is a process flow that you can reorder and add to/subtract from.&lt;/p&gt;&#xA;&lt;h3&gt;Event&lt;/h3&gt;&#xA;&lt;p&gt;Events are one off, very focused actions. Like item:saved vs item:saving. item:renamed vs item:duplicated. They are extremely focused. Although you could tie many events together in the config, they are not very process oriented. It is more about data manipulation than process.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-10-30T18:50:19.957" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14662" PostTypeId="2" ParentId="14660" CreationDate="2018-10-30T19:16:24.393" Score="5" Body="&lt;p&gt;To add to &lt;a href=&quot;https://sitecore.stackexchange.com/a/14661&quot;&gt;@Chris Auer&lt;/a&gt;, think of it this way:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What is the difference&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;An &lt;strong&gt;event&lt;/strong&gt; is a reaction to something happening in the system. This could be a user interaction, like &lt;code&gt;item:saved&lt;/code&gt;, &lt;code&gt;item:created&lt;/code&gt;, etc, or it could be raised by another process in the system like &lt;code&gt;publish:end&lt;/code&gt; or &lt;code&gt;publish:end:remote&lt;/code&gt;. And there can be many handlers for a single event, just look at some of the &lt;code&gt;item:&lt;/code&gt; events and how many handlers SXA adds to them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key point here is that an event reacts to something else being done in the platform.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A &lt;strong&gt;pipeline&lt;/strong&gt; requires something to start that process, but as Chris mentioned, the pipeline is a pattern that starts with some data and then sends that data through various processors to consume, manipulate or add to that data. So you might think of &lt;code&gt;mvc.getPageItem&lt;/code&gt; pipeline; that pipeline takes the initial data about the page context and each processor does something with that data, from setting the language, trying different methods to resolve the page item to hooking into the Content Testing module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key for pipelines is that it's processing data.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;When should I use event handlers/pipelines&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Now we have the distinction, it should be fairly easy to know what you want to use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to react to an existing event that occurs in the system, you probably want to create an event handler. It is important to remember that hooking into some of the item event handlers can seriously affect your editor performance. You should make sure the code is as performant as you can get it. Don't take shortcuts just because it won't affect the delivery of the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for pipelines, its unusual to create a completely custom pipeline, although it does happen. More often you are hooking into an existing pipeline and adding a processor there. So if you find that you need to change the way something in Sitecore functions, say for example you want to extend the &lt;code&gt;source&lt;/code&gt; property on a &lt;code&gt;TreeList&lt;/code&gt;, then you would be creating a pipeline processor to do that.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="288" LastEditDate="2019-09-23T17:48:06.580" LastActivityDate="2019-09-23T17:48:06.580" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14663" PostTypeId="2" ParentId="10798" CreationDate="2018-10-30T22:18:10.370" Score="8" Body="&lt;p&gt;Here is a modified version of @vzaverugo's script to account for when you have multiple placeholders with the same name in a single rendering. Fortis will append an incremental seed suffix. Sitecore 9 also has a concept of an incremental seed suffix. This modified script can account for that, as long as you setup your Sitecore 9 seeds to match the same increments that Fortis uses.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# specify your path here. It is most likely be page templates and page content&#xA;$startPath = &quot;/sitecore/content&quot;&#xA;Get-ChildItem -Path $startPath -Recurse | ForEach-Object {&#xA;    $item = $_;    &#xA;    Get-Rendering -Item $_ -FinalLayout | ForEach-Object {&#xA;        $rendering = $_;&#xA;        $matches = [regex]::Matches($_.Placeholder,'(?&amp;lt;guid&amp;gt;_[\d\w]{8}\-(?:[\d\w]{4}\-){3}[\d\w]{12})(?&amp;lt;seed&amp;gt;_?\d?)')&#xA;&#xA;        if ($matches.Success) {&#xA;&#xA;            Write-Host &quot;Match found in item - [$($item.Paths.FullPath)]&quot;&#xA;            Write-Host &quot;Old Placeholder - [$($rendering.Placeholder)]&quot;&#xA;&#xA;            $newPlaceholder = $rendering.Placeholder&#xA;&#xA;            $matches | ForEach-Object {&#xA;                $match = $_&#xA;                $renderingId = $match.Value&#xA;&#xA;                if (!([string]::IsNullOrEmpty($match.Groups[&quot;seed&quot;])))&#xA;                {&#xA;                    $seedSuffix = $match.Groups[&quot;seed&quot;].ToString()&#xA;                    $seedValue = $seedSuffix.Trim(&quot;_&quot;)&#xA;&#xA;                    # trim seed suffix off end &#xA;                    $unsuffixedRenderingId = $renderingId.ToString().TrimEnd($seedSuffix)&#xA;                    # add seed value to end &#xA;                    $newPlaceholder = $newPlaceholder.Replace($renderingId, &quot;{$($unsuffixedRenderingId.ToUpper())}-$seedValue&quot;)&#xA;                }&#xA;                else&#xA;                {&#xA;                    $newPlaceholder = $newPlaceholder.Replace($renderingId, &quot;{$($renderingId.ToUpper())}-0&quot;)&#xA;                }&#xA;            }&#xA;&#xA;            $newPlaceholder = $newPlaceholder.Replace('{_', &quot;-{&quot;)&#xA;            Write-Host &quot;New Placeholder - [$($newPlaceholder)]&quot;&#xA;&#xA;            # comment following 2 lines if you don't want to do replacement, but want to have log of upcoming placeholder changes&#xA;            $rendering.Placeholder = $newPlaceholder&#xA;            Set-Rendering -Item $item -Instance $rendering -FinalLayout&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4524" LastEditorUserId="4524" LastEditDate="2018-10-30T22:23:54.203" LastActivityDate="2018-10-30T22:23:54.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14664" PostTypeId="2" ParentId="10798" CreationDate="2018-10-31T00:30:48.807" Score="0" Body="&lt;p&gt;I wrote an aspx page for this which i used for migrating my project which can be found here &lt;a href=&quot;https://github.com/jeroendegroot/MigrateDynamicPlaceholders&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/jeroendegroot/MigrateDynamicPlaceholders&lt;/a&gt; It is been a while ago but all existing solutions i found then did not deal with final layouts and nested dynamic placeholders correctly.&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-10-31T00:30:48.807" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14665" PostTypeId="2" ParentId="14648" CreationDate="2018-10-31T01:45:00.570" Score="2" Body="&lt;p&gt;When you add a failover group to an Azure SQL Server, you'll define the Primary and Secondary servers and then be able to configure which databases are included/excluded from the failover group.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once configured correctly, you will be able to see the details in the Azure Portal (SQL Servers &gt;  &gt; Failover Groups blade).  On the Configuration details tab the primary and secondary servers will be displayed and their statuses.  Additionally, 2 endpoints are listed.  One for read/write (the primary) and one for read only (the secondary).  You'll almost certainly require the read/write endpoint.  It'll look something like:&#xA;&lt;code&gt;&amp;lt;yourfailovergroupname&amp;gt;.database.windows.net&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then use this endpoint in your connection string and let azure handle any failovers.  You'll always connect to the Primary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially you can then swap out the failover group endpoint for what used to be the server name.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A basic connection string example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add name=&quot;core&quot; connectionString=&quot;Data Source=&amp;lt;failovergroup&amp;gt;,1433;Initial Catalog=&amp;lt;databasename&amp;gt;;User Id=&amp;lt;user&amp;gt;;Password=&amp;lt;password&amp;gt;;&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have your connection strings set up and working you can test the connectivity to both regions using the &lt;em&gt;Failover&lt;/em&gt; fuctionality in the Azure portal on the failover group blade for the server.  It's usually pretty seamless.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an msdn article with tips &amp;amp; tricks for using failover groups, should you have any other issues relating to the actual logins.  But without further info on the nature of the connection issue it's hard to recommend if it's appropriate to your situation.&#xA;&lt;a href=&quot;https://blogs.msdn.microsoft.com/azuresqldbsupport/2018/05/21/tips-tricks-what-you-need-to-do-to-creat-sql-login-to-authenticate-to-azure-sql-dbs-members-in-auto-failover-group/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/azuresqldbsupport/2018/05/21/tips-tricks-what-you-need-to-do-to-creat-sql-login-to-authenticate-to-azure-sql-dbs-members-in-auto-failover-group/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2018-10-31T01:45:00.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14666" PostTypeId="1" CreationDate="2018-10-31T03:13:20.903" Score="1" ViewCount="407" Body="&lt;p&gt;I've got a third party MVC app that I would like to integrate into the Sitecore 7.2 desktop so that users logging into Sitecore can use it. I've seen the answers for using &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6405/i-need-to-integrate-a-controller-from-a-compiled-dll-into-a-controller-i-can-bui&quot;&gt;compiled DLLs as renderings&lt;/a&gt; and &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9087/how-can-i-create-an-app-and-insert-it-in-the-desktop&quot;&gt;adding apps to the desktop using Sitecore 8 and Webforms&lt;/a&gt; but neither is the right fit. I've gone into the Core DB and added a new application, linking it to the app's controller with the &lt;code&gt;/api/sitecore/{controller}/{action}&lt;/code&gt; url format, but all I get out is an error that &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The controller can either not be found or it doesn't implement&#xA;  IController&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When run by itself the web app works just fine. I've removed the elements that would conflict with my Sitecore app's web frontend, like &lt;code&gt;App_Start&lt;/code&gt; and &lt;code&gt;Global.asax&lt;/code&gt;. Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I'm not asking, how to code Sitecore using MVC, I just have a different project in the solution that I'd like to run in a window in the client.&lt;/p&gt;&#xA;" OwnerUserId="173" LastEditorUserId="2727" LastEditDate="2018-10-31T08:35:39.470" LastActivityDate="2018-10-31T11:12:24.153" Title="How can I integrate/embed MVC app into the Sitecore desktop?" Tags="|sitecore-client|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14667" PostTypeId="1" AcceptedAnswerId="14668" CreationDate="2018-10-31T06:33:31.393" Score="2" ViewCount="862" Body="&lt;p&gt;Found the below error in log while indexing sitecore azure indexes.Once we get this error indexing gets stuck and there will be multiple errors in log and none of the items get indexed.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Data template '{DD22F1B3-BD87-4DB2-9E7D-F7A496888D43}' not found for item '/sitecore/system/Modules/PowerShell/Script Library/SXA/SXA - Upgrade/Functions/Cmdlets/Scripts/Get-PendingUpgradeScripts' in 'web' database&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="73" LastEditDate="2018-10-31T09:36:09.740" LastActivityDate="2018-10-31T12:31:33.747" Title="Data template not found for item in web database" Tags="|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14668" PostTypeId="2" ParentId="14667" CreationDate="2018-10-31T06:57:40.680" Score="3" Body="&lt;p&gt;I got this issue fixed with the help of sitecore support and wanted to post it here so that it can be useful to other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During Analysis i found that the missing template in web database was present in the master database but it was a orphan item (Modules folder was missing in templates) so when i published the templates the item didn't get published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then i found out that this issue is related to bug #10813 in Web Deploy package for Sitecore Powershell Extension 4.6 and 4.7 version.This issue was already resolved in web deploy package for Sitecore powershell Extension 4.7.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The cause of this issue is the fact that there is no /sitecore/templates/Modules folder which contains the templates for PSE in your solution and as a result, all items based on these templates have the wrong path to their templates.&#xA;(for example /PowerShell Console/PowerShell Script Library instead of /sitecore/templates/Modules/PowerShell Console/PowerShell Script Library)&#xA;In order to resolve this issue please perform the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Backup your master DB.&lt;/li&gt;&#xA;&lt;li&gt;Perform the below code for master DB in order to create the missing folder (item).&lt;/li&gt;&#xA;&lt;li&gt;Clear the cache using &lt;a href=&quot;http://HOSTNAME/sitecore/admin/Cache.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://HOSTNAME/sitecore/admin/Cache.aspx&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Republish the site to the web.&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the indexes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;SQL Script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;INSERT INTO [dbo].[Items] (ID, Name, TemplateID, MasterID, ParentID, Created, Updated)&#xA;    VALUES ('{E6904C9A-3ACE-4B53-B465-4C05C6B1F1CC}', 'Modules', '{239F9CF4-E5A0-44E0-B342-0F32CD4C6D8B}', '{00000000-0000-0000-0000-000000000000}', '{3C1715FE-6A13-4FCF-845F-DE308BA9741D}', GETUTCDATE(), GETUTCDATE());&#xA;&#xA;INSERT INTO [dbo].[VersionedFields] (ItemId, FieldId, Language, Version, Value, Created, Updated)&#xA;    VALUES ('{E6904C9A-3ACE-4B53-B465-4C05C6B1F1CC}', '{D9CF14B1-FA16-4BA6-9288-E8A174D4D522}', 'en', '1', '20180123T172226Z', GETUTCDATE(), GETUTCDATE());&#xA;INSERT INTO [dbo].[VersionedFields] (ItemId, FieldId, Language, Version, Value, Created, Updated)&#xA;    VALUES ('{E6904C9A-3ACE-4B53-B465-4C05C6B1F1CC}', '{25BED78C-4957-4165-998A-CA1B52F67497}', 'en', '1', '20180123T172226Z', GETUTCDATE(), GETUTCDATE());&#xA;INSERT INTO [dbo].[VersionedFields] (ItemId, FieldId, Language, Version, Value, Created, Updated)&#xA;    VALUES ('{E6904C9A-3ACE-4B53-B465-4C05C6B1F1CC}', '{BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}', 'en', '1', 'sitecore\admin', GETUTCDATE(), GETUTCDATE());&#xA;&#xA;INSERT INTO [dbo].[VersionedFields] (ItemId, FieldId, Language, Version, Value, Created, Updated)&#xA;    VALUES ('{E6904C9A-3ACE-4B53-B465-4C05C6B1F1CC}', '{8CDC337E-A112-42FB-BBB4-4143751E123F}', 'en', '1', '47d6c7a0-f99a-4c5a-8ff1-153af2e12acb', GETUTCDATE(), GETUTCDATE());&#xA;&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After performing the above steps the issue got resolved.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="342" LastEditDate="2018-10-31T12:31:33.747" LastActivityDate="2018-10-31T12:31:33.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14669" PostTypeId="1" CreationDate="2018-10-31T08:37:03.127" Score="1" ViewCount="400" Body="&lt;p&gt;We are facing an issue with media library  during our deployment using Octopus. We have a publish site step in the deployment steps. The issue is media items are not showing in the website after the deployment. But once we go to that environment and republish the same, we are able to see the images. So after the deployment, when I checked the web database, I could see that the Media Item is there but no image is present in that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this known issue or any steps to fix this.&lt;/p&gt;&#xA;" OwnerUserId="950" LastEditorUserId="73" LastEditDate="2018-10-31T08:56:31.060" LastActivityDate="2018-10-31T08:56:31.060" Title="Media items not appearing on website after deployment" Tags="|media-library|tds|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14670" PostTypeId="2" ParentId="14657" CreationDate="2018-10-31T08:48:34.513" Score="4" Body="&lt;p&gt;Well the real fix would be to re-configure how AutoDiscover is set up on your Exchange Server/Outlook clients. For information on that, go to &lt;a href=&quot;https://blogs.technet.microsoft.com/rmilne/2011/10/21/exchange-the-autodiscover-web-service/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Exchange &amp;amp; The Autodiscover Web Service&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However your question asks specifically how to ignore certain URLs from being logged. I don't know of a way to do that, but I &lt;em&gt;can&lt;/em&gt; suggest a way to have this request ignored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, make sure Attribute Routing is enabled.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;routes.MapMvcAttributeRoutes();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then add the following controller to your solution.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AutoDiscoverController : Controller&#xA;{&#xA;    [Route(&quot;autodiscover/autodiscover.xml&quot;)]&#xA;    public ActionResult Index()&#xA;    {&#xA;        return new HttpStatusCodeResult(HttpStatusCode.RequestTimeout);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is also a config level approach where you mark the above request to a &lt;em&gt;static handler&lt;/em&gt; in IIS. As such, the request never makes it to your application.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;AutoDiscoverXmlFileHandler&quot; path=&quot;autodiscover.xml&quot; verb=&quot;GET&quot; type=&quot;System.Web.Handlers.TransferRequestHandler&quot; preCondition=&quot;integratedMode,runtimeVersionv4.0&quot; responseBufferLimit=&quot;0&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://stackoverflow.com/questions/46118457/using-a-route-to-return-408-on-a-specific-file-name-request&quot;&gt;Using a route to return 408 on a specific file name request&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-10-31T08:48:34.513" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14671" PostTypeId="2" ParentId="14666" CreationDate="2018-10-31T11:12:24.153" Score="1" Body="&lt;p&gt;Application in Sitecore backend works in a same way as Sitecore pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create Layout(under /sitecore/layout/Layouts) in core database (as path for layout you can put address of you app. Make sure that you are able to access that path in browser.)&lt;/li&gt;&#xA;&lt;li&gt;Create Application item(under /sitecore/content/Applications) in core database and set layout on this item from previous step&lt;/li&gt;&#xA;&lt;li&gt;Create shortcut for your app to display it either in Sitecore menu(under /sitecore/content/Documents and settings) or in LaunchPad (under /sitecore/Client/Applications/LaunchPad)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-10-31T11:12:24.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14672" PostTypeId="1" CreationDate="2018-10-31T11:15:30.690" Score="1" ViewCount="59" Body="&lt;p&gt;I need to do some customization on sitecore 9.0 form's field deletion. Any idea what i need to extend or override ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ujoak.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ujoak.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1884" LastActivityDate="2018-10-31T12:22:24.263" Title="Sitecore 9 Form's field delete event" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14673" PostTypeId="1" CreationDate="2018-10-31T11:21:10.250" Score="1" ViewCount="434" Body="&lt;p&gt;When attempting to rebuild the links database on the master database I'm getting the following exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: RebuildLinkDatabasesIndex|System.InvalidOperationException: This SqlTransaction has completed; it is no longer usable.&#xA;  at System.Data.SqlClient.SqlTransaction.ZombieCheck()&#xA;  at System.Data.SqlClient.SqlTransaction.Rollback()&#xA;  at Sitecore.Data.DataProviders.Sql.DataProviderTransaction.Dispose()&#xA;  at Sitecore.Links.SqlLinkDatabase.&amp;lt;&amp;gt;c__DisplayClassf.&amp;lt;UpdateLinks&amp;gt;b__d()&#xA;  at Sitecore.Data.DataProviders.NullRetryer.ExecuteNoResult(Action action, Action recover)&#xA;  at Sitecore.Links.SqlLinkDatabase.UpdateLinks(Item item, ItemLink[] links)&#xA;  at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;  at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;  at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;  at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;  at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;  at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;  at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;  at Sitecore.Links.LinkDatabase.Rebuild(Database database)&#xA;  at Sitecore.Shell.Applications.Dialogs.RebuildLinkDatabase.RebuildLinkDatabaseForm.Builder.Build()|Job ended: RebuildLinkDatabasesIndex (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It suggests in &lt;a href=&quot;https://www.linkedin.com/pulse/20140831114920-198423535-cleaning-up-and-optimizing-sitecore-databases/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; that this is due to a Sql timeout, controlled by the following setting:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&quot;DefaultSQLTimeout&quot; value=&quot;00:05:00&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the error appears after approximately 2 minutes, not 5.&lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2018-10-31T11:21:10.250" Title="Rebuilds Links Database exception: This SqlTransaction has completed; it is no longer usable" Tags="|sql-database|link-database|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14675" PostTypeId="1" CreationDate="2018-10-31T12:20:43.183" Score="0" ViewCount="3759" Body="&lt;p&gt;I want to find the ancestor of an item that matches the given template id using Powershell. Can anyone help me in achieving this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scenario:&lt;/strong&gt; I'm on Item A, I get the current item details using &lt;code&gt;gi .&lt;/code&gt;. From item A I want to navigate upwards and find the ancestor with matching TemplateID. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Home&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-- Parent 1 &#xA;&#xA;  -- Parent 2&#xA;&#xA;     -- Item A&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4296" LastEditorUserId="490" LastEditDate="2018-10-31T16:35:34.367" LastActivityDate="2018-11-01T10:38:04.737" Title="Traverse to parent item that matches the given template id using Sitecore Powershell Extension" Tags="|powershell-extensions|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14676" PostTypeId="2" ParentId="14672" CreationDate="2018-10-31T12:22:24.263" Score="4" Body="&lt;p&gt;You can add an event on trigger:form:Delete&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;trigger:form:Delete&quot;&amp;gt;&#xA;   &amp;lt;handler type=&quot;yourclass, yourdll&quot; method=&quot;yourmethod&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/a3MS2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/a3MS2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-10-31T12:22:24.263" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14677" PostTypeId="2" ParentId="12587" CreationDate="2018-10-31T12:28:36.970" Score="3" Body="&lt;p&gt;Another option is to use &lt;code&gt;$item.Fields.get_Item(&quot;Event title&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2095" LastActivityDate="2018-10-31T12:28:36.970" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14678" PostTypeId="1" AcceptedAnswerId="14682" CreationDate="2018-10-31T13:16:14.223" Score="3" ViewCount="515" Body="&lt;p&gt;I have a requirement where Authors don't want to go to media item to publish it and then then actual content item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publish related items has been disabled as it is publishing way more items than required and in some cases publishing items that are not supposed to go at that point of time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way/module to enable users to Publish Related Media Items only? This way we can have at least some control on the items that are getting published along with the content item.&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="342" LastEditDate="2018-10-31T16:35:07.530" LastActivityDate="2018-10-31T16:35:07.530" Title="Sitecore Related Items to publish only Related Media items of an item" Tags="|publishing|related-items|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14679" PostTypeId="2" ParentId="14678" CreationDate="2018-10-31T13:39:06.987" Score="0" Body="&lt;p&gt;Yes. You can take a look at &lt;code&gt;Sitecore.Buckets.Pipelines.Publish.AddBucketFoldersToQueue&lt;/code&gt; class. It adds bucket folder to publishing queue whenever item from the bucket is published. Then add your implementation in &lt;code&gt;&amp;lt;publishing&amp;gt;&lt;/code&gt; pipeline in appropriate place.&#xA;&lt;a href=&quot;http://www.nttdatasitecore.com/Blog/2016/July/Customization-using-Sitecore-Publishing-Pipeline&quot; rel=&quot;nofollow noreferrer&quot;&gt;Blog post&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2095" LastActivityDate="2018-10-31T13:39:06.987" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14680" PostTypeId="2" ParentId="14643" CreationDate="2018-10-31T13:52:23.370" Score="8" Body="&lt;p&gt;It's not a normal behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at the error message, you can see that problem is related to:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It meant that when any block tries to send request to Sitecore via &lt;code&gt;SitecoreConnectionManager&lt;/code&gt;, and &#xA;&lt;code&gt;SitecoreConnectionManager&lt;/code&gt; processes request via &lt;code&gt;SitecoreConnectionManager.ProcessRequest&lt;/code&gt; and couldn't create Uri:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SitecoreConnectionPolicy policy = commerceContext.GetPolicy&amp;lt;SitecoreConnectionPolicy&amp;gt;();&#xA;Uri address = new Uri(string.Format(&quot;https://{0}&quot;, (object) policy.Host));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From the first look it must works correctly, but...not...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Why do you see this error?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Commerce Engine OOTB has &lt;code&gt;AdventureWorks&lt;/code&gt;, &lt;code&gt;Habitat&lt;/code&gt;, any your custom environment(s) and ... &lt;strong&gt;Global&lt;/strong&gt; environment&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Engine tries to send request and get any item from Sitecore, but &lt;code&gt;commerceContext&lt;/code&gt; has &lt;code&gt;Environment&lt;/code&gt; property which is set to &lt;code&gt;GlobalEnvironment&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you will open &lt;code&gt;Global.json&lt;/code&gt; file you will see that &lt;code&gt;SitecoreConnectionPolicy&lt;/code&gt; is missing for &lt;code&gt;GlobalEnvironment&lt;/code&gt; and for sure &lt;code&gt;policy.Host&lt;/code&gt; is equal null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to fix it?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to copy and paste configuration below to &lt;code&gt;Global.json&lt;/code&gt; file to &lt;code&gt;Policies&lt;/code&gt; list:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;        &quot;$type&quot;: &quot;Sitecore.Commerce.Plugin.Management.SitecoreConnectionPolicy, Sitecore.Commerce.Plugin.Management&quot;,&#xA;        &quot;Host&quot;: &quot;{hostname.com}&quot;,&#xA;        &quot;SitecoreDatabase&quot;: &quot;master&quot;,&#xA;        &quot;UserName&quot;: &quot;admin&quot;,&#xA;        &quot;Domain&quot;: &quot;sitecore&quot;,&#xA;        &quot;Password&quot;: &quot;b&quot;,&#xA;        &quot;ConnectionLeaseTimeout&quot;: 60000,&#xA;        &quot;AuthRequestUrl&quot;: &quot;sitecore/api/ssc/auth/login&quot;,&#xA;        &quot;Protocol&quot;: &quot;https&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to change Host, UserName, Password base on your configuration.&#xA;Also you can find your existing configuration in &lt;code&gt;PlugIn.Content.PolicySet-1.0.0.json&lt;/code&gt; file and copy it to &lt;code&gt;Global.json&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that you need to Bootstrap engine and restart apppool or iis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This fix I checked on Sitecore Commerce 9 Update-1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore Commerce 9 Update-2 was added additional check:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        SitecoreConnectionPolicy policy = commerceContext.GetPolicy&amp;lt;SitecoreConnectionPolicy&amp;gt;();&#xA;        if (string.IsNullOrEmpty(policy?.Host))&#xA;        {&#xA;          commerceContext.Logger.LogError(string.Format(&quot;SitecoreConnectionManager: SitecoreConnectionPolicy for {0} is missing the host configuration&quot;, (object) commerceContext.Environment.Name), Array.Empty&amp;lt;object&amp;gt;());&#xA;          return (HttpResponseMessage) null;&#xA;        }&#xA;        Uri address = new Uri(string.Format(&quot;https://{0}&quot;, (object) policy.Host));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which is more informative&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2018-10-31T14:29:45.183" LastActivityDate="2018-10-31T14:29:45.183" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14681" PostTypeId="2" ParentId="14675" CreationDate="2018-10-31T14:16:58.287" Score="5" Body="&lt;p&gt;If I understand your requirement, you want to find all items related to a known template ID. The phrasing is a bit confusing so it would be helpful if you can clarify the statement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; Given an item, find all items matching the same Template ID which are children of the given item parent. In other words, find all items with the same template as &lt;strong&gt;Home&lt;/strong&gt; which fall under the &lt;strong&gt;Content&lt;/strong&gt; node (parent of &lt;strong&gt;Home&lt;/strong&gt;).&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:\content\home&quot;&#xA;$templateItem = Get-ItemTemplate -Item $item&#xA;Get-ItemReferrer -Item $templateItem | &#xA;    Where-Object { $_.ItemPath.StartsWith($item.Parent.Paths.Path) }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-10-31T14:16:58.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14682" PostTypeId="2" ParentId="14678" CreationDate="2018-10-31T14:25:26.593" Score="3" Body="&lt;p&gt;If you &lt;em&gt;only&lt;/em&gt; want to publish related media items, there are a few things you'll need to do.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Disclaimer&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;It sounds like workflow would work best to satisfy your use-case and reduce the number of customizations you need to make. That would be my first recommendation. However, an outline for what you've asked for is below.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Remove Existing Processors From getItemReferences&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getItemReferences&amp;gt;&#xA;        &amp;lt;patch:delete /&amp;gt;&#xA;      &amp;lt;/getItemReferences&amp;gt;&#xA;      &amp;lt;getItemReferences&amp;gt;&#xA;        &amp;lt;!-- Finds linked media items on related items --&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyNamespace.GetRelatedMediaItems, MyDll&quot; /&amp;gt;&#xA;      &amp;lt;/getItemReferences&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice how I've also included a &lt;code&gt;processor&lt;/code&gt; to meet your needs-- &lt;code&gt;GetRelatedMedaiItems&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;GetRelatedMediaItems Processor&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyNamespace&#xA;{&#xA;    public class GetRelatedMediaItems : GetItemReferencesProcessor&#xA;    {&#xA;        protected override List&amp;lt;Item&amp;gt; GetItemReferences(PublishItemContext context)&#xA;        {&#xA;            Assert.ArgumentNotNull(context, nameof(context));&#xA;            var objList = new List&amp;lt;Item&amp;gt;();&#xA;            if (context.PublishOptions.Mode != SitecorePublishing.PublishMode.SingleItem)&#xA;                return objList;&#xA;            switch (context.Action)&#xA;            {&#xA;                case SitecorePublishing.PublishAction.PublishSharedFields:&#xA;                    var sourceItem = context.PublishHelper.GetSourceItem(context.ItemId);&#xA;                    if (sourceItem == null)&#xA;                        return objList;&#xA;                    objList.AddRange(GetReferences(sourceItem, true));&#xA;                    break;&#xA;                case SitecorePublishing.PublishAction.PublishVersion:&#xA;                    var versionToPublish = context.VersionToPublish;&#xA;                    if (versionToPublish == null)&#xA;                        return objList;&#xA;                    objList.AddRange(GetReferences(versionToPublish, false));&#xA;                    break;&#xA;                default:&#xA;                    return objList;&#xA;            }&#xA;            return objList;&#xA;        }&#xA;&#xA;        private IEnumerable&amp;lt;Item&amp;gt; GetReferences(Item item, bool sharedOnly)&#xA;        {&#xA;            Assert.ArgumentNotNull(item, nameof(item));&#xA;            var sharedFilter = sharedOnly ? (Func&amp;lt;ItemLink, bool&amp;gt;)SharedFilter : link =&amp;gt; true;&#xA;&#xA;            return item&#xA;                .Links&#xA;                .GetValidLinks()&#xA;                .Where(sharedFilter)&#xA;                .Select(link =&amp;gt; link.GetTargetItem())&#xA;                .Where(Is.NotNull)&#xA;                .SelectMany(GetLinkedMediaItems);&#xA;        }&#xA;&#xA;        private static bool SharedFilter(ItemLink source)&#xA;        {&#xA;            var sourceItem = source.GetSourceItem();&#xA;            if (sourceItem == null)&#xA;                return false;&#xA;            return ID.IsNullOrEmpty(source.SourceFieldID) || sourceItem.Fields[source.SourceFieldID].Shared;&#xA;        }&#xA;&#xA;        private static IEnumerable&amp;lt;Item&amp;gt; GetLinkedMediaItems(Item item)&#xA;        {&#xA;            return item&#xA;                .Links&#xA;                .GetValidLinks()&#xA;                .Select(link =&amp;gt; link.GetTargetItem())&#xA;                .Where(Is.NotNull)&#xA;                .Where(target =&amp;gt; target.Paths.IsMediaItem) // this is they key&#xA;                .SelectMany(&#xA;                    target =&amp;gt;&#xA;                        target&#xA;                            .GetAncestorsUntil(parent =&amp;gt; parent.ID == ItemIDs.MediaLibraryRoot, true) // you can remove this step if you wish.  this ensures the parents to a media item are published to ensure the media item ACTUALLY gets published&#xA;                            .Reverse()&#xA;                );&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, it is important to note that you would instruct your Content Authors to select the &lt;code&gt;Publish related items&lt;/code&gt; option.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-10-31T14:25:26.593" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14683" PostTypeId="2" ParentId="14657" CreationDate="2018-10-31T14:52:29.717" Score="0" Body="&lt;p&gt;If you are using a route than you need to ensure that route is registered after the Sitecore.Mvc.Pipelines.Loader.InitializeRoutesprocessor so the controller requests are not tracked. There is some more info in the Sitecore documentation &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/mvc/use_mvc_routing&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; as well.&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-10-31T14:52:29.717" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14684" PostTypeId="2" ParentId="14675" CreationDate="2018-10-31T14:55:33.363" Score="3" Body="&lt;p&gt;If I understood right, which is 'find the ancestor that matches the current item's template' (the opposite of Michael's answer :-) ), you could use the below script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$currentItem = Get-Item -Path '/sitecore/content/Home/'&#xA;$templateId = &quot;&quot; #Place your target template ID here&#xA;$currentItem.Name&#xA;&#xA;$item = $currentItem&#xA;while($item.Parent){&#xA;    $item.Parent.Name&#xA;    if($item.Parent.TemplateId -eq $templateId){&#xA;        &quot;done. item.Parent is what you're looking for&quot;&#xA;        $item.Parent.Id #target item's ID&#xA;        break&#xA;    }&#xA;    $item = $item.Parent&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will have to set the &lt;code&gt;$currentItem&lt;/code&gt; and &lt;code&gt;$templateId&lt;/code&gt; to match your scenario&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="490" LastEditDate="2018-10-31T16:05:30.690" LastActivityDate="2018-10-31T16:05:30.690" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14685" PostTypeId="1" AcceptedAnswerId="14690" CreationDate="2018-10-31T15:52:24.903" Score="2" ViewCount="642" Body="&lt;p&gt;As I am working on profile cards and pattern cards, So would like to get information about below scenario.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;What is the use of Profile's Key field while creating profile? And how sitecore uses them(If any explanation would be great) ?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Basically, Type field has three values(Sum, Average and Percentage)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;What happens when we prefer to go with Sum instead Percentage? How it works internally?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Given below example &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have two pages (General-Account, Standard-Account) and created following profile&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Custom&lt;/strong&gt;(Profile)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;General&lt;/li&gt;&#xA;&lt;li&gt;Standard&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Profile cards&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;General(Given 2 points per visit)&lt;/li&gt;&#xA;&lt;li&gt;Standard(Given 2 points per visit)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pattern cards&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;General - Given 4(General) - 0(Standard) point to be accumulated.&lt;/li&gt;&#xA;&lt;li&gt;Standard - Given 2(General) - 4(Standard) point to be accumulated.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If I visit a General page in explore window from experience editor then user has matched to General pattern. In order to match the pattern as General, &#xA; User should be visiting General page two times(As per my understanding about given points to &lt;strong&gt;General pattern&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If visitor view General-Account for one time and Standard-Account for two times So user should be matched with 2nd pattern (&lt;strong&gt;Standarda&lt;/strong&gt;).Is it how it works?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;How points would be considered while matching the pattern?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any inputs and explanations would be really helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &amp;amp; Regards.&lt;/p&gt;&#xA;" OwnerUserId="4357" LastEditorUserId="4357" LastEditDate="2018-10-31T19:26:21.787" LastActivityDate="2018-10-31T20:32:11.637" Title="Profile cards and Pattern cards" Tags="|xdb|experience-analytics|personalization|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14686" PostTypeId="1" CreationDate="2018-10-31T18:02:15.653" Score="3" ViewCount="1651" Body="&lt;p&gt;I have two sites that I'm trying to implement single sign on for by setting up shared session state. I have followed the steps &lt;a href=&quot;https://support.microsoft.com/en-us/help/2527105/how-to-share-session-state-across-subdomains&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Configured the SQL server to support session state&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set the session state property in both web configs, same in each application:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;SQLServer&quot; allowCustomSqlDatabase=&quot;true&quot; sqlConnectionString=&quot;Data Source=sqlserver;user id=user;password=password;Application Name=MySession&quot; cookieless=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Added a machine key property:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;machineKey validationKey=&quot;xxxx&quot; decryptionKey=&quot;yyyy&quot; validation=&quot;SHA1&quot; decryption=&quot;AES&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Implemented the HttpModule to modify the domain session cookie to use the top level domain:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Web;&#xA;using System.Reflection;&#xA;using System.Configuration;&#xA;&#xA;namespace CSASPNETShareSessionBetweenSubDomainsModule&#xA;{&#xA;    /// &amp;lt;summary&amp;gt; &#xA;    /// A HttpModule used for sharing the session between Applications in  &#xA;    /// sub domains. &#xA;    /// &amp;lt;/summary&amp;gt; &#xA;    public class SharedSessionModule : IHttpModule&#xA;    {&#xA;        // Cache settings on memory. &#xA;        protected static string applicationName = ConfigurationManager.AppSettings[&quot;ApplicationName&quot;];&#xA;        protected static string rootDomain = ConfigurationManager.AppSettings[&quot;RootDomain&quot;];&#xA;&#xA;        #region IHttpModule Members &#xA;        /// &amp;lt;summary&amp;gt; &#xA;        /// Initializes a module and prepares it to handle requests. &#xA;        /// &amp;lt;/summary&amp;gt; &#xA;        /// &amp;lt;param name=&quot;context&quot;&amp;gt; &#xA;        /// An System.Web.HttpApplication &#xA;        /// that provides access to the methods, &#xA;        /// properties, and events common to all application objects within  &#xA;        /// an ASP.NET application. &#xA;        /// &amp;lt;/param&amp;gt; &#xA;        public void Init(HttpApplication context)&#xA;        {&#xA;            // This module requires both Application Name and Root Domain to work. &#xA;            if (string.IsNullOrEmpty(applicationName) ||&#xA;                string.IsNullOrEmpty(rootDomain))&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            // Change the Application Name in runtime. &#xA;            FieldInfo runtimeInfo = typeof(HttpRuntime).GetField(&quot;_theRuntime&quot;,&#xA;                BindingFlags.Static | BindingFlags.NonPublic);&#xA;            HttpRuntime theRuntime = (HttpRuntime)runtimeInfo.GetValue(null);&#xA;            FieldInfo appNameInfo = typeof(HttpRuntime).GetField(&quot;_appDomainAppId&quot;,&#xA;                BindingFlags.Instance | BindingFlags.NonPublic);&#xA;&#xA;            appNameInfo.SetValue(theRuntime, applicationName);&#xA;&#xA;            // Subscribe Events. &#xA;            context.PostRequestHandlerExecute += new EventHandler(context_PostRequestHandlerExecute);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt; &#xA;        /// Disposes of the resources (other than memory) used by the module &#xA;        /// that implements. &#xA;        /// &amp;lt;/summary&amp;gt; &#xA;        public void Dispose()&#xA;        {&#xA;        }&#xA;        #endregion&#xA;&#xA;        /// &amp;lt;summary&amp;gt; &#xA;        /// Before sending response content to client, change the Cookie to Root Domain &#xA;        /// and store current Session Id. &#xA;        /// &amp;lt;/summary&amp;gt; &#xA;        /// &amp;lt;param name=&quot;sender&quot;&amp;gt; &#xA;        /// An instance of System.Web.HttpApplication that provides access to &#xA;        /// the methods, properties, and events common to all application &#xA;        /// objects within an ASP.NET application. &#xA;        /// &amp;lt;/param&amp;gt; &#xA;        void context_PostRequestHandlerExecute(object sender, EventArgs e)&#xA;        {&#xA;            try&#xA;            {&#xA;                HttpApplication context = (HttpApplication) sender;&#xA;&#xA;                // ASP.NET store a Session Id in cookie to specify current Session. &#xA;                HttpCookie cookie = context.Response.Cookies[&quot;ASP.NET_SessionId&quot;];&#xA;&#xA;                if (context.Session != null &amp;amp;&amp;amp;&#xA;                    !string.IsNullOrEmpty(context.Session.SessionID))&#xA;                {&#xA;                    // Need to store current Session Id during every request. &#xA;                    cookie.Value = context.Session.SessionID;&#xA;&#xA;                    // All Applications use one root domain to store this Cookie &#xA;                    // So that it can be shared. &#xA;                    if (rootDomain != &quot;localhost&quot;)&#xA;                    {&#xA;                        cookie.Domain = rootDomain;&#xA;                    }&#xA;&#xA;                    // All Virtual Applications and Folders share this Cookie too. &#xA;                    cookie.Path = &quot;/&quot;;&#xA;                }&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                return;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;... and added it to the web config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;modules runAllManagedModulesForAllRequests=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;add name=&quot;SharedSessionModule&quot; type=&quot;CSASPNETShareSessionBetweenSubDomainsModule.SharedSessionModule, CSASPNETShareSessionBetweenSubDomainsModule, Version=1.0.0.0, Culture=neutral&quot;/&amp;gt;      &#xA;&amp;lt;/modules&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally, in site B, my UserService is pointing to site B, so they are sharing the same pool of users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I log into site A, I see these cookies: a session cookie where the domain is the top level domain, as well as another session cookie with the full domain and an empty value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ohOL8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ohOL8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I go to site B, I am not logged in, but I do see the matching session cookie from site A, as well as a second empty session cookie with the domain of site B:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rqEC7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rqEC7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to log into site B, and I am now logged in on both sites. When I try to log out of site A, nothing happens; when I log out of site B, I get logged out of site B AND site A. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is wrong with my session state? Is it because of that extra empty ASP.NET_SessionId cookie, and if so, how do I get rid of that? Is there a way I can check the session state in my code and log the user in if that session cookie exists, or force the session to use correct ASP.NET_SessionId cookie?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: I added the code to remove the duplicate cookies, but when I debug, my code is only seeing &lt;strong&gt;one cookie&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2dfcH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2dfcH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but when I check the cookies in Chrome inspector, there are two.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT 2: So I resolved the duplicate cookie issue now, but SSO still isn't working. I opened up site A, logged in, opened up site B. Checked the cookies on both, and they both have one single ASP.NET_SessionId cookie with the same Value and Domain, but I'm still not logged into site B&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="70" LastEditDate="2018-12-03T14:38:58.107" LastActivityDate="2018-12-03T14:38:58.107" Title="Sitecore shared session state not working - session state works in each site, but not between sites" Tags="|session-state|cookies|shared-session|sso|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14687" PostTypeId="1" CreationDate="2018-10-31T18:42:55.627" Score="5" ViewCount="588" Body="&lt;p&gt;I am trying to create a new dimension and a new segment to use in my new chart. After many attempts I found this article &lt;strong&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/processing/interaction-aggregation/create-an-interaction-processor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Create an interaction processor&lt;/a&gt;&lt;/strong&gt;- &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From this reference I did the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create dimension class and table&lt;/li&gt;&#xA;&lt;li&gt;Creating a dimension class &lt;/li&gt;&#xA;&lt;li&gt;Creating a dimension table &lt;/li&gt;&#xA;&lt;li&gt;Create fact class and table &lt;/li&gt;&#xA;&lt;li&gt;Creating a fact class&lt;/li&gt;&#xA;&lt;li&gt;Creating a fact table &lt;/li&gt;&#xA;&lt;li&gt;Create an interaction aggregation processor class &lt;/li&gt;&#xA;&lt;li&gt;Add processor to configuration&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After it, I deployed the code and then I created my &lt;strong&gt;&quot;By UserAgent&quot; Flexible Dimension&lt;/strong&gt; and create the Segment, as showed in the following figure:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/urjoQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/urjoQ.png&quot; alt=&quot;By UserAgent Flexible Dimension&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My &lt;strong&gt;UserAgentChart&lt;/strong&gt; is configured this way&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BNGWH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BNGWH.png&quot; alt=&quot;UserAgentChart - Data &quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my dashboard I saw an error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W4xPW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W4xPW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I know when I create a Segment I need to deploy and I need to way 30min, after this time the data start to be processed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Are these steps correct? I am doing something wrong? Why I have an error?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;UPDATE 1:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From logs i got this&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR [Experience Analytics]:&#xA;  SegmentProcessor failed to process interaction&#xA;  'b1d329f5-1c8a-0000-0000-056780e07875' segment&#xA;  '3a60eaea-0ac5-42c7-947b-f5e53ea87bac' -&#xA;  System.InvalidOperationException: Dimension could not be resolved for&#xA;  for dimension id: 8dae1809-f370-4997-adf8-64107cee49a6    at&#xA;  Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.get_Dimension()&#xA;  at&#xA;  Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.GetData(IVisitAggregationContext&#xA;  context)    at&#xA;  Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(IInteractionAggregationContext&#xA;  context, IEnumerable`1 segments)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;New issue - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14758/why-analytics-were-not-stored&quot;&gt;why analytics were not stored?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4526" LastEditorUserId="4526" LastEditDate="2018-11-06T10:54:29.910" LastActivityDate="2018-11-06T10:54:29.910" Title="Creating new Dimension and Segment to create a new chart" Tags="|experience-analytics|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="14688" PostTypeId="2" ParentId="14686" CreationDate="2018-10-31T19:04:21.823" Score="2" Body="&lt;p&gt;I've seen this happen with the Forms Authentication cookie before. Multiple instances of the same cookie get added and the most specific domain wins. I ended up creating a method to remove all but the first instance of the cookie from the &lt;code&gt;HttpContext.Current.Response.Cookies&lt;/code&gt; collection. I found the first cookie in the collection to be the correct one in my case but YMMV.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, I'd recommend checking to see which cookie it is in the &lt;code&gt;Response.Cookies&lt;/code&gt; collection (or perhaps adjusting it to find the one with the shortest &lt;code&gt;Domain&lt;/code&gt; string and using that one).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void RemoveAllButFirstCookieByName(ref HttpCookieCollection httpCookieCollection, string cookieName)&#xA;{&#xA;    if (cookieName == null)&#xA;        throw new ArgumentNullException(nameof(cookieName));&#xA;&#xA;        HttpCookie authCookie = null;&#xA;    for (var i = 0; i &amp;lt; httpCookieCollection.Count; i++)&#xA;    {&#xA;        HttpCookie httpCookie = httpCookieCollection[i];&#xA;        if (httpCookie != null &amp;amp;&amp;amp; httpCookie.Name.Equals(cookieName))&#xA;        {&#xA;            authCookie = httpCookie;&#xA;            break;&#xA;        }&#xA;    }&#xA;    if (authCookie != null)&#xA;    {&#xA;        httpCookieCollection.Remove(cookieName);&#xA;        httpCookieCollection.Add(authCookie);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-10-31T19:04:21.823" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14689" PostTypeId="2" ParentId="1573" CreationDate="2018-10-31T19:46:36.590" Score="0" Body="&lt;p&gt;Another gotcha is if the same Placeholder Key is defined more than once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears that instead of merging allowed controls Sitecore will instead take the first one that it comes upon when iterating over the children of Placeholder Settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case we name our placeholder items the same as the key, so it was easy to find via search, but the field that stores the values is ID {7256BDAB-1FD2-49DD-B205-CB4873D2917C}.&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2018-10-31T19:46:36.590" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14690" PostTypeId="2" ParentId="14685" CreationDate="2018-10-31T20:10:43.533" Score="6" Body="&lt;p&gt;Kumari, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you're asking how Sitecore calculates profile value, and how it's displayed when the profile uses the &lt;strong&gt;sum&lt;/strong&gt; type.  It really is a sum; meaning it's additive.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on the way the question is phrased, I wonder if you may not be clear on the difference between profiles, profile keys, profile cards and pattern cards.  &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Profile&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A profile is a category that you set-up to track a visitors behavior.  In your case, the profile is 'Custom'. It is the main organizational unit of this category you are &quot;tracking&quot; on. As an example you could have a profile of Athletics that would help clasify the content by what types of athletics it pertains to. You could also have a profile called User Journey, that could help classify how deep into a category they are (beginner vs advanced knowledge),&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Profile Key&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A profile key is an attribute of the profile.  In your case, the profile keys for 'Custom' are 'General' and 'Standard'. A profile key is pie slice of your Profile. If we had a profile called Athletics, the profile keys could be:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Running&lt;/li&gt;&#xA;&lt;li&gt;Swimming&lt;/li&gt;&#xA;&lt;li&gt;Jumping&lt;/li&gt;&#xA;&lt;li&gt;Throwing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Profile Card&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A profile card is a predefined set of profile keys and values. So instead of assigning keys and values to each piece of content, you can predefine several off them and just assign profile cards to content. Examples of profile cards is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Basketball&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Running [4]&lt;/li&gt;&#xA;&lt;li&gt;Swimming [0]&lt;/li&gt;&#xA;&lt;li&gt;Jumping [9]&lt;/li&gt;&#xA;&lt;li&gt;Throwing [4]&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Baseball&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Running [8]&lt;/li&gt;&#xA;&lt;li&gt;Swimming [0]&lt;/li&gt;&#xA;&lt;li&gt;Jumping [2]&lt;/li&gt;&#xA;&lt;li&gt;Throwing [9]&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Diving&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Running [2]&lt;/li&gt;&#xA;&lt;li&gt;Swimming [10]&lt;/li&gt;&#xA;&lt;li&gt;Jumping [2]&lt;/li&gt;&#xA;&lt;li&gt;Throwing [0]&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Pattern Card&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A pattern card is an indicator of the visitor's relationship with the content. The profile keys that are set on the pages the user visits and are added up and calculated. So based on their browsing behavior, what do they look like they're interested in. In your case, if we created pattern cards for 'General' and 'Standard', that each had 4 points, the visitor would trigger those pattern cards when they accumulated 4 points of value.  &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Example&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Let's say 'John' visited 2 pages that are tagged 'General' and one page that's tagged 'Standard'.  He'd have 4 'Custom' profile points for 'General' and he'd earn the pattern card of 'General'.  He'd also have 2 'Custom' profile points for 'Standard' and would not have enough value to earn that pattern card match.  &lt;/p&gt;&#xA;" OwnerUserId="165" LastEditorUserId="432" LastEditDate="2018-10-31T20:32:11.637" LastActivityDate="2018-10-31T20:32:11.637" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14691" PostTypeId="1" CreationDate="2018-11-01T00:04:39.500" Score="0" ViewCount="340" Body="&lt;p&gt;I have used the method seen &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1554/is-there-a-way-to-supress-rendering-width-and-height-attribs-using-fortis-image&quot;&gt;here&lt;/a&gt; to remove the Width and Height attributes on an image generated using the HTML Helpers in Sitecore, and it works perfectly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to apply this same functionality to an image that has been added via a Rich Text Editor?&lt;/p&gt;&#xA;" OwnerUserId="3838" LastActivityDate="2018-11-01T03:53:14.740" Title="Removing Width and Height Attributes on Images added via Rich Text Editor" Tags="|pipelines|richtext-editor|" AnswerCount="0" CommentCount="0" FavoriteCount="0" ClosedDate="2018-11-01T09:19:41.393" ContentLicense="CC BY-SA 4.0" />
  <row Id="14692" PostTypeId="2" ParentId="4216" CreationDate="2018-11-01T00:19:09.310" Score="5" Body="&lt;p&gt;You could tie into the saveRichTextContent Pipeline.  You could then parse the html that has been entered, and find all the images and strip out the width and height, which is a good practice if you have a responsive site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;saveRichTextContent&amp;gt;&#xA;                &amp;lt;processor type=&quot;Component.Pipelines.FormatImagesRichText, Component&quot;&amp;gt;&amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/saveRichTextContent&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then the source of the pipeline would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Component.Pipelines &#xA;{&#xA;    public class FormatImagesRichText&#xA;    {&#xA;        public void Process(SaveRichTextContentArgs args)&#xA;        {&#xA;            args.Content = FormatImages(args.Content);&#xA;        }&#xA;&#xA;        private string FormatImages(string content)&#xA;        {&#xA;            var doc = new HtmlDocument();&#xA;            doc.LoadHtml(content);&#xA;&#xA;            if (doc == null || !doc.DocumentNode.InnerHtml.Contains(&quot;img&quot;))&#xA;                return content;&#xA;&#xA;            foreach (var img in doc.DocumentNode.Descendants(&quot;img&quot;))&#xA;            {&#xA;                // Remove Image Width/Height Information&#xA;                HtmlNode imgNode = img;&#xA;                imgNode.Attributes.Remove(&quot;height&quot;);&#xA;                imgNode.Attributes.Remove(&quot;width&quot;);&#xA;            }&#xA;&#xA;            return doc.DocumentNode.OuterHtml;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; As an added note, if you are using a frontend system, such as Bootstrap, you can also add any relevant classes as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var img in doc.DocumentNode.Descendants(&quot;img&quot;))&#xA;{&#xA;    // Remove Image Width/Height Information&#xA;    HtmlNode imgNode = img;&#xA;    imgNode.Attributes.Remove(&quot;height&quot;);&#xA;    imgNode.Attributes.Remove(&quot;width&quot;);&#xA;&#xA;    if(imgNode.Attributes.Any(a =&amp;gt; a.Name == &quot;class&quot;))&#xA;    {&#xA;        imgNode.Attributes[&quot;class&quot;].Value += &quot; img-fluid&quot;;&#xA;    }&#xA;    else&#xA;    {&#xA;        imgNode.Attributes.Add(&quot;class&quot;, &quot;img-fluid&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="3838" LastEditDate="2018-11-01T03:53:14.740" LastActivityDate="2018-11-01T03:53:14.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14693" PostTypeId="2" ParentId="14657" CreationDate="2018-11-01T03:22:10.350" Score="3" Body="&lt;p&gt;Just to give some more options, you can add page urls to the untrackedPages section of the config. These are located in the App_Config\Include\Sitecore.Analytics.Tracking.config file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;tracking&amp;gt;&#xA;    &amp;lt;untrackedPages&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/default.aspx&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/service/error.aspx&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/service/Heartbeat.aspx&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/service/keepalive.aspx&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/service/nolicense.aspx&quot; /&amp;gt;&#xA;    &amp;lt;/untrackedPages&amp;gt;&#xA;  &amp;lt;/tracking&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From a Sitecore ticket I had a little while back:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;These pages are processed later in the &gt;Sitecore.Analytics.Pipelines.StartAnalytics.CheckPreconditions processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected bool IsUntrackedPage(string filePath)&#xA;{&#xA;  Assert.ArgumentNotNull(filePath, &quot;filePath&quot;);&#xA;  foreach (string untrackedPage in AnalyticsSettings.UntrackedPages)&#xA;  {&#xA;    if (filePath.Equals(untrackedPage, StringComparison.InvariantCultureIgnoreCase))&#xA;    {&#xA;      return true;&#xA;    }&#xA;  }&#xA;  return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-11-01T03:22:10.350" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14694" PostTypeId="2" ParentId="14675" CreationDate="2018-11-01T07:21:54.980" Score="0" Body="&lt;p&gt;Finally found the way using the Item path and traversed the tree and found the template Id &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$currentItemId = gi . #get current item &#xA;$currentItemPath = $currentItemId.ItemPath #retrieve item path&#xA;$splitedArray = $path -split '/' #perform split operation &#xA;$pathBuilder = &quot;&quot;&#xA;foreach($result in $splitedArray)&#xA;{&#xA;&#xA;$pathBuilder = ($pathBuilder)+'/'+$result&#xA;$itemDetails = gi -Path master:/$pathBuilder&#xA;$templateId = $itemDetails.TemplateId&#xA;if($templateId -eq &quot;&quot;)#pass the desired templateId here&#xA;{&#xA; #..&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks a ton for @TamerM and @Michaell West&lt;/p&gt;&#xA;" OwnerUserId="4296" LastEditorUserId="4296" LastEditDate="2018-11-01T10:38:04.737" LastActivityDate="2018-11-01T10:38:04.737" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14696" PostTypeId="2" ParentId="14649" CreationDate="2018-11-01T10:16:39.337" Score="2" Body="&lt;p&gt;Same happens for me. Multiple language enabled for my sitecore site.By creating all language versions for that item, solve data loss problem issue.&lt;/p&gt;&#xA;" OwnerUserId="1930" LastActivityDate="2018-11-01T10:16:39.337" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14697" PostTypeId="1" AcceptedAnswerId="14699" CreationDate="2018-11-01T12:45:08.210" Score="1" ViewCount="213" Body="&lt;p&gt;We have a UAT and LIVE Sitecore environment that hosts multiple websites and we use unicorn to sync data. The solutions uses Helix and for each project we have transforms for unicorn serialization config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For our production CM environment, we have a synchronization transform that excludes content so during our Azure DevOps deployment to production, the unicorn sync step will not delete any live content but will add new data, components and settings.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The config below is our production CM serialization transform which&#xA;  excludes content&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;!-- For more information on using transformations &#xA;     see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. --&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;      &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;configuration name=&quot;Project.Website&quot; description=&quot;Website&quot; dependencies=&quot;Foundation.*,Feature.*&quot; extends=&quot;Helix.Project&quot;&amp;gt;&#xA;          &amp;lt;predicate&amp;gt;&#xA;&#xA;            &amp;lt;include name=&quot;Project.Website.Content&quot; database=&quot;master&quot; path=&quot;/sitecore/content/Website&quot; xdt:Transform=&quot;Replace&quot; xdt:Locator=&quot;Match(name)&quot;&amp;gt;&#xA;              &amp;lt;exclude children=&quot;true&quot;&amp;gt;&#xA;                &amp;lt;except name=&quot;Site Settings/Datasources&quot;&amp;gt;&amp;lt;/except&amp;gt;&#xA;              &amp;lt;/exclude&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;&#xA;            &amp;lt;include name=&quot;Project.Website.Media&quot; xdt:Transform=&quot;Remove&quot; xdt:Locator=&quot;Match(name)&quot; /&amp;gt;&#xA;            &amp;lt;include name=&quot;Project.Website.MoreMedia&quot; xdt:Transform=&quot;Remove&quot; xdt:Locator=&quot;Match(name)&quot; /&amp;gt;&#xA;&#xA;&#xA;          &amp;lt;/predicate&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/configurations&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is fine but over time, the live environment becomes out of sync with UAT and local development. What is the best approach to copy just new content including blobs from our production Master database to another environment?&lt;/p&gt;&#xA;" OwnerUserId="2993" LastEditorUserId="70" LastEditDate="2018-11-01T13:34:05.587" LastActivityDate="2018-11-01T13:34:05.587" Title="Copy just new content and BLOBs from Live Master to another Environment" Tags="|unicorn|content-migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14698" PostTypeId="1" AcceptedAnswerId="14700" CreationDate="2018-11-01T12:51:18.053" Score="4" ViewCount="941" Body="&lt;p&gt;What is the best way to get the url for each item added to a &lt;code&gt;ContentList&lt;/code&gt; field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now, I only get &lt;code&gt;fields&lt;/code&gt; and &lt;code&gt;id&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="4501" LastEditorUserId="312" LastEditDate="2018-11-06T19:22:16.430" LastActivityDate="2018-11-06T19:22:16.430" Title="Getting the URL from items in a ContentList field" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14699" PostTypeId="2" ParentId="14697" CreationDate="2018-11-01T13:33:29.983" Score="1" Body="&lt;p&gt;To bring data down from the Production environment to UAT and local I would use &lt;a href=&quot;https://jeffdarchuk.com/2016/10/24/sitecore-sidekick-content-migrator/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Sidekick Content Migrator&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a handy tool that you install in your instances and behind the scene's it uses Rainbow serialization to transfer items from one environment to another.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fTzJx.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fTzJx.gif&quot; alt=&quot;Content Migrator&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have it installed, you can set the config up so that each environment has a link to the production environment using the &lt;code&gt;&amp;lt;servers&amp;gt;&lt;/code&gt; tag in the configuration file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That will allow you to manually pull content from the live environment to another environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But - you can also schedule this task. This uses standard Sitecore scheduled tasks, and provides a way to regularly pull down the content from live to a UAT system. This is an example of the config you would set up - (When you install Sidekick, you get a sample of this too).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;scheduling&amp;gt;&#xA;    &amp;lt;agent description=&quot;production content to dev&quot; type=&quot;ScsContentMigrator.ContentAgent, ScsContentMigrator&quot; method=&quot;Run&quot; interval=&quot;00:01:00&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;remote server&quot;&amp;gt;[enter server url here i.e. https://sitecore-dev]&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;id root&quot;&amp;gt;{0DE95AE4-41AB-4D01-9EB0-67441B7C2450},{3D6658D8-A0BF-4E75-B3E2-D050FABCF4E1}&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;bulk update&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;children&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;overwrite&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;event disabler&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;pull parent&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;        &amp;lt;!-- make sure this is false if you would like to keep unique testing content intact--&amp;gt;&#xA;        &amp;lt;param desc=&quot;removeLocalNotInRemote&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/agent&amp;gt;&#xA;&amp;lt;/scheduling&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So with this inplace, you don't need to be pulling down the content manually if you don't want to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are other tools that will do similar functionality (&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Razl&quot; rel=&quot;nofollow noreferrer&quot;&gt;RAZL&lt;/a&gt;) - but this would be my preferred way to do what you need.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-11-01T13:33:29.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14700" PostTypeId="2" ParentId="14698" CreationDate="2018-11-01T15:54:34.363" Score="5" Body="&lt;p&gt;I assume you are running in &quot;connected&quot; or &quot;integrated&quot; mode, right?&#xA;By default the &lt;code&gt;MultilistFieldSerializer&lt;/code&gt; responsible for the multilist field serialization (what the &lt;code&gt;ContentList&lt;/code&gt; ultimately becomes after app import) does not serialize &lt;code&gt;url&lt;/code&gt; and I believe was done to make the serializer more efficient.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Use integrated GraphQL to reshape the datasource data that comes out of the component, see more about the feature here: &lt;a href=&quot;https://jss.sitecore.net/docs/techniques/graphql/integrated-graphql#integrated-graphql-in-jss-apps&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.net/docs/techniques/graphql/integrated-graphql#integrated-graphql-in-jss-apps&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Extend the default &lt;code&gt;MultilistFieldSerializer&lt;/code&gt; and add &lt;code&gt;url&lt;/code&gt; to the list of serialized fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd explore the first option first, since it would not require any .NET coding or changes to the configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;BTW, I had filed a similar issue in GitHub as well: &lt;a href=&quot;https://github.com/Sitecore/jss/issues/69&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/jss/issues/69&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-11-01T15:54:34.363" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14701" PostTypeId="2" ParentId="14633" CreationDate="2018-11-01T16:06:26.757" Score="4" Body="&lt;p&gt;The short answer is that you can't have a statically component and have it access data from the layout. There are ways to make it work though that would require you to change your approach slightly:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Connect the footer to an app-level placeholder. This may look wrong in disconnected, but once you integrate with Sitecore, you can migrate the footer placement to the &lt;code&gt;__Standard Values&lt;/code&gt; of the base template, so you can have the placement inherited across the board. This would mean you need a base template for all of your pages.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Move the footer data into Layout Service context. So instead of the fields being a part of the fields on an item, you have a &quot;resolver&quot; that returns the footer links as a part of the &lt;code&gt;context&lt;/code&gt; object:&#xA;&lt;a href=&quot;https://jss.sitecore.net/docs/techniques/extending-layout-service/layoutservice-extending-context#extending-context-data-returned-by-the-layout-service&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/docs/techniques/extending-layout-service/layoutservice-extending-context#extending-context-data-returned-by-the-layout-service&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is fine for smaller payloads, but not great for &quot;mega navs&quot; as the payload will travel with each page request.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Have the footer make a connected GraphQL request for footer links. This is another call to the server, but you can cache it with GraphQL client like Apollo.&#xA;See more here: &lt;a href=&quot;https://jss.sitecore.net/docs/techniques/graphql/connected-graphql#connected-graphql-in-jss-apps&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/docs/techniques/graphql/connected-graphql#connected-graphql-in-jss-apps&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="611" LastActivityDate="2018-11-01T16:06:26.757" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14702" PostTypeId="1" AcceptedAnswerId="14703" CreationDate="2018-11-01T16:07:56.527" Score="1" ViewCount="69" Body="&lt;p&gt;We have a project which is running on Sitecore 9.0.2 however this was build using traditional form rendering rather than MVC rendering. We would like to move this project on cloud - Sitecore PaaS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the possibility to move this kind of project to PaaS?&lt;/p&gt;&#xA;" OwnerUserId="3841" LastEditorUserId="312" LastEditDate="2018-11-06T19:18:01.273" LastActivityDate="2018-11-06T19:18:01.273" Title="On-premises to PaaS while not using MVC (WebForms implementation)" Tags="|azure|webforms|cloud|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14703" PostTypeId="2" ParentId="14702" CreationDate="2018-11-01T16:43:56.193" Score="3" Body="&lt;p&gt;To answer your question, PaaS is simply another way of saying that an IIS site exists that allows you to run a website.  Said differently, using the Sitecore Azure Toolkit to deploy a vanilla instance of Sitecore 9.0.2 to Azure PaaS and then deploying your code base through a WebDeploy package should be sufficient to utilize PaaS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Things to consider when moving to PaaS:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Are you using Solr or Azure Search?&lt;/li&gt;&#xA;&lt;li&gt;How will you migrate your content? I would advocate that if you are using Unicorn/TDS, let it deploy out the item structure first, and then package up any content from the On Prem site and install on the PaaS Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Ensure that your configuration transforms are correctly done taking into account the domain name changes for most of xConnect.&lt;/li&gt;&#xA;&lt;li&gt;If you aren't already, consider using Azure DevOps for Deployment (formerly VSTS).&lt;/li&gt;&#xA;&lt;li&gt;Ensure that Session State is not InProc and that you are using Azure Redis Cache for Sessioning.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I think a larger conversation is questioning the intention around using WebForms and not MVC, but I don't want to detract from the question at hand.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="342" LastEditDate="2018-11-01T18:07:22.847" LastActivityDate="2018-11-01T18:07:22.847" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14704" PostTypeId="1" CreationDate="2018-11-01T17:09:23.293" Score="0" ViewCount="1919" Body="&lt;p&gt;I'm trying with Sitecore 8.2 and Sitecore 9.0.2 to change the session state provider from inproc to AWS hosted Redis session provider and get the following exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[RedisConnectionException: No connection is available to service this operation: EVAL]&#xA;     StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl(Message message, ResultProcessor&lt;code&gt;1 processor, ServerEndPoint server) +690&#xA;     StackExchange.Redis.RedisBase.ExecuteSync(Message message, ResultProcessor&lt;/code&gt;1 processor, ServerEndPoint server) +122&#xA;     StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) +141&#xA;     Sitecore.SessionProvider.Redis.&amp;lt;&gt;c__DisplayClass12_0.b__0() +55&#xA;     Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryForScriptNotFound(Func&lt;code&gt;1 redisOperation) +140&#xA;     Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryLogic(Func&lt;/code&gt;1 redisOperation) +144&#xA;     Sitecore.SessionProvider.Redis.StackExchangeClientConnection.Eval(String script, String[] keyArgs, Object[] valueArgs) +609&#xA;     Sitecore.SessionProvider.Redis.RedisConnectionWrapper.TryTakeWriteLockAndGetData(String sessionId, DateTime lockTime, Object&amp;amp; lockId, ISessionStateItemCollection&amp;amp; data, Int32&amp;amp; sessionTimeout) +352&#xA;     Sitecore.SessionProvider.Redis.RedisSessionStateProvider.GetItemFromSessionStore(Boolean isWriteLockRequired, HttpContext context, String id, Boolean&amp;amp; locked, TimeSpan&amp;amp; lockAge, Object&amp;amp; lockId, SessionStateActions&amp;amp; actions) +1113&#xA;     Sitecore.SessionProvider.Redis.RedisSessionStateProvider.GetItemExclusive(HttpContext context, String id, Boolean&amp;amp; locked, TimeSpan&amp;amp; lockAge, Object&amp;amp; lockId, SessionStateActions&amp;amp; actions) +225&#xA;     System.Web.SessionState.SessionStateModule.GetSessionStateItem() +169&#xA;     System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1002&#xA;     System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +689&#xA;     System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213&#xA;     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +131&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is what I changed in my web.config (Sitecore 8.2):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;redis&quot; timeout=&quot;20&quot;&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;redis&quot; type=&quot;Sitecore.SessionProvider.Redis.RedisSessionStateProvider,Sitecore.SessionProvider.Redis&quot; connectionString=&quot;session&quot; pollingInterval=&quot;2&quot; applicationName=&quot;private&quot;/&amp;gt;         &#xA;    &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the AWS Redis endpoint defined in my connectionString.config (Sitecore 8.2)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;session&quot; connectionString=&quot;example.cache.amazonaws.com:6000,password=xxxx,ssl=true,abortConnect=False&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am doubting that StackExchange.Redis version used by Sitecore.SessionProvider.Redis is 1.0.488 and this maybe the cause of the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wonder if anyone else has come across a similar exception using Redis provider on AWS. Appreciate any pointers to troubleshoot the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATED: Sitecore logs showing connection to Redis&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;33488 15:15:31 INFO  All tasks are already complete&#xA;  33488 15:15:31 INFO  example.cache.amazonaws.com:6000 failed to nominate (Faulted)&#xA;  33488 15:15:31 INFO  &gt; UnableToResolvePhysicalConnection on GET&#xA;  33488 15:15:31 INFO  No masters detected&#xA;  33488 15:15:31 INFO  example.cache.amazonaws.com:6000 Cluster v4.0.10, slave; keep-alive: 00:01:00; int: Connecting; sub: ConnectedEstablished, 1 active; not in use: DidNotRespond&#xA;  33488 15:15:31 INFO  example.cache.amazonaws.com:6000: int ops=8, qu=0, qs=0, qc=2, wr=0, sync=9, socks=2; sub ops=4, qu=0, qs=0, qc=0, wr=0, subs=1, sync=4, socks=1&#xA;  33488 15:15:31 INFO  Circular op-count snapshot; int: 0+8=8 (0.80 ops/s; spans 10s); sub: 0+4=4 (0.40 ops/s; spans 10s)&#xA;  33488 15:15:31 INFO  Sync timeouts: 0; fire and forget: 0; last heartbeat: -1s ago&#xA;  33488 15:15:31 INFO  resetting failing connections to retry...&#xA;  33488 15:15:31 INFO  retrying; attempts left: 2...&#xA;  33488 15:15:31 INFO  1 unique nodes specified&#xA;  33488 15:15:31 INFO  Requesting tie-break from example.cache.amazonaws.com:6000 &gt; __Booksleeve_TieBreak...&#xA;  33488 15:15:31 INFO  Allowing endpoints 00:00:05 to respond...&#xA;  33488 15:15:31 INFO  Awaiting task completion, IOCP: (Busy=1,Free=999,Min=4,Max=1000), WORKER: (Busy=4,Free=32763,Min=4,Max=32767)&#xA;  33488 15:15:31 INFO  All tasks completed cleanly, IOCP: (Busy=1,Free=999,Min=4,Max=1000), WORKER: (Busy=3,Free=32764,Min=4,Max=32767)&#xA;  33488 15:15:31 INFO  example.cache.amazonaws.com:6000 returned, but incorrectly&#xA;  33488 15:15:31 INFO  Awaiting task completion, IOCP: (Busy=1,Free=999,Min=4,Max=1000), WORKER: (Busy=3,Free=32764,Min=4,Max=32767)&#xA;  29412 15:15:31 INFO  Not all tasks completed cleanly, IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=2,Free=32765,Min=4,Max=32767)&#xA;  29412 15:15:31 INFO  example.cache.amazonaws.com:6000 failed to nominate (WaitingForActivation)&#xA;  29412 15:15:31 INFO  No masters detected&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="354" LastEditorUserId="354" LastEditDate="2018-11-01T19:25:56.793" LastActivityDate="2018-11-14T22:28:14.797" Title="AWS Redis session provider exception- No connection is available to service this operation: EVAL" Tags="|session-state|redis|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14705" PostTypeId="2" ParentId="14704" CreationDate="2018-11-01T22:47:47.153" Score="1" Body="&lt;p&gt;I think you also should change the shared session state as per &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configuring_a_shared_session_state_database_using_the_redis_provider&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's documentation&lt;/a&gt; as having them different could cause this issue and other issues.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-11-01T22:47:47.153" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14706" PostTypeId="1" AcceptedAnswerId="14727" CreationDate="2018-11-01T23:16:55.223" Score="0" ViewCount="536" Body="&lt;p&gt;I am trying to fetch user's password on a content delivery site using below code snippet. But getting this exception&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This Membership Provider has not been configured to support password retrieval.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var userRecord = Membership.GetUser(user.Name,true);&#xA;&#xA;    password = userRecord.GetPassword();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also tried configuring membership provider using below config, application throws an error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;add name=&quot;sql&quot; type=&quot;System.Web.Security.SqlMembershipProvider&quot; &#xA;                    connectionStringName=&quot;core&quot; &#xA;                    applicationName=&quot;sitecore&quot; &#xA;                    minRequiredPasswordLength=&quot;1&quot; &#xA;                    minRequiredNonalphanumericCharacters=&quot;0&quot; &#xA;                    requiresQuestionAndAnswer=&quot;false&quot; &#xA;                    requiresUniqueEmail=&quot;false&quot; &#xA;                    maxInvalidPasswordAttempts=&quot;5&quot; &#xA;                    enablePasswordRetrieval=&quot;false&quot;  &#xA;                    /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Configured settings are invalid: Hashed passwords cannot be retrieved. Either set the password format to different type, or set enablePasswordRetrieval to false.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/60/membership_providers_sc62-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sdn.sitecore.net/upload/sitecore6/60/membership_providers_sc62-a4.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone tried retrieving user's password?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Build below feature for Content delivery which is already available for Content Management&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GMTiB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GMTiB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2418" LastEditorUserId="2418" LastEditDate="2018-11-01T23:45:50.640" LastActivityDate="2018-11-03T07:22:55.087" Title="Fetch user's password programmtically on content delivery site" Tags="|authentication|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14707" PostTypeId="1" CreationDate="2018-11-02T07:54:11.457" Score="3" ViewCount="1351" Body="&lt;p&gt;On Sitecore 9.0.1 and SXA 1.6 I'm trying to get federated authentication to work for website visitors using OWIN WSFed following &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/federated_authentication/configure_federated_authentication#_Generate_sign-in_links&quot; rel=&quot;nofollow noreferrer&quot;&gt;this guide&lt;/a&gt; in a multi-site SXA solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've gotten everything to work using a page with a controller rendering pointing to an action with the [Authorize] attribute, but that's not quite ideal and in stead I want to use sign-in links described in the linked chapter above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem I'm facing is the link is generated correctly (/identity/externallogin?authenticationType=[etc]), but when I click on it I get an IIS 404 page, leading me to believe OWIN is not actually listening here. I've copied the HandleLoginLink class into my own solution so I can debug it so I can verify OWIN is, indeed, listening at this path. But the way it is implemented OWIN only listens for a path and not a complete URL so it should work for all my sites right? Well...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now this link is generated and presented on mySite, so the complete link when clicked is &lt;a href=&quot;http://www-local&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www-local&lt;/a&gt;.&lt;strong&gt;mysite&lt;/strong&gt;.sc/identity/externallogin?authenticationType=[etc]. When I however change the link to include the hostname of another site, &lt;a href=&quot;http://www-local&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www-local&lt;/a&gt;.&lt;strong&gt;othersite&lt;/strong&gt;.sc/identity/externallogin?authenticationType= and it points to the url of another configured site, suddenly I do enter the OWIN middleware! It returns a 401 but that's expected because I haven't configured fedauth on that site and, moreover, a couple of querystring parameters still reference mySite, but at least something is answering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now for my question: &lt;strong&gt;Why is OWIN only listening on the sites that don't have a MapEntry in the IdentityProvidersPerSite config?&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;federatedAuthentication type=&quot;Sitecore.Owin.Authentication.Configuration.FederatedAuthenticationConfiguration, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;  &amp;lt;identityProvidersPerSites hint=&quot;list:AddIdentityProvidersPerSites&quot;&amp;gt;&#xA;    &amp;lt;mapEntry name=&quot;ADFS&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;MySite&amp;lt;/site&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;      &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;        &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='ADFS']&quot; /&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;      &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/externalUserBuilder&amp;gt;&#xA;    &amp;lt;/mapEntry&amp;gt;&#xA;  &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;&#xA;  &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;    &amp;lt;identityProvider id=&quot;ADFS&quot; type=&quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;      &amp;lt;param desc=&quot;domainManager&quot; type=&quot;Sitecore.Abstractions.BaseDomainManager&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;caption&amp;gt;Log in with DigiD&amp;lt;/caption&amp;gt;&#xA;      &amp;lt;icon&amp;gt;/sitecore/shell/themes/standard/Custom/24x24/msazure.png&amp;lt;/icon&amp;gt;&#xA;      &amp;lt;domain&amp;gt;sitecore&amp;lt;/domain&amp;gt;&#xA;      &amp;lt;transformations hint=&quot;list:AddTransformation&quot;&amp;gt;&#xA;        &amp;lt;!--don't need this anymore, all shared transformations will be done automatically--&amp;gt;&#xA;        &amp;lt;!--&amp;lt;transformation name=&quot;set idp claim&quot; ref=&quot;federatedAuthentication/sharedTransformations/setIdpClaim&quot; /&amp;gt;--&amp;gt;&#xA;      &amp;lt;/transformations&amp;gt;&#xA;    &amp;lt;/identityProvider&amp;gt;&#xA;  &amp;lt;/identityProviders&amp;gt;&#xA;&#xA;  &amp;lt;sharedTransformations hint=&quot;list:AddSharedClaimsTransformation&quot;&amp;gt;&#xA;    &amp;lt;setIdpClaim name=&quot;setIdpClaim&quot; type=&quot;Sitecore.Owin.Authentication.Services.SetIdpClaimTransform, Sitecore.Owin.Authentication&quot;/&amp;gt;&#xA;  &amp;lt;/sharedTransformations&amp;gt;&#xA;&#xA;  &amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;    &amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;    &amp;lt;/maps&amp;gt;&#xA;  &amp;lt;/propertyInitializer&amp;gt;&#xA;&amp;lt;/federatedAuthentication&amp;gt;&#xA;&#xA;&amp;lt;settings&amp;gt;&#xA;  &amp;lt;setting name=&quot;FederatedAuthentication.Enabled&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&#xA;&amp;lt;services&amp;gt;&#xA;  &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseAuthenticationManager, Sitecore.Kernel&quot;&#xA;            implementationType=&quot;Sitecore.Owin.Authentication.Security.AuthenticationManager, Sitecore.Owin.Authentication&quot;&#xA;            lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;  &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseTicketManager, Sitecore.Kernel&quot;&#xA;            implementationType=&quot;Sitecore.Owin.Authentication.Security.TicketManager, Sitecore.Owin.Authentication&quot;&#xA;            lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;  &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BasePreviewManager, Sitecore.Kernel&quot;&#xA;            implementationType=&quot;Sitecore.Owin.Authentication.Publishing.PreviewManager, Sitecore.Owin.Authentication&quot;&#xA;            lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;&amp;lt;/services&amp;gt;&#xA;&#xA;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;owin.identityProviders&amp;gt;&#xA;    &amp;lt;processor type=&quot;Foundation.Authentication.Pipelines.AdfsIdentityProvidersProcessor, Foundation.Authentication&quot; resolve=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;metadataAddress&amp;gt;https://acc.sts.company.nl/FederationMetadata/2007-06/federationmetadata.xml&amp;lt;/metadataAddress&amp;gt;&#xA;      &amp;lt;sites hint=&quot;raw:AddSite&quot;&amp;gt;&#xA;        &amp;lt;mysite debug=&quot;true&quot;&amp;gt; &amp;lt;!--Specify debug to use manual wsfederation metadata for ACC--&amp;gt;&#xA;          &amp;lt;name&amp;gt;MySite&amp;lt;/name&amp;gt; &#xA;          &amp;lt;hostname&amp;gt;www-local.mysite.sc&amp;lt;/hostname&amp;gt;&#xA;          &amp;lt;wtrealm&amp;gt;urn:acc-sitecore.company.nl&amp;lt;/wtrealm&amp;gt;&#xA;          &amp;lt;wreply&amp;gt;http://www-local.mysite.sc/login&amp;lt;/wreply&amp;gt;&#xA;          &amp;lt;sessionExpiration&amp;gt;00:15:00&amp;lt;/sessionExpiration&amp;gt;&#xA;        &amp;lt;/mysite&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/owin.identityProviders&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT: I figured my code for the IdentityProviderProcessor wouldn't be amiss too:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AdfsIdentityProvidersProcessor : IdentityProvidersProcessor&#xA;{&#xA;    public string MetadataAddress { get; set; }&#xA;&#xA;    protected override string IdentityProviderName =&amp;gt; &quot;ADFS&quot;;&#xA;&#xA;    private List&amp;lt;SiteConfiguration&amp;gt; Sites = new List&amp;lt;SiteConfiguration&amp;gt;();&#xA;&#xA;    public AdfsIdentityProvidersProcessor(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration)&#xA;        : base(federatedAuthenticationConfiguration)&#xA;    {&#xA;    }&#xA;&#xA;    protected override void ProcessCore(IdentityProvidersArgs args)&#xA;    {&#xA;        ConfigureAuth(args.App);&#xA;    }&#xA;&#xA;    private void ConfigureAuth(IAppBuilder app)&#xA;    {&#xA;        foreach (var site in Sites)&#xA;        {&#xA;            app.MapWhen(ctx =&amp;gt; ctx.Request.Host.Value.Equals(site.Hostname), siteApp =&amp;gt;&#xA;            {&#xA;                siteApp.UseWsFederationAuthentication(CreateWsFederationAuthenticationOptions(site));&#xA;            });&#xA;        }&#xA;    }&#xA;&#xA;    private WsFederationAuthenticationOptions CreateWsFederationAuthenticationOptions(SiteConfiguration siteConfig)&#xA;    {&#xA;        var options = new WsFederationAuthenticationOptions&#xA;        {&#xA;            AuthenticationType = WsFederationAuthenticationDefaults.AuthenticationType,&#xA;            Wtrealm = siteConfig.Wtrealm,&#xA;            Wreply = siteConfig.Wreply,&#xA;            MetadataAddress = MetadataAddress,&#xA;            UseTokenLifetime = true,&#xA;            SignInAsAuthenticationType = GetAuthenticationType(),&#xA;            Notifications = new WsFederationAuthenticationNotifications&#xA;            {&#xA;                SecurityTokenValidated = (context) =&amp;gt;&#xA;                {&#xA;                    context.AuthenticationTicket.Identity.ApplyClaimsTransformations(new TransformationContext(FederatedAuthenticationConfiguration, GetIdentityProvider()));&#xA;                    return Task.CompletedTask;&#xA;                }&#xA;            }&#xA;        };&#xA;&#xA;        if (siteConfig.Debug)&#xA;        {&#xA;            options.Configuration = new Microsoft.IdentityModel.Protocols.WsFederationConfiguration&#xA;            {&#xA;                Issuer = &quot;http://acc.sts.company.nl/adfs/services/trust&quot;,&#xA;                TokenEndpoint = &quot;https://acc.sts.company.nl/adfs/ls/&quot;&#xA;            };&#xA;            var cert = new X509Certificate2(Convert.FromBase64String(&quot;[certificate]&quot;));&#xA;            var key = new X509SecurityKey(cert);&#xA;            options.Configuration.SigningKeys.Add(key);&#xA;        }&#xA;&#xA;        return options;&#xA;    }&#xA;&#xA;    public void AddSite(string key, XmlNode node)&#xA;    {&#xA;        AddSite(node);&#xA;    }&#xA;&#xA;    public void AddSite(XmlNode node)&#xA;    {&#xA;        Assert.IsTrue(XmlUtil.HasChildNode(&quot;wtrealm&quot;, node), $&quot;ADFS site config has no wtrealm node: {node.OuterXml}&quot;);&#xA;        Assert.IsTrue(XmlUtil.HasChildNode(&quot;hostname&quot;, node), $&quot;ADFS site config has no hostname node: {node.OuterXml}&quot;);&#xA;        var expiration = new TimeSpan(0, 15, 0);&#xA;        if (XmlUtil.HasChildNode(&quot;sessionExpiration&quot;, node))&#xA;        {&#xA;            if (TimeSpan.TryParse(XmlUtil.GetChildValue(&quot;sessionExpiration&quot;, node), out var newExpiration))&#xA;            {&#xA;                expiration = newExpiration;&#xA;            }&#xA;            else&#xA;            {&#xA;                Log.Warn(&quot;sessionExpiration failed to parse. Please use hh:mm:ss format&quot;, this);&#xA;            }&#xA;        }&#xA;        Sites.Add(new SiteConfiguration&#xA;        {&#xA;            Name = XmlUtil.GetChildValue(&quot;name&quot;, node),&#xA;            Hostname = XmlUtil.GetChildValue(&quot;hostname&quot;, node),&#xA;            Wtrealm = XmlUtil.GetChildValue(&quot;wtrealm&quot;, node),&#xA;            Wreply = XmlUtil.GetChildValue(&quot;wreply&quot;, node),&#xA;            Debug = XmlUtil.GetAttribute(&quot;debug&quot;, node, &quot;false&quot;) == &quot;true&quot;,&#xA;            ExpirationTime = expiration&#xA;        });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the part that generates the login link:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AdfsAuthenticationController : StandardController&#xA;{&#xA;    public ActionResult AuthenticationTest()&#xA;    {&#xA;        return View(&quot;~/Views/Authentication/AuthenticationTest.cshtml&quot;);&#xA;    }&#xA;&#xA;    public override ActionResult Index()&#xA;    {&#xA;        var url = &quot;/&quot;;&#xA;        if (!string.IsNullOrEmpty(Request.QueryString?[&quot;ReturnUrl&quot;]))&#xA;        {&#xA;            url = Request.QueryString[&quot;ReturnUrl&quot;];&#xA;        }&#xA;&#xA;        var corePipelineManager = DependencyResolver.Current.GetService&amp;lt;BaseCorePipelineManager&amp;gt;();&#xA;        var args = new GetSignInUrlInfoArgs(Context.Site.Name, url);&#xA;        GetSignInUrlInfoPipeline.Run(corePipelineManager, args);&#xA;&#xA;        return View(&quot;~/Views/Authentication/LoginLinks.cshtml&quot;, args.Result);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And its view (yeah I verbatim copied some stuff, but hey we never got ahead by re-inventing the wheel over and over right)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore&#xA;@using Sitecore.Mvc&#xA;&#xA;@model IEnumerable&amp;lt;Sitecore.Data.SignInUrlInfo&amp;gt;&#xA;&#xA;&amp;lt;div id=&quot;loginButtons&quot;&amp;gt;&#xA;    @foreach (var signIn in Model)&#xA;    {&#xA;        using (Html.BeginForm(null, null, FormMethod.Post, new { @action = signIn.Href }))&#xA;        {&#xA;            &amp;lt;button type=&quot;submit&quot;&amp;gt;&#xA;                @signIn.Caption&#xA;            &amp;lt;/button&amp;gt;&#xA;        }&#xA;    }&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2369" LastEditorUserId="73" LastEditDate="2018-11-29T11:01:45.397" LastActivityDate="2019-01-02T15:13:21.820" Title="OWIN sign-in links only working for SXA sites NOT configured in MapEntry of IdentityProvidersPerSite" Tags="|sxa|multisite|federated-authentication|owin|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14709" PostTypeId="1" CreationDate="2018-11-02T10:24:53.580" Score="0" ViewCount="752" Body="&lt;p&gt;We are working on Sitecore 9.0.2 &amp;amp; SXA 1.7.1 and we need to develop a hero component and we have following requirement&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Title of Hero Image needs to come from body  of another the news article page and need to pick first 10-15 words&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) We need to give author feature to select News Article Pages while he is doing content Authoring for Hero Image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way we can do this OOB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers&lt;/p&gt;&#xA;" OwnerUserId="1533" LastActivityDate="2018-11-03T06:31:14.870" Title="Sitecore SXA Custom Hero Component" Tags="|sxa|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14710" PostTypeId="1" CreationDate="2018-11-02T10:43:49.463" Score="0" ViewCount="608" Body="&lt;p&gt;I have created an email template, added the layout and connected it with the .html file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The .html file has  tag with the srs property set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my email when we go to EXM the image is missing since I don' really know how&#xA;to insert it in the html vie Sitecore.&#xA;Can someone explain what do I need to do to insert the image in the email or how that img tag should look. I have added the image to my Sitecore Media Library. &lt;/p&gt;&#xA;" OwnerUserId="4285" LastActivityDate="2018-11-21T08:35:44.877" Title="EXM Messages how to insert images in html template" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14711" PostTypeId="1" AcceptedAnswerId="14888" CreationDate="2018-11-02T11:32:22.430" Score="5" ViewCount="340" Body="&lt;p&gt;I am using Sitecore Commerce Experience 9 update-2, and want to add a custom child component to an entity.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Sitecore.Commerce.Core.Component&lt;/code&gt; has a &lt;code&gt;Key&lt;/code&gt; annotation (of type &lt;code&gt;System.ComponentModel.DataAnnotations&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Commerce.Core&#xA;{&#xA;  public class Component&#xA;  {&#xA;    ...&#xA;&#xA;    [Key]&#xA;    public string Id { get; set; }&#xA;&#xA;    ..&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This key annotation makes OData to generate a &lt;code&gt;EntityType&lt;/code&gt; for components (or sub-classes of &lt;code&gt;Component&lt;/code&gt;, e.g. &lt;code&gt;CustomComponent&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;EntityType Name=&quot;CustomComponent&quot; BaseType=&quot;Sitecore.Commerce.Core.Component&quot;&amp;gt;&#xA;    &amp;lt;Property Name=&quot;FirstName&quot; Type=&quot;Edm.String&quot; /&amp;gt;&#xA;&amp;lt;/EntityType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;OData generates a &lt;code&gt;NavigationProperty&lt;/code&gt; for entity types, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;NavigationProperty Name=&quot;Components&quot; Type=&quot;Collection(CustomComponent)&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Navigation properties are by default not handled by the OData server.&#xA;Result of this is that child components (&lt;code&gt;ChildComponents&lt;/code&gt; property on the &lt;code&gt;Component&lt;/code&gt; class) cannot be easily added using the OOTB command controllers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only solution found so far is to implement a custom controller and method that adds a child component for a certain entity (e.g. an &lt;code&gt;AddChildComponentToCart&lt;/code&gt; &lt;code&gt;CommandController&lt;/code&gt; method).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any other (cleaner, simpler) ways to add child components to an entity?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any good reasons why a &lt;code&gt;Component&lt;/code&gt; is not an OData complex type (this could be achieved by not having the &lt;code&gt;[Key]&lt;/code&gt; annotation on the &lt;code&gt;Component&lt;/code&gt; class)?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-11-12T23:29:21.557" Title="Component is an OData Entity and thus a NavigationProperty" Tags="|sitecore-commerce|odata|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14712" PostTypeId="2" ParentId="14710" CreationDate="2018-11-02T12:03:08.723" Score="2" Body="&lt;p&gt;I have seen two images - 1.Habitat logo (Header section) and 2. Image (Body section) in the &quot;Sample Newsletter template&quot;, a built-in EXM message template that comes with EXM installation package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have not seen, please refer this image given as reference &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jOcx9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jOcx9.png&quot; alt=&quot;Sample Newsletter body on-edit mode&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From ImageSection.cshtml file (C:\inetpub\wwwroot\MySitecoreInstance.local\sitecore modules\Web\EXM\layouts\SampleNewsletter), I infer that there are two possible ways to embed an image in a .cshtml file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.&lt;code&gt;&amp;lt;center style=&quot;font-size: 0&quot;&amp;gt;&#xA;        @Html.Sitecore().ImageField(Templates.SectionContent.Fields.Image, mw: Model.NewsletterOptions.MaxWidth, item: Model.ContentItem)&#xA;    &amp;lt;/center&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.&lt;code&gt;&amp;lt;center style=&quot;font-size: 0&quot;&amp;gt;&#xA;        &amp;lt;img src=&quot;@Model.ContentItem.ImageUrl(Templates.SectionContent.Fields.Image, new MediaUrlOptions {MaxWidth = Model.NewsletterOptions.MaxWidth})&quot; alt=&quot;&quot; width=&quot;100%&quot;&amp;gt;&#xA;    &amp;lt;/center&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ImageSection.cshtml&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zFNfb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zFNfb.png&quot; alt=&quot;The screenshot of Imagesection.cshtml&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; If you are not aware, you can also have a .cshtml file for your layout as &quot;Sample Newsletter message template&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mnwVc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mnwVc.png&quot; alt=&quot;(Sample Newsletter) Layout.cshtml&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do let me know, if you have any problems in my answer, I will try to answer to my best. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="4515" LastActivityDate="2018-11-02T12:03:08.723" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14713" PostTypeId="2" ParentId="14020" CreationDate="2018-11-02T12:04:10.843" Score="0" Body="&lt;p&gt;Our SQL Admin has created a SQL Script to remove the local DB accounts and create Accounts for the server the script was created for sitecore 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That seems to work, but we are not using this in production right now.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    USE Sitecore_Core&#xA;    DROP USER sitecore_coreuser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_coreuser WITH PASSWORD=N'sitecore_coreuser'&#xA;    USE Sitecore_Core&#xA;    CREATE USER sitecore_coreuser FOR LOGIN sitecore_coreuser WITH DEFAULT_SCHEMA=dbo&#xA;    ALTER ROLE [aspnet_Membership_BasicAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Membership_FullAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Membership_ReportingAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Profile_BasicAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Profile_FullAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Profile_ReportingAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Roles_BasicAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Roles_FullAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [aspnet_Roles_ReportingAccess] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER [sitecore_coreuser]&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER [sitecore_coreuser]&#xA;    GRANT EXECUTE TO sitecore_coreuser&#xA;    GO&#xA;&#xA;    USE Sitecore_Master&#xA;    DROP USER sitecore_masteruser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_masteruser WITH PASSWORD=N'sitecore_masteruser'&#xA;    USE Sitecore_Master&#xA;    CREATE USER sitecore_masteruser FOR LOGIN sitecore_masteruser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE db_datareader ADD MEMBER sitecore_masteruser&#xA;    ALTER ROLE db_datawriter ADD MEMBER sitecore_masteruser&#xA;    GRANT EXECUTE TO sitecore_masteruser&#xA;    GO&#xA;&#xA;    USE Sitecore_Web&#xA;    DROP USER sitecore_webuser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_webuser WITH PASSWORD=N'sitecore_webuser'&#xA;    USE Sitecore_Web&#xA;    CREATE USER sitecore_webuser FOR LOGIN sitecore_webuser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER sitecore_webuser&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER sitecore_webuser&#xA;    GO&#xA;&#xA;    USE Sitecore_ExperienceForms&#xA;    DROP USER sitecore_formsuser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_formsuser WITH PASSWORD=N'sitecore_formsuser'&#xA;    USE Sitecore_ExperienceForms&#xA;    CREATE USER sitecore_formsuser FOR LOGIN sitecore_formsuser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER sitecore_formsuser&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER sitecore_formsuser&#xA;    GRANT EXECUTE TO sitecore_formsuser&#xA;    GO&#xA;&#xA;    USE [Sitecore_EXM.Master]&#xA;    DROP USER sitecore_exmmasteruser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_exmmasteruser WITH PASSWORD=N'sitecore_exmmasteruser'&#xA;    USE [Sitecore_EXM.Master]&#xA;    CREATE USER sitecore_exmmasteruser FOR LOGIN sitecore_exmmasteruser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER sitecore_exmmasteruser&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER sitecore_exmmasteruser&#xA;    GRANT EXECUTE TO sitecore_exmmasteruser&#xA;    GO&#xA;&#xA;    USE Sitecore_Reporting&#xA;    DROP USER sitecore_reportinguser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_reportinguser WITH PASSWORD=N'sitecore_reportinguser'&#xA;    USE Sitecore_Reporting&#xA;    CREATE USER sitecore_reportinguser FOR LOGIN sitecore_reportinguser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER sitecore_reportinguser&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER sitecore_reportinguser&#xA;    GRANT EXECUTE TO sitecore_reportinguser&#xA;    GO&#xA;&#xA;    USE [Sitecore_Processing.Tasks]&#xA;    DROP USER sitecore_tasksuser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_tasksuser WITH PASSWORD=N'sitecore_tasksuser'&#xA;    USE [Sitecore_Processing.Tasks]&#xA;    CREATE USER sitecore_tasksuser FOR LOGIN sitecore_tasksuser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER sitecore_tasksuser&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER sitecore_tasksuser&#xA;    GRANT EXECUTE TO sitecore_tasksuser&#xA;    GO&#xA;&#xA;    USE Sitecore_MarketingAutomation&#xA;    DROP USER sitecore_marketingautomationuser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_marketingautomationuser WITH PASSWORD=N'sitecore_marketingautomationuser'&#xA;    USE Sitecore_MarketingAutomation&#xA;    CREATE USER sitecore_marketingautomationuser FOR LOGIN sitecore_marketingautomationuser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER sitecore_marketingautomationuser&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER sitecore_marketingautomationuser&#xA;    GRANT EXECUTE TO sitecore_marketingautomationuser&#xA;    GO&#xA;&#xA;    USE Sitecore_Messaging&#xA;    DROP USER sitecore_messaginguser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_messaginguser WITH PASSWORD=N'sitecore_messaginguser'&#xA;    USE Sitecore_Messaging&#xA;    CREATE USER sitecore_messaginguser FOR LOGIN sitecore_messaginguser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER sitecore_messaginguser&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER sitecore_messaginguser&#xA;    GRANT EXECUTE TO sitecore_messaginguser&#xA;    GO&#xA;&#xA;    USE [Sitecore_Processing.Pools]&#xA;    DROP USER sitecore_poolsuser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_poolsuser WITH PASSWORD=N'sitecore_poolsuser'&#xA;    USE [Sitecore_Processing.Pools]&#xA;    CREATE USER sitecore_poolsuser FOR LOGIN sitecore_poolsuser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER sitecore_poolsuser&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER sitecore_poolsuser&#xA;    GRANT EXECUTE TO sitecore_poolsuser&#xA;    GO&#xA;&#xA;    USE Sitecore_ReferenceData&#xA;    DROP USER sitecore_referencedatauser&#xA;    USE master&#xA;    CREATE LOGIN sitecore_referencedatauser WITH PASSWORD=N'sitecore_referencedatauser'&#xA;    USE Sitecore_ReferenceData&#xA;    CREATE USER sitecore_referencedatauser FOR LOGIN sitecore_referencedatauser WITH DEFAULT_SCHEMA=[dbo]&#xA;    ALTER ROLE [db_datareader] ADD MEMBER sitecore_referencedatauser&#xA;    ALTER ROLE [db_datawriter] ADD MEMBER sitecore_referencedatauser&#xA;    GRANT EXECUTE TO sitecore_referencedatauser&#xA;    GO&#xA;&#xA;    USE [Sitecore_Xdb.Collection.ShardMapManager]&#xA;    -- NICHTS ZU MACHEN:&#xA;    -- es ist kein DB-Contained Login!&#xA;    GO&#xA;&#xA;    USE [Sitecore_Xdb.Collection.Shard0]&#xA;    -- NICHTS ZU MACHEN:&#xA;    -- es ist kein DB-Contained Login!&#xA;    GO&#xA;&#xA;    USE [Sitecore_Xdb.Collection.Shard1]&#xA;    -- NICHTS ZU MACHEN:&#xA;    -- es ist kein DB-Contained Login!&#xA;    GO&#xA;&#xA;&#xA;&#xA;    USE Sitecore_Core&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE Sitecore_Core SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Core SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Core SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    USE Sitecore_ExperienceForms&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE Sitecore_ExperienceForms SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_ExperienceForms SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_ExperienceForms SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    -- !&#xA;    USE Sitecore_MarketingAutomation;&#xA;    DECLARE @dbname sysname;&#xA;    SET @dbname = 'Sitecore_MarketingAutomation';&#xA;    DECLARE @spid INT;&#xA;    SELECT @spid = MIN(SPID) FROM sys.sysprocesses&#xA;    WHERE dbid = DB_ID(@dbname) AND SPID != @@SPID;&#xA;    WHILE @spid IS NOT NULL&#xA;    BEGIN&#xA;            EXECUTE ('Kill ' + @spid);&#xA;            SELECT @spid = MIN(SPID) FROM sys.sysprocesses&#xA;            WHERE dbid = DB_ID(@dbname) AND SPID != @@SPID;&#xA;    END;&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE Sitecore_MarketingAutomation SET SINGLE_USER WITH NO_WAIT;&#xA;    ALTER DATABASE Sitecore_MarketingAutomation SET CONTAINMENT = NONE WITH NO_WAIT;&#xA;    ALTER DATABASE Sitecore_MarketingAutomation SET MULTI_USER WITH NO_WAIT;&#xA;    GO  &#xA;&#xA;&#xA;&#xA;    USE Sitecore_Master&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE Sitecore_Master SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Master SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Master SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    USE Sitecore_Messaging&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE Sitecore_Messaging SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Messaging SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Messaging SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    USE Sitecore_ReferenceData&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE Sitecore_ReferenceData SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_ReferenceData SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_ReferenceData SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    USE Sitecore_Reporting&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE Sitecore_Reporting SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Reporting SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Reporting SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    USE Sitecore_Web&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE Sitecore_Web SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Web SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE Sitecore_Web SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    USE [Sitecore_EXM.Master]&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE [Sitecore_EXM.Master] SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE [Sitecore_EXM.Master] SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE [Sitecore_EXM.Master] SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    USE [Sitecore_Processing.Pools]&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE [Sitecore_Processing.Pools] SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE [Sitecore_Processing.Pools] SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE [Sitecore_Processing.Pools] SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    USE [Sitecore_Processing.Tasks]&#xA;    -- CONTAIN LOGIN r�ckg�ngig mit Force&#xA;    ALTER DATABASE [Sitecore_Processing.Tasks] SET SINGLE_USER WITH NO_WAIT&#xA;    ALTER DATABASE [Sitecore_Processing.Tasks] SET CONTAINMENT = NONE WITH NO_WAIT&#xA;    ALTER DATABASE [Sitecore_Processing.Tasks] SET MULTI_USER WITH NO_WAIT&#xA;    GO  &#xA;&#xA;    --USE [Sitecore_Xdb.Collection.Shard0]&#xA;    --USE [Sitecore_Xdb.Collection.Shard1]&#xA;    --USE [Sitecore_Xdb.Collection.ShardMapManager]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-11-02T12:04:10.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14714" PostTypeId="2" ParentId="4467" CreationDate="2018-11-02T12:36:26.963" Score="4" Body="&lt;p&gt;This is a little bit old but for people passing through that are seeing the same issues, there is an easier way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't checked every release however Sitecore 8.1+ &lt;em&gt;(including 9, probably 8 too)&lt;/em&gt; comes with setting that is 'true' by default, when this setting is set to 'false' it will essentially disabled this feature by returning 0 like the suggested answer above does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The setting name is: &lt;strong&gt;WebEdit.ShowNumberOfLockedItemsOnButton&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps someone!&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Update&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9 returns an empty string not 0 as previously mentioned: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Extracted from Sitecore.ExperienceEditor.Speak.Ribbon.dll&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!Settings.WebEdit.ShowNumberOfLockedItemsOnButton)&#xA;{&#xA;    return new PipelineProcessorResponseValue&#xA;    {&#xA;        Value = string.Empty&#xA;    };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3853" LastEditorUserId="3853" LastEditDate="2018-11-02T13:20:17.933" LastActivityDate="2018-11-02T13:20:17.933" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14715" PostTypeId="1" AcceptedAnswerId="14731" CreationDate="2018-11-02T12:49:31.943" Score="2" ViewCount="145" Body="&lt;p&gt;I have an issue that I cannot fix atm. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We created a new Security role and assigned rights to it. However Content Editors that have this role cannot edit any items as the JSS Workflow currently prohibits this, I am not sure where to change this. The newly created Role just has the ( Authoring and Sitecore Client Advanced Publishing ). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please see attached screenshot for more info.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SrObk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SrObk.png&quot; alt=&quot;write access declined by workflow&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4535" LastActivityDate="2018-11-07T13:18:21.580" Title="Write acces blocked by Sitecore JSS workflow" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14716" PostTypeId="2" ParentId="14709" CreationDate="2018-11-02T12:57:28.693" Score="1" Body="&lt;p&gt;Yes - you could do this with a &lt;code&gt;Page Content&lt;/code&gt; component and a Rendering Variant. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would advise against trying to get the first 10-15 words of the article because that will be tricky to pull out of a Rich Text field that also contains markup. Instead it would be better to add a &lt;code&gt;Blurb&lt;/code&gt; or &lt;code&gt;Navigation Content&lt;/code&gt; field to the article where the author can write specific content for the navigation/hero piece. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a &lt;code&gt;Page Content&lt;/code&gt; rendering variant and add the required variant fields/markup for the &lt;code&gt;Hero Image&lt;/code&gt; and the &lt;code&gt;Blurb&lt;/code&gt; content. Then when your content editor adds the component to a page, train them that they need to add a datasource to it by setting the associated content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you absolutely &lt;em&gt;have&lt;/em&gt; to pull out the 10-15 words, you would need to look at using an nvelocity template and writing a custom field parser for nvelocity that you could call in the template.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-11-02T12:57:28.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14717" PostTypeId="2" ParentId="14707" CreationDate="2018-11-02T14:23:12.120" Score="0" Body="&lt;p&gt;I recently got Sitecore FedAuth to with WS-Fed. You should not set the &lt;code&gt;AuthenticationType&lt;/code&gt; to &lt;code&gt;WsFederationAuthenticationDefaults.AuthenticationType&lt;/code&gt;. Instead call the &lt;code&gt;GetAuthenticationType()&lt;/code&gt; method. If you do not change this the external cookie will not get set after the token is posted back from ADFS and things will fail after that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also in the processcore method you should only set the &lt;code&gt;WsFederationAuthenticationOptions&lt;/code&gt; not run the &lt;code&gt;app.MapWhen..&lt;/code&gt; etc code Sitecore will do this for you since you have set this in &lt;code&gt;identityProvidersPerSites&lt;/code&gt;. The code in process core should be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void ProcessCore(IdentityProvidersArgs args)&#xA;{&#xA;    args.App.UseWsFederationAuthentication(CreateWsFederationAuthenticationOptions(siteConfig));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2495" LastEditorUserId="35" LastEditDate="2018-11-29T14:53:46.150" LastActivityDate="2018-11-29T14:53:46.150" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14718" PostTypeId="1" CreationDate="2018-11-02T14:28:17.333" Score="2" ViewCount="910" Body="&lt;p&gt;I am trying to retrieve a &lt;code&gt;Sitecore.Data.Items.Item&lt;/code&gt; using this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var myItem = Context.Database.GetItem(&quot;/sitecore/content/x&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but instead of an Item I get a null exception. I have also tried &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var myItem = Context.Data.Database.GetItem(&quot;/sitecore/content/x&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with same result. It seems like Database is null and when I try to veryfy that with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var databases = Sitecore.Configuration.Factory.GetDatabases();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get an empty list back. I have also tried to get a database item directly with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string databaseName = &quot;master&quot;;&#xA;var db = Sitecore.Configuration.Factory.GetDatabase(databaseName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but that gave me another exception&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Message = &quot;Could not find configuration node:&#xA;  databases/database[@id='master']&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;At other places in the code it works fine to retrive Sitecore Items. Where it does work, I have a CommercePipelineExecutionContext (even though I don't directly uses it. Where it doesn't work I have a CommerceContext in which I have not found any database info. Any pointers to why this isn't working in this spot when it does work in others are appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3366" LastEditorUserId="2056" LastEditDate="2019-02-12T13:19:45.123" LastActivityDate="2019-02-12T13:19:45.123" Title="Unable to retrieve a Sitecore Item" Tags="|sitecore-api|commerce-engine|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14719" PostTypeId="2" ParentId="14718" CreationDate="2018-11-02T14:35:26.070" Score="2" Body="&lt;p&gt;You can use method:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;public static ItemModel GetItemById(CommerceContext commerceContext, string itemId, string language = null)&lt;/strong&gt; from class &lt;strong&gt;Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use it in next way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var itemModel=SitecoreConnectionManager.GetItemById(context.CommerceContext,&quot;{id}&quot;,en);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the method definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static ItemModel GetItemById(CommerceContext commerceContext, string itemId, string language = null)&#xA;    {&#xA;        ItemModel result;&#xA;        try&#xA;        {&#xA;            Guid guid;&#xA;            if (!Guid.TryParse(itemId, out guid))&#xA;            {&#xA;                commerceContext.Logger.LogError(&quot;SitecoreConnectionManager: ItemId is not a valid GUID.&quot;, Array.Empty&amp;lt;object&amp;gt;());&#xA;                result = null;&#xA;            }&#xA;            else&#xA;            {&#xA;                SitecoreConnectionPolicy policy = commerceContext.GetPolicy&amp;lt;SitecoreConnectionPolicy&amp;gt;();&#xA;                string action = string.IsNullOrEmpty(language) ? string.Format(&quot;sitecore/api/ssc/item/{0}?database={1}&quot;, itemId, policy.SitecoreDatabase) : string.Format(&quot;sitecore/api/ssc/item/{0}?database={1}&amp;amp;language={2}&quot;, itemId, policy.SitecoreDatabase, SitecoreConnectionManager.GetLanguage(commerceContext, language));&#xA;                HttpResponseMessage httpResponseMessage = SitecoreConnectionManager.ProcessRequest(commerceContext, action, &quot;GET&quot;, null);&#xA;                if (httpResponseMessage == null || !httpResponseMessage.IsSuccessStatusCode)&#xA;                {&#xA;                    result = null;&#xA;                }&#xA;                else&#xA;                {&#xA;                    result = JsonConvert.DeserializeObject&amp;lt;ItemModel&amp;gt;(httpResponseMessage.Content.ReadAsStringAsync().Result);&#xA;                }&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            commerceContext.LogException(&quot;SitecoreConnectionManager&quot;, ex);&#xA;            result = null;&#xA;        }&#xA;        return result;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-11-02T14:52:33.660" LastActivityDate="2018-11-02T14:52:33.660" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14720" PostTypeId="1" CreationDate="2018-11-02T14:43:41.480" Score="3" ViewCount="2215" Body="&lt;p&gt;I'm working on a site that I've just inherited from another agency, which was recently upgraded from Sitecore 6.5 to 8.2. I just discovered that the page editor is not working. When I try to load the page editor, I get a server error and am unable to make any edits. There's a whole bunch of errors, I'll include the full error trace from when the page loads:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;26548 10:35:09 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass3_1.&amp;lt;BeginInvokeAction&amp;gt;b__5(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.&amp;lt;&amp;gt;c.&amp;lt;BeginExecuteCore&amp;gt;b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.&amp;lt;&amp;gt;c.&amp;lt;BeginExecute&amp;gt;b__151_2(IAsyncResult asyncResult, Controller controller)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;&amp;gt;c.&amp;lt;BeginProcessRequest&amp;gt;b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass3_6.&amp;lt;BeginInvokeAction&amp;gt;b__3()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass3_1.&amp;lt;BeginInvokeAction&amp;gt;b__5(IAsyncResult asyncResult)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/sitecore/shell/client/Sitecore/ExperienceEditor/PageEditbar/PageEditBar.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.ProcessRenderRendering(Rendering rendering, TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Process(RenderPlaceholderArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;   at ASP._sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at RazorGenerator.Mvc.PrecompiledMvcView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/Ribbon/Ribbon.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.ProcessRenderRendering(Rendering rendering, TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Process(RenderPlaceholderArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;   at Sitecore.ExperienceEditor.Speak.PageEditbar.PageEditBar.Render(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;   at Sitecore.ExperienceEditor.Speak.PageEditbar.ControlsExtension.PageEditBar(Controls controls, Rendering rendering, HtmlHelper`1 htmlHelper)&#xA;   at ASP._Page_sitecore_shell_client_Sitecore_ExperienceEditor_PageEditbar_PageEditBar_cshtml.Execute() in d:\Dev\CSCA\Website\sitecore\shell\client\Sitecore\ExperienceEditor\PageEditbar\PageEditBar.cshtml:line 4&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)&#xA;   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/Strip/Strip.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;RenderUsingPlaceholders&amp;gt;b__1(Rendering rendering)&#xA;   at Sitecore.Mvc.Extensions.EnumerableExtensions.Each[T](IEnumerable`1 source, Action`1 action)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderUsingPlaceholders(TextWriter output, ItemRenderer itemRenderer)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderItem(TextWriter output, Item item)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.Render(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Ribbon.Ribbon.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonControlBase.Render(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Ribbon.ControlsExtension.Ribbon(Controls controls, Rendering rendering)&#xA;   at ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_Ribbon_Ribbon_cshtml.Execute() in d:\Dev\CSCA\Website\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\Ribbon\Ribbon.cshtml:line 4&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)&#xA;   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/Chunk/Chunk.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;RenderUsingPlaceholders&amp;gt;b__1(Rendering rendering)&#xA;   at Sitecore.Mvc.Extensions.EnumerableExtensions.Each[T](IEnumerable`1 source, Action`1 action)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderUsingPlaceholders(TextWriter output, ItemRenderer itemRenderer)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderItem(TextWriter output, Item item)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.Render(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Strip.Strip.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonControlBase.Render(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Strip.ControlsExtension.Strip(Controls controls, Rendering rendering)&#xA;   at ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_Strip_Strip_cshtml.Execute() in d:\Dev\CSCA\Website\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\Strip\Strip.cshtml:line 4&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)&#xA;   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/sitecore/shell/client/Sitecore/Speak/Ribbon/Controls/DeviceSimulators/DeviceSimulatorsButton/DeviceSimulatorsButton.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;RenderUsingPlaceholders&amp;gt;b__1(Rendering rendering)&#xA;   at Sitecore.Mvc.Extensions.EnumerableExtensions.Each[T](IEnumerable`1 source, Action`1 action)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderUsingPlaceholders(TextWriter output, ItemRenderer itemRenderer)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.RenderItem(TextWriter output, Item item)&#xA;   at Sitecore.Web.UI.Controls.Common.ItemRenderers.ItemRenderer.Render(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Chunk.Chunk.DoRender(HtmlTextWriter output)&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonControlBase.Render(HtmlTextWriter output)&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.Chunk.ControlsExtension.Chunk(Controls controls, Rendering rendering)&#xA;   at ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_Chunk_Chunk_cshtml.Execute() in d:\Dev\CSCA\Website\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\Chunk\Chunk.cshtml:line 4&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)&#xA;   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ArgumentNullException&#xA;Message: Value cannot be null.&#xA;Parameter name: simulatorItem&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.Shell.DeviceSimulation.Simulator..ctor(ID id, Database database)&#xA;   at Sitecore.Shell.DeviceSimulation.NoneSimulator..ctor(Database database)&#xA;   at Sitecore.Shell.DeviceSimulation.Simulator.Create(ID id, Database database)&#xA;   at Sitecore.Shell.DeviceSimulation.DeviceSimulationUtil.GetCurrentSimulator(Database database)&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.DeviceSimulators.DeviceSimulatorsButton.DeviceSimulatorsButton.InitializeControl(RenderingParametersResolver renderingParametersResolver)&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonButtonBase..ctor(RenderingParametersResolver parametersResolver)&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.RibbonIconButtonBase..ctor(RenderingParametersResolver parametersResolver)&#xA;   at Sitecore.ExperienceEditor.Speak.Ribbon.Controls.DeviceSimulators.DeviceSimulatorsButton.ControlsExtension.DeviceSimulatorsButton(Controls controls, Rendering rendering)&#xA;   at ASP._Page_sitecore_shell_client_Sitecore_Speak_Ribbon_Controls_DeviceSimulators_DeviceSimulatorsButton_DeviceSimulatorsButton_cshtml.Execute() in d:\Dev\CSCA\Website\sitecore\shell\client\Sitecore\Speak\Ribbon\Controls\DeviceSimulators\DeviceSimulatorsButton\DeviceSimulatorsButton.cshtml:line 4&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)&#xA;   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The final error mentions the a null reference exception with simulatorItem in Sitecore.Kernel, which might be the root of the issue but I'm not sure what to do to resolve it.&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2018-11-04T01:04:23.537" LastActivityDate="2018-11-04T01:04:23.537" Title="Experience Editor not working: Error while rendering sitecore shell cshtml files, null reference exception" Tags="|experience-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14721" PostTypeId="1" AcceptedAnswerId="14724" CreationDate="2018-11-02T15:47:01.060" Score="1" ViewCount="566" Body="&lt;p&gt;Can we implement the API only mode in JSS with a plain react application.? or do we need to have react app created through the JSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also trying to see a sample app or steps to do the API only mode but i don't fidn anything in the documentation &lt;a href=&quot;https://jss.sitecore.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be helpful if someone guide on this..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank in advance..&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2018-11-02T16:48:28.443" Title="API mode can be implemented with the Plain react application" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14722" PostTypeId="1" AcceptedAnswerId="14728" CreationDate="2018-11-02T15:53:46.897" Score="1" ViewCount="278" Body="&lt;p&gt;In Experience Editor, when I switch a page to Explore mode, I do not see the Settings panel that is referenced in all of Sitecore's documentation on the subject.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/explore_mode/explore_mode&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/explore_mode/explore_mode&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/explore_mode/using_explore_mode/explore_mode_settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/explore_mode/using_explore_mode/explore_mode_settings&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I've looked through the source of the Experience Editor page to see if I could find it (I thought it might be hidden behind part of our page with a &lt;code&gt;z-index&lt;/code&gt; or something), but I couldn't find anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know what might be causing it to hide?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-03T15:05:10.987" Title="Settings panel missing from Explore Mode" Tags="|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14723" PostTypeId="1" CreationDate="2018-11-02T16:06:31.723" Score="5" ViewCount="341" Body="&lt;p&gt;I am totally new to Sitecore, and a front-end developer, so please bear with me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm on a project that is prototyped using JSS and for some of our components we'd like to define custom types like: &quot;align&quot; that would be one of [&quot;top&quot;, &quot;middle&quot;, &quot;bottom&quot;] but the allowed, predefined, types (as in SingleLineText or RichText for examples) are limited.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to define such lists as &quot;types&quot;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, is it possible to define custom types like type: { some, other, fields } and later reuse those as { name: &quot;foo&quot;, type: &quot;MyCustomType&quot; } ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked the JSS documentation but so far it's pretty unclear if this is possible; any pointers is good. &lt;/p&gt;&#xA;" OwnerUserId="4540" LastActivityDate="2018-11-02T22:06:08.140" Title="JSS, is there a way to create custom types?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14724" PostTypeId="2" ParentId="14721" CreationDate="2018-11-02T16:48:28.443" Score="4" Body="&lt;p&gt;Using API-only mode does not &lt;em&gt;require&lt;/em&gt; usage of any of the JSS npm packages. In API-only mode, your app is interacting directly with one or more of the Sitecore headless APIs, e.g. Layout Service, GraphQL, etc... For instance, if you want data from Layout Service, you would use the xhr/fetch client of choice and make requests directly to the Layout Service endpoint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, if you are consuming Layout Service data in your React app, you'll likely find a lot of value in using the &lt;code&gt;@sitecore-jss/sitecore-jss-react&lt;/code&gt; package, specifically the &lt;code&gt;Placeholder&lt;/code&gt; component and the field helper components, e.g. &lt;code&gt;Image&lt;/code&gt;, &lt;code&gt;Text&lt;/code&gt;, etc... All of those components are designed to help render Layout Service data and reduce boilerplate code in your own app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are setup steps outlined for API-only mode here: &lt;a href=&quot;https://jss.sitecore.net/docs/fundamentals/application-modes#api-only-mode&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.net/docs/fundamentals/application-modes#api-only-mode&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-11-02T16:48:28.443" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14725" PostTypeId="2" ParentId="14723" CreationDate="2018-11-02T22:06:08.140" Score="5" Body="&lt;p&gt;In Sitecore such a list would be implemented via a &lt;em&gt;droplink&lt;/em&gt; field (in JSS manifest this is referred to as &lt;em&gt;ContentLink&lt;/em&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially you'd make a folder in &lt;code&gt;data/content&lt;/code&gt; to store your list items, such as &lt;code&gt;/data/content/alignments/{top|middle|bottom}/en.yml&lt;/code&gt;. Give each of those an &lt;code&gt;id&lt;/code&gt;, i.e. &lt;code&gt;id:align-top&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then on your component instance (on a route) where you'd like to refer to an alignment, add a &lt;code&gt;ContentLink&lt;/code&gt; field, and set the value to an ID reference to the alignment item's ID:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;myAlignmentField:&#xA;    id: align-top&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-11-02T22:06:08.140" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14726" PostTypeId="2" ParentId="14709" CreationDate="2018-11-03T06:31:14.870" Score="0" Body="&lt;p&gt;@user2332873 - I think I have a good news for you!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Refer this link which was very helpful for me in a similar task as yours - &lt;a href=&quot;https://alan-null.github.io/2017/12/sxa-blog&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating a news blog using SXA&lt;/a&gt;. You will be having step by step instructions on its implementation with extra features like buckets,tag cloud, tag list, load more, pagination etc.., that might be you of great use to your task!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For you first requirement,&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;1) Title of Hero Image needs to come from body of another the news article page and need to pick first 10-15 words&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Yur solution can be - as mentioned in this blog, where you can have two fields 1)Introduction (this field will have the first 10-15 words) and 2) Content (this field will have the whole content beginning from the first 10-15 words in Introduction field) and use rendering variants pointing to these fields&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think you have answer as for your second requirement from Richard Seal&lt;/p&gt;&#xA;" OwnerUserId="4515" LastActivityDate="2018-11-03T06:31:14.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14727" PostTypeId="2" ParentId="14706" CreationDate="2018-11-03T07:22:55.087" Score="1" Body="&lt;p&gt;&lt;strong&gt;This feature is not available on the Content Management server as you suggest it is.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;What is available, as you are showing, is the ability to change a password.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The &amp;quot;Old Password&amp;quot; is hashed and matched against the hash in the database (not the password it self).&lt;/li&gt;&#xA;&lt;li&gt;If it matches, then the Membership Provider will change the password.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;But it doesn't retrieve it.&lt;/p&gt;&#xA;&lt;h1&gt;How to Correctly Authenticate/Authorize a User&lt;/h1&gt;&#xA;&lt;p&gt;Below is some sample code that shows how to use the &lt;code&gt;AuthenticationManager&lt;/code&gt; in Sitecore.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;        var errorMessage = String.Empty;&#xA;&#xA;        if (String.IsNullOrEmpty(strUserName))&#xA;        {&#xA;            errorMessage = &amp;quot;Invalid username.&amp;quot;;&#xA;        }&#xA;        else if (String.IsNullOrEmpty(strPassword))&#xA;        {&#xA;            errorMessage = &amp;quot;Invalid password.&amp;quot;;&#xA;        }&#xA;        else&#xA;        {&#xA;            try&#xA;            {&#xA;                Sitecore.Security.Domains.Domain domain = Sitecore.Context.Domain;&#xA;                string domainUser = domain.Name + @&amp;quot;\&amp;quot; + strUserName;&#xA;                if&#xA;                (Sitecore.Security.Authentication.AuthenticationManager.Login(domainUser, strPassword))&#xA;                {&#xA;                    Sitecore.Web.WebUtil.Redirect(&amp;quot;/&amp;quot;);&#xA;                }&#xA;                else&#xA;                {&#xA;                    throw new System.Security.Authentication.AuthenticationException(&#xA;                        &amp;quot;Invalid username or password.&amp;quot;);&#xA;                }&#xA;            }&#xA;            catch (System.Security.Authentication.AuthenticationException)&#xA;            {&#xA;                errorMessage = &amp;quot;Processing error.&amp;quot;;&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This is explained in detail in the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/60/security_api_cookbook_sc60_and_later-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitcore 6.0 Security API Cookbook&lt;/a&gt; which goes into much detail about how to utilize various parts of the Security functions in Sitecore.  Probably worth mentioning that this guide will most likely apply to all versions of Sitecore up to Sitecore 9.0.2. In later versions of Sitecore, the Security API will most likely change due to the inclusion of Identity Server.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-03T07:22:55.087" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14728" PostTypeId="2" ParentId="14722" CreationDate="2018-11-03T15:05:10.987" Score="1" Body="&lt;p&gt;When you check the source of the page in Experience Editor, you should see at the bottom of the body a &lt;code&gt;&amp;lt;div class=&quot;experience-explorer&quot;&amp;gt;&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It contains a &lt;code&gt;&amp;lt;a class=&quot;trigger&quot;&amp;gt;&lt;/code&gt; link and iframe linking to &lt;code&gt;/sitecore modules/web/experienceexplorer/Controls/ExpEditor.aspx&lt;/code&gt; page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to click on the arrow trigger link to show the settings panel (see screenshot):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/arik7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/arik7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-11-03T15:05:10.987" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14729" PostTypeId="2" ParentId="14720" CreationDate="2018-11-03T15:38:25.330" Score="1" Body="&lt;p&gt;From what I can see in your stack trace, you're missing &lt;code&gt;None&lt;/code&gt; simulator item in your database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open Content Editor and check if you can search for item with ID &lt;code&gt;{0F1228C5-631B-48FC-B17B-6175BEFEB2F5}&lt;/code&gt; or just expand content tree to &lt;code&gt;/sitecore/layout/Simulators/None&lt;/code&gt; node:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SYDYk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SYDYk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you confirm that the item is not there, you can in theory just create a package from a vanilla Sitecore install and deploy it to your website, but if that node is missing, there is high chance that other nodes are missing as well. Maybe it would be better idea to try to run the upgrade again and see if it works better?&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-11-03T15:38:25.330" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14731" PostTypeId="2" ParentId="14715" CreationDate="2018-11-04T19:31:56.640" Score="4" Body="&lt;p&gt;Try granting at least &lt;code&gt;Workflow State Write&lt;/code&gt; to the role in question using Security Editor. Note that you may need to enable this permission type using the Columns dialog and assign it on the &quot;Published&quot; workflow state item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uedfD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;Enable this permission type using Columns dialog&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Hn5LI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hn5LI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="611" LastEditorUserId="319" LastEditDate="2018-11-07T13:18:21.580" LastActivityDate="2018-11-07T13:18:21.580" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14733" PostTypeId="1" CreationDate="2018-11-04T22:09:29.337" Score="0" ViewCount="743" Body="&lt;p&gt;I have a distributed Sitecore 9 Update 2 XP1 on prem setup. Getting below exception only on the CD servers, upon refresh the error goes away. Any ideas to resolve this?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Index sitecore_marketingdefinitions_web was not found Description: An&#xA;  unhandled exception occurred during the execution of the current web&#xA;  request. Please review the stack trace for more information about the&#xA;  error and where it originated in the code.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details:&#xA;  Sitecore.ContentSearch.Exceptions.IndexNotFoundException: Index&#xA;  sitecore_marketingdefinitions_web was not found&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source Error:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the&#xA;  current web request. Information regarding the origin and location of&#xA;  the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Stack Trace:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[IndexNotFoundException: Index sitecore_marketingdefinitions_web was&#xA;  not found]&lt;br&gt;&#xA;  Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name) +127&#xA;  Sitecore.Marketing.Search.Observers.Activation.UpdateSearchIndexObserver&lt;code&gt;1..ctor(ILogger&lt;/code&gt;1&#xA;  logger, String databaseName, String searchIndex) +302&lt;br&gt;&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider&#xA;  provider) +339&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.ScopedCallSite.Invoke(ServiceProvider&#xA;  provider) +116&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSite.Invoke(ServiceProvider&#xA;  provider) +111&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.TransientCallSite.Invoke(ServiceProvider&#xA;  provider) +30&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider&#xA;  provider) +111&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.ScopedCallSite.Invoke(ServiceProvider&#xA;  provider) +116&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider&#xA;  provider) +111&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.ScopedCallSite.Invoke(ServiceProvider&#xA;  provider) +116&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider&#xA;  provider) +111&lt;br&gt;&#xA;  Microsoft.Extensions.DependencyInjection.ScopedCallSite.Invoke(ServiceProvider&#xA;  provider) +116&lt;br&gt;&#xA;  Microsoft.Extensions.Internal.ConstructorMatcher.CreateInstance(IServiceProvider&#xA;  provider) +127&lt;br&gt;&#xA;  Microsoft.Extensions.Internal.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProvider&#xA;  provider, Type type) +69&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromServiceProvider(XmlNode&#xA;  configNode, Boolean assert) +483&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[ConfigurationException: Could not create object from service provider&#xA;  . Config XML: ]&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromServiceProvider(XmlNode&#xA;  configNode, Boolean assert) +646&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper) +138&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  Boolean assert) +68&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode&#xA;  processorNode) +91&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode&#xA;  processorNode) +145&lt;br&gt;&#xA;  Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters) +138&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +480&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;  +285    Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Web.RequestEventsHandler.OnPostAuthenticateRequest(HttpContextBase&#xA;  context) +214    Sitecore.Nexus.Web.HttpModule.(Object , EventArgs )&#xA;  +335    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;  +139    System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +197    System.Web.HttpApplication.ExecuteStep(IExecutionStep&#xA;  step, Boolean&amp;amp; completedSynchronously) +88&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4543" LastEditorUserId="1278" LastEditDate="2018-11-04T23:33:05.547" LastActivityDate="2018-11-05T04:45:33.963" Title="Index sitecore_marketingdefinitions_web was not found exception Sitecore 9 XP1 scaled" Tags="|content-search|configuration|" AnswerCount="1" CommentCount="0" ClosedDate="2018-11-05T14:02:30.447" ContentLicense="CC BY-SA 4.0" />
  <row Id="14734" PostTypeId="2" ParentId="14733" CreationDate="2018-11-04T23:22:10.563" Score="0" Body="&lt;p&gt;I'm not sure exactly why it can't find the index, however it's best practice to avoid having the CD server(s) do any indexing and leave that to another role.&#xA;This is to leave the CD server resources for doing actual content delivery instead of other background tasks such as indexing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3918/patching-to-remove-index-update-strategies&quot;&gt;here&lt;/a&gt; for a good post on how to do this with patch configs.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2018-11-05T04:45:33.963" LastActivityDate="2018-11-05T04:45:33.963" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14736" PostTypeId="1" AcceptedAnswerId="14742" CreationDate="2018-11-05T03:39:45.593" Score="1" ViewCount="608" Body="&lt;p&gt;Which pipeline should I use when a new rendering is added in the presentation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a scenario to add renderings programmatically if a particular rendering is added in the item. I will write a custom method to compare if the added rendering's template Id matches the required template ID then it will add renderings programmatically. I have a logic in mind but not sure which pipeline to use.&lt;/p&gt;&#xA;" OwnerDisplayName="user2980" LastEditorUserId="342" LastEditDate="2018-11-05T20:37:19.357" LastActivityDate="2018-11-05T20:37:19.357" Title="How to add renderings programmatically when another rendering is added" Tags="|presentation|sitecore-api|pipelines|events|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14737" PostTypeId="2" ParentId="13657" CreationDate="2018-11-05T03:44:47.307" Score="0" Body="&lt;p&gt;Check out the &lt;a href=&quot;https://www.codealamodeblog.com/Sitecore/Node-js/automate-with-yeoman/&quot; rel=&quot;nofollow noreferrer&quot;&gt;yeoman generator for Sitecore helix by Anastasiya Flynn&lt;/a&gt;. It gives a great scaffold for using TypeScript, Babel, Webpack, SCSS in a helix project.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-11-05T03:44:47.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14739" PostTypeId="1" CreationDate="2018-11-05T07:54:01.033" Score="10" ViewCount="484" Body="&lt;p&gt;We are using Sitecore Commerce 9.0.2. On our test server, usually after a weekend (thus assumption that the inactivity time is significant factor here) the Commerce responds with a InvalidShopCurrency error to all requests. The environment is not functional until iisreset. The first error occurrence is preceded with the error below. The log comes from Authoring instance. Any ideas for a fix?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All Commerce app pools on the IIS have Idle Time-out set to 0.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;48 09:11:11 INFO Request starting HTTP/1.1 GET http://localhost:5000/api/GetList(id='Catalogs',type='Sitecore.Commerce.Plugin.Catalog.Catalog,%20Sitecore.Commerce.Plugin.Catalog',skip=0,take=1000)?$expand=Items($expand=Components($expand=ChildComponents($expand=ChildComponents)))  &#xA;7 09:11:11 INFO Authorization was successful for user: null.&#xA;48 09:11:11 INFO MemCache.CreateCache.HabitatAuthoring.Items&#xA;48 09:11:11 INFO Management.block.getitembypath./sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/CommerceEngineDefaultStorefront|en&#xA;48 09:11:11 INFO Management.block.getitembypath./sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/CommerceEngineDefaultStorefront: Language=en&#xA;37 09:11:11 INFO MemCache.CreateCache.HabitatAuthoring.ItemsCollection&#xA;39 09:11:11 INFO Management.block.getitemsbypath./sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/CommerceEngineDefaultStorefront|en&#xA;14 09:11:11 ERROR Pipeline completed with error&#xA;System.Exception: Error processing block: Core.block.GetEnvironmentCache ---&amp;gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: Collection was modified; enumeration operation may not execute.&#xA;at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)&#xA;   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)&#xA;   at Sitecore.Commerce.Core.GetEnvironmentCacheBlock.Run(EnvironmentCacheArgument arg, CommercePipelineExecutionContext context)&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.BasePipelineBlockRunner.&amp;lt;Run&amp;gt;d__3`1.MoveNext()&#xA;33 09:11:11 ERROR Pipeline completed with error&#xA;System.Exception: Error processing block: Core.block.GetEnvironmentCache ---&amp;gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: Collection was modified; enumeration operation may not execute.&#xA;   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)&#xA;   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)&#xA;   at Sitecore.Commerce.Core.GetEnvironmentCacheBlock.Run(EnvironmentCacheArgument arg, CommercePipelineExecutionContext context)&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.BasePipelineBlockRunner.&amp;lt;Run&amp;gt;d__3`1.MoveNext()&#xA;14 09:11:11 ERROR Pipeline completed with error&#xA;System.Exception: Error processing block: Management.block.getitemsbypath ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Sitecore.Framework.Caching.SitecoreCacheExtensions.&amp;lt;Get&amp;gt;d__3`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Commerce.Plugin.Management.GetItemsByPathBlock.&amp;lt;Run&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.BasePipelineBlockRunner.&amp;lt;Run&amp;gt;d__3`1.MoveNext()&#xA;33 09:11:11 ERROR Pipeline completed with error&#xA;System.Exception: Error processing block: Management.block.getitemsbypath ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Sitecore.Framework.Caching.SitecoreCacheExtensions.&amp;lt;Get&amp;gt;d__3`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Commerce.Plugin.Management.GetItemsByPathBlock.&amp;lt;Run&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.BasePipelineBlockRunner.&amp;lt;Run&amp;gt;d__3`1.MoveNext()&#xA;33 09:11:11 ERROR Pipeline completed with error&#xA;System.Exception: Error processing block: Management.block.PopulateShop ---&amp;gt; System.ArgumentNullException: Value cannot be null.&#xA;Parameter name: source&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)&#xA;   at Sitecore.Commerce.Plugin.Management.PopulateShopBlock.&amp;lt;GetConfigurationItem&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Commerce.Plugin.Management.PopulateShopBlock.&amp;lt;Run&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.BasePipelineBlockRunner.&amp;lt;Run&amp;gt;d__3`1.MoveNext()&#xA;14 09:11:11 ERROR Pipeline completed with error&#xA;System.Exception: Error processing block: Management.block.PopulateShop ---&amp;gt; System.ArgumentNullException: Value cannot be null.&#xA;Parameter name: source&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)&#xA;   at Sitecore.Commerce.Plugin.Management.PopulateShopBlock.&amp;lt;GetConfigurationItem&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Commerce.Plugin.Management.PopulateShopBlock.&amp;lt;Run&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Framework.Pipelines.ReflectionPipelineBlockRunner.&amp;lt;InvokeBlock&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Framework.Pipelines.BasePipelineBlockRunner.&amp;lt;Run&amp;gt;d__3`1.MoveNext()&#xA;14 09:11:11 ERROR CtxMsg.Error.InvalidShopCurrency: Text=Currency 'USD' for Shop 'CommerceEngineDefaultStorefront' was not found.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3754" LastEditorUserId="2056" LastEditDate="2018-11-05T07:59:43.493" LastActivityDate="2018-12-18T16:00:54.610" Title="Commerce crashing after longer inactivity" Tags="|sitecore-commerce|iis|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14742" PostTypeId="2" ParentId="14736" CreationDate="2018-11-05T12:26:28.063" Score="3" Body="&lt;p&gt;It's not a pipeline, but you could use the &lt;code&gt;item:saved&lt;/code&gt; event's event args' &lt;code&gt;ItemChanges&lt;/code&gt; property for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, you would:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Check to see if the item saved was of the template you are looking for&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var savedItem = Event.ExtractParameter(args, 0) as Item;&#xA;if (savedItem == null || savedItem.TemplateID != new ID(&quot;YOUR-TEMPLATE-ID&quot;))&#xA;  return;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check to see if one of the &lt;code&gt;Sitecore.Data.Items.ItemChanges&lt;/code&gt; was the &lt;code&gt;Sitecore.FieldIDs.LayoutField&lt;/code&gt; or &lt;code&gt;Sitecore.FieldIDs.FinalLayoutField&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var itemChanges = Event.ExtractParameter(args, 1) as ItemChanges;&#xA;if (itemChanges == null || !itemChanges.HasFieldsChanged || (!itemChanges.IsFieldModified(FieldIDs.LayoutField) &amp;amp;&amp;amp; !itemChanges.IsFieldModified(FieldIDs.FinalLayoutField)))&#xA;  return;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check to see if the difference between the two includes adding the rendering you care about&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add your other renderings&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Note that this will fire every time anything is saved in Sitecore (including the changes you make at step 4 above!), so make sure you put in checks early to get out if your code isn't going to apply.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-05T12:26:28.063" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14744" PostTypeId="1" CreationDate="2018-11-05T14:38:36.453" Score="2" ViewCount="472" Body="&lt;p&gt;I am new to MongoDB structure with Sitecore data processing. I want to get contact Id based on EmailId from MongoDB with an query.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How to get contact Id from MongoDB based on EmailId?&lt;/li&gt;&#xA;&lt;li&gt;How it will be generated? &lt;/li&gt;&#xA;&lt;li&gt;Where it would be stored?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As &lt;code&gt;sitecore_analytics&lt;/code&gt; database has identifiers collection where in I could see id field which has EmailId value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each document has below fields in identifiers collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Id field has EmailId.&#xA;Contact field has some GuId.&#xA;Update field is latest date time value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I check contact field of foo@gmail.com email in MongoDB collection, Contact field value is different from actual contact id in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://localhost/sitecore/client/Applications/ExperienceProfile/contact?cid=xxxxx-xxxx-xxxx-xxxx-xxxxxxx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost/sitecore/client/Applications/ExperienceProfile/contact?cid=xxxxx-xxxx-xxxx-xxxx-xxxxxxx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &amp;amp; Regards.&lt;/p&gt;&#xA;" OwnerUserId="4357" LastEditorUserId="312" LastEditDate="2018-11-06T18:45:40.943" LastActivityDate="2018-11-06T18:45:40.943" Title="How to get Sitecore ContactId from MongoDB collection via query?" Tags="|xdb|mongodb|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14745" PostTypeId="2" ParentId="14744" CreationDate="2018-11-05T14:50:11.643" Score="1" Body="&lt;p&gt;I've not had to dereference a contact ID from an email ID, so I'm not exactly sure how they are related, but I do know you will need to convert the contact ID into the appropriate format for Mongo DB. The easiest way is in code, for which there is a convenient DotNetFiddle:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dotnetfiddle.net/T8iijs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dotnetfiddle.net/T8iijs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Id of the Contact in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&#xA;string contactId = &quot;50638e2f-43b2-46ee-806d-665f4fb08954&quot;;&#xA;&#xA;var guid = Guid.Parse(contactId);&#xA;var bytes = guid.ToByteArray();&#xA;var encodedId = Convert.ToBase64String(bytes);&#xA;&#xA;// Example: &quot;db.getCollection('Contacts').find({_id:new BinData(3, &quot;L45jULJD7kaAbWZfT7CJVA==')})&quot;&#xA;var mongoQuery = &quot;db.getCollection('Contacts').find({&quot; + string.Format(&quot;_id:new BinData(3, '{0}')&quot;, encodedId) + &quot;})&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above query will return the contacts with the ID you passed in (should just be one). You can then use that same ID to find any interactions with that ID:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.getCollection('Interactions').find({&#xA;    &quot;ContactId&quot;: new BinData(3, 'Wvck3FMkukG3Ex8yUN3z6g==') &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-05T14:50:11.643" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14746" PostTypeId="2" ParentId="14739" CreationDate="2018-11-05T15:48:12.537" Score="2" Body="&lt;p&gt;I had run into similar issue as I see at the bottom of the stack trace you have posted :&#xA;&lt;strong&gt;CtxMsg.Error.InvalidShopCurrency: Text=Currency 'USD' for Shop 'CommerceEngineDefaultStorefront' was not found.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Turned out that my Sitecore license had expired. Have you checked that? Just a thought, but sometimes we miss the obvious.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, checkout the blog post by Late Ryan Bailey: &lt;a href=&quot;https://blog.ryanbailey.co.nz/2018/02/sitecore-experience-commerce-commerce.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.ryanbailey.co.nz/2018/02/sitecore-experience-commerce-commerce.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best,&#xA;Hetal&lt;/p&gt;&#xA;" OwnerUserId="1301" LastActivityDate="2018-11-05T15:48:12.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14747" PostTypeId="2" ParentId="10937" CreationDate="2018-11-05T21:30:19.977" Score="2" Body="&lt;p&gt;Supplementing Gatogordo's response with this description from Sitecore's &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/working_with_content/composites/add_a_snippet&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the same way as with partial designs, you can group different kinds of renderings and reuse this group in different locations. The difference between a snippet and a partial design is that snippets are extensible, you can change the styling, and you can use them as often on the page as you want.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="247" LastActivityDate="2018-11-05T21:30:19.977" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14748" PostTypeId="2" ParentId="14744" CreationDate="2018-11-06T04:48:13.477" Score="2" Body="&lt;p&gt;I think this will get you what you need.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The model&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;We need to build a Bson model to push into our query&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.Xdb.Models&#xA;{&#xA;    using MongoDB.Bson.Serialization.Attributes;&#xA;&#xA;    [BsonIgnoreExtraElements]&#xA;    public class ContactRecord&#xA;    {&#xA;        public Identifiers Identifiers { get; set; }&#xA;&#xA;    }&#xA;&#xA;    [BsonIgnoreExtraElements]&#xA;    public class Identifiers&#xA;    {&#xA;        public string Identifier { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The function&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This function will make a call directly into Mongo and find a user whos Identifiers.Identifier equals the incoming email address.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using MongoDB.Bson;&#xA;using MongoDB.Bson.Serialization;&#xA;using MongoDB.Driver;&#xA;using MongoDB.Driver.Builders;&#xA;&#xA;public void FindContactByEmail(string email)&#xA;{&#xA;    try&#xA;    {&#xA;        var connectionString = ConnectionString();&#xA;        if (string.IsNullOrEmpty(connectionString))&#xA;            return;&#xA;&#xA;        MapContactModelClass();&#xA;&#xA;        SearchForEmailIdentifier(InitializeXdbConnection(connectionString), email);&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;&#xA;    }&#xA;}&#xA;&#xA;private static void MapContactModelClass()&#xA;{&#xA;    if(!BsonClassMap.IsClassMapRegistered(typeof(ContactRecord)))&#xA;        BsonClassMap.RegisterClassMap&amp;lt;ContactRecord&amp;gt;(cm =&amp;gt; { cm.MapMember(c =&amp;gt; c.Identifiers); }); &#xA;}&#xA;&#xA;private static string ConnectionString()&#xA;{&#xA;    return ConfigurationManager.ConnectionStrings[&quot;analytics&quot;]?.ConnectionString;&#xA;}&#xA;&#xA;private static MongoCollection&amp;lt;BsonDocument&amp;gt; InitializeXdbConnection(string connectionString)&#xA;{&#xA;    var client = new MongoDB.Driver.MongoClient(connectionString);&#xA;    var passNodeDb = client.GetServer().GetDatabase(&quot;sitecore_dev_analytics&quot;);&#xA;&#xA;    return passNodeDb?.GetCollection(&quot;Contacts&quot;);&#xA;}&#xA;&#xA;private static void SearchForEmailIdentifier(MongoCollection&amp;lt;BsonDocument&amp;gt; passesCollection, string email)&#xA;{&#xA;    if (passesCollection == null) return;&#xA;&#xA;    var query = Query&amp;lt;ContactRecord&amp;gt;.EQ(u =&amp;gt; u.Identifiers.Identifier, email);&#xA;&#xA;    var swimmerPass = passesCollection.FindOne(query);&#xA;    var id = swimmerPass[&quot;_id&quot;].AsGuid;&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also use some Sitecore built in functions, but a lot of them are marked as &lt;code&gt;internal&lt;/code&gt;, so it is hard to access them.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var driver = MongoDbDriver.FromConnectionString(&quot;analytics&quot;);&#xA;var visitorData = driver.Interactions.FindAllAs&amp;lt;VisitData&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2018-11-06T05:24:15.050" LastActivityDate="2018-11-06T05:24:15.050" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14749" PostTypeId="1" CreationDate="2018-11-06T06:21:27.040" Score="4" ViewCount="1508" Body="&lt;p&gt;According to Sitecore config, if we set &lt;code&gt;DisableBrowserCaching&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt;, then the &lt;code&gt;Cache-control&lt;/code&gt; header value would change to &lt;code&gt;no-cache, no-store&lt;/code&gt;. In my case, this is not happening and it always shows &lt;code&gt;Private&lt;/code&gt; as default value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone faced similar issue? Any help on this would really be appreciated ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;DISABLE BROWSER CACHING&#xA;        If true, all pages will have:&#xA;          Cache-Control: no-cache, no-store&#xA;          Pragma: no-cache&#xA;        in the http header&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;DisableBrowserCaching&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2384" LastEditorUserId="35" LastEditDate="2018-11-06T14:13:54.400" LastActivityDate="2018-11-09T19:08:54.377" Title="Cache-control header shows private always" Tags="|caching|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14750" PostTypeId="1" AcceptedAnswerId="14754" CreationDate="2018-11-06T07:06:28.253" Score="0" ViewCount="773" Body="&lt;p&gt;How can I tell Unicorn to sync the root item: &quot;Sxp&quot;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting the following message, when I try to sync my items with &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/unicorn.aspx?verb=Sync&amp;amp;configuration=&amp;amp;skipTransparentConfigs=0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lg0Ge.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lg0Ge.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here you can see the current tree:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tjrqe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tjrqe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and thats the XML config where I try to sync only some items from this tree&#xA;in the module &lt;code&gt;Foundation.Serialization.Serialization.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Content Basic Structure --&amp;gt;&#xA;&amp;lt;include name=&quot;Sitecore.Content.Sxp&quot; database=&quot;master&quot; path=&quot;/sitecore/content&quot;&amp;gt;&#xA;  &amp;lt;exclude children=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;except name=&quot;Sxp&quot; includeChildren=&quot;false&quot;/&amp;gt;&#xA;    &amp;lt;except name=&quot;Sxp/Settings&quot; includeChildren=&quot;false&quot;/&amp;gt;&#xA;    &amp;lt;except name=&quot;Sxp/Global&quot; includeChildren=&quot;false&quot;/&amp;gt;&#xA;  &amp;lt;/exclude&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the SxpDotCom tree is synced in an other config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I have to structure my config to avoid such problems?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On an other system where none of my node exists I get the following message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K1FXk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K1FXk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;what means that the &quot;sxp&quot; node does not exist :-/&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you need more informations please tell me.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="35" LastEditDate="2018-11-06T07:13:01.717" LastActivityDate="2018-11-06T09:37:44.313" Title="Unicorn Sync root notes only with some subitems" Tags="|unicorn|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14751" PostTypeId="2" ParentId="14750" CreationDate="2018-11-06T08:06:37.517" Score="2" Body="&lt;p&gt;It means that Unicorn expects that there is present &quot;Settings&quot; item under &quot;Sxp.Settings&quot; according to the error message: &quot;Default\Sxp.Settings\Settings.yml&quot;. But, looking on your tree, &quot;Sxp.Settings&quot; item is absent. So, parent item &quot;Sxp.Settings&quot; is absent for child &quot;Settings&quot;. That is why Unicorn is unable to sync this item and show error that could not find parent for &quot;Default\Sxp.Settings\Settings.yml&quot; item in the tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It could be caused when you serialized items from one location and then moved them to another location. You can fix it either by editing .yml files to fix paths or by removing wrong serialization and doing it from the scratch.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-11-06T08:06:37.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14752" PostTypeId="1" AcceptedAnswerId="14811" CreationDate="2018-11-06T08:20:41.573" Score="0" ViewCount="102" Body="&lt;p&gt;I'm new to the analytics part and working on a report to show visitor drop-offs, &#xA;which in our case is - &lt;em&gt;No. of visitors for a day&lt;/em&gt; vs &lt;em&gt;Those who added items to cart&lt;/em&gt; vs &lt;em&gt;Went to checkout&lt;/em&gt; vs &lt;em&gt;Completed the transaction&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My SQL query is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT fpv.ItemId,i.Name, SUM(fpv.Visits) AS Vists,&#xA;CASE WHEN fpv.ItemId = 'A0C87CA3-AAA6-441F-BBB3-DB7F7900F395' THEN 1 &#xA;WHEN fpv.ItemId = 'A7D9C743-6E92-4CEF-8626-5C67D2AABF61' THEN 2&#xA;WHEN fpv.ItemId = 'A4852323-9562-4130-BB49-1A3DC3C1C8C1' THEN 3&#xA;END AS COL&#xA;FROM Fact_PageViews fpv&#xA;LEFT JOIN [demo.local_Sitecore.master].[dbo].[Items] i ON fpv.ItemId = i.ID&#xA;WHERE CONVERT(date, fpv.Date) = '2018-10-11' AND&#xA;fpv.ItemId IN ('{A0C87CA3-AAA6-441F-BBB3-DB7F7900F395}', '{A7D9C743-6E92-4CEF-8626-5C67D2AABF61}', '{A4852323-9562-4130-BB49-1A3DC3C1C8C1}')&#xA;GROUP BY fpv.ItemId, i.Name&#xA;ORDER BY COL&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the result is :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ItemId                                  Name                Vists&#xA;------------------------------------------------------------------&#xA;A0C87CA3-AAA6-441F-BBB3-DB7F7900F395    Booking             7   &#xA;A7D9C743-6E92-4CEF-8626-5C67D2AABF61    Checkout            2   &#xA;A4852323-9562-4130-BB49-1A3DC3C1C8C1    OrderConfirmation   2   &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The drop-offs is the difference in site visitors &amp;amp; completed transactions.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Is the query correct for what I'm trying to achieve.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;How should I get a day's Site visits in this context.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SELECT SUM(Visits) FROM Fact_PageViews WHERE CONVERT(date, Date) = '2018-10-11'&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is that correct. But that includes all the 3 pages (specified above) as well. So, I'm confused whether to include/exclude them to calculate a drop-off.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 update 5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="312" LastEditDate="2018-11-06T18:42:01.853" LastActivityDate="2018-11-08T07:58:04.250" Title="How to calculate drop-offs?" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14753" PostTypeId="1" AcceptedAnswerId="14755" CreationDate="2018-11-06T09:12:27.217" Score="3" ViewCount="1543" Body="&lt;p&gt;I know how to programmatically add contacts to a contact list, either through the contact itself, or through the List Manager API:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;xContact.SetListSubscriptionsFacet(xConnectClient, listId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://www.brimit.com/blog/sitecore-9-list-manager-changes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.brimit.com/blog/sitecore-9-list-manager-changes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var subscriptionService = serviceLocator.ServiceProvider.GetService&amp;lt;ISubscriptionService&amp;gt;();&#xA;subscriptionService.Subscribe(contactListId, contactId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/the_list_manager/the_list_manager_api&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/the_list_manager/the_list_manager_api&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But none of these services have anything on how to programmatically &lt;em&gt;create&lt;/em&gt; a list. I can probably do it a dirty way by manually adding an item to &lt;code&gt;/sitecore/system/Marketing Control Panel/Contact Lists&lt;/code&gt; (based on &lt;code&gt;Contact List&lt;/code&gt; template), but if Sitecore needs to do some indexing or other things when creating lists, this will of course not be enough.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how can I programmatically create a contact list?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.2 (rev. 180604)&lt;/p&gt;&#xA;" OwnerUserId="3587" LastActivityDate="2018-11-06T13:01:06.830" Title="Programmatically create contact list" Tags="|list-manager|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14754" PostTypeId="2" ParentId="14750" CreationDate="2018-11-06T09:37:44.313" Score="0" Body="&lt;p&gt;I've found the solution for my problems&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the first problem was that there was the wrong yml structure deployed on my server :-/&lt;/li&gt;&#xA;&lt;li&gt;for the second problem I was using the &quot;Sitecore.Content.Sxp&quot; unicorn sync in my foundation serialization module, but I forgot that the &quot;Sxp&quot; node uses a template which is defined in another foundation module&lt;/li&gt;&#xA;&lt;li&gt;my solution was to extract the unicorn config part to my project layer common project where I've set all needed dependencies to other modules&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2018-11-06T09:37:44.313" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14755" PostTypeId="2" ParentId="14753" CreationDate="2018-11-06T09:45:53.087" Score="4" Body="&lt;p&gt;Here is the code which allows to create a contact list programatically in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private Guid CreateContactList()&#xA;{&#xA;    ContactListModel entity = new ContactListModel();&#xA;    Guid guid = Guid.NewGuid();&#xA;    entity.Id = guid.ToString();&#xA;    entity.Type = ListType.ContactList.ToString();&#xA;    entity.Name = &quot;My new contact list&quot;;&#xA;&#xA;    IRepository&amp;lt;ContactListModel&amp;gt; contactListRepository = (IRepository&amp;lt;ContactListModel&amp;gt;) ServiceLocator.ServiceProvider.GetService(typeof(IRepository&amp;lt;ContactListModel&amp;gt;));&#xA;    contactListRepository.Add(entity);&#xA;    return guid;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Remember to add references to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.ListManagement.Services.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Marketing.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Services.Core.dll&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-11-06T09:45:53.087" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14756" PostTypeId="2" ParentId="14753" CreationDate="2018-11-06T09:53:51.043" Score="6" Body="&lt;p&gt;For Sitecore 9.x, you need to go through the &lt;code&gt;IDefinitionManager&amp;lt;IContactListDefinition&amp;gt;&lt;/code&gt; from Sitecore.Marketing.dll. As an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string name = ItemUtil.ProposeValidItemName(&quot;name&quot;);&#xA;var listId = Guid.NewGuid();&#xA;string alias = ItemUtil.ProposeValidItemName(FormattableString.Invariant($&quot;{name}-{listId}&quot;));; //alias must be unique for each language variant&#xA;CultureInfo cultureInfo = Context.Language.CultureInfo;&#xA;string createdBy = Sitecore.Context.User.Name;&#xA;&#xA;var definitionManager = ServiceLocator.ServiceProvider.GetService&amp;lt;IDefinitionManager&amp;lt;IContactListDefinition&amp;gt;&amp;gt;();&#xA;definitionManager.SaveAsync(new ContactListDefinition(listId, alias, cultureInfo, name, DateTime.UtcNow, createdBy), true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A few notes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The alias must be unique, which is why List Manager by default appends the item ID. It's not required to append the ID though, as long as the alias is unique.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In List Manager you will see lists created in the context language of the user, so you'll want to make sure you're setting creating the list using the corresponding CultureInfo.&lt;/p&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2018-11-06T13:01:06.830" LastActivityDate="2018-11-06T13:01:06.830" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="14757" PostTypeId="2" ParentId="3833" CreationDate="2018-11-06T10:23:32.323" Score="21" Body="&lt;p&gt;It's easier Today if you work with Sitecore 9, you can do it from your Content Management server. Just go to /sitecore/admin/ShowConfigLayers.aspx and select Content Delivery.&lt;/p&gt;&#xA;&lt;p&gt;This is article explaining in details how to &lt;a href=&quot;https://doc.sitecore.com/xp/en/developers/90/platform-administration-and-architecture/view-configuration-changes.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;View configuration changes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1857" LastEditorUserId="1857" LastEditDate="2023-10-13T11:16:09.413" LastActivityDate="2023-10-13T11:16:09.413" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14759" PostTypeId="1" AcceptedAnswerId="14769" CreationDate="2018-11-06T12:32:51.767" Score="1" ViewCount="480" Body="&lt;p&gt;Is it possible to decouple the use of the LayoutService from all of the Routing code and use it independently?   We are upgrading an AngularJS application to Angular and have incorporated JSS but are not yet ready to commit to new Angular routing so would just like to have the ability to get JSS/Sitecore data within our new components.   I don't want to make changes to the code that could break us with future upgrades to the Sitecore JSS libraries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions would be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="4496" LastActivityDate="2018-11-06T18:09:45.837" Title="JSS LayoutService decoupled from Routing in Angular" Tags="|jss|routing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14760" PostTypeId="2" ParentId="14332" CreationDate="2018-11-06T13:20:44.217" Score="4" Body="&lt;p&gt;Search in Commerce is using &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_odata_item_service&quot; rel=&quot;nofollow noreferrer&quot;&gt;OData Item Service&lt;/a&gt;. &#xA;Except for term, you type in Search dialog, additional filters might be used. Filters are defined by the OData Item API Key. &#xA;In a default configuration commerce habitat and adventure environments are using &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;34905B27-5F55-4DF8-B866-B60A1571D2D5&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;as API key. This item is located in core database and contains filter below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;(Fields/any(f: (f/Name eq 'Extension' and (f/Value eq 'png' or f/Value&#xA;  eq 'jpg'))) and Language eq 'en' and (contains(Path,&#xA;  '/images/adventure') or contains(Path, '/images/habitat'))))&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As you can see, the search is done only for images with extensions *.png and *.jpg and only under the habitat and adventure folders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should either register your own filter and update environment configuration or, as a fast change, update existing one.&lt;/p&gt;&#xA;" OwnerUserId="829" LastActivityDate="2018-11-06T13:20:44.217" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14761" PostTypeId="1" CreationDate="2018-11-06T13:51:59.997" Score="4" ViewCount="455" Body="&lt;p&gt;I have a requirement to create a saved search item under our bucket item, that will display all items created in the last X days, where X is 7 by default but client would like to change that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use &lt;code&gt;Solr 6.6.2&lt;/code&gt; and &lt;code&gt;Sitecore 8.2 update-6&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't use a &lt;code&gt;Date Range&lt;/code&gt; facet on the right, because it is not flexible enough and the filter has to be applied automatically when user opens saved search item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/working-with-dates.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; link I found that there is a &lt;code&gt;NOW&lt;/code&gt; parameter that I can use with Solr, but it does not work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried something like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qQdZw.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qQdZw.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;NOW&lt;/code&gt; parameter has to be provided to Solr as a query string parameter, but Sitecore doesn't do that. &lt;/p&gt;&#xA;" OwnerUserId="35" LastEditorUserId="35" LastEditDate="2018-11-08T08:27:37.263" LastActivityDate="2018-11-08T08:27:37.263" Title="How to search for items created in the last X days in Content Search tab?" Tags="|content-search|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14762" PostTypeId="1" AcceptedAnswerId="14766" CreationDate="2018-11-06T14:34:19.037" Score="3" ViewCount="1301" Body="&lt;p&gt;I've a new sitecore helix Solution and currently I am a bit unsure where I can place my business logic?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;currently I think I need to extract the business logic into some external services is that the &quot;right&quot; approach or do you host the business in your sitecore project?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2018-11-07T05:58:29.000" LastActivityDate="2019-02-15T08:51:17.173" Title="Sitecore helix pattern and where to place your business logic" Tags="|helix|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14763" PostTypeId="2" ParentId="14762" CreationDate="2018-11-06T14:38:11.790" Score="1" Body="&lt;p&gt;Put your business logic into a &lt;code&gt;Feature&lt;/code&gt; or &lt;code&gt;Foundation&lt;/code&gt; layer of your solution.&#xA;For example, if you have a business logic for your Website's Newsletter, then crate a &lt;code&gt;Feature.Newsletter&lt;/code&gt; project and &lt;code&gt;Foundation.Newsletter&lt;/code&gt; (if needed) and put your logic there. You can put all your services, views, controllers etc into feature project.&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-11-06T14:38:11.790" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14764" PostTypeId="1" CreationDate="2018-11-06T14:43:43.610" Score="1" ViewCount="683" Body="&lt;p&gt;Following the tutorial everything is looking good. The app deploys with no errors using jss deploy app --includeContent --includeDictionary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see the content in Sitecore so thats all good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However when I view the site I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: GraphQL error: Unknown type GraphQLConnectedDemo. GraphQL error: Unknown type AppRoute. GraphQL error: Unknown type AppRoute. Error: GraphQL error: Unknown type GraphQLConnectedDemo. GraphQL error: Unknown type AppRoute. GraphQL error: Unknown type AppRoute. at new t (C:\inetpub\wwwroot\S901\dist\example\server.bundle.js:31:327641) at C:\inetpub\wwwroot\S901\dist\example\server.bundle.js:31:346419 at C:\inetpub\wwwroot\S901\dist\example\server.bundle.js:31:353104 at Array.forEach () at C:\inetpub\wwwroot\S901\dist\example\server.bundle.js:31:353084 at Map.forEach () at e.broadcastQueries (C:\inetpub\wwwroot\S901\dist\example\server.bundle.js:31:352991) at Object.next (C:\inetpub\wwwroot\S901\dist\example\server.bundle.js:31:353850) at m (C:\inetpub\wwwroot\S901\dist\example\server.bundle.js:31:404472) at y (C:\inetpub\wwwroot\S901\dist\example\server.bundle.js:31:404838)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.Http.HttpNodeInstance.InvokeExport[T](NodeInvocationInfo invocationInfo)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance.InvokeExport[T](String moduleName, String exportNameOrNull, Object[] args)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExportWithPossibleRetry[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExport[T](String moduleName, String exportedFunctionName, Object[] args)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.Node.NodeRenderEngine.Invoke[T](String moduleName, String functionName, Object[] functionArgs)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.PerformRender(TextWriter writer, IRenderEngine renderEngine, String moduleName, String functionName, Object[] functionArgs)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any ideas? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks! &lt;/p&gt;&#xA;" OwnerUserId="4553" LastActivityDate="2021-09-05T23:58:35.327" Title="Error loading site in connected mode: Unknown type GraphQLConnectedDemo" Tags="|jss|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14765" PostTypeId="1" CreationDate="2018-11-06T15:01:41.677" Score="1" ViewCount="72" Body="&lt;p&gt;I'm using sitecore9.0.1, i used the xprofile to save custom Events in the &quot;interactions&quot; table in DB by defining the custom models and triggering the related page event on a certain action that the user performs. &#xA;I know that &quot;Experience Profile&quot; tab in the launchpad is used to view all interactions made by the user, when i view it i can see it also shows my custom events in the &quot;overview&quot; tab.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UjpAM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UjpAM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA; However it only shows the name of my events but my question is :&#xA;Is there a way to add an extra tab in which i can view the properties i saved in those custom events (for example: the page event name, the time,the page title,......) and to also generate custom reports for those custom events ??&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="73" LastEditDate="2018-11-06T15:04:40.700" LastActivityDate="2018-11-06T15:04:40.700" Title="Adding tabs to the Experience Profile overview" Tags="|experience-profile|" AnswerCount="0" CommentCount="6" ClosedDate="2018-11-11T15:00:46.497" ContentLicense="CC BY-SA 4.0" />
  <row Id="14766" PostTypeId="2" ParentId="14762" CreationDate="2018-11-06T15:43:25.537" Score="8" Body="&lt;p&gt;First of; there is no single &quot;Sitecore Project&quot;. There is your solution, and that's what Helix addresses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As to where to place &quot;business logic&quot; - you use a generic term, when a specific one is required. Helix advocates breaking things down into logical groupings (modules). So if you were to say, develop some Newsletter functionality (as mentioned in another answer here) - that would logically group into a &quot;Newsletter&quot; feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This feature would (maybe) be a single project. Inside that you would have your view files, your controller renderings and so on. But you would also have your INewsletterService or whatever else information structure your newsletter is built upon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's also likely that, if not now then later, some of that newsletter functionality would be pushed down into the Foundation layer. Like the actual mechanics of sending a mail, for instance - which could have uses elsewhere in your solution. Like sending a registration confirmation mail or whatever it may be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you group related stuff together, that's (you know... simplified) what Helix is about.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-11-06T15:43:25.537" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14767" PostTypeId="2" ParentId="11641" CreationDate="2018-11-06T16:00:17.343" Score="2" Body="&lt;p&gt;A slightly different technique that I took was to incorporate a &quot;Switcher&quot; rendering. This is a controller rendering with no view/model compliment. Via some settings, I dynamically pull the rendering and datasource I want to &quot;switch&quot; into the existing location.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Example&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Layout&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Header&lt;/li&gt;&#xA;&lt;li&gt;Some Content&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Switcher&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Footer&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;SwitcherController.cs&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var stringBuilder = new StringBuilder();&#xA;&#xA;var rendering = new Rendering&#xA;{&#xA;    DataSource = datasourceItem.ID.ToString(),&#xA;    RenderingItemPath = renderingItem.ID.ToString()&#xA;};&#xA;&#xA;var renderingArgs = new RenderRenderingArgs(rendering, new StringWriter(stringBuilder));&#xA;&#xA;CorePipeline.Run(&quot;mvc.renderRendering&quot;, renderingArgs);&#xA;&#xA;return Content(stringBuilder.ToString());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to obtain the proper &lt;code&gt;RenderingItem&lt;/code&gt; and &lt;code&gt;DatasourceItem&lt;/code&gt; by your own means. There are additional &lt;code&gt;RenderingArgs&lt;/code&gt; properties that may be set if your need suffices. Note that there are additional verification steps omitted (verify rendering type, verify datasource type, etc.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By running &lt;code&gt;mvc.renderRendering&lt;/code&gt;, the switched renderings will run through the standard Sitecore rendering pipeline. &lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-11-06T16:00:17.343" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14768" PostTypeId="2" ParentId="14764" CreationDate="2018-11-06T17:59:33.053" Score="0" Body="&lt;p&gt;Recycling the IIS app pool once will resolve this issue. This is a bug that we fixed in the generally available release.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-11-06T17:59:33.053" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14769" PostTypeId="2" ParentId="14759" CreationDate="2018-11-06T18:09:45.837" Score="3" Body="&lt;p&gt;Absolutely possible to use without routing. The &lt;a href=&quot;http://jss.sitecore.net/docs/fundamentals/services/layout-service&quot; rel=&quot;nofollow noreferrer&quot;&gt;layout service&lt;/a&gt; is a simple REST API at its core, and it does not care if it's invoked from a router or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sample app's &lt;a href=&quot;https://github.com/Sitecore/jss/blob/0292a05077c4ef21b668eb9c30412f57620c3779/samples/angular/src/app/jss-context.service.ts#L55&quot; rel=&quot;nofollow noreferrer&quot;&gt;jss-context.service.ts&lt;/a&gt; shows the REST call being made. The &lt;code&gt;sitecore-jss-angular&lt;/code&gt; package's &lt;code&gt;LayoutService&lt;/code&gt; type uses the angular &lt;code&gt;HttpClient&lt;/code&gt; to make the call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you think you'll need routing later, it may be easier in the long term to keep the router around and just use a single route for the moment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;JSS apps must support server-side rendering to be usable in the Experience Editor, which means your app will need to be &lt;code&gt;TransferState&lt;/code&gt;-aware like the sample is. During SSR, the route data is passed into the &lt;code&gt;renderView()&lt;/code&gt; function directly and is not acquired via REST.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-11-06T18:09:45.837" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14770" PostTypeId="1" AcceptedAnswerId="14778" CreationDate="2018-11-06T18:34:54.563" Score="0" ViewCount="444" Body="&lt;p&gt;I am trying to create xConnect contact from console application by using xConnect API.I have downloaded the code from url &lt;a href=&quot;https://github.com/jst-cyr/xConnectTutorial&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/jst-cyr/xConnectTutorial&lt;/a&gt; and trying to add the contact to sitecore 9 instance but it is throwing the following error at &lt;strong&gt;InitializeAsync&lt;/strong&gt; method&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;An error occurred while sending the request. ---&amp;gt; System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---&amp;gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&amp;gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error occurs at following highlighted code&#xA;&lt;a href=&quot;https://i.stack.imgur.com/K5G9S.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K5G9S.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4549" LastEditorUserId="2466" LastEditDate="2018-11-06T19:10:46.790" LastActivityDate="2018-11-07T03:33:30.440" Title="Error while creating xDB contacts using xConnect API" Tags="|xconnect|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14771" PostTypeId="2" ParentId="13894" CreationDate="2018-11-06T20:48:58.140" Score="4" Body="&lt;p&gt;There is an easy way, to protect Powershell scripts to run under wrong bit versions.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;If(![Environment]::Is64BitProcess) &#xA;{&#xA;    Write-Host &quot;Please run 64-bit PowerShell&quot; -foregroundcolor &quot;yellow&quot;&#xA;    return&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2739" LastActivityDate="2018-11-06T20:48:58.140" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14772" PostTypeId="2" ParentId="12056" CreationDate="2018-11-06T20:55:49.060" Score="1" Body="&lt;p&gt;You can generate a strong password using a &lt;a href=&quot;https://github.com/SoftServeInc/SitecoreInstallExtensions/wiki/How-to-generate-and-manage-secrets&quot; rel=&quot;nofollow noreferrer&quot;&gt;SIX&lt;/a&gt; module.&#xA;This module has a config function to generate a password:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Variables&quot;: {&#xA;    &quot;SitecoreAdminPassword&quot;: &quot;[password('8')]&quot;,&#xA;    &quot;SqlAdminPassword&quot;: &quot;[password('16')]&quot;,&#xA;  },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Passwords in Powershell scripts must be inside '' not &quot;&quot;. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/TQBYW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TQBYW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Module SitecoreInstallAzure additionaly can store secrets in Azure KeyVault.&lt;/p&gt;&#xA;" OwnerUserId="2739" LastActivityDate="2018-11-06T20:55:49.060" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14773" PostTypeId="1" AcceptedAnswerId="14780" CreationDate="2018-11-06T22:18:19.823" Score="4" ViewCount="702" Body="&lt;p&gt;During certain periods we have the requirement to disable publishing for a period of time. The current approach for this is pretty brute-force. Delete the Publishing Targets and then restore them from the Recycle bin later that day as required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know of a nicer way of doing this which ideally maintains the Publishing Targets but disables the Publishing Targets in some way or removes permissions for all users? - something along those lines, maybe using SPE to automate it.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-11-09T12:21:02.740" Title="How to disable Publishing Temporarily?" Tags="|publishing|powershell-extensions|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14774" PostTypeId="2" ParentId="14773" CreationDate="2018-11-06T22:43:03.527" Score="0" Body="&lt;p&gt;Use SPE to remove the Read permission of the publishing target, then reinstate it later.&#xA;One option is to use SiteCron, another option is to install SPE.Remoting, then use an external schedule task (windows schedule task or azure webjobs) to trigger the powershell scripts.&lt;/p&gt;&#xA;" OwnerUserId="2716" LastEditorUserId="2716" LastEditDate="2018-11-06T23:17:23.417" LastActivityDate="2018-11-06T23:17:23.417" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14775" PostTypeId="1" CreationDate="2018-11-06T23:18:48.957" Score="8" ViewCount="626" Body="&lt;p&gt;I am working on an inherited project that was built with minimal support for editing with the Experience Editor (&lt;code&gt;Sitecore&lt;/code&gt; 8.2.4). In particular, I need to retrofit &lt;code&gt;EditFrames&lt;/code&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/developing/developing_with_sitecore/using_editframes&quot; rel=&quot;noreferrer&quot;&gt;(documentation link)&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some background, the project uses the &lt;a href=&quot;https://github.com/GuitarRich/sitecore.react&quot; rel=&quot;noreferrer&quot;&gt;Sitecore.React&lt;/a&gt; project as its view engine (razor is replaced by React JS), so existing razor helpers for &lt;code&gt;EditFrame&lt;/code&gt; rendering were not available. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I programmatically supply/build &lt;code&gt;EditFrames&lt;/code&gt; within the MVC C# code?&lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="312" LastEditDate="2018-11-07T08:43:37.820" LastActivityDate="2018-11-07T08:43:37.820" Title="How do you render EditFrame programmatically in C#?" Tags="|experience-editor|sitecore-react|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14776" PostTypeId="2" ParentId="14775" CreationDate="2018-11-06T23:18:48.957" Score="8" Body="&lt;p&gt;I was able to supply the view layer with &lt;code&gt;EditFrame&lt;/code&gt; HTML by adding the opening and closing HTML markup into my MVC Model. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;HTMLHelper&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Step 1: Obtain access to HtmlHelper using your current context Controller and a &quot;Fake View&quot;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static HtmlHelper GetHtmlHelper(this Controller controller)&#xA;{&#xA;    StringBuilder sb = new StringBuilder();&#xA;    HtmlTextWriter htw = new HtmlTextWriter(new System.IO.StringWriter(sb, System.Globalization.CultureInfo.InvariantCulture));&#xA;    var viewContext = new ViewContext(controller.ControllerContext, new FakeView(), controller.ViewData, controller.TempData, htw);&#xA;    return new HtmlHelper(viewContext, new ViewPage());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;An example of using fake view can be found &lt;a href=&quot;https://stackoverflow.com/questions/483091/how-to-render-an-asp-net-mvc-view-as-a-string&quot;&gt;on this question&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;EditFrame Rendering&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Step 2: Use the EditFrameRendering class (similar to that in &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/SitecoreExtensions/code/Controls/EditFrameRendering.cs&quot; rel=&quot;noreferrer&quot;&gt;Habitat&lt;/a&gt;) to obtain the opening and closing HTML markup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void SetEditDatasourceEditFrame(IComponentModelBase model, Controller controller)&#xA;{&#xA;    var htmlHelper = controller.GetHtmlHelper();&#xA;    EditFrameRendering editFrame = new EditFrameRendering(htmlHelper.ViewContext.Writer, model.DataSourcePath, _editFrameLocation, &quot;Edit Component&quot;, string.Empty, string.Empty, null);&#xA;    model.EditDatasourceStart = editFrame.EditFrameStart();&#xA;    model.EditDatasourceEnd = editFrame.EditFrameEnd();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;EditFrameRendering.cs&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Note the modification to &lt;a href=&quot;https://github.com/TomTyack/Sitecore-Programmatic-Editframes/blob/master/src/Foundation/Editing/code/ExperienceEditor/EditFrameRendering.cs&quot; rel=&quot;noreferrer&quot;&gt;EditFrameRendering.cs&lt;/a&gt; from the Habitat project to support the code above. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string EditFrameStart()&#xA;{&#xA;    StringWriter stringWriter = new StringWriter();&#xA;    // Put HtmlTextWriter in using block because it needs to call Dispose.&#xA;    using (HtmlTextWriter writer = new HtmlTextWriter(stringWriter))&#xA;    {&#xA;        this._editFrame.RenderFirstPart(writer);&#xA;    }&#xA;    // Return the result.&#xA;    return stringWriter.ToString();&#xA;}&#xA;&#xA;public string EditFrameEnd()&#xA;{&#xA;    StringWriter stringWriter = new StringWriter();&#xA;    // Put HtmlTextWriter in using block because it needs to call Dispose.&#xA;    using (HtmlTextWriter writer = new HtmlTextWriter(stringWriter))&#xA;    {&#xA;        this._editFrame.RenderLastPart(writer);&#xA;    }&#xA;    // Return the result.&#xA;    return stringWriter.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;View Layer&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In your view layer access the model, writing out the start and end HTML. Adding any content to go within the edit frame between the tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example React View:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const ReactDOMServer = require('react-dom/server');&#xA;&#xA;...&#xA;&#xA;editFrameMarkup() {&#xA;    const content = (&amp;lt;div&amp;gt;My Edit Frame&amp;lt;/div&amp;gt;);&#xA;    return (&amp;lt;li&amp;gt;&amp;lt;div dangerouslySetInnerHTML={this.createMarkup(this.props.data.EditDatasourceStart, content, this.props.data.EditDatasourceEnd)} /&amp;gt;&amp;lt;/li&amp;gt;);&#xA;},&#xA;&#xA;createMarkup(open, content, close) {&#xA;    const htmlString = ReactDOMServer.renderToStaticMarkup(content);&#xA;    const wrapper = open + htmlString + close;&#xA;    return { __html: wrapper };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above markup was taken from a reusable react component used across all renderings. The model was passed to this react component as a property called data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Github example is &lt;a href=&quot;https://github.com/TomTyack/Sitecore-Programmatic-Editframes&quot; rel=&quot;noreferrer&quot;&gt;available here.&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2018-11-06T23:18:48.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14777" PostTypeId="2" ParentId="14126" CreationDate="2018-11-07T00:26:45.600" Score="3" Body="&lt;p&gt;So I resolved the problem as follows. First in the commerce solution, I added a pricing plugin. In the pricing plugin, I created two components a SellableItemPriceModifiersComponent and a CartMemberTypeComponent. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On create of a sellable item, I add the SellableItemPriceModifiersComponent  to the components. This is where information was stored about the different prices by user type.&#xA;On user login, I would add a CartMemberTypeComponent to Cart.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a CustomCalculateCartLinesSubTotalsBlock that runs in the ICalculateCartLinesPipeline pipeline. CustomCalculateCartLinesSubTotalsBlock checks for the existence of a CartMemberTypeComponent and if present modifies the calculation of the cart line totals using the SellableItemPriceModifiersComponent if present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, I needed to be able to add the CartMemberTypeComponent to the cart when a user logs in. To do this again in the commerce solution, I added CommandsController with an AddUserCartMemberTypeComponent method. This would take a parameter of the cartId and some member type variables. It would find the cart, create the component, and add to the cart.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then from the Client Web Application needed to be able to call the AddUserCartMemberTypeComponent method. To do this, I used the Sitecore.Commerce.Proxy project where I updated the connected service odata for the commerce application. This created the end point for my AddUserCartMemberTypeComponent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to call upon login, I overrode the Login method in the Sitecore.Commerce.XA.Foundation.CommerceEngine.Managers.AccountManager class. At the end of the method, I added a call to a new method AddUserPricingPropertiesToCart on a CustomCartManager class modeled after the Sitecore.Commerce.XA.Foundation.Connect.Managers.CartManager class. This calls into a CustomCartServiceProvider which called a custom pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pipeline had one processor UpdateUserPricingProcessor, which inherited from Sitecore.Commerce.Engine.Connect.Pipelines.Carts.CartProcessor. The UpdateUserPricingProcessor called into the AddUserCartMemberTypeComponent command through the Sitecore.Commerce.Proxy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That is how I did it. It was a bit of an effort.&lt;/p&gt;&#xA;" OwnerUserId="2068" LastActivityDate="2018-11-07T00:26:45.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14778" PostTypeId="2" ParentId="14770" CreationDate="2018-11-07T03:33:30.440" Score="2" Body="&lt;p&gt;Some of the security protocols which are used by .NET console application might have been disabled.Adding the below code which will set the security protocol property to connect with sitecore xConnect will resolve this connection issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12 | System.Net.SecurityProtocolType.Tls11 | System.Net.SecurityProtocolType.Tls | System.Net.SecurityProtocolType.Ssl3;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add the above code before calling initializeAsync method in your console application.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-11-07T03:33:30.440" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14779" PostTypeId="1" CreationDate="2018-11-07T06:29:36.080" Score="4" ViewCount="401" Body="&lt;p&gt;we have Sitecore.NET 8.0 (rev. 150812) with Active Directory Module 1.3, it all seems to be working correctly and I checked the documentation for the module and our configuration seems to be working correctly. I can see the existing Active Directory users and Roles using the User and Role manager but when we try to create a new user of the domain &quot;ad&quot; we get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Web.HttpUnhandledException&#xA;Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;Source: System.Web&#xA;   at System.Web.UI.Page.HandleError(Exception e)&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean &#xA;   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest(Boolean &#xA;   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest()&#xA;   at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;   at ASP.sitecore_shell_applications_security_createnewuser_createnewuser_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\8ecf017a\aa20fcab\App_Web_3rvdpsoq.0.cs:line 0&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA; Exception: System.UnauthorizedAccessException&#xA; Message: Access is denied.&#xA;&#xA; Source: Active Directory&#xA;   at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.SetInfo()&#xA;   at System.DirectoryServices.DirectoryEntry.CommitChanges()&#xA;   at System.Web.Security.ActiveDirectoryMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus&amp;amp; status)&#xA;   at LightLDAP.SitecoreADMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus&amp;amp; status)&#xA;   at Sitecore.Security.SwitchingMembershipProvider.CreateUser(String userName, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus&amp;amp; status)&#xA;   at Sitecore.Security.SitecoreMembershipProvider.&amp;lt;&amp;gt;c__DisplayClass9.&amp;lt;CreateUser&amp;gt;b__8()&#xA;   at Sitecore.Data.DataProviders.NullRetryer.Execute[T](Func`1 action, Action recover)&#xA;   at Sitecore.Security.SitecoreMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus&amp;amp; status)&#xA;   at System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser()&#xA;   at System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e)&#xA;   at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e)&#xA;   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Connectivity seems to be working as when accessing /sitecore/admin/ProviderStatus.aspx we get this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H5WxT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H5WxT.png&quot; alt=&quot;providerstatus.aspx&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Our configuration for Membership Provider is the following&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;ad&quot;&#xA; type=&quot;LightLDAP.SitecoreADMembershipProvider&quot;&#xA; connectionStringName=&quot;xxx&quot;&#xA; applicationName=&quot;sitecore&quot;&#xA; minRequiredPasswordLength=&quot;1&quot;&#xA; minRequiredNonalphanumericCharacters=&quot;0&quot;&#xA; requiresQuestionAndAnswer=&quot;false&quot;&#xA; requiresUniqueEmail=&quot;false&quot;&#xA; connectionUsername=&quot;xxx&quot;&#xA; connectionPassword=&quot;xxx&quot;&#xA; connectionProtection=&quot;Secure&quot;&#xA; attributeMapUsername=&quot;sAMAccountName&quot;&#xA; enableSearchMethods=&quot;true&quot;&#xA; customFilter=&quot;(memberof=CN=JIRA Users,ou=Groups,ou=Information &#xA; Services,ou=Strategy &amp;amp;amp; Finance,ou=Head &#xA; Office,DC=ENTITY,DC=COM,DC=AU)&quot;/&amp;gt;&#xA;&#xA; &amp;lt;add name=&quot;ad&quot; &#xA;  type=&quot;LightLDAP.SitecoreADRoleProvider&quot; &#xA;  connectionStringName=&quot;EndeavourLDAP&quot; &#xA;  applicationName=&quot;sitecore&quot; &#xA;  username=&quot;xxxx&quot; &#xA;  password=&quot;xxxx&quot; &#xA;  attributeMapUsername=&quot;sAMAccountName&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1023" LastEditorUserId="2056" LastEditDate="2018-11-07T07:32:49.703" LastActivityDate="2018-11-07T16:13:52.287" Title="Unable to create Sitecore user for an Active Directory user" Tags="|active-directory-module|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14780" PostTypeId="2" ParentId="14773" CreationDate="2018-11-07T07:19:22.297" Score="7" Body="&lt;h1&gt;a) Manual way through Sitecore PowerShell IDE&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You can achieve this by Sitecore Powershell Extensions (SPE).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As your requirement is to enable/disable publishing targets, I would set Write permissions and keep Read permissions enabled. This will still show those publishing targets but enable/disable them as needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SPE script to &lt;strong&gt;disable&lt;/strong&gt; Publishing Target:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$acl = New-ItemAcl -AccessRight item:write -PropagationType Any -SecurityPermission DenyAccess -Identity &quot;{username_goes_here}&quot;&#xA;&#xA;Get-Item -Path &quot;master:\system\Publishing targets\{your publishing target goes here}&quot; | Set-ItemAcl -AccessRules $acl -PassThru&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SPE script to &lt;strong&gt;enable&lt;/strong&gt; Publishing Target:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$acl = New-ItemAcl -AccessRight item:write -PropagationType Any -SecurityPermission AllowAccess -Identity &quot;{username_goes_here}&quot;&#xA;&#xA;Get-Item -Path &quot;master:\system\Publishing targets\{your publishing target goes here}&quot; | Set-ItemAcl -AccessRules $acl -PassThru&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h1&gt;b) Automated way through Sitecron&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;More automated way would be to combine SiteCron and these Powershell scripts mentioned above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create corresponding Powershell Script items under &lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/Sitecron/Publishing Targets/&lt;/code&gt;. I have created these items based on &quot;PowerShell Script&quot; template. The parent item &quot;Publishing Target&quot; was created based on &quot;PowerShell Script Library&quot; template&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/u1YWQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u1YWQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/08BH5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/08BH5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create corresponding Sitecron Jobs under &lt;code&gt;/sitecore/system/Modules/Sitecron/&lt;/code&gt;. Specify Type field as &lt;code&gt;Sitecron.Jobs.PowerShell.ExecuteScript, Sitecron&lt;/code&gt;. I have created them based on &quot;Sitecron job&quot; template:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HAyKK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HAyKK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SQ2E6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SQ2E6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and just assigned scripts created in step 1 in &quot;Items&quot; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PACqh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PACqh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/08f5i.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/08f5i.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-09T12:21:02.740" LastActivityDate="2018-11-09T12:21:02.740" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14781" PostTypeId="1" CreationDate="2018-11-07T09:02:40.163" Score="2" ViewCount="1220" Body="&lt;p&gt;I am new to Sitecore and not sure how to restrict certain files from being uploaded to the Media Library.&#xA;Let's say we do not want users to upload pdf files to Sitecore; how would you do that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Write some codes or could we just make a Sitecore patching file?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="342" LastEditDate="2018-11-07T12:05:02.880" LastActivityDate="2018-11-07T12:05:02.880" Title="How to restrict uploading of certain media files to Sitecore?" Tags="|media-library|" AnswerCount="2" CommentCount="0" ClosedDate="2018-11-07T13:31:57.317" ContentLicense="CC BY-SA 4.0" />
  <row Id="14782" PostTypeId="2" ParentId="14781" CreationDate="2018-11-07T09:45:59.057" Score="0" Body="&lt;p&gt;You could use third-party modules, one that I know of is &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Media_Library_Policeman.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Media Library Policeman&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Module description taken from Marketplace:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The Media Library Policeman module helps you to restrict what files that may and may not be placed in a specific folder along with restrictions for how large the files can be.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;However, it is quite old so you'll have to test it first and you may need to download the source code and update it yourself.&lt;/p&gt;&#xA;" OwnerUserId="490" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-07T09:45:59.057" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14783" PostTypeId="2" ParentId="14773" CreationDate="2018-11-07T09:54:39.813" Score="0" Body="&lt;p&gt;If this restriction is frequent, you could make use of third-party modules on the Marketplace. One example is &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/D/Deployment_Mode.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Deployment Mode&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This module allows you to go on Deployment Mode and prevent non-admin users from logging in to Sitecore (you can exclude specified Roles from this restriction) or you can prevent users from publishing anything until deployment is done.&#xA;  It is easy to use. you will only have to work with one settings item under /sitecore/System/Settings/Deployment Mode Settings.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Or you could create such a simple module yourself and make use of it every time you need this restriction.&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-11-07T09:54:39.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14784" PostTypeId="1" AcceptedAnswerId="14906" CreationDate="2018-11-07T10:03:44.567" Score="3" ViewCount="329" Body="&lt;p&gt;Is there is way to remove or rename a field in Sitecore JSS via template definitions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even with an ID on the field, it won't rename. Deleting the field object will not delete the field in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want to use code-first templates, but this could give some problems.&lt;/p&gt;&#xA;" OwnerUserId="4501" LastEditorUserId="342" LastEditDate="2018-11-07T12:42:14.390" LastActivityDate="2018-11-13T15:24:04.700" Title="Remove and/or rename fields in Sitecore JSS via template definitions" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14786" PostTypeId="2" ParentId="14781" CreationDate="2018-11-07T12:01:07.753" Score="1" Body="&lt;p&gt;What you're looking for is &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/secure_the_file_upload_functionality#_The_upload_filter&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's Upload Filter&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a Sitecore package you install from through the Installation Wizard which adds a config file and a pipeline processor that can limit file uploads to the Media Library by extension.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-07T12:01:07.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14787" PostTypeId="1" AcceptedAnswerId="14789" CreationDate="2018-11-07T12:30:14.803" Score="11" ViewCount="827" Body="&lt;p&gt;I want to see the actual item name in the content editor. The display name being (mis)used by content editors which makes finding and linking items really hard.&lt;/p&gt;&#xA;" OwnerUserId="2134" LastActivityDate="2018-11-07T12:49:35.983" Title="Is there an option to only show item names (not display names) in the content tree?" Tags="|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14788" PostTypeId="2" ParentId="14787" CreationDate="2018-11-07T12:35:43.193" Score="6" Body="&lt;p&gt;You should go to the &lt;strong&gt;application options&lt;/strong&gt;. There you can find:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NKVqV.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NKVqV.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the content tree, select &quot;Item Key&quot; if you do not want the display names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find the application options in the hamburger menu in the content editor, or in the control panel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information on the application options can be found here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_content_editor/the_application_options&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/the_content_editor/the_application_options&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information on the personal settings available through the control panel can be found here: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/change_your_personal_settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/content_authoring/the_editing_tools/change_your_personal_settings&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These settings are to be &lt;strong&gt;set per user&lt;/strong&gt;. If that is no option for you, you could try to automate this - John West wrote a &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/automatically-show-the-quick-info-section-in-the-content-editor-of-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;post on setting an application option&lt;/a&gt; on login using the &lt;code&gt;loggedin&lt;/code&gt; pipeline (the post is rather old, so things might have changed since but it could give you guidance on how to do this)&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-11-07T12:49:35.983" LastActivityDate="2018-11-07T12:49:35.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14789" PostTypeId="2" ParentId="14787" CreationDate="2018-11-07T12:37:36.303" Score="9" Body="&lt;p&gt;In the Content Editor, click the hamburger menu and select &lt;strong&gt;Application Options&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m5NGI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m5NGI.png&quot; alt=&quot;Application options menu item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;strong&gt;Application Options&lt;/strong&gt; dialog, click the &lt;strong&gt;View&lt;/strong&gt; tab and select &lt;strong&gt;Item key&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/27mpW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/27mpW.png&quot; alt=&quot;Application options dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-07T12:37:36.303" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14790" PostTypeId="1" AcceptedAnswerId="14791" CreationDate="2018-11-07T14:54:10.963" Score="16" ViewCount="1256" Body="&lt;p&gt;I have done so much for the community and I have been recommended by an existing MVP. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What information shall I provide about myself during the application?&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2020-11-24T10:39:15.557" Title="What information is needed for the Sitecore MVP application?" Tags="|community|mvp|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14791" PostTypeId="2" ParentId="14790" CreationDate="2018-11-07T14:54:10.963" Score="29" Body="&lt;p&gt;During the application you will be asked:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;personal information&#xA;&lt;ul&gt;&#xA;&lt;li&gt;official name&lt;/li&gt;&#xA;&lt;li&gt;personal email address&lt;/li&gt;&#xA;&lt;li&gt;country/state where you live&lt;/li&gt;&#xA;&lt;li&gt;name of your Mentor(s) if any&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;links to your online presence&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Blog URL&lt;/li&gt;&#xA;&lt;li&gt;LinkedIn profile&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Community profile&lt;/li&gt;&#xA;&lt;li&gt;Stack Exchange profile&lt;/li&gt;&#xA;&lt;li&gt;GitHub&lt;/li&gt;&#xA;&lt;li&gt;Twitter&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;your motivation: why do you want to become an MVP?&lt;/li&gt;&#xA;&lt;li&gt;your objectives for the next year&lt;/li&gt;&#xA;&lt;li&gt;summary of your online and offline activities&#xA;&lt;ul&gt;&#xA;&lt;li&gt;list the Sitecore User Groups you Presented and attended&lt;/li&gt;&#xA;&lt;li&gt;list any Videos or other media you produced to help the Sitecore community&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;name of the company you are working for&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;You can prepare this before the MVP application opens and you will need just copy into the form when it is available.&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2020-11-24T10:39:15.557" LastActivityDate="2020-11-24T10:39:15.557" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14792" PostTypeId="1" AcceptedAnswerId="15178" CreationDate="2018-11-07T15:37:07.167" Score="6" ViewCount="252" Body="&lt;p&gt;We're trying to validate a Droptree field to only allow a certain template type be selected. We've found the &lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Rules/System/Linked Item Has Allowed Template&lt;/code&gt;; the only field rule validator that is within &lt;code&gt;Sitecore.Marketing.Taxonomy&lt;/code&gt;, all others are within &lt;code&gt;Sitecore.Kernel&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Marketing.Taxonomy.Validators.LinkItemTemplateValidator,Sitecore.Marketing.Taxonomy&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've created a new validator that references the &lt;code&gt;Type&lt;/code&gt; above and set the &lt;code&gt;Parameters&lt;/code&gt; to several variations of the following with no luck:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;IncludeTemplatesForSelection={5A0F5DE2-8209-438E-A281-F8E8479B9565}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IncludeTemplatesForSelection=&quot;{5A0F5DE2-8209-438E-A281-F8E8479B9565}&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IncludeTemplatesForSelection=&quot;Event&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IncludeTemplatesForSelection=&quot;/sitecore/templates/Event&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Has anyone had success with this validator? Any help would be much appreciated, thanks!&lt;/p&gt;&#xA;" OwnerUserId="4563" LastEditorUserId="4563" LastEditDate="2018-11-26T15:53:52.257" LastActivityDate="2018-11-29T04:34:56.410" Title="&quot;Linked Item Has Allowed Template&quot; Field Validation XP 8.2" Tags="|validation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14793" PostTypeId="2" ParentId="14779" CreationDate="2018-11-07T16:13:52.287" Score="1" Body="&lt;p&gt;If you are using version 8.0 you may want to double check the version of the AD module.  I believe that version 1.2 supports up to 8.1.  Version 1.3 is for version 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Active_Directory.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Active_Directory.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3235" LastActivityDate="2018-11-07T16:13:52.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14794" PostTypeId="2" ParentId="14617" CreationDate="2018-11-07T16:57:12.110" Score="2" Body="&lt;p&gt;I had a long standing issue with this in version 8.1 and worked with Sitecore support for months on this.  My specific issue was that when a media item was updated, it was not always reflected on the CD.  But I also had intermittent issues with non media content as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I eventually got it to work by&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable the scalabilitysettings.config file on the CD and CM servers.  Per what Sitecore support told me, on the CD servers the &lt;code&gt;&amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&lt;/code&gt; must be set to your publishing instance.&lt;br&gt;&#xA;For example in the scalability file on my CM instance, I have:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;setting name=&quot;InstanceName&quot;&amp;gt;&#xA;&amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;&amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;on my CD instances I have:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;        &#xA;      &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;setting name=&quot;Publishing.PublishingInstance&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;CM1&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/customizing_server_configuration/use_a_patch_file_to_customize_the_sitecore_configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;create a sitecore patch file&lt;/a&gt; and patch the following&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Caching.HtmlLifetime&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;00:00:01&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;this will tell sitecore to expire the html cache&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;for media files patch&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;setting name=&quot;MediaResponse.Cacheability&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;NoCache&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;setting name=&quot;Media.CachingEnabled&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;these will tell the server not cache media files&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By doing the above 2 items, MOST of my cache issues went away.  I still encountered some caching issues. Ultimately, I upgraded to 8.2r7 and I have not experienced any caching issues since that upgrade.&lt;/p&gt;&#xA;" OwnerUserId="3235" LastActivityDate="2018-11-07T16:57:12.110" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14795" PostTypeId="1" AcceptedAnswerId="14808" CreationDate="2018-11-07T18:01:18.713" Score="4" ViewCount="707" Body="&lt;p&gt;I have 2 Sitecore 9.02 Scaled Azure environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are PROD and UAT. All the databases are SQL Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The marketing team have been adding a lot of content on PROD and I want to take a bacpac of PROD master DB and restore it on UAT to sync the environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem I have is that when I look at the password of [masteruser] they are different in the connection string and when I run a CREATE USER script in SQL Azure.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Connection string [masteruser] password - &lt;strong&gt;FXZAAX32E5AIIobsf5ved75bjcOBSF5VED75BJC4@&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;CREATE USER SQL Script password - &lt;strong&gt;sOL4NyuCx9UcjR0lpcmznHNsVcZv/HFFgGd9vmHMfwQ=&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To me it looks like the password in the CREATE USER SQL is a hash.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I restore the master DB from PROD I try and update the password for the [masteruser] to be the same as the connection string and the CM server immediately errors with &quot;&lt;em&gt;cannot login for masteruser&lt;/em&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i have also tried deleting the masteruser and recreating with a new password, but this doesn't work either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone offer any advice on this?&lt;/p&gt;&#xA;" OwnerUserId="2993" LastEditorUserId="2993" LastEditDate="2018-11-07T18:11:55.410" LastActivityDate="2018-11-08T05:01:51.377" Title="SQL Azure Master DB - masteruser password discrepancies" Tags="|azure|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14796" PostTypeId="1" AcceptedAnswerId="14913" CreationDate="2018-11-07T18:29:29.773" Score="1" ViewCount="298" Body="&lt;p&gt;We have a date field on an item in Sitecore (version 8.1 Update 3). When that field is rendered in the Content Editor, the correct date formatting is used (US, in our case: &lt;code&gt;MM/DD/YYYY&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4FBVA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4FBVA.png&quot; alt=&quot;Date picker in Content Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when that page is loaded in the Experience Editor, the date picker displays the wrong format (&lt;code&gt;DD/MM/YYYY&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aNPb1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aNPb1.png&quot; alt=&quot;Date picker in Experience Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how to make the Experience Editor date picker show the proper format?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've already reviewed &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11553/sitecore-9-0-1-datepicker-displaying-wrong-format&quot;&gt;a similar-looking question&lt;/a&gt;, but our &lt;code&gt;DatePicker.js&lt;/code&gt; already had the updated code, so that's not the issue.&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="237" LastEditDate="2018-11-08T00:03:35.573" LastActivityDate="2019-03-07T21:44:30.340" Title="DatePicker displays incorrect format in Experience Editor" Tags="|sitecore-client|experience-editor|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14797" PostTypeId="1" AcceptedAnswerId="14798" CreationDate="2018-11-07T19:15:08.113" Score="4" ViewCount="1510" Body="&lt;p&gt;When you edit a user in Sitecore, such as Sitecore\Admin, there's a checkbox to set the user as an Administrator. This checkbox is not available on roles. How do you set a group of users to the Administrator role? Do you have to assign the group to every possible Sitecore role?&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2018-11-08T02:49:08.983" Title="Administrator access as a role" Tags="|role-management|user-management|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14798" PostTypeId="2" ParentId="14797" CreationDate="2018-11-07T19:20:07.500" Score="10" Body="&lt;p&gt;Yes, &quot;admin&quot; is not a role and cannot be assigned to a role. You shouldn't do that either. If you need that many admin users, there might be something fishy with your security requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might want to check the overview of the Sitecore roles (&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&lt;/a&gt;) to see if you cannot meet the requirements by using those. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-11-07T19:20:07.500" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14799" PostTypeId="2" ParentId="14761" CreationDate="2018-11-07T19:21:37.590" Score="1" Body="&lt;p&gt;I'm not entirely sure you can do what you are trying.  Yes, Solr does understand &quot;now&quot;  In fact, if you take the query and execute from the SOLR admin interface it does work.  Unfortunately, it seems when executing through the content editor, it doesn't seem to translate.  You can look at this in the search log and you'll see &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;(((created_date_tdt:([NOW-7DAYS]) AND _path:(110d559fdea542ea9c1c8a5df7e70ef9)) AND _latestversion:(1)) AND _datasource:(sitecore))&amp;amp;start=0&amp;amp;rows=20&amp;amp;fl=*,score&amp;amp;fq=_indexname:(sitecore_master_index)&#xA;36056 13:13:22 INFO  Solr Query - ?q=_name:(_lastestversion)&amp;amp;rows=1&amp;amp;fq=_templatename:(&quot;Template field&quot;)&amp;amp;fq=_indexname:(sitecore_master_index)&quot;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What this tells me is that Sitecore is treating this as text and is probably sending it to SOLR as text instead of evaluating NOW to today's date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are 2 solutions that I can think of&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Traing them to be able to use &quot;return results by starting date&quot;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/0Bik9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0Bik9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Write a &lt;a href=&quot;https://sabor413blog.wordpress.com/2018/01/23/adding-a-sitecore-launchpad-tool/&quot; rel=&quot;nofollow noreferrer&quot;&gt;custom application&lt;/a&gt; for the dashboard. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3235" LastActivityDate="2018-11-07T19:21:37.590" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14800" PostTypeId="2" ParentId="14565" CreationDate="2018-11-07T19:38:19.313" Score="2" Body="&lt;p&gt;To identify paid traffic, &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a campaign item&lt;/li&gt;&#xA;&lt;li&gt;Set the 'Channel' field to the appropriate the appropriate channel type. Using Google as an example, you would set the channel to 'Online/Paid search/Google ads'&lt;/li&gt;&#xA;&lt;li&gt;Get the query string from the 'Campaign link' field, ex sc_camp=B51BDDEE334E4E33976743398F48F227&lt;/li&gt;&#xA;&lt;li&gt;Add the query string to the paid advertisement link, ex http:///?sc_camp=B51BDDEE334E4E33976743398F48F227&lt;/li&gt;&#xA;&lt;li&gt;Go to the item that that corresponds with the URL of the paid advertisement and add the campaign to that item by selecting the 'ANALYZE' tab in the Content Editor ribbon&lt;/li&gt;&#xA;&lt;li&gt;Click on the Attributes icon in the 'Attributes' section to open the 'Attributes' dialog&lt;/li&gt;&#xA;&lt;li&gt;Ensure that you are in the 'CAMPAIGNS' tab of the 'Attributes' dialog and click the checkbox of the corresponding campaign &lt;/li&gt;&#xA;&lt;li&gt;Click 'OK' and save the item&lt;/li&gt;&#xA;&lt;li&gt;Publish the changes&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If the paid channel provides keywords, the keywords are parsed from the HTTP Referer header that it sent with the request. For example, an HTTP Referer header from a Bing request:&#xA;Referer: &lt;a href=&quot;http://www.bing.com/search?q=keyword&amp;amp;go=Search&amp;amp;qs=n&amp;amp;form=QBRE&amp;amp;pq=sitecore&amp;amp;sc=8-8&amp;amp;sp=-1&amp;amp;sk=&amp;amp;cvid=3D6EAC2F09594E2BB526D2B3A2A48EA4&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.bing.com/search?q=keyword&amp;amp;go=Search&amp;amp;qs=n&amp;amp;form=QBRE&amp;amp;pq=sitecore&amp;amp;sc=8-8&amp;amp;sp=-1&amp;amp;sk=&amp;amp;cvid=3D6EAC2F09594E2BB526D2B3A2A48EA4&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Google no longer supports keywords in the HTTP Referrer header as part of their security updates.&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2018-11-07T19:38:19.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14801" PostTypeId="1" AcceptedAnswerId="14809" CreationDate="2018-11-07T20:31:35.813" Score="2" ViewCount="485" Body="&lt;p&gt;I am building a custom .NET Page and I need to query the total count of items in each Sitecore index (backend is Solr). I have not been able to find any &quot;hooks&quot; or documentation of the Sitecore API to support my needs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In older versions (I am building on 8.1), I was able to use the Sitecore.Search.SearchManager but it appears this is now obsolete. I am leaning towards hitting the Solr API directly.&lt;/p&gt;&#xA;" OwnerUserId="858" LastEditorUserId="237" LastEditDate="2018-11-08T00:02:52.787" LastActivityDate="2018-11-08T05:30:04.343" Title="Query Index Count in Custom .NET Page" Tags="|indexing|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14802" PostTypeId="2" ParentId="14801" CreationDate="2018-11-07T23:01:04.090" Score="2" Body="&lt;p&gt;The Sitecore ContentSearchManager is what you want for this kind of thing. It's definitely not obsolete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First add a reference to the ContentSearch API by adding Sitecore.ContentSearch and Sitecore.ContentSearch.Linq libraries either as a direct reference or via the &lt;a href=&quot;https://sitecore.myget.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;nuget feed&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can query index state like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var index in ContentSearchManager.Indexes)&#xA;{&#xA;    var summary = index.Summary;&#xA;    var documents = summary.NumberOfDocuments;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Documentation for querying indexes is available &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/developing/developing_with_sitecore/search_and_item_buckets/linq_to_sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-11-07T23:01:04.090" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14803" PostTypeId="2" ParentId="13775" CreationDate="2018-11-07T23:49:21.327" Score="4" Body="&lt;p&gt;In 9.0.1, you can invoke &lt;code&gt;IRemoveAllCatalogItemsPipeline&lt;/code&gt; to delete &lt;em&gt;all&lt;/em&gt; catalogs, categories, and sellable items. You can invoke it using Postman via the &lt;code&gt;RemoveAllCatalogItems()&lt;/code&gt; API. There are no APIs (controllers/pipelines) for deleting &lt;em&gt;individual&lt;/em&gt; catalogs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe 9.0.2 introduced UI for deleting sellable items so presumably there are additional pipelines that support that functionality, but I'm not familiar enough with 9.0.2 to help with any details.&lt;/p&gt;&#xA;" OwnerUserId="1173" LastActivityDate="2018-11-07T23:49:21.327" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14804" PostTypeId="1" AcceptedAnswerId="14805" CreationDate="2018-11-08T01:29:49.410" Score="1" ViewCount="733" Body="&lt;p&gt;Lets say we have 4 renderings on the Page and each rendering has a data source attached to it which has a &lt;code&gt;Keyword&lt;/code&gt; field that is being used for SEO purpose. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to get all the attached rendering datasource keywords on the page and display together in the Page Metadata?. I think I need to find the current page and iterate through all the renderings attached and then find a keyword text. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But will this have any performance issues or is there any better way to do it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or suggestions would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerDisplayName="user2980" LastActivityDate="2018-11-08T02:17:03.717" Title="Sitecore keywords in the metadata" Tags="|presentation|sitecore-api|sitecore-query|datasource|seo|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14805" PostTypeId="2" ParentId="14804" CreationDate="2018-11-08T02:17:03.717" Score="2" Body="&lt;p&gt;This is going to be a horrible linky answer (Sorry moderators its too much code to put in an answer). But Sitecore's habitat example site that does this for assets. In the foundation.assets project, it gets styling and JavaScript from renderings and page content to assemble later on the page. Specifically it is this processor in the mvc.getPageRendering pipeline. It gets the values from a field the rendering and stuffs it into a singleton for later use in the page life cycle. You can just take it one step further and get the field from the datasource of the rendering.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;mvc.getPageRendering&amp;gt;&#xA;                &amp;lt;processor patch:before=&quot;*[@type='Sitecore.Mvc.Pipelines.Response.GetPageRendering.GetLayoutRendering, Sitecore.Mvc']&quot; type=&quot;Sitecore.Foundation.Assets.Pipelines.GetPageRendering.AddRenderingAssets, Sitecore.Foundation.Assets&quot;/&amp;gt;&#xA;            &amp;lt;/mvc.getPageRendering&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The moment it reads the field and adds it to the singleton is the line &lt;code&gt;AssetRepository.Current.AddInlineStyling(cssInline, true);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddRenderingAssets : GetPageRenderingProcessor&#xA;{&#xA;    public override void Process(GetPageRenderingArgs args)&#xA;    {&#xA;        this.AddAssets(args.PageContext.PageDefinition.Renderings);&#xA;    }&#xA;&#xA;    private void AddAssets(IEnumerable&amp;lt;Rendering&amp;gt; renderings)&#xA;    {&#xA;        foreach (var rendering in renderings)&#xA;        {&#xA;            var renderingItem = this.GetRenderingItem(rendering);&#xA;            if (renderingItem == null)&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            AddAssetsFromItem(renderingItem);&#xA;        }&#xA;    }&#xA;&#xA;    protected static void AddAssetsFromItem(Item renderingItem)&#xA;    {&#xA;        if (!renderingItem.IsDerived(Templates.RenderingAssets.ID))&#xA;            return;&#xA;        AddScriptAssetsFromRendering(renderingItem);&#xA;        AddInlineScriptFromRendering(renderingItem);&#xA;        AddStylingAssetsFromRendering(renderingItem);&#xA;        AddInlineStylingFromAssets(renderingItem);&#xA;    }&#xA;&#xA;    private static void AddInlineStylingFromAssets(Item renderingItem)&#xA;    {&#xA;        var cssInline = renderingItem[Templates.RenderingAssets.Fields.InlineStyling];&#xA;        if (string.IsNullOrEmpty(cssInline))&#xA;        {&#xA;            return;&#xA;        }&#xA;        var asset = AssetRepository.Current.AddInlineStyling(cssInline, true);&#xA;        asset.AddOnceToken = renderingItem.ID.ToString();&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Pipelines/GetPageRendering/AddPageAssets.cs#L24&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Pipelines/GetPageRendering/AddPageAssets.cs#L24&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The singleton is here. It is marked as [ThreadStatic] so that it is regenerated for each thread request.&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Repositories/AssetRepository.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/src/Foundation/Assets/code/Repositories/AssetRepository.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AssetRepository&#xA;{&#xA;    private static readonly AssetRequirementCache _cache = new AssetRequirementCache(StringUtil.ParseSizeString(&quot;10MB&quot;));&#xA;&#xA;    [ThreadStatic]&#xA;    private static AssetRepository _current;&#xA;&#xA;    private readonly List&amp;lt;Asset&amp;gt; _items = new List&amp;lt;Asset&amp;gt;();&#xA;    private readonly List&amp;lt;ID&amp;gt; _seenRenderings = new List&amp;lt;ID&amp;gt;();&#xA;&#xA;    public static AssetRepository Current =&amp;gt; _current ?? (_current = new AssetRepository());&#xA;&#xA;    internal IEnumerable&amp;lt;Asset&amp;gt; Items =&amp;gt; this._items;&#xA;&#xA;    internal void Clear()&#xA;    {&#xA;        this._items.Clear();&#xA;    }&#xA;&#xA;    public Asset Add(Asset asset, bool preventAddToCache = false)&#xA;    {&#xA;        if (asset == null)&#xA;        {&#xA;            throw new ArgumentNullException(nameof(asset));&#xA;        }&#xA;&#xA;        ........&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then in the cshtml file, the contents are read from the singleton and placed on the page. &lt;code&gt;@RenderAssetsService.Current.RenderScript(ScriptLocation.Head)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/src/Project/Habitat/code/Views/Website/Layouts/Default.cshtml#L25&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/src/Project/Habitat/code/Views/Website/Layouts/Default.cshtml#L25&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similar to your request, you can gather all the fields from you datasources for your renderings, add them to a singleton and rendering them on the page.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-11-08T02:17:03.717" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14806" PostTypeId="2" ParentId="14797" CreationDate="2018-11-08T02:49:08.983" Score="4" Body="&lt;p&gt;As @Gatogordo mentions, you likely shouldn't be using Administrator. This should be a checkbox you use on your 'emergency' account which you use to access things that nobody should access.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Inheriting default roles&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It is very common to have a group of Sitecore System Administrators who need to be able to do things like set security on users, have access to all content and workflow states, and be able to make changes to templates or system settings via the user interface. There are a variety of roles that can be used for that, so it is best to define exactly the functions that the user needs and use the built-in roles to grant access. Create a custom role for your system administrators and then inherit from the roles you need.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Admin pages&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In some scenarios, these system administrators also need access to things like the admin tools (like ShowConfig.aspx), which typically are only available to the 'admin' user. However, most of them also check for the 'Developer' role, so if your system administrators have the Developer role they can usually access these pages.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Custom roles&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You may have requirements where there is no built-in role that supports your need. For example, you may have locked down your workflow to specific custom roles, so you'll need to grant your 'administrators' the correct roles to work on these workflow states, or grant access for your Sys Admin role to all states. Inheriting the roles can make security management easier, but if they are author roles that have explicit Deny permissions somewhere, this may not be what you want on a System Administrator. The Deny will trump any granted permissions.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-11-08T02:49:08.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14807" PostTypeId="2" ParentId="14138" CreationDate="2018-11-08T04:50:54.470" Score="17" Body="&lt;p&gt;By default Sitecore doesn't use the Roslyn compiler nuget package &lt;code&gt;Microsoft.CodeDom.Providers.DotNetCompilerPlatform&lt;/code&gt;, and instead will use the version of Roslyn installed on the system.&lt;/p&gt;&#xA;&lt;p&gt;I've seen a very noticeably improved compilation performance improvement when using the latest version of that package.&lt;/p&gt;&#xA;&lt;p&gt;Installation:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install the latest version of the &lt;code&gt;Microsoft.CodeDom.Providers.DotNetCompilerPlatform&lt;/code&gt; nuget package to all projects in the solution.&lt;/li&gt;&#xA;&lt;li&gt;Make sure your web.config is using the correct CodeDom configuration for the version you have installed. For example:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Web.config&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.codedom&amp;gt;&#xA;    &amp;lt;compilers&amp;gt;&#xA;      &amp;lt;compiler language=&amp;quot;c#;cs;csharp&amp;quot; extension=&amp;quot;.cs&amp;quot; type=&amp;quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; warningLevel=&amp;quot;4&amp;quot; compilerOptions=&amp;quot;/langversion:default /nowarn:1659;1699;1701&amp;quot; /&amp;gt;&#xA;      &amp;lt;compiler language=&amp;quot;vb;vbs;visualbasic;vbscript&amp;quot; extension=&amp;quot;.vb&amp;quot; type=&amp;quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; warningLevel=&amp;quot;4&amp;quot; compilerOptions=&amp;quot;/langversion:default /nowarn:41008 /define:_MYTYPE=\&amp;amp;quot;Web\&amp;amp;quot; /optionInfer+&amp;quot; /&amp;gt;&#xA;    &amp;lt;/compilers&amp;gt;&#xA;&amp;lt;/system.codedom&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2021-06-23T22:21:04.097" LastActivityDate="2021-06-23T22:21:04.097" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14808" PostTypeId="2" ParentId="14795" CreationDate="2018-11-08T05:01:51.377" Score="5" Body="&lt;p&gt;The Sitecore ARM templates will generate a password for the database users similar to the format &lt;code&gt;FXZAAX32E5AIIobsf5ved75bjcOBSF5VED75BJC4@&lt;/code&gt;. See &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/blob/860b89b4bd73520a8bbc0b41ca5a4671e8e371db/Sitecore%209.0.2/XP/nested/application.json#L155&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; for how this is done in the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something to note is that the usernames and passwords are unique to each database. You can change the password via SQL by running this against the database you want to change:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ALTER USER masteruser WITH PASSWORD = 'NewPassword'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then change the connection string to use the new password:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;master&quot; connectionString=&quot;Data Source=...;Initial Catalog=...;User ID=masteruser;Password=NewPassword&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-11-08T05:01:51.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14809" PostTypeId="2" ParentId="14801" CreationDate="2018-11-08T05:30:04.343" Score="1" Body="&lt;p&gt;Below link will help you get all the details about how to access indexes using LINQ &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/search_and_item_buckets/linq_to_sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/search_and_item_buckets/linq_to_sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.geekhive.com/buzz/post/2017/08/predicate-builder-advanced-search-queries/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.geekhive.com/buzz/post/2017/08/predicate-builder-advanced-search-queries/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also create your custom indexes so you can get count of total items for each index while building the indexes. Essentially when you access indexes all the calculations are done and you just fetch the total count.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the example of creating custom indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.linkedin.com/pulse/implement-search-using-lucene-indexes-sitecore-cms-app-umar-desai/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.linkedin.com/pulse/implement-search-using-lucene-indexes-sitecore-cms-app-umar-desai/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2418" LastActivityDate="2018-11-08T05:30:04.343" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14810" PostTypeId="1" AcceptedAnswerId="14813" CreationDate="2018-11-08T06:06:06.130" Score="3" ViewCount="855" Body="&lt;p&gt;I want to be able to send email notifications to list of subscribed users (&amp;lt;500 users) registered under membership provider as soon as a new document is published to content delivery. &#xA;This can be achieved in a number of ways in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the best way to send this notification without affecting/slowing over all performance of application/publish pipeline/document library.  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use workflow&lt;/li&gt;&#xA;&lt;li&gt;Subscribe to publish-related events&lt;/li&gt;&#xA;&lt;li&gt;Add code into the 'publish' pipeline&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2418" LastEditorUserId="2056" LastEditDate="2018-11-08T08:05:49.390" LastActivityDate="2018-11-08T08:46:47.690" Title="Email notifications to all subscribers when the new document is published" Tags="|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14811" PostTypeId="2" ParentId="14752" CreationDate="2018-11-08T07:46:19.317" Score="1" Body="&lt;p&gt;I think that your query is not correct as you assume that checkout and order confirmation pages are visited by unique visitors in this query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This could be wrong assumption as lot's of times people are going to checkout and catalog pages back and forth before buying something (and effectively going to Confirmation page at the end).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Better solution would be to leveraging Goal functionality like this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You trigger goal once someone visits booking, checkout and order confirmation page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can associate goal on items (pages) following this Sitecore documentation -&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/campaigns/goals__events/associate_a_goal_with_an_item&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/campaigns/goals__events/associate_a_goal_with_an_item&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also do it programmatically similarly to this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool TriggerGoal(Sitecore.Data.ID goalId)&#xA;{&#xA;bool triggeredGoal = false;&#xA;//Sitecore.Diagnostics.Log.Info(string.Format(&quot;Triggering Goal: {0}&quot;,goalId.ToString()), &quot;xDBHelper&quot;);&#xA;try&#xA;{&#xA;    //start tracker if not active&#xA;    if (!Sitecore.Analytics.Tracker.IsActive)&#xA;    {&#xA;        Sitecore.Analytics.Tracker.StartTracking();&#xA;    }&#xA;&#xA;    //additional check to ensure that Tracker is active and has a CurrentPage &#xA;    if (Sitecore.Analytics.Tracker.IsActive &amp;amp;&amp;amp; Sitecore.Analytics.Tracker.Current.CurrentPage != null)&#xA;    {&#xA;        // Look up the goal item&#xA;        var goalItem = Sitecore.Context.Database.GetItem(goalId); &#xA;        if (goalItem != null)&#xA;        {&#xA;            //Sitecore.Diagnostics.Log.Info(string.Format(&quot;Triggering Goal Item: {0}&quot;, goalItem[&quot;Name&quot;]), &quot;xDBHelper&quot;);&#xA;            var goal = new PageEventItem(goalItem); // Wrap goal in a PageEventItem&#xA;            var pageEventsRow = Tracker.Current.CurrentPage.Register(goal); // Create PageEventData for the goal to be stored&#xA;            pageEventsRow.Data = goalItem[&quot;Name&quot;]; //Add name of goal to Data field --- not sure this is needed&#xA;            Sitecore.Analytics.Tracker.Current.Interaction.AcceptModifications(); //updates current interaction's end date time&#xA;            triggeredGoal = true;&#xA;        }&#xA;    }&#xA;}&#xA;catch (Exception ex)&#xA;{&#xA;    //if you can't track log a warning but do impact user for analytics issues&#xA;    Sitecore.Diagnostics.Log.Warn(string.Format(&quot;Failed to trigger goal: {0}&quot;, ex.ToString()), &quot;xDBHelper&quot;);&#xA;}&#xA;return triggeredGoal;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code taken from &lt;a href=&quot;http://sitecorenj.blogspot.com/2016/09/programmatically-trigger-goal-in.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorenj.blogspot.com/2016/09/programmatically-trigger-goal-in.html&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Then you can create similar query as you already have but not using Fact_PageViews but Fact_Conversions fact table instead. You can then easily compare number of Checkout and OrderConfirmation goals triggered during the day per unique visitors (contact id). You will use Date, ContactId and GoalId in your query:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MT0Gb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MT0Gb.png&quot; alt=&quot;Fact_Conversions&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This doesn't fully solve issue with discrepancy in number of visits of checkout page before purchase and confirmation page but at least give you much better overview per unique visitor. I would say if you have 1+ visits of checkout page but 0 visits of confirmation page in this scenario, it would be considered as dropout. On the other hand if it's 1+ visits of confirmation page, it is not but you need to hind balance between # of checkout page visits and confirmation page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another aspect of this question would be: What if somebody starts visit at 11:47 p.m. does some checkout / catalog page visists but order is sent 0:07 a.m. next day. Should be this considered as dropout because of different date? You would need to find some linkage regarding unique customer session and goals triggered in those fact tables to fix also this scenario.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-08T07:58:04.250" LastActivityDate="2018-11-08T07:58:04.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14812" PostTypeId="2" ParentId="14569" CreationDate="2018-11-08T08:01:44.377" Score="4" Body="&lt;p&gt;Answering my own question here. Not for points but in case someone else runs into the same problem. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It turns out the error message &quot;The certificate was not found&quot; doesn't refer to the Sitecore &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/deploying/the_client_certificate_for_sitecore_deployments&quot; rel=&quot;nofollow noreferrer&quot;&gt;client certificate&lt;/a&gt;, but refers to the SSL server certificate that was configured on the ASE. Let me explain further.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We deployed an &lt;a href=&quot;https://www.petri.com/app-service-environment&quot; rel=&quot;nofollow noreferrer&quot;&gt;Internal ASE&lt;/a&gt; (ILB) and configured it with a non-public Top Level Domain. We also configured a self-signed certificate on the ASE, because you can only request valid 3rd party certificates for public TLD's. Using an SSL certificate from an internal CA wasn't possible, because you cannot simply import the root cert from the CA in a Web App's certificate store, like you do on a Windows server. At least, not that I am aware of. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SSL certificate you configure on an ASE gets configured on the load balancer of that ASE. All traffic to Web Apps flows through the ASE load balancer. This also applies for Web Apps that communicate which each other that live inside the same ASE. In our situation, Sitecore CD wants to communicate to the xConnect Web App, then hits the load balancer that presents the self-signed SSL certificate. And apparently, Sitecore doesn't like self-signed SSL certificates. And there's no way I found to let Sitecore ignore invalid or invalid certificates, like with a web browser. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution was easy. We configured the Web Apps with hostnames (URL's) using a valid TLD and configured a 3rd party issued SSL certificate. As a last step we changed configuration of the ConnectionStrings.config to reflect the new hostnames. That's it. The errors disapeared from the logging and we are able to successfully use xConnect.&lt;/p&gt;&#xA;" OwnerUserId="4493" LastActivityDate="2018-11-08T08:01:44.377" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14813" PostTypeId="2" ParentId="14810" CreationDate="2018-11-08T08:46:47.690" Score="4" Body="&lt;p&gt;I would use Workflow in your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create and assign different workflow for document templates on their standard values to make this working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an &quot;Email action&quot; OOTB that you can use in your workflow to send emails but you need to create custom class to send emails to your subscribed list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just add this action after Auto Publish to your workflow like this and fill in the fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aeUCs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aeUCs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Insert text into Message field. Something like:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;We have new document for for! Check it out here: $itemUrl$&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Change Type field especially to your custom class definition:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FJMCF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FJMCF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use Your_namespace_goes_here.SubscribersEmailAction, Your_assembly_name_goes_here notation in Type field. SubscribersEmailAction is name of class below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SubscribersEmailAction Class could be something similar to this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Net.Mail;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Workflows.Simple;&#xA;using Sitecore.Links;&#xA;&#xA;namespace Your_namespace_goes_here&#xA;{&#xA;    public class SubscribersEmailAction&#xA;    {&#xA;        public void Process(WorkflowPipelineArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            var processorItem = args.ProcessorItem;&#xA;            if (processorItem == null)&#xA;                return;&#xA;&#xA;            var commandItem = processorItem.InnerItem;&#xA;            var fullPath = commandItem.Paths.FullPath;&#xA;            var from = GetText(commandItem, &quot;from&quot;, args);&#xA;            var to = GetText(commandItem, &quot;to&quot;, args);&#xA;            var mailServer = GetText(commandItem, &quot;mail server&quot;, args);&#xA;            var subject = GetText(commandItem, &quot;subject&quot;, args);&#xA;            var message = GetText(commandItem, &quot;message&quot;, args);&#xA;&#xA;            Error.Assert(to.Length &amp;gt; 0, &quot;The 'To' field is not specified in the mail action item: &quot; + fullPath);&#xA;            Error.Assert(from.Length &amp;gt; 0, &quot;The 'From' field is not specified in the mail action item: &quot; + fullPath);&#xA;            Error.Assert(subject.Length &amp;gt; 0, &quot;The 'Subject' field is not specified in the mail action item: &quot; + fullPath);&#xA;&#xA;            var smtpClient = string.IsNullOrWhiteSpace(mailServer)&#xA;                                        ? new SmtpClient()&#xA;                                        : new SmtpClient(mailServer); &#xA;            smtpClient.Send(new MailMessage(from, to)&#xA;            {&#xA;                Subject = subject,&#xA;                Body = message&#xA;            });&#xA;        }&#xA;&#xA;        public string GetText(Item commandItem, string field, WorkflowPipelineArgs args)&#xA;        {&#xA;            var text = commandItem[field];&#xA;            return text.Length &amp;gt; 0 ? ReplaceVariables(text, args) : string.Empty;&#xA;        }&#xA;&#xA;        private static string ReplaceVariables(string text, WorkflowPipelineArgs args)&#xA;        {&#xA;            text = text.Replace(&quot;$itemUrl$&quot;, MediaUrl(args.DataItem));&#xA;            return text;&#xA;        }&#xA;&#xA;        private static string MediaUrl(Item item)&#xA;        {&#xA;            if (item == null) return string.Empty;&#xA;&#xA;            if (!item.Paths.IsMediaItem) return string.Empty;&#xA;&#xA;            var theURL = Sitecore.Resources.Media.MediaManager.GetMediaUrl(item);&#xA;            mediaUrl = Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(theURL);&#xA;            return mediaUrl;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code inspired by this blog post: &lt;a href=&quot;https://jeffreyrondeau.wordpress.com/2015/02/25/extending-sitecore-workflow-email-action/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffreyrondeau.wordpress.com/2015/02/25/extending-sitecore-workflow-email-action/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to tweak a bit the code because you need to replace &quot;To&quot; field with email addresses from your subscribers list.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-11-08T08:46:47.690" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14814" PostTypeId="2" ParentId="14138" CreationDate="2018-11-08T08:53:53.133" Score="9" Body="&lt;p&gt;To round up this topic, we ended up using the Razor Generator plugin of visual studio.&#xA;&lt;a href=&quot;https://github.com/RazorGenerator/RazorGenerator&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/RazorGenerator/RazorGenerator&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And added the assemblies to the precompilation section in sitecore config. (This is the same method sitecore uses to speed up experience editor.)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:env=&quot;http://www.sitecore.net/xmlconfig/env/&quot;&amp;gt;&#xA;  &amp;lt;sitecore env:require=&quot;!Local&quot;&amp;gt;&#xA;    &amp;lt;mvc&amp;gt;&#xA;      &amp;lt;precompilation&amp;gt;&#xA;        &amp;lt;assemblies&amp;gt;&#xA;          &amp;lt;assemblyIdentity name=&quot;Feature.Jackpot&quot; /&amp;gt;&#xA;        &amp;lt;/assemblies&amp;gt;&#xA;      &amp;lt;/precompilation&amp;gt;&#xA;    &amp;lt;/mvc&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-08T08:53:53.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14815" PostTypeId="1" AcceptedAnswerId="14821" CreationDate="2018-11-08T09:04:47.180" Score="2" ViewCount="218" Body="&lt;p&gt;Rob Earlam has &lt;a href=&quot;https://robearlam.com/blog/so-what-is-the-sitecore-commerce-serviceproxy&quot; rel=&quot;nofollow noreferrer&quot;&gt;a blog post&lt;/a&gt; about the service proxy that comes with the Commerce SDK. That post explains how:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;the Service Proxy acts as a middleman between your engine code and your storefront code, allowing you to reference the types &amp;amp; controller endpoints defined in your engine, from your storefront code&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Can anyone explain how the security works if I choose to invoke (custom) commerce engine commands through this proxy instead of going through the commerce connect layer?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the SXC developer's guide, connect-layer passes a certificate to the engine when you invoke a service in that layer. But as I understand it, accessing the engine via the service proxy means that I am bypassing the connect layer and thus have to deal with security myself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that correct? If so, how do you recommend I do that?&lt;/p&gt;&#xA;" OwnerUserId="2247" LastEditorUserId="2247" LastEditDate="2018-11-08T09:17:35.797" LastActivityDate="2018-11-08T11:59:20.603" Title="How do you handle security/certificates when using the service proxy for Commerce Engine?" Tags="|sitecore-commerce|commerce-connect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14817" PostTypeId="1" CreationDate="2018-11-08T10:47:08.247" Score="1" ViewCount="34" Body="&lt;p&gt;When accessing Experience analytics dashboard, I'm seeing a lot of 'could not decode' errors generated in the logs. How can I identify what is missing from the logged values ?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;15608 17:16:07 INFO &#xA;  [Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger] [Experience&#xA;  Analytics]: Request: /sitecore/api/ao/aggregates/all/3C5C3FD36C9C4A30B43C71341E81BABF/-7086413679876148633,-7734637993024985948,8416260180981822611?&amp;amp;dateGrouping=collapsed&amp;amp;&amp;amp;keyOrderBy=count-Desc&amp;amp;dateFrom=06-11-2017&amp;amp;dateTo=06-11-2018&amp;amp;keyGrouping=by-key&#xA;  returned messages.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;1732 17:16:07 WARN &#xA;  [Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger] [Experience&#xA;  Analytics]: Could not decode '3037769370418898760'&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;1732 17:16:07 WARN &#xA;  [Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger] [Experience&#xA;  Analytics]: Could not decode '-811654643043498697'&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;1732 17:16:08 WARN &#xA;  [Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger] [Experience&#xA;  Analytics]: Could not decode '2750502006984993720'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="898" LastActivityDate="2018-11-08T10:47:08.247" Title="'could not decode' errors logged when accessing Experience Analytics dashboard" Tags="|experience-analytics|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14818" PostTypeId="2" ParentId="9218" CreationDate="2018-11-08T11:11:54.157" Score="0" Body="&lt;p&gt;Yes. It is doable to install Sitecore 9 without Solr.&#xA;Sitecore will install successfully but it will not work without an Index Provider.&#xA;By configuring the Index Provider such as Azure Search post installation you will get Sitecore 9 up and running. &lt;/p&gt;&#xA;" OwnerUserId="4569" LastActivityDate="2018-11-08T11:11:54.157" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14819" PostTypeId="1" AcceptedAnswerId="15101" CreationDate="2018-11-08T11:17:52.310" Score="4" ViewCount="1899" Body="&lt;p&gt;I am running Sitecore 9 and am experiencing moments when the Sitecore log is no longer updated (i.e. written to). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a default log4net configuration. Only addition I have is a rolling log file appender:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;StaticFileAppenderTxt&quot; type=&quot;log4net.Appender.RollingFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;    &amp;lt;file value=&quot;$(dataFolder)/logs/_Log.txt&quot; /&amp;gt;&#xA;    &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;rollingStyle value=&quot;Size&quot; /&amp;gt;&#xA;    &amp;lt;maxSizeRollBackups value=&quot;10&quot; /&amp;gt;&#xA;    &amp;lt;maximumFileSize value=&quot;1000KB&quot; /&amp;gt;&#xA;    &amp;lt;staticLogFileName value=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;        &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;    &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But this seems unrelated to the problem as the &quot;normal&quot; log file is also not updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only solution I found so far is performing an IISReset. This is clearly unconvenient.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-11-30T08:34:29.487" Title="Log file not updated" Tags="|configuration|logging|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14820" PostTypeId="1" CreationDate="2018-11-08T11:53:26.793" Score="1" ViewCount="280" Body="&lt;p&gt;I'm using &lt;code&gt;Sitecore 9.0.1&lt;/code&gt;, I was able to create a custom tab in the experience profile by following &lt;a href=&quot;https://github.com/JeffDarchuk/EPExpressTab&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt;.&#xA;However, now i want to add subtabs and Data tables inside them so i'm following &lt;a href=&quot;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt;, However, I can't reach this path &#xA;&lt;code&gt;/sitecore/client/Applications/ExperienceProfile/Contact/PageSettings/Tabs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so i can't find this &quot;Tabs&quot; folder! Any clue what i'm missing?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="35" LastEditDate="2018-11-08T13:21:52.253" LastActivityDate="2018-11-08T14:45:54.250" Title="Extending a custom Experience Profile tab" Tags="|experience-profile|" AnswerCount="1" CommentCount="3" ClosedDate="2018-11-11T14:58:35.490" ContentLicense="CC BY-SA 4.0" />
  <row Id="14821" PostTypeId="2" ParentId="14815" CreationDate="2018-11-08T11:59:20.603" Score="4" Body="&lt;p&gt;No shouldn't be calling the Service Proxy directly, apologies if that wasn't clear in my post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That service proxy is used by all of the out of the box SxA Storefront controls, as I mentioned it acts as the middle man allowing code running on XP to call controller routes declared on the engine, like so.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SxA Storefront -&amp;gt; Commerce Connect -&amp;gt; Service Proxy -&amp;gt; Commerce Engine&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you create custom engine functionality you should follow the same patter and utilise the Engine connect utilities provided in commerce connect to call your custom Service Proxy method, as then you will get the certificate authentication you mention above provided.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You use the Engine connect utility to retrieve a shops container that will give you a certificated authenticated way to access your service proxy method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var container = EngineConnectUtility.GetShopsContainer(shopName: shopName, customerId: customerId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I wrote a Product Compare plugin, that completed this like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var productCompareResult = new ProductCompareResult();&#xA;try&#xA;{&#xA;    var container = EngineConnectUtility.GetShopsContainer(shopName: shopName, customerId: customerId);&#xA;    var dataServiceActionQuerySingle = container.Compare.ByKey(customerId).Expand(&quot;Products&quot;);&#xA;    productCompareResult.ProductCompare = Proxy.GetValue(dataServiceActionQuerySingle);&#xA;    productCompareResult.Success = true;&#xA;}&#xA;catch (Exception ex)&#xA;{&#xA;    Log.Error($&quot;Unable to retrieve Product Compare for shopName:'{shopName}', customerId'{customerId}'&quot;, ex, this);&#xA;}&#xA;    return productCompareResult;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-11-08T11:59:20.603" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14822" PostTypeId="2" ParentId="14820" CreationDate="2018-11-08T12:02:28.750" Score="2" Body="&lt;p&gt;You can find that item in &quot;core&quot; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Sitecore Rocks:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QlozW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QlozW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Sitecore you can open Launchpad and go to Desktop:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K352q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K352q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Switch context database to &quot;core&quot; from the db selector located in bottom right corner of your screen:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2BQiU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2BQiU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to Content Editor and navigate to &lt;code&gt;/sitecore/client/Applications/ExperienceProfile/Contact/PageSettings/Tabs&lt;/code&gt; item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XZUVn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XZUVn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WIlRz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WIlRz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-08T14:45:54.250" LastActivityDate="2018-11-08T14:45:54.250" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14823" PostTypeId="1" AcceptedAnswerId="14825" CreationDate="2018-11-08T12:16:20.560" Score="3" ViewCount="198" Body="&lt;p&gt;I've been following the instructions on &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_the_delivery_process/recipients/create_a_custom_personalization_token&quot; rel=&quot;nofollow noreferrer&quot;&gt;how to create custom personalization tokens&lt;/a&gt;. After following the instructions everything compiles, and everything seemingly works just fine. I can create a new campaign in EXM and I can send a test mail from &quot;Review&quot;. However, the test mail doesn't replace my custom tokens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having googled a bit I found &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13409/sitecore-exm-insert-custom-tokens-issue&quot;&gt;this question&lt;/a&gt;, which is similar, but not identical. The answer to that question was that the custom facets had not been added to the custom &lt;code&gt;DispatchTask&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My custom facets, however, &lt;em&gt;have&lt;/em&gt; been added to my custom &lt;code&gt;DispatchTask&lt;/code&gt;, and I  know that there's nothing wrong with them as I can read and write to them in XConnect and through &lt;code&gt;Tracker.Current.Contact&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems that my &lt;code&gt;CustomDispatchTask&lt;/code&gt; class is never executed, which explains why my custom tokens are not replaced.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; shows that my custom class has indeed been patched in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;exm&amp;gt;&#xA;    &amp;lt;dispatchTask&#xA;        type=&quot;My.Namespace.CustomTokensDispatchTask, MyAssemblyName&quot;&#xA;        patch:source=&quot;My.EXM.config&quot;&amp;gt;&#xA;    .....&#xA;    &amp;lt;/dispatchTask&amp;gt;&#xA;&amp;lt;/emx&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But if I try to debug either the constructor or the overridden &lt;code&gt;GetContacts&lt;/code&gt; methods, the breakpoints are never hit. I also added some logging to it (in case this code is executed on AppStart where I won't be able to debug fast enough) but those log messages never appear in the log file. There are actually no exceptions or errors in the log files at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why isn't my &lt;code&gt;CustomTokensDispatchTask&lt;/code&gt; executed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CustomTokensDispatchTask.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomTokensDispatchTask : DispatchTask&#xA;{&#xA;    private readonly IContactService _contactService;&#xA;&#xA;    public CustomTokensDispatchTask([NotNull] ShortRunningTaskPool taskPool, IRecipientValidator recipientValidator, IContactService contactService, EcmDataProvider dataProvider, ItemUtilExt itemUtil, IEventDataService eventDataService, IDispatchManager dispatchManager, EmailAddressHistoryManager emailAddressHistoryManager, IRecipientManagerFactory recipientManagerFactory, SentMessageManager sentMessageManager)&#xA;      : base(taskPool, recipientValidator, contactService, dataProvider, itemUtil, eventDataService, dispatchManager, emailAddressHistoryManager, recipientManagerFactory, sentMessageManager)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Info(&quot;HELLO CustomTokensDispatchTask&quot;, this);&#xA;        _contactService = contactService;&#xA;    }&#xA;&#xA;    protected override IReadOnlyCollection&amp;lt;IEntityLookupResult&amp;lt;Contact&amp;gt;&amp;gt; GetContacts(List&amp;lt;DispatchQueueItem&amp;gt; dispatchQueueItems)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Info(&quot;HELLO CustomTokensDispatchTask.GetContacts&quot;, this);&#xA;        return _contactService.GetContacts(dispatchQueueItems.Select(x =&amp;gt; x.ContactIdentifier),&#xA;            PersonalInformation.DefaultFacetKey,&#xA;            AddressList.DefaultFacetKey,&#xA;            EmailAddressList.DefaultFacetKey,&#xA;            ConsentInformation.DefaultFacetKey,&#xA;            PhoneNumberList.DefaultFacetKey,&#xA;            ListSubscriptions.DefaultFacetKey,&#xA;            MyCustomFacet.DefaultFacetKey);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My.EXM.Config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;exm&amp;gt;&#xA;            &amp;lt;dispatchTask set:type=&quot;My.Namespace.CustomTokensDispatchTask, MyAssemblyName&quot;&amp;gt;&#xA;            &amp;lt;/dispatchTask&amp;gt;&#xA;        &amp;lt;/exm&amp;gt;&#xA;        &amp;lt;recipients&amp;gt;&#xA;            &amp;lt;recipientPropertyTokenMap set:type=&quot;My.Namespace.CustomTokensTokenMap, MyAssemblyName&quot;&amp;gt;&#xA;            &amp;lt;/recipientPropertyTokenMap&amp;gt;&#xA;        &amp;lt;/recipients&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt; &#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.2&lt;/p&gt;&#xA;" OwnerUserId="3587" LastEditorUserId="3587" LastEditDate="2018-11-08T12:42:10.893" LastActivityDate="2018-11-08T14:13:54.347" Title="Custom EXM DispatchTask is never executed" Tags="|exm|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14825" PostTypeId="2" ParentId="14823" CreationDate="2018-11-08T13:06:34.673" Score="3" Body="&lt;p&gt;Because you are using &quot;Send quick test&quot; functionality, EXM won't hit your dispatch task. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For &quot;Send quick test&quot; functionality DispatchNewsletter pipeline is using SendTestMessage and therefore TestMessageTask is called instead of your custom DispatchTask.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to send email campaign only to your &quot;test&quot; contact to hit your custom Dispatch Task&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-08T14:13:54.347" LastActivityDate="2018-11-08T14:13:54.347" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="14826" PostTypeId="2" ParentId="5958" CreationDate="2018-11-08T13:10:10.563" Score="4" Body="&lt;p&gt;I had the same issue, and it was because I turned on the &lt;code&gt;Debug&lt;/code&gt; mode in &lt;code&gt;Experience Explorer&lt;/code&gt;, and then I just closed the tab without changing back to &lt;code&gt;Edit&lt;/code&gt; mode.&#xA;After I opened &lt;code&gt;Experience Explorer&lt;/code&gt; in &lt;code&gt;Edit&lt;/code&gt; mode, the list of Languages was visible, and Publishing started working fine for me.&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-11-08T13:10:10.563" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14827" PostTypeId="1" AcceptedAnswerId="14869" CreationDate="2018-11-08T13:31:50.813" Score="4" ViewCount="1033" Body="&lt;p&gt;On a 9.0.2 Sitecore instance with one CM and one CD, where XConnect site is defined to run on the same server as the CM server, I noticed that data is not being collected into xdb when navigating the public site served by the CD node.&#xA;On a local development it is collecting data though.&#xA;Investigating logs I found the following after browsing a few pages in the CD site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1144 12:55:29 ERROR PostSessionEndPipeline failed.&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Analytics.XConnect&#xA;   at Sitecore.Analytics.XConnect.DataAccess.Pipelines.ConvertToXConnectEventPipeline.ConvertPageEventDataToEventBase.FillEvent(Event xconnectEvent, PageEventData pageEventData)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.Pipelines.ConvertToXConnectEventPipeline.ConvertToXConnectEventProcessorBase`1.Process(ConvertToXConnectEventPipelineArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.PipelineBasedModelConverter.&amp;lt;&amp;gt;c__DisplayClass5_0.&amp;lt;ConvertToXConnectEvent&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XdbModelExtensions.&amp;lt;ToEvents&amp;gt;d__3.MoveNext()&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XdbModelExtensions.ToInteraction(VisitData visitData, IEntityReference`1 contact, ModelConverterBase converter)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.Pipelines.ConvertToXConnectInteractionPipeline.ConvertToXConnectInteractionProcessor.Process(ConvertToXConnectInteractionPipelineArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.PipelineBasedModelConverter.&amp;lt;&amp;gt;c__DisplayClass6_0.&amp;lt;ConvertToXConnectInteraction&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.&amp;lt;&amp;gt;c__DisplayClass19_0.&amp;lt;SaveVisit&amp;gt;b__1(IXdbContext xdbContext)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.&amp;lt;&amp;gt;c__DisplayClass31_0.&amp;lt;ExecuteWithExceptionHandling&amp;gt;b__0(IXdbContext c)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling[T](Func`2 func)&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;Monitor&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Data.HttpSessionContextManager.Submit(Session session)&#xA;   at Sitecore.Analytics.Pipelines.CommitSession.SubmitSession.Process(CommitSessionPipelineArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;Monitor&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.Pipelines.PostSessionEnd.CommitSession.Process(PostSessionEndArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.EndSession.PostSessionEndPipeline.Run(PostSessionEndArgs args)&#xA;   at Sitecore.Web.Application.RaiseSessionEndEvent(HttpApplication context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on what could be causing this issue?&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2018-11-12T03:13:13.840" Title="XConnect exception on post session end" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="14828" PostTypeId="2" ParentId="14764" CreationDate="2018-11-08T15:13:40.770" Score="1" Body="&lt;p&gt;I also had this same error, for me the issue was that I'd used the wrong url during &lt;code&gt;jss setup&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check &lt;code&gt;/scjssconfig.json&lt;/code&gt; in your React project and verify that &lt;code&gt;&quot;deployUrl&quot;&lt;/code&gt; and &lt;code&gt;&quot;layoutServiceHost&quot;&lt;/code&gt; match what is configured in sitecore in &lt;code&gt;App_Config\Include\zzz\&amp;lt;your project name&amp;gt;.config&lt;/code&gt; under &lt;code&gt;&amp;lt;site hostname=&quot;&quot;&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="491" LastActivityDate="2018-11-08T15:13:40.770" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14829" PostTypeId="2" ParentId="14796" CreationDate="2018-11-08T17:33:18.967" Score="2" Body="&lt;p&gt;Sitecore support sent me a link to the following &lt;a href=&quot;https://doc.sitecore.net/speak/80/components/datepicker&quot; rel=&quot;nofollow noreferrer&quot;&gt;KB article&lt;/a&gt;.  So what I ended up doing was modifying the &lt;code&gt;sitecore\shell\client\Business Component Library\Layouts\Renderings\Common\DatePickers\datepicker.js&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;view: {....}&lt;/code&gt;which is near the top of the file, add &lt;code&gt;this.setDateFormat(&quot;mm/dd/yyyy&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this is what it looks like in my file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    view: {&#xA;  initialized: function () {&#xA;    var days = {&#xA;      &quot;Monday&quot;: 1,&#xA;      &quot;Tuesday&quot;: 2,&#xA;      &quot;Wednesday&quot;: 3,&#xA;      &quot;Thursday&quot;: 4,&#xA;      &quot;Friday&quot;: 5,&#xA;      &quot;Saturday&quot;: 6,&#xA;      &quot;Sunday&quot;: 7&#xA;    };&#xA;&#xA;    this.model.on(&quot;change:date&quot;, this.setFormattedDateAttribute, this);&#xA;&#xA;    this.model.on(&quot;change:formattedDate&quot;, this.setDateAttribute, this);&#xA;&#xA;    this.model.set(&quot;firstDay&quot;, days[this.$el.attr(&quot;data-firstday&quot;)]);&#xA;    this.model.set(&quot;showOtherMonths&quot;, this.$el.attr(&quot;data-showothermonths&quot;) === &quot;true&quot;);&#xA;    this.model.set(&quot;showButtonPanel&quot;, this.$el.attr(&quot;data-showtoday&quot;) === &quot;true&quot;);&#xA;    this.model.set(&quot;viewMode&quot;, this.$el.data(&quot;viewmode&quot;));&#xA;&#xA;    this.model.set(&quot;isEnabled&quot;, this.model.get(&quot;viewMode&quot;) != &quot;calendar&quot; ?&#xA;      !this.$el.is(&quot;:disabled&quot;) : this.$el.attr(&quot;data-isenabled&quot;) === &quot;true&quot;);&#xA;&#xA;    if (this.$el.attr(&quot;readonly&quot;)) {&#xA;      this.model.set(&quot;isReadOnly&quot;, this.$el.attr(&quot;readonly&quot;));&#xA;    } else {&#xA;      $.noop();&#xA;    }&#xA;     this.model.set(&quot;disabled&quot;, !this.model.get(&quot;isEnabled&quot;));&#xA;&#xA;    this.model.on(&quot;change:dateFormat&quot;, this.changeDateFormat, this);&#xA;    this.model.on(&quot;change:isEnabled&quot;, $.proxy(changeDisabled, this));&#xA;&#xA;    this.model.set(&quot;dateFormat&quot;, this.$el.attr(&quot;data-dateformat&quot;));&#xA;&#xA;    this.model.set(&quot;time&quot;, this.$el.attr(&quot;data-time&quot;));&#xA;    this.model.on(&quot;change:time&quot;, this.timeUpdated, this);&#xA;&#xA;    this.model.on(&quot;change:minDate change:maxDate&quot;, this.changeRange, this);&#xA;    this.model.set(&quot;minDate&quot;, this.$el.attr(&quot;data-mindate&quot;));&#xA;    this.model.set(&quot;maxDate&quot;, this.$el.attr(&quot;data-maxdate&quot;));&#xA;&#xA;    if (this.$el.attr(&quot;data-localization&quot;)) {&#xA;      this.setLocalization();&#xA;    }&#xA;&#xA;    this.overWriteSetDateMethod(this.setDate);      &#xA;    this.setDateFormat(&quot;mm/dd/yyyy&quot;);&#xA;  },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;this corrected my issue as shown in the screen shot.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kHODm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kHODm.png&quot; alt=&quot;Date picker with valid format&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3235" LastEditorUserId="3235" LastEditDate="2018-11-09T20:34:22.583" LastActivityDate="2018-11-09T20:34:22.583" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14830" PostTypeId="1" CreationDate="2018-11-08T17:34:15.727" Score="1" ViewCount="482" Body="&lt;p&gt;I'm extending the sitecore experience profile to add a custom tab to display my custom events and facets. i'm following this article:&#xA;&lt;a href=&quot;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/comment-page-1/#comment-730&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/comment-page-1/#comment-730&lt;/a&gt; &#xA;However i'm stuck at the step of adding renderings to the &quot;Custom Tab&quot; layout.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NhMRH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NhMRH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or even when trying to edit any of the already existing tabs layout. i always get the following error&lt;a href=&quot;https://i.stack.imgur.com/evBEP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/evBEP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i Can't add the placeholders and and DataSource to the new tab i just created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what is wrong?&lt;/p&gt;&#xA;" OwnerUserId="3888" LastActivityDate="2021-04-27T13:28:39.887" Title="Add custom &quot;Tab&quot; to experience profile Tabs" Tags="|experience-profile|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14831" PostTypeId="1" AcceptedAnswerId="15016" CreationDate="2018-11-08T17:54:33.703" Score="1" ViewCount="1092" Body="&lt;p&gt;A strange problem that's started happening recently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an instance of Sitecore 8.0 setup (CD and CM separate servers).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A user uploads an image. (stored as blobs in the db) It shows in experience editor. when published to the web (same server) and viewed as the site it throws a 404 error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The event viewer shows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception information: &#xA;Exception type: HttpParseException &#xA;Exception message: &quot;¹&quot; is not valid at the start of a code block.  Only identifiers, keywords, comments, &quot;(&quot; and &quot;{&quot; are valid.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;that tiny &quot;1&quot; is nowhere to be found in the code.&#xA;If I publish to web-live it displays fine in that server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Interestingly enough if I make the filename shorter it will load without error making me think its a max file path issue. Since its using the database this surely wouldn't be a windows issue limiting a file path length would it? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone dealt with anything like this before?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;full error&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3006 &#xA;   A parser error has occurred. &#xA;   11/8/2018 2:53:55 PM &#xA;   11/8/2018 2:53:55 PM &#xA;   185e07226dd44282820f23549c46b33e &#xA;   214501 &#xA;   134 &#xA;   0 &#xA;   /LM/W3SVC/2/ROOT-1-131842085429794370 &#xA;   Full &#xA;   / &#xA;   E:\Hosted\cms.website.org.uk\Website\ &#xA;   HG-CORE-CM &#xA;&#xA;   3892 &#xA;   w3wp.exe &#xA;   NT AUTHORITY\NETWORK SERVICE &#xA;   HttpParseException &#xA;   &quot;¹&quot; is not valid at the start of a code block. Only identifiers, keywords, comments, &quot;(&quot; and &quot;{&quot; are valid. at System.Web.WebPages.Razor.RazorBuildProvider.EnsureGeneratedCode() at System.Web.WebPages.Razor.RazorBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) at System.Web.WebPages.BuildManagerWrapper.CreateInstanceOfType[T](String virtualPath) at System.Web.WebPages.VirtualPathFactoryManager.CreateInstanceOfType[T](String virtualPath) at System.Web.WebPages.WebPageHttpHandler.CreateFromVirtualPath(String virtualPath, IVirtualPathFactory virtualPathFactory) at System.Web.WebPages.WebPageRoute.DoPostResolveRequestCache(HttpContextBase context) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)  &#xA;   http://cms.website.org.uk/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/sitecore_media.ashx/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/featureintromap.ashx &#xA;   /~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/sitecore_media.ashx/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/featureintromap.ashx &#xA;   148.253.178.66 &#xA;   sitecore\admin &#xA;   True &#xA;&#xA;   NT AUTHORITY\NETWORK SERVICE &#xA;   229 &#xA;   NT AUTHORITY\NETWORK SERVICE &#xA;   False &#xA;   at System.Web.WebPages.Razor.RazorBuildProvider.EnsureGeneratedCode() at System.Web.WebPages.Razor.RazorBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) at System.Web.WebPages.BuildManagerWrapper.CreateInstanceOfType[T](String virtualPath) at System.Web.WebPages.VirtualPathFactoryManager.CreateInstanceOfType[T](String virtualPath) at System.Web.WebPages.WebPageHttpHandler.CreateFromVirtualPath(String virtualPath, IVirtualPathFactory virtualPathFactory) at System.Web.WebPages.WebPageRoute.DoPostResolveRequestCache(HttpContextBase context) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;below is the error directly from site Sitecore log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6148 16:30:51 ERROR Application error.&#xA;Exception: System.Web.HttpParseException&#xA;Message: &quot;¹&quot; is not valid at the start of a code block.  Only identifiers, keywords, comments, &quot;(&quot; and &quot;{&quot; are valid.&#xA;&#xA;Source: System.Web.WebPages.Razor&#xA;   at System.Web.WebPages.Razor.RazorBuildProvider.EnsureGeneratedCode()&#xA;   at System.Web.WebPages.Razor.RazorBuildProvider.get_CodeCompilerType()&#xA;   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)&#xA;   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()&#xA;   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()&#xA;   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)&#xA;   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)&#xA;   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)&#xA;   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)&#xA;   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)&#xA;   at System.Web.WebPages.BuildManagerWrapper.CreateInstanceOfType[T](String virtualPath)&#xA;   at System.Web.WebPages.VirtualPathFactoryManager.CreateInstanceOfType[T](String virtualPath)&#xA;   at System.Web.WebPages.WebPageHttpHandler.CreateFromVirtualPath(String virtualPath, IVirtualPathFactory virtualPathFactory)&#xA;   at System.Web.WebPages.WebPageRoute.DoPostResolveRequestCache(HttpContextBase context)&#xA;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;1540 16:30:51 ERROR Breadcrumb:Error&#xA;ManagedPoolThread #7 16:30:52 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #7 16:30:52 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;what makes me wonder about the length is that I've put image names scotttest up. when I visit it at&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://cms.website.org.uk/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/Scotttest.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://cms.website.org.uk/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/Scotttest.ashx&lt;/a&gt; it redirects me to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://cms.website.org.uk/system/404?aspxerrorpath=/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/sitecore_media.ashx/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/Scotttest.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://cms.website.org.uk/system/404?aspxerrorpath=/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/sitecore_media.ashx/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/Scotttest.ashx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I try to access an image that absolutely doesn't exist: I get redirected to: &lt;a href=&quot;http://cms.website.org.uk/system/404&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://cms.website.org.uk/system/404&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;now if I rename scotttest to scotttes (or anything shorter then that) then the image loads fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT&lt;/p&gt;&#xA;&#xA;&lt;p&gt;still stuck with this one, made some interesting discoveries though.&#xA;if the length of the image name is between 9 and 23 characters inclusive I get the 404 redirect error. if the image name is 8 characters or less or is 24 characters or more it loads fine. what on earth would cause something like this and where do I even look at to debug this? short of someone sabotaging the project with some evil if statements I'm at a complete loss!&lt;/p&gt;&#xA;" OwnerUserId="3317" LastEditorUserId="4050" LastEditDate="2020-01-21T21:50:15.037" LastActivityDate="2020-01-21T21:50:15.037" Title="Images throwing 404 on staging but not live" Tags="|media-library|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="14832" PostTypeId="2" ParentId="14830" CreationDate="2018-11-08T17:59:17.947" Score="1" Body="&lt;p&gt;In order to design a SPEAK application (or parts of a SPEAK application), you will need Sitecore Rocks. Sitecore has a good reference for this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/speak/development/using_visual_studio_and_sitecore_rocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/speak/development/using_visual_studio_and_sitecore_rocks&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the documentation:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You use Sitecore Rocks to develop exclusively for SPEAK applications. You cannot use the Content Editor or other related tools. This topic explains how to get started using Sitecore Rocks for SPEAK development.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h1&gt;To set up Sitecore Rocks to connect to your Sitecore instance&lt;/h1&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;&lt;p&gt;In Sitecore Rocks, in Sitecore Explorer, right-click Connections.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lQSQC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lQSQC.png&quot; alt=&quot;sitecore explorer&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;In the Connection dialog box, in the Host Name field, select the Sitecore installation, and then click OK.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lIgvP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lIgvP.png&quot; alt=&quot;web service config&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;If this dialog appears, click Yes:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d0Zn7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d0Zn7.png&quot; alt=&quot;dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;In the Update Server Components dialog, click Update All:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tGAai.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tGAai.png&quot; alt=&quot;update server components dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;  &#xA;  &lt;p&gt;You can now explore a Sitecore installation with the Sitecore Explorer&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3FJiH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3FJiH.png&quot; alt=&quot;sitecore explorer after setup&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-08T17:59:17.947" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14833" PostTypeId="1" CreationDate="2018-11-08T19:54:07.450" Score="1" ViewCount="680" Body="&lt;p&gt;While saving the contact using List Manager, we got contact saved successfully with message &quot;The contact has been added to the list, and will be available after indexing.&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it was not display in the list and below error was captured in logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.XConnect.XdbSearchUnavailableException Message: The HTTP response was not successful: InternalServerError Source: Sitecore.XConnect.Client    at Sitecore.XConnect.Client.WebApi.SearchWebApiClient.&amp;lt;Search&amp;gt;d__9`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.XConnect.Client.Operations.SearchOperationInvoker.&amp;lt;Execute&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Sitecore.XConnect.Search.SearchHelpers.&amp;lt;ExecuteSearch&amp;gt;d__6`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.XConnect.Search.SearchDefinition`1.&amp;lt;Execute&amp;gt;d__22.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.XConnect.Search.AsyncSearchHitEnumerator`1.&amp;lt;Create&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.XConnect.Search.AsyncEntityQueryProvider.&amp;lt;ExecuteAsync&amp;gt;d__8`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.XConnect.Search.AsyncEntityQueryProvider.&amp;lt;ExecuteAsync&amp;gt;d__7`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Sitecore.ListManagement.XConnect.ContactsOperationIndexingState.IsFinished(String syncToken)    at Sitecore.ListManagement.Operations.UpdateListOperationsAgent.CheckIndexing(ListOperation listOperation)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4061" LastEditorUserId="2056" LastEditDate="2018-11-09T06:55:05.040" LastActivityDate="2018-11-09T20:05:26.943" Title="List manager Contact list was not saved in Sitecore 9.0.1" Tags="|list-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14834" PostTypeId="1" AcceptedAnswerId="14836" CreationDate="2018-11-09T00:02:08.180" Score="5" ViewCount="3624" Body="&lt;p&gt;While implementing a custom Sitecore 9 Form (not WFFM forms), I need to show success message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. When I have filled all the data and clicked submit action button, I want to show success message from this page and clear all the fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible?&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="312" LastEditDate="2018-11-09T16:02:53.910" LastActivityDate="2019-03-25T15:04:31.253" Title="How to show success message in Sitecore 9 Forms?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14835" PostTypeId="1" CreationDate="2018-11-09T05:01:06.933" Score="2" ViewCount="91" Body="&lt;p&gt;I am trying to integrate the Experience extractor module in our project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/experience-extractor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/experience-extractor&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.2 update 5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I build the ExperienceExtractor solution, it built successfully. After that, I deployed the DLLs into our Sitecore instance, clicked Submit in the ExtractorAdmin page and it threw this error.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.Collections.Generic.KeyNotFoundException: No parse factory&#xA;  registered for type IDataSource with key &quot;xdb&quot; (Source)    at&#xA;  ExperienceExtractor.Api.Parsing.JsonJobParser.Parse[TType](ParseState&#xA;  state) in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Parsing\JsonJobParser.cs:line&#xA;  67    at&#xA;  ExperienceExtractor.Api.Parsing.JobParser.ParseDataSource(ParseState&#xA;  state) in&#xA;  C:\Users\gantarao.pala\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Parsing\JobParser.cs:line&#xA;  69    at ExperienceExtractor.Api.Parsing.JobParser.CreateDataSource()&#xA;  in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Parsing\JobParser.cs:line&#xA;  134    at ExperienceExtractor.Api.Jobs.Job.Run() in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Jobs\Job.cs:line&#xA;  109&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;{   &quot;Id&quot;: &quot;cc00ebd6-a6c6-4950-a7f6-747b25b2d754&quot;,   &quot;Created&quot;:&#xA;  &quot;2018-11-09T09:27:58.6951558+05:30&quot;,   &quot;Ended&quot;:&#xA;  &quot;2018-11-09T09:27:58.7679627+05:30&quot;,   &quot;ItemsProcessed&quot;: 0,&lt;br&gt;&#xA;  &quot;RowsCreated&quot;: 0,   &quot;Progress&quot;: null,   &quot;Status&quot;: &quot;Failed&quot;,&lt;br&gt;&#xA;  &quot;StatusText&quot;: &quot;System.Collections.Generic.KeyNotFoundException: No&#xA;  parse factory registered for type IDataSource with key \&quot;xdb\&quot;&#xA;  (Source)\r\n   at&#xA;  ExperienceExtractor.Api.Parsing.JsonJobParser.Parse[TType](ParseState&#xA;  state) in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Parsing\JsonJobParser.cs:line 67\r\n   at&#xA;  ExperienceExtractor.Api.Parsing.JobParser.ParseDataSource(ParseState&#xA;  state) in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Parsing\JobParser.cs:line&#xA;  69\r\n   at&#xA;  ExperienceExtractor.Api.Parsing.JobParser.CreateDataSource() in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Parsing\JobParser.cs:line&#xA;  134\r\n   at ExperienceExtractor.Api.Jobs.Job.Run() in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Jobs\Job.cs:line&#xA;  109&quot;,   &quot;SizeLimitExceeded&quot;: false,   &quot;Url&quot;:&#xA;  &quot;/sitecore/experienceextractor/jobs/cc00ebd6-a6c6-4950-a7f6-747b25b2d754&quot;,&#xA;  &quot;Specification&quot;: &quot;{\r\n  \&quot;source\&quot;: {\r\n    \&quot;xdb\&quot;: {\r\n&lt;br&gt;&#xA;  \&quot;filters\&quot;: [\r\n        {\r\n          \&quot;sample\&quot;: 0.3\r\n&lt;br&gt;&#xA;  },\r\n        {\r\n          \&quot;daterange\&quot;: {\r\n&lt;br&gt;&#xA;  \&quot;start\&quot;: \&quot;2018-10-01Z\&quot;,\r\n            \&quot;end\&quot;:&#xA;  \&quot;2018-11-30Z\&quot;\r\n          }\r\n        }\r\n      ]\r\n    }\r\n &#xA;  },\r\n  \&quot;mapper\&quot;: {},\r\n  \&quot;postprocessors\&quot;: [\r\n&lt;br&gt;&#xA;  \&quot;msaccess\&quot;\r\n  ]\r\n}&quot;,   &quot;LastException&quot;:&#xA;  &quot;System.Collections.Generic.KeyNotFoundException: No parse factory&#xA;  registered for type IDataSource with key \&quot;xdb\&quot; (Source)\r\n   at&#xA;  ExperienceExtractor.Api.Parsing.JsonJobParser.Parse[TType](ParseState&#xA;  state) in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Parsing\JsonJobParser.cs:line 67\r\n   at&#xA;  ExperienceExtractor.Api.Parsing.JobParser.ParseDataSource(ParseState&#xA;  state) in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Parsing\JobParser.cs:line&#xA;  69\r\n   at&#xA;  ExperienceExtractor.Api.Parsing.JobParser.CreateDataSource() in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Parsing\JobParser.cs:line&#xA;  134\r\n   at ExperienceExtractor.Api.Jobs.Job.Run() in&#xA;  C:\Users\\Downloads\experience-extractor-master\experience-extractor-master\src\ExperienceExtractor\Api\Jobs\Job.cs:line&#xA;  109&quot; }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have tried these troubleshooting steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Replaced existing MongoDB.Driver.dll with new one v2.4.4.0.&lt;/li&gt;&#xA;&lt;li&gt;Replaced existing MongoDB.Bson.dll with new one v2.4.4.0.&lt;/li&gt;&#xA;&lt;li&gt;Built the Extractor solution which failed.&lt;/li&gt;&#xA;&lt;li&gt;Tried @massimde 's suggestion from &lt;a href=&quot;https://github.com/Sitecore/experience-extractor/issues/14&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; which is this:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Change the ExperienceExtractor.MongoDb.Helpers class as follows:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static IEnumerable&amp;lt;T&amp;gt; FastSpool&amp;lt;T&amp;gt;(this MongoCursor&amp;lt;RawBsonDocument&amp;gt; cursor, int threads = 2){&#xA;        var binaryReaderSettings = new BsonBinaryReaderSettings(); &#xA;        binaryReaderSettings.MaxDocumentSize = int.MaxValue;&#xA;        var serializer = BsonSerializer.LookupSerializer(typeof(T));&#xA;&#xA;        return cursor&#xA;            .AsParallel().AsOrdered()&#xA;                .WithExecutionMode(ParallelExecutionMode.ForceParallelism)&#xA;                .WithDegreeOfParallelism(Math.Max(1, threads))&#xA;            .Select(doc =&amp;gt;&#xA;            {                    &#xA;                using (doc)&#xA;                {&#xA;                    using (var stream = new ByteBufferStream(doc.Slice))&#xA;                    using (var reader = new BsonBinaryReader(stream, binaryReaderSettings))&#xA;                    {&#xA;                        var context = BsonDeserializationContext.CreateRoot(reader);&#xA;                        return (T) serializer.Deserialize(context);&#xA;                    }&#xA;                    // Old code&#xA;                    //return (T)serializer.Deserialize(new BsonBinaryReader(new BsonBuffer(doc.Slice, false), binaryReaderSettings),&#xA;                    //    typeof(T), null);&#xA;                }&#xA;            });   &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The solution could not find the namespaces for a few like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MongoCursor&amp;lt;RawBsonDocument&amp;gt;, doc, query&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please advise.&lt;/p&gt;&#xA;" OwnerUserId="1956" LastActivityDate="2018-11-09T05:01:06.933" Title="Issues with ExperienceExtractor module for Sitecore 8.2 Update 5" Tags="|experience-analytics|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14836" PostTypeId="2" ParentId="14834" CreationDate="2018-11-09T06:51:16.517" Score="11" Body="&lt;p&gt;You can relatively easily achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the form editor navigate to Form Elements panel and find Structure accordion. There you have “Page” element. Drag-and-drop 2 pages to your form. So the first page is going to be your form with submit button, and the second one will display our thank you message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Gs1B4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Gs1B4.png&quot; alt=&quot;Sitecore 9 Forms - Thank You Message 01&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4PpUO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4PpUO.png&quot; alt=&quot;Sitecore 9 Forms - Thank You Message 02&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add submit button to the first page and don’t forget to specify submit actions (don’t add a redirect in submit actions). Select &quot;Next&quot; for the Navigation step field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add “Text” component to the second page and write a thank you message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to the Settings tab and set “AJAX enabled” checkbox. Save the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when you click on the submit button, you’ll see thank you message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please don’t forget that you need to have Sitecore 9 Forms scripts and styles loaded on your page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do it with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.RenderFormStyles() //inside head tag&#xA;@Html.RenderFormScripts() //before closing body tag.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Idea and code taken from: &lt;a href=&quot;http://www.apiqu.com/blog/2018/August/sitecore-9-forms-thank-you-message&quot; rel=&quot;noreferrer&quot;&gt;http://www.apiqu.com/blog/2018/August/sitecore-9-forms-thank-you-message&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-11-09T06:51:16.517" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14837" PostTypeId="1" CreationDate="2018-11-09T07:30:29.403" Score="1" ViewCount="1769" Body="&lt;p&gt;I've trying to implement RollingAppender for general log files in sitecore 8.1 update 2 solutions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The moment I change below &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/log.{date}.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.RollingFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/log.{date}.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the log files are not creating. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exact config I am using in solution is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.RollingFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;    &amp;lt;file value=&quot;$(dataFolder)/logs/log&quot; /&amp;gt;&#xA;    &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;datePattern value=&quot;yyyyMMdd&amp;amp;quot;.txt&amp;amp;quot;&quot; /&amp;gt;&#xA;    &amp;lt;rollingStyle value=&quot;Composite&quot; /&amp;gt;&#xA;    &amp;lt;maxSizeRollBackups value=&quot;-1&quot; /&amp;gt;&#xA;    &amp;lt;maximumFileSize value=&quot;50KB&quot; /&amp;gt;&#xA;    &amp;lt;preserveLogFileNameExtension value=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;staticLogFileName value=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;immediateFlush value=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;      &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;    &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;  &amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What am I missing here?&lt;/p&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="312" LastEditDate="2018-11-10T10:32:14.493" LastActivityDate="2019-01-09T12:00:46.913" Title="Sitecore Log4net RollingFileAppender not working" Tags="|logging|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14838" PostTypeId="2" ParentId="14837" CreationDate="2018-11-09T07:35:18.203" Score="1" Body="&lt;p&gt;As you would like to use Composite style, you are missing couple of configuration entries in your config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to change your config like this (change values according to your needs):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.RollingFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;  &amp;lt;file value=&quot;$(dataFolder)/logs/log.txt&quot; /&amp;gt;&#xA;  &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;rollingStyle value=&quot;Composite&quot; /&amp;gt;&#xA;  &amp;lt;datePattern value=&quot;yyyyMMdd&quot; /&amp;gt;&#xA;  &amp;lt;maxSizeRollBackups value=&quot;10&quot; /&amp;gt;&#xA;  &amp;lt;maximumFileSize value=&quot;1MB&quot; /&amp;gt;&#xA;  &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;    &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;  &amp;lt;/layout&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Take a look in more examples here:&#xA;&lt;a href=&quot;https://logging.apache.org/log4net/release/config-examples.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://logging.apache.org/log4net/release/config-examples.html&lt;/a&gt; (Search for &quot;RollingFileAppender&quot;)&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-09T09:39:35.837" LastActivityDate="2018-11-09T09:39:35.837" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="14843" PostTypeId="2" ParentId="14342" CreationDate="2018-11-09T15:45:48.017" Score="1" Body="&lt;p&gt;Ultimately it depends on what type of item/class you are passing into your code or logic in order to make it truly &quot;testable&quot; and what that &lt;code&gt;parent child relationship&lt;/code&gt; really is. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.FakeDb&lt;/a&gt; is a great tool for faking Sitecore data where you are simply not able to avoid proper Sitecore &lt;code&gt;Items&lt;/code&gt;.  When you &lt;em&gt;can&lt;/em&gt; avoid using Sitecore &lt;code&gt;Items&lt;/code&gt; in your code, when they translate to more generic classes like POCOs or DTOs, you can use mocking frameworks like &lt;a href=&quot;https://www.nuget.org/packages/moq/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Moq&lt;/a&gt; (but there are literally hundreds of mocking frameworks out there). I had wrote a &lt;a href=&quot;https://vandsh.github.io/sitecore/2018/01/10/unit-testing-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;post&lt;/a&gt; a while back covering unit testing and mocking:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The below snippet is an example when you can &lt;em&gt;try&lt;/em&gt; and avoid using Items (illustrated using a test around search):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Test]&#xA;[Category(&quot;UnitTest&quot;)]&#xA;public void ExecuteSearchQuery()&#xA;{&#xA;    //the search context most often will just be the sitecore search context &#xA;    //but could be outside of sitecore&#xA;    var mockSearchProvider = new Mock&amp;lt;IProviderSearchContext&amp;gt;();&#xA;&#xA;    //the search repository consumes the provider which most often &#xA;    //will be sitecore but could be another provider and another mechanism &#xA;    var mockSearchRepository = new Mock&amp;lt;ISearchRepository&amp;gt;();&#xA;&#xA;    //the search service instance we want to mock&#xA;    var searchService = new SearchService(mockSearchProvider.Object, &#xA;                                               mockSearchRepository.Object);&#xA;&#xA;    //mock the repository&#xA;    var mockResultsList = new List&amp;lt;SearchHit&amp;lt;SearchResult&amp;gt;&amp;gt;();&#xA;    mockResultsList.Add(new SearchHit&amp;lt;SearchResult&amp;gt;(1, new SearchResult()&#xA;    {&#xA;        Content = &quot;test&quot;,&#xA;        CreatedBy = &quot;admin&quot;,&#xA;        CreatedDate = DateTime.MinValue,&#xA;        DatabaseName = &quot;web&quot;,&#xA;        Datasource = null,&#xA;        ExcludeFromSearch = false,&#xA;        FullLinkToItem = &quot;http://linktoitem&quot;,&#xA;        IsPage = true&#xA;    }));&#xA;&#xA;        var mockSearchResults = new SearchResults&amp;lt;SearchResult&amp;gt;(mockResultsList, 1);&#xA;&#xA;    mockSearchRepository&#xA;        .Setup(ss =&amp;gt; ss.Search(mockSearchProvider.Object, &#xA;                                        It.IsAny&amp;lt;string&amp;gt;(), &#xA;                                        It.IsAny&amp;lt;int&amp;gt;(), &#xA;                                        It.IsAny&amp;lt;int&amp;gt;()))&#xA;        .Returns(mockSearchResults);&#xA;&#xA;    //test the rest of the search using the mocked provider&#xA;    var searchResultsDto = searchService.SiteSearch(&quot;test&quot;, 1, 10);&#xA;&#xA;    //assert&#xA;    searchResultsDto.Hits.Count().Should().Be(1);&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To summarize the above, the &lt;code&gt;mockSearchProvider&lt;/code&gt; and &lt;code&gt;mockSearchRepository&lt;/code&gt; are proper Sitecore interfaces that have been mocked, the &lt;code&gt;searchService&lt;/code&gt; is the logic we are covering in the test, and the &lt;code&gt;mockResultsList&lt;/code&gt; is a generic &lt;code&gt;List&amp;lt;&amp;gt;&lt;/code&gt; of items that will be used to drive what would normally be the results from something like the &lt;code&gt;Content Search API&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you simply can't avoid a direct reference to a Sitecore &lt;code&gt;Item&lt;/code&gt;, you can mock using &lt;code&gt;Sitecore.FakeDb&lt;/code&gt; like @ellele's answer above:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Test]&#xA;[Category(&quot;UnitTest&quot;)]&#xA;public void TestYourClassLogic()&#xA;{&#xA;    //setup&#xA;    var testArticle1 = new DbItem(&quot;testArticle1&quot;, ID.NewID, IArticleConstant.TemplateId);&#xA;    var testArticle2 = new DbItem(&quot;testArticle1&quot;, ID.NewID, IArticleConstant.TemplateId);&#xA;    var parent = new DbItem(&quot;testArticleSection&quot;) { testArticle1, testArticle2 };&#xA;    var _db = new Db(){parent};&#xA;&#xA;    //test the innerds of the YourClass (the class you have your logic in) that actually calls .GetItem...&#xA;    var _mockSitecoreContext = new Mock&amp;lt;ISitecoreContext&amp;gt;();&#xA;    _mockSitecoreContext.Setup(sc =&amp;gt; sc.Database).Returns(_db.Database);&#xA;    var yourClass = new YourClass(_mockSitecoreContext.Object);&#xA;    var result = tagHelper.YourLogicDoSomethingOnThisArticle(testArticle1.ID);&#xA;&#xA;    result.Should().Be(&quot;ExpectedValue&quot;);&#xA;&#xA;    //teardown&#xA;    _db.Dispose();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Why did I cover search in this post when that's not the OP's question/situation? It's the thing I see in most sites, with the most complexity and the easiest to relate to. My end goal is to just show that if you can avoid depending on the &lt;code&gt;Item&lt;/code&gt; directly, mocking and unit testing will almost always be easier (but not always unavoidable). The second thing I wanted to illustrate is that in order to really prove things to be &quot;testable&quot; you need to mock Sitecore layers/services/APIs and likely refactor your own code in order to make it testable. Unit testing done right is not an easy checkbox to fill.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I really hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="695" LastActivityDate="2018-11-09T15:45:48.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14844" PostTypeId="1" CreationDate="2018-11-09T16:15:00.523" Score="6" ViewCount="424" Body="&lt;p&gt;A client wants to do basic personalization with a rule that changes a header image based on geolocation/zip code. They would like to try and cover as many individual zip codes as possible in a region.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Putting aside author issues around editing/entry/maintenance:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How many &lt;strike&gt;zip code&lt;/strike&gt; personalization rules are &quot;&lt;em&gt;too many&lt;/em&gt;&quot; when applied to a single component?&lt;/li&gt;&#xA;&lt;li&gt;At what point would site/page performance start to take a hit if this was the only personalization present on the page?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Bonus question:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How many rules are too many for a single page?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; Just to clarify, this is less about &quot;How can I solve this with a development team?&quot; and more about &quot;How much can a marketing team/author do with basic personalization rules (without getting a development team involved) before site/page load performance is negatively affected?&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to provide an example of what I'd consider simple personalization, and in theory it can be changing content based on any status (eg. 50 rules + default for &quot;If user is in this state, show this banner with a state flag&quot;).&lt;/p&gt;&#xA;" OwnerUserId="4577" LastEditorUserId="4577" LastEditDate="2018-11-09T20:48:58.417" LastActivityDate="2018-11-10T09:52:01.657" Title="How many personalization rules are too many? At what point does page/site performance start to take a hit?" Tags="|personalization|performance-optimization|rules-engine|marketing-automation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14845" PostTypeId="2" ParentId="14831" CreationDate="2018-11-09T16:31:03.503" Score="0" Body="&lt;p&gt;Look at your request path:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/sitecore_media.ashx/~/media/Images/Corporate/Enterprise-and-Development/Innovation-Village/General-Images/featureintromap.ashx&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;That looks wrong, looks like two media paths concatenated. I'm guessing your page code is generating this bad path. I've seen this sort of thing from using a &amp;quot;page-relative&amp;quot; (no leading &amp;quot;/&amp;quot;) URL in e.g an &amp;lt;img src=&amp;quot;&amp;quot;&amp;gt;, when you need a &amp;quot;site-relative&amp;quot; (with leading &amp;quot;/&amp;quot;) URL.&lt;/p&gt;&#xA;&lt;h1&gt;Edit:&lt;/h1&gt;&#xA;&lt;p&gt;Now that you've posted your Sitecore log error:&lt;/p&gt;&#xA;&lt;p&gt;Looks like you're having two problems. One is that your media request isn't working. But #2 is your &lt;code&gt;HttpParseException&lt;/code&gt; error, which is an error in &lt;code&gt;cshtml&lt;/code&gt; parsing. I'm guessing that your 404 page is a cshtml page, and the &lt;code&gt;HttpParseException&lt;/code&gt; is thrown by a syntax error in your &lt;code&gt;404.cshtml&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3614" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-24T20:59:10.100" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14846" PostTypeId="1" AcceptedAnswerId="14847" CreationDate="2018-11-09T16:34:24.870" Score="12" ViewCount="1147" Body="&lt;p&gt;I have a requirement to pre-populate a Sitecore 9 form field from a referring page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now in WFFM you could use the &quot;ReadQueryString&quot; checkbox:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m4QRg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m4QRg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or you could make use of the Rules Engine inside the Form Designer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LBdhk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LBdhk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if it's possible in Sitecore Forms OOTB? Or is this something custom that I need to introduce in order to create the same functionality?&lt;/p&gt;&#xA;" OwnerUserId="1369" LastActivityDate="2018-11-11T11:20:24.263" Title="Pre-populate fields in Sitecore 9 Forms" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14847" PostTypeId="2" ParentId="14846" CreationDate="2018-11-09T16:53:10.957" Score="12" Body="&lt;p&gt;In Sitecore 9.0 it is not possible OOTB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in Sitecore 9.1 they did announce field prefilling as a new feature so if upgrading when this version becomes available (should be very soon now) is an option I would do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that is not an option, you could check the extension my colleague Bart has written: &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions&lt;/a&gt; They include prefilling based on xConnect data, but you can extend this with other sources (like the querystring as you require). More info on his solution on his &lt;a href=&quot;https://onelittlespark.bartverdonck.be/prefill-fields-in-sitecore-forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-11-11T11:20:24.263" LastActivityDate="2018-11-11T11:20:24.263" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14849" PostTypeId="2" ParentId="14749" CreationDate="2018-11-09T19:08:54.377" Score="3" Body="&lt;p&gt;This is confirmed as a bug in Sitecore 8.1 update 2 (and I believe up to 8.2 update 5) by Sitecore Support (reference number #116813).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It requires an custom pipeline to patched in to resolve the issue. I've blogged about how to fix this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.flux-digital.com/blog/disabling-private-cache-sitecore-pages-not-working-sitecore-8-1-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.flux-digital.com/blog/disabling-private-cache-sitecore-pages-not-working-sitecore-8-1-8-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't think there is an official patch/fix for this still. &lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-11-09T19:08:54.377" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14850" PostTypeId="1" AcceptedAnswerId="17075" CreationDate="2018-11-09T19:20:12.883" Score="1" ViewCount="548" Body="&lt;p&gt;Our solution, where after compiling locally, copies the views from the standard &lt;code&gt;/view&lt;/code&gt; folder in the build output into a &lt;code&gt;/client/views&lt;/code&gt; folder on in the web root. We're looking to take advantage of the &lt;code&gt;RazorGenerator&lt;/code&gt; precompiled views and OOTB features mentioned by Kam in this blog post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kamsar.net/index.php/2016/09/Precompiled-Views-with-Sitecore-8-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2016/09/Precompiled-Views-with-Sitecore-8-2/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assumption is that Sitecore uses the &lt;code&gt;AssemblyIdentity&lt;/code&gt; collection below to pull a list of assemblies and loop thru trying to find a match based on the view renderings path listed on the Sitecore item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;mvc&amp;gt;&#xA;      &amp;lt;precompilation&amp;gt;&#xA;        &amp;lt;assemblies&amp;gt;&#xA;          &amp;lt;assemblyIdentity name=&quot;My.Project&quot; /&amp;gt;&#xA;          &amp;lt;assemblyIdentity name=&quot;My.OtherProject&quot; /&amp;gt;&#xA;        &amp;lt;/assemblies&amp;gt;&#xA;      &amp;lt;/precompilation&amp;gt;&#xA;    &amp;lt;/mvc&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can anybody confirm this is how Sitecore does this match? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody have any experience overriding the &lt;code&gt;RazorGenerator.MSBuild&lt;/code&gt; to build a custom path for the &lt;code&gt;PageVirtualPath&lt;/code&gt; decorated attribute?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Current:&#xA;[PageVirtualPath(&quot;~/Views/Feature/Renderings/Sample.cshtml&quot;)]&#xA;&#xA;Desired:&#xA;[PageVirtualPath(&quot;~/Client/Views/Feature/Renderings/Sample.cshtml&quot;)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or have other suggestions on how this works?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Ticket into Sitecore support for clarification, but in meantime ran a test by:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;removing our route modification override&lt;/li&gt;&#xA;&lt;li&gt;updated all view renderings by quick &lt;code&gt;yml&lt;/code&gt; unicorn sync to set default path&lt;/li&gt;&#xA;&lt;li&gt;deleted our custom view folder to verify they were getting pulled from assembly&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That indeed worked and points to the &lt;code&gt;PageVirtualPath&lt;/code&gt; as the mapping mechanism.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Guessing best route now is to pull &lt;code&gt;RazorGenerator&lt;/code&gt; code down and modify to take in some additional build config properties to overwrite the base path when compilation is done.&lt;/p&gt;&#xA;" OwnerUserId="689" LastEditorUserId="277" LastEditDate="2019-05-24T20:58:40.933" LastActivityDate="2019-05-24T20:58:40.933" Title="How can I define custom folder pathing on RazorGenerator precompiled views?" Tags="|performance-optimization|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14851" PostTypeId="2" ParentId="14844" CreationDate="2018-11-09T19:38:08.103" Score="3" Body="&lt;p&gt;In my opinion, the only answer to your question is &quot;it depends&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It depends on many factors:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;what is the acceptable page generation time&lt;/li&gt;&#xA;&lt;li&gt;how many visits your site has&lt;/li&gt;&#xA;&lt;li&gt;how many servers you have&lt;/li&gt;&#xA;&lt;li&gt;can you cache some parts of your pages&lt;/li&gt;&#xA;&lt;li&gt;how fast your servers are&lt;/li&gt;&#xA;&lt;li&gt;how fast you can get the client zip code&lt;/li&gt;&#xA;&lt;li&gt;and many many more.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Maybe instead of creating personalization condition for every single zip code, select default header as a datasource, and as the child items create personalized header datasources using chosen zip code as the item name. And then in your component code check if datasource has a child with the name equal to user zip code, use that child content instead of the default datasource content?&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-11-09T19:38:08.103" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14852" PostTypeId="2" ParentId="14833" CreationDate="2018-11-09T20:05:26.943" Score="2" Body="&lt;p&gt;This is possibly because of SolrCore connection issue.&#xA;You can troubleshoot this by following the steps below&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to the C:\inetpub\wwwroot\siteinstance.xConnect\App_Config\ConnectionStrings.config (sc901 is the name of the site)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add name=&quot;solrCore&quot; connectionString=&quot;https://localhost:8983/solr/sc901_xdb&quot; /&amp;gt;&lt;/code&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check the if the code listed in the SolrCore exisits and accessible via solr dashboard.You can check this by navigating to &lt;a href=&quot;https://localhost:8983/solr/#/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/#/&lt;/a&gt; and also make sure C:(where ever the solr host files are located)\solr-6.6.2\server\solr contains the same 'sc901_xdb' folder.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If it does not exists, you can create &lt;strong&gt;xDB&lt;/strong&gt; and &lt;strong&gt;xdb_rebuild&lt;/strong&gt; cores by using the link &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-solr-index.html#create-a-rebuild-core&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/rebuild-index/rebuild-solr-index.html#create-a-rebuild-core&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If exists, check to see if you get any additional solr connection errors in the log file of xConnect site and sitecore instance site also.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2018-11-09T20:05:26.943" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14853" PostTypeId="2" ParentId="14844" CreationDate="2018-11-09T21:07:30.973" Score="5" Body="&lt;p&gt;Without having done any testing, I think that one of the important considerations here would be &quot;what &lt;em&gt;kind&lt;/em&gt; of personalization conditions will cause performance impacts?&quot; The rules engine is very performant in general, so it's really the performance of the individual conditions that would matter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some personalization conditions would be relatively lightweight. For instance, &lt;code&gt;Sitecore.Rules.Conditions.DateTimeConditions.NowCondition&lt;/code&gt; simply parses a &lt;code&gt;DateTime&lt;/code&gt; string and compares it to the current datetime. Compared to the rendering of a normal page, this would have a negligible impact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand, some of the xDB conditions would be comparatively more expensive to compute. For instance, &lt;code&gt;Sitecore.Analytics.Rules.Conditions.CampaignWasTriggeredDuringPastOrCurrentInteractionCondition&lt;/code&gt; needs to lookup the previous interactions (which is, then, cached) and then evaluate if any of them had a specific campaign triggered. This could cause an xConnect or Mongo call depending on the situation, which could add milliseconds to the request. Still likely low compared to a full request, but the right combination of these could be bad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, some custom conditions may be more or less performant, so those should be taken into consideration as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My recommendation is that if this is a concern, read through the common conditions and produce a spreadsheet for your editors of the likely performance impact of each one based on what each one has to do. Then, you could produce some recommendations for them, such as &quot;only use up to 5 of &lt;em&gt;these conditions&lt;/em&gt; but you can have as many of &lt;em&gt;these conditions&lt;/em&gt; as you like.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;As an aside, with regards to your point around zip code rules, the postal code rule in Sitecore does a string comparison on the &lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.Interaction.GeoData.PostalCode&lt;/code&gt; property. If you only care about zip codes, I would write a custom &lt;code&gt;Sitecore.Rules.Conditions.IntegerComparisonCondition&lt;/code&gt; which parses the postal code property and does an integer comparison. This way you could compare to blocks of zip codes instead of individual ones, potentially reducing the number of comparisons to a reasonable amount.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2018-11-09T21:15:32.587" LastActivityDate="2018-11-09T21:15:32.587" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14854" PostTypeId="1" AcceptedAnswerId="14855" CreationDate="2018-11-09T21:50:45.370" Score="2" ViewCount="831" Body="&lt;p&gt;Experiencing an odd issue when using &lt;code&gt;@Html.Glass().Editable()&lt;/code&gt; inside the value property of an &lt;code&gt;input&lt;/code&gt; element. My markup is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;input type=&quot;submit&quot; name=&quot;search&quot; value=&quot;@Html.Glass().Editable(Model, x =&amp;gt; x.CTA_Text)&quot; class=&quot;btn btn-large btn-solid color-buttercup form-element find-event-search-button&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However when the page loads &lt;em&gt;in the Experience Editor&lt;/em&gt;, this renders an actual input element &lt;em&gt;inside&lt;/em&gt; of the value property of the input, instead of just a string, which is what usually happens when I use &lt;code&gt;Editable()&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;input type=&quot;submit&quot; name=&quot;search&quot; value=&quot;&amp;lt;input id='fld_C80D3EEEFE5345C5BCB17FB8ED4D6203_FDE27EC865D34C2A95238FF1091EA131_en_1_3fe281910f0e48b19ab2431af39551f1_5700' class='scFieldValue' name='fld_C80D3EEEFE5345C5BCB17FB8ED4D6203_FDE27EC865D34C2A95238FF1091EA131_en_1_3fe281910f0e48b19ab2431af39551f1_5700' type='hidden' value=&quot; search&quot;=&quot;&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2018-11-09T21:54:13.947" Title="Using Glass().Editable() in a property tag causes unexpected behavior" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14855" PostTypeId="2" ParentId="14854" CreationDate="2018-11-09T21:54:13.947" Score="2" Body="&lt;p&gt;This is exactly the expected behavior, as &lt;code&gt;Editable&lt;/code&gt; renders out everything that is necessary for the Experience Editor to render the field as editable. First, you're going to put the normal value into the &lt;code&gt;value&lt;/code&gt; attribute, and then you're going to make the field editable elsewhere.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;input type=&quot;submit&quot; name=&quot;search&quot; value=&quot;@Model.CTA_Text&quot; class=&quot;btn btn-large btn-solid color-buttercup form-element find-event-search-button&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, make your field editable outside of that, only in the experience editor. Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Sitecore.Context.PageMode.IsExperienceEditorEditing) {&#xA;    @:Search CTA Text: @Html.Glass().Editable(Model, x =&amp;gt; x.CTA_Text)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will add a second editable area apart from the main search field that will only be visible in the Experience Editor, where your editors can change the value.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2018-11-09T21:54:13.947" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14857" PostTypeId="2" ParentId="9745" CreationDate="2018-11-10T05:10:48.530" Score="2" Body="&lt;p&gt;In Sitecore 9.0.2 you also need to apply &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.215205&quot; rel=&quot;nofollow noreferrer&quot;&gt;patch 215205 from SitecoreSupport&lt;/a&gt; otherwise you will have issues such as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ERROR Aggregation Error Exception: System.InvalidOperationException Message: Dimension could not be resolved for for dimension id: b459a0ca-9f43-4ac1-8e6d-549e2a3de674 Source: Sitecore.ExperienceAnalytics.Aggregation    at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(IInteractionAggregationContext context, IEnumerable`1 segments)    at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.InteractionProcessor.AggregateSegments(IInteractionAggregationContext context, AggregationScope scope)    at Sitecore.Analytics.Aggregation.Pipeline.InteractionAggregationPipelineProcessor.Process(InteractionAggregationPipelineArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException Message: Dimension could not be resolved for for dimension id: b459a0ca-9f43-4ac1-8e6d-549e2a3de674 Source: Sitecore.ExperienceAnalytics.Aggregation    at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.get_Dimension() at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.GetData(IVisitAggregationContext context)    at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(IInteractionAggregationContext context, IEnumerable`1 segments)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2018-11-16T07:19:07.247" LastActivityDate="2018-11-16T07:19:07.247" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14858" PostTypeId="2" ParentId="14844" CreationDate="2018-11-10T09:52:01.657" Score="3" Body="&lt;h2&gt;Nothing significant from a performance perspective. But there are other issues.&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I wouldn't worry about this from a performance perspective. While there is a certain overhead on the Rules Engine I would not consider it significant enough to have any real performance impact for up to a good chunk of conditions. That said, there are a few things to consider:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Geolocation isn't really city/zip-code accurate, depending on what country you're in. &lt;a href=&quot;https://www.maxmind.com/en/geoip2-city-accuracy-comparison&quot; rel=&quot;nofollow noreferrer&quot;&gt;See this table here&lt;/a&gt;. &lt;/li&gt;&#xA;&lt;li&gt;And this Sitecore KB article: &lt;a href=&quot;https://kb.sitecore.net/articles/569970&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore IP Geolocation Service accuracy&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;A (very simple) custom condition could make your editors lives a &lt;em&gt;lot&lt;/em&gt; easier. Something like &lt;code&gt;if media library/city/images has an image named [zipcode], apply it to header&lt;/code&gt;. A couple of lines of code, and your client would have a much easier means of maintaining the images required. Performance would be a definite non-issue.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That said; &lt;em&gt;precision&lt;/em&gt; of the Geo provider will be your number one concern that will need to be discussed before even moving ahead.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-11-10T09:52:01.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14859" PostTypeId="1" CreationDate="2018-11-10T14:32:31.983" Score="0" ViewCount="1361" Body="&lt;p&gt;We are working on SXA 1.7.1 &amp;amp; Sitecore 9.0.2 and need to have social share feature for 5 networking sites like FB,Twitter,G+,linkedIn &amp;amp;  Pintreset and looking for kind of interface shown below. Is it possible to have this kind of feature using SXA 1.7.1 OOB?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Y2zaj.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y2zaj.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="2056" LastEditDate="2018-11-10T21:03:27.267" LastActivityDate="2023-05-03T17:06:09.803" Title="Sitecore SXA Social Share" Tags="|sxa|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="14860" PostTypeId="1" AcceptedAnswerId="14862" CreationDate="2018-11-10T17:39:49.927" Score="1" ViewCount="247" Body="&lt;p&gt;Recently i learnt how to setup Sitecore 9.0 on Azure PaaS. I want to understand how Azure App Service plans could impact setting up Sitecore environments:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If we have to setup Dev, QA, Preprod/UAT and Prod on Azure PaaS, do we need to repeat the Sitecore setup steps once for each environment, steps corresponding to chosen Azure topology (XM, XP scaled etc.)?&lt;/li&gt;&#xA;&lt;li&gt;What I understand is that as per Azure App Service plan (standard, premium etc.) it limits the number of instances. For standard it’s 10 instance max, premium 20 max, do we have to take that into consideration when planning how many environments we can have on Azure?&lt;/li&gt;&#xA;&lt;li&gt;If we are on standard service plan will we be able to deploy Sitecore XP, as it may need more that 10 instances for the resources (CM, CD, Processing, Reporting etc) that have to be provisioned by it?&lt;/li&gt;&#xA;&lt;li&gt;Also how do we deal with Data Recovery setup for Prod, is that a part of the Azure offering. Or it need to be planned separately?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3234" LastActivityDate="2018-11-10T21:28:36.540" Title="What impact Azure Service Plans can have on Sitecore environment setup?" Tags="|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14861" PostTypeId="2" ParentId="14859" CreationDate="2018-11-10T20:53:46.120" Score="2" Body="&lt;p&gt;We have used SXA 1.7.1 and its AddThis component together with our AddThis account. No need to implement this if you are using SXA and you need to have similar widget as you have in your question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In AddThis website Tools, we have configured two website tools:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Follow Button Inline&lt;/li&gt;&#xA;&lt;li&gt;Share Button Floating&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mfWAc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mfWAc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you can select only one based on your requirements. Whether to have it inline or floating.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have placed pubid identification number generated in AddThis to styling options of SXA Addthis component in the footer Partial design therefore we gave visitors possibility to follow our company accounts:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fO4Sq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fO4Sq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have also added HTML code component from “Follow Button Inline” tool to enable showing this component on page / footer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d490M.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d490M.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how it looks like in Experience Editor in Edit mode:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/leK86.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/leK86.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have placed “Share Button Floating” widget on the side to gave visitors possibility to share currently visited page on various social media:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LDQOF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LDQOF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this widget, we didn’t have to do any special settings in SXA as we had AddThis code in footer already so AddThis is placing this widget automatically which was great for our purposes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In AddThis website dashboard, you can see really nice representation of data:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/G2Yj8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G2Yj8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also check my blog for implementing more social features for Sitecore:&#xA;&lt;a href=&quot;https://tothecore.sk/2018/03/29/social-sharing-in-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/03/29/social-sharing-in-sitecore-9/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-10T21:01:25.790" LastActivityDate="2018-11-10T21:01:25.790" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14862" PostTypeId="2" ParentId="14860" CreationDate="2018-11-10T21:28:36.540" Score="1" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Yes, but if you are using ARM templates, you can just change a couple of parameters and rerun them to create your additional environments. It is good practice for having your QA environment to reflect your production. But ultimatly, that's up to you.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The number of outscaling instances is one of the differences between basic, standard and premium. But there are many more differences like ssl support. The power of Paas is that you can easily up/down and in/out scale at any time. So, your initial setup does not need to be your final one.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Note that the hosting cost is on the App Service Plan, and an app service plan can contain multiple apps. I don't now the amount of traffic you need to process, but 10 servers is a lot. On a PV2, you can go up to 20 instances. And if that is not enough, you can setup multiple CD farms and put a traffic manager in front of it. We are running a S3 with 5 instances to handle 20K request/min during peak traffic.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Yup, it is part of Azure. Database point-in-time restore is by default enabled, but has a limit of a good month. However you can setup longterm backups as well. For the app services, you can also enable backups via azure.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-10T21:28:36.540" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14863" PostTypeId="1" AcceptedAnswerId="14873" CreationDate="2018-11-11T00:27:47.217" Score="7" ViewCount="393" Body="&lt;p&gt;I have 3 Sitecore 9.0.2 Azure IaaS Content Delivery Servers running.  All are using Azure Redis Cache for private AND shared session. And all behind an Azure Load Balancer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuring session and sharedsession connectionstrings out of ConnectionString.config wouldn't work (read: generated .NET 500 errors in Sitecore log) and I had to specify the hostname and port directly on provider configuration instead of Connection string name.  No errors are being generated by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see requests going to all 3 servers in IIS logs, especially for the same session. I can tell the user is bouncing between CD's through the Load Balancer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can tell definatively that shared and private session is working the way it should?&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-11-12T10:01:55.063" Title="How can I verify that Azure Redis and Shared Session is working correctly?" Tags="|redis|shared-session|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14865" PostTypeId="1" AcceptedAnswerId="14866" CreationDate="2018-11-11T12:36:30.170" Score="3" ViewCount="295" Body="&lt;p&gt;I'm using VS 2017 and Sitecore 9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried installing Sitecore Rocks multiple times, each time I follow the steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tools &gt; Extensions and updates &gt; search for &quot;rocks&quot; in the online tab &gt; Install &gt; Restart VS to trigger installation &gt; installation finishes &quot;successfully&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it doesn't work : the extra &quot;Sitecore&quot; tab doesn't appear, and whenever I try to check Sitecore Rocks in &quot;Extensions and updates&quot;, it appears to be disabled, like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zv4Xf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zv4Xf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been looking online for hours and I can't find anything similar to this, can anyone help? What should I do to enable it? Am I missing any steps in the installation process?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="237" LastEditDate="2018-11-11T12:57:59.297" LastActivityDate="2018-11-11T13:30:21.790" Title="Sitecore Rocks always disabled after installation" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14866" PostTypeId="2" ParentId="14865" CreationDate="2018-11-11T13:30:21.790" Score="5" Body="&lt;p&gt;Your solution can be found here: &lt;a href=&quot;https://blog.mastykarz.nl/installed-visual-studio-extension-doesnt-work/&quot; rel=&quot;noreferrer&quot;&gt;https://blog.mastykarz.nl/installed-visual-studio-extension-doesnt-work/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason for your problem is the setting of Visual Studio which disallows &lt;em&gt;loading per user extensions&lt;/em&gt; while running as administrator. This message is displayed at the bottom of the Extension Manager – as you can see in the screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can fix this by clicking the &lt;code&gt;Enable loading of per user extensions&lt;/code&gt; in the Extension Manager or via Tools &gt; Options &gt; Environments &gt; Extension and Updates &gt; Load per user extensions when running as administrator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aVWag.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aVWag.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Restart VS and the plugin should be enabled.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-11-11T13:30:21.790" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14868" PostTypeId="1" CreationDate="2018-11-12T02:27:41.090" Score="1" ViewCount="189" Body="&lt;p&gt;I am trying to use Dynamic Placeholders with Sitecore 8.2. I am leveraging &lt;a href=&quot;http://fortis.ws/fortis-collection/dynamic-placeholders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://fortis.ws/fortis-collection/dynamic-placeholders/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When adding two renderings with a dynamic placeholder and adding a Content Block in the top placeholder and a Content Block in the bottom placeholder things look fine in Edit or Preview but in Normal mode or viewing the live site after a publish shows the Top Content Block in both placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if I am doing something wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rqLZp.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rqLZp.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UYbCj.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UYbCj.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WtJmk.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WtJmk.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EqD9v.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EqD9v.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="901" LastEditorUserId="73" LastEditDate="2018-11-12T08:08:13.857" LastActivityDate="2018-11-12T08:08:13.857" Title="Fortis Dynamic Placeholder Not Working Outside of Experience Editor" Tags="|dynamic-placeholder|fortis|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14869" PostTypeId="2" ParentId="14827" CreationDate="2018-11-12T03:13:13.840" Score="1" Body="&lt;p&gt;All marketing definitions need to be deployed succesfully for the xDB to function properly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/marketing-operations/definitions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 9.0 xDB documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Definitions are deployed to the reference data store. If a definition&#xA;  has not been deployed, it cannot be used in an xDB context such as&#xA;  processing.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To deploy as per (old 8.2) &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/marketing_operations/deploy_marketing_definitions&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Log in to the Sitecore Experience Platform desktop.&lt;/li&gt;&#xA;&lt;li&gt;Click Control Panel and navigate to the ANALYTICS section.&lt;/li&gt;&#xA;&lt;li&gt;Click Deploy marketing definitions.&lt;/li&gt;&#xA;&lt;li&gt;In the Deploy marketing definitions dialog box, select all the check boxes and click Deploy.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-11-12T03:13:13.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14870" PostTypeId="1" AcceptedAnswerId="14871" CreationDate="2018-11-12T03:53:59.010" Score="3" ViewCount="927" Body="&lt;p&gt;I have created a goal that should trigger when user visits the 'Booking' page.&#xA;In its &lt;code&gt;Rules&lt;/code&gt; section, added a new rule as:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where the item ID is equal to Booking&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Booking&lt;/code&gt; is the name of the booking page. Set item ID to the ID of that page.&#xA;Deployed and published the goal. Visited the booking page a few times in different sessions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After 2 days, I check the &lt;code&gt;Fact_Conversions&lt;/code&gt; table and there is no goal triggered for booking.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the page item, in the &lt;code&gt;Analyze&lt;/code&gt; tab, there is a &lt;code&gt;Goals&lt;/code&gt; button, where we can select the goals for that page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should this be done instead or both?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 update 5&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="2056" LastEditDate="2018-11-12T06:35:00.417" LastActivityDate="2018-11-13T12:41:08.710" Title="What is the correct way to set a page load goal?" Tags="|goals|marketing-control-panel|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14871" PostTypeId="2" ParentId="14870" CreationDate="2018-11-12T06:32:47.173" Score="7" Body="&lt;p&gt;Rules are used for something else. You are correct to associate goal instead. Also make sure to deploy goal.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1) Associate goal with an item&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To associate a goal with an item, from the Sitecore Launchpad, open the Experience Editor or the Content Editor, then navigate to the relevant content item.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In the Attributes group, click Goals.&lt;/li&gt;&#xA;&lt;li&gt;In the Experience Editor, this is located on the Optimization tab&#xA;&lt;a href=&quot;https://i.stack.imgur.com/cdri6.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cdri6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the Content Editor, this is located on the Analyze tab&#xA;&lt;a href=&quot;https://i.stack.imgur.com/kYFeq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kYFeq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the Goals dialog, select the goal that you want to associate with this item and click OK.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More details can be found in official Sitecore documentation -&gt; &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/campaigns/goals__events/associate_a_goal_with_an_item&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/campaigns/goals__events/associate_a_goal_with_an_item&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2) Deploy goal&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Also make sure that you have deployed goal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To deploy the goal, on the Review tab, in the Workflow group, click Deploy on your Goal:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uycBM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uycBM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details can be found in Official Sitecore documentation -&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/campaigns/goals__events/create_and_deploy_a_goal&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/digital_marketing/campaigns/goals__events/create_and_deploy_a_goal&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-11-12T06:32:47.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14873" PostTypeId="2" ParentId="14863" CreationDate="2018-11-12T10:01:55.063" Score="8" Body="&lt;p&gt;How we did for AWS, on Azure I think should be pretty the same:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create test1 page that will display server name(CD1, CD2,&#xA;etc.) and put information to session: trigger some goal and save some&#xA;information directly to session. For example something like:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;//Register goal&#xA; var goalTrigger = Sitecore.Analytics.Tracker.MarketingDefinitions.Goals[{SomeGuid}];&#xA; var goalEventData = &#xA; Sitecore.Analytics.Tracker.Current.CurrentPage.RegisterGoal(goalTrigger);&#xA; goalEventData.Data = goalItem[&quot;Name&quot;];&#xA; goalEventData.ItemId = goalItem.ID.ToGuid();&#xA; goalEventData.DataKey = goalItem.Paths.Path;&#xA; goalEventData.Text = &quot;Goal for Logic&quot;;&#xA; Sitecore.Analytics.Tracker.Current.Interaction.AcceptModifications();&#xA; //Put value to session&#xA; HttpContext.Current.Session[&quot;test&quot;] = &quot;value in session&quot;;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Create test2 page that will display server name(CD1, CD2, etc.), Session identifier, list of triggered goals, value that is shared in session. For example something like:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;//Check that goal was triggered&#xA; var cache = Tracker.Current.Contact.KeyBehaviorCache;&#xA; bool goalTriggered = cache.Goals.Any(x =&amp;gt; x.Id == SomeGuid);&#xA; //Check that value is present in session&#xA; var sessionValue = HttpContext.Current.Session[&quot;test&quot;];&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Remove all CD servers except one(CD1) from load balancer(LB) and open test1 page in incognito mode(or after cleaning cookies in browser). (We suppose that goal(s) should be triggered and value should be in session)&lt;/li&gt;&#xA;&lt;li&gt;Remove CD server that was present in LB(CD1). Add another one server to LB(CD2). Open test2 page. Expected result: It should display expected Sitecore analytics information and information that you put directly to session.&lt;/li&gt;&#xA;&lt;li&gt;Close and re-open incognito window of your browser. Or clean cookies.&lt;/li&gt;&#xA;&lt;li&gt;Repeat 3-4 step with different combinations of servers.  (CD2 &amp;lt;=&gt; CD1, or other if you have more than 2 CD servers)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;P.S. May be it is too general and obvious answer. I wanted to make it as comment. But there are too many characters to to fit in the comment.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-11-12T10:01:55.063" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14874" PostTypeId="1" AcceptedAnswerId="14887" CreationDate="2018-11-12T11:16:02.850" Score="1" ViewCount="1527" Body="&lt;p&gt;I am trying to add Google analytics script code by using SXA OOB feature. I found that template is available at the path &lt;code&gt;/sitecore/templates/Feature/Experience Accelerator/Analytics/Rendering Parameters/Google Analytics&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any inputs on how to enable Google Analytics tracking in SXA?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="2727" LastEditDate="2018-11-12T13:52:36.007" LastActivityDate="2018-11-12T22:42:32.013" Title="SXA Google Analytics tracking enable" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14876" PostTypeId="1" AcceptedAnswerId="14878" CreationDate="2018-11-12T12:49:55.280" Score="1" ViewCount="406" Body="&lt;p&gt;I've installed a package with corrupted items (that means the items need some base clases and so on and when I try to click on such an item I get an error - I don't have these classes inside my project and getting them is not an option)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bPvxF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bPvxF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Details&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dNPDI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dNPDI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I can't call the submenu and I can't search for these items. How can I delete these items from my tree?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="2056" LastEditDate="2019-02-12T13:18:31.187" LastActivityDate="2019-02-12T13:18:31.187" Title="Delete corrupted items after import" Tags="|packages|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14877" PostTypeId="1" AcceptedAnswerId="14885" CreationDate="2018-11-12T14:08:46.110" Score="3" ViewCount="837" Body="&lt;p&gt;Could you let me know please if there is a possibility to embed a Sitecore JSS app/component in an existing non-Sitecore website?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To be more explicit our client has multiple external non-Sitecore websites and a main presentation website built in Sitecore 9. There are some components that he wants to use from Sitecore website on the non-Sitecore websites (let's say a carousel that would be displayed on non-Sitecore external websites). The idea is to use Sitecore components that will be embedded in the external websites and that will allow personalization feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First thing that came to my mind in order to build this is FXM, but due to different limitations we cannot use it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've gone through the documentation of Sitecore JSS that seems to cover pretty well the headless content, however it's still not clear for me if I can build some components as a JSS apps that uses the content from Sitecore and embed them into non-Sitecore websites&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do this with Sitecore JSS?&#xA;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4586" LastActivityDate="2018-11-12T21:06:25.073" Title="Embed a Sitecore JSS app/component within an existing non-Sitecore website" Tags="|jss|fxm|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14878" PostTypeId="2" ParentId="14876" CreationDate="2018-11-12T14:44:31.927" Score="5" Body="&lt;p&gt;As @Mark Cassidy pointed out in his comment. The best remedy in this situation is &lt;code&gt;DbBrowser&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Log in to your authoring instance as an admin. &lt;/li&gt;&#xA;&lt;li&gt;Navigate to /sitecore/admin/dbbrowser.aspx&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;From there, you will see your content tree. You can navigate to the problem items and either delete the single item or delete children.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dFocb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dFocb.png&quot; alt=&quot;DbBrowser&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DbBrowser is a slimmed down version of Content Editor and typically provides access when Content Editor does not.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-11-12T14:44:31.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14879" PostTypeId="1" AcceptedAnswerId="15509" CreationDate="2018-11-12T15:41:00.950" Score="1" ViewCount="267" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/s9Zy2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s9Zy2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;When I try to send two or more variants of messages, sending is paused and I get an error in log: subject is empty, although I have set it. But if I send simple message with one variants, message will send successfully without any errors and the subject is correct. I have &quot;Set Page Title&quot; rendering in presentation details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 update 7, Exm 3.5&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Message sending error: System.AggregateException: One or more errors occurred. ---&amp;gt; System.ArgumentException: Empty strings are not allowed.&#xA;Parameter name: message.Subject&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)&#xA;   at Sitecore.EDS.Core.Net.Smtp.MessageTransport`1..ctor(EmailMessage message)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;SendEmailAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchProviderBase.&amp;lt;SendAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;SendAsync&amp;gt;d__6.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.SendEmail.Process(SendMessageArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Modules.EmailCampaign.Core.PipelineHelper.RunPipeline(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.Modules.EmailCampaign.Core.Dispatch.DispatchTask.OnSendToNextRecipient()&#xA;---&amp;gt; (Inner Exception #0) System.ArgumentException: Empty strings are not allowed.&#xA;Parameter name: message.Subject&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String &#xA;   argumentName)&#xA;   at Sitecore.EDS.Core.Net.Smtp.MessageTransport`1..ctor(EmailMessage message)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;SendEmailAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchProviderBase.&amp;lt;SendAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;SendAsync&amp;gt;d__6.MoveNext()&amp;lt;---&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4080" LastEditorUserId="4080" LastEditDate="2018-11-14T09:42:13.470" LastActivityDate="2018-12-13T12:41:33.187" Title="Subject is empty when try to send few variants of message" Tags="|exm|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14880" PostTypeId="1" AcceptedAnswerId="14881" CreationDate="2018-11-12T17:23:21.547" Score="5" ViewCount="4492" Body="&lt;p&gt;I want to know is there any way to create new items in sitecore using the powershell with data from excel sheet&lt;/p&gt;&#xA;" OwnerUserId="4589" LastActivityDate="2021-07-18T09:01:34.793" Title="Creating new items using powershell from csv" Tags="|powershell|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14881" PostTypeId="2" ParentId="14880" CreationDate="2018-11-12T17:43:25.170" Score="8" Body="&lt;p&gt;Should be fairly simple. You can use the PowerShell &lt;code&gt;Import-CSV&lt;/code&gt; command to load a CSV file in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$importRows = Import-CSV &quot;C:\path-to-your-file\import-data.csv&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can enumerate through that and create the items using the &lt;code&gt;New-Item&lt;/code&gt; command. This example assumes a field name in the CSV of &lt;code&gt;ItemName&lt;/code&gt;. For speed you probably want to wrap this in a &lt;code&gt;BulkUpdateContext&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext)&#xA;{&#xA;    foreach ($row in $importRows)&#xA;    {&#xA;        $itemName = $row.ItemName&#xA;        $newItem = New-Item -Path &quot;master:\content\parent-item&quot; -Name $itemName -ItemType &amp;lt;Set the template path &amp;amp; name&amp;gt;&#xA;        # Now you can edit the $newItem and set some field values too&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should get you started.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-11-12T17:43:25.170" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14883" PostTypeId="1" AcceptedAnswerId="14886" CreationDate="2018-11-12T20:38:01.630" Score="3" ViewCount="227" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8C43g.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8C43g.jpg&quot; alt=&quot;Form Designer with highlighted category&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Sitecore Forms Designer there are four predetermined categories for elements for your form.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Basic&lt;/li&gt;&#xA;&lt;li&gt;Lists&lt;/li&gt;&#xA;&lt;li&gt;Security&lt;/li&gt;&#xA;&lt;li&gt;Structure&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I've looked everywhere and even added a folder in &lt;code&gt;/sitecore/system/Settings/Forms/Field Types&lt;/code&gt; and added my new field types into this folder, but it doesn't work that way, from what I can tell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I create a new category? &lt;/p&gt;&#xA;" OwnerUserId="1000" LastEditorUserId="2056" LastEditDate="2018-11-12T22:19:33.607" LastActivityDate="2018-11-12T22:30:28.550" Title="How to add a new Category to Form Designer in Sitecore Forms?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14884" PostTypeId="2" ParentId="14877" CreationDate="2018-11-12T20:59:28.043" Score="2" Body="&lt;p&gt;&lt;strong&gt;Client-side embedding&lt;/strong&gt; (&lt;a href=&quot;http://jss.sitecore.net/docs/techniques/mvc-integration/client-side-embedding&quot; rel=&quot;nofollow noreferrer&quot;&gt;docs&lt;/a&gt;) is a technique that basically embeds a JSS app for client-side rendering within a Sitecore MVC rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This same technique (the resulting HTML for the Sitecore MVC rendering) should be fine to browser-side render the JSS app outside of Sitecore as well. Just make sure the API key allows the other app as a CORS origin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically copy the app's &lt;code&gt;index.html&lt;/code&gt; scripts and app root element into the other site's HTML :)&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-11-12T20:59:28.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14885" PostTypeId="2" ParentId="14877" CreationDate="2018-11-12T21:06:25.073" Score="1" Body="&lt;p&gt;For sites that are not managed or running on a Sitecore instance, you could use JSS in either:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Headless SSR mode&lt;/strong&gt; &lt;a href=&quot;http://jss.sitecore.net/docs/fundamentals/application-modes#headless-server-side-rendering-mode&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jss.sitecore.net/docs/fundamentals/application-modes#headless-server-side-rendering-mode&lt;/a&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;API-only mode&lt;/strong&gt; &lt;a href=&quot;http://jss.sitecore.net/docs/fundamentals/application-modes#api-only-mode&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jss.sitecore.net/docs/fundamentals/application-modes#api-only-mode&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Which mode you choose would depend on how the non-Sitecore site is running. For instance, for SSR mode you would need a server running node.js. For API-only mode, your JSS app is &quot;simply&quot; making requests back to a Sitecore server for data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to keep in mind is that &lt;em&gt;only&lt;/em&gt; your JSS app will be editable / component-manageable via Sitecore Experience Editor. You will not be able to edit or manage the app within the context of the non-Sitecore site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And one final note, you may not even need a full-fledged JSS app. If the non-Sitecore site is capable of making fetch/XHR requests, you can retrieve data directly from Layout Service (which will deliver personalized content): &lt;a href=&quot;http://jss.sitecore.net/docs/fundamentals/services/layout-service&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jss.sitecore.net/docs/fundamentals/services/layout-service&lt;/a&gt;, and then use that data as needed in your non-Sitecore site. That said, if you're using React, Vue, or Angular on the non-Sitecore site, you'll want to consider using the corresponding &lt;code&gt;@sitecore-jss/sitecore-jss-XXXX&lt;/code&gt; npm package for those frameworks to make the development process smoother.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-11-12T21:06:25.073" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14886" PostTypeId="2" ParentId="14883" CreationDate="2018-11-12T21:18:13.180" Score="4" Body="&lt;p&gt;1)&#xA;You need to keep your category under &lt;code&gt;/sitecore/system/Settings/Forms/Field Types&lt;/code&gt; in &lt;code&gt;master&lt;/code&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)&#xA;But you also need to add some more items in &lt;code&gt;core&lt;/code&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2a)&#xA;You need to duplicate DraggableBasic and ExpanderBasic items in &lt;code&gt;core&lt;/code&gt; database that you can find under &lt;code&gt;/sitecore/client/Applications/FormsBuilder/Pages/FormDesigner/PageSettings/InfoTabControl/Design/PageSettings&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Name them accordingly Draggable{your_category_name} and Expander{your_category_name}.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change value in StaticData field in Drabbable item to id of your category created in master database under &lt;code&gt;/sitecore/system/Settings/Forms/Field Types&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/z9roC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/z9roC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so in my case it was like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/puLdf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/puLdf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also change HeaderText field in Expander item according to your desired category name:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KVo4L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KVo4L.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2b)&#xA;You need to add these newly created expander and draggable items in the Design tab shared renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to &lt;code&gt;/sitecore/client/Applications/FormsBuilder/Pages/FormDesigner/PageSettings/InfoTabControl/Design&lt;/code&gt; item and turn on showing Raw values.&#xA;Scroll down to Renderings field (Shared renderings). If you cannot see it, turn on also showing Standard fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6vk4G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6vk4G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copy the value to Notepad or any other editor and format it a bit to be more readable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Duplicate two entries related to ExpanderBasic and rename them accordingly to your setup. For me it was ExpanderAdvanced ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have duplicated these renderings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r uid=&quot;{ED3AE365-02C5-4B10-8ECF-E2283DEC668B}&quot; p:after=&quot;r[@uid='{6B1B70A9-6236-4447-B4B3-5F6082A61B8B}']&quot; s:id=&quot;{1CA7EB02-74E0-42F9-B8C9-32E62FD505BD}&quot; s:par=&quot;Id=ExpanderBasic&quot; s:ph=&quot;&quot; /&amp;gt;&#xA;&#xA;&amp;lt;r uid=&quot;{85DEAD48-AC75-4B74-AAFB-079D379E0C1B}&quot; p:after=&quot;r[@uid='{F4B0C881-F46E-47BB-B76B-C3219BF16D4A}']&quot; s:id=&quot;{E3DDC819-50A5-477A-A3A3-4CDCF3C7B5A4}&quot; s:par=&quot;Id=DraggableBasic&quot; s:ph=&quot;ExpanderBasic.Body&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and placed my duplicated renderings right after them and moved id in p:after accordingly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ie5qD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ie5qD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copy or replace all rendering elements back to the field according to your changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can you use &lt;a href=&quot;https://www.guidgenerator.com/online-guid-generator.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.guidgenerator.com/online-guid-generator.aspx&lt;/a&gt; with Uppcase turned on to generate guids for your newly created renderings or Visual Studio :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ytJmJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ytJmJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-12T22:30:28.550" LastActivityDate="2018-11-12T22:30:28.550" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14887" PostTypeId="2" ParentId="14874" CreationDate="2018-11-12T22:42:32.013" Score="6" Body="&lt;p&gt;The Google Analytics component should be added to the &lt;code&gt;Metadata&lt;/code&gt; partial design, which is included by default in sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add the component, in Experience Editor go to the Metadata partial design:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iAjXP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iAjXP.png&quot; alt=&quot;Selecting the Metadata Partial Design&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will give you a view of the current metadata renderings you have selected for your site, and allow you to drag metadata components into the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tags of your site's page layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Google Analytics component can be found in the toolbox under Analytics:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7tyXX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7tyXX.png&quot; alt=&quot;Google Analytics component&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Drag this into the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; section of the page. When you add this, the rendering will inform you that you must add a key for this to work:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vZKma.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vZKma.png&quot; alt=&quot;The Google Analytics component before a key is added&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add the key, this is set as a rendering parameter on the component, under the Tracking heading:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LlNO9.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LlNO9.png&quot; alt=&quot;Adding the tracking key to the component properties&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once that's done you can save the partial design and your site should start outputting the tracking code.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2018-11-12T22:42:32.013" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14888" PostTypeId="2" ParentId="14711" CreationDate="2018-11-12T23:29:21.557" Score="2" Body="&lt;p&gt;I passed this over to the Product Team to comment on this, and the response was.....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is not need for a custom controller, all components and child components can be expanded using odata expand option, e.g. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{{ServiceHost}}/{{ShopsApi}}/Carts('Cart01')?$expand=Lines($expand=CartLineComponents),Components&#xA;&#xA;{{ServiceHost}}/{{ShopsApi}}/SellableItems('Habitat_Master,6042134,')?$expand=Components($expand=ChildComponents($expand=ChildComponents($expand=ChildComponents($expand=ChildComponents))))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-11-12T23:29:21.557" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14889" PostTypeId="2" ParentId="14880" CreationDate="2018-11-13T00:18:42.660" Score="0" Body="&lt;p&gt;Follow these steps.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to admin site by accessing this link &quot;myproducts/sitecore&quot; site using proper credentials&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a template e.g. products with columns you mentioned -Product Name -Product Title - Product Description&#xA;&lt;a href=&quot;https://i.stack.imgur.com/7oOX1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7oOX1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now configure powershell in your sitecore instance if not done already. See below link.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11031/running-powershell-scripts-without-using-sitecore-powershell-extensions-module&quot;&gt;Running PowerShell scripts without using Sitecore PowerShell Extensions module&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Once installed properly Go to powershell from sitecore admin site &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Follow instruction given above by Richard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;$row in Richard's solution above will give you access to entire row at a time.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create items based on templates you created under designated path of your content tree&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2418" LastActivityDate="2018-11-13T00:18:42.660" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14890" PostTypeId="1" AcceptedAnswerId="14935" CreationDate="2018-11-13T05:17:09.597" Score="1" ViewCount="1394" Body="&lt;p&gt;Using Sitecore 9, I want to order alphabetically the items in a MultiList with Search field in the content editor&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the template, I have the Source:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation=/sitecore/content/Parks/Imported Data/Attributes/Activities&amp;amp;Filter=_template:{C1CD56E2-A02F-46F2-A97A-3392E092918D}&amp;amp;_path:/sitecore/content/Parks/Imported Data/Attributes/Activities&amp;amp;SortField=__DisplayName&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've also tried using a field name for the SortField but that's not sorting either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideas?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2019-03-14T16:49:58.730" Title="Sort order in Multilist with Search Field in Content Editor" Tags="|content-editor|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14891" PostTypeId="1" AcceptedAnswerId="14897" CreationDate="2018-11-13T06:16:51.787" Score="13" ViewCount="2899" Body="&lt;p&gt;I am just curious whether there is an easter egg - inside joke, hidden message (image) or secret feature - that you have found in Sitecore in various versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Easter egg -&gt; &lt;a href=&quot;https://en.wikipedia.org/wiki/Easter_egg_(media)&quot; rel=&quot;noreferrer&quot;&gt;https://en.wikipedia.org/wiki/Easter_egg_(media)&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-13T11:39:36.107" LastActivityDate="2019-06-13T18:23:12.700" Title="Is there any easter egg in Sitecore?" Tags="|experience-editor|content-editor|experience-analytics|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14892" PostTypeId="1" CreationDate="2018-11-13T06:41:02.130" Score="0" ViewCount="75" Body="&lt;p&gt;I am using using Commerce Server 11.0 in Sitecore 8.1 update 1.&#xA;I have some categories which are shown across Menu in my websites.&#xA;The categories are getting updated in the commerce server catalog from an API by an Incremental job. Whenever the structure or sorting of the Categories are modified I do not see it showing up in the Menu even tough the updated category relationship are visible in the commerce server catalog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Uj5Mv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Uj5Mv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I am missing here? Have anyone faced or fixed such kind of issue?&lt;/p&gt;&#xA;" OwnerUserId="1049" LastActivityDate="2018-11-13T06:41:02.130" Title="Category information or relationship are not getting updated" Tags="|sitecore-commerce|commerce-server|commerce-catalog|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14893" PostTypeId="2" ParentId="14891" CreationDate="2018-11-13T07:06:32.727" Score="19" Body="&lt;p&gt;Maybe not an easter egg, but &lt;code&gt;MainUtil&lt;/code&gt; class contains some &quot;useful&quot; methods like:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;My favorites:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;Returns false.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;public static bool False()&#xA;{&#xA;  return false;&#xA;}&#xA;&#xA;/// &amp;lt;summary&amp;gt;&#xA;/// Returns &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt;.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;public static bool True()&#xA;{&#xA;  return true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Method used by every single Sitecore developer:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;Determines whether the specified string is empty.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;s&quot;&amp;gt;The s.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;&#xA;///     &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; if the specified string is empty; otherwise, &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;.&#xA;/// &amp;lt;/returns&amp;gt;&#xA;public static bool IsEmpty(string s)&#xA;{&#xA;  if (s != null)&#xA;    return s.Length == 0;&#xA;  return true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Very functional:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;No-op&amp;lt;/summary&amp;gt;&#xA;public static void Nop(params object[] obj)&#xA;{&#xA;}&#xA;&#xA;/// &amp;lt;summary&amp;gt;Touch&amp;lt;/summary&amp;gt;&#xA;public static void Touch(params object[] obj)&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;The one I cannot live without:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Method to call when doing silent catches. Causes the Resharper warning to disappear.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public static void SilentCatch()&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-11-13T07:13:30.040" LastActivityDate="2018-11-13T07:13:30.040" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14894" PostTypeId="1" CreationDate="2018-11-13T07:10:32.470" Score="1" ViewCount="414" Body="&lt;p&gt;Data on the left side of the multi-list is not loading if the user is a non-admin. I have multisite on a single node so on the data source I've put Sitecore query as &lt;strong&gt;StartSearchLocation=query:./ancestor::*[@@templatename-&gt;'Site Folder']&amp;amp;Filter=_templatename:some_template_name&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above query returns the expected result for users with admin privilege, but not for the non-admin users. For non-admin users, its data keeps on loading and it does not return any result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While verifying the ajax call found that there is a null exception on the call. Attached the screenshot below&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9sGew.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9sGew.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have verified the item permission for the Site Folder template and all its ancestors. Yet the issue exists for the non-admin users. I have reindexed the Master DB in Solr as well. Kindly let me know if any other suggestion or fix for this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="976" LastEditorUserId="342" LastEditDate="2018-11-13T15:26:56.683" LastActivityDate="2018-11-15T14:14:37.983" Title="Multilist with search not loading for non admin" Tags="|content-search|content-editor|sitecore-query|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14895" PostTypeId="2" ParentId="13658" CreationDate="2018-11-13T08:34:49.897" Score="0" Body="&lt;p&gt;You should take the working ProcessMessage class without REGEX from WFFM for Sitecore 9.0 and patch it instead of similar class in WFFM for Sitecore 9.0.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Replace two occurencies of &quot;{Appropriate_method_name_goes_here}&quot; in below config patch: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;processMessage&amp;gt;&#xA;        &amp;lt;processor type=&quot;YouCustomNamespace.YourCustomClass, YourCustomAssembly&quot; method=&quot;{Appropriate_method_name_goes_here}&quot; patch:instead=&quot;processor[@type='Sitecore.Forms.Core.Pipelines.ProcessMessage, Sitecore.Forms.Core' and @method='{Appropriate_method_name_goes_here}']&quot; /&amp;gt;&#xA;      &amp;lt;/processMessage&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Could be that this has been added to avoid identifying sender as spammer or something similar on email providers like SendGrid or similar.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-11-13T08:34:49.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14897" PostTypeId="2" ParentId="14891" CreationDate="2018-11-13T10:13:55.140" Score="16" Body="&lt;p&gt;I have previously found 2 secret CLI commands in Sitecore JSS:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;elephant-in-the-room:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; jss elephant-in-the-room&#xA;JSS CLI is running in global mode because it was not installed in the local node_modules folder.&#xA;  _.-- ,.--.&#xA;  .'   .'    /&#xA;  | @       |'..--------._&#xA;  /      \._/              '.&#xA;/  .-.-                     \&#xA;(  /    \                     \&#xA;\\      '.                  | #&#xA;  \\       \   -.           /&#xA;  :\       |    )._____.'   \&#xA;    &quot;       |   /  \  |  \    )&#xA;            |   |./'  :__ \.-'&#xA;            '--'&#xA;&#xA;Won't someone please address me?&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;whats-the-password:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;gt; jss whats-the-password&#xA;JSS CLI is running in global mode because it was not installed in the local node_modules folder.&#xA;Why it's b, of course.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="171" LastActivityDate="2018-11-13T10:13:55.140" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14900" PostTypeId="1" AcceptedAnswerId="14902" CreationDate="2018-11-13T12:26:11.770" Score="1" ViewCount="326" Body="&lt;p&gt;Is there any way for creating a simple form in Sitecore through dynamically using code so that it appears in the Sitecore Forms UI?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion appreciated.&lt;/p&gt;&#xA;" OwnerDisplayName="user4124" LastEditorUserId="342" LastEditDate="2018-11-13T14:10:48.323" LastActivityDate="2018-11-13T14:10:48.323" Title="Sitecore 9 Forms Creation" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14901" PostTypeId="2" ParentId="14870" CreationDate="2018-11-13T12:41:08.710" Score="4" Body="&lt;p&gt;Since you mention rules, if you do want to introduce rules so that you only trigger goal registration if other conditions are true then you can extend the processItem pipeline defined in Sitecore.Analytics.config to programmatically process a custom rules field on the context item: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// check if there are any rules set, if not proceed as normal, otherwise do the below&#xA;&#xA;var context = new RuleContext&#xA;{&#xA;    Item = args.Item&#xA;};    &#xA;&#xA;foreach (Rule&amp;lt;RuleContext&amp;gt; rule in RuleFactory.GetRules&amp;lt;RuleContext&amp;gt;(new[] { args.Item }, &quot;RULES FIELD NAME&quot;).Rules)&#xA;{&#xA;    if (rule.Condition != null)&#xA;    {&#xA;        var stack = new RuleStack();&#xA;&#xA;        rule.Condition.Evaluate(context, stack);&#xA;&#xA;        if (context.IsAborted)&#xA;            continue;&#xA;&#xA;        if ((stack.Count != 0) &amp;amp;&amp;amp; ((bool)stack.Pop()))&#xA;            // condition met, do something&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And if the conditions on the rules field are satisfied then add the tracking field of the context item to the TrackingParameters property on the ProcessItemArgs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.TrackingParameters.Add(new TrackingField(args.Item[&quot;__Tracking&quot;]));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your processor will also have access to the current interaction in the pipeline args so you could for example say register a goal conversion on the current page but only if the user has not already registered the goal... or basically anything you can come up with in the rules engine.&lt;/p&gt;&#xA;" OwnerUserId="759" LastActivityDate="2018-11-13T12:41:08.710" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14902" PostTypeId="2" ParentId="14900" CreationDate="2018-11-13T12:43:12.543" Score="3" Body="&lt;p&gt;Though, I don't see the use case for your question, a form is just contructed by a tree of sitecore items. So in theory, you could create those items through code, like you would create other sitecore items with the Sitecore API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ojaSY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ojaSY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make it appear in the Forms UI, you would need to index them to the master index, as the list is builded from the master index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to see the structure of the items you need to create, I would suggest to create a sample form through the UI, and get a look at the created items.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-13T12:43:12.543" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="14903" PostTypeId="2" ParentId="13479" CreationDate="2018-11-13T12:48:13.310" Score="2" Body="&lt;p&gt;This &quot;conditional logic&quot; functionality was announced for Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dqKLJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dqKLJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for 9.0 (+updates) it is not available OOTB.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-13T12:48:13.310" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14904" PostTypeId="1" CreationDate="2018-11-13T14:16:50.287" Score="0" ViewCount="88" Body="&lt;p&gt;We are working on Sitecore 9.0 Update 2 in PAAS and need to set up the extra publishing target for production environment . Has some body done this before in PAAS. &lt;/p&gt;&#xA;" OwnerUserId="4580" LastActivityDate="2018-11-14T05:33:54.390" Title="Sitecore PAAS Publishing Target" Tags="|paas|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14905" PostTypeId="1" CreationDate="2018-11-13T15:12:58.897" Score="1" ViewCount="230" Body="&lt;p&gt;Encountered with below exception while installing Sitecore using SIM. Any ideas how to deal with this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   10 14:46:16,213 INFO  Unzipping the 'D:\SIMSupport\Sitecores\Sitecore 8.1 rev. 160302.zip' archive to the 'C:\Inetpub\wwwroot\sc81rev160302\550030d3-34f6-4996-b650-c78c96f9e97a' folder&#xA;  10 14:47:27,145 ERROR Processor of type 'SIM.Pipelines.Install.Extract' (a part of the 'install' pipeline) failed. The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.&#xA;System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.&#xA;   at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)&#xA;   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)&#xA;   at System.IO.Path.InternalGetDirectoryName(String path)&#xA;   at Ionic.Zip.ZipEntry.InternalExtract(String baseDir, Stream outstream, String password)&#xA;   at SIM.Base.ZipProvider.UnpackZip(String packagePath, String path, Action`1 incrementProgress, String ignore)&#xA;   at SIM.Pipelines.Install.Extract.Process(InstallArgs args)&#xA;   at SIM.Pipelines.Install.InstallProcessor.Process(ProcessorArgs args)&#xA;   at SIM.Pipelines.Processors.Processor.Execute(ProcessorArgs args)&#xA;  10 14:47:27,170 INFO  Appending host: sc81rev160302&#xA;   1 14:47:30,091 ERROR Extracting files action failed with message: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="73" LastEditDate="2018-11-13T15:27:48.607" LastActivityDate="2018-11-14T16:41:47.037" Title="System.IO.PathTooLongException while installing Sitecore" Tags="|sim|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14906" PostTypeId="2" ParentId="14784" CreationDate="2018-11-13T15:24:04.700" Score="3" Body="&lt;p&gt;Import very specifically does not rename or delete items. Per &lt;a href=&quot;http://jss.sitecore.net/docs/techniques/working-disconnected/import-process&quot; rel=&quot;nofollow noreferrer&quot;&gt;the docs&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;h2&gt;Import does not purge unknown items&lt;/h2&gt;&#xA;&lt;p&gt;If a template or route is removed from the manifest, it is not deleted from Sitecore on the next import.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;If you want to follow default conventions and have Sitecore look entirely like your manifest and nothing else, consider using &lt;em&gt;wipe&lt;/em&gt; import (&lt;code&gt;-w&lt;/code&gt; on the CLI) which will purge imported items before recreating them all. Wipe will prompt by default; &lt;code&gt;--unattendedWipe&lt;/code&gt; will disable the prompt for CI scenarios.&lt;/p&gt;&#xA;&lt;p&gt;If you're going to get advanced with your items though, use an item serialization tool to maintain the app's state from the Sitecore side.&lt;/p&gt;&#xA;" OwnerUserId="267" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-13T15:24:04.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14907" PostTypeId="1" CreationDate="2018-11-13T15:55:04.970" Score="1" ViewCount="193" Body="&lt;p&gt;Invalid deployment exception on updating SIM 1.3 to SIM 1.4. How to resolve this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR DETAILS&#xA;Following errors were detected during this operation.&#xA;* [11/13/2018 3:14:26 PM] System.Deployment.Application.InvalidDeploymentException (SubscriptionSemanticValidation)&#xA;    - The deployment identity at the deployment provider is not the same as the original deployment identity.&#xA;    - Source: System.Deployment&#xA;    - Stack trace:&#xA;        at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest&amp;amp; deployment, Uri&amp;amp; sourceUri, TempFile&amp;amp; tempFile, IDownloadNotification notification, DownloadOptions options)&#xA;        at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri&amp;amp; sourceUri, TempFile&amp;amp; tempFile, SubscriptionState&amp;amp; subState, IDownloadNotification notification, DownloadOptions options)&#xA;        at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp;amp; errorPageUrl, Uri&amp;amp; deploymentUri)&#xA;        at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp;amp; errorPageUrl)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp;amp; errorPageUrl)&#xA;            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)&#xA;&#xA;COMPONENT STORE TRANSACTION DETAILS&#xA;    No transaction information is available.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;New error on a fresh installation of SIM1.5&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR DETAILS&#xA;    Following errors were detected during this operation.&#xA;    * [11/13/2018 4:12:02 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)&#xA;        - Downloading http://dl.sitecore.net/updater/sim/Application Files/SIM.Tool.1.5.0.179/Sitecore.Diagnostics.Net.dll did not succeed.&#xA;        - Source: System.Deployment&#xA;        - Stack trace:&#xA;            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)&#xA;            at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()&#xA;            at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState, X509Certificate2 clientCertificate)&#xA;            at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)&#xA;            at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory&amp;amp; downloadTemp)&#xA;            at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState&amp;amp; subState, ActivationDescription actDesc)&#xA;            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp;amp; errorPageUrl, Uri&amp;amp; deploymentUri)&#xA;            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp;amp; errorPageUrl)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp;amp; errorPageUrl)&#xA;            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)&#xA;        --- Inner Exception ---&#xA;        System.Net.WebException&#xA;        - The underlying connection was closed: An unexpected error occurred on a receive.&#xA;        - Source: System&#xA;        - Stack trace:&#xA;            at System.Net.HttpWebRequest.GetResponse()&#xA;            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)&#xA;        --- Inner Exception ---&#xA;        System.IO.IOException&#xA;        - Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.&#xA;        - Source: System&#xA;        - Stack trace:&#xA;            at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;            at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;            at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)&#xA;        --- Inner Exception ---&#xA;        System.Net.Sockets.SocketException&#xA;        - An existing connection was forcibly closed by the remote host&#xA;        - Source: System&#xA;        - Stack trace:&#xA;            at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="312" LastEditDate="2018-11-18T17:31:11.067" LastActivityDate="2018-11-18T17:31:11.067" Title="How to resolve SIM update error InvalidDeploymentException?" Tags="|sim|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14908" PostTypeId="1" CreationDate="2018-11-13T16:05:16.940" Score="4" ViewCount="283" Body="&lt;p&gt;I'm currently working on a Sitecore upgrade for my company but have found that the device detection is causing huge slow down. Disabling the device detection speeds things right along but while watching the traffic when it is in use it appears to get &lt;code&gt;404&lt;/code&gt; errors making it's initial request to the services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UejGP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UejGP.png&quot; alt=&quot;Sitecore Device Detection Screenshot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought it would be from maybe a proxy issue but even trying on a device that is off the network I'm not able to get a response. I can however ping these URLs are get an IP address. No packages make it but it appears to be a valid address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5q9b4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5q9b4.png&quot; alt=&quot;Sitecore Device Detection Ping&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any assistance to what may be going on here would be fantastic! I'll be opening a ticket shortly with Sitecore to see if they can't help resolve and will post back if I find anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you for your time.&lt;/p&gt;&#xA;" OwnerUserId="4368" LastEditorUserId="312" LastEditDate="2018-11-18T17:24:04.907" LastActivityDate="2018-11-18T17:24:04.907" Title="How to solve Device Detection 404 Not Found error in Sitecore 9.0.2?" Tags="|upgrade|device-detection|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14910" PostTypeId="2" ParentId="14908" CreationDate="2018-11-13T17:35:40.350" Score="2" Body="&lt;p&gt;Setting up a proxy from my web.config solved the issue. Traffic sent through the proxy got access to the database service and the device cache was formed. Was able to see devices in Sitecore analytics afterwards.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.net&amp;gt;&#xA;&amp;lt;defaultProxy&amp;gt;&#xA;  &amp;lt;proxy&#xA;    usesystemdefault=&quot;true&quot;&#xA;    proxyaddress=&quot;http://YOURPROXYHERE&quot;&#xA;    bypassonlocal=&quot;true&quot;&#xA;  /&amp;gt;&#xA;  &amp;lt;bypasslist&amp;gt;&#xA;    &amp;lt;add address=&quot;[a-z]+\.YOURLOCALDOMAINHERE\.com$&quot; /&amp;gt;&#xA;  &amp;lt;/bypasslist&amp;gt;&#xA;&amp;lt;/defaultProxy&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sorry for the self answer but should help anyone who's running behind a proxy.&lt;/p&gt;&#xA;" OwnerUserId="4368" LastActivityDate="2018-11-13T17:35:40.350" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14911" PostTypeId="1" AcceptedAnswerId="19879" CreationDate="2018-11-13T17:51:32.140" Score="1" ViewCount="289" Body="&lt;p&gt;I'm investigating an issue where we are seeing SocketExceptions and socket handle leaks. Using Sitecore 8.2 rev 107614, in Azure using Azure Search as the search provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Drilling down to one of the exceptions, I see the message&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;An unhandled exception occurred. Error while rendering view:&#xA;  '/Views/Layouts/Layout.cshtml' (model:&#xA;  'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').  An&#xA;  unhandled exception occurred. An unhandled exception occurred. An&#xA;  error occurred while sending the request. Unable to connect to the&#xA;  remote server An attempt was made to access a socket in a way&#xA;  forbidden by its access permissions&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The exception type is &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.Net.Sockets.SocketException    &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and the Failed method is&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.ContentSearch.Azure.Http.RetryDelegatingHandler+&amp;lt;&gt;c__DisplayClass2_0.b__0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So I'm wondering if this is related to how the search service client is configured as I see there are some re-tryer configuration settings (left at default, I believe)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;searchServiceClient type=&quot;Sitecore.ContentSearch.Azure.Http.SearchServiceClient, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;  &amp;lt;param ref=&quot;contentSearch/httpClientFactory&quot; desc=&quot;clientFactory&quot;/&amp;gt;&#xA;  &amp;lt;param type=&quot;Sitecore.ContentSearch.Azure.Http.CloudSearchRetryPolicy, Sitecore.ContentSearch.Azure&quot; desc=&quot;retryPolicy&quot;&amp;gt;&#xA;    &amp;lt;DetectionStrategy type=&quot;Sitecore.ContentSearch.Azure.Http.CloudSearchTransientDetectionStrategy, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;    &amp;lt;RetryStrategy type=&quot;Sitecore.ContentSearch.Azure.Http.CloudSearchExponentialRetryStrategy, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;      &amp;lt;Exponent&amp;gt;1.5&amp;lt;/Exponent&amp;gt;&#xA;      &amp;lt;MaxRetryCount&amp;gt;10&amp;lt;/MaxRetryCount&amp;gt;&#xA;      &amp;lt;MinDelayInterval&amp;gt;00:00:00.5&amp;lt;/MinDelayInterval&amp;gt;&#xA;      &amp;lt;MaxDelayInterval&amp;gt;00:00:10&amp;lt;/MaxDelayInterval&amp;gt;&#xA;    &amp;lt;/RetryStrategy&amp;gt;&#xA;  &amp;lt;/param&amp;gt;&#xA;  &amp;lt;managementOperationsTimeout&amp;gt;00:01:00&amp;lt;/managementOperationsTimeout&amp;gt;&#xA;&amp;lt;/searchServiceClient&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question(s)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When does the &quot;re-tryer&quot; come into play, could be it during unavailability of the search service?&#xA;Is there any documentation about the re-tryer, or does someone know how I might modify these settings to avoid the SocketException issue I am seeing? (I can guess what &lt;code&gt;MaxReTryCount&lt;/code&gt;, &lt;code&gt;MinDelayInterval&lt;/code&gt; and &lt;code&gt;MaxDelayInterval&lt;/code&gt; do, but not sure what the &lt;code&gt;Exponent&lt;/code&gt; property is for?). &lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2018-11-13T18:00:31.960" LastActivityDate="2019-07-14T02:22:33.423" Title="Could SocketException be caused by CloudSearchRetryPolicy?" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14913" PostTypeId="2" ParentId="14796" CreationDate="2018-11-13T18:54:27.303" Score="4" Body="&lt;p&gt;Sitecore has a &lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.51661/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;hotfix for this issue&lt;/a&gt; (reference number 51661).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fixing the issue involves adding the Sitecore Support DLL (&lt;code&gt;Sitecore.Support.51661.dll&lt;/code&gt;) and making a modification to the SPEAK presentation details of the &lt;code&gt;SelectDateTime&lt;/code&gt; dialog in the Experience Editor to use the new type from the DLL.&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-03-07T21:44:30.340" LastActivityDate="2019-03-07T21:44:30.340" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14914" PostTypeId="1" AcceptedAnswerId="14915" CreationDate="2018-11-13T20:35:30.880" Score="5" ViewCount="932" Body="&lt;p&gt;We have a JSS app as our site root (e.g., &lt;code&gt;mydomain.com/&lt;/code&gt; renders my JSS app) and want a Sitecore Experience Accelerator (SXA) website as a sub-route of the same domain (e.g., &lt;code&gt;mydomain.com/sxa-site&lt;/code&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/manage_multiple_sites_with_the_sxa_site_manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;SXA Site Manager&lt;/a&gt;, I see this warning &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To resolve site conflicts, reorder the site list or change the site definition.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And another warning more specific to my SXA site:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;*/sxa-site  hidden by */ from my-jss-app on * environment&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;my-jss-site&lt;/code&gt; is listed above the SXA site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The issue is that I'm unable to reorder the SXA site to go before the JSS app. Is there some config change that needs to be made on the server to include my SXA sites before &lt;code&gt;my-jss-app&lt;/code&gt;?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;(This question was originally posted in &lt;a href=&quot;https://www.akshaysura.com/2015/10/27/how-to-join-sitecore-slack-community-chat/&quot; rel=&quot;nofollow noreferrer&quot;&gt;the Sitecore Slack Community&lt;/a&gt; #jss channel. I wanted to repost here in hopes that it help others)&lt;/em&gt; &lt;/p&gt;&#xA;" OwnerUserId="3298" LastEditorUserId="70" LastEditDate="2018-11-13T20:50:03.953" LastActivityDate="2018-11-13T20:50:03.953" Title="Sitecore Experience Accelerator (SXA) site won't render as a sub route where JSS app is the root app" Tags="|sxa|jss|site-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14915" PostTypeId="2" ParentId="14914" CreationDate="2018-11-13T20:35:30.880" Score="5" Body="&lt;p&gt;In a nutshell, the JSS app's config patch (usually deployed to &lt;code&gt;\App_Config\Include\zzz\my-jss-app.config&lt;/code&gt;) is resolved before SXA sites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the SXA module is installed in Sitecore, you get a bunch of new configs. Of particular interest for this issue is this patch file that says where to place the SXA sites: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--\App_Config\Include\Z.Foundation.Overrides\Sitecore.XA.SitesToResolveAfterSxa.config --&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;experienceAccelerator&amp;gt;&#xA;            &amp;lt;siteResolving&amp;gt;&#xA;                &amp;lt;site name=&quot;exm&quot; resolve=&quot;after&quot; /&amp;gt;&#xA;                &amp;lt;site name=&quot;website&quot; resolve=&quot;after&quot; /&amp;gt;&#xA;            &amp;lt;/siteResolving&amp;gt;&#xA;        &amp;lt;/experienceAccelerator&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This patch file is saying to place the SXA sites before the default &lt;code&gt;website&lt;/code&gt; &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt;. If you check out &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; on your website, you'll see that SXA sites are not rendered in the final config under the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; section. So at the point of resolving the SXA sites, your JSS app config has already been resolved and the SXA sites are going to be put behind it, between the JSS app and the default &lt;code&gt;website&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to fix this I needed to create a new patch file adding my JSS site to this of &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt;s to ensure the SXA sites are placed before it (your JSS root site): &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--\App_Config\Include\zzz\my-jss-app_sxa-patch.config --&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;experienceAccelerator&amp;gt;&#xA;            &amp;lt;siteResolving&amp;gt;&#xA;                &amp;lt;site name=&quot;my-jss-app&quot; resolve=&quot;after&quot; patch:after=&quot;site[@name='website']&quot; /&amp;gt;&#xA;            &amp;lt;/siteResolving&amp;gt;&#xA;        &amp;lt;/experienceAccelerator&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By doing this, in the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_accelerator/setting_up_and_configuring/setting_up/manage_multiple_sites_with_the_sxa_site_manager&quot; rel=&quot;noreferrer&quot;&gt;SXA Site Manager&lt;/a&gt;, you'll see your SXA sites are now listed before your root JSS site.&lt;/p&gt;&#xA;" OwnerUserId="3298" LastActivityDate="2018-11-13T20:35:30.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14917" PostTypeId="1" CreationDate="2018-11-14T02:57:23.377" Score="2" ViewCount="48" Body="&lt;p&gt;I have installed Sitecore 8.2.7 couple of times. But recently I figured out that I might have missed the step in the following section, &quot;Windows Authentication for Sitecore&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure what the &quot;domain user&quot; mean in this context.&#xA;Is that something we need to create for a Sitecore instance or we can just pick up one of the existing domain user?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not even sure if I should choose ApplicationPoolIdentity for Identifier section in Advanced Settings in IIS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/49IyV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/49IyV.png&quot; alt=&quot;Picture for domain user&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4091" LastActivityDate="2018-11-14T05:15:30.317" Title="What does this &quot;Domain User&quot; mean in Sitecore 8.2.7 Installation Guide?" Tags="|configuration|iis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14919" PostTypeId="2" ParentId="14917" CreationDate="2018-11-14T04:33:11.690" Score="1" Body="&lt;p&gt;Local System Account is a very privileged account and you should avoid using a Local System account for SQL Server services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Domain User Account is the Active Directory account created under your company domain. By using the windows domain account is easier to manage and much secure. Windows integrated security model for SQL server is a recommended way for SQL server security&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can't create a domain account in your local machine(if you are not a domain administrator), as only the AD administrator can create the windows domain account. But you can create your SQL logins from the Windows domain account when they are already in the AD.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-11-14T05:15:30.317" LastActivityDate="2018-11-14T05:15:30.317" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14920" PostTypeId="2" ParentId="14904" CreationDate="2018-11-14T05:33:54.390" Score="1" Body="&lt;ol&gt;&#xA;&lt;li&gt;Extract &lt;code&gt;Sitecore.Web.dacpac&lt;/code&gt; and &lt;code&gt;CreateUser.Web.sql&lt;/code&gt; files from &lt;code&gt;Sitecore 9.0.2 rev. 180604 (Cloud)_cd.scwdp.zip&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Deploy the dacpac to your SQL Azure server &lt;a href=&quot;https://docs.microsoft.com/en-us/sql/relational-databases/data-tier-applications/deploy-a-data-tier-application?view=sql-server-2017#deploy-a-dac-using-the-wizard&quot; rel=&quot;nofollow noreferrer&quot;&gt;using SSMS&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open the &lt;code&gt;CreateUser.Web.sql&lt;/code&gt; , change the password to something unique and secure, and then run the script on your newly deployed database&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/10322/1278&quot;&gt;Follow the rest of the standard setup&lt;/a&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2018-11-14T05:33:54.390" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14921" PostTypeId="1" AcceptedAnswerId="14922" CreationDate="2018-11-14T07:32:14.087" Score="3" ViewCount="2373" Body="&lt;p&gt;I have multi-lingual website, which has both English and Arabic languages. In the &lt;code&gt;LinkManager&lt;/code&gt; configuration &lt;code&gt;languageEmbedding&lt;/code&gt; is set to always, you can see the full configuration below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As it is set to always, in menu (or wherever links are generated from the code),  links are embed with language. When user manually types the URL in browser, language code would not be present, it still resolves properly (by reading the language from cookie). But we also need to change the URL by embedding the language code. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;            &amp;lt;clear /&amp;gt;&#xA;            &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot;&#xA;                 addAspxExtension=&quot;false&quot; &#xA;                 alwaysIncludeServerUrl=&quot;false&quot; &#xA;                 encodeNames=&quot;true&quot; &#xA;                 languageEmbedding=&quot;always&quot; &#xA;                 languageLocation=&quot;filePath&quot; &#xA;                 lowercaseUrls=&quot;true&quot; &#xA;                 shortenUrls=&quot;false&quot; &#xA;                 useDisplayName=&quot;false&quot; &#xA;                 applyForSites=&quot;&quot; &#xA;                 ignoreForSites=&quot;shell,login,admin&quot; &#xA;                 forceFriendlyUrl=&quot;true&quot; &#xA;                 trailingSlash=&quot;false&quot;&#xA;                 onlyApplyForSiteContent=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can we achieve it by any processor or any redirect rules?&lt;/p&gt;&#xA;" OwnerUserId="1003" LastEditorUserId="312" LastEditDate="2018-11-18T17:26:42.397" LastActivityDate="2018-11-19T16:48:07.067" Title="Always embed language to the URL - even if URL is typed manually in browser" Tags="|multilingual|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14922" PostTypeId="2" ParentId="14921" CreationDate="2018-11-14T07:50:07.353" Score="7" Body="&lt;p&gt;You can add your own processor to the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline after the &lt;code&gt;ItemResolver&lt;/code&gt; processor. Your processor should generate &lt;code&gt;Sitecore.Content.Item&lt;/code&gt; URL and compare it with &lt;code&gt;HttpContext.Current.Request.RawUrl&lt;/code&gt;. If new url contains language and &lt;code&gt;RawUrl&lt;/code&gt; does not contain, just redirect user to the newly generated url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like this should do the trick (I haven't tested it):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class EnsureLanguage : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (Context.PageMode.IsNormal &amp;amp;&amp;amp; Context.Item != null)&#xA;        {&#xA;            var correctUrl = LinkManager.GetItemUrl(Context.Item);&#xA;&#xA;            if (!HttpContext.Current.Request.RawUrl.StartsWith(correctUrl))&#xA;            {&#xA;                // additionally add query string parameters&#xA;                HttpContext.Current.Response.Redirect(correctUrl);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-11-14T09:10:37.320" LastActivityDate="2018-11-14T09:10:37.320" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14924" PostTypeId="1" AcceptedAnswerId="14925" CreationDate="2018-11-14T09:39:23.423" Score="11" ViewCount="952" Body="&lt;p&gt;Do current MVPs need recommendations from Sitecore MVPs or Sitecore Employees?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How this process works for current MVPs?&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="312" LastEditDate="2019-10-04T12:41:50.987" LastActivityDate="2019-10-04T12:41:50.987" Title="Do current MVPs need recommendations?" Tags="|mvp|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14925" PostTypeId="2" ParentId="14924" CreationDate="2018-11-14T09:49:59.570" Score="4" Body="&lt;p&gt;As far I know current MVPs doesn't need recommendation this year. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Existing MVPs will receive an email automatically inviting them to create an acount, they do not need to be nominated by another MVP or Sitecore employee.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They need just to login on &lt;a href=&quot;https://mvp.sitecore.com/application&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mvp.sitecore.com/application&lt;/a&gt; and they need to apply for Sitecore MVP 2019. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-11-14T09:49:59.570" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14926" PostTypeId="2" ParentId="14879" CreationDate="2018-11-14T09:53:22.030" Score="0" Body="&lt;p&gt;Make sure that The &lt;code&gt;Set Page Title&lt;/code&gt; rendering is added at the &lt;code&gt;Shared Layout&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it is added to the &lt;code&gt;Final Layout&lt;/code&gt;, it will not work.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2018-11-14T09:53:22.030" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14927" PostTypeId="2" ParentId="14924" CreationDate="2018-11-14T09:59:26.857" Score="3" Body="&lt;p&gt;From what I know, at least 1 recommendation is needed for those who are not 2018 MVPs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For 2018 MVPs recommendations can help if there are some doubts about the candidate, but they are not required.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-11-14T09:59:26.857" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14928" PostTypeId="1" CreationDate="2018-11-14T11:33:17.137" Score="1" ViewCount="524" Body="&lt;p&gt;I am trying to redirect &lt;a href=&quot;https://www.mydomain.com/en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.mydomain.com/en&lt;/a&gt; to my default site i.e. &lt;a href=&quot;https://www.mydomain.com/en-US&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.mydomain.com/en-US&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried with Sitecore module, it is working if i select any language other than en like en-In, en-AU but not with en.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying with IIS redirection module with below rule&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;rule name=&quot;English Redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;^/en?$&quot; /&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;http://www.mydomain.com/en-US&quot; appendQueryString=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is there anything wrong in the rule? or any limitation from sitecore that we can not redirect protected language?&lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="73" LastEditDate="2018-11-14T11:46:18.633" LastActivityDate="2018-11-15T10:27:35.810" Title="How to redirect default English content Item to Default website in Sitecore?" Tags="|redirect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14929" PostTypeId="2" ParentId="14928" CreationDate="2018-11-14T11:57:17.570" Score="1" Body="&lt;p&gt;Try the following rule:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Default Language&quot; patternSyntax=&quot;ExactMatch&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;en&quot; /&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;/en-us&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You don't need wildcard or regexes for matching exact url - just use &lt;code&gt;ExactMatch&lt;/code&gt; pattern syntax - it will be microseconds faster, but remember that it's compared for every request. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, what is passed to the rule url condition, never starts with '/' character, so if your url is &lt;code&gt;http://www.mydomain.com/en&lt;/code&gt;, only 'en` will be compared with url condition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried it on my local Sitecore instance and it worked.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-11-15T10:27:35.810" LastActivityDate="2018-11-15T10:27:35.810" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14931" PostTypeId="2" ParentId="13453" CreationDate="2018-11-14T13:09:29.853" Score="1" Body="&lt;p&gt;Index isn't a property of the rendering definition object returned by &lt;code&gt;Get-Rendering&lt;/code&gt; , even though you can use &lt;code&gt;-Index&lt;/code&gt; as a parameter in &lt;code&gt;Add-Rendering&lt;/code&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(Get-Rendering -Item $item -FinalLayout -Device $defaultDevice)[0] | Get-Member &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;lists these:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TypeName: Sitecore.Layouts.RenderingDefinition&#xA;&#xA;Name                MemberType     Definition&#xA;----                ----------     ----------&#xA;Equals              Method         bool Equals(System.Object obj)&#xA;GetHashCode         Method         int GetHashCode()&#xA;GetType             Method         type GetType()&#xA;LoadXml             Method         Sitecore.Xml.Serialization.XmlSerializable LoadXml(string xml), Sitecore.Xml.Serialization.XmlSerializable LoadXml(string xml, string xsltFilename)&#xA;SaveAsXml           Method         void SaveAsXml(string filename)&#xA;ToString            Method         string ToString()&#xA;ToXml               Method         string ToXml(), string ToXml(string xsltFilename)&#xA;Cachable            Property       string Cachable {get;set;}&#xA;ClearOnIndexUpdate  Property       string ClearOnIndexUpdate {get;set;}&#xA;Conditions          Property       string Conditions {get;set;}&#xA;Datasource          Property       string Datasource {get;set;}&#xA;DynamicProperties   Property       System.Xml.XmlAttribute[] DynamicProperties {get;set;}&#xA;ItemID              Property       string ItemID {get;set;}&#xA;MultiVariateTest    Property       string MultiVariateTest {get;set;}&#xA;Parameters          Property       string Parameters {get;set;}&#xA;PersonalizationTest Property       string PersonalizationTest {get;set;}&#xA;Placeholder         Property       string Placeholder {get;set;}&#xA;Rules               Property       System.Xml.Linq.XElement Rules {get;set;}&#xA;UniqueId            Property       string UniqueId {get;set;}&#xA;VaryByData          Property       string VaryByData {get;set;}&#xA;VaryByDevice        Property       string VaryByDevice {get;set;}&#xA;VaryByLogin         Property       string VaryByLogin {get;set;}&#xA;VaryByParameters    Property       string VaryByParameters {get;set;}&#xA;VaryByQueryString   Property       string VaryByQueryString {get;set;}&#xA;VaryByUser          Property       string VaryByUser {get;set;}&#xA;OwnerItemId         ScriptProperty System.Object OwnerItemId {get='{{20C2E00A-D359-420A-8E05-919CEE9EC686}}';}&#xA;OwnerItemPath       ScriptProperty System.Object OwnerItemPath {get=&quot;master:\content\Path\To\Your\Owner\Item&quot;;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you will need to run through the renderings returned with Get-Rendering and count them, until you reach the rendering before where you want to insert.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Incidentally, reading the renderings into an array in your script is unecessary:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$finalRenderings = @(Get-Rendering -Item $item -FinalLayout -Device $defaultDevice)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Powershell always returns a single object or a collection. You can replace this with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$finalRenderings = Get-Rendering -Item $item -FinalLayout -Device $defaultDevice&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also pipe that directly into a &lt;code&gt;ForEach-Object&lt;/code&gt; and use the current object shorthand &lt;code&gt;$_&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$finalRenderings | ForEach-Object {&#xA;Write-Host &quot;Rendering UniqueId: &quot; $_.UniqueId&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So if you know the ItemID of the rendering you want to insert after:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$i=0&#xA;$matchID = &quot;ID To Match&quot;&#xA;$finalRenderings | ForEach-Object {&#xA;    $i++&#xA;    if($_.ItemID -eq $matchID) {&#xA;        $MyIndex = i&#xA;        Break&#xA;    }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="345" LastEditorUserId="345" LastEditDate="2018-11-14T14:40:40.120" LastActivityDate="2018-11-14T14:40:40.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14932" PostTypeId="1" CreationDate="2018-11-14T13:33:55.093" Score="1" ViewCount="202" Body="&lt;p&gt;In a clients setup we have one CD server and one CM server. When submitting a WFFM form on CD website, these errors occur in the CM log files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #16 14:23:22 WARN  [WFFM] Tracker.Current  is not initialized &#xA;ManagedPoolThread #16 14:23:22 INFO  AUDIT (sitecore\Anonymous): [WFFM] Form {59696292-85EB-473C-AACE-2105DEC99AB3} is saving to db&#xA;ManagedPoolThread #16 14:23:22 WARN  [WFFM] Tracker.Current.Contact  is not initialized&#xA;ManagedPoolThread #16 14:23:22 WARN  [WFFM]  Tracker.Current.Interaction  is not initialized&#xA;ManagedPoolThread #16 14:23:22 WARN  [WFFM] CurrentSession  is not initialized&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this something to worry about? How might one solve this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was marked as an duplicate, but the linked question/answer does not resolve my issue.&#xA;But i can see why you would think that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This blog post &lt;a href=&quot;https://sitecorehacker.com/2017/02/12/sitecore-analytics-tracker-common-issues-and-how-to-resolve-them/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/2017/02/12/sitecore-analytics-tracker-common-issues-and-how-to-resolve-them/&lt;/a&gt; does have some good information, but it does not explain why the messages above occur in relation to WFFM.&lt;/p&gt;&#xA;" OwnerUserId="4603" LastEditorUserId="4603" LastEditDate="2018-11-14T15:09:47.497" LastActivityDate="2018-11-14T15:09:47.497" Title="Tracker.Current is not initialized" Tags="|xdb|wffm|" AnswerCount="0" CommentCount="1" ClosedDate="2018-11-14T13:41:52.940" ContentLicense="CC BY-SA 4.0" />
  <row Id="14933" PostTypeId="2" ParentId="14928" CreationDate="2018-11-14T15:26:07.323" Score="0" Body="&lt;p&gt;You need to omit the beginning / in your &lt;code&gt;match&lt;/code&gt;, which is why Marek Musielak's answer works for him. He also changed the &lt;code&gt;patternSyntax&lt;/code&gt; to &lt;code&gt;ExactMatch&lt;/code&gt;, which would be equivalent to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;English Redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;^en$&quot; /&amp;gt;&#xA;  &amp;lt;action type=&quot;Redirect&quot; url=&quot;http://www.mydomain.com/en-US&quot; appendQueryString=&quot;false&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2018-11-14T15:26:07.323" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14934" PostTypeId="2" ParentId="14905" CreationDate="2018-11-14T16:41:47.037" Score="1" Body="&lt;p&gt;You can disable the path length limit so that your paths can be longer than 260 characters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In regedit, go to HKLM\SYSTEM\CurrentControlSet\Control\FileSystem and set LongPathsEnabled to 1. &lt;/p&gt;&#xA;" OwnerUserId="213" LastActivityDate="2018-11-14T16:41:47.037" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14935" PostTypeId="2" ParentId="14890" CreationDate="2018-11-14T16:49:35.070" Score="1" Body="&lt;p&gt;An option could be to use a custom implementation in the source field. You can do your own class that implements &lt;code&gt;IDataSource&lt;/code&gt;. It'll essentially just contain a &lt;code&gt;Item[] ListQuery(Item item);&lt;/code&gt; implementation that will return a list of selectable items of your choice. Then you just reference that class in the Source field in the format &lt;code&gt;code:your.namespace.yourclass, your.assembly&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="213" LastActivityDate="2018-11-14T16:49:35.070" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14936" PostTypeId="2" ParentId="12863" CreationDate="2018-11-14T17:24:24.440" Score="1" Body="&lt;p&gt;Do you have the &lt;code&gt;*_dtm&lt;/code&gt; dynamic field type correctly configured in your Solr managed scema? This field type is missing in the configuration for a clean Sitecore 9/Solr setup. The Sitecore &lt;code&gt;SchemaPopulateHelper&lt;/code&gt; class creates those mappings, but there are some erros in it, where one of them is the missing &lt;code&gt;*_dtm&lt;/code&gt; mapping. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details about this here: &lt;a href=&quot;https://mikael.com/2018/01/working-with-content-search-and-solr-in-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mikael.com/2018/01/working-with-content-search-and-solr-in-sitecore-9/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="213" LastActivityDate="2018-11-14T17:24:24.440" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14937" PostTypeId="1" AcceptedAnswerId="14960" CreationDate="2018-11-14T20:27:05.217" Score="-1" ViewCount="217" Body="&lt;p&gt;We have sitecore 9 forms with basic single-line texts, multi-line texts, dropdown list, radio button list etc. The form works fine in CM. But when we publish all and try to view the form page in Content Delivery, single-line texts, multi-line texts do not show up, whereas dropdown lists, radio button lists display properly.&#xA;Any idea what could be the reason?&lt;/p&gt;&#xA;" OwnerUserId="4606" LastEditorUserId="73" LastEditDate="2018-11-15T08:30:45.170" LastActivityDate="2018-11-15T14:55:00.520" Title="Not all form elements are getting published" Tags="|publishing|sitecore-forms|mvc-forms|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="14938" PostTypeId="2" ParentId="13159" CreationDate="2018-11-14T20:37:02.690" Score="0" Body="&lt;p&gt;In my case, CSFRuntimeUser didnot have access to SQL. I added CSFRuntimeUser to SQL server (using Management studio).Also gave server Roles as sysadmin,serveradmin,public for CSFRuntimeUser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fIHHN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fIHHN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1263" LastActivityDate="2018-11-14T20:37:02.690" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14939" PostTypeId="1" AcceptedAnswerId="14940" CreationDate="2018-11-14T20:45:09.423" Score="9" ViewCount="637" Body="&lt;p&gt;What is alternative of &lt;code&gt;.PageMode.IsExperienceEditor&lt;/code&gt; property of &lt;code&gt;Sitecore.Context&lt;/code&gt; in JSS-react to verify the ExperienceEditor context ?&lt;/p&gt;&#xA;" OwnerUserId="4337" LastEditorUserId="70" LastEditDate="2018-11-15T16:49:48.213" LastActivityDate="2018-11-15T16:49:48.213" Title="What is alternative of &quot;.PageMode.IsExperienceEditor&quot; property in JSS-react?" Tags="|sitecore-api|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14940" PostTypeId="2" ParentId="14939" CreationDate="2018-11-14T21:08:00.250" Score="10" Body="&lt;p&gt;That would be &lt;code&gt;isExperienceEditorActive&lt;/code&gt; defined in &lt;code&gt;@sitecore-jss/sitecore-jss&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Usage:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { isExperienceEditorActive } from &quot;@sitecore-jss/sitecore-jss&quot;;&#xA;&#xA;if (isExperienceEditorActive()) {&#xA;  // Do something special in the Experience Editor&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This file also contains other very useful functions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Credits to Corey Smith and Kam Figy who told me about this.&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2018-11-14T21:08:00.250" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14941" PostTypeId="2" ParentId="14939" CreationDate="2018-11-14T21:21:12.713" Score="11" Body="&lt;p&gt;In addition to the built-in helper method, the &lt;code&gt;pageState&lt;/code&gt; (&lt;code&gt;normal&lt;/code&gt;, &lt;code&gt;preview&lt;/code&gt;, &lt;code&gt;editing&lt;/code&gt;) and &lt;code&gt;pageEditing&lt;/code&gt; (boolean) properties are also available in the layout service context, which there are &lt;a href=&quot;https://github.com/Sitecore/jss/blob/0292a05077c4ef21b668eb9c30412f57620c3779/samples/react/src/components/Styleguide-SitecoreContext/index.js#L18&quot; rel=&quot;noreferrer&quot;&gt;samples of&lt;/a&gt; in each JSS sample app:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vrnjT.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vrnjT.png&quot; alt=&quot;screenshot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-11-14T21:21:12.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14942" PostTypeId="2" ParentId="14704" CreationDate="2018-11-14T22:28:14.797" Score="0" Body="&lt;p&gt;Sitecore Support responded that their current StackExchange library does not support 4.0.10 version. After downgrading the Redis engine to 3.2.6, we were able to configure Redis session.&lt;/p&gt;&#xA;" OwnerUserId="354" LastActivityDate="2018-11-14T22:28:14.797" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14943" PostTypeId="1" AcceptedAnswerId="14956" CreationDate="2018-11-14T23:38:02.883" Score="1" ViewCount="1353" Body="&lt;p&gt;While implementing a custom login form, I need to show why login failed on submit action, for e.g. message like &lt;code&gt;&quot;no such user&quot;&lt;/code&gt;, &lt;code&gt;&quot;invalid credentials&quot;&lt;/code&gt; etc. in Sitecore 9 Forms there is a field to provide general error message for all errors, but I want to provide custom messages. Is it possible?&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="312" LastEditDate="2018-11-18T16:59:58.917" LastActivityDate="2018-11-18T16:59:58.917" Title="How to customize a error message in Sitecore Forms submit?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14944" PostTypeId="1" AcceptedAnswerId="14945" CreationDate="2018-11-14T23:40:19.370" Score="3" ViewCount="739" Body="&lt;p&gt;I am trying to create a new Sitecore 9.0.1 XP cache and add an item to it. I can create the cache just fine. When I call the Add method it executes just fine but nothing is added to the cache. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a local variable call viewCache&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;private readonly ICache&amp;lt;string&amp;gt; viewCache;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to do both of this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   this.viewCache = Sitecore.Caching.CacheManager.GetNamedInstance&amp;lt;string&amp;gt;(&#xA;       &quot;viewCache&quot;,&#xA;       10,&#xA;       true);&#xA;&#xA;    // Also tried this instead of the above line. NOT both at the same time&#xA;   this.viewCache = new Cache(&quot;viewCache&quot;, 10);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Both execute just fine and create a cache object. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Later on I make this call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;this.viewCache.Add(cacheKey, returnViewpath);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Again it executes just fine. However, when I look at the cache the count is always 0 and I can't get the value out of the cache as it says it is null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IsGU9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IsGU9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3681" LastEditorUserId="3681" LastEditDate="2018-11-15T01:37:54.360" LastActivityDate="2018-11-15T01:42:13.503" Title="Cannot add item to Sitecore cache" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14945" PostTypeId="2" ParentId="14944" CreationDate="2018-11-15T01:02:31.060" Score="6" Body="&lt;p&gt;I think you just need &lt;code&gt;ICache&lt;/code&gt; not &lt;code&gt;ICache&amp;lt;string&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, Make sure your memory size is right. You want to use the string sizer, not an int. So, like &lt;code&gt;StringUtil.ParseSizeString(&quot;10MB&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example of some heavily redacted code. Idea here is this shows you how I setup a Cache Service that could be exposed by dependency injection:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SampleCacheService : ISampleCacheService&#xA;{&#xA;    private readonly SampleCacheSettings _cacheSettings;&#xA;    private readonly ICache _SampleCache;&#xA;&#xA;    public SampleCacheService(SampleCacheSettings cacheSettings)&#xA;    {&#xA;        _cacheSettings = cacheSettings;&#xA;        _SampleCache = CacheManager.GetNamedInstance(_cacheSettings.Name, StringUtil.ParseSizeString(_cacheSettings.MaxSize), true);&#xA;    }&#xA;&#xA;    public SampleCacheSettings Settings =&amp;gt; _cacheSettings;&#xA;&#xA;    public void Clear()&#xA;    {&#xA;        _SampleCache.Clear();&#xA;    }&#xA;&#xA;    public void Refresh()&#xA;    {&#xA;        try&#xA;        {&#xA;            Refresh(_cacheSettings.SettingsItem().PhysicianRoot.Target.Path);&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error($&quot;[Sample Cache Error] Message: {ex.Message}&quot;, this);&#xA;            Log.Error($&quot;[Sample Cache Error] Stack: {ex.StackTrace}&quot;, this);&#xA;        }&#xA;    }&#xA;&#xA;    public void Refresh(string contentPath)&#xA;    {&#xA;        Refresh(null, contentPath);&#xA;    }&#xA;&#xA;    public void Refresh(Item[] itemArray, string contentPath = &quot;&quot;)&#xA;    {&#xA;        //Fetch API&#xA;        var Sample = _someApiService.GetAsync(npiList);&#xA;&#xA;        if (Sample == null) return;&#xA;&#xA;        //Iterate List Add To Cache&#xA;        foreach (var sample in Sample.data.entities)&#xA;        {&#xA;            if (Contains(sample.id))&#xA;                _SampleCache.Remove(sample.id);&#xA;&#xA;            Add(sample.id, sample);&#xA;        }&#xA;    }&#xA;&#xA;    public bool Contains(string key)&#xA;    {&#xA;        return _SampleCache.ContainsKey(key);&#xA;    }&#xA;&#xA;    public Entity Get(string key)&#xA;    {&#xA;        if (!Contains(key))&#xA;            Add(key);&#xA;&#xA;        return (Entity)_SampleCache.GetValue(key);&#xA;    }&#xA;&#xA;&#xA;&#xA;    private void Add(string key)&#xA;    {&#xA;        var Sample = _someApiService.GetAsync(new List&amp;lt;string&amp;gt;(){key});&#xA;&#xA;        if (Sample?.data?.entities == null || !Sample.data.entities.Any()) return;&#xA;&#xA;        if (Contains(key))&#xA;            _SampleCache.Remove(key);&#xA;&#xA;        _SampleCache.Add(key, Sample.data.entities.FirstOrDefault());&#xA;&#xA;    }&#xA;    private void Add(string key, Entity rating)&#xA;    {&#xA;        _SampleCache.Add(key, rating);&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-11-15T01:42:13.503" LastActivityDate="2018-11-15T01:42:13.503" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14946" PostTypeId="1" AcceptedAnswerId="14948" CreationDate="2018-11-15T07:14:57.083" Score="5" ViewCount="371" Body="&lt;p&gt;I'm using Sitecore 9 update 1 with SXA 1.7, I configured the auto suggester in the Solr, the &lt;code&gt;suggest.count&lt;/code&gt; is 30 and the maximum predictive results count for the SXA search box is 30 also, but the returning results is always 5 although there is more data indexed in the Solr, I tried many things like changing numbers or removing it but still the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my configuration for the auto suggester :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;searchComponent name=&quot;suggest&quot; class=&quot;solr.SuggestComponent&quot;&amp;gt;&#xA;                    &amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;                      &amp;lt;str name=&quot;name&quot;&amp;gt;sxaSuggester&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;lookupImpl&quot;&amp;gt;BlendedInfixLookupFactory&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;dictionaryImpl&quot;&amp;gt;DocumentDictionaryFactory&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;contextField&quot;&amp;gt;_language&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;field&quot;&amp;gt;suggestion_s&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;text_suggester&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;payloadField&quot;&amp;gt;templatedisplayname_s&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;buildOnStartup&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;buildOnCommit&quot;&amp;gt;false&amp;lt;/str&amp;gt;&#xA;                    &amp;lt;/lst&amp;gt;&#xA;        &amp;lt;/searchComponent&amp;gt;&#xA;        &amp;lt;requestHandler name=&quot;/suggest&quot; class=&quot;solr.SearchHandler&quot; startup=&quot;lazy&quot; &amp;gt;&#xA;                    &amp;lt;lst name=&quot;defaults&quot;&amp;gt;&#xA;                      &amp;lt;str name=&quot;suggest.dictionary&quot;&amp;gt;sxaSuggester&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;suggest&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;suggest.onlyMorePopular&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;suggest.count&quot;&amp;gt;30&amp;lt;/str&amp;gt;&#xA;                      &amp;lt;str name=&quot;suggest.collate&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;                    &amp;lt;/lst&amp;gt;&#xA;                    &amp;lt;arr name=&quot;components&quot;&amp;gt;&#xA;                      &amp;lt;str&amp;gt;suggest&amp;lt;/str&amp;gt;&#xA;                    &amp;lt;/arr&amp;gt;&#xA;        &amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4229" LastEditorUserId="312" LastEditDate="2018-11-18T17:19:47.250" LastActivityDate="2018-11-18T17:19:47.250" Title="Can the Auto suggest results count be changed in SXA?" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14948" PostTypeId="2" ParentId="14946" CreationDate="2018-11-15T08:15:59.533" Score="4" Body="&lt;p&gt;Unfortunately, it's hardcoded to have 5 suggestions. It definitely shouldn't be done that way and I will register a task in our backlog to change it and make it configurable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a workaround, you could override &lt;code&gt;SolrSuggester&lt;/code&gt; or implement your own suggester by creating a class which implements &lt;code&gt;ISuggester&lt;/code&gt; interface. At the end just replace SXA implementation by your one in the DI container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can pass a number of suggestions like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SuggestHandlerQueryOptions options = new SuggestHandlerQueryOptions&#xA;{&#xA;    Parameters = new SuggestParameters&#xA;    {&#xA;        Count = NUMBER_OF_SUGGESTIONS&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Investigate &lt;code&gt;Sitecore.XA.Foundation.VersionSpecific.Services.SolrSuggester&lt;/code&gt; to have a full picture how the implementation should look like.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-11-15T08:55:15.963" LastActivityDate="2018-11-15T08:55:15.963" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="14949" PostTypeId="1" CreationDate="2018-11-15T09:33:55.877" Score="2" ViewCount="2137" Body="&lt;p&gt;I am planning to use ASP.NET async pattern in my Sitecore project, but I'm getting the error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Asynchronous method which returns task as result cannot be executed synchronously&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is there a way to achieve async in Sitecore 8.1?&lt;/p&gt;&#xA;" OwnerUserId="4296" LastEditorUserId="73" LastEditDate="2018-11-15T12:32:00.027" LastActivityDate="2020-08-21T07:40:33.777" Title="Sitecore support for async controller renderings" Tags="|sitecore-api|controller|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14950" PostTypeId="2" ParentId="14949" CreationDate="2018-11-15T09:37:28.020" Score="6" Body="&lt;p&gt;Async controller rendering is not supported . &#xA;Starting with Sitecore 8.2 async Mvc controllers is supported. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As of 8.2 we support async MVC controllers (directly routed). But async is still not supported for Controller Renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Async only really works when it top to bottom across the stack and there are a number of challenges with various Sitecore APIs not being async (pipelines and data APIs being the big ones).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally SitecoreController.Index should be async and ditto should all calls down to db level. We will need to piecemeal this one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorecommunity.uservoice.com/forums/286986-product-sitecore-mvc/suggestions/7321868-async-support&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorecommunity.uservoice.com/forums/286986-product-sitecore-mvc/suggestions/7321868-async-support&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-11-15T09:37:28.020" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14952" PostTypeId="1" CreationDate="2018-11-15T10:34:41.997" Score="2" ViewCount="808" Body="&lt;p&gt;I am new to Sitecore/SXA, and I have recently joined a team as a front-end developer using these technologies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing that I have noticed is that SXA adds extra unnecessary HTML tags in a lot of cases. Like if you have a content that will be rendered as a link, there's a checkbox &lt;code&gt;&quot;Is a link&quot;&lt;/code&gt;, but it still has a Tag that you have to choose to wrap around this link. By default it's a &lt;code&gt;DIV&lt;/code&gt;, but if you leave it empty, it still produces a &lt;code&gt;DIV&lt;/code&gt; with a link inside. That's the case in some other scenarios and it can mess the final HTML, with a lot of noise that adds no value or meaning to the HTML, and it makes it harder to style in a clean way. Also, when an element like an anchor tag contains other elements, these are also wrapped into a &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; (example below). This div is not necessary because the elements are already wrapped by the parent element, so it's redundant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any tips to improve this? Is this going to change with newer versions of SXA?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setup in &lt;code&gt;Sitecore/Content/WWW/Presentation/Rendering Variants/My Component/My Variant&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ioHVD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ioHVD.png&quot; alt=&quot;Setup&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There's an extra div surrounding both sections inside the link:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZwM59.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZwM59.png&quot; alt=&quot;Produced HTML&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4330" LastEditorUserId="312" LastEditDate="2018-11-18T17:14:46.723" LastActivityDate="2019-08-15T20:01:50.163" Title="How to get rid of unnecessary wrappers around SXA tags and rendering variants?" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14954" PostTypeId="2" ParentId="3573" CreationDate="2018-11-15T11:54:59.387" Score="2" Body="&lt;p&gt;Since the release of SPE 4.3 a new concept of Session State Elevation was introduced which uses tokens to elevate your session to have temporary execution rights:&#xA;&lt;a href=&quot;https://sitecorepowershell.com/session-state-elevation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorepowershell.com/session-state-elevation/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Session State Elevation requests show in ISE, Console, and when trying to view and save scripts in Content Editor, as well as when saving scripts in ISE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By Default these for ISE and Console the timeout is set to 5 minutes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The timeouts can be set in the Cognifide.PowerShell.config file: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;powershell&amp;gt;&#xA;      &amp;lt;userAccountControl&amp;gt;&#xA;        &amp;lt;gates&amp;gt;&#xA;          &amp;lt;!--&#xA;            Gates into the system&#xA;            Ways ARBITRARY (not already saved/existing in the system) scripts might make into the system without explicitly providing password during the execution or save.&#xA;            Those gates require that the user session needs to be elevated with a proper token.&#xA;            Tokens are defined in the sestion below. Once Gate is elevated with a token it can do its job until token is dropped or expires.&#xA;            --&amp;gt;&#xA;          &amp;lt;gate name=&quot;Console&quot; token=&quot;Console&quot;/&amp;gt;&#xA;          &amp;lt;gate name=&quot;ISE&quot; token=&quot;ISE&quot;/&amp;gt;&#xA;          &amp;lt;gate name=&quot;ItemSave&quot; token=&quot;ItemSave&quot;/&amp;gt;&#xA;        &amp;lt;/gates&amp;gt;&#xA;        &amp;lt;tokens&amp;gt;&#xA;          &amp;lt;!-- &#xA;            Tokens provide means of elevation of the user session. Token can be used by one or more gates. &#xA;            E.g. You can use the same token for all gates.&#xA;              elevationAction&#xA;                Token elavation actions:&#xA;                  - Block - always block action&#xA;                  - Password - Ask for Password to elevate session&#xA;                  - Allow - Always allow to elevate session without asking&#xA;              expiration&#xA;                TimeSpan serialized for how long session should stay elevated.&#xA;          --&amp;gt;&#xA;          &amp;lt;token name=&quot;Default&quot; expiration=&quot;00:00:00&quot; elevationAction=&quot;Block&quot;/&amp;gt;&#xA;          &amp;lt;token name=&quot;Console&quot; expiration=&quot;00:05:00&quot; elevationAction=&quot;Password&quot;/&amp;gt;&#xA;          &amp;lt;token name=&quot;ISE&quot; expiration=&quot;00:05:00&quot; elevationAction=&quot;Password&quot;/&amp;gt;&#xA;          &amp;lt;token name=&quot;ItemSave&quot; expiration=&quot;00:05:00&quot; elevationAction=&quot;Password&quot;/&amp;gt; &#xA;        &amp;lt;/tokens&amp;gt;&#xA;      &amp;lt;/userAccountControl&amp;gt;&#xA;    &amp;lt;/powershell&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is a useful post I found today on settling the ISE config to &lt;code&gt;elevationAction=&quot;Allow&quot;&lt;/code&gt; for local development:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorebrasil.wordpress.com/2017/04/10/sitecore-powershell-extensions-ever-wonder-how-to-elevate-your-session-without-having-to-provide-your-credentials-here-is-how/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorebrasil.wordpress.com/2017/04/10/sitecore-powershell-extensions-ever-wonder-how-to-elevate-your-session-without-having-to-provide-your-credentials-here-is-how/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2018-11-15T11:54:59.387" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14955" PostTypeId="2" ParentId="14504" CreationDate="2018-11-15T12:30:16.407" Score="2" Body="&lt;p&gt;The cache settings in the site definition override the cache settings in cacheSizes node. Therefore, settings that apply to all sites should be made in the cacheSizes node, and then site-specific settings in the site definition.&lt;/p&gt;&#xA;" OwnerUserId="3802" LastActivityDate="2018-11-15T12:30:16.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14956" PostTypeId="2" ParentId="14943" CreationDate="2018-11-15T13:06:17.227" Score="2" Body="&lt;p&gt;You should start by creating a custom submit action: &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the definition of the submit action you can enter an error message.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you create a submit action that validates the login, you could return false in that action and have your error message displayed. In case of a &lt;strong&gt;login you should never give details about why it failed&lt;/strong&gt;. Ever. Your security officer should go berzerk if you do..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But to answer your question.. and suppose you have another form that you do want to have a message displayed based upon something decided in the code of the submit action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do this.. a submit action is triggered and executed. If the execute method returns false, an error is added to the &lt;code&gt;FormSubmitContext&lt;/code&gt; Error list. This error will get its message from the &lt;code&gt;SubmitActionData.ErrorMessage&lt;/code&gt;. You can change that value in your code..  so in the execute method, change the value of SubmitActionData.ErrorMessage to your needs and return false. That should do it.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-11-15T13:06:17.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14958" PostTypeId="2" ParentId="14894" CreationDate="2018-11-15T14:14:37.983" Score="1" Body="&lt;p&gt;One of Sitecore member has analysed the exception and recommended to verify the User/Role access viewer. I have verified the access viewer and found that read permission is missing for &lt;strong&gt;/sitecore/system/Settings/Buckets/Item Buckets Settings&lt;/strong&gt; and by providing the read permission for the &lt;strong&gt;/sitecore/system/Settings/Buckets/Item Buckets Settings&lt;/strong&gt; item has resolved the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the support.&lt;/p&gt;&#xA;" OwnerUserId="976" LastActivityDate="2018-11-15T14:14:37.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14959" PostTypeId="1" CreationDate="2018-11-15T14:24:49.093" Score="1" ViewCount="2082" Body="&lt;p&gt;We are using &lt;code&gt;Sitecore 9.0 Update 2&lt;/code&gt; and &lt;code&gt;SXA 1.7&lt;/code&gt; and we want to have a feature to play Youtube,Vimeo &amp;amp; Facebook videos in a single component. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to do this in SXA using the OOB components?&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="5611" LastEditDate="2019-06-06T14:58:56.530" LastActivityDate="2019-06-06T17:57:09.760" Title="How to embed Youtube &amp; Vimeo videos in Sitecore SXA?" Tags="|sxa|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14960" PostTypeId="2" ParentId="14937" CreationDate="2018-11-15T14:55:00.520" Score="1" Body="&lt;p&gt;please make sure that your Form items are correctly pushed to Web DB - test at your CM in the published mode as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the behavior is still different from CM to CD in publish mode, then it has to be something with files instead of items. In that case, please make sure to compare your DLLs and Views between CM and CD. If they are not identical, please make sure to have your CD files matching the CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If none of these works, you might want to open a ticket with Sitecore Helpdesk, as it might be a bug that they can fix in a next version.&lt;/p&gt;&#xA;" OwnerUserId="471" LastActivityDate="2018-11-15T14:55:00.520" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14961" PostTypeId="1" AcceptedAnswerId="14962" CreationDate="2018-11-15T15:06:45.050" Score="-1" ViewCount="735" Body="&lt;p&gt;Is there any way to access a Sitecore 9 form field properties through code ?.i need to add CSS class to Text box..etc via code.&#xA;Any Suggestion?&lt;/p&gt;&#xA;" OwnerDisplayName="user4124" LastActivityDate="2018-11-15T15:42:52.577" Title="Sitecore 9 Forms API" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14962" PostTypeId="2" ParentId="14961" CreationDate="2018-11-15T15:42:52.577" Score="1" Body="&lt;p&gt;This question builds further on your previous question regarding Forms creation through code. &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14900/sitecore-9-forms-creation&quot;&gt;Sitecore 9 Forms Creation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no real dedicated API for Sitecore Forms as in fact everything is stored as sitecore items and you can use the standard API to access them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fields you are referring to are just properties of your items. You can access them as any other sitecore field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B7Bfd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B7Bfd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do note that on submit action, it might be a bit more complex since, most information is in a json string, stored in the parameters property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kfu2J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kfu2J.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-15T15:42:52.577" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14963" PostTypeId="1" AcceptedAnswerId="14972" CreationDate="2018-11-15T16:42:54.623" Score="3" ViewCount="2355" Body="&lt;p&gt;Sitecore version - 9.0.1 (rev. 171219)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After every deployment, to load the home page it is taking at least 20 mins thereafter every new page takes 2 mins on the first instance there after its pretty quick.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like the issue is to do with compiling of razor view's I think? Is that true? I can see there is a similar topic in here &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14138/slow-cshtml-compilation-on-azure-webapps&quot;&gt;Slow cshtml compilation on Azure WebApps&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a setting in Azure or Sitecore to speed this up?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All I can think off to better this is to compile the razor views. Is there a better way of handling this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have never found this issue with Sitecore before is this specific to this version or combination of the Azure web app and Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2018-11-15T17:50:57.780" LastActivityDate="2018-12-16T03:03:55.767" Title="Sitecore instance is very slow after deployment in Azure Paas" Tags="|deployment|razor|paas|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14964" PostTypeId="1" AcceptedAnswerId="14965" CreationDate="2018-11-15T19:25:21.010" Score="6" ViewCount="819" Body="&lt;p&gt;We are looking on how to consolidate a list of rules under a category or group condition. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, instead of content editor selecting multiple rules on a component, he/she selects something like &lt;code&gt;&quot;where groupId matches &quot;GroupA&quot;&lt;/code&gt; on the rule editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And define GroupA with a  list of rules, for example,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;GroupA rules:&#xA;where &quot;field1&quot; on userprofile matches &quot;value1&quot; AND&#xA;where &quot;field2&quot; on userprofile matches &quot;value2&quot; AND&#xA;where &quot;field3&quot; on userprofile matches &quot;value3&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was trying to explore the pattern card way to define GroupA as a pattern but OOTB it does not give an ability to execute based on rule conditions rather works on scores.&lt;/p&gt;&#xA;" OwnerUserId="354" LastEditorUserId="312" LastEditDate="2018-11-18T17:09:44.130" LastActivityDate="2018-11-18T17:09:44.130" Title="How to group multiple rules to one rule condition?" Tags="|personalization|rules-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14965" PostTypeId="2" ParentId="14964" CreationDate="2018-11-15T19:48:47.007" Score="8" Body="&lt;p&gt;There are already &lt;strong&gt;predefined rules&lt;/strong&gt; in Sitecore. You can create your own rule there and then use it while setting personalization for a component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open in Sitecore &lt;code&gt;/sitecore/system/Marketing Control Panel/Personalization/Predefined Rules&lt;/code&gt; item (in older Sitecore versions the item was called &lt;code&gt;Predefined Conditions&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cFQGD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cFQGD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Create new item using &lt;code&gt;Conditional Rendering Rule&lt;/code&gt; template with multiple conditions and give it a meaningful name&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WoEt7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WoEt7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Personalize a component using your rule with &lt;code&gt;Where the predefined rule is equal true&lt;/code&gt; condition&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WlblU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WlblU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-11-15T20:29:18.740" LastActivityDate="2018-11-15T20:29:18.740" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14966" PostTypeId="1" CreationDate="2018-11-15T22:50:33.800" Score="2" ViewCount="213" Body="&lt;p&gt;I'm working on a scenario where I have a modal on a page, and if/when the user dismisses it, I want to make it such that the modal doesn't come back up for the user. The ideal scenario is to have this occur cross-device for the user, so if they're logged in and have dismissed the modal, it remains that way regardless of what device they're on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm still newer in the ways of the xDB Force, but my understanding is I could set up an event or goal on the modal's datasource, and on the click of the close icon, trigger a web API call that would record the event/goal to the current user. (I'm saying current since they could be anonymous and later sign up/in and the records should be merged.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this the proper procedure, and if so has someone implemented such a scenario or can point to a good resource?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2023-05-29T20:02:25.260" Title="Capturing the close of a modal as an xDB event" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14967" PostTypeId="1" AcceptedAnswerId="14968" CreationDate="2018-11-16T00:22:08.697" Score="15" ViewCount="1433" Body="&lt;p&gt;I have seen some really great examples at how to build a website using Habitat. In many ways it contains a good percentage of features that I need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this something that is production-ready and could be used as a base for my new website?&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="135" LastEditDate="2018-11-16T02:03:07.167" LastActivityDate="2018-11-16T02:03:07.167" Title="Should Habitat be used as a starter kit?" Tags="|helix|best-practices|habitat|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14968" PostTypeId="2" ParentId="14967" CreationDate="2018-11-16T00:25:00.837" Score="22" Body="&lt;h1&gt;A Resounding No&lt;/h1&gt;&#xA;&lt;p&gt;Think of Sitecore Habitat as the result of an assess and plan project phase where requirements and business objectives were already described for a ficticous client and developed.&lt;/p&gt;&#xA;&lt;p&gt;While thats great for a demo site, as it goes, most requirements differ wildly per client. Using this as a starter kit, places unfounded requirements that maybe the client didn't want. So, now an assess and plan phase has to go through and unwire the ones that the client doesnt want, and then wire in the ones that weren't accounted for.&lt;/p&gt;&#xA;&lt;p&gt;The time spent doing that comparative analysis, is generally greater and leads to bad practices because of having to undo something that someone already built. Or, as Dylan mentions in the comments, not done at all. Leaving behind bloat that will cause problems down the road.&lt;/p&gt;&#xA;&lt;h2&gt;How Should Habitat Be Used?&lt;/h2&gt;&#xA;&lt;p&gt;Instead, use Habitat as a model of a solution meant to provide a basis to help understand the principles of &lt;a href=&quot;https://helix.sitecore.net&quot; rel=&quot;noreferrer&quot;&gt;Helix&lt;/a&gt;. With a goal of creating something new that the client 100% intended to have with nothing else that they didn't.&lt;/p&gt;&#xA;&lt;h2&gt;An Analogy&lt;/h2&gt;&#xA;&lt;p&gt;Think of it like trying to write a childrens book but starting with a George R.R. Martin novel as a &amp;quot;starter kit&amp;quot;. In theory, you're always going to want to have the Dragon Queen, but by the time you're done writing, most of your code is going to be dead.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;#HabitatIsNotAStarterKit&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-16T00:57:53.757" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="14969" PostTypeId="1" CreationDate="2018-11-16T01:14:38.367" Score="2" ViewCount="916" Body="&lt;ol&gt;&#xA;&lt;li&gt;Install JSS:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;npm install -g @sitecore-jss/sitecore-jss-cli&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;create default react app - runs in Chrome:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;jss create jss-react-app &lt;strong&gt;react&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;cd jss-react-app&lt;/p&gt;&#xA;&lt;p&gt;jss start&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;create default angular app and attempt to run:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;jss create jss-angular-app &lt;strong&gt;angular&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;cd jss-angular-app&lt;/p&gt;&#xA;&lt;p&gt;jss start&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Expected&lt;/strong&gt;: build and run, just like react app&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Observed&lt;/strong&gt;: cannot build due to build error.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;chunk {main} main.js, main.js.map (main) 3.26 kB [entry] [rendered]&lt;/p&gt;&#xA;&lt;p&gt;ERROR in node_modules/apollo-angular/types.d.ts(9,58): error TS2304: Cannot find name 'Exclude'.&#xA;src/app/jss-graphql.service.ts(3,10): error TS2305: Module '&amp;quot;C:/Test/jss-angular-app/node_modules/apollo-angular/types&amp;quot;' has no exported member 'TypedVariables'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Gotta be something &lt;em&gt;stupid&lt;/em&gt; on my part, since I can't find anything on the web about this error. Thanks!&lt;/p&gt;&#xA;&lt;p&gt;Windows 7, Chrome 70.0.3538.102&#xA;JSS: 9.0.6&#xA;Angular: 6.1.10&#xA;AngularCLI: 6.2.7&#xA;Node: 10.13.0&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i3tP5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i3tP5.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4614" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-17T00:09:01.453" Title="JSS Default Angular App Build Error: Cannot find name 'Exclude'" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14970" PostTypeId="1" CreationDate="2018-11-16T01:29:13.977" Score="1" ViewCount="42" Body="&lt;p&gt;My client needs me to write a speak app that can do a search where they can type in whatever field they want to equal a value in the search bar. Is there a way to do a search against Lucene to within Sitecore to allow a dynamic field?&lt;/p&gt;&#xA;" OwnerUserId="787" LastActivityDate="2018-11-16T05:40:18.763" Title="Is there a way to do a search in Sitecore against with Lucene using a dynamic field?" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14971" PostTypeId="2" ParentId="14967" CreationDate="2018-11-16T01:52:34.113" Score="14" Body="&lt;p&gt;Every single answer you will receive will be a no, Habitat is not mean to be used as a starter kit. Unless of course your client wanted a website that was exactly like the Habitat (standard, legal or finance) websites. Even then, I wouldn't regard it as production ready.&lt;/p&gt;&#xA;&lt;p&gt;Note that the readme file of the &lt;a href=&quot;https://github.com/Sitecore/Habitat#is-habitat-a-starter-kit-or-template-solution&quot; rel=&quot;noreferrer&quot;&gt;Habitat Repository&lt;/a&gt; clearly states it is not a starter kit:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;h2&gt;Is Habitat a starter kit or template solution?&lt;/h2&gt;&#xA;&lt;p&gt;No. You should not clone this repository for the purposes of starting a new Sitecore project. There are other community solutions which can be used as a starter for Helix-based Sitecore implementations. Habitat is intended as a reference example of a Helix-based Sitecore implementation.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Habitat has always been regarded as an example solution that implements the &lt;a href=&quot;https://helix.sitecore.net/&quot; rel=&quot;noreferrer&quot;&gt;Helix principles&lt;/a&gt;. It is not the &lt;em&gt;only&lt;/em&gt; way to follow the Helix principles, but one example of how a solution &lt;em&gt;could&lt;/em&gt; be structured, provide some conventions that could be follows, demonstrate how to define/enforce module boundaries and dependencies.&lt;/p&gt;&#xA;&lt;h2&gt;Should you use Habitat?&lt;/h2&gt;&#xA;&lt;p&gt;Yes, use it as a learning exercise. Read the Helix documentation, and see how the Habitat project tackles those aspects. But don't use it as a starter kit for an actual project for a client that ever makes it anywhere near production.&lt;/p&gt;&#xA;&lt;p&gt;Unpopular opinion maybe, but don't feel shy to take code from the Habitat project. I'm not saying copy/paste the entire repository, but undoubtedly there may be features/projects in the project which solve a particular problem you are trying to solve and maybe it solves it in a neat way, maybe the way multisite or datasources projects is handled, or the way the navigation feature is tackled. More likely these would be the Foundation layer projects though.&lt;/p&gt;&#xA;&lt;p&gt;The important part is to &lt;em&gt;understand&lt;/em&gt; why those projects were created, what problem are they trying to solve and how they solve them following the Helix principles. Large parts of our codebase is probably already copy+paste, whether that's from a previous project or StackOverflow. They key is to never blindly copy+paste or follow an example, but to understand and then apply it yourself only if it solves the exact same problem you have.&lt;/p&gt;&#xA;&lt;p&gt;But don't kid yourself that the code in Habitat is the ultimate solution to anything. It's an example site and as with all things in Sitecore, there are plenty of ways to solve the same problem, even whilst following the Helix principles.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-16T01:52:34.113" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14972" PostTypeId="2" ParentId="14963" CreationDate="2018-11-16T02:25:17.497" Score="6" Body="&lt;p&gt;With regards to the initial very large time, what you're most likely hitting is that Sitecore can max out the Azure SQL on startup to fill the prefetch cache - see &lt;a href=&quot;https://kb.sitecore.net/articles/290593&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Knowledge Base Article 290593&lt;/a&gt; The solution is to disable the prefetch cache by using the configuration file on the attached knowledge base article.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Sitecore Experience Platform cache's prefetch functionality attempts to pre-populate item caches on role start up. This causes excessive SQL Server DTU consumption on the core database,  SQL timeout exceptions, and unresponsive websites. In some cases, for example on topologies with 4 Sitecore roles and small SQL Server tiers, the DTU on the core database can reach 100% and remain there for up to 40 minutes.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;With regards to the pages themselves taking time to load initially after startup, this is normal. You're right in noting that view precompilation is a good, fairly easy solution to this. We use &lt;code&gt;RazorGenerator.MsBuild&lt;/code&gt; like in the example you link to. Just remember to set &lt;code&gt;Mvc.UsePhysicalViewsIfNewer&lt;/code&gt; locally so that editing your &lt;code&gt;.cshtml&lt;/code&gt; files actually makes a difference.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Finally, remember that Sitecore startup still does take time. There are lots of caches to warm up, pipelines to run, etc. This is perfectly normal, albeit sometimes annoying. &lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2018-11-16T02:49:17.753" LastActivityDate="2018-11-16T02:49:17.753" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14973" PostTypeId="2" ParentId="14966" CreationDate="2018-11-16T05:33:40.740" Score="1" Body="&lt;p&gt;I use the API route all the time to track something someone is doing on the client site. Without a page load, Sitecore does not know what is happening or what to do. So in my JS I call my goal repo to trigger goals for opening of modals, starting of videos, etc... You just call the API and send in you goal ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You do have to take note that when you call an API and trigger a goal, you are assigning that goal to the API call itself, since it is a page that Sitecore understands exists. In my code below, if this is an API, GetPageForApi(), then I return the previous page. Which is the actual page before I started firing off API calls. You also want to trigger &lt;code&gt;Tracker.Current?.CurrentPage?.Cancel();&lt;/code&gt; in your controller so that Sitecore does not track the API call as a page view. And it ensures the real page is always the previous page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Last this is that you want to make sure you send the API call as a real call with full credentials and cookie payload. This is because you want Sitecore to read the Analytics cookie to know the current user's contact ID. With fetch that would be &lt;code&gt;credentials: 'include'&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  fetch('/apis/v1/registration/xdb', {&#xA;    method: 'POST',&#xA;    body: formData,&#xA;    credentials: 'include',&#xA;  })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Sitecore 9&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Controller&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult TriggerGoal(string goalId)&#xA;{&#xA;    // stop tracking this API call&#xA;    Tracker.Current?.CurrentPage?.Cancel();&#xA;&#xA;    trackingRepository.TriggerGoal(goalId);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;TrackingRepository&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool TriggerGoal(string goalId)&#xA;{&#xA;    ID.TryParse(goalId, out var goal);&#xA;&#xA;    if (!ID.IsNullOrEmpty(goal))&#xA;    {&#xA;        eventRepository.TriggerGoalOnce(goal, true);&#xA;        return true;&#xA;    }&#xA;&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Event Repository&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I include this code because you need to use DI to new up a new &lt;code&gt;IDefinitionManager&amp;lt;IGoalDefinition&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private readonly IDefinitionManager&amp;lt;IGoalDefinition&amp;gt; goalDefinitionManager;&#xA;&#xA;public EventRepository(IDefinitionManager&amp;lt;IGoalDefinition&amp;gt; goalDefinitionManager)&#xA;{&#xA;    this.goalDefinitionManager = goalDefinitionManager;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this example I want the ability to only trigger my goal once. So no matter how many times they do this, lets not keep generating events.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void TriggerGoalOnce(ID goalId, bool fromApi = false)&#xA;{&#xA;    // if the user has trigger this goal before, skip it.&#xA;    if (IfGoalAlreadyExists(goalId)) return;&#xA;&#xA;    TriggerGoal(goalId);&#xA;}&#xA;&#xA;public bool IfGoalAlreadyExists(ID goalId)&#xA;{&#xA;    // get the goals in the current session&#xA;    var goalsTriggered = Tracker.Current.Session.Interaction.Pages.SelectMany(x =&amp;gt; x.PageEvents).Where(x =&amp;gt; x.IsGoal).ToList();&#xA;&#xA;    // get the goals from the KeyBehaviorCache (past sessions)&#xA;    var behaviorCache = Tracker.Current.Session.Contact.KeyBehaviorCache.Goals.Any(x =&amp;gt; x.Id == goalId.ToGuid());&#xA;    var pages = goalsTriggered.Any(x =&amp;gt; x.PageEventDefinitionId == goalId.ToGuid());&#xA;&#xA;    return behaviorCache || pages;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also care if this is an API call. If it is, then assign the event to the previous page which is the actual page.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private IPageContext GetPageForApi()&#xA;{&#xA;    if (Tracker.Current?.Session?.Interaction?.PreviousPage == null)&#xA;        return Tracker.Current.CurrentPage;&#xA;&#xA;    return Tracker.Current.Session.Interaction.PreviousPage;&#xA;}&#xA;&#xA;public void TriggerGoal(ID goalId, bool fromApi = false)&#xA;{&#xA;    var goalDefinition = this.goalDefinitionManager.Get(goalId.Guid, CultureInfo.InvariantCulture);&#xA;    if (goalDefinition == null)&#xA;    {&#xA;        Log.Warn($&quot;Cannot find goal: {goalId}&quot;, this);&#xA;        return;&#xA;    }&#xA;&#xA;    Log.Info($&quot;Goal Triggered: Contact: {Tracker.Current.Contact.ContactId} : {goalId}&quot;, this);&#xA;&#xA;    var page = fromApi ? GetPageForApi() : Tracker.Current.CurrentPage;&#xA;&#xA;    page.RegisterGoal(goalDefinition);&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-11-16T05:33:40.740" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14974" PostTypeId="2" ParentId="14970" CreationDate="2018-11-16T05:40:18.763" Score="2" Body="&lt;p&gt;Maybe I am misunderstanding you, but do you just want to pass in the field as a name and the value to search? Or is this deeper and you want the full speak pipelines for doing this search?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var yourField = &quot;content&quot;;&#xA;var yourValue = &quot;hello&quot;;&#xA;&#xA;using (var searchContext = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext())&#xA;{&#xA;    var query = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(x =&amp;gt; x[yourField] == yourValue);&#xA;&#xA;    if (result != null)&#xA;    {&#xA;        var results = query.GetResults();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-11-16T05:40:18.763" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14975" PostTypeId="1" CreationDate="2018-11-16T06:33:17.353" Score="4" ViewCount="1055" Body="&lt;p&gt;I want to know the users who all have access Read/Write to particular item. How to fetch that info? is there any SQL table to extract?&lt;/p&gt;&#xA;" OwnerUserId="3950" LastEditorUserId="312" LastEditDate="2018-11-18T16:55:16.417" LastActivityDate="2018-11-22T06:45:49.430" Title="How to identify which users have access to particular item?" Tags="|security|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14976" PostTypeId="1" AcceptedAnswerId="14978" CreationDate="2018-11-16T06:34:10.427" Score="2" ViewCount="855" Body="&lt;p&gt;I wanted to set image size validation for an image field for example the image field should not accept any image more than 2 mb. For this I tried using Image Size validator available in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item Path:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/system/Settings/Validation Rules/Field Rules/System/Image&#xA;  Size&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The parameter field was set to &lt;code&gt;&quot;maxSize = 2MB&quot;&lt;/code&gt;&#xA;But this is not working. &#xA;How to make use of this validator to validate image size?&#xA;How to set the parameter field value?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xr0xO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xr0xO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="312" LastEditDate="2018-11-18T16:53:08.380" LastActivityDate="2023-07-21T09:26:25.073" Title="How does Image Size validator work?" Tags="|content-editor|validation|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14977" PostTypeId="2" ParentId="14975" CreationDate="2018-11-16T06:54:13.690" Score="6" Body="&lt;p&gt;You cannot do this via SQL query - you need to use Sitecore API. The reason is that Sitecore security model allows inheritance of access rights, breaking the inheritance and denying access rights. You cannot really read it from the tables directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using API:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get the user by the name:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var user = Sitecore.Security.Accounts.User.FromName(userName, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Check access write:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new Sitecore.Security.Accounts.UserSwitcher(user))&#xA;{&#xA;    bool canWrite = item.Security.CanWrite();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you only need to iterate through all the users and run that code for each of them. Something like this should do the trick:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Security.Accounts.UserManager.GetUsers();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT after OPs comment:&lt;/strong&gt;&#xA;If you want to execute check for more items, you must either put your whole code inside &lt;code&gt;using UserSwitcher&lt;/code&gt; block or use &lt;code&gt;UserSwitcher.Enter&lt;/code&gt; and &lt;code&gt;UserSwitcher.Exit&lt;/code&gt; like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new Sitecore.Security.Accounts.UserSwitcher(user))&#xA;{&#xA;    bool canWriteParent = parent.Security.CanWrite();&#xA;    for (Item child in parent.Children)&#xA;        child.Security.CanWrite();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Security.Accounts.UserSwitcher.Enter(user);&#xA;&#xA;bool canWriteParent = parent.Security.CanWrite();&#xA;for (Item child in parent.Children)&#xA;    child.Security.CanWrite();&#xA;&#xA;// any other code&#xA;&#xA;Security.Accounts.UserSwitcher.Exit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-11-22T06:45:49.430" LastActivityDate="2018-11-22T06:45:49.430" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="14978" PostTypeId="2" ParentId="14976" CreationDate="2018-11-16T06:54:59.620" Score="2" Body="&lt;p&gt;I decompile the code of : &lt;strong&gt;Sitecore.Data.Validators.FieldValidators.ImageSizeValidator&lt;/strong&gt; and I see in the validator is verifing if the size of the image field is bigger then value of MaxSizeinMemory and MaxSizeInDatabase settings. These 2 are stored in the Sitecore.config file.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;!--  MEDIA - MAX SIZE IN DATABASE&#xA;        The maximum allowed size of media intended to be stored in a database (binary blob).&#xA;        This value must be less than the ASP.NET httpRuntime.maxRequestLength setting.&#xA;        Default value: 500MB&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;Media.MaxSizeInDatabase&quot; value=&quot;500MB&quot; /&amp;gt;&#xA;&#xA;and &#xA;&#xA; &amp;lt;!--  MEDIA - MAX SIZE IN MEMORY&#xA;        The maximum size of media to load into memory for processing (resizing etc.).&#xA;        Default value: 40MB&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;Media.MaxSizeInMemory&quot; value=&quot;40MB&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the code which is validating the size of image. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (size &amp;gt; Settings.Media.MaxSizeInMemory)&#xA;        {&#xA;            base.Text = this.GetText(&quot;The image referenced in the Image field \&quot;{0}\&quot; is too big to be resized.&quot;, new string[]&#xA;            {&#xA;                field.DisplayName&#xA;            });&#xA;            return base.GetFailedResult(ValidatorResult.Warning);&#xA;        }&#xA;        if (size &amp;gt; Settings.Media.MaxSizeInDatabase)&#xA;        {&#xA;            base.Text = Translate.Text(&quot;The image referenced in the Image field \&quot;{0}\&quot; is too big to be stored in the database.&quot;, new object[]&#xA;            {&#xA;                field.DisplayName&#xA;            });&#xA;            return base.GetFailedResult(ValidatorResult.Warning);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To test this validator you need to change that values to a lower value or add an image which is bigger than 40 MB. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-11-16T07:00:30.480" LastActivityDate="2018-11-16T07:00:30.480" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14979" PostTypeId="2" ParentId="14959" CreationDate="2018-11-16T07:37:28.147" Score="4" Body="&lt;p&gt;This is not possible in Sitecore SXA out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore SXA (Sitecore Experience Accelerator 1.7.1) video component allows:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Youtube video (you pass id)&lt;/li&gt;&#xA;&lt;li&gt;Movie in mp4 format:&lt;/li&gt;&#xA;&lt;li&gt;Movie in ogg format:&lt;/li&gt;&#xA;&lt;li&gt;Movie in WebM format:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-11-16T07:37:28.147" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14980" PostTypeId="1" CreationDate="2018-11-16T07:58:12.550" Score="1" ViewCount="306" Body="&lt;p&gt;We have a website built on Sitecore commerce and working on the following requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When user applies a promo/coupon code at checkout, validate the code with a third party system.&#xA;Is it possible to get the promo code that user has applied, in the &lt;code&gt;IRuleExecutionContext&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm aware of creating a custom condition with the Evaluate method. But do not know how to get the applied code here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2 update 5 with Sitecore Commerce 8.2.1 update 3&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="312" LastEditDate="2018-11-18T16:51:30.607" LastActivityDate="2018-11-18T16:51:30.607" Title="How to get the applied promo code text?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14983" PostTypeId="1" CreationDate="2018-11-16T09:56:32.230" Score="1" ViewCount="213" Body="&lt;p&gt;I am using Sitecore 8.1 with Mongo and Lucene indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I rebuilt the Reporting Database before - it never took more than 10 hours. This time, my PC has been running it for more than 3 days straight.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far, the only odd symptom is the presence of this exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Exception in alarm clock event subscriber.&#xA;Message: Binary stream '0' does not contain a valid BinaryHeader. &#xA;Possible causes are invalid stream or object version change between serialization and deserialization.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Every single minute. Which needs investigating, but surely does not justify a three-fold increase of rebuild time. Is there anything I can do to gauge the progress of the rebuild, and troubleshoot performance?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2018-11-16T09:56:32.230" Title="Gauging the progress of Rebuild Reporting Database job, and troubleshooting issues" Tags="|experience-analytics|reporting|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="14988" PostTypeId="2" ParentId="14975" CreationDate="2018-11-16T13:06:34.180" Score="3" Body="&lt;p&gt;If you are already logged into Sitecore, you can also use the built-in tools in the Sitecore interface, though they require a little more manual hunting to check &lt;em&gt;all&lt;/em&gt; users.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Security Details&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In the Content Editor, click the &lt;strong&gt;Details&lt;/strong&gt; button of the &lt;strong&gt;Security&lt;/strong&gt; ribbon tab:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lmF1y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lmF1y.png&quot; alt=&quot;Security details button in content editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will open a tab in the content editor that shows you all the security for the assigned item, though it will not show you inherited security:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cKAFp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cKAFp.png&quot; alt=&quot;Security details tab&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Access Viewer&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Open it from the &lt;strong&gt;Security&lt;/strong&gt; ribbon tab of the Content Editor to pre-select the currently-selected item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iu8Z6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iu8Z6.png&quot; alt=&quot;Access viewer from content editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It can also be opened directly from the LaunchPad or from the Sitecore menu in Desktop:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/G1y6p.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G1y6p.png&quot; alt=&quot;Access viewer in desktop menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then select different items to see their security for specific accounts (change which account is to be tested by clicking the &lt;strong&gt;Account&lt;/strong&gt; button in the Access Viewer ribbon).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RGyuF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RGyuF.png&quot; alt=&quot;Access viewer&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-16T13:06:34.180" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14989" PostTypeId="1" AcceptedAnswerId="14992" CreationDate="2018-11-16T13:38:15.697" Score="4" ViewCount="1581" Body="&lt;p&gt;I am facing a weird issue. Our custom personalization rules are not appearing in the &lt;code&gt;Rule Set Editor&lt;/code&gt; window. These are not new rules and they used to appear all the time. All the already applied rules are still there. I even tried to create new rules but same issue, it also does not appear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using &lt;code&gt;Sitecore 9 update 2&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the rules are created using the method described in this link&#xA;&lt;a href=&quot;https://www.sundoginteractive.com/blog/personalization-rules-in-sitecore-8&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to Customize Personalization Rules in Sitecore 8&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="73" LastEditDate="2020-02-15T13:36:29.670" LastActivityDate="2023-03-27T15:29:59.250" Title="Sitecore custom personalization rule not appearing in Custom Rule Editor" Tags="|personalization|marketing-control-panel|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14990" PostTypeId="2" ParentId="14631" CreationDate="2018-11-16T14:20:27.913" Score="6" Body="&lt;p&gt;Sitecore support finally got back to me. This functionality is working in Sitecore 9.0.2, but it requires a setting that's not in the Sitecore.config and is currently undocumented. To get this to work, add the following setting in a patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;LanguageFieldFallback.AllowStandardValuesForSharedLanguageFallback&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then if you go to &lt;code&gt;/sitecore/templates/System/Templates/Template field/_Standard Values&lt;/code&gt; and check on the &lt;code&gt;Enable field level fallback&lt;/code&gt; option, you'll get fallback enabled on every field in your site. You can create a new language version to check that you see it working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: Based on my comment where a further bug was identified, Sitecore did identify the bug and assigned it bug ID &lt;strong&gt;257222&lt;/strong&gt;. A patch (DLL/config) is available for 9.0.2 (I don't know about 8.2.7). If someone needs it, I can either provide it, or check with Sitecore support and reference the bug ID to get the patch. It appears to have fixed the issues I had.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2018-11-21T16:54:35.263" LastActivityDate="2018-11-21T16:54:35.263" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="14991" PostTypeId="2" ParentId="14980" CreationDate="2018-11-16T14:22:19.793" Score="2" Body="&lt;p&gt;For me it's not a good idea to validate coupon code with a third party system when it was applied for a cart.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to validate it on Add coupon to cart.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to find &lt;code&gt;IAddCouponToCartPipeline&lt;/code&gt;, which has &lt;code&gt;AddCouponToCartBlock&lt;/code&gt;.&#xA;You can replace &lt;code&gt;AddCouponToCartBlock&lt;/code&gt; with your custom and add your check before:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override async Task&amp;lt;Cart&amp;gt; Run(CouponArgument arg, CommercePipelineExecutionContext context)&#xA;    {&#xA;&#xA;      ...&#xA;&#xA;      if (!IsYourCouponValid(arg.CouponCode))&#xA;      {&#xA;        string str = await context.CommerceContext.AddMessage(context.GetPolicy&amp;lt;KnownResultCodes&amp;gt;().ValidationError, &quot;CouponNotValid&quot;, new object[1]&#xA;        {&#xA;          arg.CouponCode&#xA;        }, string.Format(&quot;Coupon {0} is not valid.&quot;, arg.CouponCode));&#xA;        return cart;&#xA;      }&#xA;      cart.GetComponent&amp;lt;CartCouponsComponent&amp;gt;().List.Add(new CartCoupon()&#xA;      {&#xA;        CouponId = arg.CouponCode,&#xA;        Promotion = couponDefinition.Promotion&#xA;      });&#xA;      return cart;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2018-11-16T15:07:46.030" LastActivityDate="2018-11-16T15:07:46.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14992" PostTypeId="2" ParentId="14989" CreationDate="2018-11-16T14:28:28.877" Score="8" Body="&lt;p&gt;Personalization rules are under attached to the rule &quot;Conditional Renderings&quot;. Here is the path to follow looking for your missing rule.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Tags&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;A tag is the glue between rules and elements. You will have a custom tag under the item, &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Tags/&lt;/code&gt;. Lets say that are called &lt;code&gt;Membership Status&lt;/code&gt;. i.e &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Tags/Membership Status&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Element&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Under the item path &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements&lt;/code&gt; you should have a Element where you custom rules exist. You will create a new element called &lt;code&gt;Membership Status&lt;/code&gt;. In that Element there is a &lt;code&gt;Tags&lt;/code&gt; item and a child called &lt;code&gt;Default&lt;/code&gt;. Path would be &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Membership Status/Tags/Default&lt;/code&gt;. In the Tag multilist, in the custom tag, you select the Tag you created in step 1 above.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Condition Renderings&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Finally you will have a custom Tag under the item &lt;code&gt;/sitecore/system/Settings/Rules/Conditional Renderings/Tags&lt;/code&gt;. I usually name the tag custom. In the multilist, in the custom tag, you select the Tag you created in step 1 above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your rules in your Element Membership Status and tied to the rule Condition Renderings via the Tag Membership Status.&lt;/p&gt;&#xA;" OwnerUserId="165" LastEditorUserId="165" LastEditDate="2020-02-15T13:06:58.150" LastActivityDate="2020-02-15T13:06:58.150" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="14993" PostTypeId="2" ParentId="14959" CreationDate="2018-11-16T15:18:45.070" Score="3" Body="&lt;p&gt;I created a data template which allows a user to insert a URL and then display the link in an iframe.  The link could be single line text (as I have) but a general link field would also work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZdOao.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZdOao.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Examples of this approach can be seen &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://portal.ct.gov/Office-of-the-Governor/Press-Room/Videos/Governor-Dannel-P-Malloys-2018-State-of-the-State-Address&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://portal.ct.gov/Office-of-the-Governor/Press-Room/Videos/Governor-Dannel-P-Malloys-2018-State-of-the-State-Address&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://portal.ct.gov/Business-Portal/Advanced-Manufacturing&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://portal.ct.gov/Business-Portal/Advanced-Manufacturing&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3235" LastActivityDate="2018-11-16T15:18:45.070" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14994" PostTypeId="2" ParentId="14969" CreationDate="2018-11-16T16:14:18.467" Score="2" Body="&lt;p&gt;Pin your &lt;code&gt;apollo-angular&lt;/code&gt; version to exactly 1.1.1 in the &lt;code&gt;package.json&lt;/code&gt; (remove the &lt;code&gt;^&lt;/code&gt;), then run &lt;code&gt;npm i&lt;/code&gt; again:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/jss/blob/0292a05077c4ef21b668eb9c30412f57620c3779/samples/angular/package.json#L66&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/jss/blob/0292a05077c4ef21b668eb9c30412f57620c3779/samples/angular/package.json#L66&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately if packages are installed without a lock file (i.e. using &lt;code&gt;npm&lt;/code&gt; since the sample ships with a yarn lockfile) to limit using newer versions the &lt;code&gt;apollo-angular&lt;/code&gt; is installed with a version designed for a later version of Angular than the app has.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-11-16T16:14:18.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14995" PostTypeId="2" ParentId="12276" CreationDate="2018-11-16T17:15:29.930" Score="0" Body="&lt;p&gt;Sitecore provides the Content Search API specifically to avoid customizing a solution for a particular provider: Solr, Azure, Lucene (don't use Lucene)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make your code provider-agnostic, the proper solution is below.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;CustomSearchResultItem object&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.ComponentModel;&#xA;using System.Runtime.Serialization;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.Converters;&#xA;using Sitecore.ContentSearch.SearchTypes;&#xA;using Sitecore.Data;&#xA;&#xA;namespace MyNamespace&#xA;{&#xA;    public class CustomSearchResultItem : SearchResultItem&#xA;    {&#xA;        [IndexField(&quot;my_ideas&quot;)]&#xA;        [TypeConverter(typeof(IndexFieldEnumerableConverter))]&#xA;        public IEnumerable&amp;lt;ID&amp;gt; MyIdeas{ get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Config Updates Specifically for Solr&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;your_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;&amp;gt;&#xA;        &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                &amp;lt;!-- yes, the included AllTemplates class works great for this --&amp;gt;&#xA;                &amp;lt;field fieldName=&quot;my_ideas&quot; storageType=&quot;yes&quot; indexType=&quot;untokenized&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.AllTemplates, Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;        &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                &amp;lt;field fieldName=&quot;my_ideas&quot; returnType=&quot;stringCollection&quot;&amp;gt;&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;        &amp;lt;/fieldMap&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-11-16T17:15:29.930" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14996" PostTypeId="2" ParentId="14952" CreationDate="2018-11-16T20:02:34.527" Score="1" Body="&lt;p&gt;I don't see a version of SXA which you are using. In 1.7.1 and all previous versions, there is no out of the box functionality to remove to additional DIVs. Although they are added it's not blocking you from styling anything you want there with any style you imagine - it's just a matter of proper CSS selector.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;wait for SXA 1.8 which should be released soon and you will find an option there to select empty wrapping tag. This will, for example, render the only link without wrapping DIV&lt;/li&gt;&#xA;&lt;li&gt;override &lt;code&gt;RenderVariantField&lt;/code&gt; processor and change the logic which is adding wrappers. You can replace the processor with a simple config patch. But this would require from you some back-end knowledge.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-11-16T20:02:34.527" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14998" PostTypeId="1" AcceptedAnswerId="15045" CreationDate="2018-11-16T21:40:00.963" Score="2" ViewCount="1268" Body="&lt;p&gt;I'm using SPE to install the TDS &lt;code&gt;.update&lt;/code&gt; package file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get detailed installation log remotely in the script below?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Current PowerShell Script:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SitecoreInstanceUri = &quot;https://helixsite.local&quot;&#xA;$Username = &quot;admin&quot;&#xA;$Password = &quot;b&quot;&#xA;$SitecorePackagePath = &quot;C:\inetpub\wwwroot\helixsite.local\App_Data\packages\Helix.Project.Website.Master.update&quot;&#xA;&#xA;#Create a new script session&#xA;$session = New-ScriptSession -Username $Username -Password $Password -ConnectionUri $SitecoreInstanceUri&#xA;&#xA;Write-Host &quot;Installing Sitecore update package '$SitecorePackagePath' on '$SitecoreInstanceUri'&quot;&#xA;&#xA;$jobId = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;    $package = $using:SitecorePackagePath&#xA;    Write-Log &quot;Installing Sitecore update package '$package'&quot;&#xA;    Install-UpdatePackage -Path $package -UpgradeAction Upgrade -InstallMode Install&#xA;} -AsJob -Verbose&#xA;&#xA;if (!$jobId) { &#xA;    Write-Host &quot;No jobId was created. Please check if your Powershell Remoting is activated on the target instance '$SitecoreInstanceUri'&quot;&#xA;}&#xA;&#xA;#doneScript is the script that gets executed every 5 seconds and checks the state of the executed script. It returns a custom PowerShell object with Name, IsDone and Status&#xA;$doneScript = {&#xA;        $backgroundScriptSession = Get-ScriptSession -Id $using:jobId&#xA;        $isDone = $backgroundScriptSession -eq $null -or $backgroundScriptSession.State -ne &quot;Busy&quot;&#xA;        [PSCustomObject]@{&#xA;            &quot;Name&quot; = $backgroundScriptSession.Id&#xA;            &quot;IsDone&quot; = $isDone&#xA;            &quot;Status&quot; = &quot;$($backgroundScriptSession.State)&quot;&#xA;        }&#xA;    }&#xA;&#xA;try {&#xA;    $keepRunning = $true&#xA;    while($keepRunning) {&#xA;        #Execute the doneScript and check the response.&#xA;        $response = Invoke-RemoteScript -Session $session -ScriptBlock $doneScript&#xA;        if($response -and $response.IsDone) {&#xA;            $keepRunning = $false&#xA;            Write-Host &quot;Polling job $($response.Name). Status : $($response.Status).&quot;&#xA;            Write-Host &quot;Finished polling job $($id).&quot;&#xA;        } else {&#xA;            Write-Host &quot;Polling job $($response.Name). Status : $($response.Status).&quot;&#xA;            Start-Sleep -Seconds 5&#xA;        }&#xA;    }   &#xA;} catch {&#xA;    if ($_.Exception.Message -eq &quot;ScriptSessionNotFound,Cognifide.PowerShell.Commandlets.ScriptSessions.GetScriptSessionCommand&quot;) {&#xA;        Write-Host &quot;Package installation triggered application pool recycling.&quot;&#xA;    }&#xA;    else&#xA;    {&#xA;     throw&#xA;    }&#xA;}&#xA;&#xA;&#xA;Write-Host &quot;Sitecore update package installed.&quot;&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Current output is as below:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Polling job d8400253-9f9e-4718-89d5-0dd633bf3bf6. Status : Busy.&#xA;Polling job d8400253-9f9e-4718-89d5-0dd633bf3bf6. Status : Busy.&#xA;Polling job d8400253-9f9e-4718-89d5-0dd633bf3bf6. Status : Busy.&#xA;Polling job d8400253-9f9e-4718-89d5-0dd633bf3bf6. Status : Busy.&#xA;... This keeps running for few minutes ...&#xA;Polling job d8400253-9f9e-4718-89d5-0dd633bf3bf6. Status : Busy.&#xA;Polling job d8400253-9f9e-4718-89d5-0dd633bf3bf6. Status : Busy.&#xA;Polling job d8400253-9f9e-4718-89d5-0dd633bf3bf6. Status : Available.&#xA;Finished polling job d8400253-9f9e-4718-89d5-0dd633bf3bf6.&#xA;Sitecore update package installed.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Expected output:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm assuming remotely somehow we should be able to get installation logs as below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Installing item '/sitecore/system/Settings/Forms/Submit Actions/Send E-mail'  &#xA;Installing item '/sitecore/system/Settings/Forms/Submit Actions/Submit Action'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was reading about the output type from &lt;code&gt;Install-UpdatePackage&lt;/code&gt; command is &lt;code&gt;List&amp;lt;ContingencyEntry&amp;gt;&lt;/code&gt; but I'm not sure how to read it remotely and display that in the output locally.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have tried so far:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried below variation in the script above but it doesn't change anything in output in the console.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$jobId = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;    $package = $using:SitecorePackagePath&#xA;    Write-Log &quot;Installing Sitecore update package '$package'&quot;&#xA;    Install-UpdatePackage -Path $package -UpgradeAction Upgrade -InstallMode Install | ForEach-Object { Write-Verbose $_.ShortDescription; }&#xA;} -AsJob -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2018-11-19T15:24:12.900" LastActivityDate="2018-12-19T19:51:59.313" Title="How to get detailed installation log while the update package is being installed remotely using SPE?" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="14999" PostTypeId="2" ParentId="14969" CreationDate="2018-11-17T00:09:01.453" Score="1" Body="&lt;p&gt;I figured out that TypedVariables last existed in apollo-angular in version 1.4, so I pinned that version. Then I got an error where Exclude wasn't defined, so I pinned typescript to 2.9.2. Therefore, after creating the default angular app and changing to that folder, run:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;npm install apollo-angular@1.4 --save-exact&lt;/p&gt;&#xA;&lt;p&gt;npm install typescript@2.9.2 --save-exact&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;BEFORE trying to build and start the app and it will build and run just fine.&lt;/p&gt;&#xA;" OwnerUserId="4614" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-17T00:09:01.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15000" PostTypeId="1" AcceptedAnswerId="15002" CreationDate="2018-11-17T00:30:10.263" Score="4" ViewCount="330" Body="&lt;p&gt;I'm using a custom item resolver to take a call to a wildcard item and use the URL to grab an item in a catalog of products (not Commerce). I've got the parser set up, but I've hit a conundrum.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The items in the catalog of products don't have presentation details, they are data only. The wildcard item has the presentation details I want to use. The problem is that once I set the Context.Item to the product item, it takes on all properties, including the lack of layout. I've tried taking the shared/final layout from the wildcard and programmatically assigning it to the product item, but it saves that to the actual item, which is not desired. (The products are used on multiple sites and might have different layouts/renderings per site.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to &quot;disassociate&quot; the product item after retrieval, so I could assign the layout from the wildcard without saving it to the actual item? Or is the better method to retrieve the data at the rendering level, parsing the URL to get the info needed to find the datasource, and then assigning the datasource dynamically?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="2056" LastEditDate="2019-02-12T13:17:47.760" LastActivityDate="2019-02-12T13:17:47.760" Title="Edit a Sitecore item in memory only" Tags="|presentation|datasource|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15002" PostTypeId="2" ParentId="15000" CreationDate="2018-11-17T21:36:29.910" Score="10" Body="&lt;p&gt;Don't overwrite the Sitecore.Context item with the one you are fetching for the wildcard. Keep the wildcard item as the context item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, put the product item in a sort of wildcard context. You Helix architecture, you can put this in a foundation project.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public static Item WildcardContextItem&#xA;    {&#xA;        get =&amp;gt; (Item)HttpContext.Current.Items[ContextKey];&#xA;        set =&amp;gt; HttpContext.Current.Items[ContextKey] = value;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could set the WildcardContextItem in a processor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class WildcardInitializer : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (Sitecore.Context.Item != null &amp;amp;&amp;amp; IsWildcardItem())&#xA;        {&#xA;            var product = GetProduct();&#xA;            if (product != null)&#xA;            {&#xA;                WildcardContext.WildcardContextItem= product ;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, the individual components can check if there is a wildcarditem in context to take precedence over the context item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public ActionResult Detail()&#xA;    {&#xA;        var product = WildcardContextItem??Sitecore.Context.Item;&#xA;        return View(product);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that this is a bit of pseudo-code to explain the concept.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-17T21:36:29.910" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15003" PostTypeId="1" CreationDate="2018-11-18T00:17:45.460" Score="5" ViewCount="420" Body="&lt;p&gt;I am using Sitecore (9.0 update 2) Geo IP service. For that I have installed Sitecore IP Geolocation Service Client 1.2 package from &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_IP_Geolocation_Service_Client/12/Sitecore_IP_Geolocation_Service_Client_12_for_Sitecore_XP_80.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_IP_Geolocation_Service_Client/12/Sitecore_IP_Geolocation_Service_Client_12_for_Sitecore_XP_80.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have downloaded TestIpPage from &lt;a href=&quot;https://kb.sitecore.net/articles/798498&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/798498&lt;/a&gt; solution 3 section. When I am testing the &lt;a href=&quot;http://local.sitecoredemo/sitecore/TestIp.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://local.sitecoredemo/sitecore/TestIp.aspx&lt;/a&gt; page and clicked on GetInformationByIp. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting the following error: &lt;code&gt;Could not create instance of type: Sitecore.CES.GeoIp.SitecoreProvider. No matching constructor was found.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the screenshot of the error&#xA;&lt;a href=&quot;https://i.stack.imgur.com/CmdSQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CmdSQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4549" LastEditorUserId="312" LastEditDate="2018-11-18T16:48:59.170" LastActivityDate="2018-11-18T16:48:59.170" Title="Sitecore 9 Geo IP service error constructor not found" Tags="|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15004" PostTypeId="2" ParentId="12575" CreationDate="2018-11-18T03:53:25.563" Score="4" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;For what is the &quot;sitecore-xp1-dds.json&quot; for. whats the usage of this configuration JSON and when do I need to install it?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;DDS stands for &quot;Dedicated Dispatch Server&quot;.&#xA;It's used in EXM scaling scenarios.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;and when do I need to install the &quot;sitecore-XP1-cm-dds-patch.json&quot;?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sitecore-XP1-cm-dds-patch.json&lt;/code&gt; is used to patch CM instances so they will use the DDS instead of handling this role themselves.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;and when do I have to install the cm-secondary Json file? (I think only when I have more then one CM)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You are correct: it's used to install additional CM instances and will skip executing the DacPacs to create databases.&lt;/p&gt;&#xA;" OwnerUserId="239" LastActivityDate="2018-11-18T03:53:25.563" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15005" PostTypeId="2" ParentId="15003" CreationDate="2018-11-18T09:06:41.067" Score="5" Body="&lt;p&gt;You installed a module for Sitecore 8 on a Sitecore 9 site. From Sitecore 8.1 and higher, you don't need that module - it's already included. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the documentation on &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/ip_geolocation/ip_geolocation/setting_up_sitecore_ip_geolocation&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/ip_geolocation/ip_geolocation/setting_up_sitecore_ip_geolocation&lt;/a&gt; but be sure to read it for your Sitecore version. Latest update is for 9.0.1 which should be ok for you. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore IP Geolocation is included in the initial version of Sitecore&#xA;  Experience Platform 8.1 (Sitecore XP) and all later versions by&#xA;  default, it is also tested with all subsequent updates. This means you&#xA;  only need to subscribe to the Sitecore IP Geolocation service.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-11-18T09:06:41.067" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15008" PostTypeId="1" CreationDate="2018-11-19T07:49:29.027" Score="4" ViewCount="591" Body="&lt;p&gt;In the last days we are experiencing some performance problems in our Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently we are using Sitecore 9.0 as PaaS in Azure, in the last weeks we have added new sites on it. Right now we have 6-7 sites, each one having between 2500 and 7000 items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the last days we have noticed that just after 24h of a deploy, the response time of Sitecore increase suddenly from 200-300 ms to 20-40 seconds, during about 30-40 minutes, and after that start to decrease to 4-6 seconds returning to normal values (200-300ms) after 4 hours of starting the problem. It´s happenning every day, at the time of the last deploy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Monitoring Sitecore we notice a big increase in CPU usage, in the number of threads for each instance, the write operations to azure redis cache increase a lot for first 5-10 minutes and when redis operations returns to normal values then increase a lot the DB operations during 4 hours aprox. After the 4 hours the CPU usage, number of threads and DB usage return to it´s usual values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After suffer this problems during two days, we decided to add two more sitecore instance from 4 to 6 (PV2), and scale up Sql DB to 1600 DTU. The problem is mitigated but we still having the same problem with better time response, increasing to 2-3 seconds for few minutes, and 400-600 ms during 4 hours.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at newrelic during the performance problem we have seen that the Sitecore Controller in the step AcquireRequestState is increasing from few ms to 20-40 seconds before scale out Sitecore. After scale-out it increases about 200-300 ms. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At Sitecore logs we don´t have seen anything unusual when the problem starts. A part from during all the day a lot warnings of cleaning AccessRequestCache , 30-50 each minutes, HttpModule being initialized about 20-30 per minute, and ThreadManagerInfo every 2 minutes approx.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have been investigating but we don´t have a clue of what is happening. Any idea? It seems that Sitecore is doing something in background, but we don´t know what. The number of req/sec it´s in usual values just before start the problem.&lt;/p&gt;&#xA;" OwnerUserId="1700" LastActivityDate="2019-01-09T23:01:15.700" Title="Response time and resource usage increase during 4 hours" Tags="|paas|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="15009" PostTypeId="1" AcceptedAnswerId="15010" CreationDate="2018-11-19T08:10:07.283" Score="7" ViewCount="4150" Body="&lt;p&gt;Currenty we are running Sitecore 9.0 on Azure Paas. I would like to know which is the purpose of the Azure Redis Cache?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reading some documentation it seems that it´s to store session properties of users. We are an e-commerce site, but we are using a custom mechanism for the users session, not using the one provided by Sitecore. If we are not using it, is it necessary to have the Redis Cache?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have looked at Redis, it contains a hundred of keys, with not readable content for us. In some blogs I read that the Redis Cache it´s useful decreasing response time in requests peaks. But I´m not sure if it´s useful when we are not using Session mechanism from Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1700" LastEditorUserId="312" LastEditDate="2019-01-21T10:07:42.253" LastActivityDate="2019-01-21T10:09:02.230" Title="Azure Redis Cache, is it necessary for Sitecore?" Tags="|azure|paas|redis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15010" PostTypeId="2" ParentId="15009" CreationDate="2018-11-19T09:05:42.490" Score="16" Body="&lt;p&gt;Azure Redis cache is the default session provider Sitecore 9.0 will use in Azure Paas.  Out of the box, Azure Redis Cache will be configured and used by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore uses this session provider as a means of managing out of process (ie. distributed) session state to share contact data across browser sessions and devices. This is required to support base functionality in Sitecore XP (Analytics, XDB etc).  Even if you are using a custom session provider for other purposes, you will likely still need the Sitecore sessions configured to get full value out of the solution.  You can find some more information on how Sitecore manages session data here:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/session_state&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/session_state&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Redis is designed as a means for fast, distributed access to a key/value store.  If you're digging into the redis instance directly, you're likely to see all of the keys of your current sessions (private and shared) with non-readable values (usually stored as binary vals).  These values are usually managed and accessed via the Sitecore Session API abstractions.  It's rare you would need to access Redis directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0 supports Redis and SQL Server as distributed session providers.  &lt;strong&gt;So, no, Redis is not required&lt;/strong&gt;...however a session state provider is required for Sitecore XP. ie. You need Redis OR SQL Server configured.  Which you select really depends on your exact situation.  If required, details on how to configure the SQL provider as an alternative is documented here:&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configuring_a_private_session_state_database_using_the_sql_server_provider&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/session_state/session_state/walkthrough_configuring_a_private_session_state_database_using_the_sql_server_provider&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2673" LastEditorUserId="312" LastEditDate="2019-01-21T10:09:02.230" LastActivityDate="2019-01-21T10:09:02.230" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15013" PostTypeId="1" CreationDate="2018-11-19T12:45:49.960" Score="1" ViewCount="1142" Body="&lt;p&gt;We are currently having Sitecore 9.0 Update 2 which runs on Azure on PAAS. We are planning to implement Blue/Green deployment for zero downtime  The plan is to have 2 set environments as Blue will have 1CM, 2 CDs (active) and Green will have 1CM, 2 CDs (standby).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is has anyone has implemented this type of set up before? How could you keep two Web databases(Blue &amp;amp; Green) in sync with this kind of approach &lt;/p&gt;&#xA;" OwnerUserId="4580" LastActivityDate="2019-05-22T02:16:24.033" Title="Sitecore Hosting using Blue Green Deployment on Azure" Tags="|deployment|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15014" PostTypeId="2" ParentId="15013" CreationDate="2018-11-19T13:40:24.427" Score="5" Body="&lt;p&gt;Whilst your proposed setup is certainly possible with the help of a traffic manager, I would recommend using Deployment slots for blue green deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With deployment slots, you deploy to a different slot, warm up your site and then swap the new code into production without downtime.&#xA;In this scenario, there is no need to sync databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want content-safe deploys you might want to follow this scenario. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create copy of your web database.&lt;/li&gt;&#xA;&lt;li&gt;Deploy code version 1 to you staging slot, link it to the copy of the web database.&lt;/li&gt;&#xA;&lt;li&gt;Swap your staging and production slot. (Visitors are now temporary browsing on web-db copy)&lt;/li&gt;&#xA;&lt;li&gt;Deploy code version 2 to your staging slot, linked with original databases.&lt;/li&gt;&#xA;&lt;li&gt;Test new code and swap into production.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FUKpV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FUKpV.png&quot; alt=&quot;Deployment Slots&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-19T13:40:24.427" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15015" PostTypeId="1" CreationDate="2018-11-19T14:28:27.373" Score="4" ViewCount="804" Body="&lt;p&gt;I'm working on setting up multilingual support for our 8.1u3 installation, and I'm running into some weird behavior with the language fallback. It works for the most part, but certain items refuse to fall back (some pages, some images, etc.). In each case I've noticed that the items that refuse to fall back exhibit some weird behavior in the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the Content Editor, select the non-default language (in our case, this is es-MX).&lt;/li&gt;&#xA;&lt;li&gt;Select an item in the content tree.&lt;/li&gt;&#xA;&lt;li&gt;Open the language selector next to the version selector.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For &lt;em&gt;properly functioning items&lt;/em&gt;, you'll see the default language listed with at least one version and then the non-default language listed with &quot;Fallback version.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the &lt;em&gt;improperly functioning items&lt;/em&gt;, it will list the default language as normal but the non-default language says &quot;0 versions.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thus far, I'm unable to determine what causes this discrepency. Has anyone encountered this? Any ideas on how to resolve it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additional notes&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We enabled the multilingual support using the Sitecore.LanguageFallback.config that comes with 8.1u3 (disabled by default). I've also added a &lt;code&gt;CustomItemResolver&lt;/code&gt; because the business prefers that the site show an off-language version rather than a 404. It's essentially the same as the out-of-the-box &lt;code&gt;ItemResolver&lt;/code&gt; except for the &lt;code&gt;GetItem&lt;/code&gt; method, which looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    /// &amp;lt;summary&amp;gt;&#xA;    /// Checks first if the item exists in the context language, then in &#xA;    /// the default language, then in any defined language&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;path&quot;&amp;gt;the path to the item&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;args&quot;&amp;gt;the HttpRequestArgs from the pipeline&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;    protected Item GetItem(string path, HttpRequestArgs args)&#xA;    {&#xA;        // opt out for core database&#xA;        if (Context.Database.Name == StringReferences.StringReference.DatabaseNames.Core)&#xA;        {&#xA;            return ItemManager.GetItem(path, Context.Language, Version.Latest, Context.Database);&#xA;        }&#xA;&#xA;        HashSet&amp;lt;Language&amp;gt; languages = new HashSet&amp;lt;Language&amp;gt;&#xA;        {&#xA;            Context.Language,&#xA;            LanguageManager.DefaultLanguage&#xA;        };&#xA;        languages.AddRange(LanguageManager.GetLanguages(Context.Database).Where(x =&amp;gt; !languages.Contains(x)));&#xA;&#xA;        foreach (Language language in languages)&#xA;        {&#xA;            Item obj = ItemManager.GetItem(path, language, Version.Latest, Context.Database);&#xA;            if (obj != null) return obj;&#xA;            Log.Info(&quot;[CustomItemResolver.GetItem] No version found for language &quot; + language.Name, this);&#xA;        }&#xA;        return null;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1164" LastActivityDate="2019-03-20T13:40:02.210" Title="Language Fallback: 0 versions vs. fallback version" Tags="|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15016" PostTypeId="2" ParentId="14831" CreationDate="2018-11-19T16:45:11.427" Score="2" Body="&lt;p&gt;found the solution!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in the root of my site there was a 5kb png file named: &quot;NOT_A_VALID_FILESYSTEM_PATH&quot; removing that fixes everything. seems its a known bug within sitecore after googling this specifically!&lt;/p&gt;&#xA;" OwnerUserId="3317" LastActivityDate="2018-11-19T16:45:11.427" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15017" PostTypeId="2" ParentId="14921" CreationDate="2018-11-19T16:48:07.067" Score="3" Body="&lt;p&gt;A custom &lt;code&gt;httpRequestBegin&lt;/code&gt; processor is definitely a good approach to take, but I would check the &lt;code&gt;Language&lt;/code&gt; property of the already resolved item against the requested URL, and redirect to the language prepended URL if required.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class EnsureLanguage : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (Context.PageMode.IsNormal&#xA;            &amp;amp;&amp;amp; Context.Item != null&#xA;            &amp;amp;&amp;amp; !args.Context.Request.RawUrl.StartsWith($&quot;/{Sitecore.Context.Item.Language.Name}&quot;))&#xA;        {&#xA;            HttpContext.Current.Response.Redirect($&quot;/{Sitecore.Context.Item.Language.Name}{args.Context.Request.RawUrl}&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should perform better than trying to resolve the URL again for every single request.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-11-19T16:48:07.067" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15018" PostTypeId="1" AcceptedAnswerId="15046" CreationDate="2018-11-19T18:39:36.017" Score="-1" ViewCount="126" Body="&lt;p&gt;I have created a solution for package importing POC in my local. So, I was following the steps at &lt;a href=&quot;https://jss.sitecore.net/docs/techniques/working-disconnected/extending-import&quot; rel=&quot;nofollow noreferrer&quot;&gt;Import Pipeline Extension&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have projects structure like in screenshot:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TDrL3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TDrL3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, I am not sure about step-1 where to perform it after creating the solution. Please suggest me.&lt;/p&gt;&#xA;" OwnerUserId="2983" LastActivityDate="2018-11-20T17:49:07.230" Title="How to extend Manifest file" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15019" PostTypeId="1" CreationDate="2018-11-19T19:55:06.157" Score="1" ViewCount="1549" Body="&lt;p&gt;Im doing below in mvc.requestbegin processor&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!IdentityChecker.IsUserIdentityValid(args.RequestContext.HttpContext.Request.RequestContext.HttpContext.Request) &amp;amp;&amp;amp; !args.RequestContext.HttpContext.Response.IsRequestBeingRedirected)&#xA;{&#xA; args.AbortPipeline(); --// step1 &#xA; args.RequestContext.HttpContext.Response.RedirectPermanent(&quot;/LogOn/SignIn&quot;, true); -- step2&#xA;     }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Scenario:&#xA;on browsing context item as &quot;Home&quot; and on above condition being true(user is not authenitcated)&#xA;the page is redirected to &quot;Logon/signin&quot;, but the Sitecore request  processing for &quot;Home&quot; item does not end, it logs below exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.Mvc.Diagnostics.ControllerCreationException&#xA;Message: Could not create controller: 'Sitecore'. &#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName)&#xA;   at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController&amp;amp; controller, IControllerFactory&amp;amp; factory)&#xA;   at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Attempt to retrieve context object of type 'Sitecore.Mvc.Presentation.PageContext' from empty stack.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Common.ContextService.Peek[T]()&#xA;   at Sitecore.Mvc.Pipelines.MvcPipelineArgs.get_PageContext()&#xA;   at Sitecore.Mvc.Pipelines.Request.CreateController.CreateItemController.CreateController(CreateControllerArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Request.CreateController.CreateItemController.Process(CreateControllerArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func`2 resultGetter)&#xA;   at Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateSitecoreController(RequestContext requestContext, String controllerName)&#xA;   at Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;how should i code so that sitecore item processing for &quot;Home&quot; items ends, on redirection to another page and does not log any exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;mvcrequestbegin processor code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Portal.Code.Pipelines&#xA;{&#xA;    using System;&#xA;    using System.Diagnostics.CodeAnalysis;&#xA;    using LogOn.Authenticator;&#xA;    using Sitecore.Mvc.Pipelines.Request.RequestBegin;&#xA;&#xA;    public class MvcRequestBeginProcessor : Sitecore.Mvc.Pipelines.Request.RequestBegin.RequestBeginProcessor&#xA;    {&#xA;        public override void Process(RequestBeginArgs args)&#xA;        {&#xA;            if (&#xA;                    !IdentityChecker.IsUserIdentityValid(&#xA;                        args.RequestContext.HttpContext.Request.RequestContext.HttpContext.Request) &amp;amp;&amp;amp;&#xA;                        !args.RequestContext.HttpContext.Response.IsRequestBeingRedirected)&#xA;                {&#xA;                    args.AbortPipeline();&#xA;                    args.RequestContext.HttpContext.Response.Redirect(&quot;/LogOn/SignIn&quot;, true);&#xA;                }&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="2447" LastEditDate="2018-12-19T09:19:09.603" LastActivityDate="2018-12-31T04:56:43.447" Title="Response.Redirect in Mvc.requestbegin processor does not end response" Tags="|mvc|pipelines|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15021" PostTypeId="2" ParentId="15019" CreationDate="2018-11-19T22:00:14.843" Score="3" Body="&lt;p&gt;The preferred way to handle login in Sitecore is to deny anonymous access to your items, and set up a login page in your site definition like this:&#xA;       &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;site name=&quot;website&quot;&#xA;       rootPath=&quot;/sitecore/content/&quot;&#xA;       startItem=&quot;/Home&quot;&#xA;       loginPage=&quot;/LogOn/SignIn&quot;&#xA;    &amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now Sitecore will take care of the redirection to the login page for you when a user does not have access.  If you still want to handle the redirection manually, try using the httpRequestBegin pipleline, and use the HttpContext directly from the System.Web namespace like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.AbortPipeline();&#xA;System.Web.HttpContext.Current.Response.Redirect(&quot;/LogOn/SignIn&quot;, true)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have no other options, and must do this in the mvc.requestBegin, try the following:&lt;br/&gt;&#xA;Let the SetupPageContext processor do his job first, so the context is created.  To achieve this, try patching in your processor right after the SetupPageContext processor. Now you should get rid of the error message in your log file.&lt;/p&gt;&#xA;" OwnerUserId="1915" LastEditorUserId="1915" LastEditDate="2018-11-21T14:07:19.217" LastActivityDate="2018-11-21T14:07:19.217" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15022" PostTypeId="1" AcceptedAnswerId="15023" CreationDate="2018-11-19T22:14:23.357" Score="1" ViewCount="338" Body="&lt;p&gt;I'm using Sitecore 8.2 Update 7 and I'm trying to restrict access to my Sitecore Content Editors. One of them wants to run a content test using the built-in testing controls. When I go to &quot;Create a test&quot;, I can see the options of Percentage of Visitors to Expose to Test, and Confidence Level. My content editor does not see those 2 options. What role do I need to give that content editor so that they have the ability to set those options as well.&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2018-11-19T22:30:48.027" Title="Sitecore roles required for content testing" Tags="|security|content-testing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15023" PostTypeId="2" ParentId="15022" CreationDate="2018-11-19T22:30:48.027" Score="3" Body="&lt;p&gt;Content Testing has associated roles to allow different capabilities. Per the &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/analyzing_and_reporting/experience_optimization__content_testing/experience_optimization_and_content_testing_faq&quot; rel=&quot;nofollow noreferrer&quot;&gt;Experience Optimization and Content Testing FAQ&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There are several &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/81/setting_up_and_maintaining/security_and_administration/users_roles_and_domains/the_security_roles&quot; rel=&quot;nofollow noreferrer&quot;&gt;security roles&lt;/a&gt; that provide access to different&#xA;  levels of functionality in Experience Optimization.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Authoring – enables the creation, running, and editing of tests. You&#xA;  typically assign this role to content authors and marketers.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Analytics Advanced Testing – contains the same access as the Authoring&#xA;  role, plus additional tabs and controls. You typically assign this&#xA;  role to marketing analysts.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Analytics Management Reporting – has full access to all content&#xA;  testing dashboards and historical reports and cannot create tests. You&#xA;  typically assign this role to marketing directors.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;You can also add security roles to individual users to give them&#xA;  access to Experience Optimization.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-11-19T22:30:48.027" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15024" PostTypeId="1" CreationDate="2018-11-19T22:59:51.467" Score="-1" ViewCount="197" Body="&lt;p&gt;I'm really new with Sitecore and I'm not sure where to perform this change. So far I only know the CMS web interface which is very limited. How can I locate the web.config file? What tool should I use? Should I connect Visual Studio with the site or should I perform a remote desktop connection?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you so much for your help in advance.&lt;/p&gt;&#xA;" OwnerUserId="4626" LastEditorUserId="2418" LastEditDate="2018-11-20T08:53:32.730" LastActivityDate="2018-11-20T08:53:32.730" Title="Locate web.config to implement 404 page" Tags="|sitecore-client|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15025" PostTypeId="2" ParentId="15024" CreationDate="2018-11-19T23:13:26.290" Score="0" Body="&lt;p&gt;Go to IIS where your website is hosted and running. Open your website in explorer and you should be able to locate web config file. Path may look like below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;~\WWWRoot\&quot;YourSiteInstance&quot;\&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, You can have a look at all the configs by running below link in the browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;https://&quot;YourSiteInstance&quot;/sitecore/admin/showconfig.aspx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To setup 404, visit below link &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/221/how-do-you-setup-a-404-and-500-error-page-for-missing-files-and-media-items&quot;&gt;How do you setup a 404 and 500 error page for missing files and media items?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2418" LastEditorUserId="2418" LastEditDate="2018-11-20T00:20:09.050" LastActivityDate="2018-11-20T00:20:09.050" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15026" PostTypeId="2" ParentId="15024" CreationDate="2018-11-19T23:48:44.123" Score="0" Body="&lt;p&gt;For location, just open IIS, locate your website and in the right pane click explore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x5kSi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x5kSi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just to get your started down the right path, you never ever want to edit the web.config directly. You want to use a tool like &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=vscps.SlowCheetah-XMLTransforms&quot; rel=&quot;nofollow noreferrer&quot;&gt;SlowCheetah&lt;/a&gt; and transform your web.config, adding/removing what you need. If you edit it directly, it makes upgrading and deploying more difficult. Below I believe is the transform you are looking for.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;  &#xA;    &amp;lt;system.webServer&amp;gt;&#xA;      &amp;lt;httpErrors errorMode=&quot;Custom&quot; existingResponse=&quot;Auto&quot; xdt:Transform=&quot;Replace&quot;&amp;gt;&#xA;            &amp;lt;remove statusCode=&quot;403&quot; /&amp;gt;&#xA;            &amp;lt;remove statusCode=&quot;404&quot; /&amp;gt;&#xA;            &amp;lt;remove statusCode=&quot;500&quot; /&amp;gt;&#xA;            &amp;lt;error statusCode=&quot;500&quot; responseMode=&quot;Redirect&quot; path=&quot;/500.html&quot; /&amp;gt;&#xA;            &amp;lt;error statusCode=&quot;403&quot; responseMode=&quot;Redirect&quot; path=&quot;/404.html&quot; /&amp;gt;&#xA;            &amp;lt;error statusCode=&quot;404&quot; responseMode=&quot;Redirect&quot; path=&quot;/404.html&quot; /&amp;gt;&#xA;        &amp;lt;/httpErrors&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-11-19T23:48:44.123" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15027" PostTypeId="2" ParentId="6649" CreationDate="2018-11-20T03:50:09.807" Score="3" Body="&lt;p&gt;Here is how I used Sitecore PowerShell Extensions to read a specific variable value.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$config = [Sitecore.Configuration.Factory]::GetConfiguration()&#xA;$speSourceFolder = $config.sitecore.&quot;sc.variable&quot; | &#xA;    Where-Object { $_.Name -eq &quot;speSourceFolder&quot; } | &#xA;    Select-Object -First 1 -Expand value&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QVOMx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QVOMx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-11-20T03:50:09.807" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15029" PostTypeId="1" CreationDate="2018-11-20T04:53:21.060" Score="0" ViewCount="131" Body="&lt;p&gt;I am adding toggle switch as a custom field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Toggle.cs (Toggle C# code)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Toggle: Sitecore.Form.Web.UI.Controls.Checkbox&#xA;    {&#xA;    }&#xA;&#xA;    public class ToggleField : Sitecore.Forms.Mvc.ViewModels.Fields.CheckboxField&#xA;    {&#xA;        public override void Initialize()&#xA;        {&#xA;            base.Initialize();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Toggle.cshtml (This is the toggle view page)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.BeginField())&#xA;{&#xA;&#xA;    &amp;lt;label class=&quot;switch&quot;&amp;gt;&#xA;        &amp;lt;input type=&quot;checkbox&quot; checked&amp;gt;&#xA;    &amp;lt;/label&amp;gt;&#xA;&#xA;}&#xA;&amp;lt;style&amp;gt;&#xA;    .switch {&#xA;        position: relative;&#xA;        display: inline-block;&#xA;        width: 60px;&#xA;        height: 34px;&#xA;    }&#xA;&#xA;        .switch input {&#xA;            opacity: 0;&#xA;            width: 0;&#xA;            height: 0;&#xA;        }&#xA;&#xA;    .slider {&#xA;        position: absolute;&#xA;        cursor: pointer;&#xA;        top: 0;&#xA;        left: 0;&#xA;        right: 0;&#xA;        bottom: 0;&#xA;        background-color: #ccc;&#xA;        -webkit-transition: .4s;&#xA;        transition: .4s;&#xA;    }&#xA;&#xA;        .slider:before {&#xA;            position: absolute;&#xA;            content: &quot;&quot;;&#xA;            height: 26px;&#xA;            width: 26px;&#xA;            left: 4px;&#xA;            bottom: 4px;&#xA;            background-color: white;&#xA;            -webkit-transition: .4s;&#xA;            transition: .4s;&#xA;        }&#xA;&#xA;    input:checked + .slider {&#xA;        background-color: #2196F3;&#xA;    }&#xA;&#xA;    input:focus + .slider {&#xA;        box-shadow: 0 0 1px #2196F3;&#xA;    }&#xA;&#xA;    input:checked + .slider:before {&#xA;        -webkit-transform: translateX(26px);&#xA;        -ms-transform: translateX(26px);&#xA;        transform: translateX(26px);&#xA;    }&#xA;&#xA;    /* Rounded sliders */&#xA;    .slider.round {&#xA;        border-radius: 34px;&#xA;    }&#xA;&#xA;        .slider.round:before {&#xA;            border-radius: 50%;&#xA;        }&#xA;&amp;lt;/style&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can see the toggle switch but there is a checkbox sitting under the toggle so clicking on the toggle does not do anything . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see the following code is being injected &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;span class=&quot;button-checkbox bootstrap-checkbox&quot;&amp;gt;&#xA;&amp;lt;button type=&quot;button&quot; class=&quot;btn clearfix custom-btn&quot;&amp;gt;&#xA;&amp;lt;span class=&quot;icon fa fa-check theme-text&quot; style=&quot;display: inline;&quot;&amp;gt;&#xA;&amp;lt;/span&amp;gt;&#xA;&amp;lt;span class=&quot;icon fa fa-check-square&quot; style=&quot;display: none;&quot;&amp;gt;&amp;lt;/span&amp;gt;&#xA;&amp;lt;span class=&quot;icon cb-icon-check-indeterminate&quot; style=&quot;display:none;&quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/button&amp;gt;&#xA;&amp;lt;/span&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The following code is sitting under the toggle switch code and if I remove this code then toggle switch starts working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything I am doing wrong .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions or help aprreciated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;JSFiddle link &lt;a href=&quot;https://jsfiddle.net/f2637e5p/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jsfiddle.net/f2637e5p/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerDisplayName="user2980" LastEditorUserId="2418" LastEditDate="2018-11-22T01:28:38.330" LastActivityDate="2018-11-22T01:28:38.330" Title="WFFM custom toggle switch" Tags="|sitecore-api|javascript|custom-field|css|" AnswerCount="1" CommentCount="8" ClosedDate="2018-11-22T09:33:59.273" ContentLicense="CC BY-SA 4.0" />
  <row Id="15030" PostTypeId="1" AcceptedAnswerId="15031" CreationDate="2018-11-20T06:20:32.590" Score="1" ViewCount="602" Body="&lt;p&gt;I have a role &quot;Editor&quot; which is having certain permissions and don't have read access to Sitecore/Social item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now i need to create a new role &quot;Approver&quot; which is having same access as Editor but with additional Read and Write access to Sitecore/Social Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried by making Approver as member of Editor and then gave additional access to Approver. But this is not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/U7yHj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/U7yHj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2018-11-20T06:53:56.003" Title="Inheriting Sitecore Roles" Tags="|security|role-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15031" PostTypeId="2" ParentId="15030" CreationDate="2018-11-20T06:37:47.673" Score="6" Body="&lt;p&gt;&lt;code&gt;Deny&lt;/code&gt; access right cannot be overwritten by any allow rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you need to do is to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;remove that &lt;code&gt;Deny&lt;/code&gt; read access for &lt;code&gt;Editor&lt;/code&gt; role&lt;/li&gt;&#xA;&lt;li&gt;make your &lt;code&gt;Approver&lt;/code&gt; role a member of &lt;code&gt;Editor&lt;/code&gt; role&lt;/li&gt;&#xA;&lt;li&gt;disable inheritance of access rights for that item for your &lt;code&gt;Editor&lt;/code&gt; role &lt;/li&gt;&#xA;&lt;li&gt;and for your &lt;code&gt;Approver&lt;/code&gt; role you need to assign &lt;code&gt;Read&lt;/code&gt; and &lt;code&gt;Write&lt;/code&gt; back&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More information can be found in &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/the_inheritance_access_right&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_and_administration/access_rights/the_inheritance_access_right&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-11-20T06:53:56.003" LastActivityDate="2018-11-20T06:53:56.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15032" PostTypeId="1" AcceptedAnswerId="15034" CreationDate="2018-11-20T08:00:49.267" Score="0" ViewCount="1395" Body="&lt;p&gt;I have to get data of rendering parameters used by a specific sub-layout. Is there a way to get all items which are using a particular Sublayout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&#xA;I have a Sublayout &quot;SiteHeader&quot; and it has a rendering parameter template with a parameter &quot;show image&quot; checkbox.&#xA;I need to fetch all the items which are using this &quot;SiteHeader&quot; Sublayout and the value of &quot;show image&quot; field i.e. if it is checked or not.&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="95" LastEditDate="2018-11-20T12:59:23.420" LastActivityDate="2018-11-21T02:11:49.193" Title="Getting all items using a Specific Sublayout using Sitecore Powershell Extensions" Tags="|sitecore-client|powershell-extensions|sitecore-query|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15034" PostTypeId="2" ParentId="15032" CreationDate="2018-11-20T09:16:45.887" Score="8" Body="&lt;p&gt;Yes you can. I would go through the Links database in order to do that, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$rendering = Get-Item -Path '{093B75B4-5060-4F3D-AFAB-DCA4999F7E96}'&#xA;$items = @()&#xA;[Sitecore.Globals]::LinkDatabase.GetReferrers($rendering) | &#xA;    Where-Object -FilterScript { $_.SourceFieldId -eq '{04BF00DB-F5FB-41F7-8AB7-22408372A981}' -or $_.SourceFieldId -eq '{F1A1FE9E-A60C-4DDB-A3A0-BB5B29FE732E}' } | &#xA;    Select-Object -Property SourceItemID -Unique |&#xA;    ForEach-Object {&#xA;        $item = Get-Item -Path $_.SourceItemId&#xA;        #you can add further filtering code here&#xA;        $items += $item&#xA;    }&#xA;&#xA;$items&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Replace the ID on the first line with your Sublayouts ID. Then that goes to the link database to find all items that links to this item, filters them to only take the shared and final renderings fields, and selects the unique rows. Then it gets all the items and adds it to an array.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;edit: made it a bit clearer and fetched the items rather than just the ids&lt;/p&gt;&#xA;" OwnerUserId="2327" LastEditorUserId="2327" LastEditDate="2018-11-20T09:51:53.793" LastActivityDate="2018-11-20T09:51:53.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15036" PostTypeId="1" AcceptedAnswerId="15497" CreationDate="2018-11-20T11:51:54.020" Score="1" ViewCount="134" Body="&lt;p&gt;I have an PaaS Application hosted on Azure. It's running Sitecore.NET 9.0.2 (rev. 180604) with Ucommerce 7.13.0.18309. Now everything had been running fine, until yesterday. One of Sitecore's config's was updated with a new Password, and the App was restarted. But since then, the Application is not responding at all, just getting 503 error. I can see the Ucommerce logs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;25020 11:00:09 INFO  Resetting the template engine, because it is initialized but empty. 25020 11:00:30 INFO  BuildTemplates() called.&lt;br /&gt;&#xA;  25020 11:00:33 INFO  TemplateDataProvider.BuildTemplates(). 3122 ms&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But prior to the App restart yesterday, we could see:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;40340 10:17:20 INFO  Resetting the template engine, because it is initialized but empty.&lt;br /&gt;&#xA;  40340 10:18:08 INFO  BuildTemplates() called.&lt;br /&gt;&#xA;  40340 10:18:22 INFO  TemplateDataProvider.BuildTemplates(). 13928 ms&lt;br /&gt;&#xA;  40340 10:18:35 INFO  Adding categories to cache took 2341 ms. &lt;br /&gt;&#xA;  40340 10:18:35 INFO  ContentNodeDataProvider.Initialize(). 2374 ms&lt;br /&gt; &#xA;  40340 10:18:35 INFO  Dependencies have been setup.&lt;br /&gt;&#xA;  40340 10:19:17 INFO  Initializing the System Data Provider data &lt;br /&gt;&#xA;  40340 10:19:37 INFO  SystemDataProvider.InitializeData(). 20135 ms &lt;br /&gt;&#xA;  27400 10:19:37 INFO  Initializing the Product Data Provider data &lt;br /&gt;&#xA;  27400 10:19:37 INFO  Calculated the partition depth to be 1, based upon 179 products. &lt;br /&gt;&#xA;  27400 10:19:37 INFO  ProductsDataProvider.InitializeData(). 113 ms &lt;br /&gt;&#xA;  40340 10:19:38 INFO  Adding language to list of versions: en&lt;br /&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It seems that something is unable to complete or some sort of lock. And in the Sitecore logs it just sits on - Sitecore is running in Standalone role:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;20632 11:05:24 INFO  Cache created: 'ExperienceAnalytics.Sites' (max&#xA;  size: 1MB, running total: 1302MB)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I remove all Sitecore.uCommerce_ configs from /App_Config/Include (11 files) then restart the App, then Sitecore will start responding and everything is working as expected. So I just wanted to see if anyone had seen anything like this before, or how I can recover the App? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Addition: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've already implemented this hotfix &lt;a href=&quot;https://kb.sitecore.net/articles/910936&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/910936&lt;/a&gt; &lt;br /&gt;&#xA;&lt;strong&gt;Deadlock causes site unresponsiveness on application start&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1369" LastEditorUserId="73" LastEditDate="2018-11-20T12:02:04.993" LastActivityDate="2018-12-12T14:26:52.330" Title="Resetting the template engine, because it is initialized but empty - 503 error" Tags="|ucommerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15039" PostTypeId="1" CreationDate="2018-11-20T13:24:41.293" Score="0" ViewCount="186" Body="&lt;p&gt;We are using  Sitecore Commerce 9.0.1 update 1. We are creating multiple indexes to avoid Azure field limit ( 1000).My question is , how the Azure search to get the results from multiple indexes?&#xA;We are using Sitecore SA search box and search results component.&#xA;Do we need to add/change any config to force the search to get the results from multiple indexes?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="73" LastEditDate="2018-11-20T13:38:50.173" LastActivityDate="2018-11-22T08:18:23.733" Title="Fetching the data from Sitecore Azure having multiple indexes" Tags="|sxa|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15040" PostTypeId="1" AcceptedAnswerId="15042" CreationDate="2018-11-20T13:49:08.680" Score="2" ViewCount="434" Body="&lt;p&gt;I am creating a script to fetch rendering parameters of a sublayout and edit data template item field data based on the values of fields of rendering parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to fetch renderings in .aspx page using the code&#xA;&lt;code&gt;Sitecore.Layouts.RenderingReference[] renderings = ProfileItemWithLanguage.Visualization.GetRenderings(Sitecore.Context.Device, true);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this is always giving me shared renderings. I have different data in different languages and need to fetch language specific data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please advice.&lt;/p&gt;&#xA;" OwnerUserId="4452" LastActivityDate="2018-11-20T17:18:32.937" Title="Fetching Final renderings in an .aspx page" Tags="|sitecore-client|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15041" PostTypeId="2" ParentId="9519" CreationDate="2018-11-20T13:49:24.413" Score="0" Body="&lt;p&gt;In my case, I solved it by removing the Unicorn.DataProvider.config file from the CD environment. This config file contains the following section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;databases&amp;gt;&#xA;      &amp;lt;database id=&quot;master&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;... which causes Sitecore to look for a master database, which in turn causes the exception.&lt;/p&gt;&#xA;" OwnerUserId="3703" LastActivityDate="2018-11-20T13:49:24.413" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15042" PostTypeId="2" ParentId="15040" CreationDate="2018-11-20T14:22:43.590" Score="4" Body="&lt;p&gt;You can try something like this one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var sharedRenderings = GetRenderings(Sitecore.Context.Item, Sitecore.FieldIDs.LayoutField);&#xA;var finalRenderings = GetRenderings(Sitecore.Context.Item, Sitecore.FieldIDs.FinalLayoutField);&#xA;&#xA;&#xA;private static int GetRenderings(Sitecore.Data.Items.Item item, Sitecore.Data.ID renderingFieldId)&#xA;{&#xA;    var field = item.Fields[renderingFieldId];&#xA;    var layoutXml = Sitecore.Data.Fields.LayoutField.GetFieldValue(field);&#xA;    var layout = Sitecore.Layouts.LayoutDefinition.Parse(layoutXml);&#xA;    var deviceLayout = layout.Devices[0] as Sitecore.Layouts.DeviceDefinition;&#xA;    return deviceLayout != null ? deviceLayout.Renderings : null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I used code from this answer: &lt;a href=&quot;https://sitecore.stackexchange.com/a/4956/277&quot;&gt;https://sitecore.stackexchange.com/a/4956/277&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="73" LastEditDate="2018-11-20T17:18:32.937" LastActivityDate="2018-11-20T17:18:32.937" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15044" PostTypeId="2" ParentId="9298" CreationDate="2018-11-20T14:24:51.520" Score="2" Body="&lt;p&gt;I know this is old but I faced a similar issue with slick and experience editor. Slick by default will assume that all direct children of the carousel div should be slides and since EE injects its own code tags that cause issues. There is an option you can set to limit the children of the carousel with a selector called 'slide'. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to set it and test again.&lt;/p&gt;&#xA;" OwnerUserId="3881" LastActivityDate="2018-11-20T14:24:51.520" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15045" PostTypeId="2" ParentId="14998" CreationDate="2018-11-20T15:35:45.327" Score="2" Body="&lt;p&gt;I got the PowerShell script working as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Script:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$SitecoreInstanceUri = &quot;https://helixsite.local&quot;&#xA;$Username = &quot;admin&quot;&#xA;$Password = &quot;b&quot;&#xA;$SitecorePackagePath = &quot;C:\inetpub\wwwroot\helixsite.local\App_Data\packages\Helix.Project.Website.Master.update&quot;&#xA;&#xA;#Create a new script session&#xA;$session = New-ScriptSession -Username $Username -Password $Password -ConnectionUri $SitecoreInstanceUri&#xA;&#xA;Write-Host &quot;Installing Sitecore update package '$SitecorePackagePath' on '$SitecoreInstanceUri'&quot;&#xA;&#xA;$jobId = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;    $package = $using:SitecorePackagePath&#xA;    Write-Log &quot;Installing Sitecore update package '$package'&quot;&#xA;    Install-UpdatePackage -Path $package -UpgradeAction Upgrade -InstallMode Install | Format-Table ShortDescription -Verbose&#xA;} -AsJob -Verbose&#xA;&#xA;if (!$jobId) { &#xA;    Write-Host &quot;No jobId was created. Please check if your Powershell Remoting is activated on the target instance '$SitecoreInstanceUri'&quot;&#xA;}&#xA;&#xA;#doneScript is the script that gets executed every 5 seconds and checks the state of the executed script. It returns a custom PowerShell object with Name, IsDone and Status&#xA;$doneScript = {&#xA;        $backgroundScriptSession = Get-ScriptSession -Id $using:jobId&#xA;        $isDone = $backgroundScriptSession -eq $null -or $backgroundScriptSession.State -ne &quot;Busy&quot;&#xA;        [PSCustomObject]@{&#xA;            &quot;Name&quot; = $backgroundScriptSession.Id&#xA;            &quot;IsDone&quot; = $isDone&#xA;            &quot;Status&quot; = &quot;$($backgroundScriptSession.State)&quot;&#xA;        }&#xA;    }&#xA;&#xA;try {&#xA;    $keepRunning = $true&#xA;    while($keepRunning) {&#xA;        #Execute the doneScript and check the response.&#xA;        $response = Invoke-RemoteScript -Session $session -ScriptBlock $doneScript&#xA;        if($response -and $response.IsDone) {&#xA;            $keepRunning = $false&#xA;            Write-Host &quot;Polling job $($response.Name). Status : $($response.Status).&quot;&#xA;            Write-Host &quot;Finished polling job $($id).&quot;&#xA;        } else {&#xA;            Write-Host &quot;Polling job $($response.Name). Status : $($response.Status).&quot;&#xA;            Start-Sleep -Seconds 5&#xA;        }&#xA;    }   &#xA;} catch {&#xA;    if ($_.Exception.Message -eq &quot;ScriptSessionNotFound,Cognifide.PowerShell.Commandlets.ScriptSessions.GetScriptSessionCommand&quot;) {&#xA;        Write-Host &quot;Package installation triggered application pool recycling.&quot;&#xA;    }&#xA;    else&#xA;    {&#xA;     throw&#xA;    }&#xA;}&#xA;&#xA;Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;    $ss = Get-ScriptSession -Id $using:JobId&#xA;    $ss | Receive-ScriptSession&#xA;}&#xA;&#xA;Write-Host &quot;Sitecore update package installed.&quot;&#xA;Stop-ScriptSession -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What changed here&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changed from this,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-UpdatePackage -Path $package -UpgradeAction Upgrade -InstallMode Install&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To this script,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-UpdatePackage -Path $package -UpgradeAction Upgrade -InstallMode Install | Format-Table ShortDescription -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If there are a lot of updates included in the update package then the response can get pretty huge and it can cause &lt;code&gt;request timeout&lt;/code&gt; or &lt;code&gt;connection timeout&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to avoid it timeout issues, I'm reading just one property &lt;code&gt;ShortDescription&lt;/code&gt; in the response from &lt;code&gt;List&amp;lt;ContingencyEntry&amp;gt;&lt;/code&gt; which is returned from &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/packaging/install-updatepackage#outputs&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Install-UpdatePackage&lt;/code&gt;&lt;/a&gt;. We can cut down on the response by using filter &lt;code&gt;Where-Object&lt;/code&gt; in the script above if needed. Also, it is required to add &lt;code&gt;-Verbose&lt;/code&gt; to this part of script to receive the response remotely.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly to get the response in the local console OR to the CI/CD output I have added this section in the end right before closing the session,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;    $ss = Get-ScriptSession -Id $using:JobId&#xA;    $ss | Receive-ScriptSession&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2018-12-19T19:51:59.313" LastActivityDate="2018-12-19T19:51:59.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15046" PostTypeId="2" ParentId="15018" CreationDate="2018-11-20T17:49:07.230" Score="2" Body="&lt;p&gt;Step 1 is in your JSS app's &lt;code&gt;/sitecore/definitions&lt;/code&gt; folder. Any of the component, route, etc definitions in here will work for this. By default &lt;code&gt;*.sitecore.js&lt;/code&gt; and &lt;code&gt;*.sitecore.ts&lt;/code&gt; are part of the manifest sourcing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 2 and 3 are done in C#/Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Step 4 is within the JSS app.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-11-20T17:49:07.230" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15047" PostTypeId="2" ParentId="15029" CreationDate="2018-11-20T20:21:56.847" Score="2" Body="&lt;p&gt;You're rendering the HTML markup directly in your cshtml file, but you need to use the Html Helpers. I suggest you take a look at the default Checkbox field markup located in &lt;code&gt;/Website/Views/Form/EditorTemplates/CheckboxField.cshtml&lt;/code&gt;, your markup is almost exactly the same as the default view:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;@using Sitecore.WFFM.Abstractions.Data.Enums&#xA;@using Sitecore.Forms.Mvc.Html&#xA;@model Sitecore.Forms.Mvc.ViewModels.Fields.CheckboxField&#xA;&#xA;@using (Html.BeginField())&#xA;{&#xA;    var cssclass = Model.FormType == FormType.Inline ? &quot;checkbox-inline&quot; : &quot;checkbox&quot;;&#xA;    &amp;lt;div class=&quot;@cssclass&quot;&amp;gt;&#xA;        &amp;lt;label&amp;gt;&#xA;            @Html.CheckBoxFor(x =&amp;gt; Model.Value)&#xA;            @Html.BootstrapText(&quot;Title&quot;)&#xA;        &amp;lt;/label&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can get away &lt;em&gt;withoiut&lt;/em&gt; a custom field, by changing the &lt;code&gt;.switch&lt;/code&gt; class selector in (I presume) your JavaScript/jQuery code to instead of looking for &lt;code&gt;&quot;label.switch&quot;&lt;/code&gt; to &quot;&lt;code&gt;div.switch label&lt;/code&gt;&quot; (this is purely a guess without looking at that code, you don't need the node selector here tbh).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then add a custom class for WFFM and then apply to the fields that require this custom functionality. Move the styling to the CSS files that the rest of your site uses, rather than putting it inline in the view, this is general best practice anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/51MTx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/51MTx.png&quot; alt=&quot;Meta Data Css Class&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GG9cr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GG9cr.png&quot; alt=&quot;Apply Css Class&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-11-20T20:21:56.847" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15053" PostTypeId="1" AcceptedAnswerId="15065" CreationDate="2018-11-20T23:28:23.057" Score="0" ViewCount="542" Body="&lt;p&gt;Let me start of by describing my current set up. I am currently having Sitecore 8.2 update 6 running with Solr Cloud 5.5.1 as a search engine. I have 1 CM and 2 CDs. Solr Cloud is running on 5 servers (2 Solr nodes running behind load balance and zookeeper on all 5 servers). CM is pointing to Solr 1 to process indexing and CDs are connected to Solr via load balance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am constantly having issue with search results and try to find out if it is set up or config issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Sometimes I do not see primary Index and secondary Index sync between Solr node&#xA;2- Primary index and secondary index do not in sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My understanding is Zookeeper should keep both Solr node in sync and Sitecore is taking care the syncing between primary index and secondary during switchindex on rebuild. However I do not see it is happening and wonder if anyone could share opinion if this is potentially the design issue, config issue, etc...? Is it zookeeper or sitecore job to keep primary and secondary in sync during rebuild index? It would be great if you could suggest location to look for to verify the configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3179" LastEditorUserId="73" LastEditDate="2018-11-21T09:59:21.333" LastActivityDate="2018-11-21T09:59:21.333" Title="How Sitecore index primary and secondary sync in SolrCloud?" Tags="|content-search|solr|indexing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15056" PostTypeId="2" ParentId="15032" CreationDate="2018-11-21T02:11:49.193" Score="2" Body="&lt;p&gt;Likely very similar output as @morten.engel's response, but Sitecore Powershell Extensions has a &lt;code&gt;Get-ItemReferrer&lt;/code&gt; &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/common/get-itemreferrer&quot; rel=&quot;nofollow noreferrer&quot;&gt;command&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$allReferrers = Get-ItemReferrer -ID '{093B75B4-5060-4F3D-AFAB-DCA4999F7E96}'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above will return &lt;em&gt;all&lt;/em&gt; referrers to the item specified by the &lt;code&gt;ID&lt;/code&gt;.  If you need to filter the referrers based on additional fields:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$checkedReferrers = Get-ItemReferrer -ID '{093B75B4-5060-4F3D-AFAB-DCA4999F7E96}' | Where-Object {$_.Fields[&quot;Show Image&quot;].Value -eq 'checked'}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, if you &lt;em&gt;need&lt;/em&gt; to know or filter based on the actual field &lt;em&gt;referencing&lt;/em&gt; the specific item, &lt;code&gt;Get-ItemReferrer&lt;/code&gt; also has a &lt;code&gt;-ItemLink&lt;/code&gt; switch that will return &lt;code&gt;Links&lt;/code&gt; instead of &lt;code&gt;Items&lt;/code&gt; (almost exact to @morten.engel's answer):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$filteredFieldReferrers = Get-ItemReferrer -ID '{093B75B4-5060-4F3D-AFAB-DCA4999F7E96}' -ItemLink &#xA;| Where-Object { $_.SourceFieldId -eq '{04BF00DB-F5FB-41F7-8AB7-22408372A981}' -or $_.SourceFieldId -eq '{F1A1FE9E-A60C-4DDB-A3A0-BB5B29FE732E}' } &#xA;| Select-Object -Property SourceItemID -Unique | Get-Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="695" LastActivityDate="2018-11-21T02:11:49.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15057" PostTypeId="2" ParentId="14975" CreationDate="2018-11-21T03:26:41.110" Score="2" Body="&lt;p&gt;Another option would be to generate a report using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Powershell Extensions&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Get-Items () {&#xA;    # Set the item you want to check here&#xA;    $item = Get-Item -Path &quot;master:/sitecore/content/&quot;&#xA;&#xA;    $finalUserList = New-Object System.Collections.Generic.List[System.Object]&#xA;    $users = [Sitecore.Security.Accounts.UserManager]::GetUsers()&#xA;    foreach ($user in $users) {&#xA;        New-UsingBlock (New-Object Sitecore.Security.Accounts.UserSwitcher $user) {&#xA;            if ($item.Access.CanRead()) {&#xA;                if ($item.Access.CanWrite()) {&#xA;                    $finalUserList.Add($user.Name)&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    $finalUserList&#xA;}&#xA;&#xA;$props = @{&#xA;    InfoTitle = &quot;Check User Read+Write Access for an Item&quot;&#xA;    InfoDescription = &quot;Report for identifying if a user has Read and Write access to a specific item.&quot;&#xA;    PageSize = 100&#xA;}&#xA;&#xA;Get-Items | Show-ListView @props -Property @{ Label = &quot;User Name&quot;; Expression = { $_ } }&#xA;&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SdLGC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SdLGC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4633" LastActivityDate="2018-11-21T03:26:41.110" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15058" PostTypeId="1" AcceptedAnswerId="15059" CreationDate="2018-11-21T05:29:47.130" Score="5" ViewCount="462" Body="&lt;p&gt;How to deploy dianoga or dianoga.imagemagic with sitecore to test environment? &lt;br/&gt;&#xA;I am using buildmaster to deploy the web application to test environment. By the normal build it's not deployed to test environment. I have tried to just send the build with the nuget package reference in .csproj file.&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other way to deploy Dianoga or Dianoga.Imagemagic to next level of environments like Test, UAT, Prod etc?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to check dianoga.imagemagic is working on test environment? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where can I find logs specifically for dianoga.imagemagic in my application? Any other way to validate the working of Dianoga.imagemagic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or pointer will be highly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3133" LastEditorUserId="2056" LastEditDate="2018-11-21T07:30:35.800" LastActivityDate="2018-11-21T07:30:35.800" Title="Deployment of dianoga or dianoga.imagemagic to Test environment" Tags="|dianoga|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15059" PostTypeId="2" ParentId="15058" CreationDate="2018-11-21T07:25:01.087" Score="4" Body="&lt;p&gt;The easiest way to deploy Dianoga is via nuget with your solution.  As long as you add the Nuget package and your build pipeline is doing a Nuget restore as part of the deployment, then the resulting deployment should have everything Dianoga needs to operate.  You can confirm by checking that the built solution contains the appropriate assembly (bin\Dianoga.dll), configs (in App_Config\Include\Dianoga*) and tools (App_Data\Dianoga Tools*)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although the recommended install method is via Nuget, Dianoga can be installed manually, as per installation notes at &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/Dianoga&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To perform a manual installation:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Copy the Dianoga Tools folder to the App_Data folder of your website&lt;/li&gt;&#xA;  &lt;li&gt;Copy Default Config Files/*.config to App_Config\Include\Dianoga&lt;/li&gt;&#xA;  &lt;li&gt;Reference Dianoga.dll or the source project in your web project&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To confirm Dianoga is working, check your Sitecore application logs (in AppData\Logs for a default on prem Sitecore 9+ install).  If all is ok, there will be INFO level entries beginning with &lt;em&gt;Dianoga&lt;/em&gt; giving the stats on the files optimised.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to clear your App_Data/MediaCache folder on the target server! Otherwise unoptimized images in the cache will continue to be served.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Installing Dianoga.ImageMagick is a similar process, just a different Nuget package (that has a dependency on Dianoga).&lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2018-11-21T07:25:01.087" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15060" PostTypeId="1" AcceptedAnswerId="15064" CreationDate="2018-11-21T07:43:34.893" Score="2" ViewCount="335" Body="&lt;p&gt;I want to transfer users from our QA environment to the PROD environment on Sitecore.NET 8.2 (rev. 170728).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is totally fine if the users are deactivated and have a random password set. Unfortunately it seems like I cannot import &lt;strong&gt;any&lt;/strong&gt; user since the default or empty password does not meet the password policy requirements. How can I import the users?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do have access to the serialization files, so I can edit them if that helps. On other environments, I temporarily changed the config, but I cannot do that on PROD.&lt;/p&gt;&#xA;" OwnerUserId="1714" LastActivityDate="2018-11-22T14:10:52.987" Title="How to Transfer Users with active password policy" Tags="|security|user-management|serialization|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15061" PostTypeId="2" ParentId="15060" CreationDate="2018-11-21T08:15:31.727" Score="0" Body="&lt;p&gt;Sitecore membership is based on ASP.Net membership. It means that you can use same approach for moving users from one DB to another. It is low-level actions with data that could give you better understanding how users/roles information is managed in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open Microsoft SQL Server Management Studio&lt;/li&gt;&#xA;&lt;li&gt;Connect to SQL server with Sitecore Core QA database&lt;/li&gt;&#xA;&lt;li&gt;Click right mouse button on Sitecore Core QA database, select &quot;Generate scripts...&quot; from context menu&lt;/li&gt;&#xA;&lt;li&gt;Select all tables, where name starts with &quot;aspnet_&quot; on first page of wizard&lt;/li&gt;&#xA;&lt;li&gt;Click &quot;Advanced&quot; button on second page of wizard. Select &quot;Types of data to script&quot;:&quot;Data only&quot;, &quot;Script DROP and CREATE&quot;:&quot;Script DROP and CREATE&quot;&lt;/li&gt;&#xA;&lt;li&gt;Generate script&lt;/li&gt;&#xA;&lt;li&gt;Backup Sitecore Core Production Database &lt;/li&gt;&#xA;&lt;li&gt;Run script generated from Core QA database on Core Production database&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-11-21T08:15:31.727" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15063" PostTypeId="2" ParentId="14710" CreationDate="2018-11-21T08:35:44.877" Score="0" Body="&lt;p&gt;I was able to solve this, I have made .cshtml view inside my Visual Studio and connect them with Message Root vie the Layout. Added a new Layout in Sitecore and in the field path added a path to my .cshtml view. Then added in Thamplates/Branches new branch and in it created new Message Root, as explained in documentation &lt;a href=&quot;https://doc.sitecore.net/email_experience_manager/configuring_messages/types_and_templates/walkthrough_building_a_custom_message_template&quot; rel=&quot;nofollow noreferrer&quot;&gt;EXM Create custom template&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then the Message Root needs to be connected to the layout. You click on Message Root and in Configure tab you go to details, pop up will open and there you can add the layout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps someone it took me a while to get this working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For start I have just added a static .cshtml page and then I have added the fields and Template.cs &lt;/p&gt;&#xA;" OwnerUserId="4285" LastActivityDate="2018-11-21T08:35:44.877" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15064" PostTypeId="2" ParentId="15060" CreationDate="2018-11-21T09:23:04.450" Score="2" Body="&lt;p&gt;There is a config settings you can use called &lt;code&gt;SerializationPassword&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just use a config patch file with&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;    &amp;lt;setting name=&quot;SerializationPassword&quot; value=&quot;Secret!@#&quot; /&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and deserialize your serialized users after.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore will set all your new users' passwords to &lt;code&gt;Secret!@#&lt;/code&gt; (or whatever value you want) instead of default &lt;code&gt;b&lt;/code&gt; which is used when the setting is not present.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can deserialize you users in PROD and then change they passwords to whatever you want manually.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-11-21T09:50:27.017" LastActivityDate="2018-11-21T09:50:27.017" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15065" PostTypeId="2" ParentId="15053" CreationDate="2018-11-21T09:57:35.737" Score="0" Body="&lt;p&gt;I think you may be mixing two concepts&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Multiple nodes configured in SolrCloud.&lt;/li&gt;&#xA;&lt;li&gt;Multiple (sets of) indexes configured in Sitecore.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In the first instance, SolrCloud should keep the indexes stored in the individual SolrCores in sync. In SolrCloud, a set of indexes replicated across multiple nodes (SolrCores) is called a &lt;strong&gt;Collection&lt;/strong&gt; &lt;a href=&quot;https://wiki.apache.org/solr/SolrCloud#A_little_about_SolrCores_and_Collections&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the second instance, Sitecore defines a mechanism called SwitchOnRebuild &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/indexing/switch_solr_indexes&quot; rel=&quot;nofollow noreferrer&quot;&gt;2&lt;/a&gt;. This allows you to create two sets of indexes (core &amp;amp; core_2, web &amp;amp; web_2, etc.) so that one index can be in use by your website while the other is being rebuilt - I have experienced issues with these being out of sync if the configuration is not &lt;em&gt;just so&lt;/em&gt; and even then have had to raise support tickets.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;ZooKeeper&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As you mention ZooKeeper, here's the definition from the SolrCloud docs: &lt;a href=&quot;https://wiki.apache.org/solr/SolrCloud#A_little_about_SolrCores_and_Collections&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Solr embeds and uses Zookeeper as a repository for cluster configuration and coordination - think of it as a distributed filesystem that contains information about all of the Solr servers&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="491" LastActivityDate="2018-11-21T09:57:35.737" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15066" PostTypeId="1" AcceptedAnswerId="15184" CreationDate="2018-11-21T10:35:49.207" Score="1" ViewCount="1006" Body="&lt;p&gt;I'm using Sitecore 9.0.1, i'm getting this error in console when opening the experience profile dashboard and it returns no contacts.&#xA;It looks like this error is due to the ajax response of the following api :&#xA; /sitecore/api/ao/v1/contacts/search?&amp;amp;pageSize=20&amp;amp;pageNumber=1&amp;amp;.....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LFbFo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LFbFo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the Xconnect logs and got the following error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Error] Sitecore.XConnect.Operations.SetFacetOperation`1[Sitecore.XConnect.Facet]: &#xA;Sitecore.XConnect.Operations.FacetOperationException: Operation #1, &#xA;AlreadyExists, Contact {3ef744bc-bd5b-0000-0000-055d7358d781}, PhoneNumbers &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After checking the cm logs again i found this Error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Exception: System.MissingMethodException&#xA;Message: Method not found: 'Void Newtonsoft.Json.Serialization.JsonObjectContract.set_ParametrizedConstructor(System.Reflection.ConstructorInfo)'.&#xA;Source: Sitecore.XConnect&#xA;   at Sitecore.XConnect.Serialization.SearchQueryContractResolver.CreateObjectContract(Type objectType)&#xA;   at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(Type objectType)&#xA;   at System.Collections.Concurrent.ConcurrentDictionary&lt;/code&gt;2.GetOrAdd(TKey key, Func&lt;code&gt;2 valueFactory)&#xA;   at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(Type type)&#xA;   at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)&#xA;   at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)&#xA;   at Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer)&#xA;   at Sitecore.XConnect.Client.WebApi.SearchWebApiClient.&amp;lt;Search&amp;gt;d__9&lt;/code&gt;1.MoveNext()`&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what might be causing this error?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="3650" LastEditDate="2018-11-27T10:00:15.957" LastActivityDate="2018-11-27T10:08:01.370" Title="Experience Profile JS error Uncaught TypeError: Cannot read property 'Message' of undefined" Tags="|experience-profile|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15067" PostTypeId="1" CreationDate="2018-11-21T10:45:03.023" Score="1" ViewCount="184" Body="&lt;p&gt;I lost Additional &quot;Key&amp;amp;Value&quot; parameters while changing its template from &quot;Configure&quot; ribbon in Sitecore 8.&#xA; I have added Class in many rendering but when I change its Page template, all its key/value pair got lost.&lt;a href=&quot;https://i.stack.imgur.com/sj6rt.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sj6rt.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we have any setting that will keep Key/Value pair as is even we change the template?&lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="1338" LastEditDate="2018-11-21T10:57:29.093" LastActivityDate="2018-11-21T10:57:29.093" Title="Lost Additional &quot;Key&amp;Value&quot; parameters from Sitecore Presentation details Rendering on changing its template" Tags="|sitecore-client|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15068" PostTypeId="2" ParentId="12553" CreationDate="2018-11-21T10:56:28.013" Score="1" Body="&lt;p&gt;I ran into several issues with Azure search as well and in most cases, it had something to do with one or more of the major differences between using Lucene or Solr and azure search and how Azure search handles queries differently sometimes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;concerning your query, I think you are running into a 'by design' feature of azure search.&#xA;searching for multiple string terms is interpreted differently on Azure search that it would on Solr / Lucene.&#xA;please take a look at this and determine if this can be the cause of you issue.&#xA;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/sitecore_azure_search_overview#_Limitations_of_Azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/sitecore_azure_search_overview#_Limitations_of_Azure&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Automatic tokenization - The Azure Search service automatically&#xA;  tokenizes document field values and queries when searching and&#xA;  faceting. This means that: Substring searches that are limited to a&#xA;  single term, for instance, predicates, .StartsWith(), .EndsWith() and&#xA;  .Contains(), will match parts of terms, and will match terms that are&#xA;  located in any part of the field value. When multiple terms are&#xA;  passed, each term is searched separately, (this can provide more&#xA;  results than expected).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;cheers,&#xA;Pierre&lt;/p&gt;&#xA;" OwnerUserId="4615" LastActivityDate="2018-11-21T10:56:28.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15071" PostTypeId="1" AcceptedAnswerId="18603" CreationDate="2018-11-21T12:25:01.557" Score="2" ViewCount="851" Body="&lt;p&gt;I have enabled &lt;strong&gt;allowKeepAlive&lt;/strong&gt; setting for my application on IIS by set common header (as shown below) but getting connection as close every time in response header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0oY14.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0oY14.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ghaXB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ghaXB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;My application is developed using Sitecore 9.0.1, IIS 10, .Net Framework 4.6.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not getting what I have missed. Followed the given URL &lt;a href=&quot;https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc772183(v=ws.10)&quot; rel=&quot;nofollow noreferrer&quot;&gt;Enable the HTTP Keep-Alive&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3133" LastEditorUserId="3133" LastEditDate="2018-11-27T06:42:33.933" LastActivityDate="2019-05-10T10:24:05.173" Title="Connection keep-alive not coming in Response Header - Sitecore 9.0.1 -Windows Server 2016 - GTMetrix report" Tags="|iis|performance|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15072" PostTypeId="1" AcceptedAnswerId="15076" CreationDate="2018-11-21T16:05:08.620" Score="2" ViewCount="512" Body="&lt;p&gt;What is the use of default.aspx page(present in deploy location) which comes with Sitecore installation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we remove, will it have any impact?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore: 8.2 update 3&lt;/p&gt;&#xA;" OwnerUserId="1003" LastEditorUserId="1003" LastEditDate="2018-11-21T16:30:53.577" LastActivityDate="2018-11-21T17:18:33.360" Title="Can we remove default.aspx page from deploy location?" Tags="|configuration|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15073" PostTypeId="1" AcceptedAnswerId="15250" CreationDate="2018-11-21T16:33:03.540" Score="2" ViewCount="419" Body="&lt;p&gt;I have a Sitecore 8.1 instance running with WeBlog and I want to be able to retrieve the &lt;code&gt;Entry Date&lt;/code&gt; fields from Lucene. The &lt;code&gt;Entry Date&lt;/code&gt; field is a &lt;code&gt;Date Field&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My custom search result item class is defined like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class BlogEntry: SearchResultItem&#xA;{&#xA;    [IndexField(&quot;entrydate&quot;)]&#xA;    public DateTime EntryDate { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After reindexing the field is never populated with the right value when I run the query. Also, I have not created any custom index, I’m using the &lt;code&gt;sitecore_web_index&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what my query looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IQueryable&amp;lt;BlogEntry&amp;gt; searchQuery = searchcontext.GetQueryable&amp;lt;BlogEntry&amp;gt;()&#xA;    .Where(c =&amp;gt; c.TemplateId == new ID(&quot;{5FA92FF4-4AC2-48E2-92EB-E1E4914677B0}&quot;) &#xA;        &amp;amp;&amp;amp; c.Path.Contains(DateTime.Now.Year.ToString()) &#xA;        &amp;amp;&amp;amp; c[BuiltinFields.LatestVersion] == &quot;1&quot; &#xA;        &amp;amp;&amp;amp; c.Language == Sitecore.Context.Language.CultureInfo.TwoLetterISOLanguageName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on what I need to change to have this field start populating with its value?&lt;/p&gt;&#xA;" OwnerUserId="4638" LastEditorUserId="35" LastEditDate="2018-11-29T14:53:50.657" LastActivityDate="2018-11-29T14:53:50.657" Title="Unable to retrieve a date field from lucene" Tags="|lucene|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15074" PostTypeId="1" AcceptedAnswerId="15097" CreationDate="2018-11-21T16:51:54.677" Score="0" ViewCount="266" Body="&lt;p&gt;I'm having some troubles with filling a TagTreelist field programmatically.&#xA;I simply tried the same as for treelist fields as i know it works:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string tagID = Search.GetYearTagItem(year, &quot;/sitecore/content/ORV/Websites/Global/Sanofi COM/Data/Tags&quot;, &quot;Feature/Experience Accelerator/Taxonomy/Datasource/Tag&quot;).ToString(); // returns me the item ID to insert in the treelist &#xA;Sitecore.Diagnostics.Log.Error(&quot;DebugA:&quot;+tagID, this); // this returns me the right ID.&#xA;item.Fields[&quot;Tags&quot;].Value = tagID;// string : ids separated by pipes&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it seems to work differently with TagTreelist because i got the following error : &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Object reference not set to an instance of an object&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what type my object is supposed to receive ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you for your help&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 1&lt;/strong&gt;: i confirm you if i remove this line : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[&quot;Tags&quot;].Value = // string : ids separated by pipes&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the error disappears. The problem definitely comes from the line i guess.&lt;/p&gt;&#xA;" OwnerUserId="2278" LastEditorUserId="2278" LastEditDate="2018-11-21T20:27:09.760" LastActivityDate="2018-11-22T11:06:42.570" Title="Fill TagTreelist field programmatically (SXA)" Tags="|sxa|tree-list|" AnswerCount="1" CommentCount="10" ClosedDate="2018-11-22T11:15:30.103" ContentLicense="CC BY-SA 4.0" />
  <row Id="15075" PostTypeId="2" ParentId="15073" CreationDate="2018-11-21T16:55:55.167" Score="2" Body="&lt;p&gt;You can verify your index with Luke (&lt;a href=&quot;https://code.google.com/archive/p/luke/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://code.google.com/archive/p/luke/&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you do, I think you wil notice that your entrydate field is in the index but not stored (&lt;code&gt;storageType=NO&lt;/code&gt;) meaning that you can search on the field but not get the original value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is indeed the case, you need to add your field to the index definition as stored. As you are using the default index, you need to patch the &lt;code&gt;&amp;lt;defaultLuceneIndexConfiguration&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a field to the &lt;code&gt;&amp;lt;fieldMap&amp;gt;&lt;/code&gt;, something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;XXX&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.DateTime&quot;settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;   &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;ps: best to check the config in your solution to have the exact correct syntax for an extra field. Important part is the &lt;code&gt;storageType=&quot;YES&quot;&lt;/code&gt;. This will tell the index to keep the original value available for retrieval.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can verify all this again in Luke. Check your search logs for the query Sitecore is using. Open the index with Luke and try that query in the Search. Check the results.. to see if fields are stored or not, you can click on a result row to open this in the Documents tab where you get the list of all fields for this document with the &quot;flags&quot;. The S flag indicates that the field is stored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DYgqL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DYgqL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-11-22T10:13:11.310" LastActivityDate="2018-11-22T10:13:11.310" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15076" PostTypeId="2" ParentId="15072" CreationDate="2018-11-21T17:18:33.360" Score="7" Body="&lt;p&gt;The &lt;code&gt;Default.aspx&lt;/code&gt; in the standard install of all versions of Sitecore is nothing more than a placeholder page, it serves no purpose in the normal operation of a functioning Sitecore instance. The page itself contains no logic or is not tied to any backend code, and simple outputs the text &quot;Default page&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page &lt;em&gt;could&lt;/em&gt; be useful to check if your IIS instance has been set up correctly, or that a 200 status code is being returned (although the &lt;code&gt;Heartbeat.aspx&lt;/code&gt; is better for this purpose).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can delete this page if you wish, but unless someone browses to &lt;code&gt;/default.aspx&lt;/code&gt; directly then this page should not normally be served by the system.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-11-21T17:18:33.360" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15078" PostTypeId="1" CreationDate="2018-11-21T18:50:45.987" Score="2" ViewCount="681" Body="&lt;p&gt;Can we adjust the Lucene search results so that items most likely to be related are shown closer to the top of the results feed - I'm thinking this would involve providing higher weight to results with matches in a page title field vs. Results with matches in a body field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: I've made the changes suggested, and it has helped but my goal is to get anything with a word in the title to come up first before anything that doesn't have the word in it (but maybe in some other field such as the body.  This isn't what happens currently even when specifying a very large boost value I get a few items intermixed that don't have the given word in the title.  I had to alter the code slightly to get it working without our model, but here's what I have:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public List&amp;lt;CustomSearchResultItem&amp;gt; GetSiteSearchNew(string searchQuery)&#xA;    {&#xA;        string indexName = App.Core.Config.SettingsManager.GetSetting(&quot;SearchIndexName&quot;);&#xA;        var index = Sitecore.ContentSearch.ContentSearchManager.GetIndex(indexName);&#xA;        var db = Sitecore.Context.Database;&#xA;&#xA;        Sitecore.Diagnostics.Error.AssertNotNull(index,&#xA;            &quot;There is no &quot; + indexName + &quot; index on the current database (&quot; + db.Name + &quot;)&quot;);&#xA;&#xA;        using (var context = index.CreateSearchContext())&#xA;        {&#xA;            var baseQuery = context.GetQueryable&amp;lt;CustomSearchResultItem&amp;gt;();&#xA;&#xA;            var query = PredicateBuilder.True&amp;lt;CustomSearchResultItem&amp;gt;();&#xA;&#xA;            if (!string.IsNullOrWhiteSpace(searchQuery))&#xA;            {&#xA;                // boost specific search matches&#xA;                //query = query.Or(item =&amp;gt; item.Title == searchQuery).Boost(1350);&#xA;&#xA;                // optionally, split up query to find matches on each word&#xA;                foreach (var word in searchQuery.Split(' '))&#xA;                {&#xA;                    query = query.Or(item =&amp;gt; item.Title.Contains(word)).Boost(9350);&#xA;&#xA;&#xA;                }&#xA;            }&#xA;&#xA;            baseQuery = baseQuery.Where(query);&#xA;&#xA;            // pagination, etc.&#xA;&#xA;            var results = baseQuery.ToList();&#xA;&#xA;            return results;&#xA;&#xA;            // return results or map to a DTO, etc.&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="1809" LastEditDate="2018-11-28T14:52:52.303" LastActivityDate="2018-11-28T14:52:52.303" Title="Way to prioritize title field for search results?" Tags="|content-search|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15081" PostTypeId="2" ParentId="15078" CreationDate="2018-11-21T19:20:34.730" Score="9" Body="&lt;p&gt;There's a bit of plumbing you need in place first. Assuming you're already somewhat familiar with the Content Search API, the core of your question is answered below.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Custom Search Result Item&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is needed in order to access the Title field you are referencing. Example implies a field name of &quot;My Title&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomSearchResultItem : SearchResultItem&#xA;{&#xA;    [DataMember]&#xA;    [IndexField(&quot;my_title&quot;)]&#xA;    public string Title { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Search Logic&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex(&quot;my index&quot;);&#xA;&#xA;using (var context = index.CreateSearchContext())&#xA;{&#xA;    var baseQuery = context.GetQueryable&amp;lt;CustomSearchResultItem&amp;gt;();&#xA;&#xA;    var query = PredicateBuilder.True&amp;lt;CustomSearchResultItem&amp;gt;();&#xA;&#xA;    if (!string.IsNullOrWhiteSpace(searchQuery))&#xA;    {&#xA;        // boost specific search matches&#xA;        query = query.Or(item =&amp;gt; item.Title == searchQuery).Boost(50);&#xA;&#xA;        // optionally, split up query to find matches on each word&#xA;        foreach (var word in searchQuery.Split(' '))&#xA;        {&#xA;            query = query.Or(item =&amp;gt; item.Title.Contains(word)); &#xA;        }&#xA;    }&#xA;&#xA;    baseQuery = baseQuery.Where(query);&#xA;&#xA;    // pagination, etc.&#xA;&#xA;    var results = baseQuery.GetResults();&#xA;&#xA;    // return results or map to a DTO, etc.&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What you're mainly after is the &lt;code&gt;Boost&lt;/code&gt; feature. My goto boost is typically &lt;code&gt;50&lt;/code&gt; and seems to work well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My main rule-of-thumb is to boost results that are an exact match (even on a content field), and then split the query into individual words for additional results.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Assemblies required:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.ContentSearch.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.ContentSearch.Linq.dll&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-11-26T19:20:06.843" LastActivityDate="2018-11-26T19:20:06.843" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="15082" PostTypeId="1" AcceptedAnswerId="15083" CreationDate="2018-11-21T20:07:08.650" Score="2" ViewCount="282" Body="&lt;p&gt;A mixup in version differences between developer and server environments we ended up with two different items for some language items. That is, we have 2 items each in /sitecore/system/Languages for en-US and fr-CA. There is already content for both languages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Deleting the unwanted language item gives a dialog that advises that all item versions for that language will also be deleted. Experimentation confirms that this is the case. Between en-US and fr-CA, that is the entirety of the website. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to recover the missing versions by moving the items from the web database to master. Some pages are broken after this trial. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to delete one of the duplicate language items without also deleting all of the content item versions? &lt;/p&gt;&#xA;" OwnerUserId="244" LastEditorUserId="2056" LastEditDate="2018-11-21T21:20:01.403" LastActivityDate="2018-11-21T21:54:18.567" Title="How to delete duplicate languages?" Tags="|multilingual|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15083" PostTypeId="2" ParentId="15082" CreationDate="2018-11-21T21:19:15.423" Score="3" Body="&lt;p&gt;Follow these steps to fix your problem:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Rename languages to ones you are not using so far (you don't have versions of items in those languages so you won't lose them)&lt;/li&gt;&#xA;&lt;li&gt;Publish site&lt;/li&gt;&#xA;&lt;li&gt;Delete renamed languages&lt;/li&gt;&#xA;&lt;li&gt;Publish item itself and subitems of /sitecore/languages/ item&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-21T21:54:18.567" LastActivityDate="2018-11-21T21:54:18.567" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15084" PostTypeId="1" CreationDate="2018-11-21T21:57:36.193" Score="2" ViewCount="401" Body="&lt;p&gt;My apologies for the vagueness of that question, but I'm not sure how else to pose it. Here is the situation. We have a Sitecore 8 project that uses TDS for syncing items. We have a policy of not adding most content into TDS, only one-off structural items are to be added, otherwise it's only templates and renderings and whatnot. One of the content items we do have in TDS is the main homepage item which apparently mistakenly got set to &quot;AlwaysUpdate.&quot; We have the TDS project set to &quot;disable file deployment.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Last night we did a deploy to production and verified that the site was correct. It was also verified to be correct this morning. This afternoon, the homepage had magically reverted to an older state (values on some fields were changed and a few components went missing). I looked on the file system and sure enough, there was a &quot;sitehome.item&quot; file sitting in the /data/serialization/master/content folder that has a timestamp of our deploy the night before. I'm not surprised by this since the item was set to &quot;AlwaysUpdate,&quot; though I thought &quot;disable file deployment&quot; would have stopped this from being uploaded.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I am surprised at is how the site was seemingly fine all day, and then all of a sudden seemed to not only install the sitehome.item file back into the database, but also publish itself to the CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore monitor that serialization folder on a schedule job and import that data back into the system somehow?&lt;/p&gt;&#xA;" OwnerUserId="2016" LastActivityDate="2018-11-22T20:52:54.243" Title="How does Sitecore handle serialization with TDS?" Tags="|tds|serialization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15085" PostTypeId="2" ParentId="15084" CreationDate="2018-11-21T22:06:46.177" Score="6" Body="&lt;p&gt;Sitecore does not automatically do anything with serialization files from TDS out of the box.&lt;/p&gt;&#xA;&lt;p&gt;Now this doesn't rule out a custom schedule task that someone may have put into the system, but that doesn't seem likely.&lt;/p&gt;&#xA;&lt;p&gt;When TDS syncs, it can be configured to publish any items that it syncs, but that would be dependent upon how you have TDS setup in your CI deploymemt process.&lt;/p&gt;&#xA;&lt;p&gt;Most likely what happened, is that TDS synced the home item in the master database only.&lt;/p&gt;&#xA;&lt;p&gt;Then one of the following happened:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Someone published the home item, sending the changes from the TDS sync to the web database, and cleared CD content caching.&lt;/li&gt;&#xA;&lt;li&gt;TDS did publish the item to the web database, but the CD item caching didn't clear until a later time: either by a worker process reset or another publish later on triggered cache clearing correctly.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Either way, the answer is Sitecore doesn't do anything to serialized files automatically, unless someone customized Sitecore to do so, which would require further invesitgation.&lt;/p&gt;&#xA;&lt;h3&gt;Troubleshooting&lt;/h3&gt;&#xA;&lt;p&gt;It might be worth while to look at your Sitecore log and look for the Publish item messages and see if someone published it around the time you saw it change.&lt;/p&gt;&#xA;&lt;p&gt;Additionally, generally there is a log file entry when TDS updates an item. Do a search for the Home path in your log and see if that produces clues.&lt;/p&gt;&#xA;&lt;p&gt;Also look at your CD logs and see if there was a recycle around the time you saw the change.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-21T22:23:30.723" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15086" PostTypeId="1" CreationDate="2018-11-22T04:43:08.160" Score="4" ViewCount="642" Body="&lt;p&gt;I tried to deploy my JSS React App to Azure scaled CD. I got my Jss App deployed to Azure CM successfully and it's working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Steps to deploy to Azure CD&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The Azure scaled CD was setup by using the Azure ARM template from github (&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/Sitecore%209.0.2/XP&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/Sitecore%209.0.2/XP&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Copy the files in the  Sitecore JavaScript Services Tech Preview&#xA;Server 9.0.1 rev. 180724.zip to the wwwroot folder&lt;/li&gt;&#xA;&lt;li&gt;Copy the JssReactWeb.config and JssReactWeb.deploysecret.config&#xA;manually to CD . The hostname in JssReactWeb.config is the CD url&#xA;eg. mysite-sitecore-scaled-test-cd.azurewebsites.net and the&#xA;deployment secret is same as CM&lt;/li&gt;&#xA;&lt;li&gt;I ran &quot;jss deploy files&quot; and the &quot;wwwroot/dist/JssReactWeb&quot; folder deployed&#xA;successfully&lt;/li&gt;&#xA;&lt;li&gt;Approved and publish all the JSS items to web database&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When I browse to the home page, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[ArgumentNullException: Value cannot be null. Parameter name: address]&#xA;  System.Net.WebClient.UploadString(String address, String data) +113&lt;br&gt;&#xA;  Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.Http.HttpNodeInstance.InvokeExport(NodeInvocationInfo&#xA;  invocationInfo) +155&lt;br&gt;&#xA;  Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance.InvokeExport(String&#xA;  moduleName, String exportNameOrNull, Object[] args) +217&lt;br&gt;&#xA;  Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExportWithPossibleRetry(String&#xA;  moduleName, String exportedFunctionName, Object[] args, Boolean&#xA;  allowRetry) +139&lt;br&gt;&#xA;  Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExportWithPossibleRetry(String&#xA;  moduleName, String exportedFunctionName, Object[] args, Boolean&#xA;  allowRetry) +437&lt;br&gt;&#xA;  Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExport(String&#xA;  moduleName, String exportedFunctionName, Object[] args) +91&lt;br&gt;&#xA;  Sitecore.JavaScriptServices.ViewEngine.Node.NodeRenderEngine.Invoke(String&#xA;  moduleName, String functionName, Object[] functionArgs) +144&lt;br&gt;&#xA;  Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.PerformRender(TextWriter&#xA;  writer, IRenderEngine renderEngine, String moduleName, String&#xA;  functionName, Object[] functionArgs) +73&lt;br&gt;&#xA;  Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.Render(TextWriter&#xA;  writer) +240&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer&#xA;  renderer, TextWriter writer, RenderRenderingArgs args) +147&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs&#xA;  args) +74    (Object , Object ) +14&lt;br&gt;&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;  +236    Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String&#xA;  pipelineName, TArgs args) +195&lt;br&gt;&#xA;  Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext&#xA;  viewContext, TextWriter writer) +331&lt;br&gt;&#xA;  System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;  +375    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +88&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;/code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +775&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList&lt;code&gt;1&#xA;  filters, Int32 filterIndex, ResultExecutingContext preContext,&#xA;  ControllerContext controllerContext, ActionResult actionResult) +775&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext&#xA;  controllerContext, IList&lt;/code&gt;1 filters, ActionResult actionResult) +81&lt;br&gt;&#xA;  System.Web.Mvc.Async.&amp;lt;&gt;c__DisplayClass21.b__1e(IAsyncResult&#xA;  asyncResult) +39&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Has anyone experience this error before?&lt;/p&gt;&#xA;" OwnerUserId="411" LastEditorUserId="2056" LastEditDate="2018-11-22T06:55:22.720" LastActivityDate="2018-11-22T22:55:20.847" Title="Deploy Sitecore Jss React App to Azure Content Delivery" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15087" PostTypeId="1" CreationDate="2018-11-22T05:10:01.933" Score="3" ViewCount="484" Body="&lt;p&gt;Language culture such as 'en' or 'en-gb' was initially present with a sitecore url. But after a post back, page returns with some validation errors and language culture is missing from url. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What may be the possible reason ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the link manager config. It is like below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot;&#xA; encodeNames=&quot;true&quot; languageEmbedding=&quot;always&quot;&#xA; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;true&quot; &#xA; shortenUrls=&quot;false&quot; useDisplayName=&quot;true&quot;&#xA; ignoreForSites=&quot;shell,login,admin&quot; forceFriendlyUrl=&quot;true&quot; &#xA; trailingSlash=&quot;false&quot; onlyApplyForSiteContent=&quot;true&quot; &#xA; resolve=&quot;true&quot; previewSearchIndexName=&quot;sitecore_master_index&quot; &#xA; liveSearchIndexName=&quot;sitecore_master_index&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Mind that &lt;code&gt;languageEmbedding&lt;/code&gt; is true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the view is below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    @model ChangePasswordViewModel&#xA;@using Foundation.Dictionary.Extensions&#xA;@using Foundation.SitecoreExtensions.Extensions&#xA;@using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, FormMethod.Post))&#xA;&#xA;    @Html.AddUniqueFormId()&#xA;    @Html.AntiForgeryToken()&#xA;    @Html.HiddenFor(model =&amp;gt; model.UserName);&#xA;    &amp;lt;div class=&quot;form-horizontal my-5&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;form-group&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;                &amp;lt;div class=&quot;col-md-10&quot;&amp;gt;&#xA;                    &amp;lt;label class=&quot;control-label&quot;&amp;gt;Change Password&amp;lt;/label&amp;gt;&#xA;                &amp;lt;/div&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div class=&quot;form-group&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;col-md-7&quot;&amp;gt;&#xA;                @Html.PasswordFor(model =&amp;gt; model.OldPassword, new { @class = &quot;form-control&quot; })&#xA;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div class=&quot;form-group&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;col-md-7&quot;&amp;gt;&#xA;                @Html.PasswordFor(model =&amp;gt; model.NewPassword, new { @class = &quot;form-control&quot; })&#xA;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div class=&quot;form-group&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;col-md-7&quot;&amp;gt;&#xA;                @Html.PasswordFor(model =&amp;gt; model.ConfirmPassword, new { @class = &quot;form-control&quot; })&#xA;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;        &amp;lt;div class=&quot;form-group&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;col-md-offset-5 col-md-10&quot;&amp;gt;&#xA;                &amp;lt;input type=&quot;submit&quot; value=&quot;Update&quot; class=&quot;btn btn-gradient-3&quot; /&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        @Html.ValidationSummary(false, &quot;&quot;, new { @class = &quot;text-danger&quot; })&#xA;        &amp;lt;div class=&quot;form-group&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;                &amp;lt;div class=&quot;col-md-10&quot;&amp;gt;&#xA;                    @if (ViewBag.ChangePasswordMessage != null)&#xA;                    {&#xA;                        &amp;lt;div class=&quot;alert alert-success&quot;&amp;gt;&#xA;                            @ViewBag.ChangePasswordMessage&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    }&#xA;                &amp;lt;/div&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3608" LastEditorUserId="73" LastEditDate="2018-11-22T10:53:47.510" LastActivityDate="2018-11-22T22:03:19.033" Title="Language culture missing from url on post back" Tags="|multilingual|link-manager|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="15088" PostTypeId="1" AcceptedAnswerId="15092" CreationDate="2018-11-22T06:27:00.363" Score="4" ViewCount="2234" Body="&lt;p&gt;Suppose i have 5 processor in a custom pipeline. I want to abort the execution of remaining processor if certain condition is satisfied in one of the processor.&lt;/p&gt;&#xA;" OwnerUserId="1884" LastActivityDate="2018-11-22T11:03:54.077" Title="Stop executing remaining processor of a pipeline" Tags="|pipelines|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15089" PostTypeId="2" ParentId="15088" CreationDate="2018-11-22T06:43:46.980" Score="3" Body="&lt;p&gt;args.AbortPipeline() method is used to Abort the Pipeline. This method sets _aborted flag as true and ignores the successor processors from execution.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Process(HttpRequestArgs args)&#xA;{&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;              if (condition is true)&#xA;                {&#xA;                    args.AbortPipeline();&#xA;                    return;&#xA;                }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2018-11-22T06:43:46.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15090" PostTypeId="1" CreationDate="2018-11-22T07:06:21.317" Score="0" ViewCount="1299" Body="&lt;p&gt;I am getting the below error on clicking Personalize button of any component in production sitecore instance which is working fine in other environments. We are using Sitecore 9 and SXA. I have attached the screenshot too. Not able to find the reason. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cln9M.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cln9M.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="237" LastEditDate="2018-11-22T10:16:59.180" LastActivityDate="2018-11-22T10:16:59.180" Title="The remote server returned an error: (403) Forbidden. upon clicking Personalize button of any component" Tags="|xconnect|personalization|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15091" PostTypeId="2" ParentId="15087" CreationDate="2018-11-22T07:08:04.047" Score="0" Body="&lt;p&gt;There are two places were the original setting for LinkManager can be overwritten:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. By having a patch config file in your solution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Check whether you don't have &lt;code&gt;&amp;lt;linkManager&amp;gt;&lt;/code&gt; element somewhere in your custom patch config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear/&amp;gt;&#xA;        &amp;lt;add name=&quot;sitecore&quot; ... languageEmbedding=&quot;never&quot; ... /&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The languageEmbedding options are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;asNeeded&#xA;always&#xA;never&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Changing the config to use languageEmbedding=&quot;never&quot; will stop the language from showing up in the URL, and likewise languageEmbedding=&quot;always&quot; will force the language to always show up in the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably you have it set to &lt;code&gt;never&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check it also by navigating to &lt;code&gt;{your_sitecore_instance_url}/sitecore/admin/showconfig.aspx&lt;/code&gt; and how linkManager is configured effectively there.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. By changing this setting for link itself in your code&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can override config settings from code when you are generating link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to find similar code around code where LinkManager generates links in your question. It should be something similar:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var options = Sitecore.Links.LinkManager.GetDefaultUrlOptions(); &#xA;options.LanguageEmbedding = Sitecore.Links.LanguageEmbedding.Never; &#xA;Sitecore.Links.LinkManager.GetItemUrl(item, options);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Try to search for &lt;code&gt;LanguageEmbedding&lt;/code&gt; and maybe you will be lucky&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;(3.) languageEmbedding needs to be set&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Make sure &lt;code&gt;languageEmbedding&lt;/code&gt; is set to either &lt;code&gt;always&lt;/code&gt; or &lt;code&gt;never&lt;/code&gt;. Don't leave it set to &lt;code&gt;asNeeded&lt;/code&gt; cause this could also cause you trouble! Learnt hard way...&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-22T07:13:39.473" LastActivityDate="2018-11-22T07:13:39.473" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15092" PostTypeId="2" ParentId="15088" CreationDate="2018-11-22T07:37:53.037" Score="17" Body="&lt;p&gt;Siva Kumar answer is correct in the most simple scenario. You must know that &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.AbortPipeline()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;doesn't really abort the pipeline. It only sets a flag and all the remaining processors will be still checked and there is a chance some of them &lt;strong&gt;WILL&lt;/strong&gt; be executed. Why?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore allows setting one extra flag on every processor which is called &lt;code&gt;RunIfAborted&lt;/code&gt;. If you open &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt;, you will see this flag set e.g. for 2 processors in &lt;code&gt;publishItem&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;publishItem help=&quot;Processors should derive from Sitecore.Publishing.Pipelines.PublishItem.PublishItemProcessor&quot;&amp;gt;&#xA;    &amp;lt;!-- ... --&amp;gt;&#xA;    &amp;lt;processor&#xA;      type=&quot;Sitecore.Publishing.Pipelines.PublishItem.RaiseProcessedEvent, Sitecore.Kernel&quot; &#xA;      runIfAborted=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor&#xA;      type=&quot;Sitecore.Publishing.Pipelines.PublishItem.UpdateStatistics, Sitecore.Kernel&quot;&#xA;      runIfAborted=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;!-- ... --&amp;gt;&#xA;&amp;lt;/publishItem&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This flag makes sure that the processors will be executed even if the &lt;code&gt;Aborted&lt;/code&gt; flag is set on the args of the pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In summary, using &lt;code&gt;args.AbortPipeline();&lt;/code&gt; is the correct way of aborting the execution of pipeline processors, but you must remember that Sitecore may still execute some of the processors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pseudo code of how Sitecore pipeline works (this is not the exact code - it's just to show the basic logic part):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var processor in processors)&#xA;{&#xA;    if (!args.Aborted || processor.RunIfAborted)&#xA;        Execute(processor);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2018-11-22T11:03:54.077" LastActivityDate="2018-11-22T11:03:54.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15093" PostTypeId="1" CreationDate="2018-11-22T07:49:26.073" Score="0" ViewCount="51" Body="&lt;p&gt;I want to fetch access rights of a user to an item who has been under a security role. I am controlling the access to that particular item by adding the user to that role. Can someone help how I can fetch the access rights of those users under a role programatically?&lt;/p&gt;&#xA;" OwnerUserId="3950" LastActivityDate="2018-11-22T08:04:23.413" Title="Determine access rights of a user in a particular role" Tags="|security|accessibility|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15094" PostTypeId="2" ParentId="15093" CreationDate="2018-11-22T08:04:23.413" Score="1" Body="&lt;p&gt;It should be like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;AccessRuleCollection accessRules = item.Security.GetAccessRules();&#xA;AccessRightCollection accessRights = AccessRightManager.GetAccessRights();&#xA;&#xA;foreach (AccessRight accessRight in accessRights)&#xA;{&#xA;    AccessPermission accessPermission =&#xA;        accessRules.Helper.GetAccessPermission(account, accessRight, PropagationType.Entity);&#xA;&#xA;    // use accessPermission value here as you wish&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Don't forget to set &lt;code&gt;account&lt;/code&gt; before and fill it with user you are interested in.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-11-22T08:04:23.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15095" PostTypeId="2" ParentId="15039" CreationDate="2018-11-22T08:18:23.733" Score="1" Body="&lt;p&gt;It's up to you how you'll design it but here are a few tips you can use:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Crawler root node - each index has a crawler defined. This crawler has a root item configured:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/IUV6Y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IUV6Y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;You can change it if you want just a part of your content to be indexed.&lt;/li&gt;&#xA;&lt;li&gt;You mention that you have a lot of content out there. So you probably have at least a few languages too. In such a case, you can define separate index per language:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ezpQo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ezpQo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Keep in mind that you need to define those indexes manually in the config file (and in case of Solr create those cores). Here you can combine 1) and 2) so while creating index per language change a root in the crawler so that it will pick up just part of the items from the tree.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can exclude fields which are not needed in the index - in most cases that is a real problem. Templates which will be indexed contains a huge amount of fields which in fact are not needed later on while searching. Sitecore has such list of fields defined for example here: &lt;code&gt;Sitecore.ContentSearch.Azure.Index.Web.ExcludeFields.config&lt;/code&gt; and we in SXA are doing the same in this file &lt;code&gt;Sitecore.XA.Foundation.Search.Solr.config&lt;/code&gt;. Maybe you just need to create such a file and the problem will be gone.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remember that it's not about a number of records in the index. This 1000 limit is for the number of fields in the index. So you can have just 500 items (which stands for 500 records) but a number of template fields of those items will be huge and you will hit 1000 fields per index limit.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-11-22T08:18:23.733" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15096" PostTypeId="2" ParentId="15090" CreationDate="2018-11-22T09:04:54.640" Score="2" Body="&lt;p&gt;This happens when reporting api keys are not configured properly. It should be configured both in CM instance and reporting server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the authentication keys do not match, the server responds with a 403 (Forbidden) status code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please do read below links for more details:-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configure security keys on servers in a scaled environment &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/configuring_servers/configuring_servers/configure_security_keys_on_servers_in_a_scaled_environment&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/configuring_servers/configuring_servers/configure_security_keys_on_servers_in_a_scaled_environment&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configure a Reporting Service server&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/reporting-service/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/reporting-service/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configure reporting API key&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/reporting-service/configure-reporting-api-key.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/reporting-service/configure-reporting-api-key.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2979" LastActivityDate="2018-11-22T09:04:54.640" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15097" PostTypeId="2" ParentId="15074" CreationDate="2018-11-22T11:06:42.570" Score="2" Body="&lt;p&gt;If &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[&quot;Field Name&quot;].Value = &quot;some string&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;throws null reference exception and &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item[&quot;Field Name&quot;] = &quot;some string&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;does not throw the exception, it means that the item doesn't have a field called &lt;code&gt;Field Name&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check if you're editing the correct item and if the field name is correct. Most probably the real field name is different (custom fields) or it should be &lt;code&gt;__Field Name&lt;/code&gt; (for standard Sitecore built-in fields).&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-11-22T11:06:42.570" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15099" PostTypeId="1" CreationDate="2018-11-22T11:26:54.823" Score="2" ViewCount="570" Body="&lt;p&gt;Where can I usually mock (for JSS disconnected mode) additional layout service data that I put into the layoutservice response by a &quot;JssGetLayoutServiceContextProcessor&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if I add additional context data like canonical links urls to the output like (see languageSwitch) :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;sitecore&quot;: {&#xA;               &quot;context&quot;: {&#xA;                   &quot;pageEditing&quot;: false,&#xA;                   &quot;user&quot;: {&#xA;                       &quot;domain&quot;: &quot;sitecore&quot;,&#xA;                       &quot;name&quot;: &quot;admin&quot;&#xA;                   },&#xA;                   &quot;site&quot;: {&#xA;                       &quot;name&quot;: &quot;JssReactWeb&quot;&#xA;                   },&#xA;                   &quot;pageState&quot;: &quot;normal&quot;,&#xA;                   &quot;language&quot;: &quot;en&quot;,&#xA;                   &quot;languageSwitch&quot;: {&#xA;                       &quot;de&quot;: &quot;http:\u002F\u002Fmyweb\u002Fde\meineseite&quot;,&#xA;                       &quot;en&quot;: &quot;http:\u002F\u002Fmyweb\u002Fen\mypage&quot;&#xA;                   },&#xA;&#xA;               },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4646" LastEditorUserId="2153" LastEditDate="2018-11-23T18:24:16.773" LastActivityDate="2018-11-23T18:24:16.773" Title="How to mock Sitecore Context Data in LayoutService for JSS disconnected mode?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15100" PostTypeId="2" ParentId="15099" CreationDate="2018-11-22T11:28:17.723" Score="3" Body="&lt;p&gt;See:&#xA;In &lt;code&gt;disconnected-mode-proxy.js&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const proxyOptions = {&#xA;  appRoot: __dirname,&#xA;  ...,&#xA;  customizeContext: (context, route, currentManifest, request, response) =&amp;gt; {&#xA;    context.languageSwitch = { ... }&#xA;  },&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4646" LastActivityDate="2018-11-22T11:28:17.723" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15101" PostTypeId="2" ParentId="14819" CreationDate="2018-11-22T12:08:02.987" Score="1" Body="&lt;p&gt;Solved by adding:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;param name=&quot;ImmediateFlush&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;to the configuration, as mentioned here: &lt;a href=&quot;https://stackoverflow.com/questions/14963735/log4net-rollingfileappender-not-flushing-io-buffer-with-low-volume-log&quot;&gt;https://stackoverflow.com/questions/14963735/log4net-rollingfileappender-not-flushing-io-buffer-with-low-volume-log&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-11-22T12:08:02.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15103" PostTypeId="1" AcceptedAnswerId="15107" CreationDate="2018-11-22T12:19:07.437" Score="1" ViewCount="469" Body="&lt;p&gt;I'm trying to create an autocomplete control that returns items stored in a bucket however I seem to be having issues with my search query. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a custom index and can see the items within the index however when I try to search the index using the &lt;code&gt;ContentSearchManager&lt;/code&gt; I'm not getting the results I expect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My current code is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        using (var context = index.CreateSearchContext())&#xA;        {&#xA;            const string Id = &quot;{2E1D94CD-DF46-4B45-B3F9-66A002C20CCA}&quot;;&#xA;&#xA;            Expression&amp;lt;Func&amp;lt;Symptom, bool&amp;gt;&amp;gt; predicate = s =&amp;gt; s.TemplateId == new Sitecore.Data.ID(Id) &amp;amp;&amp;amp;&#xA;                    s.LaymanDescription.Contains(search);&#xA;&#xA;            var results = context.GetQueryable&amp;lt;Symptom&amp;gt;().Where(&#xA;                predicate).ToList();&#xA;         }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As an example I have 2 symptom items&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Hair Loss&lt;/li&gt;&#xA;&lt;li&gt;Hair Loss loss on scalp&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It seems that if I search &quot;hair loss on&quot; I still get the hair loss item back.  I wasn't expecting this.  Looking at the search query in the logs it seems that &quot;hair loss on&quot; is split and then searched on individually. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;How can I stop the query being split? Am I using correct method for querying?&lt;/li&gt;&#xA;&lt;li&gt;How can I return results based on a partial search? e.g if I search on &quot;Hair Lo&quot; I want both the &quot;Hair Loss&quot; and &quot;Hair Loss on scalp&quot;, if I search on &quot;Hair Loss o&quot; then I want the &quot;Hair Loss on scalp&quot; returned only. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="2056" LastEditDate="2018-11-23T07:09:32.333" LastActivityDate="2018-11-23T07:09:32.333" Title="Autocomplete control using Lucene" Tags="|lucene|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15104" PostTypeId="1" CreationDate="2018-11-22T13:11:52.813" Score="4" ViewCount="749" Body="&lt;p&gt;I am trying to setup Sitecore 9(XP0) on premise with the SQL Server running on Amazon RDS for SQL Server.&#xA;Unfortunately it fails when running the scripts to setup the databases:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qcsSz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qcsSz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anyone who had success setting up Sitecore 9 against an SQL in Amazon RDS?&#xA;Any tips on how to get the scripts working?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thx, &#xA;Nicolas&lt;/p&gt;&#xA;" OwnerUserId="660" LastActivityDate="2019-10-07T05:03:10.490" Title="Installing Sitecore 9(XP0) on premise with Amazon RDS for SQL Server" Tags="|sitecore-install-framework|amazon-web-services|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15105" PostTypeId="2" ParentId="15060" CreationDate="2018-11-22T14:10:52.987" Score="0" Body="&lt;p&gt;One addition to &lt;a href=&quot;https://sitecore.stackexchange.com/a/15064/1714&quot;&gt;Mareks answer&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately the logic for passwords in package deserialization is completely different. It uses a class called &lt;em&gt;PasswordGenerator&lt;/em&gt;, which is initialized with the following parameters:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MinimumCharacters = 6;&#xA;MaximumCharacters = 8;&#xA;ConsecutiveCharacters = false;&#xA;RepeatCharacters = true;&#xA;ExcludeSymbols = true;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So if your password policy requires longer passwords or symbols, this functionality is pretty much unusable.&lt;/p&gt;&#xA;" OwnerUserId="1714" LastActivityDate="2018-11-22T14:10:52.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15106" PostTypeId="2" ParentId="15104" CreationDate="2018-11-22T14:25:26.357" Score="1" Body="&lt;p&gt;You can't. At least I've not heard of a way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do, is to set up the databases on a local MS SQL Server, and then use &lt;a href=&quot;https://aws.amazon.com/blogs/database/how-to-migrate-to-amazon-rds-for-sql-server-using-transactional-replication/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SQL Database Migration Wizard&lt;/a&gt; to move the databases onto Amazon RDS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A few links to step by step guides: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.oshyn.com/blogs/2013/march/sitecore-database-deployment-to-amazon-rds-sql&quot; rel=&quot;nofollow noreferrer&quot;&gt;SITECORE DATABASE DEPLOYMENT TO AMAZON RDS SQL&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.symsoftsolutions.com/blog/2016/09/01/sitecore-databases-in-amazon-rds/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Databases in Amazon RDS&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-11-22T14:25:26.357" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15107" PostTypeId="2" ParentId="15103" CreationDate="2018-11-22T14:32:08.620" Score="2" Body="&lt;p&gt;From what you've written in your question it looks like your field is tokenized - instead of saving the whole string in the index, lucene creates tokens for full text search. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you would need to do is to add &lt;code&gt;indexType=&quot;UNTOKENIZED&quot;&lt;/code&gt; to your index configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;    &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;        &amp;lt;field indexType=&quot;UNTOKENIZED&quot; fieldName=&quot;Layman Description&quot; type=&quot;System.String&quot; storageType=&quot;YES&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot;/&amp;gt;&#xA;        &amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That xml assumes that you have custom configuration for your index which refs to the &lt;code&gt;fieldMap&lt;/code&gt; from the &lt;code&gt;defaultLuceneIndexConfiguration&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you change the configs, rebuild the indexes and you should be able to see in lucene the values of your field and search should work based on exact comparison.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-11-22T14:32:08.620" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15108" PostTypeId="2" ParentId="15103" CreationDate="2018-11-22T15:03:41.113" Score="3" Body="&lt;p&gt;If you are looking for autocomplete implementation, you can refer to search terms functionality in Sitecore Content Search:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of running search query each time:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var results = context.GetQueryable&amp;lt;Symptom&amp;gt;().Where(predicate).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;it is much more quicker and efficient to use search terms api:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var terms = context.GetTermsByFieldName(&quot;LaymanDescription&quot;, search)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-11-22T15:03:41.113" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15109" PostTypeId="1" AcceptedAnswerId="15112" CreationDate="2018-11-22T15:31:27.490" Score="2" ViewCount="1119" Body="&lt;p&gt;I run &lt;em&gt;Lucene&lt;/em&gt; indexes on &lt;em&gt;Sitecore 8.1&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a custom index that is being generated correctly (on sitecore_web_index) on the CM server, but this change is not reflected on the CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further details are as follows:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I added log entries to the index generation process: when I publish relevant items from the Sitecore control panel on the CM server, those entries appear on the Sitecore log and the sitecore_web_index is updated correctly.&lt;/li&gt;&#xA;&lt;li&gt;No matter if Smart Publish, Republish or Reindex a tree, the correct values are only updated on the sitecore_web_index of the CM server, never on CD.&lt;/li&gt;&#xA;&lt;li&gt;No other index has this problem, everything else seems to be copied just fine on CD.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&#xA;How can I ensure index consistency between CM and CD servers?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: this is the entire Sitecore.ContentSearch.Lucene.Index.Web.config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_web_index&quot; type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;folder&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                  &amp;lt;Limit&amp;gt;300&amp;lt;/Limit&amp;gt;&#xA;                &amp;lt;/policy&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2018-11-22T15:46:58.077" LastActivityDate="2018-11-22T16:39:29.383" Title="How to ensure that sitecore_web_index is up to date on CD server" Tags="|indexing|lucene|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="15110" PostTypeId="1" CreationDate="2018-11-22T15:37:48.563" Score="1" ViewCount="143" Body="&lt;p&gt;Is there a way to programmatically get the Sitecore media files' size which is being optimized by &lt;code&gt;Dianoga&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to show the image size on the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;MediaItem.Size&lt;/code&gt; property is getting us the original image size - which isn't matching the rendered image size which is coming through the &lt;code&gt;Dianoga&lt;/code&gt; processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastEditorUserId="5096" LastEditDate="2019-05-23T06:13:01.580" LastActivityDate="2019-05-23T06:13:01.580" Title="Calculating dianoga's optimized image size?" Tags="|media-library|dianoga|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15111" PostTypeId="2" ParentId="15110" CreationDate="2018-11-22T16:23:45.810" Score="3" Body="&lt;p&gt;Server-side, no - probably. Dianoga acts as a layer between the Sitecore Media Library and the caching mechanics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get the byte size of the images client-side however. Which would allow you to render these in your page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This example lists sizes for all images on your page. Adjust as necessary.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var imgElems = document.getElementsByTagName('img');&#xA;for ( var i=0, len = imgElems.length; i &amp;lt; len; i++ ) &#xA;{&#xA;    var url = imgElems[i].src || imgElems[i].href;&#xA;    if (url &amp;amp;&amp;amp; url.length &amp;gt; 0)&#xA;    {&#xA;        var iTime = performance.getEntriesByName(url)[0];&#xA;        console.log(iTime.transferSize); //or encodedBodySize, decodedBodySize&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://stackoverflow.com/a/45409613/81631&quot;&gt;https://stackoverflow.com/a/45409613/81631&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2018-11-22T17:01:54.970" LastActivityDate="2018-11-22T17:01:54.970" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15112" PostTypeId="2" ParentId="15109" CreationDate="2018-11-22T16:39:29.383" Score="2" Body="&lt;p&gt;After a chat on Slack we ruled out a bad config and the EventQueue was enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So another reason for this behavior could be a corrupted index. A rebuild can fix this. Rebuilding on the CD requires the RemoteRebuild strategy though. As a quick fix, you can delete all index files on the CD and copy the files from a working environment (CM) for the same index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the new index is in place, test if the index is updating again.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-11-22T16:39:29.383" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15113" PostTypeId="2" ParentId="15087" CreationDate="2018-11-22T22:03:19.033" Score="1" Body="&lt;p&gt;Instead of using Html.BeginRouteForm, try using Html.BeginForm without any parameters like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.BeginForm())&#xA;{&#xA;    @Html.AntiForgeryToken()&#xA;    ....&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will set the action attribute of your form tag to the url of your current page.&lt;/p&gt;&#xA;" OwnerUserId="1915" LastActivityDate="2018-11-22T22:03:19.033" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15114" PostTypeId="2" ParentId="15103" CreationDate="2018-11-22T22:44:27.483" Score="0" Body="&lt;p&gt;Additionally you can download &lt;strong&gt;Luke&lt;/strong&gt; index viewer(&lt;a href=&quot;http://www.getopt.org/luke/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.getopt.org/luke/&lt;/a&gt;). It will help you run the lucene queries and get the result. So accordingly you can run queries for below search key words. And luke will help you understand whats exactly stored in your indexes so you can have apple to apple comparison.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1. Hair Loss&#xA;2. Hair Loss loss on scalp&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please visit below link to get understanding of Luke tool&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/14167110/show-contents-of-lucene-index&quot;&gt;https://stackoverflow.com/questions/14167110/show-contents-of-lucene-index&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2418" LastActivityDate="2018-11-22T22:44:27.483" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15115" PostTypeId="2" ParentId="15086" CreationDate="2018-11-22T22:55:20.847" Score="3" Body="&lt;p&gt;The issue was the  Node version is not set on the CD app service. If the node version is not set, it will default to node 0.11.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To set the node version, go to Azure portal -&gt; your app service -&gt; Application Settings, add a new app setting &#xA;Name: WEBSITE_NODE_DEFAULT_VERSION &#xA;Value: node version&lt;/p&gt;&#xA;" OwnerUserId="411" LastActivityDate="2018-11-22T22:55:20.847" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15116" PostTypeId="1" CreationDate="2018-11-22T23:26:46.437" Score="1" ViewCount="1496" Body="&lt;p&gt;Currently I have a form (created using Sitecore 9 Forms not with WFFM module) and on submit (custom submit action button). While clicking submit button, I have to show the loading image in the client side whenever a Background server operation is in progress. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do this with Sitecore 9 Forms?&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="2056" LastEditDate="2018-11-23T06:58:36.270" LastActivityDate="2021-08-12T00:18:30.297" Title="How to show a loading image mean while a submit form is being executed in Sitecore 9 Forms" Tags="|sitecore-forms|javascript|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15118" PostTypeId="2" ParentId="6393" CreationDate="2018-11-23T03:02:07.767" Score="4" Body="&lt;h1&gt;Why are there some missing indexes?&lt;/h1&gt;&#xA;&lt;p&gt;This happens when there are no items to add to the index. To create an index it is required to create an index schema. The schema is created dynamically based on the fields of the items that are going to be added to the index. As there are no items to add, the schema is not created as well as the index.&lt;/p&gt;&#xA;&lt;h1&gt;Why there are queries to the index which does not exist?&lt;/h1&gt;&#xA;&lt;p&gt;Different parts of Sitecore functionality may rely on the index in question. The index will be still queried every time to check if it is created and if there are any items in it.&lt;/p&gt;&#xA;&lt;h1&gt;Can I manually create these empty indexes?&lt;/h1&gt;&#xA;&lt;p&gt;Yes, however they will probably get deleted next time a rebuild is kicked off.&#xA;Azure Search does not allow to modify the schema of the existing fields but only allows to add new fields to the schema. However, the schema is strictly limited to 1000 fields only. So the indexer will first delete the index and then try to recreate it if it can find any fields on the index.&lt;/p&gt;&#xA;&lt;h1&gt;Can I add dummy items for it to create the indexes?&lt;/h1&gt;&#xA;&lt;p&gt;Yes!&lt;/p&gt;&#xA;&lt;h3&gt;sitecore-marketing-asset-index&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a media item or just use the default &lt;code&gt;/sitecore/media library/Default-Website/sc-logo&lt;/code&gt; item&lt;/li&gt;&#xA;&lt;li&gt;Create an asset under &lt;code&gt;/sitecore/system/Marketing Control Panel/Taxonomies/Asset&lt;/code&gt; if you don't have any already&lt;/li&gt;&#xA;&lt;li&gt;Set an asset in the &lt;code&gt;Marketing asset&lt;/code&gt; field of the media item.&lt;/li&gt;&#xA;&lt;li&gt;Assign the &lt;code&gt;Download&lt;/code&gt; event to this media item: Content Editor -&amp;gt; Media item -&amp;gt; Analyze tab -&amp;gt; Attributes -&amp;gt; Events -&amp;gt; Download&lt;/li&gt;&#xA;&lt;li&gt;The &amp;quot;Deploy&amp;quot; tab of the media item should now show, you can then click it to deploy the marketing asset (which in turn will index the new item).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3&gt;sitecore-fxm-index&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a dummy domain matcher item under &lt;code&gt;/sitecore/system/Marketing Control Panel/FXM&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set the domain to a dummy value &lt;code&gt;http://dummy&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-13T07:28:04.797" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15119" PostTypeId="1" AcceptedAnswerId="15120" CreationDate="2018-11-23T04:14:30.513" Score="0" ViewCount="1070" Body="&lt;p&gt;I am saving a user profile and one of the field is &quot;UserLanguage&quot; which is saving fine &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Context.User.Profile.Save();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The save method is working as expected but where the User Profile being saved in the database as I want to see UserLanguage field for each Profile.&lt;/p&gt;&#xA;" OwnerDisplayName="user2980" LastActivityDate="2018-11-23T05:28:36.217" Title="User Profile table in SQL" Tags="|sitecore-api|sql-database|user-management|user-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15120" PostTypeId="2" ParentId="15119" CreationDate="2018-11-23T04:44:56.743" Score="0" Body="&lt;p&gt;Sitecore uses aspnet membership provider and stores the user profile information in the aspnet_Profile table. All the properties are serialized into the PropertyNames / PropertyValuesString columns. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://msdn.microsoft.com/en-au/library/aa478953.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://msdn.microsoft.com/en-au/library/aa478953.aspx&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Run below query onto Sitecore Core database on aspnet_profile table.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT TOP 1000 [UserId]&#xA;  ,[PropertyNames]&#xA;  ,[PropertyValuesString]&#xA;  ,[PropertyValuesBinary]&#xA;  ,[LastUpdatedDate]&#xA;FROM [Website826_Core].[dbo].[aspnet_Profile]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will be able to set the new properties from web.config file using below tags. Have a look at your application's web config and check profile tag for exact details.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;profile defaultProvider=&quot;sql&quot; enabled=&quot;true&quot; inherits=&quot;Sitecore.Security.UserProfile, Sitecore.Kernel&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;clear /&amp;gt;&#xA;    &amp;lt;add name=&quot;sql&quot; type=&quot;System.Web.Profile.SqlProfileProvider&quot; connectionStringName=&quot;core&quot; applicationName=&quot;sitecore&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;switcher&quot; type=&quot;Sitecore.Security.SwitchingProfileProvider, Sitecore.Kernel&quot; applicationName=&quot;sitecore&quot; mappings=&quot;switchingProviders/profile&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;  &amp;lt;properties&amp;gt;&#xA;    &amp;lt;clear /&amp;gt;&#xA;    &amp;lt;add type=&quot;System.String&quot; name=&quot;SC_UserData&quot; /&amp;gt;&#xA;  &amp;lt;/properties&amp;gt;&#xA;&amp;lt;/profile&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2418" LastEditorUserId="2418" LastEditDate="2018-11-23T05:28:36.217" LastActivityDate="2018-11-23T05:28:36.217" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15121" PostTypeId="1" CreationDate="2018-11-23T06:56:57.767" Score="1" ViewCount="121" Body="&lt;p&gt;Is there any way to understand the status of prefecth cache ? What i want to understand is that if the prefetch is already created or not ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i disassemble the sitecore.kernal , I see a property in Sitecore.Data.DataProviders.Sql.SqlDataProvider.initialDataPrefetched , but unfortunately this seems to be a private field.&lt;/p&gt;&#xA;" OwnerUserId="2384" LastEditorUserId="73" LastEditDate="2018-11-23T12:36:06.067" LastActivityDate="2018-11-23T12:36:06.067" Title="Get prefetch cache created status" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15122" PostTypeId="2" ParentId="15121" CreationDate="2018-11-23T07:04:42.830" Score="1" Body="&lt;p&gt;if you access: &lt;strong&gt;hostname/sitecore/admin/cache.aspx&lt;/strong&gt; you will see the value of all caches. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please search for prefetch and you will see if the prefetch cache is created. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xKkpy.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xKkpy.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Database prefetch caches&lt;/strong&gt; contain items that Sitecore accesses during and immediately after initialization, and items with children that Sitecore often accesses as a group. Sitecore populates database prefetch caches at application initialization, and maintains those caches over the life of the application. Each database prefetch cache stores data from a different database or data source. Not all data providers implement prefetch caches. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-11-23T07:18:25.260" LastActivityDate="2018-11-23T07:18:25.260" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15123" PostTypeId="1" AcceptedAnswerId="15176" CreationDate="2018-11-23T07:14:16.937" Score="5" ViewCount="638" Body="&lt;p&gt;I would like to install XConnect 9 using SIF without license file. This would, for example, allow me to build a XConnect Docker image and provide the required Sitecore license at runtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default the SIF however starts the XConnect service/jobs and these check for a valid license file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on how to achieve a license less install?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-11-26T21:30:04.217" Title="Install XConnect 9 without license file" Tags="|xconnect|sitecore-install-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15124" PostTypeId="1" CreationDate="2018-11-23T07:25:11.487" Score="1" ViewCount="40" Body="&lt;p&gt;I need &lt;strong&gt;coupon code&lt;/strong&gt; in &lt;strong&gt;storefront site&lt;/strong&gt; but in order, there is only Coupon Description and Amount inside Adjustments. Is there any way to get coupon code? &#xA;I need coupon code on Storefront side not in Commerce Engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3581" LastEditorUserId="3581" LastEditDate="2018-11-23T17:16:11.003" LastActivityDate="2018-11-23T17:16:11.003" Title="How to get coupon code in storefront site with coupon name from Order?" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="1" ClosedDate="2018-11-23T12:35:32.547" ContentLicense="CC BY-SA 4.0" />
  <row Id="15125" PostTypeId="2" ParentId="15116" CreationDate="2018-11-23T09:02:25.953" Score="4" Body="&lt;p&gt;You can add some javascript on your webpage to listen on your submit button and show a loader icon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To have some handles, you can add custom css classes on your submit buttons. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be done, either by adding them by the contenteditor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ICcBd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ICcBd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or you could also edit the Website\Views\FormBuilder\FieldTemplates\button.cshtml file to make it hardcoded.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$(&quot;.showLoader&quot;).click(showLoader());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that you can add css-classes on almost all components of the Sitecore Forms feature.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-23T09:02:25.953" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15127" PostTypeId="1" CreationDate="2018-11-23T10:30:30.137" Score="0" ViewCount="335" Body="&lt;p&gt;On our Sitecore 9.0-u1 website, we have a REACT application where users can update their profile information in a secured zone. We want to store this information back into the xDB contact profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The React application sends this information through a stateless API. Whilst security is being handled by the framework, by nature a stateless API doesn't have a session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can update the xDB profile by fetching it through it's identifier, update the contact and store it. However, the profile is not updated into the users session (because there is none). This results in personalisation being based on his old profile information since the session profile is not updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it was a statefull call with session we could reload the contactdata into session by using the contactmanager. However, since we don't have a Tracker.Current (stateless api call), we cannot update.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion how we could reload the xDB contact in a stateless context?&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-04-24T11:01:55.370" Title="Reload xDB Contact into session in stateless context" Tags="|xdb|xconnect|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15128" PostTypeId="2" ParentId="15127" CreationDate="2018-11-23T10:50:24.297" Score="0" Body="&lt;p&gt;I think the only way to do this is force a session reload as described in Sitecore documentation in the 'Re-loading contact data' section:&#xA;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/contact-facets/update-facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/contact-facets/update-facets.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So this means your react app will have to trigger another event to your Sitecore instance. Perhaps you can have an in session/Sitecore context api where you trigger this session reload on. You could do this after every api call, or only when you know it can have effect. This endpoint would just execute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as Sitecore.Analytics.Tracking.ContactManager;&#xA;manager.RemoveFromSession(Sitecore.Analytics.Tracker.Current.Contact.ContactId); //     Use tracker ID, not xConnect ID&#xA;Sitecore.Analytics.Tracker.Current.Session.Contact = manager.LoadContact(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2018-11-23T10:50:24.297" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15129" PostTypeId="1" AcceptedAnswerId="15130" CreationDate="2018-11-23T12:25:15.077" Score="5" ViewCount="718" Body="&lt;p&gt;Has anyone here used Publishing Service on Azure as PaaS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client has two databases(two web databases), First, it publishes on the main base then on the &quot;backup&quot; base. I'm thinking of using the Azure SQL replication service but Sitecore has this Publishing service.&#xA;What do you think?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service/31/Sitecore_Publishing_Service_31_Update1.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service/31/Sitecore_Publishing_Service_31_Update1.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="3644" LastEditorUserId="73" LastEditDate="2018-11-23T12:33:59.107" LastActivityDate="2019-05-24T13:53:30.893" Title="Using Publishing Service on Azure PaaS" Tags="|paas|publishing-service|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15130" PostTypeId="2" ParentId="15129" CreationDate="2018-11-23T12:27:32.437" Score="5" Body="&lt;p&gt;The Publishing Service is not yet available on Azure PaaS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was announced at the symposium to become available for Azure PaaS with Sitecore 9.1 release.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-23T12:27:32.437" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15131" PostTypeId="2" ParentId="15129" CreationDate="2018-11-23T13:04:14.207" Score="1" Body="&lt;p&gt;Publishing Service is not official a role in Azure Paas. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ehab ElGindy who is part of the publishing Service Team describe on below link how you can have Publishing Service as an azure cloud service. &#xA;&lt;a href=&quot;http://www.ehabelgindy.com/run-sitecore-publishing-as-azure-cloud-service/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.ehabelgindy.com/run-sitecore-publishing-as-azure-cloud-service/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Corey Smith describe on below link how you can deploy your own Publishing Service using Arm Templates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.coreysmith.co/sitecore-publishing-service-deploy-to-azure-with-arm-templates/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.coreysmith.co/sitecore-publishing-service-deploy-to-azure-with-arm-templates/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These two ways are not official and Sitecore will not offer you support. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-11-24T02:56:28.860" LastActivityDate="2018-11-24T02:56:28.860" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15133" PostTypeId="1" AcceptedAnswerId="15143" CreationDate="2018-11-23T14:19:52.853" Score="4" ViewCount="655" Body="&lt;p&gt;When I start up my development site, I can see from SQL server profiler that sitecore (messaginguser) is running about a thousand SQL queries (3400 in 20 sek according to profiler). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The content is mostly like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;exec sp_executesql N'&#xA;    SET NOCOUNT ON&#xA;&#xA;    ;WITH TopCTE AS (&#xA;        SELECT  TOP 1&#xA;                [id],&#xA;                [headers],&#xA;                [body]&#xA;        FROM    [dbo].[Sitecore_Transport] M WITH (ROWLOCK, READPAST)&#xA;        WHERE   M.[recipient] = @recipient&#xA;        AND     M.[visible] &amp;lt; getdate()&#xA;        AND     M.[expiration] &amp;gt; getdate()&#xA;        ORDER&#xA;        BY      [priority] ASC,&#xA;                [id] ASC&#xA;    )&#xA;    DELETE  FROM TopCTE&#xA;    OUTPUT  deleted.[id] as [id],&#xA;            deleted.[headers] as [headers],&#xA;            deleted.[body] as [body]&#xA;&#xA;                        ',N'@recipient nvarchar(200)',@recipient=N'AutomatedMessagesQueue'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With the recipent varying between 5 or 6 (SentMessagesQueue,ClearSuppressionListQueue to name a few)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is it doing this? And can I turn this behavior of? Or at least make it a more reasonable number of queries. &lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="69" LastEditDate="2018-11-23T15:40:24.317" LastActivityDate="2018-11-24T00:44:39.343" Title="Why is sitecore running thousands of sql queries in the background?" Tags="|exm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15135" PostTypeId="1" AcceptedAnswerId="15136" CreationDate="2018-11-23T15:48:40.977" Score="2" ViewCount="710" Body="&lt;p&gt;I have a client using Sitecore 9.0.1 with a requirement to create or update contact information in &lt;code&gt;Dynamics 365&lt;/code&gt; following a form submission. What is the correct way to go about this in the new Sitecore 9 world? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As best I can tell, my main options are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore Forms&lt;/code&gt;, which is new, intuitive UI, but limited in submit actions. We are currently using Sitecore Forms in a couple of areas of the site already for basic data capture.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;WFFM&lt;/code&gt;, which is an ageing behemoth with lots of features but an older approach and not as appealing design. It has submit actions for a wide range of behaviors. It does also have some &lt;code&gt;CRM&lt;/code&gt; connectors that have been built for previous versions of Sitecore.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="1298" LastEditorUserId="5096" LastEditDate="2019-05-23T06:12:40.993" LastActivityDate="2022-01-25T18:45:26.450" Title="Using Sitecore Forms with Dynamics 365" Tags="|wffm|sitecore-forms|dynamics-crm-module|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15136" PostTypeId="2" ParentId="15135" CreationDate="2018-11-23T15:55:28.690" Score="6" Body="&lt;p&gt;Go for Sitecore Forms. WFFM is no longer included in 9.1 so that is a dead end...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to create your own submit actions (in both options btw) if you want it on this version..  If you can wait just a little longer until the actual release of Sitecore 9.1 (announced for November) you will get an ootb data prefill framework in Sitecore Forms but that will only get you read functionality. You will still need to write your own &quot;writes&quot;..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details&lt;/a&gt; as a guidance on how to implement your save-requirements.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2018-11-23T16:22:56.683" LastActivityDate="2018-11-23T16:22:56.683" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15137" PostTypeId="2" ParentId="15135" CreationDate="2018-11-23T16:11:50.197" Score="3" Body="&lt;p&gt;What Gert said is 100% valid. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't have to save in dynamics CRM in real time you can use Dynamics CRM Connect Module. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you create contacts in XDB you can use Dynamics CRM Connector to syncronize from xDB to Dynamics CRM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Dynamics CRM Connector has pipeline batches to sync&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;XDB Contacts -----&gt; CRM Contacts &lt;/li&gt;&#xA;&lt;li&gt;CRM Contacts -----&gt; XDB Contacts &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can find the module at : &lt;a href=&quot;https://dev.sitecore.net/Downloads/Dynamics_CRM_Connect/2x/Sitecore_Connect_for_Microsoft_Dynamics_365_for_Sales_201.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Dynamics_CRM_Connect/2x/Sitecore_Connect_for_Microsoft_Dynamics_365_for_Sales_201.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you install it you can have scheduler task which will run Pipeline batches to sync XDB Contacts to CRM. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can set up how often to run sync, you can add some filters without writing any custom code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZsVft.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZsVft.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-11-23T16:17:37.653" LastActivityDate="2018-11-23T16:17:37.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15138" PostTypeId="2" ParentId="2833" CreationDate="2018-11-23T18:18:33.250" Score="2" Body="&lt;p&gt;&lt;strong&gt;Sitecore has a proper fix for this issue&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/640114&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/640114&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the article:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A &quot;failed to extend contact lease&quot; error may occur if large amount of&#xA;  pages were requested within a single interaction.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The following exception can be found in the Sitecore XP log:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;316 2017:12:10 16:05:50 ERROR Cannot finish Analytics page tracking&#xA;Exception: Sitecore.Analytics.Exceptions.ContactLockException&#xA;Message: Failed to extend contact lease for contact ce9c9d9e-2d42-4b82-a871-1a2dd96f050e&#xA;Source: Sitecore.Analytics&#xA;   at Sitecore.Analytics.Tracking.ContactManager.SaveAndReleaseContact(Contact contact)&#xA;   at Sitecore.Analytics.Pipelines.EndAnalytics.ReleaseContact.Process(PipelineArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, Boolean failIfNotExists)&#xA;   at Sitecore.Analytics.Pipelines.EndAnalytics.EndAnalyticsPipeline.Run()&#xA;   at Sitecore.Analytics.Pipelines.HttpRequest.EndAnalytics.Process(HttpRequestArgs args)&#xA;Exception is thrown for each next page&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="461" LastActivityDate="2018-11-23T18:18:33.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15139" PostTypeId="1" CreationDate="2018-11-23T19:39:46.217" Score="1" ViewCount="82" Body="&lt;p&gt;When I search for a sentence like &lt;code&gt;adoption of an animal&lt;/code&gt;, I don't get any results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the generated query, I have &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;amp;search=content_1:(/.\*adoption of an animal.\*/)&amp;amp;queryType=full&amp;amp;$count=true&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;which doesn't return anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I make my query work with spaces, hyphen, exclamation marks, question marks? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the predicate:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var actualPhraseInNamePredicate = PredicateBuilder.True&amp;lt;T&amp;gt;().And(r =&amp;gt; r.Name.Contains(searchTerm));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4607" LastEditorUserId="4607" LastEditDate="2018-11-27T03:01:53.900" LastActivityDate="2018-11-27T03:01:53.900" Title="Search not working for spaces, exclamation mark, slashes" Tags="|azure-search|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15140" PostTypeId="1" AcceptedAnswerId="15144" CreationDate="2018-11-23T21:40:13.503" Score="4" ViewCount="285" Body="&lt;p&gt;We have a category for recommending MVP as Ambassador. What should be the criteria?  &lt;/p&gt;&#xA;" OwnerUserId="607" LastEditorUserId="607" LastEditDate="2018-11-23T22:05:11.397" LastActivityDate="2018-11-24T04:55:46.313" Title="What should be the criteria for recommendation for MVP Category - Ambassador?" Tags="|community|mvp|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15141" PostTypeId="2" ParentId="15140" CreationDate="2018-11-23T23:43:05.357" Score="4" Body="&lt;p&gt;According to the announcement on Sitecore community the ambassadors are selected based on the following criteria&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ambassador: An individual with solid knowledge of the latest Sitecore offering who provide value for Sitecore, by influencing partners, industry, customers and decision makers and who provides product feedback, supplies references and case studies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/general/f/13/t/8385&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/general/f/13/t/8385&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4655" LastActivityDate="2018-11-23T23:43:05.357" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15142" PostTypeId="2" ParentId="15129" CreationDate="2018-11-23T23:52:38.130" Score="1" Body="&lt;p&gt;In the described scenario I would most likely recommend using both the Sitecore Publishing Service as well as database replication to synchronize the two web datbases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Publishing Service is an extremely fast option compared to the traditional publishing in Sitecore and it is not that hard to set up and run on Azure IaaS or PaaS if you feel adventurous.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, instead of having to publish to two different web targets every time I would recommend looking into Azure geo-replication which is at least experimentally supported by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://kb.sitecore.net/articles/423602&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/423602&lt;/a&gt; for further details on database scaling support in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="4655" LastActivityDate="2018-11-23T23:52:38.130" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15143" PostTypeId="2" ParentId="15133" CreationDate="2018-11-24T00:31:04.730" Score="5" Body="&lt;p&gt;In Sitecore 9+, Sitecore comes with Rebus.NET Message Bus Service which performs a number of queries to the Messaging database to determine if work needs to occur.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now, EXM (Email Experience Manager) is the only module using the service bus (which is done through the messaging database), but it stands to reason we could see more use of Rebus in the future as more models make use of an actual service bus.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you aren't using EXM, you might be able to stop the queries by disabling EXM through the web.config's EXM enabling variable.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;exmEnabled:define&quot; value=&quot;no&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you need to use EXM,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing that has helped OnPrem installs is turn &lt;code&gt;Max Degree of Parallelism&lt;/code&gt; up on SQL Server to match the number of cores or virtual cores on the server or local laptop.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tEd9e.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tEd9e.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you have 8 cores, change this value to 8.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-11-24T00:44:39.343" LastActivityDate="2018-11-24T00:44:39.343" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15144" PostTypeId="2" ParentId="15140" CreationDate="2018-11-24T04:51:18.177" Score="14" Body="&lt;p&gt;The qualities that are considered when selecting an Ambassador MVP:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Knows the latest Sitecore offering &lt;/li&gt;&#xA;&lt;li&gt;Drives business to Sitecore and ecosystem&lt;/li&gt;&#xA;&lt;li&gt;Actively participates in the Sitecore Advisory Councils&lt;/li&gt;&#xA;&lt;li&gt;Internal or external Ambassador of Sitecore  &lt;/li&gt;&#xA;&lt;li&gt;Provides product feedback &lt;/li&gt;&#xA;&lt;li&gt;Supplies references and case studies&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://mvp.sitecore.com/about&quot; rel=&quot;noreferrer&quot;&gt;https://mvp.sitecore.com/about&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2018-11-24T04:51:18.177" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15145" PostTypeId="2" ParentId="15140" CreationDate="2018-11-24T04:55:46.313" Score="1" Body="&lt;p&gt;According to Sitecore-  Who partner with Sitecore executives to provide insights and feedback specific to product road-map and strategy, as well as actively participate in a broad set of other community events and engagements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can consider them consultants who provide feedback and influence customers and partners.&lt;/p&gt;&#xA;" OwnerUserId="1316" LastActivityDate="2018-11-24T04:55:46.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15146" PostTypeId="2" ParentId="13144" CreationDate="2018-11-24T06:20:58.913" Score="2" Body="&lt;p&gt;To overcome these issues, best solution would be to wait for Sitecore 9.1 and use it's new Universal Tracker which perfectly fits your requirements.&lt;/p&gt;&#xA;&lt;p&gt;The Universal Tracker is an open Web API which is open for direct communication.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m5icO.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m5icO.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;However, Sitecore encourages to use the Universal Tracker Client SDK as an abstraction layer between your code and the Universal Tracker Web API.&lt;/p&gt;&#xA;&lt;p&gt;The Universal tracker allows you to collect events from interactions and stores them in the experience database.&lt;/p&gt;&#xA;&lt;p&gt;The Universal tracker is built with .Net Core and is built to perform and to scale to support large amounts of interactions and traffic. It has a pluggable architecture, open for you to extend and customize to your customer needs.&lt;/p&gt;&#xA;&lt;p&gt;The Universal Tracker uses different stages. Each individual process can be scaled making it possible to support high volumes of requests.&lt;/p&gt;&#xA;&lt;h2&gt;Sitecore Universal tracker architecture&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SnNZ5.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SnNZ5.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;When an interaction occurs all events during that interaction are streamed in to the Universal Tracker Web API endpoint. This is stage is called Collection.&lt;/p&gt;&#xA;&lt;p&gt;During Collection all the events are directly stored in temporary storage. After the interaction is finished, and the visit is timed-out, the stored events are sent to Processing.&lt;/p&gt;&#xA;&lt;p&gt;During Processing we have the option to enrich the data before sending it to the xDB. For example, a JavaScript App registers an interaction without GEO IP data. During the processing of the interaction you can enrich the interaction by doing a GeoIP look-up using the IP provided logged with the event.&lt;/p&gt;&#xA;&lt;p&gt;The architecture is pluggable so you can add functionality that support the data enrichment you need for your customers.&lt;/p&gt;&#xA;&lt;p&gt;After the processing is finalized the data is sent to the xConnect service to be stored in the XDB.&lt;/p&gt;&#xA;&lt;p&gt;Information taken from Pieter Brinkman's blog post:&#xA;&lt;a href=&quot;http://www.pieterbrinkman.com/2018/11/12/whats-new-in-sitecore-9-1-experience-platform/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.pieterbrinkman.com/2018/11/12/whats-new-in-sitecore-9-1-experience-platform/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-11-24T06:20:58.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15147" PostTypeId="2" ParentId="15127" CreationDate="2018-11-24T17:47:21.633" Score="-1" Body="&lt;p&gt;You can call a web api method from the react app which you have deployed/ developed on sitecore pass the updated value as an parameter and use a method inside web api code to read the contacts from xdb using the xconnect services. Once the contacts are loaded just simply update them.&lt;/p&gt;&#xA;" OwnerUserId="4656" LastActivityDate="2018-11-24T17:47:21.633" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15148" PostTypeId="2" ParentId="15127" CreationDate="2018-11-25T10:02:41.277" Score="1" Body="&lt;p&gt;Thanks for the suggestions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to solve our problem, we ended up creating a session aware route for this request, so that the Tracker.Current is available. (So we removed the statelessness from this one call)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void RegisterRoutes(RouteCollection routes)&#xA;{&#xA;        routes.MapHttpRoute(&#xA;            name: &quot;AuthenticationApi&quot;,&#xA;            routeTemplate: &quot;api/authentication/profile&quot;,&#xA;            defaults: new { controller = &quot;AuthenticationApi&quot;, action = &quot;UpdateProfile&quot; },&#xA;            constraints: new { httpMethod = new HttpMethodConstraint(&quot;Put&quot;) }&#xA;        ).RouteHandler = new SessionRouteHandler();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SessionControllerHandler.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SessionControllerHandler : HttpControllerHandler, IRequiresSessionState&#xA;{&#xA;    public SessionControllerHandler(RouteData routeData) : base(routeData)&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-11-25T10:02:41.277" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15150" PostTypeId="1" CreationDate="2018-11-26T05:27:47.250" Score="2" ViewCount="55" Body="&lt;p&gt;Using &lt;code&gt;Sitecore 9.0.1&lt;/code&gt;, and &lt;code&gt;DEF 2.0.1&lt;/code&gt;, we are importing &lt;code&gt;experiences&lt;/code&gt; from an API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This experience json contains &lt;code&gt;point geometries&lt;/code&gt; and &lt;code&gt;trail uses&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Pipeline steps &lt;code&gt;Handle Point Geometries&lt;/code&gt; and &lt;code&gt;Get Trail Uses to a New Destination&lt;/code&gt; are both of type &lt;code&gt;Copy Object from Context to New Location Pipeline Step&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, the Point Geometry data is being passed to the Trail Uses steps, presumably because the Source Object Location for the trail uses step is picking up the data from Iterate Point Geometries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get the &lt;code&gt;Get Trail Uses&lt;/code&gt; step to use data from the Experience, not the Point Geometries?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Iterate Point Geometries and Run Pipelines - Iterable Data Location: Pipeline Context Iterable Data&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Iterate Point Geometries and Run Pipelines - Data Location: Pipeline Context Source&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get Trail Uses to a new Destination - Source Object Location: Pipeline Context Source&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8YsUv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8YsUv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="5387" LastEditDate="2019-08-12T10:28:10.137" LastActivityDate="2019-08-12T10:28:10.137" Title="Data Exchange Framework - Multiple CopyObjectFromContextToNewLocationStepConverter" Tags="|data-exchange-framework|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15151" PostTypeId="1" CreationDate="2018-11-26T06:53:40.747" Score="2" ViewCount="462" Body="&lt;p&gt;I have a custom index which has additional teaser title, teaser description, main title and main content fields and the index is resolved based on &lt;code&gt;Sitecore.Context.Database&lt;/code&gt;. Eg. &lt;code&gt;master&lt;/code&gt; database context will resolve it to &lt;code&gt;myproject_page_master_index&lt;/code&gt; while &lt;code&gt;web&lt;/code&gt; database will resolve it to &lt;code&gt;myproject_page_web_index&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 latest version&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have following Repository:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageSearchRepository : IPageSearchRepository&#xA;{&#xA;    private readonly ISearchIndex _index;&#xA;&#xA;    public PageSearchRepository(ISearchIndex index)&#xA;    {&#xA;        _index = index;&#xA;    }&#xA;&#xA;    public PageSearchResults FindByKeywords(string[] keywords, int take, int skip)&#xA;    {&#xA;        using (IProviderSearchContext context = this._index.CreateSearchContext())&#xA;        {&#xA;            var baseQuery = PredicateBuilder.True&amp;lt;PageSearchResultItem&amp;gt;()&#xA;                .And(item =&amp;gt; item.LatestVersion)&#xA;                .And(item =&amp;gt; item.Language == Sitecore.Context.Language.Name);&#xA;            foreach (string keyword in keywords)&#xA;            {&#xA;                var filterQuery = PredicateBuilder.False&amp;lt;PageSearchResultItem&amp;gt;()&#xA;                    .Or(item =&amp;gt; item.Content.Like(keyword))&#xA;                    .Or(item =&amp;gt; item.TeaserTitle.Like(keyword))&#xA;                    .Or(item =&amp;gt; item.TeaserContent.Like(keyword));&#xA;                baseQuery = baseQuery.And(filterQuery);&#xA;            }&#xA;&#xA;            var searchResults = context.GetQueryable&amp;lt;PageSearchResultItem&amp;gt;().Filter(baseQuery).GetResults();&#xA;            int count = searchResults.Hits.Count();&#xA;            var results = searchResults.Hits.Select(i =&amp;gt; i.Document).Skip(skip).Take(take).ToList();&#xA;&#xA;            return new PageSearchResults()&#xA;            {&#xA;                Results = results,&#xA;                TotalResults = count&#xA;            };&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have following service that uses the repository:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PageSearchService : IPageSearchService&#xA;{&#xA;    private IPageSearchRepository _pageSearchRepository;&#xA;&#xA;    public PageSearchService(IPageSearchRepository pageSearchRepository)&#xA;    {&#xA;        this._pageSearchRepository = pageSearchRepository;&#xA;    }&#xA;&#xA;    public PageSearchResults GetPagesBySearchQuery(string searchQuery, int page, int perpage)&#xA;    {&#xA;        int take = perpage;&#xA;        int skip = (page - 1) * perpage;&#xA;        string[] keywords = searchQuery.Split(' ');&#xA;        return this._pageSearchRepository.FindByKeywords(keywords, perpage, skip);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have following controller that uses the service:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SearchPageController : Controller&#xA;{&#xA;    private IPageSearchService _pageSearchService;&#xA;&#xA;    public SearchPageController(IPageSearchService pageSearchService)&#xA;    {&#xA;        this._pageSearchService = pageSearchService;&#xA;    }&#xA;&#xA;    [HttpGet]&#xA;    public ActionResult Index(string query, int page = 1, int perpage = 10)&#xA;    {&#xA;        var pages = this._pageSearchService.GetPagesBySearchQuery(query, page, perpage);&#xA;        var model = new SearchPageViewModel()&#xA;        {&#xA;            Pages = pages.Results,&#xA;            PageNumber = page,&#xA;            NumPages = (pages.TotalResults + perpage -1) / perpage ,&#xA;            SearchQuery = query, &#xA;            PerPage = perpage,&#xA;            BaseUrl = Sitecore.Context.Item.Url()&#xA;        };&#xA;        return View(model);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Dependencies are registered as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class DependenciesRegistration : IServicesConfigurator&#xA;{&#xA;    [MethodImpl(MethodImplOptions.NoInlining)]&#xA;    public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;        serviceCollection&#xA;            .AddScoped&amp;lt;ISitecoreContext, SitecoreContext&amp;gt;()&#xA;            .AddScoped&amp;lt;IPageSearchRepository, PageSearchRepository&amp;gt;()&#xA;            .AddScoped&amp;lt;IPageSearchService, PageSearchService&amp;gt;();&#xA;        serviceCollection.AddMvcControllersInCurrentAssembly();&#xA;&#xA;        var service = new ServiceDescriptor(typeof(BaseLinkManager), typeof(SwitchingLinkManager), ServiceLifetime.Singleton);&#xA;        serviceCollection.Replace(service);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How I can inject the correct context to the repository so that my repository has correct ISearchProviderContext without writing the code to do that in repository class itself?&lt;/p&gt;&#xA;" OwnerUserId="2938" LastEditorUserId="277" LastEditDate="2019-05-23T06:12:53.513" LastActivityDate="2019-05-23T06:12:53.513" Title="How can I pass correct IProviderSearchContext context of my custom index to repository via Dependency Injection?" Tags="|lucene|dependency-injection|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15153" PostTypeId="1" AcceptedAnswerId="15154" CreationDate="2018-11-26T08:04:41.880" Score="0" ViewCount="632" Body="&lt;p&gt;How to provide access only to the dictionary items under System node for content authors?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't need to expose other items under &lt;code&gt;/sitecore/system/&lt;/code&gt; node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content Authors already provided with &quot;Sitecore/Author&quot; role. They can see only the &lt;code&gt;/sitecore/content&lt;/code&gt; node.&lt;/p&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="2056" LastEditDate="2018-11-26T10:02:52.017" LastActivityDate="2018-11-26T10:02:52.017" Title="Access to Dictionary items for Content Authors" Tags="|sitecore-client|role-management|dictionary|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15154" PostTypeId="2" ParentId="15153" CreationDate="2018-11-26T08:24:20.337" Score="3" Body="&lt;p&gt;You shouldn't place dictionary content items under system. Instead make a dictionary item that inherits from dictionary under your content node and apply appropriate access to this item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you still want to I'd recommend making a 'Dictionary editor' role and give it read/write/create/delete permissions on system/dictionary.&#xA;To do this first click 'Unprotect' after selecting the right node. Then apply these settings.&#xA;Assign the right users, or the content author role, also this new role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tfvv9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tfvv9.png&quot; alt=&quot;Security editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2540" LastEditorUserId="2540" LastEditDate="2018-11-26T08:46:12.313" LastActivityDate="2018-11-26T08:46:12.313" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15155" PostTypeId="2" ParentId="15153" CreationDate="2018-11-26T09:03:38.293" Score="3" Body="&lt;p&gt;What Joost say is 100% correct, I recommend to use specific domain to specific website. &#xA;Is really easy to copy your dictionary domain from /system node to other place. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In version 6.6 as far I remember in site definition was introduce a new attribute dictionaryDomain. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend to add  the dictionary item not under System node and to be specific to the site, in case you have a multisite solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You site definition will look like : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;yoursitename&quot; patch:before=&quot;site[@name='website']&quot;&#xA;            ... &#xA;            dictionaryDomain=&quot;YourDictionaryDomain&quot;&#xA;            ... /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The dictionaryDomain is resolved in the below processor : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Performs dictionary lookups. The Sitecore.Globalization.Translate.Text() method invokes this pipeline. --&amp;gt;&#xA;    &amp;lt;getTranslation&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.GetTranslation.ResolveContentDatabase, Sitecore.Kernel&quot; /&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.GetTranslation.TryGetFromDomain, Sitecore.Kernel&quot; /&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.GetTranslation.TryGetFromFallbackDomains, Sitecore.Kernel&quot; /&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.GetTranslation.TryGetFromSiteDomain, Sitecore.Kernel&quot; /&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.GetTranslation.TryGetFromContextDatabase, Sitecore.Kernel&quot; /&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.GetTranslation.TryGetFromCoreDatabase, Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;/getTranslation&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-11-26T09:03:38.293" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15156" PostTypeId="2" ParentId="15153" CreationDate="2018-11-26T09:58:33.540" Score="1" Body="&lt;p&gt;I strongly agree with Joost regarding not a best practice giving content editors access to anything under /sitecore/system/ node even though you don't have other option here. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is one of the flaws using OOTB Dictionary functionality in Sitecore. There are a lot other flaws - for instance you need to clear dictionary cache after each publish as Sitecore stores them in one .dat file under /temp folder and you always need to refresh it as you never know what has been changed. We also had trouble refreshing this file on CD servers and instead of translated dictionary entries / phrases, visitors saw dictionary keys :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend looking into Sitecore Habitat project and inspire by its Dictionary Foundation module:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/master/src/Foundation/Dictionary&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/tree/master/src/Foundation/Dictionary&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using SXA in your solution or planning to use, I would recommend looking into Sitecore Habitat.Home project and inspire by its Dictionary Foundation module:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Platform/tree/master/src/Foundation/Dictionary&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Platform/tree/master/src/Foundation/Dictionary&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you would have Dictionary entries under /sitecore/content node like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9pOeC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9pOeC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and code how you use it could look like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pZADT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pZADT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-11-26T09:58:33.540" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15157" PostTypeId="2" ParentId="1762" CreationDate="2018-11-26T10:07:54.070" Score="0" Body="&lt;p&gt;This is one of the flaws using OOTB Dictionary functionality in Sitecore. There are a lot other flaws like permissions for this node under &lt;code&gt;/sitecore/system&lt;/code&gt; need to be set for content editors and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend looking into Sitecore Habitat project and inspire by its Dictionary Foundation module:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/master/src/Foundation/Dictionary&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/tree/master/src/Foundation/Dictionary&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using SXA in your solution or planning to use, I would recommend looking into Sitecore Habitat.Home project and inspire by its Dictionary Foundation module:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Platform/tree/master/src/Foundation/Dictionary&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Platform/tree/master/src/Foundation/Dictionary&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you would have Dictionary entries under /sitecore/content node like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9pOeC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9pOeC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and code how you use it could look like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pZADT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pZADT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-11-26T10:07:54.070" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15158" PostTypeId="1" AcceptedAnswerId="15159" CreationDate="2018-11-26T11:32:05.690" Score="1" ViewCount="1466" Body="&lt;p&gt;When we create security roles and assign access rights, corresponding serialized files for role get created. But when we look at the files we don't see any data related to access rights. So just wanted to know where the data related to access are stored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Unicorn for serialization.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;Role: |&#xA;  che\Approver&#xA;MemberOf:&#xA;  Role: |&#xA;    che\Editor&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1913" LastEditorUserId="342" LastEditDate="2018-11-26T16:18:26.340" LastActivityDate="2018-11-26T16:18:26.340" Title="Where are the access rights stored for security roles in serialized files?" Tags="|security|unicorn|serialization|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15159" PostTypeId="2" ParentId="15158" CreationDate="2018-11-26T12:26:54.950" Score="6" Body="&lt;h1&gt;Security stored on items&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Access rights (security) are stored on the item itself, in the &lt;code&gt;__Security&lt;/code&gt; field. You can see the contents of this field in a few ways:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Security Details tab&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the Content Editor, under the &lt;strong&gt;Security&lt;/strong&gt; ribbon tab, click the &lt;strong&gt;Details&lt;/strong&gt; button and you will see the following tab:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LymIx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LymIx.png&quot; alt=&quot;Security Details tab&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Raw field values&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you want to be able to copy the security from one item to another (or manually manipulate the security settings [not recommended]), you can show standard fields (&lt;strong&gt;View&lt;/strong&gt; ribbon tab -&gt; &lt;strong&gt;Standard Fields&lt;/strong&gt;) and show raw values (&lt;strong&gt;View&lt;/strong&gt; ribbon tab -&gt; &lt;strong&gt;Raw Values&lt;/strong&gt;):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Mu6gD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Mu6gD.png&quot; alt=&quot;__Security raw values&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Access Viewer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To see the &lt;em&gt;effective&lt;/em&gt; security permissions for an item, you can use the Access Viewer (&lt;strong&gt;Security&lt;/strong&gt; ribbon tab -&gt; &lt;strong&gt;Access Viewer&lt;/strong&gt;). This shows not just what security is set on the current item, but how the ancestors' security affects this item for a given user or role:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tfbON.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tfbON.png&quot; alt=&quot;Access Viewer&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="556" LastEditDate="2018-11-26T14:12:47.040" LastActivityDate="2018-11-26T14:12:47.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15160" PostTypeId="1" AcceptedAnswerId="15161" CreationDate="2018-11-26T12:39:08.137" Score="4" ViewCount="1283" Body="&lt;p&gt;I'm VERY new to Sitecore so forgive me, if this question doesn't make any sense.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added an insert option to the &lt;code&gt;__StandardValues&lt;/code&gt; of a template. I expect the content using this template to have the this new insert option but it doesn't. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another step to this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;or do changes to templates not affect those content that have already been created using the template... &lt;/p&gt;&#xA;" OwnerUserId="4649" LastEditorUserId="2727" LastEditDate="2018-11-26T12:52:30.757" LastActivityDate="2018-11-26T13:04:19.770" Title="How to edit the insert options for existing content using that template?" Tags="|templates|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15161" PostTypeId="2" ParentId="15160" CreationDate="2018-11-26T12:47:09.110" Score="6" Body="&lt;p&gt;This is a normal behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on below picture. You need to press Reset button from Insert Options section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you create new items based on the template you will see the changes from Standard Value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zIE0T.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zIE0T.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to reset InsertOptions of an item  you can do it programatically using: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;C# Code: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;item.Fields[&quot;__Masters&quot;].Reset();&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Using Powershell Extension : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: Get-Item &quot;master:/sitecore/content/home&quot; | Reset-ItemField -IncludeStandardFields -Name &quot;__Masters&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-11-26T13:04:19.770" LastActivityDate="2018-11-26T13:04:19.770" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15162" PostTypeId="2" ParentId="15158" CreationDate="2018-11-26T12:49:58.387" Score="3" Body="&lt;p&gt;&lt;strong&gt;Security&lt;/strong&gt; informations are stored on the item and stored in the &lt;code&gt;__Security&lt;/code&gt; Field. This is a shared field and you should find it in SharedFields table. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get the value from database, you can trigger below SQL query &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT  Id, ItemId, FieldId, Value, Created, Updated&#xA;FROM    SharedFields&#xA;WHERE   ItemId = '{A57C19C2-8EE3-4DEC-AA39-0B8D522D59EB}' AND FieldId = '{DEC8D2D5-E3CF-48B6-A653-8E69E2716641}' /* Guid is the ID of the __Security field */&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Result&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8AA77E96-2330-4BE1-A554-BAE9C60536FF    A57C19C2-8EE3-4DEC-AA39-0B8D522D59EB    DEC8D2D5-E3CF-48B6-A653-8E69E2716641    au|sitecore\agency|pd|-item:write|-item:admin|!*|+item:read|-item:delete|-item:create|-item:rename|pe|-item:write|-item:admin|!*|+item:read|-item:delete|-item:create|-item:rename| 2011-03-07 11:48:14.563 2011-03-07 11:48:14.563&#xA;06A6DB6C-6DEF-40E0-8CF8-8E179877DBB8    A57C19C2-8EE3-4DEC-AA39-0B8D522D59EB    DEC8D2D5-E3CF-48B6-A653-8E69E2716641    au|sitecore\agency|pd|-item:write|-item:admin|!*|+item:read|-item:delete|-item:create|-item:rename|pe|-item:write|-item:admin|!*|+item:read|-item:delete|-item:create|-item:rename| 2011-03-07 11:48:14.270 2011-03-07 11:48:14.270&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2018-11-26T12:49:58.387" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15163" PostTypeId="2" ParentId="15160" CreationDate="2018-11-26T12:53:25.577" Score="2" Body="&lt;h1&gt;Reset Insert Options field to standard values&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the &lt;code&gt;__Standard Values&lt;/code&gt; item for that template. (This is true even if you updated the item's value back to what was stored in the &lt;code&gt;__Standard Values&lt;/code&gt; item).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To remove the item-specific value and fall back to the standard value, you can use the &lt;strong&gt;Reset&lt;/strong&gt; button:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the Content Editor, under the &lt;strong&gt;View&lt;/strong&gt; ribbon tab, check the &lt;strong&gt;Standard fields&lt;/strong&gt; checkbox to show standard fields, of which the Insert options field (technically called &lt;code&gt;__Masters&lt;/code&gt;) is one.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &lt;strong&gt;Versions&lt;/strong&gt; ribbon tab, click the &lt;strong&gt;Reset&lt;/strong&gt; button:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MLWt7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MLWt7.png&quot; alt=&quot;Reset Field Values dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check the box next to the &lt;strong&gt;Insert options&lt;/strong&gt; field and click the &lt;strong&gt;Reset&lt;/strong&gt; button.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-26T12:53:25.577" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15164" PostTypeId="1" AcceptedAnswerId="15238" CreationDate="2018-11-26T14:28:30.130" Score="3" ViewCount="145" Body="&lt;p&gt;We are running Sitecore 8.2 and EXM 3.4 on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just noticed that If I open the email in the web G-Mail client, all image urls are being replaced by google with some proxy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example the initial html for pixels that we send look like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/xsgcW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xsgcW.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in G-Mail they all start with &lt;code&gt;https://ci5.googleusercontent.com/proxy/&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5NcT1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5NcT1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And it appears that first one - email open pixel with G-Mail proxy'ed url returns 404 by some reason - so in the mailbox I see next picture:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/asHvT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/asHvT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which also can affect the open email stats in the backend...&#xA;Is there anything we can do about it? Is it a known issue? &lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="915" LastEditDate="2018-11-26T15:22:02.207" LastActivityDate="2018-11-29T00:19:55.703" Title="Email open pixel handler fails in G-Mail" Tags="|exm|" AnswerCount="1" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15165" PostTypeId="1" AcceptedAnswerId="15166" CreationDate="2018-11-26T15:23:30.417" Score="10" ViewCount="17267" Body="&lt;p&gt;The title pretty much says it all - I've looked at the docs but I just keep finding &lt;code&gt;Get-Item&lt;/code&gt; and &lt;code&gt;Get-ItemTempate&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lets say I have a template with id 123456, I want to get all items that are using this template. How would I do that?&lt;/p&gt;&#xA;" OwnerUserId="4649" LastActivityDate="2023-04-11T10:42:18.543" Title="Powershell get all items that use a template" Tags="|powershell-extensions|" AnswerCount="6" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15166" PostTypeId="2" ParentId="15165" CreationDate="2018-11-26T15:37:52.100" Score="11" Body="&lt;p&gt;This should do it for you.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$defaultPath = &quot;/sitecore/content&quot;&#xA;[Sitecore.Data.ID]$articleId = &quot;{03360FC1-B4C0-4770-9E1D-79E8317B74DD}&quot;&#xA;&#xA;$articles = Find-Item -Index sitecore_master_index `&#xA;   -Where 'TemplateId = @0 and Path.StartsWith(@1)' `&#xA;   -WhereValues $articleId, $defaultPath | Initialize-Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another way using template name and Criteria.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$articles = Find-Item `&#xA;   -Index sitecore_master_index `&#xA;   -Criteria @{Filter = &quot;Equals&quot;; Field = &quot;_templatename&quot;; Value = &quot;Article&quot;},&#xA;   @{Filter = &quot;Equals&quot;; Field = &quot;_language&quot;; Value = &quot;en&quot;},&#xA;   @{Filter = &quot;StartsWith&quot;; Field = &quot;_fullpath&quot;; Value = &quot;/sitecore/content&quot; } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-11-26T15:37:52.100" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15167" PostTypeId="1" CreationDate="2018-11-26T15:49:11.707" Score="3" ViewCount="50" Body="&lt;p&gt;When deploying your application into e.g. Azure there are lots of configurations that allow adding or removing features. A good example would be XP vs XM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have the situation where we don't use buckets, we don't use xDB and we don't need shared session - a pretty light setup! What else does Sitecore need behind the scenes that relies on an index?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to configure things so that you don't need any search indexes available? The reason being it would save us time during our provisioning and it would save a fair amount of cloud costs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I seem to recall a conversation that in the future lucene may no longer be supported so I'd rather be able to specify &lt;code&gt;search:define=&quot;None&quot;&lt;/code&gt; rather than something like lucene.&lt;/p&gt;&#xA;" OwnerUserId="443" LastActivityDate="2018-11-26T15:49:11.707" Title="Is it possible to run a CD deployment without any indexing tools in place?" Tags="|indexing|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15168" PostTypeId="2" ParentId="15165" CreationDate="2018-11-26T16:03:06.143" Score="19" Body="&lt;p&gt;There is a report included with SPE called &lt;em&gt;Items with Template&lt;/em&gt; that can provide you with this information. This report scans a tree and checks for inheritance at any level. Slow because it has to look at every item. Incomplete because it only looks at the tree specified.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gEAdV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gEAdV.png&quot; alt=&quot;Sample Report Dialog&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I would recommend you use the &lt;code&gt;Get-ItemReferrer&lt;/code&gt; command. This is based on the Link Database and should be extremely fast; items that in no way are related are never requested. &lt;strong&gt;Be sure the Link Db is up-to-date before running&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;A similar question was asked &lt;a href=&quot;https://sitecore.stackexchange.com/questions/7339/sitecore-powershell-script-to-find-items-that-break-inheritance/7340#7340&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h3&gt;Find related items&lt;/h3&gt;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following returns all items referring to a given template.&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$sampleItemTemplateId = &amp;quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&amp;quot;&#xA;$sampleItemTemplateItem = Get-Item -Path &amp;quot;master:&amp;quot; -ID $sampleItemTemplateId&#xA;&#xA;Get-ItemReferrer -Item $sampleItemTemplateItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;As you can see below, all referrers are returned. You can then filter out with &lt;code&gt;Where-Object&lt;/code&gt; if you want to exclude content, media, templates, etc.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bBMxs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bBMxs.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Find related items at any level of inheritance&lt;/h3&gt;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following returns all items referring to a given template that inherit that template. Demonstrates the use of the &lt;a href=&quot;https://sitecore.stackexchange.com/a/10300/95&quot;&gt;trampoline technique&lt;/a&gt; to reduce call depth. There are checks to ensure that the item exists and no duplicates are returned.&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function Get-ItemBasedOnTemplate {&#xA;    param(&#xA;        [string]$TemplateId&#xA;    )&#xA;&#xA;    $queue = New-Object System.Collections.Queue&#xA;    $processedLookup = New-Object System.Collections.Generic.HashSet[string]&#xA;    if(-not(Test-Path -Path &amp;quot;master:$($TemplateId)&amp;quot;)) { return }&#xA;    $processedLookup.Add($TemplateId) &amp;gt; $null  &#xA;    Get-ItemReferrer -Id $TemplateId -ItemLink | &#xA;        Where-Object { $_.SourceItemID } | &#xA;        ForEach-Object { $queue.Enqueue($_.SourceItemID) }&#xA;&#xA;    $database = Get-Database -Name &amp;quot;master&amp;quot;&#xA;    while($queue.Count -and ($referrerId = $queue.Dequeue())) {&#xA;        if($processedLookup.Contains($referrerId)) { continue }&#xA;        $processedLookup.Add($referrerId) &amp;gt; $null&#xA;        $referrer = $database.GetItem($referrerId)&#xA;        if(!$referrer) { continue }&#xA;        if($referrer.Paths.FullPath.StartsWith(&amp;quot;/sitecore/templates&amp;quot;)) { &#xA;            if($referrer.Name -eq &amp;quot;__Standard values&amp;quot;) { continue }&#xA;            foreach($referrerItemLink in Get-ItemReferrer -Id $referrerId -ItemLink | Where-Object { $_.SourceItemID }) {&#xA;                $queue.Enqueue($referrerItemLink.SourceItemID)&#xA;            }&#xA;            $itemTemplate = [Sitecore.Data.Managers.TemplateManager]::GetTemplate($referrerId, $database)&#xA;        } else {&#xA;            $itemTemplate = [Sitecore.Data.Managers.TemplateManager]::GetTemplate($referrer)&#xA;        }&#xA;        &#xA;        if ($itemTemplate -and $itemTemplate.DescendsFromOrEquals($TemplateId)) {&#xA;            $referrer&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$baseTemplateId = &amp;quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&amp;quot;&#xA;Get-ItemBasedOnTemplate -TemplateId $baseTemplateId&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;Demo&lt;/h3&gt;&#xA;&lt;p&gt;The following demonstrates three base templates:&#xA;&lt;code&gt;Base Template -&amp;gt; Base Template 1 -&amp;gt; Base Template 2&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2ZBfz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2ZBfz.png&quot; alt=&quot;Query base template&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Interesting discovery. Switched from &lt;code&gt;Get-Item&lt;/code&gt; to &lt;code&gt;$db.GetItem()&lt;/code&gt; and the results are considerably faster; SPE wraps objects returned &lt;code&gt;Get-Item&lt;/code&gt; and &lt;code&gt;Get-ChildItem&lt;/code&gt; with additional properties.&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$baseTemplateId = &amp;quot;{3F8A6A5D-7B1A-4566-8CD4-0A50F3030BD8}&amp;quot;&#xA;$watch = [System.Diagnostics.Stopwatch]::StartNew()&#xA;$itemCount = Get-ItemBasedOnTemplate -TemplateId $baseTemplateId | &#xA;    Measure-Object | Select-Object -Expand Count&#xA;$watch.Stop()&#xA;$time = $watch.ElapsedMilliseconds / 1000&#xA;Write-Host &amp;quot;Discovered and returned $($itemCount) items in $($time) seconds&amp;quot;&#xA;&#xA;# Discovered and returned 1307 items in 0.527 seconds&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2022-09-09T13:13:15.710" LastActivityDate="2022-09-09T13:13:15.710" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15169" PostTypeId="1" CreationDate="2018-11-26T16:23:41.040" Score="0" ViewCount="379" Body="&lt;p&gt;I have a utility page that creates Sitecore items from a csv file. This utility page is used to import thousands of items at a time, which are used for interactive map data. The items are stored in Year folders for organization. The import process starts by deleting all of the year folders, then programmatically creates new Year folders and items within those folders. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that if the upload fails due to a user trying to import bad data (say, an empty CSV file, or data that for some reason causes an error to be thrown), all of the items are deleted and do not get re-created. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The user can (and should) run the Export utility (which creates a CSV file of all the items, opposite of the Import) and/or make a Sitecore package as a backup in case of failure. However, I would like additional safety measures that don't depend on the user to remember to take backups, to restore the content if the import fails. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The items are deleted in the following method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private void DeleteAllTrialFolders(IMap_Page mapItem)&#xA;    {&#xA;        var folders = ItemService.GetDescendants(mapItem).OfType&amp;lt;IYear_Folder&amp;gt;();&#xA;&#xA;        foreach (var folder in folders)&#xA;        {&#xA;            SitecoreService.Delete(folder);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a way to transfer the root item and all children from web to master programmatically? Or another method of restoring items that have been deleted?&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2018-11-26T20:05:44.807" LastActivityDate="2018-11-26T20:05:44.807" Title="Programmatically move items from web to master database?" Tags="|sitecore-api|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15170" PostTypeId="1" AcceptedAnswerId="15331" CreationDate="2018-11-26T16:26:45.337" Score="12" ViewCount="918" Body="&lt;p&gt;I have create a custom predicate according to the documentation: &lt;a href=&quot;https://doc.sitecore.net/developers/xp/segmentation/create-a-custom-predicate.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/segmentation/create-a-custom-predicate.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The rule has been defined in &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/My Rules/Custom Rule&lt;/code&gt;. The compiled DLL has been copied to &lt;code&gt;XConnectFolder\App_data\jobs\continuous\AutomationEngine&lt;/code&gt; and an XML file has been generated and copied to &lt;code&gt;XConnectFolder\App_data\jobs\continuous\AutomationEngine\App_Data\Config\sitecore\Segmentation\MyPredicates.xml&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After this, the &lt;code&gt;Sitecore Marketing Automation Engine&lt;/code&gt; Windows service has been restartet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I create a new autmation campaign, create a &quot;Custom listener&quot; which uses my predicate rule, and save the campaign. Then, I'm adding a contact to an automation campaign, but when I do this the following appears in the automation engine log file:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-11-26 16:33:54.460 +01:00 [Error] An error occurred during activity invocation for activity '890dc014-8e70-b4b4-d15a-6cc837f7c11a' in plan '2667589a-34b9-4f98-aad3-6d3f3075c8d6'&#xA;  DescriptorId : 9f3a44f4-179a-4d19-8583-14a8874e5bba&#xA;  Sitecore.XConnect.Segmentation.ExpressionBuilder.PredicateDescriptorException: No predicate descriptor was registered with Id '9f3a44f4-179a-4d19-8583-14a8874e5bba'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Why does this error appear when the predicate has been registered in Sitecore and added to an Automation Engine XML file?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the (obfuscated) XML used in the &lt;code&gt;Segmentation&lt;/code&gt; folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;XConnect&amp;gt;&#xA;      &amp;lt;Services&amp;gt;&#xA;        &amp;lt;DescriptorLocator&amp;gt;&#xA;          &amp;lt;Options&amp;gt;&#xA;            &amp;lt;PredicateDescriptors&amp;gt;&#xA;              &amp;lt;MyRuleClassName&amp;gt;&#xA;                &amp;lt;id&amp;gt;{9F3A44F4-179A-4D19-8583-14A8874E5BBA}&amp;lt;/id&amp;gt;&#xA;                &amp;lt;type&amp;gt;MyRuleNamespace.MyRuleClassName, MyAssembly&amp;lt;/type&amp;gt;&#xA;              &amp;lt;/MyRuleClassName&amp;gt;&#xA;            &amp;lt;/PredicateDescriptors&amp;gt;&#xA;          &amp;lt;/Options&amp;gt;&#xA;        &amp;lt;/DescriptorLocator&amp;gt;&#xA;      &amp;lt;/Services&amp;gt;&#xA;    &amp;lt;/XConnect&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3587" LastEditorUserId="3587" LastEditDate="2018-11-27T09:14:43.463" LastActivityDate="2018-12-03T10:57:34.230" Title="Automation Engine can't find custom predicate" Tags="|rules-engine|marketing-automation|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15171" PostTypeId="1" AcceptedAnswerId="15190" CreationDate="2018-11-26T17:17:54.890" Score="2" ViewCount="681" Body="&lt;p&gt;I have managed to get a list of items that use a specific template. I now want to add an &lt;code&gt;Insert option&lt;/code&gt; to each of those items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand that I can edit the template &lt;code&gt;Insert options&lt;/code&gt; and update the &lt;code&gt;Items&lt;/code&gt; but this will remove some custom &lt;code&gt;Insert options&lt;/code&gt; that have been added to items. I've looked at the examples &lt;a href=&quot;https://gist.github.com/Adamsimsy/30dc60df837c1400e6fccd814b3dc752&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; but there isn't one to do what I need to do - so perhaps it's not possible.&lt;/p&gt;&#xA;" OwnerUserId="4649" LastEditorUserId="342" LastEditDate="2018-11-27T13:54:50.350" LastActivityDate="2018-11-27T13:54:50.350" Title="Is it possible to edit the InsertItems of an item" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15175" PostTypeId="2" ParentId="15151" CreationDate="2018-11-26T20:26:40.693" Score="1" Body="&lt;p&gt;Instead of injecting it I would use the ContentSearchManager to grab the desired index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContentSearchManager.GetIndex($&quot;myproject_page_{Context.Database.Name}_index&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4370" LastActivityDate="2018-11-26T20:26:40.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15176" PostTypeId="2" ParentId="15123" CreationDate="2018-11-26T21:30:04.217" Score="7" Body="&lt;p&gt;Remove Parameter &quot;LicenseFile&quot; on line 19 from the standard xconnect-xp1-collection.json. Then modify the tasks by removing &quot;SetLicense&quot; at line 316, &quot;startAppPool&quot; at line 451, and also &quot;StartWebsite&quot; at line 459. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My xconnect-xp1-collection.json&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// -------------------------------------------------------------------------- //&#xA;//         Sitecore Install Framework - XConnect XP1 Collection               //&#xA;//                                                                            //&#xA;//  Run this configuration to install the XConnect Collection service.        //&#xA;//                                                                            //&#xA;//  NOTE: Only single line comments are accepted in configurations.           //&#xA;// -------------------------------------------------------------------------- //&#xA;&#xA;{&#xA;    &quot;Parameters&quot;: {&#xA;        // Parameters are values that may be passed when Install-SitecoreConfiguration is called.&#xA;        // Parameters must declare a Type and may declare a DefaultValue and Description.&#xA;        // Parameters with no DefaultValue are required when Install-SitecoreConfiguration is called.&#xA;&#xA;        &quot;Package&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The path to the Web Deploy package to deploy.&quot;&#xA;        },&#xA;        &quot;SiteName&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;XConnectCollection&quot;,&#xA;            &quot;Description&quot;: &quot;The name of the site to be deployed.&quot;&#xA;        },&#xA;        &quot;SSLCert&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The certificate to use for HTTPS web bindings. Provide the name or the thumbprint. If not provided a certificate will be generated.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;&quot;&#xA;        },&#xA;        &quot;XConnectCert&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The certificate to use for encryption. Provide the name or the thumbprint.&quot;&#xA;        },&#xA;        &quot;SqlDbPrefix&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The prefix used for all Sql databases.&quot;&#xA;        },&#xA;        &quot;SqlAdminUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;sa&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin user account to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SqlAdminPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin password to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SqlCollectionUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;collectionuser&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin user account to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SqlCollectionPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin password to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SqlProcessingPoolsUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;poolsuser&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql user for the Processing Pools connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlProcessingPoolsPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Processing Pools connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlMarketingAutomationUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;marketingautomationuser&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql user for the Marketing Automation connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlMarketingAutomationPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Marketing Automation connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlMessagingUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;messaginguser&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql user for the Messaging connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlMessagingPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Messaging connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlServer&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;.\\SQLSERVER&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql Server where databases will be installed.&quot;&#xA;        },&#xA;        &quot;XConnectEnvironment&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Development&quot;,&#xA;            &quot;Description&quot;: &quot;The configuration environment for this instance.&quot;&#xA;        },&#xA;        &quot;XConnectLogLevel&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Information&quot;,&#xA;            &quot;Description&quot;: &quot;The level of log information to output.&quot;&#xA;        },&#xA;        &quot;InstallDirectory&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;D:\\&quot;,&#xA;            &quot;Description&quot;: &quot;The path for the package to deploy to.&quot;&#xA;        }&#xA;    },&#xA;    &quot;Variables&quot;: {&#xA;        // Variables are values calculated in a configuration.&#xA;        // They can reference Parameters, other Variables, and config functions.&#xA;&#xA;        // The prefix for shards created by the tool&#xA;        &quot;Sharding.Database.Prefix&quot;: &quot;[concat(parameter('SqlDbPrefix'), '_Xdb.Collection.Shard')]&quot;,&#xA;&#xA;        // The database names.&#xA;        &quot;Sql.Database.ShardMapManager&quot;:     &quot;[concat(variable('Sharding.Database.Prefix'), 'MapManager')]&quot;,&#xA;        &quot;Sql.Database.Shard0&quot;:              &quot;[concat(variable('Sharding.Database.Prefix'), '0')]&quot;,&#xA;        &quot;Sql.Database.Shard1&quot;:              &quot;[concat(variable('Sharding.Database.Prefix'), '1')]&quot;,&#xA;        &quot;Sql.Database.Pools&quot;:               &quot;[concat(parameter('SqlDbPrefix'), '_Processing.Pools')]&quot;,&#xA;        &quot;Sql.Database.MarketingAutomation&quot;: &quot;[concat(parameter('SqlDbPrefix'), '_MarketingAutomation')]&quot;,&#xA;        &quot;Sql.Database.Messaging&quot;: &quot;[concat(parameter('SqlDbPrefix'), '_Messaging')]&quot;,&#xA;&#xA;        // The security certificate details&#xA;        &quot;Security.CertificateStore&quot;: &quot;Cert:\\Localmachine\\My&quot;,&#xA;        &quot;Security.SSL.CertificateThumbprint&quot;: &quot;[GetCertificateThumbprint(parameter('SSLCert'), variable('Security.CertificateStore'))]&quot;,&#xA;        &quot;Security.XConnect.CertificateThumbprint&quot;: &quot;[GetCertificateThumbprint(parameter('XConnectCert'), variable('Security.CertificateStore'))]&quot;,&#xA;        &quot;Security.XConnect.CertificatePath&quot;:        &quot;[joinpath(variable('Security.CertificateStore'), variable('Security.XConnect.CertificateThumbprint'))]&quot;,&#xA;&#xA;        // The sites full path on disk&#xA;        &quot;Site.PhysicalPath&quot;: &quot;[joinpath(parameter('InstallDirectory'), parameter('SiteName'))]&quot;,&#xA;&#xA;        // The sites data folder&#xA;        &quot;Site.DataFolder&quot;: &quot;[joinpath(variable('Site.PhysicalPath'), 'App_Data')]&quot;,&#xA;&#xA;        // The path to the automation engine windows service&#xA;        &quot;Services.IndexWorker.InstallPath&quot;: &quot;[joinpath(variable('Site.DataFolder'), 'jobs','continuous','IndexWorker')]&quot;,&#xA;        &quot;Services.IndexWorker.Name&quot;: &quot;[concat(parameter('SiteName'), '-indexworker')]&quot;,&#xA;&#xA;        // The sharding tool details.&#xA;        &quot;Sharding.Root.Path&quot;:       &quot;[joinpath(variable('Site.DataFolder'), 'collectiondeployment')]&quot;,&#xA;        &quot;Sharding.Tool.Path&quot;:       &quot;[joinpath(variable('Sharding.Root.Path'), 'Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe')]&quot;,&#xA;        &quot;Sharding.DacPac.Path&quot;:     &quot;[joinpath(variable('Sharding.Root.Path'), 'Sitecore.Xdb.Collection.Database.Sql.dacpac')]&quot;,&#xA;        &quot;Sharding.Map.Names&quot;:       [&quot;ContactIdShardMap&quot;, &quot;DeviceProfileIdShardMap&quot;, &quot;ContactIdentifiersIndexShardMap&quot; ],&#xA;        &quot;Sharding.DB.Connection&quot;:   &quot;[sqlconnectionstring(parameter('SqlServer'), '', parameter('SqlAdminUser'), parameter('SqlAdminPassword'))]&quot;,&#xA;        &quot;Sharding.Edition&quot;:         &quot;Basic&quot;,&#xA;        &quot;Sharding.SqlCmd.Path.CreateShardApplicationDatabaseServerLogin&quot;:   &quot;[joinpath(variable('Sharding.Root.Path'), 'CreateShardApplicationDatabaseServerLogin.sql')]&quot;,&#xA;        &quot;Sharding.SqlCmd.Path.CreateShardManagerApplicationDatabaseUser&quot;:   &quot;[joinpath(variable('Sharding.Root.Path'), 'CreateShardManagerApplicationDatabaseUser.sql')]&quot;,&#xA;        &quot;Sharding.SqlCmd.Path.CreateShardApplicationDatabaseUser&quot;:          &quot;[joinpath(variable('Sharding.Root.Path'), 'CreateShardApplicationDatabaseUser.sql')]&quot;&#xA;&#xA;    },&#xA;    &quot;Tasks&quot;: {&#xA;        // Tasks are separate units of work in a configuration.&#xA;        // Each task is an action that will be completed when Install-SitecoreConfiguration is called.&#xA;        // By default, tasks are applied in the order they are declared.&#xA;        // Tasks may reference Parameters, Variables, and config functions.&#xA;&#xA;        &quot;CreatePaths&quot;: {&#xA;            // Ensure the destination path for the site exists.&#xA;            &quot;Type&quot;: &quot;EnsurePath&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Exists&quot;: [ &quot;[variable('Site.PhysicalPath')]&quot; ]&#xA;            }&#xA;        },&#xA;        &quot;CreateAppPool&quot;: {&#xA;            // Creates or updates the app pool.&#xA;            &quot;Type&quot;: &quot;AppPool&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Properties&quot;: {&#xA;                    &quot;ProcessModel&quot;: {&#xA;                        &quot;identityType&quot; : &quot;ApplicationPoolIdentity&quot;&#xA;                    }&#xA;                }&#xA;            }&#xA;        },&#xA;        &quot;SetAppPoolCertStorePermissions&quot;: {&#xA;            // Set permissions for the App Pool User to access the client certificate.&#xA;            &quot;Type&quot;: &quot;FilePermissions&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot; : &quot;[ResolveCertificatePath(variable('Security.XConnect.CertificatePath'))]&quot;,&#xA;                &quot;Rights&quot;: [&#xA;                    {&#xA;                        &quot;User&quot;: &quot;[concat('IIS AppPool\\', parameter('SiteName'))]&quot;,&#xA;                        &quot;FileSystemRights&quot;: [&quot;Read&quot;],&#xA;                        &quot;InheritanceFlags&quot;: [ &quot;None&quot;]&#xA;                    }&#xA;                ]&#xA;            }&#xA;        },&#xA;        &quot;CreateWebsite&quot;: {&#xA;            // Creates or updates the IIS website instance.&#xA;            &quot;Type&quot;: &quot;Website&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;ApplicationPool&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;PhysicalPath&quot;: &quot;[variable('Site.PhysicalPath')]&quot;&#xA;            }&#xA;        },&#xA;        &quot;StopWebsite&quot;: {&#xA;            // Stops the website if it is running.&#xA;            &quot;Type&quot;: &quot;ManageWebsite&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Action&quot;: &quot;Stop&quot;&#xA;            }&#xA;        },&#xA;        &quot;StopAppPool&quot;: {&#xA;            // Stops the app pool if it is running.&#xA;            &quot;Type&quot;: &quot;ManageAppPool&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Name&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Action&quot;: &quot;Stop&quot;&#xA;            }&#xA;        },&#xA;        &quot;RemoveDefaultBinding&quot;: {&#xA;            // Removes the default *:80 web binding&#xA;            &quot;Type&quot;: &quot;WebBinding&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;SiteName&quot; : &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Remove&quot; : [ { &quot;Port&quot;: &quot;80&quot;, &quot;IPAddress&quot;: &quot;*&quot; } ]&#xA;            }&#xA;        },&#xA;        &quot;CreateBindingsWithThumprint&quot;: {&#xA;            // Configures the site bindings for the website.&#xA;            &quot;Type&quot;: &quot;WebBinding&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;SiteName&quot; : &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Add&quot;: [&#xA;                    {&#xA;                        &quot;HostHeader&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                        &quot;Protocol&quot;: &quot;https&quot;,&#xA;                        &quot;SSLFlags&quot;: 1,&#xA;                        &quot;Thumbprint&quot;: &quot;[variable('Security.SSL.CertificateThumbprint')]&quot;&#xA;                    }&#xA;                ]&#xA;            },&#xA;            &quot;Skip&quot;: &quot;[not(parameter('SSLCert'))]&quot;&#xA;        },&#xA;        &quot;SetClientCertificatePermissions&quot;: {&#xA;            &quot;Type&quot;: &quot;WebsiteClientCert&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;SiteName&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;Setting&quot;: &quot;Accept&quot;&#xA;            }&#xA;        },&#xA;        &quot;SupportListManagerLargeUpload&quot;:{&#xA;            &quot;Type&quot;: &quot;IISConfiguration&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;SiteName&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;ConfigPath&quot;: &quot;system.webServer/serverRuntime&quot;,&#xA;                &quot;Key&quot;: &quot;uploadReadAheadSize&quot;,&#xA;                &quot;Value&quot;: 491520000&#xA;            }&#xA;        },&#xA;        &quot;CreateHostHeader&quot;: {&#xA;            // Sets a hostheader for the website.&#xA;            &quot;Type&quot;: &quot;HostHeader&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;HostName&quot;: &quot;[parameter('SiteName')]&quot;&#xA;            }&#xA;        },&#xA;        &quot;SetPermissions&quot;: {&#xA;            // Sets permissions for the app pool user.&#xA;            &quot;Type&quot;: &quot;FilePermissions&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot; : &quot;[variable('Site.PhysicalPath')]&quot;,&#xA;                &quot;Rights&quot;: [&#xA;                    {&#xA;                        &quot;User&quot;: &quot;[concat('IIS AppPool\\', parameter('SiteName'))]&quot;,&#xA;                        &quot;FileSystemRights&quot;: &quot;FullControl&quot;,&#xA;                        &quot;InheritanceFlags&quot;: [ &quot;ContainerInherit&quot;, &quot;ObjectInherit&quot;]&#xA;                    }&#xA;                ]&#xA;            }&#xA;        },&#xA;        &quot;InstallWDP&quot;: {&#xA;            // Syncs the web deploy package with the website.&#xA;            &quot;Type&quot;: &quot;WebDeploy&quot;,&#xA;            &quot;Params&quot; : {&#xA;                &quot;Verb&quot;: &quot;Sync&quot;,&#xA;                &quot;Arguments&quot;: {&#xA;                    &quot;Source&quot;: { &quot;Package&quot;: &quot;[resolvepath(parameter('Package'))]&quot; },&#xA;                    &quot;Dest&quot;: &quot;Auto&quot;,&#xA;                    &quot;SetParam&quot;:  [&#xA;                        { &quot;Name&quot;: &quot;IIS Web Application Name&quot;, &quot;Value&quot;:  &quot;[parameter('SiteName')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Database Server Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlServer')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Database Admin User Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlAdminUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Database Admin User Password&quot;, &quot;Value&quot;: &quot;[parameter('SqlAdminPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Collection Database Server Name&quot;, &quot;Value&quot;: &quot;[parameter('SqlServer')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Collection Shard Map Manager Database Name&quot;, &quot;Value&quot;:  &quot;[variable('Sql.Database.ShardMapManager')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Collection Shard 0 Database Name&quot;, &quot;Value&quot;:  &quot;[variable('Sql.Database.Shard0')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Collection Shard 1 Database Name&quot;, &quot;Value&quot;:  &quot;[variable('Sql.Database.Shard1')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Processing Pools Database Name&quot;, &quot;Value&quot;:  &quot;[variable('Sql.Database.Pools')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Marketing Automation Database Name&quot;, &quot;Value&quot;:  &quot;[variable('Sql.Database.MarketingAutomation')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Messaging Database Name&quot;, &quot;Value&quot;:  &quot;[variable('Sql.Database.Messaging')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Collection Database Application User Name&quot;, &quot;Value&quot;:  &quot;[parameter('SqlCollectionUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Collection Database Application User Password&quot;, &quot;Value&quot;:  &quot;[parameter('SqlCollectionPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Processing Pool Database Application User Name&quot;, &quot;Value&quot;:  &quot;[parameter('SqlProcessingPoolsUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Processing Pool Database Application User Password&quot;, &quot;Value&quot;:  &quot;[parameter('SqlProcessingPoolsPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Marketing Automation Database Application User Name&quot;, &quot;Value&quot;:  &quot;[parameter('SqlMarketingAutomationUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Marketing Automation Database Application User Password&quot;, &quot;Value&quot;:  &quot;[parameter('SqlMarketingAutomationPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Messaging Database Application User Name&quot;, &quot;Value&quot;:  &quot;[parameter('SqlMessagingUser')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;Messaging Database Application User Password&quot;, &quot;Value&quot;:  &quot;[parameter('SqlMessagingPassword')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XConnect Server Configuration Environment&quot;, &quot;Value&quot;:  &quot;[parameter('XConnectEnvironment')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XConnect Server Configuration Environment&quot;, &quot;Value&quot;:  &quot;[parameter('XConnectEnvironment')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XConnect Server Certificate Validation Thumbprint&quot;, &quot;Value&quot;:  &quot;[variable('Security.XConnect.CertificateThumbprint')]&quot; },&#xA;                        { &quot;Name&quot;: &quot;XConnect Server Log Level&quot;, &quot;Value&quot;:  &quot;[parameter('XConnectLogLevel')]&quot; }&#xA;                    ]&#xA;                }&#xA;            }&#xA;        },&#xA;        &quot;CreateBindingsWithDevelopmentThumprint&quot;: {&#xA;            // Creates a new thumprint with a custom CA&#xA;            &quot;Type&quot;: &quot;AddWebFeatureSSL&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;HostName&quot;: &quot;[parameter('SiteName')]&quot;,&#xA;                &quot;OutputDirectory&quot;: &quot;[variable('Site.DataFolder')]&quot;&#xA;            },&#xA;            &quot;Skip&quot;: &quot;[parameter('SSLCert')]&quot;&#xA;        },&#xA;        &quot;CleanShards&quot; : {&#xA;            // Drop existing shards.&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;[variable('Sharding.Tool.Path')]&quot;,&#xA;                &quot;Arguments&quot;:[&#xA;                    &quot;/operation&quot;, &quot;drop&quot;,&#xA;                    &quot;/connectionstring&quot;, &quot;[variable('Sharding.DB.Connection')]&quot;,&#xA;                    &quot;/dbedition&quot;, &quot;[variable('Sharding.Edition')]&quot;,&#xA;                    &quot;/shardMapManagerDatabaseName&quot;, &quot;[variable('Sql.Database.ShardMapManager')]&quot;,&#xA;                    &quot;/shardMapNames&quot;, &quot;[join(variable('Sharding.Map.Names'))]&quot;&#xA;                ],&#xA;                &quot;TaskName&quot; : &quot;ShardingTool - Clean&quot;&#xA;            }&#xA;        },&#xA;        &quot;CreateShards&quot;: {&#xA;            // Create new shards.&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;[variable('Sharding.Tool.Path')]&quot;,&#xA;                &quot;Arguments&quot;:[&#xA;                    &quot;/operation&quot;, &quot;create&quot;,&#xA;                    &quot;/connectionstring&quot;, &quot;[variable('Sharding.DB.Connection')]&quot;,&#xA;                    &quot;/dbedition&quot;, &quot;[variable('Sharding.Edition')]&quot;,&#xA;                    &quot;/shardMapManagerDatabaseName&quot;, &quot;[variable('Sql.Database.ShardMapManager')]&quot;,&#xA;                    &quot;/shardMapNames&quot;, &quot;[join(variable('Sharding.Map.Names'))]&quot;,&#xA;                    &quot;/shardnumber&quot;, 2,&#xA;                    &quot;/shardnameprefix&quot;, &quot;[variable('Sharding.Database.Prefix')]&quot;,&#xA;                    &quot;/shardnamesuffix&quot;, &quot;\&quot;\&quot;&quot;,&#xA;                    &quot;/dacpac&quot;, &quot;[variable('Sharding.DacPac.Path')]&quot;&#xA;                ],&#xA;                &quot;TaskName&quot; : &quot;ShardingTool - Create&quot;&#xA;            }&#xA;        },&#xA;        // Create Collection Shard Database Server Login&#xA;        &quot;CreateShardApplicationDatabaseServerLoginSqlCmd&quot;: {&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;sqlcmd&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-i&quot;,&#xA;                    &quot;[variable('Sharding.SqlCmd.Path.CreateShardApplicationDatabaseServerLogin')]&quot;,&#xA;                    &quot;-S&quot;,&#xA;                    &quot;[parameter('SqlServer')]&quot;,&#xA;                    &quot;-U&quot;,&#xA;                    &quot;[parameter('SqlAdminUser')]&quot;,&#xA;                    &quot;-P&quot;,&#xA;                    &quot;[parameter('SqlAdminPassword')]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('UserName=',parameter('SqlCollectionUser'))]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('Password=',parameter('SqlCollectionPassword'))]&quot;&#xA;                ]&#xA;            }&#xA;        },&#xA;        // Create Collection Shard Manager Database User&#xA;        &quot;CreateShardManagerApplicationDatabaseUserSqlCmd&quot;: {&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;sqlcmd&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-i&quot;,&#xA;                    &quot;[variable('Sharding.SqlCmd.Path.CreateShardManagerApplicationDatabaseUser')]&quot;,&#xA;                    &quot;-S&quot;,&#xA;                    &quot;[parameter('SqlServer')]&quot;,&#xA;                    &quot;-U&quot;,&#xA;                    &quot;[parameter('SqlAdminUser')]&quot;,&#xA;                    &quot;-P&quot;,&#xA;                    &quot;[parameter('SqlAdminPassword')]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('UserName=',parameter('SqlCollectionUser'))]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('ShardMapManagerDatabaseName=',variable('Sql.Database.ShardMapManager'))]&quot;&#xA;                ]&#xA;            }&#xA;        },&#xA;        // Create Collection Shard 0 Database User&#xA;        &quot;CreateShard0ApplicationDatabaseUserSqlCmd&quot;: {&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;sqlcmd&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-i&quot;,&#xA;                    &quot;[variable('Sharding.SqlCmd.Path.CreateShardApplicationDatabaseUser')]&quot;,&#xA;                    &quot;-S&quot;,&#xA;                    &quot;[parameter('SqlServer')]&quot;,&#xA;                    &quot;-U&quot;,&#xA;                    &quot;[parameter('SqlAdminUser')]&quot;,&#xA;                    &quot;-P&quot;,&#xA;                    &quot;[parameter('SqlAdminPassword')]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('UserName=',parameter('SqlCollectionUser'))]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('ShardDatabaseName=',variable('Sql.Database.Shard0'))]&quot;&#xA;                ]&#xA;            }&#xA;        },&#xA;        // Create Collection Shard 1 Database User&#xA;        &quot;CreateShard1ApplicationDatabaseUserSqlCmd&quot;: {&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;sqlcmd&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-i&quot;,&#xA;                    &quot;[variable('Sharding.SqlCmd.Path.CreateShardApplicationDatabaseUser')]&quot;,&#xA;                    &quot;-S&quot;,&#xA;                    &quot;[parameter('SqlServer')]&quot;,&#xA;                    &quot;-U&quot;,&#xA;                    &quot;[parameter('SqlAdminUser')]&quot;,&#xA;                    &quot;-P&quot;,&#xA;                    &quot;[parameter('SqlAdminPassword')]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('UserName=',parameter('SqlCollectionUser'))]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('ShardDatabaseName=',variable('Sql.Database.Shard1'))]&quot;&#xA;                ]&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Powershell looks like this to run with SIF and was able to have an XConnect install with db deployment without any errors.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$PSScriptRoot = &quot;C:\Sitecore 9 Install&quot;&#xA;$SqlAdminUser = &quot;sitecore&quot;&#xA;$SqlAdminPassword = &quot;sitecore&quot; &#xA;$XCC_Cert_Name = &quot;$prefix.xconnect_client&quot;&#xA;$XCRD_Cert_Name = &quot;$prefix.xconnectsearch_client&quot;&#xA;$XCMA_Cert_Name = &quot;$prefix.xReferenceData_client&quot;&#xA;$XCMAR_Cert_Name = &quot;$prefix.xAutomationOperations_client&quot;&#xA;$SolrUrl = &quot;https://localhost:8983/solr/&quot;&#xA;$prefix = &quot;sitecoreTEST&quot;&#xA;$SqlServer = &quot;(local)\SQLDEV12&quot;&#xA;$InstallDirectory = &quot;C:\inetpub\wwwroot\THROW AWAY&quot;&#xA;$Environment = &quot;Production&quot;&#xA;$SolrRoot = &quot;C:\Program Files\solr-6.6.2&quot;&#xA;$SolrService = &quot;SOLR 662&quot;&#xA;&#xA;#install client certificate for xconnect servers&#xA;$certParams = &#xA;@{&#xA;    Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;&#xA;    XCC_CertificateName = $XCC_Cert_Name&#xA;    XCRD_CertificateName = $XCRD_Cert_Name&#xA;    XCMA_CertificateName = $XCMA_Cert_Name&#xA;    XCMAR_CertificateName = $XCMAR_Cert_Name&#xA;}&#xA;Install-SitecoreConfiguration @certParams -Verbose&#xA;&#xA;&#xA;# deploy xconnect instance &#xA;$xconnectParamsCollection = &#xA;@{&#xA;    Path = &quot;$PSScriptRoot\xconnect-xp1-collection-v2.json&quot;&#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.2 rev. 180604 (OnPrem)_xp1collection.scwdp.zip&quot;&#xA;    #LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;    Sitename = $prefix + &quot;XCC.sentry.com&quot;&#xA;    SqlDbPrefix = &quot;SitecoreTEST&quot;&#xA;    SqlServer = $SqlServer &#xA;    SqlAdminUser = $SqlAdminUser &#xA;    SqlAdminPassword = $SqlAdminPassword &#xA;    XConnectCert = $XCC_Cert_Name&#xA;    XConnectEnvironment = $Environment&#xA;    InstallDirectory = $InstallDirectory&#xA;}&#xA;Install-SitecoreConfiguration @xconnectParamsCollection &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll need to manually start the AppPool and Website once you do place your license but everything should be bound correctly from IIS. Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="4368" LastActivityDate="2018-11-26T21:30:04.217" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15177" PostTypeId="2" ParentId="15171" CreationDate="2018-11-27T00:07:19.370" Score="5" Body="&lt;p&gt;The best option is usually to assign insert options to &lt;em&gt;standard values&lt;/em&gt; of your base template but if that is not an option, you can try something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$insertOptionToAdd = '{961227F1-2AC1-4346-B833-D9DBED0B7113}'&#xA;$items = Get-Item -Path master: -Query &quot;/sitecore/content/Home/MyItems/* @@templatename ='My Template']&quot;&#xA;&#xA;$items | ForEach-Object {    &#xA;&#xA;  $insertOptions = {$_[&quot;__Masters&quot;].Split('|')}.Invoke()&#xA;&#xA;  if ($insertOptions[0] -eq &quot;&quot;) {&#xA;      $insertOptions.RemoveAt(0);&#xA;  }&#xA;&#xA;  if (!$insertOptions.Contains($insertOptionToAdd)) {&#xA;      $insertOptions.Add($insertOptionToAdd)&#xA;&#xA;      $newInsertOptions = [string]::Join(&quot;|&quot;,$insertOptions)&#xA;      Write-Host &quot;Updating Insert Options of &quot; $_.ID &quot; to:&quot; $newInsertOptions&#xA;&#xA;      $_.Editing.BeginEdit();&#xA;      $_[&quot;__Masters&quot;] = $newInsertOptions;&#xA;      $_.Editing.EndEdit();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(Backup your database before running)&lt;/p&gt;&#xA;" OwnerUserId="681" LastActivityDate="2018-11-27T00:07:19.370" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15178" PostTypeId="2" ParentId="14792" CreationDate="2018-11-27T05:57:00.000" Score="3" Body="&lt;p&gt;“Linked Item Has Allowed Template” Field Validator is working as expected for Droptree field.&#xA;You need to add &lt;strong&gt;DataSource=/sitecore/content/Home&amp;amp;IncludeTemplatesForSelection=Template Name&lt;/strong&gt; in Source field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: IncludeTemplatesForSelection should be equal to Template Name without double quotes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zWmB4.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zWmB4.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="1804" LastEditDate="2018-11-29T04:34:56.410" LastActivityDate="2018-11-29T04:34:56.410" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15181" PostTypeId="1" CreationDate="2018-11-27T08:16:57.900" Score="1" ViewCount="574" Body="&lt;p&gt;I cannot find any official documentation on Rebuilding the Link Databases and not sure which DB to select when choosing DB for rebuilding Link Databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the official installation guild, it says &quot;Select the Master and Core databases and the click Rebuild.&quot; but what about Web DB?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Hx5NK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hx5NK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4091" LastActivityDate="2019-04-30T14:42:04.793" Title="Do we need to rebuild the link databases on CD Server?" Tags="|upgrade|installation|link-database|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15183" PostTypeId="1" CreationDate="2018-11-27T09:36:24.860" Score="0" ViewCount="666" Body="&lt;p&gt;I was trying to access item using getitem method from SOAP service.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Items.Item item = Sitecore.context.Database.GetItem(&amp;lt;ID&amp;gt;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But Item is null. I tried to fetch using Id and path also. And checked the connection strings as well. Does the SOAP service need to have any special permissions to fetch the item? Do I have to check any other things why SOAP service is not able to search.&lt;/p&gt;&#xA;" OwnerUserId="3950" LastEditorUserId="70" LastEditDate="2018-11-27T12:50:53.673" LastActivityDate="2018-11-27T12:50:53.673" Title="Unable to fetch item using getitem method" Tags="|security|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15184" PostTypeId="2" ParentId="15066" CreationDate="2018-11-27T10:08:01.370" Score="0" Body="&lt;p&gt;After investigating i found that this error was due to the following api: /sitecore/api/ao/v1/contacts/search?&amp;amp;pageSize=20&amp;amp;pageNumber=1&amp;amp;..... returning null. &#xA;And the reason this api returning null is that i was using a &quot;Newtonsoft.Json.dll&quot; version 11 in which the function &quot;set_ParametrizedConstructor&quot; was obsolete So the json response couldn't be deserialized. &#xA;Replacing the Newtonsoft.Json.dll version 11 with version 9.0.1 solved the problem.&lt;/p&gt;&#xA;" OwnerUserId="3650" LastActivityDate="2018-11-27T10:08:01.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15185" PostTypeId="1" AcceptedAnswerId="15188" CreationDate="2018-11-27T11:05:52.623" Score="5" ViewCount="2133" Body="&lt;p&gt;i'm using sitecore 9.0.1, i'm trying to view custom interactions in the Experience Profile however when i open Experience profile i get no contacts (neither logged in nor anonymous contacts). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/chGsl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/chGsl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;After checking my cm logs i found the following exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: Sitecore.XConnect.XdbSearchUnavailableException&#xA;  Message: An error occurred while sending the request.&#xA;  Source: Sitecore.XConnect.Client&#xA;     at Sitecore.XConnect.Client.WebApi.SearchWebApiClient.d__9`1.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and the xconnect logs contains the following [ERROR]:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-11-27 14:20:22.589 +04:00 [Error] Sitecore.XConnect.Operations.XdbSearchOperation`1[Sitecore.XConnect.Contact]: System.TimeoutException: A wait for data to be indexed has been timed out.&#xA;  2018-11-27 14:20:22.589 +04:00 [Error] [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;  System.TimeoutException: A wait for data to be indexed has been timed out.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any idea what might be causing this error??&lt;/p&gt;&#xA;" OwnerUserId="3650" LastActivityDate="2022-06-24T11:31:35.793" Title="Experience Profile Error : Sitecore.XConnect.XdbSearchUnavailableException" Tags="|experience-profile|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15187" PostTypeId="2" ParentId="15183" CreationDate="2018-11-27T11:34:41.017" Score="1" Body="&lt;p&gt;My guess here would be that the SOAP service execution doesn't trigger Sitecore's http request pipeline which are responsible to resolve the information which are normally available through the &lt;code&gt;Sitecore.Context&lt;/code&gt; static class - nor does this normally what the developers should use to expose an API endpoint in Sitecore web application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of SOAP service, you should look in the following options if you're not tied to SOAP service approach:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://laubplusco.net/implementing-webapi-service-using-servicesapicontroller-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Use Web API controller&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecoreservicesclient/the_restful_api_for_the_itemservice&quot; rel=&quot;nofollow noreferrer&quot;&gt;Use Sitecore Services Client&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="849" LastActivityDate="2018-11-27T11:34:41.017" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15188" PostTypeId="2" ParentId="15185" CreationDate="2018-11-27T12:01:39.917" Score="6" Body="&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/batch-indexing.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/batch-indexing.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;xConnect increments a sync token in the storage layer each time a batch is submitted to xConnect. If the client’s SyncToken property is set when a search is performed, results will only be returned when indexing has caught up to &lt;strong&gt;at least that number&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The xConnect service ensures that data is indexed by the &lt;a href=&quot;https://doc.sitecore.net/developers/xp/xconnect/xconnect-search-indexer/configuration.html&quot; rel=&quot;noreferrer&quot;&gt;xConnect Indexer Service&lt;/a&gt; at least up to the SyncToken that is passed by the xConnect client. If the data is not yet indexed, the service waits for a certain period of time (30 seconds by default).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If after the 30 seconds the data is not yet in the search index, it throws &lt;code&gt;System.TimeoutException: A wait for data to be indexed has been timed out.&lt;/code&gt; This is what you see in the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most likely the xConnect Indexer Service is stopped, slow or overloaded.&lt;/p&gt;&#xA;" OwnerUserId="59" LastActivityDate="2018-11-27T12:01:39.917" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15189" PostTypeId="2" ParentId="15151" CreationDate="2018-11-27T12:09:24.897" Score="1" Body="&lt;p&gt;Other DI framework such as StructureMap allows you to create a conditional resolver during registration which allows you to configure different object to be passed to the concrete class constructor, for example&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;For&amp;lt;ISearchIndex&amp;gt;().Use(&quot;some description&quot;, c =&amp;gt; {&#xA;  return ContentSearchManager.GetIndex($&quot;myproject_page_{Sitecore.Context.Database.Name}_index&quot;)&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Obviously that's not available in the Sitecore's default DI framework, which is the Microsoft DI framework. Not that there aren't different ways to achieve the same thing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of passing the &lt;code&gt;ISearchIndex&lt;/code&gt; to your repository class constructor, you can instead pass a &lt;code&gt;IPageIndexResolver&lt;/code&gt; to your repository class to move the logic to resolve the correct search index during runtime.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface IPageSearchIndexResolver{&#xA;  ISearchIndex GetPageSearchIndex();&#xA;}&#xA;&#xA;public class PageSearchIndexResolver{&#xA;  public ISearchIndex GetPageSearchIndex(){&#xA;    return ContentSearchManager.GetIndex($&quot;myproject_page_{Sitecore.Context.Database.Name}_index&quot;)&#xA;  }&#xA;}&#xA;&#xA;public class PageSearchRepository{&#xA;  public PageSearchRepository(IPageSearchIndexResolver pageSearchIndexResolver){&#xA;    _index = pageSearchIndexResolver.GetPageSearchIndex();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I prefer to use this approach instead of the conditional object registration which StructureMap provides, because it allows you to encapsulate the resolver logic into it's own class, instead of littering the dependency container registration with conditional logic.&lt;/p&gt;&#xA;" OwnerUserId="849" LastActivityDate="2018-11-27T12:09:24.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15190" PostTypeId="2" ParentId="15171" CreationDate="2018-11-27T12:25:44.633" Score="9" Body="&lt;h1&gt;Use rules engine to add or remove Insert options&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you can't reset the items' insert options fields for whatever reason, you can always use the &lt;code&gt;Insert rules&lt;/code&gt; to add or remove insert options with the rules engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note: the best approach for managing insert options is almost &lt;em&gt;always&lt;/em&gt; to use the &lt;code&gt;Insert options&lt;/code&gt; (&lt;code&gt;__Masters&lt;/code&gt;) field on the &lt;code&gt;__Standard values&lt;/code&gt; item of the templates. Adding or removing a large number of insert options in this way will affect performance of the Sitecore Content Editor.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add a rule that manipulates the insert options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new item of template &lt;strong&gt;Insert Options Rule&lt;/strong&gt; below &lt;code&gt;/sitecore/system/Settings/Rules/Insert Options/Rules&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &lt;strong&gt;Rule&lt;/strong&gt; field, click &lt;strong&gt;Edit Rule&lt;/strong&gt; to open the &lt;strong&gt;Rule Set Editor&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xIjZn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xIjZn.png&quot; alt=&quot;Rule Set Editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &lt;strong&gt;Item Information&lt;/strong&gt; section of the conditions list (the left list), click on the condition &lt;code&gt;where the item template is _specific template_&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Rule description&lt;/strong&gt; section below, you should see your new rule appear. Click the &lt;code&gt;specific template&lt;/code&gt; link and select your page's template&lt;/li&gt;&#xA;&lt;li&gt;In the actions list (the right list), click on either &lt;code&gt;add specific insert options&lt;/code&gt; or &lt;code&gt;remove specific insert option&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &lt;strong&gt;Rule description&lt;/strong&gt; section, click the &lt;code&gt;specific&lt;/code&gt; link and select the template you'd like to add/remove&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Zsou9.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zsou9.png&quot; alt=&quot;Rule description configured&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click &lt;strong&gt;OK&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add a name for your rule in the &lt;strong&gt;Name&lt;/strong&gt; field&lt;/li&gt;&#xA;&lt;li&gt;Save the rule item&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-27T12:25:44.633" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15191" PostTypeId="2" ParentId="10510" CreationDate="2018-11-27T13:05:24.593" Score="4" Body="&lt;p&gt;Sitecore Commerce uses Serilog for logging. The max log file count is controlled by the retainedFileCountLimit parameter which is set to 31 by default (Serilog.Sinks.File.dll --&gt; FileLoggerConfigurationExtensions).&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Files older than 31 days will automatically be &lt;a href=&quot;https://github.com/serilog/serilog-sinks-file/blob/dev/README.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;deleted&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can control the total size of the logs by limiting the maximum file size per log file by changing the &lt;strong&gt;FileSizeLimitBytes&lt;/strong&gt; value in \wwwroot\config.json (default is 100 MB):&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KQfPO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KQfPO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3940" LastActivityDate="2018-11-27T13:05:24.593" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15193" PostTypeId="1" CreationDate="2018-11-27T16:26:25.213" Score="7" ViewCount="334" Body="&lt;p&gt;I am working with a content marketing team and we are building out custom paths for Path Analyzer. After deploying we are seeing terms like &quot;Picked-up&quot; and &quot;Initializing.&quot; Are these workflow or process related? Would like a little light shed on the meaning here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I recall a tool for being able to &quot;force&quot; Path data to be rebuilt, instead of waiting 24 hours. This was for Sitecore 8 and I am not sure if that applies to Sitecore 9 now. Is there a good approach to manually push rebuild of Path data for Sitecore 9?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance for any help around this.&lt;/p&gt;&#xA;" OwnerUserId="2706" LastActivityDate="2019-01-25T09:15:04.790" Title="Custom Path Creation Process in Path Analyzer" Tags="|path-analyzer|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15194" PostTypeId="1" CreationDate="2018-11-27T16:51:08.210" Score="0" ViewCount="1103" Body="&lt;p&gt;I have the following code that returns Items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static IList&amp;lt;Item&amp;gt; GetAll(Language language)&#xA;{&#xA;    var index = $&quot;my_index_{Context.Database.Name.ToLowerInvariant()}&quot;;&#xA;    using (var context = ContentSearchManager.GetIndex(index).CreateSearchContext())&#xA;    {&#xA;        var results = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().InLanguage(language);&#xA;        return results.ToList();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to unit test some code that uses this function. I have set up &lt;code&gt;FakeDb&lt;/code&gt; to use in the test as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var db = new Db&#xA;{&#xA;    new DbItem(&quot;Home&quot;) {{&quot;Title&quot;, &quot;Welcome!&quot;}}&#xA;})&#xA;{&#xA;    sitecoreReader.GetAllThings(); //this in turn calls GetAll(Language language)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now when the code hits the line &lt;code&gt;using (var context = ContentSearchManager.GetIndex(index).CreateSearchContext())&lt;/code&gt; it throws this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.ContentSearch.Exceptions.IndexNotFoundException&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Google is not helping me on this one...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: using the answer below and the FakeDb documentation I was &lt;em&gt;nearly&lt;/em&gt; able to unit test my code. I hit a wall with it when I realised my query uses extension methods that cannot be Moq'd!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code needs some serious refactoring to be able to test!&lt;/p&gt;&#xA;" OwnerUserId="4649" LastEditorUserId="4649" LastEditDate="2018-11-28T15:50:44.160" LastActivityDate="2018-11-28T15:50:44.160" Title="Unit testing Sitecore ContentSearchManager" Tags="|content-search|unit-testing|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15196" PostTypeId="1" AcceptedAnswerId="15197" CreationDate="2018-11-27T16:54:02.260" Score="3" ViewCount="108" Body="&lt;p&gt;My client has 12 sites, most of which have a specific language that the entire site is in. Editors are multilingual and jump between sites, forgetting to change the language in the upper right of the Content Editor. I would like to configure Insert Options Rules based on the language that &lt;strong&gt;is present in the Item&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To my surprise, the rule &lt;code&gt;where the item language is equal to nl-NL&lt;/code&gt; does not actually look at the item and whether it has a language-field with value nl-NL, it simply looks at the language selected in the upper-right. So when they right-click on an item that only has a &lt;code&gt;language: en&lt;/code&gt; version, but they were just editing in a &lt;code&gt;nl-NL&lt;/code&gt; website, they see the Insert Options for &lt;code&gt;nl-NL&lt;/code&gt; rather than &lt;code&gt;en&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried the &lt;code&gt;where the specific field compares to specific value&lt;/code&gt; rule with &lt;code&gt;language&lt;/code&gt; field being &lt;code&gt;equal to&lt;/code&gt; the value &lt;code&gt;nl-NL&lt;/code&gt; but that doesn't work, the Insert Option never shows up anywhere under any circumstances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My work-around is to use the &lt;code&gt;where the item is the specific item or one of its descendants&lt;/code&gt; rule, but seeing as there's already 12 and possibly more in the future, times the number of rules we'll have for different insert options, this is not the best maintainability for us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a better way to do this? Ideally actually reading the &lt;em&gt;present&lt;/em&gt; language-fields of an item?&lt;/p&gt;&#xA;" OwnerUserId="4665" LastActivityDate="2018-11-27T17:14:50.630" Title="Insert Options Rule where Item contains language (NOT Item language is)" Tags="|multilingual|rules-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15197" PostTypeId="2" ParentId="15196" CreationDate="2018-11-27T17:14:50.630" Score="3" Body="&lt;p&gt;I don't think the Rules Engine can really help you here. The reason being; it comes with a lot of pre-baked conditions related to &lt;em&gt;items&lt;/em&gt;. As opposed to &lt;em&gt;item versions&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've done something else for a lot of projects I've been involved in however. Either as-is, or I've made some tweaks based on actual requirements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Jan Bluemink has an Open Source module called &quot;Content Editor Warnings&quot;, which I've found to be super helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It basically warns the editors, if what they're currently doing matches expectations. Much like the conditions you would validate for with the Rules Engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EkJLm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EkJLm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It supports popular features such as Language Fallback and SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Available here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/jbluemink/Sitecore-Language-Editor-Warning&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitHub repository&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://marketplace.sitecore.net/modules/sitecore_language_content_editor_warning.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Marketplace&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-11-27T17:14:50.630" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15198" PostTypeId="2" ParentId="15194" CreationDate="2018-11-27T17:23:15.993" Score="1" Body="&lt;p&gt;As it is hard to write your unit tests in an answer here, I'll try to give you some overal guidance..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For unit testing code that uses index queries I usually start with a custom Queryable stub as you can find here: &lt;a href=&quot;https://gist.github.com/vivianroberts/1a632d8bfb8fa62e23c4679b086728ce&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/vivianroberts/1a632d8bfb8fa62e23c4679b086728ce&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I like about that approach is that it is very easy to setup test data on a single spot and use that data to extensively test your query code with all kind of predicates without having to extend this base code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did bump into issues with this code when using facets though (as seen on &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5215/unit-testing-contentsearch-with-facets&quot;&gt;Unit testing contentsearch with facets&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What this approach actually does is creating your own &lt;code&gt;ISearchContextBuilder&lt;/code&gt; and injecting that in your tests (instead of the default one). Each search builder can be used to do all sorts of test on the same data set. If you need to test other data sets, you create another builder but you can re-use the stub from the gisthub.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-11-27T17:23:15.993" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15199" PostTypeId="2" ParentId="15181" CreationDate="2018-11-27T18:23:26.877" Score="0" Body="&lt;p&gt;I don't see a reason why you would need to build it in Web. Once you build it in Master a publish should update Web. You can however update and get an item links in code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Globals.LinkDatabase.UpdateReferences(currentItem);&#xA;    ItemLink[] links = Globals.LinkDatabase.GetItemReferrers(currentItem, true);&#xA;    if (links != null)&#xA;    {&#xA;      //do something&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="853" LastActivityDate="2018-11-27T18:23:26.877" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15200" PostTypeId="1" AcceptedAnswerId="15219" CreationDate="2018-11-27T20:47:14.750" Score="1" ViewCount="4117" Body="&lt;p&gt;&lt;strong&gt;Sitecore 9.0 update 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solr 6.6.2 and 6.6.3&lt;/strong&gt; (same result on both, both supported: &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm facing an issue when I &quot;Populate Managed Schema&quot; from control panel. My &lt;code&gt;managed-schema&lt;/code&gt; gets updated 99.9% correctly. The 0.1% that is incorrect is that the &lt;code&gt;uniqueKey&lt;/code&gt; element value generates as &lt;code&gt;id&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;uniqueKey&amp;gt;id&amp;lt;/uniqueKey&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A &lt;em&gt;correct&lt;/em&gt; &lt;code&gt;managed-schema&lt;/code&gt; generates as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;uniqueKey&amp;gt;_uniqueid&amp;lt;/uniqueKey&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The rest of the file generates properly. While I &lt;em&gt;can&lt;/em&gt; manually change the &lt;code&gt;uniqueKey&lt;/code&gt; element value, I would prefer to get to the bottom of my issue (as I'm attempting to automate things, with this being a key step).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run &quot;Populate Managed Schema&quot;, the modal indicates &lt;code&gt;[Success]&lt;/code&gt;. However, when I rebuild a particular index I am greeted with this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: Index_Update_IndexName=sitecore_master_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; SolrNet.Exceptions.SolrConnectionException: &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;response&amp;gt;&#xA;&amp;lt;lst name=&quot;responseHeader&quot;&amp;gt;&amp;lt;int name=&quot;status&quot;&amp;gt;400&amp;lt;/int&amp;gt;&amp;lt;int name=&quot;QTime&quot;&amp;gt;2&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;lst name=&quot;error&quot;&amp;gt;&amp;lt;lst name=&quot;metadata&quot;&amp;gt;&amp;lt;str name=&quot;error-class&quot;&amp;gt;org.apache.solr.common.SolrException&amp;lt;/str&amp;gt;&amp;lt;str name=&quot;root-error-class&quot;&amp;gt;org.apache.solr.common.SolrException&amp;lt;/str&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;str name=&quot;msg&quot;&amp;gt;Document is missing mandatory uniqueKey field: id&amp;lt;/str&amp;gt;&amp;lt;int name=&quot;code&quot;&amp;gt;400&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt;&#xA;&amp;lt;/response&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Prior to this exception being thrown, the index rebuild progress modal progresses as expected, e.g. &quot;Added 1,000 items to index&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As stated above, I've tested this on Solr 6.6.2 and 6.6.3 with the same result each time. It appears the issue is on the Sitecore side of things. No issues were reported during the installation of Sitecore and the rest of the pieces (Content Editor, Exp Editor, etc.) work properly.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Edit/Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Comparison of my automated web root with a working 9.0.2 copy shows no discernable differences.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-11-27T21:15:51.870" LastActivityDate="2019-08-09T15:58:32.523" Title="Populate Managed Schema - Document is missing mandatory uniqueKey field: id" Tags="|solr|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15201" PostTypeId="1" CreationDate="2018-11-27T21:37:06.563" Score="0" ViewCount="100" Body="&lt;p&gt;Is there a way to place the Rules Editor in a Speak Application (so the user can define custom rule logic, ie. in this case I want to perform custom logic on the submit action, based on rules defined for the submit action).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rules Editor I'm referring to:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/oWQX6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oWQX6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked through the Speak v2 renderings, but I don't see that type of control.  Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2018-11-27T21:37:06.563" Title="Add the Rules Editor to a Speak Application (for Sitecore Forms Submit Action)" Tags="|speak|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15202" PostTypeId="2" ParentId="8590" CreationDate="2018-11-28T03:06:34.560" Score="0" Body="&lt;p&gt;I encountered with this error when my install script had $SqlServer = “Servername” defined as the value for $SqlServer was not correctly assigned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5zhaG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5zhaG.png&quot; alt=&quot;Code did not work&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This correct value for $Sqlserver parameter should be “$SqlServer = “.\Servername” or “machinename\Servername” or “localhost\Servername”.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wfk8S.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wfk8S.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use “Data Link Properties” utility to check the connectivity with SQL server from your client following below steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a blank text file (From Desktop of client machine Right click &gt;&gt; New&gt;&gt;Text Document&lt;/li&gt;&#xA;&lt;li&gt;Change the extension of file to “. udl” from “.txt”&lt;/li&gt;&#xA;&lt;li&gt;Double Click on that file&lt;/li&gt;&#xA;&lt;li&gt;Enter your SQL Server Name (.\SQLServerInstanceName) on the Data Link Properties dialog&lt;/li&gt;&#xA;&lt;li&gt;Enter sql credentials (same as used in install script)&lt;/li&gt;&#xA;&lt;li&gt;Click “Test Connection” button, if you see “Test Connection Succeeded” message, your Script should work as long as you have same values defined for $SqlServer, $SqlAdminUser and $SqlAdminPassword parameters&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AYQ3T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AYQ3T.png&quot; alt=&quot;Test SQL Connectivity from Client using Data Link Properties&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4666" LastEditorUserId="4666" LastEditDate="2018-11-28T03:31:20.017" LastActivityDate="2018-11-28T03:31:20.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15203" PostTypeId="1" CreationDate="2018-11-28T03:27:51.280" Score="2" ViewCount="38" Body="&lt;p&gt;I'm using Sitecore 9.0.2 and I'm attempting to use tags in Sitecore analytics to track if a particular modal has been closed, so it doesn't reappear. This is working within a session, but when the browser is closed and reopened, the modal reappears. I did confirm via Fiddler that the &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; value is the same in both sessions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created an extension to take my tag ID and set a value of &quot;1&quot; to it (I mainly care if the tag exists). This is my set code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public static void SetTag(this string tagId, string value) {&#xA;        Contact contact = Tracker.Current?.Contact;&#xA;&#xA;        if (contact == null) {&#xA;            Logger.Info(&quot;SetTag: Contact not found&quot;);&#xA;            return;&#xA;        }&#xA;&#xA;        ITag tag = contact.Tags.Find(tagId);&#xA;&#xA;        if (tag == null) {&#xA;            contact.Tags.Set(tagId, value);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I noticed that anonymous contacts don't show in Experience Profile, which I remember they changed by default in 8.2.3. I'm not sure if that's related and I just need to turn the anonymous tracker on or if using tags for this purpose isn't best practice because they don't persist session to session (at least for anonymous users).&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="3133" LastEditDate="2019-08-02T01:34:03.567" LastActivityDate="2019-08-02T01:34:03.567" Title="Analytics tag not persisting between sessions" Tags="|xdb|experience-analytics|tracking|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15204" PostTypeId="1" CreationDate="2018-11-28T03:50:34.233" Score="0" ViewCount="145" Body="&lt;p&gt;How do i create a custom Dropdown for WFFM(Sitecore 8.1), i want to have a MvC drop list which is populated from an external service and showed in forms .&lt;/p&gt;&#xA;" OwnerUserId="1865" LastActivityDate="2018-11-28T03:50:34.233" Title="How do i create Custom Drop List in WFFM" Tags="|wffm|custom-field|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15205" PostTypeId="1" AcceptedAnswerId="15206" CreationDate="2018-11-28T07:36:59.500" Score="8" ViewCount="867" Body="&lt;p&gt;By default an error is logged when I abort a pipeline in Sitecore XC9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;context.Abort(&quot;Abort pipeline&quot;, context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sometimes I want to abort a pipeline without logging an error, i.e. when it's valid to preempt the execution of the pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to do this?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="73" LastEditDate="2018-11-28T18:22:29.977" LastActivityDate="2018-11-28T18:22:29.977" Title="How to avoid logging an error when aborting a pipeline" Tags="|sitecore-commerce|pipelines|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15206" PostTypeId="2" ParentId="15205" CreationDate="2018-11-28T07:36:59.500" Score="19" Body="&lt;p&gt;Add a magic &lt;code&gt;&quot;Ok|&quot;&lt;/code&gt; string to the abort message, e.g:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;context.Abort(&quot;Ok|Abort pipeline&quot;, context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It turns out that the implementation of &lt;code&gt;Abort&lt;/code&gt; checks for the magic &lt;code&gt;&quot;Ok|&quot;&lt;/code&gt; string:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Abort(string message, object context)&#xA;{&#xA;   base.Abort(message, context);&#xA;   if (message.Contains(&quot;Ok|&quot;))&#xA;      return;&#xA;   this.Logger.LogError(string.Format(&quot;PipelineAbort:{0}&quot;, (object) message), Array.Empty());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-11-28T07:36:59.500" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15207" PostTypeId="1" AcceptedAnswerId="16411" CreationDate="2018-11-28T09:42:35.110" Score="23" ViewCount="720" Body="&lt;p&gt;Is there a way to encrypt the connection strings of the Sitecore Publishing Service? I don't want the connection strings to stay in clear text on the server, nor leave the system in Sitecore support packages etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the Sitecore CM/CD roles, this can be done easily with &lt;code&gt;aspnet_regiis.exe -pe(f)&lt;/code&gt;, but as I understand it, the connection strings are stored differently for the Publishing Service. &lt;/p&gt;&#xA;" OwnerUserId="213" LastEditorUserId="213" LastEditDate="2018-11-28T10:13:30.463" LastActivityDate="2020-03-09T07:59:41.133" Title="Can I encrypt the Sitecore Publishing Service connection strings?" Tags="|configuration|security|publishing|publishing-service|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15208" PostTypeId="1" AcceptedAnswerId="15210" CreationDate="2018-11-28T10:29:29.227" Score="1" ViewCount="137" Body="&lt;p&gt;In previous versions of Sitecore (we're on 8.2), when importing a language XML file, the default database for import was master.&#xA;In 8.2 the dialogue always opens with the core database selected. Almost all of our imports are for the master database, and messy mistakes have been made.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I set the default database for language import to master, to avoid accidentally installing a load of content in core?&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2018-11-28T11:13:56.200" Title="How can I change the default database used for language import in the control panel?" Tags="|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15209" PostTypeId="2" ParentId="15200" CreationDate="2018-11-28T10:45:24.833" Score="0" Body="&lt;p&gt;Are you using the default implementation of &lt;code&gt;ISchemaPopulateHelper&lt;/code&gt; (&lt;code&gt;Sitecore.ContentSearch.SolrProvider.Pipelines.PopulateSolrSchema.SchemaPopulateHelper&lt;/code&gt;)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Over the last year I've found a few issues in the default implementation. Take a look at that class and compare it with your Solr managed schema. In &lt;code&gt;GetAllFields()&lt;/code&gt; a list of add/remove/replace fields are generated. Oddly, this is an XML representation that is later converted into JSON, that in turn is sent to the Solr REST API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are you perhaps having an &lt;code&gt;id&lt;/code&gt; field in your schema, so that adding the &lt;code&gt;_uniqueid&lt;/code&gt; field (from &lt;code&gt;GetAddFields()&lt;/code&gt;) fails? See if &lt;code&gt;GetRemoveFields&lt;/code&gt; contains removal of your existing &lt;code&gt;id&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regardless, it could be worth doing your own implementation of &lt;code&gt;ISchemaPopulateHelper&lt;/code&gt; in order to fix some language stemming issues etc. More details here: &lt;a href=&quot;https://mikael.com/2018/01/working-with-content-search-and-solr-in-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mikael.com/2018/01/working-with-content-search-and-solr-in-sitecore-9/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="213" LastActivityDate="2018-11-28T10:45:24.833" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15210" PostTypeId="2" ParentId="15208" CreationDate="2018-11-28T11:13:56.200" Score="1" Body="&lt;p&gt;It looks like it is not configurable. But I can suggest you few workarounds:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First is changing configuration of Sitecore. Databases list on ImportLanguage form uses &lt;code&gt;Factory.Instance.Value.GetDatabaseNames()&lt;/code&gt; Sitecore API. This API gets databases from Sitecore configuration. When you open &lt;code&gt;Sitecore.config&lt;/code&gt; and change order of database nodes &lt;code&gt;/sitecore/databases/database[id='core']&lt;/code&gt; with &lt;code&gt;/sitecore/databases/database[id='master']&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second is more complex:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Inherit your new form from &lt;code&gt;Sitecore.Shell.Applications.Globalization.ImportLanguage.ImportLanguageForm, Sitecore.Client&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Override &lt;code&gt;OnLoad&lt;/code&gt; function, fix order. &lt;code&gt;string[] databaseNames = Factory.GetDatabaseNames();&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open '\sitecore\shell\Applications\Globalization\ImportLanguage\ImportLanguage.xml' and change &lt;code&gt;CodeBeside&lt;/code&gt; property to use your new class&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-11-28T11:13:56.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15211" PostTypeId="1" CreationDate="2018-11-28T11:59:38.037" Score="1" ViewCount="545" Body="&lt;p&gt;I am currently using a html helper to generate a canonical url but the problem is the server url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The url is fetched from &lt;strong&gt;targetHostName&lt;/strong&gt; (please correct me if I am wrong)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem arrives in the UAT servers where multiple &lt;strong&gt;hostNames&lt;/strong&gt; are defined. &#xA;The url fetched there is sometimes the one defined in the hostName attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Helper:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string GetAbsoluteUrl(this HtmlHelper helper, Item item)&#xA;{&#xA;    var urlOptions = LinkManager.GetDefaultUrlOptions();&#xA;    urlOptions.AlwaysIncludeServerUrl = true;&#xA;    urlOptions.SiteResolving = true;&#xA;    return LinkManager.GetItemUrl(item, urlOptions);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;call to Helper:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;canonical&quot; href=&quot;@Html.GetAbsoluteUrl(Sitecore.Context.Item)&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;siteConfig :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;    &amp;lt;site name=&quot;sitename&quot; patch:after=&quot;site[@name='modules_website']&quot; &#xA;          targetHostName=&quot;myhostname&quot; &#xA;          hostName=&quot;myhostname1|myhostname2| and more....&quot;&#xA;          database=&quot;web&quot; &#xA;          virtualFolder=&quot;/&quot; &#xA;          physicalFolder=&quot;/&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1744" LastEditorUserId="666" LastEditDate="2018-11-28T12:57:35.920" LastActivityDate="2018-11-28T12:57:35.920" Title="Canonical url generation not using the correct hostname" Tags="|multisite|link-manager|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15212" PostTypeId="2" ParentId="15211" CreationDate="2018-11-28T12:10:25.487" Score="0" Body="&lt;p&gt;Please ensure that you have written &quot;targetHostName&quot; always correct in your site.config. If it is not CamelCase (e.g. &quot;targetHostname&quot;) it doesn't work.&#xA;I would also suggest not to use &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; in your view but &lt;code&gt;RenderingContext.Current.Rendering.Item&lt;/code&gt; or in this case maybe &lt;code&gt;Model.Item&lt;/code&gt; if it is the default sitecore Model.&lt;/p&gt;&#xA;" OwnerUserId="2323" LastActivityDate="2018-11-28T12:10:25.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15213" PostTypeId="2" ParentId="15211" CreationDate="2018-11-28T12:52:49.653" Score="1" Body="&lt;p&gt;If I'm not mistaken, the &lt;code&gt;targetHostName&lt;/code&gt; is only used when the context is in another site. When the detected site is within the hostNames of the site, this value is not used and it should use the host from the url. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to get your canonical right, you might need to try something else. One option is to fetch the url without the server and add the targetHostName yourself.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-11-28T12:52:49.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15215" PostTypeId="1" AcceptedAnswerId="15217" CreationDate="2018-11-28T13:36:08.313" Score="2" ViewCount="129" Body="&lt;p&gt;In the Helix context (foundation/feature/project) I have multiple TDS projects. I can configure them to create an update package. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But can I configure TDS through the  TdsGlobal.config to create a single update package?&lt;/p&gt;&#xA;" OwnerUserId="3603" LastActivityDate="2018-11-28T13:42:12.393" Title="Using TDS can I make a single update package?" Tags="|tds|update-packages|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15216" PostTypeId="2" ParentId="15215" CreationDate="2018-11-28T13:41:43.743" Score="1" Body="&lt;p&gt;You can use package bundling to create a single package containing items from multiple other TDS projects, see screenshot below. &#xA;I have never tried putting this in the TdsGlobal.config but this should probably work just like any other project setting.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bsfwM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bsfwM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-11-28T13:41:43.743" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15217" PostTypeId="2" ParentId="15215" CreationDate="2018-11-28T13:42:12.393" Score="2" Body="&lt;p&gt;Yes you can. The way I have it setup, I use a Project layer TDS project to bundle all the other TDS projects up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you go into the properties of the TDS Project and load the &lt;strong&gt;Multi-Project Properties&lt;/strong&gt; tab. You can then set the &lt;strong&gt;Package Bundling&lt;/strong&gt; properties. So in your main TDS project that you want to create the update package, add in all the other projects:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/opcCG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/opcCG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not something you would set in the &lt;code&gt;TDSGlobal.config&lt;/code&gt; as it only needs to apply to a single project. Trying to add this to the global config would mean that all TDS projects had dependencies on each other.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-11-28T13:42:12.393" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15219" PostTypeId="2" ParentId="15200" CreationDate="2018-11-28T14:27:12.127" Score="5" Body="&lt;p&gt;This issue is a result of not reading the fine-print with regards to configuring Solr for Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Sitecore: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/solr_managed_schemas&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/solr_managed_schemas&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/search_and_indexing/walkthrough_setting_up_solr&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Both of these links walk through the prerequisites needed prior to executing &quot;Populate Managed Schema&quot;. They also both make the assumption that your Solr instance is currently &lt;strong&gt;NOT&lt;/strong&gt; running. Notice this step on both links...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol start=&quot;4&quot;&gt;&#xA;  &lt;li&gt;Start Solr.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Solr must be started after the prerequisite schema changes are made. However, if Solr is currently running, it must be &lt;em&gt;restarted&lt;/em&gt; (i.e. restart the Solr service). This will properly reload the core configurations into memory. From there the &quot;Populate Managed Schema&quot; action will execute correctly.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;General Steps to Resolve&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;On the Solr server, navigate to the folder that contains your cores, e.g. &lt;code&gt;C:\Solr\solr-6.6.2\server\solr&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;code&gt;configsets&lt;/code&gt; folder, copy the &lt;code&gt;basic_configs&lt;/code&gt; config set either to A) a new config set and then reference it from each core, or B) copy the &lt;code&gt;conf&lt;/code&gt; folder to each core individually&lt;/li&gt;&#xA;&lt;li&gt;Make the two required schema changes:&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;Set the value in &amp;lt;uniqueKey&amp;gt;id&amp;lt;/uniqueKey&amp;gt; to _uniqueid.&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;In the fields section, add field configuration for _uniqueid:&#xA;&amp;lt;field name=&quot;_uniqueid&quot; type=&quot;string&quot; indexed=&quot;true&quot; required=&quot;true&quot; stored=&quot;true&quot;/&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;RESTART SOLR/SOLR SERVICE&lt;/strong&gt; &lt;/li&gt;&#xA;&lt;li&gt;Execute Populate Manged Schemas from Sitecore Control Panel&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: These steps are not relevant for any xdb indexes. These indexes use the out-of-the-box configsets&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2019-08-09T15:58:32.523" LastActivityDate="2019-08-09T15:58:32.523" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15220" PostTypeId="1" CreationDate="2018-11-28T15:46:03.317" Score="0" ViewCount="709" Body="&lt;p&gt;We're attempting to configure Azure Redis cache, I'm confident the connection string is correct as the logs suggests it's been able to make a connection. However my knowledge of using Redis with Sitecore is rather low. It looks like the issue is related to &lt;code&gt;failed to nominate&lt;/code&gt; and &lt;code&gt;No masters detected&lt;/code&gt;. It feels like we're missing something very obvious here.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3400 14:41:33 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380,password=&amp;lt;obfuscated&amp;gt;,ssl=True,abortConnect=False&#xA;3400 14:41:33 INFO  &#xA;3400 14:41:33 INFO  Connecting &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380/Interactive...&#xA;3400 14:41:33 INFO  BeginConnect: &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380&#xA;3400 14:41:33 INFO  1 unique nodes specified&#xA;3400 14:41:33 INFO  Requesting tie-break from &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380 &amp;gt; __Booksleeve_TieBreak...&#xA;3400 14:41:33 INFO  Allowing endpoints 00:00:05 to respond...&#xA;3400 14:41:33 INFO  Awaiting task completion, IOCP: (Busy=1,Free=999,Min=2,Max=1000), WORKER: (Busy=4,Free=32763,Min=2,Max=32767)&#xA; 908 14:41:33 INFO  EndConnect: &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380&#xA; 908 14:41:33 INFO  Configuring SSL&#xA;1128 14:41:34 INFO  All tasks completed cleanly, IOCP: (Busy=2,Free=998,Min=2,Max=1000), WORKER: (Busy=6,Free=32761,Min=2,Max=32767)&#xA;1128 14:41:34 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380 faulted: UnableToResolvePhysicalConnection on PING&#xA; 908 14:41:34 INFO  Connect complete: &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380&#xA;1128 14:41:34 INFO  All tasks are already complete&#xA;1128 14:41:34 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380 failed to nominate (Faulted)&#xA;1128 14:41:34 INFO  &amp;gt; UnableToResolvePhysicalConnection on GET&#xA;1128 14:41:34 INFO  No masters detected&#xA;1128 14:41:34 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380: Standalone v2.0.0, master; keep-alive: 00:01:00; int: Connecting; sub: Connecting; not in use: DidNotRespond&#xA;1128 14:41:34 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380: int ops=0, qu=0, qs=0, qc=1, wr=0, sync=1, socks=2; sub ops=0, qu=0, qs=0, qc=0, wr=0, socks=2&#xA;1128 14:41:34 INFO  Circular op-count snapshot; int: 0 (0.00 ops/s; spans 10s); sub: 0 (0.00 ops/s; spans 10s)&#xA;1128 14:41:34 INFO  Sync timeouts: 0; fire and forget: 0; last heartbeat: -1s ago&#xA;1128 14:41:34 INFO  resetting failing connections to retry...&#xA;1128 14:41:34 INFO  retrying; attempts left: 2...&#xA;1128 14:41:34 INFO  1 unique nodes specified&#xA;1128 14:41:34 INFO  Requesting tie-break from &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380 &amp;gt; __Booksleeve_TieBreak...&#xA;1128 14:41:34 INFO  Allowing endpoints 00:00:05 to respond...&#xA;1128 14:41:34 INFO  Awaiting task completion, IOCP: (Busy=0,Free=1000,Min=2,Max=1000), WORKER: (Busy=6,Free=32761,Min=2,Max=32767)&#xA;1128 14:41:34 INFO  All tasks completed cleanly, IOCP: (Busy=0,Free=1000,Min=2,Max=1000), WORKER: (Busy=6,Free=32761,Min=2,Max=32767)&#xA;1128 14:41:34 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380 returned, but incorrectly&#xA;1128 14:41:34 INFO  Awaiting task completion, IOCP: (Busy=0,Free=1000,Min=2,Max=1000), WORKER: (Busy=6,Free=32761,Min=2,Max=32767)&#xA;5252 14:41:34 INFO  Not all tasks completed cleanly, IOCP: (Busy=2,Free=998,Min=2,Max=1000), WORKER: (Busy=5,Free=32762,Min=2,Max=32767)&#xA;5252 14:41:34 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380 failed to nominate (WaitingForActivation)&#xA;5252 14:41:34 INFO  No masters detected&#xA;5252 14:41:34 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380: Standalone v2.0.0, master; keep-alive: 00:01:00; int: Connecting; sub: Connecting; not in use: DidNotRespond&#xA;5252 14:41:34 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380: int ops=0, qu=2, qs=0, qc=0, wr=0, sync=1, async=2, socks=3; sub ops=0, qu=0, qs=0, qc=0, wr=0, socks=3&#xA;5252 14:41:34 INFO  Circular op-count snapshot; int: 0 (0.00 ops/s; spans 10s); sub: 0 (0.00 ops/s; spans 10s)&#xA;5252 14:41:34 INFO  Sync timeouts: 0; fire and forget: 0; last heartbeat: -1s ago&#xA;5252 14:41:34 INFO  resetting failing connections to retry...&#xA;5252 14:41:34 INFO  retrying; attempts left: 1...&#xA;5252 14:41:34 INFO  1 unique nodes specified&#xA;5252 14:41:34 INFO  Requesting tie-break from &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380 &amp;gt; __Booksleeve_TieBreak...&#xA;5252 14:41:34 INFO  Allowing endpoints 00:00:05 to respond...&#xA;5252 14:41:34 INFO  Awaiting task completion, IOCP: (Busy=1,Free=999,Min=2,Max=1000), WORKER: (Busy=6,Free=32761,Min=2,Max=32767)&#xA;5252 14:41:39 INFO  Not all tasks completed cleanly, IOCP: (Busy=2,Free=998,Min=2,Max=1000), WORKER: (Busy=5,Free=32762,Min=2,Max=32767)&#xA;5252 14:41:39 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380 did not respond&#xA;5252 14:41:39 INFO  Awaiting task completion, IOCP: (Busy=2,Free=998,Min=2,Max=1000), WORKER: (Busy=5,Free=32762,Min=2,Max=32767)&#xA;1128 14:41:39 INFO  Not all tasks completed cleanly, IOCP: (Busy=2,Free=998,Min=2,Max=1000), WORKER: (Busy=5,Free=32762,Min=2,Max=32767)&#xA;1128 14:41:39 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380 failed to nominate (WaitingForActivation)&#xA;1128 14:41:39 INFO  No masters detected&#xA;1128 14:41:39 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380: Standalone v2.0.0, master; keep-alive: 00:01:00; int: Connecting; sub: Connecting; not in use: DidNotRespond&#xA;1128 14:41:39 INFO  &amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380: int ops=0, qu=2, qs=0, qc=0, wr=0, sync=1, async=5, socks=4; sub ops=0, qu=0, qs=0, qc=0, wr=0, socks=4&#xA;1128 14:41:39 INFO  Circular op-count snapshot; int: 0 (0.00 ops/s; spans 10s); sub: 0 (0.00 ops/s; spans 10s)&#xA;1128 14:41:39 INFO  Sync timeouts: 0; fire and forget: 0; last heartbeat: -1s ago&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This question is very similar to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14704/aws-redis-session-provider-exception-no-connection-is-available-to-service-this&quot;&gt;AWS Redis session provider exception- No connection is available to service this operation: EVAL&lt;/a&gt;, but in this instance we're using Azure which is running 3.2.7 and no way of selecting a different version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: Adding connection string&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;obfuscated&amp;gt;.redis.cache.windows.net:6380,abortConnect=false,ssl=true,password=&amp;lt;obfuscated&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT 2: Adding Web.config settings I tried&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;redis&quot;&#xA;    type=&quot;Sitecore.SessionProvider.Redis.RedisSessionStateProvider, Sitecore.SessionProvider.Redis&quot;&#xA;    applicationName=&quot;private&quot;&#xA;    host=&quot;&amp;lt;obfuscated&amp;gt;.redis.cache.windows.net&quot;&#xA;    port=&quot;6380&quot;&#xA;    accessKey=&quot;&amp;lt;obfuscated&amp;gt;&quot;&#xA;    ssl=&quot;true&quot;&#xA;    pollingInterval=&quot;2&quot;&#xA;    compression=&quot;true&quot;&#xA;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="720" LastEditorUserId="720" LastEditDate="2018-11-29T09:21:45.213" LastActivityDate="2018-11-29T09:21:45.213" Title="Are there specific configuration requirements for Redis in Azure?" Tags="|azure|session-state|redis|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15221" PostTypeId="1" AcceptedAnswerId="15224" CreationDate="2018-11-28T16:29:03.287" Score="3" ViewCount="248" Body="&lt;p&gt;Our load tests have shown that the &lt;code&gt;Sitecore.Analytics.Media.MediaRequestEventHandler&lt;/code&gt; reduces load time of media assets by a certain factor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we were to disable this handler, what functionality would we lose?&lt;/p&gt;&#xA;" OwnerUserId="681" LastActivityDate="2018-11-28T16:53:40.360" Title="What are the side effects of disabling Sitecore.Analytics.Media.MediaRequestEventHandler?" Tags="|xdb|experience-analytics|media-library|tracking|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15222" PostTypeId="2" ParentId="9659" CreationDate="2018-11-28T16:37:09.073" Score="2" Body="&lt;p&gt;This should no longer be an issue as of &lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks/releases/tag/2.1.126&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Rocks 2.1.126&lt;/a&gt;, which is now available on the &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=JakobChristensen.SitecoreRocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;Visual Studio Marketplace&lt;/a&gt;, if you install the latest Hard Rocks service. It now includes a local Web.config which will do the necessary security configuration for both the Hard Rocks and Good Old web services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to use the Good Old service for some reason, you do still need to provide your own authorization override, as described in other answers and &lt;a href=&quot;https://kb.sitecore.net/articles/763639&quot; rel=&quot;nofollow noreferrer&quot;&gt;this Sitecore KB article&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you wish to use Rocks with a remote system, the &lt;a href=&quot;https://github.com/JakobChristensen/Sitecore.Rocks/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rocks GitHub releases&lt;/a&gt; now include an Update Package as well with the latest Hard Rocks service, including the authorization override. Note that this is &lt;strong&gt;not&lt;/strong&gt; recommended for production use.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-11-28T16:37:09.073" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15223" PostTypeId="1" CreationDate="2018-11-28T16:42:25.410" Score="1" ViewCount="1657" Body="&lt;p&gt;This is working fine&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$global:ProductPath = &quot;/sitecore/content/Home/Content_Pages/ &quot;&#xA;$csv = Import-CSV &quot;C:\inetpub\wwwroot\mysample\Book1.csv&quot;&#xA;$bulk = New-Object &quot;Sitecore.Data.BulkUpdateContext&quot;&#xA;try &#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but if I direct it to media library like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$csv = &quot;/sitecore/media library/Documents/Book1.csv&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$csv = &quot;/sitecore/media library/Documents/Book1&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is not reading the records from the file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I add, to make my script reading the content from media library folder?&lt;/p&gt;&#xA;" OwnerUserId="4589" LastEditorUserId="70" LastEditDate="2018-11-28T16:48:18.213" LastActivityDate="2018-11-28T17:39:36.460" Title="Reading a CSV file from media library through power shell script" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15224" PostTypeId="2" ParentId="15221" CreationDate="2018-11-28T16:53:40.360" Score="2" Body="&lt;p&gt;The &lt;code&gt;Sitecore.Analytics.Media.MediaRequestEventHandler&lt;/code&gt; is responsible for tracking all media requests and storing that information in the xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at the &lt;code&gt;OnMediaRequest&lt;/code&gt; method, in there it gets the site context and tracker information and then tracks any page events or goals etc... that are associated with that media item/type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you disable that handler, it will prevent any tracking data from being written on media requests.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-11-28T16:53:40.360" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15226" PostTypeId="2" ParentId="15223" CreationDate="2018-11-28T17:39:36.460" Score="5" Body="&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# get media item&#xA;$media = Get-Item -Path &quot;/sitecore/media library/Default Website/FL_insurance_sample&quot;&#xA;# get stream and save content to variable $content&#xA;[System.IO.Stream]$body = $media.Fields[&quot;Blob&quot;].GetBlobStream()&#xA;try    &#xA;{&#xA;    $contents = New-Object byte[] $body.Length&#xA;    $body.Read($contents, 0, $body.Length) | Out-Null&#xA;} &#xA;finally &#xA;{&#xA;    $body.Close()    &#xA;}&#xA;&#xA;# convert to dynamic object&#xA;$csv = [System.Text.Encoding]::Default.GetString($contents) | ConvertFrom-Csv -Delimiter &quot;,&quot;&#xA;$csv&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;source: &lt;a href=&quot;https://gist.github.com/pveller/e6a43a9fb9da841fb7c3&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Content Import with Powershell&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-11-28T17:39:36.460" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15227" PostTypeId="1" CreationDate="2018-11-28T18:59:46.633" Score="1" ViewCount="55" Body="&lt;p&gt;I got some help in a previous question about prioritizing the title field in searches, however when I run the search now, I continue to to get some results where the word is only in the content field and not in the title field.  These hits are interspersed so that there are some hits that don't have the word in the title coming before some that do.  It doesn't seem to matter how much I boost the value for the title field and I've tried to manually decrease the priority of the content field, but that doesn't seem to work either.  It seems that the basequery is somehow retrieving all hits for any field, and then after that the boosting only helps so much.  Any other tips?  Here is the code I'm using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomSearchResultItem : SearchResultItem&#xA;    {&#xA;        [DataMember]&#xA;        [IndexField(&quot;title&quot;)]&#xA;        public string Title&#xA;        {&#xA;            get; set;&#xA;        }&#xA;&#xA;        [DataMember]&#xA;        [IndexField(&quot;_content&quot;)]&#xA;        public string BodyContent { get; set; }&#xA;    }&#xA;&#xA;   public List&amp;lt;CustomSearchResultItem&amp;gt; GetSiteSearch(string searchQuery)&#xA;    {&#xA;        string indexName = App.Core.Config.SettingsManager.GetSetting(&quot;SearchIndexName&quot;);&#xA;        var index = Sitecore.ContentSearch.ContentSearchManager.GetIndex(indexName);&#xA;        var db = Sitecore.Context.Database;&#xA;&#xA;        Sitecore.Diagnostics.Error.AssertNotNull(index,&#xA;            &quot;There is no &quot; + indexName + &quot; index on the current database (&quot; + db.Name + &quot;)&quot;);&#xA;&#xA;        using (var context = index.CreateSearchContext())&#xA;        {&#xA;            var baseQuery = PredicateBuilder.True&amp;lt;CustomSearchResultItem&amp;gt;(); &#xA;&#xA;            var query = PredicateBuilder.True&amp;lt;CustomSearchResultItem&amp;gt;();&#xA;&#xA;            if (!string.IsNullOrWhiteSpace(searchQuery))&#xA;            {&#xA;&#xA;                foreach (var word in searchQuery.Split(' '))&#xA;                {&#xA;                    query = query.Or(item =&amp;gt; item.Title.Contains(word)).Boost(1000);&#xA;                    query = query.Or(item =&amp;gt; item.BodyContent.Contains(word)).Boost(0);&#xA;                }&#xA;            }&#xA;&#xA;            baseQuery = baseQuery.And(query);&#xA;            var queryRunner = context.GetQueryable&amp;lt;CustomSearchResultItem&amp;gt;().Where(baseQuery);&#xA;            var results = queryRunner.ToList(); /&#xA;&#xA;            return results;&#xA;&#xA;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2018-11-28T18:59:46.633" Title="Prioritize search word in title over finding the word in any other field?" Tags="|content-search|lucene|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15228" PostTypeId="1" AcceptedAnswerId="15229" CreationDate="2018-11-28T19:08:03.453" Score="6" ViewCount="3368" Body="&lt;p&gt;I am starting up my Sitecore 9.1 XP instance and I see the following error from &lt;code&gt;Sitecore.Nexus&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   Sitecore.Nexus.Licensing.NexusLicenseApi.HasModule(String name) +146&#xA;   Sitecore.Xdb.Configuration.XdbSettings.get_HasValidLicense() +21&#xA;   Sitecore.Xdb.Configuration.XdbSettings.get_Enabled() +8&#xA;   Sitecore.Xdb.Configuration.Pipelines.Initialize.ShowXdbInfo.Process(PipelineArgs args) +223&#xA;   (Object , Object ) +8&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +483&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +235&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +21&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +214&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, my FakeDb tests are failing with the following exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.NullReferenceException&#xA;Object reference not set to an instance of an object.&#xA;   at Sitecore.Nexus.Licensing.NexusLicenseApi.GetSnapShot(Guid instance)&#xA;   at Sitecore.SecurityModel.License.LicenseManager.GetSnapshotData(Guid instance)&#xA;   at Sitecore.SecurityModel.License.LicenseManager.UpdateSnapshot()&#xA;   at Sitecore.SecurityModel.License.LicenseManager..cctor()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What could be causing this?&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2018-11-29T14:15:31.570" LastActivityDate="2018-11-29T14:15:52.370" Title="NullReferenceException from Sitecore.Nexus on Sitecore 9.1" Tags="|installation|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15229" PostTypeId="2" ParentId="15228" CreationDate="2018-11-28T19:08:03.453" Score="6" Body="&lt;p&gt;In Sitecore 9.1, this could indicate that your &lt;code&gt;license.xml&lt;/code&gt; is missing from your data folder, which will typically be your &lt;code&gt;App_Data&lt;/code&gt; folder. Place the license file in the correct location, and reset your application pool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With FakeDb on Sitecore 9.1, this could also indicate that your &lt;code&gt;license.xml&lt;/code&gt; is missing from the unit test root or the &lt;code&gt;LicensePath&lt;/code&gt; is misconfigured in your &lt;code&gt;App.config&lt;/code&gt;. Be sure you follow the &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;FakeDb Installation Documentation&lt;/a&gt; to make your license file available.&lt;/p&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2018-11-29T14:15:52.370" LastActivityDate="2018-11-29T14:15:52.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15232" PostTypeId="1" AcceptedAnswerId="15233" CreationDate="2018-11-28T19:36:16.973" Score="5" ViewCount="1143" Body="&lt;p&gt;After referencing &lt;code&gt;Sitecore.Kernel&lt;/code&gt; via the Sitecore 9.1 Platform nuget feed, I am seeing the following build error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.Nexus 3.0.0 depends on Sitecore.Nexus.Licensing (&gt;= 2.0.3 &amp;amp;&amp;amp;&#xA;  &amp;lt; 3.0.0) but Sitecore.Nexus.Licensing 2.0.3 was not found. An&#xA;  approximate best match of Sitecore.Nexus.Licensing 2.0.5 was resolved.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have confirmed that indeed the feed is missing version 2.0.3 of &lt;code&gt;Sitecore.Nexus.Licensing&lt;/code&gt;, but I assume version 2.0.5 is OK? How do I prevent this error from breaking my build?&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2019-03-07T18:26:13.223" Title="NU1603 build error on Sitecore.Nexus when using Sitecore Nuget" Tags="|nuget|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15233" PostTypeId="2" ParentId="15232" CreationDate="2018-11-28T19:36:16.973" Score="6" Body="&lt;p&gt;This is a &lt;a href=&quot;https://github.com/NuGet/Home/issues/5764&quot; rel=&quot;noreferrer&quot;&gt;known/discussed nuget issue&lt;/a&gt; -- what seems like information is output by nuget as a build error. As of 9.1 the published nuget packages are those used internally by Sitecore (&quot;release what you test&quot;), so in dependency version ranges they may reference versions that are not released publicly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can suppress this error in your project's build configuration:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7xttw.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7xttw.png&quot; alt=&quot;Suppress NU1603&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also add the property directly to the project file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;NoWarn&amp;gt;NU1603&amp;lt;/NoWarn&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastActivityDate="2018-11-28T19:36:16.973" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15235" PostTypeId="1" CreationDate="2018-11-28T21:32:47.037" Score="5" ViewCount="1993" Body="&lt;p&gt;I have installed XBlog for Sitecore 9. It shows up as an application on my Sitecore Launchpad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also like to add the XBlog Importer to the Sitecore Launchpad. How can I do this?&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="70" LastEditDate="2018-12-03T14:38:06.240" LastActivityDate="2018-12-03T14:38:06.240" Title="How do I add a button to the Sitecore Launchpad?" Tags="|launchpad|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15236" PostTypeId="1" AcceptedAnswerId="16988" CreationDate="2018-11-28T21:48:10.083" Score="2" ViewCount="126" Body="&lt;p&gt;I converted a site to Sitecore 9 and upgraded DEF from 1.4 to 2.0. I made the appropriate code changes from Adam Conn file based example.&lt;/p&gt;&#xA;&lt;p&gt;But now when I debug the EventFieldValueAccessorConverter is hit, but my custom EventArrayValueReader is never called when the data is needed to be read. The only error is below and that is just an error that no object was passed into the next pipeline.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;ManagedPoolThread #7 16:14:09 ERROR [Data Exchange] Pipeline step processing will abort because the identifier could not be resolved. (pipeline: Event Info from File to Event Info Item Sync Pipeline, pipeline step: Resolve Event Info Item, pipeline step identifier: 40570fc6-28d6-4fce-8420-b5febf4010fd)&lt;/p&gt;&#xA;&lt;p&gt;ManagedPoolThread #7 16:14:09 ERROR [Data Exchange] Pipeline step processing will abort because no source object could be resolved from the pipeline context. (pipeline: Event Info from File to Event Info Item Sync Pipeline, pipeline step: Apply Mapping, pipeline step identifier: 8af58dcc-c5ed-4563-8de6-81d0b69be97f, target location: ec64487d-e7e6-40b0-a86c-40c74b95e04e)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I am lost on when or who executes the EventArrayValueReader.ReadResult() function, to diagnose this.&lt;/p&gt;&#xA;&lt;h2&gt;Value Accessor Converter&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;[SupportedIds(TemplateId)]&#xA;public class EventFieldValueAccessorConverter : ValueAccessorConverter&#xA;{&#xA;    public const string TemplateId = Templates.ArrayValueAccessor.ID;&#xA;    public const string TemplateFieldPosition = Templates.ArrayValueAccessor.Fields.FieldName;&#xA;    public EventFieldValueAccessorConverter(IItemModelRepository repository) : base(repository)&#xA;    {&#xA;    }&#xA;    protected override IValueReader GetValueReader(ItemModel source)&#xA;    {&#xA;        var reader = base.GetValueReader(source);&#xA;        if (reader == null)&#xA;        {&#xA;            var fieldName = this.GetStringValue(source, TemplateFieldPosition);&#xA;&#xA;            reader = new EventArrayValueReader(fieldName);&#xA;        }&#xA;        return reader;&#xA;    }&#xA;    protected override IValueWriter GetValueWriter(ItemModel source)&#xA;    {&#xA;        var writer = base.GetValueWriter(source);&#xA;        if (writer == null)&#xA;        {&#xA;            var fieldName = this.GetStringValue(source, TemplateFieldPosition);&#xA;&#xA;            writer = new PropertyValueWriter(fieldName);&#xA;        }&#xA;        return writer;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;IValueReader&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class EventArrayValueReader : IValueReader&#xA;{&#xA;&#xA;    public readonly string FieldName;&#xA;    private readonly IEventsService eventsService;&#xA;&#xA;    public bool UseValueProperty { get; set; }&#xA;&#xA;    public EventArrayValueReader(string fieldName)&#xA;    {&#xA;        this.FieldName = fieldName;&#xA;        this.eventsService = DependencyResolver.Current.GetService&amp;lt;IEventsService&amp;gt;();&#xA;    }&#xA;&#xA;    protected virtual bool CanRead(object source, DataAccessContext context)&#xA;    {&#xA;        bool flag = source != null &amp;amp;&amp;amp; source is EventModel;&#xA;        return flag;&#xA;    }&#xA;&#xA;    public virtual ReadResult Read(object source, DataAccessContext context)&#xA;    {&#xA;        var flag = false;&#xA;        object readValue = (object)null;&#xA;        var feeditem = source as EventModel;&#xA;        if (feeditem == null)&#xA;            return new ReadResult(DateTime.Now)&#xA;            {&#xA;                WasValueRead = flag,&#xA;                ReadValue = readValue&#xA;            };&#xA;&#xA;        switch (this.FieldName)&#xA;        {&#xA;            case &amp;quot;ID&amp;quot;:&#xA;                readValue = feeditem.ID;&#xA;                flag = true;&#xA;                break;&#xA;            case &amp;quot;MeetTitle&amp;quot;:&#xA;                readValue = feeditem.MeetTitle;&#xA;                flag = true;&#xA;                break;&#xA;&#xA;            default:&#xA;                Log.Info($&amp;quot;Missed field mapping {this.FieldName}&amp;quot;, this);&#xA;                break;&#xA;&#xA;        }&#xA;&#xA;        return new ReadResult(DateTime.Now)&#xA;        {&#xA;            WasValueRead = flag,&#xA;            ReadValue = readValue&#xA;        };&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-23T00:10:31.763" Title="DEF IValueReader not being read after upgrade to 2.0 from 1.4" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15237" PostTypeId="2" ParentId="8457" CreationDate="2018-11-28T22:58:02.013" Score="1" Body="&lt;p&gt;I faced a similar issue whilst installing Sitecore 9.1. I installed Solr 7.2.1 as a part of Sitecore installation process. Then realized Solr 6.6.2 was already installed and was running on port 443. Stopped the process and got this working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may do &lt;code&gt;netstat -aon | find &quot;:443&quot;&lt;/code&gt; to find if any process running on port 443.&lt;/p&gt;&#xA;" OwnerUserId="2744" LastEditorUserId="237" LastEditDate="2018-11-29T08:50:00.500" LastActivityDate="2018-11-29T08:50:00.500" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15238" PostTypeId="2" ParentId="15164" CreationDate="2018-11-29T00:19:55.703" Score="4" Body="&lt;p&gt;As mentioned, this isn't an EXM issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Google has provided an image cacher proxy for emails. The pixel doesn't return a proper image which makes Google think it's broken, but the fact the request was made means that you capture the open still.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's been a while since I looked at 3.4, but I confirm in Sitecore 9.0.1+ that EXM Open Pixels work just fine in Gmail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will agree with you though that it looks weird in Gmail.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-11-29T00:19:55.703" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15239" PostTypeId="2" ParentId="10917" CreationDate="2018-11-29T04:54:53.737" Score="1" Body="&lt;p&gt;It's possible that EXM is not able to correctly resolve the site that it's supposed to be resolving. EXM utilizes Sitecore's LinkManager/LinkProvider for creating a URL based on an item. It appears that Link Manager is not able to determine which site to use, and therefore using the full item path to create the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For starters, I would make sure that the Message Root is inside of the Start Item Path for the site that it's supposed to resolve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, I would inspect the &lt;code&gt;&amp;lt;modifyHyperlink&amp;gt;&lt;/code&gt; pipeline. This is the pipeline that transforms the URL coming out of the EXM message to the encrypted URL that you posted. Adding a debugging processor at parts of this pipeline can help determine what Sitecore is doing to the link. Which, in turn, if you need to modify this at all, you can implement a processor here to ensure that the link is created correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do note that all links in an EXM message go through this pipeline, so keep any changes to a minimum to ensure that processing time is not impacted during dispatches.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-11-29T04:54:53.737" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15240" PostTypeId="2" ParentId="10521" CreationDate="2018-11-29T05:08:11.057" Score="1" Body="&lt;p&gt;It would be helpful if the version of Sitecore/EXM were listed in the question, as this could be a result of many different issues. However, based on the information provided, I am led to believe that the user is operating on Sitecore 9.0.1 EXM.  If this is the case, there is a known issue with personalization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Referencing the &lt;a href=&quot;https://kb.sitecore.net/articles/467253&quot; rel=&quot;nofollow noreferrer&quot;&gt;Cumulative hotfix for EXM 9.0 Update-1&lt;/a&gt; from Sitecore, this hotfix includes a number of fixes for issues found in 9.0.1 EXM. Of these issues, is the Analytics Personalization, which wasn't being applied to the message body. In short, the personalization you are attempting to use requires the use of the Analytics Tracker which is unavailable OOTB with Sitecore 9.0.1 EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Installing this hotfix (or upgrading to Sitecore 9.0.2) fixes this issue.  Other issues fixed listed in this hotfix include:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Segmented Lists are not considered as a contact data source during the dispatch process.&lt;/li&gt;&#xA;  &lt;li&gt;Attachments cannot be removed from a message.&lt;/li&gt;&#xA;  &lt;li&gt;The Click Email Link goal usage can lead to an exception in log files.&lt;/li&gt;&#xA;  &lt;li&gt;The number of Sent metrics in the message statistics is wrong.&lt;/li&gt;&#xA;  &lt;li&gt;Message statistics are not updated properly because of caching.&lt;/li&gt;&#xA;  &lt;li&gt;Analytics personalization may not be applied to the message body.&lt;/li&gt;&#xA;  &lt;li&gt;NullReferenceException may be thrown if Email facet is empty.&lt;/li&gt;&#xA;  &lt;li&gt;Dispatch may be paused if used lists contain PII sensitive data.&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-11-29T05:08:11.057" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15241" PostTypeId="2" ParentId="13971" CreationDate="2018-11-29T05:16:15.867" Score="0" Body="&lt;p&gt;I have seen this issue when using the &quot;Duplicate Campaign&quot; method on an already dispatched regular email message, on a currently activated Automated message, which in both cases are because the duplicate method is simply copying the Sitecore Message item. If the message item has a lock on it already, it appears that it does not unlock the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The EXM UI will alert you that the item is protected and provide you a way to unlock the item right then and there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I consider this a &quot;by-design&quot; characteristic of EXM.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-11-29T05:16:15.867" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15242" PostTypeId="2" ParentId="9077" CreationDate="2018-11-29T05:29:23.790" Score="0" Body="&lt;p&gt;The error posted suggests that SPEAK is not able to render the page correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The EXM UI is a SPEAK application driven by item configuration in the Sitecore Core Database. While it is rare that someone would need to customize or change the EXM UI in the Core Database, it's not unusual.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, in the event of either a failed upgrade or misaligned core database, it's possible that items were missing, causing SPEAK to fail, causing this initialize error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The EXM Application path in the Core Database is &lt;code&gt;/sitecore/client/Applications/ECM&lt;/code&gt; and has a folder structure that looks similar to this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BHgr7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BHgr7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-11-29T05:29:23.790" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15245" PostTypeId="2" ParentId="14707" CreationDate="2018-11-29T09:57:07.590" Score="1" Body="&lt;p&gt;In the end, I opted to create a page with just a controller rendering on it that handles checking logged in status, returning an HttpUnauthorizedResult if you aren't, which kicks off OWIN and the WsFederation login process. The effect is the same and even gives me more freedom in handling redirecting the user back into their workflow.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Login()&#xA;{&#xA;    if (!Sitecore.Context.User.IsAuthenticated)&#xA;    {&#xA;        // As part of the login process, save where the user originated from as this information is lost in all the redirects&#xA;        var url = GetReturnPath();&#xA;        if (!string.IsNullOrWhiteSpace(url))&#xA;        {&#xA;            var uri = new Uri(url, UriKind.Relative);&#xA;            // Only use relative uri for security&#xA;            if (!uri.IsAbsoluteUri)&#xA;            {&#xA;                HttpContext.Session.Add(SESSION_KEY, GetReturnPath());&#xA;            }&#xA;        }&#xA;&#xA;        return new HttpUnauthorizedResult();&#xA;    }&#xA;&#xA;    // After login, send user back from whence they came&#xA;    var returnUrl = HttpContext.Session[SESSION_KEY] as string ?? GetReturnPath();&#xA;    HttpContext.Session.Remove(SESSION_KEY);&#xA;    if (!string.IsNullOrEmpty(returnUrl))&#xA;    {&#xA;        return Redirect(returnUrl);&#xA;    }&#xA;&#xA;    return Redirect(&quot;/&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2369" LastActivityDate="2018-11-29T09:57:07.590" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15247" PostTypeId="1" AcceptedAnswerId="15255" CreationDate="2018-11-29T11:17:58.633" Score="2" ViewCount="1316" Body="&lt;p&gt;We are using Sitecore SXA for development.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now we are able to sync into Sitecore everything(based on serialization configuration) using unicorn through yml files. if deleted yml file, it is deleting from content tree also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I want to change this sync process for a specific section of content tree like Data, Presentation, Settings etc. I want to sync only newly added yml file and want to ignore updated or deletd yml files and also want to keep as is if any new item created in content tree by an author even no yml file exists for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What changes do I need to make in the configuration to achieve above requirement?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;      &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;configuration name=&quot;Project.Corporate.Website&quot; description=&quot;media items.&quot; dependencies=&quot;Foundation.*&quot; patch:after=&quot;configuration[@name='Foundation.Serialization']&quot;&amp;gt;&#xA;          &amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\project\Corporate\serialization&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; useDataCache=&quot;false&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;                &amp;lt;include name=&quot;Media&quot; database=&quot;master&quot; path=&quot;/sitecore/media library/Project/Corporate&quot; /&amp;gt;&#xA;            &amp;lt;/predicate&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/configurations&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks a lot in advance.&lt;/p&gt;&#xA;" OwnerUserId="3377" LastEditorUserId="70" LastEditDate="2018-11-29T13:40:42.787" LastActivityDate="2018-11-29T13:47:16.793" Title="Unicorn Sync for Sitecore SXA site adding only new items" Tags="|unicorn|serialization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15249" PostTypeId="2" ParentId="12906" CreationDate="2018-11-29T12:11:50.013" Score="0" Body="&lt;p&gt;This could be caused by your Contenemt Management instance pointing at the xConnect collection role, instead of the XConnect Search role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;more info here &#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/sitecore-data-flows-and-processes.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/sitecore-data-flows-and-processes.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xConnect Collection&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/collecting-experience-data.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/collecting-experience-data.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;XConnect Search:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/indexing-and-segmentation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/indexing-and-segmentation.html&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1262" LastActivityDate="2018-11-29T12:11:50.013" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15250" PostTypeId="2" ParentId="15073" CreationDate="2018-11-29T12:32:12.127" Score="1" Body="&lt;p&gt;If what Gatogordo is suggesting doesn't work you might want to try adding a second entry in your index configuration with whitespaces because the value of the field may not be stored in the index even though the storage type of the field is set to YES in the configuration due to a known issue with Lucene search provide and fields with whitespaces. More info &lt;a href=&quot;https://kb.sitecore.net/articles/036144&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case you want to have in the AddFieldByFieldName section the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;entry_date&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.DateTime&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;  &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&#xA;&amp;lt;field fieldName=&quot;entry date&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;  &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, don't forget to rebuild your indexes after this change.&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="35" LastEditDate="2018-11-29T14:53:19.227" LastActivityDate="2018-11-29T14:53:19.227" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15253" PostTypeId="2" ParentId="14054" CreationDate="2018-11-29T13:03:20.797" Score="3" Body="&lt;p&gt;Thanks, everyone for your pointers. The issue was occurring, because SIF was trying to create duplicate DB users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I narrowed down the issue with the SIF parameter configuration. It seems that SIF doesn't anticipate 2 Sitecore instances DBs over one SQL server and hence DB user names are hardcoded.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SIF PowerShell scripts package comes with a set of parameters - ranging from site names to Db users. SIF PowerShell script (named &lt;code&gt;install_sitecore.ps1&lt;/code&gt;) allows to dynamically set some of the parameters, but most of the parameters are hardcoded in the &lt;code&gt;{SIF root folder}\sitecore-XP0.json&lt;/code&gt; file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Refer the snippet below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lFZGB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lFZGB.png&quot; alt=&quot;Hard coded DB user names&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you install second instances of the Sitecore 9.x over the same SQL Server instances, it doesn't allow 2 DB users with the same name and throws the &lt;strong&gt;ERROR_SQL_EXECUTION_FAILURE&lt;/strong&gt; as mentioned above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope it helps.&lt;/p&gt;&#xA;" OwnerUserId="2838" LastEditorUserId="4050" LastEditDate="2020-01-14T05:31:53.077" LastActivityDate="2020-01-14T05:31:53.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15255" PostTypeId="2" ParentId="15247" CreationDate="2018-11-29T13:47:16.793" Score="3" Body="&lt;p&gt;You can do this by using the &lt;code&gt;NewItemsOnly&lt;/code&gt; evaluator in your configuration. You would need to setup multiple configurations for this tho as you can only use one evaluator per configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;            &amp;lt;configurations&amp;gt;&#xA;                &amp;lt;configuration name=&quot;SXANewItemsOnly&quot; description=&quot;Only sync new items for the SXA Data, Presentaion and Settings folders&quot;&amp;gt;&#xA;                    &amp;lt;!-- swap the evaluator to the different implementation (see &amp;lt;defaults&amp;gt; in Unicorn.config for a full list of things you can replace like this) --&amp;gt;&#xA;                    &amp;lt;evaluator type=&quot;Unicorn.Evaluators.NewItemOnlyEvaluator, Unicorn&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;&#xA;                    &amp;lt;!--&#xA;                        Note: when using custom evaluators keep Transparent Sync OFF for those configurations (the line below).&#xA;                        Transparent Sync operates by reading from the serialization store directly.&#xA;                        In other words transparent sync always acts like SerializedAsMasterEvaluator because disk is LITERALLY the master.&#xA;                        See https://github.com/kamsar/Unicorn/wiki/The-Transparent-Sync-Guide&#xA;                    --&amp;gt;&#xA;                    &amp;lt;dataProviderConfiguration enableTransparentSync=&quot;false&quot; /&amp;gt;&#xA;&#xA;                    &amp;lt;predicate&amp;gt;&#xA;                        &amp;lt;include database=&quot;master&quot; path=&quot;/sitecore/content/my-tenant/my-site/data&quot; /&amp;gt;&#xA;                        &amp;lt;include database=&quot;master&quot; path=&quot;/sitecore/content/my-tenant/my-site/presentation&quot; /&amp;gt;&#xA;                        &amp;lt;include database=&quot;master&quot; path=&quot;/sitecore/content/my-tenant/my-site/settings&quot; /&amp;gt;&#xA;                    &amp;lt;/predicate&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;/configurations&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would need to make sure there was another configuration that runs before this that syncs the root items of the site, otherwise it would fail. You can make sure of the configuration order using dependencies in Unicorn. There is an example in the Unicorn source code on github: &lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn/blob/master/src/Unicorn/Standard%20Config%20Files/Unicorn.Configs.Dependency.config.example&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreUnicorn/Unicorn/blob/master/src/Unicorn/Standard%20Config%20Files/Unicorn.Configs.Dependency.config.example&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;NewItemsOnlyEvaluator&lt;/code&gt; - syncs exactly as you have described. It will only add the item if the item does not already exist. If items are added by content editors, they will not be removed, and if items are edited, they will not be overwritten.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are some caveats to this tho. If an item is deleted in the target database, on the next sync it will be re-added. Because Unicorn will see that the item is not there and therefore must be new.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also - I would be selective about which areas of the site you use for this. Normally I would only use this with content areas. The &lt;code&gt;Presentation&lt;/code&gt; and &lt;code&gt;Settings&lt;/code&gt; do contain areas that should be source controlled. E.g. rendering variants. If you have the rendering variants set as &lt;code&gt;NewItemsOnly&lt;/code&gt; then that means updates to the rendering variants would not get sync'd as the items would already exist. So think about the items in the tree and decide which ones should be new items only and which should not.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-11-29T13:47:16.793" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15256" PostTypeId="1" AcceptedAnswerId="15257" CreationDate="2018-11-29T13:50:03.963" Score="0" ViewCount="480" Body="&lt;p&gt;I created a page design that has 3 partial designs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dRo0T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dRo0T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I add a css class for each separate component row splitter? &lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="237" LastEditDate="2018-11-29T14:23:26.827" LastActivityDate="2018-11-29T14:23:26.827" Title="How we can assign class name in partial page" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15257" PostTypeId="2" ParentId="15256" CreationDate="2018-11-29T14:00:07.317" Score="2" Body="&lt;p&gt;It is impossible to set class for the whole column/row splitter rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can set classes only for placeholders inside (I added &lt;code&gt;container-gray-background&lt;/code&gt; class to the first column):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vQ1wK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vQ1wK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could achieve that by adding another wrapper around group of renderings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would have to put everything in a &lt;strong&gt;Container&lt;/strong&gt;. You can assign classes to this rendering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then nest everything inside (in this case my container has &lt;code&gt;container-color-background&lt;/code&gt; class, but this can be anything you like).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K19dd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K19dd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-11-29T14:00:07.317" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15260" PostTypeId="1" AcceptedAnswerId="15261" CreationDate="2018-11-29T15:17:05.343" Score="9" ViewCount="4547" Body="&lt;p&gt;I read that in Sitecore 9.1 the admin user is no longer 'b'. Is that accurate? &lt;/p&gt;&#xA;" OwnerUserId="4638" LastActivityDate="2019-02-07T12:19:34.457" Title="Is Sitecore 9.1 admin password no longer 'b'?" Tags="|sitecore-client|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15261" PostTypeId="2" ParentId="15260" CreationDate="2018-11-29T15:19:12.100" Score="22" Body="&lt;p&gt;As per installation guide, in version 9.1 the Sitecore admin password needs now to be set when installing it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;One of the settings that you must edit is SitecoreAdminPassword.&#xA;If you do not specify the Sitecore administrator password in the script and leave the example value&#xA;&quot;SIF-Default&quot; unchanged, a random password is generated for you. This password is written to the&#xA;XP0-SingleDeveloper.log file&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can find in the installation guide &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2018-11-29T15:37:50.530" LastActivityDate="2018-11-29T15:37:50.530" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15262" PostTypeId="2" ParentId="15260" CreationDate="2018-11-29T15:26:38.763" Score="4" Body="&lt;p&gt;That is true. Default password is set to &quot;SIF-Default&quot; which during installation is detected by SIF and SIF generates new / random password for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, you can easily change that password back to &quot;b&quot; through &lt;strong&gt;User Manager&lt;/strong&gt; if you are feeling nostalgic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mind that this could be a security risk! If you are planning to use this old password on dev machine, you are probably safe to change it to &quot;b&quot;.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-11-29T15:36:15.337" LastActivityDate="2018-11-29T15:36:15.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15263" PostTypeId="1" CreationDate="2018-11-29T15:34:29.313" Score="13" ViewCount="7091" Body="&lt;p&gt;Following this article &lt;a href=&quot;https://buoctrenmay.com/2018/01/11/playing-with-sitecore-9-0-update-1-installation/comment-page-1/#comment-548&quot; rel=&quot;noreferrer&quot;&gt;https://buoctrenmay.com/2018/01/11/playing-with-sitecore-9-0-update-1-installation/comment-page-1/#comment-548&lt;/a&gt; to install Sitecore, got this error on step 13, any idea?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[---------------------------------------- CreateSignedCert :&#xA;  NewSignedCertificate ------------------------------------] VERBOSE:&#xA;  Resolving ConfigFunction extension 'GetCertificate' VERBOSE: Resolved&#xA;  'Invoke-GetCertificateConfigFunction' VERBOSE:&#xA;  Invoke-GetCertificateConfigFunction VERBOSE: Id:&#xA;  DO_NOT_TRUST_SitecoreRootCert VERBOSE: CertStorePath:&#xA;  cert:\LocalMachine\Root VERBOSE: Found Cert(s) with thumbprint:&#xA;  C6641D4F4CEB3790FCFC82928ED5C2B74B68EDEB Install-SitecoreConfiguration&#xA;  : Cannot validate argument on parameter 'Signer'. The&#xA;  &quot;$_.HasPrivateKey -eq $true&quot; validation script for the argument with&#xA;  value &quot;[Subject]   CN=DO_NOT_TRUST_SitecoreRootCert, O=DO_NOT_TRUST,&#xA;  OU=Created by &lt;a href=&quot;https://www.sitecore.com&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.com&lt;/a&gt; [Issuer]&lt;br&gt;&#xA;  CN=DO_NOT_TRUST_SitecoreRootCert, O=DO_NOT_TRUST, OU=Created by&#xA;  &lt;a href=&quot;https://www.sitecore.com&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.com&lt;/a&gt; [Serial Number]&lt;br&gt;&#xA;  575C8CA6DFB4129D49F47FA7681558D4 [Not Before]   11/28/2018 5:32:24 AM&#xA;  [Not After]   11/26/2028 5:32:24 AM [Thumbprint]&lt;br&gt;&#xA;  C6641D4F4CEB3790FCFC82928ED5C2B74B68EDEB &quot; did not return a result of&#xA;  True. Determine why the validation script failed, and then try the&#xA;  command again. At C:\Sitecore9\Sitecore 9.0.2 Single&#xA;  Instance\Sitecore902Install.ps1:18 char:1&#xA;  + Install-SitecoreConfiguration @certParams -Verbose&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TIME] 00:00:02 Invoke-NewSignedCertificateTask : Cannot validate&#xA;  argument on parameter 'Signer'. The &quot;$_.HasPrivateKey -eq $true&quot;&#xA;  validation script for the argument with value &quot;[Subject]&lt;br&gt;&#xA;  CN=DO_NOT_TRUST_SitecoreRootCert, O=DO_NOT_TRUST, OU=Created by&#xA;  &lt;a href=&quot;https://www.sitecore.com&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.com&lt;/a&gt; [Issuer]   CN=DO_NOT_TRUST_SitecoreRootCert,&#xA;  O=DO_NOT_TRUST, OU=Created by &lt;a href=&quot;https://www.sitecore.com&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecore.com&lt;/a&gt; [Serial Number]&#xA;  575C8CA6DFB4129D49F47FA7681558D4 [Not Before]   11/28/2018 5:32:24 AM&#xA;  [Not After]   11/26/2028 5:32:24 AM [Thumbprint]&lt;br&gt;&#xA;  C6641D4F4CEB3790FCFC82928ED5C2B74B68EDEB &quot; did not return a result of&#xA;  True. Determine why the validation script failed, and then try the&#xA;  command again. At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641&#xA;  char:47&#xA;  +                         &amp;amp; $entry.Task.Command @paramSet | Out-Default&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qXAW3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qXAW3.png&quot; alt=&quot;Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4685" LastEditorUserId="35" LastEditDate="2018-12-03T08:13:08.003" LastActivityDate="2019-06-28T11:35:07.820" Title="Install-SitecoreConfiguration : Cannot validate argument on parameter 'Signer'. The &quot;$_.HasPrivateKey -eq $true&quot;" Tags="|sitecore-client|sitecore-install-framework|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15264" PostTypeId="1" AcceptedAnswerId="15265" CreationDate="2018-11-29T15:35:26.393" Score="9" ViewCount="2239" Body="&lt;p&gt;Sitecore 9.1 has been released, but I can't see the 9.1 packages in my normal NuGet feed. Are they not released yet, or has something changed?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-03-05T22:25:54.720" Title="Where can I find the NuGet packages for Sitecore 9.1?" Tags="|nuget|" AnswerCount="1" CommentCount="0" ClosedDate="2018-11-29T16:07:20.597" ContentLicense="CC BY-SA 4.0" />
  <row Id="15265" PostTypeId="2" ParentId="15264" CreationDate="2018-11-29T15:37:08.240" Score="14" Body="&lt;p&gt;Sitecore did have 9.1 in its own feed to more closely match the way Sitecore does builds internally. &lt;s&gt;&lt;a href=&quot;https://sitecore.myget.org/gallery/sc-platform-9-1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/gallery/sc-platform-9-1&lt;/a&gt;&lt;/s&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But Sitecore heard feedback from the community and the decision was made to move it back into a feed where multiple versions will be together. This will classify all the Sitecore dlls together under the same release version. And will make upgrading easy with the fact that all 9.x versions will be together.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Feed Url&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.myget.org/feed/Packages/sc-framework-packages&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/feed/Packages/sc-framework-packages&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Announcement&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/sitecore-9-1-now-re-published-on-myget&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/sitecore-9-1-now-re-published-on-myget&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-03-05T22:25:54.720" LastActivityDate="2019-03-05T22:25:54.720" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15268" PostTypeId="2" ParentId="15235" CreationDate="2018-11-29T17:55:07.713" Score="6" Body="&lt;p&gt;Adding Buttons to the Launch Pad is super easy. This will be a quick step by step.  The icons on the Launch Pad are driven by SPEAK which is driven by items in the Core Database.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Adding an Icon to Launch Pad&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;1) Open up Desktop and change from &quot;master&quot; database to &quot;core&quot; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Open up Content Editor in Desktop and navigate to the Launchpad App.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rddUj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rddUj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) The Buttons item (#1) is the parent item that contains all of the buttons on the Launch Pad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) The &quot;Marketing&quot; item (#2) is a section divider. This specifies which column/grouping on the Launch Pad the icon will show up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) The &quot;ECM&quot; item (#3) is considered a button example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YLS2q.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YLS2q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6) So, once you identify which section divider you want your icon in, right click on the #2 level item and add an item of from the template type of &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Templates/LaunchPad-Button&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;7) Fill out the information as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tVmwQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tVmwQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Title: This is the text that will show up on the LaunchPad&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Icon: This is the icon that will be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link: This is the link that the click will go to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OpenInNewTab: Opens in a new browser tab is checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OpenInIframe: Will open in an iframe window.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;8) Save your item, and flip back to the master database, and then go back to the Launch Pad, and you're new item will show up.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-11-29T17:55:07.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15274" PostTypeId="1" AcceptedAnswerId="15280" CreationDate="2018-11-29T20:46:05.097" Score="5" ViewCount="358" Body="&lt;p&gt;We have an SXA site that we have started to build out.  As we have gone through the process we realized that we needed to change how we are doing the page designs, and had to create new ones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When changing page designs all of the rich text content is removed.  Fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is when I go to add it back in, and drag/drop a Rich Text component onto the page, Sitecore automatically creates a new blank Text item, and I have to change the associated content and then delete the newly created one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to be able to select the data source of a Rich Text item before  the new one gets created?  It would save me a decent amount of work. &lt;/p&gt;&#xA;" OwnerUserId="4690" LastEditorUserId="4690" LastEditDate="2018-11-30T14:50:36.423" LastActivityDate="2018-11-30T14:50:36.423" Title="Selecting Datasource of Rich Text components" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15275" PostTypeId="1" AcceptedAnswerId="22622" CreationDate="2018-11-29T21:05:12.933" Score="2" ViewCount="1459" Body="&lt;p&gt;Recent Sitecore 9.1 Initial Release had launched with SIF 2.0. As per documentation you need to execute following command. Assuming here you are doing first time on your machine.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But this gives me error on my local machine &amp;amp; tried also in my remote fresh Azure Windows Server 2016 machine. Following is error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PackageManagement\Register-PackageSource : Module Repository 'SitecoreGallery' exists.&#xA;At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4173 char:17&#xA;+ ...     $null = PackageManagement\Register-PackageSource @PSBoundParamete ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ResourceExists: (Microsoft.Power...erPackageSource:RegisterPackageSource) [Register-PackageSource], Exception&#xA;    + FullyQualifiedErrorId : PackageSourceExists,Microsoft.PowerShell.PackageManagement.Cmdlets.RegisterPackageSource&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="227" LastActivityDate="2019-10-18T05:04:51.873" Title="SIF 2.0 Installation Failed - Invalid Web URI" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15276" PostTypeId="2" ParentId="15275" CreationDate="2018-11-29T21:10:37.507" Score="6" Body="&lt;p&gt;Solution is mentioned already in other Sitecore 9.1 Installation Guide. Install Old SIF &amp;amp; update it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you already have SIF you can directly update it by following command&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Update-Module SitecoreInstallFramework&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can verify it by running following command&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Module SitecoreInstallFramework –ListAvailable&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It should look like in fresh machines like this&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bZqJA.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bZqJA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Existing machines after just updates it should like this&#xA;&lt;a href=&quot;https://i.stack.imgur.com/LsLEO.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LsLEO.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="227" LastActivityDate="2018-11-29T21:10:37.507" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15278" PostTypeId="1" AcceptedAnswerId="15279" CreationDate="2018-11-29T21:40:28.000" Score="2" ViewCount="469" Body="&lt;p&gt;Installing 9.0.0 on a machine already having 9.0.1. Getting below Cert exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PS&amp;gt;TerminatingError(New-SelfSignedCertificate): &quot;CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(New-SelfSignedCertificate): &quot;CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(New-SelfSignedCertificate): &quot;CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)&quot;&#xA;Install-SitecoreConfiguration : CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND) (edited)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Googled and found few relevant blog post like: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://learnsitecorebasics.wordpress.com/2018/06/28/install-sitecoreconfiguration-the-certificate-does-not-have-a-property-that-references-a-private-key/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://learnsitecorebasics.wordpress.com/2018/06/28/install-sitecoreconfiguration-the-certificate-does-not-have-a-property-that-references-a-private-key/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As suggested, from MMC and C Drive already removed the certificate having a prefix which I am passing in &lt;code&gt;$prefix&lt;/code&gt; parameter. But I can not delete &lt;code&gt;DO_NOT_TRUST_SitecoreFundamentalRoot&lt;/code&gt; and &lt;code&gt;DO_NOT_TRUST_SitecoreRootCert&lt;/code&gt; as my previous 9.0.1 instance is using there certs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing here? &lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2018-11-30T08:34:33.273" Title="Certificate exception while installing another Sitecore 9 instance on same machine" Tags="|xconnect|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15279" PostTypeId="2" ParentId="15278" CreationDate="2018-11-29T21:42:55.417" Score="3" Body="&lt;p&gt;Richard Dzien came to rescue on SIF Slack Channel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to keep the old SC9 install then when you install another SC9 instance make sure you set an alternative &lt;code&gt;RootCertFileName&lt;/code&gt; parameter value in the json or the script you call it with. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If using the example script add &lt;code&gt;IdentityServerCertificates_RootCertFileName = &quot;AlternativeRootName&quot;&lt;/code&gt; to the hashtable and also &lt;code&gt;XConnectCertificates_RootCertFileName = &quot;AlternativeRootName&quot;&lt;/code&gt; to the hashtable if you are using the XP0 or XP1 examples. The easiest way is just to edit the &lt;code&gt;createcert.json&lt;/code&gt; and change the &lt;code&gt;defaultvalue&lt;/code&gt; for &lt;code&gt;RootCerFileName&lt;/code&gt; (Line#15) though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a quick workaround, I changed the &lt;code&gt;RootCerFileName&lt;/code&gt; in &lt;code&gt;createcert.json&lt;/code&gt; file, tried reinstalling and everything went well. &lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="35" LastEditDate="2018-11-30T08:34:33.273" LastActivityDate="2018-11-30T08:34:33.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15280" PostTypeId="2" ParentId="15274" CreationDate="2018-11-29T21:58:43.280" Score="5" Body="&lt;p&gt;Use &lt;strong&gt;Reusable Rich Text&lt;/strong&gt; instead of &lt;strong&gt;Rich Text&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are the same renderings with one exception. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reusable Rich Text&lt;/strong&gt; asks about data source while normal &lt;strong&gt;Rich Text&lt;/strong&gt; just creates it automatically.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-11-29T21:58:43.280" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15281" PostTypeId="1" AcceptedAnswerId="15282" CreationDate="2018-11-30T03:04:35.533" Score="3" ViewCount="356" Body="&lt;p&gt;Since Sitecore XP 9.1 has just been released recently within the new authentication mechanism, it's a .NET core based on IdentityServer4. We all know Sitecore XC 9.0.2 also has its own IdentityServer. So my concerns are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Do they have separately IdentityServer which is one for XP 9.1 and other for XC 9.0.2?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Or Sitecore XC 9.0.2 is &lt;strong&gt;&lt;em&gt;incompatible&lt;/em&gt;&lt;/strong&gt; with Sitecore XP 9.1? If so, Sitecore will release a new version of Sitecore Experience Commerce in order to work with Sitecore 9.1?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1352" LastEditorUserId="35" LastEditDate="2018-11-30T07:43:50.247" LastActivityDate="2018-11-30T07:43:50.247" Title="Does Sitecore XP 9.1 &amp; Sitecore XC 9.0.2 use IdentityServer separately?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15282" PostTypeId="2" ParentId="15281" CreationDate="2018-11-30T03:33:27.940" Score="8" Body="&lt;p&gt;I will start with your second question&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Commerce 9.1 is not compatible with 9.0.2 (&lt;a href=&quot;https://kb.sitecore.net/articles/804595&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/804595&lt;/a&gt;).&#xA;   XC compatible with 9.1 should be released after 1 month of XP release. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At Symposium they said commerce releases would follow about 1 month after product releases&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If XP 9.1 and XC 9.0.2 are not compatible then the second question doesn't make sense.&#xA; When 9.1 XC will be released, I expect to have just one identity server.&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-11-30T03:41:07.780" LastActivityDate="2018-11-30T03:41:07.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15283" PostTypeId="2" ParentId="15263" CreationDate="2018-11-30T04:23:17.370" Score="5" Body="&lt;p&gt;Encountered the same exact error today. It looks like a new version of the SitecoreInstallFramework was published November 28th (version 2.0.0). It seems to break the process in some way. I solved this by uninstalling the framework and reinstalling with version 1.2.1.&lt;/p&gt;&#xA;" OwnerUserId="4692" LastActivityDate="2018-11-30T04:23:17.370" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15284" PostTypeId="1" CreationDate="2018-11-30T05:55:42.840" Score="1" ViewCount="66" Body="&lt;p&gt;How to configure a single Azure B2C Application for different sites under Sitecore, the b2c can reply on single domain but we have around 70 different domain&lt;/p&gt;&#xA;" OwnerUserId="4693" LastEditorUserId="2056" LastEditDate="2018-11-30T07:20:40.757" LastActivityDate="2018-11-30T07:20:40.757" Title="How to configure a single Azure B2C Application for different sites under Sitecore?" Tags="|azure|" AnswerCount="0" CommentCount="2" ClosedDate="2018-11-30T08:44:19.627" ContentLicense="CC BY-SA 4.0" />
  <row Id="15289" PostTypeId="2" ParentId="10151" CreationDate="2018-11-30T11:57:36.527" Score="2" Body="&lt;p&gt;Once I got the same error while setting up Sitecore 9.0.1 and the cause was a wrong license file in this path. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\inetpub\wwwroot\sc90.xconnect\App_data\jobs\continuous\IndexWorker\App_data &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Even though you have the right license.xml file in your&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; C:\inetpub\wwwroot\sc90.xconnect\App_data\ &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;path, you can still get this error message. So my solution was replacing the license.xml file in previous path, while install.ps1 file working.&lt;/p&gt;&#xA;" OwnerUserId="4695" LastActivityDate="2018-11-30T11:57:36.527" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15292" PostTypeId="1" CreationDate="2018-11-30T14:42:07.927" Score="2" ViewCount="1707" Body="&lt;p&gt;I am trying to install Sitecore 9.1 in local environment but i am getting below issues while running the installation script. I have executed the Prerequisite.json too. Has anyone come across below issue when installing sitecore 9.1. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[--------------------------------- XConnectXP0_CleanShards : Command&#xA;  -------------------------------------------------] [ShardingTool - Clean]:[Path]&#xA;  C:\inetpub\wwwroot\xp91.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Da&#xA;  tabase.SqlShardingDeploymentTool.exe&#xA;  Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe :  At&#xA;  C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Tasks\Invoke-CommandTask.ps1:31&#xA;  char:13&#xA;  +             &amp;amp; $Path $Arguments | Out-Default&#xA;  +             ~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:String) [], RemoteException&#xA;      + FullyQualifiedErrorId : NativeCommandError   Unhandled Exception:   System.IO.FileNotFoundException: Could not load file or&#xA;  assembly 'netstandard, Version=2.0.0.0, Culture=neutral, &#xA;  PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The&#xA;  system cannot find the file specified.    at&#xA;  Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.Program.Main(String[]&#xA;  args)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Install-SitecoreConfiguration : Command&#xA;  C:\inetpub\wwwroot\xp91.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Col&#xA;  lection.Database.SqlShardingDeploymentTool.exe returned a non-zero&#xA;  exit code - (255) At C:\installation\Sitecore&#xA;  installers\Sitecore9.1\Setup\XP0-SingleDeveloper.ps1:74 char:1&#xA;  + Install-SitecoreConfiguration @singleDeveloperParams *&gt;&amp;amp;1 | Tee-Objec ...&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Note: I have installed sitecore 9.0.2 earlier without any issues in local environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update1&lt;/strong&gt;&#xA;I'm able to resolve the above issue after installing the sp2. Earlier i have not restarted the machine after instaling the service pack2 that's why i have the above issue. Not it's resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm getting below error when installation script is running. This happens when installation script tries to start IndexWorker service.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Application: XConnectSearchIndexer.exe Framework Version: v4.0.30319&#xA;  Description: The process was terminated due to an unhandled exception.&#xA;  Exception Info: System.Runtime.Serialization.SerializationException&lt;br&gt;&#xA;  at System.AppDomain.CreateInstanceAndUnwrap(System.String,&#xA;  System.String)    at&#xA;  Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.CreateAppDomainAndIndexer()&#xA;  at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.Start()    at&#xA;  Sitecore.XConnect.Search.Indexer.Service.OnStart(System.String[])&lt;br&gt;&#xA;  at&#xA;  System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(System.Object)&#xA;  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;br&gt;&#xA;  at&#xA;  System.ServiceProcess.ServiceBase.Run(System.ServiceProcess.ServiceBase[])&#xA;  at Sitecore.XConnect.Search.Indexer.Program.RunAsService()    at&#xA;  Sitecore.XConnect.Search.Indexer.Program.InitializeConfigurationAndRun(System.Action)&#xA;  at Sitecore.XConnect.Search.Indexer.Program.Main(System.String[])&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Faulting application name: XConnectSearchIndexer.exe, version:&#xA;  2.0.0.0, time stamp: 0xa35f4561 Faulting module name: KERNELBASE.dll, version: 10.0.14393.2608, time stamp: 0x5bd1340d Exception code:&#xA;  0xe0434352 Fault offset: 0x0000000000034048 Faulting process id: 0xb0c&#xA;  Faulting application start time: 0x01d48acc9f5bc6e9 Faulting&#xA;  application path:&#xA;  C:\inetpub\wwwroot\xp91.xconnect\App_Data\jobs\continuous\IndexWorker\XConnectSearchIndexer.exe&#xA;  Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id:&#xA;  355d4902-db91-45e1-af6e-2dcc8072a915 Faulting package full name: &#xA;  Faulting package-relative application ID:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="3325" LastEditDate="2018-12-03T13:58:44.497" LastActivityDate="2018-12-03T15:30:56.523" Title="Getting &quot;Could not load file or assembly 'netstandard'&quot; while installing Sitecore 9.1" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15293" PostTypeId="1" AcceptedAnswerId="15294" CreationDate="2018-11-30T15:03:51.537" Score="19" ViewCount="19164" Body="&lt;p&gt;With version 9.1, Sitecore changed their NuGet library to no longer include &lt;code&gt;NoReferences&lt;/code&gt; versions of their assemblies. This is also mentioned in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/168/how-do-i-reference-sitecore-binaries-from-nuget&quot;&gt;How do I reference Sitecore binaries from NuGet?&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One alternative being brought up, is to shift to using &lt;code&gt;PackageReferences&lt;/code&gt; (applicable only to VS2017 and above). What is that?  And what would be involved in making the switch?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2018-11-30T17:26:40.887" Title="What are PackageReferences and how will they help optimise the way I deal with NuGet packages?" Tags="|nuget|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15294" PostTypeId="2" ParentId="15293" CreationDate="2018-11-30T17:26:40.887" Score="30" Body="&lt;p&gt;&lt;code&gt;PackageReference&lt;/code&gt; is a new way to allow NuGet to manage your projects references. Before this, adding a NuGet package would update both the &lt;code&gt;packages.config&lt;/code&gt; file and the &lt;code&gt;.csproj&lt;/code&gt; file for your solution. The &lt;code&gt;packages.config&lt;/code&gt; contains the package name and version, and the &lt;code&gt;.csproj&lt;/code&gt; file contains a reference to the downloaded package on disk.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Enter &lt;code&gt;PackageReference&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From VS2017 you can now use the &lt;code&gt;PackageReference&lt;/code&gt; node to manage NuGet dependencies directly within the &lt;code&gt;.csproj&lt;/code&gt; file. This still uses other aspects of NuGet like the &lt;code&gt;nuget.config&lt;/code&gt; file, all those settings are still applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of this, you get a lot more control over your NuGet dependencies. For example, you can use MSBuild conditions to choose package references per target framework, configuration, platform etc...&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Adding a PackageReference&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To add a package reference, you just need to add it to the project file like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;!-- ... --&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Kernel&quot; Version=&quot;12.0.0&quot; /&amp;gt;&#xA;    &amp;lt;!-- ... --&amp;gt;&#xA;&amp;lt;/ItemGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can specify the version. If you specify a specific number, that means that it is &lt;code&gt;&amp;gt;=12.0.0&lt;/code&gt;. The preference is on the lowest version that meets that requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One very cool thing is &lt;a href=&quot;https://docs.microsoft.com/en-us/nuget/consume-packages/dependency-resolution#floating-versions&quot; rel=&quot;noreferrer&quot;&gt;Floating Versions&lt;/a&gt;. With floating version you can do things like &quot;use the latest 12.0.x version&quot;. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;!-- ... --&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Kernel&quot; Version=&quot;12.0.*&quot; /&amp;gt;&#xA;    &amp;lt;!-- ... --&amp;gt;&#xA;&amp;lt;/ItemGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Benefits of using PackageReference&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;You can manage all your project dependencies in one place&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Easier to see your projects actual dependencies&lt;/strong&gt; - With &lt;code&gt;PackageReference&lt;/code&gt;, you only add direct dependencies to your &lt;code&gt;.csproj&lt;/code&gt; file. If a NuGet package has dependencies, they do not clutter up your project file anymore.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Performance&lt;/strong&gt; - &lt;code&gt;PackageReference&lt;/code&gt; packages are saved to a &lt;code&gt;global-packages&lt;/code&gt; folder instead of a local solution folder. Uses less disk space, is a bit faster when you already have packages downloaded. See &lt;a href=&quot;https://docs.microsoft.com/en-us/nuget/consume-packages/managing-the-global-packages-and-cache-folders&quot; rel=&quot;noreferrer&quot;&gt;Managing the global packages and cache folders&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Control over dependencies and content flow&lt;/strong&gt; using the MSBuild conditions as mentioned above&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Packages.config is not being developed&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;One big benefit of moving to this way of handling NuGet packages is that the existing &lt;code&gt;packages.config&lt;/code&gt; is no longer under active development, whereas &lt;code&gt;PackageRefrence&lt;/code&gt; is &lt;a href=&quot;https://github.com/NuGet/Home/issues/6763&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/NuGet/Home/issues/6763&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Migrating to PackageReference&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There is a way in VS to migrate existing &lt;code&gt;packages.config&lt;/code&gt; setups to &lt;code&gt;PackageReference&lt;/code&gt;. In your &lt;strong&gt;Solution Explorer&lt;/strong&gt;, right-click on the &lt;strong&gt;References&lt;/strong&gt; node or the &lt;code&gt;packages.config&lt;/code&gt; file and click &lt;strong&gt;Migrate packages.config to PackageReference&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This should migrate you over to &lt;code&gt;PackageReference&lt;/code&gt; - but there are known issues with that. See here for details on the known issues &lt;a href=&quot;https://docs.microsoft.com/en-us/nuget/reference/migrate-packages-config-to-package-reference&quot; rel=&quot;noreferrer&quot;&gt;Migrate from packages.config to PackageReference&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also a &lt;code&gt;NuGet PackageReference Updater&lt;/code&gt; tool on the VS market place: &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=CloudNimble.NuGetPackageReferenceUpgrader&quot; rel=&quot;noreferrer&quot;&gt;NuGet PackageReference Updater&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Conclusion&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;PackageReference&lt;/code&gt; is the future and has a number of benefits over &lt;code&gt;packages.config&lt;/code&gt;. Its worth looking into migrating your projects, but just be aware that there are some limitations with existing packages, especially Sitecore modules like Glass and Unicorn that include example config files. They will need updates to fully support that with &lt;code&gt;PackageReference&lt;/code&gt;, so hopefully that will happen soon.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Some references:&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://blog.nuget.org/20180409/migrate-packages-config-to-package-reference.html&quot; rel=&quot;noreferrer&quot;&gt;Migrate to PackageReference with 3 clicks&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/nuget/reference/migrate-packages-config-to-package-reference&quot; rel=&quot;noreferrer&quot;&gt;Migrate from packages.config to PackageReference&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files&quot; rel=&quot;noreferrer&quot;&gt;Package references (PackageReference) in project files&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-11-30T17:26:40.887" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15295" PostTypeId="1" AcceptedAnswerId="15297" CreationDate="2018-11-30T17:32:02.957" Score="7" ViewCount="214" Body="&lt;p&gt;The title pretty much says it all. I feel like I've come across a method in the past that does something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;long fileSize = 524288000;&#xA;string prettyFileSize = Sitecore.SomeUtility.ConvertPrettyFileSize(fileSize);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Resulting in &lt;code&gt;prettyFileSize&lt;/code&gt; containing &lt;code&gt;&quot;512MB&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-11-30T20:30:31.470" Title="Is there a method in Sitecore's utilities to format a numerical file size in a friendly way?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15296" PostTypeId="2" ParentId="2062" CreationDate="2018-11-30T19:36:57.887" Score="3" Body="&lt;p&gt;This may be a recent change (checked in 8.2 Update 4) - but the Sitecore API has an overload for the Sitecore.Context.SetLanguage method that should do what you want:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice the 4th argument of DateTime?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Sets the current language for current request, and can persist it for given site for specified duration via cookie.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;language&quot;&amp;gt;The language to be set.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;persistent&quot;&amp;gt;if set to &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; persistent via cookie.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;expiryDate&quot;&amp;gt;The cookie expiry date. &amp;lt;c&amp;gt;null&amp;lt;/c&amp;gt; for making cookie as 'session'.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;site&quot;&amp;gt;The site to have language set.&amp;lt;/param&amp;gt;&#xA;public static void SetLanguage(Language language, bool persistent, SiteContext site, DateTime? expiryDate = null)&#xA;{&#xA;  Assert.ArgumentNotNull((object) language, nameof (language));&#xA;  Context.Items[&quot;sc_Language&quot;] = (object) language;&#xA;  if (!persistent || site == null)&#xA;    return;&#xA;  string cookieKey = site.GetCookieKey(&quot;lang&quot;);&#xA;  if (!expiryDate.HasValue &amp;amp;&amp;amp; !(WebUtil.GetCookieValue(cookieKey) != language.Name))&#xA;    return;&#xA;  WebUtil.SetCookieValue(cookieKey, language.Name, expiryDate ?? DateTime.MinValue);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4704" LastActivityDate="2018-11-30T19:36:57.887" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15297" PostTypeId="2" ParentId="15295" CreationDate="2018-11-30T20:30:31.470" Score="13" Body="&lt;p&gt;You are correct, you probably have come across this. The &lt;code&gt;Sitecore.StringUtil, Sitecore.Kernel&lt;/code&gt; class contains a number of methods for managing strings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The two methods in particular are:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;StringUtil.GetSizeString(long size)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This method takes in a long value &lt;em&gt;524288000&lt;/em&gt;, and returns a string representation of &quot;512MB&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;StringUtil.ParseSizeString(string value)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This method takes in a string value like &quot;512MB&quot; and returns the long representation of that size, 524288000.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    using Sitecore;&#xA;&#xA;    public long GetLongValue(string valueSize)&#xA;    {&#xA;       return StringUtil.ParseSizeString(valueSize);&#xA;    }&#xA;&#xA;    public string GetStringSize(long size)&#xA;    {&#xA;       return StringUtil.GetSizeString(size);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-11-30T20:30:31.470" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15298" PostTypeId="1" CreationDate="2018-12-01T06:28:52.217" Score="2" ViewCount="1072" Body="&lt;p&gt;I have had a to get child items in a tree where their name contains a value. This was working until I updated the node (and its templates) to be a bucket. Now I can't get the query to return anything. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the item with item name &quot;myItem-123&quot; in the bucket. Typing &quot;123&quot; in the bucket search in the client UI returns the item just fine. &quot;clients&quot; is the bucket in the tree. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var getItemBuilder = new GetItemByPathBuilder()&#xA;            .Path(&quot;/sitecore/content/Client Content/Global/Settings/clients//*&quot;)&#xA;            .AddParam($&quot;123&quot;);&#xA;&#xA;        var clientSetting = this.contentRepository.GetItem&amp;lt;IMyInterface&amp;gt;(getItemBuilder.Options);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can use this XPath in XPath builder and it returns the time (I have to use the full name but even with the full name in the addparam call I still get nothing).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had this all setup and working before I changed it to an item bucket. Not sure how the item bucket change would have broken this. Am I not understand the &quot;AddParam&quot; method correctly? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried a number of GetItems method and GetItemsOptions that match other queries I have done and all those fail as well. It seems whatever I try to query items in a bucket fails.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var getItems2 = new GetItemsByQueryOptions(new Query(&quot;/sitecore/content/Client Content/Global/Settings/clients/*&quot;));&#xA;&#xA;var test2 = this.contentRepository.GetItems&amp;lt;IClientViewTemplate&amp;gt;(getItems2);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This also errors out saying the operation is not supported&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My mapping looks like this. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.Map(&#xA;            config =&amp;gt;&#xA;            {&#xA;                config.AutoMap();&#xA;                config.TemplateId(&quot;MyTemplateGUId&quot;);&#xA;                config.EnforceTemplateAndBase();&#xA;                config.Field(x =&amp;gt; x.ViewTemplate).FieldId(&quot;MyFieldGUID&quot;);&#xA;            });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3681" LastActivityDate="2019-02-06T21:03:20.750" Title="Using Glass (v5) to query a bucket for a certain template containing value in name" Tags="|glass-mapper|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15299" PostTypeId="1" CreationDate="2018-12-01T14:02:59.063" Score="0" ViewCount="383" Body="&lt;p&gt;I need to achieve below in one config file but getting some conflict error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;could you please help on this. I want to avoid creating multiple files for this purpose only by setting up dependency.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include name=&quot;Content.xxx&quot; database=&quot;master&quot; path=&quot;/sitecore/content/xxx&quot;&amp;gt;&#xA;                    &amp;lt;exclude children=&quot;true&quot; /&amp;gt;&#xA;                &amp;lt;/include&amp;gt;&#xA;                &amp;lt;include name=&quot;Content.xxx.yyy&quot; database=&quot;master&quot; path=&quot;/sitecore/content/xxx/yyy&quot;&amp;gt;&#xA;                    &amp;lt;exclude children=&quot;true&quot; /&amp;gt;&#xA;                &amp;lt;/include&amp;gt;&#xA;                &amp;lt;include name=&quot;Content.xxx.Corporate&quot; database=&quot;master&quot; path=&quot;/sitecore/content/xxx/yyy/Corporate&quot;&amp;gt;&#xA;                    &amp;lt;exclude children=&quot;true&quot; /&amp;gt;&#xA;                &amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3377" LastActivityDate="2018-12-03T09:54:45.463" Title="Unicorn Sync configuration for Sitecore SXA site" Tags="|sxa|unicorn|serialization|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15300" PostTypeId="1" AcceptedAnswerId="15321" CreationDate="2018-12-01T18:31:29.627" Score="6" ViewCount="829" Body="&lt;p&gt;I am using Dianoga module (Thanks to Kam Figy) to optimize the images. At present looking to enable &lt;em&gt;WebP&lt;/em&gt; format with backward compatibility (serving default image format for un-supported browsers)&lt;/p&gt;&#xA;&lt;p&gt;Latest Dianoga version supports &lt;em&gt;WebP&lt;/em&gt; format (Thanks to Anton). Everything works fine after following the steps in the &lt;a href=&quot;https://github.com/kamsar/Dianoga#how-to-enable-webp-support&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: If first request comes from &lt;em&gt;WebP&lt;/em&gt; supported browser, then optimization runs for &lt;em&gt;WebP&lt;/em&gt; format, and cached under Media Cache folder. But subsequent requests from non-supported browsers are failing.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Analysis:&lt;/strong&gt; There is no issue with Diagona module. When the second request comes from non-supported browser, it is matching the Item and Key, serving the image directly from cache, which is in &lt;em&gt;WebP&lt;/em&gt; format.&lt;/p&gt;&#xA;&lt;p&gt;Is there anyway to differentiate the requests with extension, so that supported image formats are served for the browsers.&lt;/p&gt;&#xA;&lt;p&gt;In the &lt;em&gt;&lt;strong&gt;.ini&lt;/strong&gt;&lt;/em&gt; file already there is an entry for extension.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FhJbZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FhJbZ.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Can we add one more parameter under protectedMediaQueryParameters or any other way to differentiate the media request by extension? Is it the recommended approach?&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;protectedMediaQueryParameters&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;width&amp;quot; name=&amp;quot;w&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;height&amp;quot; name=&amp;quot;h&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;max width&amp;quot; name=&amp;quot;mw&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;max height&amp;quot; name=&amp;quot;mh&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;scale&amp;quot; name=&amp;quot;sc&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;allow stretch&amp;quot; name=&amp;quot;as&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;background color&amp;quot; name=&amp;quot;bc&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;database name&amp;quot; name=&amp;quot;db&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;ignore aspect ratio&amp;quot; name=&amp;quot;iar&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;language code&amp;quot; name=&amp;quot;la&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;thumbnail&amp;quot; name=&amp;quot;thn&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;version number&amp;quot; name=&amp;quot;vs&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;content database&amp;quot; name=&amp;quot;sc_content&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;content language name&amp;quot; name=&amp;quot;sc_lang&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;context site&amp;quot; name=&amp;quot;sc_site&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;grayscale filter&amp;quot; name=&amp;quot;gray&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;media revision&amp;quot; name=&amp;quot;rev&amp;quot;/&amp;gt;&#xA;      &amp;lt;parameter description=&amp;quot;image extension&amp;quot; name=&amp;quot;extension&amp;quot;/&amp;gt;&#xA;    &amp;lt;/protectedMediaQueryParameters&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Sitecore version: &lt;strong&gt;8.2 Update 5 (170728)&lt;/strong&gt;&#xA;Dianoga version: &lt;strong&gt;4.0.0&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1003" LastEditorUserId="73" LastEditDate="2020-06-28T04:25:49.127" LastActivityDate="2020-06-28T04:25:49.127" Title="WebP format support with backward compatibility (support in IE, Safari)" Tags="|media-library|dianoga|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15302" PostTypeId="1" AcceptedAnswerId="15312" CreationDate="2018-12-02T00:45:51.683" Score="3" ViewCount="203" Body="&lt;p&gt;I am using Sitecore wffm forms on web page. I needed to use a custom CSS file for the form, so I am following &lt;a href=&quot;https://sitecoregenie.wordpress.com/2018/08/06/add-a-custom-css-file-for-wffm/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoregenie.wordpress.com/2018/08/06/add-a-custom-css-file-for-wffm/&lt;/a&gt; to add custom CSS file for the form and for doing that new CSS file should be added in folder &lt;code&gt;\sitecore modules\Shell\Web Forms for Marketers\Themes\&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, when I navigate to the web page to see Sitecore WFFM form, the custom CSS file is not applied to the web page. When I go to view source of the page, I see that the CSS file is being added but when I click on it I am being navigated to the Sitecore login page. Is there a way to bypass the Sitecore login for that CSS file in the Sitecore modules folder so that the page loads the CSS file and applies it to my form?&lt;/p&gt;&#xA;" OwnerUserId="4710" LastEditorUserId="342" LastEditDate="2018-12-02T02:48:02.860" LastActivityDate="2018-12-02T22:34:31.820" Title="Sitecore 9 wffm forms custom css file not accessible" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15304" PostTypeId="1" AcceptedAnswerId="15306" CreationDate="2018-12-02T10:41:04.490" Score="4" ViewCount="823" Body="&lt;p&gt;For Sitecore 9 on Azure PaaS and newer versions, what is the best practice to Add and configure the Application Insights SDK in Visual Studio to generate some telemetry in Visual Studio.&#xA;As we are using Helix principle and I want to check my site dependencies and add system diagnostics on run time from the Application Insight/Application map&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have configured the application insight SDK using Microsoft Azure link &#xA; but the map doesn't include any dependencies &#xA;:&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wDl6z.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wDl6z.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="635" LastActivityDate="2018-12-02T13:44:27.277" Title="Sitecore 9 in Azure PaaS : Add Application Insights SDK" Tags="|azure|sitecore-api|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15305" PostTypeId="1" AcceptedAnswerId="15376" CreationDate="2018-12-02T11:13:31.500" Score="1" ViewCount="872" Body="&lt;p&gt;I have both Solr 7.2.1 with port 8983 and Solr 6.6.2 with port 8984 on my machine. My 9.1 instance is using solr 7.2.1  and working fine. But my Solr 6.6.2 for Sitecore 9.0.2, is showing this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qI7BC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qI7BC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Server Error in '/' Application.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Data at the root level is invalid. Line 1, position 1.&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[XmlException: Data at the root level is invalid. Line 1, position 1.]&#xA;   System.Xml.XmlTextReaderImpl.Throw(Exception e) +91&#xA;   System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +408&#xA;   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +487&#xA;   System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) +60&#xA;   System.Xml.Linq.XDocument.Parse(String text, LoadOptions options) +156&#xA;   SolrNet.Impl.SolrCoreAdmin.SendAndParseHeader(ISolrCommand cmd) +40&#xA;   Sitecore.ContentSearch.SolrProvider.SolrNetIntegration.SolrPinger.Ping() +32&#xA;   Sitecore.ContentSearch.SolrProvider.SolrConnectors.SolrConnector.TestConnection() +70&#xA;   Sitecore.ContentSearch.SolrProvider.SolrStatus.OkSolrStatus() +99&#xA;   Sitecore.ContentSearch.SolrProvider.SolrStatus..cctor() +72&#xA;&#xA;[TypeInitializationException: The type initializer for 'Sitecore.ContentSearch.SolrProvider.SolrStatus' threw an exception.]&#xA;   Sitecore.ContentSearch.SolrProvider.SolrStatus.SetIndexForInitialization(ISearchIndex solrIndex) +0&#xA;   Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.SetForReinitialization() +202&#xA;   Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.InitializeSolr() +190&#xA;   Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Initialize() +46&#xA;   Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.Initialize() +169&#xA;   (Object , Object ) +9&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +161&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +767&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +581&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369&#xA;&#xA;[HttpException (0x80004005): The type initializer for 'Sitecore.ContentSearch.SolrProvider.SolrStatus' threw an exception.]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +714&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-12-05T07:01:48.140" LastActivityDate="2018-12-05T07:20:13.537" Title="Issue running 2 Solr Instances, Solr 7.2.1 port 8983 and Solr 6.6.2 port 8984" Tags="|solr|" AnswerCount="1" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="15306" PostTypeId="2" ParentId="15304" CreationDate="2018-12-02T13:44:27.277" Score="4" Body="&lt;p&gt;The default Paas installation packages will have Application insights enabled by default, so you should not have to configure anything further in Visual Studio for them to send telemetry to App Insights.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, by default Sitecore 9 does not collect the dependency telemetry, and hence the Application map is unavailable.  This is to &quot;optimize resource consumption&quot; as outlined in the kb link below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, you can enable the dependency telemetry by modifying ApplicationInsights.config in your solution. Details from the following KB article:&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/201177&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/201177&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To enable the collection of &quot;dependency&quot; telemetry events, uncomment the following line in the ApplicationInsights.config file located inside the website root folder:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- &amp;lt;Add Type=&quot;Microsoft.ApplicationInsights.DependencyCollector.DependencyTrackingTelemetryModule, Microsoft.AI.DependencyCollector&quot;/&amp;gt; --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that on a busy site this will collect a lot of data, so keep an eye on your App Insights service quotas.  You can set caps and warnings in Azure portal if neccessary.  Additionally you may see a performance hit enabling the dependency telemetry (as alluded to in the KB), so test and provision appropriately to make sure you're not introducing too much overhead.&lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2018-12-02T13:44:27.277" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15307" PostTypeId="1" AcceptedAnswerId="15314" CreationDate="2018-12-02T14:38:06.970" Score="1" ViewCount="275" Body="&lt;p&gt;I need to edit complex sitecore fields in &lt;code&gt;Experience Editor&lt;/code&gt; and I am using Glass's &lt;code&gt;BeginEditFrames&lt;/code&gt; for that as it only requires change in code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (BeginEditFrame(Model, &quot;Edit Properties&quot;, x =&amp;gt; x.Body, x =&amp;gt; x.SelectAuthors)) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is working fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the requirement is to change the icon that shows up in edit frame in Experience Editor. I am not sure how can we achieve that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the solution mentioned at &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/issues/178&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/issues/178&lt;/a&gt; but this is not working for me. &#xA;There doesn't seem to be an override for &lt;code&gt;BeginEditFrame&lt;/code&gt; method as mentioned in the post above. I am using Glassmapper v4.5.0.4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please advice if there is an out of the box way of doing this using GlassMapper.&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="5096" LastEditDate="2019-05-22T07:15:58.827" LastActivityDate="2019-05-22T07:15:58.827" Title="Is there a way to change icon when using GlassMapper BeginEditFrame?" Tags="|sitecore-client|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15308" PostTypeId="1" CreationDate="2018-12-02T15:44:47.540" Score="2" ViewCount="225" Body="&lt;p&gt;We are using Sitecore 9.0.2 PAAS on Azure and we found that below server roles are not on https instead they are on http&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;xDB Role Services&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Processing (prc)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reporting (rep)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;xConnect Server Role Services&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Marketing Automation Operations (ma-ops)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Marketing Automation Reporting (ma-rep)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xConnect Collection (xc-collect)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;exm dds webapp&lt;/p&gt;&#xA;&#xA;&lt;p&gt;question and how is this possible to run this webapps on https and why Sitecore is not forcing these webapps  to be on https&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="1671" LastEditDate="2018-12-02T16:04:29.160" LastActivityDate="2018-12-02T20:04:16.847" Title="Securing Sitecore 9.0.2 PAAS xDB &amp; xConnect Server Role Services" Tags="|xdb|security|xconnect|paas|role-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15309" PostTypeId="2" ParentId="15308" CreationDate="2018-12-02T20:04:16.847" Score="1" Body="&lt;p&gt;If you installed via the out-of-the box ARM templates, all roles should already be running on https provided by Azure (*.azurewebsites.net).  For instance, check the xconnect.collection connectionstring on your cd server, it should point to an https url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to use custom domain names, you need to purchase an ssl certificate and upload it into azure. You should also create custom domains. To conclude, you must bind the custom domain with the uploaded certificate. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to force https usage you can add this in your web.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web&amp;gt;&#xA;  &amp;lt;httpCookies httpOnlyCookies=&quot;true&quot; requireSSL=&quot;true&quot; lockItem=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/system.web&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also put https-only on the ssl settings in azure.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/u7wNb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u7wNb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another method is to add an https redirect rule in your web.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;rule name=&quot;Force HTTPS Redirection&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;      &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot; /&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot; /&amp;gt;&#xA;      &amp;lt;/conditions&amp;gt;&#xA;      &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; appendQueryString=&quot;true&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;    &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also ip-restrict these roles to keep it more secure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hciLl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hciLl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the xConnect services are secured by using client certificates. So the CD should have the same certificate loaded to be able to communicate with the xConnect services. These certificates should have clientauthentication enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wyMnx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wyMnx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info can be found in the sitecore documentation.&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/enable-https-for-core-roles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/enable-https-for-core-roles.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-12-02T20:04:16.847" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15310" PostTypeId="1" AcceptedAnswerId="15311" CreationDate="2018-12-02T21:01:58.177" Score="13" ViewCount="6608" Body="&lt;p&gt;I am trying to install Sitecore 9.1.0 rev. 001564 (WDP Package XP0) and I get this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WARNING: (sc910.xconnect-MarketingAutomationService)' to start...&#xA;WARNING: Waiting for service 'Sitecore Marketing Automation Engine - sc910.xconnect-MarketingAutomationService&#xA;WARNING: (sc910.xconnect-MarketingAutomationService)' to start...&#xA;WARNING: Waiting for service 'Sitecore Marketing Automation Engine - sc910.xconnect-MarketingAutomationService&#xA;WARNING: (sc910.xconnect-MarketingAutomationService)' to start...&#xA;WARNING: Waiting for service 'Sitecore Marketing Automation Engine - sc910.xconnect-MarketingAutomationService&#xA;WARNING: (sc910.xconnect-MarketingAutomationService)' to start...&#xA;Install-SitecoreConfiguration : Failed to start service 'Sitecore Marketing Automation Engine -&#xA;sc910.xconnect-MarketingAutomationService (sc910.xconnect-MarketingAutomationService)'.&#xA;At C:\ResourceFiles\XP0-SingleDeveloper.ps1:80 char:1&#xA;+ Install-SitecoreConfiguration @singleDeveloperParams *&amp;gt;&amp;amp;1 | Tee-Objec ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea? Thank you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;p&gt;&lt;b&gt;Possible Cause:&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The untrusted certificates installed under the Trusted folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Execute this command as Administrator, delete the database and run the script of installation again:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Move-Item -Destination Cert:\LocalMachine\CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rkEVI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rkEVI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Please add a comment if this solution works for you.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="4709" LastEditorUserId="4709" LastEditDate="2018-12-12T12:08:03.063" LastActivityDate="2020-01-08T21:45:25.320" Title="WARNING: Waiting for service sc910.xconnect-MarketingAutomationService" Tags="|installation|" AnswerCount="6" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15311" PostTypeId="2" ParentId="15310" CreationDate="2018-12-02T21:15:54.830" Score="13" Body="&lt;p&gt;This is telling you that the service that xConnect is trying to install for the Marketing Automation Engine is not starting. This could stem from a number of different causes. However, generally, it could be a result of either permission issues with the service and or folder. The image below shows the services in Windows. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oRDDt.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oRDDt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Troubleshooting Steps&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Try to start the service manually from the Windows Services window.&lt;/li&gt;&#xA;&lt;li&gt;Check the Windows Event Log. When services fail, it logs a message in the &lt;strong&gt;Application&lt;/strong&gt; Log which is usually helpful enough to understand what's going.&lt;/li&gt;&#xA;&lt;li&gt;Ensure that you are using a PowerShell window as &lt;strong&gt;&lt;em&gt;An Administrator&lt;/em&gt;&lt;/strong&gt;. The SIF process installs Windows Services, which needs administrator access to the machine.&lt;/li&gt;&#xA;&lt;li&gt;Look at the xConnect Marketing Automation Engine logs. See below.&lt;/li&gt;&#xA;&lt;li&gt;Enure that &lt;strong&gt;Local Service&lt;/strong&gt; account has full control over the &lt;code&gt;c:\inetpub\wwwroot\*.xconnect&lt;/code&gt; folder and it's subfolders and files.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Looking at MA Engine Logs&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Another step of troubleshooting is to look at the MA Engine logs. It could be the service is throwing an error.  Look in &lt;code&gt;c:\inetpub\wwwroot\*.xconnect\App_Data\jobs\continuous\AutomationEngine\App_Data\logs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nmmor.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nmmor.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check errors in this log. A properly working engine will have the following log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2018-12-02 14:10:47.423 -05:00 [Information] SystemPerformanceCounters Constructor, Instance:MarketingAutomation, Path: C:\inetpub\wwwroot\sxp910.xconnect\App_Data\jobs\continuous\AutomationEngine\App_Data\Diagnostics, CounterFilePattern: *.json&#xA;2018-12-02 14:10:49.952 -05:00 [Information] Engine configurator &quot;PoolWorkerRatioEngineConfigurator&quot; will create 8 pool workers&#xA;2018-12-02 14:10:49.962 -05:00 [Information] Adding pool worker with ID 'c21836e0-97f7-4d1e-b881-265fcd9d9508'&#xA;2018-12-02 14:10:49.962 -05:00 [Information] Adding pool worker with ID '8ec6d988-cf33-4e45-bfb5-0e5f693d8ac4'&#xA;2018-12-02 14:10:49.963 -05:00 [Information] Adding pool worker with ID '1e69254a-79c2-4c3a-b665-d130c9c06a78'&#xA;2018-12-02 14:10:49.963 -05:00 [Information] Adding pool worker with ID 'a55ae68e-a3b0-4b80-9978-7f7f939c154c'&#xA;2018-12-02 14:10:49.963 -05:00 [Information] Adding pool worker with ID 'c5b5be38-107d-45aa-ab24-5211638a1123'&#xA;2018-12-02 14:10:49.963 -05:00 [Information] Adding pool worker with ID '827b6de6-6e5f-42ab-9862-4c805bfd26cb'&#xA;2018-12-02 14:10:49.963 -05:00 [Information] Adding pool worker with ID '36fd10a3-165d-4a10-9be4-195ff964a3c6'&#xA;2018-12-02 14:10:49.963 -05:00 [Information] Adding pool worker with ID '4132a778-c5d5-4532-9ca8-fb202d73c32c'&#xA;2018-12-02 14:10:49.965 -05:00 [Information] Starting workers&#xA;2018-12-02 14:10:49.968 -05:00 [Information] Starting worker with ID 'c21836e0-97f7-4d1e-b881-265fcd9d9508'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Resolving&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Once you have identified what the issue is and have resolved it (meaning that you can manually start the windows service without error), try to rerun the Sitecore 9.1 SIF installation script. You may need to uninstall the services that were set up by the previous installation of SIF.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Last Resort&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Delete everything and try again. Making sure that you have an Administator Powershell command prompt and that you have the correct version of Sitecore Install Framework installed.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-12-02T22:12:01.777" LastActivityDate="2018-12-02T22:12:01.777" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="15312" PostTypeId="2" ParentId="15302" CreationDate="2018-12-02T21:44:02.057" Score="2" Body="&lt;p&gt;You can bypass the sitecore login by adding following location section in the web.config file which will bypass the authorization of the css and js files placed in the specific folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA; &amp;lt;location path=&quot;sitecore modules/Shell/Web Forms for Marketers/Themes&quot;&amp;gt;&#xA;   &amp;lt;system.web&amp;gt;&#xA;     &amp;lt;authorization&amp;gt;&#xA;       &amp;lt;allow users=&quot;?&quot; /&amp;gt;&#xA;    &amp;lt;/authorization&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA; &amp;lt;/location&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="2466" LastEditDate="2018-12-02T22:34:31.820" LastActivityDate="2018-12-02T22:34:31.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15313" PostTypeId="2" ParentId="11401" CreationDate="2018-12-02T23:19:34.890" Score="4" Body="&lt;p&gt;I did this with SIF. Using the xConnect json template. I was able to remove all the tasks that build xConnect and just rebuild the shards. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You first need to delete the two shard databases and the shard manager database.&lt;/li&gt;&#xA;&lt;li&gt;You need the Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip file in the C:\sitecoreInstall\9.0.1 rev. 171219\ folder. OR what ever version you are using.&lt;/li&gt;&#xA;&lt;li&gt;Then copy the &lt;code&gt;xconnect-xp0-clean-shards.json&lt;/code&gt; into the C:\sitecoreInstall\9.0.1 rev. 171219\Configs\ folder&lt;/li&gt;&#xA;&lt;li&gt;Change the SQL login detail and site $prefix. &lt;/li&gt;&#xA;&lt;li&gt;Then run CleanShards.ps1. It will re-add the shard databases to your SQL server.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; If you are doing this on Azure SQL, just change this line in the JSON file. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Sharding.DacPac.Path&quot;: &quot;[joinpath(variable('Sharding.Root.Path'), 'Sitecore.Xdb.Collection.Database.Sql.dacpac')]&quot;,&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;Sharding.DacPac.Path&quot;: &quot;[joinpath(variable('Sharding.Root.Path'), 'Sitecore.Xdb.Collection.Database.Sql.Azure.dacpac')]&quot;,&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;CleanShards.ps1&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module SitecoreInstallFramework&#xA;$prefix = &quot;xp0&quot;&#xA;$PSScriptRoot = &quot;C:\sitecoreInstall\9.0.1 rev. 171219\Configs&quot;&#xA;$XConnectCollectionService = &quot;xp0.xconnect.local&quot;&#xA;$sitecoreSiteName = &quot;xp0.sc9.local&quot;&#xA;$SolrUrl = &quot;https://solr:8983/solr&quot;&#xA;$SolrRoot = &quot;C:\solr\solr-6.6.2&quot;&#xA;$SolrService = &quot;solr-6.6.2&quot;&#xA;$SqlServer = &quot;localhost\SQL2016&quot;&#xA;$SqlAdminUser = &quot;dev&quot;&#xA;$SqlAdminPassword=&quot;dev123&quot;&#xA;&#xA;$certParams = @{&#xA;Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;&#xA;CertificateName = &quot;$prefix.xconnect_client&quot;&#xA;}&#xA;&#xA;$xconnectParams = @{&#xA;Path = &quot;$PSScriptRoot\xconnect-xp0-clean-shards.json&quot;&#xA;Package = &quot;C:\sitecoreInstall\9.0.1 rev. 171219\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA;LicenseFile = &quot;C:\sitecoreInstall\license.xml&quot;&#xA;Sitename = $XConnectCollectionService&#xA;XConnectCert = $certParams.CertificateName&#xA;SqlDbPrefix = $prefix&#xA;SqlServer = $SqlServer&#xA;SqlAdminUser = $SqlAdminUser&#xA;SqlAdminPassword = $SqlAdminPassword&#xA;SolrCorePrefix = $prefix&#xA;SolrURL = $SolrUrl&#xA;}&#xA;&#xA;Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;xconnect-xp0-clean-shards.json&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// -------------------------------------------------------------------------- //&#xA;//         Sitecore Install Framework - XConnect XP0 Configuration            //&#xA;//                                                                            //&#xA;//  Run this configuration to install a single instance of XConnect.          //&#xA;//                                                                            //&#xA;//  NOTE: Only single line comments are accepted in configurations.           //&#xA;// -------------------------------------------------------------------------- //&#xA;{&#xA;    &quot;Parameters&quot;: {&#xA;        // Parameters are values that may be passed when Install-SitecoreConfiguration is called.&#xA;        // Parameters must declare a Type and may declare a DefaultValue and Description.&#xA;        // Parameters with no DefaultValue are required when Install-SitecoreConfiguration is called.&#xA;        &quot;Package&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The path to the Web Deploy package to deploy.&quot;&#xA;        },&#xA;        &quot;LicenseFile&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The path to the Sitecore license file.&quot;&#xA;        },&#xA;        &quot;SiteName&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;XConnect&quot;,&#xA;            &quot;Description&quot;: &quot;The name of the site to be deployed.&quot;&#xA;        },&#xA;        &quot;XConnectCert&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The certificate to use for encryption. Provide the name or the thumbprint.&quot;&#xA;        },&#xA;        &quot;SqlDbPrefix&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The prefix used for all Sql databases.&quot;&#xA;        },&#xA;        &quot;SolrCorePrefix&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The prefix used for all Solr cores.&quot;&#xA;        },&#xA;        &quot;SSLCert&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The certificate to use for HTTPS web bindings. Provide the name or the thumbprint. If not provided a certificate will be generated.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;&quot;&#xA;        },&#xA;        &quot;SqlAdminUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;sa&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin user account to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SqlAdminPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin password to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SolrUrl&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;https://localhost:8983/solr&quot;,&#xA;            &quot;Description&quot;: &quot;The Solr instance to use.&quot;&#xA;        },&#xA;        &quot;SqlCollectionUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;collectionuser&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin user account to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SqlCollectionPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql admin password to use when installing databases.&quot;&#xA;        },&#xA;        &quot;SqlProcessingPoolsUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;poolsuser&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql user for the Processing Pools connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlProcessingPoolsPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Processing Pools connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlReferenceDataUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;referencedatauser&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql user for the Reference Data connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlReferenceDataPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Reference Data connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlMarketingAutomationUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;marketingautomationuser&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql user for the Marketing Automation connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlMarketingAutomationPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Marketing Automation connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlMessagingUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;messaginguser&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql user for the Messaging connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlMessagingPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Test12345&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Messaging connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlServer&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;.\\SQLSERVER&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql Server where databases will be installed.&quot;&#xA;        },&#xA;        &quot;XConnectEnvironment&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Development&quot;,&#xA;            &quot;Description&quot;: &quot;The configuration environment for this instance.&quot;&#xA;        },&#xA;        &quot;XConnectLogLevel&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;Information&quot;,&#xA;            &quot;Description&quot;: &quot;The level of log information to output.&quot;&#xA;        }&#xA;    },&#xA;    &quot;Variables&quot;: {&#xA;        // Variables are values calculated in a configuration.&#xA;        // They can reference Parameters, other Variables, and config functions.&#xA;        // The prefix for shards created by the tool&#xA;        &quot;Sharding.Database.Prefix&quot;: &quot;[concat(parameter('SqlDbPrefix'), '_Xdb.Collection.Shard')]&quot;,&#xA;&#xA;        // The database names.&#xA;        &quot;Sql.Database.ShardMapManager&quot;:     &quot;[concat(variable('Sharding.Database.Prefix'), 'MapManager')]&quot;,&#xA;        &quot;Sql.Database.Shard0&quot;:              &quot;[concat(variable('Sharding.Database.Prefix'), '0')]&quot;,&#xA;        &quot;Sql.Database.Shard1&quot;:              &quot;[concat(variable('Sharding.Database.Prefix'), '1')]&quot;,&#xA;        &quot;Sql.Database.Pools&quot;:               &quot;[concat(parameter('SqlDbPrefix'), '_Processing.Pools')]&quot;,&#xA;        &quot;Sql.Database.MarketingAutomation&quot;: &quot;[concat(parameter('SqlDbPrefix'), '_MarketingAutomation')]&quot;,&#xA;        &quot;Sql.Database.Messaging&quot;:           &quot;[concat(parameter('SqlDbPrefix'), '_Messaging')]&quot;,&#xA;        &quot;Sql.Database.Reference&quot;:           &quot;[concat(parameter('SqlDbPrefix'), '_ReferenceData')]&quot;,&#xA;&#xA;        // The security certificate details&#xA;        &quot;Security.CertificateStore&quot;:                &quot;Cert:\\Localmachine\\My&quot;,&#xA;        &quot;Security.SSL.CertificateThumbprint&quot;:       &quot;[GetCertificateThumbprint(parameter('SSLCert'), variable('Security.CertificateStore'))]&quot;,&#xA;        &quot;Security.XConnect.CertificateThumbprint&quot;:  &quot;[GetCertificateThumbprint(parameter('XConnectCert'), variable('Security.CertificateStore'))]&quot;,&#xA;        &quot;Security.XConnect.CertificatePath&quot;:        &quot;[joinpath(variable('Security.CertificateStore'), variable('Security.XConnect.CertificateThumbprint'))]&quot;,&#xA;&#xA;        // The sites full path on disk&#xA;        &quot;Site.PhysicalPath&quot;: &quot;[joinpath(environment('SystemDrive'), 'inetpub', 'wwwroot', parameter('SiteName'))]&quot;,&#xA;        &quot;Site.DataFolder&quot;:  &quot;[joinpath(variable('Site.PhysicalPath'), 'App_Data')]&quot;,&#xA;&#xA;        // The path to the index worker windows service&#xA;        &quot;Services.IndexWorker.InstallPath&quot;: &quot;[joinpath(variable('Site.DataFolder'), 'jobs','continuous','IndexWorker')]&quot;,&#xA;        &quot;Services.IndexWorker.Name&quot;:        &quot;[concat(parameter('SiteName'), '-IndexWorker')]&quot;,&#xA;&#xA;        // The path to the automation engine windows service&#xA;        &quot;Services.MarketingAutomationEngine.InstallPath&quot;:   &quot;[joinpath(variable('Site.DataFolder'), 'jobs','continuous','AutomationEngine')]&quot;,&#xA;        &quot;Services.MarketingAutomationEngine.Name&quot;:          &quot;[concat(parameter('SiteName'), '-MarketingAutomationService')]&quot;,&#xA;&#xA;        // The marketing automation endpoint.&#xA;        &quot;Endpoint.MarketingAutomation&quot;: &quot;[concat('https://', parameter('SiteName'))]&quot;,&#xA;&#xA;        // The reference data endpoint.&#xA;        &quot;Endpoint.ReferenceData&quot;: &quot;[concat(variable('Endpoint.MarketingAutomation'), '/refdata')]&quot;,&#xA;&#xA;        // The sharding tool details.&#xA;        &quot;Sharding.Root.Path&quot;:   &quot;[joinpath(variable('Site.DataFolder'), 'collectiondeployment')]&quot;,&#xA;        &quot;Sharding.Tool.Path&quot;:   &quot;[joinpath(variable('Sharding.Root.Path'), 'Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe')]&quot;,&#xA;        &quot;Sharding.DacPac.Path&quot;: &quot;[joinpath(variable('Sharding.Root.Path'), 'Sitecore.Xdb.Collection.Database.Sql.dacpac')]&quot;,&#xA;        &quot;Sharding.Map.Names&quot;: [&#xA;            &quot;ContactIdShardMap&quot;,&#xA;            &quot;DeviceProfileIdShardMap&quot;,&#xA;            &quot;ContactIdentifiersIndexShardMap&quot;&#xA;        ],&#xA;        &quot;Sharding.DB.Connection&quot;: &quot;[sqlconnectionstring(parameter('SqlServer'), '', parameter('SqlAdminUser'), parameter('SqlAdminPassword'))]&quot;,&#xA;        &quot;Sharding.Edition&quot;: &quot;Basic&quot;,        &#xA;        &quot;Sharding.SqlCmd.Path.CreateShardApplicationDatabaseServerLogin&quot;:   &quot;[joinpath(variable('Sharding.Root.Path'), 'CreateShardApplicationDatabaseServerLogin.sql')]&quot;,&#xA;        &quot;Sharding.SqlCmd.Path.CreateShardManagerApplicationDatabaseUser&quot;:   &quot;[joinpath(variable('Sharding.Root.Path'), 'CreateShardManagerApplicationDatabaseUser.sql')]&quot;,&#xA;        &quot;Sharding.SqlCmd.Path.CreateShardApplicationDatabaseUser&quot;:          &quot;[joinpath(variable('Sharding.Root.Path'), 'CreateShardApplicationDatabaseUser.sql')]&quot;,&#xA;&#xA;        // The solr configuration details.&#xA;        &quot;Xdb.Name&quot;:         &quot;[concat(parameter('SolrCorePrefix'), '_xdb')]&quot;,&#xA;        &quot;Xdb.Rebuild.Name&quot;: &quot;[concat(variable('Xdb.Name'), '_rebuild')]&quot;,&#xA;        &quot;Solr.Url.Xdb&quot;:     &quot;[concat(parameter('SolrUrl'), '/', variable('Xdb.Name'))]&quot;,&#xA;&#xA;        // The content at this path is installed by the wdp&#xA;        &quot;Solr.Config.Path&quot;: &quot;[joinpath(variable('Site.DataFolder'), 'solrcommands', 'schema.json')]&quot;&#xA;    },&#xA;    &quot;Tasks&quot;: {&#xA;        // Tasks are separate units of work in a configuration.&#xA;        // Each task is an action that will be completed when Install-SitecoreConfiguration is called.&#xA;        // By default, tasks are applied in the order they are declared.&#xA;        // Tasks may reference Parameters, Variables, and config functions.&#xA;        &quot;CleanShards&quot;: {&#xA;            // Drop existing shards.&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;[variable('Sharding.Tool.Path')]&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;/operation&quot;, &quot;drop&quot;,&#xA;                    &quot;/connectionstring&quot;, &quot;[variable('Sharding.DB.Connection')]&quot;,&#xA;                    &quot;/dbedition&quot;, &quot;[variable('Sharding.Edition')]&quot;,&#xA;                    &quot;/shardMapManagerDatabaseName&quot;, &quot;[variable('Sql.Database.ShardMapManager')]&quot;,&#xA;                    &quot;/shardMapNames&quot;, &quot;[join(variable('Sharding.Map.Names'))]&quot;&#xA;                ],&#xA;                &quot;TaskName&quot;: &quot;ShardingTool - Clean&quot;&#xA;            }&#xA;        },&#xA;        &quot;CreateShards&quot;: {&#xA;            // Create new shards.&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;[variable('Sharding.Tool.Path')]&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;/operation&quot;, &quot;create&quot;,&#xA;                    &quot;/connectionstring&quot;, &quot;[variable('Sharding.DB.Connection')]&quot;,&#xA;                    &quot;/dbedition&quot;, &quot;[variable('Sharding.Edition')]&quot;,&#xA;                    &quot;/shardMapManagerDatabaseName&quot;, &quot;[variable('Sql.Database.ShardMapManager')]&quot;,&#xA;                    &quot;/shardMapNames&quot;, &quot;[join(variable('Sharding.Map.Names'))]&quot;,&#xA;                    &quot;/shardnumber&quot;, 2,&#xA;                    &quot;/shardnameprefix&quot;, &quot;[variable('Sharding.Database.Prefix')]&quot;,&#xA;                    &quot;/shardnamesuffix&quot;, &quot;\&quot;\&quot;&quot;,&#xA;                    &quot;/dacpac&quot;, &quot;[variable('Sharding.DacPac.Path')]&quot;&#xA;                ],&#xA;                &quot;TaskName&quot;: &quot;ShardingTool - Create&quot;&#xA;            }&#xA;        },&#xA;        &quot;CreateShardApplicationDatabaseServerLoginSqlCmd&quot;: {&#xA;            // Create Collection Shard Database Server Login&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;sqlcmd&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-i&quot;,&#xA;                    &quot;[variable('Sharding.SqlCmd.Path.CreateShardApplicationDatabaseServerLogin')]&quot;,&#xA;                    &quot;-S&quot;,&#xA;                    &quot;[parameter('SqlServer')]&quot;,&#xA;                    &quot;-U&quot;,&#xA;                    &quot;[parameter('SqlAdminUser')]&quot;,&#xA;                    &quot;-P&quot;,&#xA;                    &quot;[parameter('SqlAdminPassword')]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('UserName=',parameter('SqlCollectionUser'))]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('Password=',parameter('SqlCollectionPassword'))]&quot;&#xA;                ]&#xA;            }&#xA;        },&#xA;        &quot;CreateShardManagerApplicationDatabaseUserSqlCmd&quot;: {&#xA;            // Create Collection Shard Manager Database User&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;sqlcmd&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-i&quot;,&#xA;                    &quot;[variable('Sharding.SqlCmd.Path.CreateShardManagerApplicationDatabaseUser')]&quot;,&#xA;                    &quot;-S&quot;,&#xA;                    &quot;[parameter('SqlServer')]&quot;,&#xA;                    &quot;-U&quot;,&#xA;                    &quot;[parameter('SqlAdminUser')]&quot;,&#xA;                    &quot;-P&quot;,&#xA;                    &quot;[parameter('SqlAdminPassword')]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('UserName=',parameter('SqlCollectionUser'))]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('ShardMapManagerDatabaseName=',variable('Sql.Database.ShardMapManager'))]&quot;&#xA;                ]&#xA;            }&#xA;        },&#xA;        &quot;CreateShard0ApplicationDatabaseUserSqlCmd&quot;: {&#xA;            // Create Collection Shard 0 Database User&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;sqlcmd&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-i&quot;,&#xA;                    &quot;[variable('Sharding.SqlCmd.Path.CreateShardApplicationDatabaseUser')]&quot;,&#xA;                    &quot;-S&quot;,&#xA;                    &quot;[parameter('SqlServer')]&quot;,&#xA;                    &quot;-U&quot;,&#xA;                    &quot;[parameter('SqlAdminUser')]&quot;,&#xA;                    &quot;-P&quot;,&#xA;                    &quot;[parameter('SqlAdminPassword')]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('UserName=',parameter('SqlCollectionUser'))]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('ShardDatabaseName=',variable('Sql.Database.Shard0'))]&quot;&#xA;                ]&#xA;            }&#xA;        },&#xA;        &quot;CreateShard1ApplicationDatabaseUserSqlCmd&quot;: {&#xA;            // Create Collection Shard 1 Database User&#xA;            &quot;Type&quot;: &quot;Command&quot;,&#xA;            &quot;Params&quot;: {&#xA;                &quot;Path&quot;: &quot;sqlcmd&quot;,&#xA;                &quot;Arguments&quot;: [&#xA;                    &quot;-i&quot;,&#xA;                    &quot;[variable('Sharding.SqlCmd.Path.CreateShardApplicationDatabaseUser')]&quot;,&#xA;                    &quot;-S&quot;,&#xA;                    &quot;[parameter('SqlServer')]&quot;,&#xA;                    &quot;-U&quot;,&#xA;                    &quot;[parameter('SqlAdminUser')]&quot;,&#xA;                    &quot;-P&quot;,&#xA;                    &quot;[parameter('SqlAdminPassword')]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('UserName=',parameter('SqlCollectionUser'))]&quot;,&#xA;                    &quot;-v&quot;,&#xA;                    &quot;[concat('ShardDatabaseName=',variable('Sql.Database.Shard1'))]&quot;&#xA;                ]&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-02-28T21:36:41.007" LastActivityDate="2019-02-28T21:36:41.007" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15314" PostTypeId="2" ParentId="15307" CreationDate="2018-12-03T00:26:01.153" Score="4" Body="&lt;p&gt;You will see if you look in the core DB that glass creates custom experience editor buttons in the following path when you use BeginEditFrame:&#xA;/sitecore/content/Applications/WebEdit/Custom Experience Buttons. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try finding the custom edit buttons that glass has created and changing the icons. In the unlikely event that doesn't work you could create your own folder of custom buttons and point at that. The syntax is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using(BeginEditFrame(&quot;/sitecore/content/webedit/buttons&quot;, Model.Path)){&#xA;&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This first parameter can be an ID which is a better approach. The ID or path point to the folder of custom buttons you have created. Each custom button can have an icon defined like any normal sitecore item.  &lt;/p&gt;&#xA;" OwnerUserId="1378" LastActivityDate="2018-12-03T00:26:01.153" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15315" PostTypeId="1" CreationDate="2018-12-03T05:57:20.657" Score="0" ViewCount="1064" Body="&lt;p&gt;I run in this error by run &lt;code&gt;Install-SitecoreConfiguration -Path createcert.json&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The json file is from the xp0 package and it contains no parameter &lt;code&gt;DnsName&lt;/code&gt;. I just found a variable like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Variables&quot;: {&#xA;    &quot;Root.Cert.DnsName&quot;: &quot;[concat('DO_NOT_TRUST_', parameter('RootCertFileName'))]&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-SitecoreConfiguration : Cannot validate argument on parameter&#xA;  'DnsName'. The argument is null or empty. Provide an argument that is&#xA;  not null or empty, and then try the command again. At&#xA;  C:\ops\int\SIF\install.ps1:10 char:1&#xA;  + Install-SitecoreConfiguration @createcert&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4216" LastEditorUserId="35" LastEditDate="2018-12-03T08:13:13.713" LastActivityDate="2019-05-22T07:15:53.293" Title="Install Sitecore 9.1 Cannot validate argument on parameter 'DnsName' - parameter doesn't exist in the json config" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15318" PostTypeId="1" CreationDate="2018-12-03T07:15:34.607" Score="0" ViewCount="282" Body="&lt;p&gt;Currently, TDS installer is taking 30 to 40 min of the time to deploy 5.2 package. I am exploring a few options to improve TDS deployment time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to implement  &lt;code&gt;Sitecore Git Delta Deploy 2.0&lt;/code&gt;. I am using &lt;code&gt;msbuild /p:CustomGitDeltaDeploy=True&lt;/code&gt; option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I have a question about this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As it is mention in an article, it creates a file (&lt;code&gt;LastDeploymentGitCommitId.txt&lt;/code&gt;) and stores it on a build server, but the problem we are facing is for each deployment it is storing the file in a different location, so it is not working for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2018-11-30T00:06:17.5788965Z   git rev-parse HEAD &gt;&#xA;  &quot;F:\agentA_work\267\b\Delta\LastDeploymentGitCommitId.txt&quot;&#xA;  2018-11-30T04:06:51.2571889Z   git rev-parse HEAD &gt;&#xA;  &quot;G:\agentB_work\182\b\Delta\LastDeploymentGitCommitId.txt&quot;&#xA;  2018-11-30T04:27:01.2790608Z   git rev-parse HEAD &gt;&#xA;  &quot;F:\agentA_work\172\b\Delta\LastDeploymentGitCommitId.txt&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is there a way that we can save this file at common location or any there option to tackle this scenario? &lt;/p&gt;&#xA;" OwnerUserId="1230" LastEditorUserId="73" LastEditDate="2018-12-03T11:03:20.643" LastActivityDate="2018-12-05T02:19:38.087" Title="Using GIT Delta Deploy to improve TDS deployment time" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15319" PostTypeId="1" CreationDate="2018-12-03T07:36:58.020" Score="1" ViewCount="184" Body="&lt;p&gt;I am getting error as &lt;code&gt;Connection refused to remote server&lt;/code&gt; while accessing message in Email Campaign Manager. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was trying to test by &lt;code&gt;sitecore/admin/ECM.requestbody.aspx&lt;/code&gt; where it's connecting to wrong rendering URL which got modified when we moved our server to &lt;code&gt;https&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I modified the Rendering URL field manually and clicked on 'Check'. Now I get  Could not create SSL/TLS secure channel.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I navigated to &lt;code&gt;System/Email Campaign Manager/GlobalSettings&lt;/code&gt; to configure Rendering URL field. But I don't see that field there. Do I have to upgrade &lt;code&gt;ECM&lt;/code&gt; version to configure Rendering URL field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I going in right direction? Please give me some input in resolving this.&lt;/p&gt;&#xA;" OwnerUserId="3950" LastEditorUserId="5096" LastEditDate="2019-05-22T07:15:55.947" LastActivityDate="2019-05-22T07:15:55.947" Title="Unable to view message in Sitecore 7.2 ECM" Tags="|ecm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15320" PostTypeId="2" ParentId="15319" CreationDate="2018-12-03T07:50:32.447" Score="2" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Version Note:&lt;/strong&gt; This answer applies to EXM 3.5 or Sitecore 9.X only.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can configure &lt;code&gt;EXM.RendererUrl&lt;/code&gt; in the &lt;code&gt;Sitecore.EmailExperience.Core.config&lt;/code&gt; config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case the setting is empty, the &lt;code&gt;RendererUrl&lt;/code&gt; is resolved on the first request to the application. In the &lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&lt;/code&gt; pipeline, there is a &lt;code&gt;Sitecore.Modules.EmailCampaign.Core.Pipelines.HttpRequestBegin.OnHttpRequestBegin&lt;/code&gt; processor that that does that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;GlobalSettings.RendererUrl = WebUtil.GetServerUrl(args.HttpContext.Request.Url, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You said that it worked ok previously on HTTP, but after you switched to HTTPS, it does not work. First I would focus on fixing the SSL/TLS issue. I bet that there is some problem with the certificate.&lt;/p&gt;&#xA;" OwnerUserId="35" LastEditorUserId="246" LastEditDate="2018-12-04T00:07:35.200" LastActivityDate="2018-12-04T00:07:35.200" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15321" PostTypeId="2" ParentId="15300" CreationDate="2018-12-03T08:08:31.727" Score="4" Body="&lt;p&gt;Yes, your idea is correct. Problem is that Sitecore media request protection removes extra parameter &lt;code&gt;extension&lt;/code&gt; that is required for Dianoga WebP to work. After adding &lt;code&gt;extension&lt;/code&gt; to protected media query parameters:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;parameter description=&quot;image extension&quot; name=&quot;extension&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;everything should work as expected.&#xA;Pull request to Dianoga that fixes this issue &lt;a href=&quot;https://github.com/kamsar/Dianoga/pull/44&quot; rel=&quot;nofollow noreferrer&quot;&gt;was added&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-12-03T08:08:31.727" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15322" PostTypeId="2" ParentId="15319" CreationDate="2018-12-03T08:31:07.647" Score="2" Body="&lt;p&gt;The answer by @bartłomiej-mucha is true for version 3.5 and above. In older versions of EXM (and ECM) you have to resort to implementing an extension as explained in &lt;a href=&quot;https://kb.sitecore.net/articles/837879&quot; rel=&quot;nofollow noreferrer&quot;&gt;Customize the Renderer URL setting in ECM&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To be able to specify the Renderer URL manually, you can implement a&#xA;  small extension.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Check the following example:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Create a custom processor to update the Renderer URL with the value&#xA;  from a configuration file. For example: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(PipelineArgs args)&#xA;{&#xA;  Sitecore.Modules.EmailCampaign.GlobalSettings.RendererUrl = Settings.GetSetting(&quot;ECM.RendererUrl&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;Add this processor to the  pipeline of the web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;initialize&amp;gt;&#xA;    ...&#xA;    &amp;lt;processor type=&quot;&amp;lt;your-processor-class-name, your-assembly&quot; /&amp;gt;&#xA;  &amp;lt;/initialize&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;Specify the required value of the ECM.RendererUrl setting in the&#xA;  web.config. This address should be accessible from the ECM server&#xA;  (where the message is being created and dispatched) of your Sitecore&#xA;  environment:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;  ...&#xA;  &amp;lt;setting name=&quot;ECM.RendererUrl&quot; value=&quot;http://yourhost&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="121" LastEditorUserId="121" LastEditDate="2018-12-03T10:37:00.127" LastActivityDate="2018-12-03T10:37:00.127" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15324" PostTypeId="1" AcceptedAnswerId="15325" CreationDate="2018-12-03T08:35:23.417" Score="5" ViewCount="4275" Body="&lt;p&gt;I was following Quick Installation Guide available &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; to uninstall my fresh Sitecore 9.1 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It says in chapter &lt;code&gt;4.2. Uninstall the XP Single topology&lt;/code&gt; this:&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;To uninstall any of the Sitecore XP topologies, change the &#xA;Install-SitecoreConfiguration cmdlet to Uninstall-SitecoreConfiguration. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example: Change&#xA;&lt;code&gt;Install-SitecoreConfiguration @XP1Parameters *&amp;gt;&amp;amp;1 | Tee-Object XP1-&#xA;SingleDeveloper.log&lt;/code&gt;&#xA;to&#xA;&lt;code&gt;Uninstall-SitecoreConfiguration @XP1Parameters *&amp;gt;&amp;amp;1 | Tee-Object XP1-&#xA;SingleDeveloper-Uninstall.log&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Run the script and the topology is removed.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;I have done exactly that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Nh2IL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Nh2IL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the exact code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#Install-SitecoreConfiguration @singleDeveloperParams *&amp;gt;&amp;amp;1 | Tee-Object XP0-SingleDeveloper.log&#xA;&#xA;# Uncomment the below line and comment out the above if you want to remove the XP0 SingleDeveloper Config&#xA;Uninstall-SitecoreConfiguration @singleDeveloperParams *&amp;gt;&amp;amp;1 | Tee-Object XP0-SingleDeveloper-Uninstall.log&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have uncommented what was needed to and commented what I had to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But getting this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Uninstall-SitecoreConfiguration : No registration found for extension&#xA;  'RemoveSQLDatabase' of type 'Task'. At&#xA;  C:\ResourceFiles\03_UninstallSitecore_XP0-SingleDeveloper.ps1:77&#xA;  char:1&#xA;  + Uninstall-SitecoreConfiguration @singleDeveloperParams *&gt;&amp;amp;1 | Tee-Obj ...&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TIME] 00:00:01 &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;MapTasks : No registration found for extension&#xA;  'RemoveSQLDatabase' of type 'Task'. At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:453&#xA;  char:28&#xA;  + ... sksConfig = MapTasks -InputObject $rawConfig -TasksToExecute $tasksTo ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,MapTasks&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is how it looks in Powershell in full length:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/L55yI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/L55yI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already run &lt;code&gt;Update-Module SitecoreInstallFramework&lt;/code&gt; to have up to date SIF.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-10-01T14:40:43.120" Title="Unable to uninstall Sitecore 9.1 and getting &quot;No registration found for extension 'RemoveSQLDatabase' of type 'Task'&quot;" Tags="|sitecore-install-framework|installation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15325" PostTypeId="2" ParentId="15324" CreationDate="2018-12-03T08:45:17.970" Score="10" Body="&lt;p&gt;You are missing the SQLServer module. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either run the &lt;code&gt;prerequisites.json&lt;/code&gt; file which will install that and any missing prerequisites or: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Install-Module -Name SQLServer&lt;/code&gt; if you are just missing the SQL server module. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastEditorUserId="172" LastEditDate="2019-02-06T04:58:35.353" LastActivityDate="2019-02-06T04:58:35.353" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15326" PostTypeId="2" ParentId="15315" CreationDate="2018-12-03T08:57:29.087" Score="2" Body="&lt;p&gt;The DNSName variable used by the &lt;code&gt;CreateRootCert&lt;/code&gt; task is taken from that &lt;code&gt;SIF&lt;/code&gt; variable. As it has a default, you don't need to supply anything. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error you got would have been from the &lt;code&gt;CreateSignedCert&lt;/code&gt; task, which in turn links back to the &quot;CertificateName&quot; parameter. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would need to run something like &lt;code&gt;Install-SitecoreConfiguration -Path .\createcert.json -CertificateName mysite.somedomain.com&lt;/code&gt; to have it create a self-signed cert.&lt;/p&gt;&#xA;" OwnerUserId="3270" LastEditorUserId="5096" LastEditDate="2019-05-22T07:15:53.293" LastActivityDate="2019-05-22T07:15:53.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15327" PostTypeId="2" ParentId="15324" CreationDate="2018-12-03T09:21:36.507" Score="5" Body="&lt;p&gt;I have fixed this by:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Rerunning &lt;code&gt;Install-SitecoreConfiguration -Path .\Prerequisites.json&lt;/code&gt; . Not sure why first run was not successful. Could be that I have forgotten to run it before installing first Sitecore 9.1 instance... Can't remember precisely as it was during release night :)&lt;/li&gt;&#xA;&lt;li&gt;Closing Powershell command prompt (to make changes / updates in step 1 take in account)&lt;/li&gt;&#xA;&lt;li&gt;Rerunning uninstall ps1 script as mentioned in answer&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-12-03T10:55:46.147" LastActivityDate="2018-12-03T10:55:46.147" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15328" PostTypeId="2" ParentId="15299" CreationDate="2018-12-03T09:54:45.463" Score="3" Body="&lt;p&gt;You can't do that in a single file. Once you exclude children of root item you cannot, later on, include it back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You separate files for this, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;            &amp;lt;configurations&amp;gt;&#xA;                &amp;lt;configuration name=&quot;Content.xxx.yyy&quot; description=&quot;Content.xxx.yyy&quot; dependencies=&quot;...&quot;&amp;gt;&#xA;                    &amp;lt;targetDataStore physicalRootPath=&quot;...&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; useDataCache=&quot;false&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;                    &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;                        &amp;lt;include name=&quot;YYY&quot; database=&quot;master&quot; path=&quot;/sitecore/content/xxx/yyy&quot; /&amp;gt;&#xA;                    &amp;lt;/predicate&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;/configurations&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the second one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;            &amp;lt;configurations&amp;gt;&#xA;                &amp;lt;configuration name=&quot;Content.xxx.Corporate&quot; description=&quot;Content.xxx.Corporate&quot; dependencies=&quot;...&quot;&amp;gt;&#xA;                    &amp;lt;targetDataStore physicalRootPath=&quot;...&quot; type=&quot;Rainbow.Storage.SerializationFileSystemDataStore, Rainbow&quot; useDataCache=&quot;false&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;                    &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;                        &amp;lt;include name=&quot;Corporate&quot; database=&quot;master&quot; path=&quot;/sitecore/content/xxx/yyy/Corporate&quot; /&amp;gt;&#xA;                    &amp;lt;/predicate&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;/configurations&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Remember about setting up proper dependencies, so that you won't end up de-serializing child items when root item isn't there.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-12-03T09:54:45.463" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15329" PostTypeId="2" ParentId="15318" CreationDate="2018-12-03T09:55:26.633" Score="3" Body="&lt;p&gt;In my opinion, you are looking at this incorrectly.&#xA;Have you got a release pipeline to tie into your build as well ? This is crucial to ensure that you Git Delta Deploy is integrated correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the Powershell script required to work out the last successful Git Commit ID for the Delta build to work, and it must be setup as a build step&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;param(&#xA;    [string] $LastGitCommitId,&#xA;    [string] $AccessToken,&#xA;    [string] $AzureDevOpsAccountName,&#xA;    [string] $TeamProjectId,&#xA;    [string] $ReleaseDefinitionId&#xA;)&#xA;if ([string]::IsNullOrEmpty($LastGitCommitId))&#xA;{&#xA;    $hdrs = @{}&#xA;    $hdrs.Add(&quot;Authorization&quot;,&quot;Bearer $AccessToken&quot;)&#xA;&#xA;    try&#xA;    {&#xA;        $LatestSuccessfulRelease = Invoke-RestMethod -Method Get -Uri &quot;https://$AzureDevOpsAccountName.vsrm.visualstudio.com/$TeamProjectId/_apis/release/releases?definitionId=$ReleaseDefinitionId&amp;amp;resultFilter=succeeded&amp;amp;`$top=1&quot; -ContentType 'application/json' -Headers $hdrs&#xA;&#xA;        if ($LatestSuccessfulRelease.count -eq 1)&#xA;        {&#xA;            $ReleaseDetailUrl = $LatestSuccessfulRelease.value[0].url&#xA;            try&#xA;            {&#xA;                $ReleaseArtifactDetail = Invoke-RestMethod -Method Get -Uri &quot;$ReleaseDetailUrl&quot; -ContentType 'application/json' -Headers $hdrs&#xA;&#xA;                if ($ReleaseArtifactDetail.PSobject.Properties.name -notcontains &quot;innerException&quot;)&#xA;                {&#xA;                    $artifacts = $ReleaseArtifactDetail.artifacts | where {$_.definitionReference.project.id -eq $TeamProjectId}&#xA;                    if ($artifacts -ne $null)&#xA;                    {&#xA;                        $GitCommitId = $artifacts[0].definitionReference.pullRequestMergeCommitId.id&#xA;                        Write-Host &quot;##vso[task.setvariable variable=LastGitCommitId;]$GitCommitId&quot;                &#xA;                    }&#xA;                }&#xA;                else&#xA;                {&#xA;                    Write-Host &quot;##vso[task.complete result=Failed;]Error in getting Release Details&quot;&#xA;                }&#xA;            }&#xA;            catch&#xA;            {&#xA;                Write-Host &quot;##vso[task.complete result=Failed;]Error in getting Release Details&quot;&#xA;            }&#xA;        }&#xA;        else&#xA;        {&#xA;            Write-Host &quot;##vso[task.complete result=Failed;]Error in getting the latest successful release.&quot;&#xA;        }&#xA;    }&#xA;    catch&#xA;    {&#xA;        Write-Host &quot;##vso[task.complete result=Failed;]Error in getting the latest successful release.&quot;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The MSBuild properties that needs to be overridden during builds will need to look like this:&#xA;/property:LastDeploymentGitCommitID=%env.LastSuccessfulRunGitCommitId% /property:LastDeploymentGitTagName=&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My blog post has a lot more details on how to get this all working.&#xA;&lt;a href=&quot;https://medium.com/@Vincent_Lui/yet-another-hedgehog-team-development-for-sitecore-setup-from-developer-workstation-to-ci-cd-98ec4fc1161b&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/@Vincent_Lui/yet-another-hedgehog-team-development-for-sitecore-setup-from-developer-workstation-to-ci-cd-98ec4fc1161b&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2716" LastEditorUserId="2716" LastEditDate="2018-12-05T02:19:38.087" LastActivityDate="2018-12-05T02:19:38.087" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15331" PostTypeId="2" ParentId="15170" CreationDate="2018-12-03T10:43:34.840" Score="15" Body="&lt;p&gt;Turns out this had a really easy answer (after conferring with Sitecore Support).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;XML-files for Automation Engine &lt;em&gt;must&lt;/em&gt; have the prefix &lt;code&gt;sc.&lt;/code&gt;, so I renamed &lt;code&gt;MyPredicates.xml&lt;/code&gt; to &lt;code&gt;sc.MyPredicates.xml&lt;/code&gt;, and lo and behold the exception disappeared and my rules were executed without any problems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seeing as the documentation never mentions this, it is a very easy thing to overlook. The XConnect model, for instance, can have any name you desire (as long as it ends in &lt;code&gt;.json&lt;/code&gt;), so it was definitely natural to expect this XML file to follow the same rules. The support technician agreed that this should be a part of the documentation and has sent a note to them, so hopefully they will add this.&lt;/p&gt;&#xA;" OwnerUserId="3587" LastEditorUserId="3587" LastEditDate="2018-12-03T10:57:34.230" LastActivityDate="2018-12-03T10:57:34.230" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15332" PostTypeId="2" ParentId="15292" CreationDate="2018-12-03T11:28:41.303" Score="3" Body="&lt;p&gt;I have seen this on machines that need a reboot following the running of the prerequisites.json. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last task of prerequites.json should tell you if a reboot is required. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;They are usually needed if any of the .net frameworks are installed, as they are only finalised when you reboot. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2018-12-03T11:28:41.303" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15334" PostTypeId="1" AcceptedAnswerId="15335" CreationDate="2018-12-03T14:36:09.690" Score="11" ViewCount="3738" Body="&lt;p&gt;After the release of SIF 2.0.0, an automated SC 9.0.x script began failing with the error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The operation is on user root store and UI is not allowed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This error occurs during the execution of &lt;code&gt;xconnect-createcert.json&lt;/code&gt;, which is included in the SC On-Prem WDP package &gt; Configuration Files zip.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After inspecting &lt;code&gt;xconnect-createcert.json&lt;/code&gt;, I noticed that it specifies &lt;code&gt;CurrentUser&lt;/code&gt; as the Store Location for the cert. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My script runs as the &lt;code&gt;System&lt;/code&gt; user account as part of the DSC (Desired State Configuration) execution on a VM created via an Azure ARM template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I explicitly request SIF 1.2.1, the certificate is installed properly. Strangely, with 1.2.1, the cert is installed in the &lt;code&gt;LocalMachine&lt;/code&gt; store. I suspect SIF 1.2.1 has some additional code to ensure this Store Location is used.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2018-12-03T14:42:56.960" Title="SIF 2.0.0 on SC 9.0.2 - &quot;The operation is on user root store and UI is not allowed&quot;" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15335" PostTypeId="2" ParentId="15334" CreationDate="2018-12-03T14:36:09.690" Score="24" Body="&lt;p&gt;As discussed on the #sif Sitecore Slack channel, when using vanilla SC WDP configs the SIF version &lt;em&gt;does&lt;/em&gt; have a dependency on the installed SC version.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SIF 2.0.0 = SC 9.1&lt;/li&gt;&#xA;&lt;li&gt;SIF 1.2.1 = SC 9.0.x&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There are two ways to solve the problem outlined above.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1) Define SIF Version Explicitly&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If installing SIF for the first time via PowershellGallery:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module -Name SitecoreInstallFramework -Repository SitecoreGallery -RequiredVersion 1.2.1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If SIF 2.0.0 was previously installed, you will need to first uninstall then reinstall with the proper version:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Uninstall-Module -Name SitecoreInstallFramework&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;2) Modify Config Files Prior to Installation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To use SIF 2.0.0 to install SC 9.0.x...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Modify &lt;code&gt;xconnect-createcert.json&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find the &lt;code&gt;CreateRootCert&lt;/code&gt; task&lt;/li&gt;&#xA;&lt;li&gt;Change the &lt;code&gt;StoreLocation&lt;/code&gt; from &lt;code&gt;CurrentUser&lt;/code&gt; to &lt;code&gt;LocalMachine&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Modify &lt;code&gt;xconnect-solr.json&lt;/code&gt; and &lt;code&gt;sitecore-solr.json&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find the &lt;code&gt;CreateCores&lt;/code&gt; task in each file&lt;/li&gt;&#xA;&lt;li&gt;Change the &lt;code&gt;&quot;Name&quot;&lt;/code&gt; attribute in Params &gt; Action to lowercase &lt;code&gt;&quot;name&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Original Example&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;{ &quot;Action&quot;: &quot;Create&quot;, &quot;Address&quot;: &quot;[parameter('SolrUrl')]&quot;, &quot;Arguments&quot;: { &quot;Name&quot;: &quot;[variable('Core.Name')]&quot; } },&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Updated&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;{ &quot;Action&quot;: &quot;Create&quot;, &quot;Address&quot;: &quot;[parameter('SolrUrl')]&quot;, &quot;Arguments&quot;: { &quot;name&quot;: &quot;[variable('Core.Name')]&quot; } },&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2018-12-03T14:42:56.960" LastActivityDate="2018-12-03T14:42:56.960" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15337" PostTypeId="2" ParentId="15292" CreationDate="2018-12-03T15:22:41.287" Score="1" Body="&lt;p&gt;Don’t be mistaken for the &quot;localhost&quot; to automatically get the SQL instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8sMq7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8sMq7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure you have &lt;a href=&quot;https://dotnet.microsoft.com/download/thank-you/dotnet-sdk-2.1.500-windows-x64-installer&quot; rel=&quot;nofollow noreferrer&quot;&gt;.Net Core SKD&lt;/a&gt; installed. (not sure, but it was supposed to done by the prerequisites)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This may also occur when you are running another Server on your&#xA;  machine like XAMPP server.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2018-12-03T15:30:56.523" LastActivityDate="2018-12-03T15:30:56.523" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15338" PostTypeId="1" CreationDate="2018-12-03T15:50:15.013" Score="2" ViewCount="962" Body="&lt;p&gt;Is it possible to set the source of an image field so it filters on a specified template name. so only showing these images to be associated with the item &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tried various ways from the following link&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2014/june/26/constraining-the-sitecore-7-multilist-and-treelist-fields-with-and-without-search&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://zacharykniebel.com/blog/sitecore/2014/june/26/constraining-the-sitecore-7-multilist-and-treelist-fields-with-and-without-search&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4641" LastActivityDate="2019-11-25T21:18:43.007" Title="Sitecore Image Field Source to filter on template type" Tags="|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15339" PostTypeId="1" AcceptedAnswerId="15341" CreationDate="2018-12-03T15:52:27.020" Score="1" ViewCount="716" Body="&lt;p&gt;We already have a theme per site. We would like to create a common/shared theme and configure for few SXA sites. &lt;/p&gt;&#xA;" OwnerUserId="4717" LastActivityDate="2018-12-03T16:30:53.367" Title="How to use multiple themes in Sitecore SXA?" Tags="|sxa|multisite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15341" PostTypeId="2" ParentId="15339" CreationDate="2018-12-03T16:30:53.367" Score="4" Body="&lt;p&gt;Just create it like you normally do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then if you want to have it available on other sites add it to &lt;code&gt;Compatilbe themes&lt;/code&gt; field (notice that I added &lt;strong&gt;Wireframe&lt;/strong&gt; which is default theme)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pKPtg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pKPtg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Optional&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If this will be common theme it would be good to store theme classes in a single place (if there will be any, I assume there will be some).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you might want to create base site for that, here are details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/share-data-sources-and-presentation-using-the-multisite-feature.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/share-data-sources-and-presentation-using-the-multisite-feature.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-12-03T16:30:53.367" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15342" PostTypeId="1" CreationDate="2018-12-03T16:53:06.537" Score="0" ViewCount="297" Body="&lt;p&gt;I want to have a single cm server with 2 cd servers. I installed the cm server using the normal install (xp0) and on the other servers I used xp1 cd. The servers seems to be coordinating with each other fine. I set the role of the cm server to be the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add key=&quot;role:define&quot; value=&quot;ContentManagement,Processing,Reporting&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately while doing this, I get the following error while trying to browse to a custom item:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TOaNz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TOaNz.png&quot; alt=&quot;Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried switching the server role to &lt;code&gt;Standalone&lt;/code&gt; and that seems to work however that doesn't seem like the right role to be using. Just using the &lt;code&gt;ContentManagement&lt;/code&gt; role alone also seems to have fixed this issue but doesn't seem right either since I do want analytic data to be processed. Is there a way to get around needing 2 additional servers for the &lt;code&gt;Processing&lt;/code&gt; and &lt;code&gt;Reporting&lt;/code&gt; roles?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-12-03T17:02:21.063" Title="Using Server Roles for Sitecore 9 CM Server" Tags="|deployment|server-role|" AnswerCount="1" CommentCount="0" ClosedDate="2018-12-03T17:34:04.443" ContentLicense="CC BY-SA 4.0" />
  <row Id="15343" PostTypeId="2" ParentId="15342" CreationDate="2018-12-03T17:02:21.063" Score="1" Body="&lt;p&gt;If you are NOT separating the Processing and Reporting roles from the Content Management Server, set the CM Server to &lt;strong&gt;Standalone&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a known configuration issue with using the Processing and Reporting roles together.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the &quot;Standalone&quot; role on the CM will still allow you to use the CD roles appropriately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is also listed as a question already &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9961/server-role-config-with-contentmanagement-processing-reporting-not-working&quot;&gt;Server role config with ContentManagement,Processing,Reporting not working&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-12-03T17:02:21.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15344" PostTypeId="2" ParentId="11549" CreationDate="2018-12-03T18:53:42.817" Score="1" Body="&lt;p&gt;In my case, the reason for this error was the presence of some incompatible DLLs at my /bin folder. Due to the framework upgrade to 4.6.2, some of your libraries can break Sitecore. They must, during the upgrade process, be removed from the /bin folder (preferably moved to a backup folder Eg: /bin_Disabled).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To find these DLLs, use a file comparison tool such as Winmerge to compare you /bin folder (LEFT) against a fresh /bin folder from 9.0.1 (RIGHT). All LEFT ONLY Dlls are suspect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After your upgrade is done, you must verify those DLLs see what you can stop using (if unused) and what needs to be upgraded to .NET 4.6.2.&lt;/p&gt;&#xA;" OwnerUserId="471" LastActivityDate="2018-12-03T18:53:42.817" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15345" PostTypeId="1" CreationDate="2018-12-03T22:06:48.393" Score="1" ViewCount="450" Body="&lt;p&gt;We are using a custom patch into Sitecore.config to define our own site node. It has pretty much the exact same settings as the default &quot;website&quot; site node except for the &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;hostname&lt;/code&gt; and &lt;code&gt;rootpath&lt;/code&gt;. It even has &lt;code&gt;enableWebEdit&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt;. When we remove the default website node, Experience Editor (specifically edit mode) no longer works. By that I mean, there are no editable regions for each field, and clicking on text does not give the user the feel they can change the text. It acts pretty much like preview mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are just really curious why Sitecore needs the default website node for the XP editor to work? We are using &lt;code&gt;Glass().Editable()&lt;/code&gt; in our views, in case it matters.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2018-12-04T01:25:17.837" Title="Experience Editor edit mode doesn't work if &quot;website&quot; site node is not present" Tags="|experience-editor|glass-mapper|" AnswerCount="1" CommentCount="4" ClosedDate="2018-12-04T16:54:08.417" ContentLicense="CC BY-SA 4.0" />
  <row Id="15346" PostTypeId="2" ParentId="15338" CreationDate="2018-12-03T22:08:58.760" Score="2" Body="&lt;p&gt;Image fields does not support data source query, and it is not possible to extend this filed type to support the functionality that you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Associating images to items based on the image template is maybe not a good idea. In Sitecore all images (of same file type) will get the same template when you upload an image. I think it would be better to associate images to content items based on their location in the media library.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is possible to &lt;a href=&quot;https://acetechpro.wordpress.com/2015/11/01/using-sitecore-image-field-treelist-with-images-in-a-multisite-instance/&quot; rel=&quot;nofollow noreferrer&quot;&gt;extend the image field type to support a query that dynamically set the root folder as described in this blog post&lt;/a&gt;. Maybe that can be helpful in your situation.&lt;/p&gt;&#xA;" OwnerUserId="1915" LastEditorUserId="6127" LastEditDate="2019-11-25T21:18:43.007" LastActivityDate="2019-11-25T21:18:43.007" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15347" PostTypeId="2" ParentId="15345" CreationDate="2018-12-04T00:01:17.430" Score="2" Body="&lt;p&gt;In versions of Sitecore 8.1 and above, the proper way to set the preview site DefaultSite is to set the configuration setting &lt;code&gt;Preview.DefaultSite&lt;/code&gt; to something other than &lt;strong&gt;website&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Preview.DefaultSite&quot; value=&quot;mysite1&quot;&amp;gt;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This might be a duplicate of question:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/477/246&quot;&gt;https://sitecore.stackexchange.com/a/477/246&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-12-04T01:25:17.837" LastActivityDate="2018-12-04T01:25:17.837" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15348" PostTypeId="1" CreationDate="2018-12-04T02:23:32.853" Score="1" ViewCount="3337" Body="&lt;p&gt;We are having high CPU issues on our CD servers while running Sitecore 9. The CPU on each server (Quad core 2.6GHz Intel Xeon) are nearly maxed out while the memory usage remains fine. We have load balancing and our traffic isn't exceptionally high. Over the course of several hours the CPU usage will gradually increase until it maxes out at 100%. We have the servers to cycle the w3wp.exe process when this happens, but obviously this is not ideal. Any known issues or tips on troubleshooting this? Common issues to look for? We are caching our renderings. I am not highly experienced with Sitecore, but have a technical background and can figure things out. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2018-12-04T08:36:24.367" Title="What could cause Sitecore to use high CPU?" Tags="|performance-optimization|" AnswerCount="1" CommentCount="5" ClosedDate="2018-12-04T12:26:10.353" ContentLicense="CC BY-SA 4.0" />
  <row Id="15349" PostTypeId="1" CreationDate="2018-12-04T02:31:14.990" Score="0" ViewCount="87" Body="&lt;p&gt;I am using Sitecore 8.1 Update 3. According to Sitecore installation manual, with mongoDB version 3.0.12.&#xA;The other day, when the connection of mongoDB out of order, the using connection pool exceeded 100 and a connection timeout error occurred.&#xA;Looking at the site of Mongo.driver.DLL, I found that version 1.X.X has the above problem and it is solved with version 2.X.X.&#xA;And I Know that Sitecore also changed Mongo.driver.DLL to version 2.4.4 for 8.2 Update 5 for the same reason.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A question&#xA;(1) Can I use Mongo.driver.DLL 2.4.4 with Sitecore 8.1 Update 3?&#xA;(2) If so, how do I change the setting in web.config?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am pleased that you can borrow the knowledge of everyone.&lt;/p&gt;&#xA;" OwnerUserId="3870" LastEditorUserId="95" LastEditDate="2018-12-04T03:23:45.487" LastActivityDate="2018-12-04T03:58:13.473" Title="Using Mongo.Driver.dll 2.4.4 with Sitecore 8.1 Update 3" Tags="|mongodb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15350" PostTypeId="2" ParentId="15349" CreationDate="2018-12-04T03:58:13.473" Score="2" Body="&lt;p&gt;In a nutshell:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) No.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.1 does not support the version of the driver that you are seeking to use.  It is not possible to upgrade the driver in Sitecore 8.1 either because of the amount of API code that Sitecore uses in the older version of the driver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To take advantage of Mongo.Driver.DLL 2.4.4, you must upgrade to Sitecore 8.2 Update 5 as Sitecore released support of the Mongo 2.4.4 driver in this update.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is included in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update5/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release Notes for Sitcore 8.2 Update 5&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Mongo driver has been upgraded to version 2.4.4, it is possible to&#xA;  reduce connection open timeout now. TFS No. 151475&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastActivityDate="2018-12-04T03:58:13.473" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15351" PostTypeId="1" CreationDate="2018-12-04T06:50:34.117" Score="1" ViewCount="1066" Body="&lt;p&gt;How can I add a CSS class for&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SpxD6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SpxD6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;page-level using &lt;code&gt;Sitecore SXA&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="5387" LastEditDate="2019-12-23T16:03:12.693" LastActivityDate="2019-12-23T16:03:12.693" Title="Add a CSS class for page level using Sitecore SXA" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15352" PostTypeId="2" ParentId="15351" CreationDate="2018-12-04T07:20:21.863" Score="2" Body="&lt;p&gt;You cannot add classes where you want to via &lt;strong&gt;Creative Exchange&lt;/strong&gt;, because the positions you marked are grid specific.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add classes via &lt;strong&gt;Creative Exchange&lt;/strong&gt; only where you see &lt;code&gt;class&lt;/code&gt; tag with &lt;code&gt;add-your-css-classes-here&lt;/code&gt; token inside&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find more about it here: &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/change-a-site-design-using-creative-exchange.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Change a site design using Creative Exchange&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those that you highlighted are defined here: &lt;code&gt;/sitecore/system/Settings/Feature/Experience Accelerator/Bootstrap/Grid Definition&lt;/code&gt; in &lt;code&gt;Placeholders Styles&lt;/code&gt; section. Technically you can change them, but it is not recommended &#xA;(SXA installation will overwrite it anyway during upgrade). They are applied to every site using this grid.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;&lt;em&gt;&quot;How can I add a css class for page level using sitecore sxa&quot;&lt;/em&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;How about adding them into &lt;code&gt;body&lt;/code&gt; section if you want it to be page specific?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MQoIy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MQoIy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They will be stored in &lt;code&gt;Body Css Class&lt;/code&gt; field for every page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0FO72.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0FO72.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That should let you achieve your goal.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2018-12-04T10:01:35.903" LastActivityDate="2018-12-04T10:01:35.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15353" PostTypeId="2" ParentId="15348" CreationDate="2018-12-04T08:36:24.367" Score="5" Body="&lt;p&gt;You can try the following to identify your issues:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable Sitecore Pipeline Profiling by setting &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Pipelines.Profiling.Enabled&quot; set:value=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;setting name=&quot;Pipelines.Profiling.MeasureCpuTime&quot; set:value=&quot;false&quot; /&amp;gt;  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and browsing to /sitecore/admin/pipelines.aspx&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Profile a Sitecore Page by going into debug mode &#xA;(add these parameters to your url ?sc_debug=1&amp;amp;sc_prof=1&amp;amp;sc_trace=1)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use Visual Studio Profiler to identify your cpu issues. (Debug&gt;Profiler&gt;Performance Profiler)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There is also a very good blog post by Jeremy Davis to learn more on profiling. &lt;a href=&quot;https://jermdavis.wordpress.com/2017/10/02/measure-if-you-want-to-go-faster/&quot; rel=&quot;noreferrer&quot;&gt;https://jermdavis.wordpress.com/2017/10/02/measure-if-you-want-to-go-faster/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-12-04T08:36:24.367" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15354" PostTypeId="1" CreationDate="2018-12-04T09:10:34.190" Score="0" ViewCount="414" Body="&lt;p&gt;I'm using Sitecore 9 update 1 with SXA 1.7, I configured the search box suggestion mode to be &quot;ShowsPredictions&quot;, I know that the implementation is in &lt;code&gt;Sitecore.XA.Foundation.VersionSpecific.Services.SolrSuggester&lt;/code&gt;, I override it and changed a little bit and it worked, but when I changed the suggestion mode to be &quot;ShowSearchResultsAsPredictions&quot; it didn't work well, it seems that the implementation is at different location.&lt;/p&gt;&#xA;" OwnerUserId="4229" LastActivityDate="2018-12-05T08:40:45.517" Title="Where the auto suggest results implemented in SXA?" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15355" PostTypeId="1" AcceptedAnswerId="15356" CreationDate="2018-12-04T09:29:50.140" Score="1" ViewCount="1214" Body="&lt;p&gt;Please let me know if any tools exist in market place to migrate the content from Sitecore 8.2 to Sitecore 9 Update 1.&#xA;Need to automate this job for 40 site nodes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Existing 8.2 solution is legacy one. &#xA;Redesigned the solution using Helix principles and Sitecore9&#xA;All templates and Items restructured.&lt;/p&gt;&#xA;" OwnerUserId="4719" LastEditorUserId="4719" LastEditDate="2018-12-04T10:46:15.940" LastActivityDate="2018-12-04T15:00:36.843" Title="Best migration tools to migrate the content from Sitecore 8.2 to Sitecore9 Update 1" Tags="|content-migration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15356" PostTypeId="2" ParentId="15355" CreationDate="2018-12-04T09:43:15.910" Score="0" Body="&lt;p&gt;The Sitecore Express Migration Tool 3.1 makes it easy for customers to help migrate Sitecore 6.6,7.2, 7.5 or 8.0 to the latest version of Sitecore Experience Platform 9.0 without the need to gradually upgrade from version to version. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Express Migration Tool Migrates: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content items and media&lt;/li&gt;&#xA;&lt;li&gt;All users, roles and security permissions &lt;/li&gt;&#xA;&lt;li&gt;Assists with configuration migrations&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To update you solution to 9.0.1 you need to update manually from 9.0 initial release.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information you can find at: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/31/Express_Migration_Tool_31.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Express_Migration_Tool/31/Express_Migration_Tool_31.aspx&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like @Jay S said :  On the updating &lt;a href=&quot;https://dev.sitecore.net/~/media/EF33CB99BD4D4EBBA40B9E67AFDB5344.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;guide&lt;/a&gt; is described how you can update your solution using updating packages starting from version 8.1&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-12-04T15:00:36.843" LastActivityDate="2018-12-04T15:00:36.843" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15358" PostTypeId="1" CreationDate="2018-12-04T14:12:15.120" Score="0" ViewCount="1050" Body="&lt;p&gt;&lt;em&gt;&lt;a href=&quot;https://i.stack.imgur.com/H8z7g.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H8z7g.png&quot; alt=&quot;emphasized text&quot;&gt;&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right side part, i.e. &lt;em&gt;partial page4&lt;/em&gt; -  its a reusable for many pages.&#xA;In left side part -- we can add no of partial page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we achieve this structure using Sitecore SXA?&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="35" LastEditDate="2018-12-04T15:15:54.987" LastActivityDate="2018-12-04T15:15:54.987" Title="How we can create two column layout and assign partial page using sitecore sxa?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15359" PostTypeId="2" ParentId="15358" CreationDate="2018-12-04T14:39:37.440" Score="1" Body="&lt;p&gt;If I understand you correctly here is how I would do it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a partial design&lt;/li&gt;&#xA;&lt;li&gt;Put &lt;strong&gt;Column Splitter&lt;/strong&gt; rendering into &lt;code&gt;main&lt;/code&gt; placehodler&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g8DM6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g8DM6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Then put &lt;strong&gt;Row Spltter&lt;/strong&gt; rendering into left column (in my case &lt;code&gt;column-1-1&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8L6Hu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8L6Hu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Then you can assign your partial design to a page design and use it, here is how it will look like when you open a page. Nobody is allowed to move those placeholders on pages. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HUurM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HUurM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your common layout can be shared across multiple pages = profit ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added colors to visually show how the page layout will be divided thanks to column and row splitters.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Docs&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/page-designs.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Page designs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-and-change-a-partial-design.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Create and change a partial design&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-and-assign-a-page-design-in-the-content-editor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Create and assign a page design in the Content Editor&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-12-04T14:39:37.440" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15361" PostTypeId="1" CreationDate="2018-12-04T16:27:30.293" Score="1" ViewCount="1182" Body="&lt;p&gt;Reference link for additional context: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10682/sitecore-upgrade-from-8-1-update-3-to-9-update-1/15360?noredirect=1#comment23398_15360&quot;&gt;Sitecore upgrade from 8.1 Update-3 to 9 Update-1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@JayS: Regarding Sitecore Upgrade from Sitecore 8.1 to Sitecore 9.1, as suggested by you I am setting up a new instance of Sitecore 9.1 and upgrading the database of the existing website and after than I will point the new application to upgraded DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have one question regarding upgrade of database: First we have to Execute scripts for the Core, Master, and Web databases (execute the &lt;code&gt;CMS_core.sql&lt;/code&gt; script for the Core database only) and after this I have to install the upgrade package using the Sitecore Update Installation Wizard. In the wizard, on the Analyse package page do we have to select only 'Install Items' and unchecked 'Install Files' as we are using fresh installation?&lt;/p&gt;&#xA;" OwnerUserId="4459" LastEditorUserId="342" LastEditDate="2018-12-04T16:51:33.970" LastActivityDate="2019-08-31T18:02:40.373" Title="Sitecore Upgrade from 8.1 update-3 to 9.1" Tags="|upgrade|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15362" PostTypeId="2" ParentId="15361" CreationDate="2018-12-04T16:47:38.477" Score="1" Body="&lt;p&gt;Honestly, it doesn't matter. If you are performing the database upgrade using an instance of Sitecore that is already on the upgraded version, updating the files will have no effect because they will simply be replaced by the same files.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-04T16:47:38.477" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15363" PostTypeId="1" AcceptedAnswerId="15369" CreationDate="2018-12-04T19:41:13.153" Score="1" ViewCount="302" Body="&lt;p&gt;I'm trying to get children of a specific template under an item using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [SitecoreQuery(&quot;./*[@@templateid='{051E9E07-F488-41EA-A87E-0A92EA32B86B}']&quot;, IsRelative = true)]&#xA;    public virtual IEnumerable&amp;lt;TopMenuCategory&amp;gt; TopMenuCategories { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However this seems to be returning an error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The type BrightHorizonsCorp.Models.Navigation.ItemClasses.TopMenuCategory on BrightHorizonsCorp.Models.Navigation.ItemClasses.TopMenuCategory.ID is not supported by SitecoreIdMapper&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My &lt;code&gt;TopMenuCategory&lt;/code&gt; class looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TopMenuCategory&#xA;{&#xA;    [SitecoreId]&#xA;    public virtual Guid Id { get; set; }&#xA;    [SitecoreItem]&#xA;    public virtual Item SitecoreItem { get; set; }&#xA;&#xA;    public virtual string Title { get; set; }&#xA;    public virtual string Drawer_Title { get; set; }&#xA;    public virtual bool Hide_on_Mobile { get; set; }&#xA;&#xA;    [SitecoreQuery(&quot;./*[@@templateid='{606CB1C6-35FB-4FFE-8EA6-08EE7D5D46D1}']&quot;, IsRelative = true)]&#xA;    public virtual IEnumerable&amp;lt;MenuCategory&amp;gt; Categories { get; set; }&#xA;    [SitecoreQuery(&quot;./*[@@templateid='{57FDD488-21C1-4974-80B3-E507EBB7B27A}']&quot;, IsRelative = true)]&#xA;    public virtual IEnumerable&amp;lt;MenuLink&amp;gt; Links { get; set; }&#xA;    [SitecoreQuery(&quot;./*[@@templateid='{39C5DEE0-4CBE-4D7E-B87A-8F8115B60311}']&quot;, IsRelative = true)]&#xA;    public virtual IEnumerable&amp;lt;MenuLinkWithImage&amp;gt; ImageLinks { get; set; }&#xA;&#xA;    public ShortID ShortId&#xA;    {&#xA;        get { return SitecoreItem.ID.ToShortID(); }&#xA;    }&#xA;&#xA;    public string ID&#xA;    {&#xA;        get { return Id.ToString().Replace(&quot;{&quot;, &quot;&quot;).Replace(&quot;}&quot;, &quot;&quot;); }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have two questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What is the cause of this error? How does one resolve it?&lt;/li&gt;&#xA;&lt;li&gt;Is there any alternative to this, where I don't have to hardcode the item ID in the data attribute?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2018-12-04T20:59:04.380" Title="The type is not supported by SitecoreIdMapper" Tags="|glass-mapper|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15364" PostTypeId="1" AcceptedAnswerId="15365" CreationDate="2018-12-04T19:54:06.380" Score="9" ViewCount="4376" Body="&lt;p&gt;How can I run XPathBuilder in Sitecore 9? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already tried this URL from earlier versions of Sitecore, but it is not working in Sitecore 9: &lt;code&gt;http://&amp;lt;website&amp;gt;/sitecore/shell/default.aspx?xmlcontrol=IDE.XPath.Builder&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me here?&lt;/p&gt;&#xA;" OwnerUserId="4722" LastEditorUserId="342" LastEditDate="2018-12-04T20:06:04.163" LastActivityDate="2018-12-04T20:06:04.163" Title="How can i run XPathBuilder in Sitecore 9" Tags="|sitecore-client|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15365" PostTypeId="2" ParentId="15364" CreationDate="2018-12-04T20:00:08.903" Score="6" Body="&lt;p&gt;You can not. XPath Builder has been removed in Sitecore 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could try &lt;strong&gt;Sitecore Powershell Extensions&lt;/strong&gt; (SPE). It can help you with the queries and do a whole lot more...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of the query functionality in Sitecore 9 with PowerShell:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item -Path master:// -Query &quot;/sitecore/content//*[@@TemplateName = 'Sample Item']&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info: &#xA;&lt;a href=&quot;https://www.sitecorespark.com/blog/2017/11/xpath-builder-sitecore-9-powershell-option&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecorespark.com/blog/2017/11/xpath-builder-sitecore-9-powershell-option&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-12-04T20:00:08.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15366" PostTypeId="2" ParentId="15364" CreationDate="2018-12-04T20:05:15.907" Score="4" Body="&lt;p&gt;XPath Builder has been removed in Sitecore 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One alternative is to use Query Analyzer from Sitecore Rocks. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To open Query analizer after you install Sitecore Rocks go to &lt;strong&gt;Tools-&gt; Query Analizer&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dcpuK.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dcpuK.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are described some of queries which can be run : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoreknowledgeshare.blogspot.com/2016/04/sitecore-rocks-query-analyzer.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoreknowledgeshare.blogspot.com/2016/04/sitecore-rocks-query-analyzer.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2018-12-04T20:05:15.907" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15367" PostTypeId="1" AcceptedAnswerId="15440" CreationDate="2018-12-04T20:18:42.490" Score="1" ViewCount="212" Body="&lt;p&gt;Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a &quot;Data&quot; folder under each page item in which components which are on the page are stored. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We currently have only 1 workflow which we use called &quot;Simple workflow&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a page is submitted via the Experience Editor, it automatically submits any/all descendants so that items in the Data folder will get moved in the workflow. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem comes when the Home page is edited and submitted in the workflow. Because the recursive nature of the submission, every single item in the whole tree gets submitted at the same time and I don't know how to prevent that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The workflow (and everything else) was initially setup by a 3rd party consulting company who helped us get everything going.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I allow a submission of the page and the page's related items from the Experience Editor? Currently it submits all child items 1 deep&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a screenshot of a portion of the content tree&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/r0NvI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/r0NvI.png&quot; alt=&quot;Screenshot of content tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&#xA;After further testing, I found additional information which only seems more confusing to me: the depth of the recursive submission seems to be only 1 with the exception of the Data folder, where it goes at least 2 deep. See images below. I can also find no custom code developed related to the auto submission action:&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EoOmn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EoOmn.png&quot; alt=&quot;Test Scenario&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/R801L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/R801L.png&quot; alt=&quot;Test Scenario submission results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3761" LastEditorUserId="3761" LastEditDate="2018-12-06T20:34:23.330" LastActivityDate="2019-05-22T16:21:21.037" Title="Workflow recursive submission from experience editor" Tags="|experience-editor|workflow|" AnswerCount="1" CommentCount="10" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15368" PostTypeId="2" ParentId="13452" CreationDate="2018-12-04T20:19:13.370" Score="4" Body="&lt;p&gt;Since a comment isn't always seen and not always read... Here's the answer to MY issue and it may help you figure out why you're seeing it as well. Thx!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update from today: Using WinMerge to compare our QA site versus my local site, I found that the file giving me fits was Mvp.Xml.dll. I had a file that was from 2012 and our implementation was using one from 2017. Not sure how that one got our of sync in my workspace, but every time I would Build locally it would get copied to my local/pc website. This is resolved for me. Hope it helps someone else. &lt;/p&gt;&#xA;" OwnerUserId="2190" LastActivityDate="2018-12-04T20:19:13.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15369" PostTypeId="2" ParentId="15363" CreationDate="2018-12-04T20:59:04.380" Score="0" Body="&lt;p&gt;After resolving other errors and trying trial and error, I found the problem was:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string ID&#xA;{&#xA;    get { return Id.ToString().Replace(&quot;{&quot;, &quot;&quot;).Replace(&quot;}&quot;, &quot;&quot;); }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I rename this property to something other than &quot;ID&quot;, the error does not occur, however it does if I leave it like this. Glass must have been confused or something. &lt;strong&gt;I'm still interested in an alternative&lt;/strong&gt; that doesn't require hardcoding the item ID, if anyone has any ideas.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2018-12-04T20:59:04.380" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15370" PostTypeId="1" AcceptedAnswerId="15391" CreationDate="2018-12-04T23:06:06.650" Score="4" ViewCount="592" Body="&lt;p&gt;In my SOLR index, all my datetime fields have encoding in them and not date data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have compared my configs with a vanilla Sitecore 9.0.1 and find no differences. So it seems like it must be a schema issue in SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the right dynamic field in my schema&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;dynamicField name=&quot;*_tdt&quot; type=&quot;tdate&quot; indexed=&quot;true&quot; stored=&quot;true&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hJPDt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hJPDt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="73" LastEditDate="2018-12-06T00:04:33.843" LastActivityDate="2018-12-06T00:04:33.843" Title="SOLR datetime fields not readable" Tags="|content-search|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15371" PostTypeId="1" AcceptedAnswerId="15378" CreationDate="2018-12-05T01:44:37.297" Score="3" ViewCount="765" Body="&lt;p&gt;I have a base template called &lt;code&gt;Base Page&lt;/code&gt; which has a few renderings on it in the standard values that all pages should have. I have a bunch of templates inheriting from &lt;code&gt;Base Page&lt;/code&gt; that also have a standard values item with renderings specifically for pages created from that template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I need to change the ordering of renderings on &lt;code&gt;Base Page&lt;/code&gt; standard values, or delete/add renderings, how can I make it so that all inheriting templates update? Right now they don't. It seems like going to each and clicking Reset isn't a solution since that will erase the custom rendering selections for that template type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any out of the box way to do this, or will I have to use a PS script to iterate through all the template standard values?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S.: Is this poor design/architecture? Let me know since I am looking to improve. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2019-01-04T15:16:20.663" Title="Changing renderings on a base template standard values and having all inheriting templates update" Tags="|presentation|inheritance|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15373" PostTypeId="1" AcceptedAnswerId="15394" CreationDate="2018-12-05T05:13:38.297" Score="4" ViewCount="1523" Body="&lt;p&gt;Im getting an error as my xConnect certificate appears to have expired today! Im a little suspicious by those dates as it would appear to be valid from Feb 2018 to today. Does this sound possible and would I use SIF to create a new one?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PQrRB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PQrRB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="1671" LastEditDate="2018-12-05T18:30:34.507" LastActivityDate="2023-08-25T12:54:01.303" Title="xConnect Certificate Expiration" Tags="|xconnect|certificate|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15376" PostTypeId="2" ParentId="15305" CreationDate="2018-12-05T07:20:13.537" Score="0" Body="&lt;p&gt;Solr 6.6.2 and Solr 7.2.1 schema definitions are not compatible. There were some breaking changes introduced in Solr 7 -&gt; &lt;a href=&quot;https://lucene.apache.org/solr/guide/7_0/major-changes-in-solr-7.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;more details here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second problem was that you were trying to run both Solr servers on same 8983 port. This is not supported. You need to have one on port 8983 (default) and the other on other port e.g. 8984. Or to distinguish them better you can use 8622 port for Solr 6.2.2 and 8721 port for Solr 7.2.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recommend to have both Solr versions installed on your machine and create for each separate Windows service also to run it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then for each Sitecore version you will configure different Solr server:&#xA;- For Sitecore 9 Update 2 instance you will use Solr 6.6.2&#xA;- For Sitecore 9.1 instance you will use Solr 7.2.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is perfectly fine setup and shouldn't be a problem to configure it with below scripts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Jeremy Davis created really nice low effort Powershell script to install, configure SSL and create also windows service for Solr. You can find it here -&gt; &lt;a href=&quot;https://jermdavis.wordpress.com/2017/10/30/low-effort-solr-installs/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jermdavis.wordpress.com/2017/10/30/low-effort-solr-installs/&lt;/a&gt; . By default it will install Solr 6.6.2 but you can easily modified that script to install also 7.2.1 version. I have already prepared that kind of script (for Solr 7.2.1 for Sitecore 9.1) here -&gt; &lt;a href=&quot;https://tothecore.sk/2018/11/28/sitecore-9-1-initial-release-installation-guide-for-development-machine&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/11/28/sitecore-9-1-initial-release-installation-guide-for-development-machine&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just make sure that you have specified correct path to JRE before running script:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6a671.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6a671.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also specify solrVersion, installFolder and solrPort parameters in that script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After all these changes, just rebuild indexes on both instances and you should be fine.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-12-05T07:20:13.537" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15378" PostTypeId="2" ParentId="15371" CreationDate="2018-12-05T07:52:05.497" Score="3" Body="&lt;h2&gt;Why does Standard Values inheritance break?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Inheritance of Standard Values works until the field does not change on the item itself. So if you have filled the Standard Values in Final Renderings field the inheriting stops when the created item Final Layout changes (adding/removing/changing renderings to the page).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What you could do better?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In short, fill the Shared Layout (&lt;code&gt;__Layout&lt;/code&gt;) field in Standard Values. This only works if you could use the same renderings for each language on the items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similar question where you could find the answer:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/3202/template-standard-values-final-layout&quot;&gt;Template standard values final layout&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a PS script which could help you: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/99/best-way-to-add-rendering-in-base-template-and-inherit?rq=1&quot;&gt;Best way to add rendering in base template and inherit&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="345" LastEditDate="2019-01-04T15:16:20.663" LastActivityDate="2019-01-04T15:16:20.663" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15379" PostTypeId="2" ParentId="15354" CreationDate="2018-12-05T07:53:57.123" Score="1" Body="&lt;p&gt;In the Search Box control properties you've three options for Suggestion Mode:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Show search results - those are standard search results displayed as suggestions if you will click on one of them you will be redirected to that item&lt;/li&gt;&#xA;&lt;li&gt;Show predictions - those are the real suggestions which come from Solr suggester component&lt;/li&gt;&#xA;&lt;li&gt;Show search results as predictions - those are standard search results but without links to those certain items, when you will click on one of those it will be put in the Search Box input&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I don't know what are you planning to modify and it might be harder for those two options besides &lt;em&gt;Show predictions&lt;/em&gt; but more details you will find in &lt;code&gt;SearchController&lt;/code&gt; and &lt;code&gt;GetSuggestions()&lt;/code&gt; method.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2018-12-05T08:40:45.517" LastActivityDate="2018-12-05T08:40:45.517" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15380" PostTypeId="1" AcceptedAnswerId="15381" CreationDate="2018-12-05T10:11:24.173" Score="5" ViewCount="1655" Body="&lt;p&gt;I have some scripts where I'd like to separate their log output from the standard Sitecore Powershell log (SPE.log).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a parameter which I can use on &lt;code&gt;Write-Log&lt;/code&gt; to output to a named log file?&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="2153" LastEditDate="2018-12-05T14:04:33.913" LastActivityDate="2019-03-21T20:02:14.797" Title="How can I specify a specific log file to write to from a Sitecore Powershell script?" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15381" PostTypeId="2" ParentId="15380" CreationDate="2018-12-05T10:24:12.197" Score="5" Body="&lt;p&gt;You cannot. It doesn't support anything like that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a documentation of &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/common/write-log&quot; rel=&quot;noreferrer&quot;&gt;Write-Log&lt;/a&gt; cmldet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are interested you can see how it is implemented:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/SitecorePowerShell/Console/blob/master/Cognifide.PowerShell/Commandlets/Diagnostics/WriteLogCommand.cs&quot; rel=&quot;noreferrer&quot;&gt;WriteLogCommand.cs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/SitecorePowerShell/Console/blob/master/Cognifide.PowerShell/Core/Diagnostics/PowerShellLog.cs&quot; rel=&quot;noreferrer&quot;&gt;PowerShellLog.cs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;SPE jsut defines it own log4net appender, see configuration here &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/blob/master/Cognifide.PowerShell/App_Config/Include/Cognifide.PowerShell.config&quot; rel=&quot;noreferrer&quot;&gt;Cognifide.PowerShell.config&lt;/a&gt; (serach for &lt;code&gt;PowerShellExtensionsFileAppender&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would have to implement your own solution with dynamic appenders. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This might give you an idea of where to start: &lt;a href=&quot;https://stackoverflow.com/questions/19833362/how-to-add-log4net-appender-in-runtime&quot;&gt;How to add log4net appender in runtime?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2018-12-05T10:24:12.197" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15382" PostTypeId="1" CreationDate="2018-12-05T11:19:16.280" Score="1" ViewCount="86" Body="&lt;p&gt;Does Sitecore Mobile SDK for Sitecore version 8.x support collecting analytics data to be saved into the xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From some article they mentioned it is difficult to achieve analytics from Sitecore Mobile SDK because of the limitations in the architecture of XDB, then what are the difficulties and what is the out of the box ideas which can be used to track users interactions?&lt;/p&gt;&#xA;" OwnerUserId="635" LastEditorUserId="73" LastEditDate="2018-12-06T00:04:16.283" LastActivityDate="2019-06-08T07:03:40.443" Title="How to track user interactions from Sitecore Mobile SDK" Tags="|xdb|experience-analytics|mobile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15383" PostTypeId="1" CreationDate="2018-12-05T11:37:50.830" Score="0" ViewCount="200" Body="&lt;p&gt;Sitecore 8.1, Lucene index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a (Glass) field marked with &lt;code&gt;[SitecoreIgnore]&lt;/code&gt; that I would like to be populated with values from the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More specifically, the index has a number of strings that represent GUIDs; I would like this field to be an IEnumerable of Sitecore Items, with their GUID coming from the index. Is this possible out of the box?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="237" LastEditDate="2019-02-20T15:49:21.247" LastActivityDate="2019-11-17T16:02:55.417" Title="Can I have a field that is populated with values from my Lucene index exclusively?" Tags="|glass-mapper|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15384" PostTypeId="2" ParentId="11748" CreationDate="2018-12-05T12:53:30.033" Score="2" Body="&lt;p&gt;i had this when i restored my PROD master DB to my local DEV environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ensure that your DB user &lt;strong&gt;masteruser&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;has both &lt;strong&gt;DataReader&lt;/strong&gt; and &lt;strong&gt;DataWriter&lt;/strong&gt; permissions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;once allocated you should be able to log into the experience platform&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;GRANT EXECUTE TO [masteruser];&#xA;&#xA;ALTER ROLE db_datareader ADD MEMBER [masteruser]&#xA;GO&#xA;ALTER ROLE db_datawriter ADD MEMBER [masteruser]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2993" LastEditorUserId="2993" LastEditDate="2018-12-05T13:21:30.803" LastActivityDate="2018-12-05T13:21:30.803" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15385" PostTypeId="2" ParentId="15310" CreationDate="2018-12-05T13:45:24.887" Score="1" Body="&lt;p&gt;I had the same issue. What happens is that during startup, the marketing service tries to connect to xConnect. But xConnect could not startup. Hence the marketing service failed, and thus the installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason xConnect could not startup was due to this error in the event logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Windows cannot find the local profile and is logging you on with a temporary profile.&#xA;Changes you make to this profile will be lost when you log off.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This has to do with the custom user that is created in the script and the identityType set to &quot;ApplicationPoolIdentity&quot; on the application pool of xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue can be resolved by setting &quot;Load User Profile&quot; to false in the advanced settings of the application pool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix the install script so that no manual interventions are required edit these files:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;xconnect-xp0.json&lt;/li&gt;&#xA;&lt;li&gt;sitecore-xp0.json&lt;/li&gt;&#xA;&lt;li&gt;identityserver.json&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In each file search for &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;identityType&quot;: &quot;ApplicationPoolIdentity&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and change this to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;identityType&quot;: &quot;ApplicationPoolIdentity&quot;,&#xA;&quot;loadUserProfile&quot;: &quot;False&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2018-12-05T13:45:24.887" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15386" PostTypeId="1" CreationDate="2018-12-05T14:35:41.233" Score="1" ViewCount="46" Body="&lt;p&gt;When I use Sitecore debug mode it shows &quot;Resolve variant of item&quot; with 392,830 physical reads and with NaN% value too. How I can resolve it, I think it slows the page load, I am using Sitecore 8.0(rev. 150427).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the screenshot below :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lGQUR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lGQUR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="844" LastEditorUserId="844" LastEditDate="2018-12-05T14:47:47.073" LastActivityDate="2019-09-03T14:01:30.187" Title="Resolve variant of item shows NaN in Sitecore Profiler, how I can resolve this?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ClosedDate="2019-09-04T07:58:22.030" ContentLicense="CC BY-SA 4.0" />
  <row Id="15387" PostTypeId="1" AcceptedAnswerId="15388" CreationDate="2018-12-05T14:51:30.883" Score="2" ViewCount="393" Body="&lt;p&gt;When upgrading to Sitecore 9.0.2, one of the prerequisites is to have  Microsoft SQL Server Data-Tier Application Framework (DacFx) version 2016 installed so to be able to deploy the .dacpac files. Is this needed on the CMS instance or on the SQL Server machine?&lt;/p&gt;&#xA;" OwnerUserId="4727" LastActivityDate="2018-12-05T15:33:52.077" Title="Where should I install the DacFx for Sitecore 9.0.2?" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15388" PostTypeId="2" ParentId="15387" CreationDate="2018-12-05T15:14:20.533" Score="3" Body="&lt;p&gt;I am verifying on  9.1 &lt;a href=&quot;https://dev.sitecore.net/~/media/9D9703E3C9AB4751B357CD9A762D97D9.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;installation guide&lt;/a&gt;, and it is explained where it should be installed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On 9.0.2 installation guide,  is not mention anything where it should be installed datafx. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case you need to install on CM,Processing,Collection and Reference Data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zHkUB.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zHkUB.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-12-05T15:33:52.077" LastActivityDate="2018-12-05T15:33:52.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15389" PostTypeId="1" CreationDate="2018-12-05T15:42:29.350" Score="3" ViewCount="2683" Body="&lt;p&gt;Have a question about Sitecore 9.1 installation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have to create the installation manually without an outgoing internet connection. This means that I have to install also all prerequisites for databases mssql msi etc. After installing all listed things in the installation the webdeploy throws errors below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is which dependencies I need to download and install (and from where) to run the script successfully: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;ERROR_SMO_NEEDED_FOR_SQL_PROVIDER&quot;&#xA;like '[WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe&#xA;Info: Adding sitemanifest (sitemanifest).&#xA;msdeploy.exe : Error Code: ERROR_SMO_NEEDED_FOR_SQL_PROVIDER&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Tasks\Invoke-CommandTask.ps1:31 char:13&#xA;+             &amp;amp; $Path $Arguments | Out-Default&#xA;+             ~~~~~~~~~~~~~~~~~~&#xA;   + CategoryInfo          : NotSpecified: (Error Code: ERR...OR_SQL_PROVIDER:String) [], RemoteException&#xA;   + FullyQualifiedErrorId : NativeCommandError&#xA;More Information: The SQL provider cannot run because of a missing dependency. Please make sure that Microsoft SQL Server Management Objects&#xA;(Version 10 or higher) is installed.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SMO_NEEDED&#xA;_FOR_SQL_PROVIDER.&#xA;Error count: 1.&#xA;Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At D:\script-packages\Install91\Installation\XM1-CM.ps1:90 char:2&#xA;+  Install-SitecoreConfiguration @cmParams *&amp;gt;&amp;amp;1 | Tee-Object XM1-CM.log&#xA;+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;   + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;[TIME] 00:01:00&#xA;Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Tasks\Invoke-WebDeployTask.ps1:36 char:2&#xA;+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;   + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4646" LastEditorUserId="1671" LastEditDate="2018-12-05T18:07:12.410" LastActivityDate="2023-03-07T06:46:41.390" Title="ERROR_SMO_NEEDED_FOR_SQL_PROVIDER while installing Sitecore 9.1 manually with no internet" Tags="|sitecore-install-framework|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15390" PostTypeId="2" ParentId="15389" CreationDate="2018-12-05T15:55:07.383" Score="1" Body="&lt;p&gt;It seems &lt;code&gt;SQL Shared Management Objects (SMO) was not found or the installed version is too old.&lt;/code&gt;. The suggested resolution by Microsoft is to download SMO using Web Platform Installer. But since you don't have access to the Internet on the server, you'll have to download the offline version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find SMO included in the SQL Server 2016 Feature Pack: &lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=52676&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.microsoft.com/en-us/download/details.aspx?id=52676&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="490" LastActivityDate="2018-12-05T15:55:07.383" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15391" PostTypeId="2" ParentId="15370" CreationDate="2018-12-05T16:17:10.323" Score="6" Body="&lt;p&gt;The problem here is that you are using Luke to look at the raw data that Solr is putting in the Lucene index. Solr is a layer that sits above Lucene index, and it may choose to encode values however it sees fit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To see the data in a more appropriate format, I recommend using the Solr web UI. You can access it by visiting the Solr URL in your web browser (something like &lt;a href=&quot;https://localhost:8983/solr&quot; rel=&quot;noreferrer&quot;&gt;https://localhost:8983/solr&lt;/a&gt;, depending where it is installed), selecting your core on the left in the Core Selector dropdown, selecting Query on the left, and then clicking Execute Query. In this UI, you can also craft Solr queries to select particular data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that in the attached screenshot, my &lt;code&gt;__smallcreateddate_tdt&lt;/code&gt; is showing the expected readable datetime format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/twZim.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/twZim.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2018-12-05T16:17:10.323" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15392" PostTypeId="1" AcceptedAnswerId="15441" CreationDate="2018-12-05T16:45:37.530" Score="0" ViewCount="334" Body="&lt;p&gt;I'm running Sitecore 8.2 Update 7, and I'm trying to use the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Analytics_Database_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Analytics Database Manager&lt;/a&gt; from the Sitecore Marketplace to prune some of my old Analytics Database. The issue is that after I install the Analytics Database Manager, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception System.IO.FileLoadException: Could not load file or assembly&#xA;  'MongoDB.Driver, Version=1.10.0.62, Culture=neutral,&#xA;  PublicKeyToken=f686731cfb9cc103' or one of its dependencies. The&#xA;  located assembly's manifest definition does not match the assembly&#xA;  reference. (Exception from HRESULT: 0x80131040) File name:&#xA;  'MongoDB.Driver, Version=1.10.0.62, Culture=neutral,&#xA;  PublicKeyToken=f686731cfb9cc103'    at&#xA;  ADM.Core.AnalyticsIndexManager.GetRecordsInPoolCount()    at&#xA;  ADM.Controllers.ADMOperationsController.GetStatus()    at&#xA;  lambda_method(Closure , Object , Object[] )    at&#xA;  System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&gt;c__DisplayClass10.b__9(Object&#xA;  instance, Object[] methodParameters)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;After doing some research, I figured out that it would appear that Sitecore updated the version of the MongoDB driver that it was using in 8.2 Update 5, and that this tool has not been updated since January of 2017. Also from our research, it looks like the new version of the MongoDB.Driver is not backwards compatible with version 1.10. This means that I do not have a clear path forward for pruning my Sitecore database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After doing some brainstorming, my team has come up with a few different paths forward, but we are not sure of the best approach. Here's what we came up with:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Decompile the &lt;code&gt;Sitecore.AnalyticsDatabaseManager.dll&lt;/code&gt; change the reference to the correct version of the MongoDB.Driver, and hope that we don't have a lot of problems.&lt;/li&gt;&#xA;&lt;li&gt;Setup a new Sitecore 8.2 Update 4 instance and point that to our MongoDB, and hope that we don't have any issues with the Update 4 and Update 7 MongoDB calls conflicting with each other.&lt;/li&gt;&#xA;&lt;li&gt;Do our own MongoDB queries, hoping that we don't blow anything up with our limited knowledge of how Sitecore is using the MongoDB data.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is there a better option than the 3 that I've lined out here? Is there a different tool that I should be using instead of ADM?&lt;/p&gt;&#xA;" OwnerUserId="339" LastActivityDate="2018-12-07T22:01:31.650" Title="Analytics Database manager not compatible with Sitecore 8.2 Update 7" Tags="|xdb|sitecore-marketplace|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15393" PostTypeId="1" CreationDate="2018-12-05T17:16:10.520" Score="1" ViewCount="112" Body="&lt;p&gt;We are on multi-lingual websites having en-CA and fr-CA languages as well. We defined virtual folder for fr-CA to share the same domain name with en-CA. Hence the en-CA works on &lt;code&gt;www.mywebsite.ca&lt;/code&gt; and fr-Ca works on &lt;code&gt;www.mywebsite.ca/cafr&lt;/code&gt;, all the pages are coming up fine with correct context language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having Solr as search engine,  for search listing pages we are using Data API Services having data-api-url like   “dataservices/pagename”, which is working fine for all the languages but fr-CA. Reason being when it comes to fr-CA the data api url is not respecting the Virtual Folder as part of the URL and returning en-CA search results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have tried:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried adding /cafr to the data api url especially when the current context language is fr-CA but it throws a 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I force Data API to get the search results in fr-CA by passing the Virtual Folder value?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="2890" LastActivityDate="2018-12-05T17:16:10.520" Title="Virtual Folder defined for a language site not working with Data API URL" Tags="|content-search|solr|multilingual|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="15394" PostTypeId="2" ParentId="15373" CreationDate="2018-12-05T19:13:11.487" Score="5" Body="&lt;p&gt;Assuming it's expired you can easily create a new certificate using Windows Powershell by running the following command(so no need of SIF just for that part):&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;New-SelfSignedCertificate -CertStoreLocation Cert:\LocalMachine\My -DnsName &amp;quot;ClientStaging&amp;quot; -FriendlyName &amp;quot;Client Staging Self Signed&amp;quot; -NotAfter $([datetime]::now.AddYears(10))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;em&gt;Don’t worry about the DnsName — you can assign the cert to any host name.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is for self-signed certificates. After you run that you will get the thumbprint of it, so just make sure you update the connection string and the &lt;code&gt;AppSettings.config&lt;/code&gt; file, under the xconnect folder which is normally something like &lt;code&gt;myxconnectroot\App_Config\AppSettings.config&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="946" LastEditDate="2022-04-15T07:36:08.230" LastActivityDate="2022-04-15T07:36:08.230" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15396" PostTypeId="1" CreationDate="2018-12-05T20:04:29.227" Score="3" ViewCount="390" Body="&lt;p&gt;While upgrading from 9.0.2 to 9.1 I am using the update center from Control Panel. When I use Download and Install it's unable to complete the download as it times out every time. The popup below closes and nothing is logged in the log files. Here is a screenshot of the popup and N/w info from Chrome:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dPmdD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dPmdD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZA6wi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZA6wi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any alternate way to get around this? &lt;/p&gt;&#xA;" OwnerUserId="706" LastEditorUserId="706" LastEditDate="2018-12-05T20:15:38.357" LastActivityDate="2019-12-17T09:01:10.413" Title="Sitecore Update Center : Download and Install Window Timeout Issue" Tags="|sitecore-client|upgrade|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15397" PostTypeId="1" CreationDate="2018-12-05T22:30:35.533" Score="1" ViewCount="107" Body="&lt;p&gt;I have successfully setup Federated Authentication for the Sitecore client with Azure AD. However we have some additional requirements to meet:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A user must be within a given AD group to be able to login&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;Valid&lt;/em&gt; users should be persisted, so that roles can be maintained in Sitecore &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For a user performing their first login, if the identity's claims are not transformed into a role, Sitecore will inform the user they do not have access. However the user is still created within Sitecore (if persistence is enabled), and if user is then added as a member of a role including client access, they will then have access even if do not meet the AD group requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To accomplish this, looking at other examples outside of Sitecore, I thought the appropriate place for this criteria check would be within the &lt;code&gt;SecurityTokenValidated&lt;/code&gt; notification:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.App.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions&#xA;{&#xA;    .. other required properties omitted ..&#xA;&#xA;    Notifications = new OpenIdConnectAuthenticationNotifications&#xA;    {                   &#xA;        SecurityTokenValidated = notification =&amp;gt;&#xA;        {&#xA;            var identity = notification.AuthenticationTicket.Identity;&#xA;&#xA;            foreach (var claimTransformationService in identityProvider.Transformations)&#xA;            {&#xA;                claimTransformationService.Transform(identity,&#xA;                    new TransformationContext(FederatedAuthenticationConfiguration, identityProvider));&#xA;            }&#xA;&#xA;            // Must have mapped to at least one role as a result of our transformations.&#xA;            if (!identity.HasClaim(c =&amp;gt; c.Type.Equals(ClaimTypes.Role, StringComparison.InvariantCultureIgnoreCase)))&#xA;                throw new System.IdentityModel.Tokens.SecurityTokenValidationException(&quot;User must be mapped to at least one role&quot;);&#xA;&#xA;            notification.AuthenticationTicket = new AuthenticationTicket(identity, notification.AuthenticationTicket.Properties);&#xA;&#xA;            return Task.FromResult(0);                      &#xA;        }&#xA;&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here, we perform our criteria check and throw a &lt;code&gt;SecurityTokenValidationException&lt;/code&gt;. However, in Sitecore this results in the exception bubbling up and presenting a YSOD, rather than the user being taken back to the login screen and told they failed authentication. Whilst this &lt;em&gt;is&lt;/em&gt; preventing the login, the experience for the user is bad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's the correct way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2018-12-05T22:30:35.533" Title="Preventing login and user creation via federated authentication if criteria is not met" Tags="|federated-authentication|azure-ad|owin|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15398" PostTypeId="2" ParentId="10852" CreationDate="2018-12-05T23:23:22.273" Score="0" Body="&lt;p&gt;This is due to Solr being unavailable, as noted in the other answer. However this has also been addressed as a bug for Sitecore 9.0 Update 1 and the dependency on SOLR for the Datasource Validator has been removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can download the patch here - &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.212959&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.212959&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9 Update 2 does not require this patch.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2018-12-05T23:23:22.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15399" PostTypeId="1" AcceptedAnswerId="15400" CreationDate="2018-12-06T00:17:57.913" Score="1" ViewCount="1823" Body="&lt;p&gt;I have seen that Sitecore 9 introduced new forms. Can anyone help me get information how these forms are different from WFFM?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help for these new forms will be helpful.&lt;/p&gt;&#xA;" OwnerUserId="4722" LastEditorUserId="342" LastEditDate="2018-12-06T12:03:18.653" LastActivityDate="2019-09-16T18:09:51.003" Title="Sitecore 9 Form Module vs WFFM" Tags="|wffm|sitecore-forms|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15400" PostTypeId="2" ParentId="15399" CreationDate="2018-12-06T01:52:18.823" Score="13" Body="&lt;p&gt;WFFM and Sitecore forms are quite different in their implementation and the user interface for managing the forms in Sitecore. Both provide a fairly full-featured form building module. Sitecore forms however is a lot slicker to use as a content editor and is built in a much more modern way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However given that it’s still quite new functionally there are some key differences/limitations worth highlighting:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore forms does not have CAPTCHA, file upload, telephone or credit card fields but WFFM does&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;It is not possible to verify a form when it is submitted or set the custom error message on a per-field basis out of the box with Sitecore forms &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;More steps are required to add custom fields for Sitecore forms but it’s arguably more extensible and flexible to customise and more inline with modern approaches&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There are only 5 submit / save actions in Sitecore forms vs 16 in WFFM. Send email being one of the key ones missing in 9.0 but now available out of the box in 9.01 and above (making 6 submit actions).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There is currently no rules engine support for Sitecore 9 forms but there is for WFFM&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There are no CRM connectors for Sitecore forms out of the box but WFFM has MS Dynamics save actions etc.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore forms has tracking/analytics at a field level where as WFFM only does this at form level so this is once area where it wins out.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Forms 9.1 features:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Allows you to use conditions in form elements and build forms that respond to user input and show relevant questions. WFFM does not support this.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can now put forms in folders and control security on access.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Provides support for value providers to pre-fill form fields.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In short I think which is best for your project depends on what you are doing but I think if you don’t use WFFM currently and are looking to build new forms then go with the new Sitecore Forms module as WFFM has now been phased out. It should be easy enough to build in anything you need that is missing in Sitecore forms and there are some community created fields and submit actions out there that you can use e.g:  &lt;a href=&quot;http://onelittlespark.bartverdonck.be/category/sitecore-forms-extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://onelittlespark.bartverdonck.be/category/sitecore-forms-extensions/&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Web Forms For Marketers was deprecated in Sitecore XP 9.1 and is also not supported in Sitecore XP 9.2.&#xA;9.0.2 is the last release where WFFM can be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This post from Joao is a really good in-depth overview of the differences which I’d recommend reading:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.google.co.uk/amp/s/joaoneto.blog/2017/11/22/is-it-time-to-migrate-my-wffm-forms-to-sitecore-forms/amp/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.google.co.uk/amp/s/joaoneto.blog/2017/11/22/is-it-time-to-migrate-my-wffm-forms-to-sitecore-forms/amp/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2019-09-16T18:09:51.003" LastActivityDate="2019-09-16T18:09:51.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15402" PostTypeId="1" CreationDate="2018-12-06T10:15:16.073" Score="3" ViewCount="395" Body="&lt;p&gt;I'm using &lt;code&gt;Sitecore 9 update 1&lt;/code&gt;, I'm trying to get the top trending search keywords by users for my website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I discovered that the local search keywords are stored at table &lt;code&gt;DimensionKeys&lt;/code&gt; in the &lt;strong&gt;Reporting&lt;/strong&gt; database, and its count in table &lt;code&gt;Fact_SearchMetrics&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems the keywords are stored after 25 minutes. Not all keywords are stored it seems. I have been unable to find any documentation for this in the xConnect Documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I access this data to extract trending search keywords?&lt;/p&gt;&#xA;" OwnerUserId="4229" LastEditorUserId="73" LastEditDate="2018-12-06T10:37:43.450" LastActivityDate="2019-01-06T14:00:20.400" Title="How are search keywords saved?" Tags="|xdb|content-search|reporting|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15403" PostTypeId="1" CreationDate="2018-12-06T13:01:22.290" Score="2" ViewCount="995" Body="&lt;p&gt;I am working on Multisite Sitecore instance and For &quot;multilist with search&quot; field I am trying to return all descendant items under folder item from a specific template using these queries &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation=//*&amp;amp;TemplateFilter={1111111-1111-1111-1111-1111111111}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation=descendant-or-self&amp;amp;TemplateFilter={1111111-1111-1111-1111-1111111111}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These queries return all items from this template Id from all sites nodes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need a query to return the descendant items under a specific item folder only.&lt;/p&gt;&#xA;" OwnerUserId="635" LastEditorUserId="73" LastEditDate="2020-07-03T21:04:17.740" LastActivityDate="2024-02-09T19:05:30.637" Title="Multilist with Search to return descendant items" Tags="|sitecore-query|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15404" PostTypeId="1" CreationDate="2018-12-06T13:16:17.347" Score="1" ViewCount="260" Body="&lt;p&gt;I use the following block of code to generate the links of media items in a specific language:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Sitecore.Links.UrlOptions urlOptions = Sitecore.Links.LinkManager.GetDefaultUrlOptions();&#xA;    urlOptions.AlwaysIncludeServerUrl = true;&#xA;    urlOptions.Language = Language.Parse(item.Lang);&#xA;    string lnk = Sitecore.Links.LinkManager.GetItemUrl(pdfItem, urlOptions);&#xA;&#xA;...&#xA;linkfield.Url = lnk;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The link generated looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://cd5-int.global.com/-/media/Files/Mediaroom/700767.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://cd5-int.global.com/-/media/Files/Mediaroom/700767.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is it keeps redirecting me to the last language version i clicked on.  It seems to be a cache problem because when i click the link opening my media, if the pdf opened in a new window is in the wrong language, i just need to refresh the page and then the pdf appears in the right language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did i miss some useful options in my &lt;code&gt;urlOptions&lt;/code&gt; object ?&lt;/p&gt;&#xA;" OwnerUserId="2278" LastActivityDate="2018-12-06T16:00:12.803" Title="Cache problems when generating links with the LinkManager class" Tags="|link-manager|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15407" PostTypeId="2" ParentId="15404" CreationDate="2018-12-06T13:51:54.540" Score="0" Body="&lt;p&gt;Try including the &lt;code&gt;LanguageEmbedding&lt;/code&gt; option in your &lt;code&gt;UrlOptions&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;urlOptions.LanguageEmbedding = LanguageEmbedding.Always;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should result in a URL that has the language in the querystring, like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://cd5-int.global.com/-/media/Files/Mediaroom/700767.pdf?lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://cd5-int.global.com/-/media/Files/Mediaroom/700767.pdf?lang=en&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-06T13:51:54.540" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15413" PostTypeId="2" ParentId="15404" CreationDate="2018-12-06T16:00:12.803" Score="2" Body="&lt;p&gt;For media items you should use the &lt;code&gt;MediaManager&lt;/code&gt; to generate links instead of the &lt;code&gt;LinkManager&lt;/code&gt;. The &lt;code&gt;MediaManager&lt;/code&gt; will return a link to the actual media item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var urlOptions = new MediaUrlOptions();&#xA;urlOptions.Language = Language.Parse(item.Lang)                &#xA;var lnk = MediaManager.GetMediaUrl(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-12-06T16:00:12.803" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15414" PostTypeId="2" ParentId="4284" CreationDate="2018-12-06T16:13:59.460" Score="13" Body="&lt;p&gt;In Sitecore 9.x There is a new message bus implementation based on &lt;a href=&quot;https://github.com/rebus-org/Rebus&quot; rel=&quot;noreferrer&quot;&gt;Rebus&lt;/a&gt; with an RabitMQ Transport Provider. This can be leveraged for your own custom requirements too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is used already in Sitecore 9 by:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;EXM Dispatch&lt;/li&gt;&#xA;&lt;li&gt;Marketing Automation &lt;/li&gt;&#xA;&lt;li&gt;xConnect &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There is more info on this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/message-bus.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/message-bus.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a good example of using it for custom requirements here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.pintle.dk/insights/using-sitecore-service-bus/&quot; rel=&quot;noreferrer&quot;&gt;https://www.pintle.dk/insights/using-sitecore-service-bus/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;** Thanks to Pete Navarra for pointing out on Slack that more accurately there is a RabitMQ Transport Plugin running on Rebus.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2018-12-07T12:07:29.447" LastActivityDate="2018-12-07T12:07:29.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15416" PostTypeId="1" CreationDate="2018-12-06T16:24:05.717" Score="1" ViewCount="137" Body="&lt;p&gt;I have a Sitecore Habitat Commerce Instance installed in my machine and everything is working fine.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to extend the &lt;code&gt;ICreateCustomerPipeline&lt;/code&gt; to include a block to call my loyalty program. When I tried to register a customer through Sitecore Habitat Commerce registration page, it was able to register the user in Sitecore (have verified in User Manager and Commerce User).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it would not redirect me to the account page (Without the custom block, it is able to redirect me after registration complete). No error is thrown in Sitecore CD and Commerce Authoring log.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My questions - How do we troubleshoot Sitecore SXA component if the log does not contain any relevant error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my block code (the issue still persist even I remove all the logic in this block)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override async Task&amp;lt;Customer&amp;gt; Run(Customer arg, CommercePipelineExecutionContext context)&#xA;{&#xA;    context.Logger.LogInformation(&quot;Running Customers.CreateLoyaltyCustomerBlock&quot;);&#xA;&#xA;    Condition.Requires(arg).IsNotNull($&quot;{this.Name}: The argument can not be null&quot;);&#xA;&#xA;    string baseUri = @&quot;http://localhost:8080&quot;;&#xA;    string merchantId = @&quot;00004&quot;;&#xA;    string createUserUri = baseUri + @&quot;/users&quot;;&#xA;&#xA;    var createUserhttpWebRequest = (HttpWebRequest)WebRequest.Create(createUserUri);&#xA;    createUserhttpWebRequest.ContentType = &quot;application/json&quot;;&#xA;    createUserhttpWebRequest.Method = &quot;POST&quot;;&#xA;&#xA;    using (var streamWriter = new StreamWriter(createUserhttpWebRequest.GetRequestStream()))&#xA;    {&#xA;        string json = &quot;{&quot; +&#xA;                              &quot;\&quot;email\&quot;: \&quot;&quot; + arg.Email + &quot;\&quot;,&quot; +&#xA;                              &quot;\&quot;enabled\&quot;: true,&quot; +&#xA;                              &quot;\&quot;merchant_id\&quot;: \&quot;&quot;+ merchantId + &quot;\&quot;,&quot; +&#xA;                              &quot;\&quot;name\&quot;: \&quot;&quot; + arg.Name + &quot;\&quot;,&quot; +&#xA;                              &quot;\&quot;password\&quot;: \&quot;\&quot;,&quot; +&#xA;                              &quot;\&quot;user_id\&quot;: \&quot;&quot; + arg.Id + &quot;\&quot;,&quot; +&#xA;                              &quot;\&quot;user_type\&quot;: \&quot;\&quot;&quot; +&#xA;                      &quot;}&quot;;&#xA;&#xA;        streamWriter.Write(json);&#xA;        streamWriter.Flush();&#xA;        streamWriter.Close();&#xA;    }&#xA;&#xA;    var httpResponse = await createUserhttpWebRequest.GetResponseAsync();&#xA;    using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))&#xA;    {&#xA;        var result = streamReader.ReadToEnd();&#xA;        context.Logger.LogInformation(&quot;Creating loyalty customer result: &quot; + result);&#xA;&#xA;        //var values = JsonConvert.DeserializeObject&amp;lt;Dictionary&amp;lt;string, string&amp;gt;&amp;gt;(result);&#xA;    }&#xA;&#xA;    return arg;&#xA;}  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is my ConfigureSitecore code (which is similar to &lt;code&gt;Sitecore.HabitatHome.Feature.ProductKit.Engine&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var assembly = Assembly.GetExecutingAssembly();&#xA;services.RegisterAllPipelineBlocks(assembly);&#xA;&#xA;services.Sitecore().Pipelines(config =&amp;gt; config&#xA;       .ConfigurePipeline&amp;lt;ICreateCustomerPipeline&amp;gt;(builder =&amp;gt; builder.Add&amp;lt;CreateLoyaltyCustomerBlock&amp;gt;().After&amp;lt;CreateCustomerBlock&amp;gt;())&#xA;       .ConfigurePipeline&amp;lt;IConfigureServiceApiPipeline&amp;gt;(configure =&amp;gt; configure.Add&amp;lt;ConfigureServiceApiBlock&amp;gt;()));&#xA;&#xA;services.RegisterAllCommands(assembly);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1644" LastEditorUserId="35" LastEditDate="2018-12-07T07:36:40.883" LastActivityDate="2019-05-24T20:58:57.540" Title="Troubleshoot Sitecore Commerce SXA Customer Registration Component" Tags="|sxa|commerce-engine|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15417" PostTypeId="2" ParentId="15310" CreationDate="2018-12-06T16:54:01.413" Score="2" Body="&lt;p&gt;I ran into the same problem. My solution was to enable Windows ASP.NET 4.7 Application Development Features. These settings are found in Windows Features -&gt; Internet Information Services -&gt; World Wide Web Services -&gt; Application Development Features -&gt; ASP.NET 4.7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Marketing Automation service would not start because xConnect was not working correctly. Enabling the appropriate Windows Features fixed xConnect. &lt;/p&gt;&#xA;" OwnerUserId="4734" LastActivityDate="2018-12-06T16:54:01.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15418" PostTypeId="1" AcceptedAnswerId="15420" CreationDate="2018-12-06T16:56:32.533" Score="2" ViewCount="1321" Body="&lt;p&gt;I've used &lt;a href=&quot;https://github.com/JeffDarchuk/EPExpressTab&quot; rel=&quot;nofollow noreferrer&quot;&gt;JeffDarchuk's EPExpressTab&lt;/a&gt; in an exercise to show some custom data. I've used the quick &amp;amp; dirty &lt;a href=&quot;https://github.com/JeffDarchuk/EPExpressTab#get-started-quick&quot; rel=&quot;nofollow noreferrer&quot;&gt;part&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It worked to certain extent, since I ported the code to my solution. I have my custom tab, but the other tabs vanished. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to debug the &lt;a href=&quot;https://github.com/JeffDarchuk/EPExpressTab/blob/master/EPExpressTab/Pipelines/Initialize/Initialize.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;Initialize pipeline&lt;/a&gt; which is defined in the &lt;a href=&quot;https://github.com/JeffDarchuk/EPExpressTab#installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;processor type&lt;/a&gt; ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;EPExpressTab.Pipelines.Initialize.Initialize, EPExpressTab&quot; &amp;gt;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3603" LastEditorUserId="135" LastEditDate="2018-12-06T18:36:59.217" LastActivityDate="2020-01-14T19:57:26.523" Title="Is there a way to debug an initialize pipeline processor" Tags="|pipelines|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15419" PostTypeId="2" ParentId="15418" CreationDate="2018-12-06T17:21:22.990" Score="1" Body="&lt;p&gt;Yes it is possible to debug processors even if they are Sitecore out-of-the-box ones. Here two articles(&lt;a href=&quot;https://jammykam.wordpress.com/2015/01/11/how-to-debug-sitecore-kernel-in-visual/&quot; rel=&quot;nofollow noreferrer&quot;&gt;link 1&lt;/a&gt;, &lt;a href=&quot;http://bilyukov.com/debugging-sitecore-dotpeek/&quot; rel=&quot;nofollow noreferrer&quot;&gt;link 2&lt;/a&gt;) with step-by-step actions you can take to achieve that.&#xA;But in a nutshell, if you are using DotPeaks you can:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) start a SymbolServer and select which assemblies you want to load. This will create pdbs of those assemblies for you so you can attach the debugger to then&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) Update Visual Studio in Tools - Options - Debugging - Symbols and add the Symbol server that DotPeak creates for you. By default it´s &quot;localhost:33417&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;c) Still in the Dubbuging section - General, uncheck &quot;Enable Just My Code&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;d) At this point you are pretty much set. If you open the processor using Assembly Explorer and putting a breakpoint in it, you should be able to see it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2018-12-06T17:57:31.570" LastActivityDate="2018-12-06T17:57:31.570" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15420" PostTypeId="2" ParentId="15418" CreationDate="2018-12-06T17:26:17.840" Score="7" Body="&lt;p&gt;Yes, you can debug processors in the &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; pipeline the same as any other pipeline in Sitecore: set your breakpoints and attach to the w3p process from Visual Studio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that the &lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt; pipeline only runs once when the application starts up, but normally you are attaching to debug the process after that code has already run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The trick to debug the &lt;code&gt;initialize&lt;/code&gt; processors is to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set your breakpoints in Visual Studio&lt;/li&gt;&#xA;&lt;li&gt;Attach to the w3p process to debug the code as normal&lt;/li&gt;&#xA;&lt;li&gt;Make a small edit to the deployed &lt;code&gt;web.config&lt;/code&gt; file in the deployed inetpub folder. You can just add a space and save the file, or recycle the Recycle the Application Pool for your website instance in IIS&lt;/li&gt;&#xA;&lt;li&gt;Make a request to website whilst the debugger is still attached in Visual Studio&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;This should cause the initialization code to fire again and the processors to run, allowing you to debug and hit your breakpoints.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2018-12-06T17:26:17.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15421" PostTypeId="1" AcceptedAnswerId="24724" CreationDate="2018-12-06T21:18:49.423" Score="3" ViewCount="514" Body="&lt;p&gt;Every so often, TDS will throw a NullReferenceException while attempting to generate code for sync'ed Sitecore Items.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the error from the output log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Generating file C:\Path\To\GeneratedCode.cs &#xA;  ERROR : on line 0 column 0 of file C:\Path\To\Code\Generate\Template.tt &#xA;  Running transformation: System.NullReferenceException: Object reference not set to an instance&#xA;  of an object.&lt;br&gt;&#xA;  at Microsoft.VisualStudio.TextTemplating4EBD01F908618B2878D40309BB467CB0AF91462B3C9AA05AF72392556DFEBB765829C5679F118E27F30F9B93397F2511CA0D88F187AE7DFEBE5EEE255C5A7A49.GeneratedTextTransformation.&amp;lt;&gt;c.b__5_2(SitecoreTemplate t)&#xA;     at System.Linq.Enumerable.d__16`2.MoveNext()&#xA;     at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()&lt;br&gt;&#xA;     at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)&lt;br&gt;&#xA;  at Microsoft.VisualStudio.TextTemplating4EBD01F908618B2878D40309BB467CB0AF91462B3C9AA05AF72392556DFEBB765829C5679F118E27F30F9B93397F2511CA0D88F187AE7DFEBE5EEE255C5A7A49.GeneratedTextTransformation.GetFieldsForTemplate(SitecoreTemplate item, Boolean includeBases)&lt;br&gt;&#xA;  at Microsoft.VisualStudio.TextTemplating4EBD01F908618B2878D40309BB467CB0AF91462B3C9AA05AF72392556DFEBB765829C5679F118E27F30F9B93397F2511CA0D88F187AE7DFEBE5EEE255C5A7A49.GeneratedTextTransformation.TransformText()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is an intermittent bug that happens, most commonly, after I get latest from my branch.  It resolves itself up after a few computer restarts; however, if there's a way to fully prevent it or to clear a cache somewhere to fix it when it comes up, I would prefer such a solution.&lt;/p&gt;&#xA;" OwnerUserId="3486" LastEditorUserId="342" LastEditDate="2018-12-06T21:24:05.607" LastActivityDate="2020-03-26T04:22:43.350" Title="TDS Throws a NullReferenceException when auto-generating models" Tags="|tds|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15422" PostTypeId="2" ParentId="15421" CreationDate="2018-12-06T21:23:29.153" Score="0" Body="&lt;p&gt;I have sometimes seen issues where TDS gets out of date (especially when switching between git branches).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have always been able to resolve them by right-clicking on the TDS project and selecting &lt;strong&gt;Re-Generate Code for all Items&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VfbyH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VfbyH.png&quot; alt=&quot;Context menu with regenerate code for all items highlighted&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-06T21:23:29.153" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15423" PostTypeId="1" CreationDate="2018-12-06T22:38:34.727" Score="6" ViewCount="433" Body="&lt;p&gt;While Sitecore supports SEO Friendly URLs, the Sitecore Commerce page URLs can be quite ugly.  Is there a way to make these more SEO friendly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Haven't been able to find any type of configuration setting or way of doing this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here are some example URLs from the Habitat Home Demo site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Category Page&#xA;&lt;a href=&quot;https://experiencecommerce.habitathomedemo.com/shop/All-In-One%3dhabitat_master-all%20in%20one&quot; rel=&quot;noreferrer&quot;&gt;https://experiencecommerce.habitathomedemo.com/shop/All-In-One%3dhabitat_master-all%20in%20one&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Product Detail page&#xA;&lt;a href=&quot;https://experiencecommerce.habitathomedemo.com/shop/Drones%3dhabitat_master-drones/SeekerIDrone%E2%80%9427K12MP%3d7042128&quot; rel=&quot;noreferrer&quot;&gt;https://experiencecommerce.habitathomedemo.com/shop/Drones%3dhabitat_master-drones/SeekerIDrone%E2%80%9427K12MP%3d7042128&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="575" LastActivityDate="2019-06-07T13:29:31.480" Title="SEO Friendly Commerce Page URLs" Tags="|sitecore-commerce|commerce-catalog|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15424" PostTypeId="1" AcceptedAnswerId="15426" CreationDate="2018-12-07T06:47:48.017" Score="5" ViewCount="600" Body="&lt;p&gt;I am trying to remove a contact from a contact list using next code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;{&#xA;    var reference = new IdentifiedContactReference(source, email);&#xA;    var contact = client.Get(reference, new ContactExpandOptions(new string[]&#xA;    {&#xA;        &quot;ListSubscriptions&quot;&#xA;    }));&#xA;    if (contact == null) return;&#xA;&#xA;    Guid contactListId = new Guid(ListId);&#xA;&#xA;    IDefinitionManager&amp;lt;IContactListDefinition&amp;gt; manager = ServiceLocator.ServiceProvider.GetDefinitionManagerFactory().GetDefinitionManager&amp;lt;IContactListDefinition&amp;gt;();&#xA;&#xA;&#xA;    var contactList = manager.Get(contactListId, new CultureInfo(&quot;en&quot;), true);&#xA;&#xA;&#xA;    contact.RemoveListSubscriptions(client, true, new Guid[]&#xA;    {&#xA;        contactListId&#xA;    });&#xA;    client.Submit();&#xA;}    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can see the list in the &lt;code&gt;ListSubscriptions&lt;/code&gt; facet but is not removed. Am I doing something wrong? &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="35" LastEditDate="2018-12-07T07:35:01.543" LastActivityDate="2021-07-29T22:04:20.217" Title="Remove contact from contact list" Tags="|xconnect|contact-facets|list-manager|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15425" PostTypeId="2" ParentId="15416" CreationDate="2018-12-07T07:24:04.430" Score="1" Body="&lt;p&gt;I opened up the customer plugin &lt;code&gt;dll&lt;/code&gt; using reflector and the &lt;code&gt;CreateCustomerBlock&lt;/code&gt; code is hardly human readable. Based on the code in &lt;code&gt;CreateCustomerBlock&lt;/code&gt;, I suspected that the redirection is performed within the &lt;code&gt;CreateCustomerBlock&lt;/code&gt;.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To test this assumption, I modified the block sequences by including my block before the &lt;code&gt;CreateCustomerBlock&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Voila, it works .. Looks like I will need to raise a Sitecore support on this how to decouple &lt;code&gt;CreateCustomerBlock&lt;/code&gt; functionality into multiple small blocks.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var assembly = Assembly.GetExecutingAssembly();&#xA;    services.RegisterAllPipelineBlocks(assembly);&#xA;&#xA;    services.Sitecore().Pipelines(config =&amp;gt; config&#xA;       .ConfigurePipeline&amp;lt;ICreateCustomerPipeline&amp;gt;(builder =&amp;gt; builder.Add&amp;lt;CreateLoyaltyCustomerBlock&amp;gt;().Before&amp;lt;CreateCustomerBlock&amp;gt;())&#xA;       .ConfigurePipeline&amp;lt;IConfigureServiceApiPipeline&amp;gt;(configure =&amp;gt; configure.Add&amp;lt;ConfigureServiceApiBlock&amp;gt;()));&#xA;&#xA;    services.RegisterAllCommands(assembly);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1644" LastEditorUserId="5096" LastEditDate="2019-05-24T20:58:57.540" LastActivityDate="2019-05-24T20:58:57.540" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15426" PostTypeId="2" ParentId="15424" CreationDate="2018-12-07T07:24:07.903" Score="8" Body="&lt;p&gt;We use code like this and it works fine. It is similar to yours however there are some differences:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;{&#xA;    try&#xA;    {&#xA;        var identifier = new IdentifiedContactReference(IdentifierSources.Email, email);&#xA;        var contact = client.Get(identifier, new ContactExpandOptions(ListSubscriptions.DefaultFacetKey));&#xA;        var contactList = contact.ListSubscriptions()?.Subscriptions?.FirstOrDefault(x =&amp;gt; x.ListDefinitionId.Equals(contactListId));&#xA;&#xA;        if (contactList == null)&#xA;        {&#xA;            return ContactListOperationResultEnum.ContactNotOnTheList;&#xA;        }&#xA;&#xA;        var subscriptions = contact.ListSubscriptions();&#xA;        subscriptions.Subscriptions.Remove(contactList);&#xA;        client.SetListSubscriptions(contact, subscriptions);&#xA;        client.Submit();&#xA;&#xA;        return ContactListOperationResultEnum.Success;&#xA;    }&#xA;    catch (XdbExecutionException ex)&#xA;    {&#xA;        _logger.Error($&quot;Exception during removing contact from list {contactListId}&quot;, ex, this);&#xA;        return ContactListOperationResultEnum.Error;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="35" LastActivityDate="2018-12-07T07:24:07.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15427" PostTypeId="1" CreationDate="2018-12-07T07:30:34.063" Score="-1" ViewCount="159" Body="&lt;p&gt;What is the maximum number of sites that we can have under Sitecore Content tree in an SXA implementation? Also, does SXA Site Manager have any similar limits? We are using Sitecore 8.2 with SXA 1.6.&lt;/p&gt;&#xA;" OwnerUserId="3774" LastActivityDate="2020-08-06T15:16:51.370" Title="Maximum number of SXA sites" Tags="|sxa|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15428" PostTypeId="2" ParentId="15427" CreationDate="2018-12-07T07:35:32.977" Score="0" Body="&lt;p&gt;Sitecore supports multi sites. I don't think Sitecore limits us on the number of SXA site we can create within Sitecore Content Tree.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The more SXA sites you have within Sitecore, the more compute resources is required.&lt;/p&gt;&#xA;" OwnerUserId="1644" LastActivityDate="2018-12-07T07:35:32.977" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15431" PostTypeId="2" ParentId="15386" CreationDate="2018-12-07T12:12:33.097" Score="0" Body="&lt;p&gt;At least, there's a 7.1 related article on the Knowledge Base: &lt;a href=&quot;https://kb.sitecore.net/articles/080849&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/080849&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure if it works with 8.0.&lt;/p&gt;&#xA;" OwnerUserId="59" LastActivityDate="2018-12-07T12:12:33.097" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15432" PostTypeId="2" ParentId="15402" CreationDate="2018-12-07T13:14:38.803" Score="2" Body="&lt;p&gt;The keywords are stored in the &lt;code&gt;WebVisit&lt;/code&gt; facet &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/add-interaction-events.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/add-interaction-events.html&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var webVisitFacet = new WebVisit();&#xA;&#xA;// Populate data about the web visit&#xA;webVisitFacet.Browser = new BrowserData() { BrowserMajorName = &quot;Chrome&quot;, BrowserMinorName = &quot;Desktop&quot;, BrowserVersion = &quot;22.0&quot; };&#xA;webVisitFacet.Language = &quot;en&quot;;&#xA;webVisitFacet.OperatingSystem = new OperatingSystemData() { Name = &quot;Windows&quot;, MajorVersion = &quot;10&quot;, MinorVersion = &quot;4&quot; };&#xA;webVisitFacet.Referrer = &quot;www.google.com&quot;;&#xA;webVisitFacet.Screen = new ScreenData() { ScreenHeight = 1080, ScreenWidth = 685 };&#xA;webVisitFacet.SearchKeywords = &quot;sitecore&quot;;&#xA;webVisitFacet.SiteName = &quot;website&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="59" LastEditorUserId="35" LastEditDate="2018-12-07T13:26:53.060" LastActivityDate="2018-12-07T13:26:53.060" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15433" PostTypeId="1" CreationDate="2018-12-07T13:14:53.387" Score="5" ViewCount="4013" Body="&lt;p&gt;Got over 200 items in various folders in one location that would like to copy to a new location while retaining the same folder structure. Each item has more than one version and would like to retain that as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Task 1: Copying multiple folders containing multiple items to a new location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Task two: Updating the part of the Items' path with the new location. &#xA;Example&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Location A&lt;/strong&gt;/Folder 1/subfolder 4/item_100&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;update it to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Location B&lt;/strong&gt;/Folder 1/subfolder 4/item_1000&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="4743" LastActivityDate="2019-10-04T15:37:11.923" Title="How to copy multiple items to a new location" Tags="|content-editor|powershell-extensions|powershell|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15434" PostTypeId="2" ParentId="15433" CreationDate="2018-12-07T13:27:33.547" Score="5" Body="&lt;p&gt;You have 2 ways - if you can connect up Sitecore Rocks, that has an option to multi-select items and move them around in Visual Studio and rename etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second option would be to use Sitecore PowerShell Extensions (SPE) to script that out. This example will give you a good starting place:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$rootOfitemsToMove = Get-Item “/sitecore/content/Location A/subfolder 4”;&#xA;$destinationItemPath = “/sitecore/content/Location B/subfolder 4”;&#xA;&#xA;$templateNameToMatch = “My Template”;&#xA;&#xA;Write-Host “Moving items from: ” $rootOfitemsToMove.Paths.FullPath ” to: ” $destinationItem.Paths.FullPath ” …”;&#xA;&#xA;Get-ChildItem | Where-Object { $_.TemplateName -match $templateNameToMatch } | ForEach-Object {&#xA;    $name = $_.Name&#xA;    if(![string]::IsNullOrEmpty($name))&#xA;    {&#xA;        $newName = &quot;$($name)0&quot;  # Add some logic here to rename the folder&#xA;        $newPath = &quot;$($destinationItemPath)/$($newName)&quot;&#xA;&#xA;        Move-Item -Path $_.ItemPath -Destination $newPath;&#xA;        Write-Host “Item moved to: $($newPath)“;&#xA;    }&#xA;    else&#xA;    {&#xA;        Write-Host “Couldn’t move Item: ” $name;&#xA;    }&#xA;}&#xA;&#xA;Write-Host “Moving items complete.”;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would need to work out the logic of how the folders are renamed. Moving a parent folder &lt;em&gt;should&lt;/em&gt; also move the child items with it.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-12-07T13:27:33.547" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15436" PostTypeId="2" ParentId="11832" CreationDate="2018-12-07T14:12:32.503" Score="3" Body="&lt;p&gt;Please check the &lt;code&gt;SSL certificate&lt;/code&gt; of &lt;code&gt;{website}.xconnect&lt;/code&gt; in IIS.&#xA;Also please check the license file of .&lt;code&gt;\Website\App_data\jobs\continuous\AutomationEngine\App_Data and thumbprint&lt;/code&gt; of .&lt;code&gt;\Website\App_data\jobs\continuous\AutomationEngine\App_Config\ConnectionStrings.config file&lt;/code&gt;. There might be some problem there.&lt;/p&gt;&#xA;" OwnerUserId="4528" LastEditorUserId="251" LastEditDate="2022-04-06T11:34:10.307" LastActivityDate="2022-04-06T11:34:10.307" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15437" PostTypeId="1" AcceptedAnswerId="15474" CreationDate="2018-12-07T14:17:21.533" Score="1" ViewCount="441" Body="&lt;p&gt;I'm trying to install &lt;strong&gt;Sitecore Experience Commerce 9.0.3&lt;/strong&gt; on top of &lt;strong&gt;Sitecore Experience Platform 9.0.2&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is when I run the install script, I get an error at &lt;code&gt;CreateDefaultStorefront&lt;/code&gt; task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;[--- CreateDefaultStorefront : CreateDefaultStorefront ---]&#xA;Creating the default storefront...&#xA;Error occured: The remote server returned an error: (424) Method Failure....&#xA;Creating the default storefront complete...&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So at the end everything works but I have no frontstore. SXA looks like default home page. Yesterday I was able to install Sitecore Experience Commerce 9.0.2 successfully, now I can't. Anyone has faced it before? Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Log =&gt; &lt;code&gt;PS&amp;gt;TerminatingError(Invoke-RestMethod): Get-Item : Cannot find path 'master:\{592E2CC0-E0C8-4FA7-AE7D-C8DDC1D37AFE}' because it does not exist.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search result is like below (GUID doesn't match, I didn't understand)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ghCHw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ghCHw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4610" LastEditorUserId="73" LastEditDate="2018-12-08T12:38:47.077" LastActivityDate="2018-12-10T21:14:39.883" Title="Installation Error: The remote server returned an error: (424) Method Failure" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15439" PostTypeId="2" ParentId="12238" CreationDate="2018-12-07T15:02:36.403" Score="1" Body="&lt;p&gt;The username is generated by Sitecore via &lt;code&gt;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;User names must be unique across a Sitecore instance. You cannot use user names from different external providers as Sitecore user names because this does not guarantee that the user names are unique. The DefaultExternalUserBuilder class creates a sequence of user names for a given external user name. It then uses the first of these names that does not already exist in Sitecore. The values in the sequence depend only on the external username and the Sitecore domain configured for the given identity provider.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can change this functionality by patching the config to use your own username builder like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;identityProvidersPerSites hint=&quot;list:AddIdentityProvidersPerSites&quot;&amp;gt;&#xA;&amp;lt;mapEntry name=&quot;visitors&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA; &amp;lt;externalUserBuilder type=&quot;MyNamespace.ExternalUserBuilder, MyLibrary&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/externalUserBuilder&amp;gt;&#xA;&amp;lt;/mapEntry&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExternalUserBuilder : Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder&#xA;{        &#xA;    protected override string CreateUniqueUserName(UserManager&amp;lt;ApplicationUser&amp;gt; userManager, ExternalLoginInfo externalLoginInfo)&#xA;    {        &#xA;        return externalLoginInfo.ExternalIdentity.FindFirstValue(&quot;FullName&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="88" LastActivityDate="2018-12-07T15:02:36.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15440" PostTypeId="2" ParentId="15367" CreationDate="2018-12-07T16:25:01.337" Score="0" Body="&lt;p&gt;It turns out this is actually default behavior. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;See: &lt;a href=&quot;https://jammykam.wordpress.com/2016/09/05/sitecore-8-2-managing-datasource-components-and-workflow-from-the-experience-editor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2016/09/05/sitecore-8-2-managing-datasource-components-and-workflow-from-the-experience-editor/&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Related items on the page will be submitted when the page is submitted to the workflow from the Experience Editor. This is configured in the &lt;code&gt;Sitecore.ExperienceEditor.config&lt;/code&gt; file via the &lt;code&gt;WebEdit.AffectWorkflowForDatasourceItems&lt;/code&gt; setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To those who tried to answer my question, I apologize. When I posted my question, I was thinking that the additional pages that were being submitted were not related to the home page, but it turns out that they &lt;strong&gt;are&lt;/strong&gt; related items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The pages that were getting submitted are datasources for one of more components on the page being submitted. I didn't realize that and therefore you had no way to know.&lt;/p&gt;&#xA;" OwnerUserId="3761" LastEditorUserId="342" LastEditDate="2019-05-22T16:21:21.037" LastActivityDate="2019-05-22T16:21:21.037" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15441" PostTypeId="2" ParentId="15392" CreationDate="2018-12-07T18:57:30.823" Score="1" Body="&lt;p&gt;I submitted a Sitecore Support ticket, and they provided a DLL for me that is a supported fix for this issue. So, if you encounter this issue, all you have to do is let Sitecore know that you need the fix specified in my support ticket number(&lt;strong&gt;521399&lt;/strong&gt;) and they should be able to get it for you. I hope that this is helpful for someone else!&lt;/p&gt;&#xA;" OwnerUserId="339" LastEditorUserId="339" LastEditDate="2018-12-07T22:01:31.650" LastActivityDate="2018-12-07T22:01:31.650" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15442" PostTypeId="1" CreationDate="2018-12-07T23:23:45.183" Score="2" ViewCount="274" Body="&lt;p&gt;I am Installing SC 9.0.2 with SIF and a Remote Solr Server with Self-Signed Certificate. i have split the script up as found here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://tothecore.sk/2018/04/19/installing-sitecore-9-xp0-with-solr-on-remote-server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/04/19/installing-sitecore-9-xp0-with-solr-on-remote-server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks pretty dandy - but I am getting this message when running the Solr core install portion since the cert is self-signed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eqIxN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eqIxN.png&quot; alt=&quot;Error Messages from SIF&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anyway around this? I know since I am running the cores portion on the solr box, I could just use localhost - but sitecore will not be able to access it because the connection is not trusted. I am using the IP address if the solr server because I don't have a DNS server. Any ideas besides getting a legit cert?&lt;/p&gt;&#xA;" OwnerUserId="2049" LastActivityDate="2018-12-08T00:25:56.340" Title="Installing SC 9.0.2 with SIF and Remote Solr Server with Self-Signed Certificate" Tags="|solr|sitecore-install-framework|certificate|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15443" PostTypeId="2" ParentId="15442" CreationDate="2018-12-08T00:25:56.340" Score="3" Body="&lt;p&gt;The final piece to the puzzle was to make sure that I had the cert installed on my sitecore box as well - local machine &gt; trusted root CA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I realized that after I took a pass over this blog:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.kurbegovic.com/blog/sitecore-9-multi-server-installation-part-2-solr-server-setup/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.kurbegovic.com/blog/sitecore-9-multi-server-installation-part-2-solr-server-setup/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="2049" LastActivityDate="2018-12-08T00:25:56.340" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15444" PostTypeId="1" CreationDate="2018-12-08T18:43:35.647" Score="4" ViewCount="1434" Body="&lt;p&gt;I am trying to add custom classes &amp;amp; inline styles to a rendered link field in the experience editor without using Glass.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a model the looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Header&#xA;{&#xA;    public HtmlString Link { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My controller has a model creation method like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private static Header CreateModel()&#xA;{&#xA;    var item = RenderingContext.Current.Rendering.Item;&#xA;    var linkStyles = &quot;style=Margin: 0; color: white; color: white !important; font-family: Helvetica, Arial, sans-serif; font-weight: normal; line-height: 1 !important; margin: 0; padding: 0; text-align: left; text-decoration: none;&quot;;&#xA;&#xA;    var headerModel = new Header()&#xA;    {&#xA;        Link = new HtmlString(FieldRenderer.Render(item, &quot;CTA Url&quot;,linkStyles))&#xA;    };&#xA;&#xA;    return headerModel;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And in my view I am outputting this with &lt;code&gt;@Model.Link&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;linkStyles&lt;/code&gt; string in the controller works, but I cannot figure out how to add classes to this.  Also, if the user adds a class in the Style class field in Sitecore, all the styles get removed &amp;amp; reset/replaced with the users input.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edited to Add&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even using Glass as suggested below. The inline styles are removed anytime the field is edited.  For example, on initial load the inline styles are there.  If I make any edits such as changing the link description, the link url, or link class, then click OK to close the link dialog window.  I see the changes I just made, but all the inline styles are gone.  If I save the changes at this point the view will refresh and add the inline styles back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there not a way to persist these styles?&lt;/p&gt;&#xA;" OwnerUserId="3278" LastEditorUserId="3278" LastEditDate="2018-12-09T04:33:20.420" LastActivityDate="2018-12-09T12:30:30.897" Title="Sitecore MVC FieldRenderer.Render - Add and persist inline styles &amp; classes to links in the Experience Editor" Tags="|experience-editor|css|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15445" PostTypeId="2" ParentId="15444" CreationDate="2018-12-08T19:02:33.873" Score="2" Body="&lt;p&gt;This may be beyond the scope of what you want to do to accomplish this, but I would recommend using an ORM like &lt;a href=&quot;http://glass.lu/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Glass Mapper&lt;/a&gt; to strongly-type your models, and then this kind of thing is handled much more simply:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class Header&#xA;{&#xA;    [Glass.Mapper.Sc.Configuration.Attributes.SitecoreField(&amp;quot;CTA Url&amp;quot;)]&#xA;    public virtual Glass.Mapper.Sc.Fields.Link CtaUrl { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Then, in your Razor view, you can do something simple like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;@RenderLink(Model, x =&amp;gt; x.CtaUrl, new { style = &amp;quot;Margin: 0; color: white; color: white !important; font-family: Helvetica, Arial, sans-serif; font-weight: normal; line-height: 1 !important; margin: 0; padding: 0; text-align: left; text-decoration: none;&amp;quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2&gt;Even better&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;I would recommend adding these styles to a CSS class instead, so you can just assign the class like so:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;@RenderLink(Model, x =&amp;gt; x.CtaUrl, new { @class = &amp;quot;my-cta-class&amp;quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-12-08T19:02:33.873" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15446" PostTypeId="2" ParentId="15444" CreationDate="2018-12-09T08:39:17.837" Score="4" Body="&lt;p&gt;Why don't you try to have all styles in the cshtml file instead of having them inline?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;style&amp;gt;&#xA;my-cta-class { &#xA;    Margin: 0; &#xA;    color: white !important; &#xA;    font-family: Helvetica, Arial, sans-serif; &#xA;    font-weight: normal; &#xA;    line-height: 1 !important;&#xA;    margin: 0; padding: 0; &#xA;    text-align: left; &#xA;    text-decoration: none;&#xA;}&#xA;&amp;lt;/style&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That way you can implement Dan's suggestion and yet have it worked for EXM&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@RenderLink(Model, x =&amp;gt; x.CtaUrl, new { @class = &quot;my-cta-class&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3881" LastActivityDate="2018-12-09T08:39:17.837" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15447" PostTypeId="2" ParentId="15444" CreationDate="2018-12-09T12:30:30.897" Score="1" Body="&lt;p&gt;If you don't want to use Glass, &lt;a href=&quot;https://stackoverflow.com/a/50535988/1304050&quot;&gt;judging by this answer on Stack Overflow&lt;/a&gt;, it looks like you could do this by incorporating the user-defined styles into the permanent ones you want to add.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it may work better (and allow your permanent class to persist better during editing in Experience Editor) to simply pass your item to your view so that you can use the MVC helper methods:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Header&#xA;{&#xA;    public Item HeaderItem { get; set; }&#xA;    public string PersistentClasses { get;set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private static Header CreateModel()&#xA;{&#xA;    return new Header()&#xA;           {&#xA;               HeaderItem = RenderingContext.Current.Rendering.Item,&#xA;               PersistentClasses = &quot;my-cta-class&quot;&#xA;           };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can combine them in the view, but the Experience Editor will add its extra chrome to allow better inline-editing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;CTA Url&quot;, Model.HeaderItem, new {&#xA;     @class = Model.PersistentClasses + &quot; &quot; + ((LinkField)Model.HeaderItem.Fields[&quot;CTA Url&quot;]).Class&#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-09T12:30:30.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15448" PostTypeId="1" AcceptedAnswerId="15574" CreationDate="2018-12-09T16:42:44.613" Score="4" ViewCount="471" Body="&lt;p&gt;I have got two sample websites, both just have created tenant and site with SXA 1.8. When I am creating a page and open it in EE, I am getting two different visual editing structures.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Three placeholders (&lt;code&gt;header&lt;/code&gt;, &lt;code&gt;main&lt;/code&gt;, &lt;code&gt;footer&lt;/code&gt;) taking a central part of a page. Same as shown in numerous demos:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zeFJZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zeFJZ.png&quot; alt=&quot;3 placeholders layout&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; Four placeholders taking entire width of a page: &lt;code&gt;body-top&lt;/code&gt; following by those 3 mentioned above: &lt;code&gt;header&lt;/code&gt;, &lt;code&gt;main&lt;/code&gt;, &lt;code&gt;footer&lt;/code&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bmSUD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bmSUD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am wondering in a reason for such a misconsistency, trying to identify the difference, however, nothing found. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;These both pages have Page template inheriting the same exact set of base templates (all from SXA)&lt;/li&gt;&#xA;&lt;li&gt;These both pages have Page template inheriting the same exact set of base templates (all coming from SXA)&lt;/li&gt;&#xA;&lt;li&gt;I also checked Standard Values item for that template and both look identical.&lt;/li&gt;&#xA;&lt;li&gt;Actual Page items I am opening in EE, that has derived from Page templates also are similar - no fields differenced at least.&lt;/li&gt;&#xA;&lt;li&gt;Final Layouts are the same, no controls, both using MVC Layout view coming with SXA out of the box.&lt;/li&gt;&#xA;&lt;li&gt;Still compared both layout files (&lt;code&gt;/Views/SxaLayout/SxaLayout.cshtml&lt;/code&gt;) to confirm they match byte-to-byte, both have the structure described in the official SXA documentation (&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/the-html-structure-of-pages-and-renderings.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/the-html-structure-of-pages-and-renderings.html&lt;/a&gt;). Yes, they both have &lt;code&gt;body-top&lt;/code&gt; placeholder within layout (and also &lt;code&gt;body-bottom&lt;/code&gt; which I am not seeing in both cases for some reason), as described in the doc.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Opening DevTool is browser gave me the difference, explaining why one is shown but not another:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;code type=&quot;text/sitecore&quot; id=&quot;scEnclosingTag_&quot; chrometype=&quot;placeholder&quot; kind=&quot;close&quot; hintname=&quot;body-top&quot; class=&quot;scpm&quot;&amp;gt;&#xA;&amp;lt;/code&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;vs.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;code type=&quot;text/sitecore&quot; chrometype=&quot;placeholder&quot; kind=&quot;open&quot; id=&quot;body_top&quot; key=&quot;body-top&quot; class=&quot;scpm&quot; data-selectable=&quot;true&quot;&amp;gt;&#xA;... large json data inside...&#xA;&amp;lt;/code&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Therefore the question is: &lt;strong&gt;why&lt;/strong&gt; is the behaviour different and &lt;strong&gt;how to&lt;/strong&gt;  make it consistent (to either of layouts or the &quot;right&quot; one)? How do I control this behaviour?&lt;/p&gt;&#xA;" OwnerUserId="615" LastEditorUserId="615" LastEditDate="2018-12-10T09:43:08.713" LastActivityDate="2018-12-17T11:40:30.047" Title="Missing or presenting body-tag placeholder in SXA" Tags="|sxa|presentation|placeholders|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15449" PostTypeId="1" AcceptedAnswerId="15491" CreationDate="2018-12-09T19:27:32.097" Score="18" ViewCount="2534" Body="&lt;p&gt;I plan to get Certified on Sitecore 9.0 very soon.  On the &lt;a href=&quot;https://sitecore.freshdesk.com/support/solutions/articles/16000067853-sitecore-9-0-certified-platform-associate-developer-exam-study-guide-&quot; rel=&quot;noreferrer&quot;&gt;Sitecore® 9.0 Certified Platform Associate Developer Exam Study Guide&lt;/a&gt; page it mentions this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Sitecore Certification Program includes two levels, the &lt;strong&gt;Sitecore&#xA;  Certified Associate&lt;/strong&gt; and the &lt;strong&gt;Sitecore Certified Professional&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Yet, when I go to register for an exam, I only see a &lt;strong&gt;Sitecore® 8.2 Professional Developer&lt;/strong&gt; exam for Sitecore 8.2 and a &lt;strong&gt;Sitecore® 9.0 Certified Platform Associate Developer&lt;/strong&gt; for Sitecore 9.0.  Why no &quot;Professional&quot; exam for 9.0?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is kind of confusing.  If I take the 9.0 Associate Developer exam and pass, can I say I'm a Sitecore Certified Professional?  Or do I also need to take the Sitecore 8.2 Professional Developer exam?&lt;/p&gt;&#xA;" OwnerUserId="1928" LastEditorUserId="4050" LastEditDate="2020-03-14T08:31:05.440" LastActivityDate="2020-03-14T08:31:05.440" Title="What's the difference between a Sitecore Certified Associate Developer and a Sitecore Certified Professional Developer?" Tags="|certificate|training-certification|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15450" PostTypeId="2" ParentId="13773" CreationDate="2018-12-09T21:54:37.250" Score="0" Body="&lt;p&gt;The Sitecore UI should not be used on PRC and REP roles. Those servers are NOT for Authoring. Marketing Definitions are by design broken, because on REP roles it is read only, on CM roles they are remote xDB, and on Processing, they are read only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While I can't prove this, I suspect that it is intentionally broken.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only use the Sitecore UI on the Content Management only role in a XP1 topology.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This behavior is the same on On Prem and Azure PaaS.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2018-12-09T22:00:34.293" LastActivityDate="2018-12-09T22:00:34.293" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15454" PostTypeId="1" AcceptedAnswerId="15456" CreationDate="2018-12-10T11:11:05.810" Score="4" ViewCount="1869" Body="&lt;p&gt;Is there a way to dynamically change the value of a field in Sitecore based on other fields' values, something like computed fields in RDBMS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, let's say we have a template that has the following fields:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;First Name&lt;/li&gt;&#xA;&lt;li&gt;Last Name&lt;/li&gt;&#xA;&lt;li&gt;Full Name&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What I need to accomplish here is to change Full Name everytime a First Name or Last Name has changed.&lt;/p&gt;&#xA;" OwnerUserId="3881" LastActivityDate="2018-12-10T13:10:43.007" Title="How to change Sitecore field value based on another field(s)" Tags="|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15456" PostTypeId="2" ParentId="15454" CreationDate="2018-12-10T11:38:25.050" Score="7" Body="&lt;p&gt;If you really need to dynamically change value of &lt;code&gt;Full Name&lt;/code&gt; field, you can create your own ItemSave handler which will change this field for particular item templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use something similar:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomItemSaveEventHandler&#xA;{&#xA;    //master database name&#xA;    public static readonly string Master = &quot;master&quot;;&#xA;    //sample template id&#xA;    public static readonly string TemplateIdItem = &quot;{your_template_id_goes_here}&quot;;&#xA;&#xA;    public void OnItemSaved(object sender, EventArgs args)&#xA;    {&#xA;        Item item = Event.ExtractParameter(args, 0) as Item;&#xA;        if (item != null &amp;amp;&amp;amp; item.Database.Name.ToLower() == Master)&#xA;        {&#xA;            if (item.TemplateID.ToString() == TemplateIdItem )&#xA;            {&#xA;                item.Editing.BeginEdit();&#xA;                item.Fields[&quot;Full Name&quot;] = item.Fields[&quot;First Name&quot;] + &quot; &quot; + item.Fields[&quot;Last Name&quot;];&#xA;                item.Editing.EndEdit();&#xA;                item.Editing.AcceptChanges();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add some logic when First or Last names are missing and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to create a patch file :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;item:saved&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;MyAssembly.MyNamespace.CustomItemSaveEventHandler, MyAssembly&quot; method=&quot;OnItemSaved&quot;&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="70" LastEditDate="2018-12-10T13:10:43.007" LastActivityDate="2018-12-10T13:10:43.007" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15460" PostTypeId="1" CreationDate="2018-12-10T13:53:52.650" Score="1" ViewCount="77" Body="&lt;p&gt;In SXA Search we are not getting the results for items present inside composite components like Tab/Carousel components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any suggestion that might help? &lt;/p&gt;&#xA;" OwnerUserId="4750" LastEditorUserId="2056" LastEditDate="2018-12-10T14:09:33.287" LastActivityDate="2018-12-10T14:09:33.287" Title="Items inside composite items are not listed on search" Tags="|sxa|content-search|solr|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15461" PostTypeId="2" ParentId="15449" CreationDate="2018-12-10T14:20:37.143" Score="10" Body="&lt;p&gt;I asked this exact question 6 months ago and this is the complete response I received from the Sitecore Training team via &amp;quot;FreshDesk&amp;quot;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Sitecore Professional Developer - This examination is for Version 8.2&lt;/p&gt;&#xA;&lt;p&gt;Sitecore Certified Platform Associate Developer - This is for Version&#xA;9.0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;They also referenced a ticket: &lt;a href=&quot;https://sitecore.freshdesk.com/helpdesk/tickets/8222&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore.freshdesk.com/helpdesk/tickets/8222&lt;/a&gt; (though I am unable to view this ticket, I will follow up to once I can see contents of it)&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-12-10T14:20:37.143" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15462" PostTypeId="2" ParentId="5466" CreationDate="2018-12-10T14:55:21.840" Score="0" Body="&lt;p&gt;In my particular case this error occured not on a csutom rendering but on any rendering. The reason turned to be the solr service that served the website search indexes service was not running (any more).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://localhost:8662/solr/#/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8662/solr/#/&lt;/a&gt; was not accessible (port number may vary on your solr instance for your project)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Starting the involved solr service in windows services solved my issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe it can help someone&lt;/p&gt;&#xA;" OwnerUserId="1503" LastActivityDate="2018-12-10T14:55:21.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15463" PostTypeId="1" CreationDate="2018-12-10T15:02:32.250" Score="1" ViewCount="251" Body="&lt;p&gt;Is there a good way to get Swagger to work with controllers that inherit &lt;code&gt;SitecoreController&lt;/code&gt;? &lt;a href=&quot;https://www.pintle.dk/insights/using-swagger-in-sitecore-solution-as-a-helix-feature/&quot; rel=&quot;nofollow noreferrer&quot;&gt;I've checked this blog out&lt;/a&gt; which uses controllers that inherit from &lt;code&gt;ApiController&lt;/code&gt;. I thought I could get away with tweaking values in the Swagger related code from &lt;code&gt;-/api/v1&lt;/code&gt; to &lt;code&gt;api/sitecore&lt;/code&gt; but nothing was registered for that.&lt;/p&gt;&#xA;" OwnerUserId="1436" LastActivityDate="2018-12-10T15:02:32.250" Title="Getting SitecoreControllers Working With Swagger" Tags="|controller|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15464" PostTypeId="1" AcceptedAnswerId="15488" CreationDate="2018-12-10T15:03:23.447" Score="1" ViewCount="377" Body="&lt;p&gt;With a fresh install of the jss cli and creating an Angular application &lt;code&gt;jss create test-app angular&lt;/code&gt; when I try to generate a component I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Component testComponent is scaffolding.&#xA;Next steps:&#xA;* Define the component's data in sitecore/definitions/components/testComponent.sitecore.ts&#xA;* Implement the Angular component in /src/app/components/testComponent&#xA;* Add the component to a route layout (/data/routes) and test it with jss start&#xA;&#xA;Cannot read property 'entries' of undefined&#xA;npm ERR! code ELIFECYCLE&#xA;npm ERR! errno 1&#xA;npm ERR! test-app@11.0.0 scaffold: `ng generate @sitecore-jss/sitecore-jss-angular-schematics:jss-component &quot;testComponent&quot;`&#xA;npm ERR! Exit status 1&#xA;npm ERR! &#xA;npm ERR! Failed at the testtest@11.0.0 scaffold script.&#xA;npm ERR! This is probably not a problem with npm. There is likely additional logging output above.&#xA;&#xA;npm ERR! A complete log of this run can be found in:&#xA;npm ERR!     /Users/jonathank/.npm/_logs/2018-12-10T14_51_40_563Z-debug.log&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;One thing I notice is that the scaffold script is not in the 'scripts' directory. Any advice as to how to resolve?&lt;/p&gt;&#xA;" OwnerUserId="4754" LastEditorUserId="731" LastEditDate="2018-12-10T16:05:11.193" LastActivityDate="2018-12-11T17:06:26.507" Title="Error when trying to scaffold an Angular component" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15466" PostTypeId="1" AcceptedAnswerId="15521" CreationDate="2018-12-10T15:08:14.280" Score="0" ViewCount="955" Body="&lt;p&gt;Sitecore version: 8.1 update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever I try to delete an item in the Experience Editor, I get a browser prompt in the page (&quot;Leave site? Changes you made may not be saved.&quot;) and if I confirm it, I am sent to the 500 error page and the below error is logged.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;6648 09:39:24 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;Source: System.Web&#xA;   at System.Web.UI.Page.HandleError(Exception e)&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest()&#xA;   at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)&#xA;   at Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e)&#xA;   at System.Web.UI.Control.LoadRecursive()&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: The Sitecore.Client.ContentDatabase is null.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Client.get_ContentDatabase()&#xA;   at Sitecore.Shell.Applications.ShellForm.RefreshLinks(Control parent)&#xA;   at Sitecore.Shell.Applications.ShellForm.OnLoad(EventArgs e)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone seen this or have any ideas how to fix it?&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2018-12-13T15:45:42.557" LastActivityDate="2018-12-13T15:45:42.557" Title="Deleting item from Experience Editor throws exception for null ContentDatabase" Tags="|experience-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15468" PostTypeId="1" CreationDate="2018-12-10T15:29:08.363" Score="0" ViewCount="540" Body="&lt;p&gt;We are in process of setting up the Sitecore 9.0.2 scaled environment for our upgrade from 7.2. On current production setup on 7.2 we have Analytics DB on a separate SQL Server than Core, Master, Web etc databases. Hence we want the same on Sitecore 9 as well. We will be having 1 CM, 1 Processing and 2 CD servers for the topology. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To achieve this Should I:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;While installing vanilla 9.0.2, add a parameter in installation script to provide dedicated SQL server details for Analytics Dbs? If yes how to define these additional parameters and which all DBs of SC9 platform should be moved to that SQL server?&lt;/li&gt;&#xA;&lt;li&gt;Or I just install the vanilla 9.0.2 in OOTB way, restore the analytics databases on a separate SQL server and update the connectionstring.config accordingly? If yes, just updating the connectionstring.config will suffice or I need to make additional tweaks as well?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="2890" LastActivityDate="2018-12-10T20:18:18.057" Title="Sitecore 9 XP1 Installation with xDB on separate SQL Server" Tags="|sitecore-install-framework|scaling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15469" PostTypeId="1" AcceptedAnswerId="15470" CreationDate="2018-12-10T15:33:34.070" Score="2" ViewCount="299" Body="&lt;p&gt;Is it possible to have two or more Sitecore instances with different code bases running in the same (single) application pool?&lt;/p&gt;&#xA;" OwnerUserId="4727" LastEditorUserId="2153" LastEditDate="2018-12-11T07:47:23.880" LastActivityDate="2018-12-11T07:47:23.880" Title="Multiple websites hosted in the same app pool" Tags="|configuration|multisite|iis|multitenancy|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15470" PostTypeId="2" ParentId="15469" CreationDate="2018-12-10T15:38:10.247" Score="4" Body="&lt;p&gt;Sitecore is not designed to work with multiple individual instances in a single AppDomain. @RichardSeal reminded me that it makes use of shared (singleton) objects that would conflict between the two applications. These are used to improve performance and aid in caching certain resources, but make coexistence of two applications impossible.&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2018-12-11T01:01:50.423" LastActivityDate="2018-12-11T01:01:50.423" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15471" PostTypeId="1" AcceptedAnswerId="15472" CreationDate="2018-12-10T16:24:06.437" Score="6" ViewCount="1964" Body="&lt;p&gt;I have some items created using &lt;code&gt;New-Item&lt;/code&gt; but they are automatically sorted alphabetically. I would much prefer these items to be sorted by &lt;em&gt;Created&lt;/em&gt; date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do you change the sort order of items using SPE?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-12-10T16:24:06.437" Title="How do you change the sort order of items using PowerShell" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15472" PostTypeId="2" ParentId="15471" CreationDate="2018-12-10T16:24:06.437" Score="8" Body="&lt;p&gt;There are two places I can think of when it comes to changing the sort order.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Item level sort order&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Select an item and change the view in the ribbon to include &lt;em&gt;Standard fields&lt;/em&gt;. You should see something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c8aTA.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c8aTA.png&quot; alt=&quot;Sortorder&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;These values can be changed from the ribbon or programmatically and the value is an integer (e.g. 100, 200).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following changes an item's sort order. Assumes you know the precise order you want to achieve.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:&quot; -ID &quot;{C9CB2B73-04B3-43F8-B36A-D64C77E35F79}&quot;&#xA;$item.Editing.BeginEdit()&#xA;$item.Fields[&quot;__Sortorder&quot;].Value = 200&#xA;$item.Editing.EndEdit() &amp;gt; $null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Subitem level sort order&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is likely the option you want to go with. You don't have to worry about changing the sort manually every time, and it goes beyond a simple numerical value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nUeM8.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nUeM8.png&quot; alt=&quot;Subitem sorting context menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NE3Gp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NE3Gp.png&quot; alt=&quot;Sort order menu&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following sets the sort order on the parent node which results in this behavior cascading to the immediate children.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function Set-SortOrder {&#xA;    [CmdletBinding(DefaultParameterSetName=&quot;SortOrder&quot;)]&#xA;    param(&#xA;        [Parameter()]&#xA;        [ValidateNotNull()]&#xA;        [item]$Item,&#xA;&#xA;        [Parameter(ParameterSetName=&quot;SortOrder&quot;)]&#xA;        [ValidateSet(&quot;Created&quot;,&quot;Default&quot;,&quot;Display name&quot;,&quot;Logical&quot;,&quot;Reverse&quot;,&quot;Updated&quot;)]&#xA;        [string]$SortOrder,&#xA;&#xA;        [Parameter(ParameterSetName=&quot;Reset&quot;)]&#xA;        [switch]$Reset&#xA;    )&#xA;&#xA;    $subitemsSortOrderFieldId = &quot;{6FD695E7-7F6D-4CA5-8B49-A829E5950AE9}&quot;&#xA;&#xA;    $sortValue = &amp;amp; { &#xA;        switch($SortOrder) {&#xA;            &quot;Created&quot; {&#xA;                &quot;{C1FF011E-B02A-44E3-8444-9FC89CFC28CE}&quot;&#xA;            }&#xA;            &quot;Default&quot; {&#xA;                &quot;{781247D2-9785-400F-8935-C818EC757967}&quot;&#xA;            }&#xA;            &quot;Display name&quot; {&#xA;                &quot;{44D1A0D2-E17B-4DAA-ADDF-53F2E8F58525}&quot;&#xA;            }&#xA;            &quot;Logical&quot; {&#xA;                &quot;{EA1DECB2-B4F2-4AE0-99A8-30FDED9B8B50}&quot;&#xA;            }&#xA;            &quot;Reverse&quot; {&#xA;                &quot;{C3E3F0E3-0162-4F1F-AB3E-40348E371A3F}&quot;&#xA;            }&#xA;            &quot;Updated&quot; {&#xA;                &quot;{32416A95-4197-4D33-8CE7-7BB4FFEBEB42}&quot;&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    $item.Editing.BeginEdit()&#xA;    if($Reset.IsPresent) {&#xA;        $item.Fields[$subitemsSortOrderFieldId].Reset()&#xA;    } else {&#xA;        $item.Fields[$subitemsSortOrderFieldId].Value = $sortValue&#xA;    }&#xA;    $item.Editing.EndEdit() &amp;gt; $null&#xA;}&#xA;&#xA;$item = Get-item -Path &quot;master:&quot; -ID &quot;{A1D0B3BC-CCDA-41FF-B59A-33AB84BF950B}&quot;&#xA;# Reset the subitem sorting to Standard values&#xA;Set-SortOrder -Item $item -Reset&#xA;# Change the subitem sorting to based on Created Date&#xA;Set-SortOrder -Item $item -SortOrder Created&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-12-10T16:24:06.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15473" PostTypeId="2" ParentId="15468" CreationDate="2018-12-10T19:02:20.510" Score="4" Body="&lt;p&gt;For installs where I have had to use SIF in a scaled environment, I have had to do some tricky installs. Maybe some of this can help: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, I was able to locate a script that worked really well in removing the install for the database if you just want to install the web app and and then restore databases in your second step. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find that here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.robhabraken.nl/index.php/2740/blue-green-sitecore-deployments-on-azure/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.robhabraken.nl/index.php/2740/blue-green-sitecore-deployments-on-azure/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look under the section &quot;Databaseless SCWDPs&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other thing I will advise you on is that if you install the xDB databases on a different machine, restore them you will have to do the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;change connection strings &lt;/li&gt;&#xA;&lt;li&gt;Update the [__ShardManagement].[ShardsGlobal] table in the Xdb.Collection.ShardMapManager database. The [ServerName] field will need to be updated to the name of the new server.&lt;/li&gt;&#xA;&lt;li&gt;You will need to configure shards manually - but use can use Sitecore's Sharp Map Manager Tool - please review this link for running it manually:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://thebitsthatbyte.com/what-is-and-how-to-use-the-sitecore-9-shard-map-manager-tool/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://thebitsthatbyte.com/what-is-and-how-to-use-the-sitecore-9-shard-map-manager-tool/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, I think if you did want to go with option #1, you could possibly split your install up - meaning just isolate the xConnect install from the Sitecore install in its own file and change the applicable database server name where needed - similar approach here to what is being done with Solr:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://tothecore.sk/2018/04/19/installing-sitecore-9-xp0-with-solr-on-remote-server/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/04/19/installing-sitecore-9-xp0-with-solr-on-remote-server/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps. &lt;/p&gt;&#xA;" OwnerUserId="2049" LastEditorUserId="1671" LastEditDate="2018-12-10T20:18:18.057" LastActivityDate="2018-12-10T20:18:18.057" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15474" PostTypeId="2" ParentId="15437" CreationDate="2018-12-10T21:14:39.883" Score="2" Body="&lt;p&gt;After checking the version of SXA I noticed I was using 1.7.1 but it should be 1.8 (just as Rob said). Now, it's working.&lt;/p&gt;&#xA;" OwnerUserId="4610" LastActivityDate="2018-12-10T21:14:39.883" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15475" PostTypeId="2" ParentId="15008" CreationDate="2018-12-10T22:35:00.693" Score="1" Body="&lt;p&gt;We experienced a similar issue. Apparently Sitecore uses the session provider as sort of a temporary store that is then &quot;processed&quot; at a regular interval. This interval is controlled by the &lt;strong&gt;pollingInterval&lt;/strong&gt; attribute on the session state provider configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every x number of seconds Sitecore will poll the session database for expired sessions. It will then foreach through all the found sessions and make an internal web request to the local IIS to &quot;process&quot; the session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We found that this was exhausting IIS's request processing capability and normal page requests would start queuing up - which appears as a hung page to the end user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We set the pollingInterval to 15, but other values may work better for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://kb.sitecore.net/articles/858026&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/858026&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the Web.config and Sitecore.Analytics.Tracking.config files,&#xA;  increase the pollingInterval attribute value on both Private and&#xA;  Shared session state provider definitions from 2 to 60 seconds.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Increase the default polling interval for Sitecore Shared session&#xA;  state if Analytics tracking is enabled:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;In the Sitecore.Analytics.Tracking.config file, find the&#xA;  timeoutBetweenLockAttempts parameter. Increase its value from 10 to&#xA;  200 milliseconds. Note: This increases the waiting time between&#xA;  attempts to lock contact in the shared session state.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;edit: Sitecore support personnel also suggested that we create a separate &quot;processing&quot; server and only do session/analytics processing there, but we were not able to try that.&lt;/p&gt;&#xA;" OwnerUserId="4704" LastActivityDate="2018-12-10T22:35:00.693" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15476" PostTypeId="2" ParentId="15104" CreationDate="2018-12-10T23:30:56.840" Score="0" Body="&lt;p&gt;I've done some SC9 AWS setups, but have not used RDS as I don't believe it is officially supported by Sitecore. I would encourage you to reach out to Sitecore to make sure they will support your solution should you have the need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In doing my own research and having bookmarked many topics, I did find this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jeroen-de-groot.com/2018/07/19/deploying-sitecore-9-in-aws-rds/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeroen-de-groot.com/2018/07/19/deploying-sitecore-9-in-aws-rds/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where I think this might be helpful to you is that it specifically addresses some database errors and its fairly recent (July 2018). Maybe this will help?&lt;/p&gt;&#xA;" OwnerUserId="2049" LastActivityDate="2018-12-10T23:30:56.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15478" PostTypeId="1" CreationDate="2018-12-11T05:54:17.410" Score="1" ViewCount="873" Body="&lt;p&gt;I have configured an environment for Sitecore XP 8.2.7 and it seems it is not somehow using cache properly when opening Content Editor since it takes just too long time for the initial loading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the possible cause for this? Settings were wrong?&#xA;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastActivityDate="2018-12-11T07:57:45.833" Title="Opening Content Editor taking too long time to load" Tags="|configuration|content-editor|caching|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15479" PostTypeId="2" ParentId="15478" CreationDate="2018-12-11T06:11:53.797" Score="1" Body="&lt;p&gt;Can you please check from the browser console logs for any errors and access deny and Sitecore &lt;code&gt;Data/logs/log.txt&lt;/code&gt; file for more info?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, are you using Xdb? If not then you should set the properties &lt;code&gt;Xdb.Enabled&lt;/code&gt; and &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; as false in &lt;code&gt;Sitecore.Xdb.config&lt;/code&gt; (please see screenshot).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/U1z0P.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/U1z0P.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if you have more info on this.&lt;/p&gt;&#xA;" OwnerUserId="2153" LastEditorUserId="35" LastEditDate="2018-12-11T07:57:45.833" LastActivityDate="2018-12-11T07:57:45.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15480" PostTypeId="2" ParentId="13124" CreationDate="2018-12-11T08:24:41.800" Score="1" Body="&lt;p&gt;I belive this is happening because &lt;code&gt;sitecoreinstance.xconnect&lt;/code&gt; is stopped at IIS. I manually stopped the website and got this error and at the next installation I did not stop it and Sitecore Experience Commerce 9.0.3 installed successfully.&lt;/p&gt;&#xA;" OwnerUserId="4610" LastActivityDate="2018-12-11T08:24:41.800" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15482" PostTypeId="2" ParentId="15310" CreationDate="2018-12-11T11:47:03.427" Score="5" Body="&lt;p&gt;I experienced the same issue and looking into the Automation Engine logs I could see that before the failed initialisation, it was throwing an xConnect connection error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;i&gt;Sitecore.XConnect.XdbCollectionUnavailableException: The HTTP response was not successful: Forbidden&lt;/i&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the IIS logs, it was throwing a 403.16 and some googling led me to this post:&#xA;&lt;a href=&quot;https://sitecorecorner.com/tag/ssl/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecorecorner.com/tag/ssl/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;which in turn took me to the solution here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&quot;&gt;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue was that there were some non-self-signed certificates in the Trusted Root Certification Authorities (i.e. Root) store. The second post listed above provides some handy Powershell that fixed the problem by removing the offending certificates. The certificates in my case were installed as part of my company's standard Windows 10 image.&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2018-12-11T11:47:03.427" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15483" PostTypeId="2" ParentId="12009" CreationDate="2018-12-11T11:58:57.147" Score="3" Body="&lt;p&gt;I had this same error today and in my instance it was due to my adding a new placholder to the layout (code first) and not adding it to the &lt;code&gt;rootPlaceholders&lt;/code&gt; setting in package.json (AFAIK this is only referenced in the &lt;a href=&quot;https://jss.sitecore.com/release-notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;JSS 11 release notes&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="491" LastActivityDate="2018-12-11T11:58:57.147" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15484" PostTypeId="1" CreationDate="2018-12-11T12:38:17.360" Score="2" ViewCount="514" Body="&lt;p&gt;In Sitecore 9.02 I get this error running any script in Powershell ISE. Console works fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   Cognifide.PowerShell.Core.Settings.c__DisplayClass88_0.b__0(ItemEditArgs p) +402&#xA;   Cognifide.PowerShell.Core.Extensions.ItemExtensions.Edit(Item item, Action`1 action) +688&#xA;   Cognifide.PowerShell.Core.Settings.ApplicationSettings.Save() +277&#xA;   Cognifide.PowerShell.Client.Applications.PowerShellIse.JobExecuteScript(ClientPipelineArgs args, String scriptToExecute, ScriptSession scriptSession, Boolean autoDispose, Boolean debug) +1793&#xA;   Cognifide.PowerShell.Client.Applications.PowerShellIse.JobExecuteScript(ClientPipelineArgs args, String scriptToExecute, Boolean debug) +1252&#xA;   Cognifide.PowerShell.Client.Applications.PowerShellIse.Debug(ClientPipelineArgs args) +199&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="4696" LastEditorUserId="70" LastEditDate="2018-12-11T13:07:34.100" LastActivityDate="2018-12-11T13:07:34.100" Title="SPE Object reference not set to an instance of an object" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15485" PostTypeId="1" AcceptedAnswerId="15493" CreationDate="2018-12-11T12:55:30.990" Score="3" ViewCount="3081" Body="&lt;p&gt;A brand new local XP0 developer install of Sitecore 9.1 continually throws the following errors in the xConnect logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2018-12-11 20:43:33.928 +08:00 [Error] Sitecore.XConnect.Operations.AddContactOperation: Sitecore.XConnect.Operations.EntityOperationException: Operation #0, AlreadyExists, Contact&#xA;2018-12-11 20:43:33.929 +08:00 [Error] Sitecore.XConnect.Operations.SetFacetOperation`1[Sitecore.XConnect.Facet]: Sitecore.XConnect.Operations.FacetOperationException: Operation #1, ReferenceNotFound, Contact, Classification&#xA;2018-12-11 20:43:33.929 +08:00 [Error] [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;Sitecore.XConnect.Operations.EntityOperationException: Operation #0, AlreadyExists, Contact&#xA;2018-12-11 20:43:33.929 +08:00 [Error] [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;Sitecore.XConnect.Operations.FacetOperationException: Operation #1, ReferenceNotFound, Contact, Classification&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore XP website logs are clean and data is appearing in analytics. There is no custom code at all. Marketing definitions deployed, indexes rebuilt, but the error remains. Any suggestions ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2024-02-27T16:39:30.280" Title="xConnect log errors Batch Execution Exception &quot;AlreadyExists, Contact&quot;" Tags="|xconnect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15486" PostTypeId="2" ParentId="6039" CreationDate="2018-12-11T13:37:47.177" Score="1" Body="&lt;p&gt;There was a bug fix for this in Sitecore 8.2:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.166675/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sitecoresupport/Sitecore.Support.166675/releases&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It didn't make it into Sitecore 9.0, so ask support for the new fix if you experience similar memory leak issues in v9.&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2018-12-11T13:37:47.177" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15487" PostTypeId="1" CreationDate="2018-12-11T14:34:35.443" Score="1" ViewCount="1713" Body="&lt;p&gt;While running &lt;code&gt;.\XP0-SingleDeveloper.ps1&lt;/code&gt; at task 39 I am getting the error below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[-------------------------- XConnectXP0_RemoveServices [1] :&#xA;  RemoveService -------------------------------------------]&#xA;  Install-SitecoreConfiguration : Invalid namespace At&#xA;  C:\ResourceFiles\XP0-SingleDeveloper.ps1:74 char:1&#xA;  + Install-SitecoreConfiguration @singleDeveloperParams *&gt;&amp;amp;1 | Tee-Objec ...&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TIME] 00:00:54 Get-CimInstance : Invalid namespace At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Tasks\Invoke-RemoveServiceTask.ps1:10&#xA;  char:17&#xA;  + ... $instance = Get-CimInstance -Class win32_service -Filter &quot;Name = '$Na ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : MetadataError: (:) [Get-CimInstance], CimException&#xA;      + FullyQualifiedErrorId : HRESULT 0x8004100e,Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have Solr 7.2.1 up and running as a windows service. Don't understand what's causing this issue. Anyone had this before?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;This is failing while running the below Json.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;RemoveServices&quot;: {&#xA;            &quot;Description&quot;: &quot;Removes the current service.&quot;,&#xA;            &quot;Type&quot;: &quot;RemoveService&quot;,&#xA;            &quot;Params&quot;: [&#xA;                { &quot;Name&quot;: &quot;[variable('Services.IndexWorker.Name')]&quot; },&#xA;                { &quot;Name&quot;: &quot;[variable('Services.MarketingAutomationEngine.Name')]&quot; },&#xA;                { &quot;Name&quot;: &quot;[variable('Services.ProcessingEngine.Name')]&quot; }&#xA;            ]&#xA;        },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="312" LastEditDate="2018-12-13T13:46:14.977" LastActivityDate="2018-12-13T13:46:14.977" Title="Get-CimInstance : Invalid namespace while installing Sitecore 9.1" Tags="|solr|sitecore-install-framework|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15488" PostTypeId="2" ParentId="15464" CreationDate="2018-12-11T17:06:26.507" Score="0" Body="&lt;p&gt;This is a bug caused by breaking changes in Angular Schematics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have &lt;a href=&quot;https://github.com/Sitecore/jss/issues/90&quot; rel=&quot;nofollow noreferrer&quot;&gt;opened a bug on GitHub&lt;/a&gt; to track it - your feedback on the way it gets fixed is welcome.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2018-12-11T17:06:26.507" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15491" PostTypeId="2" ParentId="15449" CreationDate="2018-12-11T22:01:51.263" Score="6" Body="&lt;p&gt;The text you reference from the Exam Study Guide was at one point the intended structure for the certification program. There was a desire to create different levels, with Associate at the initial level, and Certified Professional being a second level that could be achieved. It remains to be seen if this will occur in the future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the time of this question, this has not happened. While the names are different, they are the same certification and yield all the same benefits. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore® 8.2 Professional Developer is for 8.2 and &lt;/li&gt;&#xA;&lt;li&gt;Sitecore® 9.0 Certified Platform Associate Developer is for 9.0.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="69" LastActivityDate="2018-12-11T22:01:51.263" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15492" PostTypeId="1" CreationDate="2018-12-12T01:08:40.660" Score="9" ViewCount="548" Body="&lt;p&gt;My team is experiencing an issue with Submit Actions in the Sitecore 9.0.1 Form Editor. When trying to edit existing submit actions, the edit button is disabled. And when trying to add a new one the &quot;+&quot; dropdown says there are no actions to display. I've tried reindexing the Form tree, rebuilding the core and master indexes, running unicorn, and republishing the site. This issue is present in all of our Sitecore environments from dev up to production. I see all the items related to our submit actions in the core db. Logging into Sitecore through an incognito window seems to fix the problem temporarily, however once I published the form I updated, the same issue appeared again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some screenshots:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sJLMN.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sJLMN.png&quot; alt=&quot;No actions to display&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jfRKP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jfRKP.png&quot; alt=&quot;Disabled edit action button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas on how to resolve this issue would be greatly appreciated. We don't want to have to jump through hoops every time we need to add or update submit actions. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3662" LastEditorUserId="3662" LastEditDate="2018-12-12T17:42:37.763" LastActivityDate="2024-02-16T00:54:15.003" Title="Submit actions disappeared from Sitecore 9 forms editor" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="6" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15493" PostTypeId="2" ParentId="15485" CreationDate="2018-12-12T03:16:42.047" Score="4" Body="&lt;p&gt;This was caused by installing after a prior installation which had failed, without deleting the SOLR indexes. Removing SOLR indexes and reinstalling fixed the issue.&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2018-12-12T03:16:42.047" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15496" PostTypeId="2" ParentId="15487" CreationDate="2018-12-12T09:10:48.333" Score="1" Body="&lt;p&gt;This suggests that you are missing the win32_service class in WMI for some reason. You should be able to repeat the error by running:&#xA;    &lt;code&gt;Get-CimInstance -Class Win32_Service&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blogs.technet.microsoft.com/askperf/2014/08/11/wmi-missing-or-failing-wmi-providers-or-invalid-wmi-class/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.technet.microsoft.com/askperf/2014/08/11/wmi-missing-or-failing-wmi-providers-or-invalid-wmi-class/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems to be good instructions on how to check and rebuild your WMI classes if needed. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2018-12-12T09:10:48.333" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15497" PostTypeId="2" ParentId="15036" CreationDate="2018-12-12T14:26:52.330" Score="1" Body="&lt;p&gt;After working with Sitecore support, it was identified as being due to the deadlock on the application start. The deadlock is caused by the analytics aggregation thread and Sitecore thread which runs initialization pipeline. &#xA;The scenario is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The first thread runs aggregation for the first time (once the first interaction hits analytics database) and tries to resolve types from configurations in the following method: &#xA;Sitecore.ExperienceAnalytics.Aggregation.FlexibleMetrics.Framework.Plumbing.FlexibleDimensionConfigReader.ReadFromConfig()&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When resolving a type from config a lock is acquired on the Microsoft.Extensions.DependencyInjection.ServiceProvider._resolvedServices dictionary.&#xA;During this type resolution a constructor of the Sitecore.Marketing.Definitions.Outcomes.Data.ItemDb.ItemOutcomeDefinitionRepository is called which tries to access the field of the analytics root item.&#xA;To do that a lock is requested on Sitecore.DependencyInjection.LazyResetable.InstanceLock object. &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;At the same time another thread executes custom &lt;strong&gt;Synthesis.Pipelines.Initialize.CheckModelSynchronization.DoLogSync()&lt;/strong&gt; processor of the  pipeline.&#xA;This processor then calls UCommerce.Sitecore.Security.SitecoreUserService.GetCurrentUserName() method which first accesses the field value and acquires lock on Sitecore.DependencyInjection.LazyResetable.InstanceLock and right after that tries to resolve dependency via a service provider.&#xA;To do that a thread should lock on Microsoft.Extensions.DependencyInjection.ServiceProvider._resolvedServices dictionary which is already held by the aggregation thread.  As the result application freezes.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Sitecore support provided a Hotfix specific to this Solution, but confirmed that this behavior is not expected and it was registered as a bug in their bug tracking system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's logged under the reference number 209972 - which looks like it relates to &lt;a href=&quot;https://kb.sitecore.net/articles/910936&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/910936&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1369" LastActivityDate="2018-12-12T14:26:52.330" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15498" PostTypeId="2" ParentId="7197" CreationDate="2018-12-12T15:04:31.913" Score="1" Body="&lt;p&gt;This is an old question but the answer for me was as simple as restarting the solr service - note that it took about 3 or 4 restarts for the content editor to start working again.&lt;/p&gt;&#xA;" OwnerUserId="4649" LastActivityDate="2018-12-12T15:04:31.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15499" PostTypeId="1" AcceptedAnswerId="15503" CreationDate="2018-12-12T15:37:01.640" Score="1" ViewCount="1401" Body="&lt;p&gt;I am trying to install Sitecore Commerce 9.0 Update-3 on my machine, but I am getting the following error.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.Management.Automation.PSArgumentException: Cannot find type [Microsoft.SqlServer.Dac.DacServices]: verify that the assembly containing this type is loaded.&#xA;     at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)&#xA;  Invoke-DeployCommerceDatabaseTask : Cannot find type [Microsoft.SqlServer.Dac.DacServices]: verify that the assembly containing this type is loaded.&#xA;  At X:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;  +                     &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-DeployCommerceDatabaseTask&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3auL1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3auL1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The assembly mentioned above is located in my machine &quot;X:\Program Files\Microsoft SQL Server\120\DAC\bin\Microsoft.SqlServer.Dac.dll&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also have installed all the prerequisites mentioned in the documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone been through this issue during Commerce installation?&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2018-12-12T21:32:27.460" Title="Cannot find type [Microsoft.SqlServer.Dac.DacServices] error when installing Sitecore Commerce 9.0 Update-3" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15500" PostTypeId="1" CreationDate="2018-12-12T15:48:08.113" Score="3" ViewCount="211" Body="&lt;p&gt;I am using &lt;strong&gt;Web Forms for Marketers 8.2.rev. 170518&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have made a save action that does nothing except throwing an exception. This is my first save action:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FailAction : ISaveAction&#xA;{&#xA;    public ID ActionID { get; set; }&#xA;&#xA;    public ActionType ActionType { get; set; }&#xA;&#xA;    public string UniqueKey { get; set; }&#xA;&#xA;    public ActionState QueryState(ActionQueryContext queryContext)&#xA;    {&#xA;        return ActionState.Enabled;&#xA;    }&#xA;&#xA;    public void Execute(ID formId, AdaptedResultList adaptedFields, ActionCallContext actionCallContext = null, params object[] data)&#xA;    {&#xA;        throw new Exception(&quot;Fail Action has failed&quot;, null);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But now the other Save Actions are executed as well, like sending email etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can I do to prevent the other save actions to be executed if a previous save actions fail? Or do I need more than just an exception to make a save action &quot;fail&quot;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&lt;/p&gt;&#xA;" OwnerUserId="4767" LastEditorUserId="35" LastEditDate="2018-12-13T12:46:29.950" LastActivityDate="2019-01-12T17:02:25.520" Title="How to cancel save actions?" Tags="|wffm|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15501" PostTypeId="2" ParentId="14038" CreationDate="2018-12-12T16:06:43.327" Score="7" Body="&lt;p&gt;There are several solutions to this problem, but the end result is the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, &lt;code&gt;Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider&lt;/code&gt; indicates that Sitecore is relying on SQL 2016 tooling &lt;a href=&quot;https://stackoverflow.com/questions/18753886/sql-server-file-names-vs-versions&quot;&gt;&lt;em&gt;(130 = SQL 2016)&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second, the tooling does not need to be installed on the dedicated SQL instance but instead needs to be applied to where the Sitecore install is being executed (CM, CD, etc.). This is due to the need for the &lt;a href=&quot;https://kb.sitecore.net/articles/019579&quot; rel=&quot;noreferrer&quot;&gt;Sitecore installer to build deployment packages&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore Azure Toolkit 1.1 relies on Microsoft Web Deploy 3.6 to build&#xA;  deployment packages for Sitecore Experience Platform and modules.&#xA;  Microsoft Web Deploy dynamically loads SQL Server Data-Tier&#xA;  application framework, SQL ScriptDOM, and SQL CLRTypes components&#xA;  using automatic version detection.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;(Note: the paragraph below is correct in some circumstances, but not all)&lt;/em&gt;&#xA;Third, even though SQL 2016 corresponds to version &lt;code&gt;130&lt;/code&gt; behind-the-scenes, the DAC files are installed in the &lt;code&gt;140&lt;/code&gt; folder. Keep this in mind with the solutions listed below. The &lt;code&gt;140&lt;/code&gt; is &lt;strong&gt;not&lt;/strong&gt; a typo.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Solution 1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;(Some people may find this the simplest)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Install a full version of SQL Management Studio 2016 &lt;strong&gt;SP1&lt;/strong&gt; on the Web Server (or locally if this is a local install). 2016 SP2 is not officially supported, though it &lt;em&gt;can&lt;/em&gt; work in my experience. However, to rule out other issues, use SP1 to be certain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check SQL Version with PowerShell&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Invoke-Sqlcmd -Query &quot;SELECT @@VERSION;&quot; -QueryTimeout 3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With SQL installed, you will still need to execute the regedits outlined below.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Solution 2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Install the SQL Server Data-Tier Application Framework. The installer can be found here: &lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=56508&quot; rel=&quot;noreferrer&quot;&gt;https://www.microsoft.com/en-us/download/details.aspx?id=56508&lt;/a&gt; (This is confirmed to work properly with SQL 2016 SP1)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After installation completes, perform the regedits outlined below.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Solution 3&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If relying on Azure ARM templates for deployment, &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/virtual-machines/windows/cli-ps-findimage&quot; rel=&quot;noreferrer&quot;&gt;there are several choices for deploying a Virtual Machine image&lt;/a&gt;. In this particular case, to reduce the amount of manual work, it's simplest to deploy a VM with the following image references:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Publisher: MicrosoftSQLServer&lt;/li&gt;&#xA;&lt;li&gt;Offer: SQL2016SP2-WS2016&lt;/li&gt;&#xA;&lt;li&gt;Sku: Standard&lt;/li&gt;&#xA;&lt;li&gt;Version: latest&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This image will preinstall SQL to the web server. Granted it adds the extra overhead of the SQL install, but the service does not need to run, only the tooling is needed during the Sitecore install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After deployment completes, perform the regedits outlined below. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Mandatory Regedits&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Regardless of the solution chosen, perform the following operations on the web server that is installing the Sitecore databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, determine your DAC version.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to either &lt;code&gt;\%ProgramFiles(x86)%\Microsoft SQL Server\130&lt;/code&gt; or &lt;code&gt;\%ProgramFiles(x86)%\Microsoft SQL Server\140&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Whichever directory contains &lt;code&gt;\DAC\bin&lt;/code&gt; and contains &lt;code&gt;Microsoft.SqlServer.Dac.dll&lt;/code&gt;, &lt;code&gt;Microsoft.SqlServer.TransactSql.ScriptDom.dll&lt;/code&gt; and &lt;code&gt;Microsoft.SqlServer.Types.dll&lt;/code&gt; is your DAC Version.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Substitute either &lt;code&gt;130&lt;/code&gt; or &lt;code&gt;140&lt;/code&gt; where &lt;code&gt;&amp;lt;Dac Version&amp;gt;&lt;/code&gt; is listed below.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set the path to the Data-Tier application framework in Windows Registry:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Locate the installation folder of the MS SQL server version that you are using: &lt;code&gt;\%ProgramFiles(x86)%\Microsoft SQL Server\&amp;lt;Dac Version&amp;gt;&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Find the Microsoft.SqlServer.Dac.dll file in one of the subfolders: &lt;code&gt;\DAC\bin or \SDK\Assemblies&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Store the full path to this subfolder as a DacFxPath value (String type) under the registry key &lt;code&gt;\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set the path to the SQL ScriptDOM and CLRTypes components in Windows Registry:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Locate the installation folder of the MS SQL server version that you are using: &lt;code&gt;\%ProgramFiles(x86)%\Microsoft SQL Server\&amp;lt;Dac Version&amp;gt;&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Find the Microsoft.SqlServer.TransactSql.ScriptDom.dll and Microsoft.SqlServer.Types.dll files in one of the subfolders: &lt;code&gt;\DAC\bin or \SDK\Assemblies&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Store the full path to this subfolder as a DacFxDependenciesPath value (String type) under the registry key &lt;code&gt;\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Ref: &lt;a href=&quot;https://kb.sitecore.net/articles/019579&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/019579&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2019-08-05T12:55:26.190" LastActivityDate="2019-08-05T12:55:26.190" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15503" PostTypeId="2" ParentId="15499" CreationDate="2018-12-12T21:32:27.460" Score="3" Body="&lt;p&gt;Ok, so it looks like the SIF script is hardcoded to look in C:\, and isn't dynamically changing the drive letter to x:\ for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look in &quot;SIF.Sitecore.Commerce.1.4.7\Modules\DeployCommerceDatabase\DeployCommerceDatabase.psm1&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find the following two methods you'll need up update.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function GetSqlDacVersion&#xA;{&#xA;    # load in DAC DLL (requires config file to support .NET 4.0)&#xA;    # change file location for a 32-bit OS&#xA;    # param out the base path of SQL Server&#xA;    $sqlServerVersions = @(&quot;140&quot;, &quot;130&quot;, &quot;120&quot;, &quot;110&quot;);&#xA;    $sqlCurrentVersion = &quot;&quot;&#xA;    $baseSQLServerPath = &quot;C:\Program Files (x86)\Microsoft SQL Server\{0}\DAC\bin\Microsoft.SqlServer.Dac.dll&quot;;&#xA;&#xA;    .........&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and this one&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function DeployDacpac&#xA;(&#xA;    [Parameter(Mandatory=$true)][string]$dacpac, &#xA;    [Parameter(Mandatory=$true)]$connStr,&#xA;    [Parameter(Mandatory=$true)]$databaseName&#xA;)&#xA;{&#xA;    Write-Host &quot;Importing DACPAC $($dacpac)&quot;&#xA;&#xA;    # load in DAC DLL (requires config file to support .NET 4.0)&#xA;    # change file location for a 32-bit OS&#xA;    # param out the base path of SQL Server&#xA;    $sqlServerVersions = @(&quot;140&quot;, &quot;130&quot;, &quot;120&quot;, &quot;110&quot;);&#xA;    $sqlCurrentVersion = &quot;&quot;&#xA;    $baseSQLServerPath = &quot;C:\Program Files (x86)\Microsoft SQL Server\{0}\DAC\bin\Microsoft.SqlServer.Dac.dll&quot;;&#xA;&#xA;    ......&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can you update the path in both of these methods to be x:\ and try again?&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2018-12-12T21:32:27.460" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15504" PostTypeId="1" AcceptedAnswerId="15505" CreationDate="2018-12-13T06:57:42.340" Score="4" ViewCount="673" Body="&lt;p&gt;In the Content Management (CM) environment, &lt;code&gt;/Sitecore&lt;/code&gt; is loading correctly with login screen, but when we input credentials and hit on Login button, it just keeps loading and finally gives 500 timeout error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we input incorrect credentials, it immediately shows &quot;&lt;em&gt;Your login attempt was not successful. Please try again.&lt;/em&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the issue here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 9 Update 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Azure PaaS&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="1003" LastEditorUserId="312" LastEditDate="2018-12-13T13:42:24.493" LastActivityDate="2020-07-17T01:13:04.970" Title="Sitecore Client login Timeout error - Azure PaaS" Tags="|sitecore-client|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15505" PostTypeId="2" ParentId="15504" CreationDate="2018-12-13T06:57:42.340" Score="7" Body="&lt;p&gt;With the help of Sitecore support, we finally found root cause.&#xA;They provided a patch for &lt;em&gt;&quot;SC_TICKET entries are never cleared from Properties table.&quot;&lt;/em&gt; (#&lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.223702&quot; rel=&quot;noreferrer&quot;&gt;223702&lt;/a&gt;), this issue is fixed in &lt;strong&gt;Sitecore 9.1&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information on this from the blog post &lt;a href=&quot;https://hishaamn.wordpress.com/2016/04/26/sitecore-authentication-ticket-cleanup/&quot; rel=&quot;noreferrer&quot;&gt;https://hishaamn.wordpress.com/2016/04/26/sitecore-authentication-ticket-cleanup/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore create a ticket for each user when login onto the CMS. This ticket entry is stored in the Properties table of the Core database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Login into the CMS may become slow with time and also based on the number of users accessing the CMS. This is because of the large number of ticket records being stored in the Properties table. There is currently an agent which performs the cleanup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the agent is not so efficient. We had this issue on our Content Management Environment whereby the login was taking about more than 5 mins to get into the CMS. For some users, they received a timeout message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Immediate Fix:&lt;/strong&gt;&#xA;When we ran the below query, against Core database, we can see there are thousands of records,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT Count(ID) FROM [dbo].[Properties]&#xA;  WHERE [Key] LIKE '%TICKET%'&#xA;  AND [VALUE] LIKE '%sitecore\virtualssuser%'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After deleting the records, slowness and timeout issues disappeared.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Permanent Fix:&lt;/strong&gt; Apply the patch provided by the Support team, which contains a config file and an assembly.&lt;/p&gt;&#xA;" OwnerUserId="1003" LastEditorUserId="312" LastEditDate="2018-12-13T13:44:30.683" LastActivityDate="2018-12-13T13:44:30.683" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15506" PostTypeId="1" CreationDate="2018-12-13T07:28:25.510" Score="13" ViewCount="1471" Body="&lt;p&gt;I know that we have already many questions answering for &quot;How to become an MVP&quot; etc. But I see that it is not really clear what should NOT be added in the nomination forms. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please share with me your experience and add here everything that in your opinion will NOT help people in the MVP nominations process? &lt;/p&gt;&#xA;" OwnerUserId="228" LastEditorUserId="312" LastEditDate="2018-12-13T13:00:11.460" LastActivityDate="2018-12-14T12:12:10.607" Title="MVP Nominations - What should NOT be added in the forms during nomination process?" Tags="|community|mvp|" AnswerCount="5" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15507" PostTypeId="2" ParentId="15506" CreationDate="2018-12-13T08:02:21.743" Score="13" Body="&lt;p&gt;Simply, what you did for the &lt;strong&gt;community&lt;/strong&gt; not for your clients or your company.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2018-12-13T08:02:21.743" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15508" PostTypeId="2" ParentId="15506" CreationDate="2018-12-13T08:59:15.213" Score="15" Body="&lt;p&gt;Shortly put; &quot;What you've done for the Sitecore Community&quot;.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Officially&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;This year, it was divided into 4 sections.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Motivation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;What motivates you in your community work. And &quot;I want to become MVP&quot; is not going to impress anyone ;-)&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Objectives (for next year)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;What are your plans for community work next year. Regardless of MVP status.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Online Activities (this year)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;A list of everything you've done, that we can track online. Open Source contributions, blogs, tweets, whatever it may be.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Offline Activities (this year)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;And a list of what you've been up to, that isn't easily tracked online. User Group presentations, other offline activities.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;And a few notes and considerations&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The work you do in everyday life, working for your boss/employer - none of that needs to be part of your application. You don't get MVP for doing your job.  It's fine you did a client workshop on SXA because a client asked for one; it's also fine that you built and delivered an Experience Awards winning site for another client. It's just not related to MVP status :-)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And scrambling onto every social media channel mid October when MVP season starts (but nothing going on for the entire year before October)... Good start - keep it up for the next round of nominations ;-)&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="312" LastEditDate="2018-12-13T12:59:05.423" LastActivityDate="2018-12-13T12:59:05.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15509" PostTypeId="2" ParentId="14879" CreationDate="2018-12-13T10:07:43.697" Score="0" Body="&lt;p&gt;I had &lt;code&gt;ContentTesting.AutomaticContentTesting.Enabled&lt;/code&gt; set to &lt;code&gt;false&lt;/code&gt; at &lt;code&gt;Sitecore.ContentTesting.config&lt;/code&gt;. After I have changed it to true ab testing works correctly.&lt;/p&gt;&#xA;" OwnerUserId="4080" LastEditorUserId="35" LastEditDate="2018-12-13T12:41:33.187" LastActivityDate="2018-12-13T12:41:33.187" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15511" PostTypeId="1" AcceptedAnswerId="15517" CreationDate="2018-12-13T11:50:36.063" Score="15" ViewCount="6496" Body="&lt;p&gt;&lt;strong&gt;What:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to install sitecore XP1 architecture. I already have a signed certificate. My issue comes when I try to configure sitecore on my solr. Sitecore 9.0.1 rev. 171219. SOLR 6.6.4. Windows server 2016. JRE 1.8.0_191&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I did :&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Installed iis &lt;/li&gt;&#xA;&lt;li&gt;Installed Web Platform Installer &lt;/li&gt;&#xA;&lt;li&gt;Installed Java JRE (and add java_home to the Environment Variables)&lt;/li&gt;&#xA;&lt;li&gt;Installed SOLR (and created a service with NSSM to run solr at boot time)&lt;/li&gt;&#xA;&lt;li&gt;Installed certificate with keytool.exe // configure solr.in.cmd // bind iis with the certificate &lt;/li&gt;&#xA;&lt;li&gt;Installed FrameWork Sitecore from MyGet&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Until here everything is working fine. The service is running and I can connect to my SOLR in HTTPS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue :&lt;/strong&gt; &#xA;When I run this command &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$solrParams =&#xA;@{&#xA;    Path = &quot;C:\Sitecore\installer\config\xconnect-solr.json&quot;     &#xA;    SolrUrl = &quot;https://blabla.bla.com:8984/solr&quot;    &#xA;    SolrRoot = &quot;C:\Sitecore\solr-6.6.4&quot;&#xA;    SolrService = &quot;solr&quot;&#xA;    CorePrefix = &quot;sc_pprd&quot;&#xA;}&#xA;Install-SitecoreConfiguration @solrParams -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can see everything is going great without any warning then the CreateCores step fail:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[------------------------------------------------------ CreateCores [1] : ManageSolrCore -------------------------------------------------------]&#xA;VERBOSE: Performing the operation &quot;Requesting&quot; on target &quot;https://blabla.bla.com:8984/solr&quot;.&#xA;[CreateCores [1]]:[Requesting] https://blabla.bla.com:8984/solr&#xA;VERBOSE: GET https://blabla.bla.com:8984/solr with 0-byte payload&#xA;VERBOSE: received 13592-byte response of content type text/html;charset=utf-8&#xA;VERBOSE: Performing the operation &quot;Invoke-ManageSolrCoreTask -Address https://blabla.bla.com:8984/solr -Action Create&quot; on target &quot;https://blabla.bla.com:8984/solr&quot;.&#xA;[CreateCores [1]]:[SolrCore] Performing Create on https://blabla.bla.com:8984/solr&#xA;&#xA;VERBOSE: Updating Solr: Uri =&amp;gt; 'https://blabla.bla.com:8984/solr/admin/cores?action=Create&amp;amp;Name=sc_pprd_xdb&amp;amp;wt=json'&#xA;VERBOSE: GET https://blabla.bla.com:8984/solr/admin/cores?action=Create&amp;amp;Name=sc_pprd_xdb&amp;amp;wt=json with 0-byte payload&#xA;Install-SitecoreConfiguration : Missing required parameter: name&#xA;At C:\Sitecore\installer\config\solr_instal_pprd.ps1:10 char:1&#xA;+ Install-SitecoreConfiguration @solrParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:15&#xA;Invoke-ManageSolrCoreTask : Missing required parameter: name&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:25&#xA;+                         &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-ManageSolrCoreTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I must say that for the moment no link is set between the SOLR server and the SQL server. I can't understand why and where I should add an argument name.&lt;/p&gt;&#xA;" OwnerUserId="4770" LastActivityDate="2020-08-04T09:46:16.937" Title="Install-SitecoreConfiguration xconnect-solr.json - Error Invoke-ManageSolrCoreTask : Missing required parameter: name" Tags="|solr|configuration|xconnect|installation|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15513" PostTypeId="1" CreationDate="2018-12-13T12:33:11.623" Score="1" ViewCount="760" Body="&lt;p&gt;I am using Sitecore's render method to construct the query strings for image assets, but I have a small challenge parsing custom parameters into the rendered query string in the HTML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems that the render pipeline has some logic to interpret certain parameters and adds them to the query string, but anything else it adds as an attribute on the &lt;code&gt;img&lt;/code&gt; tag (example below).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you add a parameter such as &quot;h&quot; for height:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@imageField.Render(parameters: &quot;h=200&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;output html:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;image &quot;&amp;gt;&#xA;  &amp;lt;img src=&quot;/~/media/cvi-2-color-icons/icon-faq-384x140.png?h=200&quot; alt=&quot;&quot; height=&quot;200&quot;&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, if I write something like &quot;optimize&quot;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@imageField.Render(parameters: &quot;optimize=200&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;output html:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;image &quot;&amp;gt;&#xA;  &amp;lt;img src=&quot;/~/media/cvi-2-color-icons/icon-faq-384x140.png&quot; alt=&quot;&quot; optimize=&quot;200&quot;&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a good way to override this behavior or hook into the pipeline and allow additional parameter strings?&lt;/p&gt;&#xA;" OwnerUserId="4772" LastEditorUserId="342" LastEditDate="2018-12-13T12:49:56.967" LastActivityDate="2018-12-13T12:49:56.967" Title="Custom parameters in media URL query string - Sitecore render method/pipeline" Tags="|media-library|pipelines|renderfield|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15514" PostTypeId="2" ParentId="15511" CreationDate="2018-12-13T13:08:41.263" Score="0" Body="&lt;p&gt;I just ran into this same issue and it's because of this line in the sitecore script&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;VERBOSE: Updating Solr: Uri =&amp;gt; 'https://blabla.bla.com:8984/solr/admin/cores?action=Create&amp;amp;Name=sc_pprd_xdb&amp;amp;wt=json'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is that the &quot;Name&quot; paramter in the URI they are executing has a capital &quot;N&quot;. If you try to invoke that same URI in a browser with a lowercase &quot;n&quot; it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem I am facing now is how to run this script without that error happening. Is this something that Sitecore has to change in their SIF code?&lt;/p&gt;&#xA;" OwnerUserId="3404" LastActivityDate="2018-12-13T13:08:41.263" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15515" PostTypeId="2" ParentId="15506" CreationDate="2018-12-13T13:12:38.130" Score="10" Body="&lt;p&gt;Aside from what was already answered by Mark and Tamás, I see a lot of confusion in people thinking MVP status is about being experienced with Sitecore like &quot;Developer A has been working with Sitecore for 8 years so he deserves an MVP status because he is a great developer and does great work&quot;. Again if Developer A is not active in community, social channels, slack, community forums, essentially does not contribute to the community in any way they are not eligible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember it's related to how much the community benefit from what you have been doing(not your clients or company). &lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2018-12-13T13:32:15.760" LastActivityDate="2018-12-13T13:32:15.760" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15516" PostTypeId="1" CreationDate="2018-12-13T13:13:53.200" Score="2" ViewCount="49" Body="&lt;p&gt;I am trying to increase the &lt;code&gt;Analytics.MaxAcceptedClockDeviation&lt;/code&gt; to a large number, but keep getting:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;3876 23:11:29 WARN  The &quot;Analytics.MaxAcceptedClockDeviation&quot; setting contains an invalid value. The default value is used instead. Invalid value: &quot;0.24:00:00&quot;. Default value: &quot;00:00:10&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The default configuration value is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.MaxAcceptedClockDeviation&quot; value=&quot;0.00:00:10&quot; patch:source=&quot;Sitecore.Xdb.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is valid format for this setting? For example for setting it to 24 hours?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2018-12-13T13:53:02.780" LastActivityDate="2018-12-13T13:53:02.780" Title="Valid Analytics.MaxAcceptedClockDeviation values" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15517" PostTypeId="2" ParentId="15511" CreationDate="2018-12-13T13:15:16.233" Score="22" Body="&lt;p&gt;Maybe you are facing a problem with the SitecoreInstallationFramework version?&lt;/p&gt;&#xA;&lt;p&gt;Sitecore 9.0.X requires 1.2.1:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module -Name SitecoreInstallFramework -RequiredVersion 1.2.1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Sitecore.9.1.0 requires 2.0.0:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.0.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Sitecore.9.1.1 requires 2.1.0:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.1.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Sitecore.9.2.0 requires 2.1.0:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.1.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Sitecore.9.3.0 requires 2.2.0:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.2.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Sitecore.10.0.0 requires 2.3.0:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.3.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4769" LastEditorUserId="4769" LastEditDate="2020-08-04T09:46:16.937" LastActivityDate="2020-08-04T09:46:16.937" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15519" PostTypeId="2" ParentId="15516" CreationDate="2018-12-13T13:37:08.620" Score="4" Body="&lt;p&gt;&lt;code&gt;TimeSpan&lt;/code&gt; settings in Sitecore use &lt;code&gt;DateUtil.ParseTimeSpan&lt;/code&gt; method internally&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following metadata of that method: &lt;em&gt;Format must be 00:00:00 representing hours, minutes and seconds. A fourth optional part may be added, representing milliseconds (ie. 00:00:00:00)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are using &quot;.&quot; in the value, which is not correct.(Sitecore don't expect usage of dot character in this type of settings at all). Remove &quot;0.&quot; from your setting and I suppose it will start to work.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2018-12-13T13:37:08.620" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15520" PostTypeId="2" ParentId="15506" CreationDate="2018-12-13T13:39:41.607" Score="11" Body="&lt;p&gt;Something else to add here is that it will depend on the type of MVP you are going for:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Technology MVP&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;All of the above. Doesn't matter how long you have been working with Sitecore or what your skill level is, a Technology MVP is all about contributing to the community.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Digital Strategist MVP&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Again this is about contributions, but sometimes with a strategy role, the work you do cannot be shared with the community due to NDA with clients etc... So with this type of MVP, you can detail in the nomination what you have done to help clients realize their digital strategy using Sitecore - but community involvement is still important if you can&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Commerce MVP&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Similar to Technology MVP but with a slant toward Commerce and also those that are using Sitecore Experience Commerce to deliver client solutions. Although, I would guess that those 2 things go together anyway :)&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Ambassador MVP&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is less about community contributions and more about people who help provide Sitecore with feedback on the product and participate in panels setup by Sitecore for this purpose. They should still participate in community events, but will probably be doing more behind the scenes work to help Sitecore than other MVP types.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;tl/dr;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Community, Community, Community - and the important thing to note here is that it is &lt;em&gt;contributing&lt;/em&gt; to the community, not just &lt;em&gt;watching&lt;/em&gt; community. Being &lt;em&gt;on&lt;/em&gt; Slack or SSE isn't a contribution - actively participating, answering/asking questions, presenting, writing your &lt;em&gt;own&lt;/em&gt; blog posts - that is the key and what should go on the form. Adding that you watched a video on Sitecore on YouTube! probably not!&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2018-12-13T13:39:41.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15521" PostTypeId="2" ParentId="15466" CreationDate="2018-12-13T15:45:12.620" Score="0" Body="&lt;p&gt;This was a strange one. It was our own custom code that caused it, but it's possible someone could run into a similar issue so I'll add my findings here.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Relevant context&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We have an &lt;code&gt;item:deleted&lt;/code&gt; event handler for pages that also deletes a corresponding item in a data folder.&lt;/li&gt;&#xA;&lt;li&gt;We have applied &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.321270.321271.103751&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's 321270.321271.103751 hotfix&lt;/a&gt; which updates the &lt;code&gt;\sitecore\shell\Applications\WebEdit\WebEditRibbon.aspx&lt;/code&gt; file (used for the ribbon in the Experience Editor) and also the referenced &lt;code&gt;Sitecore.Support.Shell.Applications.WebEdit.WebEditRibbonForm&lt;/code&gt;.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This change involves checking the site of current item to ensure links are generated properly&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;WebEditRibbonForm&lt;/code&gt; class has a &lt;code&gt;DeletedNotification(object sender, ItemDeletedEventArgs args)&lt;/code&gt; method that is called for each item that's deleted which, in our case, was first the page and then the page's data folder.&lt;/li&gt;&#xA;&lt;li&gt;This &lt;code&gt;DeletedNotification(...)&lt;/code&gt; method saves the ID of the parent of the item that was deleted so that, when the time comes, it could be redirected to&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;What was happening?&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;So here's how it was happening that wasn't working:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;User clicks delete in Experience Editor&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;WebEditRibbonForm&lt;/code&gt; receives &lt;code&gt;DeletedNotification&lt;/code&gt; for page, saves parent ID of the page into &lt;code&gt;parentID&lt;/code&gt; private field&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;WebEditRibbonForm&lt;/code&gt; receives &lt;code&gt;DeletedNotification&lt;/code&gt; for page's data folder, saves parent ID of the page's data folder into the &lt;code&gt;parentID&lt;/code&gt; private field&lt;/li&gt;&#xA;&lt;li&gt;Deletions complete successfully&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;WebEditRibbonForm&lt;/code&gt; receives call to &lt;code&gt;Redirect()&lt;/code&gt; method, which needs to respond with the URL to the page to load next (the parent of the deleted item is expected)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;WebEditRibbonForm&lt;/code&gt; uses the &lt;code&gt;parentID&lt;/code&gt; private field to look for the item and checks to see if it or any of its parents have layout details&lt;/li&gt;&#xA;&lt;li&gt;They don't (because the &lt;code&gt;parentID&lt;/code&gt; is in the data area, not a page), so it returns an invalid link&lt;/li&gt;&#xA;&lt;li&gt;The page tries to redirect, but at the destination receives the error from the question&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To fix it, I applied the following changes:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Updated &lt;code&gt;WebEditRibbonForm&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Create a custom &lt;code&gt;WebEditRibbonForm&lt;/code&gt; with a simple change:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomWebEditRibbonForm : Sitecore.Support.Shell.Applications.WebEdit.WebEditRibbonForm&#xA;{&#xA;    protected override void DeletedNotification(object sender, ItemDeletedEventArgs args)&#xA;    {&#xA;        // Only save the parent ID for redirection if this is a deletion notification for a page&#xA;        if (args.Item.IsDerived(new ID(&quot;ID-OF-BASE-PAGE-TEMPLATE&quot;)))&#xA;            base.DeletedNotification(sender, args); &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Updated &lt;code&gt;WebEditRibbon.aspx&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Update the CodeBeside to use the custom &lt;code&gt;WebEditRibbonForm&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc:CodeBeside runat=&quot;server&quot; Type=&quot;Custom.CustomWebEditRibbonForm,Custom&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-13T15:45:12.620" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15522" PostTypeId="1" CreationDate="2018-12-13T15:57:00.873" Score="2" ViewCount="1861" Body="&lt;p&gt;when trying to connect to XConnect and do any operation like &quot;Deploy Market Definitions&quot; from control panel. This particular error above happens when Sitecore is starting up. I have no idea where to look for or what could be causing this error, can anyone give me a tip?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;7812 05:41:26 FATAL [Experience Analytics]: Failed to synchronize segments. Message: typeKey should not be null.&#xA;Parameter name: typeKey. Details:    at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.GetByTypeAsync(DefinitionTypeKey typeKey)&#xA;at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.GetAll(NameValueCollection readingPreferences)&#xA;at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.GetSegmentsToSynchronize()&#xA;at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.SynchronizeAllSegments()&#xA;at System.Threading.Tasks.Task.Execute()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsProcessor.&amp;lt;Process&amp;gt;d__4.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="897" LastActivityDate="2022-05-30T17:24:11.553" Title="Failed to synchronize segments. Message: typeKey should not be null" Tags="|experience-analytics|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15525" PostTypeId="2" ParentId="15500" CreationDate="2018-12-13T16:06:49.320" Score="3" Body="&lt;p&gt;I found this blog &lt;a href=&quot;https://www.exlrt.com/blog/handling-faulted-state-in-sitecore-wffm-save-actions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.exlrt.com/blog/handling-faulted-state-in-sitecore-wffm-save-actions&lt;/a&gt; that mentions this behavior as a bug in WFFM in older versions but it might be still present in yours.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;WFFM does handle faulted state in form verification actions, but not&#xA;  in save actions. A while ago, I have filed a support ticket (#441302)&#xA;  for this incorrect behavior and the support team has registered it as&#xA;  a bug in Sitecore WFFM 8.0 rev. 150224. That was when I used Sitecore&#xA;  8.0 Update 2. Now, with Sitecore 8.1 Update 2, still the same version of WFFM is used and that means the bug is still present.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The solution presented in the blog is to create your own &quot;error&quot; state (a context value) which works with custom save actions but (as they also mention) not with the ootb ones. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I would reach out to Sitecore Support and ask them (maybe refer to that post).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-12-13T16:06:49.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15526" PostTypeId="1" AcceptedAnswerId="15935" CreationDate="2018-12-13T16:53:42.433" Score="2" ViewCount="719" Body="&lt;p&gt;We are implementing JSS in headless SSR mode, we would like to know a way to virtually login to Sitecore from our JSS components. I mean the user authentication will happen with an external system from JSS component, once the user is authenticated we would like to create a virtual user/session in Sitecore context. This virtual user will be having an external domain roles as well. With this we could able to assign security to any of the item in Sitecore, we create our own custom personalization rules using custom properties, while rule evaluation we use virtual user properties which we set during login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions will really help..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2020-02-12T21:14:54.530" LastActivityDate="2020-02-12T21:14:54.530" Title="Virtual Login in Sitecore 9.1 using JSS" Tags="|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15527" PostTypeId="1" CreationDate="2018-12-13T17:09:35.727" Score="3" ViewCount="118" Body="&lt;p&gt;We are deploying a multi-location Sitecore deployment into Azure. The CMS and one CD runs out of Europe. For front end performance reasons we are also hosting a CD over in Australia - a CDN is not a viable option for the traffic profile we have.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The speed of publishing is a known issue however has been accepted by the client and the plan is to move to using the publishing service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However an odd issue we have is when you add a template via the UI (or API) it takes a LONG TIME. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why might this be? I'd have thought all the operations that are needed would be run against master/core within Europe. As soon as we remove the &lt;code&gt;&amp;lt;database&amp;gt;&lt;/code&gt; node for Australia the problem goes away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything we could disable within Sitecore to prevent the speed issues we are seeing? &lt;/p&gt;&#xA;" OwnerUserId="443" LastActivityDate="2018-12-19T12:31:23.970" Title="Why does multi-location Azure make adding templates so slow?" Tags="|azure|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15528" PostTypeId="1" AcceptedAnswerId="15529" CreationDate="2018-12-13T18:37:40.970" Score="25" ViewCount="8403" Body="&lt;p&gt;After installing 9.1 I see the following error on the login screen:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BfSFk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BfSFk.png&quot; alt=&quot;Error Message&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Steps I followed:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Updated XP0-SingleDeveloper with &amp;quot;.dev.sc.local&amp;quot; to the site names&lt;/li&gt;&#xA;&lt;li&gt;Ran the installation using XP0-SingleDeveloper.ps1 and SIF 2.0&lt;/li&gt;&#xA;&lt;li&gt;Updated IIS host binding to use https for &amp;quot;sc910.dev.sc.local&amp;quot;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&lt;p&gt;While setting up a new 10.2 instance I encountered the error &amp;quot;invalid_request&amp;quot;. This was caused by the &lt;code&gt;AllowedCorsOrigins&lt;/code&gt; not containing the correct url. The log messages in Identity showed something like the following:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Invalid redirect_uri: &amp;quot;https://scmsx.int.sxp.local/identity/signin&amp;quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Turns out I mistakenly put the wrong url in the &lt;code&gt;Sitecore.IdentityServer.Host.xml&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&#xA;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;IdentityServer&amp;gt;          &#xA;      &amp;lt;Clients&amp;gt;&#xA;        &amp;lt;DefaultClient&amp;gt;&#xA;          &amp;lt;AllowedCorsOrigins&amp;gt;&#xA;            &amp;lt;!-- This should show scmsx instead of identityx --&amp;gt;&#xA;            &amp;lt;AllowedCorsOriginsGroup1&amp;gt;https://identityx.int.sxp.local&amp;lt;/AllowedCorsOriginsGroup1&amp;gt;&#xA;          &amp;lt;/AllowedCorsOrigins&amp;gt;&#xA;        &amp;lt;/DefaultClient&amp;gt;&#xA;      &amp;lt;/Clients&amp;gt;&#xA;    &amp;lt;/IdentityServer&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2022-04-20T02:41:00.513" LastActivityDate="2022-04-20T02:41:00.513" Title="Installing 9.1 XP0 - Sorry, there was an error : unauthorized_client" Tags="|sitecore-install-framework|identity-server|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15529" PostTypeId="2" ParentId="15528" CreationDate="2018-12-13T18:37:40.970" Score="45" Body="&lt;p&gt;After speaking with my friend @kamsar, he pointed out the CORS origin on the Identity Server Instance needs an update.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Identity Server doesn't allow logging in from just any url, for security reasons.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open the file &lt;code&gt;C:\inetpub\wwwroot\sc910.identityserver.dev.sc.local\Config\production\Sitecore.IdentityServer.Host.xml&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add a new &lt;em&gt;AllowedCorsOriginsGroupN&lt;/em&gt; (optionally use a pipe delimiter pointed out by @monkey-dsc)&lt;/li&gt;&#xA;&lt;li&gt;Recycle the Identity Server Application Pool&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Below you can see the new setting added as Group2:&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;AllowedCorsOrigins&amp;gt;&#xA;  &amp;lt;AllowedCorsOriginsGroup1&amp;gt;http://sc910.dev.sc.local&amp;lt;/AllowedCorsOriginsGroup1&amp;gt;&#xA;  &amp;lt;AllowedCorsOriginsGroup2&amp;gt;https://sc910.dev.sc.local&amp;lt;/AllowedCorsOriginsGroup2&amp;gt;&#xA;&amp;lt;/AllowedCorsOrigins&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Resources&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/configure-a-sitecore-instance-and-sitecore-identity-server.html&quot; rel=&quot;noreferrer&quot;&gt;Found this link to the 9.1 documentation&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/configuration.html&quot; rel=&quot;noreferrer&quot;&gt;Configuration patching for Sitecore Host&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-05-30T16:11:31.230" LastActivityDate="2019-05-30T16:11:31.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15530" PostTypeId="1" AcceptedAnswerId="15531" CreationDate="2018-12-13T20:47:44.920" Score="0" ViewCount="245" Body="&lt;p&gt;Followed the steps in the below link to setup the headless SSR mode &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/ssr/headless-mode-ssr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/techniques/ssr/headless-mode-ssr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but it the app never comes up and always received an error saying&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;&lt;em&gt;invalid json response body at &lt;a href=&quot;https://poc-app/sitecore/api/jss/dictionary/JssReactWeb/en?sc_apikey=%12345%7D&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://poc-app/sitecore/api/jss/dictionary/JssReactWeb/en?sc_apikey=%12345%7D&lt;/a&gt; reason: Unexpected token U in JSON at position 0', type: 'invalid-json' }&lt;/em&gt;&lt;/h2&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2018-12-13T20:49:58.873" Title="invalid json response body - Headless SSR mode" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15531" PostTypeId="2" ParentId="15530" CreationDate="2018-12-13T20:49:58.873" Score="0" Body="&lt;p&gt;Follow the steps in the link &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/ssr/headless-mode-ssr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/techniques/ssr/headless-mode-ssr&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But additionally the dictionary service end point needs to be updated in the proxy application's config.js &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search for JssReactWeb and replace with your app name.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2018-12-13T20:49:58.873" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15533" PostTypeId="1" CreationDate="2018-12-14T05:03:25.387" Score="1" ViewCount="493" Body="&lt;p&gt;I am trying to save the page after doing edits in SXA page from Experience editor and getting below error every time. This is occuring only for this page. In network tab, the response for CallServerSavePipeline request is having error. Not sure what could be the reason!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error in the page&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xQVER.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xQVER.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Network tab while saving the page&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IhQrD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IhQrD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Response for CallServerSavePipeline request&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1kYfT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1kYfT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding screenshot of the logs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sCo12.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sCo12.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error in Logs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;14256 00:33:40 ERROR One or more exceptions occurred while processing&#xA;  the subscribers to the 'item:saving' event. Exception&lt;a href=&quot;https://i.stack.imgur.com/xQVER.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;:&#xA;  System.NullReferenceException  Message&lt;a href=&quot;https://i.stack.imgur.com/xQVER.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;: Object reference not set to&#xA;  an instance of an object.  Source&lt;a href=&quot;https://i.stack.imgur.com/xQVER.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;: Sitecore.XA.Feature.Composites&lt;br&gt;&#xA;  at&#xA;  Sitecore.XA.Feature.Composites.EventHandlers.SaveCompositeItems.UpdateDatasourceTokens(Item&#xA;  compositeDatasourceChild, IEnumerable`1 renderings, Item currentItem) &#xA;  at&#xA;  Sitecore.XA.Feature.Composites.EventHandlers.SaveCompositeItems.PropagateLayoutChanges(Item&#xA;  item)    at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String&#xA;  eventName, Object[] parameters, EventResult result) &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;14256 00:33:40 ERROR Failed to save the item. Item ID:&#xA;  {43F3C3B3-C7A8-46FD-B815-6B25EDCBEE40}, database: master Exception:&#xA;  System.AggregateException Message: One or more exceptions occurred&#xA;  while processing the subscribers to the 'item:saving' event. Source:&#xA;  Sitecore.Kernel    at&#xA;  Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName,&#xA;  Object[] parameters, EventResult result)    at&#xA;  Sitecore.Events.Event.RaiseEvent(String eventName, Object[]&#xA;  parameters)    at Sitecore.Events.Event.RaiseItemSaving(Object sender,&#xA;  ItemSavingEventArgs args)    at&#xA;  Sitecore.Events.Event.DataEngine_ItemSaving(Object sender,&#xA;  ExecutingEventArgs&lt;code&gt;1 e)    at System.EventHandler&lt;/code&gt;1.Invoke(Object&#xA;  sender, TEventArgs e)    at&#xA;  Sitecore.Data.Engines.EngineCommand&lt;code&gt;2.RaiseEvent[TArgs](EventHandler&lt;/code&gt;1&#xA;  handlers, Func&lt;code&gt;2 argsCreator)    at&#xA;  Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.RaiseExecuting(Boolean&amp;amp;&#xA;  cancelled)    at Sitecore.Data.Engines.EngineCommand&lt;code&gt;2.CanExecute()&lt;br&gt;&#xA;  at Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.Execute()    at&#xA;  Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;14256 00:33:40 ERROR Exception has been thrown by the target of an&#xA;  invocation. Exception: System.Reflection.TargetInvocationException&#xA;  Message: Exception has been thrown by the target of an invocation.&#xA;  Source: mscorlib    at System.RuntimeMethodHandle.InvokeMethod(Object&#xA;  target, Object[] arguments, Signature sig, Boolean constructor)    at&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments)    at&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&lt;br&gt;&#xA;  at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method,&#xA;  Object[] parameters, Object obj)    at&#xA;  Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args,&#xA;  Pipeline pipeline)    at&#xA;  Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic)&lt;br&gt;&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Ribbon.Requests.SaveItem.CallServerSavePipeline.ProcessRequest()&#xA;  at&#xA;  Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs&#xA;  requestArgs)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.AggregateException Message: One or more exceptions&#xA;  occurred while processing the subscribers to the 'item:saving' event.&#xA;  Source: Sitecore.Kernel    at&#xA;  Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName,&#xA;  Object[] parameters, EventResult result)    at&#xA;  Sitecore.Events.Event.RaiseEvent(String eventName, Object[]&#xA;  parameters)    at Sitecore.Events.Event.RaiseItemSaving(Object sender,&#xA;  ItemSavingEventArgs args)    at&#xA;  Sitecore.Events.Event.DataEngine_ItemSaving(Object sender,&#xA;  ExecutingEventArgs&lt;code&gt;1 e)    at System.EventHandler&lt;/code&gt;1.Invoke(Object&#xA;  sender, TEventArgs e)    at&#xA;  Sitecore.Data.Engines.EngineCommand&lt;code&gt;2.RaiseEvent[TArgs](EventHandler&lt;/code&gt;1&#xA;  handlers, Func&lt;code&gt;2 argsCreator)    at&#xA;  Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.RaiseExecuting(Boolean&amp;amp;&#xA;  cancelled)    at Sitecore.Data.Engines.EngineCommand&lt;code&gt;2.CanExecute()&lt;br&gt;&#xA;  at Sitecore.Data.Engines.EngineCommand&lt;/code&gt;2.Execute()    at&#xA;  Sitecore.Data.Engines.DataEngine.SaveItem(Item item)    at&#xA;  Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs&#xA;  args)    at (Object , Object )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item)    at&#xA;  Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean&#xA;  updateStatistics, Boolean silent)    at&#xA;  Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics,&#xA;  Boolean silent)    at Sitecore.Pipelines.Save.Save.Process(SaveArgs&#xA;  args)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="2056" LastEditDate="2018-12-14T07:22:50.860" LastActivityDate="2018-12-14T09:14:30.123" Title="Error while saving SXA page from Experience Editor" Tags="|sxa|sitecore-api|" AnswerCount="1" CommentCount="2" ClosedDate="2018-12-14T15:20:27.720" ContentLicense="CC BY-SA 4.0" />
  <row Id="15534" PostTypeId="2" ParentId="15506" CreationDate="2018-12-14T06:40:21.797" Score="2" Body="&lt;p&gt;I think that I would add to all previous answers:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If publish all your blog posts on your company website, do not expect that they will be highly rated because they look like something that you have done at work (NOTE: think about it especially when they do NOT bring any unique knowledge or they are just useless for a Community)&lt;/li&gt;&#xA;&lt;li&gt;If you have NOT done too much this year, do NOT write that you will do more next year, it will NOT help you&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="228" LastEditorUserId="228" LastEditDate="2018-12-14T12:12:10.607" LastActivityDate="2018-12-14T12:12:10.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15535" PostTypeId="1" CreationDate="2018-12-14T08:08:53.943" Score="1" ViewCount="48" Body="&lt;p&gt;I have created new site node and my web site search functionality is not working for the new site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have rebuilt the search index from the Indexing Manager and I have checked the indexes, it seems it's not updated for new languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="3984" LastEditorUserId="490" LastEditDate="2018-12-16T08:59:14.157" LastActivityDate="2018-12-16T08:59:14.157" Title="Search index not updating for new site nodes" Tags="|indexing|multisite|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15536" PostTypeId="2" ParentId="15533" CreationDate="2018-12-14T09:14:30.123" Score="1" Body="&lt;p&gt;Got the issue. One of the tab item is using query in the datasource field which is wrong. It is working as expected once the query is corrected in that field.&#xA;Thanks!!&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2018-12-14T09:14:30.123" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15537" PostTypeId="1" CreationDate="2018-12-14T09:22:46.387" Score="3" ViewCount="580" Body="&lt;p&gt;We are working on a Sitecore 8.2 project which is based on Helix and SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now we want to implement Sitecore workflows. As of definition of Helix, you set them on page/data templates in the project layer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the Habitat project, you see that all datasources are in the feature layer, which would make it impossible to set workflows on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How does this fit together? Am I missing something?&lt;/p&gt;&#xA;" OwnerUserId="4234" LastEditorUserId="4234" LastEditDate="2018-12-14T11:50:43.590" LastActivityDate="2018-12-16T14:42:05.203" Title="How to set workflows in a Sitecore environment with SXA and Helix?" Tags="|helix|workflow|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15538" PostTypeId="1" AcceptedAnswerId="15565" CreationDate="2018-12-14T09:26:17.350" Score="1" ViewCount="237" Body="&lt;p&gt;I am using Sitecore 9 Update 1 with Sitecore Azure search. We have many different language content in the site. I want to index the content which are belongs to 2 languages. Is there any change to be done at config side?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastActivityDate="2018-12-17T02:44:41.053" Title="Index the content for some of the languages - Sitecore Azure index" Tags="|indexing|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15539" PostTypeId="1" CreationDate="2018-12-14T09:53:55.067" Score="0" ViewCount="288" Body="&lt;p&gt;I have the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SecurityDisabler()) {&#xA;    using (new EditContext(itemToChange, false, false)) {&#xA;        itemToChange[field] = theValue;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the third parameter of EditContext, if set to true, disables all Events from the enclosed code, making it functionally identical as if it was inside an EventDisabler block.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If the events are disabled, the change to the field's value is apparently immediately reversed once out of the block;&lt;/li&gt;&#xA;&lt;li&gt;If events are enabled, the code works as expected - the changes are apparent both from the UI and on the application.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To make matters more strange, when I disable the Event the changes &lt;em&gt;sometimes&lt;/em&gt; show up after a considerable amount of time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My gut feeling tells me that the immediate update is caused by some event I don't know about, different from item:saved, that is firing when the item changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone has a comprehensive list of ALL events that fire when an item's field value is changed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Bonus question: is it possible to selectively disable specific events?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2018-12-14T09:53:55.067" Title="What are ALL the Events triggered when an item is edited?" Tags="|events|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="15540" PostTypeId="1" AcceptedAnswerId="15924" CreationDate="2018-12-14T09:56:32.117" Score="0" ViewCount="111" Body="&lt;p&gt;I have some external data to be populated before my &lt;em&gt;External data provider&lt;/em&gt; is executed.&#xA;Let say I have 2 functions call external data:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;GetAllItems()&lt;/li&gt;&#xA;&lt;li&gt;GetItem(string itemId)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Those functions will populate items to Dictionary XML then eventually will assign to each item's XML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I'd placed &lt;strong&gt;GetItem&lt;/strong&gt; in &lt;em&gt;External Data Provider&lt;/em&gt; &lt;strong&gt;GetItemDefinition(ID itemID, CallContext context)&lt;/strong&gt;. Also, there's a condition if the current ID is already in Dictionary, then don't call &lt;strong&gt;GetItem&lt;/strong&gt; but assign Dictionary XML to the respective item instead. &#xA;Thus I need a custom pipeline that will be called &lt;strong&gt;RIGHT before&lt;/strong&gt; GetItemDefinition is called. So my Dict is already full with the item and don't have to Call GetItem for each item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried to put condition: if the dictionary is empty, then GetAllItems(). But that would cause some dictionary values is null since &lt;em&gt;Data Provider&lt;/em&gt; is &lt;strong&gt;asynchronous&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Back to the question, Where I can put my custom pipeline to be executed right before Data Provider? or maybe there's another workaround?&lt;/p&gt;&#xA;" OwnerUserId="4774" LastEditorUserId="4774" LastEditDate="2018-12-19T03:09:12.157" LastActivityDate="2019-01-09T05:44:34.850" Title="Where can I put my custom pipeline to be executed right before Sitecore 8.2 Data Provider?" Tags="|sitecore-client|pipelines|data-provider|processing|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15541" PostTypeId="1" AcceptedAnswerId="15542" CreationDate="2018-12-14T10:32:19.030" Score="4" ViewCount="544" Body="&lt;p&gt;Our content editors get an error when they try to upload a new version of a document (or any other media item). Steps they take:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to media library&lt;/li&gt;&#xA;&lt;li&gt;Upload a file (with advanced options) as versioned media&lt;/li&gt;&#xA;&lt;li&gt;File gets uploaded - go to the newly created item&lt;/li&gt;&#xA;&lt;li&gt;Switch language&lt;/li&gt;&#xA;&lt;li&gt;Create a version of the item in this language&lt;/li&gt;&#xA;&lt;li&gt;Click &quot;attach&quot; to upload the version of the asset in that language&lt;/li&gt;&#xA;&lt;li&gt;Access error...&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jcmCu.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jcmCu.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Image is taken with custom errors off..&#xA;In the logs we can see:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.Exceptions.AccessDeniedException&#xA;Message: Application access denied.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.HasAccess(Boolean accessAllowed, String message)&#xA;   at Sitecore.Shell.Applications.Dialogs.Attach.AttachForm.OnLoad(EventArgs e)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If we try the same with an admin user, everything works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 9.0.2&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-12-14T10:32:19.030" Title="Content editors get access denied when attaching new language version to a media item" Tags="|media-library|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15542" PostTypeId="2" ParentId="15541" CreationDate="2018-12-14T10:32:19.030" Score="4" Body="&lt;p&gt;This appears to be a security issue (bug) in Sitecore that can be easily fixed:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Switch to the core database in the Desktop.&lt;/li&gt;&#xA;&lt;li&gt;Open Content Editor and navigate to the &lt;code&gt;/sitecore/content/Applications/Dialogs/Upload&lt;/code&gt; item.&lt;/li&gt;&#xA;&lt;li&gt;Click the &lt;code&gt;Security&lt;/code&gt; tab and grant the &lt;code&gt;sitecore\Author&lt;/code&gt; role Read access right to this item&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After that non-admin users with Author roles will be able to attach contents to the Media items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thx to Sitecore Support for the fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: I could not find the bug reference number (173612) in the release notes of 9.1 so it might still be present there.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-12-14T10:32:19.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15544" PostTypeId="2" ParentId="15263" CreationDate="2018-12-14T12:33:16.430" Score="0" Body="&lt;p&gt;This can happen if you tried to install sitecore 9 in the past.&#xA;Changing &quot;RootCertFileName&quot; default value in xconnet-createcert.json to, for example, SIF121Root, fixes the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This link helped me out &lt;a href=&quot;https://kb.sitecore.net/articles/699694&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/699694&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4776" LastActivityDate="2018-12-14T12:33:16.430" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15545" PostTypeId="2" ParentId="14214" CreationDate="2018-12-14T14:10:08.067" Score="3" Body="&lt;p&gt;This is registered by Sitecore as bug #276414. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The workaround is to have different &lt;code&gt;Name&lt;/code&gt; values for the &lt;code&gt;ComposerTemplate&lt;/code&gt; and the &lt;code&gt;EntityView&lt;/code&gt; that it contains.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2018-12-14T14:10:08.067" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15546" PostTypeId="1" CreationDate="2018-12-14T15:30:33.867" Score="6" ViewCount="682" Body="&lt;p&gt;We're using the same MVC form on multiple pages and want to capture the page URL that the form is completed on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a custom 'Web Forms for Marketers' using WFFM placeholder, created via Sitecore itself. Ideally I want the page URL captured in an email notification as a starter, with future plan to pass this back to the database at some stage&lt;/p&gt;&#xA;" OwnerUserId="4777" LastEditorUserId="237" LastEditDate="2018-12-14T19:56:22.957" LastActivityDate="2018-12-14T19:56:22.957" Title="Is it possible to capture the URL of the page a form was completed?" Tags="|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15547" PostTypeId="1" CreationDate="2018-12-14T15:42:33.837" Score="2" ViewCount="394" Body="&lt;p&gt;I am working on a mobile application (Sitecore 9.1, JSS React Native) with a couple of pages. A page event is assigned to each of the mobile application pages.&#xA;I have enabled &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/enable-indexing-of-anonymous-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;indexing anonymous contacts&lt;/a&gt; and I am sending back and forth all the cookies that I receive from the layout service endpoint.&lt;/p&gt;&#xA;&lt;p&gt;When closing the application I call &lt;code&gt;abandonsession.aspx&lt;/code&gt; pages as described  &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13071/hitting-the-layout-service-endpoint-is-not-recording-analytics&quot;&gt;here&lt;/a&gt; to flush the interaction(s) to xConnect and xDB&lt;/p&gt;&#xA;&lt;p&gt;but when I open Experience Profile the only one interaction that I see is the page visit of &lt;code&gt;abandonsession.aspx&lt;/code&gt;, no other page visits, no page events or goals.&lt;/p&gt;&#xA;&lt;p&gt;(I am sending the cookies to the &lt;code&gt;abandonsession.aspx&lt;/code&gt; as well)&lt;/p&gt;&#xA;&lt;p&gt;Am I missing something?&lt;/p&gt;&#xA;&lt;p&gt;How should I flush my contact data to xConnect and xDB?&lt;/p&gt;&#xA;&lt;p&gt;I assume that assigning goals and page events with JSS is the same as in a normal case scenario. Is that a correct assumption?&lt;/p&gt;&#xA;" OwnerUserId="2364" LastEditorUserId="73" LastEditDate="2022-03-09T06:50:33.873" LastActivityDate="2024-03-28T13:06:10.740" Title="Tracking Page Events and Goals Does`t Work Correctly" Tags="|xconnect|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15548" PostTypeId="2" ParentId="15546" CreationDate="2018-12-14T16:39:01.203" Score="7" Body="&lt;p&gt;It's not possible without some custom code. The simplest is to create a custom hidden field and store the page URL in this, which will then get submitted along with the other values of the form. You can then use this in your own save actions or the Send Email save action as part of the message body in much the same way as any other form value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have previously blogged about a &lt;a href=&quot;https://jammykam.wordpress.com/2017/10/06/wffm-hidden-token-field/&quot; rel=&quot;nofollow noreferrer&quot;&gt;custom Hidden Token Field in WFFM&lt;/a&gt; which does exactly this. The code can be shortened if you &lt;em&gt;only&lt;/em&gt; want the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create the field and add properties to hide the inherited settings from the designer dialog:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class HiddenUrl : InputControl&#xA;{&#xA;    protected HiddenUrl() {}&#xA;    protected HiddenUrl(HtmlTextWriterTag tag) : base(tag) {}&#xA;&#xA;    // Override to hide fields in Form Editor&#xA;    public new string CssClass { get; set; }&#xA;    public new string Information { get; set; }&#xA;    public new string Text { get; set; }&#xA;&#xA;    // If we were using ASP.Net WebForms then we'd need to expand this&#xA;    public virtual string Value { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create a model to be used for your MVC view:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class HiddenUrlField : FieldViewModel, IFieldResult, IContainerMetadata&#xA;{&#xA;    public string ResultParameters { get; set; }&#xA;&#xA;    [DefaultValue(&quot;&quot;)]&#xA;    public virtual string Value { get; set; }&#xA;&#xA;    public virtual ControlResult GetResult()&#xA;    {&#xA;        return new ControlResult(this.FieldItemId, this.Name, (object)this.Value, this.ResultParameters, false);&#xA;    }&#xA;&#xA;    public override void Initialize()&#xA;    {&#xA;        base.Initialize();&#xA;&#xA;        var options = UrlOptions.DefaultOptions;&#xA;        options.AlwaysIncludeServerUrl = true;&#xA;        Value = LinkManager.GetItemUrl(Sitecore.Context.Item, options);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And create the view for this field;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;@model MyProject.CMS.Custom.WFFM.Fields.HiddenUrlField&#xA;&#xA;@Html.HiddenFor(x =&amp;gt; Model.FieldItemId)&#xA;@Html.HiddenFor(x =&amp;gt; Model.Value)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We need to add this field to WFFM, create an item in Sitecore under &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types&lt;/code&gt;. For example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Item Path: &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Custom/HiddenUrlField&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Template: &lt;code&gt;/sitecore/templates/Web Forms for Marketers/Field Type&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Assembly: &lt;code&gt;MyProject.CMS.Custom&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Class: &lt;code&gt;MyProject.CMS.Custom.WFFM.Fields.HiddenUrl&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;MVC Type: &lt;code&gt;MyProject.CMS.Custom.WFFM.Fields.HuddenUrlField, MyProject.CMS.Custom&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2018-12-14T19:52:55.680" LastActivityDate="2018-12-14T19:52:55.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15549" PostTypeId="1" AcceptedAnswerId="15550" CreationDate="2018-12-15T14:12:02.073" Score="1" ViewCount="1312" Body="&lt;p&gt;Applying Sitecore Experience Commerce 9.0 Update-3 on top of a fresh Update-2 (on Sitecore 9.0.2) installation results in this exception, after performing step &quot;6.5. Republish and rebuild the search indexes&quot;, in the upgrade guide:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[TypeLoadException: Could not load type 'Fields' from assembly&#xA;  'Sitecore.XA.Foundation.Mvc, Version=3.7.0.0, Culture=neutral,&#xA;  PublicKeyToken=null'.]&lt;br&gt;&#xA;  Sitecore.Commerce.XA.Foundation.Common.Providers.RenderingViewProvider.GetCustomViewPath(IRendering&#xA;  rendering) +0&lt;br&gt;&#xA;  Sitecore.Commerce.XA.Foundation.Common.Providers.RenderingViewProvider.Resolve(ControllerContext&#xA;  controllerContext, IRendering rendering, String viewName) +240&lt;br&gt;&#xA;  Sitecore.Commerce.XA.Foundation.SiteMetadata.Controllers.MetadataController.Index()&#xA;  +34    lambda_method(Closure , ControllerBase , Object[] ) +90    System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext&#xA;  controllerContext, IDictionary&lt;code&gt;2 parameters) +229&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext&#xA;  controllerContext, ActionDescriptor actionDescriptor, IDictionary&lt;/code&gt;2&#xA;  parameters) +35&lt;br&gt;&#xA;  System.Web.Mvc.&amp;lt;&gt;c__DisplayClass15.b__12()&#xA;  +80    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter&#xA;  filter, ActionExecutingContext preContext, Func&lt;code&gt;1 continuation) +454&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter&#xA;  filter, ActionExecutingContext preContext, Func&lt;/code&gt;1 continuation) +454&lt;br&gt;&#xA;  System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext&#xA;  controllerContext, String actionName) +524&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Inspecting all the related dlls with &lt;code&gt;dotPeek&lt;/code&gt;, I see this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual string GetCustomViewPath(IRendering rendering)&#xA;{&#xA;  string str = (string) null;&#xA;  Item settingsItem = this.MultisiteContext.GetSettingsItem(rendering.Item);&#xA;  if (settingsItem != null)&#xA;    str = settingsItem[Sitecore.XA.Foundation.Mvc.Templates.**Settings.Fields**.get_CustomRenderingViewPath()];&#xA;  return str;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Settings doesn't seem to exist, and therefore Fields does not exist.  I cannot find any property called &lt;code&gt;CustomRenderingViewPath&lt;/code&gt; anywhere. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="2000" LastEditorUserId="237" LastEditDate="2019-05-21T05:57:26.940" LastActivityDate="2019-05-21T05:57:26.940" Title="TypeLoadException: Could not load type 'Fields' from assembly 'Sitecore.XA.Foundation.Mvc, Version=3.7.0.0, Culture=neutral, PublicKeyToken=null'" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15550" PostTypeId="2" ParentId="15549" CreationDate="2018-12-15T14:55:45.993" Score="2" Body="&lt;p&gt;This is because of a missed step.  The documentation isn't very clear about it, but you must update to Sitecore Experience Accelerator 1.8 to get version 3.8.0.0 of the required dlls.&lt;/p&gt;&#xA;" OwnerUserId="2000" LastActivityDate="2018-12-15T14:55:45.993" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15552" PostTypeId="1" AcceptedAnswerId="15567" CreationDate="2018-12-16T01:17:16.400" Score="10" ViewCount="10076" Body="&lt;p&gt;I am getting the following error when I attempt to install Sitecore 9.1 (initial release) with SIF (v2.0.0). (Note this IS after some failed installs, but I believe I have removed everything to do with those attempts).&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error Code: ERROR_EXECUTING_METHOD&#xA;      More Information: Could not deploy package.&#xA;      Warning SQL72023: The database containment option has been changed to None.      This may result in deployment failure if the state of&#xA;  the database is not compliant with this containment level.&#xA;      Error SQL72014: .Net&#xA;      SqlClient Data Provider: Msg 12809, Level 16, State 1, Line 5 You must remove all users with password before setting the containment&#xA;  property to NONE.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I found &lt;a href=&quot;https://learnsitecorebasics.wordpress.com/2017/11/02/an-error-occurred-while-the-batch-was-being-executed-updating-database-failed-sqlclient-data-provider-you-must-remove-all-users-with-password-before-setting-the-containment-property-to-none-sitec/comment-page-1/#comment-306&quot; rel=&quot;noreferrer&quot;&gt;this post&lt;/a&gt; suggesting to remove everything from previously failed attempts (which I believe I have...there are no Sitecore 9 DBs or users hanging around).... and I even tried a new install with a brand new prefix, and a new SQL user/password..... but am still getting the same thing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;contained database authentication&lt;/code&gt; setting is correctly set to 1 before the installation, and the DBs it DOES get to install are correctly set to Partially contained databases.&#xA;Does anyone have any other suggestions for what I can do to get this fixed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="418" LastEditorUserId="73" LastEditDate="2019-12-02T14:20:30.647" LastActivityDate="2022-08-24T22:57:46.597" Title="Installation with SIF error. &quot;You must remove all users with password before setting the containment property to NONE&quot;" Tags="|sitecore-install-framework|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15554" PostTypeId="1" AcceptedAnswerId="15562" CreationDate="2018-12-16T12:56:08.150" Score="6" ViewCount="677" Body="&lt;p&gt;I need to remove &lt;code&gt;Alt required&lt;/code&gt; validation from Alt field in Image template, I removed &lt;code&gt;Alt required&lt;/code&gt; validation from template image in path &lt;code&gt;/sitecore/templates/System/Media/Unversioned/Image&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ahX7r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ahX7r.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when i create field in template from type image and select uploaded image without Alt text, validation is shown.&lt;a href=&quot;https://i.stack.imgur.com/Ll1ze.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ll1ze.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;is there way to remove this validation?&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="5096" LastEditDate="2019-05-21T09:27:19.640" LastActivityDate="2019-05-21T09:27:19.640" Title="Remove Alt Required validation from image" Tags="|validation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15555" PostTypeId="2" ParentId="15537" CreationDate="2018-12-16T14:42:05.203" Score="5" Body="&lt;p&gt;My two cents&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If to go strictly after the Helix documentation it seems like both the workflows and the datasources should belong to the project layer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://helix.sitecore.net/principles/templates/template-types.html&quot; rel=&quot;noreferrer&quot;&gt;https://helix.sitecore.net/principles/templates/template-types.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://helix.sitecore.net/principles/security/workflows.html&quot; rel=&quot;noreferrer&quot;&gt;https://helix.sitecore.net/principles/security/workflows.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it would seem that there is a discrepancy between the Helix Documentation and the Habitat implementation on this point. That being said helix is a set of principles and guidelines. This is not necessarily the same as a specific solution should adhere to them 100%. Rather it pushes architects and developers to consider them, knowing when and why they are choosing to sidestep them in a specific situation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Habitat is an example implementation, which of course as any other implementation can have made compromises to the guidelines for one reason or another.&lt;/p&gt;&#xA;" OwnerUserId="2738" LastActivityDate="2018-12-16T14:42:05.203" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15556" PostTypeId="1" AcceptedAnswerId="15560" CreationDate="2018-12-16T14:48:42.217" Score="8" ViewCount="1016" Body="&lt;p&gt;I'm working on security for an implementation and while testing use cases, I found that my authors are not able to create local datasources in the 'virtual page data' location that is hidden by default under pages.&lt;/p&gt;&#xA;&lt;p&gt;So the 'data' folder shows up, but they can't create items there when clicking &amp;quot;create&amp;quot;:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Vj0la.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Vj0la.png&quot; alt=&quot;SXA You do not have permission to create an item here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Is there a security setting that must be enabled for an author to use this? (keeping in mind that I'm using the principle of least privilege)&lt;/p&gt;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="374" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-12-16T16:08:14.210" Title="You do not have permission to create an item here (Local Datasources)" Tags="|sxa|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15557" PostTypeId="1" AcceptedAnswerId="15558" CreationDate="2018-12-16T15:11:59.813" Score="3" ViewCount="2734" Body="&lt;p&gt;The following code works in Sitecore 8.2 but not in Sitecore 9:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var provider = LinkManager.Provider;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Provider&lt;/code&gt; property is not available anymore in Sitecore 9 Sitecore.Kernel, what should I use instead?&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2018-12-17T07:41:34.550" Title="LinkManager.Provider is deprecated in Sitecore 9, how to get the default provider then?" Tags="|sitecore-api|upgrade|link-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15558" PostTypeId="2" ParentId="15557" CreationDate="2018-12-16T15:11:59.813" Score="3" Body="&lt;p&gt;After digging into the new Sitecore.Kernel assembly I have found the following way to get the default &lt;code&gt;LinkProvider&lt;/code&gt; or your custom with the following appraches:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get default &lt;code&gt;Sitecore.Links.LinkProvider&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var defaultProvider = ServiceLocator.GetRequiredResetableService&amp;lt;ProviderHelper&amp;lt;Sitecore.Links.LinkProvider, LinkProviderCollection&amp;gt;&amp;gt;()?.Value?.Provider;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To get your custom &lt;code&gt;YourNamespace.LinkProvider&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var customProvider = ServiceLocator.GetRequiredResetableService&amp;lt;ProviderHelper&amp;lt;Sitecore.Links.LinkProvider, LinkProviderCollection&amp;gt;&amp;gt;()?.Value?.Provider as YourNamespace.LinkProvider;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;As below in the comments Pete and Mark pointed out that the &lt;code&gt;ServiceLocator&lt;/code&gt; is an antipattern&lt;/strong&gt; so I gave a try to do it with dependency injection, and it works. The following example shows, how you can use it with &lt;code&gt;ItemResolver&lt;/code&gt; and DI:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemResolver : HttpRequestProcessor&#xA;{&#xA;    protected readonly ProviderHelper&amp;lt;Sitecore.Links.LinkProvider, LinkProviderCollection&amp;gt; providerHelper;&#xA;&#xA;    public ItemResolver(ProviderHelper&amp;lt;Sitecore.Links.LinkProvider, LinkProviderCollection&amp;gt; providerHelper)&#xA;    {&#xA;        this.providerHelper = providerHelper;&#xA;    }&#xA;&#xA;    private Sitecore.Links.LinkProvider GetSitecoreLinkProvider()&#xA;    {&#xA;        return this.providerHelper?.Provider;&#xA;    }&#xA;&#xA;    private YourNamespace.LinkProvider GetCustomLinkProvider()&#xA;    {&#xA;        return this.providerHelper?.Provider as YourNamespace.LinkProvider;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;processor type=&quot;YourNamespace.ItemResolver, YourNamespace&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/httpRequestBegin&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2018-12-17T07:41:34.550" LastActivityDate="2018-12-17T07:41:34.550" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15559" PostTypeId="2" ParentId="15556" CreationDate="2018-12-16T15:17:50.937" Score="5" Body="&lt;p&gt;I think you are encountering the bug described by Kris here &lt;a href=&quot;https://kverheire.blogspot.com/2018/06/setting-sxa-security-roles-with-small.html&quot; rel=&quot;noreferrer&quot;&gt;https://kverheire.blogspot.com/2018/06/setting-sxa-security-roles-with-small.html&lt;/a&gt;&#xA;(see &quot;First issue&quot; in the blog post).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to the item: &lt;code&gt;/sitecore/system/Settings/Foundation/Experience Accelerator/Local Datasources/Virtual Page Data&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add the permission for the &quot;Create&quot; security right for all the needed users or role.  (In this case that is the SXA Author created role)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-12-16T15:17:50.937" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15560" PostTypeId="2" ParentId="15556" CreationDate="2018-12-16T15:23:00.723" Score="9" Body="&lt;p&gt;While trying to configure security for the users of our system, I found that I needed to grant access to the template used for the &lt;em&gt;Data&lt;/em&gt; item; which I believe is a &lt;em&gt;Virtual Page Data&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following applies security changes to the Data folders.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# This is a helper method to simplify the changes.&#xA;function New-AccessRuleList {&#xA;    [CmdletBinding()]&#xA;    [OutputType(&quot;System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]&quot;)]&#xA;    param(&#xA;        [string]$Identity,&#xA;        [string[]]$AccessRule,&#xA;        [Sitecore.Security.AccessControl.PropagationType]$PropagationType,&#xA;        [Sitecore.Security.AccessControl.SecurityPermission]$SecurityPermission&#xA;    )&#xA;&#xA;    $list = New-Object &quot;System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]&quot;&#xA;    foreach($rule in $accessrule) {&#xA;        $list.Add((New-ItemAcl -Identity $Identity -AccessRight $rule -PropagationType $PropagationType -SecurityPermission $SecurityPermission))&#xA;    }&#xA;&#xA;    @(,$list)&#xA;}&#xA;&#xA;$allowItemProps = @{&#xA;    PropagationType = [Sitecore.Security.AccessControl.PropagationType]::Entity&#xA;    SecurityPermission = [Sitecore.Security.AccessControl.SecurityPermission]::AllowAccess&#xA;}&#xA;&#xA;$realEveryone = &quot;\Everyone&quot;&#xA;$virtualDataItem = Get-Item -Path &quot;master:&quot; -ID &quot;{9700DC24-8969-4638-ACC3-34D54335829E}&quot;&#xA;$accessRules = New-Object Sitecore.Security.AccessControl.AccessRuleCollection&#xA;$accessRules.AddRange((New-AccessRuleList -Identity $realEveryone -AccessRule item:create @allowItemProps))&#xA;$virtualDataItem | Add-ItemAcl -AccessRules $accessRules&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The final results:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FZLZd.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FZLZd.png&quot; alt=&quot;Security Settings On Item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-12-16T15:23:00.723" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15561" PostTypeId="1" CreationDate="2018-12-16T16:40:33.383" Score="-1" ViewCount="73" Body="&lt;p&gt;I have a requirement to get the full presentation details (layout field + final layout field) using Sitecore services client api call. Now i am receiving the results as two different property fields (__Renderings and __Final Renderings). I need to create a custom property so that i can show the merged value of both Rendering and Final Rendering value. Is there any way we can create and show custom property using ssc api call.&lt;/p&gt;&#xA;" OwnerUserId="950" LastActivityDate="2019-02-20T13:01:20.227" Title="Add a custom property to the Sitecore services client api call results" Tags="|sitecore-services-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15562" PostTypeId="2" ParentId="15554" CreationDate="2018-12-16T17:08:41.500" Score="10" Body="&lt;p&gt;Go to &lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Types/Image&lt;/code&gt; item and remove the &lt;code&gt;Image Has Alt Text&lt;/code&gt; from the &lt;code&gt;Validation Rules&lt;/code&gt; section where you don't want to run this validator. What you removed is the validator on the Image items in the media library.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2018-12-16T17:08:41.500" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15564" PostTypeId="1" CreationDate="2018-12-16T21:15:20.820" Score="4" ViewCount="1851" Body="&lt;p&gt;I am trying to install Sitecore Experience Commerce 9.0 Update-3 on my local machine, and the SIF installation stopped during the following step.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Importing Module =&gt; SitecoreUtilityTasks&#xA;  [GenerateCatalogTemplates : GenerateCatalogTemplates]&#xA;  Generating Catalog Templates ...&#xA;  Install-SitecoreConfiguration : &#xA;  Object reference not set to an instance of an object.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I try to open my XP instance, I see the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;     Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.GetEntityIdFromMappings(String sitecoreId) +100&#xA;     Sitecore.Commerce.Engine.Connect.DataProvider.ReadOnlyCatalogDataProvider.GetItemDefinition(ID itemId, CallContext context) +177&#xA;     Sitecore.Data.DataProviders.DataProvider.GetItemDefinition(ID itemID, CallContext context, DataProviderCollection providers) +146&#xA;     Sitecore.Data.DataSource.GetItemInformation(ID itemID) +87&#xA;     Sitecore.Data.DataSource.GetItemDefinition(ID itemID) +18&#xA;     Sitecore.Data.Engines.TemplateEngine.LoadItemBasedTemplate(ID templateId) +40&#xA;     Sitecore.Data.Engines.TemplateEngine.AddItemBasedTemplates(TemplateDictionary result) +196&#xA;     Sitecore.Data.Engines.TemplateEngine.InternalGetTemplates() +492&#xA;     Sitecore.Data.Engines.TemplateEngine.GetTemplate(ID templateId) +190&#xA;     Sitecore.XA.Foundation.SitecoreExtensions.Extensions.d__0.MoveNext() +170&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have no idea of what is wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking into XP logs, I found the following issue:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;1428 19:04:47 ERROR Authentication Error&#xA;  Exception: System.Exception&#xA;  Message: The certificate thumbprint is invalid or missing from your configuration, secure communication with the Commerce Engine is not possible.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #9 19:04:47 ERROR An error occurred while loading mapping entries: System.NullReferenceException: Object reference not set to an instance of an object.&#xA;  at Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.LoadMappingEntries()&#xA;  Exception: System.NullReferenceException&#xA;  Message: Object reference not set to an instance of an object.&#xA;  Source: Sitecore.Commerce.Engine.Connect&#xA;  at Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.LoadMappingEntries()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The certificate's thumbprint in the App_config\Include\Y.Commerce.Engine\Sitecore.Commerce.Engine.Connect.config file looks correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2cysh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2cysh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2018-12-19T08:50:08.653" LastActivityDate="2019-09-18T09:37:05.350" Title="Error during Generating Catalog Templates installation step Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15565" PostTypeId="2" ParentId="15538" CreationDate="2018-12-17T02:44:41.053" Score="2" Body="&lt;p&gt;This is vague, but let me try to interpret what you're asking. You have many languages in your solution, but you'd like to just index 2 of those languages -- you DO NOT want the other languages to be indexed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is the case, I'd suggest storing content for those 2 languages into their own custom index that only defines those languages. This &quot;domain index&quot; pattern is common for Sitecore and has additional benefits (like quicker speed as it's focused on just the 2 indexes you want). You can read more about domain indexes at &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8253/when-and-why-to-create-a-custom-index&quot;&gt;When and why to create a custom index&lt;/a&gt; on Stackexchange.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given that you're using Azure Search, you'd probably focus on the &lt;em&gt;cloudCultureBasedAnalyzerConfiguration&lt;/em&gt; section of the search index configuration and include just the two languages in question. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Drawing on App_Config\Sitecore\ContentSearch.Azure\Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config for example, the languages are configured in cloudCultureBasedAnalyzerConfiguration like in&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;contentSearch&amp;gt;&#xA;    &amp;lt;indexConfigurations&amp;gt;&#xA;      &amp;lt;defaultCloudIndexConfiguration&amp;gt;&#xA;       ...&#xA;          &amp;lt;cloudCultureBasedAnalyzerConfiguration type=&quot;Sitecore.ContentSearch.Azure.Analyzers.CloudCultureBasedAnalyzerConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;            &amp;lt;analyzers hint=&quot;raw:AddAnalyzer&quot;&amp;gt;&#xA;              &amp;lt;cloudAnalyzer cultureCode=&quot;bg&quot;          analyzer=&quot;bg.lucene&quot; /&amp;gt;&#xA;              &amp;lt;cloudAnalyzer cultureCode=&quot;hy&quot;          analyzer=&quot;hy.lucene&quot; /&amp;gt;&#xA;              ...&#xA;            &amp;lt;/analyzers&amp;gt;&#xA;          &amp;lt;/cloudCultureBasedAnalyzerConfiguration&amp;gt;&#xA;        &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&quot;bg&quot; is for Bulgarian, &quot;hy&quot; is for Armenian, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By isolating the two languages you want into your own custom &quot;domain index&quot; you can index it by specific rules just for them, rebuild the index just for them, and query just that index giving you 100% control over how and when that index is used.&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2018-12-17T02:44:41.053" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15567" PostTypeId="2" ParentId="15552" CreationDate="2018-12-17T08:23:57.897" Score="14" Body="&lt;p&gt;It sounds like you still have a database or maybe a user left over. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How did you remove the failed installs? If you are running from the example script in the download comment out and in the &lt;code&gt;Install-SitecoreConfiguration&lt;/code&gt; and &lt;code&gt;Uninstall-SitecoreConfiguration&lt;/code&gt; lines and use that to run the uninstall. That should remove everything for you.&lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2018-12-17T08:23:57.897" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15569" PostTypeId="1" CreationDate="2018-12-17T09:02:47.427" Score="1" ViewCount="841" Body="&lt;p&gt;When I get the data from &lt;code&gt;http://{domain.name}/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey=[api-key]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then response is like {&lt;strong&gt;sitecore&lt;/strong&gt;: {&lt;strong&gt;context&lt;/strong&gt;:{something}, &lt;strong&gt;route&lt;/strong&gt;:{something}}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I don't want to include the route object if, in my custom layout service extension code some condition is not met.&lt;/p&gt;&#xA;" OwnerUserId="2983" LastEditorUserId="2727" LastEditDate="2018-12-17T11:30:49.730" LastActivityDate="2020-04-01T10:15:10.217" Title="How to remove 'route' object in Sitecore jss layout service api response?" Tags="|sitecore-api|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15570" PostTypeId="2" ParentId="15528" CreationDate="2018-12-17T09:08:37.773" Score="8" Body="&lt;p&gt;In addition to Michaels correct answer: &#xA;It is also possible to define the AllowedCorsOrigins pipe-separated. &#xA;I also stuck on this and found the description in the IdentityServer WDP zip (parameters.xml): &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;parameter name=&quot;AllowedCorsOrigins&quot; description=&quot;Pipe-separated list of instances (URIs) that are allowed to login via Sitecore Identity.&quot;&amp;gt;&#xA;      &amp;lt;parameterEntry kind=&quot;TextFile&quot; scope=&quot;website\\config\\production\\Sitecore.IdentityServer.Host\.xml&quot; match=&quot;PlaceholderForClientOriginsGroup&quot; /&amp;gt;&#xA;    &amp;lt;/parameter&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can define the Origins like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;AllowedCorsOrigins&amp;gt;&#xA;        &amp;lt;AllowedCorsOriginsGroup1&amp;gt;http://sc910.dev.sc.local|https://sc910.dev.sc.local&amp;lt;/AllowedCorsOriginsGroup1&amp;gt;&#xA;        &amp;lt;AllowedCorsOriginsGroup2&amp;gt;http://otherhost.dev.sc.local|https://otherhost.dev.sc.local&amp;lt;/AllowedCorsOriginsGroup2&amp;gt;&#xA;      &amp;lt;/AllowedCorsOrigins&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1183" LastActivityDate="2018-12-17T09:08:37.773" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15571" PostTypeId="2" ParentId="15448" CreationDate="2018-12-17T09:25:56.447" Score="0" Body="&lt;p&gt;Seems that the poster has solved the issue by now and posted about this in his Blog:&#xA;&lt;a href=&quot;http://blog.martinmiles.net/post/mythical-sxa-body-top-placeholder&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.martinmiles.net/post/mythical-sxa-body-top-placeholder&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4645" LastActivityDate="2018-12-17T09:25:56.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15572" PostTypeId="2" ParentId="10258" CreationDate="2018-12-17T11:00:28.880" Score="1" Body="&lt;p&gt;Converting comment to answer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of using the rule you specified in the question, use the condition &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;where the current contact matches the specific pattern card in the specific profile. &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will be applied to all contacts who are in the &lt;strong&gt;Batman Pattern&lt;/strong&gt; Card with profile &lt;strong&gt;Cartoon Liker&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-12-17T11:00:28.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15573" PostTypeId="1" AcceptedAnswerId="15581" CreationDate="2018-12-17T11:35:13.220" Score="2" ViewCount="343" Body="&lt;p&gt;I am using Glassmapper's &lt;code&gt;BeginEditFrame&lt;/code&gt; method to make a treelist editable in Experience Editor. I am using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%using (BeginEditFrame(Model, &quot;Edit Location&quot;, x =&amp;gt; x.Locations)) {%&amp;gt;&#xA;&amp;lt;% if (HasLocations) {%&amp;gt;&#xA;'some code here'&#xA;&amp;lt;% else if (Sitecore.Context.PageMode.IsExperienceEditor){ %&amp;gt;&#xA;+Add Locations &#xA;&amp;lt;%} %&amp;gt;&#xA;&amp;lt;%} %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;+Add Location&lt;/code&gt; text should be presented as in inline element and get displayed fine in the preview mode but in Experience Editor, the following gets appended:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;scLooseFrameZone scEnabledChrome&quot; sc_item=&quot;sitecore://master/{553F90DF-AC07-4941-B605-6F5F40270C57}?lang=en&amp;amp;amp;ver=1&quot; sc-part-of=&quot;editframe&quot;&amp;gt;&#xA;    &amp;lt;span class=&quot;scChromeData&quot;&amp;gt;{&quot;commands&quot;:[{&quot;click&quot;:&quot;javascript:Sitecore.PageModes.PageEditor.postRequest('webedit:fieldeditor(command={86DECE56-8BD2-4FCC-9992-627D812089F5},fields=Locations,id={553F90DF-AC07-4941-B605-6F5F40270C57})',null,false)&quot;,&quot;header&quot;:&quot;Edit Fields&quot;,&quot;icon&quot;:&quot;/temp/iconcache/people/16x16/cubes_blue.png&quot;,&quot;disabledIcon&quot;:&quot;/temp/cubes_blue_disabled16x16.png&quot;,&quot;isDivider&quot;:false,&quot;tooltip&quot;:&quot;Edit the following fields: Locations&quot;,&quot;type&quot;:null}],&quot;contextItemUri&quot;:&quot;sitecore://master/{553F90DF-AC07-4941-B605-6F5F40270C57}?lang=en&amp;amp;amp;ver=1&quot;,&quot;custom&quot;:{},&quot;displayName&quot;:&quot;Edit Location&quot;,&quot;expandedDisplayName&quot;:&quot;&quot;}&amp;lt;/span&amp;gt;&#xA;    +Add Locations&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This div makes the &lt;code&gt;+Add Location&lt;/code&gt; text as a block element and it shows up in the next line.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way I can change the Edit Frames enclosing tag from block element to inline element?&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="342" LastEditDate="2018-12-17T12:28:51.433" LastActivityDate="2018-12-17T15:41:52.587" Title="How to change Glassmapper's BeginEditFrame enclosing html element" Tags="|experience-editor|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15574" PostTypeId="2" ParentId="15448" CreationDate="2018-12-17T11:40:30.047" Score="0" Body="&lt;p&gt;As mentioned in my comment under Patric's post, I did not come to a precise answer on what exactly is breaking, however after spending decent time I have identified that Themes for that SXA website is breaking out, so had to replace it entirely (from my blog post):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Finally, after spending plenty of time I figured out that something&#xA;  was wrong with SXA themes. Unfortunately, did not identify what&#xA;  exactly causes the problem, but after re-creating it at serialization&#xA;  config and re-serializing items the issue has gone. &#xA;  So, the outcome is: if you see unexpected placeholders - please make sure your SXA&#xA;  theme is in the correct state and serialized properly.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;More info if the issue and how I troubleshooted it: &lt;a href=&quot;http://blog.martinmiles.net/post/mythical-sxa-body-top-placeholder&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.martinmiles.net/post/mythical-sxa-body-top-placeholder&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="615" LastActivityDate="2018-12-17T11:40:30.047" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15575" PostTypeId="1" AcceptedAnswerId="15576" CreationDate="2018-12-17T12:17:32.567" Score="2" ViewCount="668" Body="&lt;p&gt;I have suddenly found a significant number of those error messages on the Sitecore log of my CD server; my understanding is that this particular index does/should not exist in production, which is why those errors do not appear in my Dev an CM environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I tell Sitecore to stop trying to rebuild a specific index &lt;em&gt;in production only&lt;/em&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2018-12-17T13:27:16.087" Title="&quot;Index sitecore_suggested_test_index was not found&quot; exception on CD server" Tags="|indexing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15576" PostTypeId="2" ParentId="15575" CreationDate="2018-12-17T13:27:16.087" Score="2" Body="&lt;p&gt;The indexing strategies are controlled by the configuration files in &lt;code&gt;App_Config&lt;/code&gt; and how they are updated/rebuilt is controlled by the indexing strategies:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/index-update-strategies.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/index-update-strategies.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend having a look at &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; for that environment and seeing how they are configured currently.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-17T13:27:16.087" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15577" PostTypeId="2" ParentId="15522" CreationDate="2018-12-17T13:38:37.077" Score="1" Body="&lt;p&gt;Looking at the logs of the processing server I saw that the SQL user didn't have rights to run stored procedures and that was causing it to fail when getting some data from the DB, this is why I was getting null references.&lt;/p&gt;&#xA;" OwnerUserId="897" LastActivityDate="2018-12-17T13:38:37.077" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15578" PostTypeId="2" ParentId="15569" CreationDate="2018-12-17T13:56:51.650" Score="3" Body="&lt;p&gt;The most straightforward approach will likely be to extend and customize the &lt;code&gt;Sitecore.JavaScriptServices.ViewEngine.LayoutService.Serialization.LayoutTransformer&lt;/code&gt;, specifically, the &lt;code&gt;Transform(RenderedItem rendered)&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default &lt;code&gt;LayoutTransformer&lt;/code&gt; is declared via config in &lt;code&gt;/App_Config/Sitecore/LayoutService/Sitecore.LayoutService.Jss.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll see the &lt;code&gt;jss&lt;/code&gt; named configuration for Layout Service:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;config name=&quot;jss&quot;&amp;gt;&#xA;  &amp;lt;rendering type=&quot;Sitecore.LayoutService.Configuration.DefaultRenderingConfiguration, Sitecore.LayoutService&quot;&amp;gt;&#xA;    &amp;lt;placeholdersResolver type=&quot;Sitecore.LayoutService.Placeholders.DynamicPlaceholdersResolver, Sitecore.LayoutService&quot; /&amp;gt;&#xA;    &amp;lt;itemSerializer type=&quot;Sitecore.JavaScriptServices.ViewEngine.LayoutService.JssItemSerializer, Sitecore.JavaScriptServices.ViewEngine&quot; resolve=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;AlwaysIncludeEmptyFields&amp;gt;true&amp;lt;/AlwaysIncludeEmptyFields&amp;gt;&#xA;    &amp;lt;/itemSerializer&amp;gt;&#xA;    &amp;lt;renderingContentsResolver type=&quot;Sitecore.LayoutService.ItemRendering.ContentsResolvers.RenderingContentsResolver, Sitecore.LayoutService&quot;&amp;gt;&#xA;      &amp;lt;IncludeServerUrlInMediaUrls&amp;gt;true&amp;lt;/IncludeServerUrlInMediaUrls&amp;gt;&#xA;    &amp;lt;/renderingContentsResolver&amp;gt;&#xA;  &amp;lt;/rendering&amp;gt;&#xA;  &amp;lt;serialization type=&quot;Sitecore.JavaScriptServices.ViewEngine.LayoutService.SerializationConfiguration, Sitecore.JavaScriptServices.ViewEngine&quot;&amp;gt;&#xA;    &amp;lt;transformer type=&quot;Sitecore.JavaScriptServices.ViewEngine.LayoutService.Serialization.LayoutTransformer, Sitecore.JavaScriptServices.ViewEngine&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/serialization&amp;gt;&#xA;&amp;lt;/config&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And within that named configuration is the &lt;code&gt;LayoutTransformer&lt;/code&gt; declaration (&lt;code&gt;config/rendering/serialization/transformer&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly, a custom layout transformer may look something like below. Note that if the custom condition is met, then the &lt;code&gt;route&lt;/code&gt; object will not be in the final output.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomLayoutTransformer : LayoutTransformer    &#xA;{&#xA;    public CustomLayoutTransformer(IPlaceholderTransformer placeholderTransformer) : base(placeholderTransformer)&#xA;    {&#xA;    }&#xA;&#xA;    public override dynamic Transform(RenderedItem rendered)&#xA;    {&#xA;        var baseResult = base.Transform(rendered);&#xA;&#xA;        if (myCustomCondition)&#xA;        {&#xA;            dynamic newResult = new ExpandoObject();&#xA;            newResult.sitecore = new&#xA;            {&#xA;                baseResult.context&#xA;            };&#xA;            return newResult;&#xA;        }&#xA;&#xA;        return baseResult;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-12-17T13:56:51.650" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15579" PostTypeId="1" AcceptedAnswerId="22117" CreationDate="2018-12-17T14:14:44.717" Score="3" ViewCount="2063" Body="&lt;p&gt;We upgraded from Sitecore 8.1 to 9.0 some weeks ago, and we moved to Azure PaaS. Since then we are suffering from application recycles in some of our instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at event viewer, we saw tens of &quot;recycles&quot; of a concrete page due to &quot;Global configuration changed&quot; like the following in some of the instances&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Event&amp;gt;&#xA;&amp;lt;System&amp;gt;&#xA;&amp;lt;Provider Name=&quot;HttpPlatformHandler&quot;/&amp;gt;&#xA;&amp;lt;EventID&amp;gt;2000&amp;lt;/EventID&amp;gt;&#xA;&amp;lt;Level&amp;gt;4&amp;lt;/Level&amp;gt;&#xA;&amp;lt;Task&amp;gt;0&amp;lt;/Task&amp;gt;&#xA;&amp;lt;Keywords&amp;gt;Keywords&amp;lt;/Keywords&amp;gt;&#xA;&amp;lt;TimeCreated SystemTime=&quot;2018-12-12T06:32:29Z&quot;/&amp;gt;&#xA;&amp;lt;EventRecordID&amp;gt;798817468&amp;lt;/EventRecordID&amp;gt;&#xA;&amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&#xA;&amp;lt;Computer&amp;gt;............&amp;lt;/Computer&amp;gt;&#xA;&amp;lt;Security/&amp;gt;&#xA;&amp;lt;/System&amp;gt;&#xA;&amp;lt;EventData&amp;gt;&#xA;&amp;lt;Data&amp;gt;Global configuration changed. Change path: MACHINE/WEBROOT/APPHOST/....WEBAPP__89A7/...../MyPage, ApplicationManager: 0000013AD53DFBB0 [TID 2516] [PID 7800]&amp;lt;/Data&amp;gt;&#xA;&amp;lt;/EventData&amp;gt;&#xA;&amp;lt;/Event&amp;gt;&#xA;&amp;lt;Event&amp;gt;&#xA;&amp;lt;System&amp;gt;&#xA;&amp;lt;EventData&amp;gt;&#xA;&amp;lt;Data&amp;gt;Recycling application MACHINE/WEBROOT/APPHOST/....WEBAPP__89A7/...../MyPage [TID 2516] [PID 7800]&amp;lt;/Data&amp;gt;&#xA;&amp;lt;/EventData&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And sometimes we saw a global configuration change on a concrete instance that cause recycles on all the web apps and their not being able to server requests for some minutes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Event&amp;gt;&#xA;&amp;lt;System&amp;gt;&#xA;&amp;lt;Provider Name=&quot;HttpPlatformHandler&quot;/&amp;gt;&#xA;&amp;lt;EventID&amp;gt;2000&amp;lt;/EventID&amp;gt;&#xA;&amp;lt;Level&amp;gt;4&amp;lt;/Level&amp;gt;&#xA;&amp;lt;Task&amp;gt;0&amp;lt;/Task&amp;gt;&#xA;&amp;lt;Keywords&amp;gt;Keywords&amp;lt;/Keywords&amp;gt;&#xA;&amp;lt;TimeCreated SystemTime=&quot;2018-12-14T08:04:54Z&quot;/&amp;gt;&#xA;&amp;lt;EventRecordID&amp;gt;1396347156&amp;lt;/EventRecordID&amp;gt;&#xA;&amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&#xA;&amp;lt;Computer&amp;gt;.........&amp;lt;/Computer&amp;gt;&#xA;&amp;lt;Security/&amp;gt;&#xA;&amp;lt;/System&amp;gt;&#xA;&amp;lt;EventData&amp;gt;&#xA;&amp;lt;Data&amp;gt;Change in global configuration [TID 3296] [PID 13784]&amp;lt;/Data&amp;gt;&#xA;&amp;lt;/EventData&amp;gt;&#xA;&amp;lt;/Event&amp;gt;&#xA;&amp;lt;Event&amp;gt;&#xA;&amp;lt;System&amp;gt;&#xA;&amp;lt;Provider Name=&quot;HttpPlatformHandler&quot;/&amp;gt;&#xA;&amp;lt;EventID&amp;gt;2000&amp;lt;/EventID&amp;gt;&#xA;&amp;lt;Level&amp;gt;4&amp;lt;/Level&amp;gt;&#xA;&amp;lt;Task&amp;gt;0&amp;lt;/Task&amp;gt;&#xA;&amp;lt;Keywords&amp;gt;Keywords&amp;lt;/Keywords&amp;gt;&#xA;&amp;lt;TimeCreated SystemTime=&quot;2018-12-14T08:04:54Z&quot;/&amp;gt;&#xA;&amp;lt;EventRecordID&amp;gt;1396347218&amp;lt;/EventRecordID&amp;gt;&#xA;&amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&#xA;&amp;lt;Computer&amp;gt;......&amp;lt;/Computer&amp;gt;&#xA;&amp;lt;Security/&amp;gt;&#xA;&amp;lt;/System&amp;gt;&#xA;&amp;lt;EventData&amp;gt;&#xA;&amp;lt;Data&amp;gt;Global configuration changed. Change path: MACHINE/WEBROOT/APPHOST/SITECORE-CD-WEBAPP__89A7, ApplicationManager: 00000216AA53FE90 [TID 3296] [PID 13784]&amp;lt;/Data&amp;gt;&#xA;&amp;lt;/EventData&amp;gt;&#xA;&amp;lt;/Event&amp;gt;&#xA;&amp;lt;Event&amp;gt;&#xA;&amp;lt;System&amp;gt;&#xA;&amp;lt;Provider Name=&quot;HttpPlatformHandler&quot;/&amp;gt;&#xA;&amp;lt;EventID&amp;gt;2000&amp;lt;/EventID&amp;gt;&#xA;&amp;lt;Level&amp;gt;4&amp;lt;/Level&amp;gt;&#xA;&amp;lt;Task&amp;gt;0&amp;lt;/Task&amp;gt;&#xA;&amp;lt;Keywords&amp;gt;Keywords&amp;lt;/Keywords&amp;gt;&#xA;&amp;lt;TimeCreated SystemTime=&quot;2018-12-14T08:04:54Z&quot;/&amp;gt;&#xA;&amp;lt;EventRecordID&amp;gt;1396347265&amp;lt;/EventRecordID&amp;gt;&#xA;&amp;lt;Channel&amp;gt;Application&amp;lt;/Channel&amp;gt;&#xA;&amp;lt;Computer&amp;gt;......&amp;lt;/Computer&amp;gt;&#xA;&amp;lt;Security/&amp;gt;&#xA;&amp;lt;/System&amp;gt;&#xA;&amp;lt;EventData&amp;gt;&#xA;&amp;lt;Data&amp;gt;Recycling application MACHINE/WEBROOT/APPHOST/SITECORE-CD-WEBAPP__89A7 [TID 3296] [PID 13784]&amp;lt;/Data&amp;gt;&#xA;&amp;lt;/EventData&amp;gt;&#xA;&amp;lt;/Event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is anyone suffering a similar problem? Any idea what can cause a configuration change in a specific instance, not affecting the other ones?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Investigating the issue we found people experiencing similar problems with Sitecore 9 on Windows Server 2012, that can be fixed with a Windows update:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.clearpeople.com/insights/blog/2018/november/sitecore-9-restarts-multiple-times-on-windows-2012&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.clearpeople.com/insights/blog/2018/november/sitecore-9-restarts-multiple-times-on-windows-2012&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I wouldn't expect that Microsoft hadn't applied this hotfix to its Azure web apps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="1700" LastEditorUserId="342" LastEditDate="2018-12-17T15:36:45.420" LastActivityDate="2019-09-18T07:06:32.213" Title="Application recycle problems" Tags="|paas|" AnswerCount="3" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="15580" PostTypeId="2" ParentId="15564" CreationDate="2018-12-17T14:34:51.680" Score="2" Body="&lt;p&gt;I've seen the exact same issue when XP couldn't connect with the commerce engine. If this is the case, you should see an error in the XP log files as Rob has indicated. Did you check these and did you check the engine connection settings in &lt;code&gt;App_config\Include\Y.Commerce.Engine\Sitecore.Commerce.Engine.Connect.config&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&#xA;The thumbprint in &lt;code&gt;Sitecore.Commerce.Engine.Connect.config&lt;/code&gt; needs to be the same as that configured in &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;CommerceAuthoring_Sc9\wwwroot\config.json&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;CommerceMinions_Sc9\wwwroot\config.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;CommerceOps_Sc9\wwwroot\config.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;CommerceShops_Sc9\wwwroot\config.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;(Under the Certificates -&gt; Certificates element.)&#xA;Also, make sure that the configured CertificateHeaderName is the same as the one configured in &lt;code&gt;Sitecore.Commerce.Engine.Connect.config&lt;/code&gt;, in your case &lt;code&gt;X-CommerceEngineCert&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3456" LastEditorUserId="137" LastEditDate="2019-08-06T21:39:56.290" LastActivityDate="2019-08-06T21:39:56.290" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15581" PostTypeId="2" ParentId="15573" CreationDate="2018-12-17T15:41:52.587" Score="1" Body="&lt;p&gt;I'm not sure if you can change the markup that's generated for Sitecore edit frames, but you could always style that specific edit frame differently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, wrap your existing edit frame code in a new &lt;code&gt;div&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;edit-frame-inline&quot;&amp;gt;&#xA;    [your existing edit frame code here]&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then style that markup very specifically:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.edit-frame-inline div.scLooseFrameZone {&#xA;    display: inline;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-17T15:41:52.587" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15582" PostTypeId="2" ParentId="14402" CreationDate="2018-12-17T17:39:02.337" Score="0" Body="&lt;p&gt;Install the package in all of your environments as necessary. Add the supporting DLLs to your solution. I don't foresee any issues at that point with any future deployments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The items will be in the Sitecore databases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;DLLs should get deployed with your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: This is assuming you are not doing blue/green deployments.&lt;/p&gt;&#xA;" OwnerUserId="2049" LastEditorUserId="2049" LastEditDate="2018-12-17T17:45:32.293" LastActivityDate="2018-12-17T17:45:32.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15583" PostTypeId="2" ParentId="9218" CreationDate="2018-12-17T18:34:25.477" Score="1" Body="&lt;p&gt;It’s not too difficult as long as you can set up a search service for the purpose of local development. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt;  Setup Azure Search Service in the Azure Portal&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt;  Add a new connection string called “Cloud.Search” – make sure to use the search URL and API key from your search service in the Azure portal when building the connection string e.g. &lt;code&gt;&amp;lt;add name=&quot;cloud.search&quot; connectionString=&quot;serviceUrl=https://AzureSearchServiceURL;apiVersion=2015-02-28-preview;apiKey=AzureSearchServiceAPIKEY&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3.&lt;/strong&gt;  Change the app search definition in your web config under &lt;code&gt;&amp;lt;AppSettings&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;add key=&quot;search:define&quot; value=&quot;Azure&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;4.&lt;/strong&gt;  Rebuild your Sitecore Indexes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="2049" LastActivityDate="2018-12-17T18:34:25.477" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15585" PostTypeId="1" AcceptedAnswerId="15611" CreationDate="2018-12-17T19:43:52.813" Score="2" ViewCount="657" Body="&lt;p&gt;I need to pass in a value that's being pulled from the contact db for each user on the site to filter search results. We only want users to see search results that are in the proper context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to add a facet to the url programatically before the js api call happens? I've tried to do this by adding a pipeline method just after ProcessItem but it doesn't work. Is there another part of the pipeline I should look at?&lt;/p&gt;&#xA;" OwnerUserId="4789" LastActivityDate="2018-12-18T13:08:53.683" Title="SXA search filter by custom value" Tags="|sxa|search-facet|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15593" PostTypeId="1" CreationDate="2018-12-18T04:41:24.260" Score="1" ViewCount="173" Body="&lt;p&gt;The roles and properties of a virtual user are stored in the &lt;code&gt;ClientData&lt;/code&gt; table in the core database by default. &#xA;I would like to store them somewhere else ideally in Redis with the rest of shared and private session. Is deriving the abstract &lt;code&gt;ClientDataStore&lt;/code&gt; class the only way to do this, has anyone successfully done this?&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2018-12-18T04:41:24.260" Title="Store virtual user's roles outside core database" Tags="|user-profile|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15594" PostTypeId="1" CreationDate="2018-12-18T06:41:42.680" Score="0" ViewCount="375" Body="&lt;p&gt;My web application is loggin huge number of below exception&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    class:Sitecore.Diagnostics.Log&#xA;exception:Exception: Sitecore.Mvc.Diagnostics.ControllerCreationException&#xA;Message: Could not create controller: 'Sitecore'. &#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName)&#xA;   at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController&amp;amp; controller, IControllerFactory&amp;amp; factory)&#xA;   at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Attempt to retrieve context object of type 'Sitecore.Mvc.Presentation.PageContext' from empty stack.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Common.ContextService.Peek[T]()&#xA;   at Sitecore.Mvc.Pipelines.MvcPipelineArgs.get_PageContext()&#xA;   at Sitecore.Mvc.Pipelines.Request.CreateController.CreateItemController.CreateController(CreateControllerArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Request.CreateController.CreateItemController.Process(CreateControllerArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func`2 resultGetter)&#xA;   at Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateSitecoreController(RequestContext requestContext, String controllerName)&#xA;   at Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;after adding &lt;code&gt;args.AbortPipeline();&lt;/code&gt; in my &lt;code&gt;Sitecore.Mvc.Pipelines.Request.RequestBegin.RequestBeginProcessor&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to below post &#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/8985&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/8985&lt;/a&gt;  this is expected when we do args.AbortPipeline() in requestbegin processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;is there any graceful way to handled this exceptin and stop logging this exception?&lt;/p&gt;&#xA;" OwnerUserId="2447" LastActivityDate="2018-12-18T16:51:56.917" Title="Stop logging Sitecore.Mvc.Diagnostics.ControllerCreationException" Tags="|pipelines|" AnswerCount="1" CommentCount="4" ClosedDate="2018-12-19T15:28:53.173" ContentLicense="CC BY-SA 4.0" />
  <row Id="15595" PostTypeId="1" AcceptedAnswerId="15596" CreationDate="2018-12-18T06:42:27.637" Score="8" ViewCount="1872" Body="&lt;p&gt;Some Sitecore documentation I found says..&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Do not make changes directly to the configuration files. Instead, you must create a patch file that performs the required changes during run time.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But it doesn't explain why you should do this. What's the problem with changing the config files directly?&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2018-12-18T07:41:13.740" Title="Why use Patch Files to update configuration?" Tags="|configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15596" PostTypeId="2" ParentId="15595" CreationDate="2018-12-18T06:46:58.750" Score="7" Body="&lt;p&gt;It is not recommended to update directly Sitecore files because you will have problems on updating Sitecore and is really difficult to know what exactly you changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since Sitecore runs within IIS, it is natural for Sitecore to be configured using IIS’s configuration file, Web.config. &#xA;The path to Sitecore-specific settings is /configuration/sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore supports distributed configuration. This means that Sitecore-specific settings (those settings located under /configuration/sitecore) can be spread out between multiple files. The process Sitecore uses to merge multiple config files is called called “config patching”.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How Patching Works&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore uses a custom configuration section handler  to merge patch files. The handler finds files with the .config extension in the /App_Config/Include folder and combines the files it finds with Web.config. The combined configuration is used at runtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Patch File Names&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Patch files are merged with Web.config in alphabetical order. This means configuration in a patch file named a.config will appear before configuration in a patch file named b.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the same configuration is found in multiple patch files, the configuration from the last patch file processed is the configuration that is used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Patch File Folders&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Subfolders of /App_Config/Include are processed after files in the /App_Config/Includefolder. Folders are processed in alphabetical order, as are the files in each folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if the same configuration is defined in the following files the configuration from the last file listed is used:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;/App_Config/Include/z.config&#xA;/App_Config/Include/b/b.config&#xA;/App_Config/Include/b/c.config&#xA;/App_Config/Include/c/a.config [used]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Limitations&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Patching only works on the Sitecore configuration section. This is located in Web.config under /configuration/sitecore. Configuration in other sections of Web.config cannot be controlled through patching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to See the Result of Patching&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the Sitecore configuration is the result of the merging of configuration from Web.config with a variable number of patch files, you cannot look at Web.config or any individual patch file in order to determine the configuration Sitecore is using. Sitecore includes an admin script to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script displays the results of the config file patching process.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;http://[host]/sitecore/admin/ShowConfig.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://[host]/sitecore/admin/ShowConfig.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;More information can be found here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Patch%20Files/&quot; rel=&quot;noreferrer&quot;&gt;http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Patch%20Files/&lt;/a&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/use-a-patch-file-to-customize-the-sitecore-configuration.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/use-a-patch-file-to-customize-the-sitecore-configuration.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt; : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Starting from Sitecore 9 we have OOTB configuration layers. &#xA;Using Configuration Layers/Roles You don't need a patch for your patch on different roles (CM,CD, Proc, Rep, etc) Just deploy everything and set the server role. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore divides configuration files into layers. Each layer consists of a dedicated folder under the App_config folder. By default, there are four layers:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Modules&lt;/li&gt;&#xA;&lt;li&gt;Custom&lt;/li&gt;&#xA;&lt;li&gt;Environment&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Each layer influences a specific area of Sitecore functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore divides the configuration files into layers in order to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Give you better control over when Sitecore loads files at runtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Allow you to disable all configuration files in a layer at once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More informations can be found here: &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/configuration-layers.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/configuration-layers.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2017/10/17/rules-based-configuration/&quot; rel=&quot;noreferrer&quot;&gt;https://jammykam.wordpress.com/2017/10/17/rules-based-configuration/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your Sitecore solution is 8.1 Update 3 or Sitecore 8.2 you can install a &lt;strong&gt;Sitecore Configuration Roles&lt;/strong&gt; module .&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Configuration-Roles&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Configuration-Roles&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2018-12-18T07:41:13.740" LastActivityDate="2018-12-18T07:41:13.740" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15597" PostTypeId="2" ParentId="15595" CreationDate="2018-12-18T06:47:14.513" Score="2" Body="&lt;p&gt;There are no issues to change the Sitecore Configuration file directly. However, changing Sitecore configuration directly can cause issues later when you upgrade your Sitecore instances. This is because when you upgrade Sitecore, it will override the configuration files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, based on personal experience, when you touch the Sitecore configuration file directly, it is difficult to know later whether this is a default value from Sitecore or it is a custom value. You'll need to compare the files with a vanilla Sitecore instance.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2018-12-18T06:47:14.513" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15598" PostTypeId="2" ParentId="15595" CreationDate="2018-12-18T06:48:27.353" Score="2" Body="&lt;p&gt;In my opinion, the most important reason is upgrading to newer version of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's imagine 2 scenarios:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You made changes in Sitecore config files directly.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You're upgrading and now you have to check every single Sitecore config file, find the differences with the original and apply the same in new version.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;You used patch files only.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You're upgrading and you know you can remove all the Sitecore configs from the older version and add config from the newer version and your patches will still be there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In both cases you need to check if patch is still needed, relevant and even if it's working, but that's another thing.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-12-18T06:48:27.353" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15599" PostTypeId="1" AcceptedAnswerId="15601" CreationDate="2018-12-18T07:23:56.937" Score="4" ViewCount="323" Body="&lt;p&gt;I have cleaned up all the information related to my website in Application pool, site, and etc/hosts file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I tried to install a new site with the same name as the old one using Sitecore Installer, it notified me that the name has already existed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bzqxo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bzqxo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where does it try to read the site information from? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to remove entries of previously installed Sitecore instance?&lt;/p&gt;&#xA;" OwnerUserId="2076" LastEditorUserId="2056" LastEditDate="2018-12-18T07:39:55.660" LastActivityDate="2018-12-18T07:40:33.707" Title="How to remove entries for previously installed Sitecore instance with SIM for reinstallation?" Tags="|installation|sim|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15600" PostTypeId="2" ParentId="15599" CreationDate="2018-12-18T07:32:32.537" Score="2" Body="&lt;p&gt;Did you check the IIS? Also check the folder &lt;code&gt;C:\inetpub\wwwroot\[yoursite]&lt;/code&gt; if it exists, delete it and check again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For a clean install you need to do the followings.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Delete all the databases with your installation instance name.&lt;/li&gt;&#xA;&lt;li&gt;Delete the folder from the inetpub &lt;code&gt;C:\inetpub\wwwroot\[yoursite]&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;Remove Website from IIS.&lt;/li&gt;&#xA;&lt;li&gt;Remove host entry from &lt;code&gt;C:\Windows\System32\drivers\etc\drivers&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Use SIM for managing your Sitecore Instances:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Download the Sitecore Instance Manager from here, &lt;a href=&quot;http://dl.sitecore.net/updater/sim/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://dl.sitecore.net/updater/sim/&lt;/a&gt; and use it to mange your instances, it will also a handy tool in backing up websites.&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2018-12-18T07:32:32.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15601" PostTypeId="2" ParentId="15599" CreationDate="2018-12-18T07:32:35.763" Score="3" Body="&lt;p&gt;You need to make sure to delete / remove these entries:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;website under c:/inetpub/wwwroot&lt;/li&gt;&#xA;&lt;li&gt;relevant Application Pool in IIS&lt;/li&gt;&#xA;&lt;li&gt;relevant entries in hosts file located under &lt;code&gt;C:\Windows\System32\drivers\etc\drivers&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;relevant databases in SQL Server and also MongoDB collections&lt;/li&gt;&#xA;&lt;li&gt;open &lt;code&gt;regedit&lt;/code&gt; and remove relevant instance name under &lt;code&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Sitecore CMS]&lt;/code&gt; or &lt;code&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sitecore CMS]&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You already this first 3 so take a look on remaining points&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2018-12-18T07:40:33.707" LastActivityDate="2018-12-18T07:40:33.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15604" PostTypeId="2" ParentId="11525" CreationDate="2018-12-18T08:36:55.103" Score="0" Body="&lt;p&gt;You could try using this to exclude these files in Gulp&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;gulp.task(&quot;CI-Prepare-Package-Files, function (callback) {&#xA;    var excludeList = [&#xA;      config.websiteRoot + &quot;\\bin\\{Sitecore,Lucene,Newtonsoft,System,Microsoft.Web.Infrastructure}*dll&quot;,&#xA;      config.websiteRoot + &quot;\\compilerconfig.json.defaults&quot;,&#xA;      config.websiteRoot + &quot;\\packages.config&quot;,&#xA;      config.websiteRoot + &quot;\\App_Config\\Include\\{Feature,Foundation,Project}\\*Serialization.config&quot;,&#xA;      config.websiteRoot + &quot;\\App_Config\\Include\\{Feature,Foundation,Project}\\z.*DevSettings.config&quot;,&#xA;      &quot;!&quot; + config.websiteRoot + &quot;\\bin\\Sitecore.Support*dll&quot;,&#xA;      &quot;!&quot; + config.websiteRoot + &quot;\\bin\\Sitecore.{Feature,Foundation,Habitat,Demo,Common}*dll&quot;&#xA;    ];&#xA;    console.log(excludeList);&#xA;&#xA;    return gulp.src(excludeList, { read: false }).pipe(rimraf({ force: true }));&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1883" LastEditorUserId="233" LastEditDate="2018-12-18T09:53:27.237" LastActivityDate="2018-12-18T09:53:27.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15609" PostTypeId="2" ParentId="14959" CreationDate="2018-12-18T10:59:46.337" Score="0" Body="&lt;p&gt;Yes, it's possible we have a component called &lt;code&gt;Video Gallery&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Steps:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Drag &amp;amp; drop Gallery component from Media.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Then you have to click on '+' to add the Gallery Video which it supports both Vimeo &amp;amp; Youtube.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the problem is it's a Video Carousal we can modify by using CSS based on our requirement.&lt;/p&gt;&#xA;" OwnerUserId="4793" LastEditorUserId="5387" LastEditDate="2019-06-06T17:57:09.760" LastActivityDate="2019-06-06T17:57:09.760" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15610" PostTypeId="1" CreationDate="2018-12-18T11:10:32.740" Score="1" ViewCount="362" Body="&lt;p&gt;I have used the Sitecore SXA Video Gallery component but in mobile view it is not supporting(not able to see the videos) to iPhones,iPads. I am facing the below error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me how can I resolve this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0rDfB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0rDfB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4794" LastEditorUserId="2056" LastEditDate="2018-12-19T12:43:48.220" LastActivityDate="2018-12-20T09:57:44.953" Title="Sitecore SXA Video Gallery component is not supporting iOS devices" Tags="|sxa|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15611" PostTypeId="2" ParentId="15585" CreationDate="2018-12-18T13:08:53.683" Score="1" Body="&lt;p&gt;There is nothing like this out of the box. I would suggest writing Search Token, SXA has a couple of pre-defined ones. Just click Build query in the scope item, type SXA and you will see something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OSuH3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OSuH3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can write your custom one which will take data from Contact Database for each user. And the results will be filtered by those values. Take a look at &lt;code&gt;Sitecore.XA.Foundation.TokenResolution.Pipelines.ResolveTokens&lt;/code&gt;. Investigating &lt;code&gt;Sitecore.XA.Foundation.TokenResolution.Pipelines.ResolveTokens.ResolveTokensProcessor&lt;/code&gt; base processor class might also help.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2018-12-18T13:08:53.683" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15612" PostTypeId="1" AcceptedAnswerId="15622" CreationDate="2018-12-18T14:05:34.637" Score="3" ViewCount="662" Body="&lt;p&gt;I need to view the number of selected items in a MultiList field using out of the box SXA (1.7) components(i.e. no custom coding).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried doing this with a rendering variant NVelocity template using &lt;code&gt;$item.List&lt;/code&gt;. This returned a string with the id's of the items separated by | . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/miHSP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/miHSP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also would rather not use javascript. Any out of the box solution like NVelocity or suggestion without custom coding?  &lt;/p&gt;&#xA;" OwnerUserId="3694" LastEditorUserId="237" LastEditDate="2018-12-19T09:37:41.260" LastActivityDate="2018-12-19T09:37:41.260" Title="Count of selected items in a MultiList" Tags="|sxa|presentation|nvelocity|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15613" PostTypeId="1" CreationDate="2018-12-18T16:43:17.510" Score="2" ViewCount="976" Body="&lt;p&gt;While trying to create a report compatible with the SPE Data Importer, I noticed that the date is formatted rather than the raw value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I change this script to give me the date in the proper format?&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$templateId = &quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&quot;&#xA;Get-Item -Path master: -Query &quot;/sitecore/content/Home//*[@@templateid='$($templateId)']&quot;  | &#xA;    Show-ListView -Property ID, Name, __Created, FullPath&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ydp94.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ydp94.png&quot; alt=&quot;Sample Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2021-12-02T15:26:06.433" Title="How do I get the raw date value in my SPE report?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15614" PostTypeId="2" ParentId="15613" CreationDate="2018-12-18T16:43:17.510" Score="5" Body="&lt;p&gt;&lt;strong&gt;Fun Fact:&lt;/strong&gt; SPE adds properties to items returned by &lt;code&gt;Get-Item&lt;/code&gt; and &lt;code&gt;Get-ChildItem&lt;/code&gt; (referred to as &lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items#get-item-then-change-item-properties&quot; rel=&quot;nofollow noreferrer&quot;&gt;automatic properties&lt;/a&gt;. With automatic properties your code can change from &lt;code&gt;$item.Fields[&amp;quot;Title&amp;quot;].Value&lt;/code&gt; to &lt;code&gt;$item.Title&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Since we want the raw version of the field, we will need to populate the report using the raw field. In the standard Sitecore API you can access the raw field using the &lt;code&gt;Fields&lt;/code&gt; collection.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following access the raw field value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Fields[&amp;quot;Title&amp;quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following demonstrates the changes to the script to access the raw values (denoted by &lt;code&gt;$_.Fields[&amp;quot;FIELDNAME&amp;quot;]&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$templateId = &amp;quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&amp;quot;&#xA;Get-Item -Path master: -Query &amp;quot;/sitecore/content/Home//*[@@templateid='$($templateId)']&amp;quot;  | &#xA;    Show-ListView -Property ID,Name, @{name=&amp;quot;__Created&amp;quot;;expression={$_.Fields[&amp;quot;__Created&amp;quot;]}},FullPath&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bvdaN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bvdaN.png&quot; alt=&quot;Fixed&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Incase you were curious, the &lt;em&gt;datetime&lt;/em&gt; properties are formatted with the command &lt;code&gt;[Sitecore.DateUtil]::IsoDateToDateTime()&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2021-12-02T15:26:06.433" LastActivityDate="2021-12-02T15:26:06.433" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15615" PostTypeId="2" ParentId="15594" CreationDate="2018-12-18T16:51:56.917" Score="0" Body="&lt;p&gt;In my organization's code, when we want to redirect from the request pipeline, we call HttpRequestArgs.Context.Response.Redirect(), which aborts the thread at that point. We don't call AbortPipeline(). Do you know that you need to call AbortPipeline()?&lt;/p&gt;&#xA;" OwnerUserId="3614" LastActivityDate="2018-12-18T16:51:56.917" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15616" PostTypeId="1" CreationDate="2018-12-18T18:51:03.323" Score="3" ViewCount="94" Body="&lt;p&gt;I realize this may be an odd request, but our Marketing department really wants to get A/B Testing Data per day. I can't seem to find an easy way to do this. Is this something that I'd be able to find within Sitecore? Even if I have to pull raw data and massage it, that's fine, I just have no idea where to start with this.&lt;/p&gt;&#xA;" OwnerUserId="4799" LastActivityDate="2018-12-19T19:05:03.510" Title="A/B Testing Data by Day" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15617" PostTypeId="1" CreationDate="2018-12-18T19:05:00.423" Score="6" ViewCount="437" Body="&lt;p&gt;I have some PNGs that I created in Photoshop which have transparent backgrounds. I've saved these as PNGs and when I view the images in my file stystem in my browser, the background is transparent as I expect. However, I uploaded them in Sitecore (using the basic Upload File button in the media library) and saved them, but when I place them on my page they have a white background -- I should be able to see the a background image through them, but instead the background is white. &lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2018-12-28T09:26:35.563" LastActivityDate="2023-07-23T10:53:25.057" Title="Transparent PNGs lose transparency when uploaded to media library (8.2)" Tags="|media-library|" AnswerCount="1" CommentCount="4" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15618" PostTypeId="1" CreationDate="2018-12-18T19:33:14.457" Score="11" ViewCount="776" Body="&lt;p&gt;I'm running Sitecore 9.0.1 and trying to rebuild a reporting database. The problem is that the process is ridiculously slow. How slow? Here's a screenshot:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gzUyE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gzUyE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After 26 hours 127 items were processed of 178.839 in total. I went over the logs of the processing and reporting server, they show no error but this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #8 17:12:01 WARN  Authentication on CES Discovery service failed.&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (403) Forbidden.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at Sitecore.CES.Client.WebClient.&amp;lt;&amp;gt;c__DisplayClass6_0.&amp;lt;ExecuteRequest&amp;gt;b__0()&#xA;   at Sitecore.CES.Client.WebClient.Execute[T](Func`1 action, String requestUri)&#xA;   at Sitecore.CES.Client.ResourceConnector`1.Request(String endpoint, Object[] parameters)&#xA;   at Sitecore.CES.Discovery.EndpointSource.GetEndpoint(String serviceName)&#xA;&#xA;ManagedPoolThread #8 17:12:01 ERROR Could not update device detection database&#xA;Exception: System.ArgumentNullException&#xA;Message: Null ids are not allowed.&#xA;Parameter name: endpointUri&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)&#xA;   at Sitecore.CES.Client.WebClient.DownloadBinaryContent(String endpointUri, String resourcePath, DownladBinaryContentParameters parameters)&#xA;   at Sitecore.CES.DeviceDetection.Providers.FiftyOneDegrees.FiftyOneDeviceDetectionClient.GetNewerVersion()&#xA;   at Sitecore.CES.DeviceDetection.Providers.FiftyOneDegrees.FiftyOneDeviceDetectionClient.DoUpdate(String serviceName, String&amp;amp; newDatabasePath, String&amp;amp; newDatabaseVersion)&#xA;   at Sitecore.CES.DeviceDetection.Providers.DeviceDetectionClient.Update()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Could this cause this kind of behavior? This problem happens across all Sitecore servers we run for this client, CM, CD, PROC, REP, all. Or is there anything else there?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone has any tip on what could cause such slowliness?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thank you&lt;/p&gt;&#xA;" OwnerUserId="897" LastActivityDate="2019-02-06T12:30:23.763" Title="Report database Rebuild ridiculously slow" Tags="|experience-analytics|reporting|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="15619" PostTypeId="1" CreationDate="2018-12-19T00:54:34.867" Score="8" ViewCount="617" Body="&lt;p&gt;We have started migrating from WFFM to Experience Forms on Sitecore 9.0.1. I've hit an issue with jQuery reference clashes and would like to know the best way to solve it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I started by following the instructions on this page: &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/add-a-form-to-a-webpage.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/add-a-form-to-a-webpage.html&lt;/a&gt; . I didn't create the MVC layout or MVC outer layout as we want to drop forms into existing layouts. We do not want to create and use a new layout just for forms. I did add calls to @Html.RenderFormStyles() and @Html.RenderFormScripts() to our existing layouts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our existing layouts include references to jQuery, jQuery.validate and jQuery.validate.unobtrusive. These scripts are included again when @Html.RenderFormScripts() is called on the page. Some of these scripts are different versions. For example, We are using jQuery 2.2.0 and Sitecore forms is using jQuery 2.1.3. I've found that script errors are thrown when these libraries are included more than once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some potential solutions I've investigated are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Changing the &quot;Scripts&quot; field on a form so it excludes scripts that would be duplicated. The drawback for this solution is content editors will need to make this change for every form they create&lt;/li&gt;&#xA;&lt;li&gt;Change the standard values for /sitecore/templates/System/Forms/Form so it excludes duplicate scripts. This doesn't seem ideal either as we'd have to sync a system template item into our solution (we use TDS)&lt;/li&gt;&#xA;&lt;li&gt;Instead of calling @Html.RenderFormScripts(), manually include references to the JS files we need from /sitecore%20modules/Web/ExperienceForms/scripts/ . This feels more like a workaround than a proper solution&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Has anyone found a nice way to handle these duplicate jQuery references?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="2040" LastEditorUserId="2056" LastEditDate="2018-12-19T08:38:47.790" LastActivityDate="2019-02-17T10:02:50.563" Title="How do I handle duplicate jQuery references when using Experience Forms?" Tags="|wffm|upgrade|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15622" PostTypeId="2" ParentId="15612" CreationDate="2018-12-19T09:36:16.780" Score="3" Body="&lt;p&gt;I don't think there is an OOTB NVelocity function that can handle splits and counts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So.. one option would be to write an NVelocity function - which is not that hard, but does require custom code and that is not what you wanted. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I did find a way to do this in NVelocity without a custom function (note that a custom function would make this code cleaner and more reusable):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#set ($counter = 0)&#xA;#foreach($character in $item.List)&#xA;#if ($character.ToString() == &quot;{&quot;)&#xA;#set ($counter = $counter + 1)&#xA;#end&#xA;#end&#xA;Length: $counter&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The last line will display your number of items - adapt that one as needed..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like I mentioned - if you need this at more than one spot: go for a custom function (&lt;a href=&quot;https://michaellwest.blogspot.com/2017/04/custom-rendering-variant-token-tool-for-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;example here&lt;/a&gt; by Michael West). Also not sure about the performance of this code.. but it does work.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-12-19T09:36:16.780" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15623" PostTypeId="1" AcceptedAnswerId="15628" CreationDate="2018-12-19T09:50:46.517" Score="2" ViewCount="983" Body="&lt;p&gt;I followed &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/9326&quot; rel=&quot;nofollow noreferrer&quot;&gt;this community post&lt;/a&gt; on how to programmatically trigger goals, and it works as advertised:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Items.Item goalItem = Sitecore.Context.Database.GetItem(goalId);&#xA;var goalTrigger = Tracker.MarketingDefinitions.Goals[goalItem.ID];&#xA;var goalEventData = Tracker.Current.CurrentPage.RegisterGoal(goalTrigger);&#xA;goalEventData.Data = goalItem[&quot;Name&quot;];&#xA;goalEventData.ItemId = goalItem.ID.ToGuid();&#xA;goalEventData.DataKey = goalItem.Paths.Path;&#xA;goalEventData.Text = &quot;Goal for Logic&quot;;&#xA;Tracker.Current.Interaction.AcceptModifications();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, seeing as this is put into an API and called from JavaScript, the API URL appears in Path Analyzer. A bit of googling reveals that you can do the following to prevent a page from showing up in Path Analyzer:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.CurrentPage.Cancel(); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This single line of code seems to break the goal triggering. When the code is present, the triggering code is run, and the goal apparently triggered, but the goal never shows up in Experience Profile. If I remove that line, the goal shows up as expected in Experience Profile again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have previously used the &lt;code&gt;Cancel()&lt;/code&gt; method with great success, but after the switch to Sitecore 9.x it stopped the goal from being registered properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspected it might have something to do with session timeouts and set &lt;code&gt;&amp;lt;sessionState timeout=&quot;2&quot;&amp;gt;&lt;/code&gt; in Web.config. I then waited for about 30 minutes, yet still nothing appeared in Experience Profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the question is then: How can we programmatically trigger goals and have the API URL not show up in Path Analyzer?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1.0 (rev. 001564)&lt;/p&gt;&#xA;" OwnerUserId="3587" LastActivityDate="2018-12-19T15:15:43.293" Title="Programmatically triggering goal while not triggering Path Analyzer" Tags="|experience-profile|goals|path-analyzer|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15625" PostTypeId="1" CreationDate="2018-12-19T12:05:59.007" Score="1" ViewCount="21" Body="&lt;p&gt;How can we read Managed Metadata field values from Sharepoint using Sharepoint Connect 2.3 module? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Single Line fields type we used &quot;ows_ColumnName&quot;, but this approach is not working for Managed Metadata fields.&lt;/p&gt;&#xA;" OwnerUserId="4802" LastActivityDate="2018-12-19T12:05:59.007" Title="Sharepoint connect 2.3 Managed Metadata field type value" Tags="|sharepoint-connect|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15626" PostTypeId="2" ParentId="15527" CreationDate="2018-12-19T12:31:23.970" Score="4" Body="&lt;p&gt;It turns out that automatic publishing was the culprit here. The setting &lt;code&gt;&amp;lt;setting name=&quot;Publishing.AutoScheduleSmartPublish&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt; was causing any new template to get push to each remote target - in the case of Australia this was adding a long time to each operation!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read a bit more here: &lt;a href=&quot;https://alenpelin.com/2017/08/17/auto-schedule-smart-publish/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://alenpelin.com/2017/08/17/auto-schedule-smart-publish/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="443" LastActivityDate="2018-12-19T12:31:23.970" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15628" PostTypeId="2" ParentId="15623" CreationDate="2018-12-19T15:15:43.293" Score="3" Body="&lt;p&gt;You need to do two things to make the goal show up and the API not be in the tracker. As you said in your question, you need to cancel the current call. I do this with a little cotroller atribute I borrowed from Habitat.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Foundation.SitecoreExtensions.Attributes&#xA;{&#xA;    using System.Web.Mvc;&#xA;    using Sitecore.Analytics;&#xA;&#xA;    public class SkipAnalyticsTrackingApiAttribute : ActionFilterAttribute&#xA;    {&#xA;        public override void OnActionExecuting(ActionExecutingContext filterContext)&#xA;        {&#xA;            Tracker.Current?.CurrentPage?.Cancel();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you API controller looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpGet]&#xA;[SkipAnalyticsTrackingApi]&#xA;public ActionResult TriggerGoal(string goalId)&#xA;{&#xA;    var response = new BaseResponseDTO&amp;lt;bool&amp;gt;();&#xA;    response.Data = registrationTrackingRepository.TriggerGoal(goalId);&#xA;&#xA;    return new JsonNet(response);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The 2nd thing you need to do is to put the goal on the previous page. If you put it on the current page, the api call, it brings the page back into scope. Thus ignoring the Cancel() you did earlier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get the previous page with this bit of code. &lt;code&gt;fromApi&lt;/code&gt; is a bool that tells my function whether this is from an API call or a server side call. For fromApi = true, I use the previous page.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    var goalDefinition = this.goalDefinitionManager.Get(goalId.Guid, CultureInfo.InvariantCulture);&#xA;    if (goalDefinition == null)&#xA;    {&#xA;        Log.Warn($&quot;Cannot find goal: {goalId}&quot;, this);&#xA;        return;&#xA;    }&#xA;&#xA;    Log.Info($&quot;Goal Triggered: Contact: {Tracker.Current.Contact.ContactId} : {goalId}&quot;, this);&#xA;&#xA;    var page = fromApi ? GetPageForApi() : Tracker.Current.CurrentPage;&#xA;&#xA;    page.RegisterGoal(goalDefinition);&#xA;}&#xA;&#xA;private IPageContext GetPageForApi()&#xA;{&#xA;    if (Tracker.Current.Session.Interaction.PreviousPage == null)&#xA;        return Tracker.Current.CurrentPage;&#xA;&#xA;    return Tracker.Current.Session.Interaction.PreviousPage;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2018-12-19T15:15:43.293" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15629" PostTypeId="2" ParentId="15616" CreationDate="2018-12-19T19:05:03.510" Score="1" Body="&lt;p&gt;I've not done this specifically, but I suspect you could find what you're looking for by inspecting the Analytics database's tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find out the server and database name by looking in your connection strings for the &lt;code&gt;reporting&lt;/code&gt; connection string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pzJia.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pzJia.png&quot; alt=&quot;analytics database table list&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-19T19:05:03.510" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15630" PostTypeId="1" CreationDate="2018-12-19T19:10:26.010" Score="5" ViewCount="1222" Body="&lt;p&gt;I have a CD/CM site which I hardened by restricting access to Sitecore by adding &quot;sitecore&quot; to the Hidden Segments in the Request Filtering section in IIS (second answer &lt;a href=&quot;https://sitecore.stackexchange.com/questions/186/how-do-i-disable-sitecore-access-on-a-content-delivery-server&quot;&gt;here&lt;/a&gt;). However, this has blocked access to /sitecore/service/keepalive.aspx, and I am getting errors logged every time the keepalive service runs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to block the entire sitecore folder on CD &lt;em&gt;except&lt;/em&gt; for sitecore/services? I expect I could add each subfolder to the Hidden Segments but I'm not sure if there's a better solution.&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2018-12-28T09:29:13.173" LastActivityDate="2019-01-07T12:45:50.480" Title="Sitecore CD instance - Restrict access to Sitecore folder without blocking keepalive.aspx?" Tags="|security|scaling|content-delivery|iis|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15631" PostTypeId="2" ParentId="15630" CreationDate="2018-12-19T20:07:57.490" Score="4" Body="&lt;p&gt;I'm not aware of a way to do what you are asking because &lt;code&gt;deny&lt;/code&gt; permissions are always stronger than &lt;code&gt;grant&lt;/code&gt; permissions, so the instruction to deny access to &lt;code&gt;/sitecore/*&lt;/code&gt; would beat the instruction to grant access to &lt;code&gt;/sitecore/service/keepalive.aspx&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, I would recommend following Sitecore's &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/75/sitecore_security_hardening_guide-sc75-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Security Hardening Guide&lt;/a&gt; (section 1.5):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To restrict access to the client interfaces, we recommend that you&#xA;  implement IP-based security restrictions or disable Anonymous IIS&#xA;  access to the &lt;code&gt;/sitecore/admin&lt;/code&gt;, &lt;code&gt;/sitecore/login&lt;/code&gt;, &lt;code&gt;/sitecore/shell&lt;/code&gt;&#xA;  folders and to the &lt;code&gt;/sitecore/default.aspx&lt;/code&gt; page.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Also related (from the same section):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The /sitecore/service folder should be excluded from the IIS&#xA;  restrictions because it contains a number of service ASPX pages that&#xA;  are used by Sitecore to report various conditions that can occur in&#xA;  the application, such as, 404 Page Not Found or 403 Forbidden to the&#xA;  web client.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;However, you can move the files from the /sitecore/service folder to&#xA;  the /sitecore folder. If you move the files, you must also update the&#xA;  following settings in the web.config file:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;ErrorPage&lt;/li&gt;&#xA;  &lt;li&gt;NoAccessUrl&lt;/li&gt;&#xA;  &lt;li&gt;NoLicenseUrl&lt;/li&gt;&#xA;  &lt;li&gt;LayoutNotFoundUrl&lt;/li&gt;&#xA;  &lt;li&gt;ItemNotFoundUrl&lt;/li&gt;&#xA;  &lt;li&gt;LinkItemNotFoundUrl&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-19T20:07:57.490" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15632" PostTypeId="1" CreationDate="2018-12-19T20:43:00.317" Score="2" ViewCount="741" Body="&lt;p&gt;I am a newby and working on the Solutions Developer Course for Sitecore 8.2 online in Visual Studio with Sitecorerocks. Also just a heads up, very recently I had to rebuild this Visual Studio 2015 solution due to a corrupted .csproj file. So my question is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why am I getting this error message when trying to create a new Controller Rendering for SubscribeForm. It is setup to use a tested placeholder I have used for many other control renderings and there is no model associated since I am just trying to display the initial route(Index).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error Message:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/QdzNc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QdzNc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Explorer: Created Controller rendering:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/cyU6o.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cyU6o.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Explorer: Presentation Rendering and place holders are setup like this for an events detail page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/43kXi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/43kXi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution Explorer: Controller:           &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O3LLY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O3LLY.png&quot; alt=&quot;Controller:&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution Explorer: Views/SubscribeForm/Index.cshtml:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DEZ2V.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DEZ2V.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4804" LastActivityDate="2018-12-21T15:15:14.653" Title="Sitecore 8.1 Controller Rendering Error" Tags="|mvc-forms|controller|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15633" PostTypeId="2" ParentId="15632" CreationDate="2018-12-19T20:56:20.080" Score="1" Body="&lt;p&gt;You shouldn't need the &lt;code&gt;/&lt;/code&gt; before the action name in your rendering. Change &lt;code&gt;/Index&lt;/code&gt; to &lt;code&gt;Index&lt;/code&gt; and it should work properly.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-19T20:56:20.080" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15634" PostTypeId="2" ParentId="14193" CreationDate="2018-12-19T21:09:50.483" Score="15" Body="&lt;p&gt;I had to do the following steps to fix this issue.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open &quot;Computer management&quot; &gt; &quot;Local Users and Groups&quot; &gt; &quot;Groups&quot; &gt; &quot;Performance Monitor Users&quot; &gt; &lt;em&gt;Now 'Add' the application pool user account&lt;/em&gt; (example: &lt;code&gt;IIS AppPool\SiteName_xconnect.local&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Do above step for &lt;code&gt;Performance Log Users&lt;/code&gt; as well.&lt;/li&gt;&#xA;&lt;li&gt;Restart AppPool for the XConnect website.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Notes:&lt;br&gt;&#xA;1. I had also executed &lt;code&gt;Sitecore.XConnect.Diagnostics.InstallCounters.exe&lt;/code&gt; under &lt;code&gt;[XConnect IIS Site Folder]\App_data\Diagnostics\&lt;/code&gt; before doing Step #1&lt;br&gt;&#xA;2. You might have to complete all of the steps listed above for &lt;code&gt;refdata&lt;/code&gt; and &lt;code&gt;marketingautomation&lt;/code&gt; IIS Websites as well. This depends on how Sitecore and XConnect is setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="4515" LastEditDate="2019-07-19T16:20:18.593" LastActivityDate="2019-07-19T16:20:18.593" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15635" PostTypeId="1" AcceptedAnswerId="15648" CreationDate="2018-12-19T21:28:53.260" Score="5" ViewCount="625" Body="&lt;p&gt;I'm attempting to use Sitecore Powershell Extensions to automate &lt;strong&gt;Step 2&lt;/strong&gt; of the following upgrade guide for a Sitecore accelerator known as SCORE:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://brainjocks.atlassian.net/wiki/spaces/SDD/pages/390594792/Add+New+Placeholder+Settings&quot; rel=&quot;noreferrer&quot;&gt;https://brainjocks.atlassian.net/wiki/spaces/SDD/pages/390594792/Add+New+Placeholder+Settings&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the step, a variety of new placeholder settings are added to the Presentation Details of each page's __Standard Values on the Sitecore installation. I've found several resources on how to add a rendering definition item to a layout but no resources on how to add a placeholder. Here is a snippet of what I have so far:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define placeholders to add&#xA;$facetPlaceholder = &quot;&amp;lt;p uid=`&quot;{1E5FCA45-4AF1-40AB-9479-FE9AE4172DB5}`&quot; key=`&quot;Facets`&quot; md=`&quot;$tenantCopyPath/Facets`&quot; /&amp;gt;&quot;&#xA;$searchResultViewsPlaceholder = &quot;&amp;lt;p uid=`&quot;{5137EC9B-4DC0-464B-A522-6FB1EE5362E9}`&quot; key=`&quot;Search Result Views`&quot; md=`&quot;$tenantCopyPath/Search Result Views`&quot; /&amp;gt;&quot;&#xA;$slickSliderPlaceholder = &quot;&amp;lt;p uid=`&quot;{F2B4B648-5BCF-4556-9630-467F2A710B98}`&quot; key=`&quot;Slick Slider`&quot; md=`&quot;$tenantCopyPath/Slick Slider`&quot; /&amp;gt;&quot;&#xA;&#xA;if ($pageTemplatesExist) {&#xA;    $children = Get-ChildItem -Path $pageTemplatePath&#xA;    foreach ($child in $children) {&#xA;        $childPath = $child.Paths.Path&#xA;        $standardValues = Get-ChildItem -Path $childPath&#xA;        if ($standardValues.length -ne 0) {&#xA;            $renderingsField = $standardValues.Fields[&quot;__Renderings&quot;].ToString()&#xA;            $testXML = [xml]$renderingsField&#xA;            if (-not ($renderingsField -contains 'Facets')) {&#xA;                $standardValues.Editing.BeginEdit()&#xA;                $standardValues.Editing.EndEdit()&#xA;            }&#xA;            else {&#xA;                Write-Host &quot;Placeholder setting already exists for Facets at item: $($standardValues.Paths.Path) &quot;&#xA;            }&#xA;            if (-not ($renderingsField -contains 'Search Result Views')) {&#xA;                $standardValues.Editing.BeginEdit()&#xA;                $standardValues.Editing.EndEdit()&#xA;            }&#xA;            else {&#xA;                Write-Host &quot;Placeholder setting already exists for Search Result Views at item: $($standardValues.Paths.Path) &quot;&#xA;            }&#xA;            if (-not ($renderingsField -contains 'Slick Slider')) {&#xA;                $standardValues.Editing.BeginEdit()&#xA;                $standardValues.Editing.EndEdit()&#xA;            }&#xA;            else {&#xA;                Write-Host &quot;Placeholder setting already exists for Slick Slider at item: $($standardValues.Paths.Path) &quot;&#xA;            }&#xA;        }&#xA;        else {&#xA;            Write-Host &quot;No standard values template for page at path: $childPath&quot;&#xA;        }&#xA;    }&#xA;}&#xA;else {&#xA;    Write-Host &quot;No page templates found for $tenant found at path: $pageTemplatePath&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My current idea is to manually modify the __Renderings standard field. I was going to grab the string version of the __Renderings field, inject my new placeholder markup where needed(possibly first converting this string to XML to make my modifications easier although I was having trouble getting the __Renderings read into an xml variable), then reassigning the original __Renderings field value to my new modified version. Is there a more straightforward way to accomplish this task without manually manipulating the __Renderings field? Thanks for the assistance!&lt;/p&gt;&#xA;" OwnerUserId="1080" LastActivityDate="2018-12-20T17:42:16.020" Title="Add Placeholder To Presentation Details Using Sitecore Powershell" Tags="|presentation|powershell-extensions|powershell|brainjocks-score|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15636" PostTypeId="1" AcceptedAnswerId="15668" CreationDate="2018-12-19T22:39:22.930" Score="0" ViewCount="268" Body="&lt;p&gt;What will be the order of solr indexes getting updated after create/update item in Sitecore CM or CD. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should i do if i need to changes the order of index update. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g i need build the custom indexes before updating Sitecore out of the box indexes on item save/create. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="1517" LastActivityDate="2018-12-21T20:12:27.727" Title="Order of Index Update in Sitecore" Tags="|solr|indexing|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15637" PostTypeId="2" ParentId="6452" CreationDate="2018-12-19T23:57:56.160" Score="1" Body="&lt;p&gt;The only thing I can think of is open up your .scproj file in a text editor, and make sure that at the bottom it only references the HedgeHogDevelopment Nuget Package Folder. Anything that references to your c:\program files (x86)\Hedgehog Development\ should not be there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what mine looks like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;Target Name=&quot;EnsureNuGetPackageBuildImports&quot; BeforeTargets=&quot;PrepareForBuild&quot;&amp;gt;&#xA;    &amp;lt;PropertyGroup&amp;gt;&#xA;      &amp;lt;ErrorText&amp;gt;This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.&amp;lt;/ErrorText&amp;gt;&#xA;    &amp;lt;/PropertyGroup&amp;gt;&#xA;    &amp;lt;Error Condition=&quot;!Exists('..\packages\HedgehogDevelopment.TDS.5.7.0.10\build\HedgehogDevelopment.TDS.targets')&quot; Text=&quot;$([System.String]::Format('$(ErrorText)', '..\packages\HedgehogDevelopment.TDS.5.7.0.10\build\HedgehogDevelopment.TDS.targets'))&quot; /&amp;gt;&#xA;  &amp;lt;/Target&amp;gt;&#xA;  &amp;lt;Import Project=&quot;..\packages\HedgehogDevelopment.TDS.5.7.0.10\build\HedgehogDevelopment.TDS.targets&quot; Condition=&quot;Exists('..\packages\HedgehogDevelopment.TDS.5.7.0.10\build\HedgehogDevelopment.TDS.targets')&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2018-12-19T23:57:56.160" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15638" PostTypeId="1" CreationDate="2018-12-20T01:07:54.133" Score="6" ViewCount="420" Body="&lt;p&gt;We are implementing an EXM solution for sending bulk mail, but have come across an issue in scaled environments when using a Dedicated Dispatch Server.  We have offloaded all dispatch to the DDS by modifying the DispatchNewsletter pipeline on the CM (as per instructions in the doco at &lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/the-exm-pipelines.html#UUID-82aa3c7a-d998-c6b2-bbc4-cac8ba5e54ee_id__DispatchNewsletter_pipeline&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/the-exm-pipelines.html#UUID-82aa3c7a-d998-c6b2-bbc4-cac8ba5e54ee_id__DispatchNewsletter_pipeline&lt;/a&gt;) replacing the SendEmail processor with WaitForDispatchToFinish.  All mail is being sent by DDS as anticipated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CM DispatchNewsletter pipeline looks like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;DispatchNewsletter patch:source=&quot;Sitecore.EmailExperience.ContentManagementPrimary.config&quot;&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.CheckPreconditions, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.MoveToQueuing, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.DeployAnalytics, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.PublishDispatchItems, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.QueueMessage, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.MoveToProcessing, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.LaunchDedicatedServers, Sitecore.EmailCampaign.Cm&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.SendTestMessage, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.WaitForDispatchToFinish, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot; patch:source=&quot;Sitecore.EmailExperience.ContentManagement.Patch.config&quot;&amp;gt;&#xA;        &amp;lt;TimeToWaitBetweenChecks&amp;gt;1000&amp;lt;/TimeToWaitBetweenChecks&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.MoveToSent, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.NotifyDispatchFinished, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.FinalizeDispatch, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;/DispatchNewsletter&amp;gt;  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The DDS DispatchNewsletter pipeline looks like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;DispatchNewsletter patch:source=&quot;Sitecore.EmailExperience.EmailProcessing.config&quot;&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.CheckPreconditions, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.SendMessage, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;Sleep&amp;gt;2000&amp;lt;/Sleep&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.FinalizeDispatch, Sitecore.EmailCampaign.Cm&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;/DispatchNewsletter&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When sending, we have noticed that the campaign will not transition to a &quot;Sent&quot; status, even though all the mail has successfully been delivered.  It will stay in the &quot;Sending&quot; status.  This occurs for both the CustomSMTP and EmailCloud providers.  A pause and resume of the campaign results in the same problem.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We performed some Pipeline debugging/dotPeeking and it appears that the code is never exiting the WaitForDispatchToFinish processor.  Looking at the DDS logs we can see a continual polling for Status (initiated from the WaitForDispatchToFinish processor) and reporting &quot;Status=Stopped&quot;. There is nothing in the logs that indicates any level of failure on the CM or DDS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was all tested on Sitecore 9.0.1 ( with the EXM cumulative hotfix &lt;a href=&quot;https://kb.sitecore.net/articles/467253&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/467253&lt;/a&gt; ) in a fully scaled environment on Azure Paas.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there something we are missing with our implementation to completely disable dispatch on the CM and offload all mail dispatch to the DDS? We know there are other options to &lt;em&gt;minimise&lt;/em&gt; dispatch on the CM, however are looking to disable it completely for a clearer separation of concerns in our Sitecore roles, which should be possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made the suggested changes from comments, and re-tested.  We're seeing some campaigns getting stuck still. Dug into dotpeek and looks to me like WaitForDedicatedServers in the WaitForDispatchToFinish processor expects the num of DDS servers to be &quot;sending&quot; &gt; 0 at least once. So theory is that if the DDS completes before there is a successful status check (EG. due to small send list or initial status calls failing etc) it seems to get stuck even though the mail is delivered. Pausing/Resuming the affected campaigns results in the same as DDS status is always &quot;Stopped&quot; (it's already dispatched everything).&lt;/p&gt;&#xA;" OwnerUserId="2673" LastEditorUserId="2673" LastEditDate="2018-12-28T01:13:15.920" LastActivityDate="2018-12-28T01:13:15.920" Title="Disable EXM dispatch on CM and offload to DDS?" Tags="|exm|pipelines|scaling|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15639" PostTypeId="1" CreationDate="2018-12-20T06:03:19.727" Score="3" ViewCount="253" Body="&lt;p&gt;Yesterday while working on my Sitecore 8.2 solution, I encountered a strange situation and I had to spend many hours on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some very strange reason, one of the sitecore items when I was trying to browse from front-end was giving me layout not available. I immediately thought that it might be an accidental case of me forgetting to publish that item. So I published it again but when I went to the web database I noticed that that item absolutely had no presentation settings. I went back to test by adding some content to one of its fields, in the template standard values which when published did go through to web database but the presentation settings never got published. I then noticed one thing very peculiar. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When reviewing the presentation settings for the item in web database, I realized that the labels for default device, print device etc. were all displaying in japanese. Immediately I realized in my my multi-site definitions, I had in fact commented out the default &quot;website&quot; site definition in the config file as my intention was to always go to en-us site by default. Since the &quot;hostName&quot; attribute for all sites were the same, I thought that Sitecore might be reading the first site which was &quot;ja-jp&quot;, and hence the japanese labels. But mind you, this was only happening on the web database. On master database the labels were all English.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I put back the default &quot;website&quot; site definition in the config file and now when I went to web database I could see the English labels. I assumed that should be it and now even my publishing should be resolved (although I was still not sure of the relation between these two issues). But no, I was still not able to see the presentation settings of that one item and of it's standard value item. One thing to clear here is that throughout my endeavor, there were absolutely no sitecore errors in the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As another try, I then started removing one by one of the presentation renderings of that item's standard value item and now when I published I could see those presentation settings on the web database. I then put all the original presentation setting rendering items back and published and now I could see them all in the published item in the web database. So, it seemed like it needed a &quot;refresh&quot; of the presentation settings of that item for them to get published. Very very strange indeed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also wanted to mention that even if I forcefully copied over the raw values of layout field over from master or use &quot;Transfer&quot; option from master, still this particular sitecore item's presentation settings were not published or visible on the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More on this. I got the same issue again and upon further investigating, I noticed that the reason that the item missing its presentation settings was because the unicorn serialized file for the standard item of the template, was missing the rendering information. So I again did some change in the presentation settings, saved and re-serialized that template and now I was able to see the renderings in the item's standard value serialized file. I am absolutely not sure why this happened but this is a workaround if anyone else faces similar issue&lt;/p&gt;&#xA;" OwnerUserId="4808" LastEditorUserId="237" LastEditDate="2018-12-24T13:41:59.487" LastActivityDate="2018-12-25T10:20:13.453" Title="Sitecore publish failed to push latest presentation settings" Tags="|publishing|serialization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15640" PostTypeId="1" CreationDate="2018-12-20T06:10:48.313" Score="1" ViewCount="494" Body="&lt;p&gt;I am unable to start the xconnect related services &lt;code&gt;Sitecore XConnect Search Indexer&lt;/code&gt;, &lt;code&gt;Sitecore Processing Service&lt;/code&gt; and &lt;code&gt;Sitecore Marketing Automation Engine&lt;/code&gt; after xconnect upgrade. Getting an error from event viewer while starting &lt;code&gt;Sitecore XConnect Search Indexer&lt;/code&gt; is :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Application: XConnectSearchIndexer.exe Framework Version: v4.0.30319&#xA;  Description: The process was terminated due to an unhandled exception.&#xA;  Exception Info: System.NotSupportedException&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Info: System.IO.FileLoadException    at&#xA;  System.Reflection.RuntimeAssembly._nLoad(System.Reflection.AssemblyName,&#xA;  System.String, System.Security.Policy.Evidence,&#xA;  System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark&#xA;  ByRef, IntPtr, Boolean, Boolean, Boolean)    at&#xA;  System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(System.Reflection.AssemblyName,&#xA;  System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly,&#xA;  System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean,&#xA;  Boolean)    at&#xA;  System.Reflection.Assembly.Load(System.Reflection.AssemblyName)    at&#xA;  Serilog.Settings.Configuration.ConfigurationReader.LoadConfigurationAssemblies()&#xA;  at&#xA;  Serilog.Settings.Configuration.ConfigurationReader..ctor(Microsoft.Extensions.Configuration.IConfigurationSection,&#xA;  Microsoft.Extensions.DependencyModel.DependencyContext)    at&#xA;  Serilog.ConfigurationLoggerConfigurationExtensions.ConfigurationSection(Serilog.Configuration.LoggerSettingsConfiguration,&#xA;  Microsoft.Extensions.Configuration.IConfigurationSection,&#xA;  Microsoft.Extensions.DependencyModel.DependencyContext)    at&#xA;  Sitecore.XConnect.Logging.Serilog.LoggerConfigurationExtensions.RegisterLoggerFromConfiguration(Microsoft.Extensions.Configuration.IConfiguration)&#xA;  at&#xA;  Sitecore.XConnect.Search.Indexer.Logging.Start(Microsoft.Extensions.Configuration.IConfiguration,&#xA;  System.String)    at&#xA;  Sitecore.XConnect.Search.Indexer.Program.InitializeConfigurationAndRun(System.Action)&#xA;  at Sitecore.XConnect.Search.Indexer.Program.Main(System.String[])&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any advices?&lt;/p&gt;&#xA;" OwnerUserId="4809" LastEditorUserId="35" LastEditDate="2018-12-20T08:33:58.693" LastActivityDate="2019-04-03T18:04:15.863" Title="Sitecore XP0 9.1 Upgrade from 9 update 2 Issues" Tags="|xconnect|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15642" PostTypeId="2" ParentId="5696" CreationDate="2018-12-20T10:08:00.573" Score="0" Body="&lt;p&gt;Can any one knows How these values are calculated in sitecore from reporting database by combining the tables.(Need SQL query to get the values).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Page Views&#xA;Visits &#xA;Time on site &#xA;Pages per visit &#xA;Visits per person&#xA;Bounce rate &lt;/p&gt;&#xA;" OwnerUserId="4810" LastActivityDate="2018-12-20T10:08:00.573" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15643" PostTypeId="1" AcceptedAnswerId="15645" CreationDate="2018-12-20T10:36:56.013" Score="4" ViewCount="282" Body="&lt;p&gt;The question is pretty simple: can I use the GraphQL from JSS package without JSS license?&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="312" LastEditDate="2018-12-20T10:53:59.867" LastActivityDate="2018-12-20T17:27:53.577" Title="Sitecore, JSS and GraphQL: licensing question" Tags="|jss|licensing|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15645" PostTypeId="2" ParentId="15643" CreationDate="2018-12-20T14:58:27.303" Score="4" Body="&lt;p&gt;You don't need a JSS license to use the &lt;code&gt;Sitecore.Services.GraphQL&lt;/code&gt; package, which is essentially the &quot;core&quot; part of using GraphQL with Sitecore. So you are free to create your own schemas, extenders, etc... or use the built-in options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a &lt;code&gt;Sitecore.JavaScriptServices.GraphQL&lt;/code&gt; package as well. This package is primarily used to provide a custom JSS extender as well as a GQL rendering contents resolver for Layout Service. I don't believe the package &lt;em&gt;directly&lt;/em&gt; requires a license, but it's not going to be of much use outside of a JSS context.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2018-12-20T17:27:53.577" LastActivityDate="2018-12-20T17:27:53.577" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15646" PostTypeId="1" AcceptedAnswerId="15647" CreationDate="2018-12-20T15:20:48.423" Score="0" ViewCount="209" Body="&lt;p&gt;is there any replacement for Sitecore.Context.Database.Name in JSS..?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;just trying to know the list of conteproperties are ac&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="2727" LastEditDate="2018-12-27T07:25:12.780" LastActivityDate="2018-12-27T07:25:12.780" Title="Replacement for Sitecore.Context.Database.Name in JSS?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15647" PostTypeId="2" ParentId="15646" CreationDate="2018-12-20T15:29:38.920" Score="2" Body="&lt;p&gt;By default, JSS route data contains the database name for the requested item, e.g. &lt;code&gt;sitecore.route.databaseName&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you may want to look into extending the Layout Service context data if you need the data outside of the route: &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/extending-layout-service/layoutservice-extending-context&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/techniques/extending-layout-service/layoutservice-extending-context&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2018-12-20T15:29:38.920" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15648" PostTypeId="2" ParentId="15635" CreationDate="2018-12-20T17:21:16.197" Score="1" Body="&lt;p&gt;Definitely not the prettiest thing in the world but I came up with a solution using the pull request @Michael West linked to. The big key for me was finding out that you could create a DeviceDefinition item which has an AddPlaceholder method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if ($pageTemplatesExist) {&#xA;    $children = Get-ChildItem -Path $pageTemplatePath&#xA;    foreach ($child in $children) {&#xA;        $childPath = $child.Paths.Path&#xA;        $standardValues = Get-ChildItem -Path $childPath&#xA;        if ($standardValues.length -ne 0) {&#xA;            $layoutField = [Sitecore.FieldIDs]::LayoutField&#xA;            $layout = $standardValues[$layoutField].ToString()&#xA;            $layoutDefinition = [Sitecore.Layouts.LayoutDefinition]::Parse($layout);&#xA;            $layoutUpdated = $false&#xA;            foreach ($device in $layoutDefinition.Devices) {&#xA;                $deviceDefinition = [Sitecore.Layouts.DeviceDefinition]$device&#xA;&#xA;                $facetPlaceholderExists = $false&#xA;                $searchResultViewsPlaceholderExists = $false&#xA;                $slickSliderfacetPlaceholderExists = $false&#xA;&#xA;                foreach ($currPlaceholder in $deviceDefinition.Placeholders) {&#xA;&#xA;                    $currPlaceholderDefinition = [Sitecore.Layouts.PlaceholderDefinition]$currPlaceholder&#xA;&#xA;                    if ($currPlaceholderDefinition.Key -eq $facetPlaceholderKey -and $currPlaceholderDefinition.MetaDataItemId -eq $facetPlaceholderMD) {&#xA;                        $facetPlaceholderExists = $true&#xA;                    }&#xA;&#xA;                    if ($currPlaceholderDefinition.Key -eq $searchResultViewsPlaceholderKey -and $currPlaceholderDefinition.MetaDataItemId -eq $searchResultViewsPlaceholderMD) {&#xA;                        $searchResultViewsPlaceholderExists = $true&#xA;                    }&#xA;&#xA;                    if ($currPlaceholderDefinition.Key -eq $slickSliderPlaceholderKey -and $currPlaceholderDefinition.MetaDataItemId -eq $slickSliderPlaceholderMD) {&#xA;                        $slickSliderfacetPlaceholderExists = $true&#xA;                    }&#xA;                }&#xA;&#xA;                #add facet placeholder to all device definitions&#xA;                if (-not ($facetPlaceholderExists)) {&#xA;                    $placeholder = New-Object Sitecore.Layouts.PlaceholderDefinition&#xA;                    $placeholder.UniqueId = $facetPlaceholderUID&#xA;                    $placeholder.Key = $facetPlaceholderKey&#xA;                    $placeholder.MetaDataItemId = $facetPlaceholderMD&#xA;                    $deviceDefinition.AddPlaceholder($placeholder)&#xA;                    $layoutUpdated = $true&#xA;                }&#xA;                else {&#xA;                    Write-Host &quot;Placeholder setting already exists for Facets at item: $($standardValues.Paths.Path) &quot;&#xA;                }&#xA;&#xA;                #add search result views placeholder to all device definitions&#xA;                if (-not ($searchResultViewsPlaceholderExists)) {&#xA;                    $placeholder = New-Object Sitecore.Layouts.PlaceholderDefinition&#xA;                    $placeholder.UniqueId = $searchResultViewsPlaceholderUID&#xA;                    $placeholder.Key = $searchResultViewsPlaceholderKey&#xA;                    $placeholder.MetaDataItemId = $searchResultViewsPlaceholderMD&#xA;                    $deviceDefinition.AddPlaceholder($placeholder)&#xA;                    $layoutUpdated = $true&#xA;                }&#xA;                else {&#xA;                    Write-Host &quot;Placeholder setting already exists for Search Result Views at item: $($standardValues.Paths.Path) &quot;&#xA;                }&#xA;&#xA;                #add slick slider placeholder to all device definitions&#xA;                if (-not ($slickSliderfacetPlaceholderExists)) {&#xA;                    $placeholder = New-Object Sitecore.Layouts.PlaceholderDefinition&#xA;                    $placeholder.UniqueId = $slickSliderPlaceholderUID&#xA;                    $placeholder.Key = $slickSliderPlaceholderKey&#xA;                    $placeholder.MetaDataItemId = $slickSliderPlaceholderMD&#xA;                    $deviceDefinition.AddPlaceholder($placeholder)&#xA;                    $layoutUpdated = $true&#xA;                }&#xA;                else {&#xA;                    Write-Host &quot;Placeholder setting already exists for Slick Slider at item: $($standardValues.Paths.Path) &quot;&#xA;                }&#xA;            }&#xA;&#xA;            if($layoutUpdated){&#xA;                $standardValues.Editing.BeginEdit()&#xA;                $standardValues[$layoutField] = $layoutDefinition.ToXml()&#xA;                $standardValues.Editing.EndEdit()&#xA;            }&#xA;&#xA;        }&#xA;        else {&#xA;            Write-Host &quot;No standard values template for page at path: $childPath&quot;&#xA;        }&#xA;    }&#xA;}&#xA;else {&#xA;    Write-Host &quot;No page templates found for $tenant found at path: $pageTemplatePath&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help!&lt;/p&gt;&#xA;" OwnerUserId="1080" LastEditorUserId="1080" LastEditDate="2018-12-20T17:42:16.020" LastActivityDate="2018-12-20T17:42:16.020" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15649" PostTypeId="1" AcceptedAnswerId="15651" CreationDate="2018-12-20T17:31:09.147" Score="1" ViewCount="781" Body="&lt;h2&gt;Does &lt;code&gt;&amp;lt;setting name=&amp;quot;Publishing.DisableDatabaseCaches&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;/code&gt; have any effect at all on a CD server?&lt;/h2&gt;&#xA;&lt;p&gt;I understand that the CM, which is the publishing server, would be affected by this setting as it's doing the publish operation. However, I'm wondering if the CD server does &lt;em&gt;something&lt;/em&gt; when it &amp;quot;receives&amp;quot; the published content that might utilise this setting.&lt;/p&gt;&#xA;" OwnerUserId="1417" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-12-20T18:38:29.683" Title="Sitecore Publishing.DisableDatabaseCaches Setting On a Content Delivery (CD) Server" Tags="|publishing|caching|content-delivery|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15650" PostTypeId="2" ParentId="15636" CreationDate="2018-12-20T18:15:39.253" Score="0" Body="&lt;p&gt;The out-of-the-box update strategies do not guarantee any particular order order. While it may be possible to create a custom update strategy that imposed some order to the index updates, I do not think that it would be a good idea. You do not want to introduce a dependency from one index on another.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you feel that you need to change the order of index updates, I would recommend that you reexamine the situation. It would be far better to address the cause of the failure than to introduce a hack to work around it.&lt;/p&gt;&#xA;" OwnerUserId="153" LastActivityDate="2018-12-20T18:15:39.253" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15651" PostTypeId="2" ParentId="15649" CreationDate="2018-12-20T18:38:29.683" Score="3" Body="&lt;p&gt;In default Sitecore installation, this settings is not even used. &lt;code&gt;Sitecore.Publishing.Pipelines.Publish.OverridePublishContext&lt;/code&gt; processor overrides it anyway. It's only when this processor is disabled, the settings is used. But even then, only the publishing server is affected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I know, CD server does not &quot;receive&quot; the published context, it only receives remote events related to publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just so it's more clear, here is the comment from config file for &lt;code&gt;OverridePublishContext&lt;/code&gt; processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA; This processor overrides the DisableDatabaseCaches and the MaxDegreeOfParallelism properties of the PublishContext class.&#xA;&#xA; The DisableDatabaseCaches property of the PublishContext is overridden and set to true if child items are being published,&#xA; including when you perform a full site publish.&#xA; If only a single item is being published, the property is set to false.&#xA; If you disable this processor, the publish context uses the value of the Publishing.DisableDatabaseCaches setting for all the&#xA; publishing operations.&#xA;&#xA; If only a single item is being published, the MaxDegreeOfParallelism property of the PublishContext is overridden to 1.&#xA; This disables parallel publishing for single item publishing operations. &#xA;--&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Publishing.Pipelines.Publish.OverridePublishContext, Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-12-20T18:38:29.683" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15654" PostTypeId="1" CreationDate="2018-12-21T08:17:49.923" Score="5" ViewCount="581" Body="&lt;p&gt;We are using sitecore 9.1. We have a partner license to develop the Sitecore application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we use the same license for UAT and Test environments? Or is another license required for that? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both environment will be hosted in azure. &lt;/p&gt;&#xA;" OwnerUserId="4815" LastEditorUserId="237" LastEditDate="2018-12-24T13:38:41.857" LastActivityDate="2018-12-24T17:55:49.307" Title="Can we use partner license for UAT and Test Environment?" Tags="|licensing|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15656" PostTypeId="2" ParentId="15654" CreationDate="2018-12-21T09:06:25.040" Score="2" Body="&lt;p&gt;It depends on which license and how many licenses customer has for “non-production” usage. You should use customers license for that purpose. You cannot use your company partner license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example - one of our customer had consumption based license which means that number of usage in production is not limited. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for no -production usage, they have only 4 licenses. So, uat+ dev cannot have more than 4 usages . By usage - it means that any standalone instance of cm, cd, rep, prc, exm delivery consumes one license. So if you setup 2 environments , overy with 1 cd and 1 cm, you need 4 licenses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And be carefull - if you will use features like auto scaling and so on - every scaled instance needs its own license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This year, new licensing model was introduced for non production usages - based on environments. So, you can have licenses, for example, 3 environments with unlimited instances.&lt;/p&gt;&#xA;" OwnerUserId="3898" LastEditorUserId="2056" LastEditDate="2018-12-21T09:55:22.180" LastActivityDate="2018-12-21T09:55:22.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15657" PostTypeId="2" ParentId="15654" CreationDate="2018-12-21T09:44:00.167" Score="5" Body="&lt;p&gt;You mention that you've got a partner license to develop the application. I believe from a legal standpoint the partner can use the partner license for development, but when client can access (for instance to test) the client's license should be used. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously if the partner is the client you would use the same partner license - just be mindful that you renew your license before August 30th every year, as that's when partner licenses expire and can lead to a yellow screen of death (client licenses will not expire).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Tomáš Knaifl mentions in his answer, keep in mind that in most cases there'll be a license agreement which specifies the limit to production and non-production servers. I've recently written a blog post on Sitecore's licensing where you can find a bit more details on when something is a production vs non-production server which you can &lt;a href=&quot;https://trayek.wordpress.com/2018/05/09/demystifying-sitecores-licensing/&quot; rel=&quot;noreferrer&quot;&gt;find here&lt;/a&gt;. &lt;br/&gt;The gist is that when you've got perpetual license, only CM and CD is classed as production server (so processing/reporting is not), while on subscription anything that touches live (including processing/reporting) is classed as production server.&lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2018-12-21T09:44:00.167" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15659" PostTypeId="1" CreationDate="2018-12-21T11:16:10.290" Score="1" ViewCount="221" Body="&lt;p&gt;When I upload an image to media library that ends with (number).extension Sitecore gives an error - log looks like below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No error if it ends with just () or (letter) or if (number) has a letter after it only in the very specific setup with (number).jpg. Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding () to InvalidItemNameChars does the trick but maybe there are better options?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2968 11:54:07 ERROR Could not save posted file: myimage file&#xA;  (2100).jpg Exception: System.AggregateException Message: One or more&#xA;  exceptions occurred while processing the subscribers to the&#xA;  'item:creating' event. Source: Sitecore.Kernel    ved&#xA;  Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName,&#xA;  Object[] parameters, EventResult result)    ved&#xA;  Sitecore.Events.Event.RaiseEvent(String eventName, Object[]&#xA;  parameters)    ved Sitecore.Events.Event.RaiseItemCreating(Object&#xA;  sender, ItemCreatingEventArgs args)    ved&#xA;  Sitecore.Events.Event.DataEngine_CreatingItem(Object sender,&#xA;  ExecutingEventArgs1 e)    ved&#xA;  Sitecore.Data.Engines.EngineCommand2.RaiseEvent[TArgs](EventHandler1&#xA;  handlers, Func2 argsCreator)    ved&#xA;  Sitecore.Data.Engines.EngineCommand2.RaiseExecuting(Boolean&amp;amp;&#xA;  cancelled)    ved Sitecore.Data.Engines.EngineCommand2.CanExecute()&lt;br&gt;&#xA;  ved Sitecore.Data.Engines.EngineCommand2.Execute()    ved&#xA;  Sitecore.Data.Engines.DataEngine.CreateItem(String itemName, Item&#xA;  destination, ID templateId, ID newId, DateTime created)    ved&#xA;  Sitecore.Data.Managers.ItemProvider.DoCreateAndReturnItem(String&#xA;  itemName, Item destination, ID templateId, ID newId, DateTime created)&#xA;  ved Sitecore.Data.Managers.ItemProvider.CreateItem(String itemName,&#xA;  Item destination, ID templateId, ID newId, DateTime created,&#xA;  SecurityCheck securityCheck)    ved&#xA;  Sitecore.Data.Managers.ItemProvider.CreateItem(String itemName, Item&#xA;  destination, ID templateId, ID newId, SecurityCheck securityCheck)&lt;br&gt;&#xA;  ved Sitecore.Data.Managers.DefaultItemManager.CreateItem(String&#xA;  itemName, Item destination, ID templateId, ID newId, SecurityCheck&#xA;  securityCheck)    ved&#xA;  Sitecore.Data.Managers.DefaultItemManager.CreateItem(String itemName,&#xA;  Item destination, ID templateId, ID newId)    ved&#xA;  Sitecore.Data.Managers.ItemManager.CreateItem(String itemName, Item&#xA;  destination, ID templateId, ID newId)    ved&#xA;  Sitecore.Nexus.Data.DataCommands.AddFromTemplateCommand.(String , Item&#xA;  , ID , ID )    ved&#xA;  Sitecore.Data.Engines.DataCommands.AddFromTemplateCommand.DoExecute() &#xA;  ved Sitecore.Buckets.Commands.AddFromTemplateCommand.DoExecute()&lt;br&gt;&#xA;  ved Sitecore.Data.Engines.EngineCommand2.Execute()    ved&#xA;  Sitecore.Data.Managers.ItemProvider.AddFromTemplate(String itemName,&#xA;  ID templateId, Item destination, ID newId)    ved&#xA;  Sitecore.Data.Managers.DefaultItemManager.AddFromTemplate(String&#xA;  itemName, ID templateId, Item destination, ID newItemId)    ved&#xA;  Sitecore.Data.Managers.ItemManager.AddFromTemplate(String itemName, ID&#xA;  templateId, Item destination, ID newItemId)    ved&#xA;  Sitecore.Data.Items.Item.Add(String name, TemplateID templateID, ID&#xA;  newItemID)    ved Sitecore.Data.Items.Item.Add(String name, TemplateID&#xA;  templateID)    ved&#xA;  Sitecore.Resources.Media.MediaCreator.CreateItem(String itemPath,&#xA;  String filePath, MediaCreatorOptions options)    ved&#xA;  Sitecore.Resources.Media.MediaCreator.AttachStreamToMediaItem(Stream&#xA;  stream, String itemPath, String fileName, MediaCreatorOptions options)&#xA;  ved Sitecore.Resources.Media.MediaCreator.CreateFromStream(Stream&#xA;  stream, String filePath, MediaCreatorOptions options)    ved&#xA;  Sitecore.Resources.Media.MediaUploader.UploadToDatabase(List`1 list)&lt;br&gt;&#xA;  ved Sitecore.Resources.Media.MediaUploader.Upload()    ved&#xA;  Sitecore.Pipelines.Upload.Save.Process(UploadArgs args)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4818" LastEditorUserId="2727" LastEditDate="2018-12-21T12:17:29.877" LastActivityDate="2018-12-21T12:17:29.877" Title="Could not save posted file exception while uploading an image to media library that ends with (number).extension" Tags="|media-library|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15660" PostTypeId="1" AcceptedAnswerId="15661" CreationDate="2018-12-21T13:22:05.390" Score="1" ViewCount="839" Body="&lt;p&gt;we have setup IdentityServer 3 as IDP for our test Sitecore setup. However, we are not able to map incoming federated logins to existing users (Users created with legacy forms authentication enabled). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if this can even be done with Sitecore 9.0.1 (or newer)? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default Sitecore will create a new user the first time a federated login is authenticated, and it is this I'm trying to change to instead actually MAP to the existing user&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have overridden &lt;code&gt;DefaultExternalUserBuilder&lt;/code&gt;, but implementing &lt;code&gt;BuildUser/CreateUniqueUserName&lt;/code&gt; to that of an existing user results in the same message&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unable to create a user. Reason: DuplicateUserName&quot; error.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Best regards,&#xA;Kim&lt;/p&gt;&#xA;" OwnerUserId="4819" LastEditorUserId="2727" LastEditDate="2018-12-21T14:16:46.703" LastActivityDate="2018-12-21T14:20:16.430" Title="Unable to create a user. Reason: DuplicateUserName&quot; error while trying to map map federated logins to existing users" Tags="|federated-authentication|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15661" PostTypeId="2" ParentId="15660" CreationDate="2018-12-21T14:12:55.563" Score="0" Body="&lt;p&gt;The user, which is being created while processing federated authentication request, is actually a virtual user. That virtual user is different then what Sitecore is having out of the box and what admin can create using User Manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another point is, all existing Sitecore Membership users have their password associated with their account but in case of virtual user, there is no password as it is managed by external system and not by the Sitecore. Behavior of both type of user is different and that is why Sitecore has concept of Virtual user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can not map all those users with the federated users OOTB. If you really want to do that, you may need to customize the code by overriding ApplicationUserResolver class to consider your own logic to resolve external user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it is not recommended to change this behavior.    &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to map existing user just to retain their access rights configuration, i would suggest to go with OOTB way of virtual users creation in the different domain and mark those virtual users as persisted user by setting a value true in OWin configuration field called &lt;code&gt;isPersistentUser&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;&amp;lt;/externalUserBuilder&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more information about Virtual user creation, you can follow this link..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.linkedin.com/pulse/customizing-sitecore-virtual-user-creation-federated-arvind-gehlot&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.linkedin.com/pulse/customizing-sitecore-virtual-user-creation-federated-arvind-gehlot&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-12-21T14:20:16.430" LastActivityDate="2018-12-21T14:20:16.430" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15662" PostTypeId="2" ParentId="15632" CreationDate="2018-12-21T14:16:57.717" Score="-2" Body="&lt;p&gt;Try putting the full type name of the controller in the highlighted field:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;events.tac.local.Controllers.SubscribeFormController,events &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AQizH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AQizH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Make sure that the assembly name is events or update it.)&lt;/p&gt;&#xA;" OwnerUserId="1292" LastEditorUserId="342" LastEditDate="2018-12-21T15:15:14.653" LastActivityDate="2018-12-21T15:15:14.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15663" PostTypeId="2" ParentId="14122" CreationDate="2018-12-21T14:49:11.447" Score="2" Body="&lt;p&gt;You should use Sitecore.StringUtil.EscapeJavascriptString on the parameter values, which (besides escaping) adds surrounding quotes. Without the quotes, the parsing goes wrong and you end up with this error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;args.UiResponseHandlerEx.FileCannotBeUploaded(&#xA;    StringUtil.EscapeJavascriptString(fileName), &#xA;    StringUtil.EscapeJavascriptString(reason));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2517" LastActivityDate="2018-12-21T14:49:11.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15664" PostTypeId="2" ParentId="15632" CreationDate="2018-12-21T14:49:47.270" Score="4" Body="&lt;p&gt;There are a couple of potential issues here:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set the controller name to the fully qualified class name, e.g &lt;code&gt;MyProject.Controllers.SomeController, MyProject&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Make sure the action name does not have the &lt;code&gt;/&lt;/code&gt; in, it should just be &lt;code&gt;Index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;It looks like you have not registered your controller with the IoC container. Sitecore 8.2 introduced a lot of new Dependency Injection features. But this meant that you would now have to register your controller with the container for Sitecore to be able to create it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3&gt;Registering your Controller&lt;/h3&gt;&#xA;&lt;p&gt;The easiest way to do this would be to create a &lt;code&gt;Configurator&lt;/code&gt; class that implements &lt;code&gt;IServicesConfigurator&lt;/code&gt;, and register your controller in there. Here is an example&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.DependencyInjection;&#xA;&#xA;namespace MyProject&#xA;{&#xA;    public class Configurator: IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            serviceCollection.AddTransient&amp;lt;MyController&amp;gt;();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Then you have to create a patch include file that will tell Sitecore to use that &lt;code&gt;Configurator&lt;/code&gt;. Here is an example of that:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;            &amp;lt;configurator type=&amp;quot;MyProject.Configurator, MyProject&amp;quot; /&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Once you have that setup, Sitecore will now know how to create your controller correctly.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-12-21T14:49:47.270" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15666" PostTypeId="1" AcceptedAnswerId="15667" CreationDate="2018-12-21T16:45:12.093" Score="4" ViewCount="483" Body="&lt;p&gt;I have a listing page for articles that includes the date, converted into a long date string (&quot;Friday, December 21 2018&quot;). On all of my lower environments it is showing the dates in English but on prod it is showing the date in German. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;date.Text = item.Date.ToLongDateString();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The site doesn't even use German as a language, just English and French. The listing page and all story items are English. I figure this must be an environmental Sitecore issue, since it shows in English on all lower environments. What could be causing this, and can I fix it without a code change?&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2018-12-28T09:28:54.407" LastActivityDate="2018-12-28T09:28:54.407" Title="Date.ToLongDateString() returning date in German only on prod environment (8.2)" Tags="|multilingual|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15667" PostTypeId="2" ParentId="15666" CreationDate="2018-12-21T17:18:12.300" Score="7" Body="&lt;p&gt;&lt;code&gt;date.ToLongDateString()&lt;/code&gt; executes in the background &lt;code&gt;DateTimeFormat.Format(this, &quot;D&quot;, DateTimeFormatInfo.CurrentInfo)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It means that the culture info is taken from the thread or from the server (you may want to double check if it's from both or from one of them only - I'm not sure anymore).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you could do is passing the chosen culture to the &lt;code&gt;Format&lt;/code&gt; method like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DateTimeFormat.Format(this, &quot;D&quot;, new CultureInfo(&quot;en-GB&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But that requires code change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be also enough to set the globalization in web.config like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;globalization culture=&quot;en-GB&quot; uiCulture=&quot;en-GB&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I didn't have an option to test it though&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="342" LastEditDate="2018-12-21T17:40:50.173" LastActivityDate="2018-12-21T17:40:50.173" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15668" PostTypeId="2" ParentId="15636" CreationDate="2018-12-21T20:12:27.727" Score="0" Body="&lt;p&gt;It is possible to change the order of the index update, the index rebuild is happening on the same order as in sitecore/contentSearch/configuration/configuration in showconfig.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First I saved an items and checked the order of order of index update from logs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I updated the order of the the indexes, checked showconfig verified the order is updated. Then i saved an item and checked the order of indexes updated in logs and it was aligned to the same order is as in showconfig &lt;/p&gt;&#xA;" OwnerUserId="1517" LastActivityDate="2018-12-21T20:12:27.727" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15669" PostTypeId="2" ParentId="15654" CreationDate="2018-12-21T20:13:29.003" Score="5" Body="&lt;p&gt;If you are a partner, you can find details about the partner license outlined on SPN here:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://spn.sitecore.net/Partner%20Resources/Partner%20License.aspx&quot; rel=&quot;noreferrer&quot;&gt;http://spn.sitecore.net/Partner%20Resources/Partner%20License.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The partner license statement on SPN qualifies your scenario with a usage clause. Essentially, are they 'internal developmen/test' environments or is it being used by the customer/client.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The partner license cannot be used for:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Customer Use:&lt;/strong&gt; No access or use of the partner license by a customer is allowed&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Development and maintenance of Sitecore Solutions for Customers:&lt;/strong&gt; Unless a license has been purchased and issued before development work begins&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So, in your scenario of test/UAT, as long as the customer has already purchased a license from Sitecore and will not be able to access these environments, then your partner license usage is okay.&lt;/p&gt;&#xA;&lt;p&gt;If you have a specific scenario not outlined in the guide on SPN, you can always reach out to your partner manager to ask questions.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2018-12-21T20:13:29.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15670" PostTypeId="1" CreationDate="2018-12-22T00:01:39.487" Score="2" ViewCount="416" Body="&lt;p&gt;I have a global footer referencing other items (yml files), which is referencing to the same footer, resulting in too big string to parse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This wasn't a problem in TP4, but I noticed that I get a &lt;code&gt;layout&lt;/code&gt; property on the referenced item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my global footer:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;id: component-footer&#xA;componentName: Footer&#xA;fields:&#xA;  about: # FieldType: ContentList&#xA; - id: media-services-page&#xA; - id: sponsors-and-partners-page&#xA; - id: governances-page&#xA; - id: jobs-page&#xA; - id: contact-us-page&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get this error when running &lt;code&gt;npm start&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;--- JS stacktrace ---&amp;gt;&#xA;&#xA;==== JS stack trace =========================================&#xA;&#xA;Security context: 000001286BA257C1 &amp;lt;JSObject&amp;gt;&#xA;    0: builtin exit frame: parse(this=000001286BA08FF1 &amp;lt;Object map = 00000250BCD82BA1&amp;gt;,0000001DCD7AE509 &amp;lt;Very long string[206909388]&amp;gt;)&#xA;&#xA;    1: /* anonymous */(aka /* anonymous */) [C:\Git\jss-dc-error\node_modules\@sitecore-jss\sitecore-jss-manifest\dist\generator\pipelines\generateManifest\expandReferencedContent.js:18] [bytecode=0000009390F063C9 offset=88](this=00000237643822D1 &amp;lt;undefined&amp;gt;,i...&#xA;&#xA;FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory&#xA; 1: node_module_register&#xA; 2: v8::internal::FatalProcessOutOfMemory&#xA; 3: v8::internal::FatalProcessOutOfMemory&#xA; 4: v8::internal::Factory::NewRawOneByteString&#xA; 5: v8::internal::Smi::SmiPrint&#xA; 6: v8::internal::StackGuard::HandleInterrupts&#xA; 7: v8_inspector::protocol::Debugger::API::SearchMatch::fromJSONString&#xA; 8: v8_inspector::protocol::Debugger::API::SearchMatch::fromJSONString&#xA; 9: 00000085D2986B21&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have created a repository for you to reproduce the error:&#xA;&lt;a href=&quot;https://github.com/jeppeskovsen/jss-dc-error&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/jeppeskovsen/jss-dc-error&lt;/a&gt; (see second commit)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I shorten the &lt;code&gt;layout&lt;/code&gt; property? Or how would you suggest I fix this?&lt;/p&gt;&#xA;" OwnerUserId="4501" LastEditorUserId="4501" LastEditDate="2018-12-27T22:47:11.080" LastActivityDate="2021-09-25T23:00:45.087" Title="Memory leak in disconnected mode" Tags="|jss|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15671" PostTypeId="2" ParentId="15666" CreationDate="2018-12-22T14:33:07.400" Score="1" Body="&lt;p&gt;You can set language property to proper language code dor tour english anf french sites like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;site name=&quot;french&quot; ... virtualFolder=&quot;/fr-FR&quot; physicalFolder=&quot;/fr-FR&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/French/Home&quot; language=&quot;fr-FR&quot; ... /&amp;gt;&#xA;&amp;lt;site name=&quot;english&quot; ... virtualFolder=&quot;/en-GB&quot; physicalFolder=&quot;/en-GB&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/English/Home&quot; language=&quot;en-GB&quot; ... /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't know your current setup of sites in config so take above configuration as example and especially mind the &lt;code&gt;language&lt;/code&gt; attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you can access this within your code like this &lt;code&gt;Sitecore.Context.Language&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore the code to format datetime field should be like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;DateTimeFormat.Format(this, &quot;D&quot;, new CultureInfo(Sitecore.Context.Language));&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2018-12-22T14:33:07.400" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15672" PostTypeId="1" CreationDate="2018-12-23T09:20:11.680" Score="4" ViewCount="2505" Body="&lt;p&gt;I need to resolve the wildcard item (*) to a product repository which has products and show the presentation details of the (*) item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now i am using the following structure&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Products&lt;br /&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Product Collection 1&#xA;&lt;ul&gt;&#xA;&lt;li&gt;* (presentation details)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Product Collection 2&#xA;&lt;ul&gt;&#xA;&lt;li&gt;*&amp;nbsp; (presentation details)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Product Collection 3&#xA;&lt;ul&gt;&#xA;&lt;li&gt;*&amp;nbsp; (presentation details)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Global Repository&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Products&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Product 1 (no&amp;nbsp;&amp;nbsp;presentation details)&lt;/li&gt;&#xA;&lt;li&gt;Product 2 (no&amp;nbsp;&amp;nbsp;presentation details)&lt;/li&gt;&#xA;&lt;li&gt;Product 3 (no&amp;nbsp;&amp;nbsp;presentation details)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am using Adam Conn's wildcard module and have setup the routes for routing the (*) item to the repository item. Also have created a custom wild card item resolver (after the item resolver) to get the wildcard item as context item, which is resolving as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the issue is the resolved item does not have presentation details and I need to use that item as a datasource for the (*) item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to use this from blog : &lt;a href=&quot;http://hdaoud.blogspot.com/2017/05/sitecore-resolve-wildcard-item-and-fix.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hdaoud.blogspot.com/2017/05/sitecore-resolve-wildcard-item-and-fix.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and also found some details about the same in &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3655&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/3655&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me on to solve this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="950" LastEditorUserId="342" LastEditDate="2018-12-23T15:45:53.993" LastActivityDate="2021-06-28T08:52:51.280" Title="Resolving wildcard item and show the presentation detail of the wildcard item" Tags="|wildcards|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15678" PostTypeId="2" ParentId="15672" CreationDate="2018-12-24T09:23:22.470" Score="2" Body="&lt;p&gt;If you have your custom &lt;code&gt;WildcardItemResolver&lt;/code&gt; processor, set the wildcard item in &lt;code&gt;HttpContext.Current.Items&lt;/code&gt; &lt;strong&gt;before&lt;/strong&gt; replacing it with your product item, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class WildcardItemResolver : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        // your code here&#xA;        // before you set Sitecore.Context.Item to the product item, save wildcard item reference&#xA;        HttpContext.Current.Items[&quot;MyWildcardItem&quot;] = Sitecore.Context.Item; &#xA;        Sitecore.Context.Item = myProductItem;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now create &lt;code&gt;GetFromWildcardItemLayoutField&lt;/code&gt; processor which will be executed before the default &lt;code&gt;GetFromLayoutField&lt;/code&gt; and which will read the presentation details from the wildcard item instead of reading from the product item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class GetFromWildcardItemLayoutField : GetFromLayoutField&#xA;{&#xA;    protected override XElement GetFromField(GetXmlBasedLayoutDefinitionArgs args)&#xA;    {&#xA;        var myWildcardItem = HttpContext.Current.Items[&quot;MyWildcardItem&quot;] as Item;&#xA;&#xA;        if (myWildcardItem != null)&#xA;            return GetFromField(myWildcardItem);&#xA;&#xA;        return null;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and register the processor before the default &lt;code&gt;GetFromLayoutField&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mvc.getXmlBasedLayoutDefinition&amp;gt;&#xA;  &amp;lt;processor type=&quot;Your.Assembly.Namespace.GetFromWildcardItemLayoutField, Your.Assembly&quot;&#xA;     patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Response.GetXmlBasedLayoutDefinition.GetFromLayoutField, Sitecore.Mvc']&quot; /&amp;gt;&#xA;&amp;lt;/mvc.getXmlBasedLayoutDefinition&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-12-24T09:23:22.470" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15681" PostTypeId="2" ParentId="15654" CreationDate="2018-12-24T17:55:49.307" Score="2" Body="&lt;p&gt;&lt;strong&gt;&lt;em&gt;The partner license can be used for:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Internal research and development&lt;/li&gt;&#xA;&lt;li&gt;Demonstrations of the Sitecore Products&lt;/li&gt;&#xA;&lt;li&gt;Only with written authorization from Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Development and maintenance of Sitecore Solutions for Customers&lt;/li&gt;&#xA;&lt;li&gt;Only when a license has been purchased and issued before development work begins&#xA;Management of the Solution Partner’s own web properties for up to one (1) public-facing website on* up to four (4) production delivery and/or management Server installations&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;The partner license cannot be used for:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Customer Use:&lt;/em&gt;&lt;/strong&gt; No access or use of the partner license by a customer is allowed&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Development and maintenance of Sitecore Solutions for Customers&lt;/em&gt;&lt;/strong&gt;: Unless a license has been purchased and issued before development work begins&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="744" LastActivityDate="2018-12-24T17:55:49.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15682" PostTypeId="2" ParentId="15639" CreationDate="2018-12-25T10:20:13.453" Score="2" Body="&lt;p&gt;First thing is never remove the &quot;website&quot; site definition. Just keep it after all of your custom site definition and don't remove it. It will/should be used as the fallback site definition in case any of the requests doesn't find any matching site definition in your custom sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thing is, Sitecore content editor uses the &quot;shell&quot; site definition to work and not the &quot;website&quot; site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another common mistake happen is, once you change the editor to &quot;web&quot; database and if you open a content editor without changing it back to &quot;master&quot; database from Sitecore desktop, then content editor will continue to use &quot;web&quot; database. Sometime people mistakenly do their changes on &quot;web&quot; database and once the publish is done those changes will be disappear again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the last paragraph you have explained, it seems that this issue is totally due to your unicorn settings. Sometimes unicorn files can go out of sync due to some reasons and you might have to re-serialize the node/item to get them back into sync. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I hope you understand that if you do these changes to unicorn sync items and didn't sync them back to your file repository, then next deployment to any of the servers can wipe out the changes you did. &lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2018-12-25T10:20:13.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15683" PostTypeId="2" ParentId="15263" CreationDate="2018-12-25T10:44:54.423" Score="23" Body="&lt;p&gt;Below solution worked for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Close all active PowerShell sessions, delete all DO_NOT_TRUST* certificates from all certificate store and C:\certificates. Open “&lt;strong&gt;xconnect-createcert.json&lt;/strong&gt;” and change json as below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;StoreLocation&quot;: &quot;LocalMachine&quot;,&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://mohitdharmadhikari.com/2018/12/25/cannot-validate-argument-on-parameter-signer-sitecore-9-installation/&quot; rel=&quot;noreferrer&quot;&gt;https://mohitdharmadhikari.com/2018/12/25/cannot-validate-argument-on-parameter-signer-sitecore-9-installation/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2019-06-25T23:27:07.660" LastActivityDate="2019-06-25T23:27:07.660" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15685" PostTypeId="2" ParentId="12377" CreationDate="2018-12-26T08:45:10.657" Score="2" Body="&lt;p&gt;There is a &lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.235033/tree/v2.0.1&quot; rel=&quot;nofollow noreferrer&quot;&gt;patch&lt;/a&gt; provided by Sitecore Support that follows the approach described in Peter's answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that this implementation works only with bucket folders and creates duplicate items if they are stored in the parent folder root.&lt;/p&gt;&#xA;" OwnerUserId="4825" LastActivityDate="2018-12-26T08:45:10.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15686" PostTypeId="1" CreationDate="2018-12-26T11:30:33.397" Score="0" ViewCount="1757" Body="&lt;p&gt;I'm using Sitecore 9 update 1 and SXA 1.7, I created a computed index field but it's not searchable, when I search by its value the item that has the index field don't return, I'm using SXA search box and search results components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the configuration :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;serviceStep&quot; returnType=&quot;string&quot;&amp;gt;project_namespace,DllName&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4229" LastEditorUserId="4229" LastEditDate="2018-12-26T14:43:50.053" LastActivityDate="2023-12-10T23:01:25.143" Title="Make Computed index field searchable" Tags="|sxa|content-search|computed-field|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15689" PostTypeId="1" AcceptedAnswerId="15696" CreationDate="2018-12-26T13:40:40.013" Score="2" ViewCount="658" Body="&lt;p&gt;I am having a Sitecore SXA (1.5) instance site which has multiple language for each country. For example: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;www.mysite.be/fr-BE&lt;/code&gt; (Country: Belgium, Lang: French) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;www.mysite.be/nl-BE&lt;/code&gt; (Country: Belgium, Lang: Dutch)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the &lt;code&gt;sitemap.xml&lt;/code&gt; shows only urls which have the default language setup without any language id in the URL&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example here is my &lt;code&gt;sitemap.xml&lt;/code&gt; output:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;url&amp;gt;&#xA;&amp;lt;loc&amp;gt;www.mysite.be/onze-producten&amp;lt;/loc&amp;gt;&#xA;&amp;lt;lastmod&amp;gt;2018-12-12&amp;lt;/lastmod&amp;gt;&#xA;&amp;lt;changefreq&amp;gt;Daily&amp;lt;/changefreq&amp;gt;&#xA;&amp;lt;priority&amp;gt;0.5&amp;lt;/priority&amp;gt;&#xA;&amp;lt;/url&amp;gt;&#xA;&amp;lt;url&amp;gt;&#xA;&amp;lt;loc&amp;gt;https://www.mysite.be/over-merk&amp;lt;/loc&amp;gt;&#xA;&amp;lt;lastmod&amp;gt;2018-12-12&amp;lt;/lastmod&amp;gt;&#xA;&amp;lt;changefreq&amp;gt;Daily&amp;lt;/changefreq&amp;gt;&#xA;&amp;lt;priority&amp;gt;0.5&amp;lt;/priority&amp;gt;&#xA;&amp;lt;/url&amp;gt;&#xA;&amp;lt;url&amp;gt;&#xA;&amp;lt;loc&amp;gt;https://www.mysite.be/contacteer-ons&amp;lt;/loc&amp;gt;&#xA;&amp;lt;lastmod&amp;gt;2018-12-11&amp;lt;/lastmod&amp;gt;&#xA;&amp;lt;changefreq&amp;gt;Daily&amp;lt;/changefreq&amp;gt;&#xA;&amp;lt;priority&amp;gt;0.5&amp;lt;/priority&amp;gt;&#xA;&amp;lt;/url&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it doesn't shows pages related to French language. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;www.mysite.be/fr-be/contactez-nous&#xA;&#xA;www.mysite.be/fr-be/faq&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If this is a custom implementation, please guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the answer below I tried making this to work, but no luck:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomSiteMap : SitemapGenerator&#xA;    {&#xA;        protected override StringBuilder BuildSitemap(IEnumerable&amp;lt;Item&amp;gt; childrenTree, SitemapLinkOptions options)&#xA;        {&#xA;            var items = LanguageSitemap.GetSitemapItems();// gets all items below Home node&#xA;            var xDocument = LanguageSitemap.Generate(items); // generates sitemap xml with hreflang and language specific urls&#xA;            return new StringBuilder(xDocument.ToString());&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4827" LastEditorUserId="4827" LastEditDate="2018-12-31T16:35:14.903" LastActivityDate="2018-12-31T16:35:14.903" Title="Multilingual URLs in Sitemap.xml for SXA 1.5" Tags="|sxa|multilingual|seo|sitemap|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15691" PostTypeId="1" CreationDate="2018-12-26T14:25:41.960" Score="1" ViewCount="86" Body="&lt;p&gt;We are using Sitecore 9.0 Update 2 in PAAS and trying to implement Rule based Personalization based on date time . I am able to configure the rule but it is not getting executed and not showing any difference on website &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any setting which i need to enable in Sitecore 9.0 Update 2 in PAAS to get this working&lt;/p&gt;&#xA;" OwnerUserId="4580" LastActivityDate="2018-12-26T14:25:41.960" Title="Sitecore Rule based Personalization" Tags="|personalization|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15693" PostTypeId="2" ParentId="15686" CreationDate="2018-12-26T16:09:15.600" Score="0" Body="&lt;p&gt;You might need to append the computed field into &lt;code&gt;_content&lt;/code&gt; field, Try changing the computed field name to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;          &amp;lt;field fieldName=&quot;_content&quot; returnType=&quot;string&quot;&amp;gt;project_namespace,DllName&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-12-26T16:09:15.600" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15695" PostTypeId="1" AcceptedAnswerId="24227" CreationDate="2018-12-26T21:59:59.320" Score="2" ViewCount="142" Body="&lt;p&gt;While reviewing the Sitecore logs I'm seeing the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #13 15:25:29 INFO  Trace: Warning: Counter 'Sitecore.Caching\Cache Clearings / sec' does not exist on this server. Using temporary internal counter instead.&#xA;  ManagedPoolThread #2 15:25:29 INFO  Trace: Warning: Counter 'Sitecore.Caching\Cache Hits / sec' does not exist on this server. Using temporary internal counter instead.&#xA;  ManagedPoolThread #3 15:25:29 INFO  Trace: Warning: Counter 'Sitecore.Caching\Cache Misses / sec' does not exist on this server. Using temporary internal counter instead.&#xA;  [...]&#xA;  ManagedPoolThread #12 15:25:38 INFO  Trace: Warning: Counter 'Sitecore.Security\Access Denied / sec' does not exist on this server. Using temporary internal counter instead.&#xA;  ManagedPoolThread #12 15:25:38 INFO  Trace: Warning: Counter 'Sitecore.Security\Access Granted / sec' does not exist on this server. Using temporary internal counter instead.&#xA;  ManagedPoolThread #12 15:25:38 INFO  Trace: Warning: Counter 'Sitecore.Security\Access Resolved / sec' does not exist on this server. Using temporary internal counter instead.&#xA;  ManagedPoolThread #12 15:25:38 INFO  Trace: Warning: Counter 'Sitecore.Security\Modify Requests / sec' does not exist on this server. Using temporary internal counter instead.&#xA;  ManagedPoolThread #12 15:25:38 INFO  Trace: Warning: Counter 'Sitecore.Security\Programmatic Disabling / sec' does not exist on this server. Using temporary internal counter instead.&#xA;  [...]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The application pool user is within the Performance Log Users group, so that doesn't seem to be the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears that there is &lt;a href=&quot;https://kb.sitecore.net/articles/404548&quot; rel=&quot;nofollow noreferrer&quot;&gt;information on how to install performance counters manually for Sitecore 7.5+&lt;/a&gt;, but looking at the files it doesn't appear the new Sitecore 8/9 counters are present. (These instances were all upgraded from 7.x and lower.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to create the missing performance counters?&lt;/p&gt;&#xA;" OwnerUserId="288" LastActivityDate="2020-02-18T16:49:54.857" Title="How do I create missing performance counters for Sitecore 9.0?" Tags="|performance-profiling|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15696" PostTypeId="2" ParentId="15689" CreationDate="2018-12-27T03:21:57.570" Score="1" Body="&lt;p&gt;SXA supports multiple languages Sitemap from &lt;strong&gt;SXA 1.6&lt;/strong&gt;- check the release notes &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Accelerator/16/Sitecore%20Experience%20Accelerator%2016%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; for more details- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The SEO Sitemaps aggregate all the available sites under a single hostname, and support multiple languages  494598  9788&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your case you can customized the Sitemap XML generator for your SXA version, follow the below steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Create a new class that inherits from &lt;strong&gt;SitemapGenerator&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Override &lt;strong&gt;BuildSitemap&lt;/strong&gt;() method-  Here you can write your own code/business logic and generate the customized sitemap.xml to support multiple languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps to give you a starting point.&lt;/p&gt;&#xA;" OwnerUserId="1316" LastActivityDate="2018-12-27T03:21:57.570" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15698" PostTypeId="1" CreationDate="2018-12-27T07:18:48.520" Score="0" ViewCount="223" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rkhzv.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rkhzv.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://i.stack.imgur.com/ucdDP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ucdDP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;I am learning L300 module in sitecore commerce 9.0.2. By default there is habitat_master catalog in sitecore commerce (CMS) to create any eCommerce site. In L300 training module it is explained how to create a site in sitecore commerce. Sitecore commerce engine is extended in L300. There are 10 modules in L300. At the end of module 9 I got my habitat_master catalog missing. I found that my sitecoreidentityserver serivces in IIS are getting stopped whenever there is any request to sitecore commerce due to which i can not see habitat_catalog in CMS. Any idea why its happening and how to bring back habitat_master catalog??&lt;/p&gt;&#xA;" OwnerUserId="4830" LastEditorUserId="4830" LastEditDate="2018-12-31T06:19:55.257" LastActivityDate="2019-01-29T06:12:24.937" Title="SitecoreIdentityServer service in AppPool getting stopped" Tags="|sitecore-commerce|training-certification|" AnswerCount="2" CommentCount="3" ClosedDate="2019-01-29T13:59:55.427" ContentLicense="CC BY-SA 4.0" />
  <row Id="15699" PostTypeId="5" CreationDate="2018-12-27T07:22:12.350" Score="0" Body="&lt;p&gt;The Sitecore GraphQL API is a generic GraphQL service platform on top of Sitecore. It hosts your data and presents it through GraphQL queries. The API supports real-time data using GraphQL subscriptions.&lt;/p&gt;&#xA;&lt;p&gt;GraphQL is appropriate when you need a production-grade API to power a front end. Compared to traditional REST APIs, GraphQL is significantly more maintainable, far more easily discoverable and queryable (thanks to built-in GUI tools), much more bandwidth-efficient, and much more powerful.&lt;/p&gt;&#xA;&lt;p&gt;GraphQL requires connected mode, headless connected mode, or integrated mode to work. If using the disconnected mode, your application's service factories must return REST services because the disconnected development server only emulates REST services.&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2022-10-08T09:13:20.003" LastActivityDate="2022-10-08T09:13:20.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15700" PostTypeId="4" CreationDate="2018-12-27T07:22:12.350" Score="0" Body="GraphQL is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with existing data. GraphQL was developed internally by Facebook. All questions related to GraphQL in Sitecore environment, should consider this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-12-27T10:41:59.273" LastActivityDate="2018-12-27T10:41:59.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15701" PostTypeId="1" CreationDate="2018-12-27T10:28:15.567" Score="1" ViewCount="275" Body="&lt;p&gt;I tried to develop a custom SXA component on top of Habitat Home Commerce demo (Sitecore 9.0.2). The custom SXA component is showing in all pages' toolbox, but not home page toolbox.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any configuration I need to configure in order my custom SXA component to appear in Habitat Home page SXA toolbox?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;[Update 1]: Even though I'm not able to perform the drag and drop due to missing of my custom SXA component in the toolbox, but I'm able to add my custom SXA component by clicking &quot;Add Here&quot; button.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;[Update 2]: My custom SXA component finally appears in the toolbox after perform few build deployment to my local and resetting the IIS. I believe this may due to some Sitecore caching.&lt;/p&gt;&#xA;" OwnerUserId="1644" LastEditorUserId="1644" LastEditDate="2018-12-31T02:18:55.347" LastActivityDate="2018-12-31T02:18:55.347" Title="Custom SXA component does not appear in home page toolbox" Tags="|sxa|sitecore-commerce|habitathome|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15702" PostTypeId="1" CreationDate="2018-12-27T11:45:12.690" Score="0" ViewCount="157" Body="&lt;p&gt;At &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-configurations-and-topology-for-azure.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-configurations-and-topology-for-azure.html&lt;/a&gt; there is topology drawing shown (like &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/image/15c1cb631a985c.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/image/15c1cb631a985c.png&lt;/a&gt;). Is there vector, or Visio, or PSD files of this to ease modifications of expected topology for our particular use-case?&lt;/p&gt;&#xA;" OwnerUserId="181" LastActivityDate="2018-12-28T04:42:52.870" Title="Where I can find vector or PSD files for Sitecore topology drawings?" Tags="|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15703" PostTypeId="2" ParentId="15698" CreationDate="2018-12-27T12:14:54.710" Score="1" Body="&lt;p&gt;I would check the Event Log for more information, but I've seen this as a general issue with ASP.NET applications where requests to the application will cause the AppPool to stop because it's improperly configured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Usually, it's that the AppPool is configured to run under a different account and that account either:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;was deleted, or&lt;/li&gt;&#xA;&lt;li&gt;has an incorrect password set in IIS&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2018-12-27T12:14:54.710" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15704" PostTypeId="1" AcceptedAnswerId="15708" CreationDate="2018-12-27T13:23:55.620" Score="5" ViewCount="439" Body="&lt;p&gt;On our Sitecore 9.0.x environments we have a file at Website\App_Config\Include\Sitecore.Upgrade82.config with the following contents.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;     &amp;lt;services&amp;gt;&#xA;       &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseFactory, Sitecore.Kernel&quot; implementationType=&quot;Sitecore.Upgrade82.Configuration.BackwardCompatibleFactory, Sitecore.Upgrade82&quot; lifetime=&quot;Singleton&quot;/&amp;gt;&#xA;     &amp;lt;/services&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there any reason to keep this file after upgrading to Sitecore 9.x? If not, is there anything else related to this file that can also be removed?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2018-12-27T13:45:43.067" LastActivityDate="2018-12-27T14:07:33.843" Title="Is Website\App_Config\Include\Sitecore.Upgrade82.config required after upgrading to Sitecore 9.x?" Tags="|configuration|upgrade|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15705" PostTypeId="1" CreationDate="2018-12-27T13:35:19.420" Score="3" ViewCount="265" Body="&lt;p&gt;Could somebody please explain to me how to manipulate publishing restrictions from a code.&#xA;I would like to be able to mark some certain versions as Publishable/NonPublishable  in a similar way as it could be done in PublishingSettings window:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/gFbgZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gFbgZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In API, I can see few methods, which looks like similar to this functionality available in UI, however their signatures are not very self-explaining.&#xA;For instance there is something like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;myItem.Versions.GetLatestVersion().Publishing.IsPublishable(DateTime date, bool checkAncestors)&#xA;myItem.Versions.GetLatestVersion().Publishing.HideVersion&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or &#xA;&lt;code&gt;myItem.Versions.GetLatestVersion().Publishing.NeverPublish&lt;/code&gt;, which obviously is not what I need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are lucky to have Sitecore 7.5 and I couldn't find anything relevant on SDN (maybe checked wrong documents though)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="3295" LastEditorUserId="2727" LastEditDate="2018-12-28T10:22:24.733" LastActivityDate="2018-12-28T10:22:24.733" Title="Setting up or manipulating Sitecore publish restrictions programatically" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15706" PostTypeId="2" ParentId="15705" CreationDate="2018-12-27T13:41:38.707" Score="6" Body="&lt;p&gt;It is &lt;code&gt;HideVersion&lt;/code&gt; field which you want to use, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var itemVersions = item.Versions.GetVersions();&#xA;&#xA;var notPublishableVersion = itemVersions[i];&#xA;notPublishableVersion.Editing.BeginEdit();&#xA;notPublishableVersion[FieldIDs.HideVersion] = &quot;1&quot;;&#xA;notPublishableVersion.Editing.EndEdit();&#xA;&#xA;var publishableVersion = itemVersions[j];&#xA;publishableVersion.Editing.BeginEdit();&#xA;publishableVersion[FieldIDs.HideVersion] = string.Empty;&#xA;publishableVersion.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-12-27T13:41:38.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15707" PostTypeId="2" ParentId="15704" CreationDate="2018-12-27T13:48:22.857" Score="1" Body="&lt;p&gt;I've never seen neither &lt;code&gt;Sitecore.Upgrade82.config&lt;/code&gt; nor &lt;code&gt;Sitecore.Upgrade82.dll&lt;/code&gt;. Isn't it something custom built for your website?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How to check if it's still needed?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Check your code repository when this config file was added. There should some descriptive commit message explaining why this config was added. Unless you're unlucky and whoever added the config didn't bother with explaining why.&lt;/li&gt;&#xA;&lt;li&gt;The config mentions &lt;code&gt;Sitecore.Upgrade82&lt;/code&gt; assembly. Most probably there will be &lt;code&gt;Sitecore.Upgrade82.dll&lt;/code&gt; in &lt;code&gt;bin&lt;/code&gt; folder. Decompile the dll and check what is its responsibility. Check if your site would still work without the config and that dll.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What else may be removed?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the answer to the point 2 above is &lt;code&gt;yes&lt;/code&gt;, you can definitely remove the &lt;code&gt;Sitecore.Upgrade82.dll&lt;/code&gt; file as well. Most probably those are the only 2 things which should be removed, but ideally check your source repository for other things included in the same commit.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-12-27T13:48:22.857" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15708" PostTypeId="2" ParentId="15704" CreationDate="2018-12-27T14:07:33.843" Score="7" Body="&lt;p&gt;I have had that config after an upgrade as well - and you should have a Sitecore.Upgrade82 dll in your bin folder that comes with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you delete the config, you can delete that dll as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But can you delete it? Well, it depends I think. I did and everything was still working but I also used a clean config set from a 9 setup. I decompiled the Upgrade82 dll and it appears to handle config changes. It's main piece of code is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (xmlAttribute2 != null &amp;amp;&amp;amp; xmlAttribute2.Value.StartsWith(&quot;Sitecore.Data.Database&quot;))&#xA;  xmlAttribute2.Value = xmlAttribute2.Value.Replace(&quot;Sitecore.Data.Database&quot;, &quot;Sitecore.Data.DefaultDatabase&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;called on attibutes &quot;type&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked an old 8.1 solution and there you will find the database configs like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;database id=&quot;core&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.Database, Sitecore.Kernel&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In 8.2 and up you will find: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;database id=&quot;core&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I guess the code is make the old config still work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My conclusion: check your config and if you don't have the Sitecore.Data.Database as a type you should be able to delete the config and the dll. That's what I did and it still works..&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2018-12-27T14:07:33.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15709" PostTypeId="2" ParentId="15702" CreationDate="2018-12-27T16:25:11.870" Score="4" Body="&lt;p&gt;While I am not sure if there is a template available for the specific topologies, they are built using the Microsoft Cloud Symbol/Icon set which you can download here &lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=41937&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.microsoft.com/en-us/download/details.aspx?id=41937&lt;/a&gt;.  Probably not the head start you were looking for, but the icon set will allow you to recreate diagrams with the same look and feel as the originals you are referencing.  &lt;/p&gt;&#xA;" OwnerUserId="590" LastEditorUserId="590" LastEditDate="2018-12-28T04:42:52.870" LastActivityDate="2018-12-28T04:42:52.870" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15710" PostTypeId="1" CreationDate="2018-12-27T20:45:04.960" Score="0" ViewCount="178" Body="&lt;p&gt;So I am installing and configuring Coveo 5 for Sitecore, first time&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a new activation interface, not just the dialog as before but now a whole page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't get past this error, the Coveo activation interface won't accept admin/b as good credentials, I've tried another admin account. There seems to be some error in it's ability to take the &quot;Sitecore Credentials&quot;. Anybody seen this one? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://daltile.sc/coveo/command-center/index.html#activation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://daltile.sc/coveo/command-center/index.html#activation/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uhX0R.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uhX0R.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4572" LastEditorUserId="2727" LastEditDate="2018-12-28T06:06:00.293" LastActivityDate="2018-12-31T13:26:24.690" Title="Invalid credential Error while activating Coveo for Sitecore 5" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15711" PostTypeId="1" AcceptedAnswerId="16232" CreationDate="2018-12-27T21:15:36.123" Score="3" ViewCount="2062" Body="&lt;p&gt;I want to protect some APIs using OAuth and I want to use Sitecore's new instance of IdentityServer 4. I could just build my own login logic and stick it in the API call. But I would like to use the existing Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this JwtBearerAuthentication pipeline, but I think it is only used for Azure logins. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Owin.Authentication.IdentityServer.Pipelines.Initialize.JwtBearerAuthentication, Sitecore.Owin.Authentication.IdentityServer&quot; resolve=&quot;true&quot; patch:source=&quot;Sitecore.Owin.Authentication.IdentityServer.config&quot;&amp;gt;&#xA;   &amp;lt;identityProviderName&amp;gt;SitecoreIdentityServer&amp;lt;/identityProviderName&amp;gt;&#xA;   &amp;lt;audiences hint=&quot;raw:AddAudience&quot;&amp;gt;&#xA;   &amp;lt;audience value=&quot;https://SitecoreIdentityServerHost/resources&quot;/&amp;gt;&#xA;   &amp;lt;/audiences&amp;gt;&#xA;   &amp;lt;issuers hint=&quot;list&quot;&amp;gt;&#xA;   &amp;lt;issuer&amp;gt;https://SitecoreIdentityServerHost&amp;lt;/issuer&amp;gt;&#xA;   &amp;lt;/issuers&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So imagine that a remote application wants to OAuth off of my Sitecore 9.1 Identity server. That seems to be fine, I can get a bearer token from the identity server. But I can not find a pipeline in Sitecore that will accept the bearer token to authorize my APIs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I dig into the Sitecore Commerce dlls, I find that the Sitecore .net Core apps are wired up to the identity server and can accept an &lt;code&gt;Authentication&lt;/code&gt; property in the headers for authenticating bearer tokens. I just don’t see this for Sitecore yet.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;services.AddAuthentication(options =&amp;gt;&#xA;{&#xA;    options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;&#xA;    options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;&#xA;})&#xA;.AddIdentityServerAuthentication(options =&amp;gt;&#xA;{&#xA;    options.Authority = this.Configuration.GetSection(&quot;AppSettings:SitecoreIdentityServerUrl&quot;).Value;&#xA;    options.RequireHttpsMetadata = false;&#xA;    options.EnableCaching = false;&#xA;    options.ApiName = &quot;EngineAPI&quot;;&#xA;    options.ApiSecret = &quot;secret&quot;;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also this post has provided the best so far for talking to the IS4 &lt;a href=&quot;https://tothecore.sk/2018/07/25/setting-up-development-environment-with-postman-and-sitecore-experience-commerce-sxc-9/#comment-257&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/07/25/setting-up-development-environment-with-postman-and-sitecore-experience-commerce-sxc-9/#comment-257&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;PowerShell&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I found a little more code on how to generate tokens in PowerShell. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use the PostMan scripts, you need a new client on the indentity server called &lt;code&gt;postman-api&lt;/code&gt;. Add this to the file \wwwroot\xxx.identityserver\Config\production\Sitecore.IdentityServer.Host.xml. This will allow us to call out custom client for openid.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Clients&amp;gt;&#xA;    &amp;lt;DefaultClient&amp;gt;&#xA;      &amp;lt;AllowedCorsOrigins&amp;gt;&#xA;        &amp;lt;AllowedCorsOriginsGroup1&amp;gt;https://habitathome.dev.local|https://habitathomebasic.dev.local&amp;lt;/AllowedCorsOriginsGroup1&amp;gt;&#xA;      &amp;lt;/AllowedCorsOrigins&amp;gt;&#xA;    &amp;lt;/DefaultClient&amp;gt;&#xA;    &amp;lt;PasswordClient&amp;gt;&#xA;      &amp;lt;ClientSecrets&amp;gt;&#xA;        &amp;lt;ClientSecret1&amp;gt;ClientSecret&amp;lt;/ClientSecret1&amp;gt;&#xA;      &amp;lt;/ClientSecrets&amp;gt;&#xA;    &amp;lt;/PasswordClient&amp;gt;&#xA;    &amp;lt;PostmanClient&amp;gt;&#xA;      &amp;lt;ClientId&amp;gt;postman-api&amp;lt;/ClientId&amp;gt;&#xA;      &amp;lt;ClientName&amp;gt;postman-api&amp;lt;/ClientName&amp;gt;&#xA;      &amp;lt;AccessTokenType&amp;gt;0&amp;lt;/AccessTokenType&amp;gt;&#xA;      &amp;lt;AllowOfflineAccess&amp;gt;true&amp;lt;/AllowOfflineAccess&amp;gt;&#xA;      &amp;lt;AlwaysIncludeUserClaimsInIdToken&amp;gt;false&amp;lt;/AlwaysIncludeUserClaimsInIdToken&amp;gt;&#xA;      &amp;lt;AccessTokenLifetimeInSeconds&amp;gt;3600&amp;lt;/AccessTokenLifetimeInSeconds&amp;gt;&#xA;      &amp;lt;IdentityTokenLifetimeInSeconds&amp;gt;3600&amp;lt;/IdentityTokenLifetimeInSeconds&amp;gt;&#xA;      &amp;lt;AllowAccessTokensViaBrowser&amp;gt;true&amp;lt;/AllowAccessTokensViaBrowser&amp;gt;&#xA;      &amp;lt;RequireConsent&amp;gt;false&amp;lt;/RequireConsent&amp;gt;&#xA;      &amp;lt;RequireClientSecret&amp;gt;true&amp;lt;/RequireClientSecret&amp;gt;&#xA;      &amp;lt;AllowedGrantTypes&amp;gt;&#xA;        &amp;lt;AllowedGrantType1&amp;gt;password&amp;lt;/AllowedGrantType1&amp;gt;&#xA;      &amp;lt;/AllowedGrantTypes&amp;gt;&#xA;      &amp;lt;AllowedCorsOrigins&amp;gt;&#xA;      &amp;lt;/AllowedCorsOrigins&amp;gt;&#xA;      &amp;lt;AllowedScopes&amp;gt;&#xA;        &amp;lt;AllowedScope1&amp;gt;openid&amp;lt;/AllowedScope1&amp;gt;&#xA;        &amp;lt;AllowedScope2&amp;gt;sitecore.profile&amp;lt;/AllowedScope2&amp;gt;&#xA;        &amp;lt;AllowedScope3&amp;gt;sitecore.profile.api&amp;lt;/AllowedScope3&amp;gt;&#xA;      &amp;lt;/AllowedScopes&amp;gt;&#xA;      &amp;lt;ClientSecrets&amp;gt;&#xA;        &amp;lt;ClientSecret1&amp;gt;ClientSecret&amp;lt;/ClientSecret1&amp;gt;&#xA;      &amp;lt;/ClientSecrets&amp;gt;&#xA;      &amp;lt;UpdateAccessTokenClaimsOnRefresh&amp;gt;true&amp;lt;/UpdateAccessTokenClaimsOnRefresh&amp;gt;&#xA;    &amp;lt;/PostmanClient&amp;gt;&#xA;&amp;lt;/Clients&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally you can use this PowerShell to generate a token. &lt;a href=&quot;https://gist.github.com/johnkors/454c829aa63e7663745da5ebeb38dd86&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/johnkors/454c829aa63e7663745da5ebeb38dd86&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only issue I still have is that Sitecore will not validate the JWT token. My error is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;8604 01:14:45 ERROR Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationMiddleware - Authentication failed&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Microsoft.IdentityModel.Tokens.SecurityTokenInvalidSignatureException&#xA;  Message: IDX10500: Signature validation failed. No security keys were provided to validate the signature.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source: System.IdentityModel.Tokens.Jwt at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateSignature(String token, TokenValidationParameters validationParameters) in C:\agent2_work\15\s\src\System.IdentityModel.Tokens.Jwt\JwtSecurityTokenHandler.cs:line 1057 at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken&amp;amp; validatedToken) in C:\agent2_work\15\s\src\System.IdentityModel.Tokens.Jwt\JwtSecurityTokenHandler.cs:line 768&#xA;  at Microsoft.Owin.Security.Jwt.JwtFormat.Unprotect(String protectedText)&#xA;  at Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationHandler.d__0.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-01-06T07:23:53.737" LastActivityDate="2019-01-24T19:07:43.447" Title="JWT tokens for authentication for 9.1" Tags="|identity-server|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15712" PostTypeId="1" CreationDate="2018-12-28T00:34:03.877" Score="1" ViewCount="160" Body="&lt;p&gt;I've encountered an oddity related to preview/edit mode that could totally be by design, but is really annoying some of the user base (including myself).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a user logs into Sitecore and then opens a page in Preview or Edit mode, then opens the home page of the site without any query strings (i.e. &lt;a href=&quot;http://my.site.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my.site.com&lt;/a&gt;), the home page is displayed but with the Sitecore navigation. This is expected (not the problem). However, when the user then logs out of Sitecore (or is kicked out due to inactivity), and then tries to go to the home page again, the Sitecore login screen comes up with the URL &lt;code&gt;/sitecore/login?returnUrl=%2F&lt;/code&gt;, and they can't access the home page, unless they log into Sitecore or clear their cookies.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected functionality, and is there anything that can be done to just show the home page without any Sitecore stuff if they aren't logged in? Seems like Sitecore creates a cookie when the user previews a page and then that causes issues later on.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2018-12-28T00:34:03.877" Title="Users forced to log into Sitecore to go to home page" Tags="|login|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15714" PostTypeId="5" CreationDate="2018-12-28T05:58:13.923" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T05:58:13.923" LastActivityDate="2018-12-28T05:58:13.923" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15715" PostTypeId="4" CreationDate="2018-12-28T05:58:13.923" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T05:58:13.923" LastActivityDate="2018-12-28T05:58:13.923" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15716" PostTypeId="5" CreationDate="2018-12-28T06:00:21.203" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T06:00:21.203" LastActivityDate="2018-12-28T06:00:21.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15717" PostTypeId="4" CreationDate="2018-12-28T06:00:21.203" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T06:00:21.203" LastActivityDate="2018-12-28T06:00:21.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15718" PostTypeId="5" CreationDate="2018-12-28T06:07:15.407" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T06:07:15.407" LastActivityDate="2018-12-28T06:07:15.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15719" PostTypeId="4" CreationDate="2018-12-28T06:07:15.407" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T06:07:15.407" LastActivityDate="2018-12-28T06:07:15.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15720" PostTypeId="5" CreationDate="2018-12-28T06:08:53.083" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T06:08:53.083" LastActivityDate="2018-12-28T06:08:53.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15721" PostTypeId="4" CreationDate="2018-12-28T06:08:53.083" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T06:08:53.083" LastActivityDate="2018-12-28T06:08:53.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15722" PostTypeId="5" CreationDate="2018-12-28T06:11:59.197" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T06:11:59.197" LastActivityDate="2018-12-28T06:11:59.197" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15723" PostTypeId="4" CreationDate="2018-12-28T06:11:59.197" Score="0" Body="IdentityServer is a free, open source OpenID Connect and OAuth 2.0 framework for ASP.NET Core. Questions related to it in Sitecore environment, should use this tag. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-12-28T19:21:23.587" LastActivityDate="2018-12-28T19:21:23.587" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15724" PostTypeId="5" CreationDate="2018-12-28T06:14:11.163" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-28T06:14:11.163" LastActivityDate="2018-12-28T06:14:11.163" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15725" PostTypeId="4" CreationDate="2018-12-28T06:14:11.163" Score="0" Body="All questions related to Sitecore certification and available training, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-12-28T16:46:40.003" LastActivityDate="2018-12-28T16:46:40.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15726" PostTypeId="5" CreationDate="2018-12-28T06:16:48.270" Score="0" Body="&lt;p&gt;The Sitecore Experience Platform is designed to be secure by default. This means that the Sitecore roles use the Secure Sockets Layer (SSL) with client certificate validation to communicate with each other.&lt;/p&gt;&#xA;&lt;p&gt;The client certificate validation requires you to set up a client certificate as part of the Sitecore installation process on Azure. You can choose to generate a self-signed certificate to meet this installation requirement or obtain one from a certificate authority.&lt;/p&gt;&#xA;&lt;p&gt;For developer environments, you can generate a self-signed certificate using PowerShell. For productions environments, Sitecore recommends you obtain a certificate from a certified authority because of potential security concerns.&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2021-06-09T12:40:02.377" LastActivityDate="2021-06-09T12:40:02.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15727" PostTypeId="4" CreationDate="2018-12-28T06:16:48.270" Score="0" Body="Questions related to all certificates required to install and run Sitecore components including self signed certificates, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-12-28T16:46:32.127" LastActivityDate="2018-12-28T16:46:32.127" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15728" PostTypeId="1" CreationDate="2018-12-28T09:35:51.967" Score="0" ViewCount="88" Body="&lt;p&gt;I have my application migrated from sitecoreXP 8.1 to sitecore commerce 9 update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Searchbox suggestion is working fine on storefront pages(which are SXA compatible). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to successfully add the search-box to legacy pages(Eg:- career page).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, search-box suggestion is not working on any of the legacy pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help for using SXA searchbox component on non-SXA pages will be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3658" LastEditorUserId="237" LastEditDate="2018-12-28T10:17:51.197" LastActivityDate="2019-01-12T18:03:44.357" Title="Sitecore SXA search component in non-SXA page" Tags="|sxa|sxa-storefront|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15729" PostTypeId="2" ParentId="10907" CreationDate="2018-12-28T12:45:49.307" Score="2" Body="&lt;p&gt;SocialConnect module launched,&#xA;&quot;Build your network quick and easy&quot;&#xA;&lt;a href=&quot;https://www.addact.in/addact-socialconnect&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.addact.in/addact-socialconnect&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3049" LastActivityDate="2018-12-28T12:45:49.307" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15730" PostTypeId="2" ParentId="15728" CreationDate="2018-12-28T14:06:06.240" Score="0" Body="&lt;p&gt;We faced same issue and we did the below steps and it started working.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Try to add the SXA template - &quot;Default Commerce Page&quot; Template&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p4RMO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p4RMO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;2. Go to your legacy page and add your custom page design &lt;/p&gt;&#xA;" OwnerUserId="4085" LastActivityDate="2018-12-28T14:06:06.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15731" PostTypeId="1" CreationDate="2018-12-28T16:23:14.180" Score="0" ViewCount="176" Body="&lt;p&gt;We need to have role-based visibility of items in the Content Tree where items created by Admins should not be visible to anybody apart from Admins and items created by Approvers can be visible to Admins but Authors can not see those items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anybody suggest a solution for this?&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="2713" LastEditDate="2019-01-03T15:15:03.970" LastActivityDate="2019-01-03T16:49:22.513" Title="Sitecore Role Based Visibility of Items" Tags="|workflow|role-management|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15735" PostTypeId="2" ParentId="1245" CreationDate="2018-12-28T18:48:04.200" Score="2" Body="&lt;p&gt;I had the same error before. Error description found in sitecore log about solr issues is indeed vague and does not help much. What worked for me is by checking these files: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.ContentSearch.Solr.Index.Master.config&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.ContentSearch.Solr.Index.Web.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;which can be found in &lt;em&gt;/App_Config/Sitecore/ContentSearch/&lt;/em&gt; folder. &#xA;I checked the &lt;code&gt;&amp;lt;Param&amp;gt;&lt;/code&gt; nodes and found out that the index name has been accidentally changed by other developers so I changed it back to its original value and the issue is solved. So if there is something wrong with ContentSearch settings, sitecore would give you the same generic error log message. Hope this would help.&lt;/p&gt;&#xA;" OwnerUserId="3169" LastActivityDate="2018-12-28T18:48:04.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15737" PostTypeId="1" AcceptedAnswerId="15738" CreationDate="2018-12-28T20:09:03.113" Score="2" ViewCount="285" Body="&lt;p&gt;When selecting a component's Cacheability, the Vary By options control the cache key.  What happens if I cache a rendering but do not specify a Vary By option?  Also- does Sitecore generate a different cache key depending on if the rendering has a datasource or not?&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2018-12-28T20:22:43.027" Title="Caching without Vary By option?" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15738" PostTypeId="2" ParentId="15737" CreationDate="2018-12-28T20:22:43.027" Score="5" Body="&lt;p&gt;If you don't select Vary By Options, Then Sitecore will generate a cache key for the rendering that is unique per the &lt;strong&gt;context language&lt;/strong&gt;, Which means the Html output in the cache will be the same for the same rendering on all pages within &lt;strong&gt;same language&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you select &quot;&lt;strong&gt;Vary by Data&lt;/strong&gt;&quot; option and didn't set the datasource for rendering, Sitecore will use the &lt;strong&gt;Context Page Item ID&lt;/strong&gt; (Plus context language) to generate the cache key, Which means the Html output in the cache will be the same on the &lt;strong&gt;same page on same language&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you select &quot;&lt;strong&gt;Vary by Data&lt;/strong&gt;&quot; option and you set the datasource for rendering, Sitecore will use the &lt;strong&gt;datasource item ID&lt;/strong&gt; (Plus context language) to generate the cache key, Which means the Html output in the cache will be the same if the rendering is using the same &lt;strong&gt;datasource item&lt;/strong&gt; within same language context.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2018-12-28T20:22:43.027" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15740" PostTypeId="1" AcceptedAnswerId="15741" CreationDate="2018-12-29T04:44:02.673" Score="2" ViewCount="2839" Body="&lt;p&gt;The &lt;code&gt;Publish-Item&lt;/code&gt; command appears to use the older API for publishing (slow).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the script below, I do not see the publishing job appear in the Publishing Service dashboard.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:&quot; -ID &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;&#xA;$item | Publish-Item -PublishMode Smart&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-12-29T04:44:02.673" Title="How do you publish with the Publishing Service using SPE?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15741" PostTypeId="2" ParentId="15740" CreationDate="2018-12-29T04:44:02.673" Score="6" Body="&lt;p&gt;The Sitecore Publishing Service module replaces the PublishManager API and in most cases should work as you expect. SPE implements the use of the PublishManager but in a way that does not appear to trigger the SPS code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is an example on how to queue publishing jobs to appear in the Publishing Service dashboard.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$database = Get-Database -Name &quot;master&quot;&#xA;&#xA;$item = Get-Item -Path &quot;master:&quot; -ID &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;&#xA;&#xA;$targets = @()&#xA;foreach($publishingTarget in [Sitecore.Publishing.PublishManager]::GetPublishingTargets($database)) {&#xA;    $targets += Get-Database -Name $publishingTarget[[Sitecore.FieldIDs]::PublishingTargetDatabase]&#xA;}&#xA;&#xA;$languages = [Sitecore.Data.Managers.LanguageManager]::GetLanguages($database)&#xA;&#xA;# Item publish with children&#xA;[Sitecore.Publishing.PublishManager]::PublishItem($item,$targets,$languages,$true,$true,$true)&#xA;&#xA;# All Items&#xA;[Sitecore.Publishing.PublishManager]::PublishSmart($database,$targets,$languages)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3HctI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3HctI.png&quot; alt=&quot;Publishing Dashboard&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2018-12-29T04:44:02.673" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15742" PostTypeId="1" CreationDate="2018-12-29T14:50:55.560" Score="2" ViewCount="439" Body="&lt;p&gt;We are using sitcore 9 update 2 and SXA 1.7.1 when I create site getting below error.&#xA;I fixed this error by following this blog at initial level (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8881/sxa-error-when-creating-a-site-unrecognized-guid-format&quot;&gt;SXA error when creating a site: Unrecognized Guid format&lt;/a&gt;) but when I click OK after providing all details in SXA site wizard again getting same after few moments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xeneM.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xeneM.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I observed that it is happening only in particular tenant only which we are using for customer. I have another test tenant in same instance where I'm able to create site so it is strange what might cause issue in particular tenant.&#xA;Thanks.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;11576 13:02:08 INFO  Executing PsSitecoreItemProvider5.Start(providerInfo='Sitecore')&#xA;17972 13:02:09 INFO  Script item set to master:\system\Modules\PowerShell\Script Library\SXA\SXA - Scaffolding\Content Editor\Insert Item\Site in ScriptSession $scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|7b6d373d-e6ff-4ff1-9edf-888eae742974.&#xA;ManagedPoolThread #1 13:02:09 INFO  Executing a script in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|7b6d373d-e6ff-4ff1-9edf-888eae742974'.&#xA;ManagedPoolThread #1 13:02:57 ERROR Unrecognized Guid format. Actual value: &#xA;ManagedPoolThread #1 13:02:57 INFO  The script execution in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|7b6d373d-e6ff-4ff1-9edf-888eae742974' completed in 48153 ms.&#xA;10612 13:03:36 INFO  Executing PsSitecoreItemProvider5.Start(providerInfo='Sitecore')&#xA;1512 13:03:36 INFO  Script item set to master:\system\Modules\PowerShell\Script Library\SXA\SXA - Scaffolding\Content Editor\Insert Item\Site in ScriptSession $scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|7342fd7f-8226-4b7f-9f32-fdb196e84479.&#xA;ManagedPoolThread #9 13:03:36 INFO  Executing a script in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|7342fd7f-8226-4b7f-9f32-fdb196e84479'.&#xA;ManagedPoolThread #9 13:03:38 ERROR Unrecognized Guid format. Actual value: &#xA;ManagedPoolThread #9 13:03:38 INFO  The script execution in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|7342fd7f-8226-4b7f-9f32-fdb196e84479' completed in 1181 ms.&#xA;24012 13:13:46 INFO  Executing PsSitecoreItemProvider5.Start(providerInfo='Sitecore')&#xA;25500 13:13:46 INFO  Script item set to master:\system\Modules\PowerShell\Script Library\SXA\SXA - Scaffolding\Content Editor\Insert Item\Site in ScriptSession $scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|9f732432-c4e4-43e6-8f9e-00939b85ffd6.&#xA;ManagedPoolThread #3 13:13:46 INFO  Executing a script in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|9f732432-c4e4-43e6-8f9e-00939b85ffd6'.&#xA;ManagedPoolThread #3 13:13:49 ERROR Unrecognized Guid format. Actual value: &#xA;ManagedPoolThread #3 13:13:49 INFO  The script execution in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|9f732432-c4e4-43e6-8f9e-00939b85ffd6' completed in 3223 ms.&#xA;23508 13:14:17 INFO  Executing PsSitecoreItemProvider5.Start(providerInfo='Sitecore')&#xA;16812 13:14:17 INFO  Script item set to master:\system\Modules\PowerShell\Script Library\SXA\SXA - Scaffolding\Content Editor\Insert Item\Site in ScriptSession $scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|3ba78d60-f6a7-4433-ab39-1be7ebc0ff6e.&#xA;ManagedPoolThread #5 13:14:17 INFO  Executing a script in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|3ba78d60-f6a7-4433-ab39-1be7ebc0ff6e'.&#xA;ManagedPoolThread #5 13:14:19 ERROR Unrecognized Guid format. Actual value: &#xA;ManagedPoolThread #5 13:14:19 INFO  The script execution in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|3ba78d60-f6a7-4433-ab39-1be7ebc0ff6e' completed in 1558 ms.&#xA;23392 13:21:58 INFO  Executing PsSitecoreItemProvider5.Start(providerInfo='Sitecore')&#xA;1088 13:21:58 INFO  Script item set to master:\system\Modules\PowerShell\Script Library\SXA\SXA - Scaffolding\Content Editor\Insert Item\Site in ScriptSession $scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|374c7b44-9c03-454b-9c1f-d70c7c0f1df3.&#xA;ManagedPoolThread #7 13:21:58 INFO  Executing a script in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|374c7b44-9c03-454b-9c1f-d70c7c0f1df3'.&#xA;ManagedPoolThread #7 13:22:00 ERROR Unrecognized Guid format. Actual value: &#xA;ManagedPoolThread #7 13:22:00 INFO  The script execution in ScriptSession '$scriptSession$|ww13kf3zsz5cxsvzpdskhfr5|374c7b44-9c03-454b-9c1f-d70c7c0f1df3' completed in 1513 ms.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3377" LastEditorUserId="312" LastEditDate="2019-10-21T09:05:04.203" LastActivityDate="2019-10-21T09:05:04.203" Title="Error when creating site in SXA - Unrecognized Guid format" Tags="|sxa|multisite|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15743" PostTypeId="1" CreationDate="2018-12-29T16:56:54.620" Score="2" ViewCount="526" Body="&lt;p&gt;I have strange behavior at Rich Text editor (I heard that everyone had it), &#xA;when user add some Absolute url for example, &lt;em&gt;&lt;a href=&quot;https://www.example.com/mypage/someextra&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.example.com/mypage/someextra&lt;/a&gt;&lt;/em&gt;, after save Sitecore replace it to relative one, &lt;em&gt;/mypage/someextra.&lt;/em&gt;&#xA;How to solve such issue? &lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="2056" LastEditDate="2019-01-01T16:13:04.483" LastActivityDate="2019-01-01T16:13:04.483" Title="How to configure sitecore rich text editor not to replace url to relative." Tags="|richtext-editor|links|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15744" PostTypeId="1" CreationDate="2018-12-30T12:46:05.197" Score="0" ViewCount="573" Body="&lt;p&gt;I put .update files in SitecorePackageDeployer folder after installed SitecorePackageDeployer but it did not convert into json files so I want to force the deployer to start processing the .update files but when I enter the url &#xA;&quot;[YourSite]/sitecore/admin/StartSitecorePackageDeployer.aspx?force=1&quot;, it gives me a &quot;The requested document was not found&quot; error &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DhGvr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DhGvr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Ideas??&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="237" LastEditDate="2018-12-30T12:55:47.820" LastActivityDate="2019-04-12T17:53:37.977" Title="Sitecore Package Deployer" Tags="|tds|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15745" PostTypeId="1" CreationDate="2018-12-30T17:18:32.513" Score="2" ViewCount="257" Body="&lt;p&gt;Recently my company changed names. A server side script was created to change any URL's from &lt;code&gt;www.name.org&lt;/code&gt; to &lt;code&gt;https://name.org&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am now tasked with fixing hundreds of 404 and 302 redirects. All of my internal redirects that I have created inside Sitecore under the Redirects tab are not working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible that server level script prevents the reading on the redirect set up inside Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="4838" LastEditorUserId="2727" LastEditDate="2018-12-31T07:31:48.953" LastActivityDate="2019-01-01T01:33:34.660" Title="Server Redirects vs Sitecore Internal Redirects" Tags="|content-editor|" AnswerCount="1" CommentCount="2" ClosedDate="2019-01-01T11:04:48.313" ContentLicense="CC BY-SA 4.0" />
  <row Id="15746" PostTypeId="2" ParentId="15019" CreationDate="2018-12-31T04:56:43.447" Score="0" Body="&lt;p&gt;I've fixe this by changing the code from&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!IdentityChecker.IsUserIdentityValid(args.RequestContext.HttpContext.Request.RequestContext.HttpContext.Request) &amp;amp;&amp;amp; !args.RequestContext.HttpContext.Response.IsRequestBeingRedirected)&#xA;{&#xA; args.AbortPipeline(); --// step1 &#xA; args.RequestContext.HttpContext.Response.RedirectPermanent(&quot;/LogOn/SignIn&quot;, true); -- step2&#xA;     }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!IdentityChecker.IsUserIdentityValid(args.RequestContext.HttpContext.Request.RequestContext.HttpContext.Request) &amp;amp;&amp;amp; !args.RequestContext.HttpContext.Response.IsRequestBeingRedirected)&#xA;{&#xA; Sitecore.Context.Item = Sitecore.Context.Database.GetItem(ItemIds.ServerErrorPageId); --// step1 &#xA; args.RequestContext.HttpContext.Response.RedirectPermanent(&quot;/LogOn/SignIn&quot;, true); -- step2&#xA;     }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just changing the context item to some default item in case if user is not logged in, so that Sitecore always finds page context and wont try to instantiate any controllers that are bound to functionality.&lt;/p&gt;&#xA;" OwnerUserId="2447" LastActivityDate="2018-12-31T04:56:43.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15747" PostTypeId="1" CreationDate="2018-12-31T06:59:39.310" Score="2" ViewCount="277" Body="&lt;p&gt;I managed to installed Sitecore Habitat Home Commerce (9.0.2) and trying to extend some of the functionalities. I will need to customise checkout billing page to fit the requirement.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are few questions I would like to check with the community after spending hours in researching how Commerce SXA components were implemented by Habitat Home Commerce demo.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I came across this  section when viewing the showconfig and notice that we are required to register commerce models and js files in the config file.    &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;commerce.XA&amp;gt;   &#xA;   &amp;lt;javascripts&amp;gt;...&amp;lt;/javascripts&amp;gt;&#xA;   &amp;lt;models&amp;gt;...&amp;lt;/models&amp;gt;&#xA;&amp;lt;/commerce.XA&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As for the registered Commerce SXA js files, can I assume Sitecore Commerce SXA module will include them in the page when rendering a Commrece SXA page? If it is not registered, Commerce SXA will not load them.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that's the case for js files, but why do we need the Commerce models being registered?&lt;/p&gt;&#xA;" OwnerUserId="1644" LastEditorUserId="1644" LastEditDate="2019-01-04T03:10:22.283" LastActivityDate="2019-02-03T04:03:20.753" Title="Is Sitecore XA different from Commerce XA?" Tags="|sxa|sitecore-commerce|sxa-storefront|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15748" PostTypeId="5" CreationDate="2018-12-31T07:04:55.103" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-31T07:04:55.103" LastActivityDate="2018-12-31T07:04:55.103" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15749" PostTypeId="4" CreationDate="2018-12-31T07:04:55.103" Score="0" Body="The value of Server Role determines which Sitecore role or roles the instance should run i.e. The supported values for the server role are: ContentDelivery, ContentManagement, Processing, Reporting, Standalone. All questions, related to it, should use this tag. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-12-31T07:23:12.373" LastActivityDate="2018-12-31T07:23:12.373" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15750" PostTypeId="5" CreationDate="2018-12-31T07:20:02.570" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-31T07:20:02.570" LastActivityDate="2018-12-31T07:20:02.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15751" PostTypeId="4" CreationDate="2018-12-31T07:20:02.570" Score="0" Body="Autofac is an open-source IoC (Inversion of Control) container. All questions about integrating Autofac into Sitecore should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-12-31T09:27:43.137" LastActivityDate="2018-12-31T09:27:43.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15752" PostTypeId="5" CreationDate="2018-12-31T07:29:54.347" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-31T07:29:54.347" LastActivityDate="2018-12-31T07:29:54.347" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15753" PostTypeId="4" CreationDate="2018-12-31T07:29:54.347" Score="0" Body="Azure Marketplace is an online applications and services marketplace where customers can try and buy cloud solutions built on Azure or built for Azure. Any questions related this marketplace from Sitecore point of view, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2018-12-31T12:19:15.693" LastActivityDate="2018-12-31T12:19:15.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15754" PostTypeId="5" CreationDate="2018-12-31T07:38:49.297" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2018-12-31T07:38:49.297" LastActivityDate="2018-12-31T07:38:49.297" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15755" PostTypeId="4" CreationDate="2018-12-31T07:38:49.297" Score="0" Body="Platform as a service (PaaS) is a deployment and development environment within the cloud. It is designed to support the complete web application lifecycle of building, testing, deploying, managing, and updating. All questions on this from Sitecore point of view, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-01T06:19:00.750" LastActivityDate="2019-01-01T06:19:00.750" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15756" PostTypeId="1" AcceptedAnswerId="15785" CreationDate="2018-12-31T08:10:30.443" Score="2" ViewCount="493" Body="&lt;p&gt;Working on Sitecore commerce 9 update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search-box is listing multilingual suggestions when typing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an item with content in English and Chines version.&#xA;I have 2 issues to highlight,&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When only English version is published, search result/suggestion will list english version content. But when English and Chines vesion is published, search result will only have Chinese version. &lt;/li&gt;&#xA;&lt;li&gt;On further investigation I found that, when the AJAX call is made for search suggestion, context language is not set in query string.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RhZ6A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RhZ6A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And also, when AJAX call is made from search result page context language is set ( because this page have a rendering where we can set the language filter).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oc2cD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oc2cD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone worked on sitecore 9 SXA search component and came across this ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way we can easily setup language filter in search component without customizing the OOTB module ?&lt;/p&gt;&#xA;" OwnerUserId="3658" LastEditorUserId="73" LastEditDate="2018-12-31T11:23:43.610" LastActivityDate="2019-01-03T10:32:57.097" Title="search component- suggestion issue" Tags="|sxa|content-search|sitecore-commerce|sxa-storefront|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15757" PostTypeId="1" AcceptedAnswerId="15760" CreationDate="2018-12-31T11:44:17.690" Score="3" ViewCount="164" Body="&lt;p&gt;Hide the create list column in the sitecore exm for particular users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried to add restrictions in core database the text is hiding still it showing the icon.&#xA;Is there any way to hide the icon also.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/2dAvI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2dAvI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4644" LastEditorUserId="237" LastEditDate="2018-12-31T14:23:29.563" LastActivityDate="2018-12-31T14:23:29.563" Title="Sitecore EXM Security Issues" Tags="|exm|permissions|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15759" PostTypeId="2" ParentId="15710" CreationDate="2018-12-31T13:26:24.690" Score="1" Body="&lt;p&gt;You must also enter the domain, like &quot;sitecore\admin&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This call is using IIS' credentials validation method, &lt;code&gt;Membership.ValidateUser&lt;/code&gt;, which requires you to use the domain (unlike Sitecore's &lt;code&gt;AuthenticationManager&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our team has been made aware of this and might change it in the future, but as of now, please use the domain :)&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2018-12-31T13:26:24.690" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15760" PostTypeId="2" ParentId="15757" CreationDate="2018-12-31T14:19:43.527" Score="5" Body="&lt;p&gt;Maybe I'm wrong but I'm afraid that what you want to achieve is not possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The items which you changed access rights to are only &lt;code&gt;HyperlinkButton Parameters&lt;/code&gt; item and &lt;code&gt;Text Parameters&lt;/code&gt; item which means they hold text of the button, click action and help text. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The whole button consist of more components:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fYp6t.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fYp6t.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In frontend, I would use Sitecore personalization rules to hide certain components for chosen users. But it's Sitecore backend and from what I remember, personalization rules are not even executed there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to use Sitecore Rocks plugin to hide rendering with &lt;code&gt;where true (action always executed)&lt;/code&gt; rule but it changed nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the image which is displayed comes from another component and links to a Sitecore icon. I downloaded the icon, uploaded it to media library, removed read access rights for an user and changed the image url to ID of the uploaded media library item, and that was the only way to hide an image which worked for me. But I could still see empty space there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9DmeD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9DmeD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't like the solution. It's hacky and it doesn't look good. But it's the only one I found.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2018-12-31T14:19:43.527" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15762" PostTypeId="2" ParentId="15743" CreationDate="2018-12-31T23:45:18.263" Score="1" Body="&lt;p&gt;Use hyperlink instead of sitecore link&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ea12m.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ea12m.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l3w4G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l3w4G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4791" LastActivityDate="2018-12-31T23:45:18.263" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15763" PostTypeId="2" ParentId="15745" CreationDate="2019-01-01T01:33:34.660" Score="0" Body="&lt;p&gt;I think I have found the issue. Sorry @chrisauer I couldnt describe which Redirect module that was currently installed, I just came on board a little while ago and was not given any real documentation on how or company's site was built. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Really appreciate your responses to my question. Turns out these redirect are going to have to be set on the server&lt;/p&gt;&#xA;" OwnerUserId="4838" LastActivityDate="2019-01-01T01:33:34.660" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15764" PostTypeId="1" CreationDate="2019-01-01T13:59:33.223" Score="1" ViewCount="658" Body="&lt;p&gt;I added new patch for item:saved event for media add, edit, update and rename in CDN server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i am adding new item in media library at that time my custom method OnItemSaved called multiple times (around 5 times).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any provision or option in sitecore to prevent multiple calls?  &lt;/p&gt;&#xA;" OwnerUserId="3247" LastEditorUserId="2056" LastEditDate="2019-02-12T13:17:37.783" LastActivityDate="2019-02-12T13:17:37.783" Title="Multiple time custom item:saved event call" Tags="|sitecore-client|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15766" PostTypeId="2" ParentId="15764" CreationDate="2019-01-01T15:00:30.813" Score="2" Body="&lt;p&gt;You did not say, but I imagine you are doing something to the item in your item:saved event, and then you are updating the item. This triggers another saved event, over and over.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you want to do it check for what you want to change and if the old item and new item match, just return out of the event.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnItemSaved(object sender, EventArgs args)&#xA;{&#xA;    // Extract the item from the event Arguments&#xA;    Item savedItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;    // Allow only non null items and allow only items from the master database&#xA;    if (savedItem != null &amp;amp;&amp;amp; savedItem.Database.Name.ToLower() == &quot;master&quot;)&#xA;    {&#xA;        // check for a reason to update, if not just return&#xA;        if (savedItem[&quot;MyField&quot;] == &quot;reason to update&quot;)&#xA;            return;&#xA;        else&#xA;        {&#xA;            using (new SecurityDisabler())&#xA;            {&#xA;                savedItem.Editing.BeginEdit();&#xA;&#xA;                // Do your edits here&#xA;&#xA;                savedItem.Editing.EndEdit();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-01-01T15:00:30.813" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15767" PostTypeId="1" AcceptedAnswerId="15782" CreationDate="2019-01-02T03:20:21.370" Score="1" ViewCount="144" Body="&lt;p&gt;In one specific layout, I have multiple tabs and each tab shows different content/placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm in Experience Editor mode, Sitecore shows all the &quot;Add here&quot; buttons even for the placeholders that are not visible at the moment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example (Experience Editor mode): &#xA;I'm in tab 1 and click &quot;Add a new component&quot;, Sitecore displays all the &quot;Add here&quot; buttons for tab 1, tab 2, etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I reckon that Sitecore &quot;injects&quot; those buttons in a way that doesn't matter if the content is not visible - it will always have the buttons no matter what.&#xA;I'm using Sitecore 9 but I believe this behavior is for all Sitecore versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas how to avoid this?&lt;/p&gt;&#xA;" OwnerUserId="321" LastActivityDate="2019-01-02T07:12:06.937" Title="Multiple &quot;Add here&quot; buttons due to multiple tabs" Tags="|experience-editor|presentation|placeholders|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15769" PostTypeId="1" CreationDate="2019-01-02T06:09:34.593" Score="3" ViewCount="108" Body="&lt;p&gt;How can I specify multiple 'Contact Filter' or create a custom one for 'Read Contacts from xConnect' pipeline step ? &lt;/p&gt;&#xA;" OwnerUserId="3608" LastActivityDate="2024-03-06T03:04:10.490" Title="Sitecore DEF 2.0.1 Custom Filter Expressions" Tags="|xconnect|data-exchange-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15770" PostTypeId="5" CreationDate="2019-01-02T06:30:29.367" Score="0" Body="&lt;p&gt;The Commerce Engine exposes a plugin framework that allows you to create your own plugins to extend, customize or remove functionality to meet specific requirements. The Commerce Engine also exposes services as OData/REST-based APIs. This enables either direct REST calls to the services or calls through a generated smart proxy, which examines OData metadata and generates a strongly typed experience for accessing the service.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QxWek.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QxWek.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4817" LastEditorUserId="4817" LastEditDate="2022-01-03T14:09:21.943" LastActivityDate="2022-01-03T14:09:21.943" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15771" PostTypeId="4" CreationDate="2019-01-02T06:30:29.367" Score="0" Body="The Commerce Engine is a thin ASP.NET Core application that serves as a host for a group of microservices that enable commerce functionality. All questions related to engine configuration and implementation should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T10:50:23.107" LastActivityDate="2019-01-02T10:50:23.107" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15772" PostTypeId="5" CreationDate="2019-01-02T06:35:02.717" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-02T06:35:02.717" LastActivityDate="2019-01-02T06:35:02.717" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15773" PostTypeId="4" CreationDate="2019-01-02T06:35:02.717" Score="0" Body="A Sitecore component is a single piece of data sourced content that can be added to a Sitecore page. The tag can be used for all questions around this topic." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T11:52:18.310" LastActivityDate="2019-01-02T11:52:18.310" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15774" PostTypeId="5" CreationDate="2019-01-02T06:48:16.407" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-02T06:48:16.407" LastActivityDate="2019-01-02T06:48:16.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15775" PostTypeId="4" CreationDate="2019-01-02T06:48:16.407" Score="0" Body="All questions related to accessing  a computing resource simultaneously can use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T08:29:39.700" LastActivityDate="2019-01-02T08:29:39.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15776" PostTypeId="5" CreationDate="2019-01-02T06:53:57.520" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-02T06:53:57.520" LastActivityDate="2019-01-02T06:53:57.520" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15777" PostTypeId="4" CreationDate="2019-01-02T06:53:57.520" Score="0" Body="A contained database is a database that is isolated from other databases and from the instance of SQL Server that hosts the database. All questions around it, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T11:52:12.400" LastActivityDate="2019-01-02T11:52:12.400" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15778" PostTypeId="5" CreationDate="2019-01-02T06:56:46.927" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-02T06:56:46.927" LastActivityDate="2019-01-02T06:56:46.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15779" PostTypeId="4" CreationDate="2019-01-02T06:56:46.927" Score="0" Body="A broken link is a reference to an item in the Sitecore Content Tree that does not exist anymore. All questions around Sitecore broken links, should use this tag. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T08:29:36.120" LastActivityDate="2019-01-02T08:29:36.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15780" PostTypeId="5" CreationDate="2019-01-02T07:00:56.880" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-02T07:00:56.880" LastActivityDate="2019-01-02T07:00:56.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15781" PostTypeId="4" CreationDate="2019-01-02T07:00:56.880" Score="0" Body="All questions around setting up and configuring application in Sitecore environment should use this tag. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T11:52:15.210" LastActivityDate="2019-01-02T11:52:15.210" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15782" PostTypeId="2" ParentId="15767" CreationDate="2019-01-02T07:12:06.937" Score="1" Body="&lt;p&gt;I had the same behavior for sitecore 8 when I was working with similar task. I implemented different view for edit mode. Just display tab bodies under each other. For me it was the fastest way for solve this.&lt;/p&gt;&#xA;" OwnerUserId="4791" LastActivityDate="2019-01-02T07:12:06.937" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15783" PostTypeId="2" ParentId="15747" CreationDate="2019-01-02T08:29:19.530" Score="2" Body="&lt;p&gt;So the hierarchy is as follow: SXA requires Sitecore, and Storefront Commerce (CXA) requires SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CXA is using SXA as a platform and is using a lot of SXA features. They still have a lot of custom logic like for example usage of Knocout.js and the fact that they are registering their JavaScript filed and Models is related to those custom features. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please write about which config section you are exactly asking about and I will update my answer with more details if needed.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-01-02T08:29:19.530" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15784" PostTypeId="2" ParentId="15747" CreationDate="2019-01-02T08:50:31.997" Score="0" Body="&lt;p&gt;Theoretically you can extend models without extending repository, just register yours type for model, but it will work only for models that have virtual Initialize method, with necessary arguments for implement custom logic, unfortunately not all models have this. So you should use some decompiler (I use &lt;a href=&quot;https://www.jetbrains.com/decompiler/&quot; rel=&quot;nofollow noreferrer&quot;&gt;dotPeek&lt;/a&gt;) for browse commerce modules any way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In most cases you will override repository and in this case do not have any sense register model and than create model object through IModelProvider, you can use &quot;new&quot;. But I all time do it through IModelProvider for have similar working process with models everywhere in my solutions(I mean my code and OOTB code look the same).&lt;/p&gt;&#xA;" OwnerUserId="4791" LastActivityDate="2019-01-02T08:50:31.997" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15785" PostTypeId="2" ParentId="15756" CreationDate="2019-01-02T09:10:45.693" Score="0" Body="&lt;p&gt;Let's clarify a few things. The Solr Suggester component doesn't support language at all. For more details please take a look here: &lt;a href=&quot;https://lucene.apache.org/solr/guide/7_2/suggester.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/7_2/suggester.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In SXA you have few options to receive suggestions as I described here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/15354/where-the-auto-suggest-results-implemented-in-sxa&quot;&gt;Where the auto suggest results implemented in SXA?&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, knowing about two above I'm assuming that you are not using real Solr suggestions but one of two other options which in fact are just showing search results as suggestions/predictions. I've just checked the last code (just code check without debugging) and as far as I can see the language is pass to &lt;code&gt;createSuggestionsUrl()&lt;/code&gt; function in the &lt;code&gt;component-search-box.js&lt;/code&gt;. Take a look here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4zMIh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4zMIh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE - 03-01-2018&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to pass language to the suggestion request please update &lt;code&gt;Default langue filtering&lt;/code&gt; option in the Control Properties of the Search Box rendering. Take a look here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9Wlro.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9Wlro.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you will choose Current Language than &lt;code&gt;inst.getLanguage()&lt;/code&gt; will return proper language.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-01-03T10:32:57.097" LastActivityDate="2019-01-03T10:32:57.097" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15786" PostTypeId="5" CreationDate="2019-01-02T13:16:54.020" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-02T13:16:54.020" LastActivityDate="2019-01-02T13:16:54.020" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15787" PostTypeId="4" CreationDate="2019-01-02T13:16:54.020" Score="0" Body="All question on Elastic search - a search engine based on the Lucene library that provides a distributed, multitenant-capable full-text search with an HTTP web interface and schema-free JSON documents." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T13:56:09.293" LastActivityDate="2019-01-02T13:56:09.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15788" PostTypeId="5" CreationDate="2019-01-02T13:18:29.957" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-02T13:18:29.957" LastActivityDate="2019-01-02T13:18:29.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15789" PostTypeId="4" CreationDate="2019-01-02T13:18:29.957" Score="0" Body="Device Detection is technology that identifies what type of devices are accessing an organization's website. All questions around this technology should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T13:34:39.700" LastActivityDate="2019-01-02T13:34:39.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15790" PostTypeId="5" CreationDate="2019-01-02T13:19:37.277" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-02T13:19:37.277" LastActivityDate="2019-01-02T13:19:37.277" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15791" PostTypeId="4" CreationDate="2019-01-02T13:19:37.277" Score="0" Body="The DateTimePicker control allows selecting a date and time by editing the displayed values in the control. All question on this control from Sitecore point of view, should use this tag. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T13:56:27.470" LastActivityDate="2019-01-02T13:56:27.470" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15792" PostTypeId="5" CreationDate="2019-01-02T13:21:58.843" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-02T13:21:58.843" LastActivityDate="2019-01-02T13:21:58.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15793" PostTypeId="4" CreationDate="2019-01-02T13:21:58.843" Score="0" Body="All questions on Data migration process - A process of selecting, preparing, extracting, and transforming data and permanently transferring it from one computer storage system to another." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-02T21:45:00.097" LastActivityDate="2019-01-02T21:45:00.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15794" PostTypeId="1" AcceptedAnswerId="15795" CreationDate="2019-01-02T13:44:43.113" Score="4" ViewCount="194" Body="&lt;p&gt;I am looking at the documentation for the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Plugin_for_Stylelabs_DAM/10/Sitecore_Plugin_10_for_Stylelabs_DAM.aspx&quot; rel=&quot;noreferrer&quot;&gt;initial version of the Sitecore plugin for DAM&lt;/a&gt;. In the introduction section of the plugin documentation, the doc states:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;This plugin does not support the Sitecore Experience Accelerator (SXA)&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What does this mean? Can SXA not be installed in the same instance? Or does it not work with the SXA Editor?&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-01-03T10:44:07.517" Title="Is the Sitecore plugin for Stylelabs DAM compatible with SXA?" Tags="|sxa|stylelabs|dam|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15795" PostTypeId="2" ParentId="15794" CreationDate="2019-01-02T13:44:43.113" Score="7" Body="&lt;p&gt;Version 1.0 of the plugin was released with compatibility for 8.2.7, 9.0, and 9.1. The SXA editor in these versions does not support using the plugin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA can be installed in the same instance, but the editor will not integrate with the plugin until a later release.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-01-02T13:44:43.113" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15796" PostTypeId="1" AcceptedAnswerId="15798" CreationDate="2019-01-02T15:06:13.503" Score="11" ViewCount="1140" Body="&lt;p&gt;I noticed in 9.0.2 and 9.1 there's a new ExcludeFields.config file for the Azure indexes to help keep things below Azure's 1000-field limitation. However, this apparently isn't enough, as we're running into the issue. I saw an SSE post on this - &lt;a href=&quot;https://stackoverflow.com/questions/49940421/sitecore-9-1-azure-master-index-rebuild-gets-stuck&quot;&gt;https://stackoverflow.com/questions/49940421/sitecore-9-1-azure-master-index-rebuild-gets-stuck&lt;/a&gt; - which I assume meant 9.0.1 given the time of the issue. Has anyone run into a better way to handle this, or generally is the best way to exclude all of the custom fields in templates I'm creating and make custom indexes for the specific areas I'm working with?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-01-02T16:00:23.813" Title="Azure Search 1000 field limit issue" Tags="|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15797" PostTypeId="2" ParentId="14707" CreationDate="2019-01-02T15:13:21.820" Score="4" Body="&lt;p&gt;There a few reasons why you are facing these issues:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You are using the [Authorize] Attribute&lt;/li&gt;&#xA;&lt;li&gt;You are doing an own mapping&lt;/li&gt;&#xA;&lt;li&gt;Sitecore, Identity &amp;amp; Owin do work a little bit different that you&#xA;would expect&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The way Sitecore, Owin &amp;amp; Identity works&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has created a piece of pipelines and stagemarkers which are run during initialization of Sitecore. These stagemarkers basically “decide” when a certain piece of middleware (which is being injected by the pipelines) should be run.&#xA;When following the general guidelines of creating an own identity provider you don’t have to use the “MapWhen” functions, as Sitecore and their pipelines will handle this for the largest part. Indeed, the largest part, as it doesn’t handle every use case. It does handle every explicit login request, not every implicit login request&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The explicit login process&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The signin link that you use omits Owin, it just generated the link /identity/externalcallback?...... with a bunch of information, including an encrypted returnUrl (as part of the OWIN context).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual SignInUrlInfo GetLoginLink(string siteName, IdentityProvider identityProvider, string returnUrl, AuthenticationSource authenticationSource)&#xA;{&#xA;    Assert.ArgumentNotNullOrEmpty(siteName, &quot;siteName&quot;);&#xA;    Assert.ArgumentNotNull(identityProvider, &quot;identityProvider&quot;);&#xA;    NameValueCollection nameValueCollection = HttpUtility.ParseQueryString(string.Empty);&#xA;    nameValueCollection[&quot;ReturnUrl&quot;] = returnUrl;&#xA;    nameValueCollection[&quot;sc_site&quot;] = siteName;&#xA;    nameValueCollection[&quot;authenticationSource&quot;] = authenticationSource.ToString();&#xA;    string value = Settings.IdentityProcessingPathPrefix().EnsureTrailingSlash() + &quot;externallogincallback&quot; + &quot;?&quot; + nameValueCollection;&#xA;    nameValueCollection = HttpUtility.ParseQueryString(string.Empty);&#xA;    nameValueCollection[&quot;authenticationType&quot;] = identityProvider.Name;&#xA;    nameValueCollection[&quot;ReturnUrl&quot;] = value;&#xA;    nameValueCollection[&quot;sc_site&quot;] = siteName;&#xA;    string href = Settings.IdentityProcessingPathPrefix().EnsureTrailingSlash() + &quot;externallogin&quot; + &quot;?&quot; + nameValueCollection;&#xA;    return new SignInUrlInfo(identityProvider.Name, href, identityProvider.Caption, identityProvider.Icon);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is no OWIN involved in here, only some artificial creation of the login url and the url you came from, as part of the OWIN context. A returnUrl is being added as well, this is the actual “identity/externallogincallback….” To which the identityprovider should redirect you to.&#xA;The place where the magic happens, is the is in this /identity/externallogincallback path. It took me quite some time to figure out where it was injected, but it all happens in the “handleloginlink” processor (which is registred as middleware using OWIN):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.Initialize.HandleLoginLink, Sitecore.Owin.Authentication&quot; resolve=&quot;true&quot; patch:source=&quot;Sitecore.Owin.Authentication.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this processor, two events are handled: the route to the identity provider and the route from the identity provider. &#xA;The to-path does an actual implicit authentication challenge, creates the returnurl as an encrypted owin context property and, as the code is running inside the owin context, tells the owin context which provider should be used.&#xA;The from-path handles the response from the identity provider, makes sure that the externalidentity gets mapped to a (virtual) Sitecore users and makes sure that the correct redirection will be executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short: the login url that will be generated is an intermediate step to trigger the “real” authentication challenge. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The implicit login challenge&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using the authorize attribute, you are triggering an implicit login. Early in the process, this authorize attribute generated an “HttpUnauthorized” event and triggers an Authentication challenge which tells OWIN to do its job – and this is exactly where all goes wrong; OWIN isn’t aware of the current Sitecore context – (probably) the last registered middleware will be used to execute the authentication and the user will directly be redirected to the identity provider – not using the /identity/externallogin and thus nog setting the right callback path and identityprovider.&#xA;All of this can be solved by catching this redirect early on in the process. Based on the type of authentication middleware that you are used, there might (or might not) be a Redirect event. Make sure to catch that event and execute the following code. It unprotects the current Owin Context, checks the actual return Url and sets it to the /identity/externallogincallback url. The actual page where the user came from will be added to the Authentication Properties. This way, the “handlelogin” link route will be “injected” into the implicit authentication flow, where you are sure that all Dark Sitecore Magic will be executed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private Task OnRedirectToIdentityProvider(RedirectToIdentityProviderNotification&amp;lt;WsFederationMessage, WsFederationAuthenticationOptions&amp;gt; context)&#xA;        {&#xA;            LogMessage(context.ProtocolMessage.Parameters, &quot;OnRedirectToIdentityProvider&quot;);&#xA;            if (context.ProtocolMessage.IsSignInMessage)&#xA;            {&#xA;                IReadableStringCollection query = context.Request.Query;&#xA;                string wreply = string.Empty;&#xA;                if (context.ProtocolMessage.Parameters.TryGetValue(&quot;wreply&quot;, out wreply))&#xA;                {&#xA;                    // Trick to support authorize attribute. We lead the callback from the idp to Sitecores externallogincallback&#xA;                    // url before it will return to it's returnurl&#xA;                    // Multisite is not supported with this piece of code.&#xA;                    string[] stateQueryString = context.ProtocolMessage.Wctx.Split('=');&#xA;                    string protectedState = stateQueryString[1];&#xA;&#xA;                    AuthenticationProperties state = context.Options.StateDataFormat.Unprotect(protectedState);&#xA;                    string[] redirectUriQueryString = state.RedirectUri.Split('?');&#xA;                    string redirectState = redirectUriQueryString[0];                   &#xA;                    if (!redirectState.Contains(&quot;/identity/externallogincallback&quot;))&#xA;                    {&#xA;                        NameValueCollection nameValueCollection = HttpUtility.ParseQueryString(string.Empty);&#xA;                        nameValueCollection[&quot;ReturnUrl&quot;] = state.RedirectUri;&#xA;                        nameValueCollection[&quot;authenticationSource&quot;] = &quot;Default&quot;;                       &#xA;                        //nameValueCollection[&quot;sc_site&quot;] = siteName;&#xA;                        string value = &quot;/identity/externallogincallback&quot; + &quot;?&quot; + nameValueCollection;&#xA;                        state.RedirectUri = value;&#xA;                        context.ProtocolMessage.Wctx = stateQueryString[0] + &quot;=&quot; + context.Options.StateDataFormat.Protect(state);&#xA;                    }&#xA;                }&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="71" LastActivityDate="2019-01-02T15:13:21.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15798" PostTypeId="2" ParentId="15796" CreationDate="2019-01-02T16:00:23.813" Score="11" Body="&lt;p&gt;The problem is that when you are adding fields and have a bunch of languages, this will create a lot of new fields when &quot;indexallfields&quot; is set to true. &#xA;(Each field multiplied by the number of languages) So you quickly get over 1000 fields. And since the 1000 fields is an azure limitation, there is not much sitecore can do about it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best way to handle this is still to set indexallfields to false and to include the fields you need in the master index manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With 9.1, there is no need to add the form fields anymore, this has been solved by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore role:require=&quot;Standalone or ContentManagement or ContentDelivery&quot; search:require=&quot;Azure&quot;&amp;gt;&#xA;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;indexConfigurations&amp;gt;&#xA;    &amp;lt;defaultCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;documentOptions&amp;gt;&#xA;        &amp;lt;!-- We only want default fields in the core/master/web indexes on azure due to 1000 field limit  --&amp;gt;&#xA;        &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;            &#xA;      &amp;lt;/documentOptions&amp;gt;&#xA;    &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;  &amp;lt;/indexConfigurations&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-01-02T16:00:23.813" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15799" PostTypeId="1" AcceptedAnswerId="15801" CreationDate="2019-01-02T19:18:01.953" Score="2" ViewCount="1005" Body="&lt;p&gt;We've created a multi-page form using &lt;code&gt;Sitecore Forms&lt;/code&gt;. We have an intermittent issue after the user click the &lt;code&gt;Next&lt;/code&gt; button to go to the next page. Sometimes the form will redirect the user to &lt;a href=&quot;http://oursite.example.com/formbuilder?blahblahblah&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://oursite.example.com/formbuilder?blahblahblah&lt;/a&gt;..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is disruptive because it's an unstyled form with a completely white background that looks very different from our website. What's confusing is that it only  happens some of the time, and other times the form works fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be causing this redirect back to &lt;code&gt;/formbuilder&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="4239" LastEditorUserId="5096" LastEditDate="2019-05-21T09:37:53.477" LastActivityDate="2021-08-06T20:32:00.637" Title="Sitecore 9 Form redirecting users to /formbuilder" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15801" PostTypeId="2" ParentId="15799" CreationDate="2019-01-02T21:31:38.783" Score="2" Body="&lt;p&gt;I have seen this before.  It was solved by adding &lt;code&gt;@Html.RenderFormStyles()&lt;/code&gt; in the &lt;code&gt;head&lt;/code&gt; section of the layout and &lt;code&gt;@Html.RenderForScripts()&lt;/code&gt; before the ending &lt;code&gt;body&lt;/code&gt; tag in the layout.&lt;/p&gt;&#xA;" OwnerUserId="3269" LastEditorUserId="5096" LastEditDate="2019-05-21T09:37:49.830" LastActivityDate="2019-05-21T09:37:49.830" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15802" PostTypeId="1" AcceptedAnswerId="15803" CreationDate="2019-01-02T21:43:21.047" Score="4" ViewCount="476" Body="&lt;p&gt;How do I add new data to the Sitecore Launchpad similar to the graphs below the launchpad tiles?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-01-02T21:53:56.557" Title="How to add functionality or data to Sitecore Launchpad" Tags="|sitecore-client|speak|launchpad|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15803" PostTypeId="2" ParentId="15802" CreationDate="2019-01-02T21:43:21.047" Score="2" Body="&lt;p&gt;The way to do this is to create a rendering in the Core database and add it to the Launchpad application's presentation details using Sitecore Rocks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note: this has only been tested on Sitecore 8.1 update-3, though it's likely to work with other versions.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Add a rendering in the Core database&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the core database, add a new controller rendering below &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Renderings&lt;/code&gt; (template is at &lt;code&gt;/System/Layouts/Controller rendering&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Fill in the necessary fields for your rendering (&lt;strong&gt;Controller&lt;/strong&gt;, &lt;strong&gt;Controller Action&lt;/strong&gt;, &lt;strong&gt;Area&lt;/strong&gt;, etc.)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Update Launchpad to include your new rendering&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=JakobChristensen.SitecoreRocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Rocks&lt;/a&gt;' Sitecore Explorer, open the Core database and right-click on the &lt;code&gt;/sitecore/client/Applications/Launchpad&lt;/code&gt; item&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;Tasks&lt;/strong&gt; -&gt; &lt;strong&gt;Design Layout&lt;/strong&gt; from the context menu&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: At this point, you need to decide where on the Launchpad you would like to add the component. I decided to put mine to the right of the main dashboard of tiles (LaunchTiles).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;ColumnPanel1&lt;/strong&gt;, find the &lt;strong&gt;GridColumns&lt;/strong&gt; property, and change it to &lt;strong&gt;9&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Select the &lt;strong&gt;LaunchTiles&lt;/strong&gt; rendering below &lt;strong&gt;ColumnPanel1&lt;/strong&gt; and click the &lt;strong&gt;Add Rendering&lt;/strong&gt; button in the top left corner of the tab&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oyo3N.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oyo3N.png&quot; alt=&quot;add rendering button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the resultant dialog, find and select the &lt;strong&gt;ColumnPanel&lt;/strong&gt; rendering and click &lt;strong&gt;OK&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;After you ensure that your new rendering (&lt;strong&gt;ColumnPanel2&lt;/strong&gt;) is selected, find the &lt;strong&gt;PlaceholderKey&lt;/strong&gt; property and change its value to &lt;strong&gt;RowPanel1.Content&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Click the &lt;strong&gt;Add Rendering&lt;/strong&gt; button again, this time finding and selecting your new rendering and clicking &lt;strong&gt;OK&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;After you ensure that your custom rendering is selected, update its &lt;strong&gt;PlaceholderKey&lt;/strong&gt; property value to &lt;strong&gt;ColumnPanel2.Content&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Click Save&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For the full details and an example rendering, &lt;a href=&quot;https://horizontalintegration.blog/2018/12/26/add-custom-widget-to-sitecores-launchpad/&quot; rel=&quot;nofollow noreferrer&quot;&gt;check out the blog post&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-01-02T21:53:56.557" LastActivityDate="2019-01-02T21:53:56.557" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15804" PostTypeId="1" AcceptedAnswerId="15846" CreationDate="2019-01-02T22:14:21.757" Score="0" ViewCount="1367" Body="&lt;p&gt;We are trying to implement multilingual site in JSS. When user logged in, we need to show a drop down to select language and based on the selection we want to set the language. Question is, how to set the sc_lang parameter from a JSS component where the user will select the language to be displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion will help us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2020-02-12T21:04:40.070" LastActivityDate="2020-02-12T21:04:40.070" Title="Set different Language from jss component" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15805" PostTypeId="5" CreationDate="2019-01-03T05:49:47.267" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-03T05:49:47.267" LastActivityDate="2019-01-03T05:49:47.267" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15806" PostTypeId="4" CreationDate="2019-01-03T05:49:47.267" Score="0" Body="Index can be defined as, A database or file where information (after being collected, parsed and processed) is stored to allow for quick retrieval. All questions about search indexes including Lucene indexes, SOLR indexes or Coveo indexes should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-03T13:07:18.227" LastActivityDate="2019-01-03T13:07:18.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15807" PostTypeId="5" CreationDate="2019-01-03T05:50:37.450" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-03T05:50:37.450" LastActivityDate="2019-01-03T05:50:37.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15808" PostTypeId="4" CreationDate="2019-01-03T05:50:37.450" Score="0" Body="All questions related to Instagram integration and configuration in Sitecore environment should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-03T16:19:25.770" LastActivityDate="2019-01-03T16:19:25.770" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15809" PostTypeId="5" CreationDate="2019-01-03T06:06:59.720" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-03T06:06:59.720" LastActivityDate="2019-01-03T06:06:59.720" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15810" PostTypeId="4" CreationDate="2019-01-03T06:06:59.720" Score="0" Body="Sitecore Habitat Home is a sample solution that is built on Sitecore Experience Accelerator™ (SXA) using Sitecore Experience Platform™ (XP) following the Helix architecture principles.All questions around this example site including configuration and implementation, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-03T08:22:54.217" LastActivityDate="2019-01-03T08:22:54.217" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15813" PostTypeId="1" CreationDate="2019-01-03T10:09:26.517" Score="1" ViewCount="522" Body="&lt;p&gt;I have a requirement where the authors want a button in RTE which can wrap selected text with a predefined html structure. &#xA;E.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;This is the Selected Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now we want a button/tool in Sitecore Rich Text Editor, on clicking on which, the select text gets wrapped as the following html markup.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sometag class=&quot;some-class&quot;&amp;gt;&#xA;&amp;lt;p class=&quot;another-class&quot;&amp;gt;&#xA;This is the Selected Text&#xA;&amp;lt;/p&amp;gt;&#xA;&amp;lt;/sometag&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried adding an option in the formatblock section of Sitecore but apparently it only supports single tag since it is paragraph styling. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also tried the insert snippet functionality but insert snippet inserts the whole structure to RTE. It does not wrap the pre-selected text in the snippet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest if we can achieve this by any out of the box RTE functionality or if this is feasible.&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="342" LastEditDate="2019-01-03T12:55:35.653" LastActivityDate="2019-01-03T14:32:07.817" Title="How to wrap selected content in 2 tags by using a button in Sitecore Rich Text Editor" Tags="|sitecore-client|richtext-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15814" PostTypeId="2" ParentId="15813" CreationDate="2019-01-03T10:24:39.367" Score="-1" Body="&lt;p&gt;You can try below two steps - &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Use the anchor tag for the button&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qoYEY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qoYEY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use some styles to display this anchor tag as button&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DyD8s.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DyD8s.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope these steps helps you!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, you can wrap all text in the anchor tag.&lt;/p&gt;&#xA;" OwnerUserId="744" LastEditorUserId="744" LastEditDate="2019-01-03T10:31:22.290" LastActivityDate="2019-01-03T10:31:22.290" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15819" PostTypeId="1" CreationDate="2019-01-03T12:42:36.593" Score="3" ViewCount="35" Body="&lt;p&gt;I am trying to automate Sitecore upgrade from 8.1 to 9.0.1.&#xA;In Upgrade steps, There is one step restoring deleted marketing taxonomies, which can easily be done with Url navigation and click button on page.&#xA;Is it possible to do it with Powershell or using Sitecore API's through which I can create remote session and run command to restore marketing taxonomies?&#xA;Any help would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="4636" LastActivityDate="2019-01-03T12:42:36.593" Title="Restoring marketing taxonomies with Sitecore powershell extenstion" Tags="|sitecore-client|powershell-extensions|sitecore-api|sitecore-install-framework|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15820" PostTypeId="1" CreationDate="2019-01-03T12:45:56.350" Score="3" ViewCount="253" Body="&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; Sitecore analytics dashboard is updating very slow around (12 days delay) and old records are updating very slow (around 50 records per hours), on the dashboard &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Analysis So Far:&lt;/strong&gt; Records are updating in the SQL server collection database, also records are updating into the processing pool table, however not updating into the reporting database means slowing updating.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Checked the server&lt;/strong&gt; - everything is fine (16 GB ram with 8 cores) memory utilization is only 30%&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 9 update 1&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2020-06-03T04:03:50.423" Title="Sitecore 9 Reporting Database records are updating very slow" Tags="|experience-analytics|processing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15822" PostTypeId="1" AcceptedAnswerId="15823" CreationDate="2019-01-03T13:21:33.827" Score="1" ViewCount="256" Body="&lt;p&gt;The media library images in our solution are protected by a custom override on the Sitecore &lt;code&gt;MediaRequestHandler&lt;/code&gt;. This, in turn, checks against some Sitecore configuration item whether or not a user is permitted to access this media item or &lt;code&gt;pdf&lt;/code&gt;. This system works great once a session is already started.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If a user tries to access the media item directly by URL in a new session, the &lt;code&gt;MediaRequestHandler&lt;/code&gt; checks if a user is permitted to access the media item before our (custom, not Sitecore based) autologin system in &lt;code&gt;Global.asax.cs&lt;/code&gt; in Session_Start has the chance to auto-login the user. Of course, once the user tries to access the media item again, everything works as expected, because then the session is already established.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to change the order of the media request handler so that it only fires after &lt;code&gt;Session_Start&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="4853" LastEditorUserId="5096" LastEditDate="2019-05-21T09:38:11.713" LastActivityDate="2019-05-21T09:38:11.713" Title="Run MediaRequestHandler after Session_Start for authentication purposes" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15823" PostTypeId="2" ParentId="15822" CreationDate="2019-01-03T13:30:37.600" Score="3" Body="&lt;p&gt;I've been looking at the code in the MediaRequestHandler - the one that is wired in to handle your media requests.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;Sitecore.Resources.Media.MediaRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.MediaRequestHandler&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It basically has some custom handling around handling user login requirements and calls some internal methods to try and fix that. Rewriting this logic would probably be a lot more pain that it is worth.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The alternative would be, to force a session to be active for this HttpHandler. Be aware of the potential for resource cost this may have on your server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way to do it, would be to implement your own handler - inheriting from Sitecore's - and patch it in, in the config snippet I showed above. Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SessionMediaRequestHandler : Sitecore.Resources.Media.MediaRequestHandler, IReadOnlySessionState&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That might actually be all the code you need. The &lt;code&gt;IReadOnlySessionState&lt;/code&gt; will make sure a session gets triggered before the handler is called - which in turn should trigger your custom code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://www.hanselman.com/blog/GettingSessionStateInHttpHandlersASHXFiles.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Getting Session State in HttpHandlers (ASHX files)&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-01-03T13:30:37.600" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15824" PostTypeId="2" ParentId="15813" CreationDate="2019-01-03T14:32:07.817" Score="1" Body="&lt;p&gt;It sounds like you need some kind of drop down button that will have the preformatted HTML you want to insert with your selected text? is that correct? You will need to add a custom button to the RTE. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wrote a blog &lt;a href=&quot;https://sitecorerunner.com/2018/08/21/adding-rte-richtext-custom-dropdown-list-in-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; on how to do that. However in your case you will need to get the selected text and insert. I would do a token for that and do a replace see code below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Telerik.Web.UI.Editor.CommandList[&quot;InsertToken&quot;] = function (commandName, editor, args) {&#xA;var val = args.get_value();&#xA;var seltext = args.getSelection.get_value();&#xA;editor.pasteHtml(val.replace(&quot;{seltextinsert}&quot;,seltext));&#xA;args.set_cancel(true);};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Let me know if you have any more questions.&lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2019-01-03T14:32:07.817" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15825" PostTypeId="1" AcceptedAnswerId="15827" CreationDate="2019-01-03T14:36:54.530" Score="0" ViewCount="415" Body="&lt;p&gt;I'm using Sitecore 9 update 1 and SXA 1.7, I want to sort Sitecore pages by popularity, I opened the Reporting database and found many tables like &lt;strong&gt;Fact_Visits&lt;/strong&gt;, &lt;strong&gt;Fact_PageViewsMetrics&lt;/strong&gt; and &lt;strong&gt;Fact_PageViewsByLanguage&lt;/strong&gt;.&#xA;I don't know which to use and what's the difference by Page count, visits and views.&lt;/p&gt;&#xA;" OwnerUserId="4229" LastEditorUserId="851" LastEditDate="2019-01-04T13:11:55.633" LastActivityDate="2019-01-04T13:11:55.633" Title="How to sort Sitecore items by popularity" Tags="|sxa|content-search|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15826" PostTypeId="1" AcceptedAnswerId="15828" CreationDate="2019-01-03T15:53:57.430" Score="1" ViewCount="898" Body="&lt;p&gt;I am currently trying to create a unittest for a override I made, but unittesting it seems a bit more difficult than I expected..     &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Extension : Original&#xA;{&#xA;    public fallback(HttpContext context)&#xA;    {&#xA;       return new HttpContext();&#xA;    }  &#xA;&#xA;    public IEnumerable&amp;lt;SiteDefinition&amp;gt; RunOn =&amp;gt; new[]&#xA;    {&#xA;       &quot;Some&quot;, &quot;Dome&quot;, &quot;Gone&quot;&#xA;    };&#xA;&#xA;    public bool AllowedOnSite(string site)&#xA;    {&#xA;        bool allowed = RunOn.Any(sd =&amp;gt; sd.Name == site);&#xA;        return allowed;&#xA;    }&#xA;&#xA;    protected override bool Process(HttpContext context)&#xA;    {&#xA;        var site = Context.Site.Name;&#xA;        if (Context.Domain.Name == &quot;sitecore&quot; || !AllowedOnSite(site))&#xA;        {&#xA;            return fallback(context);&#xA;        } &#xA;     ....&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I seem to have a problem with &lt;code&gt;AllowedOnSite&lt;/code&gt;, I can unit test it by itself, but not as part og &lt;code&gt;Process&lt;/code&gt;, which is needed to unit test the rest of the code? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do i include &lt;code&gt;AllowedOnSite&lt;/code&gt; as always true, as part of the unittest for &lt;code&gt;Process&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unittest: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [Theory]&#xA;    [CustomAutoData(&quot;Gonw&quot;)]&#xA;    public void AllowedOnSite_IncorrectSite_ReturnFalse(string site)&#xA;    {&#xA;        //arrange&#xA;        var processor = new MediaRequestExtensions();&#xA;&#xA;        //act&#xA;        processor.AllowedOnSite(site);&#xA;&#xA;        //assert&#xA;        Assert.False(processor.AllowedOnSite(site));&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works as expected, but I don't know how to make this condition true, when I when to unittest the &lt;code&gt;Process&lt;/code&gt; Method?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Theory]&#xA;[CustomAutoData(&quot;http://gonw.com&quot;,&quot;Gonw&quot;)]&#xA;public void Process_RequestURLIsIncorrect_Return(string url, string name)&#xA;{&#xA;    // Arrange&#xA;    var fakeSite = new Sitecore.FakeDb.Sites.FakeSiteContext(new Sitecore.Collections.StringDictionary&#xA;    {&#xA;        { &quot;name&quot;, &quot;Some&quot; },&#xA;        { &quot;b&quot;, &quot;Dome&quot; },&#xA;        { &quot;c&quot;, &quot;Gone&quot; }&#xA;    });&#xA;    HttpRequest httpRequest = new HttpRequest(string.Empty, url, string.Empty);&#xA;    HttpResponse httpResponse = new HttpResponse(new StringWriter());&#xA;    HttpContext httpContext = new HttpContext(httpRequest, httpResponse);&#xA;&#xA;    var processor = new MediaRequestExtensionsMock&#xA;    {&#xA;        GetHttpContextFunc = () =&amp;gt; httpContext&#xA;    };&#xA;    using (new Db())&#xA;    {&#xA;        using (new Sitecore.Sites.SiteContextSwitcher(fakeSite))&#xA;        {&#xA;            //Sitecore.Context.Site.Name = name;&#xA;            // Act&#xA;            processor.Process(httpContext);&#xA;&#xA;            // Assert&#xA;            Assert.Equal(string.Empty, httpContext.Response.Output.ToString());&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I trigger the right if statement in in this test, but if I want to trigger to next one, I have to not trigger the first one, which I can't seem to do. &#xA;I don't see why I have to set &lt;code&gt;fakeSite&lt;/code&gt;? it is not being used anyway..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What to do?&lt;/p&gt;&#xA;" OwnerUserId="4852" LastEditorUserId="4852" LastEditDate="2019-01-03T19:59:07.047" LastActivityDate="2019-01-03T19:59:07.047" Title="Setting up FakeSiteContext for urls" Tags="|unit-testing|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15827" PostTypeId="2" ParentId="15825" CreationDate="2019-01-03T16:18:55.687" Score="3" Body="&lt;p&gt;You will want to use &lt;code&gt;Fact_PageViews&lt;/code&gt; in the Reporting database, which should contain an Item Id, representing the page that someone has visited.  Keeping in mind that this data will always be old and not real time, since data is collected by xDb and then aggregated into this data store.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoreenthusiast.wordpress.com/2016/06/27/getting-sitecore-pages-based-on-page-views/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoreenthusiast.wordpress.com/2016/06/27/getting-sitecore-pages-based-on-page-views/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Dictionary&amp;lt;ID, int&amp;gt; GetAllItemsFromAnalytics()&#xA;{&#xA;    Dictionary&amp;lt;ID, int&amp;gt; dictionary = new Dictionary&amp;lt;ID, int&amp;gt;();&#xA;     var getAllPageViewsQuery =&#xA;        @&quot;SELECT ItemId, Sum(Views) FROM Fact_PageViews GROUP BY ItemId&quot;;&#xA;&#xA;     var results = DataAdapterManager.Sql.ReadMany(getAllPageViewsQuery, reader =&amp;gt;&#xA;       new&#xA;       {&#xA;        ItemId = DataAdapterManager.Sql.GetGuid(0, reader),&#xA;        PageViews = DataAdapterManager.Sql.GetInt(1, reader)&#xA;       }, new object[0]).ToDictionary(i =&amp;gt; ID.Parse(i.ItemId), i =&amp;gt; i.PageViews);&#xA;&#xA;    return results;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From the article, this code snippet will be the basis of what you need to pull.  You need to use a Sql Query to pull the data from the Reporting database.  Keeping in mind, not all environments will have direct access to the reporting database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The article also takes the data returned a step further, but running that query in a custom computed field, so that all items will have a PageViews field that can then be used for sorting.  I will share from experience, that if this is your intent, that you may experience issues with using a computed field.  The reporting data is old, and so is the data in the computed field.  Secondly, sorting on a field that is just a number, with no limitation on the traffic in a set timeframe, it'll lead to you always having the same content in the block sorted by PageViews.  I'd suggest sorted by PageViews and posts created in a set time frame, that way new content is always being added to the block.  Unless you want to always show the same content, but in that case, your best bet is to just use personalization to force the content to always be the same.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2019-01-03T16:18:55.687" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15828" PostTypeId="2" ParentId="15826" CreationDate="2019-01-03T16:23:17.283" Score="3" Body="&lt;p&gt;The simplest solution is to change your code to make it more easily unit testable, and remove the dependence on the &lt;code&gt;Sitecore.Context&lt;/code&gt; object, and instead pass in the required variables as a parameter to your method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, you could do the following and then unit test the &lt;code&gt;dostuff()&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-js prettyprint-override&quot;&gt;&lt;code&gt;public bool process (string url)&#xA;{ &#xA;  dostuff(Sitecore.Context.Site.Name);&#xA;}&#xA;&#xA;public bool dostuff(string site)&#xA;{&#xA;  if(site == &quot;something&quot;)&#xA;  {&#xA;    someotherprocess();&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2019-01-03T16:23:17.283" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15830" PostTypeId="2" ParentId="6555" CreationDate="2019-01-03T20:21:04.953" Score="5" Body="&lt;p&gt;Using Sitecore PowerShell Extensions, you can run a report to find all item renderings with personalization rules. Hopefully this will be included in SPE 5.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dOzEP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dOzEP.png&quot; alt=&quot;Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$database = &quot;master&quot;&#xA;$root = Get-Item -Path (@{$true=&quot;$($database):\content\home&quot;; $false=&quot;$($database):\content&quot;}[(Test-Path -Path &quot;$($database):\content\home&quot;)])&#xA;$settings = @{&#xA;    Title = &quot;Report Filter&quot;&#xA;    ShowHint = $true&#xA;    OkButtonName = &quot;Proceed&quot;&#xA;    CancelButtonName = &quot;Abort&quot;&#xA;    Description = &quot;Filter the results for item renderings with personalization rules.&quot;&#xA;    Parameters = @(&#xA;        @{&#xA;            Name=&quot;root&quot;&#xA;            Title=&quot;Choose the report root&quot;&#xA;            Tooltip=&quot;Only items from this root will be returned.&quot;&#xA;            Root=&quot;/sitecore/content/&quot;&#xA;        }&#xA;    )&#xA;    Icon = [regex]::Replace($PSScript.Appearance.Icon, &quot;Office&quot;, &quot;OfficeWhite&quot;, [System.Text.RegularExpressions.RegexOptions]::IgnoreCase)&#xA;}&#xA;&#xA;$result = Read-Variable @settings&#xA;if($result -ne &quot;ok&quot;) {&#xA;    Exit&#xA;}&#xA;$items = @($root) + @(($root.Axes.GetDescendants()))&#xA;&#xA;function HasRuleOnRendering {&#xA;    param(&#xA;        [Sitecore.Layouts.RenderingDefinition]$Rendering&#xA;    )&#xA;&#xA;    $hasRules = $false&#xA;&#xA;    if($rendering -and ![string]::IsNullOrEmpty($rendering.Rules) ) {&#xA;        $hasRules = $true&#xA;    }&#xA;&#xA;    $hasRules&#xA;}&#xA;&#xA;$renderingLookup = @{}&#xA;$reportItems = [System.Collections.ArrayList]@()&#xA;Write-Host $items.Count&#xA;foreach($item in $items) {&#xA;    $renderings = Get-Rendering -Item $item -FinalLayout&#xA;    foreach($rendering in $renderings) {&#xA;        if((HasRuleOnRendering -Rendering $rendering)) {&#xA;            $renderingName = $rendering.ItemId.ToString()&#xA;            if($renderingLookup.ContainsKey($rendering.ItemId)) {&#xA;                $renderingName = $renderingLookup[$rendering.ItemId]&#xA;            } else {&#xA;                $renderingName = Get-Item -Path &quot;master:&quot; -ID $rendering.ItemId | Select-Object -Expand Name&#xA;            }&#xA;&#xA;            $datasource = $rendering.Datasource&#xA;            if([ID]::IsID($datasource)) {&#xA;                $datasource = Get-Item -Path &quot;master:&quot; -ID $rendering.Datasource | Select-Object -Expand ItemPath&#xA;            }&#xA;&#xA;            $reportItem = [PSCustomObject]@{&#xA;                &quot;Icon&quot; = $item.Appearance.Icon&#xA;                &quot;ItemPath&quot; = $item.Paths.Path&#xA;                &quot;Rendering&quot; = $renderingName&#xA;                &quot;Datasource&quot; = $datasource&#xA;            }&#xA;            $reportItems.Add($reportItem) &amp;gt; $null&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;if($reportItems.Count -eq 0) {&#xA;    Show-Alert &quot;There are no items matching the specified criteria.&quot;&#xA;} else {&#xA;    $reportProps = @{&#xA;        Title = &quot;Renderings with Personalization Report&quot;&#xA;        InfoTitle = &quot;Renderings with personalization rules&quot;&#xA;        InfoDescription = &quot;This report provides details about which items have renderings configured with personalization rules.&quot;&#xA;    }&#xA;&#xA;    $reportItems | Show-ListView @reportProps&#xA;}&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-01-03T20:52:08.710" LastActivityDate="2019-01-03T20:52:08.710" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15833" PostTypeId="1" AcceptedAnswerId="15835" CreationDate="2019-01-04T02:38:07.347" Score="4" ViewCount="1313" Body="&lt;p&gt;Working on a client's site and they have thousands of items with layout. In the layout of every page we have two renderings - Top Navigation, then Pinned Navigation. We made an architectural mistake early on by putting Top Navigation before Pinned Navigation. We need Pinned to be before Top. Usually, this would be pretty easy to fix, but there's a bit of background here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As explained in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/15371/changing-renderings-on-a-base-template-standard-values-and-having-all-inheriting&quot;&gt;a recent question I posted&lt;/a&gt;, the navigation renderings are set on a base page template, and there are other templates with custom shared layouts that inherit from Base Page. The reason why this can't be fixed easily? For some reason when I change the Base Page template, changes do not automatically carry forward to other page templates that inherit from it... and resetting standard values isn't an option as we set a custom shared layout on those templates standard values (I'm pretty sure resetting would break all pages that use that template, if not immediately, the next time someone resets layout on the page level).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I thought maybe a PowerShell script would be the answer, but the only way I can think of (updating the &lt;code&gt;__Renderings&lt;/code&gt; field manually) didn't work. I literally reordered the XML in the field using Raw values, saved, and the reorder did not happen (when  I open Presentation Details again).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I found another way, through Sitecore Search, if I enter a query and click Search Operations -&gt; Apply presentation, I could theoretically apply the reordering of these two renderings to all pages, but every time I do that I get an error (even if the results I am trying to apply presentation to are all of the same template type): &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.Exception: Can't start with unequal nodes at Sitecore.Xml.Patch.XmlDiffHelper.DoCompare(IXmlElement original, IXmlElement modified, IElementIdentification identification, IComparisonContext context) at Sitecore.Xml.Patch.XmlDiffHelper.Compare(XmlDocument original, XmlDocument modified, IElementIdentification id, XmlPatchNamespaces ns)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I've literally run out of options and am looking for some way to do this. I suppose not using renderings for header navigation components (and just having &lt;code&gt;Html.Partial&lt;/code&gt;s in the layout file) might have been a better option from the beginning, but I really don't know.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S.: Just as I was about to submit this question, one possibility hit me (although it's a workaround): using a different placeholder for one and updating the placeholder references in the layout cshtml. However, I feel like it would be nice to actually know a real solution to this. &lt;strong&gt;So, the questions I would like answered are&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Why does updating the Base Page template not update other page templates inheriting from it automatically? (I am updating SHARED layout only. I NEVER update final layout)&lt;/li&gt;&#xA;&lt;li&gt;Why does updating the &lt;code&gt;__Renderings&lt;/code&gt; field through Raw values and saving not have any impact on the ordering of the renderings when opening Presentation Details?&lt;/li&gt;&#xA;&lt;li&gt;Why am I getting an error trying to apply presentation to multiple page items of the same template type and what does the error mean (researched the main error message, nothing found).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2019-01-04T05:05:25.293" Title="I need to reorder renderings in Presentation Details on all pages" Tags="|presentation|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15834" PostTypeId="2" ParentId="15833" CreationDate="2019-01-04T03:45:57.370" Score="5" Body="&lt;p&gt;With regards to point 2, the raw XML for the Renderings field contains some information about the placement of the rendering in relation to &lt;em&gt;other&lt;/em&gt; renderings. That is why moving the elements around will not have the desired effect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There will be an attribute in the rendering XML element that has a value like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;p:before=&quot;r[@uid='{0731F384-B47A-4BEB-82F0-91C83E8A7FF4}']&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which defines where the rendering appears relative to the one referenced by the p:before UID.&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2019-01-04T03:45:57.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15835" PostTypeId="2" ParentId="15833" CreationDate="2019-01-04T04:57:40.140" Score="12" Body="&lt;p&gt;The following example uses Sitecore PowerShell Extensions to change the order of two renderings. The renderings are next to each other, and essentially swap positions.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Script&lt;/h2&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;# Home Page&#xA;$item = Get-Item -Path &quot;master:&quot; -ID &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot;&#xA;&#xA;# All renderings on the final layout&#xA;$renderings = Get-Rendering -Item $item -FinalLayout&#xA;# Show a table&#xA;$renderings | Select-Object -Expand ItemId | &#xA;    ForEach-Object { Get-Item -Path &quot;master:&quot; -ID $_ } | Format-Table -Property Name&#xA;&#xA;# Rendering I want to move&#xA;$scriptRendering = $renderings | Where-Object { $_.ItemId -eq &quot;{37F58448-7460-4AD2-B0FB-67C85C2A49CB}&quot; } | Select-Object -First 1&#xA;# Rendering in the desired position&#xA;$googleRendering = $renderings | Where-Object { $_.ItemId -eq &quot;{927F51FD-6A7B-4B7E-B692-1B4A0989228F}&quot; } | Select-Object -First 1&#xA;&#xA;# Find the desired position&#xA;$index = [array]::IndexOf($renderings, $googleRendering)&#xA;Set-Rendering -Item $item -Instance $scriptRendering -Index $index -FinalLayout&#xA;&#xA;$renderings = Get-Rendering -Item $item -FinalLayout&#xA;# Show a table&#xA;$renderings | Select-Object -Expand ItemId | &#xA;    ForEach-Object { Get-Item -Path &quot;master:&quot; -ID $_ } | Format-Table -Property Name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Output&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Notice that the &lt;strong&gt;Script Rendering&lt;/strong&gt; and &lt;strong&gt;Google Rendering&lt;/strong&gt; swap positions.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Name&#xA;----&#xA;LinkedIn Share Button&#xA;Google Plus One Button&#xA;ScriptRendering&#xA;Tweet Button&#xA;&#xA;Name&#xA;----&#xA;LinkedIn Share Button&#xA;ScriptRendering&#xA;Google Plus One Button&#xA;Tweet Button&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-01-04T05:05:25.293" LastActivityDate="2019-01-04T05:05:25.293" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15836" PostTypeId="5" CreationDate="2019-01-04T06:47:28.270" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-04T06:47:28.270" LastActivityDate="2019-01-04T06:47:28.270" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15837" PostTypeId="4" CreationDate="2019-01-04T06:47:28.270" Score="0" Body="NVelocity is a .Net-based template engine. It permits developers to use the simple yet powerful template language to reference objects defined in .Net code. Any question around this topic may use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-04T13:08:00.010" LastActivityDate="2019-01-04T13:08:00.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15838" PostTypeId="5" CreationDate="2019-01-04T06:55:53.137" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-04T06:55:53.137" LastActivityDate="2019-01-04T06:55:53.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15839" PostTypeId="4" CreationDate="2019-01-04T06:55:53.137" Score="0" Body="OWIN (Open Web Interface for .Net) defines a standard interface between .NET web servers and web applications. The goal of the OWIN interface is to decouple server and application. Any question around this topic from Sitecore point of view, may use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-04T13:07:53.787" LastActivityDate="2019-01-04T13:07:53.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15840" PostTypeId="5" CreationDate="2019-01-04T07:03:08.650" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-04T07:03:08.650" LastActivityDate="2019-01-04T07:03:08.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15841" PostTypeId="4" CreationDate="2019-01-04T07:03:08.650" Score="0" Body="The PDF (Portable Document Format) is a file format. Any question related to this file format in Sitecore environment, may this this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-04T11:57:33.350" LastActivityDate="2019-01-04T11:57:33.350" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15842" PostTypeId="5" CreationDate="2019-01-04T07:05:35.983" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-04T07:05:35.983" LastActivityDate="2019-01-04T07:05:35.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15843" PostTypeId="4" CreationDate="2019-01-04T07:05:35.983" Score="0" Body="An interaction describes any point at which a contact interfaces with a brand, either online or offline. The tag can be used to cover all question around this topic." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-04T13:07:57.200" LastActivityDate="2019-01-04T13:07:57.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15844" PostTypeId="1" AcceptedAnswerId="23057" CreationDate="2019-01-04T07:20:00.510" Score="1" ViewCount="1571" Body="&lt;p&gt;After configuring Sitecore 9.0.1, the XP is running fine but am getting the below XDB error in the log. I checked the TRUST certificates, database configuration and the configurations in the connection string file. There are no errors displayed when the Experience Analytics / EXM is loaded. But the below error is logged and the analytics data is not loaded. &lt;a href=&quot;https://i.stack.imgur.com/AhpSp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AhpSp.png&quot; alt=&quot;analytics&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  [Error] Sitecore.XConnect.Operations.GetEntityOperation`1[Sitecore.XConnect.DeviceProfile]: Sitecore.Xdb.Collection.Failures.ScaledDatabaseConfigurationException: Scaled database was not configured properly: the range shard map has to be configured.&#xA;       at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.ElasticScaleConnectionManager.GetRangeShardMap(String rangeShardMapName)&#xA;       at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.ElasticScaleConnectionManager.&amp;lt;&amp;gt;c__DisplayClass37_0.&amp;lt;GetRangeMappings&amp;gt;b__0()&#xA;       at System.Lazy`1.CreateValue()&#xA;       at System.Lazy`1.LazyInitValue()&#xA;       at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.MemoryCacheManager.AddOrGetExistingFromCache[T](String key, Func`1 valueFactory)&#xA;       at Sitecore.Xdb.Collection.Data.SqlServer.Configuration.ElasticScaleConnectionManager.MapKeysToShards[TPartitionKey,TEntityKey](String rangeShardMapName, IReadOnlyCollection`1 keys)&#xA;       at Sitecore.Xdb.Collection.Data.SqlServer.Managers.SqlDataRecordsManager`2.&amp;lt;GetAsync&amp;gt;d__49.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at Sitecore.Xdb.Collection.Data.SqlServer.SqlDataProvider.&amp;lt;GetDeviceProfilesById&amp;gt;d__13.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Linq.AsyncEnumerable.&amp;lt;&amp;gt;c__DisplayClass440_0`1.&amp;lt;&amp;lt;ToAsyncEnumerable&amp;gt;b__1&amp;gt;d.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any suggestions would be greatly helpful. &lt;/p&gt;&#xA;" OwnerUserId="4762" LastEditorUserId="73" LastEditDate="2019-01-04T12:25:22.693" LastActivityDate="2019-11-19T11:22:01.267" Title="Scaled database was not configured properly" Tags="|xdb|sitecore-client|xconnect|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15845" PostTypeId="1" CreationDate="2019-01-04T09:44:41.780" Score="0" ViewCount="547" Body="&lt;p&gt;I am currently trying to mock a media request and the media item I am requesting using FakeDb but for some reason my request is returning an empty MediaPath rather than the MediaPath I am expecting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RequestMediaEXT&#xA;{&#xA;    public bool getImage(HttpContext context)&#xA;    {&#xA;        MediaRequest request = MediaManager.ParseMediaRequest(context.Request);&#xA;        string mediaPath = request?.MediaUri.MediaPath;&#xA;        if (mediaPath == null | MediaPath == string.empty)&#xA;        {&#xA;            return false;&#xA;        }&#xA;&#xA;        return true;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unit test for the method: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Theory]&#xA;[CustomAutoData(&quot;http://image.here/&quot;, &quot;~/media/myimage.ashx&quot;)]&#xA;public void getImage_imageFound_ReturnsTrue(string url, string media)&#xA;{&#xA;&#xA;    string myImageUrl = url + media;&#xA;    Sitecore.Data.ID mediaItemId = Sitecore.Data.ID.NewID;&#xA;&#xA;    HttpRequest httpRequest = new HttpRequest(string.Empty, myImageUrl, string.Empty);&#xA;    HttpResponse httpResponse = new HttpResponse(new StringWriter());&#xA;    HttpContext httpContext = new HttpContext(httpRequest, httpResponse);&#xA;    var processor = new RequestMediaEXT()&#xA;&#xA;    // create some media item. Location, fields and template are not important&#xA;    using (Db db = new Db())&#xA;    {&#xA;        var mediaFakeItem = new DbItem(&quot;myimage&quot;)&#xA;        {&#xA;            ParentID = Sitecore.ItemIDs.MediaLibraryRoot&#xA;        };&#xA;        mediaFakeItem.FullPath = myImageUrl;&#xA;        db.Add(mediaFakeItem);&#xA;&#xA;        // create media provider mock and configure behaviour&#xA;        MediaProvider mediaProvider =&#xA;            Substitute.For&amp;lt;MediaProvider&amp;gt;();&#xA;&#xA;        mediaProvider&#xA;            .GetMediaUrl(Arg.Is&amp;lt;Sitecore.Data.Items.MediaItem&amp;gt;(i =&amp;gt; i.ID == mediaItemId))&#xA;            .Returns(myImageUrl);&#xA;&#xA;        // substitute the original provider with the mocked one&#xA;        using (new Sitecore.FakeDb.Resources.Media.MediaProviderSwitcher(mediaProvider))&#xA;        {&#xA;            //Act&#xA;            processor.getImage(httpContext);&#xA;&#xA;            //Assert&#xA;            Assert.False(!processor.getImage(httpContext));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How do I mock the HttpContext such that the MediaPath doesn't become an empty string but the actual MediaPath?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 8.1 and therefore have to use the now obsolete MediaProviderSwitcher.&lt;/p&gt;&#xA;" OwnerUserId="3336" LastEditorUserId="2713" LastEditDate="2019-01-04T09:56:12.590" LastActivityDate="2019-02-01T04:00:16.013" Title="Faking a MediaRequest and Media Items" Tags="|media-library|unit-testing|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15846" PostTypeId="2" ParentId="15804" CreationDate="2019-01-04T09:45:17.803" Score="3" Body="&lt;p&gt;I use a react jss example for testing jss. In this example multi language feature already implemented. I think, it is implemented for other js frameworks too. So if you build your solution not on a jss example you can look how it was implemented &lt;a href=&quot;https://github.com/Sitecore/jss/tree/dev/samples&quot; rel=&quot;nofollow noreferrer&quot;&gt;there&lt;/a&gt;. If you use a jss example as base of you solution then for set the sc_lang in jss api call you need just set correct url with language(it is mean that your component, probably, will contain links with different languages for current page).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/an0zH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/an0zH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;is there a way to set the language other than passing the code in URL?&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can change language using SitecoreContextFactory, in your component set new language&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import React from 'react';&#xA;import SitecoreContextFactory from '../../lib/SitecoreContextFactory';&#xA;&#xA;class LngPicker extends React.Component {&#xA; constructor(props) {&#xA; super(props);&#xA; this.changeLng = this.changeLng.bind(this);&#xA;}&#xA;&#xA;changeLng(key){&#xA; var context = SitecoreContextFactory.getSitecoreContext();&#xA; SitecoreContextFactory.setSitecoreContext({&#xA;  ...context,&#xA;  language: key ,&#xA;  refresh:true     &#xA;});&#xA;}&#xA;&#xA;render() {&#xA;  return (&#xA;    &amp;lt;button onClick={()=&amp;gt; this.changeLng('da-Dk')} &amp;gt;da-DK&amp;lt;/button&amp;gt;  &#xA;  );&#xA; }&#xA;}&#xA;&#xA;export default LngPicker;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then update RouteHandler, add to constructor&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SitecoreContextFactory.subscribeToContext((context)=&amp;gt;{&#xA;  if(context.refresh){&#xA;    i18n.changeLanguage(context.language)&#xA;    let sitecoreRoutePath = this.props.route.match.params.sitecoreRoute || '/';&#xA;    if (!sitecoreRoutePath.startsWith('/')) {&#xA;      sitecoreRoutePath = `/${sitecoreRoutePath}`;&#xA;    }&#xA;&#xA;    getRouteData(sitecoreRoutePath, context.language).then((routeData) =&amp;gt; {&#xA;      if (routeData !== null &amp;amp;&amp;amp; routeData.sitecore &amp;amp;&amp;amp; routeData.sitecore.route) {&#xA;        SitecoreContextFactory.setSitecoreContext({&#xA;          route: routeData.sitecore.route,&#xA;          itemId: routeData.sitecore.route.itemId,&#xA;          ...routeData.sitecore.context,&#xA;          refresh: false&#xA;        });&#xA;        this.setState({ routeData, notFound: false });&#xA;      } else {&#xA;        this.setState({ routeData, notFound: true });&#xA;      }&#xA;    });&#xA;  }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4791" LastEditorUserId="4791" LastEditDate="2019-01-08T08:05:42.623" LastActivityDate="2019-01-08T08:05:42.623" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15847" PostTypeId="1" CreationDate="2019-01-04T10:23:22.467" Score="0" ViewCount="293" Body="&lt;p&gt;We have been trying to change Referrer Policy to 'no-referrer' but no luck. Below are the following approaches we followed for quick verification:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Adding the following tag in head section of SXALayout.cshtml&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qNx44.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qNx44.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Adding the meta tag in one of the HTML Snippet item under Settings -&gt; HTML Snippets&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E6fA5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E6fA5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2019-01-04T11:58:54.453" Title="Not able to change Referrer Policy in Sitecore SXA Site" Tags="|sxa|security|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15848" PostTypeId="1" CreationDate="2019-01-04T10:31:41.397" Score="0" ViewCount="1192" Body="&lt;p&gt;I want to add new version when I publish any item in sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any option available in sitecore? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not then how we can achieve this?&lt;/p&gt;&#xA;" OwnerUserId="4861" LastEditorUserId="2727" LastEditDate="2019-01-09T14:06:25.113" LastActivityDate="2019-01-09T14:06:25.113" Title="Can Sitecore add a new item version after publishing an item?" Tags="|sitecore-client|versions|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15849" PostTypeId="2" ParentId="15848" CreationDate="2019-01-04T10:38:33.000" Score="1" Body="&lt;p&gt;When a user creates an item, Sitecore creates a version in the current content language and initiates the workflow for that version. After that item completes its workflow, if a user edits the item in that language, Sitecore creates a new version and initiates its workflow. In some cases when working as a Sitecore administrator, Sitecore does not create new versions or initiate workflows.&#xA;So the right way to do it is to assign workflows to your template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a look here: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/thoughts-on-versioning-items-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/thoughts-on-versioning-items-with-the-sitecore-asp-net-cms&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-01-04T10:38:33.000" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15850" PostTypeId="2" ParentId="15848" CreationDate="2019-01-04T10:50:43.490" Score="7" Body="&lt;p&gt;While this is technically possible (by hooking into the publish:end event), I think this might have some unexpected implications. Let me run you through a couple of examples.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;With workflow disabled:&lt;/strong&gt;&lt;br/&gt;&#xA;Let's say I have the Home item on version 1. I publish it, and hook into the publish:end event. This will now create version 2. &lt;br/&gt;&#xA;I'm not going to change anything so version 1 and 2 are the same. &lt;br/&gt; Now someone kicks off a sitewide publish. The home item will be included, because on web database I have version 1 while master database has a newer version. The publish:end event will run again, and now create a version 3. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can imagine that this will create many many (unused and unnecessary) versions - and this example was without making any edits. If we take the above example, but I'm starting to edit version 2 and someone publishes, that will now create version 3. If I'm not aware of this and I keep editing, I will be editing an older version, and my work will not actually show up on the website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;With workflow enabled&lt;/strong&gt;:&lt;br/&gt;&#xA;Again, home item is in version 1. I publish which creates version 2. This version is not in an approved state in the workflow. As publishes go on, multiple versions get created, flooding the workbox with items to be approved (and that's not even going into what I've explained above where I might have newer content in older versions). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd recommend you create some type of process if you want to go this route, or (preferably) use Sitecore's Workflow engine. Don't forget that if you have many versions of an item, it is likely to impact performance!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Having said all that, this is how you hook into an event:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First off, you'll need to create your code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void MyMethod(object sender, EventArgs args)&#xA;{&#xA;  var sitecoreArgs = args as Sitecore.Events.SitecoreEventArgs;&#xA;  if (sitecoreArgs == null)&#xA;    return;&#xA;  var publisher = sitecoreArgs.Parameters[0] as Publisher;&#xA;    return;&#xA;&#xA;  var rootItem = publisher.Options.RootItem;&#xA;  rootItem.Versions.AddVersion()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need to hook this into the publish:end event. You can use Sitecore's patching mechanism for this. The contents of your patch file would look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;events&amp;gt;&#xA;    &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;MyNamespace, MyDll&quot; method=&quot;MyMethod&quot;/&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;  &amp;lt;/events&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Don't forget that the above is overly simplistic. Especially if you have a multi-lingual site the complexity of this increases very rapidly.&lt;/p&gt;&#xA;" OwnerUserId="115" LastEditorUserId="115" LastEditDate="2019-01-07T10:48:17.973" LastActivityDate="2019-01-07T10:48:17.973" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15852" PostTypeId="2" ParentId="15847" CreationDate="2019-01-04T11:58:54.453" Score="1" Body="&lt;p&gt;It started working by using Custom Html component (datasource - HTML Snippet) of Metadata partial design. Thanks a lot @MichaelWest&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2019-01-04T11:58:54.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15853" PostTypeId="1" AcceptedAnswerId="15857" CreationDate="2019-01-04T12:45:05.130" Score="9" ViewCount="1460" Body="&lt;p&gt;Does anyone have experience connecting to Identity Server in 9.1 to get an authentication token / cookie of sorts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to do this in PowerShell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Commerce 9.x, you could connect directly to IdentityServer's /connect/token endpoint to obtain a token that you could then use to send requests to the engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In XP 9.1, I'm trying to make calls to various /sitecore pages using PowerShell to help &quot;warm-up&quot; the instance. In the past I was shown how to access /sitecore/login in order to populate a $session object. What does that look like now with IdentityServer?&lt;/p&gt;&#xA;" OwnerUserId="1695" LastActivityDate="2021-11-25T11:12:47.897" Title="use external application to get Identity Server token / cookie" Tags="|identity-server|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15854" PostTypeId="1" AcceptedAnswerId="17755" CreationDate="2019-01-04T13:48:07.323" Score="0" ViewCount="773" Body="&lt;p&gt;When &quot;Insert link&quot; option is clicked for any field of type General link, the popup is showing only sitecore item and not showing the child items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vY0G1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vY0G1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this because sitecore has to load lot of items ?&#xA;I tried setting datasource for some field in template it works fine but is there any global solution as it is difficult to update datasource for each field.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2019-03-28T09:50:04.850" Title="Clicking on Insert link for General link field is not showing child items" Tags="|content-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15855" PostTypeId="1" CreationDate="2019-01-04T14:04:58.177" Score="2" ViewCount="213" Body="&lt;p&gt;I have a pipeline batch which sync external data into Sitecore items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I extend &lt;strong&gt;RunPipelineBatchCommand&lt;/strong&gt; to run as admin user, default is running as Context.User: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; protected override User GetRunAsUser()&#xA;    {&#xA;           return User.FromName(domainName + @&quot;\&quot; + myadminuser, true);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I run manually the pipeline batch is running perfectly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a &quot;&lt;strong&gt;Run Selected Pipeline Batches Command&lt;/strong&gt;&quot; which is used by a Scheduler Task to run daily. &#xA;The problem is the pipeline batch is running like sitecore/anonymous user and not &lt;strong&gt;myadminuser&lt;/strong&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I set &lt;strong&gt;Run Selected Pipeline Batches Command&lt;/strong&gt; to be trigger as admin user and not anonymous user. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="73" LastEditDate="2019-11-28T11:24:41.217" LastActivityDate="2019-11-28T11:24:41.217" Title="Run Selected Pipeline Batches Command as Admin User" Tags="|data-exchange-framework|scheduled-tasks|commands|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15856" PostTypeId="1" AcceptedAnswerId="15915" CreationDate="2019-01-04T15:03:33.220" Score="2" ViewCount="2811" Body="&lt;p&gt;I have successfully installed &lt;strong&gt;Sitecore 9.1&lt;/strong&gt; (&lt;strong&gt;XM&lt;/strong&gt; topology) locally (Windows 10). But when I tried to install the same instance on Test environment (Windows Server 2016) I  have encountered the following issue when I run the prerequisites check:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DAfkd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DAfkd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WARNING: Validation failed for parameter 'TempLocation' = 'SIF-Default'. Exception: Exception calling &quot;Validate&quot; with &quot;2&quot; argument(s): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Unable to&#xA;parse [TestPath(variable('Temp.Location'))] - Exception calling &quot;Evaluate&quot; with &quot;2&quot; argument(s): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Unable to parse&#xA;[if(variable('Test.Temp.Location'),Environment('Temp'),parameter('TempLocation'))] - No registration found for extension 'if' of type 'ConfigFunction'.&quot;&quot;.&#xA;Install-SitecoreConfiguration : Parameters validation has failed.&#xA;At line:1 char:1&#xA;+ Install-SitecoreConfiguration -Path .\Prerequisites.json&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:00&#xA;Parameters validation has failed.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:474 char:21&#xA;+                     throw &quot;Parameters validation has failed.&quot;&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : OperationStopped: (Parameters validation has failed.:String) [], RuntimeException&#xA;    + FullyQualifiedErrorId : Parameters validation has failed.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my point of view the main reason of exception is &quot;&lt;em&gt;No registration found for extension 'if' of type 'ConfigFunction'.&quot;&quot;.&lt;/em&gt;&quot;. It looks like the &lt;strong&gt;Invoke-IfConfigFunction&lt;/strong&gt; extension is not registered or is not available in context of variable validation. But I can successfully run this extension in PowerShell separately. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Windows Server 2016; &lt;/li&gt;&#xA;&lt;li&gt;PowerShell version: 5.1;&lt;/li&gt;&#xA;&lt;li&gt;SIF Version: 2.0.0. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Does anybody have any idea why it happens?&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-05-13T09:58:23.240" Title="Sitecore 9.1 Prerequisites check: No registration found for extension 'if' of type 'ConfigFunction' exception" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15857" PostTypeId="2" ParentId="15853" CreationDate="2019-01-04T15:22:39.513" Score="9" Body="&lt;p&gt;With some serious Googling, and with the help of the Community and &lt;a href=&quot;https://gist.github.com/johnkors/454c829aa63e7663745da5ebeb38dd86&quot; rel=&quot;noreferrer&quot;&gt;this gist&lt;/a&gt; I was able to successfully get a token from Sitecore 9.1's Identity Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, you need to add a new Client to the Sitecore.IdentityServer.Host.xml file (\Config\production\Sitecore.IdentityServer.Host.xml).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I dug up more details on the PasswordClient and created my own version by copying PasswordClient as a template and called it PostmanClient giving it a client id of &quot;postman-api&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;Clients&amp;gt;&#xA;    &amp;lt;DefaultClient&amp;gt;&#xA;      &amp;lt;AllowedCorsOrigins&amp;gt;&#xA;        &amp;lt;AllowedCorsOriginsGroup1&amp;gt;https://habitathome.dev.local|https://habitathomebasic.dev.local&amp;lt;/AllowedCorsOriginsGroup1&amp;gt;&#xA;      &amp;lt;/AllowedCorsOrigins&amp;gt;&#xA;    &amp;lt;/DefaultClient&amp;gt;&#xA;    &amp;lt;PasswordClient&amp;gt;&#xA;      &amp;lt;ClientSecrets&amp;gt;&#xA;        &amp;lt;ClientSecret1&amp;gt;ClientSecret&amp;lt;/ClientSecret1&amp;gt;&#xA;      &amp;lt;/ClientSecrets&amp;gt;&#xA;    &amp;lt;/PasswordClient&amp;gt;&#xA;    &amp;lt;PostmanClient&amp;gt;&#xA;      &amp;lt;ClientId&amp;gt;postman-api&amp;lt;/ClientId&amp;gt;&#xA;      &amp;lt;ClientName&amp;gt;postman-api&amp;lt;/ClientName&amp;gt;&#xA;      &amp;lt;AccessTokenType&amp;gt;0&amp;lt;/AccessTokenType&amp;gt;&#xA;      &amp;lt;AllowOfflineAccess&amp;gt;true&amp;lt;/AllowOfflineAccess&amp;gt;&#xA;      &amp;lt;AlwaysIncludeUserClaimsInIdToken&amp;gt;false&amp;lt;/AlwaysIncludeUserClaimsInIdToken&amp;gt;&#xA;      &amp;lt;AccessTokenLifetimeInSeconds&amp;gt;3600&amp;lt;/AccessTokenLifetimeInSeconds&amp;gt;&#xA;      &amp;lt;IdentityTokenLifetimeInSeconds&amp;gt;3600&amp;lt;/IdentityTokenLifetimeInSeconds&amp;gt;&#xA;      &amp;lt;AllowAccessTokensViaBrowser&amp;gt;true&amp;lt;/AllowAccessTokensViaBrowser&amp;gt;&#xA;      &amp;lt;RequireConsent&amp;gt;false&amp;lt;/RequireConsent&amp;gt;&#xA;      &amp;lt;RequireClientSecret&amp;gt;true&amp;lt;/RequireClientSecret&amp;gt;&#xA;      &amp;lt;AllowedGrantTypes&amp;gt;&#xA;        &amp;lt;AllowedGrantType1&amp;gt;password&amp;lt;/AllowedGrantType1&amp;gt;&#xA;      &amp;lt;/AllowedGrantTypes&amp;gt;&#xA;      &amp;lt;AllowedCorsOrigins&amp;gt;&#xA;      &amp;lt;/AllowedCorsOrigins&amp;gt;&#xA;      &amp;lt;AllowedScopes&amp;gt;&#xA;        &amp;lt;AllowedScope1&amp;gt;openid&amp;lt;/AllowedScope1&amp;gt;&#xA;        &amp;lt;AllowedScope2&amp;gt;sitecore.profile&amp;lt;/AllowedScope2&amp;gt;&#xA;        &amp;lt;AllowedScope3&amp;gt;sitecore.profile.api&amp;lt;/AllowedScope3&amp;gt;&#xA;      &amp;lt;/AllowedScopes&amp;gt;&#xA;      &amp;lt;ClientSecrets&amp;gt;&#xA;        &amp;lt;ClientSecret1&amp;gt;ClientSecret&amp;lt;/ClientSecret1&amp;gt;&#xA;      &amp;lt;/ClientSecrets&amp;gt;&#xA;      &amp;lt;UpdateAccessTokenClaimsOnRefresh&amp;gt;true&amp;lt;/UpdateAccessTokenClaimsOnRefresh&amp;gt;&#xA;    &amp;lt;/PostmanClient&amp;gt;&#xA;  &amp;lt;/Clients&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once that was done (and I restarted identity server) I was able to use the gist sample and provide values relevant to my newly added client:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$identityserverUrl = &quot;https://&amp;lt;url-to-your-identityserver&amp;gt;&quot;&#xA;$tokenendpointurl = $identityserverUrl + &quot;/connect/token&quot;&#xA;$granttype = &quot;password&quot; # client_credentials / password &#xA;$client_id = &quot;postman-api&quot;&#xA;$client_secret = &quot;ClientSecret&quot;&#xA;$username = &quot;sitecore\admin&quot;&#xA;$password = &quot;superStrongPassword&quot;&#xA;$scope = &quot;openid&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We are then left with an access_token which can be used to connect to Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="1695" LastActivityDate="2019-01-04T15:22:39.513" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15858" PostTypeId="5" CreationDate="2019-01-04T16:07:19.430" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-04T16:07:19.430" LastActivityDate="2019-01-04T16:07:19.430" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15859" PostTypeId="4" CreationDate="2019-01-04T16:07:19.430" Score="0" Body="For questions related to Sitecore's scheduling jobs, including configuration, implementation of tasks and agents, etc" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-04T17:04:36.323" LastActivityDate="2019-01-04T17:04:36.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15860" PostTypeId="5" CreationDate="2019-01-04T16:10:57.570" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-04T16:10:57.570" LastActivityDate="2019-01-04T16:10:57.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15861" PostTypeId="4" CreationDate="2019-01-04T16:10:57.570" Score="0" Body="Rainbow is an advanced serialization library for Sitecore. All questions around this library from Sitecore  point of view, should use this tab." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-04T17:05:05.213" LastActivityDate="2019-01-04T17:05:05.213" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15862" PostTypeId="5" CreationDate="2019-01-04T16:20:38.130" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-04T16:20:38.130" LastActivityDate="2019-01-04T16:20:38.130" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15863" PostTypeId="4" CreationDate="2019-01-04T16:20:38.130" Score="0" Body="This tag can be used for all those questions which are related to Sitecore item publishing feature with publish related items option. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-04T19:18:29.960" LastActivityDate="2019-01-04T19:18:29.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15864" PostTypeId="5" CreationDate="2019-01-04T16:30:30.417" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-04T16:30:30.417" LastActivityDate="2019-01-04T16:30:30.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15865" PostTypeId="4" CreationDate="2019-01-04T16:30:30.417" Score="0" Body="All questions related to install and configure Sitecore on multiple environment including CD and CM. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-04T17:04:51.863" LastActivityDate="2019-01-04T17:04:51.863" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15866" PostTypeId="5" CreationDate="2019-01-04T16:35:10.697" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-04T16:35:10.697" LastActivityDate="2019-01-04T16:35:10.697" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15867" PostTypeId="4" CreationDate="2019-01-04T16:35:10.697" Score="0" Body="Shared session state can be used for all data that can be shared across multiple sessions. All questions around this topic should use shared-session tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-04T17:05:00.763" LastActivityDate="2019-01-04T17:05:00.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15868" PostTypeId="2" ParentId="9334" CreationDate="2019-01-04T16:48:33.453" Score="2" Body="&lt;p&gt;I think the issue here is using &lt;code&gt;.Contains()&lt;/code&gt; rather than &lt;code&gt;.Equals()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also wrote code to use &lt;code&gt;Contains&lt;/code&gt; at first, as this makes the most sense to a human and used to work as expected with Lucene/Solr. Unfortunately, the Azure Search provider doesn't seem to provide identical functionality. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is worth noting that when using the Azure Search provider the &lt;code&gt;Equals&lt;/code&gt; method doesn't insist on the search term and the target field being identical; in the version of Sitecore I tested on (v9 initial), &lt;code&gt;Equals&lt;/code&gt; behaves like you'd expect &lt;code&gt;Contains&lt;/code&gt; to work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've done a before and after test, and the results returned remain consistent but the order is different when using &lt;code&gt;Equals&lt;/code&gt; and a boost.  &lt;/p&gt;&#xA;" OwnerUserId="350" LastActivityDate="2019-01-04T16:48:33.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15869" PostTypeId="2" ParentId="15848" CreationDate="2019-01-04T18:42:42.000" Score="0" Body="&lt;p&gt;When an Editor edit the content item, new version gets created in that particular language. Once editing is complete and the content item is approved through the workflow process, it gets published on the live.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second, When an Editor creates a new item, Sitecore creates a new version in draft workflow state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Third, You can customize the publish behaviour through pipeline events and add your custom publishing logic there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Event Configuration:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:begin&quot; &amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Custom.Pipelines.CustomPublish, WebSite&quot; method=&quot;OnPublish&quot;/&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Event Code:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Custom.Pipelines&#xA;    {&#xA;        public class CustomPublish&#xA;        {            &#xA;            public void OnPublish(object sender, EventArgs args) &#xA;            {&#xA;                // Your custom logic goes here&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="744" LastEditorUserId="744" LastEditDate="2019-01-04T18:49:21.027" LastActivityDate="2019-01-04T18:49:21.027" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15870" PostTypeId="1" CreationDate="2019-01-04T20:15:49.890" Score="6" ViewCount="185" Body="&lt;p&gt;I'm working on a SPE script that uses the standard media library upload tool to take a file then uses the built in unzipper to unzip it. Upon unzipping the media items sometimes it removes dashes from the media item names and sometimes it leaves the dashes. I've tested the same zip using the Upload Files (Advanced) dialog and it shows the same behavior so I suspect this isn't an SPE issue&lt;/p&gt;&#xA;" OwnerUserId="3319" LastEditorUserId="2727" LastEditDate="2019-01-09T14:05:00.307" LastActivityDate="2019-01-09T14:05:00.307" Title="Upload Files (Advanced) randomly removing dashes" Tags="|media-library|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15871" PostTypeId="2" ParentId="15870" CreationDate="2019-01-04T20:17:32.940" Score="6" Body="&lt;p&gt;I figured it out, this was an issue with item name length. By updating the following&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;MaxItemNameLength&quot; value=&quot;100&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;MaxItemNameLength&quot; value=&quot;200&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have consistent dash behavior&lt;/p&gt;&#xA;" OwnerUserId="3319" LastActivityDate="2019-01-04T20:17:32.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15872" PostTypeId="1" AcceptedAnswerId="18378" CreationDate="2019-01-04T21:14:54.543" Score="8" ViewCount="1223" Body="&lt;p&gt;I am trying to login to Sitecore across multiple domains. I mean, I have two different sites &lt;code&gt;abc.x.com&lt;/code&gt; and &lt;code&gt;xyz.x.com&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;is there a way to set the auth cookies at parent domain level, in my case at &lt;code&gt;x.com&lt;/code&gt; level and let the user to access both the sites?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed few posts for different Sitecore versions, but the one which we are using is 9.1 and i didn't find any article with Sitecore 9.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1 is using identity server &amp;amp; Owin authentication mechanism, the old posts and articles uses the legacy way of authentication and didn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions will help us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-04-29T14:20:02.727" LastActivityDate="2019-04-29T14:20:02.727" Title="Login to Sitecore 9.1 across multiple subdomains" Tags="|sitecore-api|multisite|identity-server|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15874" PostTypeId="5" CreationDate="2019-01-07T06:49:18.217" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-07T06:49:18.217" LastActivityDate="2019-01-07T06:49:18.217" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15875" PostTypeId="4" CreationDate="2019-01-07T06:49:18.217" Score="0" Body="All questions related to implementing and configuring Single Sign On in Sitecore enviornment, should use this tag. " OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-07T08:32:13.743" LastActivityDate="2019-01-07T08:32:13.743" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15876" PostTypeId="5" CreationDate="2019-01-07T06:52:46.063" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-07T06:52:46.063" LastActivityDate="2019-01-07T06:52:46.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15877" PostTypeId="4" CreationDate="2019-01-07T06:52:46.063" Score="0" Body="It provides an integrated solution for Digital asset management (DAM), Marketing portal, Marketing resource management (MRM), Web to Print, Digital rights management (DRM) and Product information management (PIM). All questions related to Stylelabs integration and configuration in Sitecore, may use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-07T08:32:17.553" LastActivityDate="2019-01-07T08:32:17.553" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15878" PostTypeId="2" ParentId="14299" CreationDate="2019-01-07T09:53:54.577" Score="0" Body="&lt;p&gt;In order to achieve Zero / No downtime while deploying the country specific websites, there could be two possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Use two or more content delivery servers with load balancer. You can deploy in each server one by one. For example, take one server down from the load balancer (remaining servers still serves the requests) and deploy ot it and once deployment is complete, connect this server back to the load balancer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Repeat the same steps with other content delivery servers.&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use cloud solutions for highest website availability. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Either of the above approach, will give you zero downtime when you deploy your country specific websites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="744" LastActivityDate="2019-01-07T09:53:54.577" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15880" PostTypeId="1" CreationDate="2019-01-07T11:42:41.723" Score="0" ViewCount="114" Body="&lt;p&gt;We are working on a form where the form data is sent to an external(SalesForce) API.&#xA;I have a custom Salesforce action which sends the post request with field data to SalesForce.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, to map fields with Salesforce Excel, Salesforce has provided with &quot;Keys&quot; to be used with each input Field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sales force accepts first_name and last_name as keys. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Postdata will be &lt;code&gt;first_name=john&amp;amp;last_name=doe&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I add a user-defined parameters to fields in WFFM fields?&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="237" LastEditDate="2019-01-07T22:39:33.690" LastActivityDate="2019-02-06T23:01:40.473" Title="Adding user-defined field attibute WFFM" Tags="|wffm|salesforce-connect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15881" PostTypeId="1" CreationDate="2019-01-07T11:51:14.023" Score="1" ViewCount="2551" Body="&lt;p&gt;Can Anyone help writing a PS script to get the item list where the latest version on web db is different than master &lt;/p&gt;&#xA;" OwnerUserId="3451" LastEditorUserId="70" LastEditDate="2019-01-07T15:00:27.960" LastActivityDate="2019-10-24T10:30:54.910" Title="PowerShell script to compare latest version number of master and web DB in sitecore" Tags="|sitecore-client|powershell-extensions|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15882" PostTypeId="2" ParentId="15630" CreationDate="2019-01-07T12:38:05.730" Score="1" Body="&lt;p&gt;You can also handle that with authorization in web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Deny users access to internal paths --&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;deny users=&quot;*&quot;/&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&amp;lt;location path=&quot;xsl&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;deny users=&quot;*&quot;/&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore modules&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;deny users=&quot;*&quot;/&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore/service&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;allow users=&quot;*&quot;/&amp;gt;&#xA;            &amp;lt;!--heartbeat, keepalive, ect. must be accessible--&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore/shell/Webservice/Service.asmx&quot;&amp;gt;&#xA;    &amp;lt;system.web&amp;gt;&#xA;        &amp;lt;authorization&amp;gt;&#xA;            &amp;lt;allow users=&quot;*&quot;/&amp;gt;&#xA;            &amp;lt;!--allow webservice--&amp;gt;&#xA;        &amp;lt;/authorization&amp;gt;&#xA;    &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Best regards&#xA;Dirk&lt;/p&gt;&#xA;" OwnerUserId="1183" LastEditorUserId="1183" LastEditDate="2019-01-07T12:45:50.480" LastActivityDate="2019-01-07T12:45:50.480" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15884" PostTypeId="1" AcceptedAnswerId="15888" CreationDate="2019-01-07T13:34:07.777" Score="0" ViewCount="1709" Body="&lt;p&gt;I'm using sitecore 9.1 and SXA 1.8.&#xA;I am trying to read a field of type &quot;General Link&quot; in a rendering variant. I've already tried before to read it using NVelocity and it worked but is there a ootb way to directly read its value?&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="237" LastEditDate="2019-01-07T14:27:20.510" LastActivityDate="2020-10-19T16:58:40.150" Title="General Link value in rendering variants" Tags="|sxa|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15885" PostTypeId="1" AcceptedAnswerId="15886" CreationDate="2019-01-07T13:37:19.747" Score="8" ViewCount="623" Body="&lt;p&gt;It's an recurring issue that certificates cause some setup trouble with (my) development environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it would be nice to use XConnect, for development only, without certificates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to use XConnect without certificates?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="2727" LastEditDate="2019-01-09T13:59:30.513" LastActivityDate="2022-08-15T21:02:13.827" Title="Use XConnect without certificates (for development)?" Tags="|xconnect|certificate|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15886" PostTypeId="2" ParentId="15885" CreationDate="2019-01-07T13:40:32.007" Score="11" Body="&lt;p&gt;Just remove or disable these two files:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;\App_Data\Config\sitecore\CoreServices\sc.XConnect.Security.EnforceSSL.xml&lt;/code&gt;&#xA;&lt;code&gt;\App_Data\Config\sitecore\CoreServices\sc.XConnect.Security.EnforceSSLWithCertificateValidation.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is only for the development purposes, of course.&lt;/p&gt;&#xA;" OwnerUserId="59" LastActivityDate="2019-01-07T13:40:32.007" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15887" PostTypeId="1" CreationDate="2019-01-07T13:53:18.047" Score="2" ViewCount="80" Body="&lt;p&gt;It's an recurring issue that certificates cause some setup trouble with (my) development environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it would be nice to use Sitecore Experience Commerce 9, for development only, without certificates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to use XC9 without certificates?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="237" LastEditDate="2019-01-07T14:14:11.937" LastActivityDate="2019-01-08T02:18:41.410" Title="Use Experience Commerce 9 without SSL (for development)" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="15888" PostTypeId="2" ParentId="15884" CreationDate="2019-01-07T14:25:00.480" Score="1" Body="&lt;p&gt;A simple &quot;Field&quot; variant field will do the trick. It will display internal and external links (the title and the href) just like the Sitecore renderer would.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to get the url alone (not rendered in a &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; tag), I think there is no ootb solution.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-01-07T14:30:26.310" LastActivityDate="2019-01-07T14:30:26.310" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15889" PostTypeId="1" CreationDate="2019-01-07T14:52:32.767" Score="1" ViewCount="43" Body="&lt;p&gt;What's the best/easiest way to disable multi-lingual search in Azure, so only English content is indexed? I have language fallback turned on, but turning that off wouldn't disable multi-lingual. I didn't know if there was a config setting to do it, or some setting in the Azure portal for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One colleague pointed me to this article: &lt;a href=&quot;https://sitecoreart.martinrayenglish.com/2015/10/fix-for-multiple-versions-of-items.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoreart.martinrayenglish.com/2015/10/fix-for-multiple-versions-of-items.html&lt;/a&gt;. It's not exactly what I'm looking to do, but would this generally be the approach, to basically say if the item language is not English, just skip the indexing?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2019-01-07T15:04:22.890" LastActivityDate="2019-01-07T15:09:01.133" Title="Disable multi-lingual search in Azure Search" Tags="|azure-search|" AnswerCount="1" CommentCount="3" ClosedDate="2019-01-08T09:38:16.327" ContentLicense="CC BY-SA 4.0" />
  <row Id="15890" PostTypeId="1" AcceptedAnswerId="15895" CreationDate="2019-01-07T14:55:04.480" Score="3" ViewCount="3361" Body="&lt;p&gt;I've been trying to find a way to make one of two fields valid and haven't come up with much.  Is there a way to do this with custom field validators or is that just relevant to individual fields?  The requirement is that one of two fields must be filled in, probably only one, but even if that's not possible, just having at least one filled in (and then there being a default in terms of which is used) would be acceptable, I suppose.&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="1809" LastEditDate="2020-01-17T20:01:08.827" LastActivityDate="2020-01-17T20:01:08.827" Title="Make one of two sitecore content fields required?" Tags="|content-editor|validation|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15891" PostTypeId="2" ParentId="15884" CreationDate="2019-01-07T14:57:25.123" Score="3" Body="&lt;p&gt;There is no way to get this OOTB, you will need to create a template renderer for NVelocity.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need a class with a static method: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class FieldTokens&#xA;{&#xA;    public static string GetGeneralLinkUrl(Item item, string fieldName)&#xA;    {&#xA;        if (string.IsNullOrEmpty(fieldName))&#xA;        {&#xA;            return string.Empty;&#xA;        }&#xA;&#xA;        if (item == null)&#xA;        {&#xA;            return string.Empty;&#xA;        }&#xA;&#xA;        var field = item.Fields[fieldName];&#xA;        var url = string.Empty;&#xA;        if (field != null)&#xA;        {&#xA;            switch (field.Type)&#xA;            {&#xA;                case &quot;General Link&quot;:&#xA;                    url = ItemExtensions.LinkUrl(field);&#xA;                    break;&#xA;            }&#xA;        }&#xA;&#xA;        return url;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That is a very basic method that will get the url from a general link or return an empty string if the field is not a general link or if the field does not exist on the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create a pipeline process that will add that &lt;code&gt;FieldTokens&lt;/code&gt; class to the NVelocity renderers:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddTemplateRenderers : IGetTemplateRenderersPipelineProcessor&#xA;{&#xA;    public void Process(GetTemplateRenderersPipelineArgs args)&#xA;    {&#xA;        args.Context.Put(&quot;fieldTokens&quot;, new FieldTokens());&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And finally patch that in via config: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getVelocityTemplateRenderers&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyProject.MyNamespace.GetVelocityTemplateRenderers.AddTemplateRenderers, MyProject&quot; &#xA;                   patch:after=&quot;processor[@type='Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.GetVelocityTemplateRenderers.GetVelocityTemplateRenderers, Sitecore.XA.Foundation.Variants.Abstractions']&quot;  /&amp;gt;&#xA;      &amp;lt;/getVelocityTemplateRenderers&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you have all this in place, you can call it from an NVelocity template like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link Text&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Caveats&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The above code worked on 9.0.2 with SXA 1.7.1, It should work on 9.1/1.8 but its not tested there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next note would be, why do you need the url? If you are just rendering the link, its better to use the field renderer as this will render the link, link text, link title, target etc... it will also mean the url is editable in the experience editor. This is normally better than building the link markup manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only time I would use this would be if I needed an image or some complex markup inside the link.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-01-07T14:57:25.123" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15892" PostTypeId="2" ParentId="15890" CreationDate="2019-01-07T15:08:14.030" Score="1" Body="&lt;p&gt;There is nothing out of the box that will do this for you as far as I am aware and although you think it might be possible custom validation I don't think it is as the a validator works on only one field at a time so updates to the item would only have the updated data for that single field and not the other field. Therefore I think your only option here might be to use the &lt;code&gt;item:saving&lt;/code&gt; event to validate the data there as mentioned by Richard Seal below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6704/item-validator-access-already-stored-data-instead-of-newly-inputed-data&quot;&gt;Item validator access already stored data instead of newly inputed data&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to be careful with this though to make sure it doesn't fire all of the time. Maybe you could check the template before running this validation or something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another related thread on SSE is here:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11000/apply-field-validations-across-fields&quot;&gt;Apply field validations across fields&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-01-07T15:08:14.030" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15893" PostTypeId="2" ParentId="15889" CreationDate="2019-01-07T15:09:01.133" Score="0" Body="&lt;p&gt;I don't think you can just disable a language. I had a similar requirement once for a custom index, and had to write my own crawler to achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The benefit of a crawler approach is that you can set this per index (which is not possible with the inbound filters). Wrote a blog post with code) on this &lt;a href=&quot;https://ggullentops.blogspot.com/2016/10/custom-sitecore-index-crawler.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2016/10/custom-sitecore-index-crawler.html&lt;/a&gt; (dated 2016, so might need some updates in the code).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I actually did was check the code from the original SitecoreItemCrawler, created a class overwriting it and adapted where needed - especially overwrite &lt;code&gt;DoAdd&lt;/code&gt; and &lt;code&gt;DoUpdate&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-07T15:09:01.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15894" PostTypeId="2" ParentId="15880" CreationDate="2019-01-07T15:18:42.997" Score="1" Body="&lt;p&gt;There is no ootb way to do this, and you probably don't want to create custom fields for every field type... What I did in a similar situation a while ago was creating the mapping outside of wffm - with a list of key/value pairs (this can be in a data section in Sitecore, or somewhere completely different). The key in this pair list is the field name (in the form) and the value the (Salesforce) key. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way the form editors need to be aware of this map, so they can choose their field names correctly. That was not so easy in the beginning, but they learned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We noticed that the list of field names / keys stayed rather small as it is mostly the same fields that are synced.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-07T15:18:42.997" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15895" PostTypeId="2" ParentId="15890" CreationDate="2019-01-07T16:21:33.893" Score="7" Body="&lt;p&gt;I would recommend implementing a custom &lt;strong&gt;Item&lt;/strong&gt; validation rule.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: This is different from a field validation, in that it validates &lt;em&gt;the entire item&lt;/em&gt; instead of a single field.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h1&gt;1. Create custom validator&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Create a new class that implements the &lt;code&gt;Sitecore.Data.Validators.StandardValidator&lt;/code&gt; base class. In the &lt;code&gt;Evaluate()&lt;/code&gt; method, get both fields and check to see if either of them has a value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AtLeastOneFieldPopulatedValidator : StandardValidator&#xA;{&#xA;    public override string Name =&amp;gt; &quot;At Least One Field Populated&quot;;&#xA;&#xA;    public AtLeastOneFieldPopulatedValidator() {}&#xA;&#xA;    public AtLeastOneFieldPopulatedValidator(SerializationInfo info, StreamingContext context) : base(info, context) {}&#xA;&#xA;    protected override ValidatorResult Evaluate()&#xA;    {&#xA;        Item item = base.GetItem();&#xA;        if (item == null)&#xA;        {&#xA;            return ValidatorResult.Valid;&#xA;        }&#xA;        if (!string.IsNullOrEmpty(item[&quot;Field 1&quot;]) || !string.IsNullOrEmpty(item[&quot;Field 2&quot;]))&#xA;        {&#xA;            return ValidatorResult.Valid;&#xA;        }&#xA;        return base.GetFailedResult(ValidatorResult.CriticalError);&#xA;    }&#xA;&#xA;    protected override ValidatorResult GetMaxValidatorResult()&#xA;    {&#xA;        return base.GetFailedResult(ValidatorResult.Error);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;2. Create &lt;code&gt;Validation Rule&lt;/code&gt; item&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;First, create a new &lt;code&gt;Validation Rule&lt;/code&gt; (template &lt;code&gt;/sitecore/templates/System/Validation/Validation Rule&lt;/code&gt;) item somewhere below this node:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Settings/Validation Rules/Item Rules&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hkoEZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hkoEZ.png&quot; alt=&quot;item validator tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Important: Make sure you populate the &lt;code&gt;Type&lt;/code&gt; field with your fully-qualified name of your custom validator's class (e.g. &lt;code&gt;Custom.Services.AtLeastOneFieldPopulatedValidator, Custom.Services&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h1&gt;3. Associate your &lt;code&gt;Validation Rule&lt;/code&gt; to your items&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;On the &lt;code&gt;__Standard values&lt;/code&gt; of your item's template, show Standard Fields (View ribbon tab -&gt; Standard fields) and add your &lt;code&gt;Validation Rule&lt;/code&gt; to the appropriate validation fields. I recommend including it in all four.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;(Optional) Extra credit: Add parameters&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I've not tested this, but I'm sure there's a way to pass parameters using the &lt;code&gt;Parameters&lt;/code&gt; field on the &lt;code&gt;Validation Rule&lt;/code&gt; item. In these parameters, you could pass a list of the fields to check so your validator can be reused by creating multiple &lt;code&gt;Validation Rule&lt;/code&gt; items in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CSdr4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CSdr4.png&quot; alt=&quot;parameters field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2020-01-14T21:37:25.547" LastActivityDate="2020-01-14T21:37:25.547" CommentCount="13" ContentLicense="CC BY-SA 4.0" />
  <row Id="15896" PostTypeId="1" AcceptedAnswerId="15900" CreationDate="2019-01-07T16:27:18.453" Score="2" ViewCount="815" Body="&lt;p&gt;Is possible to autogenerate a Media &quot;element&quot; ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to do this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;mediaProvider.GetMedia(Arg.Is&amp;lt;Sitecore.Data.Items.MediaItem&amp;gt;(i =&amp;gt; i.ID == mediaItemId)).Returns(Arg.Any&amp;lt;Media&amp;gt;());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but this can apparently not be done?&#xA;I don't care about what the content of the Media, it just not allowed to be empty,&#xA;I would very much like to avoid defined the media, for reusability purpose.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was in the Sitecore chat pointed towards using AutoFixture, but I'm not quite sure how to use it here and whether it creates a specific instance of the Media, and not a random one. &lt;/p&gt;&#xA;" OwnerUserId="4852" LastEditorUserId="237" LastEditDate="2019-01-09T11:51:26.360" LastActivityDate="2019-01-09T11:51:26.360" Title="Fake a Media Item for Unit Testing" Tags="|unit-testing|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15897" PostTypeId="1" AcceptedAnswerId="15907" CreationDate="2019-01-07T16:35:31.260" Score="0" ViewCount="300" Body="&lt;p&gt;I'm trying to get all datasources of a rendering, including personalization.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As we are using SXA the datasource strings look like this: local:/Data/Test&lt;br&gt;&#xA;What is the best way to get the item from this? Normally the &lt;strong&gt;getRenderingDatasource pipeline&lt;/strong&gt; would handle this, but how do I do this programmatically?&lt;/p&gt;&#xA;" OwnerUserId="4234" LastActivityDate="2019-01-08T11:05:33.010" Title="How to get SXA datasource items from personalization" Tags="|sxa|personalization|datasource|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15898" PostTypeId="2" ParentId="15298" CreationDate="2019-01-07T20:59:07.440" Score="1" Body="&lt;p&gt;Here is the solution I found. I need to play more with the &lt;code&gt;AddParams&lt;/code&gt; method as I don't fully understand what that is doing. I got the query to work with the below code (if there is a better way please let me know) and wanted to post in case it could help anyone else. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var getItems = new GetItemByQueryBuilder()&#xA;                .Query($&quot;&amp;lt;rootPath&amp;gt;//*[contains(@@name,'{myParam.ToLower()}')]&quot;);&#xA;var mySetting = this.contentRepository.GetItem&amp;lt;IMyTemplate&amp;gt;(getItems.Options);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3681" LastActivityDate="2019-01-07T20:59:07.440" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15899" PostTypeId="1" AcceptedAnswerId="16355" CreationDate="2019-01-07T21:10:23.687" Score="1" ViewCount="445" Body="&lt;p&gt;I am on Sitecore 9.1. I am able to send emails and emails sent and open are being recorded but no emails clicks are being recorded. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The links in the email are being sent through the RedirectUrl.aspx page. &lt;/li&gt;&#xA;&lt;li&gt;My site has &lt;code&gt;enableTracking=&quot;true&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;My Sitecore.Xdb.config has &lt;code&gt;&amp;lt;setting name=&quot;Xdb.Enabled&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;When I look into my collections database I see EmailSent events and EmailOpenEvents but no EmailClickEvents. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So while it seems things are configured correctly it looks like no click events are getting into the collections database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My logs have a few things in them but I am not sure how they relate.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;28588 13:43:15 ERROR Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (500) Internal Server Error.&#xA;Source: System&#xA;at System.Net.HttpWebRequest.GetResponse()&#xA;at Sitecore.Modules.EmailCampaign.Core.WebContent.DoDownloadString(String url, Boolean useIisCredentials, String userAgent)&#xA;&#xA;ERROR Failed to download string content, URL: &amp;lt;myurl&amp;gt;/?sc_itemid=%7BE37BFB68-72DD-45E7-A91A-B2EAB6B50CE6%7D&amp;amp;sc_lang=en&amp;amp;sc_device=%7BFE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3%7D&amp;amp;ec_database=master&amp;amp;ec_id=34D51A59ED5A44C0A932F8BD3937187B&amp;amp;ec_message_id=186D238F41A7468DBB8E55FA6856B80F, Use IIS Credentials: True, UserAgent: ECM Dispatch&#xA;Exception: Sitecore.EmailCampaign.Model.Web.Exceptions.NonCriticalException&#xA;&#xA;ERROR Task agent 'recipient_list_management_task_pool' failed to retrieve tasks for processing from the database.&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.)&#xA;Source: .Net SqlClient Data Provider&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3681" LastActivityDate="2019-03-02T03:04:05.893" Title="Sitecore 9.1 EXM not recording email clicks" Tags="|exm|" AnswerCount="1" CommentCount="4" ClosedDate="2019-03-02T09:14:35.570" ContentLicense="CC BY-SA 4.0" />
  <row Id="15900" PostTypeId="2" ParentId="15896" CreationDate="2019-01-07T23:46:45.310" Score="2" Body="&lt;p&gt;There is a package from Sitecore.FakeDb that integrates with AutoFixture to generate items on the fly. The Nuget package is Sitecore.FakeDb.AutoFixture&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/AutoFixture-Samples&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/AutoFixture-Samples&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you generate the item, then you can assign the item as a MediaItem &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Media&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/Media&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A very quick sample walkthrough will be something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Fact]&#xA;public void CreateItemInstance()&#xA;{&#xA;    var fixture = new Fixture().Customize(new AutoDbCustomization()).Customize(new AutoContentItemCustomization()); ;&#xA;    var item = fixture.Create&amp;lt;Item&amp;gt;();&#xA;    var database = fixture.Create&amp;lt;Database&amp;gt;();&#xA;&#xA;    Sitecore.Data.Items.MediaItem mediaItem = new MediaItem(database.GetItem(item.ID));&#xA;&#xA;  // Continue doing the rest&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2019-01-07T23:46:45.310" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15902" PostTypeId="1" CreationDate="2019-01-08T06:25:20.607" Score="5" ViewCount="1096" Body="&lt;p&gt;I am getting &lt;code&gt;Sitemap XML&lt;/code&gt; using &lt;code&gt;mydomain/sitemap.xml&lt;/code&gt; but because of a tag, it is not correctly getting rendered in all browsers. Is there a way to configure/remove the following particular tag from &lt;code&gt;sitemap.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Need to remove this: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;xhtml:link rel=&quot;alternate&quot; hreflang=&quot;en&quot; href=&quot;https://mydomain.com/en&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HlLDn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HlLDn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="5387" LastEditDate="2019-06-20T13:17:49.837" LastActivityDate="2019-06-20T13:17:49.837" Title="How to format SXA sitemap XML?" Tags="|sxa|sitemap|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15903" PostTypeId="1" AcceptedAnswerId="15913" CreationDate="2019-01-08T07:08:04.560" Score="0" ViewCount="435" Body="&lt;p&gt;While bulding JSS app i am getting an error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Command : JSS Build&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR in Error during template compile of &#xA;         'StyleguideAngularLazyLoadingModule'&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Function calls are not supported in decorators but 'JssModule' was called&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The above error is blocking me to deploy my app on the Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionaly can any one share a link to create good production quality website(powered with Sitecore) demo in JSS Angular.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you,&lt;/p&gt;&#xA;" OwnerUserId="4659" LastEditorUserId="4659" LastEditDate="2019-01-08T09:23:22.003" LastActivityDate="2019-01-14T15:26:06.297" Title="Deploy JSS App on sitecore instance" Tags="|sitecore-client|jss|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15904" PostTypeId="2" ParentId="15902" CreationDate="2019-01-08T08:12:10.673" Score="8" Body="&lt;p&gt;Yes, you can. But it's not configurable. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to override &lt;code&gt;SitemapGenerator&lt;/code&gt; located in &lt;code&gt;Sitecore.XA.Feature.SiteMetadata&lt;/code&gt; library. Most of the things are marked there as protected virtual so you shouldn't have problems with achieving what you want in your implementation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the end just replace SXA implementation with your one in the DI container. This class is registered in the &lt;code&gt;Sitecore.XA.Feature.SiteMetadata.config&lt;/code&gt; configuration file (section &lt;code&gt;&amp;lt;services&amp;gt;&lt;/code&gt;) but you can replace it in the code as well.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-01-08T08:12:10.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15905" PostTypeId="1" AcceptedAnswerId="15911" CreationDate="2019-01-08T10:25:58.573" Score="4" ViewCount="901" Body="&lt;p&gt;I'm proposing a new Environment architecture to my organization, that eventually help in setting up the Proper CI/CD setup. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, they have 4 Sitecore licence, so they used each one for QA, UAT, CM and Prod CD. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In contrast i'm proposing to have separate CM and CD for each environment. For example, QA will have its own CM and CD, Like wise, UAT and Prod will have their own CM and CD. But to implement this, we may have to procure more Sitecore licence and my Organization is not ready to spend money for new licenses. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is, Can we use the Development license for non production environment? If required, i can restrict access of non production environment to outside world. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm open for any other suggestion where i can restrict licensing cost. Your help is appreciated. &lt;/p&gt;&#xA;" OwnerUserId="711" LastEditorUserId="342" LastEditDate="2019-01-08T12:32:36.130" LastActivityDate="2019-01-08T14:21:59.313" Title="Sitecore Licensing - Can i use Dev licence to set up Dev-Int, QA, UAT instance?" Tags="|licensing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15907" PostTypeId="2" ParentId="15897" CreationDate="2019-01-08T10:34:35.957" Score="2" Body="&lt;p&gt;It's quite easy:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//inject pipeline manager (instead of ServiceLocator you can use constructor injection if needed)&#xA;BaseCorePipelineManager pipelineManager = ServiceLocator.ServiceProvider.GetService&amp;lt;BaseCorePipelineManager&amp;gt;();&#xA;&#xA;//create pipeline arguments where you put data source string&#xA;var args = new ResolveRenderingDatasourceArgs(rendering.DataSource);&#xA;&#xA;//run the pipeline&#xA;pipelineManager.Run(&quot;resolveRenderingDatasource&quot;, args);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As an output, you will have either ID or an item path in &lt;code&gt;args.Datasource&lt;/code&gt; property.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-01-08T11:05:33.010" LastActivityDate="2019-01-08T11:05:33.010" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15908" PostTypeId="2" ParentId="14112" CreationDate="2019-01-08T10:43:10.003" Score="2" Body="&lt;h2&gt;In short&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The setting &lt;code&gt;MaxTelemetryItemsPerSecond&lt;/code&gt; is not setting the sampling interval to 5 seconds, but it is telling how many items to check in 1 second, so you cannot set it to 5 minutes.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;In more details&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sampling is a feature in Azure Application Insights. It is the recommended way to reduce telemetry traffic and storage, while preserving a statistically correct analysis of application data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are three alternative sampling methods:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Adaptive sampling&lt;/li&gt;&#xA;&lt;li&gt;Fixed-rate sampling&lt;/li&gt;&#xA;&lt;li&gt;Ingestion sampling&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In this case you are using Adaptive sampling which is the default sampling method and automatically adjusts the volume of telemetry sent from the SDK. It doesn't operate at low volumes of telemetry, so an app in debugging or a website with low usage won't be affected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Couple of things you can do to lower the samplings:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Use &lt;code&gt;ExcludedTypes&lt;/code&gt; or &lt;code&gt;IncludedTypes&lt;/code&gt; as additional parameters,&#xA;for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ExcludedTypes&amp;gt;Trace;Exception&amp;lt;/ExcludedTypes&amp;gt;&#xA;&amp;lt;IncludedTypes&amp;gt;Request;Dependency&amp;lt;/IncludedTypes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Disable the &lt;code&gt;AdaptiveSamplingTelemetryProcessor&lt;/code&gt; and configuring fixed-rate sampling, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;Add  Type=&quot;Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.SamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel&quot;&amp;gt;&#xA;       &amp;lt;!-- Set a percentage close to 100/N where N is an integer. --&amp;gt;&#xA;       &amp;lt;!-- E.g. 50 (=100/2), 33.33 (=100/3), 25 (=100/4), 20, 1 (=100/100), 0.1 (=100/1000) --&amp;gt;&#xA;        &amp;lt;SamplingPercentage&amp;gt;10&amp;lt;/SamplingPercentage&amp;gt;&#xA;   &amp;lt;/Add&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Learn more here: &lt;a href=&quot;https://docs.microsoft.com/en-gb/azure/azure-monitor/app/sampling&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-gb/azure/azure-monitor/app/sampling&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2019-01-08T10:43:10.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15909" PostTypeId="1" CreationDate="2019-01-08T12:38:10.017" Score="1" ViewCount="122" Body="&lt;p&gt;I'm using Sitecore 9.1 and SXA 1.8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added a new module, let's call it &quot;Test Module&quot;,and I cloned its contents from SXA's &quot;Link List&quot; Component, However when i try to add this module to a site using &quot;Add Site Module&quot; I consistently get the error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #10 14:09:59 ERROR An error occured while processing /sitecore/system/Settings/Feature/TestModule/TestModuleSite Setup/Add Available Renderings action&#xA;ManagedPoolThread #10 14:09:59 ERROR Unrecognized Guid format. Actual value:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not sure what the problem here is, i tried checking all the items and linked items at the mentioned error path but they all exist, when i search with their IDs they come up just fine.. any hints as to what the problem might be or what steps I can do to fix it would be appreciated. &lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="88" LastEditDate="2019-01-08T12:58:08.287" LastActivityDate="2019-01-08T12:58:08.287" Title="Add Site Module Error : Unrecognized GUID Format" Tags="|sxa|module|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15910" PostTypeId="2" ParentId="15905" CreationDate="2019-01-08T13:14:28.073" Score="1" Body="&lt;p&gt;I wrote a blog post not too long ago, which you &lt;a href=&quot;https://trayek.wordpress.com/2018/05/09/demystifying-sitecores-licensing&quot; rel=&quot;nofollow noreferrer&quot;&gt;can find here&lt;/a&gt;, although this is already a bit outdated as I believe there's a new licensing model. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Long story short: &lt;strong&gt;Always check with your Sitecore sales representative first (account manager if you're a customer, partner manager if you're a partner)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Going by your question I'm assuming you're the end client, not the implementation partner (if you are the implementation partner, please see Vlad's answer).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a &lt;strong&gt;perpetual license&lt;/strong&gt;, you'll usually be licensed to have a certain number of production servers and non-production servers running. Production servers in perpetual are the CM and CD on a production environment. All other servers are classed as non-production. &lt;br/&gt;&#xA;If you have a &lt;strong&gt;subscription license&lt;/strong&gt;, you'll be allowed to spin up as many production servers as you'd like (which in this case includes reporting and processing servers). As far as I'm aware there is typically a limit on the number of non-production servers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, looking at your question it's unlikely you'll be able to split your servers out without being in breach of license (as you mention you are allowed 4 environments and that's what you have), although it is worth checking it with your Sitecore contact.&lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2019-01-08T13:14:28.073" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15911" PostTypeId="2" ParentId="15905" CreationDate="2019-01-08T13:57:18.200" Score="6" Body="&lt;h2&gt;&lt;strong&gt;Always ask this question to your Sitecore Sales rep&lt;/strong&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are working at a customer, your sales rep is the only person who can definitively look at your license agreement and validate if it covers the scenario you are attempting. Nobody on this site can definitively answer license questions but them. All that can be provided is a guess at some 'normal' scenarios.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Developer seat vs. Instance license&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;That said, a 'developer seat' is not typically allowed for network environments. It is meant for a local installation on a developers box. Your non-prod server instances are what can be used for your network instances and it does not matter if they are internally/externally available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the customer license is a perpetual license with specific server counts and you want to increase the number of non-production server counts, you will need to talk to a sales rep and obtain additional server counts, or transition to a newer subscription license model and license by environment.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2019-01-08T14:21:59.313" LastActivityDate="2019-01-08T14:21:59.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15912" PostTypeId="1" CreationDate="2019-01-08T14:41:01.000" Score="3" ViewCount="227" Body="&lt;p&gt;I have a Sitecore commerce 8.2.1 engine, and using the default habitat environment files:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;PlugIn.Habitat.CommerceAuthoring-1.0.0.json&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;PlugIn.Habitat.CommerceMinions-1.0.0.json&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;PlugIn.Habitat.CommerceShops-1.0.0.json&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;For a custom plugin, we would like to separate the Policy settings in a separate json file. For example:  Plugin.CustomPluginName.PolicySet-1.0.0.json&lt;/p&gt;&#xA;&lt;p&gt;Contains:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &amp;quot;$type&amp;quot;:  &amp;quot;Sitecore.Commerce.Core.PolicySet, Sitecore.Commerce.Core&amp;quot;,&#xA;    &amp;quot;Id&amp;quot;:  &amp;quot;Entity-PolicySet-CustomPluginNamePolicySet&amp;quot;,&#xA;    &amp;quot;Version&amp;quot;:  1,&#xA;    &amp;quot;IsPersisted&amp;quot;:  false,&#xA;    &amp;quot;Name&amp;quot;:  &amp;quot;CustomPluginNamePolicySet&amp;quot;,&#xA;    &amp;quot;Policies&amp;quot;:  {&#xA;             &amp;quot;$type&amp;quot;:  &amp;quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib&amp;quot;,&#xA;             &amp;quot;$values&amp;quot;:  [&#xA;                             {&#xA;                                 &amp;quot;$type&amp;quot;:  &amp;quot;Plugin.CustomPluginName.CustomPluginNameClientPolicy, Plugin.CustomPluginName&amp;quot;,&#xA;                                 ...&#xA;                             }&#xA;                         ]&#xA;     }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I've added a reference to it in the habitat environment files:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &amp;quot;$type&amp;quot;: &amp;quot;Sitecore.Commerce.Core.PolicySetPolicy, Sitecore.Commerce.Core&amp;quot;,&#xA;    &amp;quot;PolicySetId&amp;quot;: &amp;quot;Entity-PolicySet-CustomPluginNamePolicySet&amp;quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;When bootstrapping, I get the following error:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;InvalidEnvironmentJson&lt;/p&gt;&#xA;&lt;p&gt;Environment json is not valid.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Is it possible to do this in Sitecore 8.2.1? And how?&lt;/p&gt;&#xA;&lt;p&gt;I've seen an example for this in Sitecore 9 (Braintree plugin), but I can't find an example for 8.2.1&lt;/p&gt;&#xA;" OwnerUserId="4878" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-01-08T14:41:01.000" Title="How to add policyset in separate json file in sitecore commerce 8.2.1" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15913" PostTypeId="2" ParentId="15903" CreationDate="2019-01-08T14:49:42.050" Score="3" Body="&lt;p&gt;This is caused by an AOT bug in &lt;code&gt;@sitecore-jss/sitecore-jss-angular@11.0.1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pinning your dependency to &lt;code&gt;11.0.0&lt;/code&gt; (with no &lt;code&gt;~&lt;/code&gt; nor &lt;code&gt;^&lt;/code&gt;) should resolve the issue for now. This is probably related to &lt;a href=&quot;https://github.com/Sitecore/jss/pull/83&quot; rel=&quot;nofollow noreferrer&quot;&gt;this PR&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastEditorUserId="267" LastEditDate="2019-01-08T20:27:08.343" LastActivityDate="2019-01-08T20:27:08.343" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="15915" PostTypeId="2" ParentId="15856" CreationDate="2019-01-08T15:32:20.857" Score="1" Body="&lt;p&gt;Finally I have found a work around to finish the installation. My answer doesn't explain why the issue happens but at least it helped me to finish what I was needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added the &lt;code&gt;&quot;if&quot;: &quot;Invoke-IfConfigFunction&quot;&lt;/code&gt; line in the &lt;code&gt;Registration -&amp;gt; ConfigFunction&lt;/code&gt; section to the &lt;code&gt;Prerequisites.json&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Register&quot;:{&#xA;        &quot;Tasks&quot;:{&#xA;            &quot;InstallModule&quot;: &quot;Install-Module&quot;,&#xA;            &quot;EnableWindowsOptionalFeature&quot;: &quot;Enable-WindowsOptionalFeature&quot;,&#xA;            &quot;StartProcess&quot; : &quot;Start-Process&quot;,&#xA;            &quot;WriteOutput&quot;: &quot;Write-Output&quot;&#xA;        },&#xA;        &quot;ConfigFunction&quot;:{&#xA;            &quot;GetModule&quot;: &quot;Get-Module&quot;,&#xA;            &quot;GetPackage&quot; : &quot;Get-Package&quot;,&#xA;            &quot;GetItemPropertyValue&quot; : &quot;Get-ItemPropertyValue&quot;,&#xA;            &quot;TestPath&quot;: &quot;Test-Path&quot;,&#xA;            &quot;if&quot;: &quot;Invoke-IfConfigFunction&quot;&#xA;        }&#xA;    },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It allowed me to run Prerequisites check and finish it successfully. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;P.S.&lt;/strong&gt; Then I faced the same exception during Sitecore installation process. Solution was similar: I added the following lines in the Registration section of &lt;code&gt;XM1-SingleDeveloper.json&lt;/code&gt;:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &quot;ConfigFunction&quot;:{&#xA;        &quot;if&quot;: &quot;Invoke-IfConfigFunction&quot;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, it looks like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Register&quot;: {&#xA;        &quot;Tasks&quot;: {&#xA;            &quot;OutNull&quot;: &quot;Out-Null&quot;&#xA;        },&#xA;        &quot;ConfigFunction&quot;:{&#xA;            &quot;if&quot;: &quot;Invoke-IfConfigFunction&quot;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would be much appreciated if somebody can explain why it happens.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-01-08T15:32:20.857" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15919" PostTypeId="2" ParentId="406" CreationDate="2019-01-08T19:56:40.043" Score="0" Body="&lt;p&gt;If your question re DAM selection is still open then I would recommend to consider building your external asset management based on &lt;a href=&quot;https://docs.aws.amazon.com/general/latest/gr/Welcome.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Amazon Web Services&lt;/a&gt; and then plugging it into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have recently released an open source module called &quot;External Asset Management in Sitecore&quot; what does all the integration routine, it is available on GitHub &lt;a href=&quot;https://github.com/kate-orlova/external-asset-management-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; and I hope that you will find it helpful.&lt;/p&gt;&#xA;" OwnerUserId="4390" LastActivityDate="2019-01-08T19:56:40.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15920" PostTypeId="1" CreationDate="2019-01-08T20:26:16.917" Score="0" ViewCount="418" Body="&lt;p&gt;My requirement is to set the language for the site based on the location. I planned to use a geo IP rule. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Referred to the below link but I'm not able to figure out how the geo ip rule should solve my requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/14989/sitecore-custom-personalization-rule-not-appearing-in-custom-rule-editor-in-site&quot;&gt;Sitecore custom personalization rule not appearing in Custom Rule Editor in Sitecore 9 update 2&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="237" LastEditDate="2019-01-09T15:06:59.813" LastActivityDate="2019-01-09T15:06:59.813" Title="How to use geo IP rule for setting the language in Sitecore?" Tags="|personalization|rules-engine|geo-location|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15922" PostTypeId="1" CreationDate="2019-01-08T22:45:38.233" Score="0" ViewCount="312" Body="&lt;p&gt;While deploying the CI/CD process with Sitecore 9 ARM Template, Maintenace.lock file came up when the Sitecore instance is started.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Talked to Microsoft Azure Dev Ops team and they pointed to us the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Commerce/90/Sitecore%20Experience%20Commerce%2090%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Commerce/90/Sitecore%20Experience%20Commerce%2090%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&gt;&#xA;  Deploying to an Azure App Service may fail intermittently when deploying all of Sitecore XP, Sitecore XC, SXA, and SXA Storefront, and when &quot;deployExmDds&quot; is set to true. This occurs because the bootloader does not correctly remove the locks after has finished processing. Workaround: remove “App_Data\Maintenance_lock”. And if it exists, remove file &quot;app_offline.htm&quot;. And, if file &quot;default.htm&quot; gets renamed to &quot;default.htm.sitedown&quot; then rename it back to &quot;default.htm&quot;. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We are not really using E-Commerce and deployExmDds parameter is set to false in ARM template parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let us know if you have come across a solution. Thanks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional Notes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we have a look at the InstallJob.log under the D:\home\LogFiles the following were written:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;1 2019-01-30 23:09:03,686 INFO  Putting lock    1 2019-01-30&#xA;  23:09:03,767 INFO  Putting lock, done    1 2019-01-30 23:09:03,811&#xA;  INFO  Executing processor&#xA;  Sitecore.Cloud.Integration.Bootload.InstallJob.Processors.InstallAppOfflineProcessor&#xA;  1 2019-01-30 23:42:23,281 INFO  Putting lock    1 2019-01-30&#xA;  23:42:23,359 INFO  Putting lock, done    1 2019-01-30 23:42:23,390&#xA;  INFO  Executing processor&#xA;  Sitecore.Cloud.Integration.Bootload.InstallJob.Processors.InstallAppOfflineProcessor&#xA;  1 2019-01-30 23:42:28,453 INFO  Executing processor&#xA;  Sitecore.Cloud.Integration.Bootload.InstallJob.Processors.InstallAppOfflineProcessor,&#xA;  done    1 2019-01-30 23:42:28,505 INFO  Executing processor&#xA;  Sitecore.Cloud.Integration.Bootload.InstallJob.Processors.PackageInstallProcessor&#xA;  1 2019-01-30 23:42:28,562 INFO  Installing package&#xA;  D:\home\site\wwwroot\App_Data\Transforms\WFFM.Cloud.Embed.CaptchaHandlers.sccpl&#xA;  1 2019-01-30 23:42:28,896 INFO  Installing package&#xA;  D:\home\site\wwwroot\App_Data\Transforms\WFFM.Cloud.Embed.CaptchaHandlers.sccpl,&#xA;  done    1 2019-01-30 23:42:28,922 INFO  No packages to install,&#xA;  shutting down    1 2019-01-30 23:42:28,955 INFO  Executing processor&#xA;  Sitecore.Cloud.Integration.Bootload.InstallJob.Processors.PackageInstallProcessor,&#xA;  done    1 2019-01-30 23:42:28,969 INFO  Executing processor&#xA;  Sitecore.Cloud.Integration.Bootload.InstallJob.Processors.RemoveAppOfflineProcessor&#xA;  1 2019-01-30 23:42:29,031 INFO  Executing processor&#xA;  Sitecore.Cloud.Integration.Bootload.InstallJob.Processors.RemoveAppOfflineProcessor,&#xA;  done    1 2019-01-30 23:42:29,281 INFO  Releasing lock    1 2019-01-30&#xA;  23:42:29,312 INFO  Releasing lock, done&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4471" LastEditorUserId="4471" LastEditDate="2019-01-30T23:49:25.663" LastActivityDate="2019-05-21T09:38:26.217" Title="Maintenance.lock file persist intermittently during Azure PaaS Deployment" Tags="|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15924" PostTypeId="2" ParentId="15540" CreationDate="2019-01-09T05:44:34.850" Score="0" Body="&lt;p&gt;After I tried several workarounds. I found the solution by add condition -&gt; comparing current Id to Content id ({0DE95AE4-41AB-4D01-9EB0-67441B7C2450}).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;GetItemDefinitions(ID itemid, CallContext context){&#xA;If (itemid.guid.tostring() == ContentRootId)&#xA;{&#xA;GetAllItems();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;that will run once, and first time before all content subitems.&lt;/p&gt;&#xA;" OwnerUserId="4774" LastActivityDate="2019-01-09T05:44:34.850" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15926" PostTypeId="1" AcceptedAnswerId="15927" CreationDate="2019-01-09T07:44:58.580" Score="4" ViewCount="1658" Body="&lt;p&gt;How do I verify if the JSS server package is installed correctly in sitecore? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have installed &quot;JSS Server package -&lt;br&gt;&#xA;Sitecore JavaScript Services Server for Sitecore 9.0 11.0.0 rev. 181031&quot; by following the documentation:&#xA;&lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/jss-server-install&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/jss-server-install&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned, when I browse the below url: &lt;code&gt;http://&amp;lt;sitecore_host_name&amp;gt;/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey=TEST&lt;/code&gt;, it responds with following resopnse&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This page isn’t working. If the problem continues, contact the site owner.&#xA;HTTP ERROR 400&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Current Sitecore version - 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="747" LastEditorUserId="2727" LastEditDate="2019-01-09T13:53:39.263" LastActivityDate="2019-01-09T13:53:39.263" Title="How to verify if Sitecore JSS is installed correctly" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15927" PostTypeId="2" ParentId="15926" CreationDate="2019-01-09T08:08:09.507" Score="5" Body="&lt;p&gt;Although a little counter intuitive, this does seem like the expected response to verify the server components are installed correctly.  The server should return a 400 with an invalid API key such as &quot;TEST&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The documentation you linked to does actually state this, but can see why it's a little confusing.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Verify your server components install worked, by visiting &lt;a href=&quot;http://your-sitecore-instance/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey=TEST&quot; rel=&quot;noreferrer&quot;&gt;http://your-sitecore-instance/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey=TEST&lt;/a&gt;. You &lt;strong&gt;should&lt;/strong&gt; receive HTTP Error 400.0 - API key is not valid &lt;strong&gt;&lt;em&gt;if it is working correctly&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In Step two of the next section of the guide (App Deployment), there are instructions on how to set up an API key.&#xA;&lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/app-deployment&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/app-deployment&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2019-01-09T08:08:09.507" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15928" PostTypeId="1" CreationDate="2019-01-09T08:26:08.677" Score="3" ViewCount="97" Body="&lt;p&gt;We have a requirement for filtering out the Sitecore &lt;code&gt;xConnect&lt;/code&gt; contacts who have visited the site in the last 24hours. These data needs to be synced to a &lt;code&gt;Salesforce&lt;/code&gt; custom object using &lt;code&gt;Data Exchange Framework&lt;/code&gt;. However, we don't know how to configure the filter expression for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be of great help, if someone can provide me some pointers on how to configure the same, or some links which explains about how to configure &lt;code&gt;DEF&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your time.&lt;/p&gt;&#xA;" OwnerUserId="4882" LastEditorUserId="5096" LastEditDate="2019-05-21T09:37:49.797" LastActivityDate="2019-05-21T09:37:49.797" Title="Custom filter criteria for sitecore xConnect Provider for Data Exchange Framework" Tags="|xconnect|data-exchange-framework|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15930" PostTypeId="1" CreationDate="2019-01-09T13:13:02.717" Score="2" ViewCount="452" Body="&lt;p&gt;I need to display a field value only in a certain domain. Iam using rendering variant with below rule enabled but not able to see the value coming even in the domain 'sc9.local'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2gNa3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2gNa3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="237" LastEditDate="2019-01-09T13:34:06.710" LastActivityDate="2019-01-09T16:44:36.267" Title="How to display a field value in rendering variant only if host name matches?" Tags="|sxa|rules-engine|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15931" PostTypeId="2" ParentId="15930" CreationDate="2019-01-09T13:33:51.767" Score="1" Body="&lt;p&gt;The &quot;domain&quot; is your rule is not the domain name in the url - it is the Sitecore Security domain.. (try with &quot;extranet&quot; and you will see the field data). So that won't do what you want probably.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure there actually is an ootb rule that matches the host name.. a list can be found here: &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-experience-management-personalization-conditions.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-experience-management-personalization-conditions.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could match on site name (if that is sufficient). Or give your site a specific security domain (that way your current rule will work if you alter the value). Or write a custom condition..&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-09T13:33:51.767" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15932" PostTypeId="1" CreationDate="2019-01-09T13:46:06.380" Score="1" ViewCount="377" Body="&lt;p&gt;We are working on Sitecore 9.0.2 in PaaS with multi-site environment.&#xA;The domain for first site was created when we provisioned the environment using ARM templates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now question here is for second site, how to get unique domain for this site?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site 1 --- Domain( &lt;code&gt;XXXX.cm.azurewebsites.net&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site 2 -(How to get Domain for this Site).&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="2727" LastEditDate="2019-01-09T13:51:26.267" LastActivityDate="2019-01-09T15:21:34.310" Title="How to manage domains in Multi-site environment with Sitecore PaaS" Tags="|multisite|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15934" PostTypeId="1" CreationDate="2019-01-09T14:41:40.230" Score="0" ViewCount="668" Body="&lt;p&gt;We are using SolrNet open source client in Sitecore 9.0 update2 and SXA 1.7 version. &#xA;We have written this code to get SolrConnection:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Assert.ArgumentNotNull(searchcontext, &quot;searchcontext&quot;);&#xA;var connection = new SolrConnection(&quot;http://localhost:8984/solr&quot; + &quot;/&quot; + searchcontext.Index.Name);            &#xA;try&#xA;{           &#xA;    Startup.Init&amp;lt;PageContentSearchResultItem&amp;gt;(connection);//if not specified, runtime error -&amp;gt; ISolrConnection not declared                 &#xA;}&#xA;catch (System.Exception)&#xA;{//suppress error&#xA;}&#xA;ISolrOperations&amp;lt;PageContentSearchResultItem&amp;gt; solr = Startup.Container.GetInstance&amp;lt;ISolrOperations&amp;lt;PageContentSearchResultItem&amp;gt;&amp;gt;();&#xA;return solr;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Solrnet search is working as expected without error, But when we try to access other SXA pages, it is throwing below error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;The given key was not present in the dictionary. &#xA;[ActivationException: Activation error occured while trying to get instance of type ISolrMoreLikeThisHandlerQueryResultsParser`1, key &quot;&quot;]&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sx9UU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sx9UU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Ideas how to fix this issue.&lt;/p&gt;&#xA;" OwnerUserId="2528" LastEditorUserId="2528" LastEditDate="2019-01-10T03:38:21.477" LastActivityDate="2019-01-10T03:38:21.477" Title="Sitecore SolrNet - The given key was not present in the dictionary error" Tags="|sxa|solr|sitecore-api|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="15935" PostTypeId="2" ParentId="15526" CreationDate="2019-01-09T15:01:23.900" Score="2" Body="&lt;p&gt;Created a custom controller similar to the one provided by Sitecore /sitecore/api/ssc/auth/login inherits from the ServicesApiController. Created our own Login method, wher we invoked the Sitecore's Login method [one of the overloads can be invoked without a password]. Something like the below,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Security.Accounts.User user =  Sitecore.Security.Authentication.AuthenticationManager.BuildVirtualUser(@&quot;domain\&quot; + id, true);&#xA;        if (user != null)&#xA;        {&#xA;            Sitecore.Security.UserProfile profile = user.Profile;&#xA;            profile.FullName = &quot;User Name&quot;;&#xA;            foreach (var role in &quot;ROLELIST&quot;)&#xA;            {&#xA;                if (Sitecore.Security.Accounts.Role.Exists(role))&#xA;                {&#xA;                    user.Roles.Add(Sitecore.Security.Accounts.Role.FromName(role));&#xA;                }&#xA;            }&#xA;         }&#xA;         profile.Save();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-02-26T20:06:19.200" LastActivityDate="2019-02-26T20:06:19.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15936" PostTypeId="2" ParentId="15920" CreationDate="2019-01-09T15:04:18.643" Score="1" Body="&lt;p&gt;If you want visitors to be directed to a language based on their location, you can use the geo IP data from Sitecore. In Sitecore you can setup Geo IP location detection. This will add information to the Tracker about the location of your visitor. This information can be used for language detection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you need to do actually is create a language resolver and set the language based on the country in the visitor's tracker. There are some pitfalls though as you need to make sure the data is available (especially on a first request it might not yet be filled when you request the location). The trick is to postpone your code - make sure it's in the right pipeline (after the location data is in the tracker).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read how I did it (with code) on &#xA;&lt;a href=&quot;https://ggullentops.blogspot.com/2018/05/sitecore-context-language-geo-ip-location.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2018/05/sitecore-context-language-geo-ip-location.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-09T15:04:18.643" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15937" PostTypeId="2" ParentId="15932" CreationDate="2019-01-09T15:21:34.310" Score="7" Body="&lt;p&gt;In Azure Portal, on your CD's (or other instances) you can add custom domains.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lpJ1M.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lpJ1M.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before doing so, you will need to add DNS records for those domains. You can CNAME them to the xxx-cd.azurewebsites.net site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, it is just standard sitecore, where you need to add those domains in your sitecore configuration (sites node).&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-01-09T15:21:34.310" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15938" PostTypeId="2" ParentId="15930" CreationDate="2019-01-09T16:44:36.267" Score="2" Body="&lt;p&gt;You would have to create a custom condition for this. But its pretty simple. You can inherit from the &lt;code&gt;StringOperatorCondition&amp;lt;T&amp;gt;&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RequestHostNameRule&amp;lt;T&amp;gt; : StringOperatorCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        Assert.ArgumentNotNull((object) ruleContext, nameof (ruleContext));&#xA;        if (string.IsNullOrEmpty(this.Value))&#xA;        {&#xA;            return false;&#xA;        }&#xA;&#xA;        var service = ServiceLocator.ServiceProvider.GetService&amp;lt;IContext&amp;gt;();&#xA;        return this.Compare(service.Request.Host, this.Value);&#xA;    }&#xA;&#xA;    public string Value{ get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That would do the check. Then you need to create a rule condition in &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Request/Request Host Name&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Cg4VL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cg4VL.png&quot; alt=&quot;New Rule Condition&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have done that, you will be able to use that rule in your rendering variant:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iT16Q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iT16Q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Caveat&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This will work fine for your local development machine, but in a production environment if the servers are behind a load balancer, the &lt;code&gt;Request.Url.Host&lt;/code&gt; value may not be what you expect depending on how the load balancer has been configured. &lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-01-09T16:44:36.267" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15939" PostTypeId="1" AcceptedAnswerId="16007" CreationDate="2019-01-09T18:24:21.543" Score="0" ViewCount="163" Body="&lt;p&gt;We are developing the JSS application in SSR headless mode. There will be more than 10 developers working at a time, when going through the options to deploy the content from JSS to Sitecore we noticed the below command,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;jss deploy app --includeContent --includeDictionary&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will install the content from JSS to Sitecore when our content item is in &quot;Development Mode&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Referring &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/dev-workflows/code-first#content-workflow-and-developer-overwrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/dev-workflows/code-first#content-workflow-and-developer-overwrite&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So is there a way to add a new version whenever we deploy the app using the command &quot;jss deploy app --includeContent --includeDictionary&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I mean is there a way to implement as below&#xA;When executing the command &quot;jss deploy app --includeContent --includeDictionary&quot;&#xA; 1. If any item which is new in JSS app, should get added to the Sitecore&#xA; 2. If any existing item [in &quot;Published&quot; state or no state selected] then create a new version for that item.&#xA; 3. If any item in other workflow states [not in final state] then overwrite the item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion will help us to create a better deployment workflow.. Thank You..&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-01-14T15:41:55.687" Title="Add new version of an item when deploying the content from JSS" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15940" PostTypeId="1" CreationDate="2019-01-09T19:29:25.060" Score="0" ViewCount="833" Body="&lt;p&gt;Recently I came across a request from my client that they often get publishing queued. When we are in initial stage we only have few sites any very minimal users who is working on our CM. But currently we have a huge number of sites and vast number of users who working on a single instance. So whenever a user publishes an item it often ends with publishing queues since some one is already initiated a publishing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any alternative approach to handle this situation where allowing concurrent users to publish their items without queuing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read an article of parallel publishing from &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/latest_technical_reinnovations/posts/parallel-publishing&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore&lt;/a&gt;&#xA;. But this doesn't fulfill my above requirement. Can someone suggest an idea for it. The version that we are using is Sitecore 8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="976" LastActivityDate="2019-01-10T12:24:02.807" Title="Avoid publishing queues / allow concurrent users to publish on Sitecore 8.1" Tags="|publishing|events|publishing-service|event-queue|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15941" PostTypeId="2" ParentId="15940" CreationDate="2019-01-09T19:58:55.500" Score="1" Body="&lt;p&gt;Sitecore has released on 8.2 the publishing service which is not built into the product but it's a service that works really well for that. This is more as an FYI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you said you are running on 8.1 so the only way you can get around that is by establishing processes if upgrading is not an option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example do all of those users need publishing permissions? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you have a role and assign to key users to trigger the publish avoiding the trigger to be pushed at the same time?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you have a publish scheduled task which pushes content live at a specific time?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have workflow properly setup which as the last step triggers a publish?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are all things you can look into and explore but in a nutshell for Sitecore 8.1 and lower versions you are stuck with the out of the box publishing system which behaves exactly like you described.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you trigger a publish programatically through the publish manager(custom processor or a simple call to it) your call will end up at some point creating the publish job and setting the jobstate to queued. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the method that does that(cleaned up for clarity):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishStatus publishStatus = new PublishStatus();&#xA;  JobOptions options1 = new JobOptions(nameof (Publish), this.publishManager.GetType().Name, &quot;publisher&quot;, (object) this.publishManager, &quot;DoPublish&quot;, new object[2]&#xA;  {&#xA;    (object) options,&#xA;    (object) publishStatus&#xA;  });&#xA;&#xA;  options1.AfterLife = TimeSpan.FromMilliseconds((double) (Settings.Publishing.PublishDialogPollingInterval * 2));&#xA;  options1.ExecuteInManagedThreadPool = Settings.Publishing.ExecuteInManagedThreadPool;&#xA;  publishStatus.SetState(JobState.Queued);&#xA;  Job job = JobManager.Start(options1);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2019-01-10T12:24:02.807" LastActivityDate="2019-01-10T12:24:02.807" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15942" PostTypeId="1" AcceptedAnswerId="15946" CreationDate="2019-01-09T21:50:15.887" Score="9" ViewCount="3373" Body="&lt;p&gt;We are migrating from Sitecore 8.2 to 9.0.2 and decided to start with &quot;fresh&quot; core, web, and master databases, migrating content on top of blank databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the most efficient method to transfer role and membership data from 8.2 core database to new 9.0.2 core database? Is it possible to do with on SQL level with tool like Red Gate?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update on 01/11/2019&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All answers are helpful! We decided to proceed with option 3 in answer by @jammykam and developed custom code to move data from SQL tables (see list in accepted answer) into the new database. For that we also used solution described &lt;a href=&quot;https://stackoverflow.com/a/161410/1034012&quot;&gt;here&lt;/a&gt; to suspend and enable foreign keys in the target database.&lt;/p&gt;&#xA;" OwnerUserId="1869" LastEditorUserId="1869" LastEditDate="2019-01-11T14:48:13.357" LastActivityDate="2019-01-11T14:48:13.357" Title="Move users / roles / passwords to new core database" Tags="|sql-database|membership-provider|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15944" PostTypeId="1" CreationDate="2019-01-10T02:09:40.923" Score="2" ViewCount="234" Body="&lt;p&gt;The Icon window for changing icon is not loading. It has some script issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mOL6a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mOL6a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1263" LastActivityDate="2019-01-10T06:22:55.543" Title="Icon section not loading? Sitecore 8.2U7" Tags="|sitecore-client|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="15945" PostTypeId="2" ParentId="15942" CreationDate="2019-01-10T02:25:42.467" Score="-2" Body="&lt;p&gt;Express migration tool helps to migrate content from old CMS versions (Sitecore 6.6 to Sitecore 8.0 update7) to Sitecore 9.0 rev 171002 (Initial release).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To upgrade from Sitecore 8.2, You have to follow upgrade guideline steps. Please follow below link and take a look at Upgrade Guide and download update packages from Upgrade options section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Update2.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: If you're planning to upgrade Sitecore CMS, i would suggest to go for Sitecore 9.1 instead of Sitecore 9.0.2&lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2019-01-10T02:25:42.467" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15946" PostTypeId="2" ParentId="15942" CreationDate="2019-01-10T03:55:36.423" Score="15" Body="&lt;p&gt;There are a few options to transfer Users and Roles from one instance to another.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sitecore Packages&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the standard Package Designer application from the Development Tools menu in the Sitecore Desktop. You can then add the Roles and Users that you would like to package up for migration, generate the package, download it and then install it on the target instance in the same way you would do for content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GLcOn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GLcOn.png&quot; alt=&quot;Sitecore Package Designer&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Serialization&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative is to use the Serialization option from within the User Manager and Role Manager applications. The users and roles will be serialized to &lt;code&gt;(data)/serialization/security&lt;/code&gt; folder. You can copy this from the source instance to the target instance and then use the revert option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2fiXu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2fiXu.png&quot; alt=&quot;Serialize Security&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Transfer of Passwords&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For both of these options, &lt;strong&gt;the password of the user is not transferred&lt;/strong&gt;, and instead reset. The password is reset to a random value when using Sitecore Packages or to &lt;strong&gt;&quot;b&quot;&lt;/strong&gt; when using serialization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then either reset the password for the users manually (from the User Manager application), or the users can reset the password themselves by using the &lt;em&gt;Forgot your password&lt;/em&gt; option from the login screen, assuming the mail server setting have been configured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also have the option to use the &lt;code&gt;TransferUserPasswords.aspx&lt;/code&gt; tool to transfer the passwords from the source and target databases. You can read more about this in the KB article: &lt;a href=&quot;https://kb.sitecore.net/articles/242631&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/242631&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;SQL&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The role and user data is stored using ASP.NET Membership provider in SQL Server tables in the Core database. So it is possible to transfer the roles and users with a tool such as Redgate SQL. This has the advantage that it would also transfer the passwords without the need to run the utility above. You will need to ensure you migrate user data from the following tables at a minimum:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;aspnet_Membership&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Profile&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Roles&lt;/li&gt;&#xA;&lt;li&gt;aspnet_Users&lt;/li&gt;&#xA;&lt;li&gt;aspnet_UsersInRoles&lt;/li&gt;&#xA;&lt;li&gt;RolesInRoles (you can transfer roles using one of the above options instead)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="135" LastActivityDate="2019-01-10T03:55:36.423" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="15951" PostTypeId="1" CreationDate="2019-01-10T12:07:42.373" Score="1" ViewCount="2251" Body="&lt;p&gt;In a scope of Sitecore Web project an API Contoller is used. Got the following response error message during jQuery AJAX GET API request:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tnk7q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tnk7q.png&quot; alt=&quot;jQuery AJAX message error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a back-end side I use IHttpActionResult action method that returns &lt;strong&gt;Json&lt;/strong&gt; object such as &lt;strong&gt;return Json(model)&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An API Action method looks like below: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IHttpActionResult Get(Guid id)&#xA;{&#xA;  var targetItem = Context.Database.GetItem(new ID(id)); var model = new List&amp;lt;T&amp;gt;();&#xA;&#xA;  //business logic where appropriate data&amp;lt;T&amp;gt; (simple properties such as Guid, string) is added to model. &#xA;&#xA;  return Json(model); &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and AJAX call function looks like below: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$.ajax({ &#xA;  type: &quot;GET&quot;, &#xA;  url: url, &#xA;  dataType: &quot;json&quot;, &#xA;  contentType: &quot;application/json; charset=utf-8&quot;, &#xA;  success: function(response) { }, &#xA;  error (req,err){ //here I got &quot;parsererror&quot; message }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;During this call the following &lt;strong&gt;Exception&lt;/strong&gt; is executed: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException Message: Attempt to retrieve context object of type 'Sitecore.Mvc.Presentation.PageContext' from empty stack. Source: Sitecore.Mvc at Sitecore.Mvc.Common.ContextService.Peek[T]() at Sitecore.Mvc.Pipelines.MvcPipelineArgs.get_PageContext() at Sitecore.Mvc.ExperienceEditor.Pipelines.Request.RequestEnd.AddPageExtenders.Process(RequestEndArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This issue is caused on Production CD server. In localhost everything is OK. Any ideas how I can avoid this issue?&lt;/p&gt;&#xA;" OwnerUserId="4782" LastEditorUserId="4782" LastEditDate="2019-01-10T20:06:57.313" LastActivityDate="2019-01-10T20:06:57.313" Title="jQuery AJAX GET request returning “parsererror” error response message" Tags="|sitecore-api|webapi|javascript|ajax|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="15952" PostTypeId="1" AcceptedAnswerId="15955" CreationDate="2019-01-10T13:18:46.340" Score="3" ViewCount="221" Body="&lt;p&gt;Sitecore 8.1 here, I'm currently using the Sitecore &lt;strong&gt;AD Module 1.3&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I search through my users from the back-end using the User Manager, I can easily find all the users I want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to retrieve the from my code though, using &lt;code&gt;UserManager.GetUsers()&lt;/code&gt;, some users - seemingly at random - don't show up at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is this happening? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a configuration field I'm not aware of that makes so that they don't show up when I invoke &lt;code&gt;GetUsers()&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="5096" LastEditDate="2019-05-21T09:18:01.753" LastActivityDate="2019-05-21T09:18:01.753" Title="Sitecore Active Directory Module: GetUsers() not returning all user records" Tags="|active-directory-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15953" PostTypeId="1" CreationDate="2019-01-10T15:07:22.233" Score="0" ViewCount="535" Body="&lt;p&gt;Is there a way to show separate images for mobile and desktop in Sitecore Rich Text Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an image which contains a table with more than 4 columns. It shows perfectly on a desktop. But when I check the page in mobile the image gets shrunk and the contents on the image is not readable. So Is there a way to show separate images for mobile and desktop.&lt;/p&gt;&#xA;" OwnerUserId="3891" LastActivityDate="2019-01-11T07:00:06.853" Title="Sitecore Rich Text Editor seperate image for mobile and desktop" Tags="|content-editor|richtext-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15955" PostTypeId="2" ParentId="15952" CreationDate="2019-01-10T15:12:37.903" Score="4" Body="&lt;p&gt;Basically, Sitecore uses standard .NET Membership provider. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest to check what a membership provider is configured in your solution.To do that go to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;web.config -&amp;gt; /configuration/system.web/membership/providers&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may have a custom override membership provider where you can have a wrong implementation of some required methods.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just try to use the following static method of the standard &lt;strong&gt;Microsoft Membership provider&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Membership.FindUsersByName(usernameToMatch, pageIndex, pageSize, out totalRecords) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4782" LastEditorUserId="4782" LastEditDate="2019-01-11T10:24:02.620" LastActivityDate="2019-01-11T10:24:02.620" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="15961" PostTypeId="2" ParentId="15953" CreationDate="2019-01-10T16:48:33.857" Score="2" Body="&lt;p&gt;The way I see it, you have two options:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;1. Handle it with CSS&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I would recommend handling it with CSS classes. Simply add both images, but use classes to specify which displays based on the viewport size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you use &lt;a href=&quot;https://getbootstrap.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Bootstrap&lt;/a&gt;, you could do something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;/path/to/desktop-image&quot; alt=&quot;large image&quot; class=&quot;hidden-xs hidden-sm&quot;/&amp;gt;&#xA;&amp;lt;img src=&quot;/path/to/mobile-image&quot; alt=&quot;small image&quot; class=&quot;hidden-md hidden-lg&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You could simplify this for editors by &lt;a href=&quot;https://gopigujjula.com/2017/10/Sitecore-RTE-Add-HTML-Snippet/&quot; rel=&quot;nofollow noreferrer&quot;&gt;adding snippets&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;2. Implement custom media types (not recommended)&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Implement custom image media types with an extra image field (e.g. &lt;code&gt;Mobile Image&lt;/code&gt;) so you can attach both desktop and mobile images&lt;/li&gt;&#xA;&lt;li&gt;Update the media rendering to evaluate whether the request is a desktop or mobile request and serve the image from the proper field&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I don't recommend this approach because:&#xA;1. You will need to mess with system templates (or create copies of them and update configs to point to your new types, convert existing media items, etc.)&#xA;2. During media rendering, you will need to do extra processing &lt;em&gt;on every media request&lt;/em&gt; to see if you should be showing the desktop or mobile version&#xA;  * Further, this approach will not support flexible responsive design because the image will be rendered when the page is loaded&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-01-10T16:48:33.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15962" PostTypeId="2" ParentId="14156" CreationDate="2019-01-10T16:58:48.530" Score="1" Body="&lt;p&gt;I'm not sure what version of Sitecore you are using but have just been fighting this same issue in Sitecore 8.2 update 7 and in the end it seems that the Like() function achieved what I wanted:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var phrasedText = $@&quot;&quot;&quot;{trimmedLookupText}&quot;&quot;&quot;;&#xA;var predicate = PredicateBuilder.True&amp;lt;CustomSearchResultItem&amp;gt;();&#xA;predicate = predicate.And(p =&amp;gt; p.Name.Like(phrasedText)); &#xA;var results = context.GetQueryable&amp;lt;CustomSearchResultItem&amp;gt;().Where(predicate).ToList()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note I do some trimming of the phrasedText text string and remove some special chars before passing it to the Like function. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above results in a query like so being sent to Azure Search:&#xA;18464 16:47:09 INFO  AzureSearch Query [test-azure-index]: &amp;amp;search=name:\&quot;joe blogs\&quot;~&amp;amp;queryType=full&amp;amp;$top=2147483647&amp;amp;$count=true&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My understanding is that this is creating a 'Phase Search' in Azure so matches the whole text instead of just each word which would usually be the case with Azure Search:&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/simple-query-syntax-in-azure-search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/rest/api/searchservice/simple-query-syntax-in-azure-search&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also worth reading this document regarding the limitations of Azure Search in Sitecore 8.2:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/support-reference-for-azure-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/support-reference-for-azure-search.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if this is the same in 9.x but interestingly the Same article for 9.0 mentioned Fuzzy (Like()) searches being interpreted by Azure Search as Phrase queries (which seems to be what is happening here for 8.2 but isn't mentioned in the 8.2 article): &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/sitecore-azure-search-overview.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/sitecore-azure-search-overview.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-01-10T16:58:48.530" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15964" PostTypeId="2" ParentId="15922" CreationDate="2019-01-10T21:46:39.683" Score="1" Body="&lt;p&gt;Yes, that's a Bootloader fails to install some module. Most likely it's a post step run failure. You can find installation logs in &lt;code&gt;d:\home\LogFiles\InstallJob.log&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Modules defined in &lt;code&gt;azuredeploy.json&lt;/code&gt;, &lt;code&gt;parameters\modules&lt;/code&gt;. After template run, transformations and post step info is stored under &lt;code&gt;App_Data\Transforms&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can delete &lt;code&gt;Maintenance_lock&lt;/code&gt;, &lt;code&gt;app_offline.htm&lt;/code&gt;- Sitecore will start and retry module installation. &lt;/p&gt;&#xA;" OwnerUserId="209" LastEditorUserId="5096" LastEditDate="2019-05-21T09:38:26.217" LastActivityDate="2019-05-21T09:38:26.217" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15965" PostTypeId="2" ParentId="9931" CreationDate="2019-01-10T22:05:20.100" Score="0" Body="&lt;p&gt;Multilingual search is supported starting from 8.2 Update-7, see &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update7/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release Notes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="209" LastActivityDate="2019-01-10T22:05:20.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15966" PostTypeId="1" AcceptedAnswerId="15991" CreationDate="2019-01-10T22:19:25.173" Score="3" ViewCount="400" Body="&lt;p&gt;Sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a super simple interaction facet that I am trying to push into xDB. &#xA;Below are the facet, the model, the Json representation that I put into the xConnect Models folder and the client API call. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It does not error as long as I have any kind of an event (my goal) in the interaction. It runs, but it does not save my facet. If I remove the goal/event, it errors since I believe the interaction is empty. Seems like the facet just isn't being added to the interaction before I call the client. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have gone over this code several times. I just can't see what I am missing.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The issue&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When the code below runs, it runs successfully. But I only get the goal in the interaction. The facets are empty. No errors in the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Additional error message for question SEO&lt;/em&gt;&lt;/strong&gt;&#xA;The type of this instance does not correspond to any type in the model. The type is Client.XdbModels.Facets.SwimEvent.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The facet&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    using System;&#xA;    using Sitecore.XConnect;&#xA;&#xA;    [FacetKey(DefaultFacetKey)]&#xA;    [Serializable]&#xA;    public class SwimEvent : Facet&#xA;    {&#xA;        public SwimEvent()&#xA;        {&#xA;        }&#xA;&#xA;        public const string DefaultFacetKey = &quot;SwimEvent&quot;;&#xA;&#xA;        public string PoolId { get; set; }&#xA;&#xA;        public DateTime EventDate { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The Model&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    using Sitecore.XConnect;&#xA;    using Sitecore.XConnect.Schema;&#xA;    using Client.Integrations.Swim.Facets;&#xA;&#xA;    public class SwimEventModel&#xA;    {&#xA;        public static XdbModel Model { get; } = BuildModel();&#xA;&#xA;        private static XdbModel BuildModel()&#xA;        {&#xA;            var modelBuilder = new XdbModelBuilder(&quot;SwimEventModel&quot;, new XdbModelVersion(1, 0));&#xA;&#xA;            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);&#xA;&#xA;            modelBuilder.DefineFacet&amp;lt;Interaction, SwimEvent&amp;gt;(SwimEvent.DefaultFacetKey);&#xA;&#xA;            return modelBuilder.BuildModel();&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The model representation&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;Name&quot;: &quot;SwimEventModel&quot;,&#xA;  &quot;Version&quot;: &quot;1.0&quot;,&#xA;  &quot;References&quot;: [&#xA;    {&#xA;      &quot;Name&quot;: &quot;XConnect&quot;,&#xA;      &quot;Version&quot;: &quot;1.0&quot;&#xA;    },&#xA;    {&#xA;      &quot;Name&quot;: &quot;Sitecore.XConnect.Collection.Model&quot;,&#xA;      &quot;Version&quot;: &quot;9.0&quot;&#xA;    }&#xA;  ],&#xA;  &quot;Types&quot;: {&#xA;    &quot;Usms.Integrations.Swim.Facets.SwimEvent&quot;: {&#xA;      &quot;Type&quot;: &quot;Facet&quot;,&#xA;      &quot;BaseType&quot;: &quot;Sitecore.XConnect.Facet&quot;,&#xA;      &quot;ClrType&quot;: &quot;Client.Integrations.Swim.Facets.SwimEvent, Client.Integrations.Swim, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot;,&#xA;      &quot;Properties&quot;: {&#xA;        &quot;PoolId&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;EventDate&quot;: {&#xA;          &quot;Type&quot;: &quot;DateTime&quot;&#xA;        }&#xA;      }&#xA;    }&#xA;  },&#xA;  &quot;Facets&quot;: [&#xA;    {&#xA;      &quot;Target&quot;: &quot;Interaction&quot;,&#xA;      &quot;Name&quot;: &quot;SwimEvent&quot;,&#xA;      &quot;Type&quot;: &quot;Client.Integrations.Swim.Facets.SwimEvent&quot;&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The client call&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public async Task AddEvent(string email)&#xA;{&#xA;    using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;    {&#xA;        {&#xA;            try&#xA;            {&#xA;&#xA;                var existingContactTask = client.GetAsync&amp;lt;Sitecore.XConnect.Contact&amp;gt;(new IdentifiedContactReference(Sitecore.Foundation.Accounts.Constants.Strings.UserLoginIdentifier, &quot;me@gmail.com&quot;), new Sitecore.XConnect.ContactExpandOptions());&#xA;&#xA;                var existingContact = await existingContactTask;&#xA;&#xA;                if (existingContact != null)&#xA;                {&#xA;                    var channelId = Guid.Parse(&quot;7EAA9ED7-188F-40CA-80B9-4439C28386C9&quot;);  // Replace with real channel ID&#xA;                    var userAgent = &quot;Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X)&quot;;&#xA;&#xA;                    var interaction = new Interaction(existingContact, InteractionInitiator.Contact, channelId, userAgent);&#xA;&#xA;                    var goalID = Guid.Parse(&quot;{CFE46AAF-7ECF-456F-8823-A27DF80BDB82}&quot;); // ID of goal item&#xA;                    var goal = new Goal(goalID, DateTime.UtcNow) {EngagementValue = 20};&#xA;                    interaction.Events.Add(goal);&#xA;&#xA;                    client.SetFacet&amp;lt;SwimEvent&amp;gt;(interaction, SwimEvent.DefaultFacetKey, new SwimEvent() { PoolId = &quot;123&quot; });&#xA;&#xA;                    client.AddInteraction(interaction);&#xA;&#xA;                    await client.SubmitAsync();&#xA;                    }&#xA;                }&#xA;            catch (XdbExecutionException ex)&#xA;            {&#xA;                // Handle exception&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-01-22T21:15:29.040" LastActivityDate="2019-01-22T22:11:39.337" Title="Interaction facet not saving to xDB" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15967" PostTypeId="2" ParentId="12825" CreationDate="2019-01-11T00:08:58.393" Score="1" Body="&lt;p&gt;This question was answered well in &lt;a href=&quot;https://stackoverflow.com/questions/34614617/sitecore-8-experience-editor-and-jquery&quot;&gt;https://stackoverflow.com/questions/34614617/sitecore-8-experience-editor-and-jquery&lt;/a&gt; and &lt;a href=&quot;https://stackoverflow.com/questions/34670186/why-jquery-functions-are-not-loading-in-preview-mode&quot;&gt;https://stackoverflow.com/questions/34670186/why-jquery-functions-are-not-loading-in-preview-mode&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They both mention running &lt;code&gt;jQuery&lt;/code&gt; in no-conflict mode. See this kb article for details: &lt;a href=&quot;https://kb.sitecore.net/articles/286042&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/286042&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;As an alternative approach I try to avoid running custom JavaScript in &lt;code&gt;Experience Editor&lt;/code&gt;. &#xA;I accept this is not always possible but consider presenting a slightly different view in Experience Editor as compared to the live page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Due to the fact that Experience Editor has its own JavaScript to enable inline editing, Edit Frames and placeholders. There is already a lot of interactivity going on in edit mode. What you then often experience (as per the question) is conflicts with your custom JavaScript on the page. Or if you don't have conflicts Experience Editor is already very JS heavy.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By using logic in your razor to detect Experience Editing mode, you can create a slightly different experience for the editors with custom JS turned off.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (Sitecore.Context.PageMode.IsExperienceEditorEditing)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For example:  Often on a homepage a feature slider exists at the top.  Instead of showing a wide screen slider run by custom javascript, consider a different Experience Editor view that displays the sliders as tiles instead.  Each tile is surrounded by an Edit Frame that gives the editor full ability to change the content.&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bq3OF.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bq3OF.jpg&quot; alt=&quot;Alternative view in Experience Editor&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="2714" LastEditDate="2019-01-11T01:54:57.170" LastActivityDate="2019-01-11T01:54:57.170" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15969" PostTypeId="1" AcceptedAnswerId="15971" CreationDate="2019-01-11T06:38:08.260" Score="0" ViewCount="134" Body="&lt;p&gt;Experts&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.1 Upd 3. However, as this version has been discontinued at the end of 2018,&#xA;I started considering upgrading to the latest Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Referring to Sitecore's compatibility table, in 8.1 and 9.1, in all of OS / SQL / Mongo / Solr,&#xA;I found that a different version is required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, the site we operate is on the virtual server on IaaS, and it is not easy for users to upgrade the OS,&#xA;I can not assume it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our environment is follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore 8.1 Update 3&#xA;OS Windows Server 2012 R2&#xA;SQL SQL Server 2012&#xA;Mongo 3.0&#xA;Solr 4.1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A question&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to upgrade Sitecore from 8.1 to 9.1 without upgrading the OS (Windows)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to run Sitecore 8.1 with OS / SQL / Mongo / Solr version adapted to the requirements of 9.1?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope you will receive wisdom.&lt;/p&gt;&#xA;" OwnerUserId="3870" LastActivityDate="2019-01-11T09:35:26.360" Title="Upgrade Sitecore XP 8.1 to 9,1" Tags="|upgrade|" AnswerCount="1" CommentCount="1" ClosedDate="2019-01-11T10:20:22.260" ContentLicense="CC BY-SA 4.0" />
  <row Id="15970" PostTypeId="2" ParentId="15953" CreationDate="2019-01-11T07:00:06.853" Score="1" Body="&lt;p&gt;As &lt;strong&gt;@Dan Sinclair&lt;/strong&gt; said, use css classes. I had the similar tasks in several projects and I solved it by patching renderField pipeline.&#xA;Possible it will helpful for you.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;      &#xA;  &amp;lt;renderField&amp;gt;&#xA;    &amp;lt;processor type=&quot;namespace.RichTextFieldResponsiveImages, dll&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.RenderField.GetFieldValue, Sitecore.Kernel']&quot; /&amp;gt;        &#xA;  &amp;lt;/renderField&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;RichTextFieldResponsiveImages.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RichTextFieldResponsiveImages&#xA;{&#xA;    private static string ResponsiveImageClass = &quot;img-responsive&quot;;&#xA;&#xA;    public void Process(RenderFieldArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        Assert.ArgumentNotNull(args.FieldTypeKey, &quot;args.FieldTypeKey&quot;);&#xA;&#xA;        if (args.FieldTypeKey != &quot;rich text&quot;)&#xA;            return;&#xA;        args.Result.FirstPart = ProcessHtml(args.Result.FirstPart);&#xA;    }&#xA;&#xA;    private static string ProcessImage(string imageTag)&#xA;    {&#xA;        imageTag = Regex.Replace(imageTag, @&quot;(&amp;lt;img[^&amp;gt;]*?)\s+height\s*=\s*\S+&quot;, &quot;$1&quot;, RegexOptions.IgnoreCase);&#xA;        imageTag = Regex.Replace(imageTag, @&quot;(&amp;lt;img[^&amp;gt;]*?)\s+width\s*=\s*\S+&quot;, &quot;$1&quot;, RegexOptions.IgnoreCase);&#xA;        imageTag = Regex.Replace(imageTag, @&quot;(&amp;lt;img[^&amp;gt;]*?)\s+responsive\s*=\s*\S+&quot;, &quot;$1&quot;, RegexOptions.IgnoreCase);&#xA;        imageTag = Regex.Replace(imageTag, @&quot;(.*style\s*=.*)(height:[0-9A-z\s]*;?)(.*)&quot;, &quot;$1$3&quot;, RegexOptions.IgnoreCase);&#xA;&#xA;        if (imageTag.IndexOf(&quot;class=&quot;, System.StringComparison.Ordinal) == -1)&#xA;        {&#xA;            return imageTag.Replace(&quot;&amp;lt;img&quot;, &quot;&amp;lt;img class=\&quot;&quot; + ResponsiveImageClass + &quot;\&quot; &quot;);&#xA;        }&#xA;&#xA;        var matchsImageClass = Regex.Matches(imageTag, &quot;class=[\&quot;'](.+?)[\&quot;']&quot;, RegexOptions.IgnoreCase);&#xA;        foreach (Match matchImageClass in matchsImageClass)&#xA;        {&#xA;            if (matchImageClass.Success &amp;amp;&amp;amp; matchImageClass.Value.IndexOf(ResponsiveImageClass, System.StringComparison.Ordinal) == -1)&#xA;            {&#xA;                return imageTag.Replace(matchImageClass.Groups[1].Value, matchImageClass.Groups[1].Value + &quot; &quot; + ResponsiveImageClass);&#xA;            }&#xA;        }&#xA;&#xA;        return imageTag;&#xA;    }&#xA;&#xA;    private static string ProcessHtml(string html)&#xA;    {&#xA;        var matchsImageTag = Regex.Matches(html, &quot;&amp;lt;img.+?&amp;gt;&quot;, RegexOptions.IgnoreCase);&#xA;        foreach (Match matchImageTag in matchsImageTag)&#xA;        {&#xA;            if (matchImageTag.Success)&#xA;            {&#xA;                html = html.Replace(matchImageTag.Value, ProcessImage(matchImageTag.Value));&#xA;            }&#xA;        }&#xA;&#xA;        return html;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4791" LastActivityDate="2019-01-11T07:00:06.853" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15971" PostTypeId="2" ParentId="15969" CreationDate="2019-01-11T09:35:26.360" Score="1" Body="&lt;p&gt;I'm not sure about running Sitecore 9.1 on Windows Server 2012 R2 (I suspect you can't), but it is certainly possible to run Sitecore 8.1 with the requirements for Sitecore 9.1. So you could set up a new environment with the requirements for SC91 and run the SC81 site on it before upgrading.&lt;/p&gt;&#xA;" OwnerUserId="2435" LastActivityDate="2019-01-11T09:35:26.360" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15972" PostTypeId="1" AcceptedAnswerId="15973" CreationDate="2019-01-11T09:36:39.647" Score="0" ViewCount="1252" Body="&lt;p&gt;Today while working with Sitecore XC I landed up with storefront having No catalog data.&#xA;The error reads as - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;26560 14:47:37 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.&amp;lt;BeginExecuteCore&amp;gt;b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.Exceptions.InvalidItemException&#xA;Message: Invalid catalog Id&#xA;Source: Sitecore.Commerce.XA.Foundation.Common&#xA;   at Sitecore.Commerce.XA.Foundation.Common.Models.CommerceStorefront.get_CatalogItem()&#xA;   at Sitecore.Commerce.XA.Foundation.Common.Models.CommerceStorefront.get_Catalog()&#xA;   at Sitecore.Commerce.XA.Feature.Catalog.Models.ProductLists.NamedSearch.GetProductEntities(IEnumerable`1 items)&#xA;   at Sitecore.Commerce.XA.Feature.Catalog.Models.ProductLists.NamedSearch.GetProducts(Int32 pageSize, Int32 pageNumber)&#xA;   at Sitecore.Commerce.XA.Feature.Catalog.Repositories.PromotedProductsRepository.GetPromotedProductsJsonResult(IVisitorContext visitorContext, String productListId, String relationshipFieldId, String currentItemId, String currentCatalogItemId, Nullable`1 pageSize, Nullable`1 pageNumber)&#xA;   at Sitecore.Commerce.XA.Feature.Catalog.Controllers.CatalogController.GetPromotedProducts(Nullable`1 pageSize, Nullable`1 pageNumber, String productListsRawValue, String relationshipFieldId, String currentItemId, String currentCatalogItemId)&#xA;   at lambda_method(Closure , ControllerBase , Object[] )&#xA;   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;BeginInvokeSynchronousActionMethod&amp;gt;b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3d()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;&amp;gt;c__DisplayClass2b.&amp;lt;BeginInvokeAction&amp;gt;b__1c()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The storefront site is loading but not showing any catalog items.&lt;/p&gt;&#xA;" OwnerUserId="1268" LastActivityDate="2019-06-10T10:02:00.527" Title="Sitecore commerce storefront not showing catalog- [No catalog data available] and &quot;Invalid catalog Id&quot;" Tags="|sitecore-commerce|commerce-catalog|sxa-storefront|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15973" PostTypeId="2" ParentId="15972" CreationDate="2019-01-11T09:43:36.307" Score="1" Body="&lt;p&gt;Figured out that somehow the catalog details was reset in configuration template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open Commerce catalog configuration&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;em&gt;&quot;/sitecore/content/Sitecore/Storefront/Settings/Commerce/Catalog Configuration&quot;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;For default instance set value of catalog to&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Catalog : sitecore/content/Sitecore/Storefront/Home/Catalogs/Habitat_Master&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;For 'Start Navigation Category'&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;sitecore/content/Sitecore/Storefront/Home/Catalogs/Habitat_Master/Habitat_Master-Departments&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1268" LastActivityDate="2019-01-11T09:43:36.307" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15974" PostTypeId="1" CreationDate="2019-01-11T10:11:37.883" Score="0" ViewCount="406" Body="&lt;p&gt;Is it somehow possible to trigger publishing of the item via Sitecore item web api?&#xA;I found how to get items and similar things, but can't find the way to publish it.&#xA;For instance, to get an item I would write something like that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CallSitecoreAPI(@&quot;&lt;a href=&quot;http://MyHost.com/-/item/v1/?sc_itemid=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://MyHost.com/-/item/v1/?sc_itemid=&lt;/a&gt;{A60ACD61-A6DB-4182-8329-C957982CEC74}&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be a syntax to publish this item from Master to Web database via item WebAPI?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS. We use Sitecore 7.5&#xA;Here it's said that I would need to create a custom action in a controller: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3525/publish-item-remotely-using-c&quot;&gt;publish item remotely using c#&lt;/a&gt;&#xA;Is there simplier approach? I just need to trigger this publication once to fix some bad data in our database and then forget about that script.&lt;/p&gt;&#xA;" OwnerUserId="3295" LastEditorUserId="1671" LastEditDate="2019-01-11T15:56:56.150" LastActivityDate="2019-01-11T15:56:56.150" Title="Is it possible to trigger publishing from Sitecore Item WebAPI" Tags="|item-web-api|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15975" PostTypeId="2" ParentId="13476" CreationDate="2019-01-11T11:13:50.887" Score="0" Body="&lt;p&gt;This is the code I use to do an incremental site publish for old school publishing as well as publishing service. Running publishing as below will add an entry to the publishing dashboard.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var publishAgent = new PublishAgent(SourceDb, targetDb, mode.ToString(), Languages);&#xA;publishAgent.Run();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2019-01-11T11:13:50.887" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15976" PostTypeId="2" ParentId="13476" CreationDate="2019-01-11T12:46:07.697" Score="3" Body="&lt;p&gt;&lt;strong&gt;Sitecore.Publishing.PublishManager&lt;/strong&gt; is recommended to use with SPS instead of Publisher. &#xA;It will show also all publishing tasks in the Publishing Dashboard of SPS.&lt;/p&gt;&#xA;" OwnerUserId="1183" LastActivityDate="2019-01-11T12:46:07.697" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15978" PostTypeId="1" AcceptedAnswerId="16009" CreationDate="2019-01-11T14:58:24.680" Score="4" ViewCount="651" Body="&lt;p&gt;I have Sitecore 8.2 with SXA, I need to change page status code in case user is not login, but try to open some pages only for login users.&#xA; Basically Sitecore works ok, I could be redirected to login page depending on settings and etc. &#xA;but the question is next why Sitecore return 302 status code ? How to change it to 403 at most proper way?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/yjWtO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yjWtO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="1324" LastEditDate="2019-01-12T16:14:02.480" LastActivityDate="2019-01-14T18:32:18.350" Title="How to return 403 status code instead of 302 when access it denied?" Tags="|sitecore-client|seo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15979" PostTypeId="1" AcceptedAnswerId="15980" CreationDate="2019-01-11T15:21:43.120" Score="2" ViewCount="962" Body="&lt;p&gt;I have setup an custom Azure Search index in Sitecore 8.2 u7 and was getting no results returned even though I have data in it (I can see the data in the Azure console). Looking in the Sitecore Search logs I can see the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;8960 15:19:22 INFO  AzureSearch Query [custom-azure-web-index]:&#xA;  &amp;amp;search=This_Is_Equal_ConstNode_Return_Nothing&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This isn't a very useful error message.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-01-11T15:21:43.120" Title="Custom Azure Search Index returns '&amp;search=This_Is_Equal_ConstNode_Return_Nothing' for searches" Tags="|content-search|configuration|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15980" PostTypeId="2" ParentId="15979" CreationDate="2019-01-11T15:21:43.120" Score="4" Body="&lt;p&gt;I figured this out in the end. Googling didn't give me any results regarding a custom Azure index but it did give me some ideas on what might be up:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/9617/experience-analytics-are-not-showing-online-interactions?rq=1&quot;&gt;Experience Analytics are not showing Online Interactions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://devsencore.wordpress.com/tag/azure-search/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://devsencore.wordpress.com/tag/azure-search/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These links mentioned issues with configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It turned out to be a problem with how one of my custom fields was configured in my Azure indexConfiguration file. e.g&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;customfield&quot; cloudFieldName=&quot;customfield&quot; searchable=&quot;YES&quot; retrievable=&quot;YES&quot; facetable=&quot;YES&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot; boost=&quot;4f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; cloudAnalyzer=&quot;language&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have this issue things to check in your config are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Check your field types are of the correct types&lt;/strong&gt; - and that you are mapping them to the correct Azure Field types. &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Check your cloudFieldName is in the right format for each field&lt;/strong&gt; - It can only The first character must be a letter. it can only contain letters, numbers, and underscores.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Check your settingType is correct&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More info here: &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/configure-azure-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/configure-azure-search.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-01-11T15:21:43.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15981" PostTypeId="1" CreationDate="2019-01-11T16:43:17.613" Score="-1" ViewCount="988" Body="&lt;p&gt;Trying to update media item field through script .In the csv file I have item name for uploaded images that needs to be updated in the Imagefield&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;script:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $AllPhotoGallery = Get-ChildItem -Path &quot;master://sitecore/media library/Images/photo-gallery&quot; -Recurse&#xA; $Mediaimage = $AllPhotoGallery   | Where-Object { $_.&quot;DisplayName&quot; -eq $PropertyPhotoName  };&#xA;&#xA;        $ID = $Property.&quot;Photos&quot;&#xA;&#xA;        $Property.Editing.BeginEdit();&#xA;        $Property[&quot;Photos&quot;] = $ID;  #Here&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Field:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/LYCfV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LYCfV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="3601" LastEditDate="2019-01-11T18:33:20.097" LastActivityDate="2019-06-10T19:04:55.657" Title="PowerShell script to update field with IDs to media items" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15982" PostTypeId="2" ParentId="15618" CreationDate="2019-01-11T16:46:57.783" Score="5" Body="&lt;p&gt;I have applied the hotfix as instructed by &lt;a href=&quot;https://sitecore.stackexchange.com/users/2673/george-tucker&quot;&gt;George Tucker&lt;/a&gt; and increased the number of history workers as instructed by &lt;a href=&quot;https://sitecore.stackexchange.com/users/432/chris-auer&quot;&gt;Chris Auer&lt;/a&gt;, in my case I have raised from 1 to 500. I'm getting much better speed now, around 1.500 items per minute! I have no idea if the hotfix had any role on this because I did both things before running the rebuild again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting history workers to 500 was too much for the server, Sitecore recommended me to set to 16 as I had a single dedicated server for processing. But one of the problems I was having after raising the number of history workers was that after some time the processing (rate of items processed per minute) was slowing down almost to a halt, independent of the number of history workers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After contacting Sitecore they said it was something to do with the implementation of the processing server and sent me &lt;code&gt;Sitecore.Support.230550.dll&lt;/code&gt; and &lt;code&gt;Sitecore.Support.230550.config&lt;/code&gt;. After patching the processing server with these files my rebuild was completed sucessfully after 10 hours of processing (arounf 320K items).&lt;/p&gt;&#xA;" OwnerUserId="897" LastEditorUserId="897" LastEditDate="2019-02-06T12:30:23.763" LastActivityDate="2019-02-06T12:30:23.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15983" PostTypeId="2" ParentId="15981" CreationDate="2019-01-11T17:21:16.907" Score="1" Body="&lt;p&gt;My understanding from your sample code is that you want to edit a field which contains 0 or or more item IDs. The &lt;a href=&quot;https://doc.sitecorepowershell.com/code-snippets&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation site&lt;/a&gt; has some examples for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following adds new Ids to an existing list. Makes use of the &lt;code&gt;Sitecore.Text.ListString&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;[Sitecore.Text.ListString]$ids = $item.Fields[&quot;Photos&quot;].Value&#xA;$ids.AddAt(0,&quot;{guid1}&quot;) &amp;gt; $null&#xA;$ids.Add(&quot;{guid2}&quot;) &amp;gt; $null&#xA;$ids.Add(&quot;{guid3}&quot;) &amp;gt; $null&#xA;&#xA;$item.Editing.BeginEdit()&#xA;$item.Fields[&quot;Photos&quot;].Value = $ids.ToString()&#xA;$item.Editing.EndEdit() &amp;gt; $null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-01-11T17:21:16.907" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15984" PostTypeId="1" CreationDate="2019-01-11T18:58:53.423" Score="7" ViewCount="2816" Body="&lt;p&gt;I would like to know how to update date field from CSV file.Attached the code while debugging I can able to publish date is updated but its not visible in Content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$currentItem.Editing.BeginEdit();&#xA;$currentItem[&quot;Publish Date&quot;] = $row.&quot;publish date&quot;&#xA;$currentItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;screenshot after running script:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ed0KQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ed0KQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="3601" LastEditDate="2019-01-11T21:45:46.430" LastActivityDate="2021-05-18T07:19:24.730" Title="Powershell Script to update Date" Tags="|powershell|" AnswerCount="5" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15985" PostTypeId="2" ParentId="9519" CreationDate="2019-01-11T19:28:14.080" Score="0" Body="&lt;p&gt;In my case I fixed the issue on our CD server by running the following Script in powershell after having running unicorn sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remove-Item -Path &quot;$WebsiteDir\$WebsiteDir\App_Config\Include\Unicorn&quot; -Force -Recurse -Verbose&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently leaving it on the CMS server works, but not the CD.&lt;/p&gt;&#xA;" OwnerUserId="4893" LastActivityDate="2019-01-11T19:28:14.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15986" PostTypeId="2" ParentId="15984" CreationDate="2019-01-11T21:37:01.480" Score="2" Body="&lt;p&gt;In Sitecore, when you need to edit an item using the Sitecore API, you first need to put the item in &lt;em&gt;Editing&lt;/em&gt; mode.  To do this, you'll can call &lt;code&gt;.Editing.BeginEdit()&lt;/code&gt; before attempting to modify the item.  Then end it with &lt;code&gt;.Editing.EndEdit()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$currentItem.Editing.BeginEdit()&#xA;$currentItem[&quot;Publish Date&quot;] = $row.&quot;publish date&quot;&#xA;$currentItem.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also format your call like this (brackets removed) and SPE will take care of all the necessary usages of &lt;code&gt;.Editing.BeginEdit&lt;/code&gt; and &lt;code&gt;.Editing.EndEdit&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$currentItem.&quot;Publish Date&quot; = $row.&quot;publish date&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additional information on working with items using SPE can be found on the &lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items&quot; rel=&quot;nofollow noreferrer&quot;&gt;SPE Documentation site&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4633" LastActivityDate="2019-01-11T21:37:01.480" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15988" PostTypeId="2" ParentId="15984" CreationDate="2019-01-12T06:43:22.120" Score="4" Body="&lt;p&gt;As far as editing an item, your script looks to be doing what it needs to, but I'm guessing the actual date value is not something Sitecore recognized for a &lt;code&gt;Date&lt;/code&gt; type field. Depending on the date format your CSV contains, you will likely need to utilize the &lt;code&gt;Sitecore.DateUtil&lt;/code&gt; class to parse it into something that field can accept:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$currentItem.Editing.BeginEdit()&#xA;$csvDate = [DateTime]::ParseExact($row.&quot;publish date&quot;,&quot;dd/MM/yyyy HH:mm:ss&quot;,[Globalization.cultureinfo]::GetCultureInfo(&quot;en-US&quot;))&#xA;$currentItem[&quot;Publish Date&quot;] = [Sitecore.DateUtil]::ToIsoDate($csvDate)&#xA;$currentItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="695" LastEditorUserId="695" LastEditDate="2019-01-13T13:08:32.353" LastActivityDate="2019-01-13T13:08:32.353" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="15990" PostTypeId="2" ParentId="15728" CreationDate="2019-01-12T18:03:44.357" Score="1" Body="&lt;p&gt;Solution is 2 step process,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Add &quot;Default Commerce Page&quot; Template to base template of the non-SXA pages.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/b2Inb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b2Inb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Goto standard values --&gt; Goto section Designing --&gt; Select the &lt;strong&gt;Page Design&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YoMF1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YoMF1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3658" LastActivityDate="2019-01-12T18:03:44.357" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15991" PostTypeId="2" ParentId="15966" CreationDate="2019-01-12T20:15:24.573" Score="2" Body="&lt;p&gt;I forgot all about the model patch config to tell Sitecore about the model type. Once I patched in this config, I was back in action.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;xconnect&amp;gt;&#xA;            &amp;lt;runtime type=&quot;Sitecore.XConnect.Client.Configuration.RuntimeModelConfiguration,Sitecore.XConnect.Client.Configuration&quot;&amp;gt;&#xA;                &amp;lt;schemas hint=&quot;list:AddModelConfiguration&quot;&amp;gt;&#xA;                    &amp;lt;!-- value of 'name' property must be unique --&amp;gt;&#xA;                    &amp;lt;schema name=&quot;swimevent&quot; type=&quot;Sitecore.XConnect.Client.Configuration.StaticModelConfiguration,Sitecore.XConnect.Client.Configuration&quot; patch:after=&quot;schema[@name='collectionmodel']&quot;&amp;gt;&#xA;                        &amp;lt;param desc=&quot;modeltype&quot;&amp;gt;Client.Integrations.Swim.Models.SwimEventModel, Client.Integrations.Swim&amp;lt;/param&amp;gt;&#xA;                    &amp;lt;/schema&amp;gt;&#xA;                &amp;lt;/schemas&amp;gt;&#xA;            &amp;lt;/runtime&amp;gt;&#xA;        &amp;lt;/xconnect&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you are working outsid&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    var collectionClient = new CollectionWebApiClient(new Uri(Constants.XConnectDomain.Url + &quot;/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;&#xA;    var searchClient = new SearchWebApiClient(new Uri(Constants.XConnectDomain.Url + &quot;/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;&#xA;    var configurationClient = new ConfigurationWebApiClient(new Uri(Constants.XConnectDomain.Url + &quot;/configuration&quot;), clientModifiers, new[] { certificateModifier });&#xA;&#xA;    // HERE IS WHERE YOU ADD YOUR MODEL&#xA;    XdbModel[] models = { CollectionModel.Model, SwimEventModel.Model };&#xA;&#xA;    var config = new XConnectClientConfiguration(new XdbRuntimeModel(models), collectionClient, searchClient, configurationClient);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-01-22T22:11:39.337" LastActivityDate="2019-01-22T22:11:39.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15992" PostTypeId="1" CreationDate="2019-01-13T09:28:29.397" Score="1" ViewCount="275" Body="&lt;p&gt;Iam using sitecore 9.1 and sxa 1.8, I created a rendering variant that has a &quot;Link&quot; component:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T9T9W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T9T9W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;to open a content on an &quot;Overlay&quot;.  Is there a way to pass the parameter &quot;$id&quot; from the rendering variant through the &quot;Link&quot; to a controller rendering displayed on the overlay?? &lt;/p&gt;&#xA;" OwnerUserId="3899" LastActivityDate="2019-01-13T09:28:29.397" Title="Create overlay link" Tags="|sxa|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15993" PostTypeId="2" ParentId="15984" CreationDate="2019-01-13T12:59:33.020" Score="1" Body="&lt;p&gt;This format is working for me:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$csvDate = [datetime]::ParseExact(&quot;23/09/2015 05:41:27&quot;,&quot;dd/MM/yyyy HH:mm:ss&quot;,[Globalization.cultureinfo]::GetCultureInfo(&quot;en-US&quot;))        &#xA;$currentItem[&quot;Publish Date&quot;] = [Sitecore.DateUtil]::ToIsoDate($csvDate)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="408" LastEditDate="2019-01-13T13:36:03.293" LastActivityDate="2019-01-13T13:36:03.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="15994" PostTypeId="2" ParentId="15579" CreationDate="2019-01-13T21:12:37.983" Score="0" Body="&lt;p&gt;Azure Dynamic cache can cause such issues, you can try disabling it in App settings WEBSITE_DYNAMIC_CACHE=0. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://blogs.msdn.microsoft.com/waws/2017/08/02/asp-net-and-asp-net-core-application-restarts-on-azure-app-service/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.msdn.microsoft.com/waws/2017/08/02/asp-net-and-asp-net-core-application-restarts-on-azure-app-service/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="209" LastActivityDate="2019-01-13T21:12:37.983" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15995" PostTypeId="1" CreationDate="2019-01-14T02:32:25.580" Score="0" ViewCount="271" Body="&lt;p&gt;Exporting an SXA 1.8 site (SC9.1) with Creative Exchange generates the static files, however the asset URLs in the exported HTML contain hyphens, whilst the folder structure from the zip file contains spaces, so the links are broken when previewing the static HTML pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link href=&quot;-/media/Feature/Experience-Accelerator/Bootstrap-4/Bootstrap-4/Styles/optimized-min-1.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which should refer to a folder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-\media\Feature\Experience Accelerator\Bootstrap 4\Bootstrap 4\Styles&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I get the exported HTML to align with the theme folder names?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using an IIS site mapped to the static assets, not just loading the files from disk to a browser. Site was exported as an Agency Drop.&#xA;EncodeNameReplacements is turned on in Sitecore config for spaces to hyphens out of the box, however disabling this doesn't fix the issue as the URLs with spaces still break.&lt;/p&gt;&#xA;" OwnerUserId="2034" LastEditorUserId="2034" LastEditDate="2019-01-14T05:21:56.953" LastActivityDate="2021-05-20T10:20:14.063" Title="SXA exported HTML - asset URLs broken" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="15997" PostTypeId="1" CreationDate="2019-01-14T05:45:35.733" Score="-1" ViewCount="628" Body="&lt;p&gt;We are using Sitecore 8.2 update 2 in our project. Currently facing issue when adding content to the Rich Text Editor programmatically it is removing new lines and line breaks automatically and the content displays as plain text. Please refer below images.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;When adding content programmatically: &lt;em&gt;There are no breaks in the content&lt;/em&gt;&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qbX1x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qbX1x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;When adding content directly in the content editor: &lt;em&gt;Here we can see the line breaks&lt;/em&gt;&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/F869w.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F869w.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me in fixing this issue how can we insert line breaks when adding content programmatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="4214" LastEditorUserId="342" LastEditDate="2019-01-14T15:33:32.863" LastActivityDate="2019-06-13T16:01:34.907" Title="While updating content in Sitecore RTE programmatically it is removing line breaks" Tags="|richtext-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15998" PostTypeId="2" ParentId="15997" CreationDate="2019-01-14T06:52:37.903" Score="0" Body="&lt;p&gt;In Sitecore.config you have a setting for LineBreak, default value is &lt;strong&gt;&quot;p&quot;&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;!--  HTML EDITOR LINE BREAK&#xA;            Specifies the tag that the HTML editor inserts on Enter. Values can be&#xA;            &quot;br&quot;, &quot;div&quot; and &quot;p&quot;.&#xA;      --&amp;gt;&#xA;    &amp;lt;setting name=&quot;HtmlEditor.LineBreak&quot; value=&quot;p&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Look like you are using a different string for linebreak in your code. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-01-14T06:52:37.903" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="15999" PostTypeId="2" ParentId="15995" CreationDate="2019-01-14T06:59:52.887" Score="1" Body="&lt;p&gt;Optimize-min files should not be exported. This might be a bug, please contact Sitecore support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a workaround please turn off asset optimization and try to export again:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LcTdP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LcTdP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-01-14T06:59:52.887" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16000" PostTypeId="1" CreationDate="2019-01-14T09:02:22.940" Score="-1" ViewCount="342" Body="&lt;p&gt;I am working on Sitecore commerce 9 update-1. &#xA;Many customizations are already done till now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For searching I'm using the default Search component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue :-&#xA;Product is not searchable by Product ID/Name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please share your thoughts where I can check - why Product items are not coming in search results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance :)&lt;/p&gt;&#xA;" OwnerUserId="3658" LastEditorUserId="73" LastEditDate="2019-02-13T11:25:40.897" LastActivityDate="2019-03-15T12:00:39.633" Title="Product ID or name is not searchable" Tags="|content-search|sitecore-commerce|azure-search|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16001" PostTypeId="2" ParentId="16000" CreationDate="2019-01-14T10:13:26.593" Score="1" Body="&lt;p&gt;OOTB Sitecore Commerce is searching from product id. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you search inside Commerce-&gt;Merchanding the products are search on &lt;strong&gt;Catalog_Item_Scope&lt;/strong&gt; index.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on the  solr index &#xA;&lt;a href=&quot;https://solr:8983/solr/#/catalog_items_scope/query&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://solr:8983/solr/#/catalog_items_scope/query&lt;/a&gt; . On your solution the name of the index probably is different. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you search for &lt;em&gt;:&lt;/em&gt; you will see results:  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/96dfd.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/96dfd.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't see any results in Catalog_scope_index can you try to run postman script to reindex all catalog items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/alxPx.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/alxPx.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-01-14T10:13:26.593" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16002" PostTypeId="1" CreationDate="2019-01-14T12:01:26.337" Score="0" ViewCount="68" Body="&lt;p&gt;Anyone know a way to automate sitecore rocks with TDS package building?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to create a solution where I read the pending TFS TDS items to get a list of sitecore .item files that are new or have updated. However, this needs to run with a sitecore context. I put the DLL into the instance but get a database configuration node error. Thought I might be able to create a sitecore rocks extension, but documentation seems, well, scant!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My end goal is to do a bunch of sitecore development and build any changed TFS .item files into a . update package with minimum fuss .. ie, click a single button!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="2046" LastEditorUserId="2056" LastEditDate="2019-01-14T13:31:10.607" LastActivityDate="2019-01-14T13:31:10.607" Title="Sitecore rocks automation" Tags="|tds|sitecore-rocks|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="16004" PostTypeId="1" AcceptedAnswerId="16008" CreationDate="2019-01-14T15:21:33.663" Score="0" ViewCount="110" Body="&lt;p&gt;I have a page template that dynamically renders all the datasource items that are in its Components folder. The way the page works is that there are no components in the placeholder settings on the page except for the ContentPage rendering, and the ContentPage rendering dynamically displays every datasource item in the local Components folder by assigning all of the datasource items to a ListView; within the ListView is a every possible sublayout, and it determines which sublayout to make visible while leaving the rest of them not visible. (Note that I didn't create this page, it already existed when I took over working on this site). An example of the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Control Language=&quot;C#&quot; AutoEventWireup=&quot;True&quot; CodeBehind=&quot;~/CustomSources/SharedLayouts/ContentPageBranch.cs&quot; Inherits=&quot;Project.SC.CustomSources.SharedLayouts.ContentPageBranch&quot; %&amp;gt;&#xA;&amp;lt;div class=&quot;content-page-branch&quot;&amp;gt;&#xA;    &amp;lt;asp:ListView runat=&quot;server&quot; ID=&quot;contentItemList&quot; OnItemDataBound=&quot;TeaserDataBound&quot;&amp;gt;&#xA;        &amp;lt;ItemTemplate&amp;gt;&#xA;&#xA;            &amp;lt;sc:Sublayout id=&quot;phIntroduction&quot; runat=&quot;server&quot; Visible=&quot;false&quot; Path=&quot;/layouts/Common/Modules/page editor/Content/Introduction.ascx&quot; /&amp;gt;&#xA;&#xA;            &amp;lt;sc:Sublayout id=&quot;phSpotlight&quot; runat=&quot;server&quot; Visible=&quot;false&quot; Path=&quot;/layouts/Common/Modules/page editor/Content/Spotlight.ascx&quot; /&amp;gt;&#xA;&#xA;            &amp;lt;sc:Sublayout id=&quot;phImage&quot; runat=&quot;server&quot; Visible=&quot;false&quot; Path=&quot;/layouts/Common/Modules/page editor/Content/Image.ascx&quot; /&amp;gt;&#xA;&#xA;            &amp;lt;sc:Sublayout id=&quot;phDownloadList&quot; runat=&quot;server&quot; Visible=&quot;false&quot; Path=&quot;/layouts/Common/Modules/page editor/Content/DownloadList.ascx&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;/ItemTemplate&amp;gt;&#xA;    &amp;lt;/asp:ListView&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void Page_Load(object sender, EventArgs e)&#xA;{&#xA;    try&#xA;    {&#xA;    string ds = ((Sitecore.Web.UI.WebControls.Sublayout)this.Parent).DataSource;&#xA;    item = BranchesHelper.GetContextItem(ds);&#xA;&#xA;    ListView lvContentItemList = FindControl(LISTVIEW_CONTENT_ITEMLIST) as ListView;&#xA;&#xA;    List&amp;lt;Item&amp;gt; dsList = BranchesHelper.GetItems(Consts.FOLDERID_MAIN, this);&#xA;    itemsInFolderCount = dsList.Count;&#xA;&#xA;    lvContentItemList.DataSource = dsList;&#xA;    lvContentItemList.DataBind();&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;    LogManager.LogError(&quot;Content Page Branch&quot;, &quot;Failed to load Modules&quot;, ex);&#xA;    if (Util.Helper.AllowThrowException)&#xA;    {&#xA;        throw;&#xA;    }&#xA;    }&#xA;}&#xA;&#xA;protected void TeaserDataBound(object sender, ListViewItemEventArgs args)&#xA;{&#xA;  try&#xA;  {&#xA;    ListViewDataItem di = args.Item as ListViewDataItem;&#xA;    if (di != null)&#xA;    {&#xA;&#xA;      item = BranchesHelper.SetLanguage(di);&#xA;      BranchesHelper.DisableAllPanelsAndPlaceHoldersByPage(this.Page);&#xA;&#xA;&#xA;      if (item != null &amp;amp;&amp;amp; item.Exists())&#xA;      {&#xA;        if (ListViewCounter == 0 &amp;amp;&amp;amp; !string.IsNullOrEmpty(item.Parent.Parent[Consts.FIELDS_HIDE_LEFTHAND]) &amp;amp;&amp;amp; item.Parent.Parent.Fields[Consts.FIELDS_HIDE_LEFTHAND].Value == Consts.VALUE_CHECKBOX_ACTIVE)&#xA;        {&#xA;          CreateOverviewLink(args);&#xA;        }&#xA;&#xA;        positionInFolder++;&#xA;        ListViewCounter++;&#xA;&#xA;&#xA;        bool isScopeLayout = BranchesHelper.BindScopeLayout(item,false,args,PLACEHOLDER_SCOPE_LAYOUTS,positionInFolder,Consts.FOLDERID_MAIN);&#xA;&#xA;        if (!isScopeLayout)&#xA;        {&#xA;          string templateId = item.TemplateID.Guid.ToString().ToUpper();&#xA;          switch (templateId)&#xA;          {&#xA;            case Consts.TEMPLATEID_INTRODUCTION:&#xA;              InitIntroduction(args);&#xA;              break;&#xA;&#xA;            case Consts.TEMPLATEID_TEASER:&#xA;              InitTeaser(args);&#xA;              break;&#xA;&#xA;            case Consts.TEMPLATEID_CONTENTBLOCK:&#xA;              InitContentBlock(args);&#xA;              break;&#xA;&#xA;            default:&#xA;              if (templateId == Consts.TEMPLATEID_MODULE_OVERVIEW)&#xA;              {&#xA;                InitModuleOverview(args);&#xA;              }&#xA;              else if (templateId == Consts.TEMPLATEID_TEASER_GROUP)&#xA;              {&#xA;                InitSublayout(args, PLACEHOLDER_TEASER_GROUP, positionInFolder, Consts.FOLDERID_MAIN);&#xA;              }&#xA;&#xA;              break;&#xA;          }&#xA;        }&#xA;&#xA;        positionSlider = 0;&#xA;      }&#xA;    }&#xA;  }&#xA;  catch (Exception ex)&#xA;  {&#xA;    LogManager.LogError(&quot;Content Page Branch&quot;, &quot;Failed to load DataItem&quot;, ex);&#xA;    if (Util.Helper.AllowThrowException)&#xA;    {&#xA;      throw;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void InitIntroduction(ListViewItemEventArgs args)&#xA;{&#xA;    isIntroduction = true;&#xA;  InitSublayout(args, PLACEHOLDER_INTRODUCTION, positionInFolder, Consts.FOLDERID_MAIN);&#xA;}&#xA;&#xA;public static void InitSublayout(ListViewItemEventArgs args, Sublayout sublayout, int position, string folderId = null, Dictionary&amp;lt;string, string&amp;gt; additionalParameters = null)&#xA;{&#xA;  try&#xA;  {&#xA;    if (args != null &amp;amp;&amp;amp; args.Item != null)&#xA;    {&#xA;      Item item = args.Item.DataItem as Item;&#xA;&#xA;      if (item != null)&#xA;      {&#xA;        if (sublayout != null)&#xA;        {&#xA;          sublayout.Visible = true;&#xA;          sublayout.DataSource = item.ID.ToString();&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;  catch (Exception ex)&#xA;  {&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There's a couple steps I've left out, but you can see the basic idea-- all of the sublayouts are by default not visible, and the switch statement will make the correct sublayout visible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;HOWEVER, even when the sublayouts are not visible, they are still rendering. I do not think this was happening in Sitecore 6.5, but once we upgraded to 8.2, I noticed the issue because all of the sublayouts log an error when they render with no datasource; once the upgrade happened, I discovered that thousands of errors were being logged, and it was because every time these pages loaded, every single sublayout was trying to render even when they were not visible and had no datasource. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class Spotlight : System.Web.UI.UserControl&#xA;{&#xA;    protected void Page_Load(object sender, EventArgs e)&#xA;    {&#xA;        item = ContentHelper.GetContextItem(((WebControl)Parent).DataSource);&#xA;        if (item == null)&#xA;        {&#xA;            Log.Error(&quot;Could not find Spotlight datasource item. Containing page Item: &quot;&#xA;                      + Sitecore.Context.Item.Name&#xA;                      + &quot;, Containing page Item ID: &quot;&#xA;                      + Sitecore.Context.Item.ID.ToString()&#xA;                      + &quot;, Rendering: &quot;&#xA;                      + ((WebControl)Parent).RenderingName&#xA;                      + &quot;, Rendering ID: &quot;&#xA;                      + ((WebControl)Parent).RenderingID&#xA;                      , this);&#xA;            return;&#xA;        }&#xA;        InitSpotlight();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is causing performance issues; these particular pages take more time to load than any other pages on the site, sometimes upwards of 10 seconds. So what would be the best way to handle this? I tried wrapping every sublayout in a conditional like this, but it still renders every time:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;% if (isIntroduction)&#xA;    { %&amp;gt;&#xA;        &amp;lt;sc:Sublayout id=&quot;phIntroduction&quot; runat=&quot;server&quot; Visible=&quot;false&quot; Path=&quot;/layouts/Common/Modules/page editor/Content/Introduction.ascx&quot; /&amp;gt;&#xA;&#xA;    &amp;lt;%  }  %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="70" LastEditDate="2019-01-23T17:03:20.120" LastActivityDate="2019-02-22T18:01:40.337" Title="Sublayouts always rendering even when Visible=false, causing performance issues" Tags="|presentation|performance-optimization|performance|sublayout|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16006" PostTypeId="1" AcceptedAnswerId="16101" CreationDate="2019-01-14T15:41:18.473" Score="2" ViewCount="222" Body="&lt;p&gt;I've got a query in Sitecore the boosts on template type, but this is skewed by the IDF (inverse document frequency). Is it possible to set sitecore/Lucene to ignore the IDF?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or if anyone has any other ideas on how to boost the results of certain template types&lt;/p&gt;&#xA;" OwnerUserId="4901" LastEditorUserId="1342" LastEditDate="2019-01-14T20:32:15.307" LastActivityDate="2019-03-27T20:07:34.560" Title="Make Sitecore Lucene ignore IDF (Inverse Document Frequency)" Tags="|indexing|lucene|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16007" PostTypeId="2" ParentId="15939" CreationDate="2019-01-14T15:41:55.687" Score="1" Body="&lt;p&gt;There is not a way to do this out of the box. It is probably possible with some customizations of the import pipeline, but generally speaking doing this seems like it might create an inordinate number of versions in Sitecore. This can significantly affect production performance if allowed to grow unchecked.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-01-14T15:41:55.687" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16008" PostTypeId="2" ParentId="16004" CreationDate="2019-01-14T17:09:45.933" Score="0" Body="&lt;p&gt;I figured out a solution: I removed all of the  tags and replaced them with one single sublayout tag, . Then the codebehind, rather than finding the corresponding sublayout and making it visible for each datasource item, I grab the phDynamicSublayout and change the path based on the datasource item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc:Sublayout runat=&quot;server&quot; ID=&quot;phDynamicSublayout&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;switch (templateId)&#xA;{&#xA;case Consts.TEMPLATEID_INTRODUCTION:&#xA;    InitIntroduction(args);&#xA;    break;&#xA;&#xA;case Consts.TEMPLATEID_TEASER:&#xA;    InitTeaser(args);&#xA;    break;&#xA;&#xA;case Consts.TEMPLATEID_CONTENTBLOCK:&#xA;    InitContentBlock(args);&#xA;    break;&#xA;&#xA;.....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void InitIntroduction(ListViewItemEventArgs args)&#xA;{&#xA;  InitSublayout(args, &quot;/layouts/Common/Modules/page editor/Content/Introduction.ascx&quot;, positionInFolder, Consts.FOLDERID_MAIN);&#xA;}&#xA;&#xA;public static void InitSublayout(ListViewItemEventArgs args, string SublayoutId, int position, string folderId = null, Dictionary&amp;lt;string, string&amp;gt; additionalParameters = null)&#xA;{&#xA;  try&#xA;  {&#xA;    if (args != null &amp;amp;&amp;amp; args.Item!=null)&#xA;    {&#xA;        if (SublayoutId.ToLower().Contains(&quot;layouts/&quot;))&#xA;        {&#xA;            Sublayout sublayout = args.Item.FindControl(&quot;phDynamicSublayout&quot;) as Sublayout;&#xA;            sublayout.Path = SublayoutId;&#xA;            InitSublayout(args, sublayout, position, folderId, additionalParameters);&#xA;        }&#xA;        else&#xA;        {&#xA;            Control control = args.Item.FindControl(SublayoutId);&#xA;            Sublayout sublayout = control as Sublayout;&#xA;            if (sublayout != null)&#xA;            {&#xA;                InitSublayout(args, sublayout, position, folderId, additionalParameters);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;  }&#xA;  catch (Exception ex)&#xA;  {&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2609" LastActivityDate="2019-01-14T17:09:45.933" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16009" PostTypeId="2" ParentId="15978" CreationDate="2019-01-14T18:32:18.350" Score="3" Body="&lt;p&gt;Sitecore does not set error status codes properly. The code handling no access redirect is done on the method &lt;code&gt;RedirectOnNoAccess&lt;/code&gt; of the processor &lt;code&gt;Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA sets the header for &lt;code&gt;NotFound&lt;/code&gt; and &lt;code&gt;InternalServerError&lt;/code&gt;, but not for &lt;code&gt;Forbidden&lt;/code&gt;. This is done via processor &lt;code&gt;Sitecore.XA.Feature.ErrorHandling.Pipelines.HtpRequestProcessed.SetStatusCode&lt;/code&gt;. Use a decompiler to see the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could override &lt;code&gt;RedirectOnNoAccess&lt;/code&gt; to set &lt;code&gt;Context.Items[&quot;httpStatus&quot;]&lt;/code&gt; to &lt;code&gt;HttpStatusCode.Forbidden&lt;/code&gt; and then override the &lt;code&gt;Process&lt;/code&gt; method on &lt;code&gt;SetStatusCode&lt;/code&gt; so the switch included a check for &lt;code&gt;HttpStatusCode.Forbidden&lt;/code&gt; and sets the StatusCode to 403.&lt;/p&gt;&#xA;" OwnerUserId="88" LastActivityDate="2019-01-14T18:32:18.350" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16010" PostTypeId="1" CreationDate="2019-01-14T20:08:06.157" Score="2" ViewCount="115" Body="&lt;p&gt;A few of our website URLs are displaying blank pages. However when we append &lt;code&gt;.&lt;/code&gt; at the end of the URL, it renders the page correctly. We're not sure how/why a majority of pages are working fine but a few pages are only working by putting &lt;code&gt;.&lt;/code&gt; at the end of the URL. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;www.testsite.com/about-us&lt;/code&gt; shows a blank page &lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;www.testsitec.com/about-us.&lt;/code&gt; works fine&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced such issue with Sitecore website?&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Important Info&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Windows 2016 Server&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update-3&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Regards,&#xA;Sumit Bajaj&lt;/p&gt;&#xA;" OwnerUserId="1658" LastEditorUserId="342" LastEditDate="2019-01-14T20:25:14.533" LastActivityDate="2019-01-14T20:25:14.533" Title="Few of the URLs working by placing (.) dot in the end of URL in Sitecore based website" Tags="|presentation|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16011" PostTypeId="1" CreationDate="2019-01-14T20:10:55.343" Score="1" ViewCount="380" Body="&lt;p&gt;I'm working on creating an item in the sitecore database, I want to add the entire completed object to the database and not element by element. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to get interface mapping to create a concrete implementation/mock using glass mapper without creating the item in the sitecore database?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; interface MySampleInterface { &#xA;   someProp {get; set;}&#xA; }&#xA;&#xA;var ss = new SitecoreService();&#xA;var sample = ss.CreateItem&amp;lt;MySampleInterface&amp;gt;(new CreateOptions());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unless I'm miss reading the docs the &quot;CreateItem&quot; indicates it adds the item to the database. &lt;/p&gt;&#xA;" OwnerUserId="4394" LastEditorUserId="4394" LastEditDate="2019-01-14T20:34:19.373" LastActivityDate="2019-01-14T20:34:19.373" Title="Using Glass Mapper Interface mapping is there a way to create a concrete object without adding the item to the database?" Tags="|glass-mapper|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16012" PostTypeId="1" AcceptedAnswerId="16013" CreationDate="2019-01-14T23:28:48.483" Score="3" ViewCount="1667" Body="&lt;p&gt;Just installed 9.1 and SXA, for image field is not show the image in both design and preview mode. In Chrome dev tool, after remove the ?h=350&amp;amp;w=480 at the end of the image link the image shows. Anyone know what caused this issue?&lt;/p&gt;&#xA;" OwnerUserId="1055" LastEditorUserId="73" LastEditDate="2019-01-15T11:14:20.900" LastActivityDate="2022-10-14T11:32:41.027" Title="SXA Image not show" Tags="|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16013" PostTypeId="2" ParentId="16012" CreationDate="2019-01-14T23:41:34.587" Score="7" Body="&lt;p&gt;Welcome to Sitecore StackExchange.&#xA;Are you using the Wireframe theme? If so, please try switching themes in the Experience Editor to a different theme (if you have one), then click Save. This should load the image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DNYcc.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DNYcc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2019-01-14T23:41:34.587" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16014" PostTypeId="1" AcceptedAnswerId="16017" CreationDate="2019-01-15T00:01:10.790" Score="5" ViewCount="905" Body="&lt;p&gt;I am following the instructions on page &lt;a href=&quot;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/add-a-form.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/add-a-form.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It mentions after adding a Sitecore Form Wrapper that I should then be able to drag across MVC Form.  However I still can only see the two form wrappers:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ljrEy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ljrEy.png&quot; alt=&quot;Screen doesn&amp;#39;t match described behaviour in documentation&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have I missed installing something or is there a trick to it that I've missed?&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="2056" LastEditDate="2019-01-15T16:06:38.543" LastActivityDate="2019-01-15T16:06:38.543" Title="How do I add a Sitecore Form using Sitecore Experience Accelerator?" Tags="|sxa|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16015" PostTypeId="1" AcceptedAnswerId="18044" CreationDate="2019-01-15T05:48:18.717" Score="4" ViewCount="1076" Body="&lt;p&gt;I have a Sitecore 9.1 instance with SXA 1.8 and Solr. I am new to Solr but its service and admin site seems to be running ok. However, there are a lot of errors in the log of Solr.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;40620 2019:01:11 11:17:18 ERROR Solr Error : [&amp;quot;undefined field local&amp;quot;] - &#xA;Query attempted: [((local:(&amp;quot;\/Data\/Text 3&amp;quot;) AND _path: &#xA;(dc00ec1b9747438dbf45fd9e7b4cca70)) AND _language:(en))]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The same error is repeated for many paths and queries but &amp;quot;undefined field local&amp;quot; is consistent.&lt;/p&gt;&#xA;&lt;p&gt;Posts seem to mention having an error config somewhere but I'm not sure what to be looking for and where.&lt;/p&gt;&#xA;&lt;p&gt;I am using Solr 7.2.1 and I added master and web cores for SXA with names matching the config file, populated the Solr managed schema and rebuilt it in Sitecore.  SXA Web is showing as Optimised and Current (green ticks) but SXA Master is Current but not Optimised.&lt;/p&gt;&#xA;&lt;p&gt;Rebuilding the SXA Master index generates those errors.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="4050" LastEditDate="2021-10-05T05:56:06.467" LastActivityDate="2021-10-05T05:56:06.467" Title="Solr with Sitecore 9.1 throwing errors &quot;undefined field local&quot; - how to troubleshoot?" Tags="|sxa|solr|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16016" PostTypeId="2" ParentId="16006" CreationDate="2019-01-15T06:03:13.900" Score="0" Body="&lt;p&gt;I don't know possible way disable idf. But you can try negative boosting by fields. Usual the most search pages use Title and Body for search by documents, so boost this fields on 0 or 0.25,  try any value that less then 1 and find yours.&lt;/p&gt;&#xA;" OwnerUserId="4791" LastActivityDate="2019-01-15T06:03:13.900" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16017" PostTypeId="2" ParentId="16014" CreationDate="2019-01-15T06:49:50.200" Score="4" Body="&lt;p&gt;You were doing it correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just save the page and sitecoreFormsWrapper-1 placeholder should appear inside Sitecore Form Wrapper component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you will see in Toolbox the MVC Form component:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BCXUT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BCXUT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-01-15T06:49:50.200" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16018" PostTypeId="1" AcceptedAnswerId="16019" CreationDate="2019-01-15T09:43:50.637" Score="1" ViewCount="380" Body="&lt;p&gt;I'm trying to implement SXA search functionality using the standard search box and search results components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is if there is a way to dynamically change the rendering variant on the search results component for different page types returned in the result list?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default there is only one rendering variant that can be defined on &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a similar &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2353/sxa-search-results-different-rendering-variants-per-template&quot;&gt;question here&lt;/a&gt; but it was raised some time ago so maybe with SXA 1.8, there is a way of doing that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you,&#xA;Emanuel&lt;/p&gt;&#xA;" OwnerUserId="2509" LastEditorUserId="237" LastEditDate="2019-01-15T09:50:30.643" LastActivityDate="2019-01-15T10:05:18.913" Title="Dynamic change rendering variant for a component" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16019" PostTypeId="2" ParentId="16018" CreationDate="2019-01-15T10:05:18.913" Score="3" Body="&lt;p&gt;There is no such option in SXA 1.8 - the answer from the previous question still stands.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As rendering variants won't render fields which don't exist, you can use that.&#xA;If that is not sufficient, the rules engine might help. You can add fields (or even sections) and use the rules engine to show/hide them based on rules that can verify your page types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA 1.8 did add an option to use renderings inside a variant. If you really want very different result views, that might be helpful in creating different results without having a massively complex rendering variant on the search results. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-15T10:05:18.913" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16020" PostTypeId="1" AcceptedAnswerId="16080" CreationDate="2019-01-15T12:27:24.567" Score="1" ViewCount="610" Body="&lt;p&gt;I need to add custom button of template     /sitecore/templates/System/WebEdit/WebEdit Button to RTE in Experience Editor. And invoke my custom js function on click. How I can implement that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added my function in js-file and included file in &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;clientscripts&amp;gt;&amp;lt;everypage&amp;gt; &amp;lt;/everypage&amp;gt;&amp;lt;/clientscripts&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried invoke my function from Command using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Sitecore.Context.ClientPage.ClientResponse.Eval(&quot;myFunction()&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I've tried to add &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;javascript:myFunction() &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in Click field of sitecore item.&#xA;But my function is always undefined. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I add javascript with my function to EE and call it for my custom button?&lt;/p&gt;&#xA;" OwnerUserId="3624" LastActivityDate="2019-01-17T14:16:45.050" Title="How to call javascript for custom Web Edit Button of RTE in Experience Editor" Tags="|experience-editor|richtext-editor|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16021" PostTypeId="1" AcceptedAnswerId="16023" CreationDate="2019-01-15T15:12:34.570" Score="1" ViewCount="177" Body="&lt;p&gt;Where I can find information what dll install for certain namespace or class?&#xA;I'm not able to find &lt;code&gt;Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3624" LastEditorUserId="342" LastEditDate="2019-01-15T15:46:15.353" LastActivityDate="2019-01-15T15:46:15.353" Title="What dll I need for Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders" Tags="|experience-editor|pipelines|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16022" PostTypeId="2" ParentId="4666" CreationDate="2019-01-15T15:28:40.040" Score="4" Body="&lt;p&gt;Our team has faced the same issue with analytics failing to populate data and the processing pool DB stacking up records into the 10's of thousands. We adjusted the app_config/sitecore/marketing.xdb/Sitecore.Analytics.Processing.Aggregation.Services.config values for the processing application (we are using xp in a scaled env).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We changed the maximum batch size from 8 to 256 &#xA;I believe there are 3 places in the config to do this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;param desc=&quot;maximumBatchSize&quot; type=&quot;Sitecore.Analytics.Core.ConfigurationHelper, Sitecore.Analytics.Core&quot; factoryMethod=&quot;ToShort&quot; arg0=&quot;256&quot; /&amp;gt;  &amp;lt;param desc=&quot;maximumBatchSize&quot;&amp;gt;256&amp;lt;/param&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;param desc=&quot;maximumBatchSize&quot; type=&quot;Sitecore.Analytics.Core.ConfigurationHelper, Sitecore.Analytics.Core&quot; factoryMethod=&quot;ToShort&quot; arg0=&quot;256&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We also updated the maxAgents values for &#xA; &lt;code&gt;&amp;lt;param desc=&quot;agentPath&quot;&amp;gt;aggregation/aggregator&amp;lt;/param&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;param desc=&quot;agentPath&quot;&amp;gt;aggregation/contactProcessing&amp;lt;/param&amp;gt;&lt;/code&gt; &#xA;from 1 to 8. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be cautious if you are using the CM as the processing role for your stack as this will add excess load to the server and cause CPU spikes depending on the number of cores you have for you application processor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Over a course of about a week we have seen the number decrease from over 100k to about 20k also accounting for the addition of 2500 new records daily. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.  &lt;/p&gt;&#xA;" OwnerUserId="4903" LastEditorUserId="2056" LastEditDate="2019-01-15T16:43:22.837" LastActivityDate="2019-01-15T16:43:22.837" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16023" PostTypeId="2" ParentId="16021" CreationDate="2019-01-15T15:41:08.033" Score="3" Body="&lt;p&gt;Like Gatogordo said, its in Sitecore.Mvc.ExperienceEditor. Sitecore is very good about keeping namespaces in the proper dlls. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zDtmB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zDtmB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-01-15T15:41:08.033" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16026" PostTypeId="1" AcceptedAnswerId="23540" CreationDate="2019-01-15T16:34:52.140" Score="0" ViewCount="1004" Body="&lt;p&gt;As we all know with SXA version 1.8 it is possible to insert components inside a rendering variant definition.&lt;/p&gt;&#xA;&lt;p&gt;Go to 6. - Components:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-a-rendering-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-a-rendering-variant.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In my particular example I want to add the breadcrumb component to a search results rendering variant, but following official documentation steps it doesn't work.&#xA;This is the section when I'm adding the breadcrumb component:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/53oNf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/53oNf.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;And this is on the actual page when loading it, is stuck:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dsAUd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dsAUd.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I've also tried to define a new placeholder setting under /sitecore/content/Tenant/Site1/Presentation/Placeholder Settings and then using this placeholder key on the breadcrumb component under the rendering variant. This doesn't work as well...&lt;/p&gt;&#xA;&lt;p&gt;Is someone having experience with something like this and willing to help?&lt;/p&gt;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="2509" LastEditorUserId="4050" LastEditDate="2021-10-05T03:37:50.160" LastActivityDate="2021-10-05T03:37:50.160" Title="Component inside a rendering variant" Tags="|sxa|placeholders|dynamic-placeholder|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="16028" PostTypeId="1" AcceptedAnswerId="16029" CreationDate="2019-01-15T17:29:30.240" Score="0" ViewCount="1081" Body="&lt;p&gt;I am new to sitecore so my understanding of the solution is very limited. &#xA;Anyway i am currently trying to install the following Sitecore XP1 topology :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;CD1 and CD2 (content delivery servers)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;CM1 (content management, processing, reporting, ...)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;SOLR server and SQL server (already installed)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am using a Powershell scripts to install CM and CD roles : &#xA;(ex for the cm role on the CM server)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module SitecoreFundamentals&#xA;Import-Module SitecoreInstallFramework&#xA;&#xA;#define parameters &#xA;$FilesRoot = &quot;C:\Sitecore\installer&quot;&#xA;$prefix = &quot;pprd_sc&quot;&#xA;$sitecoreSiteName = &quot;$prefix&quot;+&quot;_cm01&quot;&#xA;&#xA;#################################&#xA;#       deploy CM instance &#xA;#################################&#xA;$cmParams = &#xA;@{&#xA;    Path = &quot;$FilesRoot\config\sitecore-XP1-cm.json&quot;     &#xA;    Package = &quot;$FilesRoot\sources\Sitecore 9.0.1 rev. 171219 (OnPrem)_cm.scwdp.zip&quot;&#xA;    LicenseFile = &quot;$FilesRoot\license.xml&quot;    &#xA;    SqlDbPrefix = $prefix&#xA;    SolrCorePrefix = $prefix&#xA;    SSLCert = &quot;*.mydomain.com&quot;&#xA;    XConnectCert = &quot;*.mydomain.com&quot;&#xA;    Sitename = $sitecoreSiteName&#xA;    SitecoreAdminPassword = &quot;&quot;&#xA;    SqlAdminUser = &quot;sa&quot;&#xA;    SqlAdminPassword = &quot;&quot;&#xA;    SqlCoreUser = &quot;sql_core_user&quot;&#xA;    SqlCorePassword = &quot;&quot;&#xA;    SqlMasterUser = &quot;sql_master_user&quot;&#xA;    SqlMasterPassword = &quot;&quot;&#xA;    SqlWebUser = &quot;sql_web_user&quot;&#xA;    SqlWebPassword = &quot;&quot;&#xA;    SqlReportingUser = &quot;sql_reporting_user&quot;&#xA;    SqlReportingPassword = &quot;&quot;&#xA;    SqlReferenceDataUser = &quot;sql_reference_data_user&quot;&#xA;    SqlReferenceDataPassword = &quot;&quot;&#xA;    SqlFormsUser = &quot;sql_forms_user&quot;&#xA;    SqlFormsPassword = &quot;&quot;&#xA;    SqlExmMasterUser = &quot;sql_exm_master_user&quot;&#xA;    SqlExmMasterPassword = &quot;&quot;&#xA;    SqlMessagingUser = &quot;sql_messaging_user&quot;&#xA;    SqlMessagingPassword = &quot;&quot;&#xA;    SqlServer = &quot;SQLSCOREPP&quot;&#xA;    SolrUrl = &quot;https://slrscorepp.mydomain.com:8984/solr&quot;&#xA;    XConnectReferenceDataService=&quot;https://cmscorepp.mydomain.com&quot;&#xA;    MarketingAutomationOperationsService=&quot;https://cmscorepp.mydomain.com&quot;&#xA;    MarketingAutomationReportingService=&quot;https://cmscorepp.mydomain.com&quot;&#xA;} &#xA;Install-SitecoreConfiguration @cmParams -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and other scripts that look like this one for the roles:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Collection &lt;/li&gt;&#xA;&lt;li&gt;CollectionSearch &lt;/li&gt;&#xA;&lt;li&gt;Referencedata &lt;/li&gt;&#xA;&lt;li&gt;MarketingAutomation&lt;/li&gt;&#xA;&lt;li&gt;MarketingAutomationReporting &lt;/li&gt;&#xA;&lt;li&gt;Reporting &lt;/li&gt;&#xA;&lt;li&gt;Processing  &lt;/li&gt;&#xA;&lt;li&gt;and the CM&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;2 problems: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;if my sitename does not contain the domain name .mydomain.com https cannot work and the install fails. How can I specify different sitename and url to use during the install. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;this install does not create a binding &quot;xconnect.mydomain.com&quot; that the Content Delivery should use. Does a manually added binding works? How does the link between CD and CM works? &lt;/p&gt;&#xA;" OwnerUserId="4770" LastActivityDate="2019-01-15T17:56:16.200" Title="Installing CM and CD - binding" Tags="|xconnect|sitecore-install-framework|installation|content-management|" AnswerCount="1" CommentCount="3" ClosedDate="2019-01-16T12:36:35.207" ContentLicense="CC BY-SA 4.0" />
  <row Id="16029" PostTypeId="2" ParentId="16028" CreationDate="2019-01-15T17:47:02.343" Score="2" Body="&lt;ol&gt;&#xA;&lt;li&gt;During the install, You can have the siteName as cms.mydomain.com , then after the install finishes you can change the IIS bindings and update sitecore config (under &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; node)  to use any other domain &lt;/li&gt;&#xA;&lt;li&gt;CM and CD don't talk to each other directly and don't know about each others URLs, But they use shared resources instead, Such as EventQueue table in Web database which is shared between CM and CD, Also xConnect is shared between CM and CD and you can find the xConnect URL in ConnectionStrings.config file for both CM and CD.&lt;/li&gt;&#xA;&lt;li&gt;For CD instances, I usually copy the entire website root from CMS server and update &lt;code&gt;role:define&lt;/code&gt; inside web.config file to be &lt;code&gt;ContentDelivery&lt;/code&gt;, You may need to clean up the ConnectionStrings.config file on CD and remove any connection that CD does not use.&lt;/li&gt;&#xA;&lt;li&gt;Make sure that &lt;code&gt;&amp;lt;setting name=&quot;InstanceName&quot; value=&quot;&quot;/&amp;gt;&lt;/code&gt; for each CM,CD site is unique, By default it will take the server name + IIS website name&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2019-01-15T17:56:16.200" LastActivityDate="2019-01-15T17:56:16.200" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16030" PostTypeId="1" AcceptedAnswerId="16031" CreationDate="2019-01-15T21:58:28.840" Score="4" ViewCount="231" Body="&lt;p&gt;We are configuring Sitecore 9.0.2 in a scaled environment and we don't have plans to use the EXM Module. We know how to disable the EXM module but in that case which all roles can be ignored on Sitecore 9 scaled setup? Do we still need to Roles like Messaging, Marketing Automation, Marketing Automation Reporting etc? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="2890" LastActivityDate="2019-01-18T12:37:50.757" Title="What if we don't want to use the EXM Module on Sitecore 9?" Tags="|exm|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16031" PostTypeId="2" ParentId="16030" CreationDate="2019-01-15T23:58:57.603" Score="5" Body="&lt;p&gt;EXM is built into the platform, so other than just disabling it via config, you don't have to do anything else to it.&lt;/p&gt;&#xA;&lt;h2&gt;EXM Artifacts&lt;/h2&gt;&#xA;&lt;p&gt;You can ignore the following services and configurations if EXM has been disabled in the web.config:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;The Dedicated Dispatch Server role does not need to be installed.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The EXM.Master database can be removed.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The EXM.Crypto and EXM.Authentication Keys in the ConnectionStrings.config can be removed.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Everything else should remain. However, I will respond to the other parts you listed.&lt;/p&gt;&#xA;&lt;h3&gt;Messaging&lt;/h3&gt;&#xA;&lt;p&gt;The messaging database should be left intact. This database is used for the Rebus message queueing service that is part of the overall Sitecore Framework. While it's true that EXM is the first module to make use of it, future modules will most likely utilize it. I would leave this alone.&lt;/p&gt;&#xA;&lt;h3&gt;Marketing Automation&lt;/h3&gt;&#xA;&lt;p&gt;Marketing Automation is a sibling to EXM. It is part of the overall XP services that are offered for marketing campaign initiatives. The engine and reporting services you mention are part of xConnect. Not all of those initiatives utilize email. Leave it and the related xConnect services intact.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-01-18T12:37:50.757" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16032" PostTypeId="1" AcceptedAnswerId="16591" CreationDate="2019-01-16T00:51:41.680" Score="3" ViewCount="445" Body="&lt;p&gt;In Sitecore 8.2 we have a &lt;code&gt;Reset()&lt;/code&gt; function on all facets. This allows us to reset the facet, clearing all values. On xConnect we do not have that functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The drawback for xConnect is that you are not allow to just new a object and stick it in. If the facet exists, you have to reuse it. That is what I believe.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The Facet&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[FacetKey(DefaultFacetKey)]&#xA;public class MemberDataFacet : Facet&#xA;{&#xA;    public const string DefaultFacetKey = &quot;MemberData&quot;;&#xA;&#xA;    public MemberDataFacet()&#xA;    {&#xA;&#xA;    }&#xA;&#xA;    public Location Location { get; set; } = new Location();&#xA;&#xA;    public Membership Membership { get; set; } = new Membership();&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The xConnect call&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var client = this.contactIdentificationRepository.CreateContext())&#xA;{&#xA;    var contact = client.Get(contactReference, new ContactExpandOptions(MemberDataFacet.DefaultFacetKey));&#xA;    if (contact == null)&#xA;    {&#xA;        throw new ArgumentNullException(nameof(contact));&#xA;    }&#xA;&#xA;    var membershipFacet = contact.GetFacet&amp;lt;MemberDataFacet&amp;gt;(MemberDataFacet.DefaultFacetKey) ?? new MemberDataFacet();&#xA;&#xA;    ResetMemberData(membershipFacet);&#xA;&#xA;    membershipFacet.Location.City = &quot;Sarasota&quot;;&#xA;&#xA;    client.SetFacet(contact, MemberDataFacet.DefaultFacetKey, membershipFacet);&#xA;&#xA;    client.Submit();&#xA;    contactFacetsProvider.UpdateTracker();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The reset function&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ResetMemberData(MemberDataFacet memberfacet)&#xA;{&#xA;    memberfacet.Location = new Location();&#xA;    memberfacet.Membership = new Membership();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This seems to be a crappy way of doing it. Especially if your facet gets big with a lot of properties that are not in a subclass. Like I said, using &lt;code&gt;membershipFacet = new MemberDataFacet()&lt;/code&gt; if the facet is already on the contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know of a way to allow me to reset the facet in the reset() in xDB?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Possible&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I believe this is how it should be done. But it errors&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Message: This context does not support this operation.&#xA;  Source: Sitecore.Xdb.Common.Web&#xA;     at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;code&gt;1 taskFactory)&#xA;     at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func&lt;/code&gt;1 taskFactory)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void ResetFacet()&#xA;{&#xA;    var contactReference = this.contactIdentificationRepository.GetContactReference();&#xA;&#xA;    using (var client = this.contactIdentificationRepository.CreateContext())&#xA;    {&#xA;        var contact = client.Get(contactReference, new ContactExpandOptions(MemberDataFacet.DefaultFacetKey));&#xA;        if (contact == null) return;&#xA;&#xA;        client.ClearFacet(new FacetReference(contact, MemberDataFacet.DefaultFacetKey), new MemberDataFacet());&#xA;&#xA;        client.Submit();&#xA;        contactFacetsProvider.UpdateTracker();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-01-16T01:52:43.863" LastActivityDate="2019-02-07T19:51:35.303" Title="Resetting an xConnect facet" Tags="|xconnect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16033" PostTypeId="1" AcceptedAnswerId="16095" CreationDate="2019-01-16T03:06:00.103" Score="0" ViewCount="185" Body="&lt;p&gt;I have a page where I added a Snippet Rendering to a Page in the main placeholder.  I created a global datasource for the snippet.  I then dragged renderings onto the snippet such as image and rich text and clicked save. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My snippet renderings disappear!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VVkuV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VVkuV.png&quot; alt=&quot;Where are my snippet renderings?&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at my data item in the content tree - I can see what I dragged on prior to saving.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9Gsii.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9Gsii.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure why in Experience Editor I'm not seeing those fields as renderings to edit.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="73" LastEditDate="2019-01-16T08:31:49.460" LastActivityDate="2019-01-18T02:02:36.463" Title="Strange behaviour with snippets" Tags="|sxa|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16034" PostTypeId="2" ParentId="16032" CreationDate="2019-01-16T06:13:49.660" Score="2" Body="&lt;p&gt;This is intended behaviour as stated here -&gt; &#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/deleting-data.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/deleting-data.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;It is currently not possible to delete contact and interaction data. However, it is possible to remove sensitive data using the right to be forgotten functionality.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe that this is because of GDPR and auditing purposes. Values cannot be deleted like it was prior Sitecore 9.x.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However you can &lt;strong&gt;execute Right to be forgotten&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the Facet property is marked &lt;code&gt;[PIISensitive]&lt;/code&gt;, value will change to it's default like you wanted to have.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Executing right to be forgotten makes the following changes to a contact:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Deletes all identifiers - known and anonymous   &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Clears all facets or facet properties marked PII sensitive:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If a facet is marked [PIISensitive], the entire facet is deleted.&lt;/li&gt;&#xA;&lt;li&gt;If a facet property is marked [PIISensitive], that property is reset    to its default value.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;ConsentInformation.ExecutedRightToBeForgotten is set to true&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So in your case, just decorate facet properties with &lt;code&gt;[PIISensitive]&lt;/code&gt; and execute right to be forgotten.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how you can execute this &lt;code&gt;async&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Client;&#xA;using System;&#xA;using System.Threading.Tasks;&#xA;&#xA;namespace Documentation&#xA;{&#xA;    public class ForgetContact&#xA;    {&#xA;        // Async example&#xA;        public async void ExampleAsync()&#xA;        {&#xA;            using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    Event ev = new Event(Guid.NewGuid(), DateTime.UtcNow) { Duration = new TimeSpan(20) };&#xA;                    var reference = new Sitecore.XConnect.IdentifiedContactReference(&quot;twitter&quot;, &quot;myrtlesitecore&quot;);&#xA;&#xA;                    Task&amp;lt;Sitecore.XConnect.Contact&amp;gt; contactTask = client.GetAsync&amp;lt;Sitecore.XConnect.Contact&amp;gt;(reference, new Sitecore.XConnect.ContactExpandOptions() { });&#xA;&#xA;                    Sitecore.XConnect.Contact contact = await contactTask;&#xA;&#xA;                    client.ExecuteRightToBeForgotten(contact);&#xA;&#xA;                    await client.SubmitAsync();&#xA;                }&#xA;                catch (XdbExecutionException ex)&#xA;                {&#xA;                    // Manage exceptions&#xA;                }&#xA;            }&#xA;        }&#xA;     }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Take a closer look in official Sitecore xConnect documentation for &quot;Executing right to be forgotten&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/execute-right-to-be-forgotten.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/execute-right-to-be-forgotten.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-01-16T08:42:22.560" LastActivityDate="2019-01-16T08:42:22.560" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16035" PostTypeId="1" AcceptedAnswerId="16036" CreationDate="2019-01-16T06:41:56.997" Score="1" ViewCount="84" Body="&lt;p&gt;I have two Save Action associated to my &lt;code&gt;WFFM&lt;/code&gt;. One is custom which push data to some other application and second one is &lt;code&gt;WFFM's&lt;/code&gt; &lt;code&gt;SendEmailMessage&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both are working perfectly, here I just want to trigger &lt;code&gt;SendEmailMessage&lt;/code&gt; action post successful execution of first custom save action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any leads will be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="913" LastEditorUserId="5096" LastEditDate="2019-05-21T12:14:28.673" LastActivityDate="2019-05-21T12:14:28.673" Title="Execute multiple custom WFFM Save Action" Tags="|sitecore-client|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16036" PostTypeId="2" ParentId="16035" CreationDate="2019-01-16T09:04:13.280" Score="2" Body="&lt;p&gt;It depends on what version do you use. &#xA;For the versions before 8.2 there is present bug. And you would need to wrap actions that came out of the box with handling of submit state. It is described in &lt;a href=&quot;https://www.exlrt.com/blog/handling-faulted-state-in-sitecore-wffm-save-actions&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For versions after 8.2 it should works fine. So, depending on what version you are, the easiest and less custom way could be upgrade WFFM.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-01-16T09:04:13.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16037" PostTypeId="1" AcceptedAnswerId="16038" CreationDate="2019-01-16T09:43:18.657" Score="6" ViewCount="604" Body="&lt;p&gt;Is there a way to easily extend rendering variants logic? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My goal is to display the name of a parent item. Let's imagine that I'm using a Page List rendering and beside values from current context item fields I would like also to display the name of a parent item (the name can, for example, indicate my custom category name of something).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="73" LastEditDate="2019-01-25T13:29:48.927" LastActivityDate="2019-01-25T13:29:48.927" Title="How to easily extend Rendering Variants" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16038" PostTypeId="2" ParentId="16037" CreationDate="2019-01-16T09:43:18.657" Score="8" Body="&lt;p&gt;Yes, this is possible. There is an easy way to extend/add logic which is missing by implementing custom Variant Token.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is an example implementation of &lt;code&gt;ResolveParentName&lt;/code&gt; processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ResolveParentName : ResolveVariantTokensProcessor&#xA;{&#xA;    public override string Token =&amp;gt; &quot;$parentName&quot;;&#xA;&#xA;    public override void ResolveToken(ResolveVariantTokensArgs args)&#xA;    {&#xA;        // this if statement is quite important in order to support this token in JSON Variants&#xA;        if (args.ResultControl != null)&#xA;        {&#xA;            args.ResultControl.Controls.Add(new LiteralControl&#xA;            {&#xA;                Text = args.ContextItem.Parent.Name&#xA;            });&#xA;        }&#xA;        else&#xA;        {&#xA;            args.Result = args.ContextItem.Parent.Name;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do not forget about registering this processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;resolveVariantTokens&amp;gt;&#xA;        &amp;lt;processor type=&quot;YOUR_NAMESPAVE.ResolveParentName, YOUR_ASSEMBLY&quot; resolve=&quot;true&quot; /&amp;gt;        &#xA;    &amp;lt;/resolveVariantTokens&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is an example usage:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Jnk5i.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jnk5i.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see this is a great place to add a lot of custom logic and extend Rendering Variants. In the above example, I'm just using one &lt;code&gt;args.ContextItem.Parent.Name&lt;/code&gt; property but you can do whatever you need there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE: Please use lowercased token names (instead of &lt;code&gt;$parentName&lt;/code&gt; go with &lt;code&gt;$parentname&lt;/code&gt;)&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-01-25T12:06:04.497" LastActivityDate="2019-01-25T12:06:04.497" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16039" PostTypeId="1" AcceptedAnswerId="16045" CreationDate="2019-01-16T10:00:47.963" Score="0" ViewCount="183" Body="&lt;p&gt;I read about the Map, Map provider, POI, etc ... in SXA&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a question:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I, or should I add additional data to POI ( like opening hours )?&lt;/p&gt;&#xA;" OwnerUserId="3603" LastEditorUserId="2056" LastEditDate="2019-01-16T11:50:18.450" LastActivityDate="2019-01-16T13:06:54.900" Title="Extending POI properties in SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16040" PostTypeId="1" AcceptedAnswerId="16042" CreationDate="2019-01-16T11:19:12.460" Score="4" ViewCount="610" Body="&lt;p&gt;My customer has prepared an automated campaign on the test environment. The campaign is used in a Form and is working fine on that test environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to transfer the form and the campaign to the production environment. How?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I packaged the form items and the related items in Email/Messages and installed them on production. The items are installed properly and the form is ok, but I do not get my campaign in the EXM admin..  what am I missing?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-16T12:31:55.000" Title="How to transfer EXM campaign and mail between environments?" Tags="|exm|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16042" PostTypeId="2" ParentId="16040" CreationDate="2019-01-16T12:04:33.093" Score="3" Body="&lt;p&gt;You need to go to the email message through the content editor. And click on &quot;open exm&quot;, next click on &quot;Full Email Campaign&quot;, go to the delivery tab and then you need to de-activate and re-activate the email message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XFlrl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XFlrl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-01-16T12:04:33.093" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16043" PostTypeId="2" ParentId="16040" CreationDate="2019-01-16T12:20:11.940" Score="1" Body="&lt;p&gt;Email Experience Manager messages relies on analytics. When you transfer it by package, no analytics information is transferred. (e.g.: AutomationRanges and Automation states Mongo collections data).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example when you look on Sitecore.Demo for ExM, &lt;a href=&quot;https://github.com/Sitecore/Sitecore.Demo/tree/master/analytics/MongoData/analytics&quot; rel=&quot;nofollow noreferrer&quot;&gt;it comes with data&lt;/a&gt; that should be exported to Mongo to makes it work properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to overcome it: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Migrate also analytics data. (complex and risky way)&lt;/li&gt;&#xA;&lt;li&gt;Move ExM campaign to initial workflow state(Draft). And click &quot;Deploy&quot; button. It should create required data in analytics db.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;P.S. ExM campaign creates separate campaign(under /sitecore/system/Marketing Control Panel/Campaigns/Emails) and engagement plan items(under /sitecore/system/Marketing Control Panel/Engagement Plans/Email Campaign) for each campaign. Make sure that you have added them to package as you haven't listed it in your question.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-01-16T12:20:11.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16044" PostTypeId="2" ParentId="16040" CreationDate="2019-01-16T12:31:55.000" Score="1" Body="&lt;p&gt;Apparently I also had to include some items from the &lt;code&gt;Marketing Control Panel/Campaigns/Emails/..&lt;/code&gt; that were related to my message. Otherwise there was a missing link in my mail item. Just wanted to add this to make the solution complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that was done, the &quot;Open EXM&quot; button on the item in the content editor (as suggested by Bart) worked perfectly. That opened my campaign in EXM and after re-activating, the mail appeared in the EXM overview.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-16T12:31:55.000" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16045" PostTypeId="2" ParentId="16039" CreationDate="2019-01-16T12:43:51.083" Score="1" Body="&lt;p&gt;It should be fairly simple.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just extend POI template with your &quot;Opening Hours&quot; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A5rOc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A5rOc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find this template here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Geospatial/POI&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Duplicate existing &quot;Default&quot; Rendering Variant under &lt;code&gt;/sitecore/content/{Your Tenant}/{Your Site}/Presentation/Rendering Variants/POI&lt;/code&gt; and add a new Renderer for your new field (by duplicating Title for example):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MrtRf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MrtRf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create POI under &lt;code&gt;/sitecore/content/{Your Tenant}/{Your Site}/Data/POIs/&lt;/code&gt; and fill in &quot;Opening Hours&quot; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/klkXC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/klkXC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add a Map component to your page. Choose your POI in &quot;POI&quot; field and set &quot;POI Type to Rendering Variant Mapping&quot; field to your newly created Rendering Variant like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TrL5h.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TrL5h.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course best would be to create your own template that inherits from POI template and add new field there. This would be cleaner solution. You shouldn't change original templates. In this case maybe you need to duplicate existing Map component and implement some logic to use your Enhanced POI template instead of OOTB one.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-01-16T13:06:54.900" LastActivityDate="2019-01-16T13:06:54.900" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16046" PostTypeId="2" ParentId="14588" CreationDate="2019-01-16T13:16:54.870" Score="1" Body="&lt;p&gt;When you mentioned Glass v5 and use IMvcContext() in a view it made me think you are not using Glass v5 correctly. The change between v4 and v5 is significant and leads to confusion if you're used to previous version or you try to search google which has only old examples. Have a look in &lt;a href=&quot;http://sitecorebond.com/archive/glass-mapper-5-and-obsolete-glassviewt/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; to see what are the changes and how to access context in a view.&lt;/p&gt;&#xA;" OwnerUserId="1857" LastActivityDate="2019-01-16T13:16:54.870" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16047" PostTypeId="1" CreationDate="2019-01-16T13:41:46.760" Score="2" ViewCount="920" Body="&lt;p&gt;I'm using Sitecore 9.0 Update 2 with Glass Mapper.Sc version 5.2.13&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to create items in Sitecore using GlassMapper and the following code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;repository.RequestContext.SitecoreService.CreateItem(parent, model);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I get this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Type 'MyModel' does not have a Template ID or Branch ID.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;MyModel&lt;/code&gt; is decorated with the &lt;code&gt;[SitecoreType(TemplateId = &quot;{my-model-template-guid}&quot;, AutoMap = true)]&lt;/code&gt; attribute and inherits from a base class that has a TemplateId property defined as &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreInfo(SitecoreInfoType.TemplateId)]&#xA;public virtual Guid TemplateId { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but it does not have the &lt;code&gt;'[SitecoreType(TemplateId = &quot;{base-class-template-guid}&quot;, AutoMap = true)]'&lt;/code&gt; defined ... could be this the issue ? If I try creating items based on the base class model it works just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All &lt;code&gt;MyModel's&lt;/code&gt; properties are virtual but it seems to me the GlassMapper does not read the TemplateId specified as attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced this? &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update: Adding Model Classes:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Please see the model code below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{AA1DE664-7E99-4ACB-8DB4-EBA8C3F0693E}&quot;, AutoMap = true)]&#xA;public class MyModel : GlassMapperBase&#xA;{&#xA;    [SitecoreField(FieldName = &quot;First Name&quot;)]&#xA;    public virtual string FirstName { get; set; }&#xA;&#xA;    [SitecoreField(FieldName = &quot;Last Name&quot;)]&#xA;    public virtual string LastName { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the base class code together with the interface it implements:    &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GlassMapperBase : IGlassMapperBase&#xA;{&#xA;        [SitecoreId]&#xA;        public virtual Guid Id { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.Version)]&#xA;        public virtual int Version { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.Language)]&#xA;        public virtual Language Language { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.Name)]&#xA;        public virtual string Name { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.ContentPath)]&#xA;        public virtual string ContentPath { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.FullPath)]&#xA;        public virtual string FullPath { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.Url)]&#xA;        public virtual string Url { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.DisplayName)]&#xA;        public virtual string DisplayName { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.TemplateName)]&#xA;        public virtual string TemplateName { get; set; }&#xA;&#xA;        [SitecoreInfo(SitecoreInfoType.TemplateId)]&#xA;        public virtual Guid TemplateId { get; set; }&#xA;&#xA;}&#xA;&#xA;public interface IGlassMapperBase&#xA;{&#xA;    [SitecoreId]&#xA;    Guid Id { get; set; }&#xA;&#xA;    [SitecoreInfo(SitecoreInfoType.Version)]&#xA;    int Version { get; set; }&#xA;&#xA;    [SitecoreInfo(SitecoreInfoType.Language)]&#xA;    Language Language { get; set; }&#xA;&#xA;    [SitecoreInfo(SitecoreInfoType.Name)]&#xA;    string Name { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4727" LastEditorUserId="70" LastEditDate="2019-01-16T14:38:41.923" LastActivityDate="2019-01-16T14:38:41.923" Title="Glass Mapper v5 Item creation issue" Tags="|glass-mapper|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16050" PostTypeId="1" CreationDate="2019-01-16T14:33:38.080" Score="2" ViewCount="2544" Body="&lt;p&gt;I set up a fresh Sitecore 9.1 with SXA on my local machine.&lt;br&gt;&#xA;When rebuilding the indexes, I get the following messages:  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;(Core)  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;19676 14:50:03 WARN  Could not compute value for ComputedIndexField:&#xA;  __solr_norm_field_name for indexable: sitecore://core/{4255D463-DBA7-4E62-8B5D-68986A39BD96}?lang=da&amp;amp;ver=1&#xA;  Exception: System.Exception Message: Item &quot;/sitecore/client/Business&#xA;  Component Library/version&#xA;  2/Layouts/Renderings/Common/ActionControl/Action/__Standard Values&quot; is&#xA;  not a template section. (method:&#xA;  Sitecore.Data.Items.TemplateFieldItem.op_Implicit(Item item)). Source:&#xA;  Sitecore.Data.Items.TemplateFieldItem.op_Implicit(Item item)    at&#xA;  Sitecore.Diagnostics.Error.Raise(String error, String method)    at&#xA;  Sitecore.Data.Items.TemplateSectionItem.op_Implicit(Item item)    at&#xA;  Sitecore.Data.Items.TemplateFieldItem.op_Implicit(Item item)    at&#xA;  Sitecore.ContentSearch.SolrProvider.FieldNames.TypeResolving.Index.ComputedFields.TemplateFieldComputedIndexField.ComputeFieldValue(IIndexable&#xA;  indexable)    at&#xA;  Sitecore.ContentSearch.AbstractDocumentBuilder`1.&amp;lt;&gt;c__DisplayClass57_0.b__0(IComputedIndexField&#xA;  computedIndexField, ParallelLoopState parallelLoopState)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;(Master)  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;14364 15:05:22 WARN  [Index=sitecore_master_index] Crawler :&#xA;  AddRecursive DoItemAdd failed - {668126E9-5A1E-4553-974B-A26400B5BAD7}&#xA;  Exception: SolrNet.Exceptions.SolrConnectionException Message:  &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;   400   215     &#xA;      org.apache.solr.common.SolrException&#xA;      org.apache.solr.common.SolrException&lt;br&gt;&#xA;     ERROR:&#xA;  [doc=sitecore://master/{507ae52a-d1cf-4a62-8198-0229504cf250}?lang=pl-pl&amp;amp;ver=1&amp;amp;ndx=sitecore_master_index]&#xA;  unknown field 'extension_t_pl'   400&#xA;   &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source: SolrNet&lt;br&gt;&#xA;  at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable&lt;code&gt;1  parameters)&lt;br&gt;&#xA;  at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)&lt;br&gt;&#xA;  at SolrNet.Impl.LowLevelSolrServer.SendAndParseHeader(ISolrCommand cmd)&lt;br&gt;&#xA;  at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable&lt;/code&gt;1&#xA;  group, Int32 groupSize)&lt;br&gt;&#xA;  at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object&#xA;  itemToAdd, IExecutionContext[] executionContexts)&lt;br&gt;&#xA;  at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)&lt;br&gt;&#xA;  at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext&#xA;  context, SitecoreIndexableItem indexable)&lt;br&gt;&#xA;  at Sitecore.ContentSearch.HierarchicalDataCrawler&lt;code&gt;1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState&lt;/code&gt;1 state)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: System.Net.WebException Message: The remote server returned&#xA;  an error: (400) Bad Request.&lt;br&gt;&#xA;  Source: System&lt;br&gt;&#xA;  at System.Net.HttpWebRequest.GetResponse()&lt;br&gt;&#xA;  at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&lt;br&gt;&#xA;  at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&lt;br&gt;&#xA;  at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String&#xA;  contentType, Stream content, IEnumerable`1 parameters)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;(SXA Master)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;3244 15:24:15 WARN  [Index=sitecore_sxa_master_index] Crawler : AddRecursive DoItemAdd failed - {12D57DC3-35B4-40A0-B041-80D90B9983BB}&lt;br&gt;&#xA;  ...&lt;br&gt;&#xA;  copyField dest :'extension_t_pl_str' is not an explicit field and doesn't match a dynamicField.&lt;br&gt;&#xA;  ...&#xA;  org.apache.solr.common.SolrException: copyField dest :'extension_t_pl_str' is not an explicit field and doesn't match a dynamicField.&#xA;  at rg.apache.solr.schema.IndexSchema.registerCopyField(IndexSchema.java:902)&lt;br&gt;&#xA;  at org.apache.solr.schema.ManagedIndexSchema.addCopyFields(ManagedIndexSchema.java:784)&lt;br&gt;&#xA;  at org.apache.solr.schema.ManagedIndexSchema.addCopyFields(ManagedIndexSchema.java:81)&lt;br&gt;&#xA;  at org.apache.solr.update.processor.AddSchemaFieldsUpdateProcessorFactory$AddSchemaFieldsUpdateProcessor.processAdd(AddSchemaFieldsUpdateProcessorFactory.java:450)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;All other indexs ran withoout errors/warnings.&lt;br&gt;&#xA;Has anyone any idea what could be missing?&lt;br&gt;&#xA;The schemas are populated.&lt;/p&gt;&#xA;&#xA;&lt;hr /&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;br&gt;&#xA;If you have the same problems with the master index and the SXA master index, please refer to the answer of @Dawid Rutkowski&lt;br&gt;&#xA;The issue with the core index is still current.&lt;/p&gt;&#xA;" OwnerUserId="4234" LastEditorUserId="4234" LastEditDate="2019-01-17T14:09:50.950" LastActivityDate="2019-01-17T14:09:50.950" Title="Rebuilding Indexes with SOLR throws Exceptions" Tags="|sxa|content-search|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16053" PostTypeId="1" CreationDate="2019-01-16T15:01:41.853" Score="1" ViewCount="591" Body="&lt;p&gt;I've cloned the repository &lt;a href=&quot;https://github.com/Sitecore/docker-images&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/docker-images&lt;/a&gt; and was able to build the images. But I haven't managed to run the images. &#xA;Please see a screen shot with the list of my docker images and the command for running one of them. The process just hang and doesn't send any information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x1jsq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x1jsq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4279" LastActivityDate="2019-01-16T20:37:55.810" Title="Sitecore with Docker - Not able to run" Tags="|docker|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16054" PostTypeId="1" CreationDate="2019-01-16T15:33:19.023" Score="2" ViewCount="98" Body="&lt;p&gt;I'm trying to replicate a lucene query of &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+_name:mat* +_name:butl*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which works in Luke, but the Sitecore linq produces &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+spanFirst(SpanWildcardQuery(_name:mat*), 1) &#xA;+spanFirst(SpanWildcardQuery(_name:butl*), 1)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which returns 0 results. Any idea on how to produce a query that matches on the start of the tokens&lt;/p&gt;&#xA;" OwnerUserId="4901" LastEditorUserId="70" LastEditDate="2019-01-16T16:55:19.510" LastActivityDate="2019-01-16T16:55:19.510" Title="Lucene Tokenised field starts with" Tags="|lucene|index|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16055" PostTypeId="1" CreationDate="2019-01-16T16:41:44.770" Score="1" ViewCount="205" Body="&lt;p&gt;We are using Sitecore 9.0.2 &amp;amp; SXA 1.7.1 and we are creating pages using Page Designs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do we reuse a Page Design in SXA since a Page Design is linked to Partial designs and these partial design have datasources associated to it that may be local or global&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And does that mean that we have to create a new Page Design and Partial designs for each new page?&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="237" LastEditDate="2019-01-16T16:48:21.093" LastActivityDate="2019-01-16T16:52:14.250" Title="Sitecore SXA Page Design Reuse" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16056" PostTypeId="2" ParentId="16055" CreationDate="2019-01-16T16:47:03.390" Score="3" Body="&lt;p&gt;If your partial design includes components with datasources that should be altered in pages, those components should not be in the partial design. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have sets of components that you want to reuse over pages (and alter the datasources if needed), you can use snippets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a question &lt;a href=&quot;https://sitecore.stackexchange.com/a/10941/237&quot;&gt;https://sitecore.stackexchange.com/a/10941/237&lt;/a&gt; here that describes the differences between partial designs and snippets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, I think you have added too much components to the partial design. Keep a (few) placeholders in the partial(s) to give your editors the ability to add components -or snippets- on pages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Page designs should be set as defaults per template. So when you create a page of a certain template, the assigned page design is set for that page. Normally you have fewer page designs than templates. &lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-01-16T16:52:14.250" LastActivityDate="2019-01-16T16:52:14.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16057" PostTypeId="1" CreationDate="2019-01-16T17:17:46.303" Score="0" ViewCount="79" Body="&lt;p&gt;We are planning to move application on Sitecore XP 9.1 on premises and looking references to calculate the hardware requirement. The load on the application is 5M users per month.I have checked the Sitecore Installation guidelines however it doesn't specify hardware requirement for XP instances like processing,reporting,collection etc. Please share any details if you have. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3841" LastEditorUserId="3841" LastEditDate="2019-01-16T19:07:41.333" LastActivityDate="2019-01-16T19:07:41.333" Title="Sitecore 9 Hardware Capacity Calculator" Tags="|scaling|infrastructure|" AnswerCount="0" CommentCount="2" ClosedDate="2019-01-16T17:41:51.827" ContentLicense="CC BY-SA 4.0" />
  <row Id="16058" PostTypeId="1" CreationDate="2019-01-16T18:23:11.553" Score="1" ViewCount="306" Body="&lt;p&gt;Sitecore 9.02 - I have a branch template I've made to create a new page. The template it's based on has a Title field with a standard value set to $name to do the replacement. However, when I create the page with the template, the Title field remains as $name, instead of changing to the name of the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think this has to do with using an item:created event to make modifications to the item, like it's not performing its &quot;base&quot; functionality. Wherever I've got an item that's affected, I'm noticing this behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's the preferred way to ensure the event doesn't muck up Sitecore's needed functions? Is there a better pipeline/event to use?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-10-08T19:17:11.457" Title="$name token not replaced when creating from branch template" Tags="|pipelines|events|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16059" PostTypeId="1" CreationDate="2019-01-16T20:12:11.273" Score="2" ViewCount="130" Body="&lt;p&gt;We are trying to setup an A/B page test in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the site in which we want to start the test is in english and french, we want the test to apply to both languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when you create the test and select the page to test, you have to select a language. I am able to create the test in, lets say, english, but when I try to create the test in french (using the same page) I get the following message and can't select the page : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;This page has an active test. Please select another page.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my question really is : is it possible to A/B test a page in multiple languages at the same time ? If so, how ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.2 update 5.&lt;/p&gt;&#xA;" OwnerUserId="2120" LastActivityDate="2019-01-16T20:12:11.273" Title="Create a page test in Sitecore in multiple languages" Tags="|multilingual|content-testing|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16060" PostTypeId="2" ParentId="16053" CreationDate="2019-01-16T20:37:55.810" Score="2" Body="&lt;p&gt;Please note that the Docker image and container identifiers used in the following examples will need to be updated with the values from your own environment.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Run a Sitecore container based on an image:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker run -d -m 8GB --name &amp;lt;ContainerName&amp;gt; &amp;lt;ImageNameOrID&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Examples:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker run -d -m 8GB -p 80 -p 443 -p8983 --name test dockerhub.io/lfaggiani/sitecore-xpsingle:9.0.2.180604-windowsservercore-ltsc2016'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Or&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker run -d -m 8GB -p 80 -p 443 -p8983 --name test 846c823a2572&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;hr /&gt;&#xA;&lt;p&gt;&lt;strong&gt;Access to the Sitecore instance that is running in the container&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can access the Sitecore instance from your computer with your preferred browser by  following these steps:&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;strong&gt;Get the container IP&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}} {{end}}' &amp;lt;ContainerNameOrId&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Or&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker exec &amp;lt;ContainerNameOrId&amp;gt; ipconfig&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Examples:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker exec test ipconfig&#xA;docker exec 5bfbd811908f ipconfig&#xA;docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}} {{end}}' test&#xA;docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}} {{end}}' 5bfbd811908f&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;strong&gt;Update the local &amp;quot;host&amp;quot; file with the following entries&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ContainerIP&amp;gt;                                   habitat.dev.local&#xA;&amp;lt;ContainerIP&amp;gt;                                   habitat_xconnect.dev.local&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Examples:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;172.19.118.233                                  habitat.dev.local&#xA;172.19.118.233                                  habitat_xconnect.dev.local&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;strong&gt;Browse to any of the following URLs&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;The first time may take some time as Sitecore has to warm up:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://habitat_xconnect.dev.local/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://habitat_xconnect.dev.local/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;http://habitat.dev.local/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitat.dev.local/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://habitat.dev.local/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://habitat.dev.local/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;If no changes have been done in the build files, the domain names must be literal.&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;p&gt;&lt;strong&gt;Troubleshooting the container with PowerShell&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;strong&gt;Connect to a running container with a PowerShell console&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker exec -it &amp;lt;ContainerNameOrId&amp;gt; powershell&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Examples:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker exec -it test powershell&#xA;docker exec -it 5bfbd811908f powershell&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;strong&gt;Run a container with a volume that allows you to copy the Sitecore and IIS logs, and other data out of the container&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker run -d -m 8GB -p 80 -p 443 -p8983 -v E:\Debug:C:\Debug --name &amp;lt;ContainerName&amp;gt; &amp;lt;ImageNameOrID&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Examples:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;docker run -d -m 8GB -p 80 -p 443 -p8983 -v E:\Debug:C:\Debug --name test 'dockerhub.io/lfaggiani/sitecore-xpsingle:9.0.2.180604-windowsservercore-ltsc2016'&#xA;docker run -d -m 8GB -p 80 -p 443 -p8983 -v E:\Debug:C:\Debug --name test 846c823a2572&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Once the container is running, you can connect with a PowerShell console as described above. Inside the container, anyting that is copied to the folder C:\Debug will be automatically saved in the container's host in &amp;quot;E:\Debug&amp;quot;.&lt;/p&gt;&#xA;" OwnerUserId="595" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-01-16T20:37:55.810" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16061" PostTypeId="1" CreationDate="2019-01-17T01:56:13.627" Score="4" ViewCount="248" Body="&lt;p&gt;Sitecore ContentSearch is not providing result in the same order like Solr query does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://localhost:8983/solr/sitecore_web_index/select?indent=on&amp;amp;q=_content:testorder&amp;amp;wt=json&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we are getting result in the following order&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;x&lt;/li&gt;&#xA;&lt;li&gt;y&lt;/li&gt;&#xA;&lt;li&gt;z&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;but when we use ContentSearch API we are getting results in different order.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var results = Sitecore.ContentSearch.ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext().GetQueryable&amp;lt;Sitecore.ContentSearch.SearchTypes.SearchResultItem&amp;gt;().Where(x =&amp;gt; x.Content.Contains(&quot;testorder&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;when we iterate the list, we get different order:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;y&lt;/li&gt;&#xA;&lt;li&gt;x&lt;/li&gt;&#xA;&lt;li&gt;z&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;How can I get results from ContentSearch in the same order as Solr?&lt;/p&gt;&#xA;" OwnerUserId="4884" LastEditorUserId="342" LastEditDate="2019-01-17T02:40:24.837" LastActivityDate="2019-01-17T15:46:23.183" Title="Sitecore ContentSearch results order is not same as raw Solr search results" Tags="|content-search|solr|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16063" PostTypeId="1" CreationDate="2019-01-17T05:48:17.373" Score="0" ViewCount="1438" Body="&lt;p&gt;How we can send email with attached file, while clicking form submit button?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are currently using Sitecore 9 Update 2 with SXA 1.7.2.&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="2056" LastEditDate="2019-01-17T06:47:28.540" LastActivityDate="2019-01-21T11:18:48.063" Title="Send Mail with Attachment using Sitecore Forms" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16064" PostTypeId="1" CreationDate="2019-01-17T06:24:55.030" Score="1" ViewCount="438" Body="&lt;p&gt;We are having multiple SXA sites under a tenant. For all the sites, when we click 'Insert link' on General Link field, able to see Home item of current Site. But, for one site (whose language is de-DE), when we click on 'Insert link', we are getting root item as '/sitecore/content/Home' and the expectation should be Home item of same site. We are using same set of templates for all the sites. I have got the above information in the network tab. Not sure what could be the issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For all sites, when we click on 'Insert link', the request is as follows:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://my-domain/sitecore/shell/Applications/Dialogs/Internal%20link.aspx?hdl=E6C3B085275C4B5E9C9BA5D0CE569669&amp;amp;ro=&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://my-domain/sitecore/shell/Applications/Dialogs/Internal%20link.aspx?hdl=E6C3B085275C4B5E9C9BA5D0CE569669&amp;amp;ro=&lt;/a&gt;&amp;amp;la=en&amp;amp;sc_content&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For one site, when we click on 'Insert link', the request is as follows:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://my-domain/sitecore/shell/Applications/Dialogs/Internal%20link.aspx?hdl=3D3BA45EBDEE4080BA0D571F405DFDD3&amp;amp;ro=%2Fsitecore%2Fcontent%2Fhome&amp;amp;la=de-DE&amp;amp;sc_content&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://my-domain/sitecore/shell/Applications/Dialogs/Internal%20link.aspx?hdl=3D3BA45EBDEE4080BA0D571F405DFDD3&amp;amp;ro=%2Fsitecore%2Fcontent%2Fhome&amp;amp;la=de-DE&amp;amp;sc_content&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2019-02-20T10:18:16.200" LastActivityDate="2022-03-06T19:00:20.013" Title="'Insert Link' link is not pointing to Site Home item" Tags="|sxa|multisite|link-manager|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16065" PostTypeId="2" ParentId="16063" CreationDate="2019-01-17T07:01:06.697" Score="1" Body="&lt;p&gt;There is no functionality like that in your version of Sitecore, neither it is in latest Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create your custom Field Type &quot;FileUpload&quot; inspiring by official documentation by Sitecore -&gt; &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-rating-element-with-property-editor.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-rating-element-with-property-editor.html&lt;/a&gt; .&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use code from Sitecore Forms Extensions github repository &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions&lt;/a&gt; and specifically this part -&gt; &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/src/Feature/FormsExtensions/code/Fields/FileUpload&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/src/Feature/FormsExtensions/code/Fields/FileUpload&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should have really simple model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Globalization;&#xA;using System.Web;&#xA;using Feature.FormsExtensions.Business.FileUpload;&#xA;using Sitecore;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.ExperienceForms.Mvc.Models.Validation;&#xA;&#xA;namespace Feature.FormsExtensions.Fields.FileUpload&#xA;{&#xA;    [Serializable]&#xA;    public class FileUploadModel : ValueNotValidatedInputViewModel&amp;lt;IStoredFile&amp;gt;&#xA;    {&#xA;        [NonSerialized]&#xA;        private HttpPostedFileBase file;&#xA;        private const string AllowedContentTypesParam = &quot;Allowed Content Types&quot;;&#xA;        private const string MaxFileSizeParam = &quot;Max File Size&quot;;&#xA;&#xA;        [DynamicRequired]&#xA;        [DynamicValidation]&#xA;        public virtual HttpPostedFileBase File&#xA;        {&#xA;            get =&amp;gt; file;&#xA;            set =&amp;gt; file = value;&#xA;        }&#xA;&#xA;        public string AllowedContentTypes { get; set; }&#xA;        public int MaxFileSize { get; set; }&#xA;&#xA;        protected override void InitItemProperties(Item item)&#xA;        {&#xA;            base.InitItemProperties(item);&#xA;           AllowedContentTypes = StringUtil.GetString(item.Fields[AllowedContentTypesParam]);&#xA;           MaxFileSize = MainUtil.GetInt(item.Fields[MaxFileSizeParam]?.Value, 0);&#xA;        }&#xA;&#xA;        protected override void UpdateItemFields(Item item)&#xA;        {&#xA;            base.UpdateItemFields(item);&#xA;            item.Fields[AllowedContentTypesParam]?.SetValue(AllowedContentTypes, true); &#xA;            item.Fields[MaxFileSizeParam]?.SetValue(MaxFileSize.ToString(CultureInfo.InvariantCulture),true);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-01-17T08:16:21.247" LastActivityDate="2019-01-17T08:16:21.247" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16066" PostTypeId="2" ParentId="16050" CreationDate="2019-01-17T08:03:46.473" Score="4" Body="&lt;p&gt;The errors you see on the &lt;code&gt;sitecore_master_index&lt;/code&gt; and &lt;code&gt;sitecore_core_index&lt;/code&gt; are not SXA related. SXA is not overriding Sitecore indexes any more, it is using its own indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last error related to a missing field:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'extension_t_pl_str' is not an explicit field and doesn't match a&#xA;  dynamicField&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;is caused by wrong Solr server configuration. You Solr schema is missing a dynamic field. Please edit managed-schema file manually and add a following dynamic field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dynamicField name=&quot;*_t_pl&quot; type=&quot;text_general&quot; indexed=&quot;true&quot; stored=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should solve your problems. Keep in mind that populating managed schema from Sitecore might not create dynamic fields for all of the languages you are using in your content. You might need to add some fields manually to the sechema file.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-01-17T08:03:46.473" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="16069" PostTypeId="1" AcceptedAnswerId="25782" CreationDate="2019-01-17T10:26:35.770" Score="0" ViewCount="566" Body="&lt;p&gt;Our multi-site Sitecore instance (7.0.- rev-130424) is setting same language cookie multiple times like below in response headers:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-Cookie: SiteName#lang=de-DE; path=/; secure; HttpOnly &#xA;Set-Cookie:  SiteName#lang=de-DE; path=/; secure; HttpOnly &#xA;Set-Cookie:  SiteName#lang=de-DE; path=/; secure; HttpOnly&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is happening like 40-50 odd times in some pages, because of the exceeded header counts, load balancers are not processing those pages. Have any of you faced this issue before?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2021-08-03T21:00:55.103" Title="Sitecore is setting same language cookie multiple times in response headers" Tags="|multilingual|multisite|cookies|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16070" PostTypeId="1" CreationDate="2019-01-17T11:29:01.687" Score="8" ViewCount="1393" Body="&lt;p&gt;We have Sitecore 8.2 with WFFM forms, can we use the same forms with Sitecore 9.1 when we upgrade?&lt;/p&gt;&#xA;" OwnerUserId="4912" LastActivityDate="2019-01-17T14:59:59.287" Title="Does Sitecore 9.1 support WFFM?" Tags="|wffm|upgrade|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16071" PostTypeId="2" ParentId="16070" CreationDate="2019-01-17T11:31:40.863" Score="16" Body="&lt;p&gt;No, it does not. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also see here: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note! Web Forms For Marketers was deprecated with the release of Sitecore XP 9.1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;9.0.2 is the last release where WFFM can be used.&lt;/p&gt;&#xA;" OwnerUserId="115" LastEditorUserId="342" LastEditDate="2019-01-17T12:24:24.220" LastActivityDate="2019-01-17T12:24:24.220" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16072" PostTypeId="2" ParentId="16070" CreationDate="2019-01-17T11:31:54.700" Score="4" Body="&lt;p&gt;No.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note! Web Forms For Marketers was deprecated with the release of Sitecore XP 9.1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Web Forms For Marketers&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-01-17T11:31:54.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16074" PostTypeId="1" CreationDate="2019-01-17T12:09:54.467" Score="4" ViewCount="236" Body="&lt;p&gt;When implementing multiple regions/clusters,  sitecore documentation states that each cluster must have its own core database.(&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/clustering-and-geographic-distribution.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/clustering-and-geographic-distribution.html&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Each cluster has its own dedicated core database - core databases&#xA;  cannot be replicated and must be managed per cluster&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;How do you keep core dbs synced? One of the options we are looking at is to publish from CM server. We tested locally by adding core references in configuration files and a publishing target in core db. It seems to work fine at first sight. Is there any danger in publishing from one core to others?&lt;/p&gt;&#xA;" OwnerUserId="88" LastActivityDate="2019-01-17T12:57:56.427" Title="Publish to a core database" Tags="|azure|scaling|solution-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16075" PostTypeId="2" ParentId="16061" CreationDate="2019-01-17T12:21:21.370" Score="1" Body="&lt;p&gt;The easiest way to troubleshoot issues like this is to review the search logs to see what query Sitecore is building behind the scenes:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Execute your code that performs the search&lt;/li&gt;&#xA;&lt;li&gt;Load the latest search log file (located in your data folder: &lt;code&gt;/data/logs/Search.log.DDDDDDDD.TTTTTT.txt&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Find your search and see how it was constructed&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Based on your code and subsequent comment, it looks like the solution to your issue is to change your &lt;code&gt;ContentSearch&lt;/code&gt; code from &lt;code&gt;x.Content.Contains(&quot;testorder&quot;)&lt;/code&gt; to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;x.Content == &quot;testorder&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-01-17T12:21:21.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16076" PostTypeId="1" CreationDate="2019-01-17T12:26:46.670" Score="2" ViewCount="155" Body="&lt;p&gt;When I look at general site statistics in the Experience Analytics they seem to broadly match what our Google Analytics account tells us. But when I look in path analyzer, it seems to show far fewer visits, roughly 1/3 of what I'm seeing in the experience analytics page. This is problematic as it means path analyzer doesn't have enough data in some areas to show meaningful results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS - I am not a developer, I am a front-end user of the site.&#xA;PPS - I am fully prepared to accept I might just be using it wrong! &#xA;&lt;a href=&quot;https://i.stack.imgur.com/bk705.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bk705.png&quot; alt=&quot;Experience Analytics visits&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wksDs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wksDs.png&quot; alt=&quot;Path analyzer visits&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4913" LastActivityDate="2019-01-17T12:26:46.670" Title="Why is Path Analyzer not showing the same number of visits as Experience Analytics?" Tags="|xdb|experience-analytics|path-analyzer|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16077" PostTypeId="2" ParentId="16074" CreationDate="2019-01-17T12:31:04.133" Score="5" Body="&lt;p&gt;We have always used database-level replication to keep core databases in sync. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't have experience doing this with publishing, but I have a couple concerns. These are things that happen when an item is published that you may not want for core databases:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You will lose version history of the items on the destination core database since publishing only keeps one version&lt;/li&gt;&#xA;&lt;li&gt;Unless you customize it, the HTML cache (presentation cache) will be cleared with each publish, even though you're not publishing content&lt;/li&gt;&#xA;&lt;li&gt;Any other custom &lt;code&gt;publish:end&lt;/code&gt; or &lt;code&gt;publish:end:remote&lt;/code&gt; event handlers you've registered for your application&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-01-17T12:31:04.133" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16080" PostTypeId="2" ParentId="16020" CreationDate="2019-01-17T14:16:45.050" Score="0" Body="&lt;p&gt;I didn't find any other working way to do that, only this patch works for me&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;group groupName=&quot;ExperienceEditor&quot; name=&quot;ExperienceEditor&quot;&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;pageEditingScripts&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.ExperienceEditor.Pipelines.PageEditingScripts.AddDeclaredScripts, Sitecore.ExperienceEditor&quot;&amp;gt;&#xA;          &amp;lt;path patch:after=&quot;*[last()]&quot;&amp;gt;/sitecore modules/Shell/MyApp/js/myCustom.js&amp;lt;/path&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/pageEditingScripts&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/group&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, I added my custom js to list of paths and as I got, it will be bundled with others scripts for EE.&lt;/p&gt;&#xA;" OwnerUserId="3624" LastActivityDate="2019-01-17T14:16:45.050" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16081" PostTypeId="1" AcceptedAnswerId="16094" CreationDate="2019-01-17T14:28:54.987" Score="5" ViewCount="111" Body="&lt;p&gt;I'm trying to show groups of users in xconnect who match a specific pattern card for a custom report. To do this I have tried using the &lt;code&gt;ProfileScores&lt;/code&gt; facet and &lt;code&gt;ContactBehaviorProfile&lt;/code&gt; facet. While using these I get an error saying their linq statement is not supported. Is doing something like this possible out of the box or would it require some kind of custom index?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sample code I've tried:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public async Task&amp;lt;object&amp;gt; GetUserFromPatternCardAsync(ID matchingPatternId, ID profile)&#xA;    {&#xA;        using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            var queryable = client.Contacts&#xA;                //.Where(c =&amp;gt; c.GetFacet&amp;lt;ProfileScores&amp;gt;(ProfileScores.DefaultFacetKey)&#xA;                //.Scores[profile.Guid].MatchedPatternId.Value == matchingPatternId.Guid)&#xA;                .Where(c =&amp;gt; c.GetFacet&amp;lt;ContactBehaviorProfile&amp;gt;(ContactBehaviorProfile.DefaultFacetKey)&#xA;                .Scores[profile.Guid].MatchedPatternId.Value == matchingPatternId.Guid)&#xA;                .WithExpandOptions(new RelatedInteractionsExpandOptions(WebVisit.DefaultFacetKey)&#xA;                {&#xA;                    StartDateTime = DateTime.MinValue,&#xA;                    Limit = int.MaxValue&#xA;                });&#xA;&#xA;            return await queryable.FirstOrDefault();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="1436" LastEditDate="2019-01-17T22:04:21.733" LastActivityDate="2019-01-17T22:04:21.733" Title="Finding Users Who Match A Pattern Card" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16082" PostTypeId="1" CreationDate="2019-01-17T14:47:17.107" Score="0" ViewCount="223" Body="&lt;p&gt;I am using a Developer trial version (9.1) and wanted to install Sitecore Commerce along with SXA Storefront.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any specific versions are compatible with this version?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="237" LastEditDate="2019-01-17T14:55:07.740" LastActivityDate="2019-01-17T14:55:07.740" Title="Sitecore Commerce version for Sitecore 9.1 Developer trial version" Tags="|sxa|sitecore-commerce|sxa-storefront|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16083" PostTypeId="2" ParentId="16082" CreationDate="2019-01-17T14:49:42.600" Score="1" Body="&lt;p&gt;I don't think there already is a Commerce version available for Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find all compatibilities for Sitecore Experience Commerce here in the compatibility table here: &lt;a href=&quot;https://kb.sitecore.net/articles/804595&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/804595&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-17T14:49:42.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16084" PostTypeId="2" ParentId="16070" CreationDate="2019-01-17T14:59:59.287" Score="0" Body="&lt;p&gt;You need to re create in Sitecore 9.x. Some of the WFFM supported controls like FileUpload, captcha etc., are not available. You need add some Forms extension available in Github.&lt;/p&gt;&#xA;" OwnerUserId="4085" LastActivityDate="2019-01-17T14:59:59.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16085" PostTypeId="1" CreationDate="2019-01-17T15:30:07.473" Score="12" ViewCount="1298" Body="&lt;p&gt;For Sitecore 9.1, can the Identity Server be used for multiple sites/clients?  For example, on a local developer machine I have several 9.1 installs for separate clients.  Could I use that Identity Server for the login for all of them?  Or do i need a a separate Identity Server install for each client?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem I see is that the Identity Server needs to use a Core database, but if I use the Core DB for Client A, then Clients B and C would also have their info stored in the Client A Core DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another problem I see is the Password Recovery Url used by the Identity Server.  If I set the url to be for client A (&lt;a href=&quot;https://clientA&quot; rel=&quot;noreferrer&quot;&gt;https://clientA&lt;/a&gt;) and client B (&lt;a href=&quot;https://clientB&quot; rel=&quot;noreferrer&quot;&gt;https://clientB&lt;/a&gt;) needs a password reset, does client B get redirected to the &lt;a href=&quot;https://clientA&quot; rel=&quot;noreferrer&quot;&gt;https://clientA&lt;/a&gt; url?&lt;/p&gt;&#xA;" OwnerUserId="1993" LastEditorUserId="73" LastEditDate="2019-01-18T08:43:32.370" LastActivityDate="2023-05-13T15:06:55.697" Title="Can the Identity Server be used for multiple sites/clients?" Tags="|sitecore-client|identity-server|" AnswerCount="4" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16086" PostTypeId="2" ParentId="16061" CreationDate="2019-01-17T15:34:34.077" Score="0" Body="&lt;p&gt;&lt;code&gt;x.Content.Contains(&quot;testorder&quot;)&lt;/code&gt; forms the Solr query &lt;code&gt;q=_content:*testorder*&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get &lt;code&gt;q=_content:testorder&lt;/code&gt;, we have to use &lt;code&gt;x.Content == &quot;testorder&quot;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4884" LastEditorUserId="342" LastEditDate="2019-01-17T15:46:23.183" LastActivityDate="2019-01-17T15:46:23.183" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16087" PostTypeId="1" CreationDate="2019-01-17T16:19:30.473" Score="0" ViewCount="30" Body="&lt;p&gt;I have integrated with Active Directory 1.3 and Login is happening perfectly fine with with the username as domain\username and password.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My requirement is to just sign in  without with domain. For example: I should be able to login to sitecore using username and password without adding the domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do this?&lt;/p&gt;&#xA;" OwnerUserId="2467" LastEditorUserId="70" LastEditDate="2019-01-17T18:14:57.740" LastActivityDate="2019-01-17T18:14:57.740" Title="Sitecore AD configuration of component 1.3 without domain name Login" Tags="|sitecore-client|multisite|sitecore-query|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16088" PostTypeId="1" CreationDate="2019-01-17T16:46:59.033" Score="2" ViewCount="587" Body="&lt;p&gt;I'm using Sitecore 9.0.1 and I'm following the &lt;a href=&quot;https://kb.sitecore.net/articles/977445&quot; rel=&quot;nofollow noreferrer&quot;&gt;Troubleshooting xDB data issues&lt;/a&gt; guide. My scenario is #2 where data is being collected but I see nothing on the Experience Analytics reports (there's some old data from months ago but not current data).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario 2 Step 3 asks us to &quot;Ensure that the Segments table of the reporting SQL database is not empty&quot; and my Segments table &lt;em&gt;is&lt;/em&gt; empty. To populate this table I read that I should run the &lt;code&gt;Control Panel &amp;gt; Analytics &amp;gt; Deploy marketing definitions&lt;/code&gt; option, but after running this and checking the table it's still empty :(&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is it that the Segments table is not being populated? Anyone has any workaround for this? I'm out of options and without data on this table I've read that the reports will not show up. I get no error on the CM logs or on the PROC logs.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.NET 9.0.1 (rev. 171219)&#xA;December 19, 2017&#xA;.NET Framework 4.0.30319.42000&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="897" LastActivityDate="2019-03-08T13:01:15.223" Title="Reporting Segments table not being populated 9.0.1" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16090" PostTypeId="1" CreationDate="2019-01-17T18:57:09.013" Score="4" ViewCount="181" Body="&lt;p&gt;What should be done in order for one to check how many views a personalized view of a component has x the default version of that same component?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This component is on a homepage of a website and there is a lot of traffic on it and data is being collected but we are not seeing anything in the Personalized experience dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I read this &lt;a href=&quot;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/the-personalized-experience-dialog-box.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; where it says that in order for one to see data it's needed that the component has AB tests or was tested to show data there. Is that really the case? Is it not possible to see personalized analytics without AB tests? There has got to be an easier way around that&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3oQeB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3oQeB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is on Sitecore 8.1 BTW&lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2022-09-29T06:02:00.220" Title="Check personalization views on a component without AB tests" Tags="|xdb|personalization|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16091" PostTypeId="1" CreationDate="2019-01-17T19:06:43.017" Score="3" ViewCount="231" Body="&lt;p&gt;I have none. I assume they should be here? &lt;code&gt;C:\inetpub\wwwroot\CommerceShops_Sc9\wwwroot\logs&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="598" LastEditorUserId="312" LastEditDate="2019-01-18T07:39:47.590" LastActivityDate="2019-05-30T09:30:40.433" Title="How do I configure my commerce engine XC9 (running in the Shops API) to write logs locally?" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16093" PostTypeId="2" ParentId="16090" CreationDate="2019-01-17T20:04:17.540" Score="1" Body="&lt;p&gt;You should be able to see the reach. What you won't get is the effect as that's calculated based on the active test. Below is an example screenshot of a Personalization rule running on Sitecore 8.1, but without active test. So you get Reach %, but not effect.&lt;/p&gt;&#xA;&lt;p&gt;Also as mentioned in the link you had &lt;a href=&quot;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/the-personalized-experience-dialog-box.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/the-personalized-experience-dialog-box.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Reach = (Visitors that match the condition/All visitors) x 100&lt;/p&gt;&#xA;&lt;p&gt;If the personalization rule is part of an active test, the reach is calculated for the full period that the test has run. If the personalization rule is not part of an active test, the reach is shown based on the last 30 days.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So Reach is possible to get without active test, effect isn't.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Tbu9S.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Tbu9S.jpg&quot; alt=&quot;Personalization dialog from 8.1&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-01-17T20:04:17.540" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16094" PostTypeId="2" ParentId="16081" CreationDate="2019-01-17T20:29:55.427" Score="3" Body="&lt;p&gt;The problem is xConnect Search does not support the indexer in this part of the query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.Scores[patternCard.Guid].MatchedPatternId.Value == matchingPatternId.Guid)`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However it does support the Any method against the dictionary, so something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.Scores.Any(s =&amp;gt; s.Key == patternCard.Guid &amp;amp;&amp;amp; s.Value.MatchedPatternId == matchingPatternId.Guid)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="76" LastActivityDate="2019-01-17T20:29:55.427" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16095" PostTypeId="2" ParentId="16033" CreationDate="2019-01-18T02:02:36.463" Score="2" Body="&lt;p&gt;Golden rule is save immediately after adding your Snippet.  I was trying to add the snippet and then add the renderings inside that snippet before I had clicked Save and so was getting strange behaviour.&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-01-18T02:02:36.463" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16096" PostTypeId="1" AcceptedAnswerId="16984" CreationDate="2019-01-18T02:09:12.847" Score="6" ViewCount="161" Body="&lt;p&gt;Mixing Sitecore and PHP has worked for all versions up till 9.1. Now PHP pages render fine, but when you post to a page, the &lt;code&gt;$_POST&lt;/code&gt; collection is empty now. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I took a vanilla Sitecore 9.1 instance and ripped it apart until it was basically an MVC site again. Once I got it that far, it worked again. I have disabled all the modules and handlers in the &lt;code&gt;web.config&lt;/code&gt; working my way through configs now. I have to imagine it is a &lt;code&gt;httpRequestBegin&lt;/code&gt; or a pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just looking for any thoughts on diagnosing this. I have disabled my test page with the &lt;code&gt;IgnoreUrlPrefixes&lt;/code&gt;, but Sitecore is still clearing the post variables. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;IgnoreUrlPrefixes&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/cauer.php&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Update:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I added a debugging processor at the beginning and end of &lt;code&gt;httpRequestBegin&lt;/code&gt; and &lt;code&gt;httpRequestEnd&lt;/code&gt;. In 8.2 U7 when my php file is in the &lt;code&gt;IgnoreUrlPrefixes&lt;/code&gt; I get a hit at the beginning of the &lt;code&gt;httpRequestBegin&lt;/code&gt;. But in 9.1 I do not get the hit. It is skipped. They seem to be handling the &lt;code&gt;IgnoreUrlPrefixes&lt;/code&gt; urls differently in 9.1.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update 2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is reported as a bug. Being worked on now.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-01-22T21:13:30.413" LastActivityDate="2019-02-22T23:30:28.803" Title="Sitecore 9.1 + PHP 7.2 = all form fields being removed by Sitecore on POST events" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16097" PostTypeId="1" CreationDate="2019-01-18T03:40:10.143" Score="0" ViewCount="735" Body="&lt;p&gt;While trying to import a JSS app to my sitecore instance, I'm getting the below error: &lt;a href=&quot;https://i.stack.imgur.com/P15wa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P15wa.png&quot; alt=&quot;re&quot;&gt;&lt;/a&gt;&#xA;No errors getting logged in Sitecore log file. How to debug further?&lt;/p&gt;&#xA;" OwnerUserId="4915" LastEditorUserId="312" LastEditDate="2019-01-18T07:45:16.970" LastActivityDate="2019-01-18T07:45:16.970" Title="Sitecore JSS deploy issue: Unexpected response from import status service" Tags="|jss|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16098" PostTypeId="1" AcceptedAnswerId="16103" CreationDate="2019-01-18T04:21:47.267" Score="2" ViewCount="1106" Body="&lt;p&gt;I am trying to follow the instructions for setting up the HelixBase solution, using these instructions. &lt;a href=&quot;https://github.com/muso31/Helixbase&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/muso31/Helixbase&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately on step 5 I'm a bit lost. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What do I need to do to run Unicorn?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To confirm what I have tried - I have restored nuget packages, built the solution and used the publish all projects gulp task.  I have tried logging into sitecore admin and then changing the url to &lt;a href=&quot;http://demo.helixbase.sc/unicorn.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://demo.helixbase.sc/unicorn.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pEgUx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pEgUx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-01-21T20:48:53.907" Title="Setting up HelixBase with Sitecore 9.1 and unsure how to run Unicorn" Tags="|helix|unicorn|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16099" PostTypeId="2" ParentId="16091" CreationDate="2019-01-18T05:20:07.460" Score="5" Body="&lt;p&gt;If you're running with the default local installation that XC sets up for a developer machine then all communication runs to the &lt;em&gt;authoring&lt;/em&gt; engine role for both the Sitecore Admin tools and the storefront, so the shops instance will never be hit and hence wont generate any logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is because you're only running a single instance of the CMS, acting as both the Content Management and Content Delivery.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each instance of Sitecore can only be configured to talk to a single endpoint for the commerce engine. If you look in your ShowConfig.aspx page for your CMS instance you will see a section which looks similar to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;commerceEngineConfiguration type=&quot;Sitecore.Commerce.Engine.Connect.CommerceEngineConfiguration, Sitecore.Commerce.Engine.Connect&quot; patch:source=&quot;Sitecore.Commerce.Engine.Connect.config&quot;&amp;gt;&#xA;    &amp;lt;shopsServiceUrl&amp;gt;https://localhost:5000/api/&amp;lt;/shopsServiceUrl&amp;gt;&#xA;    &amp;lt;commerceOpsServiceUrl&amp;gt;https://localhost:5000/commerceops/&amp;lt;/commerceOpsServiceUrl&amp;gt;&#xA;    &amp;lt;commerceRequestTimeout&amp;gt;120&amp;lt;/commerceRequestTimeout&amp;gt;&#xA;    &amp;lt;enforceSsl&amp;gt;true&amp;lt;/enforceSsl&amp;gt;&#xA;    &amp;lt;defaultEnvironment&amp;gt;HabitatAuthoring&amp;lt;/defaultEnvironment&amp;gt;&#xA;    &amp;lt;defaultShopName&amp;gt;CommerceEngineDefaultStorefront&amp;lt;/defaultShopName&amp;gt;&#xA;    &amp;lt;defaultShopCurrency&amp;gt;USD&amp;lt;/defaultShopCurrency&amp;gt;&#xA;    &amp;lt;certificateThumbprint&amp;gt;THUMBPRINT&amp;lt;/certificateThumbprint&amp;gt;&#xA;    ...&#xA;&amp;lt;/commerceEngineConfiguration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can see above this is set by default to communicate to the engine listening on port 5000 which is the authoring instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In production you would have more than once instance of the CMS, your content management instances would have this configuration pointing to your Authoring Engine endpoint as above, and the Content Delivery instances would be pointing to your Shops endpoint instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In other words, your shops instance isn't receiving any traffic, which is why it isn't generating any logs.&lt;/p&gt;&#xA;" OwnerUserId="269" LastEditorUserId="5596" LastEditDate="2019-05-30T09:30:40.433" LastActivityDate="2019-05-30T09:30:40.433" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16100" PostTypeId="2" ParentId="15619" CreationDate="2019-01-18T07:32:10.870" Score="1" Body="&lt;p&gt;A Form item gets created as soon as you save the form. The Form templates standard values items have this: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Js97N.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Js97N.png&quot; alt=&quot;See this&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can update this, but this would be changing the Sitecore's Form template. I am sure Sitecore would control the version of the Javascript files when they upgrade Sitecore version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not a great answer. Just another approach.&lt;/p&gt;&#xA;" OwnerUserId="3807" LastEditorUserId="237" LastEditDate="2019-01-18T09:22:33.193" LastActivityDate="2019-01-18T09:22:33.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16101" PostTypeId="2" ParentId="16006" CreationDate="2019-01-18T09:30:59.717" Score="1" Body="&lt;p&gt;On Lucene, you will need to implement a customScorer as far as I can see. I would not go in that direction.&#xA;If you move to Solr (recommended approach anyway) you can use function queries (in a boostFunction parameter) to boost with a precise value or use the &lt;code&gt;^=&lt;/code&gt; constant score facility in a boost query&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in Solr it would look like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;https://&amp;lt;solrhost&amp;gt;/solr/&amp;lt;collectionname&amp;gt;/&amp;lt;handlername - query&amp;gt;?q=searh+for&amp;amp;bq=_template:&amp;lt;id&amp;gt;&quot;^=10&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you will just add a number of &lt;code&gt;bq&lt;/code&gt; parameters for multiple template ids. &lt;/p&gt;&#xA;" OwnerUserId="214" LastEditorUserId="35" LastEditDate="2019-03-27T20:07:34.560" LastActivityDate="2019-03-27T20:07:34.560" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16102" PostTypeId="1" CreationDate="2019-01-18T10:15:48.420" Score="7" ViewCount="425" Body="&lt;p&gt;How can I update my YAML files for local disconnected mode development from Sitecore, as same as Connected mode. As We have a team who is working on Sitecore and another team is working on front-end in disconnected mode. I know we can use &lt;code&gt;:connected&lt;/code&gt; mode for development but I need the same data in disconnected mode also. &#xA;How can I update that &lt;code&gt;.yml&lt;/code&gt; files.&lt;/p&gt;&#xA;" OwnerUserId="4848" LastEditorUserId="3675" LastEditDate="2019-01-18T12:38:21.200" LastActivityDate="2019-04-26T16:44:46.573" Title="Update YAML Route Files as same as Connected mode, while working in Disconnected Mode" Tags="|jss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16103" PostTypeId="2" ParentId="16098" CreationDate="2019-01-18T10:17:16.157" Score="6" Body="&lt;p&gt;Sitecore 9.1 uses identity server for authorization. &lt;strong&gt;muso31/Helixbase&lt;/strong&gt; uses unicorn 4.0.4 and old version of Rainbow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just update Unicorn to 4.0.7 version and Rainbow to 2.0.5. There are some changes in unicorn config files for new version. Be sure to update them &lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn/tree/master/src/Unicorn/Standard%20Config%20Files&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/SitecoreUnicorn/Unicorn/tree/master/src/Unicorn/Standard%20Config%20Files&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-01-18T10:17:16.157" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16105" PostTypeId="2" ParentId="12257" CreationDate="2019-01-18T11:37:26.040" Score="0" Body="&lt;p&gt;If you are using webpack, there is a good chance you use it with HtmlWebpackPlugin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Aaand it happens to have an option just for that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so in your &lt;code&gt;webpack.conf.js&lt;/code&gt; you write&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;favicon: 'src/assets/favicon.png'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in your template &lt;code&gt;index.html&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you add&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;icon&quot; href=&quot;src/assets/favicon.png&quot; type=&quot;image/x-icon&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This worked for me&lt;/p&gt;&#xA;" OwnerUserId="4918" LastActivityDate="2019-01-18T11:37:26.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16106" PostTypeId="1" AcceptedAnswerId="16107" CreationDate="2019-01-18T16:18:59.350" Score="2" ViewCount="1783" Body="&lt;p&gt;In a custom SXA control (just a copy of Promo) we started getting the error: &quot;The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.&quot; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/rTjGb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rTjGb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This happens on the test environment, but not on our dev environments.. it used to work, and we didn't change anything to the component (I think). At first, I couldn't reproduce the issue (the customer had noticed it) - but after a while I saw it too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The component has &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;a datasource template&lt;/li&gt;&#xA;&lt;li&gt;a datasource location with a query: &lt;code&gt;query:$site/*[@@name='Data']//*[@@templatename='...']&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The idea was to have all folders of a certain template as datasource parent. Which worked until .. well, something happened apparently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the browser console logs and I can see that the request &#xA;to &lt;code&gt;/sitecore/shell/default.aspx?xmlcontrol=Sitecore.Shell.Applications.Dialogs.SelectRenderingDatasource...&lt;/code&gt; returns a 404. But it does not for other components. And it does not for this component on other environments.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea why?&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="342" LastEditDate="2019-01-18T16:30:06.577" LastActivityDate="2019-01-18T16:30:06.577" Title="Getting a &quot;Resource you are looking for has been removed&quot; error in the datasource selection dialog" Tags="|sxa|sitecore-client|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16107" PostTypeId="2" ParentId="16106" CreationDate="2019-01-18T16:18:59.350" Score="8" Body="&lt;p&gt;Long story (and quite a few checks, verifying code, ...) short:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;it was a very stupid issue. But one that can occur if you don't think twice about your datasource query. Browsers have a maximum length for their url :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was using Chrome which allowed me to have the url just a bit longer than the Edge my customer is using. That's why they saw it sooner..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What happened: the customer started adding folders, and my query detected those. All seemed fine, until they had too much folders and the request broke. Sitecore sends a request that contains all the guids of items that can be a parent. In ur case this turned out to be something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/shell/default.aspx?xmlcontrol=Sitecore.Shell.Applications.Dialogs.SelectRenderingDatasource&amp;amp;hdl=262D2DC610BF40EE95506031CCDD3DCB&amp;amp;ro=sitecore%3A%2F%2Fmaster%2F%7B5B1E7DFB-3AB8-44B9-8AC6-CB6852204223%7D%3Flang%3Den%26ver%3D1&amp;amp;fo=sitecore%3A%2F%2Fmaster%2F%7B5B1E7DFB-3AB8-44B9-8AC6-CB6852204223%7D%3Flang%3Den%26ver%3D1&amp;amp;sr=1&amp;amp;ic=BusinessV2%2F32x32%2Fcabinet_open.png&amp;amp;txt=Select%20the%20content%20that%20you%20want%20to%20associate%20with%20the%20rendering%20and%20use%20as%20the%20data%20source.&amp;amp;ti=Select%20the%20Associated%20Content&amp;amp;bt=OK&amp;amp;rt=Id&amp;amp;dsDN=Documents&amp;amp;dsRoots=sitecore%3A%2F%2Fmaster%2F%7B5B1E7DFB-3AB8-44B9-8AC6-CB6852204223%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B74784153-B752-481B-9127-D4186D4B847A%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7BDDE0D7D1-F9CF-448E-BD98-287A59324996%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B3EE8366B-7469-4F7D-8F4B-5C9D1ECEAE35%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B54335C0F-C283-4EE6-B5DE-95D1A56CC52D%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B158080F7-EFDF-46D4-8BAE-6906D0DD9540%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B19A6DE86-7FAF-4861-84E8-ECD4997CB18C%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B3ADF864C-E605-4690-8C60-C0CCA6CEFF6C%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B28EF1B1D-57A1-446D-BD78-A2EA7145A936%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B1B8BCF62-57E6-46F2-A1BF-DCE40A14D0CD%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B9FEA26FA-52B7-46F3-BBCA-4BE85A138707%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B07AB8027-1C67-4EA0-81A7-FA04409FDE4F%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B0BC1A62E-3006-44DF-890D-550099C3ECEB%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B44978BEE-B96A-498E-93DB-867BF97FFCA3%7D%3Flang%3Den%26ver%3D1%7Csitecore%3A%2F%2Fmaster%2F%7B9700DC24-8969-4638-ACC3-34D54335829E%7D%3Flang%3Den%26ver%3D1&amp;amp;clang=en&amp;amp;cip=...&amp;amp;r=%7bD86F7730-C038-43C9-8992-4A4B60DADCE1%7d&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this went over the browser limit (2083) - what caused the 404. And the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We fixed it by changing the datasource location query to limit the list of 'parents' - which was possible as our query was not specific enough.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lesson learned: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you define a query for a datasource location, make sure the result cannot&#xA;  contain too many items.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-18T16:18:59.350" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16108" PostTypeId="1" CreationDate="2019-01-18T16:57:59.667" Score="0" ViewCount="501" Body="&lt;p&gt;Does sitecore 9.0.2 supports Azure SQL managed instance(Azure SQL Paas) ?&lt;/p&gt;&#xA;" OwnerUserId="4337" LastActivityDate="2019-01-18T17:16:54.623" Title="Does sitecore 9.0.2 supports Azure SQL managed instance(Azure SQL Paas)?" Tags="|installation|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16109" PostTypeId="2" ParentId="16108" CreationDate="2019-01-18T17:16:54.623" Score="1" Body="&lt;p&gt;Yes, Sitecore 9.0.2 does support Azure SQL. The KB page is a little outdated, but Sitecore 9.0.2 fully supports Azure SQL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From their compatibility KB page:  &lt;a href=&quot;https://kb.sitecore.net/articles/777703&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/777703&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore supports Microsoft Azure SQL Database service for the&#xA;  following setups:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;When running Sitecore XP 8.2 and later versions.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;When running Sitecore XP 8.1 and earlier versions and deploying to&#xA;  Microsoft Azure using the Sitecore Azuremodule.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore does not support using Azure SQL Databases in the following&#xA;  situations:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;When using Email Experience Manager module &lt;strong&gt;prior to Sitecore 9.0.1 (not mentioned in link)&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;When running any configuration that is not mentioned in the supported&#xA;  list.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-01-18T17:16:54.623" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16110" PostTypeId="1" AcceptedAnswerId="16774" CreationDate="2019-01-18T17:47:39.477" Score="0" ViewCount="439" Body="&lt;p&gt;When I use the file system to store items from the Media Library, I can see that each item stores either an absolute path or one that is relative from the webroot - not a path that is relative from the Media.FileFolder setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This means that I cannot use the same data in dev and live if they have a different Media.FileFolder (which they do).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to configure Sitecore so that the path of every item in the Media Library is relative to the Media.FileFolder?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-02-14T11:41:15.827" Title="Media Library Items: can I specify a path that is relative from the &quot;Media.FileFolder&quot; setting?" Tags="|media-library|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16111" PostTypeId="1" CreationDate="2019-01-18T18:37:44.043" Score="4" ViewCount="1390" Body="&lt;p&gt;The installation for Sitecore 9.1.0 is stuck at step number 50. This is what I get in the System Event Logs as 3 separate errors.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Errors were encountered in the procedure&#xA;  'dbo.__DeleteAllReportingData' during compilation of the object.&#xA;  Either the containment option of the database 'xp901_Reporting' was&#xA;  changed, or this object was present in model db and the user tried to&#xA;  create a new contained database.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Errors were encountered in the procedure 'dbo.ReduceMetricsTable'&#xA;  during compilation of the object. Either the containment option of the&#xA;  database 'xp901_Reporting' was changed, or this object was present in&#xA;  model db and the user tried to create a new contained database.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Errors were encountered in the procedure 'dbo.ReduceSegmentMetrics'&#xA;  during compilation of the object. Either the containment option of the&#xA;  database 'xp901_Reporting' was changed, or this object was present in&#xA;  model db and the user tried to create a new contained database.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Previously, I have installed Sitecore 9.0.1 and 9.0.2 on the same machine.&#xA;Any pointers?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The PowerShell script is stuck at this point&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ShardingTool - Create]:[Path] C:\inetpub\wwwroot\xp910.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe&#xA;        *** Welcome to Sitecore xDB Collection SQL Sharding Deployment Tool ***&#xA;        Tool was run with the following configuration:&#xA;        Operation: create&#xA;        SQL server connection:&#xA;        Server name: DESKTOP\SQLEXPRESS&#xA;        User: sa&#xA;        Integrated security: False&#xA;        Connect Timeout: 15&#xA;        Database edition: Basic&#xA;        Shard map manager database name: xp901_Xdb.Collection.ShardMapManager&#xA;        Shard map names: ContactIdShardMap, DeviceProfileIdShardMap, ContactIdentifiersIndexShardMap&#xA;        Shard number: 2&#xA;        Shard name prefix: xp910_Xdb.Collection.Shard&#xA;        Shard name suffix:&#xA;        Dacpac file path: C:\inetpub\wwwroot\xp901.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.Sql.dacpac&#xA;        Creating database xp910_Xdb.Collection.ShardMapManager&#xA;        Created Shard Map Manager&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="318" LastEditorUserId="318" LastEditDate="2019-02-01T02:44:46.493" LastActivityDate="2019-05-25T20:54:19.740" Title="Sitecore 9.1 Installation Error" Tags="|sitecore-install-framework|installation|powershell|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16112" PostTypeId="1" CreationDate="2019-01-18T19:14:12.937" Score="0" ViewCount="797" Body="&lt;p&gt;I'm trying to set up a new set of users with roles.  I have them members of a couple of different roles that inherit from sitecore roles, including Author, Designer, Sitecore Client Designer and Sitecore Client Authoring.  The user also has been granted create access to all the items within a subfolder, but clicking on any of those items shows a menu with an insert item at the top but when clicking on it, it does nothing - it doesn't present a submenu of the insert options (which I've set for in the _Standard Values item for the template.&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-01-18T19:14:12.937" Title="Not seeing insert options for user" Tags="|security|templates|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16113" PostTypeId="2" ParentId="4334" CreationDate="2019-01-18T19:26:14.157" Score="0" Body="&lt;p&gt;Im using Sitecore 9.1 and rich text, single and multi-line fields strip iframe content (truncated) when editing other components in experience editor.&lt;/p&gt;&#xA;" OwnerUserId="433" LastEditorUserId="433" LastEditDate="2019-01-18T19:34:45.893" LastActivityDate="2019-01-18T19:34:45.893" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16114" PostTypeId="1" AcceptedAnswerId="16115" CreationDate="2019-01-18T20:21:59.553" Score="4" ViewCount="175" Body="&lt;p&gt;It seems like you can do this via the Default Value item in the field properties but when I add the path to the image I want, and then create an item with that template, it doesn't show that image.  If I click Browse it puts me in the source folder I specify, which has that default, but is there a way to prepulate the image into the item without having to go in and select it manually?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2020-12-10T14:15:23.327" Title="Can you prepopulate an image field with an existing image?" Tags="|templates|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16115" PostTypeId="2" ParentId="16114" CreationDate="2019-01-18T20:40:27.393" Score="7" Body="&lt;p&gt;This is what Standard Values are for. You can set the value of the field on the &lt;code&gt;__Standard Values&lt;/code&gt; item underneath the template of the item you're creating (or a base template, if you prefer):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kIdHp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kIdHp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the &lt;code&gt;__Standard Values&lt;/code&gt; item does not exist under your template, you can add it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select on your template in the Content Editor&lt;/li&gt;&#xA;&lt;li&gt;Ensure the &lt;strong&gt;Builder&lt;/strong&gt; content tab is selected&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Builder Options&lt;/strong&gt; ribbon tab, click the &lt;strong&gt;Standard values&lt;/strong&gt; button&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;There's also another question/answer with &lt;a href=&quot;https://sitecore.stackexchange.com/questions/7899/what-is-the-difference-between-default-value-of-a-template-and-its-standard-val&quot;&gt;more information on the difference between Default Values and Standard Values&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-01-20T14:56:35.350" LastActivityDate="2019-01-20T14:56:35.350" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16116" PostTypeId="1" CreationDate="2019-01-19T00:27:22.530" Score="1" ViewCount="54" Body="&lt;p&gt;Any good suggestions for implementation of custom index based solr search in sitecore 9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example any product name is clicked.the filtered result of  product name should  be populated in the home screen.the url is home.com/product name &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wil custom based search index wil b helpful for the above scenarios ? Any recommend article of implementation &lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="3601" LastEditDate="2019-01-19T14:02:56.750" LastActivityDate="2019-01-19T14:02:56.750" Title="Custom index search -Solr" Tags="|content-search|solr|" AnswerCount="0" CommentCount="3" ClosedDate="2019-01-20T04:11:02.560" ContentLicense="CC BY-SA 4.0" />
  <row Id="16117" PostTypeId="1" CreationDate="2019-01-20T02:58:52.227" Score="4" ViewCount="5137" Body="&lt;p&gt;I install Sitecore XP 9.1 using SIF but identity server doesn't work. If I delete the IIS site for it I can still log into Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nothing in log for Sitecore or identity server. Anyone help? &lt;/p&gt;&#xA;" OwnerUserId="4922" LastActivityDate="2019-01-20T03:41:36.853" Title="Sitecore 9.1 and Identity Server" Tags="|sitecore-install-framework|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16118" PostTypeId="2" ParentId="16117" CreationDate="2019-01-20T03:27:33.887" Score="6" Body="&lt;p&gt;The most likely cause if you're not seeing any errors is that the new security configuration is disabled in Web.Config. It needs to be:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add key=&quot;security:define&quot; value=&quot;Sitecore&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can still log in to Sitecore as if it's disabled or it can't connect to the identity server it will fall back to the old sitecore login page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be able to see an error in the logs if this config is enabled, but it still can't connect to the identity server:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Unable to reach an external identity provider&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The identity server URL is set by default on the &lt;code&gt;identityServerAuthority&lt;/code&gt; Sitecore variable in &lt;code&gt;App_Config\Sitecore\Owin.Authentication.IdentityServer\Sitecore.Owin.Authentication.IdentityServer.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that it is set correctly, that the identity server is up and running. If you go directly to your identity server URL, it should show the sitecore login page. If not, check your identity server config in &lt;code&gt;Config\production\Sitecore.IdentityServer.Host.xml&lt;/code&gt; which should have correct settings for CertificateThumbprint, ConnectionString, AllowedCorsOrigins, and ClientSecrets. The ClientSecret value needs to be matching in Sitecore's ConnectionStrings.config &lt;code&gt;sitecoreidentity.secret&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-01-20T03:41:36.853" LastActivityDate="2019-01-20T03:41:36.853" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16119" PostTypeId="2" ParentId="16064" CreationDate="2019-01-20T04:56:35.353" Score="1" Body="&lt;p&gt;This is a known issue with a patch available &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.293880&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. Best practice is to contact Sitecore support for advice before applying any patches.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-01-20T04:56:35.353" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16120" PostTypeId="1" CreationDate="2019-01-20T11:18:47.220" Score="1" ViewCount="428" Body="&lt;p&gt;I'm trying to migrate the analytics data from Sitecore 8.2.4 to 9.0.2. The tool worked about 12 hours and failed with the following message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;10152 19:08:25 ERROR [Data Exchange] An error occurred when trying to add the entity to the xConnect client. (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe, entity model internal description: e298e777-8a40-4fb5-99fd-453560881695)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;10152 19:08:25 ERROR [Data Exchange] Exception while submitting batch to xConnect. (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe)&#xA;  10152 19:08:25 ERROR [Data Exchange] One or more errors occurred. (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;10152 19:08:25 ERROR [Data Exchange] START AGGREGATE EXCEPTION (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe, ID: 1, HResult: -2146233088)&#xA;  ---- An error occurred when trying to add the entity to the xConnect client. (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe, entity model internal description: e298e777-8a40-4fb5-99fd-453560881695)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;---- ---- An error occurred when trying to add the entity to the xConnect client. (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe, entity model internal description: e298e777-8a40-4fb5-99fd-453560881695)&#xA;  Operation #2, ReferenceNotFound, Contact, Emails (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe)&#xA;  ---- ---- An error occurred when trying to add the entity to the xConnect client. (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe, entity model internal description: e298e777-8a40-4fb5-99fd-453560881695)&#xA;  Operation #3, ReferenceNotFound, Contact, Personal (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe)&#xA;  ---- ---- An error occurred when trying to add the entity to the xConnect client. (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe, entity model internal description: e298e777-8a40-4fb5-99fd-453560881695)&#xA;  Operation #4, ReferenceNotFound, Contact, PhoneNumbers (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe)&#xA;  ...&#xA;  END AGGREGATE EXCEPTION (thread id: 4, pipeline: Process Single Interaction from MongoDB Pipeline, pipeline step: Add Interaction Model to xConnect Batch, pipeline step identifier: f5fdb6f1-3557-461e-a75c-3cd9179077fe, ID: 2, HResult: -2146233088)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What is the reason of the issue and how I can deal with it? I guess it should skip the contact in question and continue, but it aborts the execution at all. &lt;/p&gt;&#xA;" OwnerUserId="4516" LastEditorUserId="73" LastEditDate="2019-04-13T22:41:43.677" LastActivityDate="2019-09-10T23:03:15.430" Title="xDB Data Migration tool fails" Tags="|xdb|mongodb|migration|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16121" PostTypeId="2" ParentId="16111" CreationDate="2019-01-20T14:03:42.547" Score="0" Body="&lt;p&gt;According to Sitecore compatibility table, Sitecore 9.1 can only be installed on SQL 2016 sp2 and above, Sitecore 9.0 can only be installed on SQL 2016 sp1 and under. Make sure your SQL server version meet the 9.1 requirement.&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/087164&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1055" LastActivityDate="2019-01-20T14:03:42.547" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16122" PostTypeId="1" AcceptedAnswerId="16985" CreationDate="2019-01-21T04:37:12.943" Score="5" ViewCount="326" Body="&lt;p&gt;Sitecore 9.1&#xA;.NetCore 2.1&#xA;.Net 4.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below you will find the hello world console app code to talk to xConnect. You pass it a thumbprint and a url and it will try to initialize a connection. The only issue is that with a normal old school console app I connect fine. But in a Core app I get the dreaded &lt;code&gt;The HTTP response was not successful: Unauthorized&lt;/code&gt; error. Exact same code. Both in the same admin command prompt. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I run the windows as &lt;code&gt;consoleapp.exe&lt;/code&gt;&#xA;I run the .netcore as &lt;code&gt;dotnet coreconsoleapp.dll&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would not think so, but does core run in an alternate context? If I disable the cert in xConnect, the connect works. So it is definitely that core cannot process the cert properly. I have added code where I reach in the certificate registry and pull the cert, to test permissions and receive no errors on access.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class Program&#xA;{&#xA;    private static void Main(string[] args)&#xA;    {&#xA;        MainAsync(args).ConfigureAwait(false).GetAwaiter().GetResult();&#xA;        Console.ForegroundColor = ConsoleColor.DarkGreen;&#xA;        Console.WriteLine(&quot;&quot;);&#xA;        Console.WriteLine(&quot;END OF PROGRAM.&quot;);&#xA;        Console.ReadKey();&#xA;    }&#xA;&#xA;    private static async Task MainAsync(string[] args)&#xA;    {&#xA;        CertificateHttpClientHandlerModifierOptions options =&#xA;        CertificateHttpClientHandlerModifierOptions.Parse(&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=DC7E10DC79E4BA82B5464BA6D56EED3F11CE7692&quot;);&#xA;&#xA;        var certificateModifier = new CertificateHttpClientHandlerModifier(options);&#xA;&#xA;        List&amp;lt;IHttpClientModifier&amp;gt; clientModifiers = new List&amp;lt;IHttpClientModifier&amp;gt;();&#xA;        var timeoutClientModifier = new TimeoutHttpClientModifier(new TimeSpan(0, 0, 20));&#xA;        clientModifiers.Add(timeoutClientModifier);&#xA;&#xA;        var collectionClient = new CollectionWebApiClient(new Uri(&quot;https://xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;        var searchClient = new SearchWebApiClient(new Uri(&quot;https://xconnect/odata&quot;), clientModifiers, new[] { certificateModifier });&#xA;        var configurationClient = new ConfigurationWebApiClient(new Uri(&quot;https://xconnect/configuration&quot;), clientModifiers, new[] { certificateModifier });&#xA;&#xA;        var cfg = new XConnectClientConfiguration(&#xA;            new XdbRuntimeModel(CollectionModel.Model), collectionClient, searchClient, configurationClient);&#xA;&#xA;        try&#xA;        {&#xA;            await cfg.InitializeAsync();&#xA;&#xA;             // Print xConnect if configuration is valid&#xA;             var arr = new[]&#xA;            {&#xA;                    @&quot;            ______                                                       __     &quot;,&#xA;                    @&quot;           /      \                                                     |  \    &quot;,&#xA;                    @&quot; __    __ |  $$$$$$\  ______   _______   _______    ______    _______  _| $$_   &quot;,&#xA;                    @&quot;|  \  /  \| $$   \$$ /      \ |       \ |       \  /      \  /       \|   $$ \  &quot;,&#xA;                    @&quot;\$$\/  $$| $$      |  $$$$$$\| $$$$$$$\| $$$$$$$\|  $$$$$$\|  $$$$$$$ \$$$$$$   &quot;,&#xA;                    @&quot; &amp;gt;$$  $$ | $$   __ | $$  | $$| $$  | $$| $$  | $$| $$    $$| $$        | $$ __  &quot;,&#xA;                    @&quot; /  $$$$\ | $$__/  \| $$__/ $$| $$  | $$| $$  | $$| $$$$$$$$| $$_____   | $$|  \&quot;,&#xA;                    @&quot;|  $$ \$$\ \$$    $$ \$$    $$| $$  | $$| $$  | $$ \$$     \ \$$     \   \$$  $$&quot;,&#xA;                    @&quot; \$$   \$$  \$$$$$$   \$$$$$$  \$$   \$$ \$$   \$$  \$$$$$$$  \$$$$$$$    \$$$$ &quot;&#xA;                };&#xA;            Console.WindowWidth = 160;&#xA;            foreach (string line in arr)&#xA;                Console.WriteLine(line);&#xA;&#xA;        }&#xA;        catch (XdbModelConflictException ce)&#xA;        {&#xA;            Console.WriteLine(&quot;ERROR:&quot; + ce.Message);&#xA;            return;&#xA;        }&#xA;&#xA;        // Initialize a client using the validated configuration&#xA;        using (var client = new XConnectClient(cfg))&#xA;        {&#xA;            try&#xA;            {&#xA;&#xA;            }&#xA;            catch (XdbExecutionException ex)&#xA;            {&#xA;                // Deal with exception&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-22T23:41:58.807" Title="Talking to xConnect in .Net vs .NetCore" Tags="|xconnect|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16123" PostTypeId="1" CreationDate="2019-01-21T09:36:58.870" Score="0" ViewCount="179" Body="&lt;p&gt;I'd like to set the Page Design field in certain pages of a certain template to a value in sitecore using powershell script. I tried the following but it didn't work. I also tried the name of the page design itself instead of the ID but also didn't work.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;cd 'master:/sitecore/content/'&#xA;Get-ChildItem -Recurse . | Where-Object { $_.TemplateName -match &quot;{TemplateName}&quot;} | ForEach-Object {   &#xA;    $_.Editing.BeginEdit()&#xA;    $_.Fields[&quot;Page Design&quot;].Value = &quot;{000000-0000-0000-0000-00000000000}&quot;;&#xA;    $_.Editing.EndEdit()&#xA;    &quot;&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3888" LastEditorUserId="73" LastEditDate="2019-01-22T13:29:39.757" LastActivityDate="2019-01-22T20:17:43.977" Title="Setting Page Design field in Sitecore pages" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16124" PostTypeId="2" ParentId="5575" CreationDate="2019-01-21T09:37:50.363" Score="0" Body="&lt;p&gt;Try to use custom &quot;smart copy/duplicate&quot; module instead of regular sitecore copy to copy sitecore forms - because in the copied form all the links will point to the previous form - this is not what you want to.&#xA;  When you creating a new form using WFFM dialog, it creates the full copy of the form with correct links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;smart copy&quot; module could be found at:  &lt;a href=&quot;https://github.com/AlenPelin/Sitecore-Smart-Commands&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore smart commands&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2982" LastActivityDate="2019-01-21T09:37:50.363" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16125" PostTypeId="1" AcceptedAnswerId="16168" CreationDate="2019-01-21T09:52:05.760" Score="5" ViewCount="243" Body="&lt;p&gt;My client has a license for Sitecore Experience Commerce. Initially it didn't work, turns out the license key needed updating. Sitecore sent them this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K8wQU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K8wQU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is; is this one key enough to run Commerce on 8.x and 9.x instances?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to: &lt;a href=&quot;https://kb.sitecore.net/articles/911240&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/911240&lt;/a&gt; - two license keys are connected to Commerce&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.CommerceServer.Runtime&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.CommerceServer.Integrated&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So it looks to me like one key is missing from the license. Or?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-01-22T20:44:48.850" Title="Which license keys are required for Experience Commerce?" Tags="|sitecore-commerce|licensing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16126" PostTypeId="2" ParentId="9203" CreationDate="2019-01-21T09:59:14.813" Score="1" Body="&lt;p&gt;According to documentation:&lt;a href=&quot;http://sharepoint_connector_module_installation_and_configuration_guide&quot; rel=&quot;nofollow noreferrer&quot;&gt;sharepoint_connector_module_installation_and_configuration_guide.pdf&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.3 Publish media files changes made on a SharePoint server&#xA;In order to incrementally publish changes in the media files updated on the SharePoint server, you&#xA;should make the following changes in the /App_Config/Include/sharepoint.config file:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the following attribute to the configuration element:&#xA;xmlns:x=&lt;a href=&quot;http://www.sitecore.net/xmlconfig/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sitecore.net/xmlconfig/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;add the following code to the  section:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&#xA; &#xA; 1&quot;&#xA;type=&quot;Sitecore.Modules.SharePoint.Pipelines.LoadSharepointItems, Sitecore.Modules.SharePoint&quot;&#xA;/&gt;&#xA; &#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use Smart or Full publishing, you don't need to make any configuration changes.&lt;/p&gt;&#xA;" OwnerUserId="2982" LastActivityDate="2019-01-21T09:59:14.813" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16127" PostTypeId="1" AcceptedAnswerId="16151" CreationDate="2019-01-21T11:17:55.347" Score="4" ViewCount="559" Body="&lt;p&gt;When using the ContentSearch API what is the difference in using &lt;code&gt;Where&lt;/code&gt; vs &lt;code&gt;Filter&lt;/code&gt; and can this have any influence on the results?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/linq-to-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt; :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Filtering is similar to using Where to restrict the result list. When you use Filter, the scoring/ranking of the search hits is not influenced by the filters, and filters can be cached to optimize search performance.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To avoid influencing the ranking of the search results, use Filter when applying restrictions to search queries in the GetGlobalFilters pipeline.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;From my understanding of these statements, I assume that a set of documents meeting the &lt;em&gt;Filter&lt;/em&gt; criteria could be cached and from that document set different queries could then be run, which should be quicker than searching against the entire index. Is this all there is, or can Filter actually change the results that are shown?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-01-22T08:19:45.650" Title="ContentSearch Where vs Filter" Tags="|content-search|lucene|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16128" PostTypeId="2" ParentId="16063" CreationDate="2019-01-21T11:18:48.063" Score="2" Body="&lt;p&gt;As an alternative, you can create a custom action &quot;send email&quot; based on: &lt;a href=&quot;https://www.nishtechinc.com/Blog/2018/April/Send-E-mail-Action-to-Sitecore-9-Forms&quot; rel=&quot;nofollow noreferrer&quot;&gt;Send-E-mail-Action-to-Sitecore-9-Forms&lt;/a&gt;, add to action's editor dialog/view model link to media item. And when on action executing add to mail attachments linked media item.&lt;/p&gt;&#xA;" OwnerUserId="2982" LastActivityDate="2019-01-21T11:18:48.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16129" PostTypeId="2" ParentId="15561" CreationDate="2019-01-21T12:12:14.427" Score="0" Body="&lt;p&gt;You can get the &quot;full&quot; final layout xml (merged deltas with shared layout) using following code snippet: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var item = Sitecore.Context.Item;&#xA;var finalLayoutField = new LayoutField(item.Fields[Sitecore.FieldIDs.FinalLayoutField]);&#xA;var finalLayoutDefinition = LayoutDefinition.Parse(finalLayoutField.Value);&#xA;var xml = finalLayoutDefinition.ToXml();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2982" LastActivityDate="2019-01-21T12:12:14.427" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16130" PostTypeId="2" ParentId="16123" CreationDate="2019-01-21T12:26:32.120" Score="1" Body="&lt;p&gt;I found out how to do it. I was able to do it using the following script&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$items = Get-ChildItem -Path '/sitecore/content/' -Recurse | &#xA;    Where-Object { $_.TemplateName -eq &quot;TemplateName&quot;}&#xA;&#xA;foreach($item in $items){&#xA;    $item.Editing.BeginEdit()&#xA;    $item[&quot;Page Design&quot;] = &quot;{000000-0000-0000-0000-000000000}&quot;;&#xA;    $item.Editing.EndEdit()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3888" LastEditorUserId="95" LastEditDate="2019-01-22T20:17:43.977" LastActivityDate="2019-01-22T20:17:43.977" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16131" PostTypeId="2" ParentId="15881" CreationDate="2019-01-21T12:35:21.580" Score="3" Body="&lt;p&gt;As Richard Seal mentioned, the answer may benefit others in future who refer this question.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$masterdatabase = &quot;master&quot;&#xA;$webdatabase = &quot;web&quot;&#xA;$root = Get-Item -Path (@{$true=&quot;$($masterdatabase):\content\home&quot;; $false=&quot;$($masterdatabase):\content&quot;}[(Test-Path -Path &quot;$($masterdatabase):\content\home&quot;)])&#xA;&#xA;&#xA;$props = @{&#xA;    Parameters = @(&#xA;        @{Name=&quot;root&quot;; Title=&quot;Choose the report root&quot;; Tooltip=&quot;Only items from this root will be returned.&quot;; }&#xA;            )&#xA;    Title = &quot;comparison Report&quot;&#xA;    Description = &quot;Choose the criteria for the report.&quot;&#xA;    Width = 550&#xA;    Height = 300&#xA;    ShowHints = $true&#xA;    Icon = [regex]::Replace($PSScript.Appearance.Icon, &quot;Office&quot;, &quot;OfficeWhite&quot;, [System.Text.RegularExpressions.RegexOptions]::IgnoreCase)&#xA;}&#xA;&#xA;$result = Read-Variable @props&#xA;&#xA;if($result -eq &quot;cancel&quot;) {&#xA;    exit&#xA;}&#xA;&#xA;filter Where-comparereport {&#xA;    param(&#xA;        [Parameter(Mandatory=$true,ValueFromPipeline=$true)]&#xA;        [Sitecore.Data.Items.Item]$item&#xA;    )&#xA;&#xA;    if ($item) {&#xA;        $masteritem = $item.Versions.GetLatestVersion().Statistics.Revision&#xA;&#xA;        $webitem = [Sitecore.Data.Database]::GetDatabase($webdatabase).GetItem($item.Id)&#xA;        if($webitem){&#xA;&#xA;        $webitemnumber = $webitem.Versions.GetLatestVersion().Statistics.Revision&#xA;&#xA;        if (!$masteritem.Equals($webitemnumber)) {&#xA;            $item&#xA;        }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;$items = @($root) + @(($root.Axes.GetDescendants() | Initialize-Item)) | Where-comparereport&#xA;&#xA;if($items.Count -eq 0) {&#xA;    Show-Alert &quot;There are no content items that is different from web and master database&quot;&#xA;} else {&#xA;    $props = @{&#xA;        Title = &quot;Item versions difference Report&quot;&#xA;        InfoTitle = &quot;Items that the latest version on web db is different than master&quot;&#xA;        InfoDescription = &quot;Items that the latest version on web db is different than master&quot;&#xA;        PageSize = 25&#xA;    }&#xA;&#xA;    $items |&#xA;        Show-ListView @props -Property @{Label=&quot;Icon&quot;; Expression={$_.__Icon} },&#xA;            @{Label=&quot;Name&quot;; Expression={$_.DisplayName} },&#xA;            @{Label=&quot;Updated&quot;; Expression={$_.__Updated} },&#xA;            @{Label=&quot;Updated by&quot;; Expression={$_.&quot;__Updated by&quot;} },&#xA;            @{Label=&quot;Created&quot;; Expression={$_.__Created} },&#xA;            @{Label=&quot;Created by&quot;; Expression={$_.&quot;__Created by&quot;} },&#xA;            @{Label=&quot;Path&quot;; Expression={$_.ItemPath} }&#xA;}&#xA;&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="681" LastEditDate="2019-06-17T17:06:47.350" LastActivityDate="2019-06-17T17:06:47.350" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16132" PostTypeId="2" ParentId="15383" CreationDate="2019-01-21T12:48:53.127" Score="1" Body="&lt;p&gt;Yes, in your index model you can use &lt;code&gt;TypeConverter&lt;/code&gt; attribute with type &lt;code&gt;Sitecore.ContentSearch.Converters.IndexFieldEnumerableConverter&lt;/code&gt; parameter to map guids from index to the Items &lt;code&gt;IEnumerable&lt;/code&gt; in the following manner:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class IndexResultItem : SearchResultItem&#xA;{&#xA;    [IndexField(&quot;_myfield&quot;)]&#xA;    [TypeConverter(typeof(IndexFieldEnumerableConverter))]&#xA;    public IEnumerable&amp;lt;Item&amp;gt; Items { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2982" LastEditorUserId="35" LastEditDate="2019-02-20T15:47:19.223" LastActivityDate="2019-02-20T15:47:19.223" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16133" PostTypeId="1" AcceptedAnswerId="16134" CreationDate="2019-01-21T12:51:56.317" Score="0" ViewCount="787" Body="&lt;p&gt;I've got a field in my template of type Time, the template is published and I've entered a value in my item but I'm not getting a value in my datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried &lt;code&gt;DateTime&lt;/code&gt; and &lt;code&gt;TimeSpan&lt;/code&gt; for the property type but all I get is &lt;code&gt;default(T)&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual DateTime TimeOfDay {get;set;}&#xA;&#xA;public virtual TimeSpan TimeOfDay {get;set;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've published the item and the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I get the raw item via &lt;code&gt;Sitecore.Context.Database.GetItem(...)&lt;/code&gt; I can see the field has a value, so it's entered and published properly, just not mapping.  I've Googled but can't see anything relating to the Time field type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing? How do I get the value to map to the glass model?&lt;/p&gt;&#xA;" OwnerUserId="3763" LastActivityDate="2019-01-21T13:42:05.350" Title="How do I map a Time field using Glass.Mapper?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16134" PostTypeId="2" ParentId="16133" CreationDate="2019-01-21T13:42:05.350" Score="4" Body="&lt;p&gt;This is a custom field. You can check this by going to &lt;code&gt;core:/sitecore/system/Field types&lt;/code&gt; and looking at the field in question. It will most likely have a namespace that is part of your codebase in the assembly and class fields. &#xA;What you need is a glass custom field mapper, this blog post explains it quite well...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorecorner.com/2014/10/02/glass-mapper-and-custom-time-field/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorecorner.com/2014/10/02/glass-mapper-and-custom-time-field/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1635" LastActivityDate="2019-01-21T13:42:05.350" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16135" PostTypeId="1" AcceptedAnswerId="16187" CreationDate="2019-01-21T13:44:57.507" Score="1" ViewCount="1955" Body="&lt;p&gt;I am trying to use new nuget feed for Sitecore 9.1.0 - &lt;a href=&quot;https://sitecore.myget.org/F/sc-platform-9-1/api/v3/index.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-platform-9-1/api/v3/index.json&lt;/a&gt; and when running next command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;install-package Sitecore.Kernel -IgnoreDependencies&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting an error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;install-package : Failed to add reference. The package 'Sitecore.Kernel' tried to add a framework reference to 'sysglobl' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for &#xA;assistance.&#xA;  Reference unavailable.&#xA;At line:1 char:1&#xA;+ install-package sitecore.kernel -IgnoreDependencies&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception&#xA;    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can confirm that I have latest (at the moment) .Net Framework 4.7.2 SDK installed on my PC and my VS project is targeting 4.7.2 as well&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it a package error?&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="915" LastEditDate="2019-01-21T14:15:49.097" LastActivityDate="2019-01-23T13:09:55.990" Title="Sitecore.Kernel nuget package fails to install from 9.1.0 nuget feed with -IgnoreDependencies" Tags="|nuget|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16136" PostTypeId="1" CreationDate="2019-01-21T13:56:12.760" Score="2" ViewCount="1056" Body="&lt;p&gt;&lt;strong&gt;Background Info:&lt;/strong&gt;&#xA;I am trying to install Sitecore 9.1 initial release with SIF. I want to install it on my development machine with the XP0 topology. I have been trying to use the &lt;code&gt;XP0-SingleDeveloper.ps1&lt;/code&gt; script that came with the 9.1 installation package from dev.sitecore.net. I've modified the variables to match my environment, but have not made any significant changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The issue I'm having:&lt;/strong&gt; When I run the installation script, it runs for about 5 minutes and gets to task 65 where it tries to start the MarketingAutomationService. It spends about a minute or two waiting for the service, but eventually throws an error saying it was unable to start, which causes the script to exit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I've tried:&lt;/strong&gt; My issue seems to match exactly what the poster of this question had - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/15310/warning-waiting-for-service-sc910-xconnect-marketingautomationservice&quot;&gt;WARNING: Waiting for service sc910.xconnect-MarketingAutomationService&lt;/a&gt;&#xA;I tried the suggested actions listed in that question, but they did not fix my problem. I will post them here:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;Try to start the service manually from the Windows Services window.&lt;/code&gt; I was not able to start the service manually &lt;strong&gt;however&lt;/strong&gt; the second time that I try to start the service manually is usually successful. &lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Check the Windows Event Log. When services fail, it logs a message in the Application Log which is usually helpful enough to understand what's going.&lt;/code&gt; I see a few errors regarding maengine.exe which correspond with the exceptions thrown in the MarketingAutomation logs (in the pastebin below)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Ensure that you are using a PowerShell window as An Administrator. The SIF process installs Windows Services, which needs administrator access to the machine.&lt;/code&gt; I double-checked that I was running it as administrator.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Look at the xConnect Marketing Automation Engine logs.&lt;/code&gt; These are my logs &lt;a href=&quot;https://pastebin.com/DTziKR5N&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://pastebin.com/DTziKR5N&lt;/a&gt; It looks to me like the timeout is happening when the MarketingAutomation engine tries to initialize the xconnect client. I don't know how to debug this further to confirm or deny my guess.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Ensure that Local Service account has full control over the c:\inetpub\wwwroot\*.xconnect folder and its subfolders and files&lt;/code&gt; I did not have this account initially, so I added it (with subfolders and files) and full permissions, but continued to receive the same error after trying to reinstall.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In addition to these, I have tried uninstalling the things installed by the script and then ran the install script again. This includes, removing the SQL databases, solr cores, certificates, webroot files, and hosts file entry. I have tried reinstalling 10+ times and gotten the same results each time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also saw a blogpost mentioning the need to add a &lt;code&gt;collectionuser&lt;/code&gt; user to a few of the SQL databases, but it seems to me this applied to a previous version of Sitecore and/or SIF as it looks like this user was created correctly for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Behavior I don't understand:&lt;/strong&gt; In an effort to debug this issue, I ran maengine.exe in a command prompt to see if it would give me any more information (and also save time) and I found that it almost always starts successfully the &lt;strong&gt;second&lt;/strong&gt; time that I try to start it. For example, if I run the install script until it fails, then run maengine.exe manually, it will fail the first time then succeed the second time. If I do nothing else, then restart my computer, then run maengine.exe again, it will fail the first time, but succeed the second time almost always. If I then terminate it then try to run it again, it will work again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So for a reason I have yet to understand, the first time maengine.exe is run, it seems to wake up some process that enables it to work the second time it's executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fact that the MarketingAutomation engine will eventually work tells me that I don't have any problems with certificates or user permissions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been spending a lot of time trying to figure this out and don't know what I can try next. If anybody has any ideas or experienced this themselves before and can offer any advice, I would really appreciate it!&lt;/p&gt;&#xA;" OwnerUserId="1133" LastActivityDate="2019-07-29T05:54:23.537" Title="MarketingAutomationService times out during Sitecore 9.1 install with SIF" Tags="|sitecore-install-framework|marketing-automation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16137" PostTypeId="1" CreationDate="2019-01-21T15:04:14.547" Score="0" ViewCount="698" Body="&lt;p&gt;I use the following configuration for setting the CDN prefix for media files in my sitecore. But when viewing a page within the experience editor, none of the images can be reached by the CMS as the page is not public and behind a login wall. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore XP Single 9.0.2 and wa&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&#xA;               xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;settings&amp;gt;&#xA;            &amp;lt;!--Set the Media Server URL to the Azure CDN endpoint--&amp;gt;&#xA;            &amp;lt;setting name=&quot;Media.MediaLinkServerUrl&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;https://sitecore-dev-cdn.azureedge.net&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/setting&amp;gt;&#xA;&#xA;            &amp;lt;!--This will cause the Media Link Provider to include the above URL in the media links that are rendered.--&amp;gt;&#xA;            &amp;lt;setting name=&quot;Media.AlwaysIncludeServerUrl&quot;&amp;gt;&#xA;                &amp;lt;!--SET THIS VALUE TO FALSE WHEN WORKING IN A LOCAL DEV ENVIRONMENT--&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/setting&amp;gt;&#xA;&#xA;            &amp;lt;!--Cacheability needs to be set to public, otherwise the CDN will not cache media.--&amp;gt;&#xA;            &amp;lt;setting name=&quot;MediaResponse.Cacheability&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;public&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/setting&amp;gt;&#xA;        &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4927" LastActivityDate="2019-01-21T15:04:14.547" Title="Set CDN Media.AlwaysIncludeServerUrl to FALSE when user is in Experience Editor mode" Tags="|experience-editor|media-library|cdn|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16138" PostTypeId="1" CreationDate="2019-01-21T17:29:23.667" Score="2" ViewCount="8300" Body="&lt;p&gt;During the process of upgrading to Sitecore 9.1, I configured Solr indexes, and they show up in dashboard but not showing up in Sitecore indexing manager. Any suggestions/advice?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The crawling log shows this warning:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/zba1E.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zba1E.png&quot; alt=&quot;Log file contents&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3632" LastEditorUserId="342" LastEditDate="2019-01-21T19:16:07.777" LastActivityDate="2024-03-07T22:09:36.803" Title="Indexes missing in Sitecore Indexing Manager" Tags="|solr|" AnswerCount="6" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16139" PostTypeId="2" ParentId="16138" CreationDate="2019-01-21T18:18:42.613" Score="2" Body="&lt;p&gt;This can happen if Sitecore can't connect to Solr. Verify that Solr is functional, and connectivity is functional between the Sitecore server and the Solr server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also ensure that you have followed the appropriate setup instructions for your version of Sitecore (9.1 linked below):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/walkthrough--setting-up-solr.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Walkthrough: Setting up Solr (Sitecore 9.1)&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-01-21T19:17:14.717" LastActivityDate="2019-01-21T19:17:14.717" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16140" PostTypeId="1" AcceptedAnswerId="16169" CreationDate="2019-01-21T19:37:04.693" Score="1" ViewCount="698" Body="&lt;p&gt;As part of our clients requirements, we need to add a dropdown field to the Insert Link dialog in Sitecore.  Based on the selected Item in the content editor, this new field needs to query the tree to find the appropriate items to display in the dropdown.  The problem I'm running into is that the insertLink dialog doesn't have access to the current item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a general link field, when the user clicks the &quot;insert link&quot; link, an ajax call is made to &lt;code&gt;/sitecore/shell/Applications/Content-Editor?id=%7B1F6CECCF-4529-43F5-B6C2-0BE96502E6A7%7D&amp;amp;amp;vs=4&amp;amp;amp;la=en&amp;amp;amp;sc_content=master&amp;amp;amp;fo=%7B1F6CECCF-4529-43F5-B6C2-0BE96502E6A7%7D&amp;amp;amp;ic=Apps%2F48x48%2FPencil.png&amp;amp;amp;he=Content%20Editor&amp;amp;amp;cl=0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As part of the post, the FormData contains &lt;code&gt;__CurrentItem&lt;/code&gt; which contains the ID of the selected item in the sitecore tree.  Part of the json response from this call is the &quot;ShowModalDialog&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;&quot;commands&quot;: [{&#xA;        &quot;command&quot;: &quot;RegisterTranslation&quot;,&#xA;        &quot;value&quot;: &quot;Please wait while the Content Editor is loading.&quot;,&#xA;        &quot;key&quot;: &quot;Please wait while the Content Editor is loading.&quot;&#xA;    }, {&#xA;        &quot;command&quot;: &quot;SetPipeline&quot;,&#xA;        &quot;value&quot;: &quot;0CF084774D7245F18E5B6C868F035B91&quot;&#xA;    }, {&#xA;        &quot;command&quot;: &quot;ShowModalDialog&quot;,&#xA;        &quot;value&quot;: &quot;/sitecore/shell/Applications/Dialogs/Internal link.aspx?hdl=FFE1AED9A4714489818A0F073EFD3987&amp;amp;ro&amp;amp;la=en&amp;amp;sc_content=master&quot;,&#xA;        &quot;features&quot;: &quot;dialogWidth:685px;dialogHeight:600px;help:no;scroll:auto;resizable:yes;maximizable:yes;closable:yes;center:yes;status:no;header:;autoIncreaseHeight:yes;forceDialogSize:no&quot;,&#xA;        &quot;response&quot;: &quot;1&quot;&#xA;    }&#xA;]}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, the ID is not passed along to the Internal Link.aspx.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a Sitecore method somewhere that will return the currently selected item in the Sitecore tree?  If not, any ideas on the best way to pass the ID into that dialog?&lt;/p&gt;&#xA;" OwnerUserId="2999" LastEditorUserId="605" LastEditDate="2019-01-22T12:19:12.240" LastActivityDate="2019-01-22T21:52:12.780" Title="Customized Insert Link Dialog, How to Get Access to Currently Selected Item in Sitecore Tree" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16141" PostTypeId="1" CreationDate="2019-01-21T19:55:53.887" Score="4" ViewCount="843" Body="&lt;p&gt;I am having a hard time getting Sitecore 9 (SIF 2.0) installed where Solr is on a remote Linux box. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically I have removed the steps in the install powershell script that creates the solr cores and I have created them manually based on the default managed schema, with one exception: I updated the uniqueKey to point to the field _uniqueid and I added the field _uniqueid. I can create the cores. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to install, the xconnect installation fails when it ties to update the schema. Here is the error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[-------------------------------- ConfigureSolrSchemas [1] : ManageSolrSchema -------------------------------&#xA;[ConfigureSolrSchemas [1]]:[Requesting] https://mysolrurl:8983/solr&#xA;[ConfigureSolrSchemas [1]]:[Schema] Modifying Schema on https://mysolrurl:8983/solr : MyPrefix_Dev_&#xA;Install-SitecoreConfiguration : One or more errors returned from Solr request.&#xA;At D:\Websites\MySite\install.ps1:81 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:03:02&#xA;Invoke-ManageSolrSchemaTask : One or more errors returned from Solr request.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 c&#xA;+                         &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-ManageSolrSchemaTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is my install script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters&#xA;$prefix = &quot;MyPrefix&quot;&#xA;$dbPrefix = &quot;MyPrefix&quot;&#xA;$PSScriptRoot = &quot;D:\Websites\MyPrefix\Install&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot;&#xA;$sitecoreSiteName = &quot;mysitename&quot;&#xA;$SolrUrl = &quot;https://mysolrurl:8983/solr&quot;&#xA;$SolrRoot = &quot;/opt/solr&quot;&#xA;$SolrService = &quot;Solr 6.6.2&quot;&#xA;$SqlServer = &quot;mysqladdress&quot;&#xA;$SqlAdminUser = &quot;myuser&quot;&#xA;$SqlAdminPassword=&quot;mypassword&quot;&#xA;&#xA;#install client certificate for xconnect&#xA;$certParams = @{&#xA;Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;&#xA;CertificateName = &quot;$prefix.xconnect_client&quot;&#xA;RootCertFileName = &quot;$prefix&quot;&#xA;}&#xA;Install-SitecoreConfiguration @certParams -Verbose&#xA;&#xA;#install solr cores for xdb&#xA;$solrParams = @{&#xA;Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;&#xA;SolrUrl = $SolrUrl&#xA;SolrRoot = $SolrRoot&#xA;SolrService = $SolrService&#xA;CorePrefix = $dbPrefix&#xA;}&#xA;#Install-SitecoreConfiguration @solrParams&#xA;&#xA;#deploy xconnect instance&#xA;$xconnectParams = @{&#xA;Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;&#xA;Package = &quot;$PSScriptRoot\Sitecore 9.0.2 rev. 180604         &#xA;(OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA;LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;Sitename = $XConnectCollectionService&#xA;XConnectCert = $certParams.CertificateName&#xA;SqlDbPrefix = $dbPrefix&#xA;SqlServer = $SqlServer&#xA;SqlAdminUser = $SqlAdminUser&#xA;SqlAdminPassword = $SqlAdminPassword&#xA;SolrCorePrefix = $dbPrefix&#xA;SolrURL = $SolrUrl&#xA;}&#xA;Install-SitecoreConfiguration @xconnectParams&#xA;&#xA;#install solr cores for sitecore&#xA;$solrParams = @{&#xA;Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;&#xA;SolrUrl = $SolrUrl&#xA;SolrRoot = $SolrRoot&#xA;SolrService = $SolrService&#xA;CorePrefix = $prefix&#xA;}&#xA;#Install-SitecoreConfiguration @solrParams&#xA;&#xA;#install sitecore instance&#xA;$xconnectHostName = &quot;$prefix.xconnect&quot;&#xA;$sitecoreParams = @{&#xA;Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot;&#xA;Package = &quot;$PSScriptRoot\Sitecore 9.0.2 rev. 180604 &#xA;(OnPrem)_single.scwdp.zip&quot;&#xA;LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA;SqlDbPrefix = $dbPrefix&#xA;SqlServer = $SqlServer&#xA;SqlAdminUser = $SqlAdminUser&#xA;SqlAdminPassword = $SqlAdminPassword&#xA;SolrCorePrefix = $dbPrefix&#xA;SolrUrl = $SolrUrl&#xA;XConnectCert = $certParams.CertificateName&#xA;Sitename = $sitecoreSiteName&#xA;SiteLocation = &quot;D:\Websites\MyPrefix\Dev&quot;&#xA;XConnectCollectionService = &quot;https://$XConnectCollectionService&quot;&#xA;}&#xA;&#xA;Install-SitecoreConfiguration @sitecoreParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here are the relevant parts of my managed schema (I started with the vanilla managed-schema from a fresh install):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&amp;gt;&#xA;&amp;lt;schema name=&quot;example-basic&quot; version=&quot;1.6&quot;&amp;gt;&#xA;&#xA;...&#xA;&#xA;&amp;lt;dynamicField name=&quot;random_*&quot; type=&quot;random&quot; /&amp;gt;&#xA;&#xA;    &amp;lt;!-- uncomment the following to ignore any fields that don't already match an existing &#xA;        field name or dynamic field, rather than reporting them as an error. &#xA;        alternately, change the type=&quot;ignored&quot; to some other type e.g. &quot;text&quot; if you want &#xA;        unknown fields indexed and/or stored by default &#xA;&#xA;        NB: use of &quot;*&quot; dynamic fields will disable field type guessing and adding&#xA;        unknown fields to the schema. --&amp;gt; &#xA;    &amp;lt;!--dynamicField name=&quot;*&quot; type=&quot;ignored&quot; multiValued=&quot;true&quot; /--&amp;gt;&#xA;&#xA;    &amp;lt;!-- Field to use to determine and enforce document uniqueness.&#xA;      Unless this field is marked with required=&quot;false&quot;, it will be a required field&#xA;    --&amp;gt;&#xA;    &amp;lt;uniqueKey&amp;gt;_uniqueid&amp;lt;/uniqueKey&amp;gt;&#xA;    &amp;lt;field name=&quot;_uniqueid&quot; type=&quot;string&quot; indexed=&quot;true&quot; required=&quot;true&quot; stored=&quot;true&quot;/&amp;gt;&#xA;&#xA;    &amp;lt;!-- copyField commands copy one field to another at the time a document&#xA;       is added to the index.  It's used either to index the same field differently,&#xA;       or to add multiple fields to the same field for easier/faster searching.&#xA;&#xA;    &amp;lt;copyField source=&quot;sourceFieldName&quot; dest=&quot;destinationFieldName&quot;/&amp;gt;&#xA;    --&amp;gt;&#xA;&#xA;    &amp;lt;!-- field type definitions. The &quot;name&quot; attribute is&#xA;       just a label to be used by field definitions.  The &quot;class&quot;&#xA;       attribute and any other attributes determine the real&#xA;       behavior of the fieldType.&#xA;         Class names starting with &quot;solr&quot; refer to java classes in a&#xA;       standard package such as org.apache.solr.analysis&#xA;    --&amp;gt;&#xA;&#xA;    &amp;lt;!-- The StrField type is not analyzed, but indexed/stored verbatim.&#xA;       It supports doc values but in that case the field needs to be&#xA;       single-valued and either required or have a default value.&#xA;      --&amp;gt;&#xA;    &amp;lt;fieldType name=&quot;string&quot; class=&quot;solr.StrField&quot; sortMissingLast=&quot;true&quot; docValues=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;fieldType name=&quot;strings&quot; class=&quot;solr.StrField&quot; sortMissingLast=&quot;true&quot; multiValued=&quot;true&quot; docValues=&quot;true&quot; /&amp;gt;&#xA;&#xA;...&#xA;&#xA;&amp;lt;/schema&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="341" LastEditorUserId="237" LastEditDate="2019-01-22T08:01:26.027" LastActivityDate="2019-09-06T03:03:15.387" Title="Installing Sitecore 9 With Solr on Linux" Tags="|solr|sitecore-install-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16142" PostTypeId="2" ParentId="16098" CreationDate="2019-01-21T20:48:53.907" Score="2" Body="&lt;p&gt;As has been mentioned, updating to 4.0.7 will resolve the issue, the reason you are seeing the &lt;em&gt;Cannot construct System.Boolean because it has no constructor&lt;/em&gt; error is because you have not added all relevant Unicorn configs. I have now updated Helix Base to Unicorn 4.0.7 and if you pull the latest changes you can see the relevant configs updated in the &lt;strong&gt;App_Config/Include/Unicorn&lt;/strong&gt; folder&lt;/p&gt;&#xA;" OwnerUserId="1274" LastActivityDate="2019-01-21T20:48:53.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16143" PostTypeId="2" ParentId="16138" CreationDate="2019-01-21T21:30:33.893" Score="5" Body="&lt;p&gt;So, the reason why the solr cores didn't show up in sitecore indexing manager was there was  a naming mismatch between the cores defined in sitecore config vs the cores in Solr Dashboard.&#xA;We added a solrsetting patch config to provide the accurate names for the cores to resolve the issue.&lt;/p&gt;&#xA;" OwnerUserId="3632" LastActivityDate="2019-01-21T21:30:33.893" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16144" PostTypeId="2" ParentId="16102" CreationDate="2019-01-21T23:11:29.887" Score="3" Body="&lt;p&gt;There are no tools built into the JSS SDK to retrieve and store Layout Service data as files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When disconnected data is imported into Sitecore, it is &quot;expanded&quot; to reflect the data schemas you have defined in disconnected mode. In other words, component definitions, route data, content data and everything else you define in disconnected mode become templates, renderings, data source items, etc... in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At that point, it becomes &lt;em&gt;extremely&lt;/em&gt; difficult to &quot;export&quot; everything that has been expanded &lt;strong&gt;&lt;em&gt;and&lt;/em&gt;&lt;/strong&gt; make it available again as disconnected data in the same/similar structure as you defined it originally in disconnected mode. &lt;strong&gt;&lt;em&gt;And&lt;/em&gt;&lt;/strong&gt; make that data import-able again. This is especially true for shared data/components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have backend/frontend teams working in tandem on a JSS site / Sitecore instance, it is recommended that you try to use Connected mode in this scenario. Also, once Sitecore becomes the &quot;source of truth&quot; for your data, be sure to exercise caution if importing templates/components/renderings (e.g. disconnected data) into Sitecore so as not to break anything the backend team may have implemented.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of that said, your JSS app is essentially built to consume and render data made available via Layout Service. And you are not &lt;em&gt;required&lt;/em&gt; to use the mock Layout Service that the sample apps use. There is nothing preventing you from saving Layout Service data queried from Sitecore into a JSON file. Once you have that data locally (disconnected), you might consider building your own service layer to fetch &quot;raw&quot; Layout Service data from the JSON file(s) you saved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance, wherever you currently call &lt;code&gt;dataApi.fetchRouteData&lt;/code&gt;, you can add a conditional statement, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (inDisconnectedMode) {&#xA;  fetchRouteDataFromLocalFile();&#xA;} else {&#xA;  dataApi.fetchRouteData();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Related question (but similar answer: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13337/any-way-to-remove-disconnected-manifest-processing/&quot;&gt;Any way to remove disconnected manifest processing?&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE (2019-04-26)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you absolutely need to export JSS app data/definitions from Sitecore into disconnected data (as opposed to working in Connected mode), you may want to consider Umbrella for Sitecore JSS: &lt;a href=&quot;https://github.com/macaw-interactive/umbrella-for-sitecore-jss&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/macaw-interactive/umbrella-for-sitecore-jss&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2019-04-26T16:44:46.573" LastActivityDate="2019-04-26T16:44:46.573" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16146" PostTypeId="1" CreationDate="2019-01-22T04:25:22.913" Score="0" ViewCount="425" Body="&lt;p&gt;I have created a custom form element (FileUpload). In this FileUpload I assigned some validation (content type, file size). If I enable the validation and push the apply button, the changes are gone after the submit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we solve this kind of issue? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before saving the form: &lt;a href=&quot;https://i.stack.imgur.com/cyca4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cyca4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After saving the form: &lt;a href=&quot;https://i.stack.imgur.com/Ro3tz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ro3tz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="73" LastEditDate="2019-01-22T08:41:20.813" LastActivityDate="2019-06-21T10:02:30.307" Title="Custom validation is not working while saving the form" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16148" PostTypeId="1" AcceptedAnswerId="17616" CreationDate="2019-01-22T07:12:52.727" Score="4" ViewCount="154" Body="&lt;p&gt;There is a new cool feature called &lt;em&gt;Enroll contacts from list&lt;/em&gt; in Sitecore 9.1:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IOK1U.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IOK1U.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm wondering where the actual logic resists (which assembly and class). I'm going to utilize this functionality by defining a Sitecore task for this procedure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, I'm familiar with &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/marketing-automation-operations-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt; about Marketing Automation Operations API, but I would like to see the original solution here :) + maybe I can use some already existing method for that. So, I don't need to maintain my own code.  &lt;/p&gt;&#xA;" OwnerUserId="730" LastEditorUserId="246" LastEditDate="2019-03-22T12:18:48.333" LastActivityDate="2019-03-22T12:18:48.333" Title="Logic for Enroll contacts from list in Sitecore 9.1" Tags="|xconnect|sitecore-api|marketing-automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16149" PostTypeId="1" AcceptedAnswerId="16150" CreationDate="2019-01-22T07:37:32.183" Score="0" ViewCount="260" Body="&lt;p&gt;I am trying to understand the logic or mechanism behind the function to unpublish an item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems like Sitecore doesn't check and warn us during the unpublish process that the item to be unpublished has any sub items (i.e. alias) and pages linked to it, Am I right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so, what would happen to these sub items and links? showing a 404 Page?&lt;/p&gt;&#xA;" OwnerUserId="3851" LastActivityDate="2019-01-22T07:45:14.417" Title="What will happen to sub items (i.e. alias) or links upon unpublishing an item" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16150" PostTypeId="2" ParentId="16149" CreationDate="2019-01-22T07:45:14.417" Score="0" Body="&lt;p&gt;You're right. Sitecore doesn't warn during unpublish process that if the item is unpublished, all the links pointing to that item will not work anymore. And that all the links which point at descendants of that item won't work neither.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similarly, if you create a new item and add a link pointing to that item in &lt;code&gt;master&lt;/code&gt; database, and you publish only the link, without publishing your new item, the link won't work neither.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should handle those situations in your code to make sure there is no error page displayed for the users because of some null reference exceptions. And you should make your content editors aware that they should check if what they published or unpublished doesn't have impact on end users.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-01-22T07:45:14.417" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16151" PostTypeId="2" ParentId="16127" CreationDate="2019-01-22T08:19:45.650" Score="9" Body="&lt;p&gt;&lt;em&gt;Where =&gt; q&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The q parameter is normally the main query for the request&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Filter =&gt; fq&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;fq&quot; stands for Filter Query.This parameter can be used to specify a query that can be used to restrict the super set of documents that can be returned, without influencing score. It can be very useful for speeding up complex queries since the queries specified with fq are cached independently from the main query. Caching means the same filter is used again for a later query (i.e. there's a cache hit).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://wiki.apache.org/solr/CommonQueryParameters&quot; rel=&quot;noreferrer&quot;&gt;CommonQueryParameters&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;So, use Filter Query over Query wherever it is possible!&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="4791" LastActivityDate="2019-01-22T08:19:45.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16153" PostTypeId="1" CreationDate="2019-01-22T08:46:41.803" Score="0" ViewCount="109" Body="&lt;p&gt;When I try to &lt;strong&gt;download generated package&lt;/strong&gt; into Sitecore Package designer, nothing is happened. Just only a&lt;strong&gt;n error&lt;/strong&gt;, that I can observe in Chrome Dev Tool (&lt;strong&gt;sitecore.js&lt;/strong&gt;, line 1058):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iWMmj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iWMmj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In additional, the generated package does really exists and is located on CM server into '&lt;strong&gt;packages&lt;/strong&gt;' folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Details:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Azure VM&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2&lt;/li&gt;&#xA;&lt;li&gt;CM Server&lt;/li&gt;&#xA;&lt;li&gt;Packages folder is located on Azure VM 'Temporary Storage'&lt;/li&gt;&#xA;&lt;li&gt;Cisco VPN &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="4782" LastEditorUserId="73" LastEditDate="2019-01-23T18:23:59.003" LastActivityDate="2019-01-23T18:23:59.003" Title="Download Package in Package Designer does not work" Tags="|azure|package-designer|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16154" PostTypeId="2" ParentId="16146" CreationDate="2019-01-22T09:46:47.217" Score="1" Body="&lt;p&gt;Check your model behind the control. Does it inherit Input to store the validators?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BGnIb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BGnIb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your item should have a section to store the validation settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/evBw3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/evBw3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastEditorUserId="3675" LastEditDate="2019-01-22T09:54:31.047" LastActivityDate="2019-01-22T09:54:31.047" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16155" PostTypeId="1" CreationDate="2019-01-22T09:51:53.893" Score="5" ViewCount="633" Body="&lt;p&gt;Say I have a single CM with 1x master db, 1x core db and 2x web dbs (2x publishing targets) for 2x CD servers in different regions. I can't call both web dbs &amp;quot;web&amp;quot; - one must be something different, e.g. &amp;quot;web2&amp;quot;.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;-----------------            / CD1 (&amp;quot;web&amp;quot;)&#xA;|       CM       |--------- &amp;lt;&#xA;| (&amp;quot;web&amp;quot;,&amp;quot;web2&amp;quot;) |           \ CD2 (&amp;quot;web2&amp;quot; but locally called &amp;quot;web&amp;quot;)&#xA;----------------- &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;On CD1, it only sees its own web db called &amp;quot;web&amp;quot;. It doesn't know anything about &amp;quot;web2&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;On CD2, I want the config to be the same, so it only knows about its own web db called &amp;quot;web&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;Will this cause problems with the &lt;code&gt;EventQueue&lt;/code&gt; and publishing/indexing operations? In other words, will the CM put events into the &lt;code&gt;EventQueue&lt;/code&gt; tagged against &amp;quot;web&amp;quot; and &amp;quot;web2&amp;quot; respectively, meaning that CD2 won't respond to events for &amp;quot;web2&amp;quot; because it doesn't know what &amp;quot;web2&amp;quot; is?&lt;/p&gt;&#xA;&lt;h2&gt;Do I need to transform the config on CD2 so that its &amp;quot;web&amp;quot; db is actually referred to as &amp;quot;web2&amp;quot; everywhere?&lt;/h2&gt;&#xA;" OwnerUserId="1417" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-01-24T08:47:22.927" Title="Sitecore multiple CD web databases publishing/indexing EventQueue database name" Tags="|publishing|indexing|events|content-delivery|event-queue|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16156" PostTypeId="1" CreationDate="2019-01-22T10:07:32.100" Score="2" ViewCount="1252" Body="&lt;p&gt;We are using Sitecore 7.2 in our project. We have a requirement that based on country Geo-IP home page needs to be redirected. Please help me in achieving this functionality in local instance.&lt;/p&gt;&#xA;" OwnerUserId="4934" LastEditorUserId="2056" LastEditDate="2019-01-22T10:20:54.750" LastActivityDate="2021-10-19T04:47:25.370" Title="How can we work with Geo-IP in local instance?" Tags="|geo-location|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16157" PostTypeId="2" ParentId="16156" CreationDate="2019-01-22T10:28:40.600" Score="5" Body="&lt;p&gt;We are usually faking local IP address in this case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use querystring such as &quot;?ipaddress={Fake_Ip_goes_here}&quot; to inject faked ip address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your code, in place where you determine IP address, just add another condition if this query string is present, use value provided instead. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are sites like this one &lt;a href=&quot;https://www.nirsoft.net/countryip/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nirsoft.net/countryip/&lt;/a&gt; which will help you get proper IP for particular country to test whether redirection is working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course on production environment this is not desired so we usually introduce some kind of setting &quot;EnableSettingIpAddressFromQueryString&quot; which is on production set to False and we add another condition to upper one whether this setting is true so we only enable setting IP address from query string on non-production servers.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-01-22T12:10:47.740" LastActivityDate="2019-01-22T12:10:47.740" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16158" PostTypeId="2" ParentId="16156" CreationDate="2019-01-22T10:28:57.543" Score="2" Body="&lt;p&gt;You can add a processor to change request IP address locally in the analytics &quot;createVisit&quot; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;createVisit&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Foundation.Geolocation.Pipelines.Testing.ChangeIP, Sitecore.Foundation.Geolocation&quot;&#xA;                   patch:after=&quot;processor[@type='Sitecore.Analytics.Pipelines.CreateVisits.XForwardedFor, Sitecore.Analytics']&quot;&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/createVisit&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Foundation.Geolocation.Testing.IP&quot; value=&quot;77.73.57.78&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Foundation.Geolocation.Pipelines.Testing&#xA;{&#xA;  public class ChangeIP : CreateVisitProcessor&#xA;  {&#xA;    public override void Process(CreateVisitArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;&#xA;        string ip = new IPAddress(Tracker.Current.Interaction.Ip).ToString();&#xA;        if (ip != &quot;0.0.0.0&quot; &amp;amp;&amp;amp; ip != &quot;127.0.0.1&quot;)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        IPAddress address;&#xA;        if (IPAddress.TryParse(Configuration.Settings.GetSetting(&quot;Foundation.Geolocation.Testing.IP&quot;), out address))&#xA;        {&#xA;            args.Interaction.Ip = address.GetAddressBytes();&#xA;        }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2982" LastEditorUserId="237" LastEditDate="2019-01-22T12:30:20.717" LastActivityDate="2019-01-22T12:30:20.717" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16159" PostTypeId="2" ParentId="16135" CreationDate="2019-01-22T11:08:40.553" Score="1" Body="&lt;p&gt;I could not reproduce issue on my machine, but I have idea what could be wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you download &lt;a href=&quot;https://sitecore.myget.org/F/sc-platform-9-1/api/v2/package/Sitecore.Kernel/12.0.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Kernel package&lt;/a&gt; from 9.1 feed and will look on its specification(.nuspec), you will see that it has &lt;em&gt;sysglobl&lt;/em&gt; dependency, which stays for &lt;em&gt;System.Globalization&lt;/em&gt;. My guess is that for some reason there is an issue with finding of &lt;em&gt;sysglobs&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My first suggestion how to overcome it is next:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add reference to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\sysglobl.dll before installation of package&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My second suggestion:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download required &lt;a href=&quot;https://sitecore.myget.org/F/sc-platform-9-1/api/v2/package/Sitecore.Kernel/12.0.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Kernel nuget package&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Edit Sitecore.Kernel.nuspec file inside it. (Nuget packages are zip archives. You can edit files directly in archive and it is still will be valid package. Or you can unzip all files from package and prepare new one using &lt;em&gt;nuget.exe&lt;/em&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Change &lt;em&gt;assemblyName=&quot;sysglobl&quot;&lt;/em&gt; with &lt;em&gt;assemblyName=&quot;System.Globalization&quot;&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Save package to some location. (Or you can edit it directly in packages folder. In this case step 5 could be skipped)&lt;/li&gt;&#xA;&lt;li&gt;Install package from your local location by specifying &lt;em&gt;-Source&lt;/em&gt; parameter&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;P.S. I have no idea why &lt;em&gt;assemblyName=&quot;sysglobl&quot;&lt;/em&gt; is used instead of &lt;em&gt;assemblyName=&quot;System.Globalization&quot;&lt;/em&gt;. It worth to raise support ticket on this.&lt;/p&gt;&#xA;" OwnerUserId="666" LastEditorUserId="666" LastEditDate="2019-01-22T11:15:33.360" LastActivityDate="2019-01-22T11:15:33.360" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16160" PostTypeId="2" ParentId="16156" CreationDate="2019-01-22T12:00:30.287" Score="0" Body="&lt;p&gt;One way I've done this before is to use ngrok http tunneling &lt;a href=&quot;https://ngrok.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ngrok.com&lt;/a&gt;, and then use a VPN service to imitate the connection. This way works for all web applications, not just sitecore.&#xA;I think this is a great way for non technical people (eg stakeholders) to test the functionality without mucking around with anything.&lt;/p&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2019-01-22T12:00:30.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16161" PostTypeId="1" AcceptedAnswerId="16162" CreationDate="2019-01-22T15:16:30.223" Score="3" ViewCount="3868" Body="&lt;p&gt;I am using Sitecore 9 Forms with a default mandatory (required field) validation. While submitting the form it is showing some validation message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible alter that message?&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="342" LastEditDate="2019-01-22T19:35:59.827" LastActivityDate="2019-01-22T19:35:59.827" Title="How to change the required field validation message for Sitecore 9 Forms" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16162" PostTypeId="2" ParentId="16161" CreationDate="2019-01-22T15:18:20.963" Score="6" Body="&lt;p&gt;The code for the required field validation works in a different way than other validations and the message will come from the Sitecore dictionary. If you want to update or translate it, you need to add a key to that Dictionary. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be done in the master database - just add an item in the &lt;code&gt;/system/Dictionary&lt;/code&gt; - the name doesn't really matter. The key however needs to be exactly &quot;{0} is required.&quot;. The phrase can be anything you want, just remember to add the {0} token as that will be replaced by your field name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/20rjz.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/20rjz.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info: &lt;a href=&quot;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-translating-error.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-translating-error.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the dictionary item does not exist in a default setup (a fallback is used in the code to give you a message when it is missing). So you actually need to create a new one.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-01-22T18:57:28.257" LastActivityDate="2019-01-22T18:57:28.257" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16163" PostTypeId="1" AcceptedAnswerId="16358" CreationDate="2019-01-22T15:18:36.943" Score="8" ViewCount="300" Body="&lt;p&gt;Sitecore regularly provides new releases for &lt;code&gt;Sitecore Commerce&lt;/code&gt; and Upgrade Guides. As far as I can see, if you need to upgrade &lt;code&gt;XC 9 Initial Release&lt;/code&gt; to the latest version, you need to upgrade &lt;code&gt;Commerce Engine&lt;/code&gt; and Sitecore from version to version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can't skip migration to Update-2 (for example) if you want to migrate to Update-3.&#xA;Of course, it will take a lot of time to upgrade environments and will affect the project budget.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think, that instead of upgrading step by step, it is better to choose another way and setup latest version from scratch and migrate content and possibly analytics data. Сontent migration will be the most time consuming, yet relatively simple. After that, you can just switch production to new servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My question is:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to upgrade Sitecore Commerce to the latest version, in your opinion? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Bonus questions:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any license limitations to run 2 Commerce instances simultaneously during an upgrade?&#xA;Is there support for Commerce xDB data migration available in xDB migration Tool? &lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="713" LastEditDate="2019-01-23T08:21:25.067" LastActivityDate="2019-01-31T04:20:24.810" Title="Sitecore Commerce Upgrade path" Tags="|sitecore-commerce|upgrade|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16164" PostTypeId="1" AcceptedAnswerId="16166" CreationDate="2019-01-22T17:01:11.970" Score="1" ViewCount="132" Body="&lt;p&gt;I'm generating a custom sitewide search by indexing the rendered HTML of the pages on my site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some pages will have a title and description field defined to display in the results, however, some wont and would benefit from using the indexed content to display a snippet of the search result. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;is there a way to append the page content via glass mapper, that is, on item creation glass mapper binds the corresponding document in the index to the generated object?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One solution would be to create a custom mapper that inserts the indexed field. Unfortunately, Im unsure how to access the corresponding lucene document from the item. &lt;/p&gt;&#xA;" OwnerUserId="4394" LastActivityDate="2019-01-22T19:35:29.353" Title="Is there a way to append an indexed field to a glass mapper object?" Tags="|content-search|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16165" PostTypeId="2" ParentId="5688" CreationDate="2019-01-22T18:53:07.813" Score="2" Body="&lt;p&gt;This is now supported in Sitecore versions 8.2.7 and 9.0.2 and later. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the link below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;A full index rebuild executes in a separate rebuild index. When the&#xA;  rebuild operation finishes, Sitecore switches the Search service to&#xA;  use the new rebuilt index as the primary search index. After this,&#xA;  Sitecore deletes the previous Search index.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can control the Switch On Rebuild feature with the following index configuration settings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Azure.SwitchOnRebuild&quot; value=&quot;true&quot;/&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To avoid downtime of the Search functionality during an index rebuild, use this setting to specify whether the Azure Search provider uses the SwitchOnRebuild functionality. The default value is true.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Azure.SwitchOnRebuildCleanUpDelay&quot; value=&quot;00:01:00&quot;/&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can set a time buffer to prevent Sitecore deleting the old index before all of the roles have been switched over to work with the newly rebuilt index. The default value is 00:01:00 (1 minute). You can only use this when the SwitchOnRebuild feature is enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/zero-downtime-index-rebuild-in-azure-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/zero-downtime-index-rebuild-in-azure-search.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-01-22T18:53:07.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16166" PostTypeId="2" ParentId="16164" CreationDate="2019-01-22T19:35:29.353" Score="2" Body="&lt;p&gt;I'd be reluctant to use a custom mapper to insert this indexed content for each item because it would affect the performance of every item's creation (and therefore your entire site).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, although it's not automatic, I'd recommend the following approach:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Add your &quot;fallback&quot; logic at the business/service layer instead&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var currentPage = mySitecoreContext.GetCurrentItem&amp;lt;IMyModel&amp;gt;();&#xA;string pageTitle = currentPage.Title;&#xA;if (string.IsNullOrEmpty(pageTitle))&#xA;{&#xA;    // execute a search for (x =&amp;gt; x.Id = currentPage.Id) and get the indexed field's value&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-01-22T19:35:29.353" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16168" PostTypeId="2" ParentId="16125" CreationDate="2019-01-22T20:44:48.850" Score="4" Body="&lt;p&gt;So the KB article hasn't been updated in a while and isn't correct for the 9.x series. The keys you require are as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;8.x Series&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.CommerceServer.Runtime&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.CommerceServer.Integrated    &lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Commerce.Connect&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;9.x Series&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Commerce.Connect&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;There is currently no license check for the 9.x series engine functionality just for the  Connect license key mentioned above.&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2019-01-22T20:44:48.850" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16169" PostTypeId="2" ParentId="16140" CreationDate="2019-01-22T21:52:12.780" Score="2" Body="&lt;p&gt;Well, I was able to figure out how to do this.  I added a new control source of a class that has Sitecore.Shell.Applications.ContentEditor.Link as a base class.  Next I overrode the HandleMessage method.  Inside this method I check for the message.name == &quot;contentlink:internallink&quot;.  When it matches, I call a new method in my class that is a copy of the Insert method found in the Link base class.  This is necessary because I needed to override the InsertLink method in order to add the current item to the query string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Insert method calls Sitecore.Context.ClientPage.Start.  I've modified this call to call my version of the InsertLink method.  Inside this method I've added the current item to the urlstring that gets sent to the ShowModalDialog call.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the querystring to the Link dialog has my current item on it.&lt;/p&gt;&#xA;" OwnerUserId="2999" LastActivityDate="2019-01-22T21:52:12.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16170" PostTypeId="1" AcceptedAnswerId="16178" CreationDate="2019-01-22T22:03:49.833" Score="0" ViewCount="53" Body="&lt;p&gt;I have a situation where I am stuck to create a query for fetching data from Wffm DB as Pivot, so please help&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;FieldName    Value&#xA;--------------------------------&#xA;FirstName      Joe&#xA;MiddleName     S&#xA;LastName       Smith&#xA;Email          abc@abc.com&#xA;FirstName      Sam&#xA;MiddleName     S&#xA;LastName       Freddrick&#xA;email          abc1@abc.com&#xA;FirstName      Jaime&#xA;MiddleName     S&#xA;LastName       Carol&#xA;email          abc2@abc.com&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Expected &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;FirstName   MiddleName          LastName        Email&#xA;----------------------------------------------------------------------&#xA;Joe             S               Smith           abc@abc.com&#xA;Sam             S               Freddrick       abc1@abc.com&#xA;Jaime           S               Carol           abc2@abc.com&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="4722" LastEditorUserId="2056" LastEditDate="2019-01-23T08:37:06.850" LastActivityDate="2019-01-23T08:37:06.850" Title="Get WFFM values and transpose them into Pivot table" Tags="|wffm|sql-database|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16173" PostTypeId="1" CreationDate="2019-01-22T23:23:06.440" Score="1" ViewCount="470" Body="&lt;p&gt;Having an odd problem with a production instance. When I enter a page that doesn't exist, such as &lt;code&gt;www.mysite.com/asdijdsiajdi&lt;/code&gt;, the typical Sitecore &quot;Document Not Found&quot; page appears, however the subdomain changes to &lt;code&gt;campaigns.mysite.com&lt;/code&gt; (which is a different site in the &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; node from our main one). Additionally, logging into Sitecore via &lt;code&gt;www.mysite.com/sitecore&lt;/code&gt; redirects to &lt;code&gt;campaigns.mysite.com/sitecore/login?returnUrl=%2Fsitecore%2Fshell&lt;/code&gt;. It's definitely not a global redirect on the &lt;code&gt;www.mysite.com&lt;/code&gt; domain, as going directly to that URL does not redirect to &lt;code&gt;campaigns.mysite.com&lt;/code&gt;; instead, it seems like any Sitecore pages or operations are handled through this Campaigns site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my current &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; node (extracted from &lt;code&gt;showconfig.aspx&lt;/code&gt;), although I've replaced the true domain with &lt;code&gt;mysite&lt;/code&gt; as I've done above. As you can see, &lt;code&gt;BHCorporate&lt;/code&gt; is the site that represents &lt;code&gt;mysite.com&lt;/code&gt; and &lt;code&gt;BH-campaigns&lt;/code&gt; represents the campaigns URL.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;shell&quot; virtualFolder=&quot;/sitecore/shell&quot; physicalFolder=&quot;/sitecore/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/login&quot; content=&quot;master&quot; contentStartItem=&quot;/Home&quot; enableWorkflow=&quot;true&quot; enableTracking=&quot;false&quot; analyticsDefinitions=&quot;content&quot; xmlControlPage=&quot;/sitecore/shell/default.aspx&quot; browserTitle=&quot;Sitecore&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;15MB&quot; viewStateCacheSize=&quot;1MB&quot; xslCacheSize=&quot;25MB&quot; disableBrowserCaching=&quot;true&quot; contentLanguage=&quot;en&quot; patch:source=&quot;Sitecore.Speak.ItemWebApi.config&quot; enableItemLanguageFallback=&quot;false&quot; enableFieldLanguageFallback=&quot;false&quot; itemwebapi.mode=&quot;StandardSecurity&quot; itemwebapi.access=&quot;ReadWrite&quot; itemwebapi.allowanonymousaccess=&quot;false&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;login&quot; virtualFolder=&quot;/sitecore/login&quot; physicalFolder=&quot;/sitecore/login&quot; enableTracking=&quot;false&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; disableXmlControls=&quot;true&quot; language=&quot;en&quot; patch:source=&quot;Sitecore.DefaultLanguage.config&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;admin&quot; virtualFolder=&quot;/sitecore/admin&quot; physicalFolder=&quot;/sitecore/admin&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot; domain=&quot;sitecore&quot; loginPage=&quot;/sitecore/admin/login.aspx&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;service&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/sitecore/service&quot; physicalFolder=&quot;/sitecore/service&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;modules_shell&quot; virtualFolder=&quot;/sitecore modules/shell&quot; physicalFolder=&quot;/sitecore modules/shell&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;core&quot; domain=&quot;sitecore&quot; content=&quot;master&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;modules_website&quot; virtualFolder=&quot;/sitecore modules/web&quot; physicalFolder=&quot;/sitecore modules/web&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;dummy&quot; virtualFolder=&quot;/sitecore/content&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content/doesnt exist&quot; startItem=&quot;&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhCentersSite&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;false&quot; hostName=&quot;centersite.mysite.com&quot; targetHostName=&quot;centersite.mysite.com&quot; rootPath=&quot;/sitecore/content/Centers&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BH-enroll&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; hostName=&quot;enroll.mysite.com&quot; targetHostName=&quot;enroll.mysite.com&quot; rootPath=&quot;/sitecore/content/Enroll&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BH-appreciation&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; hostName=&quot;appreciation.mysite.com&quot; targetHostName=&quot;appreciation.mysite.com&quot; rootPath=&quot;/sitecore/content/Appreciation&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhEmployers&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;true&quot; hostName=&quot;solutionsatwork.mysite.com&quot; targetHostName=&quot;solutionsatwork.mysite.com&quot; rootPath=&quot;/sitecore/content/SAW&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; notFoundItem=&quot;/sitecore/content/SAW/Home/page-not-found&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhSchools&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;true&quot; hostName=&quot;schools.mysite.com&quot; targetHostName=&quot;schools.mysite.com&quot; rootPath=&quot;/sitecore/content/Schools&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhSchoolsPreview&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; hostName=&quot;preview-schools.mysite.com&quot; rootPath=&quot;/sitecore/content/Schools&quot; startItem=&quot;/home&quot; database=&quot;master&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;false&quot; htmlCacheSize=&quot;0MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;0MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;false&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhBuca&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;true&quot; hostName=&quot;backupcenters.mysite.com&quot; targetHostName=&quot;backupcenters.mysite.com&quot; rootPath=&quot;/sitecore/content/BUCA&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhEdAssist&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;true&quot; language=&quot;en&quot; hostName=&quot;www.edassist.com|edassist.com|tuitionadvisory.net|www.tuitionadvisory.net&quot; targetHostName=&quot;edassist.com&quot; rootPath=&quot;/sitecore/content/EdAssist&quot; startItem=&quot;/home&quot; database=&quot;web&quot; notFoundItem=&quot;/sitecore/content/EdAssist/Home/page-not-found&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhJobs&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;false&quot; language=&quot;en&quot; hostName=&quot;jobs.mysite.com&quot; targetHostName=&quot;jobs.mysite.com&quot; rootPath=&quot;/sitecore/content/Jobs&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhBucaPreview&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; hostName=&quot;preview-buca.mysite.com&quot; rootPath=&quot;/sitecore/content/Buca&quot; startItem=&quot;/home&quot; database=&quot;master&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;false&quot; htmlCacheSize=&quot;0MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;0MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;false&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BH-campaigns&quot; virtualFolder=&quot;/&quot; language=&quot;en&quot; checkOldCampaignTrackerRedirects=&quot;true&quot; checkRedirects=&quot;true&quot; physicalFolder=&quot;/&quot; hostName=&quot;campaigns.mysite.com&quot; targetHostName=&quot;campaigns.mysite.com&quot; rootPath=&quot;/sitecore/content/Campaigns&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BH-clients&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;true&quot; checkCampaignTrackerRedirects=&quot;true&quot; hostName=&quot;clients.mysite.com|www.clients.mysite.com&quot; targetHostName=&quot;www.clients.mysite.com&quot; rootPath=&quot;/sitecore/content/Client Microsites&quot; startItem=&quot;/home&quot; database=&quot;web&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhCentersNew&quot; targetHostName=&quot;child-care-preschool.mysite.com&quot; settingsItem=&quot;{AD4AD16F-0301-4A98-927C-9507BD912C24}&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;true&quot; hostName=&quot;child-care-preschool.mysite.com&quot; rootPath=&quot;/sitecore/content/Centers New&quot; startItem=&quot;Center List Page&quot; database=&quot;web&quot; domain=&quot;extranet&quot; port=&quot;443&quot; externalPort=&quot;80&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; scheme=&quot;https&quot; patch:source=&quot;mysite.Website.Project.config&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BhCentersNewPreview&quot; targetHostName=&quot;preview-child-care-preschool.mysite.com&quot; settingsItem=&quot;{AD4AD16F-0301-4A98-927C-9507BD912C24}&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;true&quot; hostName=&quot;preview-child-care-preschool.mysite.com&quot; rootPath=&quot;/sitecore/content/Centers New&quot; startItem=&quot;Center List Page&quot; database=&quot;master&quot; domain=&quot;extranet&quot; port=&quot;443&quot; externalPort=&quot;80&quot; allowDebug=&quot;true&quot; cacheHtml=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; enableTracking=&quot;true&quot; cacheRenderingParameters=&quot;true&quot; renderingParametersCacheSize=&quot;10MB&quot; scheme=&quot;https&quot; patch:source=&quot;mysite.Website.Project.config&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;BHCorporate&quot; hostname=&quot;bhcorporate|corp.bhdts.com|mysite.com|www.mysite.com&quot; language=&quot;en&quot; rootPath=&quot;/sitecore/content/Corporate-New&quot; startItem=&quot;/home&quot; database=&quot;web&quot; cacheHtml=&quot;false&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; checkRedirects=&quot;true&quot; checkCampaignTrackerRedirects=&quot;true&quot; domain=&quot;extranet&quot; allowDebug=&quot;true&quot; htmlCacheSize=&quot;10MB&quot; registryCacheSize=&quot;0&quot; viewStateCacheSize=&quot;0&quot; xslCacheSize=&quot;5MB&quot; filteredItemsCacheSize=&quot;2MB&quot; enablePreview=&quot;true&quot; enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; disableClientData=&quot;false&quot; patch:source=&quot;mysite.Feature.Corporate.config&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;scheduler&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;system&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;  &amp;lt;site name=&quot;publisher&quot; domain=&quot;sitecore&quot; enableTracking=&quot;false&quot; enableWorkflow=&quot;true&quot;/&amp;gt;&#xA;  &amp;lt;!--&#xA; ITEM WEB API SETTINGS FOR A SITE&#xA;           Supported attributes (first is default):&#xA;             itemwebapi.mode: [Off|StandardSecurity|AdvancedSecurity]&#xA;               If set to Off, Item Web API is turned off.&#xA;               If set to StandardSecurity, Item Web API is turned on. Default Sitecore security model is used.&#xA;               If set to AdvancedSecurity, Item Web API is turned on. Default Sitecore security model is extended with a requirement to explicitely set the 'remote:fieldread' access right for content fields.&#xA;             itemwebapi.access: [ReadOnly|ReadWrite]&#xA;               If set to ReadOnly, then only READ operation is allowed.&#xA;               If set to ReadWrite, then CREATE, READ, UPDATE, and DELETE operations are allowed.&#xA;             itemwebapi.allowanonymousaccess: [false|true].&#xA;               Defines if access is allowed for non-authenticated user.&#xA;&#xA;--&amp;gt;&#xA;  &amp;lt;site name=&quot;website&quot; language=&quot;en&quot; patch:source=&quot;Sitecore.LanguageFallback.config&quot; itemwebapi.mode=&quot;Off&quot; itemwebapi.access=&quot;ReadOnly&quot; itemwebapi.allowanonymousaccess=&quot;false&quot; enableItemLanguageFallback=&quot;false&quot; enableFieldLanguageFallback=&quot;false&quot;/&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have &lt;code&gt;Preview.DefaultSite&lt;/code&gt; set to &lt;code&gt;BHCorporate&lt;/code&gt;, in case it matters. Otherwise, I can't seem to see why the campaigns site is being redirected to for any and all Sitecore stuff. Any idea on what could be causing this? Are there any other config settings I can check? We are using Sitecore 8.2 rev. 161115.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastActivityDate="2019-01-22T23:23:06.440" Title="404s and Sitecore login redirect to a different site in the Sitecore instance" Tags="|multisite|site-configuration|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16174" PostTypeId="1" AcceptedAnswerId="16177" CreationDate="2019-01-23T00:25:36.520" Score="0" ViewCount="425" Body="&lt;p&gt;I am trying to create a page list variant that outputs an image field per item horizontally.  For some reason the images are humongous.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried using a section to wrap the content in a div, and have tried using data attributes on the image itself but image seems to be ignoring everything I try.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried both a field and a responsive image to try to override the width to be a max-width.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Bootstrap 4 as part of my theme in case that helps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WRNNo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WRNNo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;not choosing an element for the field and trying to set width or max-width element as part of data attributes (and as part of the style)&lt;/li&gt;&#xA;&lt;li&gt;choosing an element such as a span - and again trying to set style attribute, but if there is no css class it is inserting it's own based on the field name eg: field-bannerimage&lt;/li&gt;&#xA;&lt;li&gt;tried setting css class on the wrapping div section, and setting style attribute on the wrapping div section but the image seems to be ignoring any max-width setting of its parent.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-01-23T00:46:48.237" LastActivityDate="2019-01-23T07:40:41.673" Title="Controlling image size in page list for sxa 1.8 rendering variant" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16175" PostTypeId="1" CreationDate="2019-01-23T07:15:03.077" Score="2" ViewCount="564" Body="&lt;p&gt;We have requirement to redirect to a error page if the solr is stopped programtically in sitecore.&#xA;Is there any way to check whether the solr is running or not?&lt;/p&gt;&#xA;" OwnerUserId="4644" LastEditorUserId="4644" LastEditDate="2019-01-23T08:11:37.967" LastActivityDate="2023-05-13T07:39:21.397" Title="Is there any way to check the solr is running in sitecore" Tags="|sitecore-client|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16176" PostTypeId="2" ParentId="16175" CreationDate="2019-01-23T07:37:10.707" Score="8" Body="&lt;p&gt;I hope you are asking about how to do it under sitecore services and so on.&#xA;So if yes, use it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var solrConnector = ServiceLocator.Current.GetInstance&amp;lt;ISolrConnector&amp;gt;();&#xA;if (solrConnector.IsOnline)&#xA;{&#xA;   //your code&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4791" LastActivityDate="2019-01-23T07:37:10.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16177" PostTypeId="2" ParentId="16174" CreationDate="2019-01-23T07:40:41.673" Score="1" Body="&lt;p&gt;If the image is too big then it most cases that are just styling issues. Switch to preview (to get rid of most of EE tags and additional HTML) and test it there. I'm 100% sure that there is something wrong in your theme.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that we have a Responsive Image variant item which you can use instead of normal Variant Field. Start from reading this: &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/render-image-fields-using-the-responsive-image-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Render image fields using the Responsive Image variant&lt;/a&gt;. Try to replace Variant field with Responsive Image a check if your problems will be still there. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The advantage of a responsive image is that the browser will be downloading images in different sizes base on your screen resolution - saving bandwidth.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-01-23T07:40:41.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16178" PostTypeId="2" ParentId="16170" CreationDate="2019-01-23T08:35:57.933" Score="2" Body="&lt;p&gt;I remember that there is also FormId field in the same table as you are referencing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a similar temporar table to the one from Sitecore WFFM table:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;create table #Temp&#xA;(&#xA;    FormId int,&#xA;    FieldName Varchar(50), &#xA;    Value Varchar(50)&#xA;)&#xA;&#xA;Insert Into #Temp VALUES (1,'FirstName','Joe')&#xA;Insert Into #Temp VALUES (1,'MiddleName','S')&#xA;Insert Into #Temp VALUES (1,'LastName','Smith')&#xA;Insert Into #Temp VALUES (1,'Email','abc@abc.com')&#xA;Insert Into #Temp VALUES (2,'FirstName','Sam')&#xA;Insert Into #Temp VALUES (2,'MiddleName','S')&#xA;Insert Into #Temp VALUES (2,'LastName','Freddrick')&#xA;Insert Into #Temp VALUES (2,'Email','abc1@abc.com')&#xA;Insert Into #Temp VALUES (3,'FirstName','Jaime')&#xA;Insert Into #Temp VALUES (3,'MiddleName','S')&#xA;Insert Into #Temp VALUES (3,'LastName','Carol')&#xA;Insert Into #Temp VALUES (3,'Email','abc2@abc.com')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Table looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bj3uh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bj3uh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this is the script to transpose rows into columns:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;select FormId, max(FirstName) as FirstName, max(MiddleName) as MiddleName, max(LastName) as LastName, max(Email) as Email &#xA;from (&#xA;    select FormId&#xA;         , case when FieldName = 'FirstName' then Value end as FirstName&#xA;         , case when FieldName = 'MiddleName' then Value end as MiddleName &#xA;         , case when FieldName = 'LastName' then Value end as LastName &#xA;         , case when FieldName = 'Email' then Value end as Email &#xA;    from #Temp&#xA;) as t &#xA;group by FormId;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Table looks like this at the end:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/w6CUu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/w6CUu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just change the column and table names and you should be fine...&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-01-23T08:35:57.933" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16179" PostTypeId="1" CreationDate="2019-01-23T08:53:49.337" Score="1" ViewCount="282" Body="&lt;p&gt;I am struggling with creating a custom promotion plugin and I am new with Sitecore XC. I would like to create custom condition/qualification and action which should work as expected. All I want is that my condition should appear on below dialog and work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/woqoK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/woqoK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed below articles to do so &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://horizontalintegration.blog/2018/10/09/sitecore-9-commerce-custom-promotion-condition/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://horizontalintegration.blog/2018/10/09/sitecore-9-commerce-custom-promotion-condition/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.konabos.com/blog/creating-a-custom-plugin-for-sitecore-commerce-xc-9-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.konabos.com/blog/creating-a-custom-plugin-for-sitecore-commerce-xc-9-part-1/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am receiving a common error as below while following the above articles. It seems it could be one of the reason. And, my commerce engine stops responding due to this error. could be one of the culprits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yg3V3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yg3V3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be really grateful if anyone can help me to resolve this and ready to do screen sharing discussion if required.  &lt;/p&gt;&#xA;" OwnerUserId="2533" LastActivityDate="2019-07-26T09:42:05.460" Title="How to create custom condition and action in Sitecore Commerce 9" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="16181" PostTypeId="2" ParentId="16135" CreationDate="2019-01-23T10:04:01.860" Score="1" Body="&lt;p&gt;So my problem was that i tried to use &lt;code&gt;packages.config&lt;/code&gt; instead of &lt;code&gt;PackageReference&lt;/code&gt;. So the resolution was installing this &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=CloudNimble.NuGetPackageReferenceUpgrader&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.visualstudio.com/items?itemName=CloudNimble.NuGetPackageReferenceUpgrader&lt;/a&gt; extension and upgrading to the PackageReference nuget format. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Read more about PackageReference &lt;a href=&quot;https://sitecore.stackexchange.com/questions/15293/what-are-packagereferences-and-how-will-they-help-optimise-the-way-i-deal-with-n&quot;&gt;in this post&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="915" LastActivityDate="2019-01-23T10:04:01.860" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16183" PostTypeId="1" CreationDate="2019-01-23T10:57:29.130" Score="0" ViewCount="141" Body="&lt;p&gt;we are using Sitecore 9 Update-2 and SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created one snippet item named TestSnippet under /Data/Snippets and added one promo component inside TestSnippet using experience editor. now I created one partial design named EmptyContainer1 and added one container component inside EmptyContainer1 in main placeholder using experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I associated EmptyContainer1 along with other partial designs to page design named TestPageDesign. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;now created one page inside home node named TestPage and associated with TestPageDesign and opened in experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see that placeholder area where I added container but unable to drag and drop Snippet component in Composites section in tool box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;could anyone please help me on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;my requirement is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;in &lt;strong&gt;TestPage&lt;/strong&gt;, I'll add snippet component with TestSnippet where I&#xA;have promo component and will change the datasource for promo component. &lt;/li&gt;&#xA;&lt;li&gt;in &lt;strong&gt;TestPage2&lt;/strong&gt;, I'll add snippet component with TestSnippet where I have promo component and will change the datasource for promo component.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;so idea is that I want to use this promo in multiple pages with diferent datasource so content can be different as per page requirement which could not be achieved using partial design so was exploring snippet.&lt;/p&gt;&#xA;" OwnerUserId="3377" LastEditorUserId="3377" LastEditDate="2019-01-23T11:09:25.457" LastActivityDate="2019-01-23T11:09:25.457" Title="Snippet issue in SXA 1.7.1" Tags="|sxa|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16187" PostTypeId="2" ParentId="16135" CreationDate="2019-01-23T13:09:55.990" Score="1" Body="&lt;p&gt;For the 9.1 packages you need to update your VS Project to use PackageReferences - Tools Version 15 etc. - also to use the ignore dependencies flag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Side-note;&lt;/em&gt;&lt;/strong&gt; this is an important point to remember when planning and estimating an upgrade of a customer solution to Sitecore 9.1 since updating projects can in some cases require changes to build scripts etc.&lt;/p&gt;&#xA;" OwnerUserId="4670" LastActivityDate="2019-01-23T13:09:55.990" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16188" PostTypeId="5" CreationDate="2019-01-23T13:33:35.653" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-23T13:33:35.653" LastActivityDate="2019-01-23T13:33:35.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16189" PostTypeId="4" CreationDate="2019-01-23T13:33:35.653" Score="0" Body="Anything which is related to SAP Hybris configuration and integration with Sitecore, should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-23T14:02:31.080" LastActivityDate="2019-01-23T14:02:31.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16190" PostTypeId="5" CreationDate="2019-01-23T13:37:50.863" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-23T13:37:50.863" LastActivityDate="2019-01-23T13:37:50.863" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16191" PostTypeId="4" CreationDate="2019-01-23T13:37:50.863" Score="0" Body="All questions that are related to Sublayouts (Renderings that use an ASP.NET User Control), should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-23T14:02:42.843" LastActivityDate="2019-01-23T14:02:42.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16192" PostTypeId="5" CreationDate="2019-01-23T13:40:47.423" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-23T13:40:47.423" LastActivityDate="2019-01-23T13:40:47.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16193" PostTypeId="4" CreationDate="2019-01-23T13:40:47.423" Score="0" Body="Application Insights is an extensible Application Performance Management (APM) service for web developers on multiple platforms.All questions that are related to Application Insights PaaS should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-23T14:01:42.883" LastActivityDate="2019-01-23T14:01:42.883" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16194" PostTypeId="5" CreationDate="2019-01-23T13:44:13.153" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-23T13:44:13.153" LastActivityDate="2019-01-23T13:44:13.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16195" PostTypeId="4" CreationDate="2019-01-23T13:44:13.153" Score="0" Body="Digital asset management (DAM) is a business process for organizing, storing and retrieving rich media and managing digital rights and permissions. Any question related to this topic, should use it." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-23T14:34:49.770" LastActivityDate="2019-01-23T14:34:49.770" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16197" PostTypeId="1" AcceptedAnswerId="16417" CreationDate="2019-01-23T13:59:41.533" Score="1" ViewCount="1063" Body="&lt;p&gt;We have upgraded our Sitecore solution from 8.2.4 to 9.0.2 using the guidelines from the Upgrade Guide. Now we are in progress with preparing the xDB data migration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the following script to install the xConnect with SIF&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module SitecoreFundamentals&#xA;Import-Module SitecoreInstallationFramework&#xA;&#xA;#$global:ProgressPreference = 'silentlyContinue'&#xA;&#xA;#define parameters &#xA;$prefix = &quot;sc90&quot; &#xA;$PSScriptRoot = &quot;C:\xconnect-install&quot;&#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot; &#xA;$sitecoreSiteName = &quot;$prefix&quot; &#xA;$InstallDirectory = &quot;C:\inetpub\wwwroot\&quot;&#xA;$SolrUrl = &quot;https://localhost:8983/solr&quot; &#xA;$SolrRoot = &quot;C:\solr\solr-6.6.2\&quot; &#xA;$SolrService = &quot;solr-6.6.2&quot; &#xA;$SqlServer = &quot;UXD8SITECOREDB&quot; &#xA;$SqlAdminUser = &quot;sa&quot; &#xA;$SqlAdminPassword=&quot;MyPassword!23&quot; &#xA;&#xA;#install client certificate for xconnect &#xA;$certParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;     &#xA;    CertificateName = &quot;$prefix.xconnect_client&quot; &#xA;    } &#xA;&#xA;Install-SitecoreConfiguration @certParams -Verbose &#xA;&#xA;#deploy xconnect instance &#xA;$xconnectParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;     &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.2 rev. 180604 (OnPrem)_xp0xconnect.scwdp.zip&quot;     &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    Sitename = $XConnectCollectionService     &#xA;    InstallDirectory = $InstallDirectory&#xA;    XConnectCert = $certParams.CertificateName     &#xA;    SqlDbPrefix = &quot;$prefix&quot;&#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix     &#xA;    SolrURL = $SolrUrl      &#xA;    } &#xA;&#xA;Install-SitecoreConfiguration @xconnectParams -Verbose &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;we ran into &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Problem accessing /solr/sc90_xdb/schema. Reason Not Found&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;with the error stack trace&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;PS&gt;TerminatingError(Invoke-ManageSolrSchemaTask): &quot;The running command&#xA;  stopped because the preference variable &quot;ErrorActionPreference&quot; or&#xA;  common parameter is set to Stop: NotFound -&#xA;  &lt;a href=&quot;https://localhost:8983/solr/sc90_xdb/schema?wt=json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/sc90_xdb/schema?wt=json&lt;/a&gt;&quot;&lt;/p&gt;&#xA;  &#xA;  &lt;blockquote&gt;&#xA;    &lt;blockquote&gt;&#xA;      &lt;p&gt;TerminatingError(Invoke-ManageSolrSchemaTask): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or&#xA;      common parameter is set to Stop: NotFound -&#xA;      &lt;a href=&quot;https://localhost:8983/solr/sc90_xdb/schema?wt=json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/sc90_xdb/schema?wt=json&lt;/a&gt;&quot;&#xA;      Install-SitecoreConfiguration : NotFound -&#xA;      &lt;a href=&quot;https://localhost:8983/solr/sc90_xdb/schema?wt=json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/sc90_xdb/schema?wt=json&lt;/a&gt; At&#xA;      C:\xconnect-install\xconnect-install.ps1:43&#xA;      char:1&#xA;      + Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;          + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;          + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;      Install-SitecoreConfiguration : NotFound -&#xA;      &lt;a href=&quot;https://localhost:8983/solr/sc90_xdb/schema?wt=json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/sc90_xdb/schema?wt=json&lt;/a&gt; At&#xA;      C:\xconnect-install\xconnect-install.ps1:43&#xA;      char:1&#xA;      + Install-SitecoreConfiguration @xconnectParams -Verbose&#xA;      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;          + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;          + FullyQualifiedErrorId : &gt;Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;    &lt;/blockquote&gt;&#xA;  &lt;/blockquote&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Could anyone give me a hint how to get past this issue?&lt;/p&gt;&#xA;" OwnerUserId="4907" LastActivityDate="2019-02-02T01:09:13.043" Title="xConnect Installation - Updating Solr Schema for xdb is failing" Tags="|xconnect|sitecore-install-framework|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="16198" PostTypeId="1" AcceptedAnswerId="16199" CreationDate="2019-01-23T15:28:15.420" Score="2" ViewCount="239" Body="&lt;p&gt;Maybe this is a stupid question, but to which app service do I deploy my code to?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Azure Toolkit has deployed XP Scaled with the following Web Apps&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;foobar-acc-cd&lt;/li&gt;&#xA;&lt;li&gt;foobar-acc-cm&lt;/li&gt;&#xA;&lt;li&gt;foobar-acc-ma-ops&lt;/li&gt;&#xA;&lt;li&gt;foobar-acc-ma-rep&lt;/li&gt;&#xA;&lt;li&gt;foobar-acc-prc&lt;/li&gt;&#xA;&lt;li&gt;foobar-acc-rep&lt;/li&gt;&#xA;&lt;li&gt;foobar-acc-xc-collect&lt;/li&gt;&#xA;&lt;li&gt;foobar-acc-xc-refdata&lt;/li&gt;&#xA;&lt;li&gt;foobar-acc-xc-search&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This has given me a bit of an option paralysis.&lt;/p&gt;&#xA;" OwnerUserId="4927" LastActivityDate="2019-01-23T16:07:56.473" Title="To which app services do I deploy" Tags="|azure|deployment|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16199" PostTypeId="2" ParentId="16198" CreationDate="2019-01-23T15:29:54.683" Score="4" Body="&lt;p&gt;You would deploy your main Sitecore application code to the Content Management and the Content Delivery app instances. Based on your list that would be:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;foobar-acc-cd&lt;/li&gt;&#xA;&lt;li&gt;foobar-acc-cm&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;If you do have any custom code for processing xDB data, you may also need to deploy to the processing instance, which looks like&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;foobar-acc-prc&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;in your list.&lt;/p&gt;&#xA;&lt;h3&gt;Update from comments:&lt;/h3&gt;&#xA;&lt;p&gt;As mentioned in the comments below, there are scenarios where you might need to deploy models/dlls to the xConnect services too.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-01-23T16:07:56.473" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16200" PostTypeId="1" CreationDate="2019-01-23T16:17:19.620" Score="1" ViewCount="1192" Body="&lt;p&gt;I have to show required error message, if i'm selecting default text in dropdownlist, Is there any option to show this validation message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h3quk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h3quk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4842" LastEditorUserId="73" LastEditDate="2019-01-23T18:15:51.307" LastActivityDate="2022-09-29T13:07:30.920" Title="How to show DropdownList Validation message, If we select default text" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16201" PostTypeId="1" CreationDate="2019-01-23T16:24:09.543" Score="2" ViewCount="2676" Body="&lt;p&gt;I am new to Sitecore. I am trying to create a small demo which will display all the products with its image and description. &lt;br&gt; &#xA;But i am getting error in my view also i am not able to display anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here is my code: &lt;br&gt;&#xA;&lt;strong&gt;ProductController&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        using MicrosoftDemo.Models;&#xA;        using System.Collections.Generic;&#xA;        using System.Linq;&#xA;        using System.Web.Mvc;&#xA;        using Sitecore.Data.Fields;&#xA;        using Sitecore.Resources.Media;&#xA;&#xA;        namespace MicrosoftDemo.Controllers&#xA;       {&#xA;       public class ProductController : Controller&#xA;       {&#xA;        // GET: Product&#xA;        public ActionResult Index()&#xA;        {&#xA;            var context = Sitecore.Context.Item;&#xA;&#xA;            var products = context&#xA;                .GetChildren()&#xA;                .Where(x =&amp;gt; x.TemplateID&#xA;                                .ToString() == &quot;{6BDC57DE-9C93-4922-9GA8- &#xA;                                      049J387ACBE2}&quot;);&#xA;&#xA;            var productModelList = new List&amp;lt;ProductModel&amp;gt;();&#xA;&#xA;            if (products != null &amp;amp;&amp;amp; products.Any())&#xA;            {&#xA;                foreach (var product in products)&#xA;                {&#xA;                    if (product == null)&#xA;                        continue;&#xA;&#xA;                    var imgField = (ImageField)product&#xA;                        .Fields[&quot;ProductImage&quot;];&#xA;&#xA;                    var items = new ProductModel&#xA;                    {&#xA;                        ProductImage = MediaManager&#xA;                            .GetMediaUrl(imgField.MediaItem),&#xA;                        ProductName = product&#xA;                            .Fields[&quot;ProductName&quot;]&#xA;                            .Value,&#xA;                        ProductDescription = product&#xA;                            .Fields[&quot;ProductDescription&quot;]&#xA;                            .Value&#xA;                    };&#xA;                    productModelList.Add(items);&#xA;                }&#xA;            }&#xA;            return View(productModelList);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Index.cshtml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; @model IEnumerable&amp;lt;MicrosoftDemo.Models.ProductModel&amp;gt;&#xA;@using Sitecore.Mvc;&#xA;&#xA;&#xA;@if (Model.Any())&#xA;{&#xA;    &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&#xA;    &amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;col-md-10&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;                @foreach (var item in Model)&#xA;                {&#xA;//                    how do i print multiple items am i doing anything wrong here ?@Html.Sitecore().Field not displaying anything&#xA;                    &amp;lt;div class=&quot;col-md-5&quot;&amp;gt;&#xA;                        &amp;lt;h3&amp;gt;&#xA;                            &amp;lt;span&amp;gt;&#xA;                                @*I am getting error below cannot convert from string to SiteCore.Data.Items.Item*@&#xA;                                @Html.Sitecore().Field(&quot;ProductImage&quot;, item.ProductImage, new {@class = &quot;img-responsive&quot;})&#xA;                            &amp;lt;/span&amp;gt;&#xA;                            @Html.Sitecore().Field(&quot;ProductName&quot;, item.ProductName)&#xA;                        &amp;lt;/h3&amp;gt;&#xA;                        &amp;lt;br/&amp;gt;&#xA;                        &amp;lt;p class=&quot;myfont&quot;&amp;gt;@Html.Sitecore().Field(&quot;ProductDescription&quot;, item.ProductDescription)&amp;lt;/p&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                }&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;br&gt;&#xA;Can anybody tell me how to achieve this ?&#xA;Any help would be much appreciated&lt;/p&gt;&#xA;" OwnerUserId="4939" LastEditorUserId="73" LastEditDate="2019-01-24T09:49:14.557" LastActivityDate="2019-01-24T09:49:14.557" Title="How to retrieve image url in MVC view from model" Tags="|sitecore-commerce|sitecore-api|mvc|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16202" PostTypeId="2" ParentId="16201" CreationDate="2019-01-23T16:28:28.040" Score="1" Body="&lt;p&gt;The reason why you're getting &lt;code&gt;cannot convert from string to SiteCore.Data.Items.Item&lt;/code&gt; error is the fact that &lt;code&gt;Field&lt;/code&gt; helper expects parameters:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Name of the field &lt;/li&gt;&#xA;&lt;li&gt;Item from which the field should be taken&lt;/li&gt;&#xA;&lt;li&gt;optional parameters&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Your &lt;code&gt;ProductImage&lt;/code&gt; field is coming from &lt;code&gt;product&lt;/code&gt; items you're looping in the controller. You need to pass that item in the model to your view:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Add &lt;code&gt;ProductItem&lt;/code&gt; of type &lt;code&gt;Item&lt;/code&gt; to your model class.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set &lt;code&gt;ProductItem&lt;/code&gt; in your loop like:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var items = new ProductModel&#xA;{&#xA;    ProductImage = MediaManager&#xA;        .GetMediaUrl(imgField.MediaItem),&#xA;    ProductName = product&#xA;        .Fields[&quot;ProductName&quot;]&#xA;        .Value,&#xA;    ProductDescription = product&#xA;        .Fields[&quot;ProductDescription&quot;]&#xA;        .Value,&#xA;    ProductItem = product&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;and in cshtml:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;ProductImage&quot;, item.ProductItem, new {@class = &quot;img-responsive&quot;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-01-24T07:06:03.803" LastActivityDate="2019-01-24T07:06:03.803" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16203" PostTypeId="1" AcceptedAnswerId="16204" CreationDate="2019-01-23T16:41:16.023" Score="9" ViewCount="2504" Body="&lt;p&gt;After reviewing this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12064/why-we-should-not-use-fast-queries-in-sitecore&quot;&gt;question and answer&lt;/a&gt; you can see that the use of Fast query is the leading cause of migraines. (&amp;lt;- unverified claim)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are limitations a developer should take into account when using Fast query?&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-01-23T17:09:26.617" LastActivityDate="2019-01-23T19:16:34.753" Title="What are the limitations of Fast query?" Tags="|sitecore-query|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16204" PostTypeId="2" ParentId="16203" CreationDate="2019-01-23T16:41:16.023" Score="12" Body="&lt;h2&gt;Article by John West&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I came across a nice &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&quot; rel=&quot;noreferrer&quot;&gt;article&lt;/a&gt; written by John West which provides important information for developers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Known limitations:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Fast query does not account for the context language (results include items with versions that match the query in any language)&lt;/li&gt;&#xA;&lt;li&gt;Fast query does not support sorting (sort results after querying)&lt;/li&gt;&#xA;&lt;li&gt;In a fast query, attributes should not appear at the beginning of a predicate, directly after the opening square bracket character ([)&lt;/li&gt;&#xA;&lt;li&gt;Fast query supports only the parent, child, ancestor, and descendant axes, the latter two only when the FastQueryDescendantsDisabled setting is false&lt;/li&gt;&#xA;&lt;li&gt;Fast query does not support standard values&lt;/li&gt;&#xA;&lt;li&gt;Fast query does not support functions, though it provides an alternative to the contains and therefore I assume the startswith() and endswith() functions&lt;/li&gt;&#xA;&lt;li&gt;Fast query does not support operators&lt;/li&gt;&#xA;&lt;li&gt;Fast query does not support subqueries, which are queries within predicates (square brackets – [] characters)&lt;/li&gt;&#xA;&lt;li&gt;Fast Query works for data providers that inherit from the SqlDataProvider class and that support SQL queries generated by the QueryToSqlTranslator class&lt;/li&gt;&#xA;&lt;li&gt;Fast query does not support query catenation (using pipe delimiter to separate paths)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The one about data providers could explain why you would not use Fast queries with Unicorn.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a valuable piece of advice:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I would avoid [Sitecore] Fast query [unless] Sitecore query underperforms and you have very specific requirements met despite these limitations. I believe Sitecore query may be especially poor for queries that process small branches of items, as I assume it queries the entire database and then filters the results by branch.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I also found some articles that pointed out useful limitations.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Fast query does not guarantee results are returned in the proper tree sort order. &lt;a href=&quot;https://www.bugdebugzone.com/2014/08/sitecore-fast-query-vs-sitecore-query.html&quot; rel=&quot;noreferrer&quot;&gt;Link&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Fast query performs best with fewer than 10 fields in each condition statement. &lt;a href=&quot;https://briancaos.wordpress.com/2010/10/11/sitecore-fast-query/&quot; rel=&quot;noreferrer&quot;&gt;Link&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Dashes must be escaped in queries. &lt;a href=&quot;https://stackoverflow.com/questions/4205288/sitecore-fast-query-gives-parse-exception&quot;&gt;Link&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Found in a Sitecore guide (Using Sitecore Fast Queries)&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Fast query does not return virtual items in the result set.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Limitations disguised as Benefits&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;These are some benefits from the document, but could also be treated like a limitation.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Queries are executed by the SQL engine and as a result the scalability and performance of the SQL engine is not limited by .NET or by Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Query loads every item that it touches into memory (cache) and this can fill the cache with unnecessary information. &lt;strong&gt;Sitecore Fast Query&lt;/strong&gt; only loads the items from the result set and this minimizes the pressure on the cache. Read more about it &lt;a href=&quot;https://intothecloud.blog/2018/10/21/It-s-time-to-put-fast-query-to-rest/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt; (thanks @vandsh for the link).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-01-23T19:16:34.753" LastActivityDate="2019-01-23T19:16:34.753" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16205" PostTypeId="2" ParentId="16201" CreationDate="2019-01-23T16:43:41.107" Score="4" Body="&lt;p&gt;To explain why you are getting that, &lt;code&gt;@Html.Sitecore().Field&lt;/code&gt; requires a field name and the item to work with. Right now you are passing it a property on your model which is a string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve that you have 2 options.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 1, write the markup yourself:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Change:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;ProductImage&quot;, item.ProductImage, new {@class = &quot;img-responsive&quot;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;@item.ProductImage&quot; class=&quot;img-responsive&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That would work, but it will not allow the content editor to edit the image in the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Option 2, pass the item into the model&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Currently your model is a list of:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var items = new ProductModel&#xA;{&#xA;    ProductImage = MediaManager&#xA;        .GetMediaUrl(imgField.MediaItem),&#xA;    ProductName = product&#xA;        .Fields[&quot;ProductName&quot;]&#xA;        .Value,&#xA;    ProductDescription = product&#xA;        .Fields[&quot;ProductDescription&quot;]&#xA;        .Value&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Rather than keep that, make your main model class an enumerable of &lt;code&gt;Item&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var productModelList = new List&amp;lt;Item&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then replace this entire block:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (products != null &amp;amp;&amp;amp; products.Any())&#xA;{&#xA;    foreach (var product in products)&#xA;    {&#xA;        if (product == null)&#xA;            continue;&#xA;&#xA;        var imgField = (ImageField)product&#xA;            .Fields[&quot;ProductImage&quot;];&#xA;&#xA;        var items = new ProductModel&#xA;        {&#xA;            ProductImage = MediaManager&#xA;                .GetMediaUrl(imgField.MediaItem),&#xA;            ProductName = product&#xA;                .Fields[&quot;ProductName&quot;]&#xA;                .Value,&#xA;            ProductDescription = product&#xA;                .Fields[&quot;ProductDescription&quot;]&#xA;                .Value&#xA;        };&#xA;        productModelList.Add(items);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;productModelList.AddRange(products);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally your markup would change to use the item and not the property name:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var item in Model)&#xA;{&#xA;    &amp;lt;div class=&quot;col-md-5&quot;&amp;gt;&#xA;        &amp;lt;h3&amp;gt;&#xA;            &amp;lt;span&amp;gt;&#xA;                @Html.Sitecore().Field(&quot;ProductImage&quot;, item, new {@class = &quot;img-responsive&quot;})&#xA;            &amp;lt;/span&amp;gt;&#xA;            @Html.Sitecore().Field(&quot;ProductName&quot;, item)&#xA;        &amp;lt;/h3&amp;gt;&#xA;        &amp;lt;br/&amp;gt;&#xA;        &amp;lt;p class=&quot;myfont&quot;&amp;gt;@Html.Sitecore().Field(&quot;ProductDescription&quot;, item)&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Its a bit more work, but it will enable the Experience Editor for all your fields.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-01-23T16:43:41.107" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16207" PostTypeId="1" AcceptedAnswerId="16250" CreationDate="2019-01-23T17:41:55.353" Score="1" ViewCount="1040" Body="&lt;p&gt;We recently upgraded to 8.2. When editing rich text, if I press Enter at the end of a paragraph, it creates a new paragraph, as expected; however, if my cursor is in the middle of a paragraph, when I press enter it inserts a &lt;code&gt;&amp;lt;br/&amp;gt;&lt;/code&gt; tag in the middle of the paragraph and creates a new &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tag below. My client wants it to instead insert &lt;code&gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&lt;/code&gt; in the center of the paragraph on Enter, so that pressing enter breaks the paragraph into two paragraphs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I modify the keypress behavior of the rich text editor in Sitecore 8.2? Ideally this behavior should be on keypress rather than on save.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: To clarify, when editing the text in the rich text editor (by clicking the pencil icon), if I press enter in the middle of a paragraph, it adds &lt;p&gt;&lt;/p&gt;. However, if I am editing directly on the page, NOT in the rich text editor modal, if I press enter in the middle of a paragraph it adds &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/obDWp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/obDWp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8Ljdt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8Ljdt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="2609" LastEditDate="2019-01-25T15:57:08.067" LastActivityDate="2019-01-25T19:52:13.307" Title="How to change Sitecore 8.2 RTE behavior to insert &lt;p&gt; tag instead of &lt;br&gt; on Enter?" Tags="|richtext-editor|text-field|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16208" PostTypeId="1" CreationDate="2019-01-23T21:33:23.433" Score="0" ViewCount="304" Body="&lt;p&gt;I want to show custom message after click the custom submit action button, In this form, how we can assign the message and show above button. could you please provide the solution of this scenario.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vEnfW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vEnfW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;example:&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;sample code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomSubmitAction : SubmitActionBase&amp;lt;string&amp;gt;&#xA;    {&#xA;        private FormSubmitContext _formSubmitContext;&#xA;        public CustomSubmitAction(ISubmitActionData submitActionData) : base(submitActionData)&#xA;        {&#xA;        }    &#xA;        protected override bool Execute(string data, FormSubmitContext formSubmitContext)&#xA;        {&#xA;&#xA;        try&#xA;        {&#xA;            this._formSubmitContext = formSubmitContext;&#xA;            var nameFieldValue = GetValue(this._formSubmitContext.Fields.FirstOrDefault(f =&amp;gt; f.Name.Equals(&quot;txtName&quot;)));&#xA;            var emailFieldValue = GetValue(this._formSubmitContext.Fields.FirstOrDefault(f =&amp;gt; f.Name.Equals(&quot;txtMail&quot;)));&#xA;&#xA;            using (MailMessage mail = new MailMessage())&#xA;            {&#xA;                //email functinality&#xA;                //smtp.Send(mail);  scenario1 --&amp;gt;if email send successfully, i have to show custom message like &quot;Message is send successfully&quot;&#xA;            }&#xA;            return true;&#xA;        }&#xA;        catch (Exception e)&#xA;        {&#xA;            Log.Error($&quot; mail failed &quot;, e, this);&#xA;            formSubmitContext.Abort(); //scenario-2-- &amp;gt;if email failed, i have to show custom message like &quot;Message is not send successfully&quot;&#xA;        }&#xA;        return false;&#xA;    }&#xA;    protected override bool TryParse(string value, out string target)&#xA;    {&#xA;        target = string.Empty;&#xA;        return true;&#xA;    }&#xA;    private static string GetValue(object field)&#xA;    {&#xA;        return field?.GetType().GetProperty(&quot;Value&quot;)?.GetValue(field, null)?.ToString() ?? string.Empty;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4842" LastEditorUserId="73" LastEditDate="2019-01-24T09:29:30.213" LastActivityDate="2019-01-24T09:29:30.213" Title="Not able to show custom message after click custom submit action button" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16209" PostTypeId="1" AcceptedAnswerId="17044" CreationDate="2019-01-23T22:24:57.867" Score="2" ViewCount="291" Body="&lt;p&gt;I've searched everywhere in the internet and I couldn't really find anything associated to this.&lt;/p&gt;&#xA;&lt;p&gt;We are migrating Sitecore 8 Mongo Db to Sitecore 9 XConnect database. We followed the steps from below article:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://neilkillen.com/2017/11/29/how-to-migrate-your-sitecore-8-x-mongodb-contacts-to-xconnect/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://neilkillen.com/2017/11/29/how-to-migrate-your-sitecore-8-x-mongodb-contacts-to-xconnect/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;We've installed:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Data Exchange Framework 2.0.1 rev. 180108 MongoDB Provider for Data&lt;/li&gt;&#xA;&lt;li&gt;Exchange Framework 2.0.2 rev. 180619 Sitecore Provider for Data&lt;/li&gt;&#xA;&lt;li&gt;Exchange Framework 2.0.1 rev. 180108 xConnect Provider for Data&lt;/li&gt;&#xA;&lt;li&gt;Exchange Framework 2.0.2 rev. 180619 xDB Data Migration Tool for Data&lt;/li&gt;&#xA;&lt;li&gt;Exchange Framework 2.0.2 rev. 180619&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Dn1AV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Dn1AV.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;And we've connected successfully to Endpoints but When we ran Batch Pipeline in Verfy mode, we have the following error.&lt;/p&gt;&#xA;&lt;p&gt;If someone knows how to fix it please help us. Thanks.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;ManagedPoolThread #6 08:57:29 INFO [Data Exchange] Starting pipeline&#xA;batch processing. (pipeline batch: MongoDB Contacts to xConnect&#xA;Migration, mode: Verify)&lt;/p&gt;&#xA;&lt;p&gt;ManagedPoolThread #6 08:57:29 ERROR [Data&#xA;Exchange] An error occurred when trying to read data from MongoDB.&#xA;(pipeline: Read Contacts from MongoDB Pipeline, pipeline step: Read&#xA;Contacts from MongoDB, pipeline step identifier:&#xA;24e95bb0-6786-4f7b-8bc9-9cb140f98710, collection: Contacts, endpoint:&#xA;Mongo Database Endpoint)&lt;/p&gt;&#xA;&lt;p&gt;ManagedPoolThread #6 08:57:29 ERROR [Data&#xA;Exchange] And cannot be called with zero queries. Parameter name:&#xA;queries (pipeline: Read Contacts from MongoDB Pipeline, pipeline step:&#xA;Read Contacts from MongoDB, pipeline step identifier:&#xA;24e95bb0-6786-4f7b-8bc9-9cb140f98710)&lt;/p&gt;&#xA;&lt;p&gt;ManagedPoolThread #6 08:57:29&#xA;ERROR [Data Exchange] at&#xA;MongoDB.Driver.Builders.Query.And(IEnumerable`1 queries) at&#xA;Sitecore.DataExchange.Providers.MongoDB.FilterExpressions.RandomSizeQueryBuilder.Build(MongoQueryContext&#xA;context) at&#xA;Sitecore.DataExchange.Providers.MongoDB.PipelineSteps.ReadMongoDBDocumentsVerificationStepProcessor.GetQuery(Endpoint&#xA;endpoint, PipelineStep pipelineStep, PipelineContext pipelineContext,&#xA;ILogger logger) at&#xA;Sitecore.DataExchange.Providers.MongoDB.Processors.PipelineSteps.ReadMongoDBDocumentsStepProcessor.ReadData(Endpoint&#xA;endpoint, PipelineStep pipelineStep, PipelineContext pipelineContext,&#xA;ILogger logger)&lt;/p&gt;&#xA;&lt;p&gt;ManagedPoolThread #6 08:57:29 ERROR [Data Exchange]&#xA;Pipeline step processing will abort because a critical error occurred&#xA;during processing. (pipeline: Read Contacts from MongoDB Pipeline,&#xA;pipeline step: Read Contacts from MongoDB)&lt;/p&gt;&#xA;&lt;p&gt;ManagedPoolThread #6&#xA;08:57:29 ERROR [Data Exchange] Pipeline processing will abort because&#xA;a critical error occurred during processing. (pipeline batch: MongoDB&#xA;Contacts to xConnect Migration, pipeline: Read Contacts from MongoDB&#xA;Pipeline, pipeline processor:&#xA;Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor, mode:&#xA;Verify)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4471" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-26T02:11:13.300" Title="MongoDB Contacts to xConnect Migration Error" Tags="|xconnect|mongodb|" AnswerCount="1" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16210" PostTypeId="1" AcceptedAnswerId="16221" CreationDate="2019-01-24T01:09:33.913" Score="3" ViewCount="745" Body="&lt;p&gt;I am able to access a page using the path:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;https://&amp;lt;&amp;lt;My Domain&amp;gt;&amp;gt;/Sitecore/content/page_path&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This has been crawled by Google, I don't want these URL's to be accessible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to know what is the correct way to handle these? Should this be resolved and URL be changed? or should we be blocking the requests for anything containing Sitecore/Content in request URL?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My Site definition is:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;database=&quot;web&quot; domain=&quot;extranet&quot; disableClientData=&quot;false&quot; &#xA;cacheHtml=&quot;true&quot; htmlCacheSize=&quot;250MB&quot; cacheRenderingParameters=&quot;true&quot; &#xA;renderingParametersCacheSize=&quot;100MB&quot; allowDebug=&quot;true&quot; enablePreview=&quot;true&quot; &#xA;enableWebEdit=&quot;true&quot; enableDebugger=&quot;true&quot; enableAnalytics=&quot;true&quot; &#xA;notFoundItem=&quot;/sitecore/content/ZZZ/ZZZX/Home/Error&quot;/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Samridhi&lt;/p&gt;&#xA;" OwnerUserId="3900" LastEditorUserId="73" LastEditDate="2019-06-03T10:34:21.267" LastActivityDate="2019-06-03T10:34:21.267" Title="Unwanted Sitecore URL" Tags="|urls|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16211" PostTypeId="2" ParentId="16210" CreationDate="2019-01-24T02:13:56.317" Score="0" Body="&lt;p&gt;Following the best SEO practises would be the best.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Implement canonical URL on all pages&lt;/li&gt;&#xA;&lt;li&gt;Consider using Robots.txt&lt;/li&gt;&#xA;&lt;li&gt;Make sure your XML Sitemap is correct&lt;/li&gt;&#xA;&lt;li&gt;Maybe using a 301 Redirect to strip out the /sitecore/Content/ part of the URL&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2716" LastEditorUserId="2716" LastEditDate="2019-01-24T13:04:08.133" LastActivityDate="2019-01-24T13:04:08.133" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16213" PostTypeId="2" ParentId="16200" CreationDate="2019-01-24T07:20:41.037" Score="2" Body="&lt;p&gt;You can set the following option for this control in the form builder:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Validation -&gt; Field importance:  Mandatory. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, for the &quot;Select...&quot; option you can set the value as &quot; &quot; - so it would be saved by the form editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So now if the &quot;Select...&quot; option is selected, on the form submission this control will be marked with a &quot;required&quot; error message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another possible option would be to create a custom drop-down (copy on existing one) control with custom validation and custom parameter for empty option value - like &quot;0&quot; as on your screens shot.&lt;/p&gt;&#xA;" OwnerUserId="2982" LastEditorUserId="237" LastEditDate="2020-05-12T07:40:54.093" LastActivityDate="2020-05-12T07:40:54.093" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16215" PostTypeId="2" ParentId="16155" CreationDate="2019-01-24T08:47:22.927" Score="-2" Body="&lt;p&gt;It requires to enable scalability settings config with unique instance name in each server and publishing instance name as CMS name. Once it is setup then it will work as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4941" LastActivityDate="2019-01-24T08:47:22.927" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16217" PostTypeId="1" CreationDate="2019-01-24T09:29:03.810" Score="1" ViewCount="94" Body="&lt;p&gt;we need below MsDeploy packages to execute ARM template.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;disablePrefetchCachingMsDeployPackageUrl &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;dataExchangeFrameworkMsDeployPackageUrl &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;dataExchangeFrameworkSitecoreProviderMsDeployPackageUrl&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;could anyone please help us from where we can download these packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;extenstion of these packags is &quot;scwdp.zip&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3377" LastEditorUserId="73" LastEditDate="2019-01-24T09:46:05.120" LastActivityDate="2019-01-24T10:24:28.400" Title="need Url to download MsDeploy packages" Tags="|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16218" PostTypeId="2" ParentId="16217" CreationDate="2019-01-24T10:24:28.400" Score="1" Body="&lt;p&gt;disablePrefetchCachingMsDeployPackageUrl:&#xA;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/releases/download/v2.0.1/DisablePrefetchCache.scwdp.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/releases/download/v2.0.1/DisablePrefetchCache.scwdp.zip&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the dataexchangeframework packages: you need to create them yourself based on the iaas packages you can download from sitecore. You can do this with powershell by using the Sitecore Azure Toolkit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use this command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module &quot;C:\Software\Azure Toolkit\Sitecore Azure Toolkit 2.0.0 rev.171010\tools\Sitecore.Cloud.Cmdlets.dll&quot; -Verbose &#xA;$wdpPath = ConvertTo-SCModuleWebDeployPackage -Path $Origin -Destination $Destination -Force&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;$origin is path to normal package. e.g. $Origin =&quot;c:\packages\dataexchange.zip&quot;&#xA;$destination is the folder to put the new scwpd in. e.g. $destination=&quot;c:\packages\converted&quot;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-01-24T10:24:28.400" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16219" PostTypeId="1" AcceptedAnswerId="16220" CreationDate="2019-01-24T12:53:36.390" Score="1" ViewCount="771" Body="&lt;p&gt;For a fresh installed Vue-JSS application, we have some examples in the &lt;code&gt;/Styleguide&lt;/code&gt; route. One of them is  &lt;code&gt;SharedItemLink&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From &lt;code&gt;/data/routes/styleguide&lt;/code&gt;, we can see that &lt;code&gt;sharedItemlink&lt;/code&gt; is a field of  &lt;code&gt;Styleguide-FieldUsage-ItemLink&lt;/code&gt; component. From the definition in the &lt;code&gt;/sitecore/definitions/component&lt;/code&gt; folder, I can see that &lt;code&gt;sharedItemLink&lt;/code&gt; is of type &lt;code&gt;CommonFieldtypes.ItemLink&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I do a experiment about the children property of sharedItemlink: First, I add a new &lt;code&gt;Item 3&lt;/code&gt;  under path &lt;code&gt;data\content\Styleguide\ItemLinkField\Item1&lt;/code&gt;. under Item 3, I create a en.yml file which is very similar to en.yml under Item 1 (the name is slightly different)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In disconnected mode, I open &lt;code&gt;src\components\Styleguide\Styleguide-FieldUsage-ItemLink.vue&lt;/code&gt; and add code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;computed: {    &#xA;    sharedItemLink() {    &#xA;      console.log(this.fields.sharedItemLink.children);&#xA;      return this.fields.sharedItemLink;&#xA;    }&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I start the jss app and observe the browser console, I can see the &lt;code&gt;children&lt;/code&gt; property of sharedItemLink, it just point to the &lt;code&gt;Item 3&lt;/code&gt; we created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you try connected or integration mode, then you can't find the &lt;code&gt;children&lt;/code&gt; property of SharedLinkItem at all. It just disappears.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So here are my questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the Styleguide Example, I can only use &lt;code&gt;children&lt;/code&gt; property of SharedItemLink in the disconnect mode, what is the reason?&lt;/li&gt;&#xA;&lt;li&gt;May I ask how we initialize and set properties for these &lt;code&gt;CommonFieldTypes&lt;/code&gt;?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-01-24T12:53:36.390" Title="JSS Question about itemlink field type" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16220" PostTypeId="2" ParentId="16219" CreationDate="2019-01-24T12:53:36.390" Score="2" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: these answers are relevant for Vue, React, and Angular - they are not specific to Vue.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;ItemLink&lt;/code&gt; field type is synonymous with a &lt;code&gt;DropTree&lt;/code&gt; field in Sitecore. I am able to reproduce the fact that you can add &lt;code&gt;children&lt;/code&gt; to an item referenced by an &lt;code&gt;ItemLink&lt;/code&gt; field in disconnected mode. And that the &lt;code&gt;children&lt;/code&gt; items will even be imported into Sitecore. Unfortunately, however, that appears to be a mistake or oversight because Layout Service will not serialize the &lt;code&gt;children&lt;/code&gt; by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When Layout Service is serializing the item that is referenced by the &lt;code&gt;ItemLink&lt;/code&gt;/&lt;code&gt;DropTree&lt;/code&gt; field, it does not serialize any children (or descendants) of the item. This is by design in order to prevent serializing deeply nested item trees (and thus leading to performance issues in Layout Service).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can implement your own field serializer in order to serialize &lt;code&gt;ItemLink&lt;/code&gt;/&lt;code&gt;DropTree&lt;/code&gt; children by extending (or replacing) the &lt;code&gt;Sitecore.LayoutService.Serialization.FieldSerializers.InternalLinkFieldSerializer&lt;/code&gt;. Then you will need to extend the &lt;code&gt;Sitecore.LayoutService.Serialization.Pipelines.GetFieldSerializer.GetInternalLinkFieldSerializer&lt;/code&gt; to return your custom field serializer depending on whatever conditions you specify. Note: the &lt;code&gt;GetInternalLinkFieldSerializer&lt;/code&gt; is shared amongst all Layout Service configurations, so it is recommended to scope your serializer appropriately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I'll make a note that we (the JSS team) should either document the non-usage of &lt;code&gt;ItemLink&lt;/code&gt; children or implement more validation during the manifest process to prevent &lt;code&gt;ItemLink&lt;/code&gt; children from appearing in the manifest and being imported.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The manifest API documentation has information about &lt;code&gt;field&lt;/code&gt; declarations for manifest definitions: &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/working-disconnected/manifest-api#field&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/techniques/working-disconnected/manifest-api#field&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Beyond that, the sample apps serve as reference implementations / examples for the various field types you can use in a JSS app. If you have specific questions about field type usage feel free to post questions here on Stack Exchange or on the Sitecore community Slack site, in the #JSS channel.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-01-24T12:53:36.390" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16221" PostTypeId="2" ParentId="16210" CreationDate="2019-01-24T13:13:46.337" Score="5" Body="&lt;p&gt;You need to block them. Ideally, Google should never have been told about these URLs in the first place, it looks like you might have some mismanaged Site Url Generation going on elsewhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for purposes of getting these links OFF Google again, you need to block them. Easiest way to do it, is to use a Rewrite rule.  Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;sitecore predixes&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;^sitecore/?(.*)&quot; /&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;http://www.hostname.com/{R:1}&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(you need to create a proper match url, to filter out &lt;code&gt;/sitecore/content&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then enable this rewrite rule on IIS and tell Google to reindex. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly; you need to ensure that all the URLs you generate for your site are correct. Here is a good resource to help you get started: &lt;a href=&quot;https://www.berndtgroup.net/thinking/blog/sitecore/safely-defining-multiple-sites-in-sitecore&quot; rel=&quot;noreferrer&quot;&gt;Safely Defining Multiple Sites in Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-01-24T13:13:46.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16222" PostTypeId="1" AcceptedAnswerId="20793" CreationDate="2019-01-24T13:45:20.517" Score="9" ViewCount="2097" Body="&lt;p&gt;Currently we are having problem in upgrading to Sitecore 9.1 Problem started to happen after Sitecore 9.1 introduced IdentityServer based authentication. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1 uses &lt;code&gt;&amp;lt;add key=&quot;owin:appStartup&quot; value=&quot;Sitecore.Owin.Startup, Sitecore.Owin&quot; /&amp;gt;&lt;/code&gt; which becomes a problem because we have our own Identity server which is being used to authenticate our user for our website. We rather loaded our own &lt;code&gt;Startup&lt;/code&gt; from custom assembly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add key=&quot;owin:appStartup&quot; value=&quot;AssemblyA.Identity.Startup, AssemblyA.Identity&quot; /&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our users are completely separate from Sitecore users. They don't need to participate in any sitecore content related activities. As for now the startup is already occupied by &lt;code&gt;Sitecore.Owin&lt;/code&gt;, we cannot load our assemblies and as a result website login is broken.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But we also don't want to disable the Sitecore's own identity based login for experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we keep both system running side by side? Right now this is a hinder for upgrading Sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used &lt;code&gt;XP0-SingleDeveloper.ps1&lt;/code&gt; scirpt for installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to inject our CookieAuthenticationOptions through pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My patch:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;owin.initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;ABC.Core.Identity.CookieAuthentication, ABC.Core.Identity&quot; resolve=&quot;true&quot; patch:before=&quot;processor[@method='Authenticate']&quot; /&amp;gt;&#xA;      &amp;lt;/owin.initialize&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Processor code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Process(InitializeArgs args)&#xA;{&#xA;   JwtSecurityTokenHandler.DefaultInboundClaimTypeMap = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;&#xA;   args.App.UseCookieAuthentication(new CookieAuthenticationOptions&#xA;            {&#xA;                CookieName = &quot;abc.private.cookies&quot;,&#xA;                AuthenticationType = &quot;Cookies&quot;&#xA;            });&#xA;&#xA;   args.App.UseCookieAuthentication(new CookieAuthenticationOptions&#xA;            {&#xA;                AuthenticationType = &quot;TempCookie&quot;,&#xA;                AuthenticationMode = Microsoft.Owin.Security.AuthenticationMode.Passive,&#xA;            });&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;after applying this code I am getting following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Owin.Authentication&#xA;   at Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.RemoveTicket.Process(SignInArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Owin.Authentication.Security.Cookies.DefaultCookieAuthenticationProvider.ResponseSignIn(CookieResponseSignInContext context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have also tried to avoid this error by aborting pipeline using patch.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;owin.cookieAuthentication.signIn&amp;gt;&#xA;        &amp;lt;processor type=&quot;ABC.Core.Identity.ABCSignIn, ABC.Core.Identity&quot; resolve=&quot;true&quot; patch:before=&quot;*&quot; /&amp;gt;&#xA;      &amp;lt;/owin.cookieAuthentication.signIn&amp;gt;&#xA;&#xA;public override void Process(SignInArgs args)&#xA;        {&#xA;            if (args.Context.AuthenticationType == &quot;Cookies&quot;)&#xA;            {&#xA;                string currentTicketId = TicketManager.GetCurrentTicketId();&#xA;&#xA;                args.AbortPipeline();&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It skips the pipeline but gives another error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ArgumentNullException: Null ids are not allowed.&#xA;Parameter name: name]&#xA;   Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName) +105&#xA;   Sitecore.Security.Accounts.Account..ctor(String name, AccountType accountType) +37&#xA;   Sitecore.Security.Accounts.User..ctor(IPrincipal innerUser) +87&#xA;   Sitecore.Security.Accounts.User.FromPrincipal(IPrincipal principal) +59&#xA;   Sitecore.Pipelines.HttpRequest.BeginDiagnostics.ResolveUser() +60&#xA;   Sitecore.Pipelines.HttpRequest.BeginDiagnostics.Process(HttpRequestArgs args) +43&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Web.RequestEventsHandler.OnPostAuthenticateRequest(HttpContextBase context) +214&#xA;   Sitecore.Nexus.Web.HttpModule.​⁫‏⁫‭⁯‬‌⁬‪⁯‫⁭‭⁬‏‭‫​‍​⁮⁮‮⁪‬‭‪⁮‏‍⁬​‏‫‎‮​⁭‫‮(Object , EventArgs ) +307&#xA;   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223&#xA;   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +91&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="3378" LastEditDate="2019-01-25T12:28:08.350" LastActivityDate="2019-09-02T12:04:06.767" Title="Website login is broken after introducing Sitecore 9.1 identity server" Tags="|identity-server|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="16223" PostTypeId="1" AcceptedAnswerId="16756" CreationDate="2019-01-24T15:02:56.073" Score="3" ViewCount="433" Body="&lt;p&gt;&lt;a href=&quot;https://azure.microsoft.com/en-us/blog/announcing-the-public-preview-of-windows-container-support-in-azure-app-service/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Windows Server Containers in Web App are now available in public preview&lt;/a&gt;, and I wonder if Sitecore provides any sort of support to run an environment in containers, specifically to &lt;a href=&quot;https://azure.microsoft.com/en-us/resources/videos/web-app-for-containers-overview/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Web App for Containers&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone knows?&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2019-12-15T23:24:44.480" Title="Does Sitecore support Azure Web App for Containers?" Tags="|azure|paas|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16224" PostTypeId="1" AcceptedAnswerId="16226" CreationDate="2019-01-24T15:35:18.187" Score="2" ViewCount="2716" Body="&lt;p&gt;I think I'm completely missing some step in my CD server deployment as I'm setting up my first &lt;code&gt;XP Scaled&lt;/code&gt; environment in Azure and I'm facing the following issue with my CD server: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unknown connection string. Name: 'master'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I think there's still some configs that are trying to refer to the master db?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought the Azure Toolkit wouldve taken care of that in 9.0.2?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the path &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; will throw the error as well, so I cant see which configs are there.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Stacktrace:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[InvalidOperationException: Unknown connection string. Name: 'master']&#xA;   Sitecore.Configuration.DefaultSettings.GetConnectionString(String connectionStringName) +384&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromConnectionStringName(XmlNode configNode, String[] parameters, Boolean assert) +182&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +188&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +109&#xA;   Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert) +161&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +94&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +163&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +693&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +170&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +116&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +941&#xA;   Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +527&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +320&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +693&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabase(String name, Boolean assert) +157&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabase(String name) +55&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabases() +121&#xA;   Sitecore.Data.Managers.DefaultItemManager.Initialize() +101&#xA;   (Object , Object ) +87&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   (Object , Object ) +9&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +161&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +767&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +581&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369&#xA;&#xA;[HttpException (0x80004005): Unknown connection string. Name: 'master']&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +714&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;EDIT&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I'm a real idiot. I've been so confident in having set the following to &lt;code&gt;ContentDelivery&lt;/code&gt; that I completely wrote that out of the possibilities. I need to automate this in my release pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wasted four hours on nothing huh,,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;!-- SUPPORTED SERVER ROLES&#xA;         Specify the roles that you want this server to perform. A server can perform one or more roles. Enter the roles in a comma separated list. The supported roles are:&#xA;&#xA;         ContentDelivery&#xA;         ContentManagement&#xA;         Processing&#xA;         Reporting&#xA;         Standalone&#xA;&#xA;    Default value: Standalone&#xA;    --&amp;gt;&#xA;    &amp;lt;add key=&quot;role:define&quot; value=&quot;ContentDelivery&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4927" LastEditorUserId="5096" LastEditDate="2019-05-19T09:14:18.337" LastActivityDate="2019-05-19T09:14:18.337" Title="CD server throws &quot;Unknown connection string. Name: 'master'&quot;" Tags="|configuration|azure|site-configuration|content-delivery|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16225" PostTypeId="2" ParentId="16224" CreationDate="2019-01-24T15:51:25.287" Score="2" Body="&lt;p&gt;You have &quot;master&quot; database configuration on your CD server. It requires &quot;master&quot; connection string that is absent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can remove master database (&lt;em&gt;&amp;lt;database id=&quot;master&quot;&lt;/em&gt;) configuration on your CD server to overcome this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(or if you need for some reason master database on your CD server, then add connection string to master database in you connectionstrings.config file)&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-01-24T15:51:25.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16226" PostTypeId="2" ParentId="16224" CreationDate="2019-01-24T15:53:33.287" Score="1" Body="&lt;p&gt;It's likely that you have a patch config file somewhere in your &lt;code&gt;App_Config&lt;/code&gt; folder that references the &lt;code&gt;master&lt;/code&gt; connection string. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some things to check:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Have you enabled the &lt;code&gt;Z.SwitchMasterToWeb.config&lt;/code&gt; patch config for your CD server?&lt;/li&gt;&#xA;&lt;li&gt;Have you followed the configuration steps in the documentation for a &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/install-a-single-content-delivery-instance.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;single&lt;/a&gt; or &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/install-multiple-content-delivery-instances.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;multiple&lt;/a&gt; CD setup?&lt;/li&gt;&#xA;&lt;li&gt;There were some potential solutions raised by &lt;a href=&quot;https://stackoverflow.com/questions/15372714/sitecore-6-unable-to-remove-master-database-on-content-delivery-servers&quot;&gt;this similar question on Stack Overflow&lt;/a&gt;, including the following:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure your search indexes don't contain references to the &lt;code&gt;master&lt;/code&gt; database or connection string&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-01-24T15:53:33.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16227" PostTypeId="1" AcceptedAnswerId="16229" CreationDate="2019-01-24T16:02:40.607" Score="4" ViewCount="2121" Body="&lt;p&gt;Master database has more than 500 items that have more than 10 item versions. Some content items have more than 100 versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/507/limiting-version-numbers-copying-old-versions-to-archive-for-easy-access/525&quot;&gt;recommendation to limit 10 item versions&lt;/a&gt; I want to perform a one time deletion of old versions, and keep only 10 recent versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm planning to use Sitecore Powershell that I &lt;a href=&quot;https://sitecore.stackexchange.com/a/4836/1869&quot;&gt;found here&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock(New-Object Sitecore.Data.Events.EventDisabler) {&#xA;    Remove-ItemVersion -Path master:\content\home -Language &quot;en&quot; -MaxRecentVersions 10&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My concern is that I might be deleting item versions that are currently published to the web database. For example, version 11 is published and latest 10 versions are not yet published. Is this possible? If so, how can I enhance the script to make sure I do not delete versions that are published?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="1869" LastEditorUserId="1869" LastEditDate="2019-01-24T16:17:09.320" LastActivityDate="2019-01-24T16:43:32.617" Title="One time delete of old versions" Tags="|powershell-extensions|versions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16228" PostTypeId="1" CreationDate="2019-01-24T16:05:40.750" Score="7" ViewCount="217" Body="&lt;p&gt;In Sitecore 9, am I able to assign a Pattern to a Contact?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the answer is no.  The system uses Patterns Cards to identify matches to Contacts.  Additionally, from the Experience Profile, I do not see a way to manually assign a Pattern Card to a specific Contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While viewing a specific Contact in the Experience Profile dashboard, I was trying to find a way to assign a Pattern to a specific Contact.  My intent is to override a Pattern that the system has assigned to a Contact.&lt;/p&gt;&#xA;" OwnerUserId="4947" LastEditorUserId="4947" LastEditDate="2019-01-28T21:25:47.833" LastActivityDate="2020-02-23T01:18:19.193" Title="Is it possible to assign a Pattern to a Contact?" Tags="|experience-profile|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16229" PostTypeId="2" ParentId="16227" CreationDate="2019-01-24T16:26:47.897" Score="5" Body="&lt;p&gt;Consider retrieving the list of candidates for removal, comparing with the web database, then remove. &lt;a href=&quot;https://sitecore.stackexchange.com/questions/15881/powershell-script-to-compare-latest-version-number-of-master-and-web-db-in-sitec&quot;&gt;This SSE answer&lt;/a&gt; provides a sample script at comparing version between master and web and showing as a report.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When it comes to publishing, only the latest publishable version will be in the web database, not all 10.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A possible script workflow could be the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Get all the items that I care about for cleanup&lt;/li&gt;&#xA;&lt;li&gt;Filter out items with fewer than 10 versions&lt;/li&gt;&#xA;&lt;li&gt;Check the latest version on the item and compare with the version in web&lt;/li&gt;&#xA;&lt;li&gt;If the latest version in master is publishable, then you can assume that a successful publish will push it to web&lt;/li&gt;&#xA;&lt;li&gt;If the latest version matches in both master/web then you can safely assume that the cleanup will retain the version you desire&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-01-24T16:43:32.617" LastActivityDate="2019-01-24T16:43:32.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16230" PostTypeId="1" CreationDate="2019-01-24T18:00:32.903" Score="3" ViewCount="52" Body="&lt;p&gt;Is anyone aware of documentation or support for running Sitecore 9.0.2 in Azure PaaS in a Geo-Redundant way for all services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know I could put CD in two Regions with publishing targets but not sure about CM and all the analytics App Services and database.  Has anyone done this?  Is this documented anywhere?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Andrew&lt;/p&gt;&#xA;" OwnerUserId="498" LastEditorUserId="73" LastEditDate="2019-01-24T19:04:26.437" LastActivityDate="2019-01-24T19:04:26.437" Title="Azure Geo-Redundant for CM, CD, and Analytics" Tags="|paas|infrastructure|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16231" PostTypeId="1" CreationDate="2019-01-24T18:14:29.110" Score="0" ViewCount="312" Body="&lt;p&gt;We have implemented CI/CD pipeline for project(Sitecore 9 Update-2 with SXA 1.7.1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we have added Unicorn Sync task also to sync sitecore items in CD pipeline in DevOps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;while executing CD pipeline, Unicorn Sync task also succeeded but when we verify content none of them synced. it was working fine earlier but stopped all of a sudden. same unicorn configuration is working in developer's environment as usual but not in DevOps process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;could anyone please help on this on urgent basis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks.&lt;/p&gt;&#xA;" OwnerUserId="3377" LastEditorUserId="73" LastEditDate="2019-01-24T19:03:03.327" LastActivityDate="2019-01-24T19:03:03.327" Title="Unicorn Sync task not working in DevOps" Tags="|sxa|unicorn|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16232" PostTypeId="2" ParentId="15711" CreationDate="2019-01-24T19:07:43.447" Score="2" Body="&lt;p&gt;I finally got back the answer on using the right token for authentication with iDentity server Bearer tokens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For anyone who comes behind, a sharable Postman set of APi calls can be found here. &lt;a href=&quot;https://www.getpostman.com/collections/a98dc7091c404c879b77&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.getpostman.com/collections/a98dc7091c404c879b77&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the basic super simple controller that returns json data. The important part is the [Authorize] attribute. This forces the controller through whatever security is registered with MVC.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MembershipController : Controller&#xA;{&#xA;    [HttpGet]&#xA;    [Authorize]&#xA;    public ActionResult Test()&#xA;    {&#xA;        var test = new {TestError = &quot;this thing&quot;};&#xA;&#xA;        return Json(test, JsonRequestBehavior.AllowGet);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the image below, this is how you make a call to the identity server (&lt;a href=&quot;https://sc910.identityserver/connect/token&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sc910.identityserver/connect/token&lt;/a&gt;) to get the bearer token from the Sitecore identity server. You can find the client secret at &lt;code&gt;\Config\production\Sitecore.IdentityServer.Host.xml&lt;/code&gt; in the root of the identity server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key to making this work is that the grant_type is &lt;code&gt;password&lt;/code&gt; and client_id is &lt;code&gt;SitecorePassword&lt;/code&gt;. When executed you will get a token.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ph8mt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ph8mt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then we can call our api passing in the bearer token, in the header as the variable &lt;code&gt;Authorization&lt;/code&gt;. You must add the word &lt;code&gt;Bearer&lt;/code&gt; before your token. When executed, Sitecore with authentication you token and give you access.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EhvPx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EhvPx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-01-24T19:07:43.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16233" PostTypeId="1" CreationDate="2019-01-24T19:35:25.190" Score="1" ViewCount="88" Body="&lt;p&gt;We are setting up new live servers (Sitecore 8.1, Lucene indexes). Previous tests using our Federated Authentication Provider worked just fine, and I was able to access the Sitecore backend.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After switching to Active Directory (the Sitecore Module), that works perfectly fine on our current live servers, I am unable to even reach the login page for the Sitecore backend.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The stacktrace of the exception is everything I have at the moment:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Web.HttpUnhandledException&#xA;Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;Source: System.Web&#xA;at System.Web.UI.Page.HandleError(Exception e)&#xA;at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;at System.Web.UI.Page.ProcessRequest()&#xA;at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Nested Exception&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: membership user&#xA;Source: Sitecore.Kernel&#xA;at Sitecore.Web.Authentication.TicketManager.HasAccessForLogin(Ticket ticket)&#xA;at Sitecore.Web.Authentication.TicketManager.Relogin(String ticketId, Boolean redirect)&#xA;at Sitecore.DefaultPage.Page_Load(Object sender, EventArgs e)&#xA;at System.Web.UI.Control.OnLoad(EventArgs e)&#xA;at System.Web.UI.Control.LoadRecursive()&#xA;at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any clues on what may be going wrong?&#xA;What puzzles me is that I'm not even getting to the login screen, as such AD should have no impact whatsoever yet.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-01-24T19:35:25.190" Title="&quot;membership user&quot; exception when deploying to a new server using AD authentication" Tags="|sitecore-client|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16234" PostTypeId="1" CreationDate="2019-01-24T20:32:28.177" Score="4" ViewCount="40" Body="&lt;p&gt;In Experience Profile, I can see what Pattern Card a Contact currently has.  How would I review the history of that specific Contact to see the Patterns they have triggered?&lt;/p&gt;&#xA;" OwnerUserId="4947" LastActivityDate="2019-01-25T06:16:51.257" Title="Is it possible to see the history of Patterns triggered by a Contact?" Tags="|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16235" PostTypeId="1" AcceptedAnswerId="16242" CreationDate="2019-01-24T20:57:34.607" Score="2" ViewCount="364" Body="&lt;p&gt;I have Sitecore 9.0 update -1 version and followed (&lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/jss-server-install&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/jss-server-install&lt;/a&gt;) to setup JSS server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally I can test my component like below and its working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cbtQZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cbtQZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to setup basic sitecore react JSS app using this(&lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/quick-start&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/quick-start&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can install JSS client but I can't install sample react app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error below,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JJx6i.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JJx6i.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried setting up proxy for npm. Nothing will get work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we resolve this error or how we can trouble shoot.&lt;/p&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="2153" LastEditDate="2019-01-25T14:07:53.127" LastActivityDate="2019-01-25T14:07:53.127" Title="Sitecore 9.0 Update-1 JSS create sample app throw error : Error: connect ECONNREFUSED 192.X.X.117:443" Tags="|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16236" PostTypeId="1" CreationDate="2019-01-24T21:07:55.333" Score="1" ViewCount="53" Body="&lt;p&gt;I have developers at my company trying to update the Sitecore Commerce Connect Starter Kit (&lt;a href=&quot;https://github.com/Sitecore/Commerce-Connect-StarterKit&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Commerce-Connect-StarterKit&lt;/a&gt;) to Sitecore 9 so they can test a module we developed internally. They ran the upgrade wizard, but afterward, the site wouldn't run and would throw an error on load:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&quot;Could not resolve type name: Sitecore.Analytics.Data.ContactRepository, Sitecore.Analytics&quot;&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm currently trying to resolve their issues, but does anyone have experience upgrading the Starter Kit to SC9? Is it even compatible?&lt;/p&gt;&#xA;" OwnerUserId="4157" LastActivityDate="2019-01-24T21:07:55.333" Title="Is the Commerce Connect Starter Kit example compatible with Sitecore 9?" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16237" PostTypeId="1" AcceptedAnswerId="16238" CreationDate="2019-01-24T22:16:13.190" Score="11" ViewCount="2625" Body="&lt;p&gt;We're using Sitecore 9 for a greenfield project. One of the topics of discussion is whether or not we want to use EE vs. Headless. I'm not going to ask the pros vs cons of using one over the other, I have experience and done plenty of reading on that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, from my reading on JSS, it would seem that it's possible to have a mix of the two if you so desired. Some parts could have full EE support, but some parts can be completely headless if desired. Is that right, or is there something I'm missing that would prevent this?&lt;/p&gt;&#xA;" OwnerUserId="4157" LastEditorUserId="2056" LastEditDate="2019-01-30T07:37:36.840" LastActivityDate="2021-09-07T13:00:24.553" Title="Experience Editor Support in JSS (headless)?" Tags="|experience-editor|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16238" PostTypeId="2" ParentId="16237" CreationDate="2019-01-24T22:35:42.070" Score="16" Body="&lt;p&gt;As long as your app is capable of server-side rendering (SSR) then you can render it in a Sitecore Content Management (CM) role and use Experience Editor (EE) to manage the app and content for the app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Beyond that, your app can live on a Node.js server somewhere (separate from Sitecore) and consume Layout Service data for rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are &lt;em&gt;not&lt;/em&gt; able to use Experience Editor in a headless fashion. In other words, Experience Editor requires a Sitecore instance as it is very much a Sitecore-bound application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, &lt;strong&gt;it's also important to understand that your application can run in different modes depending on the environment it is in.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, your app can run in &lt;code&gt;Integrated Mode&lt;/code&gt; in a Sitecore Content Management (CM) environment in order to enable EE management and preview. Then, in your delivery environment (i.e. &quot;production&quot;), your app can be hosted or run headlessly using either &lt;code&gt;Headless SSR&lt;/code&gt; mode or &lt;code&gt;API Only&lt;/code&gt; mode - with your app fetching Layout Service data from a Sitecore Content Delivery (CD) environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That is just one example to help illustrate that there are different possible configurations in order to suit your implementation needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Application Modes section of the JSS docs might provide further insights: &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/application-modes&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/application-modes&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2019-03-18T14:26:09.290" LastActivityDate="2019-03-18T14:26:09.290" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16240" PostTypeId="1" CreationDate="2019-01-25T05:25:20.937" Score="0" ViewCount="800" Body="&lt;p&gt;I'm trying to create a rendering variant for a link list that would output a hyperlinked font awesome icon based on the content editor putting in a style when adding a link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Yw7v8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Yw7v8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to reference this property in a rendering variant?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even if I were to use a custom template - I'm struggling to see how I would create a rendering variant that would insert this content editable style into an i tag based on a property on the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ie. for the link I would like to have something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;wwww.google.com&quot;&amp;gt;&amp;lt;i class=&quot;fa fa-google&quot;&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="878" LastActivityDate="2023-12-20T05:01:35.173" Title="SXA 1.8 want to output link list with font awesome icons" Tags="|sxa|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16241" PostTypeId="2" ParentId="16234" CreationDate="2019-01-25T06:16:51.257" Score="1" Body="&lt;p&gt;You cannot unfortunately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pattern Cards are calculated when requested so &quot;on the fly&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could however intercept pipeline which is responsible for calculating it and after calculation you can save results on custom facet on contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will however not help as it will only show matches when requested not all historical changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Maybe you can intercept end visit pipeline and trigger calculating pipeline there and save results on custom facet on contact. This should match your requirements. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I cannot quickly find which pipeline is responsible for calculation. Will dig deeper or maybe somebody will comment this answer meanwhile...&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-01-25T06:16:51.257" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16242" PostTypeId="2" ParentId="16235" CreationDate="2019-01-25T07:44:36.590" Score="3" Body="&lt;p&gt;Thanks for the hint &quot;@Adam Webar&quot; proxy is the issue here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;below things i try to resolve finally,&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;clear npm,git caches.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;clear git windows credentails in credential manager.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Important below is enabling proxy for npm,git and system variables like below from command prompt.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;[Enable npm proxy]&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;npm config set proxy=&lt;a href=&quot;http://UserName:Password@proxy.com:portno/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://UserName:Password@proxy.com:portno/&lt;/a&gt; -g&lt;/li&gt;&#xA;&lt;li&gt;npm config set https-proxy=&lt;a href=&quot;http://UserName:Password@proxy.com:portno/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://UserName:Password@proxy.com:portno/&lt;/a&gt;&#xA;-g&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;[Enable git proxy]&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;git config --global http.proxy &lt;a href=&quot;http://UserName:Password@proxy.com:portno/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://UserName:Password@proxy.com:portno/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;git config --global https.proxy &lt;a href=&quot;http://UserName:Password@proxy.com:portno/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://UserName:Password@proxy.com:portno/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;[Enable system variabel proxy]&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;set HTTPS_PROXY=&lt;a href=&quot;http://UserName:Password@proxy.com:portno/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://UserName:Password@proxy.com:portno/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;set HTTP_PROXY=&lt;a href=&quot;http://UserName:Password@proxy.com:portno/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://UserName:Password@proxy.com:portno/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2311" LastActivityDate="2019-01-25T07:44:36.590" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16243" PostTypeId="2" ParentId="15193" CreationDate="2019-01-25T09:15:04.790" Score="2" Body="&lt;p&gt;Let me explain first how Path Analyzer works behind the scenes, then I will answer you:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;PA (Path Analyzer) will hook a listener called &lt;code&gt;TreeProcessor&lt;/code&gt; to the aggregation pipe line &lt;code&gt;analytics.aggregation&lt;/code&gt; which will listen to all the new interactions, then the &lt;code&gt;TreeProcessor&lt;/code&gt; will put the &lt;code&gt;InteractionId&lt;/code&gt; and the &lt;code&gt;ContactId&lt;/code&gt; in a temp pool called &lt;code&gt;ProcessingPool&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;There is a background task called &lt;code&gt;TreeAggregatorAgent&lt;/code&gt; will pick up those Ids and start aggregating them, it will start every 15 sec for live interactions and 1 min for historical. &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;First Step is to get the interaction and the contact full details &lt;/li&gt;&#xA;&lt;li&gt;Then it will match all the interactions with all the maps, in other words it will pick up the interaction and loop throw all the maps to see if the current interaction is belonging to this map or not, it will identify that from the map rules&lt;/li&gt;&#xA;&lt;li&gt;If the interaction satisfies the map rules then it will merge this interaction into the current tree&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;back to your questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I hope by &lt;code&gt;custom paths&lt;/code&gt; you mean &lt;code&gt;Funnels&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Picked-up&lt;/code&gt;: I assume you see this in the status column in the &lt;code&gt;TreeDifinitions&lt;/code&gt; table. It means that the currently PA is matching all the interactions with this map, to determine which interaction will be aggregated &quot;added&quot; to this path and wich will be excluded. in other words executing the map rules on all the interactions to calculate the tree. &lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Initializing&lt;/code&gt;:  I assume you see this in the &lt;code&gt;Path Analyzer Maps&lt;/code&gt; Workflow States. It just an initial state to allow the user to edit the map, nothing interesting happening, an idle state. But if you changed it to &lt;code&gt;Deploy&lt;/code&gt; PA will add it to the &lt;code&gt;TreeDefinitions&lt;/code&gt; table for later processing&lt;/li&gt;&#xA;&lt;li&gt;Force Path data to be rebuilt: Yes indeed it's an admin page, part of Sitecore, you can access it from CM &lt;code&gt;[SitecoreInstanceCM]/sitecore/admin/pathanalyzer.aspx&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1805" LastActivityDate="2019-01-25T09:15:04.790" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16244" PostTypeId="2" ParentId="16228" CreationDate="2019-01-25T09:33:46.777" Score="0" Body="&lt;p&gt;I'm not sure exactly what is your question, but if you are searching for a way to classify the contacts you can look at the personas here &lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/create-a-profile-key-or-persona.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/create-a-profile-key-or-persona.html&lt;/a&gt;  &lt;/p&gt;&#xA;" OwnerUserId="1805" LastActivityDate="2019-01-25T09:33:46.777" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16245" PostTypeId="2" ParentId="5883" CreationDate="2019-01-25T11:03:46.657" Score="0" Body="&lt;p&gt;None of those implementations worked for me because I had to use SitecoreService from sitecore pipeline. SitecoreService.Database context was sometimes null or core. To avoid it I had to use that code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DependencyInjection : IServicesConfigurator&#xA;{&#xA;    public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;          /* your code */&#xA;          serviceCollection.AddScoped&amp;lt;ISitecoreService&amp;gt;(sp =&amp;gt; new SitecoreService(Sitecore.Context.ContentDatabase ?? Sitecore.Context.Database ?? Factory.GetDatabase(&quot;web&quot;)));            &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1857" LastActivityDate="2019-01-25T11:03:46.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16246" PostTypeId="1" AcceptedAnswerId="16252" CreationDate="2019-01-25T14:41:33.983" Score="1" ViewCount="408" Body="&lt;p&gt;I installed Habitat 1.7 for Sitecore 9.1. Whenever I open web.config file of any module, its showing DOT NET framework as &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web&amp;gt;&#xA;    &amp;lt;compilation debug=&quot;true&quot; targetFramework=&quot;4.6.2&quot; /&amp;gt;&#xA;    &amp;lt;httpRuntime targetFramework=&quot;4.6.2&quot; /&amp;gt;&#xA;&amp;lt;/system.web&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I right click on any project file and check properties, its showing me .NET framework version as 4.7.1?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xGiL1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xGiL1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why there are two different .NET version for Habitat modules?&lt;/p&gt;&#xA;" OwnerUserId="930" LastEditorUserId="73" LastEditDate="2019-01-25T14:51:17.143" LastActivityDate="2019-01-25T18:24:13.107" Title="DOT NET framework version in Habitat 1.7 for Sitecore 9.1" Tags="|habitat|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16248" PostTypeId="1" AcceptedAnswerId="16269" CreationDate="2019-01-25T15:54:01.990" Score="1" ViewCount="252" Body="&lt;p&gt;Right now in our view we have something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (BeginRenderLink(x =&amp;gt; x.ButtonLink, new { @class = &quot;primary-button&quot;, style = style }, isEditable: true))&#xA;{&#xA;    @Editable(x =&amp;gt; x.ButtonText)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We're currently linking to this view from a view rendering and the business has told me that they may want to occasionally add a Querystring parameter to the link and that the value may depend on several factors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm considering changing the rendering to a controller so that I can change &lt;code&gt;x.ButtonLink&lt;/code&gt; to include the query string parameters I want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I am concerned with is how to get this to play well with the experience editor. Am I going about this the wrong way? Is there a different method I should use that would serve this purpose better?&lt;/p&gt;&#xA;" OwnerUserId="4127" LastEditorUserId="73" LastEditDate="2019-01-28T10:17:09.920" LastActivityDate="2019-01-28T10:17:09.920" Title="Is there anything wrong with using BeginRenderLink and changing the querystring parameters with a controller rendering?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16249" PostTypeId="1" AcceptedAnswerId="16251" CreationDate="2019-01-25T16:02:44.557" Score="1" ViewCount="1131" Body="&lt;p&gt;I am currently working on a Sitecore JSS in which I am using GraphQL to retrieve data in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have field named ArticleTag in my context item which is a (Droptree)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore GraphQL query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; query{&#xA;      contextItem: item(path: &quot;{22C1A19D-CEE3-5E4E-ADB5-373A0E225C91}&quot;) {&#xA;       id&#xA;       path&#xA;       ...on AppRoute {&#xA;        articleTag{&#xA;         targetItem{&#xA;           id&#xA;           name&#xA;          }&#xA;        }&#xA;     }&#xA;   }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Results of the above query will render for the articleTag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &quot;articleTag&quot;: {&#xA;        &quot;targetItem&quot;: {&#xA;          &quot;id&quot;: &quot;726DE02ED0BA57CF8A2A9717E9FBA25D&quot;,&#xA;          &quot;name&quot;: &quot;Manual&quot;&#xA;        }&#xA;      },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;my code snippet to retrieve the value from the API to the React Component does not render the value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const { contextItem } = graphQLResult;&#xA;&#xA;&amp;lt;Text field={contextItem.articleTag.targetItem.name} /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a way on how I can correctly get the property targetItem name/id of that ReferenceField in the ArticleTag field in my mapping in JSS? &#xA;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastActivityDate="2019-01-25T21:14:49.813" Title="Get the Property of an item from a ReferenceField type in Sitecore JSS (react)" Tags="|jss|graphql|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16250" PostTypeId="2" ParentId="16207" CreationDate="2019-01-25T17:03:52.813" Score="8" Body="&lt;p&gt;Figured this out... The script that handles in the inline editing of rich text fields in Page Editor is \sitecore\shell\Applications\Page Modes\InlineEditingUtil.js. The code that was causing the specific behavior of inserting a &lt;code&gt;&amp;lt;br&amp;gt;&lt;/code&gt; when in the middle of a paragraph is here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (e.keyCode === 13) {&#xA;  var lineBreakTag = Sitecore.WebEditSettings.newLineBreak;&#xA;  if (lineBreakTag != &quot;p&quot; &amp;amp;&amp;amp; lineBreakTag != &quot;div&quot; &amp;amp;&amp;amp; lineBreakTag != &quot;br&quot;) {&#xA;    return;&#xA;  }&#xA;&#xA;  e.preventDefault();&#xA;&#xA;  var selection = document.getSelection();&#xA;  var range = selection.getRangeAt(0);&#xA;&#xA;  if (lineBreakTag == &quot;br&quot;) {&#xA;    Sitecore.PageModes.InlineEditingUtil.insertBrLineBreak(selection, range);&#xA;    selection.removeAllRanges();&#xA;    selection.addRange(range);&#xA;&#xA;    return;&#xA;  }&#xA;&#xA;  var focusNode = selection.focusNode.parentNode;&#xA;  var contentEditable = focusNode.getAttribute(&quot;contenteditable&quot;);&#xA;  if (contentEditable) {&#xA;    focusNode = selection.focusNode;&#xA;  }&#xA;&#xA;  var length = selection.focusNode.length;&#xA;  var startOrMiddlePosition = selection.focusOffset &amp;lt; length;&#xA;  var isParagraph = Sitecore.PageModes.InlineEditingUtil.isParagraph(focusNode);&#xA;  if (startOrMiddlePosition || !isParagraph) {&#xA;    Sitecore.PageModes.InlineEditingUtil.insertBrLineBreak(selection, range);&#xA;    selection.removeAllRanges();&#xA;    selection.addRange(range);&#xA;&#xA;    return;&#xA;  }&#xA;......&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Specifically this  part:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (startOrMiddlePosition || !isParagraph) {&#xA;    Sitecore.PageModes.InlineEditingUtil.insertBrLineBreak(selection, range);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which does this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.insertBrLineBreak = function (selection, range) {&#xA;    var brNode = document.createElement(&quot;br&quot;);&#xA;    range.insertNode(brNode);&#xA;    range.setStartAfter(brNode);&#xA;    range.collapse(true);&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So I customized the file like so:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  if (!isParagraph) {&#xA;    Sitecore.PageModes.InlineEditingUtil.insertBrLineBreak(selection, range);&#xA;    selection.removeAllRanges();&#xA;    selection.addRange(range);&#xA;&#xA;    return;&#xA;  }&#xA;  else if (startOrMiddlePosition){&#xA;    Sitecore.PageModes.InlineEditingUtil.insertParagraph(selection, range);&#xA;    selection.removeAllRanges();&#xA;    selection.addRange(range);&#xA;&#xA;    return;&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.insertParagraph = function (selection, range) {&#xA;  var text1 = range.startContainer.textContent.substring(0, range.startOffset).trim();&#xA;  var text2 = range.startContainer.textContent.substring(range.startOffset).trim();&#xA;&#xA;  var p1 = document.createElement(&quot;p&quot;);&#xA;  $(p1).html(text1);&#xA;&#xA;  var p2 = document.createElement(&quot;p&quot;);&#xA;  $(p2).html(text2);&#xA;&#xA;  range.startContainer.remove()&#xA;  range.insertNode(p2);&#xA;  range.insertNode(p1);&#xA;&#xA;  range.setStart(p2, 0);&#xA;  range.collapse(true);&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now instead of inserting a line break when in the middle of a paragraph, it will split the paragraph into two paragraph nodes. &lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="95" LastEditDate="2019-01-25T19:52:13.307" LastActivityDate="2019-01-25T19:52:13.307" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16251" PostTypeId="2" ParentId="16249" CreationDate="2019-01-25T17:23:49.133" Score="2" Body="&lt;p&gt;In order to easily use the field value in a &lt;code&gt;&amp;lt;Text /&amp;gt;&lt;/code&gt; field helper component, you will need to adjust your query a bit:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query {&#xA;  contextItem: item(path: &quot;{22C1A19D-CEE3-5E4E-ADB5-373A0E225C91}&quot;) {&#xA;    id&#xA;    path&#xA;    ...on AppRoute {&#xA;      articleTag {&#xA;        jss&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The result of the query will give you something like this for the &lt;code&gt;articleTag&lt;/code&gt; field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;articleTag&quot;: {&#xA;  &quot;jss&quot;: {&#xA;    &quot;id&quot;: &quot;5f705809-5366-505e-999d-f7c6ce48ef3e&quot;,&#xA;    &quot;url&quot;: &quot;/path/to/referenced/item&quot;,&#xA;    &quot;fields&quot;: {&#xA;      &quot;Manual&quot;: {&#xA;        &quot;value&quot;: &quot;This is some text in the Manual field from the item that is referenced by the Article Tag field&quot;&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: in Experience Editor, the result will also contain an &lt;code&gt;&quot;editable&quot;&lt;/code&gt; property/value, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Manual&quot;: {&#xA;  &quot;value&quot;: &quot;This is some text in the Manual field from the item that is referenced by the Article Tag field&quot;,&#xA;  &quot;editable&quot;: &quot;[Experience Editor markup goes here]&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you would pass the &lt;code&gt;jss.fields.Manual&lt;/code&gt; property to the field helper component, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const { contextItem } = graphQLResult;&#xA;&#xA;&amp;lt;Text field={contextItem.articleTag.jss.fields.Manual} /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;jss&lt;/code&gt; property is a JSON blob that contains the field value as rendered by Layout Service/JSS and is for use in JSS field helper components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you don't &lt;em&gt;have&lt;/em&gt; to use the JSS field helper components. If you just need the &lt;code&gt;articleTag.targetItem.fields.Manual&lt;/code&gt; value to display as text in your component, you can certainly do that.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query {&#xA;  contextItem: item(path: &quot;{22C1A19D-CEE3-5E4E-ADB5-373A0E225C91}&quot;) {&#xA;    id&#xA;    path&#xA;    ...on AppRoute {&#xA;      articleTag {&#xA;        targetItem {&#xA;          Manual: field(name:&quot;Manual&quot;){&#xA;            value&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The result of the query will give you something like this for the &lt;code&gt;articleTag&lt;/code&gt; field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;articleTag&quot;: {&#xA;  &quot;targetItem&quot;: {&#xA;    &quot;Manual&quot;: {&#xA;      &quot;value&quot;: &quot;This is some text in the Manual field from the item that is referenced by the Article Tag field&quot;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Usage:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const { contextItem } = graphQLResult;&#xA;&#xA;&amp;lt;div&amp;gt;&#xA;  Name: {contextItem.articleTag.targetItem.Manual.value}&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, that value will not be editable in Experience Editor. If you need the field/value to be editable, you should use the value from the &lt;code&gt;jss&lt;/code&gt; property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sample apps have good examples of this in the &lt;code&gt;GraphQL-ConnectedDemo&lt;/code&gt; component and query. The links below are to the React sample, but the Vue and Angular samples have similar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Query: &lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/react/src/components/GraphQL-ConnectedDemo/query.graphql&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/jss/blob/dev/samples/react/src/components/GraphQL-ConnectedDemo/query.graphql&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Component: &lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/react/src/components/GraphQL-ConnectedDemo/index.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/jss/blob/dev/samples/react/src/components/GraphQL-ConnectedDemo/index.js&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2019-01-25T21:14:49.813" LastActivityDate="2019-01-25T21:14:49.813" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16252" PostTypeId="2" ParentId="16246" CreationDate="2019-01-25T18:24:13.107" Score="1" Body="&lt;p&gt;This is a bug / missed update in the Habitat release for Sitecore 9.1. The &lt;code&gt;targetFramework&lt;/code&gt; should be &lt;strong&gt;4.7.1&lt;/strong&gt;, as it is in the assembly build configuration. It's now been logged as an &lt;a href=&quot;https://github.com/Sitecore/Habitat/issues/461&quot; rel=&quot;nofollow noreferrer&quot;&gt;issue in the Habitat GitHub repo&lt;/a&gt;. Thanks for pointing it out.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2019-01-25T18:24:13.107" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16253" PostTypeId="1" CreationDate="2019-01-25T18:28:31.673" Score="0" ViewCount="657" Body="&lt;p&gt;When I try to update the display name of the item am getting the following error. Please let me know how to fix this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            Working&#xA;     Please wait, working... unlike you!&#xA;       'DisplayName' is a ReadOnly property.&#xA;      At C:\inetpub\wwwroot\qablog1\temp\tmp7D8B.ps1:13 char:7&#xA;+       $row.DisplayName=&quot;fff&quot;&#xA;+       ~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException&#xA;+ FullyQualifiedErrorId : PropertyAssignmentException&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$AllDining = Get-ChildItem -Path &quot;master://sitecore/content/root/Dining&quot; -Recurse&#xA;&#xA;foreach ( $row in $AllDining ) {&#xA;    $row.Editing.BeginEdit();&#xA;    $row.DisplayName=&quot;fff&quot;&#xA;    $row.Editing.EndEdit();&#xA;    Write-host &quot;title: &quot; $row[&quot;DisplayName&quot;];&#xA;}&#xA;Write-Log $logInfo&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="342" LastEditDate="2019-01-25T19:39:51.890" LastActivityDate="2019-01-25T19:39:51.890" Title="Powershell script to update displayname error" Tags="|powershell-extensions|powershell|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16254" PostTypeId="2" ParentId="16253" CreationDate="2019-01-25T18:35:45.250" Score="2" Body="&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$homeItem = Get-Item -Path &quot;/sitecore/content/Home&quot;&#xA;$homeItem.&quot;__Display Name&quot; = &quot;Sitecore Home&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-01-25T18:35:45.250" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16255" PostTypeId="2" ParentId="16253" CreationDate="2019-01-25T19:37:52.980" Score="4" Body="&lt;p&gt;You will need to update the following line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$row.DisplayName=&quot;fff&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and replace it with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$row.&quot;__Display Name&quot;=&quot;fff&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should also probably update your &lt;code&gt;Write-Host&lt;/code&gt; line as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Write-Host &quot;title: &quot; $row.&quot;__Display Name&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-01-25T19:37:52.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16257" PostTypeId="1" AcceptedAnswerId="16261" CreationDate="2019-01-26T11:09:15.307" Score="3" ViewCount="705" Body="&lt;p&gt;JSS site is running in integrated mode on Sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have problem with the SSR node process, it's hanging around 18 min on load tests and results in error 500 for site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For blind solution I turned cache for GraphQL queries on SSR side, which is not a  good option but good for start. Only change was node hangs around 20 min of stress tests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My findings:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;When I turned off GraphQL, there was is no problem.&lt;/li&gt;&#xA;&lt;li&gt;In Sitecore logs, GraphQL queries executes fast, since they are cached. Only from time to time they take 1s, mostly it's 50 - 200 ms.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So I decided to profile this piece, but:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;How can I turn on profiling on the node process for Sitecore SSR? Normally it's is allowed by start with &lt;code&gt;--prof&lt;/code&gt; parameter i.e. &lt;code&gt;node --prof server.js&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Any other ideas how to profile node SSR?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Best Regards&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Solution provided by @Adam Weber works like charm. Thanks, you saved me a lot of time :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tuned your code a bit to make arguments configurable by  &lt;code&gt;NODE_ENV_ARGUMENTS&lt;/code&gt; variable:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class CustomHttpNodeInstance : HttpNodeInstance&#xA;{&#xA;    public CustomHttpNodeInstance(NodeServicesOptions options, int port = 0) : base(options, port)&#xA;    {&#xA;    }&#xA;&#xA;    protected override ProcessStartInfo PrepareNodeProcessStartInfo(string entryPointFilename, string projectPath, string commandLineArguments,&#xA;        IDictionary&amp;lt;string, string&amp;gt; environmentVars, bool launchWithDebugging, int debuggingPort)&#xA;    {&#xA;        var startInfo = base.PrepareNodeProcessStartInfo(entryPointFilename, projectPath, commandLineArguments,&#xA;            environmentVars, launchWithDebugging, debuggingPort);&#xA;&#xA;        Log.Debug(GetType().Name + &quot; environmentVars: &quot; + string.Join(&quot;; &quot;, environmentVars.Select(kv =&amp;gt; $&quot;{kv.Key}={kv.Value}&quot;)), this);&#xA;&#xA;        var arguments = string.Empty;&#xA;        if (environmentVars.TryGetValue(&quot;NODE_ENV_ARGUMENTS&quot;, out arguments) &amp;amp;&amp;amp; !string.IsNullOrEmpty(arguments))&#xA;        {&#xA;            startInfo.Arguments = arguments + &quot; &quot; + startInfo.Arguments;&#xA;        }&#xA;&#xA;        return startInfo;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;javaScriptServices&amp;gt;&#xA;      &amp;lt;renderEngines&amp;gt;&#xA;        &amp;lt;renderEngine name=&quot;nodejs&quot; &amp;gt;&#xA;          &amp;lt;instance&amp;gt;&#xA;            &amp;lt;EnvironmentVariables&amp;gt;&#xA;              &amp;lt;var name=&quot;NODE_ENV_ARGUMENTS&quot; value=&quot;--prof&quot; /&amp;gt;&#xA;            &amp;lt;/EnvironmentVariables&amp;gt;&#xA;          &amp;lt;/instance&amp;gt;&#xA;        &amp;lt;/renderEngine&amp;gt;&#xA;      &amp;lt;/renderEngines&amp;gt;&#xA;    &amp;lt;/javaScriptServices&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4955" LastEditorUserId="4955" LastEditDate="2019-01-27T15:45:28.567" LastActivityDate="2019-01-27T15:45:28.567" Title="Profiling Sitecore 9.1 JSS Server-Side-rendering node server" Tags="|jss|performance-profiling|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16258" PostTypeId="2" ParentId="14547" CreationDate="2019-01-26T11:50:39.610" Score="3" Body="&lt;p&gt;I have used this tutorial:&#xA;&lt;a href=&quot;http://www.jondjones.com/learn-sitecore-cms/sitecore-developers-guide/sitecore-getting-with-sitecore-development/how-to-install-solr-for-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.jondjones.com/learn-sitecore-cms/sitecore-developers-guide/sitecore-getting-with-sitecore-development/how-to-install-solr-for-sitecore&lt;/a&gt; no issues with this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 9.0.2 I used this configuration of Instal-Solr.ps1:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Param(&#xA;    $solrVersion = &quot;6.6.5&quot;,&#xA;    $installFolder = &quot;d:\solr&quot;,&#xA;    $solrPort = &quot;8983&quot;,&#xA;    $solrHost = &quot;solr.lh&quot;,&#xA;    $solrSSL = $true,&#xA;    $nssmVersion = &quot;2.24&quot;,&#xA;    $JREVersion = &quot;1.8.0_191&quot;&#xA;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4955" LastActivityDate="2019-01-26T11:50:39.610" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16259" PostTypeId="1" CreationDate="2019-01-26T16:06:51.447" Score="1" ViewCount="67" Body="&lt;p&gt;Can I temporarily &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/enable-historical-reaggregation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;enable the historical reaggregation&lt;/a&gt;, in order to rebuild the reporting database, instead of going through &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/rebuild-the-reporting-database.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this guide&lt;/a&gt;? &lt;/p&gt;&#xA;" OwnerUserId="1457" LastActivityDate="2019-01-28T19:29:12.110" Title="Does enabling of historical reaggregation rebuild the reporting database?" Tags="|xdb|reporting|aggregation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16260" PostTypeId="1" AcceptedAnswerId="16262" CreationDate="2019-01-26T16:44:54.190" Score="3" ViewCount="3201" Body="&lt;p&gt;I am running the XP1-SingleDevloper.ps1 and it is choking when trying to connect to the solr url. If I hit &lt;a href=&quot;https://solr:8983/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://solr:8983/solr&lt;/a&gt; in a browser it comes up just fine. Thoughts on why it isn't able to connect?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[------------------------------ XConnectSolr_StartSolr : ManageService ---------------------------------------]&#xA;[XConnectSolr_StartSolr]:[Updating] Solr-7.6.0&#xA;&#xA;Status   Name               DisplayName                           &#xA;------   ----               -----------                           &#xA;Running  solr-7.6.0         Solr-7.6.0                            &#xA;&#xA;&#xA;&#xA;[------------------------ XConnectSolr_CreateCores [1] : ManageSolrCore --------------------------------------]&#xA;[XConnectSolr_CreateCores [1]]:[Requesting] https://solr:8983/solr&#xA;WARNING: [1/5] Request Failed: Unable to connect to the remote server&#xA;[XConnectSolr_CreateCores [1]]:[Requesting] https://solr:8983/solr&#xA;WARNING: [2/5] Request Failed: Unable to connect to the remote server&#xA;[XConnectSolr_CreateCores [1]]:[Requesting] https://solr:8983/solr&#xA;WARNING: [3/5] Request Failed: The request was aborted: Could not create SSL/TLS secure channel.&#xA;[XConnectSolr_CreateCores [1]]:[Requesting] https://solr:8983/solr&#xA;WARNING: [4/5] Request Failed: The request was aborted: Could not create SSL/TLS secure channel.&#xA;[XConnectSolr_CreateCores [1]]:[Requesting] https://solr:8983/solr&#xA;WARNING: [5/5] Request Failed: The request was aborted: Could not create SSL/TLS secure channel.&#xA;Install-SitecoreConfiguration : Could not complete request for https://solr:8983/solr - The request was &#xA;aborted: Could not create SSL/TLS secure channel.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="901" LastActivityDate="2019-07-30T06:39:54.370" Title="9.1 Powershell Install Solr Connection Issue" Tags="|solr|sitecore-install-framework|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16261" PostTypeId="2" ParentId="16257" CreationDate="2019-01-26T21:22:01.753" Score="7" Body="&lt;p&gt;I have some code to offer to start the node process(es) with custom arguments, e.g. &lt;code&gt;--prof&lt;/code&gt;. However, I'd first like to highlight the following bits of information about GraphQL and JSS that might provide some insight.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore GraphQL includes some built-in diagnostics features that can help diagnose API performance issues:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://jss.sitecore.com/docs/techniques/graphql/graphql-overview#performance--diagnostics&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.com/docs/techniques/graphql/graphql-overview#performance--diagnostics&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;When to use Integrated GraphQL queries:&lt;/strong&gt; &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/services/graphql#_integrated_-graphql&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/services/graphql#&lt;em&gt;integrated&lt;/em&gt;-graphql&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;vs When to use Connected GraphQL queries:&lt;/strong&gt; &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/services/graphql#_connected_-graphql&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/services/graphql#&lt;em&gt;connected&lt;/em&gt;-graphql&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For non-CM environments, you may want to consider using Headless SSR mode instead of Integrated Mode for high-traffic sites as recommended here:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/application-modes#integrated-mode&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/application-modes#integrated-mode&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Ok, with that out of the way, you need to extend some of the existing JSS Node invocation code. Admittedly, this is more difficult than it should be and perhaps is something we can look at addressing for the next release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, extend the &lt;code&gt;Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.Http.HttpNodeInstance&lt;/code&gt;&#xA;type where you can override the method that creates the Node invocation information. This is where you can add the &lt;code&gt;--prof&lt;/code&gt; argument.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomHttpNodeInstance : HttpNodeInstance&#xA;{&#xA;    public CustomHttpNodeInstance(NodeServicesOptions options, int port = 0) : base(options, port)&#xA;    {  &#xA;    }&#xA;&#xA;    protected override ProcessStartInfo PrepareNodeProcessStartInfo(string entryPointFilename, string projectPath, string commandLineArguments,&#xA;        IDictionary&amp;lt;string, string&amp;gt; environmentVars, bool launchWithDebugging, int debuggingPort)&#xA;    {&#xA;        var startInfo = base.PrepareNodeProcessStartInfo(entryPointFilename, projectPath, commandLineArguments,&#xA;            environmentVars, launchWithDebugging, debuggingPort);&#xA;&#xA;        // You might ask why you can't simply add custom arguments to the `commandLineArguments` parameter.&#xA;        // The answer is that the `commandLineArguments` value is added to the node.exe command _after_ the script name/path that will be executed by node.&#xA;        // However, the `--prof` flag must be placed _before_ the script name/path that will be executed by node.&#xA;        // Therefore, we invoke the base `PrepareNodeProcessStartInfo` method to generate the command arguments,&#xA;        // then prepend the arguments string with `--prof`.&#xA;        startInfo.Arguments = &quot;--prof &quot; + startInfo.Arguments;&#xA;        return startInfo;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next, create a custom class that implements the &lt;code&gt;Sitecore.JavaScriptServices.ViewEngine.NodeServices.INodeServicesFactory&lt;/code&gt; interface. This is where you tell the Node services creation code to use your custom &lt;code&gt;HttpNodeInstance&lt;/code&gt; (defined above).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomNodeServicesFactory : INodeServicesFactory&#xA;{&#xA;    public INodeServices CreateNodeServices(NodeServicesOptions options)&#xA;    {&#xA;        if (options == null)&#xA;        {&#xA;            throw new ArgumentNullException(nameof(options));&#xA;        }&#xA;&#xA;        // Use our `CustomHttpNodeInstance` when creating Node instances.&#xA;        options.NodeInstanceFactory = () =&amp;gt; new CustomHttpNodeInstance(options);&#xA;        return new DefaultNodeServices(options.NodeInstanceFactory);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next, you need to register your custom &lt;code&gt;CustomNodeServicesFactory&lt;/code&gt; as the implementation of &lt;code&gt;INodeServicesFactory&lt;/code&gt; that will be served by the DI container.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomRegisterDependencies : IServicesConfigurator&#xA;{&#xA;    public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;        // Remove the existing `INodeServicesFactory` service&#xA;        var toRemove = serviceCollection.FirstOrDefault(d =&amp;gt; d.ServiceType == typeof(INodeServicesFactory));&#xA;        serviceCollection.Remove(toRemove);&#xA;&#xA;        // Add the custom service&#xA;        serviceCollection.AddTransient&amp;lt;INodeServicesFactory, CustomNodeServicesFactory&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And lastly, you need a config patch to tell Sitecore to include your custom DI registration (be sure to replace &lt;code&gt;MyNamespace&lt;/code&gt; and &lt;code&gt;MyLibrary&lt;/code&gt; with your relevant values).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;      &amp;lt;configurator&#xA;        type=&quot;MyNamespace.CustomRegisterDependencies, MyLibrary&quot;&#xA;        patch:after=&quot;*[@type='Sitecore.JavaScriptServices.ViewEngine.Node.RegisterDependencies, Sitecore.JavaScriptServices.ViewEngine.Node']&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, when you browse to your JSS app in Integrated Mode, Node will generate a profiler log file. However, it will be empty/locked until the Node process(es) used by your JSS app exit. Therefore, you must kill the &lt;code&gt;w3wp.exe&lt;/code&gt; process for your Sitecore instance or kill the &lt;code&gt;node.exe&lt;/code&gt; process(es) attached to the &lt;code&gt;w3wp.exe&lt;/code&gt; process in order for the profiler output to be finalized and written.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The profiler output file, e.g. &lt;code&gt;isolate-xxxxx-v8.log&lt;/code&gt;, will be generated in the folder next to your &lt;code&gt;server.bundle.js&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: depending on your JSS Node pooling configuration, multiple Node instances may be used by your app when load testing. Therefore, there may be multiple profile log files.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-01-26T21:22:01.753" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16262" PostTypeId="2" ParentId="16260" CreationDate="2019-01-27T02:31:29.853" Score="3" Body="&lt;p&gt;For anyone who comes in on this error message. Sitecore 9.1 requires SOLR version 7.2.1. Using another version will have adverse side effects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;8.2 - 6.6.2&lt;/li&gt;&#xA;&lt;li&gt;9.0 - 6.6.2&lt;/li&gt;&#xA;&lt;li&gt;9.1 - 7.2.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-01-27T02:51:39.937" LastActivityDate="2019-01-27T02:51:39.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16263" PostTypeId="2" ParentId="15686" CreationDate="2019-01-27T03:21:45.743" Score="0" Body="&lt;p&gt;I do not believe there is a way to include your custom field in the _content field. That field is used to process all text fields in the Sitecore database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about the _conent field here. &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8609/what-class-indexes-the-content-index-field&quot;&gt;What class indexes the _content index field&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe you are going to have to query your field along with the the Content field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                    &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                        &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                            &amp;lt;field fieldName=&quot;serviceStep&quot; returnType=&quot;string&quot;&amp;gt;project_namespace,DllName&amp;lt;/field&amp;gt;&#xA;                        &amp;lt;/fields&amp;gt;&#xA;                    &amp;lt;/documentOptions&amp;gt;&#xA;                &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then add your field to your extension of Sitecore's SearchResultItem class.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Foundation.Indexing.Models&#xA;{&#xA;    using System.Collections.Generic;&#xA;    using Sitecore.ContentSearch;&#xA;    using Sitecore.ContentSearch.SearchTypes;&#xA;&#xA;    public class IndexedItem : SearchResultItem&#xA;    {&#xA;        [IndexField(&quot;serviceStep&quot;)]&#xA;        public string ServiceStep { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you query your new field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = ContentSearchManager.GetIndex(&quot;sitecore_web_index&quot;).CreateSearchContext())&#xA;{&#xA;    var searchQuery = context.GetQueryable&amp;lt;IndexedItem&amp;gt;()&#xA;        .Where(x =&amp;gt; x.ServiceStep == &quot;My Search Text);&#xA;&#xA;    var results = searchQuery.GetResults()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-01-27T15:19:05.923" LastActivityDate="2019-01-27T15:19:05.923" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16264" PostTypeId="2" ParentId="16260" CreationDate="2019-01-27T19:05:23.283" Score="5" Body="&lt;p&gt;Apart from what Chris mentioned, the error is indicative of TLS version problem. So use this command in powershell before you run the SIF install script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find this above solution mentioned &lt;a href=&quot;https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel&quot;&gt;https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="178" LastActivityDate="2019-01-27T19:05:23.283" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16265" PostTypeId="2" ParentId="11523" CreationDate="2019-01-27T22:46:37.113" Score="0" Body="&lt;p&gt;Same. Plain vanilla install of 9.1 and getting these index errors. Will get to the bottom of it... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also wondering why all the configs are enabled by default - We are doing the default Solr install so surprised to see the Azure and Lucene configs in there. Possibly there is a setting that disables them when Solr is being used, but Sitecore configs used to be disabled if they weren't active, so this is a bit confusing. I am changing the names to .disabled just to be sure it isn't one of these other configs causing the error, as there are mentions of these indexes in all the configs&lt;/p&gt;&#xA;" OwnerUserId="4958" LastActivityDate="2019-01-27T22:46:37.113" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16266" PostTypeId="1" AcceptedAnswerId="16267" CreationDate="2019-01-28T00:12:25.157" Score="1" ViewCount="202" Body="&lt;p&gt;Solution builds just fine on local environment but the build server fails to locate Sitecore.NVelocity. Thoughts on why it is not found? The nuget.config file has an entry below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;Sitecore 9.1&quot; value=&quot;https://sitecore.myget.org/F/sc-platform-9-1/api/v3/index.json&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Error from DevOps is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The nuget command failed with exit code(1) and error(Errors in packages.config projects&#xA;    Unable to find version '9.0.180604' of package 'Sitecore.NVelocity'.&#xA;      C:\Windows\ServiceProfiles\NetworkService\.nuget\packages\: Package 'Sitecore.NVelocity.9.0.180604' is not found on source 'C:\Windows\ServiceProfiles\NetworkService\.nuget\packages\'.&#xA;      https://www.nuget.org/api/v2/: Package 'Sitecore.NVelocity.9.0.180604' is not found on source 'https://www.nuget.org/api/v2/'.&#xA;      https://sitecore.myget.org/F/sc-platform-9-1/api/v3/index.json: Package 'Sitecore.NVelocity.9.0.180604' is not found on source 'https://sitecore.myget.org/F/sc-platform-9-1/api/v3/index.json'.)&#xA;Packages failed to restore&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="901" LastActivityDate="2019-01-28T03:20:31.833" Title="Unable to get Sitecore.NVelocity from Nuget on Build Server" Tags="|nuget|nvelocity|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16267" PostTypeId="2" ParentId="16266" CreationDate="2019-01-28T03:20:31.833" Score="1" Body="&lt;p&gt;You need to update your Sitecore.NVelocity to version 9.0. There is no version 9.0.180604 on the Sitecore 9.1 feed. It works local because you have a copy of the old dll somewhere in your packages or bin folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that the Sitecore 9.1 feed ONLY has Sitecore 9.1 release dlls. It does not contain any old Sitecore dlls like the old feed used. It just contains 1 single release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the version in the 9.1 feed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vyEsZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vyEsZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-01-28T03:20:31.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16269" PostTypeId="2" ParentId="16248" CreationDate="2019-01-28T07:34:56.623" Score="0" Body="&lt;p&gt;I think this is a good approach that you mentioned in the question. As far as I see you are using Glass Mapper, so this &lt;code&gt;ButtonLink&lt;/code&gt; is a &lt;code&gt;Link&lt;/code&gt; type where you can easily change the &lt;code&gt;Query&lt;/code&gt; property in your Controller, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;model.ButtonLink.Query = &quot;key=value&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Important to mention that with the approach above you overwrite the querystring which can be given by content editors.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2019-01-28T07:34:56.623" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16270" PostTypeId="1" AcceptedAnswerId="16271" CreationDate="2019-01-28T10:51:31.650" Score="1" ViewCount="2000" Body="&lt;p&gt;I have Sitecore 9.0 update -1 version and followed (&lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/jss-server-install&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/jss-server-install&lt;/a&gt;) to setup JSS server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I cant able to deploy the app while running deploy  command, i got below error in attached screen shot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wedLy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wedLy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below my scjssconfig.json&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;sitecore&quot;: {&#xA;    &quot;instancePath&quot;: &quot;D:\\SC9\\sc90.local&quot;,&#xA;    &quot;apiKey&quot;: &quot;{781AA908-F82E-4122-87E7-AB4D60B76760}&quot;,&#xA;    &quot;deploySecret&quot;: &quot;eugskd8mophj3sq861yqybtttf3p5yctzxlu6rgk7m&quot;,&#xA;    &quot;deployUrl&quot;: &quot;http://sc90.local/sitecore/api/jss/import&quot;,&#xA;    &quot;layoutServiceHost&quot;: &quot;http://sc90.local&quot;,&#xA;    &quot;deploymentSecret&quot;:&quot;eugskd8mophj3sq861yqybtttf3p5yctzxlu6rgk7m&quot;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also i can see manifest.zip file in my local but seems import process fails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How should i troubleshoot further here,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yJFfH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yJFfH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="73" LastEditDate="2019-01-28T15:09:13.653" LastActivityDate="2019-01-28T15:09:13.653" Title="Import process fails : &quot;Unexpected response from import service: Status message: Found&quot;" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16271" PostTypeId="2" ParentId="16270" CreationDate="2019-01-28T11:51:45.327" Score="1" Body="&lt;p&gt;Upgrading jss server package solved my issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on this article &quot;&lt;a href=&quot;https://isaadansari.wordpress.com/2018/09/02/troubleshooting-with-sitecore-jss-deployment-problems/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://isaadansari.wordpress.com/2018/09/02/troubleshooting-with-sitecore-jss-deployment-problems/&lt;/a&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Jss-cli version(11.0) and react application versions are latest but my Jss server tech preview version is 2. So i downloaded tech preview version 4 and installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1K1bI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1K1bI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now its worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/16gtQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/16gtQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2311" LastActivityDate="2019-01-28T11:51:45.327" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16272" PostTypeId="1" AcceptedAnswerId="16273" CreationDate="2019-01-28T12:02:07.950" Score="2" ViewCount="617" Body="&lt;p&gt;I have 2 websites configured in a single instance, where i wanted to configure separate search indexes of solr for each website. &lt;/p&gt;&#xA;" OwnerUserId="4940" LastActivityDate="2019-01-28T12:49:19.727" Title="How to configure seperate solr index for multi site in a single instance in sitecore?" Tags="|solr|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16273" PostTypeId="2" ParentId="16272" CreationDate="2019-01-28T12:49:19.727" Score="7" Body="&lt;p&gt;Even if you have multiple sites on the same Sitecore instance, you can have only a single Solr Server with different cores.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, you need to create a custom solr index configuration file for each site. Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For Site A&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_web_index_site_a&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Site A&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For Site B&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_web_index_site_b&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Site B&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Second, once you have your configuration files setup, you need to create the cores of those sites on the Solr Server with the same name as you mentioned in the configuration file. Based on the configuration snippet above, the cores in Solr will be named: &lt;code&gt;sitecore_web_index_site_a&lt;/code&gt; and &lt;code&gt;sitecore_web_index_site_b&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you need to change the root of the crawler so that it points to the Site path. Moreover, you can take the Sitecore default solr indexes for master, web and core as an example.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-01-28T12:49:19.727" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16274" PostTypeId="1" CreationDate="2019-01-28T13:02:41.117" Score="0" ViewCount="474" Body="&lt;p&gt;i have created a contact with facet in XDB using XConnect programmatically. but created contact is not showing in experience profile and shows no records to display.why this happened?&#xA;Also my scenario doesn't require any reporting DB, just want to create a sample data for testing purpose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly note am using SC9&lt;/p&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="4765" LastEditDate="2019-01-28T15:25:56.290" LastActivityDate="2019-01-28T15:25:56.290" Title="sitecore 9 Experience profile not showing contacts" Tags="|experience-profile|" AnswerCount="0" CommentCount="1" FavoriteCount="0" ClosedDate="2019-01-28T15:08:03.167" ContentLicense="CC BY-SA 4.0" />
  <row Id="16275" PostTypeId="1" AcceptedAnswerId="16276" CreationDate="2019-01-28T13:36:59.730" Score="1" ViewCount="103" Body="&lt;p&gt;I have a SXA search scope which is working, but as soon as I try to extend it with our &quot;Company&quot; field, it fails to find any results. Company is a multilist field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a search scope as: &lt;code&gt;template:{237FD461-A7F6-4080-AFAB-57227F87782E};...;+location:{FF3E546F-C781-4B47-84D7-23CE125CF473}&lt;/code&gt;&#xA;This works fine and is giving us the correct query and results.&lt;/li&gt;&#xA;&lt;li&gt;We have to add an extra part to the query, for our company field. I added &quot;&lt;code&gt;Company|....&lt;/code&gt;&quot;. This does not seem to work.&lt;/li&gt;&#xA;&lt;li&gt;I have tried to use the exact index field instead of the field name:  &lt;code&gt;template:{237FD461-A7F6-4080-AFAB-57227F87782E};...;+location:{FF3E546F-C781-4B47-84D7-23CE125CF473};+custom:company_sm|01f831ffc56e4cf5ba719a1e77406ec9&lt;/code&gt; Still no luck.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When I try with a another multilist field on those templates, it does work.&#xA;When I checked my logs for the queries Sitecore is doing I saw something strange.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The query performed was: &lt;code&gt;&amp;amp;search=(language_1:(en) AND (template_1:(237fd461a7f64080afab57227f87782e) OR template_1:(9d791aff92314b41b482f46737a59e0c) OR template_1:(bcbc94ab9b6a40079370b5052c44b20b)) AND company_s:(01f831ffc56e4cf5ba719a1e77406ec9))&amp;amp;$filter=(latestversion_1 and (path_1/any(t:t eq 'ff3e546fc7814b4784d723ce125cf473')) and searchable and (path_1/any(t:t eq 'ff3e546fc7814b4784d723ce125cf473')))&amp;amp;queryType=full&amp;amp;$skip=0&amp;amp;$top=12&amp;amp;$orderby=title&amp;amp;$count=true&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that Sitecore is using &lt;code&gt;company_s&lt;/code&gt; instead of &lt;code&gt;company_sm&lt;/code&gt; - where for a multilist field the _sm should be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is this and how can I get Sitecore to use the exact field?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-28T13:36:59.730" Title="SXA scope not working with one specific field in PAAS" Tags="|sxa|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16276" PostTypeId="2" ParentId="16275" CreationDate="2019-01-28T13:36:59.730" Score="1" Body="&lt;p&gt;It turns out we had another template in the same instance that also had a field called &quot;Company&quot;, but in this case it was a droplist (and not a multilist). This caused our issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the case were I tried using the Sitecore field in the query, this might make sense.. Sitecore has no clue which index field to take. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the case were I used the actual index field however, I did expect Sitecore to leave that field alone and use it, but apparently they don't (with Azure Search). After talking to Support, this is registed as a bug in 9.0.2 (ref 301873). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I fixed it by removing (or renaming) one of the Company fields to make sure there was no &quot;duplicate&quot; in the index. One this was done, I had to rebuild all the affected indexes (note that in Azure you can easily remove the indexes first to make sure they really start from scratch).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lesson learned: never have multiple fields from a different type with the same name in the same instance...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-28T13:36:59.730" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16277" PostTypeId="2" ParentId="2516" CreationDate="2019-01-28T15:03:35.103" Score="1" Body="&lt;p&gt;The contacts doesn't appear in the Experience Profile because a contact without interactions or event is considered anonymous. By default xConnect will not index and display anonymous contacts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;To add an interaction to the contact.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Enable indexing of anonymous contacts ( &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/enable-indexing-of-anonymous-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/enable-indexing-of-anonymous-contacts.html&lt;/a&gt; ) &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-01-28T15:03:35.103" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16278" PostTypeId="1" AcceptedAnswerId="16280" CreationDate="2019-01-28T15:08:20.543" Score="0" ViewCount="156" Body="&lt;p&gt;We have a requirement to show/export contacts based on some search criteria. As per my understanding List Manager can be used for the same. However Sitecore has mentioned that &quot;In the List Manager, you can manage your Sitecore contacts in lists and create the lists of recipients for your email campaigns.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/the-list-manager.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/the-list-manager.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can i use List manager without EXM functionality enabled or even do not have EXM licence. &lt;/p&gt;&#xA;" OwnerUserId="3841" LastActivityDate="2019-01-29T13:27:02.043" Title="List Manager without EXM" Tags="|exm|list-manager|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16279" PostTypeId="1" CreationDate="2019-01-28T15:17:27.273" Score="2" ViewCount="310" Body="&lt;p&gt;Occasionally we are experiencing what appears to be a session lock when viewing the front end of the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The symptoms are&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The browser loads the request for a long period of time&lt;/li&gt;&#xA;&lt;li&gt;Eventually a 504 gateway timeout is returned&lt;/li&gt;&#xA;&lt;li&gt;If you make the same request in a different browser or in incognito the site loads straight away&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have had a similar experience in 8.2. when using Xdb and tracking which is described &lt;a href=&quot;https://briancaos.wordpress.com/2015/07/02/sitecore-8-and-tracker-current-session-identify-overriding-expired-contact-session-lock-for-contact-id/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; but in this case we have disabled Xdb through &lt;code&gt;&amp;lt;setting name=&quot;Xdb.Tracking.Enabled&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have noticed that when this occurs there is nothing notable in the logs other than multiple entries of:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;HttpModule is being initialized&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Redis for session storage and Sitecore 8.2 rev 161221 (update 2).&lt;/p&gt;&#xA;" OwnerUserId="1125" LastActivityDate="2019-01-28T15:17:27.273" Title="Session locking in 8.2" Tags="|session-state|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16280" PostTypeId="2" ParentId="16278" CreationDate="2019-01-28T15:26:47.583" Score="0" Body="&lt;p&gt;Yes you can use ListManager without EXM. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Starting with version 9.0.1 EXM is part of the platform and as far I know you don't have to pay for it just in case you are using Sitecore Email Cloud Service &#xA;(&lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/use-the-sitecore-email-cloud-service.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/use-the-sitecore-email-cloud-service.html&lt;/a&gt; ) &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-01-28T15:26:47.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16281" PostTypeId="1" AcceptedAnswerId="16283" CreationDate="2019-01-28T15:45:58.777" Score="0" ViewCount="253" Body="&lt;p&gt;What is the reason behind not co-locating serialized items and roles within the same folder? I keep my serializations in the project git repository for DTAP CI/CD purposes and with the default set-up of Unicorn all role serializations will instead be going to &lt;code&gt;C:\inetpub\wwwroot\MySitecoreInstance\App_Data\serialization\security\sitecore\Roles&lt;/code&gt;. Is there a specific reason for this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;!-- Note: do not co-locate serialized items and serialized roles in the same folder --&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;    Unicorn.Roles.config&#xA;&#xA;    Configures Unicorn to be capable of syncing security roles as well as Sitecore items.&#xA;    See Unicorn.Configs.Default.Roles.config.example for details of how to include roles and how they sync.&#xA;&#xA;    This file should be present on all environments where Unicorn will be expected to sync roles.&#xA;    Normally this would be development and Content Editing (CE) environments.&#xA;    It should not hurt anything if left in a CD environment, but it may be removed.&#xA;&#xA;    http://github.com/kamsar/Unicorn&#xA;--&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;    &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot;&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;            &amp;lt;defaults&amp;gt;&#xA;                &amp;lt;!-- Note: do not colocate serialized items and serialized roles in the same folder --&amp;gt;&#xA;                &amp;lt;roleDataStore physicalRootPath=&quot;$(dataFolder)\Unicorn\Unicorn.Roles\$(configurationName)&quot; type=&quot;Unicorn.Roles.Data.FilesystemRoleDataStore, Unicorn.Roles&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;                &amp;lt;roleLoader type=&quot;Unicorn.Roles.Loader.RoleLoader, Unicorn.Roles&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;                    &amp;lt;roleLoaderLogger type=&quot;Unicorn.Roles.Loader.DefaultRoleLoaderLogger, Unicorn.Roles&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;&#xA;                &amp;lt;roleSerializationFormatter type=&quot;Unicorn.Roles.Formatting.YamlRoleSerializationFormatter, Unicorn.Roles&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;&#xA;                &amp;lt;!-- &#xA;                    If you set RemoveOrphans to true, role syncing will delete matching roles that are not serialized, like item syncing does.&#xA;                    If set to false, roles are only ever added or updated (similar to New Items Only item syncing but updates are also synced)&#xA;                --&amp;gt;&#xA;                &amp;lt;roleSyncConfiguration removeOrphans=&quot;true&quot; type=&quot;Unicorn.Roles.Loader.DefaultRoleSyncConfiguration, Unicorn.Roles&quot; singleInstance=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;/defaults&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;&#xA;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;unicornSyncComplete&amp;gt;&#xA;                &amp;lt;processor type=&quot;Unicorn.Roles.Pipelines.UnicornSyncComplete.SyncRoles, Unicorn.Roles&quot; /&amp;gt;&#xA;            &amp;lt;/unicornSyncComplete&amp;gt;&#xA;            &amp;lt;unicornReserializeComplete&amp;gt;&#xA;                &amp;lt;processor type=&quot;Unicorn.Roles.Pipelines.UnicornReserializeComplete.ReserializeRoles, Unicorn.Roles&quot; /&amp;gt;&#xA;            &amp;lt;/unicornReserializeComplete&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4927" LastActivityDate="2019-01-28T16:06:02.810" Title="Do not colocate serialized items and serialized roles in the same folder" Tags="|unicorn|role-management|serialization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16283" PostTypeId="2" ParentId="16281" CreationDate="2019-01-28T16:06:02.810" Score="3" Body="&lt;p&gt;You can choose any folder. Just not one that is being used for anything else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason being; the Unicorn default datastore expects YML files of Items. Roles and Users are not items - the two stores are not compatible.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-01-28T16:06:02.810" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16284" PostTypeId="1" AcceptedAnswerId="16836" CreationDate="2019-01-28T17:17:44.410" Score="0" ViewCount="1134" Body="&lt;p&gt;What I have:&#xA;Under IIS: I have Sitecore 9.0.2 XP0 with SXA 1.7 and SOLR for indexing working fine.&lt;/p&gt;&#xA;&lt;p&gt;Under Visual Studio: I have Habitat Solution downloaded from &lt;a href=&quot;https://codeload.github.com/Sitecore/Sitecore.HabitatHome.Platform/zip/9.0.2.2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://codeload.github.com/Sitecore/Sitecore.HabitatHome.Platform/zip/9.0.2.2&lt;/a&gt;&#xA;The solution gets build and published using gulp successfully.&lt;/p&gt;&#xA;&lt;p&gt;Upon successfully publishing, I browsed the Sitecore client and it broke&lt;/p&gt;&#xA;&lt;h1&gt;Error:&lt;/h1&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GuBjH.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GuBjH.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Stack trace:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/wbpsf.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wbpsf.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Error in the log file:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Could not find constructor in ReflectionUtil.CreateObject: Sitecore.XA.Foundation.Search.Providers.Solr.SolrSearchIndex. The constructor parameters may not match or it may be an abstract class.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;What I have checked:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Name of SOLR cores&lt;/li&gt;&#xA;&lt;li&gt;Disabled &lt;code&gt;Sitecore.ContentSearch.SolrCloud.SwitchOnRebuild.config.example&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;The version of &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt; under &lt;code&gt;IIS&lt;/code&gt;(before publishing code) and under Visual Studio to be same.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I have no luck till now.&lt;/p&gt;&#xA;&lt;p&gt;Can you please help me, where to luck further for this?&lt;/p&gt;&#xA;&lt;p&gt;Any suggestion will be helpful. Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-19T19:35:17.530" Title="SolrSearchIndex: No matching constructor was found" Tags="|sxa|solr|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16285" PostTypeId="1" AcceptedAnswerId="16287" CreationDate="2019-01-28T18:28:18.987" Score="1" ViewCount="97" Body="&lt;p&gt;I'm trying to add a button to the Archive tool in the launchpad.  I think I've granted access to the role the user is in  - to \applications\archives and everything under it, but I think I'm missing something.  Is that just granting them access to the tool?  Do I need to manually set up a button that goes to the archive?  The button/category doesn't show up on the user's launchpad.  Using 8.2&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-01-28T18:49:46.093" Title="Give access to Archive button in Launchpad" Tags="|security|launchpad|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16286" PostTypeId="2" ParentId="16278" CreationDate="2019-01-28T18:40:18.160" Score="1" Body="&lt;p&gt;List Manager and Email Experience Manager serve two different functions. Therefore, yes you can use List Manager without EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;List Manager's responsibility is simple: to create lists of Contacts. It does so, either by Contact Lists (manual lists) or Segmented Lists (rule-based lists) of Contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;List Manager does not care about Email Experience Manager and is not aware of its existence.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand, Email Experience Manager's sole responsibility is to create, merge, and distribute email to contacts.  It uses lists from List Manager to maintain Contact Lists so that Email Experience Manager does not need to perform that responsibility.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EXM heavily relies upon List Manager because you can't send email without knowing who to send to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore versions prior to Sitecore 9, List Manager is natively part of the Sitecore platform as a function within the xDB marketing tools. However, because EXM was the only module that really made significant use of the List Manager module, it was heavily associated with Email Experience Manager. &lt;strong&gt;List Manager has significant issues in Sitecore versions prior to 8.2.6, and many hotfixes are available from Sitecore Support if you are working with versions prior.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore Experience Platform v9+, List Manager is significantly improved and many of the issues in prior versions of Sitecore have been resolved. Additionally, Email Experience Manager is also now part of the platform natively (like List Manager) but is not required in order to utilize List Manager.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-01-28T23:19:10.943" LastActivityDate="2019-01-28T23:19:10.943" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16287" PostTypeId="2" ParentId="16285" CreationDate="2019-01-28T18:49:46.093" Score="3" Body="&lt;p&gt;There is no default button for the Archive application on the Launchpad. In fact, the application itself is not intended to run as its own application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It can be done, however (though it looks a little funny).&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Add a Launchpad button to the Archive&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the core database, add an item of template &lt;code&gt;LaunchPad-Button&lt;/code&gt; (   /sitecore/client/Applications/Launchpad/PageSettings/Templates/LaunchPad-Button) to one of the Launchpad button sections below &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Note: I chose to duplicate the &lt;code&gt;RecycleBin&lt;/code&gt; button item&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Change the &lt;strong&gt;Link&lt;/strong&gt; field to &lt;code&gt;/sitecore/shell/applications/archives/archive&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Optionally, change the &lt;strong&gt;Text&lt;/strong&gt; and &lt;strong&gt;Icon&lt;/strong&gt; fields to indicate what this application does&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Return to the LaunchPad and you should see a button for the Archive:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/t4FO6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t4FO6.png&quot; alt=&quot;Updated launchpad&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-01-28T18:49:46.093" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16288" PostTypeId="2" ParentId="16259" CreationDate="2019-01-28T19:29:12.110" Score="1" Body="&lt;p&gt;Historical aggregation is different from the full rebuild of the reporting database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As state on the links you provided, Re-aggregation of historical data happens on historical interactions which is interactions that have not been aggregated into the Experience Analytics reports while a full rebuild of the reporting database, it is the re aggregation of all interactions that have already been processed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, it all depends on what you want to achieve. If you have imported historical data and require them to be present in the Experience Analytics report, then the historical aggregation is the option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally, you’ll tend to perform a full rebuild of the reporting database if you have data inconsistency in the xdb.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-01-28T19:29:12.110" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16289" PostTypeId="1" CreationDate="2019-01-28T20:51:36.443" Score="2" ViewCount="75" Body="&lt;p&gt;I would like to uninstall &lt;code&gt;XC9 Update 2&lt;/code&gt; from our dev environment. I am finding scripts that allow me to remove the commerce databases and web sites, but I am not finding anything about removing the installed assets from the content management environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; I do not want to remove the CM web site or databases; I just want to remove XC components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could remove the obvious items such as commerce templates and config files, but I would prefer an accurate list of items to remove. Any pointers?&lt;/p&gt;&#xA;" OwnerUserId="2068" LastEditorUserId="5387" LastEditDate="2019-07-15T11:16:50.837" LastActivityDate="2019-12-12T13:03:10.547" Title="Uninstall XC9 Update 2 without uninstalling XM environment" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16290" PostTypeId="1" CreationDate="2019-01-29T03:29:26.987" Score="3" ViewCount="889" Body="&lt;p&gt;We are building a development environment for Sitecore 8.1 Update 1 with Sitecore Azure 8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since Sitecore Azure requires Azure SDK 2.7.1 to be deployed, I am having such a bad day trying to figure out where to download Azure SDK 2.7.1 installer. It is quite old version so Microsoft is now redirecting all download pages to the download page for latest Azure SDK version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I went to the download page for manual installation, but the page does not contain &quot;WebToolsExtensionsVS2015.msi&quot; so now there is no way to install Azure SDK 2.7.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have anyone successfully installed Azure SDK 2.7.1 recently?&#xA;I am not sure if I consult with Sitecore Support for this question.&lt;/p&gt;&#xA;" OwnerUserId="4091" LastActivityDate="2022-10-10T13:01:55.270" Title="Where to download Azure SDK 2.7.1 needed to deploy Sitecore Azure 8.1?" Tags="|configuration|azure|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16291" PostTypeId="2" ParentId="16290" CreationDate="2019-01-29T04:47:49.017" Score="1" Body="&lt;p&gt;You can download it via Web platform Installer. That solves the problem for alternative to downloading &lt;code&gt;.msi&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/u066y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u066y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I find that there is no 2.7.1 available at the Web Platform Installer, It is either &lt;code&gt;3.0.1&lt;/code&gt; or &lt;code&gt;2.9.6&lt;/code&gt;. Because Azure SDK version 2.7.1 has &lt;strong&gt;retired on April 3, 2017.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Download from Archives&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even if you want to download the older versions (2.7.1), you can download it from the Microsoft Download Archives.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://azure.microsoft.com/en-in/downloads/archive-net-downloads/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://azure.microsoft.com/en-in/downloads/archive-net-downloads/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2019-01-29T08:32:48.233" LastActivityDate="2019-01-29T08:32:48.233" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16292" PostTypeId="2" ParentId="16284" CreationDate="2019-01-29T05:20:36.610" Score="4" Body="&lt;p&gt;1)&#xA;The root cause of your problem may be that you are not using proper version of SXA with your version of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 9 Update 2 (Sitecore 9.0.2) you should have SXA 1.7 Update 1 (SXA 1.7.1) installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look on official compatibility matrix here:&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/180187&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/180187&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)&#xA;&lt;strong&gt;For Habitat actually you don't need to install SXA&lt;/strong&gt;. There is another Sitecore repo called &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Platform&quot; rel=&quot;nofollow noreferrer&quot;&gt;HabitatHome.Platform&lt;/a&gt; where SXA is needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3)&#xA;Also make sure you are using correct version of Habitat that is compatible with your version of Sitecore. It should be version / release v1.6 of Habitat in your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get code from here:&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/releases/tag/v1.6&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/releases/tag/v1.6&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4)&#xA;Follow Getting started for your particular version of Habitat to install all proper prerequisites:&#xA;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/v1.6/docs/01-Getting-Started.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/v1.6/docs/01-Getting-Started.md&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-05-19T19:35:17.530" LastActivityDate="2019-05-19T19:35:17.530" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16293" PostTypeId="2" ParentId="15698" CreationDate="2019-01-29T06:12:24.937" Score="0" Body="&lt;p&gt;I agree with Dan on getting rid of frequent crash of appPool. Also do a system restart after this.&#xA;For bringing back the catalog refer- &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/15972/sitecore-commerce-storefront-not-showing-catalog-no-catalog-data-available-an&quot;&gt;Sitecore commerce storefront not showing catalog- [No catalog data available] and &amp;quot;Invalid catalog Id&amp;quot;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1268" LastActivityDate="2019-01-29T06:12:24.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16296" PostTypeId="1" CreationDate="2019-01-29T11:46:30.443" Score="0" ViewCount="125" Body="&lt;p&gt;Can someone share sample code on how to show child dropdown based on value in parent dropdown in Sitecore WFFM please? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, any idea how to do custom validation on multiple dropdowns?&#xA;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4964" LastEditorUserId="605" LastEditDate="2019-01-29T12:13:51.303" LastActivityDate="2021-03-02T06:02:05.290" Title="Sitecore WFFM Dropdown show and hide based on parent dropdown" Tags="|wffm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16302" PostTypeId="1" CreationDate="2019-01-29T13:55:30.013" Score="0" ViewCount="569" Body="&lt;p&gt;We have CM and CD servers in Azure PaaS, and Azure search service for indexing the items. After publishing the items from CM to CD auto index rebuild not happening.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content Management index file configurations,&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Content Delivery index file configurations,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;demo_search_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;&amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;&amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;&amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;&amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot; /&amp;gt;&#xA;&amp;lt;schemaBuilder ref=&quot;contentSearch/searchServiceSchemaBuilder&quot; /&amp;gt;&#xA;&amp;lt;searchService type=&quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;&amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;&amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsyncSingleInstance&quot; /&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;&amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;&amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;&amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;&amp;lt;/policy&amp;gt;&#xA;&amp;lt;/policies&amp;gt;&#xA;&amp;lt;/commitPolicyExecutor&amp;gt;&#xA;&amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;&amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;&amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;&amp;lt;Root&amp;gt;/sitecore/content/Demo/Home&amp;lt;/Root&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please suggest if any changes required for auto index rebuild?&lt;/p&gt;&#xA;" OwnerUserId="4970" LastActivityDate="2019-01-30T04:13:06.347" Title="Auto index rebuild not happening in CD server (Sitecore 9.0 and Azure PaaS)" Tags="|azure-search|paas|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16303" PostTypeId="1" AcceptedAnswerId="16329" CreationDate="2019-01-29T14:23:20.287" Score="1" ViewCount="304" Body="&lt;p&gt;We're on Sitecore 8.1 update 2 and I'm having issues with the content search API. Its my understanding the _content field in the index should contain an amalgamation of all the fields in the template. Looking at this SO question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8609/what-class-indexes-the-content-index-field&quot;&gt;What class indexes the _content index field&lt;/a&gt;, there is a list considered by Sitecore as text fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in my instance, this isn't happening. I have indexAllFields true&#xA;in my config. Confused, I yielded and made my own basic _content crawler as a computed field based &lt;em&gt;very&lt;/em&gt; loosely on &lt;a href=&quot;https://kamsar.net/index.php/2014/05/indexing-subcontent/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2014/05/indexing-subcontent/&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It didn't work. I debugged and the first field - it's type came through as &quot;Rich NewText&quot; - it didn't match the list in the linked SO answer, so it didn't get indexed in my computed field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've searched high and low (including core field definitions) for &quot;Rich NewText&quot; type .. it's clear to me this is the reason it isn't updating my _content field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Single-Line Text&quot; is coming through as &quot;Single-Line NewText&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Multi-Line Text&quot; is coming through as &quot;Multi-Line NewText&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using lucene and done loads of Sitecore search stuff before and never came across this before. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can't post configs/code as they're in my air-gapped dev environment and can't just copy/paste out :-/&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas? Smells like a bug in this version of Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&#xA;So, after a dig, the sitecore.config file has this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;replacers&amp;gt;&#xA;    &amp;lt;replacer mode=&quot;off&quot; id=&quot;publish&quot; type=&quot;Sitecore.Text.Replacer, Sitecore.Kernel&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;      &amp;lt;replacements hint=&quot;raw:AddReplacement&quot;&amp;gt;&#xA;        &amp;lt;regex find=&quot;Test[12]&quot; replaceWith=&quot;Test&quot; simpleTest=&quot;Test&quot; ignoreCase=&quot;true&quot; forPublish=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;simple find=&quot;Text&quot; replaceWith=&quot;NewText&quot; ignoreCase=&quot;false&quot; forPublish=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/replacements&amp;gt;&#xA;    &amp;lt;/replacer&amp;gt;&#xA;  &amp;lt;/replacers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;.. this is an out the box value (also present in Vanilla Sitecore 8.2 rev. 180406). Wonder why SC does this and why it affects the field type? Anyone know if I can just remove this from the config?&lt;/p&gt;&#xA;" OwnerUserId="2046" LastEditorUserId="2046" LastEditDate="2019-01-29T15:18:08.817" LastActivityDate="2019-01-30T12:00:52.927" Title="_content field not populating correctly" Tags="|content-search|indexing|lucene|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16304" PostTypeId="2" ParentId="10907" CreationDate="2019-01-29T14:31:28.987" Score="0" Body="&lt;p&gt;Stackla Dashboard allows you to create widgets and customise them as you wish, and then generates a code that you can embed into your website page. You can be more clever when embedding Stackla widgets into Sitecore and specify dynamic parameters based on how you want to change Stackla settings and your variety of pages where you will place your module on. I can offer you my implementation of Stackla widgets in Sitecore released on GitHub &lt;a href=&quot;https://github.com/kate-orlova/stackla-widgets-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. Please check, it can be helpful for you. &lt;/p&gt;&#xA;" OwnerUserId="4390" LastActivityDate="2019-01-29T14:31:28.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16306" PostTypeId="1" AcceptedAnswerId="16310" CreationDate="2019-01-29T15:46:28.860" Score="7" ViewCount="694" Body="&lt;p&gt;I would like to add a field to all of my templates. The easiest approach appears to be to either &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add the field directly to Standard Templates (&lt;code&gt;/sitecore/templates/System/Templates/Standard template&lt;/code&gt;) or &lt;/li&gt;&#xA;&lt;li&gt;Create a new template and add it to the Base Template field on Standard Template (inherit my custom template)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Similarly, if all media items require a particular field, can I modify a low-level media template in a similar manner? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&quot;Media Classification&quot; - (&lt;code&gt;/sitecore/templates/System/Analytics/Marketing Taxonomy/Base/Classification/Media classification&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;&quot;File&quot; - (&lt;code&gt;/sitecore/templates/System/Media/Versioned/File&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is it reasonable to modify these Base Templates in certain scenarios?&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-01-29T17:50:35.467" Title="Is it okay to add fields to Standard Template or add Base Templates to it?" Tags="|templates|inheritance|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16307" PostTypeId="1" CreationDate="2019-01-29T16:15:16.593" Score="0" ViewCount="777" Body="&lt;p&gt;I need to create page item which should link to external page and also need to be part of the navigation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve this, I created custom &lt;code&gt;external redirect&lt;/code&gt; template under templates/projects and I picked &lt;code&gt;standard template, _navigable and redirect&lt;/code&gt; from base template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After doing all this steps, I can create item and assign external URL with option to open in new window. Issue which I am having is that redirect external link is not opening in new page. am I missing any steps? Thanks&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="70" LastEditDate="2019-01-29T17:43:43.710" LastActivityDate="2019-01-29T18:23:18.910" Title="External redirect template is not opening in new window" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16308" PostTypeId="2" ParentId="16306" CreationDate="2019-01-29T16:20:02.353" Score="3" Body="&lt;p&gt;From my point of view, the answer is yes, you can update the Sitecore Base template or add the template as base.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When upgrading the Sitecore instance, this may impact those templates. You may need to re-add those base templates to the standard field template. You'll need to keep track of the items so that if you are upgrading the Sitecore instance, you'll need to update the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when performing a Sitecore upgrade using the &lt;code&gt;.update&lt;/code&gt; packages, if the standard field template is not updated, it won't remove the inheritance that you've added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, it depends on the requirements at hand. For example, if you need to add new fields to the Media item, you'll need to make the default Sitecore Media Template item inherit the fields. Preference here is to create a custom template and then use inheritance.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-01-29T16:26:22.907" LastActivityDate="2019-01-29T16:26:22.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16309" PostTypeId="2" ParentId="16307" CreationDate="2019-01-29T16:31:36.370" Score="-2" Body="&lt;p&gt;You will need to handle this when you generate the link in the navigation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using Glass.Mapper, you can do something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (BeginRenderLink(externalRedirectItem, x =&amp;gt; x.FieldWithLinkToPage))&#xA;{&#xA;    @externalRedirectItem.ItemName&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or, if you don't have Glass, you can do it with raw Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().BeginField(&quot;Field With Link To Page&quot;, externalRedirectItem)&#xA;@externalRedirectItem[&quot;Field With Link To Page&quot;]&#xA;@Html.Sitecore().EndField()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-01-29T16:31:36.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16310" PostTypeId="2" ParentId="16306" CreationDate="2019-01-29T17:19:07.127" Score="10" Body="&lt;p&gt;Whenever I do this, I create a new template that I inherit. If wanted to add a new field called &lt;code&gt;widget&lt;/code&gt;, I would create a new _template called &lt;code&gt;_widgetdata&lt;/code&gt; (notice the _ to dictate the fact that this should only be inherited). And in &lt;code&gt;_widgetdata&lt;/code&gt; add my widget field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now go to &lt;code&gt;/sitecore/templates/System/Templates/Standard template&lt;/code&gt; and inherit the &lt;code&gt;_widgetdata&lt;/code&gt; template. This will help with upgrades because it will be easy to put back with TDS or a script. Rather than having to keep track on field on the Standard template.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-01-29T17:19:07.127" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16311" PostTypeId="2" ParentId="16306" CreationDate="2019-01-29T17:50:35.467" Score="-1" Body="&lt;p&gt;My humble opinion is that it's not acceptable to modify the ootb item by adding templates via inheritance. The reason for this is purely because you then start introducing parts of the ootb Sitecore tree in to your solution. With that in mind you might as well have other parts of Sitecore imbedded within the solution such as the Sitecore Web root. If 1 item doesn't break your coding standards then neither should 10, or 100, or, heck, just serialise the entire Sitecore database and add it to your solution. &lt;/p&gt;&#xA;" OwnerUserId="4973" LastActivityDate="2019-01-29T17:50:35.467" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16312" PostTypeId="2" ParentId="16307" CreationDate="2019-01-29T18:11:54.620" Score="1" Body="&lt;p&gt;1)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your solution won't work until you add some logic for Sitecore / layout / Page that once there is this field on Page it needs to redirect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably this would be a seperate component that will be part of standard values on your custom template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume based on your description that you have currently only field where you specified External link but that's it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a Redirect template that you can use next to standard Pages as you are using SXA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;A redirect is a way to send both users and search engines to a different URL from the one they originally requested. For example, to redirect visitors who enter namewebsite.com/home-a in their browser to namewebsite.com/home-b. This is very useful when you want to redirect a specific page to a new location, change the URL structure of a site so that it appears higher up in the navigation, or even redirect users to another website entirely. You can also use the mapping tool to set up a 301/302 or server transfer redirect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add a redirect item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UX2Sj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UX2Sj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Content Editor, right-click on the page where you want to specify your redirect, and click Insert, Redirect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Enter a name for the redirect item and click OK.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Redirect section, enter the URL that you want to direct to and save your changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HOxsW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HOxsW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Taken from Official Sitecore SXA Documentation:&#xA;&lt;a href=&quot;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/redirect-a-url.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/redirect-a-url.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should exactly fulfill your requirements.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-01-29T18:23:18.910" LastActivityDate="2019-01-29T18:23:18.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16314" PostTypeId="1" AcceptedAnswerId="16723" CreationDate="2019-01-29T20:02:36.770" Score="0" ViewCount="341" Body="&lt;p&gt;We are running Sitecore 8.2 and WFFM 8.2 and are in the process of setting up our first form. The only save action applied is the &quot;Send email message&quot;, which is working as intended. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem occurs if a user presses the 'enter' key on the form. It does not check for the &lt;em&gt;required&lt;/em&gt; fields and then navigates to an unrelated URL within the site. If you then return to the form and submit again, the form submits and sends the email correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It only fails to navigate to the &lt;em&gt;success&lt;/em&gt; message or the &lt;em&gt;required items are missing&lt;/em&gt; message if the 'enter' key is pressed anytime during filling in the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nothing in the logs relating to this occurs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else experienced this? &lt;/p&gt;&#xA;" OwnerUserId="4974" LastEditorUserId="237" LastEditDate="2019-07-23T19:58:57.837" LastActivityDate="2019-07-23T19:58:57.837" Title="Wffm 8.2 form validation not working on first submit" Tags="|wffm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16315" PostTypeId="1" CreationDate="2019-01-29T21:00:40.147" Score="2" ViewCount="226" Body="&lt;p&gt;I am exploring Sitecore JSS, and able to create new renderings, templates for my app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we've to create all templates and renderings for the given App, wondering how can we create templates, and renderings that can be shared across multiple apps?&lt;/p&gt;&#xA;" OwnerUserId="255" LastActivityDate="2019-01-30T21:36:57.343" Title="How to share templates and renderings between multiple JSS apps?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16317" PostTypeId="2" ParentId="16302" CreationDate="2019-01-30T04:13:06.347" Score="1" Body="&lt;p&gt;Make sure you have set to &lt;code&gt;true&lt;/code&gt; the setting &lt;code&gt;EnableEventQueues&lt;/code&gt; in your &lt;code&gt;Sitecore.config&lt;/code&gt;, and if not, create a patch and make it &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7Pmu3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7Pmu3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;OnPublishEndAsynch&lt;/code&gt; strategy depends on this setting to work properly, because it will read the Events from the table &lt;code&gt;EventQueue&lt;/code&gt; in the database you have defined. In your case &lt;code&gt;web&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details in the official documentation for this strategy.&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/index-update-strategies.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/index-update-strategies.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4875" LastActivityDate="2019-01-30T04:13:06.347" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16318" PostTypeId="1" CreationDate="2019-01-30T05:44:41.090" Score="2" ViewCount="291" Body="&lt;p&gt;Ours is a SPA app being built using Sitecore JSS. One of the pages has the requirement to show client info. But the actual client data comes from an API. But the content labels (like Description ,Email, Phone etc) should be maintained in CMS. What's the best way to do it?&#xA;Is it a good paradigm to store these label info under gloabal content in Sitecore and return the data  through an API call to front end?&lt;/p&gt;&#xA;" OwnerUserId="4977" LastActivityDate="2019-02-09T15:47:41.243" Title="best practice for fetching authoring fields in sitecore jss" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16320" PostTypeId="1" CreationDate="2019-01-30T06:35:20.540" Score="0" ViewCount="258" Body="&lt;p&gt;We are using Unity for the dependency injection overriding the default behavior for the sitecore project. While deploying the &lt;code&gt;jss&lt;/code&gt; app, I am getting below error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The current type, Sitecore.JavaScriptServices.AppServices.Pipelines.Import.IImportPipeline, is an interface and cannot be constructed. Are you missing a type mapping?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;when I try to resolve the dependency by registering the types by using below code, it leads to other errors which I am not sure is the right approach or not. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I resolve the dependencies for types used in Sitecore assemblies for successful deploying the app using &lt;code&gt;Unity&lt;/code&gt; dependency injection?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        container.RegisterTypes(&#xA;            AllClasses.FromAssemblies(new[]&#xA;            {&#xA;                Assembly.Load(&quot;Sitecore.JavaScriptServices.AppServices&quot;),&#xA;            }),&#xA;            WithMappings.FromMatchingInterface,&#xA;            WithName.Default, WithLifetime.PerResolve, null, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Hashmat&lt;/p&gt;&#xA;" OwnerUserId="747" LastEditorUserId="5096" LastEditDate="2019-05-27T05:40:47.867" LastActivityDate="2019-05-27T05:40:47.867" Title="Resolving dependencies using Unity for deploying sitecore jss app" Tags="|jss|dependency-injection|dependency-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16321" PostTypeId="1" AcceptedAnswerId="16342" CreationDate="2019-01-30T08:07:48.440" Score="1" ViewCount="76" Body="&lt;p&gt;We are having a Multi-lingual site. In Production, Sitecore Login page is accessible for all the sites except the .com (en-US) site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For en-US site, the user is redirected back to home page when they are trying to access &lt;strong&gt;www.oursite.com/sitecore&lt;/strong&gt;. Thus the necessary configuration is already in place.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rewrite&amp;gt;&#xA;      &amp;lt;rules&amp;gt;&#xA;        &amp;lt;rule name=&quot;Root Hit Force HTTPS Redirection&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;          &amp;lt;match url=&quot;^$&quot; ignoreCase=&quot;false&quot;/&amp;gt;&#xA;          &amp;lt;conditions&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot;/&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot;/&amp;gt;&#xA;          &amp;lt;/conditions&amp;gt;&#xA;          &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/&quot; redirectType=&quot;Permanent&quot;/&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;        &amp;lt;rule name=&quot;Sitecore Login or Admin Force HTTPS Redirection&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;          &amp;lt;match url=&quot;^(sitecore/(login|admin))$&quot;/&amp;gt;&#xA;          &amp;lt;conditions&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot;/&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot;/&amp;gt;&#xA;          &amp;lt;/conditions&amp;gt;&#xA;          &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; appendQueryString=&quot;true&quot; redirectType=&quot;Permanent&quot;/&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;        &amp;lt;rule name=&quot;Forbidden&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;          &amp;lt;match url=&quot;(.*)&quot;/&amp;gt;&#xA;          &amp;lt;conditions&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot;/&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot;/&amp;gt;&#xA;          &amp;lt;/conditions&amp;gt;&#xA;          &amp;lt;action type=&quot;CustomResponse&quot; statusCode=&quot;403&quot; subStatusCode=&quot;0&quot;/&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;      &amp;lt;/rules&amp;gt;&#xA;    &amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can anyone point me out where exactly we missed?&lt;/p&gt;&#xA;" OwnerUserId="4827" LastEditorUserId="73" LastEditDate="2019-01-30T12:50:08.567" LastActivityDate="2019-01-30T15:05:29.280" Title="Login Page accessible in Multisite scenario in Production" Tags="|sxa|sitecore-client|admin-pages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16322" PostTypeId="1" CreationDate="2019-01-30T08:24:12.863" Score="1" ViewCount="693" Body="&lt;p&gt;I have Sitecore 9.0 update -1 version and followed (&lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/jss-server-install&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/jss-server-install&lt;/a&gt;) to setup JSS server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After deploying angular sample app, Site ui has empty body other than logo and navigation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Case 1: Open site via newly added binding&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No errors or warnings in console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see the content items,placeholder,renderings,template details in sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JTgz2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JTgz2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Refer site definition below,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;site patch:before=&quot;site[@name='website']&quot;&#xA;            inherits=&quot;&quot;&#xA;            name=&quot;fresh-angular&quot;&#xA;            hostName=&quot;fresh-angular.dev.local&quot;&#xA;            rootPath=&quot;/sitecore/content/fresh-angular&quot;&#xA;            startItem=&quot;/home&quot;&#xA;            database=&quot;master&quot; /&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Case 2: Open site in experience editor&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here also same case but with error message like below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;An error occurred. [Log message: Value cannot be null.&#xA; Parameter name: fieldNameTranslator]&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yUOYY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yUOYY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Case 3: open as jss start:connected&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here i try to run command jss start:connected,&#xA;Same issue with warning message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Warning error below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Placeholder 'jss-main' was not found in the current rendering data {&#xA;  &quot;name&quot;: &quot;Home&quot;,&#xA;  &quot;displayName&quot;: &quot;Home&quot;,&#xA;  &quot;fields&quot;: {&#xA;    &quot;Text&quot;: {&#xA;      &quot;value&quot;: &quot;&amp;lt;p style=\&quot;line-height: 22px;\&quot;&amp;gt;From a single connected platform that also integrates with other customer-facing platforms, to a single view of the customer in a big data marketing repository, to completely eliminating much of the complexity that has previously held marketers back, the latest version of Sitecore makes customer experience highly achievable. Learn how the latest version of Sitecore gives marketers the complete data, integrated tools, and automation capabilities to engage customers throughout an iterative lifecycle &amp;amp;ndash; the technology foundation absolutely necessary to win customers for life.&amp;lt;/p&amp;gt;\n&amp;lt;p&amp;gt;For further information, please go to the &amp;lt;a href=\&quot;https://doc.sitecore.net/\&quot; target=\&quot;_blank\&quot; title=\&quot;Sitecore Documentation site\&quot;&amp;gt;Sitecore Documentation site&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;\r&quot;,&#xA;      &quot;editable&quot;: &quot;&amp;lt;input id='fld_110D559FDEA542EA9C1C8A5DF7E70EF9_A60ACD61A6DB41828329C957982CEC74_en_1_38ea58d9bd7f4a73b43127ecce83b8f7_16' class='scFieldValue' name='fld_110D559FDEA542EA9C1C8A5DF7E70EF9_A60ACD61A6DB41828329C957982CEC74_en_1_38ea58d9bd7f4a73b43127ecce83b8f7_16' type='hidden' value=\&quot;&amp;amp;lt;p style=&amp;amp;quot;line-height: 22px;&amp;amp;quot;&amp;amp;gt;From a single connected platform that also integrates with other customer-facing platforms, to a single view of the customer in a big data marketing repository, to completely eliminating much of the complexity that has previously held marketers back, the latest version of Sitecore makes customer experience highly achievable. Learn how the latest version of Sitecore gives marketers the complete data, integrated tools, and automation capabilities to engage customers throughout an iterative lifecycle &amp;amp;amp;ndash; the technology foundation absolutely necessary to win customers for life.&amp;amp;lt;/p&amp;amp;gt;\n&amp;amp;lt;p&amp;amp;gt;For further information, please go to the &amp;amp;lt;a href=&amp;amp;quot;https://doc.sitecore.net/&amp;amp;quot; target=&amp;amp;quot;_blank&amp;amp;quot; title=&amp;amp;quot;Sitecore Documentation site&amp;amp;quot;&amp;amp;gt;Sitecore Documentation site&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;/p&amp;amp;gt;\r\&quot; /&amp;gt;&amp;lt;span class=\&quot;scChromeData\&quot;&amp;gt;{\&quot;commands\&quot;:[{\&quot;click\&quot;:\&quot;chrome:field:editcontrol({command:\\\&quot;webedit:edithtml\\\&quot;})\&quot;,\&quot;header\&quot;:\&quot;Edit Text\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/pencil.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/pencil_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Edit the text\&quot;,\&quot;type\&quot;:null},{\&quot;click\&quot;:\&quot;chrome:field:execute({command:\\\&quot;bold\\\&quot;, userInterface:true, value:true})\&quot;,\&quot;header\&quot;:\&quot;\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/font_style_bold.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/font_style_bold_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Bold\&quot;,\&quot;type\&quot;:null},{\&quot;click\&quot;:\&quot;chrome:field:execute({command:\\\&quot;Italic\\\&quot;, userInterface:true, value:true})\&quot;,\&quot;header\&quot;:\&quot;\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/font_style_italics.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/font_style_italics_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Italic\&quot;,\&quot;type\&quot;:null},{\&quot;click\&quot;:\&quot;chrome:field:execute({command:\\\&quot;Underline\\\&quot;, userInterface:true, value:true})\&quot;,\&quot;header\&quot;:\&quot;\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/font_style_underline.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/font_style_underline_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Underline\&quot;,\&quot;type\&quot;:null},{\&quot;click\&quot;:\&quot;chrome:field:insertexternallink\&quot;,\&quot;header\&quot;:\&quot;\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/earth_link.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/earth_link_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Insert an external link into the text field.\&quot;,\&quot;type\&quot;:null},{\&quot;click\&quot;:\&quot;chrome:field:insertlink\&quot;,\&quot;header\&quot;:\&quot;\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/link.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/link_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Insert a link into the text field.\&quot;,\&quot;type\&quot;:null},{\&quot;click\&quot;:\&quot;chrome:field:removelink\&quot;,\&quot;header\&quot;:\&quot;\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/link_broken.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/link_broken_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Remove link.\&quot;,\&quot;type\&quot;:null},{\&quot;click\&quot;:\&quot;chrome:field:insertimage\&quot;,\&quot;header\&quot;:\&quot;Insert image\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/photo_landscape.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/photo_landscape_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Insert an image into the text field.\&quot;,\&quot;type\&quot;:null},{\&quot;click\&quot;:\&quot;chrome:common:edititem({command:\\\&quot;webedit:open\\\&quot;})\&quot;,\&quot;header\&quot;:\&quot;Edit the related item\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/cubes.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/cubes_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Edit the related item in the Content Editor.\&quot;,\&quot;type\&quot;:\&quot;common\&quot;},{\&quot;click\&quot;:\&quot;chrome:rendering:personalize({command:\\\&quot;webedit:personalize\\\&quot;})\&quot;,\&quot;header\&quot;:\&quot;Personalize\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/users_family.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/users_family_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Create or edit personalization for this component.\&quot;,\&quot;type\&quot;:\&quot;sticky\&quot;}],\&quot;contextItemUri\&quot;:\&quot;sitecore://master/{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}?lang=en&amp;amp;ver=1\&quot;,\&quot;custom\&quot;:{},\&quot;displayName\&quot;:\&quot;Text\&quot;,\&quot;expandedDisplayName\&quot;:\&quot;Please enter text of the item here.\&quot;}&amp;lt;/span&amp;gt;&amp;lt;span scFieldType=\&quot;rich text\&quot; scDefaultText=\&quot;[No text in field]\&quot; contenteditable=\&quot;true\&quot; class=\&quot;scWebEditInput\&quot; id=\&quot;fld_110D559FDEA542EA9C1C8A5DF7E70EF9_A60ACD61A6DB41828329C957982CEC74_en_1_38ea58d9bd7f4a73b43127ecce83b8f7_16_edit\&quot;&amp;gt;&amp;lt;p style=\&quot;line-height: 22px;\&quot;&amp;gt;From a single connected platform that also integrates with other customer-facing platforms, to a single view of the customer in a big data marketing repository, to completely eliminating much of the complexity that has previously held marketers back, the latest version of Sitecore makes customer experience highly achievable. Learn how the latest version of Sitecore gives marketers the complete data, integrated tools, and automation capabilities to engage customers throughout an iterative lifecycle &amp;amp;ndash; the technology foundation absolutely necessary to win customers for life.&amp;lt;/p&amp;gt;\n&amp;lt;p&amp;gt;For further information, please go to the &amp;lt;a href=\&quot;https://doc.sitecore.net/\&quot; target=\&quot;_blank\&quot; title=\&quot;Sitecore Documentation site\&quot;&amp;gt;Sitecore Documentation site&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;\r&amp;lt;/span&amp;gt;&quot;&#xA;    },&#xA;    &quot;Title&quot;: {&#xA;      &quot;value&quot;: &quot;Sitecore Experience Platform&quot;,&#xA;      &quot;editable&quot;: &quot;&amp;lt;input id='fld_110D559FDEA542EA9C1C8A5DF7E70EF9_755773843C9745DAA84781B00500E250_en_1_38ea58d9bd7f4a73b43127ecce83b8f7_17' class='scFieldValue' name='fld_110D559FDEA542EA9C1C8A5DF7E70EF9_755773843C9745DAA84781B00500E250_en_1_38ea58d9bd7f4a73b43127ecce83b8f7_17' type='hidden' value=\&quot;Sitecore Experience Platform\&quot; /&amp;gt;&amp;lt;span class=\&quot;scChromeData\&quot;&amp;gt;{\&quot;commands\&quot;:[{\&quot;click\&quot;:\&quot;chrome:common:edititem({command:\\\&quot;webedit:open\\\&quot;})\&quot;,\&quot;header\&quot;:\&quot;Edit the related item\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/cubes.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/cubes_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Edit the related item in the Content Editor.\&quot;,\&quot;type\&quot;:\&quot;common\&quot;},{\&quot;click\&quot;:\&quot;chrome:rendering:personalize({command:\\\&quot;webedit:personalize\\\&quot;})\&quot;,\&quot;header\&quot;:\&quot;Personalize\&quot;,\&quot;icon\&quot;:\&quot;/temp/iconcache/office/16x16/users_family.png\&quot;,\&quot;disabledIcon\&quot;:\&quot;/temp/users_family_disabled16x16.png\&quot;,\&quot;isDivider\&quot;:false,\&quot;tooltip\&quot;:\&quot;Create or edit personalization for this component.\&quot;,\&quot;type\&quot;:\&quot;sticky\&quot;}],\&quot;contextItemUri\&quot;:\&quot;sitecore://master/{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}?lang=en&amp;amp;ver=1\&quot;,\&quot;custom\&quot;:{},\&quot;displayName\&quot;:\&quot;Title\&quot;,\&quot;expandedDisplayName\&quot;:\&quot;Please enter title of the item here.\&quot;}&amp;lt;/span&amp;gt;&amp;lt;span id=\&quot;fld_110D559FDEA542EA9C1C8A5DF7E70EF9_755773843C9745DAA84781B00500E250_en_1_38ea58d9bd7f4a73b43127ecce83b8f7_17_edit\&quot; sc_parameters=\&quot;prevent-line-break=true\&quot; contenteditable=\&quot;true\&quot; class=\&quot;scWebEditInput\&quot; scFieldType=\&quot;single-line text\&quot; scDefaultText=\&quot;[No text in field]\&quot;&amp;gt;Sitecore Experience Platform&amp;lt;/span&amp;gt;&quot;&#xA;    }&#xA;  },&#xA;  &quot;databaseName&quot;: &quot;master&quot;,&#xA;  &quot;deviceId&quot;: &quot;fe5d7fdf-89c0-4d99-9aa3-b5fbd009c9f3&quot;,&#xA;  &quot;itemId&quot;: &quot;110d559f-dea5-42ea-9c1c-8a5df7e70ef9&quot;,&#xA;  &quot;itemLanguage&quot;: &quot;en&quot;,&#xA;  &quot;itemVersion&quot;: 1,&#xA;  &quot;layoutId&quot;: &quot;14030e9f-ce92-49c6-ad87-7d49b50e42ea&quot;,&#xA;  &quot;templateId&quot;: &quot;76036f5e-cbce-46d1-af0a-4143f9b557aa&quot;,&#xA;  &quot;templateName&quot;: &quot;Sample Item&quot;,&#xA;  &quot;placeholders&quot;: {}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MIFDo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MIFDo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is missing in the sample application , why the body content not rendering.&lt;/p&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="2311" LastEditDate="2019-01-30T08:46:53.590" LastActivityDate="2019-01-30T12:41:41.570" Title="Sitecore jss angular sample application having empty body" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16323" PostTypeId="1" CreationDate="2019-01-30T09:20:51.747" Score="1" ViewCount="389" Body="&lt;p&gt;What is the significance of having core database in CD Environment and which are all tables  being used from CD Environment? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we really need core DB for the below scenario? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sites are only marketing sites, no login is required and no tracking of anonymous visitor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/core-database.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/core-database.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the above link ,&lt;code&gt;core&lt;/code&gt; db handles personal data and this is something is not required in my scenario. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/5390&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/5390&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above forum  states if at all if we use membership provider for live site then we can share &lt;code&gt;core&lt;/code&gt; db . And i understand we have set of defined configuration needed to set up each server role. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But my question is if we are using sitecore for the  static site creation for which the analytics tracking and login are not needed then do we still need this &lt;code&gt;core&lt;/code&gt; database? &lt;/p&gt;&#xA;" OwnerUserId="2384" LastEditorUserId="5096" LastEditDate="2019-05-27T06:14:09.813" LastActivityDate="2019-05-27T06:14:09.813" Title="Why is it important to have Core DB in Content Delivery Environment if i have static content sites?" Tags="|sitecore-client|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16324" PostTypeId="1" AcceptedAnswerId="16325" CreationDate="2019-01-30T09:29:04.207" Score="4" ViewCount="462" Body="&lt;p&gt;We noticed that our CD environment gave different results from the index compared to the CM environment. We did some more checks and found that the index on CD was also not updating anymore. It did work before. We also noticed it's not all the indexes that have this issue, only our SXA web index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We did have a deploy but nothing changed to the index configuration - which is rather default actually. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had quite some issues with indexes before, but not this. We also can't reproduce it on other environments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After rebuilding the affected index(es), the issue was fixed. But I would like to know what is happening as this might occur again.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-01-30T10:18:08.430" LastActivityDate="2019-01-30T10:18:08.430" Title="My index on Content Delivery does not match with CM and is not updating anymore on Azure PAAS - Sitecore 9.0.2" Tags="|sxa|azure-search|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16325" PostTypeId="2" ParentId="16324" CreationDate="2019-01-30T09:29:04.207" Score="6" Body="&lt;p&gt;I found out that this behavior is related to the introduction of SwitchOnRebuild for Azure Search in Sitecore 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As from that version, Sitecore has this feature, and it is turned on by default. Which is nice of course. To verify, check the indexes on your Azure Search app and you will see index names with &lt;code&gt;_secondary&lt;/code&gt; after rebuilds. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To know which actual index to use, Sitecore keeps data in the &lt;code&gt;Properties&lt;/code&gt; table of the &lt;code&gt;Core&lt;/code&gt; database. After an index is rebuild, the apps change their value and switch indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But.. what if an app is not started? Or, like in our case, your staging slot..&#xA;In that case the app/slot is not aware of the index switch and will start using old values that might be wrong. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in my case I did perform a rebuild. Deployed to my staging slot (which was stopped), swapped, and ..  had the issue. The (new) CD environment was not aware of the index switch and was looking at the &quot;other&quot; version for all indexes that were rebuild (and not for the others).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue is fixed in Sitecore 9.1 (is mentioned in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/91/Sitecore%20Experience%20Platform%2091%20Initial%20Release/Release%20Notes&quot; rel=&quot;noreferrer&quot;&gt;release notes&lt;/a&gt; with reference number 229625). &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-01-30T09:29:04.207" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16326" PostTypeId="2" ParentId="16323" CreationDate="2019-01-30T09:57:15.437" Score="4" Body="&lt;p&gt;You haven't specified version of Sitecore but as of Sitecore 9.1, ​​The Content Delivery server role does not require the Core database when the Sitecore security membership provider is not used.​​&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As specified in release notes for this version -&gt; &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/91/Sitecore%20Experience%20Platform%2091%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/91/Sitecore%20Experience%20Platform%2091%20Initial%20Release/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-01-30T09:57:15.437" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16327" PostTypeId="1" CreationDate="2019-01-30T11:32:27.467" Score="4" ViewCount="776" Body="&lt;p&gt;One of the key benefits I can see from moving to JSS is the way developers can work with the different tools. In particular the lure of Hot Module Replacement (HMR) adds such a lot of positives for development speed. Therefore its key we don't lose this capability - building the whole JSS project for every change would not be a good solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a traditional Sitecore setup which relies heavily on &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt;. Examples being configured as follows:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;www.domain.com &amp;lt;= en-ca&lt;/li&gt;&#xA;&lt;li&gt;www.domain.com/fr &amp;lt;= fr-ca&lt;/li&gt;&#xA;&lt;li&gt;www.anotherdomain.com &amp;lt;= en-au&lt;/li&gt;&#xA;&lt;li&gt;www.anotherdomain.com/fr and www.anotherdomain.com/fr-fr shouldn't work&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In the non-jss world we are achieving the &lt;code&gt;/fr&lt;/code&gt; url chunk via config in &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; for the french site of: &lt;code&gt;virtualFolder=&quot;/fr&quot; physicalFolder=&quot;/fr&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When running in headless mode I believe this could be achieved with the configuration of express however how could this be done when doing connected, 'HMR driven development' (&lt;code&gt;jss start:connected&lt;/code&gt;) as this by default always runs &lt;code&gt;localhost:3000&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="443" LastEditorUserId="443" LastEditDate="2019-01-30T11:48:39.817" LastActivityDate="2019-01-30T12:55:56.293" Title="How would you best configure JSS to work with multiple Sitecore &lt;sites&gt;?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16328" PostTypeId="1" AcceptedAnswerId="16333" CreationDate="2019-01-30T11:43:29.217" Score="0" ViewCount="195" Body="&lt;p&gt;We're setting up some Vue components so that they are defined to use Typescript via the lang attribute on the script tag: &lt;code&gt;&amp;lt;script lang=&quot;ts&quot;&amp;gt;&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When running &lt;code&gt;jss start:connected&lt;/code&gt; this all behaves as expected. The problem is visible when running &lt;code&gt;jss build&lt;/code&gt; - the output &lt;code&gt;server.bundle.js&lt;/code&gt; is missing the compiled output of our component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we revert the tag to be the otb &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag we see the output:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cfTUk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cfTUk.png&quot; alt=&quot;output including valid markup&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if we use the &lt;code&gt;lang=&quot;ts&quot;&lt;/code&gt; attribute, the 'Body Rich Text' component is never included in the bundle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why might this be?&lt;/p&gt;&#xA;" OwnerUserId="443" LastActivityDate="2019-01-30T13:57:21.980" Title="Why does 'jss build' with Vue and Typescript miss out our components in the compiled output?" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16329" PostTypeId="2" ParentId="16303" CreationDate="2019-01-30T12:00:52.927" Score="1" Body="&lt;p&gt;Sitecore &lt;code&gt;replacers&lt;/code&gt; are used when publishing content. You can read more about them in the article: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/replacing-data-during-publication-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/replacing-data-during-publication-with-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The configuration you pasted from the vanilla Sitecore config contains only 1 replacer and it's disabled (&lt;code&gt;mode=&quot;off&quot;&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Someone must have enabled it at some point and publish your fields definition. That's why all your &quot;Text&quot; values were replaced with &quot;NewText&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Disable the replacer and republish your site with &lt;code&gt;republish&lt;/code&gt; option selected to make sure all your items in &lt;code&gt;web&lt;/code&gt; database are processed.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-01-30T12:00:52.927" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16330" PostTypeId="1" AcceptedAnswerId="16336" CreationDate="2019-01-30T12:04:15.040" Score="1" ViewCount="2822" Body="&lt;p&gt;getting the below error at Experience editor for Home item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Failed to start Node process. To resolve this: [1] Ensure that Node.js is installed and can be found in one of the PATH directories. Current PATH environment variable is: C:\Program Files\Microsoft MPI\Bin\;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Airtame;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\Anaconda3;C:\Program Files\Anaconda3\Scripts;C:\Program Files\Anaconda3\Library\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps Make sure the Node executable is in one of those directories, or update your PATH. [2] See the InnerException for further details of the cause.&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance.LaunchNodeProcess(ProcessStartInfo startInfo)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance..ctor(String entryPointScript, String projectPath, String[] watchFileExtensions, String commandLineArguments, ILogger nodeOutputLogger, IDictionary`2 environmentVars, Int32 invocationTimeoutMilliseconds, Boolean launchWithDebugging, Int32 debuggingPort, String nodePath)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.Http.HttpNodeInstance..ctor(NodeServicesOptions options, Int32 port)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.NodeServicesOptions.&amp;lt;.ctor&amp;gt;b__3_0()&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.GetOrCreateCurrentNodeInstance()&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExportWithPossibleRetry[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExport[T](String moduleName, String exportedFunctionName, Object[] args)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.Node.NodeRenderEngine.Invoke[T](String moduleName, String functionName, Object[] functionArgs)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.PerformRender(TextWriter writer, IRenderEngine renderEngine, String moduleName, String functionName, Object[] functionArgs)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;Inner Exception: The system cannot find the file specified&#xA;   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)&#xA;   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance.LaunchNodeProcess(ProcessStartInfo startInfo)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5FSMU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5FSMU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="319" LastEditDate="2019-01-30T13:34:15.680" LastActivityDate="2019-01-30T13:34:15.680" Title="Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Failed to start Node process" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16331" PostTypeId="2" ParentId="16322" CreationDate="2019-01-30T12:41:41.570" Score="3" Body="&lt;p&gt;Based on the error message &lt;code&gt;Placeholder 'jss-main' was not found in the current rendering data&lt;/code&gt; and the data you're showing along with that error, it looks like your requests are not resolving to the correct &lt;code&gt;&amp;lt;site /&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed in the Experience Editor screenshot that you're browsing to &lt;code&gt;sc90.local&lt;/code&gt; but your JSS &lt;code&gt;&amp;lt;site /&amp;gt;&lt;/code&gt; definition &lt;code&gt;hostName&lt;/code&gt; is set to &lt;code&gt;fresh-angular.dev.local&lt;/code&gt;. That is the URL/host you need to browse to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, for connected mode, be sure that the &lt;code&gt;layoutServiceHost&lt;/code&gt; value in the &lt;code&gt;scjssconfig.json&lt;/code&gt; file in your JSS app matches the host name of your site definition. e.g. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;sitecore&quot;: {&#xA;    // other values omitted for brevity&#xA;    &quot;layoutServiceHost&quot;: &quot;http://fresh-angular.dev.local&quot;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-01-30T12:41:41.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16332" PostTypeId="2" ParentId="16327" CreationDate="2019-01-30T12:55:56.293" Score="4" Body="&lt;p&gt;When running in connected mode, there is an Express server that runs next to your JSS app (by default at &lt;code&gt;localhost:3000&lt;/code&gt;). However, your app is making requests to your Sitecore instance via whatever URL you've defined in the &lt;code&gt;layoutServiceHost&lt;/code&gt; property in &lt;code&gt;scjssconfig.json&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That means you can modify the &lt;code&gt;layoutServiceHost&lt;/code&gt; property to use whatever site hostName is appropriate for the &lt;code&gt;&amp;lt;site /&amp;gt;&lt;/code&gt; nodes you have defined in your Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to modify the &lt;code&gt;layoutServiceHost&lt;/code&gt; value at runtime, for instance to reflect some URL fragment or parameter, then you can do so wherever you make a call to &lt;code&gt;dataApi.fetchRouteData&lt;/code&gt; (or &quot;globally&quot; in your app wherever you resolve routes). The JSS sample apps make that call in the &lt;code&gt;RouteHandler&lt;/code&gt; component (in React and Vue), and you'll see in the &lt;code&gt;getRouteData&lt;/code&gt; method of that component that it sets the &lt;code&gt;layoutServiceConfig.host&lt;/code&gt; property to the &lt;code&gt;config.sitecoreApiHost&lt;/code&gt; value. That value, by default, comes from &lt;code&gt;scjssconfig.json&lt;/code&gt;, but as mentioned it can come from anywhere or be modified prior to usage.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-01-30T12:55:56.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16333" PostTypeId="2" ParentId="16328" CreationDate="2019-01-30T13:07:59.603" Score="1" Body="&lt;p&gt;You mentioned that it's working in Connected mode, so I'll assume you add a &lt;code&gt;ts-loader&lt;/code&gt; config rule to the webpack config declared in &lt;code&gt;/vue.config.js&lt;/code&gt; via the &lt;code&gt;configureWebpack&lt;/code&gt; method, e.g. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;config.module.rules.push({&#xA;  test: /\.(ts)?$/,&#xA;  loader: 'ts-loader',&#xA;  exclude: /node_modules/,&#xA;  options: {&#xA;    appendTsSuffixTo: [/\.vue$/],&#xA;  }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, for the server bundle you'll likely need to make a minor change to the server webpack config as well &lt;code&gt;/server/server.vue.config.js&lt;/code&gt;. For reasons that are explained in the comments of that file, the JSS sample adds a &lt;code&gt;null-loader&lt;/code&gt; for &quot;not&quot; various file extensions to workaround a conflict with the Vue CLI usage of &lt;code&gt;url-loader&lt;/code&gt; for inline assets.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;config.module.rules.unshift({&#xA;  test: /\.(?!js|vue|html|graphql|gql|png|jpe?g|gif|webp|svg|woff2?|eot|ttf|otf$)[^.]+$/,&#xA;  use: {&#xA;    loader: 'null-loader',&#xA;  },&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would suggest adding &lt;code&gt;ts&lt;/code&gt; to the list of file extensions for that loader and trying your build again. Hopefully that fixes the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it does, please feel free to open an issue on the JSS GitHub repo to have the &lt;code&gt;ts&lt;/code&gt; extension added to the default config. I don't see a reason it can't be there by default. Or better yet, feel free to submit a PR with the change :) &lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2019-01-30T13:33:41.647" LastActivityDate="2019-01-30T13:33:41.647" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16334" PostTypeId="1" AcceptedAnswerId="16335" CreationDate="2019-01-30T13:12:57.070" Score="1" ViewCount="95" Body="&lt;p&gt;Is there a possibility to have page in SXA without any default styling (which is coming from SXA Theme)?&lt;/p&gt;&#xA;" OwnerUserId="2690" LastActivityDate="2019-01-30T13:21:13.747" Title="Can we have a page in SXA site without Theme" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16335" PostTypeId="2" ParentId="16334" CreationDate="2019-01-30T13:21:13.747" Score="2" Body="&lt;p&gt;Yes, to do that you would simply change the layout on the pages presentation details from the SXA &lt;code&gt;MVC Layout&lt;/code&gt; to a custom layout, then you would control all your CSS etc.. in there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OUjBT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OUjBT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-01-30T13:21:13.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16336" PostTypeId="2" ParentId="16330" CreationDate="2019-01-30T13:26:49.487" Score="4" Body="&lt;p&gt;It appears that the path to your &lt;code&gt;node.exe&lt;/code&gt; can't be found in the system/environment &lt;code&gt;PATH&lt;/code&gt; variable. You need to ensure that the path to wherever you installed Node.js is added to the &lt;code&gt;PATH&lt;/code&gt; variable. For instance, if Node is installed at &lt;code&gt;c:\program files\nodejs&lt;/code&gt;, then that value needs to be added to the system/environment &lt;code&gt;PATH&lt;/code&gt; variable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/27864040/fixing-npm-path-in-windows-8-and-10&quot;&gt;https://stackoverflow.com/questions/27864040/fixing-npm-path-in-windows-8-and-10&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;If you're not able to edit/modify the &lt;code&gt;PATH&lt;/code&gt; variable on the Sitecore server, you can instruct the JSS Node engine to look for &lt;code&gt;node.exe&lt;/code&gt; at a specific location. By default, the JSS Node engine will use your &lt;code&gt;PATH&lt;/code&gt; variable. That setting is declared in this file on a Sitecore instance (with JSS installed): &lt;code&gt;App_Config/Sitecore/JavaScriptServices/Sitecore.JavaScriptServices.ViewEngine.Node.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll see the &lt;code&gt;/configuration/sitecore/javaScriptServices/renderEngines/renderEngine/instance/NodePath&lt;/code&gt; value is &lt;code&gt;node&lt;/code&gt; by default. You can directly modify this setting to an absolute file path on the server. Or better, patch the config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;javaScriptServices&amp;gt;&#xA;      &amp;lt;renderEngines&amp;gt;&#xA;        &amp;lt;renderEngine name=&quot;nodejs&quot;&amp;gt;&#xA;          &amp;lt;instance id=&quot;defaults&quot;&amp;gt;&#xA;            &amp;lt;NodePath&amp;gt;c:\path\to\node&amp;lt;/NodePath&amp;gt;&#xA;          &amp;lt;/instance&amp;gt;&#xA;        &amp;lt;/renderEngine&amp;gt;&#xA;      &amp;lt;/renderEngines&amp;gt;&#xA;    &amp;lt;/javaScriptServices&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should only modify this config setting if you're unable to change the &lt;code&gt;PATH&lt;/code&gt; variable or if you have a very specific reason to do so.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-01-30T13:26:49.487" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16337" PostTypeId="1" CreationDate="2019-01-30T13:33:04.383" Score="1" ViewCount="515" Body="&lt;p&gt;I am trying to create a footer component in SXA 1.8, Sitecore 9.0.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The current solution setup consists of one tenant, one shared site ('Site A') and multiple regular (not shared) sites (let's call one of them 'Site B'). Site A is going to be supplied as a base for all the sites of Site B type. All the other sites should be created using page designs created in Site A, but nobody from authors or designers of Site B will not be able to edit anything in Site A.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It does not seem to be possible to create the partial design for header/footer in Site A and then to share it from there to be able to edit it inside Site B. How this can be achieved? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The approach I tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;All page designs are stored under Site A and are shared across all the sites.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There are two partial designs created for header and footer under Site A, which are used on each of the page designs.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I created a footer item in settings (/Settings/Footer), and I added a branch so it will be created automatically in this location for any new site while the navigation module will be added.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;On the footer partial design in Site A, I wanted to add a datasource as /Settings/Footer item with SXA $site token: query:$site/Settings/Footer. It throws an error but the concept works - when I open a page from Site B in Experience Editor I can see that my view is appearing but I am not able to edit the item content in EE. This is where this concept fails.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is there an easy way to be able to edit the component content on Site B while the Partial and Page designs are stored under shared site A? &lt;/p&gt;&#xA;" OwnerUserId="1979" LastEditorUserId="237" LastEditDate="2019-01-30T13:55:55.063" LastActivityDate="2019-01-30T13:55:55.063" Title="Creating footer and header components in SXA using Page and Partial Designs from Shared site" Tags="|sxa|experience-editor|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16338" PostTypeId="2" ParentId="16328" CreationDate="2019-01-30T13:57:21.980" Score="0" Body="&lt;p&gt;If anyone is interested in the fix, and how to get TypeScript working with Vue, you need:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The updated suggested by Adam (now raised as a PR)&lt;/li&gt;&#xA;&lt;li&gt;The following 2 scripts in vue.config.js&lt;/li&gt;&#xA;&lt;li&gt;Install &lt;code&gt;ts-loader&lt;/code&gt; and &lt;code&gt;typescript&lt;/code&gt; via npm&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The scripts are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;config.module.rules.push({&#xA;    test: /\.(ts|tsx)?$/,&#xA;    loader: 'ts-loader',&#xA;    exclude: /node_modules/,&#xA;    options: {&#xA;      appendTsSuffixTo: [/\.vue$/],&#xA;    }&#xA;  });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  config.resolve.extensions.push('.ts');&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="443" LastActivityDate="2019-01-30T13:57:21.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16339" PostTypeId="1" CreationDate="2019-01-30T14:28:29.920" Score="-1" ViewCount="536" Body="&lt;p&gt;There is a problem. Sitecore site with JSS frontend. In experience editor everything is fine, but in normal mode pop up mistake: Placeholder 'header' was not found in the current rendering data, Placeholder 'main' was not found in the current rendering data. What can be a problem ? Thank you.&lt;/p&gt;&#xA;" OwnerUserId="4979" LastActivityDate="2019-01-30T14:52:21.847" Title="Sitecore cannot find placeholders for JSS" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16340" PostTypeId="2" ParentId="16318" CreationDate="2019-01-30T14:37:50.430" Score="2" Body="&lt;p&gt;JSS has a REST Dictionary Service for labels, button texts, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As of JSS 11, the URL format is &lt;code&gt;/sitecore/api/jss/dictionary/&amp;lt;app&amp;gt;/&amp;lt;language&amp;gt;/&lt;/code&gt; (e.g.: &lt;a href=&quot;http://JssReactWeb/sitecore/api/jss/dictionary/JssReactWeb/es-MX/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://JssReactWeb/sitecore/api/jss/dictionary/JssReactWeb/es-MX/&lt;/a&gt; ).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can use this service in your code directly to get the translated labels for the current language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the official documentation for more information: &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/services/dictionary-service&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/services/dictionary-service&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2019-01-30T14:37:50.430" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16341" PostTypeId="2" ParentId="16339" CreationDate="2019-01-30T14:52:21.847" Score="3" Body="&lt;p&gt;Problem was in not full published jss files from master database to web, after full republishing everything became fine. &lt;/p&gt;&#xA;" OwnerUserId="4979" LastActivityDate="2019-01-30T14:52:21.847" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16342" PostTypeId="2" ParentId="16321" CreationDate="2019-01-30T15:05:29.280" Score="2" Body="&lt;p&gt;I believe your redirect is incorrect. From what I can tell, your rewrite rule above is just forcing HTTPS if somebody accesses the sitecore url, it isn't actually blocking it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My memory is fuzzy on the regex stuff for rewrites, but it looks like this is looking for an HTTP call only (HTTPS pattern is OFF). Since your first rule matches against all URLs with HTTPS pattern off, this rule will never fire.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You probably want to remove the HTTPS condition so that it gets run against all requests matching that URL format.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-01-30T15:05:29.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16343" PostTypeId="1" AcceptedAnswerId="16347" CreationDate="2019-01-30T16:38:52.397" Score="4" ViewCount="4755" Body="&lt;p&gt;This is a follow up on this question &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11686/experience-analytics-fails-on-sitecore-9-0-1&quot;&gt;Experience Analytics fails on Sitecore 9.0.1&lt;/a&gt; that does not appear to have a solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue at hand is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.InvalidOperationException&#xA;  Message: The certificate was not found.&#xA;  Source: Sitecore.Xdb.Common.Web&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I find several articles articles on troubleshooting that have not really assisted me. In the articles, it appears that other developers like myself are spending hours troubleshooting this and probably also like me are taking guesses as to why it fails. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have a reliable set of troubleshooting steps for this issue? Or a reliable way of setting this up?&lt;/p&gt;&#xA;" OwnerUserId="2068" LastEditorUserId="2068" LastEditDate="2019-01-30T17:09:32.947" LastActivityDate="2020-12-10T12:15:06.113" Title="The certificate was not found. Source: Sitecore.Xdb.Common.Web" Tags="|xdb|certificate|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16344" PostTypeId="1" AcceptedAnswerId="19215" CreationDate="2019-01-30T16:48:34.677" Score="1" ViewCount="994" Body="&lt;p&gt;looking for Azure experts advice!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have about 1M &lt;code&gt;AuthenticationExceptions&lt;/code&gt; while connecting to solr in the last few hours for almost non-active Sitecore instance...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked all the apps, they all have &lt;code&gt;&amp;lt;add key=&quot;AllowInvalidClientCertificates&quot; value=&quot;True&quot; /&amp;gt;&lt;/code&gt;, but this exception still popups.&#xA;Looks like its having troubles connecting to solr: &lt;code&gt;System.Security.Authentication.AuthenticationException at Sitecore.Xdb.Collection.Search.Solr.SolrClient+&amp;lt;SendGetRequestAsync&amp;gt;d__4.MoveNext&lt;/code&gt;&#xA;Solr is running on a VM behind HTTPS, with self-signed certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also in the custom properties of the exception it says &lt;strong&gt;Application: XConnect&lt;/strong&gt;. Checked those apps too, &lt;code&gt;AllowInvalidClientCertificates&lt;/code&gt; also true there...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm running out of ideas where to look about... Any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VAGM4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VAGM4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4407" LastActivityDate="2019-06-06T17:57:15.447" Title="AuthenticationException on Azure with Solr and self-signed certificates" Tags="|solr|azure|xconnect|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16345" PostTypeId="2" ParentId="1222" CreationDate="2019-01-30T16:59:04.557" Score="1" Body="&lt;p&gt;Im doing this to optimize CI/CD deployments of TDS packages. I wanted to avoid re-deployment of this packages every time, when I really knew there was no change on the content/templates etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To achieve what you want you need to create a Powershell script (or on any other scripting language) that generates CRC32 hash number based on the content of the .update package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only tool that I found that was able to get me the hash based on content and without considering the file attributes like created date, etc, was 7zip.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like in this example I'm running the command with a Sample.update file:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/A8tJY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A8tJY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now every time you build your update packages if you get the same hash you know that the package hasn't change. So every time you make a release store the files that you deployed somewhere, and on any subsequent release, before deploying, compare the files. If there is a difference you know that you have candidates for deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added more details and a sample script on my blog: &lt;a href=&quot;https://www.raulruizstack.com/2019/01/30/deployments-of-sitecore-packages-that-didnt-change-with-crc32/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.raulruizstack.com/2019/01/30/deployments-of-sitecore-packages-that-didnt-change-with-crc32/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4875" LastActivityDate="2019-01-30T16:59:04.557" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16347" PostTypeId="2" ParentId="16343" CreationDate="2019-01-30T17:52:15.250" Score="8" Body="&lt;p&gt;Check the following possible areas to figure this out&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Validate that thumbprint from xconnect.collection.certificate is correct. Note that thumbprint value is case-sensitive. To get correct value you can open powershell and run command like: &lt;code&gt;Get-ChildItem -Path Cert:\LocalMachine\My\ -DnsName &amp;quot;your.client.cert.dns*&amp;quot;&lt;/code&gt;. Use value from the output if it differs from value in xconnect.collection.certificate.&lt;/li&gt;&#xA;&lt;li&gt;Make sure thumbprint on the key xconnect.collection.certificate in connection string config file matches with the  thumbprint found in corresponding xconnect site App config(C:\inetpub\wwwroot\site.xconnect\App_Config).&lt;/li&gt;&#xA;&lt;li&gt;Verify the thumbprint of xconnect client matches with the thumbprint provided in connection string of the site and app config(path provided in step 1) of xConnect site.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TEYBG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TEYBG.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;4. Verfiy that the xConnect site works and navigating to xConnect site using https does not shw any error.(valid https certificate is shown?).&#xA;5. Verify if connection string(connectionstring.config) key xconnect.collection and all other xconnect related keys are pointed to correct xConnect site.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="3822" LastEditDate="2020-12-10T12:15:06.113" LastActivityDate="2020-12-10T12:15:06.113" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16348" PostTypeId="1" AcceptedAnswerId="16668" CreationDate="2019-01-30T17:52:54.937" Score="0" ViewCount="78" Body="&lt;p&gt;I'm able to create modules and duplicate renderings without any problems when on my local Sitecore 9.1 / SXA 1.8 build, but whenever I am facing issues when trying to do the same process when using sites deployed to Azure (I mention this detail because it's the only difference I can think of between the two).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the video I follow along with to achieve this process: &lt;a href=&quot;https://www.youtube.com/watch?v=PEYJxitzNLg&amp;amp;&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=PEYJxitzNLg&amp;amp;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I initially tried duplicating the promo rendering on a Sitecore 8.2 / SXA 1.7.1 instance, and noticed that the following folder was empty.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Templates &gt; Branches &gt; Feature &gt; ModuleName&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The following folder is also missing &lt;strong&gt;&lt;em&gt;&quot;Add Available Renderings&quot;&lt;/em&gt;&lt;/strong&gt; and a &lt;strong&gt;&lt;em&gt;&quot;Rendering Variants&quot;&lt;/em&gt;&lt;/strong&gt; folder&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System &gt; Settings &gt; Feature &gt; ModuleName &gt; ModuleName Site Setup&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Everything else seems to have duplicated correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried restarting IIS / clearing the Sitecore cache but the issue still occurred.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;I decided the above issue was probably due to us using an older build of Sitecore and SXA, and because it wasn't a fresh install, there may be some underlying issues. So today we install a brand new, fresh 9.1 / SXA 1.8 install which sits on Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The exact issue persists, I've deleted the module and component and restarted from scratch, but I get the same results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To ensure I was doing it correctly, straight after that I completed the exact same process on my local 9.1 / SXA 1.8 instance, and that worked perfectly, everything duplicated as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have no idea where to look in this situation, if anybody could share any information at all it would be hugely appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Jack&lt;/p&gt;&#xA;" OwnerUserId="4487" LastEditorUserId="73" LastEditDate="2019-02-11T15:33:00.040" LastActivityDate="2019-03-13T16:01:20.267" Title="Missing Files When Duplicating Rendering" Tags="|sxa|presentation|components|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16349" PostTypeId="2" ParentId="16344" CreationDate="2019-01-30T19:38:46.193" Score="2" Body="&lt;p&gt;Solr will need a valid certificate to run.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure that https is enabled and properly set.  You can check this in the solr.in.cmd file located in the solr\bin folder.  Verify the following settings&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;REM Enables HTTPS. It is implictly true if you set SOLR_SSL_KEY_STORE. Use this config&#xA;REM to enable https module with custom jetty configuration.&#xA;set SOLR_SSL_ENABLED=true&#xA;REM Uncomment to set SSL-related system properties&#xA;REM Be sure to update the paths to the correct keystore for your environment&#xA;set SOLR_SSL_KEY_STORE=&#xA;set SOLR_SSL_KEY_STORE_PASSWORD=&#xA;set SOLR_SSL_KEY_STORE_TYPE=&#xA;set SOLR_SSL_TRUST_STORE=&#xA;set SOLR_SSL_TRUST_STORE_PASSWORD=&#xA;set SOLR_SSL_TRUST_STORE_TYPE=&#xA;set SOLR_SSL_NEED_CLIENT_AUTH=&#xA;set SOLR_SSL_WANT_CLIENT_AUTH=&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you need to generate a certificate, the following URL was a great help to me&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kamsar.net/index.php/2017/10/Quickly-add-SSL-to-Solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2017/10/Quickly-add-SSL-to-Solr/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can also check the &lt;a href=&quot;https://lucene.apache.org/solr/guide/7_2/enabling-ssl.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;SOLR documentation&lt;/a&gt; as well&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once configured you should be able to browse to your SOLR URL in HTTPS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:  After modifying the SOLR settings you will need to restart your SOLR windows service.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="3235" LastActivityDate="2019-01-30T19:38:46.193" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16350" PostTypeId="1" CreationDate="2019-01-30T20:45:01.183" Score="1" ViewCount="174" Body="&lt;p&gt;I see in the literature that I should be able to add a hyper link to at least the footer of a web form. I have attempted to set one up, but to no avail. Any support would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="4980" LastActivityDate="2022-10-18T00:06:00.760" Title="What are the steps I need to take to add a hyperlink to a web form" Tags="|wffm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16351" PostTypeId="2" ParentId="16315" CreationDate="2019-01-30T21:28:15.813" Score="1" Body="&lt;p&gt;You can configure jss app to use same  namespace, like templates/project/app1 etc. Instead of application name based locations. But you need to share code between this apps for  templates and components (elements you choose to share) .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check default JSS app config for options you can configure. You can share almost everything including content, config, page structure, media.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Drawback is that you share everything of given item type or nothing since this items are in that same place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Consider if this is still 2 apps or just one with different content. &lt;/p&gt;&#xA;" OwnerUserId="4955" LastEditorUserId="4955" LastEditDate="2019-01-30T21:36:57.343" LastActivityDate="2019-01-30T21:36:57.343" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16352" PostTypeId="2" ParentId="14547" CreationDate="2019-01-30T21:50:52.077" Score="1" Body="&lt;p&gt;For some reason, this &quot;bug&quot; was only occurring once I'd used NSSM to create the service, if I install SOLR and start it manually, it works without any problems, so that's what I've resorted to doing in this scenario.&lt;/p&gt;&#xA;" OwnerUserId="4487" LastActivityDate="2019-01-30T21:50:52.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16353" PostTypeId="2" ParentId="16350" CreationDate="2019-01-30T21:55:51.843" Score="1" Body="&lt;p&gt;Good afternoon. You are able to directly write a &quot;href&quot; into the footer as shown in the image. &lt;code&gt;&amp;lt;a href=&quot;https://example.com&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i2h4a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i2h4a.png&quot; alt=&quot;Wffm footer hyperlink&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4974" LastActivityDate="2019-01-30T21:55:51.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16354" PostTypeId="1" AcceptedAnswerId="16370" CreationDate="2019-01-31T00:01:02.843" Score="1" ViewCount="560" Body="&lt;p&gt;Using Sitecore 9.0.1, in a MultiList with Search field with a Source set as&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;StartSearchLocation=/sitecore/content/Parks/Home/Places&amp;amp;Filter=_template:{BCE4E2CA-ACA5-446E-B363-9635B92C7278}|_template:{C025B0A6-E273-4126-9E08-CD6428B3154C}|_template:{F230C330-4B09-46B7-A738-C02343545CD4}`&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We are seeing the standard values template item appear in the Content Editor (the standard values aren't in that list of guids for templates above):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LZZzq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LZZzq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i.e. {BCE4E2CA-ACA5-446E-B363-9635B92C7278} is the 'Experience' template but the standard values are appearing in the Multilist despite having a different ID&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2019-01-31T10:19:54.367" Title="Sitecore MultiList showing Standard Values" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16355" PostTypeId="2" ParentId="15899" CreationDate="2019-01-31T02:27:36.613" Score="0" Body="&lt;p&gt;Wanted to follow back up on this in case someone else runs into this issue. The root cause of this was actually that we had some code in the Global.asax we have not ported out yet. Having the code in global.asax was not the issue. The issue is that if you are going to put code in there that class needs to inherit from &lt;code&gt;Sitecore.Web.Application&lt;/code&gt; not the standard base class. The Sitecore base class holds some key functionality and in the case the key one not getting called was session end processing. Once we updated that all was good. &lt;/p&gt;&#xA;" OwnerUserId="3681" LastActivityDate="2019-01-31T02:27:36.613" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16356" PostTypeId="1" CreationDate="2019-01-31T03:13:39.367" Score="0" ViewCount="199" Body="&lt;p&gt;I would like to maintain my form labels in Dictionary and fetch through Dictionary Service in JSS. I would like to add the labels to a dictionary folder inside the Dictionary node in Sitecore.&#xA;When I do a GET call, my expectation is to get the folder structure along with keys.But in reality, the service is returning a flat structure ignoring the folder names. &#xA;Is there any way to overcome it and return the folder structure?&lt;/p&gt;&#xA;" OwnerUserId="4981" LastActivityDate="2019-01-31T03:23:15.180" Title="Dictionary data structure issue" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16357" PostTypeId="2" ParentId="16356" CreationDate="2019-01-31T03:23:15.180" Score="2" Body="&lt;p&gt;The Sitecore dictionary API is not a hierarchical data structure; the ability to place it into folders is there for author user experience only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need a hierarchical dictionary, you will need to implement your own web API to provide it, for example using Sitecore Services Client or plain ASP.NET Web API. The Sitecore C# dictionary APIs are not hierarchical, but you can use the Sitecore item API to traverse the dictionary definition item hierarchy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because you're not using the dictionary API memoization is not automatically handled. Ensure that you aggressively cache the dictionary data, as it will not scale well if the item hierarchy is queried every time.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-01-31T03:23:15.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16358" PostTypeId="2" ParentId="16163" CreationDate="2019-01-31T04:20:24.810" Score="1" Body="&lt;p&gt;I guess nobody wants to weigh-in on this one, so I'll share my thoughts based on various Sitecore 8 and 9 Commerce . . . a few that have gone through &quot;migrations&quot; of one degree or another. Maybe I've been burned too much by older Sitecore upgrades, but I generally wouldn't bother with in-place upgrades with Commerce as the dependencies are too complex. Have you seen the xConnect upgrade steps from 9.0 update-0 to 9.0 update-2, for example? Check pages 35-50 of the Upgrade-Guide-Sitecore-90-Update-2 to see what I'm talking about. Sitecore's done a great job with the core CMS functionality and upgrades, it's like 20 minutes of work, but the newer additions to the Sitecore ecosystem like xConnect and Commerce are second-class citizens when it comes to attention paid to making smooth upgrades.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd stand-up a fresh install of the Sitecore + Commerce version you want to move to, update your Visual Studio assemblies to match the new version and re-compile your solution, and cross your fingers. Maybe you need the upgrade tooling to process your content items and get them massaged into the updated SQL Server schema of the new version, so you should review the documentation carefully around that, but the general idea is you want to shift into a brand new environment running the fresh/new Sitecore product as much as possible. Coercing an older version of all the moving parts into an upgraded version is asking for trouble. The odds of missing one fine detail or two of the documented upgrade process, or something being insufficiently documented that your specific implementation hinges on, are too high in my opinion.&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2019-01-31T04:20:24.810" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16359" PostTypeId="1" AcceptedAnswerId="16368" CreationDate="2019-01-31T04:27:22.520" Score="1" ViewCount="292" Body="&lt;p&gt;We have multi-step form hosted in sitecore 8.2. As user fills up each step and click on next, our custom pipeline gets invoked. For each steps we have corresponding pipelines. Each pipeline updates the session data  as user progresses.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During performance test, we noticed that if a user clicks the next button exactly at same time the their session data gets overwritten with other user's data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Came across this blog post which talks about Processors being Singlon Lifecycle:&#xA;&lt;a href=&quot;https://ctor.io/be-careful-with-sitecore-pipeline-processors-lifecycle/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ctor.io/be-careful-with-sitecore-pipeline-processors-lifecycle/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why pipelines are designed to be singleton lifecycle? This issue only occurs if more than 1 user happens the click next button exactly at same time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code snippet&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyPipeline&#xA;{&#xA;    public class Initialize&#xA;    {&#xA;        private readOnly ISessionStore _sessionStore;&#xA;&#xA;        public Initialize(ISessionStore sessionStore)&#xA;        {&#xA;            this._sessionStore = sessionStore;&#xA;            Sitecore.Diagnostics.Log.Info(&quot;ctor() has been called&quot;, this);&#xA;        }&#xA;&#xA;        public override void Process(EmployeePipelineArgs args)&#xA;        {&#xA;&#xA;            _sessionStore.SetSessionData(EmployeePipelineArgs);&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;namespace MyPipeline&#xA;{&#xA;    public class SessionTest&#xA;    {&#xA;        private readOnly ISessionStore _sessionStore;&#xA;&#xA;        public LifecycleTest(ISessionStore sessionStore)&#xA;        {&#xA;            this._sessionStore = sessionStore;&#xA;            Sitecore.Diagnostics.Log.Info(&quot;ctor() has been called&quot;, this);&#xA;        }&#xA;&#xA;        public override void Process(CustomPipelineArgs args)&#xA;        {&#xA;            var mySessionData = _sessionStore.GetSessionData()&#xA;            Sitecore.Diagnostics.Log.Info(mySessonData.Name);&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Snippet for SetSessionData&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class SessionStore : ISessionStore&#xA;{&#xA;    private readonly IHttpContextWrapper _httpContext;&#xA;&#xA;    public SessionStore(IHttpContextWrapper httpContext)&#xA;    {&#xA;         _httpContext = httpContext;&#xA;    }&#xA;&#xA;    public override void SetSessionData(data)&#xA;    {&#xA;&#xA;        _httpContext.Current.Session[somekey] = data;&#xA;    }&#xA;}&#xA;&#xA;&#xA;public class HttpContextWrapper : IHttpContextWrapper&#xA;{&#xA;    public HttpRequest Request =&amp;gt;  HttpContext.Current.Request;&#xA;    public HttpResponse Response =&amp;gt; HttpContext.Current.Response;&#xA;    public HttpContext Current =&amp;gt; HttpContext.Current;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Configuration&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;/pipelinetest&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyPipeline.Initialize, MyPipeline&quot; resolve =&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyPipeline.SessionTest, MyPipeline&quot; resolve =&quot;true&quot; /&amp;gt;     &#xA;      &amp;lt;/pipelinetest&amp;gt;&#xA;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="316" LastEditDate="2019-02-04T01:22:05.157" LastActivityDate="2019-02-04T01:22:05.157" Title="Sitecore Pipeline Singleton" Tags="|pipelines|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16360" PostTypeId="1" CreationDate="2019-01-31T05:18:30.833" Score="3" ViewCount="1054" Body="&lt;p&gt;Sitecore 9.1 is already installed on the computer. SitecoreInstallFramework 1.2.1 and 2.0.0 are also installed. I am trying to use SIF 1.2.1 version in order to install Sitecore 9 update 2. I am executing below command:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Import-Module -Name SitecoreInstallFramework -Force -RequiredVersion 1.2.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting below error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module : The following error occurred while loading the extended type data file: Error in TypeData &quot;System.Object&quot;: The member HasMemberPath is already present.&#xA;Error in TypeData &quot;System.Object&quot;: The member HasMemberValue is already present.&#xA;Error in TypeData &quot;System.Object&quot;: The member ExtendWith is already present.&#xA;Error in TypeData &quot;System.Object&quot;: The member HasMember is already present.&#xA;Error in TypeData &quot;System.Object&quot;: The member GetMember is already present.&#xA;Error in TypeData &quot;System.Object&quot;: The member GetMembers is already present.&#xA;Error in TypeData &quot;System.Object&quot;: The member GetMemberNames is already present.&#xA;At line:1 char:1&#xA;+ Import-Module -Name SitecoreInstallFramework -Force -RequiredVersion  ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (:) [Import-Module], RuntimeException&#xA;    + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any inputs? &lt;/p&gt;&#xA;" OwnerUserId="149" LastEditorUserId="1671" LastEditDate="2019-03-14T15:45:30.333" LastActivityDate="2019-03-14T15:45:30.333" Title="Error while installing Sitecore 9 update 2 on the same computer that has a 9.1.0 installation" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16361" PostTypeId="2" ParentId="16360" CreationDate="2019-01-31T05:58:28.427" Score="7" Body="&lt;p&gt;I am able to resolve this issue by following below steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.) Uninstall SIF 1.2.1 &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Uninstall-Module -Name SitecoreInstallFramework -RequiredVersion 1.2.1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2.) Install SIF 1.2.1 Again&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module -Name SitecoreInstallFramework -RequiredVersion 1.2.1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3.) Running a specific version of SIF (1.2.1) to install sitecore 9 update 2. You may have to close powershell and then reopen powershell before running below script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module -Name SitecoreInstallFramework -Force -RequiredVersion 1.2.1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="149" LastEditorUserId="149" LastEditDate="2019-03-14T15:06:56.313" LastActivityDate="2019-03-14T15:06:56.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16363" PostTypeId="1" CreationDate="2019-01-31T07:39:37.477" Score="5" ViewCount="259" Body="&lt;p&gt;In every Sitecore project we end up with several Support Packages.&lt;br&gt;&#xA;In the past (pre 9.x era) we manually installed those on the Sitecore environments (CM, CD).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this is a hell to maintain!&lt;br&gt;&#xA;Every developer needs to be aware of which package was installed where (got documented). And needs to know if that package has to be deployed locally to their development environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We came up with a solution where all support packages are included in our git repository in a separate folder.&lt;br&gt;&#xA;And we add a task to our deployment pipelines - either Octopus or Azure Devops - to unzip those packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this the recommended way to include Support Packages and have them available for an easy deploy?  &lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2019-01-31T18:03:51.507" Title="How do I include Sitecore Support packages in my deployment pipeline?" Tags="|deployment|packages|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16364" PostTypeId="5" CreationDate="2019-01-31T08:39:02.137" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-01-31T08:39:02.137" LastActivityDate="2019-01-31T08:39:02.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16365" PostTypeId="4" CreationDate="2019-01-31T08:39:02.137" Score="0" Body="A headless (or decoupled) site isolates the front-end from the back-end, and delivers content through the back-end using an API. All questions related to this concept in Sitecore environment should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-01-31T18:59:38.210" LastActivityDate="2019-01-31T18:59:38.210" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16366" PostTypeId="1" AcceptedAnswerId="16367" CreationDate="2019-01-31T08:47:06.350" Score="4" ViewCount="1292" Body="&lt;p&gt;Is it possible to mark a page as hidden from search results in SXA 1.8 Sitecore 9.0.2? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a scope defined where the particular page template is allowed but there are exceptions when I would like to forbid a few of the pages from appearing in the search results. Can this be done without changing the scope itself? From Authors perspective ideally this would be just a checkbox on the page, but I am happy to consider other options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the easiest way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="1979" LastActivityDate="2019-01-31T09:06:36.473" Title="Hide a page from search results in SXA" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16367" PostTypeId="2" ParentId="16366" CreationDate="2019-01-31T09:06:36.473" Score="6" Body="&lt;h1&gt;Scope&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The easiest/fastest way is via scope&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aVu9t.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aVu9t.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;but I see you don't want it. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Searchable - modification&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;There is a computed field in SXA named &lt;strong&gt;searchable&lt;/strong&gt;.&#xA;Based on a base template it adds a field to the index of type &lt;strong&gt;bool&lt;/strong&gt;. So later SXA can determine whether an item should be searchable or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could extend it and include an additional check (based on a checkbox)&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;New index field - exclude from search checkbox&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Similar to previous but this doesn't require direct SXA modification but you will have to create your own field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a separate computed field (similar to &lt;code&gt;Searchable&lt;/code&gt;) and store information from your checkbox. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to use it in your scope.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Different template - not Searchable&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;It is not convenient but you could have a separate Page template for excluded pages and make sure that it does not contain &lt;strong&gt;Searchable&lt;/strong&gt; base template&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Summary&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;For single pages, I would use &lt;strong&gt;1st&lt;/strong&gt;. If you want to let people control that I would go with &lt;strong&gt;3rd&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-01-31T09:06:36.473" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16368" PostTypeId="2" ParentId="16359" CreationDate="2019-01-31T09:56:43.367" Score="5" Body="&lt;p&gt;I don't think anyone can answer question &lt;code&gt;Why pipelines are designed to be singleton lifecycle?&lt;/code&gt; except from whoever came with idea of Sitecore pipelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From my understanding, pipelines are used in Sitecore everywhere. In most crucial parts of Sitecore, where even milliseconds matter. Creating new object for every single processor when any pipeline is started would be just waste of time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my opinion, pipeline processors should be kind of &quot;stateless&quot;. They shouldn't have any single-execution-specific data in their properties. Everything they work on should be passed via arguments of the &lt;code&gt;Process&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would expect that your &lt;code&gt;ISessionStore&lt;/code&gt; uses something like &lt;code&gt;HttpContext.Current.Session&lt;/code&gt; everytime it sets or gets something from session. But if you've created a &lt;code&gt;Session&lt;/code&gt; property in &lt;code&gt;ISessionStore&lt;/code&gt; and set the value of it to session from httpcontext, then the problem is here. I cannot tell this for sure without seeing the code of your &lt;code&gt;ISessionStore&lt;/code&gt; implementation.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-01-31T09:56:43.367" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="16369" PostTypeId="1" AcceptedAnswerId="16371" CreationDate="2019-01-31T10:16:51.397" Score="1" ViewCount="538" Body="&lt;p&gt;I want to disable the prefetch cache settings. Is there any way to disable them? I tried deleting the files from prefetch folder but site throws exception.&lt;/p&gt;&#xA;" OwnerUserId="2384" LastEditorUserId="342" LastEditDate="2019-01-31T15:31:33.913" LastActivityDate="2019-01-31T15:31:33.913" Title="Is it possible to remove prefetch cache settings from sitecore version 8.X?" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16370" PostTypeId="2" ParentId="16354" CreationDate="2019-01-31T10:19:54.367" Score="1" Body="&lt;p&gt;It seems that your StartSearchLocation isn't taken into account and searches the whole Sitecore tree for items with those 3 templates. Which will match the __Standard Values and thus show up in the result list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can test this by creating an item from 1 of those 3 templates into a different location and verify that it also shows up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Conclusion: Your StartSearchLocation is not defined properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Either use the ID of the 'Places' item: StartSearchLocation={11111111-1111-1111-1111-111111111111}  &lt;/li&gt;&#xA;&lt;li&gt;Or use query: StartSearchLocation=query:/sitecore/content/Parks/Home/Places&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So this should definitely work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation=query:/sitecore/content/Parks/Home/Places&amp;amp;Filter=_template:{BCE4E2CA-ACA5-446E-B363-9635B92C7278}|_template:{C025B0A6-E273-4126-9E08-CD6428B3154C}|_template:{F230C330-4B09-46B7-A738-C02343545CD4}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Good overview of possibilities: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/using-the-new-sitecore-7-field-types&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/using-the-new-sitecore-7-field-types&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2019-01-31T10:19:54.367" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16371" PostTypeId="2" ParentId="16369" CreationDate="2019-01-31T10:25:31.550" Score="4" Body="&lt;p&gt;I believe you should be able to use Sitecore's config patches to remove the caches. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;databases&amp;gt;&#xA;        &amp;lt;database id=&quot;core&quot;&amp;gt;&#xA;            &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;                &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;                    &amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;                        &amp;lt;patch:delete /&amp;gt;&#xA;                    &amp;lt;/prefetch&amp;gt;&#xA;                &amp;lt;/dataProvider&amp;gt;&#xA;            &amp;lt;/dataProviders&amp;gt;&#xA;        &amp;lt;/database&amp;gt;&#xA;    &amp;lt;/databases&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="115" LastActivityDate="2019-01-31T10:25:31.550" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16372" PostTypeId="1" AcceptedAnswerId="16447" CreationDate="2019-01-31T14:44:33.480" Score="2" ViewCount="1636" Body="&lt;p&gt;I am installing &lt;code&gt;Sitecore 9.1 with SIF&lt;/code&gt; and I am using &lt;code&gt;Solr 7.2.1&lt;/code&gt; version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;installation fails due to the below error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Below my error in Powershell:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[--------------------------------------------------&#xA;  XConnectSolr_CreateCores [1] : ManageSolrCore&#xA;  ----------------------------------------------------------------] [XConnectSolr_CreateCores [1]]:[Requesting]&#xA;  &lt;a href=&quot;https://localhost:8984/solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8984/solr/&lt;/a&gt; [XConnectSolr_CreateCores [1]]:[SolrCore]&#xA;  Performing Create on &lt;a href=&quot;https://localhost:8984/solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8984/solr/&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[ERROR] Install-SitecoreConfiguration : NotFound -&#xA;  &lt;a href=&quot;https://localhost:8984/solr//admin/cores?action=Create&amp;amp;name=sc910_xdb&amp;amp;property.update.autoCreateFields=false&amp;amp;wt=json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8984/solr//admin/cores?action=Create&amp;amp;name=sc910_xdb&amp;amp;property.update.autoCreateFields=false&amp;amp;wt=json&lt;/a&gt;&#xA;  [ERROR] At C:\resourcefiles\new resource&#xA;  files\XP0-SingleDeveloper.ps1:93 char:1 [ERROR] +&#xA;  Install-SitecoreConfiguration @singleDeveloperParams *&gt;&amp;amp;1 | Tee-Objec&#xA;  ... [ERROR] +&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException [ERROR]     + FullyQualifiedErrorId :&#xA;Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;[ERROR]   [TIME] 00:00:35&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;How to proceed from here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Below Solr logs: [but no clue]&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2019-01-31 14:26:57.135 INFO  (main) [   ] o.e.j.s.Server&#xA;  jetty-9.3.20.v20170531 2019-01-31 14:26:57.923 INFO  (main) [   ]&#xA;  o.a.s.s.SolrDispatchFilter  &lt;strong&gt;_      _       Welcome to Apache Solr™&#xA;  version 7.2.1 2019-01-31 14:26:57.924 INFO  (main) [   ]&#xA;  o.a.s.s.SolrDispatchFilter / __| &lt;em&gt;&lt;/strong&gt;| |&lt;/em&gt; _   Starting in standalone&#xA;  mode on port 8984 2019-01-31 14:26:57.924 INFO  (main) [   ]&#xA;  o.a.s.s.SolrDispatchFilter __ / _ \ | '&lt;em&gt;|  Install dir:&#xA;  C:\solr-7.2.1\solr-7.2.1 2019-01-31 14:26:57.937 INFO  (main) [   ]&#xA;  o.a.s.s.SolrDispatchFilter |&lt;strong&gt;&lt;/em&gt;/_&lt;/strong&gt;/&lt;em&gt;|&lt;/em&gt;|    Start time:&#xA;  2019-01-31T14:26:57.925Z 2019-01-31 14:26:57.955 INFO  (main) [   ]&#xA;  o.a.s.c.SolrResourceLoader Using system property solr.solr.home:&#xA;  C:\solr-7.2.1\solr-7.2.1\server\solr 2019-01-31 14:26:57.962 INFO &#xA;  (main) [   ] o.a.s.c.SolrXmlConfig Loading container configuration&#xA;  from C:\solr-7.2.1\solr-7.2.1\server\solr\solr.xml 2019-01-31&#xA;  14:26:58.558 INFO  (main) [   ] o.a.s.c.CorePropertiesLocator Found 0&#xA;  core definitions underneath C:\solr-7.2.1\solr-7.2.1\server\solr&#xA;  2019-01-31 14:26:59.184 INFO  (main) [   ] o.e.j.s.Server Started&#xA;  @2696ms 2019-01-31 14:42:02.883 INFO  (Thread-0) [   ]&#xA;  o.a.s.c.CoreContainer Shutting down CoreContainer instance=2036127838&#xA;  2019-01-31 14:42:02.883 INFO  (Thread-0) [   ]&#xA;  o.a.s.m.SolrMetricManager Closing metric reporters for&#xA;  registry=solr.node, tag=null 2019-01-31 14:42:02.883 INFO  (Thread-0)&#xA;  [   ] o.a.s.m.SolrMetricManager Closing metric reporters for&#xA;  registry=solr.jvm, tag=null 2019-01-31 14:42:02.883 INFO  (Thread-0) [&#xA;  ] o.a.s.m.SolrMetricManager Closing metric reporters for&#xA;  registry=solr.jetty, tag=null 2019-01-31 14:42:02.884 INFO  (Thread-0)&#xA;  [   ] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache&#xA;  for 2147483647 transient cores&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="5387" LastEditDate="2020-01-29T07:03:56.817" LastActivityDate="2020-01-29T07:03:56.817" Title="Sitecore 9.1 installation error : &quot;Notfound issue solr creating core &quot;" Tags="|solr|sitecore-install-framework|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16373" PostTypeId="1" AcceptedAnswerId="16644" CreationDate="2019-01-31T15:11:20.073" Score="0" ViewCount="374" Body="&lt;p&gt;I have a PowerShell code like this &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Function Validate-PowerShell&#xA;&#xA;Test-PowerShell&#xA;&#xA;Try&#xA;{&#xA;   $ctx = get-item .&#xA;&#xA;   Import-Function Import-RedirectMappings&#xA;   $file = Receive-File (get-item &quot;master:\media library\Files&quot;) -Title &quot;Upload..&quot; -Description &quot;Upload file&quot; -Overwrite    &#xA;       ... other code&#xA;}&#xA;Catch&#xA;{&#xA;   $ErrorRecord=$Error[0]&#xA;   Write-Log -Log Error $ErrorRecord&#xA;   Show-Alert &quot;Something went wrong. See SPE logs for more details.&quot;&#xA;   Close-Window&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in case &lt;code&gt;Receive-File&lt;/code&gt; dialog files is not selected and press ok, user see exception:  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[NullReferenceException: Object reference not set to an instance of an&#xA;  object.]   Sitecore.UIUtil.GetBrowserClassString() +393&lt;br&gt;&#xA;  Sitecore.Shell.Controls.Standard.FormPageXmlControl.OnLoad(EventArgs&#xA;  e) +672   System.Web.UI.Control.LoadRecursive() +153&lt;br&gt;&#xA;  System.Web.UI.Control.LoadRecursive() +250&lt;br&gt;&#xA;  System.Web.UI.Control.LoadRecursive() +250&lt;br&gt;&#xA;  System.Web.UI.Control.LoadRecursive() +250&lt;br&gt;&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;  +4081&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;how it is possible to fix it ? &lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="342" LastEditDate="2019-01-31T15:32:35.493" LastActivityDate="2019-02-11T02:51:47.857" Title="PowerShell exception at Receive-File dialog" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16374" PostTypeId="1" CreationDate="2019-01-31T16:15:34.423" Score="2" ViewCount="867" Body="&lt;p&gt;I have installed xConnect for sitecore 9.0.2 using SIF 1.2.1 and configured it according to the documentation. I have also installed the xDB Data Migration Tools and when running the Troubleshooter for &lt;strong&gt;&lt;em&gt;/sitecore/system/Data Exchange/AQR Data Migration Tenant/Endpoints/Providers/xConnect/xConnect Client Endpoint&lt;/em&gt;&lt;/strong&gt;, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;  Message: The HTTP response was not successful: Forbidden Source:&#xA;  Sitecore.Xdb.Common.Web    at&#xA;  Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;code&gt;1&#xA;  taskFactory)    at&#xA;  Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func&lt;/code&gt;1&#xA;  taskFactory)    at&#xA;  Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode&#xA;  configNode)    at&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper)    at&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert)    at&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(String configPath,&#xA;  String[] parameters, Boolean assert)    at&#xA;  Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String&#xA;  clientConfigPath)    at&#xA;  Sitecore.Analytics.Processing.AsyncPoolScheduler&lt;code&gt;2..ctor(IAsyncProcessingPool&lt;/code&gt;1&#xA;  pool, IXdbContextFactory xdbContextFactory, ExpandOptions options,&#xA;  Int16 maxBatchSize)    at&#xA;  Sitecore.Analytics.Aggregation.InteractionAggregationAgent.d__15.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Analytics.Core.Agent.d__1.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Analytics.Core.AsyncBackgroundService.d__22.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---    at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)    at&#xA;  Sitecore.Analytics.Core.AsyncBackgroundService.d__26.MoveNext()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have also tried the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;running Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$&lt;em&gt;.Issuer -ne $&lt;/em&gt;.Subject} | Move-Item -Destination Cert:\LocalMachine\CA&lt;/li&gt;&#xA;&lt;li&gt;Removed the certificates DO_NOT_TRUST_* from Current User/Personal&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;but the issue still persists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="4907" LastActivityDate="2019-01-31T16:15:34.423" Title="Sitecore XConnect XdbCollectionUnavailableException - Forbidden" Tags="|xdb|xconnect|data-exchange-framework|" AnswerCount="0" CommentCount="3" ClosedDate="2020-02-12T03:19:04.803" ContentLicense="CC BY-SA 4.0" />
  <row Id="16375" PostTypeId="1" CreationDate="2019-01-31T16:52:35.493" Score="1" ViewCount="645" Body="&lt;p&gt;In CM logs I occasionally see Prefetch data(master) cleared by DefaultScavengeStrategy:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;7744 20:32:18 WARN  SqlDataProvider - Prefetch data(master) cache is&#xA;  cleared by&#xA;  Sitecore.Caching.Generics.Cache`1+DefaultScavengeStrategy[[Sitecore.Data.ID,&#xA;  Sitecore.Kernel, Version=10.0.0.0, Culture=neutral,&#xA;  PublicKeyToken=null]] strategy. Cache running size was 90 MB.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My understanding is that Prefetch cache is filled one time during application startup and should remain immutable for the reminder of application life. Here are some existing responses that seem to confirm that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11101/how-to-refresh-prefetch-cache/11105#11105&quot;&gt;How to refresh prefetch cache?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore populate prefetch catches just at application&#xA;  inititialization, and it maintains it during the lifetime of the&#xA;  application. &lt;strong&gt;Is not possible to update after you run the app and the&#xA;  prefetch cache is already initialized&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/10594/when-does-prefetch-cache-get-re-populated-after-publishing/10596#10596&quot;&gt;When does prefetch cache get re-populated after publishing?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Prefetch cache is not repopulated after a publish, it is repopulated&#xA;  just when you restart your site&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However the log entry shows otherwise. I understand why other caches might be cleared by DefaultScavengeStrategy but I do not understand why Prefetch cache would be cleared by it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me to understand this log entry.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an extensive answer regarding the DefaultScavengeStrategy &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6644/log-file-warning-about-caching-and-defaultscavengestrategy&quot;&gt;Log file warning about caching and DefaultScavengeStrategy&lt;/a&gt;, however it does not explain why it applies to prefetch cache. According to the other two answers I have quoted in the original message, prefetch cache should only be modified at application start up.&lt;/p&gt;&#xA;" OwnerUserId="1869" LastEditorUserId="1869" LastEditDate="2019-01-31T18:42:56.033" LastActivityDate="2019-01-31T18:42:56.033" Title="Why is Prefetch data(master) cleared by DefaultScavengeStrategy?" Tags="|caching|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16376" PostTypeId="2" ParentId="16363" CreationDate="2019-01-31T18:03:51.507" Score="5" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Is this the recommended way to include Support Packages and have them&#xA;  available for an easy deploy?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The answer to your question will depend on your development environment and team setting. Below is the solution that works with our development process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We include support packages in our git repo and Visual Studio solution. So for CI/CD we do not have any special steps for support packages, since they are built and output as any other DLL and configuration is. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reason for this is local development. We want to make sure that local installations include support packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Including support packages in Visual Studio solution also allows us to review support package changes in Pull Requests, same as any other code change.&lt;/p&gt;&#xA;" OwnerUserId="1869" LastActivityDate="2019-01-31T18:03:51.507" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16378" PostTypeId="2" ParentId="12997" CreationDate="2019-01-31T18:57:43.177" Score="2" Body="&lt;p&gt;We have faced a similar fatal issue when using Redis Cache to store user sessions:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;FATAL SINGLE MSG: Sitecore heartbeat:&lt;br/&gt;&#xA;  Exception: System.Exception&lt;br/&gt;&#xA;  Message: Database redis.cache is not available&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So I would recommend to exclude your &quot;sessions&quot; connection string from checks too.&lt;/p&gt;&#xA;" OwnerUserId="4390" LastActivityDate="2019-01-31T18:57:43.177" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16379" PostTypeId="1" CreationDate="2019-01-31T19:50:09.897" Score="1" ViewCount="125" Body="&lt;p&gt;I am doing some investigation into in-session personalisation, no historical data being stored with xDb. I have everything working with XP but as I do not require any of the additional functionality it provides I was wondering if it could be done under an XM licence.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Multiple sources including the &lt;a href=&quot;https://www.sitecore.com/en-gb/products/sitecore-experience-platform/wcm&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore website&lt;/a&gt; state that in-session personalisation is possible but I am unable to find the marketing control panel to setup any of the profile keys.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there a flag I need to switch in the config or some other process that needs to be followed. &lt;/p&gt;&#xA;" OwnerUserId="4985" LastActivityDate="2019-11-30T16:01:55.230" Title="Is the marketing control panel available in Sitecore 9.1 XM?" Tags="|personalization|marketing-control-panel|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16380" PostTypeId="1" AcceptedAnswerId="16381" CreationDate="2019-01-31T20:26:51.963" Score="1" ViewCount="38" Body="&lt;p&gt;Is there an OOB way to send a single email campaign to recipients in their local timezones vs. sending out a single blast?  If not, does anybody have thoughts on how to approach this?  Thanks &lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-01-31T21:35:29.090" Title="Sending emails in local timezones vs. a single blast" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16381" PostTypeId="2" ParentId="16380" CreationDate="2019-01-31T21:35:29.090" Score="3" Body="&lt;p&gt;In short, there is No Out-of-the-Box method for sending a Regular Dispatch of EXM messages in bulk and have the message actually send at the Contact's local time for Dispatch.&lt;/p&gt;&#xA;&lt;p&gt;To elaborate on this, regardless of whether you are using &lt;em&gt;CustomSMTP&lt;/em&gt; or &lt;em&gt;EmailCloud&lt;/em&gt; delivery service provider, each provider still uses SMTP (and not API) for the dispatching of messages. The timing of that is kept only at the CM's timezone and all messages are sent in bulk at the same time when doing a regular dispatch.&lt;/p&gt;&#xA;&lt;h1&gt;Thinking Outside the Box&lt;/h1&gt;&#xA;&lt;h2&gt;Thought 1&lt;/h2&gt;&#xA;&lt;p&gt;You could create a List Manager Segmented List for each timezone that you want to dispatch to. Then subsequently create a separate EXM Regular Dispatch and manually offset the dispatch time. This puts the onus on the marketer, and is admittedly a lot of duplication, but does solve the business requirement.&lt;/p&gt;&#xA;&lt;h2&gt;Thought 2&lt;/h2&gt;&#xA;&lt;p&gt;The more significant possibility is to create a custom DispatchTask that will delay the send for the users until their designsted local time. This is a heavy lift becaue DispatchTask is a monumental effort to override and contains some &lt;code&gt;internal&lt;/code&gt; methods that you can't overcome.  However, this would also delay the time it takes for a full dispatch to actually complete.&lt;/p&gt;&#xA;&lt;h2&gt;Thought 3&lt;/h2&gt;&#xA;&lt;p&gt;The most significant and time consuming effort and customization is to completely rewrite the EmailCloud provider with SparkPost and have it use SparkPost API instead of SMTP, which allows you to specify when SparkPost should send the message. Warning, this is a rabbit hole that will consume your life.&lt;/p&gt;&#xA;&lt;h1&gt;In Summary&lt;/h1&gt;&#xA;&lt;p&gt;You are asking about a feature of EXM that is not available out of the box. The nice thing about Sitecore is that with enough will, determination, and hammers, you can make it do anything you want. But is it worth it?&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-01-31T21:35:29.090" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16382" PostTypeId="1" AcceptedAnswerId="16577" CreationDate="2019-01-31T22:48:12.333" Score="4" ViewCount="2286" Body="&lt;p&gt;I need to have a certain field (field type &lt;code&gt;Link Field&lt;/code&gt;) to have anchoring feature for that I need the &lt;code&gt;id&lt;/code&gt; to be generated I was thinking if we can use &lt;code&gt;VariantField&lt;/code&gt;'s &lt;code&gt;Link attributes&lt;/code&gt; property to generate that as below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried using &lt;code&gt;$item.Name&lt;/code&gt; or &lt;code&gt;$name&lt;/code&gt; in &lt;code&gt;Link attributes&lt;/code&gt; in a &lt;code&gt;VariantField&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BY0pq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BY0pq.png&quot; alt=&quot;VariantField - Link attributes&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, if anyone can guide on generating href with hash id &lt;code&gt;#id&lt;/code&gt; for the same?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;// using SXA 1.7.1&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2019-05-23T19:50:24.610" LastActivityDate="2019-05-23T19:50:24.610" Title="How to use tokens in Link attributes in VariantField?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16383" PostTypeId="1" CreationDate="2019-02-01T00:56:21.443" Score="2" ViewCount="191" Body="&lt;p&gt;I thought I had an approach for this but it does not work. My new process is never called. I just need to add an additional querystring to any preview URL that is generated in CM (publish preview, presentation preview, preview site, experience manager) I thought I could just add it to this pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;getPagePreviewUrl&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.GetPagePreviewUrl.GetDefaultUrlOptions, Sitecore.Kernel&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.GetPagePreviewUrl.SetLanguage, Sitecore.Kernel&quot;/&amp;gt;              &#xA;      &amp;lt;processor type=&quot;Sitecore.Pipelines.GetPagePreviewUrl.GetUrl, Sitecore.Kernel&quot;/&amp;gt;&#xA;      &amp;lt;processor type=&quot;MyNamespace.MyClass, MyAssembly&quot; patch:source=&quot;MyConfig.config&quot;/&amp;gt;      &#xA;    &amp;lt;/getPagePreviewUrl&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My class looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class MyClass&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;Runs the processor.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments.&amp;lt;/param&amp;gt;&#xA;        public void Process(GetPagePreviewUrlArgs args)&#xA;        {&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, my new process is never called (not logging, can't attached). I have looked at the showconfigs and it is patched in where I expected it to be (as shown above). Is this not the correct pipeline? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&#xA;Been digging into this and based on what I have found all the previews are command based (would make sense). So to tweak the behavior you need to override the following commands. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;command name=&quot;item:preview&quot; type=&quot;Sitecore.Shell.Framework.Commands.PreviewItem,Sitecore.Kernel&quot;/&amp;gt;&#xA;&#xA;    &amp;lt;command name=&quot;contenteditor:preview&quot; type=&quot;Sitecore.Shell.Framework.Commands.ContentEditor.Preview,Sitecore.Kernel&quot;/&amp;gt;&#xA;&#xA;    &amp;lt;command name=&quot;webedit:openexperienceeditor&quot; type=&quot;Sitecore.Shell.Applications.WebEdit.Commands.OpenExperienceEditor, Sitecore.ExperienceEditor&quot; patch:source=&quot;Sitecore.ExperienceEditor.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Headed down that road and will update. &lt;/p&gt;&#xA;" OwnerUserId="3681" LastEditorUserId="3681" LastEditDate="2019-02-01T06:14:20.637" LastActivityDate="2019-02-01T06:14:20.637" Title="Add querystring value to preview URL" Tags="|sitecore-client|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16384" PostTypeId="2" ParentId="16382" CreationDate="2019-02-01T01:04:07.290" Score="7" Body="&lt;h1&gt;TL;DR&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Yes it is possible, use this: &lt;code&gt;@(Item.ID)&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume that you are using SXA renderings or if it's custom rendering its model inherits from &lt;code&gt;RenderingModelBase&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need an explanation, please read the rest of my answer.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Dynamic attributes&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I will describe all the possibilities that I know and will paste a screenshot with example configuration and output at the end.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Field - basic&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you use the following notation: &lt;code&gt;$(FIELD_NAME)&lt;/code&gt;, a raw value of a field &lt;strong&gt;FIELD_NAME&lt;/strong&gt; will be rendered (if it's not handled in a special way - see next point).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This case will be applied to Single-Line Text, Multi-Line ...&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Field - custom &quot;field renderers&quot;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you use the following notation: &lt;code&gt;$(FIELD_NAME)&lt;/code&gt; and the field type is handled in a special way in the code you can expect something different than raw value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you specify an image, a link to this image will be generated instead of the direct value from the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find a list of fields handled in a special way in class: &lt;strong&gt;RenderRenderingVariantFieldProcessor.cs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will write what it's there in &lt;strong&gt;SXA 1.7.1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ImageField&lt;/li&gt;&#xA;&lt;li&gt;FileField&lt;/li&gt;&#xA;&lt;li&gt;ReferenceField&lt;/li&gt;&#xA;&lt;li&gt;LinkField&lt;/li&gt;&#xA;&lt;li&gt;TextField&lt;/li&gt;&#xA;&lt;li&gt;MultilistField&lt;/li&gt;&#xA;&lt;li&gt;LookupField&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Model - property extractor&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you use this notation: &lt;code&gt;@(PROPERTY_PATH)&lt;/code&gt; you can access properties from your model (code model) used to render rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&#xA;Assuming that you are using the default model: &lt;strong&gt;RenderingModelBase&lt;/strong&gt; you can write something like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@(IsEdit)&lt;/code&gt; - this will render bool value of the &lt;strong&gt;IsEdit&lt;/strong&gt; property&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/z2Ld9.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/z2Ld9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I called it &lt;strong&gt;property extractor&lt;/strong&gt; because you can go deeper. If you access for example &lt;strong&gt;Item&lt;/strong&gt; property, then you can display its &lt;strong&gt;ID&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Example&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Examples are the best to understand something, so here is an example configuration and output.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RFVj3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RFVj3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-01T01:04:07.290" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="16386" PostTypeId="2" ParentId="8518" CreationDate="2019-02-01T02:00:01.877" Score="1" Body="&lt;p&gt;I followed the below blog to fix my issue which as clear troubleshooting steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoresandbox.com/2018/03/09/there-are-no-forms-to-display-in-sitecore-9-forms-designer/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoresandbox.com/2018/03/09/there-are-no-forms-to-display-in-sitecore-9-forms-designer/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I tried re-build index (didn't work)&lt;/li&gt;&#xA;&lt;li&gt;Rename forms from content editor (worked)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Then I was able to see disappeared in forms application.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastActivityDate="2019-02-01T02:00:01.877" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16387" PostTypeId="2" ParentId="15845" CreationDate="2019-02-01T04:00:16.013" Score="1" Body="&lt;p&gt;What you are doing here is not Unit Testing, I would consider it more of an integration test, I am a broken record on this subject but it is my opinion that you should reserve unit testing for testing functionality you own and take advantage of focused and mockable interfaces, see &lt;a href=&quot;https://en.wikipedia.org/wiki/Interface_segregation_principle&quot; rel=&quot;nofollow noreferrer&quot;&gt;Interface segregation principle&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mocking the HttpContext almost always ends in tears byways of a test maintenance nightmare, however, there is some relief to this from ASP.NET 3.5 and up; look at using HttpContextBase and HttpContextWrapper.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool getImage(HttpContextBase context)&#xA;{&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;HttpContextBase is abstract and you will have an easier time mocking it. When you need to adapt the HttpContext you can with the HttpContextWrapper class.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var abstractContext = new HttpContextWrapper(context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3727" LastActivityDate="2019-02-01T04:00:16.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16388" PostTypeId="1" CreationDate="2019-02-01T05:06:57.973" Score="2" ViewCount="877" Body="&lt;p&gt;I have 2 CD and 2 CM servers. Whenever I add version and publish it, on the frontend only showing the previous versions &lt;strong&gt;except&lt;/strong&gt; I recycle pool on all CD servers &lt;strong&gt;or&lt;/strong&gt; I implement Clear all cache on each server (&lt;em&gt;Similiar to /sitecore/admin/cache.aspx: Clear&lt;/em&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried clearing html cache and Rendering parameter cache but they don't solve the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I've tried this too (on each server) but still won't help:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;db.Caches.DataCache.RemoveItemInformation(item.ID);&#xA;db.Caches.DataCache.Remove(item.ID);&#xA;db.Caches.StandardValuesCache.RemoveKeysContaining(item.ID.ToString());&#xA;db.Caches.PathCache.RemoveKeysContaining(item.ID.ToString());&#xA;db.Caches.ItemCache.RemoveItem(item.ID);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only workaround is clearing ALL cache on each server :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var cache in CacheManager.GetAllCaches())&#xA;{&#xA;    if (cache != null)&#xA;    {&#xA;        cache.Clear();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I think that's too expensive, right?&#xA;So, which cache should I clear? (refer to caches name on /sitecore/admin/cache.aspx)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without above code and manual clearing, everything works fine in local server, or single server&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using EventQueue to trigger local events on each server. Using Sitecore 8.2 Initial Release&lt;/p&gt;&#xA;" OwnerUserId="4774" LastEditorUserId="237" LastEditDate="2019-02-01T10:47:16.533" LastActivityDate="2019-02-05T05:04:44.620" Title="Which cache should be cleared after publish?" Tags="|publishing|caching|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16389" PostTypeId="2" ParentId="16388" CreationDate="2019-02-01T07:44:17.627" Score="1" Body="&lt;p&gt;Basically, the only cache you need to clear is &lt;strong&gt;HTML&lt;/strong&gt; and Rendering parameters cache, and usually it is configured in the config file, rather than custom event handlers. However, what I think of is that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Are you sure that the code that you are running to clear the cache is running properly? (e.g. you attach in to the right event on the right server, etc.)&lt;/li&gt;&#xA;&lt;li&gt;Is it possible that your CD environment is misconfigured? Usually, it is only a matter of enabling/disabling the config files. Please, check the list in the official &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/configure-a-content-delivery-server.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore documentation&lt;/a&gt;. (You can find a list of config files to enable/disable in the &lt;em&gt;Configuring CD Server&lt;/em&gt; section p.5.)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="982" LastActivityDate="2019-02-01T07:44:17.627" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16391" PostTypeId="1" AcceptedAnswerId="16392" CreationDate="2019-02-01T10:01:46.687" Score="3" ViewCount="1033" Body="&lt;p&gt;I have created a contact programmatically and also added interaction to that. After that it appeared in experience profile. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a button on the top right corner to anonimize the contact. I clicked that, but after clicking no contact is shown.&#xA;Any help appreciated ..&lt;/p&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="237" LastEditDate="2019-02-01T10:45:27.163" LastActivityDate="2019-02-01T10:45:27.163" Title="Experience Profile not showing anonymous contacts" Tags="|experience-profile|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16392" PostTypeId="2" ParentId="16391" CreationDate="2019-02-01T10:09:20.253" Score="7" Body="&lt;p&gt;Which version of Sitecore you are on? If you are working on Sitecore 9.x then I would suggest to follow below steps to show anonymous data to Experience profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update IndexAnonymousContactData setting to true by default this is false in XConnect website.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;IndexAnonymousContactData&amp;gt;true&amp;lt;/IndexAnonymousContactData&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find this setting into below xml files in Xconnect site- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/App_data/jobs/continuous/IndexWorker/App_data/Config/Sitecore/SearchIndexer/sc.Xdb.Collection.IndexerSettings.xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/App_data/Config/sitecore/SearchIndexer/sc.Xdb.Collection.IndexerSettings.xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I think just making these changes you would be able to see unknown user data in Experience profile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if you are using Sitecore 8.2 then below is the configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Analytics.IndexAnonymousContacts&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I hope this can solve your issue but still if you are not able to see the data let me know.&lt;/p&gt;&#xA;" OwnerUserId="361" LastEditorUserId="361" LastEditDate="2019-02-01T10:12:29.797" LastActivityDate="2019-02-01T10:12:29.797" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16394" PostTypeId="1" AcceptedAnswerId="16395" CreationDate="2019-02-01T11:27:24.313" Score="2" ViewCount="117" Body="&lt;p&gt;We are using Sitecore 9.1 and SXA 1.8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can only specify Allowed components not Rendering variants in Placeholder settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there possibility to limit which Rendering variants of certain component can be used in placeholder settings?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already found similar question here &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13548/can-we-apply-placeholder-settings-for-rendering-variants&quot;&gt;Can we apply placeholder settings for rendering variants?&lt;/a&gt; but the answer is about adding placeholders into Rendering variants which isn't my goal.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-02-01T18:56:03.570" Title="Can Rendering variants be restricted on placeholder settings?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16395" PostTypeId="2" ParentId="16394" CreationDate="2019-02-01T11:33:19.130" Score="2" Body="&lt;p&gt;One option is to create completely new component by cloning existing one. Rendering variant from original component would be copied to cloned component as Default one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This newly created cloned component will be then placed into list of Allowed Components for placeholder instead of original component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This option however increases complexity of the solution and also number of components in toolbox.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-02-01T18:56:03.570" LastActivityDate="2019-02-01T18:56:03.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16397" PostTypeId="1" AcceptedAnswerId="16428" CreationDate="2019-02-01T13:33:44.643" Score="1" ViewCount="206" Body="&lt;p&gt;Is there any way to disable a specific pipeline, or part of a pipeline, during an item install via package or update installation wizard? I have a custom pipeline for item:created that I'd like to skip if it's not invoked via a standard item creation.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-02-03T01:00:36.080" Title="Disable a pipeline during package/update installation wizard" Tags="|pipelines|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16399" PostTypeId="1" CreationDate="2019-02-01T15:56:51.833" Score="0" ViewCount="1256" Body="&lt;p&gt;I have rendering that has been wrote in React and JSS. Sitecore displays rendering with static content. Is there any example how to get rendering datasource items and display Link fields from them under static content of rendering?&lt;/p&gt;&#xA;" OwnerUserId="4979" LastActivityDate="2019-02-04T17:42:45.747" Title="Get items from rendering datasource in JSS" Tags="|jss|sitecore-react|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16400" PostTypeId="1" CreationDate="2019-02-01T16:06:03.350" Score="1" ViewCount="24" Body="&lt;p&gt;I am using Sitecore 9.0 and want to do some custom analytics (in e.g. C#) on the XConnect Path Analyzer data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the best way to do this?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-02-01T16:06:03.350" Title="How to custom interpret path-analyzer data" Tags="|xconnect|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16401" PostTypeId="1" AcceptedAnswerId="16403" CreationDate="2019-02-01T16:52:41.213" Score="7" ViewCount="3384" Body="&lt;p&gt;I have version 9.0 update 2 and am working with the sample JSS app. I used the this same app on an earlier environment which was setup as Standalone and had no issues. This is a remote deploy to a scaled environment. When I attempt the command -jss deploy items - I get the following error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unexpected response from import service: &#xA;Error: unable to get local issuer certificate&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the scjssconfig.json file I am currently using.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;sitecore&quot;: {&#xA;    &quot;instancePath&quot;: &quot;C:\\sc9_install\\my-sitecore-jss&quot;,&#xA;    &quot;apiKey&quot;: &quot;{00000000-0000-0000-0000-000000000000}&quot;,&#xA;    &quot;deploySecret&quot;: &quot;&quot;,&#xA;    &quot;deployUrl&quot;: &quot;https://sitecore-scaled/sitecore/api/jss/import&quot;,&#xA;    &quot;layoutServiceHost&quot;: &quot;my-sitecore-jss&quot;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4989" LastEditorUserId="237" LastEditDate="2019-02-01T18:38:12.250" LastActivityDate="2023-05-05T11:56:38.657" Title="Unexpected response from import service: Error: unable to get local issuer certificate" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16402" PostTypeId="2" ParentId="16399" CreationDate="2019-02-01T17:04:02.940" Score="1" Body="&lt;p&gt;The JSS styleguide includes the &lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/react/src/components/Styleguide-FieldUsage-Link/index.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Link&lt;/code&gt; example&lt;/a&gt; that outlines various uses of the Link component in React.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short, your JSS component is passed &lt;code&gt;props.fields&lt;/code&gt; that gives you access to any link fields that you've defined on your datasource template:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { Link } from '@sitecore-jss/sitecore-jss-react';&#xA;&#xA;const UsageLink = (props) =&amp;gt; (&#xA;    &amp;lt;Link field={props.fields.myLinkFieldName} /&amp;gt;&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-02-01T17:04:02.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16403" PostTypeId="2" ParentId="16401" CreationDate="2019-02-01T17:17:25.673" Score="17" Body="&lt;p&gt;It sounds like the SSL certificate on your remote instance is not trusted. Node does not use Windows' cert store, so if it's a trusted cert there it will not be trusted in the JSS CLI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the &lt;code&gt;--acceptCertificate [cert thumbprint]&lt;/code&gt; parameter to make the CLI trust a specific SSL certificate during deployment. To make this easier, consider placing it as an npm script in your package.json (thus running it something like &lt;code&gt;npm run deploy-items-to-scaled&lt;/code&gt; or whatever you named the script)&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-02-01T17:17:25.673" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16404" PostTypeId="1" CreationDate="2019-02-01T18:09:16.673" Score="2" ViewCount="303" Body="&lt;p&gt;Before upgrading to Sitecore 8.2, our experience editors were able to see help text when hovering over an &quot;Add Here&quot; button in Sitecore. This was helpful because it is not always clear which placeholder you are adding components to, and my client would like that functionality again. Currently the hover text simple says &quot;Add the new component here&quot;, I'd like it to say &quot;Add the new component to [Placeholder Name]&quot; Is there a simple settings to turn this on, or does anyone know how to go about changing the functionality to add hover text?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/053MH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/053MH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="2609" LastEditDate="2019-02-01T18:12:00.600" LastActivityDate="2019-05-27T06:51:29.983" Title="How to add Help Text to placeholder &quot;Add Here&quot; button in Experience Editor in Sitecore 8.2?" Tags="|experience-editor|placeholders|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16405" PostTypeId="2" ParentId="16404" CreationDate="2019-02-01T18:21:50.150" Score="2" Body="&lt;p&gt;Turns out this was pretty easy - the tooltip is generated in &lt;code&gt;javascript&lt;/code&gt;, in &lt;code&gt;\sitecore\shell\Applications\Page Modes\PlaceholderInsertion.js&lt;/code&gt; on line 48:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;addTarget: function (where, chrome, insertPosition) {&#xA;    var handle = $sc(&quot;&amp;lt;div class='scInsertionHandle'&amp;gt;&amp;lt;/div&amp;gt;&quot;).attr(&quot;title&quot;, this.command.tooltip.replace(&quot;{0}&quot;, this.placeholder.displayName()));&#xA;    $sc(&quot;&amp;lt;div class='scInsertionHandleLeft scAddToHere'&amp;gt; &amp;lt;/div&amp;gt;&quot;).appendTo(handle);  &#xA;    $sc(&quot;&amp;lt;div class='scInsertionHandleCenter'&amp;gt;&amp;lt;/div&amp;gt;&quot;).append($sc(&quot;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&quot;).text(this.command.header)).appendTo(handle);&#xA;    $sc(&quot;&amp;lt;div class='scInsertionHandleRight'&amp;gt;&amp;lt;/div&amp;gt;&quot;).appendTo(handle);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However &lt;code&gt;this.command.tooltip&lt;/code&gt; was returning &lt;code&gt;Add the new component here&lt;/code&gt; rather than &lt;code&gt;Add the new component to {0}&lt;/code&gt;, so the replace was not doing anything. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just changed the replace to &lt;code&gt;this.command.tooltip.replace(&quot;here&quot;, &quot;to &quot; + this.placeholder.displayName())&lt;/code&gt; and now it returns a more helpful tooltip.&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="5096" LastEditDate="2019-05-27T06:51:29.983" LastActivityDate="2019-05-27T06:51:29.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16406" PostTypeId="1" CreationDate="2019-02-01T19:00:53.460" Score="0" ViewCount="109" Body="&lt;p&gt;I'm getting blocked during step 10 when trying to install a Sitecore 9.0.1 instance locally. I'm using the so famous PowerShell script, by the way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last few messages I see on the PowerShell prompt are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Info: Enabling index 'ndxUnique'.: Completed.&#xA;Info: Enabling index 'ndxUnique'. (Complete)&#xA;Info: Enabling index 'ndxUnique'.: Pending.&#xA;Info: Enabling index 'ndxUnique'.: Running.&#xA;Info: Enabling index 'ndxUnique'. (Start)&#xA;Info: Enabling index 'ndxUnique'.: Completed.&#xA;Info: Enabling index 'ndxUnique'. (Complete)&#xA;Info: Enabling index 'ndxUnique'.: Pending.&#xA;Info: Enabling index 'ndxUnique'.: Running.&#xA;Info: Enabling index 'ndxUnique'. (Start)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Curiously enough only the &lt;strong&gt;Core&lt;/strong&gt; database is created so far.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I open the log file that's what I see at his end:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;XConnect Collection&quot;,Value=https://Sitecore901.xconnect&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Xdb Reference Data Client&quot;,Value=https://Sitecore901.xconnect&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;XDB MA Reporting Client&quot;,Value=https://Sitecore901.xconnect&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;XDB MA Ops Client&quot;,Value=https://Sitecore901.xconnect&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;XConnect Server Certificate Validation Thumbprint&quot;,Value=32E0174B857D05B0F761B9F9B98FE3AD1AAAF3E3&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;SOLR Connection String&quot;,Value=https://solr:8984/solr&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr Core Index Name&quot;,Value=Sitecore901_core_index&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr Master Index Name&quot;,Value=Sitecore901_master_index&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr Web Index Name&quot;,Value=Sitecore901_web_index&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr Marketing Definitions Master Index Name&quot;,Value=Sitecore901_marketingdefinitions_master&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr Marketing Definitions Web Index Name&quot;,Value=Sitecore901_marketingdefinitions_web&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr Marketing Asset Master Index Name&quot;,Value=Sitecore901_marketing_asset_index_master&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr Marketing Asset Web Index Name&quot;,Value=Sitecore901_marketing_asset_index_web&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr Testing Index Name&quot;,Value=Sitecore901_testing_index&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr Suggested Index Name&quot;,Value=Sitecore901_suggested_test_index&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr FXM Master Index Name&quot;,Value=Sitecore901_fxm_master_index&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Solr FXM Web Index Name&quot;,Value=Sitecore901_fxm_web_index&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;Telerik Encryption Key&quot;,Value=PutYourCustomEncryptionKeyHereFrom32To256CharactersLong&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;EXM EDS Provider&quot;,Value=CustomSMTP&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;EXM Cryptographic Key&quot;,Value=0x0000000000000000000000000000000000000000000000000000000000000000&#xA;VERBOSE: [WebDeploy]:[Arg] -SetParam:Name=&quot;EXM Authentication Key&quot;,Value=0x0000000000000000000000000000000000000000000000000000000000000000&#xA;[WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="483" LastEditDate="2019-02-01T20:01:03.840" LastActivityDate="2019-02-01T21:20:45.753" Title="Sitecore 9.0.1 installation stalls during step 10" Tags="|sitecore-install-framework|installation|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="16407" PostTypeId="1" AcceptedAnswerId="16412" CreationDate="2019-02-01T20:01:46.987" Score="3" ViewCount="1119" Body="&lt;p&gt;I just can't stop the &quot;Sitecore XConnect Search Indexer&quot; service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that I just removed everything related to XConnect from this machine. I'm trying to stop this service to be able to re-install everything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep getting this error message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Windows could not stop the Sitecore XConnect Search Indexer - Sitecore901.xconnect-IndexWorker service on Local Computer.&#xA;&#xA;Error: 1061: The service cannot accept control messages at this time.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-08-12T07:43:16.030" Title="Can't stop the &quot;Sitecore XConnect Search Indexer&quot; service on Sitecore 9.0.1" Tags="|xconnect|sitecore-services-client|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16409" PostTypeId="1" AcceptedAnswerId="16422" CreationDate="2019-02-01T21:35:58.277" Score="1" ViewCount="2791" Body="&lt;p&gt;When I try to start my MongoDB service I keep getting the following message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Windows could not start the MongoDB service on Local Computer&#xA;Error: 1067: The process terminated unexpectedly&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;MongoDB version: 2.6&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2023-12-08T01:27:03.153" Title="Can't start MongoDB service [Error: 1067]" Tags="|mongodb|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16410" PostTypeId="1" CreationDate="2019-02-01T22:16:24.037" Score="3" ViewCount="3214" Body="&lt;p&gt;I am was trying to install Solr. I have followed all the steps specified. But I am getting an error in power shell like this below.Could you please let me know what must have went wrong. Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Start-Service : Failed to start service ‘solr-7.2.1 (solr-7.2.1)’.&#xA;At C:\resourcefiles\01_InstallSolr_ByJeremyDavis.ps1:155 char:5&#xA;+ Start-Service “$solrName”&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],&#xA;ServiceCommandException&#xA;+ FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand&lt;/p&gt;&#xA;" OwnerUserId="4993" LastActivityDate="2020-01-23T16:18:46.993" Title="Solr Start Service not working" Tags="|solr|sitecore-install-framework|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16411" PostTypeId="2" ParentId="15207" CreationDate="2019-02-01T22:53:41.480" Score="5" Body="&lt;p&gt;.Net Core has turned configuration on its head for the better IMO, have a read of &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/index?view=aspnetcore-2.2&quot; rel=&quot;noreferrer&quot;&gt;this&lt;/a&gt; it explains how it works. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The bad news is that encrypting secrets may not be possible as they are handled differently as per this &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-2.2&amp;amp;tabs=windows&quot; rel=&quot;noreferrer&quot;&gt;doco&lt;/a&gt;. In a project, I am currently working on, a pure ASP.Net Core website, we ended up creating our own secrets provider. The unfortunate bit for you though is whether to use the provider or not is defined in the source code, and it does not seem that there is an option to extend the Publishing Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is hope though, you might be able to use an environment variable, this will not encrypt the value but it won't just be there in a file. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set SITECORE_Sitecore__Publishing__ConnectionStrings__core=Data Source=.\\SQLSERVER17;Initial Catalog=511108sc823_core;Integrated Security=False;User ID=***;Password=***;MultipleActiveResultSets=True;ConnectRetryCount=15;ConnectRetryInterval=1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See 3.2.2 Custom Configuration Values in the install guide&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be nice if Sitecore would offer the option to use the &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/core/security/key-vault-configuration?view=aspnetcore-2.2&quot; rel=&quot;noreferrer&quot;&gt;Azure Key Vault configuration provider&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3727" LastEditorUserId="3866" LastEditDate="2019-02-02T01:33:09.737" LastActivityDate="2019-02-02T01:33:09.737" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16412" PostTypeId="2" ParentId="16407" CreationDate="2019-02-02T00:30:22.690" Score="4" Body="&lt;p&gt;Tried a reboot? Sounds like it is in a deletion state and a reboot will clear it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you delete a service and it is in state that cannot be removed, it flags it as &quot;To be removed&quot;. And it is not until the next reboot that the cleanup job runs to delete the service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I like to stop the service and run &lt;code&gt;sc.exe delete [&amp;lt;ServiceName&amp;gt;]&lt;/code&gt; in PowerShell. That seems to work every time for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sc-delete&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sc-delete&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-02T00:30:22.690" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16413" PostTypeId="2" ParentId="16372" CreationDate="2019-02-02T00:38:30.197" Score="3" Body="&lt;p&gt;I had the same issue few days ago and it was only the Solr server URL.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://localhost:8984&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8984&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Make sure it is really localhost (that was my error, my script was creating the server at &lt;a href=&quot;https://solr:xxxx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://solr:xxxx&lt;/a&gt;) and that your port is correct.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-02-02T17:43:39.203" LastActivityDate="2019-02-02T17:43:39.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16414" PostTypeId="2" ParentId="16410" CreationDate="2019-02-02T00:38:42.667" Score="8" Body="&lt;p&gt;If you used a script to install it, the script requires you to specify a JRE version. If that version does not match the version installed, it acts this way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use &lt;a href=&quot;https://gist.github.com/jermdavis/8d8a79f680505f1074153f02f70b9105&quot; rel=&quot;nofollow noreferrer&quot;&gt;Jeremy Davis' easy solr script&lt;/a&gt;, you have to specify the version as a variable&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$JREVersion = &quot;1.8.0_201&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look on your hard drive, in program files look for the JRE version. Make sure it matched the version it was when you ran it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;C:\Program Files\Java\jre1.8.0_201&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it does not match, edit the JAVA_HOME path in your windows environmental variables. Then start SOLR again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J2gTJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J2gTJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-02-05T23:46:13.040" LastActivityDate="2019-02-05T23:46:13.040" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16415" PostTypeId="2" ParentId="16111" CreationDate="2019-02-02T00:43:50.547" Score="1" Body="&lt;p&gt;Sitecore 9.1 requires you to enable contained database authentication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to run the following command on your SQL Server Management Studio:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sp_configure ‘contained database authentication’, 1;&#xA;GO&#xA;&#xA;RECONFIGURE;&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-02T00:43:50.547" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16416" PostTypeId="2" ParentId="16197" CreationDate="2019-02-02T00:54:36.967" Score="0" Body="&lt;p&gt;I'd advice you to double check the values you have on the above config and the one on the &lt;code&gt;xconnect-solr.json&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sometimes (and it happened to me) the URL looks like the same but they are not. Instead of &lt;code&gt;localhost&lt;/code&gt; I had &lt;code&gt;solr&lt;/code&gt; as the hostname. Those config files can be a little bit confusing.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-02T00:54:36.967" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16417" PostTypeId="2" ParentId="16197" CreationDate="2019-02-02T01:09:13.043" Score="0" Body="&lt;p&gt;Your issue is that you are using the script from Sitecore. It has a flaw that is uses two parameter sets that both use the &lt;code&gt;$solrParams&lt;/code&gt;. So as the script loads it sets &lt;code&gt;$solrParams&lt;/code&gt; as the &lt;code&gt;xconnect-solr.json&lt;/code&gt; install. But then it immediately resets it again as the &lt;code&gt;sitecore-solr.json&lt;/code&gt; install. So when you install xConnect SOLR you are actually running the parameter set of the Sitecore solr install. Your failure is that it expects to find the xDB SOLR that should have been there during the xConnect install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice below the double solrParams.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Bad script with double solrParams&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$solrParams = @{&#xA; Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;&#xA; SolrUrl = $SolrUrl&#xA; SolrRoot = $SolrRoot&#xA; SolrService = $SolrService&#xA; CorePrefix = $prefix&#xA;}&#xA;Install-SitecoreConfiguration @solrParams&#xA;&#xA;&#xA;$xconnectParams = @{&#xA; Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;&#xA; Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002&#xA;(OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA; LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA; Sitename = $XConnectCollectionService&#xA; XConnectCert = $certParams.CertificateName&#xA; SqlDbPrefix = $prefix&#xA;SqlServer = $SqlServer&#xA;SqlAdminUser = $SqlAdminUser&#xA; SqlAdminPassword = $SqlAdminPassword&#xA; SolrCorePrefix = $prefix&#xA; SolrURL = $SolrUrl&#xA;&#xA;}&#xA;Install-SitecoreConfiguration @xconnectParams&#xA;&#xA;&#xA;$solrParams = @{&#xA; Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;&#xA; SolrUrl = $SolrUrl&#xA; SolrRoot = $SolrRoot&#xA; SolrService = $SolrService&#xA; CorePrefix = $prefix&#xA;}&#xA;Install-SitecoreConfiguration @solrParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Good script with xConnect SOLR renamed&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Below you can see I renamed &lt;code&gt;solrParams&lt;/code&gt; to &lt;code&gt;xConnectSolrParams&lt;/code&gt;. This will fix your issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$xConnectSolrParams = @{&#xA; Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;&#xA; SolrUrl = $SolrUrl&#xA; SolrRoot = $SolrRoot&#xA; SolrService = $SolrService&#xA; CorePrefix = $prefix&#xA;}&#xA;Install-SitecoreConfiguration @xConnectSolrParams&#xA;&#xA;&#xA;$xconnectParams = @{&#xA; Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;&#xA; Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002&#xA;(OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA; LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA; Sitename = $XConnectCollectionService&#xA; XConnectCert = $certParams.CertificateName&#xA; SqlDbPrefix = $prefix&#xA;SqlServer = $SqlServer&#xA;SqlAdminUser = $SqlAdminUser&#xA; SqlAdminPassword = $SqlAdminPassword&#xA; SolrCorePrefix = $prefix&#xA; SolrURL = $SolrUrl&#xA;&#xA;}&#xA;Install-SitecoreConfiguration @xconnectParams&#xA;&#xA;&#xA;$solrParams = @{&#xA; Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;&#xA; SolrUrl = $SolrUrl&#xA; SolrRoot = $SolrRoot&#xA; SolrService = $SolrService&#xA; CorePrefix = $prefix&#xA;}&#xA;Install-SitecoreConfiguration @solrParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Final note&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Take a look at Thomas Eldblom's scripts for installing Sitecore. Really cleans up the script a bunch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Eldblom/sifdemos&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Eldblom/sifdemos&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-02T01:09:13.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16418" PostTypeId="1" AcceptedAnswerId="16419" CreationDate="2019-02-02T10:30:33.767" Score="2" ViewCount="614" Body="&lt;p&gt;We are trying to build our first site on Sitecore SXA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to show/hide a rendering based on a field value or context? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;for example &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;hide a link or a button if the user IsAuthenticated&lt;/li&gt;&#xA;&lt;li&gt;hide a component if a boolean field value is 1?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="237" LastEditDate="2019-02-02T11:09:02.323" LastActivityDate="2019-02-02T11:11:26.023" Title="Show/Hide a component in Sitecore SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16419" PostTypeId="2" ParentId="16418" CreationDate="2019-02-02T11:11:26.023" Score="6" Body="&lt;p&gt;SXA renderings are just like any other Sitecore components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can just use standard Sitecore personalization for them with conditions&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;[Except] where the current user is annonymous&lt;/li&gt;&#xA;&lt;li&gt;Where the [specific] field [is equal] to 1&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6jBDW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6jBDW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tyNYU.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tyNYU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OfDAL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OfDAL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-02T11:11:26.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16420" PostTypeId="1" AcceptedAnswerId="16421" CreationDate="2019-02-02T12:48:05.820" Score="0" ViewCount="173" Body="&lt;p&gt;I am trying to set up Creative exchaneg live on my website using the document below  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/modify-your-site-design-with-creative-exchange-live.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/modify-your-site-design-with-creative-exchange-live.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i added two classes to MyTheme\sass\component-richtext-content.scss&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.text-highlight-red{&#xA;    text-align:left ;&#xA;    font-weight:bold;&#xA;    color:red;&#xA;    font-size: 20px;&#xA;}&#xA;&#xA;.text-highlight-blue{&#xA;    text-align:left ;&#xA;    font-weight:bold;&#xA;    color:blue;&#xA;    font-size: 20px;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The sass-watch task to complie scss to css does not seem to be doing anything except for the warning gulp.run() has been deprecated &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/McSSS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/McSSS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be great &lt;/p&gt;&#xA;" OwnerUserId="3355" LastActivityDate="2019-02-02T13:12:08.493" Title="Sitecore 9.0.2 SXA 1.7.1 Creative Exchange Live Hangs" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16421" PostTypeId="2" ParentId="16420" CreationDate="2019-02-02T13:02:46.960" Score="0" Body="&lt;p&gt;Watch tasks are live running tasks, this doesn't look like it is hungup but its listening to file changes.. As soon as you save anything it will upload them to Sitecore. Try using ctrl+s once on any of the files.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2019-02-02T13:12:08.493" LastActivityDate="2019-02-02T13:12:08.493" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16422" PostTypeId="2" ParentId="16409" CreationDate="2019-02-02T13:39:16.707" Score="3" Body="&lt;p&gt;I had same issue and the reason was that I didn't have enough free space on the hard drive.&lt;/p&gt;&#xA;&lt;p&gt;MongoDB usually requires 3-5GB of free space.&lt;/p&gt;&#xA;&lt;p&gt;If there is not enough space, the service will not start and you will see message:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Windows could not start the MongoDB service on Local Computer&lt;/p&gt;&#xA;&lt;p&gt;Error: 1067: The process terminated unexpectedly&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-02T13:39:16.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16423" PostTypeId="1" AcceptedAnswerId="16456" CreationDate="2019-02-02T15:40:22.927" Score="2" ViewCount="1934" Body="&lt;p&gt;I have this react component (rendering) which has a data source (a folder with items). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to get those items and render their fields in react component? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In props was passed dataSource Id(this.props.rendering.dataSource).&lt;/p&gt;&#xA;" OwnerUserId="4995" LastEditorUserId="3866" LastEditDate="2019-02-03T20:55:58.833" LastActivityDate="2019-02-04T18:34:48.393" Title="Get Items from data source folder by JSS/React" Tags="|jss|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16425" PostTypeId="1" CreationDate="2019-02-02T18:18:44.647" Score="1" ViewCount="339" Body="&lt;p&gt;Is it possible to automate the installation of the package that everybody is using to automate the other packages installation?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My goal would be having a script which I can use to install SPE on a given Sitecore instance.&lt;/p&gt;&#xA;&#xA;Edit to clarify question:&#xA;&#xA;&lt;p&gt;How can I automate the installation of the Sitecore PowerShell Extensions module when I install Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="70" LastEditDate="2019-02-04T14:16:26.713" LastActivityDate="2019-02-05T18:32:09.343" Title="Can I automate the PowerShell Extension package installation?" Tags="|powershell-extensions|sitecore-install-framework|installation|packages|module|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="16426" PostTypeId="2" ParentId="16320" CreationDate="2019-02-02T22:05:40.070" Score="1" Body="&lt;p&gt;First off why are you using Unity? If this is a new build I would look at taking advantage of the inbuilt container that Sitecore uses; if you want a more feature rich container checkout &lt;a href=&quot;https://simpleinjector.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SimpleInjector&lt;/a&gt; or one of the other DI containers in the .NET echo system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If in fact, you do need to use Unity, consider resolving the Sitecore dependencies you need from the Sitecore container with a focused adaptor rather than re-registering them, this has the advantage of not having to understand how Sitecore builds up its dependency graph.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I like the idea of an application container where you have dependencies registered for your application and call out to the Sitecore container when required to get Sitecore Dependencies. If you want some more thoughts and motivations behind this suggestion have a read of this &lt;a href=&quot;https://blog.gravypower.net/2018/05/21/two-containers-are-better-than-one/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog article&lt;/a&gt; I published on the topic.&lt;/p&gt;&#xA;" OwnerUserId="3727" LastActivityDate="2019-02-02T22:05:40.070" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16427" PostTypeId="2" ParentId="16423" CreationDate="2019-02-03T00:37:56.253" Score="2" Body="&lt;p&gt;From the &lt;a href=&quot;https://jss.sitecore.com/docs/client-frameworks/react/sample-app&quot; rel=&quot;nofollow noreferrer&quot;&gt;official documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;UI Components&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;UI components are the most important part of the JSS app. Thankfully,&#xA;  they are no different from any other React component - except that&#xA;  they are dynamically added inside a Placeholder component, which&#xA;  provides them with an ambient fields prop.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import React from 'react';&#xA;import { Text } from '@sitecore-jss/sitecore-jss-react';&#xA;&#xA;const Welcome = ({ fields }) =&amp;gt; (&#xA;  &amp;lt;div&amp;gt;&#xA;    &amp;lt;Text field={fields.title} /&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;);&#xA;&#xA;export default Welcome;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;All that said, it looks like you have this &lt;strong&gt;parent&lt;/strong&gt; component which as &lt;strong&gt;children&lt;/strong&gt; subcomponents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this case, just create one &lt;strong&gt;parent react component&lt;/strong&gt; that will receive the folder item as datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And then, on this component, create one &lt;strong&gt;react sub-component&lt;/strong&gt; for each folder's child.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you still need a real example to better understand, I really like &lt;a href=&quot;https://www.techguilds.com/blog/2018/12/sitecore-jss-part-3-npm&quot; rel=&quot;nofollow noreferrer&quot;&gt;this one from TechGuilds&lt;/a&gt;, on which they show how to create a &lt;strong&gt;Carousel&lt;/strong&gt; component which looks like exactly what you need.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-02-03T00:46:41.223" LastActivityDate="2019-02-03T00:46:41.223" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16428" PostTypeId="2" ParentId="16397" CreationDate="2019-02-03T01:00:36.080" Score="1" Body="&lt;p&gt;In short; there isn't a way out of the box to disable events during package installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an alternative, you can hook into a pipeline &quot;closer to home&quot; like &lt;code&gt;uiSaved&lt;/code&gt; - this only triggers when an item is created in the Content Editor interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Might I add; item event handlers often trigger in situations never considered when they are first written. &lt;code&gt;item:created&lt;/code&gt;, for example, also triggers the first time you publish a new item to &quot;web&quot;. Be cautious of these :-)&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-02-03T01:00:36.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16429" PostTypeId="1" CreationDate="2019-02-03T05:07:21.400" Score="3" ViewCount="376" Body="&lt;p&gt;Has anyone implemented CD server on Azure VM Scale sets?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at below information:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The CD Image process as per the VM Scale set process&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When the Image is used to scale VMs using Azure approach, what is the approach to update the image with latest code / template builds?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="4996" LastActivityDate="2021-03-20T15:39:09.637" Title="Sitecore setup using Azure VM Scale sets" Tags="|azure|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16431" PostTypeId="1" AcceptedAnswerId="16436" CreationDate="2019-02-03T08:03:35.433" Score="0" ViewCount="100" Body="&lt;p&gt;I am working on a site that has been serialized using TDS.  I am finding that in the Experience Editor I see body-top and body-bottom placeholders.  I've found mention of this issue being caused by the Theme not being serialized properly.  Have tried to get the person who created the site and added it to the repo to redo the theme with no more success than the first attempt.&lt;/p&gt;&#xA;&lt;p&gt;On looking at the tenant, site, and site settings - there are empty fields for things like the template and media library values.  If I look at the TDS items they have valid looking GUIDs as their values, and TDS believes that the Sitecore database has those values - but looking in Sitecore raw values the fields are blank.  If I search in Sitecore on that GUID - there is an item that exists.&lt;/p&gt;&#xA;&lt;p&gt;I have restored to Sitecore:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;/templates/Project/&amp;lt;Tenant&amp;gt;&#xA;/media library/themes/&amp;lt;tenant&amp;gt;&#xA;/media library/project/&amp;lt;tenant&amp;gt;&#xA;/forms/&amp;lt;tenant&amp;gt;&#xA;/content/&amp;lt;tenant&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I figure the fact that there are blank fields that should have a value is causing the issue with Experience Editor not working as expected (ie. showing these additional placeholders) - but am not sure why TDS thinks the field values are synched when I can't see that reflected in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="4050" LastEditDate="2021-10-05T05:57:43.510" LastActivityDate="2021-10-05T05:57:43.510" Title="SXA 1.8 site set up via TDS not serializing properly" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16432" PostTypeId="1" AcceptedAnswerId="16442" CreationDate="2019-02-03T09:46:34.990" Score="2" ViewCount="7347" Body="&lt;p&gt;This is the first time i deal with custom validations, but I need to create a unique email validation using sitecore 9.0.2 and SXA 1.7.1 so i was following this tutorial&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://sitecoresolution.blogspot.com/2018/04/sitecore-9-forms-server-validation-email-already-exists.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoresolution.blogspot.com/2018/04/sitecore-9-forms-server-validation-email-already-exists.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but i have a problem with this method: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual IFormDataProvider FormDataProvider&#xA;    {&#xA;        get&#xA;        {&#xA;            IFormDataProvider formDataProvider = this._dataProvider;&#xA;            if (formDataProvider == null)&#xA;            {&#xA;                IFormDataProvider service = ServiceLocator.ServiceProvider.GetService&amp;lt;IFormDataProvider&amp;gt;();&#xA;                IFormDataProvider formDataProvider1 = service;&#xA;                this._dataProvider = service;&#xA;                formDataProvider = formDataProvider1;&#xA;            }&#xA;            return formDataProvider;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;specifically this line: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IFormDataProvider service = ServiceLocator.ServiceProvider.GetService&amp;lt;IFormDataProvider&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;saying that: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'IServiceProvider' does not contain a definition for 'GetService' and the best extension method overload 'DependencyResolverExtensions.GetService(IDependencyResolver)' requires a receiver of type 'IDependencyResolver'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any ideas what might be the cause ? &lt;/p&gt;&#xA;" OwnerUserId="3694" LastEditorUserId="5096" LastEditDate="2019-05-18T14:25:37.683" LastActivityDate="2019-05-18T14:25:37.683" Title="'IServiceProvider' does not contain a definition for 'GetService'" Tags="|sxa|validation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16434" PostTypeId="2" ParentId="16432" CreationDate="2019-02-03T18:21:03.943" Score="6" Body="&lt;p&gt;Add &quot;using Microsoft.Extensions.DependencyInjection&quot; to your usings should solve it. I had the same problem and VS didn't added it automatically.&lt;/p&gt;&#xA;" OwnerUserId="3544" LastActivityDate="2019-02-03T18:21:03.943" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16435" PostTypeId="1" CreationDate="2019-02-03T20:11:53.533" Score="0" ViewCount="333" Body="&lt;p&gt;I am new to Sitecore hence, looking for help from Sitecore enthusiasts. &#xA;I am implementing a carousel using Glass Mapper (V8.2)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a data source (a simple folder) which has three carousels as child items each of which consists an image, text and multiple links (tree list of navigation links)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the model for each carousel:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{B4AF4BE8-A1C4-42E3-A578-9B7B69066B3A}&quot;, AutoMap = true)]&#xA;&#xA;public class Carousel&#xA;{&#xA;    [SitecoreField]&#xA;    public virtual Image CarouselImage { get; set; }&#xA;&#xA;    [SitecoreField]&#xA;    public virtual string CarouselText { get; set; }&#xA;&#xA;    [SitecoreField(FieldName = &quot;Links&quot;, Setting = SitecoreFieldSettings.InferType)]&#xA;    public virtual IEnumerable&amp;lt;NavigationItem&amp;gt; CarouselLinks { get; set; }&#xA;&#xA;}&#xA;&#xA;[SitecoreType(TemplateId = &quot;{E7D13789-22BF-491D-9CF4-D8C2A2D16724}&quot;, AutoMap = true)]&#xA;public class NavigationItem&#xA;{&#xA;    [SitecoreField]&#xA;    public virtual string Title { get; set; }&#xA;&#xA;    [SitecoreField(FieldType = SitecoreFieldType.GeneralLink)]&#xA;    public virtual Link Url { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is how my view looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var item in Model)&#xA;{&#xA;&#xA;    @Html.Glass().RenderImage(item, x =&amp;gt; x.CarouselImage, isEditable: true)&#xA;    &amp;lt;br /&amp;gt;&#xA;    @foreach (var link in item.CarouselLinks)&#xA;    {&#xA;        @Html.Glass().Editable(link,x=&amp;gt;x.Title)&#xA;        @Html.Glass().RenderLink(link, x =&amp;gt; x.Url, isEditable: true)&#xA;    }&#xA;&#xA;    &amp;lt;br /&amp;gt;&#xA;    @Html.Glass().Editable(item, x =&amp;gt; x.CarouselText)&#xA;&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am stuck on implementing the Controller where I could not get the child navigation item to be displayed. While debugging, I see it's only getting the links at level one and not the child links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4m1sY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4m1sY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;(For example here, the highlighted Tech Jobs is null)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var mvcContext = new MvcContext();&#xA;&#xA;var currentItem = RenderingContext.Current.Rendering.Item;&#xA;&#xA;IEnumerable&amp;lt;Carousel&amp;gt; carousels = currentItem.Children.Select(x =&amp;gt; mvcContext.SitecoreService.GetItem&amp;lt;Carousel&amp;gt;(x));&#xA;&#xA;return View(carousels);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your help/suggestions will be highly appreciated.&#xA;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4997" LastEditorUserId="4997" LastEditDate="2019-02-03T22:38:04.353" LastActivityDate="2019-02-03T22:38:04.353" Title="Implementing a Carousel with Glass Mapper for Sitecore" Tags="|glass-mapper|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16436" PostTypeId="2" ParentId="16431" CreationDate="2019-02-03T23:47:34.247" Score="1" Body="&lt;p&gt;Apparently it's a known Sitecore 9.1 bug. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The response from Hedgehog:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you try to serialize an item from the Sitecore admin page it will&#xA;  end up in the serialization folder. When you use that same&#xA;  already-serialized item as a re-introduce it to Sitecore using the&#xA;  Update option, it loses the values of these shared fields, TDS uses&#xA;  the same serialization/update logic behind the scenes as Sitecore, so&#xA;  that's why you're not seeing the fields updated.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and for further reference/discussion:&#xA;&lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn/issues/283&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreUnicorn/Unicorn/issues/283&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-02-04T00:10:01.247" LastActivityDate="2019-02-04T00:10:01.247" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16437" PostTypeId="1" CreationDate="2019-02-04T02:19:30.670" Score="3" ViewCount="14168" Body="&lt;p&gt;We are using react as client framework for building a SPA. In disconnected mode it works well but then in integrated mode I see the below error when we browse the page or preview it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clue as to what's missing in here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/am9kb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/am9kb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4981" LastEditorUserId="73" LastEditDate="2019-09-17T13:40:04.390" LastActivityDate="2019-09-17T13:40:04.390" Title="SSR issue: window not defined" Tags="|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16438" PostTypeId="2" ParentId="16437" CreationDate="2019-02-04T03:22:53.847" Score="9" Body="&lt;p&gt;The &lt;code&gt;window&lt;/code&gt; object is not available during server side rendering because Node.js does not have a &lt;code&gt;window&lt;/code&gt; object &#xA;- it is a browser construct. This is a scenario common to server side rendering (SSR) and JavaScript - it is not specific to JSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, there are different ways to workaround the problem depending on your app and what is actually trying to use &lt;code&gt;window&lt;/code&gt;. If it's your code, then try to move any references to &lt;code&gt;window&lt;/code&gt; into the &lt;code&gt;componentDidMount&lt;/code&gt; method - that is the appropriate place to interact directly with the DOM in React. Also, &lt;code&gt;componentDidMount&lt;/code&gt; is not invoked during SSR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the code that is referencing &lt;code&gt;window&lt;/code&gt; is in a 3rd party package/module, then you will want to try to conditionally load that package during rendering. Or conditionally render components from that package when &lt;code&gt;window&lt;/code&gt; is available, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (typeof window !== 'undefined') {&#xA;  // it's safe to use window now&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Again, there are several ways to handle this scenario, it largely depends on your situation and application. The primary takeaway is that during SSR you cannot use code that references the browser-specific constructs or objects like &lt;code&gt;window&lt;/code&gt; or the DOM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Related questions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/q/14030/319&quot;&gt;JSS Vue - getting error in server.bundle on deploy&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/q/11701/319&quot;&gt;JSS vue - Error with server.bundle.js after jss deploy package&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2019-09-17T12:36:34.427" LastActivityDate="2019-09-17T12:36:34.427" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16439" PostTypeId="1" CreationDate="2019-02-04T05:50:28.283" Score="0" ViewCount="88" Body="&lt;p&gt;Sitecore Experience Platform 8.1 rev. 160519.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I add a custom processor to the RenderLayout Pipeline to identify contacts.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Session.Identify(ContextUserName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ContextUserName&lt;/code&gt; adds a custom processor to the &lt;code&gt;userResolver&lt;/code&gt; Pipeline and gets it from the email address of &lt;code&gt;SAMLToken&lt;/code&gt; of Active Directory Federation Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Several users have a &lt;code&gt;Successor&lt;/code&gt; field when checking contact data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are identifying with the same &lt;code&gt;ContextUserName&lt;/code&gt;, you can not make new contacts, so I do not think that you can do &lt;code&gt;Successor&lt;/code&gt; data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why will &lt;code&gt;Successor&lt;/code&gt; be created by accessing the site with the same &lt;code&gt;ContextUserName&lt;/code&gt;? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When several people access the site from the same PC? Or when you accessed the site from multiple PCs? Or is it another case?&lt;/p&gt;&#xA;" OwnerUserId="3869" LastEditorUserId="277" LastEditDate="2019-02-04T09:44:30.630" LastActivityDate="2019-02-04T12:04:18.650" Title="When will Successor be created?" Tags="|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16440" PostTypeId="1" CreationDate="2019-02-04T06:30:33.017" Score="0" ViewCount="159" Body="&lt;p&gt;We are using Sitecore 9 Form with Custom Submit action for Creating new user (Registration Form). Here is the code for creating new user&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool CreateUser(UserDetails userDetails)&#xA;{&#xA;    //string userName = string.Concat(userDetails.FirstName, userDetails.LastName);&#xA;    string userName = userDetails.Email;&#xA;    string domainName = Sitecore.Context.Domain != null ? Sitecore.Context.Domain.Name : string.Empty;&#xA;    userName = string.Format(@&quot;{0}\{1}&quot;, domainName, userName);&#xA;    if (!Sitecore.Security.Accounts.User.Exists(userName))&#xA;    {&#xA;        Membership.CreateUser(userName, userDetails.Password, userDetails.Email);&#xA;&#xA;        // Edit the profile information&#xA;        Sitecore.Security.Accounts.User user = Sitecore.Security.Accounts.User.FromName(userName, true);&#xA;        Sitecore.Security.UserProfile userProfile = user.Profile;&#xA;        userProfile.FullName = string.Format(&quot;{0} {1}&quot;, userDetails.FirstName, userDetails.LastName);&#xA;        //userProfile.Comment = userDetails.Comment;&#xA;        //var profileItemId = Sitecore.Configuration.Settings.GetSetting(&quot;MyProfileItemId&quot;) != null ? Sitecore.Configuration.Settings.GetSetting(&quot;MyProfileItemId&quot;).ToString() : string.Empty;&#xA;        CustomConfigurations customConfiguration = new CustomConfigurations();&#xA;        var profileItemId = customConfiguration.GetSetting(&quot;MyProfileItemId&quot;);&#xA;        // Assigning the user profile template&#xA;        userProfile.SetPropertyValue(&quot;ProfileItemId&quot;, profileItemId);&#xA;&#xA;        // Have modified the user template to also contain telephone number and job title.&#xA;        userProfile.SetCustomProperty(&quot;FirstName&quot;, userDetails.FirstName != null ? userDetails.FirstName : string.Empty);&#xA;        userProfile.SetCustomProperty(&quot;LastName&quot;, userDetails.LastName != null ? userDetails.LastName : string.Empty);&#xA;        userProfile.SetCustomProperty(&quot;TelephoneNumber&quot;, userDetails.TelephoneNumber != null ? userDetails.TelephoneNumber : string.Empty);&#xA;        userProfile.SetCustomProperty(&quot;Extension&quot;, userDetails.Extension != null ? userDetails.Extension : string.Empty);&#xA;        userProfile.SetCustomProperty(&quot;AlternatePhoneNumber&quot;, userDetails.AlternatePhoneNumber != null ? userDetails.AlternatePhoneNumber : string.Empty);&#xA;        userProfile.SetCustomProperty(&quot;AlternatePhoneNumberExtension&quot;, userDetails.AlternatePhoneNumberExtension != null ? userDetails.AlternatePhoneNumberExtension : string.Empty);&#xA;        if (userDetails.IsHcp)&#xA;        {&#xA;            userProfile.SetCustomProperty(&quot;IsHcp&quot;, &quot;1&quot;);&#xA;            userProfile.SetCustomProperty(&quot;DateOfHCPUpdate&quot;, DateUtil.ToIsoDate(DateTime.Now));&#xA;        }&#xA;        userProfile.SetCustomProperty(&quot;PasswordResetKey&quot;, string.Empty);&#xA;        if (userDetails.IsSubscribedForUpdates&#xA;            {userProfile.SetCustomProperty(&quot;IsSubscribedForUpdates&quot;, &quot;1&quot;);&#xA;        }&#xA;        if (userDetails.IsAgreedForTermsAndConditions)&#xA;        {&#xA;            userProfile.SetCustomProperty(&quot;IsAgreedForTermsAndConditions&quot;, &quot;1&quot;);&#xA;        }&#xA;        userProfile.Save();&#xA;        return true;&#xA;    }&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The method is returning true but the user is getting created with username default\email always instead of my_domain/email and the custom domain is set in the below path&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Path&lt;/strong&gt;: /sitecore/content/{mysite}/Settings/Site Grouping/mysitedef1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Field&lt;/strong&gt;: Domain is set to my_domain&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The requirement is working fine in CM Server (my_domain/email)&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="70" LastEditDate="2019-02-04T14:12:30.530" LastActivityDate="2019-02-04T14:12:30.530" Title="Not able to get Custom Domain for CD server" Tags="|sxa|sitecore-forms|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16441" PostTypeId="1" AcceptedAnswerId="16478" CreationDate="2019-02-04T08:05:42.690" Score="2" ViewCount="2693" Body="&lt;p&gt;I tried to create an item using &lt;strong&gt;Item Service&lt;/strong&gt; in &lt;strong&gt;Sitecore.Services.Client&lt;/strong&gt;.&#xA;But when I try to create an item am facing &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;500 Internal server not found&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;error during item creation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below I attached the code sample that I used.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;                var xhr = new XMLHttpRequest();&#xA;                xhr.open(&quot;POST&quot;, &quot;http://sitecore91.sc/sitecore/api/ssc/item/sitecore/content/Home &quot;);&#xA;                xhr.setRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;);&#xA;                xhr.onreadystatechange = function () {&#xA;                    if (this.readyState == 4) {&#xA;                        alert('Status: ' + this.status + '\nHeaders: ' + JSON.stringify(this.getAllResponseHeaders()) + '\nBody: ' + this.responseText);&#xA;                    }&#xA;                };&#xA;                xhr.send(&quot;{\&quot;ItemName\&quot;: \&quot;Home\&quot;,\&quot;TemplateID\&quot;: \&quot;76036f5e-cbce-46d1-af0a-4143f9b557aa\&quot;}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="4765" LastEditDate="2019-05-15T13:14:51.737" LastActivityDate="2019-05-15T13:14:51.737" Title="500 Internal server error during item creation using Sitecore.services.client" Tags="|sitecore-services-client|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="16442" PostTypeId="2" ParentId="16432" CreationDate="2019-02-04T09:13:23.983" Score="4" Body="&lt;p&gt;You need to add a reference &lt;code&gt;Microsoft.Extensions.DependencyInjection.Abstractions.dll&lt;/code&gt; to your project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not enough to have &lt;code&gt;Microsoft.Extensions.DependencyInjection.dll&lt;/code&gt; referenced only.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-04T09:13:23.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16444" PostTypeId="1" AcceptedAnswerId="16461" CreationDate="2019-02-04T09:35:28.967" Score="2" ViewCount="3550" Body="&lt;p&gt;I am using Sitecore 9.1. I can able to run my sample angular application in connected mode using the command &quot;&gt;jss start:connected&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But i cant able to open my site in local integrated mode , even in experience editor mode. Its throwing below error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below image is in normal mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pUqd4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pUqd4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below image is in experience mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6xW3R.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6xW3R.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Value cannot be null. Parameter name: address**&#xA;    at System.Net.WebClient.UploadString(String address, String data)&#xA;    at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.Http.HttpNodeInstance.InvokeExport[T](NodeInvocationInfo invocationInfo)&#xA;    at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance.InvokeExport[T](String moduleName, String exportNameOrNull, Object[] args)&#xA;    at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExportWithPossibleRetry[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry)&#xA;    at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExportWithPossibleRetry[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry)&#xA;    at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExport[T](String moduleName, String exportedFunctionName, Object[] args)&#xA;    at Sitecore.JavaScriptServices.ViewEngine.Node.NodeRenderEngine.Invoke[T](String moduleName, String functionName, Object[] functionArgs)&#xA;    at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.PerformRender(TextWriter writer, IRenderEngine renderEngine, String moduleName, String functionName, Object[] functionArgs)&#xA;    at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.Render(TextWriter writer)&#xA;    at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My scconfig.json below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;sitecore&quot;: {&#xA;    &quot;instancePath&quot;: &quot;C:\\inetpub\\wwwroot\\sc910.sc&quot;,&#xA;    &quot;apiKey&quot;: &quot;{A3175524-032C-40F2-88EA-E3C9D57B8D40}&quot;,&#xA;    &quot;deploySecret&quot;: &quot;6g9003yzzjr14fgu0lojm8ccj6ztqsnodpyr6yrlgjttr&quot;,&#xA;    &quot;deployUrl&quot;: &quot;http://sc910.sc/sitecore/api/jss/import&quot;,&#xA;    &quot;layoutServiceHost&quot;: &quot;http://my-angular.dev.local&quot;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I checked node path environment variable als. Everything fine. How to troubleshoot this.&lt;/p&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="70" LastEditDate="2019-02-04T14:28:23.363" LastActivityDate="2024-01-25T17:26:34.457" Title="Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Value cannot be null. Parameter name: address" Tags="|jss|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16445" PostTypeId="1" CreationDate="2019-02-04T10:35:40.480" Score="3" ViewCount="1469" Body="&lt;p&gt;I'm trying to get the  form data and store it in text file. I'm not getting the form data in the code. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.IO;&#xA;using System.Linq;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.ExperienceForms.Models;&#xA;using Sitecore.ExperienceForms.Processing;&#xA;using Sitecore.ExperienceForms.Processing.Actions;&#xA;using static System.FormattableString;&#xA;using Newtonsoft.Json;&#xA;using System.Collections.Generic;&#xA;&#xA;namespace Sitecore.ExperienceForms.Samples.SubmitActions&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Executes a submit action for logging the form submit status.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;seealso cref=&quot;Sitecore.ExperienceForms.Processing.Actions.SubmitActionBase{TParametersData}&quot; /&amp;gt;&#xA;    public class LogSubmit : SubmitActionBase&amp;lt;string&amp;gt;&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Initializes a new instance of the &amp;lt;see cref=&quot;LogSubmit&quot;/&amp;gt; class.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;submitActionData&quot;&amp;gt;The submit action data.&amp;lt;/param&amp;gt;&#xA;        public LogSubmit(ISubmitActionData submitActionData) : base(submitActionData)&#xA;        {&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Tries to convert the specified &amp;lt;paramref name=&quot;value&quot; /&amp;gt; to an instance of the specified target type.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;value&quot;&amp;gt;The value.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;target&quot;&amp;gt;The target object.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&#xA;        /// true if &amp;lt;paramref name=&quot;value&quot; /&amp;gt; was converted successfully; otherwise, false.&#xA;        /// &amp;lt;/returns&amp;gt;&#xA;        protected override bool TryParse(string value, out string target)&#xA;        {&#xA;            target = string.Empty;&#xA;            return true;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Executes the action with the specified &amp;lt;paramref name=&quot;data&quot; /&amp;gt;.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;data&quot;&amp;gt;The data.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;formSubmitContext&quot;&amp;gt;The form submit context.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&#xA;        ///   &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; if the action is executed correctly; otherwise &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;&#xA;        /// &amp;lt;/returns&amp;gt;&#xA;        protected override bool Execute(string data, FormSubmitContext formSubmitContext)&#xA;        {&#xA;            createFile(data, formSubmitContext);&#xA;&#xA;            Assert.ArgumentNotNull(formSubmitContext, nameof(formSubmitContext));&#xA;&#xA;            if (!formSubmitContext.HasErrors)&#xA;            {&#xA;                Logger.Info(Invariant($&quot;Form {formSubmitContext.FormId} submitted successfully.&quot;), this);&#xA;            }&#xA;            else&#xA;            {&#xA;                Logger.Warn(Invariant($&quot;Form {formSubmitContext.FormId} submitted with errors: {string.Join(&quot;, &quot;, formSubmitContext.Errors.Select(t =&amp;gt; t.ErrorMessage))}.&quot;), this);&#xA;            }&#xA;&#xA;            return true;&#xA;        }&#xA;&#xA;        private static IViewModel GetFieldById(Guid id, IList&amp;lt;IViewModel&amp;gt; fields)&#xA;        {&#xA;            return fields.FirstOrDefault(f =&amp;gt; Guid.Parse(f.ItemId) == id);&#xA;        }&#xA;&#xA;        public void createFile(string data, FormSubmitContext formSubmitContext)&#xA;        {&#xA;            string path = @&quot;C:\inetpub\wwwroot\sc-health-grades.sc\SCTest.txt&quot;;&#xA;            if (!File.Exists(path))&#xA;            {&#xA;                // Create a file to write to.&#xA;                using (StreamWriter sw = File.CreateText(path))&#xA;                {&#xA;                    sw.WriteLine(&quot;Hello&quot;);&#xA;                    sw.WriteLine(&quot;And&quot;);&#xA;                    sw.WriteLine(&quot;Welcome&quot;);&#xA;                    sw.WriteLine(data);&#xA;                    sw.WriteLine(data);&#xA;                    sw.WriteLine(formSubmitContext.FormId);&#xA;                    sw.WriteLine(formSubmitContext.ButtonId);&#xA;                    var emailid = &#xA;                    /// var jsonString = JsonConvert.SerializeObject(formSubmitContext.Fields.SingleOrDefault());&#xA;                    /// sw.WriteLine(jsonString);&#xA;                    sw.WriteLine(&quot;Has errors: &quot; + formSubmitContext.HasErrors);&#xA;&#xA;                }&#xA;            }&#xA;&#xA;            // Open the file to read from.&#xA;            using (StreamReader sr = File.OpenText(path))&#xA;            {&#xA;                string s = &quot;&quot;;&#xA;                while ((s = sr.ReadLine()) != null)&#xA;                {&#xA;                    Console.WriteLine(s);&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;can someone help me on what I'm doing wrong here ?&lt;/p&gt;&#xA;" OwnerUserId="5001" LastEditorUserId="237" LastEditDate="2019-02-04T10:51:09.047" LastActivityDate="2019-02-05T09:17:50.170" Title="Not getting form data on custom Save action form submit" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16446" PostTypeId="2" ParentId="16445" CreationDate="2019-02-04T10:50:26.997" Score="4" Body="&lt;p&gt;The &quot;data&quot; string you are referring to holds the configuration of your submit action. This does not contain the content of the form. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On your submit action sitecore item, the config is stored as json in the parameters field. This json is deserialised into a class you need to create that is passed to your custom submitaction in the &quot;data&quot; parameter. So this &quot;data&quot; you are referring to, is actualy just configuration.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/4Y9qJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4Y9qJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The content of the form can be found in the formSubmitContext.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a look at the sitecore documentation on how to build custom submit action.&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-submit-action.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-submit-action.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-02-04T10:50:26.997" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16447" PostTypeId="2" ParentId="16372" CreationDate="2019-02-04T10:58:11.170" Score="6" Body="&lt;p&gt;looking at the url for the solr in the error description it seem like there is a &quot;/ &quot; to much &#xA;- &lt;a href=&quot;https://localhost:8984/solr//admin&quot; rel=&quot;noreferrer&quot;&gt;https://localhost:8984/solr//admin&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ensure your parameter in the powershell doesn’t contain a traling '/'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;should be something like&#xA;$SolrUrl = &quot;&lt;a href=&quot;https://localhost:8984/solr&quot; rel=&quot;noreferrer&quot;&gt;https://localhost:8984/solr&lt;/a&gt;&quot;&lt;/p&gt;&#xA;" OwnerUserId="659" LastEditorUserId="659" LastEditDate="2019-02-04T19:09:25.700" LastActivityDate="2019-02-04T19:09:25.700" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16448" PostTypeId="2" ParentId="16439" CreationDate="2019-02-04T12:04:18.650" Score="1" Body="&lt;p&gt;&lt;code&gt;Successor&lt;/code&gt; field is added during &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/merge-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;contact merge&lt;/a&gt; operation. Contact merge is started when initially anonymous website visitor becomes identified. In that case the old contact get &lt;code&gt;Successor&lt;/code&gt; set to the id of the new contact which will be used from now on. You can read more &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/identifying-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;contact identification&lt;/a&gt; process.&#xA;If you don't want contacts to contain Successor field, I would ensure that &lt;code&gt;Identify&lt;/code&gt; is called in all sessions, ie. no anonymous contacts are saved.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2019-02-04T12:04:18.650" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16450" PostTypeId="1" CreationDate="2019-02-04T14:17:19.020" Score="2" ViewCount="186" Body="&lt;p&gt;I know that List Manager is just a filtered lookup xDB contacts. But is it possible to create a list that has custom c# pipelines. That could call out to an API and returns an IEnumerable of email addresses?&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-05T22:50:48.383" Title="List manager that is driven by code" Tags="|list-manager|" AnswerCount="2" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="16451" PostTypeId="2" ParentId="16441" CreationDate="2019-02-04T15:28:19.437" Score="0" Body="&lt;p&gt;According to the &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/the-restful-api-for-the-itemservice.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;ItemService documentation&lt;/a&gt;, the item path needs to be URL encoded, and your code does not do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where your code does the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;xhr.open(&quot;POST&quot;, &quot;http://sitecore91.sc/sitecore/api/ssc/item/sitecore/content/Home &quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The proper way should be this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;xhr.open(&quot;POST&quot;, &quot;http://sitecore91.sc/sitecore/api/ssc/item/sitecore%2Fcontent%2Fhome&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3587" LastActivityDate="2019-02-04T15:28:19.437" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16452" PostTypeId="1" AcceptedAnswerId="16453" CreationDate="2019-02-04T15:34:32.907" Score="2" ViewCount="399" Body="&lt;p&gt;Original questions asked by a member of the community Friederike Heinze on the #sxa Slack channel.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I would like to add an image field to the &lt;strong&gt;Link&lt;/strong&gt; component. The additional rendering of the image field is no problem thanks to the rendering variants. But if I want to add a template field &lt;em&gt;Image&lt;/em&gt; to the datasource item, I have to clone the whole rendering, because I am not allowed to edit the default SXA templates.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;What is the proper way to extend existing component data sources without modifying the original template?&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-02-04T15:38:28.687" LastActivityDate="2019-02-04T15:41:17.123" Title="What is the proper way to add new fields to an existing SXA component data source?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16453" PostTypeId="2" ParentId="16452" CreationDate="2019-02-04T15:34:32.907" Score="4" Body="&lt;p&gt;Adam Najmanowicz provided this nice image to aid in explaining.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qJPqP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qJPqP.png&quot; alt=&quot;Thanks Adam&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Under your current tenant site, create a new Datasource Configuration.&lt;/li&gt;&#xA;&lt;li&gt;Select rendering for which this new configuration is used.&lt;/li&gt;&#xA;&lt;li&gt;Specify your new datasource item template; this should inherit from the existing SXA data source item template.&lt;/li&gt;&#xA;&lt;li&gt;Specify the folder containing the data sources.&lt;/li&gt;&#xA;&lt;li&gt;Profit!&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you choose the existing &lt;em&gt;Links&lt;/em&gt; folder the Insert Options do not include your new template. You can either update the Insert Options on the folder to include the necessary template(s) or use a different folder for your custom data sources. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aBvyP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aBvyP.png&quot; alt=&quot;Missing custom template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-02-04T15:41:17.123" LastActivityDate="2019-02-04T15:41:17.123" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16455" PostTypeId="1" AcceptedAnswerId="16457" CreationDate="2019-02-04T16:28:07.180" Score="2" ViewCount="280" Body="&lt;p&gt;Say please what is the best way to convert Sitecore datetime string (20170401T073000Z) to javascript Date object ?&lt;/p&gt;&#xA;" OwnerUserId="4995" LastActivityDate="2019-02-04T18:56:40.730" Title="Sitecore datetime to javascript Date object" Tags="|javascript|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16456" PostTypeId="2" ParentId="16423" CreationDate="2019-02-04T16:38:32.347" Score="1" Body="&lt;p&gt;The way I solved my problem is that  I checked Datasource Item Children Resolver option of my rendering in Sitecore admin panel, Layout Service tab, Rendering contents resolver menu. After that component gets props with array of items in data source folder instead of id of datasource folder.&lt;/p&gt;&#xA;" OwnerUserId="4995" LastEditorUserId="4995" LastEditDate="2019-02-04T18:34:48.393" LastActivityDate="2019-02-04T18:34:48.393" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16457" PostTypeId="2" ParentId="16455" CreationDate="2019-02-04T16:54:44.433" Score="2" Body="&lt;p&gt;JavaScript equivalent of ISO date format used in Sitecore is &lt;code&gt;2017-04-01T07:30:00Z&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You first need to convert from &lt;code&gt;20170401T073000Z&lt;/code&gt; to &lt;code&gt;&#xA;2017-04-01T07:30:00Z&lt;/code&gt; and then create new Date object:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var dateString = &quot;20170401T073000Z&quot;;&#xA;&#xA;// change string to &quot;2017-04-01T07:30:00Z&quot;;&#xA;var formattedDateString = dateString.substr(0, 4) &#xA;    + &quot;-&quot; + dateString.substr(4, 2)&#xA;    + &quot;-&quot; + dateString.substr(6, 5)&#xA;    + &quot;:&quot; +  dateString.substr(11, 2)&#xA;    + &quot;:&quot; + dateString.substr(13, 3);&#xA;&#xA;// create date obj with Timezone info&#xA;var dateObj = new Date(formattedDateString);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-02-04T18:56:40.730" LastActivityDate="2019-02-04T18:56:40.730" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16458" PostTypeId="2" ParentId="9563" CreationDate="2019-02-04T17:06:22.510" Score="2" Body="&lt;p&gt;If you are trying to search the text of a pdf file you'll need to use iFilter.  for my solution, I used &lt;a href=&quot;https://pdfbox.apache.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;PDFBox&lt;/a&gt; so I could search pdf files.  It is available as a nuget package.  I also had to install the &lt;a href=&quot;https://support.microsoft.com/en-us/help/2687447/description-of-office-2010-filter-pack-sp2&quot; rel=&quot;nofollow noreferrer&quot;&gt;Microsoft filtering pack&lt;/a&gt; on the servers as well for searching microsoft documents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used a computed field which used my custom class using PDFBox to extract the text of the pdf file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;:&#xA;    &amp;lt;field fieldName=&quot;_content&quot; returnType=&quot;string&quot; type=&quot;xxx.Business.Search.PdfCrawlerV2,xxx.Business&quot;&amp;gt;&#xA; xxx.Business.Search.PdfCrawlerV2,xxx.Business&#xA;    &amp;lt;/field&amp;gt; &#xA;:&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works like a charm!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are other iFilters as well and not all are free.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://supportdownloads.adobe.com/thankyou.jsp?ftpID=5542&amp;amp;fileID=5550&quot; rel=&quot;nofollow noreferrer&quot;&gt;Adobe PDF iFilter&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.foxitsoftware.com/products/pdf-ifilter/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Foxit&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.nuget.org/packages/iTextSharp/&quot; rel=&quot;nofollow noreferrer&quot;&gt;iTextSharp&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:  When indexing documents, indexing time drastically slows down!&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="3235" LastEditorUserId="3235" LastEditDate="2019-02-04T19:36:32.423" LastActivityDate="2019-02-04T19:36:32.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16459" PostTypeId="2" ParentId="16423" CreationDate="2019-02-04T17:14:32.183" Score="1" Body="&lt;p&gt;In my case i just used the GraphQL, something like the below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Path of my folder item is passed as parameter [hope you might be able to retrieve by ID as well] and i navigated through the child items of this folder and retrieved the fields which we wanted to render.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query RetrieveContentBlocks($itemPath: String = &quot;/sitecore/content/poc-app/Content Blocks&quot;) {&#xA;  dataSourceFolderItem: item(path: $itemPath)&#xA;  {&#xA;    name&#xA;    path&#xA;    children&#xA;    {&#xA;      name&#xA;      headingValue: field(name:&quot;heading&quot;)&#xA;      {&#xA;        value&#xA;      }&#xA;      contentValue: field(name:&quot;content&quot;)&#xA;      {&#xA;        value&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note - I used the above query in my jss component but i guess this can be used in the plain react as well.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-02-04T17:14:32.183" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16460" PostTypeId="2" ParentId="16399" CreationDate="2019-02-04T17:42:45.747" Score="1" Body="&lt;p&gt;If your DataSource item is just a folder item and if you would like to retrieve the child items available under the datasource folder then you may also use the GraphQL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Query will be something like below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query RetrieveContentBlocks($itemPath: String = &quot;/sitecore/content/poc-app/Content Blocks&quot;) {&#xA;  rootItem: item(path: $itemPath)&#xA;  {&#xA;    children&#xA;    {&#xA;      linkValue: field(name:&quot;customlink&quot;)&#xA;      {&#xA;        jss&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can render something like the below..&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     &amp;lt;ul&amp;gt;&#xA;      {rootItem.children.map((child) =&amp;gt; (&#xA;        &amp;lt;li key={child.name}&amp;gt;&#xA;          &amp;lt;Link field={child.linkValue.jss} /&amp;gt;&#xA;        &amp;lt;/li&amp;gt;&#xA;      ))}&#xA;    &amp;lt;/ul&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;instead of the jss property you can also retrieve the &quot;text&quot;, &quot;target&quot;, &quot;url&quot; properties and render the link on your own.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-02-04T17:42:45.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16461" PostTypeId="2" ParentId="16444" CreationDate="2019-02-04T19:27:18.640" Score="4" Body="&lt;p&gt;I would start by checking your node version to ensure it is the latest LTS version (currently 10.15.1), which is what we generally recommend: &lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/jss-server-install#nodejs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/jss-server-install#nodejs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error you're seeing basically indicates that the node.exe instance is not running and that the Sitecore-to-Node rendering engine is not able to communicate with the Node instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: you &lt;em&gt;may&lt;/em&gt; be able to use Node 8.11 or greater, but we'd still recommend latest LTS. Your mileage may vary.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-02-04T19:27:18.640" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16462" PostTypeId="2" ParentId="16450" CreationDate="2019-02-04T21:14:51.937" Score="4" Body="&lt;p&gt;I spent some time to have a look deeper at the List Management tool. Finally I didn't find a way how we can &quot;inject&quot; custom code to load &quot;external&quot; list of email address. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But anyway, even if you find a way how to implement it, in my point of view, we have a few reasons why it is not a good idea:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;As you mentioned in the question, Sitecore List is not really a list of address, it is a list of Contacts;&lt;/li&gt;&#xA;&lt;li&gt;When you choose lists during setting up an EXM email campaign, you don't assign email addresses for the campaign, you just assign list ids for it. Contacts populating happens during dispatching process;&lt;/li&gt;&#xA;&lt;li&gt;EXM expects contacts as a source or target for sending emails. It extends a links with a keys built based on the contact id. It allows EXM to track clicks, opens and another events associated with email. But if you decided somehow to use independent email addresses, you will definitely lose an ability using all power of EXM email analytic. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Finally, I had the following ideas how to achieve your goal. I haven't found a solution, maybe you will:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I thought we can implement custom List Provider, but I didn't find a configuration which allows us to load it. So I didn't find any List Provider at all;&lt;/li&gt;&#xA;&lt;li&gt;Lists have sources. I though we can &quot;inject&quot; something as a source for a list, but I also didn't find how to do that.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-02-04T21:14:51.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16463" PostTypeId="2" ParentId="15151" CreationDate="2019-02-04T21:44:59.680" Score="0" Body="&lt;p&gt;I would add one thing here, be careful where your Application Dependency Graph is defined. It should be as close to the application entry point as possible. You should avoid this type of logic bleeding into your application code as its strictly not part of your application but part of bootstrapping IMO.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A solution with lots of these types resolvers may become a maintenance issue as the composition roots footprint can start to spread. The MS container defines a common abstraction where you can easily replace it with another feature-rich IOC container where you can use a factory to return a type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I disagree with the common abstraction and usually champion the idea of a second container that contains your application registrations with focused adaptors back to the Sitecore container for Sitecore dependencies. If you want to find out more of my motivation behind this have a read of a &lt;a href=&quot;https://blog.gravypower.net/2018/05/21/two-containers-are-better-than-one/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog article&lt;/a&gt; I published on the topic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whatever approach you choose to take think about maintenance as at the end of the day this is the biggest cost in Software Development.&lt;/p&gt;&#xA;" OwnerUserId="3727" LastActivityDate="2019-02-04T21:44:59.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16464" PostTypeId="1" CreationDate="2019-02-04T22:01:40.403" Score="0" ViewCount="1528" Body="&lt;p&gt;I have a view that works fine to display &lt;code&gt;rendering parameters&lt;/code&gt; for a title and body of a widget, however, I've added a checkbox field to the rendering items for that template and when I try to use it in the view to check it seems to give me a null reference exception.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried checking to see if &lt;code&gt;RenderingContext.Current.Rendering.Parameters[&quot;Expandable&quot;]&lt;/code&gt; is equal to &quot;0&quot; or &quot;false&quot; but this fails regardless of whether the checkbox is checked or not and when I try to display &lt;code&gt;RenderingContext.Current.Rendering.Parameters[&quot;Expandable&quot;]&lt;/code&gt; as part of the body of the widget it throws a &lt;code&gt;null reference&lt;/code&gt; exception. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I retrieve the value of such a &lt;code&gt;rendering parameter&lt;/code&gt; within the view?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="5096" LastEditDate="2019-05-18T14:25:48.710" LastActivityDate="2019-05-18T14:25:48.710" Title="Checking for a checkbox rendering parameter value in view" Tags="|presentation|templates|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16465" PostTypeId="2" ParentId="16429" CreationDate="2019-02-04T23:19:36.607" Score="1" Body="&lt;p&gt;I know a company that successfully implemented Sitecore on Azure Scale Sets because of the prohibitive cost of Azure Web Apps  deployed to a virtual private network (App Service Environment) and regulatory requirements. Here is a high level overview:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create Azure Managed image from a marketplace image using &lt;a href=&quot;https://www.packer.io/docs/builders/azure.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Hashicorp packer&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Provision scale set using &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-authoring-templates&quot; rel=&quot;nofollow noreferrer&quot;&gt;ARM Template&lt;/a&gt; with the managed image described above, &lt;a href=&quot;https://octopus.com/docs/infrastructure/deployment-targets/windows-targets/azure-virtual-machines/via-an-arm-template&quot; rel=&quot;nofollow noreferrer&quot;&gt;Octopus Deploy tentacle&lt;/a&gt;, and &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/oms-windows&quot; rel=&quot;nofollow noreferrer&quot;&gt;OMS Agent extension&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Patch scale set VM instances using &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/automation/automation-tutorial-update-management&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Automation&lt;/a&gt;, which uses OMS Agent to install necessary Windows Updates.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Scale set image is not used to deliver code changes, but is rather used to establish infrastructure for Octopus Deploy, which then deploys Sitecore.&lt;/p&gt;&#xA;&lt;p&gt;Alternative solution is not to create custom managed image but provision scale set directly from a marketplace image and configure VM using DCS extension. This approach however will significantly increase VM startup during auto scaling.&lt;/p&gt;&#xA;&lt;p&gt;Update 2021: This answer was for Sitecore 9, newer versions might have better deployment options in IaaS using containers.&lt;/p&gt;&#xA;" OwnerUserId="1869" LastEditorUserId="1869" LastEditDate="2021-03-20T15:39:09.637" LastActivityDate="2021-03-20T15:39:09.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16466" PostTypeId="1" CreationDate="2019-02-05T04:38:51.210" Score="1" ViewCount="227" Body="&lt;p&gt;Our Production instance is hosted in Azure and getting so many failed requests with the below error. Not sure what could be the reason&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;An error occured while downloading the index 'xdb' schema. Response status code does not indicate success: 403 (Forbidden).&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aAvBD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aAvBD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Complete error from Azure:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Xdb.Collection.Search.Azure.Failures.AzureResponseException:&#xA;    at Sitecore.Xdb.Collection.Search.Azure.AzureResults.HttpResponseMessageExtensions+&amp;lt;EnsureSuccessfulResponse&amp;gt;d__0.MoveNext (Sitecore.Xdb.Collection.Search.Azure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;    at Sitecore.Xdb.Collection.Search.Azure.Schema.IndexDeployer+&amp;lt;GetIndexSchema&amp;gt;d__7.MoveNext (Sitecore.Xdb.Collection.Search.Azure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;    at Sitecore.Xdb.Collection.Search.Azure.Schema.IndexDeployer+&amp;lt;UpsertSchema&amp;gt;d__8.MoveNext (Sitecore.Xdb.Collection.Search.Azure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;    at Sitecore.Xdb.Collection.Search.Azure.IndexingInitializer+&amp;lt;Initialize&amp;gt;d__11.MoveNext (Sitecore.Xdb.Collection.Search.Azure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)&#xA;    at Sitecore.Xdb.Collection.Indexing.SingleThreadedIndexer+&amp;lt;RunInThread&amp;gt;d__6.MoveNext (Sitecore.Xdb.Collection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;    Inner exception System.Net.Http.HttpRequestException handled at Sitecore.Xdb.Collection.Search.Azure.AzureResults.HttpResponseMessageExtensions+&amp;lt;EnsureSuccessfulResponse&amp;gt;d__0.MoveNext:&#xA;    at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode (System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)&#xA;    at Sitecore.Xdb.Collection.Search.Azure.AzureResults.HttpResponseMessageExtensions+&amp;lt;EnsureSuccessfulResponse&amp;gt;d__0.MoveNext (Sitecore.Xdb.Collection.Search.Azure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below error is recorded multiple times in Sitecore log. Not sure whether this is related anyway.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2844 2019:02:04 23:51:03 ERROR Cannot start analytics Tracker&#xA;Exception: System.InvalidOperationException&#xA;Message: The certificate was not found.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.DataStorage.ReferenceDataClientDictionary.EnsureDefinitionType(String definitionTypeName)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.DataStorage.ReferenceDataClientDictionary.LoadAs[T](Object key)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.AverageCounterExtensions.MeasureMilliseconds[T](AverageCounter counter, Func`1 func)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.ReferenceDataDictionary`2.Get(TKey key, LookupStrategy strategy)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.UserAgentsDictionary.Register(String userAgentName)&#xA;   at Sitecore.Analytics.Tracking.CurrentVisitContext.set_UserAgent(String value)&#xA;   at Sitecore.Analytics.Pipelines.CreateVisits.InitializeWithRequestData.Process(CreateVisitArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.CreateVisits.CreateVisitPipeline.Run(CreateVisitArgs args)&#xA;   at Sitecore.Analytics.Tracking.StandardSession.CreateInteraction(HttpContextBase httpContext)&#xA;   at Sitecore.Analytics.Pipelines.InitializeTracker.CreateVisit.Process(InitializeTrackerArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.InitializeTracker.InitializeTrackerPipeline.Run(InitializeTrackerArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.StartTracking.StartTrackingPipeline.Run(StartTrackingArgs args)&#xA;   at Sitecore.Analytics.DefaultTracker.StartTracking()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="4164" LastEditDate="2019-02-05T10:41:40.653" LastActivityDate="2019-08-29T11:41:57.827" Title="An error occured while downloading the index 'xdb' schema" Tags="|xdb|xconnect|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16468" PostTypeId="2" ParentId="16464" CreationDate="2019-02-05T04:48:37.210" Score="0" Body="&lt;p&gt;Verify if you have inherited &quot;Standard Rendering Parameter&quot; for your rendering parameters template. Sitecore won't be able to detect the fields as rendering parameters otherwise.&lt;/p&gt;&#xA;" OwnerUserId="1508" LastActivityDate="2019-02-05T04:48:37.210" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16469" PostTypeId="2" ParentId="16388" CreationDate="2019-02-05T05:04:44.620" Score="0" Body="&lt;p&gt;Looks like your HTML cache is not getting cleared after publish in CD environments.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure your site is configured to clear cache on publish:end and&#xA;publish:end:remote events. The config should look like this:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;            &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;                &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                    &amp;lt;site hint=&quot;website&quot;&amp;gt;website&amp;lt;/site&amp;gt;&#xA;                &amp;lt;/sites&amp;gt;&#xA;             &amp;lt;/handler&amp;gt;&#xA;        &amp;lt;event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If you have any custom publish:end events, verify if they are&#xA;executed successfully. If one of the event is failed, It could affect&#xA;all events in queue.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1508" LastActivityDate="2019-02-05T05:04:44.620" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16471" PostTypeId="1" CreationDate="2019-02-05T05:51:10.213" Score="3" ViewCount="87" Body="&lt;p&gt;In an Azure PaaS XP Single installation of Sitecore 9.1 using Azure Search, I have installed SXA 1.8. This has pushed the Sitecore Master index field count to just over the 1000 field limit in Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone offer guidance as to what additional fields can be safely excluded other than those which are already excluded by the existing 9.1 configs ?&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2019-02-05T05:51:10.213" Title="SXA 1.8 Sitecore 9.1 Azure Search field limit reached on default install" Tags="|sxa|azure-search|" AnswerCount="0" CommentCount="2" ClosedDate="2019-02-16T08:59:07.973" ContentLicense="CC BY-SA 4.0" />
  <row Id="16473" PostTypeId="1" AcceptedAnswerId="17289" CreationDate="2019-02-05T08:03:19.050" Score="1" ViewCount="315" Body="&lt;p&gt;I am trying to install SXA 1.8.0 on Sitecore 9.1 environment (my local pc as testing) but I cannot install Sitecore Powershell Extension 4.7.2/5.0 which is required to be installed before SXA installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error messages are shown as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #3 16:37:48 ERROR Error installing &#xA;items/master/sitecore/system/Settings/Rules/Definitions/Elements/PowerShell &#xA;Experience Buttons/Chrome Type/of Type/{F5D1B95B-30D3-4738-B41E-6884517CB485}/en/1/xml&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Kernel&#xA;Location Sitecore.Data.DataProviders.Sql.SqlDataProvider.ResolvePathRec(String[] path, PathCache cache, CallContext context)&#xA;Location Sitecore.Data.DataProviders.DataProvider.ResolvePath(String itemPath, CallContext context, DataProviderCollection providers)&#xA;Location Sitecore.Nexus.Data.DataCommands.ResolvePathCommand.​‏⁮⁯⁪⁫‬‎⁯⁪‏‭‮‬‎‫⁭⁬‭‍‮‎⁪⁪⁯⁪⁮‭‪‮⁭⁪‍⁭‌⁭‌⁭‬‫‮(String , Database )&#xA;Location Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;Location Sitecore.Data.Managers.ItemProvider.GetItem(String itemPath, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;Location Sitecore.ContentTesting.Pipelines.ItemProvider.GetItem.GetItemUnderTestProcessor.Process(GetItemArgs args)&#xA;Location (Object , Object )&#xA;Location Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;Location Sitecore.Data.Managers.DefaultItemManager.GetItem(String itemPath, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;Location Sitecore.Data.Managers.DefaultItemManager.GetItem(String itemPath, Language language, Version version, Database database)&#xA;Location Sitecore.Data.Managers.ItemManager.GetItem(String itemPath, Language language, Version version, Database database)&#xA;Location Sitecore.Install.Items.ItemReference.GetItem()&#xA;Location Sitecore.Install.Items.ItemInstaller.GetTargetItem(ItemReference reference, Boolean&amp;amp; ignorePathCollision)&#xA;Location Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp; removeVersions)&#xA;Location Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone faced this issue before?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="2056" LastEditDate="2019-03-07T09:50:00.870" LastActivityDate="2019-03-07T09:50:00.870" Title="Installing SPE 4.7.2/5.0 on Sitecore XP 9" Tags="|powershell-extensions|installation|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16477" PostTypeId="1" AcceptedAnswerId="16481" CreationDate="2019-02-05T13:14:34.597" Score="1" ViewCount="365" Body="&lt;p&gt;I was wondering if there was &lt;strong&gt;something more modern&lt;/strong&gt; than having to create a Model item under /sitecore/layout/Models for every view rendering I have.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I'm informing the view the &lt;strong&gt;namespace and type&lt;/strong&gt; I want as Model, why can't the view infer automatically somehow this information and auto-populate my model with the right fields?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="73" LastEditDate="2019-02-05T13:19:10.547" LastActivityDate="2019-02-05T15:01:50.757" Title="Is creating a Model under /sitecore/layout/Models a best pratice?" Tags="|mvc|best-practices|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16478" PostTypeId="2" ParentId="16441" CreationDate="2019-02-05T14:00:37.530" Score="2" Body="&lt;p&gt;We need to provide access rights to sitecore\ServicesAPI user.&#xA;I was fixed that error by setting admin rights to &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;sitecore\ServicesAPI&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;user in usermanger.&lt;/p&gt;&#xA;" OwnerUserId="4765" LastActivityDate="2019-02-05T14:00:37.530" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16479" PostTypeId="1" AcceptedAnswerId="17063" CreationDate="2019-02-05T14:38:30.010" Score="1" ViewCount="449" Body="&lt;p&gt;The instructions for configuring a sub-provider for the Sitecore Identity Server (&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&lt;/a&gt;) tell you to create a Sitecore Framework Plugin-based project in Visual Studio. Where can I find the source for this project template or further instructions as to how to create this type of project?&lt;/p&gt;&#xA;" OwnerUserId="5013" LastActivityDate="2019-02-26T14:01:24.287" Title="How to create a Sitecore Framework Plugin-based project in Visual Studio" Tags="|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16480" PostTypeId="2" ParentId="16477" CreationDate="2019-02-05T14:59:35.813" Score="0" Body="&lt;p&gt;I would recommend using a &lt;strong&gt;Controller Rendering&lt;/strong&gt; instead of a &lt;strong&gt;View Rendering&lt;/strong&gt; for a few reasons:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You do not need to specify a model type in &lt;code&gt;/sitecore/layout/Models&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;In general, when you have a rendering with a data source (model) it should use a Controller Rendering so that you can fail gracefully if a user does not specify a data source item. (For View Renderings, a missing data source means a 500 error.)&lt;/li&gt;&#xA;&lt;li&gt;With a Controller Rendering, you'll have more control over initializing your model and if you want to add more data to it in the future you'll have that flexibility.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-05T14:59:35.813" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16481" PostTypeId="2" ParentId="16477" CreationDate="2019-02-05T15:01:50.757" Score="3" Body="&lt;p&gt;&lt;strong&gt;It's not bad practice as such, but for efficiency we can do away with the need to create a Model definition item in Sitecore, and determine the Model from the View itself.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I recently wrote a &lt;a href=&quot;https://www.mattfletcher.co.uk/2018/12/21/using-view-renderings-with-glass-mapper-and-compiled-views/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt; on this very subject as I was curious, but to summarise:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;John West prototyped a &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/determine-models-from-views-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;pipeline processor&lt;/a&gt; to do exactly this back in 2014. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;He proposed patching a processor into the &lt;strong&gt;mvc.getModel&lt;/strong&gt; pipeline to inspect the compiled view type and return an instance of the custom Model class (should it be set). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Snippet from the processor (summarised for brevity):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Process(GetModelArgs args)&#xA;{&#xA;    Type compiledViewType = BuildManager.GetCompiledType(path);&#xA;    Type baseType = compiledViewType.BaseType;&#xA;&#xA;    if (baseType == null || !baseType.IsGenericType)&#xA;    {&#xA;        // Log error&#xA;    }&#xA;&#xA;    var modelType = baseType.GetGenericArguments()[0];&#xA;    if (modelType == typeof(object))&#xA;    {&#xA;        // When no @model is set, the result is a ViewPage&amp;lt;object&amp;gt;&#xA;        throw new Exception(string.Format(&#xA;            &quot;View '{0}' needs a @model directive.&quot;,&#xA;            args.Rendering.RenderingItem.InnerItem[&quot;path&quot;]));&#xA;    }&#xA;&#xA;    args.Result = Activator.CreateInstance(modelType);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A couple of years later Nat Mann proceeded to run with John's idea, taking the same fundamental approach, but optimised the prototype for performance and fixed an issue for layouts without a model specified. Nat's version can be found here &lt;a href=&quot;https://cardinalcore.co.uk/2015/03/24/getting-a-sitecore-model-from-the-cshtml-view/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://glass.lu/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Glass Mapper&lt;/a&gt; has also &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc.Mvc/Pipelines/Response/GetModelFromView.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;incorporated code&lt;/a&gt; into it's popular library to get the Model from the View as of release 4.0.0.4. &lt;/p&gt;&#xA;" OwnerUserId="5012" LastActivityDate="2019-02-05T15:01:50.757" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16482" PostTypeId="1" CreationDate="2019-02-05T15:10:06.533" Score="2" ViewCount="530" Body="&lt;p&gt;We are using Sitecore 9.0.1 in PAAS and i need to need switch from  Azure Search to Solr and i am following this blog&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://integryx.net/post/2018/05/05/switch-sitecore-9-from-azure-search-to-solr-step-by-step-instructions&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://integryx.net/post/2018/05/05/switch-sitecore-9-from-azure-search-to-solr-step-by-step-instructions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two parts to it&#xA;1) Enable - Disable certain configuration files on MA-OPS ,MA-REP,xc-Collect&#xA;xc-Search,xc-Refdata &#xA;2) Update config settings on CM,CD,Prc &amp;amp; Rep&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are not able enable and disable using ARM templates as files needs to downloaded first and then extension needs to be changes which is kind of manual step which we don't want&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can some body provide inputs on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers&#xA;AT&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="73" LastEditDate="2019-02-06T04:59:26.903" LastActivityDate="2019-02-06T04:59:26.903" Title="Switch Azure Search to Solr using ARM Templates" Tags="|arm-template|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16483" PostTypeId="2" ParentId="16482" CreationDate="2019-02-05T16:03:28.447" Score="2" Body="&lt;p&gt;Changing search providers will require changes to many config files that were deployed as part of the &lt;a href=&quot;https://azuremarketplace.microsoft.com/en-au/marketplace/apps/Microsoft.AppSvc_SiteCore_IFrame&quot; rel=&quot;nofollow noreferrer&quot;&gt;marketplace&lt;/a&gt; installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;IMHO the best approach will be to deploy a fresh PAAS instance of sitecore that is configured to use Solr. We are using the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;SIF framework&lt;/a&gt; for this and are in the process of building this into our continuous integration pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, the &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore-Azure-Quickstart-Templates&lt;/a&gt; repo includes ARM templates for SC 9.1. If a solrConnectionString parameter is provided the templates will not create Azure Search resources and will configure sitecore to use Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need to stand up your own Solr server or preferably a SolrCloud cluster as neither SIF or the ARM templates deploy this for you. Remember that starting with SC9.1 Solr must have a HTTPS url.&lt;/p&gt;&#xA;" OwnerUserId="491" LastEditorUserId="491" LastEditDate="2019-02-05T17:09:03.530" LastActivityDate="2019-02-05T17:09:03.530" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16485" PostTypeId="1" CreationDate="2019-02-05T16:38:54.750" Score="2" ViewCount="288" Body="&lt;p&gt;Does anyone know or have a PowerShell script which can remove the checkbox in publication restrictions specific to publication targets for Sitecore items?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to achieve (2) as below since some items have checkboxes in certain publication targets in publication restrictions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per Sitecore documentation:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To restrict all the item versions to be published only to certain&#xA;  publishing targets, on the Targets tab, select the relevant publishing&#xA;  targets. This applies to all versions of the item in all languages.&lt;/p&gt;&#xA;  &#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;If you select one or more publishing targets for the item, when you publish, the item is removed from the publishing targets that you do&#xA;  not select.&lt;/li&gt;&#xA;  &lt;li&gt;If you do not specify any publishing target for the item, the item can be published to any publishing target you choose in&#xA;  the Publish wizard.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Thank you for help in advance!&lt;/p&gt;&#xA;" OwnerUserId="4588" LastEditorUserId="73" LastEditDate="2020-09-11T07:07:17.390" LastActivityDate="2022-02-03T13:02:20.193" Title="Removing publication restrictions - publication targets" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16487" PostTypeId="1" AcceptedAnswerId="16488" CreationDate="2019-02-05T17:49:25.057" Score="2" ViewCount="515" Body="&lt;p&gt;I've exported the site through the Creative Exchange export and followed the configuration steps to have it working on Visual Studio Code through readme.md file in the folder.&#xA;Calling 'gulp watch-gulp' throws &quot;No Gulp file&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already run the npm install steps and no luck.&#xA;Copying gulpfilebabel.js from the Basic2 theme to the root of my theme makes it run but it throws an error about syntax.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should I do?&lt;/p&gt;&#xA;" OwnerUserId="4776" LastEditorUserId="70" LastEditDate="2019-02-05T17:54:22.650" LastActivityDate="2019-02-11T13:27:35.303" Title="Creative Exchange Live Gulp task &quot;No Gulp file&quot;" Tags="|sxa|gulp|creative-exchange|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16488" PostTypeId="2" ParentId="16487" CreationDate="2019-02-05T17:52:03.410" Score="1" Body="&lt;p&gt;This happens because when the Creative Exchange exports the theme files, it exports the &lt;code&gt;gulpfile.babel.js&lt;/code&gt; file without the &lt;code&gt;.&lt;/code&gt; between &lt;code&gt;gulpfile&lt;/code&gt; and &lt;code&gt;babel&lt;/code&gt;. A period is normally an invalid character for an item name, so that was probably stripped when the file was added.&lt;/p&gt;&#xA;&lt;p&gt;If you rename the file to have the period back in (&lt;code&gt;gulpfile.babel.js&lt;/code&gt;), gulp will then be able to find the Creative Exchange tasks.&lt;/p&gt;&#xA;&lt;h3&gt;Caution&lt;/h3&gt;&#xA;&lt;p&gt;Be careful when using the Creative Exchange Import process, this will sometimes delete the &lt;code&gt;gulpfile.babel.js&lt;/code&gt; file, and it can also throw an error because of the multiple periods in the file name. Its always good to make sure you have a backup of that file, or keep it source controlled and don't commit any changes.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-05T17:52:03.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16489" PostTypeId="5" CreationDate="2019-02-05T17:55:59.190" Score="0" Body="&lt;p&gt;&lt;strong&gt;Creative Exchange&lt;/strong&gt; is an SXA feature that is designed to facilitate several different teams working on a website. For example, the team that is working on the theme of the site can work in parallel with other teams.&lt;/p&gt;&#xA;&lt;p&gt;With Creative Exchange, you can export your site and produce a ZIP file with all the wireframes and all content. The creative agency or the in-house front-end developer can work with the static HTML offline. When the designs are ready, this ZIP file is sent back to be imported again, and the process can continue.&lt;/p&gt;&#xA;&lt;p&gt;If you are familiar with JavaScript and Gulp, you can consider using &lt;strong&gt;Creative Exchange Live&lt;/strong&gt; to shorten the time you use changing the design of your site.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="4817" LastEditDate="2021-08-30T07:17:40.583" LastActivityDate="2021-08-30T07:17:40.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16490" PostTypeId="4" CreationDate="2019-02-05T17:55:59.190" Score="0" Body="Used for questions about the Creative Exchange and Creative Exchange Live process within Sitecore Experience Accelerator." OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-02-05T17:55:59.190" LastActivityDate="2019-02-05T17:55:59.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16491" PostTypeId="1" CreationDate="2019-02-05T18:32:06.147" Score="2" ViewCount="663" Body="&lt;p&gt;After following the configuration steps of the Creative Exchange Live, I'm trying to run the gulp tasks through Visual Studio Code but it is throwing a certificate error when uploading:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;[17:51:24] Starting 'watch-gulp'...&lt;/p&gt;&#xA;&lt;p&gt;upload failed:Error: unable to verify the first certificate&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I'm pointing to an HTTPS instance with self-signed certificate.&#xA;Versions: Sitecore 9.1, SXA 1.8, node.js 10.15.0&lt;/p&gt;&#xA;" OwnerUserId="4776" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-05T18:42:36.920" Title="Creative Exchange Live Gulp &quot;unable to verify the first certificate&quot;" Tags="|sxa|gulp|creative-exchange|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16493" PostTypeId="1" AcceptedAnswerId="16498" CreationDate="2019-02-05T18:33:11.757" Score="2" ViewCount="1280" Body="&lt;p&gt;I am working with SXA  1.8 on Sitecore 9.0 update 2. Since Bootstrap 4 is being selected for the current site, &lt;code&gt;~/Views/SxaLayout/Bootstrap4Body.cshtml&lt;/code&gt; view is being used. This view has such a code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;main&amp;gt;&#xA;    &amp;lt;div id=&quot;content&quot; class=&quot;@Html.Sxa().GridPlaceholderClasses(&quot;main&quot;)&quot;&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;main&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/main&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(&lt;em&gt;I definitely know that particular view is being used since it hits in debugger&lt;/em&gt;), but having no components assigned into itself, it rendered with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;main&amp;gt;&#xA;    &amp;lt;div id=&quot;content&quot; class=&quot;container&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;row&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/main&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thus there is a question: where does &lt;code&gt;&amp;lt;div class=&quot;row&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt; come from and should not be it empty?&lt;/p&gt;&#xA;" OwnerUserId="615" LastEditorUserId="70" LastEditDate="2019-02-05T19:44:07.913" LastActivityDate="2019-02-05T21:47:34.857" Title="Why does empty @Html.Sitecore().Placeholder(&quot;main&quot;) generate &lt;div class=&quot;row&quot;&gt;&lt;/div&gt;?" Tags="|sxa|placeholders|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16494" PostTypeId="1" CreationDate="2019-02-05T18:40:03.723" Score="1" ViewCount="230" Body="&lt;p&gt;I am seeing a different report based on the computer that I am logged in to for the Sitecore Anayltics Reports.  I am running on Sitecore v9.0.2, we have one Server which is running the CM, Processing, Reporting, and xConnect roles.  And then 2 Content Delivery Servers. All of these are located in US Central Time Zone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I RDP into the Content Management Server, which is Central Time, and view the Analytics, I am seeing the correct report output, for days Feb 1st to Feb 5th&#xA;&lt;a href=&quot;https://i.stack.imgur.com/I5F5V.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I5F5V.png&quot; alt=&quot;CMS Report View&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I view the analytics from my local machine, which is Pacific Time, I see the exact same graph, but the date labels are wrong by 1 day, even though the Response that I get from the server has the correct dates in the JSON object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7OfOO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7OfOO.png&quot; alt=&quot;Local report view&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I change my local computer's time zone to Central Time, to match the server, then the Reports are displaying correctly.  However this is not a valid solution, and I can't have people changing their computer's timezone just to view reports.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried changing the &quot;ServerDateTime&quot; Configuration value to &quot;Pacific Standard Time&quot;  However, I did not see any immediate changes, but I was wondering if making that change will only affect future interactions with the site, or if that should update the graphs immediately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced anything like this before?&lt;/p&gt;&#xA;" OwnerUserId="3351" LastActivityDate="2019-02-05T18:40:03.723" Title="Experience Analytics Report display off by 1 day" Tags="|experience-analytics|reporting|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16495" PostTypeId="2" ParentId="16491" CreationDate="2019-02-05T18:42:36.920" Score="2" Body="&lt;p&gt;Solved this by using &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;strictSSL: false&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;in every file upload/delete post/get because I'm using a self-signed certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I changed the following files in the gulp\util folder inside the theme root folder:&#xA;- requestChangeFile.js&#xA;- requestChangeTemplate.js&#xA;- requestDeleteFile.js&lt;/p&gt;&#xA;&#xA;&lt;p&gt;search for 'url: url' and add to the request get/post call the parameter 'strictSSL: false'. Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;request.post({&#xA;            url: url,&#xA;            formData: formData,&#xA;            strictSSL: false &#xA;        }, function(err, httpResponse, body) { &#xA;          ... &#xA;        });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've found this solution in &lt;a href=&quot;https://stackoverflow.com/a/41986721/1728196&quot;&gt;https://stackoverflow.com/a/41986721/1728196&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;setting strictSSL to false will not force request package to validate the certificate&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4776" LastActivityDate="2019-02-05T18:42:36.920" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16497" PostTypeId="2" ParentId="16493" CreationDate="2019-02-05T20:15:14.233" Score="-2" Body="&lt;p&gt;Firstly, remove this line and reload:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Placeholder(&quot;main&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the &lt;strong&gt;row div&lt;/strong&gt; is still there, then remove this piece of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class=&quot;@Html.Sxa().GridPlaceholderClasses(&quot;main&quot;)&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm pretty sure that by doing so you will know exactly where this &lt;strong&gt;div row&lt;/strong&gt; line is coming from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, it's just a matter of troubleshooting your own code and start isolating the possible origins to figure out the exact source of this weird line.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-05T20:15:14.233" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16498" PostTypeId="2" ParentId="16493" CreationDate="2019-02-05T21:47:34.857" Score="8" Body="&lt;p&gt;For Bootstrap 3, I think these were hardcoded on the body view, but for Bootstrap 4, on this item - /sitecore/system/Settings/Feature/Experience Accelerator/Bootstrap 4/Bootstrap 4 Grid Definition&#xA;you should see a section that defines the Placeholder Wrapper tag/class &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/P2G7n.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P2G7n.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="9" LastActivityDate="2019-02-05T21:47:34.857" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16500" PostTypeId="2" ParentId="16450" CreationDate="2019-02-05T22:50:48.383" Score="1" Body="&lt;p&gt;From the comments it seems a lot like you want the ability to update the target list at will.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is possible to &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/the-list-manager-api.html#UUID-7489bb7d-fcd0-a8da-c368-0e69705baf34_section-idm45679422144528_body&quot; rel=&quot;nofollow noreferrer&quot;&gt;add/remove contacts to a specific list&lt;/a&gt;. At what point to do so would depends on your application, it might be as asset owner changes are saved or during some kind of sync with an external store.&lt;/p&gt;&#xA;" OwnerUserId="76" LastActivityDate="2019-02-05T22:50:48.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16501" PostTypeId="1" CreationDate="2019-02-05T23:17:41.323" Score="0" ViewCount="142" Body="&lt;p&gt;If I had specific html structure that I needed for a header for mobile responsiveness but inside it seemed appropriate to use the out of the box renderings such as image, linked list, search, link, navigation - how do I go about implementing this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The header consists visually of an image next to two rows. One row could have a linked list next to a search box and then a login link. The next row could have a navigation bar for a drop down style menu.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Would I create a component with placeholders for the specific controls?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or would I create a component that contained the specific components that I wanted to use - and if so how would I configure the datasources for these?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or could I somehow clone a rendering (not sure what would be a good base for this) - and modify the html and add in the additional items that I need?&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="73" LastEditDate="2019-02-06T04:59:12.827" LastActivityDate="2019-02-06T04:59:12.827" Title="Can I add out of the box renderings to custom component" Tags="|sxa|best-practices|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16504" PostTypeId="1" AcceptedAnswerId="16505" CreationDate="2019-02-06T01:46:46.547" Score="4" ViewCount="1007" Body="&lt;p&gt;Is there any way to have the search results component render links in lowercase?&#xA;I have patched the linkManager as follows &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;sitecore&quot;&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;languageEmbedding&quot;&amp;gt;never&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;lowercaseUrls&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/add&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Perhaps the search results link is coming from the index it's not respecting that setting?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1.0&#xA;SXA 1.8&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-02-06T02:24:45.233" LastActivityDate="2020-11-05T01:14:24.043" Title="SXA - Search Results - Render link url lowercase" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16505" PostTypeId="2" ParentId="16504" CreationDate="2019-02-06T02:29:04.453" Score="6" Body="&lt;p&gt;Many components in SXA use the &lt;code&gt;switchableLinkProvider&lt;/code&gt; whether you specify this via the &lt;code&gt;defaultProvider&lt;/code&gt; or not. However not all code in SXA uses the &lt;code&gt;switchableLinkProvider&lt;/code&gt; directly, some will still use the LinkManager which uses the configured &lt;code&gt;defaultProvider&lt;/code&gt;. See &lt;a href=&quot;https://sitecore.stackexchange.com/a/26829/1278&quot;&gt;here&lt;/a&gt; for more details.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/add-and-select-a-custom-link-provider.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation here&lt;/a&gt; shows how to change the linkManager provider per site. In this case, simply changing it to &amp;quot;sitecore&amp;quot; should work as it will pick up the values you've patched on the &lt;code&gt;sitecore&lt;/code&gt; provider originally.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KJ7dT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KJ7dT.png&quot; alt=&quot;highlight location&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;BUT&lt;/strong&gt; it would be better to change the &lt;code&gt;defaultProvider&lt;/code&gt; back to &lt;code&gt;switchableLinkProvider&lt;/code&gt;, update the settings you need on the &lt;code&gt;localizedProvider&lt;/code&gt;, and update your site to explicitly use the &lt;code&gt;localizedProvider&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2020-11-05T01:14:24.043" LastActivityDate="2020-11-05T01:14:24.043" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16508" PostTypeId="1" CreationDate="2019-02-06T05:46:47.973" Score="3" ViewCount="590" Body="&lt;p&gt;I have created a link rendering variant and put in css class of &quot;btn login-button&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VDd88.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VDd88.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However in my markup where the link is using that rendering variant this does not appear&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;component link member-hub col-12&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;        &amp;lt;a href=&quot;/Articles&quot; data-variantfieldname=&quot;Link&quot; data-variantitemid=&quot;{B7229055-B046-47D3-AAC4-6EA4815F2696}&quot;&amp;gt;Login&amp;lt;/a&amp;gt;    &#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only way I have gotten it to appear on the anchor is when inserting the link, adding a class explicitly to the link. I don't want to rely on the content editors doing this though.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;component link col-12&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;      &amp;lt;div class=&quot;field-link&quot;&amp;gt;&#xA;        &amp;lt;a class=&quot;btn login-button&quot; href=&quot;/ract&quot; data-variantfieldname=&quot;Link&quot; data-variantitemid=&quot;{33E5529D-270D-4738-9DCB-96DDB34EC23B}&quot;&amp;gt;Another&amp;lt;/a&amp;gt;&#xA;      &amp;lt;/div&amp;gt;    &#xA;  &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Why is my link field Css Class not appearing?  I have explicitly published to ensure that the markup isn't showing EE related markup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: we are trying to use the bootstrap button styling of the link which is why I was trying to put it on the anchor element.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-02-07T04:57:25.770" LastActivityDate="2021-10-29T15:03:30.290" Title="SXA 1.8 Link field class ignored from rendering variant" Tags="|sxa|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="16509" PostTypeId="1" AcceptedAnswerId="16510" CreationDate="2019-02-06T05:51:22.987" Score="3" ViewCount="807" Body="&lt;p&gt;I have created a custom component by cloning the Page Content rendering with a copy of the cshtml file. I have tried inserting a placeholder into my cshtml so that I can make use of out of the box sxa renderings in a specific area of my html.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my published markup it appears that where the placeholder is - it is wrapping that area with a div with class of row.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;member-hub&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;      &amp;lt;div class=&quot;component link member-hub col-12&quot;&amp;gt;&#xA;         &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;            &amp;lt;a href=&quot;/Articles&quot; data-variantfieldname=&quot;Link&quot; data-variantitemid=&quot;{B7229055-B046-47D3-AAC4-6EA4815F2696}&quot;&amp;gt;Login&amp;lt;/a&amp;gt;    &#xA;         &amp;lt;/div&amp;gt;&#xA;      &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I'm trying to achieve closer to this markup:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;member-hub&quot;&amp;gt;&#xA;   &amp;lt;a class=&quot;btn login-button&quot; href=&quot;#member-hub&quot; title=&quot;Log in to member hub&quot;&amp;gt;&#xA;       Login&#xA;   &amp;lt;/a&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I don't want either the row or the col-12 classes that are in the image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way of easily overcoming the additional markup being inserted for the placeholder and component cols? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TAt6g.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TAt6g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm also finding that in experience editor when I have two placeholders in my cshtml like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;utility-links&quot;&amp;gt;&#xA;     @Html.Sitecore().Placeholder(&quot;utility-links&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&#xA;&amp;lt;div class=&quot;member-hub&quot;&amp;gt;&#xA;    @Html.Sitecore().Placeholder(&quot;login-link&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in the experience editor they are being labelled as &quot;fallback&quot; instead of something more useful.  Can I override this fallback labelling?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l7zNT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l7zNT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-02-06T05:58:53.383" LastActivityDate="2019-02-06T07:16:49.667" Title="SXA 1.8 Custom Component With Placeholder" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16510" PostTypeId="2" ParentId="16509" CreationDate="2019-02-06T07:16:49.667" Score="6" Body="&lt;h2&gt;Background&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Placeholder is wrapped with additional things here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.XA.Foundation.Grid.Pipelines.RenderPlaceholder.AddPlaceholderWrapper&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The goal of this class is to provide consistent placeholder behavior depending on a current grid.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How to get rid of additional markup&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can exclude your custom placeholders from processing by adding an additional node to this configuration section:&#xA;&lt;code&gt;experienceAccelerator/grid/placeholderWrapper/excludedPlaceholders/placeholder&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Fallback placeholder&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Fallback placeholder is a placeholder setting item stored here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/layout/Placeholder Settings/Foundation/Experience Accelerator/Placeholder Settings/fallback&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will be used when during rendering, a matching placeholder setting item for particular placeholder cannot be found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can solve it by adding somewhere placeholder settings items for keys:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;login-link&lt;/li&gt;&#xA;&lt;li&gt;utility-links&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would recommend doing it under your site (&lt;code&gt;/sitecore/content/Tenant/Site/Presentation/Placeholder Settings/utility-links&lt;/code&gt;, &lt;code&gt;/sitecore/content/Tenant/Site/Presentation/Placeholder Settings/login-link&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to set &lt;code&gt;Placeholder Key&lt;/code&gt; field for both. Once you create them you can set display name to whatever you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be also able to overcome labeling when you explicitly assign placeholder settings item to your placeholders on a page (bear in mind that if you use it more than 1 time you will have to assign it each time unless you are setting it on partial design and reuse it on pages).&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-06T07:16:49.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16511" PostTypeId="1" AcceptedAnswerId="16513" CreationDate="2019-02-06T07:30:54.230" Score="2" ViewCount="1826" Body="&lt;p&gt;I'm trying to create an item using &lt;code&gt;ItemService&lt;/code&gt; in &lt;code&gt;Sitecore.Services.Client&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item creation is working fine and response looks like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;201 (Created).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Location: /item/0727f965-2338-43cc-bd88-5071ad3f7a12?database=master&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My need is to get this location in the response header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During that I'm facing this issue:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;refused to get unsafe header &quot;Location&quot; Error&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Below is attached my code sample:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; request.setRequestHeader('Access-Control-Expose-Headers', 'Location');&#xA;            request.onreadystatechange = function () {&#xA;                if (this.readyState == 4) {&#xA;                    console.log(this.status); &#xA;                    console.log(this.getResponseHeader('Location'));                                       &#xA;                }&#xA;            };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="3866" LastEditDate="2019-02-06T12:29:13.807" LastActivityDate="2019-02-06T12:29:13.807" Title="Refused to get &quot;Unsafe Header - Location&quot; while getting response header in item service" Tags="|sitecore-services-client|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16512" PostTypeId="1" AcceptedAnswerId="16578" CreationDate="2019-02-06T07:44:54.193" Score="2" ViewCount="953" Body="&lt;p&gt;While implementing workflow for our site, I stumbled upon a Unicorn issue. Creating a page works just fine, but when an editor goes to edit the page, and so creates a new version, Unicorn gives a critical message about fields not matching serialization. The fields mentioned are the ones edited in the 'first version'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've looked at the .yml and it seems like when creating a second version of a page, the before edited fields are not serialized to the new version, and as such creating the 'fields not matching serialization' error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this something wrong in our configuration, or is there some other way around this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: When creating a page, I've edited the 'Project title'. After publishing, I've edited the 'meta title'. As you can see the project title doesn't show up in version 2.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- Language: en&#xA; Fields:&#xA;  - ID: &quot;b5e02ad9-d56f-4c41-a065-a133db87bdeb&quot;&#xA;    Hint: __Display name&#xA;    Value: Test page&#xA;  Versions:&#xA;  - Version: 1&#xA;    Fields:&#xA;    - ID: &quot;25bed78c-4957-4165-998a-ca1b52f67497&quot;&#xA;      Hint: __Created&#xA;      Value: 20190206T073544Z&#xA;    - ID: &quot;3e431de1-525e-47a3-b6b0-1ccbec3a8c98&quot;&#xA;      Hint: __Workflow state&#xA;      Value: &quot;{FCA998C5-0CC3-4F91-94D8-0A4E6CAECE88}&quot;&#xA;    - ID: &quot;5dd74568-4d4b-44c1-b513-0af5f4cda34f&quot;&#xA;      Hint: __Created by&#xA;      Value: |&#xA;        sitecore\publisher&#xA;    - ID: &quot;fc67969e-caaf-43a1-a891-58203f17557c&quot;&#xA;      Hint: ProjectTitle&#xA;      Value: Title changed in the first version&#xA;  - Version: 2&#xA;    Fields:&#xA;    - ID: &quot;25bed78c-4957-4165-998a-ca1b52f67497&quot;&#xA;      Hint: __Created&#xA;      Value: 20190206T073646Z&#xA;    - ID: &quot;3e431de1-525e-47a3-b6b0-1ccbec3a8c98&quot;&#xA;      Hint: __Workflow state&#xA;      Value: &quot;{190B1C84-F1BE-47ED-AA41-F42193D9C8FC}&quot;&#xA;    - ID: &quot;41f598eb-4a49-4b48-a91f-7aa126358f1a&quot;&#xA;      Hint: MetaTitle&#xA;      Value: Meta title changed in the second version&#xA;    - ID: &quot;c8f93afe-bfd4-4e8f-9c61-152559854661&quot;&#xA;      Hint: __Valid from&#xA;      Value: 20190206T073646Z&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We're using Unicorn 4.0.3 and Sitecore 9.0.2&lt;/p&gt;&#xA;" OwnerUserId="5016" LastActivityDate="2019-02-07T16:21:16.510" Title="Unable to sync page versions with Unicorn" Tags="|unicorn|versions|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16513" PostTypeId="2" ParentId="16511" CreationDate="2019-02-06T08:23:39.990" Score="2" Body="&lt;p&gt;I solved it by using the below code in web.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   &amp;lt;httpProtocol&amp;gt;&#xA;      &amp;lt;customHeaders&amp;gt;&#xA;        &amp;lt;add name=&quot;Access-Control-Expose-Headers&quot; value=&quot;*&quot;/&amp;gt;&#xA;        &amp;lt;remove name=&quot;X-Powered-By&quot; /&amp;gt;&#xA;      &amp;lt;/customHeaders&amp;gt;&#xA;    &amp;lt;/httpProtocol&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4765" LastActivityDate="2019-02-06T08:23:39.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16514" PostTypeId="1" AcceptedAnswerId="16520" CreationDate="2019-02-06T08:53:42.760" Score="0" ViewCount="365" Body="&lt;p&gt;we are adding a JSS rendering component in SXA site. We have added the below query in JSS component data source location. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;query:$site/*[@@name='Data']/*[@@templatename='Content Blocks Folder']&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is working if we add direct path in datasource location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we want to refer the data from the Data folder of the Site.&lt;/p&gt;&#xA;&#xA;&lt;hr/&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Cannot read property 'title' of undefined&#xA;TypeError: Cannot read property 'title' of undefined&#xA;&#xA;at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.Http.HttpNodeInstance.InvokeExport[T](NodeInvocationInfo invocationInfo)&#xA;at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance.InvokeExport[T](String moduleName, String exportNameOrNull, Object[] args)&#xA;at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExportWithPossibleRetry[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry)&#xA;at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExport[T](String moduleName, String exportedFunctionName, Object[] args)&#xA;at Sitecore.JavaScriptServices.ViewEngine.Node.NodeRenderEngine.Invoke[T](String moduleName, String functionName, Object[] functionArgs)&#xA;at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.PerformRender(TextWriter writer, IRenderEngine renderEngine, String moduleName, String functionName, Object[] functionArgs)&#xA;at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.Render(TextWriter writer)&#xA;at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="16" LastEditDate="2019-02-06T09:12:48.030" LastActivityDate="2019-02-06T13:31:25.140" Title="SXA datasource token is not working for Sitecore JSS rendering component" Tags="|sxa|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16515" PostTypeId="1" CreationDate="2019-02-06T09:16:12.873" Score="0" ViewCount="325" Body="&lt;p&gt;I am trying to migrate Sitecore 7.2 instance to Sitecore 9.1 using Express Migration tool which are on remote servers. Here is the screenshot of inputs. Is this the right way to provide inputs or I have to host names in website folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uIZIG.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uIZIG.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3950" LastActivityDate="2019-02-07T03:19:48.733" Title="Usage of express migration tool to migrate instances on remote servers" Tags="|express-migration-tool|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16516" PostTypeId="2" ParentId="15310" CreationDate="2019-02-06T10:35:17.643" Score="0" Body="&lt;p&gt;When this happened to me I discovered that I had the wrong XConnectCollectionService and XConnectReferenceDataService URLs in the PS script.&lt;/p&gt;&#xA;" OwnerUserId="4320" LastActivityDate="2019-02-06T10:35:17.643" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16517" PostTypeId="1" AcceptedAnswerId="16518" CreationDate="2019-02-06T11:36:07.003" Score="1" ViewCount="4696" Body="&lt;p&gt;I have a message about a broken link at final layout at some page item on my Sitecore 8.2 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I ran a &lt;code&gt;Scan for broken link report&lt;/code&gt; and find a record about this page item. The report shows an item Id with error, at final renderings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I open raw value at final rendering field for this item and can't find any links to those wrong ID.&lt;br&gt;&#xA;I don't have a lot of components on my page and page looks ok in Experience Editor mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No components link to those missed item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I rebuilt the link database, but the error is still present. Usually, I ignore such errors but in this case, I need to know why I see it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what it could be?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="342" LastEditDate="2019-02-06T12:21:17.383" LastActivityDate="2019-02-06T12:21:17.383" Title="Sitecore broken links reports - how to find wrong component" Tags="|presentation|broken-links|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16518" PostTypeId="2" ParentId="16517" CreationDate="2019-02-06T12:19:12.070" Score="3" Body="&lt;p&gt;If the ID is not stored in the Final Renderings field on the page item, it may be inherited from standard values and simply not stored on that item because of support for layout deltas.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;If you're curious where it's stored&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Check the raw values of the Final Renderings field of the &lt;code&gt;__Standard Values&lt;/code&gt; of your template (and any other base templates that may define presentation details). It may be defined there.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;If you just want to fix it&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Try simply opening the presentation details for the offending item and clicking OK. That often clears out any renderings that it can't find.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-06T12:19:12.070" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16519" PostTypeId="2" ParentId="16088" CreationDate="2019-02-06T12:20:13.467" Score="5" Body="&lt;p&gt;I was informed by Sitecore that the table for version 9.0.1 is now on the &lt;code&gt;ReferenceData&lt;/code&gt; database and it's called &lt;code&gt;Definitions&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="897" LastEditorUserId="897" LastEditDate="2019-02-06T12:34:19.130" LastActivityDate="2019-02-06T12:34:19.130" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16520" PostTypeId="2" ParentId="16514" CreationDate="2019-02-06T13:31:25.140" Score="1" Body="&lt;p&gt;Currently, JSS can coexist with SXA on the same Sitecore instance, as a separate site. JSS is not currently capable of acting as an SXA tenant or using SXA's experience editor extensions (i.e. drag and drop components, variants, partials, etc), or any of SXA's features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.com/help#can-i-use-jss-with-sxa&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/help#can-i-use-jss-with-sxa&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-02-06T13:31:25.140" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16521" PostTypeId="1" AcceptedAnswerId="16525" CreationDate="2019-02-06T13:34:39.667" Score="1" ViewCount="923" Body="&lt;p&gt;I was creating a page similar to the image below with SXA 1.7.1 in Sitecore 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my situation, I have the 'translation section', 'Videos' and 'The Weeknd' to be reusable.&#xA;Search results can be there, cannot be there and will vary in length.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/MyF7n.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MyF7n.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I did&lt;/strong&gt;:&#xA;So, I created 2 partial renderings:&#xA; Partial Rendering 1: Contains 'translation section' and 'Videos'&#xA; Partial Rendering 2: Contains 'The Weeknd'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both my partial renderings are on placeholder 'main'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added both the partial designs to the page design and published the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What happened&lt;/strong&gt;:&#xA;'The Weeknd' section got displayed below 'Videos'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I could have done&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would have taken a column splitter on the page and would have designed the partial templates accordingly. (I am yet to try this.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The challenge&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is there a way to add the rendering for 'Search Results' between the sections 'Videos' and 'The Weeknd'?&lt;/li&gt;&#xA;&lt;li&gt;Is there a way to use to select separate placeholders for each&#xA;partial rendering on different page rendering?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am asking this question as I am feeling that reusability of 'partial design' is getting curtailed in the present scenario.&#xA;Any suggestion will be useful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-02-06T15:45:58.863" Title="Placeholder setting for partial designs" Tags="|sxa|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16522" PostTypeId="1" AcceptedAnswerId="16524" CreationDate="2019-02-06T13:40:47.990" Score="2" ViewCount="2960" Body="&lt;p&gt;I am currently working on trying out the Sitecore GraphQL Query where I just get all the items of a specific location in the Sitecore Tree. However, I may need to filter the item results based on a particular Field Value. Is it possible to do this on the GraphQL in Connected mode?&lt;/p&gt;&#xA;" OwnerUserId="2252" LastActivityDate="2019-02-07T12:58:49.303" Title="Sitecore Filtering by Field Value on Query of GraphQL" Tags="|jss|graphql|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16523" PostTypeId="1" CreationDate="2019-02-06T13:50:40.457" Score="1" ViewCount="198" Body="&lt;p&gt;I have a dictionary entry whose phrase value solely consists of a single pipe symbol. The item gets serialized just fine. But when I synchronize it, the phrase value of the created dictionary entry is empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to replicate the same behavior with content items. It's therefore not specific to dictionary entries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noted the pipe symbol is a special character in yaml files that preserves line breaks. So I tried using another special character, namely the &lt;code&gt;&amp;gt;&lt;/code&gt;, which folds new lines. The item got synchronized without a problem and a single &lt;code&gt;&amp;gt;&lt;/code&gt; appeared in the field. Hence it doesn't seem to be related to special characters in yaml files in general.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally I happened to notice that the value of some items like &lt;code&gt;__Created by&lt;/code&gt; start with a single pipe symbol followed by a line break and the actual value on a new line. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- ID: &quot;5dd74568-4d4b-44c1-b513-0af5f4cda34f&quot;&#xA;  Hint: __Created by&#xA;  Value: |&#xA;    sitecore\admin&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore the value of the field after synchronisation still only contains the &lt;code&gt;sitecore\admin&lt;/code&gt; and no &lt;code&gt;|&lt;/code&gt;. Accordingly a single pipe symbol on a line seems to get special treatment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;del&gt;In the meantime I'm using a symbol that looks almost like a pipe. But I wonder if there is another solution to this and if this is supposed or tolerated behavior.&lt;/del&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Following the comment below I tried to manually replace the vaule similar to the &lt;code&gt;__Created by&lt;/code&gt; field. After synchronizing it the value of the phrase field was a single pipe as expected. I then changed the key value to see how the item gets serialized. Serialization of course led again to a single pipe symbol in the yaml file. Lastly I changed the key value back to it's original value and to my surprise the phrase value in the yaml file was now empty. I tried the same procedure with a simple single line field of a content item and could replicate it.&#xA;Using the unicorn control panel to reserialize didn't raise the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another interesting observation I made: Using a single pipe followed by a blank space works just as it should and none of the aformentioned problems occur.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even though workarounds exist this doesn't seem to be desirable behavior.&#xA;It would be great if someone could clarify why this happens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To &lt;strong&gt;summarize&lt;/strong&gt; up the issue:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have a field with a single pipe symbol as a value.&lt;/li&gt;&#xA;&lt;li&gt;Serializing it for the first time creates a correct yaml file.&lt;/li&gt;&#xA;&lt;li&gt;Serializing it again through changing some other value of the item results in an empty value instead of the pipe in the yaml file.&lt;/li&gt;&#xA;&lt;li&gt;Synchronizing the correct yaml file results in an empty field in Sitecore.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="5018" LastEditorUserId="5018" LastEditDate="2019-02-11T15:57:55.087" LastActivityDate="2023-12-12T05:05:17.667" Title="Single pipe symbol results in empty field after unicorn synchronisation" Tags="|unicorn|serialization|rainbow|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16524" PostTypeId="2" ParentId="16522" CreationDate="2019-02-06T15:15:43.680" Score="6" Body="&lt;p&gt;You can use an index search and filter whatever, Use somethings like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  search(&#xA;    fieldsEqual:[{name:&quot;title&quot;, value:&quot;Sit*&quot; }] rootItem:&quot;/sitecore/content&quot;&#xA;        ) {&#xA;    results {&#xA;      items {&#xA;        item {&#xA;          id&#xA;          name&#xA;          path&#xA;          url&#xA;          field(name  : &quot;title&quot;) {&#xA;           title: value&#xA;          }&#xA;        }&#xA;      }&#xA;      totalCount&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is searching, filtering on Title field in the tree below rootItem.&#xA;For only searching in a specific location you can filter on parent id.&#xA;somethings like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;fieldsEqual:[{name:&quot;title&quot;, value:&quot;Sit*&quot;} ,{name:&quot;_parent&quot;,value:&quot;0de95ae441ab4d019eb067441b7c2450&quot;}]&lt;/code&gt; &lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-02-07T12:58:49.303" LastActivityDate="2019-02-07T12:58:49.303" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="16525" PostTypeId="2" ParentId="16521" CreationDate="2019-02-06T15:45:58.863" Score="2" Body="&lt;p&gt;Answer yourself a question what grid system you are going to use. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA can use: Bootstrap3, Bootstrap4, Foundation, Grid960.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you select yours learn how to build a layout with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would do it this way.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create &lt;strong&gt;MainBase&lt;/strong&gt; partial design&lt;/li&gt;&#xA;&lt;li&gt;Edit &lt;strong&gt;MainBase&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;add &lt;strong&gt;Column Splitter&lt;/strong&gt; rendering to &lt;code&gt;main&lt;/code&gt; placeholder with 2 columns&lt;/li&gt;&#xA;&lt;li&gt;set widths of two columns to &lt;strong&gt;8&lt;/strong&gt;, &lt;strong&gt;4&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create &lt;strong&gt;MainLEFT&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Edit &lt;strong&gt;MainLEFT&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;set &lt;code&gt;Base Partial Design&lt;/code&gt; field value to &lt;strong&gt;MainBase&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;open your partial&lt;/li&gt;&#xA;&lt;li&gt;drop &lt;strong&gt;Translation&lt;/strong&gt; rendering to left column (this with width 8)&lt;/li&gt;&#xA;&lt;li&gt;drop &lt;strong&gt;Search&lt;/strong&gt; rendering to left column (this with width 8)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create &lt;strong&gt;MainRIGHT&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Edit &lt;strong&gt;MainRIGHT&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;set &lt;code&gt;Base Partial Design&lt;/code&gt; field value to &lt;strong&gt;MainBase&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;drop &lt;strong&gt;Video&lt;/strong&gt; rendering to right column (this with width 4)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;It should look more or less like this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VYR65.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VYR65.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Technically you don't have to create &lt;strong&gt;MainBase&lt;/strong&gt; and then use it as a base. You could treat &lt;strong&gt;MainBase&lt;/strong&gt; as your main partial and put all renderings that I listed above on a single partial. I felt that you need something advanced to switch them later feel free to go with an easier approach if needed (add partial, drop column splitter, set widths, drop translation, drop searach, drop video).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Building layout like that is not that hard, I created something on the same level of complexity for &lt;strong&gt;&lt;a href=&quot;https://github.com/alan-null/XA.Reference/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;XA.Reference&lt;/a&gt;&lt;/strong&gt; demo site: &lt;strong&gt;&lt;a href=&quot;https://raw.githubusercontent.com/alan-null/XA.Reference.Wraith/master/shots_base/movies/MULTI_casperjs_pattern.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;screenshot&lt;/a&gt;&lt;/strong&gt;. You could install this site and see how I combined all partials to designs there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope it helps. I cannot understand your second question. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;You might want to read &lt;a href=&quot;https://sitecore.stackexchange.com/a/15359/16&quot;&gt;this&lt;/a&gt; answer, I feel it is related.&lt;/h3&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-06T15:45:58.863" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16526" PostTypeId="2" ParentId="15300" CreationDate="2019-02-06T15:50:54.073" Score="0" Body="&lt;p&gt;I added the following to a patch config which fixed it for me:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;mediaLibrary&amp;gt;&#xA;      &amp;lt;requestProtection&amp;gt;&#xA;        &amp;lt;customMediaQueryParameters&amp;gt;&#xA;          &amp;lt;parameter description=&quot;file extension&quot; name=&quot;extension&quot;&amp;gt;&#xA;          &amp;lt;/parameter&amp;gt;&#xA;        &amp;lt;/customMediaQueryParameters&amp;gt;&#xA;      &amp;lt;/requestProtection&amp;gt;&#xA;    &amp;lt;/mediaLibrary&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's probably more idiomatic to add to &lt;code&gt;customMediaQueryParameters&lt;/code&gt; than &lt;code&gt;protectedMediaQueryParameters&lt;/code&gt;. This is the conditional check in the MediaOptions class to show it works the same way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!MediaOptions.KnownOptions.ContainsKey(key) &amp;amp;&amp;amp; (!MediaManager.Config.RequestProtection.Enabled || MediaManager.Config.RequestProtection.QueryParametersToProtect.Contains(key) || MediaManager.Config.RequestProtection.CustomQueryParameters.Contains(key)))&#xA;{&#xA;    stringList.Add(key);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="367" LastActivityDate="2019-02-06T15:50:54.073" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16527" PostTypeId="1" CreationDate="2019-02-06T15:55:45.313" Score="1" ViewCount="720" Body="&lt;p&gt;Sitecore 9.0.1 (rev. 171219)&lt;br /&gt;&#xA;SimpleInjector v.4.3.0&lt;br /&gt;&#xA;Glass.Mapper v.4.5.0.4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Steps To Reproduce:&lt;/strong&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In the Sitecore dashboard I click on the Forms button&lt;/li&gt;&#xA;&lt;li&gt;Click the Create button and select Blank Form&lt;/li&gt;&#xA;&lt;li&gt;On this request I receive a 500 &quot;&lt;strong&gt;/formbuilder/load?id=&amp;sc_formmode=new&amp;sc_formlang=&amp;_=1549466629131&lt;/strong&gt;&quot;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;This is the error I receive&lt;br /&gt;&#xA;&lt;strong&gt;The constructor of type FormBuilderController contains the parameter with name 'formRenderingContext' and type IFormRenderingContext that is not registered. Please ensure IFormRenderingContext is registered, or change the constructor of FormBuilderController.&lt;/strong&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SimpleInjectorConfig:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Web.Mvc.IDependencyResolver chainedMvcResolver =&#xA;            new ChainedMvcResolver(new SimpleInjectorDependencyResolver(container),&#xA;                System.Web.Mvc.DependencyResolver.Current);&#xA;        System.Web.Mvc.DependencyResolver.SetResolver(chainedMvcResolver);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;ChainedMvcResolver.cs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ChainedMvcResolver : IDependencyResolver&#xA;{&#xA;    /// existing code&#xA;    IDependencyResolver _fallbackResolver;&#xA;    IDependencyResolver _newResolver;&#xA;&#xA;    public ChainedMvcResolver(IDependencyResolver newResolver, IDependencyResolver fallbackResolver)&#xA;    {&#xA;        _newResolver = newResolver;&#xA;        _fallbackResolver = fallbackResolver;&#xA;    }&#xA;&#xA;    public object GetService(Type serviceType)&#xA;    {&#xA;        //if (serviceType.Namespace.StartsWith(&quot;Sitecore.&quot;))&#xA;        //{&#xA;        //    return _fallbackResolver.GetService(serviceType);&#xA;        //}&#xA;        object result = null;&#xA;&#xA;        result = _newResolver.GetService(serviceType);&#xA;        if (result != null)&#xA;        {&#xA;            return result;&#xA;        }&#xA;&#xA;        return _fallbackResolver.GetService(serviceType);&#xA;    }&#xA;&#xA;    public IEnumerable&amp;lt;object&amp;gt; GetServices(Type serviceType)&#xA;    {&#xA;        if (serviceType.Namespace.StartsWith(&quot;Sitecore.&quot;))&#xA;        {&#xA;            return _fallbackResolver.GetServices(serviceType);&#xA;        }&#xA;        IEnumerable&amp;lt;object&amp;gt; result = Enumerable.Empty&amp;lt;object&amp;gt;();&#xA;&#xA;        result = _newResolver.GetServices(serviceType);&#xA;        if (result.Any())&#xA;        {&#xA;            return result;&#xA;        }&#xA;&#xA;        return _fallbackResolver.GetServices(serviceType);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm registering this via Sitecore pipeline.  I have no existing forms, and this is killing my soul.  If you notice in the ChainedMvcResolver I have some commented out lines to explicitly check for Sitecore objects.  When I implement this I just get a generic 404 instead of the 500 error.  &lt;/p&gt;&#xA;" OwnerUserId="5020" LastActivityDate="2019-03-08T21:03:00.617" Title="Sitecore 9 Forms - SimpleInjector conflicting with FormBuilderController" Tags="|configuration|sitecore-forms|dependency-injection|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16528" PostTypeId="1" CreationDate="2019-02-06T17:15:01.600" Score="1" ViewCount="157" Body="&lt;p&gt;Installing &lt;code&gt;Sitecore Commerce 9.0.3&lt;/code&gt; with adjusted URLs (changing everything localhost), I made adjustments to the installation process with SIF. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, I fix the localhost URLs in the &lt;code&gt;Sitecore.Commerce.Engine.Connect.config&lt;/code&gt; to the correct value with a custom SIF module.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I am thinking about fixing the Url in the Link field of the item &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons/Commerce/BusinessTools&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to do this with SIF? I mean, if there is a way to do this with Powershell, it should be possible.&lt;/p&gt;&#xA;" OwnerUserId="4234" LastEditorUserId="5387" LastEditDate="2019-07-25T08:50:59.450" LastActivityDate="2024-03-30T18:07:26.023" Title="Is it possible to edit items via SIF" Tags="|sitecore-commerce|sitecore-install-framework|powershell|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16529" PostTypeId="1" CreationDate="2019-02-06T17:19:34.230" Score="1" ViewCount="117" Body="&lt;p&gt;Created an RSS feed with the Sitecore options. Feed works fine locally, but get the following error in the Azure site. &lt;code&gt;You do not have permission to view this directory or page.&lt;/code&gt;Has anyone encountered this issue? &lt;/p&gt;&#xA;" OwnerUserId="853" LastActivityDate="2019-02-06T19:29:35.227" Title="RSS Feed in Azure Permission Issue" Tags="|azure|rss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16530" PostTypeId="1" CreationDate="2019-02-06T17:26:02.427" Score="6" ViewCount="3267" Body="&lt;p&gt;In the implementation using &lt;strong&gt;Glass Mapper 4.3.x&lt;/strong&gt;, I was enabling &lt;code&gt;Lazy Loading&lt;/code&gt; in &lt;code&gt;GlassMapperScCustom&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static IDependencyResolver CreateResolver(){&#xA;            var config = new Glass.Mapper.Sc.Config();&#xA;&#xA;            config.EnableLazyLoadingForCachableModels = true;&#xA;&#xA;            var dependencyResolver = new DependencyResolver(config);&#xA;&#xA;            var factory = dependencyResolver.ObjectConstructionFactory as AbstractConfigFactory&amp;lt;AbstractObjectConstructionTask&amp;gt;;&#xA;            factory.Remove&amp;lt;ModelDepthCheck&amp;gt;();&#xA;&#xA;            return dependencyResolver;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This hid some recursive model references and sloppy model properties.  I am looking for an easy way to re-enable before doing a large re-factorization. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible in Glass Mapper v5?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4463" LastEditorUserId="5096" LastEditDate="2019-05-18T14:25:40.407" LastActivityDate="2019-05-18T14:25:40.407" Title="After upgrading to Glass Mapper 5, unable to globally enable lazy loading" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16531" PostTypeId="1" AcceptedAnswerId="16538" CreationDate="2019-02-06T17:53:58.803" Score="1" ViewCount="316" Body="&lt;p&gt;When working with with SXA inside of a multi-tenant solution, we are building a component to generate an HTML sitemap.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have implemented a recursive function to generate the html sitemap dynamically based on the content tree structure. We have created a class called SitemapNode (which is basically a linked list) that is populated recursively within our controller. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a sample of the SitemapNode class structure:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/JldDb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JldDb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We then recursively render it within the view:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/lzfw9.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lzfw9.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are able to see the rendered sitemap when navigating to the page in preview mode or otherwise.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when opening the same page in Experience Editor, the rendering does not appear. The rendering shows in the presentation details but the html is not there when I 'inspect element' in the browser dev tools. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When clicking &quot;Add&quot; on the placeholder we can also add the rendering, but again nothing is shown in Experience Editor. This message can be seen in the browser console trying to add the same rendering through the Experience Editor.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/iQFyB.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iQFyB.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using GlassMapper -  &lt;code&gt;SitecoreContext.GetHomeItem&amp;lt;IGlassBase&amp;gt;()&lt;/code&gt; to get the top node and it appears to be returning sitecore/content/home item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know the proper way to get the context of home item within a tenant using SXA?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The item we wanted is under /sitecore/content/TenantName/Sitename/Home. Was able to use the correct syntax of: &lt;code&gt;MultisiteContext.GetSiteItem(Sitecore.Context.Item);&lt;/code&gt; to get the correct item.&lt;/p&gt;&#xA;" OwnerUserId="2049" LastEditorUserId="2049" LastEditDate="2019-02-08T19:04:12.277" LastActivityDate="2019-02-08T19:04:12.277" Title="Dynamically Generated Rendering not displaying in experience editor in SXA Multi Tenant Solution" Tags="|sxa|experience-editor|glass-mapper|presentation|" AnswerCount="1" CommentCount="4" ClosedDate="2019-02-07T06:36:08.883" ContentLicense="CC BY-SA 4.0" />
  <row Id="16532" PostTypeId="1" CreationDate="2019-02-06T18:03:56.800" Score="1" ViewCount="5266" Body="&lt;p&gt;Whenever we restart or deploy to our server, I get the following error message for as long as I can remember. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    2019-02-06T17:56:51  PID[9040] Warning     9428 17:56:51 WARN  Counter initialization. Loading types from assembly Sitecore.EmailCampaign.Activities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null failed&#xA;Exception: System.Reflection.ReflectionTypeLoadException&#xA;Message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.&#xA;Source: mscorlib&#xA;   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)&#xA;   at System.Reflection.Assembly.GetTypes()&#xA;   at Sitecore.Cloud.ApplicationInsights.CounterLoader.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;LoadCounters&amp;gt;b__1(Assembly a)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 9.0.2 (180604) on an Azure App Service. Our local DLL version matches what's on our upstream servers. The image below shows the DLL version:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nOI7f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nOI7f.png&quot; alt=&quot;Sitecore.EmailCampaign.Activities.dll version&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can this issue be resolved?&lt;/p&gt;&#xA;" OwnerUserId="946" LastEditorUserId="946" LastEditDate="2019-02-07T17:49:58.103" LastActivityDate="2019-03-24T13:02:55.680" Title="How to fix System.Reflection.ReflectionTypeLoadException when loading types from Sitecore.EmailCampaign.Activities" Tags="|paas|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="16533" PostTypeId="1" AcceptedAnswerId="16534" CreationDate="2019-02-06T18:21:54.173" Score="3" ViewCount="447" Body="&lt;p&gt;We are using Azure Search for a custom index and I have SwitchOnRebuild enabled in my config patch.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!--  USE SWITCHONREBUILD&#xA;        Determines if Azure Search provider uses SwitchOnRebuild() function to avoid Search functionality downtime during index rebuild.&#xA;        Each time you do a full index rebuild, this rebuild take place in the secondary index.&#xA;        The secondary index becomes the primary one after the rebuild&#xA;&#xA;        Default value: true&#xA;  --&amp;gt;&#xA;  &amp;lt;setting name=&quot;ContentSearch.Azure.SwitchOnRebuild&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This all seems to work quite well. As I understand it (and can see in the Azure Search Service) an second index is created with the suffix: '_secondary' at the point of rebuilding and is switched to the primary index once the rebuild is complete and the old index is deleted. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm wondering where Sitecore stores the name of the current/primary index in use and if this is accessible in some way? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be good to understand more about how the Azure Search provider is switched on each role in Azure also as there doesn't seem to be much info on this.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-05-15T11:41:02.243" Title="How is the name of the primary index name stored when using SwitchOnRebuild in Azure Search?" Tags="|content-search|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16534" PostTypeId="2" ParentId="16533" CreationDate="2019-02-06T18:31:09.620" Score="3" Body="&lt;p&gt;You should check &lt;a href=&quot;https://sitecore.stackexchange.com/a/16325/237&quot;&gt;https://sitecore.stackexchange.com/a/16325/237&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SwitchOnRebuild was introduced for Azure Search in Sitecore 9.0.2 and 8.2.7&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As from that version, Sitecore has this feature, and it is turned on by default. To know which actual index to use, Sitecore keeps data in the &lt;code&gt;Properties&lt;/code&gt; table of the &lt;code&gt;Core database&lt;/code&gt;. After an index is rebuild, the apps change their value and switch indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that SSE question mentioned above, I noticed issues with the 9.0.2 version that should be fixed in 9.1.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-02-06T19:00:15.037" LastActivityDate="2019-02-06T19:00:15.037" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16535" PostTypeId="1" CreationDate="2019-02-06T18:32:17.430" Score="5" ViewCount="2204" Body="&lt;p&gt;Recently created a Sitecore PaaS instance associating with Solr IaaS, The Index Manager Console looks to be empty. What is wrong here !&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mO5oz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mO5oz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1698" LastEditorUserId="73" LastEditDate="2019-06-27T09:31:23.297" LastActivityDate="2021-08-17T00:53:14.637" Title="All search indexes missing" Tags="|solr|indexing|paas|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16536" PostTypeId="1" CreationDate="2019-02-06T18:37:29.057" Score="2" ViewCount="744" Body="&lt;p&gt;Every time I deploy to the Azure App Service, the first load of preview or edit mode takes extremely long to load and when the page does become visible, a 500 error becomes visible where the Sitecore ribbon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/P5azl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P5azl.png&quot; alt=&quot;500 - The request timed out&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore logs show the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2018-11-09T22:54:05  PID[1052] Error       11772 22:54:05 ERROR Failed to render rendering&#xA;&#xA;Exception: System.InvalidOperationException&#xA;&#xA;Message: Error while rendering view: '/sitecore/shell/client/Sitecore/ExperienceEditor/PageEditbar/PageEditBar.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ArgumentException&#xA;&#xA;Message: Item has already been added. Key in dictionary: '{B11432AF-89DD-4F53-A1A5-2A9D1B2244E0}'  Key being added: '{B11432AF-89DD-4F53-A1A5-2A9D1B2244E0}'&#xA;&#xA;Source: mscorlib&#xA;&#xA;   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)&#xA;&#xA;   at Sitecore.ExperienceEditor.Web.Sprites.SpriteDefinitionManager..ctor(Database database, ID spriteStorageNodeId, ISpriteDefinitionFactory spriteDefinitionFactory, ICachedItemsWatcherFactory cachedItemsWatcherFactory)&#xA;&#xA;   at Sitecore.ExperienceEditor.Pipelines.PrepareEditorResources.Processors.RenderHiddenCachedImages.Process(PrepareEditorResourcesArgs args)&#xA;&#xA;   at (Object , Object )&#xA;&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;   at Sitecore.ExperienceEditor.Pipelines.PrepareEditorResources.ExecutePrepareEditorResourcesPipeline.Run(PrepareEditorResourcesArgs args)&#xA;&#xA;   at Sitecore.ExperienceEditor.Speak.PageEditbar.PageEditBar.Render(HtmlTextWriter output)&#xA;&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;&#xA;   at Sitecore.ExperienceEditor.Speak.PageEditbar.ControlsExtension.PageEditBar(Controls controls, Rendering rendering, HtmlHelper`1 htmlHelper)&#xA;&#xA;   at ASP._Page_sitecore_shell_client_Sitecore_ExperienceEditor_PageEditbar_PageEditBar_cshtml.Execute() in d:\home\site\wwwroot\sitecore\shell\client\Sitecore\ExperienceEditor\PageEditbar\PageEditBar.cshtml:line 4&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;2018-11-09T22:54:05  PID[1052] Error       11772 22:54:05 ERROR Failed to render rendering&#xA;&#xA;Exception: System.InvalidOperationException&#xA;&#xA;Message: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;&#xA;&#xA;Source: Sitecore.Mvc&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;&#xA;&#xA;Nested Exception&#xA;&#xA;&#xA;&#xA;Exception: System.InvalidOperationException&#xA;&#xA;Message: Error while rendering view: '/sitecore/shell/client/Sitecore/ExperienceEditor/PageEditbar/PageEditBar.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;&#xA;&#xA;Source: Sitecore.Mvc&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;&#xA;   at (Object , Object )&#xA;&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;&#xA;   at (Object , Object )&#xA;&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.RenderPlaceholderCore(String placeholderName, TextWriter writer)&#xA;&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;&#xA;   at ASP._sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute()&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;&#xA;&#xA;Nested Exception&#xA;&#xA;&#xA;&#xA;Exception: System.ArgumentException&#xA;&#xA;Message: Item has already been added. Key in dictionary: '{B11432AF-89DD-4F53-A1A5-2A9D1B2244E0}'  Key being added: '{B11432AF-89DD-4F53-A1A5-2A9D1B2244E0}'&#xA;&#xA;Source: mscorlib&#xA;&#xA;   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)&#xA;&#xA;   at Sitecore.ExperienceEditor.Web.Sprites.SpriteDefinitionManager..ctor(Database database, ID spriteStorageNodeId, ISpriteDefinitionFactory spriteDefinitionFactory, ICachedItemsWatcherFactory cachedItemsWatcherFactory)&#xA;&#xA;   at Sitecore.ExperienceEditor.Pipelines.PrepareEditorResources.Processors.RenderHiddenCachedImages.Process(PrepareEditorResourcesArgs args)&#xA;&#xA;   at (Object , Object )&#xA;&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;   at Sitecore.ExperienceEditor.Pipelines.PrepareEditorResources.ExecutePrepareEditorResourcesPipeline.Run(PrepareEditorResourcesArgs args)&#xA;&#xA;   at Sitecore.ExperienceEditor.Speak.PageEditbar.PageEditBar.Render(HtmlTextWriter output)&#xA;&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;&#xA;   at Sitecore.ExperienceEditor.Speak.PageEditbar.ControlsExtension.PageEditBar(Controls controls, Rendering rendering, HtmlHelper`1 htmlHelper)&#xA;&#xA;   at ASP._Page_sitecore_shell_client_Sitecore_ExperienceEditor_PageEditbar_PageEditBar_cshtml.Execute() in d:\home\site\wwwroot\sitecore\shell\client\Sitecore\ExperienceEditor\PageEditbar\PageEditBar.cshtml:line 4&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;2018-11-09T22:54:05  PID[1052] Error       11772 22:54:05 ERROR Application error.&#xA;&#xA;Exception: System.Web.HttpUnhandledException&#xA;&#xA;Message: An unhandled exception occurred.&#xA;&#xA;Source: Sitecore.Mvc&#xA;&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;&#xA;   at (Object , Object )&#xA;&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)&#xA;&#xA;   at System.Web.Mvc.Controller.&amp;lt;BeginExecuteCore&amp;gt;b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)&#xA;&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;&#xA;&#xA;Nested Exception&#xA;&#xA;&#xA;&#xA;Exception: System.InvalidOperationException&#xA;&#xA;Message: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;&#xA;&#xA;Source: Sitecore.Mvc&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;&#xA;   at (Object , Object )&#xA;&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;&#xA;   at Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer)&#xA;&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)&#xA;&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;&#xA;&#xA;&#xA;Nested Exception&#xA;&#xA;&#xA;&#xA;Exception: System.InvalidOperationException&#xA;&#xA;Message: Error while rendering view: '/sitecore/shell/client/Sitecore/ExperienceEditor/PageEditbar/PageEditBar.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;&#xA;&#xA;Source: Sitecore.Mvc&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;&#xA;   at (Object , Object )&#xA;&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;&#xA;   at (Object , Object )&#xA;&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.RenderPlaceholderCore(String placeholderName, TextWriter writer)&#xA;&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;&#xA;   at ASP._sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute()&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;&#xA;&#xA;Nested Exception&#xA;&#xA;&#xA;&#xA;Exception: System.ArgumentException&#xA;&#xA;Message: Item has already been added. Key in dictionary: '{B11432AF-89DD-4F53-A1A5-2A9D1B2244E0}'  Key being added: '{B11432AF-89DD-4F53-A1A5-2A9D1B2244E0}'&#xA;&#xA;Source: mscorlib&#xA;&#xA;   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)&#xA;&#xA;   at Sitecore.ExperienceEditor.Web.Sprites.SpriteDefinitionManager..ctor(Database database, ID spriteStorageNodeId, ISpriteDefinitionFactory spriteDefinitionFactory, ICachedItemsWatcherFactory cachedItemsWatcherFactory)&#xA;&#xA;   at Sitecore.ExperienceEditor.Pipelines.PrepareEditorResources.Processors.RenderHiddenCachedImages.Process(PrepareEditorResourcesArgs args)&#xA;&#xA;   at (Object , Object )&#xA;&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;&#xA;   at Sitecore.ExperienceEditor.Pipelines.PrepareEditorResources.ExecutePrepareEditorResourcesPipeline.Run(PrepareEditorResourcesArgs args)&#xA;&#xA;   at Sitecore.ExperienceEditor.Speak.PageEditbar.PageEditBar.Render(HtmlTextWriter output)&#xA;&#xA;   at Sitecore.Web.UI.Controls.ComponentBase.Render()&#xA;&#xA;   at Sitecore.ExperienceEditor.Speak.PageEditbar.ControlsExtension.PageEditBar(Controls controls, Rendering rendering, HtmlHelper`1 htmlHelper)&#xA;&#xA;   at ASP._Page_sitecore_shell_client_Sitecore_ExperienceEditor_PageEditbar_PageEditBar_cshtml.Execute() in d:\home\site\wwwroot\sitecore\shell\client\Sitecore\ExperienceEditor\PageEditbar\PageEditBar.cshtml:line 4&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;An interesting part of the error message is the mention of: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Message: Item has already been added. Key in dictionary: '{B11432AF-89DD-4F53-A1A5-2A9D1B2244E0}'  Key being added: '{B11432AF-89DD-4F53-A1A5-2A9D1B2244E0}'&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This ID is an item in the core DB that corresponds to the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ne9mh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ne9mh.png&quot; alt=&quot;Sprites item ID {B11432AF-89DD-4F53-A1A5-2A9D1B2244E0}&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears to me that this is a Sitecore bug. Any thoughts are appreciated.&lt;/p&gt;&#xA;" OwnerUserId="946" LastActivityDate="2019-02-06T18:37:29.057" Title="How to fix 500 error in Sitecore ribbon on first Experience Editor / Preview mode load" Tags="|paas|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16537" PostTypeId="1" AcceptedAnswerId="16541" CreationDate="2019-02-06T18:53:16.303" Score="3" ViewCount="106" Body="&lt;p&gt;We are currently developing a Sitecore package and we have a few &lt;strong&gt;automated functional/integration tests&lt;/strong&gt; as part of this project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, every time a developer &lt;strong&gt;pushes&lt;/strong&gt; its code to the trunk our CI/CD pipeline (Jenkins in our case) would identify this event and &lt;strong&gt;spawn a new machine to run the automated tests&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script running on Jenkins is currently able to install a new Sitecore 9.x using SIF, which is awesome. After that, all it has to do is install our package via command-line and then run the automated tests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we can have as many tests running in parallel as our team want (or as many as our team can merge its stuff) these Sitecore instances must be created on demand, that's the reason we are spawning a new machine for every scenario.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering what would be the best approach when it comes to Sitecore 8x since we can't use SIF.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did someone else face a similar situation in the past and/or have an idea?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-06T20:12:36.713" Title="What is the best approach to spawn a fresh new Sitecore 8x instance automatically?" Tags="|sitecore-install-framework|automation|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16538" PostTypeId="2" ParentId="16531" CreationDate="2019-02-06T19:15:31.563" Score="0" Body="&lt;p&gt;Set a breakpoint in your controller/service code to see if the content is being returned and shaped as you expect.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-06T19:15:31.563" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16539" PostTypeId="2" ParentId="16537" CreationDate="2019-02-06T19:26:50.583" Score="0" Body="&lt;p&gt;We've used our own PowerShell scripts to do what you're describing. In the Sitecore 8 space -- before SIF -- many organizations built their own automated way of provisioning Sitecore installations. In fact, I think the origins of SIF come from Sitecore's own QA teams provisioning environments on-demand to evaluate features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can go through the Sitecore installation document and procedurally complete every step in PowerShell, adding variables where it makes sense (site name, version, etc).&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2019-02-06T19:26:50.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16540" PostTypeId="2" ParentId="16529" CreationDate="2019-02-06T19:29:35.227" Score="1" Body="&lt;p&gt;Is the RSS feed really just an XML file generated by the system? I wonder if you're blocking .xml (through the HttpForbiddenHandler -- &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/limit-access-to--xml,--xslt,-and--mrt-files.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/limit-access-to--xml,--xslt,-and--mrt-files.html&lt;/a&gt; ?).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try removing that  handler from your configuration and see if that makes a difference?&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2019-02-06T19:29:35.227" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16541" PostTypeId="2" ParentId="16537" CreationDate="2019-02-06T19:30:09.170" Score="3" Body="&lt;p&gt;The way I manage to solve a very similar problem in the past with Sitecore 8.x was to have &quot;seed&quot; installations of Sitecore (8.0, 8.1, 8.2, etc.). Each installation would contain:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Base installation&lt;/li&gt;&#xA;&lt;li&gt;Any modules required installed&lt;/li&gt;&#xA;&lt;li&gt;External dependencies&lt;/li&gt;&#xA;&lt;li&gt;Everything vanilla configuration&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 1:&lt;/strong&gt; The seed can be a collection of Zip files with databases and website folder, that you just copy and unzip to the right folder. After that you run some PowerShell scripts to fix folder permissions and restore databases. I'm assuming here a pool of shared resources (MongoDB, SQL Server, etc.) available to all instance, with each one of them pointing to specific collections on MongoDB, Databases on SQL Server, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option 2:&lt;/strong&gt; If you want to go one step further, you can have VMs with Snapshot points where you can always restore to the &quot;seed&quot; state, and deploy again. On this case, you just need to make sure all of your VMs are synced, if you have more than one on your test environment. That's the choice that I went once I had proved the approach above mentioned with Zip files. Just be careful if you want to spin up new VMs based on the seed, you may want to check WinPE to create a seed of the VMs that you can replicate as much as you want.&lt;/p&gt;&#xA;" OwnerUserId="2406" LastActivityDate="2019-02-06T19:30:09.170" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16542" PostTypeId="2" ParentId="16537" CreationDate="2019-02-06T20:12:36.713" Score="1" Body="&lt;p&gt;For the records, that's the way we are dealing with this challenge currently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We took the easiest approach possible even if it is not the most elegant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We just created this &lt;strong&gt;Windows Machine image&lt;/strong&gt; which contains a bunch of &lt;strong&gt;Sitecore instances already installed&lt;/strong&gt;, one for each Sitecore version we want to run our automated tests (7.2 until 9.1). The instance names are following an internal convention by the way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, all Jenkins has to do is spawn a new machine using this image. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On that way, the &lt;strong&gt;automation script can blindly access the wanted Sitecore version&lt;/strong&gt; (since it can predict its name) and do whatever it wants with it.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-06T20:12:36.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16544" PostTypeId="1" AcceptedAnswerId="16547" CreationDate="2019-02-06T20:29:28.013" Score="1" ViewCount="296" Body="&lt;p&gt;The Sitecore 9.1 installation simply stalls at step 87.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZzDty.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZzDty.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It doesn't really fail, it just stays there for a long period of time (like 30 minutes last time it happened).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of the sudden, it works and the installation is complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected or there is something wrong with my local setup?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hear all the time people saying how fast they can spawn a new Sitecore 9.1 instance, that made me think about fixing my stuff.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-06T21:10:25.370" Title="Sitecore 9.1 Installation blocked at step 87/88 - [UpdateSolrSchema]" Tags="|sitecore-install-framework|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16546" PostTypeId="1" CreationDate="2019-02-06T20:59:28.993" Score="0" ViewCount="239" Body="&lt;p&gt;When calling AddCartLine in Postman&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;cartId&quot;:&quot;{ee79d65c-631e-4c96-9dfe-031af910bed1}&quot;,&#xA;    &quot;itemId&quot;: &quot;Entity-Catalog-MyCat|20023_0000118|00889918331075&quot;,&#xA;    &quot;quantity&quot;: 1&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get the following errors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;25 13:54:27 ERROR Inventory.block.PopulateItemAvailability-No ProductArgument in Context&#xA;21 13:54:27 ERROR CtxMsg.Error.EntityNotFound: Text=Entity '|0000118|00889918331075' was not found.&#xA;4 13:54:27 ERROR PipelineAbort:Entity '|0000118|00889918331075' was not found.&#xA;4 13:54:27 ERROR Availability.PopulateDefaultItemAvailabilityComponentBlock.InventoryItemNotFound.|0000118|00889918331075&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This same error occur from the &lt;code&gt;Sitecore.Commerce.Console&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public static string AddCartLineWithVariant(string cartId)&#xA; {&#xA;     var commandResult = Proxy.DoCommand(&#xA;         ShopsContainer.AddCartLine(cartId, EnvironmentConstants.Bzees_Catalog + &quot;|20023_0000118|00889918331075&quot;, 1));&#xA;&#xA;    return commandResult.Models.OfType&amp;lt;LineAdded&amp;gt;().FirstOrDefault()?.LineId;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="598" LastEditorUserId="70" LastEditDate="2019-02-06T22:55:04.713" LastActivityDate="2019-02-28T20:18:14.703" Title="ERROR Inventory.block.PopulateItemAvailability-No ProductArgument in Context" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16547" PostTypeId="2" ParentId="16544" CreationDate="2019-02-06T21:10:25.370" Score="2" Body="&lt;p&gt;We did run the 9.1 installation scripts multiple times in different local machines, never noticed 30 minutes delay to update the Solr Schema. Just check your installation logs if it says &quot;[Success] Completed Request&quot; like the below then no issues with the installation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It usually takes few minutes to update the solr schema. But it's unusual/rare in your case, may be something else is causing the delay in your machine, Without knowing your local machine configuration and usage, not easy to comment on this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if required you can verify/replicate this step again from Sitecore Control Panel &quot;Populate Solr Managed Schema&quot; or you can run the URL &lt;a href=&quot;http://your-domain/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://your-domain/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&lt;/a&gt; which is in your screen shot to make sure that it was just a temporary glitch when installing the Sitecore and no issues updating the solr schema.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreXP0_UpdateSolrSchema]:[Authenticating] http://your-domain/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&#xA;[SitecoreXP0_UpdateSolrSchema]:[Requesting] http://your-domain/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&#xA;[SitecoreXP0_UpdateSolrSchema]:**[Success] Completed Request**&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-02-06T21:10:25.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16549" PostTypeId="1" CreationDate="2019-02-07T01:31:29.370" Score="3" ViewCount="308" Body="&lt;p&gt;We are currently experiencing an issue in our Production environment (CD or CM in a scaled CD, CM, PRC, REP and xConnect setup) where client returns contact about 10% of the time when using the example xConnect contact creation code &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/set-contact-facets-217864.html#idm45860102363808&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics.Model;&#xA;using Sitecore.Analytics.Model.Entities;&#xA;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Client;&#xA;using Sitecore.XConnect.Collection.Model;&#xA;&#xA;namespace Documentation&#xA;{&#xA;    public class TrackAnonymousContacts&#xA;    {&#xA;        public void Example()&#xA;        {&#xA;            if (Sitecore.Analytics.Tracker.Current.Contact.IsNew)&#xA;            {&#xA;                var manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as Sitecore.Analytics.Tracking.ContactManager;&#xA;&#xA;                if (manager != null)&#xA;                {&#xA;                    Sitecore.Analytics.Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;                    manager.SaveContactToCollectionDb(Sitecore.Analytics.Tracker.Current.Contact);&#xA;&#xA;                    var trackerIdentifier = new IdentifiedContactReference(Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource, Sitecore.Analytics.Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&#xA;                    using (XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;                    {&#xA;                        try&#xA;                        {&#xA;                            var contact = client.Get&amp;lt;Contact&amp;gt;(trackerIdentifier, new Sitecore.XConnect.ContactExpandOptions());&#xA;&#xA;                            if (contact != null)&#xA;                            {&#xA;                                client.SetFacet&amp;lt;PersonalInformation&amp;gt;(contact, PersonalInformation.DefaultFacetKey, new PersonalInformation()&#xA;                                {&#xA;                                    FirstName = &quot;Myrtle&quot; // Replace with real input source&#xA;                                });&#xA;&#xA;                                client.Submit();&#xA;&#xA;                                manager.RemoveFromSession(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;                                Sitecore.Analytics.Tracker.Current.Session.Contact = manager.LoadContact(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;                            }&#xA;                        }&#xA;                        catch (XdbExecutionException ex)&#xA;                        {&#xA;                            // Manage conflicts / exceptions&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We do not see this issue in any other environments and it is impacting our conversion / identification of users. We've deployed additional logging and various potential solutions eg. Retry contact creation X times, using different manager methods or first identifying the user before pushing contact facets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also worth noting it's running on 9.0 Update-2 and that there are no errors in the logs for the contact creation in either Sitecore or xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced this issue before?&lt;/p&gt;&#xA;" OwnerUserId="751" LastEditorUserId="751" LastEditDate="2019-02-07T22:14:09.070" LastActivityDate="2019-02-08T03:52:46.363" Title="Intermittent failure of xConnect contact creation" Tags="|xconnect|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="16551" PostTypeId="2" ParentId="16515" CreationDate="2019-02-07T03:07:48.877" Score="1" Body="&lt;p&gt;Assuming that you are using Express Migration Tool 3.1, From Express migration tool installation guide, &lt;a href=&quot;https://dev.sitecore.net/~/media/4B49AAB1EBE94F55ADF07A7740AABBC8.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/~/media/4B49AAB1EBE94F55ADF07A7740AABBC8.ashx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When referring this KB &lt;a href=&quot;https://kb.sitecore.net/articles/400952&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/400952&lt;/a&gt; looks like none of the version supports to migrate directly to 9.1 from 7.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Sitecore Express Migration Tool 3.1 is designed to help you migrate directly from older versions of Sitecore to the latest version of Sitecore Experience Platform™ 9.0 rev. 171002 (Initial Release).&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may not work as expected, when you set your target instance as Sitecore 9.1. So it would be better migrating to 9.0 and then migrate to 9.1 using the migration steps &lt;a href=&quot;https://dev.sitecore.net/~/media/E78AB08CE53F4C27B668A6D49791C9D3.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/~/media/E78AB08CE53F4C27B668A6D49791C9D3.ashx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And for the website folder always noticed, if the Website folder [whatever given in the parameters] is accessible [read/write] from the device where we run the migration, I think that should be enough.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-02-07T03:19:48.733" LastActivityDate="2019-02-07T03:19:48.733" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16552" PostTypeId="1" CreationDate="2019-02-07T04:20:43.093" Score="1" ViewCount="636" Body="&lt;p&gt;In SXA 1.8 how do I implement having a div with classes and aria labelling around two components (eg. a link list and search box). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;eg. I want: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;div id=&quot;menu&quot; class=&quot;header-content menu-collapse js-menu&quot; aria-labelledby=&quot;open-menu&quot; aria-hidden=&quot;true&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I use a container there is no Css Class field - there is only the option to add a new Style to the site and tick that, but the intention is that it is only relevant to this one div.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also get div class=&quot;row&quot; being inserted which I can't see how to robustly exclude because the container.cshtml is using a dynamic placeholder id as part of the key. My elements are supposed to sit next to one another so the new row breaks the layout I'm going for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l9BXv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l9BXv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lastly is it correct to assume that I shouldn't make use of the id field of a container?  I did this and suddenly lost content of the container on saving, and I have a recollection of reading this fact somewhere.  &lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-02-07T21:33:28.800" LastActivityDate="2019-02-07T21:33:28.800" Title="Best practice for adding a div with class around a couple of renderings" Tags="|sxa|best-practices|" AnswerCount="0" CommentCount="0" ClosedDate="2019-02-07T09:51:19.467" ContentLicense="CC BY-SA 4.0" />
  <row Id="16553" PostTypeId="1" CreationDate="2019-02-07T05:01:50.430" Score="2" ViewCount="5235" Body="&lt;p&gt;I am building a navigation component using glass mapper. The problem I am facing is not being able to get children items of a navigation item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now I am only getting Parent navigation items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my model: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{127AF5CF-4170-4E43-A8CC-DB89591954E2}&quot;, AutoMap = true)]&#xA;&#xA;public class NavigationItem&#xA;{&#xA;    public NavigationItem()&#xA;    {&#xA;        ChildNavigations = new List&amp;lt;NavigationItem&amp;gt;();&#xA;    }&#xA;&#xA;    [SitecoreField]&#xA;    public virtual string Title { get; set; }&#xA;&#xA;    [SitecoreField(FieldType = SitecoreFieldType.GeneralLink)]&#xA;    public virtual Link Url { get; set; }&#xA;&#xA;    [SitecoreField(FieldName = &quot;Is Excluded&quot;)]&#xA;    public virtual bool IsExcluded { get; set; }&#xA;&#xA;    [SitecoreChildren(InferType = true)]&#xA;    public List&amp;lt;NavigationItem&amp;gt; ChildNavigations { get; set; }&#xA;}&#xA;&#xA;    public ActionResult RenderNavigation()&#xA;    {&#xA;        var mvcContext = new MvcContext();&#xA;&#xA;        var currentItem = Sitecore.Context.Database.GetItem(ID.Parse(&quot;{64121195-F56F-4A8B-B8F9-5A1E69BA62FD}&quot;));&#xA;&#xA;        IEnumerable&amp;lt;NavigationItem&amp;gt; navigationItems = currentItem.Children&#xA;            .Where(O =&amp;gt; O.TemplateID.Equals(ID.Parse(&quot;{127AF5CF-4170-4E43-A8CC-DB89591954E2}&quot;)))&#xA;            .Select(x =&amp;gt; mvcContext.SitecoreService.GetItem&amp;lt;NavigationItem&amp;gt;(x));&#xA;&#xA;        return View(navigationItems);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aX5EW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aX5EW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4997" LastActivityDate="2019-02-07T12:36:43.873" Title="How to get children of an item via glass mapper?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16554" PostTypeId="1" CreationDate="2019-02-07T06:23:24.580" Score="1" ViewCount="357" Body="&lt;p&gt;The below Url is working fine in our development environment and we want to move the respective config changes to Production CD Server only in order to make those API's public. Will the below API still work in Production CD Server if we move respective configs?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://%3Cmy_domain%3E/sitecore/api/ssc/auth/login&quot; rel=&quot;nofollow noreferrer&quot;&gt;https:/my_domain/sitecore/api/ssc/auth/login&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, we are using SXA Sites and there is a requirement for Microsites as well where they are not having any specific site but they are trying to create data items inside a common folder which is out of our SXA Site with domain 'my_domain'. In this case, want to know whether the below Url work after login&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://%3Cmy_domain%3E/sitecore/api/ssc/auth/login&quot; rel=&quot;nofollow noreferrer&quot;&gt;https:/my_domain/sitecore/api/ssc/item/{Item Id out of this site}&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item will be in different folder outside of the site with domain my_domain.&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2019-02-18T09:08:21.073" LastActivityDate="2019-02-18T09:08:21.073" Title="Sitecore Items Services API requests from CD Server" Tags="|sxa|sitecore-client|content-delivery|sitecore-services-client|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16555" PostTypeId="2" ParentId="16553" CreationDate="2019-02-07T06:27:13.067" Score="5" Body="&lt;p&gt;I assume that you are using Glass Mapper v4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to fix your problem change your definition of ChildNavigations to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreChildren(IsLazy = false)]&#xA;public virtual IEnumerable&amp;lt;NavigationItem&amp;gt; ChildNavigations { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There was a change for v5 and you need to do it differently:&#xA;&lt;a href=&quot;http://glass.lu/Mapper/Documentation/UpgradingToV5&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://glass.lu/Mapper/Documentation/UpgradingToV5&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-02-07T12:36:43.873" LastActivityDate="2019-02-07T12:36:43.873" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16556" PostTypeId="1" CreationDate="2019-02-07T07:20:08.353" Score="3" ViewCount="1202" Body="&lt;p&gt;Currently, I am looking Sitecore CMS solution for native mobile app development.&#xA;Mobile App Team is using Swift for IOS and Java for Android.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So we have a limitation to use JSS react native for mobile app development while considering this limitation we need to use Sitecore as a headless CMS (using analytics, tracking, rule engine personalization, control on component rendering on the mobile app through Sitecore)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I am using Sitecore 9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please share your experience for the same &lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2019-02-07T10:17:26.150" Title="What’s the best practice to Expose Sitecore 9 APIs for Mobile Apps Development?" Tags="|sitecore-api|jss|mobile|" AnswerCount="1" CommentCount="1" ClosedDate="2019-02-07T11:48:04.483" ContentLicense="CC BY-SA 4.0" />
  <row Id="16557" PostTypeId="2" ParentId="8518" CreationDate="2019-02-07T07:42:19.953" Score="2" Body="&lt;p&gt;I also followed all mentioned steps but still I was unable to see the forms. In Chrome developer tools I noticed I got a 403 Forbidden when requesting &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/api/ssc/forms/formdesign/formdesign/languages?sc_formmode=edit&amp;amp;_=1549524616558&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I started to look further on 403 reponses on SC API requests. Eventually this led me to a suggestion to clear all my browser cookies. This solved the issue for me.&lt;/p&gt;&#xA;" OwnerUserId="2420" LastActivityDate="2019-02-07T07:42:19.953" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16558" PostTypeId="2" ParentId="16556" CreationDate="2019-02-07T07:49:57.323" Score="9" Body="&lt;p&gt;Sitecore JSS is pretty match to your requirements in terms you want to use analytics, tracking, rule engine personalization, control on component rendering. But you should't think about JSS in original meaning. JSS is based on the Layout Service which is awesome tool that allows us to retrieve content from Sitecore and still be able to use all features like tracking, personalization and so on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can still keep the development in the same way you are now, you just need to use an API provided by JSS to get content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please look at the following question and answer for understanding the process:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/12953/share-sitecore-content-to-native-mobile-apps-ios-swift-and-android-java/12966#12966&quot;&gt;Share Sitecore content to Native Mobile Apps (IOS swift and Android java)&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about Layout Service here: &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/services/layout-service#the-sitecore-layout-service&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Layout Service&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also feel free to have a look at an application we built for SUGCON 2018:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5MxmY.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5MxmY.jpg&quot; alt=&quot;Mobile application and JSS&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see the mobile app in action: (please start from 24th minute): &lt;a href=&quot;https://www.youtube.com/watch?v=xdom1wy0YQg&quot; rel=&quot;noreferrer&quot;&gt;Sitecore xConnect &amp;amp; Marketing Automation omni-channel demo&lt;/a&gt;. Our application is build on Xamarin but it doesn't matter as we send a simple HTTP requests via HTTP client. You can do the same using any platform. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore tree structure is represented below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fP82s.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fP82s.png&quot; alt=&quot;Mobile Application JSS - Sitecore Tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where &quot;Home&quot; item represents a main screen of mobile application and displays a list of services. Items under the Home are used as datasources for renderings that are set for the Home:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lcy5r.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lcy5r.png&quot; alt=&quot;Mobile App JSS - Presentation&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Renderings don't have any HTML behind, they are empty, and are used only to set associated content. When we request the Home item in Layout Service, it will return the following output: &lt;a href=&quot;https://github.com/ampach/Sitecore/blob/master/Shared/jss_home_output.json&quot; rel=&quot;noreferrer&quot;&gt;Home Screen JSON&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we click on some service, we will call the API to get content for specific service. The output is here: &lt;a href=&quot;https://github.com/ampach/Sitecore/blob/master/Shared/jss_service_output.json&quot; rel=&quot;noreferrer&quot;&gt;Service Screen JSON&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Personalization rules are in place too:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dbhGR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dbhGR.png&quot; alt=&quot;Mobile App JSS - Personalization rules&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, you can build any content structure, any navigation structure, use dictionaries and any other things you want and then Layout Service will provide it for you. I found it as a best tool to implement a headless solutions.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2019-02-07T10:17:26.150" LastActivityDate="2019-02-07T10:17:26.150" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16560" PostTypeId="1" AcceptedAnswerId="16561" CreationDate="2019-02-07T09:43:42.407" Score="3" ViewCount="650" Body="&lt;p&gt;We have to remove one rendering from multiple pages across the site. For that we have created a Powershell script to delete the rendering. Can we run the same powershell script directly on web db and Master db in sitecore, is it suggestable? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Clause:&lt;/strong&gt; Don't want to perform entire site publishing&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only option which I see is to do the changes in Master DB and do a item level publishing.&lt;/p&gt;&#xA;" OwnerUserId="2473" LastEditorUserId="2473" LastEditDate="2019-02-07T09:49:38.823" LastActivityDate="2019-02-07T09:49:38.823" Title="Is it good to update item values in web database in sitecore?" Tags="|publishing|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16561" PostTypeId="2" ParentId="16560" CreationDate="2019-02-07T09:45:57.020" Score="6" Body="&lt;p&gt;It's never recommended to perform any updates in &lt;code&gt;web&lt;/code&gt; database directly. If you do this without running &lt;strong&gt;exactly&lt;/strong&gt; the same updates in &lt;code&gt;master&lt;/code&gt; database&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If publish anything in &lt;code&gt;master&lt;/code&gt; database later, you'll overwrite your &lt;code&gt;web&lt;/code&gt; database changes. &lt;/li&gt;&#xA;&lt;li&gt;If your application depends on indexes like &lt;code&gt;sitecore_web_index&lt;/code&gt;, most probably it's using &lt;code&gt;onPublishEndAsync&lt;/code&gt; strategy which doesn't trigger index updates if you change items in &lt;code&gt;web&lt;/code&gt; database directly.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I think much better option would be to update your powershell script to publish every item it updates.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-07T09:45:57.020" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16562" PostTypeId="1" CreationDate="2019-02-07T10:11:32.743" Score="3" ViewCount="1058" Body="&lt;p&gt;I'm looking for a complete list of which media files Sitecore 9.0 supports. I can't find anything in Sitecore documentation. Only examples. Does anyone know?&lt;/p&gt;&#xA;" OwnerUserId="5025" LastEditorUserId="2473" LastEditDate="2019-02-07T10:18:50.297" LastActivityDate="2019-02-07T11:49:57.560" Title="Which media files does Sitecore 9.0 support?" Tags="|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16563" PostTypeId="2" ParentId="16562" CreationDate="2019-02-07T10:17:17.660" Score="4" Body="&lt;p&gt;There is nothing like &quot;supported media file&quot; in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can upload any type of the file to media library. It can be image, video, word document. But it can also be a &lt;code&gt;.dat&lt;/code&gt; file or &lt;code&gt;.psd&lt;/code&gt; or even a file without any extension. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only question is what do you want to do with those files later. If you want to expose a downloadable link to them, it should work just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to create &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag in your website and use a PSD file as a source of it, it won't work.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-07T10:17:17.660" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16564" PostTypeId="2" ParentId="16562" CreationDate="2019-02-07T10:54:07.627" Score="4" Body="&lt;p&gt;Out of the box supported types for Sitecore 9.0 are as quoted:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;A Media item can be:&lt;/p&gt;&#xA;&lt;p&gt;Images — .jpg, .gif, .png and other formats.&lt;/p&gt;&#xA;&lt;p&gt;Microsoft Word documents — .doc and .docx files.&lt;/p&gt;&#xA;&lt;p&gt;.pdf documents&lt;/p&gt;&#xA;&lt;p&gt;Videos — .mpeg, .wmv and other formats.&lt;/p&gt;&#xA;&lt;p&gt;Audio files — .mp3 and other audio formats.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;source: &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/media-items.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In older versions, if you wished to support additional media file extensions you could extend this in configuration by doing a patch file like so, should be same in 9.0 and up but I haven't looked into it myself:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;// .SVG extension patch example&#xA;&amp;lt;configuration xmlns:patch=&amp;quot;www.sitecore.net/xmlconfig&amp;quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;mediaLibrary&amp;gt;&#xA;            &amp;lt;mediaTypes&amp;gt;&#xA;                &amp;lt;mediaType name=&amp;quot;SVG image&amp;quot; extensions=&amp;quot;svg&amp;quot;&amp;gt;&#xA;                    &amp;lt;mimeType&amp;gt;image/svg+xml&amp;lt;/mimeType&amp;gt;&#xA;                    &amp;lt;forceDownload&amp;gt;false&amp;lt;/forceDownload&amp;gt;&#xA;                    &amp;lt;sharedTemplate&amp;gt;system/media/unversioned/image&amp;lt;/sharedTemplate&amp;gt;&#xA;                   &amp;lt;versionedTemplate&amp;gt;system/media/versioned/image&amp;lt;/versionedTemplate&amp;gt;&#xA;                    &amp;lt;mediaValidator type=&amp;quot;Sitecore.Resources.Media.ImageValidator&amp;quot;/&amp;gt;&#xA;                    &amp;lt;thumbnails&amp;gt;&#xA;                        &amp;lt;generator type=&amp;quot;Sitecore.Resources.Media.ImageThumbnailGenerator, Sitecore.Kernel&amp;quot;&amp;gt;&#xA;                            &amp;lt;extension&amp;gt;png&amp;lt;/extension&amp;gt;&#xA;                        &amp;lt;/generator&amp;gt;&#xA;                        &amp;lt;width&amp;gt;150&amp;lt;/width&amp;gt;&#xA;                        &amp;lt;height&amp;gt;150&amp;lt;/height&amp;gt;&#xA;                        &amp;lt;backgroundColor&amp;gt;#FFFFFF&amp;lt;/backgroundColor&amp;gt;&#xA;                    &amp;lt;/thumbnails&amp;gt;&#xA;                &amp;lt;/mediaType&amp;gt;&#xA;            &amp;lt;/mediaTypes&amp;gt;&#xA;        &amp;lt;/mediaLibrary&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;source: &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1670&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Community Forums&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-07T11:49:57.560" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16565" PostTypeId="1" AcceptedAnswerId="16568" CreationDate="2019-02-07T11:34:57.103" Score="0" ViewCount="457" Body="&lt;p&gt;how to create a button in Sitecore SXA which would call a controller action or a rest Api ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;would it be through javascript or is there an ootb feature in SXA , where i could get the user and item context ?&lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="70" LastEditDate="2019-02-07T13:39:14.550" LastActivityDate="2019-02-07T13:39:14.550" Title="Sitecore SXA action call a controller action" Tags="|mvc|mvc-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16567" PostTypeId="1" CreationDate="2019-02-07T12:25:09.087" Score="1" ViewCount="354" Body="&lt;p&gt;During the xconnect-xp1-collection for sitecore 9.1.0, it fails to  create the shards db, although the rest are created successfully. I get the following error during the installation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not load type 'Microsoft.SqlServer.TransactSql.ScriptDom.CatalogCollationOption' from assembly 'Microsoft.SqlServer.TransactSql.ScriptDom, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd80&#xA;80cc91'. System.TypeLoadException: Could not load type 'Microsoft.SqlServer.TransactSql.ScriptDom.CatalogCollationOption' from assembly 'Microsoft.SqlServer.TransactSql.ScriptDom, Version=14.0.0.0, Culture&#xA;=neutral, PublicKeyToken=89845dcd8080cc91'.&#xA;   at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentPlanGenerator.AppendInitializeDatabaseSteps(DeploymentPlan plan)&#xA;   at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentPlanGenerator.OnGeneratePlan()&#xA;   at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentPlanGenerator.GeneratePlan(List`1 drops)&#xA;   at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeployment.BuildPlan()&#xA;   at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeployment.Controller.CreatePlan()&#xA;   at Microsoft.SqlServer.Dac.DeployOperation.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;&amp;gt;c__DisplayClass5.&amp;lt;CreatePlanInitializationOperation&amp;gt;b__1()&#xA;   at Microsoft.Data.Tools.Schema.Sql.Dac.OperationLogger.Capture(Action action)&#xA;   at Microsoft.SqlServer.Dac.DeployOperation.&amp;lt;&amp;gt;c__DisplayClass3.&amp;lt;CreatePlanInitializationOperation&amp;gt;b__0(Object operation, CancellationToken token)&#xA;   at Microsoft.SqlServer.Dac.Operation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;   at Microsoft.SqlServer.Dac.ReportMessageOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;   at Microsoft.SqlServer.Dac.OperationExtension.CompositeOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;   at Microsoft.SqlServer.Dac.OperationExtension.CompositeOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;   at Microsoft.SqlServer.Dac.DeployOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)&#xA;   at Microsoft.SqlServer.Dac.OperationExtension.Execute(IOperation operation, DacLoggingContext loggingContext, CancellationToken cancellationToken)&#xA;   at Microsoft.SqlServer.Dac.DacServices.InternalDeploy(IPackageSource packageSource, Boolean isDacpac, String targetDatabaseName, DacDeployOptions options, CancellationToken cancellationToken, DacLogging&#xA;Context loggingContext, Action`3 reportPlanOperation, Boolean executePlan)&#xA;   at Microsoft.SqlServer.Dac.DacServices.Deploy(DacPackage package, String targetDatabaseName, Boolean upgradeExisting, DacDeployOptions options, Nullable`1 cancellationToken)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.DacpacManager.DeployDacpac(String connectionString, String databaseName, String dacpacName)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.ShardDeploymentManager.CreateOrGetEmptyShard[T](RangeShardMap`1 shardMap, ISqlDatabaseManager sqlDatabaseManager, IDacpacManager dacpacManag&#xA;er, IShardManager shardManager)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.ShardDeploymentManager.CreateShard[T](RangeShardMap`1 shardMap, Range`1 rangeForNewShard, ISqlDatabaseManager sqlDatabaseManager, IDacpacMan&#xA;ager dacpacManager, IShardManager shardManager)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.ShardDeploymentManager.CreateShard[T](RangeShardMap`1 shardMap, ISqlDatabaseManager sqlDatabaseManager, IDacpacManager dacpacManager, IShard&#xA;Manager shardManager, IEnumerable`1 ranges, IConfiguration configuration)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.Program.CreateShardMapManagerAndShard(IShardDeploymentManager shardDeploymentManager, IShardManager shardManager, ISqlDatabaseManager sqlDat&#xA;abaseManager, IDacpacManager dacpacManager, IRangeManager rangeManager, IConfiguration configuration)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.Program.Main(String[] args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5011" LastActivityDate="2024-04-06T12:04:40.693" Title="Shards DB is not created during the installation of xconnect-xp1-collection" Tags="|xconnect|sitecore-install-framework|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16568" PostTypeId="2" ParentId="16565" CreationDate="2019-02-07T12:31:38.990" Score="4" Body="&lt;p&gt;This question is not &lt;strong&gt;SXA&lt;/strong&gt; specific question. It's Sitecore MVC question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see how it's done for &lt;strong&gt;Login&lt;/strong&gt;, &lt;strong&gt;Logout&lt;/strong&gt; renderings. Both of them use &lt;code&gt;Html.BeginForm()&lt;/code&gt; helper. The disadvantage of this is that page will reload once you click submit button. At the same time, it is good because there is security protection (&lt;code&gt;@Html.AntiForgeryToken()&lt;/code&gt;) against cross-site request forgery.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way would be JS call (AJAX Request) but there is no snippet for that in the SXA code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should review the answers for those keywords:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/search?q=call%20controller%20action%20sitecore%20mvc&quot;&gt;&quot;call controller action sitecore mvc&quot;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am sure you will find something.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-07T12:31:38.990" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16569" PostTypeId="2" ParentId="16530" CreationDate="2019-02-07T12:47:33.823" Score="10" Body="&lt;p&gt;In version 5 config.EnableLazyLoadingForCachableModels setting &lt;strong&gt;was removed&lt;/strong&gt; and &quot;IsLazy&quot;-setting &lt;strong&gt;was removed&lt;/strong&gt; from all model property configuration, like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreChildren(IsLazy = false)]&#xA;IEnumerable&amp;lt;ISitecoreItem&amp;gt; Children{get;set;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should just remove all these settings from your models, because of in V5 lazy loading was improved (it is enabled by default and disabled when request or model is cachable) and your model cann`t be a mix of lazy and non-lazy parts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In version 5 you can force disable/enable lazy loading only when you retrieve your model, like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var data = _mvcContext.GetDataSourceItem&amp;lt;IData&amp;gt;(x =&amp;gt; x.LazyDisabled());&#xA;&#xA;or&#xA;&#xA;var data = _sitecoreService.GetItem&amp;lt;IData&amp;gt;(Constants.Data.ID, x =&amp;gt; x.LazyEnabled());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Almost all glassmapper interfaces has this parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I think that for your case it will be enough just to remove old settings when you upgrade to version 5 (at least there were no troubles on our project).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These links may be helpful:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://glass.lu/Mapper/GettingStarted&quot; rel=&quot;noreferrer&quot;&gt;http://glass.lu/Mapper/GettingStarted&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://glass.lu/Blog/V5&quot; rel=&quot;noreferrer&quot;&gt;http://glass.lu/Blog/V5&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="2480" LastEditDate="2019-02-28T10:37:39.770" LastActivityDate="2019-02-28T10:37:39.770" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16572" PostTypeId="1" CreationDate="2019-02-07T13:51:31.240" Score="1" ViewCount="520" Body="&lt;p&gt;I got this error when trying to install SPE 5.0 on my Sitecore 9.1 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[![enter image description here][1]][1]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to get more details checking the log files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #3 08:35:43 ERROR One or more exceptions occurred while processing the subscribers to the 'packageinstall:items:ended' event.&#xA;Exception[1]: System.NullReferenceException &#xA;Message[1]: Object reference not set to an instance of an object. &#xA;Source[1]: Sitecore.ContentSearch &#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.IsExcludedFromIndex(SitecoreIndexableItem indexable, Boolean checkLocation)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.GetContextIndexRanking(IIndexable indexable)&#xA;   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()&#xA;   at System.Linq.Enumerable.Min(IEnumerable`1 source)&#xA;   at Sitecore.ContentSearch.AbstractSearchIndex.Sitecore.ContentSearch.Pipelines.GetContextIndex.IContextIndexRankable.GetContextIndexRanking(IIndexable indexable)&#xA;   at Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex.&amp;lt;&amp;gt;c__DisplayClass6_0.b__0(ISearchIndex i)&#xA;   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()&#xA;   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xA;   at System.Linq.OrderedEnumerable`1.d__1.MoveNext()&#xA;   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xA;   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)&#xA;   at Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex.GetContextIndex(IIndexable indexable, GetContextIndexArgs args)&#xA;   at Sitecore.ContentSearch.Pipelines.GetContextIndex.FetchIndex.Process(GetContextIndexArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Abstractions.CorePipelineWrapper.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.ContentSearch.Pipelines.GetContextIndex.GetContextIndexPipeline.Run(ICorePipeline pipeline, GetContextIndexArgs args)&#xA;   at System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)&#xA;   at System.Linq.GroupedEnumerable`3.GetEnumerator()&#xA;   at Sitecore.ContentSearch.Events.PackagingEventHandler.HandleInstalledItems(List`1 installedItems)&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) &#xA;&#xA;&#xA;ManagedPoolThread #3 08:35:43 ERROR Installation failed: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'packageinstall:items:ended' event.&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Install.Items.ItemInstaller.Flush()&#xA;   at Sitecore.Install.Framework.SinkDispatcher.Flush()&#xA;   at Sitecore.Install.Utils.EntrySorter.Flush()&#xA;   at Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink)&#xA;   at Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink)&#xA;   at Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)&#xA;   at Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context)&#xA;   at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.b__8_0()&#xA;   at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.CatchExceptions(ThreadStart start)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My SOLR server is up and running and I can open the admin page without any issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone have encounter the same issue in the past?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-07T13:51:31.240" Title="Error installing Sitecore PowerShell Extensions 5.0 on Sitecore 9.1 instance ['packageinstall:items:ended' event]" Tags="|powershell-extensions|installation|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16575" PostTypeId="2" ParentId="11832" CreationDate="2019-02-07T14:13:12.540" Score="1" Body="&lt;p&gt;The fix for me on this issue was to grant permission to IISUser on the xConnect certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Right click on certificate  &lt;/li&gt;&#xA;&lt;li&gt;Click on manage private keys and grant permission to IISUser.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/P8Lq0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P8Lq0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1I4dl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1I4dl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5028" LastEditorUserId="70" LastEditDate="2019-02-07T14:32:17.857" LastActivityDate="2019-02-07T14:32:17.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16576" PostTypeId="2" ParentId="4671" CreationDate="2019-02-07T14:41:00.543" Score="0" Body="&lt;p&gt;If your placeholder and rendering has the same name sitecore will generate two html tags with the same id, that will clash and give you invalid markup.&lt;/p&gt;&#xA;" OwnerUserId="1857" LastActivityDate="2019-02-07T14:41:00.543" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16577" PostTypeId="2" ParentId="16382" CreationDate="2019-02-07T15:52:16.053" Score="2" Body="&lt;p&gt;I'm on SC 9.0.2 with SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some observations,&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;When tested this on promo component - &lt;code&gt;@(Item.ID)&lt;/code&gt; works on &lt;code&gt;DataAttributes&lt;/code&gt; but &lt;code&gt;$(Item.ID)&lt;/code&gt; does not.&lt;/li&gt;&#xA;&lt;li&gt;Both &lt;code&gt;@(Item.ID)&lt;/code&gt; and &lt;code&gt;$(Item.ID)&lt;/code&gt; do not work &lt;code&gt;LinkAttributes&lt;/code&gt; and specifically for &lt;code&gt;Navigation&lt;/code&gt; component&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So I had to override &lt;code&gt;RenderVariantField&lt;/code&gt; class as below,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Data.Items;&#xA;&#xA;namespace ProjectName.Foundation.Navigation.Pipelines.RenderVariantField&#xA;{&#xA;    public class RenderVariantField : Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderVariantField&#xA;    {&#xA;        protected override string GetAttributeTokenValue(string fieldName, Item item)&#xA;        {&#xA;            if (fieldName == &quot;Item.ID&quot;)&#xA;            {&#xA;                return item.ID.ToString();&#xA;            }&#xA;            else if (fieldName == &quot;Item.Name&quot;)&#xA;            {&#xA;                return item.Name;&#xA;            }&#xA;&#xA;            return base.GetAttributeTokenValue(fieldName, item);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In code above, I could have written more dynamic code to resolve all properties of Item but that was not required by me so kept it simple to just check for &lt;code&gt;Item.ID&lt;/code&gt; and &lt;code&gt;Item.Name&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Patch config as below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;renderVariantField&amp;gt;&#xA;                &amp;lt;processor patch:instead=&quot;*[@type='Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderVariantField, Sitecore.XA.Foundation.RenderingVariants']&quot;&#xA;                           type=&quot;ProjectName.Foundation.Navigation.Pipelines.RenderVariantField.RenderVariantField, ProjectName.Foundation.Navigation&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;            &amp;lt;/renderVariantField&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks @Alan Płócieniak your answer helped me but I had to write some more code to get this working.&lt;/p&gt;&#xA;" OwnerUserId="172" LastEditorUserId="172" LastEditDate="2019-05-23T19:50:07.360" LastActivityDate="2019-05-23T19:50:07.360" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16578" PostTypeId="2" ParentId="16512" CreationDate="2019-02-07T16:15:06.597" Score="1" Body="&lt;p&gt;As discussed in comments, should avoid serialising content that is in production and that is being used by content editors. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following is mentioned on Unicorns readme file on github.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;NOTE: When deploying to a Content Editing or Content Delivery server, the Unicorn configuration should be trimmed down from development. Each config file in App_Config/Include/Unicorn has comments at the top designating what environment(s) it should live on. If you opt to use Transparent Sync as a deployment mechanism, make sure you &gt; do not disable the data provider config file.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Don't use Unicorn to serialize actively versioned or workflow-enabled content (e.g. non-developer items). You can easily have two people create totally different &quot;version 2&quot; (or even v3, overwriting someone else's v2) content on different locations, and merging those is probably not what you want. It may be relatively safe during initial development if sharing test content, but be wary.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;source: &lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn&quot; rel=&quot;nofollow noreferrer&quot;&gt;Unicorn Github&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also worth noting regarding serialisation of content is that, if it's being serialised and checked into git, for purposes of Continous Delivery and Continous Integration. If you you run a sync with items you've serialised at development level when deploying to production you run the risk of overwriting live content with developer content, this is why it is best to avoid serialising much under /sitecore/content tree and it's worth ensuring that your unicorn configs are air tight as possible to prevent this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for how the versions are serialised, from the assessment done in conversation of comments, we can see that it'll only ever serialise a field if there is a value. It will always store this value against the version it was first, placed in, however if the value changes then it'll add the field again against the version it was changed in.&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="283" LastEditDate="2019-02-07T16:21:16.510" LastActivityDate="2019-02-07T16:21:16.510" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16579" PostTypeId="1" CreationDate="2019-02-07T16:16:51.050" Score="0" ViewCount="415" Body="&lt;p&gt;I removed some of the handlers on root web.config and place it on the subfolder sitecore/web.config but it looks like the handlers on subfolder is not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the content of sitecore/web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;handlers&amp;gt;&#xA;      &amp;lt;add name=&quot;Sitecore.FeedRequestHandler&quot; verb=&quot;*&quot; path=&quot;sitecore_feed.ashx&quot; type=&quot;Sitecore.Shell.Feeds.FeedRequestHandler, Sitecore.Kernel&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;Sitecore.SimulationRequestHandler&quot; verb=&quot;*&quot; path=&quot;sitecore_device_simulation.ashx&quot; type=&quot;Sitecore.Shell.DeviceSimulation.SimulationRequestHandler, Sitecore.Kernel&quot;  /&amp;gt;&#xA;      &amp;lt;add name=&quot;Sitecore.WebDAVMediaRequestHandler&quot; verb=&quot;*&quot; path=&quot;sitecore_webDAV.ashx&quot; type=&quot;Sitecore.Resources.Media.WebDAVMediaRequestHandler, Sitecore.Kernel&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;Telerik_Web_UI_DialogHandler_aspx&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.DialogHandler.aspx&quot; type=&quot;Telerik.Web.UI.DialogHandler&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;Telerik_Web_UI_SpellCheckHandler_axd&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.SpellCheckHandler.axd&quot; type=&quot;Telerik.Web.UI.SpellCheckHandler&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;Telerik_Web_UI_WebResource_axd&quot; verb=&quot;*&quot; preCondition=&quot;integratedMode&quot; path=&quot;Telerik.Web.UI.WebResource.axd&quot; type=&quot;Telerik.Web.UI.WebResource&quot; /&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_expeditor_speak_request.ashx&quot; type=&quot;Sitecore.ExperienceEditor.Speak.Server.RequestHandler, Sitecore.ExperienceEditor.Speak&quot; name=&quot;Sitecore.ExperienceEditor.Speak&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;WebDAVRoot&quot; path=&quot;*&quot; verb=&quot;OPTIONS,PROPFIND&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness32&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;WebDAVRoot64&quot; path=&quot;*&quot; verb=&quot;OPTIONS,PROPFIND&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness64&quot; /&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; name=&quot;Sitecore.SpeakJS64&quot; path=&quot;*/speak/v1/*/*.js&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness64&quot; /&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; name=&quot;Sitecore.SpeakJS32&quot; path=&quot;*/speak/v1/*/*.js&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness32&quot; /&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; name=&quot;Sitecore.SpeakClassic64&quot; path=&quot;sitecore_speak.ashx&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness64&quot; /&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; name=&quot;Sitecore.SpeakClassic32&quot; path=&quot;sitecore_speak.ashx&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll&quot; resourceType=&quot;Unspecified&quot; preCondition=&quot;classicMode,runtimeVersionv4.0,bitness32&quot; /&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_speak.ashx&quot; type=&quot;Sitecore.Resources.Scripts.ScriptHandler, Sitecore.Speak.Client&quot; name=&quot;Sitecore.Speak&quot; /&amp;gt;&#xA;    &amp;lt;/handlers&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not sure what i'm missing. Hope you can help me guys. Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="4933" LastEditorUserId="2056" LastEditDate="2019-02-07T17:33:20.780" LastActivityDate="2019-02-07T17:33:20.780" Title="Manage handlers in web.config for different environments" Tags="|configuration|deployment|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16580" PostTypeId="1" AcceptedAnswerId="16581" CreationDate="2019-02-07T16:35:08.103" Score="1" ViewCount="671" Body="&lt;p&gt;In the Sitecore SXA Promo component I want to add a datasource item which is created from another template (custom, not the default Promo template). I want to show fields of that template and use a rendering variant accordingly.&lt;/p&gt;&#xA;" OwnerUserId="5030" LastEditorUserId="237" LastEditDate="2019-02-07T16:52:32.963" LastActivityDate="2019-02-07T16:52:32.963" Title="How to associate a custom datasource item to the promo rendering in SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16581" PostTypeId="2" ParentId="16580" CreationDate="2019-02-07T16:49:44.657" Score="2" Body="&lt;p&gt;The best thing to do in such a case is to clone the promo rendering (this way you can name it how you want as well): &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the clone, you can use any template as datasource (just change the settings in the rendering). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You probably will want to create a variant for your new rendering as well. In the rendering variants, create a new folder (Variant) that matches your components name exactly. In that folder you can create your variant: &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-a-rendering-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-a-rendering-variant.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-02-07T16:49:44.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16582" PostTypeId="1" AcceptedAnswerId="16621" CreationDate="2019-02-07T17:26:12.387" Score="1" ViewCount="891" Body="&lt;p&gt;I'm troubleshooting an issue with slow logins on a Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As part of that investigation I've found a number of posts - such as &lt;a href=&quot;https://blog.coates.dk/2016/05/11/sitecore-client-and-logon-is-very-slow-properties-table-again/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore client and logon is very slow (properties table AGAIN)&lt;/a&gt;, &lt;a href=&quot;https://briancaos.wordpress.com/2014/06/30/sitecore-web-authentication-c__displayclass5-b__2ticket-ticket-52/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Web.Authentication.c__DisplayClass5.b__2(Ticket ticket) +52&lt;/a&gt;, and &lt;a href=&quot;https://sitecore.stackexchange.com/a/15505/288&quot;&gt;an answer on Sitecore Client login Timeout error - Azure PaaS&lt;/a&gt; - that point to the &lt;code&gt;Sitecore_Core.dbo.Properties&lt;/code&gt; table and rows with a Key of SC_TICKET*.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at our instance's database I see a number of rows, however there are no new records since we upgraded to 9.0.2 (July of last year).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keeping in mind the usual best practices when touching a third-party system's database, is there any issue with purging these keys from the database?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given that no new records are being added after logging in, are tickets in 9.x+ now stored in a different table?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="131" LastEditDate="2019-07-30T08:08:40.093" LastActivityDate="2019-07-30T08:08:40.093" Title="Can SC_TICKET* keys be purged from the Properties table, and have tickets been moved elsewhere?" Tags="|sql-database|authentication|login|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16583" PostTypeId="2" ParentId="16579" CreationDate="2019-02-07T17:31:37.137" Score="1" Body="&lt;p&gt;Best would be to use SlowCheetah or similar tool to transform web.config and add/remove parts based on environment that you are deploying to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use another approach where you have separate folder structure for every environment with all specific web.config and you deploy only that one file based on target and matched folder name.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-02-07T17:31:37.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16584" PostTypeId="1" CreationDate="2019-02-07T17:33:44.603" Score="0" ViewCount="47" Body="&lt;p&gt;we are team trying to build our first Sitecore SXA website , we need to create a promo component for an article page (article template), my component looks similar to this &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cCLMH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cCLMH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;what would be the best approach to achieve this?, we have tried using the promo component but unable to figure our associating custom data source template and location for the promo how do we associate a custom datasource template and location for the promo component ? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastActivityDate="2019-02-07T17:33:44.603" Title="Associate Content to a custom data source to Sitecore SXA promo component" Tags="|sxa|" AnswerCount="0" CommentCount="2" ClosedDate="2019-02-07T17:39:43.063" ContentLicense="CC BY-SA 4.0" />
  <row Id="16585" PostTypeId="2" ParentId="16410" CreationDate="2019-02-07T17:37:00.963" Score="2" Body="&lt;p&gt;Resolved the issue myself. Issue was that my browser was 64 bit and JAVA JRE was 32 bit. I downloaded the 64 bit JAVA JRE for it to work. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="4993" LastActivityDate="2019-02-07T17:37:00.963" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16587" PostTypeId="2" ParentId="16582" CreationDate="2019-02-07T18:06:55.617" Score="1" Body="&lt;p&gt;The answer to the second part of the question is that they are still in the &lt;code&gt;Sitecore_Core.dbo.Properties&lt;/code&gt; table, but now have a &lt;code&gt;CORE_&lt;/code&gt; prefix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our particular case it appears the following Keys have been used, sorted by age:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;SC_TICKET&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SC_TICKET_%&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;SC_TICKET__%&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;CORE_SC_TICKET__%&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The following C# Statement(s) using LINQPad connected to the &lt;code&gt;Sitecore_Core&lt;/code&gt; database can help review the tickets:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var tickets = Properties&#xA;    .Where(p =&amp;gt; p.Key.Contains(&quot;TICKET&quot;))&#xA;    .ToList()&#xA;    .Select(p =&amp;gt; new&#xA;    {&#xA;        p.ID,&#xA;        p.Key,&#xA;        p.Value,&#xA;        Values = p.Value.Split('^')&#xA;    })&#xA;    .Select(t =&amp;gt; new&#xA;    {&#xA;        Date = t.Values[2],&#xA;        User = t.Values[1],&#xA;        t.Values,&#xA;        t.ID,&#xA;        t.Key,&#xA;        t.Value&#xA;    })&#xA;    ;&#xA;&#xA;tickets&#xA;    .OrderBy(t =&amp;gt; t.Date)&#xA;    .Dump();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="288" LastEditorUserId="288" LastEditDate="2019-02-07T18:27:06.000" LastActivityDate="2019-02-07T18:27:06.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16588" PostTypeId="1" CreationDate="2019-02-07T19:25:20.807" Score="1" ViewCount="171" Body="&lt;p&gt;Is there any API by which can create a new user in Sitecore with JSS?&lt;/p&gt;&#xA;" OwnerUserId="4995" LastEditorUserId="408" LastEditDate="2019-02-07T19:36:29.420" LastActivityDate="2019-02-08T07:35:16.597" Title="Create new user with JSS" Tags="|jss|javascript|user-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16589" PostTypeId="1" AcceptedAnswerId="16593" CreationDate="2019-02-07T19:29:54.863" Score="0" ViewCount="139" Body="&lt;p&gt;I have a list of article items in my content tree #&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Article List&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Article 1 &lt;/li&gt;&#xA;&lt;li&gt;Article 2&lt;/li&gt;&#xA;&lt;li&gt;Article 3&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My article List page should display a promo(image , title , short description , Article type) of all the articles sorted by publish date &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried using the  PageList for this functionality and is working as expected &lt;/p&gt;&#xA;&#xA;&lt;p&gt;we would want the promo's to be listed as in a 3 column layout instead of rows , how do we achieve this in Sitecore SXA ?&lt;/p&gt;&#xA;" OwnerUserId="3355" LastActivityDate="2019-02-07T20:27:19.607" Title="Sitecore SXA 1.7.1 PageList rendering to appear in 3 column layout" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16590" PostTypeId="2" ParentId="16588" CreationDate="2019-02-07T19:34:11.143" Score="4" Body="&lt;p&gt;It does not exist &lt;strong&gt;now&lt;/strong&gt;. For that you would need an web API which also contains some backend validation to not blow up your user database. In backend you can easily create users using Sitecore API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At some point maybe they will have such a function in JSS. &lt;em&gt;I can imagine&lt;/em&gt; this function as part of Sitecore Forms support by JSS in the future.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2019-02-08T07:35:16.597" LastActivityDate="2019-02-08T07:35:16.597" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16591" PostTypeId="2" ParentId="16032" CreationDate="2019-02-07T19:51:35.303" Score="2" Body="&lt;p&gt;The issue with xConnect facets is that the facet has a Concurrency Token after it has been written to xConnect. if you try and apply a new facet, xConnect yells because the token doesn't match. The secret sauce is to write the token back to the new facet after you create a new facet. In the code below, it is used as an extension. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Code&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class FacetExtensions&#xA;{&#xA;    public static T GetFacetWithDefaultValues&amp;lt;T&amp;gt;(this T facet) where T : Facet, new()&#xA;    {&#xA;        var concurrencyToken = facet.ConcurrencyToken;&#xA;        var result = new T();&#xA;        var type = result.GetType();&#xA;        Condition.Ensures(type, type.Name).IsNotNull();&#xA;        var property = type.GetProperty(&quot;ConcurrencyToken&quot;);&#xA;        Condition.Ensures(property, property.Name).IsNotNull();&#xA;        property.SetValue(result, concurrencyToken);&#xA;        return result;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Usage&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var facet = contact.GetFacet&amp;lt;PersonalInformation&amp;gt;(PersonalInformation.DefaultFacetKey);&#xA;if (facet != null)&#xA;{&#xA;   facet = facet.GetFacetWithDefaultValues();&#xA;   client.SetFacet(contact, PersonalInformation.DefaultFacetKey, facet);&#xA;   client.Submit();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-07T19:51:35.303" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16592" PostTypeId="1" AcceptedAnswerId="16612" CreationDate="2019-02-07T19:53:43.747" Score="3" ViewCount="8048" Body="&lt;p&gt;Im new to Sitecore and I'm trying to get create a new instance for a existing solution. I think I have it almost built but I'm running into a issue when I use the default route of &quot;/sitecore&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Im getting the following error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not find configuration node: databases/database[@id='core']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I believe my connection strings are correct.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.InvalidOperationException: Could not find configuration node: databases/database[@id='core']&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[InvalidOperationException: Could not find configuration node: databases/database[@id='core']]&#xA;   Sitecore.Configuration.DefaultFactory.GetConfigNode(String xpath, Boolean assert) +502&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +273&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabase(String name, Boolean assert) +177&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabase(String name) +55&#xA;   Sitecore.DefaultClient.get_CoreDatabase() +23&#xA;   Sitecore.Security.SecurityHelper.CanRunApplication(String applicationName) +203&#xA;   Sitecore.DefaultPage.Page_Load(Object sender, EventArgs e) +249&#xA;   System.Web.UI.Control.OnLoad(EventArgs e) +103&#xA;   System.Web.UI.Control.LoadRecursive() +68&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1381&#xA;&#xA;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2556.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Im running Sitecore 8.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you ahead of time for any help.&lt;/p&gt;&#xA;" OwnerUserId="5031" LastActivityDate="2019-02-20T14:58:02.303" Title="Could not find configuration node: databases/database[@id='core']" Tags="|habitat|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16593" PostTypeId="2" ParentId="16589" CreationDate="2019-02-07T20:27:19.607" Score="1" Body="&lt;p&gt;You just need to style Page List as you want in your theme. You can either style it using Page List CSS class (investigate the HTML and you will see that the Page List is using &lt;code&gt;page-list&lt;/code&gt; class) or style Rendering Variant which your Page List is using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can either assign global variant class:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UGyMU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UGyMU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or assign CSS classes to particular Variant items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QtpIj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QtpIj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-02-07T20:27:19.607" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16594" PostTypeId="1" AcceptedAnswerId="16596" CreationDate="2019-02-07T20:53:03.487" Score="3" ViewCount="3382" Body="&lt;p&gt;I am having an issue when submitting a form when there is no redirect. Basically i have a contact us form and eventually will implement a email action. But every time i click the submit button even without filling any data, the page will go to a form builder page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;my form&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l4VBR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l4VBR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;after clicking the send button (things i typed will be already there also)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aOvbm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aOvbm.png&quot; alt=&quot;![enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can put a redirect on this submit action and will redirect to another page with out any issue. But my requirement is to stay on the page so i am showing the form in a bootstrap modal and when submit i want the modal to close and stay on the page. i try to make the form a 2 page, where the second page will have a thank you text and the send button navigation step will be next page. But same thing happen where the browser will redirect to form builder link with un-styled form. all the functionality of form work in this link including the next page. H&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are dropping the form on a modal like this with our own rendering, but the issue happens even if we are simply dropping the form with regular defualt mvc rendering &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;modal hide fade&quot; id=&quot;@modalId&quot; tabindex=&quot;-1&quot; role=&quot;dialog&quot; aria-labelledby=&quot;&quot;&amp;gt;&#xA;&amp;lt;div class=&quot;modal-dialog modal-lg modal-dialog-centered&quot; role=&quot;document&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;modal-content&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;modal-header&quot;&amp;gt;&#xA;            &amp;lt;button type=&quot;button&quot; class=&quot;close&quot; data-dismiss=&quot;modal&quot; aria-label=&quot;Close&quot;&amp;gt;&#xA;                    &amp;lt;div class=&quot;dnowZoomIcon d-flex justify-content-center&quot;&amp;gt;&#xA;                        &amp;lt;i class=&quot;ion-ios-close-empty align-self-center&quot;&amp;gt;&amp;lt;/i&amp;gt;&#xA;                    &amp;lt;/div&amp;gt;&#xA;                &amp;lt;/button&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=&quot;modal-body&quot;&amp;gt;&#xA;            @Html.Sitecore().Rendering(&quot;{6B5$#$#$#E6-5C85-44%87-BA7E-F8C2ECC186A8}&quot;, new { Datasource = Model.Id.ToString(&quot;B&quot;), UniqueId = Model.Id.ToString(&quot;B&quot;) })&#xA;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we added renderform styles and script in our main layout like this&#xA;&lt;a href=&quot;https://i.stack.imgur.com/V2Bmv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V2Bmv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5032" LastEditorUserId="5032" LastEditDate="2019-02-07T22:16:47.313" LastActivityDate="2021-01-21T18:13:48.713" Title="Sitecore 9 forms redirecting to formbuilder link on submit" Tags="|sitecore-client|sitecore-api|sitecore-forms|" AnswerCount="3" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16595" PostTypeId="2" ParentId="16594" CreationDate="2019-02-07T21:04:14.050" Score="0" Body="&lt;p&gt;It sounds like scripts for your form have not been loaded correctly in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; of your page. Have you followed the documentation &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/add-a-form-to-a-webpage.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; on modifying your main layouts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's important that you add these helpers in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; of your layout:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.RenderFormStyles()&#xA;@Html.RenderFormScripts()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and this using statement:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.ExperienceForms.Mvc.Html&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="9" LastActivityDate="2019-02-07T21:04:14.050" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16596" PostTypeId="2" ParentId="16594" CreationDate="2019-02-07T21:46:29.327" Score="4" Body="&lt;p&gt;For the scripts and styles to work, you need to break up the layout into two with an outer layout that contains the links to render the form styles and an inner layout.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;For form scripts and styles to be rendered, you must use two layouts:&#xA;  MVC Layout.cshtml and MVC OuterLayout.cshtml. First, open the MVC&#xA;  Layout.cshtml file and to refer to the outer layout that you will&#xA;  create in the next step, add Layout = MVCOuterLayout.cshtml&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;See steps 3&amp;amp;4 in the &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/add-a-form-to-a-webpage.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Outer layout example  (MvcOuterLayout.cshtml)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@using Sitecore.ExperienceForms.Mvc.Html&#xA;@using Sitecore.Mvc.Analytics.Extensions&#xA;@{&#xA;    Layout = null;&#xA;}&#xA;&amp;lt;!DOCTYPE html&amp;gt;&#xA;&amp;lt;html lang=&quot;en&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;    &amp;lt;title&amp;gt;@Html.Sitecore().Field(&quot;title&quot;, new { DisableWebEdit = true })&amp;lt;/title&amp;gt;&#xA;    @Html.Sitecore().VisitorIdentification()&#xA;    @Html.RenderFormStyles()&#xA;    @Html.RenderFormScripts()&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body style=&quot;padding-top: 70px;&quot;&amp;gt;&#xA;    @RenderBody()&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Inner Layout Example&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@using Sitecore.Mvc.Analytics.Extensions&#xA;&#xA;@{&#xA;&#xA;Layout =&#xA;&quot;MvcOuterLayout.cshtml&quot;;&#xA;}&#xA;&#xA;&amp;lt;h1&amp;gt;@Html.Sitecore().Field(&quot;title&quot;)&amp;lt;/h1&amp;gt;&#xA;&amp;lt;div&amp;gt;&#xA;@Html.Sitecore().Placeholder(&quot;main&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="32" LastActivityDate="2019-02-07T21:46:29.327" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16597" PostTypeId="1" AcceptedAnswerId="16785" CreationDate="2019-02-07T21:56:39.373" Score="1" ViewCount="177" Body="&lt;p&gt;My Customer has a regulatory compliance requirement to add secondary authentication prior to any workflow approval, so the approach that I have taken is by defining a custom Action which opens a DialogForm and it handles the authentication part.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works great, but there is one problem where the state of the workflow changes automatically to the next state when a modal is closed before a user is authenticated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if a workflow has 3 states (Draft -&gt; Submit (If this has that authentication requirement, then the user has to get stuck in the same state until the user authenticates) -&gt; Approve)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know the existing out of the box Approve action is handling this scenario but I was not able to track the right dll to see the code. Any help is greatly appreciated. &lt;/p&gt;&#xA;" OwnerUserId="5033" LastActivityDate="2019-02-14T16:22:52.523" Title="How to preserve the workflow state on closing a custom modal in Sitecore 8.1" Tags="|pipelines|workflow|events|sheer-ui|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="16598" PostTypeId="2" ParentId="16549" CreationDate="2019-02-08T03:52:46.363" Score="1" Body="&lt;p&gt;Your code is expecting the contact to be in the xConnect server when you request it. And maybe because of the xConnect load/network it may not be there yet.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;manager.SaveContactToCollectionDb(Sitecore.Analytics.Tracker.Current.Contact);&#xA;var trackerIdentifier = new IdentifiedContactReference(Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource, Sitecore.Analytics.Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Use this code and if the &lt;code&gt;Tracker.Current.Contact.IsNew&lt;/code&gt; force the contact to be pushed back to xConnect before you ask for it. This happens in the &lt;code&gt;SaveContact()&lt;/code&gt; function. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// here is your tracker identifier&#xA;var trackerIdentifier = GetContactReference();&#xA;&#xA;&#xA;public IdentifiedContactReference GetContactReference()&#xA;{&#xA;    // get the contact id from the current contact&#xA;    var id = GetContactId();&#xA;&#xA;    // if the contact is new or has no identifiers&#xA;    var anon = Tracker.Current.Contact.IsNew || Tracker.Current.Contact.Identifiers.Count == 0;&#xA;&#xA;    // if the user is anon, get the xD.Tracker identifier, else get the one we found&#xA;    return anon&#xA;        ? new IdentifiedContactReference(Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource, Tracker.Current.Contact.ContactId.ToString(&quot;N&quot;))&#xA;        : new IdentifiedContactReference(id.Source, id.Identifier);&#xA;}&#xA;&#xA;public Analytics.Model.Entities.ContactIdentifier GetContactId()&#xA;{&#xA;    if (Tracker.Current?.Contact == null)&#xA;    {&#xA;        return null;&#xA;    }&#xA;    if (Tracker.Current.Contact.IsNew)&#xA;    {&#xA;        // write the contact to xConnect so we can work with it&#xA;        this.SaveContact();&#xA;    }&#xA;&#xA;    return Tracker.Current.Contact.Identifiers.FirstOrDefault();&#xA;}&#xA;&#xA;public void SaveContact()&#xA;{&#xA;    // we need the contract to be saved to xConnect. It is only in session now&#xA;    Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;    this.contactManager.SaveContactToCollectionDb(Tracker.Current.Contact);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-08T03:52:46.363" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16599" PostTypeId="1" CreationDate="2019-02-08T03:55:26.073" Score="2" ViewCount="1096" Body="&lt;p&gt;We have setup Client Certificate Authentication with Solr using below link:&#xA;&lt;a href=&quot;https://blogs.perficientdigital.com/2018/08/01/client-certificate-authentication-with-solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.perficientdigital.com/2018/08/01/client-certificate-authentication-with-solr/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr admin panel is loading without error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our requirement is when Sitecore request for Solr access, Httpwebrequest has to authorize client certificate to access Solr, so we added patch config as mentioned in above link, we are able to authorize certificate via our pipeline but when we try to access Sitecore Indexing Manager, Indexes are not appearing.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/07uRm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/07uRm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We did the following Steps:&#xA;1. Commented below line of code in Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&amp;lt;solrHttpWebRequestFactory type=&quot;HttpWebAdapters.HttpWebRequestFactory, SolrNet&quot; /&amp;gt;--&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Added Patch config file - using link: &lt;a href=&quot;https://blogs.perficientdigital.com/2018/08/01/client-certificate-authentication-with-solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.perficientdigital.com/2018/08/01/client-certificate-authentication-with-solr/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/26zLm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/26zLm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Updated SSL settings in solr.in.cmd using above link&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;As mentioned in above link: Enabled SOLR_SSL_NEED_CLIENT_AUTH to true&lt;/p&gt;&#xA;&#xA;&lt;p&gt;set SOLR_SSL_NEED_CLIENT_AUTH=true&lt;/p&gt;&#xA;&#xA;&lt;p&gt;set SOLR_SSL_WANT_CLIENT_AUTH=false&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When we set SOLR_SSL_NEED_CLIENT_AUTH to true, Sitecore Indexes stopped appearing on Indexing Manager. The issue is with this setting enabled to true.If I tried to disable this setting to false indexes worked but it is not authorizing properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is some configuration change we need to update to access &quot;Solr SSL Need Client Authentication&quot; in Sitecore which I am not able to find.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use Sitecore 9.0 Update 2 with SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea how to fix this issue?&lt;/p&gt;&#xA;" OwnerUserId="2528" LastEditorUserId="2528" LastEditDate="2019-02-08T09:52:50.377" LastActivityDate="2019-02-12T06:13:27.413" Title="Indexes are not appearing in Indexing Manager when using Client Certificate Authentication With Solr" Tags="|sitecore-client|solr|" AnswerCount="2" CommentCount="5" ClosedDate="2019-02-12T06:12:03.057" ContentLicense="CC BY-SA 4.0" />
  <row Id="16600" PostTypeId="1" AcceptedAnswerId="16611" CreationDate="2019-02-08T09:08:12.600" Score="0" ViewCount="210" Body="&lt;p&gt;I am new to EXM, I am using sitecore 9.0 Update1 and I am able to send the mails via EXM by creating regular Campaign but when I am clicking to unsubscribe its redirecting to home url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the log file which is generated while I clicked on unsubscribe link:-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ERROR Attempt to access MessageEventPage with unverified url: /sitecore modules/Web/EXM/Unsubscribe.aspx&#xA;INFO  Cannot handle unsubscription event. No message id was provided in the request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me out here!&lt;/p&gt;&#xA;" OwnerUserId="5040" LastEditorUserId="246" LastEditDate="2019-02-08T13:41:54.933" LastActivityDate="2019-02-08T13:41:54.933" Title="Receiving Error &quot;No message id was provided in the request.&quot; during EXM Unsubscribe" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16601" PostTypeId="2" ParentId="16600" CreationDate="2019-02-08T09:20:54.260" Score="2" Body="&lt;p&gt;According &lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/the-unsubscribe-options.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;to the following article&lt;/a&gt; you have 2 options to unsubscribe: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;First option is to put the &lt;strong&gt;/sitecore modules/Web/EXM/UnsubscribeFromAll.aspx&lt;/strong&gt; or &lt;strong&gt;/sitecore modules/Web/EXM/Unsubscribe.aspx&lt;/strong&gt; to your email footer. With this link users can unsubscribe from the newsletter directly from their mailing. Sitecore will change the url for &lt;em&gt;RedirectUrlPage.aspx&lt;/em&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Second option is to create a Sitecore Form that uses the Email Experience Manager Client API or create a custom form with an API controller which unsubscribes the user with the Unsubscribe() api call.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5041" LastEditorUserId="2056" LastEditDate="2019-02-08T09:49:53.270" LastActivityDate="2019-02-08T09:49:53.270" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16602" PostTypeId="1" CreationDate="2019-02-08T10:08:32.053" Score="4" ViewCount="183" Body="&lt;p&gt;Sitecore Experience Platform 8.1 rev. 160519.&lt;/p&gt;&#xA;&lt;p&gt;I have created a customized contact identification processor for the renderLayout pipeline.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;        if (Tracker.IsActive&#xA;            &amp;amp;&amp;amp; Tracker.Current.CurrentPage != null&#xA;            &amp;amp;&amp;amp; Tracker.Current.Session.Contact.Identifiers.Identifier != SitecoreContext.User.Name)&#xA;        {&#xA;            Tracker.Current.Session.Identify(SitecoreContext.User.Name);&#xA;            //...&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It takes one minute or more to display the page when visiting by clearing the cache on the public site. Looking at the Sitecore log, it seems that it takes a while to get to &amp;quot;StandardSession.Identify - merged&amp;quot;.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;18208 00:20:04 DEBUG [Analytics]:&#xA;Contact is taken from Shared session:&#xA;4d43d0b0-2eef-4014-80c5-8a88d8a054b0&lt;/p&gt;&#xA;&lt;p&gt;18208 00:21:01 DEBUG&#xA;StandardSession.Identify - merged:&#xA;4d43d0b0-2eef-4014-80c5-8a88d8a054b0&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Is there anyone who met the same phenomenon?&#xA;Please tell me how to solve if there are people who have resolved.&lt;/p&gt;&#xA;" OwnerUserId="3869" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-18T10:20:35.283" Title="Is it normal for Sitecore to take a long time to merge contacts?" Tags="|xdb|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16605" PostTypeId="1" AcceptedAnswerId="16610" CreationDate="2019-02-08T11:12:46.617" Score="1" ViewCount="1362" Body="&lt;p&gt;Using the OTB sitecore installation, I wanted to JSS'ify the home node for testing purposes. &#xA;By default this is setup with the following presentation details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/or2cn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/or2cn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The steps I followed were to:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Update the &lt;code&gt;sample layout&lt;/code&gt; item to include &lt;code&gt;main&lt;/code&gt; in the field &lt;code&gt;Layout Service Placeholders&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a new placeholder settings item: &lt;code&gt;centercolumn&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Update the &lt;code&gt;Sample Sublayout&lt;/code&gt; item to include &lt;code&gt;centercolumn&lt;/code&gt; in the field &lt;code&gt;Layout Service Placeholders&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Added &lt;code&gt;Sample Inner Sublayout&lt;/code&gt; as an allowed control in the placeholder settings item&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The issue I find is that the layout service never includes the rendering information for the &lt;code&gt;Sample Inner Sublayout&lt;/code&gt;. The placeholder json is always empty:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RzQxI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RzQxI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why might this be?&lt;/p&gt;&#xA;" OwnerUserId="443" LastActivityDate="2019-02-08T13:31:11.787" Title="Why don't nested components show in the output of the JSS Layout Service?" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16606" PostTypeId="1" AcceptedAnswerId="16607" CreationDate="2019-02-08T11:29:59.710" Score="0" ViewCount="107" Body="&lt;p&gt;&lt;strong&gt;Environment&lt;/strong&gt;: Sitecore 9.0.2 + SXA 1.7.1&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;What I am doing&lt;/strong&gt;:&#xA;The field labels of the inbuilt templates and renderings provided by SXA were not compatible with my requirement. So, I started with creating a rendering variant as mentioned in the &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;So, I cloned the default rendering 'Promo' to 'Promo1'. I noticed that a template 'Prommo1' has also been created.&lt;/p&gt;&#xA;&lt;p&gt;I modified the fields and their labels of the template 'Promo1'. Further, I created an item 'Item1' based on the template 'Promo1'.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;What I found&lt;/strong&gt;:&#xA;'Item1' was having the fields and the lables as per the template 'Promo' but I was expecting it to  have the  fields and the  labels as per the template 'Promo1'.&lt;/p&gt;&#xA;&lt;p&gt;I checked the template by clicking on the link in the 'Quick Info' section of the 'Item1'. And the template  has my changes.&lt;/p&gt;&#xA;&lt;p&gt;Am I missing something?&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-08T11:54:37.520" Title="Rendering cloning | item fields are not as per their template" Tags="|sxa|templates|item-clones|inheritance|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16607" PostTypeId="2" ParentId="16606" CreationDate="2019-02-08T11:52:15.857" Score="2" Body="&lt;p&gt;You need to navigate to your new template &quot;Promo1&quot; and for each template field change &lt;code&gt;Title&lt;/code&gt; field to your desired value like depicted below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yagFJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yagFJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Promo as example here so change path to your cloned template.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-02-08T11:52:15.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16609" PostTypeId="2" ParentId="16605" CreationDate="2019-02-08T12:35:53.880" Score="2" Body="&lt;p&gt;It's because of Dynamic placeholders.&#xA;You should put your Inner Sublayout component to placeholder &lt;code&gt;centercolumn-{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}-0&lt;/code&gt;, GUID stands for parent rendering ID.&lt;br&gt;&#xA;However I don't know if Dynamic placeholders are the only option, if it is possible to switch to Static ones and how to configure it via Content Editor. When using Experience editor – these IDs being inserted automatically.&lt;/p&gt;&#xA;" OwnerUserId="5044" LastActivityDate="2019-02-08T12:35:53.880" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16610" PostTypeId="2" ParentId="16605" CreationDate="2019-02-08T13:19:17.027" Score="10" Body="&lt;p&gt;By default, the &lt;code&gt;jss&lt;/code&gt; named configuration for Layout Service uses the &lt;code&gt;Sitecore.LayoutService.Placeholders.DynamicPlaceholdersResolver&lt;/code&gt;, so it expects placeholder keys to be dynamic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're managing renderings via Content Editor / presentation details, you either need to manually construct dynamic placeholder keys (yuck, but possible), or in:&#xA;&lt;code&gt;App_Config/Sitecore/LayoutService/Sitecore.LayoutService.Jss.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;layoutService&amp;gt;&#xA;      &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;config name=&quot;jss&quot;&amp;gt;&#xA;          &amp;lt;rendering type=&quot;Sitecore.LayoutService.Configuration.DefaultRenderingConfiguration, Sitecore.LayoutService&quot;&amp;gt;&#xA;            &amp;lt;!-- change below to SimplePlaceholdersResolver --&amp;gt;&#xA;            &amp;lt;placeholdersResolver type=&quot;Sitecore.LayoutService.Placeholders.DynamicPlaceholdersResolver, Sitecore.LayoutService&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Change the &lt;code&gt;&amp;lt;placeholdersResolver /&amp;gt;&lt;/code&gt; node to use the built-in &lt;code&gt;Sitecore.LayoutService.Placeholders.SimplePlaceholdersResolver&lt;/code&gt;. The &quot;simple&quot; resolver allows you to use non-dynamic placeholder keys.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2019-02-08T13:31:11.787" LastActivityDate="2019-02-08T13:31:11.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16611" PostTypeId="2" ParentId="16600" CreationDate="2019-02-08T13:22:30.383" Score="0" Body="&lt;h2&gt;Missing Message ID&lt;/h2&gt;&#xA;&lt;p&gt;The error message indicates that the query parameters that are generally associated with links, when EXM messages are generated, are missing.  This can happen if you are trying to click the link from a Test Message (Sent to a specific email address from the Review tab on a message in EXM) or if you have tried to go to the Unsubscribe page directly.&lt;/p&gt;&#xA;&lt;p&gt;Couple things to check:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;On the email when clicking the link, inspect the link itself and make sure that it contains the &lt;code&gt;ec_eq&lt;/code&gt; query parameter.&lt;/li&gt;&#xA;&lt;li&gt;That the domain is pointing to your Content Delivery instance and that you are trying to open the link using the CD server.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2&gt;Resources&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Highly recommend ensuring that you have installed the &lt;a href=&quot;https://kb.sitecore.net/articles/467253&quot; rel=&quot;nofollow noreferrer&quot;&gt;9.0.1 Hotfix&lt;/a&gt; or upgrade to 9.0.2.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Also check out the following Blog Series, &lt;a href=&quot;https://sitecorehacker.com/email-experience-manager/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Managing the Unsubscribe&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-08T13:22:30.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16612" PostTypeId="2" ParentId="16592" CreationDate="2019-02-08T14:23:13.377" Score="2" Body="&lt;p&gt;Most probably you overwrote the default &lt;code&gt;web.config&lt;/code&gt; accidentally. If not the &lt;code&gt;web.config&lt;/code&gt; has overwritten then another default Sitecore config patched incorrectly or completely removed.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How to fix&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Compare the configurations with a default clean Sitecore install.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Possible reason of the overwrite&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;What I see usually is that Visual Studio adds a &lt;code&gt;web.config&lt;/code&gt; automatically to the project with &lt;strong&gt;Content&lt;/strong&gt; Build Action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/klyJf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/klyJf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you deploy the project then it overwrites the Sitecore default &lt;code&gt;web.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Same could happen with &lt;code&gt;Global.asax&lt;/code&gt;, do not overwrite it, use the &lt;code&gt;initialize&lt;/code&gt; pipeline instead.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;If you need changes in &lt;code&gt;web.config&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Then first copy the default Sitecore &lt;code&gt;web.config&lt;/code&gt; to your Visual Studio solution and change it.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2019-02-20T14:58:02.303" LastActivityDate="2019-02-20T14:58:02.303" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16613" PostTypeId="1" AcceptedAnswerId="16614" CreationDate="2019-02-08T14:51:15.733" Score="2" ViewCount="366" Body="&lt;p&gt;I'm seeing this error repeatedly in the logs in our CM instance of Sitecore 8.1 update-3. Where does it come from?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Value of the StartSearchLocation '' is not a valid GUID. '{11111111-1111-1111-1111-111111111111}' will be used instead.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-02-08T17:15:28.137" LastActivityDate="2019-02-08T17:53:29.140" Title="Error message: Value of the StartSearchLocation '' is not a valid GUID. '{11111111-1111-1111-1111-111111111111}' will be used instead" Tags="|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16614" PostTypeId="2" ParentId="16613" CreationDate="2019-02-08T14:51:15.733" Score="3" Body="&lt;p&gt;We found that this is coming from the &lt;code&gt;Buckets/Services/Search.aspx&lt;/code&gt; handler (&lt;code&gt;ItemBuckets.Services.Search.ProcessRequestAsync()&lt;/code&gt; in the &lt;code&gt;Sitecore.Buckets.Client&lt;/code&gt; dll). It happens when you use the Search for Content tab of the Select the Associated Content dialog that appears when it's time to select the datasource for a rendering:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rosX4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rosX4.png&quot; alt=&quot;select the associated content dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Behind the scenes, what's happening is it's executing a query to the search service, but in the search service it looks at the referrer for the selected item to use as the &lt;code&gt;StartSearchLocation&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpRequest request = HttpContext.Current.Request;&#xA;Uri urlReferrer = request.UrlReferrer;&#xA;if (urlReferrer != null)&#xA;{&#xA;    item = HttpUtility.ParseQueryString(urlReferrer.Query)[&quot;id&quot;];&#xA;}&#xA;item = item ?? (request.Form[&quot;StartSearchLocation&quot;] ?? request.QueryString[&quot;StartSearchLocation&quot;]);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, the previous request was to &lt;code&gt;/sitecore/shell/Applications/Buckets/DataSourceResult.aspx&lt;/code&gt; with no query string and the search is executed without a &lt;code&gt;StartSearchLocation&lt;/code&gt; parameter in the form or the query string, so there is no value to pull for a &lt;code&gt;StartSearchLocation&lt;/code&gt; and it falls back to the default root item.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;A &quot;fix&quot;&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;According to Sitecore Support, this has been fixed in Sitecore 8.2 update-1. They also confirmed that it does not affect functionality (other than the performance of throwing and catching the exception). In the meantime, they suggest simply suppressing these messages from the logs by adding a filter to the default &lt;code&gt;LogFileAppender&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;log4net&amp;gt;&#xA;            &amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;                &amp;lt;filter type=&quot;log4net.Filter.StringMatchFilter&quot;&amp;gt;&#xA;                    &amp;lt;stringToMatch value=&quot;Value of the StartSearchLocation '' is not a valid GUID&quot;/&amp;gt;&#xA;                    &amp;lt;acceptOnMatch value=&quot;false&quot; /&amp;gt;&#xA;                &amp;lt;/filter&amp;gt;&#xA;            &amp;lt;/appender&amp;gt;&#xA;        &amp;lt;/log4net&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;A (not-so-great) alternative&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Alternatively, one could decompile the class, create a custom version that handles the &lt;code&gt;LocationFilter&lt;/code&gt; more gracefully, and then update the &lt;code&gt;\sitecore\shell\Applications\Buckets\Services\Search.ashx&lt;/code&gt; file to point to the custom class. I've personally decided not to do that for two reasons:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It means customizing something deep in Sitecore that is frequently used&lt;/li&gt;&#xA;&lt;li&gt;This is a relatively minor issue&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-02-08T17:53:29.140" LastActivityDate="2019-02-08T17:53:29.140" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16617" PostTypeId="1" AcceptedAnswerId="16689" CreationDate="2019-02-08T17:38:37.453" Score="0" ViewCount="408" Body="&lt;p&gt;I am upgrading from 8.1 to 9.1, and I'm switching to Solr before the actual upgrade.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a rather elaborate custom index configuration, and I converted it to Solr at the best of my knowledge. The configuration node mentioned in the title exists both in the default Solr configuration and in my custom one, but it's not being detected for some reason.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used Dotpeek to see what's happening under the hood but was unable to determine what exactly is going wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am also unable to access &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; as the web application does not start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to troubleshoot my configuration error? Should I perhaps use the one that comes with my Sitecore release and then gradually change it file-by-file until it matches mine, or what else?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-02-12T10:31:51.390" Title="Switched from Lucene to Solr: &quot;Could not find configuration node: contentSearch/indexConfigurations/defaultSolrIndexConfiguration/FieldReaders&quot;" Tags="|solr|versions|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="16618" PostTypeId="1" AcceptedAnswerId="16672" CreationDate="2019-02-08T18:13:42.150" Score="2" ViewCount="847" Body="&lt;p&gt;Im currently working on getting a existing Sitecore 8.2 &lt;code&gt;Habitat&lt;/code&gt; solution running on my system locally.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anytime I go to routes like &lt;code&gt;/sitecore&lt;/code&gt; or &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;An index with the name &quot;sitecore_analytics_index&quot; have already been added.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Additional Information:&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.InvalidOperationException: An index with the name &quot;sitecore_analytics_index&quot; have already been added.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[InvalidOperationException: An index with the name &quot;sitecore_analytics_index&quot; have already been added.]&#xA;   Sitecore.Diagnostics.Assert.IsFalse(Boolean condition, String message) +81&#xA;   Sitecore.ContentSearch.ContentSearchConfiguration.AddIndex(ISearchIndex index) +182&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +210&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146&#xA;   Sitecore.Configuration.DefaultFactory.AssignProperties(Object obj, Object[] properties) +836&#xA;   Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +622&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +320&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +615&#xA;   Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration() +262&#xA;   Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_Cores() +91&#xA;   Sitecore.ContentSearch.SolrProvider.SolrNetIntegration.DefaultSolrStartUp.Initialize() +251&#xA;   (Object , Object[] ) +71&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +255&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +670&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +570&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +372&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +329&#xA;&#xA;[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +708&#xA;&#xA;Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2556.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm running Sitecore 8.2 160729 with Solr 6.2.1&lt;/p&gt;&#xA;" OwnerUserId="5031" LastEditorUserId="5096" LastEditDate="2019-05-15T10:03:39.113" LastActivityDate="2019-05-15T10:03:39.113" Title="An index with the name &quot;sitecore_analytics_index&quot; have already been added.," Tags="|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16619" PostTypeId="1" AcceptedAnswerId="16620" CreationDate="2019-02-08T18:15:19.843" Score="1" ViewCount="1006" Body="&lt;p&gt;When rendering an external link from a General Link field using the Glass Mapper &lt;code&gt;BeginRenderLink&lt;/code&gt; helper, any query string parameters without values are getting an equals sign (=) added after them.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;An example&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The URL&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://website.com/page?param1&amp;amp;param2=very_yes&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;becomes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://website.com/page?param1=&amp;amp;param2=very_yes&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The view markup&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;button&quot;&amp;gt;&#xA;    @using (BeginRenderLink(x =&amp;gt; x.ButtonURL, new { @class = &quot;button-highlight&quot;}))&#xA;    {&#xA;        @Model.ButtonText&#xA;    }&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For most systems, the difference between a query string parameter having an empty value and no value does not impact the functionality. In our case, however, we're linking to a system that throws an error if the value exists but is empty. Is there a way to fix this issue?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-08T18:15:19.843" Title="Equals sign (=) added after valueless query string parameters" Tags="|glass-mapper|presentation|links|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16620" PostTypeId="2" ParentId="16619" CreationDate="2019-02-08T18:15:19.843" Score="1" Body="&lt;p&gt;This issue is caused by &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper/UrlBuilder.cs#L93&quot; rel=&quot;nofollow noreferrer&quot;&gt;how Glass Mapper generates URLs with its UrlBuilder&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override string ToString()&#xA;{&#xA;    StringBuilder sb = new StringBuilder();&#xA;&#xA;    // [get the first part of the URL] (omitted for brevity)&#xA;&#xA;    foreach (var keyValuePair in QueryString)&#xA;    {&#xA;        if (keyValuePair.Key.HasValue())&#xA;        {&#xA;            sb.AppendFormat(&quot;{0}={1}{2}&quot;, keyValuePair.Key ?? string.Empty, keyValuePair.Value ?? string.Empty,QuerySeparator);&#xA;        }&#xA;    }&#xA;&#xA;    // [remove the last separator] (omitted for brevity)&#xA;&#xA;    return sb.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the line where it appends the next query string parameter concatenated with an = and its value, even if the value is empty.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;The fix&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I didn't want to change this functionality in Glass Mapper, because I figured it was actually MORE likely to be what people want. But for our case I needed a solution, so here's what I came up with:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Create a custom &lt;code&gt;GlassHtml&lt;/code&gt; utility&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Override the default &lt;code&gt;BeginRenderLink&lt;/code&gt; behavior by replacing any offending contents of the generated URL.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomGlassHtml : GlassHtml&#xA;{&#xA;    public CustomGlassHtml(ISitecoreContext sitecoreContext) : base(sitecoreContext)&#xA;    {&#xA;    }&#xA;&#xA;    public override RenderingResult BeginRenderLink&amp;lt;T&amp;gt;(T model, Expression&amp;lt;Func&amp;lt;T, object&amp;gt;&amp;gt; field, TextWriter writer, object parameters = null, bool isEditable = false, bool alwaysRender = false)&#xA;    {&#xA;        // We use a StringWriter to capture the rendering output from Glass so we can &#xA;        // prevent the case where Glass' UrlBuilder adds a = after a valueless parameter.&#xA;        // For example:&#xA;        //   http://website.com/page?param1&amp;amp;param2=very_yes&#xA;        //   becomes&#xA;        //   http://website.com/page?param1=&amp;amp;param2=very_yes&#xA;&#xA;        var glassRenderedLink = new StringBuilder();&#xA;        var stringWriter = new StringWriter(glassRenderedLink);&#xA;&#xA;        // Call the standard BeginRenderLink. When the RenderingResult is created, it immediately writes the &quot;first part&quot; to the passed in writer&#xA;        RenderingResult renderingResult = base.BeginRenderLink(model, field, stringWriter, parameters, isEditable, alwaysRender);&#xA;        string firstPart = glassRenderedLink.ToString();&#xA;        glassRenderedLink.Clear();&#xA;&#xA;        // When the RenderingResult is disposed, it writes the &quot;last part&quot; to its writer&#xA;        renderingResult.Dispose();&#xA;        string lastPart = glassRenderedLink.ToString();&#xA;&#xA;        // Then we fix the URL problem&#xA;        firstPart = firstPart.Replace(&quot;=&amp;amp;&quot;, &quot;&amp;amp;&quot;);&#xA;&#xA;        // And return our own RenderingResult&#xA;        return new RenderingResult(writer, firstPart, lastPart);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Create a custom &lt;code&gt;GlassHtmlFactory&lt;/code&gt; to return your &lt;code&gt;CustomGlassHtml&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomGlassHtmlFactory : IGlassHtmlFactory&#xA;{&#xA;    public IGlassHtml GetGlassHtml(ISitecoreContext sitecoreContext)&#xA;    {&#xA;        return new CustomGlassHtml(sitecoreContext);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Set your &lt;code&gt;CustomGlassHtmlFactory&lt;/code&gt; as the &lt;code&gt;GlassHtmlFactory&lt;/code&gt; in the &lt;code&gt;GlassMapperScCustom&lt;/code&gt; class&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static IDependencyResolver CreateResolver()&#xA;{&#xA;    var config = new Glass.Mapper.Sc.Config();&#xA;&#xA;    var dependencyResolver = new DependencyResolver(config);&#xA;    // add any changes to the standard resolver here&#xA;&#xA;    // Register our custom GlassHtml class&#xA;    dependencyResolver.GlassHtmlFactory = new CustomGlassHtmlFactory();&#xA;&#xA;    dependencyResolver.Finalise();&#xA;&#xA;    return dependencyResolver;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-08T18:15:19.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16621" PostTypeId="2" ParentId="16582" CreationDate="2019-02-09T00:40:12.587" Score="1" Body="&lt;p&gt;A little background.  The CleanupAuthenticationTicketsAgent should be cleaning up any expired tickets for you.  But due to a bug in 9.0.x, this probably isn't happening.  This is alluded to in the SSE answer you linked to.  The longer term fix is definitely to make sure the agent is cleaning up the tickets correctly.  Support can confirm whether &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.223702&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.223702&lt;/a&gt; is appropriate for your solution.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Keeping in mind the usual best practices when touching a third-party&#xA;  system's database, is there any issue with purging these keys from the&#xA;  database?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;100% agree with the sentiment, this should only be used as an intermediary solution (as advised by support) before the long term solution (apply a fix for CleanupAuthenticationTicketsAgent) is applied. Obviously it's hazardous if you delete the wrong properties, so apply appropriate caution. That said, there is no issue with deleting the tickets but please note any users currently logged in with valid &quot;remember me&quot; functionality will be required to login next time.  To avoid this issue, you can try to just clean up really old tickets by manipulating the SQL query to filter by date (the date the ticket is created is in the value string).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;--EG. This will select tickets created in DEC 2018    &#xA;USE {core_database_name};&#xA;SELECT TOP 10 * FROM [dbo].[Properties]&#xA;WHERE [dbo].[Properties].[Key] like '%SC_TICKET%'&#xA;AND [dbo].[Properties].[Value] like '%^201812%';&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Given that no new records are being added after logging in, are&#xA;  tickets in 9.x+ now stored in a different table?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sounds like you sorted this one.  The key in the properties table is just named slightly differently in different versions of Sitecore. ie. (CORE_SC_TICKET%).  If you've come down an upgrade path there may be some with a different naming convention.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I actually hit this issue recently too and blogged (just a few days ago!) about that specific case at &lt;a href=&quot;https://devsencore.com/2019/02/06/sitecore-9-slow-login-clean-up-your-tickets/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://devsencore.com/2019/02/06/sitecore-9-slow-login-clean-up-your-tickets/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2019-02-09T00:40:12.587" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16622" PostTypeId="1" CreationDate="2019-02-09T05:58:37.267" Score="1" ViewCount="1123" Body="&lt;p&gt;I have installed Sitecore 9.1 on my local machine - Windows 10 and trying to run a sample campaign using out of the box EXM using custom smtp (using my gmail server).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The EXM shows a success message but no email actually being sent or received.&#xA;The EXM.Master.Campaign table shows the &quot;Status&quot; as &quot;Sent&quot; but &quot;FailedRecipients&quot; count of all contacts (4 in my case):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jMo4Z.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jMo4Z.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to get into the logs and but could not found any error. Any help is appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Updated:&lt;/em&gt;&#xA;Updated with another screen shot to give more clarity:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/haWSM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/haWSM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5047" LastEditorUserId="73" LastEditDate="2019-02-12T06:12:59.267" LastActivityDate="2019-02-12T06:12:59.267" Title="EXM Email Send Failure" Tags="|exm|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16624" PostTypeId="1" AcceptedAnswerId="16631" CreationDate="2019-02-09T11:58:07.817" Score="0" ViewCount="325" Body="&lt;p&gt;&lt;strong&gt;Environment details&lt;/strong&gt;: Sitecore 9.0.2 + SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have done till now&lt;/strong&gt;:&#xA;I followed the  steps provided at &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While cloning, I had selected the option to duplicate the items (datasource/view) wherever applicable.&#xA;I changed the css class to 'Promo' from 'Promo-copy' to keep it in sync with rendering 'Promo'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to find the new rendering in the toolbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, my rendering(PromoTest) is the duplicate of the promotion rendering. I also have a template of the same name(PromoTest) and the rendering is pointing to the new template.&#xA;On this new template PromoTest, I have created an item Promo1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I opened a partial rendering in the experience editor and added my new rendering 'PromoTest' to the 'main' placeholder.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: The values in the fields of 'Item1' are not getting rendered. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something? Or I am doing something wrong?&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-02-09T17:19:18.767" Title="SXA Issue displaying fields with new rendering" Tags="|sxa|experience-editor|presentation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16625" PostTypeId="1" AcceptedAnswerId="16626" CreationDate="2019-02-09T14:29:21.343" Score="1" ViewCount="1337" Body="&lt;p&gt;Where &lt;code&gt;Sitecore 9&lt;/code&gt; stores &lt;code&gt;anonymous contacts&lt;/code&gt; in DB? How Sitecore create anonymous contact start to end?&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="5387" LastEditDate="2020-04-03T06:48:45.840" LastActivityDate="2020-04-03T06:48:45.840" Title="Where Sitecore 9 stores anonymous contacts in DB?" Tags="|xdb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16626" PostTypeId="2" ParentId="16625" CreationDate="2019-02-09T15:02:56.063" Score="5" Body="&lt;h2&gt;Where&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore keeps them in xDB. This could be MS SQL if Sitecore is 9.0.x. And MS SQL or Mongo if 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For each anonymous user, a new contact is created as well as two new contact identifiers. You will notice that an un-&quot;known&quot; contact has a generic identifier of xDB.Tracker and Alias. Once the user is identified, it becomes known and a new identifier is added. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In MS SQL, the [xdb_collection].[Contacts] table will look like this. You will have a new contact for each anonymous visitor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BtYWE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BtYWE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And two identifiers for contact in the [xdb_collection].[ContactIdentifiers] table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fjdau.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fjdau.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;How&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Without going to deep into the bits, to see how Sitecore creates the contact. You need to review the ensureSessionContext and initializeTracker pipelines. &#xA;The ensureSessionContext has two processors. These are the two that load the contact from the users analytics cookie. Or creates a new contact in session. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact,&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Pipelines.EnsureSessionContext.CreateContact&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;initializeTracker pipeline has a pipeline that brings it all together. This binds the contact to the current users session. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Pipelines.InitializeTracker.CreateVisit&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-02-09T15:24:08.987" LastActivityDate="2019-02-09T15:24:08.987" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16627" PostTypeId="2" ParentId="16625" CreationDate="2019-02-09T15:21:47.087" Score="6" Body="&lt;h1&gt;Process&lt;/h1&gt;&#xA;&lt;p&gt;All interaction and contact data is stored in the xConnect Collection Database.&lt;/p&gt;&#xA;&lt;h2&gt;Starts with Session data.&lt;/h2&gt;&#xA;&lt;p&gt;All interaction information generated by visitors (anonymous or known) is stored in Session objects on the Content Delivery server.&lt;/p&gt;&#xA;&lt;p&gt;On Session End (generally the timeout interval set in the web.config), the Session End event fires and all of the session data is sent to xConnect via the xConnect Collection Service.&lt;/p&gt;&#xA;&lt;h2&gt;Next Indexing Occurs&lt;/h2&gt;&#xA;&lt;p&gt;From there, interaction/contact information is indexed by the xConnect Collection Indexer service which updates the xDB index.&lt;/p&gt;&#xA;&lt;p&gt;By default, the indexing of anonymous contacts is disabled. This prevents them from showing up in lists, like Experience Profile, however their analytics is still processed.&lt;/p&gt;&#xA;&lt;p&gt;To enable the indexing of anonymous contacts, you can follow &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/enable-indexing-of-anonymous-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's doc&lt;/a&gt; page on it.&lt;/p&gt;&#xA;&lt;h2&gt;Sitecore Processing Follows&lt;/h2&gt;&#xA;&lt;p&gt;Next, the Sitecore Processing role, aggregates the information using the xConnect Reference Data service. Information is aggregated and stored in the Sitecore Reporting Database.&lt;/p&gt;&#xA;&lt;h2&gt;Sitecore Reporting for Analytics&lt;/h2&gt;&#xA;&lt;p&gt;Sitecore Analytics utilizes the Sitecore Reporting role to display the graphs and data found in reports. It uses both the Reporting Database as well as the xConnect Reference Data service to pull information.&lt;/p&gt;&#xA;&lt;h1&gt;How Modules and Features Use Contact Data&lt;/h1&gt;&#xA;&lt;h2&gt;Experience Profile&lt;/h2&gt;&#xA;&lt;p&gt;The Contact list in Experience Profile pulls directly from the xDB Index. If contacts are not indexed, then contacts will not show up here. You must enable Anonymous Contact indexing for Anonymous Contacts to show in Experience Profile. Best practice is that Experience Profile works best when Anonymous Contacts are &lt;em&gt;&lt;strong&gt;NOT&lt;/strong&gt;&lt;/em&gt; indexed.&lt;/p&gt;&#xA;&lt;h2&gt;List Manager&lt;/h2&gt;&#xA;&lt;p&gt;List Manager only segments and uses contacts that are known. Anonymous contacts are not utilized regardless of indexing.&lt;/p&gt;&#xA;&lt;h2&gt;Personalization&lt;/h2&gt;&#xA;&lt;p&gt;Even though anonymous contact information is not indexed, interactions for that contact are kept. This allows for personalization to work even though the contact is not index.&lt;/p&gt;&#xA;&lt;h2&gt;Marketing Automation&lt;/h2&gt;&#xA;&lt;p&gt;Marketing Automation plans can be enrolled by known contacts only.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-09T16:33:59.973" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16628" PostTypeId="2" ParentId="16318" CreationDate="2019-02-09T15:47:41.243" Score="0" Body="&lt;p&gt;As usual, it depends. While in some cases using Sitecore Dictionary is a perfectly valid solution, based on my experience, it is best to store content labels on the rendering datasource item. You can group content labels to a Sitecore template section for better separation. In this case your labels will be part of the LayoutService output for your rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This approach has the following benefits:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Labels are experience editable. &lt;strong&gt;Note:&lt;/strong&gt; &lt;em&gt;It is possible to make dictionary items experience editable, but this requires extra effort and customization.&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;You can use any field type for label text, e.g RichText. This is not possible out-of-the-box with dictionary approach. &lt;/li&gt;&#xA;&lt;li&gt;From the Sitecore tree structure it is immediately clear which labels are part of the page (if you keep your datasource items under the page item), while it takes some effort to find them in a dictionary. &lt;strong&gt;Note:&lt;/strong&gt; &lt;em&gt;You can also create folders in Sitecore dictionary, but still all dictionary items are stored in a central location, and when the website grows, it becomes tedious to manage them.&lt;/em&gt; &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This approach would not fit though in case you need to share some label (e.g &quot;Email&quot;) in multiple locations and want to have it &quot;centrally&quot; editable.&lt;/p&gt;&#xA;" OwnerUserId="862" LastActivityDate="2019-02-09T15:47:41.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16630" PostTypeId="1" AcceptedAnswerId="16632" CreationDate="2019-02-09T17:01:50.813" Score="1" ViewCount="596" Body="&lt;p&gt;I want to show my items in pagelist component horizontally in sets of 3. the default behaviour shows item in vertical list. So in order to show items horizontally, i need to apply bootstrap classes &quot;col-xs-12 col-sm-4 col-md-4 col-lg-4&quot; to &quot;li&quot; items. I tried adding classes through rendering variants and to pagelist component in exeperience editor, the classes are getting added to its parent div.&lt;/p&gt;&#xA;" OwnerUserId="5030" LastEditorUserId="2056" LastEditDate="2019-02-09T21:52:17.383" LastActivityDate="2019-02-11T06:13:42.730" Title="How to apply bootstrap classes to &quot;li&quot; items of Pagelist component in Sitecore SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16631" PostTypeId="2" ParentId="16624" CreationDate="2019-02-09T17:19:18.767" Score="1" Body="&lt;p&gt;Make sure that everything is OK with &lt;em&gt;rendering variant&lt;/em&gt; definition.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;check if it's present in your site,&lt;/li&gt;&#xA;&lt;li&gt;check if your rendering has assigned proper variant,&lt;/li&gt;&#xA;&lt;li&gt;make sure that field names in RV definition match with those from data source&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-09T17:19:18.767" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16632" PostTypeId="2" ParentId="16630" CreationDate="2019-02-10T00:24:48.867" Score="0" Body="&lt;p&gt;As far as I know it isn't possible to add those classes via html without cloning the component and modifying the view. However you can achieve the same result using bootstrap mixins and functions in SCSS, with the bootstrap .scss files imported into the theme directory. For example you can add the following to your &lt;code&gt;theme/scss/variants/search-results&lt;/code&gt; directory:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@import &quot;base/bootstrap/_functions&quot;;&#xA;@import &quot;base/bootstrap/_variables&quot;;&#xA;@import &quot;base/bootstrap/_mixins&quot;;&#xA;&amp;amp;.search-result-product {&#xA;    ul {&#xA;        @include make-row();&#xA;    }&#xA;    li {&#xA;        @include media-breakpoint-up(sm) {&#xA;            @include make-col(12);&#xA;        }&#xA;        @include media-breakpoint-up(md) {&#xA;            @include make-col(6);&#xA;        }&#xA;        @include media-breakpoint-up(lg) {&#xA;            @include make-col(3);&#xA;        }&#xA;        list-style: none;&#xA;        position: relative;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then add a rendering variant to the search results and set a css class of &lt;code&gt;search-result-product&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info about working with SXA themes in Creative Exchange &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/style-sxa-sites-with-sass.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-02-11T06:13:42.730" LastActivityDate="2019-02-11T06:13:42.730" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16634" PostTypeId="1" CreationDate="2019-02-10T05:02:36.727" Score="0" ViewCount="40" Body="&lt;p&gt;&lt;strong&gt;What I have done&lt;/strong&gt;: I have a new rendering by cloning. I created a component on the basis of a new template created by cloning. On a new partial rendering, I added the newly created rendering and created a component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What's the problem&lt;/strong&gt;: I am not getting the option for styling. I have added the newly created rendering to some of the existing styles.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-02-10T05:02:36.727" Title="SXA style option for custom rendering" Tags="|sxa|presentation|" AnswerCount="0" CommentCount="2" ClosedDate="2019-02-11T06:52:16.840" ContentLicense="CC BY-SA 4.0" />
  <row Id="16635" PostTypeId="1" AcceptedAnswerId="16637" CreationDate="2019-02-10T07:03:39.467" Score="1" ViewCount="573" Body="&lt;p&gt;We have installed Sitecore 9.1 and SXA 1.8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We created couple of partial and page designs and all was working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using TDS to sync items between dev Sitecore instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After one of syncs, Partial designs are not working anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can see content in Partial Design itself:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OV83B.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OV83B.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it's not visible in Page Design or Page which has that Partial Design selected:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Wmphv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Wmphv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is for old and also for newly created Partial / Page Designs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some setting in Sitecore SXA that we have changed / overwritten accidentally?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How Partial designs end up in Page designs?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have already rebuild all indexes and also link db just in case but no change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Files are correct. We haven't changed those. We also don't have any custom pipeline. This must be something in Sitecore items.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-02-10T12:52:07.077" LastActivityDate="2019-02-10T21:02:03.810" Title="Partial Designs are not visible on Page Design" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16637" PostTypeId="2" ParentId="16635" CreationDate="2019-02-10T21:02:03.810" Score="1" Body="&lt;p&gt;Thanks to Richard's comment, I was able to identify the root cause.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During TDS sync some of the fields from \sitecore\content\%Tenant Name%\%Site Name%\Settings\Site Grouping\%Site Name% where not synced correctly (highlighted below) and were empty. I have filled them in and it is now working as expected:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XqbQM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XqbQM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-02-10T21:02:03.810" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16638" PostTypeId="2" ParentId="16546" CreationDate="2019-02-10T23:09:40.140" Score="1" Body="&lt;p&gt;It looks like it might having problems with the underscore in the Product ID? The item id you sent is &lt;code&gt;|20023_0000118|00889918331075&lt;/code&gt;, however the error only lists &lt;code&gt;|0000118|00889918331075&lt;/code&gt;. It's seems to have dropped the values before the underscore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you try a product id without an underscore and see if you get the same issue. If not then you may have found a bug.&lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2019-02-10T23:09:40.140" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16639" PostTypeId="2" ParentId="16289" CreationDate="2019-02-10T23:16:15.723" Score="2" Body="&lt;p&gt;This is a tricky one, there is no uninstall script for items as they're just db records. The installation package could have created a new item, or updated field values on an existing item, and you'll have to carefully choose the rollback procedure in each case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The simplest option in this case is to stand up a new XM environment with clean databases and resync your content back out of Unicorn/TDS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't want to go down that path, you could look inside each of the packages that are installed for XC and see the items are represented as files. You could use that data to manually go and rollback the changes one by one but it would likely be a painful and time consuming exercise. &lt;/p&gt;&#xA;" OwnerUserId="269" LastActivityDate="2019-02-10T23:16:15.723" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16640" PostTypeId="1" CreationDate="2019-02-11T00:56:45.537" Score="2" ViewCount="1229" Body="&lt;p&gt;We are using JSS for one of our clients. We have a requirement to fetch child items upto n level.So we built a custom rendering content resolver for it. It's working well in connected mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now if we ought to use this resolver in disconnected mode i.e. the relevant rendering should by default get created with the Custom rendering content resolver instead of default resolver when we deploy the code in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where should we specify the custom content resolver name in react code?&lt;/p&gt;&#xA;" OwnerUserId="5022" LastActivityDate="2019-03-14T12:02:20.463" Title="Sitecore JSS Custom RenderingContentresolver help" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16641" PostTypeId="1" CreationDate="2019-02-11T00:58:09.097" Score="1" ViewCount="63" Body="&lt;p&gt;I need to create segmentation rules for showing a banner in my site based on zip. It is difficult to create rules for each zip as there might be 1000s of zip code.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to  create and upload rules in csv / json file to Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="5052" LastEditorUserId="73" LastEditDate="2019-02-11T07:41:19.827" LastActivityDate="2019-02-11T12:34:51.510" Title="upload rules from csv file" Tags="|rules-engine|segmentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16642" PostTypeId="2" ParentId="16296" CreationDate="2019-02-11T02:31:53.960" Score="1" Body="&lt;p&gt;The easiest way to implement this behavior is using custom javascript code added in the Footer field of your WFFM form, but this approach requires to disable the removal of scripts from Rich Text Editor fields (&lt;strong&gt;not recommended for security reasons!&lt;/strong&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really want to go with this approach though, you can disable the removal of scripts changing the value of the &lt;code&gt;HtmlEditor.RemoveScripts&lt;/code&gt; setting to false.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- HTML EDITOR REMOVE SCRIPTS&#xA;If true, the rich text editor removes script tags and inline scripts from RTE field values before saving. Setting the value to true reduces the potential for cross-site scripting and other script-related issues.&#xA;Default value: true&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;HtmlEditor.RemoveScripts&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is an example of javascript code to display the child dropdown DIV section only when a specific value of the parent downdown field is selected (&lt;code&gt;Parent Value B&lt;/code&gt; in my example):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;var parentDropdownInput = document.getElementById(&quot;main_0_centercolumn_0_form_7ED5B3152D4844E4A0A1DACDC2ABFF00_field_ABF65697BBC941F5A9AFC105CF892210&quot;);&#xA;var childDropdownDiv = document.getElementById(&quot;main_0_centercolumn_0_form_7ED5B3152D4844E4A0A1DACDC2ABFF00_field_ECF34F57675B4DB6907E7CD6FCFBD58Dscope&quot;);&#xA;&#xA;if (parentDropdownInput.value == &quot;Parent Value B&quot;)&#xA;{&#xA;    childDropdownDiv.style.display = &quot;block&quot;;&#xA;}&#xA;else&#xA;{&#xA;    childDropdownDiv.style.display = &quot;none&quot;;&#xA;}&#xA;&#xA;parentDropdownInput.onchange = function() {&#xA;    if (this.value == &quot;Parent Value B&quot;)&#xA;    {&#xA;        childDropdownDiv.style.display = &quot;block&quot;;&#xA;    }&#xA;    else&#xA;    {&#xA;        childDropdownDiv.style.display = &quot;none&quot;;&#xA;    }&#xA;}&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the custom validation, you will need to implement it using custom Javascript code as well.&lt;/p&gt;&#xA;" OwnerUserId="1399" LastActivityDate="2019-02-11T02:31:53.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16643" PostTypeId="1" AcceptedAnswerId="16657" CreationDate="2019-02-11T02:38:00.300" Score="3" ViewCount="2714" Body="&lt;p&gt;Recently I installed Sitecore 9.0 version in my system and after successful installation I tried with Sitecore default credentials (admin/b) but it was not working. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I remember that during Sitecore training the tutor taught me that the default one is &quot;&lt;strong&gt;admin/b&lt;/strong&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This doesn't seem to work on Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to configure the password during installation?&lt;/p&gt;&#xA;" OwnerUserId="2344" LastEditorUserId="73" LastEditDate="2019-02-11T06:51:25.893" LastActivityDate="2019-02-11T11:59:11.073" Title="What is the default password in Sitecore 9?" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16644" PostTypeId="2" ParentId="16373" CreationDate="2019-02-11T02:51:47.857" Score="1" Body="&lt;p&gt;This appears to be an issue that has been around for some time now. I've &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/1094&quot; rel=&quot;nofollow noreferrer&quot;&gt;reported this issue&lt;/a&gt; with the SPE Team. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is now a fix in place due to be released with 5.1 which changes the alert to a validation message on the existing dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O7b1m.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O7b1m.png&quot; alt=&quot;SPE Validation Message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-02-11T02:51:47.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16648" PostTypeId="2" ParentId="16641" CreationDate="2019-02-11T07:41:03.337" Score="1" Body="&lt;p&gt;No.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nor would it be a good idea to have 1000s of individual personalisation conditions set up on any one of your renderings of your site. While the Rules Engine is reasonably performant, I doubt it scales nicely in this scenario,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should instead be looking at a custom action. One you code yourself. That will hold the CSV data and assign the data source you require.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-02-11T07:41:03.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16650" PostTypeId="1" AcceptedAnswerId="16651" CreationDate="2019-02-11T08:04:45.477" Score="1" ViewCount="305" Body="&lt;p&gt;I am having some trouble with correctly configuring the Solr core prefix using SIF.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How is the to use Solr core prefix determined in the SIF installation for Sitecore 9?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, will;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration -Sitename MySite ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;result in a &lt;code&gt;MySite_&lt;/code&gt; Solr core prefix?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-02-11T08:44:40.877" LastActivityDate="2019-02-11T09:09:38.583" Title="SIF parameter that determines Solr core prefix" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16651" PostTypeId="2" ParentId="16650" CreationDate="2019-02-11T09:09:38.583" Score="4" Body="&lt;p&gt;SIF is offer you flexibility to choose Core prefix name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can have something like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$prefix = &quot;myprefix&quot;&#xA;$PSScriptRoot = Resolve-Path -Path &quot;.\XP0 Configuration files 9.0.1 rev. 171219&quot;&#xA;&#xA;&#xA;$SolrUrl = &quot;https://solr:8983/solr&quot;&#xA;$SolrRoot = &quot;C:\solr\solr-6.6.2&quot;&#xA;$SolrService = &quot;solr-6.6.2&quot;&#xA;&#xA;&#xA;$solrParams = @{&#xA;   Path        = &quot;$PSScriptRoot\sitecore-solr.json&quot;&#xA;   SiteName    = &quot;www.mysite.local&quot;&#xA;   SolrUrl     = $SolrUrl&#xA;   SolrRoot    = $SolrRoot&#xA;   SolrService = $SolrService&#xA;   CorePrefix  = $prefix&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And to install just use next task with &lt;strong&gt;solrParams&lt;/strong&gt; parameter&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   Install-SitecoreConfiguration @solrParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-02-11T09:09:38.583" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16654" PostTypeId="1" CreationDate="2019-02-11T10:09:53.947" Score="0" ViewCount="240" Body="&lt;p&gt;I have this problem with the instance of the Sitecore. A made a publish from VS project with the same Sitecore.Kernel.dll and Sitecore.Mvc.Dll of the instance. After that I cann't reach anymore the login page of the site. I have searched over the internet but i didn't find any reference of this problem. Any idea?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Could not load type 'Sitecore.SecurityModel.Cryptography.IHashEncryption' from assembly 'Sitecore.Kernel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null'.&lt;/strong&gt;&#xA;&lt;strong&gt;Description&lt;/strong&gt;: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Exception Details&lt;/strong&gt;: System.TypeLoadException: Could not load type 'Sitecore.SecurityModel.Cryptography.IHashEncryption' from assembly 'Sitecore.Kernel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source Error&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VXpA4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VXpA4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4945" LastEditorUserId="4945" LastEditDate="2019-02-11T10:56:10.313" LastActivityDate="2019-02-11T13:27:46.133" Title="'Sitecore.SecurityModel.Cryptography.IHashEncryption' from assembly 'Sitecore.Kernel" Tags="|sitecore-api|sitecore-install-framework|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="16655" PostTypeId="2" ParentId="16654" CreationDate="2019-02-11T10:35:36.520" Score="1" Body="&lt;p&gt;If the type &lt;strong&gt;IHashEncryption&lt;/strong&gt; was there before you replace the DLL, that's code for &lt;strong&gt;you are really using two different DLL versions&lt;/strong&gt; even if they look the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I like to do in these situations is to use a &lt;strong&gt;decompiler to decompile the DLL&lt;/strong&gt; and then make sure the expected type is really there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do this on the new DLL and then on the old one. Most often than not I realize that I was using different DLLs .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I really love &lt;strong&gt;DotPeek&lt;/strong&gt; (free), so feel free to take a look &lt;a href=&quot;https://www.jetbrains.com/decompiler/&quot; rel=&quot;nofollow noreferrer&quot;&gt;on this link&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-02-11T13:27:46.133" LastActivityDate="2019-02-11T13:27:46.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16656" PostTypeId="2" ParentId="16643" CreationDate="2019-02-11T11:51:27.537" Score="0" Body="&lt;p&gt;There is a SetSitecoreAdminPassword.sql file is available in installation zip file. This sql script talks about admin password generation. Please check the below &lt;/p&gt;&#xA;&#xA;&lt;p&gt;declare @ApplicationName nvarchar(256) = 'sitecore'&#xA;declare @UserName nvarchar(256) = 'sitecore\admin'&#xA;declare @Password nvarchar(128) = 'PlaceHolderForPassword'&#xA;declare @HashAlgorithm nvarchar(10) = 'SHA1'&#xA;declare @PasswordFormat int = 1 -- Hashed&#xA;declare @CurrentTimeUtc datetime = SYSUTCDATETIME()&#xA;declare @Salt varbinary(16) = 0x&#xA;declare @HashedPassword varbinary(20)&#xA;declare @EncodedHash nvarchar(128)&#xA;declare @EncodedSalt nvarchar(128)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-- Generate random salt&#xA;while len(@Salt) &amp;lt; 16&#xA;begin&#xA;    set @Salt = (@Salt + cast(cast(floor(rand() * 256) as tinyint) as binary(1)))&#xA;end&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;-- Hash password&#xA;set @HashedPassword = HASHBYTES(@HashAlgorithm, @Salt + cast(@Password as varbinary(128)));&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-- Convert hash and salt to BASE64&#xA;select @EncodedHash = cast(N'' as xml).value(&#xA;                  'xs:base64Binary(xs:hexBinary(sql:column(&quot;bin&quot;)))'&#xA;                , 'varchar(max)'&#xA;            ) from (select @HashedPassword as [bin] ) T&lt;/p&gt;&#xA;&#xA;&lt;p&gt;select @EncodedSalt = cast(N'' as xml).value(&#xA;                  'xs:base64Binary(xs:hexBinary(sql:column(&quot;bin&quot;)))'&#xA;                , 'VARCHAR(MAX)'&#xA;            ) from (select @Salt as [bin] ) T &lt;/p&gt;&#xA;" OwnerUserId="4085" LastActivityDate="2019-02-11T11:51:27.537" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16657" PostTypeId="2" ParentId="16643" CreationDate="2019-02-11T11:59:11.073" Score="7" Body="&lt;p&gt;When installing Sitecore 9 (using SIF) you execute a powershell script called &lt;code&gt;XP0-SingleDeveloper.ps1&lt;/code&gt; (at least for installing a Single On Premises instance). In this file you should find a line that looks like this:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;$SitecoreAdminPassword = &amp;quot;SIF-Default&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;That line determines the password used for the &lt;code&gt;admin&lt;/code&gt; user. Change this to whatever you want, and after the installation is completed you can log on as &lt;em&gt;admin&lt;/em&gt; using that password (you can even set the password to &amp;quot;b&amp;quot; if you want to).&lt;/p&gt;&#xA;&lt;p&gt;As per the installation documentation:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;[...] edit the &lt;code&gt;XP0-SingleDeveloper.ps1&lt;/code&gt; script and update each line with the settings that are appropriate for your environment. One of the settings that you must edit is &lt;code&gt;SitecoreAdminPassword&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If you do not specify the Sitecore administrator password in the script and leave the example value &amp;quot;SIF-Default&amp;quot; unchanged, a random password is generated for you. This password is written to the &lt;code&gt;XP0-SingleDeveloper.log&lt;/code&gt; file – search for &lt;em&gt;Sitecore Admin Password&lt;/em&gt; – and displayed when the &lt;code&gt;sitecore-xp0.json&lt;/code&gt; file has been processed&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3587" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-11T11:59:11.073" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16658" PostTypeId="2" ParentId="10656" CreationDate="2019-02-11T12:31:35.797" Score="4" Body="&lt;p&gt;Analytics Database Manager has now versions which are compatible with Sitecore 9.x&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 9.0.x download &lt;a href=&quot;https://marketplace.sitecore.net/services/~/download/F7007A4284ED4AECA1542181115A3F2C.ashx?data=ADM.4.0.0&amp;amp;itemId=51a6ab67-a88f-42b6-b820-86b684af6645&quot; rel=&quot;nofollow noreferrer&quot;&gt;ADM 4.0.0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 9.1 download &lt;a href=&quot;https://marketplace.sitecore.net/services/~/download/A8961F7DB15D4579B11C35F8E67101FB.ashx?data=ADM.4.1.0&amp;amp;itemId=51a6ab67-a88f-42b6-b820-86b684af6645&quot; rel=&quot;nofollow noreferrer&quot;&gt;ADM 4.1.0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unzip ADM and read the documentation on how to install the module. You have to attach a database, add a connection string, copy content to your xconnect instance and run a sql script against your ShardX databases.&lt;/p&gt;&#xA;" OwnerUserId="1183" LastEditorUserId="1183" LastEditDate="2019-02-11T13:13:53.350" LastActivityDate="2019-02-11T13:13:53.350" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16659" PostTypeId="2" ParentId="16641" CreationDate="2019-02-11T12:34:51.510" Score="2" Body="&lt;p&gt;As Mark said, uploading rules is not a feature. You might instead want to look at the functionality that is available out-of-the-box for GeoIP rules. Do you need a rule for every single zip code? That is a lot of content to manage and unlikely what is expected by the authors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest determining what your different banner variations are and what see if you can use the GeoIP-based rules to create the segments you need for the banners.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-02-11T12:34:51.510" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16662" PostTypeId="2" ParentId="16487" CreationDate="2019-02-11T13:27:35.303" Score="2" Body="&lt;p&gt;The Creative Exchange Import process deletes the gulpfile.babel.js (since a dot is not a valid character for the item name). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Workaround&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Sitecore support I got the tip to rename the 'gulpfilebabel'-item to 'gulpfile' and  change the extension from 'js' to 'babel.js'. And that works for me, the item was not deleted anymore.&lt;/p&gt;&#xA;" OwnerUserId="97" LastActivityDate="2019-02-11T13:27:35.303" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16663" PostTypeId="1" AcceptedAnswerId="16664" CreationDate="2019-02-11T13:48:44.360" Score="4" ViewCount="1422" Body="&lt;h2&gt;Is is possible to perform autopublish of item on intermediate, not final state of sitecore workflow?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.1, Admin user.&lt;br&gt;&#xA;I have custom workflow with the following states:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Editing&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Submit&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Reviewing&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Approve (autopublish item to &lt;strong&gt;web&lt;/strong&gt; database)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Auto Publish Action&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Reject (move item to Editing)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Published&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Approve (autopublish item to &lt;strong&gt;production&lt;/strong&gt; database)&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Auto Publish Action&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Reject (move item to Editing)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;On Production (final state)  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When item goes from &lt;code&gt;Reviewing&lt;/code&gt; -&gt; &lt;code&gt;Published&lt;/code&gt; state (by approval) - it's not being autopublished. It works only from &lt;code&gt;Published&lt;/code&gt; -&gt; &lt;code&gt;On Production&lt;/code&gt;.&lt;br&gt;&#xA;I've tried to achieve this by &lt;code&gt;Sitecore.Workflows.Simple.PublishAction&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KK0Ac.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KK0Ac.png&quot; alt=&quot;workflow&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried to wrote custom processor for this and do publish via code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishManager.PublishItem(dataItem, targets, master, isDeep, false, publishRelated);  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var po = new PublishOptions(master,&#xA;                           targetDb,&#xA;                           PublishMode.SingleItem,&#xA;                           lang,&#xA;                           System.DateTime.Now);&#xA;po.RootItem = dataItem;&#xA;&#xA;Publisher publisher = new Publisher(po);&#xA;publisher.Publish();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code executes, but nothing publishes, no errors in logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it even possible?&lt;/p&gt;&#xA;" OwnerUserId="5056" LastActivityDate="2019-02-11T13:53:05.800" Title="Workflow auto publish on intermediate state" Tags="|publishing|workflow|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16664" PostTypeId="2" ParentId="16663" CreationDate="2019-02-11T13:53:05.800" Score="4" Body="&lt;p&gt;The piece you're missing is that on that intermediate workflow state (&lt;strong&gt;Reviewing&lt;/strong&gt;, in your example) you need to set the &lt;code&gt;Preview publishing targets&lt;/code&gt; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9aqiy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9aqiy.png&quot; alt=&quot;Preview publishing targets field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your &lt;code&gt;web&lt;/code&gt; target in that field for your &lt;strong&gt;Reviewing&lt;/strong&gt; state and the auto-publish action should work as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: if your target does not show up in this list, you may need to navigate to the publishing targets (&lt;code&gt;/sitecore/system/publishing targets&lt;/code&gt;) and check the &lt;strong&gt;Preview publishing target&lt;/strong&gt; checkbox:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OolRz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OolRz.png&quot; alt=&quot;Preview publishing target field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-11T13:53:05.800" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16665" PostTypeId="1" CreationDate="2019-02-11T14:06:39.370" Score="1" ViewCount="83" Body="&lt;p&gt;I'm trying to extend the filtering options of sitecore analytics report. I've noticed that Sitecore out of the box provides filtering by Site as seen on the screenshot below. I'm using Sitecore 8.2 update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IGga0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IGga0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to recreate this dropdown to filter by language. Is there an out of the box feature for this? A configuration? Any ideas are much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3255" LastActivityDate="2019-02-12T17:02:21.237" Title="Analytics Filter Report by Language" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16666" PostTypeId="1" AcceptedAnswerId="17637" CreationDate="2019-02-11T14:08:54.097" Score="0" ViewCount="1129" Body="&lt;p&gt;Sitecore 8.1, never used Solr before, just switched from Lucene.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I downloaded the latest Solr and installed it using nssm. Generated self-signed certificate. Admin runs well at &lt;a href=&quot;https://localhost:8983/solr/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created the core &quot;sitecore_analytics_index&quot; using the command&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;solr create -c sitecore_analytics_index&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can access it from the dashboard.&#xA;I renamed &quot;managed-schema&quot; to &quot;schema.xml&quot; but I get an error in the log informing me that the core was upgraded to managed and I don't need the file, so I deleted it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to access the Sitecore shell, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Connection error to search provider [Solr] : Unable to connect to [&lt;a href=&quot;https://localhost:8983/solr]&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr]&lt;/a&gt;, Core: [sitecore_analytics_index]&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;which is baffling as I can access that very instance just fine. Sitecore log is empty as it cannot start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why I am getting this error?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-03-22T12:51:34.407" Title="Connection error to search provider [Solr] : Unable to connect to [https://localhost:8983/solr], Core: [sitecore_analytics_index]" Tags="|solr|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="16668" PostTypeId="2" ParentId="16348" CreationDate="2019-02-11T14:31:42.707" Score="1" Body="&lt;p&gt;Having contacted Sitecore support it seems that there is a bug when creating an SXA 1.8 instance on Azure, it does not include all of the necessary items for the Master database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The workaround to this problem is to install Sitecore 9.1 and then to manually install Powershell 4.7.2 (or 5.0) and SXA 1.8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To track the future status of this bug report, please use the reference number 308512. More information about public reference numbers can be found here:&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/853187&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/853187&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4487" LastActivityDate="2019-02-11T14:31:42.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16669" PostTypeId="1" AcceptedAnswerId="16671" CreationDate="2019-02-11T14:51:31.467" Score="0" ViewCount="1021" Body="&lt;p&gt;The website is loading fine but I can see a lot of &lt;strong&gt;exception messages&lt;/strong&gt; on the log files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those are all realted to &lt;code&gt;XConnect&lt;/code&gt; and &lt;code&gt;certificates&lt;/code&gt; as you can see on the below example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: The certificate was not found. Store: My, Location: LocalMachine, FindType: FindByThumbprint, FindValue: B6D2B200ABD73D686DA3F7AB0B8CE34E10657886, InvalidAllowed: False.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.CertificateHttpClientHandlerModifier.Process(HttpClientHandler handler)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateRequestHandler()&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateClient()&#xA;   at System.Lazy`1.CreateValue()&#xA;   at System.Lazy`1.LazyInitValue()&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteAsync&amp;gt;d__41.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteGetAsync&amp;gt;d__36.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.&amp;lt;Refresh&amp;gt;d__4.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Please note&lt;/strong&gt; that I've installed another Sitecore instance (a 9.0.1 this time) on this same machine and that I had a few certificate issues during the process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first instance installed was working 100% before installing the second one. After the second one, the first one is getting the above-mentioned error messages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I'm pretty sure the current issue is somehow related to this, but I can't find the exact cause.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I open my Windows Certificate Manager I can confirm that all certs for this given instance are still there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/du55G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/du55G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And even the &lt;code&gt;Certificate Issuer&lt;/code&gt; is there and still valid as well:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b3hw8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b3hw8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any insight would be hugely appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="73" LastEditDate="2019-02-11T15:32:48.263" LastActivityDate="2019-02-11T16:38:16.987" Title="Certificate error when initializing the XConnect website" Tags="|xconnect|sitecore-install-framework|certificate|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16670" PostTypeId="1" CreationDate="2019-02-11T14:52:35.050" Score="1" ViewCount="1267" Body="&lt;p&gt;I am currently trying to migrate some indexes and was looking at the &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/solr-managed-schemas.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;. It seems like there should be an option &quot;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/image/15c614ad9225c4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;Populate Solr Managed Schema&lt;/a&gt;&quot; in the control panel. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, in my Sitecore 9.1 control panel that option is missing. I only see &quot;Indexing Manager&quot; under the INDEXING category. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the reason?&lt;/p&gt;&#xA;" OwnerUserId="5057" LastEditorUserId="124" LastEditDate="2019-09-28T06:22:33.163" LastActivityDate="2019-09-28T06:22:33.163" Title="Indexing tool &quot;Populate Solr Managed Schema&quot; missing" Tags="|solr|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="16671" PostTypeId="2" ParentId="16669" CreationDate="2019-02-11T16:38:16.987" Score="1" Body="&lt;p&gt;There are some bugs in SIF 1.x's certificate generation that were fixed in SIF 2.0. This meant that some of the configs from SIF 1.x caused problems with SIF 2.0 due to workarounds in the 9.0.x configs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/15334/sif-2-0-0-on-sc-9-0-2-the-operation-is-on-user-root-store-and-ui-is-not-allow&quot;&gt;SIF 2.0.0 on SC 9.0.2 - &amp;quot;The operation is on user root store and UI is not allowed&amp;quot;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has some solutions for this. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2019-02-11T16:38:16.987" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="16672" PostTypeId="2" ParentId="16618" CreationDate="2019-02-11T18:16:53.070" Score="6" Body="&lt;p&gt;There were some Lucene files in my &quot;~\Website\App_Config\Include&quot; folder that needed to be disabled with disable files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/M2wzX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M2wzX.png&quot; alt=&quot;Disabled Lucene files&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After disabling these files I was able to run the project locally.&lt;/p&gt;&#xA;" OwnerUserId="5031" LastActivityDate="2019-02-11T18:16:53.070" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16673" PostTypeId="2" ParentId="16622" CreationDate="2019-02-11T19:32:01.223" Score="1" Body="&lt;p&gt;As Pete mentioned, the issue is probably related to your smtp server. If you don't see errors in the logs, it normally means that the smtp server accepted the message(s).&#xA;It might not send the message though, or more likely mark the message as spam (could be because it does not recognize you Sitecore server). Some clients completely block those marked messages and you will think it has not been send (had a similar issue with an Office smtp server recently).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really want/need to use Gmail, read &lt;a href=&quot;https://www.lifewire.com/what-are-the-gmail-smtp-settings-1170854&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.lifewire.com/what-are-the-gmail-smtp-settings-1170854&lt;/a&gt; and also &lt;a href=&quot;https://www.lifewire.com/unlock-gmail-for-a-new-email-program-or-service-1171974&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.lifewire.com/unlock-gmail-for-a-new-email-program-or-service-1171974&lt;/a&gt;. Didn't try this myself, but it might help you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But as this is on local - you might want to try using another one for testing. Maybe even just to make sure your setup in Sitecore is correct. &lt;a href=&quot;https://mailtrap.io/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Mailtrap.io&lt;/a&gt; as mentioned by Pete is a good and very easy option that I've used as well. Setup is fairly easy and you should have no spam or blocking issues there.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-02-11T19:32:01.223" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16674" PostTypeId="1" AcceptedAnswerId="16675" CreationDate="2019-02-11T20:04:34.063" Score="2" ViewCount="1231" Body="&lt;p&gt;I had to recreate my certs and after doing so and importing them into my IIS, I'm struggling now to find where exactly on the &lt;code&gt;Sitecore IdentityServer&lt;/code&gt; website I must update its Thumbprint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone changed this value?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="1000" LastEditDate="2019-02-11T20:08:42.297" LastActivityDate="2019-02-11T20:27:09.080" Title="Where can I change the Certificate Thumbprint from a Sitecore IdentityServer website?" Tags="|identity-server|certificate|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16675" PostTypeId="2" ParentId="16674" CreationDate="2019-02-11T20:27:09.080" Score="4" Body="&lt;p&gt;It looks like there is an XML instead of a config file on which we can do it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;website.identityserver\Config\production\Sitecore.IdentityServer.Host.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;      &amp;lt;Sitecore&amp;gt;&#xA;        &amp;lt;IdentityServer&amp;gt;      &#xA;          &amp;lt;CertificateThumbprint&amp;gt;‎ABCB50CAB808CDD021A9850CF6BB8AA2B6A1B3AD&amp;lt;/CertificateThumbprint&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-11T20:27:09.080" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16676" PostTypeId="1" CreationDate="2019-02-11T20:57:23.873" Score="1" ViewCount="1289" Body="&lt;p&gt;I'm getting an error on the fields property when using Typescript from &lt;a href=&quot;https://gary.wenneker.org/sitecore-jss-get-typed/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this tutorial&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class Profile extends React.Component&amp;lt;Props, State&amp;gt; {&#xA;  constructor(props: any){&#xA;    super(props);&#xA;  }&#xA;  render(){&#xA;    const {fields} = this.props;&#xA;    return(&#xA;    &amp;lt;div&amp;gt;&#xA;      &amp;lt;p&amp;gt;Profile Component&amp;lt;/p&amp;gt;&#xA;      &amp;lt;Text field={fields.heading} /&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    )&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Typescript compiler gives the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[ts] Type 'string' has no properties in common with type '{ value?: string; editable?: string; }'. [2559]&#xA;Text.d.ts(4, 5): The expected type comes from property 'field' which is declared here on type 'IntrinsicAttributes &amp;amp; TextProps &amp;amp; { children?: ReactNode; }'&#xA;(JSX attribute) TextProps.field: {&#xA;    value?: string;&#xA;    editable?: string;&#xA;}&#xA;The text field data.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which is actually in line with the Text.d.ts from JSS:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/** The text field data. */&#xA;field: {&#xA;    value?: string;&#xA;    editable?: string;&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I actually use the format that typescript wants &lt;code&gt;&amp;lt;Text field={{value: fields.heading}} /&amp;gt;&lt;/code&gt; I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Objects are not valid as a React child (found: object with keys {value}). If you meant to render a collection of children, use an array instead.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Updating the Text.d.ts to &lt;code&gt;field: string;&lt;/code&gt; actually works, but that's not the typing specified by JSS.&lt;/p&gt;&#xA;" OwnerUserId="2134" LastActivityDate="2019-11-09T14:01:50.240" Title="Error on typings using JSS Text with Typescript" Tags="|jss|react|typescript|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16677" PostTypeId="1" AcceptedAnswerId="16710" CreationDate="2019-02-11T21:00:36.960" Score="3" ViewCount="4479" Body="&lt;p&gt;Can't start the &lt;code&gt;Sitecore Marketing Automation Engine&lt;/code&gt; on my Sitecore 9.1 instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to do so, that's what I get on my log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;19:02:11 15:56:15 ERROR Exception when executing agent aggregation/aggregator&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: An error occurred while sending the request.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.Analytics.Aggregation.XConnect.DefaultXdbContextFactory.CreateReadOnly()&#xA;   at Sitecore.Analytics.Processing.AsyncPoolScheduler`2..ctor(IAsyncProcessingPool`1 pool, IXdbContextFactory xdbContextFactory, ExpandOptions options, Int16 maxBatchSize)&#xA;   at Sitecore.Analytics.Aggregation.InteractionAggregationAgent.&amp;lt;ExecuteCoreAsync&amp;gt;d__15.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.Agent.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;ExecuteAgentAsync&amp;gt;d__22.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;RunAsync&amp;gt;d__26.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Http.HttpRequestException&#xA;Message: An error occurred while sending the request.&#xA;Source: mscorlib&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteAsync&amp;gt;d__41.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteGetAsync&amp;gt;d__36.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.&amp;lt;Refresh&amp;gt;d__4.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: The request was aborted: Could not create SSL/TLS secure channel.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&#xA;   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's worth noting that I've been playing with my instance &lt;strong&gt;Certificates&lt;/strong&gt; so I'm pretty sure it must be something related to it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I can't point exactly what I missed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2022-05-24T12:45:59.850" Title="Can't start the 'Marketing Automation Engine' service" Tags="|xconnect|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16678" PostTypeId="2" ParentId="16599" CreationDate="2019-02-11T21:25:41.970" Score="1" Body="&lt;p&gt;Is Content Search disabled? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.Enabled&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've seen some of the Commerce installation processes update the Sitecore.ContentSearch.config file under App_config/Sitecore/ContentSearch folder and set it to &quot;false.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to see the indexes in the index manager ContentSearch.Enabled setting must be set to &quot;true&quot;&lt;/p&gt;&#xA;" OwnerUserId="365" LastEditorUserId="365" LastEditDate="2019-02-11T21:31:17.673" LastActivityDate="2019-02-11T21:31:17.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16680" PostTypeId="1" AcceptedAnswerId="16681" CreationDate="2019-02-12T00:21:38.273" Score="8" ViewCount="129" Body="&lt;p&gt;What are the licensing requirements around Sitecore Universal Tracker? &#xA;- Would, say, a license for xDB suffice?&lt;/p&gt;&#xA;" OwnerUserId="569" LastEditorUserId="69" LastEditDate="2021-08-04T12:28:22.597" LastActivityDate="2021-08-04T12:28:22.597" Title="What are the licensing requirements for Sitecore Universal Tracker?" Tags="|xdb|xconnect|universal-tracker|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16681" PostTypeId="2" ParentId="16680" CreationDate="2019-02-12T01:57:36.517" Score="6" Body="&lt;p&gt;Similar to xConnect there is no licensing requirement for the universal tracker. Sitecore only has license requirements for the CM, CD, PRC, and REP servers. In production and pre-production.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As always consult your sales rep for any licensing requirements specific to your organisation. &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="1278" LastEditDate="2019-02-12T06:11:06.953" LastActivityDate="2019-02-12T06:11:06.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16682" PostTypeId="2" ParentId="16599" CreationDate="2019-02-12T05:59:57.993" Score="0" Body="&lt;p&gt;Thanks for all your reply. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found the solution. Client certificate with patch code did not work in local. I deployed same patch to Server. It worked. &lt;/p&gt;&#xA;" OwnerUserId="2528" LastEditorUserId="2528" LastEditDate="2019-02-12T06:13:27.413" LastActivityDate="2019-02-12T06:13:27.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16684" PostTypeId="1" CreationDate="2019-02-12T08:51:14.290" Score="1" ViewCount="488" Body="&lt;p&gt;We have created similar workflow to &quot;Sample Workflow&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have configured Auto Publish like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;deep=1&amp;amp;smart=1&amp;amp;related=1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on our knowledge this should be sufficient to publish also all related items (components).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is however not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have only Pages under workflow. Components are not under workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, Auto publish is only publishing current item / page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 9.1 with SXA 1.8. We are not using Publishing service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are we missing some settings?&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-02-12T08:59:25.033" LastActivityDate="2019-02-12T08:59:25.033" Title="Auto Publish related items in workflow not working in SXA" Tags="|sxa|publishing|workflow|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="16685" PostTypeId="1" AcceptedAnswerId="16691" CreationDate="2019-02-12T09:41:18.220" Score="4" ViewCount="307" Body="&lt;p&gt;I have tried but when I add custom action to Save actions to a WFFM (9.0) form in Sitecore 9.1 I get a pop up saying &quot;This action cannot be added. Your configuration does not support it.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is some configuration issue. But I am not sure what configuration is required here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Need help&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Created class for custom submit action&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lJISj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lJISj.png&quot; alt=&quot;created class for custom submit action&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Linking custom action with created custom class&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KGYXJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KGYXJ.png&quot; alt=&quot;linking custom action with created custom class&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Error message when tried to add custom submit action&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p2It5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p2It5.png&quot; alt=&quot;Error message when tried to add custom submit action&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5009" LastEditorUserId="342" LastEditDate="2019-02-12T14:04:15.420" LastActivityDate="2019-02-12T14:04:15.420" Title="WFFM Error Message: &quot;This action cannot be added. Your configuration does not support it&quot;" Tags="|wffm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16686" PostTypeId="2" ParentId="16676" CreationDate="2019-02-12T09:57:56.010" Score="1" Body="&lt;p&gt;The interface used in the example was off, the interface for fields should be an object with value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;interface IFields {&#xA;  heading: {&#xA;      value?: string;&#xA;  };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2134" LastActivityDate="2019-02-12T09:57:56.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16688" PostTypeId="1" AcceptedAnswerId="16703" CreationDate="2019-02-12T10:24:03.253" Score="0" ViewCount="366" Body="&lt;p&gt;I have updated a redirection rule for my site,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;main mysitecom redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;&amp;lt;match url=&quot;^$&quot; ignoreCase=&quot;false&quot; /&amp;gt;&#xA;&amp;lt;conditions&amp;gt;&#xA;  &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;^(?:(www|local))?(.mysite\.com)$&quot; /&amp;gt;&#xA;&amp;lt;/conditions&amp;gt;&#xA;&amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/en&quot; appendQueryString=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This rule will redirect the page to default language &quot;en&quot; when user types the url on browser. Sitecore login -&gt; Experience editor through this url is not working. When I try to open any item in experience editor while accessing through the given url in browser, it is redirecting to home page directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I fix this issue ?&lt;/p&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="73" LastEditDate="2019-02-12T10:24:37.353" LastActivityDate="2019-02-12T13:38:22.167" Title="URL redirection breaks Experience Editor" Tags="|experience-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16689" PostTypeId="2" ParentId="16617" CreationDate="2019-02-12T10:31:51.390" Score="0" Body="&lt;p&gt;After replacing my entire config with the default one of my current Sitecore release, I was able to pin-point which specific file was causing the error by gradually replacing it with my own config.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-02-12T10:31:51.390" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16690" PostTypeId="1" AcceptedAnswerId="16700" CreationDate="2019-02-12T10:45:01.773" Score="1" ViewCount="430" Body="&lt;p&gt;We are developing a multi-tenant website using Sitecore 9. For the news articles we decided to bucket them therefore making the content editors unable to go check the children (local content) of a page when added inside the placeholders. &#xA;For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-Home&#xA;--News&#xA;----2019&#xA;------01&#xA;--------12&#xA;----------News Example 1&#xA;------------Slider 1&#xA;------------Header 1&#xA;----------News Example 2&#xA;------------Slider 2&#xA;------------Header 2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As far as I know, the content editor can edit the local content of a news page by: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Searching the item in the parent folder &lt;/li&gt;&#xA;&lt;li&gt;In the Experience Editor, click on edit related content&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For option 1. It can be extremely hard to find the exact item an editor is looking for, so this seems not optimal.&#xA;For option 2. I noticed that some buttons are disabled when using it, such as removing items from a multilist selection, or pressing close (not sure if this is a bug?). Also if there are no standard values, it might be hard to click on the component. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would be the best practices for this and are there any other methods available?&lt;/p&gt;&#xA;" OwnerUserId="4860" LastActivityDate="2019-11-01T07:12:04.363" Title="Best practice for local data source content with bucketed items" Tags="|sitecore-client|experience-editor|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16691" PostTypeId="2" ParentId="16685" CreationDate="2019-02-12T11:05:35.030" Score="3" Body="&lt;p&gt;WFFM is deprecated in Sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also see following note on &lt;a href=&quot;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Web_Forms_For_Marketers.aspx&lt;/a&gt; page's banner&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Note! Web Forms For Marketers was deprecated with the release of Sitecore XP 9.1&quot;&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2019-02-12T11:05:35.030" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16692" PostTypeId="2" ParentId="16690" CreationDate="2019-02-12T11:12:32.343" Score="1" Body="&lt;p&gt;The easiest way to find items in a bucket is by using the Content Editor as follows:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure your sitecore_master_index is up to date as it is where the bucketable items will be read from. &lt;/li&gt;&#xA;&lt;li&gt;Click on your bucket folder. You should be on a &quot;Search&quot; tab.&lt;/li&gt;&#xA;&lt;li&gt;Click the search icon. This should now load all items in the bucket.&lt;/li&gt;&#xA;&lt;li&gt;You can filter by item name as well as any other field on the item. &lt;/li&gt;&#xA;&lt;li&gt;To edit the item, simply click on one of the results. This will take you to the item which you can then edit in either the Content Editor or the Experience Editor.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Sitecore also has a great feature for saving frequently used filters. Please see &lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/save-a-search-query-for-an-item-bucket.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; for documentation on this as well as some more info on what I've described above.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-12T11:12:32.343" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16693" PostTypeId="2" ParentId="16685" CreationDate="2019-02-12T11:17:47.477" Score="1" Body="&lt;p&gt;WFFM is not supported in Sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This excerpt is taken from the &lt;a href=&quot;https://dev.sitecore.net/~/media/E78AB08CE53F4C27B668A6D49791C9D3.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;9.1 Upgrade guide&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Web Forms for Marketers&lt;/strong&gt;&lt;br&gt;&#xA;  SitecoreXP 9.1.0 does not support the Web&#xA;  Forms for Marketers module. If you are using the Web Forms for&#xA;  Marketers module, you must disable it before you upgrade to Sitecore&#xA;  XP 9.1.0.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-12T11:17:47.477" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16695" PostTypeId="1" AcceptedAnswerId="16709" CreationDate="2019-02-12T11:37:27.713" Score="2" ViewCount="157" Body="&lt;p&gt;I found the Data Exchange Framework Tenant Service useful for me on a project and started to research it as it is pretty new tool. But I faced an issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have installed all Tenant Service packages according a documentation. But when I try to request the tenant service via &lt;code&gt;{hostname}/api/tenant&lt;/code&gt; URL, I will get the &lt;code&gt;The requested document was not found&lt;/code&gt; error (originally a list of available endpoints is expected).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some investigation, I haven't found a registration of the route. Probably I missed something&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody know where &lt;code&gt;/api/tenant&lt;/code&gt; route is defined or why I get the error?&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="73" LastEditDate="2019-02-12T12:24:17.040" LastActivityDate="2019-02-12T14:34:59.480" Title="Data Exchange Framework Tenant Service: The requested document was not found" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="16696" PostTypeId="5" CreationDate="2019-02-12T11:39:16.370" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-02-12T11:39:16.370" LastActivityDate="2019-02-12T11:39:16.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16697" PostTypeId="4" CreationDate="2019-02-12T11:39:16.370" Score="0" Body="Sitecore Data Exchange Framework Tenant Service provides the ability to trigger synchronization process via web based push notifications." OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2019-02-12T14:19:17.430" LastActivityDate="2019-02-12T14:19:17.430" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16698" PostTypeId="1" CreationDate="2019-02-12T11:49:02.223" Score="3" ViewCount="91" Body="&lt;p&gt;&lt;strong&gt;Scenario:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.NET 8.1 (rev. 151207 Hotfix 114141-2)&lt;/li&gt;&#xA;&lt;li&gt;two Sitecore users (non-admin)&lt;/li&gt;&#xA;&lt;li&gt;both accounts with almost same permission roles&lt;/li&gt;&#xA;&lt;li&gt;publishing from the same root item path:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;smart publish &lt;code&gt;true&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;subitems &lt;code&gt;true&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;related items &lt;code&gt;false&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;languages: all available&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue oberservation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) When user &quot;A&quot; publishes a certain item including subitems the result is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Items created: 0&#xA;Items deleted: 0&#xA;Items updated: 39&#xA;Items skipped: 48 &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) When user &quot;B&quot; publishes the same item including subitems, the result is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Items created: 0&#xA;Items deleted: 0&#xA;Items updated: 32&#xA;Items skipped: 29&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For each user the number of items affected due to the publish are identical to the web-delivery 1 and web-delivery 2 (Web-databases).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Expected behaviour&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For both users, when publishing from the same root item with same publishing settings, the number of updated &amp;amp; skipped items should be identical.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Does anybody know what could be the cause of this&lt;/strong&gt;, or how to investigate where there might be a difference causing such an effect?&lt;/p&gt;&#xA;" OwnerUserId="1083" LastEditorUserId="2056" LastEditDate="2019-02-12T13:17:12.087" LastActivityDate="2019-02-12T13:17:12.087" Title="A Sitecore user sees significantly more items having been updated on publish than another user with same permissions" Tags="|publishing|editor-user-permissions|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16699" PostTypeId="2" ParentId="16640" CreationDate="2019-02-12T12:01:12.807" Score="4" Body="&lt;p&gt;Rendering contents resolvers are not supported in the disconnected mock Layout Service used by the JSS sample apps. Rendering contents resolvers are server-based aspects of Layout Service and therefore you need to create them with C#/.NET. In order to use rendering contents resolvers in disconnected mode, you would essentially need to duplicate your effort and create the resolver(s) for both JavaScript and .NET. On top of that, there's no way to &quot;translate&quot; a disconnected resolver that is built with JavaScript into a .NET-based resolver that would be executed by Sitecore Layout Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of that said, if you want to declare which rendering contents resolver a rendering should be using and have that value materialized during import, you would need to customize the import process to set the &lt;code&gt;Rendering Contents Resolver field&lt;/code&gt;. You can start by attaching arbitrary data to your rendering definition objects in the JSS manifest like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  manifest.addComponent({&#xA;    name: 'ContentBlock',&#xA;    displayName: 'Content Block',    &#xA;    fields: [&#xA;      { name: 'heading', type: CommonFieldTypes.SingleLineText },&#xA;      { name: 'content', type: CommonFieldTypes.RichText },&#xA;    ],&#xA;    testProp: '{GUID-OF-MY-CUSTOM-RENDERING-CONTENTS-RESOLVER-ITEM}',&#xA;  });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And when the manifest is created, the arbitrary data will be added as a property to both the datasource template definition and the rendering definition, e.g.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sitecore-import.json&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  // other data&#xA;&#xA;  &quot;renderings&quot;: [&#xA;    {&#xA;      &quot;name&quot;: &quot;ContentBlock&quot;,&#xA;      &quot;displayName&quot;: &quot;Content Block&quot;,&#xA;      &quot;testProp&quot;: &quot;{GUID-OF-MY-CUSTOM-RENDERING-CONTENTS-RESOLVER-ITEM}&quot;,&#xA;      &quot;exposedPlaceholders&quot;: [],&#xA;      &quot;dataSourceTemplate&quot;: &quot;ContentBlock&quot;&#xA;    },    &#xA;&#xA;  // other data&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In order to actually use that arbitrary data, you'll need to extend the JSS import process. When the manifest data are deserialized in the import process, any &quot;extra&quot; data properties on manifest objects are exposed as a dictionary property named &lt;code&gt;AdditionalData&lt;/code&gt; on the deserialized import models.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For renderings specifically, you can find this property declaration in &lt;code&gt;Sitecore.JavaScriptServices.AppServices.Models.RenderingDef&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To edit/update the value of the Rendering Contents Resolver field in a rendering definition item using data from the &lt;code&gt;AdditionalData&lt;/code&gt; prop, you would want to extend the&#xA; &lt;code&gt;Sitecore.JavaScriptServices.AppServices.Pipelines.Import.ProcessRenderings&lt;/code&gt; processor found in the &lt;code&gt;import&lt;/code&gt; pipeline declared in&#xA; &lt;code&gt;App_Config/Sitecore/JavaScriptServices/Sitecore.JavaScriptServices.AppServices.config&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The config node is: &lt;code&gt;/configuration/sitecore/pipelines/group[@groupName='javaScriptServices']/pipelines/import&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically, you'll probably want to sub-type the &lt;code&gt;ProcessRenderings&lt;/code&gt; class with something like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomProcessRenderings : ProcessRenderings&#xA;{&#xA;  protected override Item CreateRendering(RenderingDef renderingDef, ImportPipelineArgs args, IdManager idManager, AppConfiguration app, IDatasourceStrategy datasourceStrategy = null) {&#xA;    var renderingItem = base.CreateRendering(renderingDef, args, idManager, app, datasourceStrategy);&#xA;&#xA;    if (renderingItem == null) {&#xA;      return null;&#xA;    }&#xA;&#xA;    // Check for the existence of the data you're using to declare the custom rendering contents resolver. We're using `testProp` to align with the sample manifest code above.&#xA;    if (renderingDef.AdditionalData == null || !renderingDef.AdditionalData.ContainsKey(&quot;testProp&quot;)) {&#xA;      return renderingItem;&#xA;    }&#xA;&#xA;    renderingItem.Editing.BeginEdit();&#xA;    renderingItem[&quot;Rendering Contents Resolver Field Name or ID&quot;] = renderingDef.AdditionalData[&quot;testProp&quot;];&#xA;    renderingItem.Editing.EndEdit();&#xA;&#xA;    return renderingItem;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;DISCLAIMER: the above code is completely untested, so I wouldn't expect it to work as-is. But it should provide you with a starting point and where to explore customization options. &lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-02-12T12:01:12.807" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16700" PostTypeId="2" ParentId="16690" CreationDate="2019-02-12T12:04:19.797" Score="3" Body="&lt;p&gt;We usually instruct users to enable viewing Bucket items(-trees) in the Content editor. This can be achieved as follows:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &quot;View&quot;-tab in an open Content editor browser, enable the checkbox &quot;Buckets&quot;&#xA;&lt;img src=&quot;https://i.stack.imgur.com/SyVmt.png&quot; alt=&quot;Sitecore Content Editor - User Show Bucket items via View Tab&quot;&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the &quot;Control Panel&quot; under &quot;Application options&quot;, enable the checkbox &quot;Bucket items&quot;&#xA;&lt;img src=&quot;https://i.stack.imgur.com/BTuFH.png&quot; alt=&quot;Sitecore Content Editor - User Show Bucket items via Control Panel&quot;&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Otherwise I would refer to @mark-gibbons recommendation with using the &quot;Search&quot;-tab, but you might want to customize the view for the Bucket search results of the News to be more appealing and understandable to the Content Managers. Here's an example how to achieve something like that: &lt;a href=&quot;https://sitecore.namics.com/2018/06/15/sitecore-9-custom-bucket-views/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.namics.com/2018/06/15/sitecore-9-custom-bucket-views/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1083" LastEditorUserId="1083" LastEditDate="2019-02-12T15:37:03.633" LastActivityDate="2019-02-12T15:37:03.633" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16701" PostTypeId="1" AcceptedAnswerId="16704" CreationDate="2019-02-12T12:28:07.933" Score="6" ViewCount="131" Body="&lt;p&gt;What happens if two contacts are enrolled in the same engagement plan and then get merged? Will the dying contact be removed from the plan? Which state will the surviving contact be in?&lt;/p&gt;&#xA;" OwnerUserId="681" LastEditorUserId="73" LastEditDate="2019-02-12T12:40:23.033" LastActivityDate="2019-02-12T13:23:48.843" Title="What happens to enrolled contacts when they are merged?" Tags="|xconnect|engagement-plans|marketing-automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16703" PostTypeId="2" ParentId="16688" CreationDate="2019-02-12T12:46:31.570" Score="1" Body="&lt;p&gt;This can be achieved by updating the following line to &#xA;&lt;code&gt;&amp;lt;conditions&amp;gt;&lt;/code&gt; in Rewrite rules&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add input=&quot;{HTTP_URL}&quot; pattern=&quot;\?.*sc_mode&quot; negate=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5059" LastActivityDate="2019-02-12T12:46:31.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16704" PostTypeId="2" ParentId="16701" CreationDate="2019-02-12T13:23:48.843" Score="3" Body="&lt;p&gt;Based on Sitecore &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/merge-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; engagement plan enrollments are not merged. Hence you have to implement any required logic yourself. Be it purging the source contact from all plans before merging or enrolling surviving contact into the same plans that the dying contact was part of. Please refer to &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/marketing-automation-operations-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Marketing Automation API&lt;/a&gt; on how to do it.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2019-02-12T13:23:48.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16705" PostTypeId="1" CreationDate="2019-02-12T13:37:39.620" Score="1" ViewCount="94" Body="&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/marketing-automation-operations-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Marketing Automation API&lt;/a&gt; defines how to enroll a contact in a plan, but doesn't mention how to get plans that current (or specified) contact is enrolled in. Is there an API for that?&#xA;Sitecore version 9.1.&lt;/p&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2019-02-12T14:18:49.470" LastActivityDate="2019-02-15T13:16:26.503" Title="How to get engagement plans that current user is enrolled in?" Tags="|xdb|marketing-automation|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16706" PostTypeId="2" ParentId="16688" CreationDate="2019-02-12T13:38:22.167" Score="1" Body="&lt;p&gt;Add condition&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add input=&quot;{QUERY_STRING}&quot; pattern=&quot;^$&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to &lt;code&gt;&amp;lt;conditions&amp;gt;&lt;/code&gt; of your rule:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;main mysitecom redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;^$&quot; ignoreCase=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;      &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;^(?:(www|local))?(.mysite\.com)$&quot; /&amp;gt;&#xA;      &amp;lt;add input=&quot;{QUERY_STRING}&quot; pattern=&quot;^$&quot; /&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/en&quot; appendQueryString=&quot;false&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will make sure your redirect is only executed when url doesn't have query string which is the case for Experience Editor which uses &lt;code&gt;sc_mode&lt;/code&gt; parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You &lt;strong&gt;should not&lt;/strong&gt; exclude &lt;code&gt;sc_mode&lt;/code&gt; parameter only, as there may be other meaningful query strings which you don't want redirect (e.g. &lt;code&gt;sc_camp&lt;/code&gt; for campaign id which will never be triggered if you check &lt;code&gt;sc_mode&lt;/code&gt; parameter only).&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-12T13:38:22.167" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16707" PostTypeId="2" ParentId="16705" CreationDate="2019-02-12T13:42:41.437" Score="1" Body="&lt;p&gt;In older Sitecore versions this code used to work:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;AutomationStateManager manager = Tracker.Current.Session.CreateAutomationStateManager();&#xA;var plans = manager.GetAutomationStates().Select(s =&amp;gt; s.PlanItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if it still work in the latest but it should be a good place to start.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-12T13:42:41.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16708" PostTypeId="1" AcceptedAnswerId="16713" CreationDate="2019-02-12T13:55:08.363" Score="3" ViewCount="1500" Body="&lt;p&gt;When setting up my first Sitecore Form I'm running into some errors while posting the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the log files I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;8700 14:39:03 ERROR Application error.&#xA;Exception: System.ArgumentNullException&#xA;Message: Null ids are not allowed.&#xA;Parameter name: buttonId&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)&#xA;   at Sitecore.ExperienceForms.Processing.FormSubmitContext..ctor(String buttonId)&#xA;   at Sitecore.ExperienceForms.Mvc.Controllers.FormBuilderController.Index(FormDataModel data)&#xA;   at lambda_method(Closure , ControllerBase , Object[] )&#xA;   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;BeginInvokeSynchronousActionMethod&amp;gt;b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3d()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&amp;lt;&amp;gt;c__DisplayClass46.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__3f()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;&amp;gt;c__DisplayClass2b.&amp;lt;BeginInvokeAction&amp;gt;b__1c()&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.&amp;lt;BeginExecuteCore&amp;gt;b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As Google was my first go-to I ended up at &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/9790&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/9790&lt;/a&gt; describing the exact same issue, but no solution. I also see 2 form posts, the first returning a 200 status and the second a 500 error on the &lt;code&gt;Null ids are not allowed&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the help of DotPeek I ended up in &lt;code&gt;Sitecore.ExperienceForms.Mvc.Controllers.ModelBinders.NavigationDataModelBinder.BindModel()&lt;/code&gt;. When adding a break point on that method it seems that the first post back does hit the line &lt;code&gt;navigationData.ButtonId = navigationButton;&lt;/code&gt;, but the second post back doesn't reach that line. Because of the code optimizations it's hard to do some actual debugging in that class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Questions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does anyone know why the post back happens twice? (just curious)&lt;/li&gt;&#xA;&lt;li&gt;Any suggestions for a solution?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2420" LastActivityDate="2019-02-22T11:13:34.493" Title="Sitecore Forms &quot;Null ids are not allowed&quot;" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16709" PostTypeId="2" ParentId="16695" CreationDate="2019-02-12T14:34:59.480" Score="1" Body="&lt;p&gt;Tenant Service is web service and should be installed separately of Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tenant Service communicates with Sitecore via connection string:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;sitecore&quot; connectionString=&quot;database=master;tenant id=[tenant id];host=[sitecore host];password=[sitecore password];user name=[sitecore user name];timeout=20&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore requires DEF and Tenant Service provider being installed. Tenant Service provider for DEF extends DEF to communicate with Web Tenant Service. &lt;/p&gt;&#xA;" OwnerUserId="843" LastActivityDate="2019-02-12T14:34:59.480" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16710" PostTypeId="2" ParentId="16677" CreationDate="2019-02-12T14:39:31.010" Score="3" Body="&lt;p&gt;Finally found the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you decide to change manually the &lt;strong&gt;XConnect Certificate Thumbprint&lt;/strong&gt;, make sure you know all the places you must change before taking for granted that the job is done.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;.sc\App_Config\ConnectionStrings.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;.xconnect\App_Config\AppSettings.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;.xconnect\App_Data\jobs\continuous\AutomationEngine\App_Config\ConnectionStrings.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;.xconnect\App_Data\jobs\continuous\ProcessingEngine\App_Config\ConnectionStrings.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As bonus track, this is the only the place you must change when replacing the &lt;strong&gt;Identity Server Certificate Thumbprint&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;.identityserver\Config\production\Sitecore.IdentityServer.Host.xml&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And don't forget to update these certificates on your IIS websites as well.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-12T14:39:31.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16711" PostTypeId="1" AcceptedAnswerId="16746" CreationDate="2019-02-12T14:44:44.530" Score="0" ViewCount="70" Body="&lt;p&gt;Sitecore 8.2, EXM 3.4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My client would like to send an automated e-mail, triggered by submitting an WFFM form.&#xA;This is possible out of the box, however, my client would like the recipient of the triggered e-mail, to be based on a selected country from a field in the WFFM form.&#xA;Furthermore, it should be possible to add custom tokens, targeting the submitted fields from the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought this could easily be accomplished by creating a custom save action that first locates the recipient based on the country, and then triggers the automated e-mail in EXM, while setting the &quot;To&quot; and adds the custom tokens myself, using a Dictionary of sorts.&#xA;But it seems like the EXM API only accepts a contact Id if i am not mistaken, when trying to send an e-mail using their Sitecore.Modules.EmailCampaign.ClientApi.SendStandardMessage() method.&#xA;How would you recommend approaching this?&#xA;We would like to take advantage of the customization/personalization/statistics of EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4603" LastActivityDate="2019-02-13T14:53:46.070" Title="Idea to send EXM message from WFFM form with custom tokens and recipient based on country" Tags="|wffm|exm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16713" PostTypeId="2" ParentId="16708" CreationDate="2019-02-12T15:28:29.573" Score="1" Body="&lt;p&gt;Through the Sitecore community Slack I got a tip to check the custom JS, to see if it triggered the double submit. It turned out that jQuery was included on the page twice. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For me the issue was resolved by removing the jQuery scripts from the scripts field of the Form Item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SSDDR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SSDDR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: In the end we only removed jquery-2.1.3.min.js from the form item and that worked for us. So not like the screenshot remove all the jquery scripts.&lt;/p&gt;&#xA;" OwnerUserId="2420" LastEditorUserId="2420" LastEditDate="2019-02-22T11:13:34.493" LastActivityDate="2019-02-22T11:13:34.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16714" PostTypeId="1" AcceptedAnswerId="17435" CreationDate="2019-02-12T16:25:59.547" Score="1" ViewCount="825" Body="&lt;p&gt;When I try to use the experience editor I get an error that causes the loading sign to just keep spinning and it also prevents the Ribbon menu at the top from displaying.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mQJN9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mQJN9.png&quot; alt=&quot;Javascript error sitecore experience editor&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Heres where the error is occuring in the &quot;LargeDropDownButton.js&quot; file&#xA;&lt;a href=&quot;https://i.stack.imgur.com/q4Yp4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q4Yp4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5031" LastActivityDate="2019-03-14T11:48:14.847" Title="Experience Editor Error - ExperienceEditor.getPageEditingWindow is not a function" Tags="|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16715" PostTypeId="2" ParentId="16665" CreationDate="2019-02-12T17:02:21.237" Score="1" Body="&lt;p&gt;Based on your screenshot, it seems that you want to identify and report on &quot;Internal search keywords&quot; by language?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had the same challenge for a client and the solution we came up with is, that we are writing the search queries to xDB by always using the visitor's currently displayed culture as a prefix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&#xA;instead of &lt;code&gt;riz&lt;/code&gt; you would have &lt;code&gt;en-us;riz&lt;/code&gt; etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This allows, if you are able to export data from xDB for internal search (for example using the &lt;a href=&quot;https://github.com/Sitecore/experience-extractor&quot; rel=&quot;nofollow noreferrer&quot;&gt;Experience Extractor&lt;/a&gt; module) you could parse them as CSV in Excel and thus report internal search keywords by language/culture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example how this could look in Experience Analytics in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qFVhO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qFVhO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We came to this solution once we realised, that Sitecore xDB facets for internal search keywords doesn't allow adding more facets such as language/culture for an additional dimension. Thus I also think you will hit a limit for customizing the Experience Analytics interface in this regards, but in case you come up with such a UI based solution, I'd be also very interested in knowing :)&lt;/p&gt;&#xA;" OwnerUserId="1083" LastActivityDate="2019-02-12T17:02:21.237" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16716" PostTypeId="1" CreationDate="2019-02-12T17:18:47.190" Score="1" ViewCount="399" Body="&lt;p&gt;I have a Sitecore media item in my media library that contains a zip file. In the content editor, when I navigate to this item, it starts the download of the zip media asset. Also, the usual zip icon that appears in the Media field isn't displaying. Does anyone have any idea how this happens or what the fix is? I've checked all the configs and they are vanilla. Also, I'm on Sitecore.NET 8.2 (rev. 180406).&lt;/p&gt;&#xA;" OwnerUserId="1638" LastActivityDate="2019-07-12T22:00:50.097" Title="Sitecore Zip File Media Item Auto Downloads in Content Editor" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16717" PostTypeId="2" ParentId="16716" CreationDate="2019-02-12T17:29:12.627" Score="1" Body="&lt;ol&gt;&#xA;&lt;li&gt;Check that you have 2 ZIP media file type item templates in Sitecore:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/templates/System/Media/Unversioned/Zip&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/templates/System/Media/Versioned/Zip&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Check your Sitecore/Web config registers and associates ZIP files with this template:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaType name=&quot;Zip file&quot; extensions=&quot;zip&quot;&amp;gt;&#xA;    &amp;lt;mimeType&amp;gt;application/x-zip-compressed&amp;lt;/mimeType&amp;gt;&#xA;    &amp;lt;forceDownload&amp;gt;true&amp;lt;/forceDownload&amp;gt;&#xA;    &amp;lt;sharedTemplate&amp;gt;system/media/unversioned/zip&amp;lt;/sharedTemplate&amp;gt;&#xA;    &amp;lt;versionedTemplate&amp;gt;system/media/versioned/zip&amp;lt;/versionedTemplate&amp;gt;&#xA;    &amp;lt;metaDataFormatter type=&quot;Sitecore.Resources.Media.ZipMetaDataFormatter&quot;/&amp;gt;&#xA;    &amp;lt;prototypes&amp;gt;&#xA;        &amp;lt;media type=&quot;Sitecore.Resources.Media.ZipMedia, Sitecore.Kernel&quot;/&amp;gt;&#xA;    &amp;lt;/prototypes&amp;gt;&#xA;&amp;lt;/mediaType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Check the MIME-Types config &lt;code&gt;mimetypes.config&lt;/code&gt; to prevent any conflicts for ZIP-files&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1083" LastEditorUserId="342" LastEditDate="2019-02-12T19:02:48.233" LastActivityDate="2019-02-12T19:02:48.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16718" PostTypeId="1" AcceptedAnswerId="16966" CreationDate="2019-02-12T18:03:57.897" Score="0" ViewCount="665" Body="&lt;p&gt;I'm trying to use &lt;strong&gt;SIF 2.0 to uninstall&lt;/strong&gt; a no longer used Sitecore 9.1 instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This method used to work perfectly with previous versions and I know that for sure since I'm quite a hard user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know exactly if that's something with SIF 2.0 or something with my given instance. It's a &lt;strong&gt;vanilla Sitecore 9.1 + SPE 5.0 + SXA 1.8&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[------------------------------------------------------------------------- SitecoreXP0_RemoveHostHeader : HostHeader ------------------------------------&#xA;[SitecoreXP0_RemoveHostHeader]:[Backup] Created - C:\Windows\system32\drivers\etc\hosts.backup&#xA;Removing host entry for 127.0.0.1 with hostname 'Sitecore91.SXA.sc'...&#xA;Uninstall-SitecoreConfiguration : Stream was not readable.&#xA;At C:\Sitecore\Install Packages\9.1\XP0\XP0-SingleDeveloper.ps1:77 char:1&#xA;+ Uninstall-SitecoreConfiguration @singleDeveloperParams *&amp;gt;&amp;amp;1 | Tee-Obj ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:07&#xA;Set-Content : Stream was not readable.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Tasks\Invoke-HostHeaderTask.ps1:57 char:4&#xA;+             Set-Content -Path $hostsFile -Value $updatedHostsContent  ...&#xA;+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidArgument: (C:\Windows\system32\drivers\etc\hosts:String) [Set-Content], ArgumentException&#xA;    + FullyQualifiedErrorId : GetContentWriterArgumentError,Microsoft.PowerShell.Commands.SetContentCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-04-09T08:04:08.413" Title="Error while running Uninstall-SitecoreConfiguration SIF method" Tags="|sitecore-install-framework|installation|powershell|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16719" PostTypeId="1" AcceptedAnswerId="16968" CreationDate="2019-02-12T19:21:33.247" Score="0" ViewCount="68" Body="&lt;p&gt;We installed xConnect, Marketing Automation and Reference Data instances in a scaled Sitecore 9.0.1 environment. While accessing the URLs it is asking for the credentials cause the corresponding IIS instances are installed with windows authentication OOTB.&lt;/p&gt;&#xA;" OwnerUserId="2890" LastActivityDate="2019-02-22T12:34:51.397" Title="xConnect Instances need to be Anonymous or Windows authentication?" Tags="|xconnect|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16720" PostTypeId="1" AcceptedAnswerId="19136" CreationDate="2019-02-12T19:24:34.223" Score="0" ViewCount="48" Body="&lt;p&gt;I already have &lt;code&gt;Active Directory&lt;/code&gt; authentication installed and working with Sitecore. I'm trying to set up a website that is available both publicly and privately. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The private version uses &lt;code&gt;Active Directory&lt;/code&gt; and would have a seamless authentication like &lt;code&gt;NTFS/Windows Auth&lt;/code&gt;, but publicly the website would be required to login via a form with their &lt;code&gt;AD&lt;/code&gt; credentials. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the website would require the user be logged in, while other parts are wide open to the public. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's the best strategy to accomplish this in Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="4239" LastEditorUserId="5096" LastEditDate="2019-06-04T02:15:23.800" LastActivityDate="2019-06-04T02:15:23.800" Title="Sitecore Dual Public/Private Active Directory Authentication" Tags="|authentication|solution-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16721" PostTypeId="1" CreationDate="2019-02-12T19:29:29.027" Score="3" ViewCount="546" Body="&lt;p&gt;Can someone please suggest that in a scaled Sitecore 9 environment for some reason if the Roles other than CM and CD are down, how the Websites will be impacted? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the xConnect, Marketing Automation, xDb Reference Data Roles are down, will the CM and CD roles will be down as well or we have any configuration to avoid such dependency?&lt;/p&gt;&#xA;" OwnerUserId="2890" LastEditorUserId="2890" LastEditDate="2019-02-13T19:21:04.117" LastActivityDate="2019-07-22T21:01:08.167" Title="What if the xConnect instances are down?" Tags="|xconnect|sitecore-install-framework|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16722" PostTypeId="1" CreationDate="2019-02-12T21:28:53.300" Score="2" ViewCount="167" Body="&lt;p&gt;I'm attempting to item boosting working with Solr and I can't for the life of me get it to work. I'm certain that I've had it working in the past for other projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem looks to be on the Solr configuration side. I'm using the &lt;code&gt;indexing.resolveItemBoost&lt;/code&gt; pipeline to return a value, which is working. I can also verify that the boost is getting correctly serialized into the document to be sent to Solr by debugging in &lt;code&gt;Sitecore.ContentSearch.SolrProvider.DocumentSerializers.SolrFieldBoostingDictionarySerializer.Serialize&lt;/code&gt;. So I'm pretty certain that the value is getting to Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Despite that, I'm not getting boosting happening. If I do a query, I'm not seeing the boost applied. I can also look deeper into the Solr query that it's running and call something like this: &lt;code&gt;http://localhost:8987/solr/site_search_web_index/select?wt=json&amp;amp;indent=true&amp;amp;q=_group:968d4570f0a64539b2657aacbed0dc65+OR+_group:cb855c58d0ca4fccbe64c98a3a7d922e&amp;amp;debugQuery=on&lt;/code&gt;. I see in the debug information the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &quot;sitecore://web/{968d4570-f0a6-4539-b265-7aacbed0dc65}?lang=en&amp;amp;ver=1&amp;amp;ndx=site_search_web&quot;:&quot;\n3.693737 = product of:\n  7.387474 = sum of:\n    7.387474 = weight(_group:968d4570f0a64539b2657aacbed0dc65 in 18783) [ClassicSimilarity], result of:\n      7.387474 = score(doc=18783,freq=1.0), product of:\n        0.70710677 = queryWeight, product of:\n          10.447466 = idf(docFreq=1, maxDocs=25352)\n          0.06768213 = queryNorm\n        10.447466 = fieldWeight in 18783, product of:\n          1.0 = tf(freq=1.0), with freq of:\n            1.0 = termFreq=1.0\n          10.447466 = idf(docFreq=1, maxDocs=25352)\n          1.0 = fieldNorm(doc=18783)\n  0.5 = coord(1/2)\n&quot;,&#xA;  &quot;sitecore://web/{cb855c58-d0ca-4fcc-be64-c98a3a7d922e}?lang=en&amp;amp;ver=1&amp;amp;ndx=site_search_web&quot;:&quot;\n3.693737 = product of:\n  7.387474 = sum of:\n    7.387474 = weight(_group:cb855c58d0ca4fccbe64c98a3a7d922e in 18789) [ClassicSimilarity], result of:\n      7.387474 = score(doc=18789,freq=1.0), product of:\n        0.70710677 = queryWeight, product of:\n          10.447466 = idf(docFreq=1, maxDocs=25352)\n          0.06768213 = queryNorm\n        10.447466 = fieldWeight in 18789, product of:\n          1.0 = tf(freq=1.0), with freq of:\n            1.0 = termFreq=1.0\n          10.447466 = idf(docFreq=1, maxDocs=25352)\n          1.0 = fieldNorm(doc=18789)\n  0.5 = coord(1/2)\n&quot;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That indicates to me that two documents are matching and are resolving to the exact same score, and it doesn't look like the boost is coming into play.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I feel like I must be missing something in the Solr configuration, but I'm not sure what it could be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're using the following versions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.1 Update-2&lt;/li&gt;&#xA;&lt;li&gt;Solr 4.10, but also tried 5.5.1&lt;/li&gt;&#xA;&lt;li&gt;Solr Schema version 1.6, but also tried 1.4&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2019-02-12T21:28:53.300" Title="Solr Document Boosting" Tags="|content-search|solr|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16723" PostTypeId="2" ParentId="16314" CreationDate="2019-02-12T21:42:24.200" Score="0" Body="&lt;p&gt;This was occurring due to a login input box in the header of the page. &#xA;The JS on the page was loading in an unexpected order and was causing the enter key (id - 13) to attempt a submit on the login box instead of the webform.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was resolved by removing the login drop-down from the header of this specific page. &lt;/p&gt;&#xA;" OwnerUserId="4974" LastActivityDate="2019-02-12T21:42:24.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16724" PostTypeId="2" ParentId="15579" CreationDate="2019-02-12T22:12:00.027" Score="1" Body="&lt;p&gt;Your app might be initiating the recycle due to a &lt;a href=&quot;https://blogs.msdn.microsoft.com/appserviceteam/2018/09/10/announcing-the-new-auto-healing-experience-in-app-service-diagnostics/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Proactive Auto Heal&lt;/a&gt;. Usually this means that memory is getting dangerously high or it has detected a memory leak that will cause OutOfMemoryExceptions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This feature can be disabled, however I recommend you leave it enabled and try fix the root cause of the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found that scaling up the hosting plan to one with more memory and cores also helps, but again it's only a band-aid fix. &lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-12T22:12:00.027" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16725" PostTypeId="1" CreationDate="2019-02-12T23:15:41.827" Score="1" ViewCount="271" Body="&lt;p&gt;We have this custom index that only contains pages for one section of the content tree. We want it setup so that publishing items under this path reindexes those items automatically. This seems like it should be default behavior but it is not working - we publish the items and no reindex happens. We can tell because old content is still shown on the site for these items, and the correct content is shown after rebuilding the entire custom index.&lt;/p&gt;&#xA;&lt;p&gt;Our configuration is currently as follows:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&amp;quot;redacted_centers&amp;quot; type=&amp;quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider&amp;quot; patch:source=&amp;quot;Sitecore.ContentSearch.Lucene.Index.Web.config&amp;quot;&amp;gt;&#xA;&amp;lt;param desc=&amp;quot;name&amp;quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&amp;lt;param desc=&amp;quot;folder&amp;quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;&amp;lt;!--&#xA; This initializes index property store. Id has to be set to the index id &#xA;--&amp;gt;&#xA;&amp;lt;param ref=&amp;quot;contentSearch/indexConfigurations/databasePropertyStore&amp;quot; desc=&amp;quot;propertyStore&amp;quot; param1=&amp;quot;$(id)&amp;quot;/&amp;gt;&#xA;&amp;lt;configuration ref=&amp;quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration&amp;quot;/&amp;gt;&#xA;&amp;lt;strategies hint=&amp;quot;list:AddStrategy&amp;quot;&amp;gt;&#xA;&amp;lt;!--&#xA; NOTE: order of these is controls the execution order &#xA;--&amp;gt;&#xA;&amp;lt;strategy ref=&amp;quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&amp;quot;/&amp;gt;&#xA;&amp;lt;/strategies&amp;gt;&#xA;&amp;lt;commitPolicyExecutor type=&amp;quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;&amp;lt;policies hint=&amp;quot;list:AddCommitPolicy&amp;quot;&amp;gt;&#xA;&amp;lt;policy type=&amp;quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;&amp;lt;Limit&amp;gt;300&amp;lt;/Limit&amp;gt;&#xA;&amp;lt;/policy&amp;gt;&#xA;&amp;lt;/policies&amp;gt;&#xA;&amp;lt;/commitPolicyExecutor&amp;gt;&#xA;&amp;lt;locations hint=&amp;quot;list:AddCrawler&amp;quot;&amp;gt;&#xA;&amp;lt;crawler type=&amp;quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;&amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;&amp;lt;Root&amp;gt;/sitecore/content/centers&amp;lt;/Root&amp;gt;&#xA;&amp;lt;/crawler&amp;gt;&#xA;&amp;lt;/locations&amp;gt;&#xA;&amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;&amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;What configuration would be needed to make items get reindexed when they are published?&lt;/p&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="1344" LastEditDate="2021-04-01T20:10:19.100" LastActivityDate="2021-04-01T20:10:19.100" Title="Custom index, stategy to publish items under a certain path" Tags="|publishing|indexing|" AnswerCount="0" CommentCount="12" ContentLicense="CC BY-SA 4.0" />
  <row Id="16726" PostTypeId="1" AcceptedAnswerId="16781" CreationDate="2019-02-12T23:52:19.297" Score="8" ViewCount="1773" Body="&lt;p&gt;I would like to refresh a Sitecore item after editing it programmatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario: An Action of a workflow opens a dialog, does some operation and on clicking the OK button I want to refresh the Item on the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried the following approaches but they didn't work.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string load = string.Concat(&quot;item:load(id=&quot;, workflowItem.ID, &quot;,language=&quot;, workflowItem.Language, &quot;,version=&quot;, workflowItem.Version, &quot;)&quot;);&#xA;Context.ClientPage.SendMessage(this, load);&#xA;&#xA;string refresh = $&quot;item:refreshchildren(id={workflowItem.ID})&quot;;&#xA;Context.ClientPage.ClientResponse.Timer(refresh, 12);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your help is highly appreceiated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code Used for Custom Action:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ShowAuthenticationDialog&#xA;{&#xA;    public void Process(WorkflowPipelineArgs args)&#xA;    {&#xA;        CreateContext(args);&#xA;    }&#xA;&#xA;    private void CreateContext(WorkflowPipelineArgs args)&#xA;    {&#xA;        string controlUri = UIUtil.GetUri(&quot;control:AuthenticationDialog&quot;);&#xA;        Item item = args.DataItem;&#xA;        string nextStateId =  args.CommandItem.Fields[&quot;Authentication Next State&quot;]?.GetValue(true);&#xA;&#xA;        UrlString controlUrlString = new UrlString($&quot;{controlUri}&amp;amp;ItemId={item.ID}&amp;amp;WorkflowNextStateId={nextStateId}&quot;);&#xA;&#xA;        SheerResponse.ShowModalDialog(controlUrlString.ToString());&#xA;&#xA;        string load = $&quot;item:load(id={item.ID},language={item.Language},version={item.Version})&quot;;&#xA;        Context.ClientPage.SendMessage(this, load);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code for the OnOk method&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    protected override void OnOK(object sender, EventArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(sender, &quot;sender&quot;);&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;&#xA;        string itemId = WebUtil.GetQueryString(&quot;ItemId&quot;);&#xA;        Database database = Factory.GetDatabase(&quot;master&quot;);&#xA;        Item workflowItem = database.GetItem(itemId);&#xA;&#xA;        //TODO: Pass credentials to authentication service&#xA;        if (true)&#xA;        {&#xA;            string newStateId = WebUtil.GetQueryString(&quot;WorkflowNextStateId&quot;);&#xA;            string newState = database.GetItem(newStateId)?.DisplayName;&#xA;&#xA;            if (!string.IsNullOrWhiteSpace(newState))&#xA;            {&#xA;                ChangeWorkflowState(workflowItem, newState);&#xA;&#xA;                string load = $&quot;item:load(id={workflowItem.ID},language={workflowItem.Language},version={workflowItem.Version})&quot;;&#xA;                Context.ClientPage.SendMessage(this, load);&#xA;&#xA;                string refresh = $&quot;item:refreshchildren(id={workflowItem.ID})&quot;;&#xA;                Context.ClientPage.ClientResponse.Timer(refresh, 12);&#xA;&#xA;                //TODO: Add History&#xA;            }&#xA;        }&#xA;&#xA;        base.OnOK(sender, args);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5033" LastEditorUserId="1000" LastEditDate="2019-02-13T00:56:20.937" LastActivityDate="2019-02-14T16:26:15.270" Title="How to programmatically refresh a Sitecore item on Content Editor upon editing it" Tags="|content-editor|workflow|solution-architecture|sheer-ui|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16730" PostTypeId="1" CreationDate="2019-02-13T06:37:24.220" Score="-1" ViewCount="297" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fT9CH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fT9CH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jNcM5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jNcM5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vo4Jj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vo4Jj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This action is not call in the browser!&#xA;How to call this Controllers or Action?&lt;/p&gt;&#xA;" OwnerUserId="5062" LastActivityDate="2019-04-10T22:02:15.473" Title="How to call this Controllers or Action?" Tags="|sxa|sitecore-commerce|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16731" PostTypeId="1" AcceptedAnswerId="16732" CreationDate="2019-02-13T06:46:01.980" Score="1" ViewCount="232" Body="&lt;p&gt;We are using Sitecore 8.2 update 3 on Azure Iaas. When we trigger Indexing from Control Panel(obviously from CM server), we see the indexing jobs in the logs of  CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does this mean that the indexing jobs are running in CD server ? Why does it get logged in CD server when the job is triggered from CM server? Is this correct behaviour of sitecore indexing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any other Jobs which are running in CD for indexing ?&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2019-02-13T07:21:38.740" Title="Sitecore Azure indexing logs in CD server when Indexing is triggered from CM server" Tags="|indexing|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16732" PostTypeId="2" ParentId="16731" CreationDate="2019-02-13T07:11:37.933" Score="0" Body="&lt;p&gt;You are experiencing the default behaviour of Sitecore indexing configuration. It made sense to have it like this for Lucene, but for Solr and Azure search it is not only unnecessary it is actually harmful and will cause indexing issues. I'd recommend patching your config similar to below. I've included default Sitecore 9.0 / 9.1 indexes here but Sitecore 8 is a bit different, and if you have any extra configs you should patch them similarly. Also I've assumed that you have the sitecore config roles module installed if you are on Sitecore 8.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; &amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement or ContentDelivery&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;!-- CD should not update indexes --&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot; patch:instead=&quot;strategies&quot;&amp;gt;&#xA;              &amp;lt;strategy role:require=&quot;Standalone OR ContentManagement&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot;  /&amp;gt;&#xA;              &amp;lt;strategy role:require=&quot;ContentDelivery&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot;/&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_marketing_asset_index_web&quot;&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot; patch:instead=&quot;strategies&quot;&amp;gt;&#xA;              &amp;lt;strategy role:require=&quot;Standalone OR ContentManagement&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsyncSingleInstance&quot;  /&amp;gt;&#xA;              &amp;lt;strategy role:require=&quot;ContentDelivery&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot;/&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_marketingdefinitions_web&quot;&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot; patch:instead=&quot;strategies&quot;&amp;gt;&#xA;              &amp;lt;strategy role:require=&quot;Standalone OR ContentManagement&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsyncSingleInstance&quot;  /&amp;gt;&#xA;              &amp;lt;strategy role:require=&quot;ContentDelivery&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot;/&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;          &amp;lt;index id=&quot;sitecore_fxm_web_index&quot;&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot; patch:instead=&quot;strategies&quot;&amp;gt;&#xA;              &amp;lt;strategy role:require=&quot;Standalone OR ContentManagement&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsyncSingleInstance&quot;  /&amp;gt;&#xA;              &amp;lt;strategy role:require=&quot;ContentDelivery&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot;/&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-02-13T07:21:38.740" LastActivityDate="2019-02-13T07:21:38.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16734" PostTypeId="1" CreationDate="2019-02-13T08:54:25.727" Score="1" ViewCount="4491" Body="&lt;p&gt;I am trying to preview a page from Sitecore Rock, from VS but I get this error. I have a Layouts, and I have putted that layouts in _Standard Values of that page. I don't know where is the problem now with this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error Rendering View: /Views/TAC/Events/Layouts/Events.cshtml: Error while rendering view: '/Views/TAC/Events/Layouts/Events.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/F4RiO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F4RiO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4945" LastEditorUserId="4945" LastEditDate="2019-07-23T14:53:05.603" LastActivityDate="2019-11-27T11:54:38.260" Title="Error Rendering View" Tags="|mvc|training-certification|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16736" PostTypeId="1" AcceptedAnswerId="16742" CreationDate="2019-02-13T10:27:00.193" Score="1" ViewCount="599" Body="&lt;p&gt;How to get app name for jss dictionary, for request /sitecore/api/jss/dictionary///. Neither throws 404 error if not using sc_apikey or Unknown app name?&lt;/p&gt;&#xA;" OwnerUserId="4979" LastActivityDate="2019-02-13T12:22:11.680" Title="How to get app name for jss dictionary" Tags="|jss|dictionary|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16737" PostTypeId="2" ParentId="16726" CreationDate="2019-02-13T10:56:35.840" Score="0" Body="&lt;p&gt;Try to add a &lt;code&gt;Context.ClientPage.ClientResponse.Alert(&quot;test this should work&quot;);&lt;/code&gt;in your OnOk Methode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is not working you call it the wrong way.&#xA;Put a &lt;code&gt;Context.ClientPage.Start((object)this, &quot;Run&quot;, args.Parameters);&lt;/code&gt;in your OnOK methode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And somethings like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected new void Run(ClientPipelineArgs args) {&#xA;    Log.Info(&quot;Run method is called&quot;);&#xA;&#xA;    some code to check and get the workflowItem&#xA;&#xA;    Context.ClientPage.ClientResponse.Alert(&quot;Hello, just for testing&quot;);&#xA;&#xA;    string load = $&quot;item:load(id={workflowItem.ID},language={workflowItem.Language},version={workflowItem.Version})&quot;;&#xA;    Context.ClientPage.SendMessage(this, load);&#xA;&#xA;    string refresh = $&quot;item:refreshchildren(id={workflowItem.ID})&quot;;&#xA;    Context.ClientPage.ClientResponse.Timer(refresh, 2);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-02-13T10:56:35.840" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16738" PostTypeId="1" AcceptedAnswerId="16744" CreationDate="2019-02-13T11:13:52.923" Score="1" ViewCount="1672" Body="&lt;p&gt;We have just upgraded from Sitecore 8.1 update 4 to Sitecore 9.0 update 2. Almost all the functionalities are working. We have an issue with one url. When I tried to access the URL below, I got the &lt;code&gt;Layout not found&lt;/code&gt; error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://mycompanydomain.com/customer-care-support&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mycompanydomain.com/customer-care-support&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are few things I tried.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Opened the page in experience editor mode - Page is opening in Experience editor mode.&lt;/li&gt;&#xA;&lt;li&gt;Checked weather item is published or not - It's published.&lt;/li&gt;&#xA;&lt;li&gt;Opened the item in preview mode from Presentation tab &gt; Preview - &lt;code&gt;The layout for the requested document was not found&lt;/code&gt; was shown&lt;/li&gt;&#xA;&lt;li&gt;Renamed the item to &lt;code&gt;customer-care-support-new&lt;/code&gt;. - &lt;strong&gt;New URL is working.&lt;/strong&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have searched for &lt;code&gt;customer-care-support&lt;/code&gt; in entire solution. But didn't find anything. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone faced a similar issue or have suggestions to resolve it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your help is appreciated. &lt;/p&gt;&#xA;" OwnerUserId="711" LastEditorUserId="73" LastEditDate="2019-07-18T08:07:41.167" LastActivityDate="2019-07-18T08:07:41.167" Title="Sitecore Url not working - layout not found error" Tags="|upgrade|redirect|urls|url-rewrite|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="16739" PostTypeId="1" AcceptedAnswerId="16758" CreationDate="2019-02-13T11:19:28.910" Score="2" ViewCount="114" Body="&lt;p&gt;I need to add custom field to Azure search schema and set up copy field rules to get the values of some other fields and set them as the values of this custom field. I can do it in Solr with &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/schema-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Schema API&lt;/a&gt;, but is it possible to do the same with Azure Search?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Examples of what I do with Solr Schema API shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create custom type:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;&quot;add-field-type&quot;:{&#xA;    &quot;name&quot;:&quot;custom_text_type&quot;,&#xA;    &quot;class&quot;:&quot;solr.TextField&quot;,&#xA;    &quot;positionIncrementGap&quot;:&quot;100&quot;,&#xA;    &quot;indexAnalyzer&quot;:{&#xA;        &quot;type&quot;:&quot;index&quot;,&#xA;        &quot;tokenizer&quot;:{&#xA;            &quot;class&quot;:&quot;solr.StandardTokenizerFactory&quot;&#xA;        },&#xA;        &quot;filters&quot;:[&#xA;            {&#xA;                &quot;class&quot;:&quot;solr.StopFilterFactory&quot;,&#xA;                &quot;ignoreCase&quot;:&quot;true&quot;,&#xA;                &quot;words&quot;:&quot;stopwords.txt&quot;&#xA;            },&#xA;            {&#xA;                &quot;class&quot;:&quot;solr.LowerCaseFilterFactory&quot;&#xA;            }&#xA;        ]&#xA;    },&#xA;    &quot;queryAnalyzer&quot;:{&#xA;        &quot;tokenizer&quot;:{&#xA;            &quot;class&quot;:&quot;solr.StandardTokenizerFactory&quot;&#xA;        },&#xA;        &quot;filters&quot;:[&#xA;            {&#xA;                &quot;class&quot;:&quot;solr.StopFilterFactory&quot;,&#xA;                &quot;ignoreCase&quot;:&quot;true&quot;,&#xA;                &quot;words&quot;:&quot;stopwords.txt&quot;&#xA;            },&#xA;            {&#xA;                &quot;class&quot;:&quot;solr.SynonymFilterFactory&quot;,&#xA;                &quot;synonyms&quot;:&quot;synonyms.txt&quot;,&#xA;                &quot;ignoreCase&quot;:&quot;true&quot;,&#xA;                &quot;expand&quot;:&quot;true&quot; &#xA;            },&#xA;            {&#xA;                &quot;class&quot;:&quot;solr.LowerCaseFilterFactory&quot;&#xA;            }&#xA;        ]&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create custom field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;&quot;add-field&quot;:{&#xA; &quot;name&quot;:&quot;custom_field&quot;,&#xA; &quot;type&quot;:&quot;custom_text_type&quot;,&#xA; &quot;indexed&quot;:true,&#xA; &quot;stored&quot;:true,&#xA; &quot;multiValued&quot;:true&#xA;}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, add some copy field rules&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;add-copy-field&quot;:[&#xA;  {&#xA;   &quot;source&quot;:&quot;teaser_t&quot;,&#xA;   &quot;dest&quot;:&quot;custom_field&quot;&#xA;  },&#xA;  {&#xA;   &quot;source&quot;:&quot;global_search_keywords_t&quot;,&#xA;   &quot;dest&quot;:&quot;custom_field&quot;&#xA;  }&#xA;]}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5063" LastEditorUserId="73" LastEditDate="2019-02-13T11:24:26.467" LastActivityDate="2019-02-13T22:49:08.017" Title="Set up field copy rules" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16740" PostTypeId="2" ParentId="12470" CreationDate="2019-02-13T11:50:25.613" Score="0" Body="&lt;p&gt;This issue can be solved by this method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I faced this issue, while trying to install an package which I took from Production to install on my local. You might be might be aware that Sitecore has two different db mainly: Master and web where, all sites will be pointed to web (Mainly the end user sites). For local setup, I have changed that to &quot;master&quot;. While installing the item, it was searching for some other item(which indeed not relevant to the item which I'm installing) in web database and started to throw error. I changed the db name to master in connection string and tried to install the same package , which installed.&lt;/p&gt;&#xA;" OwnerUserId="2963" LastActivityDate="2019-02-13T11:50:25.613" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16741" PostTypeId="1" AcceptedAnswerId="16935" CreationDate="2019-02-13T12:10:06.677" Score="1" ViewCount="129" Body="&lt;p&gt;I am upgrading my freshly installed Sitecore 8.1 instance to 9.1 and I am receiving an error and two warnings after analyzing the package showing that template to be deleted is in use.&lt;a href=&quot;https://i.stack.imgur.com/xcwkz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xcwkz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="2056" LastEditDate="2019-02-21T05:45:14.313" LastActivityDate="2019-02-21T09:25:19.150" Title="&quot;Template to be deleted is in use&quot; while upgrading" Tags="|upgrade|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="16742" PostTypeId="2" ParentId="16736" CreationDate="2019-02-13T12:15:05.497" Score="5" Body="&lt;p&gt;The JSS app name is in the Sitecore config normally below the &lt;code&gt;\App_Config\Include\&lt;/code&gt; in the Sitecore webroot.&#xA;You can found also found it with this url &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt;&#xA;if you are admin, you can search on &lt;code&gt;&amp;lt;apps&amp;gt;&lt;/code&gt; and found it below &lt;code&gt;&amp;lt;javaScriptServices patch:source=&quot;Sitecore.JavaScriptServices.Apps.config&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/services/app-configuration#app-configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/services/app-configuration#app-configuration&lt;/a&gt; for the Sitecore JSS App configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The url for the JSS dictionary looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/api/jss/dictionary/my-jss-app/en/?sc_apikey={05117388-CF7A-4984-B658-0B3E76886E62}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Fill in your app name and apikey and language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: in the app config you can also set the dictionaryPath.&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-02-13T12:22:11.680" LastActivityDate="2019-02-13T12:22:11.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16744" PostTypeId="2" ParentId="16738" CreationDate="2019-02-13T13:38:08.907" Score="4" Body="&lt;p&gt;This may happen when you have a sibling item (e.g. folder or item without a layout) with the same name or display name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be aware that Sitecore replaces hyphens to spaces when it tries to find an item in the tree, so if your url is &lt;code&gt;customer-care-support&lt;/code&gt; you have a sibling with a name &lt;code&gt;customer &#xA;care support&lt;/code&gt; next to your &lt;code&gt;customer-care-support&lt;/code&gt; item, you can never be sure which item will be resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's very important that you never have items with the same name under one parent node - it will only cause issues, trust me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There may be a case when you had item with the same name, you published it and then removed from &lt;code&gt;master&lt;/code&gt; database, but never unpublished that item. Best always have a quick check in your &lt;code&gt;web&lt;/code&gt; database if there aren't any trashed left.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-13T13:38:08.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16745" PostTypeId="1" AcceptedAnswerId="16947" CreationDate="2019-02-13T14:06:49.757" Score="1" ViewCount="321" Body="&lt;p&gt;We are using T4-Templates to generate Code for all of our models. We have a multi project setup with multiple TDS projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want to use multiple Base Template References (Multi-project Properties) within one TDS project to generate Templates with the correct namespace of the Base Template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say we have two base TDS Projects Base1 and Base2. In a third TDS project, we have a Template that inherits fields of both base projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want it to look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class Inheriting: GlassBase, global::Base1.Field1, global::Base2.Field2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm aware of this question here, but it is not generic enough to allow two or more base projects, if they have different Namespaces:&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/31711197/sitecore-tds-multi-project-properties-base-template-reference-not-working-for-me&quot;&gt;https://stackoverflow.com/questions/31711197/sitecore-tds-multi-project-properties-base-template-reference-not-working-for-me&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I tweak my .tt files to do this?&lt;/p&gt;&#xA;" OwnerUserId="3222" LastActivityDate="2019-02-21T14:54:13.640" Title="Code Generation with multiple Base Template References" Tags="|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16746" PostTypeId="2" ParentId="16711" CreationDate="2019-02-13T14:53:46.070" Score="2" Body="&lt;p&gt;First of all, be aware that WFFM is end of life and not any more part of the product. It has been replaced by Sitecore Forms module. So your custom developments will be for the dustbin when upgrading Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To answer your question. As you can only mail to contacts, you need to create a new xdb contact or update the current contact with the email address you want to email. Then you can pass this contact through the clientapi.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Passing tokens through the client api of EXM is not possible with EXM 3.4. This feature was added in version 3.5. (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Email%20Experience%20Manager/35/Email%20Experience%20Manager%2035%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Email%20Experience%20Manager/35/Email%20Experience%20Manager%2035%20Initial%20Release/Release%20Notes&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-02-13T14:53:46.070" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16748" PostTypeId="1" CreationDate="2019-02-13T15:19:01.423" Score="0" ViewCount="81" Body="&lt;p&gt;I have used express miration tool from 7.2 instance to 9.0 instance excluding bin folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As bin folder have sitecore and application dll's which are many. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone give me idea how to migrate the bin without affecting new sitecore dll's?&lt;/p&gt;&#xA;" OwnerUserId="3950" LastActivityDate="2019-02-13T16:56:41.873" Title="Sitecore upgradation from 7.2 to 9.0" Tags="|upgrade|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16749" PostTypeId="2" ParentId="16748" CreationDate="2019-02-13T16:56:41.873" Score="1" Body="&lt;p&gt;You will need to find source code of all the dlls in your project which are referencing sitecore Previous version class libraries and update the references of those projects with the new dlls and build it to make sure it is successful.publish those projects with the newly compiled sitecore dlls on to the new instance of sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might need to change some API calls of sitecore in this process.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-02-13T16:56:41.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16750" PostTypeId="1" CreationDate="2019-02-13T17:22:40.637" Score="4" ViewCount="952" Body="&lt;p&gt;I am running Sitecore 9 update 2 on Azure Web App, with Azure Search. I can see Profile data when I open Experience Profile, but when I try and search for any contact I get no results? (I know there are results)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried making sure that the filters are applied correctly on the search, which they are. There are no errors in the logs, or in the browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have noticed that I don't see an INFO log for my Search, like you'd see when you open Experience Profile i.e:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;11096 17:10:10 INFO  [Experience Analytics]: Request:&#xA;  [myDomain]/sitecore/api/ao/aggregates/all/799B0CD6A8114772BDC46DC607106A62/all?&amp;amp;dateGrouping=by-week&amp;amp;&amp;amp;keyTop=5&amp;amp;keyOrderBy=visits-Asc&amp;amp;dateFrom=13-11-2018&amp;amp;dateTo=13-02-2019&amp;amp;keyGrouping=by-key&#xA;  returned messages&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1EKAh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1EKAh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought perhaps it could be that I needed to Rebuild the xDB index in Azure Search, that completed successfully, but still the issue persists.  &lt;/p&gt;&#xA;" OwnerUserId="1369" LastActivityDate="2019-07-16T13:46:52.663" Title="Experience Profile No Search Results" Tags="|experience-profile|" AnswerCount="1" CommentCount="5" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16752" PostTypeId="1" AcceptedAnswerId="16753" CreationDate="2019-02-13T18:18:58.213" Score="3" ViewCount="2702" Body="&lt;p&gt;I'm on Solr 4.10.4, Sitecore 8.1 160519.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The configuration of the custom index is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;_basetemplates&quot; returnType=&quot;string&quot; multiValued=&quot;true&quot; storageType=&quot;yes&quot; indexType=&quot;untokenized&quot;&amp;gt;&#xA;           Sitecore.ContentSearch.ComputedFields.AllTemplates, Sitecore.ContentSearch&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error message I receive is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;multiple values encountered for non multiValued field _basetemplates_s:&#xA;[c6576836910c4a3dba03c277dbd3b827, 1930bbeb7805471aa3be4858ac7cf696]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Considering that the field clearly has the &lt;em&gt;multiValued&lt;/em&gt; attribute set to true, I'm puzzled as to why I am receiving this error message.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-02-13T19:47:59.120" Title="Solr log: Multiple values encountered for non multiValued field _basetemplates_s" Tags="|solr|configuration|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16753" PostTypeId="2" ParentId="16752" CreationDate="2019-02-13T19:47:59.120" Score="3" Body="&lt;p&gt;I think you have the change the &lt;code&gt;returnType&lt;/code&gt;. That is now string, which is not multiValued.. change that to &lt;code&gt;stringCollection&lt;/code&gt;. Keep the multiValued as well (although I'm not sure it is even needed) - but I'm quite sure the returnType needs to indicate the multivalue (too). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fact that your error mentioned a &lt;code&gt;_s&lt;/code&gt; suffix indicates that a single value should be expected - after changing this it should become a &lt;code&gt;_sm&lt;/code&gt; suffix.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-02-13T19:47:59.120" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16754" PostTypeId="1" CreationDate="2019-02-13T20:49:11.993" Score="1" ViewCount="180" Body="&lt;p&gt;For some reason, TDS has started creating duplicate properties for one of my &quot;constants&quot; partial classes as well as the associated interface in my TdsCodeGen.cs. It's only doing it for one component. It's not doing it for all of the fields of the component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static partial class IComponentConstants{&#xA;&#xA;        public const string TemplateIdString = &quot;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&quot;;&#xA;        public static readonly ID TemplateId = new ID(TemplateIdString);&#xA;        public const string TemplateName = &quot;Component&quot;;&#xA;&#xA;        //HERE'S THE FIRST SET OF PROPERTIES FOR THE &quot;INTROTEXT&quot; FIELD&#xA;        public static readonly ID IntroTextFieldId = new ID(&quot;aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa&quot;);&#xA;        public const string IntroTextFieldName = &quot;Intro Text&quot;;&#xA;&#xA;        public static readonly ID QuestionHeaderTextFieldId = new ID(&quot;11111111-1111-1111-1111-111111111111&quot;);&#xA;        public const string QuestionHeaderTextFieldName = &quot;Question Header Text&quot;;&#xA;&#xA;        public static readonly ID ResultsFooterTextFieldId = new ID(&quot;22222222-2222-2222-2222-22222222222&quot;);&#xA;        public const string ResultsFooterTextFieldName = &quot;Results Footer Text&quot;;&#xA;&#xA;        //HERE'S THE SECOND SET OF PROPERTIES FOR THE &quot;INTROTEXT&quot; FIELD&#xA;        public static readonly ID IntroTextFieldId = new ID(&quot;aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa&quot;);&#xA;        public const string IntroTextFieldName = &quot;Intro Text&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice that the ID is identical for both. I checked the master database and there is only one field by that name for that component or, for that matter, any component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same/similar thing happens with the partial interface (summary comments added by TDS have been removed for readability):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial interface IComponentTool : IGlassBase {&#xA;&#xA;            [SitecoreField(IComponentConstants.IntroTextFieldName)]&#xA;                string IntroText  {get; set;}&#xA;&#xA;            [SitecoreField(IComponentConstants.QuestionHeaderTextFieldName)]&#xA;                string QuestionHeaderText  {get; set;}&#xA;&#xA;            [SitecoreField(IComponentConstants.ResultsFooterTextFieldName)]&#xA;                string ResultsFooterText  {get; set;}&#xA;&#xA;            //Visual Studio gives the message &#xA;            //&quot;Ambiguity between 'IComponentConstants.IntroTextFieldName'                                                               &#xA;            //and 'IComponentConstants.IntroTextFieldName'&#xA;            //here ----------------------------[                ]&#xA;            [SitecoreField(IComponentConstants.IntroTextFieldName)]&#xA;                string IntroText  {get; set;}&#xA;            //here ----[       ] Visual Studio says&#xA;            //The type 'IComponent' already contains&#xA;            //a definition for 'IntroText'&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This happens with most, but not all of the properties.&lt;/p&gt;&#xA;" OwnerUserId="3761" LastEditorUserId="3761" LastEditDate="2019-02-14T15:45:29.680" LastActivityDate="2019-02-14T15:45:29.680" Title="TDS creating duplicate properties for component in TdsCodeGen.cs" Tags="|tds|visual-studio|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16755" PostTypeId="2" ParentId="16754" CreationDate="2019-02-13T21:01:50.963" Score="1" Body="&lt;p&gt;This can happen if the same template is included as a base template multiple times on another template. Usually this happens if you have the same template included as a base template in multiple templates that are also used as base templates to compose your template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's hard to digest; an example would be more helpful, I think:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Template: Vehicle&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Field: Door Count&lt;/li&gt;&#xA;&lt;li&gt;Field: Window Count&lt;/li&gt;&#xA;&lt;li&gt;Base Templates: &lt;em&gt;none&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Template: Car&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Field: Trunk Volume&lt;/li&gt;&#xA;&lt;li&gt;Base Templates: &lt;em&gt;Vehicle&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Template: Truck&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Field: Rear Bed Volume&lt;/li&gt;&#xA;&lt;li&gt;Base Templates: &lt;em&gt;Vehicle&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Template: SUV&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Base Templates: &lt;em&gt;Car&lt;/em&gt;, &lt;em&gt;Truck&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In the above example, the &lt;em&gt;SUV&lt;/em&gt; template could have the fields from the &lt;em&gt;Vehicle&lt;/em&gt; base template duplicated in the &lt;code&gt;.tt&lt;/code&gt; outputs.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-13T21:01:50.963" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16756" PostTypeId="2" ParentId="16223" CreationDate="2019-02-13T22:29:03.417" Score="5" Body="&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; &lt;a href=&quot;https://kb.sitecore.net/articles/161310&quot; rel=&quot;nofollow noreferrer&quot;&gt;Since September 2019, Sitecore will provide support with any Sitecore product issues that are not unique to a containerized environment.&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;This means that the Support team might ask you to replicate the issue outside containers, although they will try to avoid this.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Also some important information on this on the &lt;a href=&quot;https://github.com/Sitecore/docker-images&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore docker repo&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Important Note about this repository:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This repository was created to help consolidate efforts around Sitecore and Docker. The code and examples found in this repository are created and maintained by the Community, unsupported by Sitecore.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-12-15T23:24:44.480" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16757" PostTypeId="1" CreationDate="2019-02-13T22:46:04.320" Score="0" ViewCount="140" Body="&lt;p&gt;Using Sitecore 9.0.1, Im looking at using Sitecore Fake DB for unit testing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Im interested in using the Deserialisation extension so that I can test using content that's been serialised to disk&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/FakeDb-Serialization&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/FakeDb-Serialization&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone had any success doing this with Unicorn .yml serialised items? Or is it TDS only?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2019-02-14T00:17:57.623" Title="Sitecore FakeDB Deserialisation and Unicorn" Tags="|unicorn|unit-testing|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16758" PostTypeId="2" ParentId="16739" CreationDate="2019-02-13T22:49:08.017" Score="0" Body="&lt;p&gt;The Azure Search schema is completely managed by Sitecore, so even if there was a way to do this purely via schema changes I wouldn't recommend it as it would not be easily scalable, especially if you're using the index switch on rebuild functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead I think you have two options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a custom index with a &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-commerce/en/create-a-custom-field-during-indexing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;ComputedIndexField&lt;/a&gt; that performs the same functionality.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use the sitecore index with a custom &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/linq-to-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;SearchResultItem&lt;/a&gt; and map those fields to the property manually. (e.g. on the property getter you can check the Fields collection for teaser_t and global_search_keywords_t.)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-13T22:49:08.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16759" PostTypeId="1" AcceptedAnswerId="16761" CreationDate="2019-02-13T23:17:59.433" Score="0" ViewCount="4826" Body="&lt;p&gt;While installing Sitecore 9.1, I'm getting an error when I run Install-SitecoreConfiguration -Path C:\resourceFiles\Prerequisites.json&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I ran Update-Module SitecoreInstallFramework before installing to make sure my SIF was up to date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure how to troubleshoot or what might be causing this. Any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[---------------------------------------- WindowsFeatures : EnableWindowsOptionalFeature ---------------------------]&#xA;Install-SitecoreConfiguration : Enable-WindowsOptionalFeature failed. Error code = 0x800f0954&#xA;At line:1 char:1&#xA;+ Install-SitecoreConfiguration -Path C:\resourceFiles\Prerequisites.js ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:43&#xA;Enable-WindowsOptionalFeature : Enable-WindowsOptionalFeature failed. Error code = 0x800f0954&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:25&#xA;+                         &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException&#xA;    + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4062" LastActivityDate="2019-02-14T01:24:05.447" Title="Enable-WindowsOptionalFeature failed when running Prerequisites.ps1" Tags="|sitecore-install-framework|installation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16760" PostTypeId="2" ParentId="16757" CreationDate="2019-02-14T00:17:57.623" Score="1" Body="&lt;p&gt;It does not have to be TDS. You can use items that you have serialized in Sitecore. Go to the Developer Toolbar, and then click on Serialize Item / Serialize Tree.&lt;/p&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2019-02-14T00:17:57.623" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16761" PostTypeId="2" ParentId="16759" CreationDate="2019-02-14T01:16:11.980" Score="7" Body="&lt;p&gt;May have something to do with your domain / WSUS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try setting the following using gpedit.msc:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Computer Configuration -&gt; Administrative Templates -&gt; System -&gt; Specify settings for optional component installation and component repair &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the “Download repair content and optional features directly from Windows Uodate”&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There’s also a registry key that does something similar. Was the solution on my end. Hope it helps. &lt;/p&gt;&#xA;" OwnerUserId="1695" LastActivityDate="2019-02-14T01:16:11.980" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16762" PostTypeId="2" ParentId="16759" CreationDate="2019-02-14T01:24:05.447" Score="3" Body="&lt;p&gt;There are several ways to start&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You could google error code (&lt;code&gt;0x800f0954&lt;/code&gt;) and see whether you can solve it on your machine (if the problem is the same as yours - most of the results are related to &lt;strong&gt;.NET 3.5&lt;/strong&gt; installation. I am not sure if &lt;strong&gt;Prerequisites.js&lt;/strong&gt; has it on the list)&lt;/li&gt;&#xA;&lt;li&gt;You could figure out which feature causes the problems on your machine and then search for a solution online.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;comment/remove all features in &lt;code&gt;FeatureName&lt;/code&gt; table in &lt;strong&gt;Prerequisites.js&lt;/strong&gt; and then enable one and run the installation. Repeat with each feature until you find problematic one. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &quot;WindowsFeatures&quot;: {&#xA;    &quot;Type&quot;: &quot;EnableWindowsOptionalFeature&quot;,&#xA;    &quot;Params&quot;: {&#xA;        &quot;Online&quot;: true,&#xA;        &quot;FeatureName&quot;: [&#xA;            &quot;IIS-WebServer&quot;,&#xA;            &quot;IIS-WebServerManagementTools&quot;,&#xA;            &quot;IIS-ASPNET&quot;,&#xA;            &quot;IIS-ASPNET45&quot;,&#xA;            &quot;NetFx4Extended-ASPNET45&quot;,&#xA;            &quot;WAS-NetFxEnvironment&quot;,&#xA;            &quot;WAS-ProcessModel&quot;,&#xA;            &quot;WAS-WindowsActivationService&quot;&#xA;        ],&#xA;        &quot;All&quot;: true&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;You could install everything manually.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You will find a section for that in the installation guide: &lt;strong&gt;2.4.2 Manual Installation of the Prerequisites&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;I will share this but please read before you copy/paste/execute&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;A long time ago, at the beginning of &lt;strong&gt;SIF&lt;/strong&gt; thing, I created a script for installing prerequisites by myself on a completely new machine without anything installed. I am not sure if this gonna work but if this will help you with prerequisites installation maybe it's worth to try.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.powershellgallery.com/packages/WebPI.PS/1.0.1/Content/WebPI.PS.psd1&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;strong&gt;WebPI.PS&lt;/strong&gt;&lt;/a&gt; - this is written by me. You can find it in &lt;a href=&quot;https://www.powershellgallery.com/packages/WebPI.PS/1.0.1/Content/WebPI.PS.psd1&quot; rel=&quot;nofollow noreferrer&quot;&gt;powershellgallery&lt;/a&gt; and check source code &lt;a href=&quot;https://github.com/PowerShellLibrary/WebPI.PS&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; if you don't trust unknown modules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Last time I tested in on a new machine was more than 1 year ago.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Use script at your own risk.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;## Define parameters #########&#xA;$SqlServer = &quot;.&quot;&#xA;$SqlAdminUser = &quot;admin&quot;&#xA;$SqlAdminPassword = &quot;b&quot;&#xA;##############################&#xA;&#xA;Dism.exe /online /Enable-Feature /all /FeatureName:NetFx3&#xA;Dism.exe /online /Enable-Feature /all /FeatureName:IIS-ASPNET&#xA;&#xA;Install-Module WebPI.PS&#xA;Import-Module WebPI.PS&#xA;&#xA;Invoke-WebPI  /Install &quot;/Products:UrlRewrite2,WDeploy36,DACFX,SQLDOM&quot;&#xA;&#xA;Invoke-Sqlcmd -ServerInstance $SqlServer -Username $SqlAdminUser -Password $SqlAdminPassword -Query &quot;USE [master]&quot;&#xA;Invoke-Sqlcmd -ServerInstance $SqlServer -Username $SqlAdminUser -Password $SqlAdminPassword -Query &quot;sp_configure 'contained database authentication',1&quot;&#xA;Invoke-Sqlcmd -ServerInstance $SqlServer -Username $SqlAdminUser -Password $SqlAdminPassword -Query &quot;RECONFIGURE;&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-14T01:24:05.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16763" PostTypeId="1" AcceptedAnswerId="16764" CreationDate="2019-02-14T01:59:01.733" Score="1" ViewCount="595" Body="&lt;p&gt;I am setting up a new Tenant and Site and am looking for an explanation of the different Modules that can be installed against the Tenant / Site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to only install the minimum required modules for my use case so as to not clutter the Content Editor and Experience Editor with things that will never be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any documentation or information available as to what these modules provide?&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="73" LastEditDate="2019-02-18T09:08:10.083" LastActivityDate="2020-11-13T17:43:58.690" Title="Tenant and Site Setup - Description of Modules" Tags="|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16764" PostTypeId="2" ParentId="16763" CreationDate="2019-02-14T02:07:21.437" Score="3" Body="&lt;p&gt;One method that I've found is to go through the &lt;code&gt;/sitecore/system/Settings/Feature/Experience Accelerator&lt;/code&gt; items and see what each feature will scaffold when it gets installed against a Site or Tenant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The great advantage of this method is that it is somewhat self-documenting for the version of SXA that you're using. An example from SXA 1.8:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KWS9W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KWS9W.png&quot; alt=&quot;SXA screenshot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can see that if you were to install the Compliancy feature against the Site, it would add&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Privacy Warning datasource item&lt;/li&gt;&#xA;&lt;li&gt;Privacy Warning rendering on the Meta available renderings (in toolbox)&lt;/li&gt;&#xA;&lt;li&gt;Modifies the Settings item's insert options to add the datasource item&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More info on how these settings work is available &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/add-modules-to-site-and-tenant-scaffolding.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-14T02:07:21.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16765" PostTypeId="1" AcceptedAnswerId="16822" CreationDate="2019-02-14T04:04:16.207" Score="0" ViewCount="128" Body="&lt;p&gt;ModuleNotFound exception throws when deploying css file. &#xA;I have started to explore Sitecore-Jss and deployed sample app in the sitecore and it works fine. I just added a new css file (test.css) under src/assets folder and refers the same in Layout.js file. Below is the test.css file content.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.tint-gray-light {&#xA;  background-image: url(&quot;../images/gray-light-70.png&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From the command prompt, I'm deploying using &quot;jss deploy files&quot; command and I'm getting below error.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/aldm6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aldm6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My current solution do not have any reference either for Images folder or image file. How to resolve the below error? where is this check happening?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: I'm about to develop existing page using sitecore jss and css file has many image references that are no longer referred in the webpage and do not even have images. &lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2019-02-15T16:52:18.730" Title="ModuleNotFound error throws when deploying files" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16766" PostTypeId="1" CreationDate="2019-02-14T04:45:22.887" Score="3" ViewCount="1340" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;I have followed the instruction here &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html&lt;/a&gt;  and through some you tube video with adding a module X. &#xA;  I have cloned a component and associated to Module X.&#xA;  Then i was able to add it to my site as a &quot;site module&quot;. Which creates data folder with my cloned component &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have now clone another component but I can't seem to add it to my site beacuse i have already performed a &quot;site module&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="5069" LastEditorUserId="2056" LastEditDate="2019-02-14T08:38:08.620" LastActivityDate="2019-02-15T11:33:00.243" Title="Re-adding Site Module to install new SXA components" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16767" PostTypeId="1" CreationDate="2019-02-14T07:40:23.430" Score="0" ViewCount="240" Body="&lt;p&gt;Using insert javascript on link field, adds javascript code to a tag in href with return false which is added automatically and because of it mistake appears and if manually delete return false everything is okey.&lt;/p&gt;&#xA;" OwnerUserId="4979" LastEditorUserId="4979" LastEditDate="2019-02-14T08:57:57.140" LastActivityDate="2019-02-14T08:57:57.140" Title="Insert javascript to link not working as expected" Tags="|links|javascript|" AnswerCount="0" CommentCount="4" ClosedDate="2019-11-04T10:02:19.880" ContentLicense="CC BY-SA 4.0" />
  <row Id="16768" PostTypeId="2" ParentId="16766" CreationDate="2019-02-14T07:58:17.097" Score="2" Body="&lt;p&gt;If you have already added a certain module to your site, there is no script which will &quot;uninstall&quot; it. There is a couple of things you can do:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;remove it manually and re-add it - list of installed modules/features is stored here:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/6KQ7n.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6KQ7n.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;strong&gt;But!&lt;/strong&gt; Keep in mind that removing module/feature form that list will not uninstall and revert all the changes your module did for your site&lt;/li&gt;&#xA;&lt;li&gt;create a new feature/module so that you will be able to add it again&lt;/li&gt;&#xA;&lt;li&gt;manually add new things to your site - probably the most complicated option&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-02-14T07:58:17.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16769" PostTypeId="2" ParentId="16766" CreationDate="2019-02-14T08:01:51.727" Score="5" Body="&lt;p&gt;The quick answer is: &lt;strong&gt;you cannot do it&lt;/strong&gt;. Once you install a module you cannot re-add it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are several ways to deal with this. None is perfect but you might find the best for you and try to mitigate the issue.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Force module installation&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You will trick SXA to think that module was not installed and then install it once again.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to your site&lt;/li&gt;&#xA;&lt;li&gt;Find the &lt;code&gt;Modules&lt;/code&gt; field&lt;/li&gt;&#xA;&lt;li&gt;Find your module and remove a reference from &lt;code&gt;Treelist&lt;/code&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EeChl.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EeChl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;From now you should be able to install your module again on this site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;PROS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;it's very easy and quick to perform, doesn't require tech knowledge&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CONS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;some of the steps might be performed multiple times - you have to deal with that and remove/merge duplicates manually. I think that &lt;em&gt;Available Renderings&lt;/em&gt; node will be duplicated and &lt;em&gt;Default Variant&lt;/em&gt;, &lt;em&gt;Data folder&lt;/em&gt; for your first rendering (if you have it)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Manual update&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You will have to manually perform steps which are new or were updated in the meantime.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I will describe steps based on your specific case. It will not apply to all other cases as number and type of steps may differ. The trick is to perform a manual update of steps that are new or updated comparing to a state before you cloned a rendering&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Available Renderings&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to your site&lt;/li&gt;&#xA;&lt;li&gt;Find Available Renderings node: &lt;code&gt;/sitecore/content/F/T/S/Presentation/Available Renderings/YOUR_MODULE&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Update &lt;code&gt;Renderings&lt;/code&gt; field with your new rendering (notice that in Quick Info section you've got a &lt;strong&gt;Created From&lt;/strong&gt; field. You can navigate to this item and copy raw values)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Rendering Variants&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to your site&lt;/li&gt;&#xA;&lt;li&gt;Find Rendering Variants node: &lt;code&gt;/sitecore/content/F/T/S/Presentation/Rendering Variants&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add default rendering variant for your rendering clone (if one was created). You will find it here:&#xA;&lt;code&gt;/sitecore/templates/Branches/Feature/YOUR_MODULE/Default RENDERING_NAME Variant&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Data folder&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to your site&lt;/li&gt;&#xA;&lt;li&gt;Find Data node: &lt;code&gt;/sitecore/content/F/T/S/Data/&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add default data folder for your rendering clone (if one was created). You will find it here:&#xA;&lt;code&gt;/sitecore/templates/Feature/CustomModule/RENDERING_NAME Folder&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;PROS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;you have full control, only you decide what and where should be added.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CONS&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the most complicated as requires a good knowledge of scaffolding&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Other approaches&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;There other ways to achieve that but they are hybrids of the presented above. If you think that some of them might be better than two above let me know I will describe it.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Uninstall module manually (remove all items) and then go with &lt;strong&gt;Force module installation&lt;/strong&gt; step (this one is cool because once you remove everything you will not have to deal with duplicates). This is improved &lt;strong&gt;Force module installation&lt;/strong&gt;. You remove items to prevent duplicates,&lt;/li&gt;&#xA;&lt;li&gt;Identify steps  (modules actions like add data folder, add renderings variants node) that were not invoked and run them with a script (I can give you assistance with that. There are cmdlets which will let you install selected module/module action for a tenant/site). This method is a second method but with some automation involved (in case you want to do it for many sites.)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Summary:&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;As you can see it might be pretty complicated but for now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My pick would be:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Force module installation&lt;/strong&gt; in a first or second form (you deal with duplicates after or you &quot;uninstall&quot; module before and then install it like it was never installed before)&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2019-02-14T08:10:46.837" LastActivityDate="2019-02-14T08:10:46.837" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16770" PostTypeId="1" CreationDate="2019-02-14T08:41:55.310" Score="4" ViewCount="1541" Body="&lt;p&gt;I have a requirement to invalidate the file in cdn cache on completion of sitecore item publishing. To achieve this I have created custom processor and patched into &quot;publishEndResultBatch&quot; pipeline, my patches are displaying in showconfig. But the code is not triggered, I have debugged and added logs, no symbol to trigger this processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have even created custom event handler and patched in &quot;publishingservice:publishend&quot; event. This is also not triggered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No issue in item publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it need any additional settings to use the custom events or processor in sitecore publishing service?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are the package details,&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Instance&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 9 update 1&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Publishing Service&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Publishing Module 3.1.1 rev. 180807.zip&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Publishing Service  3.1.1 rev. 180807-x64.zip&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Below are the code snippet&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Custom processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomPublishEndResultBatch&#xA;{&#xA;    Log4NetLogger _logger = new Log4NetLogger();&#xA;    public void Process(PublishEndResultBatchArgs args)&#xA;    {&#xA;        _logger.Log(&quot;publishEndResult Batch&quot;, EnumUtil.LoggingType.Info, EnumUtil.ExceptionTier.PublishingService, null);&#xA;&#xA;        try&#xA;        {&#xA;            if (args.TotalResultCount &amp;gt;= 1)&#xA;            {&#xA;                Guid filePathFieldGuid = new Guid(&quot;{2134867A-AC67-4DAC-836C-A9264FD9D6D6}&quot;);&#xA;                var affectedItem = args.Batch.Select(b =&amp;gt; b.EntityId).Distinct().Count();&#xA;                var modifiedMediaItems = args.Batch.Where(b =&amp;gt; b.Type == ManifestOperationResultType.Modified &amp;amp;&amp;amp; b.EntityType == ManifestEntityType.Media).Select(b =&amp;gt; b.Metadata).Distinct().ToList();&#xA;                var pdfItems = modifiedMediaItems.Select(b =&amp;gt; b.FieldChanges.Where(x =&amp;gt; x.FieldId == filePathFieldGuid &amp;amp;&amp;amp; x.Value.ToLower().Contains(&quot;.pdf&quot;)).Any()).ToList();&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            _logger.Log(&quot;PublishEndResultProcessor is failed&quot;, EnumUtil.LoggingType.Error, EnumUtil.ExceptionTier.PublishingService, ex);&#xA;        }&#xA;&#xA;    }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Custom Event :  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomPublishEndHandler&#xA;{&#xA;    public void OnItemPublished(object sender, EventArgs args)&#xA;    {&#xA;        List&amp;lt;string&amp;gt; publishedIds = new List&amp;lt;string&amp;gt;();&#xA;        ILogger _logger = new Log4NetLogger();&#xA;        _logger.Log(&quot;Custom Publish end event&quot;, EnumUtil.LoggingType.Info,EnumUtil.ExceptionTier.UserProfileService, null);&#xA;&#xA;        var itemArgs = args as ItemProcessedEventArgs;&#xA;&#xA;        if (itemArgs != null &amp;amp;&amp;amp; !ID.IsNullOrEmpty(itemArgs?.Context?.ItemId))&#xA;        {&#xA;            GetPDFItemPath(itemArgs.Context.ItemId);&#xA;&#xA;        }&#xA;    }&#xA;&#xA;    public void GetPDFItemPath(ID processedItem)&#xA;    {&#xA;        //TODO: Change this step&#xA;        var item = Factory.GetDatabase(&quot;master&quot;).Items.GetItem(processedItem);&#xA;&#xA;        if (item != null &amp;amp;&amp;amp; item.TemplateID == Sitecore.Data.ID.Parse(&quot;{0603F166-35B8-469F-8123-E8D87BEDC171}&quot;))&#xA;        {&#xA;            var thread = new Thread(() =&amp;gt; CdnFileInvalidationHelper.InvalidateContent(item.Paths.FullPath));&#xA;            thread.IsBackground = true;&#xA;            thread.Start();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note - This custom event is working fine when adding into normal sitecore publishing event &quot;publish:itemProcessed&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuration Entries:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publishingservice:publishend&quot; patch:source=&quot;Sitecore.Publishing.Service.config&quot;&amp;gt;&#xA;&amp;lt;handler type=&quot;Sitecore.Publishing.Service.Events.PublishingJobEndHandler, Sitecore.Publishing.Service&quot; method=&quot;StartPublishEndPipeline&quot;&amp;gt;&#xA;    &amp;lt;param name=&quot;manifestResultLoadBatchSize&quot;&amp;gt;500&amp;lt;/param&amp;gt;&#xA;&amp;lt;/handler&amp;gt;&#xA;&amp;lt;handler type=&quot;Sitecore.Publishing.Service.Events.PublishEndHandler, Sitecore.Publishing.Service&quot; method=&quot;TriggerPublishEnd&quot;/&amp;gt;&#xA;&amp;lt;handler type=&quot;AllianzGI.DEXTER.Web.Extensions.Events.CustomPublishEndHandler, AllianzGI.DEXTER.Web.Extensions&quot; method=&quot;OnItemPublished&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;publishEndResultBatch argsType=&quot;Sitecore.Publishing.Service.Pipelines.BulkPublishingEnd.PublishEndResultBatchArgs&quot; patch:source=&quot;Sitecore.Publishing.Service.config&quot;&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.Publishing.Service.Pipelines.BulkPublishingEnd.RaiseRemoteEvents, Sitecore.Publishing.Service&quot;&amp;gt;&#xA;&amp;lt;param name=&quot;remoteEventCacheClearingThreshold&quot;&amp;gt;1000&amp;lt;/param&amp;gt;&#xA;&amp;lt;param name=&quot;targetCacheClearHistory&quot; ref=&quot;publishing.service/targetCacheClearHistory&quot;/&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&amp;lt;processor type=&quot;AllianzGI.DEXTER.Web.Extensions.Pipelines.CustomPublishEndResultBatch, AllianzGI.DEXTER.Web.Extensions&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;" OwnerUserId="2930" LastEditorUserId="2930" LastEditDate="2019-02-20T05:48:37.620" LastActivityDate="2019-08-27T08:39:21.323" Title="Couldn't trigger custom event handler or Processor in Sitecore Publishing Service?" Tags="|pipelines|events|publishing-service|" AnswerCount="2" CommentCount="6" ClosedDate="2019-08-27T14:37:55.393" ContentLicense="CC BY-SA 4.0" />
  <row Id="16771" PostTypeId="1" AcceptedAnswerId="16775" CreationDate="2019-02-14T08:47:18.243" Score="2" ViewCount="394" Body="&lt;p&gt;I have a website with SXA (1.7.1) and language fallback setup up. It all works fine for regular components (eg. carousel or a custom component made by us) but lists (eg. Link List) won't pick up fallback items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the problem is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;There is a Link List component on the page&lt;/li&gt;&#xA;&lt;li&gt;There is datasource with list of links in the Data section&lt;/li&gt;&#xA;&lt;li&gt;The datasource and the links all have only english version&lt;/li&gt;&#xA;&lt;li&gt;I am opening the page in &lt;code&gt;de-de&lt;/code&gt; language and I can't see any of the links (the component itself is visible - I can see div.component.link-list in the source)&lt;/li&gt;&#xA;&lt;li&gt;The problem above does not happen on carousel for example (so I have slides in English and see them all in German version).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;I had a similar issue in SXA 1.2 and I digged into &lt;code&gt;LinkListRepository&lt;/code&gt; which inherits from &lt;code&gt;ListRepository&lt;/code&gt; where there is a &lt;code&gt;GetItem()&lt;/code&gt; method. This method uses extension method &lt;code&gt;GetItemsWithVersion()&lt;/code&gt; from &lt;code&gt;ItemExtensions&lt;/code&gt; class. I think this might cause the problem with language fallback - the items are just not returned if there is no version. Moreover in the extension method there is a following piece of code used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;i.Versions.GetVersions(Sitecore.Context.PageMode.IsExperienceEditorEditing)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the items are visible in edit mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The questions from my side:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is this correct behavior of a bug?&lt;/li&gt;&#xA;&lt;li&gt;Is there any hidden mechanism to enable language fallback on list components?&lt;/li&gt;&#xA;&lt;li&gt;If not, how can I override &lt;code&gt;LinkListRepository&lt;/code&gt; to fix this problem? I cannot find it registered in the the &lt;code&gt;&amp;lt;services&amp;gt;&lt;/code&gt; section so I could replace it with my own implementation?&#xA;I have a custom Link List component and custom repository registered but apparently it gets overriden by original &lt;code&gt;LinkListRepository&lt;/code&gt; being registered later on. This method worked in SXA 1.2.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have managed to workaround this problem by moving my configurator class which creates an instance of &lt;code&gt;ILinkListRepository&lt;/code&gt; to the end of the &lt;code&gt;&amp;lt;service&amp;gt;&lt;/code&gt; section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which leaves me with question: Where on earth are you instantiating your class? Plus confirm please if this is expected or a bug.&lt;/p&gt;&#xA;" OwnerUserId="66" LastEditorUserId="73" LastEditDate="2019-02-14T13:21:29.977" LastActivityDate="2019-02-14T13:21:29.977" Title="SXA &amp; Language fallback in list components" Tags="|sxa|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16772" PostTypeId="2" ParentId="16111" CreationDate="2019-02-14T09:59:14.807" Score="1" Body="&lt;p&gt;Looking at the file path for the Dacpac, you might be pointing to 9.0.1 files on the 9.1.0 installation. Can you double-check this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, 9.0.1 and 9.0.2 use SIF 1 I think, while 9.1 uses SIF 2. It might be you're using the wrong version of SIF to install? &lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2019-02-14T09:59:14.807" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16773" PostTypeId="2" ParentId="1340" CreationDate="2019-02-14T11:31:21.547" Score="15" Body="&lt;p&gt;In 2019 the answer is little bit different. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore will not &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/sitecore-9-1-nuget-changes-and-you&quot; rel=&quot;noreferrer&quot;&gt;release new NoReference Nuget packages&lt;/a&gt;. But you can get similar behavior by usage of &lt;code&gt;-IgnoreDependencies&lt;/code&gt; setting:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5tXwo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5tXwo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or by command line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Package -Id &amp;lt;package name&amp;gt; -IgnoreDependencies -ProjectName &amp;lt;project name&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want more details, there is &lt;a href=&quot;https://www.konabos.com/blog/sitecore-nuget-package-references&quot; rel=&quot;noreferrer&quot;&gt;good article&lt;/a&gt; that describes this approach for Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="666" LastEditorUserId="666" LastEditDate="2019-02-14T12:21:45.213" LastActivityDate="2019-02-14T12:21:45.213" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16774" PostTypeId="2" ParentId="16110" CreationDate="2019-02-14T11:41:15.827" Score="1" Body="&lt;p&gt;You are able to configure virtual folder in IIS that will point to absolute location on your server, e.g.: &quot;SharedMedia&quot; folder that point to &quot;C:\SharedMedia&quot;.&#xA;Then you will be able to configure Sitecore use this virtual folder as location for media files:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.UploadAsFiles&quot; value=&quot;true&quot;&amp;gt;&#xA;&amp;lt;setting name=&quot;Media.FileFolder&quot; value=&quot;/SharedMedia&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are more detail how to do it in &lt;a href=&quot;https://www.bugdebugzone.com/2016/08/storing-sitecore-media-in-shared-file.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-02-14T11:41:15.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16775" PostTypeId="2" ParentId="16771" CreationDate="2019-02-14T12:48:46.153" Score="4" Body="&lt;blockquote&gt;&#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;Is this correct behavior of a bug?&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This as a bug. This code simply does what it says. It will not work with language fallback which is not expected.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol start=&quot;2&quot;&gt;&#xA;  &lt;li&gt;Is there any hidden mechanism to enable language fallback on list components?&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Nope, you have to overwrite it or ask support for a hotfix.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;ol start=&quot;3&quot;&gt;&#xA;  &lt;li&gt;I cannot find it registered in the  section so I could replace it with my own implementation&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In this config &lt;code&gt;Sitecore.XA.Foundation.IoC.config&lt;/code&gt; you will find configurator node&lt;/li&gt;&#xA;&lt;li&gt;This class &lt;code&gt;Sitecore.XA.Foundation.IoC.ServiceCollection.RegisterMvcControllersIoC&lt;/code&gt; does something like &lt;code&gt;serviceCollection.AddMvcControllers(&quot;namespace&quot;);&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Somewhere inside &lt;code&gt;AddMvcControllers&lt;/code&gt; you will find:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var repositories = GetTypesImplementing&amp;lt;IControllerRepository&amp;gt;(assemblies)&#xA;                .Where(repo =&amp;gt; repo.Name.EndsWith(&quot;Repository&quot;, StringComparison.Ordinal));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(later all of them are registered automatically) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This does the whole job. Notice that every repository inherits from &lt;code&gt;Sitecore.XA.Foundation.IoC.IControllerRepository&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't have exact steps on how to overwrite it.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-14T12:48:46.153" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16776" PostTypeId="1" CreationDate="2019-02-14T13:25:03.783" Score="2" ViewCount="351" Body="&lt;p&gt;I have 12 different instances (test purpose only) using this same SQL Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of the sudden, one of those (which was working fine until yesterday) started giving me this error &lt;strong&gt;when I try to open the login page&lt;/strong&gt;. For the records only, it is brand new Sitecore 9.1 XP instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mRgCo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mRgCo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Initially, I thought it could be something with my SQL Server instance, but then I realize that &lt;strong&gt;all the other Sitecore instances are working perfectly&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it can help, there it is the full stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Win32Exception (0x80004005): No process is on the other end of the pipe]&#xA;&#xA;[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)]&#xA;   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection) +345&#xA;   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection) +156&#xA;   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connection) +258&#xA;   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +312&#xA;   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +202&#xA;   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +413&#xA;   System.Data.SqlClient.SqlConnection.Open() +128&#xA;   Sitecore.Data.DataProviders.Sql.DataProviderCommand..ctor(IDbCommand command, DataProviderTransaction transaction, Boolean openConnection) +107&#xA;   Sitecore.Data.DataProviders.Sql.&amp;lt;&amp;gt;c__DisplayClass26_0.&amp;lt;CreateCommand&amp;gt;b__0() +48&#xA;   Sitecore.Data.DataProviders.NullRetryer.Execute(Func`1 action, Action recover) +290&#xA;   Sitecore.Data.DataProviders.Sql.&amp;lt;&amp;gt;c__DisplayClass29_0.&amp;lt;CreateReader&amp;gt;b__0() +30&#xA;   Sitecore.Data.DataProviders.NullRetryer.Execute(Func`1 action, Action recover) +290&#xA;   Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateReader(String sql, Object[] parameters) +281&#xA;   Sitecore.Data.Properties.SqlPropertyStore.GetStringValueCore(String name) +459&#xA;   Sitecore.Data.Properties.SqlPropertyStore.GetStringValue(String name) +73&#xA;   Sitecore.ContentSearch.Maintenance.IndexDatabasePropertyStore.Get(String key) +136&#xA;   Sitecore.ContentSearch.SolrProvider.SolrIndexSummary.get_LastUpdatedTimestamp() +82&#xA;   Sitecore.ContentSearch.Maintenance.Strategies.BaseAsynchronousStrategy.LogStrategyInitialization(ISearchIndex index) +94&#xA;   Sitecore.ContentSearch.Maintenance.Strategies.BaseAsynchronousStrategy.Initialize(ISearchIndex searchIndex) +83&#xA;   Sitecore.ContentSearch.Maintenance.Strategies.IntervalAsynchronousStrategy.Initialize(ISearchIndex searchIndex) +18&#xA;   Sitecore.ContentSearch.TypeActionHelper.Call(Action`1 action, IEnumerable`1 instances) +197&#xA;   Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Initialize() +180&#xA;   Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.Initialize() +169&#xA;   Sitecore.ContentSearch.SolrProvider.SolrNetIntegration.DefaultSolrStartUp.Initialize() +923&#xA;   (Object , Object[] ) +71&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +161&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +767&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +580&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +353&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341&#xA;&#xA;[HttpException (0x80004005): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any help would be hugely appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-11-11T15:02:00.797" Title="YSOD When trying to open the login page - &quot;No process is on the other end of the pipe&quot;" Tags="|sql-database|login|" AnswerCount="1" CommentCount="2" ClosedDate="2019-11-11T15:07:27.273" ContentLicense="CC BY-SA 4.0" />
  <row Id="16778" PostTypeId="2" ParentId="16776" CreationDate="2019-02-14T13:59:46.230" Score="0" Body="&lt;p&gt;This can be caused by the &quot;Maximum number of concurrent connections&quot; setting in SQL Server being set too low for your situation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From SQL Server Management Studio:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Connect to your instance&lt;/li&gt;&#xA;&lt;li&gt;Right click your SQL instance in the Object Explorer and choose Properties.&lt;/li&gt;&#xA;&lt;li&gt;Select the Connections page and ensure you set the concurrent connections to an appropriate number, or zero for unlimited connections &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7zAeb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7zAeb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this is not the issue, it can be helpful when diagnosing an issue to check the SQL Server Error Logs and the Windows Event Logs for further information.&lt;/p&gt;&#xA;" OwnerUserId="5012" LastActivityDate="2019-02-14T13:59:46.230" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16779" PostTypeId="1" CreationDate="2019-02-14T14:16:28.660" Score="2" ViewCount="764" Body="&lt;p&gt;I am using SXA 1.8, and Sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to add a validation for a Date type field where it is required, and the user cannot save the item unless this field has a value, I have copied Sitecore's &quot;Required&quot; validator found at /sitecore/system/Settings/Validation Rules/Field Rules/Required, and added the following to it:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/x06d1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x06d1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then added this validation for the template field i wanted, like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/l7S6e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l7S6e.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, whenever i try to save the items of that template without filling in the required field, it saves normally,and no validation warning or anything is issued. Any advice on what could be missing to achieve the goal of stopping the user from saving if this field is not filled is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="3547" LastEditDate="2019-02-14T14:36:04.060" LastActivityDate="2019-02-20T15:04:30.593" Title="FatalError Required validation not working" Tags="|sxa|validation|" AnswerCount="0" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="16781" PostTypeId="2" ParentId="16726" CreationDate="2019-02-14T14:59:41.553" Score="8" Body="&lt;p&gt;After hours of investigating the issue, I found the problem that I am supposed to send the load command using ClientResponse instead of SendMessage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks, everyone for your help.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; string load = $&quot;item:load(id={workflowItem.ID},language={workflowItem.Language},version={workflowItem.Version})&quot;;&#xA; Context.ClientPage.ClientResponse.Timer(load, 2);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5033" LastEditorUserId="5033" LastEditDate="2019-02-14T16:26:15.270" LastActivityDate="2019-02-14T16:26:15.270" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16782" PostTypeId="1" CreationDate="2019-02-14T15:01:46.777" Score="0" ViewCount="80" Body="&lt;p&gt;In the Sitecore EE on a Windows machine you can hold the ctrl key and then click on a link to force Sitecore to navigate to the link. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the equivalent on Mac? We have tried &quot;CMD+click&quot;, &quot;ctrl+click&quot;, &quot;alt+click&quot;.&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2019-02-14T18:30:42.943" Title="Sitecore EE Ctrl+Click equivalent for Mac" Tags="|experience-editor|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16783" PostTypeId="1" CreationDate="2019-02-14T16:00:01.190" Score="-1" ViewCount="603" Body="&lt;p&gt;I want to replace an item with another item in a Treelist. Basically, the items I want to replace are broken links. Suppose,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two items A and B. A is used in a Treelist field, so I want to replace item A with item B in Treelist by using their ID.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know the optimal solution. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="73" LastEditDate="2021-06-27T13:42:20.613" LastActivityDate="2021-06-28T09:24:13.013" Title="How to replace an item with another item by ID in Treelist field using Powershell?" Tags="|powershell-extensions|tree-list|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="16784" PostTypeId="2" ParentId="6393" CreationDate="2019-02-14T16:13:34.137" Score="-1" Body="&lt;p&gt;On our infrastructure (Sitecore 9 Update 2, with Azure Search) we were seeing thousands of 404 errors for sitecore-fxm-web-index (below over a 30mins period).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hbN46.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hbN46.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried rebuilding the indexes, and redeploying the marketing definitions and in the end the only thing that fixed the issue was creating a &quot;Test&quot; FXM item with nothing in it, publishing that to Web DB, and then rebuilding sitecore-fxm-web-index.&lt;/p&gt;&#xA;" OwnerUserId="1369" LastActivityDate="2019-02-14T16:13:34.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16785" PostTypeId="2" ParentId="16597" CreationDate="2019-02-14T16:16:16.347" Score="0" Body="&lt;p&gt;Thanks, Gobinath I was able to implement the solution based on your sample code and I am adding the code for missing pieces like below&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;How to refresh the Sitecore item on ContentEditor without having to&#xA;refresh the browser. &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Having a new field to preserve the out of the box next state feature, I added a new field to the new template&#xA;which inherited the Action template.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        public void Process(WorkflowPipelineArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)args, nameof(args));&#xA;            Item workflowItem = args.DataItem;&#xA;&#xA;            string nextStateId = args.CommandItem.Fields[&quot;Authentication Next State&quot;]?.GetValue(true);&#xA;&#xA;            NameValueCollection parameters = new NameValueCollection();&#xA;           //Add paramters here if needed any&#xA;&#xA;            Context.ClientPage.Start(this, &quot;Run&quot;, new ClientPipelineArgs() { Parameters = parameters });&#xA;        }&#xA;&#xA;        private void Run(ClientPipelineArgs args)&#xA;        {&#xA;            if (args.IsPostBack)&#xA;            {&#xA;                if (args.HasResult)&#xA;                {&#xA;                    string isUserAuthenticated = args.Result?.ToLower();&#xA;&#xA;                    if (isUserAuthenticated == &quot;true&quot;)&#xA;                    {&#xA;                        string itemId = args.Parameters[&quot;workflowItemId&quot;];&#xA;                        string nextStateId = args.Parameters[&quot;nextStateId&quot;];&#xA;&#xA;                        Item item = Global.ContentDatabase.GetItem(itemId);&#xA;                        string workflowNextState = Global.ContentDatabase.GetItem(nextStateId)?.DisplayName;&#xA;&#xA;                        if (!string.IsNullOrWhiteSpace(workflowNextState))&#xA;                        {&#xA;&#xA;                            WorkflowResult result = ChangeWorkflowState(item, workflowNextState);&#xA;&#xA;                            if (result.Succeeded)&#xA;                            {&#xA;                                string itemLang = args.Parameters[&quot;workflowItemLanguage&quot;];&#xA;                                string itemVersion = args.Parameters[&quot;workflowItemVersion&quot;];&#xA;&#xA;                                //Refresh the item on content editor&#xA;                                string load = $&quot;item:load(id={itemId},language={itemLang},version={itemVersion})&quot;;&#xA;                                Context.ClientPage.ClientResponse.Timer(load, 0);&#xA;                            }&#xA;                            else&#xA;                            {&#xA;                                SheerResponse.Alert(result.Message);&#xA;                            }&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                string controlUri = UIUtil.GetUri(&quot;control:AuthenticationDialog&quot;);&#xA;&#xA;                SheerResponse.ShowModalDialog(controlUri, true);&#xA;                args.WaitForPostBack();&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To set the result from the Modal&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SheerResponse.SetDialogValue(&quot;add the result&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5033" LastEditorUserId="5033" LastEditDate="2019-02-14T16:22:52.523" LastActivityDate="2019-02-14T16:22:52.523" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16786" PostTypeId="1" AcceptedAnswerId="16789" CreationDate="2019-02-14T17:35:35.693" Score="0" ViewCount="452" Body="&lt;p&gt;Hello fellow Sitecoreans,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hoping someone can answer these...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Cortex Content Tagging replace Marketing Taxonomies in Sitecore 9.1?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not, in which scenarios would each apply?&lt;/p&gt;&#xA;" OwnerUserId="1111" LastActivityDate="2019-02-14T18:57:14.933" Title="Cortex Content Tagging vs Marketing Taxonomies" Tags="|marketing-control-panel|taxonomy|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16787" PostTypeId="1" AcceptedAnswerId="16879" CreationDate="2019-02-14T18:12:49.513" Score="2" ViewCount="1382" Body="&lt;p&gt;I'm on &lt;strong&gt;Solr 4.10.4&lt;/strong&gt;, &lt;strong&gt;Sitecore 8.1 160519&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I finally managed to convert my Lucene custom index configuration to Solr, but some indexes are not tokenized. The custom index &quot;parsed_answers&quot; on Lucene is defined as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;parsed_answers&quot; storageType=&quot;yes&quot; indexType=&quot;tokenized&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;while on Solr is defined like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;parsed_answers&quot; returnType=&quot;stringCollection&quot; storageType=&quot;yes&quot; indexType=&quot;tokenized&quot; multiValued=&quot;true&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My custom code returns a lengthy string. Lucene breaks it down into individual words and stores each word in the index individually. Solr simply takes the entire text blurb and indexes it. This is not desirable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have read about tokenizers in Solr:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;text&quot; class=&quot;solr.TextField&quot;&amp;gt;&#xA;  &amp;lt;analyzer&amp;gt;&#xA;    &amp;lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot;/&amp;gt;&#xA;  &amp;lt;/analyzer&amp;gt;&#xA;&amp;lt;/fieldType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I could not, however, find an example that I can use in my case yet - do I have to define a new typeMatch that is tokenized, or can I tokenize an existing one?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-02-19T09:46:44.280" Title="Solr and Tokenizers: how to tokenize specific indexes using Solr 4.10.4" Tags="|solr|indexing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16788" PostTypeId="2" ParentId="16782" CreationDate="2019-02-14T18:30:42.943" Score="1" Body="&lt;p&gt;Just tested this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ctrl + option + click&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-14T18:30:42.943" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16789" PostTypeId="2" ParentId="16786" CreationDate="2019-02-14T18:57:14.933" Score="2" Body="&lt;p&gt;If you're talking about the taxonomies in the Marketing Control Panel, then the answer is no.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Cortex Content Tagging in 9.1 lets you apply structured tags to page level content.  That gets fed to Open Calais (&lt;a href=&quot;http://www.opencalais.com/opencalais-api/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.opencalais.com/opencalais-api/&lt;/a&gt;) for ML modeling &amp;amp; analysis.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The taxonomies settings in the Marketing Control Panel are available to build out relationships between things like campaigns, goals, channels, etc.  A lot of that flows through to the Experience Analytics.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RUOfe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RUOfe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-02-14T18:57:14.933" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16790" PostTypeId="2" ParentId="14762" CreationDate="2019-02-14T19:19:24.293" Score="9" Body="&lt;p&gt;I would say it all depends on the complexity of your domain. If the amount of business logic and 3-rd party integrations is low, it might be enough to keep the code in the appropriate Feature/Foundation module, as Mark has mentioned above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you have a complex domain (e.g you are building some enterprise-level project), where amount of bussiness logic is high, it is worth considering separating it to a separate microservice(s). In this case Sitecore will be responsible only for handling content (and analytics), while your Business API microservice(s) will handle all the business logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In comparison to hosting business logic within Sitecore, this approach has the following &lt;strong&gt;advantages&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Scalability of application&lt;/strong&gt;. API can be scaled independently from Sitecore instances. Moreover, since API is not hosted within Sitecore instance anymore, it would require much less hardware resources.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Freedom of technology choice&lt;/strong&gt;. You are not bound to Sitecore's framework dependencies, so you can easily build APIs on top of ASP.NET Core and even any other platforms/languages, like Node.JS&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Perfomance improvement&lt;/strong&gt;. Sitecore adds some overhead to each HTTP request, which will not happen with separately hosted API.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Scalability of a team&lt;/strong&gt;. Developers working on business logic APIs do not need to know how Sitecore works anymore. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;However, there is certainly a price to pay:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Deployment of the APIs.&lt;/strong&gt; You will have to setup a separate CI/CD pipeline for your APIs.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Accessing Sitecore items.&lt;/strong&gt; If your business logic needs to access data from Sitecore (e.g some implementations store some configuration in Sitecore items), you will probably need to move configuration away from Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Sitecore analytics integration.&lt;/strong&gt; If you have a requirement to personalize your website based on data from your business domain, the implementation will be more complex.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="862" LastActivityDate="2019-02-14T19:19:24.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16791" PostTypeId="1" AcceptedAnswerId="16792" CreationDate="2019-02-14T19:32:54.713" Score="3" ViewCount="1615" Body="&lt;p&gt;I was looking into installing Sitecore 9.1 and was reviewing the modules compatibility table for XP (&lt;a href=&quot;https://kb.sitecore.net/articles/541788&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/541788&lt;/a&gt;) and was surprised to see no support for Active Directory modules. That would be a deal breaker for us. Did they replace it with something else to allow you to configure connectivity with Active Directory?&#xA;Please and thank you.&lt;/p&gt;&#xA;" OwnerUserId="5073" LastActivityDate="2021-05-31T06:55:20.637" Title="Sitecore 9.1 and Active Directory compatibility question" Tags="|configuration|active-directory-module|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16792" PostTypeId="2" ParentId="16791" CreationDate="2019-02-14T19:43:10.623" Score="2" Body="&lt;p&gt;Sitecore 9.1 uses an Identity server to handle logins instead of the old methods. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;With federated authentication now in widespread use across the industry, Sitecore finally provides user authentication and authorization through a centralized federation service. Built and run as a separate application, Identity replaces the traditional Sitecore login process, and provides federated authentication options and single-sign services in one portal.&quot; &lt;br&gt;&#xA;&lt;a href=&quot;https://blogs.perficientdigital.com/2018/11/01/the-top-new-features-in-sitecore-9-1-and-why-they-matter/&quot; rel=&quot;nofollow noreferrer&quot;&gt;9.1 sitecore updates&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-identity-server-authentication.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 9.1 Identity Server&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4974" LastActivityDate="2019-02-14T19:43:10.623" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16793" PostTypeId="2" ParentId="10514" CreationDate="2019-02-14T21:37:11.540" Score="4" Body="&lt;p&gt;I'm adding this answer as well in case you are not in the situation that the marked answer suggests. Another thing to check is your indexes. The forms on the Sitecore Forms page are queried from the search index, not the content tree, and therefore, if your indexes are not populated with those forms, they won't show up. Please refer to this blog post for more information: &lt;a href=&quot;https://citizensitecore.com/2017/11/19/sitecore-9-forms-form-doesnt-show-up-after-creation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://citizensitecore.com/2017/11/19/sitecore-9-forms-form-doesnt-show-up-after-creation/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rebuilding your master index is the way to resolve that issue (or highlight the forms folder and use the &quot;Reindex Tree&quot; option in the developer toolbar of the content editor).&lt;/p&gt;&#xA;" OwnerUserId="1085" LastActivityDate="2019-02-14T21:37:11.540" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16797" PostTypeId="1" CreationDate="2019-02-15T06:57:25.263" Score="6" ViewCount="266" Body="&lt;p&gt;Do the Sitecore 9 forms meet the standards from WCAG 2.1? I've read that they meet the 2.0 but couldn't find anything around 2.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any documentation that I could have a look?&lt;/p&gt;&#xA;" OwnerUserId="321" LastEditorUserId="73" LastEditDate="2019-02-15T07:18:23.553" LastActivityDate="2023-12-23T20:01:30.130" Title="Does Sitecore Forms meet the standards from WCAG 2.1" Tags="|sitecore-forms|accessibility|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16798" PostTypeId="2" ParentId="14762" CreationDate="2019-02-15T08:51:17.173" Score="0" Body="&lt;p&gt;Definitely keep your business logic in feature projects. As previous answers gave you example with newsletter I will explain with same example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have newsletter part of your page. Create newsletter feature project and inside it put Models, Views, Controllers, Services, Repositories and everything related to it. I also like to put scripts and css files on feature level. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Places where you use foundation are some things that are common for everything let's say you implement some Mapper for mapping Sitecore items into Models. You will create for that Foundation.Mappers project and reference it from any feature project where you use it.&lt;/p&gt;&#xA;" OwnerUserId="5028" LastActivityDate="2019-02-15T08:51:17.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16799" PostTypeId="2" ParentId="16787" CreationDate="2019-02-15T09:05:19.270" Score="1" Body="&lt;p&gt;On &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/field-types-included-with-solr.html#field-types-included-with-solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/field-types-included-with-solr.html#field-types-included-with-solr&lt;/a&gt; you can find a description of the Solr field types. (or &lt;a href=&quot;https://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.10.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.10.pdf&lt;/a&gt; for Solr 4)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For &quot;string&quot; they mention:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;String (UTF-8 encoded string or Unicode). Strings are intended for&#xA;  small fields and are not tokenized or analyzed in any way. They have a&#xA;  hard limit of slightly less than 32K.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As your stringCollection is a collection of strings, they will not be tokenized. To get that functionality, you need to use text - or in your multiple value case a &lt;code&gt;textCollection&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Must admit that I never used a textCollection myself, but based on the docs that should work.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-02-15T12:56:42.913" LastActivityDate="2019-02-15T12:56:42.913" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="16800" PostTypeId="1" CreationDate="2019-02-15T10:04:30.470" Score="3" ViewCount="400" Body="&lt;p&gt;Sitecore's &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/tracking-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; always talks about how the same person comes back to the site and is identified. How are multiple persons handled?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Say that a person first enters the site (anonymous tracking), he logs in, and the tracking becomes an identified contact. The person logs out, but then his wife logs in, in the same browser, without closing anything. What happens in this scenario?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; will at that moment still point to the first person, and when identifying the second person, contact data &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/contact-merge.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;will be merged&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This instinctively seems like a bad idea, and seems like it will copy data from the first contact to the second contact. Can &lt;code&gt;Tracker.Current.Contact&lt;/code&gt; be fully trusted in such scenarios (when logged in or not)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what is really happening when you have two people using the same computer/browser, which dangers does it pose, and how can you resolve any potential conflicts arising from such usage?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Sitecore 9.1&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="3587" LastActivityDate="2019-07-12T15:17:29.903" Title="Tracking and identifying multiple users on the same session" Tags="|xdb|xconnect|tracking|cookies|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16801" PostTypeId="1" AcceptedAnswerId="16802" CreationDate="2019-02-15T10:05:21.273" Score="1" ViewCount="917" Body="&lt;p&gt;The newly created JSS react app does not start. It shows completely blank page and shows error in the console while accessing the public URL i.e. &lt;a href=&quot;http://jssreactweb/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jssreactweb/&lt;/a&gt;, Using fresh install of Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Access to fetch at '&lt;a href=&quot;http://jss.sc/sitecore/api/jss/dictionary/JssReactWeb/en?sc_apikey=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jss.sc/sitecore/api/jss/dictionary/JssReactWeb/en?sc_apikey=&lt;/a&gt;{867CBF59-08E5-4B74-A106-A34485DB1D92}' from origin '&lt;a href=&quot;http://jssreactweb&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://jssreactweb&lt;/a&gt;' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is the console log.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KSycv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KSycv.png&quot; alt=&quot;JSS Issue&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2020-03-02T03:25:33.063" Title="Newly created JSS react app does not start and show blank page" Tags="|jss|react|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16802" PostTypeId="2" ParentId="16801" CreationDate="2019-02-15T10:05:21.273" Score="2" Body="&lt;p&gt;First thing you need to do is to check if the CORS Origins in your API key is not empty and should allow something, you can use &lt;code&gt;*&lt;/code&gt; for allowing all. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7eTQj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7eTQj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, while accessing the public URL i.e. &lt;code&gt;http://jssreactweb/&lt;/code&gt; &lt;em&gt;(may be different depending on your installation and configurations)&lt;/em&gt;&#xA;You need to publish this API key. &lt;em&gt;(It will be nice if you publish the whole website.)&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2019-02-15T10:05:21.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16803" PostTypeId="2" ParentId="16800" CreationDate="2019-02-15T10:19:21.690" Score="0" Body="&lt;p&gt;Pete Navarra wrote a &lt;a href=&quot;https://sitecorehacker.com/2018/01/28/sitecore-users-vs-sitecore-contacts-one-is-not-like-the-other/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post touching this subject&lt;/a&gt; (See the last part &quot;Why is managing the contact cookie important&quot;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically he describes to end the visit and invalidate the cookie by using 2 lines of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.EndVisit(true);&#xA;HttpContext.Current.Session.Abandon();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In case visitors do not end their session by logging out I don't think there's any way to prevent a mixup of interactions.&lt;/p&gt;&#xA;" OwnerUserId="2420" LastActivityDate="2019-02-15T10:19:21.690" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16805" PostTypeId="5" CreationDate="2019-02-15T11:02:59.217" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-02-15T11:02:59.217" LastActivityDate="2019-02-15T11:02:59.217" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16806" PostTypeId="4" CreationDate="2019-02-15T11:02:59.217" Score="0" Body="TypeScript is an open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language. All question related to this topic in Sitecore reference, should use this tag." OwnerUserId="2727" LastEditorUserId="277" LastEditDate="2019-02-15T11:07:16.067" LastActivityDate="2019-02-15T11:07:16.067" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16807" PostTypeId="5" CreationDate="2019-02-15T11:04:42.850" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-02-15T11:04:42.850" LastActivityDate="2019-02-15T11:04:42.850" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16808" PostTypeId="4" CreationDate="2019-02-15T11:04:42.850" Score="0" Body="React is a JavaScript library for building user interfaces. This tag can be used for all questions related it." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-02-15T11:46:39.440" LastActivityDate="2019-02-15T11:46:39.440" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16809" PostTypeId="5" CreationDate="2019-02-15T11:05:49.010" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-02-15T11:05:49.010" LastActivityDate="2019-02-15T11:05:49.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16810" PostTypeId="4" CreationDate="2019-02-15T11:05:49.010" Score="0" Body="Sitecore.Services introduce a new abstract class called ServicesApiController that derives from the System.Web.ApiController. Related questions should use this tag." OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-02-15T11:46:31.680" LastActivityDate="2019-02-15T11:46:31.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16812" PostTypeId="1" AcceptedAnswerId="17215" CreationDate="2019-02-15T11:59:47.733" Score="2" ViewCount="449" Body="&lt;p&gt;is there any way to show the separate page based on personalisation rule? i need to show one page when the user is authenticated and another page when user is not authenticated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Personalization is the best way here? any other way to achieve here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we may use Azure AD authentication with Sitecore jSS.&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="4085" LastEditDate="2019-02-18T12:15:18.443" LastActivityDate="2019-03-05T07:10:16.910" Title="Pesonalization rule for the page - not component level" Tags="|jss|personalization|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16813" PostTypeId="1" CreationDate="2019-02-15T12:03:22.953" Score="1" ViewCount="911" Body="&lt;p&gt;I am getting following error &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Unexpected response from import service: Error: getaddrinfo ENOTFOUND http http:80 &#xA;&quot;while running this command &quot;&#xA;jss deploy app --includeContent --includeDictionary&quot; &#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Even I am not getting any JSON result after hitting this below URL &lt;code&gt;http://myapp.siteco.re/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey={newly generated key}.&lt;/code&gt; but I have generated the API key under this path&#xA;&lt;code&gt;/sitecore/system/Settings/Services/API Keys&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hoping both issues are inter-related. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking forward for your suggestion or work around to solve this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA; GR &lt;/p&gt;&#xA;" OwnerUserId="5078" LastEditorUserId="70" LastEditDate="2019-02-15T15:00:00.790" LastActivityDate="2024-02-25T01:06:00.737" Title="Unexpected response from import service: Error: getaddrinfo ENOTFOUND http http:80" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16814" PostTypeId="2" ParentId="16812" CreationDate="2019-02-15T12:26:42.380" Score="0" Body="&lt;p&gt;You can only personalize renderings on a page. In order to show entirely different pages based login state you can use rights i.E. deny read for extranet/Anonymous on the page that sould only be visible for logged in users and vice versa.&lt;/p&gt;&#xA;" OwnerUserId="681" LastActivityDate="2019-02-15T12:26:42.380" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16815" PostTypeId="2" ParentId="16812" CreationDate="2019-02-15T13:07:20.950" Score="0" Body="&lt;p&gt;If I understand your requirement, you want to redirect the user to right page if the user tries to access the wrong page, based on login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say page A should be shown to logged in user and page B should be shown if the user is not logged in i.e. anonymous user. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may develop a rendering which does the redirect work. &#xA;Like on page A, set up this rendering to redirect to page B if an anonymous user tries to access page A. &#xA;Also, set up this redirect rendering on page B to redirect logged in user to page A.&#xA;You may have datasource for the rendering to provide information about where to redirect.&#xA;Redirect on either page will happen only if rendering is loaded. So, you may manage the loading of the rendering based on personalization. &#xA;You may use Security condition 'where the current user is anonymous' as shown below.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TMglY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TMglY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2979" LastActivityDate="2019-02-15T13:07:20.950" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16816" PostTypeId="2" ParentId="16705" CreationDate="2019-02-15T13:16:26.503" Score="2" Body="&lt;p&gt;The plans a contact is enrolled in is stored in a built-in facet on the contact called &lt;code&gt;AutomationPlanEnrollmentCache&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can get the facet like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (XConnectClient client = SitecoreXConnectClientConfiguration.GetClient())&#xA;{&#xA;    var contact = client.Get(&#xA;        new IdentifiedContactReference(&quot;Your Known ID Type&quot;, &quot;Your Contact ID&quot;),&#xA;        new ContactExpandOptions(AutomationPlanEnrollmentCache.DefaultFacetKey));&#xA;    var enrollmentCacheFacet = contact.GetFacet&amp;lt;AutomationPlanEnrollmentCache&amp;gt;(&#xA;        AutomationPlanEnrollmentCache.DefaultFacetKey);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The facet contains a list of all plans the user is enrolled in. The &lt;code&gt;AutomationPlanDefinitionId&lt;/code&gt; is the ID of the plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ztggT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ztggT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing that &lt;code&gt;ActivityId&lt;/code&gt; defines which element in the plan the user is currently at, but I haven't done enough research into that to actually confirm this. The other properties on the facet should be self-explanatory :)&lt;/p&gt;&#xA;" OwnerUserId="3587" LastActivityDate="2019-02-15T13:16:26.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16817" PostTypeId="1" CreationDate="2019-02-15T13:48:06.137" Score="1" ViewCount="150" Body="&lt;p&gt;Is there a way to create sections within your field sections?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- Field Section&#xA;    - Field&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For example I would like the following template setup to be like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- Header&#xA;    - Header Title&#xA;    - Header Body&#xA;    - Header Image&#xA;- Introduction&#xA;    - Introduction Title&#xA;    - Introduction Body&#xA;    - Introduction Image&#xA;- Image gallery&#xA;    - Image 1&#xA;        - Image&#xA;        - Caption&#xA;        - Author&#xA;    - Image 2&#xA;        - Image&#xA;        - Caption&#xA;        - Author&#xA;    - Image 3&#xA;        - Image&#xA;        - Caption&#xA;        - Author&#xA;    - Image 4&#xA;        - Image&#xA;        - Caption&#xA;        - Author&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But instead the implementation looks like the following&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- Header&#xA;    - Header Title&#xA;    - Header Body&#xA;    - Header Image&#xA;- Introduction&#xA;    - Introduction Title&#xA;    - Introduction Body&#xA;    - Introduction Image&#xA;- Image gallery&#xA;    - Image 1 Image&#xA;    - Image 1 Caption&#xA;    - Image 1 Author&#xA;    - Image 2 Image&#xA;    - Image 2 Caption&#xA;    - Image 2 Author&#xA;    - Image 3 Image&#xA;    - Image 3 Caption&#xA;    - Image 3 Author&#xA;    - Image 4 Image&#xA;    - Image 4 Caption&#xA;    - Image 4 Author&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4927" LastActivityDate="2019-02-15T13:51:59.057" Title="Is it possible to create sub-sections within your field sections?" Tags="|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16818" PostTypeId="2" ParentId="16817" CreationDate="2019-02-15T13:51:59.057" Score="3" Body="&lt;p&gt;No, it's not possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should think about having separate template for &lt;code&gt;Image Gallery Item&lt;/code&gt; with &lt;code&gt;Image&lt;/code&gt;, &lt;code&gt;Caption&lt;/code&gt; and &lt;code&gt;Author&lt;/code&gt; fields&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And then some multilist field maybe for selecting which images should be displayed in the gallery.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or you may want to create your &lt;code&gt;Image Gallery Item&lt;/code&gt; items as child items of the datasource of your component.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-15T13:51:59.057" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16819" PostTypeId="1" AcceptedAnswerId="16821" CreationDate="2019-02-15T15:06:18.213" Score="2" ViewCount="2501" Body="&lt;p&gt;I'm trying to write a simple Powershell script that finds all &lt;code&gt;General Link&lt;/code&gt; fields and outputs the value of their &lt;code&gt;Source&lt;/code&gt; field.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;$fields = Get-ChildItem -Path &amp;quot;master://sitecore/templates/user defined&amp;quot; -Recurse | Where-Object { $_.TemplateName -eq &amp;quot;Template field&amp;quot; -and $_.Type -eq &amp;quot;General Link&amp;quot; }&#xA;&#xA;foreach ($field in $fields) {&#xA;    Write-Host &amp;quot;Name: $($field.Name)&amp;quot;&#xA;    Write-Host &amp;quot;Source: $($field.Source)&amp;quot;&#xA;    Write-Host&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Whenever I run it, however, the value from the &lt;code&gt;Source&lt;/code&gt; field is empty for all returned items.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jBsSR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jBsSR.png&quot; alt=&quot;Returned list of fields and empty sources&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I've confirmed that it is populated in at least some of the cases, but it never shows up in the report. I've tried several variations to get the value, too:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;$fields | Show-ListView -property `&#xA;    @{ Name=&amp;quot;Path&amp;quot;; Expression={$_.Paths.Path} },&#xA;    @{ Name=&amp;quot;Source&amp;quot;; Expression={$_.Source} },&#xA;    @{ Name=&amp;quot;Source With Quotes&amp;quot;; Expression={$_.&amp;quot;Source&amp;quot;} }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h1&gt;Versions&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore version: 8.1 Update 3&lt;/li&gt;&#xA;&lt;li&gt;Sitecore PowerShell Extensions version: 5.0.0.42513&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-15T16:57:14.333" Title="Sitecore Powershell Extensions not returning field source value" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16820" PostTypeId="2" ParentId="16819" CreationDate="2019-02-15T15:18:09.647" Score="3" Body="&lt;p&gt;The issue is that the &lt;code&gt;Source&lt;/code&gt; field is of type &lt;code&gt;Template Field Source&lt;/code&gt;, which seems to not automatically emit a value if you simply access the field directly on the item (&lt;code&gt;$field.Source&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, you must get the field and get the value from that field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$field.Fields['Source'].Value&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-15T15:18:09.647" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16821" PostTypeId="2" ParentId="16819" CreationDate="2019-02-15T15:26:29.487" Score="7" Body="&lt;p&gt;There is no &lt;code&gt;Source&lt;/code&gt; property on &lt;code&gt;Sitecore.Data.Items.Item&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to get &lt;code&gt;Source&lt;/code&gt; field value e.g. like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach ($field in $fields) {&#xA;    Write-Host &quot;Name: $($field.Name)&quot;&#xA;    Write-Host &quot;Source: $($field._.Source.Value)&quot;&#xA;    Write-Host&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-15T15:26:29.487" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16822" PostTypeId="2" ParentId="16765" CreationDate="2019-02-15T16:52:18.730" Score="1" Body="&lt;p&gt;You're saying that your solution does not have an images folder, but your css is referencing a relative images folder &quot;background-image: url(&quot;../images/gray-light-70.png&quot;);&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;JSS is trying to find all the images that your CSS references in order to include them in the generated bundle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either add the folder and file that your CSS is expecting, or remove the reference from your css, and then the deploy will work as expected.&lt;/p&gt;&#xA;" OwnerUserId="4949" LastActivityDate="2019-02-15T16:52:18.730" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16823" PostTypeId="2" ParentId="11674" CreationDate="2019-02-15T17:56:51.707" Score="1" Body="&lt;p&gt;Stackla Dashboard allows you to create widgets and customise them as you wish, and then generates a code that you can embed into your website page, i.e. you can easily bring a user-generated content on social networks: Facebook, Twitter, Instagram, YouTube, Flickr and Pinterest to your website. You can be more clever when embedding Stackla widgets into Sitecore and specify dynamic parameters based on how you want to change Stackla settings and your variety of pages where you will place your module on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can have a look at my implementation of Stackla widgets in Sitecore released on GitHub &lt;a href=&quot;https://github.com/kate-orlova/stackla-widgets-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;, it can be helpful for you.&lt;/p&gt;&#xA;" OwnerUserId="4390" LastActivityDate="2019-02-15T17:56:51.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16824" PostTypeId="1" AcceptedAnswerId="16828" CreationDate="2019-02-15T19:25:12.830" Score="0" ViewCount="70" Body="&lt;p&gt;I'm on &lt;strong&gt;Solr 4.10.4&lt;/strong&gt;, &lt;strong&gt;Sitecore 8.1 160519&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a custom index defined the following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;date_of_birth&quot; returnType=&quot;datetime&quot; type=&quot;MyProject.Search.ComputedFields.ParsedDateOfBirth,MyProject.Search&quot;&amp;gt;&#xA;    &amp;lt;name&amp;gt;date of birth&amp;lt;/name&amp;gt;&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I make sure that the &quot;ParseDateOfBirth&quot; returns a valid date - I tried with both a DateTime object or a string - and in either case I get the following result after inspecting the index with Luke:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vTekH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vTekH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="73" LastEditDate="2019-02-16T08:59:30.973" LastActivityDate="2019-02-16T16:47:23.723" Title="Datetime fields appear garbled in Solr" Tags="|solr|indexing|" AnswerCount="1" CommentCount="2" ClosedDate="2019-02-16T17:36:13.663" ContentLicense="CC BY-SA 4.0" />
  <row Id="16825" PostTypeId="1" AcceptedAnswerId="16897" CreationDate="2019-02-15T21:30:35.927" Score="1" ViewCount="1617" Body="&lt;p&gt;I can display a link from a field but I only want to display the link if it's been filled out by the user.  I tried surrounding by a conditional statement and checking for the field being null, but even when I don't have the field populated it comes back as true.  Here's the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;@using Sitecore.Mvc.Presentation&#xA;&#xA;@model Sitecore.Data.Items.Item&#xA;@if (Html.Sitecore().Field(&quot;External Link&quot;, Model) != null)&#xA;        {&#xA;            @Html.Sitecore().Field(&quot;External Link&quot;, Model, new { text = @Html.Sitecore().Field(&quot;Title&quot;, Model) })&#xA;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="1809" LastEditDate="2019-02-15T21:40:02.027" LastActivityDate="2019-02-19T17:41:15.343" Title="Checking if a general link is empty within a partial view" Tags="|mvc|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16826" PostTypeId="2" ParentId="16825" CreationDate="2019-02-16T01:51:07.950" Score="0" Body="&lt;p&gt;Sitecore won't return &lt;code&gt;null&lt;/code&gt; when you get a field value. Instead, check for an empty string:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if (!string.IsNullOrEmpty(Html.Sitecore().Field(&quot;External Link&quot;, Model)))&#xA;{&#xA;    @Html.Sitecore().Field(&quot;External Link&quot;, Model, new { text = @Html.Sitecore().Field(&quot;Title&quot;, Model) })&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-02-16T02:01:32.387" LastActivityDate="2019-02-16T02:01:32.387" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16827" PostTypeId="1" AcceptedAnswerId="16856" CreationDate="2019-02-16T06:12:51.523" Score="2" ViewCount="316" Body="&lt;p&gt;I installed &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;sitecore rocks from extensions and updates&#xA;   then I restarted my system.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;After I checked in VS2017, sitecore tab is not appearing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here below I included the installation log file for reference.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;16-02-2019 11:13:20 - Microsoft VSIX Installer&#xA;16-02-2019 11:13:20 - -------------------------------------------&#xA;16-02-2019 11:13:20 - vsixinstaller.exe version:&#xA;16-02-2019 11:13:20 - 15.9.3041&#xA;16-02-2019 11:13:20 - -------------------------------------------&#xA;16-02-2019 11:13:20 - Command line parameters:&#xA;16-02-2019 11:13:20 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\User\Downloads\Sitecore.Rocks.VisualStudio.vsix&#xA;16-02-2019 11:13:20 - -------------------------------------------&#xA;16-02-2019 11:13:20 - Microsoft VSIX Installer&#xA;16-02-2019 11:13:20 - -------------------------------------------&#xA;16-02-2019 11:13:22 - Initializing Install...&#xA;16-02-2019 11:13:22 - Extension Details...&#xA;16-02-2019 11:13:22 -   Identifier         : V6fb7d81e-c4ff-4b7f-adf4-b04e65155687&#xA;16-02-2019 11:13:22 -   Name               : Sitecore Rocks&#xA;16-02-2019 11:13:22 -   Author             : Sitecore&#xA;16-02-2019 11:13:22 -   Version            : 2.1.126&#xA;16-02-2019 11:13:22 -   Description        : Sitecore Rocks makes Sitecore developers happy.&#xA;&#xA;Directly integrated into Microsoft Visual Studio 2015/2017, Sitecore Rocks provides a fast and streamlined development experience with tools that developers are used to.        &#xA;16-02-2019 11:13:22 -   Locale             : en-US&#xA;16-02-2019 11:13:22 -   MoreInfoURL        : https://github.com/JakobChristensen/Sitecore.Rocks&#xA;16-02-2019 11:13:22 -   InstalledByMSI     : False&#xA;16-02-2019 11:13:22 -   SupportedFrameworkVersionRange : [4.5,)&#xA;16-02-2019 11:13:22 - &#xA;16-02-2019 11:13:22 -   SignatureState     : Unsigned&#xA;16-02-2019 11:13:22 -   Supported Products : &#xA;16-02-2019 11:13:22 -       Microsoft.VisualStudio.Community&#xA;16-02-2019 11:13:22 -           Version : [14.0,15.0]&#xA;16-02-2019 11:13:22 -       Microsoft.VisualStudio.Pro&#xA;16-02-2019 11:13:22 -           Version : [14.0,15.0]&#xA;16-02-2019 11:13:22 -       Microsoft.VisualStudio.Enterprise&#xA;16-02-2019 11:13:22 -           Version : [14.0,15.0]&#xA;16-02-2019 11:13:22 - &#xA;16-02-2019 11:13:22 -   References         : &#xA;16-02-2019 11:13:22 -   Prerequisites      : &#xA;16-02-2019 11:13:22 -       -------------------------------------------------------&#xA;16-02-2019 11:13:22 -       Identifier   : Microsoft.VisualStudio.Component.CoreEditor&#xA;16-02-2019 11:13:22 -       Name         : Visual Studio core editor&#xA;16-02-2019 11:13:22 -       Version      : [15.0.26208.0,16.0)&#xA;16-02-2019 11:13:22 - &#xA;16-02-2019 11:13:22 - Signature Details...&#xA;16-02-2019 11:13:22 -   Extension is not signed.&#xA;16-02-2019 11:13:22 - &#xA;16-02-2019 11:13:22 - Searching for applicable products...&#xA;16-02-2019 11:13:22 - Found installed product - Global Location&#xA;16-02-2019 11:13:22 - Found installed product - ssms&#xA;16-02-2019 11:13:22 - Found installed product - Visual Studio Community 2017&#xA;16-02-2019 11:13:22 - Capping recursion at 5 directories in each extension root due to 'default limit'.   &#xA;&#xA;16-02-2019 11:13:22 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Architecture Tools\Providers\Solution\extension.vsixmanifest'&#xA;16-02-2019 11:13:22 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Architecture Tools\Providers\ManagedProvider\extension.vsixmanifest'&#xA;16-02-2019 11:13:22 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Architecture Tools\GraphProviderPackage\extension.vsixmanifest'&#xA;16-02-2019 11:13:22 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\DataDesign\extension.vsixmanifest'&#xA;16-02-2019 11:13:22 - Capping recursion at 5 directories in each extension root due to 'default limit'.&#xA;16-02-2019 11:13:23 - Skipping 'C:\Program Files (x86)\Common Files\Microsoft\ExtensionManager\Extensions' as it doesn't exist&#xA;16-02-2019 11:13:23 - Skipping 'C:\Users\User\AppData\Local\Microsoft SDKs' as it doesn't exist&#xA;16-02-2019 11:13:23 - The extension with ID 'V6fb7d81e-c4ff-4b7f-adf4-b04e65155687' is not installed to Visual Studio Community 2017.&#xA;16-02-2019 11:13:26 - BEGIN: Processing extension pack&#xA;16-02-2019 11:13:26 - END: Processing extension pack&#xA;16-02-2019 11:13:26 - Initializing Install...&#xA;16-02-2019 11:13:26 - Extension Details...&#xA;16-02-2019 11:13:26 -   Identifier         : V6fb7d81e-c4ff-4b7f-adf4-b04e65155687&#xA;16-02-2019 11:13:26 -   Name               : Sitecore Rocks&#xA;16-02-2019 11:13:26 -   Author             : Sitecore&#xA;16-02-2019 11:13:26 -   Version            : 2.1.126&#xA;16-02-2019 11:13:26 -   Description        : Sitecore Rocks makes Sitecore developers happy.&#xA;&#xA;Directly integrated into Microsoft Visual Studio 2015/2017, Sitecore Rocks provides a fast and streamlined development experience with tools that developers are used to.        &#xA;16-02-2019 11:13:26 -   Locale             : en-US&#xA;16-02-2019 11:13:26 -   MoreInfoURL        : https://github.com/JakobChristensen/Sitecore.Rocks&#xA;16-02-2019 11:13:26 -   InstalledByMSI     : False&#xA;16-02-2019 11:13:26 -   SupportedFrameworkVersionRange : [4.5,)&#xA;16-02-2019 11:13:26 - &#xA;16-02-2019 11:13:26 -   SignatureState     : Unsigned&#xA;16-02-2019 11:13:26 -   Supported Products : &#xA;16-02-2019 11:13:26 -       Microsoft.VisualStudio.Community&#xA;16-02-2019 11:13:26 -           Version : [14.0,15.0]&#xA;16-02-2019 11:13:26 -       Microsoft.VisualStudio.Pro&#xA;16-02-2019 11:13:26 -           Version : [14.0,15.0]&#xA;16-02-2019 11:13:26 -       Microsoft.VisualStudio.Enterprise&#xA;16-02-2019 11:13:26 -           Version : [14.0,15.0]&#xA;16-02-2019 11:13:26 - &#xA;16-02-2019 11:13:26 -   References         : &#xA;16-02-2019 11:13:26 -   Prerequisites      : &#xA;16-02-2019 11:13:26 -       -------------------------------------------------------&#xA;16-02-2019 11:13:26 -       Identifier   : Microsoft.VisualStudio.Component.CoreEditor&#xA;16-02-2019 11:13:26 -       Name         : Visual Studio core editor&#xA;16-02-2019 11:13:26 -       Version      : [15.0.26208.0,16.0)&#xA;16-02-2019 11:13:26 - &#xA;16-02-2019 11:13:26 - Signature Details...&#xA;16-02-2019 11:13:26 -   Extension is not signed.&#xA;16-02-2019 11:13:26 - &#xA;16-02-2019 11:13:26 - Searching for applicable products...&#xA;16-02-2019 11:13:26 - Found installed product - Global Location&#xA;16-02-2019 11:13:26 - Found installed product - ssms&#xA;16-02-2019 11:13:26 - Found installed product - Visual Studio Community 2017&#xA;16-02-2019 11:13:26 - The extension with ID 'V6fb7d81e-c4ff-4b7f-adf4-b04e65155687' is not installed to Visual Studio Community 2017.&#xA;16-02-2019 11:13:33 - InstallProgressPage ChangeType: 'SingleInstall' operationCount: '2' Text: 'Installing Sitecore Rocks...'&#xA;16-02-2019 11:13:33 - The following target products have been selected...&#xA;16-02-2019 11:13:33 -   Visual Studio Community 2017&#xA;16-02-2019 11:13:33 - &#xA;16-02-2019 11:13:33 - Capping recursion at 5 directories in each extension root due to 'default limit'.&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\zq2obtwo.o1j\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\zmvnuj3n.cyw\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\zizq1sfm.ptb\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\ywq5o2i5.ryf\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\yjrei1nc.kes\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\x3spxubm.iy1\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\wsip5iun.qnf\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\TestWindow.Dotnet\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\TestPlatform\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\qub3c4ok.v1v\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\o3rkgae4.ems\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\neoyltg4.bmz\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Windows Azure Tools Diagnostics\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Windows Azure Tools\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Windows Azure Tools\RemoteDebugger2.2CTP\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Windows Azure Tools\RemoteDebugger\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Windows Azure Tools\Common\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Web Tools Azure\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Web Tools\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Web Tools\Shared\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Web Tools\Library Manager\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Web\Mvc\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Web\Mvc\Scaffolding\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\WCF Connected Service\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Visual Studio MPF\14.0\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Visual Studio MPF\12.0\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Visual Studio MPF\11.0\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Visual Studio MPF\10.0\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Unit Test Explorer\TestWIExtension\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\TemplateEngine\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\SQLEditor\Vsix\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\SQLDB\Vsix\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\SQLDB\SSDTUpdate\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Publish\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Portable Library Tools\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Modeling\15.0\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\Microsoft Office 365 Connected Service\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\ManagedProjectSystem\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\CodeSense\Framework\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\Microsoft\.NetNative\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\kzmqwvys.iuq\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\knw2g3bc.hyz\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\jixjdf4u.nps\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\ifcnfrm5.na3\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\hdqg42bz.ck3\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\fzb104b4.fzt\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\fldfgssw.v3t\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\fkpwklwm.vn4\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\eljob5zl.bhj\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\chvzxqpj.w4y\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\atfm2vvn.3hs\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\anvcgh0c.i33\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\55chhtd2.1tv\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\41t33m3p.xqm\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\3npakkoh.yf1\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\3dirqi3p.qqy\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\2eu3u23k.sgm\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\1voqhn4b.ji3\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\0104n003.i2v\extension.vsixmanifest'&#xA;16-02-2019 11:13:33 - Capping recursion at 5 directories in each extension root due to 'default limit'.&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\Visual Studio MPF\15.0\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\TreeNavigation\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\TreeNavigation\GraphProvider\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\Shell\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\PerfMarkers\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\ParallelDebugger\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\NavigateTo\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\NavigateTo\FileProvider\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\DotNetObjectAlloc\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\DiagnosticsHub\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\Debugger\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Platform\CPUSampling\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\XamlLanguageService\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\XamlDiagnostics\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\WebClient\Language Service\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\WebClient\Diagnostics\WebDiagnosticsAttach\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\WebClient\Diagnostics\ToolWindows\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\WebClient\Diagnostics\EdgeDebugAdapter\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\WebClient\Diagnostics\ChromeDebugAdapter\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Web\Razor\v3.0\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Web\Exports\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Web\ASPX\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\VisualStudio\Editors\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\TypeScript\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\TextMate\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\TestWindow\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\TemplateProviders\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\TeamFoundation\Team Explorer\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ReferenceManager\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\RazorLanguageServices\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ProjectServices\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Project\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ProductUpdate\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Performance Tools\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\OpenFolder\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\NuGet\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ManagedLanguages\VBCSharp\SourceBasedTestDiscovery\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ManagedLanguages\VBCSharp\LanguageServices\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ManagedLanguages\VBCSharp\InteractiveComponents\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ManagedLanguages\VBCSharp\ExpressionEvaluators\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\LanguageServer\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Language\GenerateType\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Language\CallHierarchy\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\InteractiveWindow\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\GettingStartedTemplates\Resources\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\FSharp\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ExtensionManager\ServiceModule\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ErrorList\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Editorconfig\Wizard\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Editor\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Diff\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\DesignTools\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\CodingConventions\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\CodeAnalysis\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ClientDiagnostics\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ClientDiagnostics\AppResponsiveness\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\ASP.NET Core\UserSecrets\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Architecture Tools\Providers\Solution\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Architecture Tools\Providers\ManagedProvider\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\Microsoft\Architecture Tools\GraphProviderPackage\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Found 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\DataDesign\extension.vsixmanifest'&#xA;16-02-2019 11:13:34 - Capping recursion at 5 directories in each extension root due to 'default limit'.&#xA;16-02-2019 11:13:34 - Skipping 'C:\Program Files (x86)\Common Files\Microsoft\ExtensionManager\Extensions' as it doesn't exist&#xA;16-02-2019 11:13:34 - Skipping 'C:\Users\User\AppData\Local\Microsoft SDKs' as it doesn't exist&#xA;16-02-2019 11:13:34 - Beginning to install extension to Visual Studio Community 2017...&#xA;16-02-2019 11:13:36 - Install to Visual Studio Community 2017 completed successfully. The extension has been installed to C:\USERS\USER\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_C2D19173\EXTENSIONS\K3KERKPG.H3D\&#xA;16-02-2019 11:13:36 - Failure encountered during /updateConfiguration step. Ignoring failure and considering requested operation a success.&#xA;&#xA;Exception: System.ComponentModel.Win32Exception (0x80004005): The requested operation requires elevation&#xA;   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)&#xA;   at System.Diagnostics.Process.Start()&#xA;   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)&#xA;   at Microsoft.VisualStudio.ExtensionManager.EngineUtilities.&amp;lt;RunUpdateConfigurationAsync&amp;gt;d__64.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at VSIXInstaller.Utilities.&amp;lt;RunUpdateConfiguration&amp;gt;d__8.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="4765" LastEditDate="2019-05-15T13:12:12.453" LastActivityDate="2019-05-15T13:12:12.453" Title="Sitecore Tab is not appearing after installing sitecore rocks" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16828" PostTypeId="2" ParentId="16824" CreationDate="2019-02-16T16:47:23.723" Score="1" Body="&lt;p&gt;This is expected behavior. You are looking at it in Luke. SOLR encodes the datetime fields so it can handle sorting/filtering in a better way than pure Lucene. If you look at the an item in the SOLR viewer, with a date field. You will find the date is perfect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I asked the same question a little while ago. The issue is don't look at Luke. Look at the SOLR viewer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/15370/solr-datetime-fields-not-readable&quot;&gt;SOLR datetime fields not readable&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-16T16:47:23.723" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16829" PostTypeId="1" CreationDate="2019-02-17T00:29:59.117" Score="0" ViewCount="401" Body="&lt;p&gt;I have a footer template that have Title, Description and links. Links are multi-list. I need to render the selected items from links multi-list with Title and description on footer view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know how we can do it by using Model rendering but is there is any other simple way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="4722" LastActivityDate="2019-02-17T00:29:59.117" Title="Multilist items render on MVC view by razor sysntax" Tags="|sitecore-api|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16831" PostTypeId="1" CreationDate="2019-02-17T10:30:50.703" Score="3" ViewCount="442" Body="&lt;p&gt;I have an issue on production environment that robots.txt is returning 404 on one CD server while it is working on the other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion if there is any missing configuration?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="2056" LastEditDate="2019-02-17T18:54:13.597" LastActivityDate="2020-04-25T14:00:10.007" Title="Sitecore SXA Multisite Robots.txt is returning 404 on one of CD servers" Tags="|sxa|multisite|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16832" PostTypeId="2" ParentId="13497" CreationDate="2019-02-17T11:37:09.173" Score="0" Body="&lt;p&gt;You can check your Store-frontend settings, under:&#xA;&lt;strong&gt;/sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/Storefront/Catalog Configuration&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Uw30s.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Uw30s.png&quot; alt=&quot;Storefrontend configuration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if you navigate there you will find the catalog:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ByeqJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ByeqJ.png&quot; alt=&quot;Catalog&quot;&gt;&lt;/a&gt;&#xA;As you can see &lt;strong&gt;&quot;Habitat Master&quot;&lt;/strong&gt; is set as the selected Catalog there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;furthermore you can run the sql query on the Sharedenvironment:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    SELECT TOP (1000) [Id]&#xA;      ,[EnvironmentId]&#xA;      ,[Version]&#xA;      ,[Entity]&#xA;      ,[EntityVersion]&#xA;      ,[Published]&#xA;  FROM [SitecoreCommerce9_SharedEnvironments].[dbo].[CatalogEntities]&#xA;  where id like '%Habitat%Master'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;if you check the entity you will see the parrent id of the catalog in sitecore:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/M2R4n.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M2R4n.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5080" LastEditorUserId="5278" LastEditDate="2020-04-15T12:38:29.870" LastActivityDate="2020-04-15T12:38:29.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16835" PostTypeId="1" CreationDate="2019-02-17T14:55:14.650" Score="0" ViewCount="271" Body="&lt;p&gt;I have created a new component to show Title, Description and Image. After deploying the component I am getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Minified React error #62; visit &lt;a href=&quot;https://reactjs.org/docs/error-decoder.html?invariant=62&amp;amp;args[]=&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://reactjs.org/docs/error-decoder.html?invariant=62&amp;amp;args[]=&lt;/a&gt; for the full message or use the non-minified dev environment for full errors and additional helpful warnings&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please help me with this error. Also it will be great help if you can guide me how to start with Sitecore First Approach development.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Alok...&lt;/p&gt;&#xA;" OwnerUserId="3196" LastEditorUserId="73" LastEditDate="2019-02-18T09:07:10.123" LastActivityDate="2019-02-18T09:07:10.123" Title="Getting error after deploy the new component" Tags="|jss|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16836" PostTypeId="2" ParentId="16284" CreationDate="2019-02-17T15:13:27.267" Score="0" Body="&lt;p&gt;The issue was because I missed to create the SOLR cores for SXA after the installation.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-02-17T15:13:27.267" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16837" PostTypeId="2" ParentId="15511" CreationDate="2019-02-17T15:22:38.753" Score="0" Body="&lt;p&gt;I came across the same error today and on investigation found another issue as the root cause. Logging it here for if someone else faces the same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The root cause was SOLR was running out of the JVM. The same can be validated by browsing the SOLR URI. A message of the error is displayed there. Same can also be found in the logs of SOLR.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-02-17T15:22:38.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16838" PostTypeId="1" AcceptedAnswerId="16843" CreationDate="2019-02-17T17:03:05.277" Score="1" ViewCount="116" Body="&lt;p&gt;&lt;strong&gt;Environemnt details&lt;/strong&gt;: Sitecore 9.0.2 + SXA 1.7.1&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;What is happening&lt;/strong&gt;: The options to modify the presentation are coming twice, as can be seen in the image below. On hovering over the  icons, message is same  for both.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/szwTF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/szwTF.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;What i have done&lt;/strong&gt;: In a fresh instance, i created a partial rendering and added a column splitter to it. Once i moved to one of the newly created columns, i saw this.&lt;/p&gt;&#xA;&lt;p&gt;Is this a bug? Or if it is something intentional, please help me to understand it.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-11-15T00:02:30.437" Title="Duplicate icons on column splitter in partial rendering" Tags="|sxa|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16840" PostTypeId="1" AcceptedAnswerId="16841" CreationDate="2019-02-17T18:55:13.953" Score="0" ViewCount="3516" Body="&lt;p&gt;For the rendering parameters, I have a droplist which consists of the friendly name of the &lt;code&gt;CSS-class&lt;/code&gt; which further consists of a value field for the actual &lt;code&gt;CSS-class&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my view when I try to retrieve the rendering parameter, I am always getting a friendly name and not the actual value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var parameter = RenderingContext.Current.Rendering.Parameters[&quot;Background&quot;];&#xA;&#xA;&amp;lt;div class=&quot;@parameter&quot;&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4997" LastEditorUserId="35" LastEditDate="2019-02-18T08:51:47.453" LastActivityDate="2019-02-21T13:04:42.320" Title="Get inner value of the rendering parameter" Tags="|presentation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16841" PostTypeId="2" ParentId="16840" CreationDate="2019-02-17T19:08:46.747" Score="5" Body="&lt;p&gt;From what I understand, you're using field of a &lt;code&gt;Droplist&lt;/code&gt; type. &lt;code&gt;Droplist&lt;/code&gt; fields always store their values as the name of the items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you may want instead is a &lt;code&gt;Droplink&lt;/code&gt; field. In the frontend value selector they look the same, but in the background they store item ID instead of item name.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-17T19:08:46.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16842" PostTypeId="1" CreationDate="2019-02-17T20:40:02.517" Score="1" ViewCount="784" Body="&lt;p&gt;My sitecore(9.1) 60-day trial licence has got expired but i want to use some other active licence with the same instance of the sitecore. Is it possible? if yes, then what are the changes required to do. Please explain in detail.&lt;/p&gt;&#xA;" OwnerUserId="5009" LastActivityDate="2019-02-17T22:14:45.770" Title="My sitecore licence got expired. Can I use other sitecore licence in the same sitecore instance" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16843" PostTypeId="2" ParentId="16838" CreationDate="2019-02-17T21:22:03.600" Score="0" Body="&lt;p&gt;This is not expected behavior. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Buttons should appear only once. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think that this is a cache invalidation problem. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you will clear &lt;code&gt;SXA[PlaceholderChromeData]&lt;/code&gt; cache, the problem should be gone.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-17T21:22:03.600" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16844" PostTypeId="1" CreationDate="2019-02-17T21:51:56.380" Score="0" ViewCount="661" Body="&lt;p&gt;I am able to get &lt;code&gt;Guid&lt;/code&gt; of seleced items by Glass Mapper but i don't know how i can get those item by Id and show them on view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass mapper property that i am using is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(&quot;Media Links&quot;)]&#xA;public virtual string MediaLinks { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4722" LastEditorUserId="35" LastEditDate="2019-02-18T10:48:28.840" LastActivityDate="2019-02-18T10:48:28.840" Title="Show Multi-list selected items on view by glass mapper" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16845" PostTypeId="2" ParentId="16844" CreationDate="2019-02-17T22:07:20.307" Score="3" Body="&lt;p&gt;What about mapping them directly to an Object instead of a string?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual IEnumerable&amp;lt;MyItem&amp;gt; { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-17T22:07:20.307" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16846" PostTypeId="2" ParentId="16842" CreationDate="2019-02-17T22:14:45.770" Score="8" Body="&lt;p&gt;Yes, it is possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, you must actually have a new license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, make sure you replace the expired license file(s) on your Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If you are using Sitecore 8.x the old file is under &lt;code&gt;./Data&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;If you are using Sitecore 9.0.x, then look at:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;.sc/App_Data&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;.xconnect/App_Data&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;If you are using Sitecore 9.1, then look at:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;.sc/App_Data&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;.xconnect/App_Data&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;.xconnect/jobs/continous/AutomationEngine/App_Data&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;.xconnect/jobs/continous/IndexWorker/App_Data&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;.xconnect/jobs/continous/ProcessingEngine/App_Data&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-17T22:14:45.770" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16847" PostTypeId="1" CreationDate="2019-02-18T04:19:54.330" Score="2" ViewCount="358" Body="&lt;p&gt;We have a problem where the Download script used as a right-click menu option is throwing an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YwbjP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YwbjP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking into the script, the problem appears to be how the value &lt;code&gt;[Sitecore.Configuration.Settings]::DataFolder&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's coming back with a relative path that seems to be used inconsistently by the saving and the downloading respectively.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I hard-code this value to be absolute, the functionality works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my sitecore config file I have the following, which I assume is what's being read here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore database=&quot;SqlServer&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;  &amp;lt;sc.variable name=&quot;dataFolder&quot; value=&quot;/App_Data&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I could patch this value to be the absolute path, but I'm not quite sure if there would be other implications for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although it's not a big deal for me to maintain my own version of the Powershell script, I want to check if this is actually something I should address in my config file - or even whether this is a weakness in the Powershell script itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across this before - and if so, how did you address it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have edited to include the actual script that performs the zip/download:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function ZipItems( $zipArchive, $sourcedir )&#xA;{&#xA;  Set-Location $sourcedir&#xA;  [System.Reflection.Assembly]::Load(&quot;WindowsBase,Version=3.0.0.0, `&#xA;      Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot;) | Out-Null&#xA;  $ZipPackage=[System.IO.Packaging.ZipPackage]::Open($zipArchive, `&#xA;      [System.IO.FileMode]::OpenOrCreate, [System.IO.FileAccess]::ReadWrite)&#xA;  $items = @(Get-Item $sourceDir) + (Get-ChildItem -recurse $sourceDir)&#xA;  [byte[]]$buff = new-object byte[] 40960&#xA;  $i = 0;&#xA;  ForEach ($item In $items) {&#xA;    $i++&#xA;    if([Sitecore.Resources.Media.MediaManager]::HasMediaContent($item)){&#xA;      $mediaItem = New-Object &quot;Sitecore.Data.Items.MediaItem&quot; $item;&#xA;      $mediaStream = $mediaItem.GetMediaStream();&#xA;      $fileName = Resolve-Path -Path $item.ProviderPath -Relative&#xA;      $fileName = &quot;$fileName.$($item.Extension)&quot;.Replace(&quot;\&quot;,&quot;/&quot;).Replace(&quot;./&quot;,&quot;/&quot;);&#xA;      &quot;Added: $fileName&quot;&#xA;      Write-Progress -Activity &quot;Zipping Files &quot; -CurrentOperation &quot;Adding $fileName&quot; -Status &quot;$i out of $($items.Length)&quot; -PercentComplete ($i *100 / $items.Length)&#xA;      $partUri = New-Object System.Uri($fileName, [System.UriKind]::Relative)&#xA;      $partUri = [System.IO.Packaging.PackUriHelper]::CreatePartUri($partUri);&#xA;      $part=$ZipPackage.CreatePart($partUri, &quot;application/zip&quot;, [System.IO.Packaging.CompressionOption]::Maximum)&#xA;      $stream=$part.GetStream();&#xA;      do {&#xA;        $count = $mediaStream.Read($buff, 0, $buff.Length)&#xA;        $stream.Write($buff, 0, $count)&#xA;      } while ($count -gt 0)&#xA;      $stream.Close()&#xA;      $mediaStream.Close()&#xA;    }&#xA;  }&#xA;  $ZipPackage.Close()&#xA;}&#xA;&#xA;$location = get-location&#xA;$time = Get-Date -format &quot;yyyy-MM-d_hhmmss&quot;&#xA;$zipName = Split-Path -leaf $location | % { $_ -replace &quot; &quot;, &quot;&quot;}&#xA;$dataFolder = [Sitecore.Configuration.Settings]::DataFolder&#xA;$zipPath = &quot;$dataFolder\$zipName-$time.zip&quot;&#xA;&#xA;ZipItems $zipPath $location&#xA;Download-File -FullName $zipPath | Out-Null&#xA;Remove-Item $zipPath&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2734" LastEditorUserId="95" LastEditDate="2019-02-18T15:47:35.357" LastActivityDate="2020-11-02T07:35:24.400" Title="SPE's Download for media files not working - can't find zip file" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16848" PostTypeId="2" ParentId="16847" CreationDate="2019-02-18T04:41:50.807" Score="2" Body="&lt;p&gt;SPE provides a few variables you can use in your script.&lt;/p&gt;&#xA;&lt;p&gt;The variable &lt;code&gt;SitecoreDataFolder&lt;/code&gt; is perhaps what is needed in your script since it resolves the full path to the folder.&lt;/p&gt;&#xA;&lt;p&gt;Looking at the source code for that script in the SPE git repo, this issue has been addressed. It may in fact be in the 5.0 release.&lt;/p&gt;&#xA;&lt;p&gt;You should change the building of the path to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$zipPath = &amp;quot;$($SitecoreDataFolder)\$zipName-$time.zip&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And here is the path to the context menu Download Item: /sitecore/system/Modules/PowerShell/Script Library/Media Library Maintenance/Content Editor/Context Menu/Download&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="2214" LastEditDate="2020-11-02T07:35:24.400" LastActivityDate="2020-11-02T07:35:24.400" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16851" PostTypeId="1" CreationDate="2019-02-18T05:41:56.887" Score="2" ViewCount="1133" Body="&lt;p&gt;I need to redirect to certain page based on querystring value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Ex:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Case 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Old Url: /cs/satellite?code=10015&lt;/p&gt;&#xA;&#xA;&lt;p&gt;New Url: /Redirects/page1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Case 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Old Url: /cs/satellite?code=10016&lt;/p&gt;&#xA;&#xA;&lt;p&gt;New Url: /Redirects/page2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Here is how I want&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1vydR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1vydR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But, when I save the respective redirect item, the entry is getting modified like below:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eQYCl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eQYCl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2019-02-18T09:07:58.897" LastActivityDate="2019-02-18T09:07:58.897" Title="How to include querystring in Redirects" Tags="|sxa|redirect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16852" PostTypeId="2" ParentId="16851" CreationDate="2019-02-18T06:53:10.710" Score="3" Body="&lt;p&gt;This is not allowed due to usage of the Name Value List field type in that &lt;code&gt;Mappings&lt;/code&gt; field which only allows keys containing letters and numbers due to the Validate() method in it. See further details here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/726/why-sitecore-does-not-allow-to-use-special-characters-in-name-value-list-field-a&quot;&gt;Why Sitecore does not allow to use special characters in Name Value List field as a key?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In your case also second option on how to find match and that is to use &lt;code&gt;Regular expressions&lt;/code&gt; won't work because you would still need to use special characters:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/map-a-url-redirect.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/map-a-url-redirect.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In the thread in first link, there is mentioned possible workaround. Please take a look and try to implement. I don't know whether this will be still compatible with SXA at the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also solve redirection outside of Sitecore and SXA on IIS level for example with &lt;code&gt;URL Rewrite&lt;/code&gt; module: &lt;a href=&quot;https://www.iis.net/downloads/microsoft/url-rewrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.iis.net/downloads/microsoft/url-rewrite&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-02-18T07:12:30.430" LastActivityDate="2019-02-18T07:12:30.430" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16853" PostTypeId="2" ParentId="16763" CreationDate="2019-02-18T06:56:12.043" Score="2" Body="&lt;p&gt;I used a Sitecore-provided &quot;SXA showcase&quot; site which you can download and install &lt;a href=&quot;https://sitecore.app.box.com/s/e44ra1p6ivrqe2jsfehbyawubmmsjagy&quot; rel=&quot;nofollow noreferrer&quot;&gt;from here&lt;/a&gt;. It provides a reference site with all of the out of the box variants, amongst other things. It requires Sitecore 9.1 and SXA 1.8.&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2019-02-18T06:56:12.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16854" PostTypeId="1" CreationDate="2019-02-18T06:58:21.617" Score="0" ViewCount="266" Body="&lt;p&gt;I want to provide the &lt;code&gt;Profile&lt;/code&gt; and &lt;code&gt;Pattern Card&lt;/code&gt; names for a particular rendering to global javascript variables on the front end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I programmatically lookup these values from the personalisation rules applied to the rendering?&lt;/p&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2019-05-14T07:14:52.433" Title="How do you programmatically determine which Profile Pattern has been applied to an individual rendering?" Tags="|xdb|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16855" PostTypeId="2" ParentId="16854" CreationDate="2019-02-18T06:58:21.617" Score="3" Body="&lt;p&gt;Here is the C# portion of the code solution I came up with. Once you have the variables writing them into the rendered HTML is straight forward.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use this just call one the methods &lt;code&gt;GetMatchedProfileName&lt;/code&gt; or &lt;code&gt;GetMatchedPatternCardName&lt;/code&gt; (code below). You can then write the resulting string into into your MVC model and render them in the view. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Quick run through:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;A) Get a reference to all the renderings on the page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var allReferences = GetRenderingsForControl(contextItem, device).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;B) Find the matching rendering reference:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var renderingReferrence = allReferences.Where(i =&amp;gt; ID.Parse(i.UniqueId).Equals(renderingId)).FirstOrDefault();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;C) Lookup the rule context and run the first matching rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var ruleContext = new ConditionalRenderingsRuleContext(allReferences, renderingReferrence);&#xA;renderingReferrence.Settings.Rules.RunFirstMatching(ruleContext);       &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;D) Lookup the &lt;code&gt;datasource&lt;/code&gt; that has been selected after running the rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string personalizedDatasource = ruleContext.Reference.Settings.DataSource;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;e) The remaining code uses the method &lt;code&gt;GetMatchedProfile&lt;/code&gt; to loop over the Actions and Conditions to obtain the matching condition. The matching condition contains the profile and pattern card name.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Complete code:&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string GetMatchedProfileName(ID renderingId, Item contextItem, DeviceItem device)&#xA;{&#xA;    var ruleMatch = GetMatchedProfile(renderingId, contextItem, device);&#xA;    return ruleMatch.ProfileName;&#xA;}&#xA;&#xA;public string GetMatchedPatternCardName(ID renderingId, Item contextItem, DeviceItem device)&#xA;{&#xA;    var ruleMatch = GetMatchedProfile(renderingId, contextItem, device);&#xA;    return ruleMatch.PatternName;&#xA;}&#xA;&#xA;private HasPatternCondition&amp;lt;ConditionalRenderingsRuleContext&amp;gt; GetMatchedProfile(ID renderingId, Item contextItem, DeviceItem device)&#xA;{&#xA;    var allReferences = GetRenderingsForControl(contextItem, device).ToList();&#xA;    var renderingReferrence = allReferences.Where(i =&amp;gt; ID.Parse(i.UniqueId).Equals(renderingId)).FirstOrDefault();&#xA;    var ruleContext = new ConditionalRenderingsRuleContext(allReferences, renderingReferrence);&#xA;&#xA;    if (!ruleContext.Reference.Settings.Rules.Rules.Any())&#xA;        return null;&#xA;&#xA;    renderingReferrence.Settings.Rules.RunFirstMatching(ruleContext);&#xA;&#xA;    string personalizedDatasource = ruleContext.Reference.Settings.DataSource;&#xA;&#xA;    var ruleMatch = GetMatchedProfile(ruleContext, personalizedDatasource);&#xA;    return ruleMatch;&#xA;}&#xA;&#xA;private RenderingReference[] GetRenderingsForControl(Item contextItem, DeviceItem device)&#xA;{&#xA;    if (contextItem != null)&#xA;    {&#xA;        var renderings = contextItem.Visualization.GetRenderings(device, true);&#xA;        return renderings;&#xA;    }&#xA;    return new RenderingReference[0];&#xA;}&#xA;&#xA;private HasPatternCondition&amp;lt;ConditionalRenderingsRuleContext&amp;gt; GetMatchedProfile(ConditionalRenderingsRuleContext ruleContext, string personalizedDatasource)&#xA;{&#xA;    foreach (var rule in ruleContext.Reference.Settings.Rules.Rules)&#xA;    {&#xA;        foreach (var action in rule.Actions)&#xA;        {&#xA;            var setDataSourceAction = action as SetDataSourceAction&amp;lt;ConditionalRenderingsRuleContext&amp;gt;;&#xA;            if (setDataSourceAction != null &amp;amp;&amp;amp; setDataSourceAction.DataSource == personalizedDatasource)&#xA;            {&#xA;                var conditionMatch = rule.Condition as Sitecore.Analytics.Rules.Conditions.HasPatternCondition&amp;lt;ConditionalRenderingsRuleContext&amp;gt;;&#xA;                if (conditionMatch != null)&#xA;                {&#xA;                    return conditionMatch;&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;    return null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This answer uses some of the code from &lt;a href=&quot;https://sitecore.stackexchange.com/questions/11234/run-personalization-rule-programatically/11237#11237&quot;&gt;Run personalization rule programatically&lt;/a&gt; to lookup rendering references.&lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="237" LastEditDate="2019-05-14T07:14:52.433" LastActivityDate="2019-05-14T07:14:52.433" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16856" PostTypeId="2" ParentId="16827" CreationDate="2019-02-18T07:23:34.837" Score="3" Body="&lt;p&gt;I found the solution&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;uninstall Rocks&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;delete C:\Users\User\AppData\Local\Microsoft\VisualStudio\15.0_c2d19173\privateregistry.bin and privateregistry.user.bin file (please backup them first)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;reinstall Rocks&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;start Visual Studio and problem should be solved&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="4765" LastActivityDate="2019-02-18T07:23:34.837" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16859" PostTypeId="1" CreationDate="2019-02-18T10:08:28.887" Score="4" ViewCount="5279" Body="&lt;p&gt;Is there an example available for the &lt;code&gt;robots.txt&lt;/code&gt; file on how it should look for a multisite implementation of Sitecore?&lt;/p&gt;&#xA;&lt;p&gt;Since there is a single &lt;code&gt;robots.txt&lt;/code&gt; file available on the file system - is there a way of having the required information on a physical file as opposed to generating it on the fly based on the website domain it was requested through?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastEditorUserId="5387" LastEditDate="2023-06-27T07:26:55.010" LastActivityDate="2023-06-27T07:26:55.010" Title="Robots.txt file for multi site sitecore implementation" Tags="|seo|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16860" PostTypeId="2" ParentId="16602" CreationDate="2019-02-18T10:13:24.440" Score="3" Body="&lt;p&gt;It is normal to take a few milliseconds up to 1 second as contact merging is a complex operation but merge times like you have are definitely not normal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Ensure Identify() is not called too often&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've had the same issue but it was due to Identify() being called on every request slowing merge operations down massively. It should only be called once when the actual identification occurs. Double-check your code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Check custom MergeContactProcessors&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have custom MergeContactProcessors check if they might slowing down your merge operations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Call Identify() on Login, not on Page-Load&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If possible call .Identify() while the login form submits instead of at rendering time. This will lead to better UX as users tolerate a few seconds wait when logging in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Check MongoDB performance and connection&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've not seen these issues with contact merging on 8.1. (~2 Mio Contacts in MongoDB) Contact merging was around 500ms-1s on average. There might be a performance or configuration issue there. I would also suggest contacting Sitecore Support on this.&lt;/p&gt;&#xA;" OwnerUserId="681" LastEditorUserId="681" LastEditDate="2019-02-18T10:20:35.283" LastActivityDate="2019-02-18T10:20:35.283" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16862" PostTypeId="1" CreationDate="2019-02-18T12:20:55.087" Score="0" ViewCount="242" Body="&lt;p&gt;I have created one sample app in disconnected mode. Inside that, I have created 1 image component.&#xA;It works fine in disconnected mode but when I deploy it, to my sitecore instance then it will give an error with the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;image issue in sitecore jss Minified React error #62; visit &lt;a href=&quot;https://reactjs.org/docs/error-decoder.html?invariant=62&amp;amp;args[]=&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://reactjs.org/docs/error-decoder.html?invariant=62&amp;amp;args[]=&lt;/a&gt; for the full message or use the non-minified dev environment for full errors and additional helpful warnings.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me into this?&#xA;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5083" LastEditorUserId="73" LastEditDate="2019-02-19T06:30:58.210" LastActivityDate="2019-02-19T06:30:58.210" Title="Reading image in React app component" Tags="|jss|react|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16863" PostTypeId="2" ParentId="3072" CreationDate="2019-02-18T12:33:11.610" Score="2" Body="&lt;p&gt;The combination you described should be entirely possible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I encountered the same problem when implementing an FXM solution that triggered goals in Sitecore 8.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially there is a bug with the Rule &lt;code&gt;OutcomeWasRegisteredDuringPastOrCurrentInteractionCondition&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4527/personalize-a-component-using-outcomes/8744&quot;&gt;solution in this ticket mentions&lt;/a&gt; the fix in details for Sitecore 8.1 through to initial release of Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find a github C# &lt;a href=&quot;https://github.com/Aceik/HandyHelixFoundation/blob/f5e8398fadf6698e6a9b6b6439a0d78a2476d82c/src/Foundation/Analytics/code/Condition/GoalWasTriggeredDuringPastOrCurrentInteractionCondition.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;example here.&lt;/a&gt; &#xA;Once you implement the rule (with the fix) in C# you must edit the Sitecore item to point to the C# class you implemented. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Visit/Goal was triggered during a past or current interaction&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Aceik/HandyHelixFoundation/blob/f5e8398fadf6698e6a9b6b6439a0d78a2476d82c/src/Foundation/Analytics/code/Condition/GoalWasTriggeredDuringPastOrCurrentInteractionCondition.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;My solution&lt;/a&gt; also made an additional fix so that when the rule is executed if the &lt;code&gt;Sitecore.Current.Session.Interaction&lt;/code&gt; is null it will use &lt;code&gt;Tracker.Current.Contact&lt;/code&gt; instead to execute the rule. It does this via &lt;code&gt;LoadHistorycalData&lt;/code&gt; and &lt;code&gt;KeyBehaviourCache&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="2714" LastEditDate="2019-02-19T00:07:49.110" LastActivityDate="2019-02-19T00:07:49.110" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16864" PostTypeId="1" CreationDate="2019-02-18T15:21:47.323" Score="3" ViewCount="222" Body="&lt;p&gt;I am trying to search on a solr core which contains static data without any Sitecore details.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;doc&amp;gt;&#xA;&amp;lt;str name=&quot;_property_text&quot;&amp;gt;1&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;_itemnumber_string&quot;&amp;gt;1250000&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;_propertykey_string&quot;&amp;gt;Black&amp;lt;/str&amp;gt;&#xA;&amp;lt;doc&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to make a search using the content search manager it will always return an empty result. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var index= ContentSearchManager.GetIndex(&quot;index_name&quot;);&#xA; using (var ctx = comboIndex.CreateSearchContext()){&#xA;     var queryable = ctx.GetQueryable&amp;lt;CustomSearchModel&amp;gt;();&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3442" LastActivityDate="2021-03-09T22:04:50.513" Title="Search on custom solr index" Tags="|content-search|solr|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16865" PostTypeId="2" ParentId="16864" CreationDate="2019-02-18T16:22:40.780" Score="1" Body="&lt;p&gt;The field you're missing is going to be &lt;code&gt;_indexname&lt;/code&gt;. It will need to be set to the name of the index you are searching, in your case &lt;code&gt;index_name&lt;/code&gt;. If you look at the &lt;code&gt;Search.log&lt;/code&gt; in the data folder, you will see exactly what query string Sitecore is generating. At the end, you should see that it is generating &lt;code&gt;fq=_indexname:index_name&lt;/code&gt;. You can test this by adding the &lt;code&gt;_indexname&lt;/code&gt; field to all of your documents and checking if they then get returned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe that this is the only field that Sitecore requires, but there may be others.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2019-02-18T16:22:40.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16866" PostTypeId="1" AcceptedAnswerId="16867" CreationDate="2019-02-18T20:00:52.833" Score="2" ViewCount="484" Body="&lt;p&gt;I have been using tokens for a while, patching in a processor to the &lt;code&gt;getLookupSourceItems&lt;/code&gt; pipelines and transforming a token like &lt;code&gt;$siteName$&lt;/code&gt; into the site name. Or $site$ into the the current sites root path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in field sources for media items like an image field, this pipeline is never hit. I would like to replace the $siteName with the current site's name. This isn't rendering datasources. This is a template's field source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get the following error since my field source is not transformed.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The source of this Image field points to an item that does not exist.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/media library/Images/$siteName&lt;/code&gt;  would become &lt;code&gt;/sitecore/media library/Images/SiteA&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts on what pipeline is controlling media field sources?&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-18T21:16:11.367" Title="Field source tokens for media items like image field" Tags="|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16867" PostTypeId="2" ParentId="16866" CreationDate="2019-02-18T21:16:11.367" Score="2" Body="&lt;p&gt;This doesn't directly answer your question, but a common way of doing what you are asking is to implement your own image field control. You basically override &lt;code&gt;Sitecore.Shell.Applications.ContentEditor.Image&lt;/code&gt; and override the &lt;code&gt;Source&lt;/code&gt; property and replace the token at that point. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an example of this found at &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6118/how-to-change-the-source-from-an-image-field-programmatically&quot;&gt;How to change the source from an image field programmatically?&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2019-02-18T21:16:11.367" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16869" PostTypeId="1" AcceptedAnswerId="16870" CreationDate="2019-02-18T22:59:11.787" Score="4" ViewCount="789" Body="&lt;p&gt;When adding a component to a placeholder, how would I go about setting default values for custom styles in the rendering parameters so that certain styles are enabled automatically for the user when they creating a component in Experience Editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i.e. in the Styling section of the component properties modal, set a custom CSS class to a default value:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/db22W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/db22W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2034" LastEditorUserId="2034" LastEditDate="2019-02-26T02:31:19.497" LastActivityDate="2019-02-26T02:31:19.497" Title="Set custom rendering styles on an SXA component to be enabled by default" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16870" PostTypeId="2" ParentId="16869" CreationDate="2019-02-18T23:29:04.650" Score="5" Body="&lt;h2&gt;Standard Values on rendering&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The only one out of the box solution is doing it via Standard Values on rendering parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pro:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;no code&lt;/li&gt;&#xA;&lt;li&gt;easy&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;default values defined globally per rendering parameters&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;ExecutePageEditorAction&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Add additional processor to &lt;code&gt;ExecutePageEditorAction&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look at &lt;code&gt;Sitecore.XA.Feature.PageStructure.Pipelines.ExecutePageEditorAction.FillColumnSpliterDefaultGridValues&lt;/code&gt; as an example where default grid values are assigned to the splitter columns.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pro:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;fast&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;executed only in EE, so if rendering will be added via CE, a code will not be invoked&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;PresentationProcessing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Add additional processor to &lt;code&gt;PresentationProcessing&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look at &lt;code&gt;Sitecore.XA.Foundation.Presentation.Pipelines.PresentationProcessing.SetDefaultParameters&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be careful. This pipeline is launched during save, not like &lt;strong&gt;ExecutePageEditorAction&lt;/strong&gt; only during drag&amp;amp;drop in EE (AddRendering action)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pro:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;executed both for EE and CE&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;potentially might cause problems with performance if the implementation will be heavy&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you can live with fact that editors are able to add rendering with default CSS classes in EE only I would recommend you &lt;strong&gt;ExecutePageEditorAction&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-18T23:29:04.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16871" PostTypeId="2" ParentId="12626" CreationDate="2019-02-19T00:08:58.000" Score="1" Body="&lt;p&gt;Just expanding on Vlad's answer in light of new information - in Sitecore 9.1.0 they have removed a fair few counters.  In comparison with 9.0.2 they have removed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Xdb.Collection.Counters.json&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;228, 229, 232, 233, 270 to 275&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Xdb.MarketingAutomation.Counters.json&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2118 - 2121&lt;/li&gt;&#xA;&lt;li&gt;However they have added a few dozen too here.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore.Cloud.ApplicationInsights.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No changes to the counters although they have made it much easier to disable all application insights telemetry - this can be done via web.config.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-19T00:08:58.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16872" PostTypeId="1" AcceptedAnswerId="17146" CreationDate="2019-02-19T00:40:08.133" Score="0" ViewCount="204" Body="&lt;p&gt;Our Sitecore is 9.0 update 2 with SXA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have 3 environments on Azure all using Azure Web App: &#xA;BUILD(standalone), UAT(standalone) and Production(CM and CD). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of them have exactly the same files in wwwroot, all configurations are overwritten in Azure Web APP's App Settings. Databases are different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Application Insights have been setup as normal, with correct instrument ID in App Settings and Connection Strings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Only UAT Application Insights captures data, nothing comes in for BUILD and Production.&lt;/li&gt;&#xA;&lt;li&gt;Couldn't see any thing relevant in event logs or other log files for BUILD and Production.&lt;/li&gt;&#xA;&lt;li&gt;During Production deployments, Application Insights actually captures data, which I assume they are actually from the slot.&lt;/li&gt;&#xA;&lt;li&gt;We also tried disconnecting and reconnecting Application Insights, no changes.&lt;/li&gt;&#xA;&lt;li&gt;We tried removing all the extract App Settings that are added when you connect Application Insights extensions.&lt;/li&gt;&#xA;&lt;li&gt;We tried creating a new Application Insights account and connect with BUILD or Production, no data.&lt;/li&gt;&#xA;&lt;li&gt;And following item 6, we reconnect it with the original Application Insights, no data&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We have raised a support ticket with Sitecore and am waiting for their responses. Also have plan to submit a ticket to Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The most puzzling part for me is that since all files are the same for all environments, there should be no chance issue is caused by any configuration files or dll files. Then the possible places are only Azure settings on Web App and Application Insights. However after trying for so long, I have ran out of things that I can try.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not expecting if anyone can tell me directly the issue, but at least wonder if there is a list which contains all necessary things for this to work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="2261" LastActivityDate="2019-05-14T05:41:23.137" Title="Proper troubleshooting approach if Sitecore PaaS couldn't pass data to Application Insights" Tags="|azure|application-insights|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16873" PostTypeId="1" AcceptedAnswerId="16876" CreationDate="2019-02-19T05:29:52.390" Score="1" ViewCount="1995" Body="&lt;p&gt;I am using Sitecore 9 forms and I have created a custom save action and my requirement is I need to get Form feed value in my &lt;code&gt;CustomSaveAction&lt;/code&gt; class which inherits &lt;code&gt;SubmitActionBase&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to see the data in &lt;code&gt;formSubmitContext&lt;/code&gt; object but not able to retrieve the data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please help me?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advanced. &lt;/p&gt;&#xA;" OwnerUserId="5040" LastEditorUserId="35" LastEditDate="2019-02-19T07:15:35.103" LastActivityDate="2019-02-19T09:14:15.360" Title="How to get Form Field Value Sitecore 9.0.1" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16874" PostTypeId="1" AcceptedAnswerId="16881" CreationDate="2019-02-19T06:22:07.740" Score="0" ViewCount="64" Body="&lt;p&gt;I am doing upgrade from 8.1 to 9.1 and get following collisions and warning&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;'C:\Inetpub\wwwroot\myinstance\Website\bin\System.Net.Http.WebRequest.dll' file has been modified&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can i resolve this collision?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VC5j7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VC5j7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="69" LastEditDate="2019-02-19T13:28:08.470" LastActivityDate="2019-02-19T13:28:08.470" Title="The Rule shared field in the item has been modified in the following templates during sitecore 8.1 upgrade to 9.1" Tags="|upgrade|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16876" PostTypeId="2" ParentId="16873" CreationDate="2019-02-19T07:40:23.473" Score="1" Body="&lt;p&gt;You can find an example here: &lt;a href=&quot;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-custom-submit-action.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-custom-submit-action.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. to get the value from a field called &quot;Email&quot;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var postedFormData = formSubmitContext.PostedFormData;&#xA;var field = postedFormData.Fields.FirstOrDefault(f =&amp;gt; f.Name.Equals(&quot;Email&quot;));&#xA;if (field != null)&#xA;{&#xA;    var property = field.GetType().GetProperty(&quot;Value&quot;);&#xA;    var postedEmail = property.GetValue(field);&#xA;    email= postedEmail.ToStringOrEmpty();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Not sure if this is still the best way to do it, but that used to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seen some more recent code, and apparently what is done now is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var email = GetValue(formSubmitContext.Fields.FirstOrDefault(f =&amp;gt; f.Name.Equals(&quot;Email&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;GetValue function:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private string GetValue(object field)&#xA;{&#xA;  return field?.GetType().GetProperty(&quot;Value&quot;)?.GetValue(field, null)?.ToString() ?? string.Empty;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-02-19T09:14:15.360" LastActivityDate="2019-02-19T09:14:15.360" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16877" PostTypeId="1" AcceptedAnswerId="16878" CreationDate="2019-02-19T08:18:08.610" Score="1" ViewCount="204" Body="&lt;p&gt;Install-SitecoreConfiguration : Cannot find path 'IIS:\Sites\xxxx.mysite.name' because it does not exist.&lt;/p&gt;&#xA;" OwnerUserId="1268" LastEditorUserId="73" LastEditDate="2019-02-19T08:25:14.370" LastActivityDate="2019-03-21T10:10:28.553" Title="While installing Sitecore commerce 9 update 3 getting IIS location not found" Tags="|sitecore-commerce|sitecore-install-framework|iis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16878" PostTypeId="2" ParentId="16877" CreationDate="2019-02-19T08:20:00.070" Score="1" Body="&lt;p&gt;What I was missing was the Sitecore XP website was with different name hence was unable to figure-out the location where sitecore commerce needs to be installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did install sitecore XP 9.0.2 version with same site name and run this SIF again and it work well.&lt;/p&gt;&#xA;" OwnerUserId="1268" LastActivityDate="2019-02-19T08:20:00.070" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16879" PostTypeId="2" ParentId="16787" CreationDate="2019-02-19T09:41:37.630" Score="1" Body="&lt;p&gt;As it turns out, the &lt;em&gt;only&lt;/em&gt; way of achieving this with Solr 4.10.4 is by modifying the schema.xml file of the Solr core.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I did was as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) In the Sitecore custom configuration I defined a &amp;lt; typeMatch &gt; called &quot;customStringCol&quot;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;typeMatch typeName=&quot;customStringCol&quot; type=&quot;System.Collections.Generic.List`1[System.String]&quot; fieldNameFormat=&quot;{0}_csm&quot; multiValued=&quot;true&quot; indexed=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) I then created the same custom fieldType &quot;customStringCol&quot; &lt;em&gt;in the schema.xml file&lt;/em&gt; and added a Tokenizer to it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;customStringCol&quot; class=&quot;solr.TextField&quot; sortMissingLast=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;analyzer type=&quot;index&quot;&amp;gt;&#xA;    &amp;lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot; /&amp;gt;&#xA;    &amp;lt;filter class=&quot;solr.StopFilterFactory&quot; ignoreCase=&quot;true&quot; words=&quot;stopwords.txt&quot; /&amp;gt;&#xA;    &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot; /&amp;gt;&#xA;  &amp;lt;/analyzer&amp;gt;&#xA;&amp;lt;/fieldType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3) Finally, in the schema.xml file I added the &amp;lt; dynamicField &gt; &quot;_csm&quot; specified in the :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dynamicField name=&quot;*_csm&quot; type=&quot;string&quot; indexed=&quot;true&quot; stored=&quot;true&quot; multiValued=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I rebuilt the index, my field was correctly tokenized by Solr.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-02-19T09:46:44.280" LastActivityDate="2019-02-19T09:46:44.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16880" PostTypeId="1" CreationDate="2019-02-19T10:02:37.927" Score="0" ViewCount="323" Body="&lt;p&gt;We are working with Sitecore 9.0.2(PAAS) and SXA 1.7.1 and we are using one of the rendering variants for the Carousel Component and we are facing some serious issues with IE 11.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that the SXA “Carousel” component does not switch to the next slide automatically or manually on click of the next icon in IE 11.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has someone faced this issue before? Is this an issue with Sitecore SXA? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="2056" LastEditDate="2019-02-21T05:54:27.543" LastActivityDate="2019-02-21T05:54:27.543" Title="Sitecore SXA Carousel Component not working in IE 11" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16881" PostTypeId="2" ParentId="16874" CreationDate="2019-02-19T10:17:26.567" Score="2" Body="&lt;p&gt;You should let the item be overwritten by the upgrade as &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The item is for the Sitecore Path Analyzer to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally, you should not be updating the default items of Sitecore with custom data since those are system based items.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You are moving from 8 to 9, so there have been lots of changes in terms of the Sitecore Analytics.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-02-19T10:17:26.567" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16882" PostTypeId="1" CreationDate="2019-02-19T10:17:33.517" Score="0" ViewCount="64" Body="&lt;p&gt;We are using Sitecore 9.0.2 with SXA 1.7.1 and we have an exception when exporting the site for the Front-End using creative exchange&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HxSC3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HxSC3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any Advice?&lt;/p&gt;&#xA;" OwnerUserId="3625" LastActivityDate="2019-02-19T10:17:33.517" Title="Error when Exporting Site to Agency" Tags="|sxa|creative-exchange|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16883" PostTypeId="1" CreationDate="2019-02-19T10:24:55.543" Score="1" ViewCount="178" Body="&lt;p&gt;We are using Sitecore 9 Update 2 and SXA 1.7.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are provisioning Sitecore environment using Solr connection string through ARM template in Azure PaaS environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need &lt;code&gt;solrSupportSxaMsDeployPackageUrl&lt;/code&gt; package in order to execute this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone help us where we can get this package to download?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3377" LastEditorUserId="2056" LastEditDate="2019-02-19T10:49:04.363" LastActivityDate="2019-06-16T07:00:55.757" Title="Provisioning Sitecore environment using Solr connection string" Tags="|sxa|azure|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16884" PostTypeId="2" ParentId="16883" CreationDate="2019-02-19T10:41:22.277" Score="1" Body="&lt;p&gt;You can download WDP packages from SXA download page from &quot;Download options for Azure AppService&quot; section:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/17/Sitecore_Experience_Accelerator_17_Update1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/17/Sitecore_Experience_Accelerator_17_Update1.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CKR7T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CKR7T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow documentation in Azure Quickstart Templates github repo provided by Sitecore:&#xA;- &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/SXA%201.7.1/xp0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/SXA%201.7.1/xp0&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Path to wdp package should be in &lt;code&gt;modules&lt;/code&gt; parameter in &lt;code&gt;solrSupportSxaMsDeployPackageUrl&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;name&quot;: &quot;sxa&quot;,&#xA;    &quot;templateLink&quot;: &quot;https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/SXA/xp0/azuredeploy.json&quot;,&#xA;    &quot;parameters&quot;:&#xA;    {&#xA;      &quot;cmSxaMsDeployPackageUrl&quot;: &quot;&amp;lt;URL of the WDP file *_sxa.scwdp.zip&amp;gt;&quot;,&#xA;      &quot;speMsDeployPackageUrl&quot;: &quot;&amp;lt;URL of the WDP file *_spe.scwdp.zip&amp;gt;&quot;,&#xA;      &quot;solrSupportSxaMsDeployPackageUrl&quot; : &quot;&amp;lt;URL of the WDP file SXA Solr Support *.scwdp.zip&amp;gt; Can be empty&quot;,&#xA;      &quot;templateLinkAccessToken&quot; : &quot;Access token for the template if stored under the Azure storage. Otherwise should be empty string&quot;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are more repos for each specific setup (xm, xp, xp0):&#xA;- &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/SXA%201.7.1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/SXA%201.7.1&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-02-19T12:13:05.380" LastActivityDate="2019-02-19T12:13:05.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16889" PostTypeId="1" AcceptedAnswerId="26493" CreationDate="2019-02-19T12:41:50.483" Score="6" ViewCount="930" Body="&lt;p&gt;I have component&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;manifest.addComponent({&#xA;  name: 'MyComponentWithPlaceholder',&#xA;  icon: SitecoreIcon.DocumentTag,&#xA;  fields: [&#xA;    { name: 'heading', type: CommonFieldTypes.SingleLineText },&#xA;  ],&#xA;  placeholders: ['my-placeholder']&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with implementation&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const MyComponentWithPlaceholder = (props) =&amp;gt; (&#xA;  &amp;lt;div&amp;gt;&#xA;    &amp;lt;p&amp;gt;My component with &amp;lt;strong&amp;gt;Placeholder&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&#xA;    &amp;lt;Text field={props.fields.heading} /&amp;gt;&#xA;    &amp;lt;Placeholder name='my-placeholder' rendering={props.rendering} /&amp;gt;&#xA;  &amp;lt;/div&amp;gt;&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;code&gt;my-placeholder&lt;/code&gt; field &lt;strong&gt;Allowed Controls&lt;/strong&gt; filled with some components...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4VXJZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4VXJZ.png&quot; alt=&quot;Field Allowed Controls in my-placeholder item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But&lt;/strong&gt;, when I'm trying to add this component to layout in experience editor, inner placeholder &lt;code&gt;my-placeholder&lt;/code&gt; is behaving like it did not contain any &lt;em&gt;allowed controls&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/y8srV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/y8srV.png&quot; alt=&quot;Empty dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;However, after saving state of layout (in experience editor), &lt;code&gt;my-placeholder&lt;/code&gt; let me correctly select component, that I'm allowed to add to parent component.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'm doing wrong? I don't want to save layout state after every added component.&lt;/p&gt;&#xA;" OwnerUserId="4630" LastEditorUserId="70" LastEditDate="2019-02-28T13:40:39.027" LastActivityDate="2020-09-22T17:21:36.660" Title="Adding component with inner placeholder breaks placeholder settings" Tags="|jss|placeholders|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16890" PostTypeId="1" AcceptedAnswerId="16896" CreationDate="2019-02-19T14:51:04.353" Score="1" ViewCount="271" Body="&lt;p&gt;Running into a bit of an issue using Slop with SOLR. Previously on Lucene indexes we were able to use the .Like() method on the IQueryable result from the SearchContext. The code runs roughly like so&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var results = context.GetQueryable&amp;lt;CustomTypeUsedBySite&amp;gt;().&#xA;    Where(z =&amp;gt;&#xA;        z[&quot;Keywords&quot;].Contains(queryStringFromUser).Boost(.9f)&#xA;        || z.Content.Like(queryStringFromUser, intSlopVariable));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The query that Sitecore produces to SOLR seems to ignore the integer passed in with this method and always defaults to .5 and also wraps the whole query in double quotes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;((keywords_t:(&quot;\*Auto Coverage\*&quot;))^0.899999976158142 OR _content:(&quot;Auto Coverage\~0.5&quot;))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried manually removing the inSlopVariable and hard coding 10 in place of it and still get the .5 being set. It also changes the format used in the query when there is only one word or phrase which seems to give me a better result but still ignores the slop value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;((keywords_t:(*Coverage*))^0.899999976158142 OR _content:(Coverage~0.5))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When making a query manually I got result that I was looking for with this query&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;((keywords_t:(&quot;\*Auto Coverage\*&quot;))^0.899999976158142 OR _content:(&quot;Auto Coverage&quot;~10))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Did some digging and found someone reporting a similar issue as well (&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/6990&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/6990&lt;/a&gt;) but looks to be rather old.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be fantastic,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="4368" LastActivityDate="2019-02-19T17:01:24.080" Title="Sitecore Solr Slop Defaulting" Tags="|content-search|solr|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16892" PostTypeId="1" CreationDate="2019-02-19T15:41:29.780" Score="1" ViewCount="507" Body="&lt;p&gt;After the creation a page test for item, which is recorded to SOLR index, in Experience Optimization and creation some page versions to test against (during the test creation), when I get items from that index in code (using &lt;code&gt;indexContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;()&lt;/code&gt;) to display their content, I get all versions of the item involved in page test. How should I determine which version to choose and display? And based on what rules are certain versions of pages displayed to certain users?&lt;/p&gt;&#xA;" OwnerUserId="5085" LastEditorUserId="342" LastEditDate="2019-02-19T16:00:02.157" LastActivityDate="2024-02-24T12:03:20.327" Title="Multiple versions of sitecore item under the page testing are retrieved from solr index" Tags="|solr|personalization|rules-engine|content-testing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="16893" PostTypeId="1" CreationDate="2019-02-19T15:47:52.173" Score="1" ViewCount="133" Body="&lt;p&gt;Bit of an unusual one. Came into work one morning to be told images are missing from multiple components within Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Live appears to be unaffected. &#xA;Carousels and other components with images within Sitecore are blank. The image item is still there, and the image is still in the media folder, but the image item is as though someone has pressed clear and then saved.&#xA;All affected items had last been edited within a couple of minutes and were done by the user &lt;strong&gt;virtualuser&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some users have tried making changes to some of the components (changing text and such) and when publishing it's pushed the empty image over to pre-live.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone encountered anything like this before? What could have caused this? It's the first time I've seen this since taking over 2 years ago.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're using Sitecore 8.0 (rev. 150121).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="3317" LastEditorUserId="4539" LastEditDate="2020-01-21T21:10:23.800" LastActivityDate="2020-01-21T21:10:23.800" Title="Images wiped out by virtualssuser" Tags="|sitecore-client|content-editor|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16895" PostTypeId="1" CreationDate="2019-02-19T16:11:09.213" Score="1" ViewCount="300" Body="&lt;p&gt;I've installed several Sitecore 9.0.2 (XP0) instances locally and went into some issues regarding certificates. I was wondering if anyone had the same issue and how it was solved? &lt;/p&gt;&#xA;" OwnerUserId="278" LastActivityDate="2019-02-19T16:11:09.213" Title="How to run multiple Sitecore 9.x Instances locally?" Tags="|xconnect|sitecore-install-framework|" AnswerCount="0" CommentCount="5" ClosedDate="2019-02-19T17:28:08.393" ContentLicense="CC BY-SA 4.0" />
  <row Id="16896" PostTypeId="2" ParentId="16890" CreationDate="2019-02-19T16:36:20.670" Score="0" Body="&lt;p&gt;I believe this is a bug in Sitecore, which means you should file a support ticket with them. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like the code that handles this, &lt;code&gt;Sitecore.ContentSearch.Linq.Solr.SolrQueryMapper.VisitLike&lt;/code&gt;, returns both the actual value and the similarity as the field value. This means that if there is a space, the whole things gets quoted, which is obviously incorrect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, that code also only takes into account the &lt;code&gt;MinimumSimilarity&lt;/code&gt; property, &lt;em&gt;not the slop&lt;/em&gt;, which is why you always get 0.5. That 0.5 value comes from &lt;code&gt;Sitecore.ContentSearch.Linq.Parsing.ExpressionParser.VisitLike&lt;/code&gt;, which is the default similarity. It looks like the slop is completely ignored by the Solr query mapper. I'm not sure if Solr doesn't support slop, but if it doesn't I would personally make the Solr query mapper throw an exception if it encounters a slop. I'd bring this up with Sitecore as well.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2019-02-19T17:01:24.080" LastActivityDate="2019-02-19T17:01:24.080" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16897" PostTypeId="2" ParentId="16825" CreationDate="2019-02-19T17:41:15.343" Score="3" Body="&lt;p&gt;I don't remember the details, but it looks like Html.Sitecore().Field() returns HTML, which is not what you want to test. Get the actual Item and test item.Fields[ &quot;External Link&quot; ] or item[ &quot;External Link&quot; ]; as Dan Sinclair says, the latter will never actually be null.&lt;/p&gt;&#xA;" OwnerUserId="3614" LastActivityDate="2019-02-19T17:41:15.343" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16898" PostTypeId="1" AcceptedAnswerId="16900" CreationDate="2019-02-20T00:33:16.083" Score="0" ViewCount="412" Body="&lt;p&gt;I was following the official documentation (&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/build-a-rendering-that-includes-variants.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/build-a-rendering-that-includes-variants.html&lt;/a&gt;) and trying to create a custom SXA rendering with variants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything looks pretty straightforward, we just have to implement different base classes in order to make it work with variants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only piece of data that I'm missing is &lt;strong&gt;on which DLL am I supposed to find those variant types&lt;/strong&gt; since they are not on &lt;code&gt;Sitecore.XA.Foundation.MVC&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-03-22T01:01:47.427" Title="Where can I find the SXA VariantsController type?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16899" PostTypeId="2" ParentId="15511" CreationDate="2019-02-20T00:45:07.553" Score="14" Body="&lt;p&gt;Modify &lt;code&gt;xconnect-solr.json&lt;/code&gt; and &lt;code&gt;sitecore-solr.json&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find the CreateCores task in each file&#xA;Change the &lt;code&gt;Name&lt;/code&gt; attribute in &lt;code&gt;Params &amp;gt; Action&lt;/code&gt; to lowercase &lt;code&gt;name&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Original Script&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{ &quot;Action&quot;: &quot;Create&quot;, &quot;Address&quot;: &quot;[parameter('SolrUrl')]&quot;, &quot;Arguments&quot;: { &quot;Name&quot;: &quot;[variable('Core.Name')]&quot; } },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Updated Script&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{ &quot;Action&quot;: &quot;Create&quot;, &quot;Address&quot;: &quot;[parameter('SolrUrl')]&quot;, &quot;Arguments&quot;: { &quot;name&quot;: &quot;[variable('Core.Name')]&quot; } },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="526" LastEditorUserId="5387" LastEditDate="2019-08-01T05:06:08.977" LastActivityDate="2019-08-01T05:06:08.977" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16900" PostTypeId="2" ParentId="16898" CreationDate="2019-02-20T00:57:42.083" Score="2" Body="&lt;p&gt;So there it is a list of &lt;strong&gt;SXA variants types and their namespace/DLL&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;VariantsController&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.XA.Foundation.RenderingVariants.Controllers&lt;/code&gt;, &lt;code&gt;Sitecore.XA.Foundation.RenderingVariants&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;VariantsRepository&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.XA.Foundation.RenderingVariants.Repositories&lt;/code&gt;, &lt;code&gt;Sitecore.XA.Foundation.RenderingVariants&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;VariantsRenderingModel&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.XA.Foundation.Variants.Abstractions.Models&lt;/code&gt;,&#xA;&lt;code&gt;Sitecore.XA.Foundation.Variants.Abstractions&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-20T00:57:42.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16901" PostTypeId="2" ParentId="16859" CreationDate="2019-02-20T05:46:45.827" Score="6" Body="&lt;p&gt;Sitecore SXA has a good implementation of this. They register it as a &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/the-sxa-pipelines.html#UUID-e8167863-1d42-9f12-7a74-ae425e466ffc_id__getControlEditability&quot; rel=&quot;noreferrer&quot;&gt;HttpRequestBegin pipeline handler&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Very simplified version of how it works (as I understand it)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Check the request url ends with /robots.txt&lt;/li&gt;&#xA;&lt;li&gt;Get the context site and make sure we want to process the request for the given site&lt;/li&gt;&#xA;&lt;li&gt;Check the cache for data for the context site, write it to the response if it exists&lt;/li&gt;&#xA;&lt;li&gt;Get the content from the context site: /sitecore/content/&lt;em&gt;Tenant&lt;/em&gt;/&lt;em&gt;Site&lt;/em&gt;/Settings item &quot;Robots content&quot; field&lt;/li&gt;&#xA;&lt;li&gt;If it's empty prefill it with a default value (such as deny all)&lt;/li&gt;&#xA;&lt;li&gt;Check if a sitemap is available and append it to the content&lt;/li&gt;&#xA;&lt;li&gt;Add the content to the cache, and write it to the response&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is a great way as it is high performance and also allows the robots.txt content to be easily editable.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-20T05:46:45.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16902" PostTypeId="2" ParentId="16859" CreationDate="2019-02-20T08:34:13.250" Score="3" Body="&lt;p&gt;While it is possible to implement a solution with physical files, this approach has some disadvantages:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;To apply a change you have to physically change a file on the server.&lt;/li&gt;&#xA;&lt;li&gt;If you have scaled setup with multiple CD server, you would have to apply changes to robots.txt on &lt;strong&gt;each&lt;/strong&gt; of the servers.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In contrary, if you generate robots.txt files on the fly based on a hostname and store robots.txt content in Sitecore items, you would have a central place to manage, which would work across all your CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you still wanna go for a file-based solution, you could consider using IIS URL rewrite module:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Have a robots.txt file per website, e.g site1.robots.txt, site2.robots.txt&lt;/li&gt;&#xA;&lt;li&gt;Setup IIS rewrite rules to process the /robots.txt requests and rewrite file path based on the hostname.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;From top of my head, this could look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Multisite robots.txt&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;^robots\.txt$&quot; /&amp;gt;&#xA;  &amp;lt;action type=&quot;Rewrite&quot; url=&quot;{HTTP_HOST}.robots.txt&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And if you decide to go for dynamic robots.txt generation, there are tons of examples you can find in the internet, e.g &lt;a href=&quot;https://sitecoreclimber.wordpress.com/2014/07/27/sitecore-multisite-robots-txt/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoreclimber.wordpress.com/2014/07/27/sitecore-multisite-robots-txt/&lt;/a&gt; or even Marketplace modules &lt;a href=&quot;https://marketplace.sitecore.net/Modules/U/Ultimate_Sitemap_XML.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/U/Ultimate_Sitemap_XML.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="862" LastActivityDate="2019-02-20T08:34:13.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16903" PostTypeId="1" CreationDate="2019-02-20T08:50:23.397" Score="2" ViewCount="283" Body="&lt;p&gt;We recently upgraded our project to Sitecore9 initial release from 7.2. We were re-compiling our code including latest Sitecore.Kernel. We got this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;error CS0117: 'Factory' does not contain a definition for 'GetDomain'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;for below code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var domain = Sitecore.Configuration.Factory.GetDomain(&quot;extranet&quot;);&#xA;var allUsers = domain.getUsers();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is no &lt;code&gt;GetDomain&lt;/code&gt; function in &lt;code&gt;Configuration.Factory&lt;/code&gt;. I think it got replaced by &lt;code&gt;GetDomainMap&lt;/code&gt;. But that doesn't have &lt;code&gt;getUsers()&lt;/code&gt; function. Can someone help us how to resolve this?&lt;/p&gt;&#xA;" OwnerUserId="3950" LastEditorUserId="237" LastEditDate="2019-02-20T09:45:22.677" LastActivityDate="2019-02-20T09:45:22.677" Title="How to fetch users in particular domain programmatically in Sitecore9" Tags="|security|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16904" PostTypeId="1" AcceptedAnswerId="16920" CreationDate="2019-02-20T09:20:26.920" Score="1" ViewCount="2051" Body="&lt;p&gt;I am new to sitecore JSS as I followed the Official sitecore documents and created an app and then Scaffold one component to this app and also rendered Few single line and rich text Fields but i am not getting any idea how to render the images?&lt;/p&gt;&#xA;" OwnerUserId="5040" LastActivityDate="2019-02-20T15:44:27.870" Title="How to Render Images in sitecore jss Component?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16905" PostTypeId="2" ParentId="12457" CreationDate="2019-02-20T09:23:35.710" Score="0" Body="&lt;p&gt;Unfortunately, none of the above worked for me.&#xA;Installing&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Microsoft SQL Server Data-Tier Application Framework (DACFx) (June&#xA;  2014)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;through the &quot;Web Platform Installer&quot; did fix everything though (without having to make any changes to the Registry or GAC).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should solve all of the following error messages:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER&#xA;ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROVIDER&#xA;ERROR_SQLCLRTYPES_NEEDED_FOR_SQL_PROVIDER&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Solution found here: &lt;a href=&quot;https://docs.microsoft.com/en-us/iis/publish/troubleshooting-web-deploy/web-deploy-error-codes#ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/iis/publish/troubleshooting-web-deploy/web-deploy-error-codes#ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER&lt;/a&gt; (even though it lists an older version).&lt;/p&gt;&#xA;" OwnerUserId="845" LastActivityDate="2019-02-20T09:23:35.710" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16906" PostTypeId="2" ParentId="16903" CreationDate="2019-02-20T09:44:17.067" Score="5" Body="&lt;p&gt;This should do the trick:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var domain = Sitecore.SecurityModel.DomainManager.GetDomain(&quot;extranet&quot;);&#xA;domain.GetUsers()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-02-20T09:44:17.067" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16908" PostTypeId="1" CreationDate="2019-02-20T11:42:50.540" Score="1" ViewCount="374" Body="&lt;p&gt;I'm trying to view the search results of a search box in a popup not in a page, I've created an overlay with a search results rendering in it and then choose it as the &quot;Search result page&quot;, the results are displayed fine in the overlay but it navigates to the Overlay URL not displaying it in the same page.&#xA;Is there a way to make the overlay appears without navigating to it's URL?&lt;/p&gt;&#xA;" OwnerUserId="5093" LastActivityDate="2022-03-14T15:53:04.330" Title="Change the rendering of SXA Search from a page to overlay" Tags="|sxa|content-search|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16909" PostTypeId="2" ParentId="16813" CreationDate="2019-02-20T12:14:09.293" Score="0" Body="&lt;p&gt;This issue is resolved by installing the sitecore JSS package available in &lt;a href=&quot;https://dev.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: If you are working on sitecore 9.1 with JSS , need to install both sitecore 9.0 and 9.1 packages both on your sitecore  instance.Other wise you will end with error saying Access denied error for adding the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards,&#xA;G R&lt;/p&gt;&#xA;" OwnerUserId="5078" LastActivityDate="2019-02-20T12:14:09.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16910" PostTypeId="1" AcceptedAnswerId="16911" CreationDate="2019-02-20T12:33:45.657" Score="1" ViewCount="135" Body="&lt;p&gt;I'm using SXA and am trying to get the tags to render in a rendering variant.  I've added a variant reference to my tags field and added a title field item so that the tag title will render to the page. I've added variant references before with no problem, but I get nothing in my page. Any ideas?   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My defined tags:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PTNUY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PTNUY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tags selected in the item I'm rendering in my rendering variant:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Lcj9a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Lcj9a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My rendering variant definition:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uAwvZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uAwvZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My variant reference definition:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Qvbfb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qvbfb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My field definition for to render the tag title:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6fgTM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6fgTM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="2056" LastEditDate="2019-02-20T12:59:44.687" LastActivityDate="2019-02-20T12:59:44.687" Title="Tags field not rendered in rendering variant" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16911" PostTypeId="2" ParentId="16910" CreationDate="2019-02-20T12:43:12.973" Score="3" Body="&lt;p&gt;The field is actually called &quot;&lt;code&gt;SxaTags&lt;/code&gt;&quot; - try that in the &quot;&lt;code&gt;Pass through field&lt;/code&gt;&quot;. I think that should fix your issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xOZJl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xOZJl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-02-20T12:53:10.100" LastActivityDate="2019-02-20T12:53:10.100" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16913" PostTypeId="1" AcceptedAnswerId="16914" CreationDate="2019-02-20T13:38:33.443" Score="1" ViewCount="502" Body="&lt;p&gt;I have to environments test and prod with the same codebase and content installed, and I have installed SPE on the Test system all fine and dandy, but when I try to do it on our production environment i get the following error in the Log file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #16 13:03:50 ERROR Error installing items/core/sitecore/system/Dictionary/PowerShell/C/Context/{6B4E4627-40C7-464E-9FB0-54350FBD3850}/en/1/xml&#xA;Exception: System.InvalidOperationException&#xA;Message: Cannot cache phrase for invariant language.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.IsFalse(Boolean condition, String message)&#xA;   at Sitecore.Globalization.Translate.CachePhrase(String key, String phrase, Language language, DictionaryDomain domain)&#xA;   at Sitecore.Globalization.ItemEventHandler.OnItemSaved(String dictionaryKey, Item item, Boolean reloadDomainCache, Boolean saveToDisk)&#xA;   at Sitecore.Globalization.ItemEventHandler.OnItemSaved(Object sender, EventArgs args)&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args)&#xA;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.SaveItem(Item item)&#xA;   at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent)&#xA;   at Sitecore.Install.Items.ItemInstaller.UpdateItemDefinition(Item targetItem, XmlVersionParser parser)&#xA;   at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp; removeVersions)&#xA;   at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&#xA;&#xA;ManagedPoolThread #16 13:03:53 ERROR Installation failed: System.InvalidOperationException: Cannot cache phrase for invariant language.&#xA;   at Sitecore.Diagnostics.Assert.IsFalse(Boolean condition, String message)&#xA;   at Sitecore.Globalization.Translate.CachePhrase(String key, String phrase, Language language, DictionaryDomain domain)&#xA;   at Sitecore.Globalization.ItemEventHandler.OnItemSaved(String dictionaryKey, Item item, Boolean reloadDomainCache, Boolean saveToDisk)&#xA;   at Sitecore.Globalization.ItemEventHandler.OnItemSaved(Object sender, EventArgs args)&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args)&#xA;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.ItemProvider.SaveItem(Item item)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult[TArgs,TResult](String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult)&#xA;   at Sitecore.Data.Managers.PipelineBasedItemProvider.SaveItem(Item item)&#xA;   at Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent)&#xA;   at Sitecore.Install.Items.ItemInstaller.UpdateItemDefinition(Item targetItem, XmlVersionParser parser)&#xA;   at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context, Boolean&amp;amp; removeVersions)&#xA;   at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry)&#xA;   at Sitecore.Install.Items.ItemInstaller.Flush()&#xA;   at Sitecore.Install.Framework.SinkDispatcher.Flush()&#xA;   at Sitecore.Install.Utils.EntrySorter.Flush()&#xA;   at Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink)&#xA;   at Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink)&#xA;   at Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)&#xA;   at Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context)&#xA;   at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.&amp;lt;Install&amp;gt;b__4()&#xA;   at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.CatchExceptions(ThreadStart start)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I can't seem to figure out what went wrong :(&lt;/p&gt;&#xA;" OwnerUserId="1970" LastEditorUserId="237" LastEditDate="2019-02-20T15:50:48.017" LastActivityDate="2019-02-20T15:50:48.017" Title="Sitecore Powershell Extension installation fails" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16914" PostTypeId="2" ParentId="16913" CreationDate="2019-02-20T13:46:14.100" Score="0" Body="&lt;p&gt;You can try this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Delete the &#xA;&lt;code&gt;/temp/dictionary.dat&lt;/code&gt;&#xA; file from your webroot and recycle the website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://briancaos.wordpress.com/2015/01/30/cannot-cache-phrase-for-invariant-language-sitecore-8/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2015/01/30/cannot-cache-phrase-for-invariant-language-sitecore-8/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-02-20T13:46:14.100" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16915" PostTypeId="1" CreationDate="2019-02-20T13:50:00.170" Score="1" ViewCount="1491" Body="&lt;p&gt;On IIS both enable dynamic content compression and enable static content compression are checked but Js and Css have content-encoding:gzip in response header while in the pages it doesn't have content-encoding in the response header.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any advise?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastActivityDate="2019-02-20T13:50:00.170" Title="GZIP Compression on Sitecore" Tags="|sitecore-client|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16916" PostTypeId="2" ParentId="16880" CreationDate="2019-02-20T14:09:25.033" Score="1" Body="&lt;p&gt;We found that there is issue with function Number.paresInt() it is native to ES6 , it is not supported in IE &amp;amp; Safari. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So we changed the function to polyfill  so avoid that issue. This function works across all browsers&lt;/p&gt;&#xA;" OwnerUserId="4580" LastActivityDate="2019-02-20T14:09:25.033" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16918" PostTypeId="2" ParentId="16840" CreationDate="2019-02-20T15:18:24.163" Score="3" Body="&lt;p&gt;You should use Droplink (as @Marek mentioned above) and extract you parameter value like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var selectedItemId = RenderingContext.Current.Rendering.Parameters[&quot;Background&quot;];&#xA;var selectedItem = RenderingContext.Current.ContextItem.Database.GetItem(ID.Parse(Guid.Parse(selectedItemId)));&#xA;    var parameter = selectedItem[&quot;Value&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or the easiest way if you have Glass Mapper in your project:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var parameter = GetRenderingParameters&amp;lt;YourRpModel&amp;gt;().Value;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-02-21T13:04:42.320" LastActivityDate="2019-02-21T13:04:42.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16919" PostTypeId="1" CreationDate="2019-02-20T15:31:38.097" Score="0" ViewCount="397" Body="&lt;p&gt;I am trying to sort items inside a query under a variant. I used &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;+template:{00000-0000-0000-0000-000000000};+sxa:TaggedWithAtLeastOneTagFromCurrentPage|SxaTags;+sxa:ExcludeCurrentPage;sort:FromDate&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It returns a rendering error. When I sort by Title instead of date, it works fine. Is there a way to sort by a date field inside this query?&lt;/p&gt;&#xA;" OwnerUserId="3888" LastEditorUserId="2056" LastEditDate="2019-02-21T05:58:37.343" LastActivityDate="2019-02-21T05:58:37.343" Title="How to sort items by date inside a sitecore query?" Tags="|sxa|querybuilder|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16920" PostTypeId="2" ParentId="16904" CreationDate="2019-02-20T15:44:27.870" Score="2" Body="&lt;p&gt;The sample apps contain a Styleguide page that has example components of how to render different field types and the options thereof, including images. For example, in React &lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/react/src/components/Styleguide-FieldUsage-Image/index.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;this is the sample component&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import React from 'react';&#xA;import { Image } from '@sitecore-jss/sitecore-jss-react';&#xA;&#xA;/**&#xA; * Demonstrates usage of an Image content field within JSS.&#xA; * Image field data is uploaded into the Sitecore Media Library.&#xA; */&#xA;const StyleguideFieldUsageImage = (props) =&amp;gt; (&#xA;  &amp;lt;Image media={props.fields.sample1} /&amp;gt;&#xA;);&#xA;&#xA;export default StyleguideFieldUsageImage;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-02-20T15:44:27.870" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16921" PostTypeId="1" CreationDate="2019-02-20T16:05:55.657" Score="0" ViewCount="215" Body="&lt;p&gt;We have an SXA site in the Chinese Language, however we are unable to render the Browser Title in any of the pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is working for other language sites except Chinese.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following investigations done:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Title is present in all the pages.The same field is used in other languages to display browser title and its working for all except China.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Under Sitecore -&gt; Page Designs: Template to Design Mapping is set to &quot;Default&quot;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;BrowserTitle.cshtml is present inside Views folder and is same across the sites.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Meta Component Layout.cshtml is present in &lt;strong&gt;views/SXA/&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Under Sitecore -&gt; Browser Title is same as all sites.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can anyone please point out any similar issues?&lt;/p&gt;&#xA;" OwnerUserId="4827" LastEditorUserId="2049" LastEditDate="2019-02-21T05:58:59.390" LastActivityDate="2019-02-21T05:58:59.390" Title="SXA Browser Title not working in Chinese" Tags="|sxa|presentation|multilingual|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16922" PostTypeId="2" ParentId="6497" CreationDate="2019-02-20T16:17:47.203" Score="1" Body="&lt;p&gt;I'd like to second what Zachary has mentioned about using IP restrictions instead of authorisation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the solution I use to lock down /sitecore on a CD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;IIS Configuration&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/ipsecurity/#setup&quot; rel=&quot;nofollow noreferrer&quot;&gt;Install&lt;/a&gt; &quot;IP and Domain Restrictions&quot; IIS feature&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/MicrosoftDocs/iis-docs/blob/master/iis/manage/managing-your-configuration-settings/an-overview-of-feature-delegation-in-iis.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;Enable&lt;/a&gt; feature delegation for aforementioned feature&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If you don't do this, IIS will complain and your site will throw a 500. By default you can't override the &lt;code&gt;&amp;lt;ipSecurity&amp;gt;&lt;/code&gt; node in your Web.config. A lot of &quot;word on the street&quot; will tell you to modify the applicationHost.config file, I found this didn't work in our instance.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Web.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;location path=&quot;sitecore&quot;&amp;gt;&#xA;        &amp;lt;system.webServer&amp;gt;&#xA;            &amp;lt;httpErrors errorMode=&quot;DetailedLocalOnly&quot;&amp;gt;&#xA;                &amp;lt;remove statusCode=&quot;404&quot; subStatusCode=&quot;-1&quot; /&amp;gt;&#xA;                &amp;lt;error statusCode=&quot;404&quot; prefixLanguageFilePath=&quot;&quot; path=&quot;/404&quot; responseMode=&quot;ExecuteURL&quot; /&amp;gt;&#xA;            &amp;lt;/httpErrors&amp;gt;&#xA;            &amp;lt;security&amp;gt;&#xA;                &amp;lt;ipSecurity allowUnlisted=&quot;false&quot; denyAction=&quot;NotFound&quot;&amp;gt;&#xA;                    &amp;lt;clear/&amp;gt;&#xA;                    &amp;lt;add ipAddress=&quot;127.0.0.1&quot; allowed=&quot;true&quot;/&amp;gt;&#xA;                &amp;lt;/ipSecurity&amp;gt;&#xA;            &amp;lt;/security&amp;gt;&#xA;        &amp;lt;/system.webServer&amp;gt;&#xA;    &amp;lt;/location&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="720" LastActivityDate="2019-02-20T16:17:47.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16923" PostTypeId="1" CreationDate="2019-02-20T16:19:20.583" Score="0" ViewCount="94" Body="&lt;p&gt;I'm following the documentation about how to create a custom SXA rendering (&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/walkthrough--building-a-simple-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/walkthrough--building-a-simple-rendering.html&lt;/a&gt;) and everything is advancing smoothly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now that I have my custom SXA rendering, I was wondering why &lt;strong&gt;it does not have the super cool &quot;Edit style and behavior of the component&quot;&lt;/strong&gt;, which is pretty handy when an author wants to change how the page is organized without having to use a bunch of splitters (which is not recommended by the way).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VCPBj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VCPBj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-02-20T16:24:48.323" LastActivityDate="2019-02-20T16:25:26.440" Title="How to enable the SXA &quot;Edit style and behavior of the component&quot; button in a custom component?" Tags="|sxa|" AnswerCount="0" CommentCount="3" ClosedDate="2019-02-20T16:54:58.943" ContentLicense="CC BY-SA 4.0" />
  <row Id="16925" PostTypeId="1" AcceptedAnswerId="16928" CreationDate="2019-02-20T16:26:59.450" Score="4" ViewCount="769" Body="&lt;p&gt;Hello I'm trying to override the AddFromTemplate pipeline to manually create datasources for the components inside the template that i'm using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I would like to accomplish&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z4LFA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z4LFA.png&quot; alt=&quot;experience editor insert page button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a user clicks the insert page button in the experience editor the controls/components associated with the template selected will have a new datasource created for them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have tried so far&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been trying to override the AddFromTemplate pipeline but I don't know how to get a list of the controls/components(ex. text-block, form, etc.) associated with the template from the TemplateItem. Once I get the controls associated with the template I would like to get the templates for those controls. Then I can create a new template programmatically and assign that new template as datasource for the control on the new page I originally created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This solution is a based off a Helix architecture using Sitecore 8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if there is any additional information needed. &lt;/p&gt;&#xA;" OwnerUserId="5031" LastActivityDate="2019-02-21T17:09:57.423" Title="Automatically create data source's for controls when user adds page from experience editor" Tags="|experience-editor|pipelines|helix|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16926" PostTypeId="2" ParentId="9904" CreationDate="2019-02-20T16:34:11.713" Score="3" Body="&lt;p&gt;This issue only happens (at least on &quot;my machine&quot;) when using PackageReference instead of Packages.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A way to fix this is to edit the .csproj and change:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;PackageReference Include=&quot;Sitecore.XA.Foundation.Mvc&quot;&amp;gt;&#xA;  &amp;lt;Version&amp;gt;4.8.0&amp;lt;/Version&amp;gt;&#xA;  &amp;lt;IncludeAssets&amp;gt;runtime; build; native; contentfiles; analyzers&amp;lt;/IncludeAssets&amp;gt;&#xA;  &amp;lt;PrivateAssets&amp;gt;all&amp;lt;/PrivateAssets&amp;gt;      &#xA;&amp;lt;/PackageReference&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;PackageReference Include=&quot;Sitecore.XA.Foundation.Mvc&quot;&amp;gt;&#xA;  &amp;lt;Version&amp;gt;4.8.0&amp;lt;/Version&amp;gt;&#xA;  &amp;lt;PrivateAssets&amp;gt;none&amp;lt;/PrivateAssets&amp;gt;      &#xA;&amp;lt;/PackageReference&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I got into this solution after read this: &lt;a href=&quot;https://github.com/NuGet/Home/issues/7686&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/NuGet/Home/issues/7686&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4776" LastActivityDate="2019-02-20T16:34:11.713" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16927" PostTypeId="1" CreationDate="2019-02-20T20:00:56.833" Score="0" ViewCount="451" Body="&lt;p&gt;I'm having problems running the Re-Index Tree command. After a few seconds I see: &lt;code&gt;An error occured while communicating with the Sitecore server: A network error occurred.&lt;/code&gt;, followed by an empty error box. My network is actually okay and I can open Sitecore items fine on this server. It seems like no error happens in the logs when the command is run, however I do see this error message earlier:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #8 14:46:00 ERROR Exception&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: mscorlib&#xA;   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`2 body)&#xA;   at Sitecore.ContentSearch.AbstractSearchIndex.PerformUpdate(IEnumerable`1 indexableInfo, IndexingOptions indexingOptions)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Lucene.Net.Store.LockObtainFailedException&#xA;Message: Lock obtain timed out: NativeFSLock@C:\inetpub\wwwroot\SitecoreCMS\Data\indexes\sitecore_web_index_sec\write.lock: System.IO.IOException: The process cannot access the file 'C:\inetpub\wwwroot\SitecoreCMS\Data\indexes\sitecore_web_index_sec\write.lock' because it is being used by another process.&#xA;   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&#xA;   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)&#xA;   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)&#xA;   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)&#xA;   at Lucene.Net.Store.NativeFSLock.Obtain() in d:\Lucene.Net\FullRepo\trunk\src\core\Store\NativeFSLockFactory.cs:line 240&#xA;Source: Lucene.Net&#xA;   at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) in d:\Lucene.Net\FullRepo\trunk\src\core\Store\Lock.cs:line 97&#xA;   at Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, IndexDeletionPolicy deletionPolicy, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\IndexWriter.cs:line 1228&#xA;   at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create, MaxFieldLength mfl) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\IndexWriter.cs:line 1019&#xA;   at Sitecore.ContentSearch.LuceneProvider.Sharding.LuceneShard.CreateWriter(Directory directory, LuceneIndexMode mode)&#xA;   at Sitecore.ContentSearch.LuceneProvider.LuceneUpdateContext.InitializeWriter(UpdateContextShardState shardState, LuceneIndexMode mode)&#xA;   at Sitecore.ContentSearch.LuceneProvider.LuceneUpdateContext.InitializeWriters()&#xA;   at Sitecore.ContentSearch.LuceneProvider.LuceneUpdateContext.EnsureInitializeWriters()&#xA;   at Sitecore.ContentSearch.LuceneProvider.LuceneUpdateContext.UpdateDocument(Object itemToUpdate, Object criteriaForUpdate, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.UpdateItemVersion(IProviderUpdateContext context, Item version, IndexEntryOperationContext operationContext)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoUpdate(IProviderUpdateContext context, SitecoreIndexableItem indexable, IndexEntryOperationContext operationContext)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.Update(IProviderUpdateContext context, IIndexableUniqueId indexableUniqueId, IndexEntryOperationContext operationContext, IndexingOptions indexingOptions)&#xA;   at Sitecore.ContentSearch.AbstractSearchIndex.&amp;lt;&amp;gt;c__DisplayClass93_2.&amp;lt;PerformUpdate&amp;gt;b__0(IndexableInfo info, ParallelLoopState parallelLoopState)&#xA;   at System.Threading.Tasks.Parallel.&amp;lt;&amp;gt;c__DisplayClass17_0`1.&amp;lt;ForWorker&amp;gt;b__1()&#xA;   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&#xA;   at System.Threading.Tasks.Task.&amp;lt;&amp;gt;c__DisplayClass176_0.&amp;lt;ExecuteSelfReplicating&amp;gt;b__0(Object )&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.IO.IOException&#xA;Message: The process cannot access the file 'C:\inetpub\wwwroot\SitecoreCMS\Data\indexes\sitecore_web_index_sec\write.lock' because it is being used by another process.&#xA;Source: mscorlib&#xA;   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&#xA;   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)&#xA;   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)&#xA;   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)&#xA;   at Lucene.Net.Store.NativeFSLock.Obtain() in d:\Lucene.Net\FullRepo\trunk\src\core\Store\NativeFSLockFactory.cs:line 240&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What can I do to further troubleshoot or solve this issue? We are on Sitecore 8.2 rev. 161115.&lt;/p&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="1344" LastEditDate="2019-02-21T00:14:13.350" LastActivityDate="2019-02-21T00:14:13.350" Title="Unable to run Re-Index Tree - Process cannot access the file write.lock" Tags="|lucene|" AnswerCount="0" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="16928" PostTypeId="2" ParentId="16925" CreationDate="2019-02-20T21:55:05.283" Score="9" Body="&lt;p&gt;What you want to do is take advantage of Sitecore's branching functionality. A branch in Sitecore is basically a prebuilt item tree that will be copied and inserted where you want it. It could be one item or a thousand items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, what it helps you do is to build out a page, with all the related data folders under the page. All delivered in an insert option for your items.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Create branch&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Under the item &lt;code&gt;/sitecore/templates/Branches/&lt;/code&gt; insert a new branch item. This will prompt you to pick a template to base this branch on. Here you would pick you page template that you want to create. Once complete, edit this new page in the experience editor just like you would in your site tree. Add you components, any default content you need, etc... During this process you will create any sub items that are needed as data sources for the item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once complete, you will have a new page exactly as you want it to be created in your site. It should look like the image below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AM3xK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AM3xK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Add as insert option for your site&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;One of the best parts of a branch is that you can add it to insert options just like any other item. What ever item you want to have this as an insert option, edit the insert options and select the branch item you just created. Do not select the $name item, but its parent which is the branch item. The $name item is the item that will be created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: I always update my branch item to have the same icon as the item it is creating. This makes the visual experience the same and no one knows it is a branch item and not the original item.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Create a new item&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Using the insert options you set above, insert a new item like normal. Once complete, the item and all its children will be created. Matching your branch item 1 for 1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure when Sitecore added it to the base, but in Sitecore 9 all of the rendering datasources are updated automatically. This allows for every new item to reference its own sub items for datasources with no intervention required from the editors. If this does not happen for you, just use Kam's branch presets. This will do the exact same thing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/kamsar/BranchPresets&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/kamsar/BranchPresets&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's it. You can now use this same process to create as many pre-built pages as your editors need.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Alternative, Use a command template to create the branch and do the work.&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CreateSite : Command&#xA;{&#xA;    //protected void CreateSite()&#xA;    //{&#xA;    //    //Change the eventName here&#xA;    //    SheerResponse.Timer(&quot;multisite:createSiteA&quot;, 100);&#xA;    //}&#xA;&#xA;    public static string InvalidPath = &quot;/sitecore/templates/Branches/Project/Common/Sites/Site Root&quot;;&#xA;&#xA;&#xA;    public override void Execute(CommandContext context)&#xA;    {&#xA;        if (context.Items.Length == 1)&#xA;        {&#xA;            var item = context.Items[0]; &#xA;            var parameters = new NameValueCollection();&#xA;            parameters[&quot;id&quot;] = item.ID.ToString();&#xA;            parameters[&quot;language&quot;] = item.Language.ToString();&#xA;            parameters[&quot;database&quot;] = item.Database.Name;&#xA;            Sitecore.Context.ClientPage.Start(this, &quot;Run&quot;, parameters);&#xA;        }&#xA;    }&#xA;&#xA;    protected void Run(Sitecore.Web.UI.Sheer.ClientPipelineArgs args)&#xA;    {&#xA;        if (!args.IsPostBack)&#xA;        {&#xA;            //Means we are in the initial step, we want to ask for the name of the news&#xA;            Sitecore.Context.ClientPage.ClientResponse.Input(&quot;Enter site name:&quot;,&#xA;                Sitecore.Globalization.Translate.Text(&quot;Site Name&quot;),&#xA;                Sitecore.Configuration.Settings.ItemNameValidation, &quot;'$Input' is not a valid name.&quot;, 100);&#xA;            args.WaitForPostBack();&#xA;        }&#xA;        else&#xA;        {&#xA;            //Now we got a postback, which means we got a response&#xA;            if (!String.IsNullOrEmpty(args.Result) &amp;amp;&amp;amp; args.Result != &quot;undefined&quot;)&#xA;            {&#xA;                var db = Sitecore.Configuration.Factory.GetDatabase(args.Parameters[&quot;database&quot;]);&#xA;                var parent = db.GetItem(args.Parameters[&quot;id&quot;], Language.Parse(args.Parameters[&quot;language&quot;]));&#xA;&#xA;                BranchItem branch = parent.Database.GetItem(Constants.BranchSite.SiteA);&#xA;                var item = parent.Add(args.Result, branch);&#xA;&#xA;                // DO YOUR WORK HERE&#xA;&#xA;                Sitecore.Context.ClientPage.SendMessage(this, &quot;item:load(id=&quot; + item.ID + &quot;)&quot;);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-02-21T17:09:57.423" LastActivityDate="2019-02-21T17:09:57.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16930" PostTypeId="2" ParentId="16770" CreationDate="2019-02-21T03:09:33.407" Score="0" Body="&lt;p&gt;If I understand your requirement correct then you just want to invoke your custom code during the &quot;publishingservice:publishend&quot;. So you can add a handler in the event &quot;publishingservice:publishend&quot;, something like the below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Added the below patch in the &quot;App_Config\Include&quot; folder. [give a name on your own z.anything.config, i always prefer adding a patch instead of editing the Sitecore's original config files/entries]&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;events&amp;gt;&#xA;    &amp;lt;event name=&quot;publishingservice:publishend&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;Portal.Poc.Foundation.CustomPublisher, Portal.Poc.Foundation&quot; method=&quot;DoCustomCode&quot;/&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;  &amp;lt;/events&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the Code is,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Diagnostics;&#xA;using System;&#xA;namespace Portal.Poc.Foundation&#xA;{&#xA;    public class CustomPublisher&#xA;    {&#xA;        public CustomPublisher()&#xA;        {&#xA;        }&#xA;        public void DoCustomCode(object sender, EventArgs args)&#xA;        {&#xA;            Log.Info(&quot;You are in custom Publish End Handler&quot;, &quot;PublishEnd&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above code is executed whenever an item publish is invoked, tested by putting a breakpoint as well as the above log is written in the log file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note - This is tested in the same version of Sitecore and Publish Module &amp;amp; Service you mentioned in the above. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The class PublishingJobEndHandler in the event &quot;publishingservice:publishend&quot; invokes the &quot;publishEndResultBatch&quot; pipeline. So I guess if you want to implement a processor then you can customize/extend the existing or you can create your own pipeline and invoke the same from your custom handler which you are going to add in the &quot;publishingservice:publishend&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-02-21T03:09:33.407" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16931" PostTypeId="1" CreationDate="2019-02-21T05:00:41.763" Score="1" ViewCount="1200" Body="&lt;p&gt;I installed Sitecore 9.1 using Powershell scripts and site is loading fine. All Content Editor related things are working fine. Also, installed both xConnect &amp;amp; xConnect.Client certificate in both Personal &amp;amp; Trusted root path of Current User as well as local computer. I see Xconnect site loading fine as expected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when I try to open Experience Analytics it is showing below set of errors:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The OnlineInteractions graph cannot be displayed due to a server&#xA;error. Contact you system administrator.&lt;/li&gt;&#xA;&lt;li&gt;The ChannelsByVisits graph cannot be displayed due to a server&#xA;error. Contact you system administrator.&lt;/li&gt;&#xA;&lt;li&gt;The TopTenCampaignsByValue graph cannot be displayed due to a&#xA;server error. Contact you system administrator.&lt;/li&gt;&#xA;&lt;li&gt;The TopTenPatternsByValuePerVisit graph cannot be displayed due to&#xA;a server error. Contact you system administrator.&lt;/li&gt;&#xA;&lt;li&gt;The TopTenGoalsByConversions graph cannot be displayed due to a server&#xA;error. Contact you system administrator. &lt;/li&gt;&#xA;&lt;li&gt;The OnlineInteractionsByVisitsAndValuePerVisit graph cannot be displayed&#xA;due to a server error. Contact you system administrator.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Also Below is the stack trace - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;18624 22:48:22 ERROR [Sitecore Services]: HTTP GET&#xA;URL http://sitecore9xpo/sitecore/api/ao/aggregates/all/56649EAC3CCF4EAB88B0C74862DB862B/all?&amp;amp;dateGrouping=by-auto&amp;amp;&amp;amp;keyOrderBy=visits-Desc&amp;amp;dateFrom=20-11-2018&amp;amp;dateTo=17-02-2019&amp;amp;keyGrouping=by-key&#xA;&#xA;Exception System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&amp;gt; System.Net.WebException: Unable to connect to the remote server ---&amp;gt; System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 172.22.218.218:8085&#xA;   at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)&#xA;   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)&#xA;   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp;amp; socket, IPAddress&amp;amp; address, ConnectSocketState state, IAsyncResult asyncResult, Exception&amp;amp; exception)&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext&amp;amp; context)&#xA;   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.Get(IEnumerable`1 keys, NameValueCollection readingPreferences)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.Get(IEnumerable`1 keys, NameValueCollection readingPreferences)&#xA;   at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetReportSegments()&#xA;   at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetRequestType()&#xA;   at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.GetModelFromBindingContext(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;   at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;   at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)&#xA;   at System.Web.Http.Controllers.HttpActionBinding.&amp;lt;ExecuteBindingAsyncCore&amp;gt;d__12.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Controllers.ExceptionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__6.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please help me out here to solve the issue. Thanks in Advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&#xA;Rajath &lt;/p&gt;&#xA;" OwnerUserId="5095" LastEditorUserId="2056" LastEditDate="2019-02-21T05:48:16.590" LastActivityDate="2024-02-18T10:02:35.313" Title="Graphs in Experience Analytics cannot be displayed" Tags="|xconnect|experience-analytics|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16932" PostTypeId="1" AcceptedAnswerId="16933" CreationDate="2019-02-21T06:16:04.477" Score="0" ViewCount="300" Body="&lt;p&gt;I have:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 9.1&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 8.2&lt;/li&gt;&#xA;&lt;li&gt;MongoDB 3.4&lt;/li&gt;&#xA;&lt;li&gt;xDB Data Migration Tool 2.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I'm trying migrate analytics, I configured tenant and other things by documentations and all looks fine, also Mongo db has &quot;Connection was successfully established.&quot; when i run troubleshooter. But when i start &quot;MongoDB Contacts to xConnect Migration&quot; pipeline i have this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Data Exchange] A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : &quot;1&quot;, ConnectionMode : &quot;Automatic&quot;, Type : &quot;Unknown&quot;, State : &quot;Disconnected&quot;, Servers : [{ ServerId: &quot;{ ClusterId : 1, EndPoint : &quot;Unspecified/localhost:27017&quot; }&quot;, EndPoint: &quot;Unspecified/localhost:27017&quot;, State: &quot;Disconnected&quot;, Type: &quot;Unknown&quot;, HeartbeatException: &quot;MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---&amp;gt; System.TypeLoadException: Could not load type 'MongoDB.Bson.Serialization.Serializers.ElementAppendingSerializer`1' from assembly 'MongoDB.Bson, Version=2.4.4.0, Culture=neutral, PublicKeyToken=null'.&#xA;   at MongoDB.Driver.Core.WireProtocol.CommandWireProtocol`1.WrapCommandForQueryMessage(ConnectionDescription connectionDescription, Boolean&amp;amp; messageContainsSessionId)&#xA;   at MongoDB.Driver.Core.WireProtocol.CommandWireProtocol`1.CreateMessage(ConnectionDescription connectionDescription, Boolean&amp;amp; messageContainsSessionId)&#xA;   at MongoDB.Driver.Core.WireProtocol.CommandWireProtocol`1.&amp;lt;ExecuteAsync&amp;gt;d__15.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.ConnectionInitializer.&amp;lt;InitializeConnectionAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;OpenHelperAsync&amp;gt;d__48.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;OpenHelperAsync&amp;gt;d__48.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at MongoDB.Driver.Core.Servers.ServerMonitor.&amp;lt;HeartbeatAsync&amp;gt;d__27.MoveNext()&quot; }] }. (pipeline: Read Contacts from MongoDB Pipeline, pipeline step: Read Contacts from MongoDB, pipeline step identifier: 58da59cb-2fbb-46ec-9cce-602c8c50b761)&#xA;ManagedPoolThread #2 09:19:30 ERROR [Data Exchange]    at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description)&#xA;   at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask)&#xA;   at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.MongoClient.AreSessionsSupportedAfterServerSelection(CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.MongoClient.AreSessionsSupported(CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.OperationExecutor.StartImplicitSession(CancellationToken cancellationToken)&#xA;   at MongoDB.Driver.MongoCollection.UsingImplicitSession[TResult](Func`2 func)&#xA;   at MongoDB.Driver.MongoCursor.Count()&#xA;   at Sitecore.DataExchange.Providers.MongoDB.Processors.PipelineSteps.ReadMongoDBDocumentsStepProcessor.LogQueryStatistics(IMongoQuery query, MongoCollection`1 collection, Endpoint endpoint, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;   at Sitecore.DataExchange.Providers.MongoDB.Processors.PipelineSteps.ReadMongoDBDocumentsStepProcessor.ReadData(Endpoint endpoint, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My mongo db connection string is &lt;strong&gt;mongodb://localhost:27017/analytics&lt;/strong&gt;, this connection string work fine for sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Might be someone know how to solve it? &lt;/p&gt;&#xA;" OwnerUserId="4791" LastEditorUserId="1278" LastEditDate="2019-02-21T07:43:28.817" LastActivityDate="2019-02-21T07:57:25.687" Title="Sitecore 9.1 XDB migration issue with Mongo db connection" Tags="|xdb|mongodb|migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16933" PostTypeId="2" ParentId="16932" CreationDate="2019-02-21T07:57:25.687" Score="1" Body="&lt;p&gt;The error message says that it's trying to load &lt;code&gt;MongoDB.Bson, Version=2.4.4.0&lt;/code&gt;. It seems that on your Sitecore instance this DLL has somehow been downgraded incorrectly. You need to make sure MongoDB version &lt;strong&gt;2.6.1.0&lt;/strong&gt; is referenced. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check that all your nuget packages are not downgrading or upgrading Sitecore's default DLL's. You can find the default assembly list on the &quot;Assembly list&quot; link &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-21T07:57:25.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16935" PostTypeId="2" ParentId="16741" CreationDate="2019-02-21T09:25:19.150" Score="1" Body="&lt;p&gt;I would leave the template as it is and continue with the upgrade. Sitecore will do it by default since you can see &quot;leave template&quot; in the Action column.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since these are system templates/items and since they are not been modified (i.e. you mentioned this is a fresh install) I would not be too much worries about that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see &quot;/sitecore/templates/System/Experience Explorer/Preset&quot; exists both on 8.1 &amp;amp; 9.1 fresh installs. &#xA;But &quot;/sitecore/templates/System/Experience Explorer/Preset&lt;strong&gt;s&lt;/strong&gt;&quot; template only exists on 8.1 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, it seems that template has been removed in 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the upgrade please try to remove &quot;/sitecore/templates/System/Experience Explorer/Preset&lt;strong&gt;s&lt;/strong&gt;&quot; template in 9.1&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2019-02-21T09:25:19.150" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16936" PostTypeId="1" AcceptedAnswerId="16944" CreationDate="2019-02-21T10:31:14.280" Score="4" ViewCount="576" Body="&lt;p&gt;We have recently migrated 4 websites from sitecore 7.2 to sitecore 9.1. we have not done any major code changes and websites are still running in asp.net webforms. We have upgraded the license to include SXA. We are in need of creating a page completely using SXA in non-SXA(existing migrated websites) website. Is that possible? If yes, How do you suggest implementing SXA in the existing webforms website?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We would like to give a try to have one SXA page in non SXA website.&lt;/p&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="70" LastEditDate="2019-02-21T14:24:50.053" LastActivityDate="2019-02-21T16:21:20.323" Title="Is it possible to create sxa page in non sxa website?" Tags="|sxa|migration|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16937" PostTypeId="1" CreationDate="2019-02-21T11:15:41.333" Score="6" ViewCount="2435" Body="&lt;p&gt;I get below error in Content Delivery Environment in Sitecore 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;11284 11:00:12 ERROR Cannot start analytics Tracker Exception:&#xA;System.Net.Http.HttpRequestException Message: An error occurred while&#xA;sending the request. Source: Sitecore.Xdb.Common.Web&#xA;    at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func\`1 taskFactory)&#xA;    at Sitecore.Analytics.DataAccess.Dictionaries.DataStorage.ReferenceDataClientDictionary.EnsureDefinitionType(String definitionTypeName)&#xA;    at Sitecore.Analytics.DataAccess.Dictionaries.DataStorage.ReferenceDataClientDictionary.LoadAs[T](Object key)&#xA;    at Sitecore.Analytics.DataAccess.Dictionaries.AverageCounterExtensions.MeasureMilliseconds[T](AverageCounter counter, Func\`1 func)&#xA;    at Sitecore.Analytics.DataAccess.Dictionaries.ReferenceDataDictionary\`2.Get(TKey key, LookupStrategy strategy)&#xA;    at Sitecore.Analytics.DataAccess.Dictionaries.UserAgentsDictionary.Register(String userAgentName)&#xA;    at Sitecore.Analytics.Tracking.CurrentVisitContext.set_UserAgent(String value)&#xA;    at Sitecore.Analytics.Pipelines.CreateVisits.InitializeWithRequestData.Process(CreateVisitArgs args)&#xA;    at (Object , Object )&#xA;    at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;    at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;    at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;    at Sitecore.Analytics.Pipelines.CreateVisits.CreateVisitPipeline.Run(CreateVisitArgs args)&#xA;    at Sitecore.Analytics.Tracking.StandardSession.CreateInteraction(HttpContextBase httpContext)&#xA;    at Sitecore.Analytics.Pipelines.InitializeTracker.CreateVisit.Process(InitializeTrackerArgs args)&#xA;    at (Object , Object )&#xA;    at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;    at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;    at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;    at Sitecore.Analytics.Pipelines.InitializeTracker.InitializeTrackerPipeline.Run(InitializeTrackerArgs args)&#xA;    at (Object , Object )&#xA;    at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;    at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;    at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;    at Sitecore.Analytics.Pipelines.StartTracking.StartTrackingPipeline.Run(StartTrackingArgs args)&#xA;    at Sitecore.Analytics.DefaultTracker.StartTracking()&#xA;Nested Exception&#xA;Exception: System.Net.WebException Message: The request was aborted:&#xA;Could not create SSL/TLS secure channel. Source: System&#xA;    at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)&#xA;    at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3928" LastEditorUserId="70" LastEditDate="2019-02-21T14:46:25.570" LastActivityDate="2023-11-25T20:24:16.897" Title="ERROR Cannot start analytics Tracker" Tags="|xconnect|experience-analytics|xdb-cloud|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16939" PostTypeId="2" ParentId="16936" CreationDate="2019-02-21T13:33:01.047" Score="4" Body="&lt;p&gt;I don't think you will be able to do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Firstly, the views (.cshmlt) used by SXA won't be reachable by your pages if they are not part of an SXA website. You are going to have a lot of these:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q1nR5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q1nR5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, you said your old pages are &lt;strong&gt;webform based&lt;/strong&gt;. SXA is MVC only, so again you will need to rework this part of your instance if you want to use the accelerator here.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-02-21T16:21:20.323" LastActivityDate="2019-02-21T16:21:20.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16940" PostTypeId="1" CreationDate="2019-02-21T13:39:06.237" Score="2" ViewCount="331" Body="&lt;p&gt;Lets say I want my minion to run once every hour then I config this in the Environment file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  {&#xA;    &quot;$type&quot;: &quot;Sitecore.Commerce.Core.MinionPolicy, Sitecore.Commerce.Core&quot;,&#xA;    &quot;WakeupInterval&quot;: &quot;01:00:00&quot;,&#xA;    &quot;ListToWatch&quot;: &quot;ReleasedOrders&quot;,&#xA;    &quot;FullyQualifiedName&quot;: &quot;Sitecore.Commerce.Plugin.Orders.ReleasedOrdersMinion, Sitecore.Commerce.Plugin.Orders&quot;,&#xA;    &quot;ItemsPerBatch&quot;: 10,&#xA;    &quot;SleepBetweenBatches&quot;: 500&#xA;  },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But what if I want more control over when it actually runs? Like if I want it to run exactly every quarter past every hour. How do I configure that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="3366" LastEditorUserId="237" LastEditDate="2019-02-21T14:14:55.603" LastActivityDate="2019-02-21T14:14:55.603" Title="How to get a minion to run at a certain time rather than at an interval" Tags="|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16941" PostTypeId="2" ParentId="16940" CreationDate="2019-02-21T13:48:43.293" Score="1" Body="&lt;p&gt;Sitecore Minions are like agents/jobs from Sitecore. You can not syncronize them OOTB a give time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@Aksay Sura explained in a blogpost how to run minions at a specific time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all you need to install Sitecore Cron : &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecron&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecron&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The source code for sitecore can be find at: &lt;a href=&quot;https://github.com/akshaysura/Sitecron&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/akshaysura/Sitecron&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;He created a nice video where is explaind how to configure it: &lt;a href=&quot;https://youtu.be/tCnooSlifsk&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://youtu.be/tCnooSlifsk&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please have a look on his blogpost : &lt;a href=&quot;https://www.konabos.com/blog/run-sitecore-commerce-xc-9-minion-using-sitecore-precision-scheduling-with-sitecron-in-powerful-ways&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.konabos.com/blog/run-sitecore-commerce-xc-9-minion-using-sitecore-precision-scheduling-with-sitecron-in-powerful-ways&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-02-21T13:48:43.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16943" PostTypeId="2" ParentId="16937" CreationDate="2019-02-21T14:07:22.323" Score="3" Body="&lt;p&gt;My application was running under AppPoolIdentity. Below steps fixed the issue.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Change my App pool to run with Network Service&lt;/li&gt;&#xA;&lt;li&gt;Go to mmc, Go to personal store. Right click on Xconnect client certificate. Manage private keys, then I added &quot;Network Service&quot; to access private keys.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3928" LastEditorUserId="3928" LastEditDate="2019-02-22T09:10:00.833" LastActivityDate="2019-02-22T09:10:00.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16944" PostTypeId="2" ParentId="16936" CreationDate="2019-02-21T14:23:19.840" Score="5" Body="&lt;p&gt;No - this is not possible. An SXA Page requires the SXA layout and the predefined structure for an SXA site. Either the site must be &lt;em&gt;all&lt;/em&gt; SXA or it is just not SXA. The &lt;em&gt;only&lt;/em&gt; way to convert your existing web-forms site into SXA is a complete re-write.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You &lt;em&gt;can&lt;/em&gt; have SXA and non SXA sites in the same instance, that will work fine. But you can't mix the page items like that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also mix webforms &amp;amp; MVC in the same site, the MVC pages will need their own layout and &lt;em&gt;all&lt;/em&gt; components on the page must be MVC, but it is one way to migrate a site to MVC without re-writing the entire site at once.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-02-21T14:23:19.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16947" PostTypeId="2" ParentId="16745" CreationDate="2019-02-21T14:54:13.640" Score="0" Body="&lt;p&gt;For the correct namespaces to work, you can use the Additional Code Generation Properties in the properties of the TDS base projects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could add the Property &quot;TargetNamespace&quot; with the values &quot;Base1&quot; and &quot;Base2&quot; respectively.&#xA;For the inheriting TDS project, you'll need to modify the GetNamespace function in its helpers.tt file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of &lt;code&gt;namespaceSegments.Add(defaultNamespace);&lt;/code&gt; you would do &lt;code&gt;namespaceSegments.Add(!item.ReferencedItem ? defaultNamespace : item.AdditionalProperties[&quot;TargetNamespace&quot;]);&lt;/code&gt; to get that Additional Property for all referenced Items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks to cturano in the Sitecore Community Slacks #tds channel.&lt;/p&gt;&#xA;" OwnerUserId="3222" LastActivityDate="2019-02-21T14:54:13.640" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16948" PostTypeId="1" CreationDate="2019-02-21T15:06:15.687" Score="1" ViewCount="203" Body="&lt;p&gt;Luke is showing two fields with the same name for a document. When executing a search does sitecore search both fields or does it only search the first one. And if that's the case is there a way to either specify which one to prioritize or to overwrite with the latest one? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The case below is from indexing a PDF &quot;specialMediaItem&quot; is the item's name.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gfxF4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gfxF4.png&quot; alt=&quot;Lucene Duplicate field name Image&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: I found a reference to: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3927/appending-index-fields-in-lucene&quot;&gt;Appending index fields in Lucene&lt;/a&gt; However, Luke makes it appear as if it were two seperate fields instead of appending them together. &lt;/p&gt;&#xA;" OwnerUserId="4394" LastActivityDate="2019-02-21T15:06:15.687" Title="How does sitecore search (Lucene) handle duplicate field names stored in index?" Tags="|content-search|lucene|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16952" PostTypeId="2" ParentId="11259" CreationDate="2019-02-21T15:50:25.270" Score="0" Body="&lt;p&gt;If you are creating your own custom field (the checkbox, in your case), then I believe you can insert some javascript as in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void DoRender(HtmlTextWriter output)&#xA;{&#xA;    base.DoRender(output);&#xA;&#xA;    output.Write(GetJavascriptCode()); &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in method GetJavascriptCode() you would do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string GetJavascriptCode()&#xA;{&#xA;    //  JS code to handle the change state of the radio buttons&#xA;    var js = string.Format(@&quot;&amp;lt;script&amp;gt;&#xA;&#xA;        $scj = jQuery.noConflict();&#xA;&#xA;        $scj(document).ready(function(event) {{ &#xA;&#xA;            if ($scj('#CheckboxID').prop('checked')) {{&#xA;                // find RTE control and disable it&#xA;            }}&#xA;        });&quot;); &#xA;    return js;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would have to hard-code the selector for the RTE control. For example, its ID or Class, etc (considering you have no control on how the RTE field is being rendered).&lt;/p&gt;&#xA;" OwnerUserId="4188" LastEditorUserId="35" LastEditDate="2019-02-21T18:03:25.717" LastActivityDate="2019-02-21T18:03:25.717" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16953" PostTypeId="1" CreationDate="2019-02-21T17:09:03.690" Score="7" ViewCount="437" Body="&lt;p&gt;In our project, we assigned a partial design with a placeholder for stage modules and a placeholder for content modules to each page design.&#xA;The rendered markup then looks like this, because the partial design (Partial Design Dynamic Placeholder.cshtml) and the bootstrap body (Bootstrap4Body.cshtml) contain a placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YpEUi.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YpEUi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our frontend developers aren't happy with this because two consecutive row tags aren't bootstrap compliant. &lt;/p&gt;&#xA;" OwnerUserId="97" LastEditorUserId="73" LastEditDate="2019-02-22T14:27:38.320" LastActivityDate="2019-04-07T21:15:04.270" Title="How can I prevent nested placeholders from being wrapped by a bootstrap row tag?" Tags="|sxa|placeholders|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16954" PostTypeId="2" ParentId="16953" CreationDate="2019-02-21T17:09:03.690" Score="9" Body="&lt;p&gt;My investigation has shown that it can be easily done by configuration. Individual placeholders can be explicitly excluded from wrapping:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;experienceAccelerator&amp;gt;&#xA;            &amp;lt;grid&amp;gt;&#xA;                &amp;lt;placeholderWrapper&amp;gt;&#xA;                    &amp;lt;excludedPlaceholders&amp;gt;&#xA;                        &amp;lt;placeholder&amp;gt;main&amp;lt;/placeholder&amp;gt;&#xA;                    &amp;lt;/excludedPlaceholders&amp;gt;&#xA;                &amp;lt;/placeholderWrapper&amp;gt;&#xA;            &amp;lt;/grid&amp;gt;&#xA;        &amp;lt;/experienceAccelerator&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="97" LastActivityDate="2019-02-21T17:09:03.690" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16955" PostTypeId="1" CreationDate="2019-02-21T21:53:09.113" Score="0" ViewCount="462" Body="&lt;p&gt;I am trying to integrate MongoDB 4.0 with Sitecore 9.1 (to collect analytics data) but not sure what and where to change in the configuration files. I followed the steps mentioned in the installation guide but it's not very clear and specific. Have anyone of you tried such a thing recently? If so please let me know. Will appreciate any help!&lt;/p&gt;&#xA;" OwnerUserId="5103" LastActivityDate="2019-02-22T05:21:25.433" Title="How to integrate MongoDB 4.0 with Sitecore 9.1?" Tags="|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16956" PostTypeId="1" CreationDate="2019-02-22T04:52:32.343" Score="1" ViewCount="311" Body="&lt;p&gt;I am trying to build a form which contains state as droplink and given datasource as states &lt;a href=&quot;https://i.stack.imgur.com/7rYNA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7rYNA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here's the snippets of my employee model and state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d1v9F.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d1v9F.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yANFp.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yANFp.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i am getting all the states in the get action of form and passing them.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult EmployeeForm()&#xA;    {&#xA;        var sitecoreService = new SitecoreService(&quot;master&quot;);&#xA;        var statesFolder = sitecoreService.GetItem&amp;lt;States&amp;gt;(&quot;/sitecore/content/Global/States&quot;, x =&amp;gt; x.LazyDisabled());&#xA;        ViewBag.States  = statesFolder.Children;   &#xA;        return View();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;when i am trying to retreive the values then the state is mapped correctly but in the post action of form it is null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;here's the snippet of my form's state&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;form-group&quot;&amp;gt;&#xA;    @Html.LabelFor(model =&amp;gt; model.State, htmlAttributes: new { @class = &quot;control-label col-md-2&quot; })&#xA;    &amp;lt;div class=&quot;col-md-10&quot;&amp;gt;&#xA;        @Html.DropDownListFor(model =&amp;gt; model.State, new SelectList(ViewBag.States,&quot;Id&quot;,&quot;Name&quot;), &quot;select a state&quot;, new { htmlAttributes = new { @class = &quot;form-control&quot; } })&#xA;        @Html.ValidationMessageFor(model =&amp;gt; model.State, &quot;&quot;, new { @class = &quot;text-danger&quot; })&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Post action code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public ActionResult CreateItem(EmployeeModel employeeModel)&#xA;    {&#xA;        ID id = new ID(&quot;{529829D4-9DE6-4E30-AF40-D67EA93D3271}&quot;);&#xA;        var sitecoreService = new SitecoreService(&quot;master&quot;);&#xA;        var parent = sitecoreService.GetItem&amp;lt;Employees&amp;gt;(id.Guid);&#xA;        employeeModel.Name = &quot;employee-&quot; + employeeModel.EmployeeId;&#xA;        sitecoreService.CreateItem(parent, employeeModel);&#xA;        return View(&quot;~/Views/ContactBook/Success.cshtml&quot;, employeeModel);                  &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5039" LastEditorUserId="5039" LastEditDate="2019-02-22T08:44:09.943" LastActivityDate="2019-02-22T11:03:14.447" Title="Droplink value is always returning null in post action" Tags="|glass-mapper|sitecore-api|links|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16957" PostTypeId="2" ParentId="16955" CreationDate="2019-02-22T05:21:25.433" Score="3" Body="&lt;p&gt;If you see this table, 9.1 is compatible with MongoDb 3.6.6, not 4. (&lt;a href=&quot;https://kb.sitecore.net/articles/633863&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/633863&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The guide on setting it up is in the &lt;a href=&quot;https://dev.sitecore.net/~/media/85019670EECE4D008EEB3AD7037CE456.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;installation instructions&lt;/a&gt; for 9.1. The basics are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Enable the &lt;code&gt;sc.Xdb.Collection.Data.MongoDb.xml.disabled&lt;/code&gt; configuration file by&#xA;removing &lt;code&gt;.disabled&lt;/code&gt; extension.&lt;/li&gt;&#xA;&lt;li&gt;Disable &lt;code&gt;sc.Xdb.Collection.Data.Sql.xml&lt;/code&gt; configuration file by adding the .disabled file&#xA;extension.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Update the &lt;code&gt;collection&lt;/code&gt; connection string to point to the MongoDB instance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You must also update the collection connection string in the indexer job that exists under the following roles:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;XP Single (XP0): xConnect&lt;/li&gt;&#xA;&lt;li&gt;XP Scaled (XP1): xConnect Collection &amp;amp; xConnect Collection Search&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Rebuild the xDB search indexes in Solr&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That would swap the xConnect collections database from the SQL Server provider to the MongoDB provider. note, this is done on the &lt;code&gt;xConnect&lt;/code&gt; application&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-02-22T05:21:25.433" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16958" PostTypeId="1" CreationDate="2019-02-22T05:46:07.270" Score="0" ViewCount="72" Body="&lt;p&gt;We recently upgraded our project to Sitecore9 initial release from 7.2. We were re-compiling our code including latest Sitecore.Analytics.dll&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are getting this error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if (Tracker.IsActive)&#xA;{&#xA;      Tracker.Visitor.ExternalUser = domainUser.ToLower();&#xA;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Method not found: 'Sitecore.Analytics.Data.DataAccess.Visitor Sitecore.Analytics.Tracker.get_Visitor()'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone help me in resolving this?&lt;/p&gt;&#xA;" OwnerUserId="3950" LastActivityDate="2019-02-22T07:32:20.640" Title="Sitecore Analytics api new method in 9.0 version" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16959" PostTypeId="1" CreationDate="2019-02-22T06:20:22.617" Score="0" ViewCount="483" Body="&lt;p&gt;I need to publish a specific version of item to be published programmatically. Let's say I have item AboutUs which workflow enabled and have a total of 15 versions. The 10th version is already in final state and the rest are draft state. Then I add version 10 to my custom scheduled publishing task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the task is triggered and published successfully, it is the latest version published, even still in draft state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my current code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishOptions publishOptions = new PublishOptions(sourceDb, targetDb, PublishMode.Smart, LanguageManager.DefaultLanguage, DateTime.Now);&#xA;publishOptions.Deep = isDeepPublish;&#xA;publishOptions.RepublishAll = false;&#xA;publishOptions.RootItem = itemToPublish; &#xA;Publisher publisher = new Publisher(publishOptions);&#xA;publisher.Publish();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When debugging, itemToPublish.Version returned version 10, which is the correct one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried with :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PublishManager.PublishItem(itemToPublish, new Database[] { targetDb }, targetDb.Languages, isDeepPublish, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Yes, it works to publish the correct version, but somehow I got weirdness. Sometimes it would unpublish, sometimes field values are empty, sometimes not working at all. Also, it's not immediately published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 Initial Release&lt;/p&gt;&#xA;" OwnerUserId="4774" LastEditorUserId="237" LastEditDate="2019-02-22T09:14:32.187" LastActivityDate="2019-02-22T10:08:52.153" Title="How to publish specific item version immediately programmatically?" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16962" PostTypeId="2" ParentId="16958" CreationDate="2019-02-22T07:32:20.640" Score="2" Body="&lt;p&gt;It looks like you're trying to identify the contact. The code should be changed as per the &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/identifying-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation for Sitecore 9.0.x&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just an example, but it might look something like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Tracker.Enabled &amp;amp;&amp;amp; Tracker.Current != null &amp;amp;&amp;amp; Tracker.Current.IsActive) { &#xA;    Tracker.Current.Session.IdentifyAs(&quot;sitecoreextranet&quot;, domainUser.ToLower()); &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-22T07:32:20.640" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16964" PostTypeId="2" ParentId="16959" CreationDate="2019-02-22T10:08:52.153" Score="1" Body="&lt;p&gt;Publishing is not done on version level but on item level. Sitecore decides in a few pipelines which version will get published. By default that would be the latest version that is publishable (based on workflow and restrictions) and other versions that are needed for content tests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a &lt;code&gt;publishVersion&lt;/code&gt; pipeline: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/multiple-item-versions-in-web-database&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/multiple-item-versions-in-web-database&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And also the &lt;code&gt;publishItem&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to tweak the default behavior you should check to hook into one of those pipelines, but I actually think your issue might not be the publish itself but rather the status of the item when publishing.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-02-22T10:08:52.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16965" PostTypeId="2" ParentId="16956" CreationDate="2019-02-22T11:03:14.447" Score="1" Body="&lt;p&gt;Looking at your code, you're sending a state ID from your form in a POST action back to the server. Your model contains &lt;code&gt;State&lt;/code&gt; property, but it's an object of &lt;code&gt;State&lt;/code&gt; class. It's not possible to populate object from ID in a POST action automatically OOTB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you should do instead is to change the type of &lt;code&gt;State&lt;/code&gt; property in &lt;code&gt;EmployeeModel&lt;/code&gt; class to &lt;code&gt;Guid&lt;/code&gt; or &lt;code&gt;string&lt;/code&gt; (and maybe call it &lt;code&gt;StateId&lt;/code&gt;) and then retrieve the item from database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class EmployeeModel : DepartmentModel&#xA;{&#xA;    public Guid StateId { get; set }&#xA;    // ... other properties&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-22T11:03:14.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16966" PostTypeId="2" ParentId="16718" CreationDate="2019-02-22T12:25:50.957" Score="3" Body="&lt;p&gt;This is a bug in SIF/ Set-content. This is now fixed in version 2.1, run &lt;code&gt;Update-Module -Name SitecoreInstallFramework&lt;/code&gt; . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's caused by another application, usually Chrome or VS code taking control of the hosts file while it's being written to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now, make sure that you don't have Chrome or similar running when you do the uninstall. Then it should be OK.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;C:\Windows\system32\drivers\etc\hosts.backup is a backup of the file you can use that to restore the hosts file. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastEditorUserId="3270" LastEditDate="2019-04-09T08:04:08.413" LastActivityDate="2019-04-09T08:04:08.413" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16967" PostTypeId="2" ParentId="16532" CreationDate="2019-02-22T12:31:18.910" Score="1" Body="&lt;p&gt;It's seems to be a bug in &quot;Sitecore.EmailCampaign.Activities.dll&quot;, since it's compiled with a reference to the assembly &quot;Sitecore.Marketing.Automation.Activity&quot;, which seems not to be present in the Azure packages for 9.0.2. - I would report it as a bug to Sitecore if I was you.&lt;/p&gt;&#xA;" OwnerUserId="1006" LastActivityDate="2019-02-22T12:31:18.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16968" PostTypeId="2" ParentId="16719" CreationDate="2019-02-22T12:34:51.397" Score="0" Body="&lt;p&gt;SIF &lt;em&gt;shoudln't&lt;/em&gt; be installing the instances with any special authentication. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anonymous is what is required. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wonder if the IIS defaults have been modified such that it creates a site with authentication? &lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2019-02-22T12:34:51.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16970" PostTypeId="1" AcceptedAnswerId="17023" CreationDate="2019-02-22T13:22:11.950" Score="1" ViewCount="125" Body="&lt;p&gt;I'm trying to find out if the WorkflowPolicySet policy is configured from the Sitecore XP side of things. There seems to be an API to retrieve PolicySets:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; {{OpsApiHost}}/{{ShopsApi}}/PolicySets&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, the /PolicySets request that should return all policy sets never returns anything. You can also request a policy set by name: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{{OpsApiHost}}/{{ShopsApi}}/PolicySets('WorkflowPolicySet')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which works, but only if you pass the Ops environment. This doesn't work from Sitecore XP, because you always work with Authoring or Shops in that context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How is this suppose to work? Is there any other way to find out what policies are configured for a certain environment?&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2019-02-27T10:29:27.757" Title="How do I retrieve configured policies for a certain environment?" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16971" PostTypeId="2" ParentId="16721" CreationDate="2019-02-22T14:17:51.427" Score="-2" Body="&lt;p&gt;Well i just tried on an otherwise empty install of 9.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At least the homepage and a basic edit and publish would work. Other stuff like Experience Profile would just say An error has occurred. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be far safer to run an instance of XM1 instead. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2019-02-22T14:17:51.427" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16972" PostTypeId="2" ParentId="16528" CreationDate="2019-02-22T14:26:32.140" Score="0" Body="&lt;p&gt;If you can do it in Powershell, there is a good chance you can configure it within SIF. Read the docs on how the tasks are created. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will probably need to use the Register feature to allow you to configure other PS cmdlets as Tasks or ConfigFunctions. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2019-02-22T14:26:32.140" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16973" PostTypeId="1" CreationDate="2019-02-22T14:49:20.617" Score="2" ViewCount="738" Body="&lt;p&gt;I'm working with Sitecore 9 and solr 6.2.2. I am trying to create a custom index and in this index I'm only including a few fields. One of the fields is called OfficeLocation and it's a string. When rebuilding the index I'd like for the field to be called OfficeLocation and not OfficeLocation_s (or whatever the formatter in the config does). I can't seem to get this to work and I can't seem to find any posts when searching online on the topic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do any of you guys know how to do this?&lt;/p&gt;&#xA;" OwnerUserId="5108" LastEditorUserId="237" LastEditDate="2019-02-22T16:14:47.377" LastActivityDate="2019-02-22T16:14:47.377" Title="Sitecore 9 and custom solr indexes" Tags="|solr|configuration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="16975" PostTypeId="2" ParentId="16973" CreationDate="2019-02-22T16:11:46.760" Score="3" Body="&lt;p&gt;I am assuming you are using the Sitecore configuration for your custom index (in which case you should also use the api, but let's skip that discussion).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that I never tried what I'm explaining here, but it might get you in the right direction..  in the DefaultIndexConfiguration for Solr (&lt;code&gt;defaultSolrIndexConfiguration&lt;/code&gt; located in Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config) you can find the &lt;code&gt;typeMatches&lt;/code&gt; in the &lt;code&gt;fieldMap&lt;/code&gt;. These typeMatches define the &lt;code&gt;fieldNameFormat&lt;/code&gt;. For a string it mentions &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;typeMatch typeName=&quot;string&quot; type=&quot;System.String&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the &quot;{0}_s&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First if all, create your own version of the configuration (patch it) and attach that to your index. Then you can start making adjustments.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might change the fieldNameFormat for the string type, but that will change the value for all string fields. Another option is to create a new type and map your field to that type (in the &lt;code&gt;fieldNames&lt;/code&gt; section).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This seems logical, but again: I didn't try this myself..&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-02-22T16:11:46.760" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="16979" PostTypeId="1" CreationDate="2019-02-22T18:44:22.850" Score="1" ViewCount="67" Body="&lt;p&gt;We are running Sitecore 8.2 as a WebApp on Azure, with this we using Solr on VMs , using along with Zookeeper [3 nodes]. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is odd behavior we are seeing, if we make any configurations on Solr as restart it, we need to also restart the Azure Webapp before Sitecore starts to work again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected behavior as we are not sure whats going on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;S&lt;/p&gt;&#xA;" OwnerUserId="5109" LastActivityDate="2019-02-22T18:44:22.850" Title="Sitecore 8.2 Azure Web App / Solr VMs" Tags="|solr|azure|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16980" PostTypeId="1" AcceptedAnswerId="16981" CreationDate="2019-02-22T19:02:22.843" Score="2" ViewCount="614" Body="&lt;p&gt;I was wondering if anyone knows what is this mysterious little green square on my Content Editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DC1nG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DC1nG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've never seen any mention to it on the official documentation as far as I can remember.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="342" LastEditDate="2019-02-22T19:25:14.347" LastActivityDate="2019-02-22T19:25:14.347" Title="What is this mysterious *green square* on my Content Editor?" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16981" PostTypeId="2" ParentId="16980" CreationDate="2019-02-22T19:06:12.073" Score="13" Body="&lt;p&gt;That is an indicator of the outcome of any &lt;a href=&quot;https://briancaos.wordpress.com/2011/05/09/using-sitecore-field-validators/&quot; rel=&quot;noreferrer&quot;&gt;field&lt;/a&gt; or item validators on the currently-loaded item.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Green&lt;/strong&gt; = All validators are valid&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Yellow&lt;/strong&gt; = At least one validator is in warning state&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Red&lt;/strong&gt; = At least one validator is in error state (validation is failing)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-22T19:06:12.073" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16982" PostTypeId="1" CreationDate="2019-02-22T19:51:32.020" Score="1" ViewCount="599" Body="&lt;p&gt;Configuring Sitecore 9.0.2 on scaled environment. On the CM environment when we click any of the items related to our website, we see the exception below. Whereas all the Sitecore ootb items in content tree are not throwing this exception. If this is related to xConnect, we verified that all the xConnect URL are accessible from CM with no issues and we are using exact same certificates in the connection string on CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DkkIC.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DkkIC.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We see the following exception in Sitecore logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;FATAL [Experience Analytics]: Failed to synchronize segments. Message: Ensure definition type did not complete successfully. StatusCode: 401, ReasonPhrase: 'Invalid certificate', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:&#xA;{&#xA;  Pragma: no-cache&#xA;  Cache-Control: no-cache&#xA;  Date: Fri, 22 Feb 2019 18:47:19 GMT&#xA;  Server: Microsoft-IIS/10.0&#xA;  X-AspNet-Version: 4.0.30319&#xA;  X-Powered-By: ASP.NET&#xA;  Content-Length: 0&#xA;  Expires: -1&#xA;}. Details:    at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.GetAll(NameValueCollection readingPreferences)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.GetAll(NameValueCollection readingPreferences)&#xA;   at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.GetSegmentsToSynchronize()&#xA;   at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.SynchronizeAllSegments()&#xA;   at System.Threading.Tasks.Task.Execute()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can someone please suggest what this error is all about?&lt;/p&gt;&#xA;" OwnerUserId="2890" LastActivityDate="2019-02-22T19:51:32.020" Title="While clicking on an item in Content Editor throws Invalid Certificate exception" Tags="|content-editor|xconnect|sitecore-install-framework|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16983" PostTypeId="2" ParentId="8263" CreationDate="2019-02-22T21:59:42.867" Score="2" Body="&lt;p&gt;We encountered exact the same issue recently due to the wrong Solr core name in the config files. By default, a Solr core is named &lt;em&gt;&quot;sitecore_master_index&quot;&lt;/em&gt; in the config, but in our case we called it &lt;em&gt;&quot;our_sitecore_site_master_index&quot;&lt;/em&gt; in Solr. So, I suggest you to make sure that your Solr cores are named consistently between the Sitecore configs and Solr setup itself.&lt;/p&gt;&#xA;" OwnerUserId="4390" LastActivityDate="2019-02-22T21:59:42.867" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16984" PostTypeId="2" ParentId="16096" CreationDate="2019-02-22T23:30:28.803" Score="1" Body="&lt;p&gt;I reported this as an issue when I created this question. Support worked through it and created a patch for it. It was a complete replace of the Sitecore.Owin.Authentication.IdentityServer.dll&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference support ID 305761 for the fix.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-22T23:30:28.803" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16985" PostTypeId="2" ParentId="16122" CreationDate="2019-02-22T23:41:58.807" Score="3" Body="&lt;p&gt;I got back info from Sitecore support on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;.netCore has different requirements for approved certificates that .NET does. Core requires that the certificate have a &quot;Key Usage&quot; with a value or &lt;code&gt;Digital Signature&lt;/code&gt;. You also have to locate this certificate to the personal certificate store on the local user. Not the local machine. This mean you have to have the cert in the Machine local store and Personal local store. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find a certificate that has key usage = Digital Signature.&lt;/li&gt;&#xA;&lt;li&gt;Copy the cert to Current User / Personal / Certificates store (this is for .NetCore)&lt;/li&gt;&#xA;&lt;li&gt;Copy the cert to Machine / Personal / Certificates store (this if for xConnect)&lt;/li&gt;&#xA;&lt;li&gt;Update the thumbprint in the xConnect /App_Config/AppSettings.config with this new certificate. &lt;/li&gt;&#xA;&lt;li&gt;Run your .NetCore app.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Alternately and not recommended, you can rem out the thumbprint setting in the xConnect /App_Config/AppSettings.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wpAhB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wpAhB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-22T23:41:58.807" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16986" PostTypeId="1" AcceptedAnswerId="16987" CreationDate="2019-02-22T23:53:57.003" Score="3" ViewCount="318" Body="&lt;p&gt;In a site setting you can set the scheme for the site. i.e. Scheme=https&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot;&amp;gt;&#xA;   &amp;lt;patch:attribute name=&quot;scheme&quot; value=&quot;https&quot;/&amp;gt;&#xA;&amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The item Link Provider obeys the scheme setting from the site config. So if it is set to https, then all links will be https if AlwaysIncludeServerUrl is set to true in the link provider settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the mediaProvider does not do the same. The mediaProvider only sends back the same scheme that was sent on the request. So if I request a page &lt;a href=&quot;https://mysite&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mysite&lt;/a&gt;, then all images will be https. But if I request the same site in &lt;a href=&quot;http://mysite&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite&lt;/a&gt;, the scheme is ignored. All links will be http.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any way to make Sitecore obey the scheme on media also?&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-23T06:09:50.980" Title="Media Provider ignoring site scheme setting" Tags="|link-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16987" PostTypeId="2" ParentId="16986" CreationDate="2019-02-23T00:04:13.983" Score="3" Body="&lt;h1&gt;Sitecore support&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore recorded this as a bug. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Patch can be found here &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.170025&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.170025&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Self rolled code&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I was able to resolve this with code&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Hacky class to make the switch&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string ConvertHttpToHttps(string url)&#xA;{&#xA;    if (Sitecore.Context.Site?.SiteInfo?.Scheme == &quot;https&quot;) &#xA;    {&#xA;        if (string.IsNullOrWhiteSpace(url)) return url;&#xA;        if (url.StartsWith(&quot;http://&quot;))&#xA;        {&#xA;            url = url.Replace(&quot;http://&quot;, &quot;https://&quot;);&#xA;        }&#xA;    }&#xA;&#xA;    return url;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The new media provider&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Client.Core.MediaProvider&#xA;{&#xA;#pragma warning disable CS0612 // Type or member is obsolete&#xA;    public class NoSslPortMediaProvider : Sitecore.Resources.Media.MediaProvider&#xA;    {&#xA;        public override string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;        {&#xA;            var mediaUrl = base.GetMediaUrl(item, options);&#xA;            return LinkHelper.ConvertHttpToHttps(mediaUrl);&#xA;        }&#xA;    }&#xA;#pragma warning restore CS0612 // Type or member is obsolete&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The patch&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;mediaLibrary&amp;gt;&#xA;            &amp;lt;mediaProvider&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Client.Core.MediaProvider.NoSslPortMediaProvider, Client.Core&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/mediaProvider&amp;gt;&#xA;        &amp;lt;/mediaLibrary&amp;gt;    &#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-02-23T06:09:50.980" LastActivityDate="2019-02-23T06:09:50.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16988" PostTypeId="2" ParentId="15236" CreationDate="2019-02-23T00:10:31.763" Score="0" Body="&lt;p&gt;I worked with support on this and never was not able to resolve the issue. I ended up rebuilding the tenant, matching my values 1 for 1. After that it worked. There must be a difference between the 2.0 and 1.4 that we could not find. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-02-23T00:10:31.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16991" PostTypeId="2" ParentId="16528" CreationDate="2019-02-23T11:47:39.470" Score="0" Body="&lt;p&gt;Yes it is possible, you can do following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create an aspx page in &quot;SiteUtilityPages&quot; that will read item from core database and update the url in field.&lt;/li&gt;&#xA;&lt;li&gt;Add a Cmdlet in exiting SIF module or create one that will run the above page using &quot;Invoke-RestMethod&quot; command.&lt;/li&gt;&#xA;&lt;li&gt;Add new task in your json file to call the cmdlet with appropriate parameters.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have updated XC installation scripts for the similar purpose, &lt;a href=&quot;https://vipinbankablog.wordpress.com/2019/01/08/install-multiple-sitecore-commerce-instances-on-single-machine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here is the blog&lt;/a&gt; and you can download the updated installation scripts files from there.&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-02-23T11:47:39.470" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16993" PostTypeId="1" CreationDate="2019-02-23T16:38:54.673" Score="1" ViewCount="66" Body="&lt;p&gt;Currently we have the requirement like we want set redirect url as per current browser url&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So for that we trying to set redirect url  custom implementation of  IdentityProvidersProcessor , but its return value as 127.0.0.1 .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;as we did investigation it looks &quot;IdentityProvidersProcessor &quot; owin.identityProviders run before &quot;httpBeginRequest&quot; event, so we are not able to exact browser url .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help appreciated&lt;/p&gt;&#xA;" OwnerUserId="4943" LastActivityDate="2019-02-23T16:38:54.673" Title="How to get current browser url with Azure AD authentication (OWIN) : &lt;owin.identityProviders&gt;" Tags="|sitecore-client|azure|azure-ad|owin|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16994" PostTypeId="1" CreationDate="2019-02-23T17:28:40.723" Score="4" ViewCount="266" Body="&lt;p&gt;I'm currently writing a service that needs to integrate with Eventbrite to store external event information as items in Sitecore.  We run a Sitecron job every 4 hours to pull in and update the existing data set.  This does a few checks to see whether or not the item exists, and if it does, if it needs updating.  If the item is new, then a new item is created.  The first check that's performed is for the venues of the events.  Due to a problem with the way that Eventbrite stores venues, there are several distinct &quot;venues&quot; that are all the same location.  With that, I normalize the venues into a separate item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Venues that are retrieved from the Eventbrite API are generated with this method&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void CreateVenue(IEnumerable&amp;lt;Venue&amp;gt; venues)&#xA;{&#xA;  var contextDB = Factory.GetDatabase(&quot;master&quot;);&#xA;  var _scService = new SitecoreService(contextDB);&#xA;  using (var searchContext = ContentSearchManager.GetIndex(&quot;sitecore_master_index&quot;).CreateSearchContext())&#xA;  {&#xA;    var venueResult = searchContext.GetQueryable&amp;lt;VenueByIdSearchResult&amp;gt;().Where(x =&amp;gt; x.TemplateId == VenueByIdSearchResult.VenueTemplateId).ToList();&#xA;    var baseQuery = PredicateBuilder.True&amp;lt;VenueByIdSearchResult&amp;gt;();&#xA;    var queryByTemplate = PredicateBuilder.False&amp;lt;VenueByIdSearchResult&amp;gt;();&#xA;    queryByTemplate = queryByTemplate.Or(t =&amp;gt; t.TemplateId == VenueByIdSearchResult.VenueTemplateId);&#xA;&#xA;    foreach (var venue in venues)&#xA;    {&#xA;      var queryByVenueId = PredicateBuilder.False&amp;lt;VenueByIdSearchResult&amp;gt;();&#xA;      queryByVenueId = queryByVenueId.Or(v =&amp;gt; v.VenueId == venue.Id);&#xA;      var existingItemQuery = baseQuery.And(queryByTemplate).And(queryByVenueId);&#xA;      var existingItem = searchContext.GetQueryable&amp;lt;VenueByIdSearchResult&amp;gt;()&#xA;          .Where(existingItemQuery);&#xA;      IVenue scVenue;&#xA;      if (existingItem.Any())&#xA;      {&#xA;        scVenue = _scService.Cast&amp;lt;IVenue&amp;gt;(existingItem.First().GetItem());&#xA;      }&#xA;      else&#xA;      {&#xA;        scVenue = _scService.Create&amp;lt;IVenue, IModelBase&amp;gt;(EventList.APIVenuesFolder, venue.Id);&#xA;      }&#xA;      scVenue = venue.MapVenue(scVenue);&#xA;      _scService.Save(scVenue);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;VenueByIdSearchResult&lt;/code&gt; class, which inherits &lt;code&gt;SearchResultItem&lt;/code&gt; looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private class VenueByIdSearchResult : SearchResultItem&#xA;{&#xA;  public static ID VenueTemplateId { get; } = new ID(&quot;{9DD2BE5A-BEDB-4B49-B769-EA8A1DC21D57}&quot;);&#xA;  [IndexField(&quot;eventbrite_venue_id&quot;)]&#xA;  public string VenueId { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;(yes, this class is currently a private class within my Service class that Sitecron is interacting with, it's a piece that will move in the near future)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The item creation steps work great, and aren't a problem (although I wish they were faster.  I believe this is a side-effect of using Glass and not using a BulkUpdate context).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The biggest problem lies with the usage of &lt;code&gt;PredicateBuilder&lt;/code&gt; to formulate the queries that are joined to find the &lt;code&gt;existingItem&lt;/code&gt;.  Locally, using Lucene as the search provider, this code works fine and the item is appropriately found.  This ultimately results in an update occurring to the existing item, rather than creating a new item.  When I run the exact same code, in an environment where Solr is the search provider, the &lt;code&gt;existingItem&lt;/code&gt; is not found with the predicate from &lt;code&gt;PredicateBuilder&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The other two methods that perform almost identical lookups to create/update items face the same issue.  Instead of finding the item, and updating it, it just creates new items every time the Sitecron job runs.  This is not ideal.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another thing I noticed, when trying to debug this, is that in my search log, it appears when the queries for the Venue items are logged, the IndexField is not being converted appropriately.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As shown in the &lt;code&gt;VenueByIdSearchResult&lt;/code&gt; class, the &lt;code&gt;VenueId&lt;/code&gt; field is using an &lt;code&gt;IndexFieldAttribute&lt;/code&gt; to map the indexed field &lt;code&gt;eventbrite_venue_id&lt;/code&gt;, which does exist in my Solr index as &lt;code&gt;eventbrite_venue_id_t&lt;/code&gt;, which I would expect. Instead the query looks like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;(_template:(9dd2be5abedb4b49b769ea8a1dc21d57) AND eventbrite_venue_t:(26990187))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I use this exact query in my Solr admin, I don't get any results (obviously) but if I change &lt;code&gt;eventbrite_venue_t&lt;/code&gt; to &lt;code&gt;eventbrite_venue_id_t&lt;/code&gt; in the query, it does exactly as I'd expect. I'm unsure where the Search.log query is coming from, or how that field is being changed from what the &lt;code&gt;IndexFieldAttribute&lt;/code&gt; is setting it to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately, my understanding was that Content Search API was intended to abstract away the Solr vs Lucene vs Coveo vs whatever discrepancies to maintain consistency. I apologize if my understanding is incorrect, and would love to see how I'm misunderstanding it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For final context, this is Sitecore 8.2u2/Solr 5.5.3 in a distributed set up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if I need to provide additional information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I tried installing Solr locally to see if I could reproduce the problem.  At first, I tried just migrating over to my Bitnami install of Solr 5.5.0-0.  After some issues, and realizing that there is an open issue with version of Solr&amp;lt;5.5.1, I installed Bitnami's Solr 6.0.1 instance.  Once doing that, and migrating my cores over to there, and rebuilding, I was able to re-run the above batch locally.  It worked. The queries look exactly as I'd expect, and there were no data replication issues.  At this point, I'm curious if there are any issues between Solr 5.5.3 (the version on my integration server) and Solr 6.0.1. Any information would be greatly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update 2&lt;/strong&gt;&#xA;Turns out the problem is a little more interesting.  We recently upgraded to Sitecore 9.0.2 and the issue came back.  Fields that are indexed as &quot;eventbrite_venue_id_t&quot; are being translated to &quot;eventbrite_venue_t&quot; when the Indonesian language translations are in the solr managed-schema.  I believe this is a bug with &lt;code&gt;IndexFieldAttribute&lt;/code&gt; and will be following up with Sitecore.  It appears that any template that is named with &quot;id&quot; at the end of the name will face this issue.  I haven't tested with other languages, but I suspect they would face the same issue.&lt;/p&gt;&#xA;" OwnerUserId="637" LastEditorUserId="637" LastEditDate="2020-02-27T15:51:34.943" LastActivityDate="2020-02-27T15:51:34.943" Title="Sitecore Content Search API returns expected results with Lucene as search provider but not with Solr" Tags="|content-search|solr|lucene|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="16995" PostTypeId="1" CreationDate="2019-02-23T18:36:11.003" Score="1" ViewCount="2017" Body="&lt;p&gt;We are using Sitecore 9 Update 2 and SXA 1.7.1 in azure PaaS. We are facing issues with Redis cache. The website suddenly throws below error when we looked at Redis cache usage in Azure it's showing as always 100MB .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried to flush memory that did not work out either any clues on this error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Application.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Timeout performing EVAL, inst: 0, mgr: Inactive, err: never, queue: 26953, qu: 26953, L75: 0, qc: 0, wr: 0, wq: 0, in: 0, ar: 0,IOCP: Busy=0,Free=1000,Min=2,MaX=1000), WORKER: (Busy=2,Free=32765,Min=50,MaX=32767)&#xA;&#xA;Stack Trace:&#xA;&#xA;[TimeoutException: Timeout performing EVAL, inst: 0, mgr: Inactive, err: never, queue: 26953, qu: 26953, qs: 6, qc: 8, wr: 6, wq: 6, in:&#xA;&#xA;9, ar: 9, IOCP: (StackExchange.Redis.ConnectionMu1tiplexer.ExecuteSyncImpl(Message message, ResultProcessor‘1 processor, ServerEndPoint server) +661&#xA;StackExchange.Redis.RedisBase.ExecuteSync(Message message, Resu1tProcessor\1 processor, ServerEndPoint server) +122&#xA;StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) +141&#xA;&#xA;&#xA;.Redisconnectionwrapper.TryTakewriteLockAndGetData(String sessionld, DateTime lockTime, 0bject&amp;amp; 1ockId, Isessionstatelten&#xA;StackExchangeclientconnection.RetryForScriptNotFound(Func‘1 redisoperation) +146&#xA;StackExchangeclientconnection.RetryLogic(Func‘1 redisoperation) +159&#xA;StackExchangeclientconnection.Eval(String script, String[] keyArgs, Object[] va1ueArgs) +669&#xA;&#xA;RedissessionStateProvider.GetItemFromSessionStore(Boolean iswriteLockRequired, Httpcontext context, String id, Boo1ean&amp;amp;&#xA;RedisSessionStateProvider.GetItemExclusive(Httpcontext context, String id, Boo1ean&amp;amp; locked, TimeSpan&amp;amp; lockAge, Object&amp;amp; J&#xA;&#xA;System.web.SessionstateiSessionStateModule.GetSessionStateItem() +169&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="2673" LastEditDate="2019-02-24T02:00:56.780" LastActivityDate="2019-02-24T02:00:56.780" Title="Redis timeout errors in Azure PaaS" Tags="|paas|redis|" AnswerCount="1" CommentCount="0" ClosedDate="2019-02-25T06:48:51.777" ContentLicense="CC BY-SA 4.0" />
  <row Id="16996" PostTypeId="2" ParentId="5965" CreationDate="2019-02-24T00:35:31.820" Score="2" Body="&lt;p&gt;&lt;a href=&quot;https://www.sitecoregabe.com/2019/02/redis-dead-redemption-redis-cache.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;This blog post&lt;/a&gt; covers a great explanation from Sitecore about what's going on when you see exceptions like this and how to adjust config to fix the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The general approach as recommended by Sitecore seems to be first to apply support patch Sitecore.Support.210408 and config changes from &lt;a href=&quot;https://kb.sitecore.net/articles/464570&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. A note that (in my opinion) they don't supply very good default settings for the thread limits. From my testing on a production site I'd recommend as follows (of course every solution is different so you'll still need to fine-tune over time).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;MaxWorkerThreadsPerCore&amp;gt;100&amp;lt;/MaxWorkerThreadsPerCore&amp;gt;                        &#xA;&amp;lt;MinWorkerThreadsPerCore&amp;gt;50&amp;lt;/MinWorkerThreadsPerCore&amp;gt;&#xA;&amp;lt;MaxCompletionPortThreadsPerCore&amp;gt;100&amp;lt;/MaxCompletionPortThreadsPerCore&amp;gt;&#xA;&amp;lt;MinCompletionPortThreadsPerCore&amp;gt;50&amp;lt;/MinCompletionPortThreadsPerCore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next up is to go through &lt;a href=&quot;https://kb.sitecore.net/articles/858026&quot; rel=&quot;nofollow noreferrer&quot;&gt;this KB article&lt;/a&gt; and consider the options recommended there - the main one being to decide whether to add another redis instance and split the private and shared session state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Session Weight&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something that isn't really mentioned is session weight. Redis, being a key-value store, performs best when storing a lot of very small light weight values. From my experience, if your private session is holding more than about 1MB per session then you're going to have bad performance under load that will eventually lead to site degradation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So take a look at your code and see if you can optimize session weight. Do you really need to store an entire member's profile in session once they log in, or can you just track some important values and get the rest of it from another data store when required?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further along the lines of Session Weight - a &lt;a href=&quot;https://bartlomiejmucha.com/en/blog/are-you-hitting-redis-requests-per-second-rps-limit/&quot; rel=&quot;nofollow noreferrer&quot;&gt;great post from Bartłomiej Mucha&lt;/a&gt; confirms that Redis performance scales linearly with cache size, and since the session is stored in the cache then this is a problem. So scaling up Redis to the next tier will help a lot if you diagnose it as hitting the request per second limit for that cache size.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2020-02-21T06:45:43.583" LastActivityDate="2020-02-21T06:45:43.583" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="16997" PostTypeId="2" ParentId="16995" CreationDate="2019-02-24T00:35:36.403" Score="5" Body="&lt;p&gt;It's not entirely clear if this is happening under load, but there&#xA;    are a number of troubleshooting steps and configuration changes you&#xA;    can make to optimise your Sitecore implementation with Redis.  The&#xA;    out of the box settings often need some tweaking depending on your&#xA;    environment.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Confirm the Redis cache is not under too much load.  You should be able to view all the relevant metrics in Azure portal.  In this case look at Memory usage (as you've already done), Load, CPU and Network Bandwidth. This may show indicators of the bottleneck. If any of these are maxing out, then you will need to scale up.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Ensure you're not inadvertently storing/retrieving large objects into/from session in your custom code.  This can cause significant overheads on both the CD and Redis, perhaps look at other architectural options if this is the case.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Confirm Redis Azure cache is in the same region as your CD instances.  Latency is your enemy with Redis.  Having it in the same region and running on an SKU with &quot;High&quot;+ Network performance will help.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore offer some guidance on optimising solutions using Redis to avoid timeouts.  This includes a patch and configuration settings that change the Redis timeout settings.  As with all patches, you should confirm it's appropriateness for your solution with Support before applying it. &lt;a href=&quot;https://kb.sitecore.net/articles/464570&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/464570&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Split your shared and private session repositories onto two Redis instances.  Obviously this would incur additional cost, but if it's truly under load may be a good option.  To do this you'll need to create a new Redis instance, add the connection string to ConnectionStrings.config then patch in the new connection string name to shared session config. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can find more details in the documentation in the &quot;Configure Sitecore&quot; section at:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/walkthrough--configuring-a-shared-session-state-database-using-the-redis-provider.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/walkthrough--configuring-a-shared-session-state-database-using-the-redis-provider.html&lt;/a&gt; The endstate of your shared session config on the CD (&lt;strong&gt;patching&lt;/strong&gt; over the original config in  Sitecore.Analytics.Tracking.config) would look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sharedSessionState defaultProvider=&quot;redis&quot;&amp;gt;&#xA;&amp;lt;providers&amp;gt;&#xA;        &amp;lt;clear/&amp;gt;&#xA;        &amp;lt;add name=&quot;redis&quot;&#xA;            type=&quot;Sitecore.SessionProvider.Redis.RedisSessionStateProvider,Sitecore.SessionProvider.Redis&quot;&#xA;            connectionString=&quot;newSharedSessionConnectionStringName&quot;&#xA;            pollingInterval=&quot;2&quot;&#xA;            applicationName=&quot;shared&quot;/&amp;gt;&#xA;&amp;lt;/providers&amp;gt;&amp;lt;/sharedSessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also have a read of the following blog from Gabe Streza: &lt;a href=&quot;https://www.sitecoregabe.com/2019/02/redis-dead-redemption-redis-cache.html&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecoregabe.com/2019/02/redis-dead-redemption-redis-cache.html&lt;/a&gt; .  While it may not be the exact same symptoms or root issue, there are some good insights into troubleshooting and resolutions.&lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2019-02-24T00:35:36.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16998" PostTypeId="1" AcceptedAnswerId="16999" CreationDate="2019-02-24T06:05:26.267" Score="1" ViewCount="86" Body="&lt;p&gt;We have a simple Website which has WFFM form, there is no login page. When user is closing browser directly that time interaction is not capturing into MongoDb. Probably session end is not firing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest a solution.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-02-24T13:59:06.297" LastActivityDate="2019-02-28T10:53:36.613" Title="User Interaction is not storing on MongoDb - Once browser is closed" Tags="|experience-analytics|mongodb|session-state|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="16999" PostTypeId="2" ParentId="16998" CreationDate="2019-02-24T07:32:38.883" Score="3" Body="&lt;p&gt;Closing the browser will not end/expire the session. That is done after user is idle for 30 mins time by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you can adjust that from adjusting &quot;timeout&quot; parameter of the following tag in the web.config file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;authentication …&amp;gt; &#xA;    &amp;lt;forms name=&quot;.ASPXAUTH&quot; cookieless=&quot;UseCookies&quot; timeout=&quot;2&quot; /&amp;gt;&#xA;&amp;lt;/authentication&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have blog about the WFFM data flow process for sc 8 versions in the following links in case you need to get full cycle of the data flow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorefootsteps.blogspot.com/2015/06/data-flow-sitecore-wffm-part-1.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorefootsteps.blogspot.com/2015/06/data-flow-sitecore-wffm-part-1.html&lt;/a&gt;&#xA;&lt;a href=&quot;https://sitecorefootsteps.blogspot.com/2015/07/data-flow-sitecore-webforms-for-2.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorefootsteps.blogspot.com/2015/07/data-flow-sitecore-webforms-for-2.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="73" LastEditDate="2019-02-28T10:53:36.613" LastActivityDate="2019-02-28T10:53:36.613" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17000" PostTypeId="1" CreationDate="2019-02-24T09:35:59.053" Score="0" ViewCount="879" Body="&lt;p&gt;I'm using Sitecore 9 and SXA 1.7.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can set the default language of the site at Site Grouping:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/azUMy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/azUMy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to know where to set the language programmatically in SXA.&#xA;Which dll to use, as I want to override this behavior?&lt;/p&gt;&#xA;" OwnerUserId="4229" LastEditorUserId="2056" LastEditDate="2019-02-25T07:02:12.290" LastActivityDate="2021-07-14T23:01:40.160" Title="Setting site default language in SXA" Tags="|sxa|multilingual|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17001" PostTypeId="1" CreationDate="2019-02-24T10:51:28.883" Score="2" ViewCount="416" Body="&lt;p&gt;When I create a template entry for an image with source location like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/media library/Icons/Bezahlarten&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/40h4u.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/40h4u.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added some images to this folder, but when I whant to select an image for this I see only this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hS6X6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hS6X6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and I thought I would directly see all images inside this folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only when I enable the treeview on the right and manually open the &quot;Bezahlarten&quot; folder I can select an image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3D9X9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3D9X9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can I do that I see the images directly when opening the media selection dialog?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;simple search I can fin the picture&#xA;&lt;a href=&quot;https://i.stack.imgur.com/cZkc3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cZkc3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-02-24T12:10:08.903" LastActivityDate="2019-11-22T20:01:15.310" Title="Template source location media folder" Tags="|media-library|datasource|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17002" PostTypeId="2" ParentId="17000" CreationDate="2019-02-24T10:51:53.830" Score="1" Body="&lt;p&gt;In SXA you don't need it to set it programmatically. SXA is designed with zero code approach, and almost everything is possible without editing the code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;for DLLm Check the &lt;code&gt;Sitecore.XA.Foundation.Multisite&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before you create a new Website in Tenant, just add the new language you desire, for example Arabic. Go to `/sitecore/system/Languages/' and add the new language&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6buZN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6buZN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Select Arabic and proceed till completion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aKslg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aKslg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once added, Go to your tenant, and create a new Site, There you will see the language you just created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QNF76.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QNF76.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2948" LastEditorUserId="2948" LastEditDate="2019-02-25T10:17:39.600" LastActivityDate="2019-02-25T10:17:39.600" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17003" PostTypeId="1" CreationDate="2019-02-24T13:31:27.377" Score="0" ViewCount="3223" Body="&lt;p&gt;I try to set field in template of type &quot;Date&quot; programmatically, &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string postedValue = GetValue(formSubmitContext.Fields.FirstOrDefault(f =&amp;gt; f.Name.Equals(fieldName)));&#xA;DateField dateField = newItem.Fields[fieldName];&#xA;var ss  = Sitecore.DateUtil.ToIsoDate(DateTime.Parse(postedValue));&#xA;dateField.Value = ss; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I debug the field is set with ISO value but in Sitecore the field is empty.&#xA;any idea ??&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="95" LastEditDate="2019-02-24T13:54:56.407" LastActivityDate="2019-03-01T15:49:42.700" Title="How do you programmatically update a date field?" Tags="|sitecore-forms|fieldtype|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17004" PostTypeId="2" ParentId="17003" CreationDate="2019-02-24T13:46:59.983" Score="4" Body="&lt;p&gt;You don't set the field value, you set the field.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;newItem.Editing.BeginEdit();&#xA;&#xA;string postedValue = GetValue(formSubmitContext.Fields.FirstOrDefault(f =&amp;gt; f.Name.Equals(fieldName)));&#xA;var ss  = Sitecore.DateUtil.ToIsoDate(DateTime.Parse(postedValue));&#xA;newItem[fieldName] = ss; &#xA;&#xA;newItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-02-25T18:10:53.943" LastActivityDate="2019-02-25T18:10:53.943" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17005" PostTypeId="2" ParentId="17003" CreationDate="2019-02-24T14:41:05.920" Score="-1" Body="&lt;p&gt;You can update field as per sample code here we are using Editing class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Don't use EditContext if you have multiple operations and anyone failed then also it partially save data.Where Editing class will work just like a &lt;strong&gt;transaction&lt;/strong&gt;, so if any operation will fail it'll rollback all operations.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item item;&#xA;item.Editing.BeginEdit();&#xA;{&#xA;    //update field value ex- date value&#xA;    item[&quot;FieldA&quot;] = &quot;&quot;;    &#xA;}&#xA;item.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-03-01T15:49:42.700" LastActivityDate="2019-03-01T15:49:42.700" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17007" PostTypeId="2" ParentId="17003" CreationDate="2019-02-24T20:31:50.317" Score="0" Body="&lt;p&gt;you should use this construct:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Editing.BeginEdit();&#xA;make your changes&#xA;item.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or use the Editingcontext&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using(new EditContext(item))&#xA;{&#xA;    item[&quot;FieldName&quot;] = &quot;A new value&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;keep in mind there is also BulkEdititngContext(if you dont want to exp editor to reload)&lt;/p&gt;&#xA;" OwnerUserId="5080" LastActivityDate="2019-02-24T20:31:50.317" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17010" PostTypeId="1" AcceptedAnswerId="17011" CreationDate="2019-02-25T09:01:49.647" Score="1" ViewCount="407" Body="&lt;p&gt;I want to save a file with a custom name while using Show-ListView function. Right now, when I am trying to save the file it is returning in this format &lt;strong&gt;&quot;report-2019-02-25_095656.csv&quot;&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the simple script I am running:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;$item | Show-ListView -Title &quot;Export Items&quot; -Property `&#xA;@{ Name=&quot;Item Name&quot;; Expression={$&lt;em&gt;.Name}},&#xA;@{ Name=&quot;Item ID&quot;; Expression={$&lt;/em&gt;.ID}}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to save the file as &lt;strong&gt;&quot;abc_items.csv&quot;&lt;/strong&gt;. Thanks for your help.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastActivityDate="2019-02-25T09:14:06.180" Title="How to save a file with a custom name using Show-ListView function?" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17011" PostTypeId="2" ParentId="17010" CreationDate="2019-02-25T09:14:06.180" Score="3" Body="&lt;p&gt;There is no option to modify a file name out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Export to CSV&lt;/strong&gt; is one of the export options available for ListView.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find it here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/SPE/Core/Platform/Internal/List View/Export/CSV&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice that file name is hardcoded in the script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8Cn74.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8Cn74.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want your own file format you will have to modify this item or create your custom button.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-25T09:14:06.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17012" PostTypeId="1" CreationDate="2019-02-25T10:00:20.907" Score="1" ViewCount="303" Body="&lt;p&gt;I'm on &lt;strong&gt;Solr 4.10.4, Sitecore 8.1 160519&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a query used internally by my application that returns 0 records.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Search.log I can see that same query; if I copy the querystring value to the Solr web UI, it returns the results I expect from it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;?q=((_path:(0de95ae441ab4d019eb067441b7c2450) AND enabled_b:(True))&#xA;AND _templatename:(&quot;Base Person&quot;))&#xA;&amp;amp;start=0&#xA;&amp;amp;rows=20&#xA;&amp;amp;fl=*,score&#xA;&amp;amp;fq=_indexname:(sitecore_web_index)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the C# code that performs the query. It's the same code that worked for Lucene.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var filter = PredicateBuilder.True&amp;lt;BasePerson&amp;gt;();&#xA;&#xA;filter = filter&#xA;    .And(i =&amp;gt; i.ItemAncestors.Contains(GlobalDefinitions.Data.ContentRoot))&#xA;    .And(i =&amp;gt; i.Enabled);&#xA;&#xA;Expression&amp;lt;Func&amp;lt;BasePerson, object&amp;gt;&amp;gt;[] facetsFilter = {&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedLocation],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedDivisions],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedSpecialisms],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedCapitals],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedHoldings],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedIntelligences],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedStrategies],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedConsultings],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedCapabilities],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.PeerGroup],&#xA;    i =&amp;gt; i[GlobalDefinitions.IndexFields.ParsedSectors] };&#xA;&#xA;filter =&#xA;    filter.And(item =&amp;gt; (item.TemplateId == GlobalDefinitions.Templates.BasePersonTemplate.Id));&#xA;&#xA;PageInfo pageInfo = null;&#xA;if (!noPaging) {&#xA;    pageInfo = new PageInfo() {&#xA;        Page = page,&#xA;        PageSize = pageSize&#xA;    };&#xA;}&#xA;&#xA;var query = SearchContext.GetQueryable&amp;lt;BasePerson&amp;gt;();&#xA;query = query.Where(filter);&#xA;&#xA;foreach (var facet in facets) {&#xA;    query = query.FacetOn(facet);&#xA;}&#xA;&#xA;query = query.Page(pageInfo.Page, pageInfo.PageSize);&#xA;&#xA;var results = query.GetResults();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clues on what could possibly cause this behavior, or what could help me to troubleshoot it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On request, I added the C# code that performs the query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently, and surprisingly, the culprits is facets. I modified the code above to include the faceting, that I had removed as I didn't imagine it would make a difference. After switching the &lt;em&gt;PeerGroup&lt;/em&gt; facet to the Solr index name, from:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;i =&amp;gt; i[&quot;peer_group&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;i =&amp;gt; i[&quot;peer_group_sm&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;everything worked. Go figure.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-02-25T14:55:45.710" LastActivityDate="2019-02-25T14:55:45.710" Title="Solr query works in the web UI, not when invoked though code" Tags="|solr|indexing|" AnswerCount="0" CommentCount="13" ContentLicense="CC BY-SA 4.0" />
  <row Id="17013" PostTypeId="1" AcceptedAnswerId="17132" CreationDate="2019-02-25T10:51:50.967" Score="1" ViewCount="1108" Body="&lt;p&gt;Very similar to this question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8561/xconnect-the-http-response-was-not-successful-unauthorized/10033#10033?newreg=44373f8a9e1e48e0a69dce3bcae1d5b4&quot;&gt;xConnect The HTTP response was not successful: Unauthorized&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in this case, it's in Azure PaaS so a lot of the answers are not applicable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I make sure the app user has access to the certificate?&#xA;I do have it under SSL Setting in azure CD webapp, and the thumbprint matches the one in xConnect config. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[XdbCollectionUnavailableException: The HTTP response was not successful: Unauthorized]&#xA;   Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock(Func`1 taskFactory) +518&#xA;   Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory) +20&#xA;   Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode) +93&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +253&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert) +72&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert) +697&#xA;   Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath) +16&#xA;   Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling(Func`2 func) +44&#xA;&#xA;[XdbUnavailableException: xDB unavailable]&#xA;   Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling(Func`2 func) +202&#xA;   Sitecore.Analytics.XConnect.DataAccess.&amp;lt;&amp;gt;c__DisplayClass16_0.&amp;lt;LoadContact&amp;gt;b__0() +25&#xA;   Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor(OperationPerformanceMonitorBase monitor, Func`1 operation) +57&#xA;   Sitecore.Analytics.Data.ContactRepository.LoadContact(String source, String identifier) +84&#xA;   Sitecore.Analytics.Tracking.ContactManager.LoadContact(String source, String identifier) +185&#xA;   Sitecore.Analytics.Tracking.StandardSession.GetContactByIdentifier(String source, String identifier, ContactManager contactManager, Action`1 validateIdentifier) +383&#xA;   Sitecore.Analytics.Tracking.StandardSession.GetContactByIdentifier(String source, String identifier, ContactManager contactManager) +164&#xA;   Sitecore.Analytics.Tracking.StandardSession.IdentifyAs(String source, String knownIdentifier) +269&#xA;   Carlsberg.Foundation.Accounts.Services.ContactProfileService.SetProfile(String email, String oldEmail) +177&#xA;   Carlsberg.Foundation.Accounts.Services.AccountTrackerService.TrackLogin(String email, String oldEmail) +84&#xA;   Carlsberg.Feature.Accounts.Repositories.AccountRepository.Login(String userName, String password, String oldEmail, Boolean emailChange) +1023&#xA;   Carlsberg.Feature.Accounts.Controllers.AccountsController.Login(LoginInfo loginInfo, Func`2 redirectAction) +125&#xA;   lambda_method(Closure , ControllerBase , Object[] ) +139&#xA;   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +229&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35&#xA;   System.Web.Mvc.&amp;lt;&amp;gt;c__DisplayClass15.&amp;lt;InvokeActionMethodWithFilters&amp;gt;b__12() +80&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +454&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +454&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +454&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +973&#xA;   System.Web.Mvc.Controller.ExecuteCore() +128&#xA;   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +235&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.ExecuteController(Controller controller) +312&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.Execute(TextWriter writer) +181&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +74&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +183&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.RenderPlaceholderCore(String placeholderName, TextWriter writer) +250&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +61&#xA;   ASP._Page_Views_Storefront_Global_Masterlayout_cshtml.Execute() in d:\home\site\wwwroot\Views\Storefront\Global\Masterlayout.cshtml:167&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +136&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +257&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/Views/Storefront/Global/Masterlayout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +729&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +74&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +331&#xA;   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +88&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult) +188&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38&#xA;   System.Web.Mvc.Controller.&amp;lt;BeginExecuteCore&amp;gt;b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29&#xA;   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73&#xA;   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52&#xA;   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39&#xA;   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38&#xA;   System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +43&#xA;   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73&#xA;   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38&#xA;   Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result) +78&#xA;   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +648&#xA;   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +131&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5114" LastEditorUserId="73" LastEditDate="2019-02-28T15:42:21.727" LastActivityDate="2019-02-28T15:42:21.727" Title="xConnect The HTTP response was not successful: Unauthorized on Azure PaaS" Tags="|configuration|xconnect|paas|certificate|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17015" PostTypeId="1" AcceptedAnswerId="17037" CreationDate="2019-02-25T12:01:23.683" Score="5" ViewCount="704" Body="&lt;p&gt;Reading the documentation here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-identity-server-authentication.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-identity-server-authentication.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;The SI server uses identityserver-contrib-membership. This project allows the ASP.NET 2.0 Membership &lt;strong&gt;Database&lt;/strong&gt; to be used as the Identity Server User Store in IdentityServer4&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;You configure the connection string to the Membership database with the Sitecore:IdentityServer:SitecoreMembershipOptions:ConnectionString setting&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get the impression that the Identity server can use user information from any domain stored in the core database, but it does not actually use the ASP.NET 2.0 Membership &lt;strong&gt;Provider&lt;/strong&gt;, and will not use any custom membership providers (configured in web.config/membership element and domain.config)&lt;/p&gt;&#xA;" OwnerUserId="5115" LastActivityDate="2019-02-25T20:49:11.960" Title="Using the new Identy server in 9.1, it is still possible to implement a custom ASP.NET Membership provider?" Tags="|membership-provider|identity-server|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17016" PostTypeId="1" CreationDate="2019-02-25T12:02:43.067" Score="1" ViewCount="134" Body="&lt;p&gt;My client has three different segments, where contacts can subscribe to each one of them.&#xA;These subscriptions come from three separate channels, 1. Website, 2. Dynamics CRM and 3. OptinMonster.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contacts subscribing from the website, are being processed by setting custom facets depending on what segment they would like to subscribe to (wffm takes care of that mapping).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contacts that have subscribed by Dynamics CRM are being synchronized by DataExchange Framework.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contacts that have subscribed by OptinMonster i'm planning on to import those to 3 separate lists, segmented by what segment they have subscribed to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now my question is, how would you go about targeting one specific segment, collected from all different channels?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What i have thought of myself is something like this.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a segmentation rule that looks into the custom facet i made for the website subscribers and collect contacts that have subscribed to the targeted segment.&lt;/li&gt;&#xA;&lt;li&gt;Create a segmentation rule that looks into what lists that the contact are currently subscribed to. If the contact is currently subscribed to the targeted regular list from OptinMonster, add the contact to the segmented list.&lt;/li&gt;&#xA;&lt;li&gt;Take advantage of the Dynamics CRM segmented rule that was installed by DataExchange to collect contacts subscribed to the targetet segment marketing list in CRM.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Combine these three rules in a new segmented list, that can be selected and used with EXM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What do you think? Is there a smarter way?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I forgot to add that it's version 8.2 i am working with.&#xA;Also i made a diagram that explains what i'm thinking of doing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b2jRI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b2jRI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am pretty sure this is the way to go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next part is finding a way to make the user able to unsubscribe from the different channels.&lt;/p&gt;&#xA;" OwnerUserId="4603" LastEditorUserId="4603" LastEditDate="2019-02-26T08:29:52.690" LastActivityDate="2022-10-02T00:08:00.997" Title="Constructing segmented lists by third-party contributions" Tags="|list-manager|segmented-list|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17017" PostTypeId="1" AcceptedAnswerId="17018" CreationDate="2019-02-25T12:39:40.960" Score="3" ViewCount="712" Body="&lt;p&gt;Hi I was installing sitecore 9.1 with SIF. It completed before &lt;code&gt;updatesolrschema&lt;/code&gt;. When it was try to access to the below URL, because of proxy issue SIF script failed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know this was the last step in the Sitecore 9.1 installation. Then I was wondering how to get the Sitecore admin password.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I deleted the database and reinstalled again without proxy issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[-------------------------------------------------------------- SitecoreXP0_UpdateSolrSchema : SitecoreUrl -------------------------------------------------------------------------------]&#xA;[SitecoreXP0_UpdateSolrSchema]:[Authenticating] http://sc91v.sc/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My question: Is there any way we can skip the number of steps in SIF to execute from a particular step?&lt;/p&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="342" LastEditDate="2019-02-25T12:56:15.473" LastActivityDate="2020-02-20T04:44:43.403" Title="Sitecore 9.1 Installation - Skip to particular step" Tags="|sitecore-install-framework|installation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17018" PostTypeId="2" ParentId="17017" CreationDate="2019-02-25T12:42:37.747" Score="5" Body="&lt;p&gt;Yes is possible : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use something like : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration @params -Skip CreateBinding&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where The name of task you want to skip is in the corresponding JSON configuration file that you are installing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. the task above (CreateBinding) is in Master_SingleServer.json:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6KIcy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6KIcy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To skip multiple steps, just supply a comma separated list of tasks, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration @params -Skip CreateBinding, InstallSolrCores&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;a href=&quot;https://sitecoredude.com/how-to-skip-tasks-in-sitecore-installation-framework-sif/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecoredude.com/how-to-skip-tasks-in-sitecore-installation-framework-sif/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-02-25T12:42:37.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17020" PostTypeId="2" ParentId="17016" CreationDate="2019-02-25T13:09:59.143" Score="1" Body="&lt;p&gt;It sounds like you have 3 segments (client interests?) and 3 list sources (channels).  The channel is important here, only because you use different methods to capture email preferences.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2CzYM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2CzYM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm going to make the assumption that your email permissions are tied to the segments, not the channels.  I'm also going to make the assumption that you're importing emails from your 3 channels into specific contact lists.  Lastly, I'm going to make the assumption that you'll use EXM and List Manager to manage permissions.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a custom contact facet for each of the 3 segments you can create 3 segmented lists from all contacts (all 3 channels). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/daGfZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/daGfZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The unknown part here is how you intend to manage email preferences.  There is email preference management functionality built into Sitecore 9.1.  That includes the ability to opt-out of specific lists.  Those are contact lists, not segment lists.   So, you'd need to use the &lt;strong&gt;Update Subscriptions&lt;/strong&gt; functionality instead of the &lt;strong&gt;I do not want to receive any emails from [specific list]&lt;/strong&gt; functionality. The opt-out of specific list functionality only works on contact lists.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's info on the email preference center.  &lt;a href=&quot;https://doc.sitecore.com/developers/exm/91/email-experience-manager/en/configuring-the-preference-center.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/exm/91/email-experience-manager/en/configuring-the-preference-center.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-02-25T13:09:59.143" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17021" PostTypeId="1" CreationDate="2019-02-25T13:23:25.977" Score="1" ViewCount="45" Body="&lt;p&gt;Currently we have defined patterns to determine if the visitor is a job seeker, an advisor, a client... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, visitors who do not fall into one of these categories do not appear in Sitecore reports. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SEO team would therefore like these visitors to be assigned a default pattern and for the displayed pie to be complete (showing all visitors)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can implementing this practice cause problems in our sitecore customization? Is this practice recommended?  If not, why not and what is the solution?  Currently to match the number of unknown visitors to those who are job seekers, counsellors, or clients. We need to go into adobe analytic and find the number of unique visitors and then subtract this number from the data coming from the sitecore customization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Honestly, it's not really practical and not at all effective.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have a solution or recommendation?&lt;/p&gt;&#xA;" OwnerUserId="5117" LastActivityDate="2019-02-25T21:30:34.923" Title="Can defined patterns of unknown visitors cause problems when implementing this practice?" Tags="|personalization|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17023" PostTypeId="2" ParentId="16970" CreationDate="2019-02-25T15:32:19.750" Score="1" Body="&lt;p&gt;Use Postman: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{{OpsApiHost}}/{{OpsApi}}/Environments('{{Environment}}')?$expand=Components&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll find this request under SitecoreCommerce_DevOps/Environment Management&lt;/p&gt;&#xA;" OwnerUserId="4621" LastEditorUserId="731" LastEditDate="2019-02-25T18:18:28.223" LastActivityDate="2019-02-25T18:18:28.223" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17024" PostTypeId="2" ParentId="17021" CreationDate="2019-02-25T15:32:34.447" Score="1" Body="&lt;p&gt;It is not necessarily a bad practice or cause any issues. If you are using the Sitecore Personalization rules, you can target the profiles which are associated to the user. If no profile is found, this means the user is not in a particular segment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, in order for you to tag the user with a profile, you will need to add a pipeline in the &lt;code&gt;&amp;lt;startTracking&amp;gt;&lt;/code&gt;. This pipeline will have the task to boost the user profile to the default one, let's say &lt;code&gt;Unknown Category&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is a code snippet that I was using on Sitecore 8 to boost the user pattern of the user.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void BoostUserPattern(Session userSession, string patternName)&#xA;{&#xA;    var patternCards =&#xA;        Context.Database.GetItem(&quot;Path or Id of required Profile pattern card container&quot;).Children;&#xA;&#xA;    var patternCard = patternName.ToLower().Equals(&quot;register&quot;)&#xA;        ? patternCards.FirstOrDefault(w =&amp;gt; w.Name.ToLower().Equals(&quot;register&quot;))&#xA;        : patternCards.FirstOrDefault(w =&amp;gt; w.Name.ToLower().Equals(&quot;unknown&quot;));&#xA;&#xA;    if (patternCard == null)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    var profile = Tracker.Current.Interaction.Profiles[patternCard.Parent.Parent.Name];&#xA;&#xA;    BoostUserPattern(userSession, patternCard, profile);&#xA;}&#xA;&#xA;public static void BoostUserPattern(Session session, Item patternCard, Profile profile)&#xA;{&#xA;    if (patternCard != null &amp;amp;&amp;amp; !patternCard.Name.Equals(profile.PatternLabel))&#xA;    {&#xA;        Sitecore.Data.Fields.XmlField xmlData = patternCard.Fields[&quot;Pattern&quot;];&#xA;        XmlDocument xmlDoc = xmlData.Xml;&#xA;&#xA;        XmlNodeList parentNode = xmlDoc.GetElementsByTagName(&quot;key&quot;);&#xA;        var scores = new Dictionary&amp;lt;string, float&amp;gt;();&#xA;&#xA;        foreach (XmlNode childrenNode in parentNode)&#xA;        {&#xA;            if (childrenNode.Attributes != null)&#xA;            {&#xA;                scores.Add(childrenNode.Attributes[&quot;name&quot;].Value, 0);&#xA;            }&#xA;        }&#xA;&#xA;        // Boost profile key(s) here&#xA;        scores[patternCard.Name] = 5;&#xA;&#xA;        profile.Score(scores);&#xA;&#xA;        profile.PatternId = patternCard.ID.ToGuid();&#xA;        profile.PatternLabel = patternCard.Name;&#xA;&#xA;        // Update the historical data for the user&#xA;        UpdateBehaviorProfile(session);&#xA;    }&#xA;}&#xA;&#xA;private static void UpdateBehaviorProfile(Session session)&#xA;{&#xA;    var profileConverterBase = BehaviorProfileConverterBase.Create();&#xA;&#xA;    if (session?.Contact == null || Tracker.Current.Interaction == null)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    session.Contact.BehaviorProfiles.RemoveAll();&#xA;&#xA;    foreach (var profileName in session.Interaction.Profiles.GetProfileNames())&#xA;    {&#xA;        var profile = session.Interaction.Profiles[profileName];&#xA;&#xA;        if (!IgnoreInteractionProfile(profile))&#xA;        {&#xA;            var matchedBehaviorProfile = profileConverterBase.Convert(profile);&#xA;&#xA;            session.Contact.BehaviorProfiles.Add(matchedBehaviorProfile.Id, matchedBehaviorProfile);&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;private static bool IgnoreInteractionProfile(Profile profile)&#xA;{&#xA;    Assert.ArgumentNotNull(profile, &quot;profile&quot;);&#xA;&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you would see, the method &lt;code&gt;UpdateBehaviorProfile&lt;/code&gt; will add the profile to the historic data. In other words, if a user has no profile, going through the boosting mechanism will push the profile up to the historical data.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-02-25T21:30:34.923" LastActivityDate="2019-02-25T21:30:34.923" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17026" PostTypeId="1" AcceptedAnswerId="17027" CreationDate="2019-02-25T16:19:46.527" Score="1" ViewCount="532" Body="&lt;p&gt;In Sitecore 7.2 we're having some trouble getting a value from &lt;code&gt;Sitecore.Context.Domain.GetRoles()&lt;/code&gt; on our content delivery servers. It works fine in development and locally but when we deploy to a load balanced environment (e.g, production) it's not returning any roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody have any pointers to resolve?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerUserId="3907" LastEditorUserId="342" LastEditDate="2019-02-25T16:38:53.020" LastActivityDate="2019-02-25T18:17:33.540" Title="Can't get user roles on content delivery server" Tags="|user-management|user-profile|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17027" PostTypeId="2" ParentId="17026" CreationDate="2019-02-25T16:37:57.597" Score="2" Body="&lt;p&gt;Since membership data is stored in the &lt;code&gt;core&lt;/code&gt; database and you have separate &lt;code&gt;core&lt;/code&gt; databases between CM and CD, it's likely that the CDs' &lt;code&gt;core&lt;/code&gt; does not contain the role memberships you expect.&lt;/p&gt;&#xA;&lt;p&gt;You will need to either:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Share a &lt;code&gt;core&lt;/code&gt; database between CM and CD or&lt;/li&gt;&#xA;&lt;li&gt;Configure replication of the &lt;code&gt;core&lt;/code&gt; database between CM and CD&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;For more information, consult the &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore7/70/scaling_guide_sc70_a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Scaling Guide for your version of Sitecore&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Relevant sections, depending on how your environment is configured (emphases mine):&lt;/p&gt;&#xA;&lt;h1&gt;2.1. Configuring a Standard Multi-Instance Environment&lt;/h1&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The standard multi-instance Sitecore setup uses the same three&#xA;databases, &lt;strong&gt;shares the Core and Web databases between all the CM and CD&#xA;instances&lt;/strong&gt;, and shares the Master database between all the CM&#xA;instances.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h1&gt;3.2. Isolating the CM and CD Environments&lt;/h1&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The CM and CD environments typically need to be isolated to meet&#xA;security or infrastructure requirements. You can also use the&#xA;information in this section when you configure geographically&#xA;distributed CM and CD environments.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2&gt;3.2.2 Addressing Security Synchronization&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;In an isolated CM and CD environment, security data and caches are&#xA;automatically synchronized within every instance of the CM&#xA;environment, as well as within every instance of the CD environment.&#xA;This happens because every instance within the environment shares the&#xA;same databases, and therefore shares the same security data and system&#xA;event queue. &lt;strong&gt;However, security data and caches are not automatically&#xA;synchronized between the isolated CM and CD environments.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;There are different ways to address security synchronization in an&#xA;isolated CM and CD setup depending on the implementation requirements.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;If your solution does not require synchronization of security data and caches, you do not need to perform any of the modifications&#xA;described in this section. For example, if the CD instances do not use&#xA;any extranet security, synchronization may be not required.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If your solution requires live synchronization of the security data and caches between the CM and CD environments from the default SQL&#xA;membership, role, and profile providers, plus security caches from&#xA;additional security providers (Active Directory, CRM, or custom&#xA;providers), we recommend that you configure database replication to&#xA;synchronize the CM Core database with the CD Core database.&lt;/p&gt;&#xA;&lt;p&gt;This will ensure that the security account data that is stored in&#xA;these two databases, as well as related security events that are&#xA;required for synchronizing security caches are replicated between the&#xA;environments.&lt;/p&gt;&#xA;&lt;p&gt;For more information about configuring database replication, see the&#xA;section &lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/64/sql_server_replication_guide_sc63-64-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to: Configure SQL Server Replication.&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If your solution does not require live synchronization of security data between the CM and CD environments from the default SQL&#xA;membership, role, and profile providers, but requires synchronization&#xA;of security caches from additional security providers (Active&#xA;Directory, CRM, custom providers), it is enough to only address&#xA;security cache clearing rather than replicating the Core database.&lt;/p&gt;&#xA;&lt;p&gt;For more information about addressing security cache clearing, see the&#xA;section How to: Address Security Caching Clearing.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-02-25T18:17:33.540" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17029" PostTypeId="2" ParentId="17001" CreationDate="2019-02-25T18:00:09.007" Score="1" Body="&lt;p&gt;I had the same problem after upgrading to Sitecore 8.2 update 7.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has registered this as a bug with reference number &lt;strong&gt;#95466&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They provided me with a patch, the patch has the following description:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This patch ignores the language parameter during the search on Select&#xA;  Media Dialog.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you ask Sitecore Support they will send you a link to the patch.&lt;/p&gt;&#xA;" OwnerUserId="4304" LastActivityDate="2019-02-25T18:00:09.007" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17030" PostTypeId="1" AcceptedAnswerId="17039" CreationDate="2019-02-25T18:36:29.507" Score="2" ViewCount="1031" Body="&lt;p&gt;Since I had to use the following method to retrieve all languages:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Globalization.LanguageDefinition.LanguageDefinitions.Definitions()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the &lt;code&gt;PublishManager.Republish(...)&lt;/code&gt; expects an array of &lt;code&gt;Languages&lt;/code&gt;, now I'm facing this situation on which I need to convert those types to achieve my goal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you guys know an elegant way of doing that?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="605" LastEditDate="2019-02-25T21:24:00.340" LastActivityDate="2019-02-25T21:24:00.340" Title="Convert Sitecore.Globalization.LanguageDefinition to Sitecore.Globalization.Language?" Tags="|publishing|multilingual|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17031" PostTypeId="2" ParentId="17030" CreationDate="2019-02-25T18:45:53.003" Score="0" Body="&lt;p&gt;I ended up with the code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IEnumerable&amp;lt;Language&amp;gt; GetAllLanguages()&#xA;{&#xA;    return LanguageDefinitions.Definitions.Select(definition =&amp;gt; Language.Parse(definition.Name));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-25T18:45:53.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17035" PostTypeId="1" CreationDate="2019-02-25T20:17:34.533" Score="1" ViewCount="162" Body="&lt;p&gt;&lt;em&gt;I'm using a vanilla Sitecore 82u6.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When checking the &lt;code&gt;.showconfig.aspx&lt;/code&gt; page I realized that the default language name is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ClientLanguage&quot; value=&quot;en&quot; patch:source=&quot;Sitecore.DefaultLanguage.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the &lt;code&gt;Sitecore.Globalization.LanguageDefinition&lt;/code&gt; class, the name property is defined by the following logic:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this._name = id + (!string.IsNullOrEmpty(this._region) ? &quot;-&quot; + region : string.Empty);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But if we look at the &lt;code&gt;LanguageDefinitions&lt;/code&gt; list on the same page, we can't find a language with this name&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;languageDefinitions&amp;gt;&#xA;&amp;lt;languages&amp;gt;&#xA;&amp;lt;language id=&quot;af&quot; region=&quot;ZA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_South_Africa.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;AE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_united_arab_emirates.png&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;BH&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Bahrain.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;DZ&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Algeria.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;EG&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Egypt.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;IQ&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Iraq.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;JO&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Jordan.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;KW&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Kuwait.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;LB&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Lebanon.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;LY&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Libya.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;MA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Morocco.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;OM&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Oman.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;QA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Qatar.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;SA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Saudi_Arabia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;SY&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Syria.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;TN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Tunisia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ar&quot; region=&quot;YE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Yemen.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;be&quot; region=&quot;BY&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Belarus.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;bg&quot; region=&quot;BG&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Bulgaria.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ca&quot; region=&quot;ES&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Spain.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;cs&quot; region=&quot;CZ&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-2&quot; icon=&quot;flags/16x16/flag_Czech_Republic.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;da&quot; region=&quot;&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Denmark.PNG&quot; spellchecker=&quot;da-DK.tdf&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;de&quot; region=&quot;AT&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Austria.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;de&quot; region=&quot;CH&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Switzerland.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;de&quot; region=&quot;DE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Germany.PNG&quot; spellchecker=&quot;de-DE.tdf&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;de&quot; region=&quot;LI&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Liechtenstein.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;de&quot; region=&quot;LU&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Luxembourg.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;el&quot; region=&quot;GR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-7&quot; icon=&quot;flags/16x16/flag_Greece.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;AU&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Australia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;BZ&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Belize.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;CA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Canada.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;GB&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_great_britain.png&quot; spellchecker=&quot;en-GB.tdf&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;IE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Ireland.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;JM&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Jamaica.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;NZ&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_New_Zealand.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;PH&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_philippines.png&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;TT&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Trinidad_and_Tobago.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;US&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_USA.PNG&quot; spellchecker=&quot;en-US.tdf&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;ZA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_South_Africa.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;en&quot; region=&quot;ZW&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Zimbabwe.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;AR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Argentina.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;BO&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Bolivia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;CL&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Chile.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;CO&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Colombia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;CR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Costa_Rica.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;DO&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Dominican_Republic.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;EC&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_equador.png&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;ES&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Spain.PNG&quot; spellchecker=&quot;es-ES.tdf&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;GT&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Guatemala.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;HN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Honduras.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;MX&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Mexico.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;NI&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Nicaragua.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;PA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Panama.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;PE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Peru.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;PR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Puerto_Rico.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;PY&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Paraquay.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;SV&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_El_Salvador.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;UY&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Uruquay.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;es&quot; region=&quot;VE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Venezuela.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;et&quot; region=&quot;EE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1257&quot; icon=&quot;flags/16x16/flag_Estonia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;eu&quot; region=&quot;ES&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Spain.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;fa&quot; region=&quot;IR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_Iran.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;fi&quot; region=&quot;FI&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Finland.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;fo&quot; region=&quot;FO&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Faroe_Islands.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;fr&quot; region=&quot;BE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Belgium.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;fr&quot; region=&quot;CA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Canada.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;fr&quot; region=&quot;CH&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Switzerland.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;fr&quot; region=&quot;FR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_France.PNG&quot; spellchecker=&quot;fr-FR.tdf&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;fr&quot; region=&quot;LU&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Luxembourg.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;fr&quot; region=&quot;MC&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_monaco.png&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;gl&quot; region=&quot;ES&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Spain.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;gu&quot; region=&quot;IN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_India.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;he&quot; region=&quot;IL&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1255&quot; icon=&quot;flags/16x16/flag_Israel.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;hi&quot; region=&quot;IN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_India.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;hr&quot; region=&quot;BA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-2&quot; icon=&quot;flags/16x16/flag_Bosnia_and_Herzegovina.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;hr&quot; region=&quot;HR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-2&quot; icon=&quot;flags/16x16/flag_Croatia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;hu&quot; region=&quot;HU&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-2&quot; icon=&quot;flags/16x16/flag_Hungary.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;hy&quot; region=&quot;AM&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Armenia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;id&quot; region=&quot;ID&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Indonesia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;is&quot; region=&quot;IS&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Iceland.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;it&quot; region=&quot;CH&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Switzerland.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;it&quot; region=&quot;IT&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Italy.PNG&quot; spellchecker=&quot;it-IT.tdf&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ja&quot; region=&quot;JP&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-2022-jp&quot; icon=&quot;flags/16x16/flag_Japan.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ka&quot; region=&quot;GE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Georgia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;kk&quot; region=&quot;KZ&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Kazakhstan.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;kn&quot; region=&quot;IN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_India.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ko&quot; region=&quot;KR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;ks_c_5601-1987&quot; icon=&quot;flags/16x16/flag_south_korea.png&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ky&quot; region=&quot;KG&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Kyrgyzstan.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;lt&quot; region=&quot;LT&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1257&quot; icon=&quot;flags/16x16/flag_Lithuania.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;lv&quot; region=&quot;LV&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1257&quot; icon=&quot;flags/16x16/flag_Latvia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;mi&quot; region=&quot;NZ&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_New_Zealand.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;mk&quot; region=&quot;MK&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Macedonia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;mn&quot; region=&quot;MN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Mongolia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;mr&quot; region=&quot;IN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_India.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ms&quot; region=&quot;BN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_brunei.png &quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ms&quot; region=&quot;MY&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Malaysia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;mt&quot; region=&quot;MT&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Malta.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;nb&quot; region=&quot;NO&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Norway.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;nl&quot; region=&quot;BE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Belgium.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;nl&quot; region=&quot;NL&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Netherlands.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;nn&quot; region=&quot;NO&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Norway.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;pa&quot; region=&quot;IN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_India.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;pl&quot; region=&quot;PL&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-2&quot; icon=&quot;flags/16x16/flag_Poland.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;pt&quot; region=&quot;BR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Brazil.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;pt&quot; region=&quot;PT&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Portugal.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ro&quot; region=&quot;RO&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-2&quot; icon=&quot;flags/16x16/flag_Romania.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ru&quot; region=&quot;RU&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Russia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;sa&quot; region=&quot;IN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_India.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;se&quot; region=&quot;FI&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Finland.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;se&quot; region=&quot;NO&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Norway.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;se&quot; region=&quot;SE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Sweden.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;sk&quot; region=&quot;SK&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-2&quot; icon=&quot;flags/16x16/flag_Slovakia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;sl&quot; region=&quot;SI&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-2&quot; icon=&quot;flags/16x16/flag_Slovenia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;sq&quot; region=&quot;AL&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-2&quot; icon=&quot;flags/16x16/flag_Albania.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;sv&quot; region=&quot;FI&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Finland.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;sv&quot; region=&quot;SE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Sweden.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;sw&quot; region=&quot;KE&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_Kenya.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ta&quot; region=&quot;IN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_India.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;te&quot; region=&quot;IN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_India.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;th&quot; region=&quot;TH&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-874&quot; icon=&quot;flags/16x16/flag_Thailand.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;tn&quot; region=&quot;ZA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_South_Africa.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;tr&quot; region=&quot;TR&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-9&quot; icon=&quot;flags/16x16/flag_Turkey.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;tt&quot; region=&quot;RU&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Russia.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;uk&quot; region=&quot;UA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;koi8-r&quot; icon=&quot;flags/16x16/flag_Ukraine.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;ur&quot; region=&quot;PK&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1256&quot; icon=&quot;flags/16x16/flag_pakistan.png &quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;vi&quot; region=&quot;VN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;windows-1258&quot; icon=&quot;flags/16x16/flag_Vietnam.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;xh&quot; region=&quot;ZA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_South_Africa.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;zh&quot; region=&quot;CN&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;gb2312&quot; icon=&quot;flags/16x16/flag_china.png&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;zh&quot; region=&quot;SG&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;gb2312&quot; icon=&quot;flags/16x16/flag_Singapore.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;zh&quot; region=&quot;TW&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;big5&quot; icon=&quot;flags/16x16/flag_Taiwan.PNG&quot;/&amp;gt;&#xA;&amp;lt;language id=&quot;zu&quot; region=&quot;ZA&quot; codepage=&quot;65001&quot; encoding=&quot;utf-8&quot; charset=&quot;iso-8859-1&quot; icon=&quot;flags/16x16/flag_South_Africa.PNG&quot;/&amp;gt;&#xA;&amp;lt;/languages&amp;gt;&#xA;&amp;lt;/languageDefinitions&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That means that if you parse each one of the above language definition names using&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LanguageDefinitions.Definitions.Select(definition =&amp;gt; Language.Parse(definition.Name));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;None of them would be equals to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Language.Parse(&quot;en&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since the &lt;code&gt;Language.Equals(..)&lt;/code&gt; uses&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;language1.Name.Equals(language2.Name, StringComparison.OrdinalIgnoreCase);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do you guys know what I'm missing here? I'm pretty sure that one of my assumptions here is not correct since that OOTB setup works properly.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-25T20:17:34.533" Title="Why there is no OOTB LanguageDefinition for a Language which name is &quot;en&quot;?" Tags="|configuration|multilingual|site-configuration|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17037" PostTypeId="2" ParentId="17015" CreationDate="2019-02-25T20:49:11.960" Score="0" Body="&lt;p&gt;I'm not an expert, but I've done a bit of research.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are correct that the Identity server uses the user information stored in the Core database, but isn't implementing a Membership Provider and won't use a custom membership provider configured in the web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Identity Server implements IdentityServer4. They are using &lt;a href=&quot;https://github.com/sma73648/identityserver-contrib-membership&quot; rel=&quot;nofollow noreferrer&quot;&gt;IdentityServer's Membership Service&lt;/a&gt; to access Membership data in an Identity context. With &lt;strike&gt;some&lt;/strike&gt; a respectable effort, you could probably branch the config and add another copy of the MembershipService to the Identity Server with your own data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know it's also possible to disable the Identity Server entirely and fall back to the old-style login page. I'm not sure if doing that will allow you to use a Membership Provider in the usual fashion, but that should be an easy experiment to run.&lt;/p&gt;&#xA;" OwnerUserId="5013" LastActivityDate="2019-02-25T20:49:11.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17039" PostTypeId="2" ParentId="17030" CreationDate="2019-02-25T21:21:13.777" Score="2" Body="&lt;p&gt;You can use the below method to get the different languages&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var source = Factory.GetDatabase(&quot;master&quot;);&#xA;var target = Factory.GetDatabase(&quot;web&quot;);&#xA;&#xA;var languages = LanguageManager.GetLanguages(source).ToArray();&#xA;&#xA;PublishManager.Republish(source, new Database[] { target }, languages.ToArray());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will return a list of Languages that you can use to parse to the Publish Options. Based on this approach, there is no need to parse the language and this will overcome the issue you are experiencing on the following question:- &lt;a href=&quot;https://sitecore.stackexchange.com/questions/17035/why-there-is-no-ootb-languagedefinition-for-a-language-which-name-is-en&quot;&gt;Why there is no OOTB LanguageDefinition for a Language which name is “en”?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-02-25T21:21:13.777" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17040" PostTypeId="1" AcceptedAnswerId="17072" CreationDate="2019-02-25T22:19:03.907" Score="0" ViewCount="805" Body="&lt;p&gt;We have an issue in our UAT environment where the &lt;code&gt;sitecore_web_index&lt;/code&gt; Lucene index is not getting updated on a content delivery server when content is published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found &lt;a href=&quot;https://stackoverflow.com/questions/25692932/sitecore-lucene-content-delivery-server-index-not-updating-on-publish&quot;&gt;this solution on Stack Overflow&lt;/a&gt; which works, but &lt;strong&gt;I don't want to have to change the instance name&lt;/strong&gt; of the application to fix the issue. It must be tied to some information in the Sitecore databases that can be reset to bring the indexing functionality back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what needs to be reset to allow a CD server to resume indexing web database content properly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some additional context:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CM and CD share a single &lt;code&gt;core&lt;/code&gt; database&lt;/li&gt;&#xA;&lt;li&gt;CD &lt;code&gt;sitecore_web_index&lt;/code&gt; is set up to use &lt;code&gt;onPublishAsync&lt;/code&gt; strategy&lt;/li&gt;&#xA;&lt;li&gt;Renaming the &lt;code&gt;InstanceName&lt;/code&gt; fixes the issue&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Some things I've tried with no success:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Clearing the &lt;code&gt;core&lt;/code&gt; database's &lt;code&gt;Properties&lt;/code&gt; table's entries with the instance name in them&lt;/li&gt;&#xA;&lt;li&gt;Clearing the &lt;code&gt;EventQueue&lt;/code&gt;, &lt;code&gt;History&lt;/code&gt;, and &lt;code&gt;PublishQueue&lt;/code&gt; tables on the &lt;code&gt;core&lt;/code&gt; and &lt;code&gt;web&lt;/code&gt; databases&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-02-26T18:43:20.557" LastActivityDate="2019-02-26T18:43:20.557" Title="Lucene indexes not updating on CD" Tags="|indexing|scaling|content-delivery|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="17041" PostTypeId="2" ParentId="12838" CreationDate="2019-02-26T00:12:05.570" Score="1" Body="&lt;p&gt;If you have overwritten Sitecore.Kernel.DLL in the target IIS website, you can open the ZIP file &lt;strong&gt;Sitecore 9.0.0 rev. 171002 (WDP XP0 packages).zip&lt;/strong&gt; (provided as part of the training and what you used to install the site via SIF)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside this is another ZIP file - &lt;strong&gt;Sitecore 9.0.0 rev. 171002 (OnPrem)_single.scwdp.zip&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open this, expand the /content/website/bin folder and the correct version of Sitecore.Kernel is there, copy this to your target website's /bin folder&lt;/p&gt;&#xA;" OwnerUserId="1786" LastActivityDate="2019-02-26T00:12:05.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17043" PostTypeId="2" ParentId="17013" CreationDate="2019-02-26T01:21:01.173" Score="0" Body="&lt;p&gt;In all your instances that connect to xConnect:  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Ensure in your web config you have the following setting &lt;code&gt;&amp;lt;add key=&quot;AllowInvalidClientCertificates&quot; value=&quot;true&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Make sure that in the App settings you have for WEBSITE_LOAD_CERTIFICATES is set to the thumbprint of the client certificate as shown in this screenshot&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3JJ8q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3JJ8q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-02-26T01:21:01.173" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17044" PostTypeId="2" ParentId="16209" CreationDate="2019-02-26T02:11:13.300" Score="2" Body="&lt;p&gt;The issue is with the way we are executing the process. We found this out after talking to Sitecore Support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note From Sitecore Support:&#xA;Verification feature is slightly different. In order to run migration with enabled verification feature you need to perform all steps from the installation guide for enabling verification feature (1.6.5. Configure the verification database) and then click &quot;Run pipeline batch&quot; button(not Run in Verify mode).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[Not Run in Verify mode], instead just click on &quot;Run pipeline batch&quot; button we were able to by pass the issue.&lt;/p&gt;&#xA;" OwnerUserId="4471" LastActivityDate="2019-02-26T02:11:13.300" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17046" PostTypeId="1" CreationDate="2019-02-26T10:01:17.653" Score="0" ViewCount="1310" Body="&lt;p&gt;Sitecore JSS does not deliver dictionary entries from pathes specified in config files. &lt;a href=&quot;https://xxx.local/sitecore/api/jss/dictionary/xxx/en?sc_apikey=&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://xxx.local/sitecore/api/jss/dictionary/xxx/en?sc_apikey=&lt;/a&gt;{6B8DB342-F35D-481F-8C16-87B7319B6F6E} returns dictionary entries from system/dictionary, but in config files pointed &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;app name=&quot;xxx&quot;&#xA;                     sitecorePath=&quot;/sitecore/content/xxx local/xxx&quot;&#xA;                     useLanguageSpecificLayout=&quot;true&quot;&#xA;                     graphQLEndpoint=&quot;/api/WineShop&quot;&#xA;                     importDatabase=&quot;web&quot;&#xA;                     inherits=&quot;defaults&quot;&#xA;&#xA;        /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and there is folder xxx Dictionary which has dictionary entries which are not delivered.&lt;/p&gt;&#xA;" OwnerUserId="4979" LastActivityDate="2019-03-01T09:22:20.907" Title="Sitecore JSS does not deliver dictionary entries from pathes specified in config files" Tags="|jss|dictionary|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17047" PostTypeId="1" CreationDate="2019-02-26T11:02:00.233" Score="2" ViewCount="52" Body="&lt;p&gt;I'm trying to get all the information of my WFFM Forms in sitecore 7. I could retrieve most of the form info. But unable to identify the css class and styles associated with each field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to use the class &lt;strong&gt;SitecoreSimpleForm&lt;/strong&gt;, but the css class property is null even if the css exists for that item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/G1ttL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G1ttL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any other way to get the css class value associated with the form elements ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance..&lt;/p&gt;&#xA;" OwnerUserId="4763" LastActivityDate="2019-02-26T11:02:00.233" Title="CSS class of Form elements" Tags="|wffm|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17049" PostTypeId="1" CreationDate="2019-02-26T11:54:26.767" Score="0" ViewCount="72" Body="&lt;p&gt;I Have installed sitecore commerce server 8.2.1 experienced an error like below when loading the sitecore site&#xA;&lt;a href=&quot;https://i.stack.imgur.com/O1giM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O1giM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when I cheked the commerce server manager I noticed that the connection string of one of the partitions is incorrect, but when I try to save it I get the following error message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nbJ7J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nbJ7J.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;can some one help me to solve this issue please?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;*I didn't change the collation type of the database&lt;/p&gt;&#xA;" OwnerUserId="5125" LastActivityDate="2019-02-26T11:54:26.767" Title="Database Collation issue in commerce server 8.2.1" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17051" PostTypeId="1" AcceptedAnswerId="17054" CreationDate="2019-02-26T12:13:17.667" Score="0" ViewCount="583" Body="&lt;p&gt;Hi I am using Sitecore jss with sitecore first approach. My sample solution is under here &lt;a href=&quot;https://github.com/andiappan-ar/sitecore.first-jss-helix.git&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore.first-jss-helix.git&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently i am maintaining in repository all my sitecore related content items as sitecore package like here &lt;a href=&quot;https://github.com/andiappan-ar/sitecore.first-jss-helix/tree/master/Sitecore%20Packages&quot; rel=&quot;nofollow noreferrer&quot;&gt;Package-folder&lt;/a&gt;&#xA;But i need a standard way like Unicorn or TDS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question below,&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Can we use unicorn for jss , since its using dlls and config files?&#xA;If possible please guide.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Do we have any option in jss-cli or some other approach to convert all my sitecore items(template, media layout , rendering place holders) to yml files as its in sample applications.&#xA;If it converts then i will maintain it in repository like that and other users can deploy sitecore items using jss-cli cmd(jss deploy app -c -d) to thier local machine.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Hope TDS is possible but i need to have solution in separate , since its a .net base template project.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="2311" LastEditDate="2019-02-26T17:48:27.053" LastActivityDate="2019-07-26T20:02:10.257" Title="Maintain sitecore items in repository in jss sitecore first approach like Unicorn, Jss-cli OR TDS" Tags="|jss|tds|unicorn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17054" PostTypeId="2" ParentId="17051" CreationDate="2019-02-26T12:29:15.957" Score="1" Body="&lt;p&gt;Yes sure, you can use Unicorn or TDS with JSS. Nothing special. just as normal create a Visual studio solution, project. And configer Unicorn.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you use Unicorn you can do a Sync to (reg)enerate all yml files.&#xA;See the Automated Deployment section of the Unicorn documentation for all the scripted options you have: &lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreUnicorn/Unicorn&lt;/a&gt; basically call the /unicorn.aspx with the correct parameters&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-02-26T12:29:15.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17055" PostTypeId="1" CreationDate="2019-02-26T12:31:15.623" Score="1" ViewCount="604" Body="&lt;p&gt;Sitecore jss dictionary service returns the same values. In one moment dictionary contained one values and after change config to get that dictionary values not from default dictionary, i get them but even if i change them I continue to get the same values. &lt;/p&gt;&#xA;" OwnerUserId="4979" LastActivityDate="2019-02-27T08:27:21.780" Title="Sitecore jss dictionary service returns the same values" Tags="|jss|dictionary|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17056" PostTypeId="1" CreationDate="2019-02-26T12:41:22.230" Score="2" ViewCount="364" Body="&lt;p&gt;Hi i am following &lt;code&gt;Helix&lt;/code&gt; principle in &lt;code&gt;JSS&lt;/code&gt; sitecore first approach. I am new to &lt;code&gt;react&lt;/code&gt;. I need to have a multiple projects under same solution setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here my &lt;a href=&quot;https://github.com/andiappan-ar/sitecore.first-jss-helix.git&quot; rel=&quot;nofollow noreferrer&quot;&gt;solution sample&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SafariZoo is my project and i am maintaining all my sample Zoo project related files under the &lt;code&gt;Src/Project&lt;/code&gt; folder. Like below picture. By this way i can reuse the feature components between multiple projects as per &lt;code&gt;Helix&lt;/code&gt; principle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/63oYP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/63oYP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here in react &lt;code&gt;index.js&lt;/code&gt; will have a initial call, how we can configure different projects for &lt;code&gt;approot.js&lt;/code&gt; and how we can run and develop our app.&lt;/p&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="5096" LastEditDate="2019-05-18T14:25:35.060" LastActivityDate="2019-05-18T14:25:35.060" Title="JSS sitecore multiple projects under same solution" Tags="|jss|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17057" PostTypeId="1" AcceptedAnswerId="17060" CreationDate="2019-02-26T12:54:23.147" Score="0" ViewCount="182" Body="&lt;p&gt;We are using Sitecore Commerce Connect to sync the data from Hybris to Sitecore. Currently on click of Product Sync button from the content editor ribbon, it calls a command: &lt;code&gt;Sitecore.Commerce.Commands.Products.SynchronizeAllProducts, Sitecore.Commerce&lt;/code&gt; to sync the products. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But we wanted to schedule this Sitecore Commerce Connect product sync as a daily batch job.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically the default Product Sync command ( &lt;code&gt;Sitecore.Commerce.Commands.Products.SynchronizeAllProducts, Sitecore.Commerce&lt;/code&gt;)&#xA;should be invoked by a Batch job, I have followed the below steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created a command item and Mentioned the Type as &lt;code&gt;Sitecore.Commerce.Commands.Products.SynchronizeAllProducts, Sitecore.Commerce&lt;/code&gt;&#xA;and Method as &lt;code&gt;Execute&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Created a schedule item and associated the above command.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But when the scheduler executes, I am getting an error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Execute method NOT found&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have tried with &lt;code&gt;StartProcess&lt;/code&gt; method as well. It didn't work for me. Can you please advise?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards,&#xA;Sharath&lt;/p&gt;&#xA;" OwnerUserId="5127" LastEditorUserId="69" LastEditDate="2019-02-26T13:31:28.880" LastActivityDate="2019-02-26T13:31:28.880" Title="Sitecore Commerce Connect Product Sync as Batch job" Tags="|sitecore-commerce|commerce-connect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17060" PostTypeId="2" ParentId="17057" CreationDate="2019-02-26T13:06:46.423" Score="1" Body="&lt;p&gt;It would be helpful to provide some more details on what version of Sitecore and Commerce Connect you are using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In one of our SC8.2 projects with a Commerce Connect product synchronization we have daily scheduled synchronizations using Sitecron (&lt;a href=&quot;https://www.akshaysura.com/tag/sitecron/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.akshaysura.com/tag/sitecron/&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do recommend using Sitecore because it's far more precise then OOTB scheduling in Sitecore. With Sitecore OOTB scheduling your sync will &quot;slide&quot;, so you can't guarantee the exact starting time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the SyncJob we basically setup start the sync like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var productListRequest = new GetExternalCommerceSystemProductListRequest&#xA;{&#xA;    Language = lang.Name&#xA;};&#xA;&#xA;var productSynchronizationProvider = new ProductSynchronizationProvider();&#xA;productSynchronizationProvider.SynchronizeProducts((SynchronizationRequest)productListRequest);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In our case we are running synchronizations in 20 languages, so it's wrapped in a foreach going over all languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Back then this was the easiest (working) thing we could come up with. I think part (or all) of this code is based on commands you describe, which we decompiled with dotPeek.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case you're talking Sitecore 9 and SXC9 I'm not sure, but I thougth product synchronization was not supported at all.&lt;/p&gt;&#xA;" OwnerUserId="2420" LastActivityDate="2019-02-26T13:06:46.423" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17062" PostTypeId="1" CreationDate="2019-02-26T13:45:39.693" Score="1" ViewCount="1084" Body="&lt;p&gt;We have upgraded our website from Sitecore 8.2.4 to Sitecore 9.0.2. While on a local standalone environment the dictionary items are translated as expected, on a scaled environment (1 CM and 1 CD) the keys are being shown instead of phrases. &#xA;Basically in order to fix this issue, I remove the temp/dictionary.bat file and I republish the &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/system/Dictionary&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;folder with sub-items. This fixes the dictionary labels translation for a few hours, maximum one day, then the keys are being shown again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone experience this issue?&lt;/p&gt;&#xA;" OwnerUserId="4907" LastActivityDate="2019-02-26T14:10:44.973" Title="Sitecore dictionary labels showing keys instead actual text phrases" Tags="|dictionary|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17063" PostTypeId="2" ParentId="16479" CreationDate="2019-02-26T14:01:24.287" Score="2" Body="&lt;p&gt;Sitecore Support responded to a ticket I opened with this question. They outlined three steps for creating the project.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new Class Library project&lt;/li&gt;&#xA;&lt;li&gt;Add a reference to &lt;a href=&quot;https://sitecore.myget.org/feed/sc-identity/package/nuget/Sitecore.Framework.Runtime.Build&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Framework.Runtime.Build&lt;/a&gt;. Set the attribute &lt;code&gt;PrivateAssets&lt;/code&gt; to All.&lt;/li&gt;&#xA;&lt;li&gt;Add references to other dependencies as needed:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add Sitecore.Framework.Runtime.Commands to enable commands in your plugin&lt;/li&gt;&#xA;&lt;li&gt;Add Sitecore.Framework.Runtime.Abstractions to enable using runtime abstractions in your plugin&lt;/li&gt;&#xA;&lt;li&gt;Add references to other plugins if you build on features already in a plugin&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I also think the information on creating &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-host.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Host Plugins&lt;/a&gt; is applicable.&lt;/p&gt;&#xA;" OwnerUserId="5013" LastActivityDate="2019-02-26T14:01:24.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17064" PostTypeId="2" ParentId="17062" CreationDate="2019-02-26T14:10:44.973" Score="2" Body="&lt;p&gt;This is an old issue which I could replicate on some solution of Sitecore 8 but it's strage is still on Sitecore 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On events &lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&lt;/code&gt; you need to add a new handler for reseting dictionary cache :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;   &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;     &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA; &amp;lt;/handler&amp;gt;&#xA; &amp;lt;handler type=&quot;Yournamespace,DictionaryCacheClearer, yourAssembly&quot; method=&quot;ClearCache&quot;/&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&#xA;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;  &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;     &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;     &amp;lt;/sites&amp;gt;&#xA;   &amp;lt;/handler&amp;gt;&#xA;   &amp;lt;handler type=&quot;Yournamespace,DictionaryCacheClearer, yourAssembly&quot; method=&quot;ClearCache&quot;/&amp;gt;&#xA;   &amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your class will be : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DictionaryCacheClearer&#xA;{&#xA;   public void ClearCache(object sender, EventArgs args)&#xA;   {&#xA;     Translate.ResetCache();&#xA;     Log.Info(&quot;Dictionary cache cleared&quot;, this);&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-02-26T14:10:44.973" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17065" PostTypeId="1" CreationDate="2019-02-26T14:13:43.637" Score="2" ViewCount="3076" Body="&lt;p&gt;I have installed fresh sitecore 9.1 instance in local environment. There is no issue with installation but i couldn't see any indexes in Index manager. All the configurations are enabled and i even verified by login into solr instance. Any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XOHl6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XOHl6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2022-02-14T04:17:39.780" Title="Index are not listing in sitecore 9.1" Tags="|solr|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17066" PostTypeId="1" CreationDate="2019-02-26T14:56:44.717" Score="0" ViewCount="42" Body="&lt;p&gt;I have a very strange issue in this Solution I'm working on 8.* that all Renderings suddenly have &quot;__Standard Values&quot; as Displayname and I can't get rid of it. &#xA;And some of them also have EN &amp;amp; DK versions.. Help?!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone ever seen this behavior before and know how to fix it ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The result is that XE is totally unusable as all components is named &quot;__Standart Value&quot; :( &lt;/p&gt;&#xA;" OwnerUserId="1970" LastEditorUserId="605" LastEditDate="2019-02-26T15:31:43.373" LastActivityDate="2019-02-26T15:31:43.373" Title="DisplayName set to &quot;__Standard Value&quot; on Renderings" Tags="|presentation|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17067" PostTypeId="1" CreationDate="2019-02-26T15:16:20.367" Score="0" ViewCount="71" Body="&lt;p&gt;I have created a workflow for content editors. Once they edit the contents, I would like that to be logged in JIRA. Is there a way to link the sitecore item with the JIRA ticket?&lt;/p&gt;&#xA;" OwnerUserId="5128" LastEditorUserId="14" LastEditDate="2019-02-26T16:11:35.810" LastActivityDate="2019-02-26T16:11:35.810" Title="Workflow process - Log the actions in JIRA" Tags="|sitecore-client|sitecore-api|" AnswerCount="0" CommentCount="2" ClosedDate="2019-02-26T16:12:05.083" ContentLicense="CC BY-SA 4.0" />
  <row Id="17068" PostTypeId="2" ParentId="17065" CreationDate="2019-02-26T16:33:38.893" Score="5" Body="&lt;p&gt;Please check following things:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Verify that Solr is up and running&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Solr.url attribute in connection string shall have correct Solr url&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the &lt;code&gt;/Sitecore/Admin/showconfig.aspx&lt;/code&gt; and search for &lt;code&gt;sitecore_master&lt;/code&gt;, it should show Solr core name. The actual config is present at &lt;code&gt;Webroot\App_Config\Sitecore\ContentSearch\Sitecore.ContentSearch.Solr.Index.Master.config&lt;/code&gt;. If not present, add the configs manually. Repeat the steps for other cores.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check Solr having required cores (11 cores like Sitecore_master_index) or not. If not create the cores.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;After that place schema files in all cores&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Restart the Solr and iisreset the Website&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;After login check indexing manager&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="5755" LastEditDate="2022-02-13T09:47:10.853" LastActivityDate="2022-02-13T09:47:10.853" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17069" PostTypeId="2" ParentId="17046" CreationDate="2019-02-26T16:48:06.303" Score="2" Body="&lt;p&gt;If you haven't updated the sample project given by JSS then the dictionary service URL will be generated something like below from the jss app.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const dictionaryServicePath = `${config.sitecoreApiHost}/sitecore/api/jss/dictionary/${config.jssAppName}/{{lng}}?sc_apikey=${config.sitecoreApiKey}`;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But in your case looks like you tried with the direct URL and that returns entries from system/dictionary. So check your include folder and verify whether you have the updated/proper jss app config .\Website\App_Config\Include\JSS-APP-Name.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because you get error/improper results when you access the direct URLs like &lt;a href=&quot;https://xxx.local/sitecore/api/jss/dictionary/xxx/en?sc_apikey=&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://xxx.local/sitecore/api/jss/dictionary/xxx/en?sc_apikey=&lt;/a&gt;{6B8DB342-F35D-481F-8C16-87B7319B6F6E} so the issue will be with the jss-app config files which you deployed in your Sitecore instance or the Sitecore content tree [which may not have the proper content tree/structure]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Actually the jss document is really helpful  &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/services/dictionary-service&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/services/dictionary-service&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-02-26T16:55:09.713" LastActivityDate="2019-02-26T16:55:09.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17070" PostTypeId="2" ParentId="17051" CreationDate="2019-02-26T17:47:21.053" Score="0" Body="&lt;p&gt;Thanks @Jan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had implemented using unicorn like below&lt;a href=&quot;https://github.com/andiappan-ar/sitecore.first-jss-helix/tree/master/Serialization/JSS.Serialization/JSS.Serialization&quot; rel=&quot;nofollow noreferrer&quot;&gt;(Url for implementation)&lt;/a&gt;,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we are using Java script solution for sitecore jss we cant have unicorn solution here. So i have included one more folder under repository and created new C# project called serialization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oWkFR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oWkFR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then i installed unicorn nuget packages into the respective solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then i had introduce my custom unicorn config like below,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;JssUnicornSerializeRootFolder&quot; value=&quot;D:\Aga\Git New\JssReactWeb\src&quot; /&amp;gt;&#xA;    &amp;lt;unicorn&amp;gt;&#xA;      &amp;lt;configurations&amp;gt;&#xA;        &amp;lt;!--Feature layer--&amp;gt;&#xA;        &amp;lt;configuration name=&quot;JSS.Feature&quot;&amp;gt;&#xA;          &amp;lt;targetDataStore physicalRootPath=&quot;$(JssUnicornSerializeRootFolder)\Feature\Serialization&quot; /&amp;gt;&#xA;          &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;!--Templates--&amp;gt;&#xA;            &amp;lt;include name=&quot;Template-Feature&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/Feature&quot; /&amp;gt;&#xA;            &amp;lt;!--Media--&amp;gt;&#xA;            &amp;lt;include name=&quot;Media&quot; database=&quot;master&quot; path=&quot;/sitecore/media library/Feature&quot; /&amp;gt;&#xA;            &amp;lt;!--Rendering--&amp;gt;&#xA;            &amp;lt;include name=&quot;Rendering&quot; database=&quot;master&quot; path=&quot;/sitecore/layout/Renderings/Feature&quot; /&amp;gt;&#xA;          &amp;lt;/predicate&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;&#xA;        &amp;lt;!--Foundation layer--&amp;gt;&#xA;        &amp;lt;!--&amp;lt;configuration name=&quot;JSS.Foundation&quot;&amp;gt;&#xA;          &amp;lt;targetDataStore physicalRootPath=&quot;$(JssUnicornSerializeRootFolder)\Foundation\Serialization&quot; /&amp;gt;&#xA;          &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;          &amp;lt;/predicate&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;--&amp;gt;&#xA;&#xA;        &amp;lt;!--Project layer--&amp;gt;&#xA;        &amp;lt;configuration name=&quot;JSS.Project&quot;&amp;gt;&#xA;          &amp;lt;targetDataStore physicalRootPath=&quot;$(JssUnicornSerializeRootFolder)\Project\Serialization&quot; /&amp;gt;&#xA;          &amp;lt;predicate type=&quot;Unicorn.Predicates.SerializationPresetPredicate, Unicorn&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;!--Templates--&amp;gt;&#xA;            &amp;lt;include name=&quot;Template-Project&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/Project/Commercial Tenants&quot; /&amp;gt;&#xA;            &amp;lt;!--Layout--&amp;gt;&#xA;            &amp;lt;include name=&quot;Layout&quot; database=&quot;master&quot; path=&quot;/sitecore/layout/Layouts/Project/Commercial Tenants&quot; /&amp;gt;&#xA;            &amp;lt;!--Rendering--&amp;gt;&#xA;            &amp;lt;include name=&quot;SubLayoutRendering&quot; database=&quot;master&quot; path=&quot;/sitecore/layout/Renderings/Project/Commercial Tenants&quot; /&amp;gt;&#xA;            &amp;lt;!--Placeholder--&amp;gt;&#xA;            &amp;lt;include name=&quot;Placeholder&quot; database=&quot;master&quot; path=&quot;/sitecore/layout/Placeholder Settings/Project/Commercial Tenants&quot; /&amp;gt;&#xA;            &amp;lt;!--Content--&amp;gt;&#xA;            &amp;lt;include name=&quot;Content&quot; database=&quot;master&quot; path=&quot;/sitecore/content/All Sites&quot; /&amp;gt;&#xA;          &amp;lt;/predicate&amp;gt;&#xA;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;&#xA;      &amp;lt;/configurations&amp;gt;&#xA;    &amp;lt;/unicorn&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then i publish my solution to hosted sitecore cm. Then i can able re-serialize all the sitecore items on first time and i can maintain now in my repository.&lt;/p&gt;&#xA;" OwnerUserId="2311" LastActivityDate="2019-02-26T17:47:21.053" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17071" PostTypeId="2" ParentId="17055" CreationDate="2019-02-26T18:22:21.467" Score="1" Body="&lt;p&gt;Check the Database which you configured in the jss-app config which you deployed in [.\Website\App_Config\Include\JSS-APP-NAME.config]&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            &amp;lt;site patch:before=&quot;site[@name='website']&quot;&#xA;            inherits=&quot;website&quot;&#xA;            name=&quot;portal-poc-app&quot;&#xA;            hostName=&quot;portal-poc1.massmutual.com&quot;&#xA;            rootPath=&quot;/sitecore/content/portal-poc-app&quot;&#xA;            startItem=&quot;/home&quot;&#xA;            database=&quot;**web**&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If it's configured as &quot;web&quot; then check the new dictionary items which you created are available in the web db.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you configured &quot;master&quot; and new dictionary entries which are not coming up then make sure the jss-app config is available and proper in the include folder of your Sitecore instance. [.\Website\App_Config\Include\JSS-APP-NAME.config].&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To update the config to the Sitecore instance, you can use the command &lt;strong&gt;jss deploy config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also check whether the dictionary entries are coming up properly after you update the config using &lt;a href=&quot;http://HOSTNAME/sitecore/api/jss/dictionary/JSS-APP-NAME/en?sc_apikey=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://HOSTNAME/sitecore/api/jss/dictionary/JSS-APP-NAME/en?sc_apikey=&lt;/a&gt;{API-KEY}. This url returns the dictionary items available under the JSS-APP-NAME root path in a folder called &quot;Dictionary&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you still face any issues then update the Sitecore version, Application mode, Client Framework and connected or dis-connected mode etc. in the question to diagnose the issue. &lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-02-26T18:22:21.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17072" PostTypeId="2" ParentId="17040" CreationDate="2019-02-26T18:42:54.990" Score="2" Body="&lt;p&gt;The solution requires an AppPool recycle to take effect:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Execute the following SQL statement against the &lt;code&gt;core&lt;/code&gt; database&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DELETE FROM [Properties] WHERE [Key] LIKE '%_LAST_UPDATED_TIMESTAMP%'&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;Recycle the CD's AppPool&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After this, you will want to rebuild the indexes on the CD so that they pick up any changes that were missed while indexing was broken.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-26T18:42:54.990" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17073" PostTypeId="1" CreationDate="2019-02-26T19:15:32.520" Score="2" ViewCount="707" Body="&lt;p&gt;The website is working in HTTPS. But the problem occurs when trying to access &lt;code&gt;/sitecore&lt;/code&gt;, the login page does not load and instead is getting redirected to &lt;code&gt;/sitecore/client/Applications/LicenseOptions/StartPage&lt;/code&gt; and there is a message saying redirected you too many times. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This happened after enabling SSL in the solution and creating a new self certificate.&lt;/p&gt;&#xA;" OwnerUserId="5131" LastEditorUserId="73" LastEditDate="2019-02-28T08:32:49.337" LastActivityDate="2022-02-22T18:05:30.550" Title="How to fix too many redirects after enabling SSL and creating a new self certificate" Tags="|certificate|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17075" PostTypeId="2" ParentId="14850" CreationDate="2019-02-26T22:50:45.693" Score="1" Body="&lt;p&gt;Was hoping for something more elegant but this seems to work. Adding a simple directive at the top of each razor view does the trick.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@*&#xA;VirtualPath: ~/Client/Views/Feature/Renderings/Sample.cshtml &#xA;*@&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Some quick settings&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Mvc.RenderersViewFolder&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;/Client/Views/{1}/Renderings&quot; /&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;  &amp;lt;setting name=&quot;Mvc.UsePhysicalViewsIfNewer&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;true&quot; role:require=&quot;Standalone&quot; /&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;false&quot; role:require=&quot;ContentManagement or ContentDelivery&quot; /&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="689" LastEditorUserId="689" LastEditDate="2019-04-15T21:21:00.267" LastActivityDate="2019-04-15T21:21:00.267" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17076" PostTypeId="1" CreationDate="2019-02-27T00:26:56.630" Score="6" ViewCount="434" Body="&lt;p&gt;By default, Sitecore application insights config logs Sitecore errors as traces instead of exceptions this means application insights dashboard and alerts are unaware of the exception occurring in a Sitecore application. Is there any way to log Sitecore errors as exceptions in AI??&lt;/p&gt;&#xA;" OwnerUserId="1508" LastActivityDate="2019-02-27T07:31:34.837" Title="Log Sitecore errors as exceptions instead of trace in application insights" Tags="|azure|logging|paas|application-insights|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17077" PostTypeId="1" CreationDate="2019-02-27T07:23:57.383" Score="0" ViewCount="1218" Body="&lt;p&gt;We have extended &lt;code&gt;HtmlCacheClearer&lt;/code&gt; in our solution. We are able to clear site cache using &lt;code&gt;CacheManager.GetHtmlCache(site).Clear()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We wanted to clear individual Rendering/Component cache. How can we do that ?&lt;/p&gt;&#xA;" OwnerUserId="1884" LastEditorUserId="342" LastEditDate="2019-02-27T12:31:07.947" LastActivityDate="2019-02-27T12:31:07.947" Title="Clear individual Rendering/Component Html cache" Tags="|publishing|caching|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17080" PostTypeId="2" ParentId="17055" CreationDate="2019-02-27T07:47:04.503" Score="1" Body="&lt;p&gt;My problem was in that I created dictionary domain from template that default dictionary used &quot;Node template&quot;, but not default dictionary must be created from Dictionary Domain template. &lt;/p&gt;&#xA;" OwnerUserId="4979" LastEditorUserId="4979" LastEditDate="2019-02-27T08:27:21.780" LastActivityDate="2019-02-27T08:27:21.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17081" PostTypeId="1" AcceptedAnswerId="17083" CreationDate="2019-02-27T07:58:32.537" Score="0" ViewCount="1348" Body="&lt;p&gt;When I try to show the preview mode in my Experience Editor I get the Message &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;The layout for the requested document was not found&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/79MHn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/79MHn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was already working and I don't know what I have done that this does not work any more.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Final and shared Layout look the same &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CVKaq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CVKaq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default Layout looks good too. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mZNgo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mZNgo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't find any problems and don't know what to do to solve this issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Strange behavior is, that when I publish the page it works I get no error but the preview mode is not working&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-02-27T09:25:26.537" LastActivityDate="2019-02-27T09:54:07.813" Title="Experience Editor Preview Mode: The layout for the requested document was not found" Tags="|experience-editor|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="17082" PostTypeId="1" CreationDate="2019-02-27T09:13:44.573" Score="0" ViewCount="580" Body="&lt;p&gt;i have multi-language sitecore website and i m trying  to create a language selector in my site header to change site language .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;im trying this code but not working :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;string siteurl = string.Empty;&#xA;var sitesList = Sitecore.Configuration.Factory.GetSiteInfoList();&#xA;var currentSiteName = Sitecore.Context.GetSiteName();&#xA;var website = Sitecore.Configuration.Factory.GetSite(&quot;mysite&quot;);&#xA;&#xA;&#xA;var myItem = Sitecore.Context.Database.GetItem(Sitecore.Context.Item.ID, website.Language);&#xA;&#xA;using (new Sitecore.Sites.SiteContextSwitcher(website))&#xA;{&#xA;    var options = LinkManager.GetDefaultUrlOptions();&#xA;    options.AlwaysIncludeServerUrl = true;&#xA;    options.SiteResolving = true;&#xA;    siteurl = LinkManager.GetItemUrl(myItem, options);&#xA;&#xA; &amp;lt;a href=@siteurl&amp;gt; @Sitecore.Context.Language&amp;lt;/a&amp;gt;&#xA;}  &#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5049" LastEditorUserId="342" LastEditDate="2019-02-27T12:15:00.947" LastActivityDate="2019-02-27T12:15:00.947" Title="sitecore language selector in site header" Tags="|sitecore-api|multisite|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17083" PostTypeId="2" ParentId="17081" CreationDate="2019-02-27T09:54:07.813" Score="0" Body="&lt;p&gt;I've got it working again. But I am not really shure how I solved this problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've Reseted the Presentation Details für every shared and final Layout of the page and then I created a new Version for en and de-de. After that it works again.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-02-27T09:54:07.813" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17085" PostTypeId="2" ParentId="10514" CreationDate="2019-02-27T10:18:09.087" Score="-1" Body="&lt;p&gt;Go to the Control panel and below there will be INDEXING, Click the Indexing manager and Rebuild all the indexes&lt;/p&gt;&#xA;" OwnerUserId="5140" LastActivityDate="2019-02-27T10:18:09.087" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17086" PostTypeId="1" AcceptedAnswerId="17087" CreationDate="2019-02-27T10:21:13.907" Score="2" ViewCount="322" Body="&lt;p&gt;When i add a component to the page and do associate content to the rendering, along with datasource location that i set in Datasource location field of the rendering, i get Data folder also. I need to remove the Data item that comes up in Datasource selection. Attaching the screenshot for the same &#xA;&lt;a href=&quot;https://i.stack.imgur.com/P2o3E.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P2o3E.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5030" LastActivityDate="2019-02-27T10:28:45.517" Title="How to remove the Data item from the Datasource selection" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17087" PostTypeId="2" ParentId="17086" CreationDate="2019-02-27T10:28:45.517" Score="4" Body="&lt;p&gt;This is part of SXA functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Data&lt;/strong&gt; item represents page relative data source folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default you can store data source in:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;global folder &lt;code&gt;/sitecore/content/T/S/Data/Texts/Text1&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;page relative, under page &lt;code&gt;/sitecore/content/T/S/Home/tests/Data/Text2&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;if you will remove it you will hide/remove part of the functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really want to remove it or show only in a certain scenario, patch this processor or add logic afterward.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.XA.Foundation.LocalDatasources.Pipelines.GetRenderingDatasource.AddPageDataFolder, Sitecore.XA.Foundation.LocalDatasources&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in &lt;strong&gt;getRenderingDatasource&lt;/strong&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Data folder that you highlighted is virtual until you actually create something underneath, which means it doesn't exist until you create first page relative data source.&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-02-27T10:28:45.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17088" PostTypeId="2" ParentId="16970" CreationDate="2019-02-27T10:29:27.757" Score="2" Body="&lt;p&gt;According to Sitecore support, there is no way to do this with the service proxy and you will have to call the above API yourself (Using HttpClient or any other http library)&lt;/p&gt;&#xA;" OwnerUserId="3456" LastActivityDate="2019-02-27T10:29:27.757" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17090" PostTypeId="1" AcceptedAnswerId="18992" CreationDate="2019-02-27T10:49:11.587" Score="7" ViewCount="1068" Body="&lt;p&gt;When logging users in, we want to use both a &lt;em&gt;userid&lt;/em&gt; and the user's &lt;em&gt;email&lt;/em&gt; as contact identifiers.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Set identifiers&#xA;Tracker.Current.Session.IdentifyAs(&quot;USERID_SOURCE&quot;, &quot;U1542658&quot;); &#xA;Tracker.Current.Session.IdentifyAs(&quot;EMAIL_SOURCE&quot;, &quot;john@doe.com&quot;);&#xA;&#xA;// Retrieve identifiers&#xA;var ids = Tracker.Current.Contact.Identifiers.Select(i =&amp;gt; $&quot;{i.Identifier} ({i.Source})&quot;); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;ids Collection:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;john@doe.com (EMAIL_SOURCE)&#xA;dc1bace105fe47a286bbbe3ed64a6169 (xDB.Tracker)&#xA;24cfef12-e6ed-4043-a99c-c45a3998135f (Alias)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, the ids collection now only contains the second identifier &quot;EMAIL_SOURCE&quot;. The &quot;USERID_SOURCE&quot; seems to be ignored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we correctly set multiple identifiers?&lt;/p&gt;&#xA;" OwnerUserId="681" LastEditorUserId="681" LastEditDate="2019-02-27T10:55:54.650" LastActivityDate="2019-07-05T16:18:29.240" Title="Identify with multiple identifiers" Tags="|xdb|xconnect|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17091" PostTypeId="2" ParentId="17082" CreationDate="2019-02-27T10:56:16.290" Score="-1" Body="&lt;p&gt;Try to get the my item in below way:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;var myItem = Sitecore.Context.Database.GetItem(Sitecore.Context.Item.ID, website.Language);&lt;/p&gt;&#xA;" OwnerUserId="3205" LastActivityDate="2019-02-27T10:56:16.290" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17092" PostTypeId="1" CreationDate="2019-02-27T11:25:53.153" Score="1" ViewCount="65" Body="&lt;p&gt;How do I add media datasource (I want customers to able to select images from a particular folder) in Sitecore SXA using experience editor. Currently,I have added datasource in the template and works fine for content editor but shows all images when I try changing it through experience editor.&lt;/p&gt;&#xA;" OwnerUserId="5141" LastActivityDate="2019-02-27T11:25:53.153" Title="Media datasource using Sitecore SXA" Tags="|sxa|media-library|datasource|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17093" PostTypeId="1" AcceptedAnswerId="17094" CreationDate="2019-02-27T11:52:01.113" Score="1" ViewCount="146" Body="&lt;p&gt;I am creating a page url from a Sitecore item using the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var pageUrl = LinkManager.GetItemUrl(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Sitecore item starts with a capital letter, e.g. &lt;code&gt;Page&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At one machine &lt;code&gt;LinkManager.GetItemUrl&lt;/code&gt; resolves to: &lt;code&gt;http://&amp;lt;domain&amp;gt;/Page&lt;/code&gt; while on another machine (same item and code) resolves to: &lt;code&gt;http://&amp;lt;domain&amp;gt;/page&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How is this possible? Is there a &lt;code&gt;LinkManager&lt;/code&gt; configuration that I am overseeing?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-02-27T11:57:27.160" Title="GetItemUrl page name casing" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17094" PostTypeId="2" ParentId="17093" CreationDate="2019-02-27T11:57:27.160" Score="2" Body="&lt;p&gt;On &lt;strong&gt;linkManager&lt;/strong&gt; definition  you have a setting &lt;strong&gt;lowercaseUrls&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;      &amp;lt;clear /&amp;gt;&#xA;      &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Links.LinkProvider, Sitecore.Kernel&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;asNeeded&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I guess you override that setting. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;On GetItemUrl is used that setting. If LowercaseUrls is false the link is not modified:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual string GetItemUrl(Item item, UrlOptions options)&#xA;{&#xA;    Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;    Assert.ArgumentNotNull(options, &quot;options&quot;);&#xA;    LinkProvider.LinkBuilder linkBuilder = this.CreateLinkBuilder(options);&#xA;    string text = linkBuilder.GetItemUrl(item);&#xA;    if (options.LowercaseUrls)&#xA;    {&#xA;        text = text.ToLowerInvariant();&#xA;    }&#xA;    return text;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-02-27T11:57:27.160" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17095" PostTypeId="1" CreationDate="2019-02-27T12:08:37.600" Score="1" ViewCount="450" Body="&lt;p&gt;We are using Sitecore 9.0.2 in PAAS and in specific environment we are getting error on OOB tracking field on all the pages&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't have Sitecore XDb in scope and XDb is not enabled.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[NullReferenceException: Object reference not set to an instance of an&#xA;  object.]&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore.Shell.Applications.Analytics.TrackingField.TrackingFieldDetailsPage.OnLoad(EventArgs&#xA;  e) +595&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.Web.UI.Control.LoadRecursive() +153&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.Web.UI.Control.LoadRecursive() +250&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;System.Web.UI.Page.ProcessRequestMain(Boolean&#xA;  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;  +4081&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any idea how do we fix this error&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="73" LastEditDate="2019-02-27T17:01:09.703" LastActivityDate="2021-12-16T16:34:38.630" Title="Sitecore.Shell.Applications.Analytics.TrackingField.TrackingFieldDetailsPage throws exception" Tags="|xdb|paas|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17097" PostTypeId="1" CreationDate="2019-02-27T12:20:12.147" Score="3" ViewCount="349" Body="&lt;p&gt;For an image field in a template, I set a particular folder location as a source. I want to redirect the user to that folder to select the image and hide other media items. When browsing the image through content editor it redirects the user to the specific folder location, but when browsing the image from experience editor it redirects the user to Media(virtual folder) folder available under tenant site and lists all the images. Is there any way to redirect the user to a particular path under Media folder when browsing the image in experience editor?&lt;/p&gt;&#xA;" OwnerUserId="5030" LastEditorUserId="851" LastEditDate="2019-02-27T13:02:37.627" LastActivityDate="2019-02-27T13:16:24.770" Title="Set a particular path as datasource location for image field in SXA instead of entire media folder" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17098" PostTypeId="2" ParentId="17077" CreationDate="2019-02-27T12:30:13.907" Score="2" Body="&lt;p&gt;In order to accomplish this, you will need to use the method &lt;code&gt;HtmlCache.RemoveKeysContaining()&lt;/code&gt; and pass in a string to use to find keys you want to be removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example cache clearer that works for us (tested with Sitecore 8.1 Update-3).&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Custom Cache Clearer&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;You should customize the &lt;code&gt;ClearCacheForItem()&lt;/code&gt; method to contain logic to parse the item that's been passed in and decide how you want to clear the cache for that item. This will depend on how you've set up your presentation caching (By Data, By Parameter, By Query String, etc.).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore.Caching;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Events;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Events;&#xA;using Sitecore.Publishing;&#xA;using Sitecore.Sites;&#xA;&#xA;namespace Custom.Web.Events.PublishEnd&#xA;{&#xA;    public class CustomHtmlCacheClearer : HtmlCacheClearer&#xA;    {&#xA;        public new void ClearCache(object sender, EventArgs args)&#xA;        {&#xA;            Item rootItem = null;&#xA;            bool deep = false;&#xA;&#xA;            var remoteEventArgs = args as PublishEndRemoteEventArgs;&#xA;            if (remoteEventArgs != null)&#xA;            {&#xA;                var rootItemId = remoteEventArgs.RootItemId;&#xA;                var rootItemDatabase = remoteEventArgs.TargetDatabaseName;&#xA;                Database database;&#xA;                if (Factory.GetDatabaseNames().Any(name =&amp;gt; name.Equals(rootItemDatabase, StringComparison.OrdinalIgnoreCase)))&#xA;                    database = Factory.GetDatabase(rootItemDatabase);&#xA;                else&#xA;                    database = Factory.GetDatabase(&quot;web&quot;);&#xA;&#xA;                if (database != null)&#xA;                {&#xA;                    rootItem = database.GetItem(new ID(rootItemId));&#xA;                }&#xA;                deep = remoteEventArgs.Deep;&#xA;            }&#xA;            else&#xA;            {&#xA;                var publisher = Event.ExtractParameter(args, 0) as Publisher;&#xA;&#xA;                if (publisher != null)&#xA;                {&#xA;                    rootItem = publisher.Options.RootItem;&#xA;                    if (rootItem != null)&#xA;                    {&#xA;                        deep = publisher.Options.Deep;&#xA;                    }&#xA;                }&#xA;            }&#xA;&#xA;            if (rootItem != null)&#xA;            {&#xA;                Assert.ArgumentNotNull(sender, nameof(sender));&#xA;                Assert.ArgumentNotNull(args, nameof(args));&#xA;                Log.Info($&quot;[CustomHtmlCacheClearer] Selectively clearing HTML caches for all requested Sitecore sites (total: {this.Sites.Count}).&quot;, this);&#xA;&#xA;                IList&amp;lt;HtmlCache&amp;gt; caches = new List&amp;lt;HtmlCache&amp;gt;(this.Sites.Count);&#xA;                foreach (object siteNameObj in this.Sites)&#xA;                {&#xA;                    var siteName = siteNameObj as string;&#xA;                    if (siteName != null)&#xA;                    {&#xA;                        SiteContext site = Factory.GetSite(siteName);&#xA;                        if (site != null)&#xA;                        {&#xA;                            HtmlCache htmlCache = CacheManager.GetHtmlCache(site);&#xA;                            if (htmlCache != null)&#xA;                            {&#xA;                                caches.Add(htmlCache);&#xA;                            }&#xA;                        }&#xA;                    }&#xA;                }&#xA;&#xA;                if (caches.Count &amp;gt; 0)&#xA;                {&#xA;                    ClearCachesForItem(caches, rootItem, deep);&#xA;                }&#xA;                Log.Info($&quot;[CustomHtmlCacheClearer] Done clearing HTML caches.&quot;, this);&#xA;            }&#xA;        }&#xA;&#xA;        protected void ClearCacheForItem(IEnumerable&amp;lt;HtmlCache&amp;gt; htmlCaches, Item item)&#xA;        {&#xA;            // ---------------------------------------------------------------------------------------&#xA;            // This is the method you should customize to define how you want to clear the cache keys.&#xA;            // Do you need to clear items including a rendering parameter? Just the item path?&#xA;            // ---------------------------------------------------------------------------------------&#xA;&#xA;            Log.Info($&quot;[CustomHtmlCacheClearer] removing HTML cached entries for item ({item.Paths.FullPath}, {item.ID})&quot;, this);&#xA;            foreach (HtmlCache htmlCache in htmlCaches)&#xA;            {&#xA;                htmlCache.RemoveKeysContaining(item.Paths.FullPath);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Patch the Config&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you have any custom site definitions that you're using to host web pages, make sure you add them to the &lt;code&gt;&amp;lt;sites hint=&quot;list&quot;&amp;gt;&lt;/code&gt; element.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;events&amp;gt;&#xA;            &amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;                &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;                    &amp;lt;patch:delete /&amp;gt;&#xA;                &amp;lt;/handler&amp;gt;&#xA;                &amp;lt;handler type=&quot;Custom.Web.Events.PublishEnd.CustomHtmlCacheClearer, Custom.Web&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;                    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                        &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;                    &amp;lt;/sites&amp;gt;&#xA;                &amp;lt;/handler&amp;gt;&#xA;            &amp;lt;/event&amp;gt;&#xA;            &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;                &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;                    &amp;lt;patch:delete /&amp;gt;&#xA;                &amp;lt;/handler&amp;gt;&#xA;                &amp;lt;handler type=&quot;Custom.Web.Events.PublishEnd.CustomHtmlCacheClearer, Custom.Web&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;                    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                        &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;                    &amp;lt;/sites&amp;gt;&#xA;                &amp;lt;/handler&amp;gt;&#xA;            &amp;lt;/event&amp;gt;&#xA;        &amp;lt;/events&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-02-27T12:30:13.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17099" PostTypeId="2" ParentId="17097" CreationDate="2019-02-27T13:16:24.770" Score="2" Body="&lt;p&gt;Without changing the code it is not possible at the moment. You have two options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;override &lt;code&gt;ChooseImage&lt;/code&gt; command from Sitecore.XA.Foundation.Editing&lt;/li&gt;&#xA;&lt;li&gt;contact Sitecore Support and register this a bug - I consider this as a bug, we should handle such situations in SXA. The fix should be straining forward as far as I can see in code.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-02-27T13:16:24.770" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17100" PostTypeId="1" AcceptedAnswerId="17105" CreationDate="2019-02-27T13:55:30.963" Score="4" ViewCount="502" Body="&lt;p&gt;I am using &lt;strong&gt;Sitecore 9.1&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made a &lt;code&gt;custom workflow&lt;/code&gt; and assigned a few actions and commands to it as the below picture shows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GEHQf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GEHQf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Default Comment Template&lt;/code&gt; field is set to the standard comment template, and &lt;code&gt;Suppress comment&lt;/code&gt; is &lt;em&gt;not&lt;/em&gt; &lt;code&gt;checked&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is that, whenever I &lt;code&gt;accept or reject&lt;/code&gt; an item within this workflow, the comment popup never appears. I am using the buttons highlighted below &#xA;&lt;a href=&quot;https://i.stack.imgur.com/qVN79.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qVN79.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been searching online for a while but have only found articles about wanting to hide the comment popup, but nothing about it not appearing in the first place.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what might be the cause of this issue?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="5096" LastEditDate="2019-05-18T14:25:46.197" LastActivityDate="2019-05-18T14:25:46.197" Title="Workflow Comment popup does not show up in workbox" Tags="|workflow|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17101" PostTypeId="1" CreationDate="2019-02-27T14:03:16.317" Score="1" ViewCount="415" Body="&lt;p&gt;I am using Unicorn v3 and have warnings on a number of items (field no longer exist) &lt;em&gt;but&lt;/em&gt; have items without warnings in the same sync/project as well.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR: Non-fatal warnings occurred during loading. (11 inner failures)&#xA;&#xA;The field a42b18d0-f5dd-4e5d-81a0-84a98647905d (likely Formatted value) is not present in Sitecore on the Price Catalog Field template.&#xA;&#xA;... 10 more warnings of the same type&#xA;&#xA;(Unicorn.DeserializationSoftFailureAggregateException)&#xA;at Unicorn.Loader.DeserializeFailureRetryer.RetryAll(ISourceDataStore sourceDataStore, Action`1 retrySingleItemAction, Action`1 retryTreeAction)&#xA;   at Unicorn.Loader.SerializationLoader.LoadAll(IItemData[] rootItemsData, IDeserializeFailureRetryer retryer, IConsistencyChecker consistencyChecker, Action`1 rootLoadedCallback)&#xA;   at Unicorn.SerializationHelper.SyncTree(IConfiguration configuration, Action`1 rootLoadedCallback, IItemData[] roots)&#xA;   at Unicorn.ControlPanel.Pipelines.UnicornControlPanelRequest.SyncVerb.Process(IProgressStatus progress, ILogger additionalLogger)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unicorn completes but does not seem to update the other items that do not have warnings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected behavior or configuration?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-02-27T15:22:40.040" LastActivityDate="2020-03-13T09:02:48.970" Title="Unicorn some warnings, no items updated" Tags="|unicorn|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17104" PostTypeId="1" CreationDate="2019-02-27T15:15:28.760" Score="4" ViewCount="354" Body="&lt;p&gt;I want to patch an attribute when a certain node is present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my concrete example below I would to change the &lt;code&gt;lowercaseUrls&lt;/code&gt; attribute for the &lt;code&gt;commerce&lt;/code&gt; provider, but only when the &lt;code&gt;commerce&lt;/code&gt; provider node is present (otherwise Sitecore throws an error).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager &amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;!-- Sitecore Commerce SXA adds commerce as default, patch it as well if it exists--&amp;gt;&#xA;    &amp;lt;add name=&quot;commerce&quot;&amp;gt;&#xA;       &amp;lt;patch:attribute name=&quot;lowercaseUrls&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/add&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is it possible to only apply the patch when a &lt;code&gt;commerce&lt;/code&gt; named provider is present?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-02-27T15:49:47.930" LastActivityDate="2019-02-27T17:59:45.537" Title="Conditionally patch config attribute" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17105" PostTypeId="2" ParentId="17100" CreationDate="2019-02-27T15:19:57.790" Score="6" Body="&lt;p&gt;For bulk workflow operations there is a setting which decides whether the comment box should be displayed or not. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Workbox.SingleCommentForBulkOperation&quot;&amp;gt;&#xA;    &amp;lt;patch:delete /&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&amp;lt;setting name=&quot;Workbox.SingleCommentForBulkOperation&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;setting via a patch file to you &lt;code&gt;App_Config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first line makes sure that if there is a setting with &lt;code&gt;false&lt;/code&gt; already there, it will be removed.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-27T15:19:57.790" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17106" PostTypeId="1" AcceptedAnswerId="17120" CreationDate="2019-02-27T15:51:39.547" Score="1" ViewCount="1006" Body="&lt;p&gt;Following the &lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/quick-start&quot; rel=&quot;nofollow noreferrer&quot;&gt;JSS quick start instructions&lt;/a&gt; I do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;npm install -g @sitecore-jss/sitecore-jss-cli&#xA;jss create my-first-jss-app react&#xA;cd my-first-jss-app&#xA;jss start&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Next step I go to is to run &lt;code&gt;JSS Setup&lt;/code&gt; before this I have gone through all prerequisite steps shown on the &lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/jss-server-install&quot; rel=&quot;nofollow noreferrer&quot;&gt;JSS Server Setup&lt;/a&gt; page.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Installed Server Components&lt;/li&gt;&#xA;&lt;li&gt;Verified server components installed and worked by visiting &lt;code&gt;http://your-sitecore-instance/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey=TEST&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now I go into my newly created app folder for &lt;code&gt;my-first-jss-app&lt;/code&gt;. Within this I load up a bash CLI in admin mode I run &lt;code&gt;jss setup&lt;/code&gt;. To get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;npm[30856]: src\node_file.cc:1599: Assertion `args[1]-&amp;gt;IsInt32()' failed.&#xA; 1: 00007FF776FA0EFA v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4810&#xA; 2: 00007FF776F7A296 node::MakeCallback+4518&#xA; 3: 00007FF776F7A34F node::MakeCallback+4703&#xA; 4: 00007FF776F3F413 uv_loop_fork+34643&#xA; 5: 00007FF7777AADD2 v8::internal::OptimizingCompileDispatcher::Unblock+60562&#xA; 6: 00007FF7777AC26D v8::internal::OptimizingCompileDispatcher::Unblock+65837&#xA; 7: 00007FF7777AB2C9 v8::internal::OptimizingCompileDispatcher::Unblock+61833&#xA; 8: 00007FF7777AB1AB v8::internal::OptimizingCompileDispatcher::Unblock+61547&#xA; 9: 000003BD8BBDC5C1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Why is this going wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Debugging this I confirm the following:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CLI is in admin mode&lt;/li&gt;&#xA;&lt;li&gt;Node version: v10.15.1&lt;/li&gt;&#xA;&lt;li&gt;NPM version: 6.4.1&lt;/li&gt;&#xA;&lt;li&gt;JSS version: 11.0.2&lt;/li&gt;&#xA;&lt;li&gt;Using &lt;code&gt;nvm&lt;/code&gt; to manage version of node used&lt;/li&gt;&#xA;&lt;li&gt;Unable to so far get verbose logs&lt;/li&gt;&#xA;&lt;li&gt;Removing lock file and node modules folder and running &lt;code&gt;npm install&lt;/code&gt; doesn't fix the issue&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Using &lt;code&gt;nvm&lt;/code&gt; to install and change to second version of Node. In my case &lt;code&gt;8.15.0&lt;/code&gt; produces a different result worth mentioning. &lt;code&gt;jss setup&lt;/code&gt; just hangs.&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="73" LastEditDate="2019-02-28T10:51:14.010" LastActivityDate="2019-02-28T10:51:16.210" Title="JSS Setup script failing with: Assertion `args[1]-&gt;IsInt32()' failed" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17107" PostTypeId="2" ParentId="17104" CreationDate="2019-02-27T17:59:45.537" Score="2" Body="&lt;p&gt;The only which I know is to use 2 config files and a bit of hacking.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First config file must be loaded BEFORE your &lt;code&gt;commerce&lt;/code&gt; link provider is defined, which unfortunately means you must put it not in the &lt;code&gt;Include&lt;/code&gt; folder but ideally inside the same folder where &lt;code&gt;commerce&lt;/code&gt; link provider is configured:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;linkManager&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;            &amp;lt;add name=&quot;commerce&quot; type=&quot;Wrong.Type&quot;&amp;gt;&#xA;            &amp;lt;/add&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This config file define &lt;code&gt;commerce&lt;/code&gt; link provider with &lt;code&gt;Wrong.Type&lt;/code&gt; on purpose. It will allow us to remove the provider later if it's not updated with the correct settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second config file must be added after the default config with &lt;code&gt;commerce&lt;/code&gt; link provider, so in &lt;code&gt;Include/zzz&lt;/code&gt; or any folder which works for you best:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;linkManager&amp;gt;&#xA;        &amp;lt;providers&amp;gt;&#xA;            &amp;lt;add name=&quot;commerce&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;lowercaseUrls&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/add&amp;gt;&#xA;&#xA;            &amp;lt;add type=&quot;Wrong.Type&quot;&amp;gt;&#xA;                &amp;lt;patch:delete /&amp;gt;&#xA;            &amp;lt;/add&amp;gt;&#xA;        &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/linkManager&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It contains a &lt;code&gt;commerce&lt;/code&gt; provider with &lt;code&gt;&amp;lt;patch:attribute&amp;gt;' for&lt;/code&gt;lowercaseUrls&lt;code&gt;attribute and&lt;/code&gt;&lt;code&gt;element for any provider with type equal to&lt;/code&gt;Wrong.Type`.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So how does it work now?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;New provider with &lt;code&gt;name=&quot;commerce&quot; type=&quot;Wrong.Type&quot; lowercaseUrls=&quot;true&quot;&lt;/code&gt; attributes is defined.&lt;/li&gt;&#xA;&lt;li&gt;If there is now a proper config with proper attributes for &lt;code&gt;commerce&lt;/code&gt; provider, Sitecore will merge based on the &lt;code&gt;name&lt;/code&gt; of the providers and will replace the &lt;code&gt;Wrong.Type&lt;/code&gt; with proper type of the provider.&lt;/li&gt;&#xA;&lt;li&gt;And the second custom config first sets &lt;code&gt;lowercaseUrls&lt;/code&gt; url to &lt;code&gt;true&lt;/code&gt; and then deletes any provider with &lt;code&gt;Wrong.Type&lt;/code&gt; type. If proper config doesn't exist, provider defined in 1. will be removed. Otherwise nothing will be removed cause proper config changed type of the provider earlier.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-02-27T17:59:45.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17108" PostTypeId="1" AcceptedAnswerId="17179" CreationDate="2019-02-27T18:18:35.103" Score="0" ViewCount="191" Body="&lt;p&gt;I'm receiving this error in my Sitecore 9.1 &lt;code&gt;Azure Marketing Operations service&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI my &lt;code&gt;xCollect&lt;/code&gt; service is pointing to &lt;code&gt;MongoDB&lt;/code&gt; instance so I have enabled &lt;code&gt;sc.Xdb.Collection.Data.MongoDb.xml&lt;/code&gt; in &lt;code&gt;xCollect/Search&lt;/code&gt; services. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore 9.1 installation guide suggests to only enabled &lt;code&gt;MongoDB&lt;/code&gt; in above 2 services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But wondering based on the error, do I need to enabled the same &lt;code&gt;MongoDB&lt;/code&gt; xml file in my Marketing Operations service as well? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure if the error is tied up to that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone else seen this error? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help will be appreciated!&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&lt;code&gt;&#xA;System.InvalidOperationException: This configuration has not been initialized. Please call the initialize method before using it.,&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.CheckInitialized(),&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.get_CurrentModel(),&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&quot;,&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope),&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider),&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&quot;,&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope),&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider),&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&quot;,&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope),&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider),&#xA;   at Sitecore.XConnect.Configuration.Extensions.c__DisplayClass15_0.b__1(IServiceProvider provider),&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&quot;,&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope),&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider),&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitTransient(TransientCallSite transientCallSite, ServiceProviderEngineScope scope)&quot;,&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, ServiceProviderEngineScope scope)&quot;,&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope),&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider),&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&quot;,&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope),&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider),&#xA;   at Sitecore.Xdb.MarketingAutomation.Engine.App.ServiceConfiguration.get_Engine(),&#xA;   at Sitecore.Xdb.MarketingAutomation.Engine.App.Program.RunAsConsoleApp(),&#xA;&lt;/code&gt;&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="456" LastEditorUserId="5096" LastEditDate="2019-05-13T21:16:53.640" LastActivityDate="2020-02-07T22:03:15.443" Title="Sitecore Azure 9.1 Marketing Operations service error" Tags="|xconnect|marketing-automation|paas|" AnswerCount="1" CommentCount="0" ClosedDate="2020-02-08T02:10:03.743" ContentLicense="CC BY-SA 4.0" />
  <row Id="17109" PostTypeId="1" CreationDate="2019-02-27T19:47:54.097" Score="7" ViewCount="1391" Body="&lt;p&gt;Does anyone know how to create a custom admin page in sitecore 9 and also have it display on the list on the admin page?&lt;/p&gt;&#xA;" OwnerUserId="5108" LastActivityDate="2019-02-27T20:01:40.430" Title="Sitecore 9 custom admin page" Tags="|admin-pages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17110" PostTypeId="1" AcceptedAnswerId="17112" CreationDate="2019-02-27T19:51:12.557" Score="1" ViewCount="1946" Body="&lt;p&gt;I'm upgrading from Sitecore 8.1 rev3 to Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error is pretty straightforward, however I have already made sure that the 9.1 version of &lt;code&gt;Sitecore.Analytics.dll&lt;/code&gt; - the DLL that contains &lt;code&gt;Sitecore.Analytics.Pipelines.Initialize.ShowXdbInfo&lt;/code&gt; - is both correctly referenced by my project and present in the &lt;code&gt;/bin&lt;/code&gt; folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My hypothesis is that something in my 8.1 &lt;code&gt;config&lt;/code&gt; is breaking the system and triggering a deceptive and misleading error message, but I'm not sure what I could do to narrow it down - perhaps replace my entire configuration with the 9.1 default and gradually replace it with mine until I find the culprit? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope it won't have to come down to this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given the context, why I am still getting this error?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="5096" LastEditDate="2019-05-13T10:39:08.157" LastActivityDate="2019-05-13T10:39:08.157" Title="&quot;Could not resolve type name: Sitecore.Analytics.Pipelines.Initialize.ShowXdbInfo, Sitecore.Analytics&quot; during Upgrade from Sitecore 8.1 to 9.1" Tags="|experience-analytics|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17111" PostTypeId="2" ParentId="17109" CreationDate="2019-02-27T19:53:36.617" Score="8" Body="&lt;p&gt;In Sitecore all admin pages are aspx pages. &#xA;You need to create your own aspx page to create your custom admin page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add to the list of admin pages you need to override : &lt;strong&gt;c:\inetpub\wwwroot\yourlocalfolder\sitecore\admin\default.aspx&lt;/strong&gt; page &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Codebehind for this page is in class: &lt;strong&gt;Sitecore.ExperienceContentManagement.Administration.Default&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to look into OnLoad method where are added all admin pages : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void OnLoad(EventArgs e)&#xA;    {&#xA;      AssemblyInformationalVersionAttribute customAttribute = Assembly.GetAssembly(typeof (Default)).GetCustomAttributes(typeof (AssemblyInformationalVersionAttribute), false)[0] as AssemblyInformationalVersionAttribute;&#xA;      Assert.IsNotNull((object) customAttribute, &quot;assemblyInfoVersion is null&quot;);&#xA;      this.Version.Text = customAttribute.InformationalVersion;&#xA;      List&amp;lt;Default.PageDescription&amp;gt; pageDescriptionList = new List&amp;lt;Default.PageDescription&amp;gt;()&#xA;      {&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Event Queue Statistics&quot;,&#xA;          Description = &quot;An overview of the Event Queue&quot; + (DataProviderHelper.IsOracleEnabled ? &quot;.&amp;lt;br/&amp;gt;&amp;lt;i style=\&quot;color: red;\&quot;&amp;gt;This page is not supported for Oracle provider.&amp;lt;/i&amp;gt;&quot; : string.Empty),&#xA;          Link = &quot;/sitecore/admin/EventQueueStats.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Database Cleanup&quot;,&#xA;          Description = &quot;Perform various cleanup operations on specific databases&quot;,&#xA;          Link = &quot;/sitecore/admin/DBCleanup.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Jobs Viewer&quot;,&#xA;          Description = &quot;An overview of the jobs&quot;,&#xA;          Link = &quot;/sitecore/admin/Jobs.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Package Item&quot;,&#xA;          Description = &quot;Make a package of items and their dependencies&quot;,&#xA;          Link = &quot;/sitecore/admin/PackageItem.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Publish Queue Statistics&quot;,&#xA;          Description = &quot;An overview of the Publish Queue&quot;,&#xA;          Link = &quot;/sitecore/admin/PublishQueueStats.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Raw Search&quot;,&#xA;          Description = &quot;Search for the specific string in a database or in the file system&quot; + (DataProviderHelper.IsOracleEnabled ? &quot;.&amp;lt;br/&amp;gt;&amp;lt;i style=\&quot;color: red;\&quot;&amp;gt;The database search is not supported for Oracle provider.&amp;lt;/i&amp;gt;&quot; : string.Empty),&#xA;          Link = &quot;/sitecore/admin/RawSearch.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Rebuild Reporting Database&quot;,&#xA;          Description = &quot;Rebuild the Reporting database&quot;,&#xA;          Link = &quot;/sitecore/admin/RebuildReportingDB.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Security Tools&quot;,&#xA;          Description = &quot;Login and user management tools&quot;,&#xA;          Link = &quot;/sitecore/admin/SecurityTools.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Sql Shell&quot;,&#xA;          Description = &quot;Use connection strings to execute SQL scripts&quot; + (DataProviderHelper.IsOracleEnabled ? &quot;.&amp;lt;br/&amp;gt;&amp;lt;i style=\&quot;color: red;\&quot;&amp;gt;This page is not supported for Oracle provider.&amp;lt;/i&amp;gt;&quot; : string.Empty),&#xA;          Link = &quot;/sitecore/admin/SqlShell.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;User Info&quot;,&#xA;          Description = &quot;Logged in user details&quot;,&#xA;          Link = &quot;/sitecore/admin/UserInfo.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Cache&quot;,&#xA;          Description = &quot;An overview of the caches&quot;,&#xA;          Link = &quot;/sitecore/admin/cache.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;DB Browser&quot;,&#xA;          Description = &quot;The interface for various item manipulations&quot;,&#xA;          Link = &quot;/sitecore/admin/dbbrowser.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Install Language&quot;,&#xA;          Description = &quot;Install a new content language&quot;,&#xA;          Link = &quot;/sitecore/admin/InstallLanguage.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Pipeline Profiler&quot;,&#xA;          Description = &quot;An overview of pipeline execution&quot;,&#xA;          Link = &quot;/sitecore/admin/pipelines.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Remove Broken Links&quot;,&#xA;          Description = &quot;Remove broken links from a database&quot;,&#xA;          Link = &quot;/sitecore/admin/RemoveBrokenLinks.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Restore Item&quot;,&#xA;          Description = &quot;Restore items from the archive&quot;,&#xA;          Link = &quot;/sitecore/admin/restore.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Serialization&quot;,&#xA;          Description = &quot;Serialize and revert a database&quot;,&#xA;          Link = &quot;/sitecore/admin/serialization.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Set Sitecore Application Center Endpoint&quot;,&#xA;          Description = &quot;Change the endpoint address of the App Center&quot;,&#xA;          Link = &quot;/sitecore/admin/SetSACEndpoint.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Show Config&quot;,&#xA;          Description = &quot;Merge configuration files&quot;,&#xA;          Link = &quot;/sitecore/admin/ShowConfig.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Show Config Layers&quot;,&#xA;          Description = &quot;Merge configuration files depending on configuration layers and roles&quot;,&#xA;          Link = &quot;/sitecore/admin/ShowConfigLayers.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Dependency Injection Configuration&quot;,&#xA;          Description = &quot;Check the configured services&quot;,&#xA;          Link = &quot;/sitecore/admin/ShowServicesConfig.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Rendering Statistics&quot;,&#xA;          Description = &quot;An overview of the performance of renderings&quot;,&#xA;          Link = &quot;/sitecore/admin/stats.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Unlock Admin&quot;,&#xA;          Description = &quot;Unlock Admin user&quot;,&#xA;          Link = &quot;/sitecore/admin/unlock_admin.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Update Installation Wizard&quot;,&#xA;          Description = &quot;Install Sitecore updates&quot;,&#xA;          Link = &quot;/sitecore/admin/UpdateInstallationWizard.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Logs&quot;,&#xA;          Description = &quot;View and download Sitecore log files&quot;,&#xA;          Link = &quot;/sitecore/admin/Logs.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Media Hash Generator&quot;,&#xA;          Description = &quot;Generate hash values for dynamic image scaling URLs&quot;,&#xA;          Link = &quot;/sitecore/admin/MediaHash.aspx&quot;&#xA;        },&#xA;        new Default.PageDescription()&#xA;        {&#xA;          Name = &quot;Support Package&quot;,&#xA;          Description = &quot;Generate a package with support information&quot;,&#xA;          Link = &quot;/sitecore/admin/SupportPackage.aspx&quot;&#xA;        }&#xA;      };&#xA;      Repeater pagesRepeater = this.PagesRepeater;&#xA;      List&amp;lt;Default.PageDescription&amp;gt; source = pageDescriptionList;&#xA;      StringComparer ordinalIgnoreCase = StringComparer.OrdinalIgnoreCase;&#xA;      IOrderedEnumerable&amp;lt;Default.PageDescription&amp;gt; orderedEnumerable = source.OrderBy&amp;lt;Default.PageDescription, string&amp;gt;((Func&amp;lt;Default.PageDescription, string&amp;gt;) (p =&amp;gt; p.Name), (IComparer&amp;lt;string&amp;gt;) ordinalIgnoreCase);&#xA;      pagesRepeater.DataSource = (object) orderedEnumerable;&#xA;      this.PagesRepeater.DataBind();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2019-02-27T20:01:40.430" LastActivityDate="2019-02-27T20:01:40.430" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17112" PostTypeId="2" ParentId="17110" CreationDate="2019-02-27T20:45:09.657" Score="4" Body="&lt;p&gt;I guess Sitecore.Xdb.config file was corrupted and not the one expected in your Sitecore 9.1 instance,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because In Sitecore 8.1 Sitecore.Xdb.config file contains the below pipeline entry,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.Initialize.ShowXdbInfo, Sitecore.Analytics&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel']&quot;/&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when you check the Sitecore 9.1 Sitecore.Xdb.config file, the same pipeline is moved to Sitecore.Xdb.Configuration. When you execute the upgrade steps this might have taken care.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Xdb.Configuration.Pipelines.Initialize.ShowXdbInfo, **Sitecore.Xdb.Configuration**&quot; patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel']&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the error you report here is regarding the Sitecore.Xdb.Configuration.Pipelines.Initialize.ShowXdbInfo which is moved from Sitecore.Analytics dll to Sitecore.Xdb.Configuration. But your config is not updated properly or your custom config is overwriting this somewhere [not sure].&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the Sitecore.Xdb.config and look for any patch file which overwrites this entry [if any] that might be the root cause for the issue you reported. &lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-02-27T20:45:09.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17113" PostTypeId="2" ParentId="16567" CreationDate="2019-02-27T21:31:59.177" Score="0" Body="&lt;p&gt;This is an edge case to be sure, but maybe this would help:&lt;/p&gt;&#xA;&lt;p&gt;At one point in the SC 9.0 installation, I had an error and used a hack/workaround that involved adding &lt;code&gt;Microsoft.SqlServer.TransactSql.ScriptDom&lt;/code&gt; into the mix using &lt;code&gt;gacutil&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;That worked for me at the time to complete the 9.0 install, but with the 9.1 upgrade, I was having the exact same error message you encountered.  Some blogs have suggested adding paths to resources through the registry, but that did not work for me.  Removing the reference to ScriptDom in the GAC helped solve the problem.&lt;/p&gt;&#xA;" OwnerUserId="5149" LastEditorUserId="4817" LastEditDate="2021-07-21T08:03:11.897" LastActivityDate="2021-07-21T08:03:11.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17115" PostTypeId="2" ParentId="17046" CreationDate="2019-02-28T05:19:22.377" Score="1" Body="&lt;p&gt;The Sitecore JSS comes with a set of default configurations located in &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;App_Config\Sitecore\JavaScriptServices\Sitecore.JavaScriptServices.Apps.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since your  configuration setting does not include the dictionary path, it will use the following default settings found in Sitecore.JavaScriptServices.Apps.config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;dictionaryPath=&quot;$sitecorePath/$name Dictionary&quot;&#xA;dictionaryDomain=&quot;$name Dictionary&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, if Sitecore is unable to find your dictionary files based on the &quot;dictionaryPath&quot; in the configuration, it will fallback to use &quot;/sitecore/system/dictionary&quot;, which is the behavior that you are observing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve your problem, I am guessing it could not find your dictionary path. Do check if it is in the correct path, or patch it in your config to desired path.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;App name=&quot;xxx&quot; &#xA;    dictionaryPath=&quot;Enter your sitecore dictionary path ...&quot;&#xA;    dictionaryDomain=&quot;Enter your sitecore dictionary domain ...&quot;&#xA;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="5110" LastEditDate="2019-02-28T06:42:04.730" LastActivityDate="2019-02-28T06:42:04.730" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17117" PostTypeId="1" AcceptedAnswerId="17128" CreationDate="2019-02-28T08:29:36.267" Score="0" ViewCount="99" Body="&lt;p&gt;I'm using the Sitecore Scheduled Publish with the Timezone package from &lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecore_Scheduled_Publish.aspx&lt;/a&gt;&#xA;developed by Hedgehog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This allow me to add some timezone, but is it possible to add the India timezone utc +05:30? I get a error in the scheduled publish dialog when I use +5:30 or +5.5 seem like it is only working for whole hours?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.FormatException Message: Input string was not in a&#xA;  correct format. Source: mscorlib at&#xA;  System.Number.StringToNumber(String str, NumberStyles options,&#xA;  NumberBuffer&amp;amp; number, NumberFormatInfo info, Boolean parseDecimal) at&#xA;  System.Number.ParseInt32(String s, NumberStyles style,&#xA;  NumberFormatInfo info) at&#xA;  ScheduledPublish.Models.TimeZone.get_Offset() at&#xA;  ScheduledPublish.sitecore.shell.Applications.Content_Manager.Dialogs.Schedule_Publish.SchedulePublishDialog.PublishDateTimePickerOnChanged(Object&#xA;  sender, EventArgs eventArgs) at&#xA;  Sitecore.Web.UI.HtmlControls.DateTimePicker.OnChanged() at&#xA;  Sitecore.Web.UI.HtmlControls.DatePicker.DoChanged() at&#xA;  Sitecore.Web.UI.HtmlControls.DatePicker.HandleMessage(Message message)&#xA;  at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control&#xA;  control) at&#xA;  Sitecore.Shell.Framework.Commands.MessageCommand.Execute(CommandContext&#xA;  context) at Sitecore.Web.UI.Sheer.ClientPage.SendMessage(Message&#xA;  message) at Sitecore.Web.UI.HtmlControls.DateCalendar.OnSelect() at&#xA;  Sitecore.Web.UI.HtmlControls.DateCalendar.DoClick(Message message)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-02-28T14:17:26.070" LastActivityDate="2019-02-28T16:58:12.327" Title="Sitecore Scheduled Publish Module - India timezone utc +05:30" Tags="|publishing|module|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17118" PostTypeId="2" ParentId="11911" CreationDate="2019-02-28T08:49:45.650" Score="1" Body="&lt;p&gt;I have not experienced any issues with the Hedgehog Sitecore Scheduled Publishing and the Sitecore Publishing Service, also it works for me on Sitecore 9.&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-02-28T08:49:45.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17120" PostTypeId="2" ParentId="17106" CreationDate="2019-02-28T10:45:30.873" Score="1" Body="&lt;p&gt;There are multiple steps to try, some I have mentioned in the question. If you run in the similar issues I recommend doing the following to help get to bottom of it.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use a tool like &lt;code&gt;nvm&lt;/code&gt; to help switch between versions of node and npm module on your machine quickly and easily.&lt;/li&gt;&#xA;&lt;li&gt;Try node at x64 and x86 bit architecture&lt;/li&gt;&#xA;&lt;li&gt;Try different versions of node and npm&lt;/li&gt;&#xA;&lt;li&gt;At your own risk, delete node_modules folder and/or remove package.json.lock file in your created app folder and hit &lt;code&gt;npm install&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Try it out on a different machine &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;However before you do any of the above, I recommend trying a different CLI.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Git Bash&lt;/code&gt; CLI was the culprit here, why I do not know.&lt;/li&gt;&#xA;&lt;li&gt;I moved over to &lt;code&gt;powershell&lt;/code&gt; CLI it worked I now however gone back to another old favorite of mine &lt;code&gt;cmder&lt;/code&gt; where it works just fine as well.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="283" LastEditorUserId="283" LastEditDate="2019-02-28T10:51:16.210" LastActivityDate="2019-02-28T10:51:16.210" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17121" PostTypeId="1" AcceptedAnswerId="17127" CreationDate="2019-02-28T11:24:14.770" Score="0" ViewCount="83" Body="&lt;p&gt;&lt;strong&gt;PROBLEM&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are preparing to deploy considerable changes to an existing Sitecore site with reasonably high traffic; new renderings, new page templates, new content etc.&#xA;During the deployment process we are concerned about the amount of time it will take after deployment for all Lucene indexes to rebuild and include all the new content (it could cause a lot of issues in the short term because lots of the components use the indexes including navigation components). We're also concerned about when in our deployment process the index rebuild should begin e.g. while the first delivery server is out of the load balancer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QUESTION&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could we create a pre-prod environment with all the CMS changes deployed over the existing PROD database, re-build all indexes here, then take a copy of the 'Data\indexes' folder and use this as part of our deployment? Is there any reason why this wouldn't work?&lt;/p&gt;&#xA;" OwnerUserId="2949" LastActivityDate="2019-02-28T13:57:07.457" Title="Sitecore 8.2 Lucene index portability between delivery servers" Tags="|indexing|lucene|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17122" PostTypeId="1" CreationDate="2019-02-28T11:28:33.933" Score="2" ViewCount="659" Body="&lt;p&gt;&lt;strong&gt;Has anyone been able to get the combination of AutoFixure, FakeDb and NUnit3 to work?&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am unable to retrieve an item I have added to the database (using example from FakeDb AutoFixture &lt;a href=&quot;https://github.com/sergeyshushlyapin/Sitecore.FakeDb/wiki/AutoFixture-Samples#user-content-create-a-dbitem-instance&quot; rel=&quot;nofollow noreferrer&quot;&gt;wiki page&lt;/a&gt;); the test does not pass:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;Sitecore.FakeDb&quot; version=&quot;1.7.4&quot; targetFramework=&quot;net472&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Sitecore.FakeDb.AutoFixture&quot; version=&quot;1.7.4&quot; targetFramework=&quot;net472&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;AutoFixture&quot; version=&quot;3.51.0&quot; targetFramework=&quot;net472&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;AutoFixture.NUnit3&quot; version=&quot;3.51.0&quot; targetFramework=&quot;net472&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;NUnit&quot; version=&quot;3.11.0&quot; targetFramework=&quot;net472&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Test]&#xA;[AutoDbData]&#xA;public void AddContentDbItem(Db db, DbItem item)&#xA;{&#xA;    db.Add(item);&#xA;    var newItem = db.GetItem(item.ID);&#xA;&#xA;    newItem.Should().NotBe(null);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, if I bypass the NUnit attribute integration with AutoFixure, the test passes (but this loses a lot of the benefits I wanted when using AutoFixture):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Test]&#xA;public void AddContentDbItem()&#xA;{&#xA;    var fixture = new Fixture()&#xA;        .Customize(new AutoDbCustomization())&#xA;        .Customize(new AutoContentItemCustomization());&#xA;&#xA;    var item = fixture.Create&amp;lt;DbItem&amp;gt;();&#xA;    var db = fixture.Create&amp;lt;Db&amp;gt;();&#xA;&#xA;    db.Add(item);&#xA;    var newItem = db.GetItem(item.ID);&#xA;&#xA;    newItem.Should().NotBe(null);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This suggest to me that the issue is with the interaction between Sitecore.FakeDb and Autofixture.NUnit3 (rather then NUnit itself).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, if I change the testing framework to XUnit, the test will pass:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;AutoFixture.Xunit2&quot; version=&quot;3.51.0&quot; targetFramework=&quot;net472&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;xunit.core&quot; version=&quot;2.4.1&quot; targetFramework=&quot;net472&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Theory]&#xA;[AutoDbData]&#xA;public void AddContentDbItem(Db db, DbItem item)&#xA;{&#xA;    db.Add(item);&#xA;    var newItem = db.GetItem(item.ID);&#xA;&#xA;    newItem.Should().NotBe(null);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone been able to get the combination of AutoFixure, FakeDb and NUnit3 to work? NUnit has been the preferred testing framework in my company for years and there is reluctance to change just to solve this issue.&lt;/p&gt;&#xA;" OwnerUserId="5156" LastEditorUserId="35" LastEditDate="2019-02-28T13:39:21.083" LastActivityDate="2019-04-01T00:52:54.800" Title="Unable to get AutoFixture, FakeDb and NUnit3 combination to work" Tags="|unit-testing|fakedb|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17125" PostTypeId="1" AcceptedAnswerId="17126" CreationDate="2019-02-28T12:30:41.000" Score="3" ViewCount="321" Body="&lt;p&gt;Sitecore.NET 9.0.2, EXM&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hi there, I am using the Sitecore Forms Extension module (&lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions&lt;/a&gt;) to allow my client to add file attachments to forms on their site. However as part of this they want to be able to send emails with these files as attachments, which is fine as the module extends the Send Email save action to allow this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, they also wish to include the values submitted to various form fields - such as name and contact details - within the body of the message. It seems that EXM only has the ability to include values about known users into email bodies, and, of course, has no knowledge of what is available as data from the form because I cannot attach the campaign to the form until after I have activated it, and thus locked it for future editing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone tried to do something similar and can EXM be made to recognise that the form that is triggering the email send has data that can be populated into the message body?&lt;/p&gt;&#xA;" OwnerUserId="4757" LastActivityDate="2019-02-28T12:39:56.230" Title="How to add data from submitted form fields to EXM message template" Tags="|sitecore-client|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17126" PostTypeId="2" ParentId="17125" CreationDate="2019-02-28T12:39:56.230" Score="3" Body="&lt;p&gt;The module you are using already has that option.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Create an automated message in EXM. You can use the token &lt;code&gt;$formFields$&lt;/code&gt;&#xA;  to render the entire form results or use &lt;code&gt;$form_fieldName$&lt;/code&gt; to add the&#xA;  fields individually&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-02-28T12:39:56.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17127" PostTypeId="2" ParentId="17121" CreationDate="2019-02-28T13:57:07.457" Score="2" Body="&lt;p&gt;Technically this is possible. You can copy the index files from the CM server and deploy that out to the CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, there are concerns with doing that. I am making the assumption that you have this question because you want to have a zero downtime deployment:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The CD servers will still want to re-index as part of any publish operation, so you may need to stop index operations during the deployment and enable once the deployment is complete.&lt;/li&gt;&#xA;&lt;li&gt;You have the potential to be in a situation where an item is present in the index, but it is not in the web database yet. If this is the case, depending on your code, you may create a link that will 404, or worse cause a run-time error.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;Other options:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I would look at approaching this differently. The first and best option, would be to move your site over to Solr. This means that all CD's use the same index, it can be rebuilt during the CM deployment and then once the CDs are deployed and moved over to the Solr index, it will all be setup. Solr will give you many other benefits too, such as all CD's being sync'd, CD servers no longer have to build and maintain their own index etc... (There are more benefits to Solr that you can look up)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, the move to Solr would be a big project, so if you &lt;em&gt;must&lt;/em&gt; stick with Lucene, I would recommend this workflow:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Setup a new Web database (as you would have in a green/blue deployment)&lt;/li&gt;&#xA;&lt;li&gt;Deploy to the CM and update the connection string for the &lt;code&gt;web&lt;/code&gt; database to the new db&lt;/li&gt;&#xA;&lt;li&gt;Publish to the new web db&lt;/li&gt;&#xA;&lt;li&gt;Take the CD's off line one at a time so that the Site does not go down at all&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Deploy to the CD that is off line&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the local index, do this on the CD server, you may need to enable access to the &lt;code&gt;/sitecore&lt;/code&gt; folder locally to do this.&lt;/li&gt;&#xA;&lt;li&gt;Warm up the site on the CD and test it&lt;/li&gt;&#xA;&lt;li&gt;Add it back into the load balancer&lt;/li&gt;&#xA;&lt;li&gt;Move on to the next CD server&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That way, you give the CD time to rebuild the index without having that server &quot;live&quot;, once the index is ready and the site works, it takes over the traffic and you move on until all the CD's are done. This is how I did it in the pre-solr days.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-02-28T13:57:07.457" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17128" PostTypeId="2" ParentId="17117" CreationDate="2019-02-28T13:58:26.873" Score="1" Body="&lt;p&gt;No this is not possible. (without changing the code)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Model (&lt;code&gt;ScheduledPublish.Models.Offset&lt;/code&gt;) there is an &lt;code&gt;int.Parse&lt;/code&gt;. so the value needs to be an integer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like the source is also not on GitHub. &#xA;Although there is a feature-timezones branch &lt;a href=&quot;https://github.com/HedgehogDevelopment/SCScheduledPublishing/tree/feature-timezones&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/HedgehogDevelopment/SCScheduledPublishing/tree/feature-timezones&lt;/a&gt; it seems like it is not about this timezone feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also on GitHub is a newer version of the module version 1.1 instead of the 1.0 on the marketplace. but the timezone feature from this issue is not in there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do is de-compile the code, and change the model to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public double Offset&#xA;{&#xA;    get&#xA;    {&#xA;        return double.Parse(this.InnerItem[ID.Parse(&quot;{32BF3544-E4F1-4A09-80ED-CC654BD6A764}&quot;)]);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works, (the module is under the Apache License) the code to display is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;universalTime.AddHours((double) timeZone.Offset).ToShortTimeString())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For UTC+5:30 you can now use &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;5.5&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="112" LastEditorUserId="35" LastEditDate="2019-02-28T16:58:12.327" LastActivityDate="2019-02-28T16:58:12.327" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17129" PostTypeId="1" CreationDate="2019-02-28T14:10:58.063" Score="3" ViewCount="362" Body="&lt;p&gt;I'm trying to extend an existing import mapper to include custom contact facets.this is the code I used following  the documentation of sitecore 9.1&#xA; &lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/configure-the-import-contacts-wizard-to-include-custom-contact-facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/configure-the-import-contacts-wizard-to-include-custom-contact-facets.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this is my new class that represents the new extended mapper:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace CustomFacet&#xA;{&#xA;    public class ExtendedEmailFacetMapperSample : IFacetMapper&#xA;    {&#xA;        private readonly PreferredEmailFacetMapper mapper;&#xA;        // Decorate the existing PreferredEmailMapper&#xA;        public ExtendedEmailFacetMapperSample(&#xA;          PreferredEmailFacetMapper mapper)&#xA;        {&#xA;            this.mapper = mapper;&#xA;        }&#xA;        public MappingResult Map(string facetKey, Sitecore.XConnect.Facet facet, ContactMappingInfo mappings, string[] data)&#xA;        {&#xA;            // Call the existing email mapper to map all the basic email fields&#xA;            var result = this.mapper.Map(facetKey, facet, mappings, data);&#xA;            var facetMappedResult = result as FacetMapped;&#xA;            if (facetMappedResult == null)&#xA;            {&#xA;                return result;&#xA;            }&#xA;            var partiallyMappedFacet = facetMappedResult.Facet as EmailAddressList;&#xA;            if (partiallyMappedFacet == null)&#xA;            {&#xA;                return result;&#xA;            }&#xA;            // Set Personal email&#xA;            var personalEmail = mappings.GetValue(&quot;PersonalEmail&quot;, data);&#xA;            if (!string.IsNullOrWhiteSpace(personalEmail))&#xA;            {&#xA;                partiallyMappedFacet.Others[&quot;Personal&quot;] = new EmailAddress(personalEmail, false);&#xA;            }&#xA;            // Set Work email&#xA;            var workEmail = mappings.GetValue(&quot;WorkEmail&quot;, data);&#xA;            if (!string.IsNullOrWhiteSpace(workEmail))&#xA;            {&#xA;                partiallyMappedFacet.Others[&quot;Work&quot;] = new EmailAddress(workEmail, false);&#xA;            }&#xA;            return result;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then I Registered the facet mapper in the Sitecore.ListManager.config file under the sitecore/import/facetMapper section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;facetMappers hint=&quot;list:Add&quot;&amp;gt;&#xA;  &amp;lt;facetMapper type=&quot;Sitecore.ListManagement.XConnect.Web.Import.ListSubscriptionMapper, Sitecore.ListManagement.XConnect.Web&quot; /&amp;gt;&#xA;  &amp;lt;facetMapper type=&quot;Sitecore.ListManagement.XConnect.Web.Import.PreferredAddressFacetMapper, Sitecore.ListManagement.XConnect.Web&quot; /&amp;gt;&#xA;  &amp;lt;facetMapper type=&quot;Sitecore.ListManagement.XConnect.Web.Import.PreferredEmailFacetMapper, Sitecore.ListManagement.XConnect.Web&quot; /&amp;gt;&#xA;  &amp;lt;facetMapper type=&quot;Sitecore.ListManagement.XConnect.Web.Import.PersonalInformationFacetMapper, Sitecore.ListManagement.XConnect.Web&quot; /&amp;gt;&#xA;  &amp;lt;facetMapper type=&quot;CustomFacet.ExtendedEmailFacetMapperSample, CustomFacet&quot;&amp;gt;&#xA;    &amp;lt;param type=&quot;Sitecore.ListManagement.XConnect.Import.PreferredEmailFacetMapper, Sitecore.ListManagement.XConnect&quot; /&amp;gt;&#xA;  &amp;lt;/facetMapper&amp;gt; &#xA;&amp;lt;/facetMappers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but it results in this exception :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception Sitecore.Exceptions.ConfigurationException: Could not create instance of type: CustomFacet.ExtendedEmailFacetMapperSample. No matching constructor was found.&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="5154" LastEditorUserId="35" LastEditDate="2019-02-28T16:58:07.380" LastActivityDate="2019-03-05T20:46:32.647" Title="Exception System.Exception: Could not resolve type name: Sitecore.ListManagement.XConnect.Import.PreferredEmailFacetMapper" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17131" PostTypeId="1" CreationDate="2019-02-28T14:51:16.173" Score="1" ViewCount="59" Body="&lt;p&gt;I am using kendo-ui for rendering some complex controls on our website mainly used for data-entry. I want to have the content of these controls being translated by sitecore and also have the controls in a separate JavaScript file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best approach to use sitecore translations and still have a speedy site?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $(&quot;#teams&quot;).kendoDropDownList({&#xA;  dataTextField: &quot;TeamName&quot;,&#xA;  dataValueField: &quot;TeamId&quot;,&#xA;  optionLabel: &quot;@Translate.Text(&quot;SelectTeam&quot;)&quot;,&#xA;  dataSource: {&#xA;    transport: {&#xA;      read: {&#xA;        type: &quot;POST&quot;,&#xA;        url: &quot;/api/teams&quot;,&#xA;        dataType: &quot;json&quot;,&#xA;      }&#xA;    },&#xA;    schema: {&#xA;      type: &quot;json&quot;,&#xA;      data: &quot;Data&quot;,&#xA;      model: {&#xA;        fields: {&#xA;          TeamName: { field: &quot;Name&quot;, type: &quot;string&quot; },&#xA;          TeamId: { field: &quot;TeamId&quot;, type: &quot;string&quot; }&#xA;        }&#xA;      }&#xA;    }&#xA;  },&#xA;  change: function () {&#xA;    $(&quot;#selectedTeam&quot;).val($(&quot;#teams&quot;).val());&#xA;  }&#xA;}).data(&quot;kendoDropDownList&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3554" LastActivityDate="2019-02-28T14:51:16.173" Title="Doing translations for javascript based controls" Tags="|multilingual|javascript|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17132" PostTypeId="2" ParentId="17013" CreationDate="2019-02-28T15:22:11.203" Score="3" Body="&lt;p&gt;Figured it out. This annoying setting was missing &quot;Incoming Client Certificates&quot;. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/h0UNO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h0UNO.png&quot; alt=&quot;Incoming Client Certificates&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5114" LastActivityDate="2019-02-28T15:22:11.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17133" PostTypeId="2" ParentId="17129" CreationDate="2019-02-28T15:43:41.793" Score="1" Body="&lt;p&gt;Looks like the param which you are passing&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;param type=&quot;Sitecore.ListManagement.XConnect.Import.PreferredEmailFacetMapper, Sitecore.ListManagement.XConnect&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is not in the assembly Sitecore.ListManagement.XConnect, it's located in the assembly Sitecore.ListManagement.XConnect.Web&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just update the config as&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;facetMappers hint=&quot;list:Add&quot;&amp;gt;&#xA;          &amp;lt;facetMapper type=&quot;Sitecore.ListManagement.XConnect.Web.Import.ListSubscriptionMapper, Sitecore.ListManagement.XConnect.Web&quot; /&amp;gt;&#xA;          &amp;lt;facetMapper type=&quot;Sitecore.ListManagement.XConnect.Web.Import.PreferredAddressFacetMapper, Sitecore.ListManagement.XConnect.Web&quot; /&amp;gt;&#xA;          &amp;lt;facetMapper type=&quot;Sitecore.ListManagement.XConnect.Web.Import.PreferredEmailFacetMapper, Sitecore.ListManagement.XConnect.Web&quot; /&amp;gt;&#xA;          &amp;lt;facetMapper type=&quot;Sitecore.ListManagement.XConnect.Web.Import.PersonalInformationFacetMapper, Sitecore.ListManagement.XConnect.Web&quot; /&amp;gt;&#xA;           &amp;lt;facetMapper type=&quot;CustomFacet.ExtendedEmailFacetMapperSample, CustomFacet&quot;&amp;gt;&#xA;            &amp;lt;param type=&quot;Sitecore.ListManagement.XConnect.Web.Import.PreferredEmailFacetMapper, Sitecore.ListManagement.XConnect.Web&quot; /&amp;gt;&#xA;          &amp;lt;/facetMapper&amp;gt;&#xA;&#xA;      &amp;lt;/facetMappers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update - PreferredEmailFacetMapper is located in the namespace  Sitecore.ListManagement.XConnect.Web.Import so updated the type as well.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-03-05T20:46:32.647" LastActivityDate="2019-03-05T20:46:32.647" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17134" PostTypeId="1" AcceptedAnswerId="17135" CreationDate="2019-02-28T15:43:59.737" Score="0" ViewCount="85" Body="&lt;p&gt;I tried cloning an Sxa Site but it keeps on showing &quot;Running Script&quot; message and didn't get Success message at all. Is there any way to find out the progress/status of cloning.&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2019-02-28T16:53:09.047" LastActivityDate="2019-03-06T07:28:37.037" Title="Cloning an SXA site is not showing success message" Tags="|sxa|item-clones|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17135" PostTypeId="2" ParentId="17134" CreationDate="2019-02-28T15:58:57.277" Score="3" Body="&lt;p&gt;Find this script in &lt;code&gt;master&lt;/code&gt; database&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/SXA/SXA - Site Manager/Functions/Run-SiteManager&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Remove &lt;code&gt;Close-Window&lt;/code&gt; from &lt;code&gt;end&lt;/code&gt; section and save it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the cloning is finished you will see &lt;strong&gt;SiteManager&lt;/strong&gt; window.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zlVkL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zlVkL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;I tested it on &lt;strong&gt;SXA 1.8&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Jobs viewer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Open Jobs Viewer (&lt;code&gt;http://domain/sitecore/admin/jobs.aspx&lt;/code&gt;)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/57gQQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/57gQQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and observer status of a job.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Another way&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are using the newest version of &lt;strong&gt;SPE&lt;/strong&gt; you should distinguish whether cloning is in progress or not by looking at the progress bar. &#xA;When cloning is running progress will change status, otherwise, it will be green without any animation.&lt;/p&gt;&#xA;" OwnerUserId="16" LastEditorUserId="16" LastEditDate="2019-03-06T07:28:37.037" LastActivityDate="2019-03-06T07:28:37.037" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17136" PostTypeId="1" AcceptedAnswerId="17148" CreationDate="2019-02-28T16:06:15.503" Score="3" ViewCount="284" Body="&lt;p&gt;I'm using the &lt;code&gt;PublishManager.Republish(...)&lt;/code&gt; to programmatically perform a full republish in a few Sitecore instances. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since I need this operation to be synchronous, I'm calling the &lt;code&gt;PublishManager.WaitFor(handle)&lt;/code&gt; method right after the previous one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works like a charm on Sitecore 8x and 9x.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I can't understand why the waitFor is always returning &lt;code&gt;false&lt;/code&gt; on my Sitecore 72 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone face the same situation? Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: &#xA;I'm using the types and methods present in Sitecore 7.2.151021 - Sitecore.Kernel.dll.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The handle returned by the Publish method is not null I can confirm here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/v9xsd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/v9xsd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I can confirm that the republish itself is being executed by seeing the newly created items on web database after a few seconds.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-02-28T19:25:01.407" LastActivityDate="2019-03-01T07:28:16.743" Title="PublishManager method WaitFor() always returns FALSE on Sitecore 7.2" Tags="|publishing|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17137" PostTypeId="2" ParentId="16464" CreationDate="2019-02-28T16:50:09.960" Score="4" Body="&lt;p&gt;Just ran across this myself.  If it's set to &quot;checked&quot;, the parm has a value of &quot;1&quot;.  If it's set to &quot;unchecked&quot;, the parm doesn't exist at all.&#xA;(This behavior is on Sitecore 8.0)&lt;/p&gt;&#xA;" OwnerUserId="2719" LastActivityDate="2019-02-28T16:50:09.960" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17138" PostTypeId="1" AcceptedAnswerId="17668" CreationDate="2019-02-28T18:11:41.870" Score="2" ViewCount="668" Body="&lt;p&gt;We deployed our codebase on the upgraded instance on Sitecore 9.0.2 in a scaled environment with 1 CM (for CM, Processing, Reporting), 1 xConnect and 2 CD (for Content Delivery Role). The CM and all the xConnect Roles are coming up fine but the Content Delivery Instance is throwing the exception mentioned below.&lt;/p&gt;&#xA;&lt;p&gt;Using octopus to transform the config files, we verified that role:define has the correct values on the corresponding environments. On Sitecore 9 there is no SwitchMasterToWeb config file, hence the enabling/disabling references to Master DB should not be a manual process if we have role:define as ContentDelivery.&lt;/p&gt;&#xA;&lt;p&gt;We also tried manually removing the Master DB configuration from Sitecore.Config, but that didn't help as well.&lt;/p&gt;&#xA;&lt;p&gt;We referred on this question as well but no luck: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9519/post-condition-failed-on-sitecore-9-content-delivery-server&quot;&gt;Post Condition Failed on Sitecore 9 Content Delivery Server&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;What else are we missing here?&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: Post condition failed&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ResultNotNull[T](T result, String message)&#xA;   at Sitecore.Configuration.DefaultFactory.GetDatabase(String name)&#xA;   at Sitecore.Configuration.DefaultFactory.GetDatabases()&#xA;   at Sitecore.Data.Managers.LanguageProvider.InitializeEventHandlers()&#xA;   at Sitecore.Data.Managers.LanguageProvider..ctor(BaseCacheManager cacheManager, BaseSettings settings)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)&#xA;   at Sitecore.DependencyInjection.LazyResetable`1.get_Value()&#xA;   at Sitecore.Globalization.Language.TryParse(String name, Language&amp;amp; result)&#xA;   at Sitecore.Globalization.Language.Parse(String name)&#xA;   at Sitecore.Jobs.JobOptions..ctor(String jobName, String category, String siteName, Object obj, String methodName, Object[] parameters)&#xA;   at Sitecore.Jobs.JobOptions..ctor(String jobName, String category, String siteName, Object obj, String methodName)&#xA;   at Sitecore.CES.DeviceDetection.Providers.DeviceDetectionClient.Tick()&#xA;&#xA;&#xA;ManagedPoolThread #3 11:32:53 INFO  Trying to load XML configuration /App_Config/Security/Domains.config&#xA;ManagedPoolThread #0 11:32:53 ERROR Exception in alarm clock event subscriber.&#xA;Exception: System.InvalidOperationException&#xA;Message: Post condition failed&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ResultNotNull[T](T result, String message)&#xA;   at Sitecore.Configuration.DefaultFactory.GetDatabase(String name)&#xA;   at Sitecore.Configuration.DefaultFactory.GetDatabases()&#xA;   at Sitecore.Eventing.EventProvider.RaiseQueuedEvents()&#xA;   at Sitecore.Data.Eventing.EventQueueMonitor.AlarmClock_Ring(Object sender, EventArgs e)&#xA;   at Sitecore.Services.AlarmClock.&amp;lt;&amp;gt;c__DisplayClass11_0.&amp;lt;Heartbeat_Beat&amp;gt;b__0(Object state)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dFaWV.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dFaWV.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1542" LastEditDate="2021-08-09T14:06:06.600" LastActivityDate="2021-08-09T14:06:06.600" Title="Content Delivery Role on Sitecore 9 throws Post condition failed" Tags="|content-management|content-delivery|role-management|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17139" PostTypeId="1" AcceptedAnswerId="17213" CreationDate="2019-02-28T18:17:37.480" Score="10" ViewCount="2602" Body="&lt;p&gt;I am trying to install Sitecore 9.1 in distributed (on premises) architecture, I have 4 servers:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;1-cd &lt;/li&gt;&#xA;&lt;li&gt;1-cm&lt;/li&gt;&#xA;&lt;li&gt;1-solr&lt;/li&gt;&#xA;&lt;li&gt;1-sql,reporting and processing &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I tweaked  the script to install each separately with respective json files in respective, and I could see application created successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to verify the individual application is fine. I could verify CM, CD, by verifying default home page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I verify other process precisely the following app installed in other servers?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;xxx.sitecore.collection &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.identityserver &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.ma &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.reporting &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.processingEngine &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.refdata &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.reporting &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.search &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.rep&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.prc&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any help would be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5123" LastEditorUserId="73" LastEditDate="2019-03-05T08:32:41.530" LastActivityDate="2019-08-29T21:08:43.547" Title="XP Scaled (XP1) how to validate installed application in each server are correct?" Tags="|sitecore-install-framework|installation|processing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17140" PostTypeId="2" ParentId="17136" CreationDate="2019-02-28T19:37:47.837" Score="0" Body="&lt;p&gt;It looks like it's a bug on the Sitecore 7.2 version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By using DotPeek I can see that the way Sitecore handle the &lt;code&gt;.WaitFor()&lt;/code&gt; method is completely different from Sitecore 7.x to later versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On Sitecore 7.2 it uses the &lt;code&gt;JobManager.GetJob(handle)&lt;/code&gt; to check the state of the republish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue here is that after I call &lt;code&gt;PublishManager.Republish(...)&lt;/code&gt; there aren't any job on the JobManager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yeah, exactly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;JobManager.GetJobs()&lt;/code&gt; is returning an empty array.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why the &lt;code&gt;PublishManager.WaitFor()&lt;/code&gt; is always returning false.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-02-28T19:37:47.837" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17141" PostTypeId="2" ParentId="16546" CreationDate="2019-02-28T20:06:06.070" Score="0" Body="&lt;p&gt;We created a support ticket with Sitecore: &lt;em&gt;When adding a sellable item (Product) to a cart, the Sitecore Commerce Engine will throw an error if the product's 'FriendlyId' is not the same as the 'ProductId' that is in the Sellable Item Entity JSON.  We desired these to be different values.  For example, we would like to have the following:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FriendlyId = &quot;0000118&quot;&#xA;ProductId = &quot;20030_0000118&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;If we do not make the FriendlyId = &quot;20030_0000118&quot;, then commerce engine cannot find the product's availability when we are trying to add it to the cart.  This happens when we call the 'AddCartLine' method&lt;/em&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the error message from the Log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;31 15:57:38 ERROR Inventory.block.PopulateItemAvailability-No ProductArgument in Context&#xA;31 15:57:38 ERROR CtxMsg.Error.EntityNotFound: Text=Entity '|0000118|00889918331075' was not found.&#xA;31 15:57:38 ERROR PipelineAbort:Entity '|0000118|00889918331075' was not found.&#xA;31 15:57:38 ERROR Availability.PopulateDefaultItemAvailabilityComponentBlock.InventoryItemNotFound.|0000118|00889918331075&#xA;50 15:57:38 WARN CtxMsg.Warning.EntityNotFound: Text=EntityBzees-20023_0000118 was not found.&#xA;12 15:57:38 WARN CtxMsg.Warning.EntityNotFound: Text=EntityBzees-20023_0000118 was not found.&#xA;14 15:57:38 ERROR Inventory.block.PopulateItemAvailability-No ProductArgument in Context&#xA;12 15:57:38 ERROR CtxMsg.Error.EntityNotFound: Text=Entity '|0000118|00889918331075' was not found.&#xA;50 15:57:38 ERROR PipelineAbort:Entity '|0000118|00889918331075' was not found.&#xA;50 15:57:38 ERROR Availability.PopulateDefaultItemAvailabilityComponentBlock.InventoryItemNotFound.|0000118|00889918331075&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We we notified by Sitecore that it turns out this is a bug. This is a partial response we received on our Sitecore support ticket:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;&quot;After checking with developers, there is no requirement for the ProductId and FriendlyId to have the same value. Unfortunately due the current implementation of the product,  having different values between the FriendlyId and ProductId will cause other unexpected issues such as the one you are experiencing (Not only for AddCartLine). &#xA;Therefore, the behavior you reported was registered as a bug in our bug tracking system in order to have a more consistent use of these values throughout the engine. Thank you for reporting the problem.&quot;&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="598" LastEditorUserId="598" LastEditDate="2019-02-28T20:18:14.703" LastActivityDate="2019-02-28T20:18:14.703" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17142" PostTypeId="1" CreationDate="2019-02-28T22:37:12.143" Score="0" ViewCount="50" Body="&lt;p&gt;where to go and what forum should I follow?&#xA;where to go and what forum should I follow?&lt;/p&gt;&#xA;" OwnerUserId="5159" LastActivityDate="2019-02-28T22:57:48.963" Title="how do I start in Sitecore Experience Platform" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ClosedDate="2019-02-28T23:33:28.480" ContentLicense="CC BY-SA 4.0" />
  <row Id="17143" PostTypeId="2" ParentId="17142" CreationDate="2019-02-28T22:57:48.963" Score="1" Body="&lt;p&gt;Not 100% sure what you're asking for.  I'll assume you're a developer &amp;amp; asking how to get familiar with Sitecore.  If so, this is what I'd start with. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take the free developer foundation class.  That’ll get you started.&#xA;&lt;a href=&quot;https://elearning.sitecore.net/Public/ContentDetails.aspx?id=4D65DA79A42744A59B68DAF2895770BE&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://elearning.sitecore.net/Public/ContentDetails.aspx?id=4D65DA79A42744A59B68DAF2895770BE&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then watch the Sitecore Habitat videos. &#xA;&lt;a href=&quot;https://www.youtube.com/playlist?list=PL1jJVFm_lGnx1MjuBD-GGvwvQUVsckDj_&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/playlist?list=PL1jJVFm_lGnx1MjuBD-GGvwvQUVsckDj_&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then download Habitat Home and see if you can get it installed.  It’s an example site that is built on Sitecore 9.1 and SXA&#xA;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Platform&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Platform&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get a 60 day developer license – Form at the bottom of the page.&#xA;&lt;a href=&quot;https://www.sitecore.com/getting-started/implementation/developing-on-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecore.com/getting-started/implementation/developing-on-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as a forum; join the Sitecore Slack channel. &#xA;&lt;a href=&quot;https://drive.google.com/open?id=1bAVDgP5-FhFh8ohPchHtifq-rz7EBkuPojAzdEofJyo&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://drive.google.com/open?id=1bAVDgP5-FhFh8ohPchHtifq-rz7EBkuPojAzdEofJyo&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.  &lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-02-28T22:57:48.963" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17145" PostTypeId="1" AcceptedAnswerId="17164" CreationDate="2019-03-01T03:32:30.793" Score="0" ViewCount="420" Body="&lt;p&gt;I am getting below error in my sitecore application.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.InvalidOperationException Message: Connection string&#xA;  settings not available (tracking.contact) Source:&#xA;  Sitecore.Analytics.MongoDB    at&#xA;  Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDriver.FromConnectionString(String&#xA;  connectionStringName)    at&#xA;  Sitecore.Analytics.Data.MongoDb.ProcessingPool.MongoDbProcessingPool..ctor(String&#xA;  connectionStringName)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Steps I did so far:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I verified the connection string seems no issue with that.&#xA;Verified my mongodb port settings as well as mongodb is running&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any one can help with the issue I am facing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in Advance.&lt;/p&gt;&#xA;" OwnerUserId="2344" LastEditorUserId="605" LastEditDate="2019-03-01T07:27:59.427" LastActivityDate="2019-03-01T16:18:10.110" Title="Connection string settings not available (tracking.contact)" Tags="|xdb|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17146" PostTypeId="2" ParentId="16872" CreationDate="2019-03-01T03:51:25.193" Score="1" Body="&lt;p&gt;Found the issue. The direct cause is missing sections in &lt;code&gt;web.config&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ApplicationInsights&lt;/code&gt; &lt;code&gt;HttpModule&lt;/code&gt; is for capturing requests information in App Insights.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;myAppInsightsListener&lt;/code&gt; in &lt;code&gt;system.diagnostics&lt;/code&gt; is for capturing the traces.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem that caused this complicated and long process of troubleshooting is that when we thought it's exactly the same code works in UAT but not others, it's actually not UAT that's pushing data, it's actually one of UAT's slot that's pushing data which had a different &lt;code&gt;web.config&lt;/code&gt; that contains those missing sections. In the end, it's the logging of UAT doesn't match the time of some schedule tasks defined time made me thinking if that's from the correct UAT environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore support provided help however only &lt;code&gt;ApplicationInsights&lt;/code&gt; &lt;code&gt;HttpModule&lt;/code&gt; was mentioned so it didn't resolve the issue when it was tested.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This could have been easy, lesson learned is that should have compared the web.config with Sitecore official package from the beginning. That would have saved all those effort. &lt;/p&gt;&#xA;" OwnerUserId="2261" LastEditorUserId="5096" LastEditDate="2019-05-14T05:41:23.137" LastActivityDate="2019-05-14T05:41:23.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17147" PostTypeId="1" AcceptedAnswerId="17237" CreationDate="2019-03-01T04:41:29.720" Score="0" ViewCount="634" Body="&lt;p&gt;I know how to add a Custom Experience (field) Button to a Rendering when it's directly added to a page inside a placeholder, however, I have a slightly different scenario.&lt;/p&gt;&#xA;&lt;p&gt;I have a partial design that has a page content rendering with a variant selected.  This gets used on the page design. So the content editor is adding a page using Experience Editor. I am not seeing how to add an experience editor button in this instance.&lt;/p&gt;&#xA;&lt;p&gt;More specifically - I have an Article page, when it is being content edited in Experience Editor I need them to be able to click a button to modify 2 fields that make up the article template as they are not actually displayed on this page but belong with the content (eg. summary text field).  Because the page content rendering is on the partial design - I don't get the usual buttons appearing at the top when on an individual page apart from field level.&lt;/p&gt;&#xA;&lt;p&gt;I have an image as the first field - and so was thinking it would be good if I could add a custom button there.  But even going to this field specifically and adding a custom experience button it is not appearing.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vogN0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vogN0.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;My rendering variant:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6x51r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6x51r.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The partial design contains the Page Content rendering - which has the buttons I'm used to, but the page itself is going to be experience edited rather than the partial.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8j3R5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8j3R5.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;My custom experience button:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/AUPi1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AUPi1.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;My template where I have added a custom experience editor button to the Banner Image&#xA;&lt;a href=&quot;https://i.stack.imgur.com/jf9uC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jf9uC.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;My rendering variant - responsive image - tied to the Banner Image field&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fuw8e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fuw8e.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;- strangely now I am seeing a disabled experience editor button in my image context menu.  But I can't figure out why it is disabled - unless it's because it's getting confused about trying to edit teaser fields that are part of the parent article template.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CBcIz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CBcIz.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="4050" LastEditDate="2021-10-01T19:44:08.920" LastActivityDate="2021-10-01T19:44:08.920" Title="SXA Custom Experience Button for Page Content Rendering Variant Field" Tags="|sxa|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17148" PostTypeId="2" ParentId="17136" CreationDate="2019-03-01T07:28:16.743" Score="1" Body="&lt;p&gt;&lt;code&gt;PublishManager&lt;/code&gt; in Sitecore 7.2 uses &lt;code&gt;PublishStrategy&lt;/code&gt; mechanisms for publishing. It was deprecated in newer Sitecore versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;PublishManager.Republish&lt;/code&gt; in the background calls its own &lt;code&gt;Publish&lt;/code&gt; method with &lt;code&gt;PublishMode.Full&lt;/code&gt; mode which then calls &lt;code&gt;Publish&lt;/code&gt; method on &lt;code&gt;PublishManager.PublishStrategy&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In not-scaled environment, with &lt;strong&gt;Event Queues&lt;/strong&gt; disabled, default publish strategy is used, and standard job is added to &lt;code&gt;JobsManager&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when &lt;code&gt;Settings.EnableEventQueues&lt;/code&gt; value is &lt;code&gt;true&lt;/code&gt;, &lt;code&gt;PublishManager.PublishStrategy&lt;/code&gt; property returns an object of &lt;code&gt;RemotePublishStrategy&lt;/code&gt; type, which uses &lt;code&gt;DistributedPublishingManager.QueuePublish&lt;/code&gt; and it doesn't use &lt;code&gt;JobsManager&lt;/code&gt; but use &lt;code&gt;StartPublishingRemoteEvent&lt;/code&gt; and the handle which is returned is a handle of that event, not a handle of a job queued in &lt;code&gt;JobsManager&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One setting &lt;code&gt;Settings.EnableEventQueues&lt;/code&gt; changes everything. Check your &lt;code&gt;showconfig.aspx&lt;/code&gt; for the &lt;strong&gt;EventQueue.Enabled&lt;/strong&gt; setting and if it's &lt;code&gt;true&lt;/code&gt;, that's your answer.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-01T07:28:16.743" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17149" PostTypeId="2" ParentId="17046" CreationDate="2019-03-01T09:22:20.907" Score="0" Body="&lt;p&gt;A shot in the dark here, but have you tried deleting &lt;code&gt;dictionary.dat&lt;/code&gt; file from your Sitecore installation &lt;code&gt;/temp&lt;/code&gt; folder? That should regenerate the dictionary file with the latest dictionary items (as long those are published).&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2019-03-01T09:22:20.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17150" PostTypeId="2" ParentId="17056" CreationDate="2019-03-01T09:27:17.163" Score="3" Body="&lt;p&gt;I would not advise to align the front-end project to Helix. It was build with back-end in mind and trying to fit that into the front-end way of doing things will cause unnecessary complication and friction. I'd recommend looking into monorepos and tooling like Lerna if you want to split the codebase (have component library and a separate &quot;app&quot; project for example) and maintain a smooth developer experience.&#xA;Lerna:&#xA;&lt;a href=&quot;https://github.com/lerna/lerna&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/lerna/lerna&lt;/a&gt; and a good read on monorepos:&#xA;&lt;a href=&quot;https://codeburst.io/monorepos-by-example-part-1-3a883b49047e&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://codeburst.io/monorepos-by-example-part-1-3a883b49047e&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2019-03-01T09:27:17.163" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17151" PostTypeId="2" ParentId="8561" CreationDate="2019-03-01T09:34:24.567" Score="2" Body="&lt;p&gt;If you're on &lt;code&gt;Azure&lt;/code&gt; you might want to check: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Certificates are loaded on all roles that access xConnect&lt;/li&gt;&#xA;&lt;li&gt;The app setting &lt;code&gt;WEBSITE_LOAD_CERTIFICATES&lt;/code&gt; is set to the certificate thumbprint&lt;/li&gt;&#xA;&lt;li&gt;If you're using self-signed, make use you have &lt;code&gt;&amp;lt;add key=&quot;AllowInvalidClientCertificates&quot; value=&quot;true&quot;/&amp;gt;&lt;/code&gt; in your web config&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;code&gt;AppPool&lt;/code&gt; of all roles, in &lt;code&gt;SSL Settings&lt;/code&gt;, have &lt;code&gt;Incoming Client Certificates&lt;/code&gt; set to true&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="5114" LastEditorUserId="5387" LastEditDate="2019-07-29T05:54:35.143" LastActivityDate="2019-07-29T05:54:35.143" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17153" PostTypeId="1" AcceptedAnswerId="17156" CreationDate="2019-03-01T11:13:18.713" Score="2" ViewCount="282" Body="&lt;p&gt;Our content authors find it tasking to implement and memorize the grid values for our SXA components, is there a way to set Standard Values for the grid parameters?&lt;/p&gt;&#xA;" OwnerUserId="2882" LastActivityDate="2019-03-01T12:10:03.233" Title="Will you be able to set Standard Values on SXA Grid styling" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17156" PostTypeId="2" ParentId="17153" CreationDate="2019-03-01T12:10:03.233" Score="4" Body="&lt;p&gt;Yes and no. It depends if you want to set it globally or per site/per component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is where default parameters for &lt;strong&gt;Bootstrap 4&lt;/strong&gt; are stored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dhrqV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dhrqV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Remember that modifying default SXA items is not recommended as values will be overwritten during update.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;They are global which means the same for every site and every rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Grid value can be different for each grin thus it is assigned dynamically once you add a rendering on a page &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Look at this processor (pipeline: &lt;code&gt;executePageEditorAction&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.XA.Foundation.Grid.Pipelines.ExecutePageEditorAction.FillGridDefaultValues, Sitecore.XA.Foundation.Grid&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can add your processor and depending on your requirements get standard values from where you want (you've got all necessary information in there: rendering/site/grid)&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-03-01T12:10:03.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17158" PostTypeId="1" CreationDate="2019-03-01T13:16:49.197" Score="2" ViewCount="150" Body="&lt;p&gt;This is the first time working on SXA Search. We have an SXA site with search in working condition. We cloned a new site from the existing one and using master database for now but the search page is not working. Our indexing strategy currently is manual. Do we need to explicitly trigger any indexes for master also (sitecore_sxa_master_index)?&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2019-03-01T14:45:46.540" Title="Do we need to trigger SXA indexes after cloning a new site?" Tags="|sxa|content-search|azure-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17160" PostTypeId="2" ParentId="17158" CreationDate="2019-03-01T14:45:46.540" Score="3" Body="&lt;p&gt;If you have your indexing strategy set to &lt;code&gt;manual&lt;/code&gt;, then any change you make, whether it is to an item, adding/removing an item, creating a new site, cloning a new site, anything will need an index rebuild after it is made for that change to be reflected in the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The question should be, why is your master index update strategy set to &lt;code&gt;manual&lt;/code&gt;? Ideally, this should be set to &lt;code&gt;syncMaster&lt;/code&gt; so that master changes are immediately reflected in the master indexes and the web index should be one of the publish related strategies. Otherwise, you will end up rebuilding the indexes manually very often.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-01T14:45:46.540" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17161" PostTypeId="1" AcceptedAnswerId="17163" CreationDate="2019-03-01T15:47:54.107" Score="1" ViewCount="433" Body="&lt;p&gt;If a computed field is computed at run-time when storageType is set to no, does does the index need to be rebuilt at all as it's all done in memory?&lt;/p&gt;&#xA;" OwnerUserId="4394" LastActivityDate="2019-03-01T15:55:47.447" Title="Do indexes with computed fields with storageType=&quot;no&quot; need to be rebuilt?" Tags="|content-search|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17162" PostTypeId="1" AcceptedAnswerId="17306" CreationDate="2019-03-01T15:55:42.153" Score="1" ViewCount="3333" Body="&lt;p&gt;I am getting below error in Processing role. Our version is sitecore 9.0.2.&#xA;Anyone faced similar issues?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: mscorlib&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.MapRebuildStatusCheckerAgent.d__8.MoveNext()&#xA;   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&#xA;   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.MapRebuildStatusCheckerAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: mscorlib&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.MapRebuildStatusCheckerAgent.d__9.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.Analytics.Core.Data.EntityDoesNotExistException&#xA;Message: Routine caused exception: Processing_GetTaskById.&#xA;Source: Sitecore.Analytics.Sql&#xA;   at Sitecore.Analytics.Processing.SqlTaskDataProvider.d__51.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.SqlTaskDataProvider.d__41.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.Internals.TaskHub.d__15.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.TaskManager.d__8.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: A processing task with the specified unique identifier does not exist.&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.SqlClient.SqlCommand.c.b__180_0(Task`1 result)&#xA;   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()&#xA;   at System.Threading.Tasks.Task.Execute()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Sql.Common.Extensions.DbCommandExtensions.c__DisplayClass1_0.b__0&gt;d.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Sql.Common.Extensions.DbCommandExtensions.d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Sql.Common.Extensions.SqlCommandExtensions.d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Sql.Common.Extensions.SqlCommandExtensions.d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.SqlTaskDataProvider.d__51.MoveNext()&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3928" LastEditorUserId="70" LastEditDate="2019-03-01T15:56:44.653" LastActivityDate="2019-06-10T07:08:07.230" Title="Sitecore 9 Processing Server - Exception when executing agent pathAnalyzer/mapRebuildStatusCheckerAgent" Tags="|xdb|experience-analytics|processing|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17163" PostTypeId="2" ParentId="17161" CreationDate="2019-03-01T15:55:47.447" Score="2" Body="&lt;p&gt;I think you are misunderstanding how a computed field and the storage type works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;storageType&lt;/code&gt; has nothing to do with the content being added to the index. It just controls whether the content is stored along with the indexed values. If you store the content too, then you can retrieve the content out of the index. If you don't, then you can only search on that content, nothing is returned in the field value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A computed field is never &quot;computed&quot; at run time, it is always computed at index time when the value is added to the index.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-01T15:55:47.447" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17164" PostTypeId="2" ParentId="17145" CreationDate="2019-03-01T16:18:10.110" Score="2" Body="&lt;p&gt;Make sure, that you have &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;tracking.contact&quot; connectionString=&quot;mongodb://...&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in your ConnectionStrings.config. If yes - check next:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Try to connect with this &quot;mongodb://...&quot; connectionstring to collection by using RoboMongo or any other UI software and check that collections are really exist in mongodb.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Check versions of Sitecore and MongoDB that you use:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8 Update 5 supports MongoDB 3.0&lt;/li&gt;&#xA;&lt;li&gt;older Sitecore versions support  MongoDB 2.6.x and MongoDB.Driver.dll version 1.8.3.9&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Tip: you can immitate this error by checking your connection programmatically:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var connectionString = ConfigurationManager.ConnectionStrings[&quot;tracking.contact&quot;].ToString();&#xA;try&#xA;{&#xA;  var driver = MongoDbDriver.FromConnectionString(connectionString);&#xA;}&#xA;catch(Exception ex)&#xA;{&#xA;  // debug here if exception throw&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-03-01T16:18:10.110" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17165" PostTypeId="1" CreationDate="2019-03-01T17:16:23.897" Score="0" ViewCount="530" Body="&lt;p&gt;I am Getting a blank page after deploying JSS-React application on server (Tech preview 4) with two console warning &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;1) Cross-Origin Read Blocking (CORB) blocked cross-origin response &#xA;https://www.google.com/ with MIME type text/html. &#xA;See https://www.chromestatus.com/feature/5629709824032768 for more details.&#xA;&#xA;2)PlaceholderCommon.js:57 Placeholder 'jss-main' was not found in the current rendering &#xA;data {&#xA;  &quot;name&quot;: &quot;home&quot;,&#xA;  &quot;displayName&quot;: &quot;home&quot;,&#xA;  &quot;fields&quot;: {&#xA;    &quot;pageTitle&quot;: {&#xA;      &quot;value&quot;: &quot;ABC&quot;&#xA;    }&#xA;  },&#xA;  &quot;databaseName&quot;: &quot;web&quot;,&#xA;  &quot;deviceId&quot;: &quot;fe5d7fdf-89c0-4d99-9aa3-b5fbd009c9f3&quot;,&#xA;  &quot;itemId&quot;: &quot;2cf4bbda-b6b1-561c-b048-5043e08764a7&quot;,&#xA;  &quot;itemLanguage&quot;: &quot;en&quot;,&#xA;  &quot;itemVersion&quot;: 1,&#xA;  &quot;layoutId&quot;: &quot;ebbdb4b8-0a5b-5fd2-b3d8-397a8b397033&quot;,&#xA;  &quot;templateId&quot;: &quot;c8a950cd-ede5-5290-8fb7-a591ccbff2de&quot;,&#xA;  &quot;templateName&quot;: &quot;App Route&quot;,&#xA;  &quot;placeholders&quot;: {}&#xA;}&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;can someone help in this regard.&lt;/p&gt;&#xA;" OwnerUserId="4337" LastEditorUserId="4337" LastEditDate="2019-03-04T15:17:49.480" LastActivityDate="2019-05-13T13:01:34.083" Title="Getting a blank page after deploying JSS-React application on server (Tech preview 4)" Tags="|jss|placeholders|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17166" PostTypeId="1" CreationDate="2019-03-01T20:08:28.063" Score="4" ViewCount="329" Body="&lt;p&gt;Is there complete documentation on the Events List and Calendar List for SXA, and in particular the Events Type field and how to setup where it looks for event types, or can the event list headings be types.&lt;/p&gt;&#xA;" OwnerUserId="5169" LastActivityDate="2019-07-16T08:32:37.763" Title="SXA Calendar Events Documention" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17167" PostTypeId="1" AcceptedAnswerId="17282" CreationDate="2019-03-01T20:19:56.103" Score="1" ViewCount="1852" Body="&lt;p&gt;&lt;strong&gt;Background:&lt;/strong&gt;&#xA;I am trying to install Sitecore 9.1 XP0 developer topology on my local machine, however, the SIF install fails at task 65 out of 88 with the error message &lt;code&gt;Installation error: Failed to start service 'Sitecore Marketing Automation Engine&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing I noticed, which could be part of the reason for the error, is the fact that the Sitecore xConnect website is not working. It does not return an HTTP error, it simply does not load, but returns a &lt;code&gt;This site can’t be reached- ERR_SPDY_PROTOCOL_ERROR (in Chrome) and asks if I want to open Visual Studio to debug the error&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Things I have tried:&lt;/strong&gt;&#xA;I re-tried a fresh install, changing site prefix, alot of times (50+). Same result each time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried specifying security rights for Local service/IUSR/IIS_IUSRS for the resource folder, without luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I verified that all the connectionStrings to the xConnect database are correct and database logins works&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I removed all previous installations of SIF and only installed SIF 2.0.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the eventlog, and all I can find is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Faulting application name: w3wp.exe, version: 10.0.15063.0, time stamp: 0xf0e19ef5 Faulting module name: KERNELBASE.dll, version: 10.0.15063.1478, time stamp: 0x7789680f&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I checked the log for the xConnect website, and it seems that the website starts, but then immediately crashes. The log states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2019-03-02 20:36:39.797 +01:00 [Information] XConnect Test Host Application Start, Machine: &quot;[MACHINE-NAME]&quot;, Site: &quot;PREFIX.xconnect&quot;, AppId: &quot;/LM/W3SVC/15/ROOT&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The log for the xConnect automation service states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2019-03-02 20:36:51.343 +01:00 [Error] Error initializing XConnect client.&#xA;  System.AggregateException: One or more errors occurred. ---&gt; Sitecore.XConnect.XdbCollectionUnavailableException: An error occurred while sending the request. ---&gt; System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt; System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host&#xA;     at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)&#xA;     at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)&#xA;     --- End of inner exception stack trace ---&#xA;     at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The kicker:&lt;/strong&gt;&#xA;I tried the exact same install on my private pc and everything works as intended.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could cause the SIF install to not be able to start the service 'Sitecore marketing Automation Engine' and is that in any way related to the fact that the xConnect website does not work?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="277" LastEditDate="2019-05-13T08:44:01.233" LastActivityDate="2021-02-25T13:02:14.647" Title="Sitecore 9.1 xConnect site not working" Tags="|xconnect|sitecore-install-framework|marketing-automation|" AnswerCount="3" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17168" PostTypeId="2" ParentId="17165" CreationDate="2019-03-01T21:06:08.343" Score="1" Body="&lt;p&gt;For the placeholder error, check the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Root-level placeholders need to be defined in &lt;code&gt;package.json&lt;/code&gt;, in the &lt;code&gt;config.rootPlaceholders&lt;/code&gt; property.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Component-level placeholders need to be defined in the component's manifest definition (in the object you pass to &lt;code&gt;manifest.addComponent&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For the &lt;code&gt;CORS&lt;/code&gt; error, check the following: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using https to access your site, make sure the endpoints in &lt;code&gt;scjssconfig.json&lt;/code&gt; are also defined with https.&lt;/p&gt;&#xA;" OwnerUserId="4949" LastEditorUserId="5096" LastEditDate="2019-05-13T13:01:34.083" LastActivityDate="2019-05-13T13:01:34.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17169" PostTypeId="2" ParentId="17122" CreationDate="2019-03-02T00:32:40.963" Score="2" Body="&lt;p&gt;I will start my answer with a question, why do you need to use FakeDB?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even though the idea of FakeDB is great in theory, it inevitably causes more issues than it solves, in my opinion, when testing units in your code, it's another story when you are carrying out integration tests, but then the argument would be why not manipulate a real Sitecore database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I would suggest that you consider is not test Sitecore is doing its job and only test business logic you are writing. You could use a pattern like Template Method to help write logic that does not know about Sitecore. You would completely control and mock these classes and then create implementations that can talk to Sitecore. These abstract classes would only use POCOs to build up functionality using TDD, mocking to your heart’s content, and then all the implementation does is map Sitecore items to those POCOs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unit testing aims to test a unit, or as I think of it test a single logical pathway through your code, the best way to do this is using contrived implementations of contracts. As soon as you introduce FakeDB you no longer have a single logical pathway, as really Sitecore code is being executed to carry out your test along with FakeDb code, effectively making the unit part of the unit testing moot. If you believe that Sitecore is not functioning as expected open up a support request as testing Sitecore is not your responsibility and only increases the about of testing code you must maintain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I feel that when tightly coupling your business logic code to Sitecore you end up with code that is less maintainable and reusable. Be careful with trusting unit testing as it can quickly become a false economy if you are creating tests just to get 100% coverage. The coverage metric that is important is, am I testing all logical pathways? Oh and never change unit tests just to satisfy the compiler, this makes your tests rot. Your test are the most important part of a solution so treat them as such.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sorry for the long answer, I did not think I had that much to say and think I will blog about this with an example of the approach I am describing.&lt;/p&gt;&#xA;" OwnerUserId="3727" LastActivityDate="2019-03-02T00:32:40.963" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17170" PostTypeId="1" CreationDate="2019-03-02T02:41:12.047" Score="0" ViewCount="496" Body="&lt;p&gt;I have a Lottie animation JSON object that I want to use in all my various JSS Angular apps hosted from different domains. Ideally, I'd have that animation file in the &lt;em&gt;Media Library&lt;/em&gt; so it can be updated easily and shared by multiple apps. However, the Lottie code uses XMLHttpRequest to download the JSON file, which means my connected JSS app on one domain is getting CORS denied errors when it asks for the resource on my shared Sitecore instance domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to add the Media Library controller to the JSS ApiKey &quot;Allowed Controllers&quot; setting? Or is there some other way within Sitecore to add CORS headers to Media Library responses? What I don't want to do is to have to update my web.config every time a new JSS application comes online. And I don't really want to wildcard everything, either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If all else fails, I can just have all the applications put that JSON file in their assets folder so they don't need CORS at all, but that prevents sharing and easy updates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="5170" LastActivityDate="2019-03-04T15:21:02.197" Title="CORS and Media Library Resources" Tags="|media-library|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17172" PostTypeId="1" CreationDate="2019-03-02T11:57:14.630" Score="0" ViewCount="1371" Body="&lt;p&gt;When I request the url &lt;a href=&quot;https://mydomain/sxa/search/results?q=test&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mydomain/sxa/search/results?q=test&lt;/a&gt;, below is the response&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{&quot;TotalTime&quot;:259,&quot;CountTime&quot;:211,&quot;QueryTime&quot;:38,&quot;Signature&quot;:null,&quot;Index&quot;:&quot;sitecore_sxa_web_index&quot;,&quot;Count&quot;:0,&quot;Results&quot;:[]}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;There are no index entries on the field 'Indexes' in the Settings/Site item. After updating the item with key-value pair master/* - sitecore_master_index also, getting the same response. Where else this setting would have been changed? &lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2019-03-03T11:44:57.900" LastActivityDate="2019-03-03T11:44:57.900" Title="Where to check the index that is configured from SXA Search API?" Tags="|sxa|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17173" PostTypeId="2" ParentId="17172" CreationDate="2019-03-02T20:16:33.267" Score="5" Body="&lt;p&gt;You have probably not done last step of installation guide for SXA installations and that is to add two SXA specific Solr cores.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA Cores / Indexes are defined in &lt;code&gt;$path_to_your_instance\App_Config\Modules\SXA\Z.Foundation.Overrides&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To configure and populate cores for Solr, follow these steps:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;1. Create Solr Cores&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Navigate to your Solr folder and copy two times “{YourSitecoreInstanceName}_master_index” folder e.g. “C:\Solr\solr721\solr-7.2.1\server\solr”:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sYYQg.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sYYQg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rename newly copied folders as “{YourSitecoreInstanceName}_sxa_master_index” and “{YourSitecoreInstanceName}_sxa_web_index”:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FDka5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FDka5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to both new folders and remove data subfolder and core.properties file as highlighted here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3zYzI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3zYzI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the end you should leave only conf subfolder under both “{YourSitecoreInstanceName}_sxa_master_index” and “{YourSitecoreInstanceName}_sxa_web_index” folders like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/P6yQR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P6yQR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open Solr admin UI in your browser e.g. &lt;a href=&quot;https://solr:8983/solr/&quot; rel=&quot;noreferrer&quot;&gt;https://solr:8983/solr/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click on Core Admin (1) in left menu and then click on Add Core (2) button with green plus as shown below. Specify “{YourSitecoreInstanceName}_sxa_master_index” in name and instanceDir fields (3) and hit Add Core button (4). Do the same also for {YourSitecoreInstanceName}_sxa_web_index:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nGQ4g.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nGQ4g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open &lt;code&gt;$path_to_your_instance\App_Config\Modules\SXA\Z.Foundation.Overrides&lt;/code&gt; file in your text editor and change core parameters highlighted below to your newly created cores in Solr to each index accordingly (mind highlighted values for each master/web index):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/u4bBq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/u4bBq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;2. Populate Solr Managed Schema for SXA indexes&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From Launchpad, open Control Panel:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x85Jb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x85Jb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open Populate Solr Managed Schema (1) from Indexing section, select only SXA related indexes highlighted below (2) and click Populate button (3):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wqfZC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wqfZC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is desired outcome:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SGxNy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SGxNy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;3. Rebuild SXA indexes&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From Launchpad, open Control Panel:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9dSsX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9dSsX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open Indexing Manager (1) from Indexing section, select only SXA related indexes highlighted below (2) and click Rebuild button (3):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uyGlK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uyGlK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the desired outcome:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IKO1M.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IKO1M.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That’s it!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look on my detailed installation steps guide for Sitecore SXA 1.8: &lt;a href=&quot;https://tothecore.sk/2018/11/29/sitecore-sxa-1-8-installation-guide-for-development-machine/&quot; rel=&quot;noreferrer&quot;&gt;https://tothecore.sk/2018/11/29/sitecore-sxa-1-8-installation-guide-for-development-machine/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-03-02T20:16:33.267" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17174" PostTypeId="1" AcceptedAnswerId="17178" CreationDate="2019-03-02T22:23:12.383" Score="3" ViewCount="90" Body="&lt;p&gt;I have a multi language site and one language is german. I need language specific urls and so I am using the display name to generate the url and to show the Page titels and linknames to the internal pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And in German the &quot;About Us&quot; page is called &quot;Über uns&quot; and here the generated url is &quot;über-uns&quot; and has a &quot;mutated vowel&quot; in it and I don't want this it should be this url &quot;ueber-uns&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that mutated vowel are allowed in an url but I don't want to use it :-) is there a config I can use?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-04-26T14:37:41.073" Title="mutated vowel in display name and don't show it in the generated url" Tags="|urls|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17175" PostTypeId="1" CreationDate="2019-03-03T10:27:14.127" Score="2" ViewCount="302" Body="&lt;p&gt;I am using Unicorn to serialise/synchronise Sitecore items from lower environments (developer local) to higher environments (production).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to use the NewItemsOnly configuration (see link below) to prevent items changed on higher environments from being overwritten but I don't want to do this across the entire solution and all folders. Can you configure NewItemsOnly to apply to certain folders so that other folders continue to be fully synchonised? i.e. updates, deletes are also synchronised for most folders but for some folders only newly created items are synchronised?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/SitecoreUnicorn/Unicorn/blob/master/src/Unicorn/Standard%20Config%20Files/Unicorn.Configs.NewItemsOnly.example&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreUnicorn/Unicorn/blob/master/src/Unicorn/Standard%20Config%20Files/Unicorn.Configs.NewItemsOnly.example&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5172" LastActivityDate="2019-03-03T11:44:01.077" Title="Can you enable Unicorn NewItemsOnly for specific folders?" Tags="|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17176" PostTypeId="2" ParentId="17175" CreationDate="2019-03-03T11:44:01.077" Score="3" Body="&lt;h2&gt;Yes you can&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can define the &lt;code&gt;Evaluator&lt;/code&gt; (i.e. &lt;code&gt;NewItemsOnly&lt;/code&gt;) on a per-configuration basis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to answer your question; yes you can. But you would need to group your content into separate configuration elements.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configurations&amp;gt;&#xA;    &amp;lt;configuration name=&quot;Sample New Items Only Configuration&quot;&amp;gt;&#xA;        &amp;lt;evaluator type=&quot;Unicorn.Evaluators.NewItemOnlyEvaluator, Unicorn&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;&#xA;        ... your predicates here&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&#xA;    &amp;lt;configuration name=&quot;All My Other Stuff&quot;&amp;gt;&#xA;        ... with no Evaluator defined, default is used&#xA;&#xA;        ... more stuff here&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/configurations&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-03-03T11:44:01.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17178" PostTypeId="2" ParentId="17174" CreationDate="2019-03-03T13:52:33.743" Score="5" Body="&lt;p&gt;In general, when using the out of the box functionality and fields , you can specify the display name to any value you like for the URL. It appears you have already configured your Link Provider to use display names so that part is done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A common approach would then be to introduce a Page Title field. It is very common that the text for a title may not match the URL. For example, you may not want to have special characters like &amp;amp; in the URL, but this may be in a title such as 'Location &amp;amp; Hours'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you do not want to add a Page Title field you will need to add a custom provider to programmatically convert your list of undesired characters to your desired replacements. Adding a Page Title field is likely less risky and less effort.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2019-03-04T12:42:55.773" LastActivityDate="2019-03-04T12:42:55.773" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17179" PostTypeId="2" ParentId="17108" CreationDate="2019-03-03T20:52:07.907" Score="1" Body="&lt;p&gt;The issue was with incorrect messaging connection string in the Marketing Operations. Correcting that connection string fixed it.&lt;/p&gt;&#xA;" OwnerUserId="456" LastActivityDate="2019-03-03T20:52:07.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17182" PostTypeId="2" ParentId="17139" CreationDate="2019-03-04T09:15:50.363" Score="0" Body="&lt;p&gt;You should be able to test all this, by making sure all of the xconnect sites work from the CM server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most will just return a time if you browse to the homepage. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further to that just checking that all the Marketing Applications work in the admin console should be enough. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2019-03-04T09:15:50.363" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17183" PostTypeId="1" AcceptedAnswerId="17224" CreationDate="2019-03-04T10:21:51.147" Score="1" ViewCount="2569" Body="&lt;p&gt;I am upgrading Sitecore 8.1 to 9.1. After resolving a number of config and dll-related errors, if I try to reach /sitecore I get redirected to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/identity/login/shell/SitecoreIdentityServer&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which causes a 404.&#xA;Now, I do have the Identity Server setup, but its URL is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://sc-identityserver/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So I'm suspecting a routing error somewhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the inability to hit &quot;/identity/login/shell/SitecoreIdentityServer&quot; symptom of a routing error? If so, how do I troubleshoot it?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-03-05T15:40:14.493" Title="Troubleshooting Sitecore Identity Server routing errors in Sitecore 9" Tags="|upgrade|routing|identity-server|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17184" PostTypeId="1" AcceptedAnswerId="17190" CreationDate="2019-03-04T10:22:04.247" Score="7" ViewCount="1483" Body="&lt;p&gt;We have to validate the field based on last updated date. We have option to get the item updated date. Is there any possible way to check the field updated date?&lt;/p&gt;&#xA;" OwnerUserId="3875" LastActivityDate="2019-03-04T11:34:31.653" Title="How to get the sitecore field updated date instead of item updated date?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17185" PostTypeId="1" CreationDate="2019-03-04T10:37:13.353" Score="1" ViewCount="1404" Body="&lt;p&gt;I want to compare two Sitecore databases. I know there is a tool named &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Razl&quot; rel=&quot;nofollow noreferrer&quot;&gt;Razl&lt;/a&gt;, but it's not free.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are alternatives?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The crazy idea is to serialize everything via Unicorn and then compare serialized items via something like WinMerge, but I'm afraid it won't be that convenient for this purpose.&lt;/p&gt;&#xA;" OwnerUserId="3295" LastEditorUserId="342" LastEditDate="2019-03-04T12:22:01.620" LastActivityDate="2019-03-04T12:22:01.620" Title="What are alternatives to Razl?" Tags="|sitecore-client|razl|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17186" PostTypeId="2" ParentId="17183" CreationDate="2019-03-04T10:45:08.483" Score="0" Body="&lt;p&gt;check the host file if the entry for the identity server is ther or not &lt;/p&gt;&#xA;" OwnerUserId="4983" LastActivityDate="2019-03-04T10:45:08.483" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17187" PostTypeId="2" ParentId="17185" CreationDate="2019-03-04T10:51:28.830" Score="7" Body="&lt;p&gt;One option could be Sitecore Sidekick: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/JeffDarchuk/SitecoreSidekick&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/JeffDarchuk/SitecoreSidekick&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://jeffdarchuk.com/2016/10/03/sitecore-sidekick/&quot; rel=&quot;noreferrer&quot;&gt;https://jeffdarchuk.com/2016/10/03/sitecore-sidekick/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It's free but I'm not sure about it's current status. It should be able to do a lot more than just compare, but it is one of it's features (Content Migrator).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0Ybl3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0Ybl3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Didn't use it myself yet, but might be worth looking into. And it's open source so if something is not working, you could contribute to a solution.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-04T10:51:28.830" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17190" PostTypeId="2" ParentId="17184" CreationDate="2019-03-04T11:34:31.653" Score="5" Body="&lt;p&gt;From what I know, there is no option to get the &lt;code&gt;Last Update&lt;/code&gt; date for Sitecore fields using Sitecore API. The only thing you can get is &lt;code&gt;updated&lt;/code&gt; date for Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you have a look at the SQL tables which stores fields (&lt;code&gt;UnversionedFields&lt;/code&gt;, &lt;code&gt;VersionedFields&lt;/code&gt;, &lt;code&gt;SharedFields&lt;/code&gt;) they do contain &lt;code&gt;Updated&lt;/code&gt; column and it's populated with proper values so you can write your own code to get that dates from SQL database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know the whole scenario and I don't know how frequently you need to get this data. I would be really careful with calling to the SQL database directly as this may have severe impact on the performance of whichever server you will run this on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know if you're using any libraries for SQL databases access already so I will not post any code but in general:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;get the connection string for your chosen database&lt;/li&gt;&#xA;&lt;li&gt;find the ID of the Field item you're interested in&lt;/li&gt;&#xA;&lt;li&gt;find the ID, language and version of your item&lt;/li&gt;&#xA;&lt;li&gt;run query to get &lt;code&gt;[Updated]&lt;/code&gt; value from proper fields table (&lt;code&gt;UnversionedFields&lt;/code&gt;, &lt;code&gt;VersionedFields&lt;/code&gt; or &lt;code&gt;SharedFields&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-04T11:34:31.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17191" PostTypeId="1" AcceptedAnswerId="26942" CreationDate="2019-03-04T11:58:45.323" Score="1" ViewCount="195" Body="&lt;p&gt;When I start &quot;MongoDB Contacts to xConnect Migration&quot; pipeline with 1 thread all works fine. But when start with more then 1. I have an error after random count of processed contacts.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;24104 14:15:53 ERROR [Data Exchange] Collection was modified; enumeration operation may not execute. (pipeline: Read Contacts from MongoDB Pipeline, pipeline step: Iterate MongoDB Contacts and Run Pipelines, pipeline step identifier: 4d6400a4-4e78-4555-80d7-46aafd07afe9)&#xA;24104 14:15:53 ERROR [Data Exchange] at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)&#xA;   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)&#xA;   at Sitecore.DataExchange.Processors.PipelineSteps.BasePipelineStepProcessor.GetMissingRequiredPlugin[T](IHasPlugins obj)&#xA;   at Sitecore.DataExchange.Processors.PipelineSteps.BasePipelineStepProcessor.AreRequiredPluginsSet()&#xA;   at Sitecore.DataExchange.Processors.PipelineSteps.BasePipelineStepProcessor.StartProcessing(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;   at Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor.ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;   at Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor.ProcessPipeline(Pipeline pipeline, PipelineContext pipelineContext, ILogger logger)&#xA;   at Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor.ProcessPipelines(PipelineStep pipelineStep, ICollection`1 subPipelines, PipelineContext pipelineContext, ILogger logger)&#xA;   at Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor.&amp;lt;&amp;gt;c__DisplayClass4_0.&amp;lt;IterateWithThreads&amp;gt;b__0(Object element, Int32 threadId)&#xA;   at Sitecore.DataExchange.Helpers.EnumeratorHandlerHelper.RunThread(IEnumerator data, Int32 threadId, EnumeratorHandlerHelperContext context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does someone know what i configured wrong?&lt;/p&gt;&#xA;" OwnerUserId="4791" LastEditorUserId="432" LastEditDate="2020-06-01T11:41:17.393" LastActivityDate="2020-11-14T05:48:05.047" Title="Sitecore 9.1 xDB Data Migration Tool 2.1 multi threads issue" Tags="|xdb|xconnect|migration|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17192" PostTypeId="1" AcceptedAnswerId="17195" CreationDate="2019-03-04T12:51:45.550" Score="2" ViewCount="184" Body="&lt;p&gt;Environment: Sitecore 9.0.2 + SXA 1.7.1&lt;/p&gt;&#xA;&lt;p&gt;What i have done:&#xA;I cloned the default 'Navigation rendering' as 'Global Header'. I have added it to under 'Navigation' under available renderings.&lt;/p&gt;&#xA;&lt;p&gt;Under 'rendering Variants', i created another 'variants' named 'Global header' and copied the variant from 'Navigation'.&lt;/p&gt;&#xA;&lt;p&gt;What is happening:&#xA;For the new variant, i am not getting a particular (Navigation) subsection under style.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7OOcW.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7OOcW.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I am not being able to understand what is happening. Any input will be helpful.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-04T13:54:25.280" Title="SXA feature specific style option is missing for cloned rendering" Tags="|sxa|presentation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17193" PostTypeId="1" CreationDate="2019-03-04T13:06:17.577" Score="1" ViewCount="248" Body="&lt;p&gt;Is there any reference implementation available from Sitecore or 3rd Party for Sitecore Headless Mode (API Mode, Integrated Mode, SSR Mode) &amp;amp; React Js.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am expecting a sample project like &lt;a href=&quot;https://github.com/Sitecore/Habitat&quot; rel=&quot;nofollow noreferrer&quot;&gt;Habitat&lt;/a&gt;, where there is a complete implementation using ReactJs (for all 3 modes). Please share the details &amp;amp; reference links.&lt;/p&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2019-03-04T14:49:50.713" Title="Is Habitat Implementation using ReactJs, for all (3) Sitecore Headless Modes available?" Tags="|habitat|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17194" PostTypeId="1" CreationDate="2019-03-04T13:17:03.470" Score="1" ViewCount="417" Body="&lt;p&gt;I'm trying to make a custom contact facet and I followed the documentation of Sitecore 9.1 as shown in the code block below, which comes from &lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/configure-the-import-contacts-wizard-to-include-custom-contact-facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/configure-the-import-contacts-wizard-to-include-custom-contact-facets.html&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are some points I don't understand:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The first parameter of &lt;code&gt;mapping.GetValue(&quot;Emails_Others_Personal&quot;)&lt;/code&gt; what does it refer to? Is it the facet field in Sitecore or the field in the excel sheet?&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;Others[&quot;Personal&quot;]&lt;/code&gt; what does this refer to?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExtendedEmailFacetMapperSample : IFacetMapper&#xA;{&#xA;    private readonly PreferredEmailFacetMapper mapper;&#xA;    // Decorate the existing PreferredEmailMapper&#xA;    public ExtendedEmailFacetMapperSample(&#xA;        PreferredEmailFacetMapper mapper)&#xA;    {&#xA;        this.mapper = mapper;&#xA;    }&#xA;&#xA;    public MappingResult Map(&#xA;        string facetKey,&#xA;        Facet facet,&#xA;        ContactMappingInfo mappings,&#xA;        string[] data)&#xA;    {&#xA;        // Call the existing email mapper to map all the basic email fields&#xA;        var result = this.mapper.Map(facetKey, facet, mappings, data);&#xA;        var facetMappedResult = result as FacetMapped;&#xA;        if (facetMappedResult == null)&#xA;        {&#xA;            return result;&#xA;        }&#xA;        var partiallyMappedFacet = facetMappedResult.Facet as EmailAddressList;&#xA;        if (partiallyMappedFacet == null)&#xA;        {&#xA;            return result;&#xA;        }&#xA;        // Set Personal email&#xA;        var personalEmail = mappings.GetValue(&quot;Emails_Others_Personal&quot;, data);&#xA;        if (!string.IsNullOrWhiteSpace(personalEmail))&#xA;        {&#xA;            partiallyMappedFacet.Others[&quot;Personal&quot;] = new EmailAddress(personalEmail, false);&#xA;        }&#xA;        // Set Work email&#xA;        var workEmail = mappings.GetValue(&quot;Emails_Others_Work&quot;, data);&#xA;        if (!string.IsNullOrWhiteSpace(workEmail))&#xA;        {&#xA;            partiallyMappedFacet.Others[&quot;Work&quot;] = new EmailAddress(workEmail, false);&#xA;        }&#xA;        return result;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5154" LastEditorUserId="70" LastEditDate="2019-03-05T14:10:15.577" LastActivityDate="2019-03-05T14:10:15.577" Title="Questions extending custom facet code" Tags="|xconnect|contact-facets|list-manager|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17195" PostTypeId="2" ParentId="17192" CreationDate="2019-03-04T13:18:33.607" Score="1" Body="&lt;p&gt;You need to allow your cloned component in your custom style.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to your custom style (as example &quot;Links Shown in Overlay&quot; style on the screen below Styles &gt; Common) and in &quot;Allowed Renderings&quot; field select your new component:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ramjF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ramjF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is also mentioned in official SXA documentation:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/add-a-style-for-a-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/add-a-style-for-a-rendering.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-03-04T13:54:25.280" LastActivityDate="2019-03-04T13:54:25.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17196" PostTypeId="1" AcceptedAnswerId="17197" CreationDate="2019-03-04T14:27:02.763" Score="2" ViewCount="187" Body="&lt;p&gt;I have 3 items in a folder based on the same template. Is there any functionality provided by Sitecore to prevent these items from being moved to another folder accidentally or deliberatively? Or we can apply any validation on the template like if an item is created on the base of this template it cannot be moved. You can only edit, copy or delete it. Thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastActivityDate="2019-03-04T14:42:28.443" Title="How to prevent an item from being moved to another folder accidentally?" Tags="|validation|related-items|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17197" PostTypeId="2" ParentId="17196" CreationDate="2019-03-04T14:30:43.430" Score="4" Body="&lt;p&gt;There is nothing like that out of the box in Sitecore. But you can easily create such a functionality on your own:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new template with one field only - checkbox &quot;Cannot be moved&quot;&lt;/li&gt;&#xA;&lt;li&gt;Add your handler to &lt;code&gt;&amp;lt;event name=&quot;item:moving&quot;/&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the handler code cancel the event if the checkbox is checked.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I haven't tested the code but something like this should do the trick:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  protected void OnItemMoving(object obj, EventArgs args)&#xA;  {&#xA;      if (JobContext.IsJob &amp;amp;&amp;amp; JobContext.Job.Category == &quot;publish&quot;)&#xA;          return;&#xA;&#xA;      SitecoreEventArgs evt = args as SitecoreEventArgs;&#xA;      Item item = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;      if (MainUtil.GetBool(item[&quot;Cannot be moved&quot;], false))&#xA;        this.CancelEvent(evt);&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And as &lt;a href=&quot;https://sitecore.stackexchange.com/users/342/dan-sinclair&quot;&gt;Dan Sinclair&lt;/a&gt; suggested: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You may want to apply field level security to that Cannot be moved field, too, to ensure that savvy content editors don't work around it. :)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-03-04T14:42:28.443" LastActivityDate="2019-03-04T14:42:28.443" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17198" PostTypeId="2" ParentId="17193" CreationDate="2019-03-04T14:49:50.713" Score="2" Body="&lt;p&gt;The official Habitat Home JSS example application from Sitecore is available on the Sitecore Omni GitHub: &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Omni&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.HabitatHome.Omni&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This example uses React, but my understanding is that it only has a single mode in the example. It is a complete implementation of a fictional &quot;Habitat Fitness&quot; brand that shows Sitecore functionality like personalization in a JSS application.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-03-04T14:49:50.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17199" PostTypeId="1" AcceptedAnswerId="17202" CreationDate="2019-03-04T15:08:06.710" Score="1" ViewCount="1013" Body="&lt;p&gt;Using Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to log to &lt;a href=&quot;https://datalust.co/seq&quot; rel=&quot;nofollow noreferrer&quot;&gt;SEQ&lt;/a&gt; instead of a standard file for the Sitecore log. Since Sitecore uses &lt;code&gt;log4net&lt;/code&gt;, I've been looking at this documentation: &lt;a href=&quot;https://docs.getseq.net/docs/using-log4net&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.getseq.net/docs/using-log4net&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my &lt;code&gt;web.config&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;configSections&amp;gt;&#xA;    &amp;lt;section name=&quot;sitecore&quot; type=&quot;Sitecore.Configuration.ConfigReader, Sitecore.Kernel&quot; /&amp;gt;&#xA;    &amp;lt;section name=&quot;log4net&quot; type=&quot;log4net.Config.Log4NetConfigurationSectionHandler, Sitecore.Logging&quot; /&amp;gt;&#xA;    &amp;lt;!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --&amp;gt;&#xA;    &amp;lt;section name=&quot;entityFramework&quot; type=&quot;System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; requirePermission=&quot;false&quot; /&amp;gt;&#xA;  &amp;lt;/configSections&amp;gt;&#xA;  &amp;lt;log4net&amp;gt;&#xA;    &amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;Seq.Client.Log4Net.SeqAppender, Seq.Client.Log4Net&quot; &amp;gt;&#xA;      &amp;lt;bufferSize value=&quot;1&quot; /&amp;gt;&#xA;      &amp;lt;serverUrl value=&quot;http://localhost:5341&quot; /&amp;gt;&#xA;    &amp;lt;/appender&amp;gt;&#xA;    &amp;lt;root&amp;gt;&#xA;      &amp;lt;priority value=&quot;INFO&quot; /&amp;gt;&#xA;      &amp;lt;appender-ref ref=&quot;LogFileAppender&quot; /&amp;gt;&#xA;    &amp;lt;/root&amp;gt;&#xA;  &amp;lt;/log4net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I do not get anything to my SEQ installation, instead everything is still logged to file. Why is this not working? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; I've found that SEQ library can't be used, since the &lt;code&gt;log4net&lt;/code&gt; namespace that Sitecore uses is a special implementation that lies in the &lt;code&gt;sitecore.logging dll&lt;/code&gt;. I've even tried creating a custom logger and referenced it like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;log4net&amp;gt;&#xA;      &amp;lt;appender name=&quot;AcmAppender&quot; type=&quot;Coptikk.Web.Extensions.AcmAppender, Coptikk.Web&quot;&amp;gt;&#xA;        &amp;lt;layout type=&quot;log4net.Layout.PatternLayout,log4net&quot;&amp;gt;&#xA;          &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;%d{ABSOLUTE} %-5p %c{1}:%L - %m%n&quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;      &amp;lt;/appender&amp;gt;&#xA;      &amp;lt;logger name=&quot;Sitecore.SeqLog&quot; additivity=&quot;false&quot;&amp;gt;&#xA;        &amp;lt;level value=&quot;WARN&quot; /&amp;gt;&#xA;        &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;        &amp;lt;appender-ref ref=&quot;AcmAppender&quot; /&amp;gt;&#xA;      &amp;lt;/logger&amp;gt;&#xA;    &amp;lt;/log4net&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I then made an alias for the &lt;code&gt;Sitecore.Logging&lt;/code&gt; reference and created the following code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;extern alias SitecoreLog;&#xA;using System;&#xA;&#xA;namespace Coptikk.Web.Extensions&#xA;{&#xA;    public class AcmAppender : SitecoreLog::log4net.Appender.AppenderSkeleton&#xA;    {&#xA;        protected override void Append(SitecoreLog::log4net.spi.LoggingEvent loggingEvent)&#xA;        {&#xA;            var lvl = loggingEvent.Level.Name;&#xA;            Console.Write(lvl);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works as long as there is no &lt;code&gt;log4net.dll&lt;/code&gt; in the bin folder. If I add the &lt;code&gt;log4net.dll&lt;/code&gt; that I need to send stuff to SEQ, this stops working. At this point I'm pretty blank as how to proceed. &lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="5096" LastEditDate="2019-05-13T08:44:08.637" LastActivityDate="2019-05-13T08:44:08.637" Title="Use Seq for logging with log4net instead of text file" Tags="|configuration|logging|log4net|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17200" PostTypeId="2" ParentId="17170" CreationDate="2019-03-04T15:21:02.197" Score="1" Body="&lt;p&gt;If you're using headless mode in production, you can avoid needing CORS (and additional preflight requests) by taking advantage of the reverse proxy built into headless mode and requesting the media using local URLs (&lt;a href=&quot;https://head.less/-/media/..&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://head.less/-/media/..&lt;/a&gt;.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A similar configuration can be done in connected mode by using the local proxy functionality built into Angular to proxy /-/media -&gt; &lt;a href=&quot;http://local.site.core/-/media&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://local.site.core/-/media&lt;/a&gt;. &lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-03-04T15:21:02.197" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17201" PostTypeId="1" AcceptedAnswerId="17212" CreationDate="2019-03-04T15:23:38.510" Score="3" ViewCount="2632" Body="&lt;p&gt;I have a mechanism that is automatically creating content items and setting dates accordingly.  Dates are being set in UTC by the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For my local development machine, I am in the central timezone (CST).  All dates that are displayed to me appear to be in the central timezone, but are in fact stored as UTC.  This seems correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my development server, however, the operating system is in UTC time.  I have noticed that when I login to the CMS on the server, dates are displayed to me in UTC time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the proper way to adjust the display of dates so that they are displayed to the user in CST from the server?  Is setting &lt;code&gt;&amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;600&quot;/&amp;gt;&lt;/code&gt; enough, and what other repercussions will occur if I set this value?&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="135" LastEditDate="2019-12-20T02:42:03.247" LastActivityDate="2019-12-20T02:42:03.247" Title="Control the time zone of the Date fields" Tags="|content-editor|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17202" PostTypeId="2" ParentId="17199" CreationDate="2019-03-04T15:24:20.543" Score="1" Body="&lt;p&gt;You will need to patch your change in, since the settings you are trying to affect are in the &lt;code&gt;Sitecore.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;log4net&amp;gt;&#xA;            &amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;                &amp;lt;patch:delete/&amp;gt;&#xA;            &amp;lt;/appender&amp;gt;&#xA;            &amp;lt;appender name=&quot;LogFileAppender&quot; type=&quot;Seq.Client.Log4Net.SeqAppender, Seq.Client.Log4Net&quot; &amp;gt;&#xA;                &amp;lt;bufferSize value=&quot;1&quot; /&amp;gt;&#xA;                &amp;lt;serverUrl value=&quot;http://localhost:5341&quot; /&amp;gt;&#xA;            &amp;lt;/appender&amp;gt;&#xA;            &amp;lt;root&amp;gt;&#xA;                &amp;lt;priority value=&quot;DEBUG&quot;&amp;gt; &amp;lt;!-- this value should be set to whatever is currently set in the Sitecore.config for your instance of Sitecore --&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;INFO&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/priority&amp;gt;&#xA;            &amp;lt;/root&amp;gt;&#xA;        &amp;lt;/log4net&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-03-04T15:24:20.543" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17204" PostTypeId="2" ParentId="280" CreationDate="2019-03-04T17:13:12.373" Score="7" Body="&lt;p&gt;To get this to work with my version of Sitecore (8.1u3) after switching hashing algorithms to &lt;code&gt;SHA512&lt;/code&gt;, I needed to make the following small adjustment to &lt;a href=&quot;https://sitecore.stackexchange.com/a/6021/342&quot;&gt;Derek's answer&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;USE [sitecorecmsSitecore_Core];&#xA;&#xA;UPDATE &#xA;    [aspnet_Membership] &#xA;SET &#xA;    [Password]='K8N8GUW8UiNT2mPdjvuBDH+QmvA3R61M9buVvCwFHwtDjpMzTxs34lg0uQ0azCITqh6FkUZlX4kM72lsAyuyXQ==', &#xA;    [PasswordSalt]='p5B6HOWKt0ctMZaSNXTlfw==', &#xA;    [IsApproved] = '1', &#xA;    [IsLockedOut] = '0'&#xA;WHERE &#xA;    UserId IN (&#xA;        SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\admin'&#xA;    );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-03-04T17:13:12.373" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17205" PostTypeId="2" ParentId="15640" CreationDate="2019-03-04T17:26:30.507" Score="5" Body="&lt;p&gt;I had the same issue: System event viewer was only giving me the exact information you presented. I tried running maengine.exe manually and received a little bit more details of the error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Operation is not supported&quot;. An attempt was made to load an assembly from a network location ...&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I remembered when I had originally installed Sitecore 9.0.1 I had to add the following to the maengine.exe.config &amp;amp; XConnectSearchIndexer.exe.config files; which had been overwritten when I upgraded to 9.0.2.&#xA;Adding the following line to the  node in maengine.exe.config &amp;amp; XConnectSearchIndexer.exe.config resolved the issue for me:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;loadFromRemoteSources enabled=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="5176" LastEditorUserId="5176" LastEditDate="2019-03-04T17:35:43.363" LastActivityDate="2019-03-04T17:35:43.363" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17208" PostTypeId="1" CreationDate="2019-03-04T20:52:01.110" Score="1" ViewCount="214" Body="&lt;p&gt;We are using the method &lt;code&gt;GetRenderingParameters&amp;lt;T&amp;gt;()&lt;/code&gt; from Glass in many different places in our code. This method works correctly, it returns the rendering parameters as a strongly typed object. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every time this method is called a SQL query like below is executed. The value of itemId in the query (all the way at the end) is always different and is always the Id of the object returned from the GetRenderingParameters method. The SQL query never returns any rows and seems unnecessary. Is there something that can be done so Glass does not execute this query every time? We are using Glass version 4.5.0.4.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;exec sp_executesql N'&#xA;SELECT&#xA;  [ItemId],&#xA;  [Order],&#xA;  [Version],&#xA;  [Language],&#xA;  [Name],&#xA;  [Value],&#xA;  [FieldId],&#xA;  [MasterID],&#xA;  [ParentID],&#xA;  [Created]&#xA;FROM&#xA;( SELECT&#xA;    [Id] AS [ItemId],&#xA;    0 AS [Order],&#xA;    0 AS [Version],&#xA;    '''' AS [Language],&#xA;    [Name],&#xA;    '''' AS [Value],&#xA;    [TemplateID] AS [FieldId],&#xA;    [MasterID],&#xA;    [ParentID],&#xA;    [Created]&#xA;  FROM [Items]&#xA;  UNION ALL&#xA;  SELECT&#xA;    [ParentId] AS [ItemId],&#xA;    1 AS [Order],&#xA;    0 AS [Version],&#xA;    '''' AS [Language],&#xA;    NULL AS [Name],&#xA;    '''',&#xA;    NULL,&#xA;    NULL,&#xA;    [Id],&#xA;    NULL&#xA;  FROM [Items]&#xA;  UNION ALL&#xA;  SELECT&#xA;    [ItemId],&#xA;    2 AS [Order],&#xA;    0 AS [Version],&#xA;    '''' AS [Language],&#xA;    NULL AS [Name],&#xA;    [Value],&#xA;    [FieldId],&#xA;    NULL,&#xA;    NULL,&#xA;    NULL&#xA;  FROM [SharedFields]&#xA;  UNION ALL&#xA;  SELECT&#xA;    [ItemId],&#xA;    2 AS [Order],&#xA;    0 AS [Version],&#xA;    [Language],&#xA;    NULL AS [Name],&#xA;    [Value],&#xA;    [FieldId],&#xA;    NULL,&#xA;    NULL,&#xA;    NULL&#xA;  FROM [UnversionedFields]&#xA;  UNION ALL&#xA;  SELECT&#xA;    [ItemId],&#xA;    2 AS [Order],&#xA;    [Version],&#xA;    [Language],&#xA;    NULL AS [Name],&#xA;    [Value],&#xA;    [FieldId],&#xA;    NULL,&#xA;    NULL,&#xA;    NULL&#xA;  FROM [VersionedFields]) AS temp&#xA;  WHERE [ItemId] IN (SELECT [ID] FROM [Items] WITH (NOLOCK) WHERE [ID] = @itemId)&#xA;  ORDER BY [ItemId], [Order] ASC, [Language] DESC, [Version] DESC',N'@itemId uniqueidentifier',@itemId='D462DDA8-B2A5-482B-96F8-87B260D00F2B'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2019-03-04T20:52:01.110" Title="Glass GetRenderingParameters SQL query" Tags="|glass-mapper|performance-optimization|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17210" PostTypeId="2" ParentId="17194" CreationDate="2019-03-05T02:29:37.593" Score="6" Body="&lt;p&gt;The code you are referencing is part of the process that details how List Manager, or the Marketing Operations of Sitecore, handles mapping imported CSV data to facets on a contact.  &lt;em&gt;At least that's the documentation link that you provided.&lt;/em&gt;  The documentation link describes a generic scenario where the purpose of this mapping facet is to map the &lt;strong&gt;Personal&lt;/strong&gt; and &lt;strong&gt;Work&lt;/strong&gt; Email Address elements of the &lt;code&gt;CollectionModel.FacetKeys.AddressList&lt;/code&gt; facet with the data coming from the CSV column name &lt;code&gt;Emails_Other_Personal&lt;/code&gt; and  &lt;code&gt;Emails_Other_Work&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;CollectionModel.FacetKeys.AddressList&lt;/code&gt; is a Facet of the &lt;code&gt;EmailAddressList&lt;/code&gt; type.  On this class, there is a Property exposed that is a dictionary based on a key and the value of the type &lt;code&gt;EmailAddress&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In this example, we are adding to entries to the &lt;code&gt;Others&lt;/code&gt; dictionary. &lt;strong&gt;Personal&lt;/strong&gt; and &lt;strong&gt;Work&lt;/strong&gt; email addresses.&lt;/p&gt;&#xA;&lt;p&gt;The way the mapping feature works is actually via a little bit of brute force. In this example, the first thing we are doing is calling the overridden class object (in this case &lt;code&gt;PreferredEmailFacetMapper&lt;/code&gt; the Out of the Box mapper.  As the contact object is created and mapped, it attempts to map each facet against it's type. In this case, the mapper uses the &lt;code&gt;Map()&lt;/code&gt; method to compare the &lt;code&gt;Facetkey&lt;/code&gt; against the object record. If the key matches, it instantiates the object. If it doesn't, it returns null.&lt;/p&gt;&#xA;&lt;p&gt;So, by calling the &lt;code&gt;PreferredEmailFacetMapper&lt;/code&gt;, if this is the correct facet, we should get an object back, hence the first null check.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;// Call the existing email mapper to map all the basic email fields&#xA;var result = this.mapper.Map(facetKey, facet, mappings, data);&#xA;var facetMappedResult = result as FacetMapped;&#xA;if (facetMappedResult == null)&#xA;{&#xA;  return result;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Next up, we try to instantiate the &lt;code&gt;facetMappedResult&lt;/code&gt; as a facet of the &lt;code&gt;EmailAddressList&lt;/code&gt; type, which is the out of the box type for the Email Address List portion of the contact facet.  If by some strange reason, this isn't an Email Address List facet, we'll get a null so that we can return out of the process. Otherwise, we move along.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var partiallyMappedFacet = facetMappedResult.Facet as EmailAddressList;&#xA;if (partiallyMappedFacet == null)&#xA;{&#xA;  return result;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Now we have the correct objects, of the correct types, for our correct facet. We can now do the work we need to.  In this case, the next piece of the puzzle is to get the Personal and Work email addresses from the CSV file for the current contact that we are importing. That's where &lt;code&gt;mappings&lt;/code&gt; comes into play.  &lt;code&gt;GetValue&lt;/code&gt; takes the CSV column header of &lt;code&gt;Email_Others_Personal&lt;/code&gt; and fetches the value from the data collection passed in.&lt;/p&gt;&#xA;&lt;p&gt;If it's not null or empty, we then add the &lt;code&gt;EmailAddress&lt;/code&gt; object to the &lt;code&gt;Others&lt;/code&gt; Element Dictionary, using the key value of &lt;code&gt;Personal&lt;/code&gt; (or &lt;code&gt;Work&lt;/code&gt; respectively).&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;// Set Personal email&#xA;var personalEmail = mappings.GetValue(&amp;quot;Emails_Others_Personal&amp;quot;, data);&#xA;if (!string.IsNullOrWhiteSpace(personalEmail))&#xA;{&#xA;  partiallyMappedFacet.Others[&amp;quot;Personal&amp;quot;] = new EmailAddress(personalEmail, false);&#xA;}&#xA;// Set Work email&#xA;var workEmail = mappings.GetValue(&amp;quot;Emails_Others_Work&amp;quot;, data);&#xA;if (!string.IsNullOrWhiteSpace(workEmail))&#xA;{&#xA;  partiallyMappedFacet.Others[&amp;quot;Work&amp;quot;] = new EmailAddress(workEmail, false);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And viola! We're done.&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;h1&gt;BUT WAIT...&lt;/h1&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;strong&gt;That's if you were trying to achieve this very specific task.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;None of this has anything to do with creating a custom contact facet. In fact, this documentation page makes the assumption that you already have facets that you've created and are simply trying to add a mapping for a custom CSV import. No custom contact facets are being added here.&lt;/p&gt;&#xA;&lt;p&gt;If you are trying to create a custom facet, and this documentation page confuses you, you may be looking for the documentation page that discusses creating the &lt;strong&gt;actual&lt;/strong&gt; custom contact facet.&lt;/p&gt;&#xA;&lt;h2&gt;xConnect and Contact Facets&lt;/h2&gt;&#xA;&lt;p&gt;Sitecore provides a 5 Part Tutorial on xConnect which explains how to create custom facets, not just for contacts, but also interactions.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Tutorial #1: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/xconnect-tutorial--1--create-a-contact-and-an-interaction.html&quot; rel=&quot;noreferrer&quot;&gt;Create a contact and an interaction&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Tutorial #2: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/xconnect-tutorial--2--set-contact-and-interaction-facets.html&quot; rel=&quot;noreferrer&quot;&gt;Set contact and interaction facets&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Tutorial #3: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/xconnect-tutorial--3--get-contacts.html&quot; rel=&quot;noreferrer&quot;&gt;Get contacts&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Tutorial #4: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/xconnect-tutorial--4--search-contacts-and-interactions.html&quot; rel=&quot;noreferrer&quot;&gt;Search contacts and interactions&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Tutorial #5: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/xconnect-tutorial--5--create-custom-facets-and-events.html&quot; rel=&quot;noreferrer&quot;&gt;Create custom facets and events&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;em&gt;This looks like it's about xConnect. Did you say above that the code above references List Manager? This doesn't look like List Manager.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;In Sitecore 9 and later, the introduction of xConnect has brought on some clarity (or confusion depending on your lens) on how xDB information is collected. xConnect has been developed to clearly define the role of Sitecore in creating and consuming xDB data. That means Sitecore is now just a client of xConnect. This also means that Contacts are a construct of xConnect (or really xDB and xConnect is just the service layer) which means if we need to make modifications to the model of a Contact, we have to tell xConnect about it. That's why this tutorial exists, in order to explain how to modify xConnect.&lt;/p&gt;&#xA;&lt;p&gt;In the example stated in the question, Sitecore, or more specifically List Manager, is just a consumer of the contact and we are just mapping data to already established contact facets.&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-05T02:45:54.427" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17211" PostTypeId="2" ParentId="8457" CreationDate="2019-03-05T02:37:59.137" Score="0" Body="&lt;p&gt;Check in command prompt which service using 443 port. In my case &quot;solrApache&quot;. I stopped that service and start re-run the script. it's work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below command help to find which service using this port&lt;/p&gt;&#xA;&#xA;&lt;p&gt;netstat -aon | find &quot;:443&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Refer to this blog:&#xA;&lt;a href=&quot;https://chebalt.wordpress.com/2017/11/22/sitecore-9-installation-tips/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://chebalt.wordpress.com/2017/11/22/sitecore-9-installation-tips/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1093" LastActivityDate="2019-03-05T02:37:59.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17212" PostTypeId="2" ParentId="17201" CreationDate="2019-03-05T03:36:01.143" Score="5" Body="&lt;p&gt;Looks like you are in the right direction.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) The ServerTimeZone config needs to be set to match your timezone.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;600&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) If you are running versions earlier than Sitecore 9.0, make sure you didn't change the default value (false) of this setting. Keeping it as false will display local server time zone in analytics reports&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.Reports.DisplayDatesInUtc&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3) In your codes which creates content, continue storing your date/time in UTC format. This way, date/time in your database is always in UTC, and the ServerTimeZone setting merely changes how it is being converted and displayed in local time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more details in these 2 links&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/settings-supporting-utc-implementation.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/settings-supporting-utc-implementation.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/storing-date-time-values-in-databases.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/storing-date-time-values-in-databases.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-03-05T03:36:01.143" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17213" PostTypeId="2" ParentId="17139" CreationDate="2019-03-05T03:45:42.773" Score="20" Body="&lt;h1&gt;Validating Installations&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;To understand how to validate all of the different parts of Sitecore, you first must understand what parts exist, why they exist, and how they work together. We'll begin with a short definition of terms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the world of Sitecore 9.1, there are three PRIMARY applications in play. One or more instances of &lt;strong&gt;Sitecore&lt;/strong&gt;, 1 implementation of &lt;strong&gt;xConnect&lt;/strong&gt;, and 1 implementation of &lt;strong&gt;Identity Server&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Identity Server&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This should be a pretty transparent service. However, if something is not working right, you will &lt;strong&gt;NOT be able to log into Sitecore&lt;/strong&gt;. This is ONLY available in Sitecore 9.1 or higher and not used in Sitecore 9.0.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore Instance(s)&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In the world of Sitecore, there can be multiple instances of the application of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content Management (CM)&lt;/li&gt;&#xA;&lt;li&gt;Content Delivery (CD)&lt;/li&gt;&#xA;&lt;li&gt;Processing (PRC)&lt;/li&gt;&#xA;&lt;li&gt;Reporting (REP)&lt;/li&gt;&#xA;&lt;li&gt;Dedicated Dispatch Server (DDS, used for EXM)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Each of these instances is the same application, just installed multiple times with slight configuration change.  What that means is that verifying an install is pretty much identical across all of these instances, which some varied nuance.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1. Verify the Sitecore Log (ALL Instances)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Each instance of Sitecore will generate log files when the web application pool (or worker process) spins up. These will be in the &lt;code&gt;App_Data\logs&lt;/code&gt; folder.  If you are not generating logs, there is something at the IIS level seriously wrong.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;2. Inspect the Sitecore log(s) (ALL Instances)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Taking a peek into the Sitecore log (&lt;code&gt;log.yyyymmdd&amp;lt;.hhmmss&amp;gt;.txt&lt;/code&gt;), we should see the standard Sitecore spin up log messages. From there, we should &lt;strong&gt;NOT&lt;/strong&gt; see error messages.  If you do, that instance is not validated.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;PROTIP:&lt;/strong&gt; If you are a new Sitecore Developer, memorizing by heart the elements of a Sitecore log, especially on startup, can help you learn a&#xA;  lot, about what Sitecore is doing under the covers.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;3. Login to Sitecore and inspect modules.  (CM Only)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Logging into Sitecore, on the CM, is our first test to understanding if everything is starting to wire up correctly.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;On the Launchpad, the Analytics graphs should load, even if there's no data. The empty graphs should load. If they do not load, even after a couple of refreshes, this may be caused by an issue communicating with the &lt;strong&gt;Reporting&lt;/strong&gt; instance of Sitecore or the &lt;strong&gt;Reference Data&lt;/strong&gt; service of xConnect (more on that later).&lt;/li&gt;&#xA;&lt;li&gt;Open the Content Editor and make sure you can browse items. Issues here might indicate an issue with SQL.&lt;/li&gt;&#xA;&lt;li&gt;Attempt to do a search of items in the Content Editor. This will reveal issues with Solr or your indexing mechanism.&lt;/li&gt;&#xA;&lt;li&gt;Open up the Experience Editor. This ensures the rendering engine is working (more appropriate once the custom code has been applied).&lt;/li&gt;&#xA;&lt;li&gt;On up Control Panel, and rebuild indexes. This will also point to issues with the indexing mechanism.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If all of the above checks out, then you can be pretty confident that Content Management, SQL Server, and Indexer (Solr, Azure, etc) are working as expected.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;4. Test the Website Front end (CD only)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is a pretty easy test.  Once the custom code is deployed (or if just using the default Sitecore sample site) loading up the home page should reveal a page. If it does, you can be confident about the CD's, assuming you also checked the log files.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;5. Test Analytics.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is the &lt;strong&gt;&lt;em&gt;harder&lt;/em&gt;&lt;/strong&gt; part. We need to make sure that Analytics is working. But it's a multipart checklist.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Generate some visits on the CD. Make a special note on how long the session time out is and make sure you allow that time to pass before proceeding. (Default is 20 minutes, and this can be found in the web.config of the CD role).&lt;/li&gt;&#xA;&lt;li&gt;If the system is working appropriately, after the session timeout, you should begin to see analytics flowing into Sitecore's Experience Analytics (on the CM server). &#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If you do, then you have just validated, xConnect Collection Service, xConnect Collection Search Service, xConnect Reference Data, Sitecore Processing, and lastly Sitecore Reporting.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;em&gt;IF YOU DO NOT&lt;/em&gt;&lt;/strong&gt;, Houston we have a problem. This problem means that there could be one to many failures happening along the way.  Which leads us to verification of xConnect.&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;xConnect Implementation&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;xConnect is a collection of .NET Core services running 5(6) distinct responsibilities:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Collection (IIS Site, API)&lt;/li&gt;&#xA;&lt;li&gt;Collection Search (Windows Service or Azure WebJob)&lt;/li&gt;&#xA;&lt;li&gt;Reference Data (IIS Site, API)&lt;/li&gt;&#xA;&lt;li&gt;Marketing Automation Engine (Windows Service or Azure WebJob)&lt;/li&gt;&#xA;&lt;li&gt;Marketing Automation Reporting (IIS Site, API)&lt;/li&gt;&#xA;&lt;li&gt;Processing Engine (Windows Service or Azure Webjob, New in Sitecore 9.1, not in 9.0)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;1. Verify xConnect Internal Communication&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Collection, Collection Search, and Reference Data&lt;/strong&gt; all talk to each other, frequently. They are very chatty. This means, that if you look at the &lt;strong&gt;IIS W3SCV Logs&lt;/strong&gt; for each of the IIS sites running Collection and Reference Data, you'll see requests going back and forth.  The status codes in the IIS logs should always be &lt;strong&gt;200&lt;/strong&gt; for each request. 500's, 401's, and 403's, all indicate there is a specific issue with those services.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; on a busy content delivery site, with LOTS of traffic, the&#xA;  CD is &lt;strong&gt;constantly&lt;/strong&gt; talking to the Collection Service. This means you&#xA;  can see requests in the IIS log from the CD server, hitting the&#xA;  Collection Service. These should always be 200's.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;PROTIP:&lt;/strong&gt; 99.99% of the time there's an issue here, it's certificate related. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h3&gt;2. Verify and Inspect xConnect Service Logs (ALL Instances)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;App_data\logs&lt;/code&gt; folder for the IIS Sites, or the &lt;code&gt;App_data\jobs\continous\&amp;lt;service name&amp;gt;\App_data\logs&lt;/code&gt; folder for the windows services, inspect the logs and ensure there are no Applicaiton Errors being logged.  When everything is running smoothly, these log files are NOT written to frequently.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;3. Test Marketing Automation Reporting service&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;On the Content Management Server, open up Marketing Automation, and go into a plan (or create a plan). Start the plan, and then click reports.  The reports should load (even if zero's) and not provide an error. Errors at this point indicate an issue that particular service (again probably certificates)&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;4. Testing the Marketing Automation Engine&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There's no way to really test this service, except to ... well... start a plan and see if you can get a contact to go into it. Monitor the application log for errors, otherwise, just &lt;strong&gt;assume it's working&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;That is in a nutshell, how to test all of the instances.  Any issues, along the way, will require immense amount of troublehsooting that is really outside the scope of this answer.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-08-29T21:08:43.547" LastActivityDate="2019-08-29T21:08:43.547" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17215" PostTypeId="2" ParentId="16812" CreationDate="2019-03-05T07:10:16.910" Score="2" Body="&lt;p&gt;I created a module which does what you need and explained how it works in my blog post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.skillcore.net/sitecore/sitecore-page-rules&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.skillcore.net/sitecore/sitecore-page-rules&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;General idea is that your page template contains a &lt;code&gt;Rules&lt;/code&gt; field where you can set any conditions and actions you want. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then there is a pipeline processors which runs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var rules = RuleFactory.GetRules&amp;lt;PageRulesRuleContext&amp;gt;(rulesField);&#xA;&#xA;if (rules == null || rules.Count == 0)&#xA;    return;&#xA;&#xA;var ruleContext = new PageRulesRuleContext();&#xA;rules.Run(ruleContext);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;One of the actions I've created is &lt;code&gt;Redirect to another page&lt;/code&gt; action. Just use it together with &lt;code&gt;when user is anonymous&lt;/code&gt; condition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be aware that I haven't tested it with JSS so you may need to hook into some other pipeline, not the one I used.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-05T07:10:16.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17219" PostTypeId="1" CreationDate="2019-03-05T11:25:26.273" Score="1" ViewCount="1213" Body="&lt;p&gt;Is there any recommended way to configure 'Required if' Validation in Sitecore Forms? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, field A is required if checkbox B is ticked?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the moment for most form elements I seem limited to optional or mandatory:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x2ZGo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x2ZGo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the answer just to build a custom validator for each input type? I am using Sitecore 9 Update 1&lt;/p&gt;&#xA;" OwnerUserId="1298" LastActivityDate="2019-03-05T12:18:29.453" Title="'Required if' Validation in Sitecore Forms" Tags="|sitecore-forms|mvc-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17221" PostTypeId="2" ParentId="17219" CreationDate="2019-03-05T12:18:29.453" Score="1" Body="&lt;p&gt;At the moment, that is not possible ootb. So you will need a custom validation. My own blog post could be a start (&lt;a href=&quot;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-custom-validation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-custom-validation.html&lt;/a&gt;) but there is also documentation on the Sitecore docs (&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-validation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-validation.html&lt;/a&gt;).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to make you validation a bit generic - e.g. add the checkbox B as a parameter so you can reuse the validator on multiple forms..  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: and if you wrote this conditional validation, sharing it with the community would be appreciated ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-05T12:18:29.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17222" PostTypeId="2" ParentId="9095" CreationDate="2019-03-05T14:10:46.280" Score="3" Body="&lt;p&gt;The answer from @Michael West is the most complete. One piece that is missing, however, is how to handle a secured Solr connection, i.e. any 9.x connections that use &lt;code&gt;https&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case, I was using self-signed certs that I generate. In order to get replication working properly over https, the same certificate must be used for all Solr instances. In my case, it was a master and a single slave, but the same holds true for multiple slaves.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When generating the Solr certificate, you must ensure that the certificate covers all Solr instances. You can achieve this with a wildcard certificate or a SAN certificate (which is what I went with).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Powershell to Generate Cert&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$cert = New-SelfSignedCertificate -DnsName &quot;DNS1.com&quot;,&quot;DNS2.com&quot; -CertStoreLocation &quot;cert:\LocalMachine&quot; -NotAfter (Get-Date).AddYears(10) &#xA;$store = New-Object System.Security.Cryptography.X509Certificates.X509Store &quot;Root&quot;,&quot;LocalMachine&quot;&#xA;$store.Open(&quot;ReadWrite&quot;)&#xA;$store.Add($cert)&#xA;$store.Close()&#xA;$cert | Remove-Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Pay special attention to how multiple DNS names are formatted in the cmdlet.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will likely generate the certificate in the wrong location (I tried multiple times to add it to the Trusted Root Authority directly, but it wouldn't let me). So export it:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Powershell to Export Cert&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$cert = Get-ChildItem Cert:\LocalMachine\Root -Recurse | where Subject -match &quot;DNS1.com&quot;&#xA;$certStore = &quot;c:\Solr\solr-6.6.2\server\etc\solr-ssl.keystore.pfx&quot;&#xA;$certPwd = ConvertTo-SecureString -String &quot;MYPASSWORD&quot; -Force -AsPlainText&#xA;$cert | Export-PfxCertificate -FilePath $certStore -Password $certpwd | Out-Null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note that the &lt;code&gt;Subject&lt;/code&gt; is the first DNS name specified. Also, in my case, I exported it directly to the Solr file system store.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Clean Up&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Remove any Solr certificates in Personal Store:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Run&lt;/li&gt;&#xA;&lt;li&gt;mmc.exe&lt;/li&gt;&#xA;&lt;li&gt;Add Snap-In: certificates &gt; Local Computer&lt;/li&gt;&#xA;&lt;li&gt;Delete any certs in Personal Store that pertain to Solr&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Usage&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Follow any Solr SSL guides (like &lt;a href=&quot;https://jermdavis.wordpress.com/2017/10/30/low-effort-solr-installs/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Jeremy Davis' Low Effort Guide&lt;/a&gt;). Be sure to use this same certificate on all Solr instances that are installed. The thumbprint must match on all servers.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why is this required?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Solr has it's own &quot;store&quot;. It's not much like a Windows Store or Java Store though... it allows only for a single certificate. This certificate is used on the instance it is installed on as well as any instances it tries to contact- thus the need for all DNS names to be present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://lucene.472066.n3.nabble.com/Solr-6-6-2-Master-Slave-SSL-Replication-Error-td4386481.html#d1524444037000-788&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://lucene.472066.n3.nabble.com/Solr-6-6-2-Master-Slave-SSL-Replication-Error-td4386481.html#d1524444037000-788&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-03-05T14:10:46.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17223" PostTypeId="1" CreationDate="2019-03-05T15:33:36.677" Score="0" ViewCount="113" Body="&lt;p&gt;Good day,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not want to show the port of the link in COVEO.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: &#xA;In this moment:&#xA;&lt;a href=&quot;https://test.testpage.com:443/places/cub&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://test.testpage.com:443/places/cub&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I want:&#xA;&lt;a href=&quot;https://test.testpage.com/places/cub&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://test.testpage.com/places/cub&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is any configuration that I can modify to reach this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;" OwnerUserId="5182" LastActivityDate="2019-03-05T16:28:03.357" Title="I do not want to show the port in clickUri" Tags="|coveo|" AnswerCount="1" CommentCount="2" ClosedDate="2019-03-06T11:53:06.513" ContentLicense="CC BY-SA 4.0" />
  <row Id="17224" PostTypeId="2" ParentId="17183" CreationDate="2019-03-05T15:40:14.493" Score="5" Body="&lt;p&gt;SitecoreIdentityServer in the URL /identity/login/shell/SitecoreIdentityServer is just an identity provider name which is configured in Sitecore.Owin.Authentication.IdentityServer.config. It should be SitecoreIdentityServer for everyone until we change the config manually for some reasons. So basically you no need to worry about redirection to /identity/login/shell/SitecoreIdentityServer when accessing the Sitecore, because Sitecore in-built provider will take care of this and redirect you to the respective identity server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you can verify the below items to just make sure that your update is proper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Verify the Sitecore.Owin.Authentication.IdentityServer.config, you should be having a variable which contains the identity server host details something like the below,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;identityServerAuthority&quot; value=&quot;https://pocsite.identityserver/&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update the value if your identity server hosted in a different URL. Also make sure your Sitecore host name is allowed in your identity server, you can confirm this by navigating to the identity server root and verify the below host file &lt;/p&gt;&#xA;&#xA;&lt;p&gt;.\Identity\Config\production\Sitecore.IdentityServer.Host.xml&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;AllowedCorsOrigins&amp;gt;&#xA;            &amp;lt;AllowedCorsOriginsGroup1&amp;gt;http://pocsite1.sc&amp;lt;/AllowedCorsOriginsGroup1&amp;gt;&#xA;            &amp;lt;AllowedCorsOriginsGroup2&amp;gt;http://pocsite2.sc&amp;lt;/AllowedCorsOriginsGroup2&amp;gt;&#xA;&amp;lt;/AllowedCorsOrigins&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you don't see your sitecore host name in the above xml file then just add it.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-05T15:40:14.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17225" PostTypeId="2" ParentId="16379" CreationDate="2019-03-05T16:00:03.383" Score="1" Body="&lt;p&gt;The Marketing control panel and some other parts of the puzzle have been removed from the XM version for performance reasons. I am led to believe you are able to run an XP version with xDb disabled under an XM licence. I would recommend checking with Sitecore for clarification on this though.&lt;/p&gt;&#xA;" OwnerUserId="5183" LastActivityDate="2019-03-05T16:00:03.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17226" PostTypeId="2" ParentId="17223" CreationDate="2019-03-05T16:28:03.357" Score="2" Body="&lt;p&gt;I believe that you are referring clickable uri value. Coveo uses targethostname or hostname values that are set on the site definition. &lt;a href=&quot;https://docs.coveo.com/en/2545/coveo-for-sitecore-v5/understanding-how-the-clickableuri-value-is-computed&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.coveo.com/en/2545/coveo-for-sitecore-v5/understanding-how-the-clickableuri-value-is-computed&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4868" LastActivityDate="2019-03-05T16:28:03.357" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17227" PostTypeId="1" CreationDate="2019-03-05T17:39:01.863" Score="0" ViewCount="216" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/785AT.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/785AT.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to install sitecore 9.1 but I got this error so unable to install, please help me &lt;/p&gt;&#xA;" OwnerUserId="5120" LastEditorUserId="70" LastEditDate="2019-03-05T20:20:19.800" LastActivityDate="2019-05-25T20:56:57.270" Title="Error installation Sitecore 9.1" Tags="|sitecore-install-framework|installation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17228" PostTypeId="2" ParentId="15389" CreationDate="2019-03-05T18:30:59.740" Score="0" Body="&lt;p&gt;Just in case it may help someone - I just went past this issue, after spending the good part of the afternoon on it, by realizing that I had to install the package on the Sitecore server, and not on the database server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found everything I needed (and much more) in the SQL Server Feature Pack 2016 download page: &lt;a href=&quot;https://www.microsoft.com/en-us/download/confirmation.aspx?id=52676&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.microsoft.com/en-us/download/confirmation.aspx?id=52676&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-03-05T18:30:59.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17229" PostTypeId="2" ParentId="17227" CreationDate="2019-03-05T18:42:26.420" Score="6" Body="&lt;p&gt;This error belongs to your windows user permissions. Just be sure that you run PowerShell as Administrator. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;(When you call SetAccessRule() to set access rights on a windows file/directory, the user who will get the permission has to be a member of the Administrators group. If the user is not a member of the Administrators group PowerShell shows the error message Exception calling &quot;SetAccessRule&quot; with &quot;1&quot; argument(s): &quot;Some or all identity references could not be translated.&quot;)&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-03-05T18:42:26.420" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17230" PostTypeId="1" CreationDate="2019-03-05T18:48:10.703" Score="6" ViewCount="3703" Body="&lt;p&gt;Ok, i see many examples of this online but none seems to work, maybe those examples are for older Sitecore. I simply want to detect if the user is on regular site view or if they are on experience editor using some JS. I was messing with console and saw this method &lt;code&gt;Sitecore.PageModes.PageEditor.ExperienceEditor.length&lt;/code&gt; but it always return 0. I saw many examples with c#/razor but interested in js for now.&lt;/p&gt;&#xA;" OwnerUserId="5032" LastEditorUserId="731" LastEditDate="2019-03-05T18:53:52.130" LastActivityDate="2021-08-27T11:34:23.337" Title="Detect if page is on experience editor Sitecore 9 via Javascript?" Tags="|experience-editor|presentation|" AnswerCount="6" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17231" PostTypeId="2" ParentId="17230" CreationDate="2019-03-05T19:12:38.480" Score="8" Body="&lt;pre&gt;&lt;code&gt;var isPageEditor = function(){&#xA;    return !!(Sitecore &amp;amp;&amp;amp; Sitecore.PageModes &amp;amp;&amp;amp; Sitecore.PageModes.PageEditor);&#xA;};&#xA; &#xA;if(isPageEditor()) {&#xA;    // Write your logic here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Here are some more details:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://itsmycode.com/how-to-detect-page-editor-mode-in-sitecore-through-code/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://itsmycode.com/how-to-detect-page-editor-mode-in-sitecore-through-code/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://mattneil.co.uk/2016/12/08/detect-sitecore-page-modes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mattneil.co.uk/2016/12/08/detect-sitecore-page-modes/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="5861" LastEditDate="2021-08-27T11:34:23.337" LastActivityDate="2021-08-27T11:34:23.337" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17232" PostTypeId="2" ParentId="17230" CreationDate="2019-03-05T20:09:25.903" Score="1" Body="&lt;p&gt;Thanks to vlad lobagiu.   I tried vlad lobagiu answer but on regular view i am getting this error &quot;Uncaught ReferenceError: Sitecore is not defined at pageEditorMode&quot;&quot; it works on editor mode, i am guessing sitecore object is not available on published site(make sense) . Basically i am trying to disable sticky nav on experiance editor, I put a try catch around like below to solve for now. Is there a better way to solve this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    try {&#xA;     // Sitecore global name space in page editor or preview mode&#xA;     var pageEditorMode = function () {&#xA;        return !!(Sitecore &amp;amp;&amp;amp; Sitecore.PageModes &amp;amp;&amp;amp; Sitecore.PageModes.PageEditor);&#xA;     };&#xA;&#xA;     if (pageEditorMode()) {&#xA;        console.log(&quot;Experience editor detected, not adding sticky white header&quot;)&#xA;     }&#xA;     else {&#xA;        function()&#xA;&#xA;     }&#xA;  } catch (error) {&#xA;     if (error) {&#xA;                    function()&#xA;&#xA;     }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5032" LastEditorUserId="5032" LastEditDate="2019-03-05T20:17:20.353" LastActivityDate="2019-03-05T20:17:20.353" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17233" PostTypeId="2" ParentId="17230" CreationDate="2019-03-05T20:15:49.977" Score="2" Body="&lt;p&gt;Sitecore.PageModes.PageEditor.ExperienceEditor is an internal EE function that you can`t call direct to return true/false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As @Vlad mentioned, in EE you can check it with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var isExperienceEditor = !!(Sitecore &amp;amp;&amp;amp; Sitecore.PageModes &amp;amp;&amp;amp; Sitecore.PageModes.PageEditor)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(it means that all these objects are not undefined == you are in EE).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But 'Sitecore' namespace doesn`t exist in Normal page mode and as a workaround you can use your custom global variable that is initialized in a layout of your page (with razor or aspx syntax)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script&amp;gt;&#xA;    var isExperienceEditor = Json.Encode(Sitecore.Context.PageMode.IsExperienceEditor);&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-03-05T21:20:12.013" LastActivityDate="2019-03-05T21:20:12.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17234" PostTypeId="2" ParentId="17230" CreationDate="2019-03-05T20:17:37.693" Score="4" Body="&lt;p&gt;This has worked for us. Note that we adjusted our layout view to add the &lt;code&gt;sc-edit-mode&lt;/code&gt; CSS class to the body, which also helps identify Experience Editor mode.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;&lt;code&gt;isPageEditor()&lt;/code&gt; function&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function isPageEditor() {&#xA;    return (!!((typeof Sitecore !== &quot;undefined&quot;) &amp;amp;&amp;amp; (typeof Sitecore.PageModes !== &quot;undefined&quot;) &amp;amp;&amp;amp; (typeof Sitecore.PageModes.PageEditor !== &quot;undefined&quot;)) || (document.body &amp;amp;&amp;amp; document.body.getAttribute(&quot;class&quot;) === &quot;sc-edit-mode&quot;));&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;View modifications&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;html class=&quot;@(Sitecore.Context.PageMode.IsExperienceEditor ? &quot;sc-edit-mode&quot; : string.Empty)&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-03-05T21:05:29.233" LastActivityDate="2019-03-05T21:05:29.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17235" PostTypeId="1" CreationDate="2019-03-05T22:45:16.793" Score="1" ViewCount="1210" Body="&lt;p&gt;I'm using Sitecore 9.1 and SXA 1.8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have 2 servers, 1 for CM and 1 for CD, I created a site on the CM server and published it, but whenever I try to access that site on the CD I am routed to the default home page of &quot;website&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried checking web database from the sitecore launchpad and found my content is there, so i don't think this is a publishing issue, i'm just not sure how to fix it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a screenshot of my site manager:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/SuH4A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SuH4A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried multiple times to publish my whole site, or the entire sitecore node in the tree, but that didn't help, whenever I try to access my published site i get routed to the default home page of sitecore, and if i try to access a published page of mine, i get this error page as well&#xA;&lt;a href=&quot;https://i.stack.imgur.com/SRF42.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SRF42.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;apparently it's &lt;em&gt;still&lt;/em&gt; trying to access the &quot;website&quot; site, although I am supposedly blocking it in my site manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been searching for hours for a solution, does anyone have any advice what the problem here could be?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: Here are screenshots for my Portal site configurations from SXA site manager&#xA;&lt;a href=&quot;https://i.stack.imgur.com/b8h6B.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b8h6B.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Dw5NC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Dw5NC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1H9fZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1H9fZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/scqxl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/scqxl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="95" LastEditDate="2019-03-06T03:46:16.520" LastActivityDate="2019-06-26T10:23:34.740" Title="Can't reach any pages on published site in CD (404 error)" Tags="|sxa|content-delivery|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17236" PostTypeId="2" ParentId="17167" CreationDate="2019-03-05T23:58:50.993" Score="2" Body="&lt;p&gt;I suspect you are running into a certificate issue where you have self signed certificates in the Trusted Root that need to be removed.  Check out this blog post.&#xA; &lt;a href=&quot;https://getfishtank.ca/en/blog/sitecore-9-xconnect-status-403-forbidden-certificate-error&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://getfishtank.ca/en/blog/sitecore-9-xconnect-status-403-forbidden-certificate-error&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main point of the post is to remove the non-self signed certificates in your root.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will list you certificates that need to be removed.  This command should return no results, if everything is OK.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now you need to remove them. The following powershell will remove the offending certificates.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Move-Item -Destination Cert:\LocalMachine\CA &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-03-06T00:06:59.750" LastActivityDate="2019-03-06T00:06:59.750" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17237" PostTypeId="2" ParentId="17147" CreationDate="2019-03-06T00:36:13.703" Score="0" Body="&lt;p&gt;Turns out there's an easier way to expose fields for editing that aren't displayed on the page. I wasn't aware of the Page Metadata, Other button on the Experience Accelerator tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yF3p8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yF3p8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-03-06T00:36:13.703" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17238" PostTypeId="1" AcceptedAnswerId="17240" CreationDate="2019-03-06T00:45:16.437" Score="4" ViewCount="705" Body="&lt;p&gt;By default, &lt;strong&gt;standard values are only applied to a template field if its value is null&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I heard during the &lt;em&gt;Sitecore Developer Foundation&lt;/em&gt; training that we can configure it so that an empty field would be replaced by its default value present in the standard values as well (note that Sitecore handles empty values differently from null values).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering, how we can do this?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="73" LastEditDate="2019-03-06T08:46:17.257" LastActivityDate="2019-03-06T08:46:17.257" Title="How to make a empty field behave like a null field value when it comes to standard values?" Tags="|templates|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17239" PostTypeId="1" CreationDate="2019-03-06T00:52:18.020" Score="0" ViewCount="276" Body="&lt;p&gt;I have a component that has following fields:&#xA;    Title&#xA;    Image&#xA;    Link Title&#xA;    Link&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Among these fields, Title and Link Title are not being saved while editing in the Experience Editor, upon saving it reverts to the value from content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However the other fields are correctly being saved.&#xA;Any advice, suggestions to resolve this issue would be greatly appreciated.&#xA;p.s. using glass mapper&lt;/p&gt;&#xA;" OwnerUserId="3632" LastActivityDate="2019-03-06T00:52:18.020" Title="Some fields are not being saved in experience editor" Tags="|experience-editor|glass-mapper|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17240" PostTypeId="2" ParentId="17238" CreationDate="2019-03-06T01:10:07.233" Score="4" Body="&lt;p&gt;When you check the &quot;Reset blank&quot; in the field's definition item, then it will set the standard value [which you entered in the _standard value of that template] whenever you clear/delete the field value. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fMyFu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fMyFu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-03-06T01:16:33.467" LastActivityDate="2019-03-06T01:16:33.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17242" PostTypeId="1" AcceptedAnswerId="17267" CreationDate="2019-03-06T05:01:54.937" Score="1" ViewCount="270" Body="&lt;p&gt;I have a Categories Item and Each category has Sub categories&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- Category 1 &#xA;       - Sub Category 1&#xA;       - Sub Category 1&#xA;       - Sub Category 1&#xA;&#xA;- Category 2&#xA;       - Sub Category 2&#xA;       - Sub Category 2&#xA;       - Sub Category 2&#xA;&#xA;- Category 3 &#xA;       - Sub Category 3&#xA;       - Sub Category 3&#xA;       - Sub Category 3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have Two MultiLists fields&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- Category&#xA;- SubCategory&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The query for &lt;code&gt;Category&lt;/code&gt; is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@templatename='Site']/Components/Categories Folder//*[@@templateid='{11170316-18F1-43A3-9FC8-CAEAA0134389}']/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This query is picking &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  -Category1&#xA;  -Category2&#xA;  -Category3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in the multilist which is fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to get SubCategory to be filled based on the Category MultiList selection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example if Category2 is selected in the Category multilist then SubCategory MultiList should have &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SubCategory2&#xA;SubCategory2&#xA;SubCategory2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in the multilist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone done something similar ?. Any help or suggestion would be appreciated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerDisplayName="user2980" LastEditorDisplayName="user2980" LastEditDate="2019-03-07T22:57:35.397" LastActivityDate="2019-03-07T22:57:35.397" Title="Multilist pick subcategory based on the category selection" Tags="|sitecore-query|tree-list|querybuilder|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17245" PostTypeId="1" CreationDate="2019-03-06T05:54:28.373" Score="1" ViewCount="812" Body="&lt;p&gt;I have setup the sitecore Jss react app to my sitecore instance.&#xA;I am using layout service api to get the data in JSON form.&#xA;It is giving data properly.&#xA;When I am using GhraphQL Query to fetch the of the item it giving CORS origin error &#xA;as below:&#xA;&lt;strong&gt;Access to fetch at '&lt;a href=&quot;http://sc910jss.local/sitecore/api/graph/items/master&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sc910jss.local/sitecore/api/graph/items/master&lt;/a&gt;' from origin '&lt;a href=&quot;http://localhost:3000&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:3000&lt;/a&gt;' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to set the header Access-Control-Allow-Origin and also mode to 'no-cors' but still getting same error.&#xA;Please help me into this.&#xA;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5083" LastEditorUserId="73" LastEditDate="2019-03-06T08:39:45.100" LastActivityDate="2019-03-06T08:39:45.100" Title="Fetching data using GhraphQL Query Api mode" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17246" PostTypeId="2" ParentId="17245" CreationDate="2019-03-06T07:13:38.067" Score="2" Body="&lt;p&gt;You must pass the SSC API key (the same one you use for JSS layout service) to the GraphQL endpoint, so that the API key's CORS configuration takes effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i.e. &lt;code&gt;/end/point?sc_apikey=YOUR-API-KEY-HERE&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-03-06T07:13:38.067" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17247" PostTypeId="1" AcceptedAnswerId="17248" CreationDate="2019-03-06T07:14:20.210" Score="5" ViewCount="994" Body="&lt;p&gt;We have a multilingual site and want to create a Sitecore package of items, but only include one specific language only (for example &lt;code&gt;de-de&lt;/code&gt; (German language)).&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="342" LastEditDate="2019-03-06T12:43:55.447" LastActivityDate="2021-08-11T08:27:03.257" Title="How to create specific language package for an item?" Tags="|package-designer|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17248" PostTypeId="2" ParentId="17247" CreationDate="2019-03-06T07:21:23.867" Score="4" Body="&lt;p&gt;When you select &lt;code&gt;Items dynamically&lt;/code&gt; source option, you can use &lt;code&gt;Language filter&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Y4en3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y4en3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Preview clearly shows that only &lt;code&gt;de&lt;/code&gt; version is added to the package:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qlLjH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qlLjH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-06T07:21:23.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17249" PostTypeId="2" ParentId="17247" CreationDate="2019-03-06T07:21:47.807" Score="2" Body="&lt;p&gt;On Sitecore Package Designer choose 'Items dynamically' option .&#xA; On second step you can choose Language filter option where you can specify particular language for items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i3Yc9.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i3Yc9.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-03-06T07:21:47.807" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17250" PostTypeId="2" ParentId="2696" CreationDate="2019-03-06T08:08:43.490" Score="0" Body="&lt;p&gt;Didn't see this two years ago, however a couple of notes when serialising:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Turn off lazy loading, this should disable the proxy objects that Glass uses&lt;/li&gt;&#xA;&lt;li&gt;Don't use interface templates, you will need to use classes for serialisation, again this is to avoid proxy object.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The Glass project contains some unit tests for serialisation which you might want to review as a reference:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/2696/redis-cache-with-glass-mapper-interfaces-in-sitecore-8-1-and-above&quot;&gt;Redis Cache with Glass mapper interfaces in Sitecore 8.1 and above&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="464" LastActivityDate="2019-03-06T08:08:43.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17251" PostTypeId="1" AcceptedAnswerId="17254" CreationDate="2019-03-06T08:33:22.387" Score="2" ViewCount="93" Body="&lt;p&gt;Whether Sitecore allows you to set up delayed item publication with related items? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an item with a &lt;code&gt;layout&lt;/code&gt; (page) that has a &lt;code&gt;placeholder&lt;/code&gt; with components and I would like to publish all dependent &lt;code&gt;DataSource&lt;/code&gt; for components when publishing a delayed page.&#xA;If so, how to do it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore version -&gt; 8.2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't have any workflows.&lt;/p&gt;&#xA;" OwnerUserId="2471" LastEditorUserId="5096" LastEditDate="2019-05-29T10:55:40.067" LastActivityDate="2019-05-29T10:55:40.067" Title="Delayed publication of the subject with related items" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17252" PostTypeId="1" AcceptedAnswerId="17253" CreationDate="2019-03-06T08:41:10.837" Score="0" ViewCount="58" Body="&lt;p&gt;We are currently implementing &lt;strong&gt;Commerce solution&lt;/strong&gt; based on &lt;strong&gt;SXA&lt;/strong&gt;-commerce approach (using Helix-architecture). We use &amp;amp; extend &lt;code&gt;Sitecore.Commerce.XA.*.dll&lt;/code&gt; libraries. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, for example, if we want to extend &lt;code&gt;Account&lt;/code&gt; module, we have our custom &lt;code&gt;ProjectName.Feature.Account&lt;/code&gt; project, where Sitecore-dll is referenced in this way:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Reference Include=&quot;Sitecore.Commerce.XA.Feature.Account&quot;&amp;gt;   &#xA;    &amp;lt;HintPath&amp;gt;&#xA;      $(SITECORE_PATH)\bin\Sitecore.Commerce.XA.Feature.Account.dll&#xA;    &amp;lt;/HintPath&amp;gt;&#xA;&amp;lt;/Reference&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;SITECORE_PATH&lt;/code&gt; is environment variable, that set to Sitecore IIS server path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I think, &lt;strong&gt;it's bad approach&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another way to manage these references? Which approache you use in your team? Maybe there's &lt;strong&gt;Nuget&lt;/strong&gt;, that could be used to this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. I know, there is &lt;a href=&quot;https://sitecore.myget.org/gallery&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Nuget Gallery&lt;/a&gt;, but I'm unable to find XA-libs there.&lt;/p&gt;&#xA;" OwnerUserId="3311" LastEditorUserId="73" LastEditDate="2019-03-06T08:44:48.643" LastActivityDate="2019-03-06T08:47:28.103" Title="Commerce Dependencies Management (Nuget maybe)" Tags="|sitecore-commerce|nuget|dependency-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17253" PostTypeId="2" ParentId="17252" CreationDate="2019-03-06T08:47:28.103" Score="1" Body="&lt;p&gt;Not sure about versions and such, but I can find the Account feature Commerce XA in the nuget feed:&#xA;&lt;a href=&quot;https://sitecore.myget.org/feed/sc-commerce-packages/package/nuget/Sitecore.Commerce.XA.Feature.Account&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/feed/sc-commerce-packages/package/nuget/Sitecore.Commerce.XA.Feature.Account&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So Nuget would be your answer indeed. By browsing the Commerce packages (&lt;a href=&quot;https://sitecore.myget.org/gallery/sc-commerce-packages&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/gallery/sc-commerce-packages&lt;/a&gt;) on the myget site and searching for &quot;XA&quot; I found quite some Commerce XA feature and foundation references.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-06T08:47:28.103" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17254" PostTypeId="2" ParentId="17251" CreationDate="2019-03-06T08:55:38.983" Score="2" Body="&lt;p&gt;There is no ootb solution for doing this. You can delay publication of items by setting publish restrictions: &lt;a href=&quot;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/set-up-publishing-restrictions-for-an-item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/set-up-publishing-restrictions-for-an-item.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to have those items published automatically you also need to enable auto-publish (maybe check this question as well: &lt;a href=&quot;https://sitecore.stackexchange.com/q/2053/237&quot;&gt;Auto publishing for specific items&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem with the ootb publish restrictions for you is that it would need to be set on all related items. You might consider not doing that and let the related items be published sooner, but only do that if they are not accessible directly (e.g. don't do that for a media asset). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the ootb functionality won't fit the needs, you'll need to go custom.   &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-06T08:55:38.983" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17256" PostTypeId="1" CreationDate="2019-03-06T10:13:02.347" Score="0" ViewCount="610" Body="&lt;p&gt;Recently we have upgraded Sitecore from 8.1 version to 9.0.1 version. After upgrade few of the pages were not able to load and it is showing following error.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The partial view '/Areas/company/Views/PartialLayouts/SpotContainer.cshtml' was not found or no view engine supports the searched locations. The following locations were searched:&#xA;/Areas/company/Views/PartialLayouts/SpotContainer.cshtml &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have checked Sitecore Presentation details for that page and found out that, we don't have any Rendering for Spotcontainer, however we have that as a Placeholder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the below solution, but it didn't worked. &#xA;&lt;a href=&quot;https://stackoverflow.com/questions/29833583/sitecore-placeholdercontent-searching-in-wrong-location-for-partial-view&quot;&gt;https://stackoverflow.com/questions/29833583/sitecore-placeholdercontent-searching-in-wrong-location-for-partial-view&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone help me to resolve this issue. &lt;/p&gt;&#xA;" OwnerUserId="711" LastActivityDate="2019-03-06T13:39:43.010" Title="The partial view '/Areas/company/Views/PartialLayouts/SpotContainer.cshtml' was not found or no view engine supports the searched locations" Tags="|sitecore-client|sitecore-api|upgrade|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17258" PostTypeId="1" CreationDate="2019-03-06T10:17:19.023" Score="1" ViewCount="58" Body="&lt;p&gt;The requirement is as soon as the content author drags and drop the newly created rendering from Sitecore SXA toolbox it should show top 6 article items sorted by published date desc. Also, they should be able to change the datasource of each article item. Now, if they want to select any other article item in place of any of top 6 earlier dragged rendering, they should able to do this. Any suggestions to go about it?&lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="5141" LastEditDate="2019-03-06T14:41:08.413" LastActivityDate="2019-03-06T14:41:08.413" Title="To create a rendering in which the list of items can be associated and able to change datasource of each item in list separately" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17259" PostTypeId="2" ParentId="17258" CreationDate="2019-03-06T10:29:15.827" Score="1" Body="&lt;p&gt;You could use a snippet. Snippets are composites that you can create yourself and combine a bunch of renderings to be reused later. &lt;a href=&quot;https://doc.sitecore.com/users/sxa/17/sitecore-experience-accelerator/en/add,-reuse,-and-edit-a-snippet.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/sxa/17/sitecore-experience-accelerator/en/add,-reuse,-and-edit-a-snippet.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only problem that I see with that approach is that it will not be pre-populated with the top 6 articles. The editor will have to set the datasources on each of them. You can set a default datasource, but that is not dynamic (so it will always stay the same).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to get exactly what you need, you will have to tweak the ootb functionality a little bit. One option could be to go along with the snippet and try to set the datasource when it is created. The SXA team might be able to help you if this is possible - they are available here and on Sitecore Slack..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option could be to extend an existing component (e.g. Promo) to show the list based on a datasource that should have a sortable list of the articles. BUt in this scenario you should also be able to hook into the datasource creation to get the initial list to be the &quot;top 6&quot; articles.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-06T10:29:15.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17260" PostTypeId="2" ParentId="15872" CreationDate="2019-03-06T10:35:53.607" Score="0" Body="&lt;p&gt;You should review &lt;code&gt;Sitecore.Owin.Authentication.Pipelines.Initialize.CookieAuthentication&lt;/code&gt; pipeline processor.&#xA;It uses &lt;strong&gt;Owin authentication&lt;/strong&gt; middleware (Cookie in this case). &#xA;So, your goal is to set &lt;code&gt;CookieDomain&lt;/code&gt; property in &lt;code&gt;CookieAuthenticationOptions&lt;/code&gt; before &lt;code&gt;args.App.UseCookieAuthentication&lt;/code&gt; called.&#xA;I think, you could do it in 2 ways:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Implement your own &lt;code&gt;CookieAuthentication&lt;/code&gt; pipeline and replace Sitecore's.&lt;/li&gt;&#xA;&lt;li&gt;Try to replace defaut &lt;code&gt;DefaultCookieAuthenticationOptions&lt;/code&gt; (it's defined as Transient service in &lt;code&gt;Sitecore.Owin.Authentication.Infrastructure.ServicesConfigurator&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3311" LastActivityDate="2019-03-06T10:35:53.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17262" PostTypeId="1" CreationDate="2019-03-06T11:51:14.277" Score="0" ViewCount="172" Body="&lt;p&gt;I created and started a page test in Experience Optimization in Sitecore. During the test creation I created a new version of item that I was going to test. Then I moved the new version of item to the Approved workflow state and publish this item with related items and subitems. And every time I open the page with test in browser (always in a new window in incognito mode) I see the latest version of this item and never the other versions under test. I get item from Sitecore to display it by the means of &lt;code&gt;Sitecore.Context.Database.GetItem(ID)&lt;/code&gt;. Any suggestions why it  is always displayed the latest version and users never can see the other versions that are under the page test. &lt;/p&gt;&#xA;" OwnerUserId="5085" LastActivityDate="2019-03-06T11:51:14.277" Title="The site always displays the latest version of the item that is under the page test" Tags="|content-testing|experience-optimization|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17263" PostTypeId="1" CreationDate="2019-03-06T13:00:27.657" Score="1" ViewCount="443" Body="&lt;p&gt;Is there a way to use sitecore query on multilist field where it can pre populate the items on right hand side ? &#xA;I need to pre populate items from a particular template in descending order based on a field and limit as 10. By default the selection will be pre populated and later user can select anyother item and rearrange it.&lt;/p&gt;&#xA;" OwnerUserId="5030" LastActivityDate="2019-03-07T14:07:24.240" Title="How to pre-populate the selection in Multilist field from a query in sitecore sxa" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17265" PostTypeId="1" AcceptedAnswerId="17270" CreationDate="2019-03-06T13:52:30.503" Score="0" ViewCount="583" Body="&lt;p&gt;I am trying to add social share to my site in order to be able to share some pages information on social media, I used SXA social component, I added share to &quot;twitter, Facebook and Linkedin&quot;, however I'm facing a problem in sharing to Facebook and linked-in.&#xA;I was only able to share the current page url because fb and linkedin APIs takes only the URL as a parameter. But I also need to share more details such as description, title, and image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For FB API I was following&#xA;&lt;a href=&quot;https://developers.facebook.com/docs/plugins/share-button/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt;&#xA;And for linkedin i was following &lt;a href=&quot;https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to share more than the page url to fb and linkedin?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="1671" LastEditDate="2019-03-07T13:03:01.357" LastActivityDate="2019-03-07T13:03:01.357" Title="How to share more than just the current page URL with Sitecore Social media Share?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17266" PostTypeId="1" AcceptedAnswerId="17269" CreationDate="2019-03-06T14:03:50.583" Score="2" ViewCount="547" Body="&lt;p&gt;I just installed a Vanilla 9.1 instance as part of my upgrade process. I used the XP Scaled Topology, as I will need some of its features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After installation, I found the following sites in IIS:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i8YXA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i8YXA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can guess some of them - cd, cm, identityserver - but I'm at a loss for the others.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the function of the .collection, .ma, .mareporting, .prc, .processingEngine, .refdata, .rep, .reporting, .search websites in Sitecore 9.1?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="342" LastEditDate="2019-03-06T14:08:39.427" LastActivityDate="2019-03-06T14:21:15.670" Title="What does each site of a vanilla 9.1 installation do?" Tags="|solution-architecture|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17267" PostTypeId="2" ParentId="17242" CreationDate="2019-03-06T14:04:29.413" Score="0" Body="&lt;p&gt;I am not sure if this can be done, and I don't think it's a good idea to make one field dependent on the other. Like what Dan mentioned, there would probably be issues around updating the 2 different fields at different scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest you use a tree list field type for this and utilise IncludeTemplatesForSelection option to limit users to choose only subcategories items types.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DataSource=/sitecore/content/home/CategoryRoot&amp;amp;AllowMultipleSelection=yes&amp;amp;IncludeTemplatesForSelection=Subcategory&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you need to force users to be able to only select subcategories from the same category, then you can create a custom field validator that checks if all selections belongs to the same parent category item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is definitely much easier than writing your own custom field and personally I think it is easier for the user to see all available category options at a glance within a single field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are some pretty good links that talks about treelist and custom validators that you can reference&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://firebreaksice.com/tame-your-sitecore-treelists/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://firebreaksice.com/tame-your-sitecore-treelists/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.habaneroconsulting.com/stories/insights/2016/creating-a-custom-field-validator-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.habaneroconsulting.com/stories/insights/2016/creating-a-custom-field-validator-in-sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-03-06T14:04:29.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17269" PostTypeId="2" ParentId="17266" CreationDate="2019-03-06T14:21:15.670" Score="13" Body="&lt;p&gt;They are mostly self-explanatory, but here is the list of suffixes with the role names/descriptions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.cm&lt;/strong&gt;: Content management server&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.cd&lt;/strong&gt;: Content delivery server&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.collection&lt;/strong&gt;: The xConnect collection server, collects contact and interaction data&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.identityserver&lt;/strong&gt;: New in 9.1, this is the new Identity Server used for logging into the various other Sitecore admin pages&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.ma&lt;/strong&gt;: Marketing Automation service&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.msreporting&lt;/strong&gt;: Marketing Automation reporting server&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.prc&lt;/strong&gt;: xDB Processing Service&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.processingEngine&lt;/strong&gt;: xDB Processing Engine&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.refdata&lt;/strong&gt;: Reference Data Service, Reference data includes things like event definitions.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.rep&lt;/strong&gt;: xDB Reporting&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.reporting&lt;/strong&gt;: xDB Reporting Service&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;*.search&lt;/strong&gt;: xConnect Search Indexer&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For more detailed information about each role, the Sitecore documentation has a lot here: &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/roles-overview.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/roles-overview.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-06T14:21:15.670" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17270" PostTypeId="2" ParentId="17265" CreationDate="2019-03-06T14:49:30.433" Score="3" Body="&lt;p&gt;So the way that most social sharing works is to share the url and pick up the description &amp;amp; image from the page. You can still control the description and image from the page by setting the Twitter Card and Open Graph fields on your page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In SXA, these fields are part of the default page templates. To set them, you need to click on the &lt;strong&gt;Social&lt;/strong&gt; button, in the &lt;strong&gt;Experience Accelerator&lt;/strong&gt; ribbon at the top. You can then populate the image and description you want to use for the social platforms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kI82L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kI82L.png&quot; alt=&quot;Entering social media sharing fields&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-06T14:49:30.433" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17271" PostTypeId="1" CreationDate="2019-03-06T14:53:56.753" Score="0" ViewCount="300" Body="&lt;p&gt;Can we dynamically manage the left and right-hand side of a Sitecore multilist field using queries? I want top 6 articles (sort based on published date desc) always pop up dynamically on the multilist right-hand side whereas we have all the articles list on the left-hand side of the multilist.&lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="35" LastEditDate="2019-03-07T08:35:13.570" LastActivityDate="2019-03-07T08:35:13.570" Title="Can we dynamically populate sitecore multilist field using sitecore queries?" Tags="|fieldtype|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17272" PostTypeId="1" CreationDate="2019-03-06T15:22:22.893" Score="1" ViewCount="179" Body="&lt;p&gt;I have created a custom ribbon button (Large Button) and a text field (Small Input Box). I can disable/enable these controls just fine when clicking an item (by the &lt;code&gt;CommandState QueryState()&lt;/code&gt; override).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when clicking the button, I need to set some text to the text field and disable the button, and I haven't found any ways to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I set the state (enable/disable, text) of other ribbon controls from a custom button?&lt;/p&gt;&#xA;" OwnerUserId="3587" LastEditorUserId="3587" LastEditDate="2019-03-06T17:47:22.090" LastActivityDate="2022-07-19T15:04:40.423" Title="Changing state of custom Ribbon controls" Tags="|content-editor|ribbon|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17273" PostTypeId="1" AcceptedAnswerId="17274" CreationDate="2019-03-06T15:27:38.100" Score="1" ViewCount="142" Body="&lt;p&gt;I'm upgrading to Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My solution will not need to use the EXM, Forms or MA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I get rid of them, together with their associated database? How can I go about doing this, and is it a good idea?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="246" LastEditDate="2019-03-06T15:57:49.010" LastActivityDate="2019-03-06T16:08:19.990" Title="Is it possible - and advisable - to remove the Email Experience Manager, Forms and Marketing Automation from a 9.1 setup?" Tags="|solution-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17274" PostTypeId="2" ParentId="17273" CreationDate="2019-03-06T15:57:29.817" Score="3" Body="&lt;h2&gt;Is it possible?&lt;/h2&gt;&#xA;&lt;p&gt;Sure, anything is possible.  The question you need to ask is how much removal of configurations do you want to deal with, and possible break the ability to upgrade in the future?&lt;/p&gt;&#xA;&lt;h2&gt;Is it advisable?&lt;/h2&gt;&#xA;&lt;p&gt;That's pretty opinionated, which might result in the closure of this question. However, before it's closed, let me offer this professinal's opinion. &lt;em&gt;&lt;strong&gt;No. (Mostly)&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Reasoning&lt;/h2&gt;&#xA;&lt;h3&gt;Email Experience Manager&lt;/h3&gt;&#xA;&lt;p&gt;There's an off setting here for EXM.  Defining the &lt;code&gt;exm:enabled&lt;/code&gt; setting to False or No, EXM will be disabled and the icon removed.  This does allow you to forgo installing the Database, and that setting automatically deactivates the comfiguration files. This is where the &lt;em&gt;&lt;strong&gt;Mostly&lt;/strong&gt;&lt;/em&gt; comes in.&lt;/p&gt;&#xA;&lt;h3&gt;Forms&lt;/h3&gt;&#xA;&lt;p&gt;Forms is an intregal part of Sitecore XP. It has no off switch and to turn it off requires removal of the ExperienceForms configs as well as the Core Database items.  Sure, you can remove all of this, but it will require additional effort for future upgrades, and introduces risk.  If you really don't want to use it, your best bet is probably to just remove the Launchpad Icon for forms and call it a day.&lt;/p&gt;&#xA;&lt;h3&gt;Marketing Automation&lt;/h3&gt;&#xA;&lt;p&gt;This is the biggie. It has hooks into all functions of Sitecore.  Additionally it represents one third of the functionality of xConnect.  Removing this would probably require some heavy testing and troubleshooting and probably breaks a lot of the upgrade paths.  That, said, it's do able if you want the pain.&lt;/p&gt;&#xA;&lt;h2&gt;In Summary&lt;/h2&gt;&#xA;&lt;p&gt;I don't think the effort invovled is worth the minimal infrastructure savings.  Your milage may vary.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-06T16:08:19.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17276" PostTypeId="1" CreationDate="2019-03-06T17:06:31.910" Score="1" ViewCount="444" Body="&lt;p&gt;I am using Gallery Compoent &gt; Gallery Video item and added the image for &quot;Custom local thumbnail&quot; attribute which having the ALT text also, but after rendering of image, its not showing the ALT Text for image:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;img width=&quot;1000&quot; height=&quot;40&quot; style=&quot;left: 0px; top: 0px; width: 1000px; height: 40px; display: block; position: absolute; min-height: 0px; max-height: none; min-width: 0px; max-width: none; opacity: 1; transform: translate3d(0px, 0px, 0px);&quot; src=&quot;/-/media/Project/Site1/shared/Img1.png&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there any way to include image alt text in image tag?&lt;/p&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="851" LastEditDate="2019-03-08T12:02:51.050" LastActivityDate="2019-03-08T12:02:51.050" Title="Sitecore SXA Gallery Video item Thumbnail Image" Tags="|sxa|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17277" PostTypeId="1" CreationDate="2019-03-06T17:35:34.413" Score="1" ViewCount="61" Body="&lt;p&gt;I need some advice about creating a template.  I need to create a template with all the components on the page, each component has to be unique and not related to another copy (asides from header, navigation and footer).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried using standard values on my template then creating a branch template with a datasource.  The problem is if I add or remove a component from the standard values this doesn't update the branch template, but it does update any instances of my item.  If I update the branch template this doesn't change any instances.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would you resolve this issue, would you just put all the fields that are fixed onto the template?&lt;/p&gt;&#xA;" OwnerUserId="5186" LastEditorUserId="246" LastEditDate="2019-03-07T00:32:29.553" LastActivityDate="2019-03-07T00:32:29.553" Title="How do I create a template that contains proprietary components?" Tags="|templates|branch|" AnswerCount="1" CommentCount="1" ClosedDate="2019-03-08T01:15:36.373" ContentLicense="CC BY-SA 4.0" />
  <row Id="17278" PostTypeId="1" AcceptedAnswerId="17280" CreationDate="2019-03-06T17:47:41.947" Score="1" ViewCount="1093" Body="&lt;p&gt;This is what I'm looking for:  I have a droplist item that is looking in a particular folder for values to include.  However, I would like to specify a default of &quot;Choose...&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to do this without actually creating an item in that folder for &quot;Choose...&quot; or is that the only way to do it?  I'm concerned with the CMS environment here, not rendering the field on the CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Barring that, is there at least a way to validate that the user isn't saving the item with that initial &quot;Choose&quot; item selected, even if it is set as the default in standard values for the template?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="2056" LastEditDate="2019-03-06T20:30:43.520" LastActivityDate="2019-03-07T14:42:16.903" Title="Default value &quot;choose...&quot; for droplist" Tags="|templates|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17279" PostTypeId="1" CreationDate="2019-03-06T17:49:28.640" Score="3" ViewCount="165" Body="&lt;p&gt;I have created a custom Ribbon button that creates a new item. However, when clicking this button the Content Editor switches over to this new item, whereas I expected it to stay on the first item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is it doing this, and how can I prevent this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For those wondering, this is how I'm creating item from the custom button, with a complete (simplified) &lt;code&gt;Command&lt;/code&gt; implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;public class MyCustomCommand : Command {&#xA;&#xA;    public override void Execute(CommandContext context) {&#xA;&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;        if (!context.Items.Any())&#xA;        {&#xA;            return;&#xA;        }&#xA;        Item item = context.Items[0];&#xA;&#xA;        using (new SecurityDisabler()) {&#xA;            Item newItem = GetParentItem(item).Add(&quot;New Name&quot;, templateItem);&#xA;            try {&#xA;                newItem.Editing.BeginEdit();&#xA;                newItem[&quot;Foo&quot;] = &quot;Bar&quot;;&#xA;                newItem.Editing.EndEdit();&#xA;            } catch (Exception) {&#xA;                newItem?.Editing.CancelEdit();&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    public override CommandState QueryState(CommandContext context)&#xA;    {&#xA;        Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;&#xA;        if (!context.Items.Any())&#xA;        {&#xA;            return CommandState.Disabled;&#xA;        }&#xA;&#xA;        // Various enabled/disabled check&#xA;&#xA;        return CommandState.Enabled;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3587" LastEditorUserId="3587" LastEditDate="2019-03-07T09:04:53.953" LastActivityDate="2019-03-07T09:22:00.910" Title="Prevent custom Ribbon button from redirecting to new item" Tags="|content-editor|ribbon|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17280" PostTypeId="2" ParentId="17278" CreationDate="2019-03-06T19:13:26.053" Score="2" Body="&lt;p&gt;I wouldn't recommend creating artificial value &quot;Choose&quot; in the Drop list even it is possible and rather follow default Sitecore behaviour.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution would be a combination of setting proper help Short and Long Description texts for this field (following this Q&amp;amp;A -&gt; &lt;a href=&quot;https://sitecore.stackexchange.com/questions/387/how-to-add-helpful-text-to-a-sitecore-field&quot;&gt;How to add helpful text to a Sitecore field&lt;/a&gt; )&#xA;and setting of Validation rule (Required) for this field (Following this article &lt;a href=&quot;http://sitecoreworld.blogspot.com/2014/12/sitecore-validation-examples.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreworld.blogspot.com/2014/12/sitecore-validation-examples.html&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In later case specify all 4 validation rules:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Quick Action Bar&lt;/li&gt;&#xA;&lt;li&gt;Validator Bar&lt;/li&gt;&#xA;&lt;li&gt;User chooses Validate command in the Proofing group on the Review tab&lt;/li&gt;&#xA;&lt;li&gt;User chooses a specific workflow command&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-03-07T14:42:16.903" LastActivityDate="2019-03-07T14:42:16.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17281" PostTypeId="2" ParentId="17277" CreationDate="2019-03-06T20:56:18.713" Score="1" Body="&lt;p&gt;You can do it by implementing a custom pipeline that will change Data Sources on all renderings when new branch template is instantiated.  So it will adjust all the paths for renderings to point to a newly created sub items.  See more here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kamsar.net/index.php/2016/03/Branch-Datasource-Presets/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kamsar.net/index.php/2016/03/Branch-Datasource-Presets/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: there was some sort of small bug that would not change DataSource for one of the renderings, and I can't remember what was the issue...&lt;/p&gt;&#xA;" OwnerUserId="4631" LastActivityDate="2019-03-06T20:56:18.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17282" PostTypeId="2" ParentId="17167" CreationDate="2019-03-07T04:32:44.673" Score="1" Body="&lt;p&gt;In the end what worked for me was installing all the latest Windows updates. However, since I am working on an enterprise PC it was not enough to just &quot;Check for updates&quot; since that did not check outside the company for updates. I had to use &quot;Check online for updates from Microsoft&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the updates that were installed:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;KB4293803 - GDR 2002 for Microsoft SQL Server Browser&lt;/li&gt;&#xA;&lt;li&gt;KB4293803 - GDR 2002 for Microsoft SQL Server 2017 (64 bit)&lt;/li&gt;&#xA;&lt;li&gt;KB3095681 - Update for Microsoft Visual Studio 2015&lt;/li&gt;&#xA;&lt;li&gt;KB3165756 - Update for Microsoft Visual Studio 2015&lt;/li&gt;&#xA;&lt;li&gt;KB3022398 - Visual Studio 2015 Update 3&lt;/li&gt;&#xA;&lt;li&gt;KB4293803 - GDR 2002 for Microsoft SQL Server VSS Writer (64 bit)&lt;/li&gt;&#xA;&lt;li&gt;KB4485449 - Security Update for Microsoft Windows&lt;/li&gt;&#xA;&lt;li&gt;KB4487029 - Update for Microsoft Windows&lt;/li&gt;&#xA;&lt;li&gt;KB2504637 - Update for (NO name specified)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can probably disregard the updates for Visual Studio, but they have been added to the list for the sake of completeness.&lt;/p&gt;&#xA;" OwnerUserId="3416" LastActivityDate="2019-03-07T04:32:44.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17284" PostTypeId="2" ParentId="17272" CreationDate="2019-03-07T07:17:39.167" Score="1" Body="&lt;p&gt;You can change the text of the button by overriding the following method: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override string GetHeader(CommandContext context, string header)&#xA;{&#xA;    //Build some logic here&#xA;    return &quot;Modified header text&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Moreover, you can override the tooltip text by overriding this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override string GetToolTip(CommandContext context, string tooltip)&#xA;{&#xA;    return base.GetToolTip(context, tooltip);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4816" LastEditorUserId="35" LastEditDate="2019-03-07T07:45:01.490" LastActivityDate="2019-03-07T07:45:01.490" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17285" PostTypeId="1" AcceptedAnswerId="17292" CreationDate="2019-03-07T07:33:40.950" Score="2" ViewCount="558" Body="&lt;p&gt;I am working on a custom field which is based on :&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/A/Advance_Image_Field.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/A/Advance_Image_Field.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to make it suitable for SXA by changing the way to find thumbnails. So instead of looking for an ID I would like to use query with SXA tokens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sadly it throws an error :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Field control has failed to render: End of string expected at position&#xA;  5.Details Sitecore.Data.Query.ParseException: End of string expected at position 5. at Sitecore.Data.Query.QueryParser.Raise(String error)&#xA;  at Sitecore.Data.Query.QueryParser.DoParse(String query) at&#xA;  Sitecore.Data.Query.Query..ctor(String query) at&#xA;  Sitecore.Data.Query.Query.SelectSingleItem(String query, QueryContext&#xA;  contextNode, Database database) at&#xA;  Sitecore.Data.DefaultDatabase.SelectSingleItem(String query) at&#xA;  HagerDeep.Foundation.Media.Fields.ImageWithFocusCrop.GetThumbnails()&#xA;  in&#xA;  D:\BitBucket\DEEP2\src\Foundation\Media\code\Fields\ImageWithFocusCrop.cs:line&#xA;  639 at&#xA;  HagerDeep.Foundation.Media.Fields.ImageWithFocusCrop.DoRender(HtmlTextWriter&#xA;  output) in&#xA;  D:\BitBucket\DEEP2\src\Foundation\Media\code\Fields\ImageWithFocusCrop.cs:line&#xA;  202 at Sitecore.Web.UI.WebControl.Render(HtmlTextWriter output) at&#xA;  System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,&#xA;  ControlAdapter adapter) at&#xA;  System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,&#xA;  ICollection children) at&#xA;  Sitecore.Shell.Applications.ContentEditor.EditorFieldContainer.RenderChildren(HtmlTextWriter&#xA;  writer)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here's my code that throw the error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var thumbnailFolderItem = Client.ContentDatabase.SelectSingleItem(ThumbnailsFolderQuery);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With the following query using SXA token :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:$site/*[@@name='Presentation']/*[@@name='Thumbnails Ratio']/*[@@name='Fallback Thumbnail Folder']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do I use the right function ? Or does the SXA tokens are not supported in code ?&lt;/p&gt;&#xA;" OwnerUserId="2205" LastEditorUserId="2205" LastEditDate="2019-03-07T07:48:37.640" LastActivityDate="2019-03-08T11:41:12.223" Title="Sxa tokens not taken into account in code query" Tags="|sxa|sitecore-api|sitecore-query|custom-field|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17287" PostTypeId="1" CreationDate="2019-03-07T08:40:29.617" Score="0" ViewCount="515" Body="&lt;p&gt;I have create react component of connected GraphQL.&#xA;It's giving me proper data.&#xA;I have created user and assign roles and giving permission for the root.&#xA;I want to pass his credentials with that query and then data will be display.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me into this?&#xA;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5083" LastEditorUserId="2056" LastEditDate="2019-03-07T09:50:35.143" LastActivityDate="2019-03-07T16:03:35.473" Title="GraphQL Authentication" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17288" PostTypeId="2" ParentId="17279" CreationDate="2019-03-07T09:22:00.910" Score="2" Body="&lt;p&gt;You can solve this by introducing Progress Window.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Break your Execute method into two separate methods like below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Execute&lt;/strong&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void Execute(CommandContext context) {&#xA;&#xA;    Assert.ArgumentNotNull(context, &quot;context&quot;);&#xA;    if (!context.Items.Any())&#xA;    {&#xA;        return;&#xA;    }&#xA;    Item item = context.Items[0];&#xA;&#xA;    try&#xA;    {&#xA;        ProgressBox.Execute(&#xA;             &quot;Creating New Item&quot;, &#xA;             &quot;Title&quot;,&#xA;             &quot;Applications/32x32/refresh.png&quot;,&#xA;             CreateItem,&#xA;             new object[] { templateItem }));&#xA;    }&#xA;    catch (Exception ex)&#xA;    {&#xA;        Sitecore.Diagnostics.Log.Error(&quot;Error!&quot;, ex, this);&#xA;    }        &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;CreateItem&lt;/strong&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void CreateItem(params object[] parameters) {&#xA;&#xA;    using (new SecurityDisabler()) {&#xA;        Item newItem = GetParentItem(item).Add(&quot;New Name&quot;, templateItem);&#xA;        try {&#xA;            newItem.Editing.BeginEdit();&#xA;            newItem[&quot;Foo&quot;] = &quot;Bar&quot;;&#xA;            newItem.Editing.EndEdit();&#xA;        } &#xA;        catch (Exception)&#xA;        {&#xA;            newItem?.Editing.CancelEdit();&#xA;        }&#xA;    }&#xA;&#xA;    ///other custom logic&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you wish to show some message window after creation, take a look in this thread: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5034/in-the-content-editor-how-can-i-have-a-sitecore-alert-popup-code-run-after-the&quot;&gt;In the Content Editor, how can I have a Sitecore alert popup code run after the ProgressBox Execute code has finished running?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-03-07T09:22:00.910" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17289" PostTypeId="2" ParentId="16473" CreationDate="2019-03-07T09:34:47.120" Score="0" Body="&lt;p&gt;It was caused by incompatibility of SQL Server version.&#xA;I was using SQL Server 2016 instead of 2017.&#xA;After migrating from SQL Server 2016 to 2017 (even after installing Sitecore 9.x, it fixed this issue).&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="2056" LastEditDate="2019-03-07T09:49:33.617" LastActivityDate="2019-03-07T09:49:33.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17290" PostTypeId="1" CreationDate="2019-03-07T10:20:16.940" Score="1" ViewCount="528" Body="&lt;p&gt;Is there a way in c# to set Http and Secure flag true for shell#lang cookie (in my case website#lang). As this cookie is Sitecore cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ooJc4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ooJc4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help/pointer would be a great help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="5191" LastActivityDate="2019-03-07T10:20:16.940" Title="Set Http and Secure flag for Sitecore Shell#Lang cookie" Tags="|sitecore-client|sitecore-commerce|cookies|" AnswerCount="0" CommentCount="4" ClosedDate="2019-03-07T10:26:07.403" ContentLicense="CC BY-SA 4.0" />
  <row Id="17291" PostTypeId="1" CreationDate="2019-03-07T12:19:15.390" Score="2" ViewCount="143" Body="&lt;p&gt;I'm trying to create custom tokens for more than one facet field. &#xA;&lt;code&gt;GetMyCustomFacetValue&lt;/code&gt; (this MyCustomFacet facet) is my function to return the responding value to the current token for examlpe (&lt;code&gt;$firstname&lt;/code&gt;, &lt;code&gt;$lastname&lt;/code&gt;). I need to get the current token to decide  which facet field value to return&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace FooBar&#xA;{&#xA;    public class CustomRecipientPropertyTokenMap : DefaultRecipientPropertyTokenMap&#xA;    {&#xA;        protected static readonly MethodInfo GetMyFacetValue = typeof(FacetExtensions).GetMethod(nameof(FacetExtensions.GetMyCustomFacetValue), new[] { typeof(MyCustomFacet) });&#xA;&#xA;        static CustomRecipientPropertyTokenMap()&#xA;        {&#xA;            if (TokenBindings == null)&#xA;            {&#xA;                TokenBindings = new Dictionary&amp;lt;Token, RecipientPropertyTokenBinding&amp;gt;();&#xA;            }&#xA;&#xA;            RecipientPropertyTokenBinding customTokenBinding = RecipientPropertyTokenBinding.Build&amp;lt;MyCustomFacet&amp;gt;(new Token(&quot;customtokenkey&quot;), null, GetMyFacetValue);&#xA;            TokenBindings.Add(customTokenBinding.Token, customTokenBinding);&#xA;        }&#xA;    }&#xA;&#xA;    public static class FacetExtensions&#xA;    {&#xA;        public static string GetMyCustomFacetValue (this MyCustomFacet facet)&#xA;        {&#xA;         //I need the current token that calls this function&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5154" LastEditorUserId="70" LastEditDate="2019-03-07T13:09:29.453" LastActivityDate="2019-12-17T13:02:45.393" Title="How to get the current token while creating custom token for more than one facet field?" Tags="|xconnect|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17292" PostTypeId="2" ParentId="17285" CreationDate="2019-03-07T13:36:55.303" Score="3" Body="&lt;p&gt;Inject &lt;code&gt;ITokenResolver&lt;/code&gt; and call &lt;code&gt;Resolve()&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ITokenResolver tokenResolver = ServiceLocator.ServiceProvider.GetService&amp;lt;ITokenResolver&amp;gt;()&#xA;string query = tokenResolver.Resolve(MY_QUERY, CONTEXT_ITEM);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CONTEXT_ITEM.Axes.SelectItems(query)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can, of course, use construction injection instead of using ServiceLocator for getting &lt;code&gt;ITokenResolver&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-03-07T13:36:55.303" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17293" PostTypeId="1" CreationDate="2019-03-07T13:56:37.340" Score="2" ViewCount="222" Body="&lt;p&gt;I am using SXC 9.0.2. I have an Azure AD and would like to let Azure AD accounts access both the Content Editor and the Commerce Business Tools. End-users will also need to sign-in - these users will reside in a custom database that I have control of.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is the best approach in terms of setting up authentication to cover all this?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/configure-federated-authentication.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;This guide&lt;/a&gt; explains how to set up authentication for Azure AD, but I guess it only covers the Content Editor part, as it doesn't involve Sitecore Identity Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;This guide&lt;/a&gt; explains how to set up Azure AD authentication via the Sitecore Identity Server but as I understand it, this only covers the Commerce Business Tools. Furthermore, this guide is only available for 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/authentication-and-authorization.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;This guide&lt;/a&gt; indicates that I need to use an ASP.NET Membership Provider to have end-users in a separate database (section: &quot;Other security providers&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does that mean I need all three providers?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ASP.NET Identity to sign in Azure AD users in the Content Editor&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Identity Server to sign in Azure AD users in the Commerce Business Tools&lt;/li&gt;&#xA;&lt;li&gt;ASP.NET Membership Provider to sign in end-users from custom database&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Best case for me would be to have a single authentication service provider to handle users in all three cases and use the domain (sitecore, extranet) to identify the external user store. It is definitely a possibility for me to upgrade to 9.1 if that will help me.&lt;/p&gt;&#xA;" OwnerUserId="2247" LastEditorUserId="2247" LastEditDate="2019-03-07T15:54:59.827" LastActivityDate="2019-03-07T15:54:59.827" Title="How to setup authentication when using a combination of Azure AD and a custom database to store user accounts?" Tags="|user-management|membership-provider|identity-server|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17294" PostTypeId="1" CreationDate="2019-03-07T14:03:29.507" Score="2" ViewCount="662" Body="&lt;p&gt;In a SXA based multi-site environment, the values of the 'Robots content' (/sitecore/templates/Project/SampleTenant/Settings) fields are unexpectedly merged from two different site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say the 'Robots content' of &lt;strong&gt;site A&lt;/strong&gt; looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;User-agent: *&#xA;Disallow: /temp_site_a/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the 'Robots content' of the &lt;strong&gt;site B&lt;/strong&gt; like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;User-agent: *&#xA;Disallow: /temp_site_b/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case, the &lt;strong&gt;robots.txt for site B&lt;/strong&gt; would look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;User-agent: *&#xA;Disallow: /temp_site_b/&#xA;Disallow: /temp_site_a/&#xA;&#xA;Sitemap: http://siteb.sc/sitemap.xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="97" LastActivityDate="2019-05-11T16:22:15.997" Title="Unexpected merge of robots.txt from different sites" Tags="|sxa|multisite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17295" PostTypeId="2" ParentId="17294" CreationDate="2019-03-07T14:03:29.507" Score="2" Body="&lt;p&gt;As soon as you configure a &lt;code&gt;SXA&lt;/code&gt; site with a wildcard as &lt;code&gt;hostname&lt;/code&gt;, the 'Robots content' of this site will be merged into the &lt;code&gt;robots.txt&lt;/code&gt; of every site, tenant overlapping.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if it's a feature or a bug, but I definitely didn't expect it and it took a long time to find the cause of the wrong content in our &lt;code&gt;robots.txt&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="97" LastEditorUserId="5096" LastEditDate="2019-05-11T16:22:15.997" LastActivityDate="2019-05-11T16:22:15.997" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17296" PostTypeId="2" ParentId="17263" CreationDate="2019-03-07T14:07:24.240" Score="3" Body="&lt;p&gt;If you have complex logic to fill the Multilist with items you can use code data source like we are doing it in e.g. Rendering Variants:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyCodeDatasource : IDataSource&#xA;{          &#xA;    public Item[] ListQuery(Item item)&#xA;    {&#xA;        string url = ServiceLocator.ServiceProvider.GetService&amp;lt;IContext&amp;gt;().RawUrl;&#xA;        if (url.Contains(&quot;hdl&quot;))&#xA;        {&#xA;            //if you need context item you can access session object using hdl and get the item ID from there                                &#xA;        }&#xA;&#xA;        //put your logic to get items here and rearrange them as you want&#xA;&#xA;        return Array.Empty&amp;lt;Item&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can use this like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c92MH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c92MH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-03-07T14:07:24.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17297" PostTypeId="1" AcceptedAnswerId="17298" CreationDate="2019-03-07T14:50:36.003" Score="1" ViewCount="397" Body="&lt;p&gt;I have a user that has create permissions for certain folders in the media library, but when I log in as that user and right-click on the folder, all I see is the create folder option.  If I click on the folder, I see the option to upload files and I can do so from that button in the right column.  Why can't I see this as an option when I right-click and how would I go about getting that option available to the user?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="342" LastEditDate="2019-03-07T15:08:03.697" LastActivityDate="2019-03-07T16:27:24.867" Title="Right Click on media library folder does not offer Upload File option" Tags="|media-library|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17298" PostTypeId="2" ParentId="17297" CreationDate="2019-03-07T14:51:44.610" Score="1" Body="&lt;p&gt;Upload options are there only for the template:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/templates/System/Media/Media folder&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The options can be found under &lt;code&gt;/sitecore/templates/Branches/System/Media&lt;/code&gt; node:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/S8gx0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/S8gx0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can see upload option as administrator and another user cannot see those options, there must be something with the access rights which does not allow that user to upload files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check &lt;code&gt;Read&lt;/code&gt; access to &lt;code&gt;/sitecore/templates/Branches/System/Media/Upload File&lt;/code&gt; and &lt;code&gt;/sitecore/templates/Branches/System/Media/Upload File - Advanced&lt;/code&gt; items.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-03-07T16:27:24.867" LastActivityDate="2019-03-07T16:27:24.867" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17300" PostTypeId="1" CreationDate="2019-03-07T15:31:59.810" Score="16" ViewCount="968" Body="&lt;p&gt;After an initial Sitecore 9.1 deployment with Sitecore Managed cloud (Default installation, x-small no custom code and configuration). &#xA;We notice an excessive DTU consumption on the messaging database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a similar known issue with the previous version 9.0 with difference. &#xA;KB point the core database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am wondering if someone saw this before and if those both issues are related. &#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/290593&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/290593&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eZEQ0.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eZEQ0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1962" LastEditorUserId="1962" LastEditDate="2019-03-11T12:53:05.580" LastActivityDate="2021-01-26T03:03:40.337" Title="Excessive SQL Server DTU consumption after deployment to Azure (messaging_db)" Tags="|azure|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17301" PostTypeId="1" AcceptedAnswerId="17336" CreationDate="2019-03-07T15:43:41.153" Score="1" ViewCount="1431" Body="&lt;p&gt;I have configured Sitecore Identity to use Azure AD as the sub provider following the &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore document&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can authenticate using my Azure AD account, but then I get the following message&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You do not have access to the system. If you think this is wrong,&#xA;  please contact the system administrator.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I added the claimtransformation as per the document with no luck&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VywtR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VywtR.png&quot; alt=&quot;I added the claimtransformation as per the document with no luck&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing?&lt;/p&gt;&#xA;" OwnerUserId="2113" LastEditorUserId="2113" LastEditDate="2019-03-07T15:58:43.207" LastActivityDate="2019-04-22T14:41:51.557" Title="Sitecore 9.1 IdentityServer AzureAD subprovider user cannot login to the Admin site" Tags="|federated-authentication|identity-server|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17302" PostTypeId="2" ParentId="17287" CreationDate="2019-03-07T15:51:21.653" Score="3" Body="&lt;p&gt;Sitecore uses cookies for authentication. If an authenticated user's cookies are passed to the GraphQL API, it will respect that. If no authentication is present from cookies, any impersonation user set on the API key will be used.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-03-07T15:51:21.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17303" PostTypeId="2" ParentId="17287" CreationDate="2019-03-07T16:03:35.473" Score="1" Body="&lt;p&gt;You can authenticate your graphQL calls in two different ways,&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Using the API Key &lt;/li&gt;&#xA;&lt;li&gt;Login to Sitecore and Impersonate the User who logged in&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When you use the API key with your graphQL, basically it impersonates the user which is given in the &quot;Impersonation User&quot; field of the API key. So your query works based on the security &amp;amp; roles assigned to the user entered in &quot;Impersonation User&quot; field in API KEY item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7yv3Q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7yv3Q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when you login to Sitecore using the auth service and invoke the graphQL then the graphQL will use the user who logged in and the query will basically use the roles &amp;amp; security assigned to the user. Refer Sitecore auth services for login.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-07T16:03:35.473" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17305" PostTypeId="1" AcceptedAnswerId="17307" CreationDate="2019-03-07T16:24:37.707" Score="1" ViewCount="495" Body="&lt;p&gt;I have users that I would like only to see the My Settings section in the Control Panel and hide the Administration, Database, Reports, Localization, and Security items.  I've been looking in the Core database but don't see anything obvious that would allow me to remove read privileges to items like these.  Any way to do this?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-03-07T17:23:23.733" Title="Remove certain items from control panel for some users" Tags="|security|admin-pages|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17306" PostTypeId="2" ParentId="17162" CreationDate="2019-03-07T16:52:21.230" Score="5" Body="&lt;p&gt;I experienced the same issue during upgrading from &lt;code&gt;Sitecore 8.1 Update-1 to Sitecore 9.0 Update-2&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The reason here is quite simple:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I missed executing a step from the Upgrade Guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The chapter &lt;code&gt;10.3.4 Upgrade Path Analyzer&lt;/code&gt; in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Update2.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Upgrade Guide&lt;/a&gt; states that you need to redeploy the Path Analyzer Maps after updating your Sitecore instance to version 9.0 or later:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;Sitecore XP 9.0 or later&lt;/code&gt;, the deployed Path Analyzer maps are stored in a different format. You must, therefore, redeploy the Path Analyzer maps. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;To redeploy the Path Analyzer maps:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In SQL Server Management Studio, in the Reporting database, to&#xA;remove all the data from the TreeDefinitions table, execute the following command: &lt;code&gt;Delete from TreeDefinitions&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;In Sitecore, open the admin page of the Path Analyzer&#xA;–&lt;code&gt;/sitecore/admin/pathanalyzer.aspx&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;code&gt;Maps Manager&lt;/code&gt; section, click &lt;code&gt;Deploy all maps that are not&#xA;deployed&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Make sure to back up the reporting database before executing the mentioned steps.&lt;/p&gt;&#xA;" OwnerUserId="1207" LastEditorUserId="5387" LastEditDate="2019-06-10T07:08:07.230" LastActivityDate="2019-06-10T07:08:07.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17307" PostTypeId="2" ParentId="17305" CreationDate="2019-03-07T17:23:23.733" Score="3" Body="&lt;p&gt;Maybe I am not reading into this right. But you can set denial permissions on the items on the menu items under the path &lt;code&gt;/sitecore/content/Applications/Control Panel/&lt;/code&gt; in the core database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would prefer you create a user role and set the denial access to that role. Then adding users to the new role will be easier and cleaner to maintain. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-03-07T17:23:23.733" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17308" PostTypeId="2" ParentId="15232" CreationDate="2019-03-07T18:26:13.223" Score="3" Body="&lt;p&gt;This warning can be ignored. The official and released version of &lt;code&gt;Sitecore.Nexus.Licensing&lt;/code&gt; for Sitecore 9.1.0 is version &lt;code&gt;2.0.5&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="5195" LastActivityDate="2019-03-07T18:26:13.223" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17310" PostTypeId="2" ParentId="12118" CreationDate="2019-03-07T18:55:52.133" Score="0" Body="&lt;p&gt;SXA 4.8.0, JSS 12.0.0 and DataExchange 2.1.0 are available on MyGet for Sitecore 9.1.0 release: &lt;a href=&quot;https://sitecore.myget.org/gallery/sc-packages&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/gallery/sc-packages&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also SIF (&lt;a href=&quot;https://sitecore.myget.org/feed/sc-powershell/package/nuget/SitecoreInstallFramework&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/feed/sc-powershell/package/nuget/SitecoreInstallFramework&lt;/a&gt;) and SI (&lt;a href=&quot;https://sitecore.myget.org/gallery/sc-identity&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/gallery/sc-identity&lt;/a&gt;) were published on MyGet as part of Sitecore 9.1.0 release.&lt;/p&gt;&#xA;" OwnerUserId="5195" LastActivityDate="2019-03-07T18:55:52.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17311" PostTypeId="1" CreationDate="2019-03-07T21:04:34.487" Score="0" ViewCount="121" Body="&lt;p&gt;We create a sitecore form and then add to a webpage. But i am not sure after creating a WFFM form, how do we add it to a webpage?  Please mention steps.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Running sitecore version: sitecore 9.0 update 1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Appreciate your help.&lt;/p&gt;&#xA;" OwnerUserId="5009" LastEditorUserId="5110" LastEditDate="2019-03-08T06:40:42.970" LastActivityDate="2019-03-08T06:40:42.970" Title="After creating wffm form in sitecore 9.0 update 1, how do we publish it?" Tags="|wffm|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17312" PostTypeId="2" ParentId="17311" CreationDate="2019-03-07T22:52:42.370" Score="1" Body="&lt;p&gt;I would like to point out that in Sitecore 9, it already comes with Sitecore Forms pre-baked into it. Sitecore Forms has a much better ui and is gonna replace wffm. I suggest you look at that instead of wffm.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, if for some reasons you wanna still use wffm, when you install wffm package, it adds a sublayout and a rendering component in your sitecore. You can add the forms component( either sublayout or rendering depending on whether you using web forms or mvc) to your page the same way like adding a sitecore component in the presentation details. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are more details in the sitecore docs. It is written for 8.2 but its the same steps for 9.0 setup.&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/82/web-forms-for-marketers/en/insert-a-web-form-directly-on-a-web-page.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/82/web-forms-for-marketers/en/insert-a-web-form-directly-on-a-web-page.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-03-07T22:52:42.370" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17313" PostTypeId="1" AcceptedAnswerId="17339" CreationDate="2019-03-07T23:37:48.760" Score="1" ViewCount="3631" Body="&lt;p&gt;I've added a custom facet and model, serialized the model and deployed it to my xConnect server to the two locations outlined in Sitecore's documentation but I'm still seeing this error. Because of the error the site cannot start the tracker so I'm unable to record any interactions about users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm running 9.1 locally using the Standalone role. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Model&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AgentInfoModel&#xA;{&#xA;    public static XdbModel Model { get; } = AgentInfoModel.BuildModel();&#xA;&#xA;    private static XdbModel BuildModel()&#xA;    {&#xA;        XdbModelBuilder modelBuilder = new XdbModelBuilder(&quot;AgentInfoModel&quot;, new XdbModelVersion(1, 0));&#xA;&#xA;        modelBuilder.DefineFacet&amp;lt;Contact, ContactAgentInfo&amp;gt;(ContactAgentInfo.DefaultFacetKey);&#xA;        modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);&#xA;&#xA;        return modelBuilder.BuildModel();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;JSON:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Name&quot;: &quot;ContactAgentInfo&quot;,&#xA;&quot;Version&quot;: &quot;1.0&quot;,&#xA;&quot;References&quot;: [&#xA;{&#xA;  &quot;Name&quot;: &quot;XConnect&quot;,&#xA;  &quot;Version&quot;: &quot;1.0&quot;&#xA;}&#xA;],&#xA;&quot;Types&quot;: {&#xA;&quot;USCM.Foundation.Agency.Facets.ContactAgentInfo&quot;: {&#xA;  &quot;Type&quot;: &quot;Facet&quot;,&#xA;  &quot;BaseType&quot;: &quot;Sitecore.XConnect.Facet&quot;,&#xA;  &quot;ClrType&quot;: &quot;USCM.Foundation.Agency.Facets.ContactAgentInfo, USCM.Foundation.Agency.Facets, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot;,&#xA;  &quot;Properties&quot;: {&#xA;    &quot;UserID&quot;: {&#xA;      &quot;Type&quot;: &quot;String&quot;&#xA;    },&#xA;    &quot;HideSplashContent&quot;: {&#xA;      &quot;Type&quot;: &quot;Boolean&quot;&#xA;    },&#xA;    &quot;HideSplashContentStatus&quot;: {&#xA;      &quot;Type&quot;: &quot;String&quot;&#xA;    },&#xA;    &quot;LastVisitedDateUTC&quot;: {&#xA;      &quot;Type&quot;: &quot;DateTime&quot;&#xA;    },&#xA;    &quot;RefreshDateUTC&quot;: {&#xA;      &quot;Type&quot;: &quot;DateTime&quot;&#xA;    },&#xA;    &quot;AgentState&quot;: {&#xA;      &quot;Type&quot;: &quot;String&quot;&#xA;    },&#xA;    &quot;DPecID&quot;: {&#xA;      &quot;Type&quot;: &quot;String&quot;&#xA;    },&#xA;    &quot;DPecUserType&quot;: {&#xA;      &quot;Type&quot;: &quot;String&quot;&#xA;    }&#xA;  }&#xA;}&#xA;},&#xA;&quot;Facets&quot;: [&#xA;{&#xA;  &quot;Target&quot;: &quot;Contact&quot;,&#xA;  &quot;Name&quot;: &quot;ContactAgentInfo&quot;,&#xA;  &quot;Type&quot;: &quot;USCM.Foundation.Agency.Facets.ContactAgentInfo&quot;&#xA;}&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: Sitecore.XConnect.Client.XdbModelConflictException&#xA;  Message: One or more local models conflict with the xDB service layer.&#xA;   'AgentInfoModel, 1.0' does not have a remote version&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4789" LastEditorUserId="1278" LastEditDate="2019-03-09T01:57:04.907" LastActivityDate="2020-07-30T00:25:35.047" Title="xConnect error in 9.1: One or more local models conflict with the xDB service layer" Tags="|xconnect|contact-facets|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17314" PostTypeId="1" CreationDate="2019-03-08T02:37:25.993" Score="0" ViewCount="77" Body="&lt;p&gt;I am looking for Item Collection Or Class Or Method which can provide all details of specific promotion such as Qualifications, Benefits, Private Coupon etc..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rcXWW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rcXWW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried following syntax but returning null to me&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var promotionModel = (commerceContext.Objects.OfType&amp;lt;Promotion&amp;gt;()).FirstOrDefault();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="2533" LastActivityDate="2019-03-08T02:45:12.060" Title="How to access all details of specific promotion" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17315" PostTypeId="2" ParentId="17314" CreationDate="2019-03-08T02:45:12.060" Score="1" Body="&lt;p&gt;You can get this by using the IFindEntityPipeline, you can see a dummy implementation on how to achieve that here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Foo&#xA;{&#xA;    private readonly IFindEntityPipeline _findEntityPipeline;&#xA;&#xA;    public Foo(IFindEntityPipeline findEntityPipeline)&#xA;    {&#xA;        _findEntityPipeline = findEntityPipeline;&#xA;    }&#xA;&#xA;    public async Task&amp;lt;Promotion&amp;gt; GetPromotionById(string id, CommercePipelineExecutionContext context)&#xA;    {&#xA;        var promotion = await _findEntityPipeline.Run(new FindEntityArgument(typeof(Promotion), id, 1), context))&#xA;        return promotion as Promotion;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="269" LastActivityDate="2019-03-08T02:45:12.060" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17318" PostTypeId="1" CreationDate="2019-03-08T06:48:40.567" Score="2" ViewCount="983" Body="&lt;p&gt;I have written the following code to sort the left hand side of multilist using code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Item[] ListQuery(Item item)&#xA;{&#xA;    try { &#xA;        List&amp;lt;Item&amp;gt; sourceItems = new List&amp;lt;Item&amp;gt;();&#xA;&#xA;        item = Sitecore.Context.ContentDatabase.GetItem(&quot;/sitecore/content/website/Home/newsroom&quot;);&#xA;&#xA;        List&amp;lt;Item&amp;gt; otherCampaigns = item&#xA;            .GetChildren()&#xA;            .Where(x =&amp;gt; x.TemplateID.ToString().Equals(&quot;{D5016838-1EC3-476A-9270-F9995C57AD5B}&quot;))&#xA;            .OrderByDescending(x =&amp;gt; x[Sitecore.FieldIDs.Updated])&#xA;            .ToList();&#xA;&#xA;        sourceItems.AddRange(otherCampaigns);&#xA;        return sourceItems.ToArray();&#xA;    }&#xA;    catch&#xA;    {&#xA;        return new Item[0];&#xA;    }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting the correct order of sorted items in the code but in the left hand side of multilist field it is not populating in the same order as in &quot;sourceItems&quot; in the code.In multilist field the items are coming in any random order.Kindly assist &lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="277" LastEditDate="2019-03-08T06:51:08.097" LastActivityDate="2019-03-08T10:28:43.960" Title="Custom code for sorting sitecore multilist field items" Tags="|custom-field|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17320" PostTypeId="2" ParentId="17318" CreationDate="2019-03-08T09:31:23.080" Score="2" Body="&lt;p&gt;My initial answer here assumed that Sitecore would actually use the order in the array resulting from MultilistEx's GetItems method, but that would have been too simple. I tested it just after answering and found that it didn't work. So I had to fix my errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you want to do (and probably have done) is override Sitecore MultilistEx. This has the method GetSelectedItems, which finds all the items to render in the right side of the Multilist, but at the same time (for some reason) sorts all items in the left side alphabetically, and returns a SortedList (IDictionary) as output parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could either override the entire implementation of GetSelectedItems or DoRender - but I've selected to do like below, and override GetSelectedItems, calling base and then create a new SortedList with a custom descending comparer, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyNamespace&#xA;{&#xA;    public class MyMultilist : global::Sitecore.Shell.Applications.ContentEditor.MultilistEx&#xA;    {&#xA;        protected override void GetSelectedItems(Item[] sources, out ArrayList selected, out IDictionary unselected)&#xA;        {&#xA;            base.GetSelectedItems(sources, out selected, out unselected);&#xA;            var resorted = new SortedList&amp;lt;string, Item&amp;gt;(new DescendingComparer());&#xA;            foreach (DictionaryEntry entry in unselected)&#xA;            {&#xA;                var item = (Item)entry.Value;&#xA;                var sortKey = MainUtil.GetSortKey(item[global::Sitecore.FieldIDs.Updated]);&#xA;                resorted.Add(sortKey, item);&#xA;            }&#xA;            unselected = resorted;&#xA;        }&#xA;&#xA;        protected class DescendingComparer : IComparer&amp;lt;string&amp;gt;&#xA;        {&#xA;            public int Compare(string x, string y)&#xA;            {&#xA;                return Comparer&amp;lt;string&amp;gt;.Default.Compare(x, y) * -1;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once implemened and configured (add controlsource to config file and create the fieldtype in core database) this worked for me.&lt;/p&gt;&#xA;" OwnerUserId="2327" LastEditorUserId="2327" LastEditDate="2019-03-08T10:28:43.960" LastActivityDate="2019-03-08T10:28:43.960" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17322" PostTypeId="1" AcceptedAnswerId="17323" CreationDate="2019-03-08T10:59:28.840" Score="1" ViewCount="201" Body="&lt;p&gt;Does Sitecore JavaScript Services (JSS) require Sitecore Experience Platform (XP) or can it be used with a Sitecore Experience Manager (XM) configuration?&lt;/p&gt;&#xA;" OwnerDisplayName="user1704" LastActivityDate="2019-03-08T11:02:13.767" Title="Can Sitecore JavaScript Services (JSS) be used with a Sitecore Experience Manager (XM) configuration?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17323" PostTypeId="2" ParentId="17322" CreationDate="2019-03-08T11:02:13.767" Score="3" Body="&lt;p&gt;Yes there is a XM version of JSS (without XConnect)&#xA;See the downloads:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/110/Sitecore_JavaScript_Services_1100.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/110/Sitecore_JavaScript_Services_1100.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-03-08T11:02:13.767" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17324" PostTypeId="2" ParentId="17285" CreationDate="2019-03-08T11:41:12.223" Score="3" Body="&lt;p&gt;Here's my solution:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I am using 3.7.1 version of the&#xA;Sitecore.XA.Foundation.TokenResolution.dll so there is no service&#xA;for token resolution but a static class. &lt;/li&gt;&#xA;&lt;li&gt;Then for getting current&#xA;    item it was really easy actually... Just add a property in my custom field.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Use those if Sitecore.XA.Foundation.TokenResolution is 3.8.0 or above&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;using Sitecore.DependencyInjection; &lt;/li&gt;&#xA;&lt;li&gt;using&#xA;Microsoft.Extensions.DependencyInjection;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In my case only that one was useful since it's not a service in 3.7.1 &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;using Sitecore.XA.Foundation.TokenResolution;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ImageWithFocusCrop : LinkBase&#xA;{&#xA;    //Will get the target item ID&#xA;    public string ItemID { get; set; }&#xA;&#xA;    private string GetThumbnails()&#xA;    {&#xA;         var targetItemID = ItemID;&#xA;         var targetItem = Client.ContentDatabase.GetItem(new Sitecore.Data.ID(targetItemID));&#xA;         //For 3.8.0 version and above&#xA;         ITokenResolver tokenResolver = ServiceLocator.ServiceProvider.GetService&amp;lt;ITokenResolver&amp;gt;();&#xA;         string query = tokenResolver.Resolve(ThumbnailsFolderQuery, targetItem );&#xA;         //For 3.7.1 version&#xA;         string query = TokenResolver.Resolve(ThumbnailsFolderQuery, targetItem);&#xA;&#xA;         var thumbnailFolderItem = targetItem.Axes.SelectItems(query);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2205" LastActivityDate="2019-03-08T11:41:12.223" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17325" PostTypeId="1" CreationDate="2019-03-08T13:50:48.947" Score="0" ViewCount="498" Body="&lt;p&gt;I have added a JSON file &lt;strong&gt;veevaweb2pdf.sitemap.json&lt;/strong&gt; and a text file &lt;strong&gt;veevaweb2pdf.txt&lt;/strong&gt; for a third-party plug-in. I am able to access the text file but not JSON file in all UAT, Staging and Production Environments which is working fine in my local machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Accessing Text file&lt;/strong&gt;: &lt;a href=&quot;http://mydomain/veevaweb2pdf.txt&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mydomain/veevaweb2pdf.txt&lt;/a&gt; - &lt;strong&gt;Worked&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Accessing JSON file&lt;/strong&gt;: &lt;a href=&quot;http://mydomain/veevaweb2pdf.sitemap.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mydomain/veevaweb2pdf.sitemap.json&lt;/a&gt; - &lt;strong&gt;Not working.&lt;/strong&gt; Getting below error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2019-03-08T14:09:51.453" LastActivityDate="2019-03-08T14:09:51.453" Title="Not able to access JSON file in Sitecore web root folder" Tags="|iis|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17326" PostTypeId="2" ParentId="16136" CreationDate="2019-03-08T14:19:06.777" Score="1" Body="&lt;p&gt;Not sure if you are still having this issue but if you do, you can try the below steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Root cause:&lt;/strong&gt; This error occurs when the marketing service tries to connect to xConnect but xConnect does not start up properly. Hence, the marketing service fails, and thus the installation. This can happen for several reasons in which the most common are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Untrusted certificates installed under the Trusted folder.&lt;/li&gt;&#xA;&lt;li&gt;Issue related to the custom user that is created in the script and the identity type set to &lt;code&gt;ApplicationPoolIdentity&lt;/code&gt; on the application pool of xConnect&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution &amp;amp; Resources:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To remove the untrusted certificates, run the following two commands in another PowerShell which runs as administrator&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject}&#xA;&#xA;Get-Childitem cert:\LocalMachine\root -Recurse |  Where-Object {$_.Issuer -ne $_.Subject} | Move-Item -Destination Cert:\LocalMachine\CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue&quot;&gt;HTTP error 403.16 – client certificate trust issue&lt;/a&gt; | &lt;a href=&quot;https://sitecorecorner.com/2017/10/25/sitecore-9-xconnect-ssl-and-that-403-forbidden/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 9, xConnect, SSL and that 403 Forbidden&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue can be resolved by “LoadUserProfile” field to false in each of the following files&#xA;Xconnect-xp0.json&#xA;Sitecore-xp0.json&#xA;Identityserver.json&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/15310/warning-waiting-for-service-sc910-xconnect-marketingautomationservice&quot;&gt;WARNING: Waiting for service sc910.xconnectMarketingAutomationService&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps. I have written two blog posts on &lt;a href=&quot;https://blog.anant.us/step-by-step-guide-to-install-sitecore-xp-9-1-on-windows-10-part-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 9.1 installation&lt;/a&gt; using SIF with a &lt;a href=&quot;https://blog.anant.us/step-by-step-guide-to-install-sitecore-xp-9-1-on-windows-10-part-2/&quot; rel=&quot;nofollow noreferrer&quot;&gt;list of common issues&lt;/a&gt; that comes up which might be helpful as well. Let me know if you have any question.&lt;/p&gt;&#xA;" OwnerUserId="5103" LastEditorUserId="5387" LastEditDate="2019-07-29T05:53:59.680" LastActivityDate="2019-07-29T05:53:59.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17328" PostTypeId="1" AcceptedAnswerId="17330" CreationDate="2019-03-08T15:08:13.183" Score="0" ViewCount="2213" Body="&lt;p&gt;I want to redirect one URL to the another. Suppose, I have 2 URLs &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;www.abc.com/home/gateway [Item for &lt;strong&gt;/gateway&lt;/strong&gt; is not created in sitecore]&lt;/li&gt;&#xA;&lt;li&gt;www.xyz.com/newgateway.php [This is not a Sitecore Webpage]&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So, here I want to redirect URL 1 to URL 2. In URL 1, /gateway item is not created but here I want if anybody hits that exact URL 1 it automatically redirected to URL 2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried the IIS URL Rewrite module, it is not working correctly showing 404 Sitecore Error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Rule: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rewrite&amp;gt;&#xA;    &amp;lt;rules&amp;gt;&#xA;        &amp;lt;rule name=&quot;My Rewrite&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;match url=&quot;/home/gateway&quot; /&amp;gt;&#xA;            &amp;lt;action type=&quot;Rewrite&quot; url=&quot;www.xyz.com/newgateway.php&quot; /&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;    &amp;lt;/rules&amp;gt;&#xA;&amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="342" LastEditDate="2019-03-08T15:16:03.687" LastActivityDate="2019-03-08T15:25:39.653" Title="Redirect URL A to URL B" Tags="|mvc|iis|redirect|routing|url-rewrite|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17329" PostTypeId="2" ParentId="17328" CreationDate="2019-03-08T15:13:31.970" Score="-1" Body="&lt;p&gt;I would recommend using the &lt;a href=&quot;https://github.com/iamandycohen/UrlRewrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Url Rewrite module&lt;/a&gt; which allows you to configure &lt;a href=&quot;https://www.iis.net/downloads/microsoft/url-rewrite&quot; rel=&quot;nofollow noreferrer&quot;&gt;IIS Url Rewrites&lt;/a&gt; in Sitecore items.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-03-08T15:13:31.970" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="17330" PostTypeId="2" ParentId="17328" CreationDate="2019-03-08T15:25:39.653" Score="1" Body="&lt;p&gt;As an alternative you can write your own processor. For example like you would create a 404 processor, but then let it hook into a Sitecore list where you map url's to external links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class NotFoundRedirectProcessor: HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (Sitecore.Context.Item != null || Sitecore.Context.Site == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (string.Equals(Sitecore.Context.Site.Properties[&quot;enableCustomErrors&quot;], &quot;true&quot;, StringComparison.OrdinalIgnoreCase) == false)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var redirectUrl = GetRedirectUrl(args);&#xA;        if (redirectUrl  != null)&#xA;        {&#xA;          WebUtil.Redirect(redirectUrl, false);&#xA;          args.AbortPipeline();&#xA;        }&#xA;&#xA;        var pageNotFound = this.Get404PageItem();&#xA;        args.ProcessorItem = pageNotFound;&#xA;        Sitecore.Context.Item = pageNotFound;&#xA;    }&#xA;&#xA;    protected Item Get404PageItem()&#xA;    {&#xA;        // This is largely up to how the project in general is setup.&#xA;        // My solutions are heavily Fortis dependent, but for Vanilla &#xA;        // Sitecore setups you could just use the following setting:&#xA;        // Settings.GetSetting(&quot;ItemNotFoundUrl&quot;, &quot;/errors/404&quot;);&#xA;        // and pull the Item object from that path&#xA;&#xA;        var path = Sitecore.Context.Site.RootPath + &quot;/&quot; + Settings.GetSetting(&quot;ItemNotFoundUrl&quot;, &quot;/errors/404&quot;);&#xA;        var item = Sitecore.Context.Database.GetItem(path);&#xA;&#xA;        return item;&#xA;    } &#xA;&#xA;    private string GetRedirectUrl(HttpRequestArgs args)&#xA;    {  &#xA;      //Add your code here to resolve from your Sitecore list the right url to redirect to&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2019-03-08T15:25:39.653" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17332" PostTypeId="1" CreationDate="2019-03-08T16:52:09.327" Score="0" ViewCount="246" Body="&lt;p&gt;We are experiencing an infinite loop call in the Experience Editor. It is a custom SXA Component so it very well could be something we are doing wrong but the call is coming from an out of the box javascript call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Is there a short-term fix I can make that would disable this call or whatever is calling this method? The EE is unusable after it hits this state (clicking on a component) and will not behave until the page is refreshed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Where should I look to debug why this is happening to begin with - any direction thoughts would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Image - Red Arrows shows the Usage loading icon, Yellow box shows the calls that are firing infinitely.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SlICg.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SlICg.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="901" LastActivityDate="2019-03-08T16:52:09.327" Title="Experience Editor 9.1 (SXA 1.8) - Infinite Loop GetDatasourceUsagesCount Call" Tags="|sxa|experience-editor|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17333" PostTypeId="1" AcceptedAnswerId="17334" CreationDate="2019-03-08T17:16:39.393" Score="2" ViewCount="513" Body="&lt;p&gt;As a precaution, our distribution groups have a limited number of email addresses that they will accept messages from. In anticipation of the EXM usage, the email used (e.g. SitecoreExm@domain.com) was added as a permited sender to the distribution group. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The assumption was the sending system would mark the email as coming from SitecoreExm@domain.com, however, these emails had bounce@spe.sitecoremail.com inserted into the headers. Since that was not the expected address, the email failed to reach the target audience.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is part of the header generated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Received: from emailserver.com (xxx.xxx.xxx.xxx) by&#xA; emailserver.com (xxx.xxx.xxx.xxx) with SMTP Server id&#xA; Fri, 8 Mar 2019 09:07:53 -0300&#xA;Received-SPF: Pass (emailserver.com: domain of&#xA;  bounce@spe.sitecoremail.com designates xxx.xxx.xxx.xxx as&#xA;  permitted sender) identity=mailfrom; client-ip=xxx.xxx.xxx.xxx;&#xA;  receiver=emailserver.com;&#xA;  envelope-from=&quot;bounce@spe.sitecoremail.com&quot;;&#xA;  x-sender=&quot;bounce@spe.sitecoremail.com&quot;**;&#xA;  x-conformance=spf_only; x-record-type=&quot;v=spf1&quot;;&#xA;  **x-record-text=&quot;v=spf1 exists:%{i}._spf.e.sparkpost.com&#xA;  a:sitecore.mail.e.sparkpost.com ~all&quot;**&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="393" LastActivityDate="2019-03-08T18:36:31.797" Title="EXM headers adding bounce@spe.sitecoremail.com as the sender" Tags="|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17334" PostTypeId="2" ParentId="17333" CreationDate="2019-03-08T18:26:32.400" Score="5" Body="&lt;p&gt;This is by design when using Sitecore's Email Cloud Delivery Service through Sparkpost.&lt;/p&gt;&#xA;&lt;h1&gt;How Bounces (aka Delivery Status Notifications) Work in EXM&lt;/h1&gt;&#xA;&lt;h2&gt;Email Cloud Delivery Service&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;code&gt;bounce@spe.sitecoremail.com&lt;/code&gt; email address is used as the &lt;code&gt;X-Sender&lt;/code&gt; header so that Sparkpost knows where to email Bounces and Spam Complaints to. How that process works, is that when an email bounces, Sparkpost will forward the email, along with additional headers to the &lt;code&gt;bounce@spe.sitecoremail.com&lt;/code&gt; email address.&lt;/p&gt;&#xA;&lt;p&gt;This is a POP3 account that Sitecore manages.  When Email Experience Manager is configured to use &lt;code&gt;EmailCloud&lt;/code&gt; as the &lt;code&gt;eds:define&lt;/code&gt; variable in the web.config, this activates an Agent that runs every so often, which connects to the POP3 account and retrieves all messages from the server that were sent from the EXM Manager Root.&lt;/p&gt;&#xA;&lt;p&gt;From there, Sitecore processes the email from the POP3 and adds analytical information for Bounces and Spam Complaints.  &lt;em&gt;&lt;strong&gt;This is not a process that you can adjust.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Advice and Summary&lt;/h3&gt;&#xA;&lt;p&gt;My advice is that if you are looking at the &lt;code&gt;X-Sender&lt;/code&gt; header for emails going through, you'll want to adjust your whitelisted email addresses and add that email to your list.&lt;/p&gt;&#xA;&lt;h2&gt;Custom SMTP Configuration&lt;/h2&gt;&#xA;&lt;p&gt;Bounces work differently in a Custom SMTP configuration. Out of the Box, Bounces are not handled without some setup and configuration. You'll need to bring your own POP3 mailbox and email address and &lt;a href=&quot;https://doc.sitecore.com/developers/exm/34/email-experience-manager/en/the-exm-configuration-settings.html#UUID-89df7acc-46d0-8543-55c0-b5fd6c2dec95_id__SitecoreEDSProvidersCustomSmtpS_body&quot; rel=&quot;nofollow noreferrer&quot;&gt;config bounce by patchin&lt;/a&gt;g the &lt;code&gt;Sitecore.EDS.Providers.CustomSmtp.Sync.config&lt;/code&gt; configuration.&lt;/p&gt;&#xA;&lt;p&gt;Additionally, there are fields in the Email Manager Root for configuring the POP3 as shown in the image below.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/M1rWj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M1rWj.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-08T18:36:31.797" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17335" PostTypeId="1" CreationDate="2019-03-08T19:29:53.123" Score="2" ViewCount="286" Body="&lt;p&gt;I am executing a &lt;code&gt;Sitecore 9.1 Distributed Installation&lt;/code&gt; but it is failing when &lt;code&gt;xConnectCollection&lt;/code&gt; attempts to web deploy databases. I created a SQL Server account with &lt;code&gt;sysadm&lt;/code&gt; rights and the SQL Server 2017 is in mixed mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per previous guidance, I use a dedicated server (distributor) to deploy and each target has &lt;code&gt;WinRM&lt;/code&gt; over &lt;code&gt;HTTPS&lt;/code&gt; with the certificate of the distributor installed on each target. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to install the machine certs of each machine on each other and create listeners for each? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In an &lt;code&gt;SC 9.0 build&lt;/code&gt;, the servers had no issues using Web Deploy to install the databases.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[--------------------------------------------------------- InstallWDP : WebDeploy ----------------------------------------------------------]&#xA;[WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe&#xA;Info: Adding MsDeploy.Site (MsDeploy.Site).&#xA;Info: Adding database (user id=mysqlaccount;data source=mySQL2017.Sitecore.local;initial catalog=sc910xp1_MarketingAutomation)&#xA;Info: Creating deployment plan: Pending.&#xA;Info: Verifying deployment plan: Pending.&#xA;Info: Deploying package to database: Pending.&#xA;Info: Creating deployment plan: Running.&#xA;Info: Initializing deployment (Start)&#xA;Info: Initializing deployment (Failed)&#xA;Info: Creating deployment plan: Faulted.&#xA;Info: Verifying deployment plan: Faulted.&#xA;Info: Deploying package to database: Faulted.&#xA;Install-SitecoreConfiguration : Error Code: ERROR_EXECUTING_METHOD&#xA;At C:\resourcefiles\XP1-Distributed-RS.ps1:219 char:1&#xA;+ Install-SitecoreConfiguration @DistributedDeploymentParams -Verbose * ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:03:32&#xA;Error Code: ERROR_EXECUTING_METHOD&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Tasks\Invoke-InstallSitecoreConfigurationTask.ps1:15 &#xA;char:9&#xA;+         Invoke-Command -Session $Session -ArgumentList $Configuration ...&#xA;+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (Error Code: ERROR_EXECUTING_METHOD:String) [], RemoteException&#xA;    + FullyQualifiedErrorId : NativeCommandError&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="858" LastEditorUserId="5387" LastEditDate="2020-01-29T06:52:15.770" LastActivityDate="2020-01-29T06:52:53.360" Title="Sitecore 9.1 Distributed Install Fails on Database Deploy" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17336" PostTypeId="2" ParentId="17301" CreationDate="2019-03-08T21:06:37.070" Score="5" Body="&lt;p&gt;&lt;a href=&quot;https://sitecore.derekc.net/setting-up-azure-active-directory-integration-with-sitecore-identity-server-sitecore-9-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.derekc.net/setting-up-azure-active-directory-integration-with-sitecore-identity-server-sitecore-9-1/&lt;/a&gt; might have your solution -- he writes: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;just 'cuz you're in AD, doesn't mean you're automatically allowed to log in to Sitecore.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You'll need to map group membership in Active Directory to roles in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The link then walks you through this mapping process.&lt;/p&gt;&#xA;" OwnerUserId="365" LastEditorUserId="365" LastEditDate="2019-03-26T16:35:46.410" LastActivityDate="2019-03-26T16:35:46.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17337" PostTypeId="1" AcceptedAnswerId="17338" CreationDate="2019-03-08T21:18:48.327" Score="6" ViewCount="752" Body="&lt;p&gt;I installed Sitecore 9.1 and noticed the new Identity Server site in IIS. My license is expired now. Where can i find the license file to replace for Identity Server? &lt;/p&gt;&#xA;" OwnerUserId="4077" LastEditorUserId="246" LastEditDate="2019-03-09T00:03:34.917" LastActivityDate="2019-03-09T00:03:34.917" Title="Where is the License file location for Identity Server in Sitecore 9.1?" Tags="|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17338" PostTypeId="2" ParentId="17337" CreationDate="2019-03-08T21:21:25.980" Score="11" Body="&lt;p&gt;In Sitecore 9.1 license file for &lt;code&gt;Identity Server&lt;/code&gt; is kept in &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;sitecoreruntime\license.xml&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Just replace the file with your license and restart the app.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-08T21:21:25.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17339" PostTypeId="2" ParentId="17313" CreationDate="2019-03-09T04:02:27.163" Score="2" Body="&lt;p&gt;Your model builder is making a model named &lt;code&gt;&quot;AgentInfoModel&quot;&lt;/code&gt;. But the JSON you posted is for a model called &lt;code&gt;&quot;ContactAgentInfo&quot;&lt;/code&gt;. The Name field of you JSON should match the name and version you specified on the XdbModelBuilder class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe you may have renamed your model at some point and forgot to regenerated your json model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;This&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;XdbModelBuilder(&quot;AgentInfoModel&quot;, new XdbModelVersion(1, 0))&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Does not match this:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;   &quot;Name&quot;: &quot;ContactAgentInfo&quot;,&#xA;   &quot;Version&quot;: &quot;1.0&quot;,&#xA;   &quot;References&quot;: [&#xA;   {&#xA;      &quot;Name&quot;: &quot;XConnect&quot;,&#xA;      &quot;Version&quot;: &quot;1.0&quot;&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;One last thing, you mentioned logging user interactions. When you want to use your facet for interactions, you need to define your facet as an &lt;code&gt;Interaction&lt;/code&gt; facet in the builder. Your facet is currently defined as a Contact facet.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);&#xA;&#xA;modelBuilder.DefineFacet&amp;lt;Interaction, ContactAgentInfo&amp;gt;(ContactAgentInfo.DefaultFacetKey);```&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-03-09T04:08:45.993" LastActivityDate="2019-03-09T04:08:45.993" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17340" PostTypeId="1" CreationDate="2019-03-09T14:07:05.537" Score="1" ViewCount="298" Body="&lt;p&gt;I have 4 on premises servers. I ran PowerShell XP1 scaled script for distributed installation, I am getting a certificate issue as certificates are getting generated with computer name (system name).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read a blog where it says we need to have 8 separate servers, is it true?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think certificate generation has to be on &quot;process name&quot; working on intranet instead of computer name so that they are unique. I have tweaked the script to install separately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to compare installing it with xp1 scaled with single server, I could see all the thumbprint are same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;my query &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Q1 : What tweaks do I need to make for the xp1 distributed to be installed in 4 servers to make it work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Server Details&lt;/p&gt;&#xA;&#xA;&lt;p&gt;server 1:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;xxx.sitecore.CM&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.identityserver&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;server 2 : &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;xxx.sitecore.CD&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;server 3 :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;xxx.sitecore.collection&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.ma&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.reporting&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.processingEngine&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.refdata&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.reporting&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Server 4:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;xxx.sitecore.search&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.rep&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.prc&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Thank you all for your time&lt;/p&gt;&#xA;" OwnerUserId="5123" LastEditorUserId="70" LastEditDate="2019-04-18T09:20:03.037" LastActivityDate="2019-04-18T09:20:03.037" Title="XP Scaled (XP1) Sitecore 9.1 distributed (on premises) architecture certificate issues" Tags="|xconnect|sitecore-install-framework|installation|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17341" PostTypeId="1" AcceptedAnswerId="17342" CreationDate="2019-03-09T15:26:15.027" Score="1" ViewCount="613" Body="&lt;p&gt;This seems like a very simple config. Set the &lt;strong&gt;&lt;code&gt;contentStartItem&lt;/code&gt;&lt;/strong&gt; path that is below the &lt;strong&gt;&lt;code&gt;rootPath&lt;/code&gt;&lt;/strong&gt;. In this case it is the &lt;code&gt;home&lt;/code&gt; item below the &lt;code&gt;/sitecore/content/Sites/Client&lt;/code&gt; path. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I log in as an editor, I land on the &lt;code&gt;/Sitecore/Content/home&lt;/code&gt; item and not the &lt;code&gt;/sitecore/content/Sites/Client/home&lt;/code&gt; item. I wonder if this functionality is broken in 9.1.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;client&quot; patch:after=&quot;site[@name='modules_website']&quot;&#xA;      targetHostName=&quot;client.dev.local&quot;&#xA;      hostName=&quot;client.dev.local&quot;&#xA;      database=&quot;web&quot;&#xA;      virtualFolder=&quot;/&quot;&#xA;      physicalFolder=&quot;/&quot;&#xA;      rootPath=&quot;/sitecore/content/Sites/Client&quot;&#xA;      startItem=&quot;/home&quot;&#xA;      contentStartItem=&quot;/home&quot;&#xA;      domain=&quot;client&quot;&#xA;      allowDebug=&quot;true&quot;&#xA;      cacheHtml=&quot;true&quot;&#xA;      htmlCacheSize=&quot;50MB&quot;&#xA;      registryCacheSize=&quot;0&quot;&#xA;      viewStateCacheSize=&quot;0&quot;&#xA;      xslCacheSize=&quot;25MB&quot;&#xA;      filteredItemsCacheSize=&quot;10MB&quot;&#xA;      enablePreview=&quot;true&quot;&#xA;      enableWebEdit=&quot;true&quot;&#xA;      enableDebugger=&quot;true&quot;&#xA;      disableClientData=&quot;false&quot;&#xA;      cacheRenderingParameters=&quot;true&quot;&#xA;      renderingParametersCacheSize=&quot;10MB&quot;&#xA;      loginPage=&quot;/login&quot;&#xA;      enableItemLanguageFallback=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="277" LastEditDate="2019-03-09T16:16:08.473" LastActivityDate="2019-03-09T16:16:08.473" Title="contentStartItem site setting in Sitecore 9.1" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17342" PostTypeId="2" ParentId="17341" CreationDate="2019-03-09T16:07:33.453" Score="2" Body="&lt;p&gt;&lt;code&gt;contentStartItem&lt;/code&gt; site property is used when you open &lt;code&gt;Content Editor&lt;/code&gt; this is the item which will be selected by default when you open it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore reads site definitions in the order they appear in showconfig. In 99% cases, then first site will be &lt;code&gt;shell&lt;/code&gt; site:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;site &#xA;    name=&quot;shell&quot;&#xA;    virtualFolder=&quot;/sitecore/shell&quot; &#xA;    physicalFolder=&quot;/sitecore/shell&quot; &#xA;    rootPath=&quot;/sitecore/content&quot; &#xA;    startItem=&quot;/home&quot; &#xA;    ...&#xA;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you open &lt;code&gt;Content Editor&lt;/code&gt;, the url is &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;/sitecore/shell/Applications/Content%20Editor.aspx?sc_bw=1&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;which matches the shell site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a config patch like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site &#xA;        name=&quot;shell&quot; &#xA;        contentStartItem=&quot;/Sites/Client/home&quot;&#xA;        /&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then every time you open &lt;code&gt;Content Editor&lt;/code&gt; it will load &lt;code&gt;/sitecore/content/Sites/Client/home&lt;/code&gt; initially.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-09T16:07:33.453" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17343" PostTypeId="1" CreationDate="2019-03-09T17:16:36.270" Score="1" ViewCount="205" Body="&lt;p&gt;we are setting up QA instance and following Sitecore Vertical scaling guide from sitecore doc (&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-vertically.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-vertically.html&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are following Dedicated Content Delivery instance topology in which we will need to create one CD,One CM and One XConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Challenge on XConnect&lt;/strong&gt;: As sitecore has broken down whole XConnect service into multiple service instances,How can i create single instace for xConnect by using XP1 Scaled Script?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Example:all xConnect and xDB roles (i.e. Collection, Collection Search, Marketing Automation, Marketing Automation Reporting, and ReferenceData) can be installed in a single instance(&lt;a href=&quot;https://github.com/raseniero/Sitecore-v901-XP1-Scaled-Installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/raseniero/Sitecore-v901-XP1-Scaled-Installation&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &amp;amp; regards,&#xA;Bansidhar&lt;/p&gt;&#xA;" OwnerUserId="5205" LastActivityDate="2019-03-09T17:16:36.270" Title="How to create XConnect service in single instance from Sitecore XP1 Scaled installtion package" Tags="|xdb|xconnect|scaling|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17345" PostTypeId="1" AcceptedAnswerId="17369" CreationDate="2019-03-11T03:05:01.927" Score="3" ViewCount="191" Body="&lt;p&gt;It seems that Sitecore 9.1, with the new Identity Server, no longer uses the same way of configuring password complexity as the previous versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the links that I found related to 9.0 and earlier versions&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/254/how-do-i-set-password-complexity&quot;&gt;How do I set password complexity?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/configure-the-password-policy.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/configure-the-password-policy.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I can't seem to find how to configure the password complexity for 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In particular, I am looking at configuring&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;minRequiredNonalphanumericCharacters: 2&lt;/li&gt;&#xA;&lt;li&gt;minRequiredPasswordLength: 16&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Can you please help me?&lt;/p&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="2056" LastEditDate="2019-03-11T07:06:57.930" LastActivityDate="2019-03-12T04:58:34.450" Title="Sitecore 9.1 password complexity" Tags="|security|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17346" PostTypeId="1" AcceptedAnswerId="17349" CreationDate="2019-03-11T07:18:24.957" Score="0" ViewCount="241" Body="&lt;p&gt;Need to know if Client is having Sitecore XM license. Is redis cache will be allowed to be used with XM license?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts will be good.&lt;/p&gt;&#xA;" OwnerUserId="1078" LastEditorUserId="342" LastEditDate="2019-03-11T11:49:41.970" LastActivityDate="2019-03-11T11:49:41.970" Title="Sitecore XM with Redis cache" Tags="|session-state|redis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17348" PostTypeId="1" CreationDate="2019-03-11T10:27:46.500" Score="1" ViewCount="726" Body="&lt;p&gt;I am Using Connected GraphQL query to fetch the data of the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works fine in the GraphQL editor. But I created a component called &lt;code&gt;GraphQLDemo&lt;/code&gt; and used the that query and fetched the data and delpoyed the component to my local Sitecore instance, it gave me the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Cannot read property 'value' of undefined`&#xA;TypeError: Cannot read property 'value' of undefined&#xA;   at GraphQLElements (D:\Websites_New\sc910JSS.local\dist\ssr\server.bundle.js:35011:269)&#xA;   at c (D:\Websites_New\sc910JSS.local\dist\ssr\server.bundle.js:14020:496)&#xA;   at Ga (D:\Websites_New\sc910JSS.local\dist\ssr\server.bundle.js:14023:1)&#xA;   at a.render (D:\Websites_New\sc910JSS.local\dist\ssr\server.bundle.js:14028:367)&#xA;   at a.read (D:\Websites_New\sc910JSS.local\dist\ssr\server.bundle.js:14027:450)&#xA;   at renderToString (D:\Websites_New\sc910JSS.local\dist\ssr\server.bundle.js:14039:82)&#xA;   at process (D:\Websites_New\sc910JSS.local\dist\ssr\server.bundle.js:22217:20)&#xA;   at process._tickCallback (internal/process/next_tick.js:68:7)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Query is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query ConnectedDemoQuery($contextItem: String!) {&#xA;  contextItem: item(path: $contextItem) {&#xA;    id&#xA;    ...RecursiveItems&#xA;  }&#xA;}&#xA;&#xA;fragment RecursiveItems on Item {&#xA;  ...ItemData&#xA;  children(requirePresentation: true) {&#xA;    url(options: {disableLanguageEmbedding: true})&#xA;    ...ItemData&#xA;    children(requirePresentation: true) {&#xA;      url(options: {disableLanguageEmbedding: true})&#xA;      ...ItemData&#xA;    }&#xA;  }&#xA;}&#xA;&#xA;fragment ItemData on Item {&#xA;  id&#xA;  path&#xA;  name&#xA;  fields {&#xA;    PageTitle: value&#xA;    heading: value&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can anyone help with this?&lt;/p&gt;&#xA;" OwnerUserId="5083" LastEditorUserId="70" LastEditDate="2019-03-11T15:24:57.900" LastActivityDate="2019-03-11T15:24:57.900" Title="Cannot read property 'value' of undefined at GraphQlElements" Tags="|jss|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17349" PostTypeId="2" ParentId="17346" CreationDate="2019-03-11T11:48:55.130" Score="0" Body="&lt;p&gt;Yes, Sitecore XM allows you to use Redis as one of the options for a shared session state store:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;h1&gt;Supported infrastructure&lt;/h1&gt;&#xA;  &#xA;  &lt;p&gt;The Shared Session State Store can be hosted on:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;SQL Server&lt;/li&gt;&#xA;  &lt;li&gt;Redis&lt;/li&gt;&#xA;  &lt;li&gt;Azure SQL&lt;/li&gt;&#xA;  &lt;li&gt;Azure Redis&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;(from &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/shared-session-state-store.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/shared-session-state-store.html&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional configuration information: &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/redis-provider-settings-reference.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/redis-provider-settings-reference.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-03-11T11:48:55.130" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17350" PostTypeId="1" CreationDate="2019-03-11T12:11:29.953" Score="0" ViewCount="534" Body="&lt;p&gt;I created a custom component by cloning an existing rendering and creating a new view file. In the view file I am reading template fields of the associated datasource. Those fields are (css) class names. I need to apply those to a variant field. I am showing a multilist field in rendering variant using Reference field type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried something like this in view file (its a cloned view of PageContent rendering):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (BaseVariantField variantField in Model.VariantFields)&#xA;{&#xA;  &amp;lt;div class=&quot;callout-car @phoneDisplaySetting @tabletDisplaySetting @desktopDisplaySetting &quot;&amp;gt;&#xA;    @Html.RenderingVariants().RenderVariant(variantField, Model.Item, Model.RenderingWebEditingParams, Model)&#xA;  &amp;lt;/div&amp;gt;&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The classes are getting applied to the outer div and not to each item in the multilist. Any suggestions on how to add those classes to each item in the multilist through a rendering variant Reference field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FarEv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FarEv.png&quot; alt=&quot;rendering variant&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KQmhX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KQmhX.png&quot; alt=&quot;the structure in view source&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5030" LastEditorUserId="5030" LastEditDate="2019-03-11T12:25:00.573" LastActivityDate="2019-03-11T12:25:00.573" Title="Can a rendering variant field read a value from its model?" Tags="|sxa|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17351" PostTypeId="1" AcceptedAnswerId="17352" CreationDate="2019-03-11T12:26:34.827" Score="2" ViewCount="403" Body="&lt;p&gt;I am trying to get the sortorder value from Sitecore GraphQL and it is not recognizing the field. Any config needs to be updated ? Am i missing some thing here?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="6591" LastEditDate="2022-12-09T09:41:25.193" LastActivityDate="2022-12-09T09:41:25.193" Title="How to get Standardvalues from Sitecore GraphQL" Tags="|jss|graphql|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17352" PostTypeId="2" ParentId="17351" CreationDate="2019-03-11T12:38:40.400" Score="4" Body="&lt;p&gt;You can use this GraphQL query to get all Fields of an Item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query DemoQuery($contextItem: String!) {&#xA;  contextItem: item(path: $contextItem) {&#xA;     fields  {&#xA;        name&#xA;        value&#xA;     }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can use somethings like this to get the __sortorder Field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query DemoQuery($contextItem: String!) {&#xA;  contextItem: item(path: $contextItem) {&#xA;    id&#xA;    field(name  : &quot;__sortorder&quot;) {&#xA;       sortorder: value&#xA;      }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-03-11T12:44:15.953" LastActivityDate="2019-03-11T12:44:15.953" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17353" PostTypeId="1" AcceptedAnswerId="17354" CreationDate="2019-03-11T13:06:36.947" Score="4" ViewCount="518" Body="&lt;p&gt;I've deployed 2 versions of a custom xConnect model I created called DetailModel.&lt;br&gt;&#xA;According to the documentation, the xConnect models' unique name is name of model + version.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The model’s full name (represented by the FullName property of the&#xA;  XdbModel class) includes the model’s name and version. For example:&#xA;  DocumentationModel,1.0.  &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Described here: &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/create-a-model.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/create-a-model.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have deployed both models:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;DetailModel, 0.1.json &lt;/li&gt;&#xA;&lt;li&gt;DetailModel, 0.2.json&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But I get an error in xConnect and the IndexWorker regarding: &lt;strong&gt;different models with the same names are referenced&lt;/strong&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-03-11 12:08:56.970 +01:00 [Error] Exception occurred during instantiating of IndexerHost.&#xA;Sitecore.XConnect.Schema.DuplicateXdbModelNameException: Different models with the same names are referenced ('DetailModel')&#xA;   at Sitecore.XConnect.Schema.XdbModel.AddAndValidateModelAndTypes(XdbModel model, HashSet`1 visited)&#xA;   at Sitecore.XConnect.Schema.XdbModel.AddAndValidateModelAndTypes(XdbModel model, HashSet`1 visited)&#xA;   at Sitecore.XConnect.Schema.XdbModel..ctor(String name, XdbModelVersion version, XdbNamedType[] types, XdbFacetDefinition[] facets, XdbModel[] referencedModels)&#xA;   at Sitecore.XConnect.Schema.XdbRuntimeModel..ctor(XdbModel[] models)&#xA;   at Sitecore.XConnect.Search.Indexer.Extensions.UseXConnectModel(IServiceCollection services, DirectoryInfo modelsPath)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerHost.GetDiServiceProvider(IConfiguration config, String modelDirectory, EventHandler configOrModelChangedHandler)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerHost..ctor(IConfigurationRoot config)&#xA;   at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.IndexerHostAppDomainBridge..ctor()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Why am I getting this error? I would assume that it is possible to have multiple versions deployed.&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2019-03-11T13:56:44.653" Title="Difference between xConnect model versions" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17354" PostTypeId="2" ParentId="17353" CreationDate="2019-03-11T13:56:44.653" Score="4" Body="&lt;p&gt;Even though it seems confusing at first, but different XConnect model version &lt;strong&gt;does not make&lt;/strong&gt; model unique only model name does. Model versions can be used for your own sake to keep track of different model versions. However, XConnect cannot handle two or more versions of the same model.&#xA;On a related note, all referenced models have to have unique names as well (see the last section in Sitecore &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/the-xconnect-model.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Model names must be unique across all referenced models, including second order references. For example:&lt;/p&gt;&#xA;&lt;p&gt;A model named CRM.Model cannot reference another model named CRM.Model&lt;/p&gt;&#xA;&lt;p&gt;A model named CRM.Model cannot reference Documentation.Model which in turn references another model named CRM.Model&lt;/p&gt;&#xA;&lt;p&gt;A &lt;code&gt;DuplicateModelNameException&lt;/code&gt; exception is thrown if model names are not unique.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="842" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-11T13:56:44.653" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17356" PostTypeId="1" AcceptedAnswerId="17358" CreationDate="2019-03-11T14:44:58.140" Score="3" ViewCount="878" Body="&lt;p&gt;We are currently hosting our Sitecore 9.1 initial release on premises, but want to move the complete solution into Azure. We want to use public services and not put our solution in an ASE. To secure our database as much as possible we want to use SQL connection with managed identity as described in this blog post. &#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-connect-msi&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-connect-msi&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody know if this is possible with Sitecore? Most important is to secure the xDB databases (shards).&lt;/p&gt;&#xA;" OwnerUserId="1915" LastEditorUserId="70" LastEditDate="2019-03-11T16:00:39.720" LastActivityDate="2020-05-12T08:49:16.313" Title="Secure Azure SQL database connection using a managed identity" Tags="|azure|security|sql-database|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17358" PostTypeId="2" ParentId="17356" CreationDate="2019-03-11T15:49:42.730" Score="3" Body="&lt;p&gt;No, this is with t he current version, 9.1 and below, not possible. There is piece of code required to get an accesstoken, which is not available within Sitecore. You will have to come up with another solution. We worked with the new public vNets on the app Services and firewall rules increase access security for these databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The actual code that is needed:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public MyDatabaseContext(SqlConnection conn) : base(conn, true)&#xA;{&#xA;    conn.ConnectionString = WebConfigurationManager.ConnectionStrings[&quot;MyDbConnection&quot;].ConnectionString;&#xA;    // DataSource != LocalDB means app is running in Azure with the SQLDB connection string you configured&#xA;    if(conn.DataSource != &quot;(localdb)\\MSSQLLocalDB&quot;)&#xA;        --&amp;gt; conn.AccessToken = (new AzureServiceTokenProvider()).GetAccessTokenAsync(&quot;https://database.windows.net/&quot;).Result; &amp;lt;--&#xA;&#xA;    Database.SetInitializer&amp;lt;MyDatabaseContext&amp;gt;(null);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="71" LastActivityDate="2019-03-11T15:49:42.730" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17359" PostTypeId="1" CreationDate="2019-03-11T15:58:16.313" Score="1" ViewCount="97" Body="&lt;p&gt;According to the documentation, you can retry operations by registering them to the client again. I'm doing this on Sitecore 9.0.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/handling-exceptions.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/handling-exceptions.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the following example, an operation is retried after xConnect returned a &#xA;  XdbUnavailableException, indicating that the xConnect service was&#xA;  unavailable:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;catch (XdbUnavailableException ex) {&#xA;    // Get any operations that failed&#xA;    var operations = ex.GetOperations(client)&#xA;        .Where(x =&amp;gt; x.Status == XdbOperationStatus.Failed);&#xA;&#xA;    foreach (var ops in operations)&#xA;    {&#xA;        client.RegisterOperation(ops);&#xA;    }&#xA;&#xA;    client.SubmitAsync();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, the code example on the documentation does not work. XdbUnavailableException does not contain a &lt;code&gt;GetOperations&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should be implemented on an XdbUnavailableException?&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2019-08-09T09:03:10.437" Title="What is the proper way to implement RetryOperations on XdbUnavailableException?" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17361" PostTypeId="2" ParentId="17359" CreationDate="2019-03-11T16:28:31.953" Score="1" Body="&lt;p&gt;Good catch. Documentation indeed is misleading. You should use &lt;code&gt;XdbExecutionException&lt;/code&gt; which has information about failed operations, hence you can use the client to retry them.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;catch (XdbExecutionException ex) {&#xA;    // Get any operations that failed&#xA;    var operations = ex.GetOperations(client)&#xA;        .Where(x =&amp;gt; x.Status == XdbOperationStatus.Failed);&#xA;&#xA;    foreach (var ops in operations)&#xA;    {&#xA;        client.RegisterOperation(ops);&#xA;    }&#xA;&#xA;    client.SubmitAsync();&#xA;}&#xA;//catch all other exceptions and retry&#xA;catch (Exception)&#xA;{&#xA;    client.DirectOperations&#xA;        .Where(o =&amp;gt; o.Status == XdbOperationStatus.Failed)&#xA;        .ForEach(op =&amp;gt; client.RegisterOperation(op));&#xA;&#xA;    client.SubmitAsync();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2019-03-12T08:30:37.867" LastActivityDate="2019-03-12T08:30:37.867" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17362" PostTypeId="1" AcceptedAnswerId="17363" CreationDate="2019-03-11T17:29:48.350" Score="5" ViewCount="385" Body="&lt;p&gt;This is a clean install of Sitecore 9.1 with SXA 1.8.0. When I export the site using Creative Exchange (Both to zip or folder), the exported &lt;code&gt;index.html&lt;/code&gt; file is linking to the &lt;code&gt;optimized-min&lt;/code&gt; files instead of linking to the individual files like it used to in v1.7.1 and lower.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example of the new links:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link href=&quot;-/media/Feature/Experience-Accelerator/Bootstrap-4/Bootstrap-4/Styles/optimized-min-1.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&amp;lt;link href=&quot;-/media/Base-Themes/Core-Libraries/styles/optimized-min-2.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&amp;lt;link href=&quot;-/media/Base-Themes/Main-Theme/styles/optimized-min-3.css&quot; rel=&quot;stylesheet&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;These files are not exported, and so the static html version of the site does not show the styles correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site is working correctly in Sitecore, but I have also noticed that the site no longer obeys the &lt;code&gt;aodisabled=&lt;/code&gt; query string.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-11T17:29:48.350" Title="Creative Exchange export is linking to missing optimized files" Tags="|sxa|creative-exchange|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17363" PostTypeId="2" ParentId="17362" CreationDate="2019-03-11T17:29:48.350" Score="4" Body="&lt;p&gt;This is due to a new setting added to SXA in 1.8 that has a known bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The setting is &lt;code&gt;XA.Foundation.Theming.AssetsOptimizationSwitch.Enabled&lt;/code&gt;, it is disabled by default so that users cannot disable the asset optimizer on the CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a work around, for now you can re-enable the asset optimizer switch and also disable the asset optimizer for your site. It will then export correctly. This patch file will re-enable the switch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;        &amp;lt;setting name=&quot;XA.Foundation.Theming.AssetsOptimizationSwitch.Enabled&quot; set:value=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now in your site, disable the asset optimizer:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/CYor1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CYor1.png&quot; alt=&quot;Disable asset optimization for your site&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have done that, Creative Exchange will export your static file references correctly. This behavior should be fixed in the next update.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-11T17:29:48.350" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17364" PostTypeId="1" AcceptedAnswerId="17365" CreationDate="2019-03-11T18:24:48.230" Score="1" ViewCount="771" Body="&lt;p&gt;I have an item with a General Link field named &quot;MyLinkField&quot;.  In my view I have the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Sitecore.Html().Field(&quot;MyLinkField&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That works great to output the link.  Now I have added a multiselect field to the source item called &quot;QueryStringItems&quot;.  This allows the author to select one or more query string content items.  Each query string content item has a field called &quot;Key&quot; and field called &quot;Value&quot;.  This allows us to have a central listing of query string key/value pairs.  We want the author to be able to easily select which key/value pairs they would like to add to the query string for a given link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this even possible using the out of the box Sitecore helpers?  Is there some way I could write a custom helper to extend the out of the box one to also include any selected QueryStringItems?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&#xA;Building off of Dan's answer, here is the code that I got to work both with Internal and External General Links.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomLinkRenderer : LinkRenderer&#xA;{&#xA;    public CustomLinkRenderer(Item item) : base(item)&#xA;    { }&#xA;&#xA;    protected override string GetUrl(XmlField field)&#xA;    {&#xA;        if(field?.InnerField?.Item != null)&#xA;        {&#xA;            MultilistField queryStringItemsField = (MultilistField)field.InnerField.Item.Fields[&quot;Query String Items&quot;];&#xA;            Item[] queryStringItems = queryStringItemsField?.GetItems();&#xA;            if(queryStringItems != null &amp;amp;&amp;amp; queryStringItems.Length &amp;gt; 0)&#xA;            {&#xA;                SafeDictionary&amp;lt;string&amp;gt; existingQueryString = WebUtil.ParseQueryString(field.GetAttribute(&quot;querystring&quot;));&#xA;                foreach(Item queryStringItem in queryStringItems)&#xA;                {&#xA;                    existingQueryString[queryStringItem[&quot;Key&quot;]] = queryStringItem[&quot;Value&quot;];&#xA;                }&#xA;                field.SetAttribute(&quot;querystring&quot;, WebUtil.BuildQueryString(existingQueryString, false));&#xA;&#xA;                var linkType = field.GetAttribute(&quot;linktype&quot;);&#xA;                if(linkType == &quot;external&quot;)&#xA;                {&#xA;                    var url = field.GetAttribute(&quot;url&quot;);&#xA;                    if(!string.IsNullOrEmpty(url))&#xA;                    {&#xA;                        if (!url.StartsWith(&quot;/&quot;, StringComparison.InvariantCulture) &amp;amp;&amp;amp; url.IndexOf(&quot;://&quot;, StringComparison.InvariantCulture) &amp;lt; 0)&#xA;                            url = &quot;http://&quot; + url;&#xA;                        var queryString = WebUtil.BuildQueryString(existingQueryString, false);&#xA;&#xA;                        if (url.Contains(&quot;?&quot;))&#xA;                        { url += &quot;&amp;amp;&quot; + queryString; }&#xA;                        else&#xA;                        { url += &quot;?&quot; + queryString; }&#xA;&#xA;                        return url;&#xA;                    }&#xA;                }&#xA;                else&#xA;                {&#xA;                    return (new LinkUrl()).GetUrl(field, this.Item.Database);&#xA;                }&#xA;            }&#xA;        }&#xA;        return base.GetUrl(field);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2019-03-12T14:15:29.890" LastActivityDate="2019-03-12T14:15:29.890" Title="Is there a way to use the Sitecore MVC Field helpers and render a General Link with stuff appended to the query string?" Tags="|mvc|links|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17365" PostTypeId="2" ParentId="17364" CreationDate="2019-03-11T19:40:37.890" Score="2" Body="&lt;p&gt;I'm not sure if there's a way using the helpers available in the view, but you could certainly replace a few layers of the &lt;code&gt;renderField&lt;/code&gt; pipeline to look for any &lt;code&gt;QueryStringItems&lt;/code&gt; data and append it to the links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need to extend a few classes:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;1. Sitecore.Pipelines.RenderField.GetLinkFieldValue&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Pipelines.RenderField;&#xA;&#xA;public class GetLinkFieldValueWithQueryStringItems : GetLinkFieldValue&#xA;{&#xA;    protected override LinkRenderer CreateRenderer(Item item)&#xA;    {&#xA;        return new LinkRendererWithQueryStringItems(item);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;2. Sitecore.Xml.Xsl.LinkRenderer&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Xml.Xsl;&#xA;&#xA;/// &amp;lt;summary&amp;gt;&#xA;/// Implements the Link Renderer.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public class LinkRendererWithQueryStringItems : LinkRenderer&#xA;{&#xA;    protected virtual string GetUrl(XmlField field)&#xA;    {&#xA;        if (field?.InnerField?.Item != null)&#xA;        {&#xA;            MultilistField queryStringItemsField = (MultilistField)field.InnerField.Item.Fields[&quot;QueryStringItems&quot;];&#xA;            Item[] queryStringItems = queryStringItemsField?.GetItems();&#xA;            if (queryStringItems != null &amp;amp;&amp;amp; queryStringItems.Length &amp;gt; 0)&#xA;            {&#xA;                SafeDictionary&amp;lt;string&amp;gt; existingQueryString = WebUtil.ParseQueryString(field.GetAttribute(&quot;querystring&quot;));&#xA;                foreach (Item queryStringItem in queryStringItems)&#xA;                {&#xA;                    existingQueryString[queryStringItem[&quot;Key&quot;]] = queryStringItem[&quot;Value&quot;];&#xA;                }&#xA;                field.SetAttribute(&quot;querystring&quot;, WebUtil.BuildQueryString(existingQueryString, false));&#xA;                return (new LinkUrl()).GetUrl(field, this.Item.Database);&#xA;            }&#xA;        }&#xA;        return base.GetUrl(field)&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;And the obligatory patch config&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;renderField&amp;gt;&#xA;            &amp;lt;processor patch:instead=&quot;processor[@type='Sitecore.Pipelines.RenderField.GetLinkFieldValue, Sitecore.Kernel']&quot; type=&quot;Custom.Web.Pipelines.RenderField.GetLinkFieldValueWithQueryStringItems, Custom.Web&quot;/&amp;gt;&#xA;        &amp;lt;/renderField&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Full disclosure: I've not tested this code exactly as-is. If you run into issues that need to be resolved, please comment below so I can fix them here for future users.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-03-11T20:42:21.187" LastActivityDate="2019-03-11T20:42:21.187" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17366" PostTypeId="1" CreationDate="2019-03-11T20:19:16.560" Score="1" ViewCount="185" Body="&lt;p&gt;I added a custom action to Save actions of a WFFM (9.0.1) form in Sitecore 9.0.1. &#xA;While linking Form submit button to created custom action, got an alert,  saying &quot;This action cannot be added. Your configuration does not support it.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Installed WFFM and with compatible sitecore version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the possible reason for this?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/i7MZh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i7MZh.png&quot; alt=&quot;WFFM custom submit action dll&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/kkKul.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kkKul.png&quot; alt=&quot;WFFM custom submit action item&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/QAqre.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QAqre.png&quot; alt=&quot;linking custom submit action item  to WFFM form&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5009" LastEditorUserId="5009" LastEditDate="2019-03-12T07:11:47.037" LastActivityDate="2019-03-12T07:11:47.037" Title="WFFM Error Alert: This action cannot be added. Your configuration does not support it" Tags="|wffm|" AnswerCount="0" CommentCount="5" ClosedDate="2019-03-12T10:17:32.433" ContentLicense="CC BY-SA 4.0" />
  <row Id="17368" PostTypeId="2" ParentId="16730" CreationDate="2019-03-11T21:14:19.780" Score="2" Body="&lt;p&gt;Did you register your route correctly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions-1/controllers-and-routing/asp-net-mvc-routing-overview-cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;MSDN&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;routes.MapRoute(&#xA;  &quot;Default&quot;,                                              // Route name&#xA;  &quot;{controller}/{action}/{id}&quot;,                           // URL with parameters&#xA;   new { controller = &quot;Home&quot;, action = &quot;Index&quot;, id = &quot;&quot; }  // Parameter defaults&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore you want to register custom routes in the &lt;code&gt;Initialize&lt;/code&gt; pipeline (from &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/use-mvc-routing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Docs&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The safest and recommended way to add an MVC route is to add a&#xA;  processor in the Initialize pipeline, register the routes, and&#xA;  implement the route table in the RouteConfig class. This prevents you&#xA;  from inadvertently breaking any Sitecore routes.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Also (from &lt;a href=&quot;https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions-1/controllers-and-routing/creating-a-controller-cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;MSDN&lt;/a&gt;): &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Every controller name must end with the suffix &lt;strong&gt;Controller&lt;/strong&gt;. For&#xA;  example, you can create a controller named ProductController but not a&#xA;  controller named Product.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Looks like you named it &lt;code&gt;Controllers&lt;/code&gt; instead of &lt;code&gt;Controller&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4704" LastActivityDate="2019-03-11T21:14:19.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17369" PostTypeId="2" ParentId="17345" CreationDate="2019-03-12T04:58:34.450" Score="2" Body="&lt;p&gt;After my investigation, it appears that the default configuration of Identity Server is federating the authentication back to the Sitecore Membership of the main Sitecore instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default configuration is found in &lt;code&gt;$path_to_your_Sitecore_identity_instance$\Config\production\Sitecore.IdentityServer.Host.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;IdentityServer&amp;gt;&#xA;      &amp;lt;SitecoreMembershipOptions&amp;gt;&#xA;        &amp;lt;ConnectionString&amp;gt;Data Source=xxxx;Initial Catalog=xxxx_Core;User ID=xxxx;Password=xxxx&amp;lt;/ConnectionString&amp;gt;&#xA;      &amp;lt;/SitecoreMembershipOptions&amp;gt;&#xA;    &amp;lt;/IdentityServer&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More details of the Sitecore Identity structure can be found &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-identity-server-authentication.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the identity server is federating back to the main Sitecore instance's membership, the same old &lt;a href=&quot;https://sitecore.stackexchange.com/questions/254/how-do-i-set-password-complexity&quot;&gt;method&lt;/a&gt; of editing the membership section in the web.config to add password complexity still works. &lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-03-12T04:58:34.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17370" PostTypeId="1" CreationDate="2019-03-12T06:25:56.643" Score="1" ViewCount="152" Body="&lt;p&gt;Trying to install Sitecore 9.1 on environment with following servers:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;• CMS which will have Processing, Reporting, Identity too&lt;br&gt;&#xA;• CD&lt;br&gt;&#xA;• xConnect&lt;br&gt;&#xA;• Solr&lt;br&gt;&#xA;• SQL Servers 2016&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the policy, we can’t install Self Signed certificates hence we received the SSL certificates that are already installed on the servers. Now while proceeding ahead with installation we are getting issues like certificate for Identity will not be created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help us resolve the issue.   &lt;/p&gt;&#xA;" OwnerUserId="5212" LastEditorUserId="2056" LastEditDate="2019-03-12T07:30:40.497" LastActivityDate="2019-03-12T07:30:40.497" Title="Issue Installing Sitecore 9.1 without self -signed certificate" Tags="|installation|" AnswerCount="0" CommentCount="2" ClosedDate="2019-03-12T10:16:04.577" ContentLicense="CC BY-SA 4.0" />
  <row Id="17371" PostTypeId="1" AcceptedAnswerId="17554" CreationDate="2019-03-12T07:42:37.143" Score="3" ViewCount="177" Body="&lt;p&gt;When setting facets, we need to check if the Contact is new. When new, the &lt;code&gt;ContactSaveMode&lt;/code&gt; must be set to &lt;code&gt;AlwaysSave&lt;/code&gt; according to the &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/set-contact-facets-217864.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Save contact to xConnect; at this point, a contact has an anonymous&#xA;// TRACKER IDENTIFIER, which follows a specific format. Do not use the contactId overload&#xA;// and make sure you set the ContactSaveMode as demonstrated&#xA;Sitecore.Analytics.Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;manager.SaveContactToCollectionDb(Sitecore.Analytics.Tracker.Current.Contact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is &lt;code&gt;ContactSaveMode&lt;/code&gt; used for? What is its purpose and what happens when you don't set it?&#xA;Any other use cases when it must also be set when working with custom facets?&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="35" LastEditDate="2019-03-12T10:06:55.187" LastActivityDate="2019-03-19T23:46:44.940" Title="When do you change the ContactSaveMode?" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17372" PostTypeId="1" AcceptedAnswerId="17379" CreationDate="2019-03-12T10:03:25.683" Score="0" ViewCount="683" Body="&lt;p&gt;I have a Sitecore URL (wwww.abc.com/home/legend). I want to call a different URL when this URL is called.&#xA;Suppose, I have&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;URL A - wwww.abc.com/home/legend (Sitecore One)&lt;/li&gt;&#xA;&lt;li&gt;URL B - www.xyz.com/hello.php (hosted in different CMS)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If I call URL A, then the content from URL B will be displayed but the URL in the browser will not change. I tried with IIS rewrite but it is changing the URL also, so that's not what I want. Thanks for the help. &lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="73" LastEditDate="2019-03-23T11:12:21.203" LastActivityDate="2019-03-23T11:12:21.203" Title="How to implement a Reverse Proxy in Sitecore?" Tags="|redirect|" AnswerCount="1" CommentCount="3" ClosedDate="2019-03-23T11:11:53.060" ContentLicense="CC BY-SA 4.0" />
  <row Id="17373" PostTypeId="1" AcceptedAnswerId="18622" CreationDate="2019-03-12T11:04:59.673" Score="2" ViewCount="188" Body="&lt;p&gt;I have installed and configured Connector for &lt;code&gt;Microsoft Dynamics 2.1.0&lt;/code&gt;.&#xA;I am getting below error when click &lt;strong&gt;Run Troubleshooter&lt;/strong&gt; on &lt;code&gt;xconnect&lt;/code&gt; Client Endpoint.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load type 'Sitecore.Xdb.Common.Web.IHttpClientHandlerModifier' from assembly 'Sitecore.Xdb.Common.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have &lt;code&gt;Sitecore.Xdb.Common.Web.dll&lt;/code&gt; in bin folder. Can someone please suggest possible cause. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI: Its clean instance of Sitecore 9.02&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="5096" LastEditDate="2019-05-11T11:19:34.273" LastActivityDate="2019-05-11T12:42:15.680" Title="Sitecore.Xdb.Common.Web error in Sitecore Dynamic CRM Connector" Tags="|xconnect|dynamics-crm-module|crm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17374" PostTypeId="1" AcceptedAnswerId="17390" CreationDate="2019-03-12T11:26:41.950" Score="5" ViewCount="2023" Body="&lt;p&gt;I want to view the local sites in my SXA site installation. In the following documentation it is mention to use Sitecore SXA Site Manager tool to view what are the SXA sites and if they are accessible or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/manage-multiple-sites-with-the-sxa-site-manager.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/manage-multiple-sites-with-the-sxa-site-manager.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in my instance I can't see SXA Site Manager tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I have to install any extra package or PowerShell extension to get this in my instance ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: Using SXA 1.8&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="383" LastEditDate="2019-03-12T11:34:33.990" LastActivityDate="2019-03-21T00:32:41.133" Title="SXA Site Manager missing" Tags="|sxa|multisite|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17375" PostTypeId="1" AcceptedAnswerId="17377" CreationDate="2019-03-12T11:32:17.840" Score="3" ViewCount="1318" Body="&lt;p&gt;I'm currently converting Sitecore queries to use Contentsearch. There is a query that uses ancestor-or-self.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically it's looking for an item with a template. Sample code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  Sitecore.Context.Database.SelectSingleItem(&quot;/sitecore/content/Site/Home/ancestor-or-self::*[@@templateid='{SAMPLE-TEMPLATE-ID}']&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The way I'm doing Content search is below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//Prepare Search&#xA;var query = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;ID TemplateId = new ID(this.Templateid); // Assume this is the SAMPLE-TEMPLATE-ID&#xA;query = query.And(x =&amp;gt; x.TemplateId.Equals(TemplateId));&#xA;SitecoreIndexableItem indexable = new SitecoreIndexableItem(Sitecore.Context.Database.GetRootItem());&#xA;&#xA;//Get Item&#xA;var searchIndex = ContentSearchManager.GetIndex(indexable);&#xA;using (var context = searchIndex.CreateSearchContext())&#xA;{&#xA;    var queryable = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(query);&#xA;    var myItem = Sitecore.Context.Database.GetItem(queryable.ToList().First().ItemId);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With that code, I'm able to get the item with the template ID. However it is not within the path of &lt;code&gt;/sitecore/content/Site/Home&lt;/code&gt; only. How can I query the result that would get a similar result to the ancestor-or-self query?&lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="70" LastEditDate="2019-03-12T14:32:46.770" LastActivityDate="2019-03-13T11:07:22.440" Title="Convert Ancestor-or-self to content search" Tags="|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17377" PostTypeId="2" ParentId="17375" CreationDate="2019-03-12T11:58:37.407" Score="3" Body="&lt;p&gt;I would recommend creating a list of the IDs of the ancestors and using that to filter your results:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item item = GetItemFromWhichToFindAncestors();&#xA;&#xA;// item.Paths.LongID is a path to this item, except it uses IDs instead of item names&#xA;IEnumerable&amp;lt;ID&amp;gt; ids = item.Paths.LongID.Split(new [] {&quot;/&quot;}, StringSplitOptions.RemoveEmptyEntries).Select(id =&amp;gt; new ID(id));&#xA;&#xA;query = query.And(x =&amp;gt; ids.Contains(x.ItemId));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-03-13T11:07:22.440" LastActivityDate="2019-03-13T11:07:22.440" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17379" PostTypeId="2" ParentId="17372" CreationDate="2019-03-12T12:04:20.333" Score="4" Body="&lt;p&gt;IIS Rewrite cannot do that by itself, you will have to install the Application Request Routing (ARR) IIS Extension for that, you can download it &lt;a href=&quot;https://www.iis.net/downloads/microsoft/application-request-routing&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. When you have that installed you can put in something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rewrite&amp;gt;&#xA;    &amp;lt;rules&amp;gt;&#xA;        &amp;lt;rule name=&quot;Reverse Proxy&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;            &amp;lt;match url=&quot;^home/legend$&quot; /&amp;gt;&#xA;            &amp;lt;action type=&quot;Rewrite&quot; url=&quot;www.xyz.com/hello.php&quot; /&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;        &#xA;    &amp;lt;/rules&amp;gt;&#xA;&amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2019-03-12T12:04:20.333" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17380" PostTypeId="1" CreationDate="2019-03-12T13:40:15.613" Score="2" ViewCount="2023" Body="&lt;p&gt;We are working on Sitecore JSS with react js client side. We need to implement 404 and 500 error pages in Sitecore JSS application. There may be chances of adding multiple Sitecore JSS sites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How are we handling of 404/500 pages in Sitecore JSS? similar to Sitecore custom code? or any pipeline/processor we need to customize in Sitecore JSS side?&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="73" LastEditDate="2019-03-12T14:29:10.943" LastActivityDate="2019-03-12T14:29:10.943" Title="404/500 error page implementation - ReactJS client" Tags="|jss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17382" PostTypeId="1" AcceptedAnswerId="17475" CreationDate="2019-03-12T13:54:04.083" Score="2" ViewCount="1345" Body="&lt;p&gt;I have upgraded the website to Sitecore 9.0.2 and since my project has a dependency on &lt;code&gt;Glass mapper&lt;/code&gt;, I have upgraded &lt;code&gt;Glass mapper&lt;/code&gt; to 5.3.15.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My &lt;code&gt;Glass mapper&lt;/code&gt; maps to the menu model and it does load the parent menu items but second level menu and third level menu are broken now. When I debug the code I found out that it is not able to convert the Model from &lt;code&gt;IGlassBase&lt;/code&gt; to the &lt;code&gt;ISubMenu&lt;/code&gt; Model. I know lazy loading of the item has been disabled by default on glass mapper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried &lt;code&gt;config.EnableLazyLoadingForCachableModels = true&lt;/code&gt;; to see if there is any caching issue going on but it did not resolve the issue and I am still getting the same issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Idea of how to enable conversion from glass object to custom object? &lt;/p&gt;&#xA;" OwnerUserId="3783" LastEditorUserId="312" LastEditDate="2019-05-12T19:26:15.270" LastActivityDate="2019-05-12T19:26:15.270" Title="Sitecore Glass Mapper 5.3.15 not loading children by default" Tags="|glass-mapper|sitecore-api|upgrade|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17383" PostTypeId="2" ParentId="17380" CreationDate="2019-03-12T14:15:47.473" Score="6" Body="&lt;p&gt;The layout service will return HTTP 404 for items/routes not found in Sitecore. The standard JSS sample applications all key on this an render a not found route. Similarly, for a backend error Layout Service will return HTTP 500.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But that's not the only form of error handling in a JSS app; one need worry about JavaScript errors as well. For that there are many possible implementations depending on what your specific use-case is. For React, check out &lt;a href=&quot;https://reactjs.org/docs/error-boundaries.html&quot; rel=&quot;noreferrer&quot;&gt;Error Boundaries&lt;/a&gt; which let you bound the scope where an error is handled in React components.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-03-12T14:15:47.473" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17384" PostTypeId="1" AcceptedAnswerId="17464" CreationDate="2019-03-12T16:27:22.970" Score="1" ViewCount="867" Body="&lt;p&gt;I am running Commerce SXA (XP 9.0.2 + XC 9.0.3) with two sites next to eachother. One site is non-SXA and the other SXA based. I have a controller with the same name as exists in Commerce SXA: &lt;code&gt;CartController&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my non-SXA based site I get the following stacktrace for MVC controller resolution:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: Multiple types were found that match the controller named 'Cart'. This can happen if the route that services this request ('{*pathInfo}') does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' parameter.&#xA;&#xA;The request for 'Cart' has found the following matching controllers:&#xA;Sitecore.Commerce.XA.Feature.Cart.Controllers.CartController&#xA;My.Feature.Checkout.Controllers.CartController&#xA;Source: System.Web.Mvc&#xA;   at System.Web.Mvc.DefaultControllerFactory.GetControllerTypeWithinNamespaces(RouteBase route, String controllerName, HashSet`1 namespaces)&#xA;   at System.Web.Mvc.DefaultControllerFactory.GetControllerType(RequestContext requestContext, String controllerName)&#xA;   at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)&#xA;   at Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I solved this error by fully qualifying the controller name in the Rendering: &lt;code&gt;My.Feature.Checkout.Controllers.CartController, My.Assembly&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While in my SXA site I get the following stacktrace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: Multiple types were found that match the controller named 'cart'. This can happen if the route that services this request ('api/cxa/{controller}/{action}') does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' parameter.&#xA;&#xA;The request for 'cart' has found the following matching controllers:&#xA;Sitecore.Commerce.XA.Feature.Cart.Controllers.CartController&#xA;My.Feature.Checkout.Controllers.CartController&#xA;Source: System.Web.Mvc&#xA;   at System.Web.Mvc.DefaultControllerFactory.GetControllerTypeWithinNamespaces(RouteBase route, String controllerName, HashSet`1 namespaces)&#xA;   at System.Web.Mvc.DefaultControllerFactory.GetControllerType(RequestContext requestContext, String controllerName)&#xA;   at System.Web.Mvc.DefaultControllerFactory.System.Web.Mvc.IControllerFactory.GetControllerSessionBehavior(RequestContext requestContext, String controllerName)&#xA;   at System.Web.Mvc.MvcRouteHandler.GetSessionStateBehavior(RequestContext requestContext)&#xA;   at System.Web.Mvc.MvcRouteHandler.GetHttpHandler(RequestContext requestContext)&#xA;   at Sitecore.Mvc.Routing.RouteHandlerWrapper.GetHttpHandler(RequestContext requestContext)&#xA;   at System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context)&#xA;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The second shows a different stacktrace, and fully qualifying (which does SXA by default) does not help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is there a different stacktrace for non-SXA and SXA?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another solution than using MVC areas for this?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-03-13T07:56:17.537" LastActivityDate="2019-03-15T12:27:40.343" Title="SXA multiple matching controllers" Tags="|sxa|sxa-storefront|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17385" PostTypeId="1" AcceptedAnswerId="17391" CreationDate="2019-03-12T18:31:53.847" Score="1" ViewCount="2268" Body="&lt;p&gt;We're upgrading from Sitecore 8.1 Update 3 to Sitecore 9.1. &#xA;We use Solr for xConnect search, Lucene for web site search&#xA;The CM is working, but the CD is not. Got the following error message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;Post condition failed&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.InvalidOperationException: Post condition failed&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Stack Trace: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[InvalidOperationException: Post condition failed]&#xA;Sitecore.Diagnostics.Assert.ResultNotNull(T result, String message) +85&#xA;Sitecore.Configuration.DefaultFactory.GetDatabase(String name) +86&#xA;Sitecore.Configuration.DefaultFactory.GetDatabases() +121&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have this in the log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;6948 2019:03:12 12:22:08 ERROR Error loading hook: &amp;lt;hook &#xA;type=&quot;Sitecore.ContentSearch.Hooks.Initializer, Sitecore.ContentSearch&quot; patch:source=&quot;Sitecore.ContentSearch.config&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; /&amp;gt;&#xA;Exception: System.InvalidOperationException&#xA;Message: Post condition failed&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ResultNotNull[T](T result, String message)&#xA;   at Sitecore.Configuration.DefaultFactory.GetDatabase(String name)&#xA;   at Sitecore.Configuration.DefaultFactory.GetDatabases()&#xA;   at Sitecore.Abstractions.FactoryWrapper.GetDatabases()&#xA;   at Sitecore.ContentSearch.Maintenance.EventHub.Initialize()&#xA;   at Sitecore.ContentSearch.Hooks.Initializer.Initialize()&#xA;   at Sitecore.Events.Hooks.HookManager.LoadAll()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea? Thanks&lt;/p&gt;&#xA;" OwnerUserId="4255" LastEditorUserId="3866" LastEditDate="2019-03-13T00:38:13.100" LastActivityDate="2019-03-13T00:45:51.377" Title="Sitecore 9.1 upgrade Error loading hook" Tags="|content-search|solr|upgrade|lucene|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17388" PostTypeId="1" CreationDate="2019-03-12T21:38:26.683" Score="1" ViewCount="320" Body="&lt;p&gt;When I add a Sitecore Form to a page via the Experience Editor that has a &quot;Submit email&quot; type field I get a JavaScript error that breaks the experience editor. I then have to remove the form from the page via the content editor. I can also go into the form designer and remove the &quot;submit email&quot; field, save the form, and that will prevent the error. I need this field though to tell the form where to send the content. The error in the console says that it is in the ConfigureOptimizationStrip.js file located at &lt;a href=&quot;http://my-domain/-/speak/v1/ribbon/ConfigureOptimizationStrip.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my-domain/-/speak/v1/ribbon/ConfigureOptimizationStrip.js&lt;/a&gt;. Unfortunately, I don't think this file is a part of my project and is instead a part of Sitecore. Has anyone else experienced this issue or know how to fix it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A1ASw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A1ASw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the script for the SubmitEmail.cshtml:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Foundation.Forms.Models.SubmitEmailViewModel&#xA;&amp;lt;input id=&quot;@Html.IdFor(m =&amp;gt; Model.Value)&quot; name=&quot;@Html.NameFor(m =&amp;gt; Model.Value)&quot; type=&quot;hidden&quot; value=&quot;@Model.EmailAddress&quot; /&amp;gt;&#xA;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;    var hiddenField = document.getElementById(@Html.Raw(&quot;\&quot;&quot; + Html.IdFor(m =&amp;gt; Model.Value) + &quot;\&quot;&quot;));&#xA;    var parent = hiddenField.parentNode;&#xA;    if (parent.classList.contains(&quot;sc-formdesign-fieldcontainer&quot;)) {&#xA;        var textDiv = document.createElement(&quot;div&quot;);&#xA;        textDiv.innerHTML = &quot;(Hidden submit email field)&quot;;&#xA;        parent.appendChild(textDiv);&#xA;    }&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1784" LastEditorUserId="1784" LastEditDate="2019-03-14T14:44:14.800" LastActivityDate="2019-12-14T21:01:45.240" Title="JavaScript Error when adding Submit Email field" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17389" PostTypeId="2" ParentId="12214" CreationDate="2019-03-12T21:59:19.117" Score="2" Body="&lt;p&gt;For reference we were experiencing the same error and found that it was caused by having a Controller HTTP Post action with the same name as the view (when using SXA). Changing the action name resolved our issue.&lt;/p&gt;&#xA;" OwnerUserId="751" LastActivityDate="2019-03-12T21:59:19.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17390" PostTypeId="2" ParentId="17374" CreationDate="2019-03-12T23:42:12.053" Score="9" Body="&lt;p&gt;This can happen if you follow the install guide and install Sitecore Powershell Extensions after installing SXA. When installing SPE, it will prompt about a scripts item already existing. If you selected to overwrite, it will delete the SXA powershell scripts. Instead, select Skip.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this, simply install the SXA package again.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-03-21T00:32:41.133" LastActivityDate="2019-03-21T00:32:41.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17391" PostTypeId="2" ParentId="17385" CreationDate="2019-03-13T00:45:51.377" Score="3" Body="&lt;p&gt;As you mentioned in the comments, you had a reference to the core database. In the default configuration of Sitecore 9.1 when using the ContentDelivery role in web.config, the core DB will be disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This was mentioned in the Sitecore 9.1.0 &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/91/Sitecore%20Experience%20Platform%2091%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes.&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can either re-enable the core database if you definitely require it - you can compare the Sitecore.config with the Sitecore.config in Sitecore 9.0.2 as to how this was changed - or you can ensure that there are no references to the core database when running the ContentDelivery role.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-03-13T00:45:51.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17392" PostTypeId="1" AcceptedAnswerId="17393" CreationDate="2019-03-13T06:13:25.190" Score="0" ViewCount="582" Body="&lt;p&gt;I am trying to get custom values for my site. So I've extended just the site.config with the &quot;blubb&quot; Attribute and &quot;test12&quot; value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site&#xA;      patch:before=&quot;site[@name='modules_website']&quot;&#xA;      name=&quot;Shop-DE&quot;&#xA;      hostName=&quot;sitecore.local&quot;&#xA;      blubb=&quot;test12&quot;&#xA;      targetHostName=&quot;sitecore.local&quot;&#xA;      domain=&quot;sitecore.local&quot;&#xA;      rootPath=&quot;/sitecore/content/SxpShop&quot;&#xA;      startItem=&quot;/Startseite&quot;&#xA;      virtualFolder=&quot;/&quot;&#xA;      physicalFolder=&quot;/&quot;&#xA;      language=&quot;en&quot;&#xA;      database=&quot;web&quot;&#xA;      allowDebug=&quot;true&quot;&#xA;      cacheHtml=&quot;true&quot;&#xA;      htmlCacheSize=&quot;50MB&quot;&#xA;      filteredItemsCacheSize=&quot;10MB&quot;&#xA;      enablePreview=&quot;true&quot;&#xA;      enableWebEdit=&quot;true&quot;&#xA;      enableDebugger=&quot;true&quot;&#xA;      cacheRenderingParameters=&quot;true&quot;&#xA;      renderingParametersCacheSize=&quot;10MB&quot;/&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my code I am trying to get the custom value with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var portal = Sitecore.Context.Site.Properties[&quot;blubb&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but I get null because my new Attribute &quot;blubb&quot; is not in the &quot;Properties&quot; collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 9 update 2 and I've orientated me on this blog post: &lt;a href=&quot;http://sitecoreblog.blogspot.com/2011/05/add-custom-property-to-site-node.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreblog.blogspot.com/2011/05/add-custom-property-to-site-node.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="35" LastEditDate="2019-03-13T09:23:51.377" LastActivityDate="2019-03-13T09:23:51.377" Title="Extending site.config with custom value not working" Tags="|multisite|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17393" PostTypeId="2" ParentId="17392" CreationDate="2019-03-13T06:57:02.490" Score="1" Body="&lt;p&gt;It seems to be that the Context.Site is not responding the right site context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;with this Extension it seems to work. But I don't know if this should be the prefered Solution.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   public static SiteContext CurrentSiteConfig(this Sitecore.Sites.SiteContext context)&#xA;    {&#xA;        if (Sitecore.Context.PageMode.IsExperienceEditor || Sitecore.Context.PageMode.IsPreview)&#xA;        {&#xA;            var url = System.Web.HttpContext.Current.Request.Url;&#xA;            var siteContext = SiteContextFactory.GetSiteContext(url.Host, url.PathAndQuery);&#xA;            return siteContext;&#xA;        }&#xA;&#xA;        // standard context site resolution via hostname, virtual/physical path, and port number&#xA;        return context;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-03-13T06:57:02.490" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17394" PostTypeId="1" CreationDate="2019-03-13T08:35:38.520" Score="2" ViewCount="120" Body="&lt;p&gt;I have a case on a sitecore project .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an import function which takes a folder structure from disk and transforms it in an items tree in sitecore. This executes with EventDisabler on because there a lot of items every time and we don't want that the index starts every time we create or we update an item. This works OK and it's quite fast&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem appears after we finished the items creation we need to run an index update over that tree and we use this piece of code for this operation&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.ContentSearch.Maintenance.IndexCustodian.Refresh(ContentSearchManager.GetIndex(&quot;custom_index&quot;), new SitecoreIndexableItem(StartItem))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem with this part is that it actually uses all the memory  (14Gb), the client becomes extremely slow and eventually the IIS app restarts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore 8.2u7 hosted on Azure &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been looking and trying a lot of stuff I found on blogs but nobody explains this issue because , probably, we used an wrong approach here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be nice if anybody can explain what happens when we run this piece of code, why it uses so much memory and of course if there is a way to make it work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is important to run that Index update because in the same process , after the import is ready we have to do more processing , search items and continue updating them&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you &lt;/p&gt;&#xA;" OwnerUserId="3636" LastActivityDate="2019-03-13T08:35:38.520" Title="Custom Index Update uses all the memory" Tags="|index|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17396" PostTypeId="1" CreationDate="2019-03-13T10:56:11.923" Score="0" ViewCount="43" Body="&lt;p&gt;In 7.2, Below function AddAllFields was overridden for a custom search implementation. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DatabaseCrawler : Sitecore.Search.Crawlers.DatabaseCrawler&#xA;{&#xA;    protected override void AddAllFields(Document document, Item item, bool versionSpecific)&#xA;    {&#xA;        base.AddAllFields(document, item, versionSpecific);&#xA;        foreach (DatabaseCrawler.StoredField current in this._storedFields)&#xA;        {&#xA;            Sitecore.Data.Fields.Field field = item.Fields[current.SitecoreFieldName];&#xA;            if (field != null)&#xA;            {&#xA;                FieldCrawlerBase fieldCrawler = FieldCrawlerFactory.GetFieldCrawler(field);&#xA;                Assert.IsNotNull(fieldCrawler, &quot;fieldCrawler&quot;);&#xA;                document.Add(base.CreateDataField(current.FieldName, fieldCrawler.GetValue()));&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea how to achieve the same in Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="3950" LastEditorUserId="605" LastEditDate="2019-03-13T11:25:42.930" LastActivityDate="2019-03-13T11:25:42.930" Title="DatabaseCrawler override no longer works after upgrade from Sitecore 7.2 to 9" Tags="|content-search|upgrade|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17399" PostTypeId="1" AcceptedAnswerId="17408" CreationDate="2019-03-13T11:28:43.200" Score="2" ViewCount="163" Body="&lt;p&gt;I am trying to register service with IoC Processor in SXA custom component But i have face error &quot;the type or namespace name &quot;IocProcessor&quot;could not be found&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/urJ1F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/urJ1F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What should i go for resolved error. &lt;/p&gt;&#xA;" OwnerUserId="4492" LastActivityDate="2019-03-13T13:09:47.103" Title="The type or namespace name &quot;IocProcessor&quot;could not be found In SXA custom component" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17400" PostTypeId="2" ParentId="17399" CreationDate="2019-03-13T11:52:48.673" Score="3" Body="&lt;p&gt;I think that the &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/walkthrough--building-a-simple-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation article&lt;/a&gt; (one that you probably used) is outdated because &lt;code&gt;IocProcessor&lt;/code&gt; no longer exists (since 1.7 I believe).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For &lt;strong&gt;Controllers&lt;/strong&gt; and &lt;strong&gt;Repositories&lt;/strong&gt; you could use a trick from SXA. I described it &lt;a href=&quot;https://sitecore.stackexchange.com/questions/16771/sxa-language-fallback-in-list-components/16775#16775&quot;&gt;&lt;strong&gt;here&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For other services please use a new approach and register it in configuration, example below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;            &amp;lt;register serviceType=&quot;Sitecore.XA.Feature.Media.Services.IMediaItemService, Sitecore.XA.Feature.Media&quot; implementationType=&quot;Sitecore.XA.Feature.Media.Services.MediaItemService, Sitecore.XA.Feature.Media&quot; lifetime=&quot;Singleton&quot;/&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More about DI in Sitecore &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/dependency-injection.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="16" LastActivityDate="2019-03-13T11:52:48.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17401" PostTypeId="1" CreationDate="2019-03-13T11:53:04.267" Score="2" ViewCount="1110" Body="&lt;p&gt;I want to fetch multiple item data using single query.&#xA;I am able to fetch the data of single item.&#xA;My tree structure is like:&#xA;Item1:&#xA;    Title&#xA;    Description&#xA;Item2:&#xA;    Title&#xA;    Description&#xA;    Image&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to get Field like Title,Description from Item-1 and Image from Item-2&#xA;in a single graphQL query for sitecore jss.&#xA;can anyone help me into this?&#xA;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5083" LastEditorUserId="73" LastEditDate="2019-03-13T12:54:23.317" LastActivityDate="2024-03-22T05:42:22.683" Title="Fetching Multiple Item Data using GraphQL" Tags="|jss|graphql|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17404" PostTypeId="1" AcceptedAnswerId="17410" CreationDate="2019-03-13T12:22:10.507" Score="2" ViewCount="1447" Body="&lt;p&gt;I am using Sitecore XC 9.0.3 with SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On my SXA site I;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;added a Catalog Item Container component,&lt;/li&gt;&#xA;&lt;li&gt;assigned a product from the catalog (with item path &lt;code&gt;/sitecore/content/New tenant/test/Home/Catalogs/TestCatalog/Product&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;added Product Information component&lt;/li&gt;&#xA;&lt;li&gt;saved&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After saving I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Error while rendering the view [Product Information] (item reference: [d09ebd2d-30f4-48b8-b7ab-0d6fce8c6c7b]) Please, make sure the rendering is configured properly or contact your administrator.&#xA;System.Web.HttpUnhandledException (0x80004005): An unhandled exception occurred. ---&gt; System.InvalidOperationException: Catalog Item of the Storefront catalog Configuration cannot be found.&#xA;at Sitecore.Commerce.XA.Foundation.Common.Models.CommerceStorefront.get_CatalogItem()&#xA;at Sitecore.Commerce.XA.Foundation.Common.Models.CommerceStorefront.get_Catalog()&#xA;at Sitecore.Commerce.XA.Foundation.Connect.Entities.ProductEntity.Initialize(CommerceStorefront storefront, Item item, List`1 variantEntityList)&#xA;at Sitecore.Commerce.XA.Feature.Catalog.Repositories.BaseCatalogRepository.GetCatalogItemRenderingModel(IVisitorContext visitorContext, Item productItem)&#xA;at Sitecore.Commerce.XA.Feature.Catalog.Repositories.BaseCatalogRepository.GetProduct(IVisitorContext visitorContext)&#xA;at Sitecore.Commerce.XA.Feature.Catalog.Controllers.CatalogController.ProductInformation()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I confirmed that &lt;code&gt;DataProvider.config&lt;/code&gt; as mentioned &lt;a href=&quot;https://blog.ryanbailey.co.nz/2018/06/sitecore-experience-commerce-catalog.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; is enabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a catalog selected at the following path: &lt;code&gt;/sitecore/content/New tenant/test/Home/Catalogs&lt;/code&gt; (I guess otherwise it wouldn't be even possible to assign a product to the Catalog Item Container component).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I traced the error back to the following piece of code in the &lt;code&gt;Sitecore.Commerce.XA.Foundation.Common.Models.CommerceStoreFront&lt;/code&gt; class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual Item CatalogItem&#xA;    {&#xA;      get&#xA;      {&#xA;        Field field = this.SiteCatalogConfiguration?.Fields[Sitecore.Commerce.XA.Foundation.Common.Constants.DataTemplates.SiteCatalogConfiguration.Fields.Catalog];&#xA;        if (field == null || string.IsNullOrWhiteSpace(field.Value))&#xA;          field = this.CatalogConfiguration.Fields[Sitecore.Commerce.XA.Foundation.Common.Constants.DataTemplates.CatalogConfiguration.Fields.Catalog];&#xA;        ID result;&#xA;        if (!ID.TryParse((object) field, out result))&#xA;          throw new InvalidItemException(&quot;Invalid catalog Id&quot;);&#xA;        Item obj = Sitecore.Context.Database.GetItem(result);&#xA;        Assert.IsNotNull((object) obj, &quot;Catalog Item of the Storefront catalog Configuration cannot be found.&quot;);&#xA;        return obj;&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Apparently the &lt;code&gt;field&lt;/code&gt; in above code snippet is correctly retrieved, but the related item cannot be found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What configuration step am I missing?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="70" LastEditDate="2019-03-13T13:11:10.003" LastActivityDate="2019-03-13T13:27:14.897" Title="Catalog Item of the Storefront catalog Configuration cannot be found" Tags="|sxa-storefront|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17405" PostTypeId="2" ParentId="17401" CreationDate="2019-03-13T12:26:09.963" Score="3" Body="&lt;p&gt;You can easily add extra items to a query. give them a unique name&#xA;for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  item1: item(path:&quot;/sitecore&quot;) {&#xA;    id&#xA;    name&#xA;  }&#xA;  item2: item(path:&quot;/sitecore/content&quot;) {&#xA;    id&#xA;    path&#xA;    displayName&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This Query get 2 items by path and and calls them item1 and item2.&#xA;See also &lt;a href=&quot;http://sitecore.stockpick.nl/english/jss-integrated-graphql/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Starting with Sitecore JSS Integrated GraphQL&lt;/a&gt; and &lt;a href=&quot;http://sitecore.stockpick.nl/english/jss-integrated-graphql-queries/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore JSS Integrated GraphQL Queries&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need custom fields so handy to use strongly typed. here an example: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  item1: item(path:&quot;/sitecore&quot;) {&#xA;    ...on Root {&#xA;      id&#xA;    }&#xA;  }&#xA;  item2: item(path:&quot;/sitecore/content/Home&quot;) {&#xA;    ...on SampleItem {&#xA;        title {&#xA;          value&#xA;        } &#xA;        text {&#xA;         value&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should be the result on a fresh install:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;data&quot;: {&#xA;    &quot;item1&quot;: {&#xA;      &quot;id&quot;: &quot;11111111111111111111111111111111&quot;&#xA;    },&#xA;    &quot;item2&quot;: {&#xA;      &quot;title&quot;: {&#xA;        &quot;value&quot;: &quot;Sitecore Experience Platform&quot;&#xA;      },&#xA;      &quot;text&quot;: {&#xA;        &quot;value&quot;: &quot;&amp;lt;p style=\&quot;line-height: 22px;\&quot;&amp;gt;From a single connected platform that also integrates with other customer-facing platforms, to a single view of the customer in a big data marketing repository, to completely eliminating much of the complexity that has previously held marketers back, the latest version of Sitecore makes customer experience highly achievable. Learn how the latest version of Sitecore gives marketers the complete data, integrated tools, and automation capabilities to engage customers throughout an iterative lifecycle &amp;amp;ndash; the technology foundation absolutely necessary to win customers for life.&amp;lt;/p&amp;gt;\n&amp;lt;p&amp;gt;For further information, please go to the &amp;lt;a href=\&quot;https://doc.sitecore.net/\&quot; target=\&quot;_blank\&quot; title=\&quot;Sitecore Documentation site\&quot;&amp;gt;Sitecore Documentation site&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;\r&quot;&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-03-13T13:20:47.637" LastActivityDate="2019-03-13T13:20:47.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17406" PostTypeId="1" AcceptedAnswerId="17949" CreationDate="2019-03-13T12:44:49.870" Score="9" ViewCount="2823" Body="&lt;p&gt;I've provisioned a Sitecore 9.1 PaaS, and for some odd reason the &lt;strong&gt;Application Insights&lt;/strong&gt; is not loading graphics except in &lt;strong&gt;Live Metrics Stream&lt;/strong&gt; for Process CPU data&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O2ore.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O2ore.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VaiJX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VaiJX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I went through the existing post &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13863/accessing-log-files-in-application-insights-for-sitecore-9-in-azure-app-service&quot;&gt;Accessing log files in application insights for Sitecore 9 in Azure app service&lt;/a&gt; and did the following&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Check appinsights.instrumentationkey ConnectionStrings.config&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/maV9I.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/maV9I.png&quot; alt=&quot;Connection Strings AppInsights&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;strong&gt;Check the Daily Cap&lt;/strong&gt;&#xA;It was 0.33, then I raised to 2GB for testing purposes&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ADfD7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ADfD7.png&quot; alt=&quot;Daily Cap&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Another thing is that the &lt;strong&gt;Search&lt;/strong&gt; shows results from Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3TzdM.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3TzdM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Check showconfig.aspx&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9qvQ1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9qvQ1.png&quot; alt=&quot;Showconfig&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Enable Live Metrics Stream&lt;/strong&gt; - Only shows CPU data&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VaiJX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VaiJX.png&quot; alt=&quot;Enable Live Metrics Stream&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Enable Application map&lt;/strong&gt; - I removed the comment line, and restart the Application, waited for 5 minutes and still no data&#xA;&lt;a href=&quot;https://i.stack.imgur.com/T9UGP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T9UGP.png&quot; alt=&quot;ApplicationMap&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Querying Application Insights&lt;/strong&gt; - It works&#xA;&lt;a href=&quot;https://i.stack.imgur.com/gbd2K.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gbd2K.png&quot; alt=&quot;QueryingAppInsights&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="393" LastEditorUserId="393" LastEditDate="2019-03-14T13:51:40.637" LastActivityDate="2019-07-04T05:29:29.827" Title="Azure Application Insights not working on Sitecore 9.1 PaaS" Tags="|azure|paas|application-insights|" AnswerCount="3" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="17408" PostTypeId="2" ParentId="17399" CreationDate="2019-03-13T13:09:47.103" Score="0" Body="&lt;p&gt;While you &lt;em&gt;can&lt;/em&gt; register the dependencies with config patch files like &lt;a href=&quot;https://sitecore.stackexchange.com/users/16/alan-p%c5%82%c3%b3cieniak&quot;&gt;Alan Płócieniak&lt;/a&gt; mentioned, you can also achieve this through a &lt;code&gt;configurator&lt;/code&gt; class which would be closer to what you have in your example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterVoteService : IServicesConfigurator    &#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            serviceCollection.AddTransient&amp;lt;IVoteRepository, VoteRepository&amp;gt;();&#xA;        }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you register your configurator with a patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;            &amp;lt;configurator type=&quot;MyNamespace.RegisterVoteService, MyAssembly&quot; /&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can add more registrations to that configurator class as you need it.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-13T13:09:47.103" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17409" PostTypeId="1" AcceptedAnswerId="17416" CreationDate="2019-03-13T13:15:06.190" Score="6" ViewCount="322" Body="&lt;p&gt;I'm trying to create a Sitecore scheduled task to automatically ExecuteRightToBeForgotten for contacts that haven't had any interaction with the site for a number of days.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can get the contacts I need, but after calling ExecuteRightToBeForgotten and Submitting the changes, an error is thrown:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #5 11:51:03 INFO  Starting: ContactCleanup&#xA;ManagedPoolThread #5 11:51:03 INFO  Starting ContactCleanup task&#xA;ManagedPoolThread #5 11:51:07 ERROR Error executing command item: ContactCleanup&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Tasks.CommandItem.Execute(Item[] items, ScheduleItem schedule)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Foundation.ContactCleanup.Tasks.ContactCleanupTask.CleanupContacts(Int32 days) in D:\projects\platform\src\Foundation\ContactCleanup\code\Foundation.ContactCleanup\Tasks\ContactCleanupTask.cs:line 53&#xA;   at Foundation.ContactCleanup.Tasks.ContactCleanupTask.Execute(Item[] items, CommandItem command, ScheduleItem schedule) in D:\projects\platform\src\Foundation\ContactCleanup\code\Foundation.ContactCleanup\Tasks\ContactCleanupTask.cs:line 24&#xA;&#xA;&#xA;ManagedPoolThread #5 11:51:07 ERROR Error executing schedule item: ContactCleanup&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Tasks.CommandItem.Execute(Item[] items, ScheduleItem schedule)&#xA;   at Sitecore.Tasks.ScheduleItem.Execute()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Foundation.ContactCleanup.Tasks.ContactCleanupTask.CleanupContacts(Int32 days) in D:\projects\platform\src\Foundation\ContactCleanup\code\Foundation.ContactCleanup\Tasks\ContactCleanupTask.cs:line 53&#xA;   at Foundation.ContactCleanup.Tasks.ContactCleanupTask.Execute(Item[] items, CommandItem command, ScheduleItem schedule) in D:\projects\platform\src\Foundation\ContactCleanup\code\Foundation.ContactCleanup\Tasks\ContactCleanupTask.cs:line 24&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My xDB is up and there are Contacts that are found to be forgotten (532 in total). Is this a thing with scheduled tasks not being able to edit contacts or something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the code that's being run by the scheduled task:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ContactCleanupTask &#xA;{&#xA;    private const string CleanupAfterDays = &quot;Foundation.ContactCleanup.CleanupAfterDays&quot;;&#xA;&#xA;    public void Execute(Item[] items, Sitecore.Tasks.CommandItem command, Sitecore.Tasks.ScheduleItem schedule)&#xA;    {&#xA;        Log.Info(&quot;Starting ContactCleanup task&quot;, this);&#xA;&#xA;        if (!int.TryParse(Settings.GetSetting(CleanupAfterDays), out var days))&#xA;        {&#xA;            days = 420; // 14 months&#xA;        }&#xA;        var result = CleanupContacts(days);&#xA;&#xA;        Log.Info($&quot;ContactCleanup finished, executed right to be forgotten for {result} contacts.&quot;, this);&#xA;    }&#xA;&#xA;    private int CleanupContacts(int days)&#xA;    {&#xA;        int numberOfForgottenContacts = 0;&#xA;        using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            try&#xA;            {&#xA;                // Query to find contacts without any interactions after set amount of days&#xA;                var query = client.Contacts&#xA;                    .Where(contact =&amp;gt; !contact.Interactions.Any(interaction =&amp;gt; interaction.EndDateTime &amp;gt; DateTime.UtcNow.AddDays(-days)));&#xA;&#xA;                // Execute query and extract contacts&#xA;                var contactCursor = query.GetBatchEnumeratorSync(50);&#xA;&#xA;                while (contactCursor.MoveNext(50))&#xA;                {&#xA;                    var currentBatch = contactCursor.Current;&#xA;&#xA;                    foreach (var contact in currentBatch)&#xA;                    {&#xA;                        numberOfForgottenContacts++;&#xA;                        client.ExecuteRightToBeForgotten(contact);&#xA;                    }&#xA;&#xA;                }&#xA;&#xA;                client.Submit();&#xA;            }&#xA;            catch (XdbExecutionException ex)&#xA;            {&#xA;                Log.Error(&quot;Xdb Error while processing contacts to forget&quot;, ex, this);&#xA;            }&#xA;&#xA;            return numberOfForgottenContacts;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note; the catch isn't hit because it's not an &lt;code&gt;xDbExecutionException&lt;/code&gt;, but the &lt;code&gt;ContactCleanupTask.cs:line 53&lt;/code&gt; from the log is the &lt;code&gt;client.Submit();&lt;/code&gt; call&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you help me?&lt;/p&gt;&#xA;" OwnerUserId="2369" LastEditorUserId="556" LastEditDate="2019-03-14T12:28:42.640" LastActivityDate="2019-03-14T12:28:42.640" Title="Error when executing right to be forgotten in scheduled task" Tags="|xconnect|scheduled-tasks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17410" PostTypeId="2" ParentId="17404" CreationDate="2019-03-13T13:27:14.897" Score="0" Body="&lt;p&gt;Solved it by selecting the proper catalog under: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/New tenant/test/Settings/Commerce/Catalog Configuration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It seemed to be put at a, in my installation, non-existing Habitat Catalog value.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-03-13T13:27:14.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17411" PostTypeId="1" CreationDate="2019-03-13T13:37:10.730" Score="4" ViewCount="548" Body="&lt;p&gt;The content editor toolbar is missing after clicking the Item unable to navigate to any toolbar or publish the Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Initial Home screen:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mDTUi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mDTUi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After clicking any item in content tree: All toolbar labels disappears&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mqmSh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mqmSh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Console Error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zBirC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zBirC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also Added language resolver in last release thinking that might cause this issue Config:   &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;processor type=&quot;Foundation.LanguageResolver.LanguageEnforcer&quot;  patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;/&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;setting Context lang:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Sitecore.Context.SetLanguage(AltLanguage, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please let me know the fix to resolve this issue.&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="3601" LastEditDate="2019-03-13T15:12:50.993" LastActivityDate="2019-03-13T15:12:50.993" Title="Missing Sitecore Toolbar in Content tree" Tags="|content-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17412" PostTypeId="2" ParentId="17411" CreationDate="2019-03-13T13:49:17.350" Score="6" Body="&lt;p&gt;The issue you are experiencing is due to the language cookie. Normally, there need to be a cookie which stores the language. This is a known issue on Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please contact Sitecore Support and ask them about the patch &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Support.100371.100542&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This patch contains one config file and one dll file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using the Sitecore 8.2 Update 1, you can download the patch at &lt;a href=&quot;https://sitecore.app.box.com/s/jqj8dkrmfiezrnwj42feop9jt1ff8km8&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore.app.box.com/s/jqj8dkrmfiezrnwj42feop9jt1ff8km8&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link: &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1617&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/1617&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-03-13T13:49:17.350" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17413" PostTypeId="1" AcceptedAnswerId="17418" CreationDate="2019-03-13T14:44:23.850" Score="0" ViewCount="158" Body="&lt;p&gt;When importing a Sitecore JSS App, we noticed that the default behavior is the renderings are added in the Final Layout in the Presentation Details in the item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to change the default behavior to have the renderings added to the Shared Layout instead of Final Layout?&lt;/p&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="319" LastEditDate="2019-03-13T16:04:47.470" LastActivityDate="2019-03-13T16:30:02.360" Title="JSS Import renderings into Shared Layout on Presentation Details" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17415" PostTypeId="1" CreationDate="2019-03-13T15:23:05.637" Score="2" ViewCount="391" Body="&lt;p&gt;I have two row rendering&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Row_1&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;&#xA;    @Html.Sitecore().DynamicPlaceholder(&quot;section&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Row_2&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;&#xA;    &amp;lt;div&amp;gt;&#xA;        @Html.Sitecore().DynamicPlaceholder(&quot;section&quot;)&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I make both of these compatible renderings of the other.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I drop Row_1 on the page and put a 1 column rendering (Or any rendering) in the &lt;code&gt;section&lt;/code&gt; placeholder, I get a presentation details like below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Section&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;page-layout-{00000000-0000-0000-0000-000000000000}-0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;One column&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/page-layout-{00000000-0000-0000-0000-000000000000}-0/section-{23E68120-46D9-4066-B597-8A010998FEA6}-0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when I switch from Row_1 to Row_2 in compatible renderings, everything disappears and I only see the &lt;code&gt;Section&lt;/code&gt; placeholder again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I add a 1 column to my now empty &lt;code&gt;Section&lt;/code&gt; placeholder. I get a different sections ID. Notice the section is no longer &lt;code&gt;{23E68120-46D9-4066-B597-8A010998FEA6}&lt;/code&gt;. It is now &lt;code&gt;{1AEF33CD-6BB2-458D-9BC3-8F4D6C08B395}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Section&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;page-layout-{00000000-0000-0000-0000-000000000000}-0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;One column&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/page-layout-{00000000-0000-0000-0000-000000000000}-0/section-{1AEF33CD-6BB2-458D-9BC3-8F4D6C08B395}-0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried some of the extra configuration for the placeholder, besides just the name. But it seems to fail the same way. This did work with Sitecore 8.2 and the Dynamic Placeholders nuget.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks all&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2021-08-05T17:01:05.093" Title="Did we lose row/column compatible renderings in Sitecore 9 dynamic placeholders?" Tags="|placeholders|dynamic-placeholder|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17416" PostTypeId="2" ParentId="17409" CreationDate="2019-03-13T15:54:51.610" Score="4" Body="&lt;p&gt;This is a known behavior of xConnect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can not use ExecuteRightToBeForgotteninside a batch enumerator. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Method ExecuteRightToBeForgotten looks like : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static RightToBeForgottenOperation ExecuteRightToBeForgotten(this IXdbContext context, IEntityReference&amp;lt;Contact&amp;gt; contact)&#xA;{&#xA;    if (context == null)&#xA;    {&#xA;        throw new ArgumentNullException(&quot;context&quot;);&#xA;    }&#xA;    if (contact == null)&#xA;    {&#xA;        throw new ArgumentNullException(&quot;contact&quot;);&#xA;    }&#xA;    RightToBeForgottenOperation rightToBeForgottenOperation = new RightToBeForgottenOperation(contact);&#xA;    context.RegisterOperation(rightToBeForgottenOperation);&#xA;    return rightToBeForgottenOperation;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in the     &lt;strong&gt;context.RegisterOperation(rightToBeForgottenOperation)&lt;/strong&gt; you have : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void RegisterOperation(IXdbOperation operation)&#xA;{&#xA;    if (!this.Configuration.IsDataExtractionEnabled &amp;amp;&amp;amp; (operation is CreateContactCursorOperation || operation is CreateInteractionCursorOperation))&#xA;    {&#xA;        throw new XdbExecutionException(&quot;The data extraction is disabled for this client.&quot;);&#xA;    }&#xA;    this.CheckNotDisposed();&#xA;    if (this._executingBatchCount &amp;gt; 0)&#xA;    {&#xA;        throw new InvalidOperationException(&quot;Operations cannot be added to the context while it is executing. Add operations directly to the executing batch instead&quot;);&#xA;    }&#xA;    this.EnsureBatch();&#xA;    this._currentBatch.Add(operation, true);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If it's a batch operation InvalidOperationException is thrown . &#xA; You need to add your contacts to a list and you need to use ExecuteRightToBeForgotten one by one for every contact. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to be careful with the &lt;strong&gt;WithExpandOptions&lt;/strong&gt; . You can use use the parameter less variant&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-03-13T15:54:51.610" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17417" PostTypeId="1" AcceptedAnswerId="17427" CreationDate="2019-03-13T16:02:06.720" Score="0" ViewCount="4554" Body="&lt;p&gt;We are getting below exceptions while trying to load graphs on the experience analytics dashboard. The dashboard timer keep on spinning and after few seconds we get the well known bunch of exceptions on the UI:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The OnlineInteractions graph cannot be displayed due to a server&#xA;  error. Contact you system administrator.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Whereas in CM logs we see &lt;code&gt;Sitecore.XConnect.XdbCollectionUnavailableException&lt;/code&gt; and &lt;code&gt;Sitecore.Xdb.Common.Web.ConnectionTimeoutException&lt;/code&gt;, please see the stack trace below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While debugging we already had a &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13663/error-xdb-unavailable-when-submitting-contact-certificates&quot;&gt;look at this question&lt;/a&gt; and make sure the &lt;code&gt;collectiouser&lt;/code&gt; have a required rights on Shard databases. Though we don't see any post installation steps in 9.0.2 installation guide to execute such script, hence we assume on v9.0.2 it is being taken care while installation itself.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be other possible causes for this Timeout exception?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: An error occurred while sending the request.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;Exception: Sitecore.Xdb.Common.Web.ConnectionTimeoutException&#xA;Message: A task was canceled.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteAsync&amp;gt;d__37.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteGetAsync&amp;gt;d__32.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.&amp;lt;Refresh&amp;gt;d__4.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Threading.Tasks.TaskCanceledException&#xA;Message: A task was canceled.&#xA;Source: mscorlib&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteAsync&amp;gt;d__37.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Logs in xDB Reference Data Service&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-03-12 13:27:52.417 -04:00 [Information] XConnect Test Host Application End, Machine: &quot;VM-Name&quot;, Site: &quot;stg9.xdb-reference-data.mydomain.com&quot;, AppId: &quot;/LM/W3SVC/6/ROOT&quot;&#xA;2019-03-12 13:28:31.531 -04:00 [Information] XConnect Test Host Application Start, Machine: &quot;VM-Name&quot;, Site: &quot;stg9.xdb-reference-data.mydomain.com&quot;, AppId: &quot;/LM/W3SVC/6/ROOT&quot;&#xA;2019-03-12 13:28:32.422 -04:00 [Information] Certificate Validation Filter Enabled, Thumbprint: mythumbprint&#xA;2019-03-12 13:28:32.422 -04:00 [Information] SSL Validation Filter Enabled&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Browser console logs on Experience Dashboard:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TU5Ay.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TU5Ay.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2890" LastEditorUserId="2890" LastEditDate="2019-03-14T21:44:56.367" LastActivityDate="2019-03-14T21:44:56.367" Title="Experience analytics throwing Sitecore.Xdb.Common.Web.ConnectionTimeoutException" Tags="|xconnect|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17418" PostTypeId="2" ParentId="17413" CreationDate="2019-03-13T16:30:02.360" Score="4" Body="&lt;p&gt;Yes it is possible by turning off the &lt;code&gt;useLanguageSpecificLayout&lt;/code&gt; setting on your JSS app definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/config/MyApp.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;app name=&quot;MyApp&quot;&#xA;  useLanguageSpecificLayout=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/jss/blob/d0549adff90b09690be53940094afa6c45509d3d/samples/react/sitecore/config/JssReactWeb.config#L53&quot; rel=&quot;nofollow noreferrer&quot;&gt;Example here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-03-13T16:30:02.360" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17419" PostTypeId="1" AcceptedAnswerId="17531" CreationDate="2019-03-13T16:32:52.220" Score="4" ViewCount="464" Body="&lt;p&gt;Image editor doesn't function after deploying to the azure environments. This seems to be the case for our Dev, Test and Acceptance environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using &lt;strong&gt;Crop&lt;/strong&gt; or &lt;strong&gt;Rotate&lt;/strong&gt; or &lt;strong&gt;Flip&lt;/strong&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/6IeGy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6IeGy.png&quot; alt=&quot;On crop&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/RDLBt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RDLBt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;Parameter is not valid.&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.ArgumentException: Parameter is not valid.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[ArgumentException: Parameter is not valid.]&#xA;   System.Drawing.Bitmap..ctor(String filename) +183&#xA;   Sitecore.Shell.Applications.Media.Imager.Imager.Crop(String file, String work, Int32 x, Int32 y, Int32 width, Int32 height) +151&#xA;   Sitecore.Shell.Applications.Media.Imager.ImagerForm.Crop() +280&#xA;   Sitecore.Shell.Framework.Commands.MessageCommand.Execute(CommandContext context) +622&#xA;   Sitecore.Web.UI.Sheer.ClientPage.SendMessage(Message message) +65&#xA;   Sitecore.Shell.Framework.Dispatcher.Dispatch(Message message, CommandContext context) +102&#xA;   Sitecore.Shell.Framework.Commands.MessageCommand.Execute(CommandContext context) +622&#xA;   Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command) +231&#xA;   Sitecore.Web.UI.Sheer.ClientPage.RaiseEvent() +124&#xA;   Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +801&#xA;   System.Web.UI.Control.PreRenderRecursiveInternal() +200&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7479&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When using Resize:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YWA6Z.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YWA6Z.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;D:\home\site\wwwroot\-\temp\imager.20190313t1613332060.jpeg.aspx&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.IO.FileNotFoundException: D:\home\site\wwwroot\-\temp\imager.20190313t1613332060.jpeg.aspx&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[FileNotFoundException: D:\home\site\wwwroot\-\temp\imager.20190313t1613332060.jpeg.aspx]&#xA;   System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +246&#xA;   Sitecore.Shell.Applications.Media.Imager.ImagerResizeForm.OnLoad(EventArgs e) +142&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +142&#xA;   Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;   Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +597&#xA;   System.Web.UI.Control.LoadRecursive() +154&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The /Temp/ folder looks like the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jUKHd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jUKHd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This seems very different from the temp folder in my local development instance of sitecore. Where I can see the temp files &lt;/p&gt;&#xA;" OwnerUserId="4927" LastEditorUserId="105" LastEditDate="2019-03-19T12:09:43.747" LastActivityDate="2019-03-19T12:09:43.747" Title="Image Editor actions throws &quot;Parameter not valid.&quot;" Tags="|content-editor|azure|media-library|paas|" AnswerCount="1" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17420" PostTypeId="1" AcceptedAnswerId="17421" CreationDate="2019-03-13T16:35:20.407" Score="1" ViewCount="95" Body="&lt;p&gt;As an example, I'll use a generic content &lt;code&gt;Block&lt;/code&gt; component. This component, among other params, would have a &lt;code&gt;columnSpan&lt;/code&gt; param. As far as I can tell, the only way to predefine options for that param is to create individual content entries like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/L4JCA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/L4JCA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;...and use that directory as the &lt;code&gt;source&lt;/code&gt; of the params like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  ...&#xA;  source: 'dataSource=sitecore/content/BlockColumnSpanOptions'&#xA;  ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, multiply that by X number of components and X number of params, this content directory is quickly going to become nightmarish. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a better/other way to provide param options in a more flattened/simplified manner?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance for any help provided.&lt;/p&gt;&#xA;" OwnerUserId="5225" LastActivityDate="2019-03-13T16:53:31.080" Title="Are individual yml files needed for each component param option?" Tags="|jss|datasource|components|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17421" PostTypeId="2" ParentId="17420" CreationDate="2019-03-13T16:53:31.080" Score="3" Body="&lt;p&gt;The manifest API is a JavaScript API; we just provide a default input via YAML. You can modify the handling in &lt;code&gt;/sitecore/definitions/*.sitecore.js&lt;/code&gt; to source content from whatever you like, including multiple items in one JS file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/jss/blob/d0549adff90b09690be53940094afa6c45509d3d/samples/react/sitecore/definitions/content.sitecore.js#L33&quot; rel=&quot;nofollow noreferrer&quot;&gt;Example here&lt;/a&gt;, note that the manifest contains TypeScript typings to make constructing objects easier.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-03-13T16:53:31.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17422" PostTypeId="1" AcceptedAnswerId="17429" CreationDate="2019-03-13T17:56:25.983" Score="0" ViewCount="1203" Body="&lt;p&gt;I am on Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have read &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3765/sitecore-8-2-with-web-api-2&quot;&gt;this question&lt;/a&gt; and &lt;a href=&quot;https://stackoverflow.com/questions/19969228/ensure-that-httpconfiguration-ensureinitialized&quot;&gt;this other one&lt;/a&gt;; my configuration is as follows.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to execute my code on startup, I hijack the &lt;strong&gt;initialize&lt;/strong&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;initialize&amp;gt;&#xA;    &amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Pipelines.Loader.EnsureAnonymousUsers, Sitecore.Kernel']&quot;&#xA;      type=&quot;MyProject.Pipelines.RegisterHttpRoutes.WebApiConfig, BlueRubicon.Pipelines&quot; /&amp;gt;&#xA;  &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Global.asax is the default one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@Application Language='C#' Inherits=&quot;Sitecore.Web.Application&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I have no Global.asax.cs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the &lt;strong&gt;WebApiConfig&lt;/strong&gt; class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class WebApiConfig&#xA;{&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;        GlobalConfiguration.Configure(Register);&#xA;    }&#xA;&#xA;    public void Register(HttpConfiguration config)&#xA;    {&#xA;        config.Routes.MapHttpRoute(&quot;FileUploadApi&quot;, &quot;api/FileUpload/{id}&quot;,&#xA;            new { controller = &quot;FileUpload&quot;, id = RouteParameter.Optional });&#xA;&#xA;        config.Routes.MapHttpRoute(&quot;CareersApi&quot;, &quot;api/careersapi/{action}/{id}&quot;,&#xA;            new { controller = &quot;CareersApi&quot;, id = RouteParameter.Optional });&#xA;&#xA;        config.Routes.MapHttpRoute(&quot;Inspiration&quot;, &quot;api/inspiration/{action}/{id}&quot;,&#xA;            new { controller = &quot;Inspiration&quot;, id = RouteParameter.Optional });&#xA;&#xA;        config.Routes.MapHttpRoute(&quot;Brand&quot;, &quot;api/Brand/{action}/{id}&quot;,&#xA;           new { controller = &quot;Brand&quot;, id = RouteParameter.Optional });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why am I still getting the &lt;em&gt;The object has not yet been initialized. Ensure that HttpConfiguration.EnsureInitialized() is called in the application's startup code after all other initialization code.&lt;/em&gt; error?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-03-13T19:06:09.887" LastActivityDate="2019-03-14T01:35:00.430" Title="Yet another &quot;The object has not yet been initialized. Ensure that HttpConfiguration.EnsureInitialized() is called&quot; question" Tags="|upgrade|webapi|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17423" PostTypeId="1" CreationDate="2019-03-13T17:56:31.283" Score="1" ViewCount="210" Body="&lt;p&gt;I have an issue related to the lucene index. The index is not being built when I do smart publish even if there is onPublishEndAsync added, but it does when I do republish.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="5224" LastActivityDate="2021-07-31T06:00:20.043" Title="Rebuild lucene index after publishing issue" Tags="|indexing|lucene|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17427" PostTypeId="2" ParentId="17417" CreationDate="2019-03-13T22:22:14.130" Score="2" Body="&lt;p&gt;Experience Analytics relies on both the Reporting Server of Sitecore and the Reference Data service of xConnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More often then not, this issue is because of an error occuring in the Reference Data service (which also relies on the Collection Search service)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To troubleshoot, I would examine the logs from the xConnect Reference Data service to see if there is a .NET error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also have to look at the IIS access logs to see the request coming in from the Sitecore server and look at the result code.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Expect a 200 if everything is fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Expect a 403 if there are most likely certificate errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Expect a 500 if there are .NET errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trying hard not to make this a link only answer as well as trying not to duplicate an answer already given, you may want to &lt;a href=&quot;https://sitecore.stackexchange.com/a/17213/246&quot;&gt;Validate Your Install&lt;/a&gt; of Sitecore 9.0.2 using this helpful guidance.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-03-13T22:44:20.567" LastActivityDate="2019-03-13T22:44:20.567" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17428" PostTypeId="2" ParentId="17423" CreationDate="2019-03-14T01:26:31.397" Score="1" Body="&lt;p&gt;It is not an issue, it's the expected behavior.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The thing is that the &lt;strong&gt;smart publish won't publish anything&lt;/strong&gt; if there isn't any change since the last publish you did.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;republish however will publish every single item&lt;/strong&gt; on the master no matter what.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why you can see the elements being (re)created on the web index when republishing but can't see anything happening when smart publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more information about the different way of publishing something in Sitecore on this SSE post: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/384/what-is-the-difference-between-republish-smart-publish-and-incremental-publishe&quot;&gt;What is the difference between republish, smart publish and incremental publishes?&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-03-14T01:26:31.397" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17429" PostTypeId="2" ParentId="17422" CreationDate="2019-03-14T01:35:00.430" Score="1" Body="&lt;p&gt;Are you just trying to register API routes? Its way easier than that. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;code&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class InitializeRoutes&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        // Registration&#xA;        RouteTable.Routes.MapRoute(&quot;create-member&quot;,&#xA;            Constants.BaseRoute&#xA;            + Constants.ApiVersion&#xA;            + &quot;/membership&quot;,&#xA;            new { controller = &quot;RegistrationApi&quot;, action = &quot;Create&quot; },&#xA;            new { httpMethod = new HttpMethodConstraint(&quot;POST&quot;) }&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;config&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;initialize&amp;gt;&#xA;    &amp;lt;processor type=&quot;YourApp.Pipelines.Initialize.InitializeRoutes, YourApp&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;  &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-03-14T01:35:00.430" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17430" PostTypeId="1" AcceptedAnswerId="17433" CreationDate="2019-03-14T03:37:49.020" Score="1" ViewCount="350" Body="&lt;p&gt;I am running 2 Sitecore CD servers, the servers are load balanced on Azure and we have Azure CDN as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The strange thing is that 2 lines of codes are randomly missing from the page response we get back from the CDN. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;meta name=&quot;VIcurrentDateTime&quot; content=&quot;636881125141092538&quot; /&amp;gt;&#xA;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;/layouts/system/VisitorIdentification.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have checked through about 30 unique page load on the CDN and made sure that the X-Cache:Hit is not in the response. About 60% of the pages were missing the 2 lines of code. These 2 lines were generated by &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My initial thought was that perhaps one of the two CD servers is acting weird. But I tried loading 30 pages each on both CD servers, both CD servers return a perfect response 100% of the time without anything missing. Both CD servers also have an identical layout.aspx with &lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt; in the Head section as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I am guessing it is related to the Azure CDN. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have experience with this? Please help.&lt;/p&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="312" LastEditDate="2019-04-08T12:43:55.327" LastActivityDate="2019-04-08T12:43:55.327" Title="Missing VisitorIndentification.js script randomly when loading with Azure CDN" Tags="|xdb|azure|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17431" PostTypeId="2" ParentId="17415" CreationDate="2019-03-14T04:38:12.027" Score="0" Body="&lt;p&gt;I guess it is just how Sitecore creates the Dynamic placeholder differently and it guarantees a uniqueness to placeholder key across different renderings.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/dynamic-placeholders.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Quote from Sitecore Docs&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Unlike a regular Sitecore placeholder that uses placeholder name as a&#xA;placeholder key, a dynamic placeholder generates a unique key. The&#xA;dynamic placeholder key looks like this:&lt;/p&gt;&#xA;&lt;p&gt;{placeholder key}-{rendering unique suffix}-{unique suffix within&#xA;rendering}&lt;/p&gt;&#xA;&lt;p&gt;Where&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;rendering unique suffix - UID of a rendering that contains the placeholder. It guarantees a uniqueness to placeholder key across&#xA;different renderings.&lt;/li&gt;&#xA;&lt;li&gt;unique suffix within rendering - index number of a dynamically generated placeholder. First number equals to the Seed.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;When u swap out Row_1 for Row_2, the Row_1's dynamic placeholder key goes away and components that were previously added to Row_1's dynamic placeholder will not be rendered. That is because &amp;quot;rendering unique suffix&amp;quot; used to build the dynamic placeholder key is unique to the rendering component.&lt;/p&gt;&#xA;&lt;p&gt;To solve your problem, you can either&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Avoid swapping out components with DynamicPlaceholders by creating another rendering that holds the DynamicPlaceholder, while your Row_1 and Row_2 uses static placeholders.&lt;/li&gt;&#xA;&lt;li&gt;or change the way &amp;quot;rendering unique suffix&amp;quot; is generated via mvc.getDynamicPlaceholderKeys Sitecore pipeline&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;You can find more details in the &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/dynamic-placeholders.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Docs for Dynamic Placeholders&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-14T04:43:40.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17433" PostTypeId="2" ParentId="17430" CreationDate="2019-03-14T09:07:00.127" Score="3" Body="&lt;p&gt;&lt;strong&gt;You should never server Sitecore pages through CDN.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore &lt;code&gt;VisitorIdentification&lt;/code&gt; rendering generates a link to &lt;code&gt;VisitorIdentification.js&lt;/code&gt; file only for the first user request. Then the cookies are set already so it's not needed to include js file anymore.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If your CDN serves cached page without &lt;code&gt;VisitorIdentification.js&lt;/code&gt; none of the new contacts will have js rendered and they may not be identified properly.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Sitecore personalizes content based on custom conditions (if your content authors use that functionality).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If your CDN serves cached page which was generated for User A, it doesn't mean that the same page with same components should be served for User B.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Sitecore gives you ability for Multivariate Testing - if you serve pages via CDN, it will never work cause Sitecore is never hit.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So to summarize:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;VisitorIdentification.js&lt;/code&gt; is missing randomly depending on whether someone's initial request was cached (with js) or someone's 2nd or later request was cached.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/visitor-identification-using-the-robot-detection-component.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/visitor-identification-using-the-robot-detection-component.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/tracking-and-personalization.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/tracking-and-personalization.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-14T09:07:00.127" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17434" PostTypeId="2" ParentId="8267" CreationDate="2019-03-14T09:38:02.517" Score="1" Body="&lt;p&gt;In this scenario where you want to show regular expression message. Please use field type as Single-line-text and apply validation as &quot;Number only&quot; under validation section(left panel). Please see below screenshot of WFFM Form&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WFFM From&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/kK57B.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kK57B.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Page Response-&lt;/strong&gt; Here you can see in below screenshot,it is displaying regular expression message, now you can customize validation message.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pUFQr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pUFQr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-03-14T09:38:02.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17435" PostTypeId="2" ParentId="16714" CreationDate="2019-03-14T11:48:14.847" Score="1" Body="&lt;p&gt;I had exactly the same issue. &#xA;In my case, it turned out that we had an old version of &lt;code&gt;sitecore\shell\client\Sitecore\ExperienceEditor\ExperienceEditor.js&lt;/code&gt; file. &#xA;After I replaced it with a new one problem solved.&#xA;Sitecore 8.2 u7&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2019-03-14T11:48:14.847" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17437" PostTypeId="2" ParentId="16750" CreationDate="2019-03-14T11:58:10.487" Score="4" Body="&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/enable-indexing-of-pii-sensitive-data.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Enabling indexing of PII sensitive fields&lt;/a&gt; is one way to fix this I've found, although it is of course up to your organization if you really want to use this fix.&lt;/p&gt;&#xA;" OwnerUserId="2369" LastActivityDate="2019-03-14T11:58:10.487" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17438" PostTypeId="1" AcceptedAnswerId="17439" CreationDate="2019-03-14T13:35:42.783" Score="1" ViewCount="416" Body="&lt;p&gt;I am using the Storefront with SXA (XC 9.0.3) and get a &lt;code&gt;Domain is null&lt;/code&gt; error when registering a new account (URI is &lt;code&gt;api/cxa/Account/Registration&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;Errors&quot;:[&quot;Registration: The Domain is null and is probably not defined in Domain Manager.&quot;],&#xA;&quot;Info&quot;:[],&#xA;&quot;Warnings&quot;:[],&#xA;&quot;HasErrors&quot;:true,&#xA;&quot;HasInfo&quot;:false,&#xA;&quot;HasWarnings&quot;:false,&#xA;&quot;Success&quot;:false,&#xA;&quot;Url&quot;:null,&#xA;&quot;ContentEncoding&quot;:null,&#xA;&quot;ContentType&quot;:null,&#xA;&quot;Data&quot;:null,&#xA;&quot;JsonRequestBehavior&quot;:1,&#xA;&quot;MaxJsonLength&quot;:null,&#xA;&quot;RecursionLimit&quot;:null}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where should I configure the domain value?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-03-14T13:38:23.950" LastActivityDate="2019-03-14T13:41:15.300" Title="Storefront registering an account: Domain is null" Tags="|sxa-storefront|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17439" PostTypeId="2" ParentId="17438" CreationDate="2019-03-14T13:41:15.300" Score="2" Body="&lt;p&gt;Sounds like you haven't setup your security for your Tenant/Site, or if you have, the domain is not configured. If you setup your SXA Security and pick a new domain for the tenant or site, it is not automatically added to the &lt;code&gt;Domains.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To configure the domain, just click the &lt;strong&gt;Domain Manager&lt;/strong&gt; from the &lt;code&gt;Launch Pad&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pH4El.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pH4El.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then click &lt;strong&gt;New&lt;/strong&gt; and add the domain:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KIJMj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KIJMj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will update the &lt;code&gt;/App_Config/Security/Domains.config&lt;/code&gt; file, so you may need to deploy that out to your CD servers too.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-14T13:41:15.300" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17441" PostTypeId="1" AcceptedAnswerId="17445" CreationDate="2019-03-14T14:32:33.603" Score="0" ViewCount="74" Body="&lt;p&gt;I used the installation script for an XP1 scaled 9.1 instance, which includes a bunch of json files for xconnect:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HMLCh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HMLCh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;however after successfully running .\XP1-SingleDeveloper.ps1 I cannot find an IIS instance for xconnect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I supposed to have one such instance? What am I doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-03-14T17:19:07.993" Title="Can't find XConnect instance after installing Sitecore XP1" Tags="|xconnect|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17444" PostTypeId="2" ParentId="14890" CreationDate="2019-03-14T16:49:58.730" Score="-1" Body="&lt;p&gt;Could you try by adding source with &lt;strong&gt;asc&lt;/strong&gt; or &lt;strong&gt;desc&lt;/strong&gt; in &lt;strong&gt;[ ]&lt;/strong&gt; brackets. it is working for me.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation=/sitecore/content/Parks/Imported Data/Attributes/Activities&amp;amp;Filter=_template:{C1CD56E2-A02F-46F2-A97A-3392E092918D}&amp;amp;_path:/sitecore/content/Parks/Imported Data/Attributes/Activities&amp;amp;SortField=__DisplayName [asc]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Replace [asc] according to your requirement.&lt;/p&gt;&#xA;" OwnerUserId="1363" LastActivityDate="2019-03-14T16:49:58.730" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17445" PostTypeId="2" ParentId="17441" CreationDate="2019-03-14T17:19:07.993" Score="1" Body="&lt;p&gt;You will not have such an instance. A single xConnect instance you will have on XP0. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;on XP1 you have next application roles: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jlo03.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jlo03.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are described every role what is doing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/application-roles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/application-roles.html&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-03-14T17:19:07.993" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17446" PostTypeId="1" CreationDate="2019-03-14T18:05:49.173" Score="1" ViewCount="446" Body="&lt;p&gt;I have an instance of sitecore commerce 9.0.1 installed on my local machine. Two days back I found that all the certificates are expired.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created new Self-Signed Certificates and deleted the old ones and also remapped the thumbprint in the config files of SxP,xConnect, commerce roles etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Business Tool doesn't open, nothing in analytics works, product are empty etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see lots of error related to xConnect, xDb and all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please share your thoughts on the right way to replace expired certificates in sitecore commerce 9 ?&lt;/p&gt;&#xA;" OwnerUserId="3658" LastActivityDate="2019-03-14T19:31:09.050" Title="Sitecore commerce 9 certificate expired" Tags="|sitecore-commerce|xconnect|sitecore-install-framework|" AnswerCount="1" CommentCount="1" ClosedDate="2019-03-15T08:37:02.160" ContentLicense="CC BY-SA 4.0" />
  <row Id="17447" PostTypeId="2" ParentId="17446" CreationDate="2019-03-14T19:31:09.050" Score="1" Body="&lt;p&gt;If you already have the new self trusted and client certificates, then make sure you update the following config files:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Xconnect&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sc\App_Config\ConnectionStrings.config&lt;/li&gt;&#xA;&lt;li&gt;xconnect\App_Config\AppSettings.config&lt;/li&gt;&#xA;&lt;li&gt;xconnect\App_Data\jobs\continuous\AutomationEngine\App_Config\ConnectionStrings.config&lt;/li&gt;&#xA;&lt;li&gt;xconnect\App_Data\jobs\continuous\ProcessingEngine\App_Config\ConnectionStrings.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Identity Server&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;identityserver\Config\production\Sitecore.IdentityServer.Host.xml&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After doing so, make sure &lt;strong&gt;you have the right certificates on IIS&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pORay.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pORay.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next thing I would double check is if you &lt;strong&gt;self-trusted certificate has a private key&lt;/strong&gt; and if all generated &lt;strong&gt;certificates have the right read-write access&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xIT5i.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xIT5i.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oSkug.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oSkug.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find a more detailed explanation about all those certificate issues on this blogpost: &lt;a href=&quot;https://coveoticore.wordpress.com/2019/02/19/how-to-fix-a-certificate-issue-on-a-sitecore-9-1-instance/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://coveoticore.wordpress.com/2019/02/19/how-to-fix-a-certificate-issue-on-a-sitecore-9-1-instance/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-03-14T19:31:09.050" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17448" PostTypeId="2" ParentId="12535" CreationDate="2019-03-14T20:12:47.057" Score="0" Body="&lt;p&gt;I found a way to set up my projects to support the desired functionality, though in a roundabout way. Basically, in the install script, I just set it up to install cms.sitename, then I modified the web.config to point the cms.sitename to the preview mode and added a new entry for www.sitename which points to the published site. The Sitecore panel is now accessible only from cms.sitename.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, to further clarify, this is on a local environment. As to the original question and the ability to drop &lt;code&gt;/sitecore&lt;/code&gt; from the url, this does not seem possible or advisable, but is also not a concern since I was able to successfully set up the CM on a subdomain.&lt;/p&gt;&#xA;" OwnerUserId="3838" LastEditorUserId="3838" LastEditDate="2019-03-15T18:23:04.590" LastActivityDate="2019-03-15T18:23:04.590" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17449" PostTypeId="1" AcceptedAnswerId="17525" CreationDate="2019-03-14T20:35:44.180" Score="0" ViewCount="295" Body="&lt;p&gt;I'm having a weird problem where not all of my template items are deploying via &lt;code&gt;TDS's&lt;/code&gt; update file, but only for a single environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I upload the &lt;code&gt;update&lt;/code&gt; file to &lt;code&gt;/sitecore/admin/UpdateInstallationWizard.aspx&lt;/code&gt;, and analyze it on my local machine, I can see the items that are not being deployed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I upload the same &lt;code&gt;update&lt;/code&gt; file to the problem environment it doesn't list the files I want to deploy at all. In fact, it lists about 100 fewer files in the analysis. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas of what could be causing this?&lt;/p&gt;&#xA;" OwnerUserId="4239" LastEditorUserId="5096" LastEditDate="2019-05-11T11:19:31.603" LastActivityDate="2019-05-11T11:19:31.603" Title="New Templates Not Deploying with TDS" Tags="|tds|update-packages|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17450" PostTypeId="1" CreationDate="2019-03-14T22:38:35.150" Score="1" ViewCount="753" Body="&lt;p&gt;I have a form in my page. One of the requirements is to validate the email address if it is valid or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I put my custom error message from  &lt;code&gt;/sitecore/system/Settings/Forms/Validations/Email Validator&lt;/code&gt;, then published. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Upon testing it, it did not display the custom error message. I conducted my investigation and I found out that the error message that was being displayed is coming from &lt;code&gt;jquery.validate.min.js&lt;/code&gt; which is located inside the webroot &lt;code&gt;\wwwroot\Site\sitecore modules\Web\ExperienceForms\scripts&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an easy hack about it and that is to change the text inside the js but I know for sure that it will eventually be a problem once the language versioning happened.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can somebody from this group help me how to solve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note: This is Sitecore Forms and not WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3365" LastEditorUserId="35" LastEditDate="2019-03-15T08:23:21.673" LastActivityDate="2019-03-15T08:23:21.673" Title="Sitecore Form custom error message is not displaying for Email Validator" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17451" PostTypeId="2" ParentId="17384" CreationDate="2019-03-14T23:22:37.967" Score="2" Body="&lt;p&gt;I'm afraid you'll have to use area's.. Or rename your controllers. &#xA;To make it less rework, you could plugin a processor that scans assemblies and creates areas on startup. Only thing left to do is to add the area name to your renderings. I've tested this with the code below: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class HelixAreaInitializationProcessor&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        AddHelixAreas(&quot;*.Feature.*&quot;, &quot;*.Foundation.*&quot;, &quot;*.Project.*&quot;);&#xA;    }&#xA;&#xA;    private void AddHelixAreas(params string[] assemblyFilters)&#xA;    {&#xA;        var assemblies = GetAssemblies(assemblyFilters);&#xA;        foreach (var assembly in assemblies)&#xA;        {&#xA;            var area = new HelixAreaRegistration(assembly);&#xA;            area.Register();&#xA;        }&#xA;    }&#xA;&#xA;    private static Assembly[] GetAssemblies(IEnumerable&amp;lt;string&amp;gt; assemblyFilters)&#xA;    {&#xA;        var assemblies = new List&amp;lt;Assembly&amp;gt;();&#xA;        foreach (var assemblyFilter in assemblyFilters)&#xA;        {&#xA;            assemblies.AddRange(AppDomain.CurrentDomain.GetAssemblies().Where(assembly =&amp;gt; IsWildcardMatch(assembly.GetName().Name, assemblyFilter)).ToArray());&#xA;        }&#xA;        return assemblies.ToArray();&#xA;    }&#xA;&#xA;    private static bool IsWildcardMatch(string input, string wildcard)&#xA;    {&#xA;        return input == wildcard || Regex.IsMatch(input, &quot;^&quot; + Regex.Escape(wildcard).Replace(&quot;\\*&quot;, &quot;.*&quot;).Replace(&quot;\\?&quot;, &quot;.&quot;) + &quot;$&quot;, RegexOptions.IgnoreCase);&#xA;    }&#xA;}&#xA;&#xA;class HelixAreaRegistration : AreaRegistration&#xA;{&#xA;    private readonly string _name;&#xA;    private readonly string[] _namespaces;&#xA;&#xA;    public HelixAreaRegistration(Assembly assembly)&#xA;    {&#xA;        _name = assembly.GetName().Name;&#xA;        _namespaces = assembly.ExportedTypes&#xA;            .Where(x =&amp;gt; typeof(IController).IsAssignableFrom(x))&#xA;            .Select(x =&amp;gt; x.Namespace)&#xA;            .Distinct()&#xA;            .ToArray();&#xA;    }&#xA;&#xA;    public override string AreaName =&amp;gt; _name;&#xA;&#xA;    public override void RegisterArea(AreaRegistrationContext context)&#xA;    {&#xA;        context.MapRoute(&#xA;            AreaName,&#xA;            $&quot;{AreaName}/{{controller}}/{{action}}/{{id}}&quot;,&#xA;            new { action = &quot;Index&quot;, id = UrlParameter.Optional },&#xA;            _namespaces&#xA;        );&#xA;    }&#xA;&#xA;    public void Register()&#xA;    {&#xA;        RegisterArea(new AreaRegistrationContext(AreaName, RouteTable.Routes));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3555" LastEditorUserId="3555" LastEditDate="2019-03-15T12:27:40.343" LastActivityDate="2019-03-15T12:27:40.343" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17452" PostTypeId="1" AcceptedAnswerId="17454" CreationDate="2019-03-15T01:20:57.207" Score="0" ViewCount="394" Body="&lt;p&gt;Each Article uses datasource underneath.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UgT9K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UgT9K.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using query to find CTA button of current item but it returns nothing.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;query:.//Article Datasource/Article Top Content&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kQxfD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kQxfD.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3167" LastActivityDate="2019-03-15T02:26:05.330" Title="set relative query to datasource" Tags="|sitecore-client|sitecore-query|querybuilder|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17453" PostTypeId="1" CreationDate="2019-03-15T02:20:28.513" Score="0" ViewCount="94" Body="&lt;p&gt;I have  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 8.1 UPD3(CM, CD, Processing distributed environment)  &lt;/li&gt;&#xA;&lt;li&gt;mogodb 3.0.15 (sharded cluster and replication)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am currently facing the problem that accessing CDs takes a very long time to query analytics.Interactions.&lt;br&gt;&#xA;This query is as follows: (Excerpt from mongod's log)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$query: { &#xA;  $or: [ &#xA;    { ContactId: BinData(3, 5F98E7DE08126C42B1DC9196379EB7B7) }, &#xA;    { ContactId: BinData(3, 3C1A9FBF535C1A4690FE9B86F14B8105) } &#xA;&#xA;  ], _t: &quot;VisitData&quot; &#xA;}, &#xA;$orderby: { StartDateTime: 1, _id: 1 } }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;According to the log, this execution time takes a very long time of 35245 ms.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even though {ContactId: 1, ContactVisiteIndex: 1} has an index, I can not understand that it takes such a long time.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get the query to complete in a reasonable amount of time?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of mongod's log:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2019-03-14T18:25:41.358+0900 I COMMAND  [conn65760] query&#xA;  analytics.Interactions query: { $query: { $or: [ { ContactId:&#xA;  BinData(3, 5F98E7DE08126C42B1DC9196379EB7B7) }, { ContactId:&#xA;  BinData(3, 3C1A9FBF535C1A4690FE9B86F14B8105) } ], _t: &quot;VisitData&quot; },&#xA;  $orderby: { StartDateTime: 1, _id: 1 } } planSummary: IXSCAN {&#xA;  StartDateTime: 1.0, _id: 1.0 } cursorid:47073259001 ntoreturn:0&#xA;  ntoskip:0 nscanned:1944530 nscannedObjects:1944530 keyUpdates:0&#xA;  writeConflicts:0 numYields:16100 nreturned:101 reslen:11029 locks:{&#xA;  Global: { acquireCount: { r: 32202 } }, MMAPV1Journal: { acquireCount:&#xA;  { r: 16105 }, acquireWaitCount: { r: 15 }, timeAcquiringMicros: { r:&#xA;  3696316 } }, Database: { acquireCount: { r: 16101 } }, Collection: {&#xA;  acquireCount: { R: 16101 }, acquireWaitCount: { R: 4 },&#xA;  timeAcquiringMicros: { R: 86158 } } } 35245ms&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;2019/03/18  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed the following in the log: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;planSummary: IXSCAN { StartDateTime: 1.0, _id: 1.0 }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What this IXSCAN shows is that you are using the wrong index.&lt;br&gt;&#xA;We considered the following steps to get a valid index, but is it correct?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1st db.Interactions.createIndex( { ContactId:1, _t:1 } . {background: true})&lt;br&gt;&#xA;2nd db.Interactions.clear()  &lt;/p&gt;&#xA;" OwnerUserId="3870" LastEditorUserId="3870" LastEditDate="2019-03-18T08:57:52.353" LastActivityDate="2019-03-18T08:57:52.353" Title="The query to MongoDB analytics.interations collection is very slow" Tags="|mongodb|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17454" PostTypeId="2" ParentId="17452" CreationDate="2019-03-15T02:26:05.330" Score="1" Body="&lt;p&gt;You need to escape the spaces. &lt;code&gt;./#Article Datasource#/#Article Top Content#&lt;/code&gt;. Sitecore Query queries must be escaped when containing spaces.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/3687405/escaping-reserved-words&quot;&gt;Escaping reserved words&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-query-cheat-sheet&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Query Cheat Sheet&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/3558/sitecore-query-fails-expected-at-position-92&quot;&gt;Sitecore Query fails - “::” expected at position 92&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-03-15T02:26:05.330" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17455" PostTypeId="1" CreationDate="2019-03-15T04:02:18.607" Score="0" ViewCount="44" Body="&lt;p&gt;Although the workflow field is empty in the content editor,&#xA;I can get the value of workflow field by API.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;var varworkFlowBefore = targetItem[&quot;__Workflow&quot;]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The default workflow for content, the workflow state contains values, but only the workflow fields are empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to get the right workflow fields for such content?&#xA;I do not know why it is empty in the content editor although I can get it in the API.&lt;/p&gt;&#xA;" OwnerUserId="3869" LastEditorUserId="342" LastEditDate="2019-03-15T11:33:44.820" LastActivityDate="2019-03-15T11:33:44.820" Title="Although the workflow field can be obtained by API, it is empty in the content editor" Tags="|workflow|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17457" PostTypeId="1" AcceptedAnswerId="17591" CreationDate="2019-03-15T05:12:06.273" Score="3" ViewCount="1243" Body="&lt;p&gt;I want to have a list of articles that could be located anywhere throughout the website with a particular tag associated to it.  I don't want to have to have a specific query for each and every tag however.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I have a page - with a page listing rendering added to it.  It's source type is set to an Item query:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZbAbm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZbAbm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know how to have a static query for one particular tag:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6Ah2I.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6Ah2I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But that would mean having to create a new item query for every tag that I wanted to filter on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had tried to get the sxa token to work in an item query ie:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pdLpe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pdLpe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it always returns no results (even though my indexed data has the appropriate tags in its data).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried using Search scope&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9xjTb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9xjTb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but scope doesn't seem to be able to be associated to a page listing.  Tried using the search results rendering - but that seems to require a base search query, and my page will not have a search querystring to drive a search which could then be filtered to sxa tag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would have thought that there was a way of displaying a list associated to an sxa tag without having to write custom code so I'm hoping I've missed something obvious.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional Information. &#xA;My listing page is the generic page template that came out of the box as Page - and inherits _Searchable.  My article page is a custom template type.  It inherits all the SXA base templates that the Page out of the box came with.  So it also inherits from _Searchable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My tags are defined under my SXA Site/Data/Tags item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Cac5V.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cac5V.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My page that conatins the listing has this tag.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/rUUrk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rUUrk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As does my article page &#xA;&lt;a href=&quot;https://i.stack.imgur.com/4PhHr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4PhHr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These items are indexed with the tag data in the SXA Master index. But my query is returning no results when using the SXA token search in the Item Query for the page listing.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-03-20T03:28:04.270" LastActivityDate="2019-03-26T23:47:36.293" Title="How to display page list based on query against a dynamic sxatag value" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17460" PostTypeId="1" CreationDate="2019-03-15T09:48:24.210" Score="1" ViewCount="829" Body="&lt;p&gt;We are using Sitecore 9.0.2 and SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have configured a server error page in the field called &quot;&lt;code&gt;Server Error Page Link&lt;/code&gt;&quot; in the &quot;Settings&quot; item. We generated the static error page (navigate to site inside &quot;&lt;code&gt;Site Grouping&lt;/code&gt;&quot; and in Error Handling tab in ribbon click &quot;Generate static error page&quot;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a page where I just throw an exception in code and when I hit that page it should be redirected to the server error page. &#xA;This approach is working fine in local but not working on the Dev environment, which is set up in Azure PaaS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In local, it is working fine irrespective of CustomErrors mode value. I tried all the modes in Dev, even published the whole site but no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any extra step for Azure PaaS to make it work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in Dev, customErrors mode is &quot;RemoteOnly&quot;. The error is below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Runtime Error&#xA;Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found one difference, it is creating a folder called &quot;ErrorPages&quot; in the site root folder and one error HTML page inside this folder in local which is not happening in Dev.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The process to setup server error page in SXA: &lt;a href=&quot;http://zhenyuan.azurewebsites.net/category/sxa&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://zhenyuan.azurewebsites.net/category/sxa&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3377" LastEditorUserId="4050" LastEditDate="2020-01-16T06:26:01.417" LastActivityDate="2020-01-16T06:26:01.417" Title="SXA server error page not working in Azure PaaS" Tags="|sxa|paas|error-handling|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17461" PostTypeId="1" CreationDate="2019-03-15T10:21:20.703" Score="0" ViewCount="345" Body="&lt;p&gt;Following the SXA documentation &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/configure-sxa-indexing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Configure SXA indexing&lt;/a&gt;, I have created my custom indexes :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/38eMR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/38eMR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I have created a patch config file for the corresponding index definitions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a page I use a Search Result component, and when I check the Sitecore logs, I can see the used index is &quot;sitecore_sxa_master_index&quot; instead of my custom index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On preview mode (master db) :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-03-15T10:17:20  PID[11424] Information 21412 10:17:20 INFO  AzureSearch Query [sitecore_sxa_master_index]: &amp;amp;search=(language_1:(fr\-FR) AND template_1:(ca5cfa2adb5641d9aa3adab73b86d677))&amp;amp;$filter=(latestversion_1 and (((path_1/any(t:t eq '0d95c065a3e24304a308c186c12b553e')) and searchable) or ((path_1/any(t:t eq '76b6d453423a497db0d427779f866fd7')) and searchable) or ((path_1/any(t:t eq '93c838194064443787a2839f10c1c0fb')) and searchable) or ((path_1/any(t:t eq '92e68bef47ff4a29bc87b26b62dbe4c4')) and searchable)) and (path_1/any(t:t eq '76b6d453423a497db0d427779f866fd7')))&amp;amp;queryType=full&amp;amp;$count=true&#xA;&#xA;2019-03-15T10:17:20  PID[11424] Information 21412 10:17:20 INFO  AzureSearch Query [sitecore_sxa_master_index]: &amp;amp;search=(language_1:(fr\-FR) AND template_1:(ca5cfa2adb5641d9aa3adab73b86d677))&amp;amp;$filter=(latestversion_1 and (((path_1/any(t:t eq '0d95c065a3e24304a308c186c12b553e')) and searchable) or ((path_1/any(t:t eq '76b6d453423a497db0d427779f866fd7')) and searchable) or ((path_1/any(t:t eq '93c838194064443787a2839f10c1c0fb')) and searchable) or ((path_1/any(t:t eq '92e68bef47ff4a29bc87b26b62dbe4c4')) and searchable)) and (path_1/any(t:t eq '76b6d453423a497db0d427779f866fd7')))&amp;amp;queryType=full&amp;amp;$skip=0&amp;amp;$top=50&amp;amp;$count=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On front end (web db) :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-03-15T10:18:19  PID[11424] Information 13716 10:18:19 INFO  AzureSearch Query [sitecore_sxa_web_index]: &amp;amp;search=(language_1:(fr\-FR) AND template_1:(ca5cfa2adb5641d9aa3adab73b86d677))&amp;amp;$filter=(latestversion_1 and (((path_1/any(t:t eq '0d95c065a3e24304a308c186c12b553e')) and searchable) or ((path_1/any(t:t eq '76b6d453423a497db0d427779f866fd7')) and searchable) or ((path_1/any(t:t eq '93c838194064443787a2839f10c1c0fb')) and searchable) or ((path_1/any(t:t eq '92e68bef47ff4a29bc87b26b62dbe4c4')) and searchable)) and (path_1/any(t:t eq '76b6d453423a497db0d427779f866fd7')))&amp;amp;queryType=full&amp;amp;$count=true&#xA;&#xA;2019-03-15T10:18:19  PID[11424] Information 13716 10:18:19 INFO  AzureSearch Query [sitecore_sxa_web_index]: &amp;amp;search=(language_1:(fr\-FR) AND template_1:(ca5cfa2adb5641d9aa3adab73b86d677))&amp;amp;$filter=(latestversion_1 and (((path_1/any(t:t eq '0d95c065a3e24304a308c186c12b553e')) and searchable) or ((path_1/any(t:t eq '76b6d453423a497db0d427779f866fd7')) and searchable) or ((path_1/any(t:t eq '93c838194064443787a2839f10c1c0fb')) and searchable) or ((path_1/any(t:t eq '92e68bef47ff4a29bc87b26b62dbe4c4')) and searchable)) and (path_1/any(t:t eq '76b6d453423a497db0d427779f866fd7')))&amp;amp;queryType=full&amp;amp;$skip=0&amp;amp;$top=50&amp;amp;$orderby=name___s desc&amp;amp;$count=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is wrong with my configuration / understanding ?&lt;/p&gt;&#xA;" OwnerUserId="5233" LastEditorUserId="5233" LastEditDate="2019-03-15T13:07:14.930" LastActivityDate="2019-03-15T13:07:14.930" Title="SXA Custom index not used by Search Results component" Tags="|sxa|azure-search|index|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17462" PostTypeId="1" CreationDate="2019-03-15T10:25:13.007" Score="1" ViewCount="101" Body="&lt;p&gt;Dynamics Marketing List sync in 8.2 is inbuilt pipeline and works for our requirement.It looks like that functionality is removed in 9.1 and we need to create our own pipeline for marketing list sync.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created the pipelines and batch based on &lt;a href=&quot;https://www.clearpeople.com/insights/blog/2019/january/how-to-synchronise-dynamics-crm-marketing-lists-into-sitecore-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.clearpeople.com/insights/blog/2019/january/how-to-synchronise-dynamics-crm-marketing-lists-into-sitecore-9&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While running the batch pipeline I get the below error, Kindly help.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #6 11:50:32 INFO [Data Exchange] Starting pipeline&#xA;  batch processing. (pipeline batch: Dynamics Marketing Lists to&#xA;  Sitecore Items)&lt;/p&gt;&#xA;  &#xA;  &lt;hr&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #6 11:50:53 INFO [Data Exchange] Entities were read from Dynamics. (pipeline: Read&#xA;  CRM List Pipeline, pipeline step: Read CRM Marketing Lists, pipeline&#xA;  step identifier: 31ffabeb-863c-4ecc-af04-4e7e418ad094, endpoint:&#xA;  Dynamics Organization Endpoint, entity: list)&lt;/p&gt;&#xA;  &#xA;  &lt;hr&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #6 11:50:54 ERROR [Data Exchange] No value was read from identifier object.&#xA;  (pipeline: CRM List to Sitecore Item Sync Pipeline, pipeline step:&#xA;  Resolve Sitecore Item, pipeline step identifier:&#xA;  c6df2e1f-0c4f-4aaa-b073-280105b5170c)&lt;/p&gt;&#xA;  &#xA;  &lt;hr&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #6 11:50:54 ERROR [Data Exchange] No identifier value was resolved. (pipeline: CRM&#xA;  List to Sitecore Item Sync Pipeline, pipeline step: Resolve Sitecore&#xA;  Item, pipeline step identifier: c6df2e1f-0c4f-4aaa-b073-280105b5170c)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Can anybody help?&lt;/p&gt;&#xA;" OwnerUserId="5234" LastEditorUserId="342" LastEditDate="2019-03-15T11:32:10.293" LastActivityDate="2019-03-15T11:32:10.293" Title="Sitecore 9.1 Dynamics Marketing List to XConnect Sync pipeline" Tags="|xconnect|pipelines|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17463" PostTypeId="1" AcceptedAnswerId="17526" CreationDate="2019-03-15T10:36:06.337" Score="0" ViewCount="737" Body="&lt;p&gt;We are using Sitecore SXA 1.7.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The checkbox '&lt;code&gt;Language Embedding&lt;/code&gt;' is set to false for one of our SXA sites and all the site url's are rendering without language code. But, in the sitemap -provided by SXA- all the url's contain the language 'en' which we want to avoid. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We raised a Sitecore support ticket on this but didn't get any reponse yet. Is there a way to get this working in Sitemap as well?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual UrlOptions GetUrlOptions()&#xA;    {&#xA;      UrlOptions defaultUrlOptions = LinkManager.GetDefaultUrlOptions();&#xA;      defaultUrlOptions.Site = this.Context.Site;&#xA;      defaultUrlOptions.AlwaysIncludeServerUrl = false;&#xA;      defaultUrlOptions.SiteResolving = true;&#xA;      return defaultUrlOptions;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="4164" LastEditDate="2019-03-16T20:51:06.527" LastActivityDate="2019-03-19T04:22:36.023" Title="Is there a way to exclude language from URL in SXA Sitemap" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17464" PostTypeId="2" ParentId="17384" CreationDate="2019-03-15T10:38:02.903" Score="0" Body="&lt;p&gt;Based on above code, I managed to solve it by adding proper (Commerce SXA only) namespaces to the &lt;code&gt;MapRoute&lt;/code&gt; calls in the &lt;code&gt;Sitecore.Commerce.XA.Foundation.Common.Pipelines.Initialize.RegisterControllerRoutes&lt;/code&gt; processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual void Register()&#xA;{&#xA;     var namespaces = GetNamespaces(&quot;Sitecore.Commerce.XA.Feature.*&quot;, &quot;Sitecore.Commerce.XA.Foundation.*&quot;);&#xA;&#xA;     RouteTable.Routes.MapRoute(&#xA;         name: &quot;ApiRoutes&quot;, &#xA;         url: &quot;{virtualFolder}/api/cxa/{controller}/{action}&quot;, &#xA;         namespaces: namespaces);&#xA;&#xA;     RouteTable.Routes.MapRoute(&#xA;         name: &quot;RootApiRoutes&quot;,&#xA;         url: &quot;api/cxa/{controller}/{action}&quot;,&#xA;         namespaces: namespaces);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-03-15T10:38:02.903" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17466" PostTypeId="1" CreationDate="2019-03-15T12:34:45.683" Score="0" ViewCount="435" Body="&lt;p&gt;When I delete or unpublish an item in Sitecore 9.1, it is removed from the web-database and sitecore_web_index, but not from my custom index (Solr 7.2.1), any other update finds its way into the index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we use that custom index a lot (custom search, odata, most presentation controls), that is a HUGE problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All other updates like additions and changes end up in the index, only the deletions do not (get removed). I thought it might occur since the uniqueid isn't in lowercase, but changes work, so that would be very strange.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Config info:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;contentSearch&amp;gt;&#xA;  &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;      &amp;lt;index id=&quot;cbs_index_web&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;core&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param patch:after=&quot;*[@desc='core']&quot; desc=&quot;rebuildcore&quot;&amp;gt;$(id)_sec&amp;lt;/param&amp;gt;&#xA;        &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;&amp;gt;&#xA;          &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;&#xA;              &amp;lt;!-- DEFAULT SITECORE FIELDS --&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_uniqueid&quot; storageType=&quot;YES&quot; returnType=&quot;string&quot;/&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_templatename&quot; storageType=&quot;YES&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_fullpath&quot; storageType=&quot;YES&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_language&quot; storageType=&quot;YES&quot; returnType=&quot;string&quot;/&amp;gt;&#xA;&#xA;              &amp;lt;!-- SHARED FIELDS --&amp;gt;&#xA;            ....    &#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;            ....&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;        &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;          &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsyncSingleInstance&quot; /&amp;gt;&#xA;        &amp;lt;/strategies&amp;gt;&#xA;        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;          &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;          &amp;lt;/crawler&amp;gt;&#xA;        &amp;lt;/locations&amp;gt;&#xA;        &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;        &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;      &amp;lt;/index&amp;gt;&#xA;    &amp;lt;/indexes&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2250" LastEditorUserId="2250" LastEditDate="2019-03-16T13:53:55.470" LastActivityDate="2019-03-16T13:53:55.470" Title="Item not removed from SOLR index after unpublish or delete" Tags="|solr|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17467" PostTypeId="1" AcceptedAnswerId="17843" CreationDate="2019-03-15T12:56:23.760" Score="3" ViewCount="396" Body="&lt;p&gt;In SC9.1, I have a marketing automation that is triggering EXM emails.  I'm using the &lt;code&gt;where contact clicked email&lt;/code&gt; condition to direct the visitor through the automation.  Marketing automation is not picking the click condition from the email.  I see the click activity in the Experience Profile activity tab, so I know that it's making it to xDB.  My automation is working for goals triggered, and &lt;code&gt;where contact opened email&lt;/code&gt;, but not for contact clicked.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any tips on how to debug this would be appreciated.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ioGwm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ioGwm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastEditorUserId="432" LastEditDate="2019-03-16T03:27:34.830" LastActivityDate="2019-04-01T21:24:16.800" Title="Custom listener - where contact clicked email condition not firing" Tags="|marketing-automation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17470" PostTypeId="1" AcceptedAnswerId="17471" CreationDate="2019-03-15T15:29:28.513" Score="2" ViewCount="60" Body="&lt;p&gt;I created a first custom rendering for SXA with variant as &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/build-a-rendering-that-includes-variants.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;described in the docs&lt;/a&gt; with a repository that inherits from &lt;code&gt;VariantsRepository&lt;/code&gt; and it seems to work fine (we created one variant and that worked as expected).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had to create another rendering that was rather similar - it belonged in the same feature, even in the same controller. So I created a new action method and placed a new GetModel function in my repository. Created the rendering in Sitecore, added a variant and all seemed fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But.. when I go to a page that has rendering B and then to a page with rendering A they seem to be interacting. Same thing happens the other way round. The first visited rendering seems to affect the second one as if caching is involved. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I checked all caching settings. There are none.  &lt;/li&gt;&#xA;&lt;li&gt;I added a breakpoint in both methods in my controller and both are called.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What could be causing this?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-15T15:29:28.513" Title="Two custom SXA renderings with variants conflict?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17471" PostTypeId="2" ParentId="17470" CreationDate="2019-03-15T15:29:28.513" Score="3" Body="&lt;p&gt;Further debugging showed me that the &lt;code&gt;VariantsRepository&lt;/code&gt; from SXA inherits from a &lt;code&gt;AbstractVariantsRepository&lt;/code&gt; and that one holds the &lt;code&gt;variantItem&lt;/code&gt; and &lt;code&gt;variantFields&lt;/code&gt; as an instance variable in the repository. Those get filled when you call &lt;code&gt;FillBaseProperties&lt;/code&gt;, but only if they are not already filled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my own repository (based upon the VariantsRepository) also has those properties. But I was using DI and as I usually don't put properties in my repositories so I marked my repository to be a &lt;em&gt;singleton&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This caused the repository to read the variants item and fields for the first called rendering and keep those for all next calls. Creating a separate repository for the second rendering would not fix this - I had to remove the Singleton setting and replace that by Transient.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Lesson learned&lt;/strong&gt;: when using DI, always add the &lt;em&gt;VariantsRepository&lt;/em&gt; based repositories as &lt;em&gt;Transient&lt;/em&gt; so they are created each time. This way the variant data is correctly filled by the FillBaseProperties method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could also override the &lt;code&gt;VariantItem&lt;/code&gt; and &lt;code&gt;VariantFields&lt;/code&gt; property getters without the null checks but that does not sound like the best idea.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-15T15:29:28.513" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17472" PostTypeId="2" ParentId="17463" CreationDate="2019-03-15T15:55:01.600" Score="2" Body="&lt;p&gt;The sitemap generator uses these UrlOptions:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual UrlOptions GetUrlOptions()&#xA;{&#xA;  UrlOptions defaultUrlOptions = LinkManager.GetDefaultUrlOptions();&#xA;  defaultUrlOptions.Site = this.Context.Site;&#xA;  defaultUrlOptions.AlwaysIncludeServerUrl = false;&#xA;  defaultUrlOptions.SiteResolving = true;&#xA;  defaultUrlOptions.LanguageEmbedding = LanguageEmbedding.Always;&#xA;  return defaultUrlOptions;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;LanguageEmbedding.Always&lt;/strong&gt; is causing your issue. This can be found in &lt;code&gt;Sitecore.XA.Feature.SiteMetadata.Sitemap.SitemapGenerator&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think it could be fixed as the Generator gets UrlOptions from the SitemapHandler that is calling it (without this hardcoded embedding) but that is an assumption. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-15T15:55:01.600" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17473" PostTypeId="1" AcceptedAnswerId="17474" CreationDate="2019-03-15T17:40:52.923" Score="2" ViewCount="965" Body="&lt;p&gt;We have a prod set up that has one CM and two CDs. The CD servers serve content from a second web database that we call &quot;live&quot;. This database is a clone of web. We use web as a staging environment on the CM server. We have also created a sitecore_live_index and a onPublishEndAsyncLive index update strategy. However, when doing a publish to the &quot;live&quot; publishing target the index update job is not fired. I can see the publish event in both the &quot;live&quot; database event queue table and in the &quot;core&quot; database event queue table. Any suggestions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the config for the database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;database id=&quot;live&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot; singleInstance=&quot;true&quot; patch:source=&quot;_databases.config&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;icon&amp;gt;Images/database_web.png&amp;lt;/icon&amp;gt;&#xA;    &amp;lt;securityEnabled&amp;gt;true&amp;lt;/securityEnabled&amp;gt;&#xA;    &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;        &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;            &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;            &amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;                &amp;lt;childLimit&amp;gt;100&amp;lt;/childLimit&amp;gt;&#xA;                &amp;lt;logStats&amp;gt;false&amp;lt;/logStats&amp;gt;&#xA;                &amp;lt;template desc=&quot;template&quot;&amp;gt;{AB86861A-6030-46C5-B394-E8F99E8B87DB}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;template section&quot;&amp;gt;{E269FBB5-3750-427A-9149-7AA950B49301}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;template field&quot;&amp;gt;{455A3E98-A627-4B40-8035-E683A0331AC7}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;language&quot;&amp;gt;{F68F13A6-3395-426A-B9A1-FA2DC60D94EB}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;device&quot;&amp;gt;{B6F7EEB4-E8D7-476F-8936-5ACE6A76F20B}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;item desc=&quot;root&quot;&amp;gt;{11111111-1111-1111-1111-111111111111}&amp;lt;/item&amp;gt;&#xA;                &amp;lt;children desc=&quot;main sections&quot;&amp;gt;{11111111-1111-1111-1111-111111111111}&amp;lt;/children&amp;gt;&#xA;                &amp;lt;cacheSize&amp;gt;100MB&amp;lt;/cacheSize&amp;gt;&#xA;                &amp;lt;template desc=&quot;alias&quot;&amp;gt;{54BCFFB7-8F46-4948-AE74-DA5B6B5AFA86}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;layout&quot;&amp;gt;{3A45A723-64EE-4919-9D41-02FD40FD1466}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Sublayout&quot;&amp;gt;{0A98E368-CDB9-4E1E-927C-8E0C24A003FB}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;xsl rendering&quot;&amp;gt;{F1F1D639-4F54-40C2-8BE0-81266B392CEB}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;item desc=&quot;home&quot;&amp;gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&amp;lt;/item&amp;gt;&#xA;                &amp;lt;children desc=&quot;main items&quot;&amp;gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&amp;lt;/children&amp;gt;&#xA;                &amp;lt;!--  MVC  --&amp;gt;&#xA;                &amp;lt;template desc=&quot;Controller rendering&quot;&amp;gt;{2A3E91A0-7987-44B5-AB34-35C2D9DE83B9}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Item rendering&quot;&amp;gt;{86776923-ECA5-4310-8DC0-AE65FE88D078}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Rendering&quot;&amp;gt;{92D4A8C4-5754-4E1A-96A6-095BD193E12B}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Sublayout&quot;&amp;gt;{0A98E368-CDB9-4E1E-927C-8E0C24A003FB}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;View rendering&quot;&amp;gt;{99F8905D-4A87-4EB8-9F8B-A9BEBFB3ADD6}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;!--  Rules  --&amp;gt;&#xA;                &amp;lt;template desc=&quot;Action&quot;&amp;gt;{F90052A5-B4E6-4E6D-9812-1E1B88A6FCEA}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Condition&quot;&amp;gt;{F0D16EEE-3A05-4E43-A082-795A32B873C0}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Conditional Rendering Rule&quot;&amp;gt;{550B5CEF-242C-463F-8ED5-983922A39863}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Content Editor Warning Rule&quot;&amp;gt;{71A2C881-FBB3-4A23-A187-7FD50A20F924}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Insert Options Rule&quot;&amp;gt;{664E5035-EB8C-4BA1-9731-A098FCC9127A}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Rule&quot;&amp;gt;{D9BDF22F-6E17-47F3-AB64-49C717BA92DA}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Script&quot;&amp;gt;{AB6DD55D-75E3-4A02-9793-7054ED90FCB6}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Element Folder&quot;&amp;gt;{54DAE7CD-BFD8-4E69-9679-75F2AE9F9034}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Rule Elements Visibility Rule&quot;&amp;gt;{271F5CF1-95C7-474D-9F04-06C6EBB20D8F}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Rules Context Folder&quot;&amp;gt;{DDA66314-03F3-4C89-84A9-39DFFB235B06}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Rules Folder&quot;&amp;gt;{8EA2CF67-4250-47A2-AECA-4F70FD200DC7}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Tag&quot;&amp;gt;{1A9B6300-4652-477C-A4B5-B2A64E86B29F}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Tags Definition&quot;&amp;gt;{854BA861-63EA-4A0C-8C7B-541E9A7EC4C1}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Tags Definitions Folder&quot;&amp;gt;{96C8E5DD-63C3-496B-A97C-A3E37E1DACBA}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Visibility&quot;&amp;gt;{AA91A868-02F2-41D3-8B78-1CAD91B4DCAE}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Validation Result&quot;&amp;gt;{29045375-C15F-4E69-B873-75C3F5C1814B}&amp;lt;/template&amp;gt;&#xA;                &amp;lt;template desc=&quot;Validation Rule&quot;&amp;gt;{0512BDE9-5696-42C4-8C7D-B349EDA9CEF9}&amp;lt;/template&amp;gt;&#xA;            &amp;lt;/prefetch&amp;gt;&#xA;        &amp;lt;/dataProvider&amp;gt;&#xA;    &amp;lt;/dataProviders&amp;gt;&#xA;    &amp;lt;PropertyStore ref=&quot;PropertyStoreProvider/store[@name='$(id)']&quot;/&amp;gt;&#xA;    &amp;lt;remoteEvents.EventQueue&amp;gt;&#xA;        &amp;lt;obj ref=&quot;eventing/eventQueueProvider/eventQueue[@name='$(id)']&quot;/&amp;gt;&#xA;    &amp;lt;/remoteEvents.EventQueue&amp;gt;&#xA;    &amp;lt;archives hint=&quot;raw:AddArchive&quot;&amp;gt;&#xA;        &amp;lt;archive name=&quot;archive&quot;/&amp;gt;&#xA;        &amp;lt;archive name=&quot;recyclebin&quot;/&amp;gt;&#xA;    &amp;lt;/archives&amp;gt;&#xA;    &amp;lt;cacheSizes hint=&quot;setting&quot;&amp;gt;&#xA;        &amp;lt;data&amp;gt;200MB&amp;lt;/data&amp;gt;&#xA;        &amp;lt;items&amp;gt;200MB&amp;lt;/items&amp;gt;&#xA;        &amp;lt;paths&amp;gt;2500KB&amp;lt;/paths&amp;gt;&#xA;        &amp;lt;itempaths&amp;gt;50MB&amp;lt;/itempaths&amp;gt;&#xA;        &amp;lt;standardValues&amp;gt;2500KB&amp;lt;/standardValues&amp;gt;&#xA;    &amp;lt;/cacheSizes&amp;gt;&#xA;&amp;lt;/database&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;sitecore_live_index&quot; type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot; patch:source=&quot;SiteSearch.config&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;core&quot;&amp;gt;prod-pmo_live_index&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; desc=&quot;propertyStore&quot; param1=&quot;$(id)&quot;/&amp;gt;&#xA;    &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;/&amp;gt;&#xA;    &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;        &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsyncLive&quot;/&amp;gt;&#xA;    &amp;lt;/strategies&amp;gt;&#xA;    &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;        &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;live&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;        &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;/locations&amp;gt;&#xA;    &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;    &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the indexing strategy:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;onPublishEndAsyncLive type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch&quot; patch:source=&quot;SiteSearch.config&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;database&quot;&amp;gt;live&amp;lt;/param&amp;gt;&#xA;    &amp;lt;CheckForThreshold&amp;gt;true&amp;lt;/CheckForThreshold&amp;gt;&#xA;&amp;lt;/onPublishEndAsyncLive&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="856" LastEditorUserId="342" LastEditDate="2019-03-15T19:26:03.570" LastActivityDate="2022-09-06T18:56:20.780" Title="Index Update Strategy not Firing on Publish End with Custom Publishing Target and Custom Solr Index" Tags="|content-search|solr|publishing|indexing|event-queue|" AnswerCount="1" CommentCount="2" ClosedDate="2019-03-16T09:45:42.733" ContentLicense="CC BY-SA 4.0" />
  <row Id="17474" PostTypeId="2" ParentId="17473" CreationDate="2019-03-15T20:24:59.973" Score="3" Body="&lt;p&gt;The solution mentioned in Dan Sinclair's comment worked to fix this issue. Thanks Dan!&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;DELETE FROM [Core].[dbo].[Properties] WHERE [Key] LIKE '%_LAST_UPDATED_TIMESTAMP%'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;After running this operation restart your CM/Indexing instance(s).&lt;/p&gt;&#xA;" OwnerUserId="856" LastEditorUserId="2126" LastEditDate="2022-09-06T18:56:20.780" LastActivityDate="2022-09-06T18:56:20.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17475" PostTypeId="2" ParentId="17382" CreationDate="2019-03-15T23:38:47.687" Score="3" Body="&lt;p&gt;In the upgraded version of Glass Mapper (5.3.15), I think by default it will perform mapping of all the models from IGlassBase interface during the application start. Looks like it is not performing the mapping on start up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Glass Mapper provides API to perform this mapping on demand that should convert the base glass model to corresponding template model.&#xA;Add the following API in to make sure it maps to the corresponding model in your case Navigation menu.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;config.OnDemandMappingEnabled = true;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9DY36.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9DY36.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-03-15T23:38:47.687" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17476" PostTypeId="1" CreationDate="2019-03-16T05:55:03.553" Score="0" ViewCount="106" Body="&lt;p&gt;Have been trying to setup the sitecore docker with command below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module Sitecore.DockerImages.Management -Force -Verbose&#xA;&#xA;# Check parameters:&#xA;#-VersionsFilter &quot;.*\\9\.0\.1 rev\. 171219\\.*sitecore-xpsingle.*\\windowsservercore-ltsc2016$&quot; `&#xA;&#xA;Invoke-SitecoreDockerImageBuild `&#xA;  -BuildRootPath &quot;c:\\docker\\Sitecore\\docker-images\\sitecore&quot; `&#xA;  -VersionsFilter &quot;9.0.2 rev\. 180604*&quot; `&#xA;  -AssetsSourcePath &quot;c:\\Software\\Sitecore\\Repository\\&quot; `&#xA;  -AssetsTransformPath &quot;c:\tmp&quot; `&#xA;  -Registry &quot;VSWebsiteRegistry.azurecr.io&quot; `&#xA;  -Isolation 'None' `&#xA;  -PushMode 'Never'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I keep getting the error below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Step 14/25 : RUN &amp;amp; 'c:/solr/bin/solr.cmd' start -p 8983;     Expand-Archive -Path (Join-Path $env:INSTALL_TEMP '*.zip') -DestinationPath $env:INSTALL_TE&#xA;MP;     Expand-Archive -Path (Join-Path $env:INSTALL_TEMP '*Configuration files*.zip') -DestinationPath $env:INSTALL_TEMP;     Install-SitecoreConfigura&#xA;tion -Path $env:SIF_CONFIG     -SolrUrl &quot;http://localhost:8983/solr&quot;     -SolrRoot &quot;c:/solr&quot;     -SolrService &quot;void&quot;     -CorePrefix $env:SOLR_PREFIX   &#xA;  -Skip &quot;StopSolr&quot;, &quot;StartSolr&quot;;     Get-Process -Name &quot;java&quot; | Stop-Process -Force;&#xA; ---&amp;gt; Running in 239c7b045448&#xA;Waiting up to 30 to see Solr running on port 8983&#xA;Started Solr server on port 8983. Happy searching!&#xA;[91mExpand-Archive : The path '' either does not exist or is not a valid file &#xA;[0m[91msystem path.&#xA;At line:1 char:116&#xA;+ ... rt -p 8983; Expand-Archive -Path (Join-Path $env:INSTALL_TEMP '*.zip' ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidArgument: (:String) [Expand-Archive], IOE &#xA;[0m[91m   xception&#xA;[0m[91m    + FullyQualifiedErrorId : PathNotFound,Expand-Archive&#xA;[0m[91m &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not able to figure out what I've done wrong here.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like SOLR is started but the script is stuck on this step 14/25.&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="73" LastEditDate="2019-03-17T21:03:22.587" LastActivityDate="2019-03-20T21:07:14.983" Title="Image build stuck - Step 14/25 : RUN &amp; 'c:/solr/bin/solr.cmd" Tags="|docker|container|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17477" PostTypeId="1" AcceptedAnswerId="17480" CreationDate="2019-03-16T07:38:24.567" Score="0" ViewCount="45" Body="&lt;p&gt;Once setup folder sync option for yours sitecore project, it automatically syncing assets(css,javascript).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How folder sync(Sitecore Rock) feature is internally syncing assets?&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-04-30T07:24:52.877" Title="How folder sync(Sitecore Rock) feature is internally syncing assets?" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17479" PostTypeId="1" AcceptedAnswerId="17482" CreationDate="2019-03-16T15:13:59.860" Score="1" ViewCount="12833" Body="&lt;p&gt;I am exposing web API through ServicesApiController and want to authorize user through [AuthorizedUser(@&quot;sitecore\ServicesAPI&quot;)] attribute of the function, everything is working fine, but instead of returning 401 status, Sitecore returning 404 status.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution I am thinking to terminate the request if authorization failed and return the request from the &quot;OnAuthorization&quot; method only or handle this scenario from 404 not found pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using this code for authorization &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void OnAuthorization(HttpActionContext actionContext)&#xA;    {&#xA;        base.OnAuthorization(actionContext);&#xA;        var context = Context.User;&#xA;        //string test = context.ToString();&#xA;        if ((context.IsAuthenticated &amp;amp;&amp;amp; context.Name.Equals(_user)))&#xA;            return;&#xA;&#xA;        actionContext.Response =&#xA;            actionContext.ControllerContext.Request.CreateErrorResponse(HttpStatusCode.Unauthorized,&#xA;                &quot;Unauthorized Access; User is &quot; + Context.User.LocalName);&#xA;        base.OnAuthorization(actionContext);&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and validate the controller function like below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[AuthorizedUser(@&quot;sitecore\ServicesAPI&quot;)]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="690" LastActivityDate="2019-03-17T15:38:24.580" Title="How to Return 401 Response from OnAuthorization Method - ServicesApiController" Tags="|webapi|sitecore-services-client|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17480" PostTypeId="2" ParentId="17477" CreationDate="2019-03-16T15:38:26.237" Score="0" Body="&lt;p&gt;Folder Synchronization operates with two modes: &lt;code&gt;Copy and Mirror&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Mirror mode any change (update, create, rename or delete) is applied to the destination folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Copy mode creates and updates are applied. Renames does not delete the old file and Deletes are not applied. This is a non-destructive mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Mirror mode, this will execute a shell command like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;robocopy &amp;lt;source&amp;gt; &amp;lt;target&amp;gt; /mir /njh /njs /ndl /nc /ns /np&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Copy mode, this will execute the following shell command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;xcopy &amp;lt;source&amp;gt;\*.* &amp;lt;target&amp;gt; /e /d /i /y&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source&lt;/strong&gt; &lt;a href=&quot;https://github.com/Sitecore/Sitecore.Rocks/blob/master/docs/Tools/FolderSynchronization.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore.Rocks/blob/master/docs/Tools/FolderSynchronization.md&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-04-30T07:24:52.877" LastActivityDate="2019-04-30T07:24:52.877" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17481" PostTypeId="2" ParentId="17460" CreationDate="2019-03-17T05:23:42.743" Score="1" Body="&lt;p&gt;There is now official documentation for this available &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/generate-a-custom-static-error-page.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. However I will extend it with some extra steps that I think are needed. I've tested with 9.0.2 and SXA 1.7.1, as well as with 9.1.0 and SXA 1.8.0 on Azure PaaS.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create your error page item.&lt;/li&gt;&#xA;&lt;li&gt;Publish the error page item.&lt;/li&gt;&#xA;&lt;li&gt;Navigate to sitecore/Content/Tenant/Site/Settings and in the Error Handling section insert the link to your custom error page.&#xA;If you cannot find the Error Handling section, you may have need to select the Error Handling option when creating your tenant.&lt;/li&gt;&#xA;&lt;li&gt;Navigate to /sitecore/Content/Tenant/Site/Settings/Site Grouping/Site and in the ribbon, on the Error Handling tab, click Generate static error page and click Ok&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When you click the &quot;Generate static error page&quot; button on the Site grouping site, you should see logs like this on the CM server:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;INFO  HTTP 500 request page URL: &lt;a href=&quot;https://...azurewebsites.net/500&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://...azurewebsites.net/500&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;INFO  HTTP 500 page has been succesfully rendered to /ErrorPages\Site.html&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;It will not automatically copy the .html file to CD servers, so I would recommend you check in the .html file into your solution (for example, in Project.Site layer if you're using helix) so that the static page will be deployed to all servers.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Notes and Troubleshooting&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Something to note is that SXA will &lt;strong&gt;not&lt;/strong&gt; be affected by any setting of &lt;code&gt;customErrors&lt;/code&gt; in the web.config. If you need to disable the custom errors page functionality on local development, then you'll need to unlink the Error page from settings and delete the static .html file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it's still not working, then SXA will log similar as follows:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find proper static error page for site: site. Please generate it.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In this case, please double check your .html file is present in /ErrorPages/Site.html. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another possible reason it won't work is if it's resolving the Site Context incorrectly. In this case use the Site Manager to check your site grouping settings are correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are getting an HTTP 405 response when you POST a form and IIS blocks the request (for example if you have &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag in the request), then the only way I've found to fix this is to add a .html file handler to your web.config as &lt;a href=&quot;https://serverfault.com/a/349193&quot;&gt;per this answer&lt;/a&gt;. However, I haven't fully tested this so it is up to you to determine it won't affect any other functionality.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;html&quot; path=&quot;*.html&quot; verb=&quot;*&quot; modules=&quot;IsapiModule&quot; scriptProcessor=&quot;%windir%\system32\inetsrv\asp.dll&quot; resourceType=&quot;Unspecified&quot; requireAccess=&quot;None&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-03-17T06:30:00.147" LastActivityDate="2019-03-17T06:30:00.147" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17482" PostTypeId="2" ParentId="17479" CreationDate="2019-03-17T05:29:17.943" Score="1" Body="&lt;p&gt;Try returning the response as :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;actionContext.Response = new HttpResponseMessage((HttpStatusCode)401) { ReasonPhrase = &quot;Unauthorized user&quot; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2019-03-17T05:29:17.943" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17484" PostTypeId="2" ParentId="17479" CreationDate="2019-03-17T11:33:42.630" Score="1" Body="&lt;p&gt;Try using &lt;code&gt;AuthorizationContext.Result&lt;/code&gt; property.&lt;br&gt;&#xA;So, here is full code of attribute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Net;&#xA;using System.Web.Mvc;&#xA;using Sitecore;&#xA;&#xA;namespace [YOUR_NAMESPACE]&#xA;{&#xA;    public class AuthorizedUserAttribute : FilterAttribute, IAuthorizationFilter&#xA;    {&#xA;        private readonly string _user;&#xA;&#xA;        public AuthorizedUserAttribute(string user)&#xA;        {&#xA;            _user = user;&#xA;        }&#xA;&#xA;        public void OnAuthorization(AuthorizationContext filterContext)&#xA;        {&#xA;            var user = Context.User;&#xA;            if ((user.IsAuthenticated &amp;amp;&amp;amp; user.Name.Equals(_user)))&#xA;                return;&#xA;            filterContext.Result = new HttpStatusCodeResult(HttpStatusCode.Unauthorized);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you need also some JSON information in reponse as well, as with 401 error code, please see &lt;a href=&quot;https://stackoverflow.com/questions/11370251/return-json-with-error-status-code-mvc&quot;&gt;this stackoverflow question&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3311" LastActivityDate="2019-03-17T11:33:42.630" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17485" PostTypeId="1" AcceptedAnswerId="17517" CreationDate="2019-03-17T11:36:49.027" Score="5" ViewCount="897" Body="&lt;p&gt;I created a few pages within our Sitecore setup to be accessed only by the Sitecore administrator while our site was still running on 8.2, using&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Context.IsAdministrator&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;to check if the user was an administrator or not on the controller level.&#xA;After upgrading to Sitecore 9.1 the same line of code does not work anymore and is always returning false due to the user now being seen as&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;extranet\anonymous&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way I can get the correct logged in user? as I suspect this has something to do with identityserver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: these pages are like Sitecore admin pages, but instead of creating aspx pages and storing them under the sitecore\admin folder in the webroot, they are Sitecore items built using MVC and are saved under the main Sitecore tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The process into navigating to them would be like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Sitecore admin log's into Sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- Sitecore admin navigates to the following URL:&#xA;&lt;a href=&quot;https://hostname/securepages/mysecurepage&quot; rel=&quot;noreferrer&quot;&gt;https://hostname/securepages/mysecurepage&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and can view the page.&lt;/p&gt;&#xA;" OwnerUserId="329" LastEditorUserId="329" LastEditDate="2019-03-17T12:15:34.897" LastActivityDate="2019-03-18T17:53:21.713" Title="IsAdministrator check no longer working on Sitecore 9.1" Tags="|security|identity-server|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17486" PostTypeId="2" ParentId="17479" CreationDate="2019-03-17T15:38:24.580" Score="1" Body="&lt;p&gt;Please override &lt;strong&gt;HandleUnauthorizedRequest&lt;/strong&gt; method to set unauthorized(401) response&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomAuthorizeAttribute : AuthorizeAttribute  &#xA;{  &#xA;   public override void OnAuthorization(HttpActionContext actionContext)&#xA;   {&#xA;     // Here your core logic&#xA;   } &#xA;&#xA;   protected override void HandleUnauthorizedRequest(AuthorizationContext filterContext)  &#xA;   {  &#xA;      //set unauthorized(401) response&#xA;      filterContext.Result = new HttpUnauthorizedResult();  &#xA;   }  &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-03-17T15:38:24.580" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17488" PostTypeId="1" AcceptedAnswerId="17495" CreationDate="2019-03-17T19:32:05.083" Score="0" ViewCount="641" Body="&lt;p&gt;I'm trying to get data using GraphQL query with using search and get it when testing at /sitecore/api/graph/items/master/ui window &lt;a href=&quot;https://i.stack.imgur.com/uICTh.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uICTh.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;- search really work, but when I look at the React component data using Chrome tools - here such exception &quot;Cannot query field \&quot;search\&quot; on type \&quot;Query\&quot;.&quot; &lt;a href=&quot;https://i.stack.imgur.com/P2GYi.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P2GYi.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &#xA;I look at my GraphQL config and schema and &lt;strong&gt;search&lt;/strong&gt; already included in Query type&lt;a href=&quot;https://i.stack.imgur.com/JLyHL.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JLyHL.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/dBHBc.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dBHBc.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; Other type of query work normallu&lt;/p&gt;&#xA;" OwnerUserId="5238" LastEditorUserId="73" LastEditDate="2019-03-17T21:03:08.637" LastActivityDate="2019-03-18T07:08:54.677" Title="Search query error &quot;Cannot query field \&quot;search\&quot; on type \&quot;Query\&quot;" Tags="|jss|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17489" PostTypeId="2" ParentId="17406" CreationDate="2019-03-17T21:45:38.510" Score="-1" Body="&lt;p&gt;It's a bug in 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this you need:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add telemetry module to ApplicationInsights.config &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Add Type=&quot;Microsoft.ApplicationInsights.Web.AspNetDiagnosticTelemetryModule, Microsoft.AI.Web&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add module to web.config under system.webserver&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;TelemetryCorrelationHttpModule&quot; type=&quot;Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation&quot; &#xA;        preCondition=&quot;integratedMode,managedHandler&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="209" LastEditorUserId="209" LastEditDate="2019-03-17T21:54:56.900" LastActivityDate="2019-03-17T21:54:56.900" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17490" PostTypeId="1" CreationDate="2019-03-18T00:46:18.197" Score="4" ViewCount="513" Body="&lt;p&gt;So, I have multiple organizations content on my site, they are all grouped into a regional content area, and I also have a global content area.  One of my templates looks into a folder that has a photo item which they can use on their pages, but it's presented to them as a droplink field.  I have it working fine for their individual organization via the following query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:ancestor::*/Photos//*[@@templateid='{55A41A27-A674-4A04-9716-8E5CB8786A85}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to also add to this droplink options for the global and regional photos.  I tried just concatenating, eg:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  query:ancestor::*/Photos//*[@@templateid='{55A41A27-A674-4A04-9716-8E5CB8786A85}']|/sitecore/content/All Organizations/Photos//*[@@templateid='{55A41A27-A674-4A04-9716-8E5CB8786A85}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, this just concatenates two separate queries, which is fine for the individual organization level, but for the global area, it essentially is finding the same items twice, and duplicating them in the droplink.  I'm wondering if there's any way to do essentially a distinct for a this kind of query, or is that just not available?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2023-12-23T06:01:55.217" Title="Multiple queries for a droplink - removing duplicates" Tags="|templates|sitecore-query|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17491" PostTypeId="2" ParentId="17490" CreationDate="2019-03-18T02:47:40.763" Score="0" Body="&lt;p&gt;I don't think there is an option to select unique results in Sitecore Query.&lt;/p&gt;&#xA;&lt;p&gt;But you can do something like this to filter out the results by checking if the &amp;quot;Photos&amp;quot; item id on the &amp;quot;ancestor query&amp;quot; is part of your Global content area&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;query:ancestor::*/Photos[@@id!='{ID of /sitecore/content/All Organizations/Photos}']//*[@@templateid='{55A41A27-A674-4A04-9716-8E5CB8786A85}']|/sitecore/content/All Organizations/Photos//*[@@templateid='{55A41A27-A674-4A04-9716-8E5CB8786A85}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="73" LastEditDate="2022-11-28T03:47:24.413" LastActivityDate="2022-11-28T03:47:24.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17493" PostTypeId="1" CreationDate="2019-03-18T05:33:52.590" Score="0" ViewCount="429" Body="&lt;p&gt;I am using solr-7.6 version with Master/Slave config. Being a novice, I do have few question on the solr functionality:&#xA;1. What happens when Master will be down? Do i need to make Slave as Master manually or request will be automatically served through Slave. Let me know if any config is required to support this behavior.&#xA;2. Will Master be retaining the older data when it comes up?&#xA;3. In this time-period while my Slave was up and Master was down, if new indexing has been done, how the Master will replicate that index. As I don't want to lose the latest index done on Slave.&#xA;Please note i don't want to use SolrCloud as i am looking forward to upgrade only solr version as of now.&lt;/p&gt;&#xA;" OwnerUserId="5240" LastActivityDate="2019-03-18T11:55:50.227" Title="Master/Slave replication and fault tolerance" Tags="|solr|lucene|" AnswerCount="1" CommentCount="2" ClosedDate="2019-03-18T13:07:10.773" ContentLicense="CC BY-SA 4.0" />
  <row Id="17494" PostTypeId="1" CreationDate="2019-03-18T06:13:14.023" Score="0" ViewCount="79" Body="&lt;p&gt;When I sync &lt;code&gt;CRM&lt;/code&gt; contacts to Sitecore by running &lt;code&gt;Dynamics Contacts to xConnect Sync&lt;/code&gt; pipeline batch, I can see contacts in &lt;code&gt;Xdb.Collection&lt;/code&gt; SQL table, but not in Sitecore &lt;code&gt;Experince Profile&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this because contacts don't have interactions? What could be the possible fix?&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="5096" LastEditDate="2019-05-11T11:19:20.633" LastActivityDate="2019-05-11T11:19:20.633" Title="Dynamic CRM contacts are appearing in Xdb.Collection sql table but not appearing in experience profile" Tags="|xdb|xconnect|dynamics-crm-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17495" PostTypeId="2" ParentId="17488" CreationDate="2019-03-18T07:08:54.677" Score="0" Body="&lt;p&gt;I fixed it by adding GraphQL settings into the config file in jss project (in folder sitecore/config/{name-of-your-application}) and deploy this file to sitecore instance (cause I work in &lt;strong&gt;integrated mode with JSS&lt;/strong&gt; - &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/graphql/integrated-graphql#integrated-graphql-in-jss-apps&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/techniques/graphql/integrated-graphql#integrated-graphql-in-jss-apps&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="5238" LastActivityDate="2019-03-18T07:08:54.677" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17496" PostTypeId="2" ParentId="17494" CreationDate="2019-03-18T07:48:11.323" Score="1" Body="&lt;p&gt;Yes this is a normal behavior. Your contacts are anonymous (without interactions)  and anonymous contact are not indexed OOTB. &#xA;To change the contact to be indexed you need to change in 2 places in xconnect: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the xConnect Search Indexer's sc.Xdb.Collection.IndexerSettings.xml configuration file. In a default on-premise deployment, the full path is C:\path\to\xconnect\root\App_data\jobs\continuous\IndexWorker\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexerSettings.xml&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set IndexAnonymousContactData to true as shown:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     &amp;lt;Sitecore&amp;gt;&#xA;        &amp;lt;XConnect&amp;gt;&#xA;     &amp;lt;!-- SearchIndexer role requires Collection and CollectionSearch role services --&amp;gt;&#xA;       &amp;lt;SearchIndexer&amp;gt;&#xA;            &amp;lt;Services&amp;gt;&#xA;           &amp;lt;IndexerSettings&amp;gt;&#xA;                &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.IndexerSettings,&#xA; Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;                 &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;                 &amp;lt;Options&amp;gt;&#xA;                 &amp;lt;IndexPIISensitiveData&amp;gt;false&amp;lt;/IndexPIISensitiveData&amp;gt;&#xA;                 &amp;lt;IndexAnonymousContactData&amp;gt;false&amp;lt;/IndexAnonymousContactData&amp;gt;&#xA;                 &amp;lt;/Options&amp;gt;&#xA;             &amp;lt;/IndexerSettings&amp;gt;&#xA;             &amp;lt;IIndexer&amp;gt;&#xA;                 &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.DecoratedIndexer,&#xA; Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;                 &amp;lt;As&amp;gt;Sitecore.Xdb.Collection.Indexing.IIndexer, Sitecore.Xdb.Collection&amp;lt;/As&amp;gt;&#xA;                 &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;             &amp;lt;/IIndexer&amp;gt;&#xA;             &amp;lt;IIndexRebuildFlow&amp;gt;&#xA;                 &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Indexing.IndexRebuildFlow,&#xA; Sitecore.Xdb.Collection&amp;lt;/Type&amp;gt;&#xA;                 &amp;lt;As&amp;gt;Sitecore.Xdb.Collection.Indexing.IIndexRebuildFlow,&#xA; Sitecore.Xdb.Collection&amp;lt;/As&amp;gt;&#xA;                 &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;                 &amp;lt;Options&amp;gt;&#xA;                 &amp;lt;IncomingDataLagOnCompletion&amp;gt;0.00:00:05&amp;lt;/IncomingDataLagOnCompletion&amp;gt;&#xA;                 &amp;lt;!--Enable ParallelizationDegree setting to override default value which is (processorCount*4)--&amp;gt;&#xA;                 &amp;lt;!--&amp;lt;ParallelizationDegree&amp;gt;16&amp;lt;/ParallelizationDegree&amp;gt;--&amp;gt;&#xA;                 &amp;lt;BatchSize&amp;gt;1000&amp;lt;/BatchSize&amp;gt;&#xA;                 &amp;lt;/Options&amp;gt;&#xA;             &amp;lt;/IIndexRebuildFlow&amp;gt;&#xA;             &amp;lt;/Services&amp;gt;&#xA;         &amp;lt;/SearchIndexer&amp;gt;&#xA;         &amp;lt;/XConnect&amp;gt;&#xA;       &amp;lt;/Sitecore&amp;gt;&#xA;     &amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Rebuild the xDB search index.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More information you can find here : &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/enable-indexing-of-anonymous-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/enable-indexing-of-anonymous-contacts.html&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-03-18T07:48:11.323" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17497" PostTypeId="1" AcceptedAnswerId="17513" CreationDate="2019-03-18T07:51:31.727" Score="0" ViewCount="1283" Body="&lt;p&gt;Trying to install sitecore 9 update 1 but ended up with the following error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero&#xA;exit code - (-1)&#xA;At F:\SC9i\SIFLess\SIFless-EZ-1552892406.ps1:42 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:01:09&#xA;Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code -&#xA;(-1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Tasks\Invoke-WebDeployTask.ps1:36&#xA;char:2&#xA;+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wYLD5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wYLD5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the script I am executing is :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module SitecoreInstallFramework&#xA;$prefix = &quot;xp0&quot;&#xA;$PSScriptRoot = &quot;F:\SC9i&quot;&#xA;$XConnectCollectionService = &quot;xp0.xconnect&quot;&#xA;$sitecoreSiteName = &quot;xp0.sc&quot;&#xA;$SolrUrl = &quot;https://localhost:8983/solr&quot;&#xA;$SolrRoot = &quot;C:\solr\solr-6.6.2&quot;&#xA;$SolrService = &quot;solr-6.6.2&quot;&#xA;$SqlServer = &quot;localhost&quot;&#xA;$SqlAdminUser = &quot;sa&quot;&#xA;$SqlAdminPassword=&quot;password-1&quot;&#xA;&#xA;#install client certificate for xconnect&#xA;$certParams = @{&#xA;Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;&#xA;CertificateName = &quot;$prefix.xconnect_client&quot;&#xA;}&#xA;Install-SitecoreConfiguration @certParams -Verbose&#xA;#install solr cores for xdb&#xA;$solrParams = @{&#xA;Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;&#xA;SolrUrl = $SolrUrl&#xA;SolrRoot = $SolrRoot&#xA;SolrService = $SolrService&#xA;CorePrefix = $prefix&#xA;}&#xA;Install-SitecoreConfiguration @solrParams&#xA;#deploy xconnect instance&#xA;$xconnectParams = @{&#xA;Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;&#xA;Package = &quot;F:\SC9i\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip&quot;&#xA;LicenseFile = &quot;F:\SC9i\license.xml&quot;&#xA;Sitename = $XConnectCollectionService&#xA;XConnectCert = $certParams.CertificateName&#xA;SqlDbPrefix = $prefix&#xA;SqlServer = $SqlServer&#xA;SqlAdminUser = $SqlAdminUser&#xA;SqlAdminPassword = $SqlAdminPassword&#xA;SolrCorePrefix = $prefix&#xA;SolrURL = $SolrUrl&#xA;}&#xA;Install-SitecoreConfiguration @xconnectParams&#xA;#install solr cores for sitecore&#xA;$solrParams = @{&#xA;Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;&#xA;SolrUrl = $SolrUrl&#xA;SolrRoot = $SolrRoot&#xA;SolrService = $SolrService&#xA;CorePrefix = $prefix&#xA;}&#xA;Install-SitecoreConfiguration @solrParams&#xA;#install sitecore instance&#xA;$sitecoreParams = @{&#xA;Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot;&#xA;Package = &quot;F:\SC9i\Sitecore 9.0.1 rev. 171219 (OnPrem)_single.scwdp.zip&quot;&#xA;LicenseFile = &quot;F:\SC9i\license.xml&quot;&#xA;SqlDbPrefix = $prefix&#xA;SqlServer = $SqlServer&#xA;SqlAdminUser = $SqlAdminUser&#xA;SqlAdminPassword = $SqlAdminPassword&#xA;SolrCorePrefix = $prefix&#xA;SolrUrl = $SolrUrl&#xA;XConnectCert = $certParams.CertificateName&#xA;Sitename = $sitecoreSiteName&#xA;XConnectCollectionService = &quot;https://$XConnectCollectionService&quot;&#xA;}&#xA;Install-SitecoreConfiguration @sitecoreParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So need someone's helping hand who can point me where is the mistake I am doing. and where,what changes i need to do to overcome the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="5243" LastEditorUserId="605" LastEditDate="2019-03-18T10:44:38.760" LastActivityDate="2019-03-18T15:06:54.230" Title="Sitecore 9 update 1 Install-SitecoreConfiguration non-zero exit code - (-1) error" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17500" PostTypeId="1" AcceptedAnswerId="17502" CreationDate="2019-03-18T10:59:04.827" Score="1" ViewCount="1691" Body="&lt;p&gt;I want to implement NoFollow and NoIndex for every item in Sitecore but I am using SXA. Problem is there is no common template inherited among all of the items. Is there any way I can implement the same functionality using the checkbox field?&lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="237" LastEditDate="2019-03-18T11:02:30.207" LastActivityDate="2019-03-18T12:19:26.440" Title="How to implement Nofollow/Noindex in Sitecore SXA?" Tags="|sxa|seo|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17501" PostTypeId="2" ParentId="17493" CreationDate="2019-03-18T11:55:50.227" Score="1" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;When the master is down the slaves should continue to service any queries but will not be able to update their index when attempting to poll the master as it will be unavailable.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Presumably when master comes back up, you'd carry out a full reindex to ensure it's up to date.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The slaves should be set to readonly and the indexing strategy on CD servers should be set to manual. Hence the slaves should never update except when they pull the latest changes from the Master node.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5012" LastActivityDate="2019-03-18T11:55:50.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17502" PostTypeId="2" ParentId="17500" CreationDate="2019-03-18T12:19:26.440" Score="4" Body="&lt;p&gt;One way you could do it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;create a base template with the checkbox(es) you want&lt;/li&gt;&#xA;&lt;li&gt;add this base template to all project templates needed&lt;/li&gt;&#xA;&lt;li&gt;create a (custom) rendering that has the meta tag as output based upon the checkboxes (include the necessary checks in case those are not present)&lt;/li&gt;&#xA;&lt;li&gt;add the rendering to the Meta partial design (which probably is already included in all page designs)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-18T12:19:26.440" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17503" PostTypeId="1" CreationDate="2019-03-18T12:24:51.110" Score="1" ViewCount="774" Body="&lt;p&gt;I tried to send Email Campaign with first name ,last name and some other fields and I've received emails but still sent email campaign in reports return 0 although I opened email which I received and clicked on Link in email but also &lt;a href=&quot;https://i.stack.imgur.com/IHnLZ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IHnLZ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;clicks rate return 0 like in attached file&lt;/p&gt;&#xA;" OwnerUserId="5154" LastActivityDate="2019-03-18T13:37:43.573" Title="EXM can't track Opens rate or Clicks rate" Tags="|xdb|xconnect|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17504" PostTypeId="2" ParentId="9519" CreationDate="2019-03-18T12:38:35.470" Score="3" Body="&lt;p&gt;Obviously, the cause of this error is diverse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error message appears when configuration define a database that is not configured or available in the environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had this issue with Sitecore module UrlRewrite.&#xA;Please make sure that:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Hi.UrlRewrite.Prefetch.Master.config&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;is disabled in CD enviroment.&lt;/p&gt;&#xA;" OwnerUserId="1043" LastActivityDate="2019-03-18T12:38:35.470" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17505" PostTypeId="1" AcceptedAnswerId="17506" CreationDate="2019-03-18T12:46:15.190" Score="2" ViewCount="86" Body="&lt;p&gt;Trying to install Sitecore9.1 But facing error.&#xA;Already checked that solr(7.2.1) is working with https.&#xA;Please confirm, can we use same license of sotecore 9.0 for sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TamOI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TamOI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5244" LastActivityDate="2019-03-18T14:10:45.870" Title="Facing issue on installing Sitecore9.1" Tags="|installation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17506" PostTypeId="2" ParentId="17505" CreationDate="2019-03-18T13:06:54.037" Score="1" Body="&lt;p&gt;Check if solr url has &quot;/&quot; at the end of the url in your power shell script you are running to install Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes you can use Sitecore 9.0 license to install Sitecore 9.01&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-03-18T13:06:54.037" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17507" PostTypeId="1" CreationDate="2019-03-18T13:13:38.130" Score="1" ViewCount="357" Body="&lt;p&gt;I am working on building a tool for &lt;code&gt;multi-site&lt;/code&gt; implementation, right now when ever i am adding a new site i need to go and change the &lt;code&gt;site definition&lt;/code&gt; file manually but i want to make it dynamically as it is done using &lt;code&gt;SXA&lt;/code&gt; where Config files are getting updated dynamically when ever we are making any changes to &lt;code&gt;site setting&lt;/code&gt;. &lt;/p&gt;&#xA;" OwnerUserId="5040" LastEditorUserId="5096" LastEditDate="2019-05-11T11:19:17.943" LastActivityDate="2019-05-11T11:19:17.943" Title="How to Update Sitedefinition.config Dynamically?" Tags="|multisite|site-configuration|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17508" PostTypeId="2" ParentId="17503" CreationDate="2019-03-18T13:37:43.573" Score="4" Body="&lt;p&gt;There could be any number of issues preventing the reports from showing up. EXM Analytics relies heavily on Sitecore's Analytic system running appropriately, as well as the EXM Master database.&lt;/p&gt;&#xA;&lt;h2&gt;Troubleshooting EXM Analytics&lt;/h2&gt;&#xA;&lt;h3&gt;Verify Processing&lt;/h3&gt;&#xA;&lt;p&gt;The first step is to ensure that the Sitecore's ecosystem for processing analytics isn't broken. This is identified both by looking at &lt;strong&gt;Sitecore Analytics&lt;/strong&gt; as well as the log files for the Processing server and the Content Management server.&lt;/p&gt;&#xA;&lt;p&gt;Looking into Sitecore Analytics, you should see the current values of visits that are more recent than the email that you sent.&lt;/p&gt;&#xA;&lt;p&gt;Looking into logs, there should not be ANY Application Errors in those logs.&lt;/p&gt;&#xA;&lt;h3&gt;Verify Content Delivery Role for EXM&lt;/h3&gt;&#xA;&lt;p&gt;The Content Delivery server plays a vital role in the ability to record and capture the click and open activity. This includes the files needed for registering clicks and opens, which can be found in &lt;code&gt;\sitecore modules\Web\EXM&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Additionally, ensure that EXM is enabled on the Content Delivery server web.config.&lt;/p&gt;&#xA;&lt;h3&gt;Verify xConnect&lt;/h3&gt;&#xA;&lt;p&gt;xConnect plays a role here in the tracking and recording of interaction data within EXM.  All sends, opens, and clicks are processed as interactions on the contact record. Any issues with xConnect will result in issues with Analytics. Check out this &lt;a href=&quot;https://sitecore.stackexchange.com/a/17213/246&quot;&gt;answer to verify your xConnect implementation&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h3&gt;Re-Processing Message Statistics&lt;/h3&gt;&#xA;&lt;p&gt;Open up a browser and go to &lt;code&gt;/sitecore/admin/MessageStatistics.aspx&lt;/code&gt; on the Content Management server. This will require you to login.  Try processing messages from today or this week to see if this makes a difference.&lt;/p&gt;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&lt;p&gt;These steps above are simple suggestions for figuring out how to troubleshoot. At the end of the day, the root cause is that Sitecore Analytics isn't reporting data. This is a very hard issue to solve online and is usually figured out by just spending lots of time validating the entire implementation of Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-18T13:37:43.573" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17509" PostTypeId="2" ParentId="17467" CreationDate="2019-03-18T13:49:07.560" Score="2" Body="&lt;p&gt;I have experienced this issue first hand in the past. The Marketing Automation engine is the sole process responsible for determining whether the contact has met the requirements in order to enter or proceed through a Marketing Automation plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of the Custom Listener rules depend on the Marketing Automation engine being able to load the Contact and the appropriate facets. This is controlled through the configuration file &lt;code&gt;&amp;lt;xconnect&amp;gt;\App_Data\jobs\continuous\AutomationEngine\App_Data\Config\sitecore\MarketingAutomation\sc.MarketingAutomation.ContactLoader.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9.0.1 (and possibly 9.0.2), large sections of this file were commented out, preventing Marketing Automation from loading contact and interaction facets correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two sections that are important here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;MarketingAutomation.Loading.ContactFacetsConfigurator&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;MarketingAutomation.Loading.InteractionFacetsConfigurator&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Both nodes should exist and not be commented out.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the Vanilla Sitecore 9.1 version of this file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;!--&#xA;    Marketing Automation contact loader configuration&#xA;  --&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;XConnect&amp;gt;&#xA;      &amp;lt;MarketingAutomation&amp;gt;&#xA;        &amp;lt;Engine&amp;gt;&#xA;          &amp;lt;Services&amp;gt;&#xA;            &amp;lt;!-- The contact loader which loads contacts and interactions from XConnect --&amp;gt;&#xA;            &amp;lt;MarketingAutomation.Loading.ContactLoader&amp;gt;&#xA;              &amp;lt;Type&amp;gt;Sitecore.Xdb.MarketingAutomation.Loading.ContactLoader, Sitecore.Xdb.MarketingAutomation&amp;lt;/Type&amp;gt;&#xA;              &amp;lt;As&amp;gt;Sitecore.Xdb.MarketingAutomation.Core.Loading.IContactLoader, Sitecore.Xdb.MarketingAutomation.Core&amp;lt;/As&amp;gt;&#xA;              &amp;lt;LifeTime&amp;gt;Scoped&amp;lt;/LifeTime&amp;gt;&#xA;            &amp;lt;/MarketingAutomation.Loading.ContactLoader&amp;gt;&#xA;            &amp;lt;!-- Load a fixed duration of previous interactions for the contact --&amp;gt;&#xA;            &amp;lt;MarketingAutomation.Loading.FixedHistoryConfigurator&amp;gt;&#xA;              &amp;lt;Type&amp;gt;Sitecore.Xdb.MarketingAutomation.Loading.FixedHistoryConfigurator, Sitecore.Xdb.MarketingAutomation&amp;lt;/Type&amp;gt;&#xA;              &amp;lt;As&amp;gt;Sitecore.Xdb.MarketingAutomation.Core.Loading.IContactExpandOptionsConfigurator, Sitecore.Xdb.MarketingAutomation.Core&amp;lt;/As&amp;gt;&#xA;              &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;              &amp;lt;Options&amp;gt;&#xA;                &amp;lt;MaximumAge&amp;gt;30.00:00:00&amp;lt;/MaximumAge&amp;gt;&#xA;              &amp;lt;/Options&amp;gt;&#xA;            &amp;lt;/MarketingAutomation.Loading.FixedHistoryConfigurator&amp;gt;&#xA;            &amp;lt;!-- Include or exclude contact facets for the contact during loading --&amp;gt;&#xA;            &amp;lt;MarketingAutomation.Loading.ContactFacetsConfigurator&amp;gt;&#xA;              &amp;lt;Type&amp;gt;Sitecore.Xdb.MarketingAutomation.Loading.ContactFacetsConfigurator, Sitecore.Xdb.MarketingAutomation&amp;lt;/Type&amp;gt;&#xA;              &amp;lt;As&amp;gt;Sitecore.Xdb.MarketingAutomation.Core.Loading.IContactExpandOptionsConfigurator, Sitecore.Xdb.MarketingAutomation.Core&amp;lt;/As&amp;gt;&#xA;              &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;              &amp;lt;Options&amp;gt;&#xA;                &amp;lt;IncludeFacetNames&amp;gt;&#xA;                  &amp;lt;Addresses&amp;gt;Addresses&amp;lt;/Addresses&amp;gt;&#xA;                  &amp;lt;ConsentInformation&amp;gt;ConsentInformation&amp;lt;/ConsentInformation&amp;gt;&#xA;                  &amp;lt;Emails&amp;gt;Emails&amp;lt;/Emails&amp;gt;&#xA;                  &amp;lt;EngagementMeasures&amp;gt;EngagementMeasures&amp;lt;/EngagementMeasures&amp;gt;&#xA;                  &amp;lt;ListSubscriptions&amp;gt;ListSubscriptions&amp;lt;/ListSubscriptions&amp;gt;&#xA;                  &amp;lt;Personal&amp;gt;Personal&amp;lt;/Personal&amp;gt;&#xA;                  &amp;lt;InteractionsCache&amp;gt;InteractionsCache&amp;lt;/InteractionsCache&amp;gt;&#xA;                &amp;lt;/IncludeFacetNames&amp;gt;&#xA;                &amp;lt;!--&#xA;                &amp;lt;ExcludeFacetNames&amp;gt;&#xA;                  &amp;lt;Facet1&amp;gt;MyExcludeFacet&amp;lt;/Facet1&amp;gt;&#xA;                  &amp;lt;Facet2&amp;gt;MyExcludeFacet2&amp;lt;/Facet2&amp;gt;&#xA;                &amp;lt;/ExcludeFacetNames&amp;gt;&#xA;                --&amp;gt;&#xA;              &amp;lt;/Options&amp;gt;&#xA;            &amp;lt;/MarketingAutomation.Loading.ContactFacetsConfigurator&amp;gt;&#xA;            &amp;lt;!-- Include or exclude interaction facets for the interactions during loading --&amp;gt;&#xA;            &amp;lt;MarketingAutomation.Loading.InteractionFacetsConfigurator&amp;gt;&#xA;              &amp;lt;Type&amp;gt;Sitecore.Xdb.MarketingAutomation.Loading.InteractionFacetsConfigurator, Sitecore.Xdb.MarketingAutomation&amp;lt;/Type&amp;gt;&#xA;              &amp;lt;As&amp;gt;Sitecore.Xdb.MarketingAutomation.Core.Loading.IContactExpandOptionsConfigurator, Sitecore.Xdb.MarketingAutomation.Core&amp;lt;/As&amp;gt;&#xA;              &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;              &amp;lt;Options&amp;gt;&#xA;                &amp;lt;IncludeFacetNames&amp;gt;&#xA;                  &amp;lt;UserAgentInfo&amp;gt;UserAgentInfo&amp;lt;/UserAgentInfo&amp;gt;&#xA;                  &amp;lt;WebVisit&amp;gt;WebVisit&amp;lt;/WebVisit&amp;gt;&#xA;                  &amp;lt;IpInfo&amp;gt;IpInfo&amp;lt;/IpInfo&amp;gt;&#xA;                  &amp;lt;ProfileScores&amp;gt;ProfileScores&amp;lt;/ProfileScores&amp;gt;&#xA;                &amp;lt;/IncludeFacetNames&amp;gt;&#xA;                &amp;lt;!--&#xA;                &amp;lt;ExcludeFacetNames&amp;gt;&#xA;                  &amp;lt;Facet1&amp;gt;MyExcludeFacet&amp;lt;/Facet1&amp;gt;&#xA;                  &amp;lt;Facet2&amp;gt;MyExcludeFacet2&amp;lt;/Facet2&amp;gt;&#xA;                &amp;lt;/ExcludeFacetNames&amp;gt;&#xA;                --&amp;gt;&#xA;              &amp;lt;/Options&amp;gt;&#xA;            &amp;lt;/MarketingAutomation.Loading.InteractionFacetsConfigurator&amp;gt;&#xA;          &amp;lt;/Services&amp;gt;&#xA;        &amp;lt;/Engine&amp;gt;&#xA;      &amp;lt;/MarketingAutomation&amp;gt;&#xA;    &amp;lt;/XConnect&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Other Thoughts - Session Timeout&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your listener is only listening for 5 minutes.  The click is processed via the Content Delivery server and is bound by the Session Timeout. If the default Session Timeout is 20 minutes, but your listener is only listening for 5 minutes, it's entirely possible that Marketing Automation engine is stopping the listener before the CD server is able to end the session and save the interactions to the collection service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try either increasing the listener to a value more than your session time out (say 2 hours) or decreasing your session timeout. In development, I generally set this to 1 minute.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-03-18T13:49:07.560" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17510" PostTypeId="1" CreationDate="2019-03-18T14:09:07.683" Score="0" ViewCount="104" Body="&lt;p&gt;I am populating the &quot;xConnect Client Endpoint&quot;, path:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Data Exchange/xDB Data Migration 8x to 9 Branch/Endpoints/Providers/xConnect/xConnect Client Endpoint&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The guide mentions,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;In the Collection Service Connection String Name field, specify the name of the connection stringfor the xConnect client service.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What connection does it refers to? If I use &quot;xconnect.collection&quot; (default connection string) that it points to &quot;&lt;a href=&quot;https://XPScaled910.search&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://XPScaled910.search&lt;/a&gt;&quot; I get the following message when I run the Troubleshooter:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Exception was thrown. Read more in log file. An error occurred while sending the request.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What value should I put under &quot;Collection Service Connection String Name&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Bonus Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I'm using the right connection string, why would I be getting that error message? There is nothing in the Sitecore log.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-03-18T14:23:42.720" LastActivityDate="2019-03-18T14:45:14.533" Title="xDB Migration Tool: &quot;Specify the name of the connection string for the xConnect client service.&quot;" Tags="|xdb|data-migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17512" PostTypeId="2" ParentId="17510" CreationDate="2019-03-18T14:45:14.533" Score="1" Body="&lt;p&gt;You need the name of your collection connection string&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yqAVr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yqAVr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-03-18T14:45:14.533" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17513" PostTypeId="2" ParentId="17497" CreationDate="2019-03-18T15:06:54.230" Score="1" Body="&lt;p&gt;Looks like you are trying to install Sitecore 9.0.1 using Sitecore Installation Framework 2.0. If you used pre-requisites script to install all the prerequisites then it will automatically install SIF 2 but we need to have SIF 1.2 to install Sitecore without any change in the default script [shared by you].&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you have few options, &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Uninstall SIF2.0 and then install SIF 1.2 from powersehll or add the extract of SitecoreInstallFramework 1.2.0 rev. 180212.zip package to the following path: C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework&lt;/li&gt;&#xA;&lt;li&gt;If you want to run the script with SIF 2.0 then you may need to slightly modify the install script. I guess there are few questions which are already answered StackExchange on how to install Sitecore 9.0.1 or 9.0.2 with SIF 2.0, refer those.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-18T15:06:54.230" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17514" PostTypeId="1" AcceptedAnswerId="17524" CreationDate="2019-03-18T15:21:36.157" Score="0" ViewCount="290" Body="&lt;p&gt;In Sitecore 9 &lt;code&gt;Experience Analytics&lt;/code&gt;, how do you define specific channels in &lt;code&gt;Marketing Control Panel -&amp;gt; Taxonomies -&amp;gt;Channel-&amp;gt;Online&lt;/code&gt; such as paid search ,referral  to &lt;code&gt;Experience Analytics- Acquisition dashboard&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Approach I followed :&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;1) Created Traffic Type for Bing Ads:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OWH9g.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OWH9g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Existing Taxonomies-Bing Ads&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OgdYe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OgdYe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Mapping traffic type to taxonomies in &lt;code&gt;Sitecore.Analytics.Compatiblity.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;add trafficType=&quot;95&quot; channel=&quot;{B55EC2C2-CD7A-4E03-B155-EEFDAE872B7D}&quot;/&amp;gt;&#xA;    &amp;lt;/trafficType&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the traffic is not recorded checked the interaction table.Please let me know what am missing here?&lt;/p&gt;&#xA;" OwnerUserId="3601" LastEditorUserId="5096" LastEditDate="2019-05-11T11:19:28.860" LastActivityDate="2019-05-11T11:19:28.860" Title="How do you define specific channels in Marketing Control Panel/Sitecore Analytics?" Tags="|experience-analytics|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17515" PostTypeId="1" CreationDate="2019-03-18T16:07:46.000" Score="0" ViewCount="408" Body="&lt;p&gt;I need to get the context item to create a &quot;SearchContext&quot; in my repository class using the following configurator :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DependencyInjectionConfigurator : IServicesConfigurator&#xA;{&#xA;    public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;        serviceCollection.AddTransient&amp;lt;Item&amp;gt;(m =&amp;gt; Sitecore.Context.Item ??&#xA;            Sitecore.Context.Database&#xA;           .GetItem(Sitecore.Context.Site.StartPath));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The example class is used in a pipeline and is pretty basic: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Example&#xA;{&#xA;    public Example(Item contextItem)&#xA;    {&#xA;        //do stuff&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get the error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Unable to resolve service for type 'Example' while attempting to activate 'CustomHttpRequestProcessor'.&#xA;InvalidOperationException: Unable to resolve service for type 'Example' while attempting to activate 'CustomHttpRequestProcessor'.]&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I should mention I set &lt;code&gt;resolve=true&lt;/code&gt; in the configuration&lt;/p&gt;&#xA;" OwnerUserId="4394" LastEditorUserId="70" LastEditDate="2019-03-18T21:13:19.687" LastActivityDate="2019-03-18T21:13:19.687" Title="Sitecore.Context.Item added to Dependency Injection not working when needed by secodary DI'ed class" Tags="|dependency-injection|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17516" PostTypeId="2" ParentId="258" CreationDate="2019-03-18T16:20:39.200" Score="2" Body="&lt;p&gt;They are appropriate when you need to integrate with external data sources and want to take advantage of Sitecore's item processing, tracking and manipulation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One example would be a university: &#xA;We have many different data sources that we need to work with, one of which is a Course Database. Each course gets it's own page and content associated with it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One solution would be to have a wildcard page, read the URL for the course id and then render the content manually (by reading it with some database tool) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem with this is that we lose the advantages of using sitecore's searching and indexing ability. We can not do site wide HTML rendering and search. There are also secondary tools that are lost out on, namely, Glass Mapper. By integrating the courses directly into Sitecore we can use glass mappers insertion pipeline and reduce the amount of code we need to write (and bugs) by eliminating controllers and rely purely on view renderings. Ultimately, reducing the complexity of our code. &lt;/p&gt;&#xA;" OwnerUserId="4394" LastActivityDate="2019-03-18T16:20:39.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17517" PostTypeId="2" ParentId="17485" CreationDate="2019-03-18T17:53:21.713" Score="8" Body="&lt;p&gt;In 9.1, you need to patch in the path of your custom admin pages to the list of the &lt;code&gt;siteNeutralPaths&lt;/code&gt; for the &lt;code&gt;ValidateSiteNeutralPaths&lt;/code&gt; processor in the &lt;code&gt;owin.cookieAuthentication.validateIdentity&lt;/code&gt; pipeline like so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateSiteNeutralPaths, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;siteNeutralPaths hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;!-- You could get as specific as /securepages/mysecurepage for the path if you don't have any other pages under the /securepages path. --&amp;gt;&#xA;            &amp;lt;path hint=&quot;securepages&quot;&amp;gt;/securepages&amp;lt;/path&amp;gt;&#xA;          &amp;lt;/siteNeutralPaths&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you look at the &lt;code&gt;ValidateSiteNeutralPaths&lt;/code&gt; processor on &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt;, Sitecore has provided an explanation for why this is needed (taken from 9.1 Initial Release):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There are scenarios when some URIs are resolved with the &lt;code&gt;website&lt;/code&gt; context, but should be executed within the &lt;code&gt;shell&lt;/code&gt; context instead.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Example: &lt;code&gt;/sitecore/api/ssc/ListManagement/List/Recent?pageSize=6&amp;amp;pageIndex=1&amp;amp;payLoad=full&amp;amp;language=en&amp;amp;searchExpression=&amp;amp;sc_lang=en&lt;/code&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;If an external identity provider is configured to only be used with the &lt;code&gt;shell&lt;/code&gt; site, we must be able to use a user from that provider to make the authorized request. Use this processor to specify these paths.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Note: if you need to omit the execution of this processor for some URIs (e.x. for API requests from website on CM), add the &lt;code&gt;sc_site=...&lt;/code&gt; query parameter to the requested URI. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="10" LastActivityDate="2019-03-18T17:53:21.713" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17519" PostTypeId="1" CreationDate="2019-03-18T22:02:09.217" Score="2" ViewCount="184" Body="&lt;p&gt;How could a Content Author copy a Conditional Rendering Rule from one component, to many others?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the best solution would be to set the Conditional Rendering Rule on the Data Template of the component.&lt;/p&gt;&#xA;" OwnerUserId="4947" LastActivityDate="2019-03-19T08:19:14.520" Title="How do I assign the same Conditional Rendering Rules to Multiple Components?" Tags="|presentation|rules-engine|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17520" PostTypeId="2" ParentId="17519" CreationDate="2019-03-18T22:36:59.617" Score="3" Body="&lt;p&gt;There is no easy way to copy the rules from page to page. This is because the rules are in the xml for the presentation details. And it is really tough to read.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;rls&amp;gt;&#xA;        &amp;lt;ruleset&amp;gt;&#xA;           &amp;lt;rule uid=&quot;{A7CBE2DB-B320-49CE-B16C-6BFE6DAF8A9F}&quot; s:name=&quot;Member - ALTS&quot;&amp;gt;&#xA;              &amp;lt;conditions&amp;gt;&#xA;                 &amp;lt;and uid=&quot;0DADC70F0B1546DD9E1E72F6645F392A&quot;&amp;gt;&#xA;                    &amp;lt;condition uid=&quot;B9075F167B6D4908B9BE2D18A16B6295&quot; s:id=&quot;{C57E0BD7-8E96-410B-BB67-C2F66C9BF129}&quot; /&amp;gt;&#xA;                    &amp;lt;condition uid=&quot;65B8A95CE14E43449D10B539C47799E1&quot; s:id=&quot;{6426B5B4-83E9-4E24-BA97-43293A10B47D}&quot; s:ProfileName=&quot;Interests&quot; s:PatternName=&quot;ALTS&quot; /&amp;gt;&#xA;                 &amp;lt;/and&amp;gt;&#xA;              &amp;lt;/conditions&amp;gt;&#xA;              &amp;lt;actions&amp;gt;&#xA;                 &amp;lt;action uid=&quot;F02729C93C774ABA9D3956A087138F74&quot; s:id=&quot;{0F3C6BEC-E56B-4875-93D7-2846A75881D2}&quot; s:DataSource=&quot;{C4D04549-96D1-43DC-A6B7-522F520244A3}&quot; /&amp;gt;&#xA;              &amp;lt;/actions&amp;gt;&#xA;           &amp;lt;/rule&amp;gt;&#xA;           &amp;lt;rule uid=&quot;{F60982A2-A425-4BAA-A17C-8B0CAB4C3090}&quot; s:name=&quot;Member - Triathlete&quot;&amp;gt;&#xA;              &amp;lt;conditions&amp;gt;&#xA;                 &amp;lt;and uid=&quot;375C1ECD7B21412995612814828E29C4&quot;&amp;gt;&#xA;                    &amp;lt;condition uid=&quot;FDB51B22CAAC4799B67903C166C9988B&quot; s:id=&quot;{C57E0BD7-8E96-410B-BB67-C2F66C9BF129}&quot; /&amp;gt;&#xA;                    &amp;lt;condition uid=&quot;7A1B1FEBF57D4C92859AC90428DFD56B&quot; s:id=&quot;{6426B5B4-83E9-4E24-BA97-43293A10B47D}&quot; s:ProfileName=&quot;Interests&quot; s:PatternName=&quot;Triathlete&quot; /&amp;gt;&#xA;                 &amp;lt;/and&amp;gt;&#xA;              &amp;lt;/conditions&amp;gt;&#xA;              &amp;lt;actions&amp;gt;&#xA;                 &amp;lt;action uid=&quot;10E1FD2F532E4D1A86EF2753772A90F9&quot; s:id=&quot;{0F3C6BEC-E56B-4875-93D7-2846A75881D2}&quot; s:DataSource=&quot;{3A41636A-4D94-4913-B617-69B8842FE47A}&quot; /&amp;gt;&#xA;              &amp;lt;/actions&amp;gt;&#xA;           &amp;lt;/rule&amp;gt;&#xA;        &amp;lt;/ruleset&amp;gt;&#xA;     &amp;lt;/rls&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The thing you can do is predefine your rules and then they only have to select a single rule and not build the rule set again. You can find predefined rules under the item &lt;code&gt;/sitecore/system/Marketing Control Panel/Personalization/Predefined Rules&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-03-18T22:36:59.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17522" PostTypeId="2" ParentId="13038" CreationDate="2019-03-18T23:31:50.787" Score="1" Body="&lt;p&gt;If you are installing sitecore commerce for the first time on the sitecore instance, this issue will less likely to happen.This issue happens mostly in the scenario where &#xA;the installation is halted for any other errors occurred and run a re installation of the sitecore commerce.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this issue here is what i needed to do &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Added https binding to the sitecore instance i am running the commerce installation.(&lt;a href=&quot;https://local.sitecore902&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://local.sitecore902&lt;/a&gt; for example).&lt;/li&gt;&#xA;&lt;li&gt;Remove all the sitecore commerce related folders in sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Delete all the sitecore related web sites(Ops,Minions,Shops,Aiuthoring,Bizfx and &#xA;identity server)&lt;/li&gt;&#xA;&lt;li&gt;remove the databases installed in previous installation(&#xA;SitecoreCommerce9_Global and SitecoreCommerce9_SharedEnvironments) &lt;/li&gt;&#xA;&lt;li&gt;Remove all the solr cores of sitecore commerce(CustomersScope,CatalogItemsScope,OrdersScope) &lt;/li&gt;&#xA;&lt;li&gt;Delete the certificates(local.storefront)&lt;/li&gt;&#xA;&lt;li&gt;Rerun the sitecore commerce installation now.It should go through.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-03-18T23:31:50.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17523" PostTypeId="2" ParentId="17507" CreationDate="2019-03-18T23:42:23.090" Score="2" Body="&lt;p&gt;SXA does have a really nice site manager. It holds all the site data in Sitecore items and does not require a app pool reset for the new site to be available. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For non-SXA sites, you have a few options:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Dynamic Site Manager&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I have personal experience with this one. It allows you to create and edit site configs in Sitecore. When you publish a site config, it clears the cache for the sites manager and reloads the new list. When you create a site, it does not require an app_pool reset.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;marketplace - &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/D/Dynamic_Sites_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/D/Dynamic_Sites_Manager.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;github - &lt;a href=&quot;https://github.com/Vapok/Sitecore.SharedSource.DynamicSites&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Vapok/Sitecore.SharedSource.DynamicSites&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;website - &lt;a href=&quot;https://sitecorehacker.com/modules/dynamic-sites-manager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/modules/dynamic-sites-manager&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Multiple Site Manager&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;marketplace - &lt;a href=&quot;https://marketplace.sitecore.net/Modules/M/Multiple_Sites_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/M/Multiple_Sites_Manager.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;github - &lt;a href=&quot;https://github.com/JimmieOverby/MultipleSitesManager&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/JimmieOverby/MultipleSitesManager&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;PowerShell&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Long term you are going to want to tie all your sites and your site creation together. The best way to do this is with &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt;. Like SXA which uses PowerShell to create its sites. You can pop form for the user to name the site, set the urls, cache levels, etc... Then you can create the site and the related item that holds all the site details for your site manager. &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="246" LastEditDate="2019-03-18T23:50:49.567" LastActivityDate="2019-03-18T23:50:49.567" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17524" PostTypeId="2" ParentId="17514" CreationDate="2019-03-19T02:36:12.700" Score="3" Body="&lt;p&gt;Sitecore defines marketing taxonomies as&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;A taxonomy is a hierarchical structure that you can use to identify and organize information. In the Sitecore Experience Platform, you can use taxonomies to classify marketing activities, such as campaigns, goals, and events.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I find it easier to understand when i think of it more like &amp;quot;tagging&amp;quot; the Sitecore activities.&lt;/p&gt;&#xA;&lt;p&gt;The are four types of marketing taxonomies available out of the box:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Channels&lt;/li&gt;&#xA;&lt;li&gt;Campaign groups&lt;/li&gt;&#xA;&lt;li&gt;Assets&lt;/li&gt;&#xA;&lt;li&gt;Venues&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Channels are only used in Campaigns. So in order to have channel data on your experience analytics, you will need to have pages that are tagged to a campaign with a channel. You can start by&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/the-campaign-creator.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating a campaign&lt;/a&gt; and set the channel field to your desired channel.  (Remember to Deploy the campaign through the workflow)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/associate-a-campaign-with-an-item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Associate the campaign&lt;/a&gt; to a page.&lt;/li&gt;&#xA;&lt;li&gt;Visits to this page will be associated to the campaign/channel in your experience analytics dashboard.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;You can read more about Marketing Taxonomies &lt;a href=&quot;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/marketing-taxonomies.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can also create your own &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/create-a-channel.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;custom channel&lt;/a&gt; if you want&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Update 1 : Traffic Type vs Channels&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;You might have gotten confused with Traffic Type vs Channels. They are essentially the same thing, just different terms/system used in Sitecore versions.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Traffic Type is the term and system used in versions earlier than Sitecore 8.0&lt;/li&gt;&#xA;&lt;li&gt;Channel is the new term and system used in Sitecore 8.0 and later&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The process of mapping Traffic Types to Channel is only applicable if you are upgrading CMS from earlier versions (e.g 7.5 to 9.0), so that the information is not lost after the upgrade.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/map-traffic-types-to-channels.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's documentation quote&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;In the Sitecore Experience Platform (xDB) version 8.0 and later, the Marketing Taxonomy includes channels that replace traffic types. Channels enable you to classify the different paths that contacts use to interact with your website.&lt;/p&gt;&#xA;&lt;p&gt;If you have upgraded from an earlier version of Sitecore or have created your own custom traffic types, then you need to map your existing traffic types to channels&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-20T06:14:41.400" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17525" PostTypeId="2" ParentId="17449" CreationDate="2019-03-19T03:10:47.850" Score="0" Body="&lt;p&gt;I eventually figured this out. There was an issue with our continuous delivery system not being set up correctly for the new environment, so it wasn't deploying the update file at all. Apparently, if an item does not exist in the target system, the item will not show in the analysis when ran through /sitecore/admin/UpdateInstallationWizard.aspx. That was apparently the source of my confusion.&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2019-03-19T03:10:47.850" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17526" PostTypeId="2" ParentId="17463" CreationDate="2019-03-19T04:22:36.023" Score="3" Body="&lt;p&gt;Sitecore has reported this as bug as suggested by @Gatogordo and provided fix for this &lt;a href=&quot;https://sitecore.app.box.com/s/fzle8isub8ixogpsgfanhdiywifb5ype&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.app.box.com/s/fzle8isub8ixogpsgfanhdiywifb5ype&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2019-03-19T04:22:36.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17527" PostTypeId="2" ParentId="11282" CreationDate="2019-03-19T07:52:23.067" Score="0" Body="&lt;p&gt;Thanks &lt;a href=&quot;https://sitecore.stackexchange.com/users/287/user2003035&quot;&gt;user2003035&lt;/a&gt; for his solution. That script worked for me but with little modification. I've changed script to return also all versions of child item from this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -Path &quot;master:$path&quot; -Recurse -Language * | ForEach-Object { Test-Fields  $_ }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -Path &quot;master:$path&quot; -Recurse -Language * -Version * | ForEach-Object { Test-Fields  $_ }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3822" LastActivityDate="2019-03-19T07:52:23.067" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17528" PostTypeId="2" ParentId="17519" CreationDate="2019-03-19T08:19:14.520" Score="1" Body="&lt;p&gt;If the content items with the desired presentation are all based on the same template, you can add your presentation and personalisation to the template _StandardValues item. All pages based on that template will then inherit the presentation. &lt;/p&gt;&#xA;" OwnerUserId="5012" LastActivityDate="2019-03-19T08:19:14.520" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17529" PostTypeId="1" AcceptedAnswerId="17793" CreationDate="2019-03-19T08:27:49.783" Score="0" ViewCount="136" Body="&lt;p&gt;I'm getting the following error message when I go to Experience Analytics from the dashboard in 9.0.2 (rev. 180604). We are using Glass Mapper elsewhere in the application, but there's no customization of the CMS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CJipa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CJipa.png&quot; alt=&quot;Error message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a snippet of the problematic Sitecore file:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-razor prettyprint-override&quot;&gt;&lt;code&gt;@using Newtonsoft.Json&#xA;@using Sitecore&#xA;@using Sitecore.ExperienceAnalytics.Client&#xA;@using Sitecore.ExperienceAnalytics.Core.Extensions&#xA;@using Sitecore.Mvc&#xA;@using Sitecore.Web.UI.Controls.Common.Renderings&#xA;@using Sitecore.Web.UI.Controls.Common.Texts&#xA;@using Sitecore.Web.UI.Controls.Common.UserControls&#xA;@using Globals = Sitecore.ExperienceAnalytics.Client.Globals&#xA;@model Sitecore.Mvc.Presentation.RenderingModel&#xA;@{&#xA;    var rendering = Html.Sitecore().Controls().GetUserControl(Model.Rendering);&#xA;    rendering.Class = &quot;sc-DateRangeFilter&quot;;&#xA;    rendering.Requires.Script(&quot;client&quot;, &quot;DateRangeFilter.js&quot;);&#xA;    rendering.Attributes.Add(&quot;data-bind&quot;, &quot;visible: isVisible&quot;);&#xA;    rendering.HasNestedComponents = true;&#xA;&#xA;    var errorMessages = new&#xA;    {&#xA;        InvalidDate = Helper.GetTextValue(Globals.System.Texts.ErrorMessages.InvalidDate)&#xA;    };&#xA;&#xA;    rendering.Attributes.Add(&quot;data-sc-errortexts&quot;, JsonConvert.SerializeObject(errorMessages));&#xA;    rendering.Attributes.Add(&quot;data-sc-serverdate&quot;, DateUtil.ToServerTime(DateTime.UtcNow).ToDashedDateRangeFormat());&#xA;    rendering.Attributes.Add(&quot;data-sc-defaultdaterangeoffset-from&quot;, Config.DefaultDateRangeOffsetFrom.ToString());&#xA;    rendering.Attributes.Add(&quot;data-sc-defaultdaterangeoffset-to&quot;, Config.DefaultDateRangeOffsetTo.ToString());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's complaining about: &lt;em&gt;Config.DefaultDateRangeOffsetFrom.ToString()&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know I could probably track down the intended namespace and add it to the code, but is there a solution that doesn't involve changing Sitecore-owned files?&lt;/p&gt;&#xA;" OwnerUserId="473" LastEditorUserId="473" LastEditDate="2019-03-19T08:33:31.307" LastActivityDate="2019-03-29T10:05:57.430" Title="Experience Analytics page conflict with Glass Mapper" Tags="|experience-analytics|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17531" PostTypeId="2" ParentId="17419" CreationDate="2019-03-19T09:14:03.613" Score="3" Body="&lt;p&gt;Not sure but try to change the setting for &quot;tempFolder&quot; in Sitecore.config to &quot;/temp&quot;. The setting is configured/overwritten in Sitecore.Azure.Settings.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;tempFolder&quot; value=&quot;/temp&quot; /&amp;gt;  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="105" LastEditorUserId="105" LastEditDate="2019-03-19T09:40:23.420" LastActivityDate="2019-03-19T09:40:23.420" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17532" PostTypeId="1" CreationDate="2019-03-19T10:12:26.007" Score="0" ViewCount="826" Body="&lt;p&gt;I've implemented a custom Resolver for my Controllers for Ninject which works fine, however this is not working for pipelines.&lt;/p&gt;&#xA;&lt;p&gt;How can I create a custom dependency Injection for Sitecore pipelines?&lt;/p&gt;&#xA;&lt;p&gt;When I read the anwser below, I think I need to use Factory, but I am not understanding how this works.&lt;/p&gt;&#xA;&lt;p&gt;I've the following class&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class RedirectResolver : HttpRequestProcessor&#xA;{&#xA;    private IWasInjected _injection;&#xA;&#xA;    public RedirectResolver(IWasInjected injection)&#xA;    {&#xA;        _injection = injection&#xA;    }&#xA;&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        var httpContext = HttpContext.Current;&#xA;         //Do Something&#xA;    }&#xA;&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;this Processor I've registered in the following pipeline&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;httpRequestBegin&amp;gt;&#xA;    &amp;lt;processor patch:after=&amp;quot;*[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&amp;quot; type=&amp;quot;MyNamespace.RedirectMapResolver, AssemblyName.Feature.Redirects&amp;quot; resolve=&amp;quot;true&amp;quot;&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/httpRequestBegin&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;thats my current &amp;quot;Implementation&amp;quot; but I don't understand how I get the Factory explained in the blogpost &lt;a href=&quot;https://cardinalcore.co.uk/2014/07/02/sitecore-pipelines-commands-using-ioc-containers/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://cardinalcore.co.uk/2014/07/02/sitecore-pipelines-commands-using-ioc-containers/&lt;/a&gt; to resolve my Injection?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="7820" LastEditDate="2021-03-07T08:39:17.563" LastActivityDate="2023-12-22T16:01:00.140" Title="Custom Dependency Injection for Sitecore pipeline processor with Ninject" Tags="|pipelines|dependency-injection|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17536" PostTypeId="1" CreationDate="2019-03-19T13:15:26.150" Score="3" ViewCount="731" Body="&lt;p&gt;We are using Sitecore 9.0.2 and SXA and we are allowing Authors to create and publish pages using Experience editor. A component takes Datasource of &quot;Datasource-Folder&quot; with X numbers of &quot;Datasource-Item&quot; below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The tree looks like this:&#xA;Datasource&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item4  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the issue is in the Experience Editor the user can edit the Datasource Item's fields, i.e. he can edit image, text, general link field of this Datasource Item and Doesn't matter if they choose &lt;code&gt;Smart publish&lt;/code&gt; or &lt;code&gt;Republish&lt;/code&gt; Items are not getting published. We have also tried checking both &lt;code&gt;Publish subitems&lt;/code&gt; and &lt;code&gt;Publish related items&lt;/code&gt;. None of it works. If we then go into the Content Editor, we can see that the fields are changed correctly, and if we do a publish from the Content Editor, the changed are correctly published to the Web database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen many blogs online but none of them points to actual solution . Can somebody help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additional Information:&lt;/strong&gt; &lt;strong&gt;Tried below steps in new Sitecore 9.0.2 with SXA and without any custom code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If Content Author will add any item in the Content tree (not in Datasource tree) and update Experience Editor &gt; Partial Design &gt;Page List component&#xA;content item and then use Experience Accelerator &gt; Publish &gt; Site option, then it will publish all items from content tree and &lt;strong&gt;changes reflecting in Web db&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;If Content Author will update Experience Editor &gt; Partial Design &gt;Page List component&#xA;content item and then use Experience Accelerator &gt; Publish &gt; Current Page option, then &lt;strong&gt;it's not showing updated item in Web db&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;If Content Author will update Experience Editor &gt; Partial Design &gt;Page List component&#xA;content item and then use Experience Accelerator &gt; Publish &gt; Site Partial Design option, then &lt;strong&gt;it's not showing updated item in Web db&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;If Content Author will update Experience Editor &gt; Partial Design &gt;Page List component&#xA;content item and then use Home &gt; Publish option, then &lt;strong&gt;it's not showing updated item in Web db&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;If Content Author will update item directly via Content Tree and then use Home &gt; Publish option, then &lt;strong&gt;it's showing updated item in Web db&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MAmCS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MAmCS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Reference: &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/1210&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/1210&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems to be issue with Sitecore Product. Anyone also faced this issue earlier and any inputs?&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="6591" LastEditDate="2022-12-23T07:30:24.877" LastActivityDate="2024-01-17T16:07:50.993" Title="Publishing Related Items from Experience editor" Tags="|experience-editor|publishing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17538" PostTypeId="1" AcceptedAnswerId="17539" CreationDate="2019-03-19T13:47:00.647" Score="2" ViewCount="2055" Body="&lt;p&gt;I have a treelist that I'm pointing at a folder for items, which works fine, but when I attach some kind of filtering clause, like &lt;code&gt;/*[@@tid='{ID}']&lt;/code&gt; it just defaults to the root of the sitecore content tree - i.e. it seems to just view the whole source as invalid and regards it as blank.  I've seen stuff around creating custom treelist controls, but trying to avoid having to do that...&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="70" LastEditDate="2019-03-19T15:04:20.253" LastActivityDate="2019-03-19T15:04:20.253" Title="Any way to filter a treelist with just the source property of the template field?" Tags="|templates|sitecore-query|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17539" PostTypeId="2" ParentId="17538" CreationDate="2019-03-19T14:10:07.873" Score="2" Body="&lt;p&gt;A treelist source can be set (and filtered) with a query. More info can be found here: &lt;a href=&quot;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way you can include/exclude items or templates for display and/or selection. It is important to understand the difference between those. To be able to select the desired items, the tree needs to be able to display all parents to the desired item. So your displayed items is usually always more than the selection items. With the selection, you can determine which items from the displayed ones can be actually selected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess you will need at least something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;datasource=/sitecore/content/.../folder&amp;amp;includetemplatesforselection=templatename&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;based on:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;IncludeTemplatesForSelection&lt;/strong&gt; : A comma separated list of template names (no ids). Items are visible in the tree and can be selected. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;includetemplatesforselection=Item Name&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-19T14:10:07.873" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17541" PostTypeId="1" CreationDate="2019-03-19T14:28:48.893" Score="1" ViewCount="523" Body="&lt;p&gt;I'm currently upgrading Sitecore to 8.2 update 7 from 8.0 and have come across an issue with some custom code that overrides the &lt;code&gt;GetMediaUrl&lt;/code&gt; of the &lt;code&gt;MediaProvider&lt;/code&gt; class.  It states that &lt;code&gt;MediaProvider.MediaProvider()&lt;/code&gt; is obsolete. Does anyone know of a solution for this or has anyone overridden this method in 8.2 update 7? &lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MediaProvider : Sitecore.Resources.Media.MediaProvider&#xA;{&#xA;    public override string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;    {&#xA;        Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;&#xA;        var url = base.GetMediaUrl(item, options);&#xA;        if (url.ToLowerInvariant().Contains(&quot;/-/media&quot;))&#xA;        {&#xA;            var revision = item.InnerItem.Statistics.Revision;&#xA;&#xA;            ID revisionId;&#xA;            if (ID.TryParse(item.InnerItem.Statistics.Revision, out revisionId))&#xA;                revision = revisionId.ToShortID().ToString().ToLowerInvariant();&#xA;&#xA;            var revisionUrl = new UrlString(url);&#xA;            revisionUrl.Add(&quot;sc_revision&quot;, revision);&#xA;            return HashingUtils.ProtectAssetUrl(revisionUrl.ToString());&#xA;        }&#xA;        return HashingUtils.ProtectAssetUrl(url);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3183" LastEditorUserId="70" LastEditDate="2019-03-19T15:02:44.230" LastActivityDate="2019-03-19T15:02:44.230" Title="overridding GetMedialUrl of the mediaprovider class in 8.2 update 7" Tags="|upgrade|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17542" PostTypeId="1" AcceptedAnswerId="17543" CreationDate="2019-03-19T14:34:33.597" Score="6" ViewCount="3554" Body="&lt;p&gt;Straight to the point.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an &lt;strong&gt;admin page in Sitecore which shows all jobs running&lt;/strong&gt; and all the information such as &lt;em&gt;current state&lt;/em&gt;, &lt;em&gt;name&lt;/em&gt;, &lt;em&gt;category&lt;/em&gt;, etc?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used to use the &lt;strong&gt;Sitecore Rocks - Job Viewer&lt;/strong&gt; but was wondering if there is such thing embedded directly on the product.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-03-19T14:40:37.400" Title="Is there a page on which I can view all Sitecore jobs running?" Tags="|admin-pages|scheduler-job|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17543" PostTypeId="2" ParentId="17542" CreationDate="2019-03-19T14:40:37.400" Score="13" Body="&lt;p&gt;The admin page in the latest Sitecore version has what you are looking for.&#xA;Go to /sitecore/admin for the admin overview or directly to &lt;code&gt;/sitecore/admin/Jobs.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will display like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cU6I7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cU6I7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure if it does exactly the same as Rocks but it's a start.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-19T14:40:37.400" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17544" PostTypeId="2" ParentId="17541" CreationDate="2019-03-19T15:00:56.727" Score="3" Body="&lt;p&gt;If you look at the code for the &lt;code&gt;MediaProvider&lt;/code&gt; you will notice that only the parameterless constructor is marked as obsolete:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;/// Initializes a new instance of the &amp;lt;see cref=&quot;T:Sitecore.Resources.Media.MediaProvider&quot; /&amp;gt; class.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;[Obsolete]&#xA;public MediaProvider()&#xA;  : this(ServiceLocator.ServiceProvider.GetRequiredService&amp;lt;BaseFactory&amp;gt;())&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is because, in later versions of Sitecore, the &lt;code&gt;MediaProvider&lt;/code&gt; can be created using the container that will inject the &lt;code&gt;BaseFactory&lt;/code&gt; object into the constructor that is not obsolete.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public MediaProvider(BaseFactory factory)&#xA;{&#xA;    // omitted for brevity...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So its not entire &lt;code&gt;MediaProvider&lt;/code&gt; class that is obsolete and you are fine to continue to override that &lt;code&gt;GetMediaUrl&lt;/code&gt; method in your code.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-19T15:00:56.727" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17545" PostTypeId="1" AcceptedAnswerId="17546" CreationDate="2019-03-19T16:40:43.570" Score="2" ViewCount="728" Body="&lt;p&gt;We have this feature which is responsible for &lt;strong&gt;starting Sitecore Index Refresh jobs programmatically&lt;/strong&gt; using the static class &lt;code&gt;Sitecore.Jobs.JobManager&lt;/code&gt; (for different crawler roots).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I'd like to create a &lt;strong&gt;method to fetch which is the current state&lt;/strong&gt; of a given job. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you guys and gals know how that could be done?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-03-19T16:40:43.570" Title="How to know programmatically if an Index Rebuild/Refresh job is *Running* or *Queued*?" Tags="|indexing|scheduler-job|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17546" PostTypeId="2" ParentId="17545" CreationDate="2019-03-19T16:40:43.570" Score="4" Body="&lt;p&gt;Finally figured out how to do this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Firstly, you want to &lt;strong&gt;make sure you start the Refresh/Rebuild properly&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I mean by that is that if you want to be able to &lt;strong&gt;identify the right crawler&lt;/strong&gt; related to a given Indexing Job, &lt;strong&gt;you will need to tag the Indexing Job with some ID&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can do that by adding a &lt;strong&gt;Message&lt;/strong&gt; to the job when starting it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job myRefreshJob = IndexCustodian.Refresh(p_Index, p_PathItem);&#xA;myRefreshJob.Status.Messages.Add(&quot;Index Refresh IndexName={YOUR_INDEX_NAME} Path={THE_CRAWLER_ROOT_PATH}&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By doing that, you will be able to easily identify the given job among all the jobs returned by the &lt;code&gt;JobManager&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job foundJob = JobManager.GetJobs().FirstOrDefault(currentJob =&amp;gt; currentJob.Status.Messages.Contains(&quot;THE_CRAWLER_ROOT_PATH&quot;));&#xA;JobState jobState = foundJob.Status.State;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-03-19T16:40:43.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17548" PostTypeId="1" AcceptedAnswerId="17553" CreationDate="2019-03-19T17:07:39.677" Score="1" ViewCount="43" Body="&lt;p&gt;I have a template and apply &lt;code&gt;Publishing workflow&lt;/code&gt; on this template, I created items from this template in 2 different sites, I created 2 different users for each site,I want when the item in &quot;site 1&quot; move to another state to show in &lt;code&gt;Work Box&lt;/code&gt; when i logged in by &quot;user 1&quot; and not show in the &lt;code&gt;Work Box&lt;/code&gt; when i logged in by &quot;user 2&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So each user only approve item in his site and do not see item in another site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there way to apply this?&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="5096" LastEditDate="2019-05-11T11:19:36.953" LastActivityDate="2019-05-11T11:19:36.953" Title="Work Flow Security Permissions" Tags="|security|multisite|workflow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17550" PostTypeId="2" ParentId="17388" CreationDate="2019-03-19T18:04:43.053" Score="1" Body="&lt;p&gt;I found the solution. When this was created the variable, &quot;parent&quot; already exists in scope so this code is changing that variable and causing the error. &lt;/p&gt;&#xA;" OwnerUserId="1784" LastActivityDate="2019-03-19T18:04:43.053" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17551" PostTypeId="1" CreationDate="2019-03-19T19:56:37.320" Score="2" ViewCount="1333" Body="&lt;p&gt;I have vanilla 9.1 instance and I can login successfully. I browsed the Identity server URL and receiving HTTP Error 502.5 - Process Failure. Any idea why it is throwing 502.5 error? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/84sqJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/84sqJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Log file shows these exceptions.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.IO.IOException&#xA;Message: IDX20804: Unable to retrieve document from: '[PII is hidden]'.&#xA;Source: Microsoft.IdentityModel.Protocols&#xA;   at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.&amp;lt;GetDocumentAsync&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.&amp;lt;GetAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.&amp;lt;GetConfigurationAsync&amp;gt;d__24.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.Http.HttpRequestException&#xA;Message: Response status code does not indicate success: 502 (Bad Gateway).&#xA;Source: System.Net.Http&#xA;   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()&#xA;   at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.&amp;lt;GetDocumentAsync&amp;gt;d__8.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4077" LastActivityDate="2019-09-05T17:13:28.123" Title="IdentityServer URL throws HTTP Error 502.5 - Process Failure" Tags="|identity-server|" AnswerCount="0" CommentCount="5" ClosedDate="2019-09-06T14:52:33.907" ContentLicense="CC BY-SA 4.0" />
  <row Id="17552" PostTypeId="1" AcceptedAnswerId="18290" CreationDate="2019-03-19T20:17:01.540" Score="0" ViewCount="342" Body="&lt;p&gt;I am migrating from Sitecore 8.1 to Sitecore 9.1 and I'm getting this weird error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Unexpected object type created from configuration node. &#xA;  Expected: Sitecore.ExperienceAnalytics.Core.Diagnostics.ILogger. &#xA;  Got: Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger. &#xA;  XML: &#xA;Description: An unhandled exception occurred during the execution of the current&#xA;web request. Please review the stack trace for more information about the error&#xA;and where it originated in the code.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The full stacktrace is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[ConfigurationException: Unexpected object type created from configuration node. Expected: Sitecore.ExperienceAnalytics.Core.Diagnostics.ILogger. Got: Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger. XML: ]&#xA; Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode) +604&#xA; Sitecore.ExperienceAnalytics.Api.ApiContainer.GetUserAccessGuard() +21&#xA; Sitecore.ExperienceAnalytics.Api.Http.Filters.DenyAnonymousUserFilterAttribute..ctor() +13&#xA; System.RuntimeTypeHandle.CreateCaInstance(RuntimeType type, IRuntimeMethodInfo ctor) +0&#xA; System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) +2074&#xA; System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) +205&#xA; System.Web.Http.Controllers.HttpControllerDescriptor.InvokeAttributesOnControllerType(HttpControllerDescriptor controllerDescriptor, Type type) +78&#xA; System.Web.Http.Controllers.HttpControllerDescriptor..ctor(HttpConfiguration configuration, String controllerName, Type controllerType) +131&#xA; System.Web.Http.Dispatcher.DefaultHttpControllerSelector.InitializeControllerInfoCache() +569&#xA; System.Lazy`1.CreateValue() +708&#xA; System.Lazy`1.LazyInitValue() +184&#xA; System.Web.Http.Dispatcher.DefaultHttpControllerSelector.GetControllerMapping() +18&#xA; System.Web.Http.Routing.AttributeRoutingMapper.AddRouteEntries(SubRouteCollection collector, HttpConfiguration configuration, IInlineConstraintResolver constraintResolver, IDirectRouteProvider directRouteProvider) +76&#xA; System.Web.Http.Routing.c__DisplayClass1_1.b__1() +75&#xA; System.Web.Http.Routing.RouteCollectionRoute.EnsureInitialized(Func`1 initializer) +66&#xA; System.Web.Http.Routing.c__DisplayClass1_0.b__0(HttpConfiguration config) +125&#xA; Sitecore.Services.Infrastructure.Web.Http.ServicesConfigurator.Configure(HttpConfiguration config, RouteCollection routes) +762&#xA; Sitecore.Services.Infrastructure.Sitecore.Pipelines.ServicesWebApiInitializer.Process(PipelineArgs args) +194&#xA; (Object , Object ) +14&#xA; Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA; Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA; Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA; Sitecore.Nexus.Web.HttpModule.Application_Start() +215&#xA; Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +1184&#xA; System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +581&#xA; System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168&#xA; System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277&#xA; System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369&#xA;&#xA;[HttpException (0x80004005): Unexpected object type created from configuration node. Expected: Sitecore.ExperienceAnalytics.Core.Diagnostics.ILogger. Got: Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger. XML: ]&#xA; System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532&#xA; System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111&#xA; System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +714&#xA;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The XML configuration line mentioned in the exception comes straight from the Sitecore 9.1 default config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I inspected the &lt;strong&gt;Sitecore.ExperienceAnalytics&lt;/strong&gt; dll with DotPeek, and I could find no reason why &lt;code&gt;Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger&lt;/code&gt; couldn't implement &lt;code&gt;Sitecore.ExperienceAnalytics.Core.Diagnostics.ILogger&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why am I getting this exception? How can I remedy to that?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="70" LastEditDate="2019-03-19T20:34:57.513" LastActivityDate="2019-04-24T19:38:38.173" Title="ConfigurationException: Expected: Sitecore.ExperienceAnalytics.Core.Diagnostics.ILogger. Got: Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger" Tags="|configuration|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17553" PostTypeId="2" ParentId="17548" CreationDate="2019-03-19T21:11:25.610" Score="2" Body="&lt;p&gt;You are creating the item from the same template and using the same workflow. So simplest way is to apply the security at site level to achieve your requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For ex, create two new roles role1 and role2. Restrict read access for the role role1 at site level, so any user who are part of role1 will not have access to any of the item in site1. Do the similar steps for role2 and site2. Assign these roles to user1 and user2 respectively. &lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-19T21:11:25.610" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17554" PostTypeId="2" ParentId="17371" CreationDate="2019-03-19T23:34:49.520" Score="2" Body="&lt;p&gt;In answer to the over arching question:  You don't. There is no need to use other values.&lt;/p&gt;&#xA;&lt;h1&gt;Background&lt;/h1&gt;&#xA;&lt;p&gt;With the release of Sitecore 8, xDB was introduced to the world which included the concept of a Contact (different from a user). In this solution, and because of the way xDB worked in the initial stages, Contacts were being updated and changed through Content Delivery Servers.  In a scaled out architecture, it was important to not instantiate a contact on multiple servers for the purposes of writing to. This is where the xDB Contact Locking Mechanism came into play where a Content Delivery server would lock a contact to a session.&lt;/p&gt;&#xA;&lt;p&gt;However, many use cases existed where obtaining contact information on other servers (CD's and CM's) made sense. Born of this idea was the concept of a Read Only contact.&lt;/p&gt;&#xA;&lt;p&gt;In a Read Only contact, the ContactSaveMode was set as ReadOnly.&lt;/p&gt;&#xA;&lt;p&gt;In the &lt;code&gt;SaveContactToCollectionDb&lt;/code&gt; was originally named &lt;code&gt;SaveContactToxDB&lt;/code&gt;. This method has a validation in it to ensure that the contact can be saved. In the event that a Read Only contact is passed in, it would not attempt to save the contact.&lt;/p&gt;&#xA;&lt;h2&gt;Why New Contacts Need It&lt;/h2&gt;&#xA;&lt;p&gt;At the time (as well as now), when a new Contact is created (like anonymous contacts, or contacts not in xConnect/xDB yet) that property is actually not automatically set.&lt;/p&gt;&#xA;&lt;p&gt;Not setting this property prevents the &lt;code&gt;SaveContactToCollectionDb&lt;/code&gt; from saving the contact to xConnect because the SaveMode is not set.&lt;/p&gt;&#xA;&lt;p&gt;This is why documentation requires you to save this property with that Enum.&lt;/p&gt;&#xA;&lt;h2&gt;Use Cases for Other Values&lt;/h2&gt;&#xA;&lt;p&gt;Simply put there are none, in a 9 world. In fact, contact locking is no longer a thing.  However, there are artifacts in the Sitecore API where old methods and properties were never really updated.&lt;/p&gt;&#xA;&lt;p&gt;This is one of those areas.&lt;/p&gt;&#xA;&lt;p&gt;However, Pre-9, this was a common use case when we wanted to get a read only contact. While we never purposefully set this property in code, loading a Read Only contact would set this property as &amp;quot;ReadOnly&amp;quot;.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-19T23:46:44.940" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17555" PostTypeId="1" AcceptedAnswerId="17577" CreationDate="2019-03-20T03:10:03.963" Score="1" ViewCount="268" Body="&lt;p&gt;So, I'm trying to work my way to what is essentially a great aunt/uncle of the context item and then looking to its descendents for specific item types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So there's a folder and within that folder there are multiple organization nodes, and on the same level as those is another that is called 'All Organization'.  Within that are items that I want to look for.  So my attempt at trying to do this failed, but here it is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; ancestor::*[@@Templatename='Folder']/[@@name = startswith('All ')//*[@@templatename='Author']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try the following on it's own:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; ancestor::*[@@Templatename='Folder']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It actually shows two folders not one, which seems strange, since I thought this was just supposed to yield the closest ancestor that matched the query, not multiple?  But regardless, I'm wondering startswith can be used like this, and if so, how can I rewrite the syntax to work?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-03-20T15:18:39.013" Title="Using part of an item name as query filter" Tags="|sitecore-query|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17556" PostTypeId="1" AcceptedAnswerId="17563" CreationDate="2019-03-20T03:19:14.590" Score="0" ViewCount="954" Body="&lt;p&gt;I have cloned a link list rendering.  Whilst I can attach a custom experience button for the experience editing to my cloned rendering - it's actually the item properties that I need to facilitate editing of.  Is there a way to attach a custom experience button to here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Bkqi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Bkqi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or do I need to somehow specify the fields for editing differently against the actual custom button?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/G7w79.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G7w79.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My template looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T0z3A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T0z3A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some properties are used as attributes and hence not displayed in a way the editor could edit them from experience editor.  eg: Content Position and Icon colour which are droplinks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ie. my rendering data source is the link list with icons, which has child link items.&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-03-20T08:22:48.243" Title="How can I add a Custom Experience Button for a Link List Item (section)" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17557" PostTypeId="1" CreationDate="2019-03-20T03:53:15.080" Score="2" ViewCount="229" Body="&lt;p&gt;We are upgrading a custom Sitecore analytics reporting solution from Sitecore 7.2 to 9.0.2. It has the functionality of listing all the &lt;code&gt;email campaign&lt;/code&gt; events generated by a specific registered user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 7.2 (rev. 150408) when a user clicks on a link in an email sent by Sitecore &lt;code&gt;email campaign&lt;/code&gt;, we can retrieve campaign ID associated with that specific contact by parsing the query string with parameters like &quot;ec_as&quot; in the tracked URL for that visit in &lt;code&gt;Analytic DB&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now in Sitecore 9.0.2, the interactions are created in &lt;code&gt;XConnect&lt;/code&gt; DB and then transferred as visits to &lt;code&gt;Reporting DB&lt;/code&gt;. As the database structures changed dramatically between Sitecore versions, we can't get the same information in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone get this issue , please help&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="5257" LastEditorUserId="73" LastEditDate="2019-05-12T10:18:18.890" LastActivityDate="2019-05-12T10:18:18.890" Title="EXM differences behavior between Sitecore 7.2 and 9.0.2" Tags="|xdb|experience-analytics|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17558" PostTypeId="2" ParentId="17557" CreationDate="2019-03-20T04:24:58.437" Score="2" Body="&lt;p&gt;Unfortunately you are not going to be able to retain analytics from Email Campaign Manager (ECM) used in 7.x solutions and EXM used in 9 solutions.&lt;/p&gt;&#xA;&lt;p&gt;The biggest issue is the introduction of xDB that was a result of Sitecore 8 and the manifestation of what is now called Email Experience Manager.&lt;/p&gt;&#xA;&lt;p&gt;Even if you did go through the &lt;strong&gt;incredibly painful&lt;/strong&gt; upgrade path from ECM to EXM 3.0... due to major breaking changes with how EXM stored analytics in EXM 3.2, the analytics are lost and not available in reporting.&lt;/p&gt;&#xA;&lt;p&gt;Other breaking changes is that the Click Tracking and query string parameters have changed significantly. I believe that backwards compatibility for &lt;code&gt;ec_as&lt;/code&gt;  ended in EXM 3.5 and not carried through to Sitecore 9.&lt;/p&gt;&#xA;&lt;h2&gt;Whats Changed from 7 to 9&lt;/h2&gt;&#xA;&lt;h3&gt;Users are now Contacts&lt;/h3&gt;&#xA;&lt;p&gt;Sitecore 8 and xDB introduces the Contact concept. As EXM behaves, Users and User Profiles are no longer used and the Contact object is used.  That being said, Users and User Profiles still exist, but they are two different things now.&lt;/p&gt;&#xA;&lt;h3&gt;Query String Changes&lt;/h3&gt;&#xA;&lt;p&gt;There are a number of query string changes. However, all of the handling on those varibles are handled through the &lt;code&gt;&amp;lt;redirectUrl&amp;gt;&lt;/code&gt; pipeline on the CD's. Backwards compatibility was removed. The Campaign Code is still in the query but is now &lt;code&gt;ec_camp&lt;/code&gt;.  It is also automatically added an interaction and triggered in xConnect/xDB. So there's no need to look for it specifically.&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.AnalyticsContactId: &lt;code&gt;ec_contact_id&lt;/code&gt;&#xA;Used by the module to build query strings for generating messages.&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.EcmId: &lt;code&gt;ec_id&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.Recipient: &lt;code&gt;ec_recipient&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.Subscription: &lt;code&gt;ec_subscr&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.MessageId: &lt;code&gt;ec_message_id&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.Campaign: &lt;code&gt;ec_camp&lt;/code&gt;&#xA;Specify the key for identifying the email campaign on the query string.&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.ContactIdentifierSource: &lt;code&gt;ex_id_s&lt;/code&gt;&#xA;Specify the key for the contact identifier source on the query string.&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.ContactIdentifierIdentifier: &lt;code&gt;ex_id_i&lt;/code&gt;&#xA;Specify the key for the contact identifier identifier on the query string.&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.EmailHistoryEntryId: &lt;code&gt;ec_emailid&lt;/code&gt;&#xA;Specify the key for identifying the email history entry ID in the query string.&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.ec_lang: &lt;code&gt;ec_lang&lt;/code&gt;&#xA;Specify the key for identifying the target language in the query string.&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.ec_tvi: &lt;code&gt;ec_tvi&lt;/code&gt;&#xA;Specify the key for identifying the test value index in the query string.&lt;/p&gt;&#xA;&lt;p&gt;QueryStringKey.ExmEncryptedQuery: &lt;code&gt;ec_eq&lt;/code&gt;&#xA;Is the encrypted query string, when decrypted exposes the real query string parameters in messages.&lt;/p&gt;&#xA;&lt;h3&gt;Automation States were removed&lt;/h3&gt;&#xA;&lt;p&gt;Automation States are removed and Silverlight Engagement Plans no longer exist. They were completely removed in 3.5, and in Sitecore 9.0.1+, replaced with Marketing Automation, which is much better. But there is no upgrade path or migration for these at all.&lt;/p&gt;&#xA;&lt;h3&gt;Databases&lt;/h3&gt;&#xA;&lt;p&gt;Almost the entirety of how ECM was structured from a database perspective was completely rebuilt from the ground up. Nothing carries over.&lt;/p&gt;&#xA;&lt;h3&gt;Message States Changed&lt;/h3&gt;&#xA;&lt;p&gt;Message States and the structure of the Message Item is different.&lt;/p&gt;&#xA;&lt;h3&gt;Analytics Changed (Twice)&lt;/h3&gt;&#xA;&lt;p&gt;Constant change was the theme during the Sitecore 8 era when it came to analytics. And then again, in Sitecore 9.&lt;/p&gt;&#xA;&lt;h3&gt;EXM.Web DB&lt;/h3&gt;&#xA;&lt;p&gt;Removed and no longer used.&lt;/p&gt;&#xA;&lt;h3&gt;Client API&lt;/h3&gt;&#xA;&lt;p&gt;The EXM Client API changed significantly. I am not even recalling if ECM had a Client API.&lt;/p&gt;&#xA;&lt;h3&gt;Admin UI's&lt;/h3&gt;&#xA;&lt;p&gt;The old SPEAK pages in ECM are incompatible with EXM. Meaning if you made any changes to those UI's, those changes do not carry over to EXM.&lt;/p&gt;&#xA;&lt;h2&gt;Honest Advice&lt;/h2&gt;&#xA;&lt;p&gt;The version of your solution is too old and the limited and extremely difficult migration path that will ultimately mean nothing is &lt;em&gt;&lt;strong&gt;not&lt;/strong&gt;&lt;/em&gt; recommended.&lt;/p&gt;&#xA;&lt;p&gt;Recommemdation is to completely forgo ECM and all your old analytics, and simply start fresh on Sitecore 9.0.2 or higher.&lt;/p&gt;&#xA;&lt;p&gt;If upgrading is a requirement, prepare for an multi-month (dare I even say year long) upgrade experience, knowing that you'll still lose the analytics that you're trying to save.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-20T05:09:00.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17559" PostTypeId="1" CreationDate="2019-03-20T04:36:10.703" Score="0" ViewCount="357" Body="&lt;p&gt;I have two different sites. SiteA and SiteB (Cloned version of SiteA). I want SiteB to point to themes folder of SiteA instead of its own. I have updated the field 'Themes Folder' of SiteB site item but still SiteB is referring its own themes. Is there any configuration I am missing here.&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2019-04-20T10:13:19.780" LastActivityDate="2024-03-16T02:08:11.047" Title="How to use different themes folder for an SXA site?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17560" PostTypeId="1" AcceptedAnswerId="17596" CreationDate="2019-03-20T04:50:01.427" Score="0" ViewCount="1095" Body="&lt;p&gt;I'm using SXA 1.8 with Sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a cloned rendering - in my cshtml I need to conditionally wrap a list item in a link.  I have got the link part working, but I can't seem to add title and aria-label attributes?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I've tried in my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().BeginField(&quot;Link&quot;, item, new { haschildren=true, title=item.Fields[&quot;DescriptionLinkTitle&quot;], @aria_label = item.Fields[&quot;DescriptionLinkTitle&quot;] })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm trying not to resort to having something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;@url&quot; title=&quot;@titlefield&quot; aria-label=&quot;@titlefield&quot;&amp;gt;&#xA;  stuff&#xA;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;have also tried &lt;code&gt;@title&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: The haschildren is just because I don't want the text of the link displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The source output is just &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;/&quot;&amp;gt;&#xA;  stuff&#xA;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it seems to be ignoring the other attributes I'm trying to add.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="605" LastEditDate="2019-03-21T05:45:08.810" LastActivityDate="2019-03-21T14:16:11.073" Title="Can I render a link with title and aria-label attributes using BeginField?" Tags="|mvc|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17562" PostTypeId="1" AcceptedAnswerId="17646" CreationDate="2019-03-20T07:14:50.077" Score="1" ViewCount="547" Body="&lt;p&gt;In Sitecore project, how would you bulk-create template items?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What we usually do is to write internal-design document, which defines &lt;strong&gt;Item Name&lt;/strong&gt;, &lt;strong&gt;Item Path&lt;/strong&gt;, &lt;strong&gt;Section Name&lt;/strong&gt;, and &lt;strong&gt;Field Name&lt;/strong&gt; in Excel Format, and convert it in XML format (using VBA!). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After uploading XML on Sitecore, we have custom module to import XML file and make it an item.&#xA;In this way, we can make internal-design document as a record and also create item using the tool and Sitecore custom module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I am thinking about making this process shorter because using tools to convert XML and uploading it on Sitecore, run a module is a bit too much work when we have tons of documents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts?&lt;/p&gt;&#xA;" OwnerUserId="4091" LastEditorUserId="605" LastEditDate="2019-03-22T19:55:57.713" LastActivityDate="2019-03-22T19:55:57.713" Title="How to bulk-create template items automatically?" Tags="|content-editor|templates|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17563" PostTypeId="2" ParentId="17556" CreationDate="2019-03-20T08:22:48.243" Score="3" Body="&lt;p&gt;Buttons which you see in the Link edit frame are defined in the Core database. Take a look here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/S3ryu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/S3ryu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now investigate &lt;code&gt;Link List.cshtml&lt;/code&gt; and take a look at the edit frame which is defined there:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.Sxa().BeginEditFrame(item.ID.ToString(), &quot;Link&quot;, Model.IsControlEditable))&#xA;{&#xA;    foreach (BaseVariantField variantField in Model.VariantFields)&#xA;    {&#xA;        @Html.RenderingVariants().RenderVariant(variantField, item, Model.RenderingWebEditingParams, Model)&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The second parameter of the &lt;code&gt;BegineEditFrame()&lt;/code&gt; method defines a set of buttons (it is a name of the item I've shown in the first picture) which will be displayed in the edit frame.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-03-20T08:22:48.243" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17564" PostTypeId="1" CreationDate="2019-03-20T09:07:22.750" Score="0" ViewCount="119" Body="&lt;p&gt;I'm trying to run this simple sitecore docker demo project&#xA;&lt;a href=&quot;https://github.com/Sitecore/docker-demo/tree/develop/sitecore/9.0.1%20rev.%20171219%20XM1/VS2017/SimpleSample&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/docker-demo/tree/develop/sitecore/9.0.1%20rev.%20171219%20XM1/VS2017/SimpleSample&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I keep getting this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;1&gt;Step 9/13 : RUN Rename-Item -Path &lt;strong&gt;$env:SITEPATH&lt;/strong&gt; -NewName&#xA;  $env:DEFAULTWEBSITENAME;     New-Item -Path $env:SITEPATH -ItemType&#xA;  Directory | Out-Null; 1&gt; ---&gt; Running in 8b683e2bef08&#xA;  &lt;strong&gt;1&gt;[91mRename-Item : Cannot bind argument to parameter 'Path' because it is null&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I can't find $env:SITEPATH being set in solution. Feels like Im missing some step here but can't figure out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like this issue has been raised but never answered:&#xA;&lt;a href=&quot;https://github.com/Sitecore/docker-demo/issues/12&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/docker-demo/issues/12&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="316" LastEditDate="2019-03-20T11:10:17.090" LastActivityDate="2019-10-13T18:12:57.357" Title="Error running Sitecore Docker SimpleSample Project. Unable to find path $env:SITEPATH" Tags="|docker|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17565" PostTypeId="2" ParentId="17476" CreationDate="2019-03-20T09:09:26.323" Score="0" Body="&lt;p&gt;If anyone faces this issue, make sure all these packages exists on your local repository drive:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.2 rev. 180604 (WDP XM1 packages).zip&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.2 rev. 180604 (WDP XPScaled packages).zip&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2019-03-20T09:09:26.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17566" PostTypeId="1" CreationDate="2019-03-20T11:02:36.130" Score="1" ViewCount="40" Body="&lt;p&gt;How does one &lt;em&gt;(if possible)&lt;/em&gt; hook up their Sitecore Rocks with a dev/test environment?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already have it set up for my local dev environment, but would like to also have it for my Dev/Test environments which are running in Azure Web Apps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hNaj6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hNaj6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4927" LastActivityDate="2019-03-20T11:02:36.130" Title="How to create a Sitecore Rocks connection to a dev/test environment running in an Azure Web App?" Tags="|sitecore-rocks|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17567" PostTypeId="1" CreationDate="2019-03-20T11:41:30.673" Score="1" ViewCount="196" Body="&lt;p&gt;I can't select an icon from Sitecore Rocks &quot;Set Icon..&quot; menu, as the selection windows is always empty - previously it working fine.  I already tried restarting VS, Sitecore and my PC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/3PPLZ.png&quot; alt=&quot;Empty Sitecore Rocks menu[1]&quot;&gt;&lt;/p&gt;&#xA;" OwnerUserId="2607" LastActivityDate="2019-03-28T23:16:33.427" Title="Sitecore Rocks icons not loading in &quot;Set Icon...&quot; menu" Tags="|sitecore-rocks|visual-studio|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17568" PostTypeId="1" AcceptedAnswerId="17574" CreationDate="2019-03-20T11:43:35.510" Score="1" ViewCount="538" Body="&lt;p&gt;Environment: Sitecore 9.0.2 + SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have done&lt;/strong&gt;:&#xA;I created a partial design, say &lt;code&gt;PartialD1&lt;/code&gt;. In the 'main' placeholder of the &lt;code&gt;PartialD1&lt;/code&gt;, i added a column splitter generating 2 placeholders 'left1' and 'right1'. On the 'left1', I added a navigation link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further I created a new page design &lt;code&gt;PageD1&lt;/code&gt;. I added the &lt;code&gt;PartialD1&lt;/code&gt; on &lt;code&gt;PageD1&lt;/code&gt;.&#xA;I have created a page on this &lt;code&gt;PageD1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is happening&lt;/strong&gt;: I  have opened this page in the experience editor. I am able to add renderings to the 'right1' of the column splitter but not on the 'left1'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I was expecting&lt;/strong&gt;: I know that by design we cannot modify partial design items from page. But I was expecting that I will be able to add renderings on the placeholder in the left side of the splitter, &lt;code&gt;left1&lt;/code&gt; as I was able to add on 'righ1'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas will be helpful.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="73" LastEditDate="2019-03-20T14:40:53.947" LastActivityDate="2019-03-20T14:40:53.947" Title="Placeholders generated by partial design are behaving differently" Tags="|sxa|experience-editor|placeholders|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17569" PostTypeId="2" ParentId="17559" CreationDate="2019-03-20T11:57:34.547" Score="0" Body="&lt;p&gt;You have to change the reference in multiple places&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ThemesFolder of Site home node&#xA;and Presentation - Designsand - Styling section, select the theme you want to use.&lt;/p&gt;&#xA;" OwnerUserId="3451" LastActivityDate="2019-03-20T11:57:34.547" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17570" PostTypeId="2" ParentId="15015" CreationDate="2019-03-20T12:47:22.667" Score="2" Body="&lt;p&gt;We are having the same problem at the moment, and while we haven't yet figured out why it is happening, we found a way to work around it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In an item's advanced tab, there is a checkbox to enable Fallback for that item. The tickbox was not marked by default in our instance, and once we checked it, saved, and published, the items appeared as fallback.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this answers at least part of your questions and it works in your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BiPA8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BiPA8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5261" LastEditorUserId="70" LastEditDate="2019-03-20T13:40:02.210" LastActivityDate="2019-03-20T13:40:02.210" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17571" PostTypeId="1" AcceptedAnswerId="17573" CreationDate="2019-03-20T12:47:27.153" Score="3" ViewCount="691" Body="&lt;p&gt;I have a scenario where I need site visitors to be able to upload media items via &lt;code&gt;CD&lt;/code&gt; server. My plan is to upload to &lt;code&gt;web&lt;/code&gt; database first and  use &lt;code&gt;EventQueues&lt;/code&gt; to then have the &lt;code&gt;CM&lt;/code&gt; server fetch the serialized media item and write it to the &lt;code&gt;master&lt;/code&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this approach to be viable though I need to be able to specify the &lt;code&gt;master&lt;/code&gt; instance of the item's id to match the &lt;code&gt;web&lt;/code&gt; instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently to create media items I have the following extension method...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static MediaItem CreateMediaItem(this Item parentItem, HttpPostedFileBase file, Sitecore.Data.Database database)&#xA;{&#xA;    try&#xA;    {&#xA;        var fileName = ItemUtil.ProposeValidItemName(Path.GetFileNameWithoutExtension(file.FileName));&#xA;&#xA;        var options = new Sitecore.Resources.Media.MediaCreatorOptions&#xA;        {&#xA;            Database = database,&#xA;            Destination = parentItem.Paths.Path + &quot;/&quot; + Path.GetFileNameWithoutExtension(file.FileName),&#xA;            IncludeExtensionInItemName = false,&#xA;            KeepExisting = true,&#xA;            Versioned = false,&#xA;            FileBased = false,&#xA;            AlternateText = Path.GetFileNameWithoutExtension(file.FileName)&#xA;        };&#xA;&#xA;        var creator = new Sitecore.Resources.Media.MediaCreator();&#xA;&#xA;        return (MediaItem)creator.CreateFromStream(file.InputStream, file.FileName, options);&#xA;&#xA;    }&#xA;    catch(Exception ex)&#xA;    {&#xA;            //handle it&#xA;    }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there any way to utilize &lt;code&gt;MediaCreator&lt;/code&gt; to specify what I want the id to be?&lt;/p&gt;&#xA;" OwnerUserId="3907" LastActivityDate="2019-03-20T14:04:17.143" Title="Create media item and specify item id" Tags="|media-library|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17572" PostTypeId="2" ParentId="4844" CreationDate="2019-03-20T12:47:59.590" Score="7" Body="&lt;p&gt;For those using Sitecore 9.1, &lt;a href=&quot;https://sitecore.stackexchange.com/a/4850/4967&quot;&gt;Gatogordo's answer&lt;/a&gt; doesn't work because the &lt;strong&gt;loggedin&lt;/strong&gt; pipeline is not called.  In 9.1, users log in through the identity server, and whether by accident or design, Sitecore does not call the &lt;strong&gt;loggedin&lt;/strong&gt; pipeline after login.  So, in order to implement Gatogordo's answer, I had to use the &lt;strong&gt;httpRequestProcessed&lt;/strong&gt; pipeline and keep track of whether or not the code has executed through a session variable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;httpRequestProcessed Processor&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.ExperienceEditor;&#xA;using Sitecore.Pipelines.HttpRequest;&#xA;using Sitecore.Web.UI.HtmlControls;&#xA;&#xA;namespace ObligatoryNamespace.Pipelines&#xA;{&#xA;    public class DefaultToAllVersions : HttpRequestProcessor&#xA;    {&#xA;        public override void Process(HttpRequestArgs args)&#xA;        {&#xA;            var session = args?.HttpContext?.Session;&#xA;&#xA;            if (session == null ||&#xA;                !Sitecore.Context.IsLoggedIn ||&#xA;                session[&quot;DefaultToAllVersions&quot;] as string == &quot;done&quot;)&#xA;                return;&#xA;&#xA;            // Gatogordo's code (slightly modified)&#xA;            if (!SkipProcessor(args))&#xA;                Registry.SetString(Constants.RegistryKeys.EditAllVersions,&#xA;                    Constants.Registry.CheckboxTickedRegistryValue);&#xA;&#xA;            session[&quot;DefaultToAllVersions&quot;] = &quot;done&quot;;&#xA;        }&#xA;&#xA;        // Gatogordo's code (slightly modified)&#xA;        public virtual bool SkipProcessor(LoggedInArgs args)&#xA;        {&#xA;            var user = User.FromName(User.Current.Name, true);&#xA;            var existing = Registry.GetString(Constants.RegistryKeys.EditAllVersions);&#xA;            return user == null &amp;amp;&amp;amp; string.IsNullOrEmpty(existing);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Patch File&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestProcessed&amp;gt;&#xA;        &amp;lt;processor patch:after=&quot;*[last()]&quot;&#xA;          type=&quot;ObligatoryNamespace.Pipelines.DefaultToAllVersions, ObligatoryNamespace&quot; /&amp;gt;&#xA;      &amp;lt;/httpRequestProcessed&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Regarding the use of the &lt;strong&gt;httpRequestProcessed&lt;/strong&gt; pipeline, I know that is is not as efficient because this pipeline is called for &lt;em&gt;every request&lt;/em&gt;.  I wake up in cold sweats sometimes dwelling on this fact, but unlike the &lt;strong&gt;loggedin&lt;/strong&gt; pipeline, it works for 9.1.  There simply aren't any other effective alternatives that I could find.  If you have any better ideas, please leave them in the comments, and if it works out, I'll update the answer.&lt;/p&gt;&#xA;" OwnerUserId="4967" LastEditorUserId="4967" LastEditDate="2019-03-20T18:23:37.050" LastActivityDate="2019-03-20T18:23:37.050" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17573" PostTypeId="2" ParentId="17571" CreationDate="2019-03-20T12:55:57.443" Score="4" Body="&lt;p&gt;From what I know, it's not possible with &lt;code&gt;MediaCreator&lt;/code&gt; class. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you could try instead is to create an item first using &lt;code&gt;ItemManager&lt;/code&gt; like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item newItem = ItemManager.CreateItem(newItemName, parentItem, templateID, newItemID);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then use &lt;code&gt;MediaCreator.AttachStreamToMediaItem&lt;/code&gt; method with &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MediaCreatorOptions.KeepExisting = false;&#xA;// or better&#xA;MediaCreatorOptions.OverwriteExisting = true;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your code will first create the empty media item with specific ID and then will override it with the data from the stream.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-03-20T14:04:17.143" LastActivityDate="2019-03-20T14:04:17.143" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17574" PostTypeId="2" ParentId="17568" CreationDate="2019-03-20T14:22:52.360" Score="3" Body="&lt;p&gt;Once you use a placeholder in the Partial design, be becomes locked into that partial design, you can no longer add components to that placeholder on the page directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The work around for this would be to add containers in the &lt;code&gt;left1&lt;/code&gt; column, above and below (or just one of those, depending on where you want to left content editors add components) the navigation link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Caveat: The explanation below is based on de-compiling the code and working out what is going on and then drawing conclusions from that :) Maybe the SXA team can confirm/give the real reason why this is the case :)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is down to how the rendering field holds its values. The &lt;code&gt;__Final Renderings&lt;/code&gt; field on the page, only holds the presentation that is added on the page, it doesn't have the XML fragment from the partial, that is merged together when the page is rendered. So, the Experience Editor would not be able to set the ordering correctly when you are adding/moving components around. In your case, the page would not have the XML fragment for the &lt;code&gt;Navigation Link&lt;/code&gt; component, so there would be no way for Sitecore to know where to put the new XML fragment for your added component. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Interestingly, you &lt;em&gt;can&lt;/em&gt; create the partial, add components to the page, then go back into the partial and add a component to the placeholder. This &lt;em&gt;will&lt;/em&gt; work, but may be tricky to order the components in that placeholder, and once you add the component in the partial, you can't add anything in the Page anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope that makes sense?&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-20T14:22:52.360" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17575" PostTypeId="1" AcceptedAnswerId="17578" CreationDate="2019-03-20T14:29:28.607" Score="1" ViewCount="922" Body="&lt;p&gt;I want to have endpoint Email\Email on my sitecore instance which could send email to specific user, so other applications will be able to use email templates from sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Previously on 8.2 I used &lt;code&gt;Applciation.Instance.EmailDispatch.SendTriggered(Guid messageId, RecipientId, bool, Dictionary&amp;lt;string, object&amp;gt; tokens)&lt;/code&gt;. This way provided possibility to send emails by messageId with specific email and person tokens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I am not able to find possibility to send an email to specific email.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is an example of sending campaign programmatically from sitecore documentation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var sendingManagerFactory = &#xA;ServiceLocator.ServiceProvider.GetService&amp;lt;ISendingManagerFactory&amp;gt;();&#xA;var campaignService = ServiceLocator.ServiceProvider.GetService&amp;lt;IExmCampaignService&amp;gt;();&#xA;&#xA;MessageItem emailCampaign = campaignService.GetMessageItem(emailCampaignId);&#xA;&#xA;ISendingManager sendingManager = sendingManagerFactory.GetAsyncSendingManager(emailCampaign);&#xA;&#xA;sendingManager.SendMessage();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to send an email for specific user from request, so I decided to use &lt;code&gt;sendingManager.SendStandartMessage(Sitecore.XConnect.ContactIdentifier contact)&lt;/code&gt; instead, but this method depends on Sitecore.Xconnect and Sitecore.Xconnect is not supported by .NetFramework 4.7.1 because it depends on NETStandard.v2.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, how to send an email message to specific email with custom tokens based on message from sitecore?&lt;/p&gt;&#xA;" OwnerUserId="5263" LastEditorUserId="5263" LastEditDate="2019-03-20T15:18:49.903" LastActivityDate="2019-03-20T15:26:23.150" Title="How to send email to specific user in Sitecore 9.1" Tags="|xconnect|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17576" PostTypeId="1" CreationDate="2019-03-20T15:13:26.410" Score="1" ViewCount="525" Body="&lt;p&gt;Working on setting up basic authentication for our Solr instance to help put some form of security for people internally who might accidentally drop an index in production. We're able to pass the authentication to the CM and CD servers with the following patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement or ContentDelivery&quot; search:require=&quot;solr&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;!-- Configuration sections for indexes --&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;solrHttpWebRequestFactory type=&quot;HttpWebAdapters.BasicAuthHttpWebRequestFactory, SolrNet&quot; patch:instead=&quot;solrHttpWebRequestFactory[@type='HttpWebAdapters.HttpWebRequestFactory, SolrNet']&quot;&amp;gt;&#xA;          &amp;lt;param hint=&quot;username&quot;&amp;gt;USERNAME&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param hint=&quot;password&quot;&amp;gt;PASSWORD&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/solrHttpWebRequestFactory&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When attempting to setup a similar override for the &lt;code&gt;xConnect&lt;/code&gt; analytics side of our setup this override doesn't work. When referencing &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/protecting-solr-over-http.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Docs&lt;/a&gt; they only mention the &lt;code&gt;Sitecore.ContentSearch.DefaultSolrConfiguration.config&lt;/code&gt; file which is not in the &lt;code&gt;App_data/Sitecore&lt;/code&gt; folder or in its &lt;code&gt;jobs/continuous/IndexWorker/App_data/Config&lt;/code&gt; folder for an &lt;code&gt;xConnect&lt;/code&gt; site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to patch into these sitecore settings for &lt;code&gt;xConnect&lt;/code&gt; to have basic auth enabled. My guess would be to edit the &lt;code&gt;sc.Xdb.Collection.WebClient.SOLR.xml&lt;/code&gt; manually but the &lt;code&gt;Sitecore.Xdb.Collection.Search.Solr.xml&lt;/code&gt; seems to reference a credentials parameter to override.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;member name=&quot;M:Sitecore.Xdb.Collection.Search.Solr.WebClientProperties.#ctor(System.Text.Encoding,System.Net.ICredentials)&quot;&amp;gt;&#xA;            &amp;lt;summary&amp;gt;&#xA;            Initializes a new instance of &amp;lt;see cref=&quot;T:Sitecore.Xdb.Collection.Search.Solr.WebClientProperties&quot;/&amp;gt;.&#xA;            &amp;lt;/summary&amp;gt;&#xA;            &amp;lt;param name=&quot;encoding&quot;&amp;gt;The encoding.&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param name=&quot;credentials&quot;&amp;gt;The Solr credentials.&amp;lt;/param&amp;gt;&#xA;&amp;lt;/member&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ty&lt;/p&gt;&#xA;" OwnerUserId="4368" LastEditorUserId="5096" LastEditDate="2019-05-10T18:29:33.593" LastActivityDate="2019-05-10T18:29:33.593" Title="Solr Basic Auth xDB / Indexer" Tags="|xdb|solr|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17577" PostTypeId="2" ParentId="17555" CreationDate="2019-03-20T15:18:39.013" Score="1" Body="&lt;p&gt;ancestor will return multiple matches not just one, but you can apply additional conditions to filter further in your query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;startswith can be used as below,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;startswith(filed or property name, 'value') in your case it would be [startswith(@@name,'All')]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also try contains which will look for the specific word anywhere in the item/folder name, something like this,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;[contains(@@name,'All)]&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-20T15:18:39.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17578" PostTypeId="2" ParentId="17575" CreationDate="2019-03-20T15:26:23.150" Score="2" Body="&lt;p&gt;The Client API for Email Experience Manager has changed significantly from Sitecore 8.2 and Sitecore 9.1. The example that you provided is using a fairly clunky way of sending a message to a contact using the &lt;code&gt;SendingManager&lt;/code&gt; which is only available on the Content Management server and can not be instantiated on the Content Delivery servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To better understand what methods that &lt;strong&gt;&lt;em&gt;should&lt;/em&gt;&lt;/strong&gt; be used to send email to specific contacts (which I'll refer to as triggered messages or Automated Message) depend on what the use cases are. Unless there's a very specific, custom use case for your business, using code / API should be a last resort.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Sending Triggered Email to Contacts&lt;/h1&gt;&#xA;&#xA;&lt;h2&gt;Method 1: Through Marketing Automation&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Use Case: If Contact triggers Goal A, I want to send an email.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In this simple example (which can be more complex and still utilize Marketing Automation), you are actually creating a Marketing Automation plan that detects the goal being triggered and then sends an EXM Automated Message. From my blog post &lt;a href=&quot;https://sitecorehacker.com/2018/12/22/marketing-automation-with-exm&quot; rel=&quot;nofollow noreferrer&quot;&gt;Marketing Automation with EXM&lt;/a&gt; here is an image detailing how you would construct such a plan.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p4Lc3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p4Lc3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Method 2: Through Sitecore Forms&lt;/h2&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Use Case: If Contact completes a form, send an email.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9+, Sitecore Forms has been introduced which allows forms that accept form data and execute actions (called Submit Actions) once the form has been submitted.  One of these submit actions is &quot;Send Email Campaign&quot; that will send an email campaign to the contact that is submitting the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a note here that, there's an expectation that the contact is already known and that we have an email address already in the Contact Profile.  This is not always the case. In my &lt;a href=&quot;https://sitecorehacker.com/2018/02/22/svdd-using-forms-in-sitecore-9-and-xdb-together&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Virtual Developer Day 2018 session&lt;/a&gt;, I demonstrated how to create a custom submit action that can save the email address to the contact profile, for use in a follow-up action, such as sending an email campaign.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SupAt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SupAt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Method 3: Through EXM Client API&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The Client API is enabled via Dependency Injection by simply adding &lt;code&gt;IClientApiService&lt;/code&gt; as a parameter of your controller doing the work.  This API has been described in length in my blog post &lt;a href=&quot;https://sitecorehacker.com/2018/12/21/managing-the-unsubscribe-part-5&quot; rel=&quot;nofollow noreferrer&quot;&gt;Managing the Unsubscribe: Part 5&lt;/a&gt; as well as in my &lt;a href=&quot;https://sitecorehacker.com/email-experience-manager/developer-guide&quot; rel=&quot;nofollow noreferrer&quot;&gt;EXM Developer Guide&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.EmailCampaign.Cd.Services&#xA;{&#xA;  public interface IClientApiService&#xA;  {&#xA;    void SendAutomatedMessage(AutomatedMessage automatedMessage);&#xA;&#xA;    void ConfirmSubscription(ConfirmSubscriptionMessage confirmSubscriptionMessage);&#xA;&#xA;    void RegisterEmailOpen(EmailOpenMessage emailOpenMessage);&#xA;&#xA;    void UpdateListSubscription(UpdateListSubscriptionMessage message);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;To Send an Automated Message&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Here is the sample code that I provided to accomplish what you are trying to perform.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public IClientApiService ClientApiService { get; }&#xA;&#xA;    public ClientSamples(IClientApiService clientApiService)&#xA;    {&#xA;        ClientApiService = clientApiService;&#xA;    }&#xA;&#xA;    public void SendAutomatedExample(Guid messageId, ContactIdentifier identifier)&#xA;    {&#xA;        var messageOpitons = new AutomatedMessage();&#xA;&#xA;        //Required Parameters&#xA;        messageOpitons.MessageId = messageId;&#xA;        messageOpitons.ContactIdentifier = identifier;&#xA;&#xA;        //Custom Tokens - Optional&#xA;        var tokens = new Dictionary&amp;lt;string, object&amp;gt; {{&quot;specialvalue&quot;, &quot;Something Useful Here&quot;}};&#xA;        messageOpitons.CustomTokens = tokens;&#xA;&#xA;        //Query String Params - Optional&#xA;        var queryParams = new Dictionary&amp;lt;string, string&amp;gt; { { &quot;utm_campaign&quot;, &quot;Some Value&quot; },{&quot;utm_media&quot;,&quot;Something Useful&quot;} };&#xA;        messageOpitons.CustomQueryStringParameters = queryParams;&#xA;&#xA;        //Language - Optional&#xA;        messageOpitons.TargetLanguage = &quot;en&quot;;&#xA;&#xA;        //Send Message&#xA;        ClientApiService.SendAutomatedMessage(messageOpitons);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-03-20T15:26:23.150" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17579" PostTypeId="1" AcceptedAnswerId="17580" CreationDate="2019-03-20T15:29:15.037" Score="0" ViewCount="1574" Body="&lt;p&gt;I want to access all the data of an item when I click &lt;strong&gt;Save&lt;/strong&gt; button in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Suppose I have an ITEM A. If I click &lt;strong&gt;Save&lt;/strong&gt; button in Sitecore, I would like to store all the data in the fields to a text file on the file system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I achieve that? Thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="342" LastEditDate="2019-03-20T16:38:39.317" LastActivityDate="2019-03-20T16:38:39.317" Title="Write a file with item field data when item is saved" Tags="|events|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17580" PostTypeId="2" ParentId="17579" CreationDate="2019-03-20T15:43:36.507" Score="3" Body="&lt;p&gt;I would recommend creating an &lt;code&gt;item:saved&lt;/code&gt; event handler to take the data and save the information you need.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: the &lt;code&gt;item:saved&lt;/code&gt; event is different from the &lt;code&gt;item:saving&lt;/code&gt; event&#xA;  and I believe preferable in this case because the &lt;code&gt;item:saving&lt;/code&gt; event&#xA;  happens while the editor waits for the save command to complete.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h1&gt;Create a custom event handler&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class WriteFileItemSavedEventHandler&#xA;{&#xA;  public void OnItemSaved(object sender, EventArgs args)&#xA;  {&#xA;    // Extract the item from the event Arguments&#xA;    Item savedItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;    // If we don't have an item or we're not saving in the master DB, ignore this save&#xA;    if (savedItem == null || !&quot;master&quot;.Equals(savedItem.Database?.Name, StringComparison.OrdinalIgnoreCase))&#xA;      return;&#xA;&#xA;    if (!savedItem .TemplateID.Equals(new ID(&quot;{YOUR-TEMPLATE-ID}&quot;)))&#xA;      return;&#xA;&#xA;    // Get the fields you care about and write out the file here&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Create a config patch file&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;item:saved&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Custom.Events.WriteFileItemSavedEventHandler, Custom&quot; method=&quot;OnItemSaved&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-03-20T15:43:36.507" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17581" PostTypeId="1" CreationDate="2019-03-20T17:21:59.173" Score="0" ViewCount="104" Body="&lt;p&gt;We have many SXA sites in our instance and want to configure each site to have its own 'LayoutNotFound' Url. Is there any ready configuration/field available with SXA like 'Page Not Found Url' field specific to Site.&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="70" LastEditDate="2019-03-20T19:58:53.990" LastActivityDate="2019-03-21T08:10:01.013" Title="Is there any possibility to have LayoutNotFound Url specific to SXA site readily?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17582" PostTypeId="1" CreationDate="2019-03-20T17:28:08.100" Score="1" ViewCount="133" Body="&lt;p&gt;I'm looking for a way to allow content editors to add legal footnotes/disclosures within inline content. My initial thought was to instruct them to use some sort of syntax, such as &lt;code&gt;[[disclosure=12.34]]&lt;/code&gt; which would require usage such as this within inline content fields:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-html prettyprint-override&quot;&gt;&lt;code&gt;The disclosure needs[[disclosure=12.34]] to be included within the inline content.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this case, I would also create a global service or route-level component to crawl the content after page load to find all disclosure references. I need to require the disclosure content from a third-party API and, after receiving the response, replace the footnote syntax with a footnote index number.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;So, my question is,&lt;/strong&gt; is there a more conventional/convenient way of adding either a footnote component or tag of some kind within a jss content field? Any suggestion is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5225" LastActivityDate="2019-04-19T19:02:20.287" Title="Adding footnote component/syntax to jss content field?" Tags="|content-editor|jss|" AnswerCount="1" CommentCount="2" ClosedDate="2019-04-22T13:41:34.903" ContentLicense="CC BY-SA 4.0" />
  <row Id="17583" PostTypeId="2" ParentId="17582" CreationDate="2019-03-20T18:01:39.730" Score="0" Body="&lt;p&gt;The &lt;a href=&quot;https://github.com/JeffDarchuk/SCTokenManager&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore TokenManager&lt;/a&gt; module can provide automated rich text token replacement. It's not JSS-specific, but should work with JSS.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-03-20T18:01:39.730" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17584" PostTypeId="2" ParentId="17576" CreationDate="2019-03-20T18:45:13.907" Score="5" Body="&lt;p&gt;From my Sitecore Ticket...&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In order to configure xConnect to use basic authentication you will&#xA;  need to modify the connection string:&#xA;  &lt;a href=&quot;https://myusername:mypassword@localhost:8983/solr/xdb&quot; rel=&quot;noreferrer&quot;&gt;https://myusername:mypassword@localhost:8983/solr/xdb&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;For more information please consider reading &#xA;  &lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/api/system.uri.userinfo?redirectedfrom=MSDN&amp;amp;view=netframework-4.7.2#System_Uri_UserInfo&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/dotnet/api/system.uri.userinfo?redirectedfrom=MSDN&amp;amp;view=netframework-4.7.2#System_Uri_UserInfo&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So it looks like the only way to use basic auth on xConnect is through the connection string.&lt;/p&gt;&#xA;" OwnerUserId="4368" LastActivityDate="2019-03-20T18:45:13.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17586" PostTypeId="2" ParentId="17581" CreationDate="2019-03-20T19:58:38.813" Score="3" Body="&lt;p&gt;The easiest way to do this is to enter a relative url in the &lt;code&gt;LayoutNotFound&lt;/code&gt; url setting. So &lt;code&gt;/errors/layout-not-found&lt;/code&gt; and then create a convention that puts the layout not found page in the same place, with the same name for each site. Its not perfect, but it should give you the required results. If for some reason, you want a different Url per site, then you will have to implement a custom option for that.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-20T19:58:38.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17587" PostTypeId="1" CreationDate="2019-03-20T21:01:25.987" Score="1" ViewCount="311" Body="&lt;p&gt;There is a related item that suggests providing read access to /sitecore/system/Settings/Buckets/Item Buckets Settings, which I've done.  That at least removes the loading icon from the left shuttle box, but does not yield any items.  I've simplified the source field down to just the search location:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation={224EB5B1-B053-42F8-87EC-9680B8C4A317}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But still get zero results. An &quot;&amp;amp;TemplateFilter={ID1}|{ID2}&quot; etc. also does nothing to help.  Items show up fine when logged in as an admin user.  I feel like there are some other permissions that might make this work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version 8.2&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="1809" LastEditDate="2019-03-21T17:18:34.170" LastActivityDate="2019-03-21T17:18:34.170" Title="MultiList with Search not showing items for non-admins" Tags="|templates|fieldtype|" AnswerCount="0" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="17588" PostTypeId="2" ParentId="17476" CreationDate="2019-03-20T21:07:14.983" Score="1" Body="&lt;p&gt;The problem here is that you've changed the &lt;code&gt;VersionsFilter&lt;/code&gt; to &lt;code&gt;VersionsFilter &quot;9.0.2 rev\. 180604*&quot;&lt;/code&gt;.&#xA;Inside that folder in &lt;a href=&quot;https://github.com/Sitecore/docker-images/sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/docker-images/sitecore&lt;/a&gt;, it has build files for different configurations, XMScaled and XPSingle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The default VersionsFilter (in the README) has &lt;code&gt;-VersionsFilter &quot;.*\\9\.0\.1 rev\. 171219\\.*sitecore-xpsingle.*\\windowsservercore-ltsc2016$&quot;&lt;/code&gt;&#xA;You can see in that filter that it specifically looks at folders with &lt;code&gt;sitecore-xpsingle&lt;/code&gt; (i.e only the XPSingle configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, you're trying to build more configurations than you probably need to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fix is to change it back to the original VersionsFilter I mentioned above, or, as you've said, to add the packages so that the XMScaled configuration can also be built.&lt;/p&gt;&#xA;" OwnerUserId="418" LastActivityDate="2019-03-20T21:07:14.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17589" PostTypeId="1" CreationDate="2019-03-20T23:12:42.513" Score="6" ViewCount="1873" Body="&lt;p&gt;We recently moved from Sitecore 7.2 to 9.0.2 and since then we have started getting following error when we try to add a control(by clicking &quot;Add here&quot;) with datasource from the experience editor. This is only happening on the 9.0.2 instance of Sitecore.&#xA;Ours is not a MVC project. Just simple web forms.&#xA;This happens on clicking either the first or the second Add here on the page.&#xA;We are not referencing Prototype.js in the project so not sure if putting jQuery into No-conflict mode will help.&#xA;Also, we are able to add controls with datasource by going to presentation details of the page in Sitecore.&#xA;Any help is greatly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I have tried:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are not referencing Prototype.js in the project so not sure if putting jQuery into No-conflict mode will help. Also, we are able to add controls with datasource by going to presentation details of the page in Sitecore.&#xA;I also tried to create a new control(rendering) but it did not help.&#xA;Adding/removing allowed controls of the placeholder also did not help.&#xA;I tried removing all JS references from the layout one by one and it did not help sadly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are the screenshots of the error I am getting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LmhE5.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LmhE5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error in JS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uItNp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uItNp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5267" LastEditorUserId="5267" LastEditDate="2019-03-21T12:50:42.027" LastActivityDate="2023-12-19T16:04:40.497" Title="Could not find the rendering in the HTML loaded from server. Sitecore experience editor issue" Tags="|experience-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17591" PostTypeId="2" ParentId="17457" CreationDate="2019-03-21T02:24:00.160" Score="3" Body="&lt;p&gt;Here are a few things I learned today that may help. (SXA 1.7.0)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The custom &lt;code&gt;sxa:&lt;/code&gt; tokens shown in the UI require a pipeline to run in order for them to be resolved.&lt;/li&gt;&#xA;&lt;li&gt;The pipeline that runs for the Page List component does not resolve the &lt;code&gt;sxa:&lt;/code&gt; custom tokens.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I was able to get this to work by making the following changes:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new class called &lt;strong&gt;SearchDatasource&lt;/strong&gt; which is a nearly identical copy of &lt;code&gt;Sitecore.XA.Foundation.Search.Pipelines.ResolveRenderingDatasource.SearchDatasource, Sitecore.XA.Foundation.Search&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add a reference to a service &lt;code&gt;ISearchQueryTokenResolver&lt;/code&gt; for resolving tokens and a new function to call the resolve method&lt;/li&gt;&#xA;&lt;li&gt;Change the logic in the &lt;strong&gt;Process&lt;/strong&gt; method to work with the datasource field used by the Page List.&lt;/li&gt;&#xA;&lt;li&gt;Patch in the new processor&lt;/li&gt;&#xA;&lt;li&gt;Take a nap&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected ISearchQueryTokenResolver SearchQueryTokenResolver { get; set; }&#xA;&#xA;protected virtual IEnumerable&amp;lt;SearchStringModel&amp;gt; ResolveSearchQueryTokens(Item contextItem, IEnumerable&amp;lt;SearchStringModel&amp;gt; models)&#xA;{&#xA;    return SearchQueryTokenResolver.Resolve(models.ToList(), contextItem);&#xA;}&#xA;&#xA;public void Process(ResolveRenderingDatasourceArgs args)&#xA;{&#xA;    Assert.IsNotNull(args, nameof(args));&#xA;    if (args.DefaultDatasource.Length &amp;lt;= 1 || !args.DefaultDatasource.Contains(&quot;sxa:&quot;))&#xA;        return;&#xA;    var contextItem = args.GetContextItem();&#xA;    if (contextItem != null)&#xA;    {&#xA;        var searchStringModelList = new List&amp;lt;SearchStringModel&amp;gt;();&#xA;        searchStringModelList.AddRange(SearchStringModel.ParseDatasourceString(args.DefaultDatasource));&#xA;        searchStringModelList.AddRange(GetPageScope(contextItem));&#xA;        searchStringModelList = ResolveSearchQueryTokens(contextItem, searchStringModelList).ToList();&#xA;        using (var searchContext = GetSearchContext(contextItem))&#xA;        {&#xA;            var startLocationItem = contextItem.Database.GetItem(ItemIDs.RootID);&#xA;            var query1 = LinqHelper.CreateQuery&amp;lt;ExtendedSearchResultItem&amp;gt;(searchContext,&#xA;                searchStringModelList.RemoveWhere(m =&amp;gt; m.Type == &quot;sort&quot;), startLocationItem, null);&#xA;            var siteItem = MultisiteContext.GetSiteItem(contextItem);&#xA;            if (siteItem == null)&#xA;            {&#xA;                args.Datasource = string.Empty;&#xA;            }&#xA;            else&#xA;            {&#xA;                var datasourceSearchScopesIds =&#xA;                    GetDatasourceSearchScopesIds(MultisiteContext.GetSettingsItem(siteItem));&#xA;                if (datasourceSearchScopesIds.Count == 0)&#xA;                    datasourceSearchScopesIds.Add(siteItem.ID.ToSearchID());&#xA;                var query2 = query1.Where(BuildPathPredicate(datasourceSearchScopesIds))&#xA;                    .Where(i =&amp;gt; i.Language == Context.Language.Name);&#xA;                var results = AddSorting(searchStringModelList, query2)&#xA;                    .Take(QueryMaxItems).Select(i =&amp;gt; i.ItemId.ToString()).ToList();&#xA;                var listString = new ListString(results);&#xA;                args.Datasource = listString.ToString();&#xA;            }&#xA;        }&#xA;    }&#xA;    else&#xA;    {&#xA;        args.Datasource = string.Empty;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Add to the constructor&#xA;SearchQueryTokenResolver = ServiceLocator.ServiceProvider.GetService&amp;lt;ISearchQueryTokenResolver&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;resolveRenderingDatasource&amp;gt;&#xA;        &amp;lt;processor type=&quot;Scms.Foundation.Search.Pipelines.ResolveRenderingDatasource.SearchDatasource, Scms.Foundation.Search&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/resolveRenderingDatasource&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you are using a component like Snippet, you'll need to configure the datasource for the component, otherwise it will default to the snippet which is a problem because the tags live on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14599/sxa-datasource-query-to-refer-current-item&quot;&gt;this&lt;/a&gt; I set the data source to &lt;code&gt;query:self::&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-03-26T23:47:36.293" LastActivityDate="2019-03-26T23:47:36.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17592" PostTypeId="1" AcceptedAnswerId="17603" CreationDate="2019-03-21T04:10:00.153" Score="1" ViewCount="299" Body="&lt;p&gt;How can user(external) upload some specific document(media-file ex- PDF file) to CD server? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Below point need to take care:&lt;/strong&gt;&#xA;Uploaded media files should not be overridden once publishing is done.So&#xA;media files must be also maintain onto CM(master db). Here also CM user can manage uploaded files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here we are using 3 CD server(load-balancing) and 1 CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 8.2 update 3.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-03-25T05:12:11.260" LastActivityDate="2019-03-25T11:04:35.947" Title="CD server - upload media files to web database" Tags="|media-library|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17593" PostTypeId="1" CreationDate="2019-03-21T04:16:29.720" Score="0" ViewCount="331" Body="&lt;p&gt;How to abort the execution of the whole request and redirect to another page from &lt;code&gt;GetPageItemProcessor&lt;/code&gt; Sitecore &lt;code&gt;pipeline processor&lt;/code&gt;. I tried a few options but they all make the execution of the request continues to the rendering controller of the item requested.&#xA;I used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WebUtil.Redirect(smsRedirectUrl, false);&#xA;WebUtil.Redirect(smsRedirectUrl, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also tried to use &quot;return&quot; with no luck&lt;/p&gt;&#xA;" OwnerUserId="2689" LastEditorUserId="5096" LastEditDate="2019-05-10T18:29:41.263" LastActivityDate="2019-05-10T18:29:41.263" Title="How to abort the request execution from GetPageItemProcessor (Sitecore 8.2)" Tags="|pipelines|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17594" PostTypeId="2" ParentId="17592" CreationDate="2019-03-21T04:19:38.240" Score="0" Body="&lt;p&gt;I would suggest writing an Azure Function that handles media uploading, and then put that back into the master database via a service call to the CM instance.&lt;/p&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2019-03-21T04:19:38.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17595" PostTypeId="2" ParentId="17592" CreationDate="2019-03-21T05:00:19.870" Score="1" Body="&lt;p&gt;I have done this previous by defining a custom Sitecore event adding it to the event queue.  the CM server can then respond to the event by adding the uploaded image to the media library and publishing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following link gives a good rundown of how to create and queue custom events.&#xA;&lt;a href=&quot;https://sitecore-community.github.io/docs/pipelines-and-events/events/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore-community.github.io/docs/pipelines-and-events/events/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="198" LastActivityDate="2019-03-21T05:00:19.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17596" PostTypeId="2" ParentId="17560" CreationDate="2019-03-21T05:28:10.250" Score="2" Body="&lt;p&gt;You can use both &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[“fieldName”].Value&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or as Jammykam mentioned&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item[“fieldName”]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, when using the &lt;code&gt;.Value&lt;/code&gt;, you need to check for null and it will cause Null Exception if blank.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, make sure that&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The &lt;code&gt;FieldName&lt;/code&gt;is properly set, i.e same as in Sitecore Template.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The item has been published to the &lt;code&gt;web&lt;/code&gt; database&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-03-21T14:16:11.073" LastActivityDate="2019-03-21T14:16:11.073" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17597" PostTypeId="1" CreationDate="2019-03-21T06:20:33.440" Score="1" ViewCount="491" Body="&lt;p&gt;Using Sitecore, I have defined some tags, related to food or pet type and assigned some of these tags to pages&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lCrhs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lCrhs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I limit search scope to find all pages which have any food tag assigned ?&lt;/p&gt;&#xA;" OwnerUserId="3167" LastActivityDate="2019-03-21T06:20:33.440" Title="Custom query in SXA search scope" Tags="|sxa|content-search|sitecore-commerce|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17598" PostTypeId="1" AcceptedAnswerId="17605" CreationDate="2019-03-21T06:58:17.937" Score="2" ViewCount="134" Body="&lt;p&gt;I've installed sitecore 9 and I am using Unicorn to sync my developer items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I create all my languages on my local machine an add the &quot;&lt;code&gt;/sitecore/system/Languages&lt;/code&gt;&quot; to my Unicorn synchronization, so that I configure the languages only once like language fallback? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is that the right approach or I am missing something?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="237" LastEditDate="2019-03-21T10:10:01.600" LastActivityDate="2019-03-21T10:10:01.600" Title="Language sync in Sitecore with Unicorn" Tags="|unicorn|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17599" PostTypeId="2" ParentId="17532" CreationDate="2019-03-21T06:59:36.090" Score="0" Body="&lt;p&gt;I have a talk on this :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://slides.com/gravypower/solid_sitecore_d#/15&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://slides.com/gravypower/solid_sitecore_d#/15&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the supporting repo for that talk:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/gravypower/SOLIDSitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/gravypower/SOLIDSitecore&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to use &lt;code&gt;ref=&lt;/code&gt; rather than &lt;code&gt;type=&lt;/code&gt; and a factory adaptor as you suggest.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I would consider a different DI framework Ninject is very slow, well it was.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope that helps, reach out to me on Sitecore Community Chat if you have any issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good luck&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Aaron&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you want to use this pattern (Container Adaptor Factory) with pipeline groups you need to use ref to a config node under types where you deny the ref and the factory it seems.  &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;group groupName=&quot;layoutService&quot;&amp;gt;&#xA;          &amp;lt;types&amp;gt;&#xA;              &amp;lt;ExampleContextExtension ref=&quot;SitecoreJss.Examples.ExampleContextExtension, SitecoreJss.Examples&quot; factory=&quot;FactoryContainerAdapter&quot;/&amp;gt;&#xA;            &amp;lt;/types&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;getLayoutServiceContext&amp;gt;&#xA;            &amp;lt;processor ref=&quot;ExampleContextExtension&quot;&amp;gt;&#xA;              &amp;lt;AllowedConfigurations hint=&quot;list&quot;&amp;gt;&#xA;                &amp;lt;!-- Unless you change the Layout Service config used by your JSS app, this should always be present. --&amp;gt;&#xA;                &amp;lt;jss&amp;gt;jss&amp;lt;/jss&amp;gt;&#xA;              &amp;lt;/AllowedConfigurations&amp;gt;&#xA;              &amp;lt;Applications hint=&quot;list&quot;&amp;gt;&#xA;                &amp;lt;!-- Restrict the JSS apps for which this processor will execute. --&amp;gt;&#xA;                &amp;lt;reactApp&amp;gt;JssReactWeb&amp;lt;/reactApp&amp;gt;&#xA;              &amp;lt;/Applications&amp;gt;&#xA;              &amp;lt;Routes hint=&quot;list&quot;&amp;gt;&#xA;                &amp;lt;!-- Restrict the route items for which this processor will execute. IDs, item paths, and wildcard item paths are allowed. --&amp;gt;&#xA;                &amp;lt;services&amp;gt;/sitecore/content/JssReactWeb/Home/Services*&amp;lt;/services&amp;gt;&#xA;                &amp;lt;portfolio&amp;gt;{BAD2C001-1746-4312-8422-B28806A1191E}&amp;lt;/portfolio&amp;gt;&#xA;              &amp;lt;/Routes&amp;gt;&#xA;            &amp;lt;/processor&amp;gt;&#xA;          &amp;lt;/getLayoutServiceContext&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3727" LastEditorUserId="3727" LastEditDate="2019-06-15T05:09:50.577" LastActivityDate="2019-06-15T05:09:50.577" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17600" PostTypeId="2" ParentId="17581" CreationDate="2019-03-21T08:10:01.013" Score="3" Body="&lt;p&gt;Take a look at &lt;code&gt;LayoutNotFoundResolver&lt;/code&gt; processor in the &lt;code&gt;HttpRequestBegin&lt;/code&gt; pipeline (depending on your SXA version).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iEiP0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iEiP0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a custom SXA processor which at the moment should redirect you or transfer (base on  &lt;code&gt;Settings.RequestErrors.UseServerSideRedirect&lt;/code&gt; setting) to 404 page (you can define it on your Settings item). Feel free to customize it so that you will be able to select a page base on the current site.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-03-21T08:10:01.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17601" PostTypeId="1" CreationDate="2019-03-21T08:11:54.657" Score="6" ViewCount="222" Body="&lt;p&gt;I'm trying to query contacts based on their e-mail value using xConnect, but my query doesn't return any results:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var queryable = client.Contacts&#xA;                .Where(c =&amp;gt; c.GetFacet&amp;lt;EmailAddressList&amp;gt;(EmailAddressList.DefaultFacetKey).PreferredEmail.SmtpAddress == email)&#xA;                .WithExpandOptions(new ContactExpandOptions(PersonalInformation.DefaultFacetKey, EmailAddressList.DefaultFacetKey));&#xA;&#xA;var enumerator = queryable.GetBatchEnumeratorSync(50);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, when I just check if the &lt;code&gt;SmtpAddress&lt;/code&gt; isn't empty, it does return results. The only downside is that I then have to search through all those contacts after retrieving them in-memory which is, let's say, kind of a performace hog (my local SQL Server instance is still churning away as I'm typing this):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var queryable = client.Contacts&#xA;                .Where(c =&amp;gt; c.GetFacet&amp;lt;EmailAddressList&amp;gt;(EmailAddressList.DefaultFacetKey).PreferredEmail.SmtpAddress != string.empty)&#xA;                .WithExpandOptions(new ContactExpandOptions(PersonalInformation.DefaultFacetKey, EmailAddressList.DefaultFacetKey));&#xA;&#xA;var enumerator = queryable.GetBatchEnumeratorSync(50);&#xA;&#xA;while (enumerator.MoveNext())&#xA;{&#xA;    foreach (var contact in enumerator.Current.Where(c =&amp;gt; c.GetFacet&amp;lt;EmailAddressList&amp;gt;(EmailAddressList.DefaultFacetKey).PreferredEmail.SmtpAddress == email))&#xA;    {...}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The e-mail address I'm looking for is definitely in the set of contacts as I can find it just fine with the second method, retrieving all contacts with a non-empty e-mail address and using the &lt;code&gt;.Where()&lt;/code&gt; line from the first method when iterating on the batch result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what's the difference here, why can't I search for a string ìn the query?&lt;/p&gt;&#xA;" OwnerUserId="2369" LastActivityDate="2019-03-21T14:27:30.057" Title="No results when searching for contacts on facet value" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17602" PostTypeId="2" ParentId="17601" CreationDate="2019-03-21T08:28:24.843" Score="3" Body="&lt;p&gt;This is not working because of PIISensitive Attribute : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[PIISensitive]&#xA;public string SmtpAddress&#xA;{&#xA;    get;&#xA;    set;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Solution:&#xA;In order to enable searching by this sensitive information, you need to enable indexing of this kind of facets (decorated with &lt;code&gt;[PIISensitive]&lt;/code&gt; facet).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to set “true” in IndexPIISensitiveData setting in XConnect SearchIndexer settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to rebuild xDB search index afterwards to make changes visible and therefore email facet searchable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Peter Prochazka wrote a nice blogpost regarding same issue: &#xA;&lt;a href=&quot;https://tothecore.sk/2018/06/21/searching-contacts-by-email-with-xconnect-in-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/06/21/searching-contacts-by-email-with-xconnect-in-sitecore-9/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="35" LastEditDate="2019-03-21T14:27:30.057" LastActivityDate="2019-03-21T14:27:30.057" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17603" PostTypeId="2" ParentId="17592" CreationDate="2019-03-21T08:54:14.647" Score="1" Body="&lt;p&gt;Other option is to add other Sitecore Web Database like UserGeneratedContent DB and you add you media file there. You need to configure this database exactly like your current web database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This database is not added to the Publishing Target databases ( /sitecore/system/Publishing targets). In this way you avoid to override content from master database when you publish media files. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the CM server you will have a scheduler task which will run from time to time and you get the media files from UserGeneratedContent DB and you save it into master DB. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-03-21T08:54:14.647" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17604" PostTypeId="2" ParentId="14601" CreationDate="2019-03-21T09:29:58.120" Score="-1" Body="&lt;p&gt;Solution, which worked for me in similar issue (empty &quot;total sent&quot; statistics in EXM on scaled environment), but in Sitecore 8.2 was to enable on CM server: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.Database.ScaledCM.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Analytics.Tracking.Aggregation.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;according to &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/enable-the-interaction-registry-on-a-content-management-server.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/enable-the-interaction-registry-on-a-content-management-server.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2492" LastActivityDate="2019-03-21T09:29:58.120" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17605" PostTypeId="2" ParentId="17598" CreationDate="2019-03-21T09:45:04.260" Score="1" Body="&lt;p&gt;Yep, you can. I normally do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just be aware of this; I've been in one situation in the past where additional languages were added on a higher environment - which would mess things up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But go ahead and do it, just make sure this is coordinated and known.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-03-21T09:45:04.260" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17606" PostTypeId="1" AcceptedAnswerId="17617" CreationDate="2019-03-21T10:20:39.850" Score="1" ViewCount="970" Body="&lt;p&gt;I have a carousel component in our website. We are creating items for each carousel under a particular folder item. I am using this folder item as data source for the rendering component. We changed the carousel and try to publish the page item in experience editor with related items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is publishing the parent folder item and not the children items of the folder items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read it in an article that Sitecore only publishes the items which are directly related to published items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to publish the child items of the datasource item.&lt;/p&gt;&#xA;" OwnerUserId="4644" LastEditorUserId="73" LastEditDate="2019-03-21T18:35:14.457" LastActivityDate="2019-03-21T18:35:14.457" Title="How can I publish all the children elements of particular datasource?" Tags="|publishing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17608" PostTypeId="2" ParentId="17606" CreationDate="2019-03-21T12:54:46.000" Score="2" Body="&lt;p&gt;This is a common problem with datasources that rely on child items of the datasource. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best way I have found to resolve this, is by either running an &lt;code&gt;Incremental&lt;/code&gt; publish on the site, or changing the workflow to run scheduled publishes.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Incremental Publish&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If your content editors need to run ad-hock publishes, an incremental publish will catch everything in the publish queue. That is everything that has been edited since the last publish was run. So even tho the child items might not be picked up by the related items, because a content editor has changed them, they would be in the publish queue and this will pick them up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The downside is that, ad-hoc publishes clear the entire html cache every time. So this might not be the best option if you have a lot of edits happening all the time.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Scheduled Publish&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A better option might be to use something like &lt;a href=&quot;https://github.com/akshaysura/Sitecron&quot; rel=&quot;nofollow noreferrer&quot;&gt;SiteCron&lt;/a&gt; to schedule site wide incremental or smart publishes at specific times. Say, every hour or twice a day. That might lessen the amount of cache clears that happen on the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, if you don't do that many edits, ad-hoc publishes might be fine. But make sure you do an incremental publish of the site, and not a related publish of the item so that it catches all the datasource item children.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-21T12:54:46.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17609" PostTypeId="1" AcceptedAnswerId="17610" CreationDate="2019-03-21T13:41:06.017" Score="2" ViewCount="399" Body="&lt;p&gt;I have 2 templates: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Template A: PersonalTemplate&lt;/li&gt;&#xA;&lt;li&gt;Template B: PrivateTemplate&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Here I want to inherit Template B in Template A using the PowerShell script. &lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="70" LastEditDate="2019-03-21T13:52:54.087" LastActivityDate="2019-03-21T13:52:54.087" Title="Inherit child template to the parent template using Powershell" Tags="|powershell-extensions|templates|inheritance|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17610" PostTypeId="2" ParentId="17609" CreationDate="2019-03-21T13:50:44.373" Score="6" Body="&lt;p&gt;Sitecore PowerShell has a function called &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/common/add-basetemplate&quot; rel=&quot;noreferrer&quot;&gt;&lt;code&gt;Add-BaseTemplate&lt;/code&gt;&lt;/a&gt;. This function can add one or more base templates to a template item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are multiple ways to call it, but the simplest is to get both template items and then pass those to the function:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Add-BaseTemplate -Item &amp;lt;Item&amp;gt; -TemplateItem &amp;lt;TemplateItem[]&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can use that to add &lt;code&gt;Template B&lt;/code&gt; to the base templates for &lt;code&gt;Template A&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$templateB = Get-Item master:\templates\path\to\TemplateB&#xA;$templateA = Get-Item master:\templates\path\to\TemplateA&#xA;&#xA;Add-BaseTemplate -Item $templateA -TemplateItem $templateB&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-21T13:50:44.373" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17611" PostTypeId="1" CreationDate="2019-03-21T14:17:38.860" Score="1" ViewCount="644" Body="&lt;p&gt;I was looking up what the competencies are for Sitecore 9.1 examination and stumbled upon &lt;a href=&quot;https://sitecore.freshdesk.com/support/solutions/articles/16000088542-sitecore-9-1-certified-platform-associate-developer-exam-study-guide&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blog&lt;/a&gt; where one of the stated competencies under Templates is as followed:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;State the importance of setting up icons on data templates&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/XqCX3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would this be, other than better usability by easier recognition of template types?&lt;/p&gt;&#xA;" OwnerUserId="4927" LastActivityDate="2019-03-21T14:17:38.860" Title="What is the importance of setting up icons on templates" Tags="|templates|" AnswerCount="0" CommentCount="4" ClosedDate="2019-03-21T14:31:32.980" ContentLicense="CC BY-SA 4.0" />
  <row Id="17612" PostTypeId="1" AcceptedAnswerId="17613" CreationDate="2019-03-21T14:26:10.310" Score="3" ViewCount="3281" Body="&lt;p&gt;I'm trying to &lt;strong&gt;get this given node value from the Sitecore configuration&lt;/strong&gt; (Sitecore 9 instance).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My first approach was to &lt;strong&gt;read the configuration file&lt;/strong&gt; on which this value is defined. Pretty standard...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that I just realized that a customer can &lt;strong&gt;add another configuration file to patch this value&lt;/strong&gt;, what would make my first approach return a wrong value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way of reading the final computed Sitecore configuration (what we see in the &lt;code&gt;/showconfig.aspx&lt;/code&gt;)?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-03-21T18:42:34.930" LastActivityDate="2024-03-19T02:34:24.463" Title="How can I access the Sitecore 9 configuration values programmatically?" Tags="|configuration|site-configuration|settings|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17613" PostTypeId="2" ParentId="17612" CreationDate="2019-03-21T14:26:10.310" Score="5" Body="&lt;p&gt;After struggling with this for a while, finally found the answers.&lt;/p&gt;&#xA;&lt;p&gt;If what you are trying to read is &lt;strong&gt;really a setting&lt;/strong&gt; following the below format:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;THE_NAME_GOES_HERE&amp;quot; value=&amp;quot;THE_VALUE_GOES_HERE&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You can use the &lt;code&gt;Sitecore.Configuration.Settings.GetSetting(p_Name, p_DefaultValue)&lt;/code&gt; method to read it.&lt;/p&gt;&#xA;&lt;p&gt;However, if what you are trying to read a &lt;strong&gt;Sitecore config node&lt;/strong&gt;, the above method won't work.&lt;/p&gt;&#xA;&lt;p&gt;In this case, you should aim to use the &lt;code&gt;Factory.GetConfigNode(p_XmlPath)&lt;/code&gt; method and then grab the node's value.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="5094" LastEditDate="2024-03-19T02:34:24.463" LastActivityDate="2024-03-19T02:34:24.463" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17614" PostTypeId="2" ParentId="17291" CreationDate="2019-03-21T15:00:04.047" Score="1" Body="&lt;p&gt;You need to create a separate extension method for each custom token that you have. The &lt;code&gt;GetMyCustomFacetValue&lt;/code&gt; method doesn't receive a &lt;code&gt;currentToken&lt;/code&gt; parameter, that's why it cannot cater for all of the custom tokens that are related to the &lt;code&gt;MyCustomFacet&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, what you should be doing instead is something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class FacetExtensions&#xA;    {&#xA;        public static string GetFoo (this MyCustomFacet facet)&#xA;        {&#xA;          return facet.Foo;&#xA;        }&#xA;&#xA;        public static string GetBar (this MyCustomFacet facet)&#xA;        {&#xA;          return facet.Bar;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another option is to use pass a &lt;code&gt;Func&amp;lt;MyCustomFacet, object&amp;gt;&lt;/code&gt; to the &lt;code&gt;RecipientPropertyTokenBinding.Build&lt;/code&gt; method, this will save you couple of lines of code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RecipientPropertyTokenBinding.Build&amp;lt;MyCustomFacet&amp;gt;(new Token(&quot;foo&quot;), myCustomFacet =&amp;gt; myCustomFacet.Foo, null),&#xA;RecipientPropertyTokenBinding.Build&amp;lt;MyCustomFacet&amp;gt;(new Token(&quot;bar&quot;), myCustomFacet =&amp;gt; myCustomFacet.Bar, null),&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5211" LastEditorUserId="5211" LastEditDate="2019-03-22T11:34:41.427" LastActivityDate="2019-03-22T11:34:41.427" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17615" PostTypeId="1" CreationDate="2019-03-21T15:03:00.440" Score="4" ViewCount="2266" Body="&lt;p&gt;Sitecore 9.0 initial release&#xA;When I go to the Sitecore admin backend, I get this error when trying to load &lt;code&gt;xDB&lt;/code&gt; information from &lt;code&gt;xConnect&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;Exception: System.InvalidOperationException&#xA;Message: Ensure definition type did not complete successfully. StatusCode: 401, ReasonPhrase: 'Invalid certificate', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:&#xA;{&#xA;  Pragma: no-cache&#xA;  Cache-Control: no-cache&#xA;  Date: Thu, 21 Mar 2019 14:50:13 GMT&#xA;  Server: Microsoft-IIS/10.0&#xA;  X-AspNet-Version: 4.0.30319&#xA;  X-Powered-By: ASP.NET&#xA;  Content-Length: 0&#xA;  Expires: -1&#xA;}&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.DataStorage.ReferenceDataClientDictionary.EnsureDefinitionType(String definitionTypeName)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.DataStorage.ReferenceDataClientDictionary.LoadAs[T](Object key)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.AverageCounterExtensions.MeasureMilliseconds[T](AverageCounter counter, Func`1 func)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.ReferenceDataDictionary`2.Get(TKey key, LookupStrategy strategy)&#xA;   at Sitecore.Analytics.Lookups.GeoIpManager.GetDataFromDatabase(GeoIpHandle geoIpEntry)&lt;/pre&gt;&#xA;&lt;p&gt;However, when I visit my site &lt;code&gt;https://sos_sc90.xconnect/&lt;/code&gt; it returns no errors for me and seems to be working.&lt;/p&gt;&#xA;&lt;p&gt;I have added the websites application pool permission to the certificate. What am I missing here? I also double-checked the thumbprint in &lt;code&gt;connectionstrings.config&lt;/code&gt; and in &lt;code&gt;xConnect&lt;/code&gt; app settings.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Update 22/03/2019&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Just to clarify the steps I took to install the certificates.&lt;/p&gt;&#xA;&lt;p&gt;I ran this PowerShell command to install the certificates:&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;$certParams = @{&#xA;    Path = &amp;quot;C:\Development\Sitecore 9.0\xconnect-createcert.json&amp;quot;&#xA;    CertificateName = &amp;quot;sos_sc90.xconnect&amp;quot;&#xA;}&#xA;&#xA;Install-SitecoreConfiguration @certParams -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Then I went to IIS and selected the new certificate for my xConnect site.&lt;/li&gt;&#xA;&lt;li&gt;I verified that my xConnect site is working (it is showing timestamp).&lt;/li&gt;&#xA;&lt;li&gt;I went to local computer certificates -&amp;gt; personal and granted access to xConnect and Sitecore IIS sites on &lt;code&gt;sos_sc90.xconnect&lt;/code&gt; certificate.&lt;/li&gt;&#xA;&lt;li&gt;I copied the thumbprint ID and changed it in the xConnect site &lt;code&gt;AppSettings.config&lt;/code&gt; and in Sitecore site &lt;code&gt;ConnectionStrings.config&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Where do I go wrong with this?&lt;/p&gt;&#xA;" OwnerUserId="4603" LastEditorUserId="4817" LastEditDate="2021-06-10T09:25:08.610" LastActivityDate="2024-02-25T17:06:50.880" Title="xConnect returns invalid certificate from website query" Tags="|xconnect|certificate|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17616" PostTypeId="2" ParentId="16148" CreationDate="2019-03-21T16:59:33.407" Score="0" Body="&lt;p&gt;The actual logic for where contacts are enrolled into Automation Plans is contained in the &lt;code&gt;Sitecore.Marketing.Automation.Client.dll&lt;/code&gt;.  The name space to look for &lt;code&gt;Sitecore.Marketing.Automation.Client.Controllers.AutomationPlansController.Enroll&lt;/code&gt; which calls a &lt;strong&gt;&lt;em&gt;private&lt;/em&gt;&lt;/strong&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;BatchSeedPlanRequestResult planRequestResult = await automationPlansController.EnrollFromContactList(campaignId, enrollContactsFromListViewModel.ContactListId).ConfigureAwait(false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That private method does the work of seeding the list with contacts from a list.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-03-21T16:59:33.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17617" PostTypeId="2" ParentId="17606" CreationDate="2019-03-21T17:58:54.440" Score="1" Body="&lt;p&gt;What you could try is to create new event handler for &lt;code&gt;publish:itemProcessed&lt;/code&gt; event and check if the item which was published is the datasource folder. If the answer is &lt;code&gt;yes&lt;/code&gt;, publish all the child items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;publish:itemProcessed&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Your.Assembly.Namespace.ClassName, Your.Assembly&quot; method=&quot;PublishDatasourceChildren&quot; /&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void PublishDatasourceChildren(object sender, EventArgs args)&#xA;{&#xA;    var itemUri = ((Sitecore.Publishing.Pipelines.PublishItem.ItemProcessedEventArgs)args).Context.ItemUri;&#xA;    var item = Database.GetItem(itemUri);&#xA;&#xA;    if (item != null /*&amp;amp;&amp;amp; extra checks here*/)&#xA;    {&#xA;        var targetDatabase = Database.GetDatabase(&quot;web&quot;); // maybe you need to change this one?&#xA;&#xA;        foreach (Item child in item.Children)&#xA;        {&#xA;            var publishOptions = new PublishOptions(item.Database, targetDatabase, PublishMode.SingleItem, item.Language, DateTime.Now);&#xA;            var publisher = new Publisher(publishOptions);&#xA;            publisher.Options.RootItem = child;&#xA;            publisher.Options.Deep = false;&#xA;            publisher.Publish();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-21T17:58:54.440" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17618" PostTypeId="1" CreationDate="2019-03-21T18:22:48.303" Score="1" ViewCount="158" Body="&lt;p&gt;We have or going to have numerous users who will be able to access the site at different levels of the content tree, but the current link to the experience editor is just &lt;a href=&quot;https://[domain]/?sc_mode=edit&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://[domain]/?sc_mode=edit&lt;/a&gt;.  I see where this is set in the core database, but is there any way to change it per user, or normally would a user simply be directed to the &quot;highest&quot; folder of the site they have permissions for? (We are having another issue with the experience editor showing an error when we access it for a specific page for a non-admin, but I think that may have to do with a coding issue on a layout).&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-03-21T18:52:40.987" Title="Make link to experience editor in launchpad different for different users" Tags="|experience-editor|permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17619" PostTypeId="2" ParentId="17618" CreationDate="2019-03-21T18:52:40.987" Score="4" Body="&lt;p&gt;Easiest way I can think of would be to create multiple copies of the button, change the target url in each link to your desired target. Then set the security on those buttons for the roles that should get that &quot;version&quot; of the button. So deny view on the roles that shouldn't see it, and allow the view for the role that should.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you add the users in the correct roles, they would get a button that is customized to their usage.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-03-21T18:52:40.987" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17620" PostTypeId="2" ParentId="15380" CreationDate="2019-03-21T20:02:14.797" Score="6" Body="&lt;p&gt;Chiming in here to provide a work-around.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember: You can always invoke C# directly from Powershell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance, this is valid powershell: &lt;code&gt;[Sitecore.Diagnostics.Log]::Info(&quot;Test&quot;, &quot;MyCustomLogger&quot;);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which assumes that you have something like this logger set up in MyApp.Logging.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;appender name=&quot;MyCustomLoggerAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;        &amp;lt;file value=&quot;$(dataFolder)/logs/MyCustomLogger.log.{date}.txt&quot; /&amp;gt;&#xA;        &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;          &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;      &amp;lt;/appender&amp;gt;&#xA;      &amp;lt;logger name=&quot;MyCustomLogger&quot; additivity=&quot;false&quot;&amp;gt;&#xA;        &amp;lt;level value=&quot;DEBUG&quot; /&amp;gt;&#xA;        &amp;lt;appender-ref ref=&quot;MyCustomLoggerAppender&quot; /&amp;gt;&#xA;      &amp;lt;/logger&amp;gt;&#xA;    &amp;lt;/log4net&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="430" LastActivityDate="2019-03-21T20:02:14.797" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17621" PostTypeId="1" CreationDate="2019-03-21T20:25:57.287" Score="1" ViewCount="741" Body="&lt;p&gt;I am indexing Sitecore Commerce 9.0.2 sellable items through a regular &lt;code&gt;SitecoreItemCrawler&lt;/code&gt;. The HabitatHome demo sellable items are in my content tree at &lt;code&gt;/sitecore/content/Habitat Sites/Habitat Home/home/Catalogs/Habitat_Master&lt;/code&gt;. Items synchronized there from Sitecore Commerce do not have a any price field, not even a list price. Thus, I am trying to build a computed index field to get the list price from Sitecore Commerce.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know Sitecore Commerce APIs have a &lt;code&gt;GetBulkPrices()&lt;/code&gt; method that returns the information I want. I can call it using Postman with the &quot;CatalogAPISamples/Catalog - Pricing/Get bulk prices&quot; request:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;URL: &lt;a href=&quot;https://localhost:5000/api/GetBulkPrices()&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:5000/api/GetBulkPrices()&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Method: PUT&lt;/li&gt;&#xA;&lt;li&gt;HTTP Headers&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ShopName: CommerceEngineDefaultStorefront&lt;/li&gt;&#xA;&lt;li&gt;ShopperId: ShopperId&lt;/li&gt;&#xA;&lt;li&gt;Language: en-US&lt;/li&gt;&#xA;&lt;li&gt;Currency: USD&lt;/li&gt;&#xA;&lt;li&gt;Environment: HabitatAuthoring&lt;/li&gt;&#xA;&lt;li&gt;GeoLocation: IpAddress=1.0.0.0&lt;/li&gt;&#xA;&lt;li&gt;Authorization: Bearer + Access_Token&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Body: &lt;code&gt;{ &quot;itemIds&quot;: [&quot;habitat_master|productSku|&quot;] }&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;However, I cannot find the way to call this method from Sitecore code without crafting my own HTTP request. I have looked in &lt;code&gt;Sitecore.Commerce.Connect&lt;/code&gt; and other places without success. I have tried the following approaches:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;PricingServiceProvider + GetProductPricesRequest&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PricingServiceProvider pricingServiceProvider = new PricingServiceProvider();&#xA;GetProductPricesRequest getProductPricesRequest = new GetProductPricesRequest(productSku);&#xA;getProductPricesRequest.SetShopName(&quot;CommerceEngineDefaultStorefront&quot;);&#xA;GetProductPricesResult productPricesResult = pricingServiceProvider.GetProductPrices(getProductPricesRequest);&#xA;return productPricesResult.Prices.ContainsKey(&quot;List&quot;) ? productPricesResult.Prices[&quot;List&quot;].Amount.ToString(CultureInfo.InvariantCulture) : null;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It ends with this exception that does not provide much insight:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #4 16:16:43 ERROR An exception occurred while trying to process the item {E1E4CDD3-01C1-0854-7EBC-6F64C1A01F1F}: Default Control Panel Storefront&#xA;Exception: System.InvalidOperationException&#xA;Message: Default Control Panel Storefront&#xA;Source: Sitecore.Commerce.XA.Foundation.Common&#xA;   at Sitecore.Commerce.XA.Foundation.Common.Models.CommerceStorefront.get_ControlPanel()&#xA;   at Sitecore.Commerce.XA.Foundation.Common.Models.CommerceStorefront.get_CurrencyConfiguration()&#xA;   at Sitecore.Commerce.XA.Foundation.Common.Models.CommerceStorefront.get_CurrencySet()&#xA;   at Sitecore.Commerce.XA.Foundation.Common.Models.CommerceStorefront.get_DefaultCurrency()&#xA;   at Sitecore.Commerce.XA.Foundation.Common.Providers.CurrencyProvider.GetSelectedCurrency()&#xA;   at Sitecore.Commerce.Services.ServiceProvider.RunPipeline[TRequest,TResult](String pipelineName, TRequest request)&#xA;   at Sitecore.HabitatHome.Foundation.CoveoIndexing.ComputedFields.ListPriceComputedField.GetPriceFromApi(IItem p_Item, String productSku)&#xA;   at Sitecore.HabitatHome.Foundation.CoveoIndexing.ComputedFields.ListPriceComputedField.GetListPrice(IItem p_Item)&#xA;   at Sitecore.HabitatHome.Foundation.CoveoIndexing.ComputedFields.ListPriceComputedField.ComputeFieldValue(IIndexable p_Indexable)&#xA;   at Coveo.SearchProvider.Documents.AbstractDocumentBuilder.AddComputedFields()&#xA;   at Coveo.SearchProvider.Documents.DocumentFactory.&amp;lt;&amp;gt;c__DisplayClass3_0.&amp;lt;CreateIndexableItem&amp;gt;b__3()&#xA;   at Coveo.SearchProvider.Documents.AbstractDocumentFactory.TryBuildDocument(Action p_Action, IIndexable p_Indexable)&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;PricingServiceProvider + GetProductBulkPricesRequest&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PricingServiceProvider pricingServiceProvider = new PricingServiceProvider();&#xA;GetProductBulkPricesRequest getProductBulkPricesRequest = new GetProductBulkPricesRequest(new List&amp;lt;string&amp;gt; { productSku });&#xA;getProductBulkPricesRequest.SetShopName(&quot;CommerceEngineDefaultStorefront&quot;);&#xA;GetProductBulkPricesResult productBulkPricesResult = pricingServiceProvider.GetProductBulkPrices(getProductBulkPricesRequest);&#xA;Price listPrice = productBulkPricesResult.Prices[&quot;List&quot;];&#xA;if (listPrice != null) {&#xA;    return listPrice.Amount.ToString(CultureInfo.InvariantCulture);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It ends with a very similar exception than the first approach.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;PricingManager.GetProductPrices()&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IConnectServiceProvider connectServiceProvider = new ConnectServiceProvider();&#xA;IItemTypeProvider itemTypeProvider = new ItemTypeProvider();&#xA;ISiteContext siteContext = new SiteContext(itemTypeProvider) {&#xA;    CurrentCatalogItem = p_Item.SitecoreItem&#xA;};&#xA;PricingServiceProvider pricingServiceProvider = new PricingServiceProvider();&#xA;IPricingManager pricingManager = new PricingManager(connectServiceProvider) {&#xA;    PricingServiceProvider = pricingServiceProvider&#xA;};&#xA;IModelProvider modelProvider = new ModelProvider();&#xA;IStorefrontUrlManager storefrontUrlManager = new StorefrontUrlManager(siteContext);&#xA;IContext defaultContext = new DefaultContext {&#xA;    Item = p_Item.SitecoreItem,&#xA;    Database = p_Item.SitecoreItem.Database&#xA;};&#xA;IStorefrontContext storefrontContext = new StorefrontContext(modelProvider, storefrontUrlManager, defaultContext);&#xA;ICurrencyProvider currencyProvider = new CurrencyProvider(storefrontContext, defaultContext);&#xA;CommerceStorefront commerceStorefront = new CommerceStorefront(currencyProvider, defaultContext);&#xA;ICartManager cartManager = new CartManager(connectServiceProvider);&#xA;IAccountManager accountManager = new AccountManager(connectServiceProvider, cartManager, storefrontContext, modelProvider);&#xA;IVisitorContext visitorContext = new VisitorContext(accountManager);&#xA;ManagerResponse&amp;lt;GetProductPricesResult, IDictionary&amp;lt;string, Price&amp;gt;&amp;gt; managerResponse = pricingManager.GetProductPrices(commerceStorefront, visitorContext, HABITAT_CATALOG_NAME, productSku, false, &quot;List&quot;);&#xA;return managerResponse.Result.ContainsKey(&quot;List&quot;) ? managerResponse.Result[&quot;List&quot;].Amount.ToString(CultureInfo.InvariantCulture) : null;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It ends with this exception because there is no &lt;code&gt;HttpContext&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Commerce.XA.Foundation.Common&#xA;  at Sitecore.Commerce.XA.Foundation.Common.Context.SiteContext.set_CurrentCatalogItem(Item value)&#xA;  at Sitecore.HabitatHome.Foundation.CoveoIndexing.ComputedFields.ListPriceComputedField.GetPriceFromApi(IItem p_Item, String productSku)&#xA;  at Sitecore.HabitatHome.Foundation.CoveoIndexing.ComputedFields.ListPriceComputedField.GetListPrice(IItem p_Item)&#xA;  at Sitecore.HabitatHome.Foundation.CoveoIndexing.ComputedFields.ListPriceComputedField.ComputeFieldValue(IIndexable p_Indexable)&#xA;  at Coveo.SearchProvider.Documents.AbstractDocumentBuilder.AddComputedFields()&#xA;  at Coveo.SearchProvider.Documents.DocumentFactory.&amp;lt;&amp;gt;c__DisplayClass3_0.&amp;lt;CreateIndexableItem&amp;gt;b__3()&#xA;  at Coveo.SearchProvider.Documents.AbstractDocumentFactory.TryBuildDocument(Action p_Action, IIndexable p_Indexable)&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;All of my approaches seems to require an &lt;code&gt;HttpContext&lt;/code&gt; that is a request to the storefront site matching a Sitecore site element.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to call the Sitecore Commerce Engine to get the price of a product without a Sitecore site context?&lt;/p&gt;&#xA;" OwnerUserId="171" LastActivityDate="2021-02-26T19:28:06.383" Title="Getting a Sitecore Commerce Sellable Item List Price at Indexing Time" Tags="|sitecore-commerce|indexing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17622" PostTypeId="1" CreationDate="2019-03-21T20:43:15.520" Score="3" ViewCount="1354" Body="&lt;p&gt;I have a Sitecore 9.1 instance in a PaaS environment in Azure. On the CM, when I try to log in to Sitecore, I get to the log in screen, I log in successfully, when it tries to redirect me back to Sitecore, it just bounces me right back to the log in screen. I see the Logout link in the top right, so I did get logged in, but I cant get into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Redirect hops after log in look like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://mycmhost/identity/externallogin?authenticationType=SitecoreIdentityServer&amp;amp;ReturnUrl=%2fidentity%2fexternallogincallback%3fReturnUrl%3d%252fsitecore%252fshell%253fsc_lang%253den%26sc_site%3dshell%26authenticationSource%3dDefault&amp;amp;sc_site=shell&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mycmhost/identity/externallogin?authenticationType=SitecoreIdentityServer&amp;amp;ReturnUrl=%2fidentity%2fexternallogincallback%3fReturnUrl%3d%252fsitecore%252fshell%253fsc_lang%253den%26sc_site%3dshell%26authenticationSource%3dDefault&amp;amp;sc_site=shell&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;gets sent to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://myidentityserver/connect/authorize?client_id=etc&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://myidentityserver/connect/authorize?client_id=etc&lt;/a&gt;...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;THEN&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://myidentityserver/connect/authorize?client_id=etc&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://myidentityserver/connect/authorize?client_id=etc&lt;/a&gt;...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;gets sent to &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://myidentityserver/account/login?client_id=etc&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://myidentityserver/account/login?client_id=etc&lt;/a&gt;...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure whats causing this post log in redirect back to the identity server.&lt;/p&gt;&#xA;" OwnerUserId="341" LastActivityDate="2019-10-11T17:02:35.387" Title="Sitecore 9.1 forced back to log in screen" Tags="|identity-server|" AnswerCount="1" CommentCount="3" ClosedDate="2019-10-11T17:04:18.230" ContentLicense="CC BY-SA 4.0" />
  <row Id="17624" PostTypeId="1" CreationDate="2019-03-21T21:36:46.663" Score="4" ViewCount="1788" Body="&lt;p&gt;I am converting my custom index fields from Sitecore 8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Previously, I would declare them like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;myCustomIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;documentOptions&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;parsed_content_keywords&quot; returnType=&quot;customStringCol&quot; storageType=&quot;yes&quot; multiValued=&quot;true&quot;&amp;gt;&#xA;                MyProject.Search.ComputedFields.ParsedContentKeywords, MyProject.Search&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/myCustomIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And &lt;strong&gt;customStringCol&lt;/strong&gt; is declared like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;myCustomIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;customStringCol&quot;     type=&quot;System.Collections.Generic.List`1[System.String]&quot; fieldNameFormat=&quot;{0}_csm&quot; multiValued=&quot;true&quot; indexed=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;            &amp;lt;/typeMatches&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;        &amp;lt;/myCustomIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.1 and Solr 4.10x, this configuration results in the index working correctly.&#xA;In Sitecore 9.1 and Solr 7.2.1, this results in the Solr log outputting the following SolrException:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR: [doc=sitecore://web/{c6ccedd5-28a9-4707-8717-7482a48b538f}?lang=en&amp;amp;ver=1&amp;amp;ndx=sitecore_web_index] unknown field 'parsed_content_keywords_csm'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I create a custom index in Sitecore 9.1 and Solr 7.2.1? Could someone share a sample config similar to the one I posted above that works in this scenario?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-03-22T12:47:26.797" LastActivityDate="2022-12-04T22:01:00.100" Title="Custom Solr Fields in Sitecore 9 and Solr 7.2.1" Tags="|solr|indexing|upgrade|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17625" PostTypeId="2" ParentId="14029" CreationDate="2019-03-21T22:11:34.047" Score="0" Body="&lt;p&gt;You would also need to clear the NHibernate caches. So, run this code and you should be all set. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;// uCommerce NHibernate Cahce&#xA;ObjectFactory.Instance.Resolve().ClearCache();&lt;/p&gt;&#xA;&#xA;&lt;p&gt;// Clear product data provider cache&#xA;var sitecoreContext = ObjectFactory.Instance.Resolve();                            sitecoreContext.DataProviderMaster.DataChangedPleaseReinitialize();&lt;/p&gt;&#xA;" OwnerUserId="1301" LastActivityDate="2019-03-21T22:11:34.047" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17626" PostTypeId="1" CreationDate="2019-03-22T04:52:20.167" Score="0" ViewCount="75" Body="&lt;p&gt;In one of my applications, I am running a scheduled import process on Sitecore CM. Scheduled job is set to run every 30 minutes. Whenever the sync runs, I update a root item's field with the sync start timestamp and read it in next schedule to use it as a reference for obtaining the records modified in external datasource post that sync timestamp&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are some logs&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;1 &#xA;ManagedPoolThread #16 07:18:57 INFO  Products last sync date (UTC) on /sitecore/Products Repo is : 3/21/2019 1:48:03 AM&#xA;2 &#xA;ManagedPoolThread #16 07:18:57 INFO  Retrieving product import process jobs after 3/21/2019 1:48:03 AM&#xA;3 &#xA;ManagedPoolThread #16 07:18:57 INFO  No product import process job ran after 3/21/2019 1:48:03 AM&#xA;4 &#xA;ManagedPoolThread #16 07:18:57 INFO  ProductSync not required as there are no XML imports ran after last sync date (UTC): 3/21/2019 1:48:03 AM&#xA;5 &#xA;ManagedPoolThread #16 07:18:57 INFO  Product Repo Last Sync Date time updated to 20190321T071857Z&#xA;6 &#xA;ManagedPoolThread #2 07:48:59 INFO  Products last sync date (UTC) on /sitecore/Products Repo is : 3/21/2019 4:48:26 AM&#xA;7 &#xA;ManagedPoolThread #2 07:48:59 INFO  Retrieving product import process jobs after 3/21/2019 4:48:26 AM&#xA;8 &#xA;ManagedPoolThread #2 07:48:59 INFO  No product import process job ran after 3/21/2019 4:48:26 AM&#xA;9 &#xA;ManagedPoolThread #2 07:48:59 INFO  ProductSync not required as there are no XML imports ran after last sync date (UTC): 3/21/2019 4:48:26 AM&#xA;10 &#xA;ManagedPoolThread #2 07:48:59 INFO  Product Repo Last Sync Date time updated to 20190321T074859Z&#xA;11 &#xA;ManagedPoolThread #19 08:19:04 INFO  Products last sync date (UTC) on /sitecore/Products Repo is : 3/21/2019 12:17:52 AM&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As shown in logs above, at the end of schedule, I update a field in &lt;code&gt;/sitecore/products repo&lt;/code&gt; with UTC datetime generated from &lt;code&gt;DateUtil.IsoNow&lt;/code&gt;that internally uses &lt;code&gt;DateTime.UtcNow&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g. &lt;code&gt;ManagedPoolThread #16 07:18:57 INFO  Product Repo Last Sync Date time updated to 20190321T071857Z&lt;/code&gt;after line 5. Notice how the system timestamp and DateUtil.IsoNow are close. This code is running in Azure which is by default set to use UTC server time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when the scheduled job ran next time, I expected the date retrieved should be 3/21/2019 07:18:57 AM UTC. But the actual date retrieved by Sitecore is 3/21/2019 4:48:26 AM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have only 1 CM and before I read the item, I am wrapping the call in Database cache disabler. I couldn't neither understand this odd behavior nor could find a pattern that can explain this nature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking for some ideas and direction on how this can be corrected.&lt;/p&gt;&#xA;" OwnerUserId="773" LastActivityDate="2019-03-22T04:52:20.167" Title="Sitecore DateTime retrieval error" Tags="|scheduled-tasks|datetimepicker|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17627" PostTypeId="2" ParentId="15396" CreationDate="2019-03-22T07:19:38.753" Score="2" Body="&lt;p&gt;In case you would like to manually download the file and install it, all you need is to download the cumulative update package from dev.sitecore.net (Sitecore 9.1.0 rev. 001564 (update package for 9.x) package), open it with any zip extractor and extract the version of update package that suits your version. Then, in the Update Center, click &quot;install custom update&quot; and provide your package&lt;/p&gt;&#xA;" OwnerUserId="5270" LastActivityDate="2019-03-22T07:19:38.753" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17628" PostTypeId="1" AcceptedAnswerId="17634" CreationDate="2019-03-22T07:21:29.327" Score="0" ViewCount="1422" Body="&lt;p&gt;We have multi-site application, want to delete items which are not referencing anywhere in content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following are categories:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1) DataSource items&#xA;2) Template&#xA;3) Media items&#xA;4) Renderings&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can we do using power-shell script?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for any input.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-03-23T02:57:07.813" LastActivityDate="2019-03-23T02:57:07.813" Title="How to delete Sitecore items without reference using PowerShell script?" Tags="|powershell-extensions|broken-links|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17629" PostTypeId="1" AcceptedAnswerId="17633" CreationDate="2019-03-22T08:34:50.233" Score="0" ViewCount="509" Body="&lt;p&gt;I am using Sitecore 9.0 with SXA and have a custom Rendering that I want to add the SXA toolbox for each site that I create.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is of course possible to do this manually (as described &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/walkthrough--building-a-simple-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;), but I would like to have it automatically added to each new site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-modules-to-site-and-tenant-scaffolding.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;read&lt;/a&gt; about extending the site &amp;amp; tenant scaffolding extension possibilities, but it feels a bit heavy for my purpose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best practice to automatically add Renderings to the SXA toolbox?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-03-22T09:04:18.837" Title="Automatically adding Renderings to SXA toolbox" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17630" PostTypeId="1" CreationDate="2019-03-22T08:44:43.007" Score="-1" ViewCount="269" Body="&lt;p&gt;We are using Sitecore SXA with one global website and 6 cloned sites (regional sites). Now, client want to handle all the press releases in global website only (each press release is a separate page) in such a way they need to configure there itself which press releases can be used in regional countries as well. One approach I am thinking is to have a command to copy to regional sites with below steps&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get all regional sites list&lt;/li&gt;&#xA;&lt;li&gt;Get all press releases from global site&lt;/li&gt;&#xA;&lt;li&gt;Loop through each country and copy/update press releases specific to each country&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is there any blog similar to this explaining the steps or any other alternative approach (Sitecore Jobs probably) to handle the same?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="237" LastEditDate="2019-03-22T09:09:50.950" LastActivityDate="2019-08-19T11:03:15.420" Title="How to copy Sitecore Items from one SXA site to another programmatically?" Tags="|sxa|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17631" PostTypeId="1" CreationDate="2019-03-22T08:48:11.487" Score="1" ViewCount="640" Body="&lt;p&gt;We are using Sitecore 9.0.2 deployed in PaaS as a general recommendation from Sitecore Security Hardening Guide perspective we are supposed to do the below items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)Prevent Anonymous Users access to admin folders&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) IIS should not serve requests to .config's&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Thought is these two above mentioned Security hardening things should be done by default on the PaaS for CD since we are using Sitecore ARM Templates and CM's should still allow above two points.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So no further action is required from our side?&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="69" LastEditDate="2019-03-24T04:27:45.313" LastActivityDate="2019-03-26T09:21:19.137" Title="Security Hardening in PaaS" Tags="|security|paas|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17632" PostTypeId="2" ParentId="17630" CreationDate="2019-03-22T09:03:49.807" Score="0" Body="&lt;p&gt;You could generate a package containing the press releases and use a module like &lt;a href=&quot;https://github.com/kevinobee/Sitecore.Ship&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Ship&lt;/a&gt; to transfer and install the package on the desired Sitecore instances using code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;-- EDIT per your comment:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can setup a &lt;a href=&quot;https://doc.sitecore.com/users/sxa/15/sitecore-experience-accelerator/en/share-data-sources-and-presentation-using-the-multisite-feature.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;shared datasource&lt;/a&gt;, and persist all press releases in there. In each individual site you can make the user select which particular press releases they want to view by e.g. using categories and filter on categories or just let them make a selection from all items in the data source.&lt;/p&gt;&#xA;" OwnerUserId="4547" LastEditorUserId="4547" LastEditDate="2019-03-22T09:41:36.287" LastActivityDate="2019-03-22T09:41:36.287" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17633" PostTypeId="2" ParentId="17629" CreationDate="2019-03-22T09:04:18.837" Score="1" Body="&lt;p&gt;1)&#xA;You should really follow official best practices and create your own module and add that custom rendering there based on these instructions:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-modules-to-site-and-tenant-scaffolding.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-modules-to-site-and-tenant-scaffolding.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then add that module to your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2)&#xA;However there is quicker solution to be used only for development purposes IMHO.&#xA;Just add new Available Renderings item based on     /sitecore/templates/Foundation/Experience Accelerator/Presentation/Available Renderings/Available Renderings template. Name it &quot;Custom&quot; or something similar and in Renderings field, add your desired rendering:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EeNgJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EeNgJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will then see it in Toolbox:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MATF7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MATF7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mind that the section name is taken from where the custom rendering sits not from your item created above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use this option only when there are no rendering variants or data sources under site Data folder needed for your custom rendering!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see on picture, rendering is not usable as Rendering Variants are missing...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can duplicate this item between sites or create some Powershell script to create it for you but the best automation is to use first option ;)&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-03-22T09:04:18.837" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17634" PostTypeId="2" ParentId="17628" CreationDate="2019-03-22T09:44:03.283" Score="4" Body="&lt;p&gt;Thanks @Michael West for nice blog post.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source:&lt;/strong&gt; &lt;a href=&quot;https://gist.github.com/michaellwest/10010536&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/michaellwest/10010536&lt;/a&gt;&#xA;&lt;a href=&quot;https://michaellwest.blogspot.com/2014/10/sitecore-powershell-extensions-tip.html?_sm_au_=iVVB4RsPtStf5MfN&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://michaellwest.blogspot.com/2014/10/sitecore-powershell-extensions-tip.html?_sm_au_=iVVB4RsPtStf5MfN&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is very helpful to find out and removed unused items which may be fall in any mentioned categories in above question. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below PowerShell script is for finding media items &lt;strong&gt;without&lt;/strong&gt; reference to any other item. Please have a look.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;#&#xA;    .SYNOPSIS&#xA;        Lists all media items that are not linked to other items.&#xA;&#xA;    .NOTES&#xA;        Michael West&#xA;#&amp;gt;&#xA;&#xA;# HasReference determines if the specified item is referenced by any other item.&#xA;function HasReference {&#xA;    param(&#xA;        $Item&#xA;    )&#xA;&#xA;    $linkDb = [Sitecore.Globals]::LinkDatabase&#xA;    $linkDb.GetReferrerCount($Item) -gt 0&#xA;}&#xA;&#xA;&amp;lt;# &#xA;    Get-MediaItemWithNoReference gets all the items in the media library&#xA;    and checks to see if they have references. Each item that does not&#xA;    have a reference is passed down the PowerShell pipeline.&#xA;#&amp;gt;&#xA;function Get-MediaItemWithNoReference {&#xA;    $items = Get-ChildItem -Path &quot;master:\sitecore\media library&quot; -Recurse | &#xA;        Where-Object { $_.TemplateID -ne [Sitecore.TemplateIDs]::MediaFolder }&#xA;&#xA;    foreach($item in $items) {&#xA;        if(!(HasReference($item))) {&#xA;            $item&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;# Setup a hashtable to make a more readable script.&#xA;$props = @{&#xA;    InfoTitle = &quot;Unused media items&quot;&#xA;    InfoDescription = &quot;Lists all media items that are not linked to other items.&quot;&#xA;    PageSize = 25&#xA;}&#xA;&#xA;# Passing a hashtable to a command is called splatting. Call Show-ListView to produce&#xA;# a table with the results.&#xA;Get-MediaItemWithNoReference |&#xA;    Show-ListView @props -Property @{Label=&quot;Name&quot;; Expression={$_.DisplayName} },&#xA;        @{Label=&quot;Updated&quot;; Expression={$_.__Updated} },&#xA;        @{Label=&quot;Updated by&quot;; Expression={$_.&quot;__Updated by&quot;} },&#xA;        @{Label=&quot;Created&quot;; Expression={$_.__Created} },&#xA;        @{Label=&quot;Created by&quot;; Expression={$_.&quot;__Created by&quot;} },&#xA;        @{Label=&quot;Path&quot;; Expression={$_.ItemPath} }&#xA;&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-03-23T02:53:45.237" LastActivityDate="2019-03-23T02:53:45.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17635" PostTypeId="1" CreationDate="2019-03-22T10:15:37.700" Score="2" ViewCount="438" Body="&lt;p&gt;We have many SXA Sites and we are trying to launch a new site with our domain &lt;a href=&quot;https://domainA.info&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://domainA.info&lt;/a&gt;. We updated Host Name and Target Host Name fields on site definition item and published as well. The site is there in SXA Site manager without any conflicts but the site is not loading. We are getting the message 'The site can't be reached'. However, if we configure the same site another domain '&lt;a href=&quot;https://domainB.info&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://domainB.info&lt;/a&gt;' (a test domain), it is working fine. But, this test domain is used many times in other SXA Sites for testing. If we do not map this test domain to any of our sites, we are getting below screenshot which is not the case for our actual domain. Is that something wrong at the networking end or configuration from Sitecore end?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Domain&lt;/strong&gt;: &lt;a href=&quot;https://domainB.info&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://domainB.info&lt;/a&gt;  - working&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AxVZJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AxVZJ.png&quot; alt=&quot;Domain: https://domainB.info&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Domain&lt;/strong&gt;: &lt;a href=&quot;https://domainA.info&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://domainA.info&lt;/a&gt;  - not working&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yBTsf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yBTsf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2019-03-22T10:15:37.700" Title="Not able to load SXA Site after configuring its domain" Tags="|sxa|sitecore-client|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17637" PostTypeId="2" ParentId="16666" CreationDate="2019-03-22T12:14:59.030" Score="0" Body="&lt;p&gt;I was trying to use Solr 7.6.0 with Sitecore 8.1. This will not work, and ended up installing Solr 4.10.x.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This solved my problem.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-03-22T12:14:59.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17638" PostTypeId="2" ParentId="16666" CreationDate="2019-03-22T12:51:34.407" Score="0" Body="&lt;p&gt;This issue will resolve by enabling Sitecore.ContentSearch.Solr.Index.Analytics config file.&#xA;Enable all the config files related to solr and disable all the lucence config files in app_config/include folder&lt;/p&gt;&#xA;" OwnerUserId="4644" LastActivityDate="2019-03-22T12:51:34.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17640" PostTypeId="1" CreationDate="2019-03-22T13:01:46.597" Score="1" ViewCount="617" Body="&lt;p&gt;Acccording to the &lt;a href=&quot;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/create-an-overlay-link.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentaion&lt;/a&gt; there should be a Open in Overlay check box in the Hyperlink manager. I am running Sitecore 9.1 with SXA 1.8 and I dont see this option (screenshot attached).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know why this option is not showing in the RTE? The site is running with the Overlays option enabled. Is there any other documentation avilable supporting Overlays? I didn't find much yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h91JL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h91JL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5272" LastEditorUserId="73" LastEditDate="2019-08-06T10:09:38.130" LastActivityDate="2020-10-21T15:57:07.183" Title="Open in Overlay check box not showing" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17641" PostTypeId="1" CreationDate="2019-03-22T16:09:35.230" Score="1" ViewCount="42" Body="&lt;p&gt;&lt;strong&gt;Sitecore:&lt;/strong&gt; 9.0.2 + SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What i was trying to do:&lt;/strong&gt;&#xA;Inside a parent item 'Locations', i have multiple children items created on a common template. Each children item has a multilist field 'Location Category', as shown below.&lt;a href=&quot;https://i.stack.imgur.com/CEtj4.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CEtj4.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the page 'Locations', i have used the rendering 'Page Content'. There I am trying to write a query to read all children under 'Locations', segregated based upon the value selected for 'Location Category'. (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6899/how-do-you-display-children-of-an-item-in-a-page-list-using-sxa&quot;&gt;Idea source&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is my problem&lt;/strong&gt;: I tried to write the query in the powershell and was able to succesfully list the children but was not able to segregate on the basis of the selected value, as can be seen below.&#xA;The first query is success while the second query is giving an error.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/RnpuG.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RnpuG.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I am looking for&lt;/strong&gt;:&#xA;1. What I am doing wrong? Is using xPath along with query a bad idea?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How it is different&lt;/strong&gt;: The words 'contact' or 'us' are not in the reserved keywords. And this particular combination is getting executed succesfully in the first query. Similarly 'location', 'category' and 'work' are not in the list of reserved keywords.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me to  find out if I missing something silly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="1110" LastEditDate="2019-03-22T18:04:45.403" LastActivityDate="2019-03-22T18:04:45.403" Title="Sitecore query to segregate items based upon selected value" Tags="|sitecore-query|" AnswerCount="0" CommentCount="5" ClosedDate="2019-03-22T16:28:59.740" ContentLicense="CC BY-SA 4.0" />
  <row Id="17642" PostTypeId="1" AcceptedAnswerId="17643" CreationDate="2019-03-22T17:06:20.890" Score="4" ViewCount="479" Body="&lt;p&gt;I need to trigger goals dynamically in Sitecore from an independent web portal.&#xA;The user clicks on a button and I make a rest api call to my sitecore service&lt;/p&gt;&#xA;&#xA;&lt;p&gt;var catId= 'clothing';&lt;/p&gt;&#xA;&#xA;&lt;p&gt;var url = '&lt;a href=&quot;https://hostname/sitecore/api/ssc/itemaccess/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hostname/sitecore/api/ssc/itemaccess/&lt;/a&gt;' + catId&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get the error: Tracker.Current is not initialized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong? Can I even do it this way?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My controller code is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Route(&quot;sitecore/api/ssc/itemaccess/{catId}&quot;)]&#xA;public class TriggerGoalController : ApiController&#xA;{&#xA;    [HttpGet]&#xA;    public string Get(string catId)&#xA;    {&#xA;        try&#xA;        {&#xA;&#xA;            if (!Sitecore.Analytics.Tracker.IsActive)&#xA;            {&#xA;                Sitecore.Analytics.Tracker.StartTracking();&#xA;            }&#xA;&#xA;            if (Sitecore.Analytics.Tracker.IsActive &amp;amp;&amp;amp; Sitecore.Analytics.Tracker.Current.CurrentPage != null)&#xA;            {&#xA;&#xA;&#xA;&#xA;                var goalItem = //getGoalItem logic;&#xA;&#xA;                if (goalItem != null)&#xA;                {&#xA;&#xA;                    var goalTrigger = Sitecore.Analytics.Tracker.MarketingDefinitions.Goals[goalItem.ID.ToGuid()];&#xA;                    var goalEventData = Sitecore.Analytics.Tracker.Current.CurrentPage.RegisterGoal(goalTrigger);&#xA;                    goalEventData.Data = goalItem[goalTrigger.Name];&#xA;                    goalEventData.ItemId = goalItem.ID.ToGuid();&#xA;                    goalEventData.DataKey = goalItem.Paths.Path;&#xA;                                            Sitecore.Analytics.Tracker.Current.Interaction.AcceptModifications();&#xA;                    return goalTrigger.Name;&#xA;                }&#xA;            }&#xA;            return &quot;Something went wrong&quot;;&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            return ex.Message;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3509" LastEditorUserId="3509" LastEditDate="2019-03-22T17:11:21.697" LastActivityDate="2019-03-22T17:56:37.097" Title="Tracker.Current is not initialized when accessed from another web portal" Tags="|goals|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17643" PostTypeId="2" ParentId="17642" CreationDate="2019-03-22T17:56:37.097" Score="5" Body="&lt;p&gt;&lt;code&gt;Tracker.Current&lt;/code&gt; relies on HTTP Session Context existing.  Web API does not instantiate a Session object, thereby making Tracker completely unusable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can only use Tracker in the context of a Web Page / Controller-View Rendering. For a walkthrough on what the Tracker is doing and a full explanation on how to troubleshoot these types of issues, you can visit this blog post: &lt;a href=&quot;https://sitecorehacker.com/2017/02/12/sitecore-analytics-tracker-common-issues-and-how-to-resolve-them&quot; rel=&quot;noreferrer&quot;&gt;Analytics Tracker Common Issues and How to Resolve Them&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead, what you might want to consider is using xConnect to register the goal/interaction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Taken from Jason Wilkerson's &lt;a href=&quot;https://citizensitecore.com/2017/10/17/xconnect-adding-interactions-in-sitecore-9/&quot; rel=&quot;noreferrer&quot;&gt;great blog post&lt;/a&gt; on the subject:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var client = GetClient())&#xA;{&#xA;     var contactReference = new IdentifiedContactReference(&quot;twitter&quot;, &quot;longhorntaco&quot;);&#xA;     var contact = client.Get(contactReference, new ExpandOptions() { FacetKeys = { &quot;Personal&quot; } });&#xA;&#xA;&#xA; if (contact != null)&#xA; {&#xA;     // Item ID of the &quot;Enter Store&quot; Offline Channel at&#xA;     // /sitecore/system/Marketing Control Panel/Taxonomies/Channel/Offline/Store/Enter store&#xA;     var enterStoreChannelId = Guid.Parse(&quot;{3FC61BB8-0D9F-48C7-9BBD-D739DCBBE032}&quot;);&#xA;     var userAgent = &quot;xConnectIntro Console App&quot;;&#xA;&#xA;     var interaction = new Interaction(contact, InteractionInitiator.Contact, enterStoreChannelId, userAgent);&#xA;&#xA;     var productPurchaseOutcomeId = Guid.Parse(&quot;{9016E456-95CB-42E9-AD58-997D6D77AE83}&quot;);&#xA;     var outcome = new Outcome(productPurchaseOutcomeId, DateTime.UtcNow, &quot;USD&quot;, 42.95m);&#xA;&#xA;     interaction.Events.Add(outcome);&#xA;&#xA;     client.AddInteraction(interaction);&#xA;     client.Submit();&#xA; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-03-22T17:56:37.097" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17644" PostTypeId="1" AcceptedAnswerId="17645" CreationDate="2019-03-22T18:28:04.320" Score="2" ViewCount="123" Body="&lt;p&gt;We are on Sitecore 9.0.2 upgraded scaled instance. Since we don’t have plans to use EXM module hence we disabled it. After disabling we are getting the following frequent exception in the logs: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: Dimension could not be resolved for for dimension id: b459a0ca-9f43-4ac1-8e6d-549e2a3de674&#xA;Source: Sitecore.ExperienceAnalytics.Aggregation&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.get_Dimension()&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.GetData(IVisitAggregationContext context)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(IInteractionAggregationContext context, IEnumerable`1 segments)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Though nothing looks broken on the UI but the logs files are flooded with these exceptions. What are we missing here?&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2019-03-22T18:30:42.853" Title="Disabling EXM throws exception in logs about Dimension ID b459a0ca-9f43-4ac1-8e6d-549e2a3de674" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17645" PostTypeId="2" ParentId="17644" CreationDate="2019-03-22T18:30:42.853" Score="1" Body="&lt;p&gt;Raising a Sitecore support ticket, we came to know that it is knows bug on Sitecore 9.0.2 and provided a patch. Please download the patch from: &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.215205&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.215205&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not a big fan of patching, stop both of your xConnect services and execute the SQL Script below on the ReferenceData Table. The first part will test that the ID’s are correct. You should get 10 results. The last part deletes the EXM definitions. Remember to set workflow state to “Workflows/Experience Analytics Segment/Inactive” on the items under “/sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions/ExM/[ParentItem]” to avoid the definitions to come back in the database. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT * FROM [xdb_refdata].[DefinitionMonikers]&#xA;  WHERE Moniker like '%a28b7ea2%' &#xA;  or Moniker like '%0ec316ba%'&#xA;  or Moniker like '%0c385039%'&#xA;  or Moniker like '%0fc2e978%'&#xA;  or Moniker like '%605915a5%'&#xA;  or Moniker like '%c1745f34%'&#xA;  or Moniker like '%06b603c0%'&#xA;  or Moniker like '%1f031117%'&#xA;  or Moniker like '%7558fc89%'&#xA;  or Moniker like '%399d686d%'&#xA;&#xA;&#xA;DELETE FROM[xdb_refdata].[Definitions]&#xA;WHERE ID in (SELECT ID FROM [xdb_refdata].[DefinitionMonikers]&#xA;  WHERE Moniker like '%a28b7ea2%' or Moniker like '%0ec316ba%' or Moniker like '%0c385039%' or Moniker like '%0fc2e978%' or Moniker like '%605915a5%' or Moniker like '%c1745f34%' or Moniker like '%06b603c0%' or Moniker like '%1f031117%'&#xA;  or Moniker like '%7558fc89%' or Moniker like '%399d686d%')&#xA;&#xA;DELETE FROM [xdb_refdata].[DefinitionMonikers]&#xA;WHERE ID  in (SELECT ID FROM [xdb_refdata].[DefinitionMonikers]&#xA;  WHERE Moniker like '%a28b7ea2%' or Moniker like '%0ec316ba%' or Moniker like '%0c385039%' or Moniker like '%0fc2e978%' or Moniker like '%605915a5%' or Moniker like '%c1745f34%' or Moniker like '%06b603c0%' or Moniker like '%1f031117%'&#xA;  or Moniker like '%7558fc89%' or Moniker like '%399d686d%')&#xA;&#xA;DELETE FROM [xdb_refdata].[DefinitionCultures]&#xA;WHERE ID  in (SELECT ID FROM [xdb_refdata].[DefinitionMonikers]&#xA;  WHERE Moniker like '%a28b7ea2%' or Moniker like '%0ec316ba%' or Moniker like '%0c385039%' or Moniker like '%0fc2e978%' or Moniker like '%605915a5%' or Moniker like '%c1745f34%' or Moniker like '%06b603c0%' or Moniker like '%1f031117%'&#xA;  or Moniker like '%7558fc89%' or Moniker like '%399d686d%')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Visit this blog post for more details: &lt;a href=&quot;https://solvingsitecore.wordpress.com/2018/09/24/segmentprocessor-failed-to-process-interaction-dimension-could-not-be-resolved/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://solvingsitecore.wordpress.com/2018/09/24/segmentprocessor-failed-to-process-interaction-dimension-could-not-be-resolved/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2019-03-22T18:30:42.853" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17646" PostTypeId="2" ParentId="17562" CreationDate="2019-03-22T19:54:47.260" Score="3" Body="&lt;p&gt;Using the Sitecore Powershell Extension, you can easily create the templates without going through all this process.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;CSV Format&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;The below &lt;code&gt;.csv&lt;/code&gt; file shows the entry of 1 template which contains 3 Sections.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/v3fuF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/v3fuF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When creating more than 1 template, the &lt;code&gt;.csv&lt;/code&gt; will look like&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cJinM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cJinM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note, you can add new columns if you need to add datasources.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Sitecore Powershell Script&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Below is the script that you can execute to create the templates based on the &lt;code&gt;.csv&lt;/code&gt; file. You'll need to change the value of the path for variable &lt;code&gt;$importData&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$importData = Import-CSV &quot;C:\Path\to\the\csv\test.csv&quot;&#xA;&#xA;$templateSectionPath = &quot;/sitecore/templates/System/Templates/Template section&quot;&#xA;$templateFieldPath = &quot;/sitecore/templates/System/Templates/Template field&quot;&#xA;$templatePath = &quot;/sitecore/templates/System/Templates/Template&quot;&#xA;&#xA;foreach ( $row in $importData ) {&#xA;    Write-Host &quot;Started for $($row.ItemName) with field name $($row.FieldName)&quot;&#xA;&#xA;    $section = $null&#xA;&#xA;    $templateItemPath = &quot;$($row.ItemPath)/$($row.ItemName)&quot;&#xA;&#xA;    $item = Get-Item -Path master:$templateItemPath -ErrorAction SilentlyContinue&#xA;&#xA;    New-UsingBlock (New-Object Sitecore.SecurityModel.SecurityDisabler) {&#xA;        if($item){&#xA;            $sectionPath = &quot;$($item.Paths.FullPath)/$($row.SectionName)&quot;&#xA;            $sectionItem = Get-Item -Path master:$sectionPath -ErrorAction SilentlyContinue&#xA;&#xA;            if($sectionItem -eq $null){&#xA;                $section = New-Item -Path $sectionPath -ItemType $templateSectionPath       &#xA;            }&#xA;            else{&#xA;                $section = $sectionItem&#xA;            }&#xA;        }&#xA;        else{&#xA;            $templateItem = New-Item -Path $templateItemPath -ItemType $templatePath&#xA;            $standardvalues = New-Item -Path $templateItem.Paths.FullPath -Name &quot;__Standard Values&quot; -ItemType $templateItem.Paths.FullPath&#xA;&#xA;            $templateItem.Editing.BeginEdit()&#xA;            $templateItem[&quot;__Standard values&quot;] = $standardvalues.ID&#xA;            $templateItem.Editing.EndEdit()&#xA;&#xA;            $sectionPath = &quot;$($templateItem.Paths.FullPath)/$($row.SectionName)&quot;&#xA;            $section = New-Item -Path $sectionPath -ItemType $templateSectionPath       &#xA;        }&#xA;&#xA;        $fieldPath = &quot;$($section.Paths.FullPath)/$($row.FieldName)&quot;     &#xA;        $field = New-Item -Path $fieldPath -ItemType $templateFieldPath &#xA;        $field.Editing.BeginEdit()&#xA;        $field[&quot;Type&quot;] = $row.FieldType&#xA;        $field.Editing.EndEdit() | Out-Null&#xA;    }&#xA;}&#xA;&#xA;Write-Host &quot;------------------- Completed -------------------&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Outcome&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Below is a screenshot of the result&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PKalX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PKalX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you may need to adjust the script to accommodate your requirements. Examples, add Renderings, Insert Options etc.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-03-22T19:54:47.260" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17647" PostTypeId="1" AcceptedAnswerId="17666" CreationDate="2019-03-22T20:03:56.727" Score="1" ViewCount="361" Body="&lt;p&gt;I am just trying to define NameValueList in one of my JSS component. Looks like there are only defined set of fields available in CommonFieldTypes [@sitecore-jss/sitecore-jss-manifest]. Is there a way to define List Types [Name Value List] in JSS definition file and use in JSS Component. ?&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-27T19:30:19.040" Title="Define NameValue List in JSS" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17648" PostTypeId="1" AcceptedAnswerId="17649" CreationDate="2019-03-23T13:07:14.490" Score="1" ViewCount="2434" Body="&lt;p&gt;I'm using sitecore 9.1 withSXA 1.8, i'm trying to add browser title and favicon to my site. I managed to add the browser title from SXA settings ( ../Settings/Browser) folder &#xA;and then adding the metadata to my page designs Title however i can't find favicon in the settings folder. Is there another place where i configure my site favicon? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6HIg7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6HIg7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="3650" LastEditDate="2019-03-23T14:05:43.170" LastActivityDate="2019-03-23T14:27:42.153" Title="Site Settings- Favicon configuration" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17649" PostTypeId="2" ParentId="17648" CreationDate="2019-03-23T13:42:14.767" Score="4" Body="&lt;p&gt;The favicon field is on the &quot;Settings&quot; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some more detail:&#xA;When following the wizard to create a new tenant and site, the feature list shown as checkboxes determine which items are created and which base templates get inherited.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may find that some field are missing from the Settings item if you did not check all features. You too can add your own tentant/site features to the wizard.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-03-23T14:27:42.153" LastActivityDate="2019-03-23T14:27:42.153" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17650" PostTypeId="2" ParentId="17640" CreationDate="2019-03-23T17:54:18.023" Score="1" Body="&lt;p&gt;You need to enable Overlays module on your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add modules to a specific site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Content Editor, right-click the tenant or site, click Scripts and click Add tenant module/Add site module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dZRnF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dZRnF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Add module to site/tenant dialog, the missing modules are listed. Select the modules that you want to add, in your case &quot;Overlays&quot; and click Ok.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-03-23T17:54:18.023" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17651" PostTypeId="1" AcceptedAnswerId="17653" CreationDate="2019-03-23T21:38:24.957" Score="7" ViewCount="417" Body="&lt;p&gt;I've a site in x languages and each language has its own domain and language like&lt;/p&gt;&#xA;&#xA;&lt;p&gt;www.mycompany.de, www.mycompany.co.uk, www.mycompany.at, ....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, I can force another language - e.g. German on the English site - on any of the sites like this: &lt;code&gt;wwww.mycompany.co.uk?sc_lang=de-DE&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to prevent this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, Sitecore's URL resolver will recognize other Display Names for an item. So for instance I can go &lt;code&gt;www.mycompany.de/about-us&lt;/code&gt; on the German site, where only &lt;code&gt;www.mycompany.de/ueber-uns&lt;/code&gt; should be allowed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there one setting I just need to activate and this works out of the box?  If not, what is the solution here?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="73" LastEditDate="2019-03-24T12:12:02.303" LastActivityDate="2019-03-25T09:27:09.050" Title="How do I allow only the configured language for each site?" Tags="|multilingual|urls|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17652" PostTypeId="2" ParentId="17631" CreationDate="2019-03-24T06:19:37.723" Score="2" Body="&lt;h1&gt;Default Azure PaaS security&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you have correctly deployed Sitecore on Azure PaaS using the ARM templates and associated Sitecore WebDeploy (.scwdp.zip) packages then by default you will have the following security hardening measures already applied:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Access limited via deny anonymous access web.config rules&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Access is limited via &lt;a href=&quot;https://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/authorization/&quot; rel=&quot;nofollow noreferrer&quot;&gt;deny anonymous access web.config rules&lt;/a&gt;. For Sitecore 9.1.0 on CD servers, anonymous access is denied to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/App_Config&lt;/li&gt;&#xA;&lt;li&gt;/xsl&lt;/li&gt;&#xA;&lt;li&gt;/sitecore modules/Shell&lt;/li&gt;&#xA;&lt;li&gt;/sitecore modules/debug&lt;/li&gt;&#xA;&lt;li&gt;/sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h3&gt;IIS request filtering&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;IIS will not serve requests for .configs via default &lt;a href=&quot;https://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/requestfiltering/&quot; rel=&quot;nofollow noreferrer&quot;&gt;request filtering rules&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Custom errors&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;customErrors mode=&quot;Off&quot;/&amp;gt;&lt;/code&gt; so that stack traces are not shown on unhandled exceptions&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Non HTTPS requests&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There are 3 IIS rewrite rules. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;HTTP Root requests (e.g. www.site.com) will be redirected to HTTPS&lt;/li&gt;&#xA;&lt;li&gt;HTTP /sitecore requests will be redirect to HTTPS&lt;/li&gt;&#xA;&lt;li&gt;All other HTTP requests will be forbidden&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Request Validation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.owasp.org/index.php/ASP.NET_Request_Validation&quot; rel=&quot;nofollow noreferrer&quot;&gt;Request Validation&lt;/a&gt; is enabled by default.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Contained Database Users&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;All users are &lt;a href=&quot;https://docs.microsoft.com/en-us/sql/relational-databases/security/contained-database-users-making-your-database-portable?view=sql-server-2017&quot; rel=&quot;nofollow noreferrer&quot;&gt;contained&lt;/a&gt; with unique usernames and passwords.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Database firewall is enabled&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-firewall-configure&quot; rel=&quot;nofollow noreferrer&quot;&gt;Only Azure IP's can access your database server.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;xConnect secured via client certificate authentication and API secrets&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is well-known, but just including here.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Azure Search and Redis require API keys&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;These are generated and set by the ARM templates.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Other things you should do&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Limit access to your CM, Processing, Reporting environments &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/app-service/app-service-ip-restrictions&quot; rel=&quot;nofollow noreferrer&quot;&gt;using IP restrictions&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Set good passwords on all CMS accounts — especially admin accounts.&lt;/li&gt;&#xA;&lt;li&gt;Set a good password on your &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-manage-logins&quot; rel=&quot;nofollow noreferrer&quot;&gt;SQL Admin account.&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/a/6190050/1102452&quot;&gt;Set the Secure flag on all cookies.&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Other things you could consider&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install and configure &lt;a href=&quot;https://docs.nwebsec.com/en/aspnet4/nwebsec/Configuration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;NWebSec&lt;/a&gt; which covers a few of the &lt;a href=&quot;https://www.owasp.org/index.php/Top_10-2017_Top_10&quot; rel=&quot;nofollow noreferrer&quot;&gt;OWASP Top 10 security issues.&lt;/a&gt; and some items from the &lt;a href=&quot;https://www.microsoft.com/en-us/securityengineering/sdl/&quot; rel=&quot;nofollow noreferrer&quot;&gt;SDL&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Install and configure a WAF such as &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/application-gateway/waf-overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure WAF&lt;/a&gt; or &lt;a href=&quot;https://azure.microsoft.com/en-au/services/frontdoor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Front Door&lt;/a&gt;. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is by no means an exhaustive list as security is very open-ended, but hopefully it gives some steps in the right direction.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-03-24T06:19:37.723" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17653" PostTypeId="2" ParentId="17651" CreationDate="2019-03-24T09:55:04.327" Score="4" Body="&lt;p&gt;I don't know of an ootb solution, this is how I usually &quot;fix&quot; this issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a setting to the site definition that lists all available languages&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add a a processor to the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline after the language resolver:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;httpRequestBegin&amp;gt;&#xA;  &amp;lt;processor patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.LanguageResolver, Sitecore.Kernel']&quot; type=&quot;xxx.LanguageResolver, xxx&quot; /&amp;gt;&#xA;&amp;lt;/httpRequestBegin&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the processor:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Detect if the request should be handled (no Sitecore requests, only in normal mode, ...) and get out asap if not (performance)&lt;/li&gt;&#xA;&lt;li&gt;Check if the language is available in the current site (based upon the setting created in 1) and redirect if it's not ok&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can find code for this on &lt;a href=&quot;https://github.com/Gatogordo/EasyLingo&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Gatogordo/EasyLingo&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will fix the first issue. For Sitecore recognizing urls you don't actually want, I usually don't block that but I do tell crawlers and such that I don't want those. You should do (at least) two things:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Always set a canonical url with the exact link you want for that page in that language&lt;/li&gt;&#xA;&lt;li&gt;Add language headers to all pages, like &lt;code&gt;&amp;lt;link rel=&quot;alternate&quot; href=&quot;https://www.mycompany.de/ueber-uns&quot; hreflang=&quot;de&quot; /&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;link rel=&quot;alternate&quot; href=&quot;https://www.mycompany.co.uk/about-us&quot; hreflang=&quot;en&quot; /&amp;gt;&lt;/code&gt; (do this for all languages in which the current page is available).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When using item language fallback, you can tweak the logic of the language headers and canonicals to your needs (hide pages that are a full fallback and set their canonicals to the original language).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really want/need to block those (faulty) requests you will need the current language and the current item to verify whether the request is ok or not. To do that you could add another processor to the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline but this time after the &lt;code&gt;ItemResolver&lt;/code&gt;, as you will need the current item. You could request the the url for the current item from the LinkManager and compare that to the raw url. Test this thoroughly as a small error might cause infinite redirects ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-03-25T09:27:09.050" LastActivityDate="2019-03-25T09:27:09.050" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17654" PostTypeId="1" CreationDate="2019-03-24T17:32:20.860" Score="3" ViewCount="312" Body="&lt;p&gt;We are using Sitecore 9.0.2 deployed in PAAS and we want to limit number of items to up to 10 versions per item. There are multiple methods suggested&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) User Version Manager : In Previous Sitecore version we had various market place modules like  Version Manager etc but i see none of them is compatible with version &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Use Rule Engine : Use Sitecore Rule engine as suggestted in this link &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/rules-engine-actions-to-remove-old-versions-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/rules-engine-actions-to-remove-old-versions-in-the-sitecore-asp-net-cms&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can somebody please suggest what is best way to do this or if  there any OOB way to limit the number of versions in Sitecore / any other market place module which works best for Siteore 9.0.2&lt;/p&gt;&#xA;" OwnerUserId="4580" LastActivityDate="2019-03-24T17:32:20.860" Title="Limiting version numbers/copying old versions" Tags="|sitecore-client|versions|" AnswerCount="0" CommentCount="1" ClosedDate="2019-03-25T20:16:52.717" ContentLicense="CC BY-SA 4.0" />
  <row Id="17655" PostTypeId="1" CreationDate="2019-03-24T18:52:35.997" Score="1" ViewCount="456" Body="&lt;p&gt;I want to use the display name to generate my URLs. That works so far, but I need to be sure, that the names have no vowels in it and so on. So I want to create a custom regex Validation rule that I can apply to the display name.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I need to create my custom Regex Validation rule in the following path&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; /sitecore/system/Settings/Validation Rules/Field Rules/Project/Common/Is Valid Display name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;would this be the right naming or how are the helix rules here? I've a common project or should I create a custom feature for those validation rules?&lt;/p&gt;&#xA;&lt;p&gt;I also would add this Item path to my unicorn sync items for the common module&lt;/p&gt;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;I need to apply the Validation rule to the &lt;code&gt;__Display name&lt;/code&gt; field under&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; /sitecore/templates/System/Templates/Sections/Appearance/Appearance/__Display name&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;and add this &lt;code&gt;/sitecore/templates/System/Templates/Sections/Appearance/Appearance&lt;/code&gt; path to my unicorn sync items. Is this the right approach or could this be a problem when I later try to upgrade my Sitecore to a newer version? What should be the right way with Helix in Mind?&lt;/p&gt;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;I've found an alternate version, to just fill in the &amp;quot;Validation&amp;quot; and Validation Text&amp;quot; in the &lt;code&gt;__Display name&lt;/code&gt; Item. So I don't need to create a custom Validator but I still need to sync this item with a unicorn - perhaps this is also a valid solution?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="4817" LastEditDate="2023-04-04T04:19:07.037" LastActivityDate="2023-12-30T08:04:45.583" Title="Custom regex validator on display name field with helix in mind and unicorn sync" Tags="|helix|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17656" PostTypeId="1" CreationDate="2019-03-25T02:30:10.007" Score="0" ViewCount="49" Body="&lt;p&gt;&lt;strong&gt;Sitecore_reporting_log&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to clear the above mentioned db?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason is the size of the db is keep on increasing, which is causing memory full.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have enabled xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I clear will it affect any real time analytics data?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in Advance&lt;/p&gt;&#xA;" OwnerUserId="2344" LastActivityDate="2019-03-25T02:30:10.007" Title="How to clear Sitecore_reporting_log?" Tags="|xdb|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17657" PostTypeId="2" ParentId="14601" CreationDate="2019-03-25T03:51:28.730" Score="0" Body="&lt;p&gt;After long time to investigate, I fixed it. In my case. Because i migrated big analytic data from mongo to xdb. Then a lot of query is processing. We need to scale up environment , rebuild xdb then wait all done.&lt;/p&gt;&#xA;" OwnerUserId="3481" LastActivityDate="2019-03-25T03:51:28.730" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17658" PostTypeId="2" ParentId="17655" CreationDate="2019-03-25T06:19:33.467" Score="0" Body="&lt;p&gt;My current Solution is the following, but I am not shure if this is the right way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added only the display name Field to Unicorn sync in my Common Project&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include name=&quot;Project.Common.DisplayName&quot; database=&quot;master&quot; &#xA; path=&quot;/sitecore/templates/System/Templates/Sections/Appearance/Appearance/__Display name&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I've created also in my common project for unicorn sync for the custom Regex Validator the following rule&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include name=&quot;Project.Common.CustomValidations&quot; database=&quot;master&quot;&#xA; path=&quot;/sitecore/system/Settings/Validation Rules/Field Rules/Project/Common&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for my custom Regex Validator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oBEDa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oBEDa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so far I've read my third solution with &quot;Validation&quot; and Validation Text&quot; should not be used when you have the possiblity to create your own Validator, this should be the better solution.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-03-25T06:19:33.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17661" PostTypeId="2" ParentId="11692" CreationDate="2019-03-25T09:57:52.393" Score="10" Body="&lt;p&gt;Web deploy supports the ability to skip elements of a manifest using the &quot;skip directive&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SIF maps the arguments from the &lt;code&gt;json&lt;/code&gt; SIF config to the web deploy command, so you need to add:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Skip&quot;: [&#xA;          { &quot;ObjectName&quot;: &quot;dbDacFx&quot; },&#xA;          { &quot;ObjectName&quot;: &quot;dbFullSql&quot; }&#xA;        ],&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hTLM9.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hTLM9.png&quot; alt=&quot;SIF config sample showing &amp;quot;Skip&amp;quot; statement in use with MSDeploy&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1112" LastEditorUserId="1112" LastEditDate="2019-05-03T11:17:33.763" LastActivityDate="2019-05-03T11:17:33.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17663" PostTypeId="2" ParentId="17624" CreationDate="2019-03-25T12:54:00.567" Score="1" Body="&lt;h2&gt;Fix &lt;code&gt;SolrException&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You could try using &lt;code&gt;stringCollection&lt;/code&gt; type, which is already defined in Sitecore Solr-configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;typeMatch type=&quot;System.Collections.Generic.List`1[System.String]&quot; typeName=&quot;stringCollection&quot; fieldNameFormat=&quot;{0}_sm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, just change your field:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;parsed_content_keywords&quot; returnType=&quot;stringCollection&quot; storageType=&quot;YES&quot;&amp;gt;&#xA;    MyProject.Search.ComputedFields.ParsedContentKeywords, MyProject.Search&#xA;&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;To create custom index&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;1. Create core in Solr:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You could use this script, but set custom values to &lt;code&gt;BASE_CORE_NAME&lt;/code&gt; - already existing Solr core, which will be copied for a new one; &lt;code&gt;SOLR_ROOT&lt;/code&gt; - path to solr.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;echo off&#xA;SET BASE_CORE_NAME=[sitecore_web_index]&#xA;SET core_name=%1&#xA;SET SOLR_ROOT=c:\Program Files\solr-6.6.2&#xA;SET SOLR_INDEXES_DIR=&quot;%SOLR_ROOT%\server\solr\&quot;&#xA;&#xA;set NEW_INDEX_CONF_DIR=%SOLR_INDEXES_DIR%\%core_name%\conf&#xA;set BASE_INDEX_CONF_DIR=%SOLR_INDEXES_DIR%\%BASE_CORE_NAME%\conf&#xA;call mkdir %NEW_INDEX_CONF_DIR%&#xA;call xcopy %BASE_INDEX_CONF_DIR% %NEW_INDEX_CONF_DIR% /s&#xA;&#xA;call &quot;%SOLR_ROOT%\bin\solr&quot; create -c %core_name%&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And execute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;create-core.cmd [core_name]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;2. Create sitecore index&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;indexes&amp;gt;&#xA;                    &amp;lt;index id=&quot;[YOUR_INDEX_NAME]&quot;&#xA;                           type=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                        &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;                        &amp;lt;param desc=&quot;core&quot;&amp;gt;[SOLR_CORE_NAME]&amp;lt;/param&amp;gt;&#xA;                        &amp;lt;param ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; desc=&quot;propertyStore&quot;&#xA;                               param1=&quot;$(id)&quot; /&amp;gt;&#xA;                        &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot; /&amp;gt;&#xA;                        &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;                           &amp;lt;!-- ADD YOUR CRAWLERS HERE --&amp;gt;&#xA;                        &amp;lt;/locations&amp;gt;&#xA;                        &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;                        &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;                    &amp;lt;/index&amp;gt;&#xA;                &amp;lt;/indexes&amp;gt;&#xA;            &amp;lt;/configuration&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;3. Sitecore post-create steps&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Populate &quot;Solr Managed Schema&quot;&lt;/li&gt;&#xA;&lt;li&gt;Rebuild index&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3311" LastActivityDate="2019-03-25T12:54:00.567" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17664" PostTypeId="2" ParentId="17631" CreationDate="2019-03-25T13:02:14.993" Score="0" Body="&lt;p&gt;The Sitecore hardening guide describes this in detail. All tasks can be found &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/security-tasks.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An overview of all hardening measured for each role has been documented over there, together with an example whether or not it has been implemented on PaaS or via SIF:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Applies to&lt;/strong&gt;: All &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/roles-overview.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;core roles&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Installation Framework&lt;/strong&gt;: Administrator password parameter available (SitecoreAdminPassword). In 9.0.2 and earlier, SIF does not enforce changing the administrator password. In 9.1 and later, SIF will generate a random password if you do not change the default value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Azure Toolkit&lt;/strong&gt;: Administrator password is changed by default - enforced by ARM template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&#xA;In regards to the comment below: &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/secure-the-file-upload-functionality.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Disable &quot;script&quot; and &quot;execute&quot; permissions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;find your handler node in the &lt;code&gt;&amp;lt;system.webServer&amp;gt; section&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;  &amp;lt;modules&amp;gt;...&amp;lt;/modules&amp;gt;&#xA;  &amp;lt;handlers&amp;gt;...&amp;lt;/handler&amp;gt;&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and change the handler entry to the following:&#xA;&lt;code&gt;&amp;lt;handlers accessPolicy=&quot;Read, Write&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this is change that the IIS manager makes to the web.config when applying that specific change. Other IIS manager specific changes can made as well. What I did?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made all the changes and used winmerge as comparison tool to see what changes had been made to the web.config and applied those changes to my Azure deployment.&lt;/p&gt;&#xA;" OwnerUserId="71" LastEditorUserId="71" LastEditDate="2019-03-26T09:21:19.137" LastActivityDate="2019-03-26T09:21:19.137" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17665" PostTypeId="2" ParentId="17621" CreationDate="2019-03-25T13:23:31.590" Score="1" Body="&lt;h1&gt;Option 1.&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Just wrap your code in &lt;code&gt;SiteContextSwitcher&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SiteContextSwitcher(Factory.GetSite(&quot;YOUR_COMMERCE_SITE_NAME&quot;)))&#xA;{&#xA;    // get price here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Option 2.&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Review &lt;code&gt;Sitecore.Commerce.Engine.Connect.Search.Crawlers.SellableItemsCrawler&lt;/code&gt;, not &lt;code&gt;SitecoreItemCrawler&lt;/code&gt;. It does request to CE to get list of Sellable Items with all required price information, you need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, you could extend &lt;code&gt;GetItem&lt;/code&gt; method in &lt;code&gt;SellableItemsCrawler&lt;/code&gt; to add custom field to index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override CommerceCatalogItemIndexableItem GetItem(SellableItem catalogEntity, string artifactStoreId)&#xA;{&#xA;    var indexableItem = base.GetItem(catalogEntity, );&#xA;    // here we get sellable item price:&#xA;    var pricesPolicy = sellableItem.Policies.OfType&amp;lt;ListPricingPolicy&amp;gt;();&#xA;    var prices = pricesPolicy.SelectMany(pricePolicy =&amp;gt; pricePolicy.Prices).Select(money =&amp;gt; money.Amount)&#xA;                .ToList();&#xA;    // here we add custom field to index:&#xA;    indexableItem.InternalFields.Add(new CommerceDataField(&quot;listprice&quot;, prices.FirstOrDefault());&#xA;    return indexableItem;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note&lt;/em&gt;. Of course, don't forget to add new field to index configuration.&lt;/p&gt;&#xA;" OwnerUserId="3311" LastActivityDate="2019-03-25T13:23:31.590" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17666" PostTypeId="2" ParentId="17647" CreationDate="2019-03-25T13:55:13.167" Score="1" Body="&lt;p&gt;From the docs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;For custom Sitecore field types or other types not in the CommonFieldTypes enumeration, the string of their field type name in Sitecore (i.e. Single-Line Text) can be passed. Editors that support type annotations, like VS Code, will provide auto-completion on this enum.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="5225" LastEditorUserId="70" LastEditDate="2019-03-27T19:30:19.040" LastActivityDate="2019-03-27T19:30:19.040" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17668" PostTypeId="2" ParentId="17138" CreationDate="2019-03-25T14:20:34.487" Score="0" Body="&lt;p&gt;As suggested by Richard and Pete in comments above the issue was related to errors in configuration files post variable transformation. We analyzed the following to figure out the root cause:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Since it is an upgraded instance we reviewed the &lt;code&gt;role:define&lt;/code&gt; and &lt;code&gt;role:require&lt;/code&gt; in the solution to make sure nothing is misconfigured for CD Role.&lt;/li&gt;&#xA;&lt;li&gt;Revisited the octopus variable transformations.&lt;/li&gt;&#xA;&lt;li&gt;Reviewed the output on &lt;code&gt;showconfig.aspx&lt;/code&gt; on CD Roles.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In our case it ended up with a configuration conflict as a result of octopus variable transformation. Though not recommended but we have couple of config edits within OOTB Sitecore configuration files rather having patch files. We found that the transformations taking place for &lt;code&gt;Sitecore.Buckets.config&lt;/code&gt; was the root cause, as it was throwing errors for Master Database and Pre-Prod Database on the Conetnt Delivery Role. Hence we removed the octopus transformation for the &lt;code&gt;Sitecore.Buckets.config&lt;/code&gt; file and added a patch file.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2019-03-25T14:20:34.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17669" PostTypeId="2" ParentId="17589" CreationDate="2019-03-25T14:43:29.993" Score="0" Body="&lt;p&gt;The issue was that in Sitecore 9, when a user adds a control on a page using the &lt;code&gt;Experience Editor&lt;/code&gt;, on the final add button click (after providing a &lt;code&gt;datasource&lt;/code&gt;) is treated as a POST event. In Sitecore 7.2, it was a GET request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had some code written in our backend (&lt;code&gt;.cs&lt;/code&gt; file) which was looking to see if it a POST type of request and if yes, redirect to a different page. Like below.   &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Request.HttpMethod == &quot;POST&quot;)&#xA;{&#xA; //redirect to a different page&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I added a check here to only run this code when user is NOT in &lt;code&gt;Experience Editor&lt;/code&gt; mode like below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Request.HttpMethod == &quot;POST&quot; &amp;amp;&amp;amp; !Repository.IsUserEditting())&#xA;{&#xA; //redirect to a different page&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This fixed the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks. Let me know if anyone has any questions.&lt;/p&gt;&#xA;" OwnerUserId="5267" LastEditorUserId="5096" LastEditDate="2019-05-10T18:29:46.120" LastActivityDate="2019-05-10T18:29:46.120" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17670" PostTypeId="1" CreationDate="2019-03-25T14:54:23.960" Score="0" ViewCount="178" Body="&lt;p&gt;SITECORE 9.0.2 + SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What i am trying to build:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to create an index/table of contents like &lt;a href=&quot;https://www.pdfindexgenerator.com/wp-content/uploads/2016/10/toc_sample.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d1z4s.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d1z4s.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can have the links pointing to the pages from 'Page List' rendering and a rich text field to hold the part name, as shown in the image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make it simpler for content editor, I wanted to create a composite rendering which would consist of 'Rich Text' and 'Page List'&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I am not able to think of a way to achieve the same. Any pointers will be helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to achieve this with using the existing SXA functionality to the extent possible.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="70" LastEditDate="2019-03-25T15:15:02.160" LastActivityDate="2019-03-25T15:15:02.160" Title="Creating custom composite rendering from Content Editor with minimal visual studio" Tags="|sxa|presentation|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17674" PostTypeId="1" CreationDate="2019-03-25T16:43:46.473" Score="0" ViewCount="457" Body="&lt;p&gt;I'm using Sitecore 9.1 and SXA 1.8 and EXM enabled. I use EXM to send mail campaigns after extending the email facet to add two extra emails: Personal email and Work email. It was then working just fine however it now, List Manager crashes when uploading a sample file with the emails and no longer works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;after uploading the file and mapping the fields, i get the following error msg:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/wAzL4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wAzL4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WMCZS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WMCZS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;After checking the logs, i found two errors in the reporting logs:&#xA;the first one is as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR [Sitecore Services]: Failed to load Sitecore.ContentTesting.Requests.Controllers.PersonalizationRule.PersonalizationRuleController, Sitecore.ContentTesting&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and the second one is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Exception&#xA;  Exception: System.Reflection.TargetInvocationException&#xA;  Message: Exception has been thrown by the target of an invocation.&#xA;  Source: mscorlib&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;     at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;     at (Object , Object )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;     at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;     at Sitecore.Jobs.Job.DoExecute()&#xA;     at Sitecore.Jobs.Job.ThreadEntry(Object state)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Nested Exception&#xA;  Exception: System.InvalidOperationException&#xA;  Message: Unknown connection string. Name: 'web'&#xA;  Source: Sitecore.Kernel&#xA;     at Sitecore.Configuration.DefaultSettings.GetConnectionString(String connectionStringName)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromConnectionStringName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert)&#xA;     at Sitecore.Data.Properties.DefaultPropertyStoreProvider.ReadPropetiesStores()&#xA;     at Sitecore.Data.Properties.DefaultPropertyStoreProvider.InitializeStoreProvider()&#xA;     at Sitecore.Data.Properties.DefaultPropertyStoreProvider.get_DefaultStore()&#xA;     at Sitecore.Data.Properties.DefaultPropertyStoreProvider.GetPropertyKeys(String prefix)&#xA;     at Sitecore.Web.Authentication.DefaultTicketManager.GetTicketKeyList()&#xA;     at Sitecore.Web.Authentication.DefaultTicketManager.GetTicketIDs()&#xA;     at Sitecore.Tasks.CleanupAuthenticationTicketsAgent.Run()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I read that the &quot;Target invocation exception&quot; is usually caused by a prior error but I'm not sure what does the first error means!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help with how can I track the problem that causes the List Manager to crash?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="3650" LastEditDate="2019-03-26T10:12:49.933" LastActivityDate="2019-03-26T10:12:49.933" Title="List Manager cannot upload list of mails" Tags="|list-manager|" AnswerCount="0" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="17675" PostTypeId="2" ParentId="5381" CreationDate="2019-03-25T18:55:51.480" Score="-1" Body="&lt;p&gt;I had the same problem.&#xA;In my case it was multiple domains. I created a virtual user at domain1.test.local and expected it at domain2.test.local. That doesn't work because the ASP.NET session cookie is domain specific.&lt;/p&gt;&#xA;" OwnerUserId="5281" LastEditorUserId="1671" LastEditDate="2019-03-25T19:11:47.037" LastActivityDate="2019-03-25T19:11:47.037" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17676" PostTypeId="1" CreationDate="2019-03-25T20:06:25.560" Score="2" ViewCount="324" Body="&lt;p&gt;I would like to use Sitecore Forms &lt;strong&gt;within another component&lt;/strong&gt; and add that main component to a page. I want my structure to essentially be as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- OTHER COMPONENTS ABOVE HERE --&amp;gt;&#xA;&amp;lt;div class=&quot;my-form-component&quot;&amp;gt;&#xA;    &amp;lt;section class=&quot;left&quot;&amp;gt;&#xA;        &amp;lt;h2&amp;gt;Here is a form&amp;lt;/h2&amp;gt;&#xA;        &amp;lt;img src=&quot;some-image.jpg&quot; /&amp;gt;&#xA;        &amp;lt;p&amp;gt;Some text would be here&amp;lt;/p&amp;gt;&#xA;    &amp;lt;/section&amp;gt;&#xA;    &amp;lt;section class=&quot;right&quot;&amp;gt;&#xA;        &amp;lt;!-- MY SITECORE FORM GOES HERE --&amp;gt;&#xA;    &amp;lt;/section&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;!-- MORE COMPONENTS BELOW HERE --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My template would potentially have the following fields:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Heading (single line text)&lt;/li&gt;&#xA;&lt;li&gt;Body (rich text)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Form (data source)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The content editor should be able to add the component using the add to here button in the experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Fk4qq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Fk4qq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example of what it could end up looking like:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/m8zlw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m8zlw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know how to add a basic form to a page but that makes the form full width and does not allow for other non-form data in the component - like a title or image. How would I accomplish this?&lt;/p&gt;&#xA;" OwnerUserId="1784" LastEditorUserId="1784" LastEditDate="2019-03-26T15:27:24.657" LastActivityDate="2019-03-27T18:48:24.303" Title="How do I add Sitecore Forms to another component" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17677" PostTypeId="2" ParentId="17676" CreationDate="2019-03-25T20:23:02.693" Score="1" Body="&lt;p&gt;Here is how you can achieve this - Created a structure view rendering and added a placeholder to insert a form. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Structure.cshtml looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;container-fluid&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;row&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;form-container&quot;&amp;gt;&#xA;            &amp;lt;div class=&quot;col-lg-6 col-sm-12 p-0&quot;&amp;gt;&#xA;                &amp;lt;div class=&quot;marketing-nav&quot;&amp;gt;&#xA;                    @Sc.Placeholder(&quot;secondary-navigation&quot;)&#xA;                &amp;lt;/div&amp;gt;&#xA;                &amp;lt;div class=&quot;marketing-content&quot;&amp;gt;&#xA;                    @Model.PageContent.Render()&#xA;                &amp;lt;/div&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;div class=&quot;col-lg-6 col-sm-12 p-0&quot;&amp;gt;&#xA;                @Sc.Placeholder(&quot;experience-form&quot;)&#xA;            &amp;lt;/div&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Added structure rendering to presentation details&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YNdIX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YNdIX.png&quot; alt=&quot;Added structure to presentation details&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Set the Form's placeholder and data source&#xA;&lt;a href=&quot;https://i.stack.imgur.com/PSOtK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PSOtK.png&quot; alt=&quot;Form&amp;#39;s placeholder and data source setting&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="4077" LastEditorUserId="4077" LastEditDate="2019-03-27T18:48:24.303" LastActivityDate="2019-03-27T18:48:24.303" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17678" PostTypeId="1" AcceptedAnswerId="17680" CreationDate="2019-03-25T20:55:28.397" Score="8" ViewCount="950" Body="&lt;p&gt;Coming from a xDB Cloud point of view, when I hear Sitecore Managed Cloud, I think of just xConnect and Processing and Reporting hosting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, on the surface it appears to be a full Azure XP1 Subscription, but I am confused on what they are actually providing as a service. Is Sitecore actually managing the entire Azure subscription for a full Sitecore site? Or am I reading this completely wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is Sitecore Managed Cloud and what services does it provide to the client?&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2023-09-11T13:10:44.890" Title="What is Sitecore Managed Cloud?" Tags="|deployment|xdb-cloud|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17680" PostTypeId="2" ParentId="17678" CreationDate="2019-03-25T21:21:36.767" Score="11" Body="&lt;p&gt;Sitecore Managed Cloud provides a hosting service for the infrastructure associated with Sitecore. The entire topology is owned and &quot;managed&quot; by Sitecore under their Azure Subscription. Generally, the definition of this topology is based on the agreement between the client and Sitecore. From what I have seen, this usually consists of 3 environments (DEV (XP Single), STG (XP Small), PRD (XP [based-on-traffic]). Keep in mind, once you get to scale, the size of the topology usually just drives [expected] CD count.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From an ownership perspective, the contract usually includes some level of monitoring or support, and Sitecore is responsible for security/access management; when someone needs access to the environment, I typically have to submit a support ticket with the MC Contract Identifier and list of emails addresses to have them added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From a support perspective, the line grays a little bit. I am a contributor for the MC instance that I worked on, which means I have access to do everything except manage access. I have been able to redo the topology to fit my client's needs (e.g. switch to an elastic pool, increase CM tier, etc.). Generally speaking, the partner plays a large role in supporting the applications, as they are responsible for adding, breaking, and fixing the code. If there are infrastructure issues, then a ticket can be opened with Sitecore to have them examine it. However, it might be faster to figure out and resolve the issue yourself; it depends on the severity of the issue and the SLA on the MC Contract.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately, the contracts are usually based on annual Azure Spend (billed monthly). The client has a spending limit, and if they go over that (unforeseen scaling === more CDs === more money), they can be charged overages. Keep this in mind when making or suggestions any infrastructure changes to the client.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately, Sitecore is really just providing a hosting platform, and the support model ends up being along the same lines as a standard Sitecore + implementation partner implementation.&lt;/p&gt;&#xA;" OwnerUserId="5283" LastEditorUserId="246" LastEditDate="2019-03-26T14:01:24.243" LastActivityDate="2019-03-26T14:01:24.243" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17681" PostTypeId="1" AcceptedAnswerId="17682" CreationDate="2019-03-25T22:29:12.373" Score="6" ViewCount="422" Body="&lt;p&gt;When implementing &lt;a href=&quot;https://sitecore.stackexchange.com/q/17678/246&quot;&gt;Sitecore Managed Cloud&lt;/a&gt;, what deployment or technical considerations need to be thought about?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an example: in modern deployments, using Azure DevOps is a viable deployment solution.  This is sometimes mixed with Powershell commands, WebDeploy packages, etc. But to use Azure DevOps, requires having it attached to the Azure subscription.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does this still work?&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="73" LastEditDate="2020-10-16T12:16:05.230" LastActivityDate="2020-10-16T12:16:05.230" Title="Can you use Azure DevOps with Sitecore Managed Cloud" Tags="|azure|best-practices|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17682" PostTypeId="2" ParentId="17681" CreationDate="2019-03-25T22:52:13.850" Score="5" Body="&lt;p&gt;Yes you can. However, I think you'll need to either be a recognised Sitecore partner, or use one to set it up for you. The actual Azure DevOps organisation will need to be on a separate (non managed cloud) subscription to the managed cloud subscription, and then the partner can contact Sitecore support and request them to create a &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal&quot; rel=&quot;nofollow noreferrer&quot;&gt;Service Principal&lt;/a&gt; which you can use in Azure DevOps to connect to the managed cloud subscription.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info on how access is given is available &lt;a href=&quot;https://kb.sitecore.net/articles/133931&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-03-25T23:23:55.000" LastActivityDate="2019-03-25T23:23:55.000" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17683" PostTypeId="1" CreationDate="2019-03-25T22:53:49.147" Score="2" ViewCount="538" Body="&lt;p&gt;How do I update the item creation date programmatically for migrated content? As the content items are created programmatically, the created date is always the current date when the script is being executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to modify the date of item creation so that my item bucketing rules are executed accordingly.&lt;/p&gt;&#xA;" OwnerUserId="5285" LastEditorUserId="288" LastEditDate="2019-04-25T03:48:37.500" LastActivityDate="2019-04-25T03:48:45.747" Title="Modify item creation date programmatically" Tags="|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17684" PostTypeId="2" ParentId="17683" CreationDate="2019-03-25T23:08:02.727" Score="5" Body="&lt;p&gt;Just set it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var itemToHack = Sitecore.Context.Database.GetItem(&quot;/sitecore/content/YouPath&quot;);&#xA;using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;{&#xA;    itemToHack.Editing.BeginEdit();&#xA;    itemToHack[Sitecore.FieldIDs.Created] = Sitecore.DateUtil.ToIsoDate(DateTime.MinValue);&#xA;    itemToHack.Editing.EndEdit();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://gist.github.com/ncelico/25b939b4fe7d647e6431&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/ncelico/25b939b4fe7d647e6431&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="288" LastEditDate="2019-04-25T03:48:45.747" LastActivityDate="2019-04-25T03:48:45.747" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17685" PostTypeId="1" CreationDate="2019-03-25T23:12:22.623" Score="1" ViewCount="850" Body="&lt;p&gt;I get the following error when I click on an item which is locked by another user inside the media library in Sitecore. We recently upgraded from Sitecore 7.2 to Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stack Trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpException (0x80004005): Failed to map the path '/temp/_disabled.'.]&#xA;   System.Web.Configuration.ProcessHostMapPath.MapPathCaching(String siteID, VirtualPath path) +1287&#xA;   System.Web.Configuration.ProcessHostMapPath.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath path) +9&#xA;   System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +869&#xA;   System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +151&#xA;   System.Web.HttpServerUtility.MapPath(String path) +101&#xA;   Sitecore.Resources.Themes.GetFilename(String source, String size, String overlay, Boolean disabled) +262&#xA;   Sitecore.Resources.Themes.Transform(String source, String overlay, Boolean disabled) +318&#xA;   Sitecore.Resources.Themes.MapTheme(String sourcePath, String overlay, Boolean disabled) +144&#xA;   Sitecore.Resources.ImageBuilder.ToString() +352&#xA;   Sitecore.Shell.Web.UI.WebControls.SmallGalleryButton.Render(HtmlTextWriter output) +547&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +132&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderSmallButton(HtmlTextWriter output, Control smallButton) +118&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderSmallGalleryButton(HtmlTextWriter output, Item button, CommandContext commandContext) +953&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter output, Item button, CommandContext commandContext) +760&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext) +342&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual, String id) +244&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual) +161&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunks(HtmlTextWriter output, Item strip, CommandContext commandContext, Boolean isContextual) +426&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item ribbon, Boolean isContextual, ListString visibleStripList) +1613&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter output, Item defaultRibbon, Item contextualRibbon, ListString visibleStripList) +162&#xA;   Sitecore.Web.UI.WebControls.Ribbons.Ribbon.Render(HtmlTextWriter output) +734&#xA;   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +132&#xA;   Sitecore.Web.HtmlUtil.RenderControl(Control ctl) +80&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateRibbon(Item folder, Boolean isCurrentItemChanged, Boolean showEditor) +560&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update() +582&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e) +205&#xA;&#xA;[TargetInvocationException: Exception has been thrown by the target of an invocation.]&#xA;   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0&#xA;   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128&#xA;   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +142&#xA;   Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +89&#xA;   Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +143&#xA;   System.Web.UI.Control.PreRenderRecursiveInternal() +200&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7479&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any help is greatly appreciated. Thanks in advance !&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Screenshot of the same is below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7MRgW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7MRgW.png&quot; alt=&quot;Popup with Error: Failed to map the path &amp;#39;/temp/disabled.&amp;#39;.&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5267" LastEditorUserId="288" LastEditDate="2019-11-07T20:47:43.987" LastActivityDate="2019-11-07T20:47:43.987" Title="Error clicking on Locked Media Library item: Failed to map the path '/temp/_disabled.'" Tags="|sitecore-client|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17686" PostTypeId="1" CreationDate="2019-03-26T01:53:17.617" Score="4" ViewCount="223" Body="&lt;p&gt;We are using sitecore 9.0.2 for one of the project. We do not need device detection in the application and hence device detection is set to false in the config Sitecore.CES.DeviceDetection.config.&#xA;Still after restarting the application i can see error messages related to 51 degree in the log.txt file under app_data. My understanding was that it should not be initializing 51 degree when device detection is not enabled. &#xA;Is there any way I can stop the application to initialize 51 degree dll.&#xA;Also, will there be any impact on experience editor if i disable device detection?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   2019-03-26T01:39:21.3062387Z - 12072 - Info - Creating data set from 'FiftyOne.Foundation' version '3.2.17.2'&#xA;2019-03-26T01:39:21.3302389Z - 12072 - Info - Exception getting data file date from file 'c:\sitecore\cm\website\App_Data\51Degrees.mobi-Premium-2015.04.07.dat'&#xA;2019-03-26T01:39:21.3432434Z - 12072 - Info - Created temp data file - &quot;c:\sitecore\cm\website\App_Data\51Degrees\51Degrees.mobi-Premium-2015.04.07.dat.68c17046-6ba3-4c5b-b716-8d6f687fc7a2.tmp&quot;&#xA;2019-03-26T01:39:21.3892349Z - 12072 - Fatal - Exception processing device data from binary file 'c:\sitecore\cm\website\App_Data\51Degrees.mobi-Premium-2015.04.07.dat'. Enable debug level logging and try again to help identify cause.&#xA;2019-03-26T01:39:21.3892349Z - 12072 - Fatal - &#xA;2019-03-26T01:39:21.3892349Z - 12072 - Fatal - Data file is invalid. Check that the data file is decompressed and is version '3.1.0.0,3.2.0.0' format.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="1902" LastEditDate="2019-03-26T21:38:52.250" LastActivityDate="2019-03-26T21:38:52.250" Title="Is it possible to remove 51 degree reference from sitecore 9 installation" Tags="|device-detection|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17689" PostTypeId="1" CreationDate="2019-03-26T09:20:59.033" Score="1" ViewCount="1201" Body="&lt;p&gt;We are using Session as well as Sitecore Custom Property(Context.User.Profile) for state management.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We &lt;strong&gt;don't&lt;/strong&gt; have much data(only around 20 fields ex- user id,email id etc.) for state management.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following places we find differences between both scope: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Inside &lt;code&gt;httpRequestBegin(HttpRequestProcessor class)&lt;/code&gt;&#xA;pipeline custom implementation we can't get Session&#xA;variable(&lt;code&gt;HttpContext.Current.Session[&quot;User ID&quot;]&lt;/code&gt;) but can get&#xA;Sitecore Custom Property ex-&#xA;&lt;code&gt;Sitecore.Context.User.Profile.GetCustomProperty(&quot;User ID&quot;)&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Same behavior we faced on some business logic layer class library where we can&#xA;get/set custom properties but not session.&lt;/li&gt;&#xA;&lt;li&gt;Unit test(using &lt;code&gt;xUnit&lt;/code&gt; framework,&lt;code&gt;Sitecore.FakeDb&lt;/code&gt;,&lt;code&gt;Moq&lt;/code&gt; and&#xA;&lt;code&gt;Autofixture&lt;/code&gt;) project implementation for Sitecore, here also we are facing issue with&#xA;session but not for custom properties.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What are differences between Sitecore Custom Property(&lt;strong&gt;Context.User.Profile&lt;/strong&gt;) and &lt;strong&gt;Session&lt;/strong&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Scenario basis, which one is better to use for state management(if small quantity of data)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion will be appreciated. &lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-03-27T04:25:03.700" LastActivityDate="2019-03-27T04:25:03.700" Title="What are differences between Sitecore Custom Property(Context.User.Profile) and Session?" Tags="|session-state|user-profile|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17690" PostTypeId="2" ParentId="17689" CreationDate="2019-03-26T09:25:55.357" Score="3" Body="&lt;h2&gt;Context.User.Profile&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Custom properties from &lt;code&gt;Context.User.Profile&lt;/code&gt; are stored together with user profiles. It may vary between Sitecore versions where this data is stored and how it's accessed but in general they sit together with other aspnet membership provider data in &lt;code&gt;core database&lt;/code&gt; in &lt;code&gt;aspnet_Profile&lt;/code&gt; table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So whenever you call &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;`Context.User.Profile.SetCustomProperty(...)`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the data is persisted in the database. And it's also accessible right after &lt;code&gt;UserResolver&lt;/code&gt; class in &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Session variables&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Session&lt;/code&gt; variables only leave during user's browser session - when session expires, the data is gone. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Session&lt;/code&gt; is not accessible within &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline as it is called before the session is initialized.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Additional info&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;You can read more about session vs profile data in &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blogs.msmvps.com/simpleman/2005/06/23/profile-vs-session/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogs.msmvps.com/simpleman/2005/06/23/profile-vs-session/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/5088771/regarding-profile-and-session-in-asp-net&quot;&gt;https://stackoverflow.com/questions/5088771/regarding-profile-and-session-in-asp-net&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-03-26T09:32:18.077" LastActivityDate="2019-03-26T09:32:18.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17691" PostTypeId="1" AcceptedAnswerId="17693" CreationDate="2019-03-26T10:55:23.180" Score="2" ViewCount="145" Body="&lt;p&gt;I've implemented a custom pipeline in &lt;code&gt;HttpRequestProcessed&lt;/code&gt;. When doing the usual 'bail as soon as possible' setup, I'm checking the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Context.Site == null || &#xA;    !Sitecore.Context.PageMode.IsNormal ||&#xA;    Sitecore.Context.Site.Name != &quot;my-site&quot;)&#xA;       return;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Its a pipeline that should only run on the website front-end. When testing the back-end I noticed several Sitecore apps such as the &lt;code&gt;List Manager&lt;/code&gt; were a lot slower or not loading at all completely.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And while debugging, I saw that all calls to &lt;code&gt;SPEAK&lt;/code&gt; resources continue in my pipeline. Which means that the &lt;code&gt;Site.Context&lt;/code&gt; is set, and the &lt;code&gt;Site.Name&lt;/code&gt; also matches.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; &lt;a href=&quot;http://my-site.local/-/speak/v1/assets/main.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://my-site.local/-/speak/v1/assets/main.js&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone has a clue why this could be happening?&lt;/p&gt;&#xA;" OwnerUserId="483" LastEditorUserId="5096" LastEditDate="2019-05-09T11:04:27.833" LastActivityDate="2019-05-09T11:04:27.833" Title="Sitecore.Context.Site is set for all SPEAK resources" Tags="|speak|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17692" PostTypeId="1" CreationDate="2019-03-26T11:08:40.047" Score="2" ViewCount="479" Body="&lt;p&gt;In Sitecore, &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/campaigns.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;campaigns&lt;/a&gt; can be created for online and offline tracking. Those campaigns can then be triggered by adding &lt;code&gt;sc_camp=the-unique-id&lt;/code&gt; to urls in social media or on the site itself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to setup a campaign and as soon as the person clicks the link with sc_camp, I want a &lt;strong&gt;&lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/create-a-marketing-automation-campaign.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Marketing Automation&lt;/a&gt;&lt;/strong&gt; Campaign to kick in.&#xA;Currently with Sitecore 9.1 you can already add a rule in the start condition of the MA: &lt;code&gt;where the contact has triggered campaign x&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With goals, you have to select 'IsLiveEvent' so that the MA gets triggered during the session and not afterwards.&#xA;Can this work for campaigns?&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2019-03-26T12:34:03.317" Title="Is a Sitecore campaign triggered as a 'live event'?" Tags="|marketing-automation|campaigncreator|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17693" PostTypeId="2" ParentId="17691" CreationDate="2019-03-26T11:28:53.823" Score="1" Body="&lt;p&gt;Looking at site definitions in vanilla Sitecore, none of them work for &lt;code&gt;~/speak/v1&lt;/code&gt; virtual folders or just &lt;code&gt;/&lt;/code&gt;. That's why your site may be matched as the first one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't want to run your processor for non-item requests best check&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.Item?.Visualization?.Layout != null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-26T11:28:53.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17694" PostTypeId="2" ParentId="17692" CreationDate="2019-03-26T12:34:03.317" Score="4" Body="&lt;p&gt;Campaigns are not treated as live events OOTB. Live events are only detected for page events and outcomes by corresponding processors:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterPageEvent.LivePageEventInspector&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterOutcome.LiveOutcomeInspector&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Both of the processors check for &lt;code&gt;IsLiveEvent&lt;/code&gt; property on the marketing entity definition and kicks off &lt;code&gt;submitLiveAutomationEvent&lt;/code&gt; pipeline if event/outcome matches that criterion.&#xA;You could try to simulate similar functionality for campaigns by creating your own &lt;code&gt;LiveCampaignInspector&lt;/code&gt; processor and patching &lt;code&gt;triggerCampaign&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LiveCampaignInspector : TriggerCampaignProcessor&#xA;{&#xA;    public override void Process(TriggerCampaignArgs args)&#xA;    {&#xA;        new SubmitLiveAutomationEventPipeline().Run(new SubmitLiveAutomationEventArgs(args.Page.Session.Contact, args.Page.Session.Interaction, args.Definition.Id));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please note that I didn't have a chance to test it.&lt;/p&gt;&#xA;" OwnerUserId="842" LastActivityDate="2019-03-26T12:34:03.317" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17695" PostTypeId="1" CreationDate="2019-03-26T12:39:07.373" Score="0" ViewCount="313" Body="&lt;p&gt;Does anyone has any idea how to capture analytics data in Sitecore 8.1 experience profile custom tab from non-Sitecore websites?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be better if its without using FXM.&lt;/p&gt;&#xA;" OwnerUserId="4830" LastEditorUserId="73" LastEditDate="2019-03-26T16:37:49.667" LastActivityDate="2019-03-27T13:03:59.583" Title="Capture analytics data in non-Sitecore websites" Tags="|experience-analytics|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17696" PostTypeId="2" ParentId="17695" CreationDate="2019-03-26T12:42:45.913" Score="0" Body="&lt;p&gt;You can use Sitecore FXM to capture traffic from non sitecore websites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Federated Experience Manager (FXM) is an application that allows you add Sitecore content on external non-Sitecore websites and the track visitor interactions and generate analytics information. You can use FXM to implement personalization rules, create goals and events, and implement content profiling on an external website. You can also implement rules that include non-Sitecore sites in engagement plans, as well as track traffic from the external website in Experience Analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To enable FXM functionality, you must add a JavaScript tag to the relevant external websites. This tags the external website and allows the FXM application to connect the external website's components to the Sitecore Experience Platform. FXM has a dedicated Experience Editor that allows you to assign marketing attributes, implement personalization rules, and personalized content as you would on Sitecore XP.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FXM lets you:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Track every visit to an external website and personalize the content&#xA;on the external website by deploying a single JavaScript tag.&lt;/li&gt;&#xA;&lt;li&gt;The information from the external website is available in the    Experience Analytics dashboard.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Easily create the FXM JavaScript tag that you deploy on the external    website.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Enrich and personalize every visit with Sitecore marketing    attributes, such as goals, events, profiles, outcomes, and campaigns.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Capture all the visitor information from the external website and    store it in the Sitecore Experience Database (xDB).&lt;/li&gt;&#xA;&lt;li&gt;Integrate the external website with the marketing capabilities that    are available in Sitecore, such as goals, events, profiles,&lt;br&gt;&#xA;campaigns, engagement automation, and so on.&lt;/li&gt;&#xA;&lt;li&gt;Use the Sitecore Experience Editor to edit the pages and their    specific elements on the external website that you want to apply&lt;br&gt;&#xA;Sitecore marketing attributes to.&lt;/li&gt;&#xA;&lt;li&gt;Use and extend a dedicated API to meet your specific tracking and    personalization requirements.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More informations you can find here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/81/sitecore-experience-platform/en/federated-experience-manager---a-functional-overview.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/81/sitecore-experience-platform/en/federated-experience-manager---a-functional-overview.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Starting from Sitecore XP 8.0, this product is distributed as an integrated part of the Sitecore Experience Platform instead of a module.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-03-26T12:42:45.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17698" PostTypeId="2" ParentId="17695" CreationDate="2019-03-26T12:55:50.693" Score="1" Body="&lt;p&gt;In Sitecore 8.1, there is no out of the box solution aside from FXM as already described. However, whats not mentioned is that FXM doesn't always work as advertised, and prone to error. Not reliable.&lt;/p&gt;&#xA;&lt;h2&gt;The Hurdle&lt;/h2&gt;&#xA;&lt;p&gt;The Hurdle is xDB.  It's not easy to customize xDB interactions from outside Sitecore. (Sitecore 9 solved this with the introduction of xConnect).&lt;/p&gt;&#xA;&lt;h2&gt;A Possible Solution&lt;/h2&gt;&#xA;&lt;p&gt;However, it's not impossible.  One way that this could be done is to create a service endpoint that registers an interaction on a contact.&lt;/p&gt;&#xA;&lt;p&gt;Here is an example of a Controller registering an action to register an interaction through Tracker.  This only works in Sitecore 8.X and may need some adjustments for 8.1.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;[System.Web.Http.ActionName(&amp;quot;event&amp;quot;), System.Web.Http.HttpPost]&#xA;public ActionResult TrackClientEvent(string @event, string text, string key, string data)&#xA;{&#xA;    try&#xA;    {&#xA;        if (string.IsNullOrEmpty(@event))&#xA;        {&#xA;            return BadRequest(&amp;quot;NoEvent&amp;quot;);&#xA;        }&#xA;&#xA;        if (!Tracker.Enabled)&#xA;        {&#xA;            return BadRequest(&amp;quot;NotTracking&amp;quot;);&#xA;        }&#xA;&#xA;        if (!Tracker.IsActive || Tracker.Current == null)&#xA;        {&#xA;                return BadRequest(&amp;quot;TrackerInactive&amp;quot;);&#xA;        }&#xA;&#xA;        if (Tracker.Current == null || Tracker.Current.Interaction == null)&#xA;        {&#xA;            return BadRequest(&amp;quot;NoInteraction&amp;quot;);&#xA;        }&#xA;&#xA;        var page = Tracker.Current.Interaction.PreviousPage ?? Tracker.Current.Interaction.CurrentPage;&#xA;&#xA;        if (page == null) return BadRequest(&amp;quot;NoPage&amp;quot;);&#xA;            &#xA;        if (string.IsNullOrEmpty(text))&#xA;        {&#xA;            page.Register(@event, string.Empty);&#xA;        }&#xA;        else&#xA;        {&#xA;            var eventData = new PageEventData(@event)&#xA;            {&#xA;                DataKey = key,&#xA;                Data = data,&#xA;                Text = text&#xA;            };&#xA;&#xA;            page.Register(eventData);&#xA;        }&#xA;&#xA;        if (Tracker.Current.Interaction.PreviousPage != null)&#xA;            Tracker.Current.CurrentPage.Cancel(); // do not track the service call&#xA;    }&#xA;    catch (Exception exception)&#xA;    {&#xA;        Log.Error(&amp;quot;ClientEventTracker: error in event triggering&amp;quot;, exception, this);&#xA;&#xA;        Response.StatusCode = 500;&#xA;        return Content(&amp;quot;Error&amp;quot;);&#xA;    }&#xA;&#xA;    return Content(&amp;quot;OK&amp;quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Then, utilize Google Tag Manager to fire off an interaction from the external site using a tag off of the Sitecore site.&lt;/p&gt;&#xA;&lt;p&gt;If you need to identify the contact as well you'll need to know enough about the user to identify them: email address, google user id, etc.&lt;/p&gt;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-27T13:03:59.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17699" PostTypeId="1" CreationDate="2019-03-26T12:59:40.507" Score="0" ViewCount="67" Body="&lt;p&gt;i'm using sitecore 9.1 with SXA 1.8, i had the same problem in the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/16779/fatalerror-required-validation-not-working&quot;&gt;this&lt;/a&gt; question, i tried to follow the solution mentioned there, i created a new user and gave him some read/write permissions while it's not an admin account but still the &quot;FatalError&quot; is not working although when i tried the &quot;CriticalError&quot; it did work.&#xA;any idea what i might be missing?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastActivityDate="2019-03-26T12:59:40.507" Title="FatalError Required validation not working in sitecore 9.1" Tags="|sxa|validation|" AnswerCount="0" CommentCount="3" ClosedDate="2019-03-26T13:05:06.153" ContentLicense="CC BY-SA 4.0" />
  <row Id="17700" PostTypeId="1" CreationDate="2019-03-26T13:07:44.717" Score="0" ViewCount="39" Body="&lt;p&gt;We have the following reference to a Sitecore 9.1 DLL in one of our Visual Studio project:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;Sitecore.Abstractions&quot; version=&quot;12.0.0&quot; targetFramework=&quot;net472&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And everything used to work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since Sitecore has finished the migration from those Sitecore 9.1 DLLs to the standard NuGet repository &lt;em&gt;&lt;a href=&quot;https://sitecore.myget.org/F/sc-packages/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-packages/&lt;/a&gt;&lt;/em&gt;, we decided to delete the reference to &lt;em&gt;&lt;a href=&quot;https://sitecore.myget.org/F/sc-platform-9-1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-platform-9-1&lt;/a&gt;&lt;/em&gt; from our &lt;code&gt;NuGet.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, after doing that, my solution is not able to find the above-mentioned package.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Errors in packages.config projects&#xA;    Unable to find version '12.0.0' of package 'Sitecore.Abstractions'.          &#xA;      C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'Sitecore.Abstractions.12.0.0' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.&#xA;      https://api.nuget.org/v3/index.json: Package 'Sitecore.Abstractions.12.0.0' is not found on source 'https://api.nuget.org/v3/index.json'.         &#xA;      https://sitecore.myget.org/F/sc-packages/: Package 'Sitecore.Abstractions.12.0.0' is not found on source 'https://sitecore.myget.org/F/sc-packages/'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-03-26T14:28:10.513" LastActivityDate="2019-03-26T14:28:10.513" Title="Error when migrating from the NuGet repo *sc-packages-9-1* to *sc-packages*" Tags="|nuget|" AnswerCount="0" CommentCount="0" FavoriteCount="0" ClosedDate="2019-03-26T15:45:54.743" ContentLicense="CC BY-SA 4.0" />
  <row Id="17701" PostTypeId="2" ParentId="168" CreationDate="2019-03-26T13:16:39.673" Score="1" Body="&lt;p&gt;And voila.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like &lt;strong&gt;Sitecore changed the NuGet version of all Sitecore 9.1&lt;/strong&gt; related DLLs while migrating those to the standard NuGet repository.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What used to be &lt;code&gt;12.0.0&lt;/code&gt; is now &lt;code&gt;9.1.0&lt;/code&gt; (but the DLLs versions in each NuGet package are still 12.0.0).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to fix this issue, just change the reference on all our projects to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;Sitecore.Abstractions&quot; version=&quot;9.1.0&quot; targetFramework=&quot;net472&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-03-26T13:16:39.673" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17702" PostTypeId="1" CreationDate="2019-03-26T13:17:30.670" Score="1" ViewCount="506" Body="&lt;p&gt;There is a page that lists rewards. Each reward is a Sitecore item and is clickable. Reward details would be displayed in a popup with in the page.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;User can apply for a reward by clicking on Apply button in popup or can simply close that popup. We want to capture details like:  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;How many rewards did a user just view.  &lt;/li&gt;&#xA;&lt;li&gt;How many rewards did a user apply for.  &lt;/li&gt;&#xA;&lt;li&gt;How many rewards were just viewed by people.  &lt;/li&gt;&#xA;&lt;li&gt;How many rewards were applied by people.  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am new to the analytics area and looking for some help here.&lt;br&gt;&#xA;Will assigning individual goals (view reward &amp;amp; apply reward) for each reward item be the right approach.  (Like trigger goal on opening popup &amp;amp; trigeering for apply click.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If yes, what would be the best way to extract the data for further analytics.&#xA;Is it querying mongodb or can we write any sql queries in reporting db.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we have any out of the box API available to extract this data?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2019-03-26T13:36:33.523" LastActivityDate="2019-03-26T14:20:42.793" Title="How to capture and extract data for analytics" Tags="|xdb|experience-analytics|" AnswerCount="1" CommentCount="1" ClosedDate="2019-03-26T15:36:35.650" ContentLicense="CC BY-SA 4.0" />
  <row Id="17704" PostTypeId="1" AcceptedAnswerId="17711" CreationDate="2019-03-26T14:08:14.700" Score="2" ViewCount="2975" Body="&lt;p&gt;We have changed the Dependency Injector in our Sitecore 9.1 solution to use Autofac, following &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/dependency-injection.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this description&lt;/a&gt;  as well as receiving a support .dll from Sitecore support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We register our types using this configurator code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SitecoreExtensionsConfigurator : IServicesConfigurator&#xA;{&#xA;    public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;        serviceCollection.AddTransient&amp;lt;ITrackerService, TrackerService&amp;gt;();&#xA;        serviceCollection.AddSingleton&amp;lt;IRenderingPropertiesRepository, RenderingPropertiesRepository&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, as far as I understand it, it just uses the Microsoft DI framework to register the types. What if I want to register my components using Autofac syntax, like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Configure(IServiceCollection serviceCollection)&#xA;{&#xA;    var builder = new ContainerBuilder();&#xA;    builder.RegisterType&amp;lt;TrackerService&amp;gt;()&#xA;        .As&amp;lt;ITrackerService&amp;gt;();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, that makes my site fail, with an exception, stating that &lt;code&gt;ITrackerService is not registered&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="35" LastEditDate="2019-03-27T09:54:31.547" LastActivityDate="2019-03-27T09:54:31.547" Title="How to make use of Autofac in IServicesConfigurator" Tags="|dependency-injection|autofac|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17705" PostTypeId="2" ParentId="17702" CreationDate="2019-03-26T14:20:42.793" Score="1" Body="&lt;p&gt;Reporting database is basically the aggregated data from the collection database [mongo DB]. Sitecore predefined reports uses data from the Reporting Database, looks like you are just expecting the visits based on Goal so you can get it from Reporting DB [unless you have a very specific requirement to access mongo DB]. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can extract the data by writing your own query [refer the existing queries here /sitecore/system/Settings/Analytics/Report Queries] and also you can create a custom report to show them in Sitecore CMS. I don't find a link to create your own report in 8.2 but similar to 9.0 &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/creating-a-custom-experience-analytics-report.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/creating-a-custom-experience-analytics-report.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't think that there is an API to extract the historical data, so querying would be an easiest way.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-26T14:20:42.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17708" PostTypeId="1" AcceptedAnswerId="17709" CreationDate="2019-03-26T15:29:33.250" Score="3" ViewCount="424" Body="&lt;p&gt;We are working in JSS integrated mode, in one of the page we need to retrieve the child items from a folder and render them. As we are implementing the site in integrated mode, we expect the features like in-context editing enabled for this particular page. Looks like graphQL can be an option to retrieve the folder items other than datasource item and context item, but how do we enable the in-context editing when rendering the page using graphQL data?&lt;/p&gt;&#xA;" OwnerUserId="5293" LastActivityDate="2019-03-26T15:36:59.457" Title="Is graphQL data editable through Experience Editor" Tags="|experience-editor|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17709" PostTypeId="2" ParentId="17708" CreationDate="2019-03-26T15:36:59.457" Score="6" Body="&lt;p&gt;In context editing will work only in integrated mode. Write your graphQL something like the below, [retrieve the jss property of the field instead of value]&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query RetrieveContentBlocks($itemPath: String = &quot;/sitecore/content/poc-app/Item1&quot;) {&#xA;&#xA;      pageItem: item(path: $itemPath)&#xA;  {&#xA;    children&#xA;    {&#xA;      name&#xA;      contentValue: field(name:&quot;content&quot;)&#xA;      {&#xA;        jss&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Render the content like below, [render the jss property of the field]&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return(&#xA;    &amp;lt;div&amp;gt;&#xA;      &amp;lt;h2&amp;gt;&amp;lt;p&amp;gt;Content Retrieved using GraphQL&amp;lt;/p&amp;gt;&amp;lt;/h2&amp;gt;&#xA;      {pageItem &amp;amp;&amp;amp; (&#xA;          &amp;lt;div&amp;gt;&#xA;            &amp;lt;b&amp;gt;children items..!&amp;lt;/b&amp;gt;&#xA;            &amp;lt;br/&amp;gt;&#xA;            &amp;lt;ul&amp;gt;&#xA;              {pageItem.children.map((child) =&amp;gt; (&#xA;                &amp;lt;li key={child.name}&amp;gt;&#xA;                  &amp;lt;RichText field={child.contentValue.jss}/&amp;gt;&#xA;                &amp;lt;/li&amp;gt;&#xA;              ))}&#xA;            &amp;lt;/ul&amp;gt;&#xA;          &amp;lt;/div&amp;gt;&#xA;        )}&#xA;    &amp;lt;/div&amp;gt;&#xA;  );&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-26T15:36:59.457" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17710" PostTypeId="2" ParentId="17685" CreationDate="2019-03-26T16:10:43.130" Score="0" Body="&lt;p&gt;I've seen this before. When an image, e.g. MyBtnImage.png, is specified for a ribbon button, Sitecore also creates temporary alternate image files e.g. /temp/MyBtnImage_disabled.png.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These ribbon button definitions are in the Core DB, I don't remember the exact path right now. I speculate that if a button definition has a missing/invalid image field, Sitecore creates this invalid &quot;/temp/_disabled.&quot; path (note the &quot;.&quot;, which makes it an invalid path!).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I guess one of your ribbon buttons has an invalid image field. You could try removing displayed ribbon chunks and buttons to narrow down which one is choking.&lt;/p&gt;&#xA;" OwnerUserId="3614" LastActivityDate="2019-03-26T16:10:43.130" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17711" PostTypeId="2" ParentId="17704" CreationDate="2019-03-26T16:15:38.520" Score="4" Body="&lt;p&gt;There are 2 parts to how the MS Di Abstractions and Container are working in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1: The Configuration&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The config/configurators etc.. don't actually do the registration of the types with the container. Rather, they just add the required registrations into the &lt;code&gt;IServiceCollection&lt;/code&gt; which at the basic level is just a collection. Nothing is done with that collection at this time.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;2: The Registration&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Once all the configurators and config has been executed, then Sitecore takes the &lt;code&gt;IServiceCollection&lt;/code&gt; data and registers each type with the container. Out of the box, this is using the MS DI Container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this with Autofac, you need to create your own &lt;code&gt;ServiceProviderBuilder&lt;/code&gt;. Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AutofacServiceProviderBuilder&#xA;    : BaseServiceProviderBuilder&#xA;{&#xA;    protected override IServiceProvider BuildServiceProvider(IServiceCollection serviceCollection)&#xA;    {&#xA;        var builder = new ContainerBuilder();&#xA;        // Register Sitecore services in Autofac.&#xA;        builder.Populate(serviceCollection);&#xA;        // Register our custom services via a module.&#xA;        builder.RegisterModule&amp;lt;ServicesModule&amp;gt;();&#xA;        // Register all MVC controllers in the current assembly.&#xA;        builder.RegisterControllers(Assembly.GetExecutingAssembly());&#xA;        IContainer container = builder.Build();&#xA;        // Return Autofac's service provider adaptor.&#xA;        return container.Resolve&amp;lt;IServiceProvider&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While this doesn't give you the exact same registration syntax as Autofac, its the same thing, you are registering your dependencies with Autofac as the container instead of MS DI.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Why can't I just use the Autofac syntax?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Well... you can, but... you would have to implement a fallback service locator, here would be an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SitecoreDependencyResolver : IDependencyResolver&#xA;{&#xA;    private readonly IDependencyResolver _innerResolver;&#xA;    public SitecoreDependencyResolver(IDependencyResolver innerResolver)&#xA;    {&#xA;        this._innerResolver = innerResolver;&#xA;    }&#xA;    public object GetService(Type serviceType)&#xA;    {&#xA;        return ServiceLocator.ServiceProvider.GetService(serviceType) ?? this._innerResolver.GetService(serviceType);&#xA;    }&#xA;    public IEnumerable&amp;lt;object&amp;gt; GetServices(Type serviceType)&#xA;    {&#xA;        IEnumerable&amp;lt;object&amp;gt; source = (IEnumerable&amp;lt;object&amp;gt;) ServiceLocator.ServiceProvider.GetService(typeof (IEnumerable&amp;lt;&amp;gt;).MakeGenericType(serviceType));&#xA;        object[] objArray = source as object[] ?? source.ToArray&amp;lt;object&amp;gt;();&#xA;        if (source != null &amp;amp;&amp;amp; ((IEnumerable&amp;lt;object&amp;gt;) objArray).Any&amp;lt;object&amp;gt;())&#xA;            return (IEnumerable&amp;lt;object&amp;gt;) objArray;&#xA;&#xA;        return this._innerResolver.GetServices(serviceType);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can register your dependencies with Autofac using the &lt;code&gt;ContainerBuilder&lt;/code&gt; and finally register the fallback provider as the &lt;code&gt;DependencyResolver&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DependencyResolver.SetResolver(new SimpleInjectorDependencyResolver(container))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem here is you are introducing complexity and multiple containers in the application. I would go with just using a single container for the application and just replace the MS Di with Autofac and use the &lt;code&gt;IServiceCollection&lt;/code&gt; syntax. You can do most things with that.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update: So why bother replacing the default container at all?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;That is exactly the question you need to ask. Because, you are creating extra work for yourself that you might not need.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reasons to change container:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Speed, changing for a more performant container&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The problem here, you are talking about replacing MS DI with Autofac. Checkout the benchmarks here: &lt;a href=&quot;http://www.palmmedia.de/blog/2011/8/30/ioc-container-benchmark-performance-comparison&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.palmmedia.de/blog/2011/8/30/ioc-container-benchmark-performance-comparison&lt;/a&gt; - unfortunately Autofac doesn't do well in those tests, its one of the slower containers&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It's what I'm used too.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My response to that would be, try something new, don't fight the framework for the sake of fighting the framework. The MS DI Container is actually a pretty decent one, its not got loads of features, but it performs well.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It doesn't have the same features&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The question here is, do you need all the features that the other container is going to give you? If yes, then you are going to need to implement the fallback container to make use of them. But chances are, 95% of the time, you just don't need those extra features. I used to use Autofac and Simple Injector a lot, and I probably would use SI on a new non-Sitecore project. But with Sitecore implementations, I just don't need any of the extra bells and whistles. Keep it simple and don't fight the framework.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately, use the container that suits you best, but don't just change it with out really thinking it through, as it does have the potential to cause issues. The default container, is actually decent and doesn't create any extra work for you!&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-03-26T20:00:49.543" LastActivityDate="2019-03-26T20:00:49.543" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17712" PostTypeId="1" AcceptedAnswerId="17713" CreationDate="2019-03-26T16:29:35.183" Score="21" ViewCount="672" Body="&lt;p&gt;Thanks to Sitecore we have license for the MVPs, but what can I do with it? Is it allowed to share it with a direct colleague to do some research? Or can I use it for a client presentation? Is there any place where I can find the rules around that MVP license?&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2019-06-12T16:17:54.230" LastActivityDate="2020-04-10T19:32:47.770" Title="What can I do with my Sitecore MVP license?" Tags="|licensing|mvp|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17713" PostTypeId="2" ParentId="17712" CreationDate="2019-03-26T16:29:35.183" Score="29" Body="&lt;p&gt;You can use the Sitecore Platform license &lt;strong&gt;only for personal purposes&lt;/strong&gt;: installing Early Access software, develop an open source module, testing and learning new features and this also includes running your own blog or hosting an open source project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You cannot give it to anyone else, you cannot run any client solution with it, you should not use it to demo/sell Sitecore; for any of these activities you will need a partner license or a demo license.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;You can use the Development Collection tools license also for production purposes.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastEditorUserId="312" LastEditDate="2020-04-10T19:32:47.770" LastActivityDate="2020-04-10T19:32:47.770" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17714" PostTypeId="1" CreationDate="2019-03-26T16:33:50.087" Score="2" ViewCount="76" Body="&lt;p&gt;I am running Sitecore 9 update 2 on Azure Web App, with Azure Search. I am trying to use the Sitecore Facet Support, that works completely fine with Solr, but having no luck at all with Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my scenario is I am trying to build filters on the search results page and based on the Sitecore &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/support-reference-for-azure-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tcvGp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tcvGp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code (fine with Solr) looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    queryable = queryable.FacetOn(item =&amp;gt; item[facet.FieldName]);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So &lt;strong&gt;facet.FieldName&lt;/strong&gt; would in my case be &quot;content_type&quot; that I would be expecting Azure to return my a list of Categories for the filters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I am expecting (again fine with Solr) to allow me to follow up with something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        foreach (var category in queryable.GetFacets().Categories)&#xA;        {&#xA;            //blah&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the Facet Categories just don't get set. There's no errors in the logs, and doesn't effect the Search results. Based on what I have read and understood &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/linq-to-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;  this should be working the same across the two different search providers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ThFD3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ThFD3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1369" LastActivityDate="2019-03-26T16:33:50.087" Title="Azure Search FilterOn Linq Not Working" Tags="|azure-search|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17716" PostTypeId="1" AcceptedAnswerId="17717" CreationDate="2019-03-26T19:15:25.807" Score="3" ViewCount="47" Body="&lt;p&gt;I have a condition that is essentially &lt;code&gt;A and (B or C or D or...)&lt;/code&gt;. So for the rule to fire condition &lt;code&gt;A&lt;/code&gt; &lt;strong&gt;has&lt;/strong&gt; to &lt;em&gt;always&lt;/em&gt; be met. And on top of that, one condition of either &lt;code&gt;B&lt;/code&gt; or &lt;code&gt;C&lt;/code&gt; or &lt;code&gt;D&lt;/code&gt; etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't seem to get this into the rule though, &lt;code&gt;or&lt;/code&gt; takes precedence over &lt;code&gt;and&lt;/code&gt; (as it does in programming) and there's nothing I can do about it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried to manually edit the XML to no avail.&lt;/p&gt;&#xA;" OwnerUserId="4665" LastActivityDate="2019-03-26T20:05:13.833" Title="Insert Options Rules with AND taking precedence over OR" Tags="|rules-engine|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17717" PostTypeId="2" ParentId="17716" CreationDate="2019-03-26T20:05:13.833" Score="4" Body="&lt;p&gt;You are right. &lt;code&gt;OR&lt;/code&gt; takes precedence. You can try &lt;code&gt;(A and B) or (A and C) or (A and D)&lt;/code&gt; rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4fU2r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4fU2r.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;where true&lt;/code&gt; would be your &lt;code&gt;A&lt;/code&gt; condition, and template rules would be your &lt;code&gt;B&lt;/code&gt;, &lt;code&gt;C&lt;/code&gt; and &lt;code&gt;D&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yeah, I know it's repeating &lt;code&gt;A&lt;/code&gt; condition for every &lt;code&gt;OR&lt;/code&gt; part but I don't think there is any better solution unless you create a predefined rule with the whole &lt;code&gt;B or C or D&lt;/code&gt; part and then you can use &lt;code&gt;A and BCD&lt;/code&gt; where &lt;code&gt;BCD&lt;/code&gt; is a &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where [predefined] rule is true &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-26T20:05:13.833" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17719" PostTypeId="1" AcceptedAnswerId="17734" CreationDate="2019-03-26T21:21:48.130" Score="1" ViewCount="552" Body="&lt;p&gt;I am using &lt;code&gt;HtmlString&lt;/code&gt; to render my images by default so I can edit the image in the expierence editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the fieldrenderer&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;model.AllgemeinSaxoprintLogo = new HtmlString(FieldRenderer.Render(item, Templates.HeaderKomplex.Fields.Logo.ToString()));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but by default the fieldrenderer uses the original file name and not the display name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to configure it so that the display name is used and if just a simple configure is not working perhaps a hint for a possible solution would be nice. Because I've tried this MediaUrlOptions and here I can't find any option to use the display name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example default url for image with name &quot;newsletter-bg-header.png&quot;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/shell/-/media/saxoprint/menue/newsletter-bg-header.ashx&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;when I set the following display name for my Image &quot;nlbg-header&quot; it would be nice if I could get this output &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/shell/-/media/saxoprint/menue/nlbg-header.ashx&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My Solution&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;is depending on the accepted answer. And I had to create a customMediaProvider like descriped. But I only need to overwrite the GetMediaUrl function the other stuff like GetMediaData was working out of the box don't need to overwrite this. So I've decompiled the MediaProvider and used the hole existing function and just pimped 4 line of code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   public override string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)item, nameof(item));&#xA;        Assert.ArgumentNotNull((object)options, nameof(options));&#xA;        Assert.IsTrue(this.Config.MediaPrefixes[0].Length &amp;gt; 0, &quot;media prefixes are not configured properly.&quot;);&#xA;&#xA;        string str1 = this.MediaLinkPrefix;&#xA;&#xA;        if (options.AbsolutePath)&#xA;        {&#xA;            str1 = options.VirtualFolder + str1;&#xA;        }&#xA;        else if (str1.StartsWith(&quot;/&quot;, StringComparison.InvariantCulture))&#xA;        {&#xA;            str1 = StringUtil.Mid(str1, 1);&#xA;        }&#xA;&#xA;        string part2 = MainUtil.EncodePath(str1, '/');&#xA;&#xA;        if (options.AlwaysIncludeServerUrl)&#xA;        {&#xA;            part2 = FileUtil.MakePath(string.IsNullOrEmpty(options.MediaLinkServerUrl) ? WebUtil.GetServerUrl() : options.MediaLinkServerUrl, part2, '/');&#xA;        }&#xA;&#xA;        string str2 = StringUtil.EnsurePrefix('.', StringUtil.GetString(options.RequestExtension, item.Extension, &quot;ashx&quot;));&#xA;        string str3 = options.ToString();&#xA;&#xA;        if (options.AlwaysAppendRevision)&#xA;        {&#xA;            string str4 = Guid.Parse(item.InnerItem.Statistics.Revision).ToString(&quot;N&quot;);&#xA;            str3 = string.IsNullOrEmpty(str3) ? &quot;rev=&quot; + str4 : str3 + &quot;&amp;amp;rev=&quot; + str4;&#xA;        }&#xA;&#xA;        if (str3.Length &amp;gt; 0)&#xA;        {&#xA;            str2 = $&quot;{str2}?{str3}&quot;;&#xA;        }&#xA;        string str5 = &quot;/sitecore/media library/&quot;;&#xA;&#xA;        //That the original code where the path and the original file name are returned   &#xA;        string path = item.InnerItem.Paths.Path;&#xA;&#xA;&#xA;&#xA;        //PIMPING START&#xA;        //Jsut this lines of code was enough to get my Display name as file name&#xA;        if (!string.IsNullOrEmpty(item.DisplayName) &amp;amp;&amp;amp; path.EndsWith(item.Name))&#xA;        {&#xA;            var pathWithoutFilename = path.Remove(path.Length-item.Name.Length);&#xA;            path = $&quot;{pathWithoutFilename}{item.DisplayName}&quot;;&#xA;        }&#xA;        //PIMPING END&#xA;&#xA;&#xA;&#xA;        string str6 = MainUtil.EncodePath(!options.UseItemPath || !path.StartsWith(str5, StringComparison.OrdinalIgnoreCase) ? item.ID.ToShortID().ToString() : StringUtil.Mid(path, str5.Length), '/');&#xA;        string str7 = part2 + str6 + (options.IncludeExtension ? str2 : string.Empty);&#xA;        if (!options.LowercaseUrls)&#xA;            return str7;&#xA;        return str7.ToLowerInvariant();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;here you could also pimp it more so that you could use the displayname for the hole image path, but I am not shure how to get the parent items &quot;fast&quot; enough.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-03-28T22:58:13.937" LastActivityDate="2019-03-28T22:58:13.937" Title="Render image with display name by default" Tags="|media-library|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17720" PostTypeId="1" AcceptedAnswerId="17726" CreationDate="2019-03-27T05:27:10.983" Score="1" ViewCount="592" Body="&lt;p&gt;I would like to have a listing module where &lt;code&gt;content editor&lt;/code&gt; could select from a list of article types (custom field on a custom template).  The list should then query all articles for the selected articletype value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I was using a hardcoded item query it would be something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;template:{53D07DD8-80B1-48CF-8E2C-BC36CFF7DC5B};+custom:articletype|Tips&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where Tips should correspond to the selection made by the content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't want the &lt;code&gt;content editor&lt;/code&gt; to have to go and create a new Item Query each type they wanted a different article type which is why I'd like the list to be driven by &lt;code&gt;rendering parameters&lt;/code&gt; and selection fed into the query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 9.1 and SXA 1.8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I have followed the suggestion of using a code &lt;code&gt;datasource&lt;/code&gt; but I can't figure out how to pass in a filter value either through &lt;code&gt;rendering parameters&lt;/code&gt;, or even on a user action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;eg:&lt;/strong&gt; either content editor selects an article type from a drop down as a rendering parameter OR on the front end if we were to show a list of all, and allow the user to select an article type to show only those.  It can't be handled in say &lt;code&gt;javascript&lt;/code&gt; because then the pagination wouldn't match the displayed items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using a code &lt;code&gt;datasource&lt;/code&gt; you can access the &lt;code&gt;Sitecore.Context&lt;/code&gt; or the Item itself but can't seem to access anything to do with the rendering and would like to avoid putting the article type in the &lt;code&gt;querystring&lt;/code&gt; of the url and having to do a postback.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="5096" LastEditDate="2019-05-09T11:04:33.277" LastActivityDate="2019-05-09T11:04:33.277" Title="Display list of items with a dynamic query set by content editors" Tags="|sxa|best-practices|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17723" PostTypeId="1" AcceptedAnswerId="17727" CreationDate="2019-03-27T08:11:09.070" Score="0" ViewCount="487" Body="&lt;p&gt;In the &lt;code&gt;xConnect model&lt;/code&gt;, we have a property with dictionary type and when we try to put it in a &lt;code&gt;lambda expression&lt;/code&gt; for some logic it fires back. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sample Model:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class eBikeContactFacet : Facet&#xA;{&#xA;    public DateTime NewsletterChangedOn { get; set; }&#xA;    public string SourceOfLead { get; set; }&#xA;    public string ContactType { get; set; }&#xA;    public Dictionary&amp;lt;string, eBikeTrainingFacet&amp;gt; Trainings { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How we fetch:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var trainingContacts = client.Contacts.Where(c =&amp;gt; c.GetFacet&amp;lt;eBikeContactFacet&amp;gt;() != null &amp;amp;&amp;amp; c.GetFacet&amp;lt;eBikeContactFacet&amp;gt;().GlobalBoschID!=null).ToList();                        &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It gives me an error &lt;code&gt;System.AggregateException: One or more errors occurred. ---&amp;gt; Sitecore.XConnect.Schema.XdbModelException: Unsupported value type Sitecore.XConnect.Schema.XdbFacetType&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks like Dictionary is not supported?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone face this before, kindly help.&lt;/p&gt;&#xA;" OwnerUserId="5249" LastEditorUserId="5387" LastEditDate="2019-06-24T09:53:11.153" LastActivityDate="2019-06-24T09:53:11.153" Title="xConnect - xDB Facet Types" Tags="|xdb|xconnect|contact-facets|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17725" PostTypeId="1" CreationDate="2019-03-27T08:30:17.740" Score="1" ViewCount="184" Body="&lt;p&gt;I am entering the update solution Sitecore from version 8.2 to version 9.1. I started by upgrading the .NET version and Sitecore libraries to the latest version. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any instruction what should be replaced when it comes to libraries that do not have a new version? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mainly I mean &lt;code&gt;Contacts&lt;/code&gt;, &lt;code&gt;Facets&lt;/code&gt; and related items with:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Outcome &lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Analytics.MongoDB&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.ContentSearch.Analytics&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2471" LastEditorUserId="5096" LastEditDate="2019-05-09T11:04:21.560" LastActivityDate="2019-05-09T11:04:21.560" Title="Update Sitecore from 8.2 to 9.1 - analytics" Tags="|xdb|xconnect|contact-facets|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17726" PostTypeId="2" ParentId="17720" CreationDate="2019-03-27T09:50:18.117" Score="2" Body="&lt;p&gt;For a search query you could &lt;a href=&quot;https://ggullentops.blogspot.com/2019/01/extending-sxa-search-query-tokens.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;create your own tokens&lt;/a&gt; but for an item query I ended up writing a solution for this based on a great article from Richard Seal on using &lt;a href=&quot;https://www.sitecorenutsbolts.net/2018/03/16/Sitecore-SXA-Custom-PageList-data-sources/&quot; rel=&quot;nofollow noreferrer&quot;&gt;code datasource item queries&lt;/a&gt;. You should read that  ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Short version: it starts by knowing that you can actually use &lt;code&gt;code:MyProject.Feature.X.., MyProject.Feature.X&lt;/code&gt; as a the query - e.g.:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VOvrx.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VOvrx.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to write this code. It has to be a class that implements &lt;code&gt;Sitecore.Buckets.FieldTypes.IDataSource&lt;/code&gt; - in the &lt;code&gt;public Item[] ListQuery(Item item)&lt;/code&gt; function you will have the code that return the list of items you want as a result of the query based upon the context item as parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this custom code, you can do almost anything.. in your case you could do an index query to find all articles that match a value on the context item.&#xA;And if you need information on the current rendering, it is available in &lt;code&gt;Sitecore.Mvc.Presentation.RenderingContext.CurrentOrNull&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-04-01T08:48:24.727" LastActivityDate="2019-04-01T08:48:24.727" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17727" PostTypeId="2" ParentId="17723" CreationDate="2019-03-27T10:19:38.327" Score="1" Body="&lt;p&gt;Dictionary properties are alllowed. For example EmailAddress is a facet which has next definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.XConnect.Collection.Model&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Represents a list of email addresses for a &amp;lt;see cref=&quot;T:Sitecore.XConnect.Contact&quot; /&amp;gt;&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    [FacetKey(&quot;Emails&quot;)]&#xA;    [Serializable]&#xA;    public class EmailAddressList : Facet&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Default facet key for the EmailAddressList facet.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        public const string DefaultFacetKey = &quot;Emails&quot;;&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets or sets the alternative email addresses for this contact different than the preferred one. The key defines the identifier for that email address. Examples are &quot;work&quot;, &quot;home&quot;, or &quot;personal&quot;.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;value&amp;gt;&#xA;        /// The entries.&#xA;        /// &amp;lt;/value&amp;gt;&#xA;        public Dictionary&amp;lt;string, EmailAddress&amp;gt; Others&#xA;        {&#xA;            get;&#xA;            set;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets or sets the key related to the preferred address.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;value&amp;gt;&#xA;        /// The preferred key.&#xA;        /// &amp;lt;/value&amp;gt;&#xA;        public string PreferredKey&#xA;        {&#xA;            get;&#xA;            set;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets or sets the preferred email for the contact.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;value&amp;gt;&#xA;        /// The preferred email.&#xA;        /// &amp;lt;/value&amp;gt;&#xA;        public EmailAddress PreferredEmail&#xA;        {&#xA;            get;&#xA;            set;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Did you deploy your custom model into xConnect ? Does eBikeTrainingFacet class have Serializable Attribute ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did you specify your custom facet to be returned with a contact or batch of contacts by passing an array of facet keys into the ContactExpandOptions? like on below example?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contacts = await client.GetAsync&amp;lt;Contact&amp;gt;(references, new Sitecore.XConnect.ContactExpandOptions(EmailAddressList.DefaultFacetKey, AddressList.DefaultFacetKey));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-03-27T10:19:38.327" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17728" PostTypeId="1" CreationDate="2019-03-27T10:25:52.613" Score="0" ViewCount="54" Body="&lt;p&gt;So I have an issue, not sure what to do&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a standard Sitecore command, that is running about a 15 minutes process&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is crawling a restful API and sticking documents into  Coveo Push source, seems to be working fine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for some reason, even though the code is using multi-threading (HttpClient.PostAsAsync etc) it locks up the entire web server while the process is running&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody have any ideas here? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I look at the proper indexing page, and it does not do that, So there must be a way&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks much&#xA;Baxter &lt;/p&gt;&#xA;" OwnerUserId="2082" LastEditorUserId="73" LastEditDate="2019-03-27T10:37:31.393" LastActivityDate="2019-03-27T10:37:31.393" Title="Sitecore Command Locking Up Entire Web Server" Tags="|coveo|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17729" PostTypeId="1" CreationDate="2019-03-27T10:42:39.643" Score="3" ViewCount="794" Body="&lt;p&gt;I have a search functionality in my project and the code for exactly matched keywords and search all word, the exactly is working fine but not the search all words:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!searchRequest.SearchType.IsNullOrEmptyTrimmed() &amp;amp;&amp;amp; searchRequest.SearchType.Equals(&quot;exactly&quot;))&#xA;{&#xA;    filterSearchText = filterSearchText.Or(x =&amp;gt; x.LastName.Contains(searchRequest.Keyword));&#xA;    filterSearchText = filterSearchText.Or(x =&amp;gt; x.Content.Contains(searchRequest.Keyword));&#xA;    filterSearchText = filterSearchText.Or(x =&amp;gt; x.RelatedContent.Contains(searchRequest.Keyword));&#xA;    filterSearchText = filterSearchText.Or(x =&amp;gt; x.SearchKeywords.Contains(searchRequest.Keyword));&#xA;}&#xA;else&#xA;{&#xA;    var searchExpression = string.Format(&quot;{0}{1}{0}&quot;, &quot;*&quot;, searchRequest.Keyword.Replace(&quot; &quot;, &quot;*&quot;).Replace(&quot;-&quot;, &quot;*&quot;));&#xA;    filterSearchText = filterSearchText.Or(x =&amp;gt; x.LastName.MatchWildcard(searchExpression));&#xA;    filterSearchText = filterSearchText.Or(x =&amp;gt; x.Content.MatchWildcard(searchExpression));&#xA;    filterSearchText = filterSearchText.Or(x =&amp;gt; x.RelatedContent.MatchWildcard(searchExpression));&#xA;    filterSearchText = filterSearchText.Or(x =&amp;gt; x.SearchKeywords.MatchWildcard(searchExpression));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="4983" LastEditDate="2019-03-27T10:57:55.423" LastActivityDate="2019-03-27T10:57:55.423" Title="Searching the keywords with spaces in solr" Tags="|solr|search-facet|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17731" PostTypeId="2" ParentId="17678" CreationDate="2019-03-27T14:33:11.980" Score="0" Body="&lt;p&gt;I would add a bit to the answer here. &#xA;Sitecore Managed Cloud comes in two flavours - Standard and Premium. Sitecore handles Standard with an inhouse team - while Premium is handled by RackSpace.&#xA;I have only used the Standard offering - and agree with most elements from Bic's answer in the sense of Sitecore and the Partner collaborates on offering a supported and running Sitecore installation.&lt;/p&gt;&#xA;" OwnerUserId="214" LastActivityDate="2019-03-27T14:33:11.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17733" PostTypeId="2" ParentId="3466" CreationDate="2019-03-27T14:44:54.853" Score="0" Body="&lt;p&gt;The feature you are asking for is not really supported by Solr. The fields you return from (defined by the &lt;code&gt;fl&lt;/code&gt; parameter - automatically calculated by Sitecore) define to Solr that you want the field value (retrieved from the stored fields in Solr) - which is the original value.&lt;/p&gt;&#xA;&lt;p&gt;I have not tried to retrieve an unstored field - that might return the post-analysis field value - but I don't think so.&#xA;you might get by using the analysis API (just like the admin does) - but from a performance perspective it might not be good.&lt;/p&gt;&#xA;&lt;p&gt;I cannot imagine what the use case actually is? maybe highlighting might help you get something useful - but I am not sure what use case for this is.&lt;/p&gt;&#xA;" OwnerUserId="214" LastEditorUserId="2056" LastEditDate="2022-04-12T06:28:51.123" LastActivityDate="2022-04-12T06:28:51.123" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17734" PostTypeId="2" ParentId="17719" CreationDate="2019-03-27T15:18:17.147" Score="1" Body="&lt;p&gt;Media url is generated based on &lt;strong&gt;Media Item Path&lt;/strong&gt;, &lt;em&gt;not the original file name&lt;/em&gt;, as you mentioned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But &lt;code&gt;MediaUrlOptions&lt;/code&gt; uses property &lt;code&gt;IncludeExtension&lt;/code&gt; to add or remove extension.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, just set &lt;code&gt;IncludeExtension&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; and you will get url like &lt;code&gt;/-/media/.../[MEDIA_ITEM_NAME]&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note&lt;/em&gt;. Solution was found after decompiling &lt;code&gt;Sitecore.Resources.Media.MediaProvider&lt;/code&gt; class, method &lt;code&gt;GetMediaUrl(MediaItem item, MediaUrlOptions options)&lt;/code&gt;. Here is this part of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// here we get media item path&#xA;string path = item.InnerItem.Paths.Path;&#xA;// UseItemPath - should we use path or ID of item&#xA;string str6 = MainUtil.EncodePath(!options.UseItemPath || !path.StartsWith(str5, StringComparison.OrdinalIgnoreCase) ? item.ID.ToShortID().ToString() : StringUtil.Mid(path, str5.Length), '/');&#xA;// check to include extension in url or not - JUST SET IncludeExtension to False&#xA;string str7 = part2 + str6 + (options.IncludeExtension ? str2 : string.Empty);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I think there is no Sitecore implementation, that uses &lt;code&gt;DisplayName&lt;/code&gt; instead of &lt;code&gt;Sitecore item path&lt;/code&gt;. If you &lt;strong&gt;really&lt;/strong&gt; (think twice first) need it you need to define your own &lt;code&gt;MediaProvider&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what I mean:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class CustomMediaProvider : MediaProvider&#xA;{&#xA;    public virtual string GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;    {&#xA;      // generate you url here mannually&#xA;    }&#xA;&#xA;    protected override MediaData GetMediaData(MediaUri mediaUri)&#xA;    {&#xA;        // manually retrieve item by it's mediaUri.path&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you could register your own implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;         &amp;lt;mediaLibrary&amp;gt;&#xA;             &amp;lt;mediaProvider&amp;gt;&#xA;                   &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;MyProject.Providers.CustomMediaProvider, MyProject&amp;lt;/patch:attribute&amp;gt;&#xA;             &amp;lt;/mediaProvider&amp;gt;&#xA;         &amp;lt;/mediaLibrary&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Simplified default implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override MediaData GetMediaData(MediaUri mediaUri)&#xA;{&#xA;    string mediaPath = mediaUri.MediaPath;&#xA;    Item obj = database.GetItem(mediaPath);&#xA;    return MediaManager.Config.ConstructMediaDataInstance((MediaItem) obj);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here &lt;strong&gt;Sitecore retrieves item by it's path and converts it to media&lt;/strong&gt;. &#xA;It'll be very difficult to fetch item by it's  DisplayName.&lt;/p&gt;&#xA;" OwnerUserId="3311" LastEditorUserId="3311" LastEditDate="2019-03-28T07:57:01.700" LastActivityDate="2019-03-28T07:57:01.700" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17735" PostTypeId="1" AcceptedAnswerId="17738" CreationDate="2019-03-27T15:23:38.100" Score="9" ViewCount="914" Body="&lt;p&gt;We recently switched from code-first to &lt;code&gt;Sitecore-first&lt;/code&gt; in our &lt;code&gt;JSS&lt;/code&gt; project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Sitecore-first&lt;/code&gt; approach we now use &lt;code&gt;Unicorn&lt;/code&gt; to serialize/sync Sitecore structure and content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However the &lt;code&gt;JSS&lt;/code&gt; Development Workflow is still in effect when creating a new item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I deactivate this workflow completely?&lt;/p&gt;&#xA;" OwnerUserId="4535" LastEditorUserId="2727" LastEditDate="2019-05-09T10:40:50.323" LastActivityDate="2023-05-24T11:19:59.210" Title="How to turn off &quot;JSS Development Workflow&quot;?" Tags="|jss|workflow|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17736" PostTypeId="2" ParentId="17735" CreationDate="2019-03-27T15:34:19.650" Score="5" Body="&lt;p&gt;The simplest way will be just removing the Default workflow from the existing template's standard value and update/enable it back when needed. Also the new templates needs to be created without any default workflow and setup later when needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note - If you have lot of existing templates, can try execute a power-shell command to set/revoke default workflow. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yOZcj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yOZcj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyways you are planning to go with Sitecore first and Unicorn for content sync, so nothing will overwrite your template changes until you revert back.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an additional note the default workflow for jss app is set in the \Website\App_Config\Sitecore\JavaScriptServices\Sitecore.JavaScriptServices.Apps.config file,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyways no update required here in your case, as you are planning for Sitecore first with Unicorn.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-03-27T16:16:08.617" LastActivityDate="2019-03-27T16:16:08.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17737" PostTypeId="1" CreationDate="2019-03-27T16:26:53.423" Score="3" ViewCount="117" Body="&lt;p&gt;I am currently working with &lt;code&gt;WFFM&lt;/code&gt; installation on Sitecore 8.1 update 3, which is working fine upto ProdCM but data from the form submission in live Environment were not saving to custom DB &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed documentation for installing &lt;code&gt;WFFM&lt;/code&gt; in &lt;code&gt;CD&lt;/code&gt; Environment from sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already double confirmed the config changes in from &lt;code&gt;CD&lt;/code&gt; Environment as per the documentation&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We were having separate core databases for &lt;code&gt;CM&lt;/code&gt; and &lt;code&gt;CD&lt;/code&gt; Environment Does it break the functionality?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5299" LastEditorUserId="2727" LastEditDate="2019-05-09T10:42:46.780" LastActivityDate="2019-05-09T10:42:46.780" Title="Issue in WFFM CD Form submission data not saving to custom db 8.1 update 3" Tags="|wffm|scaling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17738" PostTypeId="2" ParentId="17735" CreationDate="2019-03-27T16:47:01.157" Score="8" Body="&lt;p&gt;To disable workflow entirely across your JSS templates and existing items, you can use the following bit of Sitecore PowerShell to clear the &lt;code&gt;Default workflow&lt;/code&gt; on templates, and the &lt;code&gt;Workflow&lt;/code&gt; and &lt;code&gt;Workflow state&lt;/code&gt; on content items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this script totally removes all workflow from the referenced content and template paths, so use with care if you have other existing workflows you wish to preserve.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$contentRoot = Get-Item &quot;master:\content\jss-react-sample&quot;&#xA;$templatesRoot = Get-Item &quot;master:\templates\Project\jss-react-sample&quot;&#xA;&#xA;# Disable workflow on the templates&#xA;$templatesCount = 0&#xA;$templatesRoot | Get-ChildItem -Recurse | ? { $_.Name -eq &quot;__Standard Values&quot; } | % {&#xA;    $_.Editing.BeginEdit()&#xA;    $_.Fields[&quot;__Default workflow&quot;].Reset()&#xA;    $_.Editing.EndEdit() | out-null&#xA;    $templatesCount++&#xA;}&#xA;Write-Host &quot;Updated $templatesCount templates&quot;&#xA;&#xA;# Remove workflow on existing content&#xA;$contentCount = 0&#xA;$contentRoot | Get-ChildItem -Recurse | % {&#xA;    $_.Editing.BeginEdit()&#xA;    $_.Fields[&quot;__Workflow&quot;].Reset()&#xA;    $_.Fields[&quot;__Workflow state&quot;].Reset()&#xA;    $_.Editing.EndEdit() | out-null&#xA;    $contentCount++&#xA;}&#xA;Write-Host &quot;Updated $contentCount content items&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastActivityDate="2019-03-27T16:47:01.157" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17739" PostTypeId="1" CreationDate="2019-03-27T17:41:21.090" Score="7" ViewCount="750" Body="&lt;p&gt;I use ClientApiService from Sitecore 9.1 to send e-mails programmatically and I &lt;strong&gt;don't&lt;/strong&gt; use custom facests to store custom token information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have automated message based on web item with usage of custom token $my-html$&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IClientApiService ClientApiService { get; }&#xA;&#xA;public ClientSamples(IClientApiService clientApiService)&#xA;{&#xA;    ClientApiService = clientApiService;&#xA;}&#xA;&#xA;public void SendAutomatedExample(Guid messageId, ContactIdentifier identifier, object htmlContent)&#xA;{&#xA;    var messageOpitons = new AutomatedMessage();&#xA;&#xA;    messageOpitons.MessageId = messageId;&#xA;    messageOpitons.ContactIdentifier = identifier;&#xA;    messageOpitons.CustomTokens = new Dictionary&amp;lt;string, object&amp;gt; { {&quot;my-html&quot;, htmlContent} };&#xA;&#xA;    ClientApiService.SendAutomatedMessage(messageOpitons);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I pass &lt;code&gt;string&lt;/code&gt; as &lt;code&gt;htmlContent service.SendAutomatedExample(someId, someidentifier, &quot;&amp;lt;span&amp;gt;test&amp;lt;/span&amp;gt;&quot;)&lt;/code&gt;, then Contact get correct email which has replaced $my-html$. But it has plain text and not html.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I pass &lt;code&gt;MvcHtmlString&lt;/code&gt; as &lt;code&gt;htmlContent service.SendAutomatedExample(someId, someidentifier, new MvcHtmlString(&quot;&amp;lt;span&amp;gt;test&amp;lt;/span&amp;gt;&quot;))&lt;/code&gt;, then Contact get email with $my-html$ replaced by {}.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional information:&#xA;I need to render some dynamic html table as custom token&#xA;I am not able to use custom facests for this scenario &lt;/p&gt;&#xA;" OwnerUserId="5263" LastActivityDate="2019-03-29T12:53:37.517" Title="How to use HTML markup in CustomTokens of automated messages?" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17742" PostTypeId="1" AcceptedAnswerId="17754" CreationDate="2019-03-27T18:39:35.540" Score="0" ViewCount="126" Body="&lt;p&gt;When I add my custom renderings to AvailableRenderings for the site they show up on the same line in the SXA toolbox&#xA;&lt;a href=&quot;https://i.stack.imgur.com/G2tlq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G2tlq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3129" LastActivityDate="2019-03-28T09:48:22.143" Title="Renderings in the SXA toolbox show up on the same line" Tags="|sxa|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17743" PostTypeId="2" ParentId="17739" CreationDate="2019-03-27T19:41:12.117" Score="9" Body="&lt;h1&gt;Solution&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Posted on &lt;a href=&quot;https://gist.github.com/izharikov/52ee05aa78bdad2d49c6b343c7d75e74&quot; rel=&quot;noreferrer&quot;&gt;Git Gist&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Existing page emails&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Probably, it's better to use &lt;strong&gt;Existing Page&lt;/strong&gt; email template for this purpose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really want to implement it with tokens, use explanation bellow.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Tokens replacement explanation&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;There is &lt;code&gt;Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.FillEmail&lt;/code&gt; processor in &lt;code&gt;SendEmail&lt;/code&gt; pipeline. It uses &lt;code&gt;GetMailFiller(args)?.FillEmail();&lt;/code&gt; code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;MailFiller&lt;/code&gt; has &lt;code&gt;FillBody&lt;/code&gt; method. And implemtation of this abstract class &lt;code&gt;HtmlMailFiller&lt;/code&gt; has implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;this.Email.HtmlBody = this._htmlMailBase.ReplaceTokens(body);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then it's goes to :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual string ReplaceTokens(string text)&#xA;{&#xA;   if (this.PersonalizationManager != null)&#xA;      text = this.PersonalizationManager.ModifyText(text);&#xA;   return text;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;_htmlMailBase&lt;/code&gt; has &lt;code&gt;PersonalizationManager&lt;/code&gt;, which contains &lt;code&gt;ReplaceTokens&lt;/code&gt; method.&#xA;You could review &lt;code&gt;Sitecore.Modules.EmailCampaign.Core.Personalization.PersonalizationManager&lt;/code&gt; class for more details.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Why HTML token are passed as plain text&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Method &lt;code&gt;PersonalizationManager - ReplaceTokens&lt;/code&gt; encodes token values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;text = text.Replace(&quot;$&quot; + key + &quot;$&quot;, WebUtility.HtmlEncode(str));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, you'll need to redefine pipeline to achieve replacement with HTML.&lt;/p&gt;&#xA;" OwnerUserId="3311" LastEditorUserId="3311" LastEditDate="2019-03-28T09:04:52.107" LastActivityDate="2019-03-28T09:04:52.107" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17744" PostTypeId="1" AcceptedAnswerId="17747" CreationDate="2019-03-27T21:02:37.973" Score="2" ViewCount="182" Body="&lt;p&gt;I am in the process of upgrading the Sitecore instance from 9.0.1 to 9.0.2 [9.1 is available but we don’t have a plan to do it now]. Followed the steps in the document, &#xA;&lt;a href=&quot;https://dev.sitecore.net/~/media/A24AE0FB3EC947ACB8F6FCCFBA0CD8C3.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/~/media/A24AE0FB3EC947ACB8F6FCCFBA0CD8C3.ashx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As part of upgrading the xConnect from Sitecore XP 9.0.1 to Sitecore XP 9.0 Update 2:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Stopped the Sitecore XConnect Search Indexer Windows service and Sitecore Marketing Automation Engine Windows service.&lt;/li&gt;&#xA;&lt;li&gt;Tried to start the services after executing the steps mentioned in the above document, but it’s keep on throwing an error. &lt;/li&gt;&#xA;&lt;li&gt;Validated multiple times, but all the steps were executed as mentioned in the document. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;How this can be diagnosed? It was working before executing the migration steps. Any help will be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5293" LastEditorUserId="95" LastEditDate="2019-03-27T21:49:16.873" LastActivityDate="2019-03-27T23:13:07.757" Title="Sitecore service error when upgrading from Sitecore 9.0.1 to Sitecore 9.0.2" Tags="|xconnect|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17746" PostTypeId="1" CreationDate="2019-03-27T22:51:39.260" Score="5" ViewCount="1157" Body="&lt;p&gt;I'm running the Content Management (CM) and Sitecore Identity Server (SIS) roles on a single AWS EC2 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is behind an AWS application load balancer, which accepts traffic on port 443 only and forwards it to these applications on port 80.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the CM application redirects to the SIS application as part of the authentication flow, it's telling SIS its address is http://... as it only knows that it's running on port 80, and has no knowledge of the infrastructure in front of it. An example of the redirect URL is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://cm-91.sc/connect/authorize? ...&amp;amp;redirect_uri=http%3A%2F%2Fcm-91.sc%2Fidentity%2Fsignin...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This causes SIS to error because of an unauthorized client.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can get around this, by adding both the HTTP and HTTPS addresses to the CORS allowed origins, which is not ideal, but is a workable solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, after providing a valid username and password to SIS, the flow back to the CM application breaks because it's trying to redirect back to a HTTP address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to force the Sitecore CM application to generate self URLs with a HTTPS scheme?&lt;/p&gt;&#xA;" OwnerDisplayName="user1704" LastEditorUserId="73" LastEditDate="2019-03-28T00:33:08.250" LastActivityDate="2019-03-28T10:28:47.700" Title="CM to Identity Server redirection issue" Tags="|configuration|authentication|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17747" PostTypeId="2" ParentId="17744" CreationDate="2019-03-27T23:13:07.757" Score="2" Body="&lt;p&gt;During the xConnect upgrade, all files under xConnect bin folder might be replaced with the files from the upgrade package. In XConnect’s .\Website\bin folder, some of the dlls might be blocked by default, when executing the above upgrade step. [It happened in my machine and that blocks starting the service again]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just check all the dlls, you may need to unblock those, may be run a power-shell command to just unblock all once [it won’t harm if you unblock a dll which is not blocked]. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To diagnose this issue, log files will be clearly providing the details. They are located in the below folders, &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;.\App_data\jobs\continuous\AutomationEngine\App_Data\Logs&lt;/li&gt;&#xA;&lt;li&gt;.\App_data\jobs\continuous\IndexWorker\App_data\Logs&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you don't see any log, just try running the below exe files and check the logs, &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;.\App_data\jobs\continuous\AutomationEngine\maengine.exe and&lt;/li&gt;&#xA;&lt;li&gt;.\App_Data\jobs\continuous\IndexWorker\XConnectSearchIndexer.exe&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Note - As you already installed Sitecore 9.0.1 and these service working as expected before the migration,&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I don’t think that the issue is with the certificate. &lt;/li&gt;&#xA;&lt;li&gt;Also it might not be an issue with any folder’s security or anything related to that.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-27T23:13:07.757" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17748" PostTypeId="1" AcceptedAnswerId="17751" CreationDate="2019-03-27T23:24:57.133" Score="5" ViewCount="867" Body="&lt;p&gt;We are running Email Experience Manager in Sitecore 9.1 with custom processors in the UnsubscribeFromList &amp;amp; UnsubscribeFromAllEvent pipelines in order to sync email subscriptions to a 3rd party system. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The OOTB newsletter contains links for the client to manage their subscriptions... Unsubscribe, Unsubscribe from all &amp;amp; Update subscription preferences. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question relates to these email links and submitting the update on the subscription preferences page. I'm seeing different behavior depending on where I submit from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Selecting Unsubscribe from the email will fire the UnsubscribeFromList pipeline. Great!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But selecting the Unsubscribe from all link in the email &lt;em&gt;does not&lt;/em&gt; fire the UnsubscribeFromAllEvent as I expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Update subscription page, by default, contains the checkbox &lt;code&gt;&quot;I do not want to receive any emails from Sitecore EXM. Unsubscribe me from all.&quot;&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Updating the preferences, with this global opt-out selected, will run the UnsubscribeFromAllEvent pipeline. Great again!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On this same page are the checkboxes relating to the Email types in our Marketing categories, the lists to unsubscribe from. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Selecting any of these and submitting the update does not run the UnsubscribeFromList pipeline as I expected and generates this in the Exm.log - &lt;code&gt;ERROR [UpdateListSubscriptionHandler] Failed to update the list subscription for 'Alias PII removed'. Operation: 'RemoveFromList'&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there other pipelines or processes for each of these different cases? &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;From within email:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Selecting Unsubscribe from the email, CHECK &lt;/li&gt;&#xA;&lt;li&gt;Selecting Unsubscribe&#xA;From All from the email &lt;strong&gt;does not&lt;/strong&gt; file UnsubscribeFromAllEvent pipeline.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;From Update subscription page:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Unsubscribe me from all CHECK&lt;/li&gt;&#xA;&lt;li&gt;Checking any box and clicking the update button causes error.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="743" LastEditorUserId="432" LastEditDate="2019-03-28T02:51:58.167" LastActivityDate="2019-03-29T19:32:03.643" Title="Unsubscribe pipelines in EXM" Tags="|exm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17749" PostTypeId="2" ParentId="17746" CreationDate="2019-03-28T00:05:38.360" Score="2" Body="&lt;p&gt;You can solve the problem by simply forcing all requests on the CM to be on HTTPS by using the following IIS rewrite rule on your CM instance web.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;HTTP/S to HTTPS Redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;  &amp;lt;conditions logicalGrouping=&quot;MatchAny&quot;&amp;gt;&#xA;    &amp;lt;add input=&quot;{SERVER_PORT_SECURE}&quot; pattern=&quot;^0$&quot; /&amp;gt;&#xA;  &amp;lt;/conditions&amp;gt;&#xA;  &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}{REQUEST_URI}&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="35" LastEditDate="2019-03-28T10:28:47.700" LastActivityDate="2019-03-28T10:28:47.700" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17750" PostTypeId="1" CreationDate="2019-03-28T02:18:28.307" Score="0" ViewCount="117" Body="&lt;p&gt;I have a single CD CM 8.2 instance of sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a job that is running at a particular time everyday which publishes around a 1000 items. Our CD server crashes everytime the job runs and the query that blocks the website is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;)SELECT [EventType], [InstanceType], [InstanceData], [InstanceName], [UserName], [Stamp], [Created] &#xA;FROM [EventQueue] &#xA;WHERE ([InstanceName] &amp;lt;&amp;gt; @targetInstance AND [RaiseGlobally] = 1 OR [InstanceName] = @targetInstance AND [RaiseLocally] = 1) AND [Stamp] &amp;gt;= CAST(@fromTimestamp AS TIMESTAMP) &#xA;ORDER BY [Stam&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Our DB configuration is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;AWS RDS instance - db.m4.xlarge — 4 vCPU, 16 GiB RAM, 1000 IOPS&lt;/li&gt;&#xA;&lt;li&gt;CD server is 16 GB RAM&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;What would be the best way to resolve this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Upgrade the IOPS of the server? Upgrade the RAM?&lt;/p&gt;&#xA;" OwnerUserId="5300" LastEditorUserId="73" LastEditDate="2019-03-28T10:29:27.683" LastActivityDate="2019-03-28T10:29:27.683" Title="Eventqueue query crashing the CD site" Tags="|sql-database|event-queue|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="17751" PostTypeId="2" ParentId="17748" CreationDate="2019-03-28T03:31:23.650" Score="6" Body="&lt;blockquote&gt;&#xA;  &lt;h2&gt;&lt;strong&gt;DISCLAIMER:&lt;/strong&gt; This post ONLY APPLIES to Sitecore 9.1 and beyond.&lt;/h2&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Marketing Preferences&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Marketing Preferences is a new part of Sitecore that allows users to self-select marketing segments. This is an important concept because, at least as of now, the selection of Marketing Preferences, out of the box, &lt;strong&gt;has no bearing or effect on the subscription to EXM.&lt;/strong&gt; In fact, all Marketing Preferences really do is add additional metadata to the Contact’s Facets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Updating marketing preferences does not fire any of the unsubscribe pipelines. All it does is set data on the &lt;a href=&quot;https://sitecorehacker.com/2018/12/19/managing-the-unsubscribe-part-3/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Marketing Preferences facet.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/j63pR.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/j63pR.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for the error you are seeing when you check a box, is probably an install or message root issue, however, more information is needed to assist.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Unsubscribe From Email/All&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Understanding the error message you are getting, requires a deep dive into how this Process works.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Content Management Role in Unsubscribes&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;The UnsubscribeFromAllEvent pipeline&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This pipeline is executed via the &lt;code&gt;SubscriptionManager&lt;/code&gt; that is only available on the Content Manager role server. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual bool UnsubscribeFromAll(Contact contact, ManagerRoot managerRoot)&#xA;{&#xA;  Assert.ArgumentNotNull((object) contact, &quot;contact&quot;);&#xA;  Assert.ArgumentNotNull((object) managerRoot, &quot;managerRoot&quot;);&#xA;  try&#xA;  {&#xA;    if (managerRoot.GlobalSubscription.IsInDefaultExcludeCollection(contact))&#xA;      return true;&#xA;    if (!managerRoot.GlobalSubscription.AddToDefaultExcludeCollection(contact))&#xA;      return false;&#xA;    this._pipelineHelper.RunPipeline(&quot;UnsubscribeFromAllEvent&quot;, (PipelineArgs) new UnsubscribeFromAllEventArgs(contact));&#xA;    return true;&#xA;  }&#xA;  catch (Exception ex)&#xA;  {&#xA;    this._logger.LogError(ex.Message, ex);&#xA;  }&#xA;  return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This method is called from the &lt;code&gt;UpdateListSubscriptionHandler&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;UpdateListSubscriptionHandler&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is a Rebus handler responsible for taking subscription event messages from the Content Delivery servers (which can't process subscription changes) and performing the changes needed.  This handler has an options enum object that can handle a number of other actions aside from UnsubscribeFromAll.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.EmailCampaign.Model.Messaging&#xA;{&#xA;  [Serializable]&#xA;  public enum ListSubscribeOperation&#xA;  {&#xA;    Subscribe,&#xA;    Unsubscribe,&#xA;    UnsubscribeFromAll,&#xA;    AddToList,&#xA;    RemoveFromList,&#xA;  }&#xA;}&#xA;&#xA;protected bool ProcessListOperation(UpdateListSubscriptionMessage message)&#xA;{&#xA;  if (message.ListSubscribeOperationSucceeded)&#xA;    return true;&#xA;  try&#xA;  {&#xA;    switch (message.ListSubscribeOperation)&#xA;    {&#xA;      case ListSubscribeOperation.Subscribe:&#xA;        this._logger.LogDebug(FormattableString.Invariant(FormattableStringFactory.Create(&quot;[{0}] Subscribing '{1}' from '{2}'. Require subscription confirmation: '{3}'&quot;, (object) &quot;UpdateListSubscriptionHandler&quot;, (object) message.ContactIdentifier.ToLogFile(), (object) message.MessageId, (object) message.RequireSubscriptionConfirmation)));&#xA;        return this._subscriptionManager.Subscribe(message.ContactIdentifier, message.MessageId, message.RequireSubscriptionConfirmation);&#xA;      case ListSubscribeOperation.Unsubscribe:&#xA;        this._logger.LogDebug(FormattableString.Invariant(FormattableStringFactory.Create(&quot;[{0}] Unsubscribing '{1}' from message '{2}'&quot;, (object) &quot;UpdateListSubscriptionHandler&quot;, (object) message.ContactIdentifier.ToLogFile(), (object) message.MessageId)));&#xA;        return this._subscriptionManager.Unsubscribe(message.ContactIdentifier, message.MessageId);&#xA;      case ListSubscribeOperation.UnsubscribeFromAll:&#xA;        this._logger.LogDebug(FormattableString.Invariant(FormattableStringFactory.Create(&quot;[{0}] Unsubscribing '{1}' from manager root '{2}'&quot;, (object) &quot;UpdateListSubscriptionHandler&quot;, (object) message.ContactIdentifier.ToLogFile(), (object) this.GetManagerRootId(message))));&#xA;        return this._subscriptionManager.UnsubscribeFromAll(message.ContactIdentifier, this.GetManagerRootId(message));&#xA;      case ListSubscribeOperation.AddToList:&#xA;        this._logger.LogDebug(FormattableString.Invariant(FormattableStringFactory.Create(&quot;[{0}] Removing '{1}' from the list with id '{2}'&quot;, (object) &quot;UpdateListSubscriptionHandler&quot;, (object) message.ContactIdentifier.ToLogFile(), (object) message.ListId)));&#xA;        return this._subscriptionManager.AddContactToList(message.ContactIdentifier, message.ListId);&#xA;      case ListSubscribeOperation.RemoveFromList:&#xA;        this._logger.LogDebug(FormattableString.Invariant(FormattableStringFactory.Create(&quot;[{0}] Adding '{1}' to the list with id '{2}'&quot;, (object) &quot;UpdateListSubscriptionHandler&quot;, (object) message.ContactIdentifier.ToLogFile(), (object) message.ListId)));&#xA;        return this._subscriptionManager.RemoveContactFromList(message.ContactIdentifier, message.ListId);&#xA;    }&#xA;  }&#xA;  catch (Exception ex)&#xA;  {&#xA;    this._logger.LogError(FormattableString.Invariant(FormattableStringFactory.Create(&quot;[{0}] Failed to process list operation for '{1}'&quot;, (object) &quot;UpdateListSubscriptionHandler&quot;, (object) message.ContactIdentifier.ToLogFile())), ex);&#xA;  }&#xA;  return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the end of the responsibility that the Content Manager server has, and it appears that all of this is functioning, including the execution of the &lt;code&gt;UnsubscribeFromAllEvent&lt;/code&gt; pipeline.  This takes our discovery to the Content Delivery side.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Content Delivery role in Unsubscribes.&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We went backwards on the Content Management side of the process. Now we're going to start with the UnsubscribeFromAll.aspx page that is linked in the email.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The UnsubscribeFromAll.aspx Page&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;UnsubscribeFromAll.aspx.cs&quot; Inherits=&quot;Sitecore.EmailCampaign.Cd.sitecore_modules.Web.EXM.UnsubscribeFromAll&quot; %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's clear that this ASPX page calls the UnsubscribeFromAll class.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;UnsubscribeFromAll WebForm&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The web form inherits the &lt;strong&gt;UnsubscribeMessageEventPage&lt;/strong&gt; class.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3J314.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3J314.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Taking a look at that base class, there's a method called &lt;code&gt;HandleMessageEvent()&lt;/code&gt; that does a lot, but in particular the following. This method is actually called FIRST on both the &lt;strong&gt;Unsubscribe&lt;/strong&gt; and &lt;strong&gt;UnsubscribeFromAll&lt;/strong&gt; links/actions.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  else if (this.IsTrackerEnabled)&#xA;  {&#xA;    if (!ExmContext.Message.ExcludeFromReports)&#xA;    {&#xA;      UnsubscribedFromEmailEvent unsubscribedFromEmailEvent = new UnsubscribedFromEmailEvent();&#xA;      Guid messageId1 = ExmContext.Message.MessageId;&#xA;      unsubscribedFromEmailEvent.MessageId = messageId1;&#xA;      Guid messageId2 = ExmContext.Message.MessageId;&#xA;      unsubscribedFromEmailEvent.InstanceId = messageId2;&#xA;      Guid managerRootId = ExmContext.Message.ManagerRootId;&#xA;      unsubscribedFromEmailEvent.ManagerRootId = managerRootId;&#xA;      string name = ExmContext.Message.TargetLanguage.Name;&#xA;      unsubscribedFromEmailEvent.MessageLanguage = name;&#xA;      byte? testValueIndex = ExmContext.Message.TestValueIndex;&#xA;      unsubscribedFromEmailEvent.TestValueIndex = testValueIndex;&#xA;      int addressHistoryEntryId = ExmContext.Message.EmailAddressHistoryEntryId;&#xA;      unsubscribedFromEmailEvent.EmailAddressHistoryEntryId = addressHistoryEntryId;&#xA;      EmailEventDto dto = this._eventDataService.EmailEventToDto((EmailEvent) unsubscribedFromEmailEvent);&#xA;      this._analyticsGateway.RegisterNextPageEvent(new PageEventData(&quot;Unsubscribe from email&quot;, Sitecore.EmailCampaign.Model.Constants.UnsubscribeFromEmailPageEventId)&#xA;      {&#xA;        CustomValues = {&#xA;          {&#xA;            &quot;ExmCustomValues&quot;,&#xA;            (object) dto&#xA;          }&#xA;        }&#xA;      });&#xA;      this.CancelTracker();&#xA;    }&#xA;    using (new LanguageSwitcher(this.LanguageName))&#xA;      url = this.VerifyContactSubscriptions(ExmContext.ContactIdentifier, ExmContext.Message.MessageId) ?? this.UnsubscribeContact(ExmContext.ContactIdentifier, ExmContext.Message.MessageId);&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Of particular note is this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    using (new LanguageSwitcher(this.LanguageName))&#xA;      url = this.VerifyContactSubscriptions(ExmContext.ContactIdentifier, ExmContext.Message.MessageId) ?? this.UnsubscribeContact(ExmContext.ContactIdentifier, ExmContext.Message.MessageId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;UnsubscribeContact()&lt;/code&gt; is a method that is defined on the ASPX WebForm and is only getting called if the &lt;code&gt;VerifyContactSubscription&lt;/code&gt; is returning a null value, which appears to always be null &lt;strong&gt;except if the contact is already in the global opt-out list&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;code&gt;VerifyContactSubscriptions&lt;/code&gt; has to be null, in order for&#xA;  the Unsubscribe page to run the &lt;strong&gt;UnsubscribeContact&lt;/strong&gt; method, which&#xA;  in turn will run the &lt;code&gt;UnsubscribeFromAllEvent&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;On the &lt;strong&gt;UnsubscribeFromAll.aspx&lt;/strong&gt; WebForm, this method is defined as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override string UnsubscribeContact(ContactIdentifier contactIdentifier, Guid messageID)&#xA;{&#xA;  Guid guid = ExmContext.Message != null ? ExmContext.Message.ManagerRootId : Guid.Empty;&#xA;  this.ClientApiService.UpdateListSubscription(new UpdateListSubscriptionMessage()&#xA;  {&#xA;    ListSubscribeOperation = ListSubscribeOperation.UnsubscribeFromAll,&#xA;    ContactIdentifier = contactIdentifier,&#xA;    MessageId = messageID,&#xA;    ManagerRootId = guid&#xA;  });&#xA;  MessageItem message = ExmContext.Message;&#xA;  return (message != null ? message.ManagerRoot.GetConfirmativePageUrl() : (string) null) ?? &quot;/&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's important to note here is that the &lt;strong&gt;enum&lt;/strong&gt; being used &lt;strong&gt;ListSubscribeOperation.UnsubscribeFromAll&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Going back to your stated error message:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Selecting any of these and submitting the update does not run the&#xA;  UnsubscribeFromList pipeline as I expected and generates this in the&#xA;  Exm.log - &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR [UpdateListSubscriptionHandler] Failed to update the list subscription for 'Alias PII removed'. Operation: 'RemoveFromList'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;RemoveFromList&lt;/strong&gt; is NOT the &lt;strong&gt;UnsubscribeFromAll&lt;/strong&gt; enum. Which means that this error message is coming from another process.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Summary&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I believe that your system is working as expected, but that maybe you're links are wrong in the email template.  If the links are RIGHT, then I would inspect the &lt;code&gt;VerifyContactSubscription&lt;/code&gt; method, below. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual string VerifyContactSubscriptions(ContactIdentifier contactIdentifier, Guid messageID)&#xA;{&#xA;  GetContactPipelineArgs contactPipelineArgs = new GetContactPipelineArgs(contactIdentifier, (ID) null, new string[1]&#xA;  {&#xA;    &quot;ListSubscriptions&quot;&#xA;  });&#xA;  this._pipelineHelper.RunPipeline(&quot;getContact&quot;, (PipelineArgs) contactPipelineArgs, &quot;exm&quot;);&#xA;  Sitecore.XConnect.Contact contact = contactPipelineArgs.Contact;&#xA;  string unsubscribedPage = ExmContext.Message.ManagerRoot.GetAlreadyUnsubscribedPage();&#xA;  if (ExmContext.Message.ManagerRoot.GlobalSubscription.IsInDefaultExcludeCollection(contact))&#xA;  {&#xA;    this._logger.LogInfo(string.Format(&quot;Will not unsubscribe {0} from message {1}: already in the Global opt-out list&quot;, (object) contactIdentifier.ToLogFile(), (object) messageID));&#xA;    return unsubscribedPage;&#xA;  }&#xA;  ID[] array = ID.ParseArray(ExmContext.Message.InnerItem[&quot;{F8D592CC-F3E5-4A8E-A600-8AEBE8CC36E4}&quot;], false);&#xA;  if (array == null)&#xA;  {&#xA;    this._logger.LogWarn(string.Format(&quot;Must add {0} to Global opt-out list: No include-lists found in message {1}&quot;, (object) contactIdentifier.ToLogFile(), (object) messageID));&#xA;    return (string) null;&#xA;  }&#xA;  if (this.ListManagerWrapper.HasSegmentedList(((IEnumerable&amp;lt;ID&amp;gt;) array).Select&amp;lt;ID, Guid&amp;gt;((Func&amp;lt;ID, Guid&amp;gt;) (x =&amp;gt; x.Guid))))&#xA;  {&#xA;    this._logger.LogWarn(string.Format(&quot;Must add {0} to Global opt-out list: One of the Include lists is Segmented in message {1}&quot;, (object) contactIdentifier.ToLogFile(), (object) messageID));&#xA;    return (string) null;&#xA;  }&#xA;  if (((IEnumerable&amp;lt;ID&amp;gt;) array).Any&amp;lt;ID&amp;gt;((Func&amp;lt;ID, bool&amp;gt;) (x =&amp;gt; this.ListManagerWrapper.IsSubscribed(x.Guid, contact))))&#xA;    return (string) null;&#xA;  MessageItem message = ExmContext.Message;&#xA;  if (message != null &amp;amp;&amp;amp; message.Source.MessageType == MessageType.Automated)&#xA;  {&#xA;    this._logger.LogInfo(string.Format(&quot;Must add {0} to Global opt-out list: Type of message {1} is Automated.&quot;, (object) contactIdentifier.ToLogFile(), (object) messageID));&#xA;    return (string) null;&#xA;  }&#xA;  this._logger.LogInfo(string.Format(&quot;Will not unsubscribe {0} from message {1}: already unsubscribed&quot;, (object) contactIdentifier.ToLogFile(), (object) messageID));&#xA;  return unsubscribedPage;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There's a pipeline called &lt;code&gt;getContact&lt;/code&gt; that you can hook into, and see if it's running when the Unsubscribe From All link is clicked.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-03-29T19:32:03.643" LastActivityDate="2019-03-29T19:32:03.643" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17752" PostTypeId="1" AcceptedAnswerId="17753" CreationDate="2019-03-28T06:28:57.667" Score="1" ViewCount="735" Body="&lt;p&gt;I was trying to add new version for each item in sitecore:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$root = &quot;master:\content\home&quot;&#xA;@(Get-Item -Path $root) + @(Get-ChildItem -Path $root) -Recurse | &#xA;Add-ItemLanguage -Language &quot;en-us&quot; -TargetLanguage &quot;en-ca&quot; -IfExist Skip&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found the above code from &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3946&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore community&lt;/a&gt;, but while executing getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;At line:2 char:56&#xA;+ @(Get-Item -Path $root) + @(Get-ChildItem -Path $root) -Recurse |&#xA;+                                                        ~~~~~~~~&#xA;Unexpected token '-Recurse' in expression or statement.&#xA;&#xA;Of type: System.Management.Automation.ParseException&#xA;Stack trace:&#xA;   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)&#xA;   at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)&#xA;   at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)&#xA;   at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)&#xA;   at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)&#xA;   at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)&#xA;   at Cognifide.PowerShell.Core.Host.ScriptSession.ExecuteCommand(Boolean stringOutput, Boolean marshallResults)&#xA;   at Cognifide.PowerShell.Core.Host.ScriptSession.&amp;lt;&amp;gt;c__DisplayClass150_0.b__0()&#xA;   at Cognifide.PowerShell.Core.Utility.SpeTimer.Measure[T](String message, Boolean log, Func`1 action)&#xA;   at Cognifide.PowerShell.Core.Host.ScriptSession.ExecuteScriptPart(String script, Boolean stringOutput, Boolean internalScript, Boolean marshalResults)&#xA;   at Cognifide.PowerShell.Core.Host.ScriptSession.ExecuteScriptPart(String script, Boolean stringOutput, Boolean internalScript)&#xA;   at Cognifide.PowerShell.Core.Host.ScriptSession.ExecuteScriptPart(String script)&#xA;   at Cognifide.PowerShell.Client.Applications.PowerShellIse.ExecuteInternal(ScriptSession scriptSession, String script)&#xA;   at Cognifide.PowerShell.Client.Applications.ScriptRunner.Run()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="73" LastEditDate="2019-03-28T10:29:16.857" LastActivityDate="2019-03-28T10:29:16.857" Title="Adding new version for each item" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17753" PostTypeId="2" ParentId="17752" CreationDate="2019-03-28T06:34:26.010" Score="2" Body="&lt;p&gt;&lt;code&gt;-Recurse&lt;/code&gt; should be in the bracket:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$root = &quot;master:\content\home&quot;&#xA;@(Get-Item -Path $root) + @(Get-ChildItem -Path $root -Recurse) | &#xA;Add-ItemLanguage -Language &quot;en-us&quot; -TargetLanguage &quot;en-ca&quot; -IfExist Skip&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's a parameter for &lt;code&gt;Get-ChildItem&lt;/code&gt; command which means it should get not only the first level children but all the descendants of the root item.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-28T06:34:26.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17754" PostTypeId="2" ParentId="17742" CreationDate="2019-03-28T09:48:22.143" Score="1" Body="&lt;p&gt;By the default, the renderings in the toolbox are grouped by the folders where they are located. This means that it doesn’t matter where you will put it in under the Available Renderings:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rTsYk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rTsYk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you can change this behaviour and have toolbox section based on the Available Renderings items when you will check this checkbox on the Available Renderings item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tIwK9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tIwK9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will rearrange toolbox and have better control of the sections available in the toolbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how you can configure the toolbox. But the issue you are having is 100% sure (at least in my opinion) related to your custom theme which interferes with SXA styles for a toolbox. The other possible cause of such behaviour is a script error (also located in a custom theme or injected with one of your custom renderings) which stops the execution of SXA Experience Editor scripts.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-03-28T09:48:22.143" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17755" PostTypeId="2" ParentId="15854" CreationDate="2019-03-28T09:50:04.850" Score="2" Body="&lt;p&gt;Finally got this Issue resolved. Posting the answer here incase someone face similar issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had a custom processor to prevent resolving items without version and then it will redirect to '404 Not Found' error Page. This was impacting content editor features also.&#xA;So we disabled this processor and enabled the out of the box 'enforceVersionPresence' setting on the site node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;enforceVersionPresence : If set to true, '404 Not Found' error page will be shown if the context item does not have a requested version.&#xA;Default value is false.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2019-03-28T09:50:04.850" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17756" PostTypeId="1" AcceptedAnswerId="17775" CreationDate="2019-03-28T10:29:21.387" Score="0" ViewCount="1074" Body="&lt;p&gt;I want to get all the items from both master and web database using &lt;code&gt;Find-Item&lt;/code&gt; cmdlet and run in one Powershell script. I'd also rather not use &lt;code&gt;Get-Item&lt;/code&gt; cmdlet for performance reasons. Any inputs will be much appreciated. Thank you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the script that I've tried:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$master = Find-Item -Index sitecore_master_index  @{Filter = &quot;Equals&quot;; Field = &quot;_group&quot;; Value = &quot;{C89D37FF-3919-4D89-9925-948B67BD22D9}&quot;}  &#xA;&#xA;$web = Find-Item -Index sitecore_web_index  @{Filter = &quot;Equals&quot;; Field = &quot;_group&quot;; Value = &quot;{C89D37FF-3919-4D89-9925-948B67BD22D9}&quot;}  &#xA;&#xA;$result = $web | Where {$master.ID -NotContains $_.ID}  &#xA;$result&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1217" LastEditorUserId="342" LastEditDate="2019-03-28T12:21:53.607" LastActivityDate="2019-03-30T03:45:25.967" Title="How to get items from both master and web Context in PowerShell Extensions without using Get-Item?" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17759" PostTypeId="2" ParentId="13980" CreationDate="2019-03-28T11:47:48.610" Score="0" Body="&lt;p&gt;Personally - I have done either similar to Mark's approach above. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More often than not now I actually prefer to create a build that creates you your 'Platform'. This then serves to replace the use of the original vendor files as your 'blank installation'. This is often uploaded to s3 / blob storage so can be downloaded by developers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So - often the 'Platform' will consist of (for example)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore&lt;/li&gt;&#xA;&lt;li&gt;Sitecore powershell extensions&lt;/li&gt;&#xA;&lt;li&gt;WFFM&lt;/li&gt;&#xA;&lt;li&gt;Rewrite Module&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This holds several advantages of this approach over the one Mark suggests in that&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The visual studio solution publish is not bogged down deploying a tonne of files it doesn't need to.&lt;/li&gt;&#xA;&lt;li&gt;The visual studio solution load times are improved (especially if you use tools like Resharper) as it has a load less files to scan&lt;/li&gt;&#xA;&lt;li&gt;Your visual studio solution contains ONLY customisations not vendor supplied files&lt;/li&gt;&#xA;&lt;li&gt;Greater flexibility in deployment&lt;/li&gt;&#xA;&lt;li&gt;Significantly smaller package sizes during deployment&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So using this approach I have managed to get zero downtime deployment times down under 5 minutes including stopping IIS (this on its own can take 1.5 minutes), load balancer control, site warm up with a complete deletion and recreation of the files on disk. This is key in my mind to increase confidence and velocity within agile delivery teams.&lt;/p&gt;&#xA;" OwnerUserId="2415" LastEditorUserId="2415" LastEditDate="2019-03-28T12:55:41.173" LastActivityDate="2019-03-28T12:55:41.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17764" PostTypeId="1" AcceptedAnswerId="17767" CreationDate="2019-03-28T15:19:22.253" Score="3" ViewCount="549" Body="&lt;p&gt;We would like to restrict access to the Package Installation Wizard within a test environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is to ensure all Sitecore items are being correctly deployed from serialisation data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can this be achieved with security permissions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can the Package Installation Wizard be disabled via configuration?&lt;/p&gt;&#xA;" OwnerDisplayName="user1704" LastActivityDate="2019-04-18T12:47:32.367" Title="Restrict access to the Package Installation Wizard" Tags="|sitecore-client|content-management|packages|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17766" PostTypeId="1" CreationDate="2019-03-28T15:31:05.643" Score="5" ViewCount="1037" Body="&lt;p&gt;We are going to have to create new roles for new content sections and it would be very helpful if we could transfer role permssions so that we don't have to reassign permissions for all the folders to secondary roles for a particular section. &#xA; Just wondering if there's a way to copy permissiosn from one role to another and then build on that second role to make the additional permission tweaks, which would be a lot easier than replicating every single folder/item permissions in the new role...  &lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-03-28T17:30:52.110" Title="Any way to transfer all permissions from one role to another?" Tags="|permissions|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17767" PostTypeId="2" ParentId="17764" CreationDate="2019-03-28T15:43:55.663" Score="4" Body="&lt;p&gt;You can adjust the security rights In the core database&#xA;item: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/content/Documents and settings/All users/Start&#xA;  menu/Right/Development Tools/Install Package&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;default: read right for sitecore\Sitecore Client Developing&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can remove that right, see the Security Field of that item. Than only the admin has access to the Package installation wizard, or set the right that are suitable for you.&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-03-28T15:50:58.767" LastActivityDate="2019-03-28T15:50:58.767" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17768" PostTypeId="2" ParentId="17766" CreationDate="2019-03-28T16:08:04.170" Score="4" Body="&lt;h2&gt;Use Role Inheritance&lt;/h2&gt;&#xA;&lt;p&gt;Your existing roles, which contain the shared access rules that are common among all of the secondary roles, should be members of the secondary roles.&lt;/p&gt;&#xA;&lt;h3&gt;Creating the Base Role&lt;/h3&gt;&#xA;&lt;p&gt;For example, let's say that your Base Role, we'll call it &amp;quot;Base Author&amp;quot; has access to all of the Media Libary, and all of your shared content. This will include all of the &lt;strong&gt;shared&lt;/strong&gt; items and Sitecore default roles (as members) that are common among all of the secondary roles.  So it might look something like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wfpZ1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wfpZ1.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;And in Security Editor:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/15hB6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/15hB6.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Creating the Secondary Role&lt;/h3&gt;&#xA;&lt;p&gt;So for the purposes of this example, I'm going to call my role &amp;quot;Headmaster Editor&amp;quot;.  It's a member of the &lt;strong&gt;Base Author&lt;/strong&gt; role.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KJrzB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KJrzB.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In Security Editor:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YoQdw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YoQdw.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Assign the Secondary Role only to a user:&lt;/h3&gt;&#xA;&lt;p&gt;Adding the secondary role inherits all of the other roles.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/dgtK4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dgtK4.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Magic Permission - Breaking Inheritance&lt;/h2&gt;&#xA;&lt;p&gt;Breaking the Inheritance of Descendants makes it possible to prevent any access to any content item UNLESS it has been given a Green Check mark in Security editor. Sitecore's role security is strict on &amp;quot;Red X's&amp;quot; for preventing access.  Once a role has a Red X, it doesn't matter if other roles have Green Checkmarks, that user won't have access.  So, instead of doling out Red X's, break the inheritance, and then only provide given access via Green Checkmarks. I do this by taking the &lt;strong&gt;sitecore/Author&lt;/strong&gt; role, which is out of the box, and breaking the descendent inheritance on the &lt;strong&gt;/sitecore/content&lt;/strong&gt; item.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VSDaK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VSDaK.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;Reviewing our Work&lt;/h2&gt;&#xA;&lt;h3&gt;Base Author Role&lt;/h3&gt;&#xA;&lt;p&gt;You can see here that Base Author Role only has access to the items that we gave it above.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qs6o2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qs6o2.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3&gt;Headmaster Editor Role&lt;/h3&gt;&#xA;&lt;p&gt;But that the Headmaster Role has everything in the Base + Plus the content from the Headmaster Role.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/MSdWr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MSdWr.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h1&gt;In Summary&lt;/h1&gt;&#xA;&lt;p&gt;The art and magic of role permissions is to be as simple as possible. If you're checking boxes all over the place and using red x's all over the place, you're doing it wrong.  Keep it simple.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-28T16:08:04.170" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17769" PostTypeId="2" ParentId="17766" CreationDate="2019-03-28T17:30:52.110" Score="6" Body="&lt;p&gt;I've written a powershell script which should do the magic for you. I suggest you backup your database before running it, just in case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It searches for &lt;code&gt;ar|ROLE_DOMAIN\ROLE_NAME|&lt;/code&gt; string in &lt;code&gt;__Security&lt;/code&gt; fields of all the items under the &lt;code&gt;$root&lt;/code&gt; item, looks for the next role or user in the security, and duplicates that role access rights to the second role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script only takes into account access rights assigned to the role directly - it doesn't take into account access rights inherited from other roles.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#settings&#xA;$roleName = &quot;sitecore\RoleA&quot;&#xA;$newRoleName = &quot;sitecore\RoleB&quot;&#xA;$root = &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot; &#xA;&#xA;$roleSecurityString = &quot;ar|&quot; + $roleName + &quot;|&quot;&#xA;$items = @(Get-Item -Path $root) + @(Get-ChildItem -Path $root -Recurse)&#xA;foreach ($item in $items) {&#xA;    if ($item[&quot;__Security&quot;].Contains($roleSecurityString)) {&#xA;        $roleRights = &quot;&quot;&#xA;&#xA;        $startIndex = $item[&quot;__Security&quot;].IndexOf($roleSecurityString);&#xA;        $endIndex = $item[&quot;__Security&quot;].IndexOf(&quot;|ar|&quot;, $startIndex + 1);&#xA;&#xA;        if ($endIndex -eq -1) {&#xA;            $endIndex = $item[&quot;__Security&quot;].IndexOf(&quot;|au|&quot;, $startIndex + 1);&#xA;        }&#xA;        if ($endIndex -eq -1) {&#xA;            $endIndex = $item[&quot;__Security&quot;].Length;&#xA;        } else {&#xA;            $endIndex++;&#xA;        }&#xA;&#xA;        $roleRights = $item[&quot;__Security&quot;].Substring($startIndex, $endIndex - $startIndex);&#xA;        $newRoleRights = $roleRights.Replace($roleName, $newRoleName);&#xA;        $item.Editing.BeginEdit()&#xA;        $item[&quot;__Security&quot;] = $item[&quot;__Security&quot;].Replace($roleRights, $roleRights + $newRoleRights);&#xA;        $item.Editing.EndEdit()&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-28T17:30:52.110" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17770" PostTypeId="1" CreationDate="2019-03-28T17:34:43.673" Score="2" ViewCount="318" Body="&lt;p&gt;I am in the middle of writing a plugin to get product recommendations from a particular user to display on the XP Storefront side. I wrote my plugin to return a RecommendationList (which inherits from &lt;code&gt;CommerceEntity&lt;/code&gt;). Inside the &lt;code&gt;ConfigureServiceApiBlock&lt;/code&gt;, I setup the configuration like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var getRecommendationsAction = modelBuilder.Function(&quot;GetRecommendations&quot;);&#xA;getRecommendationsAction.Parameter&amp;lt;string&amp;gt;(&quot;customerId&quot;);&#xA;getRecommendationsAction.ReturnsFromEntitySet&amp;lt;RecommendationList&amp;gt;(&quot;Api&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and, in the ApiController, I set up the Recommendations call like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public async Task&amp;lt;IActionResult&amp;gt; GetRecommendations(string customerId)&#xA;    {&#xA;        var recommendationList = await command.Process(this.CurrentContext, customerId);&#xA;        return recommendationList != null ? (IActionResult)new ObjectResult((object)recommendationList) : (IActionResult)this.NotFound();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the Sitecore side, I setup an &lt;code&gt;OData&lt;/code&gt; Connected Service to my commerce engine to the proper models and container to make the call. I created an extension method to get the shops container the same way the &lt;code&gt;EngineConnectUtility&lt;/code&gt; does and make my call to get the recommendations in the &lt;code&gt;Pipeline Processor&lt;/code&gt; like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var recommendationsRequestQuery = container.GetRecommendations(request.CustomerId);&#xA;var recommendationsResult = Proxy.GetValue(recommendationsRequestQuery);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem is, every time I make the call to get the recommendations, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.InvalidOperationException: 'The response payload is a not a valid response payload. Please make sure that the top level element is a valid Atom or JSON element or belongs to '&lt;a href=&quot;http://docs.oasis-open.org/odata/ns/data&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://docs.oasis-open.org/odata/ns/data&lt;/a&gt;' namespace.'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I am not sure why I am getting this error and have been digging through it for a while. I made a test call to get a category from the very same container I used to get the recommendations and it works just fine. So, something tells me that there is something either wrong with the response object or the Context of the container. &lt;/p&gt;&#xA;" OwnerUserId="787" LastEditorUserId="5096" LastEditDate="2019-05-10T18:35:32.180" LastActivityDate="2019-05-10T18:35:32.180" Title="How to make Connect call to Commerce Engine" Tags="|sitecore-commerce|commerce-connect|odata|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17771" PostTypeId="2" ParentId="17770" CreationDate="2019-03-28T18:44:14.400" Score="1" Body="&lt;p&gt;Figured out the answer! After digging around the the commerce assemblies on the Engine side, I found that I needed to add the following in the ConfigureServiceApiBlock:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; modelBuilder.AddEntityType(typeof(RecommendationList));&#xA; modelBuilder.EntitySet&amp;lt;RecommendationList&amp;gt;(&quot;Recommendations&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Postman was fine with not having this set in here and I was able to see the json result. However, the OData connect did not accept it.&lt;/p&gt;&#xA;" OwnerUserId="787" LastActivityDate="2019-03-28T18:44:14.400" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17772" PostTypeId="1" CreationDate="2019-03-28T19:52:19.077" Score="1" ViewCount="630" Body="&lt;p&gt;I have a pre-existing Sitecore 9 instance that houses an existing website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a new solution, with a new web project, and am attempting to install this project into the existing Sitecore 9 instance.  This new web project simply exposes a handful of Controller Actions that return JSON.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have decided to create this new project using MVC Areas. Currently, the project is empty except for an Area Registration and a single controller with a single action.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyApiAreaRegistration : AreaRegistration&#xA;{&#xA;    public override string AreaName&#xA;    {&#xA;        get&#xA;        {&#xA;            return &quot;MyApi&quot;;&#xA;        }&#xA;    }&#xA;&#xA;    public override void RegisterArea(AreaRegistrationContext context)&#xA;    {&#xA;        context.Namespaces.Add(&quot;MyApi.Web.Areas.MyApi.Controllers&quot;);&#xA;&#xA;        var aboutRoute = context.MapRoute(&#xA;            &quot;MyApi_about&quot;,&#xA;            &quot;myapi/about/version&quot;,&#xA;            new { controller = &quot;About&quot;, action = &quot;Version&quot;},&#xA;            new[] {&quot;MyApi.Web.Areas.MyApi.Controllers&quot;});&#xA;&#xA;        aboutRoute.RouteHandler = new Sitecore.Mvc.Routing.RouteHandlerWrapper(aboutRoute.RouteHandler);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This project has the following nuget references:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;package id=&quot;Microsoft.AspNet.Mvc&quot; version=&quot;5.2.3&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.AspNet.Razor&quot; version=&quot;3.2.4&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.AspNet.WebPages&quot; version=&quot;3.2.4&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Microsoft.Web.Infrastructure&quot; version=&quot;1.0.0.0&quot; targetFramework=&quot;net462&quot; /&amp;gt;&#xA;&amp;lt;package id=&quot;Sitecore.Mvc.NoReferences&quot; version=&quot;9.0.171219&quot; targetFramework=&quot;net462&quot; developmentDependency=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the &lt;code&gt;AboutController&lt;/code&gt; referenced above simply returns a JSON Response with the assembly info version number.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I compile this project, I get a single .dll file. I copy this .dll file to my running Sitecore instance and restart it within IIS. When I go to check my logs, however, I do not see where the &quot;MyApi&quot; area is registered. What else must be done to register a custom area within Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="35" LastEditDate="2019-03-29T07:20:44.057" LastActivityDate="2019-04-01T13:10:27.227" Title="How do you register an MVC Area with Sitecore 9?" Tags="|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17773" PostTypeId="2" ParentId="17567" CreationDate="2019-03-28T23:16:33.427" Score="1" Body="&lt;p&gt;I fixed this by updating to the latest version of Rocks, then restarting VS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To update Rocks: -&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Right-click the connection name under 'Connections' in Sitecore Explorer&lt;/li&gt;&#xA;&lt;li&gt;from the menu choose &quot;Connections&quot; / &quot;Update Server Components&quot;&lt;/li&gt;&#xA;&lt;li&gt;Hit &quot;Update All&quot;. At time of writing latest version was 2.1.88.0&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1786" LastActivityDate="2019-03-28T23:16:33.427" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17774" PostTypeId="1" CreationDate="2019-03-29T01:53:23.853" Score="0" ViewCount="65" Body="&lt;p&gt;I am using Sitecore9Update2 and configuring EXM in localbox.I am able to sent emails but reports are not updating.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hCZPm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hCZPm.png&quot; alt=&quot;EXM Report&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KU8aC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KU8aC.png&quot; alt=&quot;EXM Dashboard&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1755" LastActivityDate="2019-03-29T01:53:23.853" Title="Sitecore EXM Sent Email Campaign Reports are not updating" Tags="|exm|" AnswerCount="0" CommentCount="2" ClosedDate="2019-03-29T16:20:29.857" ContentLicense="CC BY-SA 4.0" />
  <row Id="17775" PostTypeId="2" ParentId="17756" CreationDate="2019-03-29T04:48:02.077" Score="1" Body="&lt;p&gt;Based on your example, you could do the following to compare the results:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$criteria = @(&#xA;    @{Filter = &quot;Equals&quot;; Field = &quot;_template&quot;; Value = &quot;{DAF085E8-602E-43A6-8299-038FF171349F}&quot;}&#xA;)&#xA;&#xA;$masterResults = Find-Item -Index &quot;sitecore_master_index&quot; -Criteria $criteria | Select-Object -Property ItemId,DatabaseName&#xA;$webResults = Find-Item -Index &quot;sitecore_web_index&quot; -Criteria $criteria | Select-Object -Property ItemId,DatabaseName&#xA;&#xA;Compare-Object -ReferenceObject $masterResults -DifferenceObject $webResults -Property ItemId&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From the screenshot below you can see that the objects in the &lt;code&gt;$webResults&lt;/code&gt; variable reflects results from the &lt;strong&gt;web&lt;/strong&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V2Xgn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V2Xgn.png&quot; alt=&quot;Results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the results above, you want to &quot;get&quot; the items from the database, then you'll want to pass the items through &lt;code&gt;Initialize-Item&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mDdaj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mDdaj.png&quot; alt=&quot;Proof that it&amp;#39;s from Web&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-03-30T03:45:25.967" LastActivityDate="2019-03-30T03:45:25.967" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="17776" PostTypeId="1" CreationDate="2019-03-29T05:08:05.283" Score="-1" ViewCount="859" Body="&lt;p&gt;We are using &lt;strong&gt;Glass Mapper&lt;/strong&gt; to map the values from Sitecore.&#xA;&lt;code&gt;System.Collection.Specialized.NameValueCollection&lt;/code&gt; is used in &lt;strong&gt;Glass Mapper&lt;/strong&gt; class to map &lt;code&gt;Name Value List&lt;/code&gt; from Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This example data is correctly working&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;column1css:test1&lt;br&gt;&#xA;  column2css:test2&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But the below example is mapping only the first item&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;column1css:test1 test3&lt;br&gt;&#xA;  column2css:test2 test4&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The second item is not mapping. Please mind the space between the values.&lt;/p&gt;&#xA;" OwnerUserId="3608" LastEditorUserId="277" LastEditDate="2019-03-29T06:45:33.210" LastActivityDate="2023-07-23T11:12:11.343" Title="Space with 'Name Value List' in Sitecore" Tags="|glass-mapper|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17779" PostTypeId="1" AcceptedAnswerId="17788" CreationDate="2019-03-29T07:10:09.630" Score="1" ViewCount="231" Body="&lt;p&gt;I'm working with Sitecore MVC. I have a problem with my sitecore html helper. when I call &lt;code&gt;@Html.Sitecore().DynamicPlaceholder(&quot;placeholderKey&quot;)&lt;/code&gt; it will work successfully but, when I try adding some arguments it will not work.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Error message&lt;/strong&gt; : No overload for method 'DynamicPlaceholder' takes 3 arguments.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It just the DynamicPlaceholder with single argument works other overloading methods won't. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me. It's been a struggle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Sample use of Dynamic Placeholder :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JrTcN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JrTcN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Output screenshot : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wqKRO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wqKRO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5308" LastEditorUserId="35" LastEditDate="2019-03-29T07:19:29.053" LastActivityDate="2019-03-29T09:24:56.300" Title="Sitecore Html helper Dynamic Placeholder doesn't accept more than 1 arguments" Tags="|sitecore-client|sitecore-forms|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17780" PostTypeId="1" AcceptedAnswerId="17781" CreationDate="2019-03-29T07:51:17.373" Score="2" ViewCount="193" Body="&lt;p&gt;I used &lt;code&gt;Find-Item&lt;/code&gt; to get the items on my &lt;code&gt;sitecore_master_index&lt;/code&gt;. However, the results contains same &lt;code&gt;ID&lt;/code&gt; but with different languages. I have found out that this item has many language versions in the content tree. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I filter or show only one of the duplicates in the results?&lt;/p&gt;&#xA;" OwnerUserId="5307" LastEditorUserId="277" LastEditDate="2019-03-29T08:27:51.727" LastActivityDate="2019-03-29T08:28:01.157" Title="How can I filter or show only one of the duplicates in the results when using Find-Item command?" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17781" PostTypeId="2" ParentId="17780" CreationDate="2019-03-29T07:55:30.910" Score="2" Body="&lt;p&gt;You can add language en as parameter to your &lt;code&gt;Find-Item&lt;/code&gt; method . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this way you show just items in English. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will have something like: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Find-Item &#xA;        -Index sitecore_master_index `&#xA;        -Criteria @{Filter = &quot;Equals&quot;; Field = &quot;_templatename&quot;; Value = &quot;Template Field&quot;; CaseSensitive = $true},&#xA;                  @{Filter = &quot;Equals&quot;; Field = &quot;_language&quot;; Value = &quot;en&quot;; CaseSensitive = $true}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastEditorUserId="277" LastEditDate="2019-03-29T08:28:01.157" LastActivityDate="2019-03-29T08:28:01.157" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17782" PostTypeId="2" ParentId="14252" CreationDate="2019-03-29T08:18:34.743" Score="1" Body="&lt;p&gt;As commenters above have said, there isn't a definitive list of patches for a specific version.&lt;/p&gt;&#xA;" OwnerUserId="444" LastActivityDate="2019-03-29T08:18:34.743" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17783" PostTypeId="2" ParentId="14252" CreationDate="2019-03-29T08:31:08.233" Score="0" Body="&lt;p&gt;Even though there is no definitive list of patches for a specific Sitecore version, the best approach to this is to contact &lt;a href=&quot;http://support.sitecore.net/helpdesk&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Support&lt;/a&gt;. By providing them your Sitecore version, they can easily pull out the list of recommended patches that you required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did a Sitecore upgrade from 7.2 to 8.1 and the 7.2 instance had several Sitecore patches. By contacting Sitecore Support, they told me which patch is still required on the Sitecore 8.1.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-03-29T08:31:08.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17784" PostTypeId="2" ParentId="17776" CreationDate="2019-03-29T08:45:40.767" Score="0" Body="&lt;p&gt;It is not clear what do you use for &lt;strong&gt;Key&lt;/strong&gt; and what for &lt;strong&gt;Value&lt;/strong&gt;. &#xA;If your case is:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/wBR4q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wBR4q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should work (be mapped) correctly:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface INameValueList : ISitecoreItem&#xA;{&#xA;    [SitecoreField(&quot;Values&quot;)]&#xA;    NameValueCollection Values { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RDAfo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RDAfo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just check your solution, it is not GlassMapper bug. &lt;strong&gt;Value&lt;/strong&gt; can be any string. Whitespaces are not allowed for &lt;strong&gt;Key&lt;/strong&gt; only (if you try for example to set &lt;strong&gt;Key&lt;/strong&gt; value to &quot;test1 test3&quot; if will be replaced with &quot;test1_test3&quot; automatically on item save).&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="35" LastEditDate="2019-03-29T10:06:09.117" LastActivityDate="2019-03-29T10:06:09.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17786" PostTypeId="1" AcceptedAnswerId="17925" CreationDate="2019-03-29T09:20:56.373" Score="7" ViewCount="1796" Body="&lt;p&gt;I've created a Two Factor Authentication. It's working by adding our custom processor before &lt;strong&gt;Sitecore.Pipelines.LoggedIn.Ticket&lt;/strong&gt;. But now in 9.1 with Identity Server, it won't be triggered unless I disabled Identity Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you guys have a workaround to add 2FA within Identity Server, or at least interfere login process within Identity Server?&#xA;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4774" LastEditorUserId="4774" LastEditDate="2019-04-04T03:17:58.180" LastActivityDate="2019-05-05T03:04:15.873" Title="Sitecore Logged In Pipeline in Identity Server?" Tags="|pipelines|authentication|federated-authentication|identity-server|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17787" PostTypeId="2" ParentId="13980" CreationDate="2019-03-29T09:20:59.607" Score="2" Body="&lt;p&gt;There are two ways for deployment&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;1. Unicorn - It’s open source which is installed via NuGet.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;a. Install Unicorn&lt;/p&gt;&#xA;&lt;p&gt;b. Please check the unicorn folders and it’s related configuration files created on the path App_Config/Include/Unicorn.&lt;/p&gt;&#xA;&lt;p&gt;c. Unicorn provide an example configuration file in that folder(Uncorn.Configs.Default.example.file).&#xA;Open the file and find  node on the file and include the paths that contains items that you need to be serialized.&lt;/p&gt;&#xA;&lt;p&gt;d. Publish your items and deploy your solution. Navigate to webroot/App_Data/Unicorn and check the empty folders are created that you are provided in the configuration file.&lt;/p&gt;&#xA;&lt;p&gt;e. All now set, To perform serialize , run /Unicorn.aspx page.the default unicorn dashboard opens,Click perform initial serialization button, this will creates a serialized files in the webroot/App_Data/Unicorn/ location.&#xA;f. check -in the serialized items.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;2. TDS -  not a open source&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;a. It keeps tracking of changes in your project.&#xA;b. we can easily select changed items and build a package and deploy.&lt;/p&gt;&#xA;&lt;p&gt;for more info&#xA;&lt;a href=&quot;http://rajsitecore.blogspot.com/2018/11/serializing-items-using-unicorn-in.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://rajsitecore.blogspot.com/2018/11/serializing-items-using-unicorn-in.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-29T09:20:59.607" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17788" PostTypeId="2" ParentId="17779" CreationDate="2019-03-29T09:22:55.540" Score="1" Body="&lt;p&gt;Sitecore &lt;code&gt;Dynamic Placeholders&lt;/code&gt; were introduced in Sitecore 9. You can read about it e.g. here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jammykam.wordpress.com/2017/10/17/sitecore-9-dynamic-placeholders/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2017/10/17/sitecore-9-dynamic-placeholders/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you wrote in your comment, you're using &lt;strong&gt;Sitecore 8.2&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It means that you're using some custom implementation of Dynamic Placeholders and you're trying to use methods which are only in Sitecore 9 ( &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/dynamic-placeholders.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/dynamic-placeholders.html&lt;/a&gt; ). That's why you see compilation errors.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-29T09:22:55.540" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17790" PostTypeId="1" AcceptedAnswerId="17791" CreationDate="2019-03-29T09:45:05.087" Score="2" ViewCount="516" Body="&lt;p&gt;I used &lt;code&gt;Find-Item&lt;/code&gt; to get the items on my &lt;code&gt;sitecore_master_index&lt;/code&gt;. Now, I want to get the presentation details of each item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do get each rendering/presentation details?&lt;/p&gt;&#xA;" OwnerUserId="5307" LastEditorUserId="277" LastEditDate="2019-03-29T09:50:20.293" LastActivityDate="2019-03-29T09:50:20.293" Title="How can I get the renderings when using the Find-Item command?" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17791" PostTypeId="2" ParentId="17790" CreationDate="2019-03-29T09:48:47.143" Score="5" Body="&lt;p&gt;The output of &lt;code&gt;Find-Item&lt;/code&gt; command is a &lt;code&gt;SearchResultItem&lt;/code&gt; object. You need to call &lt;code&gt;GetItem()&lt;/code&gt; on it first and then you can run commands which will return presentation details. I'm not sure exactly what you want to return but sample code goes as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$criteria = @(&#xA;    ...&#xA;)&#xA;$props = @{&#xA;    Index = &quot;sitecore_master_index&quot;&#xA;    Criteria = $criteria&#xA;}&#xA;$searchResultItems = Find-Item @props&#xA;&#xA;foreach ($searchResultItem in $searchResultItems) {&#xA;    $searchResultItem.GetItem() | Get-Rendering -FinalLayout&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-03-29T09:48:47.143" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17792" PostTypeId="1" AcceptedAnswerId="17794" CreationDate="2019-03-29T09:59:38.783" Score="3" ViewCount="493" Body="&lt;p&gt;We are using Azure Search on Sitecore 8.2 update 7 and have enabled switch on rebuild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is documented here: &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/zero-downtime-index-rebuild-in-azure-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/zero-downtime-index-rebuild-in-azure-search.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Use the Azure Search Switch On Rebuild feature to avoid Search&#xA;  functionality downtime during a full rebuild of the Sitecore Search&#xA;  index.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The issue we are seeing is that when the index is rebuilt (e.g 'my-custom-web-index') it is renamed to 'my-custom-web-index-secondary'. And we are referencing it by name as 'my-custom-web-index' when querying it using the content search API, this then results in not being able to find the index and therefore returning no results - since it is now called 'my-custom-web-index-secondary'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My understanding is that the primary index name is stored in the Core database: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/16533/how-is-the-name-of-the-primary-index-name-stored-when-using-switchonrebuild-in-a&quot;&gt;How is the name of the primary index name stored when using SwitchOnRebuild in Azure Search?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The explanation of how switch on rebuild works is as follows:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;After a power user requests a full rebuild of the Sitecore Search&#xA;  index(es), the following process takes place:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The Sitecore Azure Search provider creates a new index for the full&#xA;  rebuild operation.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;While Sitecore writes data into the new index, the search provider&#xA;  continues to use the old one.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;When the full rebuild is complete, the Sitecore Azure Search provider&#xA;  sends a corresponding remote event (index:switchonrebuild) to all&#xA;  roles.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Each role processes the remote 'index:switchonrebuild' event and&#xA;  switches the search service over to work with the newly rebuilt index.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;The SwitchOnRebuildCleanUpDelay setting controls the delay that allows&#xA;  other roles to process the remote event and switch index.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;After the time-buffer delay runs out (controlled by the&#xA;  SwitchOnRebuildCleanUpDelay setting), and the rebuilt index becomes&#xA;  the primary search index, Sitecore deletes the previous search index.&#xA;  This delay allows the other roles time to process the remote event and&#xA;  switch indexes.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However this doesn't really explain what the index is renamed to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does the name of the index bounce between 'my-custom-web-index-secondary' and 'my-custom-web-index' each time it's rebuilt?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this the expected functionality? and if so how do I go about querying it using the content search API?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had a discussion in Slack with Peter Rydetorp and he suggested that CloudSearchProviderIndex has an GetCloudIndexName method which I could potentially use to get the index name but I'm not quite sure how to go about this.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-04-28T11:01:35.483" Title="Getting the primary Azure Search Index name after index re-build" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17793" PostTypeId="2" ParentId="17529" CreationDate="2019-03-29T10:05:57.430" Score="1" Body="&lt;p&gt;It looks like you might have a global namespace declared in your Web.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your Web.config for the namespace &lt;em&gt;Glass.Mapper.Sc&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You shouldn't need to have a namespace for this in your root Web.config and these should be configured in the views folder.&lt;/p&gt;&#xA;" OwnerUserId="222" LastActivityDate="2019-03-29T10:05:57.430" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17794" PostTypeId="2" ParentId="17792" CreationDate="2019-03-29T10:43:57.023" Score="4" Body="&lt;p&gt;You should not be worried about the actual physical index when doing a query. Your code uses the index ID as in the config, and Sitecore should take care of finding the correct index (at least, that is my experience with 9.0.2). If that is not working in 8.2.7 - call Support ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems logical as well that your query code should not be aware of any setting regarding switchOnRebuild and such. The underlying Sitecore API that translates the code into the actual query has to take care of that (and normally it does).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to debug, try to check the Core properties table to see if the correct index is in there (there are versions -like 9.0.2- with a bug when a server was not alive/awake during a rebuild it might take a wrong index - could happen with staging slots e.g.).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But a first quick check should be the logs. The search logs will give you the exact query that is performed including the index name. You should be able to detect there if the secondary is used or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: if you need to get to the properties table and don't have db access, I think you can get the values with &lt;code&gt;database.PropertyStore.Get...&lt;/code&gt;  (not tested)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-03-29T10:43:57.023" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17795" PostTypeId="2" ParentId="17776" CreationDate="2019-03-29T10:46:23.083" Score="-1" Body="&lt;p&gt;We ran into that issue as well.  We were able to resolve it by following this blog post. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://trnktms.com/2016/10/15/sitecore-name-value-list-field-with-special-characters/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://trnktms.com/2016/10/15/sitecore-name-value-list-field-with-special-characters/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to note is that you need to provide the assembly and class when you add the item to the core DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mVA31.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mVA31.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-03-29T10:46:23.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17796" PostTypeId="1" CreationDate="2019-03-29T11:22:26.773" Score="2" ViewCount="554" Body="&lt;p&gt;I've done alot of looking around but I can't seem to find the answer to an issue I am facing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to use the UrlRewrite module from the Sitecore marketplace to perform language specific redirects?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, let's say I have a multilingual site called &lt;em&gt;example1.com&lt;/em&gt; and I want &lt;em&gt;example1.com/&lt;strong&gt;en&lt;/strong&gt;/initial-url&lt;/em&gt; to redirect to &lt;em&gt;example1.com/&lt;strong&gt;en&lt;/strong&gt;/redirected-url&lt;/em&gt;,&#xA;but I only want this to happen for the 'en' language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wouldn't want &lt;em&gt;example1.com/&lt;strong&gt;fr&lt;/strong&gt;/initial-url&lt;/em&gt; to redirect anywhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Match section of the inbound rule I created, these were the values of each field: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Match Type - Matches the Pattern &lt;br&gt;&#xA;Using - Regular Expressions&lt;br&gt;&#xA;Pattern - &lt;code&gt;en\-gb\/questions.*&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&#xA;I've managed to get this working by amending the &lt;code&gt;Languages.AlwaysStripLanguage&lt;/code&gt;&#xA;setting to &lt;code&gt;true&lt;/code&gt;. As recommended by jrap, test thoroughly if you change this setting. &lt;/p&gt;&#xA;" OwnerUserId="5310" LastEditorUserId="5310" LastEditDate="2019-04-11T08:40:21.573" LastActivityDate="2019-04-11T08:40:21.573" Title="Language specific redirects with UrlRewrite sitecore module" Tags="|multilingual|redirect|urls|url-rewrite|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="17797" PostTypeId="1" CreationDate="2019-03-29T12:42:29.820" Score="0" ViewCount="73" Body="&lt;p&gt;We are using WFFM &quot;Send Email Message&quot; save action to send mails after submitting the form.The mails are being sent successfully to some domains but it fails to send to few domains. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also sending the mails is not consistent sometimes the mails are sent and sometime it is failing for the same domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.2 update 3 and WFFM 8.2 update 4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not understanding whether this issue with WFFM save action or some thing to do with Mail server.&lt;/p&gt;&#xA;" OwnerUserId="1913" LastActivityDate="2019-03-29T12:42:29.820" Title="WFFM Send Email save action issue" Tags="|wffm|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17798" PostTypeId="2" ParentId="17739" CreationDate="2019-03-29T12:53:37.517" Score="0" Body="&lt;p&gt;I agreed with Igor, it is very unsafe to use such manipulations, but I found dirty solution for this :)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Working solution to Sitecore 9.1 based on Igor's gist - &lt;a href=&quot;https://gist.github.com/Mickey-P/6adb8081c5bec69b366c50ba337a5202&quot; rel=&quot;nofollow noreferrer&quot;&gt;solution with decoding of message&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5263" LastActivityDate="2019-03-29T12:53:37.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17799" PostTypeId="1" CreationDate="2019-03-29T15:15:28.850" Score="0" ViewCount="710" Body="&lt;p&gt;Sitecore 8.1 rev 160302.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've inherited a website that I'm having issues with the indexes. There is 1xCM server and 3xCD servers. We're using Lucene so have separate versions of the indexes on all 3 CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is, none of these are sync'd up. Looking at the data in Luke:&#xA;sitecore_web_index: CD1: 564 docs, last mod 29.03, CD2: 426 docs, last mod 27.03 etc..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our custom index is the same - different numbers of records on different servers and wildly different modified times. On CD2, the index hasn't even been built!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I &lt;em&gt;think&lt;/em&gt; the culprit might lie in the scalabilitysettings.config which is enabled but the InstanceName is empty. This is true certainly for one of the CD servers. I can't get access to look at the other two, but I'm guessing if they're the same, then it might lead to this issue? &lt;strong&gt;HOWEVER&lt;/strong&gt;, I thought if it was empty, Sitecore would generate an instance name of [machinename]-[iis-sitename]??&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only other weirdness I can think of is that they publish to &quot;pub&quot; (which points to web). If I change the content editor to web after a publish, I can't see the items in the tree (even if I manually clear caches), whereas if I switch to &quot;pub&quot;, I can!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it does boil down to instancename, then I can probably jump through some hoops to get that changed, but I have a nagging little bell in the back of my head that this causes other issues? I might be wrong, but I'm sure I've updated it on a previous project and something blew up?!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help appreciate. Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've managed to compare the configs and the plot thickens, although it's added to the confusion: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;CM has pub and web setup in connectionstrings. &#xA;web is pointing to SQL1&#xA;pub is pointing SQL2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CD servers are pointing SQL2. On authoring we publish to pub, so changes show up in the delivery environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, onpublishAsync on the CM is pointing to web (SQL1). So, I guess nothing is going into correct eventqueue (the one the CD servers will be pointing to).&#xA;The question now is, how is &lt;strong&gt;anything&lt;/strong&gt; being indexed?&lt;/p&gt;&#xA;" OwnerUserId="2046" LastEditorUserId="2046" LastEditDate="2019-04-03T11:50:55.647" LastActivityDate="2019-04-03T11:50:55.647" Title="Instance name in multi-CD setup" Tags="|configuration|indexing|lucene|content-delivery|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17800" PostTypeId="2" ParentId="17799" CreationDate="2019-03-29T16:24:06.270" Score="2" Body="&lt;p&gt;Sitecore has been very specific that Lucene should not be used in scaled out environments. This is because every CD may have a different index, and demonstrate the issue that you are reporting.  Sitecore's &lt;a href=&quot;https://doc.sitecore.com/developers/81/sitecore-experience-platform/en/using-solr-or-lucene.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;own documentation&lt;/a&gt; says:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;You must use Solr if you have a scaled environment.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The recommendation to fix this issue is to install Solr and have all CD's reading from the same index.&lt;/p&gt;&#xA;&lt;h2&gt;Instance Name in Multi-CD&lt;/h2&gt;&#xA;&lt;p&gt;As you note, the ScalbilitySettings.config for &lt;code&gt;InstanceName&lt;/code&gt;, when set to empty does indeed use &lt;code&gt;&amp;lt;machinename&amp;gt;-&amp;lt;sitename&amp;gt;&lt;/code&gt; as a default value.  As long as all of the CD's are using a different machine name and/or sitename, then the EventQueue should be correct.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-03-29T16:24:06.270" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17802" PostTypeId="1" AcceptedAnswerId="17827" CreationDate="2019-03-29T18:46:05.793" Score="0" ViewCount="172" Body="&lt;p&gt;I am not able to do any action in workbox, As most of the action redirect me back to the workbox page with port number in the url. And we have not opened that port number for internal access, so it taking us to site not available page. I want to know how to avoid the port number in the worbox page action url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: If i select refresh option in the workbox. its making post call to &lt;code&gt;sitecore/shell/Applications/Workbox.aspx?sc_bw=1&lt;/code&gt; and in response i am getting url with port number like  this below &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;commands&quot;: &#xA;  [{&#xA;    &quot;command&quot;:&quot;SetAttribute&quot;,&#xA;    &quot;value&quot;:&quot;/temp/iconcache/people/16x16/user1.png&quot;,&#xA;    &quot;id&quot;:&quot;globalHeaderUserPortrait&quot;,&#xA;    &quot;name&quot;:&quot;src&quot;&#xA;  },&#xA;  {&#xA;    &quot;command&quot;:&quot;SetPipeline&quot;,&#xA;    &quot;value&quot;:&quot;2D8C27809F764B95B6A1782D7A36DB57&quot;&#xA;  }, &#xA;  {&#xA;    &quot;command&quot;:&quot;SetLocation&quot;,&#xA;    &quot;value&quot;:&quot;https://sitename:44300/sitecore/shell/Applications/Workbox.aspx?sc_bw=1&amp;amp;reload=1&quot;&#xA;  }]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After that response it will redirect me to the &lt;code&gt;https://sitename:44300/sitecore/shell/Applications/Workbox.aspx?sc_bw=1&amp;amp;reload=1&lt;/code&gt; url with port number in the response which is not accessible outside the server.&lt;/p&gt;&#xA;" OwnerUserId="4032" LastEditorUserId="73" LastEditDate="2019-05-27T09:33:33.987" LastActivityDate="2019-05-27T09:33:33.987" Title="Port number coming in workbox actions" Tags="|workbox|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17804" PostTypeId="1" AcceptedAnswerId="17806" CreationDate="2019-03-29T20:12:28.057" Score="1" ViewCount="640" Body="&lt;p&gt;Suddenly I'm having an issue with users who aren't admin users not seeing the media library item.  They can still get to the media library via the tab the the bottom right or through the launchpad, but it used to show in the content editor tab alongside the content node, but now it's gone.  No permissions have changed as far as I know and access viewer shows read access to it for the users who aren't seeing it.  Did I just imagine it being there for them or did something change in my system to cause it to go away?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-03-29T21:45:23.097" Title="Media library not visible to non-admin users within content editor" Tags="|permissions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17805" PostTypeId="2" ParentId="17564" CreationDate="2019-03-29T20:27:46.490" Score="1" Body="&lt;p&gt;It turns out that I was using wrong sitecore version image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;$env:SITEPATH is defined in the base image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All variables defined in a base image are available to the images (containers) that are on base image.&lt;/p&gt;&#xA;" OwnerUserId="316" LastActivityDate="2019-03-29T20:27:46.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17806" PostTypeId="2" ParentId="17804" CreationDate="2019-03-29T21:45:23.097" Score="3" Body="&lt;p&gt;If i understood correct, non admin users are not able to see the Media Library node under Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WFdW6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WFdW6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just check the View tab and &quot;Entire Tree&quot; option, if it is unchecked then the media library will not be visible to the user. If your non admin user want to see everything [whatever he has access] then the &quot;Hidden Items&quot; needs to be checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an additional note, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are looking for the &quot;Media Library&quot; left bottom between &quot;Content Editor&quot; and &quot;Workbox&quot; then check the security of the item &quot;/sitecore/content/Applications/Content Editor/Applications/MediaLibraryForm&quot; in core DB. [this is the one displayed there]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are looking for the &quot;Media Library&quot; in the start menu left side then check the security of the item &quot;/sitecore/content/Documents and settings/All users/Start menu/Left/Media Library&quot; in core DB [this is the one displayed there]&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-03-29T21:45:23.097" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17807" PostTypeId="2" ParentId="10394" CreationDate="2019-03-30T01:49:31.563" Score="0" Body="&lt;p&gt;Going to add this for others who find themselves here, as there can be numerous reasons for a slow process. Mine was particularly Mongo related. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, in addition to &lt;a href=&quot;https://sitecore.stackexchange.com/a/13139/5248&quot;&gt;Alex Von Wolferen's Answer&lt;/a&gt;, the following index is helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;db.Outcomes.createIndex({&quot;InteractionId&quot;: 1})&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second, be sure that your MongoDB server has the following set in accord with the &lt;a href=&quot;https://docs.mongodb.com/manual/reference/ulimit/&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDB docs&lt;/a&gt;. The &lt;code&gt;-l&lt;/code&gt; flag was particularly important for these types of full database scans. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;-f (file size): unlimited&#xA;-t (cpu time): unlimited&#xA;-v (virtual memory): unlimited &lt;a href=&quot;https://docs.mongodb.com/manual/reference/ulimit/&quot; rel=&quot;nofollow noreferrer&quot;&gt;2&lt;/a&gt;&#xA;-l (locked-in-memory size): unlimited&#xA;-n (open files): 64000&#xA;-m (memory size): unlimited &lt;a href=&quot;https://docs.mongodb.com/manual/reference/ulimit/&quot; rel=&quot;nofollow noreferrer&quot;&gt;1&lt;/a&gt;&#xA;-u (processes/threads): 64000&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This literally took me from 0 entities submitted in 50 minutes to 5000 a minute.&lt;/p&gt;&#xA;" OwnerUserId="5248" LastActivityDate="2019-03-30T01:49:31.563" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17808" PostTypeId="1" AcceptedAnswerId="18447" CreationDate="2019-03-30T03:46:09.603" Score="0" ViewCount="212" Body="&lt;p&gt;We have &lt;code&gt;WFFM&lt;/code&gt; from, which has input fields like textbox and dropdownlist. Where user can submit his/her personal settings information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once user revisit site, can see saved personal data and update it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using API service for CRUD operation and storing user personal data in standalone database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to data-bind/pre-fill input fields into &lt;code&gt;WFFM&lt;/code&gt; form?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore &lt;strong&gt;8.2 update 5&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for yours valuable suggestion.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-05-02T12:30:09.703" LastActivityDate="2019-05-02T12:30:09.703" Title="How to prepopulate/prefill WFFM form field in Sitecore 8.2?" Tags="|wffm|" AnswerCount="1" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17809" PostTypeId="1" AcceptedAnswerId="17823" CreationDate="2019-03-30T04:56:45.327" Score="1" ViewCount="1702" Body="&lt;p&gt;We are using Sitecore 9.0.2 deployed in PAAS and CD app service is showing  below error  and logs are full of this kind of exceptions:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR ProcessExpiredItems =&gt; System.TimeoutException: Timeout performing EVAL, inst: 0, mgr: Inactive, err: never, queue: 3933, qu: 3933, qs: 0, qc: 0, wr: 0, wq: 0, in: 0, ar: 0, IOCP: (Busy=0,Free=1000,Min=2,Max=1000), &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;WORKER: &#xA;  (Busy=3,Free=32764,Min=50,Max=32767), clientName: RD0004FFDF4447at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server)at&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor&lt;code&gt;1 processor, ServerEndPoint server)at &#xA;  StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags)at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.&amp;lt;&amp;gt;c__DisplayClass12_0.&amp;lt;Eval&amp;gt;b__0()at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryForScriptNotFound(Func&lt;/code&gt;1 redisOperation)at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.RetryLogic(Func`1 redisOperation)at Sitecore.SessionProvider.Redis.StackExchangeClientConnection.Eval(String script, String[] keyArgs, Object[] valueArgs)at Sitecore.SessionProvider.Redis.RedisExpirationIndexWrapper.GetSessionFromExpirationIndex(DateTime signalTime, DateTime processExpirationTime)at Sitecore.SessionProvider.Redis.RedisConnectionWrapper.d__27.MoveNext()at &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore.SessionProvider.Redis.RedisSessionStateProvider.OnProcessExpiredItems(DateTime signalTime)2019-03-28T13:43:08 &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What I want to understand is that meaning of queue: being very high i.e 3933 more than max number what does this means?&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="35" LastEditDate="2019-03-30T07:46:17.387" LastActivityDate="2019-04-01T07:43:01.217" Title="Sitecore PAAS Redis Exception" Tags="|azure|paas|redis|" AnswerCount="2" CommentCount="2" ClosedDate="2019-04-04T09:48:44.883" ContentLicense="CC BY-SA 4.0" />
  <row Id="17810" PostTypeId="2" ParentId="17809" CreationDate="2019-03-30T07:57:21.440" Score="-1" Body="&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;inst&lt;/code&gt; - the number of commands that have been issued in the last time slice,&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;mgr&lt;/code&gt; - operation that socked manager is performing,&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;queue&lt;/code&gt; - it's a number of in-progress operations,&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;qu&lt;/code&gt; - the number of in-progress operations that are in an unsent queue,&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;qs&lt;/code&gt; - the number of in-progress operations that have been sent to the server but a response is not yet available,&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;qc&lt;/code&gt; - the number of in-progress operations that have seen replies but have not yet been marked as complete due to waiting on the completion loop,&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;wr&lt;/code&gt; - the number of active writer bytes/activewriters&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;in&lt;/code&gt; - number of active readers/bytes available to be read&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="35" LastActivityDate="2019-03-30T07:57:21.440" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17811" PostTypeId="1" AcceptedAnswerId="18055" CreationDate="2019-03-30T19:28:08.740" Score="4" ViewCount="387" Body="&lt;p&gt;I have a long running ticket open with Sitecore, but am just looking for more ideas. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have two brand new 9.1 CD servers in a Content Delivery role. The site can run fine for weeks. Then sometimes after an app pool reset both CD sites lock up. Meaning that if I lose CD1, I immediately lose CD2 site also. I have not found a way to get them back. I basically have to let them site for hours (12-24 hours) and the sites come back all by themselves. Then we wait again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is nothing in the logs or windows events to help me. The logs are full of &quot;Starting Sitecore&quot; logs, but no custom logs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suspect it is my code, but when a site was recently locked, I replaces the site with a vanilla instance (dlls and app_config). Still was locked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I attach dotTrace, I get the image below. You can see there is no custom code. It gets to GetSites() and locks up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/N4EYW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N4EYW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the code in Kernel, there is a &lt;code&gt;lock (this.lockObject)&lt;/code&gt; and I think it is locked by a previous call. I am really out of ideas.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override List&amp;lt;SiteInfo&amp;gt; GetSites()&#xA;{&#xA;  List&amp;lt;SiteInfo&amp;gt; sites = this.sites;&#xA;  if (sites != null)&#xA;    return sites;&#xA;  lock (this.lockObject)&#xA;  {&#xA;    if (this.sites != null)&#xA;      return this.sites;&#xA;    List&amp;lt;SiteInfo&amp;gt; siteInfoList = new List&amp;lt;SiteInfo&amp;gt;();&#xA;    foreach (Site site in (Collection&amp;lt;Site&amp;gt;) SiteManager.GetSites())&#xA;    {&#xA;      SiteInfo siteInfo = new SiteInfo(site.Properties);&#xA;      siteInfoList.Add(siteInfo);&#xA;    }&#xA;    this.sites = siteInfoList;&#xA;    return siteInfoList;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-04-11T14:58:23.957" Title="Sitecore 9.1 CD servers locking up randomly" Tags="|performance|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17813" PostTypeId="1" AcceptedAnswerId="17814" CreationDate="2019-03-30T21:34:57.740" Score="0" ViewCount="368" Body="&lt;p&gt;&lt;strong&gt;Implementation:&lt;/strong&gt; I am creating my custom &lt;code&gt;SXA&lt;/code&gt; components for Header, Footer and Breadcrumb&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a project &quot;Navigation&quot;.&lt;br/&gt;&#xA;Under Navigation I have created three controllers Header, Breadcrumb, Footer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have overridden the &lt;code&gt;GetModel&lt;/code&gt; method in each controller with their respective repositories and Views.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;VS&lt;/code&gt; I have a created a folder for Navigation under Views and have created three Views for Header, Breadcrumb and Footer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue:&lt;/strong&gt; I want all the three Views under on Navigation folder. So that when I publish the website the physical structure should be &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Website&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Views&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Navigation&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Header&lt;/li&gt;&#xA;&lt;li&gt;Footer&lt;/li&gt;&#xA;&lt;li&gt;Breadcrumb&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But when the &lt;code&gt;GetModel()&lt;/code&gt; method automatically resolves its view for each controller it is resolving to &lt;code&gt;Views/ControllerName/View.chtml&lt;/code&gt; (Views/Footer/Footer.chtml)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way that I can create the multiple Views in the single folder and still have the different controllers resolve the respective Views under that single folder?&lt;/p&gt;&#xA;" OwnerUserId="3129" LastEditorUserId="342" LastEditDate="2019-05-06T12:15:41.757" LastActivityDate="2019-05-06T12:15:41.757" Title="Create multiple Views under one folder and have the different controller resolve the respective Views" Tags="|sxa|mvc|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17814" PostTypeId="2" ParentId="17813" CreationDate="2019-03-31T01:38:24.773" Score="2" Body="&lt;p&gt;SXA has a feature that lets you easily override the default View path. It's the &quot;Rendering View Path&quot; field on the rendering.&#xA;An example here from &lt;code&gt;/sitecore/layout/Renderings/Feature/Experience Accelerator/Navigation/Navigation&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cGrUc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cGrUc.png&quot; alt=&quot;SXA rendering&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in your case you can set this field to for example &lt;code&gt;~/Views/Navigation/Header.cshtml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SXA &lt;code&gt;StandardController&lt;/code&gt; has an Index method as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    return PartialView(GetIndexViewName(), GetModel());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;GetIndexViewName()&lt;/code&gt; is not a good name for what it does, it actually will first check the &quot;Rendering View Path&quot; field on the rendering and if that's empty it will use the &quot;Action&quot; on the rendering to get the view name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another useful feature that you might be interested in is the &lt;code&gt;IsNeverLocalRendering=true&lt;/code&gt; which means when you drop the datasource component on the page it will ask you to create a site level data source (rather than a page level data source).&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-03-31T01:38:24.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17815" PostTypeId="1" CreationDate="2019-03-31T10:32:31.130" Score="0" ViewCount="48" Body="&lt;p&gt;I tried to use EXM in siteore and I uploaded CSV file I already got message that was &quot;Contacts expected to be imported are 2&quot; but &quot;Recipients&quot; are still 0 like in attached Images so I can't complete process of sending email.&#xA;&lt;strong&gt;Note&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;it worked before but I don't know what is the problem now??.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/5MBqX.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5MBqX.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/F5jm3.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F5jm3.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5154" LastEditorUserId="73" LastEditDate="2019-03-31T11:06:30.303" LastActivityDate="2019-03-31T11:06:30.303" Title="Recipients in EXM count is always 0" Tags="|solr|xconnect|exm|" AnswerCount="0" CommentCount="2" ClosedDate="2019-04-01T13:57:08.100" ContentLicense="CC BY-SA 4.0" />
  <row Id="17816" PostTypeId="1" CreationDate="2019-03-31T12:21:32.987" Score="1" ViewCount="681" Body="&lt;p&gt;I am using EXM, and trying to upload contacts via List Manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After uploading csv I found that recipients are still 0 so I opened log file and I found some Exceptions like that and I would like if this issue cause any break down in EXM and how I can solve it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ManagedPoolThread #12 14:03:03 ERROR Exception&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.DoExecute()&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.XConnect.XdbSearchUnavailableException&#xA;Message: An error occurred while sending the request.&#xA;Source: Sitecore.XConnect.Client&#xA;   at Sitecore.XConnect.Client.WebApi.SearchWebApiClient.d__9`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.Operations.SearchOperationInvoker.d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at Sitecore.XConnect.Search.SearchHelpers.d__6`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.SearchDefinition`1.d__24.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.AsyncSearchHitEnumerator`1.d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.AsyncEntityQueryProvider.d__18`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.AsyncEntityQueryProvider.d__17`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Search.AsyncEntityQueryProvider.d__8`1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.ListManagement.XConnect.Web.ContactsOperationIndexingState.IsFinished(String syncToken)&#xA;   at Sitecore.ListManagement.Operations.UpdateListOperationsAgent.CheckIndexing(ListOperation listOperation)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.Xdb.Common.Web.ConnectionTimeoutException&#xA;Message: A task was canceled.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.d__41.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.SearchWebApiClient.d__9`1.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Threading.Tasks.TaskCanceledException&#xA;Message: A task was canceled.&#xA;Source: mscorlib&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.d__41.MoveNext()&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="5154" LastEditorUserId="432" LastEditDate="2019-03-31T22:35:01.567" LastActivityDate="2019-09-12T07:02:45.370" Title="List Manager not indexing contacts after CSV import" Tags="|xconnect|sitecore-api|exm|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17818" PostTypeId="1" CreationDate="2019-03-31T18:21:53.753" Score="2" ViewCount="1311" Body="&lt;p&gt;I'm trying to implement a popup when trying to implement a popup to alert users to a required field, but running into an error with even loading the CMS after trying to create the code:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Could not instantiate event handler. Type: DVD.Utility.DVDItemSavingProcessor. Method: DialogProcessor (method: Sitecore.Events.Event.GetConfigSubscribers()).&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Here are my pieces of code:&lt;/p&gt;&#xA;&lt;p&gt;Config:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&amp;quot;item:saving&amp;quot;&amp;gt;&#xA;        &amp;lt;handler type=&amp;quot;DVD.Utility.DVDItemSavingProcessor, DVD&amp;quot; method=&amp;quot;DialogProcessor&amp;quot;/&amp;gt;&#xA;     &amp;lt;/event&amp;gt;&#xA;   &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA; &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Processor:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using Sitecore.Pipelines;&#xA;using Sitecore.Pipelines.HttpRequest;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.ContentSearch.SearchTypes;&#xA;using Sitecore.Shell.Framework.Commands;&#xA;using Sitecore.Web.UI.Sheer;&#xA;&#xA;namespace DVD.Utility&#xA;{&#xA;    public class DVDItemSavingProcessor &#xA;    {&#xA;        &#xA;        private void StartDialog()&#xA;        {&#xA;            // Start the dialog and pass in an item ID as an argument&#xA;            ClientPipelineArgs cpa = new ClientPipelineArgs();&#xA;            cpa.Parameters.Add(&amp;quot;id&amp;quot;, Sitecore.Context.Item.ID.ToString());&#xA;&#xA;            // Kick off the processor in the client pipeline&#xA;            Sitecore.Context.ClientPage.Start(this, &amp;quot;DialogProcessor&amp;quot;, cpa);&#xA;        }&#xA;        protected void DialogProcessor(ClientPipelineArgs args)&#xA;        {&#xA;            var id = args.Parameters[&amp;quot;id&amp;quot;];&#xA;&#xA;            if (!args.IsPostBack)&#xA;            {&#xA;                Item item = Sitecore.Context.Item;&#xA;                if (item.TemplateName == &amp;quot;Image&amp;quot; &amp;amp;&amp;amp; string.IsNullOrEmpty(item.Fields[&amp;quot;Alt&amp;quot;].ToString()))&#xA;                {&#xA;                    SheerResponse.Alert(&amp;quot;Please fill in the Alt Tag field&amp;quot;);&#xA;                }&#xA;                &#xA;                // Suspend the pipeline to wait for a postback and resume from another processor&#xA;                args.WaitForPostBack(true);&#xA;            }&#xA;            &#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="6495" LastEditDate="2022-11-25T16:17:02.837" LastActivityDate="2022-11-25T16:17:02.837" Title="Popup dialog when saving an item to alert user to a required field" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17819" PostTypeId="2" ParentId="17818" CreationDate="2019-03-31T22:31:50.667" Score="3" Body="&lt;p&gt;The way to implement the event handler for the &lt;code&gt;item:saving&lt;/code&gt; is to add the parameters sender and arguments. I've updated the &lt;code&gt;StartDialog&lt;/code&gt; method as shown below.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public void StartDialog(object sender, EventArgs args)&#xA;{&#xA;    var savedItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;    if (savedItem == null || savedItem.Database.Name.ToLower() != &amp;quot;master&amp;quot;)&#xA;    {&#xA;        return;&#xA;    }&#xA;&#xA;    // Start the dialog and pass in an item ID as an argument&#xA;    ClientPipelineArgs cpa = new ClientPipelineArgs();&#xA;    cpa.Parameters.Add(&amp;quot;id&amp;quot;, savedItem.ID.ToString());&#xA;&#xA;    // Kick off the processor in the client pipeline&#xA;    Sitecore.Context.ClientPage.Start(this, &amp;quot;DialogProcessor&amp;quot;, cpa);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And your config will look like this&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&amp;quot;item:saving&amp;quot;&amp;gt;&#xA;        &amp;lt;handler type=&amp;quot;DVD.Utility.DVDItemSavingProcessor, DVD&amp;quot; method=&amp;quot;StartDialog&amp;quot;/&amp;gt;&#xA;     &amp;lt;/event&amp;gt;&#xA;   &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA; &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Best Approach - Using OOTB Sitecore&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Instead of creating a custom dialog, you can make use of the Sitecore Validators. Based on the code you've provided, it shows that you want to show a popup if the &lt;code&gt;alt&lt;/code&gt; field is blank.&lt;/p&gt;&#xA;&lt;p&gt;You can actually do this without any code change using OOTB Sitecore feature. However, Alt Text validation is set to Error and this will still allow the media item to be saved. You'll need to update the &lt;code&gt;Alt Required&lt;/code&gt; validator item by adding&lt;code&gt;Result=FatalError&lt;/code&gt;. See screenshot below:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/evoBt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/evoBt.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Item path: &lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Rules/System/Alt Required&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Create Your Own Validator&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can also create your own validator. Below is a snippet of a custom validator&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Validators;&#xA;&#xA;namespace Sitecore.Experimental&#xA;{&#xA;    [Serializable]&#xA;    public class AltValidator : StandardValidator&#xA;    {&#xA;        // Constructors required, else error is thrown when clicking the Validation button in the Content Editor&#xA;        public ItemUrlConflictValidation(SerializationInfo info, StreamingContext context) : base(info, context) { }&#xA;&#xA;        public ItemUrlConflictValidation() { }&#xA;&#xA;        protected override ValidatorResult Evaluate()&#xA;        {&#xA;            var database = Database.GetDatabase(&amp;quot;master&amp;quot;);&#xA;            &#xA;            if (this.ItemUri != null)&#xA;            {&#xA;                var currentItem = database.GetItem(this.ItemUri.ItemID, this.ItemUri.Language);&#xA;&#xA;                if (currentItem.TemplateName == &amp;quot;Image&amp;quot; &amp;amp;&amp;amp; string.IsNullOrEmpty(currentItem.Fields[&amp;quot;Alt&amp;quot;].ToString()))&#xA;                {&#xA;                    this.Text = this.GetText(&amp;quot;Alternate text is missing in the Image field.&amp;quot;, this.GetFieldDisplayName());&#xA;                    return this.GetFailedResult(ValidatorResult.FatalError);&#xA;                }&#xA;            }&#xA;&#xA;            return ValidatorResult.Valid;&#xA;        }&#xA;&#xA;        protected override ValidatorResult GetMaxValidatorResult()&#xA;        {&#xA;            return this.GetFailedResult(ValidatorResult.FatalError);&#xA;        }&#xA;&#xA;        public override string Name =&amp;gt; &amp;quot;AltFieldValidator&amp;quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Once you have the code in place, you just need to create a validation rule at the path &lt;code&gt;/sitecore/system/Settings/Validation Rules&lt;/code&gt;. You can create your own direction if needed.&lt;/p&gt;&#xA;&lt;p&gt;Then you'll need to populate the different fields. Please see screenshot below:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7XHNP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7XHNP.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Then you can assign the new validation item to the fields from the template.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Point to note&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The error message that will be displayed is a default Sitecore one. If you want to override the default message to a custom one, you can check the answer for question &lt;a href=&quot;https://sitecore.stackexchange.com/a/8900/605&quot;&gt;Sitecore Field Validator Change to Custom Message&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="946" LastEditDate="2022-11-25T14:17:53.647" LastActivityDate="2022-11-25T14:17:53.647" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17820" PostTypeId="1" CreationDate="2019-04-01T06:13:51.370" Score="2" ViewCount="495" Body="&lt;p&gt;In this form, i have to compare two fields(Mail,Confirm Mail). Whether this both email is same or not.if we typed incorrect email in confirm mail field. we have to show error message. so i created confirm email custom validation and assign to confirm form field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this confirm custom validation, i'm not able to get other form field value(mail Field).  how we can get the email value (other field value) in confirm custom validation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NtXqb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NtXqb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="73" LastEditDate="2019-04-01T06:15:34.800" LastActivityDate="2019-04-01T07:19:31.420" Title="How can we validate a field based on another field value in the form?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17821" PostTypeId="2" ParentId="17820" CreationDate="2019-04-01T07:19:31.420" Score="1" Body="&lt;p&gt;This is currently not possible out of the box nor is there a way to plugin an &quot;entire form validator&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the best option at this time is to create a custom submit action and perform the validation in that action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The execute method should return a boolean, if you return false, the submit pipeline will be cancelled.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override bool Execute(T data, FormSubmitContext formSubmitContext)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-04-01T07:19:31.420" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17822" PostTypeId="1" AcceptedAnswerId="17833" CreationDate="2019-04-01T07:35:39.743" Score="2" ViewCount="1654" Body="&lt;p&gt;I am trying the sxa default redirect url but it is not working for my site.&#xA;Steps followed : &#xA;&lt;code&gt;/sitecore/content/Tenant/Site/Settings/Redirects/TestRedirect&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T4Xrv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T4Xrv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is not redirecting me to the link i provided. Instead its opening the same URL which i am requesting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me resolve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks all.&lt;/p&gt;&#xA;" OwnerUserId="5316" LastEditorUserId="35" LastEditDate="2019-04-01T08:57:17.777" LastActivityDate="2019-04-01T13:34:36.257" Title="SXA default redirect rule not working" Tags="|sxa|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17823" PostTypeId="2" ParentId="17809" CreationDate="2019-04-01T07:43:01.217" Score="2" Body="&lt;p&gt;We had the same kind of issues.&#xA;We were able to resolve them by tweaking the &lt;strong&gt;polling interval&lt;/strong&gt; of the private session state provider and increasing the &lt;strong&gt;timeoutBetweenLockAttempts&lt;/strong&gt; of the shared session state manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Private Session State:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot; sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot; customProvider=&quot;redis&quot;&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;mongo&quot; type=&quot;Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;add name=&quot;redis&quot; type=&quot;Sitecore.SessionProvider.Redis.RedisSessionStateProvider, Sitecore.SessionProvider.Redis&quot; applicationName=&quot;private&quot; connectionString=&quot;redis.sessions&quot; pollingInterval=&quot;230&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Shared session state manager:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;sharedSessionState defaultProvider=&quot;redis&quot; patch:source=&quot;Sitecore.Analytics.Tracking.config&quot;&amp;gt;&#xA;    &amp;lt;providers&amp;gt;&#xA;      &amp;lt;clear /&amp;gt;&#xA;      &amp;lt;add name=&quot;InProc&quot; type=&quot;System.Web.SessionState.InProcSessionStateStore&quot; /&amp;gt;&#xA;      &amp;lt;add name=&quot;redis&quot; type=&quot;Sitecore.SessionProvider.Redis.RedisSessionStateProvider&quot; connectionString=&quot;redis.sessions&quot; applicationName=&quot;shared&quot; operationTimeoutInMilliseconds=&quot;5000&quot; pollingInterval=&quot;30&quot; /&amp;gt;&#xA;    &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;manager type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateManager, Sitecore.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param ref=&quot;tracking/sharedSessionState/config&quot; desc=&quot;configuration&quot; /&amp;gt;&#xA;    &amp;lt;/manager&amp;gt;&#xA;    &amp;lt;config type=&quot;Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateConfig, Sitecore.Analytics&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;maxLockAge&quot;&amp;gt;5000&amp;lt;/param&amp;gt;&#xA;      &amp;lt;param desc=&quot;timeoutBetweenLockAttempts&quot;&amp;gt;10200&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/config&amp;gt;&#xA;  &amp;lt;/sharedSessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-04-01T07:43:01.217" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17825" PostTypeId="2" ParentId="17822" CreationDate="2019-04-01T08:31:31.407" Score="0" Body="&lt;p&gt;You should check (just my learnings from a few tests):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;does the old url match an existing page? (if so, it will use that and not redirect)&lt;/li&gt;&#xA;&lt;li&gt;skip any language in the old url&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If that is all ok, it should redirect (the &lt;code&gt;^/&lt;/code&gt; and &lt;code&gt;/$&lt;/code&gt; are needed if you want regex - not sure if you do here)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: I don't think the external url will work though, but it should still redirect (to a faulty url in that case)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-01T08:31:31.407" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17827" PostTypeId="2" ParentId="17802" CreationDate="2019-04-01T11:40:15.387" Score="1" Body="&lt;p&gt;I see the issue that you described. Actually the problem is in the &lt;code&gt;Sitecore.Shell.Applications.Workbox.WorkboxForm&lt;/code&gt; class which represents the &lt;em&gt;Workbox Form&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two methods:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    /// &amp;lt;summary&amp;gt;Refreshes the page.&amp;lt;/summary&amp;gt;&#xA;    protected virtual void Refresh()&#xA;    {&#xA;      this.Refresh((Dictionary&amp;lt;string, string&amp;gt;) null);&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;Refreshes the page.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;urlArguments&quot;&amp;gt;The URL arguments.&amp;lt;/param&amp;gt;&#xA;    protected void Refresh(Dictionary&amp;lt;string, string&amp;gt; urlArguments)&#xA;    {&#xA;      UrlString urlString = new UrlString(WebUtil.GetRawUrl());&#xA;      urlString[&quot;reload&quot;] = &quot;1&quot;;&#xA;      if (urlArguments != null)&#xA;      {&#xA;        foreach (KeyValuePair&amp;lt;string, string&amp;gt; urlArgument in urlArguments)&#xA;          urlString[urlArgument.Key] = urlArgument.Value;&#xA;      }&#xA;      Context.ClientPage.ClientResponse.SetLocation(WebUtil.GetFullUrl(urlString.ToString()));&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In general, the problem is in the &lt;code&gt;Context.ClientPage.ClientResponse.SetLocation(WebUtil.GetFullUrl(urlString.ToString()))&lt;/code&gt; line. And is in &lt;code&gt;WebUtil.GetFullUrl(urlString.ToString())&lt;/code&gt; method particularly. This method always returns the URL with the port extension. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, looking at details of &lt;code&gt;GetFullUrl&lt;/code&gt; method where we can find that it calls GetServerUrl:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string GetFullUrl(string url)&#xA;{&#xA;  Assert.ArgumentNotNull((object) url, nameof (url));&#xA;  return WebUtil.GetFullUrl(url, WebUtil.GetServerUrl());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;GetServerUrl&lt;/code&gt; method looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string GetServerUrl()&#xA;{&#xA;  return WebUtil.GetServerUrl(false);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where the &lt;code&gt;false&lt;/code&gt;, is &lt;code&gt;forcePort&lt;/code&gt; parameter, which is always 'false'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's skip a calls chain and have a look at the final view of &lt;code&gt;GetServerUrl&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string GetServerUrl(Uri url, bool forcePort)&#xA;{&#xA;  if (url == (Uri) null)&#xA;    return string.Empty;&#xA;  string scheme = url.Scheme;&#xA;  string host = url.Host;&#xA;  string str1 = url.Port.ToString();&#xA;  string str2 = string.Format(&quot;{0}://{1}&quot;, (object) scheme, (object) host);&#xA;  if (forcePort || str1 != &quot;80&quot;)&#xA;    str2 += string.Format(&quot;:{0}&quot;, (object) str1);&#xA;  return str2;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Looking at this method we can see that even &lt;code&gt;forcePort&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt;, the URL will still include port as it is not equal to 80.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, it is why you always have the port in your URL. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create your &lt;code&gt;CustomWorkboxform&lt;/code&gt; class and inherit it from the 'WorkboxForm'. Then try to override &lt;code&gt;protected new void Refresh(Dictionary&amp;lt;string, string&amp;gt; urlArguments)&lt;/code&gt; method (using &lt;code&gt;new&lt;/code&gt; keyword as this method is not virtual). Then you will have to update &lt;code&gt;Workbox.xml&lt;/code&gt; with new CustomWorkboxForm code behind implementation (\sitecore\shell\Applications\Workbox\Workbox.xml). There can be some another difficulties with overlapping other methods. But idea might work!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATED:&lt;/strong&gt;&#xA;Final implementation of CustomWorkboxFrom looks like above:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore;&#xA;using Sitecore.Text;&#xA;using Sitecore.Web;&#xA;using Sitecore.Workflows;&#xA;using Sitecore.Workflows.Simple;&#xA;&#xA;namespace Test&#xA;{&#xA;    public class CustomWorkboxForm : Sitecore.Shell.Applications.Workbox.WorkboxForm&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;Gets or sets the offset(what page we are on).&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;value&amp;gt;The size of the offset.&amp;lt;/value&amp;gt;&#xA;        private OffsetCollection Offset = new OffsetCollection();&#xA;&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Refreshes the page.&amp;lt;/summary&amp;gt;&#xA;        protected override void Refresh()&#xA;        {&#xA;            this.Refresh(null);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Refreshes the page.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;urlArguments&quot;&amp;gt;The URL arguments.&amp;lt;/param&amp;gt;&#xA;        protected new void Refresh(Dictionary&amp;lt;string, string&amp;gt; urlArguments)&#xA;        {&#xA;            UrlString urlString = new UrlString(WebUtil.GetRawUrl());&#xA;            urlString[&quot;reload&quot;] = &quot;1&quot;;&#xA;            if (urlArguments != null)&#xA;            {&#xA;                foreach (KeyValuePair&amp;lt;string, string&amp;gt; urlArgument in urlArguments)&#xA;                    urlString[urlArgument.Key] = urlArgument.Value;&#xA;            }&#xA;&#xA;            var url = WebUtil.GetFullUrl(urlString.ToString());&#xA;            var uri = new Uri(url);&#xA;            var clean = uri.GetComponents(UriComponents.AbsoluteUri &amp;amp; ~UriComponents.Port,&#xA;                UriFormat.UriEscaped);&#xA;&#xA;            Context.ClientPage.ClientResponse.SetLocation(clean);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Workflow completion callback to refresh the counts of items in workflow states.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;The arguments for the workflow execution.&amp;lt;/param&amp;gt;&#xA;        [UsedImplicitly]&#xA;        private void WorkflowCompleteStateItemCount(WorkflowPipelineArgs args)&#xA;        {&#xA;            IWorkflow workflowFromPage = GetWorkflowFromPage();&#xA;            if (workflowFromPage == null)&#xA;                return;&#xA;            int itemCount = workflowFromPage.GetItemCount(args.PreviousState.StateID);&#xA;            if (PageSize &amp;gt; 0 &amp;amp;&amp;amp; itemCount % PageSize == 0)&#xA;            {&#xA;                int num = Offset[args.PreviousState.StateID];&#xA;                if (itemCount / PageSize &amp;gt; 1 &amp;amp;&amp;amp; num &amp;gt; 0)&#xA;                    Offset[args.PreviousState.StateID]--;&#xA;                else&#xA;                    Offset[args.PreviousState.StateID] = 0;&#xA;            }&#xA;            Refresh(workflowFromPage.GetStates().ToDictionary((state =&amp;gt; state.StateID), (state =&amp;gt; Offset[state.StateID].ToString())));&#xA;        }&#xA;&#xA;&#xA;        private class OffsetCollection&#xA;        {&#xA;            public int this[string key]&#xA;            {&#xA;                get&#xA;                {&#xA;                    if (Context.ClientPage.ServerProperties[key] != null)&#xA;                        return (int)Context.ClientPage.ServerProperties[key];&#xA;                    UrlString urlString = new UrlString(WebUtil.GetRawUrl());&#xA;                    int result;&#xA;                    if (urlString[key] != null &amp;amp;&amp;amp; int.TryParse(urlString[key], out result))&#xA;                        return result;&#xA;                    return 0;&#xA;                }&#xA;                set&#xA;                {&#xA;                    Context.ClientPage.ServerProperties[key] = (object)value;&#xA;                }&#xA;            }&#xA;        }&#xA;    }    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, if you still want to remove the port from URL, you need to include some implementation of private method defined in base class. &lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2019-04-02T13:38:44.020" LastActivityDate="2019-04-02T13:38:44.020" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="17830" PostTypeId="2" ParentId="17772" CreationDate="2019-04-01T13:10:27.227" Score="3" Body="&lt;p&gt;I am on Sitecore 9.1. I've added the following Area Registration and Controller and it seems working:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;MyApiAreaRegistration:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Mvc;&#xA;&#xA;namespace Test.Areas.MyApi&#xA;{&#xA;    public class MyApiAreaRegistration : AreaRegistration &#xA;    {&#xA;        public override string AreaName &#xA;        {&#xA;            get &#xA;            {&#xA;                return &quot;MyApi&quot;;&#xA;            }&#xA;        }&#xA;&#xA;        public override void RegisterArea(AreaRegistrationContext context) &#xA;        {&#xA;            context.Namespaces.Add(&quot;Test.Areas.MyApi.Controllers&quot;);&#xA;&#xA;            context.MapRoute(&#xA;                &quot;MyApi_default&quot;,&#xA;                    &quot;myapi/about/version&quot;,&#xA;                    new { controller = &quot;About&quot;, action = &quot;Version&quot; },&#xA;                    new[] { &quot;Test.Areas.MyApi.Controllers&quot; }&#xA;            );&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Controller:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Mvc;&#xA;&#xA;namespace Test.Areas.MyApi.Controllers&#xA;{&#xA;    public class AboutController : Sitecore.Mvc.Controllers.SitecoreController&#xA;    {&#xA;        [HttpGet]&#xA;        public ActionResult Version()&#xA;        {&#xA;            return Content(&quot;test&quot;, &quot;application/json&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution structure:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CIahu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CIahu.png&quot; alt=&quot;asp.net area in Sitecore&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And, finally, result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CEPZ4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CEPZ4.png&quot; alt=&quot;area controller execution result&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, compare it with your implementation.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-04-01T13:10:27.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17832" PostTypeId="1" CreationDate="2019-04-01T13:28:46.433" Score="0" ViewCount="30" Body="&lt;p&gt;we are using sitecore 9 update 2 and SXA 1.7.1 and we have 2 sites called site1(english) and site2(Korean). both sites created separately in SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when click Experience Editor button in launch pad always navigate to site1's home page as we have configure this into Core database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;now issue is that when korean user(associated with Korean role) login, He is also navigating to site1's home page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;is there any way to navigate to particular site's home page based on user's role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3377" LastActivityDate="2019-04-01T13:28:46.433" Title="navigate to particular site home page when click XE button in launch pad" Tags="|sxa|multisite|" AnswerCount="0" CommentCount="4" ClosedDate="2019-04-02T08:14:11.983" ContentLicense="CC BY-SA 4.0" />
  <row Id="17833" PostTypeId="2" ParentId="17822" CreationDate="2019-04-01T13:34:36.257" Score="0" Body="&lt;p&gt;Looking at your comment:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1qpQM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1qpQM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I understand that you have an item which actually matches that url but you don't want to show it and want to redirect instead, correct?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It won't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA redirect maps only work when item cannot be resolved from the url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try changing it temporarily to a url which cannot be resolve (just add few letters at the end of your regex) and it will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to do redirect for an item which does exist, you either use &lt;code&gt;Redirect&lt;/code&gt; items or better use II Rewrite module.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-04-01T13:34:36.257" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17834" PostTypeId="1" CreationDate="2019-04-01T13:51:17.763" Score="0" ViewCount="64" Body="&lt;p&gt;I'm trying to use the Sitecore 60 day free trial, however I'm unable to download anything as it says I need to be Developer Certified in order to download. Any suggestions what I can do? Trying to get Sitecore running in Docker so myself and a few others can try it out with JSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5319" LastEditorUserId="69" LastEditDate="2019-04-02T12:52:31.320" LastActivityDate="2019-04-02T12:52:31.320" Title="Sitecore 60 day trial" Tags="|licensing|" AnswerCount="0" CommentCount="2" ClosedDate="2019-04-01T15:14:27.037" ContentLicense="CC BY-SA 4.0" />
  <row Id="17835" PostTypeId="1" CreationDate="2019-04-01T14:38:49.893" Score="0" ViewCount="1129" Body="&lt;p&gt;I am trying to set a data source during runtime without updating the item in rendering, but am not able to achieve it. I tried the below approach, but that is updating the rendering data source, I have a list of data sources that need to be assigned based on the user type logged in. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; LayoutField layoutField = new LayoutField(item.Fields[Sitecore.FieldIDs.FinalLayoutField]);&#xA;        LayoutDefinition layout = LayoutDefinition.Parse(layoutField.Value);&#xA;        foreach (DeviceDefinition device in layout.Devices)&#xA;        {&#xA;            if (device.Renderings != null)&#xA;            {&#xA;                for (var i = 0; i &amp;lt; device.Renderings.Count; i++)&#xA;                {&#xA;                    RenderingDefinition rendering = (RenderingDefinition)device.Renderings[i];&#xA;                    if (rendering.ItemID == &quot;**item id goes here**&quot;)&#xA;                    {&#xA;                        //rendering.Datasource = renderingDatasource;  // creates duplicates rendering in the layout details window.   &#xA;                        rendering.DynamicProperties.Where(p =&amp;gt; p.Name == &quot;s:ds&quot;).ToList().ForEach(p =&amp;gt; p.Value = &quot;**updated datasource**&quot;);&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, in the above approach, DynamicProperties is null. Requesting help in achieving the dynamic rendering data source during runtime without updating item data source.&lt;/p&gt;&#xA;" OwnerUserId="4296" LastEditorUserId="4296" LastEditDate="2019-04-01T14:51:06.040" LastActivityDate="2019-04-02T02:05:01.533" Title="Dynamically change the rendering datasource without updating the item" Tags="|presentation|datasource|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17836" PostTypeId="2" ParentId="17835" CreationDate="2019-04-01T15:11:30.977" Score="2" Body="&lt;p&gt;I think you can achieve you goal (set data source based on the user type) without a lot of customization. I am not quite sure is it applicable for you, but you can set up the personalization rules for your renderings that should have a different datasources per user type.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select an item and and open the '&lt;em&gt;Presentation Details&lt;/em&gt;'. Click '&lt;em&gt;Edit&lt;/em&gt;' for '&lt;em&gt;Shared&lt;/em&gt;' or '&lt;em&gt;Final Layout&lt;/em&gt;'; &lt;/li&gt;&#xA;&lt;li&gt;Choose a rendering that you want to apply deferent datasources to and click '&lt;em&gt;Personalize&lt;/em&gt;' button;&lt;/li&gt;&#xA;&lt;li&gt;Click '&lt;em&gt;Add personalization rule&lt;/em&gt;' button:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZKagb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZKagb.png&quot; alt=&quot;add personalization rule&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Then click '&lt;em&gt;Edit Role&lt;/em&gt;' and find the &lt;code&gt;where the current user is a member of the specific role&lt;/code&gt; rule:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Aoq3U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Aoq3U.png&quot; alt=&quot;where the current user is a member of the specific role&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Choose a datasource which would be set if condition is true.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So you can set a different datasources for each roles. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also this approach keeps an ability to use Experience Editor and make it easy to manage datasources for Content Editor at all.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2019-04-01T15:47:58.017" LastActivityDate="2019-04-01T15:47:58.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17837" PostTypeId="1" CreationDate="2019-04-01T16:05:04.600" Score="4" ViewCount="711" Body="&lt;p&gt;We are using Sitecore SXA 1.8 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a Tenant Folder , a Tenant and a Site using SXA. I have created custom page templates for the site. I am trying to map a custom page template to a Page Design but am unable to find the custom page template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My templates:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LePfy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LePfy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see a lot of feature templates available but not the page templates under the tenant: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EENeA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EENeA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing anything?&lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="237" LastEditDate="2019-04-02T07:16:37.483" LastActivityDate="2019-05-02T14:00:14.800" Title="Missing custom page templates from &quot;Template to design mapping&quot; in Sitecore SXA" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17838" PostTypeId="1" CreationDate="2019-04-01T16:10:53.400" Score="0" ViewCount="63" Body="&lt;p&gt;I am currently working on a custom &lt;code&gt;DialogForm&lt;/code&gt; that will display a progress status based on a particular number of Sitecore Job Progress running in the background and dynamically updating the UI part of the form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is inside the method &lt;code&gt;OnLoad&lt;/code&gt; of my custom &lt;code&gt;DialogForm&lt;/code&gt; where I called the another custom method, it didn't execute what my method is expected in which I also tried just displaying an &lt;code&gt;Alert&lt;/code&gt; Message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone give me recommendation how to properly do this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void OnLoad(EventArgs e)&#xA;    {&#xA;        base.OnLoad(e);&#xA;&#xA;        if (!Context.ClientPage.IsEvent)&#xA;        {&#xA;            var jobsRunning = JobManager.GetJobs().Where(xjob =&amp;gt; xjob.IsDone == false &amp;amp;&amp;amp; xjob.Name.StartsWith(&quot;SomeJob&quot;)).ToList();&#xA;            int initialCount = jobsRunning.Count;&#xA;&#xA;            MyCustomMethod();&#xA;&#xA;        }&#xA;&#xA;    }&#xA;protected void MyCustomMethod()&#xA;    {&#xA;&#xA;        var jobsRunning = JobManager.GetJobs().Where(xjob =&amp;gt; xjob.IsDone == false &amp;amp;&amp;amp; xjob.Name.StartsWith(&quot;SomeJob&quot;)).ToList();&#xA;&#xA;        SheerResponse.Timer(&quot;CheckStatus&quot;, 500);&#xA;    }&#xA;&#xA;&#xA;    protected void CheckStatus()&#xA;    {&#xA;        var jobList = JobManager.GetJobs().Where(xjob =&amp;gt; xjob.IsDone == false &amp;amp;&amp;amp; xjob.Name.StartsWith(&quot;SomeJob&quot;)).ToList();&#xA;        Context.ClientPage.ClientResponse.Alert(&quot;Checking Status&quot;);&#xA;        if (jobList != null)&#xA;        {&#xA;&#xA;            Progress_Counter.Text = string.Format(&quot;Job Progress(s) : {0}...&quot;, jobRemaining);&#xA;            SheerResponse.Timer(&quot;CheckStatus&quot;, 500);&#xA;            Context.ClientPage.ClientResponse.Alert(&quot;Checking Count&quot;);&#xA;&#xA;        }&#xA;        else&#xA;        {&#xA;            Context.ClientPage.ClientResponse.Alert(&quot;Task Completed&quot;);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2252" LastEditorUserId="5096" LastEditDate="2019-05-06T07:56:45.767" LastActivityDate="2019-05-06T07:56:45.767" Title="Sheer UI OnLoad Method to run another method to Dynamically Change UI Text" Tags="|sitecore-client|sheer-ui|commands|scheduler-job|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17839" PostTypeId="1" CreationDate="2019-04-01T17:58:59.873" Score="2" ViewCount="129" Body="&lt;p&gt;&lt;strong&gt;Environment&lt;/strong&gt;: Sitecore  9.0.2 + SXA 1.8.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have done&lt;/strong&gt;: I have a 'partial design' P1. I applied this P1 to a 'page design' PD1. On this 'page design' PD1, I applied a few renderings. This 'page design' PD1 is rendering properly in the experience editor.&#xA;On one of the test pages, I selected this 'page design' PD1. Then I accessed this test page in the experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I was expecting&lt;/strong&gt;: I was expecting the renderings from the 'partial design' P1 as well as, renderings applied on the 'page design' PD1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I found&lt;/strong&gt;: Only renderings from the 'partial design' P1 were rendered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My question&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The renderings applied on the 'page design' PD1 were not rendered. Was it by design or something missing from my side?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If it is not by design, is it right to apply renderings on a page design?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="237" LastEditDate="2019-04-01T20:02:45.487" LastActivityDate="2019-04-01T20:02:45.487" Title="Renderings on Page Design not visible" Tags="|sxa|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17840" PostTypeId="2" ParentId="17837" CreationDate="2019-04-01T19:51:13.223" Score="2" Body="&lt;p&gt;Your template needs to inherit (base template) from the &quot;Page&quot; template to get into that list. The specs of the base template you need (in 1.7.1 - probably not changed):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ID: &lt;code&gt;{3F8A6A5D-7B1A-4566-8CD4-0A50F3030BD8}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Path: &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Multisite/Content/Page&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It does not have to be an immediate base template - but somewhere in the base template tree this one has to be found.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-01T19:51:13.223" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17841" PostTypeId="2" ParentId="17839" CreationDate="2019-04-01T20:01:47.350" Score="2" Body="&lt;p&gt;You should not be adding rendering to the Page Designs. You can check the &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/page-designs.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; that also mentions that you should add renderings to partial designs and partial designs to the page design:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p7s1I.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p7s1I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also make sure to check this page with &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/recommendations--structuring-pages.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;best practices&lt;/a&gt; when structuring pages in SXA. It's a must read for people starting with SXA ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-01T20:01:47.350" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17842" PostTypeId="1" AcceptedAnswerId="17850" CreationDate="2019-04-01T21:00:29.090" Score="0" ViewCount="1088" Body="&lt;p&gt;I've created a azure login like discriped here: &lt;a href=&quot;https://labs.tadigital.com/index.php/2018/02/16/integrating-federated-authentication-for-sitecore-9-with-azure-ad/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://labs.tadigital.com/index.php/2018/02/16/integrating-federated-authentication-for-sitecore-9-with-azure-ad/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 9 Update 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the authentication works I think, because I got logged in. But I am using this transformation like descriped in the post to asign the current logged in user to the developer role&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;transformation name=&quot;devRole&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;            &amp;lt;claim name=&quot;groups&quot; value=&quot;99c44f22-e2e2-4d2d-af90-3ccb0fb3b234&quot; /&amp;gt;&#xA;          &amp;lt;/sources&amp;gt;&#xA;          &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;            &amp;lt;claim name=&quot;http://schemas.microsoft.com/ws/2008/06/identity/claims/role&quot; value=&quot;sitecore\Developer&quot; /&amp;gt;&#xA;          &amp;lt;/targets&amp;gt;&#xA;          &amp;lt;keepSource&amp;gt;true&amp;lt;/keepSource&amp;gt;&#xA;        &amp;lt;/transformation&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but I am not assigned to any role and my username is just some random string&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ODOb8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ODOb8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was hopeing that this config section would take care about my username mapping, but that seems not to work.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;    &amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;map name=&quot;email claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;          &amp;lt;!--claim name--&amp;gt;&#xA;          &amp;lt;source name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&quot; /&amp;gt;&#xA;          &amp;lt;!--property name--&amp;gt;&#xA;          &amp;lt;target name=&quot;Email&quot; /&amp;gt;&#xA;        &amp;lt;/data&amp;gt;&#xA;      &amp;lt;/map&amp;gt;&#xA;      &amp;lt;map name=&quot;Name claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;          &amp;lt;!--claim name--&amp;gt;&#xA;          &amp;lt;source name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname&quot; /&amp;gt;&#xA;          &amp;lt;!--property name--&amp;gt;&#xA;          &amp;lt;target name=&quot;Name&quot; /&amp;gt;&#xA;        &amp;lt;/data&amp;gt;&#xA;      &amp;lt;/map&amp;gt;&#xA;    &amp;lt;/maps&amp;gt;&#xA;  &amp;lt;/propertyInitializer&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;here is my Processing function for the backend&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  protected override void ProcessCore(IdentityProvidersArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        var identityProvider = this.GetIdentityProvider();&#xA;        var authenticationType = this.GetAuthenticationType();&#xA;&#xA;        string aadInstance = Settings.GetSetting(&quot;AADInstance&quot;);&#xA;        string tenant = Settings.GetSetting(&quot;Tenant&quot;);&#xA;        string clientId = Settings.GetSetting(&quot;ClientId&quot;);&#xA;        string postLogoutRedirectURI = Settings.GetSetting(&quot;PostLogoutRedirectURI&quot;);&#xA;        string redirectURI = Settings.GetSetting(&quot;RedirectURI&quot;);&#xA;&#xA;        string authority = string.Format(CultureInfo.InvariantCulture, aadInstance, tenant);&#xA;&#xA;        Log.Info($&quot;AD Auth Login Start&quot;, &quot;adAuth&quot;);&#xA;&#xA;        args.App.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions&#xA;        {&#xA;            Caption = identityProvider.Caption,&#xA;            AuthenticationType = authenticationType,&#xA;            AuthenticationMode = AuthenticationMode.Passive,&#xA;            ClientId = clientId,&#xA;            Authority = authority,&#xA;            PostLogoutRedirectUri = postLogoutRedirectURI,&#xA;            RedirectUri = redirectURI,&#xA;&#xA;&#xA;            Notifications = new OpenIdConnectAuthenticationNotifications&#xA;            {&#xA;                SecurityTokenValidated = notification =&amp;gt;&#xA;                {&#xA;                    var identity = notification.AuthenticationTicket.Identity;&#xA;&#xA;                    foreach (var claimTransformationService in identityProvider.Transformations)&#xA;                    {&#xA;                        claimTransformationService.Transform(identity, new TransformationContext(FederatedAuthenticationConfiguration, identityProvider));&#xA;                    }&#xA;&#xA;                    notification.AuthenticationTicket = new AuthenticationTicket(identity, notification.AuthenticationTicket.Properties);&#xA;&#xA;                    Log.Info($&quot;AD AuthenticationTicket erstellt&quot;, &quot;adAuth&quot;);&#xA;&#xA;                    return Task.FromResult(0);&#xA;                }&#xA;&#xA;            }&#xA;        });&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here the slightly modified claim object I get from Azure&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Claims&quot;: [&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;aud&quot;,&#xA;    &quot;Value&quot;: &quot;5dc10a7b-a961-458a-8560-1d55cb8943e4&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;iss&quot;,&#xA;    &quot;Value&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/json_type&quot;: &quot;System.Int32&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;iat&quot;,&#xA;    &quot;Value&quot;: &quot;1554181283&quot;,&#xA;    &quot;ValueType&quot;: &quot;JSON&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/json_type&quot;: &quot;System.Int32&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;nbf&quot;,&#xA;    &quot;Value&quot;: &quot;1554181283&quot;,&#xA;    &quot;ValueType&quot;: &quot;JSON&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/json_type&quot;: &quot;System.Int32&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;exp&quot;,&#xA;    &quot;Value&quot;: &quot;1554185183&quot;,&#xA;    &quot;ValueType&quot;: &quot;JSON&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;aio&quot;,&#xA;    &quot;Value&quot;: &quot;ASQA2/8KAAAAxWvJNuWVxgVmSFH2Tut1C3Co5y5bl1sAifCP6qRT+rA=&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/ShortTypeName&quot;: &quot;amr&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;http://schemas.microsoft.com/claims/authnmethodsreferences&quot;,&#xA;    &quot;Value&quot;: &quot;pwd&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;c_hash&quot;,&#xA;    &quot;Value&quot;: &quot;HmxzxzxNfpnt3vKkL1t0zg&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/ShortTypeName&quot;: &quot;family_name&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname&quot;,&#xA;    &quot;Value&quot;: &quot;Blubb&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/ShortTypeName&quot;: &quot;given_name&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname&quot;,&#xA;    &quot;Value&quot;: &quot;Johannes&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;groups&quot;,&#xA;    &quot;Value&quot;: &quot;09c44f22-e2e2-4d2d-af90-3ccb0fb3b234&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;ipaddr&quot;,&#xA;    &quot;Value&quot;: &quot;15.15.85.212&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;name&quot;,&#xA;    &quot;Value&quot;: &quot;Blubb, Johannes - Test&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;nonce&quot;,&#xA;    &quot;Value&quot;: &quot;636897783827121098.NjMxZjhlYWYtMTQ4YS00YTlhLWJkMDgtMjgyNTdiYWMwM2UyY2QzOGYzYWMtYmIyOC00MzI2LTg4ZjktNDMzYzgzNDY1MWIy&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/ShortTypeName&quot;: &quot;oid&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;http://schemas.microsoft.com/identity/claims/objectidentifier&quot;,&#xA;    &quot;Value&quot;: &quot;7edc78ef-6666-6672-97d5-d8f643d6b47e&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;onprem_sid&quot;,&#xA;    &quot;Value&quot;: &quot;S-1-5-21-1456952878-1040323209-000000000-6677&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/ShortTypeName&quot;: &quot;sub&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier&quot;,&#xA;    &quot;Value&quot;: &quot;AnEOzDgyzeS4VcBNdElrZ2i_-BaW1HfABM_GK_DbMME&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/ShortTypeName&quot;: &quot;tid&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;http://schemas.microsoft.com/identity/claims/tenantid&quot;,&#xA;    &quot;Value&quot;: &quot;b076d2cb-aaaa-4977-aaaa-18266dbcf8f0&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/ShortTypeName&quot;: &quot;unique_name&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name&quot;,&#xA;    &quot;Value&quot;: &quot;Johannes.Blubb@Test.de&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {&#xA;        &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/ShortTypeName&quot;: &quot;upn&quot;&#xA;    },&#xA;    &quot;Type&quot;: &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn&quot;,&#xA;    &quot;Value&quot;: &quot;Johannes.Blubb@Test.de&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;uti&quot;,&#xA;    &quot;Value&quot;: &quot;uXQBhCnoFUCybAGqyjBBBB&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    },&#xA;    {&#xA;    &quot;Issuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;OriginalIssuer&quot;: &quot;https://sts.windows.net/b076d2cb-aaaa-4977-aaaa-18266dbcf8f0/&quot;,&#xA;    &quot;Properties&quot;: {},&#xA;    &quot;Type&quot;: &quot;ver&quot;,&#xA;    &quot;Value&quot;: &quot;1.0&quot;,&#xA;    &quot;ValueType&quot;: &quot;http://www.w3.org/2001/XMLSchema#string&quot;&#xA;    }&#xA;],&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I think I've some lack of understanging what is going on here or I what I am missing?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-04-02T18:09:42.740" LastActivityDate="2019-04-03T05:36:25.380" Title="Sitecore Azure federated authentication username mappings and Roles not working" Tags="|azure|azure-ad|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="17843" PostTypeId="2" ParentId="17467" CreationDate="2019-04-01T21:24:16.800" Score="1" Body="&lt;p&gt;So, I found the reason my listener wasn't firing.  It turns out, the listener &lt;code&gt;Sitecore.EmailCampaign.Activities.ClickListener&lt;/code&gt; listens for a specific &lt;code&gt;ClickPageEventId&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jmPP0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jmPP0.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The GUID that it's listening for &lt;code&gt;87431B9B-FA39-4780-BEB3-1047B9E61876&lt;/code&gt; is the GUID of the OOB &lt;code&gt;Click Email Link&lt;/code&gt; goal that has shipped with Sitecore forever.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YO5V6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YO5V6.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I had no idea that any of the OOB goals were dependencies for system functionality.  `&lt;/p&gt;&#xA;" OwnerUserId="165" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-01T21:24:16.800" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17844" PostTypeId="1" CreationDate="2019-04-01T22:41:23.987" Score="1" ViewCount="150" Body="&lt;p&gt;I am trying to configure the &lt;code&gt;Processing server&lt;/code&gt; according this architecture. 2 server for CD, &lt;code&gt;Reporting server&lt;/code&gt; and CM in the one single server and Processing in another server. I am configuring according this link the &lt;code&gt;Processing server&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/configure-a-processing-server.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/configure-a-processing-server.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is not clear how is the configuration in &lt;strong&gt;step-4&lt;/strong&gt; (&lt;code&gt;Connection string&lt;/code&gt;) and &lt;strong&gt;step-5&lt;/strong&gt; (&lt;code&gt;Configuration files&lt;/code&gt;) with the architecture indicated above because &lt;code&gt;Reporting server&lt;/code&gt; has a separated column?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally I don't know if it is required additional configuration to complete the configuration of the &lt;code&gt;Processing server&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="5320" LastEditorUserId="5096" LastEditDate="2019-05-06T07:56:42.990" LastActivityDate="2021-02-24T15:06:45.673" Title="Configuration Processing server Sitecore 8.2 update 5" Tags="|processing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17845" PostTypeId="2" ParentId="17835" CreationDate="2019-04-02T02:05:01.533" Score="0" Body="&lt;p&gt;Personalization is a great way to go, but it seems like you are going to need some display rendering rules to know which role the user is on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An easy way around this is to just use your controller rendering and feed the view the right data based on your rules.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult MyControllerRendering()&#xA;{&#xA;    Item model;&#xA;&#xA;    if (User.Type = &quot;User1&quot;)&#xA;        model = Sitecore.Context.Database.GetItem(Constants.UserOneitem);&#xA;&#xA;    if (User.Type = &quot;User1&quot;)&#xA;        model = Sitecore.Context.Database.GetItem(Constants.UserTwoitem);&#xA;&#xA;    return View(model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-04-02T02:05:01.533" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17846" PostTypeId="2" ParentId="17844" CreationDate="2019-04-02T02:50:49.413" Score="0" Body="&lt;p&gt;As per explanation from your question, since your reporting server is combined with CM, you don't need to consider the reporting service column in the documentation link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the connection string you should configure for your Processing Server&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Core&lt;/li&gt;&#xA;&lt;li&gt;Master&lt;/li&gt;&#xA;&lt;li&gt;Reporting&lt;/li&gt;&#xA;&lt;li&gt;Reporting Secondary (if you have secondary reporting DB)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Analytics&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;analytics&lt;/li&gt;&#xA;&lt;li&gt;tracking.live&lt;/li&gt;&#xA;&lt;li&gt;tracking.history&lt;/li&gt;&#xA;&lt;li&gt;tracking.contact&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Refer &lt;a href=&quot;https://doc.sitecore.com/resources/Config-Enable-Disable-Sitecore-8.2-Update2-5.xlsx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/resources/Config-Enable-Disable-Sitecore-8.2-Update2-5.xlsx&lt;/a&gt; &lt;strong&gt;reporting&lt;/strong&gt; column which files you need to enable in your CM server. You can safely ignore config files with &quot;RemoteServer&quot; &lt;/p&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2019-04-02T02:59:01.383" LastActivityDate="2019-04-02T02:59:01.383" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17847" PostTypeId="1" CreationDate="2019-04-02T05:23:40.657" Score="0" ViewCount="314" Body="&lt;p&gt;We know that sitecore uses solr dynamic fields so that we don't need to declare all the fields that we have in sitecore separately in the solr schema to get them indexed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case we have a singleline text field 'Meta Title' in sitecore that is indexed as 'meta_title_t' in solr. However, when searching on the field 'meta_title', sitecore sends a query like 'meta_title:*', that is, the _t is not appended to the fieldname that we pass to the solr query. Th reason is maybe that sitecore at search time does not know that 'meta_title' corresponds to the single-line text field 'Meta Title', the mapping seems to be gone. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How could we ensure that sitecore finds the correct mapping and appends the _t at search time? Of course, we could append the _t ourselves when searching, but that seems not very elegant. Or mabe define the field explicitly in sitecore solr configuration?&lt;/p&gt;&#xA;" OwnerUserId="1973" LastEditorUserId="1973" LastEditDate="2019-04-02T05:29:28.150" LastActivityDate="2019-04-02T05:29:28.150" Title="When searching with solr sitecore does not search in the right fields" Tags="|content-search|solr|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17848" PostTypeId="1" AcceptedAnswerId="17857" CreationDate="2019-04-02T05:40:55.133" Score="1" ViewCount="181" Body="&lt;p&gt;Information and it is not getting synchronized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;DEBUG [Data Exchange] Cannot resolve entity model from location or entity model is null. (pipeline: Process Single Contact from xConnect Pipeline, pipeline step: Add Contact Model to xConnect Batch, pipeline step identifier: 00fcd89b-21a1-4694-be3d-07ccf3cf84d8)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anybody encounter a similar situation and how do we analyze this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add on to this,  I was trying to follow the same steps as in inbuilt &lt;code&gt;pipeline&lt;/code&gt; and configure resolve item and apply mapping steps as shown in the screenshots below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/O3yza.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/O3yza.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b4Xdf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b4Xdf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MEWYN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MEWYN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trainings are in DynamicsContact &lt;code&gt;Facet&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eGbcz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eGbcz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iuFG0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iuFG0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EX8fC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EX8fC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5249" LastEditorUserId="5096" LastEditDate="2019-05-06T12:29:41.260" LastActivityDate="2019-05-06T12:29:41.260" Title="Batch Pipeline to sync contact" Tags="|data-exchange-framework|dynamics-crm-module|" AnswerCount="1" CommentCount="12" ContentLicense="CC BY-SA 4.0" />
  <row Id="17849" PostTypeId="1" AcceptedAnswerId="17859" CreationDate="2019-04-02T05:42:56.250" Score="1" ViewCount="148" Body="&lt;p&gt;we create  a custom registration page to register extra-net user in our sitecore application ,but our customer request activation email to activate account . &#xA; the problem is there is no activation filed in the sitecore core db , there is any solution to achieve this requirement ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string userName = string.Concat(firstName, lastName);&#xA;            userName = string.Format(@&quot;{0}\{1}&quot;, domain, userName);&#xA;            string newPassword = Membership.GeneratePassword(10, 3);&#xA;            try&#xA;            {&#xA;                if (!User.Exists(userName))&#xA;                {&#xA;                    Membership.CreateUser(userName, newPassword, email);&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5049" LastEditorUserId="73" LastEditDate="2019-04-02T09:38:12.103" LastActivityDate="2019-04-02T12:32:40.930" Title="send activation email after registration of new extranet user" Tags="|membership-provider|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17850" PostTypeId="2" ParentId="17842" CreationDate="2019-04-02T05:46:27.573" Score="0" Body="&lt;p&gt;I got a part of my solution for the strange username shown on the right above. The Full name was not mapped and also no email was mapped, because of the Claim Property names where not right for me. So I've added a logger for the Identity&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Log.Info($&quot;Identity {JsonConvert.SerializeObject(identity, Formatting.Indented, new JsonSerializerSettings() { ReferenceLoopHandling = ReferenceLoopHandling.Ignore })}&quot;, &quot;adAuth&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in the logfile I've seen that my Properties are mapped to the following claimes and property names. Now I see my username when I log in. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IiVWB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IiVWB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;    &amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;map name=&quot;email claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;          &amp;lt;!--claim name--&amp;gt;&#xA;          &amp;lt;source name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn&quot; /&amp;gt;&#xA;          &amp;lt;!--property name--&amp;gt;&#xA;          &amp;lt;target name=&quot;Email&quot; /&amp;gt;&#xA;        &amp;lt;/data&amp;gt;&#xA;      &amp;lt;/map&amp;gt;&#xA;      &amp;lt;map name=&quot;Name claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;          &amp;lt;!--claim name--&amp;gt;&#xA;          &amp;lt;source name=&quot;name&quot; /&amp;gt;&#xA;          &amp;lt;!--property name--&amp;gt;&#xA;          &amp;lt;target name=&quot;Name&quot; /&amp;gt;&#xA;        &amp;lt;/data&amp;gt;&#xA;      &amp;lt;/map&amp;gt;&#xA;    &amp;lt;/maps&amp;gt;&#xA;  &amp;lt;/propertyInitializer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I take a look on my user the User Name ist still a random string. Is this right? =&gt; Yes thats Right, here I should need to overright the user creation (&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you are able to Login, then your Role Mapping is working! Because when it's not working you get an error that you are not allowed to login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when you look in the &quot;Members of&quot; tab from your Azure Login user you will not see any assigned roles here that's RIGHT!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my only Problem was that my mappings where not right for email and username. The Role mapping was working right.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PyjJ1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PyjJ1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-04-03T05:36:25.380" LastActivityDate="2019-04-03T05:36:25.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17851" PostTypeId="1" CreationDate="2019-04-02T05:54:46.550" Score="0" ViewCount="228" Body="&lt;p&gt;Using Sitecore 8.2 Update 6, when I install SOLR 5.1, it updates the &lt;code&gt;JAVA_HOME&lt;/code&gt; environment variable to &lt;code&gt;C:\Program Files\Java\jre1.8.0_171&lt;/code&gt;, but I haven't got version installed  (and doesn't seem to be available on the SUN website).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have &lt;code&gt;1.8.0_131&lt;/code&gt; installed and would like to use that. Is that possible? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't want to just update the ENV Variable as this causes me other issues :(&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="277" LastEditDate="2019-04-02T06:01:40.283" LastActivityDate="2019-04-02T06:01:40.283" Title="SOLR 5.1 Java Version" Tags="|solr|java|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17852" PostTypeId="2" ParentId="17851" CreationDate="2019-04-02T06:01:06.417" Score="2" Body="&lt;p&gt;According to Solr 5.1 documentation:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Apache Solr runs of Java 7 or greater, Java 8 is verified to be compatible and may bring some performance improvements. When using Oracle Java 7 or OpenJDK 7, be sure to not use the GA build 147 or update versions u40, u45 and u51! We recommend using u55 or later.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;More can be read: &lt;a href=&quot;https://lucene.apache.org/solr/5_1_0/SYSTEM_REQUIREMENTS.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/5_1_0/SYSTEM_REQUIREMENTS.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes, you can continue with &lt;code&gt;java 1.8.0_131&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know how you installed Solr that it updated &lt;code&gt;JAVA_HOME&lt;/code&gt; variable, but you can switch it back.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-04-02T06:01:06.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17854" PostTypeId="2" ParentId="17849" CreationDate="2019-04-02T07:03:42.777" Score="0" Body="&lt;p&gt;Didn't test this in a Sitecore setup, but the CreateUser method does have an &lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/api/system.web.security.membership.createuser?view=netframework-4.7.2#System_Web_Security_Membership_CreateUser_System_String_System_String_System_String_System_String_System_String_System_Boolean_System_Object_System_Web_Security_MembershipCreateStatus__&quot; rel=&quot;nofollow noreferrer&quot;&gt;overloaded version like this&lt;/a&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static System.Web.Security.MembershipUser CreateUser (string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out System.Web.Security.MembershipCreateStatus status);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Important here is the &quot;&lt;strong&gt;isApproved&lt;/strong&gt;&quot; boolean. If you set that to false, the user is created but should not be able to login. Once activated, you could set this value to true.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-02T07:03:42.777" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17855" PostTypeId="2" ParentId="16012" CreationDate="2019-04-02T08:08:11.243" Score="1" Body="&lt;p&gt;as of SXA 1.8 the old Wireframe theme is deprecated. A new Wireframe theme is present (check  &lt;code&gt;/sitecore/media library/Themes/&lt;/code&gt;) If you reset the &lt;strong&gt;Mock Image&lt;/strong&gt; field of the theme then you will get your own images.&lt;/p&gt;&#xA;" OwnerUserId="5264" LastActivityDate="2019-04-02T08:08:11.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17857" PostTypeId="2" ParentId="17848" CreationDate="2019-04-02T10:38:41.833" Score="2" Body="&lt;p&gt;I see a few wrong thing in your implementation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Resolve Dynamics Contact By Identifier pipeline step:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;Identifier Value Accessor&lt;/code&gt; - This value accessor shoud be set for xConnect Contact, e.g.: &lt;code&gt;Data Access/Value Accessor Sets/Providers/xConnect/DynamicsContact/TrainingId&lt;/code&gt;. This value accessor is used to get identificator for resolving entity in Dynamics CRM.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Value Reader to Convert Identifier Value for Comparison&lt;/code&gt; - This Value Reader is used to read value from Identifier object. If your training id is stored as a field in a facet, you don't need to set this reader.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x7crV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x7crV.png&quot; alt=&quot;Resolve Dynamics Contact By Identifier&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's fix it first and then we will see what will happen else and extend the answer with further recommendations.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-04-02T10:38:41.833" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17858" PostTypeId="1" CreationDate="2019-04-02T12:11:44.683" Score="1" ViewCount="257" Body="&lt;p&gt;I'm getting a &lt;code&gt;System.OutOfMemoryException: Array dimensions exceeded supported range. in Microsoft.Extensions.DependencyInjection.ServiceProvider.CaptureDisposable&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which appears to be where the DI tracks the transient services for disposal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've recently used the standard DI pipeline to register services and I only have 2 services (controllers) that implement &lt;code&gt;IDisposable&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update from comments:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class IoCServicesConfigurator : IServicesConfigurator &#xA;{ &#xA;    public void Configure(IServiceCollection serviceCollection) &#xA;    { &#xA;        serviceCollection.AddTransient&amp;lt;SiteSearchController&amp;gt;(); &#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Question&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Does the Sitecore ServiceLocator.ServiceProvider.GetService(typeof(...)) reference a IServiceProvider as a per request item?&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Sitecore&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;It looks like the ISitecoreServiceLocatorScope is resolved from the static serviceProvider, ISitecoreServiceLocatorScope  is disposable so these references will build over time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As ServiceLocator.serviceProvider is a static field on a static class I believe the ISitecoreServiceLocatorScopes won't be disposed until the app pool is reset?&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Findings&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;It appears the static application service provider is not releasing Sitecore.DependencyInjection.SitecorePerRequestScopeModule.SitecoreServiceLocatorScope, this is Sitecore version 8.2&lt;/p&gt;&#xA;" OwnerUserId="4901" LastEditorUserId="4901" LastEditDate="2019-04-03T08:33:39.670" LastActivityDate="2019-08-31T10:02:05.233" Title="Sitecore dependency injection leak - IDisposable transient services" Tags="|dependency-injection|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17859" PostTypeId="2" ParentId="17849" CreationDate="2019-04-02T12:32:40.930" Score="0" Body="&lt;p&gt;MembershipUser has a property(IsApproved) to disable the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the code will be &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            string userName = string.Concat(firstName, lastName);&#xA;            userName = string.Format(@&quot;{0}\{1}&quot;, domain, userName);&#xA;            string newPassword = Membership.GeneratePassword(10, 3);&#xA;            try&#xA;            {&#xA;                if (!User.Exists(userName))&#xA;                {&#xA;                  var createduser =  Membership.CreateUser(userName, newPassword, email);&#xA;                  createduser.IsApproved = false;&#xA;                  Membership.UpdateUser(createduser);&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This disables the created user. &#xA;On the mail activation, the code will be&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;          if (Sitecore.Security.Accounts.User.Exists(userName))&#xA;            {&#xA;                var createduser=  Membership.GetUser(userName);&#xA;                createduser.IsApproved = true;&#xA;                Membership.UpdateUser(createduser);&#xA;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2019-04-02T12:32:40.930" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17860" PostTypeId="1" AcceptedAnswerId="17861" CreationDate="2019-04-02T13:30:39.643" Score="2" ViewCount="425" Body="&lt;p&gt;I've been trying to duplicate the solution proposed &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8893/sitecore-field-validator-change-to-custom-message/8900#8900&quot;&gt;here&lt;/a&gt; and I'm running up against an error that I can't seem to debug.  My config patch is here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;processor type=&quot;DVD.Utility.DVDItemSavingProcessor, DVD&quot; patch:instead=&quot;processor[@type='Sitecore.Pipelines.Save.Validators, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I've basically just copied and pasted the code from Sitecore.Piplelines.Save.Validators from the Sitecore.kernell.dll:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Collections;&#xA;using Sitecore.Data.Validators;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Globalization;&#xA;using Sitecore.Pipelines.Save;&#xA;using Sitecore.Web;&#xA;using Sitecore.Web.UI.Sheer;&#xA;using System;&#xA;&#xA;namespace DVD.Utility&#xA;{&#xA;    public class DVDItemSavingProcessor&#xA;    {&#xA;        public void Process(SaveArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            this.ProcessInternal(args);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Processes the internal.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;args&quot;&amp;gt;&#xA;        /// The arguments.&#xA;        /// &amp;lt;/param&amp;gt;&#xA;        protected void ProcessInternal(ClientPipelineArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            if (args.IsPostBack)&#xA;            {&#xA;                if (args.Result == &quot;no&quot;)&#xA;                {&#xA;                    args.AbortPipeline();&#xA;                }&#xA;                args.IsPostBack = false;&#xA;                return;&#xA;            }&#xA;            string formValue = WebUtil.GetFormValue(&quot;scValidatorsKey&quot;);&#xA;            if (string.IsNullOrEmpty(formValue))&#xA;            {&#xA;                return;&#xA;            }&#xA;            ValidatorCollection validators = ValidatorManager.GetValidators(ValidatorsMode.ValidatorBar, formValue);&#xA;            ValidatorOptions options = new ValidatorOptions(true);&#xA;            ValidatorManager.Validate(validators, options);&#xA;            Pair&amp;lt;ValidatorResult, BaseValidator&amp;gt; strongestResult = ValidatorManager.GetStrongestResult(validators, true, true);&#xA;            ValidatorResult part = strongestResult.Part1;&#xA;            BaseValidator part2 = strongestResult.Part2;&#xA;            if (part2 != null &amp;amp;&amp;amp; part2.IsEvaluating)&#xA;            {&#xA;                SheerResponse.Alert(&quot;The fields in this item have not been validated.\n\nWait until validation has been completed and then save your changes.&quot;, new string[0]);&#xA;                args.AbortPipeline();&#xA;                return;&#xA;            }&#xA;            if (part == ValidatorResult.CriticalError)&#xA;            {&#xA;                string text = Translate.Text(&quot;Some of the fields in this item contain critical errors.\n\nAre you sure you want to save this item?&quot;);&#xA;                if (Sitecore.MainUtil.GetBool(args.CustomData[&quot;showvalidationdetails&quot;], false) &amp;amp;&amp;amp; part2 != null)&#xA;                {&#xA;                    text += ValidatorManager.GetValidationErrorDetails(part2);&#xA;                }&#xA;                SheerResponse.Confirm(text);&#xA;                args.WaitForPostBack();&#xA;                return;&#xA;            }&#xA;            if (part == ValidatorResult.FatalError)&#xA;            {&#xA;                string text2 = Translate.Text(&quot;Some of the fields in this item contain fatal errors.\n\nYou must resolve these errors before you can save this item.&quot;);&#xA;                if (Sitecore.MainUtil.GetBool(args.CustomData[&quot;showvalidationdetails&quot;], false) &amp;amp;&amp;amp; part2 != null)&#xA;                {&#xA;                    text2 += ValidatorManager.GetValidationErrorDetails(part2);&#xA;                }&#xA;                SheerResponse.Alert(text2, new string[0]);&#xA;                SheerResponse.SetReturnValue(&quot;failed&quot;);&#xA;                args.AbortPipeline();&#xA;                return;&#xA;            }&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error that I'm getting is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[InvalidOperationException: Could not find method: Process. Pipeline: /sitecore[database=&quot;SqlServer&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;]/pipelines/httpRequestBegin/processor[type=&quot;DVD.Utility.DVDItemSavingProcessor, DVD&quot; patch:source=&quot;Tricare.CustomValidator.config&quot;]]&#xA;   Sitecore.Pipelines.CoreProcessor.GetMethodInfo(ProcessorObject obj, Object[] parameters) +170&#xA;   Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters) +152&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +455&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.(Object , EventArgs ) +551&#xA;   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +139&#xA;   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +88&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-04-02T13:32:36.053" Title="Error when overriding validators pipeline to create custom error text" Tags="|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17861" PostTypeId="2" ParentId="17860" CreationDate="2019-04-02T13:32:36.053" Score="4" Body="&lt;p&gt;You added your processor to wrong pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;saveUI&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and you added it to &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;httpRequestBegin&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Change your config to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;saveUI&amp;gt;&#xA;        &amp;lt;processor type=&quot;DVD.Utility.DVDItemSavingProcessor, DVD&quot; patch:instead=&quot;processor[@type='Sitecore.Pipelines.Save.Validators, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/saveUI&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-04-02T13:32:36.053" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17863" PostTypeId="1" CreationDate="2019-04-02T13:57:50.993" Score="1" ViewCount="275" Body="&lt;p&gt;I'm documenting an &lt;code&gt;EXM&lt;/code&gt; setup for Sitecore 9.1 and would like to use the new Email Preference Center. The requirements for setting up a subscription page include the ability to list out certain products to subscribe/unsubscribe dynamically based on &lt;code&gt;xDB&lt;/code&gt; custom &lt;code&gt;facet&lt;/code&gt; information. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This wouldn't work for the out of the box categories as they change for each user continuously. I would like to inject a new rendering onto the provided page but I can't find any documentation that says if you can add renderings to the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how far the Email Preference Center page can be customized?&lt;/p&gt;&#xA;" OwnerUserId="1892" LastEditorUserId="5096" LastEditDate="2019-05-06T07:56:48.480" LastActivityDate="2019-05-06T07:56:48.480" Title="Does the Email Preference Center have presentation details to edit?" Tags="|exm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17864" PostTypeId="1" AcceptedAnswerId="17865" CreationDate="2019-04-02T14:48:11.913" Score="3" ViewCount="120" Body="&lt;h2&gt;Scenario&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;A page contains several separate renderings. Each rendering displays some data which is returned from a remote service. Several of these data items come from the same remote service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This leads to that service being requested multiple times per page load, which seems inefficient.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Separate renderings are desirable as they can be used elsewhere on the website, and provides content editors flexibility.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Solutions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Does an established pattern exist to handle this scenario in an efficient way?&lt;/p&gt;&#xA;" OwnerDisplayName="user1704" LastActivityDate="2019-04-02T14:59:05.280" Title="Pattern for multiple renderings calling same service" Tags="|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17865" PostTypeId="2" ParentId="17864" CreationDate="2019-04-02T14:50:51.133" Score="4" Body="&lt;p&gt;Register the service in your DI scoped for the request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the first component calls the service, save the value in the service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When next component wants the same data, the service will already have it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used this blog post as a guide how to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.coreysmith.co/sitecore-dependency-injection-scoped-services/&quot; rel=&quot;noreferrer&quot;&gt;https://www.coreysmith.co/sitecore-dependency-injection-scoped-services/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In shortcut - register service:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExampleConfigurator : IServicesConfigurator&#xA;{&#xA;    public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;        serviceCollection.AddScoped&amp;lt;IScopedService, ScopedService&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the service itself:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ScopedService : IScopedService&#xA;{&#xA;    private object _externalData;&#xA;    public object ExternalData&#xA;    {&#xA;        get { return _externalData ?? (_externalData = GetDataFromExternalProvider()); }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And register the configurator:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;            &amp;lt;configurator type= &quot;ExampleConfigurator, MyAssembly&quot;/&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-04-02T14:59:05.280" LastActivityDate="2019-04-02T14:59:05.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17870" PostTypeId="1" AcceptedAnswerId="17884" CreationDate="2019-04-02T16:13:11.597" Score="3" ViewCount="1736" Body="&lt;p&gt;I'm using Sitecore 9.1 forms. I have a drop down and couple of sections of the form. Based on drop down value, i want to show/hide the sections. Below is my form and the conditions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i select one the form doesn't show any section. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However when i select two or empty, it works fine. Any idea how to resolve this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rAUJY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rAUJY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AHk5k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AHk5k.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jPQZY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jPQZY.png&quot; alt=&quot;Output looks like this&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4077" LastActivityDate="2019-04-03T03:56:52.013" Title="Sitecore 9.1 Forms conditional logic not working as expected" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17871" PostTypeId="1" AcceptedAnswerId="17887" CreationDate="2019-04-02T16:15:11.997" Score="0" ViewCount="156" Body="&lt;p&gt;Is it possible to set the default grid width for a component out of the box in SXA? Let me explain the thought process behind this to hopefully highlight the problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a component that has four variants, each of these is designed to sit at a particular grid width. Is this something I can configure per variant (I am aware this is very unlikely) or failing that, potentially assign it per component?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Variant 1:&lt;/strong&gt; Default grid with of 4&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Variant 2:&lt;/strong&gt; Default grid width of 8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If either of my options are not possible, or highly not recommended, what options do I have in order to minimise the potential for user error when configuring component grid width?&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Environment Details&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA 1.8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1 &lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Many thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="4487" LastEditorUserId="4487" LastEditDate="2019-04-02T16:20:21.843" LastActivityDate="2019-04-03T06:33:49.887" Title="Default Component Grid Width" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17872" PostTypeId="1" AcceptedAnswerId="17986" CreationDate="2019-04-02T16:21:31.727" Score="1" ViewCount="165" Body="&lt;p&gt;We recently set up a Sitecore 9.1 instance and we are using the xDB migration tool 2.1 to move our old analytics data which were used on Sitecore 8.2 update 6.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We were able to migrate the referencedata with no issue, but when we start the &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;MongoDB Contacts to xConnect Migration&quot; pipeline batch, it moves around 1000 records then fails when faced with a record from WFFM with this error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Exception while iterating data. (pipeline: Process Single Contact from MongoDB Pipeline, pipeline step: Iterate MongoDB Interactions and Run Pipelines, pipeline step identifier: 8adcbb38-793f-44f3-b4db-9eb2ea0fb808)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Element 'Name' does not match any field or property of class Sitecore.DataExchange.Tools.XdbDataMigration.Models.WFFMFieldDataModel. (pipeline: Process Single Contact from MongoDB Pipeline, pipeline step: Iterate MongoDB Interactions and Run Pipelines, pipeline step identifier: 8adcbb38-793f-44f3-b4db-9eb2ea0fb808)&#xA;  ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] &#xA;    at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContext context)&#xA;     at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args)&#xA;     at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1 serializer, BsonDeserializationContext context)&#xA;     at MongoDB.Bson.Serialization.BsonSerializer.Deserialize[TNominalType](BsonDocument document, Action`1 configurator)&#xA;     at Sitecore.DataExchange.Tools.XdbDataMigration.DataAccess.Readers.MongoDBCustomValuesForWFFMToXMLReader.GetFieldDataModelListFromArray(BsonArray bsonArray)&#xA;     at Sitecore.DataExchange.Tools.XdbDataMigration.DataAccess.Readers.MongoDBCustomValuesForWFFMToXMLReader.ReadFromArray(BsonArray array, DataAccessContext context)&#xA;     at Sitecore.DataExchange.DataAccess.Mappings.SequentialMappingSet.Run(MappingContext context)&#xA;     at Sitecore.DataExchange.Providers.XConnect.DataAccess.Writers.InteractionEventsValueWriter.WriteEvents(IEnumerable eventDataObjects, XObject parentEvent, DataAccessContext context)&#xA;     at Sitecore.DataExchange.DataAccess.Mappings.SequentialMappingSet.Run(MappingContext context)&#xA;     at Sitecore.DataExchange.Providers.XConnect.DataAccess.Writers.InteractionEventsValueWriter.WritePageViewEvents(InteractionModel interactionModel, IEnumerable eventDataObjects, DataAccessContext context)&#xA;     at Sitecore.DataExchange.DataAccess.Mappings.SequentialMappingSet.Run(MappingContext context)&#xA;     at Sitecore.DataExchange.ApplyMapping.ApplyMappingStepProcessor.ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;     at Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor.ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;     at Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor.ProcessPipeline(Pipeline pipeline, PipelineContext pipelineContext, ILogger logger)&#xA;     at Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor.ProcessPipelines(PipelineStep pipelineStep, ICollection`1 subPipelines, PipelineContext pipelineContext, ILogger logger)&#xA;     at Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor.IterateWithoutThreads(IEnumerable data, ICollection`1 pipelines, Action`1 afterElementHandled, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;     at Sitecore.DataExchange.Processors.PipelineSteps.IterateAndRunPipelinesStepProcessor.ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;  ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Pipeline step processing will abort because a critical error occurred during processing. (pipeline: Process Single Contact from MongoDB Pipeline, pipeline step: Iterate MongoDB Interactions and Run Pipelines)&#xA;  ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Sub pipeline processing will abort because a critical error occurred during processing. (pipeline: Process Single Contact from MongoDB Pipeline, pipeline step: Iterate MongoDB Interactions and Run Pipelines, pipeline step identifier: 8adcbb38-793f-44f3-b4db-9eb2ea0fb808, sub-pipeline: Process Single Contact from MongoDB Pipeline, sub-pipeline processor: Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor)&#xA;  ManagedPoolThread #6 07:48:32 INFO  [Data Exchange] 1125 elements were iterated before the processor was interrupted. (pipeline: Read Contacts from MongoDB Pipeline, pipeline step: Iterate MongoDB Contacts and Run Pipelines, pipeline step identifier: 97e330a3-a2dc-426e-aa1c-02fc407c7a6e)&#xA;  ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Pipeline step processing will abort because a critical error occurred during processing. (pipeline: Read Contacts from MongoDB Pipeline, pipeline step: Iterate MongoDB Contacts and Run Pipelines)&#xA;  ManagedPoolThread #6 07:48:32 ERROR [Data Exchange] Pipeline processing will abort because a critical error occurred during processing. (pipeline batch: MongoDB Contacts to xConnect Migration, pipeline: Read Contacts from MongoDB Pipeline, pipeline processor: Sitecore.DataExchange.Processors.Pipelines.PipelineProcessor)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Note: the step that is failing is the following step in the pipeline batch:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Data Exchange/embrace migration/Pipelines/MongoDB Contacts to xConnect Migration Pipelines/Process Single Contact from MongoDB Pipeline/Iterate MongoDB Interactions and Run Pipelines&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are also open to exclude WFFM data if there is a way to do that in the migration process&lt;/p&gt;&#xA;" OwnerUserId="329" LastActivityDate="2019-04-08T20:43:05.740" Title="MongoDB Contacts to xConnect Migration failing on WFFM analytics data" Tags="|wffm|xconnect|mongodb|data-migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17875" PostTypeId="1" AcceptedAnswerId="17879" CreationDate="2019-04-02T19:46:54.487" Score="1" ViewCount="303" Body="&lt;p&gt;Is it possible to install Sitecore packages (including both items and files) via the Sitecore Installation Framework (SIF) 2.0.0?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this functionality is not available out-of-the-box in SIF, I assume given SIF's extensibility that it's possible to write such an extension. Does such an extension exist?&lt;/p&gt;&#xA;" OwnerDisplayName="user1704" LastActivityDate="2019-04-02T21:20:32.250" Title="Package install via the Sitecore Installation Framework" Tags="|sitecore-install-framework|packages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17877" PostTypeId="1" AcceptedAnswerId="17878" CreationDate="2019-04-02T20:32:20.803" Score="4" ViewCount="614" Body="&lt;p&gt;By default, the JSS Node.js rendering engine captures console output / errors emitted by the Node instance(s) rendering your JSS app and logs the output / errors to the default Sitecore log.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to replace the built-in JSS/Sitecore logger with a custom logger, how can I go about doing so?&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-04-10T20:20:56.807" Title="In JSS Integrated Mode, how can I log errors / console output from Node to a custom logger instead of the Sitecore log?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17878" PostTypeId="2" ParentId="17877" CreationDate="2019-04-02T20:32:20.803" Score="5" Body="&lt;p&gt;To implement a custom logger, you'll need to implement a type that extends the &lt;code&gt;Sitecore.JavaScriptServices.ViewEngine.NodeServices.ILogger&lt;/code&gt; interface from the &lt;code&gt;Sitecore.JavaScriptServices.ViewEngine.NodeServices&lt;/code&gt; assembly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(For reference, use your favorite disassembler to inspect the default JSS/Sitecore implementation that logs Node.js output to Sitecore logs in the &lt;code&gt;Sitecore.JavaScriptServices.ViewEngine.Node.Logger&lt;/code&gt; class in the &lt;code&gt;Sitecore.JavaScriptServices.ViewEngine.Node&lt;/code&gt; assembly.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll then need to register your &lt;code&gt;ILogger&lt;/code&gt; implementation with the Sitecore DI container with something like this (where &lt;code&gt;MyCustomLogger&lt;/code&gt; is your custom implementation of &lt;code&gt;ILogger&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.DependencyInjection;&#xA;using Sitecore.JavaScriptServices.ViewEngine.NodeServices;&#xA;&#xA;namespace MyNamespace&#xA;{&#xA;    public class RegisterDependenciesPatch : IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            var toRemove = serviceCollection.FirstOrDefault(d =&amp;gt; d.ServiceType == typeof(ILogger));&#xA;            serviceCollection.Remove(toRemove);&#xA;            serviceCollection.AddTransiet&amp;lt;ILogger, MyCustomLogger&amp;gt;();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Lastly, you'll need to patch the &lt;code&gt;App_Config/Sitecore/JavaScriptServices/Sitecore.JavaScriptServices.ViewEngine.Node.config&lt;/code&gt; file to add your dependency registration code &lt;em&gt;after&lt;/em&gt; the default JSS Node services dependency registrations. Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;configurator&#xA;      type=&quot;MyNamespace.RegisterDependenciesPatch, MyLibrary&quot;&#xA;      patch:after=&quot;*[@type='Sitecore.JavaScriptServices.ViewEngine.Node.RegisterDependencies, Sitecore.JavaScriptServices.ViewEngine.Node']&quot;&#xA;    /&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2019-04-10T20:20:56.807" LastActivityDate="2019-04-10T20:20:56.807" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17879" PostTypeId="2" ParentId="17875" CreationDate="2019-04-02T21:20:32.250" Score="0" Body="&lt;p&gt;While this task isn't available out-of-the box, it's absolutely possible. &#xA;You can create an ASMX service responsible for installing Sitecore packages and a custom SIF module to consume the service. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rob Ahnemann (creator of SIF-Less) has outlined how this can be achieved in this &lt;a href=&quot;http://www.rockpapersitecore.com/2017/11/using-sif-to-install-sitecore-packages/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="4633" LastActivityDate="2019-04-02T21:20:32.250" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17880" PostTypeId="1" CreationDate="2019-04-02T21:41:39.940" Score="2" ViewCount="564" Body="&lt;p&gt;I've been trying to hand off some content for our developers to test with. However, when they use the installation wizard to install my package, the installation fails. I checked their logs and am seeing this message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #12 16:16:04 ERROR One or more exceptions occurred while processing the subscribers to the 'packageinstall:items:ended' event.&#xA;Exception[1]: System.NullReferenceException &#xA;Message[1]: Object reference not set to an instance of an object. &#xA;Source[1]: Sitecore.ContentSearch &#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.IsExcludedFromIndex(SitecoreIndexableItem indexable, Boolean checkLocation)&#xA;   at Sitecore.XA.Foundation.VersionSpecific.Search.SxaItemCrawler.IsExcludedFromIndex(SitecoreIndexableItem indexable, Boolean checkLocation)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.GetContextIndexRanking(IIndexable indexable)&#xA;...&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found another post on here that would seem to indicate there's a missing item in my package that's causing the Solr index re-population to fail, but I don't know what it is. I've checked the package project over and over, I believe I've included everything. How can I find out what item is missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI, we all have Sitecore 9.1 with SXA 1.8 installed. The content is SXA based content.&lt;/p&gt;&#xA;" OwnerUserId="4157" LastActivityDate="2019-04-03T06:20:30.570" Title="Something missing from Sitecore package, how to find out what it is" Tags="|sxa|solr|packages|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17884" PostTypeId="2" ParentId="17870" CreationDate="2019-04-03T03:51:46.583" Score="4" Body="&lt;p&gt;I have tried messing around with the conditions, and I am concluding that the Sitecore Forms conditional logic is weird.&lt;/p&gt;&#xA;&lt;h2&gt;1. Logic&lt;/h2&gt;&#xA;&lt;p&gt;The conditional logic seems to be based on the following&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;All Condition are evaluated and applied in sequence.&lt;/li&gt;&#xA;&lt;li&gt;Foreach condition, if the Condition matches, then apply selected action. Else, apply inverse of selected action.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h1&gt;2. Example&lt;/h1&gt;&#xA;&lt;h2&gt;2.1. Setting&lt;/h2&gt;&#xA;&lt;p&gt;To explain how it works, lets use your scenario. For your scenario, it can work with the following setting&#xA;&lt;a href=&quot;https://i.stack.imgur.com/hVBPz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hVBPz.png&quot; alt=&quot;Condition&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;2.2. Explanation&lt;/h2&gt;&#xA;&lt;h3&gt;2.2.1. Dropdown Selection: Empty&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Condition 1 Evaluation = False. Inverse selected action (Hide section1 and section2)&lt;/li&gt;&#xA;&lt;li&gt;Condition 2 Evaluation = True. Apply selected action (Hide section1)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Results: Hide both section1 and section2&lt;/p&gt;&#xA;&lt;h3&gt;2.2.2. Dropdown Selection: 1&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Condition 1 Evaluation = False. Inverse selected action (Hide section1 and section2)&lt;/li&gt;&#xA;&lt;li&gt;Condition 2 Evaluation = False. Inverse selected action (Show section1)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Results: Show section1 and hide section2&lt;/p&gt;&#xA;&lt;h3&gt;2.2.3. Dropdown Selection: 2&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Condition 1 Evaluation = True. Apply selected action (Show section1 and section2)&lt;/li&gt;&#xA;&lt;li&gt;Condition 2 Evaluation = False. Inverse selected action (Show section1)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Results: Show both section1 and section2&lt;/p&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-03T03:56:52.013" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17885" PostTypeId="1" CreationDate="2019-04-03T03:55:23.270" Score="1" ViewCount="323" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NwnNM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NwnNM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;Due to project base markup particularities, such as a different wrapper ID, different disposition of header, footer , we need to create a customized version of SXA's Bootstrap Layout and implement our changes to a separated file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) We created a OurProjectGridBody.cshtml with our content&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc&#xA;&#xA;&amp;lt;div id=&quot;OurProjectWrapper&quot;&amp;gt;&#xA;&amp;lt;div id=&quot;OurProjectpage&quot;&amp;gt;&#xA;        @Html.Sitecore().Placeholder(&quot;header&quot;)&#xA;        @Html.Sitecore().Placeholder(&quot;main&quot;)&#xA;        @Html.Sitecore().Placeholder(&quot;footer&quot;)&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Next created a new definition folder at the path /sitecore/system/Settings/Feature/OurProject&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) At OurProject Grid Definition item (/sitecore/system/Settings/Feature/OurProject/OurProject) we point to our new layout file OurProjectGridBody.cshtml&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) At the Grid Setup item (/sitecore/system/Settings/Feature/OurProject/OurProjectGrid Setup) we selected the new Grid Definition item from step 3&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) Set the Grid for the Site to OurProjectGrid&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when we open Home (SXA template) in experience editor then it does picks up our newly created OurProjectGrid but I do not see the SXA toolbar.&#xA;I do see the different place holders and I can see the option to insert the available renderings but I do not see the SXA tool bar&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I make the SXA tool bar appear in new custom Grid.&lt;/p&gt;&#xA;" OwnerUserId="3129" LastEditorUserId="1671" LastEditDate="2019-04-04T13:21:32.513" LastActivityDate="2019-04-04T13:21:32.513" Title="SXA Toolbar missing on Customized version of Bootstrap Layout" Tags="|sxa|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17887" PostTypeId="2" ParentId="17871" CreationDate="2019-04-03T06:33:49.887" Score="1" Body="&lt;p&gt;This is not possible out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What we did is setting &lt;code&gt;col-4&lt;/code&gt; / &lt;code&gt;col-8&lt;/code&gt; or specific &lt;code&gt;col-md-4&lt;/code&gt; or &lt;code&gt;col-lg-4&lt;/code&gt; respective classes on Rendering Variant level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a field Css Class that will be combined with Css Class field on Rendering itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By this combination you can achieve what you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can even use &lt;code&gt;Allowed in templates&lt;/code&gt; field on your Rendering Variants to specify which one will be used on which template to help out content editors to choose correct Rendering Variant for that particular page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look here:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-a-rendering-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-a-rendering-variant.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-04-03T06:33:49.887" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17888" PostTypeId="1" CreationDate="2019-04-03T06:36:54.013" Score="0" ViewCount="1293" Body="&lt;p&gt;1) Delete the item from master and publish the item to web&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Set unpublish date to an older date&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) check &quot;Never Publish&quot; checkbox and publish the item to web&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) disable the item and publish it&lt;/p&gt;&#xA;" OwnerUserId="5322" LastEditorUserId="605" LastEditDate="2019-04-03T06:59:14.537" LastActivityDate="2019-04-03T07:33:35.907" Title="What are different ways to delete item from web database" Tags="|publishing|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17889" PostTypeId="1" AcceptedAnswerId="17893" CreationDate="2019-04-03T06:45:22.213" Score="2" ViewCount="549" Body="&lt;p&gt;I am learning Sitecore and I would like to know best practices on where should I store user specific data&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example: I am implementing &quot;TODO List&quot; website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where should I store &quot;Task&quot; models? Should I store them in database and access them through ORM (EF, etc.) or I should create new &quot;Task&quot; items in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="5332" LastActivityDate="2019-04-03T08:49:19.987" Title="Where to store data in Sitecore?" Tags="|best-practices|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17890" PostTypeId="2" ParentId="17888" CreationDate="2019-04-03T07:33:35.907" Score="3" Body="&lt;p&gt;Based on the different options you've shared and from the comments, the best approach is to use the Sitecore Publish Restrictions.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Set unpublish date to an older date&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It is an option but I won't recommend it as if the older date is met, then the item will be published. I know that it is still possible to add the date to a longer time, like year 2080.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Check &quot;Never Publish&quot; checkbox and publish the item to web&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Seems to be the best option out here because as long as the &lt;code&gt;never publish&lt;/code&gt; checkbox is checked, the item will not be published to web and will get removed if it is already found on web.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Disable the item and publish it&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If by disabling the item, you mean using workflows, then it will work if the item stays in the draft mode but I won't recommend this option because workflow is set on version specific. You may have an item with 3 versions and only 1 version is in draft. The item will still be visible on web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you've update the item via the Publish Restrictions, you'll need to perform a publish so that the changes are reflected on the web database.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-04-03T07:33:35.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17891" PostTypeId="2" ParentId="470" CreationDate="2019-04-03T08:26:01.560" Score="2" Body="&lt;p&gt;To add to the already good answer by Ed, the regex check in &lt;code&gt;GetItemNameError&lt;/code&gt; is a little different in Sitecore 7.2: &lt;code&gt;if (itemNameValidation.Length &amp;gt; 0 &amp;amp;&amp;amp; !Regex.IsMatch(name, itemNameValidation))&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note the lack of &lt;code&gt;RegexOptions.ECMAScript&lt;/code&gt;, which changes the meaning of &lt;code&gt;\w&lt;/code&gt; to exclude characters with diacritics. That explains why items from a Sitecore 7.2 instance sometimes can't be imported into Sitecore 8 or higher instance (see Keith's comment on his question).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't tested this, but &lt;em&gt;maybe&lt;/em&gt; you can get around this by serializing the item and deserializing it in the new version.&lt;/p&gt;&#xA;" OwnerUserId="2435" LastActivityDate="2019-04-03T08:26:01.560" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17892" PostTypeId="2" ParentId="17858" CreationDate="2019-04-03T08:39:48.220" Score="1" Body="&lt;p&gt;It appears the ISitecoreServiceLocatorScope is registered as a transient on the global ServierProvider&lt;/p&gt;&#xA;&#xA;&lt;p&gt;serviceCollection.Add(new ServiceDescriptor(typeof (ISitecoreServiceLocatorScope), new Func(SitecorePerRequestScopeModule.GetScope), ServiceLifetime.Transient));&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This appears to have been fixed in Sitecore 9&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.Add(new ServiceDescriptor(typeof (ISitecoreServiceLocatorScope), typeof (SitecoreSingletonServiceScope), ServiceLifetime.Singleton));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4901" LastActivityDate="2019-04-03T08:39:48.220" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17893" PostTypeId="2" ParentId="17889" CreationDate="2019-04-03T08:49:19.987" Score="2" Body="&lt;p&gt;Since the data is user-specific, for your TODO-list example storing it in Sitecore items does not make sense and does not add value. It is &lt;strong&gt;important to have a clear separation&lt;/strong&gt; between your business domain data (TODO items management) and content (localizable data you store in Sitecore).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are several approaches for such cases:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Your Sitecore renderings can retrieve data from your custom database (&lt;em&gt;of course it is advisable to abstract the storage via Repository/Service patterns, which you can inject into your rendering code&lt;/em&gt;), combine it with Sitecore content (&lt;em&gt;if needed, e.g if your TODO items have some localizable content, like labels&lt;/em&gt;) and render it all together.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Alternatively, you can also build a Web API which will be responsible for providing data for your renderings. In this scenario, your frontend code will be responsible for calling this API. This ensures even higher degree of separation of your business domain data and Sitecore content. This can also lead to a broader discussion on where to store/host the business logic in your Sitecore projects, which is covered in this question: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14762/sitecore-helix-pattern-and-where-to-place-your-business-logic/16790#16790&quot;&gt;Sitecore helix pattern and where to place your business logic&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Note:&lt;/em&gt;&lt;/strong&gt; When building such kind of components which combine external data and Sitecore items it is also important to consider Experience Editor support. For example, you have to make sure that in Experience Editor mode you don't query data from your 3-rd party system, but you provide some mock data instead (&lt;em&gt;because there is no authenticated user context and your Content Editors do not care about the data itself, they only care about content&lt;/em&gt;).&lt;/p&gt;&#xA;" OwnerUserId="862" LastActivityDate="2019-04-03T08:49:19.987" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17894" PostTypeId="1" CreationDate="2019-04-03T09:13:03.103" Score="0" ViewCount="643" Body="&lt;p&gt;I want to add a button to EE edit frame so that when clicked it will open a popup window with some custom data/fieldValue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, when you click &quot;Usage: &quot; button at the end of the edit frame menu.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/24ayw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/24ayw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to achieve this..&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2019-05-03T13:01:55.573" Title="Sitecore Experience Editor Popup Window" Tags="|experience-editor|speak|sheer-ui|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17895" PostTypeId="1" AcceptedAnswerId="17898" CreationDate="2019-04-03T10:55:56.713" Score="0" ViewCount="887" Body="&lt;p&gt;When viewing chrome dev tools, I can see that the Experience Analytics Tracking cookie (SC_ANALYTICS_GLOBAL_COOKIE) is not present.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have made sure that the Analytics.Tracking is set to true, Analytics.Tracking.Enabled is set to true, the VisitorIdentification extension method is set and also that the Analytics.CookieDomain is set correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When viewing the logs, we see the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;500232 08:57:50 ERROR Cannot create tracker.&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert)&#xA;   at Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode processorNode)&#xA;   at Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode processorNode)&#xA;   at Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters)&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureSessionContextPipeline.&amp;lt;&amp;gt;c__DisplayClass4_0.&amp;lt;Run&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;Monitor&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()&#xA;   at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Tracker.Initialize()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.TypeInitializationException&#xA;Message: The type initializer for 'Sitecore.Analytics.DataAccess.Dictionaries.KnownDataDictionaries' threw an exception.&#xA;Source: Sitecore.Analytics&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureDevice..ctor()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.MissingMethodException&#xA;Message: Method not found: 'Void Sitecore.Diagnostics.Assert.IsNotNull(System.Object, System.String, System.String)'.&#xA;Source: Sitecore.Analytics.DataAccess&#xA;   at Sitecore.Analytics.DataAccess.DataAdapterProviderCollection.Add(ProviderBase provider)&#xA;   at Sitecore.Configuration.DefaultFactory.GetProviders[TProvider,TCollection](List`1 nodes)&#xA;   at Sitecore.Configuration.DefaultFactory.GetProviders[TProvider,TCollection](String rootPath, TProvider&amp;amp; defaultProvider)&#xA;   at Sitecore.Configuration.ProviderHelper`2.ReadProviders()&#xA;   at Sitecore.Configuration.ProviderHelper`2.get_Provider()&#xA;   at Sitecore.Analytics.XConnect.DataAccess.Pipelines.InitializeKnownDataDictionaries.InitializeDeviceDataDictionaryProcessor.Process(InitializeKnownDataDictionariesArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.DataAccess.Pipelines.InitializeKnownDataDictionaries.InitializeKnownDataDictionariesPipeline.Run(InitializeKnownDataDictionariesArgs args)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.KnownDataDictionaries..cctor()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone else experienced this or know what the issue might be? Thanks&lt;/p&gt;&#xA;" OwnerUserId="5333" LastActivityDate="2019-04-03T11:28:57.380" Title="Experience Analytics Tracker not being created" Tags="|xdb|xconnect|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17896" PostTypeId="1" AcceptedAnswerId="17965" CreationDate="2019-04-03T11:00:53.880" Score="1" ViewCount="450" Body="&lt;p&gt;SXA Version: 1.8&#xA;Component: Maps&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using SXA map component on my page and is connecting to Google Map. I have provided the coordinates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to display the map zoomed to the street level. But irrespective of the value selected from drop-down for zoom, the map on my page is not that detailed.&#xA;Though the value selected a zoom level gets updated in the source.&#xA;Please see the present situation on my page.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/lObZX.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lObZX.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion will be useful.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="73" LastEditDate="2019-04-08T07:06:39.200" LastActivityDate="2019-04-08T07:06:39.200" Title="Google Map zoom not working" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17898" PostTypeId="2" ParentId="17895" CreationDate="2019-04-03T11:28:57.380" Score="2" Body="&lt;p&gt;What sitecore version do you use? It seems that you have incorrect versions of dlls. Main error is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Message: Method not found: 'Void Sitecore.Diagnostics.Assert.IsNotNull(System.Object, System.String, System.String)'.&#xA;Source: Sitecore.Analytics.DataAccess&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure that this method exist in your version of Sitecore.Kernel.dll&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;Asserts that the specified value is not null.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;value&quot;&amp;gt;The value.&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;format&quot;&amp;gt;The format.&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;arg1&quot;&amp;gt;The arg1.&amp;lt;/param&amp;gt;&#xA;    [AssertionMethod]&#xA;    [StringFormatMethod(&quot;format&quot;)]&#xA;    public static void IsNotNull([AssertionCondition(AssertionConditionType.IS_NOT_NULL)] object value, string format, string arg1);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-04-03T11:28:57.380" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17899" PostTypeId="2" ParentId="17863" CreationDate="2019-04-03T12:02:27.667" Score="1" Body="&lt;p&gt;You asked, 'Does the Email Preference Center have presentation details to edit?'.  It does not.  That page seems to be more of a bolt-on, that (I think) came from the original ECM module.  We had to figure out recently where all the content came from.  Here's what we found.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Subscription preferences page lives here. &#xA;&lt;code&gt;/sitecore%20modules/Web/EXM/SubscriptionPreferences.ashx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what's &lt;em&gt;customizable&lt;/em&gt; and where it lives.&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/SZCG9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SZCG9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;1. Preference Center Layout Html: Lives in the preferences center section of the email root&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Title lives in the same place&lt;/li&gt;&#xA;&lt;li&gt;Logo &amp;amp; intro text live in the branding section of the email root&lt;/li&gt;&#xA;&lt;li&gt;Marketing preferences are selected from within the marketing categories section of the email root.  Category groupings are managed in the email node of &lt;code&gt;/sitecore/system/Marketing Control Panel/Taxonomies/Marketing categories&lt;/code&gt;&#xA;5 &amp;amp; 7. Unsubscribe text &amp;amp; button text lives in the preferences center section of the email root&lt;/li&gt;&#xA;&lt;li&gt;Brand name lives in the branding section of the email root&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-04-03T12:02:27.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17900" PostTypeId="1" CreationDate="2019-04-03T12:19:41.610" Score="1" ViewCount="38" Body="&lt;p&gt;I have run the Sitecore Express Migration Tool 3.1 to migrate a 7.2 instance to 9.0 and I am very confused by the different diff and disabled migrated config files.  I have read the EMT guide (specifically section 4.1.1) but I still don't understand what I am supposed to do with these migrated config files.  Here are different examples...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the &lt;code&gt;web.diff.config.disabled&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;log4net&amp;gt;&#xA;&amp;lt;appender name=&quot;LogFileAppender&quot;&amp;gt;&#xA;  &amp;lt;!--EXPRESS MIGRATION: The node has been deleted--&amp;gt;&#xA;  &amp;lt;!--&amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;--&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;appender name=&quot;WebDAVLogFileAppender&quot;&amp;gt;&#xA;  &amp;lt;!--EXPRESS MIGRATION: The node has been deleted--&amp;gt;&#xA;  &amp;lt;!--&amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;--&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;appender name=&quot;SearchLogFileAppender&quot;&amp;gt;&#xA;  &amp;lt;!--EXPRESS MIGRATION: The node has been deleted--&amp;gt;&#xA;  &amp;lt;!--&amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;--&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;appender name=&quot;CrawlingLogFileAppender&quot;&amp;gt;&#xA;  &amp;lt;!--EXPRESS MIGRATION: The node has been deleted--&amp;gt;&#xA;  &amp;lt;!--&amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;--&amp;gt;&#xA;&amp;lt;/appender&amp;gt;&#xA;&amp;lt;!--EXPRESS MIGRATION: The node has been deleted--&amp;gt;&#xA;&amp;lt;!--&amp;lt;appender name=&quot;PublishingLogFileAppender&quot; type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&amp;lt;file value=&quot;$(dataFolder)/logs/Publishing.log.{date}.txt&quot; /&amp;gt;&amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&amp;lt;/layout&amp;gt;&amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&amp;lt;/appender&amp;gt;--&amp;gt;&#xA;&amp;lt;!--EXPRESS MIGRATION: The node has been deleted--&amp;gt;&#xA;&amp;lt;!--&amp;lt;logger name=&quot;Sitecore.Diagnostics.Publishing&quot; additivity=&quot;false&quot;&amp;gt;&amp;lt;level value=&quot;INFO&quot; /&amp;gt;&amp;lt;appender-ref ref=&quot;PublishingLogFileAppender&quot; /&amp;gt;&amp;lt;/logger&amp;gt;--&amp;gt;&#xA;&amp;lt;logger name=&quot;Sitecore.Diagnostics.Search&quot;&amp;gt;&#xA;  &amp;lt;!--EXPRESS MIGRATION: The node has been added--&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/logger&amp;gt;&#xA;&amp;lt;logger name=&quot;Sitecore.Diagnostics.Crawling&quot;&amp;gt;&#xA;  &amp;lt;!--EXPRESS MIGRATION: The node has been added--&amp;gt;&#xA;  &amp;lt;encoding value=&quot;utf-8&quot; /&amp;gt;&#xA;&amp;lt;/logger&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is this telling me?  I see a number of &lt;code&gt;The node has been deleted&lt;/code&gt; comments.  And I see a few &lt;code&gt;The node has been added&lt;/code&gt; comments.  I don't understand what action I am supposed to take here on my new migrated 9.0 instance.  Am I supposed to go and add or remove things from my 9.0 instance?  I guess I don't understand what &lt;code&gt;The node has been deleted&lt;/code&gt; and &lt;code&gt;The node has been added&lt;/code&gt; mean.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are some more examples:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;!--EXPRESS MIGRATION: The node has been added--&amp;gt;&#xA;    &amp;lt;httpRedirect enabled=&quot;false&quot; destination=&quot;&quot; httpResponseStatus=&quot;Permanent&quot; /&amp;gt;&#xA;    &amp;lt;!--EXPRESS MIGRATION: The node has been added--&amp;gt;&#xA;    &amp;lt;httpProtocol&amp;gt;&#xA;      &amp;lt;customHeaders&amp;gt;&#xA;        &amp;lt;add name=&quot;X-Frame-Options&quot; value=&quot;SAMEORIGIN&quot; /&amp;gt;&#xA;      &amp;lt;/customHeaders&amp;gt;&#xA;    &amp;lt;/httpProtocol&amp;gt;&#xA;    &amp;lt;!--EXPRESS MIGRATION: The node has been added--&amp;gt;&#xA;    &amp;lt;rewrite&amp;gt;&#xA;      &amp;lt;rules&amp;gt;&#xA;        &amp;lt;rule name=&quot;LowerCaseRule1&quot; enabled=&quot;false&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;          &amp;lt;match url=&quot;[A-Z]&quot; ignoreCase=&quot;false&quot; /&amp;gt;&#xA;          &amp;lt;action type=&quot;Redirect&quot; url=&quot;{ToLower:{URL}}&quot; /&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;      &amp;lt;/rules&amp;gt;&#xA;    &amp;lt;/rewrite&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The other part are all of the disabled config files in the include folder.  I imagine that I need to go through those one at a time and decide if I want to still include those in the 9.0 instance.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2019-04-03T12:19:41.610" Title="How do I interpret the results of the config changes for the Sitecore Express Migration Tool?" Tags="|configuration|express-migration-tool|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17901" PostTypeId="2" ParentId="17894" CreationDate="2019-04-03T12:40:15.673" Score="1" Body="&lt;p&gt;You can add a DialogWindow component on your app's presentation details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your javascript add a function to open the dialog window.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;openUploadDialog: function () {&#xA;  this.UploadDialog.show();&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, you can call this function with a button or other trigger.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/thE7o.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/thE7o.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-04-03T12:40:15.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17902" PostTypeId="1" CreationDate="2019-04-03T13:04:05.630" Score="1" ViewCount="866" Body="&lt;p&gt;In &lt;strong&gt;Sitecore 8.2&lt;/strong&gt;, I had pipeline with password complexity check:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CheckPassword&#xA;{&#xA;    public void Process(LoggingInArgs args)&#xA;    {&#xA;        var validator = new CustomValidator();&#xA;        if(!validator.Validate(args.UserName, args.Password))&#xA;        {&#xA;            args.StartUrl = &quot;change password url&quot;;&#xA;        }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1 uses &lt;code&gt;OWIN&lt;/code&gt; authentication and as i got it doesn't use this pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, is it possible to get check credentials of user before they will be logged in?&lt;/p&gt;&#xA;" OwnerUserId="5263" LastEditorUserId="277" LastEditDate="2019-05-07T13:52:18.553" LastActivityDate="2023-01-03T01:55:38.683" Title="How to rework LoggingIn pipelines in Sitecore 9.1?" Tags="|pipelines|authentication|migration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17903" PostTypeId="1" AcceptedAnswerId="18366" CreationDate="2019-04-03T13:17:33.533" Score="6" ViewCount="909" Body="&lt;p&gt;I have used &lt;code&gt;SIF&lt;/code&gt; to install &lt;strong&gt;Sitecore 9.1&lt;/strong&gt; and it worked (database is created and everything is working).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I want to install a new instance of Sitecore 9.1 on another server - without creating a database, because I already have it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I do this? It might be obvious, but I can't seem to find this in the installation guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was speculating that the &lt;code&gt;Install-SitecoreConfiguration&lt;/code&gt; command would discover that the database already existed and then just install the website, but when I try this I get an error somewhat like this: &quot;&lt;code&gt;You must remove all users with password before setting the containment property to NONE&lt;/code&gt;” (which I suppose means that it is trying to create the database, and then failing because it is already there).&lt;/p&gt;&#xA;" OwnerUserId="2553" LastEditorUserId="5096" LastEditDate="2019-05-08T05:49:29.523" LastActivityDate="2019-05-08T05:49:29.523" Title="How to use SIF to install Sitecore 9.1 instance connected to existing database" Tags="|sitecore-install-framework|installation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17904" PostTypeId="1" AcceptedAnswerId="18033" CreationDate="2019-04-03T13:18:05.800" Score="0" ViewCount="219" Body="&lt;p&gt;I wanted to create security roles for sitecore users and use the script available in sxa by referring the below links -&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/set-up-security-for-a-tenant-and-a-site.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/set-up-security-for-a-tenant-and-a-site.html&lt;/a&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/the-sxa-security-roles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/the-sxa-security-roles.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Then i created a user and assigned different role groups (site author, site designer, tenant author and tenant designer).&#xA;After logging in with that username i am not able to edit any items. And get below warning message on top of every item -&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NIxRs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NIxRs.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;i verified the Language setting in each user profile which is set to default.&lt;/p&gt;&#xA;&lt;p&gt;Below are the roles that got generated after running the script&#xA;&lt;a href=&quot;https://i.stack.imgur.com/rFoB0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rFoB0.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Roles assigned to a user&#xA;&lt;a href=&quot;https://i.stack.imgur.com/l76t4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l76t4.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Also i got below errors while setting up security role&#xA;Error at tenant level&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vPSfH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vPSfH.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Error at site level&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TqXzB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TqXzB.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Am i missing something ??&lt;/p&gt;&#xA;" OwnerUserId="5030" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-10T18:01:25.333" Title="Not able to edit items after using Sitecore SXA security role" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17905" PostTypeId="1" AcceptedAnswerId="18075" CreationDate="2019-04-03T13:33:34.887" Score="11" ViewCount="2288" Body="&lt;p&gt;I created a Sitecore Form in Korean language (ko-Kr) version. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For an Email field on this form, we used Email Validator and updated the error message on this path &lt;code&gt;/sitecore/system/Settings/Forms/Validations/Email Validator&lt;/code&gt; to Korean language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now if I type &quot;&quot; or if i enter an invalid email id, it is showing the validation error message in English language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whereas if I type &quot;sd@s&quot;, I am getting error message which I configured for the validation item path &lt;code&gt;/sitecore/system/Settings/Forms/Validations/Email Validator&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/awM9W.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/awM9W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I type Alphanumeric character, it is showing error message in English. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone suggest why I am getting the error message in English in this scenario?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vLjcC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vLjcC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="4397" LastEditDate="2019-04-05T15:04:25.400" LastActivityDate="2024-03-22T14:46:27.243" Title="Sitecore Forms email field validation message is showing in English instead of Korean language" Tags="|sitecore-forms|" AnswerCount="3" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="17906" PostTypeId="2" ParentId="17903" CreationDate="2019-04-03T13:42:32.943" Score="1" Body="&lt;p&gt;On Sif Configuration files &lt;strong&gt;sitecore-XP0.json&lt;/strong&gt; and &lt;strong&gt;xconnect-xp0.json&lt;/strong&gt; you have a&lt;/p&gt;&#xA;&lt;p&gt;InstallWD task like below.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;quot;InstallWDP&amp;quot;: {&#xA;        // Syncs the web deploy package with the website.&#xA;        &amp;quot;Type&amp;quot;: &amp;quot;WebDeploy&amp;quot;,&#xA;        &amp;quot;Skip&amp;quot;:&amp;quot;True&amp;quot;&#xA;        &amp;quot;Params&amp;quot;: {&#xA;            &amp;quot;Verb&amp;quot;: &amp;quot;Sync&amp;quot;,&#xA;            &amp;quot;Arguments&amp;quot;: {&#xA;                &amp;quot;Source&amp;quot;: {&#xA;                    &amp;quot;Package&amp;quot;: &amp;quot;[resolvepath(parameter('Package'))]&amp;quot;&#xA;                },&#xA;                &amp;quot;Dest&amp;quot;: &amp;quot;Auto&amp;quot;,&#xA;                &amp;quot;SetParam&amp;quot;: [&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;IIS Web Application Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SiteName')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Database Server Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlServer')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Database Admin User Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlAdminUser')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Database Admin User Password&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlAdminPassword')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Collection Database Server Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlServer')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Collection Shard Map Manager Database Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Sql.Database.ShardMapManager')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Collection Shard 0 Database Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Sql.Database.Shard0')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Collection Shard 1 Database Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Sql.Database.Shard1')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Processing Pools Database Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Sql.Database.Pools')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Marketing Automation Database Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Sql.Database.MarketingAutomation')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Messaging Database Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Sql.Database.Messaging')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Reference Data Database Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Sql.Database.Reference')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Search SOLR Core Application Connection String&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Solr.Url.Xdb')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;XConnect Server Configuration Environment&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('XConnectEnvironment')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;XConnect Server Certificate Validation Thumbprint&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Security.XConnect.CertificateThumbprint')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;XConnect Server Log Level&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('XConnectLogLevel')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Marketing Automation Engine Xconnect Collection Client Endpoint&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Endpoint.MarketingAutomation')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Marketing Automation Engine Xconnect Collection Client Certificate Thumbprint&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Security.XConnect.CertificateThumbprint')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Marketing Automation Engine Xdb Reference Data Endpoint&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Endpoint.ReferenceData')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Marketing Automation Engine Xdb Reference Data Client Certificate Thumbprint&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[variable('Security.XConnect.CertificateThumbprint')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Collection Database Application User Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlCollectionUser')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Collection Database Application User Password&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlCollectionPassword')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Processing Pool Database Application User Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlProcessingPoolsUser')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Processing Pool Database Application User Password&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlProcessingPoolsPassword')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Reference Data Database Application User Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlReferenceDataUser')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Reference Data Database Application User Password&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlReferenceDataPassword')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Marketing Automation Database Application User Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlMarketingAutomationUser')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Marketing Automation Database Application User Password&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlMarketingAutomationPassword')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Messaging Database Application User Name&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlMessagingUser')]&amp;quot; },&#xA;                    { &amp;quot;Name&amp;quot;: &amp;quot;Messaging Database Application User Password&amp;quot;, &amp;quot;Value&amp;quot;: &amp;quot;[parameter('SqlMessagingPassword')]&amp;quot; }&#xA;                ]&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You need to add &amp;quot;Skip&amp;quot; parameter to skip this task.&lt;/p&gt;&#xA;&lt;p&gt;Other way to do is to add Skip parameter to &lt;strong&gt;Install-SitecoreConfiguration&lt;/strong&gt; command:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Install-SitecoreConfiguration @params -Skip InstallWD&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Please have a look on:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoredude.com/how-to-skip-tasks-in-sitecore-installation-framework-sif/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoredude.com/how-to-skip-tasks-in-sitecore-installation-framework-sif/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://phani-abburi.blogspot.com/2018/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://phani-abburi.blogspot.com/2018/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-03T13:59:31.657" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17908" PostTypeId="1" AcceptedAnswerId="17909" CreationDate="2019-04-03T14:35:21.417" Score="3" ViewCount="1604" Body="&lt;p&gt;I have a SXA site created and under &quot;/settings/Site Grouping&quot; I have defined a Site item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to access &quot;Other Properties&quot; fields (ex: &quot;dictionaryPath&quot; which I have added into Other properties) using Sitecore api.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope these properties are getting merged into SiteInfo property like it does when we define it in the &quot;site&quot; settings definition in the configuration files.&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2019-04-05T15:09:43.967" Title="Accessing SXA Site Grouping Site Settings Properties from Code" Tags="|sxa|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17909" PostTypeId="2" ParentId="17908" CreationDate="2019-04-03T14:55:41.090" Score="10" Body="&lt;p&gt;These items can be queried using code like this:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var siteInfo = ServiceLocator.ServiceProvider.GetService&amp;lt;ISiteInfoResolver&amp;gt;().GetSiteInfo(Context.Item);&#xA;if (siteInfo != null)&#xA;{&#xA;    var siteContext = new SiteContext(siteInfo);&#xA;    var dictionaryPath = siteContext.Properties[&quot;dictionaryPath&quot;];&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-04-05T15:09:43.967" LastActivityDate="2019-04-05T15:09:43.967" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17910" PostTypeId="2" ParentId="16523" CreationDate="2019-04-03T16:18:59.187" Score="0" Body="&lt;p&gt;I just ran into this same issue, but it wouldn't help to add the space for me, as I am using this to tell code to split on a string, and a space is a good use case. I wonder if Unicorn is open source, could step through and see what Sync is doing, but I'm sure it must be using the | not as a value but as a control character. Here is my &lt;code&gt;yml&lt;/code&gt; chunk for your perusal. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Fields:&#xA;    - ID: &quot;15cc6a99-c3b5-4a1b-ac19-6a0daa0e2568&quot;&#xA;      Hint: Calculated Pim Item Field&#xA;      Value: &quot;{CD91626A-38C7-417A-8DA7-095843B517A8}&quot;&#xA;    - ID: &quot;25bed78c-4957-4165-998a-ca1b52f67497&quot;&#xA;      Hint: __Created&#xA;      Value: 20190329T194313Z&#xA;    - ID: &quot;4b66ed1b-2c19-48b4-adbd-5e5b2914b033&quot;&#xA;      Hint: Calculated Index Field Name&#xA;      Value: digitalspecialfeaturesimageurls&#xA;    - ID: &quot;5dd74568-4d4b-44c1-b513-0af5f4cda34f&quot;&#xA;      Hint: __Created by&#xA;      Value: |&#xA;        sitecore\admin&#xA;    - ID: &quot;cea2afe6-040a-46df-b974-e4edf23ce594&quot;&#xA;      Hint: String To Split The Values On&#xA;      Value: |&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2082" LastEditorUserId="605" LastEditDate="2019-04-03T17:44:32.540" LastActivityDate="2019-04-03T17:44:32.540" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17911" PostTypeId="1" CreationDate="2019-04-03T16:58:29.547" Score="0" ViewCount="1368" Body="&lt;p&gt;I have a field &quot;textContent&quot; in &lt;code&gt;en&lt;/code&gt; version which is of type Rich Text in sitecore 9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The content will be rendered to the site using the following code,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  @Html.Sitecore().Field(Model.textContent)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the above rendering is edited through experience editor and saved, the html code is rendered as plain text in web page, not as a web page content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;lt;a href=&quot;http://www.example.com&quot; &amp;amp;amp;gt; Click Here &amp;amp;amp;lt;/a&amp;amp;amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It should be &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;http://www.example.com&quot;&amp;gt;Click Here &amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In model, the data is pulled directly,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string textContent&#xA;{&#xA;    get { return Constant.dataContentSpecific.TextContent; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in Constant file ,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public struct dataContentSpecific&#xA;{&#xA;    public static readonly string TextContent= &quot;Text Content&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2963" LastEditorUserId="70" LastEditDate="2019-04-04T10:16:15.217" LastActivityDate="2019-04-04T10:16:15.217" Title="Sitecore HTML Rendered as Plain Text" Tags="|sitecore-client|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="17914" PostTypeId="1" AcceptedAnswerId="18013" CreationDate="2019-04-03T20:44:21.003" Score="1" ViewCount="804" Body="&lt;p&gt;Is there a guide of some kind or possibly some helpful information floating around regarding the addition of typescript in a Sitecore &lt;code&gt;JSS&lt;/code&gt; react boilerplate project?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far I've only been able to get component code (&lt;code&gt;src/components&lt;/code&gt;) to compile during local disconnected development - which is basically just relying on &lt;code&gt;create-react-app&lt;/code&gt; which recognizes the &lt;code&gt;ts/tsx&lt;/code&gt; extensions. I'm not able to get a prod build to work at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We'd like to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Write our react component code in typescript&lt;/li&gt;&#xA;&lt;li&gt;Write our Sitecore definition/manifest files in typescript&lt;/li&gt;&#xA;&lt;li&gt;Write root-level  scripts in typescript (&lt;code&gt;AppRoot&lt;/code&gt;, &lt;code&gt;dataFetcher&lt;/code&gt;, etc.)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have found a few articles wherein people show a basic setup that compiles component typescript files but those examples are only for the component code and, in all cases, the prod build fails. The failure is caused by path/file loading when a &lt;code&gt;js&lt;/code&gt; file attempts to import a ts file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm assuming this is caused somewhere in the chaos of the create-react-app blackbox and the custom &lt;code&gt;webpack&lt;/code&gt; configuration for &lt;code&gt;SSR&lt;/code&gt; bundling. It's difficult to actually determine what is doing what between local compilation and prod build.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried modifying the &lt;code&gt;server.webpack.config.js&lt;/code&gt; file to utilize &lt;code&gt;ts-loader&lt;/code&gt; for ts and &lt;code&gt;tsx&lt;/code&gt; files but the result is the same. This is the approach I'm most familiar with as I've used it on many other projects. Of course, this would only solve the &lt;code&gt;SSR&lt;/code&gt; bundling (I think??)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried adding &lt;code&gt;@babel/preset-typescript&lt;/code&gt; to &lt;code&gt;sitecore/definitions/config.js&lt;/code&gt; but that seems to have no affect at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be much appreciated. My last resort would be to start an empty create-react-app --typescript project and try to re-implement the sitecore-jss scripts and configs. I would really like to avoid that.&lt;/p&gt;&#xA;" OwnerUserId="5225" LastEditorUserId="5096" LastEditDate="2019-05-07T14:21:11.257" LastActivityDate="2019-05-07T14:21:11.257" Title="How does one convert Sitecore JSS React boilerplate to typescript?" Tags="|jss|sitecore-react|typescript|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17915" PostTypeId="2" ParentId="17902" CreationDate="2019-04-04T02:02:36.950" Score="1" Body="&lt;p&gt;Sitecore uses Owin authentication, so you could probably do similar thing by using this &amp;quot;&lt;code&gt;owin.cookieAuthentication.signIn&lt;/code&gt;&amp;quot; pipeline instead of &amp;quot;&lt;code&gt;loggingin&lt;/code&gt;&amp;quot; pipeline&lt;/p&gt;&#xA;&lt;p&gt;The config file is located at &lt;code&gt;App_Config\Sitecore\Owin.Authentication\Sitecore.Owin.Authentication.config&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Your patch could look something like this...&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;owin.cookieAuthentication.signIn&amp;gt;&#xA;        &amp;lt;processor resolve=&amp;quot;true&amp;quot; type=&amp;quot;Namespace.CheckPassword, AssemblyName&amp;quot; patch:after=&amp;quot;processor[@type='Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.RemoveTicket, Sitecore.Owin.Authentication']&amp;quot; /&amp;gt;&#xA;&amp;lt;/owin.cookieAuthentication.signIn&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Your codes could be something like this (I have not tested this)&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class CheckPassword : SignInProcessor&#xA;{&#xA;    public void Process(SignInArgs args)&#xA;    {&#xA;        var validator = new CustomValidator();&#xA;        if(!validator.Validate(args))&#xA;        {&#xA;            args.Success = false;&#xA;            args.HttpContext.Response.Redirect(&amp;quot;change password url&amp;quot;);&#xA;            args.AbortPipeline();&#xA;        }&#xA;}&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="7105" LastEditDate="2023-01-03T01:55:38.683" LastActivityDate="2023-01-03T01:55:38.683" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17916" PostTypeId="2" ParentId="11990" CreationDate="2019-04-04T03:02:09.580" Score="0" Body="&lt;p&gt;I tried above approach plus clearing cache but didn't help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, I renamed the SiteName in the node and field and then publish, and it starts appearing correct website.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastActivityDate="2019-04-04T03:02:09.580" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17918" PostTypeId="1" CreationDate="2019-04-04T04:12:55.153" Score="1" ViewCount="30" Body="&lt;p&gt;I added partial designs to my page design and they are showing on my published site but are not visible in my experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uqWYi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uqWYi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Please let me know if you have any workaround for this.&lt;/p&gt;&#xA;" OwnerUserId="5340" LastActivityDate="2019-04-04T04:24:50.707" Title="SXA - Partial Designs are not Visible" Tags="|sxa|experience-editor|" AnswerCount="0" CommentCount="0" ClosedDate="2019-04-04T09:47:49.490" ContentLicense="CC BY-SA 4.0" />
  <row Id="17920" PostTypeId="1" CreationDate="2019-04-04T06:15:49.637" Score="2" ViewCount="671" Body="&lt;p&gt;I am getting 'There are no forms to display' message in Sitecore 9 Forms Dashboard in Production environment&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NEPn4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NEPn4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In chrome developer tools, getting below error message in Console tab with below error message on clicking 403 item&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;message&quot;:&quot;An error has occurred.&quot;,&quot;exceptionMessage&quot;:&quot;The required anti-forgery form field \&quot;__RequestVerificationToken\&quot; is not present.&quot;,&quot;exceptionType&quot;:&quot;System.Web.Mvc.HttpAntiForgeryException&quot;,&quot;stackTrace&quot;:&quot;   at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken)\r\n   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext)\r\n   at Sitecore.Web.Http.Filters.ValidateHttpAntiForgeryTokenAttribute.OnAuthorization(HttpActionContext actionContext)&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tYa3b.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tYa3b.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4164" LastActivityDate="2019-07-20T13:08:21.707" Title="'There are no forms to display' message in Sitecore 9 Forms Dashboard" Tags="|sitecore-client|sitecore-api|sitecore-forms|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17921" PostTypeId="2" ParentId="17920" CreationDate="2019-04-04T06:30:40.073" Score="1" Body="&lt;p&gt;You have couple of options how to solve this issues.&lt;/p&gt;&#xA;&lt;h2&gt;1. Not touching your Sitecore installation.&lt;/h2&gt;&#xA;&lt;p&gt;1a. You need to use Firefox instead as there was a change in one of past versions of Chrome on how it handles XHR headers which is causing trouble.&lt;/p&gt;&#xA;&lt;p&gt;1b. Downgrade Chrome&lt;/p&gt;&#xA;&lt;h2&gt;2. Touching your Sitecore installation.&lt;/h2&gt;&#xA;&lt;p&gt;2a. Other options are upgrading to Sitecore 9.1 - where this issue is definetely solved&lt;/p&gt;&#xA;&lt;p&gt;2b. Or possibly waiting for Sitecore 9.0 Update 3 - where this issue might be solved&lt;/p&gt;&#xA;&lt;p&gt;For further details take a look on my blog post with similar error in Marketing Automation: &lt;a href=&quot;https://tothecore.sk/2018/03/22/marketing-automation-not-working-in-sitecore-9-update-1-with-chrome-64/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/03/22/marketing-automation-not-working-in-sitecore-9-update-1-with-chrome-64/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-04T06:30:40.073" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17922" PostTypeId="1" AcceptedAnswerId="17929" CreationDate="2019-04-04T06:49:33.080" Score="-1" ViewCount="291" Body="&lt;p&gt;I reset the Sitecore Admin password from SQL using the below query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UPDATE &#xA;    [aspnet_Membership] &#xA;SET &#xA;    [Password]='qOvF8m8F2IcWMvfOBjJYHmfLABc=', &#xA;    [PasswordSalt]='OM5gu45RQuJ76itRvkSPFw==', &#xA;    [IsApproved] = '1', &#xA;    [IsLockedOut] = '0'&#xA;WHERE &#xA;    UserId IN (&#xA;        SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\Admin'&#xA;    ) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But now I'm geting this &lt;code&gt;error: invalid length for a base-64 char array or string&lt;/code&gt;,  when I am trying to login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore 9.&lt;/p&gt;&#xA;" OwnerUserId="5049" LastEditorUserId="70" LastEditDate="2019-04-04T10:08:44.137" LastActivityDate="2019-04-04T11:41:47.747" Title="Error logging in after resetting admin password" Tags="|sitecore-client|membership-provider|" AnswerCount="2" CommentCount="1" ClosedDate="2019-04-07T21:48:30.270" ContentLicense="CC BY-SA 4.0" />
  <row Id="17924" PostTypeId="2" ParentId="17922" CreationDate="2019-04-04T09:17:49.447" Score="-4" Body="&lt;p&gt;UPDATE dbo.aspnet_Membership&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SET [Password]='qOvF8m8F2IcWMvfOBjJYHmfLABc=', [PasswordSalt]='OM5gu45RQuJ76itRvkSPFw==',&#xA;[IsApproved] = '1', [IsLockedOut] = '0'&#xA;WHERE UserId IN (SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\Admin')&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This worked properly for me.&lt;/p&gt;&#xA;" OwnerUserId="5342" LastActivityDate="2019-04-04T09:17:49.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17925" PostTypeId="2" ParentId="17786" CreationDate="2019-04-04T10:14:17.577" Score="4" Body="&lt;p&gt;I've figured out the answer based on the comment from @Gobinath and answer of &lt;a href=&quot;https://sitecore.stackexchange.com/a/17915/4774&quot;&gt;this thread.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, first you must add NEW config for these Owin and IdentityServer stuffs and don't touch your previous version of these processes (before IdentityServer, in my case it's working properly without &lt;strong&gt;IS&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;pipelines&amp;gt;&#xA;&#xA;&amp;lt;owin.cookieAuthentication.signIn&amp;gt;&#xA;&amp;lt;processor resolve=&quot;true&quot; type=&quot;your.SIGN-IN.pipeline, YourDLL&quot; patch:after=&quot;processor[@type='Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.UpdateUserProperties, Sitecore.Owin.Authentication']&quot;/&amp;gt;&#xA;&amp;lt;/owin.cookieAuthentication.signIn&amp;gt;&#xA;&#xA;&amp;lt;owin.cookieAuthentication.signedIn&amp;gt;&#xA;&amp;lt;processor resolve=&quot;true&quot; type=&quot; your.SIGNED-IN.Pipeline, YourDll&quot; patch:before=&quot;processor[@type='Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.CreateTicket, Sitecore.Owin.Authentication']&quot;/&amp;gt;&#xA;&amp;lt;/owin.cookieAuthentication.signedIn&amp;gt;&#xA;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can adjust patch:after processor and add more processors for your needs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, on your code you need to inherit SignInProcessor or SignedInProcessor then override Process with SignInArgs/SignedInArgs as parameter.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class YourSignInProcessor : SignInProcessor&#xA;    {&#xA;        public override void Process(SignInArgs args)&#xA;        {&#xA;          add your code here&#xA;        }&#xA;    }&#xA;public class YourSignedInProcessor : SignedInProcessor&#xA;    {&#xA;        public override void Process(SignedInArgs args)&#xA;        {&#xA;          add your code here&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since our code use Persist checking (LoggedInArgs.Persist (bool)), I'm not sure where is this persist checking located within SignedInArgs. I just commented out those lines for now. As Sitecore &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/understanding-sitecore-authentication-behavior-changes.html#UUID-153eb49e-9b9c-c95e-1e0c-c368778c900d_section-idm45403308284384_body&quot; rel=&quot;nofollow noreferrer&quot;&gt;said&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Web applications create persistent authentication cookies when a user&#xA;  selects a Remember me option. Authentication through Federated&#xA;  Authentication produces only non-persistent cookies.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;For example, if you sign in through an external identity provider&#xA;  without selecting the Remember me option on that provider, then you&#xA;  have to sign in again after the  browser session expires.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;If you sign in through an external identity provider and you select&#xA;  the Remember me option on that provider, then you will lose your&#xA;  Sitecore authentication cookie when the  browser session expires. &#xA;  However, after a quick auto-redirect to the identity provider and&#xA;  back, you are automatically signed-in to Sitecore again.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4774" LastEditorUserId="4774" LastEditDate="2019-04-05T02:52:17.693" LastActivityDate="2019-04-05T02:52:17.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17926" PostTypeId="1" CreationDate="2019-04-04T10:56:06.170" Score="1" ViewCount="633" Body="&lt;p&gt;I'm using Sitecore 9.1 and SXA 1.8, I want to handle different actions on publishing an item in Sitecore. I was able to handle an action on clicking publish using &lt;code&gt;OnNext()&lt;/code&gt; function:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class PublishWizardOverride : PublishForm&#xA; {&#xA;    protected override void OnNext(object sender, EventArgs formEventArgs)&#xA;    {&#xA;        // Your code to display your popup goes here&#xA;        base.OnNext(sender, formEventArgs);&#xA;    }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also used event handlers to do actions &lt;strong&gt;onPublish&lt;/strong&gt;, &lt;strong&gt;onPublishEnd&lt;/strong&gt;. However my question is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to add an action if a user clicks &lt;code&gt;ok&lt;/code&gt; or &lt;code&gt;cancel&lt;/code&gt; on the publish confirmation popup. Is there a way to do so?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iwAuv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iwAuv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5343" LastEditorUserId="605" LastEditDate="2019-04-04T12:13:49.193" LastActivityDate="2019-04-04T12:56:00.230" Title="Handling publish dialog events" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17929" PostTypeId="2" ParentId="17922" CreationDate="2019-04-04T11:41:47.747" Score="1" Body="&lt;p&gt;Did you recently switch your hashing algorithm to SHA512? If so, you'll need a different password value:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;USE [sitecorecmsSitecore_Core];&#xA;&#xA;UPDATE &#xA;    [aspnet_Membership] &#xA;SET &#xA;    [Password]='K8N8GUW8UiNT2mPdjvuBDH+QmvA3R61M9buVvCwFHwtDjpMzTxs34lg0uQ0azCITqh6FkUZlX4kM72lsAyuyXQ==', &#xA;    [PasswordSalt]='p5B6HOWKt0ctMZaSNXTlfw==', &#xA;    [IsApproved] = '1', &#xA;    [IsLockedOut] = '0'&#xA;WHERE &#xA;    UserId IN (&#xA;        SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\admin'&#xA;    );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-04T11:41:47.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17930" PostTypeId="2" ParentId="17926" CreationDate="2019-04-04T12:09:57.250" Score="2" Body="&lt;p&gt;You'll need to override the Publish Form code behind. The path to the publishing dialog can be found at &lt;code&gt;website\sitecore\shell\Applications\Dialogs\Publish\Publish.xml&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You'll need to extend the &lt;code&gt;PublishForm&lt;/code&gt; class and then override the &lt;code&gt;ConfirmPublishingOptions&lt;/code&gt; method. Below is the code snippet&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections;&#xA;using System.Collections.Generic;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Globalization;&#xA;using Sitecore.Shell.Applications.Dialogs.Publish;&#xA;using Sitecore.Web.UI.Sheer;&#xA;&#xA;namespace Sitecore.Custom.Publishing&#xA;{&#xA;    public class CustomPublishForm : PublishForm&#xA;    {&#xA;        protected override bool ActivePageChanging(string page, ref string newpage)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)page, nameof(page));&#xA;            Assert.ArgumentNotNull((object)newpage, nameof(newpage));&#xA;            if (page == &amp;quot;Retry&amp;quot;)&#xA;                newpage = &amp;quot;Settings&amp;quot;;&#xA;            if (newpage == &amp;quot;Publishing&amp;quot;)&#xA;            {&#xA;                if (GetLanguages().Length == 0)&#xA;                {&#xA;                    SheerResponse.Alert(Translate.Text(&amp;quot;You must pick at least one language to publish.&amp;quot;));&#xA;                    return false;&#xA;                }&#xA;                if (GetPublishingTargetDatabases().Length == 0)&#xA;                {&#xA;                    SheerResponse.Alert(Translate.Text(&amp;quot;You must pick at least one publishing target.&amp;quot;));&#xA;                    return false;&#xA;                }&#xA;                if ((this.PublishChildrenPane.Visible || this.Republish.Checked) &amp;amp;&amp;amp; !this.ConfirmedOptions)&#xA;                {&#xA;                    Context.ClientPage.Start((object)this, &amp;quot;CustomConfirmPublishingOptions&amp;quot;);&#xA;                    return false;&#xA;                }&#xA;            }&#xA;            return base.ActivePageChanging(page, ref newpage);&#xA;        }&#xA;&#xA;        private static Language[] GetLanguages()&#xA;        {&#xA;            ArrayList arrayList = new ArrayList();&#xA;            foreach (string key in Context.ClientPage.ClientRequest.Form.Keys)&#xA;            {&#xA;                if (key != null &amp;amp;&amp;amp; key.StartsWith(&amp;quot;la_&amp;quot;, StringComparison.InvariantCulture))&#xA;                    arrayList.Add((object)Language.Parse(Context.ClientPage.ClientRequest.Form[key]));&#xA;            }&#xA;            return arrayList.ToArray(typeof(Language)) as Language[];&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Gets the publishing target databases.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;The publishing target databases.&amp;lt;/returns&amp;gt;&#xA;        private static Database[] GetPublishingTargetDatabases()&#xA;        {&#xA;            ArrayList arrayList = new ArrayList();&#xA;            foreach (var publishingTarget in GetPublishingTargets())&#xA;            {&#xA;                string name = publishingTarget[&amp;quot;Target database&amp;quot;];&#xA;                Database database = Factory.GetDatabase(name);&#xA;                Assert.IsNotNull((object)database, typeof(Database), Translate.Text(&amp;quot;Database \&amp;quot;{0}\&amp;quot; not found.&amp;quot;), name);&#xA;                arrayList.Add((object)database);&#xA;            }&#xA;            return arrayList.ToArray(typeof(Database)) as Database[];&#xA;        }&#xA;&#xA;        private static List&amp;lt;Item&amp;gt; GetPublishingTargets()&#xA;        {&#xA;            List&amp;lt;Item&amp;gt; objList = new List&amp;lt;Item&amp;gt;();&#xA;            foreach (string key in Context.ClientPage.ClientRequest.Form.Keys)&#xA;            {&#xA;                if (key != null &amp;amp;&amp;amp; key.StartsWith(&amp;quot;pb_&amp;quot;, StringComparison.InvariantCulture))&#xA;                {&#xA;                    Item obj = Context.ContentDatabase.Items[ShortID.Decode(key.Substring(3))];&#xA;                    Assert.IsNotNull((object)obj, typeof(Item), &amp;quot;Publishing target not found.&amp;quot;);&#xA;                    objList.Add(obj);&#xA;                }&#xA;            }&#xA;            return objList;&#xA;        }&#xA;&#xA;        protected void CustomConfirmPublishingOptions(ClientPipelineArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)args, nameof(args));&#xA;            if (!args.HasResult)&#xA;            {&#xA;                bool flag1 = this.PublishChildren.Checked;&#xA;                bool flag2 = this.PublishRelatedItems.Checked;&#xA;                bool flag3 = this.Republish.Checked;&#xA;                string str = string.Empty;&#xA;                if (!string.IsNullOrEmpty(this.ItemID))&#xA;                {&#xA;                    if (flag2 &amp;amp; flag1)&#xA;                        str = Translate.Text(&amp;quot;You are about to publish the current item, its subitems, and related items.&amp;quot;);&#xA;                    else if (flag2)&#xA;                        str = Translate.Text(&amp;quot;You are about to publish the current item and its related items.&amp;quot;);&#xA;                    else if (flag1)&#xA;                        str = Translate.Text(&amp;quot;You are about to publish the current item and its subitems.&amp;quot;);&#xA;                }&#xA;                else&#xA;                    str += Translate.Text(&amp;quot;You are about to republish the whole database.&amp;quot;);&#xA;                if (flag3)&#xA;                {&#xA;                    if (!string.IsNullOrEmpty(str))&#xA;                        str += &amp;quot;\n\n&amp;quot;;&#xA;                    str += Translate.Text(&amp;quot;Republishing is an expensive operation that overwrites every item in the selected languages, even if that data has not changed.\nYou should only republish if the databases appear to be inconsistent and only after you have tried to fix the problem by performing a Smart Publishing operation.&amp;quot;);&#xA;                }&#xA;                if (!string.IsNullOrEmpty(str))&#xA;                {&#xA;                    SheerResponse.Confirm(str + &amp;quot;\n\n&amp;quot; + Translate.Text(&amp;quot;Do you want to proceed?&amp;quot;));&#xA;                    args.WaitForPostBack(true);&#xA;                }&#xA;                else&#xA;                {&#xA;                    this.ConfirmedOptions = true;&#xA;                    this.Next();&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                //TODO - PERFORM YOUR CHANGES HERE&#xA;                if (!(args.Result == &amp;quot;yes&amp;quot;))&#xA;                    return;&#xA;                this.ConfirmedOptions = true;&#xA;                this.Next();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The main changes happens at &lt;code&gt;Context.ClientPage.Start((object)this, &amp;quot;CustomConfirmPublishingOptions&amp;quot;);&lt;/code&gt;. You'll notice that from the default Sitecore, the method it is calling is &lt;code&gt;ConfirmPublishingOptions&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I just updated the name and the code where you need to update is the &lt;code&gt;else&lt;/code&gt; part of the method &lt;code&gt;CustomConfirmPublishingOptions&lt;/code&gt;. You'll need to update where the &lt;code&gt;TODO&lt;/code&gt; is found.&lt;/p&gt;&#xA;&lt;h2&gt;UPDATE&lt;/h2&gt;&#xA;&lt;p&gt;Once you have the code updated and deployed, you'll need to update the PublishForm codebeside.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to &lt;code&gt;website\sitecore\shell\Applications\Dialogs\Publish\Publish.xml&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Copy the &lt;code&gt;Publish.xml&lt;/code&gt; and navigate to the path &lt;code&gt;website\sitecore\shell\override\Applications\Dialogs&lt;/code&gt;. Create a folder named &lt;code&gt;Publish&lt;/code&gt; and paste the &lt;code&gt;Publish.xml&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Update the codebesides to your namespace.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;From&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;WizardForm CodeBeside=&amp;quot;Sitecore.Shell.Applications.Dialogs.Publish.PublishForm,Sitecore.Client&amp;quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;WizardForm CodeBeside=&amp;quot;Your Namespace with className,Your Assembly&amp;quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-04T12:56:00.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17934" PostTypeId="1" AcceptedAnswerId="17995" CreationDate="2019-04-04T17:11:28.677" Score="2" ViewCount="283" Body="&lt;p&gt;In Sitecore.config for Sitecore 9.0.2 I see the following comment:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!-- RETRYER&#xA;         Example transient retryer:&#xA;         &amp;lt;retryer disabled=&quot;false&quot; type=&quot;Sitecore.Data.DataProviders.TransientRetryer, Sitecore.Kernel&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;Log each exception (should be used for debug only)&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/retryer&amp;gt;&#xA;    --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;We use SQL Azure and I wonder if TransientRetryer should be enabled.&lt;/strong&gt; I could not find an official documentation for it.&lt;/p&gt;&#xA;" OwnerUserId="1869" LastActivityDate="2019-04-11T18:48:35.830" Title="Should TransientRetryer be enabled for SQL Azure?" Tags="|configuration|azure|sql-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17935" PostTypeId="1" CreationDate="2019-04-04T18:08:40.033" Score="-1" ViewCount="507" Body="&lt;p&gt;i am changing search from lucene to solr and faced an issue in this , i have DateTime a field in sitecore and an item is using that field and have value of now &#xA; ( DATE -- 4/4/2019 TIME -- 12:00 AM) but when i have rebuild the indexing , in solr that field ( &lt;strong&gt;date_tdt&lt;/strong&gt; ) is not giving the same value as declared in sitecore rather it is showing &lt;strong&gt;date_tdt = &quot;2014-11-05T00:00:00Z&quot;&lt;/strong&gt; ,  i dont know why it is showing some other date and when i am generating query to match that date  using Date &lt;code&gt;filterSearch = filterSearch.And(x =&amp;gt; x.Date &amp;gt;= DateTime.Now.ToUniversalTime());&lt;/code&gt; &#xA;it is generating  &lt;code&gt;date_tdt:[2019-04-04T17:53:34.483Z TO *]&lt;/code&gt; in the search log .&#xA;Don`t know why it is happening .&lt;/p&gt;&#xA;" OwnerUserId="4983" LastActivityDate="2019-05-05T01:02:10.570" Title="date field in solr not indexing proper date from sitecore" Tags="|solr|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17936" PostTypeId="2" ParentId="17935" CreationDate="2019-04-05T01:00:53.047" Score="1" Body="&lt;p&gt;Dates are stored as UTC. What you are seeing is the value with timezone information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest you check the raw field value and then make sure your field is actually crawled. &lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-04-05T01:00:53.047" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17937" PostTypeId="1" CreationDate="2019-04-05T02:48:33.823" Score="2" ViewCount="147" Body="&lt;p&gt;In an SXA site I have cloned link list with item, and added a link custom editor button to allow editing of the list item fields.  These fields have required validation.  But I find that when I add values to each of those fields in the experience editor dialog and click ok I get this error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Rt3xK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Rt3xK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On each of the required fields I have set it:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/f6OKL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f6OKL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I click ok.  And then go in to edit the item again then it's all green.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My template looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LKqL9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LKqL9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is it ignoring the field values when validating?&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="605" LastEditDate="2019-04-05T13:24:21.627" LastActivityDate="2019-04-05T13:24:21.627" Title="Validation error displayed on custom experience dialog incorrectly" Tags="|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17938" PostTypeId="1" AcceptedAnswerId="17967" CreationDate="2019-04-05T05:34:44.693" Score="3" ViewCount="489" Body="&lt;p&gt;Is it possible for a Section to set a default css value (eg. form-group) and for every field (or specific ones) set &quot;form-control&quot; to be applied when its dropped on the form? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that as you add items onto the form you can define the css-class then.  But if we're consistently using the same values to leverage bootstrap 4 form styling it would be really nice to have the class pre-populated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/change-the-styling-of-a-form.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/change-the-styling-of-a-form.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-04-08T07:24:40.623" Title="Can I set default Field CssName values in Sitecore 9.1 Forms" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17939" PostTypeId="1" CreationDate="2019-04-05T07:46:43.667" Score="1" ViewCount="5423" Body="&lt;p&gt;I'm trying to install Sitecore 9 Update 1 but getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[---------------------------------------------- InstallWDP : WebDeploy -----------------------------------------------]&#xA;[WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe&#xA;Info: Adding MsDeploy.Site (MsDeploy.Site).&#xA;Info: Adding database (user id=sa;data source=INBASDLP05243;initial catalog=sc901demo_Processing.Pools)&#xA;Info: Initializing deployment: Pending.&#xA;Info: Analyzing deployment plan: Pending.&#xA;Info: Updating database: Pending.&#xA;Info: Creating deployment plan: Pending.&#xA;Info: Verifying deployment plan: Pending.&#xA;Info: Deploying package to database: Pending.&#xA;Info: Creating deployment plan: Running.&#xA;Info: Initializing deployment: Running.&#xA;Info: Initializing deployment (Start)&#xA;Info: Initializing deployment: Faulted.&#xA;Info: Initializing deployment (Failed)&#xA;Info: Creating deployment plan: Faulted.&#xA;Info: Verifying deployment plan: Faulted.&#xA;Info: Deploying package to database: Faulted.&#xA;Error: Could not read schema model header information from package.&#xA;Error Code: ERROR_EXECUTING_METHODError: The model version '2.9' is not supported.&#xA;&#xA;Error count: 1.&#xA;More Information: Could not read schema model header information from package.&#xA;The model version '2.9' is not supported.&#xA;  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD.&#xA;Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero&#xA;exit code - (-1)&#xA;At D:\SITECORE9\Sitecore901install.ps1:42 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:22&#xA;Transcript stopped, output file is D:\SITECORE9\xconnect-xp0.190405.log&#xA;Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code -&#xA;(-1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-WebDeployTask.ps1:36&#xA;char:2&#xA;+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ohM2m.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ohM2m.jpg&quot; alt=&quot;WebDeploy Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have used SIF 1.2.1 to install Sitecore 9.0.1. Not sure why this error is appearing or i have missed something. If somebody could help me on this it will be very helpful since i'm not able to find any clue on this.&lt;/p&gt;&#xA;" OwnerUserId="3487" LastEditorUserId="70" LastEditDate="2019-04-05T09:37:38.223" LastActivityDate="2023-12-11T02:08:10.917" Title="Error - msdeploy.exe returned a non-zero exit code - (-1)" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17940" PostTypeId="2" ParentId="10819" CreationDate="2019-04-05T08:58:04.423" Score="3" Body="&lt;p&gt;We tried WAF prevention mode in 9.0.2 (9.0.1 should also work) and made it work in the end. &lt;code&gt;Imp: Sitecore 9.1 won't magically fix it as MS itself is struggling to expose variables to customize Azure WAF parameters.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First time webforms submit failed as 942130 rule blocked it: &quot;Matched Data: ADGTypeValue&gt;Terms found within ARGS:fieldsets.fields.customParams.value: Terms of Use&#xA;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so we disabled this rule and the ones below. Keep in mind that 'post' goes through a log checking of its content(body), especially if there is a form that accepts upload(pdf or pics). It is pointless to check all the contents of upload, so we disabled the inspect request body.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DHWBI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DHWBI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We only need this for CD. So just do proper testing and monitor the WAF logs(first in detection mode, in PROD). Run this query in Monitor-&gt; Logs and chill.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;search in (AzureDiagnostics) ResourceType == &quot;APPLICATIONGATEWAYS&quot; and &#xA;Resource == &quot;&amp;lt;RG NAME&amp;gt;&quot; | sort by TimeGenerated desc&#xA;| where Category == &quot;ApplicationGatewayFirewallLog&quot; &#xA;| where Message like &quot;SQL Injection Attack&quot; &#xA;| where clientIp_s == &quot;&amp;lt;IP of machine doing testing&amp;gt;&quot; //optional&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT: Azure WAF 2.0 can have exceptions rules just like windows firewall&lt;/p&gt;&#xA;" OwnerUserId="2028" LastEditorUserId="2028" LastEditDate="2020-03-06T16:41:17.123" LastActivityDate="2020-03-06T16:41:17.123" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17941" PostTypeId="2" ParentId="8474" CreationDate="2019-04-05T09:20:01.217" Score="-5" Body="&lt;p&gt;Try this one.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;^[ A-Za-z\u00C0-\u017F.~\\-]*$&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5346" LastEditorUserId="342" LastEditDate="2019-04-05T11:21:42.683" LastActivityDate="2019-04-05T11:21:42.683" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17944" PostTypeId="1" AcceptedAnswerId="17961" CreationDate="2019-04-05T11:24:14.117" Score="2" ViewCount="248" Body="&lt;p&gt;What is the convention when creating MVC admin pages in sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What routing is used, where are controllers and views placed? &lt;/p&gt;&#xA;" OwnerUserId="4901" LastActivityDate="2019-04-07T21:36:55.190" Title="Admin page MVC conventions" Tags="|admin-pages|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17945" PostTypeId="1" AcceptedAnswerId="17946" CreationDate="2019-04-05T12:58:53.347" Score="4" ViewCount="161" Body="&lt;p&gt;One of the client is having an XM license and they need to implement the virtual user concept of the Sitecore do they need to update the existing licence or this feature is already supported with the Sitecore XM? &lt;/p&gt;&#xA;" OwnerUserId="3874" LastActivityDate="2019-04-07T19:14:06.160" Title="Is Virtual user concept available in XM version?" Tags="|sitecore-api|authentication|federated-authentication|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17946" PostTypeId="2" ParentId="17945" CreationDate="2019-04-05T13:09:18.077" Score="6" Body="&lt;p&gt;Yes, you can use virtual users in XM:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore also supports Virtual Users, which is a transient user account system that you can use, for example, when integrating with custom authentication systems where an ASP.NET membership provider is not available or possible. A Virtual User is a user that Sitecore does not retrieve or store through an ASP.NET membership provider but rather creates transiently in the Private Session State Store by solution code through the Security API. This, of course, means that you must assign any roles or user profile information through code and that you cannot manage the user account with the user management tools.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Taken from documentation on XM authentication options: &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/authentication-and-authorization.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/authentication-and-authorization.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-04-05T13:09:18.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17947" PostTypeId="2" ParentId="17939" CreationDate="2019-04-05T13:21:37.783" Score="0" Body="&lt;p&gt;It seems that you did not install required &quot;&lt;strong&gt;Microsoft SQL Server Data-Tier Application Framework (DAC Fx)&lt;/strong&gt;&quot; version 2016.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can download it from here:&#xA;&lt;a href=&quot;https://www.microsoft.com/enus/download/details.aspx?id=53013&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.microsoft.com/enus/download/details.aspx?id=53013&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See chapter &quot;Prerequisites for using the Sitecore Installation Framework&quot; of installation guide for more information.&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-04-05T13:21:37.783" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17948" PostTypeId="2" ParentId="17937" CreationDate="2019-04-05T13:22:50.727" Score="1" Body="&lt;p&gt;I had a similar issue on a Sitecore 8.2 Update 7 instance. It is a known issue in Sitecore and they provided me a Sitecore Patch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore patch number is &lt;strong&gt;SC Patch 221650-1&lt;/strong&gt;. The patch contains a dll, which is the &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt;. You just need to replace the one that you have in the patch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can contact the &lt;a href=&quot;https://support.sitecore.net/helpdesk/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Support&lt;/a&gt; and provide them the details of the error and also you can tell them that the reference number of the issue is &lt;strong&gt;221523&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-04-05T13:22:50.727" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17949" PostTypeId="2" ParentId="17406" CreationDate="2019-04-05T13:28:34.620" Score="3" Body="&lt;p&gt;We have raise this problem to the &lt;a href=&quot;https://support.sitecore.net/helpdesk/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Support&lt;/a&gt; which generated &lt;strong&gt;a ticket #527731&lt;/strong&gt; (&lt;strong&gt;&lt;code&gt;Please use this ticket# if you have the same issue&lt;/code&gt;&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;IMPORTANT: The following approach does not work without the hotfix provided by Sitecore, don't give a shot by simply changing the files specified in the step&quot;after the hotfix has been installed&quot;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Accordingly to the Sitecore response&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Be aware that the hotfix was built specifically for Sitecore XP 9.1&#xA;  Initial Release, and you should not install it on other Sitecore&#xA;  versions or in combination with other hotfixes, unless explicitly&#xA;  instructed by Sitecore Support. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Note that you need to extract ZIP file contents to locate installation&#xA;  instructions and related files inside it.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Unless stated differently in the installation instructions, the hotfix&#xA;  should be installed on CM instance and then synced with other&#xA;  instances using your regular development practices&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The hotfix should be installed as a package, and will replace the following DLL libraries:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;•   &lt;strong&gt;/bin/Microsoft.AI.Web.dll&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;•   &lt;strong&gt;/bin/Microsoft.ApplicationInsights.dll&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;•   &lt;strong&gt;/bin/Microsoft.ApplicationInsights.TraceListener.dll&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;•   &lt;strong&gt;/bin/Microsoft.AspNet.TelemetryCorrelation.dll&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;•   &lt;strong&gt;/bin/System.Diagnostics.DiagnosticSource.dll&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the hotfix has been installed these steps must be taken&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Edit ApplicationInsights.config. Under the ApplicationInsights\TelemetryModules paste the following line at the bottom of the section&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;Add Type=&quot;Microsoft.ApplicationInsights.Web.AspNetDiagnosticTelemetryModule, Microsoft.AI.Web&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Edit web.config. Under the configuration/system.webServer/modules after &lt;code&gt;&amp;lt;remove name=&quot;ApplicationInsightsWebTracking&quot;/&amp;gt;&lt;/code&gt;, insert the following string:&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add name=&quot;TelemetryCorrelationHttpModule&quot; type=&quot;Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation&quot;  preCondition=&quot;integratedMode,managedHandler&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you modify the files, restart the App Services and try to access it again to generate data for the Application Insights&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mZWOH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mZWOH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="393" LastEditorUserId="393" LastEditDate="2019-04-05T14:05:11.137" LastActivityDate="2019-04-05T14:05:11.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17951" PostTypeId="2" ParentId="17944" CreationDate="2019-04-05T15:30:36.307" Score="-4" Body="&lt;p&gt;You can place .cshtml files in your site's /sitecore folder or subfolders and browse to them directly by filename, e.g. &lt;a href=&quot;http://mysite.com/sitecore/my-folder/my-file.cshtml&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.com/sitecore/my-folder/my-file.cshtml&lt;/a&gt;. I haven't seen this documented anywhere, but it works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know how you'd do it with an actual MVC controller class.&lt;/p&gt;&#xA;" OwnerUserId="3614" LastActivityDate="2019-04-05T15:30:36.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17952" PostTypeId="1" AcceptedAnswerId="17954" CreationDate="2019-04-05T17:49:48.100" Score="6" ViewCount="295" Body="&lt;p&gt;I am creating a JSS application in code first approach, so I always test the components in disconnected mode. As I have proper route files, all the pages are working as expected in the disconnected mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But we have a requirement to use the graphQL in one of the component to fetch a folder and it's child items. So I Implemented the component to fetch content using graphQL, I did create a similar content and folder structure in the jss app under .\data\content\ but while testing query returns null/empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Query works in connected mode and integrated mode, but we would like to continue in disconnected mode for a while. So is there a way to run the graphQL in disconnected mode.? like how we are running the other pages and components using yml definitions. &lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-04-06T15:02:09.487" Title="Executing graphQL in disconnected mode" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17953" PostTypeId="2" ParentId="9298" CreationDate="2019-04-05T19:37:25.597" Score="1" Body="&lt;p&gt;I was experiencing the same issue like while, inserting new &lt;strong&gt;view rendering&lt;/strong&gt; on the page, error was same as mentioned above of &lt;strong&gt;Uncaught TypeError: Cannot read the property 'substr' of undefined&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found one solution and it worked totally for me and that is while you are on edit mode, change your slick property of '&lt;strong&gt;infinite&lt;/strong&gt;' to false(as by default the value is set to true) and boom there we go with normal flow as before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope it works for you too :)&lt;/p&gt;&#xA;" OwnerUserId="5353" LastEditorUserId="5353" LastEditDate="2019-04-05T19:43:52.963" LastActivityDate="2019-04-05T19:43:52.963" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17954" PostTypeId="2" ParentId="17952" CreationDate="2019-04-06T15:02:09.487" Score="6" Body="&lt;p&gt;Not possible out of the box in version 11.0,&#xA;You can try to mock the data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the JSS website:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jss.sitecore.com/docs/techniques/graphql/graphql-overview&quot; rel=&quot;noreferrer&quot;&gt;Using Sitecore GraphQL with GraphQL tooling&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many kinds of GraphQL tools (such as eslint-plugin-graphql to validate queries at build time, or graphql-tools to create a disconnected mock GraphQL API&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-04-06T15:02:09.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17955" PostTypeId="1" CreationDate="2019-04-06T17:55:47.613" Score="0" ViewCount="834" Body="&lt;p&gt;In Sitecore 9.1 try to setup the Google Federated identity provider, getting below error, any help appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The below steps are done, followed steps suggested in &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/configure-federated-authentication.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation.&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Enabled configuration -  Sitecore.Owin.Authentication.Enabler.config &lt;/li&gt;&#xA;&lt;li&gt;Inherited Sitecore.Owin.Authentication.Pipelines.IdentityProviders&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Error opening the login page.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[MissingMethodException: Method not found: 'Void Sitecore.Owin.Authentication.Pipelines.IdentityProviders.IdentityProvidersProcessor..ctor(Sitecore.Owin.Authentication.Configuration.FederatedAuthenticationConfiguration)'.]&#xA;   POC.SitecoreIdentity.IdentityProviders.GoogleAuthentication..ctor(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration) +0&#xA;   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;   Microsoft.Extensions.DependencyInjection.ConstructorMatcher.CreateInstance(IServiceProvider provider) +464&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromServiceProvider(XmlNode configNode, Boolean assert) +481&#xA;&#xA;[ConfigurationException: Could not create object from service provider . Config XML: &amp;lt;processor type=&quot;POC.SitecoreIdentity.IdentityProviders.GoogleAuthentication, POC.SitecoreIdentity&quot; resolve=&quot;true&quot; patch:source=&quot;Sitecore.Owin.Authentication.Enabler.config&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; /&amp;gt;]&#xA;   Sitecore.Configuration.DefaultFactory.CreateFromServiceProvider(XmlNode configNode, Boolean assert) +641&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +138&#xA;   Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, Boolean assert) +68&#xA;   Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(XmlNode processorNode) +91&#xA;   Sitecore.Pipelines.CorePipelineFactory.GetProcessorObject(XmlNode processorNode) +145&#xA;   Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters) +136&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +470&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2019-05-08T07:02:00.350" Title="Method not found: 'Void Sitecore.Owin.Authentication.Pipelines.IdentityProviders.IdentityProvidersProcessor..ctor(Sitecore" Tags="|federated-authentication|identity-server|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17956" PostTypeId="1" AcceptedAnswerId="17957" CreationDate="2019-04-07T12:16:48.927" Score="3" ViewCount="25536" Body="&lt;p&gt;I'm trying to refresh a page when clicking  tag href.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I could not get the current page URI in my MVC Razor view and How I get the current page URI and how I refresh the same page?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g.: &lt;code&gt;www.local.url/articles&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need: &lt;code&gt;local.url/articles&lt;/code&gt; and &lt;code&gt;local.url/articles?querystring&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="4765" LastEditDate="2019-05-15T13:10:17.940" LastActivityDate="2019-05-15T13:10:17.940" Title="How to reload the current page with a query string parameter" Tags="|urls|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17957" PostTypeId="2" ParentId="17956" CreationDate="2019-04-07T12:56:57.903" Score="2" Body="&lt;p&gt;If you only want to refresh the querystring and nothing else, you don't have to write the url for the current page, you can just write the querystring part:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;click &amp;lt;a href=&quot;?test&quot;&amp;gt;here&amp;lt;/a&amp;gt; to set the querystring to &quot;?test&quot; in your current url&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If for some reason you still want to add the current url to the link though, you can do it by either finding it from the current request url or from the httpcontext&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{ &#xA;  var option1 = Sitecore.Links.LinkManager.GetItemUrl(Sitecore.Context.Item);&#xA;  var option2 = System.Web.HttpContext.Current.Request.Url;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2327" LastEditorUserId="2327" LastEditDate="2019-04-07T13:28:56.990" LastActivityDate="2019-04-07T13:28:56.990" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17959" PostTypeId="2" ParentId="17945" CreationDate="2019-04-07T19:14:06.160" Score="1" Body="&lt;p&gt;The virtual user supported in XM licence but you can't use any Analytics functionality. For analytics XP licence required. Please find below some useful articles, which helps you in understanding the required topologies:. &lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/cms-only-mode-compatibility.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/cms-only-mode-compatibility.html&lt;/a&gt;    &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-xdb-and-tracker-configuration-settings.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-xdb-and-tracker-configuration-settings.html&lt;/a&gt;   &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/sitecore-configurations-and-topology-for-azure.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/sitecore-configurations-and-topology-for-azure.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3035" LastActivityDate="2019-04-07T19:14:06.160" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17960" PostTypeId="2" ParentId="16953" CreationDate="2019-04-07T21:15:04.270" Score="0" Body="&lt;p&gt;You can configure this behavior in the &lt;strong&gt;Grid Definition&lt;/strong&gt; item under &lt;code&gt;sitecore/System/Settings/Feature/&lt;/code&gt;. There is a field called &lt;strong&gt;Row class&lt;/strong&gt; (for the Row Splitter component) and &lt;strong&gt;Row Container class&lt;/strong&gt; (for all containers). By default, both of these are set to &quot;&lt;em&gt;row&lt;/em&gt;&quot;, on the Bootstrap grid definition. (Official Sitecore documentation &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/the-grid-settings.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="4567" LastActivityDate="2019-04-07T21:15:04.270" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17961" PostTypeId="2" ParentId="17944" CreationDate="2019-04-07T21:36:55.190" Score="2" Body="&lt;p&gt;Usually, you can create an item (or a whole structure) in your content tree for admin pages as well.&#xA;You get:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Item permissions to manage  access to various admin pages&lt;/li&gt;&#xA;&lt;li&gt;You can store settings/configurations on these items&lt;/li&gt;&#xA;&lt;li&gt;Get versioning/workflow for these data&lt;/li&gt;&#xA;&lt;li&gt;Utilize the rendering pipeline of Sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Unless you have very unique requirements, I don't think you should separate these pages from Sitecore's other aspects.&lt;/p&gt;&#xA;" OwnerUserId="4567" LastActivityDate="2019-04-07T21:36:55.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17962" PostTypeId="2" ParentId="17956" CreationDate="2019-04-08T05:00:19.483" Score="-1" Body="&lt;p&gt;You can redirect user to same page by following the steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add the javascript function:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function RefreshPage(queryString) {&#xA;    var newUrl = window.location.origin + window.location.pathname + &quot;?key=&quot; + queryString;&#xA;    window.location.href = newUrl;&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Use the JavaScript function in html href tag in view: For example i added in aboutus controller method &lt;a href=&quot;http://localhost:49422/Home/About&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:49422/Home/About&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;RefreshPage('@ViewBag.Key')&quot;  class=&quot;btn btn-primary btn-lg&quot;&amp;gt;Redirect To Current Page &amp;amp;raquo;&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3.Generate the Random string and pass to ViewBag. This is just for the example purpose , you can pass value from Model also: Reference &lt;a href=&quot;https://stackoverflow.com/questions/1344221/how-can-i-generate-random-alphanumeric-strings&quot;&gt;https://stackoverflow.com/questions/1344221/how-can-i-generate-random-alphanumeric-strings&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string GetUniqueKey(int size)&#xA;{&#xA;    char[] chars =&#xA;                &quot;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890&quot;.ToCharArray();&#xA;    byte[] data = new byte[size];&#xA;    using (RNGCryptoServiceProvider crypto = new RNGCryptoServiceProvider())&#xA;    {&#xA;        crypto.GetBytes(data);&#xA;    }&#xA;    StringBuilder result = new StringBuilder(size);&#xA;    foreach (byte b in data)&#xA;    {&#xA;        result.Append(chars[b % (chars.Length)]);&#xA;    }&#xA;    return result.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;After following above steps, when user will click on the Href tag then in the url you will see:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://localhost:49422/Home/About?key=&amp;lt;dynamic string&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="342" LastEditDate="2019-04-08T12:31:56.250" LastActivityDate="2019-04-08T12:31:56.250" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17963" PostTypeId="1" AcceptedAnswerId="17964" CreationDate="2019-04-08T06:04:59.720" Score="-1" ViewCount="916" Body="&lt;p&gt;I have an array of items stored in &lt;code&gt;$mylist&lt;/code&gt;. I'm trying to check items with layout and output them. Here's the script that I have tried:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    for ($i = 0; $i -le $mylist.count; $i++) {&#xA;    $i = $mylistv| Get-Layout&#xA;    if ($i -ne $null) {&#xA;      return $i&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is what I have tried so far, I have no idea how to exclude subitems in the final output. Any help is greatly appreciated. thank you! :)&lt;/p&gt;&#xA;" OwnerUserId="1217" LastEditorUserId="1217" LastEditDate="2019-04-08T08:56:55.467" LastActivityDate="2019-04-08T08:56:55.467" Title="How to check an array of items if it has a page layout and output only the page item and exclude its subitems using Powershell?" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="1" ClosedDate="2019-04-08T08:49:26.890" ContentLicense="CC BY-SA 4.0" />
  <row Id="17964" PostTypeId="2" ParentId="17963" CreationDate="2019-04-08T06:16:50.973" Score="1" Body="&lt;p&gt;You can try this script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach ($item in $mylist) {&#xA;    $finalLayout = Get-Rendering -Item $item -FinalLayout&#xA;    if ($finalLayout -eq $null) {&#xA;        $item # this one has no layout&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or if you want to get the whole list, use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$filteredItems = $mylist | Where-Object { (Get-Rendering -Item $_ -FinalLayout) -eq $null }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It gets the final layout rendering for every item in &lt;code&gt;$mylist&lt;/code&gt; and output those items which don't have it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't use &lt;code&gt;return&lt;/code&gt; in your loop. Otherwise you will break your loop after first match.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-04-08T06:28:40.690" LastActivityDate="2019-04-08T06:28:40.690" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17965" PostTypeId="2" ParentId="17896" CreationDate="2019-04-08T06:26:15.600" Score="1" Body="&lt;p&gt;Google changed their Maps API in June 2018 significantly and now you need to have API key generated with services enabled which was not needed before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Steps to fix your issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to &lt;a href=&quot;https://console.cloud.google.com/google/maps-apis/new?project=project_name&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://console.cloud.google.com/google/maps-apis/new?project=project_name&lt;/a&gt; where &lt;code&gt;project_name&lt;/code&gt; is name of your project&lt;/li&gt;&#xA;&lt;li&gt;You should see something similar: &lt;a href=&quot;https://i.stack.imgur.com/xbxnc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xbxnc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Enabled all APIs, with &quot;API&quot; at the end of their name + Places API for Web by hitting &quot;Enable&quot; button: &lt;a href=&quot;https://i.stack.imgur.com/RZsX4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RZsX4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;You should see something like this at the end: &lt;a href=&quot;https://i.stack.imgur.com/v2Hf8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/v2Hf8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;That's all you need to do&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Check &lt;a href=&quot;https://tothecore.sk/2018/09/07/sitecore-sxa-set-google-maps-for-map-component-with-latest-pricing-changes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/09/07/sitecore-sxa-set-google-maps-for-map-component-with-latest-pricing-changes&lt;/a&gt; for further details&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-04-08T06:59:17.317" LastActivityDate="2019-04-08T06:59:17.317" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17966" PostTypeId="2" ParentId="17955" CreationDate="2019-04-08T06:29:59.953" Score="2" Body="&lt;p&gt;In Sitecore 9.1, the IdentityProvidersProcessor constructor parameters got changed, you will see additional parameter like ICookieManager, BaseSettings, I missed to use these two parameters on my custom class.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class GoogleAuthentication : IdentityProvidersProcessor&#xA;    {&#xA;            public GoogleAuthentication(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration, ICookieManager cookieManager, BaseSettings settings) : &#xA;            base(federatedAuthenticationConfiguration, cookieManager, settings)&#xA;            {&#xA;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope it helps you.&lt;/p&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2019-04-08T06:29:59.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17967" PostTypeId="2" ParentId="17938" CreationDate="2019-04-08T07:24:40.623" Score="5" Body="&lt;p&gt;You have 2 options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Overwrite the cshtml files used by Sitecore Forms. This gives you total freedom of the html that is returned by the forms. You can add div's, add classes, etc..&#xA;(You can find these files in Views/FormBuilder/FieldTemplates)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set styleclasses on the standardvalues. This way, the css classees will be prefilled in the editor. Content editors will however be able to change these styleclasses.&#xA;The standard values can be found in &quot;/sitecore/templates/System/Forms/Fields/***/__Standard Values&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-04-08T07:24:40.623" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17968" PostTypeId="1" CreationDate="2019-04-08T07:38:47.420" Score="1" ViewCount="68" Body="&lt;p&gt;I have a campaign facet called Advertising Area (just like the one found in Google Ads). Within this facet,there are 2 levels of custom groups i.e. Country and Region and the last level is City:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Campaign facet : Advertising Area&#xA;1st level group  - Australia&#xA;2nd level group    - Victoria&#xA;3rd level tag        - Melbourne&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a new campaign, I try to select &quot;Australia&quot; as a tag for a campaign facet but Sitecore prompts an error &quot;Some of the fields in this item contain fatal errors&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does it mean I can't use custom group as tag in campaign facet?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Roman&lt;/p&gt;&#xA;" OwnerUserId="3851" LastActivityDate="2019-09-30T12:55:08.947" Title="Can I select custom group as campaing facet?" Tags="|taxonomy|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17969" PostTypeId="1" CreationDate="2019-04-08T08:34:31.567" Score="0" ViewCount="140" Body="&lt;p&gt;In Sitecore 9 when we are uploading the zip file in Sitecore Media library. Icon is loading from the template &quot;/sitecore/templates/System/Media/Unversioned/Zip&quot; instead of taking from the temp folder. Please let me know if you have any solution for this. It is happening in Azure Paas. &lt;a href=&quot;https://i.stack.imgur.com/7Au0B.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7Au0B.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance..&lt;/p&gt;&#xA;" OwnerUserId="4214" LastActivityDate="2019-04-08T15:25:01.083" Title="Default ZIP icon is not loading for the Sitecore Media Item" Tags="|sitecore-client|media-library|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17970" PostTypeId="1" AcceptedAnswerId="17979" CreationDate="2019-04-08T08:51:59.850" Score="2" ViewCount="62" Body="&lt;p&gt;I am trying to access the details of a rendering attached to an item in the Core database, but Sitecore is throwing server error. Please refer to the attached screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BqsW5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BqsW5.png&quot; alt=&quot;Item which I am trying to access&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3h2V2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3h2V2.png&quot; alt=&quot;Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3607" LastActivityDate="2019-04-23T09:58:15.203" Title="While viewing rendering attached to an item in Core DB, Sitecore is throwing server error" Tags="|presentation|speak|sublayout|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17971" PostTypeId="1" AcceptedAnswerId="17973" CreationDate="2019-04-08T09:18:01.257" Score="1" ViewCount="289" Body="&lt;p&gt;I have here a &lt;code&gt;Read-Variable&lt;/code&gt; command that will make you select any content folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$root= Get-Item master:\content\home&#xA;&#xA;$selectFolder= Read-Variable -Parameters&#xA;    @{ Name = &quot;root&quot;; Title=&quot;Start Item&quot;; Root=&quot;/sitecore/content/&quot;}&#xA;    -Description &quot;This Dialog shows less editors, it doesn’t need tabs as there is less of the edited variables&quot;&#xA;    -Title &quot;Initialise various variable types (without tabs)&quot; -Width 500 -Height 480 -OkButtonName &quot;Proceed&quot; -CancelButtonName &quot;Abort&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, I want to get the descendants of the folder selected above that are based on this template id &lt;code&gt;{FF24F59C-E4B4-4130-A119-036A02B3543B}&lt;/code&gt; using fast query.&lt;/p&gt;&#xA;" OwnerUserId="5307" LastEditorUserId="73" LastEditDate="2019-04-08T11:30:27.313" LastActivityDate="2019-04-08T11:30:27.313" Title="How to get the descendants of the values/folder in `Read-Variable` command using `Fast` query?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17973" PostTypeId="2" ParentId="17971" CreationDate="2019-04-08T09:46:49.957" Score="2" Body="&lt;p&gt;Look at the script below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;First initial value for &lt;code&gt;$selectFolder&lt;/code&gt; is set. &lt;/li&gt;&#xA;&lt;li&gt;Then &lt;code&gt;Read-Variable&lt;/code&gt; is called and &lt;code&gt;Name = &quot;selectFolder&quot;&lt;/code&gt; path says that whatever is selected in the popup should be set back to &lt;code&gt;$selectFolder&lt;/code&gt; variable.&lt;/li&gt;&#xA;&lt;li&gt;Then the query is executed to search in &lt;code&gt;master&lt;/code&gt; database with full item path and template of your choice.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;$selectFolder = Get-Item master:\content\home&#xA;&#xA;$result = Read-Variable -Parameters `&#xA;    @{ Name = &quot;selectFolder&quot;; Title=&quot;Start Item&quot;; Root=&quot;/sitecore/content/&quot;} `&#xA;    -Description &quot;This Dialog shows less editors, it doesn’t need tabs as there is less of the edited variables&quot; `&#xA;    -Title &quot;Initialise various variable types (without tabs)&quot; -Width 500 -Height 480 -OkButtonName &quot;Proceed&quot; -CancelButtonName &quot;Abort&quot;&#xA;&#xA;$queryResult = Get-Item Master: -Query ($selectFolder.Paths.FullPath + &quot;//*[@@templateid='{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}']&quot;)&#xA;$queryResult&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-04-08T09:46:49.957" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17975" PostTypeId="1" CreationDate="2019-04-08T09:58:34.447" Score="1" ViewCount="22" Body="&lt;p&gt;I have a page with a wysiwyg editor that allows users to select images from the media library and inserts them into their content and save as a sitecore item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that these images aren't published as they're not part of the related items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was hoping there's a field that just takes the guids of any related items but it looks like it's all done in the link database. I see a &lt;code&gt;GetItemReferences&lt;/code&gt; but no &lt;code&gt;CreateItemReferences&lt;/code&gt; or similar.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially I have the id's of the images the user wishes to embed but I don't know how to store each one as a related item.  &lt;/p&gt;&#xA;" OwnerUserId="3907" LastActivityDate="2019-04-08T09:58:34.447" Title="Add an item to another items related items programatically" Tags="|link-database|related-items|" AnswerCount="0" CommentCount="3" ClosedDate="2019-04-08T10:10:09.737" ContentLicense="CC BY-SA 4.0" />
  <row Id="17979" PostTypeId="2" ParentId="17970" CreationDate="2019-04-08T12:26:53.700" Score="3" Body="&lt;p&gt;As &lt;a href=&quot;https://sitecore.stackexchange.com/questions/17970/while-viewing-rendering-attached-to-an-item-in-core-db-sitecore-is-throwing-ser/17979#comment26971_17970&quot;&gt;@MarekMusielak mentions in his comment&lt;/a&gt;, you will need to use &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=JakobChristensen.SitecoreRocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Rocks&lt;/a&gt; to edit the presentation details of core database items.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Open an item's presentation details&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qZuzo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qZuzo.png&quot; alt=&quot;core database context menu in Sitecore Rocks&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Edit the presentation details&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oxSyl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oxSyl.png&quot; alt=&quot;presentation details in Sitecore Rocks&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/W7NVF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/W7NVF.png&quot; alt=&quot;properties of a presentation component in Sitecore Rocks&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="70" LastEditDate="2019-04-23T09:58:15.203" LastActivityDate="2019-04-23T09:58:15.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17980" PostTypeId="1" AcceptedAnswerId="33463" CreationDate="2019-04-08T13:54:09.077" Score="8" ViewCount="673" Body="&lt;p&gt;I have sitecore 9.1 and I added pipeline which add new hashing algorithm (pbkdf2 implementation from Zetetic team with 5000 iterations) to CryptoConfig and changed hashAlgorithmType to pbkdf2 in membership section of web.config as well.&#xA;Changing of passwords from sitecore works well, and logging in with sitecore login works as well (sitecore-instance.sc/sitecore/login?rc=1), but it looks like Identity Server uses pbkdf2 with 10000 iterations (default settings for IdentityServer 3+), because login is failed with it (sitecore-instance.identityserver/account/login).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&#xA;Actually, sitecore implementation uses identityserver-contrib-membership to work with membership provider under the hood, which has hardcoded implementation of SHA-1 algorithm - &lt;a href=&quot;https://github.com/sma73648/identityserver-contrib-membership/blob/develop/src/IdentityServer4.Contrib.Membership/MembershipPasswordHasher.cs&quot; rel=&quot;noreferrer&quot;&gt;MembershipPasswordHasher&lt;/a&gt;.&#xA;As I saw in documentation Sitecore provides possibility to replace class implementation with custom one for Sitecore Host plugins (&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/configuration.html&quot; rel=&quot;noreferrer&quot;&gt;Host plugin Configuration doc&lt;/a&gt;) , but I didn't find good example of this configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, how to configure identity server to use same algorithm as Membership provider from sitecore instance?&lt;/p&gt;&#xA;" OwnerUserId="5263" LastEditorUserId="5263" LastEditDate="2019-04-09T12:44:20.313" LastActivityDate="2022-11-22T03:41:40.823" Title="How to enable custom hashing algorithm on identity server?" Tags="|security|login|identity-server|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17982" PostTypeId="1" CreationDate="2019-04-08T15:43:42.043" Score="1" ViewCount="445" Body="&lt;p&gt;I am using Sitecore 9.1 and I want to configure the Media Item save behavior. I want to save all Media Items in File Systems instead of Database. As of now i want to store in the same server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have enabled the Media.UploadAsFiles to true as&#xA; &lt;code&gt;&amp;lt;setting name=&quot;Media.UploadAsFiles&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and DisableFileMedia is false by default as&#xA; &lt;code&gt;&amp;lt;setting name=&quot;Media.DisableFileMedia&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But still i am not getting the Checkbox to select and upload the Media Item as File.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer the screenshot as &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ObJBj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ObJBj.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="814" LastEditorUserId="73" LastEditDate="2019-04-09T09:14:57.617" LastActivityDate="2019-04-09T09:14:57.617" Title="Upload as a File Check box not showing" Tags="|sitecore-client|media-library|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="17983" PostTypeId="1" AcceptedAnswerId="17993" CreationDate="2019-04-08T16:18:28.293" Score="4" ViewCount="267" Body="&lt;p&gt;We have a multi-lingual site where the group of countries (say for example Asia Region) is hosted in one Site folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thus Home, Pages, Settings have different language versions (&lt;code&gt;zh-HK&lt;/code&gt;, &lt;code&gt;en-HK&lt;/code&gt;, &lt;code&gt;en-AU&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We configured Azure search for this region with index: &quot;site_asia_web_index&quot;&#xA;with a crawler root configured to say &lt;code&gt;/sitecore/brandsite/asia&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However when I search for some term in the Australia site it returns the result for pages in &lt;code&gt;en-HK&lt;/code&gt;, &lt;code&gt;en-AU&lt;/code&gt; and even &lt;code&gt;zh-HK&lt;/code&gt;. The non-Australia results ultimately go to 404 page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of the important part of my code snippet just to make sure it is correct:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IEnumerable&amp;lt;Tuple&amp;lt;string, string, string&amp;gt;&amp;gt; mustConditions = filters.Where(x =&amp;gt; x.Item3.Equals(&quot;must&quot;));&#xA;System.Linq.Expressions.Expression&amp;lt;Func&amp;lt;AzureSearchResult, bool&amp;gt;&amp;gt; baseQuery = PredicateBuilder.True&amp;lt;AzureSearchResult&amp;gt;(); &#xA;IEnumerable&amp;lt;Tuple&amp;lt;string, string, string&amp;gt;&amp;gt; shouldConditions = filters.Where(x =&amp;gt; x.Item3.Equals(&quot;should&quot;));&#xA;&#xA;mustQuery = mustQuery.And(l =&amp;gt; l.Language == Sitecore.Context.Language.Name);&#xA;baseQuery = baseQuery.And(contentQuery).And(mustQuery).And(templateQuery);&#xA;IQueryable&amp;lt;AzureSearchResult&amp;gt; queryRunner = context.GetQueryable&amp;lt;AzureSearchResult&amp;gt;(new CultureExecutionContext(Sitecore.Context.Language.CultureInfo)).Where(baseQuery);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the only filter I have for the language. Am I missing something here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: using Sitecore Version 8.2 Update 5 and we already have the Sitecore patch with apiVersion=2015-02-28-Preview&lt;/p&gt;&#xA;" OwnerUserId="4827" LastEditorUserId="237" LastEditDate="2019-04-09T11:49:42.493" LastActivityDate="2019-04-09T11:49:42.493" Title="Azure Search duplicate results for multilingual countries in same site with different language versions" Tags="|sxa|content-search|multilingual|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17984" PostTypeId="1" AcceptedAnswerId="18775" CreationDate="2019-04-08T17:30:04.137" Score="10" ViewCount="2491" Body="&lt;p&gt;I have a relatively clean install of Sitecore PowerShell Extensions v 5.0 in my environment, which is running Sitecore 9.1 on Azure PaaS. As far as I can tell, everything in the install seems to be working fine, except elevating permissions to run scripts in the Console. When I attempt to elevate permissions, I see an excessive number of network requests (3k+) flow through the browser, the window locks up, and I eventually have to kill the tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KBR4c.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KBR4c.png&quot; alt=&quot;Excessive Requests&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am seeing this issue on both the XP-Single and XP-Scaled topologies. When I check the logs, it is showing that the session was elevated, however I cannot use it (even after refreshing the browser). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I attempted to re-install the module, but this did not resolve the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas as to what might be causing those two requests to repeatedly fire? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I pulled down the Git repo, and did the ol' add logging trick. It looks like the context of the authentication attempt for the console is coming through as an anonymous user, instead of the currently logged in user:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Local Environment (working):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;13288 13:24:03 ERROR User is logged in: True&#xA;13288 13:24:03 ERROR User is authorized from manager: True for user sitecore\admin&#xA;13288 13:24:03 ERROR User is authorized: True&#xA;13288 13:24:03 ERROR Session is elevated: False&#xA;13360 13:24:05 WARN  Session state elevated for 'Console' by user: sitecore\admin&#xA;1988 13:24:05 ERROR User is logged in: True&#xA;1988 13:24:05 ERROR User is authorized from manager: True for user sitecore\admin&#xA;1988 13:24:05 ERROR User is authorized: True&#xA;1988 13:24:05 ERROR Session is elevated: True&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Non-Local Environment (not working):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;21180 20:26:39 ERROR User is logged in: False&#xA;21180 20:26:39 ERROR User is authorized from manager: False for user extranet\Anonymous&#xA;21180 20:26:39 ERROR User is authorized: False&#xA;21180 20:26:39 ERROR Session is elevated: False&#xA;13220 20:26:46 WARN  Session state elevated for 'Console' by user: sitecore\xcadmin&#xA;11464 20:26:47 ERROR User is logged in: False&#xA;11464 20:26:47 ERROR User is authorized from manager: False for user extranet\Anonymous&#xA;11464 20:26:47 ERROR User is authorized: False&#xA;11464 20:26:47 ERROR Session is elevated: True&#xA;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the snippet I modified:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[WebMethod(EnableSession = true)]&#xA;public object ExecuteCommand(string guid, string command, string stringFormat)&#xA;{&#xA;    var serializer = new JavaScriptSerializer();&#xA;    var output = new StringBuilder();&#xA;&#xA;    var isSessionElevated = SessionElevationManager.IsSessionTokenElevated(ApplicationNames.Console);&#xA;&#xA;    Log.Error($&quot;User is logged in: {Sitecore.Context.IsLoggedIn}&quot;, this);&#xA;    Log.Error($&quot;User is authorized from manager: {ServiceAuthorizationManager.IsUserAuthorized(WebServiceSettings.ServiceClient, Sitecore.Context.User?.Name)} for user {Sitecore.Context.User?.Name}&quot;, this);&#xA;    Log.Error($&quot;User is authorized: {IsLoggedInUserAuthorized}&quot;, this);&#xA;    Log.Error($&quot;Session is elevated: {isSessionElevated}&quot;, this);&#xA;&#xA;&#xA;    if (!IsLoggedInUserAuthorized || !isSessionElevated)&#xA;    {&#xA;        return serializer.Serialize(&#xA;            new&#xA;            {&#xA;                status = StatusElevationRequired,&#xA;                result =&#xA;                &quot;You need to be authenticated, elevated and have sufficient privileges to use the PowerShell console. Please (re)login to Sitecore.&quot;,&#xA;                prompt = &quot;PS &amp;gt;&quot;,&#xA;                background = OutputLine.ProcessHtmlColor(ConsoleColor.DarkBlue)&#xA;            });&#xA;    }&#xA;&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5283" LastEditorUserId="95" LastEditDate="2020-04-16T12:51:37.917" LastActivityDate="2021-05-26T14:08:37.650" Title="Issue elevating SPE Console in 9.1 Azure PaaS" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17985" PostTypeId="2" ParentId="17982" CreationDate="2019-04-08T19:00:08.390" Score="2" Body="&lt;p&gt;This is expected behaviour.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have configured upload as &lt;code&gt;&amp;lt;setting name=&quot;Media.UploadAsFiles&quot; value=&quot;true&quot; /&amp;gt;&lt;/code&gt; and you expect to see all four options during upload like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NaKvt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NaKvt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is false assumption.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you have configured it to always upload media files to file system, there won't be anymore &lt;code&gt;Upload as files&lt;/code&gt; option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do not forget to conclude your setup by specifying &lt;code&gt;Media.FileFolder&lt;/code&gt; path. Uploaded files will be stored in this folder&#xA;&lt;code&gt;&amp;lt;setting name=”Media.FileFolder” value=”/App_Data/MediaFiles”&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-04-08T19:00:08.390" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17986" PostTypeId="2" ParentId="17872" CreationDate="2019-04-08T20:43:05.740" Score="1" Body="&lt;p&gt;Please try the following : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Navigate to the /sitecore/system/Data Exchange/xDB Data Migration 8x to 9 Branch/Tenant Settings/Providers/xConnect/XObject Mapping Settings/XObject Mapping Definitions/Event Mappings for MongoDB Page Events/Submit Success Event item &#xA;2- In the &quot;Mapping Exclude Conditions&quot; select &quot;Always True codition&quot; &#xA;3- In the Mapping Include - unselect all&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, try the migration process again&lt;/p&gt;&#xA;" OwnerUserId="838" LastActivityDate="2019-04-08T20:43:05.740" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="17987" PostTypeId="1" CreationDate="2019-04-09T01:15:44.180" Score="2" ViewCount="130" Body="&lt;p&gt;Quirky thing that I've noticed while working on a client's CMS. When I send them preview links in the format of &lt;code&gt;https://campaigns.redacted.com/?sc_itemid=%7B0EA000BF-8F51-482C-9F67-6AE044B64F2F%7D&amp;amp;sc_mode=preview&amp;amp;sc_lang=en&amp;amp;sc_site=redacted&lt;/code&gt; and they try to open that URL &lt;strong&gt;when not already logged into Sitecore&lt;/strong&gt;, even in Incognito mode they keep getting &lt;code&gt;campaigns.redacted.com redirected you too many times.&lt;/code&gt; Indeed, the status bar of the browser (Chrome) starts going crazy and in Fiddler I just see a constant array of tunnels to campaigns.redacted.com. The URL in the browser after Chrome gives up is:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;https://campaigns.redacted.com/sitecore/login?sc_itemid=%7B0EA000BF-8F51-482C-9F67-6AE044B64F2F%7D&amp;amp;sc_mode=preview&amp;amp;sc_lang=en&amp;amp;sc_site=redacted&amp;amp;returnUrl=%2525252525252525252525252525252525252F%2525252525252525252525252525252525253Fsc_itemid%2525252525252525252525252525252525253D%252525252525252525252525252525252525257B0EA000BF-8F51-482C-9F67-6AE044B64F2F%252525252525252525252525252525252525257D%25252525252525252525252525252525252526sc_mode%2525252525252525252525252525252525253Dpreview%25252525252525252525252525252525252526sc_lang%2525252525252525252525252525252525253Den%25252525252525252525252525252525252526sc_site%2525252525252525252525252525252525253Dredacted&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I've tried disabling our custom IIS rewrite rules and also removing the &lt;code&gt;requireSSL&lt;/code&gt; property on the &lt;code&gt;httpCookies&lt;/code&gt; node of web.config, and this has brought about no changes. Their instance is running Sitecore 8.2 rev. 161115. Other browsers seem to give similar results.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: After running the resulting URL provided through a URL decoder, it looks like this. Not sure if this is relevant or if you can see something wrong with how this URL is structured?&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;https://campaigns.redacted.com/sitecore/login?sc_itemid={0EA000BF-8F51-482C-9F67-6AE044B64F2F}&amp;amp;sc_mode=preview&amp;amp;sc_lang=en&amp;amp;sc_site=redacted&amp;amp;returnUrl=/?sc_itemid={0EA000BF-8F51-482C-9F67-6AE044B64F2F}&amp;amp;sc_mode=preview&amp;amp;sc_lang=en&amp;amp;sc_site=redacted&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1344" LastEditorUserId="1344" LastEditDate="2021-04-01T20:06:27.440" LastActivityDate="2021-04-01T20:06:27.440" Title="Preview and edit links causes ERR_TOO_MANY_REDIRECTS if not logged in" Tags="|login|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17988" PostTypeId="2" ParentId="16141" CreationDate="2019-04-09T02:05:12.230" Score="1" Body="&lt;p&gt;I have not found a way to do this through SIF easily. At the end of the day, all that is happening is&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Creation of the collections&lt;/li&gt;&#xA;&lt;li&gt;Modification of config used for the XM collections (i.e., &lt;code&gt;sitecore_master_index&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Modification of the config used for the xDB collections (&lt;code&gt;xdb&lt;/code&gt; and &lt;code&gt;xdb_rebuild&lt;/code&gt; by default)&lt;/li&gt;&#xA;&lt;li&gt;Some config on the Sitecore side to tie it in. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After doing it manually in staging I decided to script it for production. I pulled down the resulting configs and made a python script to create the necessary collections with them. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/AlexMayle/sitecore9-core-installer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/AlexMayle/sitecore9-core-installer&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you clone the repo onto any of your Solr servers you can simply execute the following in the most basic case. There's options for more advanced cases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;python3 create_default_indexes.py | exec&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That will take care of the first three steps. Just rip out the Solr tasks from the SIF config files and that should take care of the final step - assuming you use default collection names with the python script. If that's not the case, you'll need to manually edit the connection strings post-install. &lt;/p&gt;&#xA;" OwnerUserId="5248" LastEditorUserId="5248" LastEditDate="2019-04-09T02:13:04.367" LastActivityDate="2019-04-09T02:13:04.367" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17989" PostTypeId="1" AcceptedAnswerId="18018" CreationDate="2019-04-09T06:05:43.263" Score="5" ViewCount="6805" Body="&lt;p&gt;I have a custom css class that has been patched which I have verified in showconfig.aspx&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;WebStylesheet&quot; value=&quot;/css/rte.css&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have verified the css via that url. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in rich text editor I'm not seeing any classes under Apply Css Class.  In both the content editor - rich text editor or the SXA rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Y2VFE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Y2VFE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a step I've missed doing?  Using Sitecore 9.1 with SXA 1.8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My css is just:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.module-title {&#xA;  color: #373A40;&#xA;  text-align: center;&#xA;  margin-bottom: 1.5em;&#xA;  font-weight: 100;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do I also have to update the ToolsFile.xml?  I thought it would automatically pick up all the classes from the css file, and you only needed to use the xml to restrict what classes you wanted specifically to show.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="11347" LastEditDate="2022-05-27T08:33:10.657" LastActivityDate="2022-05-27T08:33:10.657" Title="Applying rich text editor custom classes" Tags="|richtext-editor|css|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17991" PostTypeId="1" AcceptedAnswerId="17994" CreationDate="2019-04-09T06:09:31.213" Score="1" ViewCount="201" Body="&lt;p&gt;When we try to add the Security Setting to the site for the first time we are able to run the Setup Security script with the link under Scripts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we tried to make changes again in the security, unfortunately the Setup Security option is no longer available. How can we get the Setup Security option back to make changes?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7iByI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7iByI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="4214" LastEditorUserId="237" LastEditDate="2019-04-09T12:45:26.000" LastActivityDate="2019-04-09T12:45:26.000" Title="Setup security for the Sitecore SXA site multiple times" Tags="|sxa|security|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17993" PostTypeId="2" ParentId="17983" CreationDate="2019-04-09T08:13:18.850" Score="4" Body="&lt;p&gt;I do recall a bug in 8.2 update4 where the language search in Azure did not work properly with dashes in the language. The results would be for any part of the &quot;language-culture&quot;. E.g. searching for fr-BE would give results for fr-BE, nl-BE, fr-FR and so on. This seems like your case (en-HK, en-AU and zh-HK all share at least the language or the culture).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This bug was fixed in &lt;strong&gt;8.2 update 7&lt;/strong&gt;. It can be found in the release notes of that version: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update7/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/82/Sitecore%20Experience%20Platform%2082%20Update7/Release%20Notes&lt;/a&gt; (reference number &lt;strong&gt;171546&lt;/strong&gt;)&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you use Azure search queries, to search for items in a specific&#xA;  language that contains a hyphen in its name (for example, en-AU), the&#xA;  results incorrectly contain items for all languages.​&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you cannot upgrade, I would advice to contact Sitecore support to get a patch for your version.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-09T08:13:18.850" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="17994" PostTypeId="2" ParentId="17991" CreationDate="2019-04-09T08:26:26.613" Score="1" Body="&lt;p&gt;Your tenant and site item will have a field called &lt;code&gt;Role domain&lt;/code&gt; (in the &lt;code&gt;Security&lt;/code&gt; section). If you clear that field, the script will be available again on that item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be aware though that clearing that field will not remove any security (as far as I know). So the security settings created by the first run will remain and you might get some strange effects if you run it again. In order to remove everything you would need to remove all the created roles as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would advice you to think about what you are trying to achieve and see if you really need to start over or just change permissions on your roles (which you can do without re-running the script). It might be a good idea anyway to create roles on top of the ones that SXA created (that's what I do) and use those for extra security settings.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-09T08:26:26.613" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17995" PostTypeId="2" ParentId="17934" CreationDate="2019-04-09T08:33:25.830" Score="2" Body="&lt;p&gt;Internally the Sitecore's &lt;strong&gt;TransientRetrier&lt;/strong&gt; uses Microsoft's &lt;strong&gt;Transient Fault Handling Application Block&lt;/strong&gt;, which is optimized to handle SQL Azure transient errors. More details here: &lt;a href=&quot;https://docs.microsoft.com/en-us/previous-versions/msp-n-p/hh680934(v=pandp.50)#sec2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/previous-versions/msp-n-p/hh680934(v=pandp.50)#sec2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is perfectly fine and even advisable to keep the retryer enabled in Azure, since transient faults happen more often in the cloud due to the way Azure works (&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connectivity-issues&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connectivity-issues&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="862" LastActivityDate="2019-04-09T08:33:25.830" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17996" PostTypeId="2" ParentId="17989" CreationDate="2019-04-09T08:47:14.390" Score="1" Body="&lt;p&gt;It should pick up automatically, but you can try to add it to &lt;code&gt;ToolsFile.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;classes&amp;gt;&#xA;&amp;lt;class name=&quot;Your Class 1&quot; value=&quot;your-class-1&quot; /&amp;gt;&#xA;&amp;lt;class name=&quot;Your Class 2&quot; value=&quot;your-class-2&quot; /&amp;gt;&#xA;&amp;lt;class name=&quot;Your Class 3&quot; value=&quot;your-class-3&quot; /&amp;gt;&#xA;&amp;lt;/classes&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;toolsfile is located under &lt;code&gt;&amp;lt;webroot&amp;gt;\sitecore\shell\Controls\Rich Text Editor\&lt;/code&gt; folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Personally, I prefer creating snippets instead of adding a custom CSS class to a rich-text editor. It is a bit more user-friendly solution. &#xA;You can add custom HTML snippets in the rich text editor profile, in the core database.&#xA;e.g here &lt;code&gt;/sitecore/system/Settings/Html Editor Profiles/Rich Text Full/Snippets&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4816" LastEditorUserId="5387" LastEditDate="2020-03-25T15:49:54.127" LastActivityDate="2020-03-25T15:49:54.127" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17997" PostTypeId="2" ParentId="17737" CreationDate="2019-04-09T09:28:40.153" Score="3" Body="&lt;p&gt;In WFFM, Save Actions are queued as Events and processed in CM. Since the Core databases are different, enable &lt;strong&gt;Client Action&lt;/strong&gt; setting in Save Action item&lt;/p&gt;&#xA;" OwnerUserId="1807" LastActivityDate="2019-04-09T09:28:40.153" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="17998" PostTypeId="1" CreationDate="2019-04-09T10:06:17.053" Score="1" ViewCount="1569" Body="&lt;p&gt;My clients requirement is like need to add a custom field to sitecore 9 which enables the conditional rendering as if someone selects yes then show this or if no then show that.&#xA;How we can achieve this as i am using sitecore 9.0.1. &lt;/p&gt;&#xA;" OwnerUserId="5040" LastActivityDate="2019-04-09T18:30:24.110" Title="How to add Conditional field in sitecore 9 Form?" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="17999" PostTypeId="2" ParentId="17998" CreationDate="2019-04-09T11:56:24.943" Score="3" Body="&lt;p&gt;Conditional logic in Sitecore Forms was introduced in Sitecore 9.1. It is not available on Sitecore 9.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To build this yourself on 9.0 is not advisable. It would be better to upgrade to 9.1 and get the feature automatically. There are some minor differences between 9.0 and 9.1 in other areas (like Identity Server and Cortex).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that at the time of this answer, Sitecore 9.1.1 is the latest update and was just released. I mention this in case the reason to not upgrade was because of 9.1 previously being an initial release.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2019-04-09T18:30:24.110" LastActivityDate="2019-04-09T18:30:24.110" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18000" PostTypeId="2" ParentId="17998" CreationDate="2019-04-09T12:10:07.497" Score="3" Body="&lt;p&gt;This functionality is not available in Sitecore 9.0.1 so for 9.0.1 I wrote a temporary code till than you are not upgrading into 9.1. If you want to apply condition on radio button so you can use below code, similar code you can use for drop down:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@foreach (var item in Model.Items)&#xA;{&#xA;    string val = item.Value;&#xA;    string sectionName = string.Empty;&#xA;    string hideOrshow = string.Empty;&#xA;    string fieldValue = string.Empty;&#xA;    if (val.IndexOf('|') != -1)&#xA;    {&#xA;        var list = val.Split('|');&#xA;        if (list.Length &amp;gt; 2)&#xA;        {&#xA;            sectionName = list[0].ToString();&#xA;            hideOrshow = list[1].ToString();&#xA;            fieldValue = list[2].ToString();&#xA;        }&#xA;    }&#xA;    else&#xA;    {&#xA;        sectionName = &quot;&quot;;&#xA;        fieldValue = item.Value;&#xA;    }&#xA;    &amp;lt;input id=&quot;@item.ItemId&quot; type=&quot;radio&quot; onchange=&quot;onRadioChange('@sectionName','@fieldValue','@hideOrshow')&quot; class=&quot;form-control__radio&quot; name=&quot;@Html.NameFor(m =&amp;gt; Model.Value)&quot; @if (item.Selected) { &amp;lt;text&amp;gt; checked&amp;lt;/text&amp;gt;} value=&quot;@fieldValue&quot; data-sc-tracking=&quot;@Model.IsTrackingEnabled&quot; data-sc-field-name=&quot;@Model.Name&quot; @Html.GenerateUnobtrusiveValidationAttributes(m =&amp;gt; m.Value) /&amp;gt;&#xA;    &amp;lt;label for=&quot;@item.ItemId&quot;&amp;gt;@item.Text&amp;lt;/label&amp;gt;&#xA;}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.ValidationMessageFor(m =&amp;gt; Model.Value)&#xA;&amp;lt;script&amp;gt;&#xA;function onRadioChange(section, val, hideOrShow) {&#xA;    if (section != &quot;&quot;) {&#xA;        if (section.indexOf(',') != -1) {&#xA;            var list = section.split(',');&#xA;            if (hideOrShow.indexOf(',') != -1) {&#xA;                var hideOrShowList = hideOrShow.split(',');&#xA;                if (list.length == hideOrShowList.length) {&#xA;                    for (var i = 0; i &amp;lt;= list.length; i++) {&#xA;                        if (hideOrShowList[i] == &quot;Show&quot;) {&#xA;                            var className = &quot;.&quot; + list[i].trim();&#xA;                            $(className).removeClass(&quot;hideSection&quot;);&#xA;                            $(className).find(&quot;.fieldRequired&quot;).each(function (i) {&#xA;                                if ($(this).attr(&quot;data-sc-field-name&quot;)) {&#xA;                                    $(this).attr(&quot;aria-required&quot;, &quot;true&quot;);&#xA;                                    $(this).attr(&quot;required&quot;, &quot;required&quot;);&#xA;                                    $(this).attr(&quot;data-val&quot;, &quot;true&quot;);&#xA;                                    var fieldName = $(this).attr(&quot;data-sc-field-name&quot;);&#xA;                                    var requiredMessage = fieldName + &quot; is required.&quot;;&#xA;                                    $(this).attr(&quot;data-val-required&quot;, requiredMessage);&#xA;                                }&#xA;                            });&#xA;                        }&#xA;                        else if (hideOrShowList[i] == &quot;Hide&quot;) {&#xA;                            var className = &quot;.&quot; + list[i].trim();&#xA;                            $(className).addClass(&quot;hideSection&quot;);&#xA;                            $(className).find(&quot;.fieldRequired&quot;).each(function (i) {&#xA;                                if ($(this).attr(&quot;data-sc-field-name&quot;)) {&#xA;                                    $(this).attr(&quot;aria-required&quot;, &quot;false&quot;);&#xA;                                    $(this).removeAttr(&quot;required&quot;);&#xA;                                    $(this).attr(&quot;data-val&quot;, &quot;false&quot;);&#xA;                                }&#xA;                            });&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;        else {&#xA;            if (hideOrShow == &quot;Show&quot;) {&#xA;                $(&quot;.&quot; + section).removeClass(&quot;hideSection&quot;);&#xA;                $(&quot;.&quot; + section).find(&quot;.fieldRequired&quot;).each(function (i) {&#xA;                    if ($(this).attr(&quot;data-sc-field-name&quot;)) {&#xA;                        $(this).attr(&quot;aria-required&quot;, &quot;true&quot;);&#xA;                        $(this).attr(&quot;required&quot;, &quot;required&quot;);&#xA;                        $(this).attr(&quot;data-val&quot;, &quot;true&quot;);&#xA;                        var fieldName = $(this).attr(&quot;data-sc-field-name&quot;);&#xA;                        var requiredMessage = fieldName + &quot; is required.&quot;;&#xA;                        $(this).attr(&quot;data-val-required&quot;, requiredMessage);&#xA;&#xA;                    }&#xA;                });&#xA;            }&#xA;            else if (hideOrShow == &quot;Hide&quot;) {&#xA;                console.log(hideOrShow)&#xA;                $(&quot;.&quot; + section).addClass(&quot;hideSection&quot;);&#xA;                $(&quot;.&quot; + section).find(&quot;.fieldRequired&quot;).each(function (i) {&#xA;                    if ($(this).attr(&quot;data-sc-field-name&quot;)) {&#xA;                        $(this).attr(&quot;aria-required&quot;, &quot;false&quot;);&#xA;                        $(this).removeAttr(&quot;required&quot;);&#xA;                        $(this).attr(&quot;data-val&quot;, &quot;false&quot;);&#xA;                    }&#xA;                });&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore forms you need to follow below steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Create a hideSection class (.hideSection{display:none})&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Create new section which you want to hide and in CSS class field name, write any name like “Section1” and to hide that section by default use “hideSection” class.&lt;a href=&quot;https://i.stack.imgur.com/0vvsD.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0vvsD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.In this section add field which you want to add like text box, radio button etc. One thing you need to remember that if you want this field mandatory in this section do not select Mandatory radio button, just add class “fieldRequired”&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UY6qk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UY6qk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4.Now go to radio button from where you want to show/hide section and go to List Items on right side. From Radio button values, select “Customized”.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5.Now go to Radio Button’s value, Add “|Hide/Show|Value”. Suppose your section name is “Section1” which you want to show then add “Section1|Show|Whateven value” and if you want to hide then add add “Section1|Hide|Whatever value”&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YeqVB.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YeqVB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-04-09T12:10:07.497" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18001" PostTypeId="5" CreationDate="2019-04-09T12:47:22.497" Score="0" Body="&lt;p&gt;Sitecore Identity (SI) is a mechanism to log in to Sitecore. It was introduced in Sitecore 9.1. It builds on the Federated Authentication functionality introduced in Sitecore 9.0 and the Sitecore Identity server, which is based on IdentityServer4. It provides a separate identity provider.&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-04-09T12:47:22.497" LastActivityDate="2019-04-09T12:47:22.497" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18002" PostTypeId="4" CreationDate="2019-04-09T12:47:22.497" Score="0" Body="Questions related to the Sitecore Identity (introduced in Sitecore 9.1)" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-04-09T12:47:22.497" LastActivityDate="2019-04-09T12:47:22.497" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18004" PostTypeId="1" AcceptedAnswerId="18011" CreationDate="2019-04-09T13:24:11.857" Score="1" ViewCount="295" Body="&lt;p&gt;In my JSON controller I want to check the access right from the User.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code looks like this &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyController : SitecoreController&#xA;{&#xA;&#xA;    public static bool CheckAccessRight()&#xA;    {&#xA;        if (Sitecore.Context.User.IsInRole(&quot;sitecore\\Sitecore Client Users&quot;))&#xA;        {&#xA;            return true;&#xA;        }&#xA;        if (Sitecore.Context.User.IsAdministrator)&#xA;        {&#xA;            return true;&#xA;        }&#xA;        return false;&#xA;    }&#xA;&#xA;    [System.Web.Http.HttpGet, System.Web.Http.HttpPost]&#xA;    public ActionResult DoSomethings(int page)&#xA;    {&#xA;      if (!CheckAccessRight())&#xA;      {&#xA;        return new JsonResult { Data = &quot;access denied&quot;, JsonRequestBehavior = JsonRequestBehavior.AllowGet };&#xA;      }&#xA;      return new JsonResult { Data = &quot;my data&quot;, JsonRequestBehavior = JsonRequestBehavior.AllowGet };&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The controller is registered in the initialize Pipeline. simiar to the documentation &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-mvc-routing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-mvc-routing.html&lt;/a&gt;. Works on older versions of Sitecore but in Sitecore 9.1 update-1 the &lt;code&gt;Sitecore.Context.User&lt;/code&gt; gives not the logged in user but gives &#xA; &lt;code&gt;extranet\Anonymous&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get the actual user back?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: it fails in Sitecore 9.1 initial version and Sitecore 9.1 update-1. works on 9.0&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-04-11T18:50:46.190" LastActivityDate="2019-04-11T18:50:46.190" Title="How to check access right in SitecoreController for Sitecore 9.1" Tags="|security|sitecore-api|controller|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18005" PostTypeId="1" AcceptedAnswerId="18007" CreationDate="2019-04-09T13:42:08.710" Score="5" ViewCount="611" Body="&lt;p&gt;I was reading &lt;a href=&quot;https://sitecore.stackexchange.com/questions/384/what-is-the-difference-between-republish-smart-publish-and-incremental-publishe/392&quot;&gt;What is the difference between republish, smart publish and incremental publishes?&lt;/a&gt; and now I'm wondering if I'm better running a &lt;strong&gt;republish&lt;/strong&gt; (as I always did) or a &lt;strong&gt;smart publish&lt;/strong&gt; on a new Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had in mind that by running a &lt;strong&gt;republish I was skipping all the compares between master and web&lt;/strong&gt; which are done by the smart publish option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But now I realize that &lt;strong&gt;there are already a bunch of items on a brand new Sitecore instance which are already on both master and web&lt;/strong&gt;, and it makes me think if a &lt;strong&gt;smart publish&lt;/strong&gt; could be more efficient since it won't copy those items above mentioned. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, what is the most efficient option on a &lt;strong&gt;new Sitecore instance&lt;/strong&gt;?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="605" LastEditDate="2019-04-09T17:36:12.607" LastActivityDate="2019-04-09T22:13:25.737" Title="Perform a Smart Publish or Republish on a brand new Sitecore instance?" Tags="|publishing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18006" PostTypeId="1" CreationDate="2019-04-09T15:23:47.030" Score="1" ViewCount="160" Body="&lt;p&gt;An item is edited in the web database. Will it be overwritten if a smart publish is fired from the master db?&lt;/p&gt;&#xA;" OwnerUserId="5322" LastEditorUserId="237" LastEditDate="2019-04-10T09:13:45.070" LastActivityDate="2019-04-10T09:13:45.070" Title="Does smart publish from master db overwrite items edited in web db?" Tags="|publishing|" AnswerCount="1" CommentCount="0" ClosedDate="2019-04-10T16:42:19.350" ContentLicense="CC BY-SA 4.0" />
  <row Id="18007" PostTypeId="2" ParentId="18005" CreationDate="2019-04-09T15:43:47.310" Score="5" Body="&lt;p&gt;The &quot;Republish&quot; required only when bringing a new web database online or creating a new publishing target etc. Copied the below highlighted paragraph from &lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/publish-a-website.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore document&lt;/a&gt;,&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Republishing removes all obsolete versions from the target database.&#xA;  You can use republishing to bring a new web database online, to&#xA;  restore a backup of the master database, and to add a new content&#xA;  language, a new publishing target, or other system items to the&#xA;  website.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I guess in your case, you are not creating a new web database/publishing target, you are planning to use the web DB which comes with the Sitecore installation. So technically &quot;Smart Publish&quot; should be efficient.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I Just ran the Smart and Republish in two plain Sitecore 8.2 local instances separately, the time taken to complete the publish might vary due to various external parameters as well, so ignore the timing in the below logs. But the Republish is always overwriting/updating around 4625 items in a plain instance which might be an additional overhead, because those are already available in the web db.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;**Sample Smart Publish logs from plain instance**&#xA;21148 14:18:00 INFO  Finished [Publishing] - ProcessQueue in 5773 ms&#xA;21148 14:18:00 INFO  Publish Mode : Smart&#xA;21148 14:18:00 INFO  Created : 0&#xA;21148 14:18:00 INFO  Updated : 0&#xA;21148 14:18:00 INFO  Deleted : 0&#xA;21148 14:18:00 INFO  Skipped : 4627&#xA;&#xA;**Sample Republish logs from plain instance**&#xA;18628 14:25:59 INFO  Finished [Publishing] - ProcessQueue in 260689 ms&#xA;18628 14:25:59 INFO  Publish Mode : Full&#xA;18628 14:25:59 INFO  Created : 0&#xA;18628 14:25:59 INFO  Updated : 4625&#xA;18628 14:25:59 INFO  Deleted : 0&#xA;18628 14:25:59 INFO  Skipped : 2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note - Whatever changes you make on top of the instance, only that needs to be migrated/published to the web db and &quot;Smart Publish&quot; can do that. &lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-04-09T22:13:25.737" LastActivityDate="2019-04-09T22:13:25.737" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18008" PostTypeId="2" ParentId="18006" CreationDate="2019-04-09T15:44:23.700" Score="2" Body="&lt;p&gt;Yes, publishing will synchronize what's in Master and Web database. That means any change you've made in Web (whether that's updates, deletes or other) will be overwritten by what's in Master database. More information on publishing can be &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/publishing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;found here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a legitimate use case to update content from the front end of the website, you'll can consider saving this in the master database using a web service and publish this to reflect it in live for instance. &lt;br/&gt;&#xA;However, typically you wouldn't need to have user generated content inside a CMS (as it's not managed content), but that would of course depend on your requirements. &lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2019-04-09T15:44:23.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18009" PostTypeId="2" ParentId="18005" CreationDate="2019-04-09T17:15:36.927" Score="2" Body="&lt;p&gt;If you are creating a new Sitecore Instance, I would recommend to use a &lt;strong&gt;Full Site Publish&lt;/strong&gt; as per Sitecore recommendation from the installation guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason why a Full Site Publish is recommended is because you'll make sure that the master and web databases are sync, i.e, items on master is present on web. I noticed that the Full Site Publish on a new Sitecore instance does not take long to run and also, I see that there are new items get created on the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Moreover, if you have an extremely large number of changes (new instance or migrated/rewrote your entire site) the Smart Publish could also take a very long time since not only will it have to update almost all the items but it will also have to do the comparisons of each item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, you can use incremental or smart publish afterwards. Normally, I tend to create an auto-publish agent which use the incremental publish. The job is ran every 1 hour to push changes live.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-04-09T17:20:55.023" LastActivityDate="2019-04-09T17:20:55.023" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18010" PostTypeId="1" AcceptedAnswerId="18012" CreationDate="2019-04-09T19:26:26.917" Score="2" ViewCount="61" Body="&lt;p&gt;We want to restrict some pages that are behind a login on a JSS site. We use code-first development. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is is possible to setup the security in the /data/*.yml files? Or should we update the security of the items after a &lt;code&gt;jss deploy app --includeContent --includeDictionary&lt;/code&gt; from the Content Editor?&lt;/p&gt;&#xA;" OwnerUserId="2134" LastActivityDate="2019-04-09T19:43:05.793" Title="Can you setup security trimming with code first JSS?" Tags="|security|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18011" PostTypeId="2" ParentId="18004" CreationDate="2019-04-09T19:38:11.177" Score="0" Body="&lt;p&gt;Add  &lt;code&gt;?sc_site=shell&lt;/code&gt; to the url, in the shell context the Sitecore user will be correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See also &lt;a href=&quot;https://sitecore.stackexchange.com/questions/17485/isadministrator-check-no-longer-working-on-sitecore-9-1&quot;&gt;IsAdministrator check no longer working on Sitecore 9.1&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-04-09T19:38:11.177" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18012" PostTypeId="2" ParentId="18010" CreationDate="2019-04-09T19:43:05.793" Score="3" Body="&lt;p&gt;Sitecore item-based security cannot be managed/applied via disconnected data, only through Sitecore security-management tools.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, you could theoretically add custom security-related information to your disconnected data, ensure the JSS app manifest includes that security-related information, and then customize the JSS app import process to handle that security-related information as you see fit.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-04-09T19:43:05.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18013" PostTypeId="2" ParentId="17914" CreationDate="2019-04-09T19:49:19.563" Score="1" Body="&lt;p&gt;Serge van den Oever's team has built a JSS/React/TypeScript starter as part of their &quot;JSS Umbrella&quot; open source project. Check it out - &lt;a href=&quot;https://github.com/macaw-interactive/react-jss-typescript-starter&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/macaw-interactive/react-jss-typescript-starter&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4949" LastActivityDate="2019-04-09T19:49:19.563" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18014" PostTypeId="1" AcceptedAnswerId="18015" CreationDate="2019-04-09T20:05:59.750" Score="2" ViewCount="269" Body="&lt;p&gt;Our Sitecore Application(9.0.2 with SXA 1.8) is hosted on Azure PaaS and we intend to use Azure Search as the Search provider for our application. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the Features that we want to implement is the Sitecore SXA OOTB Location Finder Search similar to the excellent blog post by Michael West - &#xA;&lt;a href=&quot;https://michaellwest.blogspot.com/2016/10/build-location-finder-search-using-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://michaellwest.blogspot.com/2016/10/build-location-finder-search-using-sxa.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are very new to Azure Search and would like understand its capabilities.&#xA;I read that Sitecore Provider at the moment does not support Geospatial data types, so would want to know if the Sitecore SXA location finder would work as expected with Azure Search if we follow the mentioned article?&lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="237" LastEditDate="2019-04-10T09:11:22.980" LastActivityDate="2019-04-10T11:08:16.300" Title="Using Sitecore SXA Location Search with Azure Search" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18015" PostTypeId="2" ParentId="18014" CreationDate="2019-04-10T07:18:30.233" Score="6" Body="&lt;p&gt;SXA extends the default Sitecore Azure Search provider with geospatial features (we simply implemented those features on the SXA side). When the SXA is installed you can e.g.:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;order by distance&lt;/li&gt;&#xA;&lt;li&gt;search within area&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Edm.GeographyPoint&lt;/code&gt; field type will be present in the index for SXA point of interest item&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-04-10T11:08:16.300" LastActivityDate="2019-04-10T11:08:16.300" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18018" PostTypeId="2" ParentId="17989" CreationDate="2019-04-10T08:23:29.697" Score="6" Body="&lt;p&gt;We encountered the same issue and fixed it in the &lt;code&gt;ToolsFile.xml&lt;/code&gt;. Our experience is that the &lt;code&gt;classes&lt;/code&gt; section of that file should be &lt;strong&gt;empty&lt;/strong&gt; to have the classes from your attached css file to be imported in the dropdown of the RT editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way there should be no need to add all your classes in the xml file and you can just use the external css file. Remember to clear (browser) caches when you make changes to it (the css file gets cached).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-10T08:23:29.697" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18020" PostTypeId="1" CreationDate="2019-04-10T10:37:23.073" Score="0" ViewCount="298" Body="&lt;p&gt;Template option is not coming for a new user even access to user for template is provided. I have created a new user and provide &lt;code&gt;sitecore/developer&lt;/code&gt; role to it and in &lt;code&gt;security editor&lt;/code&gt; manually provide all the access for template but still no template options is coming when i am logging in as new user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kqbFc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kqbFc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Vv2ia.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Vv2ia.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5084" LastEditorUserId="5096" LastEditDate="2019-05-04T15:47:24.280" LastActivityDate="2019-05-04T15:47:24.280" Title="Template option not coming for a new user even access to user for template is provided" Tags="|sitecore-client|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18021" PostTypeId="2" ParentId="18020" CreationDate="2019-04-10T11:09:12.737" Score="2" Body="&lt;p&gt;If you have added proper role to the user or provided access directly to the user and still the templates not coming in the content editor then check the View option in the menu, You suppose to select both &quot;Hidden Items&quot; and &quot;Entire Tree&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mostly these will be unchecked for the newly created users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7VkZT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7VkZT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-04-10T11:09:12.737" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18022" PostTypeId="1" AcceptedAnswerId="18023" CreationDate="2019-04-10T11:57:15.423" Score="1" ViewCount="44" Body="&lt;p&gt;I've created a test custom provider for Data Exchange Framework 2.0.1 and decided it's no longer necessary. How do I remove it completely and safely?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-10T13:27:42.663" Title="How to delete custom provider from Data Exchange Framework" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18023" PostTypeId="2" ParentId="18022" CreationDate="2019-04-10T11:57:15.423" Score="3" Body="&lt;h1&gt;Delete Sitecore items&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In &lt;a href=&quot;https://doc.sitecore.com/developers/def/20/data-exchange-framework/en/create-provider-in-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;the documentation for creating a custom provider&lt;/a&gt;, the paths that are created in Sitecore are listed and should be deleted:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;/sitecore/system/Settings/Data Exchange/Providers/&lt;strong&gt;your-provider-name&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/system/Settings/Rules/InsertOptions/Rules/DataExchange-&lt;strong&gt;your-provider-name&lt;/strong&gt;Provider&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/templates/Branches/DataExchange/Providers/&lt;strong&gt;your-provider-name&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;/sitecore/templates/DataExchange/Providers/&lt;strong&gt;your-provider-name&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Delete custom code&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In addition, make sure you remove any custom code you've added. If you followed the documentation, they will likely all be in a single namespace (e.g. &lt;code&gt;YourApplication.DataExchange.Providers.YourProviderName&lt;/code&gt;).&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-04-10T13:27:42.663" LastActivityDate="2019-04-10T13:27:42.663" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18024" PostTypeId="2" ParentId="6118" CreationDate="2019-04-10T13:36:55.040" Score="0" Body="&lt;p&gt;In my case the answer of &lt;a href=&quot;https://sitecore.stackexchange.com/users/1150/nathan-hase&quot;&gt;Nathan Hase&lt;/a&gt; helped with little modification. It turned out that item didn't have a reference to the image in custom image field. And because of that related image didn't published when you publish item. To fix this you need to register your custom field type:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;fieldTypes&amp;gt;&#xA;      &amp;lt;fieldType name=&amp;quot;ImageEx&amp;quot; type=&amp;quot;Sitecore.Data.Fields.ImageField,Sitecore.Kernel&amp;quot; patch:after=&amp;quot;fieldType[@name='Image']&amp;quot;&amp;gt;&amp;lt;/fieldType&amp;gt;      &#xA;    &amp;lt;/fieldTypes&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Where &lt;code&gt;ImageEx&lt;/code&gt; is name of your field in &lt;code&gt;/sitecore/system/Field types/Custom Field Types&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Also instead of &lt;code&gt;new string Source&lt;/code&gt; you can use &lt;code&gt;override string Source&lt;/code&gt; as this property is &lt;code&gt;virtual&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3822" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-10T13:36:55.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18025" PostTypeId="1" AcceptedAnswerId="18027" CreationDate="2019-04-10T13:41:32.420" Score="0" ViewCount="358" Body="&lt;p&gt;&lt;strong&gt;Environment&lt;/strong&gt;: SXA 1.8 in Azure PAAS + Azure search&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have&lt;/strong&gt;: My client has multiple offices and each office has its individual page managed with SXA. The fields on this page include address and many similar relevant fields. Upon indexing, these page items are getting indexed to Azure. The contents populated are visible inside field 'sxacontent', as can be seen in the image below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pfyiP.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pfyiP.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My problem&lt;/strong&gt;: How to read value populated for particular fields in the page item?&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-04-10T14:27:21.557" Title="Azure search with SXA" Tags="|sxa|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18027" PostTypeId="2" ParentId="18025" CreationDate="2019-04-10T14:27:21.557" Score="3" Body="&lt;p&gt;The &lt;code&gt;sxacontent&lt;/code&gt; computed field is used for searching. In the SXA you will find Search Box where you can search for items. We are using that computed field which aggregate texts form whole item (and related items in some cases) so that you could easily find a particular item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now... You don't need to manually access fields in the index (unless you have a purpose of doing that). Sitecore search providers will handle everything for you. And when you have SXA installed if you would like to display different data all you need to do is to play with Rendering Variant. For example, if I would like to display &lt;code&gt;Office hours&lt;/code&gt; and &lt;code&gt;Key information&lt;/code&gt; fields in the SXA Search Results rendering I just need to define a Rendering Variant:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WBKHp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WBKHp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are more advanced and you would like to play with the queries in code here is an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//get search index&#xA;ISearchIndex searchIndex = IndexResolver.ResolveIndex(Sitecore.Context.Item);&#xA;//create query&#xA;IQueryable&amp;lt;ContentPage&amp;gt; queryable = LinqHelper.CreateQuery&amp;lt;ContentPage&amp;gt;(searchIndex.CreateSearchContext(), new List&amp;lt;SearchStringModel&amp;gt;());&#xA;//play with the query (e.g. use fields from your template)&#xA;queryable = queryable.Where(x =&amp;gt; x.Name == &quot;MyName&quot;);&#xA;//get items which match your query&#xA;IEnumerable&amp;lt;Item&amp;gt; items = query.Select(r =&amp;gt; r.GetItem());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm using here some SXA specific services like &lt;code&gt;IIndexResolver&lt;/code&gt; or classes &lt;code&gt;ContentPage&lt;/code&gt;. If you would like to use pure Sitecore Content Search API just google for it, there is plenty of tutorials. &lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-04-10T14:27:21.557" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18028" PostTypeId="2" ParentId="9261" CreationDate="2019-04-10T14:41:37.937" Score="1" Body="&lt;p&gt;Still an issue unfortunately. I just needed the image URL so had to go down the route of implementing an extension method.&#xA;Something like below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string GetAbsoluteUrl(this Image value, ISitecoreContext sitecoreContext = null)&#xA;{&#xA;    if (value == null || value.MediaId == Guid.Empty)&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;&#xA;    var mediaItem = (sitecoreContext ?? new SitecoreContext()).Database.GetItem(new ID(value.MediaId));&#xA;    if (mediaItem == null)&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;&#xA;    var options = MediaUrlOptions.Empty;&#xA;    options.AlwaysIncludeServerUrl = true;&#xA;    return MediaManager.GetMediaUrl(new MediaItem(mediaItem), options);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="311" LastEditorUserId="311" LastEditDate="2019-04-10T14:47:19.663" LastActivityDate="2019-04-10T14:47:19.663" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18029" PostTypeId="1" CreationDate="2019-04-10T14:42:42.960" Score="0" ViewCount="198" Body="&lt;p&gt;I am upgrading some Glass Mapper code that I inherited.  The previous version of Glass Mapper was v3 and I am upgrading to v5.3.17.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a class that looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyRepository : AbstractGlassUserControl&#xA;{&#xA;  ...code here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I upgraded the Glass Mapper DLLs and tried to build I got an error saying that this class now requires a constructor that passes in an &lt;code&gt;IWebFormsContext&lt;/code&gt;.  So I made that change and now the class looks like this...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyRepository : AbstractGlassUserControl&#xA;{&#xA;  public MyRepository(IWebFormsContext context) : base(context)&#xA;  {&#xA;  }&#xA;  ... code here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But now I have other problems elsewhere in the code.  In a different class I have code that creates an instance of this repository like this...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private MyRepository _repository = new MyRepository();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It isn't clear to me how I can pass in the necessary &lt;code&gt;IWebFormsContext&lt;/code&gt; object here when I am trying to create an instance of this repository.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me understand how I can create an instance of &lt;code&gt;MyRepository&lt;/code&gt; and pass in the necessary context?&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="5096" LastEditDate="2019-05-04T15:47:29.640" LastActivityDate="2019-05-04T15:47:29.640" Title="How to upgrade Glass Mapper code that uses AbstractGlassUserControl?" Tags="|glass-mapper|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18030" PostTypeId="2" ParentId="17685" CreationDate="2019-04-10T15:02:56.150" Score="2" Body="&lt;p&gt;There is a support patch for this issue. It seems to happen for my instance (8.2.7) while the selected media item is locked by a different user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.212651/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.212651/releases&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example message logged:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.Web.HttpException&#xA;  Message: Failed to map the path '/temp/_disabled.'.&#xA;  Source: System.Web&#xA;     at System.Web.Configuration.ProcessHostMapPath.MapPathCaching(String siteID, VirtualPath path)&#xA;     at System.Web.Configuration.ProcessHostMapPath.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath path)&#xA;     at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull)&#xA;     at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping)&#xA;     at System.Web.HttpServerUtility.MapPath(String path)&#xA;     at Sitecore.Resources.Themes.GetFilename(String source, String size, String overlay, Boolean disabled)&#xA;     at Sitecore.Resources.Themes.Transform(String source, String overlay, Boolean disabled)&#xA;     at Sitecore.Resources.Themes.MapTheme(String sourcePath, String overlay, Boolean disabled)&#xA;     at Sitecore.Resources.ImageBuilder.ToString()&#xA;     at Sitecore.Shell.Web.UI.WebControls.SmallGalleryButton.Render(HtmlTextWriter output)&#xA;     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&#xA;     at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderSmallButton(HtmlTextWriter output, Control smallButton)&#xA;     at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderSmallGalleryButton(HtmlTextWriter output, Item button, CommandContext commandContext)&#xA;     at Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter ...&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-04-10T16:30:59.827" LastActivityDate="2019-04-10T16:30:59.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18031" PostTypeId="1" AcceptedAnswerId="18045" CreationDate="2019-04-10T15:29:59.670" Score="0" ViewCount="476" Body="&lt;p&gt;I'm in a situation that an identifier from a 3rd party source can change frequently. I do want to save this id (but as an anonymous identifier) and update it when I notice a change.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/add-identifiers.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt; is pretty clear on how to add an Identifier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But how do I update do an update?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Do I just call &lt;code&gt;client.AddContactIdentifier(&quot;mySource&quot;, ...)&lt;/code&gt;  &lt;/li&gt;&#xA;&lt;li&gt;Do I remove the identifier first &lt;code&gt;client.RemoveContactIdentifier(&quot;mySource&quot;, ...)&lt;/code&gt; and then call &lt;code&gt;client.AddContactIdentifier(&quot;mySource&quot;, ...)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="483" LastActivityDate="2019-04-11T11:44:40.990" Title="How to update an xConnect contact identifier" Tags="|xconnect|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18032" PostTypeId="2" ParentId="18031" CreationDate="2019-04-10T16:29:06.453" Score="-1" Body="&lt;p&gt;to update a contact you don't need to remove the contact indentifier, just check if the contact already exists and update the facet or create a new one if doesn't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the example bellow taken from &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/set-contact-facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public void ExampleSync()&#xA;        {&#xA;            using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    // Retrieve contact&#xA;                    Sitecore.XConnect.Contact existingContact = client.Get&amp;lt;Sitecore.XConnect.Contact&amp;gt;(new IdentifiedContactReference(&quot;twitter&quot;, &quot;myrtlesitecore&quot;), new Sitecore.XConnect.ContactExpandOptions(EmailAddressList.DefaultFacetKey));&#xA;&#xA;                    if (existingContact != null)&#xA;                    {&#xA;                        // Retrieve facet by name&#xA;                        var facet = existingContact.GetFacet&amp;lt;EmailAddressList&amp;gt;(EmailAddressList.DefaultFacetKey);&#xA;&#xA;                        if (facet != null)&#xA;                        {&#xA;                            // Change facet properties&#xA;                            facet.PreferredEmail = new EmailAddress(&quot;myrtle@test.test&quot;, true);&#xA;                            facet.PreferredKey = &quot;Work&quot;;&#xA;&#xA;                            // Set the updated facet&#xA;                            client.SetFacet(existingContact, EmailAddressList.DefaultFacetKey, facet);&#xA;                        }&#xA;                        else&#xA;                        {&#xA;                            // Facet is new&#xA;                            EmailAddressList emails = new EmailAddressList(new EmailAddress(&quot;myrtle@test.test&quot;, true), &quot;Work&quot;);&#xA;&#xA;                            client.SetFacet&amp;lt;EmailAddressList&amp;gt;(existingContact, EmailAddressList.DefaultFacetKey, emails);&#xA;                        }&#xA;&#xA;                        client.Submit();&#xA;                    }&#xA;&#xA;                }&#xA;                catch (XdbExecutionException ex)&#xA;                {&#xA;                    // Handle exception&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5374" LastActivityDate="2019-04-10T16:29:06.453" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18033" PostTypeId="2" ParentId="17904" CreationDate="2019-04-10T17:23:56.287" Score="0" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;i am not able to edit any items. And get below warning message on top of every item -&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This happens because by default the created roles do not define any Language Read/Write permissions. It's up to you to decide which languages should be available to these roles. Please set the Language Read/Write access permissions for your roles on the corresponding language items under /sitecore/system/Languages.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Also i got below errors while setting up security role Error at tenant level &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;it looks like some items expected by the script were missing under /sitecore/Forms item. However , there seems to be no problem with the role creation &lt;/p&gt;&#xA;" OwnerUserId="3355" LastActivityDate="2019-04-10T17:23:56.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18034" PostTypeId="1" CreationDate="2019-04-10T17:30:26.363" Score="2" ViewCount="540" Body="&lt;p&gt;After I updated vs2017 to the latest version this morning and uninstalled vs2019 Enterprise Preview (v16.0) and installed vs2019 Enterprise (v16.1), and installed the latest Windows updates all .NET Core 2.0.0 website no longer starting.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Complaining about web.config file:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;location path=&amp;quot;.&amp;quot; inheritInChildApplications=&amp;quot;false&amp;quot;&amp;gt;&#xA;    &amp;lt;system.webServer&amp;gt;&#xA;      &amp;lt;handlers&amp;gt;&#xA;        &amp;lt;add name=&amp;quot;aspNetCore&amp;quot; path=&amp;quot;*&amp;quot; verb=&amp;quot;*&amp;quot; modules=&amp;quot;AspNetCoreModule&amp;quot; resourceType=&amp;quot;Unspecified&amp;quot; /&amp;gt;&#xA;      &amp;lt;/handlers&amp;gt;&#xA;      &amp;lt;aspNetCore processPath=&amp;quot;dotnet&amp;quot; arguments=&amp;quot;.\Sitecore.IdentityServer.Host.dll&amp;quot; stdoutLogEnabled=&amp;quot;false&amp;quot; stdoutLogFile=&amp;quot;.\logs\stdout&amp;quot; /&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;  &amp;lt;/location&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&amp;lt;!--ProjectGuid: 411a84e3-bdaa-45d8-89a2-b47670e591eb--&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Specifically regarding this element:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;System.Runtime.InteropServices.COMException (0x80004005): Line number: 10 Error: The configuration section 'system.webServer/aspNetCore' cannot be read because it is missing section definition&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5375" LastEditorUserId="4817" LastEditDate="2021-08-28T05:49:37.710" LastActivityDate="2024-02-19T20:07:20.960" Title=".NET Core IIS websites stopped working HTTP Error 500.19 - Internal Server Error" Tags="|sitecore-commerce|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18035" PostTypeId="1" AcceptedAnswerId="18040" CreationDate="2019-04-10T17:50:05.010" Score="0" ViewCount="336" Body="&lt;p&gt;We are using Sitecore 9.0.2 with SXA 1.8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a product detail page with a 'Register Interest' link. On click, it should open a form to fill user details which can be pre-populated if logged in. On submit of the form, the system should send an email to an internal group with the product details and the user information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I achieve this functionality OOTB? If yes, how do I pass the product information to the form from the product details page? &#xA;Or should I build this functionality as a custom MVC form? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to achieve this functionality?&lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="237" LastEditDate="2019-04-10T21:55:16.063" LastActivityDate="2019-04-10T22:03:29.807" Title="Pre-populate referrer details in Sitecore Forms" Tags="|sxa|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18036" PostTypeId="2" ParentId="18034" CreationDate="2019-04-10T18:53:11.607" Score="0" Body="&lt;p&gt;I uninstalled all .NET Frameworks and installed - it fixed the problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Runtime 2.2.4: &lt;a href=&quot;https://dotnet.microsoft.com/download/dotnet-core/2.2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dotnet.microsoft.com/download/dotnet-core/2.2&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ASP.NET Core/.NET Core: Runtime &amp;amp; Hosting Bundle&lt;/p&gt;&#xA;" OwnerUserId="5375" LastActivityDate="2019-04-10T18:53:11.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18037" PostTypeId="1" AcceptedAnswerId="18065" CreationDate="2019-04-10T19:27:29.517" Score="2" ViewCount="4630" Body="&lt;p&gt;We have a local Sitecore 9.0.2 installation that is relatively vanilla. It is currently failing to load the Configuration Manager because of the following error message.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application. Unable to activate type&#xA;  'Sitecore.Marketing.xMgmt.Observers.Activation.PublishItemObserver`1[Sitecore.Marketing.Definitions.Campaigns.ICampaignActivityDefinition]'.&#xA;  The following constructors are ambigious: Void&#xA;  .ctor(Sitecore.Marketing.xMgmt.Observers.IPublishTargetResolver,&#xA;  Sitecore.Marketing.IItemRepositoriesSettings) Void&#xA;  .ctor(Sitecore.Marketing.xMgmt.Observers.IPublishTargetResolver,&#xA;  Sitecore.Data.Database) Description: An unhandled exception occurred&#xA;  during the execution of the current web request. Please review the&#xA;  stack trace for more information about the error and where it&#xA;  originated in the code. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception Details: System.InvalidOperationException: Unable to&#xA;  activate type&#xA;  'Sitecore.Marketing.xMgmt.Observers.Activation.PublishItemObserver`1[Sitecore.Marketing.Definitions.Campaigns.ICampaignActivityDefinition]'.&#xA;  The following constructors are ambigious: Void&#xA;  .ctor(Sitecore.Marketing.xMgmt.Observers.IPublishTargetResolver,&#xA;  Sitecore.Marketing.IItemRepositoriesSettings) Void&#xA;  .ctor(Sitecore.Marketing.xMgmt.Observers.IPublishTargetResolver,&#xA;  Sitecore.Data.Database)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This error goes away when we disable EXM in the Web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More specifically, this error goes away if we comment out the Event Handlers loaded in the &lt;code&gt;Sitecore.EmailExperience.ContentManagement.config&lt;/code&gt; listed here.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;events&amp;gt;&#xA;  &amp;lt;event name=&quot;item:added&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Modules.EmailCampaign.Core.ItemEventHandler, Sitecore.EmailCampaign&quot; method=&quot;OnItemAdded&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;&#xA;  &amp;lt;event name=&quot;item:copied&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Modules.EmailCampaign.Core.ItemEventHandler, Sitecore.EmailCampaign&quot; method=&quot;OnMessageCopied&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;&#xA;  &amp;lt;event name=&quot;item:created&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Modules.EmailCampaign.Core.RootItemEventHandler, Sitecore.EmailCampaign&quot; method=&quot;OnRootCreated&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;&#xA;  &amp;lt;event name=&quot;item:deleted&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Modules.EmailCampaign.Core.RootItemEventHandler, Sitecore.EmailCampaign&quot; method=&quot;OnRootDeleted&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;handler type=&quot;Sitecore.Modules.EmailCampaign.Core.ItemEventHandler, Sitecore.EmailCampaign&quot; method=&quot;OnItemDeleted&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/event&amp;gt;&#xA;&#xA;  &amp;lt;event name=&quot;subscriber:assigned&quot; /&amp;gt;&#xA;&amp;lt;/events&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;EDIT: This is happening in all environments now, so no longer environmental. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Obviously, the fix isn't to keep EXM disabled or to comment out these event handlers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have an answer as to how to solve ambiguous constructor issues, like this one above?&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-04-11T17:27:55.713" LastActivityDate="2019-05-11T19:00:55.167" Title="How to solve ambiguous constructors when trying to start Sitecore" Tags="|configuration|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18039" PostTypeId="1" CreationDate="2019-04-10T21:08:39.557" Score="0" ViewCount="203" Body="&lt;p&gt;Good day,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a issue when my page is loading. The normal behaviour is that all javascripts files are loaded in the request url: &lt;a href=&quot;http://example.com/Coveo/Hive/js/Searchbox.min.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://example.com/Coveo/Hive/js/Searchbox.min.js&lt;/a&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But sometimes the javascript load in the request url: &lt;a href=&quot;http://example.com/Searchbox.min.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://example.com/Searchbox.min.js&lt;/a&gt; , so here i have the issue because that resource in the path doesn´t exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don´t find a solution, does anyone know about this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="5182" LastEditorUserId="5182" LastEditDate="2019-04-10T21:20:32.397" LastActivityDate="2019-05-11T16:00:52.637" Title="Issue with relative path" Tags="|coveo|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18040" PostTypeId="2" ParentId="18035" CreationDate="2019-04-10T21:40:33.013" Score="1" Body="&lt;p&gt;No and no. You will not be able to do this with ootb Forms. But you also do not need to build the whole form custom.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you need is Forms with a few customizations..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all you'll need a solution for the &lt;strong&gt;mails&lt;/strong&gt;. You can check the &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;Forms Extensions&lt;/a&gt; from my colleague Bart for that. That has a submit action that can send emails with the form data (to a fixed address if needed). It also includes some options to &lt;strong&gt;pre-populate&lt;/strong&gt; fields (although you might want to use the 9.1 version for that).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly you'll need to be able to pass the data. Therefor I would create a &lt;strong&gt;custom field&lt;/strong&gt;. There is &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-form-element.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;official documentation&lt;/a&gt; on this subject, and you could also check the code in the above mentioned forms extensions as those also have custom fields (e.g. hidden field). This custom field should read the necessary data (might use the querystring for that - add the product id as a query parameter to the link from your product page) and put that in the field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The field can be a hidden input field if you don't want to show any output or you could also display product information on the form as it doesn't even have to be an input field (that's what I would do). Once you put that field on the form, the data is added to the form and will be saved and available in the email data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ProductModel : InputViewModel&amp;lt;string&amp;gt;, IBindingSettings&#xA;{&#xA;    public ProductModel()&#xA;    {&#xA;        ...&#xA;    }&#xA;&#xA;    public string ProductTitle { get; set; }&#xA;    public string ProductId { get; set; }&#xA;&#xA;    public override string Value =&amp;gt; $&quot;{ProductId} - {ProductTitle}&quot;;&#xA;&#xA;    protected override void InitItemProperties(Item item)&#xA;    {&#xA;        base.InitItemProperties(item);&#xA;        this.InitBindingSettingsProperties(item);&#xA;        if (Guid.TryParse(WebUtil.GetSafeQueryString(&quot;product&quot;), out Guid productId))&#xA;        {&#xA;            var product = ...;  // get product with the id&#xA;            if (product != null)&#xA;            {&#xA;                ProductTitle = ...;&#xA;                ProductId = productId;&#xA;                ...&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    protected override void UpdateItemFields(Item item)&#xA;    {&#xA;        base.UpdateItemFields(item);&#xA;        this.UpdateBindingSettingsFields(item);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the view for the field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Feature.FormsExtensions.Views&#xA;@using Sitecore.Mvc&#xA;@model ProductModel&#xA;&#xA;@if (Html.Sitecore().IsExperienceFormsEditMode())&#xA;{&#xA;    &amp;lt;h3 class=&quot;form-title&quot;&amp;gt;&#xA;        &amp;lt;div&amp;gt;&#xA;            Product: @Model.ProductTitle&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/h3&amp;gt;&#xA;}&#xA;else&#xA;{&#xA;    &amp;lt;h3 class=&quot;form-title&quot;&amp;gt;&#xA;        &amp;lt;div&amp;gt;&#xA;            Product:&#xA;            &amp;lt;span class=&quot;small&quot;&amp;gt;&#xA;                @Model.Product&#xA;            &amp;lt;/span&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;        ...&#xA;    &amp;lt;/h3&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that this is just example code.. might have typo's and such ;)&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-04-10T22:03:29.807" LastActivityDate="2019-04-10T22:03:29.807" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18044" PostTypeId="2" ParentId="16015" CreationDate="2019-04-11T05:53:36.080" Score="1" Body="&lt;p&gt;Turns out this is a bug in SXA 1.8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Accelerator/18/Sitecore%20Experience%20Accelerator%20181/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Accelerator/18/Sitecore%20Experience%20Accelerator%20181/Release%20Notes&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DhWlI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DhWlI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is fixed in Sitecore 9.1.1 and SXA 1.8.1.&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-04-11T05:53:36.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18045" PostTypeId="2" ParentId="18031" CreationDate="2019-04-11T07:28:04.043" Score="2" Body="&lt;p&gt;As mentioned in the &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/add-identifiers.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;, &quot;Existing contact identifiers cannot be updated&quot;, which means that contact identifiers are immutable objects. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your question, you have basically listed out the 2 possible option to take &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add additional identifier&lt;/li&gt;&#xA;&lt;li&gt;Replace identifier (In reality, you would need to remove and then add the identifier since identifiers are immutable)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So, this is really a matter of what suits your use case better. If old identifier is no longer useful, then option 2 probably suit you better. &lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-04-11T07:28:04.043" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18046" PostTypeId="1" CreationDate="2019-04-11T08:23:08.080" Score="0" ViewCount="351" Body="&lt;p&gt;I have a scenario in which LinkManager returns the URL with /sitecore/content/home/myitem. Here my domain is www.abc.com and I want to access this item as www.abc.com/myitem instead of www.abc.com/sitecore/content/home/myitem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how I am calling the item's URL using LinkManager:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model FooterMenu&#xA;@{&#xA;    var myitem= @Sitecore.Links.LinkManager.GetItemUrl(Sitecore.Context.Database.GetItem(&quot;{E29E4145-4754-4D45-B095-C490D93C9896}&quot;));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="237" LastEditDate="2019-04-11T08:27:45.617" LastActivityDate="2019-04-11T08:27:45.617" Title="How to remove /sitecore/content/home from a URL using LinkManager?" Tags="|link-manager|" AnswerCount="0" CommentCount="5" ClosedDate="2019-04-11T18:44:24.177" ContentLicense="CC BY-SA 4.0" />
  <row Id="18047" PostTypeId="1" AcceptedAnswerId="18049" CreationDate="2019-04-11T10:08:51.647" Score="6" ViewCount="137" Body="&lt;p&gt;What's the difference between current visit and contact in the Sitecore rule engine? From the description, it sounds like &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Current visit is based on the current user session's interaction&lt;/li&gt;&#xA;&lt;li&gt;Current contact is based on the contact's lifetime interaction&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is this understanding correct?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/baLni.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/baLni.png&quot; alt=&quot;Rules Engine&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-04-11T10:56:39.563" Title="Difference between current visit and contact" Tags="|rules-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18048" PostTypeId="1" CreationDate="2019-04-11T10:35:49.710" Score="0" ViewCount="42" Body="&lt;p&gt;I used Sitecore 9.1 and SXA 1.8, I created variant and inserted new template when i added Arabic version for template.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/fFyhn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fFyhn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I see that template does not read Arabic version and read English version only. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/vL6Fb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vL6Fb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any idea what the reason of this issue ??&lt;/p&gt;&#xA;" OwnerUserId="3899" LastActivityDate="2019-04-11T10:35:49.710" Title="Template in variant does not read Arabic version" Tags="|sxa|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18049" PostTypeId="2" ParentId="18047" CreationDate="2019-04-11T10:56:39.563" Score="6" Body="&lt;p&gt;You're right.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Current **visit**&lt;/code&gt; is for the current interaction. Whatever happened during your current visit will be used to find the best matching pattern.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Current **contact**&lt;/code&gt; is for the overall values gathered in all the contact interactions. From what I remember (but DO double check it) current visit values are not included when calculating this one.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-04-11T10:56:39.563" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18050" PostTypeId="1" AcceptedAnswerId="18053" CreationDate="2019-04-11T10:57:07.437" Score="0" ViewCount="594" Body="&lt;p&gt;I've a multisite solution with de-de, es-es, de-ch, en ... languages I am using currently the default en language for my uk english site. I don't know if this is a good Idea?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And my current problem is here at the moment that I've disabled language writing by default and I've created a dedicated Role for Each Language to get write access like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Lang DE&#xA;Lang FR&#xA;Lang EN&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for FR and DE it was no Problem to set the Language write rights but the EN Language is Protected to set here individual write Rights. Do you use the default en Language in your pages or do you create an expliciet language for each portal also for en?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-04-11T17:08:52.193" Title="Sitecore multilange portal and en &quot;default&quot; Language" Tags="|multilingual|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18051" PostTypeId="2" ParentId="18031" CreationDate="2019-04-11T11:44:40.990" Score="1" Body="&lt;p&gt;As @Fredric mentioned you can do it by removing and adding the same contact identifier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example from working solution when we need to mark сontact identifier as 'Known' programmatically: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var identifier = &quot;[some client identifier]&quot;;&#xA;&#xA;     var reference = new IdentifiedContactReference(Constants.XConnect.IdentificationSource, identifier);&#xA;     var contact = await xdbContext.GetContactAsync(reference, new ContactExpandOptions(&#xA;         PersonalInformation.DefaultFacetKey,&#xA;         EmailAddressList.DefaultFacetKey&#xA;     ));&#xA;&#xA;...&#xA;&#xA;if (!contact.IsKnown)&#xA;{&#xA;         var identifierToRemove = contact.Identifiers.FirstOrDefault(x =&amp;gt; x.Source == Constants.XConnect.IdentificationSource);&#xA;         if (identifierToRemove != null)&#xA;         {&#xA;             var newIdentifier = new ContactIdentifier(Constants.XConnect.IdentificationSource, identifier, ContactIdentifierType.Known);&#xA;             xdbContext.RemoveContactIdentifier(contact, identifierToRemove);&#xA;             xdbContext.AddContactIdentifier(contact, newIdentifier);&#xA;         }&#xA;}&#xA;&#xA;...&#xA;&#xA;await xdbContext.SubmitAsync(cancellationToken);&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-04-11T11:44:40.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18053" PostTypeId="2" ParentId="18050" CreationDate="2019-04-11T13:47:20.510" Score="0" Body="&lt;p&gt;It really depends on your decision. &#xA;Personally, In case of a multilingual site, instead of using &quot;en&quot; language, we create the proper language for each site. e.g en-gb for UK, en-us for US. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore uses 'en' language for system settings related items.&lt;/p&gt;&#xA;" OwnerUserId="4816" LastActivityDate="2019-04-11T13:47:20.510" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18054" PostTypeId="1" AcceptedAnswerId="18071" CreationDate="2019-04-11T13:50:16.293" Score="1" ViewCount="296" Body="&lt;p&gt;I am trying to minimum requirements for enabling styling and behavior editing on a SXA component (using SXA 1.8).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the moment I have a &lt;code&gt;Controller&lt;/code&gt; that inherits from &lt;code&gt;Sitecore.XA.Foundation.Mvc.Controllers.StandardController&lt;/code&gt; and a MVC View with the following CSS classes:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;component content col12&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;        ...&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NB. in production I of course want to use the Razor functions to add the CSS classes, but having same like this makes it for now more explicit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With my current setup I do not see the &quot;Edit style and behavior&quot; button appearing the Experience Editor. What do I miss?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-04-12T06:50:49.480" Title="What enables the SXA style and behavior editing of a component?" Tags="|sxa|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18055" PostTypeId="2" ParentId="17811" CreationDate="2019-04-11T14:58:23.957" Score="3" Body="&lt;p&gt;No one is going to like this answer, but Sitecore resolved it by disabling FXM site manager. In the file &#xA; &lt;code&gt;App_Config\Sitecore\FederatedExperienceManager\Sitecore.FXM.config&lt;/code&gt; they removed the section below. It would seem that the FXM site manager was loading slowly and when the normal site manager would fire up it would dead lock on FXM. Randomly it would not and the site would run fine until the next app pool reset came along where it would start all over again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No FXM for me.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;siteManager&amp;gt;&#xA;  &amp;lt;providers&amp;gt;&#xA;    &amp;lt;add name=&quot;sitecore&quot; type=&quot;Sitecore.Sites.SitecoreSiteProvider, Sitecore.Kernel&quot; checkSecurity=&quot;false&quot;&amp;gt;&#xA;      &amp;lt;providers hint=&quot;raw:AddProviderReference&quot;&amp;gt;&#xA;        &amp;lt;reference patch:after=&quot;reference[@name='config']&quot; name=&quot;fxm&quot; /&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;    &amp;lt;/add&amp;gt;&#xA;    &amp;lt;!-- FXM SiteProvider to ensure all components in Sitecore are given external sites in the list of currently configured sites, &#xA;         used mainly for analytics reporting.--&amp;gt;&#xA;    &amp;lt;add patch:after=&quot;add[@name='config']&quot; name=&quot;fxm&quot; type=&quot;Sitecore.FXM.Sites.FxmSiteProvider, Sitecore.FXM&quot; checkSecurity=&quot;false&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/siteManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-04-11T14:58:23.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18056" PostTypeId="1" AcceptedAnswerId="18057" CreationDate="2019-04-11T15:14:10.840" Score="2" ViewCount="156" Body="&lt;p&gt;Does SXA support consuming an RSS feed or JSON, style it and the render it on the website. I see components to generate RSS but not to consume it.&lt;/p&gt;&#xA;" OwnerUserId="5380" LastEditorUserId="73" LastEditDate="2019-04-11T20:17:15.473" LastActivityDate="2019-04-11T20:17:15.473" Title="Consume RSS and JSON" Tags="|sxa|rss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18057" PostTypeId="2" ParentId="18056" CreationDate="2019-04-11T15:20:57.823" Score="1" Body="&lt;p&gt;I don't think this is possible just ootb, but can be done pretty easily with a bit of custom code and rendering variants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use external data in the variants if it is available in your model. You can read about this on my blog: &lt;a href=&quot;https://ggullentops.blogspot.com/2019/03/external-model-data-SXA-variant-Sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2019/03/external-model-data-SXA-variant-Sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you should do is create a &lt;a href=&quot;https://ggullentops.blogspot.com/2017/03/variants-sxa-sitecore-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;custom component that can handle rendering variants&lt;/a&gt;. In that component you can add properties (can be as many as you want, can also include complex types if needed). Those properties will be available in your rendering variants - you can add those with the &quot;&lt;strong&gt;Model&lt;/strong&gt;&quot; variant. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you can write the custom component that reads the rss or json data and puts that data in properties, you can use variants to display all that data - making it very flexible to determine what data you want to show (and how). &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-11T15:20:57.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18058" PostTypeId="2" ParentId="18039" CreationDate="2019-04-11T15:43:48.903" Score="1" Body="&lt;p&gt;This issue related to lazy loading, and the way the Coveo JavaScript Search Framework detects what is the path to use to lazy load its components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue was fixed in &lt;code&gt;4.1.414&lt;/code&gt; by adding &lt;code&gt;class=&quot;coveo-script&quot;&lt;/code&gt; directly on the script that loads the Coveo JavaScript Search Framework.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Views/Coveo Hive/Resources/Coveo Search Resources.cshtml&lt;/code&gt; file, the line &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot; src='@(Html.Coveo().IsEditingInPageEditor() ? Model.Properties.CoveoSearchUiPath + &quot;/js/CoveoJsSearch.Lazy.js&quot; : Model.Properties.CoveoSearchUiPath + &quot;/js/CoveoJsSearch.Lazy.min.js&quot;)'&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;should now read:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;script class=&quot;coveo-script&quot; type=&quot;text/javascript&quot; src='@(Html.Coveo().IsEditingInPageEditor() ? Model.Properties.CoveoSearchUiPath + &quot;/js/CoveoJsSearch.Lazy.js&quot; : Model.Properties.CoveoSearchUiPath + &quot;/js/CoveoJsSearch.Lazy.min.js&quot;)'&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Adding this tag will make it so the lazy loading path is properly detected, and will properly load the components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would recommend upgrading to at least &lt;code&gt;4.1.414&lt;/code&gt; since it contains the fix that you need.&lt;/p&gt;&#xA;" OwnerUserId="290" LastActivityDate="2019-04-11T15:43:48.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18060" PostTypeId="2" ParentId="18054" CreationDate="2019-04-11T16:48:18.447" Score="0" Body="&lt;p&gt;In your controller rendering you have a field called &lt;strong&gt;Parameters Template&lt;/strong&gt;, in there point to the template &quot;/sitecore/templates/Foundation/Experience Accelerator/Presentation/Rendering Parameters/IStyling&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: If you have this field filled with a template of you own just inherit your template from IStyling template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now your rendering should have &quot;Edit style and behavior&quot;.&lt;/p&gt;&#xA;" OwnerUserId="5374" LastActivityDate="2019-04-11T16:48:18.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18062" PostTypeId="2" ParentId="18050" CreationDate="2019-04-11T17:08:52.193" Score="0" Body="&lt;p&gt;By default &quot;en&quot; language item is protected and it is used/configured in all the Sitecore default sites like shell, login, modules-shell and modules-website.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;shell&quot; language=&quot;en&quot; contentLanguage=&quot;en&quot; .../&amp;gt;&#xA;&amp;lt;site name=&quot;login&quot; language=&quot;en&quot; .../&amp;gt;&#xA;&amp;lt;site name=&quot;modules_shell&quot; language=&quot;en&quot; .../&amp;gt;&#xA;&amp;lt;site name=&quot;modules_website&quot; language=&quot;en&quot; .../&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So when you unprotect and set Language write rights to a specific role then you are actually overwriting the Sitecore's inbuilt security. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For ex. If you create a Sitecore user with &quot;Sitecore Developer&quot; role then the default behavior is the user could able to edit the templates and items under system etc. But when you overwrite the security at &quot;en&quot; language item by enabling the language write only to a specific new role and restrict for &quot;sitecore\Everyone&quot; then all the Sitecore inbuilt security will be messed up. The Sitecore Developer user could not able to edit the templates. This is just a sample and there may be many scenarios where you will be overwriting the Sitecore inbuilt security/setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you are having any custom changes on top of &quot;en&quot; language item then I would suggest creating a new language like en-GB or en-US or anything relevant to your requirement and leave the default &quot;en&quot; item without any change. &lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-04-11T17:08:52.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18063" PostTypeId="1" CreationDate="2019-04-11T17:26:49.173" Score="2" ViewCount="202" Body="&lt;p&gt;I was following the official documentation on the subject here &lt;a href=&quot;https://doc.sitecore.com/developers/sat/20/sitecore-azure-toolkit/en/web-deploy-packages-for-a-module.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sat/20/sitecore-azure-toolkit/en/web-deploy-packages-for-a-module.html&lt;/a&gt; and realized that &lt;strong&gt;it looks like we can't add Sitecore Items to the generated WDP package&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something or it's really that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you guys know how to create a WDP package with items on it?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="272" LastEditDate="2019-11-06T08:17:42.077" LastActivityDate="2019-11-06T08:17:42.077" Title="How to create a Sitecore Module WDP packge **WITH** Sitecore items?" Tags="|azure|powershell-extensions|packages|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18064" PostTypeId="2" ParentId="17934" CreationDate="2019-04-11T18:48:35.830" Score="0" Body="&lt;p&gt;I have found the following Sitecore support response on December 27th, 2018:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Issue definition:&lt;/strong&gt; If we are hosting our databases in Azure, should we be using Sitecore.Data.DataProviders.TransientRetryer declaration?&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;There are no specific recommendations on this from Sitecore side. I&#xA;  have raised a request to our Product Department and Documentation team&#xA;  so they will consider adding documentation on the matter. The request&#xA;  is to add documentation on the Sitecore TransientRetryer and available&#xA;  policies as well as clarify if there are any specific recommendations&#xA;  from Sitecore while hosting databases on Azure.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;You can consider utilizing Sitecore TransientRetryer according to the&#xA;  general practices. Sitecore TransientRetryer utilizes&#xA;  Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Also, I have found the following pieces of information in the Sitecore.config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- RETRYER&#xA;       When enabled, the Retryer resends failed database requests a specified number of times.&#xA;       For example, this is useful if you configure a Sitecore instance to support hot failover for database calls.&#xA;       Default value: disabled=&quot;true&quot;&#xA;       Example transient retryer:&#xA;       &amp;lt;retryer disabled=&quot;false&quot; type=&quot;Sitecore.Data.DataProviders.TransientRetryer, Sitecore.Kernel&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;Log each exception (should be used for debug only)&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/retryer&amp;gt;&#xA;  --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And in the Web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;section name=&quot;RetryPolicyConfiguration&quot; type=&quot;Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Configuration.RetryPolicyConfigurationSettings, Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; requirePermission=&quot;true&quot; /&amp;gt;&#xA;&#xA;&amp;lt;RetryPolicyConfiguration defaultRetryStrategy=&quot;Fixed Interval Retry Strategy&quot; defaultSqlConnectionRetryStrategy=&quot;Incremental Retry Strategy&quot;&amp;gt;&#xA;  &amp;lt;incremental name=&quot;Incremental Retry Strategy&quot; retryIncrement=&quot;00:00:01&quot; initialInterval=&quot;00:00:01&quot; maxRetryCount=&quot;10&quot; /&amp;gt;&#xA;  &amp;lt;fixedInterval name=&quot;Fixed Interval Retry Strategy&quot; retryInterval=&quot;00:00:01&quot; maxRetryCount=&quot;10&quot; /&amp;gt;&#xA;  &amp;lt;exponentialBackoff name=&quot;Backoff Retry Strategy&quot; minBackoff=&quot;00:00:01&quot; maxBackoff=&quot;00:00:30&quot; deltaBackoff=&quot;00:00:10&quot; maxRetryCount=&quot;6&quot; firstFastRetry=&quot;false&quot;/&amp;gt;&#xA;&amp;lt;/RetryPolicyConfiguration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1869" LastActivityDate="2019-04-11T18:48:35.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18065" PostTypeId="2" ParentId="18037" CreationDate="2019-04-11T18:50:42.873" Score="1" Body="&lt;p&gt;This has been solved.  The root issue was a Dependency Configuration that was trying to load some scoped items into the Container that essentially caused a &lt;code&gt;null&lt;/code&gt; value to be placed into the container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Turns out, the Sitecore Marketing Definition &lt;code&gt;PublishItemObserver&lt;/code&gt; also inserts a &quot;null&quot; value into the container, causing all sorts of fun issues.  Because there were two items in the container all looking for a &quot;null&quot; value, Dependency Injection was blowing up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason that commenting out the event handlers for EXM &quot;fixed&quot; the issue is that Email Experience Manager seems to be the only module that resolves that particular object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the custom code in question that ended up causing the conflict:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            serviceCollection.AddScoped(p =&amp;gt; Sitecore.Context.Database);&#xA;            serviceCollection.AddScoped(p =&amp;gt;&#xA;            {&#xA;                var personaFolderId = new ID(&quot;{EE66F221-9412-4EE1-BFAA-8918A08CD989}&quot;);&#xA;                return Sitecore.Context.Database.GetItem(personaFolderId).As&amp;lt;IStandardTemplateItem&amp;gt;();&#xA;            });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Because &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; is null, the scoped additions were blowing up the entire container.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know enough about the specifics of Dependency Injection to explain further as to why this caused the issue, but in case anyone else happens upon this issue, verify all of your dependency configurations.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-04-11T18:50:42.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18066" PostTypeId="1" AcceptedAnswerId="18070" CreationDate="2019-04-11T20:40:44.517" Score="0" ViewCount="550" Body="&lt;p&gt;We are implementing a website using JSS in Code First approach. There is a requirement to have two different layouts in the site, &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Layout1 - for all the pre-login pages&lt;/li&gt;&#xA;&lt;li&gt;Layout2 - for all post login pages&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Just wondering on how we can create multiple layouts in code first approach. Is it possible to implement easily, may be with minimal code/customization.? If not I think I can use the single layout or follow the Single page application concept and tweak the display based on some parameters. for ex, &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;if user authenticated show the components which I want to show in&#xA;post login and hide pre-login specific components etc.&lt;/li&gt;&#xA;&lt;li&gt;if user is not authenticated hide the post-login components and show the pre-login specific components&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Any help much appreciated, Thanks.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-04-12T10:57:59.537" Title="Define Multiple Layouts in JSS - Code First" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18070" PostTypeId="2" ParentId="18066" CreationDate="2019-04-12T06:45:43.370" Score="1" Body="&lt;p&gt;Use different placeholders when the allowed components are different.&#xA;In the placeholder settings, you can set for a placeholders the allowed renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are basically two approaches.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) use 2 different Layouts with different placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) 1 Layout, with a placeholder where you can place only your page renderings.&#xA;where the page rendering is just a normal rendering with less html but with 1 or more placeholders.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you have a rendering&#xA;preLogin with placeholder prelogin and a rendering afterlogin with placeholder afterlogin.&#xA;In the placeholders setting from prelogin and afterlogin you define the allowed components, renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course you can have more placeholders like header and footer.&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-04-12T10:57:59.537" LastActivityDate="2019-04-12T10:57:59.537" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18071" PostTypeId="2" ParentId="18054" CreationDate="2019-04-12T06:50:49.480" Score="2" Body="&lt;p&gt;Turned out that the template used as &lt;strong&gt;Parameters Template&lt;/strong&gt; should have the  &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Grid/Rendering Parameters/Grid Parameters&lt;/code&gt; template associated.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-04-12T06:50:49.480" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18072" PostTypeId="1" CreationDate="2019-04-12T06:59:42.533" Score="1" ViewCount="39" Body="&lt;p&gt;We're in the process of standing up the Sitecore CMS 9.1 with &lt;code&gt;Marketing Automation&lt;/code&gt;, and I've been theorising how we might best handle updating and versioning automation flows. We haven't run them to date, so this is a new paradigm for us.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One approach I had considered was:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Creating a duplicate of an active journey to amend&lt;/li&gt;&#xA;&lt;li&gt;Testing changes in a test environment&lt;/li&gt;&#xA;&lt;li&gt;Promoting tested new journey to production&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The issue of switching one journey off and switching on another journey not happening simultaneously seems like it could be problematic to me, though. We'd either be having users not be enrolled in any down time, or potentially double-enroll them if I turn on one before turning on another.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To mitigate risk, I had though of abstracting the Start of the automation to a micro-automation that could act as an independent switch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Initially, it would simply be: If event occurs, move to Automation A&lt;/li&gt;&#xA;&lt;li&gt;Once new journey has been created, update to: If event occurs, move to Automation B&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Am I over thinking this and creating unnecessary complexity?&lt;/p&gt;&#xA;" OwnerUserId="5386" LastEditorUserId="5096" LastEditDate="2019-05-04T15:47:32.280" LastActivityDate="2019-05-04T15:47:32.280" Title="How to handle changes to active automations?" Tags="|marketing-automation|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18075" PostTypeId="2" ParentId="17905" CreationDate="2019-04-12T09:07:24.830" Score="10" Body="&lt;p&gt;This is a known issue in Forms as it uses the default jQuery validation and there are no any localized scripts on custom language translations ootb. The issue is seen on the email validator - as long as jquery thinks it is a bad email, you will see the English text. After that you can see the translated text (the regex from Sitecore is different from the jquery one). There is a &quot;wish&quot; report to add support for the ootb languages and at least add documentation on how to fix this for other languages: &lt;a href=&quot;https://kb.sitecore.net/articles/482062&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/482062&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was told (by Support - thx to them) this should do it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download &lt;a href=&quot;https://github.com/jquery-validation/jquery-validation&quot; rel=&quot;nofollow noreferrer&quot;&gt;jquery-validation source&lt;/a&gt; and extract the zip file&lt;/li&gt;&#xA;&lt;li&gt;Copy the &lt;code&gt;jquery-validation-master\src\localization&lt;/code&gt; folder to the &lt;code&gt;\sitecore modules\Web\ExperienceForms\scripts&lt;/code&gt; folder.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Include the following script below the &lt;code&gt;@RenderBody()&lt;/code&gt; helper in the &lt;code&gt;\Views\Shared\MVCOuterLayout.cshtml&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&#xA;var lang = '@Sitecore.Context.Language.Name';&#xA;var script = document.createElement(&quot;script&quot;);&#xA;if (lang == 'ko-KR')&#xA;{&#xA;    script.src = &quot;/sitecore%20modules/Web/ExperienceForms/scripts/localization/messages_ko.js&quot;;&#xA;    $(&quot;head&quot;).append(script);&#xA;}&#xA;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Find the error message in the &lt;code&gt;\sitecore modules\Web\ExperienceForms\scripts\localization\messages_ko.js&lt;/code&gt; file and translate as desired. Should be something with &lt;code&gt;email: &quot;...&quot;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can also create a &lt;code&gt;messages_&amp;lt;languageCode&amp;gt;.js&lt;/code&gt; file in the &lt;code&gt;\sitecore modules\Web\ExperienceForms\scripts\localization&lt;/code&gt; folder and modify the script logic to handle other language translation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: Just verified this and it does seem to work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to do this in a SXA environment: &lt;a href=&quot;https://ggullentops.blogspot.com/2019/04/sitecore-9-forms-translating-client-error.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2019/04/sitecore-9-forms-translating-client-error.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="2126" LastEditDate="2020-04-16T07:44:20.483" LastActivityDate="2020-04-16T07:44:20.483" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18076" PostTypeId="2" ParentId="17536" CreationDate="2019-04-12T09:12:42.467" Score="0" Body="&lt;p&gt;As per Sitecore Support Team, Publishing of items for the PageList component not supported in the EE and it's expected behavior :&lt;/p&gt;&#xA;&lt;p&gt;This conclusion is based on the following facts:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The items for the Page List components are taken dynamically based on the chosen Source Type (this logic is defined in &lt;code&gt;Sitecore.XA.Foundation.RenderingVariants.Repositories.ListRepository&lt;/code&gt; class).&lt;/li&gt;&#xA;&lt;li&gt;You can change the Source Type any time what change the current output of this component.&lt;/li&gt;&#xA;&lt;li&gt;Moreover, you can choose a custom query which will render any possible item that you choose.&lt;/li&gt;&#xA;&lt;li&gt;There is no actual relation between the Page List components and items which it shows.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Suggestion to make item non-editable by disabling the option.&lt;/p&gt;&#xA;&lt;p&gt;Steps to Disable Edit functionality for Rendering Variant Field:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to your Rendering Variant item.&lt;/li&gt;&#xA;&lt;li&gt;Select particular Field&lt;/li&gt;&#xA;&lt;li&gt;Search &lt;code&gt;Is editable&lt;/code&gt; option (It's present inside the Variant Details).&lt;/li&gt;&#xA;&lt;li&gt;Un-check the &lt;code&gt;Is editable&lt;/code&gt; option. After this open the Partial&lt;/li&gt;&#xA;&lt;li&gt;Design where PageList component and verify it will not allow to edit particular field for which Is editable option un-checked.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3035" LastEditorUserId="6495" LastEditDate="2022-12-23T12:41:17.493" LastActivityDate="2022-12-23T12:41:17.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18078" PostTypeId="1" AcceptedAnswerId="18088" CreationDate="2019-04-12T11:40:32.490" Score="2" ViewCount="2331" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/05LxY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/05LxY.png&quot; alt=&quot;Sitecore 9.1.1 Install Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been able to successfully install Sitecore 9.1 and 9.1.1 previously, for some reason yesterday this error seemed to crop up somehow when attempting a fresh 9.1.1 install and now seemingly nothing I try will fix it. I'm trying to think if there's anything I did at all in the past 2 days that could have caused this, but there's nothing that comes to mind.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's what I have attempted so far based on another solution with a similar problem.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Restart OS&lt;/li&gt;&#xA;&lt;li&gt;Stop &lt;code&gt;Sitecore Marketing Automation Engine&lt;/code&gt; and &lt;code&gt;Sitecore XConnect Search Indexer&lt;/code&gt; services &amp;amp; end any corresponding processes.&lt;/li&gt;&#xA;&lt;li&gt;Manually delete the created users from the following databases &lt;code&gt;_Processing.Pools&lt;/code&gt;; _&lt;code&gt;MarketingAutomation&lt;/code&gt;; &lt;code&gt;_ReferenceData&lt;/code&gt;. Each database has its own user: poolsuser, marketing automation user, referencedatauser (I have been making a new instance name every time anyway, so I don't think this should matter)&lt;/li&gt;&#xA;&lt;li&gt;Checked &lt;code&gt;Solr&lt;/code&gt; SSL was turned on&lt;/li&gt;&#xA;&lt;li&gt;Checked event viewer, I get this &lt;strong&gt;Error:&lt;/strong&gt; &lt;code&gt;The World Wide Web Publishing Service (WWW Service) did not register the URL prefix https://DELETESitecoreTest5.identityserver.local:443/ for site 12. The site has been disabled. The data field contains the error number.&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Closed Skype&lt;/li&gt;&#xA;&lt;li&gt;Re-run the &lt;code&gt;Powershell&lt;/code&gt; installation script&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT: Further information &amp;amp; attempts&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Attempted to run my Sitecore 9.1 installation, this also faces the same issue.&lt;/li&gt;&#xA;&lt;li&gt;Reinstalled Solr 7.2.1&lt;/li&gt;&#xA;&lt;li&gt;Reinstalled Sitecore Install Framework 2.1.0&lt;/li&gt;&#xA;&lt;li&gt;Looking through the Event Viewer, I noticed the error which I have displayed below, the APPID corresponds to the &quot;RunTimeBroker&quot; in Component Services, but I can't seem to change the permissions of it. I think maybe this isn't entirely relevant as there have been no changes to user policy and it worked perfectly before, but I thought it would be worth including here just in case.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/a0rpB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/a0rpB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Ending COM Surrogate processes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Current Issue Status: Fixed - see answer below.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any help is greatly appreciated, thank you!&lt;/p&gt;&#xA;" OwnerUserId="4487" LastEditorUserId="5096" LastEditDate="2019-05-04T15:47:36.580" LastActivityDate="2019-09-09T08:24:54.330" Title="The process cannot access the file because it is being used by another process" Tags="|sitecore-install-framework|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18079" PostTypeId="1" CreationDate="2019-04-12T11:43:38.183" Score="2" ViewCount="75" Body="&lt;p&gt;In order to help diagnose an issue with Web Deploy and Sitecore Installation Framework (SIF), I would like to see the actual &lt;code&gt;msdeploy&lt;/code&gt; command being executed by the &lt;code&gt;WebDeploy&lt;/code&gt; SIF Task, including the parameters used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to see/output this?&lt;/p&gt;&#xA;" OwnerDisplayName="user1704" LastActivityDate="2019-04-26T09:32:19.910" Title="Show actual command being executed by Sitecore Installation Framework" Tags="|sitecore-install-framework|web-deploy|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18080" PostTypeId="5" CreationDate="2019-04-12T11:45:26.263" Score="0" Body="" OwnerUserId="-1" LastEditorUserId="-1" LastEditDate="2019-04-12T11:45:26.263" LastActivityDate="2019-04-12T11:45:26.263" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18081" PostTypeId="4" CreationDate="2019-04-12T11:45:26.263" Score="0" Body="Web Deploy (msdeploy) simplifies deployment of web applications and web sites to IIS servers. It is used by the Sitecore Installation Framework (SIF)." OwnerDisplayName="user1704" LastEditorDisplayName="user1704" LastEditDate="2019-04-12T18:41:34.137" LastActivityDate="2019-04-12T18:41:34.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18082" PostTypeId="1" CreationDate="2019-04-12T13:08:01.063" Score="1" ViewCount="47" Body="&lt;p&gt;&lt;strong&gt;Environment&lt;/strong&gt;: Sitecore 9.0.2 XP0 + SXA 1.8.0 + Azure search&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have done&lt;/strong&gt;: My data is indexed in the index of &lt;code&gt;Azure Search&lt;/code&gt;. I have added the &lt;code&gt;search box&lt;/code&gt; and &lt;code&gt;search result&lt;/code&gt; with &lt;code&gt;custom scope&lt;/code&gt; 'locationSearch' on both the search box and the search result renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a rendering for the &lt;code&gt;search result&lt;/code&gt; to display the field values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried using the word 'test' and the values are getting listed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I tried the word 'Canada' and I got the message configured for no result on my portal. When I copied the query from the log file and tried it in the &lt;code&gt;azure search&lt;/code&gt; console, I received 2 items in response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The items received in response has the fields mapped in the renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Query in the log file&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&amp;amp;search=(language_1:(en) AND&#xA;  sxacontent:(/.&lt;em&gt;canada.&lt;/em&gt;/))&amp;amp;$filter=(latestversion_1 and&#xA;  (path_1/any(t:t eq '89395d52f7e84c37b5d6d027f1815bc5')) and&#xA;  searchable)&amp;amp;queryType=full&amp;amp;$skip=0&amp;amp;$top=20&amp;amp;$count=true&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My question&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Why there is this difference in response on my site and azure&#xA;portal. &lt;/li&gt;&#xA;&lt;li&gt;What is the impact of scope, if I apply scope on both the&#xA;    renderings 'Search box' and 'Search result'.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit on 16th April&lt;/strong&gt;:&#xA;I added one of the scopes to the page item and saved it. Then I removed the scope and saved it again. After this, I was able to get the results on my portal.&#xA;I will keep on adding, once I get something.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="5096" LastEditDate="2019-05-04T15:47:21.623" LastActivityDate="2019-05-04T15:47:21.623" Title="Response from azure search in portal and on Sitecore UI is different" Tags="|azure-search|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18083" PostTypeId="1" CreationDate="2019-04-12T14:08:01.183" Score="1" ViewCount="723" Body="&lt;p&gt;On SC 9.0.2 we want to map an existing user in sitecore automatically to an external identity provider, but get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[InvalidOperationException: Unable to create a user. Reason: DuplicateUserName]&#xA;   Sitecore.Owin.Authentication.Identity.MembershipUserStore`1.CreateAsync(TUser user) +475&#xA;   Microsoft.AspNet.Identity.&amp;lt;CreateAsync&amp;gt;d__0.MoveNext() +961&#xA;   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;   Sitecore.Owin.Authentication.Services.&amp;lt;ResolveApplicationUserAsync&amp;gt;d__13.MoveNext() +949&#xA;   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;   Sitecore.Owin.Authentication.Identity.&amp;lt;HandleFailureAsync&amp;gt;d__16.MoveNext() +548&#xA;   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;   Sitecore.Owin.Authentication.Pipelines.Initialize.&amp;lt;&amp;lt;HandleExternalLoginCallbackUrl&amp;gt;b__10_1&amp;gt;d.MoveNext() +1341&#xA;   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We override the ExternalUserBuilder:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class CustomExternalUserBuilder : Sitecore.Owin.Authentication.Services.ExternalUserBuilder&#xA;{&#xA;    public bool IsPersistentUser { get; private set; }&#xA;&#xA;    public override ApplicationUser BuildUser(UserManager&amp;lt;ApplicationUser&amp;gt; userManager, ExternalLoginInfo externalLoginInfo)&#xA;    {&#xA;        var userName = $&quot;custom\\{externalLoginInfo.ExternalIdentity.FindFirstValue(&quot;preferred_username&quot;)}&quot;;&#xA;&#xA;        return new ApplicationUser(userName)&#xA;        {&#xA;            IsVirtual = !this.IsPersistentUser&#xA;        };&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the UserAttachResolver:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;public class CustomUserAttachResolver : UserAttachResolver&#xA;{&#xA;    public override UserAttachResolverResult Resolve(UserAttachContext context)&#xA;    {&#xA;        UserManager&amp;lt;ApplicationUser&amp;gt; userManager = context.OwinContext.GetUserManager();&#xA;        var user = userManager.FindByName(context.OwinContext.Request.User.Identity.Name);&#xA;&#xA;        if(user != null)&#xA;        {&#xA;            return new UserAttachResolverResult(UserAttachResolverResultStatus.Attach);&#xA;        }&#xA;&#xA;        return new UserAttachResolverResult(UserAttachResolverResultStatus.New);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But allthough the &lt;code&gt;CustomUserAttachResolver&lt;/code&gt; is added to the serviceConfigurator, it is never called. I tried to remove the existing &lt;code&gt;UserAttachResolver&lt;/code&gt;, but I guess it's too late and that the &lt;code&gt;DefaultApplicationUserResolver&lt;/code&gt; is already instantiated with the existing &lt;code&gt;UserAttachResolver&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2134" LastActivityDate="2019-04-12T14:08:01.183" Title="Automatically attach user to external identity" Tags="|user-management|identity-server|owin|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18084" PostTypeId="1" AcceptedAnswerId="18085" CreationDate="2019-04-12T15:02:45.837" Score="1" ViewCount="563" Body="&lt;p&gt;So I have a glassMapped item with an image. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = TemplateIdConstants.NationalChain, EnforceTemplate = SitecoreEnforceTemplate.Template)]&#xA;public interface IChain : IGlassBase&#xA;{&#xA;    [SitecoreField(&quot;Logo&quot;)]&#xA;    Image Logo { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Witch I then try to set: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (new SecurityDisabler())&#xA;using (var db = new SitecoreContext(Sitecore.Context.Database))&#xA;{&#xA;    var item = db.Create&amp;lt;IChain, IGlassBase&amp;gt;(parent, model.Name);&#xA;    item.Logo = new Image { MediaId = image.ID.ToGuid() };&#xA;    db.Save(item);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This does not work, so I'm looking for the correct way to do this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit, I found one way that works..although I'm not happy with it. I added the following to the interface: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(&quot;Logo&quot;)]&#xA;string LogoString { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I then set the raw value like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.LogoString = &quot;&amp;lt;image mediaid=\&quot;{&quot; + image.ID.ToGuid() + &quot;}\&quot; /&amp;gt;&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there any better way of doing this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following gives a strange result. Image is set while Logo is not set. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = TemplateIdConstants.NationalChain, EnforceTemplate = SitecoreEnforceTemplate.Template)]&#xA;public interface IChain : IGlassBase&#xA;{&#xA;  [SitecoreField(&quot;Logo&quot;)]&#xA;  Image Logo { get; set; }&#xA;  [SitecoreField(&quot;Image&quot;)]&#xA;  Image Image { get; set; }&#xA;}&#xA;  item.Image = new Image { MediaId = image.ID.ToGuid() };&#xA;  item.Logo = new Image { MediaId = image.ID.ToGuid() };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What am I missing?&lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="3039" LastEditDate="2019-04-12T16:54:35.093" LastActivityDate="2019-04-12T16:54:35.093" Title="How do I programmaticaly set an image on glassmapped item" Tags="|glass-mapper|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18085" PostTypeId="2" ParentId="18084" CreationDate="2019-04-12T15:45:43.287" Score="1" Body="&lt;p&gt;Not sure with your GlassMapper version, but anyway check &lt;strong&gt;SecurityDisabler&lt;/strong&gt;, &lt;strong&gt;SitecoreType&lt;/strong&gt; attribute (provide error details to get answer faster).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Working solution with class (instead of interface)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{[your template ID]}&quot;]&#xA;public class ChildItem&#xA;{&#xA;    [SitecoreField(&quot;Image&quot;)]&#xA;    public virtual Image Image { get; set; }&#xA;&#xA;    [SitecoreId]&#xA;    public virtual Guid Id { get; set; }&#xA;&#xA;    [SitecoreInfo(SitecoreInfoType.Url)]&#xA;    public virtual string Url { get; set; }&#xA;&#xA;    [SitecoreInfo(SitecoreInfoType.Name)]&#xA;    public virtual string Name { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Saving:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; using (new SecurityDisabler())&#xA; {&#xA;    using (var service = new SitecoreService(&quot;master&quot;))&#xA;    {&#xA;        var childItem = new ChildItem&#xA;        {&#xA;          Name = &quot;child&quot;;&#xA;          Image = new Image {MediaId = new Guid(&quot;{[your media ID]}&quot;)};&#xA;        };&#xA;        service.Create(parentItem, childItem);&#xA;    }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-04-12T16:02:09.803" LastActivityDate="2019-04-12T16:02:09.803" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="18087" PostTypeId="1" AcceptedAnswerId="18089" CreationDate="2019-04-12T16:09:16.023" Score="3" ViewCount="652" Body="&lt;p&gt;For some reason, when I create new update packages (release build in VS), the update packages are not removing old items. Where I've noticed this specifically is with templates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;&#xA;&lt;strong&gt;&lt;em&gt;Before updates:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;&#xA;Email Form (template) has an &quot;Email Validation&quot; group containing a field called &quot;Banned Domains&quot; which is a csv list of email domains to not accept submissions from and some other fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I decided to move this field to a central setting so that you didn't have to config/update each form separately so...&lt;br&gt;&#xA;&lt;strong&gt;&lt;em&gt;After updates:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;&#xA;Email Form (template) has an &quot;Email Validation&quot; group containing everything but that list of &quot;Banned Domains&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After building using the release config, I take the resulting update package and apply it, but it doesn't remove the &quot;Banned Domains&quot; field from the template on the applied server as I expected. I have to manually remove it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What might I be doing wrong? Is there a config for TDS I need to tweak?&#xA;I'm a newbie with TDS. I inherited it from the company that setup our enviro, so please forgive me if this is a &quot;stupid&quot; question.&lt;/p&gt;&#xA;" OwnerUserId="3761" LastActivityDate="2019-04-16T12:28:04.813" Title="TDS update packages don't remove unneeded items" Tags="|tds|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18088" PostTypeId="2" ParentId="18078" CreationDate="2019-04-12T16:22:36.027" Score="0" Body="&lt;p&gt;So after trying all of the above, I finally tried something that seemed to work (I've since done 3 installations and have restarted without performing any of the &quot;fix&quot; steps and done yet another successful installation. So it's safe to say it is now working, but it's near impossible for me to track down exactly what the issue was here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the final attempt I did the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Restart&lt;/li&gt;&#xA;&lt;li&gt;Ended all Sitecore related processes&lt;/li&gt;&#xA;&lt;li&gt;Ended all COM Surrogate processes&lt;/li&gt;&#xA;&lt;li&gt;Ended all processes that I knew I could close (Skype, Spotify etc)&lt;/li&gt;&#xA;&lt;li&gt;Ended all services relating to any of the above (obviously keeping Solr running)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This seems to have fixed my issue, I'm sorry I couldn't provide more information on exactly what the cause was but hopefully this extensive list of attempts will be of some use to somebody in the future, let me know if you have any further questions.&lt;/p&gt;&#xA;" OwnerUserId="4487" LastActivityDate="2019-04-12T16:22:36.027" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18089" PostTypeId="2" ParentId="18087" CreationDate="2019-04-12T16:26:47.940" Score="4" Body="&lt;p&gt;Update packages do not remove items. Only updates and inserts are performed. If you want to remove items you will need to create a post installation step that would do the work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can learn more about post installation steps here.&#xA;&lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Blog/creating-tds-custom-post-deploy-step&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Blog/creating-tds-custom-post-deploy-step&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-04-12T16:26:47.940" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18090" PostTypeId="1" AcceptedAnswerId="18091" CreationDate="2019-04-12T17:08:44.593" Score="5" ViewCount="2096" Body="&lt;p&gt;I have followed all the steps in the JSS Server Setup guide:&#xA;&lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/jss-server-install&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/jss-server-install&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I have followed all the steps in the &lt;code&gt;Configuring the Sitecore server to receive the JSS app&lt;/code&gt; section of the JSS App Deployment guide:&#xA;&lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/app-deployment&quot; rel=&quot;noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/app-deployment&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I reach the &lt;code&gt;Verification&lt;/code&gt; step of the app deployment guide, I receive a &lt;code&gt;HTTP 400 - Bad Request&lt;/code&gt;. The guide mentions that I should be sure to specify the API key I created in an earlier step. I have confirmed that I've created the API key and that the key/ID is correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why am I still receiving a 400 status code?&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-04-12T17:08:44.593" Title="Sitecore Layout Service is returning 400 Bad Request for JSS requests" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18091" PostTypeId="2" ParentId="18090" CreationDate="2019-04-12T17:08:44.593" Score="7" Body="&lt;p&gt;There are several reasons you may receive a &lt;code&gt;HTTP 400 - Bad Request&lt;/code&gt; response when performing a Layout Service request. Here are a few suggestions to help troubleshoot:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Is your API Key item published? If your site is not using the &lt;code&gt;master&lt;/code&gt; database, the API Key item needs to be published.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Ensure (again) that the API key value matches the API Key item ID in Sitecore. The default API Key resolver uses the API Key item ID as the key value. Alternatively, if you're using a custom API Key resolver, ensure that the value you're providing via the API key querystring parameter matches the value resolved by your custom resolver.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;It is possible to change the API Key parameter name via the following Sitecore setting: &lt;code&gt;Sitecore.Services.ApiKeyParams&lt;/code&gt;. If you have customized that setting, ensure that the API key parameter name matches the value defined in the setting. By default, the value is &lt;code&gt;sc_apikey&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Have you deployed a config file for your JSS app? The config file will have a site definition to ensure that the Layout Service URL you're requesting is resolving to the correct Sitecore site.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Have you provided a value for the &lt;code&gt;item&lt;/code&gt; querystring parameter in your Layout Service request? e.g. &lt;code&gt;/sitecore/api/layout/render/jss?item=/my-item&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Have you provided a named configuration value in your Layout Service request? e.g. &lt;code&gt;jss&lt;/code&gt;, &lt;code&gt;custom&lt;/code&gt; - &lt;code&gt;/sitecore/api/layout/render/jss&lt;/code&gt;, &lt;code&gt;/sitecore/api/layout/render/custom&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;It is possible to provide an API Key for a Layout Service request via querystring parameter (recommended) and/or via HTTP header (the header name is the same as the querystring parameter name). If, for whatever reason, you happen to be providing the API Key via &lt;em&gt;both&lt;/em&gt; querystring parameter and HTTP header for a Layout Service request, ensure that the querystring parameter and header values match. (Also note that it is advised to choose &lt;em&gt;either&lt;/em&gt; querystring or HTTP header as a mechanism for providing the API Key, but not both simultaneously)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If none of the above suggestions resolve your issue, the problem is likely not originating from Layout Service. At that point, you should inspect the Sitecore log for potentially useful troubleshooting information. You may also want to confirm that the &lt;code&gt;400&lt;/code&gt; status code is originating from the Sitecore server and not something on your network that is potentially handling the request.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-04-12T17:08:44.593" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18092" PostTypeId="2" ParentId="18087" CreationDate="2019-04-12T17:52:55.443" Score="0" Body="&lt;p&gt;We have seen this specific issue crop up, but only in the templates section. There is some limitation related to the templates area specifically where Sitecore does not respect the &lt;code&gt;KeepAllChildrenSynchronized&lt;/code&gt; setting when applying changes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resolve this for templates, we had to add a step to our deployment process where we deleted all of our (custom) templates before installing the .update package. The only way we could do this (with so many items using those templates) was using &lt;code&gt;dbbrowser.aspx&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MukGh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MukGh.png&quot; alt=&quot;DB Browser photo&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-12T17:52:55.443" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18094" PostTypeId="1" CreationDate="2019-04-12T18:00:58.533" Score="0" ViewCount="110" Body="&lt;p&gt;Sitecore 9.0.2, DEF 2.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a pipeline that imports data and creates/updates items in a folder. Unfortunately, the data set that will be used is quite large, so we need to add these items to a bucket, instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I change the item container to a bucket, however, it no longer finds existing items, presumably because the &lt;code&gt;InProcItemModelRepository.GetQueryableForSearch()&lt;/code&gt; method looks for direct children, instead of all descendants of the root item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;(decompiled code from &lt;code&gt;Sitecore.DataExchange.Local.dll&lt;/code&gt;):&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// ...&#xA;if (settings.RootItemIds.Any&amp;lt;Guid&amp;gt;())&#xA;{&#xA;    Expression&amp;lt;Func&amp;lt;FullTextSearchResultItem, bool&amp;gt;&amp;gt; expression1 = PredicateBuilder.True&amp;lt;FullTextSearchResultItem&amp;gt;();&#xA;    foreach (Guid rootItemId in settings.RootItemIds)&#xA;    {&#xA;        ID d1 = new ID(rootItemId);&#xA;        expression1 = expression1.Or&amp;lt;FullTextSearchResultItem&amp;gt;((FullTextSearchResultItem i) =&amp;gt; i.Parent == d1);&#xA;    }&#xA;    queryable = queryable.Where&amp;lt;FullTextSearchResultItem&amp;gt;(expression1);&#xA;}&#xA;// ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone know of a way to configure the pipeline step to look for all descendants instead of a child?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-12T18:30:38.697" Title="Data Exchange Framework Resolve Sitecore Item from bucket?" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ClosedDate="2019-04-12T19:56:19.057" ContentLicense="CC BY-SA 4.0" />
  <row Id="18095" PostTypeId="2" ParentId="18094" CreationDate="2019-04-12T18:30:38.697" Score="3" Body="&lt;p&gt;This is a know bug. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore support created a patch for it. &lt;a href=&quot;https://sitecore.box.com/s/d1b9g17oquhbl8hg1tvpyywj0bsytrfi&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.box.com/s/d1b9g17oquhbl8hg1tvpyywj0bsytrfi&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To install it please follow next steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For all Sitecore instances in the solution:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Make a backup of the files mentioned in Contents section and listed in the installation instruction (if any).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Copy the contents of the Website folder from the archive to the Website folder of your Sitecore solution, overwrite existing files if any conflicts occur.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For all your processor step items that use processor type:&#xA;&quot;Sitecore.DataExchange.Providers.Sc.Processors.PipelineSteps.ResolveSitecoreItemStepProcessor, Sitecore.DataExchange.Providers.Sc&quot;&#xA;Change it to the following:&#xA;Sitecore.Support.DataExchange.Providers.Sc.Processors.PipelineSteps.ResolveSitecoreItemStepProcessorSitecore, Sitecore.Support.235033&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;(Optional) Copy the Sitecore.Support.235033-2.0.1.0.zip archive into the $(data)/patches folder permanently.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.235033/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sitecoresupport/Sitecore.Support.235033/releases&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-04-12T18:30:38.697" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18096" PostTypeId="2" ParentId="12377" CreationDate="2019-04-12T20:10:09.740" Score="3" Body="&lt;p&gt;I encountered this issue and ended up creating my own custom step (inheriting from the original) to solve it:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Create a new pipeline step template&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I called it &lt;strong&gt;Resolve Sitecore Item with Bucket Support Pipeline Step&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add the &lt;strong&gt;Resolve Sitecore Item Pipeline Step&lt;/strong&gt; template as a base template&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Path: &lt;code&gt;/sitecore/templates/Data Exchange/Providers/Sitecore/Pipeline Steps/Resolve Sitecore Item Pipeline Step&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;ID: &lt;code&gt;{D44AE29C-D708-4B3F-B04C-99E7F9288720}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Create a custom step processor&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Linq;&#xA;using Sitecore.Buckets.Managers;&#xA;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.SearchTypes;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.DataExchange.Contexts;&#xA;using Sitecore.DataExchange.Local.Extensions;&#xA;using Sitecore.DataExchange.Providers.Sc.DataAccess.Readers;&#xA;using Sitecore.DataExchange.Providers.Sc.Plugins;&#xA;using Sitecore.DataExchange.Providers.Sc.Processors.PipelineSteps;&#xA;using Sitecore.DataExchange.Repositories;&#xA;using Sitecore.Services.Core.Diagnostics;&#xA;using Sitecore.Services.Core.Model;&#xA;&#xA;namespace Custom.Sc.DataExchange.Providers.Sc.PipelineSteps&#xA;{&#xA;    public class ResolveSitecoreItemWithBucketSupportStepProcessor : ResolveSitecoreItemStepProcessor&#xA;    {&#xA;        protected override ItemModel DoSearch(object value, ResolveSitecoreItemSettings resolveItemSettings, IItemModelRepository repository, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            ItemModel result = base.DoSearch(value, resolveItemSettings, repository, pipelineContext, logger);&#xA;            if (result == null)&#xA;            {&#xA;                var valueReader = resolveItemSettings.MatchingFieldValueAccessor?.ValueReader as SitecoreItemFieldReader;&#xA;                if (valueReader == null)&#xA;                {&#xA;                    return null;&#xA;                }&#xA;                Database database = Sitecore.Configuration.Factory.GetDatabase(repository.DatabaseName);&#xA;                Item parentItem = database?.GetItem(ID.Parse(resolveItemSettings.ParentItemIdItem));&#xA;                if (parentItem != null &amp;amp;&amp;amp; BucketManager.IsBucket(parentItem))&#xA;                {&#xA;                    IProviderSearchContext searchContext = ContentSearchManager.GetIndex($&quot;sitecore_{repository.DatabaseName}_index&quot;).CreateSearchContext();&#xA;&#xA;                    string fieldName = valueReader.FieldName;&#xA;                    string convertedValue = this.ConvertValueForSearch(value);&#xA;                    SearchResultItem searchResult = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;().FirstOrDefault(x =&amp;gt; x[fieldName] == convertedValue);&#xA;                    return searchResult?.GetItem()?.GetItemModel();&#xA;                }&#xA;&#xA;            }&#xA;            return null;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Create a custom step converter&lt;/h1&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This is necessary because the default step processor for the &lt;strong&gt;Resolve Sitecore Item Pipeline Step&lt;/strong&gt; has a &lt;code&gt;SupportedIds&lt;/code&gt; attribute which does not include your custom template's ID.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Make sure you replace the &lt;code&gt;[YOUR-NEW-TEMPLATE-ID]&lt;/code&gt; with the template ID of your new pipeline step template you created.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.DataExchange.Attributes;&#xA;using Sitecore.DataExchange.Providers.Sc.Converters.PipelineSteps;&#xA;using Sitecore.DataExchange.Repositories;&#xA;&#xA;namespace Custom.Sc.DataExchange.Providers.Sc.PipelineSteps&#xA;{&#xA;    [SupportedIds([YOUR-NEW-TEMPLATE-ID])]&#xA;    public class ResolveSitecoreItemWithBucketSupportStepConverter : ResolveSitecoreItemStepConverter&#xA;    {&#xA;        public ResolveSitecoreItemWithBucketSupportStepConverter(IItemModelRepository repository) : base(repository) { }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Set the custom step converter and step processor on your template&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the standard values for your new step template, set two fields:&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set &lt;strong&gt;Converter Type&lt;/strong&gt; to your custom converter (e.g. &lt;code&gt;Custom.Sc.DataExchange.Providers.Sc.PipelineSteps.ResolveSitecoreItemWithBucketSupportStepConverter,Custom.Sc.DataExchange&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Set &lt;strong&gt;Processor Type&lt;/strong&gt; to your custom step processor (e.g. &lt;code&gt;Custom.Sc.DataExchange.Providers.Sc.PipelineSteps.ResolveSitecoreItemWithBucketSupportStepProcessor,Custom.Sc.DataExchange&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-12T20:10:09.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18097" PostTypeId="1" AcceptedAnswerId="18101" CreationDate="2019-04-12T20:42:10.083" Score="2" ViewCount="452" Body="&lt;p&gt;I want to show some custom Error Messages as Notifications right under the toolbar in the experience editor. I've tried to implement the Alerts from Habitat but I am not shure if this is the right thing I need and I don't get it working in my local solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I am trying the PageEditorNotifications, I think this could be a solution for my problem to get a message like &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/deoa4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/deoa4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but I am not able to patch the proccessor in the right place&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need it in here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SVnSx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SVnSx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but my Patchfile tries are not working. I've tried the following Patch files:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;V1&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;    &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot;&amp;gt;&#xA;      &amp;lt;group groupName=&quot;ExperienceEditor&quot; name=&quot;ExperienceEditor&quot;&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;getPageEditorNotifications&amp;gt;&#xA;            &amp;lt;processor type=&quot;Foundation.ExperienceEditor.Pipelines.ShowCustomNotifications, Foundation.ExperienceEditor&quot; patch:after=&quot;processor[@type='Sitecore.ContentTesting.Pipelines.GetPageEditorNotifications.GetContentTestingNotifications, Sitecore.ContentTesting']&quot; /&amp;gt;&#xA;          &amp;lt;/getPageEditorNotifications&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;  &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;V2&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;sitecore.net/xmlconfig&quot; xmlns:set=&quot;sitecore.net/xmlconfig/set&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getPageEditorNotifications&amp;gt;&#xA;        &amp;lt;processor type=&quot;Foundation.ExperienceEditor.Pipelines.ShowCustomNotifications, Foundation.ExperienceEditor&quot; /&amp;gt;&#xA;      &amp;lt;/getPageEditorNotifications&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;V3&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;sitecore.net/xmlconfig&quot; xmlns:set=&quot;sitecore.net/xmlconfig/set&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;getPageEditorNotifications&amp;gt;&#xA;        &amp;lt;processor type=&quot;Foundation.ExperienceEditor.Pipelines.ShowCustomNotifications, Foundation.ExperienceEditor&quot; /&amp;gt;&#xA;      &amp;lt;/getPageEditorNotifications&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but non of them is patching the right location :-/ so that the processor get called. I am using Sitecore 9 update 2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;processor code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    namespace Foundation.ExperienceEditor.Pipelines&#xA;    {&#xA;        public class ShowCustomNotifications : GetPageEditorNotificationsProcessor&#xA;        {&#xA;            public override void Process(GetPageEditorNotificationsArgs arguments)&#xA;            {&#xA;                arguments.Notifications.Add(new PageEditorNotification(&quot;Hallo Welt&quot;, PageEditorNotificationType.Error));&#xA;            }      &#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-04-13T08:52:38.027" LastActivityDate="2019-04-13T10:28:53.427" Title="Experience editor custom notifications with getPageEditorNotifications patching not working" Tags="|experience-editor|pipelines|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18098" PostTypeId="1" CreationDate="2019-04-12T20:59:06.433" Score="1" ViewCount="73" Body="&lt;p&gt;When attempting to add a NuGet reference to Sitecore.Commerce.Engine.Orders, version 2.1.5, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;NU1603: Sitecore.Commerce.Plugin.Availability 2.1.3 depends on Sitecore.Commerce.Plugin.Catalog (&amp;gt;= 2.1.9) but Sitecore.Commerce.Plugin.Catalog 2.1.9 was not found. An approximate best match of Sitecore.Commerce.Plugin.Catalog 2.1.10 was resolved.&#xA;Package restore failed. Rolling back package changes for '&amp;lt;MyProjectName&amp;gt;'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="247" LastEditorUserId="73" LastEditDate="2020-09-04T06:14:30.337" LastActivityDate="2020-09-04T06:14:30.337" Title="Sitecore.Commerce.Plugin.Catalog 2.1.9 was not found" Tags="|sitecore-commerce|commerce-engine|nuget|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18099" PostTypeId="2" ParentId="18098" CreationDate="2019-04-12T20:59:06.433" Score="1" Body="&lt;p&gt;It is necessary to add the Catalog plugin (at version 2.1.10) separately. Then you can add Orders (at 2.1.5) without issue. &lt;/p&gt;&#xA;" OwnerUserId="247" LastActivityDate="2019-04-12T20:59:06.433" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18100" PostTypeId="1" AcceptedAnswerId="20073" CreationDate="2019-04-12T22:00:42.220" Score="4" ViewCount="90" Body="&lt;p&gt;I am wondering where in code to update the Entities submitted. I would have expected the &lt;code&gt;Iterate Data and Run Pipeline1&lt;/code&gt; pipeline to handle the count with each iteration. But mine stays 0 all the way through.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1&#xA;DEF 2.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GwdxZ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GwdxZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-07-25T04:43:26.427" Title="Set the iteration count for DEF" Tags="|data-exchange-framework|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18101" PostTypeId="2" ParentId="18097" CreationDate="2019-04-13T10:28:53.427" Score="2" Body="&lt;p&gt;It's not intuitive with pipeline processors and group configs - you need to have first &lt;code&gt;pipelines&lt;/code&gt;, then &lt;code&gt;group&lt;/code&gt; and then again &lt;code&gt;pipelines&lt;/code&gt; node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the correct patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement or ContentDelivery or Reporting or Processing&quot;&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;group groupName=&quot;ExperienceEditor&quot; name=&quot;ExperienceEditor&quot;&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;getPageEditorNotifications&amp;gt;&#xA;            &amp;lt;processor &#xA;              type=&quot;Foundation.ExperienceEditor.Pipelines.ShowCustomNotifications, Foundation.ExperienceEditor&quot; &#xA;              patch:after=&quot;processor[@type='Sitecore.ContentTesting.Pipelines.GetPageEditorNotifications.GetContentTestingNotifications, Sitecore.ContentTesting']&quot; /&amp;gt;&#xA;          &amp;lt;/getPageEditorNotifications&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-04-13T10:28:53.427" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18102" PostTypeId="2" ParentId="18100" CreationDate="2019-04-13T13:02:27.347" Score="5" Body="&lt;p&gt;&lt;strong&gt;Sitecore.DataExchange.Plugins.PipelineBatchSummary&lt;/strong&gt; class has a property &lt;strong&gt;EntitySubmitedCount&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This property is used in &lt;strong&gt;ShowPipelineBatchStatusCommand&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PipelineBatchSummary pipelineBatchSummary2 = pipelineBatchSummary1;&#xA;          DateTime dateTime;&#xA;          if (pipelineBatchSummary2 != null)&#xA;          {&#xA;            dateTime = pipelineBatchSummary2.RequestedAt;&#xA;            str = Environment.NewLine + Translate.Text(&quot;Entities submitted: {0}&quot;, (object) pipelineBatchSummary2.EntitySubmitedCount);&#xA;            foreach (KeyValuePair&amp;lt;string, object&amp;gt; statuse in pipelineBatchSummary2.Statuses)&#xA;              str = str + Environment.NewLine + statuse.Key + &quot;: &quot; + statuse.Value;&#xA;          }&#xA;          else&#xA;            dateTime = DateTime.Now;&#xA;          TimeSpan timeSpan = DateTime.UtcNow - dateTime;&#xA;          Sitecore.Context.ClientPage.ClientResponse.Alert(Translate.Text(&quot;{0} started at {1} and is running on {2} server for {3}.&quot;, (object) contextItem.Name, (object) DateUtil.FormatShortDateTime(dateTime), (object) &quot;local&quot;, (object) timeSpan.ToString(&quot;hh\\:mm\\:ss&quot;)) + str);&#xA;          Sitecore.Context.ClientPage.ClientResponse.Timer(string.Format(&quot;item:load(id={0})&quot;, (object) contextItem.ID), 2);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where is increased this property?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the class: &lt;strong&gt;Sitecore.DataExchange.Providers.XConnect.Processors.PipelineSteps.BaseSubmitXConnectBatchStepProcessor&lt;/strong&gt; it's next  method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual void OnBatchProcessed(&#xA;      Guid batchId,&#xA;      ICollection&amp;lt;IXdbOperation&amp;gt; operations,&#xA;      PipelineContext pipelineContext,&#xA;      IXdbContext client = null)&#xA;    {&#xA;      if (operations != null)&#xA;        pipelineContext.PipelineBatchContext.CurrentPipelineBatch.GetPipelineBatchSummary().EntitySubmitedCount += operations.Count&amp;lt;IXdbOperation&amp;gt;((Func&amp;lt;IXdbOperation, bool&amp;gt;) (o =&amp;gt;&#xA;        {&#xA;          if (o.Status != XdbOperationStatus.Succeeded)&#xA;            return o.Status == XdbOperationStatus.Created;&#xA;          return true;&#xA;        }));&#xA;      if (!this.VerificationLogEnabled(pipelineContext.PipelineBatchContext.CurrentPipelineBatch))&#xA;        return;&#xA;      if (operations != null)&#xA;        this.SetVerificationLogStatuses(pipelineContext, operations);&#xA;      this.SubmitVerificationLogEntries(pipelineContext);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where EntitySubmitedCount is increased. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This method is called from method SubmitBatch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual void SubmitBatch(&#xA;      string batchDescription,&#xA;      IXdbContext client,&#xA;      PipelineStep pipelineStep,&#xA;      PipelineContext pipelineContext,&#xA;      ILogger logger)&#xA;    {&#xA;      if (client == null)&#xA;      {&#xA;        this.SubmitVerificationLogEntries(pipelineContext);&#xA;      }&#xA;      else&#xA;      {&#xA;        string[] logDetails = this.GetLogDetails(batchDescription, client, pipelineStep, pipelineContext, logger);&#xA;        if (!this.ShouldSubmitBatch(client, pipelineStep, pipelineContext, logger))&#xA;        {&#xA;          this.Log(new Action&amp;lt;string&amp;gt;(logger.Info), pipelineContext, &quot;Batch will not be submitted to xConnect.&quot;, logDetails);&#xA;          this.SubmitVerificationLogEntries(pipelineContext);&#xA;        }&#xA;        else&#xA;        {&#xA;          try&#xA;          {&#xA;            this.Log(new Action&amp;lt;string&amp;gt;(logger.Info), pipelineContext, &quot;Submitting batch to xConnect.&quot;, logDetails);&#xA;            IRetryerOnException retryer = this.GetRetryer(pipelineStep, pipelineContext, logger);&#xA;            if (retryer == null)&#xA;              client.SubmitAsync().Wait();&#xA;            else&#xA;              retryer.Retry((Action) (() =&amp;gt; client.SubmitAsync().Wait()));&#xA;          }&#xA;          catch (Exception ex)&#xA;          {&#xA;            pipelineContext.CriticalError = true;&#xA;            throw new XConnectClientException(&quot;Exception while submitting batch to xConnect.&quot;, ex);&#xA;          }&#xA;          this.OnBatchProcessed(client.LastBatchId, (ICollection&amp;lt;IXdbOperation&amp;gt;) client.LastBatch, pipelineContext, client);&#xA;        }&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SubmitBatch method is called inside some PipelineSteps. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope it helps you my answer.   &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-04-13T13:02:27.347" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18103" PostTypeId="2" ParentId="15528" CreationDate="2019-04-13T20:38:05.123" Score="6" Body="&lt;p&gt;I tried using https instead of http to access my local sitecore admin panel like this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://site.local/sitecore&quot; rel=&quot;noreferrer&quot;&gt;https://site.local/sitecore&lt;/a&gt; and it worked remember every request in sitecore 9.1 needs to be in secure SSL so use only https ! Hope it helps someone.&lt;/p&gt;&#xA;" OwnerUserId="4473" LastActivityDate="2019-04-13T20:38:05.123" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18104" PostTypeId="2" ParentId="16120" CreationDate="2019-04-13T20:49:53.613" Score="1" Body="&lt;p&gt;I've received the same error before. After reaching out to SC Support about it, they told us to ensure that we have no data in the Connect Shard databases. This applies if you are not running it in &quot;Resume mode.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To the issue of removing the xConnect data, I've had success with the &lt;a href=&quot;https://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=2ahUKEwjylvXx-M3hAhUFSq0KHbKfCkQQFjAAegQIAxAB&amp;amp;url=https%3A%2F%2Fmarketplace.sitecore.net%2FModules%2FAnalytics_Database_Manager.aspx&amp;amp;usg=AOvVaw1RN_xm4WQlVqOxXwIima9m&quot; rel=&quot;nofollow noreferrer&quot;&gt;ADM&lt;/a&gt; module (version 4.0.0 or 4.0.1 for 9.0.x and 9.x, respectively.) One must remove the three default &quot;Data Remover Configurators&quot; to delete all of the data, however. &lt;/p&gt;&#xA;" OwnerUserId="5248" LastActivityDate="2019-04-13T20:49:53.613" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18105" PostTypeId="1" AcceptedAnswerId="18107" CreationDate="2019-04-14T10:26:48.087" Score="6" ViewCount="382" Body="&lt;p&gt;I'm in the process of upgrading a Sitecore 9.1.0 instance to 9.1.1. The Sitecore upgrade itself is done, but I need to upgrade xConnect as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following the &lt;a href=&quot;https://dev.sitecore.net/~/media/E85A3706FCE547CC9C5FEB686C88881D.ashx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore 9.1.1 Upgrade Guide&lt;/a&gt;, it states:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before you upgrade xConnect:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download the packages for XP Single – Sitecore 9.1.1 rev. 002459 (WDP XP0&#xA;packages).zip – and unpack the zip file.&#xA;To upgrade xConnect, you need the following file:&#xA;o Sitecore 9.1.1 rev. 002459 (OnPrem)_xp0xconnect.scwdp.zip&lt;/li&gt;&#xA;&lt;li&gt;Unpack the Sitecore 9.1.1 rev. 002459 (OnPrem)_xp0xconnect.scwdp.zip file.&lt;/li&gt;&#xA;&lt;li&gt;Unpack the Database Upgrade Script.zip file. It contains several database upgrade scripts including:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SXP_marketingautomation.sql&lt;/li&gt;&#xA;&lt;li&gt;SXP_referencedata.sql&lt;/li&gt;&#xA;&lt;li&gt;SXP_processing_pools.sql&lt;/li&gt;&#xA;&lt;li&gt;SXP_collection.sql&lt;/li&gt;&#xA;&lt;li&gt;SXP_collection_AE_Part1.sql&lt;/li&gt;&#xA;&lt;li&gt;SXP_collection_AE_Part2.sql&lt;/li&gt;&#xA;&lt;li&gt;SXP_collection_GrantPermissions.sql&lt;/li&gt;&#xA;&lt;li&gt;SXP_processing_engine_tasks.sql&lt;/li&gt;&#xA;&lt;li&gt;SXP_mongodb_collection.js&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;So I did. But the &lt;code&gt;Database Upgrade Script.zip&lt;/code&gt; file is nowhere to be found. Either that or I'm missing something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I downloaded:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4dwdp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4dwdp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this is what's in the mentioned &lt;code&gt;Sitecore 9.1.1 rev. 002459 (OnPrem)_xp0xconnect.scwdp.zip&lt;/code&gt; archive (well some of it, but the &lt;code&gt;Database Upgrade Script.zip&lt;/code&gt; isn't there, nor are the mentioned files):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QVegd.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QVegd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the script missing, or is there somewhere else I should be looking for these upgrade scripts?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-04-14T12:46:52.210" Title="Upgrading xConnect from Sitecore 9.1.0 to 9.1.1 - Database Upgrade Script missing?" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18106" PostTypeId="2" ParentId="10031" CreationDate="2019-04-14T12:29:23.463" Score="0" Body="&lt;p&gt;Since this issue also happens to be in Sitecore 9.0.1, I opened a sitecore support ticket and below is the response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue has been fixed in Sitecore 9.0 Update-2 so please consider an upgrade of your Sitecore version.&#xA;If this not possible, you can try the patch: &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.171097/releases/tag/9.0.1.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.171097/releases/tag/9.0.1.0&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="860" LastActivityDate="2019-04-14T12:29:23.463" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18107" PostTypeId="2" ParentId="18105" CreationDate="2019-04-14T12:31:40.730" Score="8" Body="&lt;p&gt;You need to download &lt;a href=&quot;https://dev.sitecore.net/~/media/4A8250945B1B4BFB99B29B56FEE05787.ashx&quot; rel=&quot;noreferrer&quot;&gt;Configuration Files for Upgrade&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You find the link in the Upgrade Options section of page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Update1.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Update1.aspx&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TUJxf.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TUJxf.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The configuration files zip contains &lt;strong&gt;Database Upgrade Script.zip&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6Pbzp.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6Pbzp.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside the zip file you will find the sql files that you need:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/U6ebx.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/U6ebx.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2019-04-14T12:46:52.210" LastActivityDate="2019-04-14T12:46:52.210" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18108" PostTypeId="1" AcceptedAnswerId="18121" CreationDate="2019-04-14T16:41:47.477" Score="-1" ViewCount="62" Body="&lt;p&gt;I tried to use EXM and upload CSV file which contains first name, last name and Email for two contacts with the same first name and last name but 2 different mails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore considers them as they are one contact....is that Sitecore issue?!! and if I want to add configuration to be 2 contacts not one...how can I make that?!!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Copied from OP's comment:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to use EXM with &quot;Regular email campaign&quot; and upload csv file with two contacts with the same first and last name and different emails but after finishing and mapping fields I found that &quot;Contacts expected to be imported is 1&quot;&lt;/p&gt;&#xA;" OwnerUserId="5154" LastEditorUserId="277" LastEditDate="2019-04-15T11:13:26.220" LastActivityDate="2019-04-15T11:13:26.220" Title="List Manager considers 2 entries with same first and last name, same contact" Tags="|exm|list-manager|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18109" PostTypeId="1" CreationDate="2019-04-15T01:02:02.203" Score="1" ViewCount="71" Body="&lt;p&gt;As we know when we run a Sitecore instance on Azure PaaS we have to use Azure Search instead of Solr or Lucene. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since WeBlog does have custom configs for Content Search, I'm wondering if they are compatible with Azure Search. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If they are not, what are the changes required to make it work on such environment?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a CMS-Only instance running on 8.2 update 7&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2019-04-15T13:04:47.463" LastActivityDate="2019-04-15T13:04:47.463" Title="Is WeBlog compatible with Azure PaaS?" Tags="|paas|weblog|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18111" PostTypeId="1" CreationDate="2019-04-15T03:26:12.453" Score="1" ViewCount="287" Body="&lt;p&gt;We have a setup where we send the reports to customer using EXM in sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I keep getting exception in EXM log where its unable to deliver all mails to recipients.&#xA;&lt;code&gt;ERROR [AutomatedMessageHandler] Failed to send '579dc3d4-4aee-4308-af71-f5202483356f' to 'website PII removed'&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result:          ABORTED&#xA;  Message Id:      {579DC3D4-4AEE-4308-AF71-F5202483356F}&#xA;  Message Path:    project specific&#xA;  Recipients Processed:2394&#xA;  Message Total Sent Recipients:2207&#xA;  Message Total Failed Recipients:44&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Detail Trace &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Failed to send 'Consumption Report' to 'Alias PII removed'.&#xA;MessageTaskRunner worker thread 25 10:06:30 WARN  Message sending error: System.AggregateException: One or more errors occurred. ---&amp;gt; Sitecore.EDS.Core.Exceptions.InvalidMessageException: Failed to send the email message due to incorrect data.&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatTransportClient.SendAsync(Email message)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;RetryOnFault&amp;gt;d__10.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;SendTaskAsync&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;SendEmailAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchProviderBase.&amp;lt;SendAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;SendAsync&amp;gt;d__6.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.SendEmail.Process(SendMessageArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Modules.EmailCampaign.Core.PipelineHelper.RunPipeline(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.EmailCampaign.Cm.Dispatch.DispatchTask.OnSendToNextRecipient()&#xA;---&amp;gt; (Inner Exception #0) Sitecore.EDS.Core.Exceptions.InvalidMessageException: Failed to send the email message due to incorrect data.&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatTransportClient.SendAsync(Email message)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;RetryOnFault&amp;gt;d__10.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;SendTaskAsync&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;SendEmailAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchProviderBase.&amp;lt;SendAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;SendAsync&amp;gt;d__6.MoveNext()&amp;lt;-&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Stuffs I tried already are :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Contacts are getting created after rebuilding and swapping SOLR indexes.&#xA;2) Xconnect is working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, EXM is re-attempting to send same mail again and again which has created huge queue in dispatchQueue of EXM. I already cleared the same once but issue still persist.&lt;/p&gt;&#xA;" OwnerUserId="3719" LastEditorUserId="73" LastEditDate="2019-04-15T05:23:15.593" LastActivityDate="2019-04-15T05:23:15.593" Title="EXM issue : Failed to send '579dc3d4-4aee-4308-af71-f5202483356f' (messageid) to 'website PII removed'" Tags="|exm|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18112" PostTypeId="1" AcceptedAnswerId="18115" CreationDate="2019-04-15T05:18:47.813" Score="0" ViewCount="504" Body="&lt;p&gt;I am on Sitecore.NET 8.2 (rev. 170614) for one of the project. The documents are organised in buckets and there is a publish pipeline processor written to publish the parent item if not published before when documents are published. I am planing to remove the custom processor as I believe this must be OOTB functionality in the Sitecore to publish the bucket when item child item is published. Is my understanding correct? Is there anyway I can remove the custom processor?&lt;/p&gt;&#xA;" OwnerUserId="2722" LastEditorUserId="277" LastEditDate="2019-04-15T05:53:41.870" LastActivityDate="2019-04-15T14:46:30.050" Title="Will Sitecore automatically publish parent bucket folder items on bucketable items" Tags="|publishing|buckets|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18113" PostTypeId="1" AcceptedAnswerId="18114" CreationDate="2019-04-15T05:20:49.827" Score="3" ViewCount="1181" Body="&lt;p&gt;I have a page template inheriting from base templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XHrWc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XHrWc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I go to edit those from Experience Accelerator, Page metadata, Other dialog, they are in a strange order.  It seems like its grabbing the first item from each template, then the second item from each template and so on... but not in the displayed template order above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gLbcN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gLbcN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried applying sort order but that only applies to the content editor tree - it has no impact on this dialog at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want each block of fields below to remain as a block together, so it makes more sense when editing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 9.1 and SXA 1.8.&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-04-15T13:36:46.237" Title="Sorting inherited template fields" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18114" PostTypeId="2" ParentId="18113" CreationDate="2019-04-15T05:32:26.460" Score="4" Body="&lt;p&gt;This dialogue is not the most flexible of sorts. But what happens is, it shows an aggregate of your templates and their fields, with little way of controlling the order they appear in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing you &lt;em&gt;can&lt;/em&gt; do however, is organise the fields under different section names. You currently use &lt;code&gt;Content&lt;/code&gt; for all of them, meaning all the fields will end up in the same grouping.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By organising the fields differently, e.g. use &lt;code&gt;List&lt;/code&gt;, &lt;code&gt;Pair&lt;/code&gt;, and &lt;code&gt;Links&lt;/code&gt;, as section names - this dialogue will organise the fields more to your liking I believe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And yes, you can use the &lt;code&gt;__Sort order&lt;/code&gt; on the section items to control the order of how these sections appear in the dialogue as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional Reference: &lt;a href=&quot;https://sitecorerunner.com/2017/02/06/field-ordering-when-inheriting-sitecore-templates/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Field Ordering When Inheriting Sitecore Templates&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Edited to add&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I actually &lt;em&gt;think&lt;/em&gt; you can sort all of the fields even if you remain in the same section name. But you would need to manipulate the &lt;code&gt;__SortOrder&lt;/code&gt; of the fields directly. So on the fields under one template, you set their sort order to &lt;code&gt;10&lt;/code&gt;, &lt;code&gt;20&lt;/code&gt;, &lt;code&gt;30&lt;/code&gt; and so on. In the next template, to &lt;code&gt;100&lt;/code&gt;, &lt;code&gt;200&lt;/code&gt;, &lt;code&gt;300&lt;/code&gt; etc. And so on. Generally Sitecore would respect the overall sort order - this is why it's &quot;interleaving&quot; the fields to begin with.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, I think it's easier to just group by different section names. That's one of the only reason sections exist, after all.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-04-15T13:36:46.237" LastActivityDate="2019-04-15T13:36:46.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18115" PostTypeId="2" ParentId="18112" CreationDate="2019-04-15T05:41:50.950" Score="1" Body="&lt;p&gt;No, you're wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore does not publish any parent item if you publish a single item only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It doesn't matter if it's item in a bucket or item which is not inside a bucket - you need to make sure that all the ancestors are published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That would be a dangerous precedence if Sitecore was publishing items &quot;up the tree&quot; on its own.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-04-15T06:08:50.367" LastActivityDate="2019-04-15T06:08:50.367" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18116" PostTypeId="2" ParentId="17816" CreationDate="2019-04-15T06:29:16.677" Score="2" Body="&lt;p&gt;Please check your solr connection with xConnect. Possible cause is contacts are not getting indexed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I faced a similiar issue but after rebuilding the xdb index in solr its started working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use this link to get knowledge around how to rebuild and swap solr indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/rebuild-the-xdb-index-in-solr.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/rebuild-the-xdb-index-in-solr.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3719" LastActivityDate="2019-04-15T06:29:16.677" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18118" PostTypeId="2" ParentId="18109" CreationDate="2019-04-15T08:15:14.563" Score="1" Body="&lt;p&gt;Out of the box, WeBlog uses custom index based on Lucene. You can try patching that config to use Azure Search. &lt;/p&gt;&#xA;" OwnerUserId="1807" LastActivityDate="2019-04-15T08:15:14.563" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18119" PostTypeId="1" AcceptedAnswerId="18177" CreationDate="2019-04-15T08:17:23.490" Score="0" ViewCount="80" Body="&lt;p&gt;I have a sitecore 8.2u7 as &lt;code&gt;PaaS&lt;/code&gt; and when I try to load a js file in the browser , it shows an error and in the log I get this message&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked in the configuration files for any parameter but I can't find anything&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone can say what is this ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR [Bundle]: Error running bundle pipeline - bundle.beacon&#xA;Exception: System.ArgumentException&#xA;Message: The URL '~d:\local\temp\beacon_47542.js' is not valid. Only application relative URLs (~/url) are allowed.&#xA;Parameter name: virtualPath&#xA;Source: System.Web.Optimization&#xA;   at System.Web.Optimization.Bundle.Include(String virtualPath, IItemTransform[] transforms)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Abstractions.CorePipelineWrapper.Run(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.FXM.Bundling.BundleRegistrar.GenerateAndRegisterBundle(String bundleIdentifier, PipelineArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3636" LastEditorUserId="5096" LastEditDate="2019-05-04T13:48:05.113" LastActivityDate="2019-05-04T13:48:05.113" Title="FXM in Azure PaaS crashes when the JS files is accessed" Tags="|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18120" PostTypeId="1" CreationDate="2019-04-15T10:54:47.733" Score="0" ViewCount="70" Body="&lt;p&gt;I am facing issue while restoring deleted pages in sitecore. The page which is deleted by author was not able to restore by admin.Please refer below screenshot for error while restore...&#xA;&lt;a href=&quot;https://i.stack.imgur.com/fh2XR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fh2XR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5395" LastEditorUserId="70" LastEditDate="2019-04-15T13:57:56.630" LastActivityDate="2019-04-15T13:57:56.630" Title="Admin not able to restore deleted pages" Tags="|sitecore-client|security|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18121" PostTypeId="2" ParentId="18108" CreationDate="2019-04-15T11:04:50.950" Score="0" Body="&lt;p&gt;Instead of importing contacts during email creation, use List Manager application to create a list from a csv file first:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iZMEj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iZMEj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And then make sure you map your csv columns properly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6T8pS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6T8pS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-04-15T11:04:50.950" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18122" PostTypeId="1" AcceptedAnswerId="18142" CreationDate="2019-04-15T11:24:00.930" Score="3" ViewCount="964" Body="&lt;p&gt;I have a component that is cacheable within a placeholder where another component is placed, which is an SXA component.&#xA;When I try to remove the SXA component inside the placeholder, the cache doesn't seem to clear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For clarity:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a Menu component with a placeholder where i can place an Sxa Language Selector&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Menu component has cache and the cache clears when I publish some change to the menu, but when I remove the language selector from Menu the same doesn't happen, the language selector is still there on the CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These components are inserted in the page through a page design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I insert these components in the presentation details of the page, everything works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My instance is 9.0 update 1 with SXA 1.6 with CM and CD server and its multi-site&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I added this patch&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;        &amp;lt;event name=&quot;indexing:end&quot;&amp;gt;             &#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;                &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                    &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;                    &amp;lt;site&amp;gt;Site&amp;lt;/site&amp;gt;&#xA;                &amp;lt;/sites&amp;gt;&#xA;            &amp;lt;/handler&amp;gt;&#xA;        &amp;lt;/event&amp;gt;            &#xA;        &amp;lt;event name=&quot;indexing:end:remote&quot;&amp;gt;              &#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;                &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                    &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;                    &amp;lt;site&amp;gt;Site&amp;lt;/site&amp;gt;&#xA;                &amp;lt;/sites&amp;gt;&#xA;            &amp;lt;/handler&amp;gt;&#xA;        &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One more thing my cache setting include the menu rendering and the SXA language selector.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gYrBf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gYrBf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5374" LastEditorUserId="2049" LastEditDate="2019-04-15T21:49:18.273" LastActivityDate="2019-04-15T22:11:54.290" Title="Cache not being cleared when changing partial design" Tags="|sxa|caching|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18123" PostTypeId="1" CreationDate="2019-04-15T12:40:12.080" Score="0" ViewCount="797" Body="&lt;p&gt;I’ve extended SqlServerDataProvider to use the azure blob storage account for storing the media library assests. I’ve taken reference from below GitHub project: &lt;a href=&quot;https://github.com/aweber1/Sitecore.Media.AzureBlobStorage&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/aweber1/Sitecore.Media.AzureBlobStorage&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything looks fine but I am getting below error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.ArgumentException Message: Parameter is not valid.&#xA;  Source: System.Drawing    at System.Drawing.Bitmap..ctor(Stream&#xA;  stream)    at&#xA;  Sitecore.Resources.Media.ImageEffectsResize.ResizeImageStream(Stream&#xA;  inputStream, TransformationOptions options, ImageFormat outputFormat) &#xA;  at&#xA;  Sitecore.Resources.Media.ImageThumbnailGenerator.GetStream(MediaData&#xA;  mediaData, TransformationOptions options)    at&#xA;  Sitecore.Resources.Media.MediaData.GetThumbnailStream(TransformationOptions&#xA;  options)    at&#xA;  Sitecore.Resources.Media.ThumbnailProcessor.Process(GetMediaStreamPipelineArgs&#xA;  args)    at (Object , Object )    at&#xA;  Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&lt;br&gt;&#xA;  at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String&#xA;  pipelineName, PipelineArgs args, String pipelineDomain)    at&#xA;  Sitecore.Resources.Media.Media.GetStreamFromPipeline(MediaOptions&#xA;  options, Boolean&amp;amp; canBeCached)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Because of above error the CE is very slow as Sitecore loads the actual image in the image field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I’ve verified the GetMediaStreamPipelineArgs  parameters while getting the stream from database (default one) and getting the stream from the azure blob storage account. I’ve found below differences in the MediaData.GetStream().Stream property:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Getting the media steam from the database: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CanRead: true&#xA;CanSeek: false&#xA;CanTimeout: false&#xA;CanWrite: false&#xA;Length: 1433038&#xA;Position: 0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Getting the media stream from the azure blob storage account:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;CanRead: true&#xA;CanSeek: true&#xA;CanTimeout: false&#xA;CanWrite: true&#xA;Length: 1433038&#xA;Position: 0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It looks like the CanSeek=true is causing the issue while initializing the System.Drawing.Bitmap object. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version: &lt;strong&gt;Sitecore Experience Platform 9.0 Update-1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone please help me?&lt;/p&gt;&#xA;" OwnerUserId="479" LastActivityDate="2024-01-02T23:07:20.940" Title="ERROR Could not run the 'getMediaStream' pipeline for '/sitecore/media library/Images/test '. Original media data will be used" Tags="|azure|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18125" PostTypeId="1" AcceptedAnswerId="18128" CreationDate="2019-04-15T13:07:32.680" Score="1" ViewCount="1309" Body="&lt;p&gt;Trying to import the sample jss app into the Sitecore 9.1, but getting the below error any idea why is this is ?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IMPORT ERROR(S) OCCURRED!&#xA;Exception thrown while importing JSS app&#xA;Exception: Sitecore.Exceptions.AccessDeniedException&#xA;Message: AddFromTemplate - Add access required (destination: {GUID}, template: {GUID})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1698" LastActivityDate="2023-04-11T04:38:40.833" Title="IMPORT ERROR(S) OCCURRED! Exception thrown while importing JSS app Message: AddFromTemplate - Add access required" Tags="|jss|" AnswerCount="4" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18126" PostTypeId="1" CreationDate="2019-04-15T13:39:01.803" Score="1" ViewCount="283" Body="&lt;p&gt;I'm quite new here so don't go too hard on me if some things might be a bit unclear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;A little background info:&lt;/strong&gt; Last week I implemented so when a form is submitted, we take all the info and encrypt it to a string and then pass it to the end of a link in an email that is set as a &lt;code&gt;save action&lt;/code&gt; for this form. The link goes to the next part of the form flow, when clicking this, the encrypted string will be decrypted and then used to populate available fields on the second form and so on. Looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;em&gt;webpage.com/form2?[info]&lt;/em&gt; &lt;strong&gt;is replaced with:&lt;/strong&gt; &lt;em&gt;webpage.com/form2?info=e4x5kd...&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This was quite easy since I could easily add a check to the email token replace methods that are already in place. I am working with WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I need to do now is basically the exact same thing, but I want to pass this string to a thank you page of a form. My problem right now is that I do not know how to replace a &lt;code&gt;token&lt;/code&gt; in a link, on a thank you page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The flow should look something like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Form 1 =&gt;&lt;/strong&gt; (pass encrypted string somehow) &lt;strong&gt;=&gt; Thank you page =&gt;&lt;/strong&gt; (click link to Form 2 and continue to pass along encrypted string) &lt;strong&gt;=&gt; Form 2&lt;/strong&gt; (decrypt string and populate)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure if I can go with the email style implementation or if I need to go with another type, all I want is to pass this string from one form to another via a thank you page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned, I'm still kind of new to sitecore so any help / links / ideas would be very appreciated and if I left some important things out, just comment and I will do my best to clarify them.&lt;/p&gt;&#xA;" OwnerUserId="4208" LastEditorUserId="73" LastEditDate="2020-04-04T12:14:29.467" LastActivityDate="2023-12-15T22:04:00.483" Title="Passing encrypted form values via url parameter to thank you page" Tags="|wffm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18127" PostTypeId="2" ParentId="18112" CreationDate="2019-04-15T14:46:30.050" Score="2" Body="&lt;p&gt;In Sitecore Publishing Service from version 2.2.1 there is a &lt;em&gt;&quot;sc.publishing.relateditems.xml&quot;&lt;/em&gt; available which will publish all Item parents. I guess that's the behavior you expect.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;Publishing&amp;gt;&#xA;      &amp;lt;Services&amp;gt;&#xA;        &amp;lt;TreePublishHandler&amp;gt;&#xA;          &amp;lt;Options&amp;gt;&#xA;            &amp;lt;!-- Publishes all ancesters of a related item if they do not exist in the target. Ancesters that have changed, but already exist in the target will not be published using this option.--&amp;gt;&#xA;            &amp;lt;PublishRelatedItemParents&amp;gt;True&amp;lt;/PublishRelatedItemParents&amp;gt;&#xA;          &amp;lt;/Options&amp;gt;&#xA;        &amp;lt;/TreePublishHandler&amp;gt;&#xA;      &amp;lt;/Services&amp;gt;&#xA;    &amp;lt;/Publishing&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So maybe you want to consider to use the publishing service?&lt;/p&gt;&#xA;" OwnerUserId="1183" LastActivityDate="2019-04-15T14:46:30.050" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18128" PostTypeId="2" ParentId="18125" CreationDate="2019-04-15T14:46:55.187" Score="4" Body="&lt;p&gt;This error occurs when the configured JSS import user (defaults to &lt;code&gt;sitecore\JSSImport&lt;/code&gt;) is authenticated, but does not have the rights to add a template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These rights are normally granted by the &lt;code&gt;sitecore\JSS Import Service Users&lt;/code&gt; group membership but it sounds like the default ACLs assigned there may be missing in your case.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-04-15T14:46:55.187" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18129" PostTypeId="1" AcceptedAnswerId="18132" CreationDate="2019-04-15T16:02:31.063" Score="0" ViewCount="300" Body="&lt;p&gt;We have the following rewrite rules in our config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;encodeNameReplacements&amp;gt;&#xA;    &amp;lt;replace mode=&quot;on&quot; find=&quot;&amp;amp;amp;&quot; replaceWith=&quot;,-a-,&quot; /&amp;gt;&#xA;    &amp;lt;replace mode=&quot;on&quot; find=&quot;?&quot; replaceWith=&quot;,-q-,&quot; /&amp;gt;&#xA;    &amp;lt;replace mode=&quot;on&quot; find=&quot;/&quot; replaceWith=&quot;,-s-,&quot; /&amp;gt;&#xA;    &amp;lt;replace mode=&quot;on&quot; find=&quot;*&quot; replaceWith=&quot;,-w-,&quot; /&amp;gt;&#xA;    &amp;lt;replace mode=&quot;on&quot; find=&quot;.&quot; replaceWith=&quot;,-d-,&quot; /&amp;gt;&#xA;    &amp;lt;replace mode=&quot;on&quot; find=&quot;:&quot; replaceWith=&quot;,-c-,&quot; /&amp;gt;&#xA;    &amp;lt;replace mode=&quot;on&quot; find=&quot; &quot; replaceWith=&quot;-&quot; /&amp;gt;&#xA;  &amp;lt;/encodeNameReplacements&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However when I create new items with spaces, the urls have '%20's in them.  There are no includes that are overwriting this.  We did switch over to MVC renderings from Layouts a while back, could this have effected the url's?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-04-15T17:39:08.000" Title="URL rewrite doesn't seem to be working" Tags="|configuration|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18130" PostTypeId="1" CreationDate="2019-04-15T16:08:54.490" Score="3" ViewCount="40" Body="&lt;p&gt;We have a couple of sections to our site and want to allow for section owners to do some account maintenance instead of us.  We have these two sections and groups of users and roles separated into two separate domains.  I'm wondering if we can create a role that allows for account maintenance, but only within the domain that it exists?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-04-16T06:29:39.007" Title="Restrict account administration capabilities to a single domain?" Tags="|permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18132" PostTypeId="2" ParentId="18129" CreationDate="2019-04-15T17:39:08.000" Score="1" Body="&lt;p&gt;Double-check the code where the URLs are being generated to ensure that you're using the &lt;code&gt;LinkManager&lt;/code&gt; to generate your URLs and not simply the items' names or display names. This will ensure that the &lt;code&gt;encodeNameReplacements&lt;/code&gt; are taken into account when generating the URLs.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-15T17:39:08.000" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18133" PostTypeId="1" AcceptedAnswerId="18137" CreationDate="2019-04-15T17:53:12.593" Score="1" ViewCount="351" Body="&lt;p&gt;I am upgrading an old VS project that was built using Sitecore 7.2.  I have changed the target .NET Framework to 4.7.1.  Now I am trying to install Sitecore.Kernel v9.1.1 via Nuget.  However when I try to do that I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not install package&#xA;  'Microsoft.Extensions.DependencyInjection.Abstractions 2.1.1'. You are&#xA;  trying to install this package into a project that targets&#xA;  '.NETFramework,Version=v4.7.1', but the package does not contain any&#xA;  assembly references or content files that are compatible with that&#xA;  framework.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have also attempted to install the &lt;code&gt;Microsoft.Extensions.DependencyInjection.Abstractions&lt;/code&gt; package separately but I get the same error.  No matter what I do I can't install &lt;code&gt;Microsoft.Extensions.DependencyInjection.Abstractions&lt;/code&gt;.  What's really strange is that if I create a brand new solution that targets .NET 4.7.1 I can install if fine.  So there must be something strange in my existing project/solution that is preventing me from installing &lt;code&gt;Microsoft.Extensions.DependencyInjection.Abstractions 2.1.1&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="605" LastEditDate="2019-04-15T17:55:48.430" LastActivityDate="2019-04-15T20:12:19.830" Title="Why can't I install Sitecore.Kernel v9.1.1 via Nuget?" Tags="|installation|nuget|visual-studio|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18134" PostTypeId="1" AcceptedAnswerId="18135" CreationDate="2019-04-15T17:55:09.047" Score="0" ViewCount="187" Body="&lt;p&gt;Sitecore 9.0.2, DEF 2.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As part of my data import, I need to bring in a &lt;strong&gt;Status&lt;/strong&gt; column that contains two possible values:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Active&lt;/li&gt;&#xA;&lt;li&gt;Inactive&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I want to represent these as a checkbox field in Sitecore, but I can't figure out how to convert them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9667/data-exchange-framework-1-4-1-map-crm-boolean-to-sitecore-checkbox&quot;&gt;this question from an older version of DEF&lt;/a&gt;, but the interface for &lt;code&gt;IValueReaders&lt;/code&gt; has changed requires a different return value for the conversion process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an easy way to accomplish this?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-15T17:55:09.047" Title="How do I convert a string into a checkbox with Data Exchange Framework?" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18135" PostTypeId="2" ParentId="18134" CreationDate="2019-04-15T17:55:09.047" Score="1" Body="&lt;p&gt;There is actually a built-in value reader for this: the &lt;a href=&quot;https://doc.sitecore.com/developers/def/20/data-exchange-framework/en/description-to-code-value-reader.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Description to Code Value Reader&lt;/a&gt;. It works by defining a set of code definitions which map a &quot;code&quot; (&lt;code&gt;int&lt;/code&gt;) to a &quot;description&quot; (&lt;code&gt;string&lt;/code&gt;). To use it:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Create your code definition set and code definitions&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In your Data Exchange tenant under the &lt;strong&gt;Tenant Settings/Common&lt;/strong&gt; folder, add a new &lt;strong&gt;Code Definition Sets Root&lt;/strong&gt; folder&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Template Path: /sitecore/templates/Data Exchange/Framework/Code Definitions/Code Definition Sets Root&lt;/li&gt;&#xA;&lt;li&gt;Template ID: {88A5FB53-E56B-404F-BA17-8F55013A03CC}&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add a &lt;strong&gt;Code Definition Set&lt;/strong&gt; to that folder&lt;/li&gt;&#xA;&lt;li&gt;Add &lt;strong&gt;Code Definition&lt;/strong&gt;s to the &lt;strong&gt;Code Definition Set&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Active&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Item Name&lt;/strong&gt;: Active&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Value&lt;/strong&gt;: 1&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Inactive&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Item Name&lt;/strong&gt;: Inactive&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Value&lt;/strong&gt;: 0&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Add the value reader and use it&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In your Data Exchange tenant under the &lt;strong&gt;Data Access/Value Readers/Common&lt;/strong&gt; folder, add a new &lt;strong&gt;Description to Code Value Reader&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Code Definition Set&lt;/strong&gt; field, select your recently-created Code Definition Set&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Value Mapping&lt;/strong&gt; item for the field, set the &lt;strong&gt;Source Value Transformer&lt;/strong&gt; field to your new value reader&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-15T17:55:09.047" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18137" PostTypeId="2" ParentId="18133" CreationDate="2019-04-15T20:12:19.830" Score="1" Body="&lt;p&gt;The answer was to update Visual Studio from 15.0 to 15.9.  Once I did that then the installation from Nuget worked. Who would have guessed.  :)&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2019-04-15T20:12:19.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18138" PostTypeId="1" AcceptedAnswerId="18139" CreationDate="2019-04-15T20:20:03.700" Score="1" ViewCount="283" Body="&lt;p&gt;I am trying to enroll an anonymous user to a &lt;code&gt;marketing automation&lt;/code&gt; plan but it didn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically  the user will open &lt;code&gt;campaign&lt;/code&gt; from &lt;strong&gt;Facebook&lt;/strong&gt;, this &lt;code&gt;campaign&lt;/code&gt; already created with the Sitecore campaign creator, then the user will land on the registration page (it will be lead page), SC campaign ID is already in the query string. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to enroll the user in &lt;code&gt;marketing automation&lt;/code&gt; and I can send him a welcome email and add him to the recipients list.&lt;/p&gt;&#xA;" OwnerUserId="826" LastEditorUserId="5096" LastEditDate="2019-05-04T15:47:39.853" LastActivityDate="2019-05-04T15:47:39.853" Title="Enrolling Anonymous Users to Marketing Automation" Tags="|marketing-automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18139" PostTypeId="2" ParentId="18138" CreationDate="2019-04-15T20:46:40.377" Score="3" Body="&lt;p&gt;You can not add anonymous contacts to Automation Plans.&lt;/p&gt;&#xA;&lt;p&gt;You will need to identify them first. Additionally, if you are planning on sending this user an email, you have to know information about the contact, thereby making it a known contact.&lt;/p&gt;&#xA;&lt;p&gt;It sounds like you need to add a Custom Submit Action to your Sitecore Form to identify the contact, set the email address and personal facets, and then trigger a goal, to then enroll them into a Marketing Automation campaign.&lt;/p&gt;&#xA;&lt;h2&gt;Example Code to Identify a Contact using a Custom Submit Action&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore.Analytics;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.ExperienceForms.Models;&#xA;using Sitecore.ExperienceForms.Processing;&#xA;using Sitecore.ExperienceForms.Processing.Actions;&#xA;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Client;&#xA;using Sitecore.XConnect.Client.Configuration;&#xA;using Sitecore.XConnect.Collection.Model;&#xA; &#xA;namespace SitecoreHacker.Feature.ExperienceForms.SubmitActions&#xA;{&#xA;    public class TriggerIdentifyContact : SubmitActionBase&#xA;    {&#xA;        ///&#xA;&amp;lt;summary&amp;gt;&#xA;        ///     Initializes a new instance of the  class.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA; &#xA;        /// The submit action data.&#xA;        public TriggerIdentifyContact(ISubmitActionData submitActionData) : base(submitActionData)&#xA;        {&#xA;        }&#xA; &#xA;        ///&#xA;&amp;lt;summary&amp;gt;&#xA;        ///     Gets the current tracker.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA; &#xA;        protected virtual ITracker CurrentTracker =&amp;amp;gt; Tracker.Current;&#xA; &#xA;        public override void ExecuteAction(FormSubmitContext formSubmitContext, string parameters)&#xA;        {&#xA;            Assert.ArgumentNotNull(formSubmitContext, &amp;quot;formSubmitContext&amp;quot;);&#xA;            UpdateContactData target;&#xA;            if (TryParse(parameters, out target))&#xA;                try&#xA;                {&#xA;                    if (Execute(target, formSubmitContext))&#xA;                        return;&#xA;                }&#xA;                catch (ArgumentNullException)&#xA;                {&#xA;                }&#xA;            formSubmitContext.Errors.Add(new FormActionError&#xA;            {&#xA;                ErrorMessage = SubmitActionData.ErrorMessage&#xA;            });&#xA;            formSubmitContext.Abort();&#xA;        }&#xA; &#xA;        ///&#xA;&amp;lt;summary&amp;gt;&#xA;        ///     Executes the action with the specified .&#xA;        /// &amp;lt;/summary&amp;gt;&#xA; &#xA;        /// The data.&#xA;        /// The form submit context.&#xA;        /// true if the action is executed correctly; otherwise false&#xA;        protected override bool Execute(UpdateContactData data, FormSubmitContext formSubmitContext)&#xA;        {&#xA;            Assert.ArgumentNotNull(data, nameof(data));&#xA;            Assert.ArgumentNotNull(formSubmitContext, nameof(formSubmitContext));&#xA; &#xA;            var firstNameField = GetFieldById(data.FirstNameFieldId, formSubmitContext.Fields);&#xA;            var lastNameField = GetFieldById(data.LastNameFieldId, formSubmitContext.Fields);&#xA;            var emailField = GetFieldById(data.EmailFieldId, formSubmitContext.Fields);&#xA; &#xA;            if (firstNameField == null &amp;amp;amp;&amp;amp;amp; lastNameField == null &amp;amp;amp;&amp;amp;amp; emailField == null)&#xA;                return false;&#xA; &#xA;            using (var client = CreateClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    var emailIdent = new IdentifiedContactReference(&amp;quot;IdentifiedEmail&amp;quot;, GetValue(emailField));&#xA; &#xA;                    //Identify with Email&#xA;                    CurrentTracker.Session.IdentifyAs(emailIdent.Source, emailIdent.Identifier);&#xA; &#xA;                    var expandOptions = new ContactExpandOptions(&#xA;                        CollectionModel.FacetKeys.PersonalInformation,&#xA;                        CollectionModel.FacetKeys.EmailAddressList);&#xA;                    var contact = client.Get(emailIdent, expandOptions);&#xA; &#xA;                    //Set Fields&#xA;                    SetPersonalInformation(GetValue(firstNameField), GetValue(lastNameField), contact, client);&#xA;                    SetEmail(GetValue(emailField), contact, client);&#xA; &#xA;                    client.Submit();&#xA; &#xA;                    return true;&#xA;                }&#xA;                catch (Exception ex)&#xA;                {&#xA;                    Logger.LogError(ex.Message, ex);&#xA;                    return false;&#xA;                }&#xA;            }&#xA;        }&#xA; &#xA;        ///&#xA;&amp;lt;summary&amp;gt;&#xA;        ///     Creates the client.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA; &#xA;        /// The  instance.&#xA;        protected virtual IXdbContext CreateClient()&#xA;        {&#xA;            return SitecoreXConnectClientConfiguration.GetClient();&#xA;        }&#xA; &#xA;        ///&#xA;&amp;lt;summary&amp;gt;&#xA;        ///     Gets the field by .&#xA;        /// &amp;lt;/summary&amp;gt;&#xA; &#xA;        /// The identifier.&#xA;        /// The fields.&#xA;        /// The field with the specified .&#xA;        private static IViewModel GetFieldById(Guid id, IList fields)&#xA;        {&#xA;            return fields.FirstOrDefault(f =&amp;amp;gt; Guid.Parse(f.ItemId) == id);&#xA;        }&#xA; &#xA;        ///&#xA;&amp;lt;summary&amp;gt;&#xA;        ///     Gets the  value.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA; &#xA;        /// The field.&#xA;        /// The field value.&#xA;        private static string GetValue(object field)&#xA;        {&#xA;            return field?.GetType().GetProperty(&amp;quot;Value&amp;quot;)?.GetValue(field, null)?.ToString() ?? string.Empty;&#xA;        }&#xA; &#xA;        ///&#xA;&amp;lt;summary&amp;gt;&#xA;        ///     Sets the  facet of the specified .&#xA;        /// &amp;lt;/summary&amp;gt;&#xA; &#xA;        /// The first name.&#xA;        /// The last name.&#xA;        /// The contact.&#xA;        /// The client.&#xA;        private static void SetPersonalInformation(string firstName, string lastName, Contact contact,&#xA;            IXdbContext client)&#xA;        {&#xA;            if (string.IsNullOrEmpty(firstName) &amp;amp;amp;&amp;amp;amp; string.IsNullOrEmpty(lastName))&#xA;                return;&#xA;            var personalInfoFacet = contact.Personal() ?? new PersonalInformation();&#xA;            if (personalInfoFacet.FirstName == firstName &amp;amp;amp;&amp;amp;amp; personalInfoFacet.LastName == lastName)&#xA;                return;&#xA;            personalInfoFacet.FirstName = firstName;&#xA;            personalInfoFacet.LastName = lastName;&#xA;            client.SetPersonal(contact, personalInfoFacet);&#xA;        }&#xA; &#xA;        ///&#xA;&amp;lt;summary&amp;gt;&#xA;        ///     Sets the  facet of the specified .&#xA;        /// &amp;lt;/summary&amp;gt;&#xA; &#xA;        /// The email address.&#xA;        /// The contact.&#xA;        /// The client.&#xA;        private static void SetEmail(string email, Contact contact, IXdbContext client)&#xA;        {&#xA;            if (string.IsNullOrEmpty(email))&#xA;                return;&#xA;            var emailFacet = contact.Emails();&#xA;            if (emailFacet == null)&#xA;            {&#xA;                emailFacet = new EmailAddressList(new EmailAddress(email, false), &amp;quot;Preferred&amp;quot;);&#xA;            }&#xA;            else&#xA;            {&#xA;                if (emailFacet.PreferredEmail?.SmtpAddress == email)&#xA;                    return;&#xA;                emailFacet.PreferredEmail = new EmailAddress(email, false);&#xA;            }&#xA;            client.SetEmails(contact, emailFacet);&#xA;        }&#xA;    }&#xA; &#xA;    public class UpdateContactData&#xA;    {&#xA;        public Guid FirstNameFieldId { get; set; }&#xA;        public Guid LastNameFieldId { get; set; }&#xA;        public Guid EmailFieldId { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This came from the blog post: &lt;a href=&quot;https://sitecorehacker.com/2018/02/22/svdd-using-forms-in-sitecore-9-and-xdb-together/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/2018/02/22/svdd-using-forms-in-sitecore-9-and-xdb-together/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-04-15T20:53:16.310" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18140" PostTypeId="2" ParentId="17905" CreationDate="2019-04-15T21:37:33.853" Score="3" Body="&lt;p&gt;@Gatogordo - Thanks for sharing.&lt;/p&gt;&#xA;&lt;p&gt;The easiest way we can fix this issue.&lt;/p&gt;&#xA;&lt;p&gt;Step 1: Copy the &amp;quot;messages_ko.js&amp;quot;  file and paste the to the &lt;code&gt;\sitecore modules\Web\ExperienceForms\scripts&lt;/code&gt; folder.&lt;/p&gt;&#xA;&lt;p&gt;Step 2: Give the &amp;quot;messages_ko.js&amp;quot; file name to the script field in Sitecore form and publish the item.&#xA;Ex: &lt;a href=&quot;https://i.stack.imgur.com/4sTn9.png%3Cbr/%3E&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4sTn9.png%3Cbr/%3E&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now it's reflecting the Korean language for email validation.&lt;/p&gt;&#xA;&lt;p&gt;this is the custom message&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VONc1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VONc1.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Custom message:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Hjdji.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Hjdji.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="4817" LastEditDate="2022-10-11T04:08:24.827" LastActivityDate="2022-10-11T04:08:24.827" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18142" PostTypeId="2" ParentId="18122" CreationDate="2019-04-15T22:11:54.290" Score="2" Body="&lt;p&gt;I recently had a similar issue.  Here is what I determined:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;If I went to &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt; and cleared the cache manually, everything was fine.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I determined that the Cache that was actually holding the Partial Design cache is the &lt;code&gt;SXA[CompositesXml]&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;I then noticed that there is a &lt;code&gt;Sitecore.XA.Feature.Composites.EventHandlers.CompositesXmlCacheClearer&lt;/code&gt; processor in the publish:end event.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;After digging into that code, it seems that the &lt;code&gt;SXA[CompositesXml]&lt;/code&gt; cache is only cleared if the partial design inherits from one of these templates:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/templates/Feature/Experience&#xA;Accelerator/Composites/Datasource/Composite Section&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/templates/Feature/Experience&#xA;Accelerator/Composites/Datasource/Composite Group&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/templates/Foundation/Experience&#xA;Accelerator/Multisite/Content/Page&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To resolve the issue, I inherited my Partial Design template from the &lt;code&gt;Page&lt;/code&gt; template above.  Then after publishing the partial design, the cache was properly cleared and the content was updated.&lt;/p&gt;&#xA;" OwnerUserId="436" LastActivityDate="2019-04-15T22:11:54.290" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18143" PostTypeId="1" AcceptedAnswerId="18166" CreationDate="2019-04-16T06:19:14.903" Score="1" ViewCount="532" Body="&lt;p&gt;We have developed a custom unsubscribe functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, instead of Unsubscribe.aspx which is by default, we would like the control to hit Newsletter.aspx. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The redirection is proper and with RedirectUrl.aspx along with ec_eq. However when it actually redirects to Newsletter.aspx the request does not have ec_eq in the query string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any configuration issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5249" LastEditorUserId="2056" LastEditDate="2019-04-16T06:42:24.627" LastActivityDate="2019-04-16T18:43:21.387" Title="EXM Custom Unsubscribe" Tags="|exm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18144" PostTypeId="2" ParentId="18130" CreationDate="2019-04-16T06:29:39.007" Score="4" Body="&lt;p&gt;You can use the Local Administrator Role to allow management of accounts within a domain. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore local administrators can log in to Sitecore and manage the security applications (including assigning security) within that domain. A local administrator cannot create domains or associate domains to users.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Read more in the &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-security-roles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Docs&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-04-16T06:29:39.007" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18145" PostTypeId="1" CreationDate="2019-04-16T07:12:14.457" Score="4" ViewCount="196" Body="&lt;p&gt;I am following below link for location filter and showing it on map.&#xA;&lt;a href=&quot;https://michaellwest.blogspot.com/2016/10/build-location-finder-search-using-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://michaellwest.blogspot.com/2016/10/build-location-finder-search-using-sxa.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I start searching in the text box, I get below error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pKVyF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pKVyF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It says : &lt;strong&gt;This API project is not authorised to use this API. Please ensure this API is activated in the Google Developer Console.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Need to confirm if, for locations to be populated in location finder, is it compulsory to check all the 3 options while generating the API key ? I am not sure if all the 3 options need to be checked. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/qkCVj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qkCVj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5030" LastEditorUserId="2056" LastEditDate="2019-04-16T07:26:14.557" LastActivityDate="2019-04-16T07:26:14.557" Title="What Google API keys are needed to make SXA Location Finder work?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18146" PostTypeId="2" ParentId="18145" CreationDate="2019-04-16T07:21:04.393" Score="3" Body="&lt;p&gt;Google Maps changed their APIs in June 2018. There are not free anymore as you have discovered and you need to create project and enable APIs there. Have no worries. You have 200$ limit that you can spent free of charge every month.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think that for Location finder you will need to have &quot;Places API&quot; enabled but to really unlock full functionality of SXA Maps component, follow below steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Head to your project api list:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://console.cloud.google.com/google/maps-apis/api-list?project_name&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://console.cloud.google.com/google/maps-apis/api-list?project_name&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but you will be redirected to a page with list of apis:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://console.cloud.google.com/google/maps-apis/new?project=project_name&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://console.cloud.google.com/google/maps-apis/new?project=project_name&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;which looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZTnLy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZTnLy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Enabled all APIs, with &quot;API&quot; at the end of their name + Places API for Web, like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hSdnI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hSdnI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;with this list of enabled APIs at the end:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E3bAF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E3bAF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After these changes finally SXA map component with Google Maps started to work:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FCFVd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FCFVd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once again. Have no worries enabling all of those APIs. You have 200$ month budget to spent and you are paying only for services that you use. You are not paying by number of enabled APIs!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details can be found here:&#xA;&lt;a href=&quot;https://tothecore.sk/2018/09/07/sitecore-sxa-set-google-maps-for-map-component-with-latest-pricing-changes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/09/07/sitecore-sxa-set-google-maps-for-map-component-with-latest-pricing-changes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-04-16T07:21:04.393" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18147" PostTypeId="1" CreationDate="2019-04-16T09:12:03.463" Score="-1" ViewCount="235" Body="&lt;p&gt;My requirement is to update specific field in the item using scheduler and publish only updated field alone. I don't want to publish whole item. What is the best way to achieve this? One option is I can create another separate item include field which will be updated through scheduler and publish. But I don't want to create separate item for single field. &lt;/p&gt;&#xA;" OwnerUserId="3588" LastActivityDate="2019-04-16T13:55:23.170" Title="How to publish only specific fields in the item?" Tags="|publishing|publishing-service|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18148" PostTypeId="1" CreationDate="2019-04-16T10:07:58.310" Score="0" ViewCount="544" Body="&lt;p&gt;I want to append a querystring which will have the value of current page's GUID when somebody clicks on a link. URL should look like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://some redirected url ?sc_itemid=139C9F7D-55A7-4065-9D7A-1958B3E41111&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;.&#xA;Please let me know the best way to achieve this. Is this possible without coding?&lt;/p&gt;&#xA;" OwnerUserId="5141" LastActivityDate="2023-12-22T00:05:55.650" Title="Append a querystring dynamically using sitecore SXA link component" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18149" PostTypeId="1" AcceptedAnswerId="18151" CreationDate="2019-04-16T10:28:20.790" Score="2" ViewCount="291" Body="&lt;p&gt;I created a new user role, and made this role member of Author. Then added access rights on several items. When I logged in using the newly created user and access content editor, I found out that the content tree is hidden. I want the Content Tree, Tempalte, Layout, and Media Library to be visible. I already added a permission to use them. But still it is hidden. Any advise on how to fix this?&lt;/p&gt;&#xA;" OwnerUserId="5307" LastActivityDate="2019-04-16T10:46:44.980" Title="How to make Content Tree visible with the newly created role?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18151" PostTypeId="2" ParentId="18149" CreationDate="2019-04-16T10:46:44.980" Score="5" Body="&lt;p&gt;These are special items because they are marked as hidden.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can either go to view in the content editor and check &quot;hidden items&quot;. That is on a user base.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/66tI4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/66tI4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second option is to unhide these folders, by going to the configure tab. Unprotect item, make item visible and protect item again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hR99d.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hR99d.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-04-16T10:46:44.980" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18152" PostTypeId="1" CreationDate="2019-04-16T10:52:34.087" Score="0" ViewCount="135" Body="&lt;p&gt;While doing component testing Variant &lt;code&gt;Preview floating bar&lt;/code&gt; is disappearing after page load in &lt;code&gt;Experience Editor&lt;/code&gt;. We are using &lt;code&gt;Sitecore 8.2 (rev. 170728)&lt;/code&gt;. Please let us know if anyone faced this issue and resolved it.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/OMvoC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OMvoC.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5292" LastEditorUserId="9862" LastEditDate="2021-12-08T07:15:01.437" LastActivityDate="2022-01-07T08:01:55.180" Title="AB Testing (Component Level) Variant Preview floating bar is disappearing after page load in Experience Editor" Tags="|experience-editor|personalization|content-testing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18153" PostTypeId="2" ParentId="18148" CreationDate="2019-04-16T10:57:20.643" Score="0" Body="&lt;p&gt;You can do it by changing the &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/rendering-variants.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rendering Variant&lt;/a&gt; for the Link rendering. Create your custom one and use Variant Template item there. Something like this: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ApNyp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ApNyp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which will generate following HTML:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E6vIh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E6vIh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-04-16T10:57:20.643" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18155" PostTypeId="2" ParentId="18087" CreationDate="2019-04-16T12:28:04.813" Score="0" Body="&lt;p&gt;TDS Update Packages &lt;em&gt;do&lt;/em&gt; perform deletes. Update packages have feature parity with the connector method (i.e. when you sync from Visual Studio)... anything you can do from Visual Studio is possible with Update Packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If a parent item is set to &lt;code&gt;KeepAllChildrenSynchronized&lt;/code&gt;, then in Visual Studio you would see a changed/deleted/added item beneath said parent. The same is true for update packages. Therefore, if you remove an item and then create an update package it will &lt;em&gt;attempt&lt;/em&gt; to delete it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The Caveat&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As @Dan Sinclair mentioned, this doesn't always work with templates. Just like with Content Editor, you cannot delete a template that has existing items using that template.  The same is true for update package installations. You would first need to delete any items associated with that template, then the update package would perform the deletion of the template (again, assuming the parent is set to &lt;code&gt;KeepAllChildrenSynchronized&lt;/code&gt;).&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-04-16T12:28:04.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18156" PostTypeId="2" ParentId="18147" CreationDate="2019-04-16T13:55:23.170" Score="0" Body="&lt;p&gt;One way to do it is to update the item field directly on the master and web database, this approach has it's draw backs, it may not trigger Cache clearing event or index update event on CD servers, but you can trigger that by code, also when publishing from master to web later, changes on the item in master db will override web db changes&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Database masterDB = &#xA;Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;Sitecore.Data.Database webDB = &#xA;Sitecore.Configuration.Factory.GetDatabase(&quot;web&quot;);&#xA;Sitecore.Data.Items.Item itemToUpdate = masterDB.GetItem(&quot;{ID}&quot;);&#xA;&#xA;//Begin Editing Sitecore Item in master db&#xA;itemToUpdate.Editing.BeginEdit();&#xA;itemToUpdate[&quot;Title&quot;] = &quot;New value&quot;;&#xA;itemToUpdate.Editing.EndEdit();&#xA;&#xA;itemToUpdate = webDB.GetItem(&quot;{ID}&quot;);&#xA;//Begin Editing Sitecore Item in web db&#xA;itemToUpdate.Editing.BeginEdit();&#xA;itemToUpdate[&quot;Title&quot;] = &quot;New value&quot;;&#xA;itemToUpdate.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2019-04-16T13:55:23.170" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18157" PostTypeId="1" AcceptedAnswerId="18181" CreationDate="2019-04-16T14:29:39.277" Score="0" ViewCount="788" Body="&lt;p&gt;We are on an upgraded instance and restoring &lt;code&gt;Core&lt;/code&gt; and &lt;code&gt;Master databases&lt;/code&gt; from an already running environment to a new one we are building. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the DB restore as soon as we start the app pool and trying to connect &lt;code&gt;Sitecore 9.0.2&lt;/code&gt; instance with these DBs, the status of databases is changing to &lt;code&gt;recovery_pending&lt;/code&gt;. We see the following exceptions in logs as well as on browser. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We confirm there are no space issues on the SQL server, Auto Grow is turned on, tried offline/online databases and the &lt;code&gt;ldf/mdf&lt;/code&gt; are not read-only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any inputs are highly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Exception processing remote events from database: master&#xA;  Exception: System.Data.SqlClient.SqlException Message: Database&#xA;  'Sitecore_Master_stg' cannot be opened due to inaccessible files or&#xA;  insufficient memory or disk space.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="5387" LastEditDate="2019-06-03T09:34:53.863" LastActivityDate="2019-06-03T09:34:53.863" Title="Core and Master databases keep falling under recovery_pending state" Tags="|sql-database|content-management|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18158" PostTypeId="2" ParentId="13074" CreationDate="2019-04-16T14:54:25.303" Score="1" Body="&lt;p&gt;Following list for features that exist in Azure that are not currently supported by your Sitecore provider:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Geospatial data types&lt;/li&gt;&#xA;&lt;li&gt;Indexers&lt;/li&gt;&#xA;&lt;li&gt;Suggestions&lt;/li&gt;&#xA;&lt;li&gt;Highlighters&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/sitecore-azure-search-overview.html#UUID-a5758458-5dbe-ed52-718c-6cd25db7348b_section-idm46485168419808&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Azure Search overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5404" LastEditorUserId="342" LastEditDate="2019-04-16T15:27:44.680" LastActivityDate="2019-04-16T15:27:44.680" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18160" PostTypeId="1" AcceptedAnswerId="18161" CreationDate="2019-04-16T15:14:06.280" Score="1" ViewCount="81" Body="&lt;p&gt;Sitecore 9.0.2, DEF 2.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a basic Static Method Value Reader set up:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4BvAL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4BvAL.png&quot; alt=&quot;Static Method Value Reader configuration in Sitecore&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is supposed to call the configured method here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Custom.Sc.DataExchange.Framework.ValueReaders&#xA;{&#xA;    public static class StaticMethods&#xA;    {&#xA;        public static string ReturnEmptyStringIfNull(object[] arguments)&#xA;        {&#xA;            if (arguments.Length &amp;lt;= 0)&#xA;                return string.Empty;&#xA;&#xA;            string input = arguments[0].ToString();&#xA;&#xA;            return input.Equals(&quot;NULL&quot;, StringComparison.OrdinalIgnoreCase) ? string.Empty : input;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But my static method code is never executed. Why not?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-16T15:14:06.280" Title="Why doesn't the Static Method Value Reader resolve my method in Data Exchange Framework?" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18161" PostTypeId="2" ParentId="18160" CreationDate="2019-04-16T15:14:06.280" Score="1" Body="&lt;p&gt;There are two issues:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The &lt;strong&gt;Type With Static Method&lt;/strong&gt; field needs an &lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/api/system.type.assemblyqualifiedname&quot; rel=&quot;nofollow noreferrer&quot;&gt;assembly-qualified name&lt;/a&gt; (e.g. &lt;code&gt;Custom.Sc.DataExchange.Framework.ValueReaders.StaticMethods, Custom.Sc.DataExchange&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The method in &lt;strong&gt;Method Name&lt;/strong&gt; must accept the same parameter type as is coming from your source in the mapping (e.g. &lt;code&gt;string&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string ReturnEmptyStringIfNull(string rawValue)&#xA;{&#xA;    if (rawValue == null)&#xA;        return null;&#xA;&#xA;    return rawValue.Equals(&quot;NULL&quot;, StringComparison.OrdinalIgnoreCase) ? string.Empty : rawValue;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-16T15:14:06.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18162" PostTypeId="1" AcceptedAnswerId="18163" CreationDate="2019-04-16T15:18:18.490" Score="5" ViewCount="443" Body="&lt;p&gt;Item statically/dynamically is use for creating sitecore item package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just for curiosity, want to know about purpose of File statically/dynamically option into Package Designer. In which scenario we can use this option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WBR2c.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WBR2c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-04-17T04:27:17.400" LastActivityDate="2019-04-17T04:27:17.400" Title="What are uses of &quot;Files statically&quot; option inside Package Designer?" Tags="|package-designer|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18163" PostTypeId="2" ParentId="18162" CreationDate="2019-04-16T15:32:23.680" Score="7" Body="&lt;p&gt;Files Statically/Dynamically will be used to package any files under your root website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you choose &quot;Files Dynamically&quot;, you will be getting various filter options, so if you don't know the source/files and want to search/filter and add them to the package then this will be the better option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you know the source of the files before packaging them then &quot;Files Statically&quot; will be the better option. You can simply choose the file root/folder and select the files to the package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI - According to &lt;a href=&quot;https://doc.sitecore.com/legacy-docs/SC75/package-designer-admin-guide-a4.pdf&quot; rel=&quot;noreferrer&quot;&gt;Sitecore documentations&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You should use static sources when you want to include all the items&#xA;  or files that are stored under a specific node or folder in the&#xA;  content tree or if you only want to include a few specific items or&#xA;  files. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;You should use dynamic sources when the items or files that you&#xA;  want to include cannot be easily selected, for example, if you want to&#xA;  include everything created after a certain date.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-04-16T15:48:30.240" LastActivityDate="2019-04-16T15:48:30.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18164" PostTypeId="1" CreationDate="2019-04-16T15:47:07.753" Score="2" ViewCount="957" Body="&lt;p&gt;I have DTAP environments up and running for this client I'm working for and want to improve the deployment of releases by reducing the downtime / first loadtime.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have read up on blue/green deployments using Azure deployment slots and application warm up before swapping, but am left with a question about how I should approach installing Sitecore 9.0.2 to a new deployment slot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I just create an ARM template for only deploying Sitecore to the deployment slot? Is this even a possibility?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would greatly appreciate some pointers into the right direction on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My reading sources:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://onelittlespark.bartverdonck.be/part-5-deployment-slots/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://onelittlespark.bartverdonck.be/part-5-deployment-slots/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.robhabraken.nl/index.php/2740/blue-green-sitecore-deployments-on-azure/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.robhabraken.nl/index.php/2740/blue-green-sitecore-deployments-on-azure/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.robhabraken.nl/index.php/2929/hot-swappin/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.robhabraken.nl/index.php/2929/hot-swappin/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="4927" LastActivityDate="2019-06-19T19:41:23.253" Title="How to deploy Sitecore to a new deployment slot on an existing environment?" Tags="|azure|paas|deployment|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18165" PostTypeId="1" CreationDate="2019-04-16T16:52:00.687" Score="1" ViewCount="433" Body="&lt;p&gt;How many certificates need to be bought for XP Scaled (XP1) Sitecore 9.1 distributed (on premises) architecture   .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i install in distributed architecture in single server, i see each process having created its own certificate. 12 process 12 certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My query is when we moved production do we need have certificate for each process below&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;xxx.sitecore.CM, &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.identityserver&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.CD&lt;/li&gt;&#xA;&lt;li&gt;xx.sitecore.collection &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.ma&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.reporting &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.processingEngine&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.refdata&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.reporting&lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.search &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.rep &lt;/li&gt;&#xA;&lt;li&gt;xxx.sitecore.prc&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;i could see in document server certificate to be required for following&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Identity server&lt;/li&gt;&#xA;&lt;li&gt;Processing &lt;/li&gt;&#xA;&lt;li&gt;Reporting &lt;/li&gt;&#xA;&lt;li&gt;xConnect Collection&lt;/li&gt;&#xA;&lt;li&gt;xConnect Collection Search &lt;/li&gt;&#xA;&lt;li&gt;xDB Reference Data &#xA;-xDB Automation Operations &lt;/li&gt;&#xA;&lt;li&gt;xDB Automation Reporting&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Cortex™ Reporting Service &lt;/li&gt;&#xA;&lt;li&gt;xDB Automation Operations &#xA;and SOLR&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Can any one please confirm?&lt;/p&gt;&#xA;" OwnerUserId="5123" LastActivityDate="2019-04-16T16:52:00.687" Title="XP Scaled (XP1) Sitecore 9.1 distributed (on premises) architecture certificate" Tags="|xconnect|sitecore-install-framework|installation|" AnswerCount="0" CommentCount="7" ClosedDate="2019-04-17T18:53:44.253" ContentLicense="CC BY-SA 4.0" />
  <row Id="18166" PostTypeId="2" ParentId="18143" CreationDate="2019-04-16T17:27:30.533" Score="3" Body="&lt;p&gt;The &lt;strong&gt;ec_eq&lt;/strong&gt; query string parameter is the encrypted query string and is handled via the RedirectUrl.aspx process which handles the decryption of those parameters.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's more important is that you want to carry over query parameters that are in the decrypted in the &lt;code&gt;&amp;lt;redirectUrl&amp;gt;&lt;/code&gt; pipeline.  Because you are creating a custom Unsubscribe page that is NOT called &lt;strong&gt;Unsubscribe.aspx&lt;/strong&gt; you need to specify which parameters you want to carry over in the &lt;code&gt;&amp;lt;internalCarryoverFields&amp;gt;&lt;/code&gt; processor of the &lt;code&gt;&amp;lt;redirectUrl&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;redirectUrl&amp;gt;&#xA;&amp;lt;!--&#xA; Retrieves the message item associated with the redirect event. &#xA;--&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.GetMessage, Sitecore.EmailCampaign.Cd&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;!--&#xA; Determines whether the link provided in the request is a reference to a page on the local web site. &#xA;--&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CheckInternalLink, Sitecore.EmailCampaign.Cd&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;&amp;lt;!--  Constructs the URL to redirect the request to.  --&amp;gt;&#xA;&amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.SetRedirectToUrl, Sitecore.EmailCampaign.Cd&quot; resolve=&quot;true&quot;&amp;gt;&#xA;&amp;lt;internalCarryoverFields hint=&quot;list:AddInternalCarryoverField&quot;&amp;gt;&#xA;&amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;&amp;lt;param ref=&quot;settings/setting[@name='QueryStringKey.MessageId']/@value&quot; desc=&quot;fieldKey&quot;/&amp;gt;&#xA;&amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;&#xA;SubscriptionPreferences.ashx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&#xA;&amp;lt;/param&amp;gt;&#xA;&amp;lt;/carryoverField&amp;gt;&#xA;&amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;&amp;lt;param ref=&quot;settings/setting[@name='QueryStringKey.AnalyticsContactId']/@value&quot; desc=&quot;fieldKey&quot;/&amp;gt;&#xA;&amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;&#xA;SubscriptionPreferences.ashx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&#xA;&amp;lt;/param&amp;gt;&#xA;&amp;lt;/carryoverField&amp;gt;&#xA;&amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;&amp;lt;param ref=&quot;settings/setting[@name='QueryStringKey.ContactIdentifierSource']/@value&quot; desc=&quot;fieldKey&quot;/&amp;gt;&#xA;&amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;&#xA;SubscriptionPreferences.ashx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&#xA;&amp;lt;/param&amp;gt;&#xA;&amp;lt;/carryoverField&amp;gt;&#xA;&amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;&amp;lt;param ref=&quot;settings/setting[@name='QueryStringKey.ContactIdentifierIdentifier']/@value&quot; desc=&quot;fieldKey&quot;/&amp;gt;&#xA;&amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;&#xA;SubscriptionPreferences.ashx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&#xA;&amp;lt;/param&amp;gt;&#xA;&amp;lt;/carryoverField&amp;gt;&#xA;&amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;&amp;lt;param ref=&quot;settings/setting[@name='QueryStringKey.Campaign']/@value&quot; desc=&quot;fieldKey&quot;/&amp;gt;&#xA;&amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;&#xA;SubscriptionPreferences.ashx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&#xA;&amp;lt;/param&amp;gt;&#xA;&amp;lt;/carryoverField&amp;gt;&#xA;&amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;&amp;lt;param ref=&quot;settings/setting[@name='QueryStringKey.TargetLanguage']/@value&quot; desc=&quot;fieldKey&quot;/&amp;gt;&#xA;&amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;&#xA;SubscriptionPreferences.ashx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&#xA;&amp;lt;/param&amp;gt;&#xA;&amp;lt;/carryoverField&amp;gt;&#xA;&amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;&amp;lt;param ref=&quot;settings/setting[@name='QueryStringKey.TestValueIndex']/@value&quot; desc=&quot;fieldKey&quot;/&amp;gt;&#xA;&amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;&#xA;SubscriptionPreferences.ashx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&#xA;&amp;lt;/param&amp;gt;&#xA;&amp;lt;/carryoverField&amp;gt;&#xA;&amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;&amp;lt;param ref=&quot;settings/setting[@name='QueryStringKey.EmailHistoryEntryId']/@value&quot; desc=&quot;fieldKey&quot;/&amp;gt;&#xA;&amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;&#xA;SubscriptionPreferences.ashx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&#xA;&amp;lt;/param&amp;gt;&#xA;&amp;lt;/carryoverField&amp;gt;&#xA;&amp;lt;/internalCarryoverFields&amp;gt;&#xA;&amp;lt;/processor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Adding your Newsletter.aspx page to the &lt;strong&gt;urlPattern&lt;/strong&gt; parameters will allow the fields you are looking for in your Newsletter.aspx page to be available.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-04-16T17:27:30.533" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18167" PostTypeId="1" AcceptedAnswerId="18174" CreationDate="2019-04-16T17:50:33.833" Score="3" ViewCount="89" Body="&lt;p&gt;In a theoretical scenario on which I have &lt;strong&gt;two different indexes&lt;/strong&gt; (different types and behaviors) which will be &lt;strong&gt;crawling the same root &lt;code&gt;/Sitecore/Content&lt;/code&gt;&lt;/strong&gt;, can this cause weird behaviors or some kind of conflict?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can think of any, but I'd like to hear from the community if someone knows or experienced something in the past.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-04-17T05:54:57.173" Title="Can I have different index's crawlers with the same root item and database?" Tags="|indexing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18168" PostTypeId="2" ParentId="18164" CreationDate="2019-04-16T18:37:25.940" Score="1" Body="&lt;p&gt;There are a few approaches. At our company we have an ARM template just to create the staging slot (one time) and we use azure app service deploy tasks to deploy the web deployment packages to the staging slot. Afterwards, the swap can be executed. ALL is configured in Azure DevOps pipelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info can be found here: &lt;a href=&quot;https://blog.baslijten.com/how-to-deploy-sitecore-web-deploy-packages-using-the-vsts-azure-app-service-task/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.baslijten.com/how-to-deploy-sitecore-web-deploy-packages-using-the-vsts-azure-app-service-task/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="71" LastEditorUserId="556" LastEditDate="2019-06-19T19:41:23.253" LastActivityDate="2019-06-19T19:41:23.253" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18169" PostTypeId="2" ParentId="18143" CreationDate="2019-04-16T18:43:21.387" Score="-1" Body="&lt;p&gt;I am developing a similar functionality where I will have an Unsubscribe link on my newsletter emails which should redirect to my page where the contact will be unsubscribed from a third-party system first and if the task is successful then it should continue with unsubscribe on our system. This is how I achieved this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created a controller rendering.&lt;/li&gt;&#xA;&lt;li&gt;Added rendering to my custom page. &lt;/li&gt;&#xA;&lt;li&gt;Changed the unsubscribe link to point this new page.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In the model, I have used the below code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string EmailId { get; set; }&#xA;        public string HostName { get; set; }&#xA;        public Language Language { get; set; }&#xA;&#xA;&#xA;        public string UnsubscribeContactsAndRedirect(HttpRequestBase request)&#xA;        {&#xA;            if (!Sitecore.Context.PageMode.IsExperienceEditor &amp;amp;&amp;amp; !Sitecore.Context.PageMode.IsExperienceEditorEditing)&#xA;            {&#xA;                EmailId = Tracker.Current.Contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;)&#xA;                    .Entries[Tracker.Current.Contact.GetFacet&amp;lt;IContactEmailAddresses&amp;gt;(&quot;Emails&quot;).Preferred].SmtpAddress;&#xA;                if (request.Url != null) HostName = request.Url.AbsoluteUri.Replace(request.Url.LocalPath, &quot;&quot;);&#xA;                Language = GetSiteDefaultLanguage();&#xA;&#xA;                if (true)//will be replaced by Third-party call&#xA;                {&#xA;                    Guid messageId = GetMessageId();&#xA;                    if (messageId == Guid.Empty)&#xA;                    {&#xA;                        return &quot;/&quot;; // Error Page for unsuccessful unsubscribe&#xA;                    }&#xA;                    string output = ClientApi.UnsubscribeFromAll(new XdbContactId(Tracker.Current.Contact.ContactId), messageId);&#xA;                    return output;&#xA;                }&#xA;            }&#xA;            return &quot;/&quot;;&#xA;        }&#xA;&#xA;&#xA;        private Guid GetMessageId()&#xA;        {&#xA;            NewsletterSettingsItem newsletterSettings =&#xA;                Core.Site.Settings.GetSiteSettingCustomItem&amp;lt;NewsletterSettingsItem&amp;gt;(Sitecore.Context.Item);&#xA;&#xA;            if (newsletterSettings != null)&#xA;            {&#xA;                if (NewsletterSettingsItem.IsValid(newsletterSettings))&#xA;                {&#xA;                    if (newsletterSettings.ConfirmSubscriptionMail?.Item != null)&#xA;                        if (!newsletterSettings.ConfirmSubscriptionMail.Item.ID.IsNull)&#xA;                            return newsletterSettings.ConfirmSubscriptionMail.Item.ID.ToGuid();&#xA;                }&#xA;            }&#xA;            return Guid.Empty;&#xA;        }&#xA;&#xA;&#xA;        private Language GetSiteDefaultLanguage()&#xA;        {&#xA;            var siteDefaultLanguageName = string.IsNullOrEmpty(Sitecore.Context.Site.Properties[&quot;language&quot;])&#xA;                ? &quot;en&quot;&#xA;                : Sitecore.Context.Site.Properties[&quot;language&quot;];&#xA;&#xA;            var siteDefaultLanguage = LanguageManager.GetLanguage(siteDefaultLanguageName);&#xA;            return siteDefaultLanguage;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the controller, I have this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UnsubscribeContactsModel unsubscribeContactsModel = new UnsubscribeContactsModel();&#xA;            return RedirectPermanent(unsubscribeContactsModel.UnsubscribeContactsAndRedirect(Request));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am reading required values either from Context or my newsletter settings item that is storing some other important settings for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="5405" LastActivityDate="2019-04-16T18:43:21.387" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18171" PostTypeId="1" AcceptedAnswerId="18172" CreationDate="2019-04-17T01:34:39.187" Score="1" ViewCount="6048" Body="&lt;p&gt;I have here a sample content. Now I want to get all the Article Template under the Folder.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore&#xA;    Content&#xA;        Folder&#xA;            Article1&#xA;            Article2&#xA;            NewsFolder1&#xA;                Article3&#xA;                Article4&#xA;            NewsFolder2&#xA;            Article5&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have here a code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$query = &quot;fast:/sitecore/content/Folder/*[@@TemplateID='{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}']&quot; &#xA;$items = Get-Item -Path &quot;master:&quot; -Query $query | Get-ChildItem -rec&#xA;$items.Paths.Fullpath&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I will only query the first level under Folder (Article1, Article2, and Article5). Can someone advise me how to include in the result the Articles under the NewsFolders?&lt;/p&gt;&#xA;" OwnerUserId="5307" LastEditorUserId="5307" LastEditDate="2019-04-17T01:41:36.890" LastActivityDate="2019-04-18T15:12:09.570" Title="How to get ALL specific child-items in a folder using fast query?" Tags="|powershell-extensions|powershell|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18172" PostTypeId="2" ParentId="18171" CreationDate="2019-04-17T04:31:54.817" Score="4" Body="&lt;p&gt;As Micheal West said, using fast query is not a recommended option.&#xA;Answer for your question is &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$query = &quot;fast:/sitecore/content/Folder//*[@@TemplateID='{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}']&quot;&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;use //* to get the descendants.&lt;/p&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="95" LastEditDate="2019-04-17T15:14:37.703" LastActivityDate="2019-04-17T15:14:37.703" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18173" PostTypeId="1" AcceptedAnswerId="18235" CreationDate="2019-04-17T04:45:16.427" Score="5" ViewCount="992" Body="&lt;p&gt;I am implementing Sitecore jss on Sitecore version 9.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering if there is a way to specify the image size (width/height) when querying using GraphQl.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my current query which is returning an image too large for my site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;GraphQl Query&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query ($datasource: String){&#xA;    item (path:$datasource){&#xA;    field(name:&quot;Image&quot;)&#xA;    {&#xA;      jss&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;GraphQl Response&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;data&quot;: {&#xA;    &quot;item&quot;: {&#xA;      &quot;field&quot;: {&#xA;        &quot;jss&quot;: {&#xA;          &quot;value&quot;: {&#xA;            &quot;src&quot;: &quot;http://mydomain/-/media/image.png?h=1560&amp;amp;w=900&amp;amp;hash=FB9B94EFC9562A5265FDFD2123D9E044&quot;,&#xA;            &quot;alt&quot;: &quot;&quot;,&#xA;            &quot;width&quot;: &quot;900&quot;,&#xA;            &quot;height&quot;: &quot;1560&quot;,&#xA;            &quot;style&quot;: &quot;margin: 0px 0px&quot;&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-04-22T08:53:12.493" Title="Graphql image size" Tags="|jss|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18174" PostTypeId="2" ParentId="18167" CreationDate="2019-04-17T05:54:57.173" Score="5" Body="&lt;p&gt;There is absolutely no harm in doing this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;sitecore_master_index&lt;/code&gt; root is set to &lt;code&gt;/sitecore&lt;/code&gt; and all the other indexes which operates on &lt;code&gt;master&lt;/code&gt; database have their roots set to one of the &lt;code&gt;/sitecore&lt;/code&gt; item descendants. It works just fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create another index with &lt;code&gt;/sitecore&lt;/code&gt; as a root without any issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can imagine having a bucket with different type of items in it and having multiple indexes with their root set to the bucket root, one of the indexing only items which use templateA and another indexing only another template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question is: &lt;strong&gt;&quot;is it worth to maintain 2 indexes instead of having 1 index and then getting what you want from the index using more specific queries?&quot;&lt;/strong&gt;. But the answer is &lt;strong&gt;&quot;it depends&quot;&lt;/strong&gt; and this may a very good solution in your scenario.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-04-17T05:54:57.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18175" PostTypeId="2" ParentId="18157" CreationDate="2019-04-17T06:10:17.937" Score="0" Body="&lt;p&gt;Perform below steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Take backup of your SQL Database files (.mdf and .ldf) from windows installation folder path (&lt;code&gt;C:\Program Files\Microsoft SQL Server\MSSQL13.SA\MSSQL\DATA&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Remove database from SQL server.&lt;/li&gt;&#xA;&lt;li&gt;Attached/Restore database again from backup files (steps 1)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="70" LastEditDate="2019-04-17T12:20:39.473" LastActivityDate="2019-04-17T12:20:39.473" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18177" PostTypeId="2" ParentId="18119" CreationDate="2019-04-17T09:09:52.463" Score="1" Body="&lt;p&gt;Ensure that the location of the Temp folder is in your &lt;code&gt;\Website&lt;/code&gt; folder. use a relative path. For Sitecore 9 you can specify that in the &lt;code&gt;FXM.BundledJSFilesPath&lt;/code&gt; setting in the &lt;code&gt;Sitecore.FXM.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably the same for Sitecore 8.2, Else take a look at your config files and search for &lt;code&gt;d:\local\temp&lt;/code&gt; you can also use the &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; url to take a look at your config. See &lt;a href=&quot;https://community.sitecore.net/developers/f/10/p/8501/17283&quot; rel=&quot;nofollow noreferrer&quot;&gt;FXM issues&lt;/a&gt; looks like old Sitecore versions use this variable &lt;code&gt;&amp;lt;sc.variable name=&quot;tempFolder&quot; value=&quot;/temp&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-04-17T09:22:23.020" LastActivityDate="2019-04-17T09:22:23.020" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18178" PostTypeId="1" AcceptedAnswerId="18200" CreationDate="2019-04-17T09:26:19.877" Score="1" ViewCount="376" Body="&lt;p&gt;We are on Sitecore version 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to disable automatic save and reloading the page to the experience editor after editing the component parameter in EditFrame?&lt;/p&gt;&#xA;" OwnerUserId="2471" LastEditorUserId="1671" LastEditDate="2019-04-18T19:49:35.250" LastActivityDate="2019-04-18T19:49:35.250" Title="Auto save after EditFrame" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18179" PostTypeId="1" CreationDate="2019-04-17T12:31:46.063" Score="1" ViewCount="137" Body="&lt;p&gt;Sitecore 8.1 rev. 160302.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking into my logfiles, there are lots of errors such as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Job Started: Index_Update_IndexName=RSearch&#xA;...&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: System.Web&#xA;at System.Web.Security.Roles.IsUserInRole(string username, string roleName)&#xA;at Sitecore.Security.Accounts.RolesInRoleProvider.IsUserInRole(User user, Role targetRole, Boolean includeIndirectMemberships)&#xA;...&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is just about everytime an index rebuild is triggered. Its almost identical to this: &lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/549&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/549&lt;/a&gt; that seems to remain unresolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've been over the security/roles with a fine-tooth comb and come up with nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help will be massively appreciated. ty&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fixed with the help of Sitecore support. It turned out to be a conflict with .net 4.5.2 and IIS tracing. In brief, the Sitecore crawler ends up in System.Web.Security.Roles.IsUserInRole where there are these lines of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool IsUserInRole(string username, string roleName)&#xA;{&#xA;    bool flag3;&#xA;    if (HostingEnvironment.IsHosted &amp;amp;&amp;amp; EtwTrace.IsTraceEnabled(4, 8))&#xA;    {&#xA;        EtwTrace.Trace(EtwTraceType.ETW_TYPE_ROLE_BEGIN, HttpContext.Current.WorkerRequest);&#xA;    }&#xA;    ...&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Basically, there's no null guard on HttpContext.Current which turns out to be null for the crawler. With IIS Failed Request Tracing enabled, the code ventured into the if branch and choked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fixes are: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Turn IIS tracing off OR  &lt;/li&gt;&#xA;&lt;li&gt;Turn down the verbosity of IIS tracing from VERBOSE to WARNING OR  &lt;/li&gt;&#xA;&lt;li&gt;Upgrade to .Net Framework 4.6.1 onwards (this contains a null guard&#xA;check on HttpContext.Current in the System.Web DLL)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2046" LastEditorUserId="2046" LastEditDate="2019-05-31T15:10:53.153" LastActivityDate="2019-05-31T15:10:53.153" Title="Security Error Rebuilding Indexes" Tags="|security|indexing|lucene|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18180" PostTypeId="1" AcceptedAnswerId="18215" CreationDate="2019-04-17T13:39:44.903" Score="1" ViewCount="1231" Body="&lt;p&gt;I have an instance running SxC 9.0 update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was working on an API which had to be consumed by a 3rd party application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you provide some input for using token bear mechanism to protect my API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know the approach will be different from the latest versions of sitecore(eg, 9.1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3658" LastActivityDate="2019-04-22T09:04:15.417" Title="JWT tokens for authentication for 9.0 UPDATE 1" Tags="|security|sitecore-api|webapi|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18181" PostTypeId="2" ParentId="18157" CreationDate="2019-04-17T16:29:26.713" Score="3" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Disclaimer: Since it turned out to be an access violation issue on SQL&#xA;  server and not related to Sitecore not sure if this question belongs&#xA;  to this community, I leave that up to the moderators. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue Summary:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After a restart of SQL Server 2016, Core and Master databases are online and accessible on SQL Server.  When the application starts, these two databases go into  recovery pending state and cannot be accessed.  Once SQL Server is restarted again they come back online.  Each time the databases go into recovery pending, SQL Server issues a stack dump.  After review of the dump, I have found an EXCEPTION_ACCESS_VIOLATION in function CSecCtxtCacheStore. We see the following error logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-04-15 11:35:15.00 spid67      SqlDumpExceptionHandler: Process 67 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.&#xA;2019-04-15 11:35:15.00 spid67      * *******************************************************************************&#xA;2019-04-15 11:35:15.00 spid67      *&#xA;2019-04-15 11:35:15.00 spid67      * BEGIN STACK DUMP:&#xA;2019-04-15 11:35:15.00 spid67      *   04/15/19 11:35:15 spid 67&#xA;2019-04-15 11:35:15.00 spid67      *&#xA;2019-04-15 11:35:15.00 spid67      *&#xA;2019-04-15 11:35:15.00 spid67      *   Exception Address = 00007FFD7876F4AE Module(sqllang+000000000000F4AE)&#xA;2019-04-15 11:35:15.00 spid67      *   Exception Code    = c0000005 EXCEPTION_ACCESS_VIOLATION&#xA;2019-04-15 11:35:15.00 spid67      *   Access Violation occurred reading address 0000000000001278&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;An Access Violation (AV) occurs when a program performs an action on a memory address however that action is not allowed. Memory page will be set with proper memory protection option during allocating or protecting calls. If an application access a memory address which does not align with the page protection for that memory, Access Violation exception will be thrown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The most common AV pattern will be a read or write to address 0 (zero). A common programming issue involves several scenarios where the programmer expects a value to be a valid address, but for whatever reason it did not get set properly (e.g. a function failed and returned 0 or null instead of the expected value).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We raised a case with Microsoft Support and they identified it &lt;a href=&quot;https://support.microsoft.com/en-us/help/4470991/access-violation-executing-granular-audit-policy-for-dml-in-sql-server&quot; rel=&quot;nofollow noreferrer&quot;&gt;as a known problem with SQL Server 2016&lt;/a&gt;. Support suggested us to apply a cumulative update which resolved the issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://support.microsoft.com/en-us/help/4488536/cumulative-update-6-for-sql-server-2016-sp2&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.microsoft.com/en-us/help/4488536/cumulative-update-6-for-sql-server-2016-sp2&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2019-04-17T16:29:26.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18182" PostTypeId="1" AcceptedAnswerId="18204" CreationDate="2019-04-17T17:53:58.613" Score="5" ViewCount="309" Body="&lt;p&gt;I'm working on a scenario that requires I use session state in API calls. I found an article that discusses the setup, &lt;a href=&quot;https://www.c-sharpcorner.com/UploadFile/dacca2/web-api-with-ajax-handle-session-in-web-api/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.c-sharpcorner.com/UploadFile/dacca2/web-api-with-ajax-handle-session-in-web-api/&lt;/a&gt;, but it requires hooking into the &lt;code&gt;Application_PostAuthorizeRequest&lt;/code&gt; function of &lt;code&gt;global.asax&lt;/code&gt;. I'd rather not have a &lt;code&gt;global.asax&lt;/code&gt; modification, and I know it's common to have &lt;code&gt;Application_Start&lt;/code&gt; content called using the &lt;code&gt;Initialize&lt;/code&gt; pipeline. Does anyone know of a similar pipeline for &lt;code&gt;Application_PostAuthorizeRequest&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="70" LastEditDate="2019-04-23T10:10:12.103" LastActivityDate="2019-04-23T10:10:12.103" Title="Accessing Application_PostAuthorizeRequest via pipeline" Tags="|pipelines|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18183" PostTypeId="2" ParentId="2487" CreationDate="2019-04-17T19:41:10.467" Score="0" Body="&lt;p&gt;I know this is post is a couple years old already but in case there are others looking, these are the steps I took to achieve this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find the Workbox.xml file \sitecore\shell\Applications\Workbox\Workbox.xml located in the IIS folder&lt;/li&gt;&#xA;&lt;li&gt;Copy it to \sitecore\shell\override&lt;/li&gt;&#xA;&lt;li&gt;Change the &lt;code&gt;CodeBeside&lt;/code&gt; node to point to a custom &lt;code&gt;Class, Namespace&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create a your class that inherits from &lt;code&gt;Sitecore.Shell.Applications.Workbox.WorkboxForm&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Override the &lt;code&gt;DisplayState()&lt;/code&gt; method like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void DisplayState(IWorkflow workflow, WorkflowState state, StateItems stateItems, Control control, int offset, int pageSize)&#xA;{&#xA;    // call the base class method&#xA;    base.DisplayState(workflow, state, regionalStateItems, control, offset, pageSize);&#xA;    // get the control containing the header with the number of items&#xA;    Sitecore.Web.UI.HtmlControls.Section xmlControl = control.Parent as &#xA;    Sitecore.Web.UI.HtmlControls.Section;&#xA;    // set the header to whatever text you want&#xA;    xmlControl.Header = &quot;Anything you want&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5411" LastEditorUserId="342" LastEditDate="2019-04-17T20:17:01.200" LastActivityDate="2019-04-17T20:17:01.200" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18184" PostTypeId="1" AcceptedAnswerId="18185" CreationDate="2019-04-17T19:59:34.423" Score="0" ViewCount="94" Body="&lt;p&gt;Can we access Marketing Automation module in sitecore 9 with a &lt;code&gt;Marketer&lt;/code&gt; role? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to access this module as the admin user. But my marketing team is not able to access this module with &lt;code&gt;Marketer&lt;/code&gt; role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What role should be used to access this?&lt;/p&gt;&#xA;" OwnerUserId="4722" LastEditorUserId="70" LastEditDate="2019-04-23T10:07:15.840" LastActivityDate="2019-04-23T10:07:42.457" Title="Marketing Automation module in Sitecore 9 with Marketer role" Tags="|marketing-automation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18185" PostTypeId="2" ParentId="18184" CreationDate="2019-04-17T20:38:47.060" Score="5" Body="&lt;p&gt;Not clear what the Marketer role which you mentioned above, but to your question to access &lt;strong&gt;Marketing Automation module&lt;/strong&gt;, you need to have the &lt;strong&gt;&quot;Marketing Automation Editors&quot;&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can refer the detail of each and every role in Sitecore documentation &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-security-roles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="70" LastEditDate="2019-04-23T10:07:42.457" LastActivityDate="2019-04-23T10:07:42.457" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18186" PostTypeId="1" CreationDate="2019-04-18T05:28:22.907" Score="5" ViewCount="1007" Body="&lt;p&gt;I want to patch only the &lt;code&gt;ForceDownload&lt;/code&gt; attribute in below config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;mediaLibrary&amp;gt;&#xA;    &amp;lt;mediaTypes&amp;gt;&#xA;        &amp;lt;mediaType name=&quot;PDF file&quot; extensions=&quot;pdf&quot;&amp;gt;&#xA;            &amp;lt;mimeType&amp;gt;application/pdf&amp;lt;/mimeType&amp;gt;&#xA;            &amp;lt;forceDownload&amp;gt;true&amp;lt;/forceDownload&amp;gt;&#xA;            &amp;lt;sharedTemplate&amp;gt;system/media/unversioned/pdf&amp;lt;/sharedTemplate&amp;gt;&#xA;            &amp;lt;versionedTemplate&amp;gt;system/media/versioned/pdf&amp;lt;/versionedTemplate&amp;gt;&#xA;        &amp;lt;/mediaType&amp;gt;&#xA;    &amp;lt;/mediaTypes&amp;gt;&#xA;&amp;lt;/mediaLibrary&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please let me know, how to write the patch to make &lt;code&gt;ForceDownload&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="5059" LastEditorUserId="277" LastEditDate="2019-04-18T07:50:35.257" LastActivityDate="2019-08-09T14:40:10.783" Title="Patch forceDownload in Sitecore media types for PDF files" Tags="|configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18187" PostTypeId="2" ParentId="18186" CreationDate="2019-04-18T05:48:39.370" Score="3" Body="&lt;p&gt;You can remove the original &lt;code&gt;forceDownload&lt;/code&gt; element and insert new one with &lt;code&gt;false&lt;/code&gt; value.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a patch file called &lt;code&gt;MediaType.Pdf.Disable.ForceDownload.config&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Edit the file and enter the following xml:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;mediaLibrary&amp;gt;&#xA;      &amp;lt;mediaTypes&amp;gt;&#xA;        &amp;lt;mediaType name=&quot;PDF file&quot; extensions=&quot;pdf&quot;&amp;gt;&#xA;          &amp;lt;forceDownload&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/forceDownload&amp;gt;&#xA;          &amp;lt;forceDownload&amp;gt;false&amp;lt;/forceDownload&amp;gt;&#xA;        &amp;lt;/mediaType&amp;gt;&#xA;      &amp;lt;/mediaTypes&amp;gt;&#xA;    &amp;lt;/mediaLibrary&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Copy the file to &lt;code&gt;App_Config\Include&lt;/code&gt; folder of your website or any of the subfolders of that folder.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More about patching can be read in the article:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/use-a-patch-file-to-customize-the-sitecore-configuration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/use-a-patch-file-to-customize-the-sitecore-configuration.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-04-18T07:48:35.697" LastActivityDate="2019-04-18T07:48:35.697" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18189" PostTypeId="1" CreationDate="2019-04-18T08:36:39.793" Score="-1" ViewCount="308" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SBYTz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SBYTz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i activate the Marketing automation campaigns this error appear &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;The requested resource was not found.&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This issue appears after an upgrade from Sitecore 9.0 to 9.1. I compared the configs and dlls with a clean instance and they all the same.&lt;/p&gt;&#xA;" OwnerUserId="5416" LastEditorUserId="70" LastEditDate="2019-04-23T10:05:26.230" LastActivityDate="2019-12-17T15:37:29.403" Title="Activate Marketing Automation campaigns in Sitecore 9.1 is giving us “api 404 error”" Tags="|marketing-automation|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18191" PostTypeId="2" ParentId="18186" CreationDate="2019-04-18T12:11:54.863" Score="7" Body="&lt;p&gt;A slightly shortened version of the config Marek Musielak suggested can be achieved using &lt;code&gt;patch:instead&lt;/code&gt; to replace the node with a new one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;mediaLibrary&amp;gt;&#xA;      &amp;lt;mediaTypes&amp;gt;&#xA;        &amp;lt;mediaType name=&quot;PDF file&quot; extensions=&quot;pdf&quot;&amp;gt;&#xA;          &amp;lt;forceDownload patch:instead=&quot;forceDownload&quot;&amp;gt;false&amp;lt;/forceDownload&amp;gt;&#xA;        &amp;lt;/mediaType&amp;gt;&#xA;      &amp;lt;/mediaTypes&amp;gt;&#xA;    &amp;lt;/mediaLibrary&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastActivityDate="2019-04-18T12:11:54.863" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18193" PostTypeId="1" AcceptedAnswerId="18197" CreationDate="2019-04-18T12:55:40.450" Score="2" ViewCount="138" Body="&lt;p&gt;Templates &lt;code&gt;A&lt;/code&gt; and &lt;code&gt;B&lt;/code&gt; both inherit from Templates &lt;code&gt;C&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an item that can have either an &lt;code&gt;A&lt;/code&gt; or a &lt;code&gt;B&lt;/code&gt; as parent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I use the &lt;code&gt;[SitecoreParent]&lt;/code&gt; attribute in order to retrieve either according to the circumstances?&#xA;I tried with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreParent]&#xA;public C Item { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but it's always null.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="342" LastEditDate="2019-04-18T15:37:23.693" LastActivityDate="2019-05-09T14:05:14.590" Title="Dealing with different types of SitecoreParent" Tags="|glass-mapper|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18194" PostTypeId="1" CreationDate="2019-04-18T13:58:23.100" Score="0" ViewCount="1052" Body="&lt;p&gt;I am getting error only for Publish related items. I have installed &lt;strong&gt;sitecore.support.13144.dll&lt;/strong&gt; also. No luck after that.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Job started: Publish to 'web'|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Sitecore.XA.Foundation.Publication.Pipelines.GetItemReferences.AddReferencedItemsToQueue.AddAllReferences(Item item, PublishOptions options)&#xA;   at Sitecore.XA.Foundation.Publication.Pipelines.GetItemReferences.AddReferencedItemsToQueue.GetReferencedItems(PublishItemContext context)&#xA;   at Sitecore.XA.Foundation.Publication.Pipelines.GetItemReferences.AddReferencedItemsToQueue.GetItemReferences(PublishItemContext context)&#xA;   at Sitecore.Publishing.Pipelines.GetItemReferences.GetItemReferencesProcessor.Process(PublishItemContext context)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, Boolean failIfNotExists)&#xA;   at Sitecore.Publishing.Pipelines.GetItemReferences.GetItemReferencesPipeline.Run(PublishItemContext context, Boolean failIfNotExists)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Publishing.Pipelines.PublishItem.PublishItemPipeline.Run(PublishItemContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context, List`1&amp; referrers, List`1&amp; children)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessPublishingCandidate(PublishingCandidate entry, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.ProcessEntries(IEnumerable`1 entries, PublishContext context)&#xA;   at Sitecore.Publishing.Pipelines.Publish.ProcessQueue.Process(PublishContext context)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Publishing.Pipelines.Publish.PublishPipeline.Run(PublishContext context)&#xA;   at Sitecore.Publishing.Publisher.PublishWithResult()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)&#xA;   at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.DoExecute()&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="70" LastEditDate="2019-04-18T14:00:07.570" LastActivityDate="2019-04-23T08:31:03.010" Title="Publish Related Items error - Object reference not set to an instance of an object - Sitecore 9 Update 2" Tags="|sxa|publishing|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18195" PostTypeId="1" AcceptedAnswerId="18250" CreationDate="2019-04-18T15:08:55.433" Score="9" ViewCount="150" Body="&lt;p&gt;I installed Sitecore 9 on Azure using the Azure Marketplace. This creates a highly souped up instance of Sitecore. Id like to strip things out I don't need, to reduce the cost, but I am not entirely sure how to &quot;disable&quot; some of the things.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;cortex processing&lt;/li&gt;&#xA;&lt;li&gt;cortex reporting&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I can't find any documentation about enabling/disabling these so I'm not sure if I need to do anything config wise on the CM/CD&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;marketing automation ops&lt;/li&gt;&#xA;&lt;li&gt;marketing automation rep&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It looks like these are &quot;roles.&quot; If I don't want/need them, can I just not set the server to use those roles?&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="70" LastEditDate="2019-04-23T09:52:27.590" LastActivityDate="2019-04-23T09:52:27.590" Title="Customising the Sitecore Azure Marketplace Install" Tags="|configuration|azure|cortex|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18196" PostTypeId="2" ParentId="18171" CreationDate="2019-04-18T15:12:09.570" Score="1" Body="&lt;p&gt;I am not sure whether this is what you need, but i tried to reproduce the scenario in my local&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vBZX6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vBZX6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and using this query i was able to get the fullpaths of all the articles under that folder&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem -path &quot;/sitecore/content/Home/Articles Folder&quot; -language * -Recurse | Where-Object { $_.TemplateName -eq 'Article' } | ForEach-Object { $_.Paths.FullPath }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="950" LastActivityDate="2019-04-18T15:12:09.570" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18197" PostTypeId="2" ParentId="18193" CreationDate="2019-04-18T15:36:25.000" Score="1" Body="&lt;p&gt;You will need to tell it specifically to &lt;a href=&quot;https://training.glass.lu/courses/glass-mapper-sc-version-5-training-course/lectures/4929709&quot; rel=&quot;nofollow noreferrer&quot;&gt;infer the type&lt;/a&gt; of the parent (also, the property should be marked &lt;code&gt;virtual&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreParent(InferType = true)]&#xA;public virtual C Parent { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-05-09T14:05:14.590" LastActivityDate="2019-05-09T14:05:14.590" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18198" PostTypeId="1" CreationDate="2019-04-18T17:10:24.600" Score="10" ViewCount="1670" Body="&lt;p&gt;I am creating custom facet for saving contact information (Like Car Model, Variant, Color, etc) into XDB. I am successfully able to save and retrieve custom facets details with respective Contact. Now I am trying to show that custom facet on Experience Profile.&#xA;To do the same I have followed below articles:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) &lt;a href=&quot;http://zhenyuan.azurewebsites.net/post/displaying-custom-facets-in-contact-profile&quot; rel=&quot;noreferrer&quot;&gt;http://zhenyuan.azurewebsites.net/post/displaying-custom-facets-in-contact-profile&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) &lt;a href=&quot;http://reyrahadian.com/2016/08/28/sitecore-8-extending-experience-profile-part-3-displaying-contact-facet-collection-property/&quot; rel=&quot;noreferrer&quot;&gt;http://reyrahadian.com/2016/08/28/sitecore-8-extending-experience-profile-part-3-displaying-contact-facet-collection-property/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/using-custom-contact-data-part-1-experience-profile&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/getting_to_know_sitecore/posts/using-custom-contact-data-part-1-experience-profile&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) &lt;a href=&quot;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/&quot; rel=&quot;noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have done to show Custom facet on Experience Profile:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Created web API for retrieving the custom facet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Register API in route&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Created physical folder in application &lt;code&gt;/Sitecore/shell/client/Applications/ExperienceProfile/Contact/CustomTab&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) Created Custom CSS in core DB and associated it with server location CSS(Deployed CSS in root path)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) I am using Sitecore Rocks extension as well to customize tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issues I am facing:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) How to create a custom tab in core DB? (I am creating a duplicate of existing Tab then it's showing new custom tab but existing functionality are not working and replaced with new custom tab)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) How to associate Speak.Js(use Speak.Js to do the same) with custom tab and controller and display custom facet data?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am implementing its using &lt;code&gt;Speak JS&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2020-02-03T05:31:37.580" LastActivityDate="2020-02-03T05:31:37.580" Title="Display custom facets in Sitecore Experience Profile version 9 or later" Tags="|xdb|xconnect|experience-profile|contact-facets|speak|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18200" PostTypeId="2" ParentId="18178" CreationDate="2019-04-18T19:18:31.013" Score="1" Body="&lt;p&gt;Update the &lt;code&gt;WebEdit.AutoSaveOnEditFrame&lt;/code&gt; property to &quot;false&quot; which is located in &lt;code&gt;.\Website\App_Config\Sitecore\Experience Editor\Sitecore.ExperienceEditor.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;!--  WEB EDIT AUTO SAVE ON EDIT FRAME&#xA;            Indicates whether whether item is automatically saved when edit frame is &#xA;            closed after editing.&#xA;            Default value: true&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;WebEdit.AutoSaveOnEditFrame&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="1671" LastEditDate="2019-04-18T19:45:52.540" LastActivityDate="2019-04-18T19:45:52.540" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18201" PostTypeId="2" ParentId="18198" CreationDate="2019-04-19T02:52:31.560" Score="9" Body="&lt;p&gt;I do this using &lt;a href=&quot;https://github.com/JeffDarchuk/EPExpressTab&quot; rel=&quot;noreferrer&quot;&gt;Experience Profile Express Tab&lt;/a&gt; code. It allows you to add a custom tab to the contact in experience profile. Then you just load your facet into it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can put anything in the model. In the code below I am pushing 3 different facets into it. What the code does is looks for any model that is inheriting from the class &lt;code&gt;EpExpressViewModel&lt;/code&gt;. If it finds it, it adds a tab in experience profile.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Build a model&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MemberView : EpExpressViewModel&#xA;{&#xA;    public override string Heading =&amp;gt; &quot;My Tab&quot;;&#xA;    public override string TabLabel =&amp;gt; &quot;Membership&quot;;&#xA;    public override object GetModel(Guid contactId)&#xA;    {&#xA;        var contact = EPRepository.GetContact(contactId, MembershipFacet.DefaultFacetKey, PersonalInformation.DefaultFacetKey);&#xA;        var memberData = contact.GetFacet&amp;lt;MembershipFacet&amp;gt;(MembershipFacet.DefaultFacetKey);&#xA;        var personalInfo = contact.GetFacet&amp;lt;PersonalInformation&amp;gt;(PersonalInformation.DefaultFacetKey);&#xA;&#xA;        return new MemberInfoModel&#xA;        {&#xA;            ContactId = contact.Id.ToString(),&#xA;            VisitCount = 4,&#xA;            MemberDataIsNull = memberData == null,&#xA;            PersonalInfoIsNull = personalInfo == null,&#xA;            MemberData = memberData,&#xA;            PersonalInfo = personalInfo&#xA;        };&#xA;    }&#xA;    public override string GetFullViewPath(object model)&#xA;    {&#xA;        return &quot;/views/MembershipXdb/MemberInfo.cshtml&quot;;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Make a view&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In the view &lt;code&gt;/views/MembershipXdb/MemberInfo.cshtml&lt;/code&gt; you can add the HTML from a normal speak panel. It's like getting the look of speak with none of the effort.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When it is done, mine looks like this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DH7ox.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DH7ox.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-04-19T02:52:31.560" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18203" PostTypeId="1" CreationDate="2019-04-19T05:49:39.730" Score="0" ViewCount="75" Body="&lt;p&gt;I have a strange problem with links. On the website I have many components added (one have one link and the other many links). In &lt;code&gt;Experience Editor&lt;/code&gt; everything works correctly in &lt;code&gt;Edit&lt;/code&gt; mode. After publishing, or switching to the &lt;code&gt;Preview&lt;/code&gt; mode, displays the same value for different components in &lt;code&gt;href&lt;/code&gt; (wrong), but the label is already valid. There may be 5 links with the same &lt;code&gt;href&lt;/code&gt;, then 3 with another etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has someone met with such behavior? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use Sitecore 9.1 and GlassMapper.&lt;/p&gt;&#xA;" OwnerUserId="2471" LastEditorUserId="342" LastEditDate="2019-04-19T11:28:02.643" LastActivityDate="2019-04-19T11:28:02.643" Title="Cache of links - error" Tags="|experience-editor|publishing|links|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18204" PostTypeId="2" ParentId="18182" CreationDate="2019-04-19T07:12:13.497" Score="0" Body="&lt;p&gt;In &lt;strong&gt;Sitecore 9&lt;/strong&gt;, the &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline fires from &lt;code&gt;OnPostAuthentication&lt;/code&gt; HTTP module event. This was previously from the &lt;code&gt;OnBegin&lt;/code&gt; event, so you should be able to access authenticated user information in the pipeline now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please keep in mind this will fire for each request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;sample code here:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PostAuthentication : HttpRequestProcessor&#xA;    {&#xA;        public override void Process(HttpRequestArgs args)&#xA;        {           &#xA;            // Here you can write yours post auth logic&#xA;&#xA;            //check authenticat user i.e. Context.User.IsAuthenticated&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can add config patch as per your requirement:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;      &#xA;      &amp;lt;httpRequestBegin&amp;gt;&#xA;        &amp;lt;processor type=&quot;xxx.xxx.xxx.Pipelines.PostAuthentication, assemblyName&quot;  patch:after=&quot;*[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;/&amp;gt;&#xA;      &amp;lt;/httpRequestBegin&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am not sure if you can access the session. Alternatively you can use custom properties(user profile), e.g. &lt;code&gt;Context.User.Profile.SetCustomProperty(&quot;User ID&quot;,&quot;testuser&quot;)&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="70" LastEditDate="2019-04-23T10:09:27.137" LastActivityDate="2019-04-23T10:09:27.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18205" PostTypeId="1" AcceptedAnswerId="18206" CreationDate="2019-04-19T07:16:44.750" Score="-1" ViewCount="179" Body="&lt;p&gt;I am using Sitecore 9.0.1 for creating sitecore9 forms but i am not able to edit the form fields in Experience Editor?  &lt;/p&gt;&#xA;" OwnerUserId="5040" LastActivityDate="2019-04-19T07:19:54.670" Title="Form Fields are not Editable in Exprience Editor" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ClosedDate="2019-04-26T16:04:39.610" ContentLicense="CC BY-SA 4.0" />
  <row Id="18206" PostTypeId="2" ParentId="18205" CreationDate="2019-04-19T07:19:54.670" Score="2" Body="&lt;p&gt;&lt;code&gt;Sitecore Forms&lt;/code&gt; cannot be edit in &lt;code&gt;Experience Editor&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should use &lt;code&gt;Sitecore Forms&lt;/code&gt; application to build end edit forms and then add a ready form to your page using &lt;code&gt;Experience Editor&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will find the &lt;code&gt;Sitecore Forms&lt;/code&gt; application link in Sitecore Launchpad.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More about &lt;code&gt;Sitecore Forms&lt;/code&gt; can be read: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/introducing-sitecore-forms.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/introducing-sitecore-forms.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And about editing forms:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/edit-and-delete-a-form.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/edit-and-delete-a-form.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-04-19T07:19:54.670" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18207" PostTypeId="2" ParentId="18203" CreationDate="2019-04-19T09:57:43.890" Score="-1" Body="&lt;p&gt;Check if your HTML structure is correct. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check for the following errors&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;div tag inside p tag&#xA;&lt;code&gt;&amp;lt;p&amp;gt;This is a text block &amp;lt;div&amp;gt;but this one is a container&amp;lt;/div&amp;gt;&amp;lt;/p&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Unclosed div tags. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-04-19T09:57:43.890" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18208" PostTypeId="1" CreationDate="2019-04-19T11:14:28.490" Score="0" ViewCount="267" Body="&lt;p&gt;We all know that Sitecore is a web application based on .NET platform. We can develop both ASP.NET as well as MVC based web application on top of Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I am curious to know that as Sitecore is itself a web application, is it developed using ASP.NET or MVC? How can it accommodate both ASP.NET and MVC based web solutions?&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2019-04-19T11:31:00.093" Title="Is Sitecore ASP.NET application or MVC based application?" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ClosedDate="2019-04-19T20:19:53.720" ContentLicense="CC BY-SA 4.0" />
  <row Id="18209" PostTypeId="2" ParentId="18208" CreationDate="2019-04-19T11:31:00.093" Score="1" Body="&lt;p&gt;It is both. Its an ASP.Net MVC application. Although, its use of MVC is not quite the same as building a pure ASP.Net MVC application. But it uses Controllers and Views to build components that are composed together to create the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing that you really mean, is it ASP.NET WebForms or MVC? To answer that, yes it does support both, but you shouldn't use WebForms anymore, they are going away and lack full support. For example, Sitecore Experience Forms is only supported on MVC and not on WebForms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way it supports both, is through the way it renders the page. There are an extra set of pipeline processors that get invoked for MVC renderings that will create the controllers and return the rendered html.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-04-19T11:31:00.093" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18210" PostTypeId="1" AcceptedAnswerId="18211" CreationDate="2019-04-19T13:57:17.823" Score="-1" ViewCount="2908" Body="&lt;p&gt;I'm facing this issue in one of my testing instances:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 9.1.0&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Inner Exception: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\84f876eb\34615233\App_Web_events.cshtml.9351e6fa.fnj8_tct.0.cs(27): error CS0234: The type or namespace name 'MVC' does not exist in the namespace 'Sitecore' (are you missing an assembly reference?)&#xA;   at System.Web.Compilation.AssemblyBuilder.Compile()&#xA;   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()&#xA;   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)&#xA;   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)&#xA;   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)&#xA;   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)&#xA;   at System.Web.Compilation.BuildManager.GetCompiledType(VirtualPath virtualPath)&#xA;   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I'm starting to get out of ideas.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you guys what should I be looking for?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="73" LastEditDate="2019-04-20T10:13:34.467" LastActivityDate="2019-07-18T14:11:39.697" Title="Error: The type or namespace name 'MVC' does not exist in the namespace 'Sitecore'" Tags="|configuration|site-configuration|" AnswerCount="2" CommentCount="2" ClosedDate="2019-04-20T10:14:04.387" ContentLicense="CC BY-SA 4.0" />
  <row Id="18211" PostTypeId="2" ParentId="18210" CreationDate="2019-04-19T14:10:38.367" Score="0" Body="&lt;p&gt;Try to add Sitecore.Mvc namespace inside views/web.config file, like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web.webPages.razor&amp;gt;        &#xA;    &amp;lt;pages pageBaseType=&quot;System.Web.Mvc.WebViewPage&quot;&amp;gt;&#xA;      &amp;lt;namespaces&amp;gt;&#xA;        &amp;lt;add namespace=&quot;Sitecore.Mvc&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Mvc&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Mvc.Ajax&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Mvc.Html&quot; /&amp;gt;&#xA;        &amp;lt;add namespace=&quot;System.Web.Routing&quot; /&amp;gt;&#xA;      &amp;lt;/namespaces&amp;gt;&#xA;    &amp;lt;/pages&amp;gt;&#xA;  &amp;lt;/system.web.webPages.razor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, make sure that Sitecore.Mvc.dll in your root folder is from the correct version. To confirm, just try to copy the dll from a vanilla sitecore instance into your bin folder.&lt;/p&gt;&#xA;" OwnerUserId="167" LastEditorUserId="4515" LastEditDate="2019-07-18T14:11:39.697" LastActivityDate="2019-07-18T14:11:39.697" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18212" PostTypeId="2" ParentId="18210" CreationDate="2019-04-19T14:18:34.817" Score="-1" Body="&lt;p&gt;Pro tip guys, never underestimate the &lt;strong&gt;power of case sensitiveness&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When adding the references on &lt;em&gt;views/web.config&lt;/em&gt;, make sure you do this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add namespace=&quot;Sitecore.Mvc&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Instead of this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add namespace=&quot;Sitecore.MVC&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That fixed my problem.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-04-19T14:18:34.817" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18213" PostTypeId="1" AcceptedAnswerId="18259" CreationDate="2019-04-19T14:32:59.100" Score="11" ViewCount="5497" Body="&lt;p&gt;I would like to display in a view a list of items provided by a search on GraphQL query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Context:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore 9.1&lt;/li&gt;&#xA;&lt;li&gt;Jss 11.0.0&lt;/li&gt;&#xA;&lt;li&gt;Jss application template : Angular&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Componant file heroes-connected.component.ts&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { Component, OnInit, Input } from '@angular/core';&#xA;import { ComponentRendering } from '@sitecore-jss/sitecore-jss-angular'; &#xA;import { ApolloQueryResult } from 'apollo-client';&#xA;import { DocumentNode } from 'graphql';&#xA;import { JssGraphQLService } from '../../jss-graphql.service';&#xA;import { Observable } from 'rxjs';&#xA;&#xA;const ComponentQuery: DocumentNode = require('graphql-tag/loader!./heroes-connected.component.graphql');&#xA;&#xA;&#xA;@Component({&#xA;  selector: 'app-heroes',&#xA;  templateUrl: './heroes-connected.component.html',&#xA;  styleUrls: ['./heroes-connected.component.css']&#xA;})&#xA;&#xA;export class HeroesConnectedComponent implements OnInit { &#xA;  @Input() rendering: ComponentRendering; &#xA;  query$: Observable&amp;lt;ApolloQueryResult&amp;lt;any&amp;gt;&amp;gt;;&#xA;&#xA;  constructor(private graphQLService: JssGraphQLService) { }&#xA;&#xA;  ngOnInit() { &#xA;&#xA;    this.query$ = this.graphQLService.query({&#xA;      query: ComponentQuery&#xA;    });&#xA;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Query file heroes-connected.component.graphql&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query myquery {&#xA;  search(fieldsEqual: [{name: &quot;_templatename&quot;, value: &quot;hero*&quot;}], rootItem: &quot;/sitecore/content/&quot;) {&#xA;    results {&#xA;      items {&#xA;        item {&#xA;          ... on Hero {&#xA;            id&#xA;            name&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I test the query on Sitecore Experience Graph Browser, it works fine and return results :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;data&quot;: {&#xA;    &quot;search&quot;: {&#xA;      &quot;results&quot;: {&#xA;        &quot;items&quot;: [&#xA;          {&#xA;            &quot;item&quot;: {&#xA;              &quot;id&quot;: &quot;7760B9378E114B7F9912E3EF65D8A622&quot;,&#xA;              &quot;name&quot;: &quot;Ouiame&quot;&#xA;            }&#xA;          },&#xA;          {&#xA;            &quot;item&quot;: {&#xA;              &quot;id&quot;: &quot;B937D81BA6A25BAEBBD814DB047D6A90&quot;,&#xA;              &quot;name&quot;: &quot;Arnaud&quot;&#xA;            }&#xA;          },&#xA;          {&#xA;            &quot;item&quot;: {&#xA;              &quot;id&quot;: &quot;3AF3733F5DF44ABCB41CF39EAD367D0F&quot;,&#xA;              &quot;name&quot;: &quot;Flora&quot;&#xA;            }&#xA;          },&#xA;          {&#xA;            &quot;item&quot;: {&#xA;              &quot;id&quot;: &quot;90BC52778C13471E9E5CCB77D687B2A0&quot;,&#xA;              &quot;name&quot;: &quot;Celine&quot;&#xA;            }&#xA;          },&#xA;          {&#xA;            &quot;item&quot;: {&#xA;              &quot;id&quot;: &quot;550F86ACCAF64BD2B31BE7F567FE2C19&quot;,&#xA;              &quot;name&quot;: &quot;Julie&quot;&#xA;            }&#xA;          },&#xA;          {&#xA;            &quot;item&quot;: {&#xA;              &quot;id&quot;: &quot;36ECD568914F4C55B80E5B38059F5C43&quot;,&#xA;              &quot;name&quot;: &quot;Ramdane&quot;&#xA;            }&#xA;          },&#xA;          {&#xA;            &quot;item&quot;: {&#xA;              &quot;id&quot;: &quot;88FB51A58FB95C6DA812B845B87152E4&quot;,&#xA;              &quot;name&quot;: &quot;Reana&quot;&#xA;            }&#xA;          }&#xA;        ]&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I test the componant on a page, I have the following error on the browser console :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error: GraphQL error: Cannot query field &quot;search&quot; on type &quot;Query&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have checked /sitecore/api/graph/items/master/schema :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;type Query {&#xA;  item(path: String, language: String, version: Int): Item&#xA;  sites(name: String = &quot;&quot;, current: Boolean = false, includeSystemSites: Boolean = false): [SiteGraphType]&#xA;  templates(path: String): [ItemTemplate]&#xA;  search(first: Int, after: String = 0, rootItem: String, keyword: String, language: String, latestVersion: Boolean = true, index: String, fieldsEqual: [ItemSearchFieldQuery], facetOn: [String!]): ContentSearchResults&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and Sitecore config :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;queries hint=&quot;raw:AddQuery&quot;&amp;gt;&#xA;&amp;lt;query name=&quot;item&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.ItemQuery, Sitecore.Services.GraphQL.Content&quot;/&amp;gt;&#xA;&amp;lt;query name=&quot;sites&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.SiteQuery, Sitecore.Services.GraphQL.Content&quot;/&amp;gt;&#xA;&amp;lt;query name=&quot;templates&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.TemplatesQuery, Sitecore.Services.GraphQL.Content&quot;/&amp;gt;&#xA;&amp;lt;query name=&quot;search&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.SearchQuery, Sitecore.Services.GraphQL.Content&quot;/&amp;gt;&#xA;&amp;lt;/queries&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and EndPoint declaration :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;app name=&quot;angular-app&quot;&#xA;             sitecorePath=&quot;/sitecore/content/angular-app&quot;&#xA;             inherits=&quot;defaults&quot;&#xA;             useLanguageSpecificLayout=&quot;true&quot;&#xA;             graphQLEndpoint=&quot;/api/angular-app&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is wrong with my code / approach ?&lt;/p&gt;&#xA;" OwnerUserId="5233" LastEditorUserId="5233" LastEditDate="2019-04-19T14:58:20.730" LastActivityDate="2019-04-23T10:15:18.907" Title="Cannot query field &quot;search&quot; on type &quot;Query&quot;" Tags="|jss|graphql|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18215" PostTypeId="2" ParentId="18180" CreationDate="2019-04-19T17:43:45.073" Score="9" Body="&lt;p&gt;You can implement custom &lt;strong&gt;DelegatingHandler&lt;/strong&gt; base on Sitecore.Services behavior:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Linq;&#xA;using System.Net.Http;&#xA;using System.Security.Claims;&#xA;using System.Threading;&#xA;using System.Threading.Tasks;&#xA;using Sitecore.Services.Core.Security;&#xA;using Sitecore.Services.Infrastructure.Sitecore.Security;&#xA;using Sitecore.Services.Infrastructure.Web.Http.Security;&#xA;&#xA;namespace Foundation.Authorization.Pipelines.Handlers&#xA;{&#xA;    public class JwtTokenDelegatingHandler : DelegatingHandler&#xA;    {&#xA;        private readonly ITokenProvider _tokenProvider;&#xA;        private readonly IUserService _userService;&#xA;&#xA;        public JwtTokenDelegatingHandler()&#xA;            : this(new ConfiguredOrNullTokenProvider(new SigningTokenProvider()), new UserService())&#xA;        {&#xA;        }&#xA;&#xA;        protected JwtTokenDelegatingHandler(ITokenProvider tokenProvider, IUserService userService)&#xA;        {&#xA;            _tokenProvider = tokenProvider;&#xA;            _userService = userService;&#xA;        }&#xA;&#xA;        protected JwtTokenDelegatingHandler(HttpMessageHandler innerHandler)&#xA;            : this(innerHandler, new ConfiguredOrNullTokenProvider(new SigningTokenProvider()), new UserService())&#xA;        {&#xA;        }&#xA;&#xA;        protected JwtTokenDelegatingHandler(HttpMessageHandler innerHandler, ITokenProvider tokenProvider, IUserService userService)&#xA;            : base(innerHandler)&#xA;        {&#xA;            _tokenProvider = tokenProvider;&#xA;            _userService = userService;&#xA;        }&#xA;&#xA;        protected override async Task&amp;lt;HttpResponseMessage&amp;gt; SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)&#xA;        {&#xA;            JwtTokenDelegatingHandler delegatingHandler = this;&#xA;            delegatingHandler.AttemptLoginWithToken(request);&#xA;            return await base.SendAsync(request, cancellationToken);&#xA;        }&#xA;&#xA;        private void AttemptLoginWithToken(HttpRequestMessage request)&#xA;        {&#xA;            if (!string.IsNullOrEmpty(request.Headers.Authorization?.Parameter))&#xA;            {&#xA;                try&#xA;                {&#xA;                    var validationResult = _tokenProvider.ValidateToken(request.Headers.Authorization.Parameter);&#xA;                    if (validationResult.IsValid)&#xA;                    {&#xA;                        var claim = validationResult.Claims.FirstOrDefault(c =&amp;gt; c.Type == ClaimTypes.Name);&#xA;&#xA;                        if (claim != null &amp;amp;&amp;amp; _userService.UserExists(claim.Value))&#xA;                        {&#xA;                            _userService.SwitchToUser(claim.Value, true);&#xA;                            return; &#xA;                        }&#xA;                    }&#xA;                }&#xA;                catch&#xA;                {&#xA;                    // token expired error&#xA;                }&#xA;&#xA;            }&#xA;&#xA;            request.Properties.Add(&quot;invalidtoken&quot;, true);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And create custom &lt;strong&gt;AuthorizeAttribute&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public class JwtAuthorizeAttribute : AuthorizeAttribute&#xA;    {&#xA;        protected override bool IsAuthorized(HttpActionContext actionContext)&#xA;        {&#xA;            return IsValidToken(actionContext) &amp;amp;&amp;amp; base.IsAuthorized(actionContext);&#xA;        }&#xA;        public override void OnAuthorization(HttpActionContext actionContext)&#xA;        {&#xA;            if(SkipAuthorization(actionContext))&#xA;                return;&#xA;&#xA;            if (!IsAuthorized(actionContext))&#xA;            {&#xA;                actionContext.Response = new HttpResponseMessage(HttpStatusCode.Forbidden);&#xA;            }&#xA;        }&#xA;&#xA;        private bool IsValidToken(HttpActionContext actionContext)&#xA;        {&#xA;            var valid = true;&#xA;            if (actionContext.Request.Properties.ContainsKey(&quot;invalidtoken&quot;))&#xA;            {&#xA;                valid = ! (bool) actionContext.Request.Properties[&quot;invalidtoken&quot;];&#xA;            }&#xA;            return valid;&#xA;        }&#xA;&#xA;        private static bool SkipAuthorization(HttpActionContext actionContext)&#xA;        {&#xA;            return actionContext.ActionDescriptor.GetCustomAttributes&amp;lt;AllowAnonymousAttribute&amp;gt;().Any()&#xA;                   || actionContext.ControllerContext.ControllerDescriptor.GetCustomAttributes&amp;lt;AllowAnonymousAttribute&amp;gt;().Any();&#xA;        }&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You should also register DelegatingHandler in sitecore config (and can also setup some additional Sitecore.Services settings). &lt;strong&gt;Foundation.authorization.config&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&#xA;    &amp;lt;settings&amp;gt;&#xA;&#xA;      &amp;lt;setting name=&quot;Sitecore.Services.Token.Authorization.Timeout&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;43200&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;&#xA;      &amp;lt;setting name=&quot;Sitecore.Services.AllowAnonymousUser&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;&#xA;      &amp;lt;setting name=&quot;Sitecore.Services.Token.Authorization.Enabled&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;&#xA;      &amp;lt;setting name=&quot;Sitecore.Services.SecurityPolicy&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy, Sitecore.Services.Infrastructure&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;&#xA;      &amp;lt;setting name=&quot;Sitecore.Services.ApiKeyParams&quot; value=&quot;sc_apikey&quot; /&amp;gt;&#xA;&#xA;    &amp;lt;/settings&amp;gt;&#xA;&#xA;    &amp;lt;api&amp;gt;&#xA;      &amp;lt;tokenSecurity&amp;gt;&#xA;        &amp;lt;signingProvider type=&quot;Sitecore.Services.Infrastructure.Sitecore.Security.SymetricKeySigningProvider, Sitecore.Services.Infrastructure.Sitecore&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;Sitecore.Services.Token.SecurityKey&amp;lt;/param&amp;gt;&#xA;        &amp;lt;/signingProvider&amp;gt;&#xA;      &amp;lt;/tokenSecurity&amp;gt;&#xA;&#xA;      &amp;lt;services&amp;gt;&#xA;        &amp;lt;configuration&amp;gt;&#xA;          &amp;lt;delegatingHandlers hint=&quot;list:AddDelegatingHandler&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/delegatingHandlers&amp;gt;&#xA;          &amp;lt;delegatingHandlers hint=&quot;list:AddDelegatingHandler&quot;&amp;gt;&#xA;            &amp;lt;delegatingHandler desc=&quot;TokenDelegatingHandler&quot;&amp;gt;Foundation.Authorization.Pipelines.Handlers.JwtTokenDelegatingHandler, Foundation.Authorization&amp;lt;/delegatingHandler&amp;gt;&#xA;          &amp;lt;/delegatingHandlers&amp;gt;&#xA;        &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/services&amp;gt;&#xA;&#xA;    &amp;lt;/api&amp;gt;&#xA;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add Sitecore.Services.Token.SecurityKey in &lt;strong&gt;ConnectionStrings.config&lt;/strong&gt; with generated key:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;Sitecore.Services.Token.SecurityKey&quot; connectionString=&quot;key=GHUwnYMxb75Td25yqyVdQQ8QQ8RzBG6T&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you are able to use [JwtAuthorize] attribute. Example of login:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [JwtAuthorize]&#xA;    public class AuthController : ApiController&#xA;&#xA;    {&#xA;        private readonly IUserService _userService;&#xA;        private readonly ITokenProvider _tokenProvider;&#xA;        private const string Domain = &quot;sitecore&quot;;&#xA;&#xA;        public AuthController(IUserService userService, ITokenProvider tokenProvider)&#xA;        {&#xA;            _userService = userService;&#xA;            _tokenProvider = tokenProvider;&#xA;        }&#xA;&#xA;         [RequireHttps]&#xA;        [HttpPost]&#xA;        [AllowAnonymous]&#xA;        public IHttpActionResult Login([FromBody] LoginRequestModel data)&#xA;        {&#xA;            try&#xA;            {&#xA;                var login = data.Email;&#xA;                var password = data.Password;&#xA;                var username = $&quot;{Domain}\\{login}&quot;;&#xA;&#xA;                if (!_userService.UserExists(username))&#xA;                {&#xA;                    return BadRequest(&quot;User not found!&quot;);&#xA;                }&#xA;&#xA;&#xA;                if (!System.Web.Security.Membership.ValidateUser(username, password))&#xA;                {&#xA;                    return BadRequest(&quot;Incorrect password!&quot;);&#xA;                }&#xA;&#xA;                _userService.SwitchToUser(username, true);&#xA;&#xA;                if (!Context.User.IsAuthenticated)&#xA;                    return Unauthorized();&#xA;&#xA;                string token = _tokenProvider.GenerateToken(new List&amp;lt;Claim&amp;gt;&#xA;            {&#xA;                new Claim(ClaimTypes.Name,  Context.User.Name)&#xA;            });&#xA;&#xA;                return Ok(token); &#xA;&#xA;            }&#xA;            catch (ArgumentException argEx)&#xA;            {&#xA;                return BadRequest(argEx.Message);&#xA;            }&#xA;            catch (AuthenticationException authEx)&#xA;            {&#xA;                return Unauthorized();&#xA;            }&#xA;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If login is successful client will get token in response. This token should be added in the Authorization header using the Bearer schema for all client requests:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xiDXS.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xiDXS.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use [JwtAuthorize] with default Role and Users parameters:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[JwtAuthorize(Roles = @&quot;sitecore\Author&quot;)]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also you can use advantages of Sitecore.Service. If you have several 3rd party applications that use your WebAPI you can create several Api Keys in sitecore with different access. You can inherit your controller from ServicesApiController and use [RequiredApiKey] attribute:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [EnableCors(origins: &quot;*&quot;, headers: &quot;*&quot;, methods: &quot;*&quot;)]&#xA;    [ServicesController]&#xA;    [RequiredApiKey]&#xA;    [JwtAuthorize]&#xA;    public class InteractionsApiController : ServicesApiController&#xA;    {&#xA;      ...&#xA;    }&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And also don`t forget to register your API controllers in service configurator:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.DependencyInjection;&#xA;using Sitecore.Services.Infrastructure.Sitecore.DependencyInjection;&#xA;&#xA;namespace Demo.Api.Ioc&#xA;{&#xA;    public class RegisterDiForControllers : IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            serviceCollection.AddWebApiControllers(new[] { GetType().Assembly });&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;     &amp;lt;services&amp;gt;&#xA;       &amp;lt;configurator type=&quot;Demo.Api.Ioc.RegisterDiForControllers, Demo.Api&quot; /&amp;gt;&#xA;     &amp;lt;/services&amp;gt;&#xA; &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-04-22T09:04:15.417" LastActivityDate="2019-04-22T09:04:15.417" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="18216" PostTypeId="1" CreationDate="2019-04-19T18:03:42.750" Score="1" ViewCount="351" Body="&lt;p&gt;When we rename a media item in Content Editor, and then publish, the published item in Web DB still has the old name. I expect that the published item's name should change to the new name, so I assume this is a Sitecore bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is in Sitecore XP 8.2 rev. 180406 (Update-7). It looks like similar bugs have appeared and been fixed in various versions of Sitecore, so the version is probably important.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/54909565/sitecore-publish-not-working-after-renaming-item&quot;&gt;https://stackoverflow.com/questions/54909565/sitecore-publish-not-working-after-renaming-item&lt;/a&gt; appears to be the same issue, but no solution is given there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, does anyone know if there is a fix available and where it is?&lt;/p&gt;&#xA;" OwnerUserId="3614" LastEditorUserId="70" LastEditDate="2019-04-23T10:01:22.040" LastActivityDate="2019-05-20T22:09:59.103" Title="Media item rename doesn't publish" Tags="|publishing|media-library|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="18217" PostTypeId="1" AcceptedAnswerId="18220" CreationDate="2019-04-19T18:26:37.720" Score="1" ViewCount="1153" Body="&lt;p&gt;Even if it's not mandatory for this version, I'd like to enable the Core database to troubleshoot a few issues I'm having in staging.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How is this done?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-04-20T04:00:04.330" LastActivityDate="2019-04-20T15:48:08.440" Title="How to enable the Core database on a CD server in Sitecore 9.1?" Tags="|installation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18219" PostTypeId="2" ParentId="17559" CreationDate="2019-04-20T07:27:06.830" Score="0" Body="&lt;p&gt;You can follow the below article for change the theme. I did the same and assigned a different theme instead of the default theme.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/assign-a-theme.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/assign-a-theme.html&lt;/a&gt; &lt;strong&gt;(Official Document)&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1994/how-to-create-a-custom-theme-in-sxa&quot;&gt;How to create a custom theme in SXA?&lt;/a&gt; &lt;strong&gt;(StackExchange question)&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://tothecore.sk/2018/03/28/changing-theme-for-sitecore-experience-commerce-sxc-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/03/28/changing-theme-for-sitecore-experience-commerce-sxc-9/&lt;/a&gt; &lt;strong&gt;(Blog)&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-04-20T07:32:22.043" LastActivityDate="2019-04-20T07:32:22.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18220" PostTypeId="2" ParentId="18217" CreationDate="2019-04-20T15:48:08.440" Score="4" Body="&lt;p&gt;I don't recommend this, but in your Sitecore.config remove the &lt;code&gt;role:require=&quot;!ContentDelivery&quot;&lt;/code&gt; from these three sections. It will bring core back. I don't think Sitecore will like it as the ContentDelivery does a lot of stuff.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;eventQueue name=&quot;core&quot; type=&quot;Sitecore.Data.Eventing.$(database)EventQueue, Sitecore.Kernel&quot; role:require=&quot;!ContentDelivery&quot;&amp;gt;&#xA;  &amp;lt;param ref=&quot;dataApis/dataApi[@name='$(database)']&quot; param1=&quot;$(name)&quot; /&amp;gt;&#xA;  &amp;lt;param ref=&quot;PropertyStoreProvider/store[@name='$(name)']&quot; /&amp;gt;&#xA;&amp;lt;/eventQueue&amp;gt;&#xA;&#xA;&amp;lt;store name=&quot;core&quot; prefix=&quot;core&quot; getValueWithoutPrefix=&quot;true&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.Properties.$(database)PropertyStore, Sitecore.Kernel&quot; role:require=&quot;!ContentDelivery&quot;&amp;gt;&#xA;  &amp;lt;param ref=&quot;dataApis/dataApi[@name='$(database)']&quot; param1=&quot;$(name)&quot; /&amp;gt;&#xA;  &amp;lt;param resolve=&quot;true&quot; type=&quot;Sitecore.Abstractions.BaseEventManager, Sitecore.Kernel&quot; /&amp;gt;&#xA;  &amp;lt;param resolve=&quot;true&quot; type=&quot;Sitecore.Abstractions.BaseCacheManager, Sitecore.Kernel&quot; /&amp;gt;&#xA;&amp;lt;/store&amp;gt;&#xA;&#xA;&#xA;&amp;lt;database id=&quot;core&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot; role:require=&quot;!ContentDelivery&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;connectionStringName&amp;gt;$(id)&amp;lt;/connectionStringName&amp;gt;&#xA;    &amp;lt;icon&amp;gt;Images/database_core.png&amp;lt;/icon&amp;gt;&#xA;    &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;    &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;        &amp;lt;prefetch role:require=&quot;ContentManagement or Standalone&quot; hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;        &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Common.config&quot; /&amp;gt;&#xA;        &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Core.config&quot; /&amp;gt;&#xA;        &amp;lt;/prefetch&amp;gt;&#xA;    &amp;lt;/dataProvider&amp;gt;&#xA;    &amp;lt;/dataProviders&amp;gt;&#xA;    &amp;lt;PropertyStore ref=&quot;PropertyStoreProvider/store[@name='$(id)']&quot; /&amp;gt;&#xA;    &amp;lt;remoteEvents.EventQueue&amp;gt;&#xA;    &amp;lt;obj ref=&quot;eventing/eventQueueProvider/eventQueue[@name='$(id)']&quot; /&amp;gt;&#xA;    &amp;lt;/remoteEvents.EventQueue&amp;gt;&#xA;    &amp;lt;workflowProvider hint=&quot;defer&quot; type=&quot;Sitecore.Workflows.Simple.WorkflowProvider, Sitecore.Kernel&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;database&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;history store&quot; ref=&quot;workflowHistoryStores/main&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;    &amp;lt;/workflowProvider&amp;gt;&#xA;    &amp;lt;archives hint=&quot;raw:AddArchive&quot;&amp;gt;&#xA;    &amp;lt;archive name=&quot;archive&quot; /&amp;gt;&#xA;    &amp;lt;archive name=&quot;recyclebin&quot; /&amp;gt;&#xA;    &amp;lt;/archives&amp;gt;&#xA;    &amp;lt;cacheSizes hint=&quot;setting&quot;&amp;gt;&#xA;    &amp;lt;data&amp;gt;100MB&amp;lt;/data&amp;gt;&#xA;    &amp;lt;items&amp;gt;50MB&amp;lt;/items&amp;gt;&#xA;    &amp;lt;paths&amp;gt;2500KB&amp;lt;/paths&amp;gt;&#xA;    &amp;lt;itempaths&amp;gt;50MB&amp;lt;/itempaths&amp;gt;&#xA;    &amp;lt;standardValues&amp;gt;2500KB&amp;lt;/standardValues&amp;gt;&#xA;    &amp;lt;/cacheSizes&amp;gt;&#xA;    &amp;lt;NotificationProvider type=&quot;Sitecore.Data.DataProviders.$(database).$(database)NotificationProvider, Sitecore.Kernel&quot;&amp;gt;&#xA;    &amp;lt;param connectionStringName=&quot;$(id)&quot;&amp;gt;&#xA;    &amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;databaseName&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/NotificationProvider&amp;gt;&#xA;&amp;lt;/database&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-04-20T15:48:08.440" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18223" PostTypeId="1" AcceptedAnswerId="18245" CreationDate="2019-04-21T14:16:22.930" Score="6" ViewCount="2908" Body="&lt;p&gt;When looking at the broken links report or broken links in the bumper, sometimes it will reference a broken link in the &lt;code&gt;Final Renderings&lt;/code&gt;. But no info is available to know which rendering is doing it. Placeholder settings, when missing show a different icon and if the rendering is completely missing from Sitecore, a bid red X is showing. But being able to identify a rendering with a bad datasource would be helpful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone found a quick way to identify bad renderings?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pLYIb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pLYIb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-04-23T14:45:52.667" Title="Knowing which rendering has a broken link" Tags="|content-editor|presentation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18224" PostTypeId="1" AcceptedAnswerId="18225" CreationDate="2019-04-21T23:11:00.960" Score="6" ViewCount="3679" Body="&lt;p&gt;I have a model &lt;code&gt;ArticleItem&lt;/code&gt; which has some fields that I populate with some Business Logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now on the view where I return &lt;code&gt;ArticleItem&lt;/code&gt; I want to render a RTE content so that it is Page Editor friendly&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;Article Body&quot;, @Model.ArticleItem)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does it only works with &lt;code&gt;Sitecore.Items.Item&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I want to use a custom Model instead how can I render RTE so it is Page Editor mode friendly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I cannot use the context item in this case as I am rendering from a multilist inside the Context Item.&lt;/p&gt;&#xA;" OwnerUserId="3129" LastEditorUserId="342" LastEditDate="2019-04-22T11:26:05.520" LastActivityDate="2019-04-22T14:24:38.240" Title="How to Render @Html.Sitecore().Field using custom Model Item in Sitecore MVC" Tags="|experience-editor|razor|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18225" PostTypeId="2" ParentId="18224" CreationDate="2019-04-22T01:16:16.970" Score="6" Body="&lt;p&gt;&lt;code&gt;@Html.Sitecore().Field&lt;/code&gt; only works with real items and it sounds like &lt;code&gt;Model.ArticleItem&lt;/code&gt; is not a real Sitecore Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you want to do is render the Sitecore field as HTML in your model and render  that.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// get your sitecore item&#xA;var item = RenderingContext.Current.ContextItem;&#xA;&#xA;// get the sitecore editor html (will only render the data if not in edit mode) &#xA;var fieldHtml = SC.Web.UI.WebControls.FieldRenderer.Render(item, &quot;title&quot;);&#xA;&#xA;// bind the fieldHtml to a HtmlString field on your model&#xA;MyModel.TitleField = fieldHtml&#xA;&#xA;&#xA;public class MyModel&#xA;{&#xA;    public HtmlString TitleField { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now in you view you can just render the model's &lt;code&gt;TitleField&lt;/code&gt; property and you will get the RTE editor you want in page.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;@Model.TitleField&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="70" LastEditDate="2019-04-22T14:24:38.240" LastActivityDate="2019-04-22T14:24:38.240" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18227" PostTypeId="2" ParentId="18194" CreationDate="2019-04-22T04:50:26.637" Score="1" Body="&lt;p&gt;Verified with Sitecore support and they have given hotfix for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Support.13278&lt;/code&gt; is the patch given by Sitecore support team. You can download it from their support github account here: &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.13278&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.13278&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="70" LastEditDate="2019-04-23T08:31:03.010" LastActivityDate="2019-04-23T08:31:03.010" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18228" PostTypeId="2" ParentId="18123" CreationDate="2019-04-22T06:27:28.437" Score="0" Body="&lt;p&gt;We’ve tried to understand the underline code with the help of dotPeek reflector and we’ve found below line of code causing the issue when we pass the System.IO.MemoryStream in the ResizeImageStream() method.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;FileUtil.CopyStream(inputStream, (Stream) memoryStream, 8192);&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Note: It's working fine when we pass the System.IO.Stream&lt;/p&gt;&#xA;&lt;p&gt;To fix that we’ve created separate class (copied from the Sitecore.Resources.Media.ImageEffectsResize) and updated ResizeImageStream() method. Here is the updated method:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public virtual Stream ResizeImageFromStream(Stream inputStream, TransformationOptions options, ImageFormat outputFormat)&#xA;{&#xA;    Assert.ArgumentNotNull((object)inputStream, &amp;quot;inputStream&amp;quot;);&#xA;    Assert.ArgumentNotNull((object)options, &amp;quot;options&amp;quot;);&#xA;    Assert.ArgumentNotNull((object)outputFormat, &amp;quot;outputFormat&amp;quot;);&#xA;    ResizeOptions resizeOptions = this.GetResizeOptions(options);&#xA;    if (resizeOptions.IsEmpty)&#xA;        return inputStream;&#xA;    if (inputStream.Length &amp;gt; Settings.Media.MaxSizeInMemory)&#xA;    {&#xA;        Tracer.Error((object)&amp;quot;Could not resize image stream as it was larger than the maximum size allowed for memory processing.&amp;quot;);&#xA;        return (Stream)null;&#xA;    }&#xA;    if (Settings.Media.UseLegacyResizing)&#xA;        return this.ResizeLegacy(inputStream, options, outputFormat);&#xA;    Resizer resizer = new Resizer();&#xA;    using (Bitmap originalBitmap = new Bitmap((Stream)inputStream))&#xA;    {&#xA;        Size frameSize = resizer.GetFrameSize(originalBitmap, resizeOptions);&#xA;        if (originalBitmap.Size.Equals((object)frameSize))&#xA;        {&#xA;            inputStream.Seek(0L, SeekOrigin.Begin);&#xA;            return (Stream)inputStream;&#xA;        }&#xA;        using (Bitmap resizedBitmap = resizer.Resize(originalBitmap, resizeOptions, outputFormat))&#xA;        {&#xA;            MemoryStream memoryStream = new MemoryStream();&#xA;            memoryStream.Seek(0L, SeekOrigin.Begin);&#xA;            ImageCodecInfo encoderInfo = this.FindEncoderInfo(outputFormat);&#xA;            EncoderParameters encoderParams = new EncoderParameters(1);&#xA;            encoderParams.Param[0] = new EncoderParameter(Encoder.Quality, (long)options.Quality);&#xA;            resizedBitmap.Save((Stream)memoryStream, encoderInfo, encoderParams);&#xA;            memoryStream.SetLength(memoryStream.Position);&#xA;            memoryStream.Seek(0L, SeekOrigin.Begin);&#xA;            return (Stream)memoryStream;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Also we need to apply below patch:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;getMediaStream&amp;gt;&#xA;    &amp;lt;processor type=&amp;quot;Demo.Foundation.MediaLibrary.Infrastructure.Pipelines.GetMediaStream.ThumbnailProcessor, Demo.Foundation.MediaLibrary&amp;quot;&#xA;               patch:instead=&amp;quot;*[@type='Sitecore.Resources.Media.ThumbnailProcessor, Sitecore.Kernel']&amp;quot; /&amp;gt;&#xA;  &amp;lt;/getMediaStream&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Thank you,&lt;/p&gt;&#xA;" OwnerUserId="479" LastEditorUserId="1606" LastEditDate="2020-08-20T16:22:43.647" LastActivityDate="2020-08-20T16:22:43.647" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18234" PostTypeId="1" AcceptedAnswerId="18302" CreationDate="2019-04-22T08:38:59.213" Score="1" ViewCount="435" Body="&lt;p&gt;How can we add RoleToTheRole. For example i want to add ('sitecore\developer') role to the role ('sitecore\test') using power shell script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In c# with the below code i am able to add role to the role&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dQfgQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dQfgQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried adding member using like below, with the below syntax i am able to add the role in Members but my requirement is add the role in &quot;Member Of&quot; instead of &quot;Members&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS master:&gt; Add-RoleMember -Identity 'Test' -Members &quot;developer&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hW1g5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hW1g5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fAnfB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fAnfB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me in fixing this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you in advance.&lt;/p&gt;&#xA;" OwnerUserId="4214" LastEditorUserId="4214" LastEditDate="2019-04-25T10:15:24.603" LastActivityDate="2019-04-25T11:23:55.287" Title="Sitecore Add Role In Role using Sitecore Power Shell Extension Script" Tags="|powershell|role-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18235" PostTypeId="2" ParentId="18173" CreationDate="2019-04-22T08:41:31.550" Score="6" Body="&lt;p&gt;I found 2 solution for this issue and I ended using method 1 for the &quot;hashed url&quot; convenience. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Method 1: Using rendered(fieldRendererParameters)&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query ($datasource: String){&#xA;    item (path:$datasource){&#xA;    field (name:&quot;Image&quot;) {&#xA;      rendered(fieldRendererParameters:&quot;w=100&amp;amp;h=160&quot;)&#xA;    }&#xA;  }&#xA;}&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The result of this query is...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;data&quot;: {&#xA;    &quot;item&quot;: {&#xA;      &quot;field&quot;: {&#xA;        &quot;rendered&quot;: &quot;&amp;lt;img src=\&quot;/-/media/image.png?h=160&amp;amp;amp;w=100&amp;amp;amp;hash=A3B9D31108FCB37E099AA0A2AB19EA75\&quot; alt=\&quot;\&quot; width=\&quot;100\&quot; height=\&quot;160\&quot; style=\&quot;margin: 0px 0px\&quot; /&amp;gt;&quot;&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Method 2: Using inline fragments to query the image src&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Note that this method will require the size to be whitelisted via Sitecore config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://graphql.org/learn/queries/#inline-fragments&quot; rel=&quot;noreferrer&quot;&gt;GraphQL Inline Fragment reference&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query ($datasource: String){&#xA;    item (path:$datasource){&#xA;    field (name:&quot;Image&quot;) {&#xA;      ... on ImageField{&#xA;        src(maxWidth:100)&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;data&quot;: {&#xA;    &quot;item&quot;: {&#xA;      &quot;field&quot;: {&#xA;        &quot;image&quot;: &quot;/-/media/image.png?mw=100&quot;&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="5110" LastEditDate="2019-04-22T08:53:12.493" LastActivityDate="2019-04-22T08:53:12.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18236" PostTypeId="2" ParentId="18224" CreationDate="2019-04-22T09:17:03.723" Score="-2" Body="&lt;p&gt;Views.cshtml:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;&#xA;  @Html.Sitecore().field(@Model.Article)&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in Model.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string Article&#xA;        {&#xA;            get { return Templates.Models.Articles.Article;}&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2963" LastActivityDate="2019-04-22T09:17:03.723" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18237" PostTypeId="2" ParentId="18224" CreationDate="2019-04-22T11:30:19.767" Score="2" Body="&lt;p&gt;In your controller (or service), you could also add the &lt;code&gt;Sitecore.Items.Item&lt;/code&gt; on the view model that you send to your view and then use that item to render the content and Experience Editor functionality:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Controller/service&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contextItem = RenderingContext.Current.ContextItem;&#xA;&#xA;var articleItem = // get article item from multilist on contextItem;&#xA;&#xA;var viewModel = new ArticleViewModel&#xA;                    {&#xA;                        /// ... other business fields ...&#xA;                        ArticleItem = articleItem;&#xA;                    };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;View&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(&quot;Article Body&quot;, @Model.ArticleItem)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-04-22T11:30:19.767" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18238" PostTypeId="1" CreationDate="2019-04-22T11:42:32.893" Score="1" ViewCount="36" Body="&lt;p&gt;In core database go to the Item path: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/client/Applications/ExperienceProfile/Contact/PageSettings/Tabs/Overview&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;when I am going to open presentation details dialog and click on edit as below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Ax6kc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ax6kc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its throwing error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3TWml.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3TWml.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone please help? I am trying to show custom facet on experience profile.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastActivityDate="2019-04-22T11:42:32.893" Title="Presentation details dialog throw error" Tags="|xconnect|experience-analytics|experience-profile|contact-facets|" AnswerCount="0" CommentCount="1" ClosedDate="2019-04-22T12:04:48.203" ContentLicense="CC BY-SA 4.0" />
  <row Id="18241" PostTypeId="1" CreationDate="2019-04-22T14:52:46.350" Score="-3" ViewCount="438" Body="&lt;p&gt;Is there a way to disable Sitecore Client for public but need to be available inside company network? I am having a domain 'mydomain'. I need &lt;a href=&quot;https://mydomain/home&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mydomain/home&lt;/a&gt; (website) need to be accessible to public whereas &lt;a href=&quot;https://mydomain/sitecore/login&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mydomain/sitecore/login&lt;/a&gt; (client) should not. The later should work only inside company network. Please let me know.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update from comments below:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This instance is hosted on Azure PaaS, not on premises.&lt;/p&gt;&#xA;" OwnerUserId="4164" LastEditorUserId="73" LastEditDate="2019-04-23T08:51:14.353" LastActivityDate="2019-10-03T01:32:14.983" Title="How to disable Sitecore login only (Sitecore Client - https://&lt;domain&gt;/sitecore/login)" Tags="|paas|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18242" PostTypeId="1" CreationDate="2019-04-22T15:07:38.410" Score="0" ViewCount="94" Body="&lt;p&gt;Our website is currently having a Custom Reviews functionality where customers can review the product and upload images (just like Amazon reviews)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are currently saving the images in a separate SQL database which has Reviews table and Uploads table. Customer uploaded images are stored in binary format in SQL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now we are having a requirement where the customer has asked us to upload some 300-400 images with the campaign they did externally for a single product.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So when we are in the product page, these images are displayed in the reviews section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the best strategy going forward to manage the images? (as reviews are going to grow for every product)&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Continue to save image in SQL DB as binary? &lt;/li&gt;&#xA;&lt;li&gt;Move the images in Sitecore and save the path in SQL instead of&#xA;Binary?&lt;/li&gt;&#xA;&lt;li&gt;Migrating current images from SQL to Sitecore (publishing directly&#xA;in Web DB in case of Production - we wrote a tool for it) Is this a correct practice to directly publish in web, since master is not present?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4827" LastActivityDate="2019-04-22T20:08:48.870" Title="Customer Uploaded Image Management Strategy in Sitecore" Tags="|sitecore-client|media-library|" AnswerCount="1" CommentCount="0" ClosedDate="2019-04-22T21:26:18.920" ContentLicense="CC BY-SA 4.0" />
  <row Id="18243" PostTypeId="2" ParentId="18241" CreationDate="2019-04-22T16:21:54.613" Score="1" Body="&lt;p&gt;If you have your Sitecore environment on Azure, the App Service provides UX for this under Networking &gt; Ip Restrictions, from there you can block all ip address and allow a specic ip address or a range of address. You can do this for your Contet Management environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this &lt;a href=&quot;https://stackoverflow.com/questions/45990318/how-to-restrict-ip-addresses-with-an-azure-app-service-web-app&quot;&gt;article&lt;/a&gt; for more detail.&lt;/p&gt;&#xA;" OwnerUserId="5374" LastActivityDate="2019-04-22T16:21:54.613" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18245" PostTypeId="2" ParentId="18223" CreationDate="2019-04-22T17:50:03.337" Score="8" Body="&lt;p&gt;I had to make a modification to the existing Broken Links report included with SPE to show the broken renderings.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;    &amp;lt;#&#xA;    .SYNOPSIS&#xA;        Lists the items with broken links searching all or the latest version in the current language.&#xA;&#xA;    .NOTES&#xA;        Adam Najmanowicz, Michael West, Daniel Scherrer&#xA;        Adapted from the Advanced System Reporter module &amp;amp; Daniel Scherrer's external links checker: &#xA;        https://gist.github.com/daniiiol/143db3e2004afe9a55c1dd3e33048940&#xA;#&amp;gt;&#xA;&#xA;$database = &quot;master&quot;&#xA;$root = Get-Item -Path (@{$true=&quot;$($database):\content\home&quot;; $false=&quot;$($database):\content&quot;}[(Test-Path -Path &quot;$($database):\content\home&quot;)])&#xA;$linksToCheck =  @(&quot;internal&quot;)&#xA;$linkTypes = [ordered]@{&quot;Internal Links&quot;=&quot;internal&quot;;&quot;External Links (General Link only)&quot;=&quot;external&quot;};&#xA;&#xA;$versionOptions = [ordered]@{&#xA;    &quot;Latest&quot;=&quot;1&quot;&#xA;}&#xA;&#xA;$props = @{&#xA;    Parameters = @(&#xA;        @{Name=&quot;root&quot;; Title=&quot;Choose the report root&quot;; Tooltip=&quot;Only items in this branch will be returned.&quot;; Columns=9},&#xA;        @{Name=&quot;searchVersion&quot;; Value=&quot;1&quot;; Title=&quot;Version&quot;; Options=$versionOptions; Tooltip=&quot;Choose a version.&quot;; Columns=&quot;3&quot;; Placeholder=&quot;All&quot;},&#xA;        @{Name=&quot;linksToCheck&quot;; Title=&quot;Link types to check&quot;; Options=$linkTypes; Tooltip=&quot;which link types you want to check&quot;; Editor=&quot;checklist&quot;} &#xA;    )&#xA;    Title = &quot;Broken Links Report&quot;&#xA;    Description = &quot;Choose the criteria for the report.&quot;&#xA;    Width = 550&#xA;    Height = 300&#xA;    ShowHints = $true&#xA;    Icon = [regex]::Replace($PSScript.Appearance.Icon, &quot;Office&quot;, &quot;OfficeWhite&quot;, [System.Text.RegularExpressions.RegexOptions]::IgnoreCase)&#xA;}&#xA;&#xA;$result = Read-Variable @props&#xA;&#xA;if($result -eq &quot;cancel&quot;){&#xA;    exit&#xA;}&#xA;&#xA;filter HasBrokenLink {&#xA;    param(&#xA;        [Parameter(Mandatory=$true,ValueFromPipeline=$true)]&#xA;        [Sitecore.Data.Items.Item]$Item,&#xA;&#xA;        [Parameter()]&#xA;        [bool]$IncludeAllVersions&#xA;    )&#xA;&#xA;    if(!$Item) { return }&#xA;    if($linksToCheck.Contains(&quot;internal&quot;)) {&#xA;        $brokenLinks = $item.Links.GetBrokenLinks($IncludeAllVersions)&#xA;        if($brokenlinks -ne $null -and $brokenlinks.Length -gt 0) {&#xA;            $finalRenderings = Get-Rendering -Item $Item -FinalLayout&#xA;            $sharedRenderings = Get-Rendering -Item $Item&#xA;            $uniqueIdLookup = New-Object System.Collections.Generic.HashSet[string]&#xA;            foreach($brokenLink in $brokenLinks) {&#xA;                if([ID]::IsNullOrEmpty($brokenLink.SourceFieldID)) { continue }&#xA;                $fieldItem = Get-Item -Path &quot;$($Item.Database.Name):\&quot; -ID $brokenLink.SourceFieldID&#xA;                if(!$fieldItem) { continue }&#xA;                $renderings = &amp;amp; {&#xA;                    switch($fieldItem.ID) {&#xA;                        &quot;{04BF00DB-F5FB-41F7-8AB7-22408372A981}&quot; {&#xA;                            $finalRenderings&#xA;                        }&#xA;                        default {&#xA;                            $sharedRenderings&#xA;                        }&#xA;                    }&#xA;                }&#xA;                $brokenRendering = $renderings | Where-Object { $_.Datasource -eq $brokenLink.TargetPath -and !$uniqueIdLookup.Contains($_.UniqueId) } | Select-Object -First 1&#xA;                if(!$brokenRendering) { continue }&#xA;                $uniqueIdLookup.Add($brokenRendering.UniqueId) &amp;gt; $null&#xA;                $brokenRenderingItem = Get-Item -Path &quot;master:&quot; -ID $brokenRendering.ItemId&#xA;                $brokenItem = [pscustomobject]@{&#xA;                    &quot;ID&quot;=$Item.ID&#xA;                    &quot;Icon&quot;=$Item.__Icon&#xA;                    &quot;DisplayName&quot;=$Item.DisplayName&#xA;                    &quot;ItemPath&quot;=$Item.ItemPath&#xA;                    &quot;Version&quot;=$Item.Version&#xA;                    &quot;Language&quot;=$Item.Language&#xA;                    &quot;__Updated&quot;=$Item.__Updated&#xA;                    &quot;__Updated by&quot;=$Item.&quot;__Updated by&quot;&#xA;                    &quot;Link Field&quot;=$fieldItem.Name&#xA;                    &quot;Rendering&quot; = $brokenRenderingItem.Name&#xA;                    &quot;Target Path&quot;=$brokenLink.TargetPath&#xA;                    &quot;Status Code&quot;=&quot;Missing Target Item&quot;&#xA;                    &quot;BrokenLink&quot;=$brokenLink&#xA;                    &quot;Link Type&quot; = &quot;Internal&quot;&#xA;                }&#xA;&#xA;                $brokenItem&#xA;&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    if($linksToCheck.Contains(&quot;external&quot;)){&#xA;        if($IncludeAllVersions){&#xA;            $allItems = Get-Item &quot;$($item.Database.Name):&quot; -Version * -Language * -Id $item.Id&#xA;        } else {&#xA;            $allItems = @(Get-Item &quot;$($item.Database.Name):&quot; -Language * -Id $item.Id)&#xA;        }&#xA;        foreach($checkedItem in $allItems){&#xA;            foreach($field in $checkedItem.Fields) {&#xA;                if ($field.Type -eq 'General Link' -and $field.Value -like '*linktype=&quot;external&quot;*') { &#xA;                    $found = $field.Value -match '.*url=&quot;(.*?)&quot;.*'&#xA;                    if($found) {&#xA;                        $url = $matches[1]&#xA;                    }&#xA;&#xA;                    try{ &#xA;                        $response = Invoke-WebRequest -Uri $url -UseBasicParsing -Method head&#xA;                    } &#xA;                    catch {&#xA;                        $statuscode = $_.Exception.Response.StatusCode.Value__&#xA;&#xA;                        if(!$statuscode) {&#xA;                            $statuscode = &quot;Not reachable&quot;&#xA;                        }&#xA;&#xA;                        $brokenItem = [pscustomobject]@{&#xA;                            &quot;ID&quot;=$checkedItem.ID&#xA;                            &quot;Icon&quot;=$checkedItem.__Icon&#xA;                            &quot;DisplayName&quot;=$checkedItem.DisplayName&#xA;                            &quot;ItemPath&quot;=$checkedItem.ItemPath&#xA;                            &quot;Version&quot;=$checkedItem.Version&#xA;                            &quot;Language&quot;=$checkedItem.Language&#xA;                            &quot;__Updated&quot;=$checkedItem.__Updated&#xA;                            &quot;__Updated by&quot;=$checkedItem.&quot;__Updated by&quot;&#xA;                            &quot;Link Field&quot;=$field.Name&#xA;                            &quot;Target Path&quot;=$url&#xA;                            &quot;Status Code&quot;=$statuscode&#xA;                            &quot;Link Type&quot;=&quot;External&quot;&#xA;                        }&#xA;&#xA;                        $brokenItem&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;$items = @($root) + @(($root.Axes.GetDescendants() | Initialize-Item)) | HasBrokenLink -IncludeAllVersions (!$searchVersion)&#xA;&#xA;if($items.Count -eq 0){&#xA;    Show-Alert &quot;There are no items found which have broken links in the current language.&quot;&#xA;} else {&#xA;    $props = @{&#xA;        Title = &quot;Broken Links Report&quot;&#xA;        InfoTitle = &quot;$($items.Count) items with broken links found!&quot;&#xA;        InfoDescription = &quot;The report checked for $($linksToCheck -join ' &amp;amp; ') links in $(@('all versions','latest versions')[[byte]($searchVersion='1')]) of items.&quot;&#xA;        MissingDataMessage = &quot;There are no items found which have broken links in the current language.&quot;&#xA;        PageSize = 25&#xA;        ViewName = &quot;BrokenLinks&quot;&#xA;        Property = @(&#xA;            &quot;Icon&quot;,&quot;Status Code&quot;, &#xA;            @{Label=&quot;Name&quot;; Expression={$_.DisplayName} }, &#xA;            @{Label=&quot;Item Path&quot;; Expression={$_.ItemPath} },&quot;Link Field&quot;, &quot;Rendering&quot;,&quot;Target Path&quot;,&#xA;            &quot;Link Type&quot;,&#xA;            &quot;Version&quot;,&#xA;            &quot;Language&quot;,&#xA;            @{Label=&quot;Updated&quot;; Expression={$_.__Updated} },&#xA;            @{Label=&quot;Updated by&quot;; Expression={$_.&quot;__Updated by&quot;} }&#xA;        )&#xA;    }&#xA;&#xA;    $items | Show-ListView @props&#xA;}&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will make a nice addition to 5.1 (whenever that comes out). You can see below that the rendering in question is now included. You could take the script further and show which placeholder holds the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CvGDm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CvGDm.png&quot; alt=&quot;Example Report&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-04-23T14:45:52.667" LastActivityDate="2019-04-23T14:45:52.667" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18248" PostTypeId="2" ParentId="18242" CreationDate="2019-04-22T20:08:48.870" Score="1" Body="&lt;p&gt;By saying &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Move the images in Sitecore and save the path in SQL&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;i understand that your saying that you want to store them as File System, there are &lt;strong&gt;Pros&lt;/strong&gt; and &lt;strong&gt;Cons&lt;/strong&gt; in these two options, one of the &lt;strong&gt;Cons&lt;/strong&gt; of storing the images in DB as binary is the size increase, but since you save your images in a separate database i would suggest to have images like any other item in the CMS and keep saving them in SQL DB as binary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a great &lt;a href=&quot;http://firebreaksice.com/storing-sitecore-media-in-the-database-vs-the-file-system/&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; that explains all this.&lt;/p&gt;&#xA;" OwnerUserId="5374" LastActivityDate="2019-04-22T20:08:48.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18250" PostTypeId="2" ParentId="18195" CreationDate="2019-04-22T22:48:25.377" Score="4" Body="&lt;p&gt;Sitecore has two selections for topologies out of the box: XP Single (XP0) or XP Scaled. &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-configurations-and-topology-for-azure.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;See here for details.&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you provision these topologies via market place, in essence you are executing &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&quot; rel=&quot;nofollow noreferrer&quot;&gt;these ARM templates&lt;/a&gt; which in my opinion are fairly extensible / modifiable. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The roles you've mentioned (Cortex Processing, Cortex Reporting, MA Ops, MA Reporting) are mandatory roles for Sitecore XP, and cannot be disabled. However they can be combined into a single instance which is what you get on XP Single. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to answer your question, you have a few options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can provision an XP Single topology and manually clone the &quot;Standalone&quot; role (CM+CD+PRC+REP) and then change the cloned role to be a ContentDelivery role&lt;/li&gt;&#xA;&lt;li&gt;You can modify the ARM templates for XP Single and do the same. &lt;/li&gt;&#xA;&lt;li&gt;You can provision an XP Scaled topology and manually or via ARM template make them all use the same &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-plans&quot; rel=&quot;nofollow noreferrer&quot;&gt;Hosting Plan&lt;/a&gt;. In Azure PaaS you are charged for the Hosting Plan, not for the website instances that run on a hosting plan. Of course this means they will share the resources of the hosting plan.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;A note of warning is that there is a small learning curve for ARM templates and it is unfortunately a trial and error as there is no way to fully validate an ARM template other than actually running it.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-04-22T22:48:25.377" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18251" PostTypeId="1" AcceptedAnswerId="18252" CreationDate="2019-04-23T00:32:02.657" Score="2" ViewCount="66" Body="&lt;p&gt;I have upgraded TDS version from 5.5 to 5.7 for the tedious procedure of manual project sync. But when i do 'Sync all projects with Sitecore' I got the following warning &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IBeYJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IBeYJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any restriction of using the feature?  &lt;/p&gt;&#xA;" OwnerUserId="5394" LastActivityDate="2019-04-23T07:15:58.100" Title="TDS classic 5.7 'Sync all projects with Sitecore' feature warning" Tags="|helix|tds|serialization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18252" PostTypeId="2" ParentId="18251" CreationDate="2019-04-23T01:11:05.810" Score="5" Body="&lt;p&gt;You should set up a &lt;a href=&quot;https://hedgehogdevelopment.github.io/tds/chapter4.html#global-config&quot; rel=&quot;nofollow noreferrer&quot;&gt;Global Config file as per the documentation&lt;/a&gt;. You can then set the URL and path as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;SitecoreWebUrl&amp;gt;http://your.url&amp;lt;/SitecoreWebUrl&amp;gt;&#xA;&amp;lt;SitecoreDeployFolder&amp;gt;C:\inetpub\wwwroot\your.path&amp;lt;/SitecoreDeployFolder&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then go through your TDS projects properties and make sure it is inheriting from the global config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I'd advise upgrading to the latest version (TDS 5.8 at time of writing).&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="73" LastEditDate="2019-04-23T07:15:58.100" LastActivityDate="2019-04-23T07:15:58.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18253" PostTypeId="2" ParentId="18157" CreationDate="2019-04-23T05:36:56.033" Score="1" Body="&lt;p&gt;Just replace your database name and run below script on SQL:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ALTER DATABASE [DBName] SET EMERGENCY;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;GO&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ALTER DATABASE [DBName] set single_user&lt;/p&gt;&#xA;&#xA;&lt;p&gt;GO&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DBCC CHECKDB ([DBName], REPAIR_ALLOW_DATA_LOSS) WITH ALL_ERRORMSGS;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;GO &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ALTER DATABASE [DBName] set multi_user&lt;/p&gt;&#xA;&#xA;&lt;p&gt;GO&lt;/p&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-04-23T05:36:56.033" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18254" PostTypeId="1" AcceptedAnswerId="18256" CreationDate="2019-04-23T06:04:34.507" Score="0" ViewCount="252" Body="&lt;p&gt;I got the requirement from our client that he wants to render the Page instead of page item name with the specific field text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ex: I have a page item name as &quot;findyourmarket&quot;. So this page will browse by &lt;a href=&quot;https://domainname/findyourmarket&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://domainname/findyourmarket&lt;/a&gt;. Now this page has a field &quot;SEO URL&quot; and value is &quot;Find-your-market&quot;. Now this page will be rendered as &lt;a href=&quot;https://domainname/Find-your-market&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://domainname/Find-your-market&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have suggested the &quot;display name&quot; property and Aliases concept but he is not agreed with those.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If any inputs are really helpful for us. Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3959" LastEditorUserId="3959" LastEditDate="2019-04-23T06:19:13.517" LastActivityDate="2019-04-23T08:28:13.977" Title="Is there any way to render the Page instead of item name with the specific field of text?" Tags="|sitecore-api|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18255" PostTypeId="1" CreationDate="2019-04-23T06:28:54.287" Score="1" ViewCount="233" Body="&lt;p&gt;I need to give a content author permissions to add url redirects to the folder &lt;code&gt;/sitecore/system/Modules/Redirect Module&lt;/code&gt;, but I don't want to make them an administrator. How do I do that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried adding them to the roles that look relavent and still no joy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, I want to give them access only to &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Modules/Redirect Module&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but if they get access to other Modules in that folder, that's fine to. I just don't want them to be administrators ..&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="70" LastEditDate="2019-04-23T08:28:07.727" LastActivityDate="2019-04-23T08:34:15.930" Title="Give Role permissions to add Url Redirects in System folder" Tags="|security|role-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18256" PostTypeId="2" ParentId="18254" CreationDate="2019-04-23T06:52:05.190" Score="5" Body="&lt;p&gt;To create custom URL's based on a custom field, you will have to write your own linkprovider and plug it in. &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-and-select-a-custom-link-provider.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-and-select-a-custom-link-provider.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the link provider you can generate different URL's.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, you need to add a custom itemresolver in the httprequestbegin pipeline to translate the url back into the item. In this class you will need to read the url, and find the item using your custom &quot;SEO url&quot;. You will need to set the sitecore context item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomItemResolver : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        var path = args.Url.ItemPath;&#xA;        var item = FindItem(path);&#xA;&#xA;        if (item != null)&#xA;        {&#xA;            Context.Item = item;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-04-23T06:52:05.190" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18257" PostTypeId="2" ParentId="18254" CreationDate="2019-04-23T08:28:13.977" Score="-1" Body="&lt;p&gt;If it is about getting SEO friendly names then you can use &lt;code&gt;&amp;lt;encodeNameReplacements&amp;gt;&lt;/code&gt; configuration from Sitecore.config. Create a patch file for this and add configuration to replace spaces(&quot; &quot;) and other symbols with SEO friendly names. This would not effect item names and happens at runtime. Sitecore will handle it out of the box. The example patch can look like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;encodeNameReplacements&amp;gt;&#xA;            &amp;lt;replace mode=&quot;on&quot; find=&quot; &quot; replaceWith=&quot;-&quot; /&amp;gt;&#xA;        &amp;lt;/encodeNameReplacements&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Otherwise, If this is not the case then I would support the solution given by Bart.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="5405" LastActivityDate="2019-04-23T08:28:13.977" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18258" PostTypeId="2" ParentId="18255" CreationDate="2019-04-23T08:34:15.930" Score="3" Body="&lt;p&gt;As the Url Redirect module is a 3rd party Sitecore module, by default it doesn't have any access rights applied to it (I just installed and checked to be sure).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to pick your role, or create a specific role, and then assign security rights to the &lt;code&gt;Url Rewrite&lt;/code&gt; folders that you want editors to be able to read/edit. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would create 2 roles, &lt;code&gt;&amp;lt;domain&amp;gt;/Rewrite Read&lt;/code&gt; and &lt;code&gt;&amp;lt;domain&amp;gt;/Rewrite Write&lt;/code&gt; - that will give you some flexibility on the security.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, make sure that the content editors have &lt;code&gt;Read&lt;/code&gt; access to parent folders, otherwise they will not be able to open the tree to view the &lt;code&gt;Url Rewrite&lt;/code&gt; module folder.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-04-23T08:34:15.930" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18259" PostTypeId="2" ParentId="18213" CreationDate="2019-04-23T08:37:05.900" Score="8" Body="&lt;p&gt;From the looks of it, the configuration was not patched correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;/sitecore/api/graph/items/master/…&lt;/code&gt; is the default JSS endpoint which has search query enabled, while the default JSS project setup does not have search query enabled (it has only Item query enabled by default). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your configuration in &lt;code&gt;http://yourdomain/sitecore/admin/showconfig.aspx&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The query must be added as part of your &quot;angular-app&quot; endpoint. It should look something like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;GraphQL patch:source=&quot;Sitecore.Services.GraphQL.config&quot;&amp;gt;&#xA;    &amp;lt;endpoints patch:source=&quot;ExtendJss.config&quot;&amp;gt;&#xA;        &amp;lt;angular-appGraphQLEndpoint type=&quot;Sitecore.Services.GraphQL.Hosting.DatabaseAwareGraphQLEndpoint, Sitecore.Services.GraphQL.NetFxHost&quot; url=&quot;/api/angular-app&quot; resolve=&quot;true&quot; patch:source=&quot;angular-app.config&quot;&amp;gt;&#xA;&#xA;            &amp;lt;queries hint=&quot;raw:AddQuery&quot;&amp;gt;&#xA;                &amp;lt;query name=&quot;item&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.ItemQuery, Sitecore.Services.GraphQL.Content&quot;/&amp;gt;&#xA;                &amp;lt;query name=&quot;sites&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.SiteQuery, Sitecore.Services.GraphQL.Content&quot;/&amp;gt;&#xA;                &amp;lt;query name=&quot;templates&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.TemplatesQuery, Sitecore.Services.GraphQL.Content&quot;/&amp;gt;&#xA;                &amp;lt;query name=&quot;search&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.SearchQuery, Sitecore.Services.GraphQL.Content&quot;/&amp;gt;&#xA;            &amp;lt;/queries&amp;gt;&#xA;&#xA;        &amp;lt;/angular-appGraphQLEndpoint&amp;gt;&#xA;    &amp;lt;/endpoints&amp;gt;&#xA;&amp;lt;/GraphQL&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="5110" LastEditDate="2019-04-23T10:15:18.907" LastActivityDate="2019-04-23T10:15:18.907" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18260" PostTypeId="1" AcceptedAnswerId="18261" CreationDate="2019-04-23T09:14:42.357" Score="1" ViewCount="446" Body="&lt;p&gt;I'm migrating my Sitecore 8.1 solution to Sitecore 9.1.&lt;/p&gt;&#xA;&lt;p&gt;The Sitecore.Buckets.Managers assembly is not supported anymore. What should I use to still deal with my buckets ? Is there any replacement of BucketManager ?&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;foreach (Item assetLibrary in assetLibraries)&#xA;{&#xA;    if (BucketManager.IsBucket(assetLibrary))&#xA;    {&#xA;        BucketManager.Sync(assetLibrary);&#xA;    }&#xA;    searchIndex.Refresh((IIndexable)assetLibrary, IndexingOptions.ForcedIndexing);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;Update: Content added from OP:&lt;/h3&gt;&#xA;&lt;p&gt;Yes, but the issue is that I cannot install the Sitecore.Buckets.dll version 9.1.1 in my solution :&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Could not install package 'Sitecore.Buckets 9.1.1'. You are trying to&#xA;install this package into a project that targets&#xA;'.NETFramework,Version=v4.7', but the package does not contain any&#xA;assembly references or content files that are compatible with that&#xA;framework. For more information, contact the package author.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;And my solution needs .NET 4.7 Framework...&lt;/p&gt;&#xA;" OwnerUserId="1566" LastEditorUserId="342" LastEditDate="2023-05-31T14:00:10.820" LastActivityDate="2023-05-31T14:00:10.820" Title="Sitecore Bucket Manager in Sitecore 9.1" Tags="|upgrade|buckets|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18261" PostTypeId="2" ParentId="18260" CreationDate="2019-04-23T09:20:41.587" Score="3" Body="&lt;p&gt;Sitecore.Buckets.Manager is present Sitecore.Buckets.dll assembly in Sitecore 9.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You don't need to do any changes in your code. Just, reference right assembly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1 requires .net 4.7.1. See: &lt;a href=&quot;https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="666" LastEditorUserId="70" LastEditDate="2019-04-23T09:48:04.213" LastActivityDate="2019-04-23T09:48:04.213" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18263" PostTypeId="2" ParentId="13724" CreationDate="2019-04-23T10:03:00.473" Score="1" Body="&lt;p&gt;Change &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;@Html.DisplayTextFor(t =&gt; Model.Title)&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;to &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;@Html.Raw(Model.Title)&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;under &lt;strong&gt;&lt;em&gt;Checkbox.cshtml&lt;/em&gt;&lt;/strong&gt; under your &lt;strong&gt;Website\Views\FormBuilder\FieldTemplates.&lt;/strong&gt;&#xA;It will render all the html tag and your anchor tag will work.&lt;/p&gt;&#xA;" OwnerUserId="5435" LastEditorUserId="5435" LastEditDate="2019-04-26T06:05:21.297" LastActivityDate="2019-04-26T06:05:21.297" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18264" PostTypeId="1" AcceptedAnswerId="18270" CreationDate="2019-04-23T10:21:54.393" Score="0" ViewCount="2021" Body="&lt;p&gt;I have a template which contains a General Link field. If a new item is created of that template, then the link field should be populated with the item's current path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Suppose, template A have a general link field called CTA. Every time a new item is created using template A that CTA field is populated with the item's path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to achieve this functionality? Thanks for the help.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update based on comments below:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I was thinking to perform this at rendering time but now I am looking something at the template level. Whenever a new item is created of that template, the CTA field populated with the item's current path. That's why I asked if we can create a custom token for general link field or not? –&lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="70" LastEditDate="2019-04-23T12:02:49.540" LastActivityDate="2019-04-23T12:02:49.540" Title="How to insert an internal path in Sitecore General Link field?" Tags="|links|link-manager|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18265" PostTypeId="2" ParentId="18264" CreationDate="2019-04-23T10:51:31.247" Score="-2" Body="&lt;p&gt;You can do something like this.&#xA;You can optimize this code, this is just an example.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      var link = (Sitecore.Data.Fields.LinkField)item.Fields[GeneralLink];&#xA;&#xA;      if (link != null &amp;amp;&amp;amp; string.IsNullOrEmpty(link.Url))&#xA;      {           &#xA;&#xA;        contextItem.Editing.BeginEdit();&#xA;        using (new EditContext(contextItem))&#xA;        {&#xA;          contextItem.Fields[&quot;GeneralLink&quot;].Value = LinkManager.GetItemUrl(Sitecore.Context.Item);&#xA;        }&#xA;        contextItem.Editing.EndEdit();&#xA;&#xA;      }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5374" LastEditorUserId="5374" LastEditDate="2019-04-23T11:09:58.477" LastActivityDate="2019-04-23T11:09:58.477" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18266" PostTypeId="1" CreationDate="2019-04-23T11:01:58.893" Score="1" ViewCount="468" Body="&lt;p&gt;We are implementing web accessibility in our Sitecore solution to make our website ADA compliance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When working with general links, including value in the &lt;strong&gt;alt&lt;/strong&gt; field of link puts this value in &lt;strong&gt;title&lt;/strong&gt; attribute on the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rLSev.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rLSev.png&quot; alt=&quot;Link in Description&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lqsqT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lqsqT.png&quot; alt=&quot;Link on Page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this enough to achieve ADA compliance for links? &#xA;We are using NVD tool to check screen reader if it'll read the title attribute and it does not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, is there any Sitecore module we can use to achieve web accessibility in Sitecore so that we don't have to extend default Sitecore fields?&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="73" LastEditDate="2019-04-23T11:06:26.850" LastActivityDate="2020-02-06T11:27:44.560" Title="Ensuring ADA compliance" Tags="|accessibility|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18270" PostTypeId="2" ParentId="18264" CreationDate="2019-04-23T12:01:34.950" Score="1" Body="&lt;h3&gt;Render Time:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To perform this at rendering time, simply check if the General Link field is empty when populating your View Model. If it is empty, you can then get the current items Url and use that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lets assume the view model is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyViewModel {&#xA;&#xA;   public HtmlString MyLinkField { get; set; }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the controller;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (item[&quot;MyLinkField&quot;] == string.Empty)&#xA;{&#xA;    var url = LinkManager.GetItemUrl(Sitecore.Context.Item);&#xA;    viewModel.MyLinkField = $&quot;&amp;lt;a href=\&quot;@url\&quot;&amp;gt;Work out your title here&amp;lt;/a&amp;gt;&quot;;&#xA;}&#xA;else &#xA;{&#xA;    // todo: render the link normally here&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That is really rough pseudo code to get you going. But that should work to replace empty links with a link to the current page at render time.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;On Creation&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To do this on item creation, you can hook into the &lt;code&gt;item:created&lt;/code&gt; or &lt;code&gt;item:creating&lt;/code&gt; events and set the value of the link field based on the code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Editing.BeginEdit();&#xA;LinkField linkField = item.Fields[&quot;MyLinkField&quot;];&#xA;if (string.IsNullOrEmpty(linkField?.TargetID))&#xA;{&#xA;    linkField.TargetID = Sitecore.Context.Item.ID;&#xA;    linkField.Text = Sitecore.Context.Item[Sitecore.FieldIDs.DisplayName];&#xA;    linkField.LinkType = &quot;internal&quot;;&#xA;}&#xA;item.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Caveats&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This method should be disabled for the Experience Editor - as it would mean that content editors could not add a link to the field unless one was already there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There may be better ways to check if a General Link field is empty.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-04-23T12:01:34.950" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18271" PostTypeId="1" CreationDate="2019-04-23T12:41:47.360" Score="0" ViewCount="273" Body="&lt;p&gt;Our solution is currently on Sitecore 9.0.2 with SXA 1.8 , until yesterday all our deployments were working as expected. All of a sudden, I am facing the Mythical Body-top placeholder problem - &lt;a href=&quot;http://blog.martinmiles.net/post/mythical-sxa-body-top-placeholder&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.martinmiles.net/post/mythical-sxa-body-top-placeholder&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I have tried adding a new Theme&lt;/li&gt;&#xA;&lt;li&gt;Re-serializing my theme as mentioned in the blog post&lt;/li&gt;&#xA;&lt;li&gt;Compared the Configs  &lt;/li&gt;&#xA;&lt;li&gt;Compared HMTL on SXALayout.cshtml&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The same build deployed on a Higher environment is working as expected &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone here faced a similar problem, any suggestions to resolve it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As suggested in the comments , i have deleted the Optimize-min items from all themes , there are no javascript errors on the console &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cbjYe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cbjYe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="3355" LastEditDate="2019-04-23T14:29:28.690" LastActivityDate="2019-10-06T16:02:05.250" Title="Sitecore SXA is displaying body-top place holder on all pages" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18272" PostTypeId="1" AcceptedAnswerId="18273" CreationDate="2019-04-23T13:20:43.953" Score="1" ViewCount="234" Body="&lt;p&gt;We have a client that wants to use Spanish as the default language when they login to the admin interface. I added Spanish to the core and master database. Then I set a user's defaults to it but when they login all of the words are blank. I saw that if I go into the core database and add versions for Spanish and update the name for an item like &quot;Preview&quot;. Then it would show up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I have to go to every item in the core database and add a Spanish version and update the display name for the admin interface to show in Spanish? Is there an easier way or a package I can download instead?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is on Sitecore 8.2 Update 6.&lt;/p&gt;&#xA;" OwnerUserId="2614" LastActivityDate="2019-04-23T13:45:47.747" Title="Language and Admin Interface" Tags="|multilingual|admin-pages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18273" PostTypeId="2" ParentId="18272" CreationDate="2019-04-23T13:45:47.747" Score="1" Body="&lt;p&gt;Sitecore does not offer a Spanish language pack for the Sitecore client. Only the following are available:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m82Mk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m82Mk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-04-23T13:45:47.747" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18275" PostTypeId="1" CreationDate="2019-04-23T15:08:21.890" Score="3" ViewCount="49" Body="&lt;p&gt;Is there a way to restrict a user access to a specific shop or catalog in BizFX UI so that the user that owns a specific set of products can only manage it but not the other products?&lt;/p&gt;&#xA;" OwnerUserId="5375" LastActivityDate="2019-04-23T15:08:21.890" Title="BizFX restrict user access to specific shop or catalog" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18276" PostTypeId="1" CreationDate="2019-04-23T15:13:31.373" Score="1" ViewCount="236" Body="&lt;p&gt;I have a requirement to send a email to subscribers once a blog will be available publicly. Requirement is very specific that email will be send only one time when item is created, not on update or multiple publishing. We will use EXM automated campaign to send email through code . I would like to know best approach to track the availability of item in web database and send email. &lt;/p&gt;&#xA;" OwnerUserId="3841" LastEditorUserId="95" LastEditDate="2019-04-23T15:53:22.553" LastActivityDate="2019-04-24T06:20:55.530" Title="Item Created Event for Web database and send email" Tags="|exm|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18278" PostTypeId="1" AcceptedAnswerId="18279" CreationDate="2019-04-23T16:58:47.567" Score="6" ViewCount="1045" Body="&lt;p&gt;We have deployed a jss app to a Content Delivery server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have followed instructions to add jss support to the server role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Links to media items generated by Image components begin with &lt;code&gt;/-/jssmedia&lt;/code&gt; and 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changing the generated urls to start with &lt;code&gt;/-/media&lt;/code&gt; makes them serve an image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error in the logs for broken links is this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;3392 11:43:27 ERROR Application error.&#xA;Exception: System.Web.HttpException&#xA;Message: The file '/-/jssmedia/cms-sitecore/data/media/img/sitecorejss_media.ashx' does not exist.&#xA;Source: System.Web&#xA;   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)&#xA;   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)&#xA;   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)&#xA;   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)&#xA;   at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)&#xA;   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;IIS Handler Mappings&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;On the Content Delivery server, IIS Site &gt; Handler Mappings shows the sitecore_media.ashx endpoint. It does not have a sitecorejss_media.ashx endpoint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a Content Management server, where the images are showing up, the sitecorejss_media.ashx endpoint is registered.&lt;/p&gt;&#xA;" OwnerUserId="5305" LastEditorUserId="5305" LastEditDate="2019-04-23T17:53:28.707" LastActivityDate="2023-05-26T09:59:25.213" Title="On content delivery server, /-/jssmedia link breaks, /-/media link works" Tags="|jss|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18279" PostTypeId="2" ParentId="18278" CreationDate="2019-04-23T18:13:39.153" Score="7" Body="&lt;p&gt;What we did:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Located the file &lt;code&gt;Sitecore.JavaScriptServices.MediaRequestHandler.jssconfig&lt;/code&gt; in the App_Config directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pulled out the line where it defines the handler, and added it to end of the system.webServer/handlers section of the root web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The patch looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_expeditor_speak_request_async.ashx&quot; type=&quot;Sitecore.ExperienceEditor.Speak.Server.RequestAsyncHandler, Sitecore.ExperienceEditor.Speak&quot; name=&quot;Sitecore.ExperienceEditor.Speak.Server.RequestAsyncHandler&quot; /&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; path=&quot;sitecorejss_media.ashx&quot; type=&quot;Sitecore.JavaScriptServices.Media.MediaRequestHandler, Sitecore.JavaScriptServices.Media&quot; name=&quot;Sitecore.JavaScriptServices.Media.MediaRequestHandler&quot; /&amp;gt;&#xA;    &amp;lt;/handlers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5305" LastActivityDate="2019-04-23T18:13:39.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18280" PostTypeId="1" AcceptedAnswerId="18282" CreationDate="2019-04-23T21:25:18.597" Score="0" ViewCount="188" Body="&lt;p&gt;My Problem is, I've some configuration Items which are created with the new Items Only sync. That seems to work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I add some roles/permissions to this Items on my local dev machine and I want to sync them also on my staging environment, then the new roles/permissions never get applied to this existing items. I think this is right. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But how can I handle permission changes on new Items Only synced items with Unicorn, when I change or Add permissions to new Items Only synced items?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="605" LastEditDate="2019-04-24T13:25:39.827" LastActivityDate="2019-04-24T13:25:39.827" Title="Unicorn sync __Security for new items only synchronisation existing items" Tags="|unicorn|permissions|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18281" PostTypeId="2" ParentId="18276" CreationDate="2019-04-24T06:20:55.530" Score="3" Body="&lt;p&gt;I would use item:created event handler, because this is only fired once, when the item is published. (Publish creates the item in web database). &#xA;It isn't fired multiple times, even if you create a new version from the item or republish the item instead of smart publish. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public void OnItemCreated(object sender, EventArgs args)&#xA;    {&#xA;        Item item = ((Sitecore.Data.Events.ItemCreatedEventArgs)(Event.ExtractParameter(args, 0))).Item;&#xA;&#xA;        if (item == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (item.Database.Name == &quot;web&quot;)&#xA;        {&#xA;            // Send your mail&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do not forget to register this at &quot;item:created&quot; event in your config&lt;/p&gt;&#xA;" OwnerUserId="4816" LastActivityDate="2019-04-24T06:20:55.530" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18282" PostTypeId="2" ParentId="18280" CreationDate="2019-04-24T08:21:09.957" Score="1" Body="&lt;p&gt;Well... you can't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;NewItemsOnly&lt;/code&gt; does as the name would indicate. It syncs only items onto your target environment that do not already exist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing you could do, was to apply permissions on a parent item to the item in questions, one which you had under normal Unicorn control. And manage permissions on that, having them be inherited to child items.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-04-24T08:21:09.957" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18283" PostTypeId="1" CreationDate="2019-04-24T10:48:13.637" Score="0" ViewCount="766" Body="&lt;p&gt;How to change the &lt;strong&gt;error message&lt;/strong&gt; of a required &lt;strong&gt;checkbox&lt;/strong&gt; in a particular sitecore forms??&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have two forms with checkbox on each form. I want to apply different custom error message in each form. So, on &lt;strong&gt;1st form&lt;/strong&gt; the message should be &quot;&lt;strong&gt;Form1 checkbox is required&lt;/strong&gt;&quot; and on &lt;strong&gt;2nd form&lt;/strong&gt; the message should be &quot;&lt;strong&gt;Form2 checkbox is mandatory&lt;/strong&gt;&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want different custom message in different form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Idea?&lt;/p&gt;&#xA;" OwnerUserId="5435" LastEditorUserId="605" LastEditDate="2019-04-24T13:48:50.043" LastActivityDate="2021-03-15T19:15:50.977" Title="Custom error message for checkbox" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18288" PostTypeId="2" ParentId="17090" CreationDate="2019-04-24T19:15:08.103" Score="2" Body="&lt;p&gt;I finally got around to doing this. Once you are identified once, from that point forward you need to add identifiers manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First you want to check if the identifier exists already. NOTE: This code only checks the current user. There is still a risk that someone else will have the identifier in xConnect. We will need to do a lookup in xConnect for that.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool DoesUserHaveEmailIdentifier()&#xA;{&#xA;    return Sitecore.Analytics.Tracker.Current.Contact.Identifiers.Any(x =&amp;gt; x.Source == &quot;twitter&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then with the ContactManager class you can add an identifier to the current contact. Finally you need to flush out the current contact and reload it. Like the &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/add-identifiers-to-a-contact.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore doco&lt;/a&gt; states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This identifier will not be available in&#xA;  Sitecore.Analytics.Tracker.Current.Contact.Identifiers, as the tracker&#xA;  does not reload a contact after AddIdentifier() is called.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    // create a new contact manager for this contact&#xA;    var contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;&#xA;    // add the new identifier&#xA;    var identifier = new Sitecore.Analytics.Model.Entities.ContactIdentifier(&quot;twitter&quot;, &quot;CoolTwitterName&quot;, ContactIdentificationLevel.Known);&#xA;    contactManager.AddIdentifier(&quot;twitter&quot;, &quot;CoolTwitterName&quot;);&#xA;&#xA;    // reload the contact&#xA;    contactManager.RemoveFromSession(Tracker.Current.Contact.ContactId);&#xA;    Tracker.Current.Session.Contact = contactManager.LoadContact(Tracker.Current.Session.Contact.ContactId);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-04-25T03:45:55.823" LastActivityDate="2019-04-25T03:45:55.823" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18289" PostTypeId="2" ParentId="18283" CreationDate="2019-04-24T19:17:55.680" Score="2" Body="&lt;p&gt;The only way I can think of without writing custom code is to copy the wanted validator items and give them different messages. This approach could work for all validators except the &quot;required&quot; one - which is probably the one you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;required validator&lt;/strong&gt; is a bit a special case. It gets it's message from the dictionary (with key &quot;{0} is required.&quot; as described on &lt;a href=&quot;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-translating-error.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-translating-error.html&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every field on your form has 2 attributes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;DynamicValidationAttribute&lt;/strong&gt;: this attribute will list all &lt;code&gt;ValidationElements&lt;/code&gt; and validate those. All validations you can see on Forms are such ValidationElements. This is an extensible model - you can create your own elements and they will be handled by this attribute.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;DynamicRequiredAttribute&lt;/strong&gt;: this one check the &quot;required&quot; field validation. A few problems arise here.. You can't just replace it with your own version and the error message is taken hardcoded from the dictionary as mentioned above.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To conclude.. if you really need this to verify required fields, I think you might need to write your own validator (as a simple required field one) and add some code to make the error message dependent on the form and/or field. Use this validator instead of the ootb required one. Info on how to create a custom validator: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-validation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-validation.html&lt;/a&gt; or &lt;a href=&quot;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-custom-validation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-custom-validation.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And a bit of advice: talk to your customer to check if this is really worth it.. it might be a lot of work for the added value. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-24T19:17:55.680" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18290" PostTypeId="2" ParentId="17552" CreationDate="2019-04-24T19:38:38.173" Score="0" Body="&lt;p&gt;The problem was a reference to the old Sitecore.ExperienceAnalytics.dll file, version 1.1.0.5295.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In version 9.1 this is split in several different files, but keeping a reference to the old one was causing the above mentioned issue.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-04-24T19:38:38.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18292" PostTypeId="2" ParentId="17920" CreationDate="2019-04-25T03:29:07.487" Score="-1" Body="&lt;p&gt;Navigate to control panel -&gt; Indexing manager and rebuild indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is an existing bug in sitecore 9, rebuilding master and web indexes through indexing manager resolves the issue&lt;/p&gt;&#xA;" OwnerUserId="5444" LastEditorUserId="-1" LastEditDate="2019-07-20T13:08:21.707" LastActivityDate="2019-07-20T13:08:21.707" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18293" PostTypeId="1" AcceptedAnswerId="18298" CreationDate="2019-04-25T05:19:26.737" Score="5" ViewCount="2082" Body="&lt;p&gt;Want to know main purpose of &lt;code&gt;dbbrowser.aspx&lt;/code&gt; page under admin tool. It looks similar to &lt;code&gt;content editor&lt;/code&gt; interface.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are main advantages of this tool over content editor?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/etmDs.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/etmDs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-04-25T08:41:14.457" Title="What is purpose of DB Browser(dbbrowser.aspx) under admin tool?" Tags="|admin-pages|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18294" PostTypeId="2" ParentId="18293" CreationDate="2019-04-25T05:42:01.243" Score="6" Body="&lt;p&gt;A quick way to browse through the separate Sitecore databases. It is pretty lightweight and supports previewing of item’s fields, versions, languages etc. The DB Browser also allows preview of the file system. &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2019-04-25T08:41:14.457" LastActivityDate="2019-04-25T08:41:14.457" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18295" PostTypeId="1" AcceptedAnswerId="18320" CreationDate="2019-04-25T06:03:47.483" Score="7" ViewCount="1037" Body="&lt;p&gt;We are using Sitecore 9.1 version and wanted to create a new website using Sitecore SXA. We have installed SXA 1.8 module but we have been facing an issue like All partial design and components creates unnecessary extra div. I just had a look at recent version of Sitecore SXA 1.8.1 where this issue has been resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below issue mentioned in Release Notes of SXA 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When you use the Bootstrap 4 grid, an extra unwanted row class is&#xA;  added around some placeholders.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But SXA 1.8.1 is supported only in Sitecore 9.1 Update 1. Has anyone faced this issue or has any workaround for this problem?&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore version : 9.1&lt;/li&gt;&#xA;&lt;li&gt;SXA version : 1.8&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="2056" LastEditDate="2019-04-26T07:48:06.637" LastActivityDate="2019-04-26T07:48:46.240" Title="How to work around Bootstrap 4 issues in SXA" Tags="|sxa|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18296" PostTypeId="1" AcceptedAnswerId="18299" CreationDate="2019-04-25T06:04:24.000" Score="6" ViewCount="703" Body="&lt;p&gt;I have created a new non-admin user role. Now, I want the standard fields on every item to be visible but cannot be editable. For example they cannot edit the value of _Source Item.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UDKDz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UDKDz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ef8Dc.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ef8Dc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried disabling the /sitecore/content/Applications/Content Editor/Ribbons/Chunks/View/Standard Fields in core db, but the new users can still edit the standard fields. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any advise?&lt;/p&gt;&#xA;" OwnerUserId="5307" LastActivityDate="2019-04-25T07:44:12.110" Title="How to Set Standard Fields to Read Only for Non-Admin users" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18297" PostTypeId="2" ParentId="18293" CreationDate="2019-04-25T06:21:01.413" Score="6" Body="&lt;p&gt;It is also usefull in situations when Content Editor does not work because of broken item. You can use &lt;code&gt;dbbrowser.aspx&lt;/code&gt; to navigate to that item and&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2019-04-25T06:21:01.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18298" PostTypeId="2" ParentId="18293" CreationDate="2019-04-25T07:01:43.953" Score="9" Body="&lt;p&gt;An often overlooked benefit of it, is it's capability to browse &lt;em&gt;any&lt;/em&gt; Sitecore Item structure. While obvious, many people don't consider that an Item &lt;em&gt;needs&lt;/em&gt; to inherit a lot of fields/base templates for the Content Editor to be able to navigate them properly. Security, Workflow, Item Statistics and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;DBBrowser&lt;/code&gt; tool needs none of that. It just allows you to browse the item parent/child hierarchy and shows you what it finds. &lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-04-25T07:01:43.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18299" PostTypeId="2" ParentId="18296" CreationDate="2019-04-25T07:44:12.110" Score="4" Body="&lt;p&gt;This can be achieved by restricting the standard fields access in Security editor.&#xA;In Security editor, navigate to /sitecore/templates/System/Templates/Sections where you can see the list of standard fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here I have restricted &quot;Display name&quot; field to read-only. you can try with all the fields which need to be read-only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K7dy7.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K7dy7.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2019-04-25T07:44:12.110" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18300" PostTypeId="1" CreationDate="2019-04-25T08:44:03.740" Score="1" ViewCount="72" Body="&lt;p&gt;In my system I have 200+ automated emails which needs to be triggered to all registered user (based on condition) overnight. However, few emails are not getting send and getting stuck. I have manually resumed it couple of times, but the issue is getting bigger every time. Now I can see almost 20 emails are getting stuck on daily basis. When I check log I can see an exception as - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1924 13:50:07 WARN  One or more tasks processed by task agent 'sent_message_task_pool' failed. The agent will revert to the slowest processing speed possible.&#xA;3296 13:50:08 INFO  Failed to process task. Pipeline threw a ContactLockException. Processing the task will be retried later. Contact id: 531eb87c-901e-42d6-9f2f-eade880aaf91, message id: {3767F0C5-5999-432F-8C78-CB9C8EA8770F}&#xA;4860 13:50:39 ERROR Exception: System.Net.WebException&#xA;Message: The operation has timed out&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetRequestStream(TransportContext&amp;amp; context)&#xA;   at System.Net.HttpWebRequest.GetRequestStream()&#xA;   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)&#xA;   at Sitecore.Modules.EmailCampaign.DedicatedDispatch.SitecoreDedicatedDispatchService.Status(String messageID)&#xA;   at Sitecore.Modules.EmailCampaign.Core.Services.DedicatedServers.Status(MessageItem message, Int32&amp;amp; totalNumServers)&#xA;&#xA;5616 13:50:39 ERROR Exception: System.Net.WebException&#xA;Message: The operation has timed out&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetRequestStream(TransportContext&amp;amp; context)&#xA;   at System.Net.HttpWebRequest.GetRequestStream()&#xA;   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)&#xA;   at Sitecore.Modules.EmailCampaign.DedicatedDispatch.SitecoreDedicatedDispatchService.Status(String messageID)&#xA;   at Sitecore.Modules.EmailCampaign.Core.Services.DedicatedServers.Status(MessageItem message, Int32&amp;amp; totalNumServers)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This exception message getting triggered in every 2 minutes. When I manually resume them, they get processed successfully. So, I'm not quite sure. If anyone could help.&lt;/p&gt;&#xA;" OwnerUserId="5445" LastEditorUserId="1804" LastEditDate="2019-04-25T12:10:57.693" LastActivityDate="2019-04-25T12:10:57.693" Title="Pipeline threw a ContactLockException. Processing the task will be retried later" Tags="|exm|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18302" PostTypeId="2" ParentId="18234" CreationDate="2019-04-25T11:23:55.287" Score="1" Body="&lt;p&gt;In C# &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tjffA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tjffA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Powershell script&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$rolesarray = [System.Web.Security.Roles]::GetAllRoles()&#xA;[Collections.Generic.List[String]]$roles = $rolesarray&#xA;$indexOptions = [ordered]@{}&#xA;foreach($role in $roles) {&#xA;    $indexOptions[$role] = $role&#xA;}&#xA;$role=$indexOptions[0];&#xA;$mrole=$indexOptions[0];&#xA;$dialogProps = @{&#xA;    Parameters = @(&#xA;&#xA;        @{ Name = &quot;parentRole&quot;; Value=$role; Title=&quot;Parent role&quot;; Tooltip=&quot;List of roles&quot;; Options=$indexOptions; Columns=6;},&#xA;        @{ Name = &quot;memberRole&quot;; Value=$mrole; Title=&quot;Member role&quot;; Tooltip=&quot;List of roles&quot;; Options=$indexOptions; Columns=6;}&#xA;&#xA;    )&#xA;    Description = &quot;Add the roles to role&quot;&#xA;    Title = &quot;Add the roles to role&quot;&#xA;    Width = 700&#xA;    Height = 575&#xA;    OkButtonName = &quot;Proceed&quot;&#xA;    CancelButtonName = &quot;Abort&quot;&#xA;    ShowHint = $true&#xA;    Icon = [regex]::Replace($PSScript.Appearance.Icon, &quot;Office&quot;, &quot;OfficeWhite&quot;, [System.Text.RegularExpressions.RegexOptions]::IgnoreCase)&#xA;}&#xA;$result = Read-Variable @dialogProps&#xA;&#xA;if($result -ne &quot;ok&quot;) {&#xA;    Exit&#xA;}&#xA;&#xA;if($parentRole -eq $memberRole) {&#xA;    Show-Alert -Title &quot;Both the role should not be same!&quot;&#xA;}&#xA;else&#xA;{&#xA;if(([Sitecore.Security.Accounts.RolesInRolesManager]::RolesInRolesSupported) -And (-Not([Sitecore.Security.Accounts.RolesInRolesManager]::IsRoleInRole([Sitecore.Security.Accounts.Role]::FromName($memberRole),[Sitecore.Security.Accounts.Role]::FromName($parentRole),$false)) ))&#xA;{&#xA;[Sitecore.Security.Accounts.RolesInRolesManager]::AddRoleToRole([Sitecore.Security.Accounts.Role]::FromName($memberRole),[Sitecore.Security.Accounts.Role]::FromName($parentRole));&#xA;Show-Alert -Title &quot;Successfully added&quot;&#xA;}&#xA;else&#xA;{&#xA;Show-Alert -Title &quot;Not supported role&quot;&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LrrJ4.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LrrJ4.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2019-04-25T11:23:55.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18303" PostTypeId="1" AcceptedAnswerId="18401" CreationDate="2019-04-25T13:15:33.687" Score="4" ViewCount="282" Body="&lt;p&gt;I've created a custom pipeline to process the login to sent 2FA token. But somehow the pipeline is triggered twice. It doesn't happen with LoggingInProcessor (Used before Sitecore 9). Anyone know why?&#xA;Currently, I'm using Sc 9.1 with IdentityServer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a quick description of the code&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot;&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;owin.cookieAuthentication.signIn&amp;gt;&#xA;        &amp;lt;processor resolve=&quot;true&quot; type=&quot;Mydll.MySignInPipeline, Mydll&quot;&#xA;                        patch:after=&quot;processor[@type='Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignIn.UpdateUserProperties, Sitecore.Owin.Authentication']&quot;/&amp;gt;&#xA;      &amp;lt;/owin.cookieAuthentication.signIn&amp;gt;&#xA;&#xA;      &amp;lt;owin.cookieAuthentication.signedIn&amp;gt;&#xA;        &amp;lt;processor resolve=&quot;true&quot; type=&quot; Mydll.Mypipeline, Mydll&quot;&#xA;           patch:before=&quot;processor[@type='Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.CreateTicket, Sitecore.Owin.Authentication']&quot;/&amp;gt;&#xA;        &amp;lt;processor resolve=&quot;true&quot; type=&quot;Mydll.Mypipeline, Mydll&quot;&#xA;              patch:before=&quot;processor[@type='Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.CreateTicket, Sitecore.Owin.Authentication']&quot;/&amp;gt;&#xA;        &amp;lt;processor resolve=&quot;true&quot; type=&quot;Mydll.Mypipeline, Mydll&quot;&#xA;              patch:before=&quot;processor[@type='Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.CreateTicket, Sitecore.Owin.Authentication']&quot;/&amp;gt;&#xA;      &amp;lt;/owin.cookieAuthentication.signedIn&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;MySignInPipeline is triggered twice, right after I click the Login, then right after It redirect to a new page (any pages) but before page load (Before on load)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried reorder pipeline position but no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was using WebUtil.Redirect(). But when I change it to Http.Response.Redirect(&quot;/redirectpath/&quot;,false) it's fixed. Found out that WebUtil.Redirect() always set it true :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static void Redirect(string path, bool allowSame)&#xA;        {&#xA;            Assert.ArgumentNotNull(path, &quot;path&quot;);&#xA;            HttpContext current = HttpContext.Current;&#xA;            if (current != null &amp;amp;&amp;amp; (allowSame || !WebUtil.IsOnPage(path)))&#xA;            {&#xA;                current.Response.Redirect(path, true);&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;. But idk why, maybe anyone here can explain?&lt;/p&gt;&#xA;" OwnerUserId="4774" LastEditorUserId="4774" LastEditDate="2019-04-30T11:46:16.283" LastActivityDate="2019-04-30T11:46:16.283" Title="Why is SignInProcessor triggered twice?" Tags="|pipelines|authentication|login|identity-server|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18304" PostTypeId="1" CreationDate="2019-04-25T13:47:16.037" Score="5" ViewCount="73" Body="&lt;p&gt;I'm trying to learn how to use Experience Extractor however I'm running into an issue where the data presented on Experience Analytics and the data extracted are different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifically I'm looking into the search keywords at April 24. Below is the data shown in Experience Analytics and SQL&#xA;&lt;a href=&quot;https://i.stack.imgur.com/UMZty.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UMZty.png&quot; alt=&quot;Experience Analytics Search Graph&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In SQL&#xA;&lt;a href=&quot;https://i.stack.imgur.com/so7ew.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/so7ew.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The data shows that I've searched &quot;en - test april 24&quot; 12 times and &quot;en - test&quot; 1 time which I personally remember in doing so as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now going to extracting the data, I've installed Experience Extractor, I added the connection string named &quot;experienceextractor&quot; with the same values as &quot;analytics&quot; as what the instruction &lt;a href=&quot;https://github.com/Sitecore/experience-extractor&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/experience-extractor&lt;/a&gt; says. Moving onto the Experience Extractor from the Control Panel, since I'm not fluent in creating a custom JSON script, I'm using the UI from the dashboard page. This is how it looks like&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/31oEb.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/31oEb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;downloading the result and opening it on MS Access here is what I was shown for visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JRqxK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JRqxK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only the &quot;en - test&quot; search is showing and there are 2 blanks which I don't know where it came from. I was expecting &quot;en - test april 24&quot; to show up on the result. Is there anything I've missed on doing? Am I looking into the wrong data? Any help would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 8.2 Update 2&#xA;I'm using ExperienceExtractor-0.3.1-8.2&lt;/p&gt;&#xA;" OwnerUserId="3255" LastActivityDate="2019-04-25T13:47:16.037" Title="Experience Extractor extracts incomplete data" Tags="|experience-analytics|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18305" PostTypeId="1" AcceptedAnswerId="18314" CreationDate="2019-04-25T15:52:01.893" Score="0" ViewCount="473" Body="&lt;p&gt;According to our design requirement, user should be able to select minimum price and maximum price from a dropdown and properties gets filtered based on the selected range. Can this functionality be achieved using sitecore sxa search filters ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The filter should look something like this below - &#xA;&lt;a href=&quot;https://i.stack.imgur.com/EDTar.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EDTar.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5030" LastActivityDate="2019-04-26T04:00:29.117" Title="How to show price range filter as minimum and maximum dropdown filter using sitecore sxa search?" Tags="|sxa|search-facet|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18307" PostTypeId="1" AcceptedAnswerId="18308" CreationDate="2019-04-25T17:45:58.750" Score="3" ViewCount="197" Body="&lt;p&gt;How can I configure Application Insights for Sitecore 8.0? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can not find any How-to guides for 8.0. I found a How-to for 8.2, but I would like to know if Sitecore 8.0 support Application Insights. &lt;/p&gt;&#xA;" OwnerUserId="3644" LastEditorUserId="73" LastEditDate="2019-04-25T17:57:33.000" LastActivityDate="2019-04-26T05:23:37.773" Title="Configuring Azure Application Insights for Sitecore 8.0" Tags="|application-insights|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18308" PostTypeId="2" ParentId="18307" CreationDate="2019-04-25T17:57:07.103" Score="4" Body="&lt;p&gt;No.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Application Insights on Sitecore is only supported using the Azure Toolkit, which requires Sitecore XP 8.2 Update-1 (rev. 161115).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://kb.sitecore.net/articles/682999&quot; rel=&quot;nofollow noreferrer&quot;&gt;Microsoft Azure Services compatibility table&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-04-25T17:57:07.103" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18309" PostTypeId="1" CreationDate="2019-04-25T18:25:20.280" Score="2" ViewCount="22" Body="&lt;p&gt;I've created a working azure ad login into my local sitecore installation. That seems to &quot;work&quot;. I can login so far.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3brSW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3brSW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've mapped a a role to my azure user, that not working so good so I've assigned the mapped role diretly in the user editor to the created user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/k9hAr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/k9hAr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then it seems to work like it should except the Insert Link dialog and the file select dialog. They are not showing any tree Items. As you can see in the screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I create a local user and assign the same role as my azure ad user then its working I can see the content tree in the dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far I think I've forgotten to create some &quot;default&quot; rights or so for my azure users perhaps for the everyone role but I don't know what.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And there seems to be more problems in showing the experience editor its not loading with the azure account but with the local account with the same assigned role its working.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-04-25T20:58:38.207" LastActivityDate="2019-04-25T20:58:38.207" Title="Insert Link dialog &quot;empty&quot; for mapped azure AD role" Tags="|role-management|azure-ad|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18310" PostTypeId="1" AcceptedAnswerId="27750" CreationDate="2019-04-25T19:37:17.583" Score="7" ViewCount="615" Body="&lt;p&gt;SC9.1 but tested in 8.2 also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been using my tried and true &lt;code&gt;httpError&lt;/code&gt; config for capturing 500 errors to a static file. I was setting it up for a new client and I thought changing the connection string would be a good test. But once I did, I got a hard server error below. By change I mean I changed the &lt;code&gt;web&lt;/code&gt; database connection string to &lt;code&gt;webXX&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&#xA;  Runtime Error&#xA;  Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I updated the &lt;code&gt;IgnoreUrlPrefixes&lt;/code&gt; with my 500.html page and the httpsErrors section below. I can't even render an html page, jpg, nothing with a broken connection string.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpErrors errorMode=&quot;Custom&quot; existingResponse=&quot;Auto&quot;&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;403&quot;/&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;404&quot;/&amp;gt;&#xA;  &amp;lt;remove statusCode=&quot;500&quot;/&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;500&quot; responseMode=&quot;File&quot; path=&quot;/500.html&quot;/&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;403&quot; responseMode=&quot;File&quot; path=&quot;/404.html&quot;/&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;404&quot; responseMode=&quot;File&quot; path=&quot;/404.html&quot;/&amp;gt;&#xA;&amp;lt;/httpErrors&amp;gt;&#xA;&#xA;&amp;lt;customErrors mode=&quot;On&quot; defaultRedirect=&quot;500.htm&quot; &amp;gt;&#xA;  &amp;lt;error statusCode=&quot;500&quot; redirect=&quot;500.html&quot; /&amp;gt;&#xA;  &amp;lt;error statusCode=&quot;404&quot; redirect=&quot;500.html&quot; /&amp;gt;&#xA;&amp;lt;/customErrors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It appears with Sitecore there are things you can do that completely shutdown IIS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any way around this? If IIS can't even render a 500 page, there isn't much hope of redirecting a 500 page on error.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-04-25T20:35:24.607" LastActivityDate="2021-02-27T00:46:36.797" Title="Breaking connection string causing a 500 not captured by HttpError" Tags="|configuration|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18311" PostTypeId="1" CreationDate="2019-04-26T02:03:50.623" Score="0" ViewCount="834" Body="&lt;p&gt;I have an SXA site, with a Page Design mapped to my pages with header and footer partial designs populated and enabled. It works fine in preview and edit mode. But after I publish to the web database, the header and footer don't show up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure what's going on. I checked the related content items in the web database, everything is there. All the partial designs, page designs, etc. The Page Designs are mapped to the proper page templates also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure what's going on. I tried a full republish of everything (sometimes smart publish is not so smart in my experience), but the header and footer will not show up on the published page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="4157" LastEditorUserId="73" LastEditDate="2019-04-26T06:25:30.997" LastActivityDate="2019-04-26T14:56:43.433" Title="Header and Footer not showing from Page Design after publish" Tags="|sxa|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18312" PostTypeId="1" CreationDate="2019-04-26T03:19:05.827" Score="0" ViewCount="510" Body="&lt;p&gt;We are using sitecore ship package for doing &lt;code&gt;smart publish&lt;/code&gt;. We are calling the &lt;code&gt;smart publish&lt;/code&gt; post method from &lt;code&gt;octopus&lt;/code&gt;. But Its not working. Not seeing any errors in the sitecore &lt;code&gt;logs&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I analyzed the issue and noticed its calling the publish smart method. Sitecore publish smart handle is getting completed successfully. But still i don't see the items getting published. Is there any know issue with the PublishSmart method. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we are not passing the &lt;code&gt;rootitem&lt;/code&gt; to this method, what item it will take its a root item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using sitecore version 8.1 .&lt;/p&gt;&#xA;" OwnerUserId="4032" LastEditorUserId="5096" LastEditDate="2019-05-03T08:31:27.267" LastActivityDate="2023-10-16T23:20:34.620" Title="PublishSmart method in sitecore PublishManager method is not working" Tags="|publishing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18313" PostTypeId="2" ParentId="18311" CreationDate="2019-04-26T03:24:41.807" Score="1" Body="&lt;p&gt;If renderings from partial designs are injected in edit and preview modes then I'm almost sure that there is a problem with publishing. Something must be missing in the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;instead of using &quot;Template to Design Mapping&quot; field try to assign page design manually and check if this works (each page has Page Design field):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nqaP6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nqaP6.png&quot; alt=&quot;List item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;manually create a new page and partial design in the web database - simply repeat the steps you did in master but this time right away in the web database. If this will work you will have a confirmation that it is a problem with publishing.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-04-26T13:06:31.937" LastActivityDate="2019-04-26T13:06:31.937" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18314" PostTypeId="2" ParentId="18305" CreationDate="2019-04-26T04:00:29.117" Score="1" Body="&lt;p&gt;It is not possible out of the box. You can play with ranges by using Filter (Manage Range) rendering but you won't have a dropdown there, only the following configuration is possible:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gVSWl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gVSWl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also define range using Filter (Range Slider) rendering, but again - no dropdowns there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Tmoyn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Tmoyn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in order to manage ranges using dropdowns, you would need some custom development. There is a couple of ways to implement such rendering. If you would like to go with the SXA approach I would suggest to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;take a look at Filter (Dropdown) rendering - both view and script (where you will see how the dropdown is populated with the values)&lt;/li&gt;&#xA;&lt;li&gt;then you would need to combine the logic which is populating dropdowns with the logic of Filter (Manage range)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The other way is to build something custom and just use the query parameters to pass selected range to the server (just like we are doing this in SXA by updating hash parameters):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/S2bWy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/S2bWy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-04-26T04:00:29.117" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18316" PostTypeId="2" ParentId="18307" CreationDate="2019-04-26T05:23:37.773" Score="3" Body="&lt;p&gt;According to the official documentation:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There are two ways to enable application monitoring for Azure App Services hosted applications:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Agent-based application monitoring (ApplicationInsightsAgent).&lt;/li&gt;&#xA;  &lt;li&gt;Manually instrumenting the application through code&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 8.0 your only option is &lt;strong&gt;Agent-based application monitoring (ApplicationInsightsAgent).&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;This method is the easiest to enable, and no advanced configuration is required. It is often referred to as &quot;runtime&quot; monitoring. For Azure App Services we recommend at a minimum enabling this level of monitoring and then based on your specific scenario you can evaluate whether more advanced monitoring through manual instrumentation is needed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To enable that, go to your App Service, select &lt;strong&gt;Application Insights&lt;/strong&gt; blade, then enable the extension:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Op8Uh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Op8Uh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2019-04-26T05:23:37.773" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18318" PostTypeId="2" ParentId="18295" CreationDate="2019-04-26T06:53:51.620" Score="1" Body="&lt;p&gt;There are two options that I know of:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Request patch with public ref 301904 from Sitecore Support&lt;/li&gt;&#xA;&lt;li&gt;Don't use the &quot;Container&quot; rendering, instead use &quot;Row Splitter&quot; only&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I used the latter successfully on a project where SXA 1.8.0 was just released and we didn't have time to wait for support to give us a patch, but seeing as it's been fixed in 1.8.1 I'm sure they will be able to prepare a patch for you without too much delay.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-04-26T06:53:51.620" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18319" PostTypeId="1" CreationDate="2019-04-26T07:15:13.590" Score="1" ViewCount="74" Body="&lt;p&gt;I am new in &lt;code&gt;Sitecore analytics&lt;/code&gt;, anyone can guide me on how to achieve reorder of the list after button click using &lt;code&gt;Sitecore analytics&lt;/code&gt;? There are below use case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Case 1:&lt;/strong&gt; I have a car list e.g. Ciaz, Baleno, etc. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Each car having  &quot;Explore&quot; button, if we click on Ciaz car's Explore button, then our list should start from Ciaz=&gt; Baleno=&gt;X-Cross, etc.&#xA;  if we click on Baleno Explore button then the list should start from Baleno=&gt;Ciaz=&gt;X-cross etc.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Case 2:&lt;/strong&gt; Explore Button become exist on any page, If we click on Explore Button&#xA;from any page after this, when we visit on listing page, the list should be displayed respective click.&#xA;e.g. If we click on home page banner of  Baleno on Explore button, car listing page will show like &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Baleno=&gt;Ciaz=&gt;X-Cross, etc.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please, anyone, help me how to achieve this from &lt;code&gt;Sitecore analytics&lt;/code&gt;.    &lt;/p&gt;&#xA;" OwnerUserId="5417" LastEditorUserId="5387" LastEditDate="2019-06-03T08:16:09.553" LastActivityDate="2019-06-03T08:16:09.553" Title="Is it possible on button click event change the sequence of list?" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18320" PostTypeId="2" ParentId="18295" CreationDate="2019-04-26T07:39:15.707" Score="4" Body="&lt;p&gt;We have faced the same issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have overcome them by following below steps.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to /sitecore/system/Settings/Feature/Experience Accelerator/Bootstrap 4&#xA;Duplicate that module and move it to your own folder module under Feature layer. We called it {ClientName} Bootstrap&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZnTEc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZnTEc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Set proper Grid Definition for your newly created Grid Setup:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CuCEO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CuCEO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Last thing to do is to set Grid Definition properly meaning set Row Class field to “row” and remove field values for Wrapping Tag and Wrapping Class fields:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ocuAG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ocuAG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To compare, this is how it looks like with default Bootstrap 4 Grid Definition:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BkyrJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BkyrJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FE team realized this is not sufficient and we created a custom view for Container component to fix one last thing. We just added row class next to component-content div: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RpqUC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RpqUC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find instructions how to create custom views &lt;a href=&quot;https://tothecore.sk/2019/02/25/customizing-ootb-sxa-components-with-custom-views/&quot; rel=&quot;nofollow noreferrer&quot;&gt;on my blog&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Recommendation:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;This is only workaround to quickly fix this issue in SXA 1.8! I&#xA;  strongly recommend using patch file from Sitecore Support or upgrading to SXA 1.8.1 as soon as possible as if&#xA;  you start using this Grid system, you would need to change IDs of Grid&#xA;  settings for every single rendering once you upgrade. Think about it!&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-04-26T07:48:46.240" LastActivityDate="2019-04-26T07:48:46.240" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18321" PostTypeId="1" CreationDate="2019-04-26T08:08:14.103" Score="4" ViewCount="1661" Body="&lt;p&gt;I've setup a separate CD environment for Sitecore 9.0.1 and upon starting the website, I see 1 exception in the log files that is logged as a warning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've made sure that the client xConnect certificate was installed and the thumbprint is correctly in the ConnectionStrings.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I fix this warning?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    8248 09:13:29 WARN  Could not load device 'ea07cc63-1d43-437e-86b8-9fec30bae95f' from the device dictionary.&#xA;Exception: Sitecore.Analytics.DataAccess.XdbUnavailableException&#xA;Message: xDB unavailable&#xA;Source: Sitecore.Analytics.XConnect&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling[T](Func`2 func)&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.Dictionaries.XConnectDeviceDictionary.LoadAs[T](Object key)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.AverageCounterExtensions.MeasureMilliseconds[T](AverageCounter counter, Func`1 func)&#xA;   at Sitecore.Analytics.DataAccess.Dictionaries.ReferenceDataDictionary`2.Get(TKey key, LookupStrategy strategy)&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureDevice.LoadDevice(Guid deviceId)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: {&quot;Message&quot;:&quot;An error has occurred.&quot;}&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.Get[TEntity](IXdbContext context, IEntityReference`1 reference, ExpandOptions expandOptions, TimeSpan timeout)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.&amp;lt;&amp;gt;c__DisplayClass26_0.&amp;lt;GetDevice&amp;gt;b__1(IXdbContext xdbContext)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling[T](Func`2 func)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="483" LastActivityDate="2020-03-22T16:02:00.243" Title="How to find reason for warning 'Could not load device from the device dictionary'" Tags="|xconnect|configuration|certificate|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18322" PostTypeId="2" ParentId="18312" CreationDate="2019-04-26T08:44:51.293" Score="1" Body="&lt;p&gt;Smart publishing works in next way:&#xA;It comes through all items in master database and compare &quot;revision&quot; field of item in web and master databases. If revision is different then item should be published. Otherwise publish of item should not happen.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest you to compare revision field(turn on checkbox &quot;Standard Fields&quot;, Statistics section, Revision field) on items that you think should be published. If revision is the same then there is something wrong with creation of package, you have same revisions. You need to figure out how package is created and why you get same revisions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If revisions are different, but you still have the issue: try to change any item and make Smart publishing. May be smart publishing doesn't work on your environment at all. And Sitecore.Ship and package is not a problem.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-04-26T08:44:51.293" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18324" PostTypeId="1" CreationDate="2019-04-26T09:04:44.010" Score="1" ViewCount="50" Body="&lt;p&gt;For input fields which support the query syntax its no problem like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Droplist&#xA;Grouped Droplist&#xA;DropLink&#xA;Grouped Droplink&#xA;Checklist&#xA;Multilist&#xA;Droptree&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;here I am using the following query&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@templatename='Seite']/Global/Faq/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and here I only need to follow naming conventions in all my tennants and then this should work fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but how do you handle &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Treelist&#xA;TreelistEx&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;here the query syntax is not working and I don't know how to make the datasource Items Multitennant avaiable&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Treelist&#xA;TreelistEx&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-04-26T09:51:04.417" Title="Multitennant Datasource locations for treelist" Tags="|sitecore-query|tree-list|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18325" PostTypeId="2" ParentId="18079" CreationDate="2019-04-26T09:32:19.910" Score="3" Body="&lt;p&gt;There isn't an option in SIF to make it show the final assembled command that is run for every task. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if you add -Verbose to the Install-SitecoreConfiguration command you will get some extra diagostics from the msdeploy.exe similar to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;[WebDeploy]:[Arg] -verb:Sync&#xA;[WebDeploy]:[Arg] -Source:Package=&quot;C:\temp\xp0\Sitecore.IdentityServer 3.0.0 rev. 00207&#xA;(OnPrem)_identityserver.scwdp.zip&quot;&#xA;[WebDeploy]:[Arg] -Dest:Auto&#xA;[WebDeploy]:[Arg] -SetParam:Name=&quot;IIS Web Application Name&quot;,Value=XP0.identityserver&#xA;[WebDeploy]:[Arg] -SetParam:Name=&quot;Security Connection String&quot;,Value=&quot;Data Source=172.21.232.152;Initial&#xA;Catalog=XP0-2501_Core;User ID=securityuser;Password=bjjBgHGThKQE5TTjVaNE&quot;&#xA;[WebDeploy]:[Arg] -SetParam:Name=CertificateThumbprint,Value=2AA520B7C389FE370C7124AF53BA17F0EEC6792B&#xA;[WebDeploy]:[Arg] -SetParam:Name=PasswordRecoveryUrl,Value=http://XP0.sc&#xA;[WebDeploy]:[Arg] -SetParam:Name=AllowedCorsOrigins,Value=http://XP0.sc&#xA;[WebDeploy]:[Arg] -SetParam:Name=ClientSecret,Value=8h8loJrrR3CJE16fNTOOGa8hwGl1MVIC3DlZZl7MOep9ENfCKa37PwzHV7veptr9ilD&#xA;DPtlzlTwJErXCpNQaildAuRTHoSariKF1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;just before the command is executed. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2019-04-26T09:32:19.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18326" PostTypeId="1" AcceptedAnswerId="18358" CreationDate="2019-04-26T09:33:13.607" Score="1" ViewCount="304" Body="&lt;p&gt;&lt;code&gt;Installation Wizard&lt;/code&gt; - while installing any package, 'Installing..' loader keep on showing even small size of package and never ending installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x1QnK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x1QnK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This happening in my local development(&lt;code&gt;Sitecore 8.1&lt;/code&gt;) environment. Actually it is completing installation but not hiding loader.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone know how to fix this issue.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-04-29T06:10:34.080" LastActivityDate="2019-04-29T07:18:05.663" Title="Installation wizard - while a package installation, loader keep on showing and never end" Tags="|installation|packages|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18329" PostTypeId="2" ParentId="13159" CreationDate="2019-04-26T11:11:21.723" Score="0" Body="&lt;p&gt;I assigned the Commerce Administrator role to the Sitecore user &amp;amp; it's resolved.&lt;/p&gt;&#xA;" OwnerUserId="5453" LastActivityDate="2019-04-26T11:11:21.723" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18330" PostTypeId="2" ParentId="13784" CreationDate="2019-04-26T11:15:18.360" Score="-2" Body="&lt;p&gt;I've faced the same problem, I've checked for the Microsoft.Web.Publishing.Tasks.dll using properties &amp;amp; found that this dll was blocked, so just checked the box against UnBlock option &amp;amp; also checked for SIF version, I was having 2 SIFs installed. so removed all &amp;amp; reinstalled 2.1.0. by using the command..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get-Module SitecoreInstallFramework -List&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Uninstall-Module SitecoreInstallFramework&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Install-Module SitecoreInstallFramework -RequiredVersion 2.1.0&lt;/p&gt;&#xA;" OwnerUserId="5453" LastActivityDate="2019-04-26T11:15:18.360" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18334" PostTypeId="1" AcceptedAnswerId="18335" CreationDate="2019-04-26T13:58:23.887" Score="7" ViewCount="564" Body="&lt;p&gt;Component definition&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;export default function (manifest) {&#xA;  manifest.addComponent({&#xA;    name: 'Navigation',&#xA;    graphQLQuery: `&#xA;    query NavigationQuery {&#xA;      search(&#xA;        fieldsEqual: [&#xA;          { name: &quot;_fullpath&quot;, value: &quot;/sitecore/content/${packageJson.config.appName}/*&quot; },&#xA;          { name: &quot;_templatename&quot;, value: &quot;App Route&quot; }&#xA;        ]&#xA;      ) {&#xA;        results {&#xA;          items {&#xA;            item {&#xA;              name&#xA;              url&#xA;            }&#xA;          }&#xA;        }&#xA;      }&#xA;    }`&#xA;  });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Error when rendering component&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NQn8a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NQn8a.png&quot; alt=&quot;Error when rendering component&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4949" LastEditorUserId="4949" LastEditDate="2019-04-30T13:19:40.037" LastActivityDate="2019-04-30T13:19:40.037" Title="Error in component using integrated GraphQL search query &quot;Cannot read property search of undefined&quot;" Tags="|jss|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18335" PostTypeId="2" ParentId="18334" CreationDate="2019-04-26T13:58:23.887" Score="7" Body="&lt;p&gt;Find the schema configuration for the JSS app GraphQL endpoint in config files, and add the &quot;search&quot; query reference.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;api&amp;gt;&#xA;    &amp;lt;GraphQL&amp;gt;&#xA;      &amp;lt;endpoints&amp;gt;&#xA;        &amp;lt;jss-app-nameGraphQLEndpoint&amp;gt;&#xA;          &amp;lt;schema hint=&quot;list:AddSchemaProvider&quot;&amp;gt;&#xA;            &amp;lt;content type=&quot;Sitecore.Services.GraphQL.Content.ContentSchemaProvider, Sitecore.Services.GraphQL.Content&quot;&amp;gt;&#xA;              &amp;lt;queries hint=&quot;raw:AddQuery&quot;&amp;gt;&#xA;                &amp;lt;query name=&quot;search&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.SearchQuery, Sitecore.Services.GraphQL.Content&quot; /&amp;gt;&#xA;              &amp;lt;/queries&amp;gt;&#xA;            &amp;lt;/content&amp;gt;&#xA;          &amp;lt;/schema&amp;gt;&#xA;        &amp;lt;/jss-app-nameGraphQLEndpoint&amp;gt;&#xA;      &amp;lt;/endpoints&amp;gt;&#xA;    &amp;lt;/GraphQL&amp;gt;&#xA;  &amp;lt;/api&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4949" LastActivityDate="2019-04-26T13:58:23.887" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18336" PostTypeId="2" ParentId="17174" CreationDate="2019-04-26T14:37:41.073" Score="1" Body="&lt;p&gt;I would suggest to use the &lt;code&gt;encodeNameReplacements&lt;/code&gt; in the web.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the default set:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;encodeNameReplacements&amp;gt;&#xA;  &amp;lt;replace mode=&quot;on&quot; find=&quot;&amp;amp;amp;&quot; replaceWith=&quot;,-a-,&quot; /&amp;gt;&#xA;  &amp;lt;replace mode=&quot;on&quot; find=&quot;?&quot; replaceWith=&quot;,-q-,&quot; /&amp;gt;&#xA;  &amp;lt;replace mode=&quot;on&quot; find=&quot;/&quot; replaceWith=&quot;,-s-,&quot; /&amp;gt;&#xA;  &amp;lt;replace mode=&quot;on&quot; find=&quot;*&quot; replaceWith=&quot;,-w-,&quot; /&amp;gt;&#xA;  &amp;lt;replace mode=&quot;on&quot; find=&quot;.&quot; replaceWith=&quot;,-d-,&quot; /&amp;gt;&#xA;  &amp;lt;replace mode=&quot;on&quot; find=&quot;:&quot; replaceWith=&quot;,-c-,&quot; /&amp;gt;&#xA;&amp;lt;/encodeNameReplacements&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you can add yours, like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;replace mode=&quot;on&quot; find=&quot;ü&quot; replaceWith=&quot;,ue,&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Some more information on this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://briancaos.wordpress.com/2017/12/08/sitecore-replace-spaces-with-dashes-in-urls/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2017/12/08/sitecore-replace-spaces-with-dashes-in-urls/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2019-04-26T14:37:41.073" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18337" PostTypeId="1" CreationDate="2019-04-26T14:44:29.157" Score="1" ViewCount="97" Body="&lt;p&gt;I have a need to store simple string values in the Sitecore &lt;code&gt;content tree&lt;/code&gt;.  I am thinking i'd like to create the most basic kind of Sitecore item with the least amount of fields.  But, if I select [&lt;code&gt;none&lt;/code&gt;] for Templates, it still always adds the &lt;code&gt;Standard Template&lt;/code&gt;, which has a dozen &lt;code&gt;inherited&lt;/code&gt; sections/fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to create a more basic template/data item in Sitecore?  Or are all of those &lt;code&gt;standard template&lt;/code&gt; fields required for system-level &lt;code&gt;processes&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand from a SQL data perspective, most of those other fields aren't actually saved when creating a new simple item.  But, mostly was just curious what the most basic kind of item could be in Sitecore, since I really only need to store a &lt;code&gt;Display Name&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2639" LastEditorUserId="5096" LastEditDate="2019-05-03T08:31:22.257" LastActivityDate="2019-05-03T08:31:22.257" Title="What is the most basic kind of item/template that can exist in Sitecore?" Tags="|templates|content-management|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18338" PostTypeId="2" ParentId="18311" CreationDate="2019-04-26T14:56:43.433" Score="0" Body="&lt;p&gt;I figured out what the issue was. I had broken links in my partial designs as well as my home page. Once I fixed the broken links, I republished and the header and footer displayed on the published page.&lt;/p&gt;&#xA;" OwnerUserId="4157" LastActivityDate="2019-04-26T14:56:43.433" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18339" PostTypeId="2" ParentId="9563" CreationDate="2019-04-26T15:27:08.343" Score="2" Body="&lt;p&gt;We were experiencing the same thing with some extended media template fields our content authors were expecting to be able to search on. I was able to track it down to an issue (feature?) with the &lt;code&gt;SolrDocumentBuilder&lt;/code&gt;. For whatever reason, it skips adding to the &quot;_content&quot; field for media item text fields (oddly enough, this is &lt;em&gt;not&lt;/em&gt; the case for Lucene or Azure document builders). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fix for us was extending the &lt;code&gt;SolrDocumentBuilder&lt;/code&gt; to make sure that happens. Here's the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;&#xA;// For whatever reason, the default SolrDocumentBuilder skips adding to the &quot;_content&quot; field for media item text fields.&#xA;// This means we're unable to search for these field values in various places in Sitecore (Select Media dialog, Content Tree search, etc).&#xA;// This extended version makes sure those are aggregated.&#xA;/// &amp;lt;/summary&amp;gt;&#xA;public class SolrDocumentBuilder : Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilder&#xA;{&#xA;    public SolrDocumentBuilder(IIndexable indexable, IProviderUpdateContext context) : base(indexable, context)&#xA;    {&#xA;    }&#xA;&#xA;    protected override void AddField(IIndexableDataField field)&#xA;    {&#xA;        base.AddField(field);&#xA;&#xA;        if (!IsMedia || !IsTextField(field))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var fieldValue = Index.Configuration.FieldReaders.GetFieldValue(field);&#xA;        if (!(fieldValue is string) || string.IsNullOrEmpty(fieldValue.ToString()))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        StoreContentFieldValue((string)fieldValue);&#xA;    }&#xA;&#xA;    private void StoreContentFieldValue(string fieldValue)&#xA;    {&#xA;        if (Document.ContainsKey(BuiltinFields.Content))&#xA;        {&#xA;            Document[BuiltinFields.Content] = Document[BuiltinFields.Content] + &quot; &quot; + fieldValue;&#xA;        }&#xA;        else&#xA;        {&#xA;            Document.GetOrAdd(BuiltinFields.Content, fieldValue);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the config patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultSolrIndexConfiguration&amp;gt;&#xA;                    &amp;lt;documentBuilderType&amp;gt;My.Project.SolrDocumentBuilder, My.Project&amp;lt;/documentBuilderType&amp;gt;&#xA;                &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;            &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This was on Sitecore 9.0.2 (rev. 180604).&lt;/p&gt;&#xA;" OwnerUserId="519" LastActivityDate="2019-04-26T15:27:08.343" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18340" PostTypeId="1" AcceptedAnswerId="18439" CreationDate="2019-04-26T15:29:50.440" Score="0" ViewCount="800" Body="&lt;p&gt;For interim development purposes, I've serialized my entire SXA tenant folder content tree, related templates, media library, etc. I haven't specified to exclude children in the config; so I expect the roots and all children to be serialized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is when I check into source control and have a developer check out and sync my Sitecore items, they're only partially restored. When I check the directory the serialized content is checked out and synced from, all the missing content from his Sitecore instance seems to be in the directory/file tree structure, it's just not being restored to Sitecore on sync. He has the same Unicorn configuration that I do and all the same serialized files. Yet, when he restores, only part of the content seems to be installed, even though it would seem to be included in the config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We're both using Sitecore 9.1 with SXA 1.8; same configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there something obvious I'm missing here to fix this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;configuration&#xA;      name=&quot;Site.Serialization&quot;&#xA;      description=&quot;Root items&quot;&#xA;      extends=&quot;Site.Serialization.Base&quot;&amp;gt;&#xA;      &amp;lt;predicate&amp;gt;&#xA;&#xA;        &amp;lt;!--Core database serialized updates--&amp;gt;&#xA;        &amp;lt;include name=&quot;core.templates.Feature&quot; database=&quot;core&quot; path=&quot;/sitecore/templates/Feature&quot; &amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;core.templates.Foundation&quot; database=&quot;core&quot; path=&quot;/sitecore/templates/Foundation&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;core.templates.Project&quot; database=&quot;core&quot; path=&quot;/sitecore/templates/Project&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;&#xA;        &amp;lt;include name=&quot;master.globaltoolkit.themes&quot; database=&quot;master&quot; path=&quot;/sitecore/media library/Themes/Site&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;master.globaltoolkit.medialibrary&quot; database=&quot;master&quot; path=&quot;/sitecore/media library/Project&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;master.Templates.Feature&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/Feature&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;master.Templates.Foundation&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/Foundation&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;master.Templates.Project&quot; database=&quot;master&quot; path=&quot;/sitecore/templates/Project&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;master.Settings.Feature&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Feature&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;master.Settings.Foundation&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Foundation&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;master.Settings.Project&quot; database=&quot;master&quot; path=&quot;/sitecore/system/Settings/Project&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;        &amp;lt;include name=&quot;master.globaltoolkit.content&quot; database=&quot;master&quot; path=&quot;/sitecore/content/TenantFolder&quot;&amp;gt;&#xA;        &amp;lt;/include&amp;gt;&#xA;&#xA;&#xA;      &amp;lt;/predicate&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4157" LastEditorUserId="4157" LastEditDate="2019-04-26T15:46:47.197" LastActivityDate="2019-05-01T19:09:41.353" Title="Unicorn not completely restoring serialized content from disk on sync" Tags="|sxa|unicorn|serialization|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18342" PostTypeId="1" AcceptedAnswerId="18346" CreationDate="2019-04-26T15:58:11.200" Score="0" ViewCount="138" Body="&lt;p&gt;&quot;Jss deploy app&quot; deploys the jss app to sitecore (including components, templates ..etc). Is there a way where I can deploy the components created in sitecore back to JSS app, that way I can view them in disconnected mode?&lt;/p&gt;&#xA;" OwnerUserId="5457" LastEditorUserId="5457" LastEditDate="2019-04-26T16:11:22.000" LastActivityDate="2019-04-26T16:47:14.223" Title="Is there a way to deploy Sitecore JSS components from sitecore cms back to the jss app" Tags="|jss|" AnswerCount="1" CommentCount="0" ClosedDate="2019-04-26T21:10:03.423" ContentLicense="CC BY-SA 4.0" />
  <row Id="18343" PostTypeId="2" ParentId="18337" CreationDate="2019-04-26T16:00:13.303" Score="2" Body="&lt;p&gt;Technically removing the standard template from the base template of your custom template will not create any issues at system level. &lt;strong&gt;But you will be missing the out of box features something like setting the presentation details, Workflow, Insert Options etc.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't need the out of box features or your requirement is just to create the data item in Sitecore without any system fields then you can set the base template as null for the custom template which you want to create. To do this, &lt;strong&gt;check the &quot;Raw Values&quot; in &quot;View&quot; menu and then Go to Data Section of your custom template and update the base template as &quot;{00000000-0000-0000-0000-000000000000}&quot;&lt;/strong&gt;. For Ex, this is how the Sitecore templates under /sitecore/templates/System/Templates/Sections are created to avoid circular reference when inherited in standard template. &lt;a href=&quot;https://i.stack.imgur.com/yD6zw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yD6zw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;There are lot many options which uses the standard template will not&#xA;  be shown when you remove the inheritance, once you removed the inheritance just select&#xA;  the item and navigate each and every menu like &quot;Home&quot;, &quot;Navigate&quot; etc in the menu bar, you&#xA;  will notice many are missing as I said above.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So consider all the above before removing the standard template.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-04-26T16:22:04.550" LastActivityDate="2019-04-26T16:22:04.550" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18344" PostTypeId="1" CreationDate="2019-04-26T16:23:32.993" Score="0" ViewCount="1725" Body="&lt;p&gt;I am working on an upgrade from SC 7.2 -&gt; SC 9.1.1.  First I used the Express Migration Tool to upgrade from 7.2 -&gt; 9.0.  Then I did a manual upgrade from 9.0 -&gt; 9.1.1.  Now I am seeing the following errors in the log file and I don't really understand what these mean.  Can anyone help me understand what this error is and how I can fix it?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;80004 10:15:50 ERROR Exception when executing agent aggregation/pathAnalyzerLiveAgent&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Exception: Sitecore.XConnect.Client.XdbModelConflictException&#xA;  Message: One or more local models conflict with the xDB service layer.&#xA;   'Sitecore.XConnect.ContentTesting.Model, 1.2' does not have a remote version,&#xA;  'Sitecore.EmailCampaign.XConnectModel, 1.0' does not have a remote version&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Source: Sitecore.Xdb.Common.Web&#xA;  at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func1 taskFactory) at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func1 taskFactory) at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;     at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;     at Sitecore.Analytics.Aggregation.XConnect.DefaultXdbContextFactory.CreateReadOnly()&#xA;     at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;     at Sitecore.Analytics.Core.BackgroundService.Run()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="215" LastActivityDate="2019-04-27T16:13:33.410" Title="How do I fix these XDB errors in Sitecore 9.1.1?" Tags="|xdb|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18345" PostTypeId="1" CreationDate="2019-04-26T16:29:31.743" Score="1" ViewCount="49" Body="&lt;p&gt;&lt;strong&gt;Sitecore&lt;/strong&gt;: 9.0.2 PaaS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TDS&lt;/strong&gt;: 5.7.0.21&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a while (years) we have leveraged custom Post Deploy Actions in TDS but have recently run into an issue where TDS appears unable to retrieve our custom actions.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Error (full extent of what is visible)&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-04-26T16:16:16  PID[9124] Information 5272 16:16:16 INFO  4/26/2019-4:16:16 PM: Executing post deploy action My.Foundation.TDS.PostDeploy.PublishDeployedItemsWithPublishingQueue,My.Foundation.TDS with parameter 'Internet'&#xA;2019-04-26T16:16:16  PID[9124] Information 5272 16:16:16 INFO  4/26/2019-4:16:16 PM: Could not create type ''. Type.GetType() returned null.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It appears to try and pull all custom Validators by type (presumably IPostDeployAction), but is unable to get a handle on our action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Post Deploy Action is verbatim from this post: &lt;a href=&quot;https://www.geekhive.com/buzz/post/2017/10/tds-post-deploy-action-publish-items-via-publishing-queue/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.geekhive.com/buzz/post/2017/10/tds-post-deploy-action-publish-items-via-publishing-queue/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I reviewed other examples from &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Post-Deploy-Scripts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Post-Deploy-Scripts&lt;/a&gt; and all follow the same format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The version of &lt;code&gt;HedgehogDevelopment.SitecoreProject.PackageInstallPostProcessor.dll&lt;/code&gt; we are referencing locally is the same instance used during deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note: I am aware that TDS 5.8 can eliminate this issue, however, there is an ongoing issue where it disrespects GitDeltaDeploy (discussion in slack recently) so I'm hesitant to upgrade.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-09-16T17:06:34.183" Title="TDS Custom Post Deploy Action &gt; Could not create type ''. Type.GetType() returned null" Tags="|tds|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18346" PostTypeId="2" ParentId="18342" CreationDate="2019-04-26T16:47:14.223" Score="0" Body="&lt;p&gt;There is no way to do this with out of the box JSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There have been some 3rd party modules developed by the community that add this functionality - &lt;a href=&quot;https://github.com/macaw-interactive/umbrella-for-sitecore-jss&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/macaw-interactive/umbrella-for-sitecore-jss&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4949" LastActivityDate="2019-04-26T16:47:14.223" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18347" PostTypeId="1" AcceptedAnswerId="18433" CreationDate="2019-04-26T16:54:20.987" Score="7" ViewCount="2655" Body="&lt;p&gt;Sitecore 9.1 When a specific user is trying to login we see a blank &quot;An Error occurred&quot; screen. It is working fine for other users. In the backend CM logs we see this error message&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Nested Exception&#xA;&#xA;    Exception: System.Data.DataException&#xA;    Message: Error executing SQL command:  INSERT INTO [Properties] (   [Key], [Value] ) VALUES (   @name, @value )&#xA;&#xA;    Nested Exception&#xA;&#xA;    Exception: System.Data.SqlClient.SqlException&#xA;    Message: String or binary data would be truncated.&#xA;    The statement has been terminated.&#xA;    Source: .Net SqlClient Data Provider&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3698" LastEditorUserId="1804" LastEditDate="2019-04-27T21:43:06.137" LastActivityDate="2019-10-03T22:59:25.443" Title="Sitecore 9.1 When a specific user is trying to login we see a blank &quot;An Error occurred screen&quot;" Tags="|sitecore-client|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18348" PostTypeId="2" ParentId="17863" CreationDate="2019-04-26T19:51:06.197" Score="-2" Body="&lt;p&gt;This is documented in the sitecore EXM help here: &lt;a href=&quot;https://doc.sitecore.com/developers/exm/91/email-experience-manager/en/configure-preference-center-options.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/exm/91/email-experience-manager/en/configure-preference-center-options.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5458" LastActivityDate="2019-04-26T19:51:06.197" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18349" PostTypeId="1" CreationDate="2019-04-27T03:30:58.690" Score="0" ViewCount="100" Body="&lt;p&gt;Currently, we are using &lt;code&gt;Solr 6.5&lt;/code&gt;. We want to upgrade &lt;code&gt;Solr 6.5&lt;/code&gt; to &lt;code&gt;Solr 7.2&lt;/code&gt; to leverage bidirectional replication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But Sitecore has not tested &lt;code&gt;Sitecore 8.2&lt;/code&gt; - &lt;code&gt;Solr 7.2&lt;/code&gt; compatibility. Also, there is no information available for same in Solr compatibility table(&lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone tried it? &lt;/p&gt;&#xA;" OwnerUserId="3310" LastEditorUserId="5096" LastEditDate="2019-05-03T08:30:52.313" LastActivityDate="2019-05-03T08:30:52.313" Title="Has any one tested Sitecore 8.2 compatibility with Solr 7.2?" Tags="|solr|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18350" PostTypeId="2" ParentId="15181" CreationDate="2019-04-27T03:38:20.593" Score="2" Body="&lt;p&gt;No, It is not required to rebuild Link databases in CD environments. Publishing will keep your link database updated.&lt;/p&gt;&#xA;" OwnerUserId="3310" LastActivityDate="2019-04-27T03:38:20.593" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18352" PostTypeId="2" ParentId="18344" CreationDate="2019-04-27T16:13:33.410" Score="2" Body="&lt;p&gt;You received this error because you json models were not updated to 9.1.1 versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0 does not have any email campaign model, EXM was part of the platform starting with 9.0.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check in your updated solution if you have next models :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Sitecore.XConnect.ContentTesting.Model, 1.2.json&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Sitecore.EmailCampaign.XConnectModel, 1.0.json&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.Sitecore.XConnect.Collection.ContactMerge.Model, 1.0.json&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4.Sitecore.XConnect.Collection.Model, 9.0.json&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PyOxL.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PyOxL.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-04-27T16:13:33.410" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18353" PostTypeId="2" ParentId="18347" CreationDate="2019-04-27T16:16:23.300" Score="0" Body="&lt;p&gt;Please see if the username has some special characters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore create a ticket for each user when login onto the CMS. This ticket entry is stored in the Properties table of the Core database. So, you can check here especially.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="1110" LastEditDate="2019-04-27T16:21:58.333" LastActivityDate="2019-04-27T16:21:58.333" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18356" PostTypeId="2" ParentId="11832" CreationDate="2019-04-28T08:35:49.340" Score="0" Body="&lt;p&gt;I checked Event Viewer and there were two &amp;quot;strange&amp;quot; errors:&lt;/p&gt;&#xA;&lt;p&gt;ISAPI Filter &lt;code&gt;'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\\\\aspnet_filter.dll' could not be loaded due to a configuration problem&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Could not load all ISAPI filters for site 'SITECORE911.XCONNECT'.&lt;/code&gt;  Therefore site startup aborted.&lt;/p&gt;&#xA;&lt;p&gt;I don't know-how but in IIS the path to ISAPI filter was with two slashes&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;v4.0.30319\\\\aspnet_filter.dll&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;instead of&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;v4.0.30319\aspnet_filter.dll&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This was my solution. This fixed XConnect site, it started to run and error &amp;quot;This configuration has not been initialized. Please call the initialize method before using it&amp;quot; disappeared due to it.&lt;/p&gt;&#xA;" OwnerUserId="1750" LastEditorUserId="251" LastEditDate="2022-04-06T11:35:39.117" LastActivityDate="2022-04-06T11:35:39.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18357" PostTypeId="2" ParentId="10514" CreationDate="2019-04-28T15:08:36.107" Score="6" Body="&lt;p&gt;After clean installation of 9.1.1, I have the same issue. I did reindex. I checked IDs.&#xA;But I suppose issue is somewhere else. This is from search log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;35448 16:58:48 ERROR Solr Error : [&quot;undefined field is_template&quot;] - Query attempted: [(((((_content:(**) OR _name:(**) OR _displayname:(**)) AND (is_template:(1) AND _latestversion:(1))) AND _path:(b701850acb8a4943b2bcdddb1238c103)) AND _templatename:(Form)) AND (-__hidden:(1)  *:*))]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Quick solution is to define &quot;is_template&quot; field from &quot;istemplate&quot; field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;istemplate&quot; returnType=&quot;bool&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsTemplate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;&amp;lt;field fieldName=&quot;is_template&quot; returnType=&quot;bool&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsTemplate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in default index configuration&lt;/p&gt;&#xA;" OwnerUserId="1750" LastEditorUserId="1750" LastEditDate="2019-04-28T15:19:02.833" LastActivityDate="2019-04-28T15:19:02.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18358" PostTypeId="2" ParentId="18326" CreationDate="2019-04-29T04:50:11.633" Score="2" Body="&lt;p&gt;This issue was due to no write access onto &lt;code&gt;temp&lt;/code&gt; folder inside virtual directory(website folder).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;InstallPackageForm&lt;/code&gt; class, the function &lt;code&gt;WatchForInstallationStatus()&lt;/code&gt; is responsible for the &quot;Job started: WatchStatus&quot; logmessage. This function starts a new thread in which it checks the status of the package installation which is stored in the &lt;code&gt;temp&lt;/code&gt; folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case,the &lt;code&gt;IIS_IUSRS&lt;/code&gt; role did not have &lt;code&gt;write&lt;/code&gt; access on the temp folder inside website. After I give permission on it, things are working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt; &lt;a href=&quot;https://stackoverflow.com/questions/17041253/sitecore-package-install-never-ends&quot;&gt;https://stackoverflow.com/questions/17041253/sitecore-package-install-never-ends&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-04-29T07:18:05.663" LastActivityDate="2019-04-29T07:18:05.663" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18359" PostTypeId="1" AcceptedAnswerId="18360" CreationDate="2019-04-29T05:37:07.740" Score="1" ViewCount="306" Body="&lt;p&gt;I am working with &lt;code&gt;Sitecore Analytics version 9 update 2&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;There are two contact reference name&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Tracking.Contact&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.XConnect.Contact&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Can anyone please elaborate what is the difference between both where which contact type we will use? Thanks.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="8744" LastEditDate="2021-08-13T09:10:36.743" LastActivityDate="2021-08-13T09:10:36.743" Title="Difference between Analytics and XDB Contact" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18360" PostTypeId="2" ParentId="18359" CreationDate="2019-04-29T07:58:48.933" Score="3" Body="&lt;p&gt;These are two different models used for different purposes. To quote &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/web-tracking-217852.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;tracker uses its own model&lt;/strong&gt; (&lt;code&gt;Sitecore.Analytics.Tracking.Contact&lt;/code&gt;) to represent contacts, interactions, and events. It does not use the xConnect model. &lt;strong&gt;On session end, data&lt;/strong&gt; collected by the tracker &lt;strong&gt;is converted&lt;/strong&gt; to a format that can be used by xConnect (&lt;code&gt;Sitecore.XConnect.Contact&lt;/code&gt;). For example, &lt;code&gt;Sitecore.Analytics.Model.Entities.IContact&lt;/code&gt; is converted to &lt;code&gt;Sitecore.XConnect.Contact&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use &lt;code&gt;Sitecore.Analytics.Tracking.Contact&lt;/code&gt; for contact tracking purposes.&lt;/li&gt;&#xA;&lt;li&gt;Use &lt;code&gt;Sitecore.XConnect.Contact&lt;/code&gt; to save/load contact data to xConnect.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="842" LastActivityDate="2019-04-29T07:58:48.933" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18361" PostTypeId="1" CreationDate="2019-04-29T09:02:23.997" Score="1" ViewCount="538" Body="&lt;p&gt;We just upgraded our SXA from 1.7 to 1.8.1 and when we finished updating it, the add renderings window does not display the sections of the renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know this has been asked before, but it appears that it doesn't have an answer yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XpYOV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XpYOV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2882" LastEditorUserId="73" LastEditDate="2019-04-29T09:52:49.713" LastActivityDate="2019-04-29T09:52:49.713" Title="Available Renderings Tabs are missing" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18362" PostTypeId="1" CreationDate="2019-04-29T09:43:20.413" Score="2" ViewCount="6467" Body="&lt;p&gt;I am trying to move my code from Lucene to Solr, but am facing an issue. I have 4 fields indexed, all the field are of text_general type (from the managed schema). The code from Lucene is: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;filterSearchText = filterSearchText.Or(x =&amp;gt; x.LastName.Contains(searchRequest.Keyword));&#xA;filterSearchText = filterSearchText.Or(x =&amp;gt; x.Content.Contains(searchRequest.Keyword));&#xA;filterSearchText = filterSearchText.Or(x =&amp;gt; x.RelatedContent.Contains(searchRequest.Keyword));&#xA;filterSearchText = filterSearchText.Or(x =&amp;gt; x.SearchKeywords.Contains(searchRequest.Keyword));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So whenever I search a single word (e.g. &quot;health&quot;) Solr gives the same results as Lucene, but when I search multiple words (e.g. &quot;health ser&quot;) it does not give any result. The query is in the logs as follows for single and multiple words: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;last_name_t:(*health*) OR _content:(*health*) OR relatedcontent_s:(*health*) OR search_keywords_t:(*health*)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and for multiple words &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;last_name_t:(&quot;\*health ins\*&quot;) OR _content:(&quot;\*health ins\*&quot;) OR relatedcontent_s:(&quot;\*health ins\*&quot;) OR search_keywords_t:(&quot;\*health ins\*&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but when I search for the full keywords such as (e.g. &quot;health services&quot;) I get correct results with the query: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;last_name_t:(&quot;\*Health Services\*&quot;) OR _content:(&quot;\*Health Services\*&quot;) OR relatedcontent_s:(&quot;\*Health Services\*&quot;) OR search_keywords_t:(&quot;\*Health Services\*&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So what is the replacement for finding the substring in Solr? &lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="237" LastEditDate="2019-04-29T10:11:57.747" LastActivityDate="2019-04-30T10:17:56.503" Title="Searching a substring using solr" Tags="|solr|content-search|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18363" PostTypeId="1" CreationDate="2019-04-29T10:17:08.523" Score="3" ViewCount="115" Body="&lt;p&gt;I am fetching contact on the basis of &quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;. When I am creating Shared session manager client object and trying to fetch contact it's giving me null value every time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scenario:&lt;/strong&gt; On the same browser, Contact abc@gmail.com entered his details and I have saved it into XDB and created a new contact. After some time another contact xyz@gmail.com entered his details and saved it into XDB (New Contact Created with email identifier).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to populate the latest entered contact data in MVC forms like Name, Mobile, Email, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I am trying to get the latest details using the ssharedSessionManager object using below code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactKeyCookie contactCookie = new ContactKeyCookie();&#xA;            if (!contactCookie.IsNewContact)&#xA;            {&#xA;                Guid contactId = contactCookie.ContactId;&#xA;                var contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;                var contact = contactManager.LoadContact(contactId);&#xA;                var sharedSessionManager = (SharedSessionStateManager)Factory.CreateObject(&quot;tracking/sharedSessionState/manager&quot;, true);&#xA;                // Try to load the contact from the Shared Session.&#xA;                Sitecore.Analytics.Tracking.Contact sessionContact = sharedSessionManager.LockAndLoadContact(contactId);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;sessionContact always giving me null value instead of giving me latest entry i.e. xyz@gmail.com. &#xA;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-04-29T10:54:15.483" LastActivityDate="2019-04-29T10:54:15.483" Title="Shared Session Manager object in analytics always giving Contact value null" Tags="|xdb|xconnect|experience-analytics|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18365" PostTypeId="1" AcceptedAnswerId="18371" CreationDate="2019-04-29T10:32:38.677" Score="1" ViewCount="513" Body="&lt;p&gt;This is the first time we working on Azure Search and Sitecore SXA &lt;/p&gt;&#xA;&#xA;&lt;p&gt;we are facing a problem related to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException Message: {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;The request is invalid. Details: definition : Invalid index: The index contains 1076 leaf fields (fields of a non-complex type). An index can have at most 1000 leaf fields.\r\n&quot;}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How do i check on which index am getting this error? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After reading about it i understand there are 2 ways to solve this issue &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set indexAllFields to false and include only necessary fields to the index &lt;/li&gt;&#xA;&lt;li&gt;Use the Exclude fields config file to exclude unnecessary fields &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Being a SXA and Azure Search Newbie i seem to have lost my way , please find my questions below &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;how can i check which index has crossed the maximum field limit on the azure portal &lt;/li&gt;&#xA;&lt;li&gt;I also see two indexes per database on the Azure Search explorer being created one for each database sitecore-core-index and sitecore-core-index-secondary , sitecore-master-index and sitecore-master-index-secondary , sitecore-web-index and sitecore-web-index-secondary , what are these secondary indexes &lt;/li&gt;&#xA;&lt;li&gt;There are also 2 other indexes related to SXA sitecore-sxa-master-secondary and sitecore-sxa-web-secondary , what are these indexes? ,I read that Sitecore SXA 1.7 onwards allows to configure index per site, i am yet to configure Index per site on SXA , yet i see these two indexes on Azure portal, am i missing anything?&lt;/li&gt;&#xA;&lt;li&gt;where are my content items indexed ? sitecore-sxa-master-secondary or sitecore-master-index ? &lt;/li&gt;&#xA;&lt;li&gt;would be great if anyone can provide a best practice guide on how to index content per site in SXA and include on items based on template type and exclude unwanted fields  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="73" LastEditDate="2019-04-29T10:43:32.933" LastActivityDate="2019-04-29T12:33:45.693" Title="Sitecore 9.0.2 SXA 1.8 PaaS Azure Search Configuration" Tags="|sxa|azure-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18366" PostTypeId="2" ParentId="17903" CreationDate="2019-04-29T11:01:54.617" Score="7" Body="&lt;p&gt;To do this you can create a custom version of Sitecore 9.1.1 rev. 002459 (XM) (OnPrem)_cm.scwdp.zip (Or whatever version of the WDP package you are using for your install)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Remove everything except iisapp from the archive.xml&lt;/li&gt;&#xA;&lt;li&gt;Remove all the .sql and /dacpac files&lt;/li&gt;&#xA;&lt;li&gt;Recreate the zip&lt;/li&gt;&#xA;&lt;li&gt;Run SIF referencing updated package. DB operations won't happen.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Even better you can remove all the unused db params too&lt;/p&gt;&#xA;" OwnerUserId="5464" LastActivityDate="2019-04-29T11:01:54.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18368" PostTypeId="1" AcceptedAnswerId="18427" CreationDate="2019-04-29T12:17:42.473" Score="1" ViewCount="1688" Body="&lt;p&gt;The configuration for federated authentication, was working fine with the Sitecore version 8.2. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot;&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;ClientId&quot; value=&quot;MyValue&quot; /&amp;gt;&#xA;      &amp;lt;setting name=&quot;AADInstance&quot; value=&quot;https://login.microsoftonline.com/{0}&quot; /&amp;gt;&#xA;      &amp;lt;setting name=&quot;Tenant&quot; value=&quot;MyValue&quot; /&amp;gt;&#xA;      &amp;lt;setting name=&quot;PostLogoutRedirectURI&quot; value=&quot;MyValue&quot; /&amp;gt;&#xA;      &amp;lt;setting name=&quot;RedirectURI&quot; value=&quot;MyValue&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;owin.identityProviders&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyValue.Foundation.AzureAD.CustomAzureADIdentityProvider, MyValue.Foundation.AzureAD&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/owin.identityProviders&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;federatedAuthentication&amp;gt;&#xA;      &amp;lt;identityProviders hin=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;        &amp;lt;identityProvider id=&quot;xp0.sc.azureAD&quot; &#xA;         type=&quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;domainManager&quot; type=&quot;Sitecore.Abstractions.BaseDomainManager&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;caption&amp;gt;Sign-in with Azure Active Directory&amp;lt;/caption&amp;gt;&#xA;          &amp;lt;domain&amp;gt;sitecore&amp;lt;/domain&amp;gt;&#xA;          &amp;lt;icon&amp;gt;/sitecore/shell/themes/standard/Images/24x24/msazure.png&amp;lt;/icon&amp;gt;&#xA;          &amp;lt;transformations hint=&quot;list:AddTransformation&quot;&amp;gt;&#xA;&#xA;            &amp;lt;transformation name=&quot;Idp Claim&quot; ref=&quot;federatedAuthentication/sharedTransformations/setIdpClaim&quot; /&amp;gt;&#xA;&#xA;            &amp;lt;transformation name=&quot;Transform to Sitecore DEV Role&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;              &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;                &amp;lt;claim name=&quot;groups&quot; value=&quot;2b53eea7-21e2-49bf-9e9c-607904029ff6&quot; /&amp;gt;&#xA;              &amp;lt;/sources&amp;gt;&#xA;              &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;                &amp;lt;claim name=&quot;http://schemas.microsoft.com/ws/2008/06/identity/claims/role&quot; value=&quot;Sitecore\Developer&quot; /&amp;gt;&#xA;              &amp;lt;/targets&amp;gt;&#xA;              &amp;lt;keepSource&amp;gt;true&amp;lt;/keepSource&amp;gt;&#xA;            &amp;lt;/transformation&amp;gt;&#xA;          &amp;lt;/transformations&amp;gt;&#xA;        &amp;lt;/identityProvider&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;&#xA;      &amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;          &amp;lt;map name=&quot;email claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;              &amp;lt;!--claim name--&amp;gt;&#xA;              &amp;lt;source name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&quot; /&amp;gt;&#xA;              &amp;lt;!--property name--&amp;gt;&#xA;              &amp;lt;target name=&quot;Email&quot; /&amp;gt;&#xA;            &amp;lt;/data&amp;gt;&#xA;          &amp;lt;/map&amp;gt;&#xA;&#xA;      &amp;lt;map name=&quot;Name claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;          &amp;lt;!--claim name--&amp;gt;&#xA;          &amp;lt;source name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname&quot; /&amp;gt;&#xA;          &amp;lt;!--property name--&amp;gt;&#xA;          &amp;lt;target name=&quot;Name&quot; /&amp;gt;&#xA;        &amp;lt;/data&amp;gt;&#xA;      &amp;lt;/map&amp;gt;&#xA;&#xA;    &amp;lt;/maps&amp;gt;&#xA;  &amp;lt;/propertyInitializer&amp;gt;&#xA;  &amp;lt;identityProvidersPerSites&amp;gt;&#xA;    &amp;lt;mapEntry name=&quot;all&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;shell&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;login&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;admin&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;service&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;modules_shell&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;modules_website&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;scheduler&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;system&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;publisher&amp;lt;/site&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;&#xA;      &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;        &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='xp0.sc.azureAD']&quot; /&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;&#xA;      &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/externalUserBuilder&amp;gt;&#xA;    &amp;lt;/mapEntry&amp;gt;&#xA;  &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;&amp;lt;/federatedAuthentication&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;    &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i tried same configuration on Sitecore 9.1, i am getting below exception at transformation of idp claim.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find configuration node:&#xA;  federatedAuthentication/sharedTransformations/setIdpClaim&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any resolution?&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2020-07-23T12:36:41.100" Title="Could not find configuration node: federatedAuthentication/sharedTransformations/setIdpClaim" Tags="|federated-authentication|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18369" PostTypeId="1" AcceptedAnswerId="18380" CreationDate="2019-04-29T12:27:53.137" Score="2" ViewCount="1067" Body="&lt;p&gt;We can find Sitecore.Owin.Authentication.Enabler.config configuration file in &lt;code&gt;App_Config\Include\Examples&lt;/code&gt; folder to enable Federated authentication in Sitecore version 8.2. We just need to remove .example from the end of the file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when i tried to find out this configuration file in Sitecore 9.1, i was not able to find out this file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that Sitecore 9.1 introduced Sitecore Identity (SI) to provides a separate identity provider, and allows user to set up SSO (Single Sign-On) across Sitecore services and applications. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore also mentioned that it does not support the Active Directory integration, and for that we should use federated authentication instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the question is, how to use or enable federated authentication  if we don't find Sitecore.Owin.Authentication.Enabler.config file?&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2019-04-30T18:56:17.333" Title="Where is Sitecore.Owin.Authentication.Enabler.config in Sitecore 9.1?" Tags="|federated-authentication|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18370" PostTypeId="2" ParentId="5854" CreationDate="2019-04-29T12:29:46.300" Score="2" Body="&lt;p&gt;Sitecore Rocks have deprecated support for Visual Studio 2010 and 2012. Currently, the minimum version Sitecore Rocks integrates with is Visual Studio 2015.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore Rocks no longer supports Visual Studio 2013 as Microsoft has&#xA;  not made the Visual Studio 2013 SDK available on NuGet.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Sitecore Rocks integrates directly with Microsoft Visual Studio 2015 and 2017.&lt;/p&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2019-04-29T12:29:46.300" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18371" PostTypeId="2" ParentId="18365" CreationDate="2019-04-29T12:33:45.693" Score="1" Body="&lt;ol&gt;&#xA;&lt;li&gt;Could be in your logs but if it is related to a sxa query, it should be the sxa-master or sxa-web index (and probably both)&lt;/li&gt;&#xA;&lt;li&gt;&quot;secondary&quot; names come from the switch-on-rebuild functionality (&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/zero-downtime-index-rebuild-in-azure-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/zero-downtime-index-rebuild-in-azure-search.html&lt;/a&gt;) It's on by default and each time you do a rebuild Sitecore will use the non-active index to perform the rebuild and switch when it's done&lt;/li&gt;&#xA;&lt;li&gt;indexes with &quot;master&quot; in them are from the master database (those with &quot;web&quot; are from the web database). For information about those databases: &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/experience-manager-storage-roles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/experience-manager-storage-roles.html&lt;/a&gt; You can configure indexes per site in SXA - those might help you if you have a huge index and want to split them based on site and/or language.&lt;/li&gt;&#xA;&lt;li&gt;It depends. One of them will be active. Check &lt;a href=&quot;https://sitecore.stackexchange.com/a/16534/237&quot;&gt;https://sitecore.stackexchange.com/a/16534/237&lt;/a&gt; for an more in depth answer.&lt;/li&gt;&#xA;&lt;li&gt;Writing best practices would go a bit far here and -in my opinion- also depends on your project. You can (and should) however remove fields from your index as you hit the limit. SXA has some configuration already in place to remove some fields (check your config, there should be a whole list of excludedfields). You can use that as an example and extend it to remove more fields.&#xA;In the end, you could also use separate indexes (&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/configure-sxa-indexing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/configure-sxa-indexing.html&lt;/a&gt;) as provided by SXA.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-29T12:33:45.693" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="18372" PostTypeId="2" ParentId="18362" CreationDate="2019-04-29T12:52:03.550" Score="1" Body="&lt;p&gt;I have faced with the same issue some time ago. As it is mentioned in documentation, Solr does not support the wildcard (say partial) query for search phrases (this is a type of query to which &lt;code&gt;.Contains(&quot;simple site&quot;)&lt;/code&gt; will be converted):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Solr’s standard query parser supports single and multiple character wildcard searches within single terms. Wildcard characters can be applied to single terms, but not to search phrases. &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/the-standard-query-parser.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://lucene.apache.org/solr/guide/6_6/the-standard-query-parser.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When you try to search &lt;code&gt;health&lt;/code&gt;, your query is parsed as &lt;code&gt;&amp;lt;str name=&quot;parsed query&quot;&amp;gt;content:health &amp;lt;/str&amp;gt;&lt;/code&gt; and Solr searches for &lt;code&gt;health&lt;/code&gt; as a part of word or an entire word and it works fine. But when you try to search &lt;code&gt;health ins&lt;/code&gt;, your query is parsed as &lt;code&gt;&amp;lt;str name=&quot;parsedquery&quot;&amp;gt;PhraseQuery(_content:&quot;health ins&quot;) &amp;lt;/str&amp;gt;&lt;/code&gt;. In this case, Solr searches of containing the &lt;code&gt;health&lt;/code&gt; and &lt;code&gt;ins&lt;/code&gt; just as entire words in the document and you don't get any results, because you don't have a document with &lt;code&gt;ins&lt;/code&gt; word in the content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest way to supporting multi word search with search by the part of word is to apply the code like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var searchContext = ContentSearchManager.GetIndex(new SitecoreIndexableItem(startItem)).CreateSearchContext()) &#xA;{&#xA;&#xA;var querySplitted = queryItem.Split(' '); //Split the queryItem by the white space (or any other symbols if you need) &#xA;&#xA;var predicate = PredicateBuilder.True &amp;lt;TIndexModel&amp;gt;(); &#xA;&#xA;foreach (var query in querySplitted) &#xA;{ &#xA;    predicate  = predicate.And(item =&amp;gt; item.Content.Contains(query)); &#xA;} &#xA;&#xA;var query = searchContext.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Filter(predicate);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code above works as expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another way is to change the tokenizer. But in case you decide to change the analyzer, be careful as the size of index will increase and potentially can cause a performance issue. Make sure you know what you're doing before changing of analyzer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have explained how the analyzer changing might help you with the issue in the following article:&#xA;&lt;a href=&quot;https://www.brimit.com/blog/sitecore-multiple-partial-word-search-solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.brimit.com/blog/sitecore-multiple-partial-word-search-solr&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-04-29T12:52:03.550" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18373" PostTypeId="1" CreationDate="2019-04-29T12:54:33.347" Score="3" ViewCount="221" Body="&lt;p&gt;I am trying to migrate a Sitecore 9.0.2 to 9.1.1.&#xA;Following the upgrade guide &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Update1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Update1.aspx&lt;/a&gt;, I have to create an Identity Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I have created a new Web App on my Azure ressource group which already contains the current Wep App with Sitecore 9.0.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, I have run the installation script (page 10) &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$prefix=&quot;sc&quot;&#xA;$CMurl=&quot;https://$prefix&quot;&#xA;$IdentityServer=&quot;$prefix-IdentityServer&quot;&#xA;$ClientSecret=&quot;Random_STRING&quot;&#xA;$SqlServer = &quot;.\SQLEXPRESS&quot;&#xA;$SqlAdminUser = &quot;User&quot;&#xA;$SqlAdminPassword=&quot;Password&quot;&#xA;$PSScriptRoot = &quot;c:\resourcefiles&quot;&#xA;#install client certificate for IdentityServer&#xA;$certParamsForIdentityServer = @{&#xA;Path = &quot;$PSScriptRoot\createcert.json&quot;&#xA;CertificateName = $IdentityServer&#xA;}&#xA;Install-SitecoreConfiguration @certParamsForIdentityServer -Verbose&#xA;#install Sitecore Identity Server&#xA; $identityParams =&#xA; @{&#xA; Path = &quot;$PSScriptRoot\IdentityServer.json&quot;&#xA; Package = &quot;$PSScriptRoot\Sitecore.IdentityServer.2.0.1 rev. 00166.scwdp.zip&quot;&#xA; SqlDbPrefix = $prefix&#xA; SqlServer = $SqlServer&#xA; SqlCoreUser = $SqlAdminUser&#xA; SqlCorePassword = $SqlAdminPassword&#xA; SitecoreIdentityCert = $certParamsForIdentityServer.CertificateName&#xA; Sitename = $IdentityServer&#xA; PasswordRecoveryUrl = $CMurl&#xA; AllowedCorsOrigins = $CMurl&#xA; ClientSecret = $ClientSecret&#xA; LicenseFile = &quot;$PSScriptRoot\license.xml&quot;&#xA; }&#xA;Install-SitecoreConfiguration @identityParams -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;on a Kudu interface and I have the following error :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration : The 'Install-SitecoreConfiguration' command &#xA;was found in the module 'SitecoreInstallFramework', but the module could not &#xA;be loaded. For more information, run 'Import-Module SitecoreInstallFramework'.&#xA;At D:\home\resourcefiles\install.ps1:16 char:1&#xA;+ Install-SitecoreConfiguration @certParamsForIdentityServer -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ObjectNotFound: (Install-SitecoreConfiguration:S &#xA;   tring) [], CommandNotFoundException&#xA;    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule&#xA;&#xA;Install-SitecoreConfiguration : The 'Install-SitecoreConfiguration' command &#xA;was found in the module 'SitecoreInstallFramework', but the module could not &#xA;be loaded. For more information, run 'Import-Module SitecoreInstallFramework'.&#xA;At D:\home\resourcefiles\install.ps1:34 char:1&#xA;+ Install-SitecoreConfiguration @identityParams -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ObjectNotFound: (Install-SitecoreConfiguration:S &#xA;   tring) [], CommandNotFoundException&#xA;    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As explain on the error, I have executed the command &quot;Import-Module SitecoreInstallFramework&quot;, and now I have the following error :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module : The script 'SitecoreInstallFramework.psm1' cannot be run &#xA;because it contains a &quot;#requires&quot; statement for running as Administrator. The &#xA;current Windows PowerShell session is not running as Administrator. Start &#xA;Windows PowerShell by  using the Run as Administrator option, and then try &#xA;running the script again.&#xA;At line:1 char:1&#xA;+ Import-Module SitecoreInstallFramework&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : PermissionDenied: (SitecoreInstallFramework.psm1 &#xA;   :String) [Import-Module], ScriptRequiresException&#xA;    + FullyQualifiedErrorId : ScriptRequiresElevation,Microsoft.PowerShell.Com &#xA;   mands.ImportModuleCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Ok, I don't have administrator access to execute some command.&#xA;But I am on an Azure Web App, and I could not change my permission to administrator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does my approach is correct to create an Identity Server ?&lt;/p&gt;&#xA;" OwnerUserId="5233" LastEditorUserId="73" LastEditDate="2019-04-29T13:08:08.413" LastActivityDate="2019-04-29T13:08:08.413" Title="Installation issue on migration 9.1.1" Tags="|azure|paas|identity-server|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18374" PostTypeId="1" AcceptedAnswerId="18377" CreationDate="2019-04-29T13:20:28.473" Score="1" ViewCount="169" Body="&lt;p&gt;I'm working in a Helix solution and have noticed things like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration name=&quot;Feature.MyModuleName&quot;&#xA;               dependencies=&quot;Foundation.SomethingElse&quot; &#xA;               patch:after=&quot;configuration[@name='Foundation.Core']&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To me, the &lt;code&gt;dependencies&lt;/code&gt; attribute seems like all you should need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it really necessary &lt;code&gt;patch:after&lt;/code&gt; &lt;em&gt;as well as&lt;/em&gt; the &lt;code&gt;dependencies&lt;/code&gt; attribute?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-04-29T13:47:35.843" Title="Is there any need to use patch:after with Unicorn configuration files" Tags="|configuration|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18375" PostTypeId="1" CreationDate="2019-04-29T13:20:39.603" Score="2" ViewCount="692" Body="&lt;p&gt;Has anyone successfully configured Identity Server 2.0.1 (SC 9.1.1) to use Active Directory?  The only official documentation and examples I have seen are with Azure AD (not regular on prem AD).  I found this very good blog post (&lt;a href=&quot;https://sitecore.derekc.net/setting-up-azure-active-directory-integration-with-sitecore-identity-server-sitecore-9-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.derekc.net/setting-up-azure-active-directory-integration-with-sitecore-identity-server-sitecore-9-1/&lt;/a&gt;) but that is for Azure AD.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems odd to me that Sitecore would not provide out of the box support with examples for regular Active Directory.  Unless I am missing something and it is simple to set up for regular AD.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2019-04-29T14:44:09.377" Title="How to configure Identity Server 2.0.1 (Sitecore 9.1.1) to use Active Directory?" Tags="|identity-server|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18377" PostTypeId="2" ParentId="18374" CreationDate="2019-04-29T13:47:35.843" Score="3" Body="&lt;p&gt;Yes. At least potentially.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;patch:after&lt;/code&gt; happens when &lt;code&gt;Sitecore.Configuration.Factory&lt;/code&gt; reads and parses and constructs the object graph that the configuration represents. So at &lt;code&gt;Initialize&lt;/code&gt; time of the application. There could be Foundation level configuration entries (like default serializer and so on) that need to be set up, before your Feature level configuration is read and parsed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;dependencies&lt;/code&gt; attribute affects Unicorn sync order at &lt;em&gt;runtime&lt;/em&gt;. So much much later in process/lifecycle of your application.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-04-29T13:47:35.843" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18378" PostTypeId="2" ParentId="15872" CreationDate="2019-04-29T14:17:46.883" Score="1" Body="&lt;p&gt;Sitecore 9.1 uses the &lt;strong&gt;Owin authentication&lt;/strong&gt; mechanism, in the earlier versions it uses the .Net legacy form authentication mechanism.&#xA;To enable the virtual login the below steps are followed.&#xA;&lt;strong&gt;Inherited DefaultCookieAuthenticationOptions&lt;/strong&gt; and passed the domain and other required properties in the constructor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class CustomCookieAuthenticationOptions : DefaultCookieAuthenticationOptions&#xA;    {&#xA;        public CustomCookieAuthenticationOptions(DefaultCookieAuthenticationProvider provider, ICookieManager cookieManager, AuthenticationTypeResolver authenticationTypeResolver)&#xA;            : base(provider, cookieManager, authenticationTypeResolver)&#xA;        {&#xA;            CookieDomain = &quot;.x.com&quot;;&#xA;            //Based on your requirement you can set the remaining properties&#xA;            //CookieSecure = Microsoft.Owin.Security.Cookies.CookieSecureOption.Never;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Injected the above class based on the sample given in the &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/dependency-injection.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore document&lt;/a&gt; &#xA;Code - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyServicesConfigurator : IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            serviceCollection.AddTransient&amp;lt;DefaultCookieAuthenticationOptions, CustomCookieAuthenticationOptions&amp;gt;();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Config -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;            &amp;lt;configurator type= &quot;Test.MyServicesConfigurator, Test.Poc&quot;/&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After the above changes, it sets the cookie at x.com but &lt;strong&gt;CORS still failed&lt;/strong&gt;. I mean when I login from abc.x.com and try to access the page from the domain xyz.x.com, I am not able to access the Sitecore context set in abc.x.com. [Though both the sites are published from same Sitecore instance].&#xA;When further analyzing the issue, looks like the &lt;strong&gt;“ASP.NET_SessionId”&lt;/strong&gt; needs to be at parent domain level i.e. x.com level [to share the similar Sitecore session between abc.x.com and xyz.x.com]. So updated the Web.config [Sitecore instance] as below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web&amp;gt;&#xA;    …&#xA;&amp;lt;httpCookies httpOnlyCookies=&quot;true&quot; requireSSL=&quot;false&quot; domain=&quot;.x.com&quot; /&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now when I &lt;strong&gt;login from abc.x.com&lt;/strong&gt;, all the &lt;strong&gt;Sitecore cookies are set at x.com&lt;/strong&gt; including the “ASP.NET_SessionId”. So my &lt;strong&gt;Sitecore context built in abc.x.com is accessible in xyz.x.com&lt;/strong&gt; and this is what I expected.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-04-29T14:17:46.883" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18379" PostTypeId="2" ParentId="18375" CreationDate="2019-04-29T14:44:09.377" Score="2" Body="&lt;p&gt;Sitecore 9.1.0 and later uses Identity server and Owin authentication, so Active Directory module is officially not supported. &lt;strong&gt;You need to set up the Federated Authentication&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Refer the &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/using-federated-authentication-with-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore document&lt;/a&gt; where they mentioned the same and also there are steps to setup the Federated Authentication.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-04-29T14:44:09.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18380" PostTypeId="2" ParentId="18369" CreationDate="2019-04-29T15:20:15.777" Score="5" Body="&lt;p&gt;Sitecore 9.1.0 and later enabled the Federated authentication entries by default that's why we are seeing the .\Website\App_Config\Include\Examples\Sitecore.Owin.Authentication.Disabler.config.example but not the enabler file. You can find the federated authentication related entries in the below file, just validate whether the federated is enabled or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;\Website\App_Config\Sitecore\Owin.Authentication\Sitecore.Owin.Authentication.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For ex - Added the sample where they set the Federated Authentication as &quot;True&quot;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;...&#xA;   &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Owin.Authentication.Enabled&quot; value=&quot;true&quot; security:require=&quot;Sitecore&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!--  FEDERATED AUTHENTICATION ENABLED&#xA;            Determines if federated authentication is enabled. Sitecore federated authentication is based on OWIN authentication,&#xA;            To enable federated authentication, you must enable &quot;Owin.Authentication.Enabled&quot;.&#xA;&#xA;            Default value: true --&amp;gt;&#xA;      &amp;lt;setting name=&quot;FederatedAuthentication.Enabled&quot; value=&quot;true&quot; security:require=&quot;Sitecore&quot; /&amp;gt;&#xA;...&#xA;   &amp;lt;/settings&amp;gt;&#xA;...&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So ignore the existing settings and just configure your new third party provider, map claims and write your own custom provider for owin.identityProviders etc. Basically execute the steps which are not part of initial setup.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-04-30T18:56:17.333" LastActivityDate="2019-04-30T18:56:17.333" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18381" PostTypeId="1" AcceptedAnswerId="18385" CreationDate="2019-04-29T15:33:44.907" Score="2" ViewCount="94" Body="&lt;p&gt;I would like to have all new SXA sites that are created in my environment to start with the same set of placeholder settings. The sites will share a &quot;base&quot; site that is used to define the partial and page designs - but I understood that placeholder settings are not among the things that get shared...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So a copy would be good enough for me. But what would be the easiest way to achieve this? Do I need to add them to the scaffolding? I guess so - but how? I could add the items with the &lt;code&gt;AddItem&lt;/code&gt; but for setting the actual values that seems not the best option. It seems possible with the &quot;Fields&quot;, but putting a list of guids in there just doesn't feel right.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone done this before? Or an example from sxa ootb that I can use?&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-04-29T19:49:59.317" Title="Sharing SXA Placeholder Settings over sites" Tags="|sxa|placeholders|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18382" PostTypeId="1" CreationDate="2019-04-29T16:48:33.347" Score="0" ViewCount="722" Body="&lt;p&gt;I am trying to install Sitecore XC09 with SQL Server 2016 running on a separate  server. The script terminates with the attached error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am running the Deploy-Sitecore-Commerce.ps1 provided in the sitecore commerce bundle.  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Restarting SQL Server Something went wrong restarting SQL server again&#xA;  Install-SitecoreConfiguration : Cannot validate argument on parameter&#xA;  'InputObject'. The argument is null or empty. Provide an argument that&#xA;  is not null or empty, and then try the command again. At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Install-SitecoreConfiguration.ps1:641&#xA;  char:25&#xA;  + &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;  + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;  + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TIME] 00:00:14 Install-SitecoreConfiguration : Cannot validate&#xA;  argument on parameter 'InputObject'. The argument is null or empty.&#xA;  Provide an argument that is not null or empty, and then try the&#xA;  command again. At&#xA;  C:\sitecorecommerce\SIF\Deploy-Sitecore-Commerce.ps1:80 char:2&#xA;  + Install-SitecoreConfiguration @params&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;  + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;  + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TIME] 00:01:05 Invoke-ManageCommerceServiceTask : Cannot validate&#xA;  argument on parameter 'InputObject'. The argument is null or empty.&#xA;  Provide an argument that is not null or empty, and then try the&#xA;  command again. At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Install-SitecoreConfiguration.ps1:641&#xA;  char:25&#xA;  + &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;  + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;  + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-ManageCommerceServiceTask&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Error Details : It says &quot;Something went wrong restarting SQL Server again&quot; and gives the error stack as shown in image above. &lt;/p&gt;&#xA;" OwnerUserId="5466" LastEditorUserId="73" LastEditDate="2019-04-29T17:06:47.583" LastActivityDate="2019-05-30T09:01:45.310" Title="Install-SitecoreConfiguration : Cannot validate argument on parameter 'InputObject'" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18383" PostTypeId="1" AcceptedAnswerId="18420" CreationDate="2019-04-29T17:04:38.910" Score="2" ViewCount="377" Body="&lt;p&gt;We have &lt;code&gt;&amp;lt;setting name=&quot;Media.UploadAsFiles&quot; value=&quot;true&quot;&amp;gt;&lt;/code&gt;. In most scenarios it's working as expected; media items' data bits are stored as files on the server rather than in the Sitecore DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, for some media templates, e.g.     &lt;code&gt;/sitecore/templates/System/Media/Unversioned/Pdf&lt;/code&gt;, the Attach command &#xA;on the Media field in the Content Editor ignores our &lt;code&gt;UploadAsFiles&lt;/code&gt; setting; it apparently stores the media data bits in the Sitecore DB rather than as a file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Actually, it's not &quot;obvious&quot; that it's storing the bits in the DB, since media items show no explicit &lt;code&gt;&quot;DB/file&quot;&lt;/code&gt; indicator AFAICT, but I &lt;em&gt;infer&lt;/em&gt; it's using DB storage because the &quot;File Path&quot; field is blank, we can't find the file on the server, yet the media item still &quot;works&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to use Detach and Attach to update a media item's bits, and we want the item to still use file storage after we do this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is Sitecore XP 8.2 rev. 180406 (Update-7).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone seen this problem? Know a fix or workaround? Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3614" LastEditorUserId="2727" LastEditDate="2019-04-30T14:08:40.650" LastActivityDate="2019-05-01T03:38:49.587" Title="Media Attach command ignores UploadAsFiles" Tags="|content-editor|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18384" PostTypeId="1" CreationDate="2019-04-29T18:19:07.850" Score="1" ViewCount="213" Body="&lt;p&gt;When we click on Forms icon from Launchpad in Sitecore 9, we are getting the error below: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary&#xA;requires a model item of type 'Sitecore.Speak.Components.Models.Structures.Substructures.GlobalHeaders.GlobalHeaderRenderingModel'.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H8Q7S.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H8Q7S.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2066" LastEditorUserId="70" LastEditDate="2019-04-30T00:24:48.653" LastActivityDate="2019-04-30T00:24:48.653" Title="Sitecore 9 forms giving error when click form launchpad icon" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18385" PostTypeId="2" ParentId="18381" CreationDate="2019-04-29T19:49:59.317" Score="3" Body="&lt;p&gt;As you noted, SXA has a scaffolding feature that helps to speed up new tenant/site creation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, the Page Content feature has the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Settings/Feature/Experience Accelerator/Page Content&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6FsyJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6FsyJ.png&quot; alt=&quot;Scaffolding screenshot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each of the items with the plus icon (AddItem template) have a way for you to create items in the tree. You may test out using a branch template in your own custom section outside of the Experience Accelerator node to help create the custom tree for placeholders.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-04-29T19:49:59.317" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18386" PostTypeId="1" AcceptedAnswerId="18388" CreationDate="2019-04-29T21:04:17.267" Score="1" ViewCount="244" Body="&lt;p&gt;Our application (Sitecore 9.0.2 SXA 1.8) is currently running on Azure PaaS with Azure Search as Search service &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recently we ran into this problem of master index exceeding 1000 field Limit &lt;/p&gt;&#xA;&#xA;&lt;p&gt;we understand that there are 2 options to solve this &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;set &lt;code&gt;IndexAllFields&lt;/code&gt; to false and include only relevant fields or templates to the index&lt;/li&gt;&#xA;&lt;li&gt;Add Unwanted fields to Sitecore.ContentSearch.Azure.Index.{Web/Master}.ExcludeFields.config &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My question is what is ideal way to patch these changes and deploy them on Azure PaaS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;should we copy all the contents of Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config and Sitecore.ContentSearch.Azure.Index.{Web/Master}.ExcludeFields.config and add it in our source control repository and deploy onto the PaaS environment &lt;/p&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a Way to patch only included fields/templates instead of replacing the entire file ? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="73" LastEditDate="2019-04-30T08:51:23.263" LastActivityDate="2019-04-30T08:51:23.263" Title="Patching Azure Search config files and deploy on Sitecore Azure PaaS" Tags="|azure-search|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18387" PostTypeId="2" ParentId="4692" CreationDate="2019-04-29T23:26:59.323" Score="1" Body="&lt;p&gt;I know this question is old, But i ran into this issue as well while installing Sitecore commerce, But my issue was that TLS 1.0 on Sql server was not enabled, so i had to enable it on SQL server then restart the SQL server (Or service).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can follow the link to enable TLS 1.0 on SQL server :&#xA;&lt;a href=&quot;https://support.microsoft.com/en-us/help/4077486/secdoclienthandshake-ssl-security-error-installing-dynamics-crm-server&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.microsoft.com/en-us/help/4077486/secdoclienthandshake-ssl-security-error-installing-dynamics-crm-server&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2019-04-29T23:26:59.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18388" PostTypeId="2" ParentId="18386" CreationDate="2019-04-29T23:27:14.433" Score="3" Body="&lt;p&gt;Here is an example of how to patch in an exclude field by ID that I have taken from an SXA config.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;    &amp;lt;sitecore search:require=&quot;azure&quot;&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;                &amp;lt;defaultCloudIndexConfiguration type=&quot;Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;                    &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.DocumentBuilderOptions, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                        &amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;&#xA;                            &amp;lt;LearnMoreTarget_A4270003 tag=&quot;{A4270003-480F-467A-BBEA-0D1B05B28656}&quot;&amp;gt;{A4270003-480F-467A-BBEA-0D1B05B28656}&amp;lt;/LearnMoreTarget_A4270003&amp;gt;&#xA;                        &amp;lt;/exclude&amp;gt;&#xA;                    &amp;lt;/documentOptions&amp;gt;&#xA;                &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;            &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The xml field needs to be unique hence the first 8 characters of the field ID are appended to the field name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What to call this file and where to put it depends on your solution, but from this SXA example they patched it in as &lt;code&gt;Foundation.Search.Azure.config&lt;/code&gt;. You can find more reading &lt;a href=&quot;https://helix.sitecore.net/principles/configuration/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; about helix structure for configs.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-04-29T23:27:14.433" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18389" PostTypeId="1" AcceptedAnswerId="18402" CreationDate="2019-04-29T23:51:54.573" Score="1" ViewCount="168" Body="&lt;p&gt;I'm looking at a JSS page in connected mode. I log the route to the console and note that there is a property, &lt;code&gt;deviceId&lt;/code&gt;, which matches the device called &lt;code&gt;Default&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are multiple devices in this project. There is the out-of-the-box &lt;code&gt;Print&lt;/code&gt; device. I created a device called Googlebot which has the user agent of the Googlebot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not know how to get &lt;code&gt;deviceId&lt;/code&gt; to resolve to a device other than Default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, &lt;code&gt;Print&lt;/code&gt; is supposedly determined by a query parameter. Append the query parameter, &lt;code&gt;deviceId&lt;/code&gt; is still &lt;code&gt;Default&lt;/code&gt;. Spoof user agent, &lt;code&gt;deviceId&lt;/code&gt; still default, not Googlebot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the algorithm for determining &lt;code&gt;deviceId&lt;/code&gt; on JSS pages?&lt;/p&gt;&#xA;" OwnerUserId="5305" LastEditorUserId="73" LastEditDate="2019-04-30T10:44:42.460" LastActivityDate="2019-04-30T16:06:31.357" Title="How is deviceId determined for JSS pages" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18392" PostTypeId="2" ParentId="13399" CreationDate="2019-04-30T02:09:26.200" Score="1" Body="&lt;p&gt;@Rachit, I got same error when I tried to generate static error page. After looking at logs, the sitecore is actually trying to use the Content Management URL for 404 and 500 error pages which caused the error message &quot;Error page did not load. Make sure you published your content.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To successfully generate error page, please make sure you login to CM via the tenant site host name for example: &lt;strong&gt;sxasitename.sxa.com/sitecore&lt;/strong&gt;. If you use only sxa.com/sitecore to generate the error page, you will get errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After generated error pages, you can find static html error page under your root path such as &#xA;C:/inetpub/wwwroot/[yourinstance]/ErrorPages/SXASiteName.html&lt;/p&gt;&#xA;" OwnerUserId="5470" LastActivityDate="2019-04-30T02:09:26.200" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18393" PostTypeId="1" CreationDate="2019-04-30T06:50:02.243" Score="0" ViewCount="67" Body="&lt;p&gt;I am facing the issue with goals, I have created multiple goals according to our requirement as below:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UMSHR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UMSHR.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;After that, I have assigned a goal to respective pages like Ciaz goal on Ciaz page, Baleno Goal to Baleno page, etc.&lt;/p&gt;&#xA;&lt;p&gt;Now I am to changing &lt;code&gt;datasource&lt;/code&gt; rendering on a different page on bases of goal triggering or page visit on which i have assigned a goal. I have created 4 different data source and assigned &lt;code&gt;personalization rule&lt;/code&gt; on rendering as below:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TUdCN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TUdCN.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now first time &lt;code&gt;personlization rule&lt;/code&gt; is working fine. When i visit another car page then &lt;code&gt;datasource&lt;/code&gt; should be change on bases of goal condition but its not changing. Please guide me. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="5417" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-03T08:31:06.100" Title="Sitecore multiple goals unexpected behaviour" Tags="|personalization|goals|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18394" PostTypeId="2" ParentId="18393" CreationDate="2019-04-30T08:57:52.527" Score="2" Body="&lt;p&gt;If you've set it up like this, once you trigger ANY of your goals - that's the one that will be selected. Personalisation works through conditions until it finds one that matches.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you have goals A and B; and personalisation going &quot;if A then =&gt; datasource&quot;, &quot;if B then =&gt; datasource&quot; - and BOTH goals A and B have been triggered, only A will be selected as a datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to rethink your personalisation strategy; Sitecore isn't laid out to do what you're asking for here.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-04-30T08:57:52.527" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18395" PostTypeId="2" ParentId="18382" CreationDate="2019-04-30T08:59:07.273" Score="1" Body="&lt;p&gt;Sometimes SQL Server Windows service cannot restart after stopping, ensure SQL Server Window service is running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also please make sure that TCP/IP protocol is enabled for the SQL server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.habaneroconsulting.com/stories/insights/2015/tcpip-is-disabled-by-default-in-microsoft-sql-server-2014&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.habaneroconsulting.com/stories/insights/2015/tcpip-is-disabled-by-default-in-microsoft-sql-server-2014&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/G4Knu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G4Knu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-04-30T08:59:07.273" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18396" PostTypeId="2" ParentId="18319" CreationDate="2019-04-30T09:03:26.557" Score="-1" Body="&lt;p&gt;You can create goals for each car, you can see this link:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://horizontalintegration.blog/2015/11/30/configuring-goals-in-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://horizontalintegration.blog/2015/11/30/configuring-goals-in-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;that how to create goals, after that you can apply personalization on the basis of goals on listing component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please find personalization link:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/personalizing-components.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/personalizing-components.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create custom rule as well&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-04-30T12:57:35.027" LastActivityDate="2019-04-30T12:57:35.027" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18397" PostTypeId="1" CreationDate="2019-04-30T09:35:00.450" Score="0" ViewCount="38" Body="&lt;p&gt;In Sitecore 9.1 and SXA 1.8, I cloned &lt;code&gt;SortResults&lt;/code&gt; rendering and used it in variant like this &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6DswB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6DswB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;, it's configuration is &lt;a href=&quot;https://i.stack.imgur.com/xO5Xn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xO5Xn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; and it's data source is&lt;a href=&quot;https://i.stack.imgur.com/yepQr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yepQr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; but the sort results like as there are three options for sorting but their values not appear &lt;a href=&quot;https://i.stack.imgur.com/gOQgW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gOQgW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;,&#xA;Is there something I missed ?? Any Ideas ??&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="73" LastEditDate="2019-04-30T10:42:20.687" LastActivityDate="2019-04-30T10:42:20.687" Title="Cloned &quot;Sort Results&quot; but values are missing" Tags="|sxa|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18399" PostTypeId="2" ParentId="18362" CreationDate="2019-04-30T10:17:56.503" Score="2" Body="&lt;p&gt;I faced the same issue, then I replaced &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;contains&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;with &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;MatchWildcard&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and it worked fined for me. Update your code syntax as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;filterSearchText = filterSearchText.Or(x =&gt;&#xA;  x.LastName.MatchWildcard(searchRequest.Keyword));&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="5387" LastActivityDate="2019-04-30T10:17:56.503" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18400" PostTypeId="1" CreationDate="2019-04-30T10:51:51.077" Score="0" ViewCount="33" Body="&lt;p&gt;I have created a new non-admin user role. As expected, when the user edits an item, they need to click the 'Lock and Edit item' and a new version is automatically created when the user edits. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, I have also encountered that it will not create a new version automatically when the user edits the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any advise, pls?&lt;/p&gt;&#xA;" OwnerUserId="5307" LastActivityDate="2019-04-30T10:51:51.077" Title="A version is not automatically created when a user edits an item" Tags="|sitecore-client|" AnswerCount="0" CommentCount="3" ClosedDate="2019-04-30T11:01:37.263" ContentLicense="CC BY-SA 4.0" />
  <row Id="18401" PostTypeId="2" ParentId="18303" CreationDate="2019-04-30T11:36:17.423" Score="3" Body="&lt;p&gt;If you issued a redirect with second parameter being default, &lt;code&gt;true&lt;/code&gt;, this explains it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What happens in default is, the redirect gets called and then &lt;em&gt;throws an exception&lt;/em&gt; to stop further processing.  Which, in your case, means that after your processor runs - you abort the pipeline and Sitecore's &lt;code&gt;OWin&lt;/code&gt; processing steps are never run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See: &lt;a href=&quot;https://stackoverflow.com/questions/2777105/why-response-redirect-causes-system-threading-threadabortexception&quot;&gt;Why Response.Redirect causes System.Threading.ThreadAbortException?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-04-30T11:36:17.423" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18402" PostTypeId="2" ParentId="18389" CreationDate="2019-04-30T12:09:30.013" Score="2" Body="&lt;p&gt;Sitecore layout device can be specified via the standard &lt;code&gt;sc_device&lt;/code&gt; querystring parameter. In connected mode, headless mode, or api-only mode, you would need to add that parameter to Layout Service requests. In integrated mode, the parameter can be added to Sitecore route requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whether requesting data from Layout Service or browsing in integrated mode, the standard Sitecore device detection and resolution processes are used - JSS doesn't do anything custom.&lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-04-30T12:09:30.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18403" PostTypeId="1" CreationDate="2019-04-30T12:42:35.693" Score="0" ViewCount="1696" Body="&lt;p&gt;I have the checked my instance and search query is enabled. I am getting the below error when i testing my search query in xGraph Browser&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Query&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query{&#xA;  search(keyword:&quot;smart&quot;){&#xA;    results{&#xA;      totalCount&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Response&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;data&quot;: {&#xA;    &quot;search&quot;: null&#xA;  },&#xA;  &quot;errors&quot;: [&#xA;    {&#xA;      &quot;message&quot;: &quot;Error trying to resolve search.&quot;,&#xA;      &quot;locations&quot;: [&#xA;        {&#xA;          &quot;line&quot;: 2,&#xA;          &quot;column&quot;: 3&#xA;        }&#xA;      ],&#xA;      &quot;path&quot;: [&#xA;        &quot;search&quot;&#xA;      ],&#xA;      &quot;extensions&quot;: {&#xA;        &quot;code&quot;: &quot;KEY_NOT_FOUND&quot;&#xA;      }&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2145" LastEditorUserId="1671" LastEditDate="2019-04-30T13:24:23.620" LastActivityDate="2019-05-01T07:14:27.260" Title="Sitecore GraphQL Search query not working - Error trying to resolve search" Tags="|jss|graphql|" AnswerCount="1" CommentCount="4" ClosedDate="2019-04-30T15:12:36.433" ContentLicense="CC BY-SA 4.0" />
  <row Id="18404" PostTypeId="1" AcceptedAnswerId="18418" CreationDate="2019-04-30T13:38:31.553" Score="3" ViewCount="1970" Body="&lt;p&gt;We want to allow our &lt;strong&gt;endusers&lt;/strong&gt; to login to our website using an Azure B2C AD account. I have only been able to find examples of how to add federated authentication for Sitecore accounts&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added this configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;owin.initialize&amp;gt;&#xA;    &amp;lt;processor type=&quot;Feature.Authentication.RegisterOwinAuthPipeline, Feature.Authentication&quot; &#xA;               patch:before=&quot;processor[@type='Sitecore.Owin.Pipelines.Initialize.StageMarker, Sitecore.Owin' and @method='Authenticate']&quot;/&amp;gt;&#xA;  &amp;lt;/owin.initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;    &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code for auth-route:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapRoute(&quot;AuthRoute&quot;, &quot;auth/sso/{action}&quot;, new&#xA;        {&#xA;            controller = &quot;Sso&quot;&#xA;        });&#xA;&#xA;        SsoLogger.Info(&quot;RegisterAuthRoute - Registered route: auth/sso/{action}&quot;);&#xA;&#xA;        RouteTable.Routes.MapRoute(&quot;LoginContentRoute&quot;, &quot;api/content/{action}&quot;, new&#xA;        {&#xA;            controller = &quot;Content&quot;&#xA;        });&#xA;&#xA;        SsoLogger.Info(&quot;LoginContentRoute - Registered route: api/login/{action}&quot;);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the pipeline that registers my Owin setup:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterOwinAuthPipeline : InitializeProcessor&#xA;{&#xA;    private readonly string _ssoAuthenticationRootPath = SsoConfiguration.Routes.RootPath;&#xA;    private readonly string _aadInstance = SsoConfiguration.AadInstance;&#xA;    private readonly string _tenant = SsoConfiguration.Tenant;&#xA;    private readonly ISsoConfigurationRepository _ssoConfigurationRepository;&#xA;&#xA;    public RegisterOwinAuthPipeline()&#xA;    {&#xA;        _ssoConfigurationRepository = ServiceLocator.ServiceProvider.GetService&amp;lt;ISsoConfigurationRepository&amp;gt;();&#xA;    }&#xA;&#xA;    public override void Process(InitializeArgs args)&#xA;    {&#xA;        ConfigureAuth(args.App);&#xA;    }&#xA;&#xA;    public void ConfigureAuth(IAppBuilder app)&#xA;    {&#xA;        app.Map(_ssoAuthenticationRootPath, ConfigureSsoAuthentication);&#xA;        SsoLogger.Info(&quot;Owin Startup configuration done. AadInstance=&quot; + _aadInstance + &quot; and Tenant=&quot; + _tenant);&#xA;    }&#xA;&#xA;    private void ConfigureSsoAuthentication(IAppBuilder app)&#xA;    {&#xA;        // After successful sign-in in SSO, the redirect back to this web site will use the cookie authentication middleware to contain the obtained id_token.&#xA;        app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType);&#xA;        app.UseCookieAuthentication(new CookieAuthenticationOptions()&#xA;        {&#xA;            CookieName = SsoConfiguration.SsoCookieName,&#xA;            CookiePath = _ssoAuthenticationRootPath, // Scope cookies to the authentication root path in order to avoid having the cookie included in every normal request.&#xA;            TicketDataFormat = new TicketDataFormat(new MachineKeyProtector()) // In order to be able to decrypt the authentication ticket stored in the cookie later on, we use protection based on the machine key.&#xA;        });&#xA;&#xA;        List&amp;lt;B2CConfig&amp;gt; ssoSettings = _ssoConfigurationRepository.GetAllSettings();&#xA;&#xA;        foreach (var config in ssoSettings)&#xA;        {&#xA;            app.UseOpenIdConnectAuthentication(CreateOptionsFromSiteConfig(config));&#xA;        }&#xA;    }&#xA;&#xA;    private OpenIdConnectAuthenticationOptions CreateOptionsFromSiteConfig(B2CConfig config)&#xA;    {&#xA;        OpenIdConnectAuthenticationOptions options = new OpenIdConnectAuthenticationOptions();&#xA;&#xA;        // For each policy, give OWIN the policy-specific metadata address, and&#xA;        // set the authentication type to the id of the policy&#xA;        options.MetadataAddress = string.Format(_aadInstance, _tenant, config.Policy);&#xA;        options.AuthenticationType = config.Policy;&#xA;&#xA;        options.RedirectUri = config.AzureReplyUri;&#xA;        options.PostLogoutRedirectUri = config.RedirectAfterLogoutUri;&#xA;&#xA;        options.Notifications = new OpenIdConnectAuthenticationNotifications()&#xA;        {&#xA;            AuthenticationFailed = AuthenticationFailed,&#xA;            RedirectToIdentityProvider = notification =&amp;gt;&#xA;            {&#xA;                return Task.FromResult(notification.ProtocolMessage.UiLocales = config.UiLocale ?? string.Empty);&#xA;            },&#xA;            SecurityTokenValidated = notification =&amp;gt;&#xA;            {&#xA;                notification.AuthenticationTicket.Identity.AddClaim(new Claim(&quot;idp&quot;, &quot;azureb2cad&quot;));&#xA;                return Task.FromResult(0);&#xA;            }&#xA;        };&#xA;&#xA;        // These are standard OpenID Connect parameters, with values pulled from web.config&#xA;        options.ClientId = config.ClientId;&#xA;        //http://openid.net/specs/openid-connect-core-1_0.html#AuthRequest&#xA;        options.Scope = &quot;openid&quot;;&#xA;        //http://openid.net/specs/openid-connect-core-1_0.html#Authentication&#xA;        options.ResponseType = &quot;id_token&quot;;&#xA;&#xA;        return options;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Catch any failures received by the authentication middleware and handle appropriately&#xA;    /// ref - https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/active-directory-b2c/active-directory-b2c-devquickstarts-web-dotnet-susi.md&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;notification&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;    private Task AuthenticationFailed(AuthenticationFailedNotification&amp;lt;OpenIdConnectMessage, OpenIdConnectAuthenticationOptions&amp;gt; notification)&#xA;    {&#xA;        notification.HandleResponse();&#xA;&#xA;        // Handle the error code that Azure AD B2C throws when trying to reset a password from the login page&#xA;        // because password reset is not supported by a &quot;sign-up or sign-in policy&quot;&#xA;        if (notification.ProtocolMessage.ErrorDescription != null &amp;amp;&amp;amp; notification.ProtocolMessage.ErrorDescription.Contains(&quot;AADB2C90118&quot;))&#xA;        {&#xA;            SsoLogger.Warn(&quot;User triggered reset password&quot;);&#xA;            notification.Response.Redirect(SsoConfiguration.Routes.ResetPassword);&#xA;        }&#xA;        else if (notification.Exception.Message == &quot;access_denied&quot;)&#xA;        {&#xA;            notification.Response.Redirect(&quot;/&quot;);&#xA;        }&#xA;        else&#xA;        {&#xA;            SsoLogger.Warn(&quot;AuthenticationFailed&quot;, notification.Exception);&#xA;            notification.Response.Redirect(SsoConfiguration.Routes.LoginError);&#xA;        }&#xA;&#xA;        return Task.FromResult(0);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I am seeing these errors in the error-log, after my enduser logs in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;25072 16:04:18 ERROR Unable to find &quot;idp&quot; claim in the identity. Make sure that &quot;Sitecore.Owin.Authentication.Services.SetIdpClaimTransform&quot; or analogue is used in claim transformations of all identity providers.&#xA;Exception: System.InvalidOperationException&#xA;Message: Unable to find &quot;idp&quot; claim in the identity. Make sure that &quot;Sitecore.Owin.Authentication.Services.SetIdpClaimTransform&quot; or analogue is used in claim transformations of all identity providers.&#xA;Source: Sitecore.Owin.Authentication&#xA;   at Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.CheckIdentityProvider.Process(ValidateIdentityArgs args)&#xA; at (Object , Object )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What am I missing? How do I add the &quot;idp&quot; claim to my users? I already tried to add it in my Azure policy (&quot;Identity provider claim).&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="3416" LastEditDate="2019-05-09T17:00:32.103" LastActivityDate="2019-05-09T17:00:32.103" Title="Azure AD B2C login for endusers" Tags="|authentication|login|azure-ad|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18405" PostTypeId="2" ParentId="18403" CreationDate="2019-04-30T14:26:47.323" Score="1" Body="&lt;p&gt;The query would not work on Sitecore 9.1 initial version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use somethings like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query{&#xA;  search(keyword:&quot;smart&quot; fieldsEqual:[{name:&quot;_fullpath&quot;, value:&quot;/sitecore/content/*&quot; }]){&#xA;    results{&#xA;      totalCount&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is necessary to have a fieldsEqual. fixed in JSS 11.0.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below \App_Config\Sitecore\Services.GraphQL you can found a sample GraphQL endpoint which suits your version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For local development you can use this config patch to fix the Authentication, for Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateSiteNeutralPaths, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;siteNeutralPaths hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;!-- Adjust the path to your endpoint --&amp;gt;&#xA;            &amp;lt;path hint=&quot;grapql&quot;&amp;gt;/sitecore/api/graph/items/&amp;lt;/path&amp;gt;&#xA;          &amp;lt;/siteNeutralPaths&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-05-01T07:14:27.260" LastActivityDate="2019-05-01T07:14:27.260" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18411" PostTypeId="1" CreationDate="2019-04-30T15:25:34.483" Score="2" ViewCount="55" Body="&lt;p&gt;It seems that SitecoreUTSessionBuilder make async calls, and controller rendering can't have async calls in them.  Am I misunderstanding something?  Is there a way to use the SDK from Sitecore?&#xA;Thank you&lt;/p&gt;&#xA;" OwnerUserId="5461" LastEditorUserId="73" LastEditDate="2019-04-30T15:50:19.440" LastActivityDate="2019-04-30T15:50:19.440" Title="Is there a way to use the Universal Tracker SDK from a controller rendering?" Tags="|tracking|universal-tracker|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18412" PostTypeId="2" ParentId="18389" CreationDate="2019-04-30T16:06:31.357" Score="0" Body="&lt;p&gt;This doesn't answer the question, but might help someone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instead of trying to use a Device, we wrote a short Layout Service extender to add a flag to the Sitecore Context. We found the process easier to reason about, and imagine others might as well.&lt;/p&gt;&#xA;" OwnerUserId="5305" LastActivityDate="2019-04-30T16:06:31.357" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18413" PostTypeId="1" CreationDate="2019-04-30T18:55:18.963" Score="2" ViewCount="728" Body="&lt;p&gt;We’ve configured Sitecore schedule task, which runs at every 1 hour. The schedule task is running fine after deployment/web app restart but after sometime it’s not working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We’ve verified below points:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Database agent is configured for the master database (yes, it’s)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Pipelines.Loader.InitializeScheduler&lt;/code&gt; pipeline processor isn’t deleted with custom patch file (no, it’s not)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;INFO&lt;/code&gt; entries for the &lt;strong&gt;Scheduler - Adding agents&lt;/strong&gt; in the Sitecore log file (yes, it’s)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Application pool&lt;/code&gt; not cycled down (no, it’s not. Checked Sitecore logs and verified the &lt;code&gt;keepalive.aspx&lt;/code&gt; url hitting at the specified interval (10 minutes) by UrlAgent)&lt;/li&gt;&#xA;&lt;li&gt;Verified the Sitecore schedule task’s schedule value (it’s 20160101|99990101|127|01:00:00)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Additional Notes:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &lt;code&gt;Async&lt;/code&gt; is checked and the Schedule task is taking 5-7 minutes to complete (referred &lt;a href=&quot;https://sitecorebasics.wordpress.com/2014/09/16/do-you-know-why-you-check-async-checkbox-while-configuring-scheduled-task/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorebasics.wordpress.com/2014/09/16/do-you-know-why-you-check-async-checkbox-while-configuring-scheduled-task/&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Verified the Sitecore logs and found &lt;strong&gt;Starting: Import Data&lt;/strong&gt; and &lt;strong&gt;Starting: Import Data&lt;/strong&gt; entries (the &lt;strong&gt;Last run&lt;/strong&gt; field value is updating but actual code isn't executing and there isn't any error in the logs, the same schedule task is working on the XP Standalone environment)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Version: Sitecore 9.0-update-2&lt;/li&gt;&#xA;&lt;li&gt;Topology: XP-Scaled&lt;/li&gt;&#xA;&lt;li&gt;Deployment Environment: Azure&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Can anyone please help me?&lt;/p&gt;&#xA;" OwnerUserId="479" LastEditorUserId="479" LastEditDate="2019-06-28T13:21:54.787" LastActivityDate="2019-06-28T13:21:54.787" Title="Sitecore schedule task not running on the XP scaled environment (CM server)" Tags="|azure|scheduled-tasks|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18414" PostTypeId="1" AcceptedAnswerId="18415" CreationDate="2019-04-30T19:27:45.110" Score="0" ViewCount="127" Body="&lt;p&gt;I want to be able to add a JSS component to a placeholder in the Experience Editor by creating a new content item, but after I select the rendering I do not see the &lt;code&gt;Create&lt;/code&gt; or &lt;code&gt;Copy To&lt;/code&gt; links. I am only able to select pre-existing data items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't think it's a permissions issue: I am using EE as admin so I have full access. I found another question on here that pointed to the renderings not having their &lt;code&gt;Datasource Template&lt;/code&gt; or &lt;code&gt;Datasource Location&lt;/code&gt; correctly set, but mine are set properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is in Sitecore 9.1. I have this same JSS app deployed to another environment running Sitecore 9.0 and I see the links there. I haven't been able to get it working since moving to 9.1 but I'm not sure how to diagnose.&lt;/p&gt;&#xA;" OwnerUserId="4991" LastActivityDate="2019-04-30T19:42:45.610" Title="Why do I not see Create / Copy To links in the Experience Editor?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18415" PostTypeId="2" ParentId="18414" CreationDate="2019-04-30T19:42:45.610" Score="1" Body="&lt;p&gt;As far as I know, those links are SXA-specific features. While they might show up when adding JSS components in a Sitecore environment that has both SXA and JSS installed, it's not expected that they'll function as expected. &lt;/p&gt;&#xA;" OwnerUserId="319" LastActivityDate="2019-04-30T19:42:45.610" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18418" PostTypeId="2" ParentId="18404" CreationDate="2019-04-30T20:11:53.767" Score="2" Body="&lt;p&gt;From what I can see, you are probably using Sitecore 9.0 or 9.1. Based on that assumption, your implementation is not correct. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 9.0 and 9.1, you should used federated authentication to let endusers login. We use the &lt;a href=&quot;https://openid.net/connect/&quot; rel=&quot;nofollow noreferrer&quot;&gt;OpenID Connect protocol&lt;/a&gt; and WSFed to connect external identity providers to Sitecore. From what I understand, that is the same thing that you try to achieve.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With Azure AD B2C you could easily &lt;a href=&quot;https://docs.microsoft.com/en-US/azure/active-directory-b2c/active-directory-b2c-reference-oidc&quot; rel=&quot;nofollow noreferrer&quot;&gt;use the OIDC protocol&lt;/a&gt;, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 9.0, you basically have to create a new IdentityProvider processor, which basically adds the suitable Owin middleware to the OWIN pipeline. In my blog I described &lt;a href=&quot;https://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/&quot; rel=&quot;nofollow noreferrer&quot;&gt;how to do this&lt;/a&gt;. It's making use of virtual Sitecore users, so they are &lt;em&gt;not&lt;/em&gt; persisted&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With SItecore 9.1 you have two options: use the out of the box identity provider, based on &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-identity.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;identity server 4&lt;/a&gt; in which you could configure the Azure AD B2C connection (based on OIDC, again), or you could choose to ditch that provider and go for a native implementation, following the guidelines for Sitecore 9.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your error, btw, is probably due to the fact that the claimset isn't correctly transformed, which measn that the IDP is not added to the cookie. That cookie contains an encrypted claimset, which gets decrypted every request, to retrieve the identity from it.&lt;/p&gt;&#xA;" OwnerUserId="71" LastActivityDate="2019-04-30T20:11:53.767" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18420" PostTypeId="2" ParentId="18383" CreationDate="2019-05-01T03:31:47.770" Score="2" Body="&lt;p&gt;When you are attaching the pdf/any media stream the below processors are getting executed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;attachFile argsType=&quot;Sitecore.Pipelines.Attach.AttachArgs&quot;&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.Attach.CheckSize,Sitecore.Kernel&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.Attach.UpdatePath,Sitecore.Kernel&quot;/&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Pipelines.Attach.Save,Sitecore.Kernel&quot;/&amp;gt;&#xA;&amp;lt;/attachFile&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;UpdatePath processor &lt;strong&gt;checks &quot;File Path&quot; field&lt;/strong&gt; of the media item and &lt;strong&gt;if it is empty/null then it attaches the file to the DB instead of File system&lt;/strong&gt; i guess; regardless of &quot;UploadAsFiles&quot; setting true/false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using the &quot;&lt;strong&gt;Versioned&lt;/strong&gt;&quot; templates [ex - /sitecore/templates/System/Media/Versioned/Pdf] and &lt;strong&gt;Workflow enabled&lt;/strong&gt; then you may not see this scenario. Because your initial version will be having the &quot;File Path&quot; value and the &quot;File Path&quot; is not a shared field in versioned templates, so when you detach and attach the file in further versions [2/3/etc.] will be saved in file system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using the &quot;Unversioned&quot; templates [ex - /sitecore/templates/System/Media/Unversioned/Pdf] &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;(I guess by default this will be used when your&#xA;  &quot;Media.UploadAsVersionableByDefault&quot; setting is false in your config&#xA;  or you don't check the &quot;Make uploaded media items versionable&quot; while&#xA;  uploading the file)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;then the initial file upload stores the file in file system but the further detach and attach is getting stored in DB. Because the detach is clearing the &quot;File Path&quot; and it's a shared field in UnVersioned templates, so when attaching the file again is not updating the File Path. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a workaround i guess we can just attach the file without detaching it. [I don't see any issues attaching the file without detaching it]. But when we create a media item using any template [ex -  /sitecore/templates/System/Media/Unversioned/Pdf] instead of upload as a file and try to attach the file in media field then that is not getting saved in DB. [even if &quot;UploadAsFiles&quot; as &quot;True&quot;]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure whether the workaround makes sense for requirement, you can even consider replacing the default attach processors or inject your custom code but &lt;strong&gt;I would recommend you to reach out to Sitecore to check whether they have a patch/fix for this.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-05-01T03:38:49.587" LastActivityDate="2019-05-01T03:38:49.587" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18427" PostTypeId="2" ParentId="18368" CreationDate="2019-05-01T10:52:22.097" Score="4" Body="&lt;p&gt;I gone through into the greater details of the issue and found the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I replaced the configuration for Idp Claim transformation from &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;transformation name=&quot;Idp Claim&quot; ref=&quot;federatedAuthentication/sharedTransformations/setIdpClaim&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;transformation name=&quot;Idp Claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.SetIdpClaimTransform, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This resolved my issue.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastActivityDate="2019-05-01T10:52:22.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18429" PostTypeId="1" AcceptedAnswerId="18431" CreationDate="2019-05-01T11:07:26.150" Score="1" ViewCount="170" Body="&lt;p&gt;How can I add a patch file for Rainbow.Config? Is there a naming convention that I need to follow?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to modify below setting, but don't want to change the main Rainbow.Config file. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Rainbow.SFS.SerializationFolderPathMaxLength&quot; value=&quot;150&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="4420" LastEditorUserId="73" LastEditDate="2019-05-01T14:02:22.633" LastActivityDate="2019-05-02T05:42:00.890" Title="Creating a patch config file for Rainbow.SFS.SerializationFolderPathMaxLength" Tags="|unicorn|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18430" PostTypeId="2" ParentId="18429" CreationDate="2019-05-01T11:39:52.027" Score="-1" Body="&lt;p&gt;Write your patch file as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;settings&amp;gt;&#xA;           &amp;lt;setting name=&quot;Rainbow.SFS.SerializationFolderPathMaxLength&quot; set:value=&quot;150&quot; /&amp;gt;&#xA;       &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When you will publish your patch file it will update the value. You can check in showconfig.aspx. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-05-02T05:42:00.890" LastActivityDate="2019-05-02T05:42:00.890" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18431" PostTypeId="2" ParentId="18429" CreationDate="2019-05-01T12:00:41.120" Score="5" Body="&lt;p&gt;Create a patch file; &lt;code&gt;z.Rainbow.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;settings&amp;gt;&#xA;        &amp;lt;setting name=&quot;Rainbow.SFS.SerializationFolderPathMaxLength&quot; set:value=&quot;150&quot; /&amp;gt;&#xA;      &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-05-01T13:51:08.803" LastActivityDate="2019-05-01T13:51:08.803" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18432" PostTypeId="2" ParentId="18429" CreationDate="2019-05-01T12:42:40.937" Score="-2" Body="&lt;p&gt;Sitecore Patch functionality can resolve your problem. Patch file will replace your setting. Below are the example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Rainbow.SFS.SerializationFolderPathMaxLength&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;150&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find more detail here&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/configuration-patch-file-examples.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Patch&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-05-02T04:29:56.917" LastActivityDate="2019-05-02T04:29:56.917" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18433" PostTypeId="2" ParentId="18347" CreationDate="2019-05-01T13:53:58.877" Score="4" Body="&lt;ul&gt;&#xA;&lt;li&gt;delete the existing tickets (note that this step will logout the users):&#xA;DELETE&#xA;FROM [YourCoreDatabase].[dbo].[Properties]&#xA;WHERE [Key] LIKE 'CORE_SC_TICKET_%'&lt;/li&gt;&#xA;&lt;li&gt;add the above setting&#xA;setting name=&quot;Security.ShareAuthenticationTicket&quot; value=&quot;true&quot;/&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3698" LastActivityDate="2019-05-01T13:53:58.877" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18435" PostTypeId="2" ParentId="7651" CreationDate="2019-05-01T14:35:50.507" Score="1" Body="&lt;p&gt;For anyone else getting here because of the same or similar issue with a list item and &quot;Selecting Sitecore item&quot;-query not working correctly in WFFM, here is the &quot;raw value&quot; to use in a list item's &lt;code&gt;Localized Parameters&lt;/code&gt;-field for custom &lt;code&gt;Value:&lt;/code&gt; and &lt;code&gt;Text:&lt;/code&gt; field references:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Items&amp;gt;%3cquery+t%3d%22root%22+vf%3d%22FIELDNAME-FOR-VALUE%22+tf%3d%22FIELDNAME-FOR-TEXT%22%3e%3cvalue%3e%7bROOT-ITEM-ID%7d%3c%2fvalue%3e%3c%2fquery%3e&amp;lt;/Items&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For example, referring to the original question here, the following raw value string would work as &lt;code&gt;Localized Parameters&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Items&amp;gt;%3cquery+t%3d%22root%22+vf%3d%22Country%20Code%22+tf%3d%22__Item%20Name%22%3e%3cvalue%3e%7b99999999-9999-9999-9999-999999999999%7d%3c%2fvalue%3e%3c%2fquery%3e&amp;lt;/Items&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1083" LastActivityDate="2019-05-01T14:35:50.507" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18436" PostTypeId="1" AcceptedAnswerId="18467" CreationDate="2019-05-01T15:41:18.557" Score="4" ViewCount="618" Body="&lt;p&gt;Upgraded from 7.2 to 9.0.2 and experienced pages are loading slow comparatively. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;During performance testing used DynaTrace and observed that VisitorIdentification() is taking more than 60% of the time while a page is loading. Analyzing how the Robot Detection is configured. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did anyone experienced this, What could be the possible root causes for the slowness?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any inputs/hints are greatly appreciated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Pv7U9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Pv7U9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2019-05-01T16:17:09.277" LastActivityDate="2019-05-02T20:31:04.780" Title="VisitorIdentification() is impacting page load time" Tags="|performance-optimization|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18437" PostTypeId="1" AcceptedAnswerId="18438" CreationDate="2019-05-01T16:02:24.490" Score="3" ViewCount="1879" Body="&lt;p&gt;I'm seeing failure to connect logs for all solr cores they all have problem accessing &lt;code&gt;/solr//admin/cores&lt;/code&gt;. reason not found. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the thing the &lt;code&gt;/solr//admin/cores&lt;/code&gt; page doesn't exists while the &lt;code&gt;/solr/admin/cores&lt;/code&gt; page does. I'm trying to establish why it is attempting to connect to this double forward slash url, as well as looking to see where can I change this url.&lt;/p&gt;&#xA;" OwnerUserId="5474" LastEditorUserId="73" LastEditDate="2019-05-02T10:53:33.187" LastActivityDate="2019-05-02T10:53:33.187" Title="sitecore solr Problem accessing /solr//admin/cores" Tags="|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18438" PostTypeId="2" ParentId="18437" CreationDate="2019-05-01T17:15:27.890" Score="1" Body="&lt;p&gt;Thank you jrap you were right in the defaultIndexConfiguration.config the &lt;code&gt;ContentSearch.Solr.ServiceBaseAddress&lt;/code&gt; was &lt;a href=&quot;https://localhost:8983/solr/#&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/#&lt;/a&gt; updated it to &lt;a href=&quot;https://localhost:8983/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr&lt;/a&gt; and all is well in sitecore land&lt;/p&gt;&#xA;" OwnerUserId="5474" LastEditorUserId="70" LastEditDate="2019-05-01T17:23:36.720" LastActivityDate="2019-05-01T17:23:36.720" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18439" PostTypeId="2" ParentId="18340" CreationDate="2019-05-01T19:09:41.353" Score="0" Body="&lt;p&gt;Figured out the issue. The file paths to the serialized files were too long, and Unicorn was skipping them on sync. Shortening the checkout directory resolved the issue.&lt;/p&gt;&#xA;" OwnerUserId="4157" LastActivityDate="2019-05-01T19:09:41.353" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18441" PostTypeId="1" AcceptedAnswerId="18444" CreationDate="2019-05-01T20:35:53.270" Score="6" ViewCount="584" Body="&lt;p&gt;I'm able to add a launchpad button that opens the content editor, but what I would like to do is to open the content editor so that it's context is within a specific folder - so the user doesn't see anything but items in that folder.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not that, then simply opening it so that the user at least sees that folder prominently so they don't need to hunt for it - the folder is in the media library and will contain training documents we are preparing that will help them maneuver the CMS.&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="70" LastEditDate="2019-05-01T21:00:48.217" LastActivityDate="2019-05-01T21:00:48.217" Title="Create a launchpad button that opens the content and makes the current context a specific folder" Tags="|content-editor|launchpad|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18442" PostTypeId="1" AcceptedAnswerId="18592" CreationDate="2019-05-01T20:36:29.537" Score="1" ViewCount="410" Body="&lt;p&gt;My team is running into a very confusing error where our 404 pages are throwing 500 errors, but only when the &lt;strong&gt;Languages.AlwaysStripLanguage&lt;/strong&gt; configuration setting is set to &quot;false&quot;. When we remove the following, the 404's work; navigating to &lt;strong&gt;ACME.com/qwerty&lt;/strong&gt; delivers content from &lt;strong&gt;ACME.com/404&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;    &amp;lt;setting name=&quot;Languages.AlwaysStripLanguage&quot; value=&quot;false&quot; /&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Oddly enough, when we add it back in, they still continue working for a time... and then eventually begin throwing 500's again. A bit of digging also revealed that what seems to be happening is that when you navigate to &lt;strong&gt;ACME.com/qwerty&lt;/strong&gt; the website properly pursues a 404, but then gets caught in an infinite loop trying to load &lt;strong&gt;ACME.com/en/404&lt;/strong&gt;. At least, according to the Failed Request Tracing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, we need the &lt;strong&gt;Languages.AlwaysStripLanguage&lt;/strong&gt; setting in place. Primarily because our website needs to work as such:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;(en-US Content) ACME.com&lt;/li&gt;&#xA;&lt;li&gt;(en-CA Content) ACME.ca &lt;/li&gt;&#xA;&lt;li&gt;(fr-CA Content) ACME.ca/fr &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Our custom 404 logic came from the John Rappel article: &lt;a href=&quot;https://www.geekhive.com/buzz/post/2017/07/a-complete-guide-to-configuring-friendly-error-pages-in-sitecore-part-1-404-pages/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.geekhive.com/buzz/post/2017/07/a-complete-guide-to-configuring-friendly-error-pages-in-sitecore-part-1-404-pages/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately, the infinite loop seems to be happening because of this line from the &lt;strong&gt;Set404StatusCode&lt;/strong&gt; class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpContext.Current.Response.StatusCode = (int)HttpStatusCode.NotFound;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where during this situation (and only this situation) this line throws an error stating that the status code can't be changed after it has been set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else run into problems running John Rappel's 404 code alongside setting &lt;strong&gt;Languages.AlwaysStripLanguage&lt;/strong&gt; to false?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something very obvious? &#xA;Is there anything else I can provide to be more helpful?&lt;/p&gt;&#xA;" OwnerUserId="4799" LastActivityDate="2019-05-09T21:47:24.557" Title="How to support custom 404 Pages while keeping Languages.AlwaysStripLanguage set to false" Tags="|multilingual|error-handling|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18443" PostTypeId="1" CreationDate="2019-05-01T20:37:21.220" Score="1" ViewCount="197" Body="&lt;p&gt;I have an Event firing on item:saved, that ends up modifying some fields on &lt;strong&gt;the same&lt;/strong&gt; item being saved. This of course is not immediately reflected on the Sitecore interface, causing a misleading message if the Content Editor performs further changes and then saving again. In the worst case scenario, a second save would overwrite the effects of the event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to force the values of the item currently being viewed to refresh following my changes?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-05-01T20:37:21.220" Title="How to programmatically refresh a Sitecore screen?" Tags="|experience-editor|events|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18444" PostTypeId="2" ParentId="18441" CreationDate="2019-05-01T20:47:44.127" Score="7" Body="&lt;p&gt;The query string parameter you want is called &lt;code&gt;ro&lt;/code&gt;. If you click on the &lt;code&gt;Media Library&lt;/code&gt; folder you will see that it uses that param to scope the content editor like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;https://mysitecore.local/sitecore/shell/Applications/Content%20Manager/Default.aspx?mo&amp;amp;ro=/sitecore/media%20library&amp;amp;he=Media%20Library&amp;amp;ic=Apps/32x32/Pictures.png&amp;amp;pa=1&amp;amp;pa0=sitecore%3A%2F%2Fmaster%2F%7BECB7C485-63A6-4627-9DD9-D9FDA86D9DB5%7D%3Flang%3Den%26ver%3D1&amp;amp;pa1&amp;amp;sc_bw=1&amp;amp;la=en&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see in the above url that the &lt;code&gt;ro&lt;/code&gt; parameter is set like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ro=/sitecore/media%20library&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Changing that to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ro=/sitecore/media%20library/Project&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now scopes the Content Editor to the &lt;code&gt;Media Library/Project&lt;/code&gt; folder just as you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XXsDJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XXsDJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Adding this to the Launch Pad&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Now you can use this to add an icon in the launch pad:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Open up the Desktop and change to the &lt;code&gt;core&lt;/code&gt; database&lt;/li&gt;&#xA;&lt;li&gt;Open the Content Editor and go to: &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons&lt;/code&gt; and then pick one of the sections (&lt;code&gt;LaunchPad-Group&lt;/code&gt; template items) to add your button too&lt;/li&gt;&#xA;&lt;li&gt;I'll pick &lt;code&gt;Tools&lt;/code&gt; - insert a new &lt;code&gt;LaunchPad-Button&lt;/code&gt; item, and for the &lt;code&gt;Link&lt;/code&gt; field, add the link from above with the &lt;code&gt;ro&lt;/code&gt; parameter set to the item you want to scope the user too.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EGitF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EGitF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-05-01T20:53:10.473" LastActivityDate="2019-05-01T20:53:10.473" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18445" PostTypeId="2" ParentId="18441" CreationDate="2019-05-01T20:51:19.277" Score="5" Body="&lt;p&gt;I may have found a way for you to do this with some trial and error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First step was to get the path executed by the desktop shortcuts. Once I discovered that I was able to create the following in the Core db:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to &lt;code&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;Create a new Launchpad-Group&lt;/li&gt;&#xA;&lt;li&gt;Create a new Launchpad-Button&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Enter the link to the item in question&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PfsKF.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PfsKF.png&quot; alt=&quot;Button&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the link used:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/shell/Applications/Content Editor.aspx?sc_bw=1&amp;amp;id=%7B66FD3C09-517C-4691-82AF-E300AC6BA329%7D&amp;amp;amp;vs=1&amp;amp;amp;la=en&amp;amp;amp;sc_content=master&amp;amp;amp;fo=%7B66FD3C09-517C-4691-82AF-E300AC6BA329%7D&amp;amp;amp;ic=Apps%2F48x48%2FPencil.png&amp;amp;amp;he=Content%20Editor&amp;amp;amp;cl=0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With some trial this appeared to work as well:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/shell/Applications/Content Editor.aspx?sc_bw=1&amp;amp;fo={66FD3C09-517C-4691-82AF-E300AC6BA329}&amp;amp;ro={66FD3C09-517C-4691-82AF-E300AC6BA329}&amp;amp;sc_content=master&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;fo&lt;/em&gt; is the ID of the item to open&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;ro&lt;/em&gt; is for the reference item in the tree&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Vqlsn.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Vqlsn.png&quot; alt=&quot;Icon&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-05-01T20:56:24.860" LastActivityDate="2019-05-01T20:56:24.860" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18447" PostTypeId="2" ParentId="17808" CreationDate="2019-05-02T10:25:01.927" Score="0" Body="&lt;p&gt;We need to create custom control then we can pre-fill/databind our &lt;code&gt;WFFM&lt;/code&gt; form. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here we are adding custom &lt;code&gt;SingleLineTextField&lt;/code&gt;. Below are steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Create custom control designer class, where we can add our custom property&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace xxx.Foundation.Forms.WFFM&#xA;{&#xA;    [Designer(&quot;System.Windows.Forms.Design.ParentControlDesigner, System.Design&quot;, typeof(IDesigner))]&#xA;    public class CustomTextBox : RegexInputControl&#xA;    {&#xA;        private static readonly string baseCssClassName = &quot;scfSingleLineTextBorder&quot;;&#xA;&#xA;        [VisualCategory(&quot;Custom Properties&quot;)]&#xA;        [VisualProperty(&quot;Identifier&quot;, 2)]&#xA;        [DefaultValue(&quot;&quot;)]&#xA;        public string Identifier { get; set; }&#xA;&#xA;        [VisualCategory(&quot;Validation&quot;), VisualProperty(&quot;Minimum Length:&quot;, 1000), DefaultValue(0)]&#xA;        public int MinLength&#xA;        {&#xA;            get;&#xA;            set;&#xA;        }&#xA;&#xA;        [VisualProperty(&quot;Maximum Length:&quot;, 2000)]&#xA;        [DefaultValue(256)]&#xA;        [VisualCategory(&quot;Validation&quot;)]&#xA;        public int MaxLength&#xA;        {&#xA;            get&#xA;            {&#xA;                return this.textbox.MaxLength;&#xA;            }&#xA;            set&#xA;            {&#xA;                this.textbox.MaxLength = value;&#xA;            }&#xA;        }&#xA;&#xA;        [VisualProperty(&quot;CSS Class:&quot;, 600)]&#xA;        [VisualFieldType(typeof(CssClassField))]&#xA;        [DefaultValue(&quot;scfSingleLineTextBorder&quot;)]&#xA;        public new string CssClass&#xA;        {&#xA;            get&#xA;            {&#xA;                return base.CssClass;&#xA;            }&#xA;            set&#xA;            {&#xA;                base.CssClass = value;&#xA;            }&#xA;        }&#xA;&#xA;        public CustomTextBox(HtmlTextWriterTag tag): base(tag)&#xA;        {&#xA;            this.MaxLength = 256;&#xA;            this.MinLength = 0;&#xA;            this.CssClass = CustomTextBox.baseCssClassName;&#xA;        }&#xA;&#xA;        public CustomTextBox(): this(HtmlTextWriterTag.Div)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void OnInit(EventArgs e)&#xA;        {&#xA;            this.textbox.CssClass = &quot;scfSingleLineTextBox&quot;;&#xA;            this.help.CssClass = &quot;scfSingleLineTextUsefulInfo&quot;;&#xA;            this.generalPanel.CssClass = &quot;scfSingleLineGeneralPanel&quot;;&#xA;            this.title.CssClass = &quot;scfSingleLineTextLabel&quot;;&#xA;            this.textbox.TextMode = TextBoxMode.SingleLine;&#xA;            this.Controls.AddAt(0, (Control)this.generalPanel);&#xA;            this.Controls.AddAt(0, (Control)this.title);&#xA;            this.generalPanel.Controls.AddAt(0, (Control)this.help);&#xA;            this.generalPanel.Controls.AddAt(0, (Control)this.textbox);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Create &lt;code&gt;MVC Type&lt;/code&gt; class to data-bind custom control. Here we can apply our binding logic.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace xxx.Foundation.Forms.WFFM&#xA;    {&#xA;        public class CustomTextBoxMVC : SingleLineTextField&#xA;        {&#xA;            public CustomTextBoxMVC()&#xA;            {&#xA;&#xA;            }&#xA;&#xA;            public override void Initialize()&#xA;            {&#xA;                //Here can do data-bind &#xA;                this.Value = &quot;My Value&quot;;&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3) Go to below path and add new field type. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Custom/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here in this example we are adding CustomTextBox. Specified &lt;code&gt;Assembly,Class,MVC Type&lt;/code&gt; field under Data section. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fORUH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fORUH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) &lt;code&gt;WFFM&lt;/code&gt; form designer choose newly created custom control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I8iiL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I8iiL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-05-02T10:25:01.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18448" PostTypeId="1" CreationDate="2019-05-02T10:52:22.183" Score="1" ViewCount="48" Body="&lt;p&gt;We are using the Sitecore 8.2 update 3 version with &lt;code&gt;MongoDB&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The data is being captured in the &lt;code&gt;MongoDB&lt;/code&gt; but &lt;code&gt;Fact_Conversions&lt;/code&gt; table  has no data.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;What actually is to be done to have data in this table.&lt;/li&gt;&#xA;&lt;li&gt;Also, I see that the data in reporting DB is populated with a latency of 24 &#xA;hours. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is there any way we can see it populated immediately?&lt;/p&gt;&#xA;" OwnerUserId="1545" LastEditorUserId="5096" LastEditDate="2019-05-03T09:38:13.200" LastActivityDate="2019-05-03T09:38:13.200" Title="Sitecore 8.2 update 3 mongodb conversion into sql server reporting db" Tags="|mongodb|sql-database|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18449" PostTypeId="1" CreationDate="2019-05-02T11:22:32.093" Score="2" ViewCount="635" Body="&lt;p&gt;We have this api that is creating and publishing item programmatically. (This item is created under a bucket folder). I've checked the logs and noticed that in between the process, our index are being update repeatedly. Why?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;7164 12:05:27 INFO  Item Import Process for Id 947302701 - Started&#xA;7164 12:05:27 INFO  Getting source items for Availability field - Started&#xA;7164 12:05:27 INFO  Getting source items for Availability field - Completed&#xA;7164 12:05:27 INFO  Getting existing item for Id: 947302701 - Started&#xA;7164 12:05:27 INFO  Getting existing item for Id: 947302701 - Completed&#xA;7164 12:05:27 INFO  Creating new item for language en and Id 947302701 - Started&#xA;ManagedPoolThread #6 12:05:27 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;ManagedPoolThread #6 12:05:27 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;ManagedPoolThread #7 12:05:27 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;ManagedPoolThread #5 12:05:27 INFO  Job started: Index_Update_IndexName=sitecore_marketing_asset_index_master&#xA;ManagedPoolThread #12 12:05:27 INFO  Job started: Index_Update_IndexName=sitecore_testing_index&#xA;ManagedPoolThread #2 12:05:27 INFO  Job started: Index_Update_IndexName=sitecore_fxm_master_index&#xA;ManagedPoolThread #9 12:05:27 INFO  Job started: Index_Update_IndexName=sitecore_list_index&#xA;ManagedPoolThread #18 12:05:27 INFO  Job started: Index_Update_IndexName=social_messages_master&#xA;ManagedPoolThread #12 12:05:27 INFO  Job ended: Index_Update_IndexName=sitecore_testing_index (units processed: )&#xA;ManagedPoolThread #7 12:05:27 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;ManagedPoolThread #2 12:05:27 INFO  Job ended: Index_Update_IndexName=sitecore_fxm_master_index (units processed: )&#xA;ManagedPoolThread #9 12:05:28 INFO  Job ended: Index_Update_IndexName=sitecore_list_index (units processed: )&#xA;ManagedPoolThread #18 12:05:28 INFO  Job ended: Index_Update_IndexName=social_messages_master (units processed: )&#xA;ManagedPoolThread #5 12:05:28 INFO  Job ended: Index_Update_IndexName=sitecore_marketing_asset_index_master (units processed: )&#xA;ManagedPoolThread #15 12:05:28 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;ManagedPoolThread #15 12:05:28 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;ManagedPoolThread #8 12:05:28 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;7164 12:05:28 INFO  Editing item for language en and Id 947302701 - Started&#xA;7164 12:05:28 INFO  Manage Tag field  - Started&#xA;7164 12:05:28 INFO  Manage Tag field  - Completed&#xA;7164 12:05:28 INFO  Manage Availability field  - Started&#xA;7164 12:05:28 INFO  Manage Availability field  - Completed&#xA;7164 12:05:28 INFO  Publishing item for language en and Id 947302701 - Started&#xA;ManagedPoolThread #10 12:05:28 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;ManagedPoolThread #10 12:05:28 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;ManagedPoolThread #10 12:05:28 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;ManagedPoolThread #10 12:05:28 INFO  Job started: Index_Update_IndexName=sitecore_master_index&#xA;ManagedPoolThread #10 12:05:29 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )&#xA;7164 12:05:29 INFO  Publishing item for language en and Id 947302701 - Completed&#xA;7164 12:05:29 INFO  News Import Process for Id 947302701 - Completed&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The start of said api process begins to the first line: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Item Import Process for Id 947302701 - Started&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when I created the item for english translation, the index update kicks in:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Creating new item for language en and Id 947302701 - Started&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But as you can see index are being repeated. I'll take sitecore_master_index as an example. It started on &lt;code&gt;ManagedPoolThread #6&lt;/code&gt;, though it ended as expected it started again at &lt;code&gt;ManagedPoolThread #7&lt;/code&gt; and so on...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the possible problem?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="4986" LastActivityDate="2024-02-03T17:03:45.443" Title="Index update process are running repeatedly in same index" Tags="|sitecore-api|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18450" PostTypeId="1" CreationDate="2019-05-02T12:10:21.430" Score="2" ViewCount="936" Body="&lt;p&gt;I have been trying to create a variant of Tab component, where I can insert additional placeholder for it. But there isn't an folder for variants of the &lt;code&gt;Tab&lt;/code&gt; component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible and if so, how do we create variants for composite renderings like the Tab control?&lt;/p&gt;&#xA;" OwnerUserId="1263" LastEditorUserId="70" LastEditDate="2019-05-02T13:41:49.357" LastActivityDate="2019-05-02T13:48:05.063" Title="How to create a variant of a composite rendering?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18451" PostTypeId="1" CreationDate="2019-05-02T12:20:37.450" Score="2" ViewCount="72" Body="&lt;p&gt;I have created one goal and I set rule as &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;trigger when the page name as my item name.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Process that I followed.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I have published that goal item.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I have added the goal to the page item.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I have run the page in published version of the site.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Then I noticed sitecore analytics tab did not show the created goals and triggered goals.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Do I missed any steps?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to enable anonymous contacts ?&lt;/p&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="4765" LastEditDate="2019-05-15T13:05:50.993" LastActivityDate="2019-05-15T13:05:50.993" Title="Triggered Goals not displayed in sitecore analytics tab" Tags="|goals|" AnswerCount="0" CommentCount="4" ClosedDate="2019-05-02T12:28:52.537" ContentLicense="CC BY-SA 4.0" />
  <row Id="18453" PostTypeId="2" ParentId="18450" CreationDate="2019-05-02T13:34:44.267" Score="4" Body="&lt;p&gt;So this in an interesting question, because the &lt;code&gt;Tab&lt;/code&gt; control doesn't have a direct rendering variant. If we look at the razor for the tab control, you can see that the markup is defined for you (I have only included the relevant parts for space):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;tabs-inner&quot;&amp;gt;&#xA;    @if (!Model.TabsOnBottom)&#xA;    {&#xA;        &amp;lt;ul class=&quot;tabs-heading&quot;&amp;gt;&#xA;            @{ Html.RenderPartial(&quot;TabsHeading&quot;, Model); }&#xA;        &amp;lt;/ul&amp;gt;&#xA;        &amp;lt;div class=&quot;tabs-container&quot;&amp;gt;&#xA;            @{ Html.RenderPartial(&quot;TabsContent&quot;, Model); }&#xA;        &amp;lt;/div&amp;gt;&#xA;    }&#xA;    else&#xA;    {&#xA;        &amp;lt;div class=&quot;tabs-container&quot;&amp;gt;&#xA;            @{ Html.RenderPartial(&quot;TabsContent&quot;, Model); }&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;ul class=&quot;tabs-heading&quot;&amp;gt;&#xA;            @{ Html.RenderPartial(&quot;TabsHeading&quot;, Model); }&#xA;        &amp;lt;/ul&amp;gt;&#xA;&#xA;    }&#xA;&amp;lt;/div&amp;gt;    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If we look at the &lt;code&gt;TabsContent&lt;/code&gt; partial, again, the markup is defined for you as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;tab&quot;&amp;gt;&#xA;    @using (Html.Sxa().BeginEditFrame(composite.Value.ID.ToString(), &quot;Tabs&quot;, Model.IsControlEditable))&#xA;    {&#xA;        @Html.Sitecore().Placeholder(contentKey)&#xA;    }&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So really, there is nothing to &quot;variant&quot; in there.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;So what about the content of the tab?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To find out how the content is added to the tab, you need to look at the standard values of the &lt;code&gt;Tab Item&lt;/code&gt; template &lt;code&gt;/sitecore/templates/Feature/Experience Accelerator/Composites/Datasource/Tabs/Tab Item/__Standard Values&lt;/code&gt; and checkout the Presentation on there. You will see 2 &lt;code&gt;Page Content&lt;/code&gt; components added. The one I &lt;em&gt;think&lt;/em&gt; you want is using a special variant called &lt;code&gt;Content&lt;/code&gt; which is located here: &lt;code&gt;/sitecore/system/Settings/Foundation/Experience Accelerator/Rendering Variants/Rendering Variants/Page Content/Content&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Adding a new Variant&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;So now we know that, adding a new variant for the Tab Content is pretty simple. You just create a new variant of the &lt;code&gt;Page Content&lt;/code&gt; component in your site. For my demo site that is located here: &lt;code&gt;/sitecore/content/ScNutsAndBolts/Agency/Presentation/Rendering Variants/Page Content&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will be in a similar place for your site, just change the Tenant and Site names. Once you add that, you will be able to select the variant for each of the tabs content area's&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Thats a pain, how to make it the default&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you want to make it the default variant, you have 2 options.  &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Change the std values of the OOTB component. For obvious reasons, don't do this. &lt;/li&gt;&#xA;&lt;li&gt;Clone the component and set the std values on the clone. This is a much better option, BUT, to get it to work, you will have to do some manual editing of the Renderings field or create your variant in the same location as the OOTB variants, set the std values and then move your variant into a better location for your project.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you do the second option, remember to store the new variant in a similar place to the OOTB variants: &lt;code&gt;/sitecore/system/Settings/Foundation/Experience Accelerator/Rendering Variants/Rendering Variants/Page Content&lt;/code&gt; - this is to keep the multi-tenant/multi-site support. If you add the default variant to a site, then other sites that use the &lt;code&gt;Tab&lt;/code&gt; control will have a dependency on that first site.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;What about the other composite components?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The other composites, work in a similar way. The &lt;code&gt;Carousel&lt;/code&gt; &amp;amp; &lt;code&gt;Accordion&lt;/code&gt; also use the &lt;code&gt;Page Content&lt;/code&gt; component for content and the variants are in the same place as the &lt;code&gt;Tab&lt;/code&gt; component. Creating variants for those would just follow the same pattern.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-05-02T13:48:05.063" LastActivityDate="2019-05-02T13:48:05.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18455" PostTypeId="2" ParentId="17837" CreationDate="2019-05-02T14:00:14.800" Score="3" Body="&lt;p&gt;I Managed to Fix this issue , the appropriate Sit template location for the site should set &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the '/sitecore/content/{Tenant}/{Tenant Site}/Settings' item.&lt;/li&gt;&#xA;&lt;li&gt;Choose 'Project/{Appropriate Tenant}' as a value for the 'Templates location' field in the 'Site Configuration' section.&lt;/li&gt;&#xA;&lt;li&gt;Save the item.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3355" LastActivityDate="2019-05-02T14:00:14.800" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18456" PostTypeId="1" AcceptedAnswerId="18470" CreationDate="2019-05-02T14:16:23.807" Score="1" ViewCount="320" Body="&lt;p&gt;I am trying to create a page design with a header, footer, and three containers in the &quot;main&quot; section for different kinds of content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd like to somehow label these placeholders so that it's immediately obvious to the &lt;code&gt;Content Editor&lt;/code&gt; what each section is for. I am almost certain I had done this before when I was experimenting, but nothing I try seems to be working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CHLcl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CHLcl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to create new &lt;code&gt;Placeholder Settings&lt;/code&gt; for each section in the hope that the name of the Placeholder Settings would rename that section, but that did not work (I thought this was how I'd done it in the past).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems as if the label is based off of &lt;code&gt;placeholder key&lt;/code&gt;, but I'm not sure how to change that - and even if I could, I have a feeling that I shouldn't - but maybe I can assign a display name to the placeholder key?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA 1.8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1.1&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;EDIT: Here is a video of the process that I am following when I attempt to do this, as per Peter's answer, could this be a bug? &lt;a href=&quot;https://www.youtube.com/watch?v=XJZzfrAzPA8&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=XJZzfrAzPA8&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4487" LastEditorUserId="4487" LastEditDate="2019-05-03T11:59:07.247" LastActivityDate="2019-05-03T11:59:07.247" Title="Custom Placeholder Labels" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18457" PostTypeId="1" CreationDate="2019-05-02T14:41:37.840" Score="0" ViewCount="323" Body="&lt;p&gt;Our application is on Sitecore 9.0.2 with SXA 1.8 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a module to list all office locations , each location would have a location detail page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each location detail page should contain a Map with office location coordinates plotted on the map&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To achieve this &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;we have created a partial design with map a few other components &lt;/li&gt;&#xA;&lt;li&gt;Assigned this partial design to a Page design&lt;/li&gt;&#xA;&lt;li&gt;Created a Page and added below templates to the page &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wbd2x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wbd2x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Associated the Created Page design to the newly created Page &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Added Coordinate details to the page &#xA;&lt;a href=&quot;https://i.stack.imgur.com/FKITc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FKITc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;But These Co ordinates are not plotted on the page :(&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ROEEu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ROEEu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am i Missing Anything? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Expected Behavior : when a content author populates the coordinates on the page , the map should plot those coordinates as POI&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried adding Current Page to POI , the map is not plotting the co ordinates &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vsDz5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vsDz5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/LGWau.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LGWau.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="73" LastEditDate="2019-05-03T12:56:14.900" LastActivityDate="2019-10-07T23:00:55.130" Title="Set Current Page as Datasource for Maps rendering" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18458" PostTypeId="1" AcceptedAnswerId="18459" CreationDate="2019-05-02T14:55:09.870" Score="2" ViewCount="145" Body="&lt;p&gt;When trying to install &lt;strong&gt;Sitecore 9.1 on Azure PaaS&lt;/strong&gt;, I face the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Add-AzureRMAccount : The term 'Add-AzureRMAccount' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and&#xA;try again.&#xA;At D:\Installing Sitecore 9 in Azure PaaS\DeploySitecore9XPScaled.ps1:15 char:1&#xA;+ Add-AzureRMAccount&#xA;+ ~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ObjectNotFound: (Add-AzureRMAccount:String) [], CommandNotFoundException&#xA;    + FullyQualifiedErrorId : CommandNotFoundException&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have no experience with deploying Sitecore in Azure, so I'm kinda lost with this issue.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-02T14:55:09.870" Title="Error when Installing Sitecore 9.1 on Azure PaaS" Tags="|azure|sitecore-install-framework|installation|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18459" PostTypeId="2" ParentId="18458" CreationDate="2019-05-02T14:55:09.870" Score="5" Body="&lt;p&gt;So after investigation, it looks like I need to install Azure RM as a pre-requisite in order to be able to deploy Sitecore to Azure properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just run those two following commands and everything it's gonna be alright.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module AzureRM &#xA;Import-Module AzureRM&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-02T14:55:09.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18460" PostTypeId="1" CreationDate="2019-05-02T15:14:19.533" Score="2" ViewCount="234" Body="&lt;p&gt;I am trying to configure azure search in Sitecore. I followed &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/configure-azure-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; to configure it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I try to rebuild the indexes, the number of units processed is empty and the indexes are not reflecting in azure portal. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added the below connection string in ConnectionString.config file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;cloud.search&quot; connectionString=&quot;serviceUrl= https://XXXXsearchindex.search.windows.net;apiVersion=2017-11-11;apiKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and have updated the web.config file like below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;search:define&quot; value=&quot;Azure&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On rebuilding the indexes no units are processed&#xA;&lt;a href=&quot;https://i.stack.imgur.com/uPMzX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uPMzX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After making the configuration changes the site was taking long time to load, so I did an &lt;code&gt;iisreset&lt;/code&gt;, but this shouldn't impact the indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing anything?&lt;/p&gt;&#xA;" OwnerUserId="5030" LastEditorUserId="70" LastEditDate="2019-05-02T16:50:15.737" LastActivityDate="2019-06-24T02:00:05.267" Title="Azure Search Indexes are not being added/populated" Tags="|azure|indexing|azure-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18461" PostTypeId="1" CreationDate="2019-05-02T15:32:26.533" Score="0" ViewCount="871" Body="&lt;p&gt;I am trying to install Sitecore 9.1 update 1 on my local window 10 Machine, &#xA;But I am getting the below error during the PowerShell installation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Install-SitecoreConfiguration : Unable to parse [ResolveCertificatePath(variable('XConnectSolr_Security.XConnect.CertificatePath'))] - &#xA;Exception calling &quot;Evaluate&quot; with &quot;2&quot; argument(s): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; &#xA;or common parameter is set to Stop: &#xA;Unable to parse [joinpath(variable('XConnectSolr_Security.CertificateStore'), &#xA;variable('XConnectSolr_Security.XConnect.CertificateThumbprint'))] - Exception calling &quot;Evaluate&quot; with &quot;2&quot; argument(s): &quot;The running &#xA;command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: &#xA;Unable to parse &#xA;[GetCertificateThumbprint(parameter('XConnectSolr_XConnectCert'), variable('XConnectSolr_Security.CertificateStore'))] - Exception &#xA;calling &quot;InvokeWithContext&quot; with &quot;2&quot; argument(s): &quot;Cannot bind argument to parameter 'Id' because it is an empty string.&quot;&quot;&quot;&#xA;At C:\Ashish\Sitecore\Software\Sitecore911\Install_new_instance.ps1:77 char:1&#xA;+ Install-SitecoreConfiguration @singleDeveloperParams *&gt;&amp;1 | Tee-Objec ...&#xA;&#xA; &lt;/pre&gt;&#xA;" OwnerUserId="690" LastEditorUserId="70" LastEditDate="2019-05-02T16:54:31.800" LastActivityDate="2019-05-02T18:29:01.607" Title="Sitecore 9.1 Update 1 Installation Error" Tags="|sitecore-client|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18462" PostTypeId="2" ParentId="18457" CreationDate="2019-05-02T16:45:40.687" Score="1" Body="&lt;p&gt;Map rendering from SXA has its own data source and can't point to a page. But you can turn on any page to be Point of Interest by adding &lt;code&gt;IPoi&lt;/code&gt; base template. This template is located here: &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Geospatial/IPoi&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After doing this your page will have the following section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l8Jfd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l8Jfd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like I mentioned in the first sentence - it won't work when you will point page as a data source for the Map. This rendering is expecting a different data source. What is more, it is not how PoIs (Points of Interests) works in SXA. You can display dynamic PoIs or static ones. Dynamic ones come from search - that is not a case here. You can also select some static ones (take a look &lt;a href=&quot;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/the-map-rendering-fields.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;) and I think it is what are you looking for. But the problem is that you can select static PoIs from a different location (from under the Data item).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do here is to switch to RAW values and put ID of your page to the POI field in the Map rendering data source item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/a83xd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/a83xd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was not testing it but it should work and solve your problem.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-05-10T20:50:54.100" LastActivityDate="2019-05-10T20:50:54.100" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18463" PostTypeId="1" CreationDate="2019-05-02T17:30:58.413" Score="-1" ViewCount="170" Body="&lt;p&gt;I have created a separate publishing target (Production). I have created a separate index for this database (&lt;code&gt;sitecore_prod_index&lt;/code&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I rebuild my index, and it returns results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I rebuild again, no results. I can browse the index in azure and see that my results are there, but my code calling search does not return results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I rebuild a third time and I get results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Its like one of the rebuild indexes doesn't work, but the other does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm performing a search like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = SiteSearchIndex.CreateSearchContext())&#xA;{&#xA;    var results = context.GetQueryable&amp;lt;MySearchResultModel&amp;gt;()&#xA;      .Where(x =&amp;gt; x.Paths.Contains(MyItemRoot.ID) &amp;amp;&amp;amp; x.TemplateId == DetailPageConstants.TemplateId).GetResults();&#xA;&#xA;    if (results.TotalSearchResults &amp;gt; 0)&#xA;    {&#xA;         return results.Hits.Select(q =&amp;gt; q.Document).ToList();&#xA;    }&#xA;&#xA;    return null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;SiteSearchContext is an &lt;code&gt;ISearchIndex&lt;/code&gt; and it know which index to call (&lt;code&gt;sitecore_web_index&lt;/code&gt; or &lt;code&gt;sitecore_prod_index&lt;/code&gt;) based on a &lt;code&gt;appsettings&lt;/code&gt; in the &lt;code&gt;web config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var searchIndexName = $&quot;sitecore_{Context?.SitecoreService?.Database?.Name}_index&quot;;&#xA;var configuredIndexName = ConfigurationManager.AppSettings[&quot;SearchIndexName&quot;];&#xA;if (!string.IsNullOrEmpty(configuredIndexName))&#xA;{&#xA;    searchIndexName = configuredIndexName;&#xA;}&#xA;&#xA;SiteSearchIndex = ContentSearchManager.GetIndex(searchIndexName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="341" LastEditorUserId="73" LastEditDate="2019-06-08T13:49:41.733" LastActivityDate="2019-06-08T13:49:41.733" Title="Azure Search SwitchOnRebuild returns no results" Tags="|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18464" PostTypeId="1" AcceptedAnswerId="18471" CreationDate="2019-05-02T18:00:36.300" Score="3" ViewCount="277" Body="&lt;p&gt;I have set permissions to users on the Sitecore &lt;code&gt;security editor&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All those User permissions get over written on &lt;code&gt;Unicorn Sync&lt;/code&gt; during deployments &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cZYwL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cZYwL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I Understand that security is controlled at Item level , Is there a way to ignore  only the security field of all items during &lt;code&gt;Unicorn Sync&lt;/code&gt; , so that they are not controlled by &lt;code&gt;yaml&lt;/code&gt; file but through the &lt;code&gt;security editor&lt;/code&gt; in Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest the common practice solve this problem. &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="5096" LastEditDate="2019-05-03T07:13:15.990" LastActivityDate="2019-11-27T12:14:17.923" Title="Sitecore User Permission gets over written on deployment and Unicorn Sync" Tags="|sitecore-client|unicorn|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18465" PostTypeId="2" ParentId="18461" CreationDate="2019-05-02T18:29:01.607" Score="1" Body="&lt;p&gt;Make sure you are using the right SIF version, which in this case is 2.0.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following command will show you your current version:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Command -Module SitecoreInstallFramework | Select-Object -Property name, version&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you are still using &lt;strong&gt;SIF 1.2.1&lt;/strong&gt; you just need to upgrade it using the following commands:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;To list all installed SIF versions&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-InstalledModule -Name SitecoreInstallFramework -AllVersions&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;If you already have SIF 2.0.0 installed, you just need to set it as the current used version&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Remove-Module -Name SitecoreInstallFramework&#xA;Import-Module -Name SitecoreInstallFramework -RequiredVersion 2.0.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;If you don't have SIF 2.0.0, then you must install it&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.0.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-02T18:29:01.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18466" PostTypeId="1" CreationDate="2019-05-02T19:17:35.560" Score="2" ViewCount="979" Body="&lt;p&gt;I have an environment running in Azure PaaS using Sitecore 9.1 (initial release), and after a while I couldn't sign in to the CM anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EzSm6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EzSm6.png&quot; alt=&quot;Invalid Username or password&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I decide to restart the App Service, and once SI back up, the CM was able to handle my account and allowed me to sign in again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SI logs shows the following but unfortunately it does not lead to anywhere&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;2019-05-01T14:09:54.6906645+00:00 [DBG] (Sitecore STS/RD00155D474051) IsActive called from: &quot;UserInfoRequestValidation&quot;&#xA;2019-05-01T14:09:54.7012805+00:00 [DBG] (Sitecore STS/RD00155D474051) Creating userinfo response&#xA;2019-05-01T14:09:54.7168138+00:00 [DBG] (Sitecore STS/RD00155D474051) Scopes in access token: &quot;openid sitecore.profile&quot;&#xA;2019-05-01T14:09:54.7210291+00:00 [DBG] (Sitecore STS/RD00155D474051) Scopes in access token: &quot;openid sitecore.profile&quot;&#xA;2019-05-01T14:09:54.7279337+00:00 [DBG] (Sitecore STS/RD00155D474051) Requested claim types: &quot;sub name email role http://www.sitecore.net/identity/claims/isAdmin http://www.sitecore.net/identity/claims/originalIssuer&quot;&#xA;2019-05-01T14:09:54.7296263+00:00 [DBG] (Sitecore STS/RD00155D474051) Scopes in access token: &quot;openid sitecore.profile&quot;&#xA;2019-05-01T14:09:54.7310852+00:00 [DBG] (Sitecore STS/RD00155D474051) Get profile called for subject &quot;0eGDss7ipEMQPH3TLHo5GzoRSyYU3VQpmumHxGOu4OI&quot; from client &quot;Sitecore&quot; with claim types [&quot;sub&quot;, &quot;name&quot;, &quot;email&quot;, &quot;role&quot;, &quot;http://www.sitecore.net/identity/claims/isAdmin&quot;, &quot;http://www.sitecore.net/identity/claims/originalIssuer&quot;] via &quot;UserInfoEndpoint&quot;&#xA;2019-05-01T14:09:54.7351295+00:00 [DBG] (Sitecore STS/RD00155D474051) Untransformed claims: [&quot;aio&quot;, &quot;http://schemas.microsoft.com/claims/authnmethodsreferences&quot;, &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname&quot;, &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;groups&quot;, &quot;name&quot;, &quot;http://schemas.microsoft.com/identity/claims/objectidentifier&quot;, &quot;onprem_sid&quot;, &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier&quot;, &quot;http://schemas.microsoft.com/identity/claims/tenantid&quot;, &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name&quot;, &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn&quot;, &quot;uti&quot;, &quot;http://www.sitecore.net/identity/claims/originalIssuer&quot;, &quot;idp&quot;]&#xA;2019-05-01T14:09:54.8023645+00:00 [DBG] (Sitecore STS/RD00155D474051) Issued claims: [&quot;name&quot;, &quot;http://www.sitecore.net/identity/claims/originalIssuer&quot;, &quot;email&quot;]&#xA;2019-05-01T14:09:54.8035940+00:00 [INF] (Sitecore STS/RD00155D474051) Profile service returned to the following claim types: &quot;name http://www.sitecore.net/identity/claims/originalIssuer email&quot;&#xA;2019-05-01T14:09:54.8048942+00:00 [DBG] (Sitecore STS/RD00155D474051) End userinfo request&#xA;2019-05-01T14:09:54.8087227+00:00 [DBG] (Sitecore STS/RD00155D474051) Connection id &quot;&quot;0HLME0D4ISLCE&quot;&quot; completed keep alive response.&#xA;2019-05-01T14:09:54.8099743+00:00 [INF] (Sitecore STS/RD00155D474051) Request finished in 205.7899ms 200 application/json; charset=UTF-8&#xA;2019-05-01T14:09:56.0776989+00:00 [INF] (Sitecore STS/RD00155D474051) Request starting HTTP/1.1 GET http://qa-si.domain.com/connect/authorize?client_id=Sitecore&amp;response_mode=form_post&amp;response_type=code%20id_token%20token&amp;scope=openid%20sitecore.profile&amp;state=OpenIdConnect.AuthenticationProperties%3DeDjL-7xv-jugI8khJK3fVTFoglOOwYauZRQvlDf9TdddYvm_AY8mHBAsBzt0AJyHgu_zBmsfrjlr0rzaSwzoteW2ulL0h909umY5-6vUdr_62eFQYjjguKiCHdmszuUs9hDqZoT0PRI4hEnDsdPwKUV-dF-LZ9AtGsMWaz4SlVEpqCMmmk8T2zqU1KGiSXpScfns4YxuTNGFPx9IBapEJg&amp;nonce=636923165960371377.YmEzMDIxMDgtYmFlMC00ZGU5LTkzOTQtOGI3NWFiMzY4NjJkNTcxYTI5MGUtMzQ0My00YTcwLThkZWUtOTU5OTdjZGVhZjUw&amp;redirect_uri=https%3A%2F%2Fqacm.domain.com%2Fidentity%2Fsignin&amp;sc_account_prefix=sitecore%5C&amp;prompt=login&amp;sc_message=You%20do%20not%20have%20access%20to%20the%20system.%20If%20you%20think%20this%20is%20wrong%2C%20please%20contact%20the%20system%20administrator.&amp;x-client-SKU=ID_NET451&amp;x-client-ver=5.2.2.0  &#xA;2019-05-01T14:09:56.0801569+00:00 [DBG] (Sitecore STS/RD00155D474051) AuthenticationScheme: &quot;idsrv&quot; was successfully authenticated.&#xA;2019-05-01T14:09:56.0812324+00:00 [DBG] (Sitecore STS/RD00155D474051) AuthenticationScheme: &quot;idsrv&quot; was successfully authenticated.&#xA;2019-05-01T14:09:56.0822691+00:00 [DBG] (Sitecore STS/RD00155D474051) Request path &quot;/connect/authorize&quot; matched to endpoint type &quot;Authorize&quot;&#xA;2019-05-01T14:09:56.0891315+00:00 [DBG] (Sitecore STS/RD00155D474051) Endpoint enabled: &quot;Authorize&quot;, successfully created handler: &quot;IdentityServer4.Endpoints.AuthorizeEndpoint&quot;&#xA;2019-05-01T14:09:56.0901824+00:00 [INF] (Sitecore STS/RD00155D474051) Invoking IdentityServer endpoint: &quot;IdentityServer4.Endpoints.AuthorizeEndpoint&quot; for &quot;/connect/authorize&quot;&#xA;2019-05-01T14:09:56.0912454+00:00 [DBG] (Sitecore STS/RD00155D474051) Start authorize request&#xA;2019-05-01T14:09:56.0924935+00:00 [DBG] (Sitecore STS/RD00155D474051) User in authorize request: &quot;0eGDss7ipEMQPH3TLHo5GzoRSyYU3VQpmumHxGOu4OI&quot;&#xA;2019-05-01T14:09:56.0986399+00:00 [DBG] (Sitecore STS/RD00155D474051) Start authorize request protocol validation&#xA;2019-05-01T14:09:56.1000479+00:00 [DBG] (Sitecore STS/RD00155D474051) client configuration validation for client &quot;Sitecore&quot; succeeded.&#xA;2019-05-01T14:09:56.1012558+00:00 [DBG] (Sitecore STS/RD00155D474051) Checking for PKCE parameters&#xA;2019-05-01T14:09:56.1025272+00:00 [DBG] (Sitecore STS/RD00155D474051) No PKCE used.&#xA;2019-05-01T14:09:56.1043570+00:00 [DBG] (Sitecore STS/RD00155D474051) Calling into custom validator: &quot;IdentityServer4.Validation.DefaultCustomAuthorizeRequestValidator&quot;&#xA;2019-05-01T14:09:56.1085712+00:00 [INF] (Sitecore STS/RD00155D474051) ValidatedAuthorizeRequest&#xA;&quot;{&#xA;  \&quot;ClientId\&quot;: \&quot;Sitecore\&quot;,&#xA;  \&quot;ClientName\&quot;: \&quot;Sitecore\&quot;,&#xA;  \&quot;RedirectUri\&quot;: \&quot;https://qacm.domain.com/identity/signin\&quot;,&#xA;  \&quot;AllowedRedirectUris\&quot;: [&#xA;    \&quot;{AllowedCorsOrigin}/identity/signin\&quot;,&#xA;    \&quot;{AllowedCorsOrigin}/signin-oidc\&quot;&#xA;  ],&#xA;  \&quot;SubjectId\&quot;: \&quot;0eGDss7ipEMQPH3TLHo5GzoRSyYU3VQpmumHxGOu4OI\&quot;,&#xA;  \&quot;ResponseType\&quot;: \&quot;code id_token token\&quot;,&#xA;  \&quot;ResponseMode\&quot;: \&quot;form_post\&quot;,&#xA;  \&quot;GrantType\&quot;: \&quot;hybrid\&quot;,&#xA;  \&quot;RequestedScopes\&quot;: \&quot;openid sitecore.profile\&quot;,&#xA;  \&quot;State\&quot;: \&quot;OpenIdConnect.AuthenticationProperties=eDjL-7xv-jugI8khJK3fVTFoglOOwYauZRQvlDf9TdddYvm_AY8mHBAsBzt0AJyHgu_zBmsfrjlr0rzaSwzoteW2ulL0h909umY5-6vUdr_62eFQYjjguKiCHdmszuUs9hDqZoT0PRI4hEnDsdPwKUV-dF-LZ9AtGsMWaz4SlVEpqCMmmk8T2zqU1KGiSXpScfns4YxuTNGFPx9IBapEJg\&quot;,&#xA;  \&quot;Nonce\&quot;: \&quot;636923165960371377.YmEzMDIxMDgtYmFlMC00ZGU5LTkzOTQtOGI3NWFiMzY4NjJkNTcxYTI5MGUtMzQ0My00YTcwLThkZWUtOTU5OTdjZGVhZjUw\&quot;,&#xA;  \&quot;PromptMode\&quot;: \&quot;login\&quot;,&#xA;  \&quot;SessionId\&quot;: \&quot;68da5dbc3fed75c40faeedaf67166d32\&quot;,&#xA;  \&quot;Raw\&quot;: {&#xA;    \&quot;client_id\&quot;: \&quot;Sitecore\&quot;,&#xA;    \&quot;response_mode\&quot;: \&quot;form_post\&quot;,&#xA;    \&quot;response_type\&quot;: \&quot;code id_token token\&quot;,&#xA;    \&quot;scope\&quot;: \&quot;openid sitecore.profile\&quot;,&#xA;    \&quot;state\&quot;: \&quot;OpenIdConnect.AuthenticationProperties=eDjL-7xv-jugI8khJK3fVTFoglOOwYauZRQvlDf9TdddYvm_AY8mHBAsBzt0AJyHgu_zBmsfrjlr0rzaSwzoteW2ulL0h909umY5-6vUdr_62eFQYjjguKiCHdmszuUs9hDqZoT0PRI4hEnDsdPwKUV-dF-LZ9AtGsMWaz4SlVEpqCMmmk8T2zqU1KGiSXpScfns4YxuTNGFPx9IBapEJg\&quot;,&#xA;    \&quot;nonce\&quot;: \&quot;636923165960371377.YmEzMDIxMDgtYmFlMC00ZGU5LTkzOTQtOGI3NWFiMzY4NjJkNTcxYTI5MGUtMzQ0My00YTcwLThkZWUtOTU5OTdjZGVhZjUw\&quot;,&#xA;    \&quot;redirect_uri\&quot;: \&quot;https://qacm.domain.com/identity/signin\&quot;,&#xA;    \&quot;sc_account_prefix\&quot;: \&quot;sitecore\\\&quot;,&#xA;    \&quot;prompt\&quot;: \&quot;login\&quot;,&#xA;    \&quot;sc_message\&quot;: \&quot;You do not have access to the system. If you think this is wrong, please contact the system administrator.\&quot;,&#xA;    \&quot;x-client-SKU\&quot;: \&quot;ID_NET451\&quot;,&#xA;    \&quot;x-client-ver\&quot;: \&quot;5.2.2.0\&quot;&#xA;  }&#xA;}&quot;&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="393" LastEditorUserId="393" LastEditDate="2019-05-03T11:42:00.753" LastActivityDate="2019-05-03T11:42:00.753" Title="Sitecore Identity Server failing to access CM" Tags="|paas|identity-server|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18467" PostTypeId="2" ParentId="18436" CreationDate="2019-05-02T20:31:04.780" Score="1" Body="&lt;p&gt;When we analyzed further using DynaTrace we figured out that function &lt;code&gt;GetVPathBuildResult(System.Web.HttpContext, System.Web.VirtualPath, boolean, boolean, boolean, boolean)&lt;/code&gt; was throwing the exception below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;d:\inetpub\wwwroot\SiteName\layouts\System\VisitorIdentification.ascx(8): &#xA;error CS0117: 'Sitecore.Analytics.Tracker' does not contain a definition for 'Visitor'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This was alarming for us cause it was looking for &lt;code&gt;Visitor&lt;/code&gt; rather &lt;code&gt;Contact&lt;/code&gt;. Then we compared the files related to &lt;code&gt;VisitorIdentification&lt;/code&gt; under &lt;code&gt;.\layouts\System\&lt;/code&gt; and figured out that the upgrade process dint replace the latest files for 9.0.2. These were still 7.2 files which were looking for 'Visitor'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Replaced the files with latest version and time duration for calling that function dropped from 6+ seconds to 0.2 Seconds.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2019-05-02T20:31:04.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18468" PostTypeId="1" AcceptedAnswerId="18469" CreationDate="2019-05-02T22:12:42.697" Score="1" ViewCount="144" Body="&lt;p&gt;I created a new section and a custom button, however for admins, this is now causing horizontal scrolling on smaller screens.  The Content Editing section has two rows of three buttons each and then a final row of one button.  I'm wondering if there's a way for me to force that section to only display rows of two buttons each, so that I'd have more horizontal space for the new section and button?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2021-04-12T13:44:02.403" Title="Too many buttons causing horizontal scrolling in Launchpad" Tags="|launchpad|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18469" PostTypeId="2" ParentId="18468" CreationDate="2019-05-03T02:32:32.877" Score="6" Body="&lt;p&gt;Look for the item &amp;quot;&lt;strong&gt;ContentEditing&lt;/strong&gt;&amp;quot; in &lt;strong&gt;Core DB&lt;/strong&gt; &lt;strong&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons/ContentEditing&lt;/strong&gt; the number of icons/applications to be displayed in each row is specified in this item's &lt;strong&gt;RowsNumber&lt;/strong&gt; field.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;You can control the number of items in each row for other groups as&#xA;well, I mean Marketing Applications, Access Management, etc.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;For example - If you update the &amp;quot;RowsNumber&amp;quot; field as 2 below, I guess this might be 3 in your instance.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/crl0U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/crl0U.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Then your launchpad will be updated as below to display 2 items per row in the Content Editing group.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mdNwX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mdNwX.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In Sitecore 8.2, it doesn't contain the &amp;quot;RowsNumber&amp;quot; logic, so navigate to the launchpad application view, &lt;strong&gt;.\Website\sitecore\shell\client\Applications\LaunchPad\Layouts\Renderings\LaunchBar.cshtml&lt;/strong&gt; and the logic might be common for all the groups including &amp;quot;Content Editing&amp;quot;. So if you want to customize for any group then you can add a custom field in Sitecore item [I mean in ContentEditing item], get the value, and write your logic [actually this is implemented out-of-box in newer versions of Sitecore]. Or you can statically set the count as 2 for your ContentEditing group alone.&#xA;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4050" LastEditDate="2021-04-12T13:44:02.403" LastActivityDate="2021-04-12T13:44:02.403" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18470" PostTypeId="2" ParentId="18456" CreationDate="2019-05-03T05:39:42.090" Score="2" Body="&lt;p&gt;When you add Container to your page or Partial Design, it will look like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NWjf1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NWjf1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click inside of container to configure container inside:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TRpUP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TRpUP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click on the &lt;code&gt;Edit&lt;/code&gt; button (1). In wizard, click &lt;code&gt;Create New Settings&lt;/code&gt; (2), specify custom name (3) and choose where you would like to create these settings (4). If you choose &lt;code&gt;Data&lt;/code&gt;, Placeholder Settings will be created locally under Data item under current item. If you choose Placeholder Settings, it will be created under current site.&#xA;Specify &lt;code&gt;Allowed controls / renderings&lt;/code&gt; if you wish (6) by hitting &lt;code&gt;Edit&lt;/code&gt; button (5).&#xA;If you wish to limit components that are allowed in that Container, this is the way to go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/caus2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/caus2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And Container / Placeholder has custom name now :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DqWT3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DqWT3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-05-03T05:39:42.090" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18471" PostTypeId="2" ParentId="18464" CreationDate="2019-05-03T07:25:37.313" Score="3" Body="&lt;p&gt;There is a exclude field filter for these purposes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Usage:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration name=&quot;ExcludeConfig&quot; description=&quot;Exclude configuration for excluding the Security field&quot;&amp;gt;                      &#xA;    &amp;lt;fieldFilter type=&quot;Rainbow.Filtering.ConfigurationFieldFilter, Rainbow&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;        &amp;lt;exclude fieldID=&quot;{DEC8D2D5-E3CF-48B6-A653-8E69E2716641}&quot; note=&quot;'Security' field on Standard Template&quot; /&amp;gt;&#xA;    &amp;lt;/fieldFilter&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-05-03T07:25:37.313" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18473" PostTypeId="1" CreationDate="2019-05-03T09:31:05.780" Score="0" ViewCount="228" Body="&lt;p&gt;in every article and documentation I can see they are using for one facet type one (default) facet key.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MyCustomFacet facet = new MyCustomFacet();&#xA;var facetReference = new FacetReference(contact, MyCustomFacet.DefaultFacetKey);&#xA;client.SetFacet(facetReference, facet);&#xA;client.Submit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Can I have&lt;/strong&gt; (for this example) &lt;strong&gt;several 'MyCustomFacet' types under different facet keys?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MyCustomFacet facetA = new MyCustomFacet();&#xA;var facetReferenceA = new FacetReference(contact, &quot;MyCustomFacetKeyA&quot;);&#xA;client.SetFacet(facetReferenceA, facetA);&#xA;&#xA;MyCustomFacet facetB = new MyCustomFacet();&#xA;var facetReferenceB = new FacetReference(contact, &quot;MyCustomFacetKeyB&quot;);&#xA;client.SetFacet(facetReferenceB, facetB);&#xA;&#xA;MyCustomFacet facetC = new MyCustomFacet();&#xA;var facetReferenceC = new FacetReference(contact, &quot;MyCustomFacetKeyC&quot;);&#xA;client.SetFacet(facetReferenceC, facetC);&#xA;&#xA;client.Submit(); // Exception &quot;Unknown facet 'MyCustomFacetKeyA' for Contact&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am asking because it's not working for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lukas&lt;/p&gt;&#xA;" OwnerUserId="1750" LastActivityDate="2019-05-04T08:04:58.843" Title="Can I have multiple the same facet types with different facet keys?" Tags="|xconnect|sitecore-api|contact-facets|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18475" PostTypeId="1" CreationDate="2019-05-03T11:15:45.837" Score="5" ViewCount="264" Body="&lt;p&gt;I've created a script to aid editors publishing components on a page, and I've added it to the &lt;code&gt;content editor&lt;/code&gt; item context menu, but I can't work out how to add a button to do the same from the &lt;code&gt;experience editor&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added an integration point following the &quot;&lt;strong&gt;Experience button&lt;/strong&gt;&quot; example here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/modules/integration-points/page-editor&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/modules/integration-points/page-editor&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this adds a button to the floating menu you see when clicking on a component (I'm not sure what this is called - it has the component architecture tree navigation button, component &lt;code&gt;datasource&lt;/code&gt; button, personalization etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I'm trying to achieve is a button in the &lt;code&gt;Experience Editor&lt;/code&gt; Home ribbon, preferably in the &lt;code&gt;Publish chunk&lt;/code&gt;. Is there an integration point to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore PowerShell Extensions 5.0.0.42513&#xA;Sitecore 8.2&#xA;Windows PowerShell 5.1&lt;/p&gt;&#xA;" OwnerUserId="345" LastEditorUserId="5096" LastEditDate="2019-05-03T16:52:39.627" LastActivityDate="2023-07-24T06:56:35.467" Title="How to add experience editor button with Sitecore Powershell?" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18477" PostTypeId="2" ParentId="18473" CreationDate="2019-05-03T12:20:36.710" Score="1" Body="&lt;p&gt;Yes, you can have several 'MyCustomFacet' types under different facet keys. Can you please try like this, it will work for you:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; MyCustomFacet facetA = contact.GetFacet&amp;lt;MyCustomFacet&amp;gt;(MyCustomFacet.DefaultFacetKey);&#xA;        facetA = new MyCustomFacet&#xA;        {&#xA;            propertyA = &quot;valueA&quot;,&#xA;            propertyB = &quot;valueB&quot;&#xA;            //and so on&#xA;        };&#xA;        client.SetFacet(contact, MyCustomFacet.DefaultFacetKey, facetA);&#xA;        client.Submit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please ensure that FacetKeys are registered into the customModel.json(you have created for custom facet). e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Facets&quot;: [&#xA;{&#xA;  &quot;Target&quot;: &quot;Contact&quot;,&#xA;  &quot;Name&quot;: &quot;MyCustomFacetKeyA&quot;,&#xA;  &quot;Type&quot;: &quot;dllName.MyCustomFacetModelA&quot;&#xA;},&#xA;{&#xA;  &quot;Target&quot;: &quot;Contact&quot;,&#xA;  &quot;Name&quot;: &quot;MyCustomFacetKeyB&quot;,&#xA;  &quot;Type&quot;: &quot;dllName.MyCustomFacetModelB&quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-05-03T12:28:47.850" LastActivityDate="2019-05-03T12:28:47.850" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18479" PostTypeId="2" ParentId="18473" CreationDate="2019-05-03T13:17:08.767" Score="1" Body="&lt;p&gt;Yes, we need to create a custom model class for CustomFacet with custom facet key. Then we deploy our custom model and serializes our custom facet model and we need to copy that custom JSON model to the xConnect location. After that, you need to create a patch file or register your DLL and class name with namespace into a schema tag into Sitecore.XConnect.Client.config.&#xA;For more detail: please refer below links that are useful:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/create-a-custom-facet.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/create-a-custom-facet.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/deploy-a-custom-model.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/deploy-a-custom-model.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) &lt;a href=&quot;https://sitecorerockz.wordpress.com/2018/09/24/create-custom-facet-in-xconnect/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorerockz.wordpress.com/2018/09/24/create-custom-facet-in-xconnect/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please do remember facetkeys are case sensitive.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding Dynamic key: I haven't played with the dynamic key but I think it would not be good to play with dynamic as we need to register and deploy all keys and during the set or update facets and we can't remember those keys during operations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Suggestion for Dynamic facet keys:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to suggest instead of creating multiple dynamic facet keys, create one single facet key and make one property into that facet model in which assign/ map your Product Catalogue as a JSON object, like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;&quot;title&quot;:{&quot;text&quot;:&quot;Product Catalogue&quot;},&#xA;&quot;Types&quot;:[&#xA;           {&quot;name&quot;:&quot;Product A&quot;,&quot;data&quot;:[&quot;Market&quot;,20.00]},&#xA;           {&quot;name&quot;:&quot;Product B&quot;,&quot;data&quot;:[&quot;Sales&quot;,30.00]},&#xA;           {&quot;name&quot;:&quot;Product C&quot;,&quot;data&quot;:[&quot;Operating&quot;,40.00]},&#xA;           {&quot;name&quot;:&quot;Product D&quot;,&quot;data&quot;:[&quot;Gross&quot;,10.00]}&#xA;         ] }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-05-04T08:04:58.843" LastActivityDate="2019-05-04T08:04:58.843" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18480" PostTypeId="1" CreationDate="2019-05-03T14:20:21.963" Score="0" ViewCount="1198" Body="&lt;p&gt;I have installed Sitecore 8.2 Update 7 in my machine and I have downloaded Habitat 1.5 (Sitecore 8.2 Update-4) release from github and trying to configure with my Sitecore instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While running the 5th step Sync unicorn using gulp task, it did not run anything nor gave any error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I tried to manually sync unicorn using the following url &lt;a href=&quot;http://habitatdev.local/Unicorn.aspx?verb=sync&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://habitatdev.local/Unicorn.aspx?verb=sync&lt;/a&gt;, I'm getting this error &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Could not load file or assembly 'MongoDB.Bson, Version=1.10.0.62, Culture=neutral, PublicKeyToken=null' or one of its dependencies.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I checked in my bin folder I'm see the same version(1.10.0.62) of &lt;code&gt;MongoDB.Bson&lt;/code&gt; dll  present. When I checked some blogs, they are saying that the habitat version mismatches and is not supported for my Sitecore version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anybody suggest what is the issue and how to find which habitat release of &lt;code&gt;github&lt;/code&gt; is compatible for my sitecore version.&lt;/p&gt;&#xA;" OwnerUserId="3487" LastEditorUserId="70" LastEditDate="2019-05-03T16:54:55.110" LastActivityDate="2019-05-03T16:54:55.110" Title="Could not load file or assembly 'MongoDB.Bson, Version=1.10.0.62, Culture=neutral, PublicKeyToken=null' or one of its dependencies" Tags="|habitat|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18483" PostTypeId="1" AcceptedAnswerId="18507" CreationDate="2019-05-03T18:34:44.773" Score="0" ViewCount="227" Body="&lt;p&gt;Is there any way to enable content editor gutter items by default, ideally for specific roles?  I see the gutter items in the core database but none of the fields seem to be indicative of enabling or disabling a given item.  Just hiding it.&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-05-06T20:22:16.233" Title="Enable content editor gutter items by default?" Tags="|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18486" PostTypeId="1" AcceptedAnswerId="18487" CreationDate="2019-05-03T20:57:47.270" Score="0" ViewCount="52" Body="&lt;p&gt;We need to create a role that would:&#xA;- generally be only able to edit content in specific language (i.e &lt;code&gt;fr-fr&lt;/code&gt;, regional author)&#xA;- except items based on template A where they also should be able to edit &lt;code&gt;en&lt;/code&gt; version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does this seem feasible? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried creating one role that has &lt;code&gt;language:write&lt;/code&gt; for French and another that is only able to edit items based on a template A + has &lt;code&gt;language:write&lt;/code&gt; for &lt;code&gt;en&lt;/code&gt; but a user that is member of those two is able to edit all &lt;code&gt;en&lt;/code&gt; content.&lt;/p&gt;&#xA;" OwnerUserId="1034" LastEditorUserId="5096" LastEditDate="2019-05-04T15:47:42.497" LastActivityDate="2019-05-04T15:47:42.497" Title="Roles: regional author to edit certain &quot;global&quot; items based on template" Tags="|security|role-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18487" PostTypeId="2" ParentId="18486" CreationDate="2019-05-04T04:01:24.590" Score="1" Body="&lt;p&gt;If I understand your requirement, &lt;strong&gt;user wants to edit all the items in &quot;fr-fr&quot; version and just &quot;template A&quot; items in &quot;en&quot; version&lt;/strong&gt; &lt;strong&gt;which is not feasible with the out of box Sitecore Security module&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You can create a role that would generally be only able to edit&#xA;  content in specific language.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;At any point if you want &lt;strong&gt;to edit&lt;/strong&gt; even a single &lt;strong&gt;item&lt;/strong&gt; &lt;strong&gt;in a specific language&lt;/strong&gt; version then that &lt;strong&gt;user should get the &quot;Language Write&quot; access&lt;/strong&gt; directly or indirectly through any role. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case &lt;strong&gt;user should able to edit &quot;fr-fr&quot; and &quot;en&quot; version of &quot;template A&quot; items&lt;/strong&gt;, so you may need to give &quot;Language Write&quot; access to the user [directly/through one/multiple roles] for both the languages. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Once you set &quot;Language Write&quot; to two languages then whatever security&#xA;  you set at &lt;strong&gt;item/folder/site/template standard values&lt;/strong&gt; level&#xA;  that will be applicable to both the languages because the __Security field&#xA;  is a &quot;Shared&quot; field and it's not an &quot;Unversioned&quot; field to have&#xA;  different value for each language. If you enable write access to all the items then both fr-fr and en versions are editable and if you disable write access then both en and fr-fr versions are write restricted.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Not recommended&lt;/strong&gt;, But for example you can have the custom security check in the Workflow action and stop the item to be moved to the next state if it's mistakenly updated by the user who really should not. Or something similar to this check in different pipeline/processor and stop getting saved/published also show a proper error message to the users.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-05-04T04:01:24.590" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18489" PostTypeId="1" AcceptedAnswerId="18490" CreationDate="2019-05-04T20:47:46.677" Score="0" ViewCount="1697" Body="&lt;p&gt;so far I understand the richtextbox, when I insert a Internal sitecore link a href is created with &lt;strong&gt;link.aspx?_id=siteguid&lt;/strong&gt; which is replaced in preview or published mode with the right url.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;~/link.aspx?_id=1FC970F924A14C598445FFC0E099B55E&amp;amp;amp;_z=z&quot;&amp;gt;xyzlinkname&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need to apply custom code for the link generation when the link is genrated for the preview or published mode. so the current &lt;strong&gt;link.aspx?_id=siteguid&lt;/strong&gt; is perfekt. I need to extend the generated link which the link.aspx is creating in the preview mode for example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Experience Editor Edit Mode current Link is working that fine.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;~/link.aspx?_id=1FC970F924A14C598445FFC0E099B55E&amp;amp;amp;_z=z&quot;&amp;gt;xyzlinkname&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Experience Editor Preview Mode or the Published page link will perhaps look like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;/bluub/mysite&quot; data-gtm=&quot;categorie&quot;&amp;gt;xyzlinkname&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and here it would be &lt;strong&gt;nice&lt;/strong&gt; if I could add some Attributes. But Its more important for me to customize the href link &quot;/bluub/mysite&quot; for the selected guid from preview mode. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here I thought there is a pipeline or resolver I can overwrite, when the link is generated from the link.aspx.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update: With the help of Mark I've done the following.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;some explanations first, we have a interface template on every page where the content manager can set the external url for this item, because its resolved by an proxy to an other location and in some time in the future we implement this page inside sitecore. When no external url is inserted then its resolved in sitecore. Inside my components we resolve this url with a custom link method to add some more content to the links like gtm attributes, ... and so I was looking for a solution to generate the links for the Rich Text fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I've created a resolver like mark said with some custom logic I will post here&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public virtual void Process(RenderFieldArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)args, &quot;args&quot;);&#xA;        if (Context.PageMode.IsExperienceEditorEditing)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (args.FieldTypeKey == &quot;rich text&quot;)&#xA;        {&#xA;            args.Result.FirstPart = Expand(args.Result.FirstPart, UrlOptions.DefaultOptions);&#xA;            args.Result.LastPart = Expand(args.Result.LastPart, UrlOptions.DefaultOptions);&#xA;        }&#xA;        else&#xA;        {&#xA;            //Original logic from the default processor&#xA;            args.Result.FirstPart = DynamicLink.ExpandLinks(args.Result.LastPart, Settings.Rendering.SiteResolving);&#xA;            args.Result.LastPart = DynamicLink.ExpandLinks(args.Result.LastPart, Settings.Rendering.SiteResolving);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've extracted the expand method from sitecore from &lt;strong&gt;Sitecore.Links.ItemLinkExpander&lt;/strong&gt; and just changed the return type from void to string&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  public string Expand(string text, UrlOptions urlOptions)&#xA;    {&#xA;        Assert.ArgumentNotNull(text, &quot;text&quot;);&#xA;        Assert.ArgumentNotNull(urlOptions, &quot;urlOptions&quot;);&#xA;        int i = text.IndexOf(&quot;~/link.aspx?&quot;, StringComparison.InvariantCulture);&#xA;        if (i == -1)&#xA;        {&#xA;            return text;&#xA;        }&#xA;        StringBuilder stringBuilder = new StringBuilder(text.Length);&#xA;        int num = 0;&#xA;        while (i &amp;gt;= 0)&#xA;        {&#xA;            int num2 = text.IndexOf(&quot;_z=z&quot;, i, StringComparison.InvariantCulture);&#xA;            if (num2 &amp;lt; 0)&#xA;            {&#xA;                return stringBuilder.ToString();&#xA;            }&#xA;            string linkText = text.Substring(i, num2 - i);&#xA;            //ACHTUNG Hier haben wir einen Teil ersetzt und durch unsere Logik ausgetauscht die sich um die Linkerstellung kümmert!&#xA;            string url = GetRichTextLink(linkText, urlOptions);&#xA;            string value = text.Substring(num, i - num);&#xA;            stringBuilder.Append(value);&#xA;            stringBuilder.Append(url);&#xA;            num = num2 + &quot;_z=z&quot;.Length;&#xA;            i = text.IndexOf(&quot;~/link.aspx?&quot;, num, StringComparison.InvariantCulture);&#xA;        }&#xA;        stringBuilder.Append(text.Substring(num));&#xA;        return stringBuilder.ToString();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And I've added my custom code to extract the right Link from the selected item in the RTE&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public string GetRichTextLink(string linkText, UrlOptions urlOptions)&#xA;    {&#xA;        DynamicLink dynamicLink = DynamicLink.Parse(linkText);&#xA;&#xA;        try&#xA;        {&#xA;            var linkItem = Sitecore.Context.Database.GetItem(dynamicLink.ItemId);&#xA;            if (linkItem.IsDerived(SitecoreExtensions.Templates.IstExternerLink.ID))&#xA;            {&#xA;                var sxpLink = linkItem.GetSxpLinkItem();&#xA;                return sxpLink.Link;&#xA;            }&#xA;        }&#xA;        catch (Exception) { }&#xA;&#xA;        return dynamicLink.GetUrl(urlOptions);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-05-05T16:39:15.290" LastActivityDate="2019-09-13T22:16:19.617" Title="Richtextbox (RTE) link.aspx custom link provider/pipeline" Tags="|richtext-editor|links|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18490" PostTypeId="2" ParentId="18489" CreationDate="2019-05-04T21:36:38.627" Score="3" Body="&lt;p&gt;Whatever you're doing, I think you're off doing something pretty far removed from established Sitecore Best Practices. That said:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string richText = yourItem[&quot;rich text field&quot;];&#xA;string expandedLink = LinkManager.ExpandDynamicLinks(richText);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Will do what you ask.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to override Sitecore's own behaviour, you need to find the &lt;code&gt;&amp;lt;renderField&amp;gt;&lt;/code&gt; pipeline and replace this processor with your own.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Pipelines.RenderField.ExpandLinks, Sitecore.Kernel&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-05-05T10:31:38.553" LastActivityDate="2019-05-05T10:31:38.553" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18492" PostTypeId="1" AcceptedAnswerId="18628" CreationDate="2019-05-05T05:39:43.880" Score="8" ViewCount="2994" Body="&lt;p&gt;I have setup federated authentication for my Sitecore 9.1 website, to allow &lt;strong&gt;end users&lt;/strong&gt; to login using Azure B2C AD. Our website is following Helix architecture.&lt;/p&gt;&#xA;&lt;p&gt;This is my code:&lt;/p&gt;&#xA;&lt;p&gt;Portal.Website.config:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;federatedAuthentication&amp;gt;&#xA;  &amp;lt;identityProvidersPerSites&amp;gt;&#xA;    &amp;lt;mapEntry name=&amp;quot;portal&amp;quot; type=&amp;quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&amp;quot;&amp;gt;&#xA;      &amp;lt;sites hint=&amp;quot;list&amp;quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;portal&amp;lt;/site&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;      &amp;lt;identityProviders hint=&amp;quot;list:AddIdentityProvider&amp;quot;&amp;gt;&#xA;        &amp;lt;identityProvider ref=&amp;quot;federatedAuthentication/identityProviders/identityProvider[@id='AzureAdB2C']&amp;quot;/&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;      &amp;lt;externalUserBuilder type=&amp;quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&amp;quot;&amp;gt;&#xA;        &amp;lt;param desc=&amp;quot;isPersistentUser&amp;quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/externalUserBuilder&amp;gt;&#xA;    &amp;lt;/mapEntry&amp;gt;&#xA;  &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;&amp;lt;/federatedAuthentication&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Configuration for Helix module that implements Azure B2C logic (Feature.AzureB2C.config):&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&amp;quot;Feature.AzureAdB2C.Models.Routes.RegisterAuthRoute, Feature.AzureAdB2C&amp;quot;&#xA;                   patch:before=&amp;quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&amp;quot; resolve=&amp;quot;true&amp;quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;      &amp;lt;owin.identityProviders&amp;gt;&#xA;        &amp;lt;!--This is the custom processor that gets executed when azure AD posts the token to Sitecore--&amp;gt;&#xA;        &amp;lt;processor type=&amp;quot;Feature.AzureAdB2C.AzureAdB2CIdentityProviderProcessor, Feature.AzureAdB2C&amp;quot; resolve=&amp;quot;true&amp;quot; /&amp;gt;&#xA;      &amp;lt;/owin.identityProviders&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;federatedAuthentication type=&amp;quot;Sitecore.Owin.Authentication.Configuration.FederatedAuthenticationConfiguration, Sitecore.Owin.Authentication&amp;quot;&amp;gt;&#xA;      &amp;lt;!--Provider mappings to sites--&amp;gt;&#xA;      &amp;lt;identityProvidersPerSites hint=&amp;quot;list:AddIdentityProvidersPerSites&amp;quot;&amp;gt;&#xA;      &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;&#xA;      &amp;lt;!--Definitions of providers--&amp;gt;&#xA;      &amp;lt;identityProviders hint=&amp;quot;list:AddIdentityProvider&amp;quot;&amp;gt;&#xA;        &amp;lt;!--Facebook provider--&amp;gt;&#xA;        &amp;lt;identityProvider id=&amp;quot;AzureAdB2C&amp;quot; type=&amp;quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&amp;quot;&amp;gt;&#xA;          &amp;lt;param desc=&amp;quot;name&amp;quot;&amp;gt;AzureAdB2C&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&amp;quot;domainManager&amp;quot; type=&amp;quot;Sitecore.Abstractions.BaseDomainManager&amp;quot; resolve=&amp;quot;true&amp;quot; /&amp;gt;&#xA;          &amp;lt;caption&amp;gt;AzureAdB2C&amp;lt;/caption&amp;gt;&#xA;          &amp;lt;domain&amp;gt;portal&amp;lt;/domain&amp;gt;&#xA;          &amp;lt;transformations hint=&amp;quot;list:AddTransformation&amp;quot;&amp;gt;&#xA;            &amp;lt;transformation name=&amp;quot;Name Identifier Claim&amp;quot; type=&amp;quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&amp;quot;&amp;gt;&#xA;              &amp;lt;sources hint=&amp;quot;raw:AddSource&amp;quot;&amp;gt;&#xA;                &amp;lt;claim name=&amp;quot;http://schemas.microsoft.com/identity/claims/objectidentifier&amp;quot; /&amp;gt;&#xA;              &amp;lt;/sources&amp;gt;&#xA;              &amp;lt;targets hint=&amp;quot;raw:AddTarget&amp;quot;&amp;gt;&#xA;                &amp;lt;claim name=&amp;quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier&amp;quot; /&amp;gt;&#xA;              &amp;lt;/targets&amp;gt;&#xA;              &amp;lt;keepSource&amp;gt;true&amp;lt;/keepSource&amp;gt;&#xA;            &amp;lt;/transformation&amp;gt;&#xA;          &amp;lt;/transformations&amp;gt;&#xA;        &amp;lt;/identityProvider&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;&#xA;      &amp;lt;!--List of all shared transformations--&amp;gt;&#xA;      &amp;lt;sharedTransformations&amp;gt;&#xA;      &amp;lt;/sharedTransformations&amp;gt;&#xA;&#xA;      &amp;lt;!--Property mappings initializer--&amp;gt;&#xA;      &amp;lt;propertyInitializer type=&amp;quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&amp;quot;&amp;gt;&#xA;        &amp;lt;!--List of property mappings&#xA;                    Note that all mappings from the list will be applied to each providers--&amp;gt;&#xA;        &amp;lt;maps hint=&amp;quot;list&amp;quot;&amp;gt;&#xA;          &amp;lt;!--The mapping sets the Email property of the user profile from emailaddress claim--&amp;gt;&#xA;          &amp;lt;map name=&amp;quot;email claim&amp;quot; type=&amp;quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&amp;quot; resolve=&amp;quot;true&amp;quot;&amp;gt;&#xA;            &amp;lt;data hint=&amp;quot;raw:AddData&amp;quot;&amp;gt;&#xA;              &amp;lt;!--claim name--&amp;gt;&#xA;              &amp;lt;source name=&amp;quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&amp;quot; /&amp;gt;&#xA;              &amp;lt;!--property name--&amp;gt;&#xA;              &amp;lt;target name=&amp;quot;Email&amp;quot; /&amp;gt;&#xA;            &amp;lt;/data&amp;gt;&#xA;          &amp;lt;/map&amp;gt;&#xA;        &amp;lt;/maps&amp;gt;&#xA;      &amp;lt;/propertyInitializer&amp;gt;&#xA;&#xA;    &amp;lt;/federatedAuthentication&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Route registration:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public virtual void Process(PipelineArgs args)&#xA;{&#xA;    RouteTable.Routes.MapRoute(&amp;quot;AuthRoute&amp;quot;, &amp;quot;auth/sso/{action}&amp;quot;, new&#xA;    {&#xA;        controller = &amp;quot;Sso&amp;quot;&#xA;    });&#xA;&#xA;    SsoLogger.Info(&amp;quot;RegisterAuthRoute - Registered route: auth/sso/{action}&amp;quot;);&#xA;&#xA;    RouteTable.Routes.MapRoute(&amp;quot;LoginContentRoute&amp;quot;, &amp;quot;api/content/{action}&amp;quot;, new&#xA;    {&#xA;        controller = &amp;quot;Content&amp;quot;&#xA;    });&#xA;&#xA;    SsoLogger.Info(&amp;quot;LoginContentRoute - Registered route: api/login/{action}&amp;quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;IdentityProviderProcessor implementation:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class AzureAdB2CIdentityProviderProcessor : IdentityProvidersProcessor&#xA;{&#xA;    private readonly ISsoConfigurationRepository _ssoConfigurationRepository;&#xA;    private readonly string _aadInstance = SsoConfiguration.AadInstance;&#xA;    private readonly string _tenant = SsoConfiguration.Tenant;&#xA;    private readonly string _ssoAuthenticationRootPath = SsoConfiguration.Routes.RootPath;&#xA;&#xA;    protected override string IdentityProviderName =&amp;gt; &amp;quot;AzureAdB2C&amp;quot;;&#xA;&#xA;    public AzureAdB2CIdentityProviderProcessor(&#xA;        FederatedAuthenticationConfiguration federatedAuthenticationConfiguration, ICookieManager cookieManager,&#xA;        BaseSettings settings) : base(federatedAuthenticationConfiguration, cookieManager, settings)&#xA;    {&#xA;        _ssoConfigurationRepository = ServiceLocator.ServiceProvider.GetService&amp;lt;ISsoConfigurationRepository&amp;gt;();&#xA;    }&#xA;&#xA;    protected override void ProcessCore(IdentityProvidersArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        var identityProvider = GetIdentityProvider();&#xA;        var authenticationType = GetAuthenticationType();&#xA;&#xA;        args.App.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType);&#xA;        args.App.UseCookieAuthentication(new CookieAuthenticationOptions()&#xA;        {&#xA;            CookieName = SsoConfiguration.SsoCookieName,&#xA;            CookiePath = _ssoAuthenticationRootPath, // Scope cookies to the authentication root path in order to avoid having the cookie included in every normal request.&#xA;            TicketDataFormat = new TicketDataFormat(new MachineKeyProtector()) // In order to be able to decrypt the authentication ticket stored in the cookie later on, we use protection based on the machine key.&#xA;        });&#xA;        List&amp;lt;B2CConfig&amp;gt; ssoSettings = _ssoConfigurationRepository.GetAllSettings();&#xA;&#xA;        foreach (var config in ssoSettings)&#xA;        {&#xA;            args.App.UseOpenIdConnectAuthentication(CreateOptionsFromSiteConfig(config));&#xA;        }&#xA;    }&#xA;&#xA;    private OpenIdConnectAuthenticationOptions CreateOptionsFromSiteConfig(B2CConfig config)&#xA;    {&#xA;        OpenIdConnectAuthenticationOptions options = new OpenIdConnectAuthenticationOptions();&#xA;        var identityProvider = GetIdentityProvider();&#xA;&#xA;        // For each policy, give OWIN the policy-specific metadata address, and&#xA;        // set the authentication type to the id of the policy&#xA;        options.MetadataAddress = string.Format(_aadInstance, _tenant, config.Policy);&#xA;        options.AuthenticationType = config.Policy;&#xA;&#xA;        options.RedirectUri = config.AzureReplyUri;&#xA;        options.PostLogoutRedirectUri = config.RedirectAfterLogoutUri;&#xA;        options.TokenValidationParameters = new TokenValidationParameters&#xA;        {&#xA;            NameClaimType = &amp;quot;emails&amp;quot;&#xA;        };&#xA;&#xA;        options.Notifications = new OpenIdConnectAuthenticationNotifications()&#xA;        {&#xA;            AuthenticationFailed = AuthenticationFailed,&#xA;            RedirectToIdentityProvider = notification =&amp;gt;&#xA;            {&#xA;                return Task.FromResult(notification.ProtocolMessage.UiLocales = config.UiLocale ?? string.Empty);&#xA;            },&#xA;            SecurityTokenValidated = notification =&amp;gt;&#xA;            {&#xA;                notification.AuthenticationTicket.Identity.AddClaim(new Claim(&amp;quot;idp&amp;quot;, &amp;quot;azureadb2c&amp;quot;));&#xA;&#xA;                // transform all claims&#xA;                ClaimsIdentity identity = notification.AuthenticationTicket.Identity;&#xA;                foreach (Transformation current in identityProvider.Transformations)&#xA;                {&#xA;                    current.Transform(identity, new TransformationContext(FederatedAuthenticationConfiguration, identityProvider));&#xA;                }&#xA;&#xA;                return Task.FromResult(0);&#xA;            }&#xA;        };&#xA;&#xA;        // These are standard OpenID Connect parameters, with values pulled from web.config&#xA;        options.ClientId = config.ClientId;&#xA;        //http://openid.net/specs/openid-connect-core-1_0.html#AuthRequest&#xA;        options.Scope = &amp;quot;openid&amp;quot;;&#xA;        //http://openid.net/specs/openid-connect-core-1_0.html#Authentication&#xA;        options.ResponseType = &amp;quot;id_token&amp;quot;;&#xA;&#xA;        return options;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Example of B2CConfig class:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class B2CConfig&#xA;{&#xA;    public string Policy { get; }&#xA;&#xA;    public string AzureReplyUri { get; }&#xA;&#xA;    public string LogoutRedirectUri { get; }&#xA;&#xA;    public string ClientId { get; }&#xA;&#xA;    public string UiLocale { get; }    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The login works for end users, but when I try to login to Sitecore, I receive the error message: &amp;quot;Error: &amp;quot;Unsuccessful login with external provider&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;As far as I can understand from blogs and &lt;a href=&quot;https://kb.sitecore.net/articles/252884&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/252884&lt;/a&gt; it is due to the fact that the &amp;quot;name&amp;quot;-claim is missing.&lt;/p&gt;&#xA;&lt;p&gt;However, since I don't want to use my custom provider for Sitecore client login, but only want to use it for end user login on the website, I am confused as to why Sitecore throws this error? Is there somewhere I have to explicitly tell Sitecore NOT to use my custom identity provider for Sitecore client logins?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="1542" LastEditDate="2022-04-04T10:29:24.967" LastActivityDate="2022-04-04T10:29:24.967" Title="Unsuccessful login with external provider" Tags="|federated-authentication|owin|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18494" PostTypeId="1" CreationDate="2019-05-05T13:54:50.733" Score="3" ViewCount="230" Body="&lt;p&gt;I'm going through the security hardening steps on a new, local instance of Sitecore 9.1.1 with identity server. I made the SHA512 change in the Sitecore web.config, and I ran the database script to reset the password/salt appropriately:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UPDATE aspnet_Membership&#xA;SET Password = 'K8N8GUW8UiNT2mPdjvuBDH+QmvA3R61M9buVvCwFHwtDjpMzTxs34lg0uQ0azCITqh6FkUZlX4kM72lsAyuyXQ==', &#xA;PasswordSalt = 'p5B6HOWKt0ctMZaSNXTlfw=='&#xA;FROM aspnet_Membership m INNER JOIN aspnet_Users u ON m.UserId = u.UserId&#xA;WHERE u.UserName = 'sitecore\Admin'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I still cannot log into the CM. I'm guessing something else needs changing on the identity server side, but I don't see any references to SHA512 in that code. There was a reference online regarding an appsettings.json file for identity service in relation to Commerce, but not XP0, and that file doesn't exist that I can see.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-05-05T13:54:50.733" Title="Resetting admin password with Sitecore 9.1.1 and Identity Server after SHA512 change" Tags="|security|login|" AnswerCount="0" CommentCount="4" ClosedDate="2019-05-06T07:56:03.490" ContentLicense="CC BY-SA 4.0" />
  <row Id="18495" PostTypeId="1" CreationDate="2019-05-05T16:26:34.163" Score="2" ViewCount="131" Body="&lt;p&gt;The requirement is as soon as the user clicks on the maps tab of the location detail page, that particular location should show up with &lt;code&gt;POI&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added the map to the &lt;code&gt;partial design&lt;/code&gt; wanting to add &lt;code&gt;POI&lt;/code&gt; and map central point on page level through experience editor but the map component is not editable on the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How should I make it editable at page level through partial design?&lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="5096" LastEditDate="2019-05-06T07:09:58.137" LastActivityDate="2019-05-06T07:25:55.027" Title="How do I make SXA map component editable on the page, if added through partial design?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18496" PostTypeId="1" AcceptedAnswerId="18721" CreationDate="2019-05-06T07:00:13.583" Score="1" ViewCount="374" Body="&lt;p&gt;I have raised a ticket on the Sitecore support portal. They asked me to provide basic information about my Sitecore site from each instance in your environment. Check the article &lt;a href=&quot;https://kb.sitecore.net/articles/406145&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/406145&lt;/a&gt; for details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I am following instruction it's throwing me error in the console in &lt;code&gt;main.bundle.js:1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/smidt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/smidt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After clicking on a &lt;strong&gt;Collect&lt;/strong&gt; button it's throwing me below error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error occurred. Check browser console for details.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aqbsX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aqbsX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="69" LastEditDate="2019-05-06T14:11:16.193" LastActivityDate="2019-05-16T11:55:40.380" Title="&quot;Error occurred&quot; (500) when collecting basic information about your Sitecore installation" Tags="|sitecore-api|packages|support|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18497" PostTypeId="2" ParentId="18495" CreationDate="2019-05-06T07:25:55.027" Score="1" Body="&lt;p&gt;Renderings which are injected from partial designs are not editable on the page - it is like this by design. You can only edit content which is exposed by those renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But! You can use page relative data sources for renderings on a partial. When you will drop a rendering on a partial, let say a Map rendering. You will probably:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;use local data source - map data source item will be created under the partial itself and you will see &lt;code&gt;local:&lt;/code&gt; syntax in the data source field of the Map rendering&lt;/li&gt;&#xA;&lt;li&gt;use global data source - you will point to the map data source item which will be located under the Data item in your site.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In both cases, the rendering won't be editable. Now! Let's assume that you are using local data source (&lt;code&gt;local:&lt;/code&gt; in the data source field). Simply replace the &lt;code&gt;local:&lt;/code&gt; with &lt;code&gt;page:&lt;/code&gt; and copy the whole Data from under the partial, under the particular page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By doing this, you will be using pare relative data sources. While editing the partial you will be editing the local data source, but when you open a page which is using this partial, it will pick up data source item for the Map which is located under the page.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-06T07:25:55.027" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18499" PostTypeId="1" CreationDate="2019-05-06T12:03:42.800" Score="1" ViewCount="246" Body="&lt;p&gt;I am using SXA 1.8 with Sitecore 9.0.2. I wanted to add a checklist facet to my search, as I am using Azure Search, I added the field to be indexed like below in a custom config file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;    &amp;lt;tenuretype_04D003C3&amp;gt;{04D003C3-7ABD-4872-9446-96AC743ED3DB} &#xA;    &amp;lt;/tenuretype_04D003C3&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I rebuild the indexes, the field is getting added to &lt;code&gt;sitecore_master_index&lt;/code&gt; as &lt;code&gt;tenuretype_s&lt;/code&gt;. The field name in sitecore is &lt;code&gt;TenureType&lt;/code&gt; and is of type &lt;code&gt;Droplist&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I create a checklist facet in below path &lt;code&gt;/sitecore/content/Tenant/site/Settings/Facets/Tenure Type&lt;/code&gt;. In the &quot;Field Name&quot; field the value is &lt;code&gt;tenuretype_s&lt;/code&gt;(same as the name in azure index file).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7WluI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7WluI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When adding on the page the facets doesn't load. On inspecting the request and response, the response is being read from &lt;code&gt;sitecore_sxa_master_index&lt;/code&gt;. The field is not available in the below index. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/BvEN4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BvEN4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing anything ?&lt;/p&gt;&#xA;" OwnerUserId="5030" LastEditorUserId="70" LastEditDate="2019-05-06T13:16:59.990" LastActivityDate="2019-05-06T13:28:52.133" Title="Sitecore sxa checklist facets in search are not loading when using azure search" Tags="|sxa|azure-search|search-facet|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18500" PostTypeId="1" AcceptedAnswerId="18531" CreationDate="2019-05-06T12:20:50.560" Score="2" ViewCount="721" Body="&lt;p&gt;When running the installation script for &lt;strong&gt;Sitecore Experience Commerce 9.1&lt;/strong&gt; I am getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This occurs during the &lt;code&gt;BootStrapCommerceServices&lt;/code&gt; step of the installation. Directly after logging:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PUT https://commerceshops.sc9.qa/commerceops/Bootstrap() with 0-byte&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is the error I get in the shops log file, it doesn't mean anything to me and I have not be able to find any relevant information on the error, but perhaps someone recognizes it: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Message=SQL.GetDBVersion.Fail: Environment='GlobalEnvironment'|Message='Could not find stored procedure 'sp_CommerceDBVersionGet'.'|Number='2812'|Procedure=''|Line='1'|CorrelationId=3a39ea7b355848989241178fab405522|StackTace=   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)&#xA;   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)&#xA;   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp;amp; dataReady)&#xA;   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()&#xA;   at System.Data.SqlClient.SqlDataReader.get_MetaData()&#xA;   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)&#xA;   at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader(Boolean isInternal, Boolean forDescribeParameterEncryption)&#xA;   at System.Data.SqlClient.SqlCommand.InternalEndExecuteReader(IAsyncResult asyncResult, String endMethod, Boolean isInternal)&#xA;   at System.Data.SqlClient.SqlCommand.EndExecuteReaderInternal(IAsyncResult asyncResult)&#xA;   at System.Data.SqlClient.SqlCommand.EndExecuteReaderAsync(IAsyncResult asyncResult)&#xA;   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Based on various blog post regarding errors in the commerce 9 installation I change the connection string SQL server name to &lt;code&gt;{MACHINE}\\SQLEXPRESS&lt;/code&gt; in the following files:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;\SitecoreIdentityServer\wwwroot\appsettings.json&lt;/li&gt;&#xA;&lt;li&gt;\CommerceShops_Sc9\wwwroot\bootstrap\Global.json&lt;/li&gt;&#xA;&lt;li&gt;\CommerceOps_Sc9\wwwroot\bootstrap\Global.json&lt;/li&gt;&#xA;&lt;li&gt;\CommerceMinions_Sc9\wwwroot\bootstrap\Global.json&lt;/li&gt;&#xA;&lt;li&gt;\CommerceAuthoring_Sc9\wwwroot\bootstrap\Global.json&lt;/li&gt;&#xA;&lt;li&gt;\CommerceShops_Sc9\wwwroot\data\Environments\Plugin.SQL.PolicySet-1.0.0.json&lt;/li&gt;&#xA;&lt;li&gt;\CommerceShops_Sc9\wwwroot\data\Environments\PlugIn.Habitat.CommerceAuthoring-1.0.0.json&lt;/li&gt;&#xA;&lt;li&gt;\CommerceShops_Sc9\wwwroot\data\Environments\PlugIn.AdventureWorks.CommerceAuthoring-1.0.0.json&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Global.json&lt;/code&gt; files I even changed the second occurrence of the database property from &lt;code&gt;SitecoreCommerce_Global&lt;/code&gt; to &lt;code&gt;SitecoreCommerce9_Global&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also attempted to add a username and password to both the connection string in &lt;code&gt;appsettings.json&lt;/code&gt; and the &lt;code&gt;Global.json&lt;/code&gt; files. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;None of these changes have helped. Is there something else that I'm missing? Any help would be greatly appreciated!&lt;/p&gt;&#xA;" OwnerUserId="5485" LastEditorUserId="5096" LastEditDate="2019-05-07T05:06:04.130" LastActivityDate="2019-05-08T07:37:37.137" Title="Sitecore Experience Commerce 9.1 Installation - Bootstrap 500 Internal Server Error" Tags="|sitecore-commerce|sitecore-install-framework|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18501" PostTypeId="2" ParentId="18499" CreationDate="2019-05-06T12:23:53.863" Score="2" Body="&lt;p&gt;You have written that &quot;&lt;em&gt;field is getting added to sitecore_master_index&lt;/em&gt;&quot; but SXA is using its own indexes - &lt;code&gt;sitecore_sxa_master_index&lt;/code&gt; and &lt;code&gt;sitecore_sxa_web_index&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ynsIY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ynsIY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check if the field is present those indexes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is one more issue. In the field name skip type suffix, it will be automatically added by Azure Search logic (after discovering field type). Just put there: &lt;code&gt;tenuretype&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-06T12:23:53.863" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18503" PostTypeId="2" ParentId="18499" CreationDate="2019-05-06T13:19:33.267" Score="2" Body="&lt;p&gt;Based on your question, I think you may have added the config for the facet field to the wrong index. You have given the example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;    &amp;lt;tenuretype_04D003C3&amp;gt;{04D003C3-7ABD-4872-9446-96AC743ED3DB} &#xA;    &amp;lt;/tenuretype_04D003C3&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But you don't say which index this is adding the field too. It looks like you have probably added this to the &lt;code&gt;sitecore_master_index&lt;/code&gt;, but you need to add it to the &lt;code&gt;sitecore_sxa_master_index&lt;/code&gt;. That will make sure that your facet field is available in the correct index.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-06T13:19:33.267" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18504" PostTypeId="2" ParentId="18499" CreationDate="2019-05-06T13:28:52.133" Score="1" Body="&lt;p&gt;To quickly fix this issue, you need to go to $Path_To_Your_Sitecore_Instance$/App_Config\Modules\SXA\Z.Foundation.Overrides and open Sitecore.XA.Foundation.Search.Azure.config in text editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;    &amp;lt;tenuretype_04D003C3&amp;gt;{04D003C3-7ABD-4872-9446-96AC743ED3DB} &#xA;    &amp;lt;/tenuretype_04D003C3&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;right below node:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.DocumentBuilderOptions, Sitecore.ContentSearch&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-05-06T13:28:52.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18505" PostTypeId="1" CreationDate="2019-05-06T15:44:10.040" Score="0" ViewCount="101" Body="&lt;p&gt;Currently running into an error with a local instance of Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NFm1g.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NFm1g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Reader is in incorrect state&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.Exception: Reader is in incorrect state&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[Exception: Reader is in incorrect state]&#xA;   Sitecore.Xml.Patch.XmlReaderSource..ctor(XmlReader reader, String sourceName) +123&#xA;   Sitecore.Configuration.ConfigPatcher.GetXmlElement(XmlReader reader, String sourceName) +45&#xA;   Sitecore.Configuration.ConfigPatcher.ApplyPatch(TextReader patch, String sourceName) +120&#xA;   Sitecore.Configuration.ConfigPatcher.ApplyPatch(String filename) +92&#xA;   Sitecore.Configuration.ConfigReader.LoadAutoIncludeFiles(ConfigPatcher patcher, String folder) +177&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried taking a look at some of my patch files and everything is the same as another local instance I have running. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for any help in advance!&lt;/p&gt;&#xA;" OwnerUserId="5031" LastActivityDate="2019-05-06T15:44:10.040" Title="Reader is in incorrect state - Sitecore Local instance" Tags="|sitecore-client|" AnswerCount="0" CommentCount="2" ClosedDate="2019-05-06T15:59:34.297" ContentLicense="CC BY-SA 4.0" />
  <row Id="18507" PostTypeId="2" ParentId="18483" CreationDate="2019-05-06T20:22:16.233" Score="1" Body="&lt;p&gt;I don't think that Sitecore provides a setting in Core DB or config entries to enable the &quot;Gutter Items&quot; by default. But You can write your own processors/pipeline to enable all/required gutter menu when the user logging into Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever you select/change the gutter items in the Content Editor it will be updated in the Sitecore registry &lt;strong&gt;&quot;/Current_User/Content Editor/Gutter Renderers&quot;&lt;/strong&gt;. So you just need to add the gutter item ID which you can see from the folder &lt;strong&gt;/sitecore/content/Applications/Content Editor/Gutters&lt;/strong&gt; in Core DB to the Sitecore registry &lt;strong&gt;/Current_User/Content Editor/Gutter Renderers&lt;/strong&gt;. This will enable the specific gutter menu for the user by default once logged-in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Ex - If you want to enable the menu &lt;strong&gt;&quot;Cloned Items&quot;&lt;/strong&gt; you need to add the item &lt;strong&gt;&quot;/sitecore/content/Applications/Content Editor/Gutters/Clones&quot;&lt;/strong&gt; Id to the Sitecore Registry &quot;/Current_User/Content Editor/Gutter Renderers&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;May be something like the below:&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just injected the below processor in the &quot;loggedin&quot; group of processors and checking for the Item [/sitecore/content/Applications/Content Editor/Gutters/Clones] id in the existing registry setting, if it's not available then adding it to the registry to make the &quot;Cloned Items&quot; checked for the user all the time.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;class CustomLoggedIn : LoggedInProcessor&#xA;{&#xA;    public override void Process(LoggedInArgs args)&#xA;    {&#xA;        string gutterItemIDString = &quot;{4DA1472A-9CE8-4709-963D-5DE65FE2885A}&quot;;&#xA;        ListString existingsettings = new ListString(Registry.GetString(&quot;/Current_User/Content Editor/Gutter Renderers&quot;));&#xA;        if (!existingsettings.Contains(gutterItemIDString))&#xA;        {&#xA;            existingsettings.Add(gutterItemIDString);&#xA;            Registry.SetString(&quot;/Current_User/Content Editor/Gutter Renderers&quot;, existingsettings.ToString());&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-05-06T20:22:16.233" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18509" PostTypeId="1" CreationDate="2019-05-07T01:59:16.860" Score="0" ViewCount="512" Body="&lt;p&gt;How to get the specific version of media item in &lt;strong&gt;Sitecore 9.1&lt;/strong&gt;? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried the following url &lt;a href=&quot;http://hostname/~/media/mediaitem.aspx?vs=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hostname/~/media/mediaitem.aspx?vs=1&lt;/a&gt;. But it is not working, still getting the latest version of Sitecore media item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5444" LastEditorUserId="2056" LastEditDate="2019-05-07T04:43:55.410" LastActivityDate="2019-05-07T05:38:42.530" Title="How to get the specific version of media item in Sitecore 9.1?" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18510" PostTypeId="1" CreationDate="2019-05-07T02:44:54.143" Score="1" ViewCount="32" Body="&lt;p&gt;I have created a new non-admin user role. Now, I want this user to change the workflow without locking an item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried setting &lt;code&gt;RequireLockBeforeEditing&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;, but does not work. Also, I want this lock items update to this specific role only. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;RequireLockBeforeEditing&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5307" LastActivityDate="2019-05-07T02:44:54.143" Title="How to change workflow without locking an item for non-admin users?" Tags="|sitecore-client|" AnswerCount="0" CommentCount="0" ClosedDate="2019-05-07T09:26:05.423" ContentLicense="CC BY-SA 4.0" />
  <row Id="18511" PostTypeId="2" ParentId="18509" CreationDate="2019-05-07T05:38:42.530" Score="3" Body="&lt;p&gt;I guess you are trying to access an image from your published DB [not master] with the URL. So whatever version number you pass in &quot;vs&quot;, the &lt;strong&gt;published DB will always have only one version&lt;/strong&gt; and whenever you access the image URL, &lt;strong&gt;it shows the same image/version all the time&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to access &lt;strong&gt;multiple versions&lt;/strong&gt; available in your &lt;strong&gt;master DB&lt;/strong&gt; then first you need to check the option &lt;strong&gt;&quot;Make uploaded media items versionable&quot;&lt;/strong&gt; when uploading the media/image item. If you check that then you could able to upload different images in each version and retrieve all the versions by passing &quot;vs&quot; querystring. But this can be done only when you access the image from master DB. Again if it is &quot;web&quot; db you see only one version all the time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a specific query/question regarding the media URL/versioning then update your question.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-05-07T05:38:42.530" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18512" PostTypeId="2" ParentId="8107" CreationDate="2019-05-07T06:48:22.760" Score="9" Body="&lt;p&gt;SIF 2.x now has this functionality built in as mentioned in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Installation%20Framework/2x/Sitecore%20Installation%20Framework%20200/Release%20Notes&quot; rel=&quot;noreferrer&quot;&gt;release notes&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There was an issue with it in 2.0, but it was &lt;a href=&quot;https://sitecore.stackexchange.com/a/16966/1278&quot;&gt;fixed in 2.1&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To run it, &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Update SIF with &lt;code&gt;Update-Module SitecoreInstallFramework&lt;/code&gt; if you don't have at least SIF 2.1&lt;/li&gt;&#xA;&lt;li&gt;If you don't already have it, Download the &quot;XP0 Configuration files 9.1.1 rev. 002459.zip&quot;. I've specified a specific version here as it uses SIF 2.1+, but it &lt;em&gt;should&lt;/em&gt; support any sitecore 9.0 and 9.1 installation. This is part of the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Update1.aspx&quot; rel=&quot;noreferrer&quot;&gt;On prem packages for XP Single&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Unzip and Open the &lt;code&gt;XP0-SingleDeveloper.ps1&lt;/code&gt; file, fill in all the parameters (some are optional for uninstalling) and change the &lt;code&gt;Install-SitecoreConfiguration&lt;/code&gt; to &lt;code&gt;Uninstall-SitecoreConfiguration&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-05-07T06:48:22.760" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18515" PostTypeId="1" AcceptedAnswerId="18516" CreationDate="2019-05-07T10:51:32.870" Score="2" ViewCount="414" Body="&lt;p&gt;We have an internal environment where the TLS/SSL certificate on tenants is not playing well with some requests. This is not a huge issue for clients who can add a one time trust for the certificate, but it causes some issues with the keepalive.aspx agent trying to poll the tenants root URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my question is if anybody knows of a way to configure the keepalive agent in a way, that it can try to overcome certificate warnings / validations?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an excerpt from our log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception in UrlAgent (url: /sitecore/service/keepalive.aspx)&#xA;Exception: System.Net.WebException&#xA;Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.&#xA;Source: System&#xA;   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&amp;amp; request)&#xA;   at System.Net.WebClient.DownloadData(Uri address)&#xA;   at Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection headers)&#xA;   at Sitecore.Tasks.UrlAgent.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Security.Authentication.AuthenticationException&#xA;Message: The remote certificate is invalid according to the validation procedure.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And yes, I do know that the proper way would be to fix the certificate :) I am actually more interested in a quick fix as due the affected environment is basically end of life and the next step would be a general overhaul anyway.&lt;/p&gt;&#xA;" OwnerUserId="1083" LastActivityDate="2019-05-07T11:31:12.323" Title="Is it possible to teach the keepalive agent to overcome TLS/SSL certificate warnings?" Tags="|security|urls|certificate|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18516" PostTypeId="2" ParentId="18515" CreationDate="2019-05-07T11:31:12.323" Score="3" Body="&lt;p&gt;You can override UrlAgent that is used to make &lt;code&gt;keepalive.aspx&lt;/code&gt; call. And disable certificate validation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Net.ServicePointManager.ServerCertificateValidationCallback =&#xA;              ((sender, certificate, chain, sslPolicyErrors) =&amp;gt; true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is configured in Sitecore.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;YourNamespace.YourUrlAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;url&quot;&amp;gt;/sitecore/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA;  &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can have your own one class, where SSL errors are ignored&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class YourUrlAgent&#xA;{&#xA;    private readonly string _url;&#xA;&#xA;    private bool _logActivity = true;&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets or sets a value indicating whether the &amp;lt;see cref=&quot;T:Sitecore.Tasks.UrlAgent&quot; /&amp;gt; logs the activity.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;&#xA;    ///     &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; if the &amp;lt;see cref=&quot;T:Sitecore.Tasks.UrlAgent&quot; /&amp;gt; logs the  activity; otherwise, &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;.&#xA;    /// &amp;lt;/value&amp;gt;&#xA;    public bool LogActivity&#xA;    {&#xA;        get&#xA;        {&#xA;            return this._logActivity;&#xA;        }&#xA;        set&#xA;        {&#xA;            this._logActivity = value;&#xA;        }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Initializes a new instance of the &amp;lt;see cref=&quot;T:Sitecore.Tasks.UrlAgent&quot; /&amp;gt; class.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;url&quot;&amp;gt;The URL.&amp;lt;/param&amp;gt;&#xA;    public UrlAgent(string url)&#xA;    {&#xA;        Assert.ArgumentNotNull(url, &quot;url&quot;);&#xA;        this._url = url;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Runs the pipeline.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public void Run()&#xA;    {&#xA;        try&#xA;        {&#xA;            //Trust all certificates &#xA;            System.Net.ServicePointManager.ServerCertificateValidationCallback =&#xA;              ((sender, certificate, chain, sslPolicyErrors) =&amp;gt; true);&#xA;            string fullUrl = WebUtil.GetFullUrl(this._url);&#xA;            this.LogInfo(&quot;Scheduling.UrlAgent started. Url: &quot; + fullUrl);&#xA;            string text = WebUtil.ExecuteWebPage(fullUrl);&#xA;            this.LogInfo(&quot;Scheduling.UrlAgent done (received: &quot; + text.Length + &quot; bytes)&quot;);&#xA;        }&#xA;        catch (Exception exception)&#xA;        {&#xA;            Log.Error(&quot;Exception in UrlAgent (url: &quot; + this._url + &quot;)&quot;, exception, this);&#xA;        }&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Logs the info.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;message&quot;&amp;gt;The message.&amp;lt;/param&amp;gt;&#xA;    private void LogInfo(string message)&#xA;    {&#xA;        if (!this.LogActivity)&#xA;        {&#xA;            return;&#xA;        }&#xA;        Log.Info(message, this);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;P.S. As your wrote, it is not cool to do it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S.2: If you have calls from your website to other URLs except &lt;code&gt;keepalive.aspx&lt;/code&gt;, e.g. some API then it is much more better and secure to skip server certification check only for one request. &lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-05-07T11:31:12.323" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18517" PostTypeId="1" CreationDate="2019-05-07T12:37:03.243" Score="2" ViewCount="556" Body="&lt;p&gt;We are using Sitecore 9.0.x on Azure PaaS &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to create a custom database for some of our application flows, we intend to use Entity Framework Database first with API controllers for our CRUD operations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Helix based architecture,As our applcation is hosted on Azure PaaS , i do not intend to disturb or source control the &lt;code&gt;ConnectionStrings.config&lt;/code&gt; file ,  how can I patch only the custom database connection string from my source control, whats is the ideal approach to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="3355" LastEditDate="2019-05-07T14:03:04.640" LastActivityDate="2019-05-07T17:23:00.000" Title="Patching custom database EF database first connection String in sitecore" Tags="|sitecore-client|helix|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18518" PostTypeId="2" ParentId="18517" CreationDate="2019-05-07T13:08:50.810" Score="8" Body="&lt;p&gt;You can install &lt;code&gt;SlowCheetah&lt;/code&gt; in your application, you can find link from &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=vscps.SlowCheetah-XMLTransforms&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After the installation you need to click &lt;code&gt;Add Transform&lt;/code&gt; which will transform &lt;code&gt;connection string&lt;/code&gt; config according to your build configuration like Debug, Release, UAT, Prod etc..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that transform file, you can patch connection string like below code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;&amp;lt;connectionStrings xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;add name=&quot;customDBName&quot;&#xA;       connectionString=&quot;Data Source=XXX;Initial Catalog=XX;User ID=XX;Password=XX&quot;&#xA;       xdt:Transform=&quot;Replace&quot; xdt:Locator=&quot;Match(name)&quot; /&amp;gt;   &#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;EDIT&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In your case as you do not want to disturb connection string, below code can be possibly solution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ConnectionStrings.config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;connectionStrings&amp;gt;&#xA;&amp;lt;!-- Keep your all Sitecore connectionString as it is --&amp;gt;&#xA;   &amp;lt;add name=&quot;core&quot; connectionString=&quot;Data Source=XXX;Initial Catalog=XXX;User ID=XXX;Password=XXX&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;master&quot; connectionString=&quot;Data Source=XXX;Initial Catalog=XXX;User ID=XXX;Password=XXX&quot; /&amp;gt;&#xA;  &amp;lt;add name=&quot;web&quot; connectionString=&quot;Data Source=XXX;Initial Catalog=XXX;User ID=XXX;Password=XXX&quot; /&amp;gt; &#xA; &amp;lt;!-- Add your custom connectionString --&amp;gt;&#xA;  &amp;lt;add name=&quot;customDBName&quot; connectionString=&quot;#{ConnectionString.customDBName}&quot; /&amp;gt;   &#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ConnectionStrings.Debug.Config&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;connectionStrings xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;add name=&quot;customDBName&quot;&#xA;       connectionString=&quot;Data Source=XXX;Initial Catalog=XX;User ID=XX;Password=XX&quot;&#xA;       xdt:Transform=&quot;Replace&quot; xdt:Locator=&quot;Match(name)&quot; /&amp;gt;   &#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-05-07T17:23:00.000" LastActivityDate="2019-05-07T17:23:00.000" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18520" PostTypeId="1" AcceptedAnswerId="18540" CreationDate="2019-05-07T14:19:39.337" Score="0" ViewCount="200" Body="&lt;p&gt;I'd like to limit a rendering variant so that it is only accessible on a certain partial design, is this possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some context, I'd like to add a variant of the promo component into my footer partial design that can only be accessed by the footer partial design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am aware this is already possible with page designs by using the &quot;Allowed in templates&quot; field.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;SXA 1.8.1&lt;/p&gt;&#xA;" OwnerUserId="4487" LastEditorUserId="4487" LastEditDate="2019-05-07T14:49:45.107" LastActivityDate="2019-05-08T12:48:36.970" Title="How can I limit a rendering variant to a partial design?" Tags="|sxa|presentation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18521" PostTypeId="1" AcceptedAnswerId="18524" CreationDate="2019-05-07T19:34:00.597" Score="0" ViewCount="1058" Body="&lt;p&gt;I am getting following error while Email Test Connection for EXM.&#xA;&quot;&lt;code&gt;The email connection failed or the SMTP server could not verify the username and password.&lt;/code&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I setup SMTP in &lt;code&gt;Sitecore.EDS.Providers.CustomSmtp.config&lt;/code&gt; but still getting this error, am i missing something here? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;smtpSettings type=&quot;Sitecore.EDS.Core.Net.Smtp.SmtpSettings, Sitecore.EDS.Core&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;                  &amp;lt;server&amp;gt;XXXXXXXX&amp;lt;/server&amp;gt;&#xA;              &amp;lt;port&amp;gt;587&amp;lt;/port&amp;gt;&#xA;              &amp;lt;loginDomain&amp;gt;XXXXX&amp;lt;/loginDomain&amp;gt;&#xA;              &amp;lt;userName&amp;gt;XXXXXXXX&amp;lt;/userName&amp;gt;&#xA;              &amp;lt;password&amp;gt;XXXXXXXXX&amp;lt;/password&amp;gt;&#xA;              &amp;lt;authenticationMethod&amp;gt;NTLM&amp;lt;/authenticationMethod&amp;gt;&#xA;              &amp;lt;startTls&amp;gt;false&amp;lt;/startTls&amp;gt;&#xA;              &amp;lt;proxySettings ref=&quot;exm/eds/proxySettings&quot; /&amp;gt;&#xA;                &amp;lt;/smtpSettings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4722" LastEditorUserId="5096" LastEditDate="2019-05-08T05:49:21.820" LastActivityDate="2019-12-24T15:46:49.163" Title="EXM Email SMTP gives errror" Tags="|xconnect|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18522" PostTypeId="1" AcceptedAnswerId="18523" CreationDate="2019-05-07T19:38:55.713" Score="0" ViewCount="341" Body="&lt;p&gt;I'm using Sitecore 9.0.2 with Azure Search and Solr.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the weirdest search issue I've seen in a while. Take the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Restart the application (&lt;code&gt;iisreset&lt;/code&gt; or similar)&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the search index (completes successfully)&lt;/li&gt;&#xA;&lt;li&gt;Change an item and publish&lt;/li&gt;&#xA;&lt;li&gt;View the index directly and see the item was updated&lt;/li&gt;&#xA;&lt;li&gt;Load a page that executes a search query and see the expected items returned&lt;/li&gt;&#xA;&lt;li&gt;Change an item and publish&lt;/li&gt;&#xA;&lt;li&gt;View the index directly again and see the item was not updated&lt;/li&gt;&#xA;&lt;li&gt;Restart the application again&lt;/li&gt;&#xA;&lt;li&gt;View the index directly and see the item was updated&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I could execute steps 3 and 4 over and over and the updates continue to flow to the index until I execute step 5.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IEnumerable&amp;lt;ISitecoreItem&amp;gt; GetRelatedItems(IDataSource dataSource)&#xA;{&#xA;    var relatedItems = new List&amp;lt;ISitecoreItem&amp;gt;();&#xA;    using (var index = ContentSearchManager.GetIndex(indexName))&#xA;    {&#xA;        var remainingMaxItems = MaxItems;&#xA;        foreach (var root in dataSource.RelatedRootItems)&#xA;        {&#xA;            relatedItems.AddRange(GetItemsFromRoot(index, root, remainingMaxItems, currentItem.Language.Name));&#xA;            if (relatedItems.Count &amp;gt;= MaxItems)&#xA;            {&#xA;                break;&#xA;            }&#xA;&#xA;            remainingMaxItems = MaxItems - relatedItems.Count;&#xA;        }&#xA;    }&#xA;    return relatedItems;&#xA;}&#xA;&#xA;private IEnumerable&amp;lt;ISitecoreItem&amp;gt; GetItemsFromRoot(ISearchIndex index, ISitecoreItem root, int maxItems, string language)&#xA;{&#xA;    var relatedItems = new List&amp;lt;ISitecoreItem&amp;gt;();&#xA;    using (var context = index.CreateSearchContext())&#xA;    {&#xA;        var filterPredicate = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;&#xA;        // filter to only items based on the current page's language&#xA;        filterPredicate = filterPredicate.And(x =&amp;gt; x.Language == language);&#xA;&#xA;        // ensure root node&#xA;        filterPredicate = filterPredicate.And(x =&amp;gt; x.Path.StartsWith(root.FullPath));&#xA;&#xA;        // apply filters&#xA;        var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Filter(filterPredicate);&#xA;&#xA;        // apply paging (get number of results)&#xA;        query = query.Page(0, maxItems);&#xA;&#xA;        // get results and map&#xA;        var results = query.GetResults();&#xA;        var relatedItemResults = results.Hits.Select(x =&amp;gt; MapSearchResultToGlassSitecoreItem(x.Document)).ToList();&#xA;        relatedItems.AddRange(relatedItemResults);&#xA;    }&#xA;    return relatedItems;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And my index configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;local_azure_web_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot; patch:source=&quot;Sitecore.ContentSearch.Azure.Index.Web.ExcludeFields.config&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; desc=&quot;propertyStore&quot; param1=&quot;$(id)&quot;/&amp;gt;&#xA;    &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot;&amp;gt;&#xA;        &amp;lt;documentOptions ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/documentOptions&quot; patch:source=&quot;Sitecore.ContentSearch.Azure.Index.Web.ExcludeFields.config&quot;&amp;gt;&#xA;            &amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;&#xA;                &amp;lt;!-- omitted for brevity --&amp;gt;&#xA;            &amp;lt;/exclude&amp;gt;&#xA;        &amp;lt;/documentOptions&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;schemaBuilder ref=&quot;contentSearch/searchServiceSchemaBuilder&quot;/&amp;gt;&#xA;    &amp;lt;searchService type=&quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;    &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;        &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot;/&amp;gt;&#xA;    &amp;lt;/strategies&amp;gt;&#xA;    &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;            &amp;lt;/policy&amp;gt;&#xA;        &amp;lt;/policies&amp;gt;&#xA;    &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;    &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;        &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;        &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;/locations&amp;gt;&#xA;    &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;    &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I've tried:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rebuilding the index after the issue happens (it just returns immediately with no items updated)&lt;/li&gt;&#xA;&lt;li&gt;Changing the indexing strategy&lt;/li&gt;&#xA;&lt;li&gt;Disabling switch on rebuild&lt;/li&gt;&#xA;&lt;li&gt;Waiting a really long time to see if the index ever updates (overnight; it didn't)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;What could be causing this?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-05-07T19:38:55.713" Title="Index stops updating after a search query" Tags="|content-search|indexing|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18523" PostTypeId="2" ParentId="18522" CreationDate="2019-05-07T19:38:55.713" Score="4" Body="&lt;h1&gt;The Solution&lt;/h1&gt;&#xA;&lt;p&gt;The issue is with this line of code:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;using (var index = ContentSearchManager.GetIndex(indexName))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Remove its &lt;code&gt;using&lt;/code&gt; block and it will work:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var index = ContentSearchManager.GetIndex(indexName);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h1&gt;Why?&lt;/h1&gt;&#xA;&lt;p&gt;When the &lt;code&gt;using&lt;/code&gt; block exits it will call &lt;code&gt;.Dispose()&lt;/code&gt; on the index which stops indexing:&lt;/p&gt;&#xA;&lt;h2&gt;From &lt;code&gt;Sitecore.ContentSearch.AbstractSearchIndex&lt;/code&gt;&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;public void Dispose()&#xA;{&#xA;    this.Dispose(true);&#xA;    this.isDisposed = true;&#xA;    GC.SuppressFinalize(this);&#xA;}&#xA;&#xA;protected virtual void Dispose(bool isDisposing)&#xA;{&#xA;    if (this.isDisposed)&#xA;    {&#xA;        return;&#xA;    }&#xA;    this.StopIndexing();&#xA;    TypeActionHelper.Call&amp;lt;IDisposable&amp;gt;((IDisposable d) =&amp;gt; d.Dispose(), this.crawlers);&#xA;    this.isDisposed = true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-07T19:38:55.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18524" PostTypeId="2" ParentId="18521" CreationDate="2019-05-07T20:23:09.787" Score="2" Body="&lt;p&gt;When setting up the EXM SMTP Provider, there are a handful of settings you need to make sure are correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error you have posted is indicating that that there is something wrong with the credentials that you have configured.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either your password is wrong, your username is wrong, or your login authenticationMethod setting is wrong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would also make sure you have enabled the &lt;strong&gt;CustomSMTP&lt;/strong&gt; setting in the &lt;code&gt;eds:define&lt;/code&gt; variable in the web.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a full run down of EXM Custom SMTP settings and a walk through on how to set it up visit &lt;a href=&quot;https://sitecorehacker.com/2018/12/04/configuring-customsmtp-settings-in-exm/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/2018/12/04/configuring-customsmtp-settings-in-exm/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-05-07T20:23:09.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18525" PostTypeId="1" CreationDate="2019-05-08T00:19:26.600" Score="0" ViewCount="81" Body="&lt;p&gt;I am Working on &lt;strong&gt;Sitecore 9.0.2&lt;/strong&gt; and &lt;strong&gt;Dynamics Connector 2.0.1&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I started using Custom Model in my endpoint to sync custom data from &lt;code&gt;CRM&lt;/code&gt; to Sitecore my default &lt;code&gt;sync&lt;/code&gt; stopped working i.e. Name , Email these fields are not getting synced anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Idea on this issue ?&lt;/p&gt;&#xA;" OwnerUserId="3900" LastEditorUserId="5096" LastEditDate="2019-05-08T08:22:37.197" LastActivityDate="2019-05-08T08:22:37.197" Title="CRM SItecore Connection - Dynamics Connector" Tags="|xconnect|dynamics-crm-module|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18526" PostTypeId="2" ParentId="18521" CreationDate="2019-05-08T05:20:36.397" Score="0" Body="&lt;p&gt;It seems like your credential is not correct. Can you please try with gmail credential for testing with below settings?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;smtpSettings type=&quot;Sitecore.EDS.Core.Net.Smtp.SmtpSettings, Sitecore.EDS.Core&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;          &amp;lt;server&amp;gt;smtp.gmail.com&amp;lt;/server&amp;gt;&#xA;          &amp;lt;port&amp;gt;587&amp;lt;/port&amp;gt;&#xA;          &amp;lt;userName&amp;gt;XXX.XXX@gmail.com&amp;lt;/userName&amp;gt;&#xA;          &amp;lt;password&amp;gt;XXXX&amp;lt;/password&amp;gt;&#xA;          &amp;lt;authenticationMethod&amp;gt;LOGIN&amp;lt;/authenticationMethod&amp;gt;&#xA;          &amp;lt;startTls&amp;gt;true&amp;lt;/startTls&amp;gt;&#xA;          &amp;lt;proxySettings ref=&quot;exm/eds/proxySettings&quot; /&amp;gt;&#xA;        &amp;lt;/smtpSettings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-05-08T05:20:36.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18528" PostTypeId="2" ParentId="17191" CreationDate="2019-05-08T06:16:25.480" Score="3" Body="&lt;p&gt;This issue is with the product itself, not related to the configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;BaseHasPlugins&lt;/code&gt; class is not a thread-safe. Basically, it holds the list of plugins associated with some pipeline-step (in this case).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you are running it with multiple threads: while one thread is using the method &lt;code&gt;public IPlugin GetPlugin(Type type)&lt;/code&gt; which enumerates over a list of internal plugins, another thread is trying to add/modify a new plugin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please contact Sitecore Support to resolve it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Workaround&lt;/strong&gt;:&#xA;You can inherit the current pipeline step processor, and override &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;protected override bool AreRequiredPluginsSet()&#xA;{&#xA;     return true;&#xA;}&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="5491" LastEditorUserId="237" LastEditDate="2019-05-08T07:50:33.467" LastActivityDate="2019-05-08T07:50:33.467" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18529" PostTypeId="1" CreationDate="2019-05-08T06:30:47.263" Score="1" ViewCount="533" Body="&lt;p&gt;When publishing is performed, the following message is recorded in the publishing log and publishing is not performed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Publish Item: Name=Home, Uri=sitecore://master/{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}?lang=ja-JP&amp;amp;ver=1, Operation=None, ChildAction=Skip, Explanation=Target item should be deleted, but was not found. Item id: {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}, database: stage&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Looking at the stage database, there is no &lt;code&gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to publish &lt;code&gt;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&lt;/code&gt; to the stage database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What kind of correspondence will it be to publish again?&lt;/p&gt;&#xA;" OwnerUserId="3869" LastEditorUserId="5096" LastEditDate="2019-05-08T08:01:40.790" LastActivityDate="2021-09-25T05:01:40.193" Title="Publishing is skipped" Tags="|publishing|" AnswerCount="1" CommentCount="4" ClosedDate="2021-09-25T16:31:03.040" ContentLicense="CC BY-SA 4.0" />
  <row Id="18530" PostTypeId="1" CreationDate="2019-05-08T06:42:22.223" Score="0" ViewCount="107" Body="&lt;p&gt;I am using Dynamics Connector to sync data between Sitecore and CRM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to update a dropdown field with selected value in CRM from Sitecore. Any suggestions on how this can be mapped ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://integrationsdn.sitecore.net/DynamicsCrmConnect/v2.0.1/adding-custom-data/sitecore-to-dynamics/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://integrationsdn.sitecore.net/DynamicsCrmConnect/v2.0.1/adding-custom-data/sitecore-to-dynamics/index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The documentation does not have details of custom mapping.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Samridhi&lt;/p&gt;&#xA;" OwnerUserId="3900" LastEditorUserId="73" LastEditDate="2019-05-15T11:54:42.347" LastActivityDate="2024-03-16T07:00:30.057" Title="Sync Option Set Value From XDB to CRM" Tags="|dynamics-crm-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18531" PostTypeId="2" ParentId="18500" CreationDate="2019-05-08T07:37:37.137" Score="0" Body="&lt;p&gt;The problem was that I had previously installed a different version of &lt;strong&gt;Sitecore Experience Commerce&lt;/strong&gt;. Removing the old installation (IIS sites and app pools, directories, databases and solr cores), and re-running the script fixed the issue. &lt;/p&gt;&#xA;" OwnerUserId="5485" LastActivityDate="2019-05-08T07:37:37.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18533" PostTypeId="1" AcceptedAnswerId="18536" CreationDate="2019-05-08T07:55:23.733" Score="3" ViewCount="381" Body="&lt;p&gt;I am facing an issue during syncing of item using TDS into Sitecore, the issue is given below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; Error reading item:&#xA;&gt; /sitecore/client/Applications/ExperienceProfile/Contact/PageSettings/Tabs/Custom&#xA;&gt; Tab&#xA;&gt; &#xA;&gt; Length of field content does not match the content-length attribute.&#xA;&gt; Field name: __Renderings, field id:&#xA;&gt; {F1A1FE9E-A60C-4DDB-A3A0-BB5B29FE732E}&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I followed various blog post which as given below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.coreysmith.co/hedgehog-tds-field-content-does-not-match-content-length/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.coreysmith.co/hedgehog-tds-field-content-does-not-match-content-length/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://seankearney.com/post/Using-Team-Development-for-Sitecore-with-GitHub&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://seankearney.com/post/Using-Team-Development-for-Sitecore-with-GitHub&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But still, the problem persists, Please help, if you have an idea. &lt;/p&gt;&#xA;" OwnerUserId="5417" LastEditorUserId="73" LastEditDate="2019-10-16T10:50:04.490" LastActivityDate="2019-10-16T10:50:04.490" Title="Length of field content does not match the content-length attribute" Tags="|tds|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18535" PostTypeId="1" AcceptedAnswerId="18537" CreationDate="2019-05-08T08:20:40.023" Score="0" ViewCount="2408" Body="&lt;p&gt;There is a Controller rendering and in its &lt;code&gt;Data source&lt;/code&gt; field, I gave the path of the datasource item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;[ The datasource item's path is set in the rendering itself and not in the presentation details. ]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can get the datasource item in code like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string datasourceId = Sitecore.Mvc.Presentation.RenderingContext.CurrentOrNull.Rendering.DataSource;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the same is not working for a View rendering. The code returns empty value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The View rendering is loaded from the layout's cshtml like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;&amp;lt;path of the rendering&amp;gt;&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Tried with and without assigning a Sitecore model to the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2019-05-08T08:43:14.293" LastActivityDate="2019-05-08T12:53:26.067" Title="How to read Data source field value in view rendering" Tags="|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18536" PostTypeId="2" ParentId="18533" CreationDate="2019-05-08T09:00:56.543" Score="5" Body="&lt;p&gt;As mentioned in document which you are following you need to &lt;code&gt;*.item -text&lt;/code&gt; this line into &lt;code&gt;.gitattributes&lt;/code&gt; file. Then try to reload your solution. It should work.&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-05-10T07:26:07.920" LastActivityDate="2019-05-10T07:26:07.920" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18537" PostTypeId="2" ParentId="18535" CreationDate="2019-05-08T09:39:42.297" Score="2" Body="&lt;p&gt;There are two ways to get the datasource value in your case.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You need to provide datasource item from your layout where you are calling the Rendering as partial as given below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    var datasourceItem = &quot;Guid or Path of item&quot;&#xA;}&#xA;&#xA;@Html.Sitecore().Rendering(&quot;RenderingPath&quot;, new { DataSource = datasourceItem })&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Or if your data-source will always remain same then you need to provide/enter the datasource value into Datasource field of rendering and then by the below code you can get the value of datasource field on rendering.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RenderingContext.CurrentOrNull.Rendering.RenderingItem.DataSource&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this will help you.&lt;/p&gt;&#xA;" OwnerUserId="361" LastEditorUserId="70" LastEditDate="2019-05-08T12:53:26.067" LastActivityDate="2019-05-08T12:53:26.067" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18538" PostTypeId="1" CreationDate="2019-05-08T09:41:19.613" Score="1" ViewCount="120" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9.0.2&lt;/code&gt;. I have created &lt;code&gt;custom EXM template&lt;/code&gt; using below links:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/walkthrough--building-a-custom-message-template.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/walkthrough--building-a-custom-message-template.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;What I have done so far&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Created custom template for newsletter&lt;/li&gt;&#xA;&lt;li&gt;Created custom layout&lt;/li&gt;&#xA;&lt;li&gt;Created custom component (Quick Links)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;What I have done so for Quick Link component&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;I am using controller rendering&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For the &lt;code&gt;Quick link&lt;/code&gt; component, I will have a parent data source and I can have multiple child items.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I am getting parent data source and binding child item which is working fine&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Also In parent data source template's standard value, I have assigned child item&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In core DB, I have created &lt;code&gt;custom experience button&lt;/code&gt; &lt;code&gt;New&lt;/code&gt; to create child item and also selected &lt;code&gt;New&lt;/code&gt; in rendering&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;My issue is that when I have added component from EXM template and when I am trying to create new child item, in the console it is showing an error message and allowing to add a child item&#xA;&lt;a href=&quot;https://i.stack.imgur.com/wYYQl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wYYQl.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qXLIq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qXLIq.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&#xA;TypeError: ribbonFrame is undefined[Learn More] ExperienceEditor.js:463:17&#xA;    getRibbonWindow http://onesitecore.local/-/speak/v1/ExperienceEditor/ExperienceEditor.js:463&#xA;    getApp http://onesitecore.local/-/speak/v1/ExperienceEditor/ExperienceEditor.js:467&#xA;    initialized http://onesitecore.local/sitecore/shell/client/Sitecore/ExperienceEditor/Dialogs/InsertPage/InsertPagePageCode.js:9&#xA;    run http://onesitecore.local/sitecore/shell/client/Speak/Assets/lib/core/1.1/sitecore-1.0.2.js:685&#xA;    runPageCode http://onesitecore.local/sitecore/shell/client/Speak/Assets/lib/core/1.1/sitecore-1.0.2.js:986&#xA;    run http://onesitecore.local/sitecore/shell/client/Speak/Assets/lib/core/1.1/sitecore-1.0.2.js:1010&#xA;    execCb http://onesitecore.local/sitecore/shell/client/Speak/Assets/lib/core/2.0/deps/require.js:1650&#xA;    check http://onesitecore.local/sitecore/shell/client/Speak/Assets/lib/core/2.0/deps/require.js:866&#xA;    enable http://onesitecore.local/sitecore/shell/client/Speak/Assets/lib/core/2.0/deps/require.js:1143&#xA;    init http://onesitecore.local/sitecore/shell/client/Speak/Assets/lib/core/2.0/deps/require.js:774&#xA;    localRequire http://onesitecore.local/sitecore/shell/client/Speak/Assets/lib/core/2.0/deps/require.js:1416&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-06-03T10:34:10.080" Title="TypeError: ribbonFrame is undefined" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18539" PostTypeId="1" CreationDate="2019-05-08T10:35:12.030" Score="0" ViewCount="265" Body="&lt;p&gt;Need some clarification on Checklist filter in Sitecore &lt;code&gt;SXA&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a field in a template where the type is &lt;code&gt;droplist&lt;/code&gt;. Using this field as one of the filters facet in search. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added the field to index for the &lt;code&gt;facets&lt;/code&gt; to appear.&#xA;Now when i create a checklist filter and use this field its not showing the facets, where as if i create a &lt;code&gt;dropdown&lt;/code&gt; filter use the same field the facets are loading.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it like the checklist filter will work only with fields of type checklist ?&lt;/p&gt;&#xA;" OwnerUserId="5030" LastEditorUserId="73" LastEditDate="2021-06-28T10:14:48.957" LastActivityDate="2021-06-28T10:14:48.957" Title="Checklist facet filter is not showing values" Tags="|sxa|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18540" PostTypeId="2" ParentId="18520" CreationDate="2019-05-08T12:48:36.970" Score="0" Body="&lt;p&gt;There is no easy way to limit Rendering Variants to certain Partial Design's and that is not the way you should go. Create different Page Designs and map them to different page templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can try using your own templates for Partial Design (and inherit for the base one) but that is the last thing I would suggest.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-08T12:48:36.970" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18541" PostTypeId="1" CreationDate="2019-05-08T13:21:11.777" Score="2" ViewCount="462" Body="&lt;p&gt;I have a list of item and by using reference variant, I'm able to loop the items with the multi-list values. Now each tile which is displayed should wrap with two fields (ie., image and title) with anchor tag that points to context item on clicking this should open a details page of that tile.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xfX1K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xfX1K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now that problem is after check the &quot;islink&quot; with the wrapping of anchor (&lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt;) between two fields and the link which is generating the relative URL is from (site tenant/Site/Home) instead of excluding till start item path as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Actual URL:&lt;/strong&gt; &lt;a href=&quot;http://domainname/sitetenant/sitename/home/Company/..../..../..../itemname&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://domainname/sitetenant/sitename/home/Company/..../..../..../itemname&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Expected URL:&lt;/strong&gt;&lt;a href=&quot;http://domainname/Company/about/..../..../itemname&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://domainname/Company/about/..../..../itemname&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest a way to generate a context item URL excluding start item path. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using SXA 1.8 on 9.0.2 sitecore.&lt;/p&gt;&#xA;" OwnerUserId="2473" LastActivityDate="2024-01-17T15:06:25.717" Title="In SXA, rendering variant - need to generate context item url" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18542" PostTypeId="2" ParentId="1308" CreationDate="2019-05-08T13:27:03.687" Score="0" Body="&lt;p&gt;In my case (i am running Sitecore 9) the facet types also changed and some of the old facet objects remained serialized on disk in ~\Website\App_Data\Submit Queue folder. After deleting the file in that folder the problem is fixed. The reason why Sitecore stores facet objects there is that if the xConnect is not available for whatever reason the current session gets serialized (including contacts info and facets) and is written into ~\Website\App_Data\Submit Queue folder. Sitecore then retries sending this session data to xConnect at certain intervals.&lt;/p&gt;&#xA;" OwnerUserId="2621" LastActivityDate="2019-05-08T13:27:03.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18543" PostTypeId="1" CreationDate="2019-05-08T13:38:54.627" Score="0" ViewCount="126" Body="&lt;p&gt;From times to times I face this very much weird issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All of a sudden I'm &lt;strong&gt;no longer able to access the Sitecore administrator console&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I type &lt;code&gt;/sitecore&lt;/code&gt; I'm always redirected to the home page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rFcOP.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rFcOP.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-08T13:38:54.627" Title="www.website.com/sitecore always redirecting to www.website.com" Tags="|admin-pages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18544" PostTypeId="2" ParentId="18543" CreationDate="2019-05-08T13:38:54.627" Score="1" Body="&lt;p&gt;To bypass this annoying redirect, instead of typing &lt;code&gt;/sitecore&lt;/code&gt; I just type &lt;code&gt;/sitecore/login&lt;/code&gt; and keep moving.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The last time this happened I decided to &lt;strong&gt;investigate a little bit more the cookies involved&lt;/strong&gt; in the issue and realized that by deleting the cookie &lt;code&gt;sitecore_userticket&lt;/code&gt; the bug stop happening.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZAhvb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZAhvb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using those two strategies I can get rid of the weird issue even it doesn't explain why that happened at first place.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-08T13:38:54.627" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18545" PostTypeId="1" CreationDate="2019-05-08T13:50:32.483" Score="0" ViewCount="209" Body="&lt;p&gt;Can &lt;code&gt;taglist&lt;/code&gt; component be used inside search result rendering variant? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to use it with in search result rendering and it is just keep spinning and not showing any results. In the &lt;code&gt;console&lt;/code&gt;, I am seeing &quot;&lt;code&gt;Value cannot be null. parameter name: database&lt;/code&gt;&quot;. I am using sitecore 9.1.1 with Sitecore &lt;code&gt;SXA&lt;/code&gt; 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for in advance for any help. &lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="5096" LastEditDate="2019-05-08T14:18:22.167" LastActivityDate="2021-05-28T11:00:35.120" Title="Insert taglist Component inside search result rendering variant" Tags="|sxa|components|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18547" PostTypeId="1" CreationDate="2019-05-08T14:39:25.043" Score="1" ViewCount="114" Body="&lt;p&gt;Just for curiosity want to know more detail about  &lt;code&gt;Administration Tools - Package Item&lt;/code&gt;. It mentions &lt;strong&gt;include&lt;/strong&gt; item reference,presentation details and workflow etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please give more details about advantages of this utility over &lt;code&gt;Package Designer&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mQB6A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mQB6A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-05-08T14:59:45.993" Title="What are main advantages &quot;Administration Tools - Package Item&quot; over Package Designer?" Tags="|admin-pages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18548" PostTypeId="2" ParentId="18547" CreationDate="2019-05-08T14:59:45.993" Score="2" Body="&lt;p&gt;The &lt;code&gt;Package Item&lt;/code&gt; tools can be used to generate packages of items with their &lt;strong&gt;dependencies&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unlike the &lt;code&gt;Package Designer&lt;/code&gt; wizard accessible from through the &lt;code&gt;Desktop&lt;/code&gt; though, the UI here is much more limited but the tool will package the dependencies of an item as well: all item references, presentation items if you’re using &lt;code&gt;Webforms&lt;/code&gt;, custom assemblies, &lt;code&gt;workflow items&lt;/code&gt; and &lt;code&gt;templates&lt;/code&gt;. Very useful for creating packages of pages for distribution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This page(&lt;code&gt;admin/PackageItem.aspx&lt;/code&gt;) makes Sitecore package of the specified item and puts it into the &lt;code&gt;/temp&lt;/code&gt; folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt; &lt;a href=&quot;https://jammykam.wordpress.com/2016/08/23/sitecore-admin-pages-cheat-sheet-new-tools/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2016/08/23/sitecore-admin-pages-cheat-sheet-new-tools/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-05-08T14:59:45.993" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18550" PostTypeId="1" CreationDate="2019-05-08T15:11:31.707" Score="2" ViewCount="151" Body="&lt;p&gt;What exactly needs to be written in the Data source of the partial design such that when the page using this design is previewed, it takes data source from current page's local data folder. I tried some queries like &#xA;&lt;code&gt;query:./*[@@templateid='{SOME TEMPLATE ID}']&lt;/code&gt; which don't seem to be working here, throwing error. Please help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E1Vjr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E1Vjr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="70" LastEditDate="2019-05-08T23:05:42.103" LastActivityDate="2019-05-08T23:05:42.103" Title="How to make a SXA component in the partial design to read data from the current page's local data folder?" Tags="|sxa|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18551" PostTypeId="1" AcceptedAnswerId="18553" CreationDate="2019-05-08T16:00:16.357" Score="0" ViewCount="178" Body="&lt;p&gt;According to &lt;code&gt;Microsoft SQL 2014 SP2&lt;/code&gt; loses Mainstream Support from Microsoft in July  2019. (&lt;a href=&quot;https://support.microsoft.com/en-us/lifecycle/search/17645&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://support.microsoft.com/en-us/lifecycle/search/17645&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many Sitecore environments utilize this version of &lt;code&gt;SQL&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What has Sitecore said about this when previous versions of &lt;code&gt;SQL&lt;/code&gt; lost mainstream support? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are peoples thoughts the ramifications of this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this an urgent item that should compel companies to upgrade, say to Sitecore 8.2 Upgrade 3+? &lt;/p&gt;&#xA;" OwnerUserId="2100" LastEditorUserId="5096" LastEditDate="2019-05-09T10:39:20.253" LastActivityDate="2019-05-09T10:39:20.253" Title="What is the significance of end of Mainstream Support on SQL 2014 SP2 for Sitecore 8.x" Tags="|sql-database|support|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18552" PostTypeId="1" AcceptedAnswerId="18554" CreationDate="2019-05-08T16:10:42.630" Score="5" ViewCount="1008" Body="&lt;p&gt;Environment: Sitecore 9.0.2 + SXA in XP0 on VM&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I am trying: I am trying to enable xConnect on my VM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I did: I followed the steps provided in &lt;a href=&quot;https://chrisperks.co/2018/03/13/enable-xconnect-on-a-local-developer-machine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blog&lt;/a&gt; but was unable to get it up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Log: Under xConnect, I have no log corresponding to it. Under my Sitecore Client, I have the following log entry:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: The certificate was not found.&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.CertificateWebRequestHandlerModifier.Process(HttpClientHandler handler)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What are my findings till now:&#xA;I have validated my settings and have the following points in order:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;thumbprint of certificate in the certificate manager and both the&#xA;configs of xConnect&lt;/li&gt;&#xA;&lt;li&gt;The certificate is not expired.&lt;/li&gt;&#xA;&lt;li&gt;On browsing the xConnect site with https, I do not see any warning or error.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Where should I look further?&#xA;Regards&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="342" LastEditDate="2019-05-08T19:42:33.347" LastActivityDate="2019-05-13T05:07:37.390" Title="Certificate not found for xConnect" Tags="|xconnect|certificate|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18553" PostTypeId="2" ParentId="18551" CreationDate="2019-05-08T16:15:19.480" Score="1" Body="&lt;p&gt;For an answer to your question you should contact Sitecore (or Sitecore Support) directly. (Also I believe it's 7 September, not July 9).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, for some additinoal information that might help prepare: as we can see in the &lt;a href=&quot;https://kb.sitecore.net/articles/641167&quot; rel=&quot;nofollow noreferrer&quot;&gt;Product Support Lifecycle KB&lt;/a&gt; Sitecore 8.2 is in mainstream support until 31 December 2019. Looking at the &lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;Compatibility Guide&lt;/a&gt; we can see that Sitecore 9 does not support SQL Server 2014 (except when using the CMS-only offering). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll also notice that there's an extended support offering for both Sitecore (31 December 2022 for extended support, sustained support ends 31 December 2024) and SQL 2014 Service Pack 2 (7 September 2024).&lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2019-05-08T16:15:19.480" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18554" PostTypeId="2" ParentId="18552" CreationDate="2019-05-08T19:22:55.433" Score="4" Body="&lt;p&gt;&lt;a href=&quot;https://coveoticore.wordpress.com/2019/02/19/how-to-fix-a-certificate-issue-on-a-sitecore-9-1-instance/&quot; rel=&quot;nofollow noreferrer&quot;&gt;I wrote about this troubleshoot&lt;/a&gt; a few weeks ago, but here are the main steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. Make sure you have the rights certificates on the right places:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Local Computer Certificates&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Trusted Root Certification Authorities:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;DO_NOT_TRUST_SitecoreRootCert with private key&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Personal:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;One certificate for your xConnect website issued by DO_NOT_TRUST_SitecoreRootCert&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Current User Certificates&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Trusted Root Certification Authorities:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;DO_NOT_TRUST_SitecoreRootCert with private key&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Personal:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;DO_NOT_TRUST_SitecoreRootCert with private key&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. Make sure you have the right xConnect certificate thumbprint here:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;.sc\App_Config\ConnectionStrings.config&lt;/li&gt;&#xA;&lt;li&gt;.xconnect\App_Config\AppSettings.config&lt;/li&gt;&#xA;&lt;li&gt;.xconnect\App_Data\jobs\continuous\AutomationEngine\App_Config\ConnectionStrings.config&lt;/li&gt;&#xA;&lt;li&gt;.xconnect\App_Data\jobs\continuous\ProcessingEngine\App_Config\ConnectionStrings.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. Make sure you have the right certificate on IIS for xConnect website&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gE0Pl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gE0Pl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;4. Make sure the xConnect website ISS App user has the right access on your certificate&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YYVO1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YYVO1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-05-08T19:28:05.773" LastActivityDate="2019-05-08T19:28:05.773" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18556" PostTypeId="2" ParentId="18529" CreationDate="2019-05-08T23:37:11.830" Score="0" Body="&lt;p&gt;Martin has a really good blog post outlining a number of things to check here: &lt;a href=&quot;http://blog.martinmiles.net/post/item-not-published-troubleshooting&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.martinmiles.net/post/item-not-published-troubleshooting&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In summary the key things to check are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;check the items workflow state&lt;/li&gt;&#xA;&lt;li&gt;check the items (and parent items) publishing restrictions&lt;/li&gt;&#xA;&lt;li&gt;check you are publishing the correct version&lt;/li&gt;&#xA;&lt;li&gt;check security / permissions&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-05-08T23:37:11.830" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18557" PostTypeId="2" ParentId="18463" CreationDate="2019-05-08T23:49:24.530" Score="1" Body="&lt;p&gt;I can't say for sure if you have had the same issue as myself and Gatogordo but in 8.2 u7 and 9.02 there is a bug that prevents the active index name being updated correctly in the core db on CD servers. I've not got round to blogging about it but will do when I get a minute. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this bug also exists with 9.1 you should be able to get a hotfix from support also. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more info on this here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/17792/getting-the-primary-azure-search-index-name-after-index-re-build&quot;&gt;Getting the primary Azure Search Index name after index re-build&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The hotfix for 8.2.7 moved storage of the index name in use into an Azure index instead of the core db and this works fine.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-05-08T23:49:24.530" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18558" PostTypeId="1" CreationDate="2019-05-09T04:31:28.833" Score="1" ViewCount="3628" Body="&lt;p&gt;We are using Sitecore 9.1 &lt;code&gt;MVC&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is possible to get all rendering references for a given item by using: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Visualization.GetRenderings(Sitecore.Context.Device, true)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, this will give me an array of RenderingReference. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module I am developing, needs to run this pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PipelineService.Get().RunPipeline&amp;lt;RenderRenderingArgs&amp;gt;(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(rendering, writer));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which requires a &lt;code&gt;Rendering&lt;/code&gt; object and not a 'RenderingRef' object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get the corresponding &lt;code&gt;Rendering&lt;/code&gt; from  RenderingRef?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="5096" LastEditDate="2019-05-09T05:31:00.187" LastActivityDate="2019-05-09T06:48:48.300" Title="How to get Rendering from RenderingReference" Tags="|presentation|mvc|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18559" PostTypeId="2" ParentId="18558" CreationDate="2019-05-09T04:51:46.873" Score="0" Body="&lt;p&gt;You can get corresponding renderings of item using below code :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; string deviceName = &quot;Default&quot;.ToLower();&#xA;            var deviceItem = item.Database.Resources.Devices.GetAll().Where(d =&amp;gt; d.Name.ToLower() == deviceName).First();&#xA;            if (deviceItem != null)&#xA;            {&#xA;                var renderings = item.Visualization.GetRenderings(deviceItem, false);&#xA;                if (renderings != null)&#xA;                {&#xA;                     foreach (var renderingref in renderings)&#xA;                    {&#xA;&#xA;                    }                   &#xA;                }&#xA;&#xA;            }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-05-09T04:51:46.873" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18560" PostTypeId="2" ParentId="15382" CreationDate="2019-05-09T05:44:06.673" Score="3" Body="&lt;p&gt;It is not possible to track user with Sitecore Mobile SDK. You have to use Sitecore universal tracker but before that you will have to migrate to Sitecore9.1. Universal tracker works with Sitecore 9.1+ versions only&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-05-09T05:44:06.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18561" PostTypeId="1" AcceptedAnswerId="20966" CreationDate="2019-05-09T06:21:22.383" Score="1" ViewCount="558" Body="&lt;p&gt;I am getting a strange error when deploying a &lt;code&gt;JSS&lt;/code&gt; application to Sitecore and running in Integrated mode. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Rendering data contained rendering reference ID&#xA;  6cc52330-7130-49a8-9585-5b9b8d946847 but that rendering ID was not&#xA;  present in the rendered renderings context. This ought not to occur. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[InvalidOperationException: Rendering data contained rendering&#xA;  reference ID 6cc52330-7130-49a8-9585-5b9b8d946847 but that rendering&#xA;  ID was not present in the rendered renderings context. This ought not&#xA;  to occur.]&#xA;  Sitecore.LayoutService.ItemRendering.PlaceholderRenderingService.ConvertRenderedPlaceholderMarkup(RenderedPlaceholder&#xA;  placeholder, String contents, RenderedJsonRenderingContext&#xA;  renderedRenderingContext)&#xA;  +969Sitecore.LayoutService.ItemRendering.PlaceholderRenderingService.RenderPlaceholder(PlaceholderDefinition&#xA;  placeholderDefinition, IRenderingConfiguration renderingConfiguration)&#xA;  +499   System.Linq.WhereSelectListIterator&lt;code&gt;2.MoveNext() +117   System.Linq.WhereEnumerableIterator&lt;/code&gt;1.MoveNext() +124&lt;br&gt;&#xA;  System.Collections.Generic.List&lt;code&gt;1..ctor(IEnumerable&lt;/code&gt;1 collection) +436&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This seems to be related to cache. If I clear the cache via &lt;code&gt;/sitecore/admin/cache.aspx&lt;/code&gt; the next page refesh will work. Any subsequent page refresh will fail again after the first load and the Rendering ID in the error message changes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any hints on the source of the issue are appreciated. &lt;/p&gt;&#xA;" OwnerUserId="2714" LastEditorUserId="605" LastEditDate="2019-09-10T18:49:01.097" LastActivityDate="2019-09-10T19:26:51.720" Title="What is the cause of the error - Rendering ID was not present in the rendered renderings context?" Tags="|jss|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18562" PostTypeId="2" ParentId="18558" CreationDate="2019-05-09T06:48:48.300" Score="2" Body="&lt;p&gt;As pointed out by @Abhishek Malaviya, there was an answer at this reference:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.cmsbestpractices.com/sitecore-item-rendering-best-practice/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.cmsbestpractices.com/sitecore-item-rendering-best-practice/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For completeness sake, this is the code that creates a Rendering from a RenderingRef:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var renderings = new List&amp;lt;Rendering&amp;gt;();&#xA;&#xA;var refs = Item.Visualization.GetRenderings(Context.Device, false);&#xA;if (!refs.Any())&#xA;  return null;&#xA;&#xA;var renderingReferences = refs.Where(r =&amp;gt; !(Context.Database.GetItem(r.RenderingID).TemplateID.ToString() == &quot;{86776923-ECA5-4310-8DC0-AE65FE88D078}&quot; &amp;amp;&amp;amp; string.IsNullOrWhiteSpace(r.Settings.DataSource))).ToList();&#xA;&#xA;if (!renderingReferences.Any())&#xA;  return null;&#xA;&#xA;renderings.AddRange(renderingReferences.Select(r =&amp;gt; new Rendering&#xA;{&#xA;    RenderingItemPath = r.RenderingID.ToString(),&#xA;    Parameters = new RenderingParameters(r.Settings.Parameters),&#xA;    DataSource = r.Settings.DataSource&#xA;}));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3416" LastActivityDate="2019-05-09T06:48:48.300" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18563" PostTypeId="2" ParentId="18545" CreationDate="2019-05-09T07:50:33.250" Score="1" Body="&lt;p&gt;Please take the bellow approach as this is working quite fine for me (I've just checked it). I have a couple of pages which I've tagged with three tags:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6fiGz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6fiGz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Modify your Search Results rendering variant and add Variant Reference item and use &lt;code&gt;SxaTags&lt;/code&gt; field to pass through:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qDVIW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qDVIW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under Variant Reference drop a variant field which will display Title of a tag item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6dQ7S.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6dQ7S.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the results:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7mw13.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7mw13.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-09T07:50:33.250" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18565" PostTypeId="1" CreationDate="2019-05-09T09:41:16.960" Score="1" ViewCount="161" Body="&lt;p&gt;I am having issue with the &lt;code&gt;Azure Search&lt;/code&gt; where I am not getting results from the search index (it is random issue).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I’ve verified the configurations of &lt;code&gt;Azure search&lt;/code&gt; and computed index fields. Below is the Azure Search query from the Sitecore &lt;strong&gt;logs:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;((contentbody_s:(/.*philosopher.*/)))&amp;amp;queryType=full&amp;amp;$skip=0&amp;amp;$top=10&amp;amp;$count=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried to verify above query in the &lt;code&gt;Azure search&lt;/code&gt; explorer but getting no results. Then I’ve tried by removing the &lt;code&gt;queryType=full&lt;/code&gt; and I am getting the results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also the same query is working for other keywords like Hope, Happiness.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can any one suggest what might be the issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="479" LastEditorUserId="5096" LastEditDate="2019-05-09T10:09:15.510" LastActivityDate="2019-10-07T12:03:25.493" Title="Azure search random behavior running for Sitecore 9.0.2" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18567" PostTypeId="1" CreationDate="2019-05-09T10:50:57.713" Score="-1" ViewCount="1012" Body="&lt;p&gt;I wonder if someone could help or point me in the right direction as a Sitecore novice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a Sitecore MVC controller wired up to accept a JSON request. Within this request can be a Base64 encoded image. Any image over the 2mb mark will cause a 500 error and an entry in the Sitecore logs(log below). The method is never hit so the problem must be before it. I've tried adding numerous web.config entries to raise this limit to no avail and I believe it is a Sitecore restriction. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help of shed any light this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many thanks&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;17964 09:32:43 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at Sitecore.Mvc.Controllers.SitecoreActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.&amp;lt;&amp;gt;c__DisplayClass22.&amp;lt;BeginExecuteCore&amp;gt;b__1e()&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.&amp;lt;.cctor&amp;gt;b__0(IAsyncResult asyncResult, Action action)&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ArgumentException&#xA;Message: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.&#xA;Parameter name: input&#xA;Source: System.Web.Extensions&#xA;   at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)&#xA;   at System.Web.Mvc.JsonValueProviderFactory.GetDeserializedObject(ControllerContext controllerContext)&#xA;   at System.Web.Mvc.JsonValueProviderFactory.GetValueProvider(ControllerContext controllerContext)&#xA;   at System.Web.Mvc.ValueProviderFactoryCollection.GetValueProvider(ControllerContext controllerContext)&#xA;   at System.Web.Mvc.ControllerBase.get_ValueProvider()&#xA;   at System.Web.Mvc.ControllerActionInvoker.GetParameterValue(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor)&#xA;   at System.Web.Mvc.ControllerActionInvoker.GetParameterValues(ControllerContext controllerContext, ActionDescriptor actionDescriptor)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&#xA;&#xA;17964 09:32:43 ERROR Catching Exception in Global.asax_Application_Error&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at Sitecore.Mvc.Controllers.SitecoreActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.&amp;lt;&amp;gt;c__DisplayClass22.&amp;lt;BeginExecuteCore&amp;gt;b__1e()&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.&amp;lt;.cctor&amp;gt;b__0(IAsyncResult asyncResult, Action action)&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.ArgumentException&#xA;Message: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.&#xA;Parameter name: input&#xA;Source: System.Web.Extensions&#xA;   at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)&#xA;   at System.Web.Mvc.JsonValueProviderFactory.GetDeserializedObject(ControllerContext controllerContext)&#xA;   at System.Web.Mvc.JsonValueProviderFactory.GetValueProvider(ControllerContext controllerContext)&#xA;   at System.Web.Mvc.ValueProviderFactoryCollection.GetValueProvider(ControllerContext controllerContext)&#xA;   at System.Web.Mvc.ControllerBase.get_ValueProvider()&#xA;   at System.Web.Mvc.ControllerActionInvoker.GetParameterValue(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor)&#xA;   at System.Web.Mvc.ControllerActionInvoker.GetParameterValues(ControllerContext controllerContext, ActionDescriptor actionDescriptor)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&#xA;&#xA;24124 09:32:47 INFO  [Experience Analytics]: Reduce agent found zero segments to process&#xA;ManagedPoolThread #4 09:32:52 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #4 09:32:52 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;ManagedPoolThread #16 09:33:02 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #16 09:33:02 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;ManagedPoolThread #3 09:33:12 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #3 09:33:12 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;24124 09:33:17 INFO  [Experience Analytics]: Reduce agent found zero segments to process&#xA;ManagedPoolThread #9 09:33:22 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #9 09:33:22 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;ManagedPoolThread #13 09:33:33 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #13 09:33:33 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;ManagedPoolThread #1 09:33:43 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #1 09:33:43 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;24124 09:33:47 INFO  [Experience Analytics]: Reduce agent found zero segments to process&#xA;ManagedPoolThread #12 09:33:53 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #12 09:33:53 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;ManagedPoolThread #8 09:34:03 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #8 09:34:03 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;ManagedPoolThread #19 09:34:13 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #19 09:34:13 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;24124 09:34:17 INFO  [Experience Analytics]: Reduce agent found zero segments to process&#xA;ManagedPoolThread #5 09:34:23 INFO  Job started: Sitecore.ListManagement.Analytics.UnlockContactListsAgent&#xA;ManagedPoolThread #5 09:34:23 INFO  Job ended: Sitecore.ListManagement.Analytics.UnlockContactListsAgent (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5498" LastEditorUserId="73" LastEditDate="2019-05-09T11:03:48.167" LastActivityDate="2019-06-08T12:04:00.523" Title="Issue sending Base64 encoded image in JSON to Sitecore MVC controller method" Tags="|mvc|pipelines|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18568" PostTypeId="2" ParentId="18567" CreationDate="2019-05-09T10:58:50.683" Score="0" Body="&lt;p&gt;There is a 2Mb limit on JSon content in MVC. You could add following to the web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web.extensions&amp;gt;&#xA;    &amp;lt;scripting&amp;gt;&#xA;        &amp;lt;webServices&amp;gt;&#xA;            &amp;lt;jsonSerialization maxJsonLength=&quot;1000000000&quot; /&amp;gt;&#xA;        &amp;lt;/webServices&amp;gt;&#xA;    &amp;lt;/scripting&amp;gt;&#xA;&amp;lt;/system.web.extensions&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Bear in mind that this limit is imposed by the webserver, not by your choice of protocol.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-05-09T11:04:00.187" LastActivityDate="2019-05-09T11:04:00.187" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18569" PostTypeId="2" ParentId="18567" CreationDate="2019-05-09T11:10:02.857" Score="0" Body="&lt;p&gt;I haven't tested this exact scenario but I think Emanuele's answer might not work as I believe Sitecore ignores this setting as I've had this kind of issue before (see: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/3717/link-browser-doesnt-show-all-child-items-from-tree/3751#3751&quot;&gt;Link Browser doesn&amp;#39;t show all child items from Tree?&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I came across this Blog Post by Dirk Schäfauer which has an answer for this: &lt;a href=&quot;https://seitenkern.com/2014/03/28/sitecore-7-mvc-json-serialization-and-maxjsonlength/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://seitenkern.com/2014/03/28/sitecore-7-mvc-json-serialization-and-maxjsonlength/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;reposing my updated code below from my SSE answer linked above. This code is outdated for 8.1 (I'm not sure about 8.0 but it's likely to be pretty similar to the code below):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;JsonSerializer:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace SitecoreContrib.Serialization&#xA; {&#xA;      public class LargeJsonSerializer : ISerializer&#xA;    {&#xA;        public string SerializedDataMediaType&#xA;        {&#xA;            get { return &quot;application/json&quot;; }&#xA;        }&#xA;&#xA;        public string Serialize(object value)&#xA;        {&#xA;            Assert.ArgumentNotNull(value, &quot;value&quot;);&#xA;            var scriptSerializer = new JavaScriptSerializer { MaxJsonLength = 2097152 };&#xA;            var setting = Settings.GetSetting(&quot;JsonSerialization.MaxLength&quot;);&#xA;            int result;&#xA;            if (!string.IsNullOrEmpty(setting) &amp;amp;&amp;amp; !scriptSerializer.MaxJsonLength.ToString(CultureInfo.InvariantCulture).Equals(setting, StringComparison.InvariantCultureIgnoreCase) &amp;amp;&amp;amp; int.TryParse(setting, out result))&#xA;            {&#xA;                scriptSerializer.MaxJsonLength = result;&#xA;            }&#xA;            return scriptSerializer.Serialize(value);&#xA;        }&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pipeline:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace SitecoreContrib.Serialization.Pipelines.PreprocessRequest&#xA;{&#xA;      public class RewriteUrlForLargeJsonResponse : RewriteUrl&#xA;    {&#xA;        public override void Process(PreprocessRequestArgs arguments)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)arguments, &quot;arguments&quot;);&#xA;            try&#xA;            {&#xA;                string localPath = arguments.Context.Request.Url.LocalPath;&#xA;                if (!localPath.StartsWith(&quot;/-/item/&quot;))&#xA;                    return;&#xA;                Sc.ItemWebApi.Context.Current = new Sc.ItemWebApi.Context&#xA;                {&#xA;                    Serializer = (ISerializer)new LargeJsonSerializer(),&#xA;                    Version = GetVersion(localPath),&#xA;                    ResponseOutputBuilder = new ResponseOutputBuilder()&#xA;                };&#xA;                Rewrite(arguments.Context);&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Logger.Error(ex);&#xA;            }&#xA;        }&#xA;&#xA;        private static int GetVersion(string path)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)path, &quot;path&quot;);&#xA;            string str = path.TrimStart('/').Split('/')[2];&#xA;            Assert.IsTrue(str.StartsWith(&quot;v&quot;), &quot;Version token is wrong.&quot;);&#xA;            int result;&#xA;            Assert.IsTrue(int.TryParse(str.Replace(&quot;v&quot;, string.Empty), out result), &quot;Version not recognized.&quot;);&#xA;            return result;&#xA;        }&#xA;&#xA;        private static void Rewrite(HttpContext context)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)context, &quot;context&quot;);&#xA;            Uri url = context.Request.Url;&#xA;            string[] strArray1 = url.LocalPath.TrimStart('/').Split('/');&#xA;            int length = strArray1.Length - 3;&#xA;            string[] strArray2 = new string[length];&#xA;            Array.Copy((Array)strArray1, 3, (Array)strArray2, 0, length);&#xA;            string str1 = string.Format(&quot;/{0}&quot;, (object)string.Join(&quot;/&quot;, strArray2));&#xA;            string str2 = url.Query.TrimStart('?');&#xA;            WebUtil.RewriteUrl(new UrlString&#xA;            {&#xA;                Path = str1,&#xA;                Query = str2&#xA;            }.ToString());&#xA;        }&#xA;    }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Config:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;preprocessRequest&amp;gt;&#xA;        &amp;lt;processor type=&quot;SitecoreContrib.Serialization.Pipelines.PreprocessRequest.RewriteUrlForLargeJsonResponse, SitecoreContrib.Serialization&quot; patch:instead=&quot;*[@type='Sitecore.ItemWebApi.Pipelines.PreprocessRequest.RewriteUrl, Sitecore.ItemWebApi']&quot; /&amp;gt;&#xA;      &amp;lt;/preprocessRequest&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!-- JsonSerialization.MaxLength&#xA;           Specifies the maximum length of JSON strings which can be serialized by the JsonSerializer.&#xA;           Value is specified in bytes. Default value: 2097152 (2 MB)&#xA;      --&amp;gt;&#xA;      &amp;lt;setting name=&quot;JsonSerialization.MaxLength&quot; value=&quot;2147483647&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the suggested web.config setting doesn't fix your issue then try this instead.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-05-09T11:10:02.857" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18570" PostTypeId="1" AcceptedAnswerId="18682" CreationDate="2019-05-09T11:17:56.547" Score="1" ViewCount="429" Body="&lt;p&gt;I have a model which has two nested classes within. I am unable to find any resources how to map this correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore the Address.cs corresponds to the template Address which has a droplink to a Market. The market contains several fields which should me mapped to Market.cs as well as a single-text field which should be mapped to Text.cs.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Address{&#xA;&#xA;    [SitecoreField(FieldName = Templates.AddressItem.Fields.Market_FieldName)]&#xA;    public virtual Market Market {get; set;}&#xA;    .... other properties&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With the Market.cs model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Market{&#xA;    [SitecoreField(FieldName = Templates.MarketItem.Fields.MarketName_FieldName)]&#xA;    public virtual Text Name {get; set}&#xA;    ... other properties&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And Text.cs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Text{&#xA;    public virtual string Text {get; set;}&#xA;    public virtual bool IsStandardValue {get; set;}&#xA;    ... other properties&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Obviously, directly mapping it using &lt;code&gt;[SitecoreField(FieldName = Templates.AddressItem.Fields.Market_FieldName)]&lt;/code&gt; does not work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would I map the &lt;code&gt;Market&lt;/code&gt; object, and the &lt;code&gt;Text&lt;/code&gt; object properly as well as the &lt;code&gt;IsStandardValue&lt;/code&gt;? (Can be gotten from &lt;code&gt;Item.Field.ContainsStandardValue&lt;/code&gt;.)&lt;/p&gt;&#xA;" OwnerUserId="4860" LastEditorUserId="342" LastEditDate="2019-05-09T19:44:15.810" LastActivityDate="2019-06-14T07:03:05.333" Title="Map text field to nested object" Tags="|glass-mapper|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18571" PostTypeId="1" AcceptedAnswerId="18621" CreationDate="2019-05-09T13:19:09.683" Score="0" ViewCount="1173" Body="&lt;p&gt;I am working with XDB to get Contact by Contact-Id using &lt;code&gt;LoadContact&lt;/code&gt; method in Sitecore 9 Update 2, but it returns me the null value of contact, The same contact-Id exist in my &lt;code&gt;Shard0&lt;/code&gt; database with facets values. To do the same I am using below code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public object GetContactCustomFields(Guid contactId)&#xA;    {&#xA;        try&#xA;        {&#xA;            var contactManager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as Sitecore.Analytics.Tracking.ContactManager;&#xA;            var contact = contactManager.LoadContact(contactId, true);&#xA;            if (contact == null)&#xA;            {&#xA;                throw new ContactNotFoundException();&#xA;            }&#xA;            var customFacet = contact.GetFacet&amp;lt;IFacetModelName&amp;gt;(FacetModelName.DefaultKey);&#xA;            return customFacet;&#xA;        }&#xA;        catch (ContactNotFoundException ex)&#xA;        {&#xA;            return Request.CreateResponse(HttpStatusCode.NotFound, ex.Message);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here Contact type is &lt;code&gt;Sitecore.Analytics.Tracking.Contact&lt;/code&gt; instead of &lt;code&gt;Sitecore.XConnect.Contact&lt;/code&gt;. Because of by using this contact I am trying to get custom facet data and want to display on the experience profile tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After updating the code as suggested in answer by @x3mxray, I am getting below error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update Code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpGet]&#xA;    public async Task&amp;lt;StickyFormPreOTPInformation&amp;gt; GetContactCustomFields(Guid contactId)&#xA;    {&#xA;        using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            try&#xA;            {&#xA;                Sitecore.XConnect.ContactReference reference = new Sitecore.XConnect.ContactReference(contactId);&#xA;                var contactTask = client.GetAsync&amp;lt;Contact&amp;gt;(&#xA;                    reference,&#xA;                    new Sitecore.XConnect.ContactExpandOptions(StickyFormPreOTPInformation.FACET_NAME)&#xA;                );&#xA;&#xA;                var contact = await contactTask;&#xA;&#xA;                if (contact == null)&#xA;                {&#xA;                    return null;&#xA;                }&#xA;                var customFacet = contact.GetFacet&amp;lt;IStickyFormPreOTPInformation&amp;gt;(StickyFormPreOTPInformation.FACET_NAME);&#xA;                return customFacet;&#xA;            }&#xA;            catch (Sitecore.XConnect.XdbExecutionException)&#xA;            {&#xA;                // TODO: catch exception &#xA;            }&#xA;        }&#xA;        return null;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9UYxD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9UYxD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update Code 2:&lt;/strong&gt; After updating client.GetAsync, Contact from Sitecore.XConnect namespace, getting below error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WOxNp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WOxNp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-05-15T08:41:07.093" LastActivityDate="2019-05-15T14:04:23.300" Title="Get XDB Sitecore.Analytics.Tracking.Contact with Contact Id always returning null value" Tags="|xdb|contact-facets|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18572" PostTypeId="1" CreationDate="2019-05-09T11:51:51.373" Score="-3" ViewCount="380" Body="&lt;p&gt;I am working with Sitecore SXA. In title tag German, French or any special characters are not working in page source. The title is working fine in browser title but not in  tag in page source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the following tags also:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; - &amp;lt;meta charset=&quot;UTF-8&quot;&amp;gt;&#xA; - &amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;/&amp;gt;&#xA; - &amp;lt;html lang=&quot;en, de, fr&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;None of them is working. Please have a look at the attached screenshots.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/yQWMP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yQWMP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/us1eK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/us1eK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="3607" OwnerDisplayName="Prabhat Sharma" LastEditorUserId="1542" LastEditDate="2020-03-02T16:22:42.770" LastActivityDate="2020-03-02T16:22:42.770" Title="Title Tag is not displaying German accent characters correctly" Tags="|multilingual|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18573" PostTypeId="1" AcceptedAnswerId="18576" CreationDate="2019-05-09T13:37:10.897" Score="3" ViewCount="856" Body="&lt;p&gt;I need to pass parameters in &lt;em&gt;Json&lt;/em&gt; format from Sitecore item. I am getting Sitecore item using &lt;em&gt;GlassMapper&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface ISomeType&#xA;{&#xA;  //some fields&#xA;}&#xA;public interface ISomeFolder&#xA;{&#xA;    IEnumerable&amp;lt;ISomeType&amp;gt; SubItems { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var folder = _sitecoreContext.GetItem&amp;lt;ISomeFolder&amp;gt;(dataSourceId)&#xA;var list = folder.SubItems;&#xA;var json = JsonConvert.SerializeObject(list); // &amp;lt;= Here I get &quot;Exception of type 'System.StackOverflowException' was thrown.&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;List type is &lt;code&gt;Glass.Mapper.Sc.LazyItemEnumerable&amp;lt;ISomeType&amp;gt;&lt;/code&gt;. It contains &lt;code&gt;Castle.Proxies.ISomeTypeProxy&lt;/code&gt; items, I can access to them. I can access to all their fields described in the interface. But I am getting &lt;em&gt;System.StackOverflowException&lt;/em&gt; exception when trying to serialize it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to serialize &lt;em&gt;GlassMapper&lt;/em&gt; objects to &lt;em&gt;Json&lt;/em&gt; using &lt;em&gt;Newtonsoft Json.NET&lt;/em&gt;? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If yes then what I am doing wrong? If no, what is the best way to convert &lt;em&gt;GlassMapper&lt;/em&gt; object to &lt;em&gt;Json&lt;/em&gt;?&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-05-09T14:12:44.620" Title="Sitecore GlassMapper and Json.NET" Tags="|glass-mapper|json|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18575" PostTypeId="2" ParentId="18271" CreationDate="2019-05-09T14:05:21.697" Score="2" Body="&lt;p&gt;I assume you have also custom layout not only custom theme that you have created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create this patch file and insert your layout ID (in this format &lt;code&gt;{BCFC7537-EFF4-434C-96F5-BF4F55FD175B}&lt;/code&gt; - This is ID of default SXA MVC Layout) where I put placeholder text ($Insert_Your_Layout_ID_here$):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;experienceAccelerator&amp;gt;&#xA;      &amp;lt;mvc&amp;gt;&#xA;        &amp;lt;!-- List of placeholders which should be hidden. --&amp;gt;&#xA;        &amp;lt;hiddenPlaceholders&amp;gt;&#xA;          &amp;lt;layout id=&quot;$Insert_Your_Layout_ID_here$&quot;&amp;gt;&#xA;            &amp;lt;placeholder name=&quot;head&quot;/&amp;gt;&#xA;            &amp;lt;placeholder name=&quot;body-bottom&quot;/&amp;gt;&#xA;            &amp;lt;placeholder name=&quot;body-top&quot;/&amp;gt;&#xA;          &amp;lt;/layout&amp;gt;&#xA;        &amp;lt;/hiddenPlaceholders&amp;gt;&#xA;      &amp;lt;/mvc&amp;gt;&#xA;    &amp;lt;/experienceAccelerator&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Afterwards body-top placeholder should be hidden.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-05-09T14:05:21.697" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18576" PostTypeId="2" ParentId="18573" CreationDate="2019-05-09T14:12:44.620" Score="4" Body="&lt;p&gt;The easiest way to solve this would be to use either a custom class or a dynamic one when you serialize:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var folder = _sitecoreContext.GetItem&amp;lt;ISomeFolder&amp;gt;(dataSourceId)&#xA;var list = folder.SubItems;&#xA;var json = JsonConvert.SerializeObject(list.Select(subitem =&amp;gt; new &#xA;                                                   { &#xA;                                                       subitem.Field1,&#xA;                                                       subitem.Field2,&#xA;                                                       CustomFieldName = subitem.Field3&#xA;                                                   }));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-05-09T14:12:44.620" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18577" PostTypeId="1" AcceptedAnswerId="18579" CreationDate="2019-05-09T14:34:47.733" Score="0" ViewCount="147" Body="&lt;p&gt;Is there a need for &lt;code&gt;down time&lt;/code&gt; while tool is running? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If not, should we &lt;code&gt;disable&lt;/code&gt; analytics during the process? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thinking the site should be live but I do not want to have new data going into &lt;code&gt;Mongo&lt;/code&gt; that will not be captured by the tool.&lt;/p&gt;&#xA;" OwnerUserId="3246" LastEditorUserId="5096" LastEditDate="2019-05-10T08:22:46.557" LastActivityDate="2020-02-04T10:01:40.303" Title="Using xDB Data Migration Tool 2.0.2" Tags="|xdb|upgrade|mongodb|migration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18578" PostTypeId="1" AcceptedAnswerId="18583" CreationDate="2019-05-09T14:50:51.970" Score="2" ViewCount="1280" Body="&lt;p&gt;I'm using Sitecore 9.1, thus an identity provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a &lt;strong&gt;custom domain&lt;/strong&gt; named &lt;code&gt;aba&lt;/code&gt; and I'm logged in Sitecore Administration Console using an &lt;code&gt;aba\hsantos&lt;/code&gt; user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then I have this &lt;strong&gt;processor&lt;/strong&gt; which is running on a &lt;strong&gt;custom site definition&lt;/strong&gt; called &lt;code&gt;coveoapi&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;coveoapi&quot; virtualFolder=&quot;/coveo&quot; physicalFolder=&quot;/coveo&quot; enableTracking=&quot;false&quot; content=&quot;master&quot; domain=&quot;sitecore&quot; loginPage=&quot;/identity/login/shell/SitecoreIdentityServer&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;During its execution, the &lt;code&gt;Sitecore.Context.Domain&lt;/code&gt; is always &lt;code&gt;sitecore&lt;/code&gt; no matter who is logged in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not only that, but the current user is always &lt;code&gt;sitecore\Anonymous&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JAlLy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JAlLy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suspect that my identity provider is not resolving correctly users from &lt;code&gt;aba&lt;/code&gt; domain when the current site is &lt;code&gt;coveoapi&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone knows how to fix this? &lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-05-09T17:44:34.780" LastActivityDate="2019-05-09T18:01:17.353" Title="Logged user is always sitecore\Anonymous during processor in SC 9.1" Tags="|configuration|site-configuration|login|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18579" PostTypeId="2" ParentId="18577" CreationDate="2019-05-09T15:03:26.827" Score="0" Body="&lt;p&gt;Data migration is an asynchronous process and you don't need any down time, also It is recommended to install xDB Data Migration Tool in Content Management server. So I guess  during the migration you can use your Sitecore server like how you use regularly, I mean analytics can be enabled while running data migration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From &lt;a href=&quot;https://dev.sitecore.net/~/media/F5AB4212C143456D8E6104095AE1278B.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Document&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Depending on the amount of data you have in MongoDB, it may take hours&#xA;  - or even days - to migrate all of your data. The migration process runs asynchronously on the Sitecore server, so you can continue to use&#xA;  your Sitecore server during the migration process.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-05-09T15:03:26.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18580" PostTypeId="1" AcceptedAnswerId="18581" CreationDate="2019-05-09T15:32:32.393" Score="1" ViewCount="177" Body="&lt;p&gt;I have Sitecore 8.2, have the template for my item assigned to our custom workflow, I have all &lt;code&gt;validation rules&lt;/code&gt; set to Required for the fields in question.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yet I can move the item through the workflow without saving it (the validation rules prevent me from saving without filling these fields in), and finally can actually publish the item.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing?  Shouldn't I be prevented from doing this if Required is added as a Workflow validation rule for a field that is never filled in?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="5096" LastEditDate="2019-05-10T10:57:31.263" LastActivityDate="2019-05-10T10:57:31.263" Title="Users can publish even when item has blank fields marked with required validation rule" Tags="|content-editor|workflow|validation|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18581" PostTypeId="2" ParentId="18580" CreationDate="2019-05-09T16:29:59.640" Score="1" Body="&lt;p&gt;Ensure that you have a &lt;strong&gt;Validation Action&lt;/strong&gt; item somewhere in your workflow. Take a look at the &lt;strong&gt;Sample Workflow&lt;/strong&gt; for an example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PwyM3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PwyM3.png&quot; alt=&quot;Validation action selected in Sitecore content tree&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The placement of this action means that when a user executes the &lt;strong&gt;Approve&lt;/strong&gt; command, Sitecore will try to validate the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add it, add an item of template &lt;strong&gt;Validation Action&lt;/strong&gt; (&lt;code&gt;/sitecore/templates/System/Workflow/Validation Action&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Cz6a9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cz6a9.png&quot; alt=&quot;Validation action fields&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-05-09T16:29:59.640" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18582" PostTypeId="1" AcceptedAnswerId="18830" CreationDate="2019-05-09T17:48:47.550" Score="2" ViewCount="764" Body="&lt;p&gt;On Sitecore 9.0.2 on-premise we want to scale out the xConnect Collection and Collection Search Service. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/xconnect-collection-search-service.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; we need to perform steps mentioned below to achieve that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;We need to introduce &lt;code&gt;xconnect.collection.search&lt;/code&gt; and &lt;code&gt;xconnect.collection.search.certificate&lt;/code&gt; in the &lt;code&gt;connectionstring.config&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Then we need to edit the &lt;code&gt;\App_Config\Sitecore\XConnect.Client.Configuration\Sitecore.XConnect.Client.config&lt;/code&gt; file and update the &lt;code&gt;searchConnectionStringName&lt;/code&gt; to the new entry in &lt;code&gt;connectionstring.config&lt;/code&gt; on every core role that requires access to the xConnect Search service in our case its CM and CDs.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But it is not quite clear in the documentation that where we need to update configuration for the &lt;code&gt;xconnect.collection.search.certificate&lt;/code&gt; or just adding it to the &lt;code&gt;connectionstring.config&lt;/code&gt; will suffice? &lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2019-05-09T18:32:04.103" LastActivityDate="2019-05-21T21:25:50.513" Title="Scaling out xConnect Collection and Collection Search" Tags="|xconnect|scaling|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18583" PostTypeId="2" ParentId="18578" CreationDate="2019-05-09T18:01:17.353" Score="1" Body="&lt;p&gt;Finally just like pointed by Mark in comments, &lt;strong&gt;I was only logged in the [instance-name]/ context&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to be able to log in other websites, I had to edit the &lt;code&gt;config/production/Sitecore.IdentityServer.Host.xml&lt;/code&gt; &lt;code&gt;&amp;lt;AllowedCorsOrigins&amp;gt;&lt;/code&gt; config in Identity Server instance and add the other website hostnames.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I can go to &lt;code&gt;aba.local/sitecore&lt;/code&gt; and log in, and by doing that, my processor has &lt;code&gt;aba\hsantos&lt;/code&gt; in &lt;code&gt;Sitecore.Context.User&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-09T18:01:17.353" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18584" PostTypeId="1" CreationDate="2019-05-09T18:11:05.650" Score="1" ViewCount="272" Body="&lt;p&gt;I am changing the search engine from &lt;code&gt;lucene&lt;/code&gt; to &lt;code&gt;solr&lt;/code&gt; , and i want to make config changes in my custom indexes , i am using the &lt;code&gt;search_keywords&lt;/code&gt; field for the predictive search , and the field is also boosted in &lt;code&gt;lucene&lt;/code&gt; , &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultLuceneIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;search_keywords&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;                &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to know that how the same boosting will occur in &lt;code&gt;solr&lt;/code&gt; , what changes i have to make?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="5096" LastEditDate="2019-05-10T05:42:20.663" LastActivityDate="2024-03-15T11:05:35.720" Title="Boosting in solr vs lucene" Tags="|solr|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18585" PostTypeId="2" ParentId="18582" CreationDate="2019-05-09T19:26:13.287" Score="0" Body="&lt;p&gt;Did you do an install using SIF (Sitecore Install Framework)? If you did you'll find in your AppSettings.config within the Sitecore xConnectSearch site a setting for validateCertificateThumbprint. This value is used in your CM and CD (Also I think the Reporting site as well) in the connectionstrings.config and must reference the same thumbprint. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;connectionStrings&amp;gt;&#xA;  &amp;lt;!-- YOUR XConnect Search URL--&amp;gt;&#xA;  &amp;lt;add name=&quot;xconnect.collection&quot; connectionString=&quot;https://www.xconnectSearchURL.com&quot; /&amp;gt;&#xA;  &amp;lt;!-- YOUR XConnect Search Certificate--&amp;gt;&#xA;  &amp;lt;add name=&quot;xconnect.collection.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=HEREGOESTHETHUMBPRINT&quot; /&amp;gt;&#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That thumbprint is from a cert that was generated during the SIF install. If you want to use in house generated certificates make sure the cert can be used as a client cert, can be found under Enhanced Key Usage from MMC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has some documentation &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/configure-connections-strings.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; but I've found it easiest to do a full scale install locally and reference the connectionstrings from the CM site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps,&#xA;Ty&lt;/p&gt;&#xA;" OwnerUserId="4368" LastActivityDate="2019-05-09T19:26:13.287" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18586" PostTypeId="2" ParentId="18572" CreationDate="2019-05-09T19:37:02.043" Score="6" Body="&lt;p&gt;There is no problem here - this is how HTML works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your output is being encoded in a form that stands the greatest chance of being interpreted correctly by the visitor to the site, regardless of OS, culture settings and any other factors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The German letter &lt;code&gt;ö&lt;/code&gt; is code #246 in the &lt;a href=&quot;https://en.wikipedia.org/wiki/ISO/IEC_8859-1&quot; rel=&quot;noreferrer&quot;&gt;ISO-8859-1 (ISO Latin 1)&lt;/a&gt; character set; which is what is reflected in your View Source as well. And as you can see from your own screenshot, your machine interprets this character correctly and shows you &lt;code&gt;ö&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dOVFc.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dOVFc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-05-09T19:37:02.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18587" PostTypeId="2" ParentId="18570" CreationDate="2019-05-09T19:41:07.033" Score="0" Body="&lt;p&gt;Make sure all of your models have the &lt;code&gt;[SitecoreType]&lt;/code&gt; attribute on them, too:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{ADDRESS-TEMPLATE-ID}&quot;)]&#xA;public class Address {&#xA;    [SitecoreField(FieldName = Templates.AddressItem.Fields.Market_FieldName)]&#xA;    public virtual Market Market {get; set;}&#xA;    .... other properties&#xA;}&#xA;&#xA;[SitecoreType(TemplateId = &quot;{MARKET-TEMPLATE-ID}&quot;)]&#xA;public class Market {&#xA;    [SitecoreField(FieldName = Templates.MarketItem.Fields.MarketName_FieldName)]&#xA;    public virtual string Name {get; set}&#xA;    ... other properties&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-05-10T11:44:24.333" LastActivityDate="2019-05-10T11:44:24.333" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18588" PostTypeId="1" CreationDate="2019-05-09T19:44:44.663" Score="2" ViewCount="594" Body="&lt;p&gt;I am creating a custom placeholder, that always renders the contents of a placeholder on a specific Sitecore item, no matter what page the custom placeholder is added to.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been using &lt;a href=&quot;https://laubplusco.net/how-to-extend-placeholders-in-sitecore-mvc/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blot post&lt;/a&gt; as inspiration and is currently stuck trying to get the  pipeline invoked using the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PerformRendering : Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering&#xA;{&#xA;    public const string RenderPlaceholderTypeKey = &quot;rt&quot;;&#xA;    protected override void Render(string placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;    {&#xA;        if (!args.CustomData.ContainsKey(RenderPlaceholderTypeKey))&#xA;        {&#xA;            base.Render(placeholderName, writer, args);&#xA;            return;&#xA;        }&#xA;&#xA;        var renderer = (IRenderPlaceHolder)ReflectionUtil.CreateObject((Type)args.CustomData[RenderPlaceholderTypeKey]);&#xA;        Assert.IsNotNull(renderer, &quot;Could not instantiate custom placeholder renderer for placeholder &quot; + placeholderName);&#xA;        renderer.Render(writer, GetRenderings(placeholderName, args));&#xA;    }&#xA;}&#xA;&#xA; public void Render(TextWriter writer, IEnumerable&amp;lt;Rendering&amp;gt; renderings)&#xA;    {&#xA;        try&#xA;        {&#xA;&#xA;                RenderingReference[] footerRenderings = ContextSettingsItem.Visualization.GetRenderings(Sitecore.Context.Device, true);&#xA;                List&amp;lt;Rendering&amp;gt; renderingsToRender = new List&amp;lt;Rendering&amp;gt;();&#xA;                renderingsToRender.AddRange(footerRenderings.Select(reference =&amp;gt; new Rendering()&#xA;                {&#xA;                    RenderingItemPath = reference.RenderingID.ToString(),&#xA;                    Parameters = new RenderingParameters(reference.Settings.Parameters),&#xA;                    DataSource = reference.Settings.DataSource&#xA;                }));&#xA;&#xA;                writer.Write(&quot;&amp;lt;div&amp;gt;&quot;);&#xA;                foreach (Rendering rendering in renderingsToRender)&#xA;                {&#xA;                    PipelineService.Get().RunPipeline&amp;lt;RenderRenderingArgs&amp;gt;(&quot;mvc.renderRendering&quot;, new RenderRenderingArgs(rendering, writer));&#xA;                }&#xA;                writer.Write(&quot;&amp;lt;/div&amp;gt;&quot;);&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Info(&quot;Error loading footer item. &quot;, ex.Message);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, it seems that all renderings are just rendered in the order they are referenced and does not respect the rendering hiearchy (some renderings are in placeholders)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me understand how I can programmatically render the contents of a specific placeholder, from a specific item?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="3416" LastEditDate="2019-05-10T06:05:21.807" LastActivityDate="2019-05-10T06:05:21.807" Title="Programmatically add a placeholder including its rendering hierarchy" Tags="|presentation|placeholders|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18589" PostTypeId="1" AcceptedAnswerId="18597" CreationDate="2019-05-09T20:27:55.147" Score="1" ViewCount="372" Body="&lt;p&gt;So, I have an item with a couple of fields that have required &lt;code&gt;validation rules&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added a validation action when executing a &lt;code&gt;workflow&lt;/code&gt; action (submitting to admin for approval).  When I do this a modal comes up that shows the fields and whether they have validated.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I intentionally leave the &lt;code&gt;required fields&lt;/code&gt; blank, it flags them as being required.  However, in addition to this, under the &quot;Item&quot; section, there's a row that has &quot;&lt;code&gt;Is rendered item valid XHTML document.The item must render as a valid XHTML document.&lt;/code&gt;&quot; in the left column, and in the right column it says:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;An error occurred while validating: Object reference not set to an instance of an object.`&quot; &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;instead of OK.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm wondering what it's tripping up on and how to get rid of this so as not to confuse users?  When I fill the required fields in, I can execute the &lt;code&gt;workflow&lt;/code&gt; action successfully.&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="5096" LastEditDate="2019-05-10T08:35:54.143" LastActivityDate="2019-05-10T09:55:04.833" Title="When validating an item in a workflow action, null reference error?" Tags="|workflow|validation|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18592" PostTypeId="2" ParentId="18442" CreationDate="2019-05-09T21:34:44.037" Score="1" Body="&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change this line of code in the &lt;strong&gt;CustomExecuteRequest&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var notFoundUrl = _baseLinkManager.GetItemUrl(notFoundItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var notFoundUrl = _baseLinkManager.GetItemUrl(notFoundItem, &#xA;    new Sitecore.Links.UrlOptions&#xA;    {&#xA;        AlwaysIncludeServerUrl = false&#xA;    });&#xA;&#xA;var extractedLanguageName = WebUtil.ExtractLanguageName(notFoundUrl);&#xA;&#xA;if (!String.IsNullOrEmpty(extractedLanguageName)) &#xA;    notFoundUrl = notFoundUrl.Replace($&quot;/{extractedLanguageName}&quot;, &quot;&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Long Version&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on John Rappel's own advice, I did try to see if removing the 404 code completely at least let Sitecore behave as expected. Once the code was all removed, Sitecore did deliver its expected pages whenever requests to non-existing pages were made.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I began putting the code back in, bit-by-bit, it didn't take long to spot the issue and where to fix it. As it turns out, my understanding of the issue was a bit off and the cause of the issue is actually occurring on the &lt;strong&gt;CustomExecuteRequest&lt;/strong&gt; class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The first issue I ran into was that the &lt;strong&gt;GetItemUrl(notFoundItem)&lt;/strong&gt; code was actually returning a URL with the protocol attached: &lt;strong&gt;&lt;a href=&quot;http://acme.com/en/404&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://acme.com/en/404&lt;/a&gt;&lt;/strong&gt;. This immediately began throwing errors because &lt;strong&gt;HttpContext.Current.Server.TransferRequest&lt;/strong&gt; actually expects a relative path rather than a full path. By changing the code to match what's below, I was able to return &lt;strong&gt;/en/404&lt;/strong&gt; instead.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;_baseLinkManager.GetItemUrl(notFoundItem, &#xA;    new Sitecore.Links.UrlOptions&#xA;    {&#xA;        AlwaysIncludeServerUrl = false&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;At this point, I began to see the infinite loop again. I quickly realized this infinite loop wasn't actually being caused by the line in the original question, but because the code was trying to redirect 404 traffic to &lt;strong&gt;/en/404&lt;/strong&gt;, which didn't exist, so when it looked for &lt;strong&gt;/404&lt;/strong&gt; (as established via config changes), it found the &lt;strong&gt;/en/404&lt;/strong&gt; page all over again, trying to send traffic there, only to start the loop over again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of this, I decided to simply use Sitecore to extract the language name from the url using this line of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var extractedLanguageName = WebUtil.ExtractLanguageName(notFoundUrl);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, with that in a variable, I can strip it from the url completely along with the preceding slash. Sure, I could leave the preceding slash in, but I felt that leaving the url to be &lt;strong&gt;//404&lt;/strong&gt; rather than &lt;strong&gt;/404&lt;/strong&gt; seemed sloppy. If anyone can think of a reason I shouldn't do this, I'd be very interested to read about it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!String.IsNullOrEmpty(extractedLanguageName)) &#xA;    notFoundUrl = notFoundUrl.Replace($&quot;/{extractedLanguageName}&quot;, &quot;&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Still being a novice to Sitecore, I have a feeling that maybe my approach (even if it works) might not be the best option. As such, if anyone has any reservations or comments, they're definitely very welcomed! For the time being, though, this works for all three of our languages, even preserving the /fr/ in the URL for the French Canadian 404's.&lt;/p&gt;&#xA;" OwnerUserId="4799" LastEditorUserId="4799" LastEditDate="2019-05-09T21:47:24.557" LastActivityDate="2019-05-09T21:47:24.557" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18593" PostTypeId="2" ParentId="18589" CreationDate="2019-05-10T01:55:57.497" Score="-1" Body="&lt;p&gt;You can get rid of XHTML validation by: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to /sitecore/system/Settings/Validation Rules/Field Types/YourFieldType&lt;/li&gt;&#xA;&lt;li&gt;Go to the Workflow field under &quot;Validation Rules&quot; and deselect the Is Xhtml rule. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/vwZtd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vwZtd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5500" LastActivityDate="2019-05-10T01:55:57.497" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18594" PostTypeId="2" ParentId="15104" CreationDate="2019-05-10T03:06:52.120" Score="1" Body="&lt;p&gt;It is possible have done it. I had a few issues with SQL commands which return an error because a setting cannot be updated through SQL in RDS, but instead should be updated in the parameter group. I made a small change to the SQL included in webdeploy packages for this. Some more details about this can be found in my &lt;a href=&quot;https://jeroen-de-groot.com/2018/07/19/deploying-sitecore-9-in-aws-rds/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt; &#xA;As mentioned in a different answer another option is to first install DBs in MS SQL and then move over.&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2019-05-10T03:06:52.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18595" PostTypeId="1" CreationDate="2019-05-10T06:18:53.580" Score="0" ViewCount="48" Body="&lt;p&gt;I have a field &lt;strong&gt;Price&lt;/strong&gt; of type &lt;strong&gt;Number&lt;/strong&gt;. I want to filter search result based on minimum and maximum price entered by the user. The search result variant contains the field Price. Now when i click on filter after entering the Min and Max values, the result count is 0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The hash formed is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://sitename/?sc_itemid=%7B2E9F8666-3979-49F3-BAEF-457AF1BD08CD%7D&amp;amp;sc_mode=preview&amp;amp;sc_lang=en&amp;amp;sc_site=Site#inventory-search_price%20facet=400|3000&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am i missing anything ?&lt;/p&gt;&#xA;" OwnerUserId="5501" LastEditorUserId="5501" LastEditDate="2019-05-10T06:26:15.397" LastActivityDate="2019-05-10T06:26:15.397" Title="What should be the field type for Managed range filter to work in Sitecore SXA?" Tags="|sxa|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18597" PostTypeId="2" ParentId="18589" CreationDate="2019-05-10T07:43:02.493" Score="1" Body="&lt;p&gt;As suggested by Marek Musielak.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can fix this issue with below approaches:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;First Approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;There is no validation schema for &lt;code&gt;HTML5&lt;/code&gt; available yet. However, it is possible to extend the current &lt;code&gt;XSD&lt;/code&gt; schema that Sitecore uses for XHTML validation to allow some of the &lt;code&gt;HTML5&lt;/code&gt; tags. The original schema file is located and specified in the &lt;code&gt;XHtmlSchemaFile&lt;/code&gt; setting in web.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;XHtmlSchemaFile&quot; value=&quot;/sitecore/shell/schemas/sitecore xhtml.xsd&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For example,  to allow the  tag, you should modify the schema file as follows:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new &lt;code&gt;xs:element&lt;/code&gt; node under the root node for the &lt;code&gt;&amp;lt;article&amp;gt;&lt;/code&gt; tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;xs:element name=&quot;article&quot;&amp;gt;&#xA;    &amp;lt;xs:complexType mixed=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&amp;gt;&#xA;        &amp;lt;xs:group ref=&quot;block&quot; /&amp;gt;&#xA;        &amp;lt;xs:group ref=&quot;inline&quot; /&amp;gt;&#xA;        &amp;lt;xs:group ref=&quot;misc&quot; /&amp;gt;&#xA;      &amp;lt;/xs:choice&amp;gt;&#xA;      &amp;lt;xs:attributeGroup ref=&quot;coreattrs&quot; /&amp;gt;&#xA;    &amp;lt;/xs:complexType&amp;gt;&#xA;  &amp;lt;/xs:element&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add the newly created element definition to the group of block elements:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;xs:group name=&quot;block&quot;&amp;gt;&#xA;    &amp;lt;xs:choice&amp;gt;&#xA;      &amp;lt;xs:element ref=&quot;p&quot; /&amp;gt;&#xA;      &amp;lt;xs:group ref=&quot;heading&quot; /&amp;gt;&#xA;      &amp;lt;xs:element ref=&quot;div&quot; /&amp;gt;&#xA;      &amp;lt;xs:group ref=&quot;lists&quot; /&amp;gt;&#xA;      &amp;lt;xs:group ref=&quot;blocktext&quot; /&amp;gt;&#xA;      &amp;lt;xs:element ref=&quot;fieldset&quot; /&amp;gt;&#xA;      &amp;lt;xs:element ref=&quot;table&quot; /&amp;gt;&#xA;      &amp;lt;xs:element ref=&quot;article&quot; /&amp;gt;&#xA;    &amp;lt;/xs:choice&amp;gt;&#xA;  &amp;lt;/xs:group&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Second Approach&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Alternatively, it is possible to disable XHTML validation so that items with HTML5 markup can be approved in a workflow. To do this, &lt;strong&gt;remove&lt;/strong&gt; Full Page XHtml and &lt;code&gt;Is Xhtml&lt;/code&gt; rules from the &lt;strong&gt;Workflow field&lt;/strong&gt; of the following items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Types/Rich Text&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4KCsx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4KCsx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/system/Settings/Validation Rules/Global Rules&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WQscs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WQscs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt; &lt;a href=&quot;https://kb.sitecore.net/articles/941511&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/941511&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-05-10T09:55:04.833" LastActivityDate="2019-05-10T09:55:04.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18598" PostTypeId="2" ParentId="18584" CreationDate="2019-05-10T07:56:32.667" Score="0" Body="&lt;p&gt;You can boost result at the time when you are getting result. Below are the code :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var filters = new HashSet&amp;lt;Expression&amp;lt;Func&amp;lt;ContentPageSearchModel, bool&amp;gt;&amp;gt;&amp;gt;();&#xA;var expression = BuildSearchExpression(&quot;searchtext&quot;);&#xA;filters.Add(expression);&#xA;&#xA;Expression&amp;lt;Func&amp;lt;ContentPageSearchModel, bool&amp;gt;&amp;gt; BuildSearchExpression(string text)&#xA;        {&#xA;           var namePredicate = PredicateBuilder.True&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;            return namePredicate.Or(item =&amp;gt; item.Name == text).Boost(3.0f);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-05-10T07:56:32.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18600" PostTypeId="2" ParentId="13673" CreationDate="2019-05-10T09:11:03.250" Score="0" Body="&lt;p&gt;You can still achieve it. Very short and simple way of doing it, is by always redirecting user to the federated authentication provider login screen whenever user tries to access Sitecore client application (either using &lt;code&gt;/sitecore&lt;/code&gt; or &lt;code&gt;/sitecore/login&lt;/code&gt; url) using below processor in &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AlwaysRedirectToIDP : HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        if (Context.Site.Name == &quot;login&quot; &amp;amp;&amp;amp; !args.HttpContext.User.Identity.IsAuthenticated &amp;amp;&amp;amp; HttpContext.Current.Request.UrlReferrer == null)&#xA;        {&#xA;            HttpContext.Current.GetOwinContext().Authentication.Challenge(&quot;xp0.sc.azureAD&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am not saying that this is the best way to achieve it but surely this is the quickest option i can think of right now.&lt;/p&gt;&#xA;" OwnerUserId="2727" LastEditorUserId="2727" LastEditDate="2019-05-10T09:18:58.243" LastActivityDate="2019-05-10T09:18:58.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18601" PostTypeId="1" AcceptedAnswerId="19188" CreationDate="2019-05-10T09:48:07.353" Score="1" ViewCount="4810" Body="&lt;p&gt;I have an error when running in connected mode (&lt;code&gt;jss start:connected&lt;/code&gt;) &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HPM] Error occurred while trying to proxy request /sitecore/shell/-/jssmedia/xlbygg/data/media/img/sc_logo.ashx from localhost:3000 &#xA;to http://localhost:3043 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I run with &lt;code&gt;jss start&lt;/code&gt; it works (my &lt;code&gt;graphQL&lt;/code&gt; stops working though).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why is it using proxy for my images in connected mode? &lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="5096" LastEditDate="2019-05-10T17:23:52.883" LastActivityDate="2019-06-05T17:12:36.150" Title="Error occurred while trying to proxy request /sitecore/shell/-/jssmedia/" Tags="|jss|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18603" PostTypeId="2" ParentId="15071" CreationDate="2019-05-10T10:24:05.173" Score="1" Body="&lt;p&gt;After debugging a lot and implementing lost of fixes I was advised to check with hosting provider. &lt;br&gt;&#xA;Then I cross checked with hosting provider of the website and found that Keep-Alive was disabled on domain.&lt;br&gt;&#xA;By default keep-alive is enabled on server for all domain hosted on that server. &lt;br&gt;&#xA;Posting this as answer for reference in case anybody face the same issue, so can be looked in that direction as well.&#xA;&lt;br&gt;&#xA;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3133" LastActivityDate="2019-05-10T10:24:05.173" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18604" PostTypeId="2" ParentId="18565" CreationDate="2019-05-10T10:47:21.403" Score="1" Body="&lt;p&gt;I’ve checked the AddFieldByFieldName configuration node under the &lt;strong&gt;Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config&lt;/strong&gt; file. And based on that I’ve added below configuration in the search feature related config file, rebuild the index and verify the functionality again (it's working fine, also verified the Azure query in the Azure search explorer with queryType=full).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch xdt:Transform=&quot;InsertIfMissing&quot;&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultCloudIndexConfiguration type=&quot;Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.Azure.FieldMaps.CloudFieldMap, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;contentbody&quot; searchable=&quot;YES&quot; retrievable=&quot;NO&quot; facetable=&quot;YES&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;        &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By default all the index attributes are set to YES. I don’t have strong answer to explain, why it’s working by setting retrievable=”NO”? (required more investigation)&lt;/p&gt;&#xA;" OwnerUserId="479" LastActivityDate="2019-05-10T10:47:21.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18607" PostTypeId="1" CreationDate="2019-05-10T12:01:29.670" Score="0" ViewCount="44" Body="&lt;p&gt;I am following the &lt;a href=&quot;https://dev.sitecore.net/~/media/3098ADAA80444031A9E1D938A212C67A.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;xDB Data Migration Tool 2.1 Installation Guide&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 9.1, and I have installed all of the required packages (Data Exchange Framework 2.1, MongoDB Provider for Data Exchange Framework 2.1, xConnect Provider for Data Exchange Framework 2.1, xDB Data Migration Tool for Data Exchange Framework 2.1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed all the steps up to &lt;strong&gt;1.4.5. Configure an endpoint&lt;/strong&gt;, until point 8) when I get asked to run the Troubleshooter; when I do so, I get the following error message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Exception was thrown. Read more in log file. An error occurred while sending the request.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have XConnect configured correctly. I can access the URL of both the Collection and Search Indexer endpoints - although Chrome and Brave complain about the self-signed certificates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore log contains no mention of any problem, as does the Windows Event Viewer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the content of the XConnect Collection log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-05-10 13:42:08.712 +01:00 [Information] Certificate Validation Filter Enabled, Thumbprint: 621B26950DC9DE426493B9698ECA36CDBD4CD26A&#xA;2019-05-10 13:42:08.712 +01:00 [Information] SSL Validation Filter Enabled&#xA;2019-05-10 14:24:04.897 +01:00 [Information] XConnect Test Host Application End, Machine: &quot;LTLON-ECIRIACH&quot;, Site: &quot;XPScaled910.collection&quot;, AppId: &quot;/LM/W3SVC/8/ROOT&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;No error message whatsoever is contained. The SSL Thumbprint, confusingly enough, is different from the one I retrieve from the mmc console. Even after using that, the error message persists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Eventually I fired dotPeek and debugged the backgound process, and found the error in the following class: Sitecore.DataExchange.Providers.XConnect.Troubleshooters.TestXConnectClientEndpointConnection, and specifically inside the&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;protected virtual IXdbContext GetXConnectClient(XConnectClientEndpointSettings settings)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;method. When debugging the very first line of this method and inspecting settings.ClientHelper, I get the following error message:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;The target process exited with code -2146233082 while evaluating the function 'System.Diagnostics.TraceInternal.Listeners.get'.&#xA;If the probleme happens regularly, consider disabling the Tools-&gt;Options settings &quot;Debugging-&gt;General-&gt;Enable property evaluation and other implicit function calls&quot; or debugging the cause by evaluating the expression from the Immediate window. See help for more information on doing this.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea on what is causing this error?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-05-10T17:14:02.013" LastActivityDate="2019-05-10T17:14:02.013" Title="&quot;Exception was thrown. Read more in log file.&quot; when running the xDB Data Migration Tool Troubleshooter" Tags="|xdb|data-migration|" AnswerCount="0" CommentCount="4" ClosedDate="2019-06-11T11:46:23.890" ContentLicense="CC BY-SA 4.0" />
  <row Id="18609" PostTypeId="1" CreationDate="2019-05-10T12:46:05.943" Score="2" ViewCount="228" Body="&lt;p&gt;Upon trying to save a S4S form it gives S4S submit action failed error message. &#xA;In Sitecore logs, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;p.s. S4S = Sitecore CMS to Salesforce CRM &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;13996 17:41:04 INFO  FuseIT.S4SMapping.SitecoreExperienceForms.SaveActions.S4SSubmitActionForExperienceForms - Get fields for Case&#xA;13996 17:41:04 INFO  FuseIT.S4SMapping.SitecoreExperienceForms.Utility.SalesforceUtility - GetExistingSalesforceEntity() -  Generated SOQL query: SELECT Id FROM Case WHERE Individual_Email__c='myemailaddress@gmail.com'&#xA;13996 17:41:04 ERROR Error: FuseIT.Sitecore.SalesforceConnector.Services.SalesforceServiceFoundation - Errors in upsert results. Failed Records Count =1&#xA;13996 17:41:04 ERROR Error: FuseIT.S4SMapping.SitecoreExperienceForms.SaveActions.S4SSubmitActionForExperienceForms - Exception occured when running 'S4S Generic Submit Action' for Sitecore Experience forms.&#xA;Exception: FuseIT.Sitecore.SalesforceConnector.Exceptions.SalesforceCreateException&#xA;Message: Error StatusCode:INVALID_CROSS_REFERENCE_KEY&#xA;Failed to save 1 new sObject(s)&#xA;&#xA;0:Error  INVALID_CROSS_REFERENCE_KEY - Record Type ID: this ID value isn't valid for the user: 01244000000gQp1AAE&#xA;Successfully saved 0 records.&#xA;Source: FuseIT.Sitecore.SalesforceConnector&#xA;   at FuseIT.Sitecore.SalesforceConnector.Services.SalesforceServiceFoundation`1.ced211b9e93280afa98d0e2a14b4ce31f(List`1 c232126cbfe9bed4f2041480823f825f9, sObject[] c8026294143c8618ebf219c4598adfb1a, SaveResult[] c22fe2b9ff66d39fd5254e687b13b027b)&#xA;   at FuseIT.Sitecore.SalesforceConnector.Services.SalesforceServiceFoundation`1.InsertEntities(List`1 entities)&#xA;   at FuseIT.Sitecore.SalesforceConnector.Services.SalesforceServiceFoundation`1.Save(List`1 entities)&#xA;   at FuseIT.Sitecore.SalesforceConnector.Services.SalesforceServiceFoundation`1.Save(EB entity)&#xA;   at FuseIT.S4SMapping.SitecoreExperienceForms.SaveActions.S4SSubmitActionForExperienceForms.SaveSFEntity(SalesforceSession sfSession, List`1 formFieldValueList, Item mappingItem, String sfObjectName, String entityId, Boolean includeAnalytics)&#xA;   at FuseIT.S4SMapping.SitecoreExperienceForms.SaveActions.S4SSubmitActionForExperienceForms.S4SSubmitActionWithoutAnalytics(SalesforceSession sfSession, List`1 formFieldValueList, Item mappingItem, String sfObjectName)&#xA;   at FuseIT.S4SMapping.SitecoreExperienceForms.SaveActions.S4SSubmitActionForExperienceForms.Execute(UpdateContactData data, FormSubmitContext formSubmitContext)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any insights or advice on solving this would be highly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3632" LastEditorUserId="70" LastEditDate="2019-05-10T17:23:12.700" LastActivityDate="2019-05-12T21:27:12.253" Title="S4S Error saving a form" Tags="|sitecore-forms|salesforce-connect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18610" PostTypeId="2" ParentId="8474" CreationDate="2019-05-10T12:50:41.450" Score="-2" Body="&lt;pre&gt;&lt;code&gt;/^[ A-Za-z\-_.\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF.~\\-]*$/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please try to use this one.&lt;/p&gt;&#xA;" OwnerUserId="5346" LastEditorUserId="731" LastEditDate="2019-05-10T14:40:10.513" LastActivityDate="2019-05-10T14:40:10.513" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18615" PostTypeId="1" CreationDate="2019-05-10T18:07:57.880" Score="-1" ViewCount="77" Body="&lt;p&gt;I cloned the SXA map component and named it Custom map.Dropped it to the page with all the fields values set (latitude, longitude etc.) similar to SXA map component (see screenshot). The location gets plotted for map component but not for the custom map component :(. I have made no change in the custom map rendering, its templates or code thus far after cloning. Am I missing something ?&lt;a href=&quot;https://i.stack.imgur.com/QtaEr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QtaEr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5141" LastActivityDate="2019-06-09T21:02:30.290" Title="How do I make the cloned SXA map component work?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18617" PostTypeId="1" CreationDate="2019-05-10T19:41:07.273" Score="1" ViewCount="108" Body="&lt;p&gt;We are developing an application to advertise real estate properties using &lt;strong&gt;Sitecore 9.0.2&lt;/strong&gt; with &lt;strong&gt;SXA 1.8.1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each property item should contain a Map with the &lt;code&gt;POI&lt;/code&gt; pointing to the location of the property. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem that we are facing is that by default the &lt;code&gt;POI's&lt;/code&gt; should be created under the Sitecore level Data folder - &lt;code&gt;{Site Tenant}/{Site}/Data/POIs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the application contains 1000 properties the &lt;code&gt;POI&lt;/code&gt; multilist on the Map properties would contain 1000 &lt;code&gt;POIs&lt;/code&gt; , which would make it difficult for the content author to search for the &lt;code&gt;POI&lt;/code&gt; and select it on the property item &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions on how we could solve this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;May be have an Item level(local:) &lt;code&gt;POI&lt;/code&gt; list ?  &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="5096" LastEditDate="2019-05-11T16:22:21.293" LastActivityDate="2019-05-11T16:22:21.293" Title="Sitecore SXA Maps local Datasource for POI" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18618" PostTypeId="2" ParentId="18617" CreationDate="2019-05-10T20:54:54.313" Score="1" Body="&lt;p&gt;Each page can become a Point of Interest if you will inherit from IPoi base template (&lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Geospatial/IPoi&lt;/code&gt;). When you will assign this base template you will notice the following fields on your page:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/whM32.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/whM32.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although, it won't be possible to assign such POI on the map using multilist field which is on the map as this fields expects POIs located under the Data item you should be able to assign that page (which in fact is now a POI) using RAW values:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZBMK2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZBMK2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to assign some RAW values but you won't need to create additional POI items under the Data.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-10T20:54:54.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18619" PostTypeId="2" ParentId="18615" CreationDate="2019-05-10T21:01:43.667" Score="0" Body="&lt;p&gt;In almost all paces in SXA, we are checking inheritance (base templates) of items. Thanks to this you can have your templates for different purposes but still making them to recognise by SXA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of above your custom map data source item needs to inherit from the default map data source. Please also check base templates of the original map data source template. If there will be any additional ones, assign them to your custom map rendering data source item too&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-10T21:01:43.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18621" PostTypeId="2" ParentId="18571" CreationDate="2019-05-11T11:48:26.410" Score="3" Body="&lt;p&gt;You should extract Contact from XConnect (Shards databases related to xDb). &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public async Task&amp;lt;FacetModelName&amp;gt; GetContactCustomFields(Guid contactId)&#xA;{&#xA;    using (XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;    {&#xA;        try&#xA;        {&#xA;           ContactReference reference = new ContactReference(contactId);&#xA;            var contactTask = client.GetAsync&amp;lt;Contact&amp;gt;(&#xA;                reference,&#xA;                new ContactExpandOptions(FacetModelName.DefaultKey)&#xA;            );&#xA;&#xA;            var contact = await contactTask;&#xA;&#xA;            if (contact == null)&#xA;            {&#xA;                return null;&#xA;            }&#xA;&#xA;            var customFacet = contact.GetFacet&amp;lt;FacetModelName&amp;gt;(FacetModelName.DefaultKey);&#xA;            return customFacet;&#xA;&#xA;        }&#xA;        catch (XdbExecutionException ex)&#xA;        {&#xA;            // TODO: catch exception &#xA;        }&#xA;    }&#xA;&#xA;    return null;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;FacetModelName:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    [Serializable]&#xA;    [FacetKey(DefaultFacetKey)]&#xA;    public class FacetModelName : Facet&#xA;    {&#xA;        public const string DefaultFacetKey = &quot;MyFacet&quot;;&#xA;&#xA;        public FacetModelName()&#xA;        {&#xA;&#xA;        }&#xA;&#xA;        // define needed properties&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To make your facet visible for the xConnect and xconnect jobs, you need to build custom model where we register new facet.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class XdbCustomModel&#xA;    {&#xA;        public static XdbModel Model { get; } = BuildModel();&#xA;&#xA;        private static XdbModel BuildModel()&#xA;        {&#xA;            XdbModelBuilder modelBuilder = new XdbModelBuilder(&quot;CustomModel&quot;, new XdbModelVersion(1, 0));&#xA;&#xA;            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);&#xA;            modelBuilder.DefineFacet&amp;lt;Contact, FacetModelName&amp;gt;(FacetModelName.DefaultFacetKey);&#xA;&#xA;            return modelBuilder.BuildModel();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need generate json file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var fileName = XdbCustomModel.Model.FullName + &quot;.json&quot;;&#xA; var json = XdbModelWriter.Serialize(XdbCustomModel.Model);&#xA; System.IO.File.WriteAllText(fileName, json);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Copy this generated json file to Model folder of xConnect and Model folder of xConnect jobs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xconnect_instance\App_Data\Models\&#xA;xconnect_instance\App_Data\jobs\continuous\ProcessingEngine\App_Data\Models\&#xA;xconnect_instance\App_Data\jobs\continuous\AutomationEngine\App_Data\Models\&#xA;xconnect_instance\App_Data\jobs\continuous\IndexWorker\App_data\Models\&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information about custom facets see corresponding section of official sitecore documentation: &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/create-a-custom-facet.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/create-a-custom-facet.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-05-15T14:04:23.300" LastActivityDate="2019-05-15T14:04:23.300" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="18622" PostTypeId="2" ParentId="17373" CreationDate="2019-05-11T12:42:15.680" Score="1" Body="&lt;p&gt;Sitecore.Xdb.Common.Web.IHttpClientHandlerModifier doesn`t exist in Sitecore 9.0.2 (only in Sitecore 9.1). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I know Microsoft Dynamics 2.1.0 requires Sitecore 9.1 version. You can check sitecore modules compability here &lt;a href=&quot;https://kb.sitecore.net/articles/541788&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/541788&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-05-11T12:42:15.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18623" PostTypeId="1" CreationDate="2019-05-11T14:19:19.887" Score="4" ViewCount="65" Body="&lt;p&gt;I store custom outcomes in interaction repository and want to build projection model for my machine learning model. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PurchaseInvoiceOutcome&#xA;{&#xA;    public string ProductId { get; set; }&#xA;    public decimal Price { get; set; }&#xA;    public int Quantity { get; set; }&#xA;    public DateTime TimeStamp { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need grouped data that looks like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ProductId&lt;/strong&gt;: product identifier&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Year&lt;/strong&gt;: grouping by year&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Month&lt;/strong&gt;: grouping by month&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Units&lt;/strong&gt;: total amount of product units sold in month&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Max&lt;/strong&gt;: max amount of product units sold per order&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Min&lt;/strong&gt;: min amount of product units sold per order&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Avr&lt;/strong&gt;: average amount of product units sold per order&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to achieve following grouping (LINQ example):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;list&#xA;.GroupBy(x =&amp;gt; new { x.ProductId, x.TimeStamp.Year, x.TimeStamp.Month })&#xA;.Select(x =&amp;gt; new ProductStats&#xA;{&#xA;    ProductId  = x.Key.ProductId,&#xA;    Year = x.Key.Year,&#xA;    Month = x.Key.Month,&#xA;&#xA;    Units = x.Sum(y =&amp;gt; y.Quantity),&#xA;    Max = x.Max(y =&amp;gt; y.Quantity)&#xA;    Min = x.Min(y =&amp;gt; y.Quantity),&#xA;    Avg = (int)Math.Ceiling(x.Average(y =&amp;gt; y.Quantity)),&#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My projection looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Projection = Sitecore.Processing.Engine.Projection.Projection.Of&amp;lt;Interaction&amp;gt;()&#xA;                .CreateTabular(&quot;ProductStats&quot;,&#xA;                interaction =&amp;gt; interaction.Events.OfType&amp;lt;PurchaseInvoiceOutcome&amp;gt;(),&#xA;                cfg =&amp;gt; cfg&#xA;&#xA;                .Key(&quot;ProductId&quot;, x =&amp;gt; x.ProductId)&#xA;                .Key(&quot;Year&quot;, x =&amp;gt; x.Timestamp.Year)&#xA;                .Key(&quot;Month&quot;, x =&amp;gt; x.Timestamp.Month)&#xA;                    .Measure(&quot;Count&quot;, x =&amp;gt; 1)&#xA;                    .Measure(&quot;Units&quot;, x =&amp;gt; x.Quantity)&#xA;                    //.Measure(&quot;Max&quot;, x =&amp;gt; Min(x.Quantity))&#xA;                    //.Measure(&quot;Min&quot;, x =&amp;gt; Max(x.Quantity))&#xA;                    //.Measure(&quot;Avr&quot;, x =&amp;gt; Average(x.Quantity))&#xA;                );&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As I know &lt;em&gt;&quot;Measure&quot;&lt;/em&gt; property can only calculates sum of grouping items.&#xA;As a workaround I can calculate &lt;strong&gt;Average&lt;/strong&gt; by projecting &lt;strong&gt;Count&lt;/strong&gt; and &lt;strong&gt;Units&lt;/strong&gt; and then calculate &lt;em&gt;Units/Count&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I have no idea how to calculate &lt;strong&gt;Min&lt;/strong&gt; and &lt;strong&gt;Max&lt;/strong&gt;. I know that as a workaround I can remove grouping in projection and move this part of job to training worker, but I don`t want to increase projection data set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any suggestions how to implement above scenario? Any advice would be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="69" LastEditDate="2022-01-05T19:29:14.047" LastActivityDate="2022-01-05T19:29:14.047" Title="Sitecore Cortex calculate Average/Min/Max in projection framework" Tags="|cortex|" AnswerCount="0" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18624" PostTypeId="1" AcceptedAnswerId="18625" CreationDate="2019-05-11T14:21:42.897" Score="2" ViewCount="147" Body="&lt;p&gt;Please can somebody tell me that what all indexes are being used from the content delivery server in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9.1 below are the index available:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore_core_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_master_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_web_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketingdefinitions_master&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketingdefinitions_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_asset_index_master&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_asset_index_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_testing_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_suggested_test_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_fxm_master_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_fxm_web_index&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As per my understanding, it seems that following are being used by Content Delivery servers:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sitecore_core_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_web_index&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketingdefinitions_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_marketing_asset_index_web&lt;/li&gt;&#xA;&lt;li&gt;sitecore_fxm_web_index&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Kindly correct me.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="95" LastEditDate="2019-05-11T17:10:20.510" LastActivityDate="2019-05-11T17:10:20.510" Title="Which indexes are used on CD?" Tags="|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18625" PostTypeId="2" ParentId="18624" CreationDate="2019-05-11T14:29:29.593" Score="5" Body="&lt;p&gt;&lt;strong&gt;sitecore_core_index&lt;/strong&gt; is not used for CD server. The rest is correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check search indexes requirements in a scalable environment here:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/the-search-indexes-required-in-a-scalable-environment.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/the-search-indexes-required-in-a-scalable-environment.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-05-11T14:29:29.593" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18627" PostTypeId="2" ParentId="14302" CreationDate="2019-05-11T16:35:45.987" Score="0" Body="&lt;p&gt;I believe that you are misusing request object. While I agree,  renaming Sitecore/Index to URL will be helpful, to get details of execution of one request you should use profile traces.&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-monitor/app/profiler-overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/azure-monitor/app/profiler-overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="646" LastActivityDate="2019-05-11T16:35:45.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18628" PostTypeId="2" ParentId="18492" CreationDate="2019-05-11T18:30:00.303" Score="9" Body="&lt;p&gt;I finally managed to get both Sitecore login (standard) and enduser login (Azure B2C AD) to work at the same time. I did a few changes and I am not 100% sure exactly which of them made the difference, so I will just list them and post the working code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Changes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Moved the Feature.AzureB2C.config (config file for Identity provider) out of a &quot;zFeature&quot; folder and into a &quot;Feature&quot; folder&lt;/li&gt;&#xA;&lt;li&gt;Added service registrations for BaseAuthenticationManager, BaseTicketManager and BasePreviewManager to my config file (Feature.AzureAdB2C.config)&lt;/li&gt;&#xA;&lt;li&gt;Simplified IdentityProviderProcessor implementation (see below)&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set authenticationmode in IdentityProviderProcessor&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AzureAdB2CIdentityProviderProcessor : IdentityProvidersProcessor&#xA;{&#xA;&#xA;    private readonly ISsoConfigurationRepository _ssoConfigurationRepository;&#xA;    private readonly string _aadInstance = SsoConfiguration.AadInstance;&#xA;    private readonly string _tenant = SsoConfiguration.Tenant;&#xA;    private readonly string _ssoAuthenticationRootPath = SsoConfiguration.Routes.RootPath;&#xA;&#xA;    protected override string IdentityProviderName =&amp;gt; &quot;AzureAdB2C&quot;;&#xA;&#xA;    public AzureAdB2CIdentityProviderProcessor(&#xA;        FederatedAuthenticationConfiguration federatedAuthenticationConfiguration, ICookieManager cookieManager,&#xA;        BaseSettings settings) : base(federatedAuthenticationConfiguration, cookieManager, settings)&#xA;    {&#xA;        _ssoConfigurationRepository = ServiceLocator.ServiceProvider.GetService&amp;lt;ISsoConfigurationRepository&amp;gt;();&#xA;    }&#xA;&#xA;    protected override void ProcessCore(IdentityProvidersArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        List&amp;lt;B2CConfig&amp;gt; ssoSettings = _ssoConfigurationRepository.GetAllSettings();&#xA;&#xA;        foreach (var config in ssoSettings)&#xA;        {&#xA;            args.App.UseOpenIdConnectAuthentication(CreateOptionsFromSiteConfig(config));&#xA;        }&#xA;    }&#xA;&#xA;    private OpenIdConnectAuthenticationOptions CreateOptionsFromSiteConfig(B2CConfig config)&#xA;    {&#xA;        OpenIdConnectAuthenticationOptions options = new OpenIdConnectAuthenticationOptions();&#xA;        var identityProvider = GetIdentityProvider();&#xA;&#xA;        // For each policy, give OWIN the policy-specific metadata address, and&#xA;        // set the authentication type to the id of the policy&#xA;        options.MetadataAddress = string.Format(_aadInstance, _tenant, config.Policy);&#xA;        options.AuthenticationType = GetAuthenticationType();&#xA;        options.AuthenticationMode = AuthenticationMode.Passive;&#xA;        options.RedirectUri = config.AzureReplyUri;&#xA;        options.PostLogoutRedirectUri = config.RedirectAfterLogoutUri;&#xA;        options.TokenValidationParameters = new TokenValidationParameters&#xA;        {&#xA;            NameClaimType = &quot;emails&quot;&#xA;        };&#xA;&#xA;        options.Notifications = new OpenIdConnectAuthenticationNotifications()&#xA;        {&#xA;            AuthenticationFailed = AuthenticationFailed,&#xA;            RedirectToIdentityProvider = notification =&amp;gt;&#xA;            {&#xA;                return Task.FromResult(notification.ProtocolMessage.UiLocales = config.UiLocale ?? string.Empty);&#xA;            },&#xA;            SecurityTokenValidated = notification =&amp;gt;&#xA;            {&#xA;                notification.AuthenticationTicket.Identity.AddClaim(new Claim(&quot;idp&quot;, &quot;azureadb2c&quot;));&#xA;&#xA;                // transform all claims&#xA;                ClaimsIdentity identity = notification.AuthenticationTicket.Identity;&#xA;                notification.AuthenticationTicket.Identity.ApplyClaimsTransformations(new TransformationContext(FederatedAuthenticationConfiguration, identityProvider));&#xA;&#xA;                return Task.CompletedTask;&#xA;            }&#xA;        };&#xA;&#xA;        // These are standard OpenID Connect parameters, with values pulled from web.config&#xA;        options.ClientId = config.ClientId;&#xA;        //http://openid.net/specs/openid-connect-core-1_0.html#AuthRequest&#xA;        options.Scope = &quot;openid&quot;;&#xA;        //http://openid.net/specs/openid-connect-core-1_0.html#Authentication&#xA;        options.ResponseType = &quot;id_token&quot;;&#xA;&#xA;        return options;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Feature.AzureAdB2C.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Feature.AzureAdB2C.Models.Routes.RegisterAuthRoute, Feature.AzureAdB2C&quot;&#xA;                   patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;      &amp;lt;owin.identityProviders&amp;gt;&#xA;        &amp;lt;!--This is the custom processor that gets executed when azure AD posts the token to Sitecore--&amp;gt;&#xA;        &amp;lt;processor type=&quot;Feature.AzureAdB2C.AzureAdB2CIdentityProviderProcessor, Feature.AzureAdB2C&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/owin.identityProviders&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;      &amp;lt;configurator type= &quot;Feature.AzureAdB2C.Models.AuthenticationConfigurator, Feature.AzureAdB2C&quot;/&amp;gt;&#xA;      &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseAuthenticationManager, Sitecore.Kernel&quot;&#xA;                implementationType=&quot;Sitecore.Owin.Authentication.Security.AuthenticationManager, Sitecore.Owin.Authentication&quot;&#xA;                lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;      &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseTicketManager, Sitecore.Kernel&quot;&#xA;                implementationType=&quot;Sitecore.Owin.Authentication.Security.TicketManager, Sitecore.Owin.Authentication&quot;&#xA;                lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;      &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BasePreviewManager, Sitecore.Kernel&quot;&#xA;                implementationType=&quot;Sitecore.Owin.Authentication.Publishing.PreviewManager, Sitecore.Owin.Authentication&quot;&#xA;                lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;    &amp;lt;federatedAuthentication type=&quot;Sitecore.Owin.Authentication.Configuration.FederatedAuthenticationConfiguration, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;!--Provider mappings to sites--&amp;gt;&#xA;      &amp;lt;identityProvidersPerSites hint=&quot;list:AddIdentityProvidersPerSites&quot;&amp;gt;&#xA;      &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;&#xA;      &amp;lt;!--Definitions of providers--&amp;gt;&#xA;      &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;        &amp;lt;identityProvider id=&quot;AzureAdB2C&quot; type=&quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;name&quot;&amp;gt;AzureAdB2C&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;domainManager&quot; type=&quot;Sitecore.Abstractions.BaseDomainManager&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;caption&amp;gt;AzureAdB2C&amp;lt;/caption&amp;gt;&#xA;          &amp;lt;domain&amp;gt;portal&amp;lt;/domain&amp;gt;&#xA;          &amp;lt;transformations hint=&quot;list:AddTransformation&quot;&amp;gt;&#xA;            &amp;lt;transformation name=&quot;Name Identifier Claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;              &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;                &amp;lt;claim name=&quot;http://schemas.microsoft.com/identity/claims/objectidentifier&quot; /&amp;gt;&#xA;              &amp;lt;/sources&amp;gt;&#xA;              &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;                &amp;lt;claim name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier&quot; /&amp;gt;&#xA;              &amp;lt;/targets&amp;gt;&#xA;              &amp;lt;keepSource&amp;gt;true&amp;lt;/keepSource&amp;gt;&#xA;            &amp;lt;/transformation&amp;gt;&#xA;          &amp;lt;/transformations&amp;gt;&#xA;        &amp;lt;/identityProvider&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;&#xA;      &amp;lt;!--List of all shared transformations--&amp;gt;&#xA;      &amp;lt;sharedTransformations&amp;gt;&#xA;      &amp;lt;/sharedTransformations&amp;gt;&#xA;&#xA;      &amp;lt;!--Property mappings initializer--&amp;gt;&#xA;      &amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;/propertyInitializer&amp;gt;&#xA;&#xA;    &amp;lt;/federatedAuthentication&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I hope it helps someone else!&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="3416" LastEditDate="2019-05-12T04:20:12.130" LastActivityDate="2019-05-12T04:20:12.130" CommentCount="17" ContentLicense="CC BY-SA 4.0" />
  <row Id="18629" PostTypeId="1" AcceptedAnswerId="18632" CreationDate="2019-05-12T05:05:04.863" Score="1" ViewCount="342" Body="&lt;p&gt;We have migrated from Sitecore 7.2 to Sitecore 9.1 version and maintaining four websites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since it is a multi-site solution and they wanted to use the field &quot;&lt;strong&gt;Datasource Location&lt;/strong&gt;&quot; and &quot;&lt;strong&gt;Datasource template&lt;/strong&gt;&quot; on sublayouts to open the datasource selection that would help content author to select the datasource folders dynamically. For that purpose, they have added below custom module earlier. Below is the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have migrated from Sitecore 7.2 to Sitecore 9.1 version and maintaining four websites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since it is a multi-site solution and they wanted to use the field &quot;&lt;strong&gt;Datasource Location&lt;/strong&gt;&quot; and &quot;&lt;strong&gt;Datasource template&lt;/strong&gt;&quot; on sublayouts to open the datasource selection that would help content author to select the datasource folders dynamically. For that purpose, they have added below custom module earlier. Below is the code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GetQueryableDatasourceLocation&#xA;{&#xA;  public void Process(GetRenderingDatasourceArgs args)&#xA;  {&#xA;    foreach (var location in&#xA;        new ListString(args.RenderingItem[&quot;Datasource Location&quot;]))&#xA;    {&#xA;      if (location.StartsWith(&quot;query:&quot;))&#xA;      {&#xA;        Item contextItem = args.ContentDatabase.Items[args.ContextItemPath];&#xA;        if (contextItem != null)&#xA;        {&#xA;          string query = location.Substring(&quot;query:&quot;.Length);&#xA;          Item queryItem = contextItem.Axes.SelectSingleItem(query);&#xA;          if (queryItem != null)&#xA;          {&#xA;            args.DatasourceRoots.Add(queryItem);&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It has been added in the getRenderingDatasource pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are going to develop a new website using SXA. Whenever we use any components (Rich Text or Promo, Carousel etc), it is keep loading in the experience editor and getting below error in the logs.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/17zoD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/17zoD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further Reference:&#xA;&lt;a href=&quot;https://sitecoreblog.blogspot.com/2012/06/sublayout-queryable-datasource-module.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoreblog.blogspot.com/2012/06/sublayout-queryable-datasource-module.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across this scenario and How to resolve the issue. Kindly share your inputs?&lt;/p&gt;&#xA;" OwnerUserId="3325" LastActivityDate="2019-05-12T10:13:06.843" Title="How to resolve queryable datasource module in SXA" Tags="|sxa|module|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18630" PostTypeId="1" CreationDate="2019-05-12T05:32:40.810" Score="1" ViewCount="73" Body="&lt;p&gt;I want to redirect to a page that is under SXA website. The website should be visited like &lt;code&gt;http://website1.dev/NewSxaPage&lt;/code&gt;.&#xA;We have four non SXA websites and recently developed a new page in SXA. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let us consider 4 websites as (Website1, Website2, Website3, Website4) . All of them here are non-SXA websites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Developed a new website (SxaWebsite1). I have achieved redirection as below. I have just added below settings under  &lt;code&gt;/Site Grouping/SxaWebsite1/&lt;/code&gt; in SXA website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lFDW9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lFDW9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA websites are not resolving correctly so used Sitecore.XA.SitesToResolveAfterSxa.config as defined in the belo url.&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/manage-multiple-sites-with-the-sxa-site-manager.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/manage-multiple-sites-with-the-sxa-site-manager.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm able to achieve whatever needed. i'm able to visit the SXA page from non SXA website. it returns 200 status code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it correct approach? Do you suggest any better approach? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have just tried a new scenario like if we add any additional SXA websites in future, it's not redirecting. &lt;/p&gt;&#xA;" OwnerUserId="3325" LastEditorUserId="5096" LastEditDate="2019-05-12T10:52:39.280" LastActivityDate="2019-05-12T10:52:39.280" Title="How to redirect from Non sxa website to SXA website page?" Tags="|sxa|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18631" PostTypeId="1" AcceptedAnswerId="18635" CreationDate="2019-05-12T09:56:05.990" Score="2" ViewCount="366" Body="&lt;p&gt;I used template containing field from type &lt;code&gt;DateTime&lt;/code&gt; and render time in &lt;code&gt;Rendering Variant&lt;/code&gt; like that &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BJW2k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BJW2k.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I enter date only in field and time is empty, it render default value &lt;code&gt;12:00 AM&lt;/code&gt; so I need to not render time when it is empty, As I remove check from &#xA;&quot;Render if empty&quot; check box but it did not work and I tried to use &lt;code&gt;Rules&lt;/code&gt; but also did not work so there are another way to do? &lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="277" LastEditDate="2019-05-12T10:47:14.367" LastActivityDate="2019-05-13T03:32:15.337" Title="Date in rendering variants" Tags="|sxa|renderfield|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18632" PostTypeId="2" ParentId="18629" CreationDate="2019-05-12T10:13:06.843" Score="3" Body="&lt;p&gt;I think you can safely get rid of that code, and probably should. When you install SXA on your solution you automatically get access to SXA's implementation of Queryable Datasource and it supports not only what yours do, but additionally comes with a lot of predefined tokens you can make use of. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For information, see: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2456/query-tokens-in-sxa&quot;&gt;Query Tokens in SXA&lt;/a&gt;&#xA;And additionally, for a cheat sheet of often used queries: &lt;a href=&quot;http://blog.martinmiles.net/post/sxa-tokens-for-datasource-queries&quot; rel=&quot;nofollow noreferrer&quot;&gt;SXA tokens for datasource queries&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I can tell, you won't even have to do anything with your existing &lt;code&gt;query:&lt;/code&gt; datasources, they should be compatible with the SXA logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be careful you don't use the SXA tokens on non-SXA sites. They rely on SXA logic to resolve and would not work. Regular &lt;code&gt;query:&lt;/code&gt; however, will.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-05-12T10:13:06.843" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18633" PostTypeId="1" AcceptedAnswerId="18634" CreationDate="2019-05-12T15:22:22.673" Score="1" ViewCount="120" Body="&lt;p&gt;I set up a multivariate test by creating a new version of an item and changing the datasource of a certain render, I had no issues getting the pages to show up in the &quot;review and start&quot; section, but after starting the test and doing the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Go to Experience optimization&lt;br&gt;&#xA;2- Click on Active tests and select the test I just created&lt;br&gt;&#xA;3- Click on review and start&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get that the earlier variation is showing up as not found in the preview box as in the picture below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DLyRR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DLyRR.png&quot; alt=&quot;version Not found&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used to get PhantomJS errors, but now they are fixed and not showing up anymore in the logs, does anyone know what the underlying issue might be?&lt;/p&gt;&#xA;" OwnerUserId="329" LastActivityDate="2019-05-12T18:10:53.290" Title="Earlier version of item in multivariate test showing up as not found in preview" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18634" PostTypeId="2" ParentId="18633" CreationDate="2019-05-12T18:10:53.290" Score="1" Body="&lt;p&gt;Yes. What you’re doing can’t be done. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Tests run on ID level. Item ID. There’s no information collected that would allow you to distinguish multiple versions of an item&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Only the latest publishable version of an item ever makes it to “web” when you publish. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create multiple copies of your item to test. &lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-05-12T18:10:53.290" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18635" PostTypeId="2" ParentId="18631" CreationDate="2019-05-12T18:38:38.177" Score="3" Body="&lt;p&gt;If you don't want to display time, but just a data simply change the Date format. &lt;code&gt;Render if empty&lt;/code&gt; is to render field renderer in the Experience Editor even if the field doesn't have a value. Thanks to this, you will see &quot;No text in field&quot;, and you will be able to fill it (in the Experience Editor). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to display date all the time but conditionally display time when it is provided together with a date you will need to write some custom code. This is not available out of the box. You can:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;write your own Variant Token - take a look &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-a-custom-token-for-a-rendering-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;override &lt;code&gt;RenderDate&lt;/code&gt; processor and dynamically change the date format - you can check if time is also provided and if so use date format which has time&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-05-13T03:32:15.337" LastActivityDate="2019-05-13T03:32:15.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18636" PostTypeId="2" ParentId="18609" CreationDate="2019-05-12T21:27:12.253" Score="1" Body="&lt;p&gt;Assuming the &lt;code&gt;01244000000gQp1AAE&lt;/code&gt; is a valid RecordTypeID for Case records then it is likely that the API user that is configured against S4S doesn't have access to it based on either their profile or granted permission sets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the the S4S API user has sufficient permissions to create a new Case record with the given record type Id. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;a href=&quot;https://help.salesforce.com/articleView?id=permissions_record_type_access.htm&amp;amp;type=5&quot; rel=&quot;nofollow noreferrer&quot;&gt;How is record type access specified?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5509" LastActivityDate="2019-05-12T21:27:12.253" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18639" PostTypeId="2" ParentId="18552" CreationDate="2019-05-13T05:07:37.390" Score="0" Body="&lt;p&gt;Check the client certificate thumbprint mentioned in the ConnectionStrings.config is installed in the web server&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-05-13T05:07:37.390" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18640" PostTypeId="1" AcceptedAnswerId="18642" CreationDate="2019-05-13T05:39:13.597" Score="1" ViewCount="390" Body="&lt;p&gt;I have a search results page where I am using the Results Count rendering.  I know that it has &lt;code&gt;There are {count} results&lt;/code&gt; as a &lt;code&gt;rendering parameter&lt;/code&gt; - but if there are no results then my search results is outputting &lt;code&gt;No results&lt;/code&gt; and the results count is showing &lt;code&gt;There are 0 results&lt;/code&gt;, so I don't want to show the results count message in this instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I cannot see anything obvious on the Model that I could check if the Count equalled 0.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Sitecore.XA.Feature.Search.Models.SearchResultsCountRenderingModel&#xA;&#xA;&amp;lt;div @Html.Sxa().Component(Model.Rendering.RenderingCssClass ?? &quot;search-results-count&quot;, Model.Attributes) data-properties='@Model.JsonDataProperties'&amp;gt;&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;        @Model.MessageIsEmpty&#xA;        &amp;lt;div class=&quot;results-count&quot;&amp;gt;&#xA;            @Html.Sxa().Field(Model.FieldName, Model.DataSourceItem, !Model.IsControlEditable)&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=&quot;progress&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="878" LastEditorUserId="5096" LastEditDate="2019-05-13T06:49:32.393" LastActivityDate="2019-05-13T06:57:10.773" Title="Customising search results count rendering" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18641" PostTypeId="1" AcceptedAnswerId="18645" CreationDate="2019-05-13T06:52:26.947" Score="7" ViewCount="3498" Body="&lt;p&gt;How to implement html data attribute for Sitecore forms? For example in the styling section, I would like to add custom input for data attribute. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5444" LastActivityDate="2023-05-20T00:13:51.250" Title="Creating custom data attribute for Sitecore form fields" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18642" PostTypeId="2" ParentId="18640" CreationDate="2019-05-13T06:57:10.773" Score="2" Body="&lt;p&gt;Most of the SXA search renderings have their logic on the front-end side - in JavaScript. Repositories are uses in most cases only to send data and configuration to the client side so that scripts could do rest of the things. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the case or Results Count rendering you would need to take a look at &lt;code&gt;component-search-results-count.js&lt;/code&gt; (this file belongs to Search base theme - &lt;code&gt;/sitecore/media library/Base Themes/SearchTheme/Scripts/component-search-results-count&lt;/code&gt;). Inside of it, you will find a backbone SearchResultCountView view where is a statement which is listening for &lt;code&gt;results-loaded&lt;/code&gt; SXA search event. Modify this part to something like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XA.component.search.vent.on(&quot;results-loaded&quot;, function (data) {&#xA;    if (data.dataCount &amp;gt; 0) {&#xA;        resultsCountContainer.html(inst.resultsCountText.replace('{count}', data.dataCount));&#xA;        inst.$el.find(&quot;.results-count&quot;).show();&#xA;    }&#xA;}); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This &lt;code&gt;if&lt;/code&gt; statement will show label only when there will be any results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that this file &lt;strong&gt;will get overridden&lt;/strong&gt; when you will upgrade SXA. So either you will remember about it or you would like to override this file in your theme.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-13T06:57:10.773" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18643" PostTypeId="1" CreationDate="2019-05-13T09:26:38.483" Score="0" ViewCount="212" Body="&lt;p&gt;I'm using SXA 1.7 and Sitecore 9, I made a SXA boosting rule to a search scope and it works well on CM(Master Database), I publish the scope and I checked that it's published, but it's not reflecting on CD(Web Database), the required templates is not boosted,everything is published, the search query is the same, I rebuilt the master and the web indexes, but still the problem exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rTQD7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rTQD7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3862" LastEditorUserId="3862" LastEditDate="2019-05-13T10:22:51.467" LastActivityDate="2019-05-13T10:22:51.467" Title="SXA Boosting Rules not working" Tags="|sxa|content-search|" AnswerCount="0" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="18644" PostTypeId="2" ParentId="15856" CreationDate="2019-05-13T09:58:23.240" Score="0" Body="&lt;p&gt;In my experience, It happened due to the usage of the wrong SIF version. Refer to this for commands and version types - &lt;a href=&quot;http://www.navavayas.com/blog/no-registration-found-for-extension-managekeystorage-of-type-task-sitecore-install/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.navavayas.com/blog/no-registration-found-for-extension-managekeystorage-of-type-task-sitecore-install/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2019-05-13T09:58:23.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18645" PostTypeId="2" ParentId="18641" CreationDate="2019-05-13T10:04:31.687" Score="14" Body="&lt;p&gt;For your requirement you can either create new &lt;code&gt;Single-line text&lt;/code&gt; field or you can update in existing &lt;code&gt;Single-line text&lt;/code&gt; field. I am focusing on existing one. Below are the steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Move to the location &lt;code&gt;/sitecore/templates/System/Forms/Fields/Field&lt;/code&gt; and add &lt;code&gt;CustomAttribute&lt;/code&gt; field with &lt;code&gt;Single-Line Text&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oYuzX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oYuzX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Switch to &lt;code&gt;Core&lt;/code&gt; db and go to this location &lt;code&gt;/sitecore/client/Applications/FormsBuilder/Components/Layouts/PropertyGridForm/PageSettings/Common/Styling&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create duplication item of &lt;code&gt;CssClass&lt;/code&gt; and rename it with &lt;code&gt;CustomAttribute&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Update &lt;code&gt;FormLabel&lt;/code&gt; to &lt;code&gt;Custom Attribute&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add &lt;code&gt;BindingConfiguration&lt;/code&gt; to &lt;code&gt;customAttribute&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uFsTY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uFsTY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now create new custom view model &lt;code&gt;CustomSingleLineViewModel&lt;/code&gt; in your code&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [Serializable()]&#xA;    public class CustomSingleLineViewModel : StringInputViewModel&#xA;    {&#xA;        public string CustomAttribute { get; set; }&#xA;        protected override void InitItemProperties(Item item)&#xA;        {&#xA;            base.InitItemProperties(item);&#xA;            CustomAttribute = StringUtil.GetString(item.Fields[&quot;CustomAttribute&quot;]);&#xA;        }&#xA;        protected override void UpdateItemFields(Item item)&#xA;        {&#xA;            base.UpdateItemFields(item);&#xA;            item.Fields[&quot;CustomAttribute&quot;]?.SetValue(CustomAttribute,true);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;7&quot;&gt;&#xA;&lt;li&gt;Now go to this location &lt;code&gt;Views\FormBuilder\FieldTemplates&lt;/code&gt; and open &lt;code&gt;SingleLineText.cshtml&lt;/code&gt; &lt;/li&gt;&#xA;&lt;li&gt;Update cshtml code and replace namespace&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.ExperienceForms.Mvc.Html&#xA;@model Sitecore.Foundation.Forms.Fields.CustomSingleLineViewModel&#xA;&#xA;&amp;lt;label for=&quot;@Html.IdFor(m =&amp;gt; Model.Value)&quot; class=&quot;@Model.LabelCssClass custom-form__label&quot; custom-attribute=&quot;@Model.CustomAttribute&quot;&amp;gt;@Html.DisplayTextFor(t =&amp;gt; Model.Title)&amp;lt;/label&amp;gt;&#xA;&amp;lt;input id=&quot;@Html.IdFor(m =&amp;gt; Model.Value)&quot; name=&quot;@Html.NameFor(m =&amp;gt; Model.Value)&quot; class=&quot;@Model.CssClass form-control form-control__primary&quot; type=&quot;text&quot; value=&quot;@Model.Value&quot; @if (Model.MaxLength &amp;gt; 0) { &amp;lt;text&amp;gt; maxlength=&quot;@Model.MaxLength&quot; &amp;lt;/text&amp;gt; } placeholder=&quot;@Model.PlaceholderText&quot; data-sc-tracking=&quot;@Model.IsTrackingEnabled&quot; data-sc-field-name=&quot;@Model.Name&quot; @Html.GenerateUnobtrusiveValidationAttributes(m =&amp;gt; m.Value) /&amp;gt;&#xA;@Html.ValidationMessageFor(m =&amp;gt; Model.Value)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;9&quot;&gt;&#xA;&lt;li&gt;In master db, move into this location &lt;code&gt;/sitecore/system/Settings/Forms/Field Types/Basic/Single-Line Text&lt;/code&gt;  and update &lt;code&gt;Model Type&lt;/code&gt; with new viewmodel&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jSpqy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jSpqy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;10&quot;&gt;&#xA;&lt;li&gt;Go to Form explorer and create new form and drag &lt;code&gt;Single-line text&#xA;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Now you can see &lt;code&gt;Custom Attribute&lt;/code&gt; field&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SZytz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SZytz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/5qaw7.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5qaw7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information you can check here &lt;a href=&quot;https://www.codinglittlethings.com/2019/07/custom-data-attribute-for-sitecore-form-field.html&quot; rel=&quot;noreferrer&quot;&gt;https://www.codinglittlethings.com/2019/07/custom-data-attribute-for-sitecore-form-field.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-07-21T08:46:35.887" LastActivityDate="2019-07-21T08:46:35.887" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18646" PostTypeId="1" CreationDate="2019-05-13T11:08:39.297" Score="0" ViewCount="89" Body="&lt;p&gt;We are using Sitecore 9.0.2 and developed all the components using SXA 1.7.1. However Sitemap generated is not in XML format. All the URL's for site are clubbed together. Anybody has an idea how to generate the Sitemap in XML format?&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="2056" LastEditDate="2019-05-13T12:10:01.137" LastActivityDate="2019-05-13T12:10:01.137" Title="Sitemap not in XML format in Sitecore SXA" Tags="|sxa|sitemap|" AnswerCount="0" CommentCount="5" ClosedDate="2019-05-13T14:38:09.823" ContentLicense="CC BY-SA 4.0" />
  <row Id="18647" PostTypeId="1" AcceptedAnswerId="18650" CreationDate="2019-05-13T12:16:36.153" Score="2" ViewCount="395" Body="&lt;p&gt;I've installed JSS 11.0.0 onto Sitecore 9.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;URL:&lt;/strong&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/110/Sitecore_JavaScript_Services_1100.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/110/Sitecore_JavaScript_Services_1100.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Fkk1d.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Fkk1d.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added API key as mentioned here: &lt;a href=&quot;https://medium.com/infocentric/how-to-setup-javascript-services-jss-for-sitecore-9-7e54893c64d8&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/infocentric/how-to-setup-javascript-services-jss-for-sitecore-9-7e54893c64d8&lt;/a&gt; .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WT1Bv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WT1Bv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now i want to verify my installation, but when i am running URL getting below response:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qNAVd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qNAVd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest, what i am missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to verify JSS 11.0.0 installation onto sitecore 9.1?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;log:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;WARN  [Sitecore Services]: API key {A81EE064-F9A1-4719-A7A1-279C8B20CAFB} is not found.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-05-13T13:51:01.510" LastActivityDate="2022-09-24T20:04:55.430" Title="After installation JSS 11.0.0 onto Sitecore 9.1, URL is not giving right response" Tags="|jss|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18649" PostTypeId="2" ParentId="18647" CreationDate="2019-05-13T13:44:20.567" Score="0" Body="&lt;p&gt;For Sitecore 9.1 you should not create the API key in Core DB [I mean the link you referred above is for previous version of Sitecore], You have to create the API key in master DB under the path &lt;strong&gt;/sitecore/system/Settings/Services/API Keys&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't have the site setup then look at your default site in Sitecore.config, if the database is &quot;web&quot; then you need to publish the API key to work.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; enableTracking=&quot;true&quot; virtualFolder=&quot;/&quot; physicalFolder=&quot;/&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot; language=&quot;en&quot; database=&quot;web&quot;../&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you already have the app setup, Check your  entry in JSS application config located in &quot;\Website\App_Config\Include\yourappname.config&quot;, if the database is &quot;web&quot; then you need to publish the API key. If it is &quot;master&quot; you actually no need to publish and it will read the content from master context.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site patch:before=&quot;site[@name='website']&quot;&#xA;            inherits=&quot;website&quot;&#xA;            name=&quot;portal-poc-app&quot;&#xA;            hostName=&quot;hostname&quot;&#xA;            rootPath=&quot;/sitecore/content/appname&quot;&#xA;            startItem=&quot;/home&quot;&#xA;            database=&quot;web&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4539" LastEditorUserId="4539" LastEditDate="2019-05-13T13:47:56.240" LastActivityDate="2019-05-13T13:47:56.240" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18650" PostTypeId="2" ParentId="18647" CreationDate="2019-05-13T13:45:21.927" Score="0" Body="&lt;p&gt;Fix is bit small but i want to specified so no one else again face this issue. After setup API key to &lt;code&gt;master&lt;/code&gt; DB, &lt;strong&gt;publish&lt;/strong&gt; this item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now when i am running URL it's giving response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lGUYa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lGUYa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-05-13T13:45:21.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18651" PostTypeId="1" CreationDate="2019-05-13T16:00:56.397" Score="1" ViewCount="102" Body="&lt;p&gt;Weirdly, in one of my script I am trying to do such a call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Package -Path &quot;c:\inetpub\wwwroot\Platform.dev.local\App_Data\packages\This.File.Was.JustCreated.xml&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but what I get in return is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Get-Package : A parameter cannot be found that matches parameter name 'Path'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Given XML file &lt;strong&gt;does&lt;/strong&gt; exist. Moreover, that same script should have access to it as it was that script itself who generated this file on the previous step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why so?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/packaging/get-package&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; is confusing: it says that Get-Package &quot;&lt;strong&gt;Loads the package definition (xml) from the specified path&lt;/strong&gt;.&quot; but the demo shows that it is trying to get from an item. In any case, the error is unable to get a parameter value.&lt;/p&gt;&#xA;" OwnerUserId="615" LastEditorUserId="342" LastEditDate="2019-05-13T16:04:11.800" LastActivityDate="2019-05-13T17:57:22.677" Title="Get-Package is missing Path parameter" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ClosedDate="2019-05-13T18:49:58.990" ContentLicense="CC BY-SA 4.0" />
  <row Id="18652" PostTypeId="2" ParentId="18651" CreationDate="2019-05-13T17:57:22.677" Score="-1" Body="&lt;p&gt;The right way of calling is without &lt;code&gt;-Path&lt;/code&gt; parameter at all:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Get-Package &quot;This.File.Was.JustCreated.xml&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That means, documentation should be corrected, as it claims &lt;code&gt;-Path&lt;/code&gt; parameter is mandatory, while it is not, plus the rest of things from my initial question&lt;/p&gt;&#xA;" OwnerUserId="615" LastActivityDate="2019-05-13T17:57:22.677" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18653" PostTypeId="1" CreationDate="2019-05-13T18:36:36.250" Score="1" ViewCount="486" Body="&lt;p&gt;Consider the following scenario, Sitecore 8.0 rev5&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;/sitecore/content/mysite/clone-test/source/  &#xA;/sitecore/content/mysite/clone-test/clones/  &#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Clone the &quot;source&quot; item into the clones folder, so we end up with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;/sitecore/content/mysite/clone-test/clones/clone-of-source1  &#xA;/sitecore/content/mysite/clone-test/clones/clone-of-source2  &#xA;/sitecore/content/mysite/clone-test/clones/clone-of-source3  &#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The clones page loops through its children and displays all of their short descriptions&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var item in items)&#xA;{&#xA;  &amp;lt;p&amp;gt;@item.Fields[&quot;Short Description&quot;].Value&amp;lt;/p&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is anyone aware of a bug in the cloning mechanism related to retrieving source values?  We're having some issues with the following procedure:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On /sitecore/content/mysite/source, add a value (previously blank) to its short description field (multiline text box) and publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Expected behavior:&lt;/strong&gt;&lt;br&gt;&#xA;All clones of source (clone-of-source1, etc) should now be showing the updated &quot;Short Description&quot; value from the source&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Actual behavior&lt;/strong&gt;&lt;br&gt;&#xA;All clones of source are still displaying an empty value&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Update: These templates are inheriting from a base template.  Only fields from the base template are not populating.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update 2: It seems like the only time it works is if there is a default value in the field of the clone source before the clone happens.  If it's blank, we don't get the &quot;original value&quot; label next to it, but if it has a value, we do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update 3: Behavior only exists when cloning a branch template.  I tested with regular templates and it worked fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I simplified this to forgo the for-loop and just displayed the value of the item on its rendering, but still no luck.  &lt;/p&gt;&#xA;" OwnerUserId="2016" LastEditorUserId="2016" LastEditDate="2019-05-15T21:11:07.690" LastActivityDate="2019-10-12T22:02:25.353" Title="Cloned items not updating value from source" Tags="|item-clones|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18654" PostTypeId="1" AcceptedAnswerId="18656" CreationDate="2019-05-13T19:49:36.947" Score="3" ViewCount="830" Body="&lt;p&gt;I have a working Sitecore 9.1 instance on my local laptop.  I would like to move it from my laptop to a server.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a preferred method for doing this?  I can backup the Core, Master and Web databases.  And I can zip up the website root.  Is it just a matter of restoring the 3 databases to the SQL Server on the server and then unzipping the website root folder?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I would also need to modify my connection strings possibly.  And my Solr cores may be named differently on the server.  So I might need to go through my config files and edit the Solr core names to match the cores that are already on the server.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there more to it than that?  Is there a different method that I should use to move a Sitecore 9.1 instance?&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="70" LastEditDate="2019-05-13T20:39:39.717" LastActivityDate="2019-05-14T00:03:25.907" Title="How do I move a Sitecore 9.1 instance from one computer to another?" Tags="|installation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18656" PostTypeId="2" ParentId="18654" CreationDate="2019-05-13T20:39:17.740" Score="3" Body="&lt;p&gt;The safest way would be to backup your master &amp;amp; core databases, install 9.1 on your new machine and then restore the master and core databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have custom code, you would then need to deploy that to your new instance. Technically there, you &lt;em&gt;could&lt;/em&gt; copy over the files from the webroot to the new site and just not overwrite any files, then your &lt;code&gt;ConnectionStrings.config&lt;/code&gt; would still be valid etc... But you would be safer just re-deploying the code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can't simply copy the files over, its more complicated than that. You have xConnect, Identity Server and the main Site, plus IIS Applications, Bindings and Host file entries to make, Solr configuration etc..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Trying to copy all that manually would be very prone to error and probably take longer than just installing Sitecore and restoring the databases.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-13T20:39:17.740" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18657" PostTypeId="1" AcceptedAnswerId="18659" CreationDate="2019-05-13T22:32:56.100" Score="3" ViewCount="179" Body="&lt;p&gt;I have a custom activity type in &lt;code&gt;Marketing Automation&lt;/code&gt; that is being processed correctly in the MA journey, however I am unable to retrieve a custom facet from the &lt;code&gt;IContactProcessingContext&lt;/code&gt; in the &lt;code&gt;Invoke()&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The custom facet is configured in &lt;code&gt;xConnect&lt;/code&gt; and, as far as I can tell, the relevant JSON models and DLLs are deployed. &lt;code&gt;xConnect&lt;/code&gt; collects and stores the facet with no issues and I can see the custom facet data in an &lt;code&gt;xConnect ODATA&lt;/code&gt; query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Automation Engine I have:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Model DLL in automation root&lt;/li&gt;&#xA;&lt;li&gt;Activity type DLL in automation root&lt;/li&gt;&#xA;&lt;li&gt;Activity type registration XML in &lt;code&gt;{root}\App_Data\Config\sitecore\MarketingAutomation&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Collection Model registration XML in &lt;code&gt;{root}\App_Data\Config\sitecore&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Both of the XML files have the filename format &lt;code&gt;sc.xxxx.xml&lt;/code&gt; as per &lt;a href=&quot;https://sitecore.stackexchange.com/questions/15170/automation-engine-cant-find-custom-predicate/15331#15331&quot;&gt;here&lt;/a&gt;&#xA;The model registration XML is being picked up by the engine because I made a change and it errored on startup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version 9.1 initial release. Running local dev environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Model registration is as per below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;    &amp;lt;Sitecore&amp;gt;&#xA;        &amp;lt;XConnect&amp;gt;&#xA;            &amp;lt;Services&amp;gt;&#xA;                &amp;lt;XConnect.Client.Configuration&amp;gt;&#xA;                    &amp;lt;Options&amp;gt;&#xA;                        &amp;lt;Models&amp;gt;&#xA;                            &amp;lt;CustomModel&amp;gt;&#xA;                                &amp;lt;TypeName&amp;gt;Foo.Foundation.Models.xConnectModels.CollectionModel, Foo.Foundation.Models&amp;lt;/TypeName&amp;gt;&#xA;                            &amp;lt;/CustomModel&amp;gt;&#xA;                        &amp;lt;/Models&amp;gt;&#xA;                    &amp;lt;/Options&amp;gt;&#xA;                &amp;lt;/XConnect.Client.Configuration&amp;gt;&#xA;            &amp;lt;/Services&amp;gt;&#xA;        &amp;lt;/XConnect&amp;gt;&#xA;    &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Facet retrieval in Activity Type:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string memberFacetKey = Foo.Foundation.Models.xConnectModels.MemberInfo.DefaultFacetKey;&#xA;string personalInfoFacetKey = PersonalInformation.DefaultFacetKey;&#xA;&#xA;//Null result:&#xA;MemberInfo memberInfoFacet = context.Contact.GetFacet&amp;lt;MemberInfo&amp;gt;(memberFacetKey);&#xA;&#xA;//Results returned:&#xA;PersonalInformation personalInfoFacet = context.Contact.GetFacet&amp;lt;PersonalInformation&amp;gt;(personalInfoFacetKey);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any suggestions as to what I need to do in order to get the Automation Engine to find the custom facet ?&lt;/p&gt;&#xA;" OwnerUserId="2034" LastEditorUserId="5096" LastEditDate="2019-05-14T05:41:30.190" LastActivityDate="2019-05-14T05:41:30.190" Title="Automation Engine activity type not retrieving custom facet" Tags="|contact-facets|marketing-automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18658" PostTypeId="2" ParentId="18654" CreationDate="2019-05-14T00:03:25.907" Score="-1" Body="&lt;p&gt;I would suggest that install clean instance of Sitecore 9.1 in new machine, create Sitecore package for files and items of any custom work in current machine and install the package in new machine.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-05-14T00:03:25.907" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18659" PostTypeId="2" ParentId="18657" CreationDate="2019-05-14T01:06:00.473" Score="5" Body="&lt;p&gt;The Marketing Automation engine requires you to define custom facets that will be available when the contact is evaluated.  You will need to patch in your custom facet to the IncludeFacetNames section of the sc.MarketingAutomation.ContactLoader.xml config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would need to add the MemberInfo facet to the IncludeFacetNames. You could create a patch file sc.(patch name).xml and it would look something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;Settings&amp;gt;&#xA;&amp;lt;!--&#xA;   Marketing Automation contact loader configuration&#xA;--&amp;gt;&#xA;&amp;lt;Sitecore&amp;gt;&#xA;   &amp;lt;XConnect&amp;gt;&#xA;   &amp;lt;MarketingAutomation&amp;gt;&#xA;       &amp;lt;Engine&amp;gt;&#xA;       &amp;lt;Services&amp;gt;&#xA;           &amp;lt;MarketingAutomation.Loading.ContactFacetsConfigurator&amp;gt;&#xA;           &amp;lt;Options&amp;gt;&#xA;               &amp;lt;IncludeFacetNames&amp;gt;&#xA;                    &amp;lt;MemberInfo&amp;gt;MemberInfo&amp;lt;/MemberInfo&amp;gt;&#xA;               &amp;lt;/IncludeFacetNames&amp;gt;&#xA;           &amp;lt;/Options&amp;gt;&#xA;           &amp;lt;/MarketingAutomation.Loading.ContactFacetsConfigurator&amp;gt;&#xA;       &amp;lt;/Services&amp;gt;&#xA;       &amp;lt;/Engine&amp;gt;&#xA;   &amp;lt;/MarketingAutomation&amp;gt;&#xA;   &amp;lt;/XConnect&amp;gt;&#xA;&amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Further Documentation is provided in the &quot;Ensure facets are loaded&quot; section&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-an-activity-type.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-an-activity-type.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2019-05-14T01:06:00.473" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18661" PostTypeId="1" AcceptedAnswerId="18664" CreationDate="2019-05-14T04:11:31.313" Score="1" ViewCount="576" Body="&lt;p&gt;I'm building a report with PowerShell, but I can't find where is the creation date for the users. I need filtering by dates range and later get custom properties.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-User -Filter 'default\*' `&#xA;        | Where-Object { $_.Profile.??? -gt (get-date 2019-01-01) } `&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4618" LastEditorUserId="73" LastEditDate="2019-05-14T11:04:21.073" LastActivityDate="2019-05-14T11:04:21.073" Title="How to get Sitecore user create date with PowerShell" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18662" PostTypeId="1" CreationDate="2019-05-14T05:18:31.110" Score="0" ViewCount="147" Body="&lt;p&gt;I have a use case where I need to add custom attributes to WFFM form fields. &#xA;I have to add &quot;aria-required&quot; attribute to checkbox field if required is checked for a checkbox field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created another class that inherits from wffm checkbox and have overridden the oninit() method. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void OnInit(EventArgs e)&#xA;    {&#xA;        base.OnInit(e);&#xA;        var form = WebUtil.GetParent&amp;lt;SimpleForm&amp;gt;(this);&#xA;        if (WFFMHelper.IsRequiredField(form, this.ControlName))&#xA;            this.checkbox.Attributes.Add(&quot;aria-required&quot;, &quot;true&quot;);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By this the &quot;aria-required&quot; attribute gets added to  tag which contains the checkbox. The &quot;aria-required&quot; attribute purpose is lost if added to  parent element instead of checkbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know there a way to add custom attributes to checkbox input directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version 9.0.2&#xA;WFFM version 9.0&lt;/p&gt;&#xA;" OwnerUserId="4452" LastEditorUserId="4452" LastEditDate="2019-05-15T07:24:30.163" LastActivityDate="2019-05-15T07:24:30.163" Title="WFFM field, adding custom attributes to checkbox field" Tags="|wffm|sitecore-forms|accessibility|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18663" PostTypeId="2" ParentId="1975" CreationDate="2019-05-14T05:21:25.957" Score="0" Body="&lt;p&gt;I had also faced this issue recently. It was because an HTML data source had &lt;code&gt;&amp;lt;br&amp;gt;&lt;/code&gt; instead of &lt;code&gt;&amp;lt;br/&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I changed it and the issue was resolved.&lt;/p&gt;&#xA;" OwnerUserId="3807" LastEditorUserId="277" LastEditDate="2019-05-14T05:40:58.927" LastActivityDate="2019-05-14T05:40:58.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18664" PostTypeId="2" ParentId="18661" CreationDate="2019-05-14T06:28:36.207" Score="2" Body="&lt;p&gt;I'm afraid you cannot get user creation date from the Sitecore &lt;code&gt;User&lt;/code&gt; class directly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do instead is getting &lt;code&gt;MembershipUser&lt;/code&gt; object first and using it's &lt;code&gt;CreationDate&lt;/code&gt; property like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$users = Get-User -Filter 'default\*'&#xA;&#xA;foreach($user in $users) {&#xA;    $muser = [System.Web.Security.Membership]::GetUser($user.Name)&#xA;    &quot;$($user.Name) $($muser.CreationDate)&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-14T06:28:36.207" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18666" PostTypeId="1" CreationDate="2019-05-14T06:32:09.310" Score="0" ViewCount="344" Body="&lt;p&gt;I have upgraded Sitecore 8.1 to 9.1 and now in 9.1 PDF items are not getting indexed and also they are not getting listed in a multilist with search field.&lt;/p&gt;&#xA;" OwnerUserId="5506" LastEditorUserId="342" LastEditDate="2019-05-15T12:24:58.070" LastActivityDate="2019-05-15T12:24:58.070" Title="PDF items are not getting indexed and not listed in multilist with search" Tags="|solr|indexing|pdf|" AnswerCount="1" CommentCount="3" ClosedDate="2019-05-23T09:17:10.127" ContentLicense="CC BY-SA 4.0" />
  <row Id="18667" PostTypeId="1" AcceptedAnswerId="18687" CreationDate="2019-05-14T09:45:55.640" Score="0" ViewCount="298" Body="&lt;p&gt;I am trying to install Sitecore Commerce 9.1 locally, I have followed the &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.1/Sitecore_XC-9.1_Installation_Guide_for_On-Prem.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;installation guide&lt;/a&gt; and all went well until I get this exception. I can see there are four websites created in IIS(CommerceAuthoring_Sc911com,CommerceMinions_Sc911com,CommerceOps_Sc911com, CommerceShops_Sc911com)&lt;/p&gt;&#xA;&#xA;&lt;p&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/SkxFC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SkxFC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked into the Event viewer and found below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;MACHINE/WEBROOT/APPHOST/COMMERCESHOPS_SC911COM' with physical root&#xA;  'c:\inetpub\wwwroot\CommerceShops_Sc911com\' created process with&#xA;  commandline&#xA;  'c:\inetpub\wwwroot\CommerceShops_Sc911com\Sitecore.Commerce.Engine.exe&#xA;  ' but failed to listen on the given port '46791'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone seen this error or know how to fix this? Any suggestions will be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore version: 9.1.1&lt;/li&gt;&#xA;&lt;li&gt;SIF version: 2.1.0 &lt;/li&gt;&#xA;&lt;li&gt;Powershell extensions version: 5.0&lt;/li&gt;&#xA;&lt;li&gt;SXA: 1.8.1 rev 190319fpr 9.1.1&lt;/li&gt;&#xA;&lt;li&gt;Dotnet core: 2.1.505&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;A snippet of Deploy-Sitecore-Commerce.ps1&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;CommerceEngineDacPac                        = &quot;C:\Sitecore\install\XC911\Sitecore.Commerce.Engine.DB.dacpac&quot;&#xA;          CommerceOpsServicesPort                     = &quot;5015&quot;&#xA;          CommerceShopsServicesPort                   = &quot;5005&quot;&#xA;          CommerceAuthoringServicesPort               = &quot;5000&quot;&#xA;          CommerceMinionsServicesPort                 = &quot;5010&quot;&#xA;          SitecoreBizFxPort                           = &quot;4200&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I have seen this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/18500/sitecore-experience-commerce-9-1-installation-bootstrap-500-internal-server-er&quot;&gt;post&lt;/a&gt; but looks like that not exactly what I am facing here.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2019-05-14T10:16:00.323" LastActivityDate="2019-06-14T11:02:10.223" Title="Sitecore commerce 9.1 Installation failed - 502.5 Failed to start" Tags="|sitecore-commerce|commerce-engine|commerce-server|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18668" PostTypeId="2" ParentId="18666" CreationDate="2019-05-14T09:48:54.660" Score="1" Body="&lt;p&gt;Sounds like you are missing the needed IFilter to index pdf content. Check &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/index-pdf-files.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/index-pdf-files.html&lt;/a&gt; for the information on 9.1:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Sitecore Content Search API uses the native Microsoft Windows&#xA;  IFilter interface to extract the text content from media files for&#xA;  indexing.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;However, to enable the Sitecore Content Search API to properly index&#xA;  the content in Adobe PDF files, you must install the Adobe PDF IFilter&#xA;  on every content management and content delivery server.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Currently, Sitecore only supports Adobe PDF IFilter version 9.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;You can install Adobe PDF IFilter as a standalone IFilter or as part&#xA;  of Adobe Acrobat Reader. You can download Adobe PDF IFilter version 9&#xA;  from &lt;a href=&quot;ftp://ftp.adobe.com/pub/adobe/acrobat/win/9.x/&quot; rel=&quot;nofollow noreferrer&quot;&gt;ftp://ftp.adobe.com/pub/adobe/acrobat/win/9.x/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-05-14T09:48:54.660" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18673" PostTypeId="1" CreationDate="2019-05-14T16:58:36.830" Score="0" ViewCount="174" Body="&lt;p&gt;As I know, by default, an item is accessible both via name and display name.&#xA;This creates SEO issue because there is duplicate content.&#xA;Is there a simple way to disable access via name or I need to hook the ItemResolver?&lt;/p&gt;&#xA;" OwnerUserId="3635" LastActivityDate="2019-05-14T17:12:28.933" Title="Item accessible only via display name" Tags="|pipelines|link-manager|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18674" PostTypeId="2" ParentId="18673" CreationDate="2019-05-14T17:12:28.933" Score="2" Body="&lt;p&gt;Usually this is just handled by adding canonical urls so Search engines know that the page is the same page even if referenced with upper/lowercase/displayname/trailing slash etc. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not a Sitecore specific thing though. This article describes this further and how to implement this for Sitecore depending on your scenario: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.mastykarz.nl/optimizing-sitecore-internet-search-engines-canonical-urls/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.mastykarz.nl/optimizing-sitecore-internet-search-engines-canonical-urls/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Simple MVC Helper method from above link:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static System.Web.HtmlString CanonicalUrl(this Sitecore.Mvc.Helpers.SitecoreHelper sitecoreHelper) {&#xA;    Sitecore.Links.UrlOptions urlOptions = Sitecore.Links.LinkManager.GetDefaultUrlOptions();&#xA;    urlOptions.AlwaysIncludeServerUrl = true;&#xA;&#xA;    string canonicalUrl = Sitecore.Links.LinkManager.GetItemUrl(Sitecore.Context.Item, urlOptions);&#xA;&#xA;    return new System.Web.HtmlString(canonicalUrl);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then to Render the link:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;canonical&quot; href=&quot;@Html.Sitecore().CanonicalUrl()&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-05-14T17:12:28.933" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18675" PostTypeId="1" AcceptedAnswerId="18677" CreationDate="2019-05-14T18:28:48.177" Score="5" ViewCount="148" Body="&lt;p&gt;When a visitor/user gets assigned a pattern card, does it stay with that visitor across multiple sessions? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;ex: If a carded visitor leaves and returns days later, are they still assigned that card, or do they start over with no cards?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Version&lt;/strong&gt;: Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="3761" LastEditorUserId="605" LastEditDate="2019-05-15T01:16:41.663" LastActivityDate="2019-05-18T21:55:14.577" Title="Are Pattern Cards on user/visitor session based?" Tags="|personalization|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18676" PostTypeId="1" CreationDate="2019-05-14T23:23:53.580" Score="3" ViewCount="1775" Body="&lt;p&gt;the 301 Redirect Module doesn't say that it supports Sitecore 9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/3/301_Redirect_module.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/3/301_Redirect_module.aspx?sc_lang=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone tried setting it up in Sitecore 9 and were there any issues?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2020-08-04T11:15:41.393" Title="301 Redirect Module compatability with Sitecore 9" Tags="|redirect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18677" PostTypeId="2" ParentId="18675" CreationDate="2019-05-15T01:10:20.847" Score="4" Body="&lt;p&gt;In brief, the pattern card stays with the contact even if the user comes to the site after several days.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How it works?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a pattern card is assigned to the contact, Sitecore places the card in the contact session. At the end of the session, those data are flushed into the Sitecore MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Contacts collection, the respective contact is updated with the pattern card. The next time the user comes in, Sitecore will check the cookie SC_GLOBAL_ANALYTICS_COOKIE from the user browser. If the cookie is present, Sitecore will load the contact into the session from the MongoDB collection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, as long as the cookie is present, Sitecore will be able to identify the user even if the user is anonymous.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Point to note&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let’s say there is more than 1 user using the same browser and accessing the same site. If the user is anonymous, the users will still be the same. But if the user has registered on the site, you can use the &lt;code&gt;Identify&lt;/code&gt; method so that Sitecore knows which contact to load.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.Identify(yourIdentifier)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-05-18T21:27:36.607" LastActivityDate="2019-05-18T21:27:36.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18678" PostTypeId="1" AcceptedAnswerId="18681" CreationDate="2019-05-15T03:36:50.090" Score="0" ViewCount="59" Body="&lt;p&gt;Here's the scenario:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Component ID&lt;/strong&gt; is in use as a Datasource in both in Final and Shared Layouts in the Presentation Details but upon checking the raw values, it can only be found in the Renderings [shared] field but not in the Final Renderings field under Layout section when Standard Values and Raw Values are ticked.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1217" LastActivityDate="2019-05-15T05:49:59.373" Title="Does anybody encounter a data discrepancy between Final Layout in Presentation Details and Final Renderings in Layout section?" Tags="|sitecore-client|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18679" PostTypeId="2" ParentId="18676" CreationDate="2019-05-15T05:07:38.057" Score="1" Body="&lt;p&gt;I have updated this module. You can download it from here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.dropbox.com/s/kqbkuwx07llbxsm/301%20Redirect%20Module9.0.1.zip?dl=0&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.dropbox.com/s/kqbkuwx07llbxsm/301%20Redirect%20Module9.0.1.zip?dl=0&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please test it very well, it was not tested too much but I had to do just one small change for upgrading from 8 to 9. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-05-15T05:07:38.057" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18681" PostTypeId="2" ParentId="18678" CreationDate="2019-05-15T05:49:59.373" Score="2" Body="&lt;p&gt;From Sitecore documentation:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;__Renderings&lt;/strong&gt; – a shared field where you specify the common layout for all languages and versions of the item.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;__Final Renderings&lt;/strong&gt; – a versioned field where you specify individual layouts for languages and versions of the item.&lt;/p&gt;&#xA;&lt;p&gt;The layouts are stored as XML in the fields, and the contents of these fields &lt;strong&gt;are merged (&amp;quot;patched&amp;quot;) together&lt;/strong&gt; to create the final presentation that visitors see.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;So in your scenario, Shared Layout is merged together with Final Renderings and datasource from Shared Layout is used in the final version of the page presentation.&lt;/p&gt;&#xA;&lt;p&gt;More can be read &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/versioned-layouts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/versioned-layouts.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;And here is the excellent chart which shows how Sitecore resolves final presentation (from the Sitecore documentation link above):&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0J18i.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0J18i.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-15T05:49:59.373" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18682" PostTypeId="2" ParentId="18570" CreationDate="2019-05-15T06:37:38.343" Score="1" Body="&lt;p&gt;You can use the attribute &lt;code&gt;[SitecoreSelf]&lt;/code&gt; to continue mapping the current item on a nested object:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Market&#xA;{&#xA;    [SitecoreSelf]&#xA;    public virtual Text Name { get; set }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then on the &lt;code&gt;Text&lt;/code&gt; class you add the &lt;code&gt;[SitecoreField]&lt;/code&gt; attribute to get the text field mapped.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Text&#xA;{&#xA;    [SitecoreField(FieldName = Templates.MarketItem.Fields.MarketName_FieldName)]&#xA;    public virtual string Text {get; set;}&#xA;&#xA;    // Use custom mapper&#xA;    [DataMapper(typeof(ContainsStandardValueMapper))]&#xA;    [SitecoreField(FieldName = Templates.MarketItem.Fields.MarketName_FieldName)]&#xA;    public virtual bool IsStandardValue {get; set;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For for the &lt;code&gt;IsStandardValue&lt;/code&gt; property you need to create a custom mapper.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ContainsStandardValueMapper : AbstractDataMapper&#xA;{&#xA;    public override void MapToCms(AbstractDataMappingContext mappingContext)&#xA;    {&#xA;        throw new NotImplementedException();&#xA;    }&#xA;&#xA;    public override object MapToProperty(AbstractDataMappingContext mappingContext)&#xA;    {&#xA;        var scConfig = Configuration as SitecoreFieldConfiguration;&#xA;        var scContext = mappingContext as SitecoreDataMappingContext;&#xA;&#xA;        var field = Glass.Mapper.Sc.Utilities.GetField(scContext.Item, scConfig.FieldId, scConfig.FieldName);&#xA;&#xA;        if (field == null)&#xA;            return false;&#xA;&#xA;        return field.ContainsStandardValue;&#xA;    }&#xA;&#xA;    public override bool CanHandle(AbstractPropertyConfiguration configuration, Context context)&#xA;    {&#xA;        throw new NotImplementedException();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you often use the &lt;code&gt;Text&lt;/code&gt; class pattern then maybe it would make sense to create a custom mapper for that type instead.&lt;/p&gt;&#xA;" OwnerUserId="55" LastActivityDate="2019-05-15T06:37:38.343" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18683" PostTypeId="1" CreationDate="2019-05-15T08:49:52.617" Score="2" ViewCount="174" Body="&lt;p&gt;I am seeking to inject a service with dependencies into a &lt;code&gt;Marketing Automation Activity Type&lt;/code&gt; that will be instantiated by the &lt;code&gt;Marketing Automation Engine&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have successfully injected a basic service as per the &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/inject-your-own-activity-type-service.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;docs&lt;/a&gt;, but the service I want to use has an existing &lt;code&gt;IServicesConfigurator&lt;/code&gt; implementation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ServiceBusConfigurator : IServicesConfigurator &#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;        {&#xA;            serviceCollection.AddSingleton(typeof(IServiceBusQueueOptions&amp;lt;&amp;gt;), typeof(ServiceBusQueueOptions&amp;lt;&amp;gt;));&#xA;            serviceCollection.AddSingleton(typeof(IServiceBusTopicOptions&amp;lt;&amp;gt;), typeof(ServiceBusTopicOptions&amp;lt;&amp;gt;));&#xA;            serviceCollection.AddSingleton(typeof(IServiceBusQueue&amp;lt;&amp;gt;), typeof(ServiceBusQueue&amp;lt;&amp;gt;));&#xA;            serviceCollection.AddTransient(typeof(IServiceBusTopic&amp;lt;&amp;gt;), typeof(ServiceBusTopic&amp;lt;&amp;gt;));&#xA;&#xA;            serviceCollection.AddTransient(typeof(IPublishJourneyStatusService), typeof(PublishJourneyStatusService));&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The XML config for wiring up the dependency differs from the usual Sitecore pattern (see below) and I am unsure as to how to do this in the &lt;code&gt;Automation Engine&lt;/code&gt; configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;&amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;XConnect&amp;gt;&#xA;    &amp;lt;MarketingAutomation&amp;gt;&#xA;        &amp;lt;Engine&amp;gt;&#xA;        &amp;lt;Services&amp;gt;&#xA;            &amp;lt;Foo.Foundation.PublishService&amp;gt;&#xA;                &amp;lt;Type&amp;gt;Foo.Foundation.MarketingAutomation.Services.PublishService, Foo.Foundation.MarketingAutomation&amp;lt;/Type&amp;gt;&#xA;                &amp;lt;As&amp;gt;Foo.Foundation.MarketingAutomation.Services.IPublishService, Foo.Foundation.MarketingAutomation&amp;lt;/As&amp;gt;&#xA;                &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;            &amp;lt;/Foo.Foundation.PublishService&amp;gt;&#xA;        &amp;lt;/Services&amp;gt;&#xA;        &amp;lt;/Engine&amp;gt;&#xA;    &amp;lt;/MarketingAutomation&amp;gt;&#xA;    &amp;lt;/XConnect&amp;gt;&#xA;&amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a way to achieve this in either the engine XML configuration or in the Activity Type or even another injected service ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version is 9.1 initial release.&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2019-05-15T08:49:52.617" Title="How to implement DI service configurator in Automation Engine service registration" Tags="|dependency-injection|marketing-automation|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18684" PostTypeId="1" CreationDate="2019-05-15T08:53:45.937" Score="0" ViewCount="72" Body="&lt;p&gt;I am using sitecore 9.1.1 and I have created a custom newsletter template for EXM and I am able to create Email campaigns absed on this template now my requirement is that i have a data template and i have created item based on this data template which i am setting as data source for EXM Custom template.&#xA;Now i want that when ever someone is creating new Item based on that data template so simultaneously and automatically one EXM regular Campaign also be created dynamically.&lt;/p&gt;&#xA;" OwnerUserId="5040" LastEditorUserId="5040" LastEditDate="2019-05-15T13:17:30.487" LastActivityDate="2019-05-15T13:18:22.017" Title="Create EXM campagin dynamically" Tags="|exm|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18685" PostTypeId="1" CreationDate="2019-05-15T09:00:27.143" Score="2" ViewCount="470" Body="&lt;p&gt;I work on sxa Project where I have news Template, I trying to display all news items where the &#xA;(News_Creation_date)field value in current year,&#xA;I created search Scope to retrieve data and Rendering Variants to display fields, but I can not add condition to get data based on Current year,how can I achieve that? &lt;a href=&quot;https://i.stack.imgur.com/Bq1oP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Bq1oP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="5517" LastEditorUserId="342" LastEditDate="2019-05-15T12:22:01.840" LastActivityDate="2019-05-15T14:54:54.393" Title="SXA get data based on current year" Tags="|sxa|content-search|" AnswerCount="2" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18687" PostTypeId="2" ParentId="18667" CreationDate="2019-05-15T10:26:09.357" Score="1" Body="&lt;p&gt;This error occurred due to a previous error in creating databases (SitecoreCommerce9_Global, SitecoreCommerce9_SharedEnvironments). Installation carried forward even though there were no databases and failed with the above error at later stage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this run command below in the same PowerShell session:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-EventSubscriber -SourceIdentifier &quot;msg&quot; | Unregister-Event&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2019-05-15T10:26:09.357" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18688" PostTypeId="1" AcceptedAnswerId="18689" CreationDate="2019-05-15T11:00:44.707" Score="6" ViewCount="3244" Body="&lt;p&gt;By default if we delete item, it stores into &lt;code&gt;Recycle Bin&lt;/code&gt;. This is desire and essential behavior. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oVn2c.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oVn2c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if we want delete item permanently, can we do using any &lt;code&gt;config&lt;/code&gt; change?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest any approach.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="73" LastEditDate="2019-05-15T11:50:00.313" LastActivityDate="2019-05-29T08:25:02.853" Title="How can we delete item permanently without storing in Recycle Bin?" Tags="|sitecore-client|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18689" PostTypeId="2" ParentId="18688" CreationDate="2019-05-15T11:04:28.490" Score="11" Body="&lt;p&gt;There is &lt;code&gt;RecycleBinActive&lt;/code&gt; setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change it to &lt;code&gt;false&lt;/code&gt; and it should do the trick.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just create a patch file &lt;code&gt;Disable.Recycle.Bin.config&lt;/code&gt; and add it to &lt;code&gt;App_Config/Include&lt;/code&gt; folder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:x=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;RecycleBinActive&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-15T11:04:28.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18690" PostTypeId="1" AcceptedAnswerId="18698" CreationDate="2019-05-15T11:23:09.003" Score="0" ViewCount="125" Body="&lt;p&gt;I am trying to setup Sitecore Habitat, i.e. just get it running and nothing else. I have followed the &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/docs/01-Getting-Started.md#getting-started&quot; rel=&quot;nofollow noreferrer&quot;&gt;installation instructions&lt;/a&gt; meticulously but have been met with nothing but trouble. Not quite my definition of simplicity but anyway. I managed to overcome all of these so far&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;em&gt;Microsoft.SqlServer.Management.Smo.Server&lt;/em&gt; wouldn't connect because install-xp0 does not specify username and password which was required (at least in my case).&lt;/li&gt;&#xA;&lt;li&gt;Solr connection would not work because of TLS/SSL negotiation. Had to explicitly set the TLS version in install-xp0 to get it to work.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now the script is asking for &lt;em&gt;.\build\assets\Prerequisites.json&lt;/em&gt; and the file is nowhere to be found. Where am I supposed to get all these files that are listed &lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/docs/01-Getting-Started.md#1-installing-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;? I have cloned the repository and downloaded the required version of Sitecore as a ZIP archive and placed it into the assets directory as instructed.&lt;/p&gt;&#xA;" OwnerUserId="5523" LastEditorUserId="70" LastEditDate="2019-05-15T13:42:18.683" LastActivityDate="2019-05-15T13:42:18.683" Title="Problems installing Sitecore Habitat" Tags="|installation|habitat|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18691" PostTypeId="2" ParentId="16533" CreationDate="2019-05-15T11:41:02.243" Score="0" Body="&lt;p&gt;I've now blogged about this here: &lt;a href=&quot;http://www.flux-digital.com/blog/azure-switch-rebuild-bug-index-name-not-always-updating-cd-servers/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.flux-digital.com/blog/azure-switch-rebuild-bug-index-name-not-always-updating-cd-servers/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In summary...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Support confirmed this is an bug with Sitecore XP 8.2 rev. 180406 (Update-7) – bug report #254072 and provide a hotfix: SC Hotfix-294596.&#xA;This is also an issue in 9.0.2 and likely any version below 9.1, this is resolved in Sitecore 9.1 Initial release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Prior to the hotfix Sitecore stores a reference to the Primary index name (the one in use) in the properties table of the Core database. This is where the issue was as CD servers were not getting the updated index name correctly, only CA was.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After applying the hotfix, Instead of being stored in the properties table of the Core database these values are now stored in their own Azure Index called index-catalog. This means both CA and CD servers get the correct names for the index.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-05-15T11:41:02.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18692" PostTypeId="2" ParentId="18688" CreationDate="2019-05-15T11:44:12.090" Score="9" Body="&lt;p&gt;We can do this using &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx&quot; rel=&quot;noreferrer&quot;&gt;Sitecore PowerShell Extensions&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If don't want to store item into &lt;code&gt;Recycling Bin&lt;/code&gt;, need to pass &lt;code&gt;Permanently&lt;/code&gt; parameter.  This is very fast and easy way which is recommended for bulk items deletion.&lt;/p&gt;&#xA;&lt;h1&gt;Below is sample example:&lt;/h1&gt;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;  Get-Item &amp;quot;master:/content/Something&amp;quot; | Remove-Item -Recurse -Permanently&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;If you're working with a &lt;code&gt;large volume&lt;/code&gt; of data. In those cases you might also want to introduce the &lt;code&gt;Sitecore.Data.BulkUpdateContext&lt;/code&gt; technique, which will improve &lt;em&gt;&lt;strong&gt;performance&lt;/strong&gt;&lt;/em&gt; by avoiding event etc.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Because this does disable events etc. You will probably need to re-index and run a smart publish once the items are deleted.&lt;/p&gt;&#xA;&lt;p&gt;Please go through link &lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecorepowershell.com/working-with-items.html&lt;/a&gt; for more details .&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bCTfx.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bCTfx.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If we passing &lt;code&gt;Permanently&lt;/code&gt; - Specifies the item should be deleted rather than recycled.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-29T08:25:02.853" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18693" PostTypeId="2" ParentId="18530" CreationDate="2019-05-15T11:48:50.763" Score="0" Body="&lt;p&gt;I am explaining custom facet &lt;code&gt;Graduate Year&lt;/code&gt; drop down. Please follow below steps:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Specify how to read from the Dynamics contact&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Navigate to this location Navigate to this location &lt;code&gt;/sitecore/system/Data Exchange/XXX/Data Access/Value Accessor &lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add item &lt;code&gt;GraduateYear on Dynamics Contact&lt;/code&gt; using template &lt;code&gt;Entity Attribute Value Accessor &lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Set the following field values&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Attribute Name&lt;/strong&gt;: CRM Field Name&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Value Type&lt;/strong&gt;: Option Set Value (If dropdown otherwise blank for single line)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Specify how to write to the Contact facet&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Navigate to this location &lt;code&gt;/sitecore/system/Data Exchange/XXX/Data Access/Value Accessor Sets/Providers/xConnect&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add the following item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template&lt;/strong&gt; : xConnect Entity Facet Value Accessor Set&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Item Name&lt;/strong&gt;: xConnect Contact Custom Information Facet&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Select the new item.&lt;/li&gt;&#xA;&lt;li&gt;Add the following item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template&lt;/strong&gt; : xConnect Entity Facet Property Value Accessor&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Item Name&lt;/strong&gt;: Graduate Year on xConnect Graduate Year&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set the following field values:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Facet Property: Collection Models &amp;gt; Custom Models &amp;gt; YourCustomModel &amp;gt; Facets &amp;gt; Contact &amp;gt; FacetKey &amp;gt; GraduateYear&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Save the item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Drop Down Settings&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to this location &lt;code&gt;/sitecore/system/Data Exchange/XXX/Tenant Settings/Common/Code Definition Sets&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the following item.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template&lt;/strong&gt; : Code Definition Set&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Item Name&lt;/strong&gt;: Dynamics Graduate Year Code&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Select the new item&lt;/li&gt;&#xA;&lt;li&gt;Add the following item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template&lt;/strong&gt; : Code Definition&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Item Name&lt;/strong&gt;: 2019&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set the following field values:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Value&lt;/strong&gt;: Similar which is assign in CRM&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Navigate to this location &lt;code&gt;/sitecore/system/Data Exchange/XXX/Data Access/Value Readers/Providers/Dynamics&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add the following item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template&lt;/strong&gt; : Description to Code Value Reader&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Item Name&lt;/strong&gt;: Dynamics Graduate Year Description to Code Reader&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set the following field values:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Code Definition Set&lt;/strong&gt;: Code Definition Sets&amp;gt;Dynamics Graduate Year Code&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Map Dynamics data to the contact facet&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Navigate to this location &lt;code&gt;/sitecore/system/Data Exchange/XXX/Value Mapping Sets/xConnect Contact to Dynamics Contact Mappings/Contact Model to Dynamics Contact&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add the following item&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Template&lt;/strong&gt; : Value Mapping&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Item Name&lt;/strong&gt;: Graduate Year&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set the following field values:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Source Accessor&lt;/strong&gt;: /sitecore/system/Data Exchange/XXX/Data Access/Value Accessor Sets/Providers/xConnect/xConnect Contact Custom Information Facet/Graduate Year on xConnect Graduate Year&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Target Accessor&lt;/strong&gt;: Data Access/Value Accessor Sets/Providers/Dynamics/Dynamics Contact/GraduateYear on Dynamics Contact&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Source Value Transformer&lt;/strong&gt;: Value Readers/Providers/Dynamics/Dynamics Graduate Year Description to Code Reader&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Facet interface and implementation&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create interface&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre&gt;&lt;code&gt;public interface ICRMInfo : IFacet, IElement, IValidatable&#xA;    {&#xA;        string GraduateYear { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create class&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;    public class CRMInfo: Facet, ICRMInfo, IFacet, IElement, IValidatable&#xA;    {&#xA;        private const string Year = &amp;quot;GraduateYear&amp;quot;;&#xA;      &#xA;        public string GraduateYear&#xA;        {&#xA;            get&#xA;            {&#xA;                return base.GetAttribute&amp;lt;string&amp;gt;(Year);&#xA;            }&#xA;            set&#xA;            {&#xA;                base.SetAttribute&amp;lt;string&amp;gt;(Year, value);&#xA;            }&#xA;        }&#xA;       &#xA;        public RYIInfo()&#xA;        {&#xA;            base.EnsureAttribute&amp;lt;string&amp;gt;(Year);&#xA;        }&#xA; }&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Add custom facet to sitecore entities and model&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot; xmlns:set=&amp;quot;http://www.sitecore.net/xmlconfig/set/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;model&amp;gt;&#xA;      &amp;lt;elements&amp;gt;&#xA;        &amp;lt;element interface=&amp;quot;Namespace.IRYIInfo, AssemblyName&amp;quot; implementation=&amp;quot;Namespace.RYIInfo, AssemblyName&amp;quot;/&amp;gt;&#xA;      &amp;lt;/elements&amp;gt;&#xA;      &amp;lt;entities&amp;gt;&#xA;        &amp;lt;contact&amp;gt;&#xA;          &amp;lt;facets&amp;gt;&#xA;            &amp;lt;facet name=&amp;quot;CRM&amp;quot; contract=&amp;quot;Namespace.IRYIInfo, AssemblyName&amp;quot; /&amp;gt;&#xA;          &amp;lt;/facets&amp;gt;&#xA;        &amp;lt;/contact&amp;gt;&#xA;      &amp;lt;/entities&amp;gt;&#xA;    &amp;lt;/model&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Troubleshooting&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to this location “/sitecore/system/Data Exchange/XXX/Pipelines/xConnect Contacts to Dynamics Sync Pipelines/Read Contacts from xConnect Pipeline/Read Contacts from xConnect” and in “Contact Facets To Read” select custom facet.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-15T11:48:50.763" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18694" PostTypeId="1" CreationDate="2019-05-15T11:56:15.537" Score="2" ViewCount="3326" Body="&lt;p&gt;I've been tasked with coming up with a user manual that shows the current components we have on sitecore 8 and compares them to the components available for sitecore 9 sxa. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I haven't been given a sitecore 9 environment to test on so have to make this document based purely off internet research. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've had a look around but can't find anything, is there a comprehensive list of SXA components with descriptions and pictures anywhere? Even the official SXA documentation doesn't seem to have this.&lt;/p&gt;&#xA;" OwnerUserId="5524" LastEditorUserId="73" LastEditDate="2019-05-15T12:02:16.007" LastActivityDate="2019-05-15T12:02:16.007" Title="Component list for SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18695" PostTypeId="2" ParentId="18694" CreationDate="2019-05-15T11:58:31.763" Score="5" Body="&lt;p&gt;Here is the full list of renderings available for SXA 1.8:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Accordion&lt;/li&gt;&#xA;&lt;li&gt;Carousel&lt;/li&gt;&#xA;&lt;li&gt;Flip&lt;/li&gt;&#xA;&lt;li&gt;Tabs&lt;/li&gt;&#xA;&lt;li&gt;Snippet&lt;/li&gt;&#xA;&lt;li&gt;Language Selector&lt;/li&gt;&#xA;&lt;li&gt;Site Selector&lt;/li&gt;&#xA;&lt;li&gt;Facebook Comments&lt;/li&gt;&#xA;&lt;li&gt;Livefyre&lt;/li&gt;&#xA;&lt;li&gt;Event Calendar&lt;/li&gt;&#xA;&lt;li&gt;Event List&lt;/li&gt;&#xA;&lt;li&gt;WFFM Wrapper&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Forms Wrapper&lt;/li&gt;&#xA;&lt;li&gt;MVC Form&lt;/li&gt;&#xA;&lt;li&gt;Map&lt;/li&gt;&#xA;&lt;li&gt;File List&lt;/li&gt;&#xA;&lt;li&gt;Flash&lt;/li&gt;&#xA;&lt;li&gt;Gallery&lt;/li&gt;&#xA;&lt;li&gt;Image&lt;/li&gt;&#xA;&lt;li&gt;Image (Reusable)&lt;/li&gt;&#xA;&lt;li&gt;Media Link&lt;/li&gt;&#xA;&lt;li&gt;Playlist&lt;/li&gt;&#xA;&lt;li&gt;Video&lt;/li&gt;&#xA;&lt;li&gt;Archive&lt;/li&gt;&#xA;&lt;li&gt;Breadcrumb&lt;/li&gt;&#xA;&lt;li&gt;Link&lt;/li&gt;&#xA;&lt;li&gt;Link List&lt;/li&gt;&#xA;&lt;li&gt;Navigation&lt;/li&gt;&#xA;&lt;li&gt;Field Editor&lt;/li&gt;&#xA;&lt;li&gt;Page Content&lt;/li&gt;&#xA;&lt;li&gt;Page List&lt;/li&gt;&#xA;&lt;li&gt;Pagination&lt;/li&gt;&#xA;&lt;li&gt;Plain HTML&lt;/li&gt;&#xA;&lt;li&gt;Plain HTML (Reusable)&lt;/li&gt;&#xA;&lt;li&gt;Promo&lt;/li&gt;&#xA;&lt;li&gt;Rich Text&lt;/li&gt;&#xA;&lt;li&gt;Rich Text (Reusable)&lt;/li&gt;&#xA;&lt;li&gt;Title&lt;/li&gt;&#xA;&lt;li&gt;Container&lt;/li&gt;&#xA;&lt;li&gt;Divider&lt;/li&gt;&#xA;&lt;li&gt;Edit Mode Panel&lt;/li&gt;&#xA;&lt;li&gt;IFrame&lt;/li&gt;&#xA;&lt;li&gt;Splitter (Columns)&lt;/li&gt;&#xA;&lt;li&gt;Splitter (Rows)&lt;/li&gt;&#xA;&lt;li&gt;Toggle&lt;/li&gt;&#xA;&lt;li&gt;Filter (Checklist)&lt;/li&gt;&#xA;&lt;li&gt;Filter (Date)&lt;/li&gt;&#xA;&lt;li&gt;Filter (Dropdown)&lt;/li&gt;&#xA;&lt;li&gt;Filter (Managed Range)&lt;/li&gt;&#xA;&lt;li&gt;Filter (Radius)&lt;/li&gt;&#xA;&lt;li&gt;Filter (Range Slider)&lt;/li&gt;&#xA;&lt;li&gt;Filter (Slider)&lt;/li&gt;&#xA;&lt;li&gt;Load More&lt;/li&gt;&#xA;&lt;li&gt;Location Finder&lt;/li&gt;&#xA;&lt;li&gt;Page Selector&lt;/li&gt;&#xA;&lt;li&gt;Page Size&lt;/li&gt;&#xA;&lt;li&gt;Results Count&lt;/li&gt;&#xA;&lt;li&gt;Results Variant Selector&lt;/li&gt;&#xA;&lt;li&gt;Search Box&lt;/li&gt;&#xA;&lt;li&gt;Search Results&lt;/li&gt;&#xA;&lt;li&gt;Sort Results&lt;/li&gt;&#xA;&lt;li&gt;Login&lt;/li&gt;&#xA;&lt;li&gt;Logout&lt;/li&gt;&#xA;&lt;li&gt;Social Login Wrapper&lt;/li&gt;&#xA;&lt;li&gt;AddThis&lt;/li&gt;&#xA;&lt;li&gt;Feed&lt;/li&gt;&#xA;&lt;li&gt;Social Media share&lt;/li&gt;&#xA;&lt;li&gt;Tag Cloud&lt;/li&gt;&#xA;&lt;li&gt;Tag List&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can read more about them in Sitecore documentation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/the-sxa-renderings-and-rendering-variants.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/users/sxa/18/sitecore-experience-accelerator/en/the-sxa-renderings-and-rendering-variants.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-15T11:58:31.763" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18696" PostTypeId="2" ParentId="18688" CreationDate="2019-05-15T12:03:37.503" Score="6" Body="&lt;p&gt;If you only need to do it occasionally, you can use the good old &lt;a href=&quot;http://dinbror.dk/blog/sitecore-admin-pages-cheat-sheet/#dbbrowser&quot; rel=&quot;noreferrer&quot;&gt;DB Browser&lt;/a&gt; at &lt;code&gt;https://your-sitecore/sitecore/admin/dbbrowser.aspx&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bWCfQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bWCfQ.png&quot; alt=&quot;The database browser&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-05-15T12:03:37.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18698" PostTypeId="2" ParentId="18690" CreationDate="2019-05-15T12:39:31.097" Score="1" Body="&lt;p&gt;The specified files are within the Sitecore XP0 zip which you downloaded. The Sitecore Install Framework, which Habitat invokes for you, requires both the install WDPs and the configuration JSON files embedded in that zip.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Habitat &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;Getting Started&lt;/a&gt; instructions were previously unclear as to the need to unzip this file into &lt;code&gt;\build\assets\&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UINfq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UINfq.png&quot; alt=&quot;First Unzip&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Further, you must then unzip the &lt;em&gt;XP0 Configuration files&lt;/em&gt; into the same folder (&lt;em&gt;Extract Here&lt;/em&gt;):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vCuIi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vCuIi.png&quot; alt=&quot;Second Unzip&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've updated the &lt;a href=&quot;https://github.com/Sitecore/Habitat/wiki/01-Getting-Started&quot; rel=&quot;nofollow noreferrer&quot;&gt;Getting Started&lt;/a&gt; guide to clarify this. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for your other issues with the install script, if you wouldn't mind reporting them as &lt;a href=&quot;https://github.com/Sitecore/Habitat/issues&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitHub Issues&lt;/a&gt;, including your required changes, we can further investigate, as I have not seen these previously reported. &lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2019-05-15T12:39:31.097" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18699" PostTypeId="1" CreationDate="2019-05-15T12:43:04.717" Score="2" ViewCount="768" Body="&lt;p&gt;I am using the SXA Responsive Image Variant in the SXA's default Image component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pEPat.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pEPat.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using this configuration:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vlt0K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vlt0K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here whether I enter the values in the &lt;code&gt;Sizes&lt;/code&gt; field or not. It is only considering the values from &lt;code&gt;Widths&lt;/code&gt; field only. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to this syntax &lt;code&gt;(max-width: 480px) 400px&lt;/code&gt;, if the windows max-width is 480px it should load the image with 400px.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;HTML Response: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;/demo/-/media/Shared/Images/MBB5156.jpg?w=280&amp;amp;amp;hash=C8E4B1503A9CDBF34FC87046A7467C0D&quot; sizes=&quot;(max-width: 320px) 280px, (max-width: 480px) 440px, (max-width: 880px) 800px, (max-width: 1080px) 1000px, (max-width: 1680px) 1600px, 3000px&quot; srcset=&quot;/demo/-/media/Shared/Images/MBB5156.jpg?w=280&amp;amp;amp;hash=C8E4B1503A9CDBF34FC87046A7467C0D 280w,/demo/-/media/Shared/Images/MBB5156.jpg?w=440&amp;amp;amp;hash=AB7FE6DC984DBAA8B53205555CAC7A7F 440w,/demo/-/media/Shared/Images/MBB5156.jpg?w=800&amp;amp;amp;hash=1286ED5A6DB6C26C046946C2A35F9569 800w,/demo/-/media/Shared/Images/MBB5156.jpg?w=1000&amp;amp;amp;hash=7AE55563B1FDD6D9FEC7F1079EBFAA20 1000w,/demo/-/media/Shared/Images/MBB5156.jpg?w=1600&amp;amp;amp;hash=3359D1126A5DAC2DC303B24D645CFC6A 1600w,/demo/-/media/Shared/Images/MBB5156.jpg?w=3000&amp;amp;amp;hash=D044DECA80605E7C71C9AC79C4BDCAD6 3000w&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Even if I change the value in &lt;code&gt;Sizes&lt;/code&gt; field, Sitecore does not consider it. Here  &lt;code&gt;Widths&lt;/code&gt; field is treated the same for browsers max-width and the image width.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastActivityDate="2020-01-08T02:01:00.153" Title="SXA Responsive Image Variant is not working correctly" Tags="|sxa|responsive-design|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18700" PostTypeId="2" ParentId="18688" CreationDate="2019-05-15T14:12:18.760" Score="0" Body="&lt;p&gt;To do this manually on an occasional basis hold the shift key while pressing the delete key or choosing &quot;Delete&quot; of the context menu.&lt;/p&gt;&#xA;" OwnerUserId="5529" LastActivityDate="2019-05-15T14:12:18.760" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18701" PostTypeId="2" ParentId="18685" CreationDate="2019-05-15T14:17:29.680" Score="1" Body="&lt;p&gt;You can extend the tokens that can be used in a search (scope). It requires some custom code, but it can be very powerful. I blogged about it: &lt;a href=&quot;https://ggullentops.blogspot.com/2019/01/extending-sxa-search-query-tokens.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2019/01/extending-sxa-search-query-tokens.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How I did it (in short): &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;create a class that overrides the &lt;code&gt;ResolveSearchQueryTokensProcessor&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;override the TokenKey&lt;/li&gt;&#xA;&lt;li&gt;override the Process method: this is where you can define the logic for the query&lt;/li&gt;&#xA;&lt;li&gt;add you class at the (top of the) &lt;code&gt;resolveSearchQueryTokens&lt;/code&gt; pipeline.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The Process method works with SearchStringModels. You should search for the one you defined (with the TokenKey) and replace that with a model that can be used for an actual query, something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return new SearchStringModel(&quot;custom&quot;, FormattableString.Invariant(FormattableStringFactory.Create(&quot;{0}|{1}&quot;, name, value)))&#xA;  {&#xA;    Operation = &quot;must&quot;&#xA;  };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your case you should create a model that matches the current year (value) to the date field. Would be easy if the date was only a year, but that is probably not the case. Not sure how to create the exact SearchStringModel for a date-year search though to be honest but you might be a (big) step closer to your solution now.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-05-15T14:17:29.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18702" PostTypeId="2" ParentId="18685" CreationDate="2019-05-15T14:54:54.393" Score="4" Body="&lt;p&gt;I had a similar requirement in which I wanted any dates that have passed today to be excluded. I created a custom rule and added to the Item Query used by Page List.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Date Rule - You could update to check for the year instead of day.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class DateFieldPassedCondition&amp;lt;T&amp;gt; : WhenCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;    public string FieldName { get; set; }&#xA;&#xA;    protected override bool Execute(T ruleContext)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)ruleContext, nameof(ruleContext));&#xA;        var item = ruleContext.Item;&#xA;        if (item == null || string.IsNullOrEmpty(this.FieldName)) return false;&#xA;&#xA;        var fieldValue = item[this.FieldName];&#xA;        var endOfToday = DateTimeProvider.GetUtcNow().Date.AddHours(23).AddMinutes(59).AddSeconds(59);&#xA;        var fieldTime = DateUtil.ParseDateTime(fieldValue, DateTime.MaxValue).Date.AddHours(23).AddMinutes(59).AddSeconds(59);&#xA;&#xA;        if (fieldTime.Kind != DateTimeKind.Utc)&#xA;        {&#xA;            Log.Warn(fieldValue, (object) this);&#xA;        }&#xA;&#xA;        return endOfToday &amp;gt; fieldTime;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yN2YR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yN2YR.png&quot; alt=&quot;Rule entry&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;In this example, I want to filter out events where the end date has passed (if not empty) or when the start date has passed.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qTnD6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qTnD6.png&quot; alt=&quot;Item Query&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-05-15T14:54:54.393" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18703" PostTypeId="1" AcceptedAnswerId="18704" CreationDate="2019-05-15T14:58:17.703" Score="10" ViewCount="798" Body="&lt;p&gt;How can I convert a given &lt;strong&gt;Sitecore Package&lt;/strong&gt; previously created using the &lt;em&gt;Package Designer&lt;/em&gt; into a &lt;strong&gt;WDP package&lt;/strong&gt;, so that I can create a script to deploy it on my Azure instances?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-17T17:35:01.107" Title="How to convert a Sitecore package into a WDP package?" Tags="|azure|paas|packages|package-designer|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18704" PostTypeId="2" ParentId="18703" CreationDate="2019-05-15T14:58:17.703" Score="17" Body="&lt;h1&gt;Prerequisites&lt;/h1&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit.aspx&quot; rel=&quot;noreferrer&quot;&gt;Download&lt;/a&gt; the AzureToolkit from Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;http://powershelltutorial.net/Home/Powershell-Download&quot; rel=&quot;noreferrer&quot;&gt;Powershell&lt;/a&gt; 4.x or newer ($PSVersionTable.PSVersion to check your current version)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.iis.net/downloads/microsoft/web-deploy&quot; rel=&quot;noreferrer&quot;&gt;Download&lt;/a&gt; and install MSDeploy.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.microsoft.com/pt-br/sql-server/sql-server-editions-express&quot; rel=&quot;noreferrer&quot;&gt;SQL Server&lt;/a&gt; (The express version is enough)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=55713&quot; rel=&quot;noreferrer&quot;&gt;Microsoft SQL Server Data-Tier Application Framework (DacFX)&lt;/a&gt; for SQL server 2012 or later.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Steps&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;1 - Import the methods you will need from AzureToolkit to the current PowerShell session.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Module &quot;AzureToolkitFolderPath\tools\Sitecore.Cloud.Cmdlets.dll&quot; -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2 - Convert the input package using the &lt;code&gt;ConvertTo-SCModuleWebDeployPackage&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ConvertTo-SCModuleWebDeployPackage -Path &quot;yourPackagePath.zip&quot; -Destination &quot;wdpOutputDirectoryPath&quot; -force -verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QthXQ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QthXQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-05-17T17:35:01.107" LastActivityDate="2019-05-17T17:35:01.107" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18705" PostTypeId="1" CreationDate="2019-05-15T15:05:51.127" Score="0" ViewCount="244" Body="&lt;p&gt;Based on our design requirement there are few modifications i need to do in &lt;code&gt;render()&lt;/code&gt; function of &lt;code&gt;component-search-result-filer.js&lt;/code&gt; which is used by checklist filter of Sitecore SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to override the function in another js file so that it doesn't gets overwritten on SXA upgrade. The remaining functionality should work as it is. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried few options after googling but doesn't work. There always be a syntax problem, not getting it right.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone please provide a sample code to do so. &lt;/p&gt;&#xA;" OwnerUserId="5530" LastEditorUserId="70" LastEditDate="2019-05-15T17:07:27.460" LastActivityDate="2019-05-15T17:22:34.090" Title="How to override only the render() function of component-search-result-filer.js to another file of Sitecore SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18706" PostTypeId="2" ParentId="18705" CreationDate="2019-05-15T17:22:34.090" Score="1" Body="&lt;p&gt;There are a couple of options to do that:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Clone the Search Theme&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Probably the easiest thing to do would be to make a copy of all the base &lt;code&gt;SearchTheme&lt;/code&gt; script files. These are in the Media Library here: &lt;code&gt;/sitecore/media library/Base Themes/SearchTheme&lt;/code&gt; - add those files to your own theme and customize the contents as you need too. You would then need to remove the &lt;code&gt;SearchTheme&lt;/code&gt; from your own sites base themes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eGCFu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eGCFu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Override the whole object&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;To access the object, you can use &lt;code&gt;XA.component.search.facet.resultFilter&lt;/code&gt; - that will return you the object as registered with the &lt;code&gt;XA&lt;/code&gt; framework. So at that point you &lt;em&gt;can&lt;/em&gt; reassign a function.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But - the problem you have is that you want to override the &lt;code&gt;.render()&lt;/code&gt; function, and that is not a function of the &lt;code&gt;resultFilter&lt;/code&gt; object directly. If you look at the JavaScript file, it is using a &lt;code&gt;FacetResultsFilterView&lt;/code&gt; object that extends the &lt;code&gt;XA.component.search.baseView&lt;/code&gt; object. That is the part that contains the render method, so you would effectively have to replace the entire function with your custom version:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XA.component.search.facet.resultsfilter = (function ($, document) {&#xA;    // add your entire implementation here&#xA;} (jQuery, document));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Depending on how complex your change is, this might be easier. Both options have pros/cons, but I think that replacing the entire base theme with a custom will probably be more stable and easier to maintain than trying to override the function. Its also pretty quick to do and test.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-15T17:22:34.090" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18707" PostTypeId="1" CreationDate="2019-05-15T21:42:24.140" Score="0" ViewCount="93" Body="&lt;p&gt;The &lt;code&gt;PDF&lt;/code&gt; file format is very versatile, and one of the things it can contain is &lt;a href=&quot;https://www.adobe.com/accessibility/pdf.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;accessibility information.&lt;/a&gt;  (Metadata for the benefit of screen readers, etc.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On our Sitecore 8 install, we have &lt;code&gt;PDFs&lt;/code&gt; that got uploaded via &lt;code&gt;Content Editor&lt;/code&gt; and published to the site, but when subsequently downloaded from the site are missing their accessibility metadata.  We've verified that the accessibility data was there before the upload; the file that's coming out is not the same as the file that went in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm fairly new to Sitecore work, but I'm guessing that this is the result of an overzealous filter of some sort.  &lt;code&gt;PDFs&lt;/code&gt; are versatile enough to &lt;a href=&quot;https://security.stackexchange.com/questions/64052/can-a-pdf-file-contain-a-virus&quot;&gt;embed malware into&lt;/a&gt;, so it would be reasonable to want to run uploaded &lt;code&gt;PDFs&lt;/code&gt; through some sort of white-list to strip out anything not known to be legitimate, but I could easily be wrong about what's happening here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Either way, how can I find out what's going on and fix it?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Googling &lt;code&gt;sitecore pdf removing accessibility data&lt;/code&gt; and several variations on that basic theme results in nothing useful.  Hopefully someone here will know how to deal with this...&lt;/p&gt;&#xA;" OwnerUserId="5531" LastEditorUserId="5096" LastEditDate="2019-05-16T05:24:11.700" LastActivityDate="2019-05-16T05:24:11.700" Title="Uploading a PDF is stripping off accessibility data" Tags="|content-editor|pdf|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18709" PostTypeId="1" AcceptedAnswerId="18713" CreationDate="2019-05-15T23:42:50.303" Score="0" ViewCount="329" Body="&lt;p&gt;I have a snippet where I am using an &lt;code&gt;accordion&lt;/code&gt; and want a plain text field above the &lt;code&gt;accordion&lt;/code&gt; to be able allow them to set a title (with set formatting).  I am only finding the &lt;code&gt;Rich Text&lt;/code&gt; option - which would allow them to add whatever they like in there.   &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even if I tell them not to apply any styling to this heading - it's still outputting a &lt;code&gt;paragraph&lt;/code&gt; tag (which would be relevant for other &lt;code&gt;rich text&lt;/code&gt; renderings).  I still want to support inline editing on the page - which this does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/46aS3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/46aS3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to strip out the formatting associated to this &lt;code&gt;rich text&lt;/code&gt; rendering?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a simpler option that I've missed?  I can't use a page content rendering as the title is associated to the specific &lt;code&gt;accordion&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;FYI&lt;/strong&gt; the inline editing looks like this: So ideally I'd like to hide the bold the options displayed so they aren't encouraged to change the styling. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Po5zL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Po5zL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="5096" LastEditDate="2019-05-16T05:24:01.580" LastActivityDate="2019-05-17T05:55:43.503" Title="Does SXA provide a plain text rendering for a snippet?" Tags="|sxa|best-practices|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18710" PostTypeId="2" ParentId="18709" CreationDate="2019-05-16T00:33:03.153" Score="0" Body="&lt;p&gt;To do this you would need to change the field type of the Accordion title to be a &lt;code&gt;Single-line text&lt;/code&gt; instead of a &lt;code&gt;Richtext&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rather than changing the OOTB component, you should clone the existing Accordion component and then you can change the field type on the new version of your &lt;code&gt;Accordion Item&lt;/code&gt; template:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4Z1HJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4Z1HJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-16T00:33:03.153" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18713" PostTypeId="2" ParentId="18709" CreationDate="2019-05-16T07:38:43.480" Score="1" Body="&lt;p&gt;I would not force this functionality with snippet because you would need to adjust how Richtext field editor is behaving.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best option would be to clone Accordion component and name it &quot;Accordion with Heading&quot;. Add Title or Heading field as single line text. Adjust view and model to reflect this and just simply make field editable within Experience Editor.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-05-17T05:55:43.503" LastActivityDate="2019-05-17T05:55:43.503" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18714" PostTypeId="1" AcceptedAnswerId="18738" CreationDate="2019-05-16T07:59:27.250" Score="4" ViewCount="796" Body="&lt;p&gt;I am working on display facet data on the Experience profile tab. I am following the below article for the same.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;http://zhenyuan.azurewebsites.net/post/displaying-custom-facets-in-contact-profile&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://zhenyuan.azurewebsites.net/post/displaying-custom-facets-in-contact-profile&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;But when I am hitting my custom tab, debugger comes to defined routes (Controller and Action) which I registered and successfully returns the Custom Facts data, but unfortunately, it's throwing me below different error's on the console:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;(1) ExceptionMessage: &amp;quot;The 'ObjectContent'1' type failed to serialize the&lt;/p&gt;&#xA;&lt;p&gt;response body for content type 'application/json; charset=utf-8'.&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt; &lt;/p&gt;&#xA;&lt;p&gt;(2) Exception Newtonsoft.Json.JsonSerializationException: Self referencing loop detected with type 'Sitecore.XConnect.Schema.XdbProperty'. Path 'XObject[0].Key.DeclaringType.DeclaredProperties'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;URL&lt;/strong&gt; which executes on custom tab click is:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;http://helixbase.sc/sitecore/api/ao/v1/contacts/a2c0c034-c6f9-0000-0000-058b1d973da1/customformfields/&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;If I execute this URL in the seperate tab then it returns me value as below:&#xA; &lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;{&amp;quot;k__BackingField&amp;quot;:&amp;quot;Prince Sharma&amp;quot;,&amp;quot;k__BackingField&amp;quot;:&amp;quot;Prince.Sharma@gmail.com&amp;quot;,&amp;quot;k__BackingField&amp;quot;:&amp;quot;9654477778&amp;quot;,&amp;quot;k__BackingField&amp;quot;:&amp;quot;Sharma&amp;quot;,&amp;quot;k__BackingField&amp;quot;:&amp;quot;PAS34567NUM890&amp;quot;,&amp;quot;k__BackingField&amp;quot;:&amp;quot;Hindi&amp;quot;,&amp;quot;k__BackingField&amp;quot;:&amp;quot;10b430b2-a9c1-463b-be1e-315af66fdbde&amp;quot;,&amp;quot;k__BackingField&amp;quot;:&amp;quot;2019-04-25T11:05:16.7443003Z&amp;quot;,&amp;quot;k__BackingField&amp;quot;:true}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;JS File&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;define([&amp;quot;sitecore&amp;quot;, &amp;quot;/-/speak/v1/experienceprofile/DataProviderHelper.js&amp;quot;,&#xA;&amp;quot;/-/speak/v1/experienceprofile/CintelUtl.js&amp;quot;],&#xA;function (sc, providerHelper, cintelUtil) {&#xA;    var app = sc.Definitions.App.extend({&#xA;        initialized: function () {&#xA;            var localUrl = &amp;quot;/customformfields/&amp;quot;;&#xA;            providerHelper.setupHeaders([&#xA;                { urlKey: localUrl }&#xA;            ]);&#xA;            //providerHelper.addDefaultTransformerKey();&#xA;            var url = sc.Contact.baseUrl + localUrl;&#xA;            var $that = this;&#xA;            providerHelper.initProvider(this.customDataProvider, &amp;quot;&amp;quot;, url, this.customTabMessageBar);&#xA;            providerHelper.getData(this.customDataProvider,&#xA;                $.proxy(function (jsondata) {&#xA;                    cintelUtil.setText($that.SurNameValue, jsondata.SurName, true);&#xA;                    cintelUtil.setText($that.PassportValue, jsondata.PassportNumber, true);&#xA;                }));&#xA;        }&#xA;    });&#xA;    return app;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Rest of the &lt;code&gt;Controller, Action, InitializeRoutes code&lt;/code&gt; I implemented the same as an above-defined article. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="5484" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-17T04:37:27.213" Title="How to convert Facet Data to Json format" Tags="|xdb|experience-profile|custom-field|json|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18715" PostTypeId="1" AcceptedAnswerId="18716" CreationDate="2019-05-16T08:07:51.070" Score="2" ViewCount="453" Body="&lt;p&gt;I'm following the guide to deploy &lt;code&gt;jss&lt;/code&gt; components created locally with &lt;code&gt;Vuejs&lt;/code&gt; into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything seems to work except for the deployment part.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following is my setup file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &quot;sitecore&quot;: {&#xA;    &quot;instancePath&quot;: &quot;&quot;,&#xA;    &quot;apiKey&quot;: &quot;xxxxxxxxxxxxxxxxxx&quot;,&#xA;    &quot;deploySecret&quot;: &quot;xxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,&#xA;    &quot;deployUrl&quot;: &quot;https:myazure.net/sitecore/api/jss/import&quot;,&#xA;    &quot;layoutServiceHost&quot;: &quot;localhost:3000&quot;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The website loads locally on &lt;code&gt;http://localhost:3000&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And I'm getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unexpected response from import service:&#xA;  Status message: Bad Request&#xA;  Body: Could not find JSS app configuration for 'myapp'. Ensure you have included or previously installed a configuration patch file for the JSS app. Running 'jss deploy config' may resolve this.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Can someone point me in the right direction please?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="5537" LastEditorUserId="69" LastEditDate="2019-05-16T12:49:45.123" LastActivityDate="2019-05-16T12:49:45.123" Title="Sitecore Remote Initial Setup Error: Could not find JSS app configuration" Tags="|jss|deployment|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18716" PostTypeId="2" ParentId="18715" CreationDate="2019-05-16T09:11:17.090" Score="1" Body="&lt;p&gt;For the 'jss deploy config' step you need a path to the Sitecore webroot, the instancePath in the scjssconfig. for Example &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;sitecore&quot;: {&#xA;    &quot;instancePath&quot;: &quot;C:\\inetpub\\wwwroot\\sc911.sc&quot;,&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When running local this works, for remote or running on Azure you need to do somethings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When in Azure, the config deployment step must be performed manually (in production, it should be performed by an automated build step). For our purposes, we can use our FTPS client to deploy the JSS app's &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/config/*&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;files to the Azure website's &#xA; &lt;code&gt;/site/wwwroot/app_config/include&lt;/code&gt; directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This config file contains your:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;javaScriptServices&amp;gt;&#xA;      &amp;lt;apps&amp;gt;&#xA;         &amp;lt;app name=&quot;myapp&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;See the documentation about &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/azure-deployment&quot; rel=&quot;nofollow noreferrer&quot;&gt;JSS Azure deployments&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-05-16T09:23:01.087" LastActivityDate="2019-05-16T09:23:01.087" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18717" PostTypeId="1" CreationDate="2019-05-16T09:47:23.360" Score="0" ViewCount="584" Body="&lt;p&gt;I'm trying to deploy my Sitecore 9.1 solution to &lt;code&gt;Azure DevOps&lt;/code&gt;. I'm using a Hosted VS2017 &lt;code&gt;Agent pool&lt;/code&gt; to do that. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When it compiles my &lt;code&gt;*.sln&lt;/code&gt; solution, an error shows up, explaining that WebApplication.targets is not found. How can I find this location on the Hosted Agent ? &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error MSB4019: The imported project &quot;C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets&quot; was not found.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It seems that &lt;code&gt;MSBuild&lt;/code&gt; tools are not installed on the distant machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a glance on my &lt;code&gt;azure devops&lt;/code&gt; build task : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dkzwJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dkzwJ.png&quot; alt=&quot;Configuration of my Visual Studio build&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1566" LastEditorUserId="5096" LastEditDate="2019-05-16T11:51:59.363" LastActivityDate="2019-05-16T11:51:59.363" Title="How am I supposed to configure an Azure Hosted Agent VS2017 build for 9.1?" Tags="|azure|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18718" PostTypeId="2" ParentId="7453" CreationDate="2019-05-16T10:08:26.230" Score="0" Body="&lt;p&gt;I guess it's a placeholder for showing some kind of progress/loading animation when fetching the results async.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no way of disabling it, so (like most with SXA components), you will have to edit the cshtml or use display:none or someting. This thing really should have been set-up in the rendering variant if you ask me.&lt;/p&gt;&#xA;" OwnerUserId="2385" LastActivityDate="2019-05-16T10:08:26.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18719" PostTypeId="2" ParentId="18709" CreationDate="2019-05-16T10:14:47.587" Score="1" Body="&lt;p&gt;Maybe you could use the [Template] (/sitecore/templates/Foundation/Experience Accelerator/Rendering Variants/VariantTemplate)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check out &lt;a href=&quot;http://www.cmsitecore.com/2017/09/design-sitecore-sxa-components-using.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.cmsitecore.com/2017/09/design-sitecore-sxa-components-using.html&lt;/a&gt; for an example.&lt;/p&gt;&#xA;" OwnerUserId="2385" LastActivityDate="2019-05-16T10:14:47.587" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18721" PostTypeId="2" ParentId="18496" CreationDate="2019-05-16T10:27:22.283" Score="0" Body="&lt;p&gt;After investing and raised a ticket to Sitecore support portal, I have found below solution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Package name or ticket number should not have any illegal characters like &lt;code&gt;*&lt;/code&gt; symbol etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Open the &quot;...App_Data\diagnostics\support_package&quot; folder and remove all the existing packages from there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Now again try to collect support package via the &quot;Support Package&quot; admin page one more time with the default package name and check it will work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more detials: &lt;a href=&quot;https://himmatsinghdulawat.wordpress.com/2019/05/16/collect-basic-information-about-sitecore-installation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Collect basic information about Sitecore installation&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-05-16T11:55:40.380" LastActivityDate="2019-05-16T11:55:40.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18722" PostTypeId="1" CreationDate="2019-05-16T12:14:13.973" Score="0" ViewCount="857" Body="&lt;p&gt;I work with &lt;code&gt;Sitecore 9.1&lt;/code&gt;, and I added new contact list from list manager my new list name &lt;code&gt;Subscript_list&lt;/code&gt;, I want to save contact information (Email, first name, and Last name) programmatically, I created Form contains the fields (Email, first name, and Last name),I found many articles, but the articles focus to save data to &lt;code&gt;XConnect&lt;/code&gt; and send email using &lt;code&gt;EXM&lt;/code&gt; Module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I save data from my form directly to my new contact list?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in Advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jpf0T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jpf0T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="5517" LastEditorUserId="73" LastEditDate="2019-07-31T09:12:33.513" LastActivityDate="2019-07-31T09:12:33.513" Title="Save new Contact to contact list in List Manager" Tags="|list-manager|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18723" PostTypeId="2" ParentId="18714" CreationDate="2019-05-16T12:17:59.997" Score="1" Body="&lt;p&gt;It seems that you try to return Sitecore.XConnect.Facet in server response to browser. Facet is a complex model with generic self-referenced properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to create a simple class for view model only with fields that you need on client side, populate them from facet and use it for server response instead of Facet model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also faced this issue when I implemented custom tab with all contact facets for Experience profile. You should skip 'native' properties of Sitecore.XConnect.Facet type for output to resolve this issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example of my custom report processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public  class PopulateWithFacetData: ReportProcessorBase&#xA; {&#xA;        private static readonly Type BaseType = typeof(Sitecore.XConnect.Facet);&#xA;        readonly List&amp;lt;string&amp;gt; _skippedProperties = BaseType.GetProperties().Select(x =&amp;gt; x.Name).ToList();&#xA;        private const int maxDepth = 3;&#xA;        private bool IsDefaultProperty(string propertyName)&#xA;        {&#xA;                return _skippedProperties.Contains(propertyName);&#xA;        }&#xA;&#xA;        public override void Process(ReportProcessorArgs args)&#xA;        {&#xA;            var xConnectService = new XconnectService();&#xA;            var facets = Task.Run(() =&amp;gt; xConnectService.GetContactFacets(args.ReportParameters.ContactId)).Result;&#xA;&#xA;            var table = CreateDataTable(facets); &#xA;            args.ResultSet.Data.Dataset[args.ReportParameters.ViewName] = table;&#xA;        }&#xA;&#xA;        public DataTable CreateDataTable(IReadOnlyDictionary&amp;lt;string,Facet&amp;gt; list)&#xA;        {&#xA;            DataTable dataTable = new DataTable();&#xA;&#xA;            dataTable.Columns.Add(new DataColumn(&quot;FacetName&quot;, &quot;&quot;.GetType()));&#xA;            dataTable.Columns.Add(new DataColumn(&quot;FieldName&quot;, &quot;&quot;.GetType()));&#xA;            dataTable.Columns.Add(new DataColumn(&quot;FieldValue&quot;, &quot;&quot;.GetType()));&#xA;            dataTable.Columns.Add(new DataColumn(&quot;DepthLevel&quot;, &quot;&quot;.GetType()));&#xA;            dataTable.Columns.Add(new DataColumn(&quot;Type&quot;, &quot;&quot;.GetType()));&#xA;            foreach (var entity in list)&#xA;            {&#xA;                if(entity.Key!=&quot;Avatar&quot;)&#xA;                    AddChildren(ref dataTable, entity.Key, entity.Value, 0);&#xA;            }&#xA;&#xA;            return dataTable;&#xA;        }&#xA;&#xA;        private void AddChildren(ref DataTable dataTable,string contactFacetName, dynamic obj, int depth, string typePath=&quot;&quot;)&#xA;        {&#xA;            if (depth &amp;gt; maxDepth) return; &#xA;            Type type = obj.GetType();&#xA;            var properties = type.GetProperties();&#xA;            foreach (var p in properties)&#xA;            {&#xA;                object[] values = new object[5];&#xA;&#xA;                values[0] = contactFacetName;&#xA;                values[1] = p.Name;&#xA;                var value = p.GetValue(obj) ?? &quot;&quot;;&#xA;                values[2] = value;&#xA;                values[3] = depth;&#xA;&#xA;&#xA;                Type valueType = value.GetType();&#xA;                if (valueType.FullName != null)&#xA;                {&#xA;                    if (!valueType.FullName.StartsWith(&quot;System.Collections&quot;))&#xA;                        if (!IsDefaultProperty(p.Name))&#xA;                        {&#xA;                            var path = typePath+ &quot;$&quot; + values[1];&#xA;                            values[4] = typePath;&#xA;                            if (valueType.Namespace.StartsWith(&quot;System&quot;))&#xA;                            {&#xA;                                dataTable.Rows.Add(values);&#xA;                            }&#xA;                            else&#xA;                            {&#xA;                                values[2] = &quot;$object$&quot;;&#xA;                                dataTable.Rows.Add(values);&#xA;                                AddChildren(ref dataTable, contactFacetName, value, depth+1, path);&#xA;                            }&#xA;                        }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I used reflection to make solution generic. You can easy adapt it for your concrete facet. We implemented it for previous year Hackathon (sitecore 9.0), I hope it can be useful for your custom tab implementation. &lt;a href=&quot;https://github.com/Sitecore-Hackathon/2018-Sitecore-Friends/blob/master/documentation/README.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore-Hackathon/2018-Sitecore-Friends/blob/master/documentation/README.md&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-05-16T20:49:02.850" LastActivityDate="2019-05-16T20:49:02.850" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18725" PostTypeId="2" ParentId="18722" CreationDate="2019-05-16T12:33:25.720" Score="2" Body="&lt;p&gt;You should create new Contact and add a new subscription to &lt;code&gt;ListSubscriptions facet&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create contact:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;       public async Task&amp;lt;bool&amp;gt; CreateContact(&#xA;            string source,&#xA;            string identifier,&#xA;            string firstName,&#xA;            string lastName,&#xA;            string email)&#xA;        {&#xA;            using (XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    IdentifiedContactReference reference = new IdentifiedContactReference(source, identifier);&#xA;&#xA;                    var contactTask = client.GetAsync(&#xA;                        reference,&#xA;                        new ContactExpandOptions()&#xA;                    );&#xA;&#xA;                    Contact existingContact = await contactTask;&#xA;&#xA;                    if (existingContact != null)&#xA;                    {&#xA;                        return false;&#xA;                    }&#xA;&#xA;                    var contactIdentifiers = new[]&#xA;                    {&#xA;                        new ContactIdentifier(source, identifier, ContactIdentifierType.Known),&#xA;&#xA;                    };&#xA;&#xA;                    Contact contact = new Contact(contactIdentifiers);&#xA;&#xA;                    var personal = new PersonalInformation&#xA;                    {&#xA;                        FirstName = firstName,&#xA;                        LastName = lastName&#xA;                    };&#xA;&#xA;&#xA;                    var preferredEmail = new EmailAddress(email, true);&#xA;                    var emails = new EmailAddressList(preferredEmail, &quot;Work&quot;);&#xA;&#xA;                    client.AddContact(contact);&#xA;                    client.SetPersonal(contact, personal);&#xA;                    client.SetEmails(contact, emails);&#xA;&#xA;                    await client.SubmitAsync();&#xA;&#xA;                    return true;&#xA;                }&#xA;                catch (XdbExecutionException ex)&#xA;                {&#xA;                    _logService.Error(ex.Message, ex);&#xA;                    return false;&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Subscribe contact to list:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public async Task&amp;lt;bool&amp;gt; SubscribeContact(string source, string identifier, Guid listId)&#xA;        {&#xA;            using (XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    IdentifiedContactReference reference = new IdentifiedContactReference(source, identifier);&#xA;&#xA;                    var contactTask = client.GetAsync(&#xA;                        reference,&#xA;                        new ContactExpandOptions(&#xA;                            ListSubscriptions.DefaultFacetKey&#xA;                            )&#xA;                    );&#xA;&#xA;                    Contact contact = await contactTask;&#xA;&#xA;                    if (contact == null)&#xA;                    {&#xA;                        return false;&#xA;                    }&#xA;&#xA;                    if (contact.Identifiers.All(x =&amp;gt; x.Source != &quot;ListManager&quot;))&#xA;                        client.AddContactIdentifier(contact, new ContactIdentifier(&quot;ListManager&quot;, Guid.NewGuid().ToString(), ContactIdentifierType.Known));&#xA;&#xA;                    var subscriptions = contact.ListSubscriptions() ?? new ListSubscriptions();&#xA;                    var subscription = new ContactListSubscription(DateTime.UtcNow, true, listId);&#xA;                    subscriptions.Subscriptions.Add(subscription);&#xA;                    client.SetListSubscriptions(contact, subscriptions);   &#xA;&#xA;                    await client.SubmitAsync();&#xA;&#xA;                    return true;&#xA;                }&#xA;                catch (XdbExecutionException ex)&#xA;                {&#xA;                    _logService.Error(ex.Message, ex);&#xA;                    return false;&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="5387" LastEditDate="2019-07-31T08:24:57.640" LastActivityDate="2019-07-31T08:24:57.640" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18726" PostTypeId="2" ParentId="18703" CreationDate="2019-05-16T12:56:37.407" Score="3" Body="&lt;p&gt;The above response is correct for the straight up conversion of the package to a WDP (scwdp.zip). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case it helps, there are quite a few goodies that make use of the Azure Toolkit to generate WDPs and to then deploy to Azure in the &lt;a href=&quot;https://github.com/Sitecore/Sitecore.HabitatHome.Platform/tree/develop/Azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;HabitatHome.Platform repo&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main PS scripts are in /Azure and a lot of it is called / used by build.cake. It's not for the faint of heart and needs some work but as I say it would contain some nuggets that you could probably make use of / learn from.&lt;/p&gt;&#xA;" OwnerUserId="1695" LastActivityDate="2019-05-16T12:56:37.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18727" PostTypeId="1" AcceptedAnswerId="18728" CreationDate="2019-05-16T13:24:45.153" Score="5" ViewCount="220" Body="&lt;p&gt;I'm trying to create a WDP from an existing Sitecore package but I'm facing the following error &lt;strong&gt;even after installing &lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=55713&quot; rel=&quot;noreferrer&quot;&gt;DacFX&lt;/a&gt;&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Microsoft.Web.Deployment.DeploymentDetailedFatalException: The SQL provider cannot run with dacpac option because of a m&#xA;issing dependency. Please make sure that DacFx is installed.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=2216&#xA;72#ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER.&#xA;   at Microsoft.Web.Deployment.DacHelper.ThrowIfDACCannotBeLoaded()&#xA;   at Microsoft.Web.Deployment.SqlDacPacProvider.GetAttributes(DeploymentAddAttributeContext addContext)&#xA;   at Microsoft.Web.Deployment.DeploymentObject.EnsureValidAttributes()&#xA;   at Microsoft.Web.Deployment.ManifestProvider.GetAttributes(DeploymentAddAttributeContext addContext)&#xA;   at Microsoft.Web.Deployment.DeploymentObject.EnsureValidAttributes()&#xA;   at Microsoft.Web.Deployment.DeploymentObject.get_IsValid()&#xA;   at Microsoft.Web.Deployment.DeploymentManager.CreateObjectPrivate(DeploymentProviderContext providerContext, Deployme&#xA;ntBaseOptions baseOptions, DeploymentObject sourceObject, String serverVersion)&#xA;   at Microsoft.Web.Deployment.DeploymentManager.CreateObject(DeploymentProviderOptions providerOptions, DeploymentBaseO&#xA;ptions baseOptions)&#xA;   at Sitecore.Cloud.Packaging.WebDeployPackages.WebDeployPackageBuilder.MSDeploySyncFromManifest(String manifestXmlPath&#xA;, String tempPackage)&#xA;   at Sitecore.Cloud.Packaging.WebDeployPackages.WebDeployPackageBuilder.Build(SitecoreModuleFolderTree smTree, DirPath&#xA;outputDir, String sourceName, String[] disableDacPacOptions, Boolean force)&#xA;   at Sitecore.Cloud.Cmdlets.Packaging.ConvertToSCModuleWebDeployPackage.ProcessRecord()&#xA;ConvertTo-SCModuleWebDeployPackage : Microsoft.Web.Deployment.DeploymentDetailedFatalException: The SQL provider&#xA;cannot run with dacpac option because of a missing dependency. Please make sure that DacFx is installed.  Learn more&#xA;at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER.&#xA;   at Microsoft.Web.Deployment.DacHelper.ThrowIfDACCannotBeLoaded()&#xA;   at Microsoft.Web.Deployment.SqlDacPacProvider.GetAttributes(DeploymentAddAttributeContext addContext)&#xA;   at Microsoft.Web.Deployment.DeploymentObject.EnsureValidAttributes()&#xA;   at Microsoft.Web.Deployment.ManifestProvider.GetAttributes(DeploymentAddAttributeContext addContext)&#xA;   at Microsoft.Web.Deployment.DeploymentObject.EnsureValidAttributes()&#xA;   at Microsoft.Web.Deployment.DeploymentObject.get_IsValid()&#xA;   at Microsoft.Web.Deployment.DeploymentManager.CreateObjectPrivate(DeploymentProviderContext providerContext,&#xA;DeploymentBaseOptions baseOptions, DeploymentObject sourceObject, String serverVersion)&#xA;   at Microsoft.Web.Deployment.DeploymentManager.CreateObject(DeploymentProviderOptions providerOptions,&#xA;DeploymentBaseOptions baseOptions)&#xA;   at Sitecore.Cloud.Packaging.WebDeployPackages.WebDeployPackageBuilder.MSDeploySyncFromManifest(String&#xA;manifestXmlPath, String tempPackage)&#xA;   at Sitecore.Cloud.Packaging.WebDeployPackages.WebDeployPackageBuilder.Build(SitecoreModuleFolderTree smTree,&#xA;DirPath outputDir, String sourceName, String[] disableDacPacOptions, Boolean force)&#xA;   at Sitecore.Cloud.Cmdlets.Packaging.ConvertToSCModuleWebDeployPackage.ProcessRecord()&#xA;At line:1 char:1&#xA;+ ConvertTo-SCModuleWebDeployPackage -Path &quot;C:\Sitecore Azure Toolkit\c ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (Microsoft.Web.D...ProcessRecord():String) [ConvertTo-SCModuleWebDeployPac&#xA;   kage], Exception&#xA;    + FullyQualifiedErrorId : Microsoft.Extensions.Logging.EventId,Sitecore.Cloud.Cmdlets.Packaging.ConvertToSCModuleW&#xA;   ebDeployPackage&#xA;&#xA;ConvertTo-SCModuleWebDeployPackage : The SQL provider cannot run with dacpac option because of a missing dependency.&#xA;Please make sure that DacFx is installed.  Learn more at:&#xA;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER.&#xA;At line:1 char:1&#xA;+ ConvertTo-SCModuleWebDeployPackage -Path &quot;C:\Sitecore Azure Toolkit\c ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [ConvertTo-SCModuleWebDeployPackage], DeploymentDetailedFatalException&#xA;    + FullyQualifiedErrorId : Microsoft.Web.Deployment.DeploymentDetailedFatalException,Sitecore.Cloud.Cmdlets.Packagi&#xA;   ng.ConvertToSCModuleWebDeployPackage&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yF9oH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yF9oH.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed the &lt;a href=&quot;https://doc.sitecore.com/developers/sat/20/sitecore-azure-toolkit/en/getting-started-with-the-sitecore-azure-toolkit.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt; on the subject and made sure &lt;strong&gt;I have all the prerequisites checked&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-16T13:24:45.153" Title="Error while creating a WDP package using AzureToolkit" Tags="|azure|paas|packages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18728" PostTypeId="2" ParentId="18727" CreationDate="2019-05-16T13:24:45.153" Score="5" Body="&lt;p&gt;So yeah, my &lt;strong&gt;DacFX&lt;/strong&gt; was installed properly, but...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only thing that I missed is that &lt;strong&gt;SQL Server itself is a prerequisite as well&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since I'm working in a VM which doesn't host any Sitecore instance (it only builds the packages) I didn't realize that quickly.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-16T13:24:45.153" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18729" PostTypeId="1" CreationDate="2019-05-16T14:32:31.043" Score="3" ViewCount="1629" Body="&lt;p&gt;I have used general Link as rendering parameter . How I can extract URL in c#.&#xA;For Single line text I am using below piece of code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var renderingModel = Sitecore.Mvc.Presentation.RenderingContext.CurrentOrNull;&#xA;  var topResults = renderingModel.Rendering.ParamValue(&quot;TopResults&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="1338" LastEditDate="2019-05-17T05:28:35.897" LastActivityDate="2019-05-17T05:28:35.897" Title="Read URL from Rendering Parameter General Link in Sitecore 9" Tags="|presentation|sitecore-api|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18730" PostTypeId="2" ParentId="18125" CreationDate="2019-05-16T15:18:58.267" Score="1" Body="&lt;p&gt;There appears to be a bug in the Sitecore WebDeploy package &lt;code&gt;Sitecore JavaScript Services Server for Sitecore 9.1.1 XM 11.0.1 rev. 190318.scwdp&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SQL generates a role called &lt;code&gt;sitecore\JssImport&lt;/code&gt; but does not create the user or assign it to the role.&lt;/p&gt;&#xA;" OwnerUserId="716" LastEditorUserId="3866" LastEditDate="2019-05-17T02:30:50.310" LastActivityDate="2019-05-17T02:30:50.310" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18731" PostTypeId="2" ParentId="18729" CreationDate="2019-05-16T15:53:24.390" Score="5" Body="&lt;p&gt;If you do not have Glassmapper, OOTB sitecore doesn`t have helpers to cast rendering parameter to link field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can retrieve parameter value the same as single-line text, but as a result you will get raw value of link field. It will be look like (depends on link type):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Internal link&#xA;&amp;lt;link text=&quot;&quot; anchor=&quot;&quot; linktype=&quot;internal&quot; class=&quot;&quot; title=&quot;&quot; target=&quot;&quot; querystring=&quot;&quot; id=&quot;{FCC08AE8-449A-400C-A7CB-0898F7221B2A}&quot; /&amp;gt; &#xA;&#xA;// Media link&#xA;&amp;lt;link linktype=&quot;media&quot; target=&quot;&quot; id=&quot;{4AA4EA35-5AD1-4787-BE62-BDFC890F835D}&quot; /&amp;gt;&#xA;&#xA;// External link&#xA;&amp;lt;link linktype=&quot;external&quot; url=&quot;https://google.com&quot; anchor=&quot;&quot; target=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What you need to do is to parse from xml parameter &quot;id&quot; for internal link or &quot;url&quot; for external (you can also check 'linktype' to determine what type is your link):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var renderingModel = Sitecore.Mvc.Presentation.RenderingContext.CurrentOrNull;&#xA;var topResults =  renderingModel.Rendering.Parameters[&quot;TopResults&quot;];&#xA;&#xA;// Move this code to extention method or helper&#xA;&#xA;var url  = &quot;&quot;;&#xA;var itemId = Sitecore.Xml.XmlUtil.GetAttribute(&quot;id&quot;, XmlUtil.LoadXml(topResults));&#xA;var linkUrl = Sitecore.Xml.XmlUtil.GetAttribute(&quot;url&quot;, XmlUtil.LoadXml(topResults));&#xA;&#xA;if (!string.IsNullOrEmpty(linkUrl))&#xA;{&#xA;    url = linkUrl;&#xA;}&#xA;else if (itemId != null)&#xA;{&#xA;    Item urlItem = Sitecore.Context.Database.GetItem(itemId);&#xA;&#xA;    if (urlItem != null) &#xA;    {&#xA;        url = Sitecore.Links.LinkManager.GetItemUrl(urlItem);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-05-16T16:00:15.390" LastActivityDate="2019-05-16T16:00:15.390" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18732" PostTypeId="2" ParentId="13074" CreationDate="2019-05-16T16:33:25.967" Score="3" Body="&lt;p&gt;Azure does not support solr suggester for sitecore, but as a workaround you can create a separate index where you store only text information that you want to use for suggestions (to get suggestions fast) that you will be use like a suggester dictionary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example of suggesting by field &quot;Title&quot;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TitleSearchResultItem&#xA;{&#xA;    [IndexField(&quot;title&quot;)]&#xA;    public string Title { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Suggest method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IEnumerable&amp;lt;string&amp;gt; Suggest(string term, int count = 5)&#xA;{&#xA;            char[] delimiters = { ' ', ',', ';', '.', ':', '-' };&#xA;&#xA;            var words = term.Split(delimiters, StringSplitOptions.RemoveEmptyEntries);&#xA;&#xA;            var predicate = PredicateBuilder.True&amp;lt;TitleSearchResultItem&amp;gt;();&#xA;            predicate = words.Aggregate(predicate, (current, t) =&amp;gt;&#xA;            {&#xA;                return current.And(x =&amp;gt; x.Title.StartsWith(t).Boost(10) || x.Title.Contains(t).Boost(5));&#xA;            });&#xA;&#xA;            var contextIndex = _contextRepository.GetSearchIndexContext(&quot;custom_suggester_index&quot;);&#xA;            using (var context = contextIndex.CreateSearchContext())&#xA;            {&#xA;                var results = context.GetQueryable&amp;lt;TitleSearchResultItem&amp;gt;()&#xA;                    .Where(predicate)&#xA;                    .Take(count)&#xA;                    .Select(x =&amp;gt; new { x.Title });&#xA;&#xA;                return results.Select(x =&amp;gt; x.Title).ToList();&#xA;            }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-05-16T21:02:48.833" LastActivityDate="2019-05-16T21:02:48.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18733" PostTypeId="1" AcceptedAnswerId="18734" CreationDate="2019-05-16T17:24:08.683" Score="2" ViewCount="886" Body="&lt;p&gt;I'm using Glass 5.4.18 with Sitecore 9.0.2. I have a base template for my site that has language fallback turned on by default, but for a few items the client wants to disable language fallback so the item does not appear in certain languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've gone into the individual item in a navigation tree and unchecked Enable Language Fallback, and I've tried this both with and without Enforce Version Presence checked on. But when I retrieve the item in my controller as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IGlassBase testGlass = _mvcContext.SitecoreService.GetItem&amp;lt;IGlassBase&amp;gt;(new Guid(&quot;{5D70191B-546B-4902-B764-175F2C4FE6DB}&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &quot;testGlass&quot; variable is not null like I'd expect it to be. I get the item details back, but if I check the actual item (either through a Glass property marked with the &lt;code&gt;SitecoreItem&lt;/code&gt; attribute, or using the Sitecore API directly) I see the &lt;code&gt;Versions.Count&lt;/code&gt; is 0 as I'd expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A lot of the prior answers on this topic appear to be from Glass 4 or when language fallback was first introduced, and mention using a VersionCountDisabler. I didn't think any extra wiring was necessary at this stage, but my direct query and looping past them item in a SitecoreChildren iteration yield the item to display in my navigation tree incorrectly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I feel like I'm missing a setting, but I can't find what it might be, if there's a configuration or script I need to add in. I could do a &lt;code&gt;.Where&lt;/code&gt; and look for &lt;code&gt;Versions.Count &amp;gt; 0&lt;/code&gt; but that seems excessive.&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2019-05-16T17:44:59.983" LastActivityDate="2019-05-16T19:14:05.787" Title="Glass Mapper - Item not null when language version not present" Tags="|glass-mapper|multilingual|language-fallback|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18734" PostTypeId="2" ParentId="18733" CreationDate="2019-05-16T19:14:05.787" Score="5" Body="&lt;p&gt;This is not a glass mapper issue, but instead a miss on the full Enforce Language Presence implementation.&lt;/p&gt;&#xA;&lt;p&gt;Per &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/enforce-version-presence.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;h2&gt;1) Enable the enforceVersionPresence attribute&lt;/h2&gt;&#xA;&lt;p&gt;This attribute is applicable to a &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; definition element. &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/configuration-patch-file-examples.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Patch it in appropriately&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&amp;quot;mysite&amp;quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&amp;quot;enforceVersionPresence&amp;quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;em&gt;Note: Do not patch this into the &lt;code&gt;shell&lt;/code&gt; site definition.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h2&gt;2) Enforce version presence on your template&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;To enable enforce version presence on an item or a data template:&lt;/p&gt;&#xA;&lt;p&gt;In the Content Editor, navigate to the relevant item or template, in&#xA;the &lt;strong&gt;Advanced&lt;/strong&gt; section, select &lt;strong&gt;Enforce Version Presence&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can also enable this on a base template to allow data&#xA;templates to inherit the setting from there.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="556" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-16T19:14:05.787" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18735" PostTypeId="2" ParentId="18714" CreationDate="2019-05-16T19:46:33.580" Score="3" Body="&lt;p&gt;Your issue is that each facet has an &lt;code&gt;XObject&lt;/code&gt; object on it that contains a lot of circular references. The XObject will never serialize, you just need to tell NewtonSoft to ignore it when serializing. You can do this with a DefaultContractResolver. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see this working in my repo. &lt;a href=&quot;https://github.com/buildabonfire/Bonfire.Analytics.Dto&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/buildabonfire/Bonfire.Analytics.Dto&lt;/a&gt;&#xA;Your facets will look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;   &quot;Key&quot;: &quot;Emails&quot;,&#xA;      &quot;Value&quot;: {&#xA;      &quot;Others&quot;: {},&#xA;      &quot;PreferredKey&quot;: &quot;Primary Email&quot;,&#xA;      &quot;PreferredEmail&quot;: {&#xA;      &quot;Validated&quot;: false,&#xA;      &quot;SmtpAddress&quot;: &quot;myemail@gmail.com&quot;,&#xA;      &quot;BounceCount&quot;: 0&#xA;   },&#xA;   &quot;ConcurrencyToken&quot;: &quot;9685b921-6c5a-4cde-becd-74e9b3f6d74c&quot;,&#xA;   &quot;LastModified&quot;: &quot;2019-05-14T02:31:56.2523352Z&quot;,&#xA;   &quot;ClrTypePresent&quot;: true&#xA;   }&#xA;},&#xA;{&#xA;   &quot;Key&quot;: &quot;Personal&quot;,&#xA;   &quot;Value&quot;: {&#xA;      &quot;Birthdate&quot;: &quot;1971-10-12T00:00:00Z&quot;,&#xA;      &quot;FirstName&quot;: &quot;Chris&quot;,&#xA;      &quot;MiddleName&quot;: null,&#xA;      &quot;LastName&quot;: &quot;Auer&quot;,&#xA;      &quot;Gender&quot;: &quot;M&quot;,&#xA;      &quot;JobTitle&quot;: null,&#xA;      &quot;Nickname&quot;: null,&#xA;      &quot;Suffix&quot;: null,&#xA;      &quot;Title&quot;: null,&#xA;      &quot;PreferredLanguage&quot;: null,&#xA;      &quot;ConcurrencyToken&quot;: &quot;e73f4cad-0264-4a8d-bba4-c51b1293b6d8&quot;,&#xA;      &quot;LastModified&quot;: &quot;2019-04-28T16:30:43.7406558Z&quot;,&#xA;      &quot;ClrTypePresent&quot;: true&#xA;   }&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have a custom controller action that returns Json Text.&#xA;&lt;a href=&quot;https://github.com/buildabonfire/Bonfire.Analytics.Dto/blob/master/Bonfire.Analytics.Dto/Serialization/JsonNet.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/buildabonfire/Bonfire.Analytics.Dto/blob/master/Bonfire.Analytics.Dto/Serialization/JsonNet.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;PropertyRenameAndIgnoreSerializerContractResolver&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This is the code that will tell NewtonSoft to ignore a property.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Reflection;&#xA;using System.Web;&#xA;using Newtonsoft.Json;&#xA;using Newtonsoft.Json.Serialization;&#xA;&#xA;namespace Bonfire.Analytics.Dto.Extensions&#xA;{&#xA;    public class PropertyRenameAndIgnoreSerializerContractResolver : DefaultContractResolver&#xA;    {&#xA;        private readonly Dictionary&amp;lt;Type, HashSet&amp;lt;string&amp;gt;&amp;gt; _ignores;&#xA;        private readonly Dictionary&amp;lt;Type, Dictionary&amp;lt;string, string&amp;gt;&amp;gt; _renames;&#xA;&#xA;        public PropertyRenameAndIgnoreSerializerContractResolver()&#xA;        {&#xA;            _ignores = new Dictionary&amp;lt;Type, HashSet&amp;lt;string&amp;gt;&amp;gt;();&#xA;            _renames = new Dictionary&amp;lt;Type, Dictionary&amp;lt;string, string&amp;gt;&amp;gt;();&#xA;        }&#xA;&#xA;        public void IgnoreProperty(Type type, params string[] jsonPropertyNames)&#xA;        {&#xA;            if (!_ignores.ContainsKey(type))&#xA;                _ignores[type] = new HashSet&amp;lt;string&amp;gt;();&#xA;&#xA;            foreach (var prop in jsonPropertyNames)&#xA;                _ignores[type].Add(prop);&#xA;        }&#xA;&#xA;        public void RenameProperty(Type type, string propertyName, string newJsonPropertyName)&#xA;        {&#xA;            if (!_renames.ContainsKey(type))&#xA;                _renames[type] = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;&#xA;            _renames[type][propertyName] = newJsonPropertyName;&#xA;        }&#xA;&#xA;        protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)&#xA;        {&#xA;            var property = base.CreateProperty(member, memberSerialization);&#xA;&#xA;            if (IsIgnored(property.DeclaringType, property.PropertyName))&#xA;            {&#xA;                property.ShouldSerialize = i =&amp;gt; false;&#xA;                property.Ignored = true;&#xA;            }&#xA;&#xA;            if (IsRenamed(property.DeclaringType, property.PropertyName, out var newJsonPropertyName))&#xA;                property.PropertyName = newJsonPropertyName;&#xA;&#xA;            return property;&#xA;        }&#xA;&#xA;        private bool IsIgnored(Type type, string jsonPropertyName)&#xA;        {&#xA;            if (!_ignores.ContainsKey(type))&#xA;                return false;&#xA;&#xA;            return _ignores[type].Contains(jsonPropertyName);&#xA;        }&#xA;&#xA;        private bool IsRenamed(Type type, string jsonPropertyName, out string newJsonPropertyName)&#xA;        {&#xA;            Dictionary&amp;lt;string, string&amp;gt; renames;&#xA;&#xA;            if (!_renames.TryGetValue(type, out renames) || !renames.TryGetValue(jsonPropertyName, out newJsonPropertyName))&#xA;            {&#xA;                newJsonPropertyName = null;&#xA;                return false;&#xA;            }&#xA;&#xA;            return true;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Executing the serialization&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    var jsonResolver = new PropertyRenameAndIgnoreSerializerContractResolver();&#xA;&#xA;    // THIS IS WHERE WE TELL IT TO IGNORE XObject&#xA;    jsonResolver.IgnoreProperty(typeof(XdbExtensible), &quot;XObject&quot;);&#xA;&#xA;    var serializerSettings = new JsonSerializerSettings();&#xA;    serializerSettings.ContractResolver = jsonResolver;&#xA;&#xA;    var formatting = Formatting.None;&#xA;    var sb = new StringBuilder();&#xA;    var sw = new StringWriter(sb);&#xA;&#xA;    var writer = new JsonTextWriter(sw) { Formatting = formatting };&#xA;    var serializer = JsonSerializer.Create(serializerSettings);&#xA;    serializer.Serialize(writer, this.Data);&#xA;&#xA;    // your JSON is in sb.ToString()&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-05-16T19:46:33.580" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18736" PostTypeId="1" AcceptedAnswerId="18760" CreationDate="2019-05-16T20:59:40.940" Score="1" ViewCount="1867" Body="&lt;p&gt;I'm trying to use the Multi-root treelist that &lt;a href=&quot;https://kamsar.net/index.php/2015/05/A-Multiple-Root-Treelist-Field/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Kam Figy&lt;/a&gt; made and that &lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/june/06/creating-a-multi-root-treelist-field-in-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;Zachary Kniebel&lt;/a&gt; extended. I used &lt;a href=&quot;https://www.sitecore.com/company/blog/474/creating-a-custom-sitecore-field-4246&quot; rel=&quot;nofollow noreferrer&quot;&gt;this guide&lt;/a&gt; to add the Field-type to the Core database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All is well, until I put &lt;code&gt;query:&lt;/code&gt; anywhere in the fields source. In the use-case I have I need to have at least one of the two roots be a query like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@templatename='Website']/Sitedata/Facets&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The other root can be an absolute path if need be, or a query, for this example let's say it's the &lt;code&gt;content&lt;/code&gt;-root, I've tried these values in the Source-field of the template-field with Multi-root Treelist:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:./ancestor-or-self::*[@@templatename='Website']/Sitedata/Facets|/sitecore/content&#xA;// yields only 1st root, the query, content-root isn't there.&#xA;datasource=query:./ancestor-or-self::*[@@templatename='Website']/Sitedata/Facets|/sitecore/content&#xA;// yields 2nd root correctly, 1st root defaults to /sitecore root&#xA;datasource=query:./ancestor-or-self::*[@@templatename='Website']/Sitedata/Facets|datasource=/sitecore/content&#xA;// both roots are now defaulting to /sitecore root&#xA;datasource=query:./ancestor-or-self::*[@@templatename='Website']/Sitedata/Facets|datasource=query:/sitecore/content&#xA;// again both roots now /sitecore root&#xA;query:./ancestor-or-self::*[@@templatename='Website']/Sitedata/Facets|query:/sitecore/content&#xA;// yields nothing, no roots shown, completely empty field in content-editor&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Whether I use Kam's code or Zachary's code, the results are the same. What's going on?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've done some digging and I think I've narrowed the problem down somewhat. If the value starts with &lt;code&gt;query:&lt;/code&gt; then Sitecore does the parsing and disregards anything after the &lt;code&gt;|&lt;/code&gt; before passing it on to the custom code. So I'm using the 2nd query, with format &lt;code&gt;datasource=query:./ancestor-etc|/sitecore/content&lt;/code&gt;. And I'm using Kam's code-base extended only with the parts of Zachary's code that parse the &lt;code&gt;query:&lt;/code&gt; as Kam's code didn't do that. So this is my version of Kam's &lt;code&gt;CreateDataContext&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual DataContext CreateDataContext(DataContext baseDataContext, string dataSource)&#xA;{&#xA;    Item datasourceItem = null;&#xA;    if (dataSource.StartsWith(&quot;query:&quot;))&#xA;    {&#xA;        try&#xA;        {&#xA;            var currentItem = Sitecore.Context.ContentDatabase.GetItem(this.ItemID);&#xA;            var results = LookupSources.GetItems(currentItem, dataSource);&#xA;            datasourceItem = results.FirstOrDefault(item =&amp;gt; item != null);&#xA;            dataSource = datasourceItem.Paths.FullPath;&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error($&quot;Treelist field failed to execute query: '{dataSource}'&quot;, ex, this);&#xA;        }&#xA;    }&#xA;&#xA;    DataContext dataContext = new DataContext&#xA;    {&#xA;        ID = GetUniqueID(&quot;D&quot;),&#xA;        Filter = baseDataContext.Filter,&#xA;        DataViewName = &quot;Master&quot;,&#xA;        Root = dataSource,&#xA;        Language = Language.Parse(this.ItemLanguage)&#xA;    };&#xA;&#xA;    if (!string.IsNullOrEmpty(this.DatabaseName))&#xA;    {&#xA;        dataContext.Parameters = &quot;databasename=&quot; + this.DatabaseName;&#xA;    }&#xA;&#xA;    return dataContext;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Stepping into the code, it looks like &lt;code&gt;LookupSources.GetItems()&lt;/code&gt; doesn't like my query as it returns an empty &lt;code&gt;Item&lt;/code&gt;-array. To be clear, this query works perfectly fine when used as a datasource for a controller rendering, so it's not the query itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried the following in the debugger's Immediate Window while pauzed right after the &lt;code&gt;LookupSources.GetItems()&lt;/code&gt; line above:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LookupSources.GetItems(currentItem, &quot;query:.&quot;);&#xA;'LookupSources.GetItems(currentItem, &quot;query:.&quot;)' threw an exception of type 'Sitecore.Exceptions.LookupSourceException'&#xA;    Data: {System.Collections.ListDictionaryInternal}&#xA;    HResult: -2146233088&#xA;    HelpLink: null&#xA;    InnerException: {&quot;Index was outside the bounds of the array.&quot;}&#xA;    InnerMessage: &quot;Index was outside the bounds of the array.&quot;&#xA;    Message: &quot;Invalid lookup source \&quot;query:.\&quot;: Index was outside the bounds of the array..&quot;&#xA;// ^ so the &quot;query:&quot; part should be trimmed, aha&#xA;&#xA;LookupSources.GetItems(currentItem, &quot;.&quot;);&#xA;{Sitecore.Data.Items.Item[1]}&#xA;    &quot;Werken bij banner&quot;: Werken bij banner (en#1@master), id: {7D9F219F-19EA-4CEB-AC8B-BCE4894D71B1}&#xA;// This is the only child-item of the current item. I kinda expected the current Item, not its children.&#xA;// But at least LookupSources isn't completely kaput&#xA;&#xA;LookupSources.GetItems(currentItem, &quot;..&quot;);&#xA;{Sitecore.Data.Items.Item[2]}&#xA;// This is the current Item and its only sibling, so far so good&#xA;&#xA;LookupSources.GetItems(currentItem, &quot;./ancestor-or-self::*[@@templatename='website']/sitedata/facets&quot;);&#xA;{Sitecore.Data.Items.Item[0]}&#xA;// Nothing&#xA;&#xA;LookupSources.GetItems(currentItem, &quot;./ancestor-or-self::*&quot;);&#xA;{Sitecore.Data.Items.Item[0]}&#xA;// Nothing still?&#xA;&#xA;LookupSources.GetItems(currentItem, &quot;./ancestor::*&quot;);&#xA;{Sitecore.Data.Items.Item[57]}&#xA;// So maybe ancestor-or-self is kaput and I should use just ancestor?&#xA;&#xA;LookupSources.GetItems(currentItem, &quot;./ancestor::*[@@templatename='website']&quot;);&#xA;{Sitecore.Data.Items.Item[0]}&#xA;// Nope, still kaput&#xA;&#xA;LookupSources.GetItems(currentItem, &quot;./ancestor::*[@@templateid='{299B2290-E128-4633-8F9A-DCCC1CCBA9DE}']&quot;);&#xA;{Sitecore.Data.Items.Item[0]}&#xA;// Google searches use @@templateid in stead of @@templatename, but nope.&#xA;&#xA;LookupSources.GetItems(currentItem, &quot;./ancestor-or-self::*[@@templateid='{299B2290-E128-4633-8F9A-DCCC1CCBA9DE}']&quot;);&#xA;{Sitecore.Data.Items.Item[0]}&#xA;// ancestor-or-self combined with @@templateid just to be sure, alas&#xA;&#xA;// maybe the string isn't parsed correctly before sending it to GetItems() to begin with so lets make it @&quot;&quot;&#xA;LookupSources.GetItems(currentItem, @&quot;./ancestor::*[@@templateid='{299B2290-E128-4633-8F9A-DCCC1CCBA9DE}']&quot;);&#xA;{Sitecore.Data.Items.Item[0]}&#xA;LookupSources.GetItems(currentItem, @&quot;./ancestor::*[@@templatename='website']&quot;);&#xA;{Sitecore.Data.Items.Item[0]}&#xA;// still nothing...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; &lt;code&gt;LookupSources.GetItems()&lt;/code&gt; doesn't seem to do &lt;code&gt;ancestor-or-self&lt;/code&gt; and doesn't do &lt;code&gt;*[@@templatename='Website']&lt;/code&gt; or &lt;code&gt;*[@@templateid='{299B2290-E128-4633-8F9A-DCCC1CCBA9DE}']&lt;/code&gt;. What to do about that or try differently?&lt;/p&gt;&#xA;" OwnerUserId="4665" LastEditorUserId="4665" LastEditDate="2019-05-17T09:52:52.577" LastActivityDate="2022-07-04T14:47:18.110" Title="Multi-root treelist with queries" Tags="|sitecore-query|custom-field|tree-list|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18738" PostTypeId="2" ParentId="18714" CreationDate="2019-05-17T04:37:27.213" Score="4" Body="&lt;p&gt;I have faced the same issue during the implementation of Display custom facet on the Experience profile tab. @x3mxray helped me as well to implement the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the article &#xA;&lt;a href=&quot;http://zhenyuan.azurewebsites.net/post/displaying-custom-facets-in-contact-profile&quot; rel=&quot;noreferrer&quot;&gt;http://zhenyuan.azurewebsites.net/post/displaying-custom-facets-in-contact-profile&lt;/a&gt;&#xA;you followed, the controller will return your facets values, but it's not serialized so you will get this type of error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have serialized Facets Values using &lt;code&gt;Newtonsoft.Json&lt;/code&gt; and after that, it works fine for me. Here &lt;code&gt;Newtonsoft.Json&lt;/code&gt; will serialize and give you a string object so before return, it to the JSON data you need to parse it as below: (taken code sample from your refered article)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;try&#xA;{&#xA;    var contactManager = GetContactManager();&#xA;    var contact = contactManager.LoadContactReadOnly(contactId);&#xA;    if (contact == null)&#xA;    {&#xA;        throw new ContactNotFoundException();&#xA;    }&#xA;    var subscriptionsFacet = contact.GetFacet&amp;lt;ISubscriptions&amp;gt;(&quot;Subscriptions&quot;);&#xA;    var serializerSettings = new JsonSerializerSettings&#xA;    {&#xA;        ContractResolver = new XdbJsonContractResolver(client.Model, serializeFacets: true, serializeContactInteractions: true),&#xA;        DateTimeZoneHandling = DateTimeZoneHandling.Utc,&#xA;        DefaultValueHandling = DefaultValueHandling.Ignore&#xA;    };&#xA;    return Newtonsoft.Json.Linq.JObject.Parse(JsonConvert.SerializeObject(subscriptionsFacet, serializerSettings));&#xA;}&#xA;catch (ContactNotFoundException ex)&#xA;{&#xA;    return Request.CreateResponse(HttpStatusCode.NotFound, ex.Message);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find serialization setting more details from &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/serialize-xconnect-entities-using-json-net.html&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastActivityDate="2019-05-17T04:37:27.213" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18739" PostTypeId="2" ParentId="1085" CreationDate="2019-05-17T04:44:04.773" Score="0" Body="&lt;p&gt;I have serialized Facets Values using Newtonsoft.Json and after that, it works fine for me. Here Newtonsoft.Json will serialize and give you a string object so before return, it to the JSON data you need to parse it as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;try&#xA;{&#xA;    var contactManager = GetContactManager();&#xA;    var contact = contactManager.LoadContactReadOnly(contactId);&#xA;    if (contact == null)&#xA;    {&#xA;        Log.Info(&quot;MySite.Presentation.Controllers.CustomFieldsController.GetCustomFields: Contact not found!&quot;, this);&#xA;        throw new ContactNotFoundException();&#xA;    }&#xA;    var customFacet = contact.GetFacet&amp;lt;IContactCompanyInfo&amp;gt;(ContactCompanyInfo.FACET_NAME);&#xA;    Log.Info(&quot;MySite.Presentation.Controllers.CustomFieldsController.GetCustomFields: Company: &quot; + customFacet.Company + &quot; Industry: &quot; + customFacet.Industry + &quot; Sub Industry: &quot; + customFacet.SubIndustry + &quot; Revenue Range: &quot; + customFacet.RevenueRange, this);&#xA;    var serializerSettings = new JsonSerializerSettings&#xA;    {&#xA;        ContractResolver = new XdbJsonContractResolver(client.Model, serializeFacets: true, serializeContactInteractions: true),&#xA;        DateTimeZoneHandling = DateTimeZoneHandling.Utc,&#xA;        DefaultValueHandling = DefaultValueHandling.Ignore&#xA;    };&#xA;    return Newtonsoft.Json.Linq.JObject.Parse(JsonConvert.SerializeObject(customFacet, serializerSettings));&#xA;}&#xA;catch (ContactNotFoundException ex)&#xA;{&#xA;    Log.Error(&quot;MySite.Presentation.Controllers.CustomFieldsController.GetCustomFields&quot;, ex, this);&#xA;    return Request.CreateResponse(HttpStatusCode.NotFound, ex.Message);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find serialization setting more details from &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/serialize-xconnect-entities-using-json-net.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastActivityDate="2019-05-17T04:44:04.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18741" PostTypeId="1" AcceptedAnswerId="18742" CreationDate="2019-05-17T05:46:26.983" Score="0" ViewCount="1251" Body="&lt;p&gt;I am struggling to get the selected value of a list inside a Sitecore Forms 9.1 custom submit action. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The value I am seeing is: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Collections.Generic.List`1[System.String]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From the various samples on the Internet - I have tried using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return field?.GetType().GetProperty(&quot;Value&quot;)?.GetValue(field, null)?.ToString() ?? string.Empty;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var postedField = (IValueField)viewModel;&#xA;IValueField valueField = postedField as IValueField;&#xA;PropertyInfo property = postedField.GetType().GetProperty(&quot;Value&quot;);&#xA;object postedValue = (object)property != null ? property.GetValue((object)postedField) : (object)null;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which works fine for text values, but not for the selected radio button or checkbox from a list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could just check if the type is a list/collection and iterate over the values but just wanted to check if there was something cleaner already out there. &lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="73" LastEditDate="2019-07-30T07:41:21.597" LastActivityDate="2019-07-30T07:41:21.597" Title="Reading field value in custom submit action of list" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18742" PostTypeId="2" ParentId="18741" CreationDate="2019-05-17T09:04:57.873" Score="2" Body="&lt;p&gt;As you mentioned it is working for &lt;code&gt;text value&lt;/code&gt; so for &lt;code&gt;dropdown&lt;/code&gt; you can use below code and similar condition you can use for &lt;code&gt;radio button&lt;/code&gt; and &lt;code&gt;checkbox&lt;/code&gt; using corresponding view model.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var field= GetFieldById(data.dropdownFieldId, formSubmitContext.Fields);&#xA;string dropdownValue=GetValue(field);&#xA;&#xA;&#xA;private static IViewModel GetFieldById(Guid id, IList&amp;lt;IViewModel&amp;gt; fields)&#xA;        {&#xA;            return fields.FirstOrDefault(f =&amp;gt; Guid.Parse(f.ItemId) == id);&#xA;        }&#xA;&#xA;private static string GetValue(object field)&#xA;        {&#xA;&#xA;            if (field is DropDownListViewModel)&#xA;            {&#xA;                DropDownListViewModel dropdownField = field as DropDownListViewModel;&#xA;                string selectedtext = dropdownField.Value.FirstOrDefault();&#xA;                return selectedtext;&#xA;            }&#xA;             // Similar condition you can apply for checkbox using CheckBoxViewModel&#xA;&#xA;            return field?.GetType().GetProperty(&quot;Value&quot;)?.GetValue(field, null)?.ToString() ?? string.Empty;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-05-17T09:04:57.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18744" PostTypeId="2" ParentId="13784" CreationDate="2019-05-17T10:09:12.637" Score="4" Body="&lt;p&gt;In my case both the above solution is not working. So I have copied from the below path and works perfect.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;C:\Program Files (x86)\Microsoft Visual&#xA;  Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4765" LastActivityDate="2019-05-17T10:09:12.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18745" PostTypeId="2" ParentId="13344" CreationDate="2019-05-17T10:38:07.817" Score="3" Body="&lt;p&gt;probably it is too late to answer this, but as a reference for other which encountered the same problem. After installation i have got the same error, the reason for me was, i forgot to merge the merge configs to the web.config as mentioned here:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to the Website folder and open the web.config file.&lt;/li&gt;&#xA;&lt;li&gt;Navigate to the \Website\MergeFiles folder.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Merge the contents of the Merge.CommerceServer.config file into the web.config file.&lt;/li&gt;&#xA;&lt;li&gt;Merge the contents of Merge.Commerce.Storefront.config file into the web.config file.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Save your changes to the web.config file.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Hope it helps others.&lt;/p&gt;&#xA;" OwnerUserId="5080" LastActivityDate="2019-05-17T10:38:07.817" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18746" PostTypeId="1" AcceptedAnswerId="18748" CreationDate="2019-05-17T11:17:17.830" Score="1" ViewCount="48" Body="&lt;p&gt;In &lt;code&gt;xDB&lt;/code&gt; Migration from 8.2 to 9.1, 8.2 &lt;code&gt;Mongo DB&lt;/code&gt; have connection string for &lt;code&gt;analytics db&lt;/code&gt;, &lt;code&gt;tracking live&lt;/code&gt;, &lt;code&gt;history&lt;/code&gt; and &lt;code&gt;contact&lt;/code&gt; db. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which connection string needs to be given in &lt;code&gt;mongo db&lt;/code&gt; provide under &lt;code&gt;xDB&lt;/code&gt; tenant?&lt;/p&gt;&#xA;" OwnerUserId="5541" LastEditorUserId="5096" LastEditDate="2019-05-17T12:41:34.383" LastActivityDate="2019-05-17T12:41:34.383" Title="In XDB Migration Tenant which connection string of MongoDB to be shared" Tags="|xdb|migration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18747" PostTypeId="2" ParentId="18746" CreationDate="2019-05-17T11:27:49.017" Score="1" Body="&lt;p&gt;The right connection string for the mongodb endpoint is the &lt;strong&gt;analytics&lt;/strong&gt; database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First off all you  need to add a new connection string to the ConnectionString.config that points to the 8.x MongoDB&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;82_analytics&quot; connectionString=&quot;mongodb://localhost:27017/82_analytics&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You will use 82_analytics like an endpoint. &#xA;Here you find more details: &lt;a href=&quot;https://neilkillen.com/2017/11/29/how-to-migrate-your-sitecore-8-x-mongodb-contacts-to-xconnect/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://neilkillen.com/2017/11/29/how-to-migrate-your-sitecore-8-x-mongodb-contacts-to-xconnect/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-05-17T11:27:49.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18748" PostTypeId="2" ParentId="18746" CreationDate="2019-05-17T11:28:12.453" Score="1" Body="&lt;p&gt;From what I understand, you're asking about &lt;code&gt;Mongo Database Endpoint&lt;/code&gt; item used in &lt;code&gt;xDB Data Migration&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should use &lt;code&gt;analytics&lt;/code&gt; connection string:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nHQJV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nHQJV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-17T11:28:12.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18750" PostTypeId="1" CreationDate="2019-05-17T12:39:03.507" Score="1" ViewCount="71" Body="&lt;p&gt;We have an Sitecore 8.2 u7 Site (e.g mysite.com) and an custom API hosted within it (e.g mysite.com/myapi/)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When users log into the Sitecore site we are using standard .Net Forms Auth and the user is logged in as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We also have 3rd Party apps hosted on different top level domains that make server-side calls the API (e.g myothersite.com). However the API needs to know that the user is logged in to the Sitecore site but as the cookies for the Sitecore site are on another domain the browser does not send these in the request to the API so it does not treat them as logged in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need a way to tell the Sitecore the user is logged in when making a request to the API and therefore ensuring Sitecore sets Sitecore.Context.User.IsAuthenticated to True in the API when executing the code and not anonymous.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BH1RZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BH1RZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Matching the machine keys works for .net apps on the same top level domain but not for apps on other top levels domains or other technologies (node,php etc) and I'm struggling to think of the best way to solve this. &lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-05-17T12:39:03.507" Title="SSO with Sitecore hosted API and 3rd Party Sites" Tags="|sso|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18751" PostTypeId="1" AcceptedAnswerId="18752" CreationDate="2019-05-17T12:44:13.107" Score="4" ViewCount="854" Body="&lt;p&gt;I am facing an issue while fetching the media item URL. This is my code snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    Sitecore.Data.Fields.ImageField imageItem = (Sitecore.Data.Fields.ImageField)Sitecore.Context.Item.Fields[&quot;BackgroundImage&quot;];&#xA;&#xA;            var titleUrl = Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(&#xA;                               Sitecore.Resources.Media.MediaManager.GetMediaUrl(&#xA;                                   imageItem.MediaItem,&#xA;                                   new MediaUrlOptions()&#xA;                                   {&#xA;                                       Language = Sitecore.Context.Language,&#xA;                                       Height = 600&#xA;                                   }));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am using this &lt;code&gt;titleUrl&lt;/code&gt; in the image tag:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;@titleUrl&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But while fetching the URL, MediaManager is throwing this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.ArgumentNullException&#xA;  HResult=0x80004003&#xA;  Message=Value cannot be null.&#xA;Arg_ParamName_Name&#xA;  Source=Sitecore.Kernel&#xA;  StackTrace:&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.Resources.Media.MediaProvider.GetMediaUrl(MediaItem item, MediaUrlOptions options)&#xA;   at ASP._Page_Views_DeepContent_PageHeader_Index_cshtml.Execute() in c:\inetpub\wwwroot\sitecoretac\Views\Index.cshtml:line 13&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is the issue here? Thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastActivityDate="2019-05-17T12:52:06.960" Title="MediaManager throwing null error" Tags="|media-library|urls|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18752" PostTypeId="2" ParentId="18751" CreationDate="2019-05-17T12:47:02.213" Score="5" Body="&lt;p&gt;From what I can tell your exception says in fact that you passed &lt;code&gt;null&lt;/code&gt; &lt;code&gt;MediaItem&lt;/code&gt; to &lt;code&gt;GetMediaUrl&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like you have a field &lt;code&gt;ImageField imageItem&lt;/code&gt; but &lt;code&gt;imageItem.MediaItem&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt;. It's either not selected or the media item is not published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add extra check to your code to render a url only when &lt;code&gt;imageItem.MediaItem&lt;/code&gt; is not &lt;code&gt;null&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var titleUrl = imageItem.MediaItem == null&#xA;    ? null&#xA;    : Sitecore.Resources.Media.HashingUtils.ProtectAssetUrl(&#xA;    Sitecore.Resources.Media.MediaManager.GetMediaUrl(&#xA;        imageItem.MediaItem,&#xA;        new MediaUrlOptions()&#xA;        {&#xA;            Language = Sitecore.Context.Language,&#xA;            Height = 600&#xA;        }));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And in your view render &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag only when &lt;code&gt;@titleUrl&lt;/code&gt; is not &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-05-17T12:52:06.960" LastActivityDate="2019-05-17T12:52:06.960" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18753" PostTypeId="1" AcceptedAnswerId="18754" CreationDate="2019-05-17T13:12:19.767" Score="1" ViewCount="270" Body="&lt;p&gt;while installing Sitecore Commerce 8.2.1 I am getting this error message &quot;Service 'iisadmin' (iisadmin) failed to start. Verify that you have sufficient privileges to start system services.&quot; , any idea what might be causing this? Thank you&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5qn28.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5qn28.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1057" LastEditorUserId="73" LastEditDate="2019-05-17T13:13:00.200" LastActivityDate="2019-05-17T13:26:50.257" Title="Service 'iisadmin' (iisadmin) failed to start" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18754" PostTypeId="2" ParentId="18753" CreationDate="2019-05-17T13:19:47.050" Score="3" Body="&lt;p&gt;If you have checked the Sitecore commerce installation documentation it says you need to install this windows feature &lt;code&gt;Metabase &amp;amp; IIS 6 compatibility&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/c6l0p.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/c6l0p.png&quot; alt=&quot;Installing windows feature &amp;#39;Metabase &amp;amp; IIS 6 compatibility&amp;#39;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore-commerce-docs.readthedocs.io/en/latest/tutorials/installing-commerce-server.html#pre-installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore-commerce-docs.readthedocs.io/en/latest/tutorials/installing-commerce-server.html#pre-installation&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="172" LastActivityDate="2019-05-17T13:19:47.050" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18755" PostTypeId="2" ParentId="18753" CreationDate="2019-05-17T13:26:50.257" Score="1" Body="&lt;p&gt;Make sure the &quot;IIS metabase and IIS 6 configration compatability&quot; are checked in Windows Features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to it by going to your Windows Control Panel, click on &quot;Programs and Features&quot;. On the left side, you should see a link to &quot;Turn Windows features on or off&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Navigate to: Internet Information Services &gt; Web Management Tools &gt; IIS 6 Management Compatibility &gt; IIS Metabase and IIS 6 configuration compatibility (this needs to be checked)&lt;/p&gt;&#xA;" OwnerUserId="5129" LastActivityDate="2019-05-17T13:26:50.257" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18757" PostTypeId="1" AcceptedAnswerId="18759" CreationDate="2019-05-17T14:04:43.023" Score="1" ViewCount="184" Body="&lt;p&gt;My Sitecore Item has children of different Templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To query them, I use the following field declaration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreQuery(&quot;*[@@templateid = '{ID of my Template}']&quot;, &#xA;InferType = true, IsRelative = true, IsLazy = false)]&#xA;    public virtual IEnumerable&amp;lt;MyItemType&amp;gt; MyItemName{ get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there a more efficient way to retrieve them without having to use Sitecore Query?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-05-17T14:55:32.800" Title="Can I use Content Search with Glass to query children of a specific template?" Tags="|content-search|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18759" PostTypeId="2" ParentId="18757" CreationDate="2019-05-17T14:55:32.800" Score="2" Body="&lt;p&gt;Why not just have them in one list and just get the ones you want when you check the list?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType]&#xA;public class MyItemBaseType {&#xA;    [SitecoreField]&#xA;    public virtual string BaseProperty { get; set; }&#xA;}&#xA;&#xA;[SitecoreType]&#xA;public class MyItemType1 {&#xA;    [SitecoreField]&#xA;    public virtual string MyItemType1Property { get; set; }&#xA;}&#xA;&#xA;[SitecoreType]&#xA;public class MyItemType2 {&#xA;    [SitecoreField]&#xA;    public virtual string MyItemType2Property { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreChildren(InferType = true)]&#xA;public virtual IEnumerable&amp;lt;MyItemBaseType&amp;gt; MyItems { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you could access them like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var theItem = getitem();&#xA;&#xA;IEnumerable&amp;lt;MyItemType1&amp;gt; type1s = theItem.OfType&amp;lt;MyItemType1&amp;gt;();&#xA;string basePropertyValue = type1s.First().BaseProperty;&#xA;string type1PropertyValue = type1s.First().MyItemType1Property;&#xA;&#xA;IEnumerable&amp;lt;MyItemType2&amp;gt; type2s = theItem.OfType&amp;lt;MyItemType2&amp;gt;();&#xA;basePropertyValue = type2s.First().BaseProperty;&#xA;string type2PropertyValue = type2s.First().MyItemType2Property;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-05-17T14:55:32.800" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18760" PostTypeId="2" ParentId="18736" CreationDate="2019-05-17T14:57:15.617" Score="1" Body="&lt;p&gt;I fixed the issue myself with some interesting findings. The customer this concerns is running Sitecore 8.1, different versions might yield different results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As mentioned in the &lt;strong&gt;EDIT&lt;/strong&gt;'s debug copy-pasta, &lt;code&gt;LookupSources.GetItems()&lt;/code&gt; does &lt;em&gt;&lt;strong&gt;not&lt;/strong&gt;&lt;/em&gt; return the items found with the query, but rather those items' children. As well it doesn't support &lt;code&gt;ancestor-or-self::&lt;/code&gt;, only &lt;code&gt;ancestor::&lt;/code&gt;. This renders &lt;code&gt;LookupSources.GetItems()&lt;/code&gt; useless for me. (Frankly I would consider different implementations of &lt;code&gt;query:&lt;/code&gt;-resolving within the same CMS harmful)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In stead I took code from Sitecore's Habitat project to find the correct Item by giving the query-string either to the contextItem's &lt;code&gt;.Axes.SelectItems()&lt;/code&gt; or &lt;code&gt;.Database.SelectItems()&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query.StartsWith(&quot;./&quot;, StringComparison.OrdinalIgnoreCase)&#xA;    ? currentItem.Axes.SelectItems(query)&#xA;    : currentItem.Database.SelectItems(query);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But&lt;/strong&gt;, this doesn't entirely fix the issue, because Sitecore preprocesses the value given to the above Custom Field code by putting it all in lower case. This is a (big, huge, glaring) problem, because &lt;code&gt;@@templatename&lt;/code&gt; might contain upper case letters like in my case &lt;code&gt;'Website'&lt;/code&gt; and &lt;code&gt;@@templateid&lt;/code&gt; &lt;em&gt;definitely&lt;/em&gt; contains a Guid &lt;strong&gt;with upper case letter A-F&lt;/strong&gt; and &lt;em&gt;matching to a lower case guid does not work&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you need to use &lt;code&gt;@@templatekey&lt;/code&gt;, which is the templatename in lower case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the Sitecore &lt;a href=&quot;https://doc.sitecore.com/SdnArchive/Reference/Using%20Sitecore%20Query/Sitecore%20Query%20Syntax.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;, this lower case issue renders a bunch of &lt;code&gt;@@var&lt;/code&gt;'s useless, like &lt;code&gt;@@id&lt;/code&gt;, &lt;code&gt;@@name&lt;/code&gt; (use &lt;code&gt;@@key&lt;/code&gt; in stead) or any &lt;code&gt;@fieldname&lt;/code&gt; of fields where the value might contain letters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I switched to using &lt;code&gt;@@templatekey&lt;/code&gt; and used Kam's code as a basis, only adding the parts from Zachary that I liked, needed and that worked:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Aeres.Foundation.SitecoreExtensions.CustomFields&#xA;{&#xA;    using System;&#xA;    using System.Linq;&#xA;    using Sitecore.Data.Items;&#xA;    using Sitecore.Diagnostics;&#xA;    using Sitecore.Globalization;&#xA;    using Sitecore.Shell.Applications.ContentEditor;&#xA;    using Sitecore.Text;&#xA;    using Sitecore.Web;&#xA;    using Sitecore.Web.UI.HtmlControls;&#xA;    using Sitecore.Web.UI.WebControls;&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// This field type is like a tree list, but you can specify more than one root item to select from (for example, videos or photos)&#xA;    /// The data source roots are specified using pipe delimiting just like regular Sitecore Query language&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class MultiRootTreeList : TreeList&#xA;    {&#xA;        private const string QueryPrefix = &quot;query:&quot;;&#xA;&#xA;        protected override void OnLoad(EventArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            base.OnLoad(args);&#xA;&#xA;            if (!Sitecore.Context.ClientPage.IsEvent)&#xA;            {&#xA;                // find the existing TreeviewEx that the base OnLoad added, get a ref to its parent, and remove it from controls&#xA;                var existingTreeView = (TreeviewEx)WebUtil.FindControlOfType(this, typeof(TreeviewEx));&#xA;                var treeviewParent = existingTreeView.Parent;&#xA;&#xA;                existingTreeView.Parent.Controls.Clear(); // remove stock treeviewex, we replace with multiroot&#xA;&#xA;                // find the existing DataContext that the base OnLoad added, get a ref to its parent, and remove it from controls&#xA;                var dataContext = (DataContext)WebUtil.FindControlOfType(this, typeof(DataContext));&#xA;                var dataContextParent = dataContext.Parent;&#xA;&#xA;                dataContextParent.Controls.Remove(dataContext); // remove stock datacontext, we parse our own&#xA;&#xA;                // create our MultiRootTreeview to replace the TreeviewEx&#xA;                var impostor = new EnhancedMultiRootTreeview&#xA;                {&#xA;                    ID = existingTreeView.ID,&#xA;                    DblClick = existingTreeView.DblClick,&#xA;                    Enabled = existingTreeView.Enabled,&#xA;                    DisplayFieldName = existingTreeView.DisplayFieldName&#xA;                };&#xA;&#xA;                // parse the data source and create appropriate data contexts out of it&#xA;                var dataContexts = this.ParseDataContexts(dataContext);&#xA;&#xA;                impostor.DataContext = string.Join(&quot;|&quot;, dataContexts.Select(x =&amp;gt; x.ID));&#xA;                foreach (var context in dataContexts)&#xA;                {&#xA;                    dataContextParent.Controls.Add(context);&#xA;                }&#xA;&#xA;                // inject our replaced control where the TreeviewEx originally was&#xA;                treeviewParent.Controls.Add(impostor);&#xA;            }&#xA;        }&#xA;&#xA;        protected virtual DataContext[] ParseDataContexts(DataContext originalDataContext)&#xA;        {&#xA;            return new ListString(this.DataSource).Select(x =&amp;gt; this.CreateDataContext(originalDataContext, x)).ToArray();&#xA;        }&#xA;&#xA;        protected virtual DataContext CreateDataContext(DataContext baseDataContext, string dataSource)&#xA;        {&#xA;            Item dataSourceItem = null;&#xA;            if (dataSource.StartsWith(QueryPrefix))&#xA;            {&#xA;                try&#xA;                {&#xA;                    var query = dataSource.Substring(QueryPrefix.Length);&#xA;                    var currentItem = Sitecore.Context.ContentDatabase.GetItem(this.ItemID);&#xA;                    var results = query.StartsWith(&quot;./&quot;, StringComparison.OrdinalIgnoreCase)&#xA;                        ? currentItem.Axes.SelectItems(query)&#xA;                        : currentItem.Database.SelectItems(query);&#xA;                    dataSourceItem = results.FirstOrDefault(item =&amp;gt; item != null);&#xA;                    dataSource = dataSourceItem.Paths.FullPath;&#xA;                }&#xA;                catch (Exception ex)&#xA;                {&#xA;                    Log.Error($&quot;Treelist field failed to execute query: '{dataSource}'&quot;, ex, this);&#xA;                }&#xA;            }&#xA;&#xA;            DataContext dataContext = new DataContext&#xA;            {&#xA;                ID = GetUniqueID(&quot;D&quot;),&#xA;                Filter = baseDataContext.Filter,&#xA;                DataViewName = &quot;Master&quot;,&#xA;                Root = dataSource,&#xA;                Language = Language.Parse(this.ItemLanguage)&#xA;            };&#xA;&#xA;            if (!string.IsNullOrEmpty(this.DatabaseName))&#xA;            {&#xA;                dataContext.Parameters = &quot;databasename=&quot; + this.DatabaseName;&#xA;            }&#xA;&#xA;            return dataContext;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Aeres.Foundation.SitecoreExtensions.CustomFields&#xA;{&#xA;    using Sitecore.Data.Items;&#xA;    using Sitecore.Diagnostics;&#xA;    using Sitecore.Web.UI.WebControls;&#xA;&#xA;    public class EnhancedMultiRootTreeview : MultiRootTreeview&#xA;    {&#xA;        protected override string GetHeaderValue(Item item)&#xA;        {&#xA;            Assert.ArgumentNotNull(item, &quot;item&quot;);&#xA;&#xA;            var nodeTitle = string.IsNullOrEmpty(this.DisplayFieldName) ? item.DisplayName : item[this.DisplayFieldName];&#xA;            nodeTitle = string.IsNullOrEmpty(nodeTitle) ? item.DisplayName : nodeTitle;&#xA;&#xA;            // you can get fancy here and make the format of the nodeTitle manageable in config&#xA;            nodeTitle = $&quot;{nodeTitle}  -  &amp;lt;span&amp;gt;({item.Paths.ContentPath})&amp;lt;/span&amp;gt;&quot;;&#xA;&#xA;            return nodeTitle;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4665" LastActivityDate="2019-05-17T14:57:15.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18762" PostTypeId="1" AcceptedAnswerId="18763" CreationDate="2019-05-17T16:02:48.630" Score="5" ViewCount="423" Body="&lt;p&gt;I am very new to Sitecore, going through training, trying to get certified.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Content Editor&lt;/code&gt;, I am trying to find an item by it's &lt;code&gt;ID / GUID&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can navigate down into the tree, find an item, copy its ID, go back up to the root folder &lt;code&gt;/Sitecore&lt;/code&gt;, and do a search with the filter for ID.  I paste the entire ID in, with curly braces.  The item is not found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I copy the ID for the Home folder, &lt;code&gt;/Content/Home&lt;/code&gt;, then the search finds the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why doesn't the search for ID filter work on all items?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RolanCCC&lt;/p&gt;&#xA;" OwnerUserId="5543" LastEditorUserId="5096" LastEditDate="2019-05-18T07:37:41.130" LastActivityDate="2019-05-18T07:37:41.130" Title="Content Editor Search by ID returns no results" Tags="|content-search|content-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18763" PostTypeId="2" ParentId="18762" CreationDate="2019-05-17T16:31:51.630" Score="2" Body="&lt;p&gt;You must &lt;strong&gt;rebuild your indexes&lt;/strong&gt; to use the search feature.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Log in to the Launchpad.&lt;/li&gt;&#xA;&lt;li&gt;Open the Control Panel.&lt;/li&gt;&#xA;&lt;li&gt;In the Indexing section, click Indexing Manager.&lt;/li&gt;&#xA;&lt;li&gt;In the Indexing Manager dialog box, select the indexes you want to rebuild, and click Rebuild:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/unhaa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/unhaa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-17T16:31:51.630" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18764" PostTypeId="1" AcceptedAnswerId="18765" CreationDate="2019-05-17T17:17:10.527" Score="2" ViewCount="589" Body="&lt;p&gt;I followed the steps described in this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/18703/how-to-convert-a-sitecore-package-into-a-wdp-package/18704#18704&quot;&gt;SSE question/answer&lt;/a&gt; to create my WDP.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything works like a charm when &lt;strong&gt;deploying this WDP into a Sitecore Azure&lt;/strong&gt; Paas instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when I try to install it locally in my &lt;strong&gt;on-premises Sitecore 9.1 XP&lt;/strong&gt; single instance, it doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the command I'm using to install it locally:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;msdeploy -verb:sync -source:package=&quot;D:\coveoticore.scwdp.zip&quot; -dest:auto -enableRule:DoNotDeleteRule -setParam:&quot;Application Path&quot;=&quot;coveoticore&quot; -setParam:&quot;Core Admin Connection String&quot;=&quot;Data Source=.\HSANTOS2016;Initial Catalog=coveoticore_Core;User ID=sa;Password=mypassword&quot; -setParam:&quot;Master Admin Connection String&quot;=&quot;Data Source=.\HSANTOS2016;Initial Catalog=coveoticore_Master;User ID=sa;Password=mypassword&quot; -verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Those are the error messages I get:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error: .Net SqlClient Data Provider: Msg 5061, Level 16, State 1, Line 5 ALTER DATABASE failed because a lock could not be placed on database 'coveoticore_Core'. Try again later.&#xA;Error: Script execution error.  The executed script:&#xA;IF EXISTS (SELECT 1&#xA;           FROM   [master].[dbo].[sysdatabases]&#xA;           WHERE  [name] = N'$(DatabaseName)')&#xA;    BEGIN&#xA;        ALTER DATABASE [$(DatabaseName)]&#xA;            SET CONTAINMENT = NONE&#xA;            WITH ROLLBACK IMMEDIATE;&#xA;    END&#xA;&#xA;&#xA;Error: .Net SqlClient Data Provider: Msg 5069, Level 16, State 1, Line 5 ALTER DATABASE statement failed.&#xA;Error: Script execution error.  The executed script:&#xA;IF EXISTS (SELECT 1&#xA;           FROM   [master].[dbo].[sysdatabases]&#xA;           WHERE  [name] = N'$(DatabaseName)')&#xA;    BEGIN&#xA;        ALTER DATABASE [$(DatabaseName)]&#xA;            SET CONTAINMENT = NONE&#xA;            WITH ROLLBACK IMMEDIATE;&#xA;    END&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And this one: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error Code: ERROR_EXECUTING_METHOD&#xA;More Information: Could not deploy package.&#xA;Warning SQL72023: The database containment option has been changed to None.  This may result in deployment failure if the state of the database is not compliant with this containment level.&#xA;Error SQL72014: .Net SqlClient Data Provider: Msg 5061, Level 16, State 1, Line 5 ALTER DATABASE failed because a lock could not be placed on database 'coveoticore_Core'. Try again later.&#xA;Error SQL72045: Script execution error.  The executed script:&#xA;IF EXISTS (SELECT 1&#xA;           FROM   [master].[dbo].[sysdatabases]&#xA;           WHERE  [name] = N'$(DatabaseName)')&#xA;    BEGIN&#xA;        ALTER DATABASE [$(DatabaseName)]&#xA;            SET CONTAINMENT = NONE&#xA;            WITH ROLLBACK IMMEDIATE;&#xA;    END&#xA;&#xA;&#xA;Error SQL72014: .Net SqlClient Data Provider: Msg 5069, Level 16, State 1, Line 5 ALTER DATABASE statement failed.&#xA;Error SQL72045: Script execution error.  The executed script:&#xA;IF EXISTS (SELECT 1&#xA;           FROM   [master].[dbo].[sysdatabases]&#xA;           WHERE  [name] = N'$(DatabaseName)')&#xA;    BEGIN&#xA;        ALTER DATABASE [$(DatabaseName)]&#xA;            SET CONTAINMENT = NONE&#xA;            WITH ROLLBACK IMMEDIATE;&#xA;    END&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2020-06-04T05:42:42.543" Title="Error when installing WDP in on-premises Sitecore 9.1 XP setup" Tags="|azure|installation|paas|packages|web-deploy|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18765" PostTypeId="2" ParentId="18764" CreationDate="2019-05-17T17:17:10.527" Score="1" Body="&lt;h1&gt;The Problem&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;So basically if your Sitecore package &lt;strong&gt;contains database users&lt;/strong&gt; that must be deployed and the &lt;strong&gt;target database already contains any user&lt;/strong&gt; (which is true for SC9.1 OOTB), you &lt;strong&gt;can't create the WDP in the same way&lt;/strong&gt; you did for Azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the &lt;a href=&quot;https://doc.sitecore.com/developers/sat/22/sitecore-azure-toolkit/en/web-deploy-packages-for-a-module.html#UUID-0bedc2bc-86ad-640c-1f54-b8663a00c9d6_section-idm45247615367056&quot; rel=&quot;nofollow noreferrer&quot;&gt;official documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Use &lt;strong&gt;DisableDacPacOptions&lt;/strong&gt; to create tables or users when you are&#xA;  deploying. You must disable SqlDatabaseOptions for the module WDP&#xA;  package if you want to deploy them to an on-premise instance. If you&#xA;  do not disable SqlDatabaseOptions, msDeploy will try to convert the&#xA;  contained database into an uncontained database and the attempts to&#xA;  apply these options while deploying the module package produces the&#xA;  wrong result.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h1&gt;The Fix&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Just add the &lt;strong&gt;DisableDacPacOptions&lt;/strong&gt; option when calling the function to create your WDP &lt;code&gt;ConvertTo-SCModuleWebDeployPackage&lt;/code&gt;. The command-line should look like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ConvertTo-SCModuleWebDeployPackage -Path &quot;yourPackagePath.zip&quot; -Destination &quot;wdpOutputDirectoryPath&quot; -force -verbose -DisableDacPacOptions &quot;*&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Installing this new WDP should not produce any error message.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-05-17T17:32:44.463" LastActivityDate="2019-05-17T17:32:44.463" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18766" PostTypeId="1" CreationDate="2019-05-17T21:07:41.107" Score="1" ViewCount="149" Body="&lt;p&gt;How to prevent users from logging in using the old/Copied &lt;code&gt;session cookies&lt;/code&gt;. For example, I copy my session cookies and then logout from my website. If I import the old/copied &lt;code&gt;session cookies&lt;/code&gt; in another browser and refresh the page, it shows me as authenticated user without login.&lt;/p&gt;&#xA;&lt;p&gt;How to prevent/restrict this behavior? The issue is due to &lt;code&gt;aspxauth&lt;/code&gt; cookie.&lt;/p&gt;&#xA;&lt;p&gt;What are the additional checks that needs to be made?&lt;/p&gt;&#xA;&lt;h1&gt;Steps To Reproduce This Issue:&lt;/h1&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Go to &lt;a href=&quot;https://www.mysite.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.mysite.com/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Login to your account.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Get the cookies using &amp;quot;EditThisCookie&amp;quot; extension&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Save the cookies, you copied in a text file.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Logout from the account.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Clear all the cookies related &lt;a href=&quot;https://www.mysite.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.mysite.com/&lt;/a&gt; from the browser&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now Inject/Import Old Cookies to the &lt;a href=&quot;https://www.mysite.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.mysite.com/&lt;/a&gt;  by &amp;quot;EditThisCookie&amp;quot;...&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You will be again logged In to &lt;a href=&quot;https://www.mysite.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.mysite.com/&lt;/a&gt; account.. using old session cookies.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="696" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-18T07:37:38.577" Title="Users are authenticated with the Old/Copied session Cookies - Sitecore 7.2 -" Tags="|session-state|authentication|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18767" PostTypeId="1" CreationDate="2019-05-17T21:25:15.287" Score="0" ViewCount="377" Body="&lt;p&gt;I'm following this article( &lt;a href=&quot;https://medium.com/@sivalingaamorthy/configure-sitecore-habitat-with-sitecore-9-0-update-2-in-30-minutes-ba9237a33522&quot; rel=&quot;nofollow noreferrer&quot;&gt;SC9 Install&lt;/a&gt; )  to set up Habitat with SC9.0.2 but getting below errors at InstallWDP:WebDeploy step:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sfrue.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sfrue.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have installed all required software via Web platform installer but still getting same error. Any idea?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Used Web Platform Installer to install:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Microsoft SQL Server 2012 Data-Tier Application Framework&lt;/li&gt;&#xA;&lt;li&gt;SQL Server 2012 Transact-SQL ScriptDom&lt;/li&gt;&#xA;&lt;li&gt;SQL Server System CLR Types 11.0&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Even I have installed ScriptDom but &lt;code&gt;Microsoft.SqlServer.TransactSql.ScriptDom.dll&lt;/code&gt; is missing at &lt;code&gt;&quot;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\120&lt;/code&gt; location. Do I need to download manually this dll?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Current Env:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Windows 10 Enterprise&lt;/li&gt;&#xA;&lt;li&gt;SQL 2014&lt;/li&gt;&#xA;&lt;li&gt;IIS 10 &lt;/li&gt;&#xA;&lt;li&gt;SolR6.6.2 is running&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="1349" LastEditDate="2019-05-18T01:26:17.317" LastActivityDate="2019-05-20T06:55:53.453" Title="Getting issue while setting up Sitecore Habitat 9.0 Update 2" Tags="|sitecore-install-framework|habitat|" AnswerCount="2" CommentCount="5" ClosedDate="2019-05-20T07:36:28.523" ContentLicense="CC BY-SA 4.0" />
  <row Id="18768" PostTypeId="1" CreationDate="2019-05-17T21:26:01.910" Score="0" ViewCount="1547" Body="&lt;p&gt;I installed Sitecore 9.1.1 but I'm getting an error message: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load file or assembly 'ChilkatDotNet47' or one of its&#xA;  dependencies. An attempt was made to load a program with an incorrect format.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The documentation does list &quot;Microsoft Visual C++ 2015 Redistributable&quot; as a requirement and without it Sitecore will fail to start up with the above message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I have this requirement installed but still cannot get past this error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions will be much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5504" LastEditorUserId="5504" LastEditDate="2019-05-19T12:40:10.863" LastActivityDate="2019-05-19T12:40:10.863" Title="Sitecore 9.1.1 ChilkatDotNet Error" Tags="|installation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18769" PostTypeId="2" ParentId="18768" CreationDate="2019-05-17T22:10:52.620" Score="6" Body="&lt;p&gt;You're probably running into a pretty common issue. I've detailed the steps below, but they're sourced from: &lt;a href=&quot;https://www.sitecorenutsbolts.net/2018/03/12/Sitecore-9-Installation-Could-not-load-file-or-assembly-ChilkatDotNet46/&quot; rel=&quot;noreferrer&quot;&gt;https://www.sitecorenutsbolts.net/2018/03/12/Sitecore-9-Installation-Could-not-load-file-or-assembly-ChilkatDotNet46/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to your site's application pool settings.&lt;/li&gt;&#xA;&lt;li&gt;Ensure &lt;code&gt;Enable 32-bit Applications&lt;/code&gt; is set to &lt;code&gt;False&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yv9CJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yv9CJ.png&quot; alt=&quot;application pool settings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that doesn't solve your problem, we'll need a bit more information. You can see the detailed stack trace for why this assembly isn't loading by doing two different things:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Look at the loader exceptions while debugging&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;This will normally catch 99% of problems when attempting to load assemblies.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Attach the VS debugger to your site&lt;/li&gt;&#xA;&lt;li&gt;In the &quot;Exception Settings&quot; window (Debug -&gt; Windows -&gt; Exception Settings) break on the following: &lt;code&gt;System.IO.FileLoadException&lt;/code&gt; and &lt;code&gt;System.TypeLoadException&lt;/code&gt;. If the full stack trace is throwing a different exception you can break on that as well. &lt;a href=&quot;https://i.stack.imgur.com/Wfs9E.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Wfs9E.png&quot; alt=&quot;Exception Settings&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Look at the exception details. Depending on the exception thrown look at the &lt;code&gt;LoaderExceptions&lt;/code&gt; property. You may need to drill down into each child &lt;code&gt;InnerExceptions&lt;/code&gt; property to see more detailed information.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If the above fails to give you any decent information you'll need to enable fusion logging and view the logs generated from that:&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Enable Fusion (Fuslogvw.exe) logging in your environment&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Follow the instructions laid out in this SO post (using regedit): &lt;a href=&quot;https://stackoverflow.com/questions/255669/how-to-enable-assembly-bind-failure-logging-fusion-in-net&quot;&gt;https://stackoverflow.com/questions/255669/how-to-enable-assembly-bind-failure-logging-fusion-in-net&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion&#xA;Add:&#xA;DWORD ForceLog set value to 1&#xA;DWORD LogFailures set value to 1&#xA;DWORD LogResourceBinds set value to 1&#xA;DWORD EnableLog set value to 1&#xA;String LogPath set value to folder for logs (e.g. C:\FusionLog\)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once that is enabled, run the &lt;code&gt;Fuslogvw.exe&lt;/code&gt; (&lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/framework/tools/fuslogvw-exe-assembly-binding-log-viewer&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/dotnet/framework/tools/fuslogvw-exe-assembly-binding-log-viewer&lt;/a&gt;) tool, recycle your application pool and inspect any logs that appear for the problem DLL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember to revert those registry settings after you've gathered those logs (or hopefully solved the issue). Otherwise you'll be wasting a lot of disk space and CPU! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let us know what you find! &lt;/p&gt;&#xA;" OwnerUserId="170" LastEditorUserId="170" LastEditDate="2019-05-17T22:34:57.567" LastActivityDate="2019-05-17T22:34:57.567" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18770" PostTypeId="2" ParentId="12127" CreationDate="2019-05-18T01:04:48.600" Score="0" Body="&lt;p&gt;You are absolutely correct, additional configuration is needed in addition to what you have described, if your custom dimensions has any code associated with it. Create an include file or use an existing one, add into &lt;strong&gt;&amp;lt;sitecore&amp;gt;&lt;/strong&gt; section the following (put into appropriate places your &lt;code&gt;dimension ID&lt;/code&gt;, &lt;code&gt;full class name&lt;/code&gt;, and &lt;code&gt;DLL&lt;/code&gt; the class resides at):&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;    &amp;lt;experienceAnalytics&gt;&#xA;      &amp;lt;aggregation&gt;&#xA;        &amp;lt;patch:attribute name=&quot;enabled&quot; value=&quot;true&quot;/&gt;&#xA;        &amp;lt;logger type=&quot;Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger, Sitecore.ExperienceAnalytics.Core&quot; singleInstance=&quot;true&quot;/&gt;&#xA;        &amp;lt;!-- This section hosts the definitions of the Experience Analytics dimensions&#xA;            'id' attribute is the unique identifier and should match the ID of the corresponding dimension definition item in Marketing Control Panel&#xA;            'type' attribute references the fully qualified class name and assembly name with the dimension implementation.&#xA;        --&gt;&#xA;        &amp;lt;dimensions&gt;&#xA;          &amp;lt;dimension id=&quot;[dimension item ID]&quot; type=&quot;[full class reference], [DLL name]&quot; /&gt;&#xA;        &amp;lt;/dimensions&gt;&#xA;      &amp;lt;/aggregation&gt;&#xA;    &amp;lt;/experienceAnalytics&gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This will serve as a &lt;strong&gt;registration&lt;/strong&gt; of your custom dimension, and Sitecore will &lt;strong&gt;pick up&lt;/strong&gt; on it.&lt;/p&gt;&#xA;&lt;p&gt;Good luck!!&lt;/p&gt;&#xA;" OwnerUserId="806" LastEditorUserId="5774" LastEditDate="2021-06-14T11:45:03.380" LastActivityDate="2021-06-14T11:45:03.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18772" PostTypeId="1" CreationDate="2019-05-18T09:17:39.750" Score="2" ViewCount="83" Body="&lt;p&gt;I Have installed Sitecore 9.1 commerce. When I try to open Business tools from launchpad i'm facing the below error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Sorry, there was an error : unauthorized_client&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uWiGS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uWiGS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Why this happened ?&lt;/p&gt;&#xA;" OwnerUserId="4763" LastActivityDate="2019-05-19T12:34:43.820" Title="Unable to open the Business tools from launchpad" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="2" ClosedDate="2019-05-19T12:34:50.633" ContentLicense="CC BY-SA 4.0" />
  <row Id="18773" PostTypeId="2" ParentId="18767" CreationDate="2019-05-18T14:07:45.660" Score="1" Body="&lt;p&gt;Habitat is an XP install. For 9.0.2 you need to install SQL 2016 SP1 to run Habitat. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Per Sitecore's compatibility chart, 9.0 can only use SQL 2014 SP2 in CMS only mode. For 9.0 with XP you need 2016 SP1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/087164&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Lets install it via SQL Powershell.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install SQL PowerShell by running &lt;code&gt;Import-Module -Name SqlServer&lt;/code&gt; in PowerShell with admin privileges.&lt;/li&gt;&#xA;&lt;li&gt;Open the folder &lt;code&gt;C:\Program Files\WindowsPowerShell\Modules\SqlServer&lt;/code&gt; and then open the version that is in that folder.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;NOTE: The next steps believes you have the gacutil.exe in the folder &lt;code&gt;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\&lt;/code&gt; and &lt;code&gt;Microsoft.SqlServer.TransactSql.ScriptDom.dll&lt;/code&gt; in the folder &lt;code&gt;C:\Program Files\WindowsPowerShell\Modules\SqlServer\21.1.18068\&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Run this command &lt;code&gt;&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\gacutil&quot; /i &quot;C:\Program Files\WindowsPowerShell\Modules\SqlServer\21.1.18068\Microsoft.SqlServer.TransactSql.ScriptDom.dll&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I got this idea from &lt;a href=&quot;https://craftmandev.com/2018/02/28/common-problems-for-installation-sitecore-9-on-the-first-time/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://craftmandev.com/2018/02/28/common-problems-for-installation-sitecore-9-on-the-first-time/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-05-19T16:49:19.720" LastActivityDate="2019-05-19T16:49:19.720" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="18774" PostTypeId="2" ParentId="18675" CreationDate="2019-05-18T21:55:14.577" Score="0" Body="&lt;p&gt;I need to add to Hishaam's answer that the answer is yes and no. In Sitecore personalization you can target the contact and the visit's pattern card.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;The visit&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The visit is the current visit, meaning anything that happened in this current visit, excluding the past visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the personalization rules it is called:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;where the current visit matches the specific pattern card in the specific profile&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;The contact&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The contact is the current contact and all of its history since the dawn on time. This includes all of the past activity that put the contact is certain pattern cards. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the personalization rules it is called:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;where the current contact matches at least one of the profile pattern card&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just for extra points, in Sitecore 8.2 the data for this is stored in the &lt;code&gt;KeyBehaviorCache&lt;/code&gt;. In 9.1 this is stored in the &lt;code&gt;ContactBehaviorProfile&lt;/code&gt; facet. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-05-18T21:55:14.577" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18775" PostTypeId="2" ParentId="17984" CreationDate="2019-05-19T01:25:14.340" Score="19" Body="&lt;p&gt;I recently discovered this issue on my local instance of SPE while working on 5.1. &lt;a href=&quot;https://sitecore.stackexchange.com/users/10/corey-smith&quot;&gt;Corey Smith&lt;/a&gt; showed me how to resolve this issue as it recently came up with Unicorn.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apply the following patch for instances of Sitecore (9.1+) to fix the issue.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:security=&quot;http://www.sitecore.net/xmlconfig/security/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot; security:require=&quot;Sitecore&quot;&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateSiteNeutralPaths, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;siteNeutralPaths hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;path hint=&quot;spe&quot;&amp;gt;/sitecore%20modules/PowerShell&amp;lt;/path&amp;gt;&#xA;          &amp;lt;/siteNeutralPaths&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This configuration is included with SPE 5.1. Enable the configuration file when using Sitecore 9.1+.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-08-16T14:45:44.520" LastActivityDate="2019-08-16T14:45:44.520" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18776" PostTypeId="1" AcceptedAnswerId="18788" CreationDate="2019-05-19T07:07:46.723" Score="0" ViewCount="930" Body="&lt;p&gt;I'm using Sitecore 9 and SXA 1.7, I want when the user enters a SXA tag name, all the items tagged by this tag are returned at the search results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried it but no results are returned, I checked the Solr, the tag is indexed :&#xA;&lt;code&gt;sxatags_sm&quot;:[&quot;Visitor&quot;]&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I made the &lt;code&gt;_Taggable&lt;/code&gt; and the &lt;code&gt;Tag&lt;/code&gt; templates inherits from &lt;code&gt;_Searchable&lt;/code&gt; template and rebuilt the index, but still it's not searchable.&lt;/p&gt;&#xA;" OwnerUserId="5545" LastEditorUserId="5096" LastEditDate="2019-05-20T08:16:55.283" LastActivityDate="2019-05-20T08:16:55.283" Title="SXA Tags are not searchable" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18777" PostTypeId="1" CreationDate="2019-05-19T13:46:21.210" Score="0" ViewCount="219" Body="&lt;p&gt;We are using Sitecore 9.0.2 &amp;amp; SXA 1.7.1 and we need to update all links to be absolute only in a specific page as by default all the links are relative for example this is the default link&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a title=&quot;xyz&quot; href=&quot;about/index.html&quot;&amp;gt;sometext &amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We want the link to appear like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a title=&quot;xyz&quot; href=&quot;https://domainname/about/index.html&quot;&amp;gt;sometext&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We can't do &lt;code&gt;includeserverURL&lt;/code&gt; to true as this will affect the entire system.&lt;br&gt;&lt;br&gt; Is there a pipeline that can be overridden to update links to be absolute for a specific page? &lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="4050" LastEditDate="2019-10-17T03:45:27.080" LastActivityDate="2019-11-16T05:02:20.300" Title="Update Sitecore rendered links for a specific page" Tags="|sxa|presentation|links|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18778" PostTypeId="2" ParentId="18777" CreationDate="2019-05-19T18:05:09.470" Score="1" Body="&lt;p&gt;The reason to do this still feels rather strange, but if you want to accomplish this there are solutions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To change the way urls are generated, you need to use a custom &lt;code&gt;LinkProvider&lt;/code&gt;. You can create this and define them per site in SXA: &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-and-select-a-custom-link-provider.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-and-select-a-custom-link-provider.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case you could create a linkprovider that sets the link options to include the domain on certain conditions (&lt;code&gt;alwaysIncludeServerUrl&lt;/code&gt; = true). Make sure to fallback to the defaults asap - if this code is not performing well your whole site will suffer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The condition in the linkprovider could be your page but that might be a rather hardcoded solution. You could also consider using a different device for the external sites that fetch your data and test on that in the linkprovider.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-05-19T18:05:09.470" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18780" PostTypeId="1" AcceptedAnswerId="18782" CreationDate="2019-05-20T05:36:36.630" Score="1" ViewCount="217" Body="&lt;p&gt;So the current project on which i am working, does not have workflow set and the client needs a barrier against accidental content publish.&#xA;Now, if I mark &quot;Never Publish&quot; on the standard value of the templates, All the items will be deleted from the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to set all the items created henceforth to never publish ?&lt;/p&gt;&#xA;" OwnerUserId="1744" LastEditorUserId="1744" LastEditDate="2019-05-20T05:47:14.397" LastActivityDate="2019-05-20T07:43:20.537" Title="Can newly created items marked &quot;Never Published&quot;?" Tags="|publishing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18781" PostTypeId="1" AcceptedAnswerId="18785" CreationDate="2019-05-20T05:41:16.747" Score="0" ViewCount="305" Body="&lt;p&gt;I am trying to install Sitecore Experience platform 9.0 using Sitecore via SIF.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Versions of the pre-requisite Softwares/Tools are &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SQL Server Version-14.0.1000.169, &lt;/li&gt;&#xA;&lt;li&gt;Sitecore XP 9.0, &lt;/li&gt;&#xA;&lt;li&gt;Solr-6.6.2,&lt;/li&gt;&#xA;&lt;li&gt;SIF 1.2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;During Install WDP : WebDeploy step, I am facing  &lt;code&gt;ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROVIDER&lt;/code&gt; error and couldn't proceed with further installation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have followed every step that was mentioned in this article &lt;a href=&quot;https://naveed-ahmad.com/2017/11/03/sitecore-9-sif-installation-error-error_scriptdom_needed_for_sql_provider/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://naveed-ahmad.com/2017/11/03/sitecore-9-sif-installation-error-error_scriptdom_needed_for_sql_provider/&lt;/a&gt; , but still issue continues.Thanks in advance!&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VNkTf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VNkTf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5550" LastEditorUserId="5550" LastEditDate="2019-05-20T06:17:11.357" LastActivityDate="2019-05-20T07:11:03.810" Title="Sitecore 9.0 Installation Issue:ERROR_SCRIPTDOM_NEEDED_FOR_SQL_PROVIDER" Tags="|sitecore-install-framework|installation|" AnswerCount="1" CommentCount="4" ClosedDate="2019-05-20T07:36:09.460" ContentLicense="CC BY-SA 4.0" />
  <row Id="18782" PostTypeId="2" ParentId="18780" CreationDate="2019-05-20T05:52:17.103" Score="1" Body="&lt;p&gt;You can add custom hander to &lt;code&gt;item:created&lt;/code&gt; event and set the value of &lt;code&gt;Never Publish&lt;/code&gt; to true:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnItemCreated(object sender, EventArgs args)&#xA;{&#xA;    var createdArgs = Event.ExtractParameter(args, 0) as ItemCreatedEventArgs;&#xA;&#xA;    Assert.IsNotNull(createdArgs, &quot;args&quot;);&#xA;    if (createdArgs != null)&#xA;    {&#xA;        Assert.IsNotNull(createdArgs.Item, &quot;item&quot;);&#xA;        if (createdArgs.Item != null)&#xA;        {&#xA;            Item item = createdArgs.Item;&#xA;            item.Editing.BeginEdit();&#xA;            item.Publishing.NeverPublish = true;&#xA;            item.Editing.EndEdit();&#xA;         }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and register it via patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;item:created&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;My.Assembly.Namespace.ClassName, My.Assembly&quot; method=&quot;OnItemCreated&quot; /&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-20T05:52:17.103" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18783" PostTypeId="1" AcceptedAnswerId="18784" CreationDate="2019-05-20T06:19:01.687" Score="2" ViewCount="953" Body="&lt;p&gt;We can apply &lt;code&gt;Helix&lt;/code&gt; principles for back-end(C# MVC) application for modular architecture.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we use &lt;code&gt;Helix&lt;/code&gt; principles for &lt;code&gt;JSS&lt;/code&gt; application?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it recommended to use &lt;code&gt;Helix&lt;/code&gt; for front-end application(&lt;code&gt;JSS&lt;/code&gt;)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for suggestion.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-05-20T06:44:38.957" Title="Can we use helix principle into JSS application?" Tags="|jss|helix|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18784" PostTypeId="2" ParentId="18783" CreationDate="2019-05-20T06:44:38.957" Score="9" Body="&lt;p&gt;You can certainly follow Helix principles with JSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Helix modules will contain less code, due to the fact that Sitecore JSS does a lot of item manipulation work for us. This decreases the value of keeping Helix modules in separate Visual Studio projects. And as you know, having a lot of projects in your VS solution increases build time significantly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should remember that in Helix architecture, it is the logical boundary and the proper dependency direction which matters, not the physical boundary (which is created by separate VS projects). Having many projects in a Visual Studio solution is often considered as an anti-pattern.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Therefore, you should consider combing your modules, especially in Feature and Project layers into a single Visual Studio project and enforcing Helix dependency principles in different ways. But, as usual, it depends.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Front-end developers will store their code separately from Sitecore back-end code, in some cases maybe even in separate source code repositories. However, even then it is important to keep in sync Helix feature names with an appropriate folder structure in the JSS application to make sure that code base is readable and easily maintainable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two really good resources for this topic:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Session done by Jean-François L'Heureux for Sitecore Symposium 2018 -&gt; &lt;a href=&quot;https://www.jflh.ca/2018-10-13-helix-and-sitecore-javascript-services&quot; rel=&quot;noreferrer&quot;&gt;https://www.jflh.ca/2018-10-13-helix-and-sitecore-javascript-services&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Article written by Vitalii Tylyk -&gt; &lt;a href=&quot;https://blog.vitaliitylyk.com/sitecore-jss-meets-helix-introduction/&quot; rel=&quot;noreferrer&quot;&gt;https://blog.vitaliitylyk.com/sitecore-jss-meets-helix-introduction/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;There are also two really good repositories to begin with:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/jflheureux/jss-app-templates&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/jflheureux/jss-app-templates&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/andiappan-ar/sitecore.first-jss-helix&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/andiappan-ar/sitecore.first-jss-helix&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-05-20T06:44:38.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18785" PostTypeId="2" ParentId="18781" CreationDate="2019-05-20T06:54:55.320" Score="0" Body="&lt;p&gt;If you have already installed all the prerequisite then make sure that you have added  missing registry &lt;code&gt;DacFxPath&lt;/code&gt; and &lt;code&gt;DacFxDependenciesPath&lt;/code&gt; under the registry key &lt;code&gt;\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Follow article&lt;/strong&gt; &lt;a href=&quot;https://kb.sitecore.net/articles/019579&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/019579&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Key - DacFxPath&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Value - &lt;code&gt;C:\Program Files\Microsoft SQL Server\140\DAC\bin&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Key – DacFxDependenciesPath&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Value - &lt;code&gt;C:\Program Files\Microsoft SQL Server\140\DAC\bin&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note-&lt;/strong&gt; Please clean everything before executing the installation script again &lt;/p&gt;&#xA;" OwnerUserId="4105" LastEditorUserId="5096" LastEditDate="2019-05-20T07:11:03.810" LastActivityDate="2019-05-20T07:11:03.810" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18786" PostTypeId="2" ParentId="18767" CreationDate="2019-05-20T06:55:53.453" Score="0" Body="&lt;p&gt;Run command to manually register ScriptDom:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;.\GacMe -filePath &quot;C:\Program Files (x86)\Microsoft SQL Server\140\DAC\bin\Microsoft.SqlServer.TransactSql.ScriptDom.dll&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3049" LastActivityDate="2019-05-20T06:55:53.453" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18787" PostTypeId="2" ParentId="18780" CreationDate="2019-05-20T07:43:20.537" Score="2" Body="&lt;p&gt;If you want a code-less approach, just create a Branch Template based on your item template, and set the publishing restrictions on the default item of the branch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fKtz1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fKtz1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/U00da.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/U00da.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-05-20T07:43:20.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18788" PostTypeId="2" ParentId="18776" CreationDate="2019-05-20T08:08:07.823" Score="3" Body="&lt;p&gt;If I understand you correctly you would like to use Search Box to search item by tags. By the default, it is not possible because Search Box is using Aggregated Content (this field in the index will be named &lt;code&gt;sxacontent&lt;/code&gt;) computed field. This field contains only extracted text content of an item and tags are assigned as an IDs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have a few options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;override &lt;code&gt;AggregatedContent&lt;/code&gt; computed field (method &lt;code&gt;ComputeFieldValue()&lt;/code&gt;) so that it will also include tags names into the &lt;code&gt;sxacontent&lt;/code&gt; index field - in such case Search Box will work as you expect it&lt;/li&gt;&#xA;&lt;li&gt;override &lt;code&gt;ContentPredicate()&lt;/code&gt; method in &lt;code&gt;Search Service&lt;/code&gt; so that instead of just checking &lt;code&gt;AggregatedContent&lt;/code&gt; field it will also take a look for tags&lt;/li&gt;&#xA;&lt;li&gt;re-design your approach and use &lt;strong&gt;Filter (Checklist)&lt;/strong&gt; rendering with tags&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would recommend using the third option. If you would like to take a more advanced approach go with the first option as overriding Search Service is more tricky than simply config update which you have in a first proposition.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-20T08:08:07.823" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18789" PostTypeId="1" CreationDate="2019-05-20T11:06:56.327" Score="0" ViewCount="732" Body="&lt;p&gt;In Page I used search result to display items from Template, and this template contains &quot;drop link field&quot; I need to filter these results like that&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sBIvm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sBIvm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &#xA;I need to use &quot;Current Item ID&quot; in search scope to filter results, IS There a way to get Context Item in scope???&lt;/p&gt;&#xA;" OwnerUserId="3899" LastEditorUserId="3899" LastEditDate="2019-05-20T12:47:04.800" LastActivityDate="2019-05-20T15:49:19.457" Title="How to get Current Item ID in search scope" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18790" PostTypeId="1" AcceptedAnswerId="18793" CreationDate="2019-05-20T11:15:05.703" Score="2" ViewCount="1028" Body="&lt;p&gt;Please illuminate main differences between server side rendering and client side rendering for JSS app?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is server side rendering only required for things which are tightly couple with Sitecore like &lt;code&gt;Experience Editor&lt;/code&gt; to use through JSS app?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the use cases to use both type of renderings?&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-05-20T14:56:09.660" LastActivityDate="2019-12-08T06:43:38.113" Title="What are differences between server side rendering and client side rendering in JSS?" Tags="|jss|presentation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18791" PostTypeId="1" AcceptedAnswerId="19288" CreationDate="2019-05-20T11:52:18.747" Score="5" ViewCount="7423" Body="&lt;p&gt;I have a freshly-created Sitecore 9.1 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After setting up the xDB Migration Tool, I get the following error message when running the Troubleshooter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR [Data Exchange]    at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.DataExchange.Providers.XConnect.Client.BaseXConnectServiceClientConverter`1.CreateNewClientConfiguration(XConnectClientSettings settings)&#xA;   at Sitecore.DataExchange.Providers.XConnect.Client.BaseXConnectServiceClientConverter`1.Convert(XConnectClientSettings settings)&#xA;   at Sitecore.DataExchange.Providers.XConnect.DefaultXConnectClientHelperFactory.ToXConnectClient(XConnectClientSettings clientSettings)&#xA;   at Sitecore.DataExchange.Providers.XConnect.Troubleshooters.TestXConnectClientEndpointConnection.Troubleshoot(Endpoint endpoint, TroubleshooterContext context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I click on &quot;Show Deployed Models&quot; I get the infamous &lt;strong&gt;Could not create SSL/TLS secure channel&lt;/strong&gt; error message, and the stacktrace passes through the same method, Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[WebException: The request was aborted: Could not create SSL/TLS secure channel.]&#xA;  System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +818&#xA;  System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) +83&#xA;&#xA;   [HttpRequestException: An error occurred while sending the request.]&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;  Sitecore.Xdb.Common.Web.&amp;lt;ExecuteAsync&amp;gt;d__41.MoveNext() +950&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;  Sitecore.Xdb.Common.Web.&amp;lt;ExecuteGetAsync&amp;gt;d__36.MoveNext() +597&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;  Sitecore.XConnect.Client.WebApi.&amp;lt;Refresh&amp;gt;d__4.MoveNext() +690&#xA;&#xA;[XdbCollectionUnavailableException: An error occurred while sending the request.]&#xA;  Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock(Func`1 taskFactory) +518&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which leads me to believe that my first error is, in fact, a TLS one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to troubleshoot TLS connection issues? If I decide to recreate the security certificates in my environment, how can I test that they are working correctly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how the SSL Certificate for my Collection instance is configured:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tOLqa.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tOLqa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this is how the Connection String for XP Collection is configured in my main Sitecore instance:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8RUyE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8RUyE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have meticulously followed your instructions and exported the following certificate:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B72Hu.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B72Hu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;to my file system, before importing it in the set of &quot;Trusted Root Certificate Authorities&quot;. I also made sure that the Application Pool for my Sitecore website can access that certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am still getting a 403.16 Forbidden when accessing &lt;a href=&quot;https://xpscaled910.collection/&quot; rel=&quot;noreferrer&quot;&gt;https://xpscaled910.collection/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is probably the most obscure and annoying problem I've had to deal with since I started working with Sitecore. Surely they could have provided better documentation?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-06-07T19:01:16.423" LastActivityDate="2019-10-18T11:12:03.060" Title="Troubleshooting &quot;Could not create SSL/TLS secure channel&quot; error in XConnect on Sitecore 9.1" Tags="|xdb|xconnect|security|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18792" PostTypeId="1" CreationDate="2019-05-20T11:57:44.230" Score="1" ViewCount="324" Body="&lt;p&gt;I am having following content tree&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Content&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;myapp&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;home&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-Products&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-Product-1&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Related-Products-1 (based on Related-Products custom template) – having multi-list field in which we can select products which are related and source would be /Sitecore/Content/myapp/home/Products&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;-Product-2&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Related-Products-2&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;-Product-3&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Related-Products-3&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;-Product-4&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Related-Products-4&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To display Related Products items on Product-1 (Product template based item) page, I created the component and in component’s datasource added the xPath query like&#xA;query:self:://&lt;em&gt;[@@templateid = '{XXXX-XXXX-XXXX}'], so that I will get Product listing but it’s returning the xPath query in datasource attribute like:&#xA;   &quot;dataSource&quot;: &quot;query:self:://&lt;/em&gt;[@@templateid = '{XXXX-XXXX-XXXX}']&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If, I will assign direct path of item Related-Products, in the component then I am getting the details, with this way in each and every page I have to change the datasource manually and I can’t use __StandardValue of template to assign the Component with datasource, is there any other way to achieve this use case? &lt;/p&gt;&#xA;" OwnerUserId="3035" LastActivityDate="2019-05-22T19:32:02.237" Title="Sitecore JSS component datasource xPath query" Tags="|jss|sitecore-query|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18793" PostTypeId="2" ParentId="18790" CreationDate="2019-05-20T12:17:11.177" Score="4" Body="&lt;p&gt;I am new in JSS world, trying to jump into JSS pond.&lt;/p&gt;&#xA;&lt;h1&gt;Below are differences:&lt;/h1&gt;&#xA;&lt;p&gt;&lt;strong&gt;Client-side rendering-&lt;/strong&gt; your browser downloads a minimal HTML page. It renders the JavaScript and fills the content into it.&lt;/p&gt;&#xA;&lt;p&gt;Rendering performed by the browser.&lt;/p&gt;&#xA;&lt;p&gt;Data comes from Sitecore via &lt;code&gt;LayoutService/DictionaryService/GraphQL&lt;/code&gt; APIs via HTTP.&lt;/p&gt;&#xA;&lt;p&gt;See below diagram(Connected mode)&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1IPf6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1IPf6.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Server-side rendering-&lt;/strong&gt; on the other hand, renders the components(&lt;code&gt;React&lt;/code&gt;) on the server. The output is HTML content.&lt;/p&gt;&#xA;&lt;p&gt;The application is server-side rendered (SSR) by the Sitecore instance, meaning complete HTML is delivered to the user without any &lt;em&gt;&lt;strong&gt;initial&lt;/strong&gt;&lt;/em&gt; JS execution on the client.&lt;/p&gt;&#xA;&lt;p&gt;This mode &lt;em&gt;&lt;strong&gt;allows&lt;/strong&gt;&lt;/em&gt; your Sitecore users to manage content, presentation and other marketing features for your JSS app using Sitecore's &lt;code&gt;Experience Editor&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Rendering performed by server (SSR by Node instances orchestrated by Sitecore)&#xA;Data comes from Sitecore &lt;code&gt;LayoutService&lt;/code&gt;, passed from Sitecore to Node with no extra HTTP call.&lt;/p&gt;&#xA;&lt;p&gt;Via Sitecore configuration files, you can configure the &lt;code&gt;Node.js&lt;/code&gt; instance used for server-side rendering.&lt;/p&gt;&#xA;&lt;p&gt;Usage: Content Management/Authoring server, production Content Delivery server (if not using headless hosting).&lt;/p&gt;&#xA;&lt;p&gt;See below diagram(Integrated mode).&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sDlkM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sDlkM.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt; &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/application-modes&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/application-modes&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-20T12:34:26.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18794" PostTypeId="1" CreationDate="2019-05-20T12:51:45.563" Score="0" ViewCount="296" Body="&lt;p&gt;I got an error while clicking the item in Sitecore, but when I refreshed the page, I was able to click the item this time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;Sitecore.Security.AntiCsrf.Exceptions.PotentialCsrfException&#xA;Message: The CSRF cookie value did not match the CSRF parameter value.&#xA;Source: Sitecore.Security.AntiCsrf&#xA;at Sitecore.Security.AntiCsrf.SitecoreAntiCsrfModule.RaiseError(Exception ex, HttpContext context)&#xA;at Sitecore.Security.AntiCsrf.SitecoreAntiCsrfModule.PreRequestHandlerExecute(Object sender, EventArgs e)&#xA;at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)&lt;/pre&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="277" LastEditDate="2019-05-20T12:53:00.000" LastActivityDate="2019-05-20T12:53:00.000" Title="The CSRF cookie value did not match the CSRF parameter value" Tags="|content-editor|security|csrf|" AnswerCount="0" CommentCount="4" ClosedDate="2019-05-20T14:43:46.790" ContentLicense="CC BY-SA 4.0" />
  <row Id="18795" PostTypeId="2" ParentId="18791" CreationDate="2019-05-20T14:06:56.693" Score="7" Body="&lt;p&gt;On your CD server, in your connectionstrings.config. The certificate for xConnect is defined in the &lt;code&gt;xconnect.collection.certificate&lt;/code&gt; connection string. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Find that certificate in mmc/certificates. Right click and select &lt;code&gt;Manage Private Keys&lt;/code&gt;. Make sure the app pool user for your CD website has read access to the key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hNpOd.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hNpOd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For testing, from you CD server you should be able to open chrome and go right to your xconnect site, &lt;a href=&quot;https://xconnect.whatever.com/&quot; rel=&quot;noreferrer&quot;&gt;https://xconnect.whatever.com/&lt;/a&gt; and see the current date. If you see a cert error in chrome, that would mean you need to install the signing cert for your SSL in your CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LOrP9.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LOrP9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Adding a self signed cert to your CD server&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;On your CD server, open MMC and add in the certificates manager for the local server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1orce.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1orce.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under personal / certificates you will see you SSL cert. Right click and export the certificate. When prompted say &quot;No. do not export the private key&quot;. Select DER as the type and save it to disk.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Chrome, open settings and search for &quot;Manage Certificates&quot;. In the window that pops up, select &quot;Trusted Root Certificate Authorities&quot;. Click Import and import the cer certificate you just created. Restart Chrome and you are done. You should get all green from your SSL cert now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CC9V1.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CC9V1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-05-21T00:48:21.000" LastActivityDate="2019-05-21T00:48:21.000" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="18796" PostTypeId="2" ParentId="16734" CreationDate="2019-05-20T14:46:04.207" Score="6" Body="&lt;p&gt;The issue happens because you've added the namespace of your project in the &lt;code&gt;Views/web.config&lt;/code&gt; file while you haven't created any class yet.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore Labs Guide, Page 50&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qGGG9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qGGG9.png&quot; alt=&quot;Sitecore Labs Guide&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5491" LastEditorUserId="4515" LastEditDate="2019-07-04T12:42:02.123" LastActivityDate="2019-07-04T12:42:02.123" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18797" PostTypeId="2" ParentId="18789" CreationDate="2019-05-20T15:49:19.457" Score="2" Body="&lt;p&gt;It is not possible out of the box. But you can add such functionality (extend the SXA) pretty easily by adding your own &quot;search token&quot; (adding a processor to one of SXA pipelines). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA can enrich search queries with Search Query Tokens. Take a look at exiting processors in &lt;code&gt;resolveSearchQueryTokens&lt;/code&gt; pipeline. What you want to achieve is almost the copy of the existing token - &lt;code&gt;CurrentTemplate&lt;/code&gt; (it is located here &lt;code&gt;Sitecore.XA.Foundation.Search.Pipelines.ResolveSearchQueryTokens&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are some blog posts which can help you with, for example, this one: &lt;a href=&quot;https://ggullentops.blogspot.com/2019/01/extending-sxa-search-query-tokens.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2019/01/extending-sxa-search-query-tokens.html&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-20T15:49:19.457" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18798" PostTypeId="1" AcceptedAnswerId="18799" CreationDate="2019-05-20T20:05:13.413" Score="0" ViewCount="46" Body="&lt;p&gt;Anyone know of any issues running Sitecore 8.2 with AWS Reserved Instances for SQL?&lt;/p&gt;&#xA;" OwnerUserId="2100" LastActivityDate="2019-05-20T20:47:14.827" Title="Sitecore 8.2 and AWS Reserved Instances" Tags="|cloud|amazon-web-services|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18799" PostTypeId="2" ParentId="18798" CreationDate="2019-05-20T20:47:14.827" Score="0" Body="&lt;p&gt;As long as you don't mean &lt;a href=&quot;https://aws.amazon.com/rds/&quot; rel=&quot;nofollow noreferrer&quot;&gt;RDS&lt;/a&gt;, then it is just another IaaS server instance. There is no issue at all running SQL on them at all.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-05-20T20:47:14.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18800" PostTypeId="2" ParentId="18216" CreationDate="2019-05-20T22:09:59.103" Score="1" Body="&lt;p&gt;Answering my own question: Sitecore Support confirmed a bug, bug reference number #103944, and gave us a patch, which seems to fix the problem.&lt;/p&gt;&#xA;" OwnerUserId="3614" LastActivityDate="2019-05-20T22:09:59.103" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18802" PostTypeId="1" AcceptedAnswerId="18806" CreationDate="2019-05-21T01:04:39.680" Score="3" ViewCount="116" Body="&lt;p&gt;When executing the pipeline &lt;code&gt;IAssociateCategoryToParentPipeline&lt;/code&gt;, there is a step that checks if there are any validation errors in &lt;code&gt;CommerceContext.GetMessages()&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This will cause an update to fail even if the messages were in place before the pipeline was initiated, which seems counterintuitive.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to &quot;refresh&quot; the commerce context, or create a clone of it with an empty message list?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Details:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Observed in XC 9.0-Update 1.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;AssociateCategoryToParentPipeline&lt;/code&gt; calls &lt;code&gt;AssociateCategoryToParentBlock&lt;/code&gt;, which call &lt;code&gt;CreateRelatationshipCommand&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;CreateRelationshipCommand.Process&lt;/code&gt; calls the static method &lt;code&gt;Command.PerformTransaction&lt;/code&gt;, and that calls &lt;code&gt;ValidatateTransaction&lt;/code&gt;.  &lt;/li&gt;&#xA;&lt;li&gt;ValidationTransaction looks for the existence of a message with a code of &quot;ValidationError&quot;, and if one is found, rolls back the transaction. So as long as there are any ValidationErrors in this list, any call to this command, and by extension &lt;code&gt;AssociateCategoryToParentPipeline&lt;/code&gt;, will fail to persist updates.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="247" LastEditorUserId="5096" LastEditDate="2019-05-21T05:56:35.020" LastActivityDate="2019-05-21T09:49:55.813" Title="Scoping validation checks in Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18803" PostTypeId="2" ParentId="289" CreationDate="2019-05-21T05:42:37.503" Score="2" Body="&lt;p&gt;There is no built in search provider / functionality for Algolia as oppose to Lucene / Solr / Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To support Algolia as search provider you would need to have these functionalities:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create / Update Index or shortly indexing&lt;/li&gt;&#xA;&lt;li&gt;Search capabilities&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;1) Indexing&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Can be achieved using repository mentioned already by Michael in his answer for Sitecore 7-8.x -&gt; &lt;a href=&quot;https://github.com/dharnitski/Sitecore.Algolia&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/dharnitski/Sitecore.Algolia&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Sitecore 9.1+ you can use my fork of that repository -&gt; &lt;a href=&quot;https://tothecore.sk/2019/05/21/algolia-index-provider-for-sitecore-9-1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2019/05/21/algolia-index-provider-for-sitecore-9-1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have made there some significant changes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;.NET Target Framework bumped to 4.7.2 &lt;/li&gt;&#xA;&lt;li&gt;Sitecore referenced nuget packages bumped to Sitecore 9.1 versions &lt;/li&gt;&#xA;&lt;li&gt;Removed completely Algolia.Search project and replaced it with 5.2.1 version of&#xA;Algolia.Search nuget which makes solution much simpler and future&#xA;proof; I have used version 5.2.1 as it's the last to use&#xA;Newtonsoft.JSON 11.0.2 so same as Sitecore 9.1 uses not to have&#xA;version conflicts &lt;/li&gt;&#xA;&lt;li&gt;Removed switches for old Sitecore 8 versions as&#xA;needed for Sitecore 9.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;2) Searching&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Can be easily achieved without implementing search provider as Algolia uses it's Javascript library (similarly to Coveo) called InstantSearch: &#xA;&lt;a href=&quot;https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They have implementations available for various JS libraries / frameworks like Angular, React, Vue, ... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also use their c# api client for searching -&gt; &lt;a href=&quot;https://www.algolia.com/doc/api-client/getting-started/install/csharp/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.algolia.com/doc/api-client/getting-started/install/csharp/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-05-21T05:42:37.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18804" PostTypeId="2" ParentId="18802" CreationDate="2019-05-21T06:12:55.737" Score="3" Body="&lt;p&gt;Best way is to use a new CommerceContext for each call. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that isn’t feasible you can use the clear methods, e.g:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; context.CommerceContext.ClearEntities();&#xA; context.CommerceContext.ClearModels();&#xA; context.CommerceContext.ClearObjects();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-05-21T06:12:55.737" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18806" PostTypeId="2" ParentId="18802" CreationDate="2019-05-21T09:49:55.813" Score="2" Body="&lt;p&gt;I would suggest understanding what is an initial issue, that adds this ValidationError message to your context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you are writing initial import that requires a huge amount of entities to be imported it's better to clean context periodically to free memory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the following snippet: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;context.CommerceContext = new CommerceContext(context.CommerceContext.Logger, context.CommerceContext.TelemetryClient)&#xA;{&#xA;    GlobalEnvironment = context.CommerceContext.GlobalEnvironment,&#xA;    Environment = context.CommerceContext.Environment,&#xA;    Headers = context.CommerceContext.Headers&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="139" LastActivityDate="2019-05-21T09:49:55.813" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18807" PostTypeId="1" CreationDate="2019-05-21T09:50:29.287" Score="-1" ViewCount="407" Body="&lt;p&gt;I'm migrating Sitecore 9.1.0 to Azure. During the process of build on Azure DevOps, I have a gulp tasks, which builds the solution and transforms the configuration files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On certain configuration files, I get this error : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;d:\a\1\s\source\back-end\applytransform.targets(19,5): error : Could not open Source file: Could not find file 'd:\a\1\s\source\back-end\output\website\App_Config\Include\Coveo\Coveo.CloudPlatformClient.Custom.config'.&#xA;                     Transformation failed (TaskId:6)&#xA;                   Done executing task &quot;TransformXml&quot; -- FAILED. (TaskId:6)&#xA;22:43:39.305     1&amp;gt;Done building target &quot;ApplyTransform&quot; in project &quot;applytransform.targets&quot; -- FAILED.: (TargetId:2)&#xA;22:43:39.305     1&amp;gt;Done Building Project &quot;d:\a\1\s\source\back-end\applytransform.targets&quot; (ApplyTransform target(s)) -- FAILED.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Could you tell me why ? I have no more details on these errors...&lt;/p&gt;&#xA;" OwnerUserId="1566" LastActivityDate="2020-02-16T15:02:15.320" Title="How does the gulp build transform Sitecore config files?" Tags="|azure|gulp|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18808" PostTypeId="1" AcceptedAnswerId="20619" CreationDate="2019-05-21T09:52:41.210" Score="5" ViewCount="612" Body="&lt;p&gt;Is there any way in regular Visual Studio (2017) to view the history of individual yml (unicorn serialization) files? Once you have &lt;em&gt;changed&lt;/em&gt; a serialized Sitecore item it appears under the 'Changes' section of the Team Explorer. You can then view the history of files. I would like to be able to just click on any (unchanged) yml file and see its changes directly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm following the Helix pattern and my solution contains for each project a &quot;Code&quot; folder and a &quot;Serialization&quot; folder (like Habitat). The projects (csproj) are visible in the Solution Explorer, but the Serialization files are not. I tried to add a solution folder as a sibling of the project, but there doesn't seem to be a way to make that reference a folder, only individual files. I don't want to add every yml file as that would be a maintenance headache. Is there a better way?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-08-22T02:30:40.017" Title="How to view history of yml files (before they have pending changes)" Tags="|helix|unicorn|visual-studio|git|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18809" PostTypeId="1" AcceptedAnswerId="18810" CreationDate="2019-05-21T09:54:43.863" Score="4" ViewCount="241" Body="&lt;p&gt;So we know that &lt;code&gt;Sitecore.Configuration.Factory&lt;/code&gt; reads through all files ending in &lt;code&gt;*.config&lt;/code&gt; in the &lt;code&gt;App_Config/Include&lt;/code&gt; folder of your website root.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I've seen with SXA and JSS, that additional config files are placed in these directories.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eUhZQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eUhZQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are these picked up by as any other config files as well?  or does SXA and JSS respectively &quot;hook into&quot; Sitecore's configuration mechanics to read these?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-05-21T10:23:58.200" Title="How does Sitecore read .jssconfig and .sxaconfig files?" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18810" PostTypeId="2" ParentId="18809" CreationDate="2019-05-21T10:23:58.200" Score="8" Body="&lt;p&gt;These are not Sitecore patch config files, and as such they are not read by the Sitecore Configuration Factory, so nothing has changed in that regard with only &lt;code&gt;.config&lt;/code&gt; files being loaded.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you inspect the contents of the config files using Notepad, you'll notice they are all changes that should be applied to the &lt;code&gt;web.config&lt;/code&gt; file. For example, in &lt;em&gt;Sitecore.JavaScriptServices.MediaRequestHandler.jssconfig&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;handlers&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; path=&quot;sitecorejss_media.ashx&quot; type=&quot;Sitecore.JavaScriptServices.Media.MediaRequestHandler, Sitecore.JavaScriptServices.Media&quot; name=&quot;Sitecore.JavaScriptServices.Media.MediaRequestHandler&quot; /&amp;gt;&#xA;    &amp;lt;/handlers&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is not patching a &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; section of the config, it's targeting an element in the root &lt;code&gt;web.config&lt;/code&gt;. This is automatically applied by a post-install step when you install the JSS and SXA packages respectively:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.JavaScriptServices.Install.PostInstall, Sitecore.JavaScriptServices.Install&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.XA.Foundation.Installer.ExperienceAcceleratorInstallationPostStep, Sitecore.XA.Foundation.Installer&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In each of these post-install steps there is a method which checks for all &lt;code&gt;.jssconfig&lt;/code&gt; and &lt;code&gt;.sxaconfig&lt;/code&gt; files within the &lt;code&gt;/App_Config&lt;/code&gt; folder and applies the required changes to the &lt;code&gt;web.config&lt;/code&gt;. Once you have installed the packages, you should check the &lt;code&gt;web.config&lt;/code&gt; to ensure that the relevant changes have been applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: If you have checked in the stock &lt;code&gt;web.config&lt;/code&gt; into your source code, then you should ensure that these changes have also been applied. Unlike some earlier modules, the fact that these &lt;code&gt;web.config&lt;/code&gt; changes are required is not mentioned in any of the documentation.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2019-05-21T10:23:58.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18813" PostTypeId="1" CreationDate="2019-05-21T12:31:31.137" Score="1" ViewCount="146" Body="&lt;p&gt;I'm using Sitecore 9.1.1 and SXA 1.8.1, I enabled &lt;code&gt;content tagging&lt;/code&gt;, I want to programmatically apply the &lt;code&gt;content tagging&lt;/code&gt; to a specific item. Is there a way to programmatically trigger the &lt;code&gt;Tag item&lt;/code&gt; tab and pass the item to it for example by calling an API (if there is an OOTB API that does so) ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2p7YQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2p7YQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried the IContentTaggingRunner and this was the output:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1] the data wasn't cleared as shown in the picture and its the same IDs in every Item.&#xA;2] the data is added in the semantics not the tag field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know the solution?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3JUtJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3JUtJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="5557" LastEditDate="2019-05-21T14:28:14.470" LastActivityDate="2019-05-21T14:58:26.663" Title="&quot;programmatically&quot; call the Sitecore Cortex Content Tagging feature" Tags="|cortex|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18814" PostTypeId="2" ParentId="18813" CreationDate="2019-05-21T13:34:21.897" Score="3" Body="&lt;p&gt;Looking at the code for that button in the &lt;code&gt;TagContentCommand&lt;/code&gt; class, you need to use the &lt;code&gt;IContentTaggingRunner&lt;/code&gt; to call that. Here is an example taken from the command class for that button:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyTaggingClass&#xA;{&#xA;    private readonly IContentTaggingRunner _contentTaggingRunner;&#xA;&#xA;    public MyTaggingClass(IContentTaggingRunner contentTaggingRunner)&#xA;    {&#xA;        _contentTaggingRunner = contentTaggingRunner;&#xA;    }&#xA;&#xA;    protected void RunTagging(Item contentItem)&#xA;    {&#xA;        using (new SecurityEnabler())&#xA;        {&#xA;            if (contentItem.Security.CanWrite((Account) Context.User))&#xA;            {&#xA;                _contentTaggingRunner.Run(contentItem, messageBus);&#xA;            }&#xA;            else&#xA;            {&#xA;                Log.Warn(string.Format(&quot;Item '{0}' was not tagged. User doesn't have write access to it.&quot;, (object) contentItem.Paths.Path), (this);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;IContentTaggingRunner.Run&lt;/code&gt; method just takes the content item. If you want to run this from the UI, there is a message bus that you can use to update the UI too. Just look at the code for &lt;code&gt;TagContentCommand&lt;/code&gt; to see how its used.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-21T13:34:21.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18815" PostTypeId="2" ParentId="18808" CreationDate="2019-05-21T13:52:28.777" Score="3" Body="&lt;p&gt;The answer to this would depend on what you are using for Source Control. I will try to answer assuming Git is your source control. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Short Answer: Not easily...&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The short answer is, with regular Visual Studio and Git as the source, there is no easy way to do this. Sure, you &lt;em&gt;could&lt;/em&gt; add VS projects to include the &lt;code&gt;.yml&lt;/code&gt; files and do it that way, but that will just clutter up and slow down Visual Studio. There is no point.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update: There is a way...&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Ok - so there is a way, but it may/may not have performance impacts on VS/your builds etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new &lt;code&gt;.csproj&lt;/code&gt; file and store it in your &lt;code&gt;serialization&lt;/code&gt; folder. I called mine &lt;code&gt;Feature.FeatureName.Serialization&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open the &lt;code&gt;.csproj&lt;/code&gt; file in notepad/vs code/vim - whatever text editor you use :) and add the following lines:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;None Include=&quot;**\*.yml&quot; /&amp;gt;&#xA;&amp;lt;/ItemGroup&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will make all the folders and &lt;code&gt;.yml&lt;/code&gt; files visible in the project, you can right click and view the history etc... and with them set to &lt;code&gt;None&lt;/code&gt; as the build action, it will not copy them. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You &lt;em&gt;will&lt;/em&gt; however get a new binary in your bin folder with nothing in... So there is that... I still would just follow the solution below:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Longer Answer: Just don't Use Visual Studio&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you take the requirement to use Visual Studio out of the question, this is a relatively easy task. Depending on your Git client of choice, you just find the files you want and view the history of them. The easiest way to do this is just in Windows File Explorer with &lt;a href=&quot;https://gitextensions.github.io/&quot; rel=&quot;nofollow noreferrer&quot;&gt;GitExtensions&lt;/a&gt;. You can simply right click the file and view the history.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want something that feels more familiar to Visual Studio users, use &lt;a href=&quot;https://code.visualstudio.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Visual Studio Code&lt;/a&gt;. Just open the source folder with VS Code and you can view all the files there, it has an excellent Git History plugin that you can install:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xCZVh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xCZVh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once that is installed, find your file, right click and view the history. See the details about the plugin here: &lt;a href=&quot;https://github.com/DonJayamanne/gitHistoryVSCode&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/DonJayamanne/gitHistoryVSCode&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the advantages of Unicorn for me was the removal of all the serialized items from Visual Studio, I would often find that when a TDS project got very large and had lots of items, it would impact on Visual Studio performance. Ultimately, these files are not code and I rarely need to open them up to look at them, I just want to see changes when I make commits. Keeping them out of VS means they don't get in my way.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-05-21T14:01:54.990" LastActivityDate="2019-05-21T14:01:54.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18816" PostTypeId="1" CreationDate="2019-05-21T14:00:29.127" Score="0" ViewCount="129" Body="&lt;p&gt;We have 3 DMZ zones in which we have setup our xConnect XP topology.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Zone A - Processing on one machine;&#xA;      - Reporting on one machine;&#xA;      - Collection, Collection Search, MA, MA Rep, Ref data on one machine;&#xA;      - DB server A &lt;/li&gt;&#xA;&lt;li&gt;Zone B - same topology, DB server B &lt;/li&gt;&#xA;&lt;li&gt;Zone C - same topology, DB server C&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;CDs are in DMZ as well &#xA;CM machine is stored in the internal network.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is to which of the xConnect zones will the CM have to connect ?&lt;/p&gt;&#xA;" OwnerUserId="4907" LastEditorUserId="4907" LastEditDate="2019-05-21T14:05:33.863" LastActivityDate="2019-05-22T16:48:36.977" Title="xConnect scaled in 3 zones with dedicated database servers" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18817" PostTypeId="1" AcceptedAnswerId="18820" CreationDate="2019-05-21T14:12:37.120" Score="3" ViewCount="1026" Body="&lt;p&gt;Sitecore 9.1 installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a template called &lt;code&gt;Person&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This template has a number of &lt;code&gt;Sections&lt;/code&gt; defined in the Template itself, and some that are inherited from &lt;code&gt;Base Templates&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One said &lt;code&gt;Base Template&lt;/code&gt; is called &lt;strong&gt;DivisionPicker&lt;/strong&gt;. I want it to appear immediately after &lt;code&gt;Quick Info&lt;/code&gt;, so I edited the &lt;code&gt;Section&lt;/code&gt; &lt;em&gt;Division&lt;/em&gt; inside &lt;strong&gt;DivisionPicker&lt;/strong&gt; like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vQndT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vQndT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And saved everything. This did not alter the sort order of the &lt;em&gt;Division&lt;/em&gt; Section inside existing instances of the &lt;code&gt;Person&lt;/code&gt; template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I alter the order of &lt;code&gt;Sections&lt;/code&gt; belonging to &lt;code&gt;Base Templates&lt;/code&gt; inside instances of a given &lt;code&gt;Template&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-05-21T14:39:12.140" Title="Sorting Template Sections from inherited Base Templates" Tags="|templates|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18818" PostTypeId="2" ParentId="18816" CreationDate="2019-05-21T14:13:59.637" Score="3" Body="&lt;h2&gt;There can be only one&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If I misunderstood the above statement and you actually have 3 completely separate xDB collection databases, then you might be having a harder time as that is not a supported scaling model for the xDB database in 9.0 and 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the horizontal scaling documentation: &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-horizontally.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-horizontally.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;It's all the same to xDB&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;However, if you are running a supported model with a single xDB collection database, you should be fine. Ultimately, regardless of the number of zones, there is only one xDB behind xConnect so whichever xConnect you connect to will get the same data because you are connecting to the same underlying data store.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Searching against the index&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From an indexing perspective, any calls that trigger searches against the xDB Search Index could be impacted depending on how you have decided to scale your indexing. However, in a typical setup, all your indexing endpoints have the same indexes in them so effectively your lookups should behave the same regardless of the xConnect endpoint.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember that there is only one xConnect Search Indexer. From the &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-horizontally.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;docs&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Although it is possible to scale out the xConnect Search service,&#xA;  there can only be one instance of the xConnect Search Indexer. In&#xA;  Microsoft Azure, the indexer web job is automatically configured to&#xA;  run on one instance with the ability to fail over to another instance.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Keep impact low&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I would recommend having CM connect to whichever zone is going to have the least impact to your content delivery endpoints. While the likelihood of your xConnect requests from CM causing a performance hit is low, if you have a choice, that would be how to go.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2019-05-22T16:48:36.977" LastActivityDate="2019-05-22T16:48:36.977" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18819" PostTypeId="2" ParentId="18813" CreationDate="2019-05-21T14:20:03.170" Score="2" Body="&lt;p&gt;There is an example in the documentation on how to invoke in your solution: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-cortex-content-tagging-framework-in-your-custom-solution.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-cortex-content-tagging-framework-in-your-custom-solution.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Get the ContentTaggingRunner and MessageBusFactory  services as&#xA;  follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var ContentTaggingRunner = ServiceLocator.ServiceProvider.GetService&amp;lt;IContentTaggingRunner&amp;gt;();&#xA;var MessageBusFactory = ServiceLocator.ServiceProvider.GetService&amp;lt;IMessageBusFactory&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;Create a message bus. The UI can communicate with the process through&#xA;  the message bus. You must also implement a custom message handler.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var messageBus = MessageBusFactory.Create();&#xA;var messageHandler = new CustomMessageHandler();&#xA;messageBus.Subscribe(messageHandler);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;  &#xA;  &lt;p&gt;Pass the content item and message bus instance to the runner.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;code&gt;ContentTaggingRunner.Run(item, messageBus);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2019-05-21T14:58:26.663" LastActivityDate="2019-05-21T14:58:26.663" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18820" PostTypeId="2" ParentId="18817" CreationDate="2019-05-21T14:39:12.140" Score="6" Body="&lt;p&gt;I often find that field section sort order does not work across inherited templates if the sort orders are not greater than 100.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try updating the sort orders of the field sections on your Person template to be &gt; 100 and see if they merge better.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-05-21T14:39:12.140" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18821" PostTypeId="1" AcceptedAnswerId="18823" CreationDate="2019-05-21T14:41:53.563" Score="3" ViewCount="3442" Body="&lt;p&gt;I'm trying to retrieve just the url attribute of a link field for an item in a view.  The view is just using the item as it's model so just retrieving the link field value, which is producing the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;link linktype=&quot;external&quot; url=&quot;https://en.wikipedia.org/wiki/Anthocyanin&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there any way other than writing a bunch of parsing code to extract the &quot;&lt;a href=&quot;https://en.wikipedia.org/wiki/Anthocyanin&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://en.wikipedia.org/wiki/Anthocyanin&lt;/a&gt;&quot; from that?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-05-21T15:07:22.677" Title="retrieving the url from a link field in a view" Tags="|mvc|links|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18823" PostTypeId="2" ParentId="18821" CreationDate="2019-05-21T15:07:22.677" Score="3" Body="&lt;p&gt;There is a helper method on &lt;code&gt;LinkField&lt;/code&gt; class called &lt;code&gt;GetFriendlyUrl()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just cast your field to &lt;code&gt;LinkField&lt;/code&gt; and execute the method like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;((LinkField)item.Fields[&quot;Link Field Name&quot;]).GetFriendlyUrl()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-21T15:07:22.677" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18824" PostTypeId="1" CreationDate="2019-05-21T15:57:15.727" Score="1" ViewCount="466" Body="&lt;p&gt;I am using Sitecore form to subscribe to news. In the &lt;code&gt;On submit&lt;/code&gt; of the form, I am triggering the goal. Once the goal is triggered, I have a marketing automation campaign which add the contact to the List Managers &lt;code&gt;SubscribeNews&lt;/code&gt; contact list. I am seeing the contact being added in fields as &lt;code&gt;{{lastname}}&lt;/code&gt;. &lt;code&gt;Firstname&lt;/code&gt; and &lt;code&gt;Email&lt;/code&gt; contacts are missing in SubscribeNews list as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also added contact manually and it worked fine. Manually added contact have correct info in each field. I am only seeing issue with contact coming through marketing automation campaign. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 9.1.1. anyone having similar issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also Once I have the contact in list manager, should the experience profile update from anonymous to real name/email?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&lt;/p&gt;&#xA;" OwnerUserId="2693" LastEditorUserId="70" LastEditDate="2019-05-21T16:24:25.470" LastActivityDate="2024-03-15T20:01:40.253" Title="Sitecore form and list manager contact not saving properly" Tags="|sitecore-forms|list-manager|marketing-automation|goals|segmented-list|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18825" PostTypeId="1" AcceptedAnswerId="18834" CreationDate="2019-05-21T19:37:11.720" Score="1" ViewCount="879" Body="&lt;p&gt;This is very similar to the question asked &lt;a href=&quot;https://sitecore.stackexchange.com/questions/15361/sitecore-upgrade-from-8-1-update-3-to-9-1&quot;&gt;here&lt;/a&gt;, but I am unclear on the resolution. Wanted to see if anyone who has gone this route.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to perform an upgrade from Sitecore 8.1 to Sitecore 9.1 Update 1. I followed the steps in sitecore Upgrade guide. but when i hit the update installation wizard, i am getting close to 3k warnings. So instead of performing the upgrade, i wanted to do the actual new install. But if I do the new install, I would not be having any if the old content items.  So my question is &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Can i just upgrade the DB(which is currently on SQL 2014) by executing the two SQL scripts (on core, web and master) -- &gt; backup and restore on new sql 2016 DB and then point the newly installed 9.1 to this 2016 DB by just changing the connection strings? &lt;/li&gt;&#xA;&lt;li&gt;Another option i thought about is to install a new SC 9.1 version and also the DB.  then create a SC package chunks from the old 8.1 version  to move the content, templates, layout, media to the new 9.1 instance. This is tedious but want to know if this works - as a fall back. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;We don't have any xDB - so no worries on that.  Any help on this would be appreciated. thanks&lt;/p&gt;&#xA;" OwnerUserId="2396" LastEditorUserId="1671" LastEditDate="2019-05-21T20:04:35.513" LastActivityDate="2020-03-17T09:47:58.430" Title="Upgrade from Sitecore 8.1 to 9.1 update 1 - DB only" Tags="|upgrade|installation|update-packages|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18826" PostTypeId="2" ParentId="18825" CreationDate="2019-05-21T20:05:46.553" Score="0" Body="&lt;p&gt;Option #1 will not work because Sitecore needs to install new items in you master/core databases. This is what the update package is for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option #2 will work as long as you are just transferring items and templates. Any goals, rules, etc may have upgrade issues.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="1000" LastEditDate="2019-05-27T00:55:30.037" LastActivityDate="2019-05-27T00:55:30.037" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18827" PostTypeId="2" ParentId="18825" CreationDate="2019-05-21T20:12:58.467" Score="0" Body="&lt;p&gt;If you just want to migrate the databases you can use &lt;a href=&quot;https://dev.sitecore.net/Downloads/Express_Migration_Tool/31/Express_Migration_Tool_31.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Express Migration Tool 3.1&lt;/a&gt;, which can help you to migrate the data from version 8.1 to 9.0 Initial Release. While running the tool just select the option below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TjqIl.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TjqIl.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the express migration tool does not support any version above 9.0 Initial release as a targeted version. Hence after express migration you need to run the SQL scripts mentioned in the upgrade guide from 9.0 to 9.1 Update 1. &lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2019-05-21T20:41:10.900" LastActivityDate="2019-05-21T20:41:10.900" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18828" PostTypeId="1" AcceptedAnswerId="18859" CreationDate="2019-05-21T21:18:15.023" Score="1" ViewCount="240" Body="&lt;p&gt;Let's assume that I have version 1, 2 and 3 of the same Sitecore item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For test purpose only I need to publish version 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-22T14:35:36.053" Title="How to publish a specific version (not the latest) of an item?" Tags="|publishing|versions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18829" PostTypeId="2" ParentId="18828" CreationDate="2019-05-21T21:18:15.023" Score="2" Body="&lt;p&gt;It is possible by playing with one of those two things:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can &lt;strong&gt;set the &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/set-up-publishing-restrictions-for-an-item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Publishable&lt;/a&gt;&lt;/strong&gt; option of version 3 to &lt;strong&gt;false&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;If you have workflow configured in this item, you or the author can set the version 3 &lt;strong&gt;back to the &lt;em&gt;draft&lt;/em&gt; state&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-05-21T21:18:15.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18830" PostTypeId="2" ParentId="18582" CreationDate="2019-05-21T21:25:50.513" Score="0" Body="&lt;p&gt;As Tyler said first of all we definitely need to install two dedicated instances for xConnect Collection and xConnect Collection Search. Make sure both are up and running using valid certificates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then modify &lt;code&gt;\App_Config\Sitecore\XConnect.Client.Configuration\Sitecore.XConnect.Client.config&lt;/code&gt;on Content Management, Content Delivery (Also Processing and Reporting if those are scaled). In this config both &lt;code&gt;collectionConnectionStringName&lt;/code&gt; and &lt;code&gt;searchConnectionStringName&lt;/code&gt; have the same value OOTB as &lt;code&gt;xconnect.collection&lt;/code&gt;. Update a different value for &lt;code&gt;searchConnectionStringName&lt;/code&gt; (we used &lt;code&gt;xconnect.search&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T7xtI.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T7xtI.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now in &lt;code&gt;\App_Config\ConnectionStrings.config&lt;/code&gt; on Content Management, Content Delivery (Also Processing and Reporting if those are scaled), we need to add a new connection string for &lt;code&gt;xconnect.search&lt;/code&gt;. This should point to your xConnect Collection Search instance and obviously like others you need to provide the valid certificate thumbprint which should match with the thumbprint mentioned in &lt;code&gt;\App_Config\AppSettings.config&lt;/code&gt; on xConnect Collection Search instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So we were confused about the configuration changes to add the new setting for xConnect Collection Search Thumbprint in &lt;code&gt;connectionstring.config&lt;/code&gt;. Hence it must be the value we used for &lt;code&gt;searchConnectionStringName&lt;/code&gt; concatenated with &quot;&lt;em&gt;.certificate&lt;/em&gt;&quot;. In our case it is &lt;code&gt;xconnect.search.certificate&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2019-05-21T21:25:50.513" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18832" PostTypeId="1" AcceptedAnswerId="19372" CreationDate="2019-05-22T00:18:45.037" Score="11" ViewCount="2766" Body="&lt;blockquote&gt;&#xA;&lt;p&gt;TLDR - we put anderslaub's answer fix into a production site and it worked like a charm.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SC 9.1&lt;/li&gt;&#xA;&lt;li&gt;SwitchOnRebuildSolrSearchIndex is enabled&lt;/li&gt;&#xA;&lt;li&gt;SOLR 7.2.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I have 120k items in Sitecore, so I have a good bit of data to sample. When I rebuild my web index, the total number is consistent. But when I do a query like this to get my events, it will says 5382.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;https://solr:8983/solr/sitecore_web_index/select?q=_template:288a9dfa5ebe41f0b21bf20bd97a5d2c&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;I can rebuild the index and now it says 4924. If I look at the secondary index and it says 5382 just like it used to before the index was switched out for the new one.&lt;/p&gt;&#xA;&lt;p&gt;I can rebuild the index 40 times and get 30 different results. When I look in the logs I have 4 item errors relating to hexidecimal data. I can do this across all my templates and get inconsistent data each time.&lt;/p&gt;&#xA;&lt;p&gt;Hard to feel good when you can't trust your data.&lt;/p&gt;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&lt;p&gt;This doesn't happen on the master index. All queries on master are consistent. Even with the log errors.&lt;/p&gt;&#xA;&lt;p&gt;Here is the crawl log&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;7504 19:17:39 WARN  IndexCustodian. FullRebuild triggered on index sitecore_web_index.&#xA;8068 19:17:41 INFO  [Index=sitecore_web_index] Crawler: Processed 1000 items&#xA;9760 19:17:43 INFO  [Index=sitecore_web_index] Crawler: Processed 2000 items&#xA; 888 19:17:45 INFO  [Index=sitecore_web_index] Crawler: Processed 3000 items&#xA; 888 19:17:46 INFO  [Index=sitecore_web_index] Crawler: Processed 4000 items&#xA;4592 19:17:48 INFO  [Index=sitecore_web_index] Crawler: Processed 5000 items&#xA; 888 19:17:50 INFO  [Index=sitecore_web_index] Crawler: Processed 6000 items&#xA; 888 19:17:52 INFO  [Index=sitecore_web_index] Crawler: Processed 7000 items&#xA;4592 19:17:53 INFO  [Index=sitecore_web_index] Crawler: Processed 8000 items&#xA;8068 19:17:55 INFO  [Index=sitecore_web_index] Crawler: Processed 9000 items&#xA;9360 19:17:57 INFO  [Index=sitecore_web_index] Crawler: Processed 10000 items&#xA;4592 19:17:57 WARN  [Index=sitecore_web_index] Crawler : AddRecursive DoItemAdd failed - {D88BA5D2-C867-41DD-A9C3-75463F0D82CD}&#xA;Exception: System.ArgumentException&#xA;Message: '', hexadecimal value 0x01, is an invalid character.&#xA;Source: System.Xml&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)&#xA;   at System.Xml.XmlWellFormedWriter.WriteString(String text)&#xA;   at System.Xml.Linq.ElementWriter.WriteElement(XElement e)&#xA;   at System.Xml.Linq.XElement.WriteTo(XmlWriter writer)&#xA;   at System.Xml.Linq.XNode.GetXmlString(SaveOptions o)&#xA;   at SolrNet.Commands.AddCommand`1.ConvertToXml()&#xA;   at SolrNet.Commands.AddCommand`1.Execute(ISolrConnection connection)&#xA;   at SolrNet.Impl.LowLevelSolrServer.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&#xA;&#xA;8068 19:17:58 WARN  [Index=sitecore_web_index] Crawler : AddRecursive DoItemAdd failed - {1867C2A4-9A05-44B7-8EE2-0E8F1F3FA1F8}&#xA;Exception: System.ArgumentException&#xA;Message: '', hexadecimal value 0x01, is an invalid character.&#xA;Source: System.Xml&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)&#xA;   at System.Xml.XmlWellFormedWriter.WriteString(String text)&#xA;   at System.Xml.Linq.ElementWriter.WriteElement(XElement e)&#xA;   at System.Xml.Linq.XElement.WriteTo(XmlWriter writer)&#xA;   at System.Xml.Linq.XNode.GetXmlString(SaveOptions o)&#xA;   at SolrNet.Commands.AddCommand`1.ConvertToXml()&#xA;   at SolrNet.Commands.AddCommand`1.Execute(ISolrConnection connection)&#xA;   at SolrNet.Impl.LowLevelSolrServer.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&#xA;&#xA; 888 19:17:58 INFO  [Index=sitecore_web_index] Crawler: Processed 11000 items&#xA;9360 19:18:00 WARN  [Index=sitecore_web_index] Crawler : AddRecursive DoItemAdd failed - {5C299C97-BD08-4361-ACDB-538D0AD7491D}&#xA;Exception: System.ArgumentException&#xA;Message: '.', hexadecimal value 0x00, is an invalid character.&#xA;Source: System.Xml&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)&#xA;   at System.Xml.XmlWellFormedWriter.WriteString(String text)&#xA;   at System.Xml.Linq.ElementWriter.WriteElement(XElement e)&#xA;   at System.Xml.Linq.XElement.WriteTo(XmlWriter writer)&#xA;   at System.Xml.Linq.XNode.GetXmlString(SaveOptions o)&#xA;   at SolrNet.Commands.AddCommand`1.ConvertToXml()&#xA;   at SolrNet.Commands.AddCommand`1.Execute(ISolrConnection connection)&#xA;   at SolrNet.Impl.LowLevelSolrServer.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&#xA;&#xA; 888 19:18:10 INFO  [Index=sitecore_web_index] Crawler: Processed 12000 items&#xA;8068 19:18:22 WARN  [Index=sitecore_web_index] Crawler : AddRecursive DoItemAdd failed - {527BFD42-D34E-436C-9683-C00A6ED1E355}&#xA;Exception: System.ArgumentException&#xA;Message: '.', hexadecimal value 0x00, is an invalid character.&#xA;Source: System.Xml&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)&#xA;   at System.Xml.XmlWellFormedWriter.WriteString(String text)&#xA;   at System.Xml.Linq.ElementWriter.WriteElement(XElement e)&#xA;   at System.Xml.Linq.XElement.WriteTo(XmlWriter writer)&#xA;   at System.Xml.Linq.XNode.GetXmlString(SaveOptions o)&#xA;   at SolrNet.Commands.AddCommand`1.ConvertToXml()&#xA;   at SolrNet.Commands.AddCommand`1.Execute(ISolrConnection connection)&#xA;   at SolrNet.Impl.LowLevelSolrServer.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&#xA;&#xA;9360 19:18:23 INFO  [Index=sitecore_web_index] Crawler: Processed 13000 items&#xA;9360 19:18:25 INFO  [Index=sitecore_web_index] Crawler: Processed 14000 items&#xA;8068 19:18:27 INFO  [Index=sitecore_web_index] Crawler: Processed 15000 items&#xA;4592 19:18:29 INFO  [Index=sitecore_web_index] Crawler: Processed 16000 items&#xA;9360 19:18:30 INFO  [Index=sitecore_web_index] Crawler: Processed 17000 items&#xA;9760 19:18:32 INFO  [Index=sitecore_web_index] Crawler: Processed 18000 items&#xA;8068 19:18:34 INFO  [Index=sitecore_web_index] Crawler: Processed 19000 items&#xA;9760 19:18:35 INFO  [Index=sitecore_web_index] Crawler: Processed 20000 items&#xA;9360 19:18:37 INFO  [Index=sitecore_web_index] Crawler: Processed 21000 items&#xA;9360 19:18:39 INFO  [Index=sitecore_web_index] Crawler: Processed 22000 items&#xA;4592 19:18:41 INFO  [Index=sitecore_web_index] Crawler: Processed 23000 items&#xA;9760 19:18:42 INFO  [Index=sitecore_web_index] Crawler: Processed 24000 items&#xA;4592 19:18:52 INFO  [Index=sitecore_web_index] Crawler: Processed 25000 items&#xA; 888 19:18:54 INFO  [Index=sitecore_web_index] Crawler: Processed 26000 items&#xA; 888 19:18:57 INFO  [Index=sitecore_web_index] Crawler: Processed 27000 items&#xA;9760 19:18:59 INFO  [Index=sitecore_web_index] Crawler: Processed 28000 items&#xA;9760 19:19:01 INFO  [Index=sitecore_web_index] Crawler: Processed 29000 items&#xA;9760 19:19:03 INFO  [Index=sitecore_web_index] Crawler: Processed 30000 items&#xA;8068 19:19:05 INFO  [Index=sitecore_web_index] Crawler: Processed 31000 items&#xA;9360 19:19:07 INFO  [Index=sitecore_web_index] Crawler: Processed 32000 items&#xA;8068 19:19:09 INFO  [Index=sitecore_web_index] Crawler: Processed 33000 items&#xA; 888 19:19:12 INFO  [Index=sitecore_web_index] Crawler: Processed 34000 items&#xA;4592 19:19:14 INFO  [Index=sitecore_web_index] Crawler: Processed 35000 items&#xA;4592 19:19:16 INFO  [Index=sitecore_web_index] Crawler: Processed 36000 items&#xA;9760 19:19:19 INFO  [Index=sitecore_web_index] Crawler: Processed 37000 items&#xA;9360 19:19:21 INFO  [Index=sitecore_web_index] Crawler: Processed 38000 items&#xA; 888 19:19:23 INFO  [Index=sitecore_web_index] Crawler: Processed 39000 items&#xA;4592 19:19:25 INFO  [Index=sitecore_web_index] Crawler: Processed 40000 items&#xA; 888 19:19:27 INFO  [Index=sitecore_web_index] Crawler: Processed 41000 items&#xA;4592 19:19:29 INFO  [Index=sitecore_web_index] Crawler: Processed 42000 items&#xA; 888 19:19:32 INFO  [Index=sitecore_web_index] Crawler: Processed 43000 items&#xA; 888 19:19:34 INFO  [Index=sitecore_web_index] Crawler: Processed 44000 items&#xA;4592 19:19:36 INFO  [Index=sitecore_web_index] Crawler: Processed 45000 items&#xA;9360 19:19:38 INFO  [Index=sitecore_web_index] Crawler: Processed 46000 items&#xA;9760 19:19:40 INFO  [Index=sitecore_web_index] Crawler: Processed 47000 items&#xA; 888 19:19:42 INFO  [Index=sitecore_web_index] Crawler: Processed 48000 items&#xA;9760 19:19:44 INFO  [Index=sitecore_web_index] Crawler: Processed 49000 items&#xA; 888 19:19:47 INFO  [Index=sitecore_web_index] Crawler: Processed 50000 items&#xA;8068 19:19:49 INFO  [Index=sitecore_web_index] Crawler: Processed 51000 items&#xA; 888 19:19:51 INFO  [Index=sitecore_web_index] Crawler: Processed 52000 items&#xA; 888 19:19:52 INFO  [Index=sitecore_web_index] Crawler: Processed 53000 items&#xA;8068 19:19:54 INFO  [Index=sitecore_web_index] Crawler: Processed 54000 items&#xA;8068 19:19:56 INFO  [Index=sitecore_web_index] Crawler: Processed 55000 items&#xA;8068 19:19:57 INFO  [Index=sitecore_web_index] Crawler: Processed 56000 items&#xA;4592 19:19:59 INFO  [Index=sitecore_web_index] Crawler: Processed 57000 items&#xA; 888 19:20:00 INFO  [Index=sitecore_web_index] Crawler: Processed 58000 items&#xA; 888 19:20:02 INFO  [Index=sitecore_web_index] Crawler: Processed 59000 items&#xA;4592 19:20:05 INFO  [Index=sitecore_web_index] Crawler: Processed 60000 items&#xA;9760 19:20:07 INFO  [Index=sitecore_web_index] Crawler: Processed 61000 items&#xA;4592 19:20:08 INFO  [Index=sitecore_web_index] Crawler: Processed 62000 items&#xA;8068 19:20:10 INFO  [Index=sitecore_web_index] Crawler: Processed 63000 items&#xA;4592 19:20:12 INFO  [Index=sitecore_web_index] Crawler: Processed 64000 items&#xA;8068 19:20:14 INFO  [Index=sitecore_web_index] Crawler: Processed 65000 items&#xA;8068 19:20:16 INFO  [Index=sitecore_web_index] Crawler: Processed 66000 items&#xA;8068 19:20:18 INFO  [Index=sitecore_web_index] Crawler: Processed 67000 items&#xA;4592 19:20:20 INFO  [Index=sitecore_web_index] Crawler: Processed 68000 items&#xA;8068 19:20:22 INFO  [Index=sitecore_web_index] Crawler: Processed 69000 items&#xA;9760 19:20:24 INFO  [Index=sitecore_web_index] Crawler: Processed 70000 items&#xA; 888 19:20:26 INFO  [Index=sitecore_web_index] Crawler: Processed 71000 items&#xA; 888 19:20:28 INFO  [Index=sitecore_web_index] Crawler: Processed 72000 items&#xA;8068 19:20:31 INFO  [Index=sitecore_web_index] Crawler: Processed 73000 items&#xA;4592 19:20:33 INFO  [Index=sitecore_web_index] Crawler: Processed 74000 items&#xA; 888 19:20:35 INFO  [Index=sitecore_web_index] Crawler: Processed 75000 items&#xA;9760 19:20:37 INFO  [Index=sitecore_web_index] Crawler: Processed 76000 items&#xA;9760 19:20:39 INFO  [Index=sitecore_web_index] Crawler: Processed 77000 items&#xA;4592 19:20:42 INFO  [Index=sitecore_web_index] Crawler: Processed 78000 items&#xA;4592 19:20:43 INFO  [Index=sitecore_web_index] Crawler: Processed 79000 items&#xA;8068 19:20:45 INFO  [Index=sitecore_web_index] Crawler: Processed 80000 items&#xA;9760 19:20:47 INFO  [Index=sitecore_web_index] Crawler: Processed 81000 items&#xA;9360 19:20:49 INFO  [Index=sitecore_web_index] Crawler: Processed 82000 items&#xA;9360 19:20:51 INFO  [Index=sitecore_web_index] Crawler: Processed 83000 items&#xA;9760 19:20:53 INFO  [Index=sitecore_web_index] Crawler: Processed 84000 items&#xA;4592 19:20:55 INFO  [Index=sitecore_web_index] Crawler: Processed 85000 items&#xA;8068 19:20:57 INFO  [Index=sitecore_web_index] Crawler: Processed 86000 items&#xA; 888 19:20:59 INFO  [Index=sitecore_web_index] Crawler: Processed 87000 items&#xA;9360 19:21:02 INFO  [Index=sitecore_web_index] Crawler: Processed 88000 items&#xA;4592 19:21:06 INFO  [Index=sitecore_web_index] Crawler: Processed 89000 items&#xA;8068 19:21:11 INFO  [Index=sitecore_web_index] Crawler: Processed 90000 items&#xA; 888 19:21:14 INFO  [Index=sitecore_web_index] Crawler: Processed 91000 items&#xA;8068 19:21:18 INFO  [Index=sitecore_web_index] Crawler: Processed 92000 items&#xA;4592 19:21:22 INFO  [Index=sitecore_web_index] Crawler: Processed 93000 items&#xA;9760 19:21:26 INFO  [Index=sitecore_web_index] Crawler: Processed 94000 items&#xA;8068 19:21:28 INFO  [Index=sitecore_web_index] Crawler: Processed 95000 items&#xA; 888 19:21:30 INFO  [Index=sitecore_web_index] Crawler: Processed 96000 items&#xA; 888 19:21:32 INFO  [Index=sitecore_web_index] Crawler: Processed 97000 items&#xA;8068 19:21:34 INFO  [Index=sitecore_web_index] Crawler: Processed 98000 items&#xA;8068 19:21:36 INFO  [Index=sitecore_web_index] Crawler: Processed 99000 items&#xA;4592 19:21:38 INFO  [Index=sitecore_web_index] Crawler: Processed 100000 items&#xA;8068 19:21:40 INFO  [Index=sitecore_web_index] Crawler: Processed 101000 items&#xA; 888 19:21:42 INFO  [Index=sitecore_web_index] Crawler: Processed 102000 items&#xA;8068 19:21:44 INFO  [Index=sitecore_web_index] Crawler: Processed 103000 items&#xA;8068 19:21:46 INFO  [Index=sitecore_web_index] Crawler: Processed 104000 items&#xA;8068 19:21:49 INFO  [Index=sitecore_web_index] Crawler: Processed 105000 items&#xA; 888 19:21:51 INFO  [Index=sitecore_web_index] Crawler: Processed 106000 items&#xA;9760 19:21:54 INFO  [Index=sitecore_web_index] Crawler: Processed 107000 items&#xA;9360 19:21:56 WARN  [Index=sitecore_web_index] Crawler : AddRecursive DoItemAdd failed - {67418AA9-57AC-42E8-A6D1-3D75C01DA680}&#xA;Exception: System.ArgumentException&#xA;Message: '', hexadecimal value 0x12, is an invalid character.&#xA;Source: System.Xml&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)&#xA;   at System.Xml.XmlWellFormedWriter.WriteString(String text)&#xA;   at System.Xml.Linq.ElementWriter.WriteElement(XElement e)&#xA;   at System.Xml.Linq.XElement.WriteTo(XmlWriter writer)&#xA;   at System.Xml.Linq.XNode.GetXmlString(SaveOptions o)&#xA;   at SolrNet.Commands.AddCommand`1.ConvertToXml()&#xA;   at SolrNet.Commands.AddCommand`1.Execute(ISolrConnection connection)&#xA;   at SolrNet.Impl.LowLevelSolrServer.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&#xA;&#xA;9760 19:21:57 INFO  [Index=sitecore_web_index] Crawler: Processed 108000 items&#xA;4592 19:21:59 INFO  [Index=sitecore_web_index] Crawler: Processed 109000 items&#xA; 888 19:22:02 INFO  [Index=sitecore_web_index] Crawler: Processed 110000 items&#xA;9360 19:22:04 INFO  [Index=sitecore_web_index] Crawler: Processed 111000 items&#xA; 888 19:22:06 INFO  [Index=sitecore_web_index] Crawler: Processed 112000 items&#xA;8068 19:22:10 INFO  [Index=sitecore_web_index] Crawler: Processed 113000 items&#xA;9760 19:22:13 INFO  [Index=sitecore_web_index] Crawler: Processed 114000 items&#xA;8068 19:22:16 INFO  [Index=sitecore_web_index] Crawler: Processed 115000 items&#xA;9360 19:22:18 INFO  [Index=sitecore_web_index] Crawler: Processed 116000 items&#xA;9360 19:22:20 INFO  [Index=sitecore_web_index] Crawler: Processed 117000 items&#xA; 888 19:22:22 INFO  [Index=sitecore_web_index] Crawler: Processed 118000 items&#xA;9760 19:22:24 INFO  [Index=sitecore_web_index] Crawler: Processed 119000 items&#xA;9760 19:22:26 INFO  [Index=sitecore_web_index] Crawler: Processed 120000 items&#xA;4592 19:22:29 INFO  [Index=sitecore_web_index] Crawler: Processed 121000 items&#xA;8068 19:22:31 INFO  [Index=sitecore_web_index] Crawler: Processed 122000 items&#xA;8068 19:22:33 INFO  [Index=sitecore_web_index] Crawler: Processed 123000 items&#xA;9360 19:22:36 INFO  [Index=sitecore_web_index] Crawler: Processed 124000 items&#xA;9360 19:22:38 INFO  [Index=sitecore_web_index] Crawler: Processed 125000 items&#xA;9360 19:22:40 INFO  [Index=sitecore_web_index] Crawler: Processed 126000 items&#xA;4592 19:22:43 INFO  [Index=sitecore_web_index] Crawler: Processed 127000 items&#xA;ManagedPoolThread #7 19:22:44 INFO  [Index=sitecore_web_index] Crawler: Total processed items 127587&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;Update 2&lt;/h3&gt;&#xA;&lt;p&gt;The first thing Support wants me to do is look for bad characters in my content to cut down on the errors. They have given me this SQL to identify the fields and items where bad content is located.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;SELECT * FROM (&#xA;    SELECT ItemId, FieldId, Value FROM [client_master].[dbo].[SharedFields] &#xA;    UNION&#xA;    SELECT ItemId, FieldId, Value FROM [client_master].[dbo].[UnversionedFields]&#xA;    UNION&#xA;    SELECT ItemId, FieldId, Value FROM [client_master].[dbo].[VersionedFields]&#xA;  ) A&#xA;WHERE Value Like '%' + CHAR(0x01) + '%'&#xA;OR Value Like '%' + CHAR(0x08) + '%'&#xA;OR Value Like '%' + CHAR(0x10) + '%'&#xA;OR Value Like '%' + CHAR(0x12) + '%'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Second thing is to disable searching of PDFs and docs. They want me to remove these two sections and reindex.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaIndexing hint=&amp;quot;skip&amp;quot;&amp;gt;&#xA;            &amp;lt;mimeTypes&amp;gt;&#xA;               &amp;lt;includes&amp;gt;&#xA;                  &amp;lt;mimeType&amp;gt;application/pdf&amp;lt;/mimeType&amp;gt; &amp;lt;--- remove this&#xA;            &amp;lt;extensions&amp;gt;&#xA;               ...&#xA;               &amp;lt;includes&amp;gt;&#xA;                 ...&#xA;                 &amp;lt;extension&amp;gt;doc&amp;lt;/extension&amp;gt; &amp;lt;--- remove this&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2020-09-22T17:39:24.143" LastActivityDate="2021-04-27T04:47:23.787" Title="Wildly inconsistent index data after rebuilds" Tags="|solr|" AnswerCount="2" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="18833" PostTypeId="1" AcceptedAnswerId="19961" CreationDate="2019-05-22T01:09:30.057" Score="1" ViewCount="51" Body="&lt;p&gt;We are integrating &lt;code&gt;CRM&lt;/code&gt; and Sitecore 9.0.2 using &lt;strong&gt;Dynamics Connector 2.0.1&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As per the default matching logic, The contact id's are matched from two systems to identify a contact. And based on Sitecore contact logic email id is our identifier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a scenario where in a University, we have two contacts who are using same Email ID, i.e. Student and his Parents share an email ID where as they are identifies as different users in a &lt;code&gt;CRM&lt;/code&gt; system using &quot;First name, Last Name and Email&quot; combination set. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the issue is if say a parent fill sin some details in Sitecore system using his child's email during the sync it can be a case the details of Child gets overridden instead of the Parent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we handle this situation ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Sam&lt;/p&gt;&#xA;" OwnerUserId="3900" LastEditorUserId="5096" LastEditDate="2019-05-22T07:16:02.347" LastActivityDate="2019-07-18T17:15:55.983" Title="Sitecore CRM Integartion using Data Exchange Connector- Contact Match Logic" Tags="|xconnect|data-exchange-framework|crm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18834" PostTypeId="2" ParentId="18825" CreationDate="2019-05-22T01:42:41.963" Score="4" Body="&lt;p&gt;I have migrated sitecore 8 to 9 by using the Option#2 and it worked well for me.&lt;/p&gt;&#xA;&lt;p&gt;Templates, Items, Layout , System, etc you will be able to migrate easily by using the sitecore package. But if you have a huge media library then you can not use sitecore package to transfer this, So, to migrate the media library you need to serialize the whole media library and then copy whole serialize folder to the sitecore 9 server and then revert the tree for media library.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;After migrating this way if you found that you can not render your content then please look into this article, this can be one reason explained in this article.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/5/t/10424&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/5/t/10424&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;IF sitecore 8 has some contents which have duplicated names specially for golas and rules so i will suggest to migrate those by using serialization(same way i explained for medial library)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;If need more details let me know.&lt;/p&gt;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4105" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-22T01:49:38.163" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18836" PostTypeId="1" AcceptedAnswerId="18839" CreationDate="2019-05-22T05:11:55.840" Score="2" ViewCount="222" Body="&lt;p&gt;when we install Sitecore 9.1, identity server is installed and when we install Sitecore Commerce, another Identity server is installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to have single identity server for both authentication?&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-05-22T06:05:37.507" Title="Is it possible to have Single Identity server for commerce and CMS?" Tags="|sitecore-commerce|identity-server|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18838" PostTypeId="2" ParentId="18836" CreationDate="2019-05-22T05:26:16.440" Score="0" Body="&lt;p&gt;If you have Sitecore 9.1 you have just one Identity Server. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Probably you have 2 Identity Server because you didn't update the commerce scripts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to update Commerce scripts to use Identity Server which was installed when you installed XP. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zBn79.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zBn79.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-05-22T05:26:16.440" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18839" PostTypeId="2" ParentId="18836" CreationDate="2019-05-22T06:05:37.507" Score="2" Body="&lt;p&gt;As you are upgrading from Sitecore Commerce 9.0 follow &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.1/Sitecore_Experience_Commerce_Upgrade_Guide_for_9.1.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;the upgrade guide&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore Identity server is included as part of the Sitecore Experience Platform (XP) 9.1&#xA;deployment. The following instructions assume that you completed Sitecore Identity installation as&#xA;part of the Sitecore XP upgrade process.&#xA;You must make the following configuration changes to use the new Sitecore Identity server:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open IIS Manager, and stop the current SitecoreIdentityServer site.&lt;/li&gt;&#xA;&lt;li&gt;In each environment &lt;code&gt;config.json&lt;/code&gt; file, set the &lt;code&gt;SitecoreIdentityServerUrl&lt;/code&gt; to point to the&#xA;URL of the Sitecore Identity service in your Sitecore XP 9.1 deployment.&#xA;For example, navigate to the &lt;code&gt;C:\inetpub\wwwroot\&amp;lt;CommerceAuthoring_SC9&amp;gt;\wwwroot&#xA;\&lt;/code&gt; folder, open the &lt;code&gt;config.json&lt;/code&gt; file, expand the &lt;code&gt;AppSettings&lt;/code&gt; node, and specify the URL of&#xA;the Sitecore Identity server:&#xA;&quot;SitecoreIdentityServerUrl&quot;:&quot;&lt;a href=&quot;https://sxastorefront-identityserver&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sxastorefront-identityserver&lt;/a&gt;&quot;&#xA;NOTE&#xA;The above example uses the default Sitecore Identity server URL. In your&#xA;deployment, the Sitecore Identity server could have a different name and URL.&lt;/li&gt;&#xA;&lt;li&gt;Repeat step 2 for each environment, for example CommerceAuthoring, CommerceShops,&#xA;CommerceOps and CommerceMinions.&lt;/li&gt;&#xA;&lt;li&gt;Point the Sitecore XC Business Tools to the new Sitecore Identity server. Navigate to the&#xA;&lt;code&gt;C:\inetpub\wwwroot\SitecoreBizFx\assets&lt;/code&gt; folder, open the config.json file and&#xA;update the “IdentityServerUri” parameter with the URI of the Sitecore Identity server, for&#xA;example: &lt;code&gt;&quot;IdentityServerUri&quot;:&quot;https://sxastorefront-identityserver&quot;&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Extract the SIF.Sitecore.Commerce.*.zip package and navigate to the IdentityServer&#xA;folder.&lt;/li&gt;&#xA;&lt;li&gt;Copy the &lt;code&gt;Sitecore.Commerce.IdentityServer.Host.xml&lt;/code&gt; file into the production&#xA;configurDtion folder of the new Sitecore Identity server in Internet Information Service (IIS)&#xA;Manager, (for example: &lt;code&gt;C:\inetpub\wwwroot\SXAStorefront-IdentityServer\config\production&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Launch Internet Information Service (IIS) Manage and perform an IIS restart.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-05-22T06:05:37.507" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18840" PostTypeId="2" ParentId="17615" CreationDate="2019-05-22T07:18:32.477" Score="0" Body="&lt;p&gt;I was also struggling with the same certificates issue.&lt;/p&gt;&#xA;&lt;p&gt;It works for me when I relocate the xConnect Client and server certificate in the personal certificate folder and its root certificate in &lt;em&gt;Trusted Root Certificates&lt;/em&gt; folder and remove all unused certificates from folders.&lt;/p&gt;&#xA;&lt;p&gt;You just cross-check that the client certificate is in the personal certificate folder and make sure that its root certificate is listed in the &lt;em&gt;Trusted Root Certificates&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;To remove all non-self-signed certificates from the root store below PowerShell command will identify non-self-signed certificates:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Get-Childitem cert:\LocalMachine\root -Recurse | &#xA;    Where-Object {$_.Issuer -ne $_.Subject}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5561" LastEditorUserId="4817" LastEditDate="2021-06-10T12:21:29.697" LastActivityDate="2021-06-10T12:21:29.697" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18841" PostTypeId="1" CreationDate="2019-05-22T07:31:41.843" Score="0" ViewCount="57" Body="&lt;p&gt;We are using Sitecore 8.1 MVC application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our one team member come across issue while using  &lt;code&gt;WFFM&lt;/code&gt; rendering and &lt;code&gt;MVC&lt;/code&gt; rendering together in same page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When clicking on &lt;code&gt;WFFM&lt;/code&gt; action button it is hitting action but reloading &lt;code&gt;raw&lt;/code&gt; html page as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WW8yx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WW8yx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems we can't mix both &lt;code&gt;WFFM&lt;/code&gt; and &lt;code&gt;MVC&lt;/code&gt; renderings together in same page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-05-22T08:32:32.077" LastActivityDate="2019-05-22T08:32:32.077" Title="Can we use WFFM rendering and MVC rendering together in same page?" Tags="|wffm|mvc-forms|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18842" PostTypeId="1" CreationDate="2019-05-22T09:37:26.053" Score="1" ViewCount="647" Body="&lt;p&gt;I want to implement the tracking for anonymous contacts and known contacts to my site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I Implement ? Is Sitecore 9.1 tracks the known contacts also by default?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or I need to track via code ? If yes using code, Please provide some idea about implementation..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="4763" LastEditorUserId="4763" LastEditDate="2019-05-22T09:38:34.913" LastActivityDate="2019-05-22T10:04:12.923" Title="Track contacts in sitecore 9.1" Tags="|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18843" PostTypeId="2" ParentId="18842" CreationDate="2019-05-22T09:42:01.260" Score="3" Body="&lt;p&gt;In a nutshell, you must make sure that &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; setting is set to &lt;code&gt;true&lt;/code&gt; and that you have &lt;code&gt;VisitorIdentification&lt;/code&gt; in your layout.&lt;/p&gt;&#xA;&lt;p&gt;More details from Sitecore documentation site ( &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/enabling-tracking.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/enabling-tracking.html&lt;/a&gt; )&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;To enable tracking:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Ensure that Xdb.Tracking.Enabled is set to true - see the Experience Manager documentation for more information.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Ensure that layouts contain the VisitorIdentification tag or MVC helper.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you are using ASP.NET MVC, use the MVC helper:&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;code&gt;@using Sitecore.Mvc.Analytics.Extensions&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;@Html.Sitecore().VisitorIdentification()&lt;/code&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If you are using ASP.NET Web Forms use the following tag:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;!-- ASP.net&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sc:VisitorIdentification runat='server'/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;As @Trayek mentioned in his comment, Sitecore by default doesn't index anonymous contacts. It means that anonymous contacts data is stored but it's not displayed e.g. in Experience Profile application.&lt;/p&gt;&#xA;&lt;p&gt;In Sitecore 8.2 you can use the setting:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;ContentSearch.Analytics.IndexAnonymousContacts&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;If you use Sitecore 9 you should look at this article as well &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/enable-indexing-of-anonymous-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/enable-indexing-of-anonymous-contacts.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you want to identify a contact, use&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Analytics.Tracker.Current.Session.IdentifyAs(&amp;quot;sitecoreextranet&amp;quot;, &amp;quot;myrtlesitecore&amp;quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;More about contact identification in Sitecore docs: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/identifying-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/identifying-contacts.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-22T10:04:12.923" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18845" PostTypeId="2" ParentId="10514" CreationDate="2019-05-22T09:53:54.357" Score="4" Body="&lt;p&gt;I have the same issue for &lt;strong&gt;sitecore 9.1.0 azure paas&lt;/strong&gt;, because in azure search we have field limitation i set up &lt;strong&gt;indexAllFields&lt;/strong&gt; to &lt;strong&gt;false&lt;/strong&gt;, so need to add &quot;Is Template&quot; filed to index:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;   &amp;lt;fieldId&amp;gt;{558F9307-EBAF-480D-88B5-DFE9E63A66DE}&amp;lt;/fieldId&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QIYcx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QIYcx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Updated 6/20/2019&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also need to add ishidden field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldId&amp;gt;{39C4902E-9960-4469-AEEF-E878E9C8218F}&amp;lt;/fieldId&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4791" LastEditorUserId="4791" LastEditDate="2019-06-20T07:20:18.787" LastActivityDate="2019-06-20T07:20:18.787" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18846" PostTypeId="1" AcceptedAnswerId="18958" CreationDate="2019-05-22T10:05:11.660" Score="1" ViewCount="925" Body="&lt;p&gt;I'm copying a rendering from one item to another using Sitecore Powershell Extensions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All is working well, except that the personalization rules for the rendering aren't copied over.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can get/set the rules on a rendering definition item without any error, but both Add-Rendering and Set-Rendering seem to ignore any rules on the rendering definition.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example code that I've tried without success:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$sourceRendering = Get-Rendering -Item $Source -FinalLayout | Where-Object{$_.uniqueid -eq &quot;{a unique id}&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works to get the rules, and the output has content:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $sourceRenderingRules = $sourceRendering.Rules&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add the rendering to a different item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Add-Rendering -Item $TargetItem -Instance $sourceRendering -PlaceHolder $sourceRendering.placeholder -FinalLayout&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Retrieve the new rendering (it will have a new uinique ID, so get the right one in code not shown or use a different way of selecting it)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$CopiedRendering = Get-Rendering -Item $Target -FinalLayout | Where-Object{$_.uniqueid -eq &quot;{a unique id}&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;No error, but the Rules are empty&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$CopiedRenderingRules = $CopiedRendering.Rules&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Copy rules to the copied rendering, no error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$CopiedRendering.Rules = $sourceRenderingRules&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Copied rendering now has rules, output has content&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$CopiedRenderingRules = $CopiedRendering.Rules&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Update the rendering&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-Rendering -Item $TargetItem -Instance $CopiedRendering -PlaceHolder $CopiedRendering.placeholder -FinalLayout&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I then go back and get the rendering from the target, the rules are empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have I missed something? Or will I have to work with the XML in the final layout field directly?&lt;/p&gt;&#xA;" OwnerUserId="345" LastActivityDate="2020-01-09T15:45:04.247" Title="How can I copy personalization rules to a rendering in Sitecore Powershell?" Tags="|presentation|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18847" PostTypeId="2" ParentId="18807" CreationDate="2019-05-22T11:57:51.880" Score="0" Body="&lt;p&gt;Finally, I resolved my issue by correcting the Source file parameter in the TransformXML task, in my gulp file : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  var fileToTransform = exp.exec(file.path)[1];&#xA;        var fileSourcePath = file.path.replace(&quot;\\&quot; + fileToTransform + &quot;.transform&quot; + role, '');&#xA;&#xA;        gutil.log(&quot;Applying configuration transform: &quot; + file.path);&#xA;        gutil.log(&quot;File to transform: &quot; + fileToTransform);&#xA;        gutil.log(&quot;Destination path: &quot; + configDestination);&#xA;        gutil.log(&quot;Source path: &quot; + configSource);&#xA;        gutil.log(&quot;File Source Path: &quot; + fileSourcePath);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And further in the document : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            return gulp.src(&quot;./applytransform.targets&quot;)&#xA;            .pipe(msbuild({&#xA;                targets: [&quot;ApplyTransform&quot;],&#xA;                configuration: config.buildConfiguration,&#xA;                logCommand: false,&#xA;                verbosity: &quot;minimal&quot;,&#xA;                stdout: true,&#xA;                errorOnFail: false,&#xA;                maxcpucount: 0,&#xA;                toolsVersion: config.buildToolsVersion,&#xA;                properties: {&#xA;                    Platform: config.buildPlatform,&#xA;                    SourceConfigToTransform: fileSourcePath,&#xA;                    DestinationConfigToTransform: configDestination,&#xA;                    TransformFile: file.path,&#xA;                    FileToTransform: fileToTransform,&#xA;                    ConfigDirectory: path.dirname(fileToTransform)&#xA;                }&#xA;            }));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Be careful when you go to MSBuild 15.0, the source path has to change.&lt;/p&gt;&#xA;" OwnerUserId="1566" LastActivityDate="2019-05-22T11:57:51.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18848" PostTypeId="1" AcceptedAnswerId="18970" CreationDate="2019-05-22T12:06:19.707" Score="-1" ViewCount="540" Body="&lt;p&gt;I am working on unit tests. So I am using fake DB. I am trying to set template standard values. So I used below code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item newItem = db.GetItem(contextId);&#xA;var standardValues = newItem.Template.CreateStandardValues();&#xA;&#xA;newItem.Template.StandardValues.Editing.BeginEdit();&#xA;newItem.Template.StandardValues.Fields[&quot;__Renderings&quot;].Value = &quot;Test&quot;; // This line gives exception. It gives &quot;its not in editing mode&quot; exception.&#xA;newItem.Template.StandardValues.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While setting renderings value I am getting &quot;&lt;strong&gt;StandardValues is not in Editing Mode&lt;/strong&gt;&quot;.&#xA;Also I would like to know that is this the way to set standard value of template.&#xA;I am trying to get code coverage for below case&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Template.StandardValues.Fields[&quot;__Renderings&quot;].Value&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just giving you context about original code,  below is the original code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if(!string.IsNullOrEmpty(item.Template.StandardValues.Fields[renderingsFieldName].Value))&#xA;{&#xA;  //Copying the Shared Rendering from template standard value to item's shared rendering&#xA;  item.Fields[renderingsFieldName].Value = item.Fields[renderingsFieldName].GetStandardValue();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5562" LastEditorUserId="5562" LastEditDate="2019-05-24T15:18:37.267" LastActivityDate="2019-05-27T15:07:56.783" Title="Sitecore FakeDB Set Template Standard values" Tags="|unit-testing|fakedb|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18849" PostTypeId="1" AcceptedAnswerId="18850" CreationDate="2019-05-22T12:26:10.517" Score="0" ViewCount="176" Body="&lt;p&gt;I was looking for how to add a list to the &lt;strong&gt;&lt;em&gt;Included Recipient List&lt;/em&gt;&lt;/strong&gt; section to an EXM &lt;strong&gt;MessageItem&lt;/strong&gt; programmatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;strong&gt;Sitecore 8.2&lt;/strong&gt; you could do &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;MessageItem.RecipientManager.AddIncludedRecipientListId()&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Anyone have an idea how to achieve this in the updated API in &lt;strong&gt;Sitecore 9.1.1&lt;/strong&gt;?&lt;/p&gt;&#xA;" OwnerUserId="756" LastActivityDate="2019-05-22T13:18:17.233" Title="Add recipient list in EXM programmatically - Sitecore 9.1.1" Tags="|sitecore-api|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18850" PostTypeId="2" ParentId="18849" CreationDate="2019-05-22T13:18:17.233" Score="1" Body="&lt;p&gt;The following code would help you:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Modules.EmailCampaign;&#xA;using Sitecore.Modules.EmailCampaign.Factories;&#xA;using Sitecore.Modules.EmailCampaign.Messages;&#xA;using Sitecore.Modules.EmailCampaign.Services;&#xA;&#xA;namespace Demo&#xA;{&#xA;    public class CustomExmManager&#xA;    {&#xA;        private readonly IRecipientManagerFactory _recipientManagerFactory;&#xA;        private readonly IExmCampaignService _exmCampaignService;&#xA;&#xA;        public CustomExmManager(IRecipientManagerFactory recipientManagerFactory, IExmCampaignService exmCampaignService)&#xA;        {&#xA;            Assert.ArgumentNotNull((object)recipientManagerFactory, nameof(recipientManagerFactory));&#xA;            this._recipientManagerFactory = recipientManagerFactory;&#xA;            this._exmCampaignService = exmCampaignService;&#xA;        }&#xA;&#xA;        public bool AddIncludedRecipientList(Guid recipientListId, Guid messageId)&#xA;        {&#xA;            MessageItem messageItem = this._exmCampaignService.GetMessageItem(messageId);&#xA;            return AddIncludedRecipientList(recipientListId, messageItem);&#xA;        }&#xA;&#xA;        public bool AddIncludedRecipientList(Guid recipientListId, MessageItem messageItem)&#xA;        {&#xA;            IRecipientManager recipientManager = this._recipientManagerFactory.GetRecipientManager(messageItem);&#xA;            return recipientManager.AddIncludedRecipientListId(recipientListId);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you already have an &lt;code&gt;MessageItem&lt;/code&gt; object, you can remove the part where I initializes it by messageId using&lt;code&gt;_exmCampaignService&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-05-22T13:18:17.233" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18853" PostTypeId="1" AcceptedAnswerId="18860" CreationDate="2019-05-22T13:35:48.047" Score="0" ViewCount="739" Body="&lt;p&gt;Our current site (Sitecore 9.1) configuration looks like this: (simplified for readability)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;the-website&quot; patch:after=&quot;site[@name='modules_website']&quot;&#xA;            language=&quot;en&quot;&#xA;...                &#xA;            loginPage=&quot;/auth/login&quot;&#xA;            requireLogin=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We want to redirect unauthenticated users to an &lt;code&gt;Access denied&lt;/code&gt; page. The &lt;code&gt;Access denied&lt;/code&gt; page should exist in Sitecore, such that editors can configure its look-and-feel. If possible we would like to not configure Sitecore access rights.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to use requireLogin for the entire site except for some specific pages?(like access denied)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is for extranet users.&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="70" LastEditDate="2019-05-22T22:24:12.677" LastActivityDate="2019-05-22T22:24:12.677" Title="Access denied page in Sitecore when using requireLogin" Tags="|security|authentication|login|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18854" PostTypeId="1" CreationDate="2019-05-22T14:02:58.697" Score="2" ViewCount="868" Body="&lt;p&gt;How can i show Sitecore maintenance page on Sitecore website while deployment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have load balancer environment with 6 CD servers but our client is not agree to remove CD server one by one from load balancer and add them again on load balancer after deployment, because this way it will increase deployment time from two hour to 4 hours. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know there is a way to use &lt;code&gt;app_offline.htm&lt;/code&gt; and put it on root of website directory but by using this our website warm up script is also not running as expected as script is also getting &lt;code&gt;app_offline.htm&lt;/code&gt; page.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And also while deployment our Sitecore website is not responding otherwise we could use Sitecore pipeline to achieve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest what else we can do here to achieve this.&lt;/p&gt;&#xA;" OwnerUserId="4722" LastEditorUserId="70" LastEditDate="2019-05-22T14:09:58.670" LastActivityDate="2019-05-22T14:09:58.670" Title="Show Sitecore Maintenance page on Site CD server" Tags="|deployment|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18855" PostTypeId="1" AcceptedAnswerId="18856" CreationDate="2019-05-22T14:06:10.080" Score="2" ViewCount="369" Body="&lt;p&gt;I have an existing tenant with 1 website. I tried to create a new site in the same tenant, but got an SPE error. The logs show me:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR Unrecognized Guid format. Actual value:&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;When I create a new tenant, I can create a site in there. And a second one.. No problem. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did see this Q&amp;amp;A &lt;a href=&quot;https://sitecore.stackexchange.com/q/8881/237&quot;&gt;SXA error when creating a site: Unrecognized Guid format&lt;/a&gt; but the answer did not solve my issue as I do have those fields filled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 9.0.2 and SXA 1.7.1&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-05-22T14:06:10.080" Title="SXA cannot create site under tenant that already has a site - Unrecognized Guid format error" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18856" PostTypeId="2" ParentId="18855" CreationDate="2019-05-22T14:06:10.080" Score="2" Body="&lt;p&gt;I ran the this script in a SPE console to have more output:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Function Validate-PowerShell&#xA;&#xA;Test-PowerShell&#xA;&#xA;Try&#xA;{&#xA;    $ctx = gi .&#xA;    Import-Function New-Site&#xA;    $model = Show-NewSiteDialog $ctx -Verbose&#xA;}&#xA;Catch&#xA;{&#xA;    $ErrorRecord=$Error[0]&#xA;    Write-Log -Log Error $ErrorRecord&#xA;    Show-Alert &quot;Something went wrong. See SPE logs for more details.&quot;&#xA;    Close-Window&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Verbose&lt;/code&gt; part is important here to get more information from the Show-NewSiteDialog..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once I ran this I noticed that the problem was in the &lt;code&gt;Get-InvokedTenantAction&lt;/code&gt; cmdlet. I changed that one to have some more logs and finally found that the existing templates from the tenant need &lt;strong&gt;Insert options&lt;/strong&gt;. And I actually removed those so that field was empty. Changing the script to check the field first fixes that (add the &lt;code&gt;if&lt;/code&gt; line):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if($standardValuesHolder.&quot;__Masters&quot;) {&#xA;  [Sitecore.Data.ID[]]$baseTemplates = $standardValuesHolder.&quot;__Masters&quot;.Split('|')&#xA;  ...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I noticed that the &lt;code&gt;Get-InvokedSiteAction&lt;/code&gt; cmdlet had the same code so I changed it there as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it still didn't work. Apparently all templates (and base templates) for that tenant also need a &lt;strong&gt;Standard Values&lt;/strong&gt; item for the script to work. I had one base template that did not. I could have altered the script to check for this as well, but decided to create a standard values item for that one base template.&#xA;If you need to alter the script, this line need a check first:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$standardValuesHolder = Get-Item -Path master: -ID $template.'___Standard values'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is registered as a bug so it will be fixed in a future version, but if you bump into issues in the meantime this might help.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-05-22T14:06:10.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18857" PostTypeId="2" ParentId="18854" CreationDate="2019-05-22T14:09:25.743" Score="1" Body="&lt;p&gt;Create a new IIS Site with a single &lt;code&gt;index.html&lt;/code&gt; static page that contains your maintenance content. You can put this on one of the CD servers (or multiple).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the deployment script update the Load Balancer to route traffic through to the new maintenance page IIS Site, do the deployment, run the warm up scripts locally to each CD server and then once it is all ok, update the load balancer to route traffic back through to the Sitecore sites.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-22T14:09:25.743" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18858" PostTypeId="2" ParentId="15742" CreationDate="2019-05-22T14:13:10.417" Score="1" Body="&lt;p&gt;You probably have an issue with one (or more) of the templates that exist for that tenant. And with issue, I don't mean you did anything wrong - but the scripts just rely on certain things to be there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check &lt;a href=&quot;https://sitecore.stackexchange.com/a/18856/237&quot;&gt;https://sitecore.stackexchange.com/a/18856/237&lt;/a&gt;. You might have the same issues I had there, but to debug your setup you can run this code in SPE:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Import-Function Validate-PowerShell&#xA;&#xA;Test-PowerShell&#xA;&#xA;Try&#xA;{&#xA;    $ctx = gi .&#xA;    Import-Function New-Site&#xA;    $model = Show-NewSiteDialog $ctx -Verbose&#xA;}&#xA;Catch&#xA;{&#xA;    $ErrorRecord=$Error[0]&#xA;    Write-Log -Log Error $ErrorRecord&#xA;    Show-Alert &quot;Something went wrong. See SPE logs for more details.&quot;&#xA;    Close-Window&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should give you and idea where it is going wrong in your case. Get the last line in the output and search for that in the content tree - it should indicate you in which script it is found. This way you can debug the scripts and determine the issue. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-05-22T14:13:10.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18859" PostTypeId="2" ParentId="18828" CreationDate="2019-05-22T14:35:36.053" Score="2" Body="&lt;p&gt;You don't need to manipulate with workflow state of newer versions or with publishing restrictions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use Sitecore API and &lt;code&gt;PublishOptions.PublishDate&lt;/code&gt; property. Just pass the datetime when your chosen version was created as the constructor argument like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;new PublishOptions(..., ..., version.Statistics.Created);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And pass it to &lt;code&gt;PublishItemContext&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var options = new PublishOptions(version.Database, targetDatabase, PublishMode.Full, version.Language, version.Statistics.Created);&#xA;var context = PublishManager.CreatePublishItemContext(version.ID, options);&#xA;context.PublishContext = new PublishContext(options);&#xA;return PublishItemPipeline.Run(context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I wrote a blog post which explains in details how and why it works. You can read it here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;https://www.skillcore.net/sitecore/publish-specific-version-of-sitecore-item&quot; rel=&quot;nofollow noreferrer&quot;&gt;Publish specific version of Sitecore item&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-22T14:35:36.053" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18860" PostTypeId="2" ParentId="18853" CreationDate="2019-05-22T14:37:38.587" Score="3" Body="&lt;p&gt;For this, you need to configure &lt;code&gt;loginPage&lt;/code&gt; but set &lt;code&gt;requireLogin&lt;/code&gt; to false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your next step will be to remove the access for &lt;code&gt;Everyone&lt;/code&gt; on your &lt;code&gt;/sitecore/content/site&lt;/code&gt; node and &lt;code&gt;Remove Inheritance&lt;/code&gt;. You then need to create a new role, &quot;Authenticated Users&quot; which will get the access from this level down instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally you need to re-allow &lt;code&gt;Everyone&lt;/code&gt; into the few pages you require. The error page and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Brian Pedersen has a good writeup here: &lt;a href=&quot;https://briancaos.wordpress.com/2017/11/24/sitecore-login-to-website-and-how-to-restrict-access-to-content/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore: Login to website and how to restrict access to content&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your core problem is; if you set &lt;code&gt;requireLogin&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; like you suggest, Sitecore is always going to force a login. From anyone. Error pages or not.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-05-22T14:37:38.587" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18861" PostTypeId="1" AcceptedAnswerId="18865" CreationDate="2019-05-22T16:45:42.170" Score="5" ViewCount="1608" Body="&lt;p&gt;I have a date field in one of my templates who's default value is &lt;code&gt;$date&lt;/code&gt;.  When I create an item using that template, the raw value is &lt;code&gt;20190522Z&lt;/code&gt;, but when I view it not raw I see it as yesterday's date (5/21).  Likewise it puts it into a bucket structure that's consistent with the actual date \2019\05\22.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I thought I had solved a similar issue before by setting my &lt;code&gt;ServerTimeZone&lt;/code&gt; to &lt;code&gt;700&lt;/code&gt; (Eastern Daylight Time) in my &lt;code&gt;SitecoreSettings.config&lt;/code&gt; file, but this didn't seem to fix this particular issue.  Is there something else I need to set for the CMS to display it with the correct friendly date?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="556" LastEditDate="2019-05-22T20:50:17.250" LastActivityDate="2019-05-23T14:05:59.353" Title="Sitecore populating date field with yesterday's date via $date token" Tags="|configuration|templates|fieldtype|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18862" PostTypeId="1" AcceptedAnswerId="18863" CreationDate="2019-05-22T17:01:18.890" Score="4" ViewCount="477" Body="&lt;p&gt;I am using SXA version 1.8.1. I created a scope item and using that in search.&#xA;I need to list all the items of templates A and B under a given location. Is it possible to have a query to include multiple templates?&#xA;My query returns result if I have one template, but how do I include multiple templates?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now my query is something like this &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;location:{E59F0AFE-FE69-4393-9955-23B48D28FB76};+template:{2BE81A84-A619-46A8-B5B4-BEB7D2D7CC40}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I include one more template id? &lt;/p&gt;&#xA;" OwnerUserId="5530" LastEditorUserId="237" LastEditDate="2019-05-22T18:31:10.623" LastActivityDate="2019-05-22T19:15:38.280" Title="How to include multiple template id in SXA scope query" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18863" PostTypeId="2" ParentId="18862" CreationDate="2019-05-22T17:47:14.063" Score="4" Body="&lt;p&gt;You can just add the extra template Id in the same way as the first. E.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;location:{a4d6582e-dfb8-4492-95fe-c70b6969cbb9};template:{ad0e07c0-d08d-49df-9cdd-86ac2cd49be4};template:{324733cf-afec-4281-9a18-03b6cfc4e535}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But remove the &lt;code&gt;+&lt;/code&gt; And modifier on the &lt;code&gt;template&lt;/code&gt; filters and add it to the &lt;code&gt;location&lt;/code&gt; filters like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+location:{a4d6582e-dfb8-4492-95fe-c70b6969cbb9};template:{ad0e07c0-d08d-49df-9cdd-86ac2cd49be4};template:{324733cf-afec-4281-9a18-03b6cfc4e535}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Doing that makes the &lt;code&gt;location&lt;/code&gt; a must have and the &lt;code&gt;template&lt;/code&gt; filters OR's&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-05-22T19:15:38.280" LastActivityDate="2019-05-22T19:15:38.280" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18864" PostTypeId="2" ParentId="18792" CreationDate="2019-05-22T19:32:02.237" Score="2" Body="&lt;p&gt;JSS does not resolve multi-item datasources such as &lt;code&gt;query:&lt;/code&gt; expressions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In JSS you'll want to look at &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/extending-layout-service/layoutservice-rendering-contents&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rendering Contents Resolvers&lt;/a&gt; which enable you to precisely control the JSON returned for the &lt;code&gt;fields&lt;/code&gt; property on the layout service, or Integrated GraphQL.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-05-22T19:32:02.237" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18865" PostTypeId="2" ParentId="18861" CreationDate="2019-05-22T20:04:43.903" Score="6" Body="&lt;p&gt;The difference between &lt;code&gt;$date&lt;/code&gt; and &lt;code&gt;$now&lt;/code&gt; is contained within the &lt;code&gt;Sitecore.Data.ReplaceValues&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual string ReplaceValues(string text, Func&amp;lt;string&amp;gt; defaultName, Func&amp;lt;string&amp;gt; defaultId, Func&amp;lt;string&amp;gt; defaultParentName, Func&amp;lt;string&amp;gt; defaultParentId)&#xA;{&#xA;    if (text.Length == 0 || text.IndexOf('$') &amp;lt; 0)&#xA;    return text;&#xA;    ReplacerContext context = this.GetContext();&#xA;    if (context != null)&#xA;    {&#xA;    foreach (KeyValuePair&amp;lt;string, string&amp;gt; keyValuePair in (SafeDictionary&amp;lt;string, string&amp;gt;) context.Values)&#xA;        text = text.Replace(keyValuePair.Key, keyValuePair.Value);&#xA;    }&#xA;    text = this.ReplaceWithDefault(text, &quot;$name&quot;, defaultName, context);&#xA;    text = this.ReplaceWithDefault(text, &quot;$id&quot;, defaultId, context);&#xA;    text = this.ReplaceWithDefault(text, &quot;$parentid&quot;, defaultParentId, context);&#xA;    text = this.ReplaceWithDefault(text, &quot;$parentname&quot;, defaultParentName, context);&#xA;    text = this.ReplaceWithDefault(text, &quot;$date&quot;, (Func&amp;lt;string&amp;gt;) (() =&amp;gt; DateUtil.IsoNowDate), context);&#xA;    text = this.ReplaceWithDefault(text, &quot;$time&quot;, (Func&amp;lt;string&amp;gt;) (() =&amp;gt; DateUtil.IsoNowTime), context);&#xA;    text = this.ReplaceWithDefault(text, &quot;$now&quot;, (Func&amp;lt;string&amp;gt;) (() =&amp;gt; DateUtil.IsoNow), context);&#xA;    return text;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the key differences:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;$date&lt;/code&gt; &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;nested calls listed below:&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;DateUtil.IsoNowDate&lt;/code&gt; = &lt;code&gt;DateTime.UtcNow.ToString(&quot;yyyyMMdd&quot;) + &quot;Z&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Replacement: &lt;strong&gt;20190522Z&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$now&lt;/code&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;nested calls listed below:&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;DateUtil.IsoNow&lt;/code&gt; = &lt;code&gt;DateUtil.ToIsoDate(DateTime.UtcNow)&lt;/code&gt; (DateTime.UtcNow = datetime &lt;em&gt;object&lt;/em&gt; of UTC time)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;datetime.ToString(&quot;yyyyMMddTHHmmss&quot;) + &quot;Z&quot;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Replacement: &lt;strong&gt;20190522T122352Z&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Which, as the names imply: &lt;code&gt;$date&lt;/code&gt; is the UTC &lt;strong&gt;&quot;date&quot;&lt;/strong&gt; string and &lt;code&gt;$now&lt;/code&gt; is the UTC &lt;strong&gt;&quot;date + time&quot;&lt;/strong&gt; string. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Setting time zones in Sitecore&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/settings-supporting-utc-implementation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/settings-supporting-utc-implementation.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Valid time zone values&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/previous-versions/windows/embedded/gg154758(v=winembedded.80)&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/previous-versions/windows/embedded/gg154758(v=winembedded.80)&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Edit&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Richard's answer below explains why the inclusion of the timestamp is important when resolving the proper date. Read his answer in addition to mine.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2019-05-23T14:05:59.353" LastActivityDate="2019-05-23T14:05:59.353" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18866" PostTypeId="2" ParentId="18861" CreationDate="2019-05-22T22:35:06.837" Score="6" Body="&lt;p&gt;Based on @jraps research, this is what I believe is happening:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$date&lt;/code&gt; is taking the current UTC date and storing that in the DB - if you are in UTC-4 and you create the date when the UTC date has crossed over but your local date has not, then the date will appear to be stored incorrectly. This is because when Sitecore displays that date, there is no time information for it to convert back to your local time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$now&lt;/code&gt; is working, because it is storing time information with the date, so Sitecore can now convert that date+time back to your timezone configured in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess &lt;code&gt;$date&lt;/code&gt; &lt;em&gt;could&lt;/em&gt; be considered a buggy way of storing the date, it would be better if it stored it as &lt;code&gt;20190522T000000Z&lt;/code&gt;, then it could at least be converted back to your configured time zone.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-22T22:35:06.837" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18868" PostTypeId="1" CreationDate="2019-05-23T03:43:11.030" Score="1" ViewCount="4087" Body="&lt;p&gt;I have the following site configuration for my Sitecore 9.1 site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;the-website&quot; patch:after=&quot;site[@name='modules_website']&quot;&#xA;            language=&quot;en&quot;&#xA;...                &#xA;            loginPage=&quot;/auth/login&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Sitecore we setup access rights like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/root = Everyone deny read + descendants&#xA;/sitecore/content/root/website = break inheritance + descendants, 'extranet\authorized-users' read&#xA;/sitecore/content/root/website/Settings = Everyone read&#xA;/sitecore/content/root/website/Global = Everyone read&#xA;/sitecore/content/root/website/Home/Access denied = Everyone read&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This ensures that endusers are redirected to the login page if not logged in and we can redirect users with valid login credentials, but invalid roles, to the access-denied page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if endusers users are redirected to the access-denied page, they can manually type in a valid url, like /en-gb/welcome (which would be located in Sitecore at &lt;code&gt;/sitecore/content/root/website/home/welcome&lt;/code&gt;) and they are shown the Sitecore no-access page instead of the login page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They get the error message 'Permission to the requested document was denied - The resource you have requested requires read access&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we ensure that users are redirected to the login page if they manually edit the url, after being shown the /access-denied page?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastActivityDate="2019-05-23T07:36:29.487" Title="Sitecore redirects to no-access page instead of login page" Tags="|security|authentication|login|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18869" PostTypeId="2" ParentId="18824" CreationDate="2019-05-23T05:25:42.673" Score="0" Body="&lt;p&gt;I hope you are following below points:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In Sitecore form, you have selected &lt;code&gt;Update Contact Details&lt;/code&gt; before &lt;code&gt;Trigger Goal&lt;/code&gt;. You can follow &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-submit-action-that-updates-contact-details.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-submit-action-that-updates-contact-details.html&lt;/a&gt; this link. &lt;code&gt;Update Contact Details&lt;/code&gt; submit action will create/update contact in xDB.&lt;/li&gt;&#xA;&lt;li&gt;After adding above submit action, make sure contact is showing in &lt;code&gt;Experience Profile&lt;/code&gt; and you can see triggerd goal for that corresponding contact.&lt;/li&gt;&#xA;&lt;li&gt;Make sure Marketing Automation is activated.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-05-23T05:25:42.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18870" PostTypeId="1" CreationDate="2019-05-23T05:26:31.767" Score="1" ViewCount="1364" Body="&lt;p&gt;We have Sitecore 8.1, using 2 CD server on-premises and &lt;code&gt;https&lt;/code&gt; protocol.&lt;/p&gt;&#xA;&lt;p&gt;Log file getting below exception at&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&amp;amp; request)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h1&gt;Error&lt;/h1&gt;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #10 00:11:10 ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx)&#xA;Exception: System.Net.WebException&#xA;Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.&#xA;Source: System&#xA;   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&amp;amp; request)&#xA;   at System.Net.WebClient.DownloadData(Uri address)&#xA;   at Sitecore.Web.WebUtil.ExecuteWebPage(String url, NameValueCollection headers)&#xA;   at Sitecore.Tasks.UrlAgent.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Security.Authentication.AuthenticationException&#xA;Message: The remote certificate is invalid according to the validation procedure.&#xA;Source: System&#xA;   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)&#xA;   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)&#xA;   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)&#xA;   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&#xA;   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&#xA;   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)&#xA;   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)&#xA;   at System.Net.ConnectStream.WriteHeaders(Boolean async)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-23T08:48:25.160" Title="ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&amp; request)" Tags="|sitecore-client|load-balancer|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18871" PostTypeId="1" CreationDate="2019-05-23T05:49:03.197" Score="0" ViewCount="238" Body="&lt;p&gt;I have a modal component which is basically a popup with some content in it. I have to ask if it is possible to link that component from another component. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example I have anchor link in another component and by clicking the link, it will call the modal component and popup will be shown on that page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or i have a &lt;code&gt;Richtext editor&lt;/code&gt; with an &lt;code&gt;anchor link&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to call modal component when a link in the &lt;code&gt;Richtext editor&lt;/code&gt; is clicked? Lets say there is a See more link inside the &lt;code&gt;Richtext editor&lt;/code&gt;. On clicking the link, it will call the Modal component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was thinking if it is possible via ajax like calling the Modal Actionresult via ajax which will return the HTML and that HTML will append on the current page to show the popup&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible or has someone done anything similar to this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or suggestion would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerDisplayName="user2980" LastEditorDisplayName="user2980" LastEditDate="2019-05-23T08:28:56.663" LastActivityDate="2019-05-23T08:28:56.663" Title="Calling component from another component via anchor link" Tags="|sitecore-client|sitecore-api|ajax|components|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="18872" PostTypeId="2" ParentId="18870" CreationDate="2019-05-23T06:08:44.510" Score="1" Body="&lt;p&gt;You can try to set the valid host name in the keep alive config like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.UrlAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;url&quot;&amp;gt;https://&amp;lt;hostname&amp;gt;/sitecore/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA;  &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in the &lt;code&gt;hosts&lt;/code&gt; file on your server make sure that &lt;code&gt;&amp;lt;hostname&amp;gt;&lt;/code&gt; is resolved to &lt;code&gt;127.0.0.1&lt;/code&gt; IP address. Then your Load Balancer should not be hit - each of the servers should make a request to itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can add &lt;code&gt;http&lt;/code&gt; binding to your web apps with some other hostname (like &lt;code&gt;cd1.local&lt;/code&gt; and &lt;code&gt;cd2.local&lt;/code&gt;) and set that &lt;code&gt;http&lt;/code&gt; url in &lt;code&gt;UrlAgent&lt;/code&gt; like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.UrlAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;url&quot;&amp;gt;http://cd1.local/sitecore/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA;  &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-23T06:08:44.510" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18873" PostTypeId="2" ParentId="18868" CreationDate="2019-05-23T07:25:08.897" Score="0" Body="&lt;p&gt;Sitecore has some out of the box error pages in the webroot below \sitecore\service&#xA;one of them is the noaccess.aspx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similar for the 404 not found page you can adjust this in the Sitecore config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See this setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;  ACCESS DENIED HANDLER&#xA;            Url of page handling 'Acess denied' errors&#xA;&#xA;--&amp;gt;&amp;lt;setting name=&quot;NoAccessUrl&quot; value=&quot;/sitecore/service/noaccess.aspx&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can adjust the url and/or create some logic to handle this noaccess situation.&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-05-23T07:25:08.897" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18874" PostTypeId="2" ParentId="18868" CreationDate="2019-05-23T07:36:29.487" Score="2" Body="&lt;p&gt;Here we are going to discuss request specific authentication if user manually going to any login related page using URL manipulation, we can redirect user to login/access denied page.&lt;/p&gt;&#xA;&lt;p&gt;If website has few pages where we don't want authenticate request like &lt;em&gt;&lt;strong&gt;static pages&lt;/strong&gt;&lt;/em&gt;(FAQ,help,privacy policy etc).&lt;/p&gt;&#xA;&lt;p&gt;We add field at base page template &amp;quot;Is Authentication Required&amp;quot;, if it is check then authentication will be checked. see below screen shot.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/chZB9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/chZB9.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Even site root level add &lt;code&gt;Internal link&lt;/code&gt; field under Page URL section we can define Login Page/Access Denied page. This implementation will be worked for multi-sites, as below screen shot.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TxJj0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TxJj0.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Here we are going to handle this case using &lt;code&gt;httpRequestBegin&lt;/code&gt; pipeline. Please have a look into sample code:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;public class ValidateUserSession: HttpRequestProcessor&#xA;{&#xA;    public override void Process(HttpRequestArgs args)&#xA;    {&#xA;        var request = HttpContext.Current.Request;&#xA;&#xA;        //If Sitecore CMS URL then skip check&#xA;        if (SitecoreContext.IsCMSRequest())&#xA;        {&#xA;            return;&#xA;        }&#xA;        &#xA;        var currentPage = Context.Database.GetItem(Context.Item.ID);&#xA;        //field at item page level i.e. &amp;quot;Is Authentication Required&amp;quot; ex- FAQ,help is not required.&#xA;        bool isAuthRequired = currentPage[&amp;quot;Is Authentication Required&amp;quot;]?.ToString() == &amp;quot;1&amp;quot;;&#xA;&#xA;        if (!Context.User.IsAuthenticated &amp;amp;&amp;amp; isAuthRequired)&#xA;        {&#xA;            //redirectUrl is login page/access denied&#xA;            WebUtil.Redirect(redirectUrl);&#xA;        }&#xA;&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Is CMS related request&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;    public static bool IsCMSRequest()&#xA;    {&#xA;        return (HttpContext.Current != null &amp;amp;&amp;amp; HttpContext.Current.Request.Url.Segments.Length &amp;gt; 1 &amp;amp;&amp;amp; HttpContext.Current.Request.Url.Segments[1].Contains(Constants.Common.Sitecore)) // Starting request with &amp;quot;sitecore/&amp;quot;&#xA;      || Context.PageMode.IsExperienceEditor || Context.PageMode.IsDebugging || Context.PageMode.IsPreview || Context.User.IsAdministrator;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Above code if any &lt;code&gt;CMS&lt;/code&gt; specific request then it'll skip using &lt;em&gt;&lt;strong&gt;IsCMSRequest()&lt;/strong&gt;&lt;/em&gt; method.&lt;/p&gt;&#xA;&lt;h1&gt;Patch config file&lt;/h1&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;pipelines&amp;gt;&#xA;&amp;lt;httpRequestBegin&amp;gt;&#xA;&amp;lt;processor type=”Sitecore.Foundation.Forms.Pipelines.ValidateUserSession, Sitecore.Foundation.Forms” patch:after=”*[@type=’Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel’]”/&amp;gt;&#xA;&amp;lt;/httpRequestBegin&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Kindly let me know if any query.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-23T07:36:29.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18875" PostTypeId="1" CreationDate="2019-05-23T08:19:49.677" Score="4" ViewCount="2004" Body="&lt;p&gt;I see errors like &lt;em&gt;XConnect Exception Filter OnException(), url - &quot;&lt;a href=&quot;https://xconnect/refdata/definitiontype/ensure&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://xconnect/refdata/definitiontype/ensure&lt;/a&gt;&quot;&lt;/em&gt; in the xconnect log files. What is causing those errors and does it mean something is configured wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These can be seen after opening the home page of the Storefront.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-05-23 09:49:31.586 +02:00 [Information] XConnect Test Host Application Start, Machine: &quot;7CFA130A43F3&quot;, Site: &quot;xconnect&quot;, AppId: &quot;/LM/W3SVC/928776700/ROOT&quot;&#xA;2019-05-23 09:49:32.930 +02:00 [Information] Certificate Validation Filter Enabled, Thumbprint: 3CB4DA6F75DC4A297D08FFBEDCFC4DBCC0167331&#xA;2019-05-23 09:49:32.931 +02:00 [Information] SSL Validation Filter Enabled&#xA;2019-05-23 09:49:33.998 +02:00 [Information] SystemPerformanceCounters Constructor, Instance:xconnect, Path: C:\inetpub\wwwroot\xconnect\App_Data\Diagnostics, CounterFilePattern: *.json&#xA;2019-05-23 09:51:35.299 +02:00 [Information] Create &quot;XdbContextLoggingPlugin&quot;&#xA;2019-05-23 09:51:35.313 +02:00 [Information] Register &quot;XdbContextLoggingPlugin&quot;&#xA;2019-05-23 09:51:35.442 +02:00 [Error] XConnect Exception Filter OnException(), url - &quot;https://xconnect/odata/DeviceProfiles?%24filter=Id+eq+21a018ec-4504-42e7-bfc6-f0a2b368005a&quot;&#xA;    System.OperationCanceledException: The operation was canceled.&#xA;       at System.Threading.CancellationToken.ThrowOperationCanceledException()&#xA;       at System.Net.Http.HttpContentExtensions.&amp;lt;ReadAsAsyncCore&amp;gt;d__0`1.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Web.Http.ModelBinding.FormatterParameterBinding.&amp;lt;ExecuteBindingAsyncCore&amp;gt;d__0.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Web.Http.Controllers.HttpActionBinding.&amp;lt;ExecuteBindingAsyncCore&amp;gt;d__0.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Web.Http.Controllers.AuthenticationFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at System.Web.Http.Controllers.ExceptionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext()&#xA;    2019-05-15 14:51:50.810 +02:00 [Error] XConnect Exception Filter OnException(), url - &quot;https://xconnect/refdata/definitiontype/ensure&quot;&#xA;    System.OperationCanceledException: The operation was canceled.&#xA;       at System.Threading.CancellationToken.ThrowOperationCanceledException()&#xA;       at System.Net.Http.HttpContentExtensions.&amp;lt;ReadAsAsyncCore&amp;gt;d__0`1.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5045" LastActivityDate="2023-02-28T23:05:10.580" Title="What is causing the &quot;XConnect Exception Filter OnException()&quot; errors in xconnect log files?" Tags="|xconnect|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18876" PostTypeId="2" ParentId="12453" CreationDate="2019-05-23T08:44:59.903" Score="8" Body="&lt;p&gt;In case this error persists, even after you rebuild the XDB index, you might as well want to check the items under &lt;code&gt;/sitecore/system/List Manager/ListOperations&lt;/code&gt; node. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;These items are created by the List Manager application and they contain a field named &lt;strong&gt;Sync Token&lt;/strong&gt;. You should update the &lt;strong&gt;Sync Token&lt;/strong&gt; field of each item with the one corresponding to your local instance. These items will eventually disappear as the List Manager process them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To find out what Sync Token you should use, just do as &lt;a href=&quot;https://sitecore.stackexchange.com/users/1173/richard-szalay&quot;&gt;Richard Szalay&lt;/a&gt; suggested above. In Solr, query the &lt;code&gt;[prefix]_xdb&lt;/code&gt; index for &lt;code&gt;id:xdb-index-token&lt;/code&gt; field.&lt;/p&gt;&#xA;" OwnerUserId="522" LastEditorUserId="522" LastEditDate="2019-05-23T11:59:49.360" LastActivityDate="2019-05-23T11:59:49.360" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18877" PostTypeId="2" ParentId="18870" CreationDate="2019-05-23T08:48:25.160" Score="1" Body="&lt;p&gt;Question looks very similar to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/18515/is-it-possible-to-teach-the-keepalive-agent-to-overcome-tls-ssl-certificate-warn/&quot;&gt;this one&lt;/a&gt;, but a little bit different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before doing anything, you need to think whether you really need &lt;em&gt;keepalive.aspx&lt;/em&gt; agent on your CD servers at all. You wrote that you have 2 CD servers. I guess that if you have few CD servers then you have load balancer.(I can't imagine how 2 Sitecore CD servers can work without it). All load balancers that I have worked with have healthy check requests. You can configure this health check to call &lt;em&gt;keepalive.aspx&lt;/em&gt;. Example from AWS:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/EY6ko.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EY6ko.png&quot; alt=&quot;AWS Health Check&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you configure health check to ping &lt;em&gt;keepalive.aspx&lt;/em&gt; on your load balancer, you can remove configuration of &lt;em&gt;Sitecore.Tasks.UrlAgent&lt;/em&gt; to request &lt;em&gt;/sitecore/service/keepalive.aspx&lt;/em&gt; from your servers configurations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If for some reason you can't(or don't want) to do it on load balancer level then the proper way is to fix certificate on your IIS CD instance configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If for some reasons you can't(or don't want) to fix certificate then you can configure HTTP binding as was suggested by Marek.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you  want to teach the keepalive.aspx agent to overcome TLS/SSL certificate warnings like in a &lt;a href=&quot;https://sitecore.stackexchange.com/questions/18515/is-it-possible-to-teach-the-keepalive-agent-to-overcome-tls-ssl-certificate-warn/&quot;&gt;referenced question&lt;/a&gt; then you can use &lt;a href=&quot;https://sitecore.stackexchange.com/questions/18515/is-it-possible-to-teach-the-keepalive-agent-to-overcome-tls-ssl-certificate-warn/18516#18516&quot;&gt;my answer&lt;/a&gt; on that question.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-05-23T08:48:25.160" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18878" PostTypeId="2" ParentId="18189" CreationDate="2019-05-23T08:58:02.327" Score="0" Body="&lt;p&gt;I have also experienced that the initial &lt;code&gt;POST&lt;/code&gt; request works but but the following &lt;code&gt;PUT&lt;/code&gt; and &lt;code&gt;PATCH&lt;/code&gt; requests fails with &lt;code&gt;404 NotFound&lt;/code&gt;. &#xA;The &lt;code&gt;AutomationPlansController&lt;/code&gt; in Sitecore.Marketing.Automation.Client uses AutomationPlanRepository to find the plan, and if it is not found 404 is returned.&#xA;The result is that if there is anything wrong with xConnect or SolR connection or schema, marketing definitions, etc., we will get this 404 error and there aren't really any usefull log entries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had errors in SolR and a custom computed field, I could see that in the Crawling log but not while this method failed. When the error was fixed I could repopulate SolR schema and depoloy market definitions, then the save and update operations worked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also note that those endpoints requires that you have runAllManagedModulesForAllRequests enabled in your web.config (we usually disable that for increased performance:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;modules runAllManagedModulesForAllRequests=&quot;true&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="185" LastEditorUserId="185" LastEditDate="2019-12-17T15:37:29.403" LastActivityDate="2019-12-17T15:37:29.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18880" PostTypeId="1" AcceptedAnswerId="18882" CreationDate="2019-05-23T09:18:14.710" Score="0" ViewCount="74" Body="&lt;p&gt;Is &lt;strong&gt;Sitecore 9.1.0&lt;/strong&gt; (rev. 001564) compatible with Sitecore Experience Commerce 9.1 Initial Release ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance for any help&lt;/p&gt;&#xA;" OwnerUserId="4763" LastActivityDate="2019-05-23T09:22:37.023" Title="Sitecore Commerce Compatibility" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18881" PostTypeId="2" ParentId="18880" CreationDate="2019-05-23T09:21:10.873" Score="1" Body="&lt;p&gt;No, it's not. None of the Sitecore Experience Commerce versions is compatible with Sitecore 9.1.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See &lt;code&gt;Sitecore Experience Commerce&lt;/code&gt; compatibility with &lt;code&gt;Sitecore XP And Modules&lt;/code&gt; table here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/804595&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/804595&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-23T09:21:10.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18882" PostTypeId="2" ParentId="18880" CreationDate="2019-05-23T09:22:37.023" Score="2" Body="&lt;p&gt;As you can see on the &lt;a href=&quot;https://kb.sitecore.net/articles/804595&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Experience Commerce compatibility page&lt;/a&gt;, it is not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See below for table outlining the compatibility taken from there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z8lcU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z8lcU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2019-05-23T09:22:37.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18884" PostTypeId="1" AcceptedAnswerId="18985" CreationDate="2019-05-23T10:34:53.547" Score="3" ViewCount="125" Body="&lt;p&gt;I'm using Sitecore 9.1.1 and SXA 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed the steps in the following &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-cortex-content-tagging-framework-in-your-custom-solution.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Link&lt;/a&gt; to trigger content tagging, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d0Wlf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d0Wlf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the output wasn't as expected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;1] The item has been tagged but the tags appear to be corrupted or unavailable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2] Also, when I tag a few different items, they all get the same unavailable IDs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any idea what's wrong or how to fix this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3] The tags also appear in the semantics field not in the tags field, how to make them appear in the Tags field instead of semantics? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9xFQi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9xFQi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5557" LastEditorUserId="2056" LastEditDate="2019-05-23T11:07:26.930" LastActivityDate="2019-05-28T09:16:02.877" Title="Sitecore Cortex Content Tagging API feature" Tags="|sxa|cortex|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18887" PostTypeId="2" ParentId="5344" CreationDate="2019-05-23T11:01:24.783" Score="0" Body="&lt;p&gt;I followed solution by @sitecore-sam and install build tools v2019 (current version). This installs only Roslyn build tools locally (C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\15.0\Bin\Roslyn). But gulp taks was keep looking for &quot;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\15.0\Bin\amd64\&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution that worked for me was: I copied the amd64 folder from VS2017 Ent edition folders. This is not proper solution but as I could not find a way to forse to install a smd64 version of build tools I just copied the whole folder on required location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The logicof finder explained by @ChesterC can be found &lt;a href=&quot;https://github.com/hoffi/gulp-msbuild/blob/master/lib/msbuild-finder.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1168" LastActivityDate="2019-05-23T11:01:24.783" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18888" PostTypeId="1" CreationDate="2019-05-23T12:02:53.740" Score="0" ViewCount="229" Body="&lt;p&gt;This is on a webform based (not MVC based ) solution. I want to change a content / adding additional mark up (let us say add additional attribute in as Image element )in the sub layout at runtime for every request based on some condition. What would be right place to extend this logic ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;for example&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is there in the sublayout&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Img src='&amp;lt;source of the image&amp;gt;'&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In other scenario , I would like to modify this element to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Img Data-Src='&amp;lt;source of the image&amp;gt;'&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This i want to achieve this at runtime for every request  &lt;/p&gt;&#xA;" OwnerUserId="2384" LastEditorUserId="556" LastEditDate="2019-05-23T15:15:30.210" LastActivityDate="2019-05-23T15:15:30.210" Title="Modify Output of Image Field During Display" Tags="|webforms|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18890" PostTypeId="1" AcceptedAnswerId="18900" CreationDate="2019-05-23T13:06:06.213" Score="0" ViewCount="79" Body="&lt;p&gt;I'm using Sitecore 9.1 and SXA 1.8, there are two cores for the master index now , &lt;code&gt;instance_name_sxa_master_index&lt;/code&gt; and &lt;code&gt;instance_name_master_index&lt;/code&gt;, which index should I put the SXA autosuggester configurations at Show Predictions mode.&lt;/p&gt;&#xA;" OwnerUserId="5545" LastEditorUserId="70" LastEditDate="2019-05-23T14:12:44.630" LastActivityDate="2019-05-23T18:41:31.293" Title="Where should I put SOLR Autosuggest configurations" Tags="|sxa|content-search|solr|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18891" PostTypeId="1" AcceptedAnswerId="18915" CreationDate="2019-05-23T13:56:57.953" Score="3" ViewCount="49" Body="&lt;p&gt;In the Experience Profile Commerce tab the prices are shown in USD even though I all currencies in EUR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I like to collect and view the prices in EUR in the Experience Profile. How is that possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an example I called &lt;em&gt;Sitecore.Commerce.Services.Catalog.CatalogServiceProvider.VisitedProductDetailsPage&lt;/em&gt; with a request with the currency EUR but the price shown in &quot;Products viewed&quot; is still in USD.&lt;/p&gt;&#xA;" OwnerUserId="5045" LastActivityDate="2019-05-24T07:44:47.917" Title="How to collect and view prices in the Experience Profile Commerce tab in another currency?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18895" PostTypeId="2" ParentId="18888" CreationDate="2019-05-23T14:56:49.180" Score="1" Body="&lt;p&gt;When you want to modify the output of a particular field, your best bet is to override the &lt;code&gt;renderField&lt;/code&gt; processor of the field type you're targeting.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;renderField&amp;gt;&#xA;  ...&#xA;  &amp;lt;processor type=&quot;Sitecore.Pipelines.RenderField.GetImageFieldValue, Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Create a new class that inherits from the existing class:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomGetImageFieldValue : Sitecore.Pipelines.RenderField.GetImageFieldValue&#xA;{&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Then override the &lt;code&gt;SetRenderFieldResult&lt;/code&gt; method:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomGetImageFieldValue : Sitecore.Pipelines.RenderField.GetImageFieldValue&#xA;{&#xA;  protected override void SetRenderFieldResult(RenderFieldResult result, RenderFieldArgs args)&#xA;  {&#xA;    args.Result.FirstPart = result.FirstPart; // set a breakpoint and see if this contains the markup you want to target&#xA;    args.Result.LastPart = result.LastPart; // set a breakpoint and see if this contains the markup you want to target&#xA;    args.WebEditParameters.AddRange((SafeDictionary&amp;lt;string, string&amp;gt;) args.Parameters);&#xA;    args.DisableWebEditContentEditing = true;&#xA;    args.DisableWebEditFieldWrapping = true;&#xA;    args.WebEditClick = &quot;return Sitecore.WebEdit.editControl($JavascriptParameters, 'webedit:chooseimage')&quot;;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note: You will need to check whether &lt;code&gt;FirstPart&lt;/code&gt; or &lt;code&gt;LastPart&lt;/code&gt; has the content you're targeting. Make modifications and save it to the &lt;code&gt;args.Result&lt;/code&gt; object. As always, add proper conditions, exit early, etc.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Patch in changes:&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;renderField&amp;gt;&#xA;  &amp;lt;processor patch:instead=&quot;*[@type='Sitecore.Pipelines.RenderField.GetImageFieldValue, Sitecore.Kernel']&quot; type=&quot;Custom.CustomGetImageFieldValue , Custom&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-05-23T14:56:49.180" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18898" PostTypeId="1" CreationDate="2019-05-23T15:24:35.913" Score="0" ViewCount="531" Body="&lt;p&gt;Upgraded the sitecore 8.1 to 9.1 and sometimes while clicking the item , gor the runtime error , &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error:ManagedPoolThread #6 10:10:44 ERROR Exception processing remote events from database: master&#xA;&#xA;Exception: System.Data.SqlClient.SqlException&#xA;&#xA;Message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&#xA;&#xA;Source: .Net SqlClient Data Provider&#xA;&#xA;at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)&#xA;&#xA;at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)&#xA;&#xA;at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&#xA;&#xA;at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;&#xA;at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;&#xA;at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;&#xA;at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="3866" LastEditDate="2019-05-23T15:31:28.237" LastActivityDate="2019-05-23T15:31:28.237" Title="Runtime error while clicking the items in sitecore" Tags="|sitecore-client|upgrade|error-handling|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18900" PostTypeId="2" ParentId="18890" CreationDate="2019-05-23T18:41:31.293" Score="0" Body="&lt;p&gt;Well, it should be configured on all indexed where you want to use predictions. If you are still developing your website or styling it you are probably using the master database in editor preview mode. If you would like to have the preductions show there update core for &lt;code&gt;sxa_master_index&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your website is ready (no more development or need to have predictions working in the editor or preview mode) configure it only on the core used for &lt;code&gt;sxa_web_index&lt;/code&gt; (or any other core which you are using on your CD server).&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-23T18:41:31.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18901" PostTypeId="2" ParentId="13686" CreationDate="2019-05-23T20:00:34.393" Score="2" Body="&lt;p&gt;Sitecore support finally responded that this is being caused by the shared session timing out before the private session for the problem contacts. The following were the suggested solutions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Upgrade to Sitecore 9.x. In this version the visit counter no longer depends on sessions - and this is the most reliable solution I can see at this moment.&lt;/li&gt;&#xA;&lt;li&gt;Try to increase shared session timeout. This will help ensuring that the shared session expires after the private one, and also this is the quickest possible workaround.&lt;/li&gt;&#xA;&lt;li&gt;Find a way to fix the existing problematic contacts and perform this operation on a scheduled basis.This way the new contacts will be affected by the problem until the process for fixing such contacts is started. This process will require direct modifications of the mongoDB, which is a bit risky.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;None have been confirmed as a resolution yet. We have had other concerns and no time to work on it.&lt;/p&gt;&#xA;" OwnerUserId="3761" LastActivityDate="2019-05-23T20:00:34.393" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18904" PostTypeId="1" CreationDate="2019-05-24T00:22:48.240" Score="1" ViewCount="281" Body="&lt;p&gt;I am upgrading from &lt;code&gt;Sitecore.NET 8.2 (rev. 161221) to Sitecore 9.1 update-1&lt;/code&gt;. I followed the sitecore guide to upgrading. As per the guide, I ran the database upgrade scripts on &lt;code&gt;master, web and core database&lt;/code&gt;. The script contains the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Shadows]') AND type in (N'U'))&#xA;DROP TABLE [dbo].[Shadows]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After running the script there is a step to run the .update file which analyse all the changes. I am seeing lot of these errors in the analyze part:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Error installing 'addeditems/master/sitecore/templates/list manager/listoperation_{e83e0792-d9be-49d8-b7e2-80a6cc2d1836}'. More info&#xA;&#xA;&#xA;    Some of the installation operations cannot be performed.&#xA;    An exception occured when trying to install 'addeditems/master/sitecore/templates/list manager/listoperation_{e83e0792-d9be-49d8-b7e2-80a6cc2d1836}'.&#xA;    Details: System.Exception: Invalid object name 'Shadows'. ---&amp;gt; System.Data.DataException: &#xA;Error executing SQL command: SELECT [TargetID], [ProxyID] FROM [Shadows] WHERE [ShadowID] = @proxyId ---&amp;gt; System.Data.SqlClient.SqlException: &#xA;Invalid object name 'Shadows'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The database upgrade script has actually removed that table from a database. I am not sure then why package analyze step is complaining about this table missing from the database. &lt;/p&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="5387" LastEditDate="2019-06-05T00:52:58.287" LastActivityDate="2019-06-05T00:52:58.287" Title="Sitecore upgrade System.Exception Message: Invalid object name 'Shadows'. Source: Sitecore.Kernel" Tags="|upgrade|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18905" PostTypeId="1" AcceptedAnswerId="18911" CreationDate="2019-05-24T00:40:33.477" Score="1" ViewCount="58" Body="&lt;p&gt;So, I've set it up so that a given role can create new users and assign them roles.  What I really would like to do is to restrict which roles that role can assign.  Is there a way to do this?  If it's necessary I can set it up so that no users (other than administrators) could assign roles other than a selected handful that I would like them to assign, but specifying a certain role that has those restrictions would be preferable.&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-05-24T07:12:48.307" Title="Restricting which roles a role can assign" Tags="|role-management|user-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18909" PostTypeId="1" CreationDate="2019-05-24T06:56:53.183" Score="-1" ViewCount="79" Body="&lt;p&gt;Client is complaining regarding slowness of the Sitecore &lt;code&gt;media library&lt;/code&gt;, activities like opening media folder, uploading image, saving image, using media in &lt;code&gt;Experience editor&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before making any changes, we would like to measure current performance. Is there any tool online or &lt;code&gt;marketplace&lt;/code&gt; which can help us to measure time of the activities performed in &lt;code&gt;media library&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.   &lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="5096" LastEditDate="2019-05-24T20:58:50.150" LastActivityDate="2019-06-23T21:01:45.277" Title="How to calculate time for Sitecore media library activities?" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18910" PostTypeId="2" ParentId="18909" CreationDate="2019-05-24T07:08:18.677" Score="0" Body="&lt;p&gt;As far as I know there is no such a tool which would specifically measure performance of activities in media library. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use tools like &lt;code&gt;JetBrains dotTrace profiler&lt;/code&gt; to measure performance of any .net application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From my experience, if you have issues with performance of media library dialogs, most probably it's related to Sitecore facets (image from Sitecore documentation - link below):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fLUmn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fLUmn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Select Media dialog facets are defined in the core database under the &lt;code&gt;/sitecore/client/Applications/Dialogs/SelectMediaDialog/PageSettings/Facets&lt;/code&gt; folder and can be disabled by deleting the correspondent items.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Read more in the article &lt;strong&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/576214&quot; rel=&quot;nofollow noreferrer&quot;&gt;Using faceting feature might lead to high memory usage or site outage&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if uploading of new media items takes long, there is high probability it's related to media indexing. You may think about using &lt;code&gt;intervalAsyncMaster&lt;/code&gt; indexing strategy for &lt;code&gt;sitecore_master_index&lt;/code&gt;. Good idea may be to set &lt;code&gt;CheckForThreshold&lt;/code&gt; value to &lt;code&gt;false&lt;/code&gt;. Otherwise full index rebuild will be scheduled if many items were changed in &lt;code&gt;master&lt;/code&gt; database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;intervalAsyncMaster type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.IntervalAsynchronousStrategy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;interval&quot;&amp;gt;00:00:05&amp;lt;/param&amp;gt;&#xA;  &amp;lt;CheckForThreshold&amp;gt;false&amp;lt;/CheckForThreshold&amp;gt;&#xA;&amp;lt;/intervalAsyncMaster&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-05-24T07:17:34.890" LastActivityDate="2019-05-24T07:17:34.890" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18911" PostTypeId="2" ParentId="18905" CreationDate="2019-05-24T07:12:48.307" Score="4" Body="&lt;p&gt;You can't directly set permissions to restrict user to only be able to add certain roles. But you can use Sitecore local managed domain to sort of workaround this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically, you would have&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;One or more Locally managed Domain&lt;/li&gt;&#xA;&lt;li&gt;Within each local domain, the user with local administrator role can only assign it's own domain level roles to a user.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Local Administrator&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore local administrators can log in to Sitecore and manage the&#xA;  security applications (including assigning security) within that&#xA;  domain. A local administrator cannot create domains or associate&#xA;  domains to users.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Some links that might be helpful&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/create-and-set-up-a-role.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Roles Creation&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-security-roles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Local Administrator Role&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/security-domains.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Locally managed domain&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-05-24T07:12:48.307" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18912" PostTypeId="1" AcceptedAnswerId="18914" CreationDate="2019-05-24T07:26:47.707" Score="4" ViewCount="359" Body="&lt;p&gt;I have installed Sitecore 9.1.0 XP and Experience Commerce 9.1.0.&#xA;Now I am trying to uninstall Sitecore Experience Commerce.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any script to achieve this ? or uninstalling XP also uninstalls Sitecore Experience Commerce?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance for any support.&lt;/p&gt;&#xA;" OwnerUserId="4763" LastEditorUserId="2056" LastEditDate="2019-05-24T17:47:35.860" LastActivityDate="2019-05-24T21:04:12.550" Title="Uninstall Sitecore Commerce 9.1.0" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18914" PostTypeId="2" ParentId="18912" CreationDate="2019-05-24T07:43:13.030" Score="6" Body="&lt;p&gt;Please Use the below script to uninstall sitecore commerce. &#xA;Replace the parameters that match with your instance parameters.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters&#xA;Param(&#xA;    [string]$Prefix = 'SiteInstanceName',   &#xA;    [string]$CommerceOpsSiteName = 'CommerceOps_Sc910',&#xA;    [string]$CommerceShopsSiteName = 'CommerceShops_Sc910',&#xA;    [string]$CommerceAuthoringSiteName = 'CommerceAuthoring_Sc910',&#xA;    [string]$CommerceMinionsSiteName = 'CommerceMinions_Sc910',&#xA;    [string]$SitecoreBizFxSiteName = 'SitecoreBizFx',&#xA;    [string]$SitecoreIdentityServerSiteName = 'SitecoreIdentityServer',&#xA;    [string]$SolrService = 'Solr-7.2.1',&#xA;    [string]$PathToSolr = 'C:\Solr\Solr-7.2.1',&#xA;    [string]$SqlServer = 'DESKTOP\SQLEXPRESS',&#xA;    [string]$SqlAccount = 'sa',&#xA;    [string]$SqlPassword = 'sa5'&#xA;)&#xA;#Write-TaskHeader function modified from SIF&#xA;Function Write-TaskHeader {&#xA;    param(&#xA;        [Parameter(Mandatory=$true)]&#xA;        [string]$TaskName,&#xA;        [Parameter(Mandatory=$true)]&#xA;        [string]$TaskType&#xA;    )&#xA;&#xA;    function StringFormat {&#xA;        param(&#xA;            [int]$length,&#xA;            [string]$value,&#xA;            [string]$prefix = '',&#xA;            [string]$postfix = '',&#xA;            [switch]$padright&#xA;        )&#xA;&#xA;        # wraps string in spaces so we reduce length by two&#xA;        $length = $length - 2 #- $postfix.Length - $prefix.Length&#xA;        if($value.Length -gt $length){&#xA;            # Reduce to length - 4 for elipsis&#xA;            $value = $value.Substring(0, $length - 4) + '...'&#xA;        }&#xA;&#xA;        $value = &quot; $value &quot;&#xA;        if($padright){&#xA;            $value = $value.PadRight($length, '*')&#xA;        } else {&#xA;            $value = $value.PadLeft($length, '*')&#xA;        }&#xA;&#xA;        return $prefix + $value + $postfix&#xA;    }&#xA;&#xA;    $actualWidth = (Get-Host).UI.RawUI.BufferSize.Width&#xA;    $width = $actualWidth - ($actualWidth % 2)&#xA;    $half = $width / 2&#xA;&#xA;    $leftString = StringFormat -length $half -value $TaskName -prefix '[' -postfix ':'&#xA;    $rightString = StringFormat -length $half -value $TaskType -postfix ']' -padright&#xA;&#xA;    $message = ($leftString + $rightString)&#xA;    Write-Host ''&#xA;    Write-Host $message -ForegroundColor 'Red'&#xA;}&#xA;&#xA;Function Remove-Service{&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [string]$serviceName&#xA;    )&#xA;    if(Get-Service &quot;My Service&quot; -ErrorAction SilentlyContinue){&#xA;        sc.exe delete $serviceName&#xA;    }&#xA;}&#xA;&#xA;Function Remove-Website{&#xA;    [CmdletBinding()]&#xA;    param(&#xA;        [string]$siteName       &#xA;    )&#xA;&#xA;    $appCmd = &quot;C:\windows\system32\inetsrv\appcmd.exe&quot;&#xA;    &amp;amp; $appCmd delete site $siteName&#xA;}&#xA;&#xA;Function Remove-AppPool{&#xA;    [CmdletBinding()]&#xA;    param(      &#xA;        [string]$appPoolName&#xA;    )&#xA;&#xA;    $appCmd = &quot;C:\windows\system32\inetsrv\appcmd.exe&quot;&#xA;    &amp;amp; $appCmd delete apppool $appPoolName&#xA;}&#xA;&#xA;#Stop Solr Service&#xA;Write-TaskHeader -TaskName &quot;Solr Services&quot; -TaskType &quot;Stop&quot;&#xA;Write-Host &quot;Stopping solr service&quot;&#xA;Stop-Service $SolrService -Force -ErrorAction stop&#xA;Write-Host &quot;Solr service stopped successfully&quot;&#xA;&#xA;#Delete solr cores&#xA;Write-TaskHeader -TaskName &quot;Solr Services&quot; -TaskType &quot;Delete Cores&quot;&#xA;Write-Host &quot;Deleting Solr Cores&quot;&#xA;$pathToCores = &quot;$pathToSolr\server\solr\$Prefix*&quot;&#xA;Remove-Item $pathToCores -recurse -force -ErrorAction stop&#xA;Write-Host &quot;Solr Cores deleted successfully&quot;&#xA;&#xA;#Remove Sites and App Pools from IIS&#xA;Write-TaskHeader -TaskName &quot;Internet Information Services&quot; -TaskType &quot;Remove Websites&quot;&#xA;&#xA;&#xA;Write-Host &quot;Deleting Website $CommerceOpsSiteName&quot;&#xA;Remove-Website -siteName $CommerceOpsSiteName -ErrorAction stop&#xA;Write-Host &quot;Websites deleted&quot;&#xA;&#xA;Write-Host &quot;Deleting Website $CommerceShopsSiteName&quot;&#xA;Remove-Website -siteName $CommerceShopsSiteName -ErrorAction stop&#xA;Write-Host &quot;Websites deleted&quot;&#xA;&#xA;Write-Host &quot;Deleting Website $CommerceAuthoringSiteName&quot;&#xA;Remove-Website -siteName $CommerceAuthoringSiteName -ErrorAction stop&#xA;Write-Host &quot;Websites deleted&quot;&#xA;&#xA;Write-Host &quot;Deleting Website $CommerceMinionsSiteName &quot;&#xA;Remove-Website -siteName $CommerceMinionsSiteName  -ErrorAction stop&#xA;Write-Host &quot;Websites deleted&quot;&#xA;&#xA;Write-Host &quot;Deleting Website $SitecoreBizFxSiteName&quot;&#xA;Remove-Website -siteName $SitecoreBizFxSiteName -ErrorAction stop&#xA;Write-Host &quot;Websites deleted&quot;&#xA;&#xA;Write-Host &quot;Deleting Website $SitecoreIdentityServerSiteName&quot;&#xA;Remove-Website -siteName $SitecoreIdentityServerSiteName -ErrorAction stop&#xA;Write-Host &quot;Websites deleted&quot;&#xA;&#xA;&#xA;&#xA;Remove-AppPool -appPoolName $CommerceOpsSiteName -ErrorAction stop&#xA;Write-Host &quot;Application pools deleted&quot;&#xA;Remove-AppPool -appPoolName $CommerceShopsSiteName -ErrorAction stop&#xA;Write-Host &quot;Application pools deleted&quot;&#xA;Remove-AppPool -appPoolName $CommerceAuthoringSiteName -ErrorAction stop&#xA;Write-Host &quot;Application pools deleted&quot;&#xA;Remove-AppPool -appPoolName $CommerceMinionsSiteName -ErrorAction stop&#xA;Write-Host &quot;Application pools deleted&quot;&#xA;Remove-AppPool -appPoolName $SitecoreBizFxSiteName -ErrorAction stop&#xA;Write-Host &quot;Application pools deleted&quot;&#xA;Remove-AppPool -appPoolName $SitecoreIdentityServerSiteName -ErrorAction stop&#xA;&#xA;&#xA;Remove-Item C:\inetpub\wwwroot\$CommerceOpsSiteName -recurse -force -ErrorAction stop&#xA;Write-Host &quot;Websites removed from wwwroot&quot;&#xA;Remove-Item C:\inetpub\wwwroot\$CommerceShopsSiteName -recurse -force -ErrorAction stop&#xA;Write-Host &quot;Websites removed from wwwroot&quot;&#xA;Remove-Item C:\inetpub\wwwroot\$CommerceAuthoringSiteName -recurse -force -ErrorAction stop&#xA;Write-Host &quot;Websites removed from wwwroot&quot;&#xA;Remove-Item C:\inetpub\wwwroot\$CommerceMinionsSiteName -recurse -force -ErrorAction stop&#xA;Write-Host &quot;Websites removed from wwwroot&quot;&#xA;Remove-Item C:\inetpub\wwwroot\$SitecoreBizFxSiteName -recurse -force -ErrorAction stop&#xA;Write-Host &quot;Websites removed from wwwroot&quot;&#xA;Remove-Item C:\inetpub\wwwroot\$SitecoreIdentityServerSiteName -recurse -force -ErrorAction stop&#xA;Write-Host &quot;Websites removed from wwwroot&quot;&#xA;&#xA;&#xA;Write-TaskHeader -TaskName &quot;SQL Server&quot; -TaskType &quot;Drop Databases&quot;&#xA;#Drop databases from SQL&#xA;Write-Host &quot;Dropping databases from SQL server&quot;&#xA;push-location&#xA;import-module sqlps&#xA;&#xA;Write-Host $(&quot;Dropping database SitecoreCommerce9_Global&quot;)&#xA;$commerceDbPrefix = $(&quot;DROP DATABASE IF EXISTS [SitecoreCommerce9_Global]&quot;)&#xA;Write-Host $(&quot;Query: $($commerceDbPrefix)&quot;)&#xA;invoke-sqlcmd -ServerInstance $SqlServer -U $SqlAccount -P $SqlPassword -Query $commerceDbPrefix -ErrorAction stop&#xA;&#xA;Write-Host $(&quot;Dropping database [SitecoreCommerce9_SharedEnvironments]&quot;)&#xA;$sharedDbPrefix = $(&quot;DROP DATABASE IF EXISTS [SitecoreCommerce9_SharedEnvironments]&quot;)&#xA;Write-Host $(&quot;Query: $($sharedDbPrefix)&quot;)&#xA;invoke-sqlcmd -ServerInstance $SqlServer -U $SqlAccount -P $SqlPassword -Query $sharedDbPrefix -ErrorAction stop&#xA;&#xA;&#xA;Write-Host &quot;Databases dropped successfully&quot;&#xA;pop-location&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4765" LastActivityDate="2019-05-24T07:43:13.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18915" PostTypeId="2" ParentId="18891" CreationDate="2019-05-24T07:44:47.917" Score="3" Body="&lt;p&gt;If you want to change currency for &lt;strong&gt;Experience Profile reports&lt;/strong&gt; you need to patch &lt;code&gt;Commerce.ExperienceProfile.ReportingCurrencyCode&lt;/code&gt; setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Commerce.ExperienceProfile.ReportingCurrencyCode&quot; set:value=&quot;EUR&quot;/&amp;gt;&#xA;      &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want to change currency for &lt;strong&gt;Experience Analytics reports&lt;/strong&gt; you need to patch &lt;code&gt;Commerce.ExperienceAnalytics.ReportingCurrencyCode&lt;/code&gt; setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Commerce.ExperienceAnalytics.ReportingCurrencyCode&quot; set:value=&quot;EUR&quot;/&amp;gt;&#xA;      &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PrQYM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PrQYM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-05-24T07:44:47.917" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18916" PostTypeId="1" CreationDate="2019-05-24T08:48:03.280" Score="1" ViewCount="125" Body="&lt;p&gt;I have hosted two sites in single sitecore instance. Is it possible to add a custom &#xA;filter in the experience profile faceted search to getting the contact details of each site separately.&lt;/p&gt;&#xA;" OwnerUserId="5572" LastActivityDate="2019-05-24T08:48:03.280" Title="custom filter in experience profile faceted search" Tags="|experience-profile|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18918" PostTypeId="1" AcceptedAnswerId="18921" CreationDate="2019-05-24T10:39:21.300" Score="4" ViewCount="266" Body="&lt;p&gt;I have installed &lt;code&gt;Sitecore 9.1.0 XP&lt;/code&gt; on my system with &lt;code&gt;Solr 7.2.1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to install Sitecore 9.0.1 XP also on my system. Should I use &lt;code&gt;Solr 7.2.1&lt;/code&gt; for this or do I need &lt;code&gt;Solr 6.6.2&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="237" LastEditDate="2019-06-05T16:08:09.640" LastActivityDate="2019-06-05T16:08:09.640" Title="Sitecore 9.0 works with solr 7.2.1?" Tags="|solr|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18919" PostTypeId="2" ParentId="18918" CreationDate="2019-05-24T10:40:34.040" Score="1" Body="&lt;p&gt;It is not officially supported. Use &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;this table&lt;/a&gt; to check.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if it for you local instance you can use it. For example I have different version of Sitecore, but only 1 version of Solr. But don't do it on servers.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-05-24T10:40:34.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18921" PostTypeId="2" ParentId="18918" CreationDate="2019-05-24T10:50:32.100" Score="5" Body="&lt;p&gt;Solr 7.2.1 is not supported by Sitecore 9.0.1 officially.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But does it mean Sitecore 9.0.1 will not work with Solr 7.2.1? No, it doesn't. It means that Sitecore 9.0.1 is not officially tested against that version. And it means that if you will use Solr 7.2.1 with Sitecore 9.0.1 and you experience any issues, Sitecore Support will be allowed to tell you &quot;Sorry, but you're using unsupported version of Solr&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know about plenty of projects running on &lt;strong&gt;newer Solr versions&lt;/strong&gt; than are supported officially and they do work well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So should you use 7.2.1 for your second project or install 6.6.2? One good answer does not exist. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is the compatibilitya fragment of table which is mentioned by @Anton in his answer (table copied from the Sitecore documentation site):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QmOzJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QmOzJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-05-24T11:01:14.250" LastActivityDate="2019-05-24T11:01:14.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18922" PostTypeId="2" ParentId="18918" CreationDate="2019-05-24T10:53:18.617" Score="2" Body="&lt;p&gt;I suggest to install Solr 6.6.2 on you local system and run it on different port.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr 6.6.2 is compatible with Sitecore 9.0.1 XP and it will not break other Sitecore instances on your env.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-05-24T10:53:18.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18924" PostTypeId="2" ParentId="12385" CreationDate="2019-05-24T11:45:50.643" Score="1" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the script&#xA;&lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/CXA - Internal/Web API/CreateDefaultStorefrontTenantAndSite&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the following snippet before Function &lt;code&gt;CreateCXATenant&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;Function Write-Progress {&#xA;        [CmdletBinding()]&#xA;        param(&#xA;        [Parameter(Mandatory = $false)]&#xA;        $Activity,&#xA;        [Parameter(Mandatory = $false)]&#xA;        $CurrentOperation,&#xA;        [Parameter(Mandatory = $false)]&#xA;        $Status,&#xA;        [Parameter(Mandatory = $false)]&#xA;        $PercentComplete,&#xA;        [Parameter(Mandatory = $false)]&#xA;        [switch]$Completed)&#xA;        process {&#xA;        # do nothing&#xA;         }&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Save your change and run the script in Sitecore Powershell will resolve the issue.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Please follow the below link for detailed information:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;http://andrewsutherland.azurewebsites.net/2019/05/01/installing-sitecore-experience-commerce-9-1-with-default-storefront-tenant-and-site/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://andrewsutherland.azurewebsites.net/2019/05/01/installing-sitecore-experience-commerce-9-1-with-default-storefront-tenant-and-site/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4021" LastEditorUserId="4021" LastEditDate="2020-07-16T05:01:44.220" LastActivityDate="2020-07-16T05:01:44.220" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18925" PostTypeId="2" ParentId="18912" CreationDate="2019-05-24T13:21:13.433" Score="0" Body="&lt;p&gt;Additionally, if you need to blow away both XP &lt;strong&gt;and&lt;/strong&gt; XC and start fresh, please check out the batch file linked to at the bottom of my &lt;a href=&quot;https://sitecorematt.blogspot.com/2019/05/installing-sitecore-xc-91.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt;. Contents of the batch file below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;REM *****************************************************&#xA;REM This assumes the default and/or recommended names and directories for the Services, Sites, AppPools, etc. Your mileage may vary.&#xA;REM &#xA;REM After running this script, it is recommended you manually (and carefully) delete any certificates issued by DO_NOT_TRUST_SitecoreRootCert in the following stores:&#xA;REM     Current User\Trusted Root Certification Authorities\Certificates&#xA;REM     Local Computer\Personal\Certificates&#xA;REM     Local Computer\Trusted Root Certification Authorities\Certificates&#xA;REM&#xA;REM *****************************************************&#xA;&#xA;&#xA;@ECHO OFF&#xA;&#xA;sc stop XP0.xconnect-MarketingAutomationService&#xA;sc stop XP0.xconnect-ProcessingEngineService&#xA;sc stop XP0.xconnect-IndexWorker&#xA;sc stop Solr-7.2.1&#xA;&#xA;IISRESET /STOP&#xA;&#xA;sc delete XP0.xconnect-MarketingAutomationService&#xA;sc delete XP0.xconnect-ProcessingEngineService&#xA;sc delete XP0.xconnect-IndexWorker&#xA;&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete site XP0.identityserver&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete site XP0.xconnect&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete site XP0.sc&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete site CommerceAuthoring_Sc9&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete site CommerceMinions_Sc9&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete site CommerceOps_Sc9&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete site CommerceShops_Sc9&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete site SitecoreBizFx&#xA;&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete apppool XP0.identityserver&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete apppool XP0.xconnect&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete apppool XP0.sc&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete apppool CommerceAuthoring_Sc9&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete apppool CommerceMinions_Sc9&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete apppool CommerceOps_Sc9&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete apppool CommerceShops_Sc9&#xA;C:\Windows\System32\inetsrv\appcmd.exe delete apppool SitecoreBizFx&#xA;&#xA;RD C:\inetpub\wwwroot\XP0.identityserver /S /Q&#xA;RD C:\inetpub\wwwroot\XP0.xconnect /S /Q&#xA;RD C:\inetpub\wwwroot\XP0.sc /S /Q&#xA;RD C:\inetpub\wwwroot\CommerceAuthoring_Sc9 /S /Q&#xA;RD C:\inetpub\wwwroot\CommerceMinions_Sc9 /S /Q&#xA;RD C:\inetpub\wwwroot\CommerceOps_Sc9 /S /Q&#xA;RD C:\inetpub\wwwroot\CommerceShops_Sc9 /S /Q&#xA;RD C:\inetpub\wwwroot\SitecoreBizFx /S /Q&#xA;&#xA;sqlcmd -Q &quot;drop database [XP0_MarketingAutomation]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Messaging]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Processing.Pools]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_ProcessingEngineStorage]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_ProcessingEngineTasks]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_ReferenceData]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Reporting]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Xdb.Collection.Shard0]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Xdb.Collection.Shard1]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Xdb.Collection.ShardMapManager]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Core]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Master]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Web]&quot;&#xA;sqlcmd -Q &quot;drop database [SitecoreCommerce9_Global]&quot;&#xA;sqlcmd -Q &quot;drop database [SitecoreCommerce9_SharedEnvironments]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_EXM.Master]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_ExperienceForms]&quot;&#xA;sqlcmd -Q &quot;drop database [XP0_Processing.Tasks]&quot;&#xA;&#xA;sqlcmd -Q &quot;drop login [XP0_collectionuser]&quot;&#xA;sqlcmd -Q &quot;drop login [%COMPUTERNAME%\CSFndRuntimeUser]&quot;&#xA;&#xA;net user CSFndRuntimeUser /DELETE&#xA;&#xA;net stop MSSQLSERVER&#xA;&#xA;FOR /d %%i in (C:\solr-7.2.1\server\solr\XP0*.*) DO RD &quot;%%i&quot; /S /Q&#xA;FOR /d %%i in (C:\solr-7.2.1\server\solr\Sitecore*.*) DO RD &quot;%%i&quot; /S /Q &#xA;&#xA;DEL C:\Certificates\*.* /Q&#xA;DEL C:\Encryption-Keys\*.* /Q&#xA;&#xA;sc start Solr-7.2.1&#xA;net start MSSQLSERVER&#xA;iisreset /start&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The only thing it won't clean out automatically are the DO_NOT_TRUST certificates created through the XC installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good luck!&lt;/p&gt;&#xA;" OwnerUserId="815" LastEditorUserId="1542" LastEditDate="2019-05-24T21:04:12.550" LastActivityDate="2019-05-24T21:04:12.550" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18926" PostTypeId="1" AcceptedAnswerId="18927" CreationDate="2019-05-24T13:50:48.803" Score="5" ViewCount="628" Body="&lt;p&gt;Configuration: Sitecore 9.0.2, Azure PaaS&lt;/p&gt;&#xA;&lt;p&gt;As most of us know by now, &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/sitecore-azure-search-overview.html#UUID-dd8502fb-c712-f023-ed4b-e73c75e3c198_id__Limitations_of_Azure&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Search has a hard limit on the number of fields that can be added to an index (1000)&lt;/a&gt;. To resolve this issue in our environment, I developed the following patch file:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot; xmlns:role=&amp;quot;http://www.sitecore.net/xmlconfig/role/&amp;quot; xmlns:search=&amp;quot;http://www.sitecore.net/xmlconfig/search/&amp;quot;&amp;gt;&#xA;    &amp;lt;sitecore role:require=&amp;quot;Standalone or ContentDelivery or ContentManagement&amp;quot; search:require=&amp;quot;Azure&amp;quot;&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;            &amp;lt;configuration&amp;gt;&#xA;                &amp;lt;indexes&amp;gt;&#xA;                    &amp;lt;index id=&amp;quot;sitecore_master_index&amp;quot;&amp;gt;&#xA;                        &amp;lt;configuration&amp;gt;&#xA;                            &amp;lt;documentOptions ref=&amp;quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/documentOptions&amp;quot;&amp;gt;&#xA;                                &amp;lt;!-- We only want default fields in the core/master/web indexes on azure due to 1000 field limit  --&amp;gt;&#xA;                                &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;                                &amp;lt;!-- Fix sitecore 9 forms issue 229445 --&amp;gt;&#xA;                                &amp;lt;include hint=&amp;quot;list:AddIncludedField&amp;quot;&amp;gt;&#xA;                                    &amp;lt;isTemplate&amp;gt;{558F9307-EBAF-480D-88B5-DFE9E63A66DE}&amp;lt;/isTemplate&amp;gt;&#xA;                                    &amp;lt;hidden&amp;gt;{39C4902E-9960-4469-AEEF-E878E9C8218F}&amp;lt;/hidden&amp;gt;&#xA;                                &amp;lt;/include&amp;gt;&#xA;                                &amp;lt;include hint=&amp;quot;list:AddIncludedField&amp;quot;&amp;gt;&#xA;                                    &amp;lt;my_custom_field&amp;gt;{EA795E6C-46E5-48B0-ACDA-E7288A018646}&amp;lt;/my_custom_field&amp;gt;&#xA;                                    &amp;lt;!-- ... other fields omitted for brevity ... --&amp;gt;&#xA;                                &amp;lt;/include&amp;gt;&#xA;                            &amp;lt;/documentOptions&amp;gt;&#xA;                        &amp;lt;/configuration&amp;gt;&#xA;                    &amp;lt;/index&amp;gt;&#xA;                &amp;lt;/indexes&amp;gt;&#xA;            &amp;lt;/configuration&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;As you can see, I've disabled &lt;code&gt;indexAllFields&lt;/code&gt; and explicitly included only those that we need.&lt;/p&gt;&#xA;&lt;p&gt;However, when we run an index rebuild I'm still getting the below error in the logs:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;ERROR [Index=sitecore_master_index] Commit failed&lt;/p&gt;&#xA;&lt;p&gt;[...]&lt;/p&gt;&#xA;&lt;p&gt;Nested Exception&lt;/p&gt;&#xA;&lt;p&gt;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&lt;/p&gt;&#xA;&lt;p&gt;Message: {&amp;quot;error&amp;quot;:{&amp;quot;code&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;The request is invalid. Details: definition : Invalid index: The index contains 1004 leaf fields (fields of a non-complex type). An index can have at most 1000 leaf fields.\r\n&amp;quot;}}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I looked in Azure and confirmed that my index has many other fields that I haven't included in my config. Why are these fields still being added?&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-24T14:07:22.670" Title="Azure Search index including too many fields" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18927" PostTypeId="2" ParentId="18926" CreationDate="2019-05-24T13:50:48.803" Score="4" Body="&lt;h2&gt;Solution&lt;/h2&gt;&#xA;&lt;p&gt;Delete the existing Azure Search index (&lt;code&gt;sitecore-master-index&lt;/code&gt;, in this case) before rebuilding the index.&lt;/p&gt;&#xA;&lt;h2&gt;Why?&lt;/h2&gt;&#xA;&lt;p&gt;The rebuild process does not recreate the index (at least not initially) so if your index was already built with many other fields, it won't clear those out before building it fresh.&lt;/p&gt;&#xA;&lt;h2&gt;How&lt;/h2&gt;&#xA;&lt;p&gt;If you don't have Switch On Rebuild enabled, you can simply navigate to that index in your Azure portal and delete it.&lt;/p&gt;&#xA;&lt;p&gt;If you &lt;em&gt;do&lt;/em&gt; have Switch On Rebuild enabled, in order to minimize impact to your application, you should delete the index that is currently set to be secondary (known as the &amp;quot;rebuild&amp;quot; index). &lt;strong&gt;Note:&lt;/strong&gt; this does not mean simply deleting the &lt;code&gt;sitecore-master-index-secondary&lt;/code&gt; index; that could be the active one.&lt;/p&gt;&#xA;&lt;h3&gt;To figure out the current &amp;quot;rebuild&amp;quot; index&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open an Azure Query Editor instance to your core db (&lt;code&gt;*-core-db&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Run the below query:&#xA;&lt;pre&gt;&lt;code&gt;SELECT * FROM Properties&#xA;WHERE [Key] LIKE '%sitecore_master%_cloud_rebuild_index_name'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bhr1Y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bhr1Y.png&quot; alt=&quot;example results from query editor&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-24T13:50:48.803" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18928" PostTypeId="2" ParentId="15129" CreationDate="2019-05-24T13:53:30.893" Score="0" Body="&lt;p&gt;Have a look at this great post from Corey Smith, it explains how to create the packages and modules to setup the publishing service in Azure PaaS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.coreysmith.co/sitecore-publishing-service-deploy-to-azure-with-arm-templates/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.coreysmith.co/sitecore-publishing-service-deploy-to-azure-with-arm-templates/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-05-24T13:53:30.893" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18929" PostTypeId="1" CreationDate="2019-05-24T19:33:54.180" Score="0" ViewCount="3760" Body="&lt;p&gt;I'm trying to grab the id and/or url attribute of a general link rendering parameter in the view, but I can't seem to make it work.  I can't cast it to a Linkfield (it says it can't cast a string to a linkfield).  Is the only way to do this to manually parse through the link tag that is generated as the output for this general link in the view?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.Mvc.Presentation&#xA;@using Sitecore.Mvc&#xA;@using Sitecore.Data.Fields;&#xA;&#xA; @model RenderingModel&#xA;&#xA;&#xA;&amp;lt;h2&amp;gt;@RenderingContext.Current.Rendering.Parameters[&quot;Title&quot;]&quot;&amp;gt;&amp;lt;/h2&amp;gt;&#xA;&amp;lt;p&amp;gt;@RenderingContext.Current.Rendering.Parameters[&quot;Description&quot;]&quot;&amp;gt;&amp;lt;/p&amp;gt;&#xA;@{&#xA;var link = ((LinkField)@RenderingContext.Current.Rendering.Parameters[&quot;Feed or File Link&quot;]).GetFriendlyUrl();&#xA;}&#xA;&amp;lt;p&amp;gt;@link&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="1809" LastEditDate="2019-05-24T20:01:38.707" LastActivityDate="2019-05-27T02:32:51.887" Title="Retrieving url from general link field in rendering parameter" Tags="|mvc|links|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18930" PostTypeId="2" ParentId="18929" CreationDate="2019-05-24T20:57:55.177" Score="1" Body="&lt;p&gt;First of all, I don't think Rendering Parameters are right place for a &lt;code&gt;General Link&lt;/code&gt; field. They cannot be localized, so if your content authors will set some text of the link, it will be the same for all the languages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may try to use field like &lt;code&gt;Droplink&lt;/code&gt; if you don't need a title of your link and if you always want to select Sitecore item. Or maybe moving the field to datasource is an option?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you really really want to parse &lt;code&gt;Link Field&lt;/code&gt; value without using &lt;code&gt;LinkField&lt;/code&gt; class, find the sample code below. Be aware that this code is tested on 1 value only, so you may need to adapt it to your needs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LinkFieldParser&#xA;{&#xA;    private XmlDocument _xmlDocument;&#xA;&#xA;    public LinkFieldParser(string linkFieldValue)&#xA;    {&#xA;        if (!string.IsNullOrEmpty(linkFieldValue))&#xA;        {&#xA;            try&#xA;            {&#xA;                XmlDocument xmlDocument = new XmlDocument();&#xA;                xmlDocument.LoadXml(linkFieldValue);&#xA;                _xmlDocument = xmlDocument;&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Log.Error($&quot;Attempted to load invalid xml: '{linkFieldValue}'&quot;, ex, this);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    public string Url&#xA;    {&#xA;        get&#xA;        {&#xA;            if (_xmlDocument == null)&#xA;                return null;&#xA;&#xA;            switch (GetAttribute(&quot;linktype&quot;))&#xA;            {&#xA;                case &quot;internal&quot;:&#xA;                    var item = Sitecore.Context.Database.GetItem(GetAttribute(&quot;id&quot;));&#xA;                    return item != null ? LinkManager.GetItemUrl(item) : string.Empty;&#xA;                case &quot;media&quot;:&#xA;                    var mediaItem = Sitecore.Context.Database.GetItem(GetAttribute(&quot;id&quot;));&#xA;                    return mediaItem != null ? MediaManager.GetMediaUrl(mediaItem) : string.Empty;&#xA;                case &quot;anchor&quot;:&#xA;                    var anchor = GetAttribute(&quot;anchor&quot;);&#xA;                    return !string.IsNullOrEmpty(anchor) ? &quot;#&quot; + anchor : string.Empty;&#xA;                default:&#xA;                    return GetAttribute(&quot;url&quot;);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    public string GetAttribute(string name)&#xA;    {&#xA;        return _xmlDocument?.DocumentElement?.Attributes[name].Value.ToLower();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in your scenario you would use &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@(new LinkFieldParser(RenderingContext.Current.Rendering.Parameters[&quot;Feed or File Link&quot;]).Url)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-05-24T21:07:12.403" LastActivityDate="2019-05-24T21:07:12.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18932" PostTypeId="2" ParentId="18460" CreationDate="2019-05-24T22:21:08.467" Score="1" Body="&lt;p&gt;Usually this is due to an invalid Azure Search connection string, check for a typo in the service endpoint or in the associated parameters.&lt;/p&gt;&#xA;" OwnerUserId="365" LastEditorUserId="365" LastEditDate="2019-05-25T01:32:52.640" LastActivityDate="2019-05-25T01:32:52.640" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18933" PostTypeId="1" AcceptedAnswerId="18942" CreationDate="2019-05-25T07:39:43.050" Score="0" ViewCount="602" Body="&lt;p&gt;Recently &lt;code&gt;upgraded 8.1 to 9.1&lt;/code&gt; and installed Xconnect in a remote server, moved the certificates to the cm server, and added the connectionstrings as well, but facing an issue&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Data.SqlClient.SqlExceptionMessage: Login failed for user processingengineuser.&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.OpenAsync(CancellationToken cancellationToken)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Aggregation.History.SqlHistoryTaskDataProvider.&amp;lt;TryGetHistoryTaskAsync&amp;gt;d__18.MoveNext()&#xA;&#xA;&#xA;7388 03:24:31 ERROR Exception when executing agent aggregation/historyCompletionCheck&#xA;Exception: Sitecore.Analytics.Aggregation.History.HistoryTaskProviderException&#xA;Message: The unexpected error occurred during retrieval of the history task.&#xA;Source: Sitecore.Analytics.Sql&#xA;   at Sitecore.Analytics.Aggregation.History.SqlHistoryTaskDataProvider.&amp;lt;TryGetHistoryTaskAsync&amp;gt;d__18.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Aggregation.History.HistoryTaskManager.&amp;lt;VerifyTaskCompletionAsync&amp;gt;d__23.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Aggregation.Data.Processing.HistoryCompletionCheckAgent.&amp;lt;ExecuteCoreAsync&amp;gt;d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.Agent.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;ExecuteAgentAsync&amp;gt;d__22.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;RunAsync&amp;gt;d__26.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: Login failed for user 'processingengineuser'.&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Aggregation.History.SqlHistoryTaskDataProvider.&amp;lt;TryGetHistoryTaskAsync&amp;gt;d__18.MoveNext()&#xA;&#xA;&#xA;5424 03:24:31 ERROR Exception when executing agent aggregation/rebuildAgent&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: Login failed for user 'processingengineuser'.&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Aggregation.History.SqlRebuildProcessStateDataProvider.&amp;lt;GetStateAsync&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Aggregation.History.ReportingStorageManager.&amp;lt;ProcessRebuildAsync&amp;gt;d__27.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Aggregation.Data.Processing.RebuildAgent.&amp;lt;ExecuteCoreAsync&amp;gt;d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.Agent.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;ExecuteAgentAsync&amp;gt;d__22.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;RunAsync&amp;gt;d__26.MoveNext()&#xA;&#xA;8080 03:24:31 ERROR Exception when executing agent processing/taskAgent&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: Login failed for user 'processingengineuser'.&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)&#xA;   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.SqlTaskDataProvider.&amp;lt;GetProcessingTaskUsingRoutineAsync&amp;gt;d__51.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.SqlTaskDataProvider.&amp;lt;PickDeferredActionAsync&amp;gt;d__45.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.TaskQueue.&amp;lt;TryGetNextAsync&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.TaskAgent.&amp;lt;ExecuteCoreAsync&amp;gt;d__17.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.Agent.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;ExecuteAgentAsync&amp;gt;d__22.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;RunAsync&amp;gt;d__26.MoveNext()&#xA;&#xA;ManagedPoolThread #1 03:24:39 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;ManagedPoolThread #1 03:24:39 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;ManagedPoolThread #0 03:24:44 ERROR Could not update device detection database&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.CES.DeviceDetection&#xA;   at Sitecore.CES.DeviceDetection.Providers.FiftyOneDegrees.FiftyOneDeviceDetectionClient.GetNewerVersion()&#xA;   at Sitecore.CES.DeviceDetection.Providers.FiftyOneDegrees.FiftyOneDeviceDetectionClient.DoUpdate(String serviceName, String&amp;amp; newDatabasePath, String&amp;amp; newDatabaseVersion)&#xA;   at Sitecore.CES.DeviceDetection.Providers.DeviceDetectionClient.Update()&#xA;&#xA;ManagedPoolThread #0 03:24:44 INFO  Job ended: Update device detection DB (units processed: )&#xA;3636 03:24:46 INFO  Cache created: 'ExperienceAnalytics.Sites' (max size: 1MB, running total: 2997MB)&#xA;3636 03:24:46 INFO  Cache created: 'ReportingStorageProviderProperties.Properties' (max size: 10MB, running total: 3007MB)&#xA;4464 03:24:46 ERROR Exception when executing agent aggregation/pathAnalyzerLiveAgent&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)&#xA;   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.CallStaticMethod(String typeName, String methodName, Object[] parameters)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromFactoryMethod(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Analytics.Core.BackgroundService.CreateAgent()&#xA;   at Sitecore.Analytics.Core.BackgroundService.ExecuteAgent()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.Xdb.Processing.Queue.ProcessingPoolFactoryException&#xA;Message: The unexpected error occurred during creation of the processing pool.&#xA;Source: Sitecore.Xdb.Processing.Queue.SqlServer&#xA;   at Sitecore.Xdb.Processing.Queue.SqlServer.SqlServerProcessingPoolFactory.CreateProcessingPoolCore(GenericProcessingPoolDefinition poolDefinition, Guid poolId)&#xA;   at Sitecore.Xdb.Processing.Queue.SqlServer.SqlServerProcessingPoolFactory.CreateProcessingPool(GenericProcessingPoolDefinition poolDefinition)&#xA;   at Sitecore.PathAnalyzer.ApplicationContainer.GetOrCreateProcessingPool(Guid&amp;amp; processingPoolId)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.&#xA;Source: System.Data&#xA;   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.Open()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.&amp;lt;&amp;gt;c__DisplayClass1.&amp;lt;ExecuteAction&amp;gt;b__0()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)&#xA;   at Sitecore.Xdb.Processing.Queue.SqlServer.SqlServerProcessingPoolFactory.CreateProcessingPoolCore(GenericProcessingPoolDefinition poolDefinition, Guid poolId)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Dont know what is happening here&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MnlYi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MnlYi.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="251" LastEditDate="2020-12-07T12:56:18.400" LastActivityDate="2020-12-07T12:56:18.400" Title="Errors while installing xdb in remote server" Tags="|xdb|xconnect|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18934" PostTypeId="1" AcceptedAnswerId="18940" CreationDate="2019-05-25T08:41:58.357" Score="2" ViewCount="1585" Body="&lt;p&gt;I have created a Goal, deployed and published it. After that, I have applied the goal on the &lt;code&gt;Sitecore Media Item&lt;/code&gt;. I am working with &lt;code&gt;Sitecore 9 update 2&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;For More reference:&lt;/em&gt; &lt;a href=&quot;https://urbansitecore.blog/2017/10/25/how-to-track-pdf-download/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://urbansitecore.blog/2017/10/25/how-to-track-pdf-download/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;On selection of Media item, its downloaded pdf file but Goal is not reflected into the Experience Profile. I have written code for &lt;code&gt;Abandon&lt;/code&gt; the session as well. My questions are:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Does the Experience profile take time to display the goal? I have checked the user &lt;code&gt;Activity Tab &amp;gt; Goals&lt;/code&gt; in the Experience profile and &lt;code&gt;Conversions &amp;gt; Goals&lt;/code&gt; in Experience Analytics. The goal is not there.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If it takes time to display then How much time it will take or where I can Update/Set this time?&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In which XDB table it is going to be saved so that I can check it with &lt;code&gt;Shard0/1 Database&lt;/code&gt;?&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;User is not an Anonymous, it's a known user and I am able to see its data except Goal on the &lt;code&gt;Experience Profile tab&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;As per @Chris Auer Suggestion in the answer, able to see Goal information into the &lt;code&gt;[xdb_collection].[Interactions]&lt;/code&gt; table.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="73" LastEditDate="2021-07-21T07:36:24.713" LastActivityDate="2021-07-21T07:36:24.713" Title="How can I find out Triggered Goal on Sitecore Item" Tags="|xdb|experience-profile|marketing-automation|goals|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18936" PostTypeId="2" ParentId="18934" CreationDate="2019-05-25T11:13:24.393" Score="0" Body="&lt;p&gt;The Session needs to be ended then only the goals will appear.&#xA;This is because xDB data is not committed until after the user's session ends.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also Recycle the site from App pool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for more info. &#xA;&lt;a href=&quot;https://doc.sitecore.com/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/sitecore_experience_platform/setting_up__maintaining/xdb/session_state/session_state&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="4765" LastEditDate="2019-05-25T11:17:06.363" LastActivityDate="2019-05-25T11:17:06.363" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18939" PostTypeId="1" CreationDate="2019-05-25T21:29:47.920" Score="0" ViewCount="775" Body="&lt;p&gt;We recently upgraded to 9.1 and updated our glassmapper to 5.4.1.&#xA;After doing the upgrade and running our application I am getting this error.&#xA;We dont have any model definition in siteocre and this is our layout page. i have spent the better part of my 2 days trying to figure out the reason.&#xA;Any guidance on this would help.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;    Server Error in '/' Application.&#xA;    The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary&#xA; requires a model item of type MyProjectNameSpace.Model&#xA;   Description: An unhandled exception occurred. &#xA;    &#xA;   Exception Details: System.InvalidOperationException: The model item passed into the dictionary is of type&#xA; 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary&#xA; requires a model item of type MyProjectNameSpace.Model.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This is full error on the page.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Q8smu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q8smu.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;My Layout.Cshtml File has the following code :&#xA;( i tried both ways. line 3 / line 4)&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i9D7Q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i9D7Q.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Please ignore the error on my model name. i just changed it for the sake of screenshot. in reality it will have a proper namespace and model name.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Also this ishappening with new Glassmapper version. never had the issue with sitecore 8.1 and older version of GM.&lt;/p&gt;&#xA;" OwnerUserId="2396" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-27T14:43:36.667" Title="The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel'" Tags="|glass-mapper|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18940" PostTypeId="2" ParentId="18934" CreationDate="2019-05-26T03:41:38.430" Score="3" Body="&lt;h2&gt;When does is it written to xDB&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Like the other answers said, it is written when the session closes. The time it takes to be written is in the web.config, in the session config. In the xml below, it is the &lt;code&gt;timeout&lt;/code&gt;. This number is in minutes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;InProc&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot; sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you do not have to wait, you can create a page or controller that will close the session for you. Just run this code and it will cause the xDB data to be written right away.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Session.Abandon();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Where is it written&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The goal is written to the [xdb_collection].[Interactions] table in your shard databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you query the table you can see the interactions, you can see the goals.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT *&#xA;  FROM [Xdb.Collection.Shard0].[xdb_collection].[Interactions]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WNu2j.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WNu2j.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the JSON in that field, the JSON will look like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[&#xA;   {&#xA;      &quot;@odata.type&quot;:&quot;#Sitecore.XConnect.Goal&quot;,&#xA;      &quot;CustomValues&quot;:[&#xA;&#xA;      ],&#xA;      &quot;DefinitionId&quot;:&quot;82c4c49c-b6b2-4b02-8e2f-fbcba9f92fe4&quot;,&#xA;      &quot;EngagementValue&quot;:60,&#xA;      &quot;Id&quot;:&quot;335c92ce-5e36-4b13-9472-4940ad66e75f&quot;,&#xA;      &quot;Timestamp&quot;:&quot;2019-05-07T23:53:34.4268677Z&quot;&#xA;   }&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Is your test user anonymous?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;By default Sitecore does not track anonymous users. And if your test user is anonymous, you are not going to see them in Experience Profile to see the goal. See &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/enable-indexing-of-anonymous-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; for turning it on.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Toot my own horn&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/buildabonfire/Bonfire.Analytics.Dto&quot; rel=&quot;nofollow noreferrer&quot;&gt;I wrote a little tool&lt;/a&gt; that shows you in JSON what goals you have triggered in your current session and past sessions. You can find a 9.0.1 release. That should work with your 9.0.2 instance. When you trigger a goal in your session, you can just use an API to see what you triggered. It looks like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;   &quot;GoalsList&quot;:[&#xA;      {&#xA;         &quot;EngagementValue&quot;:5,&#xA;         &quot;Title&quot;:&quot;2nd Visit&quot;,&#xA;         &quot;Date&quot;:&quot;2019-04-23T01:13:43.8962374Z&quot;,&#xA;         &quot;IsCurrentVisit&quot;:false,&#xA;         &quot;Data&quot;:null&#xA;      },&#xA;   ],&#xA;   &quot;PastGoals&quot;:[&#xA;      {&#xA;         &quot;EngagementValue&quot;:5,&#xA;         &quot;Title&quot;:&quot;3rd Visit&quot;,&#xA;         &quot;Date&quot;:&quot;2019-04-23T01:45:01.34653Z&quot;,&#xA;         &quot;IsCurrentVisit&quot;:false,&#xA;         &quot;Data&quot;:null&#xA;      },&#xA;      {&#xA;         &quot;EngagementValue&quot;:5,&#xA;         &quot;Title&quot;:&quot;2nd Visit&quot;,&#xA;         &quot;Date&quot;:&quot;2019-05-14T03:43:12.6848242Z&quot;,&#xA;         &quot;IsCurrentVisit&quot;:false,&#xA;         &quot;Data&quot;:null&#xA;      },&#xA;      {&#xA;         &quot;EngagementValue&quot;:5,&#xA;         &quot;Title&quot;:&quot;2nd Visit&quot;,&#xA;         &quot;Date&quot;:&quot;2019-05-21T21:41:56.6825674Z&quot;,&#xA;         &quot;IsCurrentVisit&quot;:false,&#xA;         &quot;Data&quot;:null&#xA;      }&#xA;   ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code to get the current is this. You can see the code &lt;a href=&quot;https://github.com/buildabonfire/Bonfire.Analytics.Dto/blob/master/Bonfire.Analytics.Dto/Repositories/EventRepository.cs#L41&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public IEnumerable&amp;lt;PageEvent&amp;gt; GetCurrentGoals()&#xA;{&#xA;    var conversions = (from page in Tracker.Current.Interaction.GetPages()&#xA;        from pageEventData in page.PageEvents&#xA;         where pageEventData.IsGoal&#xA;         select pageEventData).ToList();&#xA;&#xA;     foreach (var cachedGoal in conversions)&#xA;     {&#xA;         var goal = GetGoalDefinition(cachedGoal.ItemId);&#xA;&#xA;         yield return new PageEvent&#xA;         {&#xA;             Title = goal?.Name ?? &quot;(Unknown)&quot;,&#xA;             Date = cachedGoal.DateTime,&#xA;             EngagementValue = goal?.EngagementValuePoints ?? 0,&#xA;             IsCurrentVisit = false,&#xA;             Data = cachedGoal.Data&#xA;         };&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-05-26T03:41:38.430" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18942" PostTypeId="2" ParentId="18933" CreationDate="2019-05-27T02:14:17.057" Score="3" Body="&lt;p&gt;First of all, make sure below role has below certificates installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Role - Content Management&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Certs-&#xA;Processing&#xA;Reporting&#xA;xConnect Collection&#xA;xConnect Collection Search&#xA;xDB Reference Data&#xA;xDB Automation Operations&#xA;xDB Automation Reporting&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Role- Content Delivery&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Certs-&#xA;Content Management&#xA;xConnect Collection&#xA;xDB Reference Data&#xA;xDB Automation Operations&#xA;xDB Automation Reporting&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Role-Processing&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Certs-&#xA;xConnect Collection&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if i look at your errors, it seems, there is something  wrong in your connection string for user - processingengineuser.&#xA;So first of all try to find this user connection string in all the roles specially in xconnectcolection and processing. And if you are able to find the connection string then make sure that this user has the access for that database atleast read,write and execute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4105" LastActivityDate="2019-05-27T02:14:17.057" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18943" PostTypeId="2" ParentId="18929" CreationDate="2019-05-27T02:32:51.887" Score="0" Body="&lt;p&gt;//you can use any other method to get item ex- database.getitem() &lt;/p&gt;&#xA;&#xA;&lt;p&gt;var item = _context.GetRenderingDatasource&amp;lt; ICircleTeaserItem&gt;();&lt;/p&gt;&#xA;&#xA;&lt;p&gt;//use below code to render the link - Button is my field name &lt;/p&gt;&#xA;&#xA;&lt;p&gt;string linkCssClass = &quot;link-arrow teaser-link-arrow&quot;;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;var link = new HtmlString(FieldRenderer.Render(item.InnerItem, &quot;Button&quot;, $&quot;class={linkCssClass}&quot;));&lt;/p&gt;&#xA;" OwnerUserId="4105" LastActivityDate="2019-05-27T02:32:51.887" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18944" PostTypeId="1" AcceptedAnswerId="19002" CreationDate="2019-05-27T04:33:36.053" Score="0" ViewCount="58" Body="&lt;p&gt;I am getting insufficient resources error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;net::ERR_INSUFFICIENT_RESOURCES&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;while upgrading to Sitecore 9.1.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts how to fix this error?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aEcBb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aEcBb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="2056" LastEditDate="2019-05-27T05:18:38.227" LastActivityDate="2019-05-29T04:08:00.743" Title="Insufficient resources error while upgrading to Sitecore 9.1.1" Tags="|sitecore-client|sitecore-commerce|upgrade|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18945" PostTypeId="1" CreationDate="2019-05-27T05:12:32.440" Score="-1" ViewCount="422" Body="&lt;p&gt;I've installed the publishing Service on my Xp0 environment. That works fine so far. Now I want to install it on my XP1 environment and in the installationguide for 3.1.3 for the publishing Service I've found some upgrade instruktions from 3.1.1 that I need to copy some files to my CD too. But I am not able to find any install instructions in the manual what I have to do on installation for the CD server. So I am a bit unsure what I have to do on the CD for the Publishing Service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OkX4H.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OkX4H.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2021-01-25T19:02:50.213" Title="Sitecore publishing service files for CD" Tags="|publishing-service|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18946" PostTypeId="1" CreationDate="2019-05-27T06:17:30.950" Score="1" ViewCount="190" Body="&lt;p&gt;We are using Sitecore 9.0.2 and SXA 1.7.1 and we are using Sitecore Redirect module . There are some Redirects in system which have query string Parameter like the example mentioned below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OLD URL:&lt;/strong&gt; &lt;code&gt;xxxx/yyy/page/19/?paged=20&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NEW URL:&lt;/strong&gt; &lt;code&gt;/aaaa/bbbbb&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since entering Query string is not allowed due to usage of the Name Value List field type for Mappings field and it allows keys containing letters and numbers due to the &lt;code&gt;Validate()&lt;/code&gt; method in it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way that we can use &lt;code&gt;IIS&lt;/code&gt; Redirects Rule to achieve this kind of functionality &lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="95" LastEditDate="2019-05-29T02:37:50.410" LastActivityDate="2019-06-28T03:03:15.350" Title="Redirect SXA site url matching query string using IIS Redirect Module" Tags="|sxa|url-rewrite|seo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18948" PostTypeId="1" AcceptedAnswerId="18957" CreationDate="2019-05-27T06:55:07.103" Score="0" ViewCount="503" Body="&lt;p&gt;As per link &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/personalization&quot; rel=&quot;nofollow noreferrer&quot;&gt;JSS Personalization&lt;/a&gt;, In a JSS site, there are several paths to collecting analytics like via &lt;code&gt;JSS Tracker&lt;/code&gt; and &lt;code&gt;Layout Service&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which one is better suite for this purpose? &lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-05-27T10:54:53.490" Title="Which need to choose JSS Tracker vs Layout Service for Personalization?" Tags="|jss|personalization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18949" PostTypeId="2" ParentId="18939" CreationDate="2019-05-27T07:09:32.933" Score="1" Body="&lt;p&gt;I think this issue may have been fixed in version 5.4.21 &lt;a href=&quot;http://www.glass.lu/Mapper/Releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/Mapper/Releases&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There was an error in how Glass was caching view types which has been resolved.  Can you update and see if this solves your issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Commit: &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/commit/b4d5bb156110f990ac67f4e2a9a3274bbcf14137&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/mikeedwards83/Glass.Mapper/commit/b4d5bb156110f990ac67f4e2a9a3274bbcf14137&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="464" LastEditorUserId="464" LastEditDate="2019-05-27T14:43:36.667" LastActivityDate="2019-05-27T14:43:36.667" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18950" PostTypeId="1" CreationDate="2019-05-27T07:58:18.783" Score="0" ViewCount="1443" Body="&lt;p&gt;Currently, we are having a hyperlink tag and the MVC action method is called directly from hyperlink as &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;a href=&quot;/api/sitecore/{controller Name}/{action Name}&quot;&amp;gt;&lt;/code&gt; &lt;strong&gt;Hyperlink Text&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While hovering on the &lt;strong&gt;hyperlink text&lt;/strong&gt; we are able to see the same link in the browser as &lt;code&gt;/api/sitecore/{controller Name}/{action Name}&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way where we can hide the word &lt;code&gt;Sitecore&lt;/code&gt; while calling the action method. So that while hovering also we will not be able to see it.&lt;/p&gt;&#xA;" OwnerUserId="1867" LastEditorUserId="5387" LastEditDate="2019-07-29T08:36:26.127" LastActivityDate="2019-07-29T08:36:26.127" Title="Any Best way to call the MVC action method from Hyperlink" Tags="|mvc|controller|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18951" PostTypeId="1" AcceptedAnswerId="18956" CreationDate="2019-05-27T08:16:06.163" Score="0" ViewCount="368" Body="&lt;p&gt;We are working on application using React JS for UI using Sitecore JSS. We are able to import the app into sitecore, could see content items created, published the website. &#xA;We can run the app (hosted on IIS) can see every thing working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If i want to host only the react js appl minus sitecore files, will that be possible? If yes please let me know the steps. It will be of great help?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers,&#xA;Kiran&lt;/p&gt;&#xA;" OwnerUserId="5516" LastEditorUserId="73" LastEditDate="2019-05-27T08:25:24.160" LastActivityDate="2019-05-27T10:17:04.703" Title="Publishing/Deploying React JS Sitecore JSS app" Tags="|jss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18952" PostTypeId="2" ParentId="18948" CreationDate="2019-05-27T08:54:13.890" Score="1" Body="&lt;p&gt;If you are talking about a JSS Website which use the Layout Services. Then Analytics Via Layout Service is the most logical way. No additional code is required, and marketers can set for example a goal in Sitecore. Instead of a developer having to do that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But both JSS Tracker and Layout Services have there one usage, because some thing are not going through the layout services. Think about GraphQL, cached in app, custom api's. or setting goals and event on places where that is not possible or desirable to do by content editors.&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-05-27T08:54:13.890" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18953" PostTypeId="1" CreationDate="2019-05-27T09:23:09.797" Score="5" ViewCount="160" Body="&lt;p&gt;After switching from Sitecore 8 to Sitecore 9, the workbox has another behaviour compare to previous version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you open an item in workbox the view for &quot;content tree&quot; is always disabled.&#xA;Even if you click that checkox and open another workbox item the tree is closed again&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wLbAE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wLbAE.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;does some one has a solution to always enable content tree for workbox items&lt;/p&gt;&#xA;" OwnerUserId="5366" LastEditorUserId="605" LastEditDate="2019-05-27T10:05:42.400" LastActivityDate="2020-03-16T11:40:10.517" Title="Workbox always hides content tree" Tags="|workbox|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18955" PostTypeId="1" AcceptedAnswerId="19361" CreationDate="2019-05-27T10:00:37.030" Score="3" ViewCount="313" Body="&lt;p&gt;I have a custom predicate which is used as a rule for a Custom Listener in Marketing Automation. It checks the value of a property in a custom event and, when it evaluates to True the journey proceeds with no issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When it evaluates to False, the contact appears to get stuck in the Custom Listener event and fails to move down the No path of the decision point. The contact goes through the first time, hits the False outcome, but does not then continue on the path. On subsequent retries, the contact throws an error on the following line of code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var interactions = context.Fact&amp;lt;Interaction&amp;gt;();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Prior to this, it successfully loads the contact from the context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This happens repeatedly on the evaluation of the predicate in the Custom Listener and the contact fails to then move through the No path of the journey.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What would cause this and how can I get the contact to move through the False/No path of the custom listener ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Platform is Sitecore 9.1 initial release, local dev.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE 1: it looks like the contact passes through the predicate, returns false to the Custom Listener, and then for some reason passes through again but with no interaction data. If I skip over it with a Try/Catch, the next Activity Type step fails when it tries to retrieve interactions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;UPDATE 2: Error thrown is &quot;No rule fact resolver could be found for Type:'Sitecore.XConnect.Interaction', Role:''.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Predicate code is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PipelineStage : ICondition&#xA;    {&#xA;        public string PipelineStageCode { get; set; }&#xA;&#xA;        public StringOperationType Comparison { get; set; }&#xA;&#xA;        // Evaluates condition for single contact&#xA;        public bool Evaluate(IRuleExecutionContext context)&#xA;        {&#xA;            try&#xA;            {&#xA;                if (PipelineStageCode != null &amp;amp;&amp;amp; Quote.IsValidPipelineStage(PipelineStageCode))&#xA;                {&#xA;                    var contact = context.Fact&amp;lt;Contact&amp;gt;();&#xA;                    var interactions = context.Fact&amp;lt;Interaction&amp;gt;();&#xA;&#xA;                    if (interactions != null &amp;amp;&amp;amp; interactions.Events != null &amp;amp;&amp;amp; interactions.Events.Any(e =&amp;gt; e.DefinitionId.Equals(Quote.EventDefinitionId)))&#xA;                    {&#xA;                        Quote quoteEvent = (Quote)interactions.Events.Where(e =&amp;gt; e.DefinitionId.Equals(Quote.EventDefinitionId)).OrderByDescending(e =&amp;gt; e.Timestamp).FirstOrDefault();&#xA;                        if (quoteEvent != null &amp;amp;&amp;amp; quoteEvent.PipelineStage.ToString().Equals(PipelineStageCode))&#xA;                            return true;&#xA;                    }&#xA;                }&#xA;                return false;&#xA;            }&#xA;            catch (Exception ex) {&#xA;                return false;&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2034" LastEditorUserId="2034" LastEditDate="2019-05-27T12:08:58.680" LastActivityDate="2019-06-13T10:43:28.347" Title="Marketing Automation Custom Listener with custom predicate fails to continue on the &quot;No&quot; path" Tags="|marketing-automation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18956" PostTypeId="2" ParentId="18951" CreationDate="2019-05-27T10:17:04.703" Score="1" Body="&lt;p&gt;Yes this is possible there are multiple JSS application modes. It is called the &lt;code&gt;Headless server-side rendering mode&lt;/code&gt; This is for running your app on any platform that supports node.js &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use the &lt;a href=&quot;https://github.com/Sitecore/jss/tree/dev/samples/node-headless-ssr-proxy&quot; rel=&quot;nofollow noreferrer&quot;&gt;sample&lt;/a&gt; app &#xA;It works as a HTTP proxy to the Sitecore server, proxying incoming requests to Layout Service, and then rendering the resultant JSON to HTML before returning it. &lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-05-27T10:17:04.703" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18957" PostTypeId="2" ParentId="18948" CreationDate="2019-05-27T10:54:53.490" Score="2" Body="&lt;h1&gt;JSS Tracking&lt;/h1&gt;&#xA;&lt;p&gt;JSS ships with an analytics tracking API that allows pushing Sitecore analytics events to the xDB based on client-side behavior in JSS apps. In a client-side app, we do not have access to the server-side APIs normally used to report analytics events to XConnect. &lt;em&gt;&lt;strong&gt;Instead&lt;/strong&gt;&lt;/em&gt;, the JSS Tracker API allows us to push analytics events, such as page/route views, events, goals, and outcomes, directly from the &lt;em&gt;&lt;strong&gt;client&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The JSS tracker comes installed but disabled by default when the JSS server components are installed. To enable the JSS tracker, patch the &lt;code&gt;Sitecore.JSS.TrackerServiceEnabled&lt;/code&gt; setting to true in a configuration patch file such as:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&amp;quot;Sitecore.JSS.TrackerServiceEnabled&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h1&gt;Layout Service&lt;/h1&gt;&#xA;&lt;p&gt;Layout Service requests are tracked on the &lt;em&gt;&lt;strong&gt;server-side&lt;/strong&gt;&lt;/em&gt; as a 'page view' just like a traditional Sitecore site would. This includes any goals, events, etc configured to be triggered by the &lt;em&gt;&lt;strong&gt;route item&lt;/strong&gt;&lt;/em&gt;. Requests to Layout Service will track a page view by default. This can be disabled by adding &lt;code&gt;tracking=false&lt;/code&gt; to the Layout Service request query string (configurable via the dataApi object in JSS apps). Disabling LS tracking may make sense if all page tracking is to be handled using the tracking API.&lt;/p&gt;&#xA;&lt;p&gt;As mentioned above &lt;code&gt;Layout Service&lt;/code&gt; by default can collect analytic data. But &lt;code&gt;JSS Tracking&lt;/code&gt;  we have to do enable setting, &lt;code&gt;JSS Tracking&lt;/code&gt; we have more control for collecting analytic data like use event etc.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;import { trackingApi } from '@sitecore-jss/sitecore-jss-tracking';&#xA;&#xA;const trackingApiOptions = {&#xA;  host: config.sitecoreApiHost,&#xA;  querystringParams: {&#xA;    sc_apikey: config.sitecoreApiKey,&#xA;  },&#xA;};&#xA;&#xA;trackingApi&#xA;  // note the events are an array - batching is supported&#xA;  .trackEvent([{ eventId: 'Download' }], trackingApiOptions)&#xA;  .then(() =&amp;gt; console.log('Page event pushed'))&#xA;  .catch((error) =&amp;gt; console.error(error));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Because Sitecore's session tracking is cookie-based, it is important to pass browser cookies to both API.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-27T10:54:53.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18958" PostTypeId="2" ParentId="18846" CreationDate="2019-05-27T11:08:54.980" Score="2" Body="&lt;p&gt;I wasn't able to find any way to work with the rendering rules directly in Sitecore Powershell Extensions, so I went driectly to the final renderings field and used the XML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The end result is this function (basic, no error handling etc):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt; Function CopyRenderingRules{&#xA;        [CmdletBinding()]&#xA;        param ( &#xA;            [Parameter(Mandatory=$true,position=0)]&#xA;            [Sitecore.Data.Items.Item]$SourceItem,&#xA;            [Parameter(Mandatory=$true,position=1)]&#xA;            $SourceRenderingGUID,&#xA;            [Parameter(Mandatory=$true,position=2)]&#xA;            [Sitecore.Data.Items.Item]$TargetItem,&#xA;            [Parameter(Mandatory=$true,position=3)]&#xA;            $TargetRenderingGUID&#xA;            )&#xA;&#xA;            &amp;lt;# Get the rules as an XML Element #&amp;gt;&#xA;            [xml]$sourceRenderingsXML = New-Object -TypeName XML&#xA;            $sourceRenderingsXML.loadxml($SourceItem.&quot;__Final Renderings&quot;) &#xA;            $sourceXpathQ = &quot;r/d/r[@uid='$($SourceRenderingGUID)']/rls&quot;&#xA;            $sourceRuleElement = $sourceRenderingsXML.SelectSingleNode($sourceXpathQ)&#xA;&#xA;&#xA;            &amp;lt;# Get the target rendering as an XML Element #&amp;gt;           &#xA;            [xml]$targetRenderingsXML = New-Object -TypeName XML&#xA;            $targetRenderingsXML.loadxml($TargetItem.&quot;__Final Renderings&quot;)&#xA;            $targetXpathQ = &quot;r/d/r[@uid='$($TargetRenderingGUID)']&quot;&#xA;            $TargetRendering = $targetRenderingsXML.SelectSingleNode($targetXpathQ)&#xA;&#xA;            &amp;lt;#Append the rules element to the target rendering element  #&amp;gt;         &#xA;            $TargetRendering.AppendChild($targetRenderingsXML.ImportNode($sourceRuleElement,$true)) &amp;gt; $null&#xA;&#xA;            &amp;lt;# Output the Renderings XML to the final renderings field on the target #&amp;gt;          &#xA;            $TargetItem.Editing.BeginEdit()&#xA;            $TargetItem.&quot;__Final Renderings&quot; = $targetRenderingsXML.OuterXML&#xA;            $TargetItem.Editing.EndEdit() &amp;gt; $null&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="345" LastEditorUserId="95" LastEditDate="2019-05-28T15:38:54.397" LastActivityDate="2019-05-28T15:38:54.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18959" PostTypeId="1" AcceptedAnswerId="18962" CreationDate="2019-05-27T12:06:59.210" Score="0" ViewCount="462" Body="&lt;p&gt;we are using sitecore 9.0.2 with SXA 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in our site we are adding future date in 2 fields called Publish and Unpublish which is OOB feature in sitecore to publish or unpublish item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Publish is working fine as per future date associated with item automatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unpublish is not happening automatically. Unpublish only works when author publish that item manually when that future date comes.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;any thought on this highly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks a lot in advance.&lt;/p&gt;&#xA;" OwnerUserId="3377" LastActivityDate="2019-05-27T12:27:01.467" Title="Unpublish not working automatically in sitecore OOB feature" Tags="|sxa|sitecore-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18960" PostTypeId="1" AcceptedAnswerId="18998" CreationDate="2019-05-27T12:16:59.590" Score="1" ViewCount="407" Body="&lt;p&gt;I am using SXA's Location Finder component for searching but Google Auto-Completion is not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally it should work like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SYW93.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SYW93.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Map is working but auto-suggestion is not working correctly. It shows requests in Browser Network Tab but does not render. See the attached image for reference:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qCSIH.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qCSIH.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But right now, it is not suggesting any City or Country. How to make it work, thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="3607" LastEditDate="2019-05-27T12:42:33.397" LastActivityDate="2019-05-29T00:32:06.883" Title="Sitecore SXA Location finder component not working correctly" Tags="|sxa|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="18961" PostTypeId="1" AcceptedAnswerId="18964" CreationDate="2019-05-27T12:18:01.323" Score="1" ViewCount="118" Body="&lt;p&gt;I have installed sitecore commerce 9.0.2. Just wanted to know is it possible to have one product in multiple categories in Sitecore commerce 9.0.2&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-05-27T12:57:19.923" Title="Is it possible to have one product in multiple categories in Sitecore commerce 9.0.2" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18962" PostTypeId="2" ParentId="18959" CreationDate="2019-05-27T12:27:01.467" Score="2" Body="&lt;p&gt;That's why you are setting it on field called &quot;Publishable&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is only enabling / disabling publishing / unpublishing of that particular version in your defined time / date interval.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You still need to &quot;publish&quot; item / version to publish / unpublish it. I was also confused first time using this feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to make it automatic, you need to have workflow set or set up publishing agent or use Sitecron to do that for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Setting Publishing agent&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default Publishing agent is disabled:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:00:00&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;target database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;mode (full or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;languages&quot;&amp;gt;en, da&amp;lt;/param&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To enable it just set interval, language and your preferred mode:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:00:30&quot;&amp;gt;&#xA;     &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;     &amp;lt;param desc=&quot;target database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;     &amp;lt;param desc=&quot;mode (full or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;     &amp;lt;param desc=&quot;languages&quot;&amp;gt;en, da&amp;lt;/param&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Agent will look into publishable settings and does publishing / unpublishing for you.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-05-27T12:27:01.467" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18964" PostTypeId="2" ParentId="18961" CreationDate="2019-05-27T12:48:37.773" Score="0" Body="&lt;p&gt;Yes, it is possible.&#xA;Sitecore Commerce supports it OOTB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Catalog service capabilities include:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;managing and storing standardized catalogs or lists of catalogs&lt;/li&gt;&#xA;&lt;li&gt;managing and storing categories within catalogs&lt;/li&gt;&#xA;&lt;li&gt;creating and managing sellable items, including product bundles&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;associating sellable items&#xA;to multiple catalogs, and to categories within catalogs&lt;/strong&gt; &lt;/li&gt;&#xA;&lt;li&gt;associating    sellable items from multiple catalogs to product bundles&lt;/li&gt;&#xA;&lt;li&gt;calculating bulk pricing for a catalog item&lt;/li&gt;&#xA;&lt;li&gt;managing and storing list pricing for&#xA;a sellable item, in multiple currencies&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Documentation &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-commerce/en/catalog-service.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2019-05-27T12:57:19.923" LastActivityDate="2019-05-27T12:57:19.923" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18965" PostTypeId="1" CreationDate="2019-05-27T13:50:02.473" Score="-1" ViewCount="143" Body="&lt;p&gt;New to working with sitecore, and not really sure if what I'm looking into trying to do is even possible. I certainly can't figure it out myself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short, I want a page which will list all the contents of a chosen &lt;code&gt;media library&lt;/code&gt; folder; ideally giving a preview image, the file name as a link, some other details as text, in the order they appear in the folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Layout/styling&lt;/code&gt; isn't important so long as that can be manipulated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a thing that's possible, or am I barking up the wrong tree? (and if it is possible, tips would be appreciated!)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Working in Sitecore 8 if relevant, and probably need the idiot's guide if there is such a thing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(and new here, so apologies if anything about the question is improper, will amend as required).&lt;/p&gt;&#xA;" OwnerUserId="5579" LastEditorUserId="5096" LastEditDate="2019-05-28T06:59:45.547" LastActivityDate="2020-02-22T18:02:00.207" Title="Is it possible to link all contents of a media folder on a page?" Tags="|media-library|templates|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18968" PostTypeId="2" ParentId="18945" CreationDate="2019-05-27T14:52:30.090" Score="0" Body="&lt;p&gt;Copy All the mentioned dlls in CD Server bin Folder and make sure you have &lt;code&gt;Sitecore.Publishing.Service.Delivery.config&lt;/code&gt; file with below configs exists in &lt;code&gt;App_Config\Modules\PublishingService path&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; &amp;gt;&#xA;&#xA;  &amp;lt;sitecore &amp;gt;&#xA;    &amp;lt; !-- &amp;lt; hooks &amp;gt; -- &amp;gt;&#xA;      &amp;lt; !-- &amp;lt; hook type=&quot;Sitecore.Publishing.Service.Delivery.PublishTargetEventsHook, Sitecore.Publishing.Service.Delivery&quot; /&amp;gt; -- &amp;gt;&#xA;    &amp;lt; !-- &amp;lt; /hooks &amp;gt; -- &amp;gt;&#xA;&#xA;    &amp;lt;!--&#xA;    SITECORE EVENTS&#xA;    --&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;publishingservice:searchindex:rebuild&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.Service.Delivery.TargetSearchIndexRebuildHandler, Sitecore.Publishing.Service.Delivery&quot; method=&quot;RebuildTargetSearchIndex&quot;&amp;gt;&#xA;          &amp;lt;IndexNames hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;            &amp;lt;index&amp;gt;sitecore_web_index&amp;lt;/index&amp;gt;&#xA;          &amp;lt;/IndexNames&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;&#xA;      &amp;lt;event name=&quot;publishingservice:cache:clear&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Sitecore.Publishing.Service.Delivery.TargetDataCacheClearHandler, Sitecore.Publishing.Service.Delivery&quot; method=&quot;ClearTargetDataCaches&quot; /&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4105" LastEditorUserId="5387" LastEditDate="2019-12-04T07:34:25.830" LastActivityDate="2019-12-04T07:34:25.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18969" PostTypeId="2" ParentId="18950" CreationDate="2019-05-27T14:53:55.753" Score="2" Body="&lt;p&gt;You can create your own custom route pipeline in sitecore and map to route the url link like below &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class YourCustomRouteName&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapRoute(&#xA;            &quot;customapi/linkhover&quot;, &#xA;            &quot;customapi/linkhover&quot;,&#xA;            new {&#xA;                controller = &quot;YourAssemblyName.YourControllerName, YourAssemblyName&quot;,&#xA;                action = &quot;YourActionName&quot;, &#xA;                id = UrlParameter.Optional &#xA;            }&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourAssemblyName.YourCustomRouteName, YourAssemblyName&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;    &amp;lt;/initialize&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;customapi/linkhover&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This way you can achieve to hide the word Sitecore while calling the action method in any link control .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference Link &lt;a href=&quot;https://kb.sitecore.net/articles/700677&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3452" LastEditorUserId="1515" LastEditDate="2019-05-28T22:19:25.410" LastActivityDate="2019-05-28T22:19:25.410" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18970" PostTypeId="2" ParentId="18848" CreationDate="2019-05-27T15:07:56.783" Score="0" Body="&lt;p&gt;After Trial and Error, I found below approach to set the templates renderings in standard values. And it works for me. Hope It might works for others&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var standardValues = newItem.Template.CreateStandardValues();&#xA;&#xA; standardValues.Editing.BeginEdit();&#xA; standardValues.Fields[&quot;__Renderings&quot;].Value = &quot;Test&quot;;&#xA; standardValues.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5562" LastActivityDate="2019-05-27T15:07:56.783" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18971" PostTypeId="1" CreationDate="2019-05-27T16:53:46.743" Score="0" ViewCount="238" Body="&lt;p&gt;In an experiment, I want to build the site specific index in the CD environment manually right after publish event. I created a processor which is hooked in the publish end event for rebuilding the index. This is now rebuilding of the entire sites index in a Sitecore instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is time consuming in the publishing process. But what I want to achieve is that rebuild only the index specific to the items that are getting published from different sites like &lt;code&gt;onpublishendasync&lt;/code&gt; update strategy, I assume this is how it does it. This means only the delta update not all the index. How do I achieve with manual strategy? Any suggestion would really be helpful. &lt;/p&gt;&#xA;" OwnerUserId="2384" LastEditorUserId="70" LastEditDate="2019-05-28T01:57:18.810" LastActivityDate="2019-05-28T01:57:18.810" Title="Sitecore index update strategy manual" Tags="|indexing|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="18972" PostTypeId="2" ParentId="18953" CreationDate="2019-05-28T05:51:13.647" Score="4" Body="&lt;p&gt;It is expected Sitecore 9 behavior. &lt;em&gt;Content tree&lt;/em&gt; checkbox is unchecked when either you uncheck it in &lt;em&gt;Content Editor&lt;/em&gt; and it was saved in user options, or &lt;em&gt;Content Editor&lt;/em&gt; is opened in &lt;em&gt;popup&lt;/em&gt; mode.(It is actually happen when you open it from &lt;em&gt;Workbox&lt;/em&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be done:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can override command that respond for check/uncheck statues of this checkbox, it is configured in &lt;code&gt;Commands.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;contenteditor:toggleentiretree&quot; type=&quot;Sitecore.Shell.Framework.Commands.ContentEditor.ToggleEntireTree,Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and you can override &lt;code&gt;QueryState&lt;/code&gt; function:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override CommandState QueryState(CommandContext context)&#xA;{&#xA;    if (!UserOptions.View.ShowTree)&#xA;    {&#xA;        return CommandState.Enabled;&#xA;    }&#xA;    return CommandState.Down;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(there was removed condition: &lt;code&gt;!(WebUtil.GetQueryString(&quot;mo&quot;) != &quot;popup&quot;)&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then state of this checkbox will depend only from user options and not from window mode. Like it was in earlier Sitecore versions.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-05-28T05:51:13.647" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18973" PostTypeId="1" AcceptedAnswerId="18975" CreationDate="2019-05-28T06:15:30.390" Score="1" ViewCount="199" Body="&lt;p&gt;I am trying to install the &lt;a href=&quot;https://kb.sitecore.net/articles/978654&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/978654&lt;/a&gt; to a SC 8.2 update 2 instance. Once installed I am getting the following error when I open the rich text editor. It looks like it is looking for the Telerik.Web.UI.WebResource.axd handler but this patch requires it to be removed. Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;Source: System.Web&#xA;   at System.Web.UI.Page.HandleError(Exception e)&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest()&#xA;   at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: '~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls &gt; RadScriptManager&#xA;Source: Telerik.Web.UI&#xA;   at Telerik.Web.UI.RadScriptManager.OnPreRender(EventArgs e)&#xA;   at System.Web.UI.Control.PreRenderRecursiveInternal()&#xA;   at System.Web.UI.Control.PreRenderRecursiveInternal()&#xA;   at System.Web.UI.Control.PreRenderRecursiveInternal()&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="5587" LastEditorUserId="70" LastEditDate="2019-05-28T15:24:21.193" LastActivityDate="2019-05-28T15:24:21.193" Title="Sitecore patch from Security Bulletin SC2017-001-170504" Tags="|richtext-editor|update-packages|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18974" PostTypeId="2" ParentId="18973" CreationDate="2019-05-28T06:20:08.557" Score="2" Body="&lt;p&gt;Removing &lt;code&gt;Telerik_Web_UI_WebResource_axd&lt;/code&gt; and other Telerik handlers should be done on any Sitecore servers &lt;strong&gt;except Content Management&lt;/strong&gt;, which requires these controls. On &lt;strong&gt;Content Management&lt;/strong&gt; server those handlers should stay as they are plus additionally:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On CM server you should:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Extract the contents of the patch from your to the Sitecore website folder.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the following lines to &lt;code&gt;&amp;lt;appSettings&amp;gt;&lt;/code&gt; node:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;add key=&quot;Telerik.AsyncUpload.ConfigurationEncryptionKey&quot; value=&quot;YOUR_ENCRYPTION_KEY_HERE&quot;  /&amp;gt;&#xA;&amp;lt;add key=&quot;Telerik.Upload.ConfigurationHashKey&quot; value=&quot;YOUR_ENCRYPTION_KEY_HERE&quot; /&amp;gt;&#xA;&amp;lt;add key=&quot;Telerik.Web.UI.DialogParametersEncryptionKey&quot; value=&quot;YOUR_ENCRYPTION_KEY_HERE&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Replace &lt;code&gt;YOUR_ENCRYPTION_KEY_HERE&lt;/code&gt; with minimum 32 random characters.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;And add:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;  &amp;lt;assemblyIdentity name=&quot;Telerik.Web.UI&quot; publicKeyToken=&quot;121fae78165ba3d4&quot; /&amp;gt;&#xA;  &amp;lt;bindingRedirect oldVersion=&quot;2015.1.401.45&quot; newVersion=&quot;2017.2.621.45&quot; /&amp;gt;  &#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The same steps should be done on &lt;strong&gt;Standalone&lt;/strong&gt; servers.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-28T06:20:08.557" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18975" PostTypeId="2" ParentId="18973" CreationDate="2019-05-28T06:27:56.573" Score="0" Body="&lt;p&gt;Please, read carefully security bulletin. There is written:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore strongly recommends that all customers remove the following&#xA;  configuration from any Sitecore servers except Content Management,&#xA;  which requires these controls.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;These handlers are still required on CM servers. And there is nothing wrong with security bulletin.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-05-28T06:27:56.573" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18976" PostTypeId="1" CreationDate="2019-05-28T06:40:36.600" Score="1" ViewCount="503" Body="&lt;p&gt;Because of the 1000 leaf limit in azure search I had to set index all fields to false.  Now I don't see any forms on the dashboard of the &lt;code&gt;Sitecore 9.1 forms&lt;/code&gt; app. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hfMIn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hfMIn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried including the forms template in my &lt;code&gt;patch config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WT3GP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WT3GP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and tried including Is Template as an included field (based on another sse post I found).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/templates/System/Forms/Form/Settings/Is Template&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried rebuilding the sitecore_master_index, and the SXA master and web indexes too.  There are no errors logged in the Sitecore log and no errors in the console.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; I am getting search results as expected and was previously seeing the forms on the dashboard so it does seem like they're no longer in the index, just not sure what I've missed to include them again. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: Have removed the included template line from my config as my &lt;code&gt;sitecore_master_index&lt;/code&gt; suddenly only had 2 documents in it after rebuilding (which were the forms so not sure why they weren't appearing on the dashboard).  It obviously does not work as I expected it would. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My patch config looks like this:&lt;/strong&gt; &#xA;&lt;a href=&quot;https://i.stack.imgur.com/vcvzo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vcvzo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="5387" LastEditDate="2019-06-06T17:57:12.620" LastActivityDate="2019-06-06T17:57:12.620" Title="No forms appearing in Sitecore 9.1 forms app after setting index all fields to false" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="2" ClosedDate="2019-05-29T07:14:58.963" ContentLicense="CC BY-SA 4.0" />
  <row Id="18977" PostTypeId="1" AcceptedAnswerId="19038" CreationDate="2019-05-28T06:58:26.390" Score="0" ViewCount="98" Body="&lt;p&gt;I am working on &lt;code&gt;Sitecore 9.0.2&lt;/code&gt; and &lt;code&gt;Dynamics CRM connector 2.0.1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While running the pipeline batch from &lt;code&gt;Sync contacts Sitecore to CRM&lt;/code&gt;, the mappings don't work. below is the log Error. The log says 0 entities were read.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;ManagedPoolThread #2 16:55:49 INFO [Data Exchange] Starting pipeline batch processing. (pipeline batch: xConnect Contacts to Dynamics Sync) ManagedPoolThread #2 16:55:49 INFO [Data Exchange] No entities were read from xConnect. (pipeline: Read Contacts from xConnect Pipeline, pipeline step: Read Contacts from xConnect, pipeline step identifier: aee1fdb1-10a4-4cc3-9522-74c6d62b0652, endpoint: xConnect Client Endpoint, entity: contact) ManagedPoolThread #2 16:55:49 DEBUG [Data Exchange] 0 elements were iterated. (pipeline: Read Contacts from xConnect Pipeline, pipeline step: Iterate xConnect Contacts and Run Pipelines, pipeline step identifier: ea47ccc7-5855-40a9-99b8-18cf573ff915) ManagedPoolThread #2 16:55:49 DEBUG [Data Exchange] Pipeline processor finished processing pipeline steps. (pipeline: Read Contacts from xConnect Pipeline, pipeline step: Submit Remaining Dynamics Contacts in Queue, completed pipeline steps: 6) ManagedPoolThread #2 16:55:49 DEBUG [Data Exchange] Pipeline batch processor finished processing pipelines. (pipeline batch: xConnect Contacts to Dynamics Sync, completed pipelines: 1)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3900" LastEditorUserId="5387" LastEditDate="2019-06-03T12:14:34.450" LastActivityDate="2019-06-03T12:14:34.450" Title="Sync Sitecore contacs to CRM - Data Exchange 0 elements were iterated" Tags="|dynamics-crm-module|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18978" PostTypeId="1" CreationDate="2019-05-28T07:05:05.423" Score="1" ViewCount="158" Body="&lt;p&gt;I am using WFFM (9.0 rev. 171209 Update-1) on sitecore 9. I am facing a strange issue on CD environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When user submit the from it's showing an error message(screenshot attached), while it's perfectly working on other environments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/byR5x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/byR5x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have double-checked all the configurations on respective environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone suggest what is being missed...   &lt;/p&gt;&#xA;" OwnerUserId="913" LastEditorUserId="73" LastEditDate="2019-06-28T08:31:45.437" LastActivityDate="2019-06-28T08:31:45.437" Title="Captcha is not working on CD" Tags="|wffm|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18979" PostTypeId="1" CreationDate="2019-05-28T07:41:08.100" Score="1" ViewCount="68" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wMJId.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wMJId.png&quot; alt=&quot;Sitecore Experience Analytics Dashboard filter a report by website&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to give user rights per user per website. for example UserA can only see www.jumpintotravel.dk analytics same way UserB can only see www.jumpintotravel.net only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to give user rights to particular site only?&lt;/p&gt;&#xA;" OwnerUserId="3049" LastActivityDate="2019-11-18T20:03:23.327" Title="How to give user rights to Sitecore Experience Analytics Dashboard sites dropdown/Site analytics" Tags="|sitecore-client|experience-analytics|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18980" PostTypeId="1" CreationDate="2019-05-28T07:43:48.967" Score="3" ViewCount="1259" Body="&lt;p&gt;I am having following content tree:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fvjup.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fvjup.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In GraphQL (GQL), if I am rendering Product-1 (current context item) and wanted to access all the categories where Product-1 referenced in &#xA;the multi-list field of Category items.&#xA;I am not able to find the way to access the Categories where Product referenced in GraphQL (GQL).&#xA;Can someone please guide/suggest the way to achieve above scenario using GQL?&lt;/p&gt;&#xA;" OwnerUserId="3035" LastActivityDate="2020-02-22T17:01:35.310" Title="Access Referenced Items using Integrated GraphQL" Tags="|jss|graphql|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18982" PostTypeId="2" ParentId="18976" CreationDate="2019-05-28T08:43:47.133" Score="-2" Body="&lt;p&gt;The flag indexAllFields will index all fields by default. This allows new fields in your templates to automatically be included into the index , we can change this option on below choices.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Set this to true and place all the fields you would like to remove in the &#xA;'ExcludeField' list below.&lt;/li&gt;&#xA;&lt;li&gt;Set to false and place all fields you would like to be indexed in the 'IncludeField' &#xA;list below.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;While making this false it improves the performance by only indexing the required fields that it needs. But Sitecore Forms are not getting index automatically as a result those are not appearing on the dashboard .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to add the GUID ID of the IS Template field in your Solr Default Index Configuration file or adding a patch file like below &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;   &amp;lt;fieldId&amp;gt;{558F9307-EBAF-480D-88B5-DFE9E63A66DE}&amp;lt;/fieldId&amp;gt;&#xA;&amp;lt;/include&amp;gt;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In content editor select the Form go to the developer toolbar in sitecore ribbon and click to re-index tree. After doing that if forms doesn't display on the dash board then please check in search log text file if any other issues are causing or not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you find the error in search log like &quot;undefined field is_template&quot; then there please refer the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10514/no-forms-are-displaying-in-sitecore-9-forms-area&quot;&gt;link&lt;/a&gt; to get the solutions .&lt;/p&gt;&#xA;" OwnerUserId="3452" LastActivityDate="2019-05-28T08:43:47.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18983" PostTypeId="1" CreationDate="2019-05-28T08:59:22.117" Score="2" ViewCount="137" Body="&lt;p&gt;A very specific scenario where the components on a page are causing exception while trying to delete the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To reproduce :&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Two components are needed&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A simple component which uses a datasource (say an article ).&lt;/li&gt;&#xA;&lt;li&gt;A Component with Parameter template with following field ( treelist ex) In my case it is a component where user could select the pages to highlight without requiring datasource.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add two article components on the page associate them with datasource.&lt;/li&gt;&#xA;&lt;li&gt;Add the Component with the rendering parameter template and select few pages from content tree. Save everything.&lt;/li&gt;&#xA;&lt;li&gt;Now Go to the content editor and try deleting the page.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Select Remove Links &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Result :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Job started: RemoveLinks|Sitecore.Exceptions.EditingNotAllowedException: Item '/sitecore/templates/Feature/News/ParametersTemplate_NewsListingC28/__Standard Values' is not in editing mode. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;Resolution&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In order to delete the page we now need to manually deselect items from the treelist selection from the component. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also replicates on Sitecore Version 9.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cannot Understand the reason for this specific error. Any help much appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aeNpn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aeNpn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7TMyq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7TMyq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9nuGg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9nuGg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aPfw1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aPfw1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QFyui.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QFyui.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9y9Qd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9y9Qd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mIh7U.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mIh7U.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6lVyF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6lVyF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4lE5M.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4lE5M.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Dousd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Dousd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YSTfP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YSTfP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ivUYB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ivUYB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J8HRF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J8HRF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hPpN1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hPpN1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VAu5f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VAu5f.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Qei9o.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qei9o.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PbbTg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PbbTg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QA3V6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QA3V6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9ULsP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9ULsP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EquqG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EquqG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gdGOf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gdGOf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xE2DY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xE2DY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vdSZn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vdSZn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1744" LastEditorUserId="342" LastEditDate="2019-05-28T17:26:38.353" LastActivityDate="2019-05-28T17:26:38.353" Title="Page Cannot Be deleted because of specific renderings" Tags="|presentation|content-management|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="18985" PostTypeId="2" ParentId="18884" CreationDate="2019-05-28T09:16:02.877" Score="0" Body="&lt;p&gt;&lt;strong&gt;I found the solution:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem was that the tags are created in the Web &quot;CD&quot; so when I opened the item in the master &quot;CM&quot; the IDs are not found as shown in the picture.&lt;/p&gt;&#xA;" OwnerUserId="5557" LastActivityDate="2019-05-28T09:16:02.877" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18986" PostTypeId="1" CreationDate="2019-05-28T09:18:53.553" Score="7" ViewCount="517" Body="&lt;p&gt;I am trying to find a good way to work with PowerShell scripts that we use for SXA such as for scaffolding.&lt;/p&gt;&#xA;&lt;p&gt;I have tried the PowerShell ISE client that was built into Sitecore but sometimes the UI was buggy and I was unable to run/test the scripts using this IDE.&lt;/p&gt;&#xA;&lt;p&gt;Currently, I am copying the script over to VS Code, do my edits, copy it back, run it in Sitecore to test, etc. With no way to debug I have to rely purely on logs if errors occur for instance.&lt;/p&gt;&#xA;&lt;p&gt;This is doable for simple scripts but for complex ones (think 500+ lines of PowerShell) it gets tedious. On top of that PowerShell is meant to be used as a scripting language and not meant to write complex programs like C#.&lt;/p&gt;&#xA;&lt;p&gt;Isn't there a way to develop/test the scripts outside of Sitecore so I can use the tooling present in VS Code? It would be even better if this was possible using C#.&lt;/p&gt;&#xA;" OwnerUserId="4873" LastEditorUserId="1542" LastEditDate="2022-06-20T06:37:34.267" LastActivityDate="2023-12-20T10:02:55.367" Title="Good workflow for SXA PowerShell scripts" Tags="|sxa|powershell-extensions|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18987" PostTypeId="1" CreationDate="2019-05-28T09:32:55.747" Score="0" ViewCount="60" Body="&lt;p&gt;I am using Sitecore 9.1.1 and want to create an EXM regular campaign via code.&lt;/p&gt;&#xA;" OwnerUserId="5198" LastEditorUserId="2056" LastEditDate="2019-05-28T09:52:27.987" LastActivityDate="2019-06-12T12:42:39.890" Title="Creating Sitecore EXM Regular campaign programatically" Tags="|exm|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18989" PostTypeId="1" AcceptedAnswerId="19007" CreationDate="2019-05-28T10:36:09.550" Score="1" ViewCount="228" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore Connect for Microsoft Dynamics 365 for Sales 2.0.1&lt;/code&gt; . I am trying to run &lt;code&gt;xConnect Contacts to Dynamics Sync&lt;/code&gt; this pipeline but it is showing me &#xA;below output in log file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #4 15:39:10 INFO [Data Exchange] Starting pipeline batch processing. (pipeline batch: xConnect Contacts to Dynamics Sync)&#xA;ManagedPoolThread #4 15:39:11 INFO [Data Exchange] No entities were read from xConnect. (pipeline: Read Contacts from xConnect Pipeline, pipeline step: Read Contacts from xConnect, pipeline step identifier: 9a2bef58-ac09-4f4d-810a-904a27f997e1, endpoint: xConnect Client Endpoint, entity: contact)&#xA;ManagedPoolThread #4 15:39:11 DEBUG [Data Exchange] 0 elements were iterated. (pipeline: Read Contacts from xConnect Pipeline, pipeline step: Iterate xConnect Contacts and Run Pipelines, pipeline step identifier: a1e11e8f-eb6a-438a-8bf9-09a678eced3d)&#xA;ManagedPoolThread #4 15:39:11 DEBUG [Data Exchange] Pipeline processor finished processing pipeline steps. (pipeline: Read Contacts from xConnect Pipeline, pipeline step: Submit Remaining Dynamics Contacts in Queue, completed pipeline steps: 6)&#xA;ManagedPoolThread #4 15:39:11 DEBUG [Data Exchange] Pipeline batch processor finished processing pipelines. (pipeline batch: xConnect Contacts to Dynamics Sync, completed pipelines: 1)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I have contacts in xDB which is not syncing&lt;/li&gt;&#xA;&lt;li&gt;Endpoints is working file&lt;/li&gt;&#xA;&lt;li&gt;It was working before but stopped working now&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-05-29T05:51:17.007" Title="xConnect Contacts to Dynamics Sync not working" Tags="|dynamics-crm-module|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="18990" PostTypeId="2" ParentId="18986" CreationDate="2019-05-28T11:44:20.940" Score="0" Body="&lt;p&gt;So it seems that you can actually call C# from an &lt;code&gt;SPE PowerShell&lt;/code&gt; script like so:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;[Sitecore.Foundation.Alerts.Models.InfoMessage]$object = [Sitecore.Foundation.Alerts.Models.InfoMessage]::Warning(&amp;quot;testing&amp;quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;C#&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;namespace Sitecore.Foundation.Alerts.Models&#xA;{&#xA;  public class InfoMessage&#xA;  {&#xA;    public InfoMessage(string message, MessageType messageType)&#xA;    {&#xA;      this.Message = message;&#xA;      this.Type = messageType;&#xA;    }&#xA;&#xA;    public string Message { get; set; }&#xA;&#xA;    public MessageType Type { get; set; }&#xA;&#xA;    public static InfoMessage Warning(string message) =&amp;gt; new InfoMessage(message, MessageType.Warning);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So for complex things that might be better done in C# you could use SPE to call into your C# program which does the actual work. Since it's C#, one could even write a unit test for it using any of the popular frameworks if needed.&lt;/p&gt;&#xA;" OwnerUserId="4873" LastEditorUserId="251" LastEditDate="2022-06-21T07:51:50.867" LastActivityDate="2022-06-21T07:51:50.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18992" PostTypeId="2" ParentId="17090" CreationDate="2019-05-28T12:46:13.837" Score="4" Body="&lt;p&gt;Tracker.Current.Session.IdentifyAs() will only merge contacts if the current contact is not a known contact yet: Contact.IdentificationLevel != ContactIdentificationLevel.Known&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the current contact already is known, IdentifyAs() will not merge it with an existing contact that already has the identifier.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So what we ended up doing was this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public bool IdentifyAs(string source, string identifier)&#xA;{&#xA;    if (Tracker.Current == null)&#xA;    {&#xA;        return false;&#xA;    }&#xA;&#xA;    // Contact already has the identifier&#xA;    if (Tracker.Current.Session.Contact.Identifiers.Any(x =&amp;gt; x.Source == source &amp;amp;&amp;amp; x.Identifier == identifier))&#xA;    {&#xA;        return true;&#xA;    }&#xA;&#xA;    var manager = Sitecore.Configuration.Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as Sitecore.Analytics.Tracking.ContactManager;&#xA;&#xA;    if (manager == null)&#xA;    {&#xA;        Log.Error(&quot;XConnectContactRepository: Unable to instantiate ContactManager&quot;, this);&#xA;        return false;&#xA;    }&#xA;&#xA;    // Use default identifyAs for unknown contacts&#xA;    if (Tracker.Current.Contact.IdentificationLevel != ContactIdentificationLevel.Known)&#xA;    {&#xA;        Tracker.Current.Session.IdentifyAs(source, identifier);&#xA;&#xA;        var contactId = Tracker.Current.Contact.ContactId;&#xA;        manager.RemoveFromSession(contactId);&#xA;        Tracker.Current.Session.Contact = manager.LoadContact(contactId);&#xA;        return true;&#xA;    }&#xA;&#xA;    var existingContact = manager.LoadContact(source, identifier);&#xA;&#xA;    // No other contact has this identifier yet: just set it&#xA;    if (existingContact == null)&#xA;    {&#xA;        var contactId = Tracker.Current.Session.Contact.ContactId;&#xA;&#xA;        Log.Info($&quot;Add identifier for contact '{contactId}'. {source} &amp;gt; {identifier}&quot;, this);&#xA;&#xA;        manager.AddIdentifier(contactId, new ContactIdentifier(source, identifier, ContactIdentificationLevel.Known));&#xA;        manager.RemoveFromSession(contactId);&#xA;        Tracker.Current.Session.Contact = manager.LoadContact(contactId);&#xA;&#xA;        return true;&#xA;    }&#xA;&#xA;    // Other contact with identifier exists: Merge explicitly&#xA;    var currentContact = Tracker.Current.Session.Contact;&#xA;    var hasBehaviourProfiles = currentContact.BehaviorProfiles.Count != 0;&#xA;&#xA;    Log.Info($&quot;Merge contacts '{currentContact.ContactId}' into {existingContact.ContactId}. reason: {source} &amp;gt; {identifier}&quot;, this);&#xA;&#xA;    Tracker.Current.Session.Contact = manager.MergeContacts(existingContact, currentContact);&#xA;&#xA;    manager.RemoveFromSession(Tracker.Current.Contact.ContactId);&#xA;&#xA;    Tracker.Current.Session.Interaction.ContactId = Tracker.Current.Session.Contact.ContactId;&#xA;    Tracker.Current.Session.Interaction.ContactVisitIndex = Tracker.Current.Session.Contact.System.VisitCount;&#xA;&#xA;    if (hasBehaviourProfiles || Tracker.Current.Interaction.Profiles.GetProfileNames().Length == 0)&#xA;    {&#xA;        InitializeInteractionProfilePipeline.Run(new InitializeInteractionProfileArgs(Tracker.Current.Session));&#xA;    }&#xA;&#xA;    return true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We can now safely set multiple identifiers through our IdentifyAs():&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IdentifyAs(&quot;USERID_SOURCE&quot;, &quot;U1542658&quot;); &#xA;IdentifyAs(&quot;EMAIL_SOURCE&quot;, &quot;john@doe.com&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;:&#xA;Beware that this can lead to long contact merge chains which can impact performance. I would advise to use just one identifier if possible i.E. the E-Mail.&lt;/p&gt;&#xA;" OwnerUserId="681" LastEditorUserId="681" LastEditDate="2019-07-05T16:18:29.240" LastActivityDate="2019-07-05T16:18:29.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18993" PostTypeId="2" ParentId="18980" CreationDate="2019-05-28T13:59:23.303" Score="0" Body="&lt;p&gt;This is not possible out of the box, but it should be possible to implement a new query based on the existing fieldsEqual functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;fieldsEqual tests for exact equality.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (Dictionary&amp;lt;string, object&amp;gt; dictionary in dictionaries)&#xA;{&#xA;    string name = dictionary[&quot;name&quot;].ToString();&#xA;    string value = dictionary[&quot;value&quot;].ToString();&#xA;    queryable = queryable.Where&amp;lt;ContentSearchResult&amp;gt;((Expression&amp;lt;Func&amp;lt;ContentSearchResult, bool&amp;gt;&amp;gt;) (result =&amp;gt; result[name].Equals(value)));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But you'd want something like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;GraphQL query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;search(&#xA;  rootItem: &quot;path/to/categories&quot;,&#xA;  fieldsContains: [{&#xA;    name: &quot;productsfieldname&quot;,&#xA;    value: &quot;{guid-of-product}&quot;&#xA;  }]&#xA;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Relevant query section in C# code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (Dictionary&amp;lt;string, object&amp;gt; dictionary in dictionaries)&#xA;{&#xA;    string name = dictionary[&quot;name&quot;].ToString();&#xA;    string value = dictionary[&quot;value&quot;].ToString();&#xA;    queryable = queryable.Where&amp;lt;ContentSearchResult&amp;gt;((Expression&amp;lt;Func&amp;lt;ContentSearchResult, bool&amp;gt;&amp;gt;) (result =&amp;gt; result[name].Contains(value)));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4949" LastActivityDate="2019-05-28T13:59:23.303" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="18994" PostTypeId="2" ParentId="18980" CreationDate="2019-05-28T14:52:33.703" Score="1" Body="&lt;p&gt;You can do it with the search, there is a little caveats with searching on an GUID, you need to use a lowercase GUID without brackets and dashes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  search( &#xA;   fieldsEqual:[{name:&quot;Products&quot;,value:&quot;8826e32b70ac42aa923aff0a3a313f34&quot;}] &#xA;  rootItem:&quot;/sitecore/content/MyApp/Categories&quot;&#xA;       ) {&#xA;   results {&#xA;     items {&#xA;       item {&#xA;         id&#xA;         name&#xA;         path&#xA;       }&#xA;     }&#xA;     totalCount&#xA;   }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Or a sample query with also the Products include. In This Example the value 8826e32b70ac42aa923aff0a3a313f34 is the GUID of your product and should be in this lowercase format.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  search( &#xA;   fieldsEqual:[{name:&quot;Products&quot;,value:&quot;8826e32b70ac42aa923aff0a3a313f34&quot;}] &#xA;  rootItem:&quot;/sitecore/content/Categories&quot;&#xA;       ) {&#xA;   results {&#xA;     items {&#xA;       item {&#xA;         id&#xA;         name&#xA;         path&#xA;         products: field(name  : &quot;Products&quot;)  {&#xA;          value&#xA;          ...Products&#xA;         }     &#xA;       }&#xA;     }&#xA;     totalCount&#xA;   }&#xA;  }&#xA;}&#xA;&#xA;fragment Products on MultilistField {&#xA;  tags:targetItems {&#xA;  name&#xA;  id&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also you can get the data without the search but currently not sure how to filter this, but with the following query you get al the data you need, but it contains all Categories, so to much data, but you can filter it later (outside GraphQL). at least a good starting point.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query MyDemoQuery( $contextItem: String!) &#xA;{&#xA;  contextItem: item(path: $contextItem) {&#xA;    id&#xA;  }&#xA;  categories: item(path:&quot;/sitecore/content/MyApp/Categories&quot;) {&#xA;    id&#xA;    children{&#xA;      id&#xA;      products:field(name  : &quot;Products&quot;) {&#xA;      ...Products&#xA;      }&#xA;    } &#xA;  }&#xA;}&#xA;&#xA;&#xA;fragment Products on MultilistField {&#xA;  tags: targetItems {&#xA;   id&#xA;   name&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-05-28T15:02:42.147" LastActivityDate="2019-05-28T15:02:42.147" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18995" PostTypeId="1" CreationDate="2019-05-28T15:45:28.103" Score="2" ViewCount="659" Body="&lt;p&gt;I am getting &lt;code&gt;401 unauthorized exception&lt;/code&gt; while downloading(Excel/CSV) Powershell Reports.&#xA;I have tried by adding &lt;code&gt;/-/script/handle&lt;/code&gt; in &lt;code&gt;IgnoreUrlPrefixes&lt;/code&gt; setting but no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Version:&lt;/strong&gt; Sitercore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Joy&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oKu45.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oKu45.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5590" LastEditorUserId="5096" LastEditDate="2019-05-29T07:14:39.973" LastActivityDate="2023-06-16T09:25:16.860" Title="Getting 401 unauthorized exception while importing Powershell Reports" Tags="|powershell|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18996" PostTypeId="2" ParentId="18965" CreationDate="2019-05-28T16:09:38.990" Score="0" Body="&lt;p&gt;I'm not sure which part of this task you're having a problem with, or how much of it you're expecting to find in a ready-to-use widget. There are Sitecore APIs to get your chosen media library folder as an Item object, and then to get the children of that Item object. Using these APIs, you can generate HTML in a Razor or ASPX page, like you do when designing the HTML for any page in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="3614" LastActivityDate="2019-05-28T16:09:38.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="18997" PostTypeId="1" AcceptedAnswerId="22319" CreationDate="2019-05-28T18:04:14.147" Score="1" ViewCount="1180" Body="&lt;p&gt;I am using Sitecore 9.1.1 and recently started getting error while adding any rendering from experience editor to any page/item on Site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding rendering on placeholder is opening a model window to select the rendering and then select the datasource after selecting the datasource and clicking the OK button is throwing an error as given in below screenshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3lOoP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3lOoP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already replaced bin folder as well as Sitecore folder from the blank installation but it didn't help. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated!&lt;/p&gt;&#xA;" OwnerUserId="361" LastActivityDate="2022-03-01T09:09:15.823" Title="Error in adding rendering from experience editor" Tags="|experience-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="18998" PostTypeId="2" ParentId="18960" CreationDate="2019-05-29T00:17:51.033" Score="1" Body="&lt;p&gt;I had this issue in SXA 1.7.0. It is a problem in the &lt;code&gt;component-search-location-filter.js&lt;/code&gt; file. It was fixed in SXA 1.8.0. It can be fixed by requesting a patch from Sitecore Support quoting 247292, or taking a new version of this file from a SXA 1.8+.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-05-29T00:32:06.883" LastActivityDate="2019-05-29T00:32:06.883" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="18999" PostTypeId="2" ParentId="18946" CreationDate="2019-05-29T01:14:49.677" Score="1" Body="&lt;p&gt;It's quite difficult to answer this question with certainty as it may be a bit of trial and error, but you can try this rewrite rule&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;1&quot; stopProcessing=&quot;true&quot; patternSyntax=&quot;ExactMatch&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;xxxx/yyy/page/19/?paged=20&quot; /&amp;gt;&#xA;  &amp;lt;action type=&quot;Redirect&quot; url=&quot;/aaaa/bbbbb&quot;/&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-05-29T01:14:49.677" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19001" PostTypeId="1" CreationDate="2019-05-29T04:02:25.657" Score="1" ViewCount="1228" Body="&lt;p&gt;I had implemented &lt;code&gt;Sitecore workflow (Draft - Awaiting approval - Publish)&lt;/code&gt; around 1 year back for a customer but now the customer wants it to be disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to disable workflow now? If yes then what will happen to items in the intermediate stages?&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="5387" LastEditDate="2019-06-03T08:16:41.787" LastActivityDate="2022-03-08T11:25:18.933" Title="Disable Sitecore publish item workflow" Tags="|workflow|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19002" PostTypeId="2" ParentId="18944" CreationDate="2019-05-29T04:08:00.743" Score="0" Body="&lt;p&gt;The issue was due to CPU utilization reaching 100% . When I ran the same installation on a virtual machine with higher configuration, it worked fine&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-05-29T04:08:00.743" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19003" PostTypeId="1" AcceptedAnswerId="19009" CreationDate="2019-05-29T04:23:09.470" Score="2" ViewCount="365" Body="&lt;p&gt;I have a multisite solution with two sites, xyz.com and abc.com. For a given appsetting variable I want to have different values. Is it something which is possible out of the box in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The patch file will overwrite the variable and hence cannot use it.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="1580" LastEditDate="2019-05-29T13:33:19.840" LastActivityDate="2019-05-29T13:33:19.840" Title="Site-specific value for an appsetting in a multisite solution" Tags="|multisite|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19004" PostTypeId="2" ParentId="19003" CreationDate="2019-05-29T05:01:35.903" Score="2" Body="&lt;p&gt;Instead of AppSetting you can keep such site specific values in Sitecore.&#xA;To add settings to the site, modules should define templates which can be added as base templates to the site root item for the project layer module, or add settings items inside the site hierarchy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, the Feature/Accounts module defines an AccountsSettings template which is assigned to the Site Root template in the Project/Habitat module.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module uses the site hierarchy to find the settings items for the module.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual Item GetAccountsSettingsItem(Item contextItem)&#xA;{&#xA;    Item item = null;&#xA;&#xA;    if (contextItem != null)&#xA;    {&#xA;        item = contextItem.GetAncestorOrSelfOfTemplate(Templates.AccountsSettings.ID);&#xA;    }&#xA;    item = item ?? Context.Site.GetContextItem(Templates.AccountsSettings.ID);&#xA;&#xA;    return item;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="1580" LastEditDate="2019-05-29T13:32:56.737" LastActivityDate="2019-05-29T13:32:56.737" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19006" PostTypeId="2" ParentId="19001" CreationDate="2019-05-29T05:47:36.787" Score="1" Body="&lt;p&gt;You can remove workflow from &lt;code&gt;standard value&lt;/code&gt; of template. Just go to in standard value and reset default workflow&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1x6WO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1x6WO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-05-29T06:57:30.273" LastActivityDate="2019-05-29T06:57:30.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19007" PostTypeId="2" ParentId="18989" CreationDate="2019-05-29T05:51:17.007" Score="0" Body="&lt;p&gt;This issue has been resolved after rebuild xConnect using below command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\inetpub\wwwroot\XXX.xconnect\App_data\jobs\continuous\IndexWorker&amp;gt; XConnectSearchIndexer -rr&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-05-29T05:51:17.007" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19008" PostTypeId="2" ParentId="19003" CreationDate="2019-05-29T06:00:07.460" Score="2" Body="&lt;p&gt;When you say that you have a multisite solution, I understand you have multiple sites defined in the Sitecore &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; section like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site&#xA;    name=&quot;xyz&quot;&#xA;    hostName=&quot;xyz.com&quot;&#xA;    rootPath=&quot;/sitecore/content/site-a&quot;&#xA;    startItem=&quot;/home&quot;&#xA;    /&amp;gt;&#xA;&amp;lt;site&#xA;    name=&quot;abc&quot;&#xA;    hostName=&quot;abc.com&quot;&#xA;    rootPath=&quot;/sitecore/content/site-b&quot;&#xA;    startItem=&quot;/home&quot;&#xA;    /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can add any custom properties to every site definition like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site&#xA;    name=&quot;xyz&quot;&#xA;    hostName=&quot;xyz.com&quot;&#xA;    rootPath=&quot;/sitecore/content/site-a&quot;&#xA;    startItem=&quot;/home&quot;&#xA;    myCustomValue=&quot;custom value XYZ&quot;&#xA;    /&amp;gt;&#xA;&amp;lt;site&#xA;    name=&quot;abc&quot;&#xA;    hostName=&quot;abc.com&quot;&#xA;    rootPath=&quot;/sitecore/content/site-b&quot;&#xA;    startItem=&quot;/home&quot;&#xA;    myCustomValue=&quot;custom value ABC&quot;&#xA;    /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then read it in the code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    var value = Context.Site.Properties[&quot;myCustomValue&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="1580" LastEditDate="2019-05-29T13:32:33.907" LastActivityDate="2019-05-29T13:32:33.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19009" PostTypeId="2" ParentId="19003" CreationDate="2019-05-29T06:03:40.687" Score="4" Body="&lt;p&gt;It can be done using two different techniques:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Technique 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside the site tag you can add your custom attribute like the below code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site patch:before=&quot;*[@name='website']&quot;&#xA;           ....&#xA;                  customSetting=&quot;XXX&quot;&#xA;            /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can patch this file for multiple sites and you can get this value like this&#xA; &lt;code&gt;Context.Site.Properties[&quot;customSetting&quot;]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Technique 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add one field in the SiteRoot template and get the value from that field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Cgnv3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cgnv3.png&quot; alt=&quot;Enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="1580" LastEditDate="2019-05-29T13:32:50.840" LastActivityDate="2019-05-29T13:32:50.840" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19010" PostTypeId="2" ParentId="19001" CreationDate="2019-05-29T06:08:08.167" Score="4" Body="&lt;p&gt;There is no easy way to disable Sitecore workflow. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could remove the workflow item with subitems (workflow states, commands, actions) and select &lt;code&gt;Remove Links&lt;/code&gt; options when Sitecore warns you that there are some items which link to the items you want to remove. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I assume there are multiple items in &lt;code&gt;Draft&lt;/code&gt;, &lt;code&gt;Waiting for Approval&lt;/code&gt; and &lt;code&gt;Approved&lt;/code&gt; state. What should happen with them?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For &lt;code&gt;Approved&lt;/code&gt; items removing both workflow and workflow state shouldn't matter - they are approved anyway and published, right?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For items in &lt;code&gt;Draft&lt;/code&gt; state and &lt;code&gt;Waiting for approval&lt;/code&gt; state if you remove workflow and workflow state you may end up with publishing items which are not ready to go public.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest to remove the workflow from the &lt;code&gt;__Standard Values&lt;/code&gt; items for any templates which use the workflow now. That would make sure that no new item will be added to any workflow state. Then for every item which is in &lt;code&gt;Draft&lt;/code&gt; or &lt;code&gt;Waiting for approval&lt;/code&gt; state you should ask content authors to either approve them and publish them, or to remove the version which should never go public.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After all items are in &lt;code&gt;Approved&lt;/code&gt; state, you can remove the workflow with its states.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If removing the workflow from &lt;code&gt;__Standard Values&lt;/code&gt; items will remove it from all the items which use that template, remove the workflow from &lt;code&gt;__Standard Values&lt;/code&gt; only after there are no items in &lt;code&gt;Draft&lt;/code&gt; or &lt;code&gt;Waiting for approval&lt;/code&gt; state.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-05-29T06:27:14.497" LastActivityDate="2019-05-29T06:27:14.497" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19011" PostTypeId="1" CreationDate="2019-05-29T06:24:00.590" Score="2" ViewCount="487" Body="&lt;pre&gt;&#xA;ERROR MediaRequestProtection: An invalid/missing hash value was encountered. &#xA;The expected hash value: **3B2EEFF3A17529C1E25F9A4C6136A7EC**. &#xA;Media URL: /-/media/images/features/navigation/support/warranty-700x578.ashx?h=116&amp;la=en&amp;w=117&amp;lm=636911248440000000&amp;hash=**3B2EEFF3A17529C1E25F9A4C6136A7EC**&amp;hash=**3B2EEFF3A17529C1E25F9A4C6136A7EC**, &#xA;Referring URL: https://xxxxxx.com/ &#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am trying to establish why there are two hash values in the query string, the page that the requests are coming from are not in Sitecore but it does use FXM.&lt;/p&gt;&#xA;" OwnerUserId="5474" LastEditorUserId="70" LastEditDate="2019-05-29T14:23:37.000" LastActivityDate="2019-05-29T14:23:37.000" Title="Sitecore invalid hash value seems to be failing. there are multiple hash queries in the query string" Tags="|media-library|fxm|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19012" PostTypeId="1" AcceptedAnswerId="19026" CreationDate="2019-05-29T07:25:21.403" Score="3" ViewCount="345" Body="&lt;p&gt;I am trying to implement simle react app (non JSS) that uses Sitecore headless services. I want to have online personalization, let's say when goal is triggered during current interaction to show the personalized content immediately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I experimented with Universal tracker it seems not to possible to achieve this immediate personalization. Since as I understood events from universal tracker are processed in batches with some interval, so they do not appear immediately in xDB. So they could not be used for rules immediately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So now I am confused with the usage of Universal Tracker and &lt;code&gt;Sitecore.Analytics.Tracker&lt;/code&gt; and how they are positioned (what problem solve) in Sitecore in headless scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my questions are (in headless context):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is Universal Tracker replacement for &lt;code&gt;Sitecore.Analytics.Tracker&lt;/code&gt; in headless scenarios?&lt;/li&gt;&#xA;&lt;li&gt;Or should they be used together but for different scenarios? Like, &lt;code&gt;Sitecore.Analytics.Tracker&lt;/code&gt; for online interactions, and Universal tracker for offline interactions.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4110" LastEditorUserId="5096" LastEditDate="2019-05-29T08:22:50.213" LastActivityDate="2019-05-29T12:39:22.610" Title="Is Universal Tracker replacement for Sitecore.Analytics.Tracker or should they be used together?" Tags="|xdb|jss|universal-tracker|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19013" PostTypeId="1" AcceptedAnswerId="19442" CreationDate="2019-05-29T07:48:57.337" Score="10" ViewCount="3553" Body="&lt;p&gt;&lt;br&gt;&#xA;I know that there are lot of question have been asked on this topic but my concern is that after following all the available options Forms are still not appearing on Form interface. &lt;br&gt;However I can see form under content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qeOVJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qeOVJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/316fX.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/316fX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other Details:-&lt;/strong&gt; I am using Sitecore.NET 9.0.2 (rev. 180604) and also using Sitecore Forms Extensions for Sitecore 9.0-1.8.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have performed the following the steps:-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Rebuilding master indexes&lt;/li&gt;&#xA;&lt;li&gt;Renaming Sitecore forms&lt;/li&gt;&#xA;&lt;li&gt;Check the Form folder id in core database, ID matches&lt;/li&gt;&#xA;&lt;li&gt;Clear browser cookies&lt;/li&gt;&#xA;&lt;li&gt;define &quot;is_template&quot; field from &quot;istemplate&quot; field&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have taken the references from the following URLs and Sitecore StackExchange questions: -&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/10514/no-forms-are-displaying-in-sitecore-9-forms-area/18845#18845&quot;&gt;No forms are displaying in Sitecore 9 Forms area&lt;/a&gt;&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-search-and-indexing-configuration-files.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-search-and-indexing-configuration-files.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://citizensitecore.com/2017/11/19/sitecore-9-forms-form-doesnt-show-up-after-creation/&quot; rel=&quot;noreferrer&quot;&gt;https://citizensitecore.com/2017/11/19/sitecore-9-forms-form-doesnt-show-up-after-creation/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/8518/why-i-cant-see-my-forms-templates-in-the-sitecore-forms-application&quot;&gt;Why I can&amp;#39;t see my forms/templates in the Sitecore Forms application?&lt;/a&gt;&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://sitecoresandbox.com/2018/03/09/there-are-no-forms-to-display-in-sitecore-9-forms-designer/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecoresandbox.com/2018/03/09/there-are-no-forms-to-display-in-sitecore-9-forms-designer/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure what I have missed. Any help would be much appreciated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3133" LastActivityDate="2023-06-05T10:50:43.260" Title="Sitecore Forms are not appearing in Sitecore Forms interface" Tags="|sitecore-forms|" AnswerCount="4" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="19014" PostTypeId="2" ParentId="19012" CreationDate="2019-05-29T09:07:31.383" Score="0" Body="&lt;p&gt;Sitecore.Analytics.Tracker is used only for Sitecore websites .&#xA;Universal Tracker is used for tracking activities on any website, mobile application, IOT device, Sitecore Websites etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case of headless scenario you can use Sitecore.Analytics.Tracker or Universal tracker.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My advice would be to use Analytics.Tracker as Universal tracker requires additional setup&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-05-29T09:07:31.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19016" PostTypeId="1" CreationDate="2019-05-29T10:28:56.013" Score="2" ViewCount="1250" Body="&lt;p&gt;I have an SXA Image component that is a link, but the title attribute value of the link is the image name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to pass the link description to the title attribute using rendering variants.&#xA;What i have&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DsEtU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DsEtU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the result when hovering with the mouse is: &#xA;&lt;a href=&quot;https://i.stack.imgur.com/iCYOr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iCYOr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the any way of having the link descripton instead of having the image name ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kERDP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kERDP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lzLGh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lzLGh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Right now the Html result is this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA; &amp;lt;a class=&quot;field-image&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;a title=&quot;Image 11&quot; &#xA;  href=&quot;https://sitecore.stackexchange.com/questions/2569/how-to-display- &#xA;  linked-items-fields-with-rendering-variants-using-sxa&quot;&amp;gt;&amp;lt;img &#xA;  src=&quot;/-/media/images/solutions/insurance/insurance-screenshot-create- &#xA;  brilliant-digital-experience-v3.png?     &#xA;h=379&amp;amp;amp;la=en&amp;amp;amp;w=472&amp;amp;amp;hash=17057797BD81175CCF876F4C04DC59A6B9216463&quot; &#xA;  alt=&quot;&quot; width=&quot;472&quot; height=&quot;379&quot; data-variantitemid=&quot;{E2A5B62B-C38B-4FF6- &#xA;  948C-8243CE9E65AD}&quot; data-variantfieldname=&quot;Image&quot; style=&quot;margin: 0px 0px&quot;&amp;gt;&#xA; &amp;lt;/a&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5374" LastActivityDate="2019-05-29T14:20:49.160" Title="SXA Image as link with link description as title attribute using Rendering Variants" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19017" PostTypeId="1" AcceptedAnswerId="19029" CreationDate="2019-05-29T10:59:25.553" Score="0" ViewCount="183" Body="&lt;p&gt;Our Sitecore's solr search engine is a &lt;code&gt;master-slave&lt;/code&gt; setup. One of the &lt;code&gt;cores&lt;/code&gt; of the Slave is corrupted and is not available at all in Slave. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is not being replicated from Master too (Expecting index replication to do this but core is completely missing in Slave). As read in index replication documentation, all the queries are handled by Slave part of the set up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What happens to the queries that are handled by this core that is missing in slave? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Will they be taken over by Master?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me as I can find no info about this anywhere else. For info the &lt;code&gt;core&lt;/code&gt; that is missing is of &lt;code&gt;Sitecore analytics index&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3472" LastEditorUserId="5096" LastEditDate="2019-05-30T07:57:28.947" LastActivityDate="2019-06-29T08:02:05.273" Title="What happens to Sitecore - Solr query handling when a core is corrupted in Solr slave in a Master - slave setup?" Tags="|solr|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19018" PostTypeId="1" AcceptedAnswerId="19030" CreationDate="2019-05-29T11:14:13.337" Score="1" ViewCount="86" Body="&lt;p&gt;I am using Sitecore 9.1.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is, I have a custom eventhandler for &lt;code&gt;onPublishEnd&lt;/code&gt; where I set the value of a  certain field (Ex: Field A) by using &lt;code&gt;BeginEdit()&lt;/code&gt; and &lt;code&gt;EndEdit()&lt;/code&gt;, which in turn triggers the &lt;code&gt;onSaving&lt;/code&gt; event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also have a custom &lt;code&gt;onSaving&lt;/code&gt; event where I change the value of another field in the item (Ex: Field B).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What happens is, because &lt;code&gt;EndEdit()&lt;/code&gt; in my custom &lt;code&gt;onPublish&lt;/code&gt; triggers the &lt;code&gt;onSaving&lt;/code&gt; event, my item is changed twice. I need a way for my item to only be changed when &lt;code&gt;onSaving&lt;/code&gt; is &lt;strong&gt;not triggered from&lt;/strong&gt; &lt;code&gt;onPublish&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to capture the name of the event that triggered another event? Can I check inside the &lt;code&gt;onSaving&lt;/code&gt; custom event if it was triggered by &lt;code&gt;onPublish&lt;/code&gt; or not?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="237" LastEditDate="2019-05-30T08:59:36.560" LastActivityDate="2019-05-30T08:59:36.560" Title="Catching the name of an event that triggered another event" Tags="|events|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19019" PostTypeId="1" CreationDate="2019-05-29T11:19:18.100" Score="0" ViewCount="181" Body="&lt;p&gt;Does Sitecore 9.X will support solr version 8.X? &#xA;I have to take some strategic decision on that based on that. So, if any body have insight or tried this then please help me.&lt;/p&gt;&#xA;" OwnerUserId="1908" LastActivityDate="2019-05-29T11:45:07.113" Title="Does Sitecore 9.X will support solr version 8.X" Tags="|solr|" AnswerCount="1" CommentCount="3" ClosedDate="2019-05-29T11:47:07.130" ContentLicense="CC BY-SA 4.0" />
  <row Id="19020" PostTypeId="1" CreationDate="2019-05-29T11:30:29.357" Score="3" ViewCount="422" Body="&lt;p&gt;The requirement is to return the item id in the query string on button click. &#xA;I added a template in the rendering variant and added the following line&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;https://some url?itemid=$item.ID&quot;&amp;gt;Button text&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, I want button text to come from the sitecore field. $item.fieldName is not working. What is the right way of reading the text from the sitecore field in this case?&lt;/p&gt;&#xA;" OwnerUserId="5141" LastActivityDate="2019-05-29T14:08:31.040" Title="How to read a field in the variant template?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19023" PostTypeId="2" ParentId="19019" CreationDate="2019-05-29T11:45:07.113" Score="0" Body="&lt;p&gt;I voted to close the question as a duplicate with a similar but not exactly the same question ( &lt;a href=&quot;https://sitecore.stackexchange.com/questions/18918/sitecore-9-0-works-with-solr-7-2-1&quot;&gt;Sitecore 9.0 works with solr 7.2.1?&lt;/a&gt; ). &lt;strong&gt;But the answer stays the same, just with changes to the versions&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr 8.X is not supported by Sitecore 9.X officially.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But does it mean Sitecore 9.X will not work with Solr 8.X? No, it doesn't. It means that Sitecore 9.1 is not officially tested against that version. And it means that if you will use Solr 8.X with Sitecore 9.X and you experience any issues, Sitecore Support will be allowed to tell you &quot;Sorry, but you're using unsupported version of Solr&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know about plenty of projects running on newer Solr versions than are supported officially and they do work well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So should you use 8.X or install 7.2.1? One good answer does not exist. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the reference: &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr compatibility table&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-29T11:45:07.113" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19024" PostTypeId="2" ParentId="19020" CreationDate="2019-05-29T11:50:07.613" Score="2" Body="&lt;p&gt;I am in doubt now that Dawid says it doesn't exist ootb, but I have something like this working:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Fields.BookLink.ToString()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where &quot;BookLink&quot; is the name of my field. Hopefully your field does not have a space in the  name ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &quot;ToString&quot; was needed in our case as we wanted to check if it was empty (see &lt;a href=&quot;https://sitecore.stackexchange.com/q/12371/237&quot;&gt;Using #if in SXA variant NVelocity template&lt;/a&gt;).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-05-29T11:50:07.613" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19026" PostTypeId="2" ParentId="19012" CreationDate="2019-05-29T12:28:47.313" Score="4" Body="&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Universal Tracker&lt;/strong&gt; is first of all a communication channel between xConnect and your none-sitecore application. Yes, it is similar to &lt;strong&gt;Sitecore.Analytics.Tracker&lt;/strong&gt;, but only  in context of &quot;it can be used for triggering interactions/events&quot;, but it is not a replacement. UT is more like IoT Hub than Sitecore.Analytics.Tracker.&lt;/li&gt;&#xA;&lt;li&gt;Yes. UT can be used for offline interactions but if you don`t have Sitecore context (Sitecore.Analytics.Tracker) or xConnect in your application (desktop, mobile, IoT app). If you can use Sitecore.Analytics.Tracker or xConnect client in your application - use them better.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Also you mentioned that &lt;em&gt;&quot;Since as I understood events from universal tracker are processed in batches with some interval, so they do not appear immediately in xDB&quot;&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can manage this interval: you can change defaults or setup your own channel types/timeouts in &quot;wwwroot\Sitecore.Tracking.Processing.Service\sitecore\Sitecore.Tracking.Processing.ChannelManagement\PipelinesConfig\channelTypes.json&quot;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;      &quot;Id&quot;: &quot;59BD107F-D725-4BA1-91C6-61BEE3CB768C&quot;,&#xA;      &quot;Name&quot;: &quot;UT&quot;,&#xA;      &quot;IsActive&quot;: true,&#xA;      &quot;TimeOut&quot;: 10,&#xA;      &quot;Type&quot;: &quot;Sitecore.Tracking.Processing.Abstractions.Channels.Channel, Sitecore.Tracking.Processing.Abstractions&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-05-29T12:39:22.610" LastActivityDate="2019-05-29T12:39:22.610" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19027" PostTypeId="1" AcceptedAnswerId="19028" CreationDate="2019-05-29T13:03:22.823" Score="1" ViewCount="918" Body="&lt;p&gt;I have a DropLink Field which i want to disable(read only) for the content editor&lt;/p&gt;&#xA;&lt;p&gt;I have tried setting permissions on the security field&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fvbRW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fvbRW.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The field is still editable to the content editor&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CGitw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CGitw.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Am i missing anything ?&lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-05-29T13:05:40.237" Title="Disable a Field in Content Editor" Tags="|sitecore-client|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19028" PostTypeId="2" ParentId="19027" CreationDate="2019-05-29T13:05:40.237" Score="4" Body="&lt;p&gt;You should use &lt;code&gt;Field Write&lt;/code&gt; access right on the field item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VTZB6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VTZB6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember to set the access right on the role which shouldn't have access to that field. If you set &lt;code&gt;deny&lt;/code&gt; on &lt;code&gt;sitecore\everyone&lt;/code&gt; you will never be able to grant that access to any user from &lt;code&gt;sitecore&lt;/code&gt; domain anymore (except from admin accounts).&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-29T13:05:40.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19029" PostTypeId="2" ParentId="19017" CreationDate="2019-05-29T13:09:03.960" Score="0" Body="&lt;ol&gt;&#xA;&lt;li&gt;If the necessary core is not present on the slave it will not be&#xA;queryable by Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;The Solr Master will not &quot;take over&quot; as it is not exposed to, or queryable by the Content Delivery (CD)&#xA;servers.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Let me explain why...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a typical setup the master is unaware of the slaves. The slaves will poll the master at a preset poll interval (eg. 60 seconds). If the index on master is a newer version, the new files making up the changes are downloaded to the slave and the slave reloads the updated index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CD servers query only the slave indexes (often via a load balancer). These servers should be set up to use a manual index strategy so that they never update the slaves. If this is not set, the slaves will get out of sync with master and have to re-download the entire index regularly killing performance and bandwidth.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would start by investigating why your core is missing from the slave in question in the usual fashion; Search the logs for errors, check the replication configuration, try querying the index manually through the Solr web interface as a start. Ensure the replication process it functioning correctly.&lt;/p&gt;&#xA;" OwnerUserId="5012" LastEditorUserId="5012" LastEditDate="2019-05-29T13:21:22.403" LastActivityDate="2019-05-29T13:21:22.403" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19030" PostTypeId="2" ParentId="19018" CreationDate="2019-05-29T13:50:33.207" Score="1" Body="&lt;p&gt;The answer to my original question could have worked as Mark suggested, by looking at Context.Site.Name during the onSaving event, but then I tried to go with the best practice and use UISaved pipeline, as it triggers only when the Sitecore user &quot;Saves&quot; from within the Sitecore Content editor, so that worked perfectly for my case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was trying to change my workflow state field, but for some reason the changes wouldn't reflect in the item after saving, however this is how it finally worked:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using Sitecore.Caching;&#xA;using Sitecore.Configuration;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Pipelines.Save;&#xA;&#xA;namespace Example.Workflows&#xA;{&#xA;    public class SaveUIProcessor&#xA;    {   &#xA;        public virtual void Process(SaveArgs args)&#xA;        {&#xA;            foreach (SaveArgs.SaveItem saveItem in args.Items)&#xA;            {&#xA;                var item = Sitecore.Context.ContentDatabase.Items[saveItem.ID, saveItem.Language, saveItem.Version];&#xA;                if (item != null)&#xA;                {&#xA;                    setWorkflowState(item);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        protected virtual void setWorkflowState(Item item)&#xA;        {&#xA;                using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;                {&#xA;                    try&#xA;                    {&#xA;                        item.Editing.BeginEdit();&#xA;                        item.Fields[&quot;__Workflow&quot;].Value = WorkflowID;&#xA;                        item.Fields[&quot;__Workflow State&quot;].Value = ReviewStateID;&#xA;                        item.Editing.EndEdit(true,false);&#xA;                    }&#xA;                    catch(Exception ex)&#xA;                    {&#xA;                        Sitecore.Diagnostics.Log.SingleError(&quot;Error in workflow state set on saveui&quot; + ex, ex);&#xA;                    }&#xA;                }&#xA;         }&#xA;    }&#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I also added the following patch in a .config file for the processor, it ensures that my custom code runs before Sitecore.Pipelines.Save.WorkflowSaveCommand:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;processors&amp;gt;&#xA;      &amp;lt;saveUI&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot; type=&quot;Example.Workflows.SaveUIProcessor, Example.Workflows&quot; patch:before=&quot;processor[@type='Sitecore.Pipelines.Save.WorkflowSaveCommand, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/saveUI&amp;gt;&#xA;    &amp;lt;/processors&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After doing this, the changes reflected successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this answer was also pretty helpful &lt;a href=&quot;https://sitecore.stackexchange.com/a/923/3547&quot;&gt;https://sitecore.stackexchange.com/a/923/3547&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2019-05-29T13:50:33.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19031" PostTypeId="2" ParentId="19020" CreationDate="2019-05-29T14:08:31.040" Score="2" Body="&lt;p&gt;In addition to the method that @Gatogordo suggested you can use this method if your field has spaces in the name:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Fields.get_Item(&quot;A Field With Spaces&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can add &lt;code&gt;.ToString()&lt;/code&gt; in the same way as it is used in the other answer.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-29T14:08:31.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19032" PostTypeId="1" AcceptedAnswerId="19034" CreationDate="2019-05-29T14:15:11.170" Score="0" ViewCount="36" Body="&lt;p&gt;In &lt;code&gt;Sitecore Rocks&lt;/code&gt; when you open a folder in the &lt;code&gt;Media Library&lt;/code&gt; that has more than 100 items, you'll get the &quot;Loading many items&quot; dialog to ask you if you want to load it all or only the top 100. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've never had a problem with &lt;code&gt;VS&lt;/code&gt; when loading all the items so I'd like to suppress this dialog, is there any way of doing this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Possibly using a config patch file? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've checked all the options available in &lt;code&gt;Tools &amp;gt; Options &amp;gt; Sitecore&lt;/code&gt; but none are related to this.&lt;/p&gt;&#xA;" OwnerUserId="2974" LastEditorUserId="5096" LastEditDate="2019-05-30T09:30:53.433" LastActivityDate="2019-05-30T09:30:53.433" Title="Disabling the &quot;Loading many items&quot; dialog in Sitecore Rocks" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19033" PostTypeId="2" ParentId="19016" CreationDate="2019-05-29T14:20:49.160" Score="1" Body="&lt;p&gt;You need to set the &lt;code&gt;Alternate text&lt;/code&gt; on the &lt;code&gt;Link&lt;/code&gt; field, not the image. The &lt;code&gt;Link Description&lt;/code&gt; will set the text of the link if it has text, but you are using an image, so that will replace the text. The &lt;code&gt;Title&lt;/code&gt; attribute is set by the &lt;code&gt;Alternate text&lt;/code&gt; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tj6pP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tj6pP.png&quot; alt=&quot;Set the &amp;lt;code&amp;gt;Alternate text&amp;lt;/code&amp;gt; field&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-29T14:20:49.160" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19034" PostTypeId="2" ParentId="19032" CreationDate="2019-05-29T14:40:15.660" Score="2" Body="&lt;p&gt;Confirmed that this is hardcoded in a couple locations of Rocks:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.Rocks/blob/master/src/Sitecore.Rocks/ContentTrees/Items/ItemTreeViewItem.cs#L476&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;ItemTreeViewItem&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/Sitecore.Rocks/blob/master/src/Sitecore.Rocks/ContentTrees/VirtualItems/MyItems/MyItemsTreeViewItemBase.cs#L40&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;MyItemsTreeViewItemBase&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It's a rather unfriendly message though and with proper use of async I would think that we could avoid making Visual Studio &quot;grumpy&quot; and the need for this message at all. Perhaps some pagination instead, though UX-wise that's hard to do in a tree. At the very least, that 100-item limit could be made configurable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This would be a good candidate for an &lt;a href=&quot;https://github.com/Sitecore/Sitecore.Rocks/issues&quot; rel=&quot;nofollow noreferrer&quot;&gt;enhancement request&lt;/a&gt; and of course a PR if you are feeling inclined.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2019-05-29T14:40:15.660" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19035" PostTypeId="1" CreationDate="2019-05-29T17:09:43.083" Score="0" ViewCount="40" Body="&lt;p&gt;I have installed fresh new Sitecore Azure Paas (Sitecore 9 update 2). Created a Sitecore packages from my local to the new instance to migrate all the content, media, system and templates. Everything worked except media items. I have created media items packages from my local to new Azure instance. Installed the packages, Media items have been created but there is no media files attached to those items. All media items are showing as &quot;no files has been attached&quot;.&lt;/p&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2019-05-29T17:09:43.083" Title="Sitecore Azure Paas Media files not appearing" Tags="|azure|paas|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19037" PostTypeId="1" AcceptedAnswerId="19048" CreationDate="2019-05-29T21:36:08.057" Score="3" ViewCount="2139" Body="&lt;p&gt;I get the following error from my CD Server(serverB) &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The certificate was not found. Store: My, Location: LocalMachine, FindType: FindByThumbprint, FindValue: &quot;&quot;&quot;&quot;&quot;, InvalidAllowed: False.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source:&lt;/strong&gt; &lt;code&gt;Sitecore.Xdb.Common.Web&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My distributed setup is as follows &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a 2 server setup &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ServerA -&lt;/strong&gt; CM with reporting (installed using XP0 and NOT XP1 script)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ServerB -&lt;/strong&gt; copied the CD website from &lt;code&gt;serverA&lt;/code&gt; and imported  the XConnect client certificate from &lt;code&gt;server1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the original CD website on server1 which came with the XP0 setup which is working fine. The error is only on the CD website on &lt;code&gt;server2&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One more thing the XConnect from serverB to serverA is through an invalid https(read XConnect server certificate) connection!&lt;/p&gt;&#xA;" OwnerUserId="3568" LastEditorUserId="5387" LastEditDate="2019-05-30T09:30:49.990" LastActivityDate="2019-05-31T21:40:33.200" Title="Sitecore XP 9.1.1 certificates error" Tags="|xconnect|sitecore-install-framework|certificate|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19038" PostTypeId="2" ParentId="18977" CreationDate="2019-05-30T00:20:22.827" Score="1" Body="&lt;p&gt;Rebuild the Databases and Indexes, this will fix the issue. It worked for me.&lt;/p&gt;&#xA;" OwnerUserId="3900" LastActivityDate="2019-05-30T00:20:22.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19044" PostTypeId="1" CreationDate="2019-05-30T06:30:10.803" Score="1" ViewCount="2416" Body="&lt;p&gt;I have upgraded my Sitecore instance from &lt;code&gt;Sitecore.NET 8.2 (rev. 161221)&lt;/code&gt; to &lt;code&gt;Sitecore 9.1 update-1&lt;/code&gt;. while running migration I ran into the issue where I had &lt;code&gt;&amp;lt;indexAllFields&amp;gt;&lt;/code&gt; in the following config and I had to remove it cause it was causing the below exception. After migration lot of fields are missing from the index such as summary_t etc which were there before. Tried rebuilding the indexes multiple times. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Exception:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not find property 'indexAllFields' on object of type: Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;      &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;contentSearch&amp;gt;&#xA;          &amp;lt;configuration&amp;gt;&#xA;            &amp;lt;indexes&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_master_index&quot;&amp;gt;&#xA;                &amp;lt;configuration&amp;gt;&#xA;                  &amp;lt;patch:attribute name=&quot;ref&quot;&amp;gt;contentSearch/indexConfigurations/extendedSolrIndexConfiguration&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;              &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;                &amp;lt;configuration&amp;gt;&#xA;                  &amp;lt;patch:attribute name=&quot;ref&quot;&amp;gt;contentSearch/indexConfigurations/extendedSolrIndexConfiguration&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;              &amp;lt;/index&amp;gt;&#xA;            &amp;lt;/indexes&amp;gt;&#xA;          &amp;lt;/configuration&amp;gt;&#xA;          &amp;lt;indexConfigurations&amp;gt;&#xA;            &amp;lt;extendedSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt; //removed this after sitecore upgrade&#xA;              &amp;lt;initializeOnAdd&amp;gt;false&amp;lt;/initializeOnAdd&amp;gt;&#xA;              &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                &amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Collections.Generic.List`1[System.Guid]&quot; typeName=&quot;guidCollection&quot; fieldNameFormat=&quot;{0}_sm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Collections.Generic.List`1[System.String]&quot; typeName=&quot;stringCollection&quot; fieldNameFormat=&quot;{0}_sm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Collections.Generic.List`1[System.Int32]&quot; typeName=&quot;intCollection&quot; fieldNameFormat=&quot;{0}_im&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Guid&quot; typeName=&quot;guid&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot; typeName=&quot;id&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;Sitecore.Data.ShortID, Sitecore.Kernel&quot; typeName=&quot;shortid&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.String&quot; typeName=&quot;text&quot; fieldNameFormat=&quot;{0}_t&quot; cultureFormat=&quot;_{1}&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.String&quot; typeName=&quot;string&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Int32&quot; typeName=&quot;int&quot; fieldNameFormat=&quot;{0}_tl&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Boolean&quot; typeName=&quot;bool&quot; fieldNameFormat=&quot;{0}_b&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.DateTime&quot; typeName=&quot;datetime&quot; fieldNameFormat=&quot;{0}_tdt&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss.FFF'Z'&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Int64&quot; typeName=&quot;long&quot; fieldNameFormat=&quot;{0}_tl&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Single&quot; typeName=&quot;float&quot; fieldNameFormat=&quot;{0}_tf&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Double&quot; typeName=&quot;double&quot; fieldNameFormat=&quot;{0}_td&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.String[]&quot; typeName=&quot;stringArray&quot; fieldNameFormat=&quot;{0}_sm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Int32[]&quot; typeName=&quot;intArray&quot; fieldNameFormat=&quot;{0}_im&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.DateTime[]&quot; typeName=&quot;datetimeArray&quot; fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                  &amp;lt;typeMatch type=&quot;System.Collections.Generic.List`1[System.DateTime]&quot; typeName=&quot;datetimeCollection&quot; fieldNameFormat=&quot;{0}_dtm&quot; multiValued=&quot;true&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;                &amp;lt;/typeMatches&amp;gt;&#xA;                &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot; &amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;__created_by&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;__smallcreateddate&quot; returnType=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;__smallupdateddate&quot; returnType=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;__workflow_state&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;extension&quot; returnType=&quot;text&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;title&quot; returnType=&quot;text&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;metadata_keywords&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;newsarticle_tags&quot; returnType=&quot;stringCollection&quot; multiValued=&quot;true&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;workflow_review_dates&quot; returnType=&quot;datetimeCollection&quot; multiValued=&quot;true&quot;  /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;all_templates&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;has_presentation&quot; returnType=&quot;bool&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;has_search_result_formatter&quot; returnType=&quot;bool&quot; /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;content_type&quot; returnType=&quot;string&quot;  /&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;website_section&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;                &amp;lt;/fieldNames&amp;gt;&#xA;                &amp;lt;!-- FIELD TYPE MAPPING&#xA;               &amp;lt;fieldTypes hint=&quot;raw:AddFieldByFieldTypeName&quot;&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;checkbox&quot; returnType=&quot;bool&quot; /&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;date|datetime&quot; returnType=&quot;datetime&quot; /&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;html|rich text|single-line text|multi-line text|text|memo|image|reference&quot; returnType=&quot;text&quot; /&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;word document&quot; returnType=&quot;text&quot; /&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;integer&quot; returnType=&quot;long&quot; /&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;number&quot; returnType=&quot;float&quot; /&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;icon|droplist|grouped droplist&quot; returnType=&quot;string&quot; /&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;checklist|multilist|treelist|tree list|treelistex|tree list|multilist with search|treelist with search&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;name lookup value list|name value list&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;                  &amp;lt;fieldType fieldTypeName=&quot;droplink|droptree|grouped droplink|tree&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;                &amp;lt;/fieldTypes&amp;gt;&#xA;              &amp;lt;/fieldMap&amp;gt;&#xA;              &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot; &amp;gt;&#xA;                &amp;lt;exclude hint=&quot;list:AddExcludedTemplate&quot;&amp;gt;&#xA;                  &amp;lt;BucketFolderTemplateId&amp;gt;{ADB6CA4F-03EF-4F47-B9AC-9CE2BA53FF97}&amp;lt;/BucketFolderTemplateId&amp;gt;&#xA;                &amp;lt;/exclude&amp;gt;&#xA;                &amp;lt;!-- GLOBALLY EXCLUDE FIELDS FROM BEING INDEXED&#xA;                   This setting allows you to exclude fields from the index when the indexAllFields setting is set to true.&#xA;                --&amp;gt;&#xA;                &amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;&#xA;                  &amp;lt;__Created&amp;gt;{25BED78C-4957-4165-998A-CA1B52F67497}&amp;lt;/__Created&amp;gt;&#xA;                  &amp;lt;__DefaultWorkflow&amp;gt;{CA9B9F52-4FB0-4F87-A79F-24DEA62CDA65}&amp;lt;/__DefaultWorkflow&amp;gt;&#xA;                  &amp;lt;__Lock&amp;gt;{001DD393-96C5-490B-924A-B0F25CD9EFD8}&amp;lt;/__Lock&amp;gt;&#xA;                  &amp;lt;__LongDescription&amp;gt;{577F1689-7DE4-4AD2-A15F-7FDC1759285F}&amp;lt;/__LongDescription&amp;gt;&#xA;                  &amp;lt;__Originator&amp;gt;{F6D8A61C-2F84-4401-BD24-52D2068172BC}&amp;lt;/__Originator&amp;gt;&#xA;                  &amp;lt;__Owner&amp;gt;{52807595-0F8F-4B20-8D2A-CB71D28C6103}&amp;lt;/__Owner&amp;gt;&#xA;                  &amp;lt;__ReadOnly&amp;gt;{9C6106EA-7A5A-48E2-8CAD-F0F693B1E2D4}&amp;lt;/__ReadOnly&amp;gt;&#xA;                  &amp;lt;__Renderings&amp;gt;{F1A1FE9E-A60C-4DDB-A3A0-BB5B29FE732E}&amp;lt;/__Renderings&amp;gt;&#xA;                  &amp;lt;__Revision&amp;gt;{8CDC337E-A112-42FB-BBB4-4143751E123F}&amp;lt;/__Revision&amp;gt;&#xA;                  &amp;lt;__Security&amp;gt;{DEC8D2D5-E3CF-48B6-A653-8E69E2716641}&amp;lt;/__Security&amp;gt;&#xA;                  &amp;lt;__ShortDescription&amp;gt;{9541E67D-CE8C-4225-803D-33F7F29F09EF}&amp;lt;/__ShortDescription&amp;gt;&#xA;                  &amp;lt;__SortOrder&amp;gt;{BA3F86A2-4A1C-4D78-B63D-91C2779C1B5E}&amp;lt;/__SortOrder&amp;gt;&#xA;                  &amp;lt;__Source&amp;gt;{1B86697D-60CA-4D80-83FB-7555A2E6CE1C}&amp;lt;/__Source&amp;gt;&#xA;                  &amp;lt;__Updated&amp;gt;{D9CF14B1-FA16-4BA6-9288-E8A174D4D522}&amp;lt;/__Updated&amp;gt;&#xA;                  &amp;lt;__UpdatedBy&amp;gt;{BADD9CF9-53E0-4D0C-BCC0-2D784C282F6A}&amp;lt;/__UpdatedBy&amp;gt;&#xA;                  &amp;lt;__ValidFrom&amp;gt;{C8F93AFE-BFD4-4E8F-9C61-152559854661}&amp;lt;/__ValidFrom&amp;gt;&#xA;                  &amp;lt;__Workflow&amp;gt;{A4F985D9-98B3-4B52-AAAF-4344F6E747C6}&amp;lt;/__Workflow&amp;gt;&#xA;                  &amp;lt;ArchiveDate&amp;gt;{56C15C6D-FD5A-40CA-BB37-64CEEC6A9BD5}&amp;lt;/ArchiveDate&amp;gt;&#xA;                  &amp;lt;ArchiveVersionDate&amp;gt;{1D99005E-65CA-45CA-9D9A-FD7016E23F1E}&amp;lt;/ArchiveVersionDate&amp;gt;&#xA;                  &amp;lt;Boost&amp;gt;{93D1B217-B8F4-462E-BABF-68298C9CE667}&amp;lt;/Boost&amp;gt;&#xA;                  &amp;lt;BucketParentReference&amp;gt;{9DAFCA1D-D618-4616-86B8-A8ACD6B28A63}&amp;lt;/BucketParentReference&amp;gt;&#xA;                  &amp;lt;Cacheable&amp;gt;{3D08DB46-2267-41B0-BC52-BE69FD618633}&amp;lt;/Cacheable&amp;gt;&#xA;                  &amp;lt;ContextMenu&amp;gt;{D3AE7222-425D-4B77-95D8-EE33AC2B6730}&amp;lt;/ContextMenu&amp;gt;&#xA;                  &amp;lt;Controller&amp;gt;{4C9312A5-2E4E-42F8-AB6F-B8DB8B82BF22}&amp;lt;/Controller&amp;gt;&#xA;                  &amp;lt;ControllerAction&amp;gt;{9FB734CC-8952-4072-A2D4-40F890E16F56}&amp;lt;/ControllerAction&amp;gt;&#xA;                  &amp;lt;DefaultBucketQuery&amp;gt;{AC51462C-8A8D-493B-9492-34D1F26F20F1}&amp;lt;/DefaultBucketQuery&amp;gt;&#xA;                  &amp;lt;DefaultView&amp;gt;{3607F9C7-DDA3-43C3-9720-39A7A5B3A4C3}&amp;lt;/DefaultView&amp;gt;&#xA;                  &amp;lt;Editor&amp;gt;{D85DB4EC-FF89-4F9C-9E7C-A9E0654797FC}&amp;lt;/Editor&amp;gt;&#xA;                  &amp;lt;Editors&amp;gt;{A0CB3965-8884-4C7A-8815-B6B2E5CED162}&amp;lt;/Editors&amp;gt;&#xA;                  &amp;lt;EnabledViews&amp;gt;{F2DB8BA1-E477-41F5-8EF5-22EEFA8D2F6E}&amp;lt;/EnabledViews&amp;gt;&#xA;                  &amp;lt;Facets&amp;gt;{21F74F6E-42D4-42A2-A4B4-4CEFBCFBD2BB}&amp;lt;/Facets&amp;gt;&#xA;                  &amp;lt;HelpLink&amp;gt;{56776EDF-261C-4ABC-9FE7-70C618795239}&amp;lt;/HelpLink&amp;gt;&#xA;                  &amp;lt;HideVersion&amp;gt;{B8F42732-9CB8-478D-AE95-07E25345FB0F}&amp;lt;/HideVersion&amp;gt;&#xA;                  &amp;lt;Icon&amp;gt;{06D5295C-ED2F-4A54-9BF2-26228D113318}&amp;lt;/Icon&amp;gt;&#xA;                  &amp;lt;Masters&amp;gt;{1172F251-DAD4-4EFB-A329-0C63500E4F1E}&amp;lt;/Masters&amp;gt;&#xA;                  &amp;lt;NeverPublish&amp;gt;{9135200A-5626-4DD8-AB9D-D665B8C11748}&amp;lt;/NeverPublish&amp;gt;&#xA;                  &amp;lt;PersistentFilter&amp;gt;{C7815F60-96E1-40CB-BB06-B5F833F73B61}&amp;lt;/PersistentFilter&amp;gt;&#xA;                  &amp;lt;Preview&amp;gt;{41C6CC0E-389F-4D51-9990-FE35417B6666}&amp;lt;/Preview&amp;gt;&#xA;                  &amp;lt;Publish&amp;gt;{86FE4F77-4D9A-4EC3-9ED9-263D03BD1965}&amp;lt;/Publish&amp;gt;&#xA;                  &amp;lt;ReminderDate&amp;gt;{ABE5D54C-59D7-41E6-8D3F-C1A3E4EC9B9E}&amp;lt;/ReminderDate&amp;gt;&#xA;                  &amp;lt;ReminderText&amp;gt;{BB6C8540-118E-4C49-9157-830576D7345A}&amp;lt;/ReminderText&amp;gt;&#xA;                  &amp;lt;Renderers&amp;gt;{B03569B1-1534-43F2-8C83-BD064B7D782C}&amp;lt;/Renderers&amp;gt;&#xA;                  &amp;lt;Ribbon&amp;gt;{0C894AAB-962B-4A84-B923-CB24B05E60D2}&amp;lt;/Ribbon&amp;gt;&#xA;                  &amp;lt;Skin&amp;gt;{079AFCFE-8ACA-4863-BDA7-07893541E2F5}&amp;lt;/Skin&amp;gt;&#xA;                  &amp;lt;Style&amp;gt;{A791F095-2521-4B4D-BEF9-21DDA221F608}&amp;lt;/Style&amp;gt;&#xA;                  &amp;lt;SubItemSorting&amp;gt;{6FD695E7-7F6D-4CA5-8B49-A829E5950AE9}&amp;lt;/SubItemSorting&amp;gt;&#xA;                  &amp;lt;SuppressedValidationRules&amp;gt;{F47C0D78-61F9-479C-96DF-1159727D32C6}&amp;lt;/SuppressedValidationRules&amp;gt;&#xA;                  &amp;lt;UnPublish&amp;gt;{7EAD6FD6-6CF1-4ACA-AC6B-B200E7BAFE88}&amp;lt;/UnPublish&amp;gt;&#xA;                  &amp;lt;UserAgent&amp;gt;{4E678FC0-8D35-4AB7-BB49-156F33C8B955}&amp;lt;/UserAgent&amp;gt;&#xA;                  &amp;lt;ValidTo&amp;gt;{4C346442-E859-4EFD-89B2-44AEDF467D21}&amp;lt;/ValidTo&amp;gt;&#xA;                  &amp;lt;VaryByData&amp;gt;{8B6D532B-6128-4486-A044-CA06D90948BA}&amp;lt;/VaryByData&amp;gt;&#xA;                  &amp;lt;VaryByDevice&amp;gt;{C98CF969-BA71-42DA-833D-B3FC1368BA27}&amp;lt;/VaryByDevice&amp;gt;&#xA;                  &amp;lt;VaryByLogin&amp;gt;{8D9232B0-613F-440B-A2FA-DCDD80FBD33E}&amp;lt;/VaryByLogin&amp;gt;&#xA;                  &amp;lt;VaryByParam&amp;gt;{3AD2506A-DC39-4B1E-959F-9D524ADDBF50}&amp;lt;/VaryByParam&amp;gt;&#xA;                  &amp;lt;VaryByQueryString&amp;gt;{1084D3D2-0457-456A-ABBC-EB4CC0966072}&amp;lt;/VaryByQueryString&amp;gt;&#xA;                  &amp;lt;VaryByUser&amp;gt;{0E54A8DC-72AD-4372-A7C7-BB4773FAD44D}&amp;lt;/VaryByUser&amp;gt;&#xA;                  &amp;lt;VaryByIndex&amp;gt;{F3E7E552-D7C8-469B-A150-69E4E14AB35C}&amp;lt;/VaryByIndex&amp;gt;&#xA;                &amp;lt;/exclude&amp;gt;&#xA;                &amp;lt;!-- REMOVE INBUILT SITECORE FIELDS&#xA;                   This allows you to store a field in different ways in the index. You may want to store a field as Analyzed and Not Analyze&#xA;                --&amp;gt;&#xA;                &amp;lt;fields hint=&quot;raw:AddExcludedSpecialField&quot;&amp;gt;&#xA;                  &amp;lt;remove type=&quot;both&quot;&amp;gt;AllTemplates&amp;lt;/remove&amp;gt;&#xA;                  &amp;lt;remove type=&quot;both&quot;&amp;gt;Created&amp;lt;/remove&amp;gt;&#xA;                  &amp;lt;remove type=&quot;both&quot;&amp;gt;Editor&amp;lt;/remove&amp;gt;&#xA;                  &amp;lt;remove type=&quot;both&quot;&amp;gt;Hidden&amp;lt;/remove&amp;gt;&#xA;                  &amp;lt;remove type=&quot;both&quot;&amp;gt;Icon&amp;lt;/remove&amp;gt;&#xA;                  &amp;lt;remove type=&quot;both&quot;&amp;gt;Links&amp;lt;/remove&amp;gt;&#xA;                  &amp;lt;remove type=&quot;both&quot;&amp;gt;Updated&amp;lt;/remove&amp;gt;&#xA;                &amp;lt;/fields&amp;gt;&#xA;               &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;__smallcreateddate&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.CreatedDate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;__smallupdateddate&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.UpdatedDate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&quot; fieldName=&quot;_content&quot; returnType=&quot;string&quot;&amp;gt;&#xA;                    &amp;lt;mediaIndexing ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/mediaIndexing&quot; /&amp;gt;&#xA;                  &amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;calculateddimension&quot; returnType=&quot;stringCollection&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.CalculatedDimension,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;culture&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.Culture,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;haschildren&quot; returnType=&quot;bool&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.HasChildren,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;istemplate&quot; returnType=&quot;bool&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsTemplate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;lock&quot; returnType=&quot;bool&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsLocked,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;parsedcreatedby&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedCreatedBy,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;parsedupdatedby&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedUpdatedBy,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;parsedlanguage&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedLanguage,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;site&quot; returnType=&quot;stringCollection&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.Site,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;sizerange&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.FileSizeGrouping,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;version&quot; returnType=&quot;intCollection&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.StoreVersionTermVector,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;isbucket_text&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.IsBucket,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;__lock&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.ContentSearch.ComputedFields.ParsedLockOwner,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;metadata_keywords&quot; returnType=&quot;stringCollection&quot; &amp;gt;Sitecore.Feature.Metadata.Infrastructure.Fields.KeywordsComputedField, Sitecore.Feature.Metadata&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;newsarticle_tags&quot; returnType=&quot;stringCollection&quot; multiValued=&quot;true&quot; &amp;gt;Sitecore.Feature.News.Indexing.NewsTagsComputedField, Sitecore.Feature.News&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;workflow_review_dates&quot; returnType=&quot;datetimeCollection&quot; multiValued=&quot;true&quot; &amp;gt;Sitecore.Feature.Workflow.Infrastructure.Indexing.ReviewDateRemindersComputedField, Sitecore.Feature.Workflow&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;has_presentation&quot; returnType=&quot;boolean&quot; &amp;gt;Sitecore.Foundation.Indexing.Infrastructure.Fields.HasPresentationComputedField, Sitecore.Foundation.Indexing&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;all_templates&quot; returnType=&quot;stringColection&quot; &amp;gt;Sitecore.Foundation.Indexing.Infrastructure.Fields.AllTemplatesComputedField, Sitecore.Foundation.Indexing&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;has_search_result_formatter&quot; returnType=&quot;boolean&quot; &amp;gt;Sitecore.Foundation.Indexing.Infrastructure.Fields.HasSearchResultFormatterComputedField, Sitecore.Foundation.Indexing&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;content_type&quot; returnType=&quot;stringCollection&quot; &amp;gt;Sitecore.Foundation.Indexing.Infrastructure.Fields.ContentTypeComputedField, Sitecore.Foundation.Indexing&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;local_datasource_content&quot; storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; &amp;gt;Sitecore.Foundation.LocalDatasource.Infrastructure.Indexing.LocalDatasourceContentField, Sitecore.Foundation.LocalDatasource&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;website_section&quot; returnType=&quot;string&quot;&amp;gt;Sitecore.Unitywater.Website.Infrastructure.Fields.WebsiteSectionComputedField, Sitecore.Unitywater.Website&amp;lt;/field&amp;gt;&#xA;                  &amp;lt;field fieldName=&quot;full_content&quot; storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;Sitecore.Foundation.Indexing.Infrastructure.Fields.HtmlCrawledField, Sitecore.Foundation.Indexing&amp;lt;/field&amp;gt;&#xA;                &amp;lt;/fields&amp;gt;&#xA;              &amp;lt;/documentOptions&amp;gt;&#xA;              &amp;lt;mediaIndexing hint=&quot;skip&quot;&amp;gt;&#xA;                &amp;lt;mimeTypes&amp;gt;&#xA;                  &amp;lt;excludes&amp;gt;&#xA;                    &amp;lt;mimeType&amp;gt;*&amp;lt;/mimeType&amp;gt;&#xA;                  &amp;lt;/excludes&amp;gt;&#xA;                  &amp;lt;includes&amp;gt;&#xA;                    &amp;lt;mimeType&amp;gt;application/pdf&amp;lt;/mimeType&amp;gt;&#xA;                    &amp;lt;mimeType type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemHtmlTextExtractor, Sitecore.ContentSearch&quot;&amp;gt;text/html&amp;lt;/mimeType&amp;gt;&#xA;                    &amp;lt;mimeType&amp;gt;text/plain&amp;lt;/mimeType&amp;gt;&#xA;                  &amp;lt;/includes&amp;gt;&#xA;                &amp;lt;/mimeTypes&amp;gt;&#xA;              &amp;lt;/mediaIndexing&amp;gt;&#xA;              &amp;lt;!-- VIRTUAL FIELDS&#xA;                   Virtual fields can be used to translate a field query into a different query.&#xA;                --&amp;gt;&#xA;              &amp;lt;virtualFields type=&quot;Sitecore.ContentSearch.VirtualFieldProcessorMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;processors hint=&quot;raw:AddFromConfiguration&quot;&amp;gt;&#xA;                  &amp;lt;add type=&quot;Sitecore.ContentSearch.VirtualFields.DateRangeFieldProcessor, Sitecore.ContentSearch&quot; fieldName=&quot;daterange&quot; /&amp;gt;&#xA;                  &amp;lt;add type=&quot;Sitecore.ContentSearch.VirtualFields.LatestVersionFieldProcessor, Sitecore.ContentSearch&quot; fieldName=&quot;_lastestversion&quot; /&amp;gt;&#xA;                  &amp;lt;add type=&quot;Sitecore.ContentSearch.VirtualFields.UpdatedDateRangeFieldProcessor, Sitecore.ContentSearch&quot; fieldName=&quot;updateddaterange&quot; /&amp;gt;&#xA;                  &amp;lt;add type=&quot;Sitecore.ContentSearch.VirtualFields.UniqueIdFieldProcessor, Sitecore.ContentSearch&quot; fieldName=&quot;_url&quot; /&amp;gt;&#xA;                  &amp;lt;add type=&quot;Sitecore.ContentSearch.VirtualFields.FullPathFieldProcessor, Sitecore.ContentSearch&quot; fieldName=&quot;_fullpath&quot; /&amp;gt;&#xA;                  &amp;lt;add type=&quot;Sitecore.ContentSearch.VirtualFields.CreatedByFieldProcessor, Sitecore.ContentSearch&quot; fieldName=&quot;parsedcreatedby_s&quot; /&amp;gt;&#xA;                  &amp;lt;add type=&quot;Sitecore.ItemWebApi.VirtualFields.UpdatedIntervalFieldProcessor, Sitecore.Speak.ItemWebApi&quot; fieldName=&quot;updatedinterval&quot;  /&amp;gt;&#xA;                &amp;lt;/processors&amp;gt;&#xA;              &amp;lt;/virtualFields&amp;gt;&#xA;              &amp;lt;!-- SITECORE FIELDTYPE MAP&#xA;                   This maps a field type by name to a Strongly Typed Implementation of the field type e.g. html maps to HTMLField&#xA;                --&amp;gt;&#xA;              &amp;lt;fieldReaders type=&quot;Sitecore.ContentSearch.FieldReaders.FieldReaderMap, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;id&quot;&amp;gt;defaultFieldReaderMap&amp;lt;/param&amp;gt;&#xA;                &amp;lt;mapFieldByTypeName hint=&quot;raw:AddFieldReaderByFieldTypeName&quot;&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;checkbox&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.CheckboxFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;date|datetime&quot; fieldReaderType=&quot;Sitecore.Marketing.Search.FieldReaders.NullableDateFieldReader, Sitecore.Marketing.Search&quot;/&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;image&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.ImageFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;single-line text|multi-line text|text|memo&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.DefaultFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;integer&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.NumericFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;number&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.PrecisionNumericFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;html|rich text&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.RichTextFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;multilist with search|treelist with search&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.DelimitedListFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;checklist|multilist|treelist|treelistex|tree list&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.MultiListFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;icon|droplist|grouped droplist&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.DefaultFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;name lookup value list|name value list&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.NameValueListFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;droplink|droptree|grouped droplink|tree|reference&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.LookupFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;attachment|frame|rules|tracking|thumbnail&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.NullFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;fieldReader fieldTypeName=&quot;file|security|server file|template field source|link&quot; fieldReaderType=&quot;Sitecore.ContentSearch.FieldReaders.NullFieldReader, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                &amp;lt;/mapFieldByTypeName&amp;gt;&#xA;              &amp;lt;/fieldReaders&amp;gt;&#xA;              &amp;lt;indexFieldStorageValueFormatter type=&quot;Sitecore.ContentSearch.SolrProvider.Converters.SolrIndexFieldStorageValueFormatter, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                &amp;lt;converters hint=&quot;raw:AddConverter&quot;&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldGuidValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;System.Guid&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldIDValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;Sitecore.Data.ID, Sitecore.Kernel&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldShortIDValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;Sitecore.Data.ShortID, Sitecore.Kernel&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldUTCDateTimeValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;System.DateTime&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldDateTimeOffsetValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;System.DateTimeOffset&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldTimeSpanValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;System.TimeSpan&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldSitecoreItemIDValueConvertor, Sitecore.ContentSearch&quot; handlesType=&quot;Sitecore.ContentSearch.SitecoreItemId, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                    &amp;lt;param type=&quot;Sitecore.ContentSearch.Converters.IndexFieldIDValueConverter, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;/converter&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.SolrProvider.Converters.SolrIndexFieldSitecoreItemUniqueIDValueConverter, Sitecore.ContentSearch.SolrProvider&quot; handlesType=&quot;Sitecore.ContentSearch.SitecoreItemUniqueId, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                    &amp;lt;param type=&quot;Sitecore.ContentSearch.Converters.IndexFieldItemUriValueConverter, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;/converter&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldItemUriValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;Sitecore.Data.ItemUri, Sitecore.Kernel&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldLanguageValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;Sitecore.Globalization.Language, Sitecore.Kernel&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldCultureInfoValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;System.Globalization.CultureInfo&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldVersionValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;Sitecore.Data.Version, Sitecore.Kernel&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexFieldDatabaseValueConverter, Sitecore.ContentSearch&quot; handlesType=&quot;Sitecore.Data.Database, Sitecore.Kernel&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexableIdConverter, Sitecore.ContentSearch&quot; handlesType=&quot;Sitecore.ContentSearch.IIndexableId, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                  &amp;lt;converter typeConverter=&quot;Sitecore.ContentSearch.Converters.IndexableUniqueIdConverter, Sitecore.ContentSearch&quot; handlesType=&quot;Sitecore.ContentSearch.IIndexableUniqueId, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                &amp;lt;/converters&amp;gt;&#xA;              &amp;lt;/indexFieldStorageValueFormatter&amp;gt;&#xA;              &amp;lt;indexDocumentPropertyMapper type=&quot;Sitecore.ContentSearch.SolrProvider.Mapping.SolrDocumentPropertyMapper, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;                &amp;lt;objectFactory type=&quot;Sitecore.ContentSearch.DefaultDocumentMapperObjectFactory, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;              &amp;lt;/indexDocumentPropertyMapper&amp;gt;&#xA;             &amp;lt;documentBuilderType&amp;gt;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilder, Sitecore.ContentSearch.SolrProvider&amp;lt;/documentBuilderType&amp;gt;&#xA;              &amp;lt;defaultSearchSecurityOption ref=&quot;contentSearch/indexConfigurations/defaultSearchSecurityOption&quot; /&amp;gt;&#xA;            &amp;lt;/extendedSolrIndexConfiguration&amp;gt;&#xA;          &amp;lt;/indexConfigurations&amp;gt;&#xA;        &amp;lt;/contentSearch&amp;gt;&#xA;      &amp;lt;/sitecore&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="5387" LastEditDate="2019-07-30T05:28:32.950" LastActivityDate="2019-07-30T05:28:32.950" Title="Sitecore upgrade to 9.1 not indexing solr fields" Tags="|solr|content-search|upgrade|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19045" PostTypeId="1" CreationDate="2019-05-30T06:36:12.233" Score="1" ViewCount="223" Body="&lt;p&gt;We are using Sitecore 9.0.2 along with SXA 1.7.1&#xA;We have a workflow in place with these states: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1. Draft (initial state)&#xA;2. Approver Approval&#xA;3. Publisher Approval (it has Approve and Reject workflow command)&#xA;4. Published (Final State)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In Published state we have below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1. Auto Publish (workflow action)&#xA;2. Un-Publish (workflow command)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once a publisher approves, the item moves to the Published state and it gets published automatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Published state we have an Un-Publish workflow command to unpublish the item. The Un-Publish button is visible but disabled in the workflow section of the Review tab in the content editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a publisher opens this item in the experience editor, the Un-Publish button is visible and enabled and working fine when they click on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to enable this button in the Content Editor also?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Permissions are granted to the publisher role for the Un-Publish workflow command, but it still is disabled in CE:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1. Read&#xA;2. Workflow State Delete&#xA;3. Workflow State Write&#xA;4. Workflow Command Execute&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3377" LastEditorUserId="237" LastEditDate="2019-05-30T09:09:38.207" LastActivityDate="2019-05-30T09:09:38.207" Title="Unpublish workflow command disabled in Published (final state) in CE" Tags="|content-editor|workflow|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19046" PostTypeId="2" ParentId="19044" CreationDate="2019-05-30T06:38:26.797" Score="2" Body="&lt;p&gt;&lt;code&gt;indexAllFields&lt;/code&gt; should be inside &lt;code&gt;documentOptions&lt;/code&gt; tag&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;defaultSolrIndexConfiguration&amp;gt;&#xA; &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;   &amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&#xA; &amp;lt;/documentOptions&amp;gt;&#xA;&amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can check solr default index &lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt; in this location &lt;code&gt;\App_Config\Sitecore\ContentSearch\&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-05-30T06:48:28.783" LastActivityDate="2019-05-30T06:48:28.783" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="19047" PostTypeId="2" ParentId="19044" CreationDate="2019-05-30T06:38:54.177" Score="0" Body="&lt;p&gt;There is &lt;code&gt;documentOptions&lt;/code&gt; node missing in your config. Should be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;extendedSolrIndexConfiguration&amp;gt;&#xA;    &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;        &amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&#xA;&#xA;        &amp;lt;exclude hint=&quot;list:AddExcludedTemplate&quot;&amp;gt;...&amp;lt;/exclude&amp;gt;&#xA;&#xA;        &amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;...&amp;lt;/exclude&amp;gt;&#xA;&#xA;        &amp;lt;fields hint=&quot;raw:AddExcludedSpecialField&quot;&amp;gt;...&amp;lt;/fields&amp;gt;&#xA;&#xA;        &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;...&amp;lt;/fields&amp;gt;&#xA;    &amp;lt;/documentOptions&amp;gt;&#xA;&amp;lt;/extendedSolrIndexConfiguration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-05-30T06:59:34.517" LastActivityDate="2019-05-30T06:59:34.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19048" PostTypeId="2" ParentId="19037" CreationDate="2019-05-30T06:57:49.177" Score="2" Body="&lt;p&gt;Please check the below things.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Check the connection string on ServerB and check  &quot;xconnect.collection.certificate&quot; has the same thumbprint that you have for Xconnect certificate on ServerA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- Make sure your server certificate (SSL) for XConnect is valid and can be validated from ServerB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- run MMC and check that certificate is exist in your local machine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4- And In MMC&gt;localmachine&gt; edit the permission for certificate and give full control to account(Network Service/something else) in which application is running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if you are facing any issue for the above points&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4105" LastActivityDate="2019-05-30T06:57:49.177" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19049" PostTypeId="1" AcceptedAnswerId="19050" CreationDate="2019-05-30T07:18:38.257" Score="2" ViewCount="318" Body="&lt;p&gt;In our SXA site, we make use of the OOTB-rich text renderings.  I was hoping the content of these would be available in the search results - pointing to the containing page as the result.  I notice though that the template does not seem to be inheriting _searchable.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9tg9J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9tg9J.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Is this the reason why I can use the search interface in azure to query the sitecore-web-index and see a matching document that has a property of:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;searchable: false&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I'm a bit hesitant to change the inheritance of the standard template that was provided as part of SXA for upgradeability as the content seems like something that should be searchable?  Unless the search results don't handle out of the box pointing the result to the containing page (rather than to the rich text data source URL)?  Or I've missed something else obvious that will fix my issue.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="4050" LastEditDate="2021-10-05T17:39:55.573" LastActivityDate="2021-10-05T17:39:55.573" Title="Not finding SXA Rich text rendering content in search results" Tags="|sxa|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19050" PostTypeId="2" ParentId="19049" CreationDate="2019-05-30T07:47:04.650" Score="2" Body="&lt;p&gt;That is actually the first time I hear that someone would like to search for Rich Text data source items. On the other hand - why not!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you noticed, by default, those items are not searchable. You need to inherit from &lt;code&gt;_Searchable&lt;/code&gt; template. But this will only allow you to search for Rich Text data source items located in local data folders. If you would like to also search for items located under Data (&lt;code&gt;/sitecore/content/TENANT/SITE/Data/Texts&lt;/code&gt;) you need to mark that folder as associated content explicitly:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HNkNU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HNkNU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, you will be able to search for Rich Text items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eg75j.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eg75j.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind (as you noticed) that if you change SXA item (assigning &lt;code&gt;_Searchable&lt;/code&gt; base template), it will be overridden while upgrading SXA. A workaround for it would to clone the Rich Text and use your own data source items (which inherits from SXA ones). But to be honest, I would probably update SXA item if you have a requirement to search for Rich Text data sources.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-05-30T07:47:04.650" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19051" PostTypeId="1" AcceptedAnswerId="19054" CreationDate="2019-05-30T08:09:16.753" Score="4" ViewCount="1318" Body="&lt;p&gt;I'm trying to implement user authentication login and currently trying out to configure JSS connected mode to work with https (secure connection).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/authentication/sitecore-auth&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/techniques/authentication/sitecore-auth&lt;/a&gt; document.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got my integrated site configured with https with local cert.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I'm trying to use JSS start:connected to connect my app in secure channel, but I'm getting 500 error page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I can see data is correctly returned from the Layout service in the network tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following error appears on the browser console :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Access to XMLHttpRequest at&#xA;'https://hostname/sitecore/api/layout/render/jss?item=%2F&amp;sc_lang=en&amp;sc_apikey=%7BA%7D'&#xA;from origin 'http://localhost:3000' has been blocked by CORS policy:&#xA;The value of the 'Access-Control-Allow-Credentials' header in the&#xA;response is 'true, true' which must be 'true' when the request's&#xA;credentials mode is 'include'. The credentials mode of requests&#xA;initiated by the XMLHttpRequest is controlled by the withCredentials&#xA;attribute.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any help would be highly appreciated&lt;/p&gt;&#xA;" OwnerUserId="383" LastEditorUserId="2153" LastEditDate="2020-05-24T22:55:27.723" LastActivityDate="2020-05-24T22:55:27.723" Title="500 Error Page for HTTPS connection in Sitecore JSS in Connected Mode" Tags="|security|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19052" PostTypeId="1" AcceptedAnswerId="19053" CreationDate="2019-05-30T08:47:20.410" Score="3" ViewCount="761" Body="&lt;p&gt;In my Sitecore instance some red text has appeared next to the Inheritance section in the &lt;em&gt;Assign Security Rights&lt;/em&gt; dialog box (see screenshot below). &quot;&lt;em&gt;The item has individual inheritance rules set for this account&lt;/em&gt;&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone tell me what this means and how it could be resolved?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JbfwV.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JbfwV.jpg&quot; alt=&quot;Assign Security Rights Dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2949" LastActivityDate="2019-05-30T08:53:54.963" Title="Security Permissions - Individual inheritance rules set for this account" Tags="|security|permissions|inheritance|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19053" PostTypeId="2" ParentId="19052" CreationDate="2019-05-30T08:53:54.963" Score="4" Body="&lt;p&gt;Sitecore items inherit security settings by default. An item can inherit the access rights that have been specified for other items that are higher up the content tree. Any item can be configured to inherit the security settings of its parent item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore allows you to configure which items should inherit security settings and which should not. The message you see means that someone configured explicit values for inheritance of the access rights for that particular item. It's not a bug. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about access rights and security in &lt;strong&gt;&lt;a href=&quot;https://sdn.sitecore.net/upload/sitecore6/securityadministratorscookbook-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Security Administrator´s Cookbook&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The link is for Sitecore 6 but nothing has changed in terms of how Security works - only styling of Sitecore has changed.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-30T08:53:54.963" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19054" PostTypeId="2" ParentId="19051" CreationDate="2019-05-30T11:30:19.900" Score="5" Body="&lt;p&gt;It looks like the Access-Control-Allow-Credentials value was added twice, hence the value is shown as &quot;true, true&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try removing it first then add again.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;remove name=&quot;Access-Control-Allow-Credentials&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;Access-Control-Allow-Credentials&quot; value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-05-30T11:30:19.900" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19055" PostTypeId="1" AcceptedAnswerId="19134" CreationDate="2019-05-30T12:28:41.537" Score="4" ViewCount="144" Body="&lt;p&gt;I have only found provided &lt;code&gt;.NET SDK&lt;/code&gt; on &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/universal-tracker-sdk.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore docs - Universal tracker SDK&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if consider having standalone &lt;code&gt;React app&lt;/code&gt; I would like to use Universal Tracker &lt;code&gt;HTTP API&lt;/code&gt; directly from javascript. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Otherwise, I need to create intermediate &lt;code&gt;proxy API&lt;/code&gt; that would use provided &lt;code&gt;.NET SDK&lt;/code&gt;, e.g. the request chain would look like :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;React -&gt; custom proxy with .NET SDK -&gt; UT collection service&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Has anybody found the list of supported &lt;code&gt;HTTP APIs&lt;/code&gt;? &lt;/p&gt;&#xA;" OwnerUserId="4110" LastEditorUserId="2152" LastEditDate="2019-06-03T15:07:19.260" LastActivityDate="2020-06-27T18:08:00.890" Title="Where could I get the list of Universal tracker HTTP API?" Tags="|universal-tracker|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19057" PostTypeId="1" AcceptedAnswerId="19073" CreationDate="2019-05-30T14:04:04.277" Score="2" ViewCount="390" Body="&lt;p&gt;I am using Sitecore Experience Platform 9.0 rev. 180604 (9.0 Update-2) and my Experience profile does not show the Contacts that I have created, except for one Anonymous Contact that existed a month ago. The custom form submit action is supposed to get the details of the user (firstName, lastName, email) and identifies it as a Contact, but Experience Profile does not show it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So for the steps I have tried (I actually have two variants of code in adding a Contact):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual ContactIdentifier CreateContact(string email, PersonalInformation personalInfo)&#xA;    {&#xA;        var identifier = new ContactIdentifier(ContactSource, email, ContactIdentifierType.Known);&#xA;        var identifiers = new ContactIdentifier[] { identifier };&#xA;&#xA;        try&#xA;        {&#xA;            if (CurrentTracker != null &amp;amp;&amp;amp; CurrentTracker.IsActive &amp;amp;&amp;amp; CurrentTracker.Session != null)&#xA;            {&#xA;                CurrentTracker.Session.IdentifyAs(ContactSource, email);&#xA;                CurrentTracker.Contact.Tags.Set(&quot;isEmpty&quot;, &quot;false&quot;);&#xA;            }&#xA;&#xA;            using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;            {&#xA;                var knownContact = new Contact(identifiers);&#xA;                client.SetFacet(knownContact, PersonalInformation.DefaultFacetKey, personalInfo);&#xA;                client.AddContact(knownContact);&#xA;                client.Submit();&#xA;            }&#xA;        }&#xA;        catch (XdbExecutionException ex)&#xA;        {&#xA;            Log.Error(&quot;Exception creating contact&quot;, ex, this);&#xA;        }&#xA;        return identifier;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the second one which I took the snippet from Sitecore documentation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual bool CreateContact2(string email, PersonalInformation personalInfo)&#xA;    {&#xA;        if (CurrentTracker.Contact.IsNew)&#xA;        {&#xA;            var manager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;&#xA;            if (manager != null)&#xA;            {&#xA;                CurrentTracker.Contact.ContactSaveMode = ContactSaveMode.AlwaysSave;&#xA;                manager.SaveContactToCollectionDb(CurrentTracker.Contact);&#xA;&#xA;                var trackerIdentifier = new IdentifiedContactReference(Sitecore.Analytics.XConnect.DataAccess.Constants.IdentifierSource,&#xA;                    CurrentTracker.Contact.ContactId.ToString(&quot;N&quot;));&#xA;&#xA;                using (XConnectClient client = SitecoreXConnectClientConfiguration.GetClient())&#xA;                {&#xA;                    try&#xA;                    {&#xA;                        var contact = client.Get(trackerIdentifier, new ContactExpandOptions());&#xA;&#xA;                        if (contact != null)&#xA;                        {&#xA;                            client.SetFacet(contact, PersonalInformation.DefaultFacetKey, personalInfo);&#xA;                            client.Submit();&#xA;                            manager.RemoveFromSession(CurrentTracker.Contact.ContactId);&#xA;                            CurrentTracker.Session.Contact = manager.LoadContact(CurrentTracker.Contact.ContactId);&#xA;                        }&#xA;                    }&#xA;                    catch (XdbExecutionException ex)&#xA;                    {&#xA;                        Log.Error(&quot;Error in creating Contact.&quot;, ex, this);&#xA;                        return false;&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;        return true;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Both of them ran successfully. And I can see my Contacts being created in my SQL Server (&lt;strong&gt;Xdb.Collection.shard0 and shard1&lt;/strong&gt;) ContactFacets table:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/28P5a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/28P5a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additional details:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have enabled my PII and Anonymous indexing&lt;/li&gt;&#xA;&lt;li&gt;I also ran the XConnectSearchIndexer -rr to rebuild my Reporting Database&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;And also disabled my Robot Detection from &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/disable-the-robot-detection-component-on-a-content-management-server.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;And my xConnect services are running, no problem&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Am I missing something here? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S. I am testing my form via the Experience Editor &gt; Preview mode of the page, does this have an effect?&lt;/p&gt;&#xA;" OwnerUserId="5575" LastEditorUserId="73" LastEditDate="2019-06-01T10:16:18.877" LastActivityDate="2019-06-01T10:16:18.877" Title="Experience Profile shows only One Anonymous Contact" Tags="|xdb|xconnect|experience-analytics|experience-profile|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19058" PostTypeId="1" CreationDate="2019-05-30T14:15:58.823" Score="3" ViewCount="864" Body="&lt;p&gt;I want the URL of the current item. I added a template in the rendering variant:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;https://current item url?itemid=$item.ID&quot;&amp;gt;Button text&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What should I replace &quot;current item url&quot; with?&lt;/p&gt;&#xA;" OwnerUserId="5141" LastActivityDate="2019-06-29T20:02:30.307" Title="How to get the URL of the current item in the variant template?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19059" PostTypeId="1" CreationDate="2019-05-30T14:41:01.060" Score="1" ViewCount="203" Body="&lt;p&gt;I am running a Powershell Script using Sitecore Powershell Module remoting service to install .update packages from my host to a remote Sitecore instance but I am not getting any details back on the package installation....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this is my script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Param(&#xA;[string]$SitecoreInstanceUri = &quot;http://SitecoreTestInstance&quot;,&#xA;[string]$SitecorePackagePath = &quot;C:\test\AllLocalUpdatePackages&quot;,&#xA;[string]$UpgradeAction = &quot;Upgrade&quot;,&#xA;[string]$InstallMode = &quot;Install&quot;,&#xA;[string]$SitecoreAdminUser = &quot;admin&quot;,&#xA;[string]$SitecoreAdminUserPassword = &quot;b&quot;,&#xA;[array]$UpdatePackages = @(&quot;ASF.Main.Core&quot;)&#xA;)&#xA;&#xA;Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass&#xA;import-Module -Name SPE&#xA;&#xA;#find the real path of the package based on the partial package path given  &#xA;$UpdatePackages | ForEach-Object -Process {&#xA;&#xA;try {&#xA;&#xA;    $pattern = $_ + &quot;*&quot;&#xA;    $packagePath = ($SitecorePackagePath | Get-ChildItem -Include $pattern - &#xA;    Recurse) &#xA;&#xA;    $parameters = @{&quot;Path&quot; = $packagePath.FullName; &quot;UpgradeAction&quot; = &#xA;    $UpgradeAction; &quot;InstallMode&quot; = $InstallMode }&#xA;    $session = New-ScriptSession  -Username $SitecoreAdminUser -Password &#xA;    $SitecoreAdminUserPassword -ConnectionUri $SitecoreInstanceUri -Timeout &#xA;    300&#xA;    #Install Package&#xA;    Write-verbose &quot;Installing Sitecore update Package &#xA;    $($packagePath.FullName) on $($SitecoreInstanceUri)&quot; -verbose&#xA;&#xA;    $jobId = Invoke-RemoteScript -Session $session -ScriptBlock {&#xA;        $ErrorActionPreference = &quot;Stop&quot;&#xA;&#xA;        try {&#xA;            Install-UpdatePackage -Path $(($using:parameters).Path) - &#xA;            UpgradeAction $(($using:parameters).UpgradeAction) -InstallMode &#xA;            $(($using:parameters).InstallMode) | Select-Object -Property &#xA;            LongDiscription&#xA;&#xA;            $package = ($using:parameters).Path&#xA;        }&#xA;        catch {&#xA;            $errorMessage = $_&#xA;            Write-Verbose &quot;Following error occured when installing &#xA;            $($package) : $($errorMessage)&quot;&#xA;        } &#xA;&#xA;    } -AsJob -Verbose &#xA;&#xA;    #Query the job status to see if the item install is done &#xA;    Wait-RemoteScriptSession -Session $session -Id $jobId -Delay 5 -Verbose                 &#xA;&#xA;&#xA;}&#xA;catch {&#xA;    $ErrorMessage = $_.Exception.Message&#xA;    Write-verbose $ErrorMessage&#xA;    Write-Host &quot;Issue Occured with this particular package&quot;&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5004" LastActivityDate="2019-10-27T16:02:30.347" Title="Not getting any details when running &quot;Install-Update Package&quot; through Sitecore Powershell Module remoting service for my sitecore instance" Tags="|powershell-extensions|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19060" PostTypeId="2" ParentId="19059" CreationDate="2019-05-30T14:58:45.030" Score="1" Body="&lt;p&gt;It looks like you are missing a parameter on your &lt;code&gt;Write-Verbose&lt;/code&gt; calls. If you look at the documentation (&lt;a href=&quot;https://doc.sitecorepowershell.com/remoting&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/remoting&lt;/a&gt;), the example calls &lt;code&gt;Write-Verbose&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Write-Verbose &quot;Hello from the other side&quot; -Verbose 4&amp;gt;&amp;amp;1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can make this neater by overriding the &lt;code&gt;Write-Verbose&lt;/code&gt; function in your script block like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Invoke-RemoteScript -ScriptBlock {&#xA;    function Write-Verbose {&#xA;        param([string]$Message)&#xA;        Microsoft.PowerShell.Utility\Write-Verbose -Message $Message -Verbose 4&amp;gt;&amp;amp;1&#xA;    }&#xA;&#xA;    Write-Verbose &quot;Hello from the other side&quot;&#xA;    &quot;data&quot;    &#xA;    Write-Verbose &quot;Goodbye from the other side&quot;&#xA;} -Session $session&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately the link to the information about &lt;code&gt;4&amp;gt;&amp;amp;1&lt;/code&gt; is missing, but you can try that.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-30T14:58:45.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19061" PostTypeId="1" AcceptedAnswerId="19086" CreationDate="2019-05-30T16:37:49.423" Score="1" ViewCount="192" Body="&lt;p&gt;Sitecore 9.0.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my experience, the logs should be saved into the temp folder. Our environment is configured like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;tempFolder&quot; value=&quot;d:\local\temp&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've looked there and also in the &lt;code&gt;App_Data/logs&lt;/code&gt; and &lt;code&gt;temp&lt;/code&gt; folders below the website root, but the &lt;code&gt;__upgrade&lt;/code&gt; folder is not present in any of these locations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know the installationLog.txt file is going somewhere... But WHERE?&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-05-31T11:36:06.297" LastActivityDate="2019-05-31T11:36:06.297" Title="Where do the UpdateInstallationWizard.aspx logs get saved in Azure PaaS?" Tags="|azure|paas|update-packages|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19062" PostTypeId="1" AcceptedAnswerId="19063" CreationDate="2019-05-30T16:53:34.597" Score="1" ViewCount="639" Body="&lt;p&gt;we are using Sitecore 9.0.2, sitecore sxa 1.7.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cbqqS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cbqqS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Content Delivery site, we are showing full image path like: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/-/media/Project/MyTest/MyTenant/mytestsite/TestImage.jpg?h=168&amp;amp;la=en&amp;amp;w=300&amp;amp;hash=FFB1492C0D4A2198E64AD69B5EC73AA1)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;User can easily identity the image path(please refer the above image).&lt;br/&gt;&#xA;Is there any option to avoid to show full (image/pdf) path OR is it possible to short item path or any other way to solve this issue&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example : Image, pdf file&lt;br/&gt;&lt;/p&gt;&#xA;" OwnerUserId="4397" LastEditorUserId="73" LastEditDate="2019-05-30T17:29:20.900" LastActivityDate="2019-05-30T17:29:20.900" Title="How do you avoid showing the media library path to images and documents when rendering the url?" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19063" PostTypeId="2" ParentId="19062" CreationDate="2019-05-30T17:02:59.320" Score="4" Body="&lt;p&gt;You can use &lt;code&gt;Media.UseItemPaths&lt;/code&gt; setting and set it to &lt;code&gt;false&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Media.UseItemPaths&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then your media links will use short ID of media items instead of the full path like :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;/-/media/8FA551CAE3544FEDBAD801FB826033C9.png&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But why would you want to do this? What is wrong with url like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;/-/media/Project/MyTest/MyTenant/mytestsite/TestImage.jpg?h=168&amp;amp;la=en&amp;amp;w=300&amp;amp;hash=FFB1492C0D4A2198E64AD69B5EC73AA1&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The full media path is needed for Sitecore to determine which media item should be returned for given link. You either need that or ID of the item, there is no other way.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="95" LastEditDate="2019-05-30T17:16:24.190" LastActivityDate="2019-05-30T17:16:24.190" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19064" PostTypeId="2" ParentId="19061" CreationDate="2019-05-30T17:06:57.527" Score="3" Body="&lt;p&gt;There are likely additional places and methods for retrieving this data, but the following is typically what I resort to:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note: I have not tested SPECIFICALLY for UpdateInstallationWizard logs&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In Azure Portal, select the App Service resource that you used to run the installation.&lt;/li&gt;&#xA;&lt;li&gt;Scroll down the blade and find &lt;code&gt;App Service logs&lt;/code&gt; in the &lt;code&gt;Monitoring&lt;/code&gt; section&lt;/li&gt;&#xA;&lt;li&gt;Turn &lt;code&gt;Application Logging (Filesystem)&lt;/code&gt; &lt;strong&gt;On&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Change &lt;code&gt;Level&lt;/code&gt; to &lt;strong&gt;Verbose&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Save&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mbq3e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mbq3e.png&quot; alt=&quot;App Service Logs&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select &lt;code&gt;Log stream&lt;/code&gt; from &lt;code&gt;Monitoring&lt;/code&gt; section&lt;/li&gt;&#xA;&lt;li&gt;Select &lt;code&gt;Application logs&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8Ml87.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8Ml87.png&quot; alt=&quot;Log stream&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At this point, you will need to rerun the installation to capture new logs. Via &lt;code&gt;Log stream&lt;/code&gt; you can view the current output of logs. If you wish to view historical logs (if you've previously configured this)- then you'll need to use Kudu.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Kudu&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;From the App Service blade you used previously, select &lt;code&gt;Advanced Tools&lt;/code&gt; from the &lt;code&gt;Development Tools&lt;/code&gt; section.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iQAPN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iQAPN.png&quot; alt=&quot;Kudu access&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Then press &lt;code&gt;Go -&amp;gt;&lt;/code&gt; to open Kudu in a separate window&lt;/li&gt;&#xA;&lt;li&gt;From the new window select &lt;code&gt;Debug console&lt;/code&gt; &gt; &lt;code&gt;PowerShell&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JUFIk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JUFIk.png&quot; alt=&quot;Kudu PowerShell&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Next, drill down into &lt;code&gt;Log Files/Application&lt;/code&gt; to view historically captured log files&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;By selecting &lt;code&gt;Verbose&lt;/code&gt; previously, the log files will contain all messages. At this point, it's a matter of searching the log file for messages related to your installation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EtPKv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EtPKv.png&quot; alt=&quot;Application logs&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;temp\__upgrade Location&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;From Kudu, you can also drill down into that particular folder:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;site\wwwroot\temp&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Though I cannot confirm that the expected files will appear there as the instance I'm referencing does not have them (though it has many other expected temp files).&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-05-30T17:06:57.527" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19065" PostTypeId="1" AcceptedAnswerId="19256" CreationDate="2019-05-30T17:47:35.887" Score="5" ViewCount="254" Body="&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: In our environment, SQL is cloud hosted. It has its own fail over strategy which is separate from the server/site DR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: Our DR and Production environments are in different geo zones. We can't share a SOLR instance as they are running in the same zones as the sites. We have not looked at any hosted SOLR services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking to upgrade a client from 8.2 to 9.1.1 that has a cold DR environment. We only bring this environment up to deploy to it with CI. DR with CM/CD is pretty simple, no issues there. Our DR task is to bring DR up, rebuild the indexes and switch the DNS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for xConnect it is more complicated. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;xDB SOLR indexes&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The first issue is that xConnect relies on the xDB index to keep track of all the profiles in Experience Profile and Experience Analytics. To get this up to date on DR, you would need to rebuild the xDB index with &lt;code&gt;XConnectSearchIndexer -rr&lt;/code&gt;. The shards are in the shared SQL so the actual tracking data is fine.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Index Worker Service&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Second issue is the index worker service. In the image below you can see the index worker service is not scalable. At least I don't think it is. But this would mean to be that we would not want prod and DR indexer services running at the same time. My guess is that the worker pool records do not have a column to know what record is currently in process. This would cause two processes to work on the same interaction and turn the analytics data to garbage. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my guess here is that prod xConnect needs to be completely stopped on prod before it is started on DR. And I would need to disable the Sitecore windows services so they do not start on boot. Adds more complexity to fail over and testing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-vertically.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-vertically.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ws70x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ws70x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any real world experience with xConnect in a DR scenario? &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-06-01T20:12:40.533" LastActivityDate="2019-06-09T06:15:33.290" Title="xConnect in a DR scenario" Tags="|solr|xconnect|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19066" PostTypeId="2" ParentId="19058" CreationDate="2019-05-30T18:22:43.793" Score="2" Body="&lt;p&gt;Out of the box, you can't do this. You would need to create a custom NVelocity Template Renderer to do this. To create a tool you would need a class with a static method to get the item url, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyCompany.Foundation.Variants.NVelocityExtensions&#xA;{&#xA;    public class ItemTool&#xA;    {&#xA;        public static string GetItemLink(Item item)&#xA;        {&#xA;            var options = UrlOptions.DefaultOptions;&#xA;            return LinkManager.GetItemUrl(item, options);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then you would need to create a pipeline processor to register that renderer like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyCompany.Foundation.Variants.Pipelines.GetVelocityTemplateRenderers&#xA;{&#xA;    public class AddTemplateRenderers : IGetTemplateRenderersPipelineProcessor&#xA;    {&#xA;        public void Process(GetTemplateRenderersPipelineArgs args)&#xA;        {&#xA;            args.Context.Put(&quot;itemTool&quot;, new ItemTool());&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, you would need to patch in that processor as part of an include file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;getVelocityTemplateRenderers&amp;gt;&#xA;    &amp;lt;processor type=&quot;MyCompany.Foundation.Variants.Pipelines.GetVelocityTemplateRenderers.AddTemplateRenderers, MyCompany.Foundation.Variants&quot; &#xA;               patch:after=&quot;processor[@type='Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.GetVelocityTemplateRenderers.InitializeVelocityContext, Sitecore.XA.Foundation.Variants.Abstractions'] /&amp;gt;&#xA;  &amp;lt;/getVelocityTemplateRenderers&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure its patched in after the &lt;code&gt;InitializeVelocityContext&lt;/code&gt; processor. Then in your NVelocity template you can call it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;https://$itemTool.GetItemLink($item)?itemid=$item.ID&quot;&amp;gt;Button text&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can read more about this here: &lt;a href=&quot;https://michaellwest.blogspot.com/2017/04/custom-rendering-variant-token-tool-for-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://michaellwest.blogspot.com/2017/04/custom-rendering-variant-token-tool-for-sxa.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-05-30T18:22:43.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19067" PostTypeId="1" AcceptedAnswerId="19071" CreationDate="2019-05-30T19:55:59.373" Score="2" ViewCount="1594" Body="&lt;p&gt;I configured Solr index to the path where I created some articles using templates, templates have the same fields with data type as in below model&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Root&amp;gt;/sitecore/content/Articles&amp;lt;/Root&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My model looks like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Article : SearchResultItem&#xA;{&#xA;    [IndexField(&quot;_uniqueid&quot;)]&#xA;    public string ItemPath { get; set; }&#xA;&#xA;    [IndexField(&quot;_group&quot;)]&#xA;    public string Id { get; set; }&#xA;&#xA;    [IndexField(&quot;title&quot;)]&#xA;    public string Title { get; set; }&#xA;&#xA;    [IndexField(&quot;publisheddate&quot;)]&#xA;    public DateTime PublishedDate { get; set; }&#xA;&#xA;    [IndexField(&quot;summary&quot;)]&#xA;    public string Summary { get; set; }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I query I can get the list of articles and I can read correct PublishedDate, but when I extend my query where I want articles in a year&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;list.Where(c =&amp;gt; c.PublishedDate.Year == 2017).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It returns zero rows&lt;/p&gt;&#xA;" OwnerUserId="3619" LastEditorUserId="73" LastEditDate="2019-06-01T15:11:18.157" LastActivityDate="2019-06-01T15:11:18.157" Title="Solr search query by Datetime.Year" Tags="|solr|content-search|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19069" PostTypeId="1" AcceptedAnswerId="19077" CreationDate="2019-05-31T02:33:19.493" Score="1" ViewCount="450" Body="&lt;p&gt;I have migration from &lt;code&gt;Sitecore 8.2&lt;/code&gt; to &lt;code&gt;Sitecore 9.1.1&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an issue with suggester not working after Solr migration from 5.1.0 to Solr 7.2.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not getting any suggest results back from the suggester configuration. The data is definitely getting populated in the index as I can see it using Solr web interface. I have tried all the configuration on the Solr end but I am not getting any thing back. Below is my configuration in Solr:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Managed-schema.xml&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;suggestType&quot; class=&quot;solr.TextField&quot; positionIncrementGap=&quot;100&quot;&amp;gt;&#xA;    &amp;lt;analyzer&amp;gt;&#xA;        &amp;lt;charFilter class=&quot;solr.PatternReplaceCharFilterFactory&quot; pattern=&quot;[^a-zA-Z0-9]&quot; replacement=&quot; &quot; /&amp;gt;&#xA;        &amp;lt;tokenizer class=&quot;solr.WhitespaceTokenizerFactory&quot;/&amp;gt;&#xA;        &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&amp;gt;&#xA;    &amp;lt;/analyzer&amp;gt;&#xA;&amp;lt;/fieldType&amp;gt;     &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Configuration in SolrConfig.xml&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;searchComponent name=&quot;suggest&quot; class=&quot;solr.SuggestComponent&quot;&amp;gt;&#xA;  &amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;    &amp;lt;str name=&quot;name&quot;&amp;gt;fuzzySuggester&amp;lt;/str&amp;gt;&#xA;    &amp;lt;!--&amp;lt;str name=&quot;lookupImpl&quot;&amp;gt;FuzzyLookupFactory&amp;lt;/str&amp;gt; --&amp;gt;&#xA;    &amp;lt;str name=&quot;lookupImpl&quot;&amp;gt;AnalyzingInfixLookupFactory&amp;lt;/str&amp;gt; --&amp;gt;&#xA;    &amp;lt;str name=&quot;dictionaryImpl&quot;&amp;gt;DocumentDictionaryFactory&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;field&quot;&amp;gt;_content&amp;lt;/str&amp;gt;&#xA;    &amp;lt;!-- &amp;lt;str name=&quot;weightField&quot;&amp;gt;price&amp;lt;/str&amp;gt; --&amp;gt;&#xA;     &amp;lt;str name=&quot;buildOnCommit&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;suggestType&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;buildOnStartup&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;highlight&quot;&amp;gt;false&amp;lt;/str&amp;gt;&#xA;  &amp;lt;/lst&amp;gt;&#xA;&amp;lt;/searchComponent&amp;gt;&#xA;&#xA;&amp;lt;requestHandler name=&quot;/suggest&quot; class=&quot;solr.SearchHandler&quot; startup=&quot;lazy&quot; &amp;gt;&#xA;      &amp;lt;lst name=&quot;defaults&quot;&amp;gt;&#xA;          &amp;lt;str name=&quot;suggest&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;          &amp;lt;str name=&quot;suggest.dictionary&quot;&amp;gt;fuzzySuggester&amp;lt;/str&amp;gt;&#xA;          &amp;lt;str name=&quot;suggest.count&quot;&amp;gt;10&amp;lt;/str&amp;gt;&#xA;      &amp;lt;/lst&amp;gt;&#xA;      &amp;lt;arr name=&quot;components&quot;&amp;gt;&#xA;          &amp;lt;str&amp;gt;suggest&amp;lt;/str&amp;gt;&#xA;      &amp;lt;/arr&amp;gt;&#xA;  &amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Tried following direct calls to Solr in the browser:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://localhost:8984/solr/search_suggestions_index_master/suggest?q=water&amp;amp;wt=json&#xA;Response:&#xA;{&#xA;  &quot;responseHeader&quot;:{&#xA;    &quot;status&quot;:0,&#xA;    &quot;QTime&quot;:62},&#xA;  &quot;command&quot;:&quot;build&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://localhost:8984/solr/search_suggestions_index_master/suggest?q=water&amp;amp;wt=json&#xA;{&#xA;  &quot;responseHeader&quot;:{&#xA;    &quot;status&quot;:0,&#xA;    &quot;QTime&quot;:1},&#xA;  &quot;suggest&quot;:{&quot;fuzzySuggester&quot;:{&#xA;      &quot;water&quot;:{&#xA;        &quot;numFound&quot;:0,&#xA;        &quot;suggestions&quot;:[]}}}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="70" LastEditDate="2019-05-31T11:21:36.357" LastActivityDate="2019-06-01T10:12:04.640" Title="Sitecore 9.1.1 Solr suggester not returning any data" Tags="|solr|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19070" PostTypeId="2" ParentId="19037" CreationDate="2019-05-31T02:38:33.837" Score="0" Body="&lt;p&gt;Can you try this way:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Server-B:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;import the &lt;strong&gt;XConnect Cert&lt;/strong&gt; into &lt;strong&gt;&quot;Cert:\LocalMachine\Root&quot;&lt;/strong&gt; --&gt; in order to make a request to XConnect &lt;/li&gt;&#xA;&lt;li&gt;import the &lt;strong&gt;XConnect Client Cert&lt;/strong&gt; into &lt;strong&gt;&quot;Cert:\LocalMachine\My&quot;&lt;/strong&gt; --&gt; in order to pass the security check of XConnect&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1352" LastActivityDate="2019-05-31T02:38:33.837" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19071" PostTypeId="2" ParentId="19067" CreationDate="2019-05-31T02:50:47.827" Score="2" Body="&lt;p&gt;As mentioned by @jrap in the comments, you can use computed fields to solve this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use computed field, you would need to&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Create a class that contains the logic to generate/calculate your new computed field&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ComputedYearField: IComputedIndexField&#xA;&#xA;{&#xA; public string FieldName { get; set; }&#xA; public string ReturnType { get; set; }&#xA;&#xA; public object ComputeFieldValue(IIndexable indexable) {&#xA;&#xA;  Item item = (indexable as SitecoreIndexableItem);&#xA;&#xA;  if (item != null)&#xA;  {&#xA;&#xA;   // check if item is an Article&#xA;   if(item.TemplateID == &quot;YOURARTICLETEMPLATEID&quot;)&#xA;   {&#xA;    // extract the year from PublishDate field &#xA;    var dateField = (DateField)item.Fields[&quot;PublishedDate&quot;];&#xA;    var itemDate = Sitecore.DateUtil.IsoDateToDateTime(dateField.Value);&#xA;&#xA;    return itemDate.Year&#xA;   }&#xA;  }&#xA;  return null;&#xA; }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) Patch your Sitecore Solr(or lucene) settings so that the computed field will be run during indexing. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;&amp;lt;field fieldName=&quot;ComputedYear&quot; returnType=&quot;int&quot;&amp;gt;&#xA;     MyProjectNamespace.ComputedYearField,MyProjectNamespace&#xA;&amp;lt;/field&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;3) Run reindex of your Sitecore indexes. Then you would be able to use your computed field&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;list.Where(c =&amp;gt; c.ComputedYear == 2017).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can find more details on computed fields in this &lt;a href=&quot;https://adarshbh.wordpress.com/2017/07/03/sitecore-indexing-creating-computed-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blogpost&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS: I have not tested the code above&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-05-31T02:50:47.827" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19072" PostTypeId="2" ParentId="19057" CreationDate="2019-05-31T04:13:46.927" Score="1" Body="&lt;p&gt;You also need to add at least one &lt;code&gt;Interaction&lt;/code&gt; like goal or page view event. Below are the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var client = this.CreateClient())&#xA;{&#xA;                    //Set your facets here&#xA;                    // Interaction&#xA;                    Guid channelId = Guid.Parse(ChannelId);&#xA;                    string userAgent = &quot;Form Update Contact&quot;;&#xA;                    var interaction = new Interaction(contact, InteractionInitiator.Brand, channelId, userAgent);&#xA;&#xA;                    var ItemID = Guid.Parse(HomeId);&#xA;&#xA;                    PageViewEvent pageView = new PageViewEvent(DateTime.UtcNow, ItemID, 3, &quot;en&quot;)&#xA;                    {&#xA;                        Duration = new TimeSpan(0, 0, 30),&#xA;                        Url = &quot;/Home&quot;&#xA;                    };&#xA;&#xA;                    interaction.Events.Add(pageView);&#xA;&#xA;                    client.AddInteraction(interaction);&#xA;                    client.Submit();&#xA;}&#xA;protected virtual IXdbContext CreateClient()&#xA;{&#xA;            return SitecoreXConnectClientConfiguration.GetClient();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-05-31T04:13:46.927" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19073" PostTypeId="2" ParentId="19057" CreationDate="2019-05-31T04:23:23.610" Score="5" Body="&lt;p&gt;You need to add user interaction (either event or goal) before submitting the contact to XDB. I have Updated your first variant code as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public virtual ContactIdentifier CreateContact(string email, PersonalInformation personalInfo)&#xA;    {&#xA;        var identifier = new ContactIdentifier(ContactSource, email, ContactIdentifierType.Known);&#xA;        var identifiers = new ContactIdentifier[] { identifier };&#xA;&#xA;        try&#xA;        {&#xA;            if (CurrentTracker != null &amp;amp;&amp;amp; CurrentTracker.IsActive &amp;amp;&amp;amp; CurrentTracker.Session != null)&#xA;            {&#xA;                CurrentTracker.Session.IdentifyAs(ContactSource, email);&#xA;                CurrentTracker.Contact.Tags.Set(&quot;isEmpty&quot;, &quot;false&quot;);&#xA;            }&#xA;&#xA;            using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;            {&#xA;                var knownContact = new Contact(identifiers);&#xA;                client.SetFacet(knownContact, PersonalInformation.DefaultFacetKey, personalInfo);&#xA;                client.AddContact(knownContact);&#xA;&#xA;                // Add User interaction before submit contact&#xA;                Guid channelId = Guid.Parse(&quot;27A7E0C2-DE17-46C8-8AA3-CFEC0434CCEB&quot;);&#xA;                var interaction = new Sitecore.XConnect.Interaction(knownContact, InteractionInitiator.Brand, channelId, &quot;userAgent&quot;);&#xA;                var fakeItemID = Guid.Parse(&quot;1D5C266A-112F-4EA2-A69E-E4865ACE2200&quot;); // Replace with real item ID&#xA;                PageViewEvent pageView = new PageViewEvent(DateTime.UtcNow, fakeItemID, 3, &quot;en&quot;)&#xA;                {&#xA;                    Duration = new TimeSpan(0, 0, 30),&#xA;                    Url = &quot;/Home&quot;&#xA;                };&#xA;                interaction.Events.Add(pageView);&#xA;                client.AddInteraction(interaction);&#xA;&#xA;                client.Submit();&#xA;            }&#xA;        }&#xA;        catch (XdbExecutionException ex)&#xA;        {&#xA;            Log.Error(&quot;Exception creating contact&quot;, ex, this);&#xA;        }&#xA;        return identifier;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5387" LastActivityDate="2019-05-31T04:23:23.610" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19075" PostTypeId="2" ParentId="19067" CreationDate="2019-05-31T06:05:40.290" Score="3" Body="&lt;p&gt;If you want to query against Date field you should compare with &lt;strong&gt;Datetime&lt;/strong&gt; type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;date.Year, date.Month etc. don`t work with date field queries.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rewrite your query like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var dateStart = new DateTime(year, 1, 1);&#xA;var dateEnd = new DateTime(year, 12, DateTime.DaysInMonth(year,12));&#xA;&#xA;list.Where(x =&amp;gt; x.Date.Between(dateStart, dateEnd, Inclusion.Both));&#xA;// or&#xA;// list.Where(x =&amp;gt; x.Date&amp;gt;=dateStart &amp;amp;&amp;amp; x.Date&amp;lt;=dateEnd);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-05-31T06:05:40.290" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19077" PostTypeId="2" ParentId="19069" CreationDate="2019-05-31T06:29:45.727" Score="2" Body="&lt;p&gt;I had similar issue. Try to remove &lt;strong&gt;dictionaryImpl&lt;/strong&gt; param in solrConfig.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my working configuration to compare:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;searchComponent name=&quot;suggest&quot; class=&quot;solr.SuggestComponent&quot;&amp;gt;&#xA;    &amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;      &amp;lt;str name=&quot;name&quot;&amp;gt;mySuggester&amp;lt;/str&amp;gt;&#xA;      &amp;lt;str name=&quot;lookupImpl&quot;&amp;gt;AnalyzingInfixLookupFactory&amp;lt;/str&amp;gt;&#xA;      &amp;lt;str name=&quot;field&quot;&amp;gt;pagecontent_t&amp;lt;/str&amp;gt;&#xA;      &amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;text_general&amp;lt;/str&amp;gt;&#xA;      &amp;lt;str name=&quot;buildOnStartup&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;    &amp;lt;/lst&amp;gt;&#xA;  &amp;lt;/searchComponent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-06-01T10:12:04.640" LastActivityDate="2019-06-01T10:12:04.640" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19078" PostTypeId="1" AcceptedAnswerId="19082" CreationDate="2019-05-31T09:28:05.567" Score="0" ViewCount="254" Body="&lt;p&gt;I was trying to upgrade &lt;code&gt;Sitecore commerce from 9.0.2&lt;/code&gt; to 9.1 but couldn't find any documentation for the direct upgrade. It is suggesting to upgrade from &lt;code&gt;Sitecore commerce 9.0.2&lt;/code&gt; to 9.0.3 and then from 9.0.3 to 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is a direct upgrade not possible?&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="4039" LastEditDate="2019-05-31T09:39:47.417" LastActivityDate="2019-05-31T10:02:49.507" Title="Is it possible to upgrade sitecore commerce from 9.0.2 to 9.1" Tags="|sitecore-commerce|upgrade|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19079" PostTypeId="2" ParentId="19078" CreationDate="2019-05-31T09:45:18.617" Score="1" Body="&lt;p&gt;There is no direct upgrade option. As you can find in the &lt;a href=&quot;http://commercesdn.sitecore.net/SitecoreXC_9.1/Sitecore_Experience_Commerce_Upgrade_Guide_for_9.1.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Experience Upgrade Guide&lt;/a&gt; to upgrade to Sitecore Experience Commerce 9.1 the prerequisites are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore Experience Platform (XP) 9.0 Update-2&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Experience Accelerator (SXA) 1.8.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Experience Commerce (XC) 9.0 Update-3&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So your upgrade path is XC9.0.2 -&gt; XC9.0.3 -&gt; XC9.1&lt;/p&gt;&#xA;" OwnerUserId="115" LastActivityDate="2019-05-31T09:45:18.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19080" PostTypeId="1" CreationDate="2019-05-31T09:56:59.687" Score="0" ViewCount="41" Body="&lt;p&gt;We have high availability on our front end with a single back-end server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have noticed that as when we use &lt;code&gt;EXM&lt;/code&gt; CD objects (ClientApi) to manage subscriptions, manage any list, or send emails &lt;code&gt;EXM&lt;/code&gt; calls the back-end introducing a dependency and breaking our high availability.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody know how to avoid this dependency?&lt;/p&gt;&#xA;" OwnerUserId="151" LastEditorUserId="151" LastEditDate="2019-05-31T11:35:52.533" LastActivityDate="2019-06-01T11:35:57.820" Title="Avoid dependency of the CD servers on the content manager to handle ExM 3.4 actions" Tags="|exm|list-manager|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19081" PostTypeId="1" CreationDate="2019-05-31T10:00:58.583" Score="1" ViewCount="262" Body="&lt;p&gt;I have a multilist with search field and on the left hand side there are 1100 items which we can select. But when I select more than 130-140 items, the left hand side field gets emptied and I am not able to select more items to move to the right side. I changed the setting &lt;code&gt;Query.MaxItems&lt;/code&gt; to a value of 10000 in the sitecore.config file but it is still not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Solr 7.2.1 and Sitecore 9.1 initial release&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="237" LastEditDate="2019-05-31T10:06:42.543" LastActivityDate="2019-05-31T10:06:42.543" Title="Problem while selecting too many items in multilist with search" Tags="|sitecore-client|fieldtype|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="19082" PostTypeId="2" ParentId="19078" CreationDate="2019-05-31T10:02:49.507" Score="4" Body="&lt;p&gt;There is &lt;strong&gt;no direct upgrade path from 9.0.2 to 9.1&lt;/strong&gt; (for now)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I suggest to install Sitecore Commerce 9.1 from scratch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only what you need to do:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;update Visual Studio Nuget Packages references to Sitecore 9.1&#xA;versions&lt;/li&gt;&#xA;&lt;li&gt;fix and make compatibility for you custom code (if it's&#xA;needed)&lt;/li&gt;&#xA;&lt;li&gt;deploy your customizations&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I used this way, instead of migration from version to version and it really saved my time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More explanation you can find here: &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/16163/sitecore-commerce-upgrade-path&quot;&gt;Sitecore Commerce Upgrade path&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-05-31T10:02:49.507" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19083" PostTypeId="1" CreationDate="2019-05-31T10:35:24.820" Score="4" ViewCount="297" Body="&lt;p&gt;I have multiple filters on my page which includes Location, distance and 2 Checklist filter(with multiple selection). Initially page is loaded with no filters selected and result is read from the scope defined. The checklist filter is displayed with counts. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/fQePk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fQePk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i select the options from bedroom filter the other filter also gets updated and loads only the facets with counts&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eFHCg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eFHCg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;I want to show the other facet value as well when the count is 0.&lt;/strong&gt; &#xA;I did the below setting to show the facets with 0 count but it doesnt seems to work&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gnwv6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gnwv6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SXA version 1.8.1&#xA;Sitecore version 9.0.2&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="5530" LastActivityDate="2019-05-31T11:58:55.053" Title="How to show the facets with 0 count in sxa checklist filter component" Tags="|sxa|search-facet|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19084" PostTypeId="2" ParentId="19083" CreationDate="2019-05-31T11:25:34.410" Score="1" Body="&lt;p&gt;The &lt;code&gt;Minimum Number of Items&lt;/code&gt; setting that you've used is the correct one. I'm currently in the process of setting up the same filter (but only with single select) in the exact same version of Sitecore and SXA that you are using and currently it looks like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zfOHS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zfOHS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have you double checked that everything is published to the &lt;code&gt;Web&lt;/code&gt; DB properly? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case we had the filter on a &lt;code&gt;partial design&lt;/code&gt; located in a base site. I've seen some issues where the result was cached and I really had to publish the base site (including the &lt;code&gt;partial/page design&lt;/code&gt;), all the &lt;code&gt;datasources&lt;/code&gt;, settings and the site where the page was located. I even ended up doing an &lt;code&gt;IIS&lt;/code&gt; reset to make sure all caches where cleared.&lt;/p&gt;&#xA;" OwnerUserId="2420" LastEditorUserId="5096" LastEditDate="2019-05-31T11:58:55.053" LastActivityDate="2019-05-31T11:58:55.053" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19086" PostTypeId="2" ParentId="19061" CreationDate="2019-05-31T11:33:48.767" Score="1" Body="&lt;p&gt;That temp folder location is incorrect. That location (&lt;code&gt;d:\local\temp&lt;/code&gt;) is temporary and is &lt;a href=&quot;https://github.com/projectkudu/kudu/wiki/Understanding-the-Azure-App-Service-file-system#temporary-files&quot; rel=&quot;nofollow noreferrer&quot;&gt;not shared between the application and the Kudu tools&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Relevant snippet from the above documentation:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Another important note is that the Main site and the scm site do not share temp files. So if you write some files there from your site, you will not see them from Kudu Console (and vice versa). You can make them use the same temp space if you disable separation (via &lt;a href=&quot;https://github.com/projectkudu/kudu/wiki/Configurable-settings#use-the-same-process-for-the-user-site-and-the-scm-site&quot; rel=&quot;nofollow noreferrer&quot;&gt;WEBSITE_DISABLE_SCM_SEPARATION&lt;/a&gt;). But note that this is a legacy flag, and its use is not recommended/supported.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To fix it, update the temp location to be below the web root:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;sc.variable name=&quot;tempFolder&quot;&amp;gt;&#xA;          &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/temp&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/sc.variable&amp;gt;   &#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Running another package installation thereafter will add the &lt;code&gt;__upgrade&lt;/code&gt; folder to the website's &lt;code&gt;temp&lt;/code&gt; folder which you can browse with the App Service Editor (or Kudu):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KuXoW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KuXoW.png&quot; alt=&quot;photo of the app service editor with the upgrade logs viewed&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-05-31T11:33:48.767" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19087" PostTypeId="1" AcceptedAnswerId="19097" CreationDate="2019-05-31T12:17:57.607" Score="1" ViewCount="684" Body="&lt;p&gt;I deploy with this command: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;jss deploy app --includeContent --includeDictionary&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I do I get the following error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception thrown while importing JSS app&#xA;Exception: System.InvalidOperationException&#xA;Message: args.App.ImportUser is null or empty&#xA;Source: Sitecore.JavaScriptServices.AppServices&#xA;   at Sitecore.JavaScriptServices.AppServices.Pipelines.Import.SwitchUser.Process(ImportPipelineArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.JavaScriptServices.AppServices.Pipelines.Import.ImportPipeline.Import(ImportPipelineArgs args)&#xA;   at Sitecore.JavaScriptServices.AppServices.ImportService.ImportJob.StartImportInternal()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How do I fix this?&lt;/p&gt;&#xA;" OwnerUserId="3039" LastActivityDate="2019-06-03T08:05:36.043" Title="Exception thrown while importing JSS app args.App.ImportUser is null or empty" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19089" PostTypeId="2" ParentId="19087" CreationDate="2019-05-31T13:20:07.067" Score="0" Body="&lt;p&gt;When you do the Sitecore JSS Server Setup, There is a step:&#xA;Install the JSS Server Components zip package using the Installation Wizard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This package also create an User in Sitecore, and Install some config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In file:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;\App_Config\Sitecore\JavaScriptServices\Sitecore.JavaScriptServices.Apps.config&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is the ImportUser defined:&#xA;The default value is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;importUser=&quot;sitecore\JssImport&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So check that this config file exists in the Sitecore webroot and that the ImportUser is filled in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also check the config with /sitecore/admin/showconfig.aspx possible the ImportUser is overwritten by another config file:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An option to fix this could be  re-install the Package. Sitecore JavaScript Services Server for Sitecore &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your deployUrl in the {appnam}config.json: This should be CM Sitecore sever.&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-05-31T13:33:02.007" LastActivityDate="2019-05-31T13:33:02.007" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19091" PostTypeId="1" AcceptedAnswerId="19093" CreationDate="2019-05-31T14:00:15.027" Score="10" ViewCount="753" Body="&lt;p&gt;We are on 9.1.0, Initial Release&lt;/p&gt;&#xA;&lt;p&gt;We personalize one particular rendering on page item. There are some different conditions that have different datasource item for this rendering.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/U7mHQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/U7mHQ.png&quot; alt=&quot;personalize rendering&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Personalization works good on website - datasource is changed according to conditions. But when we try to switch condition in Experience Editor - nothing happens. Datasource does not changed. There are no errors in log files and no errors in browser console.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ruh2y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ruh2y.png&quot; alt=&quot;switch conditions&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Can anyone help to find what is wrong? Sitecore version is 9.1.&lt;/p&gt;&#xA;" OwnerUserId="5602" LastEditorUserId="73" LastEditDate="2021-04-30T08:01:56.440" LastActivityDate="2021-04-30T08:01:56.440" Title="Personalization conditions switching doesn`t work in Experience Editor" Tags="|experience-editor|personalization|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19092" PostTypeId="1" CreationDate="2019-05-31T14:39:12.087" Score="2" ViewCount="340" Body="&lt;p&gt;We have a code in our solution that checks if the item is a bucket using &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Buckets.Managers.BucketManager.IsBucket(bucketItem)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm creating a unit test using fakeDb and my code is this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var bucketId = Sitecore.Data.ID.NewID;&#xA;&#xA;using (var db = new Db {    &#xA;     new DbItem(&quot;Bucket&quot;, bucketId)&#xA;})&#xA;&#xA;var bucketItem = db.GetItem(bucketId);&#xA;&#xA;bucketItem.Editing.BeginEdit();&#xA;bucketItem[Sitecore.Buckets.Util.Constants.BucketableField] = &quot;1&quot;;&#xA;bucketItem[Sitecore.Buckets.Util.Constants.IsBucket] = &quot;1&quot;;&#xA;bucketItem.Editing.EndEdit();&#xA;&#xA;if (BucketManager.IsBucket(bucketItem))&#xA;{&#xA;     //DO STUFF HERE WHEN ITEM IS BUCKET&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The IF statement is returning false. How do I convert the item to be a bucket in C# code?&lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="70" LastEditDate="2019-05-31T14:48:56.933" LastActivityDate="2019-05-31T14:50:58.237" Title="Convert item to bucket in C# code" Tags="|buckets|unit-testing|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19093" PostTypeId="2" ParentId="19091" CreationDate="2019-05-31T14:48:24.750" Score="11" Body="&lt;p&gt;This is an issue for Sitecore XP 9.1.0 (Initial Release). It is not reproducible in the Sitecore 9.0.x and pre-release version of Sitecore 9.2. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need a hotfix for Sitecore 9.1, you can request the fix from Sitecore Support. Public reference number is &lt;code&gt;312777&lt;/code&gt;. &lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-05-31T14:48:24.750" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19094" PostTypeId="2" ParentId="19092" CreationDate="2019-05-31T14:50:58.237" Score="1" Body="&lt;p&gt;This code should be enough:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var bucketItem = db.GetItem(bucketId);&#xA;&#xA;bucketItem.Editing.BeginEdit();&#xA;bucketItem[Sitecore.Buckets.Util.Constants.IsBucket] = &quot;1&quot;;&#xA;bucketItem.Editing.EndEdit();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You don't need to set &lt;code&gt;BucketableField&lt;/code&gt; to &lt;code&gt;&quot;1&quot;&lt;/code&gt;;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason why your test doesn't work is that when you call &lt;code&gt;BucketManager.IsBucket&lt;/code&gt; it calls &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;BucketManager.Provider.IsBucket(item)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The problem now is that &lt;code&gt;BucketManager.Provider&lt;/code&gt; is read from the config, which must be missing when your test is running. That's why &lt;code&gt;BucketManager&lt;/code&gt; uses &lt;code&gt;NullBucketProvider&lt;/code&gt; as a fallback when nothing is configured and &lt;code&gt;NullBucketProvider.IsBucket(item)&lt;/code&gt; returns always &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-31T14:50:58.237" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19095" PostTypeId="1" AcceptedAnswerId="19096" CreationDate="2019-05-31T15:12:32.910" Score="1" ViewCount="423" Body="&lt;p&gt;I want to add a language to the display languages so that the &lt;code&gt;admin&lt;/code&gt; interface can be translated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added a language, I have uploaded and imported the language, but it is not showing in the &lt;code&gt;Display language&lt;/code&gt; drop down. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can export all the translations from the top node in the &lt;code&gt;Content Editor&lt;/code&gt;, and I see the language I added, but not some of the languages in the &lt;code&gt;Display language&lt;/code&gt; list. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get my new language added to that list? &lt;/p&gt;&#xA;" OwnerUserId="5603" LastEditorUserId="5096" LastEditDate="2019-06-02T10:54:47.347" LastActivityDate="2019-06-02T10:54:47.347" Title="Add a language to the display / client language choices" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19096" PostTypeId="2" ParentId="19095" CreationDate="2019-05-31T15:22:51.087" Score="2" Body="&lt;p&gt;To add another &lt;code&gt;Client Language&lt;/code&gt; to be displayed e.g. in &lt;code&gt;User Manager&lt;/code&gt; you need to go to Sitecore Dekstop, switch to &lt;code&gt;core&lt;/code&gt; database and add new language with correct &lt;code&gt;iso&lt;/code&gt; code under &lt;code&gt;/sitecore/system/Languages&lt;/code&gt; node:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yPbU8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yPbU8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-31T15:22:51.087" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19097" PostTypeId="2" ParentId="19087" CreationDate="2019-05-31T16:53:14.923" Score="1" Body="&lt;p&gt;So this error was because I'd changed : &quot;app name=&quot; in the [appname].config file. To change this you need to change 4 places. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[appname].config =&amp;gt; &amp;lt;app name=&quot;&#xA;[appname].deploysecret.config = &amp;lt;app name=&quot;&#xA;package.json =&amp;gt; &quot;config&quot;: { &quot;appName&quot;: &#xA;package.json =&amp;gt; &quot;sitecoreDistPath&quot;: &quot;/dist/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would also recommend manually delete all config files from the app_config/include/zzz folder and removing as many traces as possible from the templates/renderings and content for the old app. Also delete the /dist folder files from the IIS folder.&lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="3039" LastEditDate="2019-06-03T08:05:36.043" LastActivityDate="2019-06-03T08:05:36.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19102" PostTypeId="1" CreationDate="2019-05-31T18:47:02.043" Score="2" ViewCount="3691" Body="&lt;p&gt;We have built our Sitecore 9.1 solution in Azure Web Apps. We have added custom &lt;code&gt;403&lt;/code&gt; and &lt;code&gt;400&lt;/code&gt; error pages by making use of the Error Manager module from Sitecore &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Sitecore_Error_Manager.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/Sitecore_Error_Manager.aspx&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is working locally with &lt;code&gt;IIS&lt;/code&gt;. But when it is deployed to Azure Web Apps, it is showing &lt;code&gt;403&lt;/code&gt; page from Azure with the error message &lt;code&gt;Error 403 - This web app is stopped.&lt;/code&gt; instead of custom pages which we added in Sitecore application for both 400 and 403 Http status codes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to add custom error pages for &lt;code&gt;403&lt;/code&gt; and &lt;code&gt;400&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="4286" LastEditorUserId="73" LastEditDate="2019-06-02T11:22:40.820" LastActivityDate="2022-06-09T00:09:16.733" Title="Is it possible to add Custom 403 Error page in Azure Web Apps" Tags="|azure|paas|error-handling|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19103" PostTypeId="1" CreationDate="2019-05-31T20:07:48.150" Score="1" ViewCount="103" Body="&lt;p&gt;One of our UX people are asking whether we can hide workflow states that have zero items.  I can't seem to find anything that would relate to this in the workflow state template or in the core database for the workbox item, so I thought I would check here.  Running 8.2...&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-05-31T20:31:46.783" Title="Workbox - hide states that have zero items?" Tags="|workbox|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19104" PostTypeId="2" ParentId="19103" CreationDate="2019-05-31T20:31:46.783" Score="1" Body="&lt;p&gt;Sitecore Workbox is one of the oldest Sitecore Applications. It's an xml file (&lt;code&gt;\sitecore\shell\Applications\Workbox\Workbox.xml&lt;/code&gt;) with code beside &lt;code&gt;Sitecore.Shell.Applications.Workbox.WorkboxForm&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It pretty much generates the whole html of the workbox from the C# code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no settings which would allow you to hide states that have 0 items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only option would be to create a new class inheriting from the original &lt;code&gt;WorkboxForm&lt;/code&gt; class, override &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual void DisplayStates(IWorkflow workflow, XmlControl placeholder)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;method and copy the whole code from the original class with one extra condition. And then change the &lt;code&gt;CodeBeside&lt;/code&gt; in the &lt;code&gt;Workbox.xml&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be doable and not that hard, but if you ever plan on updating to newer Sitecore version, you would need to make sure that nothing has changed in the newer Workbox and that your code hasn't broken anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my opinion is not worth it but it all depends on your needs.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-05-31T20:31:46.783" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19107" PostTypeId="1" CreationDate="2019-06-01T00:12:48.627" Score="0" ViewCount="846" Body="&lt;p&gt;We are trying to figure our an issue where our LIVE sites are getting down for 10 minutes everyday. While going through the Azure logs I am getting the following Warning:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;WARN  web[standardValues] cache is cleared by Sitecore.Caching.Generics.Cache`1+DefaultScavengeStrategy[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] strategy. Cache running size was 2,2 MB.&lt;/p&gt;&#xA;&lt;p&gt;WARN  WebUtil.QueryStringCache cache is cleared by Sitecore.Caching.Generics.Cache`1+DefaultScavengeStrategy[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] strategy. Cache running size was 17,7 KB.&lt;/p&gt;&#xA;&lt;p&gt;WARN  SqlDataProvider - Prefetch data(web) cache is cleared by Sitecore.Caching.Generics.Cache`1+DefaultScavengeStrategy[[Sitecore.Data.ID, Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 100 MB.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;My Question is:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Is this a normal behavior, because I don't see this in the other sites hosted?&lt;/p&gt;&#xA;" OwnerUserId="4827" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2023-07-13T18:00:25.040" Title="Cache cleared message every second in Azure Logs" Tags="|azure|paas|caching|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19108" PostTypeId="2" ParentId="19080" CreationDate="2019-06-01T11:35:57.820" Score="2" Body="&lt;p&gt;Unfortunately, you can not avoid that dependency in EXM 3.4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CD's do not have access to the Marketing Operations part of Sitecore, which is needed for List Subscription and Message Sends. Therefore, the Client API uses a direct connection to the CM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9.0.1 and beyond, this dependency is removed and replaced with a distributed message queue that the CD creates a message for all Client API operstions and adds it to a Rebus message queue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CM server receives the message through Rebus and handles the work.  This prevents the CD's from needing a direct connection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, this is not in EXM 3.4.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need to avoid this dependency, it is suggested to Upgrade Sitecore to the most current version.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-06-01T11:35:57.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19109" PostTypeId="1" AcceptedAnswerId="19110" CreationDate="2019-06-01T12:27:46.117" Score="8" ViewCount="5082" Body="&lt;p&gt;I was wondering if there is any &lt;strong&gt;known difference&lt;/strong&gt; (mostly performance related) between those two methods of retrieving all children of a given Item.&lt;/p&gt;&#xA;&lt;p&gt;The first one will give me all levels of children in one shot.&lt;/p&gt;&#xA;&lt;p&gt;On the second approach, I have to build some code to recursively get the same result, since &lt;code&gt;Item.GetChildren()&lt;/code&gt; only returns the first level.&lt;/p&gt;&#xA;&lt;p&gt;I don't know why but I had a feeling that the &lt;code&gt;Item.Axes.GetDescendants()&lt;/code&gt; was &lt;strong&gt;always slower&lt;/strong&gt;, but using DotPeek to see what is going on under the hoods now I'm no longer sure.&lt;/p&gt;&#xA;&lt;h1&gt;Item.Axes.GetDescendants()&lt;/h1&gt;&#xA;&lt;p&gt;It uses the &lt;code&gt;item.Children&lt;/code&gt; property.&lt;/p&gt;&#xA;&lt;p&gt;Which ends up calling &lt;code&gt;ItemManager.GetChildren(this._ownerItem, (ChildListOptions.IgnoreSecurity &amp;amp; options) != ChildListOptions.None ? SecurityCheck.Disable : SecurityCheck.Enable).InnerChildren&lt;/code&gt;&lt;/p&gt;&#xA;&lt;h1&gt;Recursive Item.GetChildren()&lt;/h1&gt;&#xA;&lt;p&gt;Which is also &lt;code&gt;ItemManager.GetChildren(this, (options &amp;amp; ChildListOptions.IgnoreSecurity) != ChildListOptions.None ? SecurityCheck.Disable : SecurityCheck.Enable, options)&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-22T00:40:42.427" Title="Is there any known performance difference between Item.Axes.GetDescendants() and recursive Item.GetChildren()?" Tags="|performance|api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19110" PostTypeId="2" ParentId="19109" CreationDate="2019-06-01T12:27:46.117" Score="10" Body="&lt;p&gt;I did some benchmarks using those two possibilities.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Scenario&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Fetch 2040 items organized in the following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Root Item&#xA;    - Bulk Items 1&#xA;        - Bulk Items 1.1        &#xA;        (100 items)     &#xA;    (100 items)&#xA;    - Bulk Items 2.1&#xA;        - Bulk Items 2.1        &#xA;        (100 items) &#xA;    [...]&#xA;    (100 items)&#xA;    - Bulk Items 10&#xA;        - Bulk Items 10.1       &#xA;        (100 items)     &#xA;    (100 items)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Using GetDescendants()&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IEnumerable&amp;lt;Item&amp;gt; kids = Database.GetItem(rootItemId).Axes.GetDescendants().ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Using GetChildren() recursively&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IEnumerable&amp;lt;Item&amp;gt; kids = FetchAllChildrenItems(Database.GetItem(rootItemId)).ToList();&#xA;&#xA;private IEnumerable&amp;lt;Item&amp;gt; FetchAllChildrenItems(Item p_Item, bool p_ReturnRootItem = false)&#xA;{&#xA;    if (p_ReturnRootItem) {&#xA;        yield return p_Item;&#xA;    }&#xA;&#xA;    foreach (Item child in p_Item.GetChildren(ChildListOptions.SkipSorting))&#xA;    {&#xA;        foreach (Item subChild in FetchAllChildrenItems(child, true)) {&#xA;            yield return subChild;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Results (in milliseconds)&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;After running both scenarios &lt;strong&gt;without any element cached at all&lt;/strong&gt; (after restarting the IIS Pool on every run), those are the results I collected:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1. GetDescendants():&#xA;    4529.0435&#xA;    2880.6591&#xA;    3169.9953&#xA;    2709.0039&#xA;    Average: 3322.1754&#xA; 2. Children - Recursive:&#xA;    2305.6319&#xA;    2470.5706&#xA;    2372.3421&#xA;    2581.8652&#xA;    Average: 2432.6024&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And those are the results when the tests were performed after all those elementes are cached properly:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; 1. GetDescendants():&#xA;    34.0887&#xA;    27.0741&#xA;    18.0443&#xA;    21.054&#xA;    24.0315&#xA;    29.0764&#xA;    Average: 25.5615&#xA; 2. Children - Recursive:&#xA;    15.0413&#xA;    19.0475&#xA;    20.0525&#xA;    17.0444&#xA;    16.0744&#xA;    24.0643&#xA;    Average: 18.5540&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So it looks like that even if the results are pretty close, &lt;strong&gt;using the method Item.GetChildren() recursively&lt;/strong&gt; can be a little bit faster than the Item.Axes.GetDescendants().&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-07-22T00:40:42.427" LastActivityDate="2019-07-22T00:40:42.427" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19112" PostTypeId="2" ParentId="9308" CreationDate="2019-06-02T04:32:36.207" Score="0" Body="&lt;p&gt;Answering to your second query, you can submit the form for any translation tool, just you need to take care that when you translate, only &quot;Title&quot; field of the form element should be translated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Title&quot; field of your form element say Password Confirmation or Dropdown field , should be only translated as rest all are either shared or not supposed to be translated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In form editor , Title field will appear as &quot;Label&quot; and when you export the xml it generates a xml node with &quot;Title&quot;, so don't get confused with them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Validation messages as well, you can submit for translation, also for messages, guidelines you can use &quot;Text&quot; field element in your form and submit for translation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this answers your second query. &lt;/p&gt;&#xA;" OwnerUserId="3126" LastActivityDate="2019-06-02T04:32:36.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19113" PostTypeId="2" ParentId="19109" CreationDate="2019-06-02T05:26:07.070" Score="5" Body="&lt;p&gt;Much faster way is to get descendants from index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Query would be get all items that Path starts (contains) the same as current item + ID of item is different to current one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var query = context.GetQueryable()&#xA;   .Where(item =&amp;gt; item[&quot;_path&quot;].Contains(contentRootId))&#xA;   .Where(item =&amp;gt; !item.ID.Equals(contentRootId));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Solr can perform this in just few miliseconds.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="2056" LastEditDate="2019-06-02T05:38:56.413" LastActivityDate="2019-06-02T05:38:56.413" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19114" PostTypeId="1" AcceptedAnswerId="19116" CreationDate="2019-06-02T11:13:09.167" Score="1" ViewCount="167" Body="&lt;p&gt;I have installed Sitecore 9.1 XP scaled(XP1) topology so I have sitecore.cm ,sitecore.cd and other app roles installed (REP, PRC, etc).&#xA;I have configured JSS and am able to use it with sitecore.cm .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My query: Is there a process to expose JSS content using sitecore.cd. , as mobile team needs sitecore content I have exposed it with JSS. If so, can you please share the steps ?&lt;/p&gt;&#xA;" OwnerUserId="5123" LastEditorUserId="69" LastEditDate="2019-06-02T12:04:47.500" LastActivityDate="2019-07-02T16:02:15.287" Title="Using JSS Sitecore 9.1 with scaled architecture" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19115" PostTypeId="1" CreationDate="2019-06-02T11:24:07.130" Score="3" ViewCount="343" Body="&lt;p&gt;Here are my business requirements:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I want to track the most visited pages during the last month &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I want to track the particular page in the Experience analytics&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I am not able to find any sorting or filtering functionality in the experience analytics to achieve these requirements, I have to go one by one to track the page URLs/Items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way I can search the particular URL/Item by providing the Item Id or URL and can track the specific page?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note - I am using Sitecore 9 version&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uMLJp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uMLJp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2020-04-10T21:46:13.667" Title="How to do filtering and sorting on “Pages by URL” in Experience Analytics" Tags="|experience-analytics|tracking|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19116" PostTypeId="2" ParentId="19114" CreationDate="2019-06-02T15:44:36.100" Score="1" Body="&lt;p&gt;You need to follow next steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Extract the server components Sitecore package with an unzip tool such as 7-zip&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Extract the inner package.zip the same way. Ignore any unzip warnings about sc_*.txt files.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;In the resulting items, deploy all of the items in the files folder to your CD server's webroot: App_Config, bin, sitecore, and Views.&#xA;Congratulations, your CD server is ready to host JSS apps.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;More information you find here: &lt;a href=&quot;https://jss.sitecore.com/docs/getting-started/jss-server-install&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/getting-started/jss-server-install&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-06-02T15:44:36.100" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19118" PostTypeId="2" ParentId="19102" CreationDate="2019-06-03T00:14:03.313" Score="2" Body="&lt;p&gt;For the case of &lt;code&gt;Error 403 - This web app is stopped.&lt;/code&gt; - this is not easily possible since it is actually the built-in Azure load balancer that is serving the error, not the WebApp or Sitecore.&lt;/p&gt;&#xA;&lt;p&gt;You can track the status of this feature on &lt;a href=&quot;https://feedback.azure.com/d365community/idea/cae2d76b-c825-ec11-b6e6-000d3a4f0f1c&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Feedback portal and vote for it&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;There is a possible workaround: you can route all traffic to your WebApp via your own load balancer or &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/application-gateway/custom-error&quot; rel=&quot;nofollow noreferrer&quot;&gt;Application Gateway&lt;/a&gt; and have a custom static error page for these HTTP status codes.&lt;/p&gt;&#xA;&lt;p&gt;For the case of 400 (Bad Request) this should be working and is perhaps an issue with the Sitecore error manager module. Please update your question or post a new question with exact request and response details.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2022-06-09T00:09:16.733" LastActivityDate="2022-06-09T00:09:16.733" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19119" PostTypeId="1" AcceptedAnswerId="19800" CreationDate="2019-06-03T02:49:12.897" Score="6" ViewCount="1781" Body="&lt;p&gt;We recently upgraded from &lt;code&gt;Sitecore 9.1.0 to 9.1.1&lt;/code&gt; and now our forms fail when there is validation required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The page reloads with this querystring:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/formbuilder?fxb.FormItemId=b0a35bf4-8b82-466d-8245-95c21d9d5b9f&amp;amp;fxb.HtmlPrefix=fxb.74bab89c-4646-4eee-8280-0dadae3db12f&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in the console, I can see an error &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yKQNE.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yKQNE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked the &lt;code&gt;sitecore modules/web/experience forms/scripts&lt;/code&gt; folder contains the versions of the scripts that the form should be referencing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dMBMO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dMBMO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think the issue is related to the page source on the upgraded site missing&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g16ow.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g16ow.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which should be there &lt;code&gt;OOTB&lt;/code&gt;.  So I'm not sure what the upgrade has done to cause them to not be there?&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="277" LastEditDate="2019-06-03T05:05:14.580" LastActivityDate="2019-12-30T02:52:48.357" Title="jQuery not defined error on sitecore 9.1.1 forms submission" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19120" PostTypeId="2" ParentId="19119" CreationDate="2019-06-03T03:43:54.153" Score="3" Body="&lt;p&gt;So in hunting around I discovered that &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; &lt;code&gt;\views\shared\sitecore form wrapper.cshtml&lt;/code&gt; is missing the render lines.  Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KR07C.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KR07C.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looks to be intentional.  Here is an article that talks about a requirement to update in &lt;code&gt;MVC layout&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Summary - if you're using Sitecore 9+ you're supposed to add those 2 lines to the &lt;code&gt;MVC layout&lt;/code&gt; file.  If you're using Sitecore 9.1.1 with SXA 1.8.1 those lines are missing from the &lt;code&gt;Sitecore forms wrapper.cshtml&lt;/code&gt; (which I believe they should be there - as I didn't need to add them in SXA 1.8).&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-06-05T00:38:35.907" LastActivityDate="2019-06-05T00:38:35.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19121" PostTypeId="1" AcceptedAnswerId="19122" CreationDate="2019-06-03T04:16:27.490" Score="0" ViewCount="71" Body="&lt;p&gt;I am trying to upgrade a Sitecore environment for one of our customers from &lt;code&gt;9.0.2&lt;/code&gt; to &lt;code&gt;9.1.1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this, I have set up a parallel upgraded environment. Now we will soon be switching the servers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One issue that comes up is that if any user is registered in the gap ( i.e. the time take to upgrade the environment..around 2-3 days) and the analytics data captured will be lost.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I migrate this data?&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="5387" LastEditDate="2019-06-03T08:16:14.970" LastActivityDate="2019-07-03T09:02:50.393" Title="How to migrate Analytics data captured during the phase of migration?" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19122" PostTypeId="2" ParentId="19121" CreationDate="2019-06-03T05:25:08.380" Score="2" Body="&lt;p&gt;In this case, the upgrade for the xDB Shards from 9.0.2 to 9.1.1 is very simple: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;run the upgrade SQL script - a matter of seconds&lt;/li&gt;&#xA;&lt;li&gt;rebuild xDB index - a few minutes tops (let me know if this isn't the case for you)&lt;/li&gt;&#xA;&lt;li&gt;rebuild reporting DB - a few hours tops if you &lt;a href=&quot;https://kb.sitecore.net/articles/224364&quot; rel=&quot;nofollow noreferrer&quot;&gt;have this patch applied&lt;/a&gt;. Does not impact go-live as you can rebuild and it will capture new analytics at same time.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Therefore the best approach to minimise loss of data would be to do the xDB shard copy / restore / upgrade as a go-live activity as part of the cutover. If you can rehearse this you can get it down to a reasonable time. Perhaps as an additional mitigation you can disable any critical forms / functionality (e.g. unpublish the page and publish a maintenance page).&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-06-03T05:25:08.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19123" PostTypeId="2" ParentId="18538" CreationDate="2019-06-03T05:25:26.733" Score="1" Body="&lt;p&gt;Please use below link to download the patch file to fix this issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;If you do not have &lt;code&gt;Experience Accelerator (SXA)&lt;/code&gt; module installed, use below link:&#xA;&lt;a href=&quot;https://sitecore.box.com/s/6lrwqkwkjyq6cppbk5qrg3vfamfrolzg&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.box.com/s/6lrwqkwkjyq6cppbk5qrg3vfamfrolzg&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you have &lt;code&gt;SXA installed&lt;/code&gt;, use below link instead of above:&#xA;&lt;a href=&quot;https://sitecore.box.com/s/uqkmvuernr6kv56lyopt8t8zevui47lo&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.box.com/s/uqkmvuernr6kv56lyopt8t8zevui47lo&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5387" LastActivityDate="2019-06-03T05:25:26.733" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19124" PostTypeId="1" AcceptedAnswerId="19131" CreationDate="2019-06-03T05:50:28.013" Score="1" ViewCount="220" Body="&lt;p&gt;I am working on Sitecore 9.0.2 and created a custom Update contact logic where I am  storing Firstname, email and Custom facet to xDB. This fails if the person filling the form is an existing user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Log says:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;2019-06-03 14:00:45.704 +10:00 [Error] Sitecore.XConnect.Operations.SetFacetOperation`1[Sitecore.XConnect.Facet]: Sitecore.XConnect.Operations.FacetOperationException: Operation #3, AlreadyExists, Contact {c536d93f-1dad-0000-0000-0592c2e3e51c}, RYIForm&#xA;2019-06-03 14:00:45.846 +10:00 [Error] [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;Sitecore.XConnect.Operations.FacetOperationException: Operation #3, AlreadyExists, Contact {c536d93f-1dad-0000-0000-0592c2e3e51c}, RYIForm&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I was getting this issue with two facets: &lt;code&gt;PhoneNumbers&lt;/code&gt; and &lt;code&gt;Customfacet&lt;/code&gt; when i added &lt;code&gt;Phonenumber&lt;/code&gt; to &lt;code&gt;ExpandOptions&lt;/code&gt; the error was resolved for phone numbers but it still persists for &lt;code&gt;RYIForm&lt;/code&gt;. Code snippet below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var expandOptions = new ContactExpandOptions(CollectionModel.FacetKeys.PersonalInformation, CollectionModel.FacetKeys.EmailAddressList, RYIFacets.DefaultFacetKey, &quot;PhoneNumbers&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Samridhi&lt;/p&gt;&#xA;" OwnerUserId="3900" LastEditorUserId="73" LastEditDate="2019-06-03T13:32:09.937" LastActivityDate="2019-06-03T13:32:09.937" Title="Unable to Update contact on Form Submit" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19125" PostTypeId="2" ParentId="19107" CreationDate="2019-06-03T07:05:01.617" Score="1" Body="&lt;p&gt;These log file entries indicate that the respective caches have reached their size limit and have been cleared. This can obviously have an effect on the performance of the site as the server is under more load to render content and repopulate the caches. This might be responsible for your outage. You might see this in one hosted site and not others if the site is handling more requests or has been running for a longer time period that the others.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resolve this you should tune your caches. Cache tuning is a well documented topic and Sitecore offer a very useful document - &lt;a href=&quot;https://doc.sitecore.com/sdnarchive/upload/sitecore7/70/cms_tuning_guide_sc70-72-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;CMS Tuning Guide&lt;/a&gt; which still holds true for the latest versions. The process will generally consist of increasing the appropriate cache sizes, monitoring the logs for cache clear entries and repeating the process until you have a sensible trade-off between server RAM allocation and site performance.&lt;/p&gt;&#xA;" OwnerUserId="5012" LastActivityDate="2019-06-03T07:05:01.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19126" PostTypeId="1" CreationDate="2019-06-03T10:30:09.687" Score="0" ViewCount="48" Body="&lt;p&gt;When editing the email in the &lt;code&gt;Email Experience Manager&lt;/code&gt;, click the &lt;code&gt;Add a new component&lt;/code&gt; button. &#xA;Added Image component by clicking on &lt;code&gt;+ Add here&lt;/code&gt; buttons. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After adding nothing was shown but after saving, page got reloaded and component can be seen.&lt;/p&gt;&#xA;" OwnerUserId="3581" LastEditorUserId="5096" LastEditDate="2019-06-03T12:14:37.050" LastActivityDate="2019-06-03T12:14:37.050" Title="Component is not showing in Sitecore EXM editor unless it is saved" Tags="|exm|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19128" PostTypeId="1" CreationDate="2019-06-03T11:39:51.680" Score="1" ViewCount="1565" Body="&lt;p&gt;We have a multi-site environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In one of the module, we are calling the same &lt;code&gt;controller/action&lt;/code&gt; from all the sites. Perhaps, the same Javascript file which calls this &lt;code&gt;controller/action&lt;/code&gt;  is included in all the sites. But, I'm able to get the response from &lt;code&gt;Site1&lt;/code&gt; but, &lt;code&gt;Site2&lt;/code&gt; is redirecting the request to &lt;code&gt;404&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;http://site1/api/mic/MyController/myaction -- Is working&#xA;&#xA;http://site2/api/mic/MyController/myaction -- Is not working&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Recently we have &lt;code&gt;upgraded from Sitecore 8.0.4 to Sitecore 9.0.2&lt;/code&gt;, In &lt;code&gt;Sitecore 8 instance both are working&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just to debug the issue, &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I had deleted the &lt;code&gt;Site.Config for&lt;/code&gt;Site2` and tested, it is able to get the proper response. Not sure what's happening here. Attached the site config below.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vQM3u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vQM3u.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Also noticed that from &lt;code&gt;site2&lt;/code&gt; I'm not able to hit any of the controller/action.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I suspect that, Api routing is not working. When we include Site2's site.config, Sitecore routing is taking place, not the mvc routing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your help and prompt response are appreciated. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 1 :&lt;/strong&gt;&#xA;I had noticed that, in Site definition, when the start item is pointing to Site2's home item, i'm getting error. It works with any other item in the content tree. Is there any problem with Sitecore item? or did i missed any configuration? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 2 :&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that, under Site2 Sitecore node, we have wild card items. Something like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartItem/*/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is matching &lt;code&gt;http://site2/api/mic/MyController/myaction&lt;/code&gt; request. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I'm sure that, when we call the api it is matching the Sitecore Content tree items and then it is redirecting to 404 page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now the question is how to tell Sitecore to take mvc routing as routing for this request? &lt;/p&gt;&#xA;" OwnerUserId="711" LastEditorUserId="711" LastEditDate="2019-06-04T12:57:49.323" LastActivityDate="2019-06-04T12:57:49.323" Title="Sitecore custom api routing is not working" Tags="|sitecore-api|upgrade|webapi|routing|api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19129" PostTypeId="1" CreationDate="2019-06-03T12:38:32.637" Score="0" ViewCount="512" Body="&lt;p&gt;Using Sitecore 9.1 and SXA 1.8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know the best way to force Sitecore to return a legit &lt;code&gt;403&lt;/code&gt; error when an Ajax call is hitting an &lt;code&gt;API&lt;/code&gt; method?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently when the following code is thrown within the &lt;code&gt;API&lt;/code&gt; method, Sitecore is redirecting to the &lt;code&gt;/login&lt;/code&gt; page - so the Ajax call is getting the raw HTML of the login page sent to it with a &lt;code&gt;200&lt;/code&gt; status instead of a &lt;code&gt;403&lt;/code&gt; status.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;throw new WebException(&quot;Invalid Credentials&quot;, WebExceptionStatus.RequestProhibitedByProxy);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="901" LastEditorUserId="5096" LastEditDate="2019-06-03T15:00:40.273" LastActivityDate="2021-10-21T18:06:10.583" Title="Prevent Login Redirect on 403 When an Ajax Call" Tags="|sxa|authentication|webapi|error-handling|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19130" PostTypeId="2" ParentId="19128" CreationDate="2019-06-03T13:06:01.187" Score="2" Body="&lt;p&gt;It needs to create custom routing for calling a controller action method for multisite. Steps are as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1)&lt;/strong&gt; Add App_start folder in the &lt;strong&gt;Foundation Layer&lt;/strong&gt; Project. Add a class file in this folder e.g. RegisterWebApiRoutes.cs, use the below code in this class file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(PipelineArgs args)&#xA;        {&#xA;            RouteTable.Routes.MapRoute(&quot;API&quot;, &quot;api/sitecore/{controller}/{action}/{id}&quot;,&#xA;                new { controller = &quot;controllerName&quot;, id = UrlParameter.Optional },&#xA;                new[] { &quot;dllName.Controllers&quot; } //e.g. Sitecore.Foundation.Accounts.Controllers&#xA;            );&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 2)&lt;/strong&gt; created the config file of that layer, register the routing e.g. &lt;code&gt;Sitecore.Foundation.Accounts.config&lt;/code&gt; use below  code for register routing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Foundation.Accounts.App_Start.RegisterWebApiRoutes,Sitecore.Foundation.Accounts&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;  &amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I hope it will work for you because it worked for me.&lt;/p&gt;&#xA;" OwnerUserId="5417" LastEditorUserId="5387" LastEditDate="2019-06-03T13:13:48.520" LastActivityDate="2019-06-03T13:13:48.520" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19131" PostTypeId="2" ParentId="19124" CreationDate="2019-06-03T13:25:14.993" Score="4" Body="&lt;p&gt;You need to check first if the facet already exists, the code to get or create the RYIFacets facet could like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contact = context.Contact;&#xA;var facet = contact.GetFacet&amp;lt;RYIFacets&amp;gt;(RYIFacets.DefaultFacetKey);&#xA;&#xA;if (facet == null)&#xA;{&#xA;facet = new RYIFacets();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When working with a facet, not all data is always loaded, so check. See also &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/set-contact-facets.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/set-contact-facets.html&lt;/a&gt;  and  &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/access-contact-and-interaction-data-from-activity-type.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/access-contact-and-interaction-data-from-activity-type.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-06-03T13:25:14.993" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19132" PostTypeId="1" CreationDate="2019-06-03T13:43:47.163" Score="1" ViewCount="519" Body="&lt;p&gt;I have a simple article page. I should have an &lt;code&gt;infinite scroll&lt;/code&gt; implementation, meaning once a user has reached the bottom of the page, I should load the next article.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I render a component after an &lt;code&gt;axios request&lt;/code&gt;? I think the good approach is to use a placeholder. I am a rookie on &lt;code&gt;Sitecore JSS&lt;/code&gt;, I searched in the doc but I can't find the missing key.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;class ArticleContainer extends Component {&#xA;    constructor(props) {&#xA;        super(props);&#xA;        this.state = {&#xA;            component: null&#xA;        };&#xA;    }&#xA;&#xA;    componentDidMount() {&#xA;        this.getNextArticle();&#xA;    }&#xA;&#xA;    getNextArticle() {&#xA;        const fetchOptions = {&#xA;            layoutServiceConfig: { host: config.sitecoreApiHost },&#xA;            querystringParams: { sc_lang: 'en', sc_apikey: config.sitecoreApiKey },&#xA;            fetcher: dataFetcher&#xA;        };&#xA;&#xA;        dataApi.fetchRouteData('/next-article', fetchOptions).then(route =&amp;gt; {&#xA;            this.setState({&#xA;                component: route&#xA;            });&#xA;        });&#xA;    }&#xA;&#xA;    render() {&#xA;        return (&#xA;            &amp;lt;div&amp;gt;&#xA;                &amp;lt;Article&#xA;                    title={this.props.fields.title}&#xA;                    author={this.props.fields.author}&#xA;                    views={this.props.fields.views}&#xA;                    datePublished={this.props.fields.datePublished}&#xA;                    readTime={this.props.fields.readTime}&#xA;                    imageDesktop={this.props.fields.imageDesktop}&#xA;                    rendering={this.props.rendering}&#xA;                /&amp;gt;&#xA;                {/* This is where I want the new article to be append dynamically */}&#xA;                &amp;lt;section&amp;gt;{&amp;lt;Placeholder name=&quot;jss-next-article&quot; rendering={this.state.component} /&amp;gt;}&amp;lt;/section&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;data.yml - next article&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;id: next-article&#xA;fields:&#xA;  pageTitle: Welcome to Article Sitecore JSS&#xA;placeholders:&#xA;  jss-next-article:&#xA;  - componentName: ArticleContainer&#xA;    fields:&#xA;      title: title of the article&#xA;      etc.&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5607" LastEditorUserId="69" LastEditDate="2019-06-03T15:09:24.523" LastActivityDate="2021-09-01T21:02:55.297" Title="How to render a component after a async request with React &amp; Sitecore JSS?" Tags="|jss|sitecore-react|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19133" PostTypeId="2" ParentId="19129" CreationDate="2019-06-03T14:46:01.687" Score="1" Body="&lt;h1&gt;First Approach(Recommended)&lt;/h1&gt;&#xA;&lt;p&gt;If you want to make &lt;em&gt;&lt;strong&gt;centralizer&lt;/strong&gt;&lt;/em&gt; &lt;code&gt;authentication/authorization&lt;/code&gt; logic for any API methods then implement &lt;code&gt;authentication/authorization&lt;/code&gt; filter, Here below sample example we are implementing custom authorization filter.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;    /// &amp;lt;summary&amp;gt;&#xA;    /// CustomAuthorizationAttribute&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;seealso cref=&amp;quot;System.Web.Mvc.AuthorizeAttribute&amp;quot; /&amp;gt;&#xA;    public class CustomAuthorizationAttribute : AuthorizeAttribute&#xA;    {&#xA;       public override void OnAuthorization(HttpActionContext actionContext)&#xA;       {&#xA;         // Here your core logic&#xA;       }       &#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Handles the unauthorized request.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&amp;quot;filterContext&amp;quot;&amp;gt;The filter context.&amp;lt;/param&amp;gt;&#xA;        protected override void HandleUnauthorizedRequest(AuthorizationContext filterContext)&#xA;        {&#xA;            //set unauthorized(401) response&#xA;            filterContext.Result = new HttpUnauthorizedResult(); &#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h1&gt;Second Approach&lt;/h1&gt;&#xA;&lt;p&gt;As per your query, you can check response content-type using global &lt;code&gt;ajaxComplete&lt;/code&gt; method.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;$(document).ajaxComplete(function (event, request, settings) {    &#xA;    try {&#xA;        //html response and login page. &#xA;        if (request.getResponseHeader(&amp;quot;content-type&amp;quot;).indexOf('html') &amp;gt; -1)&#xA;            //write custom logic&#xA;    }&#xA;    catch (e) {&#xA;        &#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-06-04T12:19:04.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19134" PostTypeId="2" ParentId="19055" CreationDate="2019-06-03T14:55:29.983" Score="0" Body="&lt;p&gt;Asked the same question to Sitecore Support and got this reference &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/collection-service-public-endpoints.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/collection-service-public-endpoints.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Seems that this section was added recently.&lt;/p&gt;&#xA;" OwnerUserId="4110" LastActivityDate="2019-06-03T14:55:29.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19136" PostTypeId="2" ParentId="16720" CreationDate="2019-06-03T16:08:58.813" Score="0" Body="&lt;p&gt;The solution we ending up going with was a bit of a hack. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Internal intranet access&lt;/strong&gt;&#xA;An AJAX call to /sitecore/admin/ldaplogin.aspx is made in the background to log the user into Sitecore automatically with Windows authentication. Yes, apparently you can do Windows auth over AJAX with both Internet Explorer and Chrome. If there are no errors in the AJAX response the page is automatically refreshed, and their username is displayed in the upper-right-hand corner. Because all our users are tied into Active Directory they do not get the Windows auth login pop up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;External internet access&lt;/strong&gt;&#xA;URL Rewrite checks the X-Forwarded-For header set by our load balancer to see if the traffic is coming from within our network or outside of it. (If you don't use a load balancer you can just reference their IP address.) I got a list of regular expressions that represent Class A, B, and C networks and created the rule in URL Rewrite to block all public access to /sitecore/admin/ldaplogin.aspx. This means when accessing the site externally the user will not get the ugly Windows authentication pop up because URL Rewrite rules are processed before the Windows auth process takes place. Instead, the user must login to a custom-made Sitecore login form.&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2019-06-03T16:08:58.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19137" PostTypeId="1" AcceptedAnswerId="19143" CreationDate="2019-06-03T16:24:07.547" Score="0" ViewCount="162" Body="&lt;p&gt;A while ago I created some documentation on configuring roles in Sitecore for my team. We're using Sitecore 9.0 with the &lt;code&gt;Active Directory&lt;/code&gt; module. I set my documentation aside six or so months ago because we didn't have a real world use case for it yet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I came back to that documentation today, but now when I search for roles (which I know exist in AD) I never get any search results. Nothing. This is really strange since I have screenshots of it working in my old documentation! We have not upgraded Sitecore or anything since then. Not much has changed other than migrating another large website into Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I Googled my problem and there was a guy who said increasing the cache sizes in the &lt;code&gt;ldap.config&lt;/code&gt; fixed his problem, so I increased mine from 5MB to 100MB but it didn't help. I still have the same issue. Any ideas what may be causing this problem? Our &lt;code&gt;LDAP&lt;/code&gt; configuration is still working because I can search for individual user accounts just fine, just not AD roles. Help!&lt;/p&gt;&#xA;" OwnerUserId="4239" LastEditorUserId="4239" LastEditDate="2019-06-04T02:13:16.483" LastActivityDate="2019-06-04T02:14:23.663" Title="Active Directory roles not displaying" Tags="|active-directory-module|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19138" PostTypeId="1" AcceptedAnswerId="19171" CreationDate="2019-06-03T17:11:26.420" Score="4" ViewCount="746" Body="&lt;p&gt;I am working on Sitecore commerce project where I am customizing the cart and product listing pages.I am trying to debug Sitecore commerce knockout JavaScript and modify the JavaScript necessary in Sitecore commerce.When i try to view SXA storefront pages and inspect the sources loaded on the page, the pages are optimized and bundled so i can not debug it. &#xA;To disable asset optimizer,, I have tried steps from &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/enable-and-configure-the-asset-optimizer.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/enable-and-configure-the-asset-optimizer.html&lt;/a&gt; and &lt;a href=&quot;https://www.bugdebugzone.com/2018/07/sitecore-sxa-disable-asset-optimizer.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.bugdebugzone.com/2018/07/sitecore-sxa-disable-asset-optimizer.html&lt;/a&gt; &#xA;but none of them are working and I am always seeing the bundled version of JavaScript loaded on to SXA pages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone let me know what should i do to disable optimization and see all the sources java scripts loaded from Sitecore themes folder&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the screenshot of SXA storefront JS panel&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HBkVS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HBkVS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4549" LastEditorUserId="70" LastEditDate="2019-06-03T17:35:00.523" LastActivityDate="2019-06-06T12:34:42.200" Title="Sitecore commerce SXA Asset Optimizer not working" Tags="|sxa|sitecore-commerce|sxa-storefront|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19139" PostTypeId="1" CreationDate="2019-06-03T17:57:57.880" Score="1" ViewCount="75" Body="&lt;p&gt;I am using SXA 1.8.1 and Sitecore 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For my application i want to show list of properties in a given area.&#xA;I followed &lt;a href=&quot;https://michaellwest.blogspot.com/2016/10/build-location-finder-search-using-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; link (Michael West's blog). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a radius filter as 0miles, 5 miles, 10 miles.&#xA;When i enter a location in location finder and select 0miles, i get the result count as 0, even though i have a property in the given location. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;the hash getting formed is - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#rent-search-result_g=51.515973|-0.17494299999998475&amp;amp;rent-search-result_o=Distance%2CAscending&amp;amp;rent-search-result_a=Paddington%2C%20London%2C%20UK&amp;amp;rent-search-result_distance=0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;in the hash url geolocation of selected location is added and for radius 0 miles distance value is 0, so its basically searching the property at selected geolocation itself. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to show properties in the entered area if 0 miles is selected, which means properties with in that area. when 5 miles is selected the properties under the radius of the selected area and +5 miles from the area should be listed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or to list properties under a selected postcode when no radius filter is selected.&lt;/p&gt;&#xA;" OwnerUserId="5530" LastActivityDate="2019-06-03T17:57:57.880" Title="SXA location filter by radius as 0 miles is showing zero results" Tags="|sxa|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19141" PostTypeId="2" ParentId="19137" CreationDate="2019-06-03T22:08:35.307" Score="0" Body="&lt;p&gt;Sitecore Experience Platform 9.1.0 or later does not support the Active Directory module. Below is the link for your reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Active_Directory.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Active_Directory.aspx&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-03T22:08:35.307" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19142" PostTypeId="1" AcceptedAnswerId="19504" CreationDate="2019-06-04T01:50:07.807" Score="1" ViewCount="56" Body="&lt;p&gt;I would need to know on the best way to implement a scenario&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Environment :&lt;/strong&gt; Sitecore 9.0.2&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Module:&lt;/strong&gt; Dynamics CRM COnnector 2.0.1&lt;/p&gt;&#xA;&lt;h1&gt;Scenario:&lt;/h1&gt;&#xA;&lt;p&gt;If a particular facet property is not null then the value mapping should not be applied while running the pipeline batch &lt;code&gt;Sync xConnect contacts to Dynamics&lt;/code&gt;. I have noticed all value Mapping have Rule mapping field. Would like to have an implementation example, could not find any in CookBook.&lt;/p&gt;&#xA;&lt;p&gt;Thanks,&#xA;​Sam&lt;/p&gt;&#xA;" OwnerUserId="3900" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-06-20T10:21:46.760" Title="Rule based sync in Dynamics CRM Connector" Tags="|sitecore-client|dynamics-crm-module|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19143" PostTypeId="2" ParentId="19137" CreationDate="2019-06-04T02:14:23.663" Score="0" Body="&lt;p&gt;Turns out the issue was pretty simple. At some point someone on our team had disabled the role manager portion in the config file.&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2019-06-04T02:14:23.663" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19145" PostTypeId="2" ParentId="9932" CreationDate="2019-06-04T06:31:32.407" Score="5" Body="&lt;p&gt;Also faced with the same issue. Checked xConnect event logs are located in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\inetpub\wwwroot\[your Sitecore xConnect]\App_Data\jobs\continuous\IndexWorker\App_data\Logs\&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Observed the licence is missing:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Error] Exception occurred during instantiating of IndexerHost.&#xA;Sitecore.Nexus.Licensing.LicenseException: Required license is missing: Sitecore.xDB.Base&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyway, validated that licence file contains in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\inetpub\wwwroot\[your Sitecore xConnect]\App_Data\license.xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\inetpub\wwwroot\[your Sitecore xConnect]\App_Data\jobs\continuous\IndexWorker\App_data\license.xml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when I opened those license files, just found out that the &quot;&lt;strong&gt;Sitecore.xDB.Base&lt;/strong&gt;&quot; (make a serch by &quot;&lt;em&gt;Sitecore.xDB.Base&lt;/em&gt;&quot; key word) expiration date had been expired:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/D9sUq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D9sUq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, just do not skip &quot;&lt;strong&gt;Sitecore.xDB.Base&lt;/strong&gt;&quot; licence expiration check.&lt;/p&gt;&#xA;" OwnerUserId="4782" LastActivityDate="2019-06-04T06:31:32.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19146" PostTypeId="2" ParentId="19138" CreationDate="2019-06-04T07:49:12.297" Score="3" Body="&lt;p&gt;First of all, try to globally disable asset optimization:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i1jIJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i1jIJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also disable it per site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fwLLD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fwLLD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you still want to use &lt;code&gt;?aodisabled=1&lt;/code&gt; ensure that this &quot;switch&quot; is enabled. Take a look at &lt;code&gt;Sitecore.XA.Foundation.Theming.config&lt;/code&gt; configuration file and find &lt;code&gt;XA.Foundation.Theming.AssetsOptimizationSwitch.Enabled&lt;/code&gt; setting:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4HIw5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4HIw5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-06-04T07:49:12.297" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19147" PostTypeId="2" ParentId="19115" CreationDate="2019-06-04T08:25:19.660" Score="3" Body="&lt;p&gt;At least the first of your requirements can easily be achieved by changing default sorting  options for the list. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the 'By URL' detailed list, you can find the default settings in item&#xA;&lt;code&gt;/sitecore/client/Applications/ExperienceAnalytics/Dashboard/Behavior/Pages/By URL/PageSettings/ListControl Parameters&lt;/code&gt; in the core database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;KeysSortByMetric&lt;/code&gt; - determines the values to be sorted&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;KeysSortDirection&lt;/code&gt; - determines the sort order for the values specified in &lt;code&gt;KeysSortByMetric&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I guess the following default values is what you are looking for&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;KeysSortByMetric = Visits&#xA;KeysSortDirection = Descending&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Enabling searching or filtering by a page path seems to require major changes in code. I just wonder if you can go with a more simple workaround, e.g. change the default Page Size the 'By URL' detailed list and use default browser search to find something on the page. In order to set Page Size use field &lt;code&gt;KeysCount&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="5610" LastEditorUserId="5610" LastEditDate="2020-04-10T21:46:13.667" LastActivityDate="2020-04-10T21:46:13.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19148" PostTypeId="1" CreationDate="2019-06-04T08:29:23.383" Score="1" ViewCount="805" Body="&lt;p&gt;I'm working on &lt;code&gt;Treelist&lt;/code&gt; field and have to select all children items at a time (like select all option) to selected list from &lt;code&gt;Treelist&lt;/code&gt; (left to right window).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any default option there or do we need to create new custom field?&lt;/p&gt;&#xA;" OwnerUserId="5609" LastEditorUserId="2056" LastEditDate="2019-06-04T09:51:59.760" LastActivityDate="2019-07-04T12:02:30.293" Title="Sitecore Treelist - How to select all child items into selected list(left to right window) based on parent selection?" Tags="|tree-list|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19149" PostTypeId="1" CreationDate="2019-06-04T08:40:58.083" Score="0" ViewCount="43" Body="&lt;p&gt;For my deployment, I'm using the Hosted Agent VS2017 (the only one with .NET 4.7.2). There seem to be a problem in this one, as mentionned in the following github feed : &lt;a href=&quot;https://github.com/Microsoft/msbuild/issues/1901&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Microsoft/msbuild/issues/1901&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;agent&lt;/code&gt; uses &lt;code&gt;MSBUILD&lt;/code&gt; 15.0 and not 15.2 which fixes the bug of Publish files. Do you have any idea how I could solve this problem ? (I cannot directly update the hosted agent so I'm stuck here)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How did you proceed to build your Sitecore solutuon on &lt;code&gt;Azure DevOps&lt;/code&gt; ? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did you use this hosted agent or not ?&lt;/p&gt;&#xA;" OwnerUserId="1566" LastEditorUserId="73" LastEditDate="2019-06-04T11:09:20.650" LastActivityDate="2019-06-04T11:09:20.650" Title="Sitecore 9.1.0 Deployment to Azure, MSbuild issues" Tags="|azure-devops|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19150" PostTypeId="1" AcceptedAnswerId="19151" CreationDate="2019-06-04T09:05:24.650" Score="1" ViewCount="532" Body="&lt;p&gt;One specific content item is not rendering, showing blank page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we check log found below exception:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Exception: System.InvalidOperationException&#xA;  Message: The Sitecore.Client.ContentDatabase is null.&#xA;  Source: Sitecore.Kernel&#xA;     at Sitecore.Client.get_ContentDatabase()&#xA;     at Sitecore.Layouts.RenderingReference.ParseRules(XmlNode configNode, RenderingItem renderingItem)&#xA;     at Sitecore.Layouts.RenderingReference.ParseSettings(XmlNode configNode)&#xA;     at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.CustomizeRenderingProcessor.GetRenderingReference(Rendering rendering, Language language, Database database)&#xA;     at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.Personalize.Evaluate(CustomizeRenderingArgs args)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;     at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func `2 resultGetter)&#xA;     at Sitecore.Mvc.Analytics.Pipelines.Response.GetRenderer.CustomizeRendering.Process(GetRendererArgs args)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;     at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func`2 resultGetter)&#xA;     at Sitecore.Mvc.Presentation.Rendering.GetRenderer()&#xA;     at Sitecore.Mvc.Presentation.Rendering.get_Renderer()&#xA;     at Sitecore.Mvc.Presentation.Rendering.ToString()&#xA;     at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.StartProfiling(RenderRenderingArgs args)&#xA;     at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.Process(RenderRenderingArgs args)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;     at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;     at (Object , Object[] )&#xA;     at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;     at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;     at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any suggestion to figure out this issue.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="277" LastEditDate="2019-06-04T09:06:26.607" LastActivityDate="2019-06-04T09:27:14.360" Title="Blank Page is displaying while running particular content item" Tags="|presentation|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19151" PostTypeId="2" ParentId="19150" CreationDate="2019-06-04T09:12:43.960" Score="5" Body="&lt;p&gt;&lt;code&gt;ParseRules&lt;/code&gt; method uses this code to pass proper database to &lt;code&gt;RuleFactory&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;renderingItem != null ? renderingItem.Database : Client.ContentDatabase&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If it tries to pass &lt;code&gt;Client.ContentDatabase&lt;/code&gt; (that's in your exception stack trace) it means that &lt;code&gt;renderingItem&lt;/code&gt; is null. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it looks like either one of the renderings which was added to presentation details of that page no longer exists or maybe it was not published to &lt;code&gt;web&lt;/code&gt; database yet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the presentation details of the page in &lt;code&gt;master&lt;/code&gt; database first. See which of the renderings has some rules assigned. Then switch to &lt;code&gt;web&lt;/code&gt; database. Check if that rendering is also in the &lt;code&gt;web&lt;/code&gt; database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If none of the components has rules assigned, check all the renderings if all of their definitions are present in &lt;code&gt;web&lt;/code&gt; database.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-04T09:12:43.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19152" PostTypeId="2" ParentId="19150" CreationDate="2019-06-04T09:27:14.360" Score="0" Body="&lt;p&gt;Just for explaining exact fix. This issue was due to newly added renderings were not &lt;strong&gt;&lt;em&gt;published&lt;/em&gt;&lt;/strong&gt; to &lt;code&gt;web&lt;/code&gt; DB. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once publish required renderings, content item started showing proper content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Jy7wK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jy7wK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-06-04T09:27:14.360" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19153" PostTypeId="1" CreationDate="2019-06-04T09:42:24.537" Score="0" ViewCount="1158" Body="&lt;p&gt;We have a strange issue on our UAT environment where duplicate records are being returned for a single content item in a new web index we have created and both are marked with 'latestversion:true' (which this means both records get through our query filters).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SOLR records contain the following fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLR record 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;__created_by_s: sitecore\user1&lt;br&gt;&#xA;__smallupdateddate_tdt: 2019-05-30T16:39:57Z&lt;br&gt;&#xA;version_im: [10]&lt;br&gt;&#xA;_creator: sitecore\user1&lt;br&gt;&#xA;__smallcreateddate_tdt: 2019-05-30T14:15:34Z&lt;br&gt;&#xA;_latestversion: true&lt;br&gt;&#xA;_language: en-GB&lt;br&gt;&#xA;&lt;em&gt;version&lt;/em&gt;: 1635047913152315400&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLR record 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;__created_by_s: sitecore\user2&lt;br&gt;&#xA;__smallupdateddate_tdt: 2019-05-31T13:05:56Z&lt;br&gt;&#xA;version_im: [12]&lt;br&gt;&#xA;_creator: sitecore\user2&lt;br&gt;&#xA;__smallcreateddate_tdt: 2019-05-31T13:03:56Z&lt;br&gt;&#xA;_latestversion: true&lt;br&gt;&#xA;_language: en-GB&lt;br&gt;&#xA;&lt;em&gt;version&lt;/em&gt;: 1635055446459940900&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the item versions in master and web shows the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xjSCw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xjSCw.png&quot; alt=&quot;Master database versions&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3rzo7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3rzo7.png&quot; alt=&quot;Web database version&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The web version is higher than the versions in master. And there is no version 10 in the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this down to the item having become corrupt? Or could it be attributed to something else?&lt;/p&gt;&#xA;" OwnerUserId="2949" LastEditorUserId="73" LastEditDate="2019-06-04T09:44:15.187" LastActivityDate="2019-06-04T09:44:15.187" Title="Duplicate item records in SOLR index (web)" Tags="|solr|indexing|versions|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19154" PostTypeId="2" ParentId="19148" CreationDate="2019-06-04T10:32:00.160" Score="1" Body="&lt;p&gt;The default Treelist does not support selecting all children at the same time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are going to create your own control, be mindful of the implications of selecting all of your children's nested children - they could amount to a large number of items. Perhaps your custom control could be configured to only &quot;Select All&quot; the 1st level children.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-06-04T10:58:51.623" LastActivityDate="2019-06-04T10:58:51.623" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="19158" PostTypeId="1" CreationDate="2019-06-04T12:34:05.323" Score="0" ViewCount="441" Body="&lt;p&gt;I have upgraded Sitecore 8.1 to 9.1 and have different servers for each environment , but the CD server is not generating logs in the data folder , I have given the path of the data folder in the &lt;code&gt;DataFolder.Config&lt;/code&gt; file and &lt;code&gt;Sitecore.Config&lt;/code&gt; file also, still not able to see the logs there, Please help.&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="5096" LastEditDate="2019-06-04T15:15:13.337" LastActivityDate="2019-06-04T15:15:13.337" Title="Not able to create logs on CD server in sitecore 9.1" Tags="|upgrade|logging|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19160" PostTypeId="2" ParentId="19158" CreationDate="2019-06-04T13:06:51.417" Score="2" Body="&lt;p&gt;In Sitecore 9 default location of logs was changed. Instead of having data folder on same level as website folder, logs were moved under website folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check &lt;em&gt;App_Data\logs&lt;/em&gt; folder inside your website, logs should be there if you have default logs configuration.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-06-04T13:06:51.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19161" PostTypeId="1" CreationDate="2019-06-04T13:08:38.067" Score="0" ViewCount="283" Body="&lt;p&gt;What does GraphQL use internally to query the Sitecore items?&lt;/p&gt;&#xA;" OwnerUserId="2419" LastActivityDate="2019-06-04T14:33:27.977" Title="Sitecore came up with GraphQL in 9.2, so internally does they use Sitecore API?" Tags="|sitecore-api|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19163" PostTypeId="2" ParentId="19161" CreationDate="2019-06-04T14:33:27.977" Score="4" Body="&lt;p&gt;I want to make it clear that Sitecore did not invent or create GraphQL. GraphQL is a pre-existing standard: &lt;a href=&quot;https://graphql.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://graphql.org/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore GraphQL API is an implementation of that standard with some Sitecore-specific bits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I understand it, the endpoint is running C# code on the server that is defined for schemas and extenders. It wraps around Sitecore's context database, and ultimately at the very bottom of the layers the content queries are calling the native Sitecore Item API for single Item requests, and the ContentSearch API for searches.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure to take a look at the examples for customization on the JSS site to get an idea of the various things like endpoints, schemas, extenders, etc.: &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/graphql/graphql-overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/techniques/graphql/graphql-overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-06-04T14:33:27.977" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19165" PostTypeId="1" CreationDate="2019-06-04T14:39:08.247" Score="3" ViewCount="51" Body="&lt;p&gt;Sitecore clones never inherit the values of the &lt;code&gt;Updated, Updated by, Revision, Created, Created by, Source, Workflow, Workflow State and Lock fields&lt;/code&gt;. That makes perfect sense. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also a setting &lt;code&gt;ItemCloning.NonInheritedFields&lt;/code&gt; that seems to list a set of additional field names or ids that shouldn't be inherited. &lt;code&gt;Never publish, PublishDate, UnpublishDate and Final Renderings&lt;/code&gt; are good contenders for this field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, this seems to be working fine when performing a clone of an item. But as far as I can see, this doesn't work together with field reset. If I reset a field value of a cloned item, that is in the the &lt;code&gt;NonInheritedFields&lt;/code&gt; list, or one of the pre-defined fields, it inherits the value from the source item anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this really the expected behavior?&lt;/p&gt;&#xA;" OwnerUserId="213" LastEditorUserId="5096" LastEditDate="2019-06-04T15:06:21.747" LastActivityDate="2019-06-04T15:06:21.747" Title="Avoid inheriting fields to clones" Tags="|content-management|item-clones|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19168" PostTypeId="1" AcceptedAnswerId="19306" CreationDate="2019-06-04T16:53:11.290" Score="2" ViewCount="325" Body="&lt;p&gt;I have a search page that is working correctly on my local instance using SOLR, but when we move the page to our AZURE Instance it fails.  The AZURE Instance is using AZURE Search instead SOLR.  If I reduce the number of searchable items for the search to 50 items or less it works correctly and shows the Facets correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since the request works when there are less then 50 items it seems there might be a configuration issue that i am missing.  Researching that it seems there is a $top that can be set that has a default of 50 but I do not know where I would put that setting to test if that is the issue&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MfFmp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MfFmp.png&quot; alt=&quot;console log error&quot;&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Response is . &quot;Can not convert Array to String.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a screenshot of the facets not working with 51 results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LvWSi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LvWSi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this is a screenshot working with the result count reduced to less than 50 by setting the facets inside the url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rbQcD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rbQcD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Suggestions?&lt;/p&gt;&#xA;" OwnerUserId="3464" LastActivityDate="2019-06-11T16:22:42.910" Title="Sitecore SXA Azure Search Facets Returning 400 Bad Request when there are more than 50 results" Tags="|sxa|azure|sitecore-api|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19169" PostTypeId="1" AcceptedAnswerId="19192" CreationDate="2019-06-04T23:58:38.387" Score="1" ViewCount="211" Body="&lt;p&gt;I've added a placeholder to a rendering variant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I use that variant on a page, I click on the add item button, and I get the default window with all renderings available.  I have then added a placeholder setting item, and put the key in the placeholder key of the placeholder in the variant.  I still see all renderings when I go to add an item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One issue I noticed is if I try to edit the placeholder setting in the experience editor it's not picking up the correct item due to the -1-1 that are getting added to the placeholder setting&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TxcbK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TxcbK.png&quot; alt=&quot;placeholdersettingedit&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any idea what I need to do to correct this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my placeholder setting&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JpyTp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JpyTp.png&quot; alt=&quot;placeholdersetting&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is my placeholder in the variant&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9ZE3v.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9ZE3v.png&quot; alt=&quot;renderingvariant&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried this with and without the * to indicate a dynamic placeholder.&lt;/p&gt;&#xA;" OwnerUserId="5618" LastEditorUserId="5618" LastEditDate="2019-06-05T14:20:02.910" LastActivityDate="2019-06-05T18:31:17.437" Title="SXA placeholder settings not limiting renderings" Tags="|sxa|presentation|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19170" PostTypeId="1" AcceptedAnswerId="19243" CreationDate="2019-06-05T01:09:39.260" Score="2" ViewCount="1085" Body="&lt;p&gt;I migrated the project from &lt;code&gt;Sitecore 8.2 to Sitecore 9.1.1&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There was a suggester component that we were using to provide a suggestion for a search term. As part of the migration, I also created a new instance of &lt;code&gt;Solr7.2.1&lt;/code&gt; as per the compatibility matrix of &lt;code&gt;Sitecore 9.1.1&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I copied the exact same configuration from Solr 5.1 to Sitecore7.2.1. I removed one configuration as suggested in the post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/19069/sitecore-9-1-1-solr-suggester-not-returning-any-data&quot;&gt;Sitecore 9.1.1 Solr suggester not returning any data&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue that I have at the moment is results are not matching:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In Solr5.1 return JSON was&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;responseHeader&quot;:{&quot;status&quot;:0,&quot;QTime&quot;:2},&quot;suggest&quot;:{&quot;fuzzySuggester&quot;:{&quot;water&quot;:{&quot;numFound&quot;:10,&quot;suggestions&quot;:[{&quot;term&quot;:&quot;Water checklist&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;Water efficiency&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;Water efficiency tips&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;Water efficient devices&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;Water Netserv Plan&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;Water pressure issues&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;Water quality&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;Water quality issues&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;Water quality results&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;Water quality testing and reports&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;}]}},&quot;infixSuggester&quot;:{&quot;water&quot;:{&quot;numFound&quot;:10,&quot;suggestions&quot;:[{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; Netserv Plan&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; Netserv Plan&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; Netserv Plan&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; quality&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; quality&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; quality&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; quality&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; quality&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; quality&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;},{&quot;term&quot;:&quot;&amp;lt;b&amp;gt;Water&amp;lt;/b&amp;gt; quality&quot;,&quot;weight&quot;:0,&quot;payload&quot;:&quot;&quot;}]}}}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Return JSON in Solr7.2.1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;responseHeader&quot;:{&#xA;    &quot;status&quot;:0,&#xA;    &quot;QTime&quot;:4},&#xA;  &quot;suggest&quot;:{&#xA;    &quot;fuzzySuggester&quot;:{&#xA;      &quot;water&quot;:{&#xA;        &quot;numFound&quot;:1,&#xA;        &quot;suggestions&quot;:[{&#xA;            &quot;term&quot;:&quot;water&quot;,&#xA;            &quot;weight&quot;:348,&#xA;            &quot;payload&quot;:&quot;&quot;}]}},&#xA;    &quot;infixSuggester&quot;:{&#xA;      &quot;water&quot;:{&#xA;        &quot;numFound&quot;:1,&#xA;        &quot;suggestions&quot;:[{&#xA;            &quot;term&quot;:&quot;&amp;lt;b&amp;gt;water&amp;lt;/b&amp;gt;&quot;,&#xA;            &quot;weight&quot;:348,&#xA;            &quot;payload&quot;:&quot;&quot;}]}}}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see that the search results in 5.1 has more terms and is returning the multiple words in the terms which match the title of pages in Sitecore. Whereas in Solr7.2.1 it is not returning any terms with more than one word. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My current Solr configuration:&lt;/strong&gt;&#xA;&lt;code&gt;Solrconfig.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;searchComponent name=&quot;suggest&quot; class=&quot;solr.SuggestComponent&quot;&amp;gt;&#xA;    &amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;        &amp;lt;str name=&quot;name&quot;&amp;gt;fuzzySuggester&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;lookupImpl&quot;&amp;gt;FuzzyLookupFactory&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;storeDir&quot;&amp;gt;fuzzy_suggestions&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;dictionaryImpl&quot;&amp;gt;DocumentDictionaryFactory&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;field&quot;&amp;gt;_content&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;weightField&quot;&amp;gt;weight&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;suggestType&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;buildOnStartup&quot;&amp;gt;false&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;buildOnCommit&quot;&amp;gt;false&amp;lt;/str&amp;gt;&#xA;    &amp;lt;/lst&amp;gt;&#xA;    &amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;        &amp;lt;str name=&quot;name&quot;&amp;gt;infixSuggester&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;lookupImpl&quot;&amp;gt;AnalyzingInfixLookupFactory&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;indexPath&quot;&amp;gt;infix_suggestions&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;dictionaryImpl&quot;&amp;gt;DocumentDictionaryFactory&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;field&quot;&amp;gt;_content&amp;lt;/str&amp;gt;&#xA;        &amp;lt;!--&amp;lt;str name=&quot;weightField&quot;&amp;gt;weight&amp;lt;/str&amp;gt;--&amp;gt;&#xA;        &amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;suggestType&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;buildOnStartup&quot;&amp;gt;false&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;buildOnCommit&quot;&amp;gt;false&amp;lt;/str&amp;gt;&#xA;    &amp;lt;/lst&amp;gt;&#xA;  &amp;lt;/searchComponent&amp;gt;&#xA;&#xA;&amp;lt;requestHandler name=&quot;/suggest&quot; class=&quot;solr.SearchHandler&quot; startup=&quot;lazy&quot; &amp;gt;&#xA;      &amp;lt;lst name=&quot;defaults&quot;&amp;gt;&#xA;          &amp;lt;str name=&quot;suggest&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;          &amp;lt;str name=&quot;suggest.dictionary&quot;&amp;gt;infixSuggester&amp;lt;/str&amp;gt;&#xA;          &amp;lt;str name=&quot;suggest.dictionary&quot;&amp;gt;fuzzySuggester&amp;lt;/str&amp;gt;&#xA;          &amp;lt;str name=&quot;suggest.onlyMorePopular&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;          &amp;lt;str name=&quot;suggest.count&quot;&amp;gt;10&amp;lt;/str&amp;gt;&#xA;          &amp;lt;str name=&quot;suggest.collate&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;      &amp;lt;/lst&amp;gt;&#xA;      &amp;lt;arr name=&quot;components&quot;&amp;gt;&#xA;          &amp;lt;str&amp;gt;suggest&amp;lt;/str&amp;gt;&#xA;      &amp;lt;/arr&amp;gt;&#xA;  &amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My Managed schema:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldtype name=&quot;suggestType&quot; class=&quot;solr.TextField&quot; positionIncrementGap=&quot;100&quot;&amp;gt;&#xA;     &amp;lt;analyzer&amp;gt;&#xA;            &amp;lt;charFilter class=&quot;solr.PatternReplaceCharFilterFactory&quot; pattern=&quot;[^a-zA-Z0-9]&quot; replacement=&quot; &quot; /&amp;gt;&#xA;            &amp;lt;tokenizer class=&quot;solr.WhitespaceTokenizerFactory&quot;/&amp;gt;&#xA;            &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&amp;gt;&#xA;        &amp;lt;/analyzer&amp;gt;&#xA;    &amp;lt;/fieldtype&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="73" LastEditDate="2019-06-05T08:01:15.510" LastActivityDate="2019-06-12T16:15:30.503" Title="Solr suggester not returning full name" Tags="|solr|upgrade|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19171" PostTypeId="2" ParentId="19138" CreationDate="2019-06-05T01:48:31.310" Score="2" Body="&lt;p&gt;Since you have tried all the options, the only way to disable optimization of styles and css is to navigate to &lt;code&gt;\App_Config\Modules\SXA\Foundation\Sitecore.XA.Foundation.Theming.config&lt;/code&gt; and modify the following value to &lt;code&gt;true&lt;/code&gt; and that will let you enable and disable asset optimization switch &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;XA.Foundation.Theming.AssetsOptimizationSwitch.Enabled&quot; Value=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note, that this switch is only available in SXA version used in Sitecore Commerce 9 Update-3. It is not available in previous versions of Sitecore Commerce.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="2577" LastEditDate="2019-06-06T12:34:42.200" LastActivityDate="2019-06-06T12:34:42.200" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19172" PostTypeId="1" CreationDate="2019-06-05T03:20:40.707" Score="1" ViewCount="646" Body="&lt;p&gt;I know there is a similar &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10361/export-of-of-script-results-to-excel-not-working&quot;&gt;question&lt;/a&gt; before but it has different error than mine. In my &lt;code&gt;ListView&lt;/code&gt; result, when I try to click any of the export buttons, nothing happens. Upon checking the SPE logs, this is what I got:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   ManagedPoolThread #4 03:41:36 ERROR 'InsufficientSecurityRights' (Category: PermissionDenied) error encountered on object.&#xA;Exception: System.FormatException &#xA;Message: Handle Download Service is disabled or user is not authorized.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I checked my &lt;code&gt;Cognified.PowerShell.config&lt;/code&gt;, and &lt;code&gt;&amp;lt;handleDownload&amp;gt;&lt;/code&gt; is already enabled and allowed all permissions. I wonder if any of you encountered the same issue?&lt;/p&gt;&#xA;" OwnerUserId="1217" LastEditorUserId="5387" LastEditDate="2019-06-05T05:26:17.027" LastActivityDate="2019-07-19T07:02:25.257" Title="Export buttons in Show-ListView is not working" Tags="|powershell-extensions|powershell|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19175" PostTypeId="1" AcceptedAnswerId="19213" CreationDate="2019-06-05T07:04:14.157" Score="2" ViewCount="74" Body="&lt;p&gt;I switched my SXA Storefront &amp;amp; Habitat Home based site to live mode by setting the database to &lt;code&gt;master&lt;/code&gt; in &lt;code&gt;/sitecore/content/Tenant/Site/Settings/Site Grouping/Site&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was expecting the site to use the &lt;code&gt;master&lt;/code&gt; Solr cores as well, but noticed that the &lt;code&gt;web&lt;/code&gt; Solr cores are still used. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did I miss a setting?&#xA;Why aren't the Solr cores switched?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-06-07T08:35:02.277" LastActivityDate="2019-06-07T09:05:10.480" Title="Solr cores are not switched when putting SXA 1.7 in live-mode" Tags="|sxa|sxa-storefront|habitathome|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="19177" PostTypeId="1" AcceptedAnswerId="19180" CreationDate="2019-06-05T07:42:06.003" Score="9" ViewCount="1432" Body="&lt;p&gt;While building solutions bases on Sitecore I have to deal also with Sitecore hotfixes. For my current project I already have about 20 different hotfixes. They override default Sitecore files in most cases assemblies and Sitecore configs. I am looking for ways or even best practices how to manage those hotfixes within a solution as well as how to deliver them to a test or production environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently I keep the files from hotfixes together with my solution. They all are committed to the same code repository. I created a dummy Visual Studio project and added all the files from the hotfixes there. When the dummy project is built together with the solution the hotfix files are copied to output folder and added to a deployment package.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I miss in this approach it is first of all transparency. I would like to understand why I have each hotfix, what it consists of and how it can quickly be uninstalled without digging too much in Sitecore tickets and knowledge base.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are you doing with your Sitecore hotfixes? How are they connected to your solutions and CI/CD pipeline?&lt;/p&gt;&#xA;" OwnerUserId="5610" LastActivityDate="2023-06-19T03:51:00.403" Title="How to manage Sitecore Hotfixes" Tags="|best-practices|deployment|support|" AnswerCount="5" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19178" PostTypeId="2" ParentId="19177" CreationDate="2019-06-05T07:52:45.383" Score="2" Body="&lt;p&gt;We are creating one project per each hotfix. We unzip hotfix and put everything into C# project. We create README file (which is not deployed) so we know what each hotfix is used for. We keep also reference numbers and ticket numbers there so we can easily identify them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During upgrades these projects are checked / validated if are included or not in current version which we are upgrading to and then removed if not necessary anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have recently created a separate repository for hotfixes with same structure as defined above. We are therefore deploying hotfixes only once or as needed to each environment as we have a special pipeline step in DevOps to either deploy or not this repository.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-06-05T07:52:45.383" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19179" PostTypeId="1" CreationDate="2019-06-05T09:32:19.900" Score="1" ViewCount="397" Body="&lt;p&gt;I have a structure where directly below the /home node I wish to have all the stores. Each store should have information like opening hours and address. This data was created as a component. This leads me to the following graphQuery: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query pages($path: String!) {&#xA;  item(path: $path) {&#xA;     name&#xA;    path&#xA;    field(name: &quot;Hide In Menu&quot;) {&#xA;      value&#xA;    }&#xA;    #template is &quot;Page Components&quot;&#xA;    children(includeTemplateIDs: &quot;A87A00B1E6DB45AB8B54636FEC3B5523&quot;) {&#xA;      #template is &quot;Store&quot;&#xA;      children(includeTemplateIDs: &quot;D036D24FFB0757B59FC174C95E0E8A05&quot;) {&#xA;        heading: field(name: &quot;heading&quot;) {&#xA;          value&#xA;        }&#xA;        address: field(name: &quot;address&quot;) {&#xA;          value&#xA;        }&#xA;        open: field(name: &quot;open&quot;) {&#xA;          value&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the JS side of things I don't want to access the data in this way so I flatten the structure: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;try {&#xA;    let b = {&#xA;        name: item.name,&#xA;        path: item.path,&#xA;        heading: item.children[0].children[0].heading.value,&#xA;        address: item.children[0].children[0].address.value,&#xA;        open: item.children[0].children[0].open.value,&#xA;    }&#xA;    store.set(StoreMap.BUTIKK.DATA, b);&#xA;} catch{&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this the best way to do this? Are there any pitfalls I should be aware of by doing this? &lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="73" LastEditDate="2019-06-05T10:00:13.163" LastActivityDate="2019-06-05T10:00:13.163" Title="What is the best way to flatten structure" Tags="|jss|graphql|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19180" PostTypeId="2" ParentId="19177" CreationDate="2019-06-05T09:57:06.230" Score="6" Body="&lt;p&gt;In our project we try to create NuGet packages from them where possible and add them to our own internal feed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When it replaces an existing Sitecore DLL (for example we've had a hotfixed Sitecore.Kernel.dll) we just use the package from our local feed in every project that requires it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case the hotfix adds a separate DLL with a config file to patch it in, we add it to the most relevant module in our Helix solution. &lt;/p&gt;&#xA;" OwnerUserId="2420" LastActivityDate="2019-06-05T09:57:06.230" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19181" PostTypeId="1" AcceptedAnswerId="19182" CreationDate="2019-06-05T11:10:22.063" Score="3" ViewCount="989" Body="&lt;p&gt;I am using SXA 1.8 with my Sitecore 9.1 instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a tenant and 2 sites Site A and Site B underneath it. For Site A, I have configured the sitemap settings in &lt;strong&gt;Search Engine Sitemap&lt;/strong&gt; section using Sitemap Mode &quot;&lt;strong&gt;Store in File&lt;/strong&gt;&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After saving and publishing, I see that my sitemap gets generated. However, I am unable to find the physical location of this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any idea about this?&lt;/p&gt;&#xA;" OwnerUserId="5611" LastActivityDate="2019-06-05T11:34:15.617" Title="Where does SXA store the physical files &quot;sitemap.xml&quot; and &quot;robots.txt&quot;?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19182" PostTypeId="2" ParentId="19181" CreationDate="2019-06-05T11:20:28.387" Score="0" Body="&lt;p&gt;It's generated in &lt;code&gt;TempFolder&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default it's just &lt;code&gt;&quot;/temp&quot;&lt;/code&gt; folder inside your web application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this can be overriden with &lt;code&gt;TempFolder&lt;/code&gt; setting, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;TempFolder&quot; value=&quot;/some-other-temp-folder&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitemap file name is &lt;code&gt;sitemap-NAME_OF_THE_SITE.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As far as I know, SXA &lt;code&gt;robots.txt&lt;/code&gt; content is never stored in a file.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="70" LastEditDate="2019-06-05T11:34:15.617" LastActivityDate="2019-06-05T11:34:15.617" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="19183" PostTypeId="1" CreationDate="2019-06-05T13:11:27.277" Score="0" ViewCount="278" Body="&lt;p&gt;I am using SXA 1.8, as Administrator adding a default Page (using the &lt;code&gt;MVCLayout&lt;/code&gt;) and switch to the Experience Editor. When the EE loads it shortly shows editable sections, but once completed loaded the editable section disappears.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The edit button in the ribbon is greyed-out as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Content Editor I can add a Rendering (e.g. Title) without problems.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Screen when loading Experience Editor:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZtA4b.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZtA4b.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Screen when loading is completed:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Lxf8a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Lxf8a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions what may cause this?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-11-03T09:01:40.523" Title="Editable sections disappear Experience Editor" Tags="|sxa|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19184" PostTypeId="1" AcceptedAnswerId="19203" CreationDate="2019-06-05T14:15:01.520" Score="0" ViewCount="515" Body="&lt;p&gt;I know that I can configure my &lt;code&gt;custom crawler (FlatDataCrawler)&lt;/code&gt; with manual strategy, and then I can start Rebuilding manually.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But how can I configure my crawler to start Refreshing every specific interval - let's say, every 5 minutes? But without removing all indexed items on start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Goal:&lt;/strong&gt; I want to index a huge database and I do not want the index to be cleaned, but only refreshed.  Unfortunately, the rebuild always deletes everything first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My current solution:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Instance of FlatDataCrawler&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Manual strategy &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Task, which runs Refresh every 5 minutes.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Ja it possible to do it without my custom Task?&lt;/p&gt;&#xA;" OwnerUserId="5569" LastEditorUserId="5387" LastEditDate="2019-06-06T14:58:53.180" LastActivityDate="2019-06-06T19:16:55.217" Title="Refreshing custom index without rebuild" Tags="|content-search|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19186" PostTypeId="1" AcceptedAnswerId="19187" CreationDate="2019-06-05T14:57:57.970" Score="0" ViewCount="154" Body="&lt;p&gt;we are currently using Sitecore 9.0.2 with SXA 1.8.1 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to limit the Auto-complete on the Location finder to a particular country or city?&lt;/p&gt;&#xA;" OwnerUserId="3355" LastActivityDate="2019-06-05T15:33:49.273" Title="Sitecore SXA Location search Limit results by Country" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19187" PostTypeId="2" ParentId="19186" CreationDate="2019-06-05T15:33:49.273" Score="6" Body="&lt;p&gt;For a project I worked on we created a custom Maps Connector theme. We copied the script provided OOTB with SXA, renamed it, then made some changes to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example of how we changed it so the country was included:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-javascript prettyprint-override&quot;&gt;&lt;code&gt;autocomplete.getPlacePredictions({&#xA;    input: queryParams.text,&#xA;    'componentRestrictions': {&#xA;        'country': 'us'&#xA;    },&#xA;    'types': ['geocode']&#xA;}, function(results) {&#xA;    var predictions = [],&#xA;        length;&#xA;    if (results != null &amp;amp;&amp;amp; results.length) {&#xA;        length = results.length &amp;gt;= maxResults ? maxResults : results.length;&#xA;&#xA;        for (var i = 0; i &amp;lt; length; i++) {&#xA;            predictions.push(_.extend(results[i], {&#xA;                text: results[i].description&#xA;            }));&#xA;        }&#xA;&#xA;        console.log(&quot;Adding predictions to storage.&quot;);&#xA;        sessionStorage.setItem(key, JSON.stringify(predictions));&#xA;        successCallback(predictions);&#xA;    } else {&#xA;        failCallback();&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-06-05T15:33:49.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19188" PostTypeId="2" ParentId="18601" CreationDate="2019-06-05T17:12:36.150" Score="7" Body="&lt;p&gt;This error happens when you run &lt;code&gt;jss start:connected&lt;/code&gt; and it opens a tab in the same browser that you've used to log into the Sitecore instance. If you open a new incognito browser and go to &lt;a href=&quot;http://localhost:3000/&quot; rel=&quot;noreferrer&quot;&gt;http://localhost:3000/&lt;/a&gt; then you connected app should open fine, with images, and without errors.&lt;/p&gt;&#xA;" OwnerUserId="4949" LastActivityDate="2019-06-05T17:12:36.150" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19189" PostTypeId="1" AcceptedAnswerId="19191" CreationDate="2019-06-05T17:17:28.260" Score="1" ViewCount="241" Body="&lt;p&gt;Where is the order of languages in &lt;code&gt;Publish Item&lt;/code&gt; dialog defined? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;And what would be the way to amend it i.e. make it the same order as languages under &lt;code&gt;/sitecore/system/Languages&lt;/code&gt;? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Couldn't find anything about the topic online &lt;/p&gt;&#xA;" OwnerUserId="1034" LastEditorUserId="237" LastEditDate="2019-06-06T07:58:06.427" LastActivityDate="2019-06-06T07:58:06.427" Title="Sitecore publishing service dialog languages order" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19190" PostTypeId="1" CreationDate="2019-06-05T17:33:21.817" Score="0" ViewCount="192" Body="&lt;p&gt;I have installed Sitecore 9.1 XP scaled(XP1) topology using PowerShell script shared in installation guide. I have &lt;code&gt;sitecore.cm&lt;/code&gt;, &lt;code&gt;sitecore.cd&lt;/code&gt; and other app process installed (REP,PRC,etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i browse CD app(&lt;code&gt;sitecore91.cd&lt;/code&gt;) i see following error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception Details: System.InvalidOperationException: Could not find configuration node: contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; in &quot;CD&quot;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I renamed some of the config in &lt;code&gt;\App_Config\Sitecore&lt;/code&gt; like &lt;code&gt;marketing automation.XX.config&lt;/code&gt; to make CD work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Later I got &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&quot;Server Error in '/' Application.&#xA;Could not find configuration node: databases/database[@id='master']&quot;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My query: What are all the config files that has to be modified for smooth running of CD. I could see from config that its pointing to master DB. is there a patch to change all the default database to web in CD?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Appreciate any help.&lt;/p&gt;&#xA;" OwnerUserId="5123" LastEditorUserId="73" LastEditDate="2019-06-05T20:21:49.613" LastActivityDate="2019-06-06T03:25:05.517" Title="Need to know the configuration files to be modified in CD server" Tags="|configuration|site-configuration|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19191" PostTypeId="2" ParentId="19189" CreationDate="2019-06-05T17:47:53.897" Score="3" Body="&lt;h3&gt;tl/dr;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can't change the order without custom code.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The Why?&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;When the &lt;code&gt;Publish&lt;/code&gt; form builds the language list, it first calls:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;LanguageManager.GetLanguages(Context.ContentDatabase);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then orders then using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;languages.OrderBy(l =&amp;gt; l.GetDisplayName())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, &lt;code&gt;.GetDisplayName()&lt;/code&gt; does not get the display name of the item, but the display name of the &lt;code&gt;CultureInfo&lt;/code&gt; of the language code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;Gets the display name.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;cultureInfo&quot;&amp;gt;The culture info.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;The display name.&amp;lt;/returns&amp;gt;&#xA;public static string GetDisplayName(CultureInfo cultureInfo)&#xA;{&#xA;    Sitecore.Diagnostics.Assert.ArgumentNotNull((object) cultureInfo, nameof (cultureInfo));&#xA;    if ((cultureInfo.CultureTypes &amp;amp; CultureTypes.UserCustomCulture) != CultureTypes.UserCustomCulture)&#xA;        return cultureInfo.EnglishName + &quot; : &quot; + cultureInfo.NativeName;&#xA;    return &quot;{0} : {1}&quot;.FormatWith((object) cultureInfo.Name, (object) cultureInfo.NativeName);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the only way to change it would be to override the default &lt;code&gt;Publish&lt;/code&gt; dialog and create your own to order the languages differently.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-05T17:47:53.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19192" PostTypeId="2" ParentId="19169" CreationDate="2019-06-05T18:31:17.437" Score="2" Body="&lt;p&gt;You should put &lt;code&gt;featurevideo*&lt;/code&gt; in the placeholder key of the placeholder setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The placeholders in the rendering variant are dynamic, which explains the -1-1 addition to the key you provided in the variant. To capture those dynamic additions, you need to use wildcards in the placeholder key. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-06-05T18:31:17.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19193" PostTypeId="2" ParentId="19177" CreationDate="2019-06-05T20:08:12.777" Score="0" Body="&lt;p&gt;What we did in our older projects is edit the MSBuild process of the solution to also copy files from a directory into a build/deploy folder.&#xA;In this directory it is possible to have several levels of folders, so we had a SitecoreModules folder as base folder which contains multiple folders for each patch or module. In these subfolders there were the App_Config and bin folders and all the files.&#xA;This might help in getting a structure and some documentation for all the patches instead of combining them all in one VS project, but it might also be considered as a 'nasty' approach..&lt;/p&gt;&#xA;" OwnerUserId="2225" LastActivityDate="2019-06-05T20:08:12.777" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19195" PostTypeId="2" ParentId="19177" CreationDate="2019-06-05T20:14:51.490" Score="2" Body="&lt;p&gt;I have added a new layer to my Helix project called Infrastructure. This layer holds my CI scripts, SIF, PowerShell, DSC, etc.... Everything I need to build my devs and farms. In that layer I created a new Infrastructure.Patch project that I am adding all the hot fixes that the site needs. If need be I am excluding files from being deployed to certainly environments via the build configurations. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-06-05T20:14:51.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19199" PostTypeId="2" ParentId="10627" CreationDate="2019-06-06T06:55:08.843" Score="0" Body="&lt;p&gt;Did you consider restricting access to the specific roles who do not need access to optimization tab?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In you network monitor, if you see Optimization.SuggestedTests.Count - taking around 10 seconds. You can create separate roles and restrict read access to optimization tab. This significantly improves performance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more on optimization and what you're turning off in the following link.&#xA;&lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/experience-optimization.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/experience-optimization.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers&lt;/p&gt;&#xA;" OwnerUserId="1479" LastActivityDate="2019-06-06T06:55:08.843" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19200" PostTypeId="1" AcceptedAnswerId="19202" CreationDate="2019-06-06T07:24:34.447" Score="1" ViewCount="67" Body="&lt;p&gt;What is the purpose of &lt;code&gt;disabled.aspx&lt;/code&gt; page under &lt;code&gt;sitecore\service\xdb&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I open this page manually, it's displaying below information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In which case this page will be executed? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KayZ9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KayZ9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="2056" LastEditDate="2019-06-06T07:43:25.760" LastActivityDate="2019-06-06T08:55:29.453" Title="What is the purpose of disabled.aspx under sitecore\service\xdb?" Tags="|xdb|sitecore-client|sitecore-services-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19201" PostTypeId="2" ParentId="19183" CreationDate="2019-06-06T07:32:33.150" Score="1" Body="&lt;p&gt;Solved by removing &lt;code&gt;Preview.DefaultSite&lt;/code&gt; from:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;   &amp;lt;setting name=&quot;Preview.DefaultSite&quot;&amp;gt;&#xA;       &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;...&quot; /&amp;gt;&#xA;   &amp;lt;/setting&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;as mentioned in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10439/experience-editor-ribbon-sitename-error#comment22798_10445&quot;&gt;Experience Editor Ribbon &amp;#39;siteName&amp;#39; error&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-06-06T07:32:33.150" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19202" PostTypeId="2" ParentId="19200" CreationDate="2019-06-06T07:34:58.933" Score="3" Body="&lt;p&gt;This seems to be undocumented feature of Xdb.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I couldn't find any reference in the documentation when you should use this page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on what's written in comment in &lt;code&gt;App_Config\Sitecore\Marketing.xDB\Sitecore.Xdb.config&lt;/code&gt; for setting with name &lt;code&gt;XdbDisabledUrl&lt;/code&gt;, this page should be used when (obviously) Xdb is disabled. All applications that depend on the Xdb must redirect to this page when Xdb is disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I personally don't understand why would you redirect your visitors to this page to inform them that Xdb is disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could be that the intended use is for content editors to inform them that Xdb is disabled and that's why they cannot see any data in graphs / charts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is config entry that I mentioned above:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  XDB DISABLED PAGE HANDLER&#xA;The URL of the page that is displayed when the Xdb is disabled. &#xA;All applications that depend on the Xdb must redirect to this page when Xdb is disabled.&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;XdbDisabledUrl&quot; value=&quot;/sitecore/service/xdb/disabled.aspx&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2056" LastEditorUserId="112" LastEditDate="2019-06-06T08:55:29.453" LastActivityDate="2019-06-06T08:55:29.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19203" PostTypeId="2" ParentId="19184" CreationDate="2019-06-06T07:50:59.167" Score="1" Body="&lt;h1&gt;Refresh Strategy&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore does provide strategy &lt;code&gt;TimedIndexRefreshStrategy&lt;/code&gt; to refresh an index. It uses an interval based trigger. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.* it is used by the &lt;code&gt;sitecore_analytics_index&lt;/code&gt; index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9 does not use it at all and you won’t be able to find it in Sitecore config files. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the strategy matches you need, you can add it to your custom index, for example, in the following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;my_custom_index&quot; … &amp;gt;&#xA;   …&#xA;   &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;      &amp;lt;timed type=&quot;Sitecore.ContentSearch.Maintenance.Strategies.TimedIndexRefreshStrategy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;         &amp;lt;param desc=&quot;interval&quot;&amp;gt;00:05:00&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/timed&amp;gt;&#xA;   &amp;lt;/strategies&amp;gt;&#xA;   …&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However you should also remember that the refreshing approach has a major disadvantage. It is simply not able to track deleted items. Refreshing always goes though existing items. If an item was deleted from your data source, refreshing will never reach it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is why I suggest you following the &lt;code&gt;Switch On Rebuild&lt;/code&gt; solution&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h1&gt;Switch On Rebuild&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;By default Sitecore does delete content from an index when it is being rebuilt. During that time search requests do not return any data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nevertheless Sitecore provides a solution for this issue. Its main idea is to switch solr cores on rebuild.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/switch-solr-indexes.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Switch On Rebuild&lt;/a&gt; in Sitecore or &lt;a href=&quot;https://lucene.apache.org/solr/guide/6_6/coreadmin-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;SWAP&lt;/a&gt; in Solr are out of the box features. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You can set up Solr to rebuild an index in a separate core so that the rebuilding does not affect the search index that is currently used. Once the rebuilding and the optimization of the index completes, Sitecore switches the two cores, and the rebuilt and optimized index is used.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You have to duplicate solr cores and apply some configuration changes to enable it for your indexes. Follow &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/switch-solr-indexes.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this guide&lt;/a&gt; to archive it.&lt;/p&gt;&#xA;" OwnerUserId="5610" LastEditorUserId="5610" LastEditDate="2019-06-06T19:16:55.217" LastActivityDate="2019-06-06T19:16:55.217" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19204" PostTypeId="1" CreationDate="2019-06-06T08:06:17.870" Score="1" ViewCount="615" Body="&lt;p&gt;This error is little confusing for me. For populating sitemap we are using SXA. Same settings are working on CM server but not on CD server.&#xA;&lt;code&gt;Sitemap.xml&lt;/code&gt; show urls but hostname is missing from there. Here is snapshot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b7rsq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b7rsq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Url =&amp;gt; loc&lt;/code&gt; should have host name, but it does not show. It should be something like &lt;code&gt;https://example.com/searchresults&lt;/code&gt; but it misses the hostname.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both &lt;code&gt;CD&lt;/code&gt; and &lt;code&gt;CM&lt;/code&gt; are on Azure PaaS App service. &lt;/p&gt;&#xA;" OwnerUserId="4636" LastEditorUserId="73" LastEditDate="2019-06-06T09:13:29.157" LastActivityDate="2019-06-06T09:34:55.793" Title="Sitemap is not showing hostname on CD server" Tags="|sxa|sitemap|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19205" PostTypeId="2" ParentId="19204" CreationDate="2019-06-06T08:52:34.343" Score="2" Body="&lt;p&gt;From what I can see, &lt;code&gt;sitemap.xml&lt;/code&gt; host is generated in the following order:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If &lt;code&gt;targetHostName&lt;/code&gt; site property is not empty, it's used.&lt;/li&gt;&#xA;&lt;li&gt;If &lt;code&gt;hostName&lt;/code&gt; property doesn't contain wildcards (&lt;code&gt;*&lt;/code&gt;) or multiple hostnames (joined with &lt;code&gt;|&lt;/code&gt;), it's used.&lt;/li&gt;&#xA;&lt;li&gt;Otherwise request host name is used.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The only scenario which would generate blank host name is when both &lt;code&gt;targetHostName&lt;/code&gt; and &lt;code&gt;hostName&lt;/code&gt; are empty. Is that the case? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should really set &lt;code&gt;targetHostName&lt;/code&gt; to make sure all your urls for the site are generated with unique host name on your CD server.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-06-06T09:34:55.793" LastActivityDate="2019-06-06T09:34:55.793" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19206" PostTypeId="1" AcceptedAnswerId="19207" CreationDate="2019-06-06T09:38:47.613" Score="1" ViewCount="404" Body="&lt;p&gt;Has anyone tried it? What are the steps needed to create a custom variant field, and is it worth it to create a variant field for videos (or any custom variant fields in general)? &lt;/p&gt;&#xA;" OwnerUserId="2882" LastEditorUserId="73" LastEditDate="2019-06-06T09:47:53.580" LastActivityDate="2019-06-06T10:07:10.803" Title="Creating a Video variant field" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19207" PostTypeId="2" ParentId="19206" CreationDate="2019-06-06T10:07:10.803" Score="1" Body="&lt;p&gt;I can answer your first 2 questions, but whether it's worth it seems opinion based.. It can be if your requirements need it (and it's worth the effort).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So yes, I tried it. Blogged about it: &lt;a href=&quot;https://ggullentops.blogspot.com/2019/04/sitecore-sxa-custom-rendering-variant-translation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2019/04/sitecore-sxa-custom-rendering-variant-translation.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How (short version): &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Items:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a template to define the fields of the variant (check the ootb ones)&lt;/li&gt;&#xA;&lt;li&gt;To have your field available in the insert options when people create a variant definition, add it to the insert options (tip: use the rules engine)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You need a model that inherits from &lt;code&gt;Sitecore.XA.Foundation.RenderingVariants.Fields.RenderingVariantFieldBase&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Creating instances of this model is done by a processor that inherits from &lt;code&gt;Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.ParseVariantFields.ParseVariantFieldProcessor&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Next is the processor that renders the variant, inheriting from &lt;code&gt;Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.RenderVariantField.RenderRenderingVariantFieldProcessor&lt;/code&gt; and focusing on the &lt;code&gt;RenderField&lt;/code&gt; method&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the processors to the config:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;parseVariantFields&amp;gt;&#xA;      &amp;lt;processor type=&quot;Foundation.Dictionary.RenderingVariants.ParseDictionaryText, Foundation.Dictionary&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;/parseVariantFields&amp;gt;&#xA;    &amp;lt;renderVariantField&amp;gt;&#xA;      &amp;lt;processor type=&quot;Foundation.Dictionary.RenderingVariants.RenderDictionaryText, Foundation.Dictionary&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;/renderVariantField&amp;gt;&#xA;  &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-06-06T10:07:10.803" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19208" PostTypeId="1" AcceptedAnswerId="19451" CreationDate="2019-06-06T10:14:18.307" Score="0" ViewCount="258" Body="&lt;p&gt;I have a GraphQL to fill in my menu. When I use &lt;code&gt;jss start:connected&lt;/code&gt; it works just fine, but when I deploy (&lt;code&gt;jss deploy app&lt;/code&gt;) and get it from the server it's empty. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have been digging a bit into what's happening and it seems like the cache is not filled out correctly. In the source I get from the server the script tag &lt;code&gt;_jss_state__&lt;/code&gt; is filled out with: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;APOLLO_STATE&quot;:{&quot;ROOT_QUERY&quot;:{&quot;item({\&quot;path\&quot;:\&quot;\u002Fsitecore\u002Fcontent\u002Fxlbygg\u002Fhome\&quot;})&quot;:null,&quot;item({})&quot;:null}}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see the item for both paths are null. The item should have been filled out something like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[{&quot;data&quot;:{&quot;item&quot;:{&quot;name&quot;:&quot;home&quot;,&quot;displayName&quot;:&quot;home&quot;,&quot;pageTitle&quot;:{&quot;value&quot;:&quot;&quot;,&quot;__typename&quot;:&quot;TextField&quot;},&quot;__typename&quot;:&quot;AppRoute&quot;,&quot;children&quot;:[{&quot;name&quot;:&quot;generelt&quot;,&quot;id&quot;:&quot;C9184E8651DC5B8889978E60C856AEC3&quot;,&quot;hideInMenu&quot;:...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have now reset the cache in &lt;code&gt;GraphQlClientFactory.js&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;export default function (endpoint, ssr, initialCacheState) {&#xA;    initialCacheState = {&#xA;        ROOT_QUERY:&#xA;        {&#xA;&#xA;        }&#xA;    };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And at least the client gets data, but I thought the point of &lt;code&gt;SSR&lt;/code&gt; was to fill in this information on the server side? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get the &lt;code&gt;ROOT_QUERY&lt;/code&gt; populated correctly on the server side? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: &#xA;I have modified one of my queries to contain the content from query.graphql from the sample project and then it works. But if I switch out the content of the file with my own query, it stops working. Is this a bug or something I don't understand?&lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="3039" LastEditDate="2019-06-11T21:27:52.130" LastActivityDate="2019-06-18T09:39:50.370" Title="graphql is emtpy when using integrated mode" Tags="|jss|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19209" PostTypeId="1" CreationDate="2019-06-06T10:50:13.777" Score="0" ViewCount="636" Body="&lt;p&gt;We are currently working Sitecore 9.0.2 with SXA 1.8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a list of items(for example postcodes in London) inherits &lt;code&gt;IPOI&lt;/code&gt; template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Home &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;PW1 - Latitude = xxx , Longitude = xxx     &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;W1 - Latitude = xxx , Longitude = xxx&lt;/li&gt;&#xA;&lt;li&gt;EY1 - Latitude = xxx , Longitude = xxx&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have added an SXA location finder and search results components on my page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; I select London in the location finder I want search results to populate all the 3 items as they are in london , at the moment it displays Zero results , Can i achieve this functionality OOTB with SXA Search components , if not an approach on how to solve? it would be great. &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="5096" LastEditDate="2019-06-06T11:21:18.490" LastActivityDate="2019-06-06T12:38:19.897" Title="Sitecore SXA Search by Postcode or Location" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19211" PostTypeId="1" AcceptedAnswerId="19581" CreationDate="2019-06-06T12:33:52.520" Score="0" ViewCount="1031" Body="&lt;p&gt;I want to create an interactive dialog using &lt;code&gt;PowerShell script&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have multiple sites under the same &lt;code&gt;Tenant&lt;/code&gt; if I select any site node in field 1, then field 2 root node should be changed to that site's Data folder. Then the user can select any item under the Data folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scenario:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tenant A&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SiteA&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SiteA/Data/Form Folder&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;SiteB&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SiteB/Data/Form Folder&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If user select SiteA in the Field 1, then Field 2 should show SiteA/Data/Form Folder as its starting node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$dialog = Read-Variable -Parameters `&#xA;    @{ Name = &quot;language&quot;; Title = &quot;Select Language&quot;; Source=&quot;DataSource=/sitecore/system/languages&quot;; Editor=&quot;droplist&quot;},&#xA;    @{ Name = &quot;siteNode&quot;; Title = &quot;Select Site&quot;; Source=&quot;DataSource=/sitecore/content/Sitecore902&amp;amp;DatabaseName=master&amp;amp;IncludeTemplatesForDisplay=Site&quot;; editor=&quot;droplist&quot;} `&#xA;    -Description &quot;This module is used to import Data.&quot; `&#xA;    -Width 400 -Height 200 `&#xA;    -Title &quot;Import Utility&quot; `&#xA;    -OkButtonName &quot;Select&quot; `&#xA;    -CancelButtonName &quot;Cancel&quot;&#xA;&#xA;if ($dialog -ne &quot;ok&quot;) &#xA;{&#xA;    Exit&#xA;}&#xA;&#xA;$dialog1 = Read-Variable -Parameters `&#xA;    @{ Name = &quot;itemPath&quot;; Title = &quot;Select Location&quot;; Root=$siteNode.Paths.FullPath + &quot;/Data/POIs&quot;; Editor=&quot;item&quot;} `&#xA;    -Description &quot;This module is used to import Data.&quot; `&#xA;    -Width 400 -Height 200 `&#xA;    -Title &quot;Import Utility&quot; `&#xA;    -OkButtonName &quot;Import&quot; `&#xA;    -CancelButtonName &quot;Cancel&quot;&#xA;&#xA;if ($dialog1 -ne &quot;ok&quot;) &#xA;{&#xA;    Exit&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In here, I am using two &lt;code&gt;Read-Variable&lt;/code&gt;. As you can see the value of &lt;code&gt;siteNode&lt;/code&gt; is being used in &lt;code&gt;itemPath&lt;/code&gt;. I want all the selections in one dialog box, and the functionality should remain the same. Right now, if I add &lt;code&gt;itemPath&lt;/code&gt; to the &lt;code&gt;$dialog&lt;/code&gt;, it is not working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="3607" LastEditDate="2019-06-07T08:30:20.830" LastActivityDate="2019-06-25T14:09:42.097" Title="Create Interactive Dialog Box based on the User input using Sitecore Powershell" Tags="|sxa|powershell|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19212" PostTypeId="2" ParentId="19209" CreationDate="2019-06-06T12:38:19.897" Score="1" Body="&lt;p&gt;You are mixing things here a little bit. The Location Finder rendering is used to find a location. When you will put a &quot;&lt;em&gt;London&lt;/em&gt;&quot; there is will go to Google and ask for the location for &quot;&lt;em&gt;London&lt;/em&gt;&quot;. After that, it will update the hash with an additional &lt;code&gt;g&lt;/code&gt; parameter which will save that location. Later on, that location can be used to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;search within a radius of e.g. 10 kilometres from that point&lt;/li&gt;&#xA;&lt;li&gt;sort results by distance from that point&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So basically Location Finder translates the name of a location to geographical point (latitude and longitude).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you are asking is more like a Search Box functionality. You put a word, like a city name (in that case &quot;&lt;em&gt;London&lt;/em&gt;&quot;) and you want to see points in that point. If your POI items would have for example &lt;code&gt;Location&lt;/code&gt; text field, you can use Search Box to search for the content but that is not what you are aiming for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The functionality which you are asking for - as far as I'm understanding it correctly - is not available out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would need to implement custom logic which will:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Translate name of the city to a polygon - get the city boundaries&lt;/li&gt;&#xA;&lt;li&gt;Check if any of your items are inside of those boundaries&lt;/li&gt;&#xA;&lt;li&gt;Display only those items&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That is not a trivial task but achievable!&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-06-06T12:38:19.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19213" PostTypeId="2" ParentId="19175" CreationDate="2019-06-06T14:20:03.410" Score="0" Body="&lt;p&gt;Turns out that Solr cores are not properly switched using SXA 1.7. Upgrading SXA to 1.8.1 solves the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Workaround, when upgrading to SXA 1.8.1 is not an option, could be to fix the &lt;code&gt;IndexResolver&lt;/code&gt; which causes the problem.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-06-07T09:05:10.480" LastActivityDate="2019-06-07T09:05:10.480" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19215" PostTypeId="2" ParentId="16344" CreationDate="2019-06-06T15:03:50.720" Score="2" Body="&lt;p&gt;I also had this same problem. The trickiest part is figuring out which application is having the problem because the only information you get in Application Insights is xConnect for the application name.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PKZP4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PKZP4.png&quot; alt=&quot;Application Insights Exception&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It took me some time to figure out which role was having the problem, especially because Sitecore in Azure PaaS is somewhat new to me. Once I figured out the specific role that was having the problem (xConnect Search [Index Worker Web Job ]), it was much easier to troubleshoot. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;At first, I thought it was a connectivity issue between the Azure AppService and the VM that was running Solr.  Then I thought it was an issue with the SSL certificate that we were using.  It wasn't until I found this &lt;a href=&quot;https://kb.sitecore.net/articles/222499&quot; rel=&quot;nofollow noreferrer&quot;&gt;KB article&lt;/a&gt; from Sitecore that I understood that the self-signed certificate was not trusted by the index worker.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The solution involved multiple steps:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Find the thumbprint of the SSL certificate that you are using for Solr.&lt;/li&gt;&#xA;&lt;li&gt;This should already be installed in the SSL Settings of the *-xc-search App Service.  It might be private, but a public key is really all you need.&lt;/li&gt;&#xA;&lt;li&gt;Once you have the thumbprint, you have to add that string to a config file within the Index worker&lt;/li&gt;&#xA;&lt;li&gt;Open up your trusty Kudu console for the xConnect Search role and browse to: &lt;code&gt;site\wwwroot\App_Data\jobs\continuous\IndexWorker\App_data\config\sitecore\CollectionSearch&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Edit the sc.Xdb.Collection.WebClient.SOLR.xml file&#xA;Under&lt;/li&gt;&#xA;&lt;li&gt;Look for the &lt;code&gt;Settings/Sitecore/XConnect/CollectionSearch/Services/ISolrWebClientFactory/Options/AcceptCertificates&lt;/code&gt; element&lt;/li&gt;&#xA;&lt;li&gt;If this element is empty, open it i.e. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;AcceptCertificates&amp;gt;&amp;lt;/AcceptCertificates&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;8&quot;&gt;&#xA;&lt;li&gt;Inside that element, add another element named &lt;code&gt;&amp;lt;thumbprint1&amp;gt;&lt;/code&gt; and paste your thumbprint inside.&lt;/li&gt;&#xA;&lt;li&gt;The thumbprint1 element should look like this: &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;AcceptCertificates&amp;gt;&#xA;   &amp;lt;thumbprint1&amp;gt;your certificate thumbprint&amp;lt;/thumbprint1&amp;gt;&#xA;&amp;lt;/AcceptCertificates&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;10&quot;&gt;&#xA;&lt;li&gt;Save your changes.&lt;/li&gt;&#xA;&lt;li&gt;Restart the IndexWorker web job&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SIDE NOTE:&lt;/strong&gt; If you need to add multiple thumbprints, you can add additional elements by incrementing the thumbprint count i.e. &lt;code&gt;&amp;lt;thumbprint2&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;thumbprint3&amp;gt;&lt;/code&gt;, etc.&lt;/p&gt;&#xA;" OwnerUserId="3053" LastEditorUserId="5387" LastEditDate="2019-06-06T17:57:15.447" LastActivityDate="2019-06-06T17:57:15.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19216" PostTypeId="1" CreationDate="2019-06-06T17:16:55.650" Score="3" ViewCount="307" Body="&lt;p&gt;A client is using another form solution, so we do not want to use &lt;code&gt;Sitecore Forms&lt;/code&gt;. Previously, we would have just not installed &lt;code&gt;WFFM&lt;/code&gt; on their solution, but in Sitecore 9, &lt;code&gt;Sitecore Forms&lt;/code&gt; is built-in. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to disable it entirely?&lt;/p&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="5096" LastEditDate="2019-06-07T07:11:50.487" LastActivityDate="2019-06-07T07:11:50.487" Title="Disable Sitecore Forms" Tags="|wffm|sitecore-forms|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19217" PostTypeId="2" ParentId="19216" CreationDate="2019-06-06T17:46:36.050" Score="0" Body="&lt;p&gt;Looks like Forms does not have a setting like EXM : &lt;code&gt;&amp;lt;add key=&quot;exmEnabled:define&quot; value=&quot;yes&quot;/&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The easiest way to not show Forms database is to delete the item:     &lt;strong&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons/Marketing/Forms&lt;/strong&gt; from the &lt;strong&gt;core&lt;/strong&gt; Database. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-06-06T17:46:36.050" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19218" PostTypeId="1" CreationDate="2019-06-06T19:35:49.073" Score="1" ViewCount="138" Body="&lt;p&gt;I'm having an issue keeping the value of the &lt;code&gt;fallback language field&lt;/code&gt; after creating a version of the current language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;To recreate the issue:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open a Dictionary Item that has a language fallback (es)&lt;/li&gt;&#xA;&lt;li&gt;Select a new language (es-ar), noticed that Key[Shared] and Phrase[Unversioned] fields have the corresponding Spanish fallback values.&lt;/li&gt;&#xA;&lt;li&gt;Click &quot;Add a new version&quot; &lt;/li&gt;&#xA;&lt;li&gt;When the new version is added, the Phrase field lost its Spanish value.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/8PDZf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8PDZf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Is this an OOB behavior? If not, what may have been causing this behavior?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3169" LastEditorUserId="5387" LastEditDate="2019-06-07T04:35:13.983" LastActivityDate="2019-06-07T10:09:11.637" Title="Field level fallback value is lost when new version of a dictionary item is added" Tags="|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19219" PostTypeId="1" AcceptedAnswerId="19223" CreationDate="2019-06-06T19:55:31.997" Score="0" ViewCount="461" Body="&lt;p&gt;Basically, that's the first time I'm playing with external identity providers in a federated authentication setup (Sitecore 9.1).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can't say why but &lt;strong&gt;even after configuring everything&lt;/strong&gt; I need following &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/understanding-sitecore-authentication-behavior-changes.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this document&lt;/a&gt; from Sitecore I still can't see an extra button on this page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could I be missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9vgON.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9vgON.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="73" LastEditDate="2019-06-06T20:40:47.810" LastActivityDate="2019-06-07T02:05:36.133" Title="Can't see the extra login buttons for external identity providers" Tags="|authentication|federated-authentication|login|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19220" PostTypeId="2" ParentId="19216" CreationDate="2019-06-06T20:14:16.740" Score="1" Body="&lt;p&gt;Non admin users without the sitecore\Forms Editor role should not see the Forms Editor button and do not have write access to sitecore/forms tree&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is about this rights.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item Rights set on sitecore\Forms Editor on core Database&#xA;/sitecore/client/Applications/FormsBuilder  Read right for items.   item:read   AllowAccess,    Entity&#xA;/sitecore/client/Applications/FormsBuilder  Read right for items.   item:read   AllowAccess,    Descendants&#xA;/sitecore/client/Applications/Launchpad/PageSettings/Buttons/Marketing/Forms    Read right for items.   item:read   AllowAccess, Entity&#xA;&#xA;Item Rights set on sitecore\Forms Editor on master Database&#xA;/sitecore/Forms Read right for items.   item:read   AllowAccess, Entity&#xA;/sitecore/Forms Create right for items. item:create AllowAccess, Entity&#xA;/sitecore/Forms Rename right for items. item:rename AllowAccess, Descendants&#xA;/sitecore/Forms Create right for items. item:create AllowAccess, Descendants&#xA;/sitecore/Forms Delete right for items. item:delete AllowAccess, Descendants&#xA;/sitecore/Forms Read right for items.   item:read   AllowAccess, Descendants&#xA;/sitecore/Forms Write right for items.  item:write  AllowAccess, Descendants&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can solve this with the correct rights, don't give sitecore\Forms Editor right, and if this is a issue for Admin users, the should know what they do. Than you can adjust this rights.&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-06-06T20:14:16.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19223" PostTypeId="2" ParentId="19219" CreationDate="2019-06-07T02:05:36.133" Score="0" Body="&lt;p&gt;Sitecore Federated Authentication provides a new login page endpoint that allows Sitecore to redirect users directly to an external identity provider login page (without showing the login page in Sitecore) and then wait until the user clicks on the corresponding button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you try to access the /sitecore/login page when SI is enabled, you are redirected to the login page specified for the shell site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stop identity server website and then refresh this page, you will see two login buttons.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-07T02:05:36.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19226" PostTypeId="1" CreationDate="2019-06-07T05:08:20.440" Score="0" ViewCount="465" Body="&lt;p&gt;We do not want certain request to be tracked for analytics data say for example &lt;code&gt;API&lt;/code&gt; calls. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How we can achieve this using Sitecore &lt;code&gt;config&lt;/code&gt; change?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.2 update 3.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-06-07T11:08:01.937" LastActivityDate="2019-06-07T11:08:01.937" Title="How to disabled analytics tracking for specific type requests?" Tags="|experience-analytics|tracking|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19227" PostTypeId="2" ParentId="19226" CreationDate="2019-06-07T05:12:51.510" Score="2" Body="&lt;p&gt;The &lt;code&gt;Sitecore.config&lt;/code&gt; file has a node called &lt;code&gt;tracking/untrackedPages&lt;/code&gt;. Sitecore does not track files that are listed in this node. By default, these files are not tracked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We can add entry to avoid tracing for &lt;code&gt;API&lt;/code&gt;-calls setting path attribute &lt;code&gt;/api/*&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See below config setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;tracking&amp;gt;&#xA;    &amp;lt;untrackedPages&amp;gt;&#xA;      &amp;lt;add path=&quot;/api/*&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/default.aspx&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/service/error.aspx&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/service/Heartbeat.aspx&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/service/keepalive.aspx&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;/sitecore/service/nolicense.aspx&quot; /&amp;gt;&#xA;    &amp;lt;/untrackedPages&amp;gt;&#xA;  &amp;lt;/tracking&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Files are referenced by their relative URLs. There is also a &lt;code&gt;tracking/untrackedPages&lt;/code&gt; node in the &lt;code&gt;App_Config\Include\ Sitecore.Analytics.Tracking.config&lt;/code&gt; file. Sitecore merges the nodes when it read the config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;&lt;em&gt;recommended&lt;/em&gt;&lt;/strong&gt; way to add files is using patch files instead of editing the config files directly. This file describes the include file patch process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can access the list of pages that are untracked in code by using the &lt;code&gt;UntrackedPages&lt;/code&gt; property of the &lt;code&gt;Sitecore.Analytics.Configuration.AnalyticsSettings&lt;/code&gt; class.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-06-07T05:20:03.333" LastActivityDate="2019-06-07T05:20:03.333" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19228" PostTypeId="1" CreationDate="2019-06-07T06:09:08.893" Score="2" ViewCount="1425" Body="&lt;p&gt;I designed one contact form in my website and given 1) &lt;code&gt;Send Email&lt;/code&gt; and 2) &lt;code&gt;Redirect to page&lt;/code&gt; submit actions to submit button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Form is working in all the browsers except Safari. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I submitted form in Safari browser &lt;code&gt;Redirect to page&lt;/code&gt; submit action is not working.&lt;/p&gt;&#xA;" OwnerUserId="5623" LastEditorUserId="2056" LastEditDate="2019-06-07T06:58:54.860" LastActivityDate="2019-08-15T23:55:34.677" Title="Redirect to page submit action not working in Safari browser" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="19229" PostTypeId="1" CreationDate="2019-06-07T08:18:45.270" Score="0" ViewCount="805" Body="&lt;p&gt;I am using Sitecore 9.0 and SXA 1.8 and scaffolded a new tenant and site named &lt;code&gt;New Tenant&lt;/code&gt; and &lt;code&gt;New Site&lt;/code&gt;. When executing the following query using SPE I get not results:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item -Path master:// -Query &quot;/sitecore/content/New tenant/New site//*&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried to use &lt;code&gt;#&lt;/code&gt; characters to escape the space, but with no luck:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item -Path master:// -Query &quot;fast:/sitecore/content/#New tenant#/#New site#//*&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Rebuilding the link database does not help either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I remove the spaces from the items and the query it (immediately) works:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item -Path master:// -Query &quot;/sitecore/content/tenant/*&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How to query in SPE for items that contain spaces?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-06-07T08:18:45.270" Title="Problems with spaces in SPE Sitecore queries" Tags="|powershell-extensions|sitecore-query|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19230" PostTypeId="2" ParentId="15423" CreationDate="2019-06-07T08:38:06.747" Score="2" Body="&lt;p&gt;Sitecore Commerce uses own &lt;code&gt;Commerce Link Manager&lt;/code&gt; for Commerce links.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;commerce&quot; includeFriendlyName=&quot;true&quot; useShopLinks=&quot;true&quot; includeCatalog=&quot;false&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;never&quot; languageLocation=&quot;filePath&quot; lowercaseUrls=&quot;false&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot; type=&quot;Sitecore.Commerce.XA.Foundation.Catalog.Pipelines.CatalogLinkProvider, Sitecore.Commerce.XA.Foundation.Catalog&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can play around with parameters and choose more friendly URLs configuration.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;An important note about the provider configuration properties is that&#xA;  only 3 properties actually affect the generated URLs –&#xA;  includeFriendlyName, useShopLinks, and encodeNames.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Configuration Properties:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;includeFriendlyName: Includes the DisplayName of the category or&#xA;product in the URL segment. i.e. {category DisplayName}={category&#xA;FriendlyId} and {product DisplayName}={ProductId/FriendlyId}.&lt;/li&gt;&#xA;&lt;li&gt;useShopLinks: Constructs URL with shop/{category}/{product} if&#xA;enabled, otherwise as category/{category} and product/{product} for&#xA;category and product URLs respectively. &lt;/li&gt;&#xA;&lt;li&gt;includeCatalog: Not currently supported &lt;/li&gt;&#xA;&lt;li&gt;addAspxExtension: N/A &lt;/li&gt;&#xA;&lt;li&gt;alwaysIncludeServerUrl: N/A&lt;/li&gt;&#xA;&lt;li&gt;encodeNames: Encodes the DisplayName portion of the category and&#xA;product segments. Only supported when useShopLinks is true.&lt;/li&gt;&#xA;&lt;li&gt;languageEmbedding: N/A &lt;/li&gt;&#xA;&lt;li&gt;languageLocation: N/A &lt;/li&gt;&#xA;&lt;li&gt;lowercaseUrls: Not currently supported &lt;/li&gt;&#xA;&lt;li&gt;shortenUrls: Not currently supported&lt;/li&gt;&#xA;&lt;li&gt;useDisplayName: Not currently supported&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For more details, I recommend Andrew  Sutherland's blog post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://andrewsutherland.azurewebsites.net/2018/12/17/configuring-and-customising-seo-friendly-urls-in-sitecore-commerce-sxa-storefront/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://andrewsutherland.azurewebsites.net/2018/12/17/configuring-and-customising-seo-friendly-urls-in-sitecore-commerce-sxa-storefront/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2056" LastEditDate="2019-06-07T13:29:31.480" LastActivityDate="2019-06-07T13:29:31.480" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19231" PostTypeId="2" ParentId="19218" CreationDate="2019-06-07T10:09:11.637" Score="2" Body="&lt;p&gt;It seems to be the correct behavior, language fallback is only applicable when you don't have any version for that language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore's &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/enable-and-set-up-language-fallback.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;doc&lt;/a&gt; wording&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;you specify the fallback language that determines which language version of an item or field that you want displayed when there is no version available in the current language.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you want the item version &quot;es-ar&quot; to use the same values as &quot;es&quot;, simply don't create a version for &quot;es-ar&quot;. (Assuming that you have set &quot;es&quot; as the fallback language for &quot;es-ar&quot;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want newly created items to have certain default values, use the Sitecore &lt;a href=&quot;https://www.geekhive.com/buzz/post/2015/01/how-to-manage-default-field-values-in-sitecore-cms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;standard values&lt;/a&gt; to define it.&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-06-07T10:09:11.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19232" PostTypeId="1" CreationDate="2019-06-07T10:11:54.977" Score="3" ViewCount="569" Body="&lt;p&gt;I am trying to integrate Sitecore 9.1 and &lt;code&gt;auth0&lt;/code&gt; platform. I was following this tutorial for Sitecore 9.0 - &lt;a href=&quot;https://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I managed to get &lt;code&gt;auth0&lt;/code&gt; login screen but I am getting this error message after login: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error: An error occured.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Jjfgt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jjfgt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked &lt;code&gt;Owin.log&lt;/code&gt; file but it is empty, and I checked my &lt;code&gt;auth0&lt;/code&gt; account and it says that I successfully logged in but I am still getting the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/n3374.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/n3374.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anybody have any suggestion?&lt;/p&gt;&#xA;" OwnerUserId="3570" LastEditorUserId="5096" LastEditDate="2019-06-07T10:43:46.293" LastActivityDate="2019-11-08T17:21:14.837" Title="Sitecore 9.1 and auth0 integration" Tags="|federated-authentication|identity-server|owin|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19233" PostTypeId="1" AcceptedAnswerId="19236" CreationDate="2019-06-07T10:18:05.673" Score="3" ViewCount="453" Body="&lt;p&gt;In our Sitecore instance we have a number of different languages, and we have enabled item level language fallback. We have enabled item level fallback on all of our page templates, and this works as intended.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is that if a German version of a page not exists, we are correctly shown the English version of the page, but all of the components on the page are still using the German version of their datasources, which might not be defined.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As such, we would like to also enable item level language fallback on all datasources, preferably through templates and standard values such that we don't need to do it manually all the time. This is easily done for our own custom components through their datasource templates, but the issue is how to do it for ootb SXA components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I understand it, making changes to SXA templates is not only bad practice, the changes will also be overwritten the next time we upgrade SXA.&#xA;I found &lt;a href=&quot;https://sitecore.stackexchange.com/questions/16452/what-is-the-proper-way-to-add-new-fields-to-an-existing-sxa-component-data-sourc&quot;&gt;this&lt;/a&gt; post on here, which talks about a way to modify an SXA datasource template through the use of datasource configurations, but doing this for every single SXA component seems a bit cumbersome.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this really the way to do it, or does someone perhaps have a good idea of a better way to enabled item level language fallback for all SXA datasources?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By the way, we are using Sitecore 9.1 with SXA 1.8. &lt;/p&gt;&#xA;" OwnerUserId="5625" LastEditorUserId="237" LastEditDate="2019-06-07T11:58:54.097" LastActivityDate="2019-06-11T09:09:35.197" Title="Enabling Item Language Fallback for SXA component datasources" Tags="|sxa|templates|datasource|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19236" PostTypeId="2" ParentId="19233" CreationDate="2019-06-07T11:54:06.383" Score="4" Body="&lt;p&gt;I used the rules engine to fix this. I created a rule under &lt;code&gt;Item Saved&lt;/code&gt; (&lt;code&gt;/sitecore/system/Settings/Rules/Item Saved/Rules/Language Fallback&lt;/code&gt;) that sets the enable item fallback to true on every save.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;where the item is the my-root-item item or one of its descendants &#xA;  set &lt;code&gt;__Enable item fallback&lt;/code&gt; value to 1&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can add any condition you want in the where clause - this one just takes all items under a parent item but you can do whatever needed there. You can also create multiple rules if needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way I did not have to set this on standard values for any of the default SXA components, but all newly created items will get the fallback set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you already have items (and don't want to save them all), you could use SPE to set the value of &lt;code&gt;__Enable item&lt;/code&gt; fallback to 1 on those existing items to start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To save the field value in a rule, I added a custom action. Code looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SetFieldValueAction&amp;lt;T&amp;gt; : RuleAction&amp;lt;T&amp;gt; where T : RuleContext&#xA;{&#xA;    public ID FieldId { get; set; }&#xA;&#xA;    public string FieldValue { get; set; }&#xA;&#xA;    public override void Apply(T ruleContext)&#xA;    {&#xA;        var item = ruleContext.Item;&#xA;        if (item == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        var field = item.Fields[FieldId];&#xA;        if (field == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (field.Value.Equals(FieldValue))&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        using (new EditContext(item))&#xA;        {&#xA;            item.Fields[FieldId].Value = FieldValue;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-06-11T09:09:35.197" LastActivityDate="2019-06-11T09:09:35.197" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19237" PostTypeId="1" AcceptedAnswerId="19239" CreationDate="2019-06-07T12:26:54.973" Score="7" ViewCount="1113" Body="&lt;p&gt;I've utilized Data Exchange Framework and built pipeline batches.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now it's unclear how the created/updated items can be published automatically. I did not find any publishing pipeline steps or even mention of publishing stuff in Sitecore.DataExchange. Publishing seems to be an essential step within pipeline after pulling data but looks like DEF is not responsible for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, what is the right way of doing automatic publish when DEF is used?&lt;/p&gt;&#xA;" OwnerUserId="4023" LastEditorUserId="237" LastEditDate="2019-06-07T13:25:35.540" LastActivityDate="2019-06-07T13:31:33.553" Title="How to publish items after pipeline is finished?" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19239" PostTypeId="2" ParentId="19237" CreationDate="2019-06-07T13:14:49.750" Score="21" Body="&lt;p&gt;You can add a custom pipeline step to perform the publishing. Below is an example of one that can publish either a specific item (e.g. the root item below which all your DEF items were imported) or an item in the pipeline context (e.g. each item as it's imported).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As with all custom pipeline steps, you'll need to perform the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a custom pipeline step template&lt;/li&gt;&#xA;&lt;li&gt;Add a plugin for settings&lt;/li&gt;&#xA;&lt;li&gt;Add a pipeline step converter&lt;/li&gt;&#xA;&lt;li&gt;Add a pipeline step processor&lt;/li&gt;&#xA;&lt;li&gt;Update the standard values of your template to reference your step converter and processor&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;1. Create your template&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new template called &lt;strong&gt;Publish Item Pipeline Step&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I created mine at &lt;code&gt;/sitecore/templates/Data Exchange/Providers/Sitecore/Pipeline Steps/Publish Item Pipeline Step&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add &lt;code&gt;/sitecore/templates/Data Exchange/Framework/Pipeline Steps/Base Pipeline Steps/Base Pipeline Step&lt;/code&gt; as a base template&lt;/li&gt;&#xA;&lt;li&gt;Add fields&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;EndpointFrom&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Type: Droptree&lt;/li&gt;&#xA;&lt;li&gt;Source: &lt;code&gt;query:./ancestor-or-self::*[@@templateid='{327A381B-59F8-4E88-B331-BEBC7BD87E4E}']//descendant-or-self::*[@@templateid='{CAADA2F1-1D71-452A-87BF-A3AE335CA169}']&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Item&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Type: Droptree&lt;/li&gt;&#xA;&lt;li&gt;Short Description: The exact item to publish. A value in this field will override the Item Location field.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ItemLocation&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Type: Droplink&lt;/li&gt;&#xA;&lt;li&gt;Source: &lt;code&gt;{DD61BBDB-CF41-40F6-9923-3031C7AB47C8}&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Short Description: Location within the pipeline's context of the item to publish&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Publishing Targets&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Type: Checklist&lt;/li&gt;&#xA;&lt;li&gt;Source: &lt;code&gt;/sitecore/system/Publishing targets&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Publish Subitems&lt;/strong&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Type: Checkbox&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;2. Add plugin&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.DataExchange;&#xA;using Sitecore.Services.Core.Model;&#xA;&#xA;public class PublishItemSettings : IPlugin&#xA;{&#xA;    public ItemModel ItemModel { get; set; }&#xA;    public string[] TargetDatabaseNames { get; set; }&#xA;    public bool PublishSubitems { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;3. Add pipeline step converter&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore.DataExchange;&#xA;using Sitecore.DataExchange.Attributes;&#xA;using Sitecore.DataExchange.Converters.PipelineSteps;&#xA;using Sitecore.DataExchange.Extensions;&#xA;using Sitecore.DataExchange.Models;&#xA;using Sitecore.DataExchange.Plugins;&#xA;using Sitecore.DataExchange.Repositories;&#xA;using Sitecore.Services.Core.Model;&#xA;&#xA;[SupportedIds(&quot;YOUR-TEMPLATE-ID&quot;)]&#xA;public class PublishItemPipelineStepConverter : BasePipelineStepConverter&#xA;{&#xA;    public PublishItemPipelineStepConverter(IItemModelRepository repository) : base(repository) { }&#xA;&#xA;    private void AddPublishItemSettings(ItemModel source, PipelineStep pipelineStep)&#xA;    {&#xA;        if (pipelineStep == null)&#xA;        {&#xA;            throw new ArgumentNullException(nameof(pipelineStep));&#xA;        }&#xA;&#xA;        IEnumerable&amp;lt;ItemModel&amp;gt; publishingTargets = GetReferencesAsModels(source, &quot;Publishing Targets&quot;);&#xA;        if (publishingTargets == null || !publishingTargets.Any())&#xA;        {&#xA;            Context.Logger.Error($&quot;No publishing targets were selected for the pipeline step. (pipeline step: {pipelineStep.Name}, pipeline step item: {source.GetItemId()}, field: Publishing Targets)&quot;);&#xA;            return;&#xA;        }&#xA;&#xA;        var settings = new PublishItemSettings&#xA;                       {&#xA;                           ItemModel = GetReferenceAsModel(source, &quot;Item&quot;),&#xA;                           TargetDatabaseNames = publishingTargets.Select(model =&amp;gt; GetStringValue(model, &quot;Target database&quot;)).ToArray(),&#xA;                           PublishSubitems = GetBoolValue(source, &quot;Publish Subitems&quot;)&#xA;                       };&#xA;&#xA;        pipelineStep.AddPlugin(settings);&#xA;    }&#xA;&#xA;    private void AddDataLocationSettings(ItemModel source, PipelineStep pipelineStep)&#xA;    {&#xA;        if (pipelineStep == null)&#xA;        {&#xA;            throw new ArgumentNullException(nameof(pipelineStep));&#xA;        }&#xA;&#xA;        var settings = new DataLocationSettings&#xA;                       {&#xA;                           DataLocation = GetGuidValue(source, &quot;ItemLocation&quot;)&#xA;                       };&#xA;        pipelineStep.AddPlugin(settings);&#xA;    }&#xA;&#xA;    private void AddEndpointSettings(ItemModel source, PipelineStep pipelineStep)&#xA;    {&#xA;        var settings = new EndpointSettings();&#xA;        var endpoint = ConvertReferenceToModel&amp;lt;Endpoint&amp;gt;(source, &quot;EndpointFrom&quot;);&#xA;        if (endpoint != null)&#xA;        {&#xA;            settings.EndpointFrom = endpoint;&#xA;        }&#xA;&#xA;        pipelineStep.AddPlugin(settings);&#xA;    }&#xA;&#xA;    protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep)&#xA;    {&#xA;        this.AddPublishItemSettings(source, pipelineStep);&#xA;        this.AddDataLocationSettings(source, pipelineStep);&#xA;        this.AddEndpointSettings(source, pipelineStep);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;4. Add pipeline step processor&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.DataExchange.Attributes;&#xA;using Sitecore.DataExchange.Contexts;&#xA;using Sitecore.DataExchange.Extensions;&#xA;using Sitecore.DataExchange.Models;&#xA;using Sitecore.DataExchange.Plugins;&#xA;using Sitecore.DataExchange.Providers.Sc.Extensions;&#xA;using Sitecore.DataExchange.Providers.Sc.Processors.PipelineSteps;&#xA;using Sitecore.Publishing;&#xA;using Sitecore.Services.Core.Diagnostics;&#xA;using Sitecore.Services.Core.Model;&#xA;&#xA;[RequiredPipelineStepPlugins(typeof(PublishItemSettings), typeof(DataLocationSettings), typeof(EndpointSettings))]&#xA;public class PublishItemPipelineStepProcessor : UpdateSitecoreItemStepProcessor&#xA;{&#xA;    protected override void ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;    {&#xA;        if (pipelineStep == null) throw new ArgumentNullException(nameof(pipelineStep));&#xA;        if (pipelineContext == null) throw new ArgumentNullException(nameof(pipelineContext));&#xA;        if (logger == null) throw new ArgumentNullException(nameof(logger));&#xA;&#xA;        PublishItemSettings publishItemSettings = pipelineStep.GetPlugin&amp;lt;PublishItemSettings&amp;gt;();&#xA;        IEnumerable&amp;lt;ItemModel&amp;gt; itemsToPublish;&#xA;        if (publishItemSettings.ItemModel != null)&#xA;        {&#xA;            itemsToPublish = new [] { publishItemSettings.ItemModel };&#xA;        }&#xA;        else&#xA;        {&#xA;            logger.Debug($&quot;No direct item reference was specified in the pipeline step, so we are looking in the DataLocation field instead. (pipeline step: {pipelineStep.Name}, pipeline step identifier: {pipelineStep.Identifier})&quot;);&#xA;            itemsToPublish = GetTargetObjectAsItemModels(pipelineStep, pipelineContext, logger);&#xA;        }&#xA;&#xA;        if (itemsToPublish == null || !itemsToPublish.Any())&#xA;        {&#xA;            logger.Error($&quot;No available items to publish. (pipeline step: {pipelineStep.Name}, pipeline step identifier: {pipelineStep.Identifier})&quot;);&#xA;            return;&#xA;        }&#xA;&#xA;        EndpointSettings endpointSettings = pipelineStep.GetEndpointSettings();&#xA;        string sourceDatabaseName = endpointSettings.EndpointFrom?.GetItemModelRepositorySettings()?.ItemModelRepository?.DatabaseName;&#xA;        if (string.IsNullOrEmpty(sourceDatabaseName))&#xA;        {&#xA;            logger.Error($&quot;No available item repository from which to publish. (pipeline step: {pipelineStep.Name}, pipeline step identifier: {pipelineStep.Identifier}, endpointSettings.EndpointFrom?.Name: {endpointSettings.EndpointFrom?.Name}&quot;);&#xA;            return;&#xA;        }&#xA;        Database sourceDatabase = Database.GetDatabase(sourceDatabaseName);&#xA;        IEnumerable&amp;lt;Database&amp;gt; targetDatabases = publishItemSettings.TargetDatabaseNames.Select(Database.GetDatabase);&#xA;        foreach (ItemModel itemModel in itemsToPublish)&#xA;        {&#xA;            Guid itemId = itemModel.GetItemId();&#xA;            Item item = sourceDatabase.GetItem(ID.Parse(itemId));&#xA;            if (item == null)&#xA;            {&#xA;                logger.Error($&quot;Unable to retrieve item to publish from {sourceDatabase.Name} database ({itemId}). (pipeline step: {pipelineStep.Name}, pipeline step identifier: {pipelineStep.Identifier})&quot;);&#xA;                continue;&#xA;            }&#xA;            PublishManager.PublishItem(item, targetDatabases.ToArray(), sourceDatabase.Languages, publishItemSettings.PublishSubitems, false, false);&#xA;            logger.Debug($&quot;Published item {itemId} to {string.Join(&quot;, &quot;, publishItemSettings.TargetDatabaseNames)}. (pipeline step: {pipelineStep.Name}, pipeline step identifier: {pipelineStep.Identifier})&quot;);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;5. Update standard values&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In Sitecore, navigate to the standard values of your custom pipeline step template you created back in step 1&lt;/li&gt;&#xA;&lt;li&gt;Populate the &lt;strong&gt;Converter Type&lt;/strong&gt; and &lt;strong&gt;Processor Type&lt;/strong&gt; fields with your custom types, for example:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Custom.DataExchange.Providers.Sc.PipelineSteps.PublishItemPipelineStepConverter,Custom.DataExchange&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Custom.DataExchange.Providers.Sc.PipelineSteps.PublishItemPipelineStepProcessor,Custom.DataExchange&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-06-07T13:31:33.553" LastActivityDate="2019-06-07T13:31:33.553" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19241" PostTypeId="1" AcceptedAnswerId="19244" CreationDate="2019-06-07T17:07:25.007" Score="0" ViewCount="369" Body="&lt;p&gt;I'm working on a multilingual Sitecore site. We currently have everything set up in English (/en); but are adding other cultures and languages (en-CA, es-MX, fr-CA, etc.).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've setup the languages to fallback to /en when an item or field doesn't have a version in the specified language. I've enabled both item and field language fallback.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The layout and presentation details are defined on the final layout of the /en version of the site. What I would like is if a version doesn't exist in the language; for the layout and presentation details to fallback to the /en site settings; and the components use the data source items which DO have versions translated in their language to be used. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't want this for all translations of the site of course, just want this to be default behavior when a new site is added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe the way to do this would be to copy over the layout settings from /en to the shared layout so that layout is set up by default; and set the final layout details on each language version we want to deviate the layout/components for. Will that work, or do I have the wrong idea?&lt;/p&gt;&#xA;" OwnerUserId="4157" LastEditorUserId="73" LastEditDate="2019-06-07T19:55:11.950" LastActivityDate="2019-11-04T20:01:30.217" Title="Layout/presentation details and language fallback" Tags="|presentation|multilingual|language-fallback|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19242" PostTypeId="1" CreationDate="2019-06-07T17:15:51.403" Score="3" ViewCount="7126" Body="&lt;p&gt;I have a Sitecore 9.1.1 instance that I am trying to configure to use ADFS 2016 for Federated Authentication.  I am following the instructions from this blog post - &lt;a href=&quot;https://blog.istern.dk/2019/05/15/sitecore-9-1-identityserver-on-premise-ad-via-adfs/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.istern.dk/2019/05/15/sitecore-9-1-identityserver-on-premise-ad-via-adfs/&lt;/a&gt;.  When I click on the new Login With ADFS button I get a Chrome error screen that says the Identity Server is &quot;currently unable to handle this request&quot; HTTP 500 error.  When I look in the Identity Server logs I see the following, but I have absolutely no idea what it means or how to troubleshoot it.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;2019-06-07T13:08:54.3688010-04:00 [INF] (Sitecore STS/VSLT-D3CV4H2)&#xA;  Executing action method&#xA;  &quot;Sitecore.Plugin.IdentityServer.Controllers.AccountController.ExternalLogin&#xA;  (Sitecore.Plugin.IdentityServer)&quot; with arguments ([&quot;adfs&quot;,&#xA;  &quot;/connect/authorize/callback?client_id=Sitecore&amp;amp;response_mode=form_post&amp;amp;response_type=code%20id_token%20token&amp;amp;scope=openid%20sitecore.profile&amp;amp;state=OpenIdConnect.AuthenticationProperties%3D71mbGM-gg9b4GNwAXgLZ48zBeDsbQ-MphZ8cP0Rq1ni3YoaIwA7W-QBcOvjQyr91SX0VmMFVEHC9ecu8WVCJfvOooVTqkW1apNIHN3aBaCEp0SEuAtB5djhpNOOU4_ggkY5qqJA4ibSstUWwMUAEh9iNNGhxkDTdKj0olNk4wmHXgQE00R_SAO0lMvvpmrFy-ebwJ2DN5khoI9JbSXT76Q&amp;amp;nonce=636955241322185780.MTZlYzhiMjYtOGM3Mi00NDI1LTg4NjUtNmMyNWMyMWExYjJmMTE3OTQyNjAtYTU5Ni00YzdkLTg4ZjktNmNjOTQ4YjcyMmYw&amp;amp;redirect_uri=http%3A%2F%2Fkellogg91.local%2Fidentity%2Fsignin&amp;amp;sc_account_prefix=sitecore%5C&amp;amp;x-client-SKU=ID_NET451&amp;amp;x-client-ver=5.2.2.0&quot;])&#xA;  - Validation state: Valid &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;2019-06-07T13:08:54.3689117-04:00 [INF] (Sitecore STS/VSLT-D3CV4H2) Executed action method&#xA;  &quot;Sitecore.Plugin.IdentityServer.Controllers.AccountController.ExternalLogin&#xA;  (Sitecore.Plugin.IdentityServer)&quot;, returned result&#xA;  &quot;Microsoft.AspNetCore.Mvc.ChallengeResult&quot; in 0.0458ms.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;2019-06-07T13:08:54.3689844-04:00 [INF] (Sitecore STS/VSLT-D3CV4H2)&#xA;  Executing ChallengeResult with authentication schemes ([&quot;adfs&quot;]).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;2019-06-07T13:08:54.7336916-04:00 [INF] (Sitecore STS/VSLT-D3CV4H2)&#xA;  Executed action&#xA;  &quot;Sitecore.Plugin.IdentityServer.Controllers.AccountController.ExternalLogin&#xA;  (Sitecore.Plugin.IdentityServer)&quot; in 365.7107ms&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;2019-06-07T13:08:54.7341497-04:00 [ERR] (Sitecore STS/VSLT-D3CV4H2)&#xA;  Connection id &quot;&quot;0HLNBD6RJUVVQ&quot;&quot;, Request id&#xA;  &quot;&quot;0HLNBD6RJUVVQ:00000004&quot;&quot;: An unhandled exception was thrown by the&#xA;  application. System.InvalidOperationException: IDX20803: Unable to&#xA;  obtain configuration from: '[PII is hidden by default. Set the&#xA;  'ShowPII' flag in IdentityModelEventSource.cs to true to reveal it.]'.&#xA;  ---&gt; Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: &amp;lt;. Path '', line 1, position 1.    at&#xA;  Newtonsoft.Json.JsonTextReader.ParseValue()    at&#xA;  Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean&#xA;  hasConverter)    at&#xA;  Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader&#xA;  reader, Type objectType, Boolean checkAdditionalContent)    at&#xA;  Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader,&#xA;  Type objectType)    at&#xA;  Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type,&#xA;  JsonSerializerSettings settings)    at&#xA;  Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value,&#xA;  JsonSerializerSettings settings)    at&#xA;  Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.GetAsync(String&#xA;  address, IDocumentRetriever retriever, CancellationToken cancel)    at&#xA;  Microsoft.IdentityModel.Protocols.ConfigurationManager1.GetConfigurationAsync(CancellationToken&#xA;  cancel)    --- End of inner exception stack trace ---    at&#xA;  Microsoft.IdentityModel.Protocols.ConfigurationManager1.GetConfigurationAsync(CancellationToken&#xA;  cancel)    at&#xA;  Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties&#xA;  properties)    at&#xA;  Microsoft.AspNetCore.Authentication.AuthenticationHandler1.ChallengeAsync(AuthenticationProperties&#xA;  properties)    at&#xA;  Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext&#xA;  context, String scheme, AuthenticationProperties properties)    at&#xA;  Microsoft.AspNetCore.Mvc.ChallengeResult.ExecuteResultAsync(ActionContext&#xA;  context)    at&#xA;  Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultAsync(IActionResult&#xA;  result)    at&#xA;  Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResultFilterAsyncTFilter,TFilterAsync&#xA;  at&#xA;  Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResultExecutedContext&#xA;  context)    at&#xA;  Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State&amp;amp;&#xA;  next, Scope&amp;amp; scope, Object&amp;amp; state, Boolean&amp;amp; isCompleted)    at&#xA;  Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultFilters()&#xA;  at&#xA;  Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()&#xA;  at&#xA;  Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext&#xA;  context)    at&#xA;  Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State&amp;amp; next,&#xA;  Scope&amp;amp; scope, Object&amp;amp; state, Boolean&amp;amp; isCompleted)    at&#xA;  Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()&#xA;  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()&lt;br&gt;&#xA;  at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext&#xA;  httpContext)    at&#xA;  Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext&#xA;  context)    at&#xA;  Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext&#xA;  context)    at&#xA;  IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext&#xA;  context, IEndpointRouter router, IUserSession session, IEventService&#xA;  events)    at&#xA;  Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext&#xA;  context)    at&#xA;  Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext&#xA;  context)    at&#xA;  IdentityServer4.Hosting.BaseUrlMiddleware.Invoke(HttpContext context) &#xA;  at&#xA;  Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.Invoke(HttpContext&#xA;  httpContext)    at&#xA;  Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1&#xA;  application) &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;2019-06-07T13:08:54.7366113-04:00 [DBG] (Sitecore&#xA;  STS/VSLT-D3CV4H2) Connection id &quot;&quot;0HLNBD6RJUVVQ&quot;&quot; completed keep alive&#xA;  response. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;2019-06-07T13:08:54.7366776-04:00 [INF] (Sitecore&#xA;  STS/VSLT-D3CV4H2) Request finished in 369.7736ms 500&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;EDIT: here is the XML configuration file for this instance. It is located at [Identity Server Root]/sitecoreruntime/production/sitecore/[ClientName].ADFS/Config/[ClientName].ADFS.xml&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&#xA;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;ExternalIdentityProviders&amp;gt;&#xA;  &amp;lt;IdentityProviders&amp;gt;&#xA;  &amp;lt;ADFS type=&quot;Sitecore.Plugin.IdentityProviders.IdentityProvider, Sitecore.Plugin.IdentityProviders&quot;&amp;gt;&#xA;    &amp;lt;AuthenticationScheme&amp;gt;adfs&amp;lt;/AuthenticationScheme&amp;gt;&#xA;    &amp;lt;DisplayName&amp;gt;Login with My Custom ADFS&amp;lt;/DisplayName&amp;gt;&#xA;    &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&#xA;    &amp;lt;ClientId&amp;gt;1234&amp;lt;/ClientId&amp;gt;&#xA;    &amp;lt;Authority&amp;gt;[full URL for ADFS endpoint goes here]&amp;lt;/Authority&amp;gt;&#xA;    &amp;lt;MetaAddress&amp;gt;[full URL for ADFS metadata goes here]&amp;lt;/MetaAddress&amp;gt;&#xA;    &amp;lt;ClaimsTransformation&amp;gt;&#xA;      &amp;lt;ClaimsTransformation1 type=&quot;Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders&quot;&amp;gt;&#xA;        &amp;lt;SourceClaims&amp;gt;&#xA;          &amp;lt;Claim1 type=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname&quot; /&amp;gt;&#xA;        &amp;lt;/SourceClaims&amp;gt;&#xA;        &amp;lt;NewClaims&amp;gt;&#xA;          &amp;lt;Claim1 type=&quot;name&quot; /&amp;gt;&#xA;        &amp;lt;/NewClaims&amp;gt;&#xA;      &amp;lt;/ClaimsTransformation1&amp;gt;&#xA;      &amp;lt;ClaimsTransformation2 type=&quot;Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders&quot;&amp;gt;&#xA;        &amp;lt;SourceClaims&amp;gt;&#xA;          &amp;lt;Claim1 type=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn&quot; /&amp;gt;&#xA;        &amp;lt;/SourceClaims&amp;gt;&#xA;        &amp;lt;NewClaims&amp;gt;&#xA;          &amp;lt;Claim1 type=&quot;email&quot; /&amp;gt;&#xA;        &amp;lt;/NewClaims&amp;gt;&#xA;      &amp;lt;/ClaimsTransformation2&amp;gt;&#xA;    &amp;lt;/ClaimsTransformation&amp;gt;&#xA;  &amp;lt;/ADFS&amp;gt;&#xA;  &amp;lt;/IdentityProviders&amp;gt;&#xA;&amp;lt;/ExternalIdentityProviders&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2019-06-10T20:05:30.610" LastActivityDate="2019-10-12T01:01:05.127" Title="What does this error message in the Identity Server logs mean?" Tags="|identity-server|" AnswerCount="2" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="19243" PostTypeId="2" ParentId="19170" CreationDate="2019-06-07T18:01:11.993" Score="3" Body="&lt;p&gt;I think that something is wrong with your custom fieldtype &lt;strong&gt;suggestType&lt;/strong&gt;, .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did you try to change it with something else (for example with &lt;strong&gt;text_general&lt;/strong&gt;)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure that &lt;strong&gt;charFilter solr.PatternReplaceCharFilterFactory&lt;/strong&gt; works in solr 7. (And as I see it doesn`t replace in tags &lt;strong&gt;&amp;lt;&lt;/strong&gt; and &lt;strong&gt;&gt;&lt;/strong&gt; ). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From my practice (solr 6-7) suggester works only with &lt;strong&gt;AnalyzingInfixLookupFactory&lt;/strong&gt; (or without any &lt;strong&gt;lookupImpl&lt;/strong&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;      &amp;lt;str name=&quot;name&quot;&amp;gt;mySuggesterContent&amp;lt;/str&amp;gt;&#xA;      &amp;lt;str name=&quot;field&quot;&amp;gt;pagebody_t&amp;lt;/str&amp;gt;&#xA;      &amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;text_suggester&amp;lt;/str&amp;gt;&#xA;      &amp;lt;str name=&quot;queryAnalyzerFieldType&quot;&amp;gt;text_suggester&amp;lt;/str&amp;gt;&#xA;      &amp;lt;str name=&quot;buildOnStartup&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;      &amp;lt;str name=&quot;buildOnCommit&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;    &amp;lt;/lst&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;text_suggester&quot; class=&quot;solr.TextField&quot; positionIncrementGap=&quot;100&quot; multiValued=&quot;false&quot;&amp;gt; &#xA;    &amp;lt;analyzer type=&quot;index&quot;&amp;gt; &#xA;        &amp;lt;tokenizer class=&quot;solr.WhitespaceTokenizerFactory&quot;/&amp;gt;&#xA;        &amp;lt;filter class=&quot;solr.StopFilterFactory&quot; words=&quot;stopwords.txt&quot; ignoreCase=&quot;true&quot;/&amp;gt; &#xA;        &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&amp;gt; &#xA;    &amp;lt;/analyzer&amp;gt; &#xA;    &amp;lt;analyzer type=&quot;query&quot;&amp;gt; &#xA;        &amp;lt;tokenizer class=&quot;solr.WhitespaceTokenizerFactory&quot;/&amp;gt;&#xA;        &amp;lt;filter class=&quot;solr.StopFilterFactory&quot; words=&quot;stopwords.txt&quot; ignoreCase=&quot;true&quot;/&amp;gt; &#xA;        &amp;lt;filter class=&quot;solr.SynonymFilterFactory&quot; expand=&quot;true&quot; ignoreCase=&quot;true&quot; synonyms=&quot;synonyms.txt&quot;/&amp;gt; &#xA;        &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot;/&amp;gt; &#xA;    &amp;lt;/analyzer&amp;gt; &#xA;&amp;lt;/fieldType&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also check whether your field that you use for suggester has stored=&quot;true&quot; in managed schema. Otherwise you will not see results by querying /suggest in Solr UI.&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-06-12T16:15:30.503" LastActivityDate="2019-06-12T16:15:30.503" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="19244" PostTypeId="2" ParentId="19241" CreationDate="2019-06-07T19:40:22.910" Score="0" Body="&lt;p&gt;You have the correct idea. You should use the shared layout as the basis, and deviate the final layout where needed for your particular language/version. If you do fallback to the /en site, it'll use the combined shared/final layout there of course, but the advantage to the shared layout is that when you make your first version of the next language, it'll start with that shared layout as a basis. There's a good answer for a PowerShell script to copy final layouts to shared here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4620/copy-final-layout-to-shared-layout&quot;&gt;Copy final layout to shared layout&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One thing to keep in mind is if you add a rendering later to your shared layout, it'll appear in all languages automatically, until/unless you remove it specifically. This is important mostly if you use multiple versions and workflows...even if you're working on version 2 of your page, for example, adding the rendering to the shared layout will show up on version 1 as well, and if the page is published it'll pop up on version 1, perhaps before you're ready.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-06-07T19:40:22.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19245" PostTypeId="1" AcceptedAnswerId="19249" CreationDate="2019-06-07T19:45:57.743" Score="3" ViewCount="488" Body="&lt;p&gt;I'm working on a site design that has a set of news headlines in the &quot;hero&quot; area, and when you click an article you don't get taken to that page, you're jumped down to an anchor that has the article in a detail area. However, we want to track it as if the news article page had been visited.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking at the tracker code and the documentation in Sitecore, there are references to &lt;code&gt;Sitecore.Analytics.Tracker.Current.CurrentPage&lt;/code&gt;, but I don't see how to specify that I want to track to something other than the current page (so I could do like &lt;code&gt;Sitecore.Analytics.Tracker.Current.[SpecifiedPage].RegisterPageEvent&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a entry point to pass in the item ID I want to track to, and then do the page event registration there?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-06-08T03:09:19.543" Title="Tracking a page event to something other than the current page" Tags="|xdb|tracking|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19248" PostTypeId="2" ParentId="17162" CreationDate="2019-06-08T02:32:01.150" Score="2" Body="&lt;p&gt;I just went through this on a Sitecore 9.1 install. Our issue was post a report DB rebuild. When I looked at the TaskId column, there was two different GUIDs spread out between all the tasks. The fix for me was to set all the TaskId values to an empty GUID with the SQL below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This came from Sitecore support.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Declare @EmptyGuid uniqueidentifier&#xA;Set @EmptyGuid = '00000000-0000-0000-0000-000000000000'&#xA;&#xA;UPDATE [dbo].[TreeDefinitions] SET TaskId = @EmptyGuid &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-06-08T02:32:01.150" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19249" PostTypeId="2" ParentId="19245" CreationDate="2019-06-08T03:00:53.393" Score="4" Body="&lt;p&gt;You can use the code below to add a page to the interactions collection. The pageGuid is the Item ID of the page you want to simulate. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: we are canceling the current page because I am calling all this from an API. And the API page is being tracked as a page in the interactions.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void TrackSection(ID pageGuid)&#xA;{&#xA;    if (Tracker.Current.Session.Interaction.Pages.All(x =&amp;gt; x.Item.Id != pageGuid.Guid))&#xA;    {&#xA;        Tracker.Current?.CurrentPage?.Cancel();&#xA;        Tracker.Current.Session.Interaction.AcceptModifications();&#xA;&#xA;        var page = Tracker.Current.Session.Interaction.CreatePage();&#xA;        page.SetItemProperties(pageGuid.Guid, &quot;en-us&quot;, 1);&#xA;        page.SetUrl(Sitecore.Context.Database.GetItem(pageGuid).Url());&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can trigger the goal on the &quot;current page&quot; which is the page you added above.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void TriggerGoal(ID goalId)&#xA;{&#xA;    var goalDefinition = this.goalDefinitionManager.Get(goalId.Guid, CultureInfo.InvariantCulture);&#xA;    if (goalDefinition == null)&#xA;    {&#xA;        Log.Warn($&quot;Cannot find goal: {goalId}&quot;, this);&#xA;        return;&#xA;    }&#xA;&#xA;    Log.Info($&quot;Goal Triggered: Contact: {Tracker.Current.Contact.ContactId} : {goalId}&quot;, this);&#xA;&#xA;    var page = Tracker.Current.CurrentPage;&#xA;&#xA;    page.RegisterGoal(goalDefinition);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-06-08T03:09:19.543" LastActivityDate="2019-06-08T03:09:19.543" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19250" PostTypeId="1" AcceptedAnswerId="19259" CreationDate="2019-06-08T03:55:56.930" Score="0" ViewCount="178" Body="&lt;p&gt;I'm trying to write a query that searches only items in the media library. The problem appears to be related to the space character in the phrase &quot;media library&quot;, which is causing the code to return zero results. When I use a path that doesn't have a space in it, it returns results just fine. How do I query a path and escape that pesky space? Below is a simplified version of the code I'm using. I'm using Sitecore 9 and Solr 6.6.2. Thank you!&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var context = Sitecore.ContentSearch.ContentSearchManager.CreateSearchContext(new Sitecore.ContentSearch.SitecoreIndexableItem(Sitecore.Context.Item)))&#xA;{&#xA;    var solrQuery = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(i =&amp;gt; i.Path.StartsWith(&quot;/sitecore/media library/subdirectory&quot;)).Filter(i =&amp;gt; i.Language == &quot;en&quot;);&#xA;    var results = solrQuery.GetResults();&#xA;    count = results.Hits.Count();&#xA;    if (count &amp;gt; 0)&#xA;    {&#xA;        // We've found at least 1!&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4239" LastEditorUserId="4239" LastEditDate="2019-06-09T14:59:28.853" LastActivityDate="2019-11-07T06:02:40.487" Title="How to escape &quot;media library&quot; in Linq to Sitecore" Tags="|content-search|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19252" PostTypeId="1" AcceptedAnswerId="19253" CreationDate="2019-06-08T18:24:46.460" Score="0" ViewCount="228" Body="&lt;p&gt;I have defined a Param fields for JSS component as below and set its value to &quot;true&quot; on the route file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when imported into Sitecore, in the presentation details of the component doesn't show this &quot;greyBackground&quot; checkbox as checked.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;params: [&#xA;      { name: 'greyBackground', displayName: &quot;Grey Background&quot;, type: CommonFieldTypes.Checkbox }&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;route file :-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;componentName: MyComponent&#xA;        params:&#xA;          greyBackground: true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone have faced this issue earlier ?&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2019-06-08T18:45:08.613" Title="JSS Importer doesn't import Param Checkbox field with true correctly into Sitecore Content Editor Properties Popup Window" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19253" PostTypeId="2" ParentId="19252" CreationDate="2019-06-08T18:45:08.613" Score="1" Body="&lt;p&gt;In the sample application templates provided for JSS, there are no Checkbox fields defined for Params for examples components (only string &amp;amp; number fields in example component).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But it contains Checkbox field usage example in a Sample component. In that example, checkbox field is given values true/false&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ex: in route file :-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;fields:&#xA;  CheckboxField: true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when this same true/false used in the Params Checkbox field, it was not correctly imported into Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, when you try to use 1/0 (instead of true/false), this was corrected imported to sitecore as well as it worked correctly on disconnected mode also.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;componentName: MyComponent&#xA;        params:&#xA;          greyBackground: 1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="383" LastActivityDate="2019-06-08T18:45:08.613" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19254" PostTypeId="1" CreationDate="2019-06-08T23:42:47.573" Score="-1" ViewCount="225" Body="&lt;p&gt;I am using Sitecore 9 and I need to display 5 controller renderings in a Tabbed view.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked at the article:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/6340/how-to-show-three-different-tabs-rendering-by-using-sitecore-in-asp-net-mvc&quot;&gt;How to show three different Tabs rendering by using Sitecore in ASP.NET MVC&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But could not create the desired result. Can you please share more detailed steps or a sample with two renderings/items displayed as two tabs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Om&lt;/p&gt;&#xA;" OwnerUserId="5629" LastActivityDate="2019-11-09T21:02:15.283" Title="Need to display multiple renderings in a Tab view" Tags="|presentation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19256" PostTypeId="2" ParentId="19065" CreationDate="2019-06-09T06:15:33.290" Score="2" Body="&lt;p&gt;The best guidance from Sitecore that is available for Disaster Recovery scenarios at time of writing is &lt;a href=&quot;https://kb.sitecore.net/articles/133741&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Managed Cloud Standard — Disaster Recovery&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notes of interest from the article:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;xConnect Search Indexer&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Sitecore can only have one active xConnect Search Indexer WebJob across a solution. In case of any failover and restore of service, the indexer must be shut down.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;xDB is excluded from RTO (Recovery Time Objective)&lt;/strong&gt; &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;For Disaster Recovery, the RTO does not cover the xDB rebuild due to the significant amount of time it can&#xA;  take for a large content database. If the analytics indexes are not&#xA;  rebuilt this should only affect functionality that depends on lists&#xA;  (for example, EXM) and should not affect the frontend site.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Of course, in your question you have specified that you are not on Azure PaaS (you are IaaS), so some of it will not apply, but from this I gather that Sitecore's process for a failover is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If it's a cold failover they will clone the current services from the primary region to the secondary region. If a warm failover, these will already be cloned - but shut down.&lt;/li&gt;&#xA;&lt;li&gt;They'll shut down the xConnect Search Indexer on the primary region and start it up along with the rest of the services in the secondary region.&lt;/li&gt;&#xA;&lt;li&gt;Presumably once the xDB shards have been failed over successfully they will then rebuild the indexes in the secondary region. They note that this is not a priority as most sites will have a large about of data in xDB so it will likely take some time.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;xConnect Search Indexer cannot be scaled, and when run as an Azure WebJob it takes advantage of the &lt;a href=&quot;https://github.com/Azure/azure-webjobs-sdk/wiki/Singleton&quot; rel=&quot;nofollow noreferrer&quot;&gt;Singleton locking functionality&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to summarise what you need to consider for xConnect in a DR scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You need to ensure that only one instance of the xConnect Search Indexer is ever running against a xDB index.&lt;/li&gt;&#xA;&lt;li&gt;For the most part all the xConnect roles (collection, refdata, search, cortex processing and reporting, marketing automation ops and reporting) are fairly set and forget. If you have any custom collection models (facets) or other config then you'll need to ensure those are kept in sync across the regions.&lt;/li&gt;&#xA;&lt;li&gt;RefData gets populated primarily via the Deploy Marketing Definitions tool so you'll need to kick that off when doing a fail-over unless you already have the RefData DB replicated.&lt;/li&gt;&#xA;&lt;li&gt;You'll need to have some kind of redundancy on your search service (e.g. Solr Cloud in your case) so that it doesn't become a single point of failure.&lt;/li&gt;&#xA;&lt;li&gt;Definitely do a DR failover test so you know how long it takes to get things up and running and know if there's any holes in the implementation. You could have some scripts to help with the process such as kicking off the Marketing Defs deployment and xDB reindex. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-06-09T06:15:33.290" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19257" PostTypeId="2" ParentId="19254" CreationDate="2019-06-09T07:42:02.740" Score="0" Body="&lt;p&gt;The easiest way to do it with dynamic placeholders. &#xA;For example, your need following markup:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;tabs&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;tab&quot;&amp;gt;Controller Rendering 1 Content&amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;tab&quot;&amp;gt;Controller Rendering 2 Content&amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;tab&quot;&amp;gt;Controller Rendering 3 Content&amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;tab&quot;&amp;gt;Controller Rendering 4 Content&amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;tab&quot;&amp;gt;Controller Rendering 5 Content&amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to have one rendering that is your tabs wrapper (container):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;tabs&quot;&amp;gt;&#xA;    @Html.Sitecore().DynamicPlaceholder(new DynamicPlaceholderDefinition(&quot;tab-item&quot;)&#xA;    {&#xA;        OutputModifier = (input, context) =&amp;gt; new HtmlString(&quot;&amp;lt;div class=&quot;tab&quot;&amp;gt;&quot; + input + &quot;&amp;lt;/div&amp;gt;&quot;)&#xA;    })&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you need your 5 controller renderings, that are assigned to &quot;tab-item&quot; placeholder.&#xA;Open experience editor and insert your renderings in container in needed sequence.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to use html markup where tab menu links are inside tabs content. Something like this &lt;a href=&quot;https://kyusuf.com/post/completely-css-tabs&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kyusuf.com/post/completely-css-tabs&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-06-09T07:42:02.740" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19258" PostTypeId="2" ParentId="17162" CreationDate="2019-06-09T08:44:02.850" Score="0" Body="&lt;p&gt;Below response from Sitecore helped to Solved the issue.&#xA;1. In the Reporting database, to remove all the data from the TreeDefinitions table, execute the following command: Delete from TreeDefinitions.&#xA;2. In Sitecore, open the admin page of the Path Analyzer - /sitecore/admin/pathanalyzer.aspx.&#xA;3. In the Maps Manager section, click Deploy all maps that are not deployed.&#xA;4. In the Historic Map Rebuild section, click Rebuild.&lt;/p&gt;&#xA;" OwnerUserId="3928" LastActivityDate="2019-06-09T08:44:02.850" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19259" PostTypeId="2" ParentId="19250" CreationDate="2019-06-09T15:35:55.333" Score="0" Body="&lt;p&gt;After manually querying Solr, I found that it doesn't actually store the full path of media library items. If Sitecore says the item's path is &lt;code&gt;/sitecore/media library/mysite/public/documents&lt;/code&gt;, then the path is actually stored in Solr as &lt;code&gt;/mysite/public/documents&lt;/code&gt;, with the &lt;code&gt;/sitecore/media library&lt;/code&gt; portion of the path chopped off. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if everyone's &lt;code&gt;Sitecore/Solr&lt;/code&gt; installation does this, but this is the way ours works. I've also confirmed that Marek Musielak's suggestion of using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Where(i =&amp;gt; i.Paths.Contains(subdirectory.ID))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;also works and I may end up using that since it's probably more efficient, so thank you as well!&lt;/p&gt;&#xA;" OwnerUserId="4239" LastEditorUserId="5387" LastEditDate="2019-06-10T05:19:01.650" LastActivityDate="2019-06-10T05:19:01.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19260" PostTypeId="1" CreationDate="2019-06-10T07:19:52.297" Score="1" ViewCount="828" Body="&lt;p&gt;I'm trying to install &lt;code&gt;Sitecore 9.1 update 1&lt;/code&gt; with `Azure SQL database as a service, I'm getting below error. Please help.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; [---------------------------------- XConnectXP0_InstallWDP : WebDeploy&#xA;&gt; -----------------------------------------------] [WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe msdeploy.exe&#xA;&gt; : Error Code: ERROR_SQL_EXECUTION_FAILURE At C:\Program&#xA;&gt; Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-CommandTask.ps1:31&#xA;&gt; char:13&#xA;&gt; +             &amp; $Path $Arguments | Out-Default&#xA;&gt; +             ~~~~~~~~~~~~~~~~~~&#xA;&gt;     + CategoryInfo          : NotSpecified: (Error Code: ERROR_SQL_EXECUTION_FAILURE:String) [], RemoteException&#xA;&gt;     + FullyQualifiedErrorId : NativeCommandError   More Information: An error occurred during execution of the database script. The error&#xA;&gt; occurred between the following  lines of the script: &quot;1&quot; and &quot;3&quot;. The&#xA;&gt; verbose log might have more information about the error. The command&#xA;&gt; started  with the following: &quot;e xec sp_configure 'contained database&#xA;&gt; authenticati&quot;  Could not find stored procedure 'sp_configure'.&#xA;&gt; http://go.microsoft.com/fwlink/?LinkId=178587  Learn more at: &#xA;&gt; http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE.&#xA;&gt; &#xA;&gt; Error: Could not find stored procedure 'sp_configure'.&#xA;&gt; &#xA;&gt; Error count: 1.&#xA;&gt; &#xA;&gt; Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft&#xA;&gt; Web Deploy V3\msdeploy.exe returned a non-zero  exit code - (-1) At&#xA;&gt; C:\Source Files\XP0 Configuration files 9.1.1 rev.&#xA;&gt; 002459\XP0-SingleDeveloper-non-signed.ps1:74 char:1&#xA;&gt; + Install-SitecoreConfiguration @singleDeveloperParams *&gt;&amp;1 | Tee-Objec ...&#xA;&gt; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;&gt;     + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;&gt;     + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&gt; [TIME] 00:15:15 &lt;/pre&gt;&#xA;" OwnerUserId="526" LastEditorUserId="5387" LastEditDate="2019-06-10T08:21:41.610" LastActivityDate="2019-06-11T04:16:55.453" Title="Sitecore 9.1 update 1 installation error with Azure SQL database" Tags="|sitecore-install-framework|installation|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19261" PostTypeId="1" CreationDate="2019-06-10T09:39:38.703" Score="1" ViewCount="217" Body="&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an existing Listing component which displays the selected list of &quot;article items&quot;.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Change Request&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Client now wants that the &quot;News item&quot; or other pages should be selectable as well &lt;/p&gt;&#xA;&#xA;&lt;p&gt;(Note: Articles and news are created based on helix principle &#xA;where the interface templates are under templates/feature/articles ; feature/news&#xA;and the listing component is under renderings/feature/articles. Page templates are in the Project layer.)&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to fetch the Title of News item I need the field ID of the News item.&#xA;But it is stored in a different feature (feature/news) and features should not depend on each other (as per helix).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure how to proceed further in order to display items of other templates in the Listing component.&lt;/p&gt;&#xA;" OwnerUserId="1744" LastEditorUserId="248" LastEditDate="2019-06-11T14:12:58.223" LastActivityDate="2019-06-11T14:22:10.610" Title="How to structure a helix based component requiring two individual features as datasource?" Tags="|helix|solution-architecture|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19262" PostTypeId="1" AcceptedAnswerId="19336" CreationDate="2019-06-10T10:39:42.383" Score="9" ViewCount="1206" Body="&lt;p&gt;I am using Sitecore 9.1.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to know if I can set up a workflow that activates when a Sitecore item is &quot;Deleted&quot; from the content editor, so that the item does not actually get deleted until the workflow gets approved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to interrupt the delete event that is triggered on deleting items from the content editor? If yes, how can I add a &quot;Delete&quot; action that triggers after the approval of the workflow?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="342" LastEditDate="2019-06-11T18:35:58.900" LastActivityDate="2019-06-12T15:03:29.707" Title="Adding workflow for item deletion" Tags="|workflow|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19263" PostTypeId="1" AcceptedAnswerId="19264" CreationDate="2019-06-10T11:48:07.937" Score="2" ViewCount="409" Body="&lt;p&gt;When I try to connect to my sitecore 9.1.0 instance with Sitecore Rocks 2.1.89 I catch a weird error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The content type text/html of the response message does not match the&#xA;  content type of the binding (application/soap+xml; charset=utf-8). If&#xA;  using a custom encoder, be sure that the IsContentTypeSupported method&#xA;  is implemented properly. The first 1024 bytes of the response were: '&#xA;   ...&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JdjkF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JdjkF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I connect to another sitecore 9.1.0 website - it works good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is wrong with my first instance?&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-12-06T09:16:50.247" Title="Sitecore Rocks 2.1.89.0 connection error to Sitecore 9.1.0" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19264" PostTypeId="2" ParentId="19263" CreationDate="2019-06-10T11:58:55.123" Score="4" Body="&lt;p&gt;You need to make sure that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;you able to rich out your sitecore instance by &lt;code&gt;http&lt;/code&gt; protocol&lt;/li&gt;&#xA;&lt;li&gt;site https binding &quot;&lt;code&gt;Require Server Name Indication&lt;/code&gt;&quot; setting is unchecked&lt;/li&gt;&#xA;&lt;li&gt;you don't have any URL Rewrite rules for redirect from &lt;code&gt;http&lt;/code&gt; to &lt;code&gt;https&lt;/code&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After all these steps you can create a new connection:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4oPwQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4oPwQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just checked it on my local env on the same Sitecore 9.1.0 instance and it works fine.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2019-12-06T09:16:50.247" LastActivityDate="2019-12-06T09:16:50.247" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19265" PostTypeId="1" AcceptedAnswerId="19271" CreationDate="2019-06-10T14:30:24.697" Score="-3" ViewCount="165" Body="&lt;p&gt;I have a Sitecore 8.2 project that I'm upgrading to 9.1.1. I installed a fresh insistence of Sitecore 9.1.1 and moved my old project into it. I have it pointing at the old Core, Master, Web databases and everything seems to be running good. My question is should i still install the &quot;upgrade package&quot;? Do i need to upgrade my databases at all?&lt;/p&gt;&#xA;" OwnerUserId="5504" LastActivityDate="2019-06-10T23:47:49.330" Title="Sitecore 9.1.1 upgrade" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19266" PostTypeId="1" CreationDate="2019-06-10T15:18:07.540" Score="0" ViewCount="709" Body="&lt;p&gt;I have created a custom field in Sitecore 9.0.1 as &lt;code&gt;conditional rendering&lt;/code&gt; having One &lt;code&gt;radio button&lt;/code&gt; and based on &lt;code&gt;radio button&lt;/code&gt; selection i am showing and hiding the fields which are &lt;code&gt;label&lt;/code&gt; and &lt;code&gt;text box&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my requirement is that when someone select yes then show &lt;code&gt;TextBox&lt;/code&gt; that is mandatory and finally on Submission of the form I need that &lt;code&gt;TextBox&lt;/code&gt; field value?&lt;/p&gt;&#xA;" OwnerUserId="5632" LastEditorUserId="5096" LastEditDate="2019-06-11T08:40:25.727" LastActivityDate="2024-03-16T21:02:05.250" Title="Not Getting Custom Field value on Custom Form save action in sitecore 9.0.1" Tags="|sitecore-forms|custom-field|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="19267" PostTypeId="1" AcceptedAnswerId="19300" CreationDate="2019-06-10T15:20:36.823" Score="1" ViewCount="1036" Body="&lt;p&gt;I have created a custom hidden field element in sitecore 9.0.1 forms(refered sitecore documentation &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/walkthrough--creating-a-custom-form-element.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/walkthrough--creating-a-custom-form-element.html&lt;/a&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created a form and added Default form save action. While posting form data to database,the custom field is not saved in database (note: others fields are saved).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything that I missed ?&lt;/p&gt;&#xA;" OwnerUserId="4765" LastActivityDate="2019-06-11T14:50:25.093" Title="Sitecore 9.0.1 Custom form field element is not saving" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19268" PostTypeId="1" AcceptedAnswerId="19277" CreationDate="2019-06-10T18:04:41.640" Score="0" ViewCount="78" Body="&lt;p&gt;I have a &lt;code&gt;Sitecore 9.1 XP&lt;/code&gt; local dev installation with self-signed certificates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how the &lt;code&gt;SSL Certificate&lt;/code&gt; for my Collection instance is configured:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;xconnect.collection&quot; connectionString=&quot;https://XPScaled910.collection&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;xconnect.collection.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=621B26950DC9DE426493B9698ECA36CDBD4CD26A&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;XPScaled910.collection certificate&lt;/code&gt; is correctly configured in the PERSONAL store of the Local Computer, and the Application Pool identity of the Sitecore XP server has access to it (I edited the permissions):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B72Hu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B72Hu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run the xConnect Client Endpoint troubleshooter I get a &lt;code&gt;Could not create SSL/TSL secure channel&lt;/code&gt; error and the following entry in the Windows Event Viewer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hy26a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hy26a.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this does not tell me much about what steps to undertake next in order to resolve the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QUESTION&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What does this Window Event (&quot;Audit Failure&quot;) tells me? How can I overcome the &lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="5387" LastEditDate="2019-06-11T08:40:28.660" LastActivityDate="2019-06-11T08:40:28.660" Title="What does &quot;Audit Failure&quot; (a Windows Event) mean in the context of a Sitecore 9 &quot;Could not create SSL/TLS secure channel&quot; error?" Tags="|xconnect|certificate|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19270" PostTypeId="2" ParentId="19262" CreationDate="2019-06-10T20:50:13.383" Score="0" Body="&lt;p&gt;Generally, Sitecore Workflow engine does not provide the &quot;&lt;strong&gt;__OnDelete&lt;/strong&gt;&quot; action out of the box. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only the &quot;&lt;strong&gt;__OnSave&lt;/strong&gt;&quot; action is supported. This action is defined in the following pipeline:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Pipelines.Save.WorkflowSaveCommand&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6uIyL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6uIyL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main &lt;strong&gt;Process&lt;/strong&gt; method of the &lt;strong&gt;WorkflowSaveCommand&lt;/strong&gt; contains the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Item obj1 = Client.ContentDatabase.GetItem(saveItem.ID, saveItem.Language, saveItem.Version);&#xA;    if (obj1 != null)&#xA;    {&#xA;      IWorkflow workflow = workflowProvider.GetWorkflow(obj1);&#xA;      if (workflow != null &amp;amp;&amp;amp; workflow.GetState(obj1) != null)&#xA;      {&#xA;        foreach (WorkflowCommand command in workflow.GetCommands(obj1))&#xA;        {&#xA;          Item obj2 = Client.ContentDatabase.GetItem(command.CommandID);&#xA;          if (obj2 != null &amp;amp;&amp;amp; !(obj2.Name != &quot;__OnSave&quot;))&#xA;            workflow.Execute(command.CommandID, obj1, string.Empty, false, Array.Empty&amp;lt;object&amp;gt;());&#xA;        }&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;According to this, you need:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Implement a custom &quot;&lt;strong&gt;__OnDelete&lt;/strong&gt;&quot; item event handler subscribed the &quot;&lt;strong&gt;item:deleted&lt;/strong&gt;&quot; event;&lt;/li&gt;&#xA;&lt;li&gt;Implement a pretty the same logic as above using &quot;__OnDelete&quot; keyword where it needs;&lt;/li&gt;&#xA;&lt;li&gt;Create &quot;&lt;strong&gt;__OnDelete&lt;/strong&gt;&quot; action in your workflow (just take a look at the &lt;strong&gt;Default Sample&lt;/strong&gt; workflow, as an example):&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CuNBq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CuNBq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4782" LastActivityDate="2019-06-10T20:50:13.383" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19271" PostTypeId="2" ParentId="19265" CreationDate="2019-06-10T23:47:49.330" Score="2" Body="&lt;p&gt;This is how I typically do upgrades...this is a bit simplistic, as it may get expansive based on your environment(s):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install the &lt;strong&gt;current&lt;/strong&gt; Sitecore instance and connect the existing databases (core and master) to it. Do NOT publish custom code to this.&lt;/li&gt;&#xA;&lt;li&gt;Run the Sitecore upgrade package so that your databases get the updates they need.&lt;/li&gt;&#xA;&lt;li&gt;Install the &lt;strong&gt;new&lt;/strong&gt; Sitecore instance and connect the upgraded core and master databases. (You don't need web, since that's just published out from the master.)&lt;/li&gt;&#xA;&lt;li&gt;In your codebase, update the appropriate packages and configs. Assuming you used transforms and didn't modify your base web.config from what Sitecore delivers, this should be easier. Going from 8.x to 9.x, you also need to account for the use of roles, which can make it so you convert transforms on App_Config/Include files to just use roles.&lt;/li&gt;&#xA;&lt;li&gt;Handle any other code changes, deprecated calls, upgrading Glass Mapper, etc etc as needed.&lt;/li&gt;&#xA;&lt;li&gt;Publish your upgraded code to the &lt;strong&gt;new&lt;/strong&gt; instance and start testing.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;That's very high level but should get you started. This way you keep your existing instance in the event of issues, as well.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-06-10T23:47:49.330" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19272" PostTypeId="2" ParentId="19260" CreationDate="2019-06-11T01:43:52.870" Score="0" Body="&lt;p&gt;sp_configure is only available on managed instance, it's not available on Azure SQL Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this issue try creating contained database users on Azure SQL Database.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-11T01:43:52.870" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19273" PostTypeId="2" ParentId="19260" CreationDate="2019-06-11T01:50:29.497" Score="0" Body="&lt;p&gt;Thanks @Peter. We can not execute sp_configure with Contained Database option in current Azure SQL Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Approach of Deployment should be&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Full on Premise Deployment&lt;/li&gt;&#xA;&lt;li&gt;IaaS (Infrastructure As A Service)&lt;/li&gt;&#xA;&lt;li&gt;Sitecore in Azure App Service. (PaaS)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="526" LastEditorUserId="526" LastEditDate="2019-06-11T01:59:29.347" LastActivityDate="2019-06-11T01:59:29.347" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19274" PostTypeId="1" AcceptedAnswerId="19275" CreationDate="2019-06-11T02:00:49.663" Score="0" ViewCount="655" Body="&lt;p&gt;I am looking to install &lt;code&gt;xConnect&lt;/code&gt; only through SIF with 9.1.1. I am upgrading from Sitecore 8.2 so didn't had any preexisting &lt;code&gt;xConnect&lt;/code&gt; setup. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following the upgrade process from Sitecore which says that you have to install &lt;code&gt;xConnect&lt;/code&gt; only but I am not able to find the process for that in the guide. I know that I can use SIF to install &lt;code&gt;xConnect&lt;/code&gt; only but not sure what sort of configuration I need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can use the &lt;code&gt;singledeveloper.ps1&lt;/code&gt; script to install everything and remove the not required components afterwards as an alternative. Has anyone encountered into similar situation before? &lt;/p&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="2056" LastEditDate="2019-06-11T06:02:06.733" LastActivityDate="2019-06-11T06:02:06.733" Title="Install xConnect Separately with Sitecore upgrade" Tags="|xconnect|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19275" PostTypeId="2" ParentId="19274" CreationDate="2019-06-11T02:56:59.523" Score="3" Body="&lt;p&gt;I would recommends you create a new environment and migrate your data/site into that environment. With 9.1 beyond xConnect you have identity server all all the configs that tie it together.&lt;/p&gt;&#xA;&lt;p&gt;This file will set up all the parameters for xconnect install. Just change the name and paths to what you need.&lt;/p&gt;&#xA;&lt;h3&gt;Install-Xconnect-tasks-parameters.ps1&lt;/h3&gt;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters&#xA;$prefix = &amp;quot;sc91&amp;quot;&#xA;$PSScriptRoot = &amp;quot;C:\resourcefiles&amp;quot;&#xA;&#xA;$XConnectCollectionService = &amp;quot;$prefix.xconnect&amp;quot;&#xA;$sitecoreSiteName = &amp;quot;$prefix.sc&amp;quot;&#xA;$SolrUrl = &amp;quot;https://solr:8983/solr&amp;quot;&#xA;$SolrRoot = &amp;quot;C:\solr\solr-7.2.1&amp;quot;&#xA;$SolrService = &amp;quot;Solr-7.2.1&amp;quot;&#xA;$SqlServer = &amp;quot;.\SQLEXPRESS&amp;quot;&#xA;$SqlAdminUser = &amp;quot;dev&amp;quot;&#xA;$SqlAdminPassword = &amp;quot;dev123&amp;quot;&#xA;$IdentityServerSiteName = &amp;quot;$prefix.identityserver&amp;quot;&#xA;$ClientSecret=&amp;quot;Random_STRING&amp;quot;&#xA;$SitecoreAdminPassword = &amp;quot;b&amp;quot;&#xA;&#xA;&#xA;#install client certificate for xconnect&#xA;$certParams = @{&#xA; Path = &amp;quot;$PSScriptRoot\createcert.json&amp;quot;&#xA; CertificateName = &amp;quot;$prefix.xconnect_client&amp;quot;&#xA;}&#xA;&#xA;#install solr cores for xdb&#xA;$XconnectsolrParams = @{&#xA; Path = &amp;quot;$PSScriptRoot\xconnect-solr.json&amp;quot;&#xA; SolrUrl = $SolrUrl&#xA; SolrRoot = $SolrRoot&#xA; SolrService = $SolrService&#xA; CorePrefix = $prefix&#xA;}&#xA;&#xA;#deploy xconnect instance&#xA;$xconnectParams = @{&#xA; Path = &amp;quot;$PSScriptRoot\xconnect-xp0.json&amp;quot;&#xA; Package = &amp;quot;$PSScriptRoot\Sitecore 9.1.0 rev. 001564 (OnPrem)_xp0xconnect.scwdp.zip&amp;quot;&#xA; LicenseFile = &amp;quot;$PSScriptRoot\license.xml&amp;quot;&#xA; Sitename = $XConnectCollectionService&#xA; XConnectCert = $certParams.CertificateName&#xA; SqlDbPrefix = $prefix&#xA; SqlServer = $SqlServer&#xA; SqlAdminUser = $SqlAdminUser&#xA; SqlAdminPassword = $SqlAdminPassword&#xA; SolrCorePrefix = $prefix&#xA; SolrURL = $SolrUrl&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This file kicks off the parameters you specified above.&lt;/p&gt;&#xA;&lt;h2&gt;Install Script&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;. $PSScriptRoot\Install-Xconnect-tasks-parameters.ps1&#xA;&#xA;Install-SitecoreConfiguration @certParams -Verbose&#xA;&#xA;Install-SitecoreConfiguration @XconnectsolrParams&#xA;&#xA;Install-SitecoreConfiguration @xconnectParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-06-11T02:56:59.523" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19276" PostTypeId="2" ParentId="19260" CreationDate="2019-06-11T03:17:26.047" Score="4" Body="&lt;p&gt;I don't want this to be a link only answer, but I have several IaaS installs using Azure SQL as the database. You need to extract the user creation SQL scripts from the SIF scwsp files, modify them and then repackage the scwsp files. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can follow the steps here to repackage the sql scripts you need for Azure SQL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.chrissulham.com/modify-sitecore-install-framework-packages-for-azure-sql/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.chrissulham.com/modify-sitecore-install-framework-packages-for-azure-sql/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also in the &lt;code&gt;xconnect-xp0.json&lt;/code&gt; file, you need to change &lt;code&gt;Sharding.DacPac.Path&lt;/code&gt; to point at azure file and not the normal SQL path. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Xdb.Collection.Database.Sql.dacpac&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;becomes &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Xdb.Collection.Database.Sql.Azure.dacpac&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The full like is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&quot;Sharding.DacPac.Path&quot;: &quot;[joinpath(variable('Sharding.Root.Path'), 'Sitecore.Xdb.Collection.Database.Sql.dacpac')]&quot;,&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&quot;Sharding.DacPac.Path&quot;: &quot;[joinpath(variable('Sharding.Root.Path'), 'Sitecore.Xdb.Collection.Database.Sql.Azure.dacpac')]&quot;,&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-06-11T04:16:55.453" LastActivityDate="2019-06-11T04:16:55.453" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19277" PostTypeId="2" ParentId="19268" CreationDate="2019-06-11T04:37:08.983" Score="1" Body="&lt;p&gt;Can you please try below two fixes.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Check client certificate Thumbprint value in config file is maching with the certificate Thumbprint.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Give certificate access to app pool user.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="1273" LastEditDate="2019-06-11T06:12:30.623" LastActivityDate="2019-06-11T06:12:30.623" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19278" PostTypeId="2" ParentId="19266" CreationDate="2019-06-11T04:57:02.193" Score="0" Body="&lt;p&gt;You can check logic in this link &lt;a href=&quot;https://sitecore.stackexchange.com/questions/17998/how-to-add-conditional-field-in-sitecore-9-form/18000#18000&quot;&gt;How to add Conditional field in sitecore 9 Form?&lt;/a&gt; where I am hiding &lt;code&gt;Sections&lt;/code&gt;, you can hide text box.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To apply mandatory logic you can play with &lt;code&gt;aria-required&lt;/code&gt; ,&lt;code&gt;required&lt;/code&gt;,&lt;code&gt;data-val&lt;/code&gt; attribute&lt;/p&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-06-11T04:57:02.193" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19279" PostTypeId="1" CreationDate="2019-06-11T06:53:46.117" Score="4" ViewCount="157" Body="&lt;p&gt;I have workflow enabled on Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I edit any item and send it to a reviewer, the reviewer is not able to see the shared fields in the compare tab, so any changes made in a shared field, cannot be reviewed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to make the shared fields visible in the compare tab?&lt;/p&gt;&#xA;" OwnerUserId="5635" LastEditorUserId="70" LastEditDate="2019-06-11T13:58:05.247" LastActivityDate="2019-06-11T13:58:05.247" Title="Sitecore workbox compare is not showing shared fields on comparing two version" Tags="|workflow|workbox|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19280" PostTypeId="1" AcceptedAnswerId="19291" CreationDate="2019-06-11T07:57:57.833" Score="0" ViewCount="139" Body="&lt;p&gt;On a &lt;em&gt;Sitecore 9.1 Initial Release&lt;/em&gt; site with JSS (Angular JS), we are noticing a large number of these errors in the Sitecore logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;15888 15:09:55 ERROR ERROR [Error]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the entire error message, and it's not obvious to see what could be causing it. I've had a good look through configuration and decompiling binaries to try and see what might be raising this, but without luck. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone come across this and knows what this is related to?&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2019-06-11T11:12:45.673" Title="What is this error in the Sitecore error logs?" Tags="|jss|logging|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19281" PostTypeId="2" ParentId="19279" CreationDate="2019-06-11T08:16:59.040" Score="1" Body="&lt;p&gt;Sitecore &lt;code&gt;Workbox&lt;/code&gt; uses &lt;code&gt;Diff&lt;/code&gt; dialog to compare versions of an item. Save dialog is used in &lt;code&gt;Translate&lt;/code&gt; mode in Content Editor. That's why it only shows &lt;code&gt;Versioned&lt;/code&gt; fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I totally agree that it should include &lt;code&gt;Shared&lt;/code&gt; fields as well, but I don't see any easy way to achieve that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;DiffForm&lt;/code&gt; class which is used by &lt;code&gt;Diff&lt;/code&gt; view calls &lt;code&gt;Compare&lt;/code&gt; method which either runs &lt;code&gt;OneColumnDiffView.Compare()&lt;/code&gt; or &lt;code&gt;TwoCoumnsDiffView.Compare()&lt;/code&gt; (depending on the user registry setting).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They both inherit from &lt;code&gt;DiffView&lt;/code&gt; abstract class which has &lt;code&gt;protected virtual bool ShowField(Field field)&lt;/code&gt; method, which in the default implementation returns false for &lt;code&gt;Shared&lt;/code&gt; fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the only solution that I can think of is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;create new classes inheriting from both &lt;code&gt;TwoCoumnsDiffView&lt;/code&gt; and &lt;code&gt;OneColumnDiffView&lt;/code&gt; and override &lt;code&gt;ShowField&lt;/code&gt; method to make sure that &lt;code&gt;Shared&lt;/code&gt; fields are shown.&lt;/li&gt;&#xA;&lt;li&gt;create new custom &lt;code&gt;DiffForm&lt;/code&gt; class inheriting from the original &lt;code&gt;DiffForm&lt;/code&gt; class, decompile the original class and copy the whole code of &lt;code&gt;OnLoad&lt;/code&gt;, &lt;code&gt;OnPreRender&lt;/code&gt; and &lt;code&gt;Refresh&lt;/code&gt; methods + the &lt;code&gt;Compare&lt;/code&gt; method with a single change - use your custom &lt;code&gt;TwoCoumnsDiffView&lt;/code&gt; and &lt;code&gt;OneColumnDiffView&lt;/code&gt; classes there instead of the original classes.&lt;/li&gt;&#xA;&lt;li&gt;edit &lt;code&gt;sitecore\shell\Applications\Dialogs\Diff.xml&lt;/code&gt; file and set &lt;code&gt;CodeBeside&lt;/code&gt; property to your custom &lt;code&gt;DiffForm&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It will work but it will be hard to maintain while upgrading to newer Sitecore versions. You will have to double check if everything works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it worth it? That's your (or your client decision).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may also raise a Sitecore Support decision and explain that the workbox diff view doesn't show &lt;code&gt;Shared&lt;/code&gt; fields which are changed between the versions and ask them to provide you a patch for the issue. But the only thing they can do is the same what I wrote above.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-11T08:16:59.040" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19285" PostTypeId="1" AcceptedAnswerId="19298" CreationDate="2019-06-11T09:28:35.850" Score="0" ViewCount="243" Body="&lt;p&gt;I have an &lt;code&gt;Sitecore app (9.0.2)&lt;/code&gt; &lt;code&gt;MVC&lt;/code&gt; application, in which I send to the Controller a  &lt;code&gt;FormCollection&lt;/code&gt; object, with an &lt;code&gt;Ajax&lt;/code&gt; call (because I create dynamically tabs with in View).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Controller, I have a redirect to a payment service:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WebUtil.Redirect(new RealExService().RedirectPost(postData, Sitecore.Configuration.Settings.GetSetting(&quot;realexurl&quot;,&quot;https://pay.realexpayments.com/pay&quot;)).AbsoluteUri);&#xA;(...)&#xA;return View(&quot;~/Views/Complete.cshtml&quot;, viewModel);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The issue is that when the redirect happens, Request Method automatically changes to OPTIONS and thus I get a status code of 403 and the payment form is not shown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have switched the &lt;code&gt;POST&lt;/code&gt; request from &lt;code&gt;AJAX&lt;/code&gt; call to &lt;code&gt;MVC&lt;/code&gt; form submit and it works as expected. (with the price of losing dynamic content on the View)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you.&lt;/p&gt;&#xA;" OwnerUserId="5520" LastEditorUserId="5615" LastEditDate="2019-06-11T11:45:49.450" LastActivityDate="2019-06-11T14:31:16.107" Title="Sitecore.Web.WebUtil.Redirect not working with Ajax call" Tags="|redirect|mvc-forms|ajax|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19286" PostTypeId="1" CreationDate="2019-06-11T10:30:23.373" Score="1" ViewCount="129" Body="&lt;p&gt;Has anyone worked on filter expression from &lt;code&gt;xConnect&lt;/code&gt;, which filters contacts based on custom facet property (modified in last 24hrs)?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have written a custom converter and expression fro the same&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Converter:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Protected override ConvertResult&amp;lt;IEntityExpressionBuilder&amp;gt; ConvertSupportedItem(ItemModel source)&#xA;{&#xA;        var convertResult = ConverttoDateTime(this.GetDateTimeValue(source,&quot;ModifiedOn&quot;));&#xA;        if (!convertResult.WasConverted)&#xA;        {&#xA;            return NegativeResult(source, $&quot;Cannot convert GUID condition expression to expression type.&quot;);&#xA;        }&#xA;        var expressionBuilder = new FacetPropertyModifiedOnExpression(convertResult.ConvertedValue,&#xA;            base.GetFacetType(source),&#xA;            base.GetFacetKeyName(source),&#xA;            base.GetFacetPropertyName(source));&#xA;        return PositiveResult(expressionBuilder);}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since ModifiedOn is a &lt;code&gt;Datetime&lt;/code&gt;, we could not get a Converter which would solve the purpose, so we had to take &lt;code&gt;ConverttoDateTime(this.GetDateTimeValue(source,&quot;ModifiedOn&quot;))&lt;/code&gt; &lt;code&gt;ConverttoDateTime&lt;/code&gt; doesn’t do anything in specific it returns a positive result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Custom Expression&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        var left = Expression.Property(getFacetExpression, this.FacetPropertyName);&#xA;        var daybefore = Expression.Constant(DateTime.UtcNow.AddDays(-1));&#xA;        var daynow = Expression.Constant(DateTime.UtcNow);&#xA;        var ex1 =Expression.GreaterThanOrEqual(Expression.Convert(left, typeof(DateTime)), daybefore);&#xA;        var ex2 = Expression.LessThan(Expression.Convert(left, typeof(DateTime)), daynow);&#xA;        var finalexpression = Expression.AndAlso(ex1, ex2);&#xA;        var exp1 = Expression.Lambda&amp;lt;Func&amp;lt;TEntity, bool&amp;gt;&amp;gt;(finalexpression, pe);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The result of exp1 is &lt;code&gt;{entity =&amp;gt; ((Convert(entity.GetFacet(&quot;DynamicsCrm&quot;).ProfileLastUpdatedOn) &amp;gt;= 6/9/2019 10:27:59 AM)&lt;/code&gt; AndAlso &lt;code&gt;(Convert(entity.GetFacet(&quot;DynamicsCrm&quot;).ProfileLastUpdatedOn) &amp;lt; 6/10/2019 10:27:59 AM))}&lt;/code&gt; which seems to be correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the above two custom code, it doesn't sync the leads/contacts in the past 24 hrs. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly help&lt;/p&gt;&#xA;" OwnerUserId="5249" LastEditorUserId="5615" LastEditDate="2019-06-11T11:45:44.983" LastActivityDate="2019-07-18T13:06:23.417" Title="xConnect Filter expression for DateTime" Tags="|xconnect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19288" PostTypeId="2" ParentId="18791" CreationDate="2019-06-11T10:55:38.320" Score="5" Body="&lt;p&gt;The problem was that the Sitecore XP Server's Application Pool had no permission to access the&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;XPScaled910.xconnect_client&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Client&lt;/strong&gt; Certificate. As it turns out, it was that particular certificate - and not the XPScaled910.collection one - that was being accessed. I found this out by checking the thumbprint used in the &quot;xconnect.collection.certificate&quot; connection string, this corresponded to the &lt;em&gt;XPScaled910.xconnect_client&lt;/em&gt; certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was kind of puzzled by the fact that multiple connection string use that same thumbprint, I then realized that this is the &lt;em&gt;Client Certificate&lt;/em&gt; for those servers, which is not the same as the one being used by their own IIS instance.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-10-18T11:12:03.060" LastActivityDate="2019-10-18T11:12:03.060" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19290" PostTypeId="1" AcceptedAnswerId="19309" CreationDate="2019-06-11T11:08:10.587" Score="4" ViewCount="1256" Body="&lt;p&gt;I am troubleshooting why GeoIP information is not being resolved in my Sitecore 9.1.1 instance on Azure PaaS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To try and ascertain whether the Sitecore GeoIP services has been subscribed to correctly, I followed the steps outlined here - &lt;a href=&quot;https://sitecore.stackexchange.com/a/8379/73&quot;&gt;https://sitecore.stackexchange.com/a/8379/73&lt;/a&gt; - and proceeded to try and lookup an IP address on the server in question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It fails me with this.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Server Error in '/' Application.&#xA;  geoIpServiceUri&#xA;  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception Details: System.InvalidOperationException: geoIpServiceUri&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And the stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[InvalidOperationException: geoIpServiceUri]&#xA;   Sitecore.CES.GeoIp.SitecoreProvider.RequestGeoIpService(String ip) +264&#xA;   Sitecore.CES.GeoIp.SitecoreProvider.GetWhoIsInformationByIp(String ip) +313&#xA;   Sitecore.Analytics.Lookups.LookupManager.GetInformationByIp(String ip) +53&#xA;   ASP.sitecore_admin_testip_aspx.Button1_Click(Object sender, EventArgs e) +41&#xA;   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +141&#xA;   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +150&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5445&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've narrowed it down to being something related to the Discovery Endpoint resolution. I'm just not sure where said geoIpServiceUri is supposed to be configured or where to look next.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-06-11T19:50:25.880" Title="System.InvalidOperationException: geoIpServiceUri" Tags="|configuration|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19291" PostTypeId="2" ParentId="19280" CreationDate="2019-06-11T11:12:45.673" Score="0" Body="&lt;p&gt;It turns out after some digging, the error underneath that ERROR ERROR [Error] is &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;TypeError: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Dilemma averted, however I'd love to know how that error message was suppressed in favour of ERROR ERROR [Error].&lt;/p&gt;&#xA;" OwnerUserId="5638" LastActivityDate="2019-06-11T11:12:45.673" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19293" PostTypeId="1" AcceptedAnswerId="19323" CreationDate="2019-06-11T12:01:50.143" Score="0" ViewCount="215" Body="&lt;p&gt;I have only worked with Sitecore 8+ and for Ajax calls, all I do is this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $.ajax({&#xA;       url: '@Url.Action(&quot;ActionName&quot;, &quot;ControllerName&quot;)',&#xA;       type: &quot;POST&quot;,&#xA;       data: '{sampleModel: ' + JSON.stringify(jsModel) + '}',&#xA;       contentType: &quot;application/json; charset=utf-8&quot;,&#xA;       dataType: &quot;json&quot;,&#xA;       success: function (response) {&#xA;       },&#xA;  });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The controller is a regular MVC controller and also there was no need to create any Routes. I also delete the &lt;code&gt;routeconfig.cs&lt;/code&gt; as soon as creating the project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works. Now this is Sitecore 7 with MVC 3 and the same Ajax call isn't working. It throws the 404 in the browser console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should anything else be done in Sitecore 7 or MVC 3.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2019-06-12T10:36:34.723" Title="Sitecore 7 Ajax call not working" Tags="|ajax|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19294" PostTypeId="2" ParentId="6033" CreationDate="2019-06-11T14:16:22.430" Score="0" Body="&lt;p&gt;I came across the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the error message displayed mentions &lt;strong&gt;&quot;You may need to serialize this item's parents&quot;&lt;/strong&gt;, I tried to serialize the tree before going into config. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's how I did it.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select the parent item (where the error occurred on saving the item)&lt;/li&gt;&#xA;&lt;li&gt;Go to Developer Tab and Select &quot;Serialize Tree&quot; or &quot;Serialize item &quot; based on your requirement&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;(It might happen you have to repeat this once.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the physical path mentioned in the message for your item's yml files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your item is now controlled by Unicorn!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lUsFx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lUsFx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5611" LastActivityDate="2019-06-11T14:16:22.430" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19295" PostTypeId="2" ParentId="19261" CreationDate="2019-06-11T14:17:34.420" Score="4" Body="&lt;p&gt;It sounds like your Listing component does not belong in the Articles module, if it needs to display more than just Article items. Similar to how you would implement a Navigation component, the Listing component should have an associated interface template (e.g. &lt;code&gt;_ListingItem&lt;/code&gt;) which defines the field(s) needed for the Listing. This interface template can be used by any Page types which may be listed, including Articles and News. The dependency thus flows to the Project layer, and not between Features.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This component and template could be in their own module, or perhaps in an existing &quot;Basic Components&quot; or &quot;Navigation&quot; module. Perhaps the component could even reuse an existing &lt;code&gt;_Navigable&lt;/code&gt; interface template and its fields(s) if you have one?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info on Interface Templates can be found in the &lt;a href=&quot;https://helix.sitecore.net/principles/templates/template-types.html#interface-templates&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix documentation&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2019-06-11T14:17:34.420" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19296" PostTypeId="1" AcceptedAnswerId="19305" CreationDate="2019-06-11T14:21:38.193" Score="1" ViewCount="184" Body="&lt;p&gt;I would like with Sitecore Powershell to extract and display the ID(s) of the save action(s) that a WFFM has assigned. Those IDs in fact the ID of items from &lt;code&gt;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The field Save Actions from WFFM has the content saved as a xml and I would like to parse it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do it in Sitecore Powershell ? &lt;/p&gt;&#xA;" OwnerUserId="447" LastEditorUserId="447" LastEditDate="2019-06-14T08:46:40.907" LastActivityDate="2019-06-14T08:46:40.907" Title="Display save actions for a WFFM form in Sitecore PowerShell" Tags="|wffm|powershell-extensions|powershell|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19298" PostTypeId="2" ParentId="19285" CreationDate="2019-06-11T14:31:16.107" Score="0" Body="&lt;p&gt;I have fixed the issue by replacing&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WebUtil.Redirect(new RealExService().RedirectPost(postData, Sitecore.Configuration.Settings.GetSetting(&quot;realexurl&quot;,&quot;https://pay.realexpayments.com/pay&quot;)).AbsoluteUri);&#xA;(...)&#xA;return View(&quot;~/Views/Complete.cshtml&quot;, viewModel);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return Content(new RealExService().RedirectPost(postData, Sitecore.Configuration.Settings.GetSetting(&quot;realexurl&quot;, &quot;https://pay.realexpayments.com/pay&quot;)).AbsoluteUri);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and in the Ajax call:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;success: function (response, textStatus, jQxhr) &#xA;{&#xA;   window.location.href = response;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5520" LastActivityDate="2019-06-11T14:31:16.107" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19300" PostTypeId="2" ParentId="19267" CreationDate="2019-06-11T14:50:25.093" Score="3" Body="&lt;p&gt;I have resolved with these below steps :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Two things we need to do to save a custom field.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Inherit &lt;strong&gt;Save settings&lt;/strong&gt; template to your custom field template.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E92Y2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E92Y2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Navigate to your field item in question (like /sitecore/Forms/your form/page/your field) in content editor and make sure that &quot;Allow Save&quot; option is checked.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4765" LastActivityDate="2019-06-11T14:50:25.093" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19301" PostTypeId="1" CreationDate="2019-06-11T14:52:27.333" Score="4" ViewCount="561" Body="&lt;p&gt;I want to make a &lt;code&gt;item:saving&lt;/code&gt; pipeline processor that will perform some operations when a item field is reset. I thought this would be simple, but it turned out to be trickier than I thought. Maybe I'm just missing something.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the &lt;code&gt;item:saving&lt;/code&gt; processor is triggered, I can get the modified fields by &lt;code&gt;savingItem.Fields.Where(f =&amp;gt; f.IsModified)&lt;/code&gt;. I found that, when resetting a field, the fields &lt;code&gt;Value&lt;/code&gt; is an empty string, &lt;code&gt;HasValue&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt; and &lt;code&gt;ResetBlank&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I expected the opposite (&lt;code&gt;Value&lt;/code&gt; to be &lt;code&gt;null&lt;/code&gt;, &lt;code&gt;HasValue&lt;/code&gt; to be &lt;code&gt;false&lt;/code&gt; and &lt;code&gt;ResetBlank&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt;) during the &lt;code&gt;item:saving&lt;/code&gt;, but the reset operation is eventually performed properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I distinguish a field reset from storing an empty string in the &lt;code&gt;item:saving&lt;/code&gt; pipeline? (This is on Sitecore 9.0.1)&lt;/p&gt;&#xA;" OwnerUserId="213" LastActivityDate="2019-07-12T11:02:15.263" Title="How to catch field reset in item:saving event" Tags="|content-editor|pipelines|events|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19302" PostTypeId="2" ParentId="19296" CreationDate="2019-06-11T15:12:28.157" Score="1" Body="&lt;p&gt;You could just parse the field contents using the inbuilt PowerShell parsers:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[xml]$saveActions = $formItem[Sitecore.Form.Core.Configuration.FieldIDs.SaveActionsID]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That is now in a standard .net &lt;code&gt;XmlDocument&lt;/code&gt; object, so you can use standard methods to parse that, like &lt;code&gt;Select-Xml&lt;/code&gt; with &lt;code&gt;XPath&lt;/code&gt; queries or:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$saveActions.node.attribute &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;etc...&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-11T15:12:28.157" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19303" PostTypeId="1" AcceptedAnswerId="19339" CreationDate="2019-06-11T15:31:17.803" Score="1" ViewCount="1054" Body="&lt;p&gt;Using 8.2, trying to use &lt;code&gt;Geolocation Service&lt;/code&gt; in my code to get data about the user's location:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var geoData = Tracker.Current.Session.Interaction.GeoData;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;geoData is not null, however every property is being returned as N/A (state = &quot;N/A&quot;, country = &quot;N/A&quot;, etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've logged into the Geolocation service in Sitecore through the App Center, and in the experience editor, it shows that the service is working. I double checked that in &lt;code&gt;Sitecore.xdb.config&lt;/code&gt;, I have: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Xdb.Enabled = true&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Xdb.Tracking.Enabled = true&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, Geolocation is working, but I've found the issue is that the user IP (from Tracker.Current.Session.Interaction.IP) is 127.0.0.1 (localhost) which is why it's not returning location data&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="5387" LastEditDate="2019-06-13T05:52:28.977" LastActivityDate="2019-06-13T05:54:14.753" Title="IP Geolocation Tracker.Current.Session.Interaction.GeoData returning N/A for all properties" Tags="|xdb|tracking|geo-location|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19304" PostTypeId="1" AcceptedAnswerId="22083" CreationDate="2019-06-11T15:35:32.257" Score="0" ViewCount="6118" Body="&lt;p&gt;Our Sitecore Solr has issues with the Sitecore analytics index and the error message is :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Error opening New Searcher. Core is missing.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We tried to look in to the error but could not gather much information on why this is happening.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a production environment and we need to make sure that adding the Solr core again with same index files helps before going through deploying process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;null:org.apache.solr.common.SolrException: SolrCore 'sitecore_analytics_index' is not available due to init failure: Error opening new searcher&#xA;    at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:884)&#xA;    at org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:247)&#xA;    at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:412)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227)&#xA;    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196)&#xA;    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)&#xA;    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)&#xA;    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)&#xA;    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)&#xA;    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)&#xA;    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)&#xA;    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)&#xA;    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)&#xA;    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)&#xA;    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)&#xA;    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)&#xA;    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)&#xA;    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)&#xA;    at org.eclipse.jetty.server.Server.handle(Server.java:497)&#xA;    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)&#xA;    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)&#xA;    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)&#xA;    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)&#xA;    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)&#xA;    at java.lang.Thread.run(Thread.java:748)&#xA;Caused by: org.apache.solr.common.SolrException: Error opening new searcher&#xA;    at org.apache.solr.core.SolrCore.(SolrCore.java:815)&#xA;    at org.apache.solr.core.SolrCore.(SolrCore.java:658)&#xA;    at org.apache.solr.core.CoreContainer.create(CoreContainer.java:637)&#xA;    at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:381)&#xA;    at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:375)&#xA;    at java.util.concurrent.FutureTask.run(FutureTask.java:262)&#xA;    at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:148)&#xA;    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)&#xA;    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)&#xA;    ... 1 more&#xA;Caused by: org.apache.solr.common.SolrException: Error opening new searcher&#xA;    at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1657)&#xA;    at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1769)&#xA;    at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:911)&#xA;    at org.apache.solr.core.SolrCore.(SolrCore.java:788)&#xA;    ... 9 more&#xA;Caused by: org.apache.lucene.index.CorruptIndexException: codec header mismatch: actual header=423661802 vs expected header=1071082519 (resource=BufferedChecksumIndexInput(MMapIndexInput(path=&quot;xxx/solr/data/sitecore_analytics_index_sec/data/index.20180908031501818/_1f8x.cfs&quot;) [slice=_1f8x.fnm]))&#xA;    at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:197)&#xA;    at org.apache.lucene.codecs.CodecUtil.checkIndexHeader(CodecUtil.java:256)&#xA;    at org.apache.lucene.codecs.lucene50.Lucene50FieldInfosFormat.read(Lucene50FieldInfosFormat.java:115)&#xA;    at org.apache.lucene.index.IndexWriter.readFieldInfos(IndexWriter.java:908)&#xA;    at org.apache.lucene.index.IndexWriter.getFieldNumberMap(IndexWriter.java:924)&#xA;    at org.apache.lucene.index.IndexWriter.(IndexWriter.java:854)&#xA;    at org.apache.solr.update.SolrIndexWriter.(SolrIndexWriter.java:78)&#xA;    at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:65)&#xA;    at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:273)&#xA;    at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:116)&#xA;    at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1626)&#xA;    ... 12 more&#xA;    Suppressed: org.apache.lucene.index.CorruptIndexException: codec footer mismatch (file truncated?): actual footer=0 vs expected footer=-1071082520 (resource=BufferedChecksumIndexInput(MMapIndexInput(path=&quot;xxx/solr/data/sitecore_analytics_index_sec/data/index.20180908031501818/_1f8x.cfs&quot;) [slice=_1f8x.fnm]))&#xA;        at org.apache.lucene.codecs.CodecUtil.validateFooter(CodecUtil.java:416)&#xA;        at org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:331)&#xA;        at org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:379)&#xA;        at org.apache.lucene.codecs.lucene50.Lucene50FieldInfosFormat.read(Lucene50FieldInfosFormat.java:164)&#xA;        ... 20 more&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3472" LastEditorUserId="70" LastEditDate="2019-06-11T15:50:45.590" LastActivityDate="2019-09-16T14:45:16.120" Title="Error opening New Searcher. Core is missing: `Sitecore_Analytics_Index`" Tags="|solr|" AnswerCount="2" CommentCount="1" ClosedDate="2019-09-16T18:41:28.480" ContentLicense="CC BY-SA 4.0" />
  <row Id="19305" PostTypeId="2" ParentId="19296" CreationDate="2019-06-11T16:15:26.863" Score="5" Body="&lt;p&gt;You can use the script below. Just set the root directory which holds your forms to &lt;code&gt;$formsRoot&lt;/code&gt; variable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;gets all the forms from the root&lt;/li&gt;&#xA;&lt;li&gt;gets ids of all the save actions in the system&lt;/li&gt;&#xA;&lt;li&gt;creates a regex based on the ids of the actions&lt;/li&gt;&#xA;&lt;li&gt;calls the regex on the value of the &lt;code&gt;Save Actions&lt;/code&gt; field&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;$formsRoot = &quot;/sitecore/content/MYSITE/WffmForms&quot;&#xA;$forms = Get-Item master: -Query ($formsRoot + &quot;//*[@@TemplateId='{FFB1DA32-2764-47DB-83B0-95B843546A7E}']&quot;);&#xA;$availableActionIds = Get-Item master: -Query &quot;/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions//*[@@TemplateId='{E01318E7-CEED-4EA4-B107-1B8FAC3A3DB8}']&quot;| Select-Object -ExpandProperty ID;&#xA;$regex = [string]::Join(&quot;|&quot;, $availableActionIds).Replace(&quot;{&quot;, &quot;\{&quot;).Replace(&quot;}&quot;, &quot;\}&quot;);&#xA;$usedSaveActions = $forms | Select-Object -ExpandProperty &quot;Save Actions&quot; | Foreach-Object { return [System.Text.RegularExpressions.Regex]::Matches($_, $regex).Value; }&#xA;$usedSaveActions &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-11T16:15:26.863" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19306" PostTypeId="2" ParentId="19168" CreationDate="2019-06-11T16:22:42.910" Score="0" Body="&lt;p&gt;This ended up being an issue that needed to be fixed with a Hotfix from sitecore.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1.0 / SXA 1.8.0&#xA;&lt;a href=&quot;https://dl.sitecore.net/hotfix/SXA/SC%20Hotfix%20305265-1%20SXA%201.8%20rev.%20181112.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;Hotfix download&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3464" LastActivityDate="2019-06-11T16:22:42.910" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19307" PostTypeId="2" ParentId="19262" CreationDate="2019-06-11T16:23:48.343" Score="6" Body="&lt;p&gt;One way you could handle this would be to remove access (through security) to Delete items in the tree and instead add a workflow command that sends the items through a &quot;Delete Workflow.&quot;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;1. Restrict delete access&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Remove the &lt;strong&gt;Delete&lt;/strong&gt; access right from wherever you have defined it in your content tree.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Note: Unless you want &lt;em&gt;everyone&lt;/em&gt; to be subject to this new workflow for deletion, I would not apply the &lt;strong&gt;Deny&lt;/strong&gt; access right. Instead, remove the &lt;strong&gt;Grant&lt;/strong&gt; access right. Applying &lt;strong&gt;Deny&lt;/strong&gt; to a low-level role will cause others to lose this access, as well (since &lt;strong&gt;Deny&lt;/strong&gt; always beats &lt;strong&gt;Grant&lt;/strong&gt;).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h1&gt;2. Create custom deletion workflow action&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;In the workflow action which deletes the item (in the example above, &lt;code&gt;Delete Workflow/Pending Deletion Approval/Approve for Deletion/Delete&lt;/code&gt;), you will need to specify a type that contains a method to actually perform the deletion.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Specialized;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.SecurityModel;&#xA;using Sitecore.Web;&#xA;using Sitecore.Workflows.Simple;&#xA;&#xA;public class Delete&#xA;{&#xA;    public void Process(WorkflowPipelineArgs args)&#xA;    {&#xA;        Item dataItem = args.DataItem;&#xA;        Item workflowActionItem = args.ProcessorItem.InnerItem;&#xA;        NameValueCollection nameValueCollection = WebUtil.ParseUrlParameters(workflowActionItem[&quot;parameters&quot;]);&#xA;&#xA;        using (new SecurityDisabler())&#xA;        {&#xA;            dataItem.Recycle();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;3. Add delete workflow states and commands to your workflow&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Add the steps you want for handling deletion. A few things to consider:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The Delete workflow command should be in the &lt;strong&gt;Draft&lt;/strong&gt; state since you can't engage with it from the final workflow state (users will have to Lock and Edit to delete)&lt;/li&gt;&#xA;&lt;li&gt;There should be a step to get out of the deletion workflow (e.g. &lt;strong&gt;Reject Deletion&lt;/strong&gt; below)&lt;/li&gt;&#xA;&lt;li&gt;There needs to be a workflow action which references your custom action above to actually perform the deletion&lt;/li&gt;&#xA;&lt;li&gt;Don't forget to secure the workflow states and actions according to your security roles&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h3&gt;Example&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lmzNV.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lmzNV.png&quot; alt=&quot;Workflow item hierarchy&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-06-11T16:23:48.343" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19308" PostTypeId="1" CreationDate="2019-06-11T18:02:29.540" Score="0" ViewCount="1275" Body="&lt;p&gt;I am a beginner in sitecore and I am facing the below error while setting up sitecore on my local environment&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [-------------------------------------------------------------------------------------------------------- InstallWDP : WebDeploy ---------------------------------------------------------------------------------------------------------]&#xA;[WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe&#xA;Info: Adding MsDeploy.Site (MsDeploy.Site).&#xA;Info: Adding database (user id=sca;data source=(local);initial catalog=xp0_Processing.Pools)&#xA;Info: Creating deployment plan: Pending.&#xA;Info: Verifying deployment plan: Pending.&#xA;Info: Deploying package to database: Pending.&#xA;Info: Creating deployment plan: Running.&#xA;Info: Initializing deployment (Start)&#xA;Info: Initializing deployment (Failed)&#xA;Info: Creating deployment plan: Faulted.&#xA;Info: Verifying deployment plan: Faulted.&#xA;Info: Deploying package to database: Faulted.&#xA;Error: Could not deploy package.&#xA;**Error: Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.&#xA;Error: Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.**&#xA;Error Code: ERROR_EXECUTING_METHODError count: 1.&#xA;&#xA;More Information: Could not deploy package.&#xA;Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.&#xA;Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.&#xA;  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD.&#xA;Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At C:\resourcefiles\install.ps1:41 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:01:18&#xA;Transcript stopped, output file is C:\resourcefiles\xconnect-xp0.190611 (6).log&#xA;Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-WebDeployTask.ps1:36 char:2&#xA;+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I searched the internet and fount &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14038/could-not-deploy-package-error-while-installing-sitecore-9-update-2-setup-on-r&quot;&gt;[this]&lt;a href=&quot;https://sitecore.stackexchange.com/questions/14038/could-not-deploy-package-error-while-installing-sitecore-9-update-2-setup-on-r&quot;&gt;1&lt;/a&gt;&lt;/a&gt; question which is quite similar to mine but he was facing this issue on the server, not on the local environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked I have installed all the prerequisites&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried the solution given in the question but it didn't solve the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone please guide me where I am making the mistake, I am trying to setup Sitecore for the last three days, every time I solve an issue new comes up&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="5630" LastEditorUserId="1342" LastEditDate="2019-06-11T18:16:20.107" LastActivityDate="2019-11-10T01:02:40.337" Title="“Could not deploy package” error while installing Sitecore 9 update 2 setup on my local enviromment" Tags="|xconnect|sitecore-install-framework|deployment|powershell|" AnswerCount="1" CommentCount="4" ClosedDate="2019-11-10T03:05:54.947" ContentLicense="CC BY-SA 4.0" />
  <row Id="19309" PostTypeId="2" ParentId="19290" CreationDate="2019-06-11T19:50:25.880" Score="4" Body="&lt;p&gt;Right, so turns out this is a case of a very unhelpful exception message, for something that really is rather simple.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client had not &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/setting-up-sitecore-ip-geolocation.html#UUID-a93a5663-aa38-1d7c-ee51-d9c209c138a8_N1542749171750&quot; rel=&quot;nofollow noreferrer&quot;&gt;activated the GeoIP Location service&lt;/a&gt; correctly, which led to the above exception being thrown - even from my TestIP code. Once this was sorted out, the error went away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Qcpr7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Qcpr7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-06-11T19:50:25.880" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19310" PostTypeId="1" CreationDate="2019-06-11T22:32:44.643" Score="2" ViewCount="74" Body="&lt;p&gt;As part of a migration to Sitecore 9.1.1 we are updating our solution to not only be VS2017 compatible, but trying to take advantage of migrating away from both packages.config and the VS2015 csproj file format to the new VS2017 format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem we are running into occurs when publishing the solution to a local filesystem, and it happens regardless of whether we use the built-in VS publishing, msbuild, or gulp.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The gist is, Content files are published to the correct location (i.e.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;App_Config\** -&amp;gt; App_Config\**&#xA;Views\** -&amp;gt; Views\**&#xA;js\** -&amp;gt; js\**&#xA;etc.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, everything you expect to be in the bin\ folder is scattered throughout the root of the publish folder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;bin\** -&amp;gt; \**&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The question remains, how can we get what would normally publish to bin\ to actually publish to bin\ ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since it seems like an OutputPath issue, and we have updated all the csproj files, we've been investigating them specifically. And since it's a Helix solution there are a lot of Feature/Foundation/Project csproj files, but more or less they all look like the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Project Sdk=&quot;Microsoft.NET.Sdk.Web&quot; ToolsVersion=&quot;15.0&quot;&amp;gt;&#xA;&#xA;  &amp;lt;PropertyGroup&amp;gt;&#xA;    &amp;lt;TargetFramework&amp;gt;net471&amp;lt;/TargetFramework&amp;gt;&#xA;    &amp;lt;OutputType&amp;gt;Library&amp;lt;/OutputType&amp;gt;&#xA;  &amp;lt;/PropertyGroup&amp;gt;&#xA;&#xA;  &amp;lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|AnyCPU'&quot;&amp;gt;&#xA;    &amp;lt;OutputPath&amp;gt;bin\&amp;lt;/OutputPath&amp;gt;&#xA;  &amp;lt;/PropertyGroup&amp;gt;&#xA;&#xA;  &amp;lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Release|AnyCPU'&quot;&amp;gt;&#xA;    &amp;lt;OutputPath&amp;gt;bin\&amp;lt;/OutputPath&amp;gt;&#xA;  &amp;lt;/PropertyGroup&amp;gt;&#xA;&#xA;  &amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Castle.Core&quot; Version=&quot;4.2.1&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Glass.Mapper.Sc.82.Core&quot; Version=&quot;5.3.15&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Glass.Mapper.Sc.82.Mvc&quot; Version=&quot;5.3.15&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNet.Mvc&quot; Version=&quot;5.2.4&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNet.Razor&quot; Version=&quot;3.2.4&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNet.WebApi.Client&quot; Version=&quot;5.2.6&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNet.WebApi.Core&quot; Version=&quot;5.2.6&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.AspNet.WebPages&quot; Version=&quot;3.2.4&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.Extensions.DependencyInjection&quot; Version=&quot;2.1.1&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.Extensions.DependencyInjection.Abstractions&quot; Version=&quot;2.1.1&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Microsoft.Web.Infrastructure&quot; Version=&quot;1.0.0.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Newtonsoft.Json&quot; Version=&quot;11.0.2&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;OctoPack&quot; Version=&quot;3.6.4&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Analytics&quot; Version=&quot;[9.1.1]&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Client&quot; Version=&quot;[9.1.1]&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Kernel&quot; Version=&quot;[9.1.1]&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Mvc&quot; Version=&quot;[9.1.1]&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Collections&quot; Version=&quot;4.0.11&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Collections.Concurrent&quot; Version=&quot;4.0.12&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.ComponentModel&quot; Version=&quot;4.0.1&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Diagnostics.Debug&quot; Version=&quot;4.0.11&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Globalization&quot; Version=&quot;4.0.11&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Linq&quot; Version=&quot;4.1.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Linq.Expressions&quot; Version=&quot;4.1.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Reflection&quot; Version=&quot;4.1.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Resources.ResourceManager&quot; Version=&quot;4.0.1&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Runtime.Extensions&quot; Version=&quot;4.1.0&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Threading&quot; Version=&quot;4.0.11&quot; /&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;System.Threading.Tasks&quot; Version=&quot;4.0.11&quot; /&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;&amp;lt;/Project&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any guidance on getting this configured properly or migrating to 2017 that we may have missed would be greatly appreciated.  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore: 9.1.1 &lt;/li&gt;&#xA;&lt;li&gt;Visual Studio: Community 2017 15.9.11&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="569" LastActivityDate="2019-06-12T05:30:33.037" Title="Migrating Helix-based csproj to VS 2017 format: Published files go to wrong place" Tags="|deployment|visual-studio|development|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19311" PostTypeId="1" CreationDate="2019-06-12T00:52:40.857" Score="2" ViewCount="1160" Body="&lt;p&gt;I have a custom computedfield in Sitecore 9.1.1. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting the below error on CD server only as my web.config has:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;role:define&quot; value=&quot;ContentDelivery&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Current CustomIndex config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;extendedSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot; &amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;helpdesk_content&quot; storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;Sitecore.Feature.Helpdesk.Infrastructure.Fields.HelpDeskContentComputedField, Sitecore.Feature.Helpdesk&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/extendedSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Custom Index code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;      Assert.ArgumentNotNull(indexable, &quot;indexable&quot;);&#xA;      string url = null;&#xA;      try&#xA;      {&#xA;        Item item = indexable as SitecoreIndexableItem;&#xA;&#xA;        // This field only works for items uder /sitecore/content that have a layout&#xA;        if (item == null&#xA;            || item.Visualization.Layout == null&#xA;            || !item.Paths.FullPath.StartsWith(&#xA;                    Sitecore.Constants.ContentPath,&#xA;                    System.StringComparison.InvariantCultureIgnoreCase))&#xA;        {&#xA;          return null;&#xA;        }&#xA;&#xA;        // Determine the url to request&#xA;        using (new DatabaseSwitcher(item.Database))&#xA;        {&#xA;          //explicitly resolve context site&#xA;          var site = item.GetContextSite();&#xA;&#xA;          url = WebUtil.AddQueryString(&#xA;              LinkManager.GetItemUrl(item, new UrlOptions()&#xA;              {&#xA;                AlwaysIncludeServerUrl = true,&#xA;                Site=site&#xA;              }),&#xA;              &quot;sc_database&quot;, Sitecore.Context.Database.Name);&#xA;        }&#xA;&#xA;        // Http request the page&#xA;        using (var client = new WebClient())&#xA;        {&#xA;          Log.Debug(string.Format(&quot;Indexing content for the URL [{0}]&quot;, url));&#xA;          string pageContent = client.DownloadString(url);&#xA;&#xA;          // Parse the page's html using HtmlAgilityPack&#xA;          HtmlDocument htmlDocument = new HtmlDocument();&#xA;          htmlDocument.LoadHtml(pageContent);&#xA;&#xA;          // Strip out all the html tags, so we can index just the text&#xA;          HtmlNode mainContainer = htmlDocument.DocumentNode.Descendants(&quot;body&quot;).FirstOrDefault();&#xA;          string content = mainContainer != null ? GetAllInnerTexts(mainContainer) : null;&#xA;          Log.Debug(&quot;content indexed : &quot; + content);&#xA;          return content;&#xA;        }&#xA;      }&#xA;      catch (WebException webExc)&#xA;      {&#xA;        Log.Warn(string.Format(&quot;Failed to html index {0} ({1}): {2}&quot;, indexable.Id, url, webExc.Message), webExc, this);&#xA;      }&#xA;      catch (Exception exc)&#xA;      {&#xA;        Log.Error(string.Format(&quot;An error occurred when indexing {0}: {1}&quot;, indexable.Id, exc.Message), exc, this);&#xA;      }&#xA;      return null;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Error on CD server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR An error occurred when indexing {0CAA7DB1-CAF8-48EA-8BD0-DA191B4BCF46}: Could not find configuration node: databases/database[@id='core']&#xA;Exception: System.InvalidOperationException&#xA;Message: Could not find configuration node: databases/database[@id='core']&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Configuration.DefaultFactory.GetConfigNode(String xpath, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetDatabase(String name, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetDatabase(String name)&#xA;   at Sitecore.Sites.SiteContext.get_Database()&#xA;   at Sitecore.Foundation.Indexing.Infrastructure.Fields.HtmlCrawledField.ComputeFieldValue(IIndexable indexable) in C:\Projects\Unitywater\src\foundation\Indexing\code\Infrastructure\Fields\HtmlCrawledField.cs:line 51&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Do I need to disable the custom indexing on the CD server on have to make it based on specific database? What sort of configuration you normally have in CD server for custom index?&lt;/p&gt;&#xA;" OwnerUserId="3168" LastActivityDate="2019-06-12T06:44:01.390" Title="Computed index fields on Sitecore 9.1.1 CD server" Tags="|solr|content-search|content-delivery|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19312" PostTypeId="1" CreationDate="2019-06-12T02:54:23.633" Score="0" ViewCount="860" Body="&lt;p&gt;I have got &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; installed on &lt;code&gt;CM and CD server&lt;/code&gt;. I am getting the below exception only on the CD server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;5048 12:18:51 ERROR Application error.&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.Request.RequestBegin.EnsureLoggedInForPreview.Process(PipelineArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I did have a look at the process in &lt;code&gt;Sitecore.Mvc&lt;/code&gt; it is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class EnsureLoggedInForPreview&#xA;  {&#xA;    public void Process(PipelineArgs args)&#xA;    {&#xA;      if (Context.PageMode.get_IsNormal() || Context.get_IsLoggedIn())&#xA;        return;&#xA;      using (new SiteContextSwitcher(Factory.GetSite(&quot;shell&quot;)))&#xA;      {&#xA;        using (new UserSwitcher(Context.get_User()))&#xA;          ShellPage.IsLoggedIn();&#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am imagining the page mode is not available on CD server. Should I disable the pipeline on the CD server? &lt;/p&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="5387" LastEditDate="2019-06-20T10:11:41.673" LastActivityDate="2020-09-01T15:03:00.383" Title="Sitecore 9.1.1 null exception on EnsureLoggedInForPreview.Process(PipelineArgs args)" Tags="|pipelines|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19313" PostTypeId="2" ParentId="19311" CreationDate="2019-06-12T03:55:24.253" Score="0" Body="&lt;p&gt;To answer your question, CD servers that use Solr or Azure Search should have indexing disabled, so that CM (or some other non-CD role) does the indexing. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;index id=&quot;sitecore_web_index&quot;&amp;gt;&#xA;    &amp;lt;strategies hint=&quot;list:AddStrategy&quot; patch:instead=&quot;strategies&quot;&amp;gt;&#xA;      &amp;lt;strategy role:require=&quot;Standalone OR ContentManagement&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot;  /&amp;gt;&#xA;      &amp;lt;strategy role:require=&quot;ContentDelivery&quot; ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot;/&amp;gt;&#xA;    &amp;lt;/strategies&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But mainly I would question what you're actually trying to do here - it seems a very inefficient way to index content. Much better would be to just directly get the field value(s) you need to index.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-06-12T03:55:24.253" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19314" PostTypeId="2" ParentId="19303" CreationDate="2019-06-12T04:09:13.443" Score="0" Body="&lt;p&gt;Follow below steps to check if GeoIP is enabled and working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solution 3 of below article has a link to download TestIp.aspx file.&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/798498&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/798498&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Save the TestIp.aspx file into the /sitecore folder&lt;/li&gt;&#xA;&lt;li&gt;Open the &lt;a href=&quot;http://hostname/sitecore/TestIp.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hostname/sitecore/TestIp.aspx&lt;/a&gt; page;&lt;/li&gt;&#xA;&lt;li&gt;Enter any known IP address into the text box and select &quot;GetInformationByIp&quot;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-12T04:09:13.443" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19316" PostTypeId="2" ParentId="19311" CreationDate="2019-06-12T06:44:01.390" Score="4" Body="&lt;p&gt;As Mark Gibbons already wrote in his answer, you don't want your &lt;code&gt;CD&lt;/code&gt; servers to run any indexing. All the work should be done by &lt;code&gt;CM&lt;/code&gt; (or &lt;code&gt;Standalone&lt;/code&gt;) servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now why your code doesn't work? There may be multiple reasons here like:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Context.Database.Name&lt;/code&gt; line. If &lt;code&gt;onPublishEndAsync&lt;/code&gt; strategy is used, &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; will either throw exception or will be null or in best case it will be &lt;code&gt;core&lt;/code&gt;. Use &lt;code&gt;item.Database&lt;/code&gt; like you used for &lt;code&gt;DatabaseSwitcher&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;url = WebUtil.AddQueryString(..., &quot;sc_database&quot;, item.Database.Name);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;You should think if you need to get content of the pages which are not in the &lt;code&gt;web&lt;/code&gt; database. At the moment, if you have an item in &lt;code&gt;core&lt;/code&gt; database and it's a SPEAK application with some presentation details on it, your code will run and try to make a request to that page. That's not ideal situation, isn't it? And I believe you don't need to get the content of items from &lt;code&gt;master&lt;/code&gt; database neither, do you? I think it may be reasonable to only crawl the page if &lt;code&gt;item.Database.Name == &quot;web&quot;&lt;/code&gt; or whatever the name of your database is.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (item.Database.Name != &quot;web&quot;)&#xA;    return null;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Calling &lt;code&gt;item.Visualization.Layout&lt;/code&gt; is rather heavy. It parses the &lt;code&gt;Shared&lt;/code&gt; and &lt;code&gt;Final Layout&lt;/code&gt; fields, applies XML deltas, etc. Maybe checking the raw string value would be enough:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (string.IsNullOrEmpty(item[FieldIDs.LayoutField] + item[FieldIDs.FinalLayoutField]))&#xA;    return null;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;You may think about 2 approached to get the correct content page from the CM server. You can either has some config with &lt;code&gt;CD&lt;/code&gt; server host name and apply it to the url or the item or crawl the item from &lt;code&gt;CM&lt;/code&gt; server instead. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remember about personalization rules - not all variants of your content will be rendered on the pages.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Think about the pages which are only available for logged in users. You don't want to crawl them. Otherwise, you may get let of login screen content in those pages.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Your code ignores &lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;meta name=&quot;description&quot;&amp;gt;&lt;/code&gt; tags and they usually have very meaningful content. You may think about adding their values to the value of your computed field.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-12T06:44:01.390" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19317" PostTypeId="2" ParentId="19301" CreationDate="2019-06-12T08:31:27.743" Score="0" Body="&lt;p&gt;I haven't found any method to get the information about the field reset from the &lt;code&gt;args&lt;/code&gt; passed to &lt;code&gt;item:saving&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a &quot;hacky&quot; method you can use - you can use client request form values like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var resetFields = Context.ClientPage.ClientRequest.Form.AllKeys.Where(key =&amp;gt; key != null &amp;amp;&amp;amp; key.StartsWith(&quot;Reset_&quot;)).Select(key =&amp;gt; ShortID.DecodeID(StringUtil.Mid(key, 6))).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is pretty much the code which is used by the &lt;strong&gt;Reset Fields&lt;/strong&gt; dialog. It gets all the request form keys and filters those starting with &lt;code&gt;Reset_&lt;/code&gt; prefix. Rest of the key is the ID of the field which is reset.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need the ids of the fields, you can use the code above. If you need only an information if the &lt;code&gt;item:saving&lt;/code&gt; is cause by reset fields command, just check if there is any &lt;code&gt;Reset_***&lt;/code&gt; key.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-12T08:31:27.743" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19318" PostTypeId="2" ParentId="13698" CreationDate="2019-06-12T09:35:59.360" Score="0" Body="&lt;p&gt;Yes you are right, only in if language is &lt;code&gt;C#&lt;/code&gt;, in case if you are using &lt;code&gt;VB&lt;/code&gt; then you can also use the below code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.codedom&amp;gt;&#xA;    &amp;lt;compilers&amp;gt;&#xA;        &amp;lt;!--For C# --&amp;gt;&#xA;        &amp;lt;compiler language=&quot;c#;cs;csharp&quot; extension=&quot;.cs&quot; type=&quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; warningLevel=&quot;4&quot; compilerOptions=&quot;/langversion:6 /nowarn:1659;1699;1701&quot; /&amp;gt;&#xA;        &amp;lt;!--For VB --&amp;gt;&#xA;        &amp;lt;compiler language=&quot;vb;vbs;visualbasic;vbscript&quot; extension=&quot;.vb&quot; type=&quot;Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot; warningLevel=&quot;4&quot; compilerOptions=&quot;/langversion:14 /nowarn:41008 /define:_MYTYPE=\&amp;amp;quot;Web\&amp;amp;quot; /optionInfer+&quot; /&amp;gt;&#xA;    &amp;lt;/compilers&amp;gt;&#xA;&amp;lt;/system.codedom&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5615" LastActivityDate="2019-06-12T09:35:59.360" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19319" PostTypeId="1" CreationDate="2019-06-12T09:55:40.220" Score="0" ViewCount="208" Body="&lt;p&gt;We have been deploying our Sitecore 9.0.1 to Azure Paas, deploying each time to a clean slot. On the last deploy Unicorn synch stopped working, we are even unable to open the Unicorn.aspx page.&#xA;Unicorn version 4.0.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried full rollback deploying earlier (previously working) version of our solution on a clean slot but the error persists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works if deployed on an previously created Web app, but not on a new one.&#xA;Any ideas on where to look would be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error from log&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ERROR: Method not found: Void Rainbow.Storage.Sc.Deserialization.DefaultDeserializer..ctor(Rainbow.Storage.Sc.Deserialization.IDefaultDeserializerLogger, Rainbow.Filtering.IFieldFilter). (System.MissingMethodException)&amp;lt;div class=&amp;quot;stacktrace&amp;quot;&amp;gt;at Unicorn.Deserialization.UnicornDeserializer..ctor(IDefaultDeserializerLogger logger, IFieldFilter fieldFilter) &#xA;  Info  at lambda_method(Closure , Object[] ) &#xA;  Info  at Configy.Containers.MicroContainer.Activate(Type type, KeyValuePair&lt;code&gt;2[] unmappedConstructorParameters) &#xA;  Info   at System.Lazy&lt;/code&gt;1.CreateValue() &#xA;  Info  at System.Lazy&lt;code&gt;1.LazyInitValue() &#xA;  Info  at Configy.Containers.MicroContainer.Resolve(Type type) &#xA;  Info at Configy.Containers.MicroContainer.Activate(Type type, KeyValuePair&lt;/code&gt;2[] unmappedConstructorParameters) &#xA;  Info  at Unicorn.Configuration.ConfigyConfigurationProvider.&amp;lt;&amp;gt;c__DisplayClass8_0.&amp;lt;RegisterConfigTypeInterface&amp;gt;b__1() &#xA;  Info  at System.Lazy&lt;code&gt;1.CreateValue() &#xA;  Info  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() &#xA;  Info at System.Lazy&lt;/code&gt;1.get_Value() &#xA;  Info  at Unicorn.Data.Dilithium.DilithiumExtensions.EnablesDilithiumSql(IConfiguration configuration) &#xA;  Info   at Unicorn.SerializationHelper.SyncConfigurations(IConfiguration[] configurations, IProgressStatus progress, ILogger additionalLogger)&amp;lt;/div&amp;gt; &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="661" LastActivityDate="2019-07-12T12:01:55.223" Title="Unicorn error on Azure Paas" Tags="|paas|unicorn|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19320" PostTypeId="2" ParentId="19312" CreationDate="2019-06-12T09:57:15.303" Score="-2" Body="&lt;p&gt;This looks like the version of some dlls is not correct. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check the version of Sitecore.mvc.dll and other dlls as well.&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-06-12T09:57:15.303" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19321" PostTypeId="2" ParentId="19301" CreationDate="2019-06-12T10:03:17.323" Score="1" Body="&lt;p&gt;You can get this information using reflection mechanism and internal &lt;code&gt;item.GetChanges(true)&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Get &lt;code&gt;ItemChanges&lt;/code&gt; by executing &lt;code&gt;GetChanges(true)&lt;/code&gt; with reflection&lt;/li&gt;&#xA;&lt;li&gt;Get &lt;code&gt;FieldChanges&lt;/code&gt; from &lt;code&gt;ItemChanges&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Get underlying &lt;code&gt;_field&lt;/code&gt; field from every &lt;code&gt;FieldChange&lt;/code&gt; with reflection again&lt;/li&gt;&#xA;&lt;li&gt;Check if any of the fields has &lt;code&gt;ResetBlank&lt;/code&gt; flag set to &lt;code&gt;true&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class IsResetEventHandler&#xA;{&#xA;    private FieldInfo _fieldFieldInfo;&#xA;    private FieldInfo FieldFieldInfo&#xA;    {&#xA;        get&#xA;        {&#xA;            return _fieldFieldInfo ?? (_fieldFieldInfo = typeof(FieldChange).GetField(&quot;_field&quot;, BindingFlags.NonPublic | BindingFlags.Instance));&#xA;        }&#xA;    }&#xA;&#xA;    private MethodInfo _getChangesMethodInfo;&#xA;    private MethodInfo GetChangesMethodInfo&#xA;    {&#xA;        get&#xA;        {&#xA;            return _getChangesMethodInfo ?? (_getChangesMethodInfo = typeof(Item).GetMethod(&quot;GetChanges&quot;, BindingFlags.NonPublic | BindingFlags.Instance));&#xA;        }&#xA;    }&#xA;&#xA;    public void OnItemSaving(object sender, EventArgs args)&#xA;    {&#xA;        try&#xA;        {&#xA;            var savedItem = (args as SitecoreEventArgs)?.Parameters[0] as Item;&#xA;&#xA;            if (savedItem == null)&#xA;                return;&#xA;&#xA;            var changes = (ItemChanges) GetChangesMethodInfo.Invoke(savedItem, new object[] { true} );&#xA;&#xA;            var fieldChanges = changes.FieldChanges.Cast&amp;lt;FieldChange&amp;gt;().ToList();&#xA;&#xA;            var isReset = fieldChanges.Any(fc =&amp;gt; ((Field) FieldFieldInfo.GetValue(fc)).ResetBlank);&#xA;&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(&quot;Error while checking if it's reset action&quot;, ex, this);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-12T10:03:17.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19323" PostTypeId="2" ParentId="19293" CreationDate="2019-06-12T10:36:34.723" Score="0" Body="&lt;p&gt;I found the solution &lt;a href=&quot;https://kb.sitecore.net/articles/700677&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&#xA;MVC Routing is not available by default in Sitecore 7.0 and we have to create one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a custom processor for the initialize pipeline and define custom route in the Process method similar to the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RegisterCustomRoute&#xA;{&#xA;   public virtual void Process(PipelineArgs args)&#xA;   {&#xA;     RouteTable.Routes.MapRoute(&quot;CustomRoute&quot;, &quot;mycustomroute/{controller}/{action}/{id}&quot;);&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add this processor to the initialize pipeline right before the Sitecore InitializeRoutes processor. You can do this with the help of the configuration patch file in the following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;     &amp;lt;sitecore&amp;gt;&#xA;          &amp;lt;pipelines&amp;gt;&#xA;               &amp;lt;initialize&amp;gt;&#xA;                    &amp;lt;processor type=&quot;MyNamespace.RegisterCustomRoute, MyAssembly&quot; patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot; /&amp;gt;&#xA;               &amp;lt;/initialize&amp;gt;&#xA;          &amp;lt;/pipelines&amp;gt;&#xA;     &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Important:&lt;/strong&gt; Ensure your custom configuration patch file is applied as the last patch to Sitecore configuration.&lt;br&gt;&#xA;You can do this by placing the patch file into a subfolder of the &lt;code&gt;/App_Config/Include&lt;/code&gt; directory. The name of the subfolder must be the last one alphabetically related to other subfolders (such as Z_CustomConfigs).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the JS code will be like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$.ajax({&#xA;       url: '/mycustomroute/&amp;lt;controllername&amp;gt;/&amp;lt;actionname&amp;gt;',&#xA;       type: &quot;POST&quot;,&#xA;       data: '{sampleModel: ' + JSON.stringify(jsModel) + '}',&#xA;       contentType: &quot;application/json; charset=utf-8&quot;,&#xA;       dataType: &quot;json&quot;,&#xA;       success: function (response) {&#xA;       },&#xA;  });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2019-06-12T10:36:34.723" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19324" PostTypeId="1" AcceptedAnswerId="27409" CreationDate="2019-06-12T10:38:11.397" Score="0" ViewCount="602" Body="&lt;p&gt;This is Sitecore 9.0.2, and I do not have any custom item:saved/item:saving pipelines going. On this template, in only one particular field (a general link field), if I make any change to the field (such as clearing it, changing the link, etc), when I save the value reverts to the existing value. This happens if I clear the field from the raw values as well. This is not happening on any other field in the item/template.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2021-01-25T12:16:27.893" Title="General link field value reverting on save" Tags="|content-editor|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="19327" PostTypeId="1" CreationDate="2019-06-12T13:04:32.853" Score="1" ViewCount="75" Body="&lt;p&gt;I want to do the personalization for a particular component when the anonymous user will revisit the site whereas the rule which I have set is &quot;where the visit no. is greater than 1&quot;.I haven't cleared any cookie of the browser. Xdb.Enabled and Xdb.Tracking.Enabled settings in the Sitecore.Xdb.config file both are changed to true. IndexAnonymousContactData&gt;true also changed.The number of visits are increasing but the personalization condition is not triggering for the defaulf one also.Please help me in rectifying that.Iam using 9.0 update 1 instance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3s4U4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3s4U4.png&quot; alt=&quot;de&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5198" LastActivityDate="2019-06-12T13:04:32.853" Title="Personalization default condition is not triggering" Tags="|personalization|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="19328" PostTypeId="1" CreationDate="2019-06-12T13:15:34.987" Score="1" ViewCount="121" Body="&lt;p&gt;We have a Sitecore multi-site, multi-server solution, exposed for the moment on the following domains: &lt;em&gt;www.mywebsite.com&lt;/em&gt; and &lt;em&gt;lang.mywebsite.com&lt;/em&gt;. We expect to add more site nodes in the current sitecore CM instance, so each would have their own &lt;em&gt;subsite.mywebsite.com&lt;/em&gt; domain. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Behind the load balancer we have 2 different clusters (zone A and zone B, each with 2 servers). Basically we have 4 CD servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For now we set up the &lt;strong&gt;&lt;em&gt;Analytics.ClusterName&lt;/em&gt;&lt;/strong&gt; to be &quot;&lt;em&gt;www.mywebsite.com&lt;/em&gt;&quot; both on CM and CD configs, as this is the main website load balancer host name. Is this ok? I have understood that &lt;strong&gt;&lt;em&gt;Analytics.HostName&lt;/em&gt;&lt;/strong&gt; must be left empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this setup going to track traffic analytics from &lt;em&gt;lang.mywebsite.com&lt;/em&gt; or from the new to be added websites?&lt;/p&gt;&#xA;" OwnerUserId="5641" LastEditorUserId="73" LastEditDate="2019-06-12T13:18:38.950" LastActivityDate="2019-06-12T13:18:38.950" Title="Multi-site analytics tracking" Tags="|xdb|multisite|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19329" PostTypeId="1" AcceptedAnswerId="19335" CreationDate="2019-06-12T13:33:41.923" Score="2" ViewCount="248" Body="&lt;p&gt;I want to set different RTE profile for different Sites in SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a setting OR a other way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="383" LastActivityDate="2019-06-12T14:34:22.663" Title="How to set different RTE Profile for different Sites in SXA" Tags="|sxa|richtext-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19330" PostTypeId="1" AcceptedAnswerId="19348" CreationDate="2019-06-12T13:36:51.030" Score="1" ViewCount="87" Body="&lt;p&gt;&lt;strong&gt;What I am doing&lt;/strong&gt;: I am installing &lt;code&gt;Sitecore Experience Commerce 9.1&lt;/code&gt; &lt;code&gt;on-premise&lt;/code&gt; version. I already have &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; up and running.&#xA;The Sitecore documentation, in section &lt;code&gt;3.2. Add a missing block to the deployment script file&lt;/code&gt;, says to update the &lt;code&gt;Sitecore Commerce Experience Accelerator Storefront 2.0.181.zip&lt;/code&gt;. Accordingly, I unzipped the package and as per the documentation further tried to unzip the &lt;code&gt;package.zip&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;What is the issue&lt;/strong&gt;: I am getting errors in unzipping the &lt;code&gt;package.zip&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Logs while unzipping with 7-zip:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BT975.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BT975.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Log with &lt;code&gt;Extract All&lt;/code&gt; command:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Imp1S.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Imp1S.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;What I have already checked&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The zip file was unblocked under the safety tab.&lt;/li&gt;&#xA;&lt;li&gt;The issue is not of the path length.&lt;/li&gt;&#xA;&lt;li&gt;A fresh download also has this problem.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Everyone&lt;/code&gt; has full right on the folder concerned.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Please suggest how I should move forward.&lt;/p&gt;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-29T20:07:36.337" Title="Unable to extract package from Storefront" Tags="|sitecore-commerce|installation|sxa-storefront|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19331" PostTypeId="1" CreationDate="2019-06-12T14:10:11.213" Score="1" ViewCount="529" Body="&lt;p&gt;I'm trying to use geolocation data in my code, and I found that the reason it isn't working is because the IP address in &lt;code&gt;Tracker.Current.Session.Interaction.IP&lt;/code&gt; is returning as 127.0.0.1 (localhost, the site's IP address) instead of the IP of the client IP address. Using 8.2, and I'm not on a load balancer, I'm currently using a single instance on my local machine. &lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2021-03-03T05:29:59.003" LastActivityDate="2021-03-03T05:29:59.003" Title="Tracker.Current.Session.Interaction.IP is returning the IP of my site (localhost) rather than the client IP" Tags="|tracking|interaction|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19332" PostTypeId="2" ParentId="19331" CreationDate="2019-06-12T14:14:35.803" Score="1" Body="&lt;p&gt;So you're accessing your own local instance of Sitecore from the same machine where the instance is deployed. That's why you're getting &lt;code&gt;127.0.0.1&lt;/code&gt; as the IP, cause it's your local IP.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to test GEO IP locally you should set the &lt;code&gt;Analytics.ForwardedRequestHttpHeader&lt;/code&gt; setting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.ForwardedRequestHttpHeader&quot; value=&quot;X-Forwarded-For&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And add this header to your request using either some browser plugin for modificiation of the headers or tools like PostMan and set the value of the header to your chosen IP address that you want to test your Geo IP service with.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-06-12T15:09:43.583" LastActivityDate="2019-06-12T15:09:43.583" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19333" PostTypeId="1" CreationDate="2019-06-12T14:14:37.473" Score="1" ViewCount="93" Body="&lt;p&gt;When I have the custom components below one object/property is not persisting. The list component is really just a container to hold a collection of ChildComponents of type AdjustmentExtendedComponent. When I add AdjustmentExtendedListComponent to a cart line on an Order and persist the order everything saves to the database except the  AwardedAdjustment property. Is it completely missing from the json in the database.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Commerce.Core;&#xA;&#xA;namespace MyClient.Commerce.Plugin.Pricing.Components&#xA;{&#xA;    public class AdjustmentExtendedListComponent : Component&#xA;    {&#xA;&#xA;    }&#xA;}&#xA;&#xA;using MyClient.Commerce.Shared.Enums;&#xA;using Sitecore.Commerce.Core;&#xA;using Sitecore.Commerce.Plugin.Pricing;&#xA;using Sitecore.Framework.Conditions;&#xA;&#xA;namespace MyClient.Commerce.Plugin.Pricing.Components&#xA;{&#xA;    public class AdjustmentExtendedComponent : Component&#xA;    {&#xA;        // used in Azure after deserialize&#xA;        public string AdjustmentType { get; set; }&#xA;&#xA;        public AwardedAdjustment AssociatedAdjustment { get; }&#xA;&#xA;        public DiscountCode DiscountCode { get; }&#xA;&#xA;        public decimal AdjustmentRate { get; }&#xA;&#xA;        public string TaxExemptReasonCode { get; set; }&#xA;&#xA;        public AdjustmentExtendedComponent()&#xA;        {&#xA;        }&#xA;&#xA;        public AdjustmentExtendedComponent(AwardedAdjustment associatedAdjustment, decimal adjustmentRate)&#xA;        {&#xA;            Condition.Requires(associatedAdjustment, nameof(associatedAdjustment)).IsNotNull();&#xA;&#xA;            AssociatedAdjustment = associatedAdjustment;&#xA;&#xA;            AdjustmentRate = adjustmentRate;&#xA;&#xA;            AdjustmentType = ((AwardedAdjustment)associatedAdjustment)?.AdjustmentType;&#xA;        }&#xA;&#xA;        public AdjustmentExtendedComponent(AwardedAdjustment associatedAdjustment, DiscountCode discountCode)&#xA;        {&#xA;            Condition.Requires(associatedAdjustment, nameof(associatedAdjustment)).IsNotNull();&#xA;&#xA;            AssociatedAdjustment = associatedAdjustment;&#xA;&#xA;            DiscountCode = discountCode;&#xA;&#xA;            AdjustmentType = ((AwardedAdjustment)associatedAdjustment)?.AdjustmentType;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="598" LastEditorUserId="73" LastEditDate="2019-06-13T14:13:18.923" LastActivityDate="2019-06-13T14:20:51.337" Title="Custom component object/property is not persisting" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19334" PostTypeId="1" AcceptedAnswerId="19683" CreationDate="2019-06-12T14:32:12.873" Score="3" ViewCount="135" Body="&lt;p&gt;I am trying to include the video component into a rendering variant of one of my components. I don't want to set the datasource on the rendering variant its self, I want the user to set the datasource when the component is added to the page by clicking the &quot;video&quot; icon, the same way it would usually work when using the video component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems that when you add the video component into a rendering variant it &quot;forgets&quot; its datasource location that is set on the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've provided a video below on a new instance that outlines my problem a bit better (I've used promo in that scenario, on my live environment it's a custom version of promo)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Video: &lt;a href=&quot;https://www.youtube.com/watch?v=SVXQtxPjir4&amp;amp;feature=youtu.be&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=SVXQtxPjir4&amp;amp;feature=youtu.be&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4487" LastActivityDate="2020-05-09T08:17:35.910" Title="Component loses datasource location when adding it into a rendering variant" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19335" PostTypeId="2" ParentId="19329" CreationDate="2019-06-12T14:34:22.663" Score="2" Body="&lt;p&gt;Unfortunately there doesn't seem to be a way of doing this. The code that gets the profile doesn't seem to use any pipelines that you could hook into or anything that would allow tokens in that value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  string queryString = WebUtil.GetQueryString(&quot;so&quot;, Settings.HtmlEditor.DefaultProfile);&#xA;  Assert.IsNotNull((object) queryString, &quot;source&quot;);&#xA;  configurationResult = (EditorConfigurationResult) null;&#xA;  Database database = Context.Database;&#xA;  Assert.IsNotNull((object) database, &quot;database&quot;);&#xA;  Sitecore.Data.Items.Item profile1 = database.GetItem(queryString);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code above taken from &lt;code&gt;Sitecore.Shell.Controls.RichTextEditor.EditorPage.OnLoad()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only way to change that would be to replace the default RichText Editor form and change the underlying code. Then you could use tokens and something like &lt;code&gt;$site/path/to/htmlprofile&lt;/code&gt; &lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-12T14:34:22.663" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19336" PostTypeId="2" ParentId="19262" CreationDate="2019-06-12T14:48:48.143" Score="3" Body="&lt;p&gt;Building on some of the information Dan Sinclair's answer provided, I reached the following solution:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I needed a way to capture the &quot;Delete&quot; event, but &lt;strong&gt;only&lt;/strong&gt; when it was triggered from inside the content editor, so after some research I found the &quot;uiDeleteItems&quot; processor in the Sitecore.config file, which does &lt;em&gt;exactly&lt;/em&gt; what I want.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;uiDeleteItems&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckPermissions&quot; /&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;Confirm&quot; /&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckTemplateLinks&quot; /&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckCloneLinks&quot; /&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckLinks&quot; /&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;CheckLanguage&quot; /&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;UncloneItems&quot; /&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;Execute&quot; /&amp;gt;&#xA;  &amp;lt;processor mode=&quot;on&quot; type=&quot;Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel&quot; method=&quot;PostAction&quot; /&amp;gt;&#xA;&amp;lt;/uiDeleteItems&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To use this processor, I added a config patch that looked like this, the &lt;code&gt;[2]&lt;/code&gt; is to ensure it triggers after the &quot;Confirm&quot; is clicked in the default delete item popup check in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;processors&amp;gt;&#xA;      &amp;lt;uiDeleteItems&amp;gt;&#xA;        &amp;lt;processor mode=&quot;on&quot; type=&quot;YourAbortDeleteFunctionClass, YourNamespace&quot; method=&quot;AbortDelete&quot; patch:after=&quot;processor[@type='Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel'][2]&quot;/&amp;gt;&#xA;      &amp;lt;/uiDeleteItems&amp;gt; &#xA;    &amp;lt;/processors&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my workflow, I added 2 states: &quot;(awaiting) Deletion Approval&quot; and &quot;Deletion Approved&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gwNvL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gwNvL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and I made it so that, on clicking &quot;Delete&quot; from the content editor, I would &quot;interrupt&quot; that process and set my current item's workflow state to &quot;Deletion Approval&quot; instead, making it enter my workflow cycle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Afterwards, if this item's deletion approval is accepted, it would move to the &quot;Deletion Approved&quot; state, and the item would get recycled/deleted in my custom code for &quot;Delete Item&quot; action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, I added my &lt;code&gt;AbortDelete()&lt;/code&gt; function, which would set the state of my item to &quot;Awaiting deletion&quot; and &lt;strong&gt;not&lt;/strong&gt; delete it, and it looked something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void AbortDelete(ClientPipelineArgs args)&#xA;{&#xA;&#xA;    using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;    {&#xA;        try&#xA;        {&#xA;            item.Editing.BeginEdit();&#xA;            item.Fields[&quot;__Workflow&quot;].Value = YourWorkflowID;&#xA;            item.Fields[&quot;__Workflow State&quot;].Value = YourDeletionStateID;&#xA;            item.Editing.EndEdit(true, false);&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.SingleError(&quot;Error in workflow state set on deleteui&quot; + ex, ex);&#xA;        }&#xA;&#xA;    }&#xA;    args.AbortPipeline();&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The last thing you need to do is write some code to actually delete the items that get &quot;Deletion approved&quot;, and add it to your &quot;Delete Item&quot; action, should be something along these lines&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class DeleteApproved&#xA;{&#xA;    public void Process(WorkflowPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        ProcessorItem processorItem = args.ProcessorItem;&#xA;        Item currentItem = args.DataItem;&#xA;        if (currentItem != null)&#xA;        {&#xA;            Item innerItem = currentItem;&#xA;            innerItem.Recycle(); //send to recyclebin from master db&#xA;&#xA;            var webDB = Sitecore.Configuration.Factory.GetDatabase(&quot;web&quot;);&#xA;            Item webItem = webDB.GetItem(currentItem.ID);&#xA;            webItem.Recycle(); //send to recyclebin from web db&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WhEiY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WhEiY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="3547" LastEditDate="2019-06-12T15:03:29.707" LastActivityDate="2019-06-12T15:03:29.707" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19337" PostTypeId="1" AcceptedAnswerId="19338" CreationDate="2019-06-12T15:16:17.833" Score="4" ViewCount="2426" Body="&lt;p&gt;On the video component when I input a YouTube video, the share, watch later, video title and up next sections are visible, but are not clickable, is there a solution to this?&lt;/p&gt;&#xA;" OwnerUserId="4487" LastActivityDate="2019-06-12T16:17:28.663" Title="Video component YouTube elements are not clickable" Tags="|sxa|javascript|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19338" PostTypeId="2" ParentId="19337" CreationDate="2019-06-12T15:16:17.833" Score="6" Body="&lt;p&gt;The video component is handled by &lt;code&gt;mediaelement.js&lt;/code&gt;, you'll need to edit the JavaScript file for this service in order to fix this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you go to &lt;code&gt;/sitecore/media library/Base Themes/Core Libraries/scripts/mediaelement-and-player&lt;/code&gt; and scroll down to the &quot;media&quot; section, download the &lt;code&gt;mediaelement-and-player.jsmediaelement-and-player.js&lt;/code&gt; file there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copy this file somewhere to make a backup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to make the default YouTube controls usable you need to turn off the &quot;big play button&quot; and stop the &lt;code&gt;Iframe&lt;/code&gt; layer from being created, as it's putting divs in that cover the entire screen, preventing you from being able to click on the desired elements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Comment out the following lines in the &lt;code&gt;mediaelement-and-player.js&lt;/code&gt; file&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;t.createIframeLayer();&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;bigPlay.className = t.options.classPrefix + 'overlay ' + t.options.classPrefix + 'layer ' + t.options.classPrefix + 'overlay-play';&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;bigPlay.innerHTML = '&amp;lt;div class=&quot;' + t.options.classPrefix + 'overlay-button&quot; role=&quot;button&quot; tabindex=&quot;0&quot; ' + ('aria-label=&quot;' + _i18n2.default.t('mejs.play') + '&quot; aria-pressed=&quot;false&quot;&amp;gt;&amp;lt;/div&amp;gt;');&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Upload this file back to &lt;code&gt;/sitecore/media library/Base Themes/Core Libraries/scripts/mediaelement-and-player&lt;/code&gt; and your video player elements will will now be clickable.&lt;/p&gt;&#xA;" OwnerUserId="4487" LastEditorUserId="70" LastEditDate="2019-06-12T16:17:28.663" LastActivityDate="2019-06-12T16:17:28.663" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="19339" PostTypeId="2" ParentId="19303" CreationDate="2019-06-12T16:31:27.960" Score="2" Body="&lt;p&gt;You should set &lt;strong&gt;X-Forwarded-For&lt;/strong&gt; header in config settings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.ForwardedRequestHttpHeader&quot; value=&quot;X-Forwarded-For&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you use reverse proxy server you should also disable &quot;Include TCP port from client IP&quot; in Application Request Routing&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Fx8tH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Fx8tH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-06-12T16:31:27.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19341" PostTypeId="2" ParentId="19303" CreationDate="2019-06-12T18:38:18.973" Score="1" Body="&lt;p&gt;For anyone else having this issue--&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was necessary to set this property in &lt;code&gt;Sitecore.Analytics.Tracking.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Analytics.ForwardedRequestHttpHeader&quot; value=&quot;X-Forwarded-For&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, the issue with my local site was not a load balancer, which the X-Forwarded-For setting will help with (and was necessary for my solution on production). The issue is that because I'm hitting my local site locally, it's expected that my IP is going to show up as 127.0.0.1, and I do not have the X-Forwarded-For header in my request as I am not on a load balancer. The issue is that I needed to test whether the Geolocation code I wrote was actually working, so in order to test it locally, I used the &lt;a href=&quot;https://chrome.google.com/webstore/detail/sitecore-analytics-testin/pecalkbdlhhhcoenmcjnmhgnncnkdgak?hl=en-US&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Analytics Testing Tools&lt;/a&gt;, which allows me to set the X-Forwarded-For header in my requests. With that in place as well as the config update, Tracker.Current.Session.Interaction.Ip now returns the IP that I specified in the Analytics Testing Tools. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an additional step, if your site is on a load balancer, it is necessary to configure the load balancer to return the X-Forwarded-For header. The name of this header might be different depending on the load balancer (Akamai uses &quot;True-Client-IP&quot;)-- whatever the header is called is what you need to use in the config.&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="5387" LastEditDate="2019-06-13T05:54:14.753" LastActivityDate="2019-06-13T05:54:14.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19344" PostTypeId="1" CreationDate="2019-06-12T21:23:56.237" Score="3" ViewCount="412" Body="&lt;p&gt;We got duplicate &lt;code&gt;dynamic placeholders&lt;/code&gt; assigned in Final Layout. How can I remove the duplicates from the Final Layouts in all the languages? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how we are filtering out the placeholders matching the regex. In $matches we get the collection of all the dynamic placeholders, the next step is to remove the duplicates and I want to avoid the nested looping to check and delete:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Rendering -Item $_ | ForEach-Object {&#xA;    $rendering = $_;&#xA;    $matches = [regex]::Matches($_.Placeholder,'(-{[0-9a-fA-F]{8}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{12}}-0)')&#xA;&#xA;    if ($matches.Success) {&#xA;        $newPlaceholder = $rendering.Placeholder&#xA;&#xA;        $matches | ForEach-Object {&#xA;            $renderingId = $_.Value&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xcjM0.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xcjM0.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="5387" LastEditDate="2019-06-13T06:57:18.610" LastActivityDate="2024-03-03T23:08:16.003" Title="How to remove duplicate dynamic placeholders from Final Layout using SPE?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19346" PostTypeId="2" ParentId="19308" CreationDate="2019-06-13T00:48:58.453" Score="0" Body="&lt;p&gt;Make sure all Sitecore 9.1 prerequisites related to SQL Server are installed as per Sitecore 9.1 installation guideline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1 supports Microsoft SQL Server 2017 and 2016 SP2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You must also install: Microsoft ODBC Driver 13 for SQL Server Microsoft Command Line Utilities 13 for SQL Server&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are running an x64 environment, you must install both the x64 and x86 versions of DacFx and SQLSysCLRTypes.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-13T00:48:58.453" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19347" PostTypeId="1" CreationDate="2019-06-13T01:57:15.500" Score="1" ViewCount="272" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VpC1O.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VpC1O.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have set two variants ( two data sources for content testing) but it's not showing preview in &quot;preview and start test&quot; screen. Also when i click &quot;start test&quot; button, its keep on processing and never complete. &lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-10-16T21:45:33.413" Title="Content testing - Variant preview is not appearing" Tags="|content-testing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19348" PostTypeId="2" ParentId="19330" CreationDate="2019-06-13T02:07:00.323" Score="1" Body="&lt;p&gt;There's a easier way to do this since you are using 7zip.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Extract just the XML file and edit it&lt;/li&gt;&#xA;&lt;li&gt;Drag and drop it back to the 7zip interface. &lt;/li&gt;&#xA;&lt;li&gt;Save the archive and you are done&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9eztC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9eztC.png&quot; alt=&quot;7Zip Screenshot&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-06-13T02:07:00.323" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19349" PostTypeId="1" AcceptedAnswerId="19352" CreationDate="2019-06-13T04:13:23.900" Score="0" ViewCount="463" Body="&lt;p&gt;Let's say your license limits you to &lt;code&gt;10 concurrent CMS users&lt;/code&gt; at once. If someone's user account is in the &lt;code&gt;Sitecore Client Users&lt;/code&gt; role, and they log in with that account, do they count as a concurrent CMS user who occupies one of those 10 spots?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/the-security-roles.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Client Users&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Gives the user minimal access to Sitecore. With this role, the user can log in to the Sitecore Desktop, but will not have access to any applications.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;All of the other Sitecore client roles are members of the Sitecore Client Users role, which means that users in any Sitecore client role are automatically members of the Sitecore Client Users role.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4239" LastEditorUserId="5387" LastEditDate="2019-06-13T04:18:52.420" LastActivityDate="2019-06-13T06:18:37.250" Title="The &quot;Sitecore Client Users&quot; role and concurrent user limit?" Tags="|sitecore-client|role-management|user-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19350" PostTypeId="1" AcceptedAnswerId="19650" CreationDate="2019-06-13T05:28:22.937" Score="6" ViewCount="668" Body="&lt;p&gt;I need some help to &lt;strong&gt;configure the KeyVault&lt;/strong&gt; connection string for &lt;strong&gt;Azure App Service&lt;/strong&gt; and &lt;strong&gt;Sitecore Identity Service&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Identity Server is based on aspnet core and the connection string settings are configured differently from asp.net app. For Asp.Net App i just added the connection string in the following format into the Azure App Service Configuration tab and it worked.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Name: &amp;lt;&amp;lt;Name of the connection string. This can be web, core or master&amp;gt;&amp;gt;&#xA;Value: @Microsoft.KeyVault(SecretUri=&amp;lt;&amp;lt;KeyVault Identifier&amp;gt;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need to find similar solution for Sitecore Identity App. I have added the image to reflect how connection strings are defined in Sitecore Identity Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ng6gH.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&#xA;" OwnerUserId="2722" LastEditorUserId="4782" LastEditDate="2019-06-13T05:48:53.860" LastActivityDate="2019-07-29T08:00:40.147" Title="Sitecore Identity Server on Azure App Service" Tags="|azure|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19352" PostTypeId="2" ParentId="19349" CreationDate="2019-06-13T06:18:37.250" Score="0" Body="&lt;p&gt;Yes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Every user that logs into the Sitecore Client (any Sitecore Client, be it Content Editor, Experience Editor etc) will count as 1 towards your concurrent user license limitation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It matters not what role(s) they're in.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-06-13T06:18:37.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19353" PostTypeId="1" CreationDate="2019-06-13T06:24:46.293" Score="0" ViewCount="229" Body="&lt;p&gt;I've recently upgraded the Sitecore 8.2 solution to Sitecore 9.1 update 1 which works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I also have to convert the existing site to SXA site. So, I started by adding the fresh SXA site but when I looked into the &quot;MetaData&quot; partial design in the experience editor, it was throwing the dependency injection error - &quot;Could not create Metadata controller&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When looked deeper, I've realized the existing project uses &quot;Castle Windsor&quot; as dependency injection and does below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor patch:instead=&quot;*[@type='Sitecore.Mvc.Pipelines.Loader.InitializeControllerFactory, Sitecore.Mvc']&quot; type=&quot;Client.Digital.Foundation.DependencyInjection.Processor.InitialiseIocControllerFactory, Client.Digital.Foundation.DependencyInjection&quot; /&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which was replacing the - InitializeControllerFactory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried patch:after or before so that we can have both, but which ever pipeline comes last, that's dependency injection works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried to Register the SXA dependencies in the castle windsor but no luck&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have someone faced this type of issue before?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think we can have more than one dependency injection framework. Thanks&lt;/p&gt;&#xA;" OwnerUserId="2880" LastActivityDate="2019-06-13T06:24:46.293" Title="Dependency injection container issue SXA" Tags="|sxa|sitecore-client|dependency-injection|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19354" PostTypeId="1" CreationDate="2019-06-13T07:19:14.970" Score="4" ViewCount="750" Body="&lt;p&gt;I am trying to get a list of SellableItem objects belonging to the same category using ServiceProxy. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, my function is returning a string of GUIDs. Is there a way to get it to return a list of SellableItem objects instead of a string?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my function and results&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Function&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var container = Sitecore.Commerce.Engine.Connect.EngineConnectUtility.GetShopsContainer();&#xA;var category = Sitecore.Commerce.ServiceProxy.Proxy&#xA;                        .GetValue&amp;lt;Category&amp;gt;(container.Categories&#xA;                        .ByKey(&quot;my-category-key&quot;)&#xA;                        .Expand(&quot;Components&quot;));&#xA;&#xA;return category.ChildrenSellableItemList&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Results&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;57e31714-635f-4232-964c-f405ff5424a2|4389608f-a7fa-78ab-c731-18f10e005b0f|984124ea-2714-f146-ea05-74692457c826&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2020-04-15T09:43:28.530" Title="Get sellable items in category" Tags="|sitecore-commerce|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19355" PostTypeId="1" CreationDate="2019-06-13T07:47:30.860" Score="0" ViewCount="216" Body="&lt;p&gt;I want to create my default Sitecore logs after a specific interval of time without deleting the old ones after every 5 minutes , also whenever the limit exceeds to 10mb (default maximum file size) , then the previous file looks like this &lt;code&gt;log.20190608.104524.txt.2&lt;/code&gt; format , I don`t need 2 at the last, instead create a new file with a new timestamp after the limit is exceeded&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.CleanupAgent&quot; method=&quot;Run&quot; interval=&quot;0:05:00&quot;&amp;gt;&#xA;  &amp;lt;!-- Specifies files to be cleaned up.&#xA;          If rolling=&quot;true&quot;, [minCount] and [maxCount] will be ignored.&#xA;          [minAge] and [maxAge] must be specified as [days.]hh:mm:ss. The default value&#xA;          of [minAge] is 30 minutes.&#xA;          [strategy]: number of files within hour, day, week, month, year&#xA;          [recursive=true|false]: descend folders?&#xA;      --&amp;gt;&#xA;  &amp;lt;files hint=&quot;raw:AddCommand&quot;&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/logs&quot; pattern=&quot;*log.*.txt&quot; maxAge=&quot;00.00:05:00&quot; /&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/diagnostics&quot; pattern=&quot;*.*&quot; maxAge=&quot;30.00:00:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/viewstate&quot; pattern=&quot;*.txt&quot; maxAge=&quot;2.00:00:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(tempFolder)/diagnostics&quot; pattern=&quot;*.*&quot; maxAge=&quot;00:10:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;remove folder=&quot;/App_Data/MediaCache&quot; pattern=&quot;*.*&quot; maxAge=&quot;90.00:00:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/files&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;changing the CleanupAgent and also the maxAge from default to custom values didn`t delete the previous logs instead it shows &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #5 13:01:35 INFO  File is being deleted by cleanup task: Filename: C:\Inetpub\wwwroot\sc910\Data\logs\Owin.log.20190613.125631.txt, file date: 6/13/2019 7:26:31 AM, age: 00:05:04.2187088 (min age: 00:30:00, max age: 00:05:00). Reason: File is older than max age 00:05:00&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;ManagedPoolThread #5 13:01:35 INFO  File was skipped as it appears to be locked by another process.&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="4983" LastEditDate="2019-06-13T07:58:08.470" LastActivityDate="2019-06-13T07:58:08.470" Title="create new logs after specific interval of time" Tags="|sitecore-client|log4net|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19356" PostTypeId="1" CreationDate="2019-06-13T08:01:01.420" Score="0" ViewCount="40" Body="&lt;p&gt;I've just tried out a nice feature in &lt;code&gt;Sitecore Rocks&lt;/code&gt; which is to import data &amp;amp; create a tree in the content tree, using the &lt;code&gt;Query Analyzer&lt;/code&gt;, following this &lt;a href=&quot;https://github.com/Sitecore/Sitecore.Rocks/blob/master/docs/QueryAnalyzer/QueryAnalyzerSamples.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The data in the text file will be in this format:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;* News|/sitecore/templates/Common/Folder&#xA;** 2019|/sitecore/templates/Common/Folder&#xA;*** Month|/sitecore/templates/Month|12&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, it will only create the items in the tree structure. Is there a way where we can also populate the field values.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2019-06-13T08:06:22.830" LastActivityDate="2019-06-13T14:34:00.417" Title="Import tree data with Sitecore Rocks" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19357" PostTypeId="1" AcceptedAnswerId="19358" CreationDate="2019-06-13T08:04:44.683" Score="2" ViewCount="592" Body="&lt;p&gt;I have created a custom insert link button by inserting an item based on    &lt;code&gt;/sitecore/templates/System/Html Editor Profiles/Html Editor Button&lt;/code&gt; in html editor profile rich text editor. It is working fine and meeting all the requirement except that it is not showing the tooltip on hover. I am not sure where to set the tooltip as the above template doesnot have any tooltip field. I can see that there is no title field in the rendered html for that button.&#xA;I do not wan to use WebEdit button as in that case I will have to change the existing js files instead of patching the js file.&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="277" LastEditDate="2019-06-13T08:11:45.273" LastActivityDate="2019-06-13T08:11:45.273" Title="setting tool tip for custom button for rich text editor" Tags="|sitecore-client|richtext-editor|custom-field|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19358" PostTypeId="2" ParentId="19357" CreationDate="2019-06-13T08:11:21.203" Score="3" Body="&lt;p&gt;Just set a display name of your button to whatever you want to be a tooltip:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mExO1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mExO1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/esNSX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/esNSX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-13T08:11:21.203" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19361" PostTypeId="2" ParentId="18955" CreationDate="2019-06-13T10:43:28.347" Score="2" Body="&lt;p&gt;To get around this issue I retrieved the interactions from the Contact via the code below. If anyone can explain why, that would be helpful, but this should get you out of trouble.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Contact contact = context.Fact&amp;lt;Contact&amp;gt;((string)null);&#xA;if (contact != null &amp;amp;&amp;amp; contact.Interactions != null &amp;amp;&amp;amp; contact.Interactions.Any())&#xA;{&#xA;  //do stuff&#xA;  return true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2019-06-13T10:43:28.347" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19362" PostTypeId="1" CreationDate="2019-06-13T11:20:40.570" Score="1" ViewCount="653" Body="&lt;p&gt;I am investigating my site's indexing and looking at working around the Azure Search index 1000 field limit (see here &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6311/rebuilding-sitecore-core-index-on-azure-search-throwing-exceeding-index-limitati&quot;&gt;Rebuilding Sitecore Core Index on Azure search throwing exceeding index limitation exception&lt;/a&gt;). This is affecting our &lt;code&gt;sitecore-master-index&lt;/code&gt; and &lt;code&gt;sitecore-web-index&lt;/code&gt; but not core.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;FYI using Sitecore 8.2u7 with SXA, SPE, WFFM.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some obvious steps I can think of are to exclude the following templates from indexing:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;WFFM templates&lt;/li&gt;&#xA;&lt;li&gt;SPE&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;These alone are not enough, however.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Running a little SPE script I see 350+ templates under &lt;code&gt;/sitecore/templates/System&lt;/code&gt;. What would be the consequences of excluding &lt;em&gt;all&lt;/em&gt; of those?&#xA;Can anyone provide a list of standard templates to remove, or is this simply a case of &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;em&gt;exclude the things you can live without and leave the rest?&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="137" LastEditorUserId="95" LastEditDate="2019-06-14T01:17:50.793" LastActivityDate="2020-02-05T01:21:26.180" Title="Techniques and Rules to Eliminating Template fields from Indexing" Tags="|content-search|azure-search|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19364" PostTypeId="2" ParentId="19354" CreationDate="2019-06-13T11:43:27.917" Score="2" Body="&lt;p&gt;You can get a list of Entity IDs, instead of GUIDs, and then retrieve Catalog items by Entity Id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ICreateRelationshipPipeline&lt;/code&gt; and &lt;code&gt;IDeleteRelationshipPipeline&lt;/code&gt; use &lt;code&gt;UpdateCatalogHierarchyBlock&lt;/code&gt; for control catalog entity relationships. All these Catalog item relations Sitecore Commerce stores in &lt;code&gt;CatalogItemBase&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Commerce.Plugin.Catalog&#xA;{&#xA;  /// &amp;lt;summary&amp;gt;Represents the base class for all catalog items&amp;lt;/summary&amp;gt;&#xA;  /// &amp;lt;seealso cref=&quot;T:Sitecore.Commerce.Core.CommerceEntity&quot; /&amp;gt;&#xA;  public class CatalogItemBase : CommerceEntity&#xA;  {&#xA;    /// &amp;lt;summary&amp;gt;Gets or sets the sitecore identifier.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;The sitecore identifier.&amp;lt;/value&amp;gt;&#xA;    public string SitecoreId { get; set; }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets or sets the Sitecore IDs of the catalogs directly related to this entity (i.e. CatalogToCategory or CatalogToSellableItem relationship).&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public string CatalogToEntityList { get; set; }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;Gets or sets the parent catalogs.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;The parent catalogs.&amp;lt;/value&amp;gt;&#xA;    public string ParentCatalogList { get; set; }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;Gets or sets the parent categories.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;The parent categories.&amp;lt;/value&amp;gt;&#xA;    public string ParentCategoryList { get; set; }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;Gets or sets the child categories.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;The child categories.&amp;lt;/value&amp;gt;&#xA;    public string ChildrenCategoryList { get; set; }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;Gets or sets the child sellable items.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;The child sellable items.&amp;lt;/value&amp;gt;&#xA;    public string ChildrenSellableItemList { get; set; }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;Gets or sets the item variations.&amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;The item variations.&amp;lt;/value&amp;gt;&#xA;    public string ItemVariations { get; set; }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Gets or sets a value indicating whether this instance is bundle.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;value&amp;gt;&#xA;    ///   &amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; if this instance is bundle; otherwise, &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;.&#xA;    /// &amp;lt;/value&amp;gt;&#xA;    public bool IsBundle { get; set; }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your case, you can create a new &lt;code&gt;ExtendedCatalogItemComponent&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExtendedCatalogItemComponent : Component&#xA;    {&#xA;        public string ParentCatalogEntitiesList { get; set; }&#xA;&#xA;        public string ParentCategoryEntitiesList { get; set; }&#xA;&#xA;        public string ChildrenCategoryEntitiesList { get; set; }&#xA;&#xA;        public string ChildrenSellableItemEntitiesList { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Create &lt;code&gt;UpdateCatalogCustomHierarchyBlock&lt;/code&gt;, which will update catalog item relationships, when new relation will be created or deleted.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class UpdateCatalogCustomHierarchyBlock : PipelineBlock&amp;lt;RelationshipArgument, RelationshipArgument, CommercePipelineExecutionContext&amp;gt;&#xA;    {&#xA;        private const string CatalogToCategory = &quot;CatalogToCategory&quot;;&#xA;        private const string CategoryToCategory = &quot;CategoryToCategory&quot;;&#xA;        private const string CatalogToSellableItem = &quot;CatalogToSellableItem&quot;;&#xA;        private const string CategoryToSellableItem = &quot;CategoryToSellableItem&quot;;&#xA;        private readonly IFindEntityPipeline _findEntityPipeline;&#xA;        private readonly IPersistEntityPipeline _persistEntityPipeline;&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Initializes a new instance of the &amp;lt;see cref=&quot;UpdateCatalogCustomHierarchyBlock&quot;/&amp;gt; class.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;findEntityPipeline&quot;&amp;gt;The find entity pipeline.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;persistEntityPipeline&quot;&amp;gt;The persist entity pipeline.&amp;lt;/param&amp;gt;&#xA;        public UpdateCatalogCustomHierarchyBlock(&#xA;          IFindEntityPipeline findEntityPipeline,&#xA;          IPersistEntityPipeline persistEntityPipeline)&#xA;        {&#xA;            this._findEntityPipeline = findEntityPipeline;&#xA;            this._persistEntityPipeline = persistEntityPipeline;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Runs the specified argument.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;arg&quot;&amp;gt;The argument.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;context&quot;&amp;gt;The context.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        public override async Task&amp;lt;RelationshipArgument&amp;gt; Run(&#xA;          RelationshipArgument arg,&#xA;          CommercePipelineExecutionContext context)&#xA;        {&#xA;            Condition.Requires(arg).IsNotNull(this.Name + &quot;: The argument can not be null&quot;);&#xA;            Condition.Requires(arg.TargetName).IsNotNullOrEmpty(this.Name + &quot;: The target name can not be null or empty&quot;);&#xA;            Condition.Requires(arg.SourceName).IsNotNullOrEmpty(this.Name + &quot;: The source name can not be null or empty&quot;);&#xA;            Condition.Requires(arg.RelationshipType).IsNotNullOrEmpty(this.Name + &quot;: The relationship type can not be null or empty&quot;);&#xA;&#xA;            if (!((IEnumerable&amp;lt;string&amp;gt;)new string[4]&#xA;            {&#xA;                CatalogToCategory,&#xA;                CatalogToSellableItem,&#xA;                CategoryToCategory,&#xA;                CategoryToSellableItem&#xA;            })&#xA;            .Contains(arg.RelationshipType, StringComparer.OrdinalIgnoreCase))&#xA;            {&#xA;                return arg;&#xA;            }&#xA;&#xA;            var source = await this._findEntityPipeline.Run(new FindEntityArgument(typeof(CatalogItemBase), arg.SourceName, false), context) as CatalogItemBase;&#xA;            var entityIds = new List&amp;lt;string&amp;gt;();&#xA;&#xA;            if (arg.TargetName.Contains(&quot;|&quot;))&#xA;            {&#xA;                var strArray = arg.TargetName.Split('|');&#xA;                entityIds.AddRange(strArray);&#xA;            }&#xA;            else&#xA;            {&#xA;                entityIds.Add(arg.TargetName);&#xA;            }&#xA;&#xA;            var sourceChanged = new ValueWrapper&amp;lt;bool&amp;gt;(false);&#xA;&#xA;            if (!source.HasComponent&amp;lt;ExtendedCatalogItemComponent&amp;gt;())&#xA;            {&#xA;                source.SetComponent(new ExtendedCatalogItemComponent());&#xA;            }&#xA;&#xA;            var sourceComponent = source.GetComponent&amp;lt;ExtendedCatalogItemComponent&amp;gt;();&#xA;&#xA;            foreach (var entityId in entityIds)&#xA;            {&#xA;                var catalogItemBase = await this._findEntityPipeline.Run(new FindEntityArgument(typeof(CatalogItemBase), entityId, false), context) as CatalogItemBase;&#xA;                if (catalogItemBase != null)&#xA;                {&#xA;                    if (!catalogItemBase.HasComponent&amp;lt;ExtendedCatalogItemComponent&amp;gt;())&#xA;                    {&#xA;                        catalogItemBase.SetComponent(new ExtendedCatalogItemComponent());&#xA;                    }&#xA;&#xA;                    var catalogItemBaseComponent = catalogItemBase.GetComponent&amp;lt;ExtendedCatalogItemComponent&amp;gt;();&#xA;                    var changed = new ValueWrapper&amp;lt;bool&amp;gt;(false);&#xA;&#xA;                    if (arg.RelationshipType.Equals(CatalogToCategory, StringComparison.OrdinalIgnoreCase))&#xA;                    {&#xA;                        sourceComponent.ChildrenCategoryEntitiesList = this.UpdateHierarchy(arg, catalogItemBase.Id, sourceComponent.ChildrenCategoryEntitiesList, sourceChanged);&#xA;                        catalogItemBaseComponent.ParentCatalogEntitiesList = this.UpdateHierarchy(arg, source.Id, catalogItemBaseComponent.ParentCatalogEntitiesList, changed);&#xA;                    }&#xA;                    else if (arg.RelationshipType.Equals(CategoryToCategory, StringComparison.OrdinalIgnoreCase))&#xA;                    {&#xA;                        sourceComponent.ChildrenCategoryEntitiesList = this.UpdateHierarchy(arg, catalogItemBase.Id, sourceComponent.ChildrenCategoryEntitiesList, sourceChanged);&#xA;                        catalogItemBaseComponent.ParentCategoryEntitiesList = this.UpdateHierarchy(arg, source.Id, catalogItemBaseComponent.ParentCategoryEntitiesList, changed);&#xA;                        catalogItemBaseComponent.ParentCatalogEntitiesList = this.UpdateHierarchy(arg, this.ExtractCatalogId(source.Id), catalogItemBaseComponent.ParentCatalogEntitiesList, changed);&#xA;                    }&#xA;                    else if (arg.RelationshipType.Equals(CatalogToSellableItem, StringComparison.OrdinalIgnoreCase))&#xA;                    {&#xA;                        sourceComponent.ChildrenSellableItemEntitiesList = this.UpdateHierarchy(arg, catalogItemBase.Id, sourceComponent.ChildrenSellableItemEntitiesList, sourceChanged);&#xA;                        catalogItemBaseComponent.ParentCatalogEntitiesList = this.UpdateHierarchy(arg, source.Id, catalogItemBaseComponent.ParentCatalogEntitiesList, changed);&#xA;                    }&#xA;                    else if (arg.RelationshipType.Equals(CategoryToSellableItem, StringComparison.OrdinalIgnoreCase))&#xA;                    {&#xA;                        sourceComponent.ChildrenSellableItemEntitiesList = this.UpdateHierarchy(arg, catalogItemBase.Id, sourceComponent.ChildrenSellableItemEntitiesList, sourceChanged);&#xA;                        catalogItemBaseComponent.ParentCategoryEntitiesList = this.UpdateHierarchy(arg, source.Id, catalogItemBaseComponent.ParentCategoryEntitiesList, changed);&#xA;                        catalogItemBaseComponent.ParentCatalogEntitiesList = this.UpdateHierarchy(arg, this.ExtractCatalogId(source.Id), catalogItemBaseComponent.ParentCatalogEntitiesList, changed);&#xA;                    }&#xA;                    if (changed.Value)&#xA;                    {&#xA;                        await this._persistEntityPipeline.Run(new PersistEntityArgument(catalogItemBase), context);&#xA;                    }&#xA;                }&#xA;            }&#xA;            if (sourceChanged.Value)&#xA;            {&#xA;                await this._persistEntityPipeline.Run(new PersistEntityArgument(source), context);&#xA;            }&#xA;            return arg;&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Extracts the catalog identifier.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;id&quot;&amp;gt;The identifier.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        private string ExtractCatalogId(string id)&#xA;        {&#xA;            var strArray = id.Split(new[] { &quot;-&quot; }, StringSplitOptions.RemoveEmptyEntries);&#xA;&#xA;            return strArray.Length &amp;lt; 3 ? string.Empty : CommerceEntity.IdPrefix&amp;lt;Catalog.Catalog&amp;gt;() + strArray[2];&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;Updates the hierarchy.&amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;arg&quot;&amp;gt;The argument.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;targetId&quot;&amp;gt;The target identifier.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;rawChildren&quot;&amp;gt;The raw children.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;changed&quot;&amp;gt;The changed.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        private string UpdateHierarchy(&#xA;          RelationshipArgument arg,&#xA;          string targetId,&#xA;          string rawChildren,&#xA;          ValueWrapper&amp;lt;bool&amp;gt; changed)&#xA;        {&#xA;            if (rawChildren == null)&#xA;                rawChildren = string.Empty;&#xA;            var childIdList = rawChildren.Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries).ToList();&#xA;&#xA;            if (arg.Mode.GetValueOrDefault() == RelationshipMode.Create &amp;amp; arg.Mode.HasValue &amp;amp;&amp;amp; !childIdList.Contains(targetId))&#xA;            {&#xA;                if (!changed.Value)&#xA;                {&#xA;                    changed.Value = true;&#xA;                }&#xA;&#xA;                childIdList.RemoveAll(c =&amp;gt; c.Equals(targetId, StringComparison.OrdinalIgnoreCase));&#xA;                childIdList.Add(targetId);&#xA;            }&#xA;            else&#xA;            {&#xA;                if (arg.Mode.GetValueOrDefault() == RelationshipMode.Delete &amp;amp; arg.Mode.HasValue &amp;amp;&amp;amp; childIdList.Contains(targetId))&#xA;                {&#xA;                    if (!changed.Value)&#xA;                    {&#xA;                        changed.Value = true;&#xA;                    }&#xA;&#xA;                    childIdList.RemoveAll(c =&amp;gt; c.Equals(targetId, StringComparison.OrdinalIgnoreCase));&#xA;                }&#xA;            }&#xA;            return string.Join(&quot;|&quot;, childIdList);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Register &lt;code&gt;UpdateCatalogCustomHierarchyBlock&lt;/code&gt; in &lt;code&gt;ConfigureSitecore.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ConfigureServices(IServiceCollection services)&#xA;        {&#xA;            var assembly = Assembly.GetExecutingAssembly();&#xA;            services.RegisterAllPipelineBlocks(assembly);&#xA;&#xA;            services.Sitecore().Pipelines(&#xA;                p =&amp;gt; p&#xA;&#xA;                    .ConfigurePipeline&amp;lt;ICreateRelationshipPipeline&amp;gt;(&#xA;                        configure =&amp;gt;&#xA;                        {&#xA;                            configure.Add&amp;lt;UpdateCatalogCustomHierarchyBlock&amp;gt;().After&amp;lt;UpdateCatalogHierarchyBlock&amp;gt;();&#xA;                        })&#xA;                    .ConfigurePipeline&amp;lt;IDeleteRelationshipPipeline&amp;gt;(&#xA;                        configure =&amp;gt;&#xA;                        {&#xA;                            configure.Add&amp;lt;UpdateCatalogCustomHierarchyBlock&amp;gt;().After&amp;lt;UpdateCatalogHierarchyBlock&amp;gt;();&#xA;                        }));&#xA;&#xA;            services.RegisterAllCommands(assembly);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt;&#xA;My solution works only for catalog/catalog items which was created from scratch after you added and registered my source code in Sitecore Commerce Engine. When you import Habitat catalog it will not create catalog item relationships programmatically, because they already exist in &lt;code&gt;Habitat.zip&lt;/code&gt; catalog. So you need to clean-up Catalog/Category/SellableItem entities and then recreate your catalog(s)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After all these changes you will able to retrieve a list of SellableItems from the &lt;code&gt;ExtendedCatalogItemComponent&lt;/code&gt;, which will be added when you will create a new one catalog relationship.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-06-13T11:43:27.917" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19365" PostTypeId="1" AcceptedAnswerId="19369" CreationDate="2019-06-13T13:24:41.150" Score="2" ViewCount="204" Body="&lt;p&gt;I am using events to enrol contacts in a Marketing Automation plan, and it works fine in XP Single topology, but in an XP Scaled topology (Azure PaaS) the contacts are not being enrolled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The plan is set to Active and has not expired. I have verified that the contact has the event in its Interactions data (via xConnect OData API) and I can see the contact in the AutomationPool database table at the time the event was triggered, but the contact remains in the pool and never gets enrolled. The value in the &lt;em&gt;Attempts&lt;/em&gt; column for all contacts is 0. There are no records in the other Marketing Automation database tables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The xConnect collection, xConnect search, and Marketing Automation Operations Azure app services are not throwing any errors in Application Insights.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What might prevent a contact from being enrolled in the plan ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Environment: Sitecore 9.1 Update 1, Azure Search, MS Azure PaaS XP Scaled.&lt;/p&gt;&#xA;" OwnerUserId="2034" LastEditorUserId="5615" LastEditDate="2019-06-13T14:34:46.547" LastActivityDate="2019-06-13T14:34:46.547" Title="Contacts not enrolling in Automation Plan in XP Scaled topology" Tags="|xconnect|azure|marketing-automation|api|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19367" PostTypeId="2" ParentId="19333" CreationDate="2019-06-13T13:59:51.543" Score="2" Body="&lt;p&gt;You must add setters to your properties, like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public AwardedAdjustment AssociatedAdjustment { get; set; }&#xA;&#xA;public DiscountCode DiscountCode { get; set; }&#xA;&#xA;public decimal AdjustmentRate { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2577" LastEditorUserId="2577" LastEditDate="2019-06-13T14:16:42.403" LastActivityDate="2019-06-13T14:16:42.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19368" PostTypeId="2" ParentId="19333" CreationDate="2019-06-13T14:07:03.140" Score="0" Body="&lt;p&gt;Not sure what inside in &lt;code&gt;AwardedAdjustment&lt;/code&gt; class, but you can try below things:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    //apply setter in your property&#xA;    public AwardedAdjustment AssociatedAdjustment { get; set; }&#xA;&#xA;    //Constructor &#xA;    public AdjustmentExtendedComponent()&#xA;    {&#xA;         //initialize here&#xA;         AssociatedAdjustment = new AwardedAdjustment(); &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope it will fix your issue.&lt;/p&gt;&#xA;" OwnerUserId="5615" LastEditorUserId="2577" LastEditDate="2019-06-13T14:20:51.337" LastActivityDate="2019-06-13T14:20:51.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19369" PostTypeId="2" ParentId="19365" CreationDate="2019-06-13T14:23:06.860" Score="1" Body="&lt;p&gt;This sounds like the Marketing Automation Engine webjob is not running properly. This is an executable that, in Azure Paas, runs as a webjob in the MAops app service (for XP Scaled topologies) and responsible for enrolling contacts in plans and activities. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can confirm it's running status in the webjobs blade in Azure portal. You can also restart it here if needed.  Additionally you can get more detailed information on the status and logs in Kudu via the &quot;Webjobs Dashboard&quot;. This may help diagnose why the job is not starting correctly (eg. config issue, license issue etc)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some more information on the data flows in the Sitecore docs:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/marketing-automation-engine.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/marketing-automation-engine.html&lt;/a&gt;  &lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2019-06-13T14:23:06.860" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19370" PostTypeId="2" ParentId="19356" CreationDate="2019-06-13T14:34:00.417" Score="1" Body="&lt;p&gt;It looks like what you want to do is not possible with a &lt;code&gt;Tree Import&lt;/code&gt; - that only creates the items, you would then have to get the items and populate fields after.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;CSV Import:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Alternatively you could use the &lt;a href=&quot;https://github.com/Sitecore/Sitecore.Rocks/blob/master/docs/QueryAnalyzer/QueryAnalyzerSamples.md#csv-import-source&quot; rel=&quot;nofollow noreferrer&quot;&gt;CVS import source&lt;/a&gt;. This allows you to populate fields at the time of creation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;import csv&#xA;&quot; &#xA;,&#xA;@ItemName, Title, Text&#xA;Home, Sitecore, &quot;Welcome to Sitecore&quot;&#xA;&quot;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In that example, it is setting a default template, and then the columns define the properties of each item.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update items after a Tree Import&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;One more option would be to update the items after the tree import by using the &lt;code&gt;update&lt;/code&gt; command in the Query Analyzer:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;update set &#xA;  @Title = &quot;Welcome to Sitecore&quot;, &#xA;  @Text = &quot;Hello&quot; &#xA;from /sitecore/content/Home&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This seems a little more effort to write out, but would give you what you need.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-13T14:34:00.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19371" PostTypeId="1" CreationDate="2019-06-13T14:56:47.070" Score="2" ViewCount="2129" Body="&lt;p&gt;I am trying to set up Sitecore 9.1.1 Identity Server to act as a Federation Gateway with Azure AD as described  &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;What isn't clear to me is how to register the Sitecore site in Azure AD.  I am assuming that in Azure AD you have to configure a Redirect URI or some sort of Reply URL to tell Azure AD where to go after successful authentication.  The Sitecore documentation doesn't really specify.&lt;/p&gt;&#xA;&lt;p&gt;In the Sitecore documentation it links you to this for configuring Azure AD (&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-openid-connect-code&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-openid-connect-code&lt;/a&gt;).  In that documentation it says &amp;quot;Provide the Redirect URI. For Web Applications, this is the base URL of your app where users can sign in.&amp;quot;  That leads me to believe that the Redirect URI should be &lt;code&gt;https://[SI Server Host Name]/account/login&lt;/code&gt; since that is the page I go to when I want to log in.  However the Sitecore documentation also mentions this URI - &lt;code&gt;https://[SI Server Host Name]/signin-oidc&lt;/code&gt;. I have no idea at all what that /signin-oidc thing is as  when I try to go to that on my Identity Server I get a 404 error.&lt;/p&gt;&#xA;&lt;p&gt;Does anyone know exactly what I should put in ADFS for the Redirect URI?  Also the Sitecore documentation mentions the ReplyURLs setting in the Application Manifest.  Although it isn't clear what they mean by that I am guessing they mean the Application Manifest in the Azure AD setup.&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="7820" LastEditDate="2021-04-15T08:01:41.033" LastActivityDate="2022-10-10T07:33:36.480" Title="How to configure Azure AD to work with Sitecore Identity Server?" Tags="|identity-server|azure-ad|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19372" PostTypeId="2" ParentId="18832" CreationDate="2019-06-13T15:02:44.530" Score="7" Body="&lt;p&gt;The issue had a group of issues and all were around errors. Some you can see, some that are not in logs.&lt;/p&gt;&#xA;&lt;p&gt;As stated in my OP updates, my items has some illegal characters. I needed to run this SQL to find the items and the fields. Then you have to manually find the character and remove it.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;SELECT * FROM (&#xA;    SELECT ItemId, FieldId, Value FROM [usms_master].[dbo].[SharedFields] &#xA;    UNION&#xA;    SELECT ItemId, FieldId, Value FROM [usms_master].[dbo].[UnversionedFields]&#xA;    UNION&#xA;    SELECT ItemId, FieldId, Value FROM [usms_master].[dbo].[VersionedFields]&#xA;  ) A&#xA;WHERE Value Like '%' + CHAR(0x01) + '%'&#xA;OR Value Like '%' + CHAR(0x03) + '%'&#xA;OR Value Like '%' + CHAR(0x08) + '%'&#xA;OR Value Like '%' + CHAR(0x10) + '%'&#xA;OR Value Like '%' + CHAR(0x12) + '%'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Seconds issue is that Sitecore has a bug with indexing pdfs and word docs. I had to rem out the pdf and doc inclusions in the solr config file.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;App_Config\Sitecore\ContentSearch\Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mediaIndexing hint=&amp;quot;skip&amp;quot;&amp;gt;&#xA;            &amp;lt;mimeTypes&amp;gt;&#xA;               &amp;lt;includes&amp;gt;&#xA;                  &amp;lt;mimeType&amp;gt;application/pdf&amp;lt;/mimeType&amp;gt; &amp;lt;--- remove this&#xA;            &amp;lt;extensions&amp;gt;&#xA;               ...&#xA;               &amp;lt;includes&amp;gt;&#xA;                 ...&#xA;                 &amp;lt;extension&amp;gt;doc&amp;lt;/extension&amp;gt; &amp;lt;--- remove this&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;There is an available hotfix for bug #305015 for PDF. But there is no hotfix available for the doc issue.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="3822" LastEditDate="2021-04-27T04:47:23.787" LastActivityDate="2021-04-27T04:47:23.787" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="19373" PostTypeId="2" ParentId="19362" CreationDate="2019-06-13T15:34:42.603" Score="1" Body="&lt;h3&gt;Try this if you are on a version earlier than SXA 1.7.1.&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I maintain a solution using Sitecore 8.2.7 and SXA 1.7.0. I learned from @adamnaj that SXA 1.7.1 includes a patch to remove tons of unnecessary fields. Although I'm not using Azure, this was a good opportunity to try and speed the indexing up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have a look at some configs included with SXA 1.7.1 you can get the complete list of fields to exclude.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;!-- Remove these after upgrading to 1.7.1 later --&amp;gt;&#xA;          &amp;lt;exclude hint=&quot;list:ExcludeField&quot;&amp;gt;&#xA;            &amp;lt;LearnMoreTarget_A4270003 tag=&quot;{A4270003-480F-467A-BBEA-0D1B05B28656}&quot;&amp;gt;{A4270003-480F-467A-BBEA-0D1B05B28656}&amp;lt;/LearnMoreTarget_A4270003&amp;gt;&#xA;            &amp;lt;PrivacyWarningButtonText_6AF8DFD6 tag=&quot;{6AF8DFD6-F541-400A-83C0-2A90A1FE8E6F}&quot;&amp;gt;{6AF8DFD6-F541-400A-83C0-2A90A1FE8E6F}&amp;lt;/PrivacyWarningButtonText_6AF8DFD6&amp;gt;&#xA;            &amp;lt;PrivacyWarningContent_F2AD4C49 tag=&quot;{F2AD4C49-ECC4-4D42-A967-2756182705AC}&quot;&amp;gt;{F2AD4C49-ECC4-4D42-A967-2756182705AC}&amp;lt;/PrivacyWarningContent_F2AD4C49&amp;gt;&#xA;            &amp;lt;PrivacyWarningType_73501930 tag=&quot;{73501930-26ED-493F-ADC9-3AC77FC5ED66}&quot;&amp;gt;{73501930-26ED-493F-ADC9-3AC77FC5ED66}&amp;lt;/PrivacyWarningType_73501930&amp;gt;&#xA;            &amp;lt;!-- Removed for brevity --&amp;gt;&#xA;          &amp;lt;/exclude&amp;gt;&#xA;        &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-06-13T15:34:42.603" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19374" PostTypeId="1" AcceptedAnswerId="19377" CreationDate="2019-06-13T16:43:28.323" Score="0" ViewCount="553" Body="&lt;p&gt;How can I get the referenced item from a &lt;code&gt;droplink&lt;/code&gt; field in rendering parameters.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I tried:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var model = new DFFVideoModel();&#xA;LookupField VideoItem = (LookupField)RenderingContext.Current.Rendering.Parameters[&quot;Video Item&quot;];&#xA;model.VideoItem = VideoItem;&#xA;return View(model); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;IntelliSense complains that it can't convert type string to &lt;code&gt;Lookupfield&lt;/code&gt;. Any other way to do it?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="70" LastEditDate="2019-06-13T22:37:12.850" LastActivityDate="2019-06-13T22:37:12.850" Title="Retrieving item from Droplink Rendering Parameter" Tags="|fieldtype|renderfield|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19375" PostTypeId="1" CreationDate="2019-06-13T17:03:25.670" Score="0" ViewCount="142" Body="&lt;p&gt;In one of our websites, &lt;strong&gt;the header and footer disappears after a while&lt;/strong&gt;. And this is &lt;strong&gt;happening only for the home page&lt;/strong&gt;.&#xA;After we &lt;strong&gt;recycle the app pool or publish something&lt;/strong&gt; then it starts showing up again.&#xA;We are using SXA and upgraded it from 1.6 to 1.8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This website has two CDs. What we are seeing is that on CD1 we see the header and footer, but on CD2 the header and footer disappears.&lt;/p&gt;&#xA;" OwnerUserId="3632" LastEditorUserId="1000" LastEditDate="2019-06-18T21:27:08.457" LastActivityDate="2019-06-18T21:27:08.457" Title="Sitecore SXA few components disappearing" Tags="|sxa|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19376" PostTypeId="2" ParentId="14891" CreationDate="2019-06-13T17:16:30.157" Score="3" Body="&lt;p&gt;I was running some shell scripts to import data onto my website in Sitecore PowerShell ISE. And I found these.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JLsu4.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JLsu4.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ji5SC.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ji5SC.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xxpf8.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xxpf8.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4988" LastEditorUserId="70" LastEditDate="2019-06-13T18:23:12.700" LastActivityDate="2019-06-13T18:23:12.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19377" PostTypeId="2" ParentId="19374" CreationDate="2019-06-13T17:20:07.090" Score="2" Body="&lt;p&gt;The &lt;code&gt;.Parameters&lt;/code&gt; property on the &lt;code&gt;Rendering&lt;/code&gt; is just a key value pair and the value is the string containing the raw value for the field type. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string this[string parameterName]&#xA;{&#xA;  get&#xA;  {&#xA;    return this.Values.ValueOrDefault&amp;lt;string, string&amp;gt;(parameterName);&#xA;  }&#xA;  set&#xA;  {&#xA;    Assert.IsNotNull((object) parameterName, nameof (parameterName));&#xA;    this.Values[parameterName] = value;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So you would have to take the raw value and parse that to get the Item Id that was set in the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a lookup field, this is just the ID if the item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var model = new MTFVideoModel();&#xA;var videoItemRaw = RenderingContext.Current.Rendering.Parameters[&quot;Video Item&quot;];&#xA;var videoItem = Context.Database.GetItem(new ID(videoItemRaw));&#xA;model.VideoItem = VideoItem;&#xA;return View(model); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-13T17:20:07.090" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19378" PostTypeId="1" AcceptedAnswerId="23206" CreationDate="2019-06-13T17:39:27.623" Score="5" ViewCount="501" Body="&lt;p&gt;After manually implementing support for the &lt;code&gt;Edm.GeographyPoint&lt;/code&gt; field type (per &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10419/is-it-possible-to-get-azure-search-to-support-edm-geographypoint&quot;&gt;Is it possible to get Azure Search to support EDM.GeographyPoint?&lt;/a&gt;), I was happy to notice an answer on a related question from &lt;a href=&quot;https://sitecore.stackexchange.com/users/851/dawid-rutkowski&quot;&gt;Dawid Rutkowski&lt;/a&gt; (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/18014/using-sitecore-sxa-location-search-with-azure-search/18015#18015&quot;&gt;Using Sitecore SXA Location Search with Azure Search&lt;/a&gt;) indicating that the SXA team has implemented this same functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've converted my custom index configurations over to use the relevant SXA types (e.g. &lt;code&gt;Sitecore.XA.Foundation.Search.Providers.Azure.CloudSearchProviderIndex&lt;/code&gt;). &lt;strong&gt;I'm able to rebuild my index in Sitecore and see good values in the Azure index&lt;/strong&gt;, for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;&quot;geo_coordinate&quot;: {&#xA;  &quot;type&quot;: &quot;Point&quot;,&#xA;  &quot;coordinates&quot;: [&#xA;    -90.169,&#xA;    33.4945&#xA;  ],&#xA;  &quot;crs&quot;: {&#xA;    &quot;type&quot;: &quot;name&quot;,&#xA;    &quot;properties&quot;:&#xA;    {&#xA;      &quot;name&quot;: &quot;EPSG:4326&quot;&#xA;    }&#xA;  }&#xA;}&#xA;...&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, I'm trying to &lt;em&gt;query&lt;/em&gt; the index using the Sitecore search API and am getting the following run-time error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Constructor on type 'Sitecore.XA.Foundation.Search.Providers.Azure.LinqToCloudIndex`1[[Acme.Foundation.Search.Models.FooResult, Acme.Foundation.Search, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' not found.&#xA;&#xA;at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp;amp; stackMark)&#xA;   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&#xA;   at System.Activator.CreateInstance(Type type, Object[] args)&#xA;   at Sitecore.XA.Foundation.Search.Providers.Azure.CloudSearchProviderIndex.&amp;lt;&amp;gt;c.&amp;lt;InitializeServiceCollectionClient&amp;gt;b__2_0(ServiceBuilder builder)&#xA;   at Sitecore.ContentSearch.Azure.ServiceCollection.GetInstance(Type concreteType, Object[] args)&#xA;   at Sitecore.ContentSearch.Azure.ServiceCollection.GetInstance[T](Object[] args)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchSearchContext.GetQueryable[TItem](IExecutionContext[] executionContexts)&#xA;   at Acme.Foundation.Search.Repositories.FooRepository.GetFoos(...)&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here are my index configurations:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;  &amp;lt;sitecore search:require=&quot;azure&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultAzureFoosIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot;&amp;gt;&#xA;          &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;geo_coordinate&quot; boost=&quot;1f&quot; facetable=&quot;NO&quot; type=&quot;Sitecore.XA.Foundation.Search.Providers.Azure.Geospatial.GeoPoint&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;          &amp;lt;documentOptions ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/documentOptions&quot;&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;geo_coordinate&quot;&amp;gt;Acme.Foundation.Search.ComputedFields.CoordinateComputedIndexField, Acme.Foundation.Search&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/defaultAzureFoosIndexConfiguration&amp;gt;&#xA;    &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot; xmlns:tenant=&quot;http://www.sitecore.net/xmlconfig/tenant/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement or ContentDelivery&quot; search:require=&quot;azure&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;foo_web_index&quot; type=&quot;Sitecore.XA.Foundation.Search.Providers.Azure.CloudSearchProviderIndex, Sitecore.XA.Foundation.Search.Providers.Azure&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultAzureFoosIndexConfiguration&quot; /&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                  &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;                &amp;lt;/policy&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Tenant/Global/Foos/&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm creating the search context as per usual:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var ctx = ContentSearchManager.GetIndex(&quot;foo_web_index&quot;).CreateSearchContext();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;...and am querying the index like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var results = ctx.GetQueryable&amp;lt;FooResult&amp;gt;().Where(...)...;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The run-time error is thrown on this line (on &lt;code&gt;GetQueryable&amp;lt;T&amp;gt;()&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have verified/tried thus far:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;My custom index configs are patched &lt;em&gt;after&lt;/em&gt; &lt;code&gt;Sitecore.XA.Foundation.Search.Azure.config&lt;/code&gt; (&lt;code&gt;...\App_Config\Modules\SXA\Z.Foundation.Overrides\Sitecore.XA.Foundation.Search.Azure.config&lt;/code&gt;) and should therefore pick up all the SXA goodness.&lt;/li&gt;&#xA;&lt;li&gt;There aren't ostensibly any &lt;code&gt;&amp;lt;param /&amp;gt;&lt;/code&gt; elements I'm missing.&lt;/li&gt;&#xA;&lt;li&gt;The run-time type of the search context is &lt;code&gt;Sitecore.XA.Foundation.Search.Providers.Azure.CloudSearchSearchContext&lt;/code&gt;, as expected.&lt;/li&gt;&#xA;&lt;li&gt;Inheriting from &lt;code&gt;SearchResultItem&lt;/code&gt; on &lt;code&gt;FooResult&lt;/code&gt; doesn't change the error.&lt;/li&gt;&#xA;&lt;li&gt;Adding a parameterless constructor on &lt;code&gt;FooResult&lt;/code&gt; doesn't change the error.&lt;/li&gt;&#xA;&lt;li&gt;Referencing an OOTB SXA index rather than the custom index (e.g. &lt;code&gt;sitecore_sxa_web_index&lt;/code&gt;) yields the same error; it doesn't seem to be unique to the index.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Reflecting &lt;code&gt;Sitecore.XA.Foundation.Search.Providers.Azure.dll&lt;/code&gt;, I think this is the method interest:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual ServiceCollectionClient InitializeServiceCollectionClient()&#xA;{&#xA;  ServiceCollectionClient collectionClient = new ServiceCollectionClient();&#xA;  collectionClient.Register(typeof (LinqToCloudIndex&amp;lt;&amp;gt;), (Func&amp;lt;ServiceBuilder, object&amp;gt;) (builder =&amp;gt; ServiceBuilder.CreateInstanceOfType(typeof (LinqToCloudIndex&amp;lt;&amp;gt;), builder.Types.ToArray&amp;lt;Type&amp;gt;(), (object) builder.Arguments)));&#xA;  collectionClient.Register(typeof (AbstractSearchIndex), (Func&amp;lt;ServiceBuilder, object&amp;gt;) (builder =&amp;gt; (object) this));&#xA;  collectionClient.Register(typeof (QueryStringBuilder), (Func&amp;lt;ServiceBuilder, object&amp;gt;) (builder =&amp;gt; (object) new QueryStringBuilder(new FilterQueryBuilder(), new SearchQueryBuilder(), true)));&#xA;  return collectionClient;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Specifically this line:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;collectionClient.Register(typeof (LinqToCloudIndex&amp;lt;&amp;gt;), (Func&amp;lt;ServiceBuilder, object&amp;gt;) (builder =&amp;gt; ServiceBuilder.CreateInstanceOfType(typeof (LinqToCloudIndex&amp;lt;&amp;gt;), builder.Types.ToArray&amp;lt;Type&amp;gt;(), (object) builder.Arguments)));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As this is reflected code, the empty &lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt; probably indicates a cast but, I got nothing .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What am I missing?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Something in the configs?&lt;/li&gt;&#xA;&lt;li&gt;Some fancy thing with DI?&lt;/li&gt;&#xA;&lt;li&gt;A specific way to instantiate the search context?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Version notes:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore XP 9.1.1 rev. 002459&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore Experience Accelerator 1.8.1 rev. 190319&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="37" LastEditorUserId="37" LastEditDate="2019-06-14T04:50:34.920" LastActivityDate="2019-11-28T15:04:01.030" Title="Using Geospatial Features Implemented in SXA with a Custom Search Index - Run-time Error" Tags="|sxa|azure-search|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="19379" PostTypeId="1" CreationDate="2019-06-13T19:47:17.110" Score="0" ViewCount="201" Body="&lt;p&gt;I'm using Sitecore 9.1 and SXA 1.8, this the configuration of the SXA suggester :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;searchComponent name=&quot;suggest&quot; class=&quot;solr.SuggestComponent&quot;&amp;gt;&#xA;&amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;&amp;lt;str name=&quot;name&quot;&amp;gt;sxaSuggester&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;lookupImpl&quot;&amp;gt;BlendedInfixLookupFactory&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;dictionaryImpl&quot;&amp;gt;DocumentDictionaryFactory&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;contextField&quot;&amp;gt;_language&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;field&quot;&amp;gt;suggestionadge_s&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;text_suggester&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;payloadField&quot;&amp;gt;templatedisplaynameadge_s&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;buildOnStartup&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;buildOnCommit&quot;&amp;gt;false&amp;lt;/str&amp;gt;&#xA;&amp;lt;/lst&amp;gt;&#xA;&amp;lt;/searchComponent&amp;gt;&#xA;&amp;lt;requestHandler name=&quot;/suggest&quot; class=&quot;solr.SearchHandler&quot; startup=&quot;lazy&quot; &amp;gt;&#xA;&amp;lt;lst name=&quot;defaults&quot;&amp;gt;&#xA;&amp;lt;str name=&quot;suggest.dictionary&quot;&amp;gt;sxaSuggester&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;suggest&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;suggest.onlyMorePopular&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;suggest.count&quot;&amp;gt;30&amp;lt;/str&amp;gt;&#xA;&amp;lt;str name=&quot;suggest.collate&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;&amp;lt;/lst&amp;gt;&#xA;&amp;lt;arr name=&quot;components&quot;&amp;gt;&#xA;&amp;lt;str&amp;gt;suggest&amp;lt;/str&amp;gt;&#xA;&amp;lt;/arr&amp;gt;&#xA;&amp;lt;/requestHandler&amp;gt;  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As I'm using &lt;strong&gt;BlendedInfixLookupFactory&lt;/strong&gt; it should sort the results according to which item that has the searched query closer to the start of the suggestion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this is not the case as the below screenshot:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/se7BC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/se7BC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the &lt;strong&gt;News Item 1&lt;/strong&gt; should be the first one.&lt;/p&gt;&#xA;" OwnerUserId="5545" LastActivityDate="2019-06-13T19:47:17.110" Title="SXA autosuggest results sorting" Tags="|sxa|content-search|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19380" PostTypeId="2" ParentId="8291" CreationDate="2019-06-13T20:15:15.047" Score="1" Body="&lt;p&gt;Your index is referencing the &quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot; for configuration. This is defined in Sitecore.ContentSearch.Azure.DefaultIndexConfiguration in the Sitecore content search configs. Check this default configuration and you should see some field definition as below based on your version of sitecore.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;somefield&quot;             cloudFieldName=&quot;somecloudfieldname&quot;          searchable=&quot;YES&quot;  retrievable=&quot;NO&quot;   facetable=&quot;YES&quot;  filterable=&quot;YES&quot;  sortable=&quot;YES&quot;  boost=&quot;1f&quot; type=&quot;System.String&quot;   settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check for your content__ field in there and probably you have these facetable,filterable,sortable set to YES for this field. Check with Sitecore whether it can be turned off and turn it off and reindex. You may have to delete the Azure index and do indexing for the updates to take place.&lt;/p&gt;&#xA;" OwnerUserId="178" LastActivityDate="2019-06-13T20:15:15.047" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19381" PostTypeId="1" AcceptedAnswerId="19382" CreationDate="2019-06-14T00:59:14.153" Score="1" ViewCount="63" Body="&lt;p&gt;Do we need to take any actions before Sitecore mainstream support expiry if we are not upgrading? What would be the impact if we don't upgrade before  mainstream support expiry?&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-14T01:26:31.410" Title="Sitecore mainstream support expiry" Tags="|support|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19382" PostTypeId="2" ParentId="19381" CreationDate="2019-06-14T01:26:31.410" Score="2" Body="&lt;p&gt;I would imagine like most products out on the market. Nothing happens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In general, customers paying their yearly dues for support ensures that they can receive product updates and support from Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Perhaps based on what support level you are at, you may receive limited or no support from Sitecore unless you are on a version that is still supported. For this you should check with your sales rep.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The product no longer receives any updates unless Sitecore deems the fix critical. Generally you will see a KB article released announcing a security vulnerability along with the proposed fix until you upgrade.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the event you do decide to upgrade, you can safely expect that web and database servers will need to be upgraded.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-06-14T01:26:31.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19383" PostTypeId="1" AcceptedAnswerId="19388" CreationDate="2019-06-14T04:39:19.773" Score="0" ViewCount="846" Body="&lt;p&gt;I've set up a blank &lt;code&gt;Sitecore 9.1.1 XP&lt;/code&gt; instance and tried to get &lt;code&gt;JSS&lt;/code&gt; up and running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've installed the &lt;code&gt;Sitecore JavaScript Services Server for Sitecore 9.1.1 XP&lt;/code&gt; package and 11.0.2 &lt;code&gt;sitecore-jss-cli&lt;/code&gt;. I'm using the React sample app (&lt;a href=&quot;https://github.com/Sitecore/jss/tree/dev/samples/react&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/jss/tree/dev/samples/react&lt;/a&gt;) and this is running correctly in disconnected mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is when I try to deploy the react code to Sitecore using &lt;code&gt;jss deploy app -c -d&lt;/code&gt;; I'm getting a 404 from the import service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My layout service and API key are returning a JSON response as expected, so not sure where else to look. &lt;/p&gt;&#xA;" OwnerUserId="5645" LastEditorUserId="5387" LastEditDate="2019-06-14T05:05:35.740" LastActivityDate="2019-06-14T10:28:10.237" Title="404 Error on Import Service" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19385" PostTypeId="1" CreationDate="2019-06-14T05:49:47.177" Score="2" ViewCount="191" Body="&lt;p&gt;When my page loads with a form, the query string contains a GUID of a property detail item. I want the URL of this property in the mail that triggers on submit button click of the form. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a &lt;strong&gt;model&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class PropertyInfoViewModel : FieldViewModel&#xA;{&#xA;    public string PropertyUrl { get; set; }&#xA;&#xA;    protected override void InitItemProperties(Item item)&#xA;    {&#xA;        base.InitItemProperties(item);&#xA;        try&#xA;        {&#xA;            if (Guid.TryParse(WebUtil.GetSafeQueryString(&quot;itemId&quot;), out Guid propertyId))&#xA;            {&#xA;                var product = Sitecore.Context.Database.GetItem(WebUtil.GetSafeQueryString(&quot;itemId&quot;));  // get product with the id&#xA;                var options = LinkManager.GetDefaultUrlOptions();&#xA;                options.AlwaysIncludeServerUrl = true;&#xA;                PropertyUrl = LinkManager.GetItemUrl(product, options);&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            Log.Error(&quot;Error occured while processing customised form fields.&quot;, ex.StackTrace);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and a &lt;strong&gt;view&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;component col-md-12 link common-link common-breadcrumb&quot;&amp;gt;&#xA;&amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;field-link&quot;&amp;gt;&#xA;        @{&#xA;            &amp;lt;a href=&quot;@Model.PropertyUrl&quot; class=&quot;&quot;&amp;gt;Property&amp;lt;/a&amp;gt;&#xA;        }&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I added a field type at the path &lt;code&gt;/sitecore/system/Settings/Forms/Field Types/Basic&lt;/code&gt; &lt;a href=&quot;https://i.stack.imgur.com/lwgHq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lwgHq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And dragged and dropped it onto my form.&lt;a href=&quot;https://i.stack.imgur.com/1NDK7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1NDK7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally, On the submit click added a send mail submit action. The &lt;code&gt;email campaign&lt;/code&gt; selected reads this value as a token &lt;code&gt;$form_PropertyLink$&lt;/code&gt;. But this value is not getting replaced in the mail, it is coming as it is. The form values like firstname, surname are getting replaced. Am I missing something? Any help would be highly appreciated&lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="5387" LastEditDate="2019-06-14T06:17:58.397" LastActivityDate="2019-06-14T06:17:58.397" Title="Custom Sitecore 9 form field is not getting replaced by value when used as a token in the mail using exm" Tags="|exm|sitecore-forms|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19386" PostTypeId="1" CreationDate="2019-06-14T06:37:42.810" Score="-1" ViewCount="65" Body="&lt;p&gt;I want to pass same value for different text items in drop down. But drop down &quot;value&quot; field is only accepting unique values. &#xA;When I open Data source field of WFFM sitecore &quot;drop list&quot; item and give the source of items. &lt;a href=&quot;https://i.stack.imgur.com/tjmbh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tjmbh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5646" LastEditorUserId="5646" LastEditDate="2019-06-14T06:45:57.930" LastActivityDate="2021-02-01T22:08:05.830" Title="Pass same value to different text in drop down WFFM SItecore" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19387" PostTypeId="1" CreationDate="2019-06-14T06:51:48.620" Score="1" ViewCount="1198" Body="&lt;p&gt;We have upgraded our solution to Sitecore 9.1 and Solr is upgraded to &lt;code&gt;7.2.1&lt;/code&gt;.&#xA;Now while running indexing from index manager I am getting below error for few items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(:0)ocation WARN  [Index=sitecore_master_index] Crawler : UpdateRecursive UpdateItem failed - {xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}&#xA;Exception: System.ArgumentException&#xA;Message: '', hexadecimal value 0x1F, is an invalid character.&#xA;Source: System.Xml&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)&#xA;   at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)&#xA;   at System.Xml.XmlWellFormedWriter.WriteString(String text)&#xA;   at System.Xml.Linq.ElementWriter.WriteElement(XElement e)&#xA;   at System.Xml.Linq.XElement.WriteTo(XmlWriter writer)&#xA;   at System.Xml.Linq.XNode.GetXmlString(SaveOptions o)&#xA;   at SolrNet.Commands.AddCommand`1.ConvertToXml()&#xA;   at SolrNet.Commands.AddCommand`1.Execute(ISolrConnection connection)&#xA;   at SolrNet.Impl.LowLevelSolrServer.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.UpdateItemVersion(IProviderUpdateContext context, Item version, IndexEntryOperationContext operationContext)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoUpdate(IProviderUpdateContext context, SitecoreIndexableItem indexable, IndexEntryOperationContext operationContext)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I know there are few characters for which it is erroring out But There are plenty of items which has these characters. I can't remove these character.&#xA;Is there any way by which we can escape these characters in Solr.&#xA;In &lt;code&gt;Solr 5.1.0&lt;/code&gt; there was no errors and indexing was successful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could anyone help me out here ?&lt;/p&gt;&#xA;" OwnerUserId="5637" LastEditorUserId="5637" LastEditDate="2019-06-14T07:07:30.700" LastActivityDate="2019-06-14T07:07:30.700" Title="Indexing in Sitecore 9.1 erroring out" Tags="|solr|indexing|" AnswerCount="0" CommentCount="1" ClosedDate="2019-06-16T11:12:16.953" ContentLicense="CC BY-SA 4.0" />
  <row Id="19388" PostTypeId="2" ParentId="19383" CreationDate="2019-06-14T07:41:18.803" Score="-1" Body="&lt;p&gt;I've resolved this thanks to this blog, i had the import endpoint in my &#xA;&lt;code&gt;scjssconfig.json&lt;/code&gt; setup to http; setting this to https then gave me a certificate error. Setting my certificate to be trusted solved it as per the steps here:  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.codealamodeblog.com/Sitecore/JavaScript-Services/jss-troubleshooting-connecting-to-sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.codealamodeblog.com/Sitecore/JavaScript-Services/jss-troubleshooting-connecting-to-sitecore/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5645" LastEditorUserId="5096" LastEditDate="2019-06-14T10:28:10.237" LastActivityDate="2019-06-14T10:28:10.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19389" PostTypeId="2" ParentId="19386" CreationDate="2019-06-14T08:34:55.987" Score="0" Body="&lt;p&gt;This is standard behavior, value should be &lt;em&gt;unique&lt;/em&gt; for &lt;code&gt;DDL&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can create custom &lt;code&gt;DDL&lt;/code&gt; and keep &lt;code&gt;DDL's&lt;/code&gt; items inside page content as &lt;code&gt;datasource&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7ZZ1c.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7ZZ1c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In below screenshot choose &lt;code&gt;Sitecore items&lt;/code&gt;. Here each item has &lt;code&gt;key&lt;/code&gt;, &lt;code&gt;value&lt;/code&gt; fields. We can set same value for &lt;code&gt;key&lt;/code&gt; field for multiple items. This will be fulfill your requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8ePbw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8ePbw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-06-14T08:34:55.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19390" PostTypeId="2" ParentId="19362" CreationDate="2019-06-14T08:54:20.210" Score="1" Body="&lt;p&gt;I wrote this simple SPE script to loop through all the templates in Sitecore and output them in table format, which can be useful in deciding what to index and what to exclude:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item -Path master: -Query &quot;/sitecore/templates//*[@@templateid='{455A3E98-A627-4B40-8035-E683A0331AC7}']&quot; | &#xA;    Show-ListView -Property @{Label=&quot;Path&quot;; Expression={ $_.Parent.Parent.Paths.FullPath } },&#xA;        @{Label=&quot;Template&quot;; Expression={ $_.Parent.Parent.Name } },&#xA;        @{Label=&quot;TemplateID&quot;; Expression={ $_.Parent.Parent.ID } },&#xA;        @{Label=&quot;FieldName&quot;; Expression={ $_.Name } },&#xA;        @{Label=&quot;FieldID&quot;; Expression={ $_.ID } }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-06-14T08:54:20.210" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19391" PostTypeId="1" AcceptedAnswerId="19881" CreationDate="2019-06-14T09:15:56.363" Score="2" ViewCount="456" Body="&lt;p&gt;I reducing the number of fields which get indexed in my site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I looked at &lt;code&gt;App_Config\Include\Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config&lt;/code&gt; and see the section&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultCloudIndexConfiguration&amp;gt;&#xA;          &amp;lt;documentOptions&amp;gt;&#xA;            &amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;&#xA;              &amp;lt;__display_name&amp;gt;{B5E02AD9-D56F-4C41-A065-A133DB87BDEB}&amp;lt;/__display_name&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I looked at &lt;code&gt;Sitecore.XA.Foundation.Search.Azure.DefaultIndexConfiguration.config&lt;/code&gt; (SXA 1.7.1 config file) and found this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultIndexConfiguration&amp;gt;&#xA;          &amp;lt;exclude hint=&quot;list:ExcludeField&quot;&amp;gt;&#xA;            &amp;lt;LearnMoreTarget_A4270003 tag=&quot;{A4270003-480F-467A-BBEA-0D1B05B28656}&quot;&amp;gt;{A4270003-480F-467A-BBEA-0D1B05B28656}&amp;lt;/LearnMoreTarget_A4270003&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is the difference between excluding template fields within the documentOptions section vs excluding in the defaultIndexConfiguration section?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2019-06-17T13:22:59.017" LastActivityDate="2019-07-14T08:26:03.507" Title="Excluding template fields from indexing - difference between documentOptions exclusion vs regular exclusion" Tags="|content-search|configuration|indexing|azure-search|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19392" PostTypeId="1" AcceptedAnswerId="19401" CreationDate="2019-06-14T09:27:48.227" Score="0" ViewCount="642" Body="&lt;p&gt;I have a requirement to render a list of child pages based on a parent item, I plan to use the page list component. One of the requirements asks for the ability to hide selected pages from the page list, how can I achieve this?&lt;/p&gt;&#xA;" OwnerUserId="4487" LastActivityDate="2019-06-14T21:09:33.097" Title="How can I hide selected pages from a page list?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19393" PostTypeId="2" ParentId="19392" CreationDate="2019-06-14T09:27:48.227" Score="1" Body="&lt;p&gt;This can be achieved by creating a new &lt;code&gt;Template&lt;/code&gt; that inherits from the &lt;code&gt;Page&lt;/code&gt; template and contains a &lt;code&gt;Checkbox&lt;/code&gt; field that you will use to define whether you wish the page to be displayed in the list or not. Page templates are created in &lt;code&gt;/sitecore/templates/Project/SiteName&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example I recently created, this template inherits from &lt;code&gt;Page&lt;/code&gt; and I've added a &lt;code&gt;Checkbox&lt;/code&gt; field to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A7rCb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A7rCb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &quot;Hide from dynamic navigation pod&quot; template item, I've set the default value to &lt;code&gt;0&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vcuU7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vcuU7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once your new &lt;code&gt;page template&lt;/code&gt; is complete, you'll now have to set a rule on each of the page list rendering variants in order to control when the page list is displayed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The checkbox uses a value of &lt;code&gt;1&lt;/code&gt; to determine &lt;code&gt;true&lt;/code&gt; so I defined the following rule on each rendering variant wrapper.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dRfpp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dRfpp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, when you tick the &quot;Hide from dynamic navigation pod&quot; box on any page, that page will not be included in any page lists.&lt;/p&gt;&#xA;" OwnerUserId="4487" LastEditorUserId="4487" LastEditDate="2019-06-14T09:33:11.903" LastActivityDate="2019-06-14T09:33:11.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19394" PostTypeId="1" AcceptedAnswerId="19419" CreationDate="2019-06-14T09:44:23.880" Score="0" ViewCount="355" Body="&lt;p&gt;I would like to create some form of a hierarchy in a &lt;code&gt;Custom Facet in Sitecore 9&lt;/code&gt;. However, the documentation only provided examples using&#xA; Sitecore 8.2 &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/create-a-custom-contact-facet.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I tried creating an IElementDictionary in my custom Facet, it says &lt;code&gt;Facet&lt;/code&gt; is an ambiguous reference between &lt;code&gt;Sitecore.Analytics.Model.Framework.Facet&lt;/code&gt; and &lt;code&gt;Sitecore.XConnect.Facet&lt;/code&gt;. Of course, this is due to the former being deprecated. My ModelBuilder also expects an XConnect.Facet in the modelBuilder.DefineFacet method to create the JSON model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Caiw.Foundation.XConnect.Models.Facets.Interfaces;&#xA;using Sitecore.Analytics.Model.Framework;&#xA;using Sitecore.XConnect;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;&#xA;namespace Caiw.Foundation.Xconnect.Models.Facets&#xA;{&#xA;    [Serializable]&#xA;    [FacetKey(DefaultFacetKey)]&#xA;    public class ServiceabilityData : Facet&#xA;    {&#xA;        public const string DefaultFacetKey = &quot;ServiceabilityData&quot;;&#xA;&#xA;        public int HouseNumber { get; set; }&#xA;&#xA;        public string ZipCode { get; set; }&#xA;&#xA;        public string Addition { get; set; }&#xA;&#xA;        public string LocationDescription { get; set; }&#xA;&#xA;        public IElementDictionary&amp;lt;IInfrastructure&amp;gt; Infrastructure { get; }&#xA;&#xA;        public string Street { get; set; }&#xA;&#xA;        public string City { get; set; }&#xA;&#xA;        public string Region { get; set; }&#xA;&#xA;        public string Country { get; set; }&#xA;&#xA;        public string OrderEndpointType { get; set; }&#xA;&#xA;        public int CustomerGroup { get; set; }&#xA;&#xA;        public ServiceabilityData() { }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I missing something here? How do we extend a hierarchical Facet in Sitecore 9?&lt;/p&gt;&#xA;" OwnerUserId="5575" LastEditorUserId="5387" LastEditDate="2019-06-17T10:40:41.527" LastActivityDate="2019-06-17T10:40:41.527" Title="How to Create a Custom Facet with Hierarchy in Sitecore 9?" Tags="|xdb|xconnect|experience-analytics|experience-profile|contact-facets|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19395" PostTypeId="1" CreationDate="2019-06-14T10:10:35.090" Score="4" ViewCount="690" Body="&lt;p&gt;I am facing an issue where the error is occurring while loading the &lt;code&gt;Experience Profile&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am working on &lt;code&gt;Sitecore 9.0.2 version&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error is shown as below:-&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HEDZH.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HEDZH.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I hit the Sitecore API URL as shown in the console, I found the below error:-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/15sCG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/15sCG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the Sitecore logs for reference&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;26452 15:16:16 ERROR [Sitecore Services]: HTTP POST&#xA;URL https://mysite.local/sitecore/api/ao/v1/contacts/search?&amp;amp;pageSize=20&amp;amp;pageNumber=1&amp;amp;sort=visitCount desc&amp;amp;Match=*&amp;amp;FromDate=15%2F05%2F2019&amp;amp;ToDate=14%2F06%2F2019&#xA;&#xA;Exception System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Sitecore.Cintel.Endpoint.Plumbing.NegotiateLanguageFilter.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated. &lt;/p&gt;&#xA;" OwnerUserId="3133" LastEditorUserId="5387" LastEditDate="2019-06-16T13:07:42.150" LastActivityDate="2021-02-11T02:03:40.330" Title="Error occurred while loading Experience Profile" Tags="|xconnect|sitecore-api|experience-profile|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="19396" PostTypeId="2" ParentId="14302" CreationDate="2019-06-14T10:42:45.090" Score="4" Body="&lt;p&gt;While not the answer to breaking down logging each rendering, It's quite possible to change the &lt;code&gt;GET Sitecore/Index&lt;/code&gt; to show its correct url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to implement a custom telemetry processor, looking at the request item and updating both the &lt;code&gt;Name&lt;/code&gt; properties of the request item as well as for the Operation. Operation Name is what you see Azure Portal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Full blog post and code is available here: &lt;a href=&quot;https://medium.com/@osbeck.per/geting-the-fix-for-sitecore-index-318bcfaaa690&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/@osbeck.per/geting-the-fix-for-sitecore-index-318bcfaaa690&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5648" LastEditorUserId="5648" LastEditDate="2019-06-14T12:15:09.197" LastActivityDate="2019-06-14T12:15:09.197" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19397" PostTypeId="1" AcceptedAnswerId="19398" CreationDate="2019-06-14T11:50:59.220" Score="1" ViewCount="400" Body="&lt;p&gt;Coming from C#, I really like the below code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var prop = item.prop?.propname&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Syntax. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is supported in JS if you use the below code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@babel/plugin-proposal-optional-chaining&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Babel plugin. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if you just create .babelrc file JSS does not use this. How do I make this work?&lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="690" LastEditDate="2019-06-14T12:38:45.207" LastActivityDate="2019-06-14T12:38:45.207" Title="How do I enable .babelrc for JSS" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19398" PostTypeId="2" ParentId="19397" CreationDate="2019-06-14T11:50:59.220" Score="2" Body="&lt;p&gt;Someone named @aweber1 on slack #jss pointed me in the correct direction:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The JSS React sample app is based on create-react-app (CRA)&#xA;  &lt;a href=&quot;https://github.com/facebook/create-react-app&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/facebook/create-react-app&lt;/a&gt;, which does not provide&#xA;  any &quot;official&quot; mechanisms for overriding or extending any of the&#xA;  configuration used by CRA. The formal recommendation from CRA is to&#xA;  &quot;eject&quot; your app, which allows you directly modify webpack and other&#xA;  configuration.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;However, there are also community-built libraries that allow you to&#xA;  extend/modify the CRA config without ejecting. In particular: •&#xA;  &lt;a href=&quot;https://github.com/timarney/react-app-rewired&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/timarney/react-app-rewired&lt;/a&gt; •&#xA;  &lt;a href=&quot;https://github.com/harrysolovay/rescripts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/harrysolovay/rescripts&lt;/a&gt; •&#xA;  &lt;a href=&quot;https://github.com/sharegate/craco&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/sharegate/craco&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I was able to get craco to work, but it was a bit more involved. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;npm i @craco/craco -D&lt;/li&gt;&#xA;&lt;li&gt;npm i @babel/plugin-proposal-optional-chaining -D &lt;/li&gt;&#xA;&lt;li&gt;create .babelrc&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;plugins&quot;: [&#xA;    &quot;@babel/plugin-proposal-optional-chaining&quot;&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;update the scripts section of package.json switch &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;  react-scripts start=&amp;gt; craco start&#xA;  react-scripts build =&amp;gt; craco build&#xA;  react-scripts test=&amp;gt; craco test&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;update /sitecore/definitions/config.js set: babelrc: true,&lt;/li&gt;&#xA;&lt;li&gt;update /server/server.webpack.config.js set: babelrc: true,&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Check that jss start and jss deploy files both work. &lt;/p&gt;&#xA;" OwnerUserId="3039" LastActivityDate="2019-06-14T11:50:59.220" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19399" PostTypeId="2" ParentId="19371" CreationDate="2019-06-14T13:24:50.867" Score="0" Body="&lt;p&gt;I figured out the problem I was having.  It turns out that the steps laid out in this post are exactly correct (&lt;a href=&quot;https://sitecore.derekc.net/setting-up-azure-active-directory-integration-with-sitecore-identity-server-sitecore-9-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.derekc.net/setting-up-azure-active-directory-integration-with-sitecore-identity-server-sitecore-9-1/&lt;/a&gt;).  What was happening for some reason is that after authentication on the Azure AD instance, Azure AD was sending a GET request to &lt;code&gt;https://[SI Server Host Name]/signin-oidc&lt;/code&gt;.  My guess is that the controller on the Identity Server is only set up to accept a POST, not a GET.  So it was returning a 404 since no MVC route matched a GET request.  I can't quite figure out why the Identity Server was receiving a GET request.  This was all happening on an on-prem 9.1.1 instance that lives on the client's network.  I was able to set up a completely separate 9.1.1 instance in Azure and it worked great authenticating against the exact same Azure AD instance.  So that tells me there is something wrong with the on-prem 9.1.1 instance or maybe the client's network that was causing the POST form Azure AD to somehow become just a GET - which then caused the 404 error.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2019-06-14T13:24:50.867" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19400" PostTypeId="1" CreationDate="2019-06-14T14:27:41.467" Score="0" ViewCount="163" Body="&lt;p&gt;I have senario in my project,where I need to personalize user journey.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On first visit user does some interaction in my site and trigger few goals and when he visits for the second time I need to personalize the same page based on the goals trigged by him on his first Visit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The output which Iam getting,based on the current goal trigger the personalization is done not by the past goal trigger.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far working:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On 2nd visit I am not able to get the goals triggered in the 1st visit ,so the personalization is not working.  The personalization is working based on the current goals trigger on the current visit only(for now on each visit i need to trigger the goal then only it works). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far I tried.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Created Goa goal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Added goal to target page that is to be personalized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3.Added the rules.(refer the below screenshot)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AKIkh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AKIkh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5198" LastEditorUserId="5198" LastEditDate="2019-06-15T06:56:10.820" LastActivityDate="2019-06-15T06:56:10.820" Title="Capture past goal visit information for an anonymous user in personalization" Tags="|personalization|goals|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="19401" PostTypeId="2" ParentId="19392" CreationDate="2019-06-14T21:09:33.097" Score="2" Body="&lt;p&gt;I would take an approach where you exclude items based on a field used by the search scope/item query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new base template which has a checkbox to exclude from index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/l9XPv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l9XPv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the page template, inherit from the base template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Gxukq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Gxukq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On each page that should be exclude, Content Authors can check the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TSuWo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TSuWo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the scope query you can exclude results based on that checkbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pXq21.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pXq21.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-06-14T21:09:33.097" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19402" PostTypeId="1" CreationDate="2019-06-14T22:21:08.893" Score="1" ViewCount="371" Body="&lt;p&gt;I'm attempting to follow the documentation for SXA in a &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/trigger-creative-exchange-from-your-ci-server.html#UUID-ba297792-7315-ceeb-348e-7e5c72561914_id__The_endpoints&quot; rel=&quot;nofollow noreferrer&quot;&gt;CI/CD process&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration Details:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 9.1 (Standalone Config - My Local Dev)&lt;/li&gt;&#xA;&lt;li&gt;SXA 1.8 initial release&lt;/li&gt;&#xA;&lt;li&gt;PowerShell 5&lt;/li&gt;&#xA;&lt;li&gt;Running on Windows Server 2016 Standard Edition&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Per the documentation, I created my own Web API endpoints in my Project folder of the PowerShell Scripts.  I copied the scripts for import and export into my respective copies of the script items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I called the web API endpoint using the following path:&#xA;&lt;code&gt;/-/script/v2/master/site-export-script&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I received the following response:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; Exception calling &quot;Run&quot; with &quot;2&quot; argument(s): &quot;startIndex cannot be larger than length of string.&#xA;Parameter name: startIndex&quot;&#xA;At line:135 char:9&#xA;+         [Sitecore.Pipelines.CorePipeline]::Run(&quot;ceExport.export&quot;, $ex ...&#xA;+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException&#xA;    + FullyQualifiedErrorId : ArgumentOutOfRangeException  &#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the Cmdlet from the &lt;code&gt;Get-CreativeExchangeExportResponse&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Function Path:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;/sitecore/system/Modules/PowerShell/Script Library/SXA/SXA - Creative Exchange/Functions/CI/Get-CreativeExchangeExportResponse&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Sitecore.Pipelines.CorePipeline]::Run(&quot;ceExport.export&quot;, $exportArgs);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm adding this in hopes someone can help speed my research up.  Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update: 6/24/2019&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is the script file that is run and give the exception below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;Import-Function Get-CreativeExchangeExportResponse&#xA;&#xA;$item = Get-Item -Path &quot;/sitecore/content/Tenant/Site/Home&quot;&#xA;&#xA;$exportArgs = Get-CreativeExchangeExportResponse -CurrentItem $item -DeviceId &quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;&#xA;&#xA;$responseObject = @{&#xA;    &quot;Messages&quot; = $exportArgs.Messages;&#xA;    &quot;Result&quot;   = $exportArgs.CreativeExchangeExportStorage.GetResult()&#xA;}&#xA;Set-HostProperty -HostWidth 9999&#xA;[Newtonsoft.Json.JsonConvert]::SerializeObject($responseObject)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Running this code in the PowerShell ISE for Sitecore still produces the following stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;New-Object : Exception calling &quot;.ctor&quot; with &quot;0&quot; argument(s): &quot;Object reference not set to an instance of an object.&quot;&#xA;At line:115 char:39&#xA;+ ... ntextData = New-Object -TypeName &quot;Sitecore.XA.Feature.CreativeExchang ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException&#xA;    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand&#xA;&#xA;You cannot call a method on a null-valued expression.&#xA;At line:2 char:5&#xA;+     $websitePath = [System.Web.HttpContext]::Current.Server.MapPath(&quot; ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException&#xA;    + FullyQualifiedErrorId : InvokeMethodOnNull&#xA;&#xA;Set-Content : Cannot find path 'master:\CE_auth_c4464daa-f673-4505-81d7-62f3940748fc-2019-06-24T13.55.16.8315406-05.00.aspx' because it does not exist.&#xA;At line:16 char:5&#xA;+     Set-Content -Value $loginString -Path $filePath&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : ObjectNotFound: (master:\CE_auth...5406-05.00.aspx:String) [Set-Content], IOException&#xA;    + FullyQualifiedErrorId : ItemNotFound,Microsoft.PowerShell.Commands.SetContentCommand&#xA;&#xA;Send-AuthenticationRequest : An Error occured during authentication. Please clean all authentication data&#xA;At line:116 char:23&#xA;+ ...        $exportArgs = Send-AuthenticationRequest $exportArgs $UserName&#xA;+                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Send-AuthenticationRequest&#xA;&#xA;System.Collections.DictionaryEntry System.Collections.DictionaryEntry&#xA;You cannot call a method on a null-valued expression.&#xA;At line:42 char:9&#xA;+         $websitePath = [System.Web.HttpContext]::Current.Server.MapPa ...&#xA;+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException&#xA;    + FullyQualifiedErrorId : InvokeMethodOnNull&#xA;&#xA;Exception calling &quot;GetCookies&quot; with &quot;1&quot; argument(s): &quot;This operation is not supported for a relative URI.&quot;&#xA;At line:45 char:5&#xA;+     $s.Cookies.GetCookies($Uri) | % {&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException&#xA;    + FullyQualifiedErrorId : InvalidOperationException&#xA;&#xA;Exception calling &quot;Run&quot; with &quot;2&quot; argument(s): &quot;Object reference not set to an instance of an object.&quot;&#xA;At line:135 char:9&#xA;+         [Sitecore.Pipelines.CorePipeline]::Run(&quot;ceExport.export&quot;, $ex ...&#xA;+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException&#xA;    + FullyQualifiedErrorId : NullReferenceException&#xA;&#xA;{&quot;Result&quot;:{&quot;Result&quot;:&quot; /App_Data/packages/CreativeExchange\\FileStorage\\Site&quot;,&quot;Type&quot;:2},&quot;Messages&quot;:[]}&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="1400" LastEditorUserId="1400" LastEditDate="2019-06-24T18:58:02.700" LastActivityDate="2023-12-18T20:01:00.173" Title="Attempting to Export Creative Exchange through script web api" Tags="|sxa|powershell-extensions|creative-exchange|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19403" PostTypeId="1" CreationDate="2019-06-15T01:14:19.520" Score="1" ViewCount="143" Body="&lt;p&gt;Each property detail page has a &lt;code&gt;Request a viewing&lt;/code&gt; button which opens a form. The ask is, on the click of the submit button of this form an email with property title, URL, image(Sitecore fields) should be triggered to the user. When the form page opens up from the property detail page, I am passing the property GUID in the query string for reading different fields of that property. How do I get these fields in the mail? These values will be different for each property. &#xA;I am able to read the form fields in the mail using the tokens. How do I &lt;code&gt;read the Sitecore fields&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="5387" LastEditDate="2019-06-16T13:07:44.867" LastActivityDate="2019-06-16T13:07:44.867" Title="How do I read different sitecore fields in the mail?" Tags="|exm|sitecore-forms|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19404" PostTypeId="2" ParentId="10526" CreationDate="2019-06-15T04:58:32.633" Score="0" Body="&lt;p&gt;I am sure you have solved this by now but wanted to post what I ended up having to do to get the use of a container adaptor factory working for a processor in the getLayoutServiceContext pipeline for JSS. Rather than the ref and factory on the processor directly the processor ref pointed to an element in types node of the layoutService group.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;group groupName=&quot;layoutService&quot;&amp;gt;&#xA;          &amp;lt;types&amp;gt;&#xA;              &amp;lt;ExampleContextExtension &#xA;              ref=&quot;SitecoreJss.Examples.ExampleContextExtension, SitecoreJss.Examples&quot; &#xA;              factory=&quot;FactoryContainerAdapter&quot;&amp;gt;&#xA;                &amp;lt;AllowedConfigurations hint=&quot;list&quot;&amp;gt;&#xA;                    &amp;lt;!-- Unless you change the Layout Service config used by your JSS app, this should always be present. --&amp;gt;&#xA;                    &amp;lt;jss&amp;gt;jss&amp;lt;/jss&amp;gt;&#xA;                &amp;lt;/AllowedConfigurations&amp;gt;&#xA;                &amp;lt;Applications hint=&quot;list&quot;&amp;gt;&#xA;                    &amp;lt;!-- Restrict the JSS apps for which this processor will execute. --&amp;gt;&#xA;                    &amp;lt;reactApp&amp;gt;JssReactWeb&amp;lt;/reactApp&amp;gt;&#xA;                &amp;lt;/Applications&amp;gt;&#xA;                &amp;lt;Routes hint=&quot;list&quot;&amp;gt;&#xA;                    &amp;lt;!-- Restrict the route items for which this processor will execute. IDs, item paths, and wildcard item paths are allowed. --&amp;gt;&#xA;                    &amp;lt;services&amp;gt;/sitecore/content/JssReactWeb/Home/Services*&amp;lt;/services&amp;gt;&#xA;                    &amp;lt;portfolio&amp;gt;{BAD2C001-1746-4312-8422-B28806A1191E}&amp;lt;/portfolio&amp;gt;&#xA;                &amp;lt;/Routes&amp;gt;&#xA;              &amp;lt;/ExampleContextExtension&amp;gt;&#xA;            &amp;lt;/types&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;getLayoutServiceContext&amp;gt;&#xA;            &amp;lt;processor ref=&quot;ExampleContextExtension&quot;/&amp;gt;&#xA;          &amp;lt;/getLayoutServiceContext&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have &lt;a href=&quot;https://blog.gravypower.net/2019/06/15/dependency-injection-for-sitecore-pipelines-and-pipeline-groups/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blogged&lt;/a&gt; on this also if you or anyone else is interested in more detail.&lt;/p&gt;&#xA;" OwnerUserId="3727" LastEditorUserId="3727" LastEditDate="2019-06-24T04:45:57.490" LastActivityDate="2019-06-24T04:45:57.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19405" PostTypeId="1" CreationDate="2019-06-15T10:33:56.257" Score="1" ViewCount="487" Body="&lt;p&gt;All I am Getting following error when I am trying to &lt;code&gt;Install Sitecore 9.1 update 1&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; This command cannot be run due to the error: Access is denied at&#xA;&gt; \WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Install-SitecoreConfiguration.ps1&#xA;&gt; &amp; Sentry.Task.Command @paramSet | Out-Default&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ge8ts.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ge8ts.jpg&quot; alt=&quot;nstalling &quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5651" LastEditorUserId="5387" LastEditDate="2019-06-16T11:21:56.377" LastActivityDate="2019-06-16T11:21:56.377" Title="Access is Denied Error in Sitecore 9.1 Update 1 installing" Tags="|sitecore-install-framework|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19407" PostTypeId="1" CreationDate="2019-06-16T16:46:29.350" Score="0" ViewCount="153" Body="&lt;p&gt;I am trying to run gulp to publish changes in my localhost but while running 'sync-unicorn'. I am getting this error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Powershell' is not recognized as an internal or external command, operable program or batch file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked PowerShell path is defined in the environment variable path.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone suggest me what can be the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciable.&lt;/p&gt;&#xA;" OwnerUserId="5630" LastEditorUserId="70" LastEditDate="2019-06-16T19:46:15.857" LastActivityDate="2019-06-16T19:46:15.857" Title="PowerShell error while running sync-unicorn in gulp while running VS task runner" Tags="|gulp|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="19408" PostTypeId="2" ParentId="14347" CreationDate="2019-06-16T17:16:47.307" Score="1" Body="&lt;p&gt;In Sitecore commerce 9 update 3 , the provided solutions did not work.&#xA;Here is the solution which worked for me. This code will not create a new entity and update the current entity version and publish the same version again(even if it was published previously).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var entity = await _findEntityPipeline.Run(new FindEntityArgument(typeof(SellableItem), item.Id), context);&#xA;     var sellableEntity = entity as SellableItem;&#xA;     WorkflowComponent workflowComponentToUpdate = sellableEntity.GetComponent&amp;lt;WorkflowComponent&amp;gt;();&#xA;     workflowComponentToUpdate.CurrentState = &quot;Approved&quot;;&#xA;     var editResults = await _editSellableItemPipeline.Run(sellableEntity, context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the plugin, Make sure to add Sitecore.Commerce.Plugin.Workflow(2.4.37 or compatible) assembly to resolve WorkflowComponent. &lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-06-16T17:16:47.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19409" PostTypeId="1" CreationDate="2019-06-17T00:00:23.443" Score="1" ViewCount="2271" Body="&lt;p&gt;Trying to install &lt;code&gt;Sitecore 9.1 XP0 version&lt;/code&gt;, single Dev. Have Solr service running TLS, able to browse to &lt;a href=&quot;https://localhost:8984/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8984/solr&lt;/a&gt;.  Certificate for &lt;code&gt;Solr&lt;/code&gt; cert in Trusted Root Certificate Store of my local. Other prerequisites are there, local SQL Server 2017, setup account with enough permissions to create databases, etc. My install Powershell Script gives error messages when I run the Install-SitecoreConfiguration commands, that is, errors when running Install-SitecoreConfiguration with the various hashtables as parameters, @xcSolrParams, @idServerParams, @xcidCertParams. The PowerShell session finally dies with an &lt;code&gt;unable to connect to the remote server&lt;/code&gt; message. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The specific &lt;code&gt;error message&lt;/code&gt; for the Install-SitecoreConfiguration commands is &lt;code&gt;Install-SitecoreConfiguration: Cannot retrieve the dynamic parameters for the cmdlet. Unrecognized escape sequence. (400)&lt;/code&gt;, so it seems that the Install-SitecoreConfig cmdlet cannot understand the hashtable variables. I have displayed them before running the Install-SitecoreConfiguration command and they all seem reasonable, indicating the proper script/home paths. Have chosen default certificates generated by Sitecore to avoid installation problems. Any ideas accepted, I wonder if there is a new version of the Install-SitecoreConfiguration cmdlet that changes how the hashtable parameters are passed in.      &lt;/p&gt;&#xA;" OwnerUserId="5653" LastEditorUserId="88" LastEditDate="2019-06-17T08:05:46.953" LastActivityDate="2019-06-19T10:25:03.453" Title="Sitecore 9.1 Install Install-SitecoreConfiguration : Cannot retrieve the dynamic parameters for the cmdlet. Unrecognized escape sequence" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19410" PostTypeId="1" CreationDate="2019-06-17T02:13:33.627" Score="2" ViewCount="56" Body="&lt;p&gt;I have an existing &lt;code&gt;Sitecore 9.0.1&lt;/code&gt; installation on &lt;code&gt;Azure PaaS&lt;/code&gt;. I am looking to install &lt;code&gt;SXA 1.7&lt;/code&gt; on this specific version of Sitecore as Sitecore has outlined this version to be compatible in the SXA 1.7 Installation Guideline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, there is no out of the box SXA 1.7 topology template available on the &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an alternative to this or what is the recommended approach? Will it be safe to use the SXA 1.7.1 topology template as the installation guideline pointed this version of SXA to be compatible with &lt;code&gt;Sitecore 9.0.2&lt;/code&gt;? &lt;/p&gt;&#xA;" OwnerUserId="5652" LastEditorUserId="5652" LastEditDate="2019-06-18T12:46:54.997" LastActivityDate="2019-06-18T12:46:54.997" Title="No SXA 1.7 ARM Template for Sitecore 9.0.1" Tags="|sxa|azure|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19411" PostTypeId="1" CreationDate="2019-06-17T02:45:48.843" Score="1" ViewCount="321" Body="&lt;p&gt;I am trying to get a remote event fired from &lt;code&gt;CD server to CM server&lt;/code&gt; and then CM server to create the item required in Sitecore 9.1.1. I can see the event gets added to the database but it never gets executed. Below are my configuration and code&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Config:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;hooks role:require=&quot;Standalone or ContentManagement&quot;&amp;gt;&#xA;      &amp;lt;hook type=&quot;Sitecore.Feature.PageFeedback.Events.UpdatePageRatingHook, Sitecore.Feature.PageFeedback&quot;&amp;gt;&amp;lt;/hook&amp;gt;&#xA;    &amp;lt;/hooks&amp;gt;&#xA;    &amp;lt;event name=&quot;updatepagerating:remote&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;Sitecore.Feature.PageFeedback.Events.UpdatePageRatingEventHandler, Sitecore.Feature.PageFeedback&quot; method=&quot;OnUpdatePageRatingRemote&quot;&amp;gt;&amp;lt;/handler&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Hook:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.PageFeedback.Events&#xA;{&#xA;  public class UpdatePageRatingHook : IHook&#xA;  {&#xA;    public void Initialize()&#xA;    {&#xA;      Log.Info(&quot;Subscribing to updatePage rating event&quot;, this);&#xA;      EventManager.Subscribe(new Action&amp;lt;UpdatePageRatingModel&amp;gt;(UpdatePageRatingEventHandler.Run));&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Event args:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.PageFeedback.Events&#xA;{&#xA;  public class UpdatePageRatingEventArgs : EventArgs, IPassNativeEventArgs&#xA;  {&#xA;    private UpdatePageRatingModel _evt;&#xA;&#xA;    public UpdatePageRatingEventArgs(UpdatePageRatingModel evt)&#xA;    {&#xA;      _evt = evt;&#xA;    }&#xA;&#xA;    public Guid pageId&#xA;    {&#xA;      get { return _evt.pageId; }&#xA;    }&#xA;&#xA;    public int Score&#xA;    {&#xA;      get { return _evt.Score; }&#xA;    }&#xA;&#xA;    public Guid? FeedbackReference&#xA;    {&#xA;      get { return _evt.FeedbackReference; }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EventHandler:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.PageFeedback.Events&#xA;{&#xA;  public class UpdatePageRatingEventHandler&#xA;  {&#xA;    private readonly IPageFeedbackService _feedbackService = DependencyResolver.Current.GetService&amp;lt;IPageFeedbackService&amp;gt;();&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// The method is the method that you need to implement as you do normally&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public virtual void OnUpdatePageRatingRemote(object sender, EventArgs e)&#xA;    {&#xA;      Log.Info(&quot;Executing page rating event&quot;,this);&#xA;      if (e is UpdatePageRatingEventArgs)&#xA;      {&#xA;        var args = e as UpdatePageRatingEventArgs;&#xA;        Log.Info(&quot;submitting stars feedback&quot;, this);&#xA;        _feedbackService.SubmitStarsFeedback(new StarsFeedbackModel()&#xA;        {&#xA;          PageId = args.pageId,&#xA;          FeedbackReference = args.FeedbackReference,&#xA;          Score = args.Score&#xA;        });&#xA;      }&#xA;    }&#xA;&#xA;    // This methos is used to raise the local event&#xA;      public static void Run(UpdatePageRatingModel evt)&#xA;      {&#xA;        Log.Info(&quot;Raising event locally for pagefeedback&quot;, typeof(UpdatePageRatingEventHandler));&#xA;        UpdatePageRatingEventArgs args = new UpdatePageRatingEventArgs(evt);&#xA;        Event.RaiseEvent(&quot;updatepagerating:remote&quot;, new object[] {args});&#xA;      }&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Creating an event:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ID StartsFeedBackEvent(StarsFeedbackModel model)&#xA;    {&#xA;      var database = Sitecore.Configuration.Factory.GetDatabase(&quot;web&quot;);&#xA;      var eventQueue = database.RemoteEvents.EventQueue;&#xA;      eventQueue.QueueEvent(new UpdatePageRatingModel()&#xA;      {&#xA;        pageId = model.PageId,&#xA;        FeedbackReference = model.FeedbackReference,&#xA;        Score = model.Score&#xA;      });&#xA;      return new ID(model.FeedbackReference.Value);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Event entry in Database:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2lEIa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2lEIa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="5387" LastEditDate="2019-06-17T04:21:52.153" LastActivityDate="2019-06-17T04:21:52.153" Title="Sitecore 9.1.1 remote events not executing on CM server" Tags="|events|event-queue|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19412" PostTypeId="1" CreationDate="2019-06-17T06:14:25.423" Score="1" ViewCount="61" Body="&lt;p&gt;Recently I came across a requirement to define the best strategy to upload and download media for Mobile App. Website data is managed under Sitecore CMS currently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At first glance, below thoughts came in my mind. I want your help and suggestion to find the best approach, especially if you have worked on such a requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Create API to send and receive text/html data from Sitecore CMS to Mobile and vice versa&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Create API to send and receive Image/Video data from Sitecore CMS to Mobile and vice versa. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If so, what is the best way to upload video programmatically in Sitecore? OR Would be good to upload a video on any streaming provider (e.g YouTube or Brightcove) and store video link in Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OR&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Write some API to receive Image/Video data from DAM to Mobile and vice versa. Has anyone done such API implementation to interact with DAM?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which one approaches you recommend? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client is more inclined towards DAM approach. What would you suggest for DAM in Sitecore? Which one would be the best DAM to upload images/video programmatically from Mobile App?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you,&#xA;Nilesh&lt;/p&gt;&#xA;" OwnerUserId="1088" LastEditorUserId="5387" LastEditDate="2019-06-17T08:15:26.090" LastActivityDate="2019-06-17T08:15:26.090" Title="What's the best way to upstream and downstream media in Sitecore?" Tags="|sitecore-client|sitecore-api|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19414" PostTypeId="1" AcceptedAnswerId="19417" CreationDate="2019-06-17T06:59:44.103" Score="2" ViewCount="435" Body="&lt;p&gt;I have configured BrainTree API key in the Sitecore Commerce installer powershell script and ran the setup successfully. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I realised afterwards that I misconfiguration one character in the braintree API key. I have tried editing it CommerceAuthoring\wwwroot\data\Environments\PlugIn.Payments.Braintree.PolicySet-1.0.0.json but it does not seem to have any effect. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone knows how to configure the braintree API key on Sitecore commerce, without having to go through the installation process again?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The braintree API key I am referring to is this &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;        &quot;$type&quot;: &quot;Plugin.Sample.Payments.Braintree.BraintreeClientPolicy, Plugin.Sample.Payments.Braintree&quot;,&#xA;        &quot;Environment&quot;: &quot;sandbox&quot;,&#xA;        &quot;MerchantId&quot;: &quot;[YourMerchantId]&quot;,&#xA;        &quot;PublicKey&quot;: &quot;[YourPublicKey]&quot;,&#xA;        &quot;PrivateKey&quot;: &quot;[YourPrivateKey]&quot;,&#xA;        &quot;ConnectTimeout&quot;: 120000&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-commerce/en/payment-concepts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-commerce/en/payment-concepts.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-06-17T07:11:49.990" Title="Update Sitecore commerce braintree api key" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19415" PostTypeId="2" ParentId="19410" CreationDate="2019-06-17T07:00:10.413" Score="2" Body="&lt;p&gt;Sitecore Azure Toolkit has functionality to generate WDP packages from Sitecore packages.&#xA;You can therefore use this instead of using WDP packages for SC 9.0.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find Azure Toolkit here:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Documentation can be found here:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sat/20/sitecore-azure-toolkit/en/sitecore-azure-toolkit.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sat/20/sitecore-azure-toolkit/en/sitecore-azure-toolkit.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are precise steps to generate WDP package:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sat/20/sitecore-azure-toolkit/en/web-deploy-packages-for-a-module.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sat/20/sitecore-azure-toolkit/en/web-deploy-packages-for-a-module.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-06-17T07:00:10.413" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19416" PostTypeId="2" ParentId="19414" CreationDate="2019-06-17T07:06:09.207" Score="1" Body="&lt;p&gt;You need to bootstrap your environment once again so the changes take in effect and are pushed to Global database and CommerceEntities table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have Postman set up, in Postman Collections pane, scroll all the way down to SitecoreCommerce_DevOps. Expand it and expand also &quot;1 Environment Bootstrap&quot; section. Click on &quot;Bootstrap Sitecore Commerce&quot;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nb75u.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nb75u.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click on the blue &quot;Send&quot; button to send the request. As you have security token, this operation should go through without any problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sAoNI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sAoNI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To generate security token and overall setting up Postman, take a look on my blog post here -&gt; &lt;a href=&quot;https://tothecore.sk/2018/07/25/setting-up-development-environment-with-postman-and-sitecore-experience-commerce-sxc-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/07/25/setting-up-development-environment-with-postman-and-sitecore-experience-commerce-sxc-9&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-06-17T07:06:09.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19417" PostTypeId="2" ParentId="19414" CreationDate="2019-06-17T07:11:49.990" Score="3" Body="&lt;p&gt;Yes is possible to update the braintree keys without installing again Commerce. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You just need to modify one file in 4 places.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On all roles of commerce (Authoring,Shops,Minions, Ops) you have in the environment folder next json config file: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&#xA;&lt;strong&gt;C:\inetpub\wwwroot\yoursite\CommerceAuthoring_Sc910\data\Environments\PlugIn.Payments.Braintree.PolicySet-1.0.0&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to update merchantid, privatekey and public key&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;$type&quot;:  &quot;Sitecore.Commerce.Core.PolicySet, Sitecore.Commerce.Core&quot;,&#xA;    &quot;Id&quot;:  &quot;Entity-PolicySet-BraintreePolicySet&quot;,&#xA;    &quot;Version&quot;:  1,&#xA;    &quot;IsPersisted&quot;:  false,&#xA;    &quot;Name&quot;:  &quot;BraintreePolicySet&quot;,&#xA;    &quot;Policies&quot;:  {&#xA;                     &quot;$type&quot;:  &quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;                     &quot;$values&quot;:  [&#xA;                                     {&#xA;                                         &quot;$type&quot;:  &quot;Plugin.Sample.Payments.Braintree.BraintreeClientPolicy, Plugin.Sample.Payments.Braintree&quot;,&#xA;                                         &quot;Environment&quot;:  &quot;sandbox&quot;,&#xA;                                         &quot;MerchantId&quot;:  &quot;&quot;,&#xA;                                         &quot;PublicKey&quot;:  &quot;&quot;,&#xA;                                         &quot;PrivateKey&quot;:  &quot;&quot;,&#xA;                                         &quot;ConnectTimeout&quot;:  120000&#xA;                                     }&#xA;                                 ]&#xA;                 }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After you made the changes you need to bootstrap the commerce engine. &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-06-17T07:11:49.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19418" PostTypeId="2" ParentId="11904" CreationDate="2019-06-17T07:19:36.477" Score="0" Body="&lt;p&gt;As Dawid mentioned backend supports the multiple sorts, but you require updating the default &lt;strong&gt;/sitecore/media library/Base Themes/SearchTheme/Scripts/component-search-sort&lt;/strong&gt; script file to support multiple sort filters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the snippet of the 2 functions updated, else you can find the complete file link below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            sortSearchResults: function (element) {&#xA;            var attributes = element.data(),&#xA;            sig = this.model.get(&quot;sig&quot;),&#xA;&#xA;            attrString =&quot;&quot;;&#xA;&#xA;            $(&quot;.sort-results&quot;).each(function(index){&#xA;                var dataProp = $(this).data();&#xA;                if((dataProp.properties.sig + '_o') === sig[0])&#xA;                {&#xA;                    var lnk = $(this).find(&quot;.sort-results-group a.is-active&quot;).first();&#xA;                    if(lnk.length &amp;gt; 0)&#xA;                    {&#xA;                        //a link&#xA;                        attrString += $(lnk).parent().data().facet + ',' + $(lnk).parent().data().direction + '|';&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        //look for drop down.&#xA;                        var optn = $(this).find(&quot;select&quot;).first().children(&quot;option:selected&quot;);&#xA;                        if(optn.length &amp;gt; 0)&#xA;                        {&#xA;                            attrString += $(optn).data().facet + ',' + $(optn).data().direction + '|';&#xA;                        }&#xA;                    }&#xA;                }&#xA;            });&#xA;            attrString = attrString.replace(/\|\s*$/, &quot;&quot;);&#xA;&#xA;&#xA;        if (attributes.direction !== &quot;&quot;) {&#xA;            queryParameters.updateHash(this.updateSignaturesHash(sig, attrString, {}));&#xA;        } else {&#xA;            queryParameters.updateHash(this.updateSignaturesHash(sig, &quot;&quot;, {}));&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;      updateComponent: function (hash) {&#xA;        var optionToSelect, sortData,&#xA;            sig = this.model.get(&quot;sig&quot;),&#xA;            i;&#xA;        //Remove all selected&#xA;        this.$el.find(&quot;[data-facet][data-direction]&quot;).removeAttr(&quot;selected&quot;);&#xA;        for (i = 0; i &amp;lt; sig.length; i++) {&#xA;            if (hash.hasOwnProperty(sig[i])){&#xA;                //split with pipe&#xA;                var sorts = hash[sig[i]].split('|')&#xA;&#xA;                for(j=0;j&amp;lt;sorts.length;j++)&#xA;                {&#xA;                    sortData = sorts[j].split(',');&#xA;                    optionToSelect = this.$el.find(&quot;[data-facet='&quot; + sortData[0] + &quot;'][data-direction='&quot; + sortData[1] + &quot;']&quot;);&#xA;                    optionToSelect.attr(&quot;selected&quot;, &quot;selected&quot;);&#xA;                }&#xA;            } else {&#xA;                optionToSelect = this.$el.find(&quot;[data-facet][data-direction]:first&quot;);&#xA;                optionToSelect.attr(&quot;selected&quot;, &quot;selected&quot;);&#xA;            }&#xA;        }        &#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Gist:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://gist.github.com/mrunalbrahmbhatt/0e290d9d66ada19dd66123ba0e310e00&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/mrunalbrahmbhatt/0e290d9d66ada19dd66123ba0e310e00&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best option is to create custom javascript and upload in your custom theme instead of default one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this will help you.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastEditorUserId="1004" LastEditDate="2019-06-17T07:29:13.157" LastActivityDate="2019-06-17T07:29:13.157" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19419" PostTypeId="2" ParentId="19394" CreationDate="2019-06-17T07:24:36.503" Score="2" Body="&lt;p&gt;It's possible to create facets containing &lt;code&gt;Dictionary&amp;lt;K,V&amp;gt;&lt;/code&gt; or &lt;code&gt;List&amp;lt;T&amp;gt;&lt;/code&gt; properties in 9.1. Facet class needs to derive from &lt;code&gt;Sitecore.XConnect.Facet&lt;/code&gt;. See Sitecore's &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-a-custom-facet.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; for more information.&#xA;Here's a sample facet class taken from XConnect's core model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  [FacetKey(&quot;Addresses&quot;)]&#xA;  [Serializable]&#xA;  public class AddressList : Sitecore.XConnect.Facet&#xA;  {&#xA;    public const string DefaultFacetKey = &quot;Addresses&quot;;&#xA;&#xA;    public AddressList(Address preferredAddress, string preferredKey)&#xA;    {&#xA;      this.PreferredAddress = preferredAddress;&#xA;      this.PreferredKey = preferredKey;&#xA;    }&#xA;&#xA;    public Dictionary&amp;lt;string, Address&amp;gt; Others { get; set; } = new Dictionary&amp;lt;string, Address&amp;gt;();&#xA;&#xA;    public string PreferredKey { get; set; }&#xA;&#xA;    public Address PreferredAddress { get; set; }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="842" LastActivityDate="2019-06-17T07:24:36.503" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19422" PostTypeId="2" ParentId="19394" CreationDate="2019-06-17T09:54:52.380" Score="1" Body="&lt;p&gt;Your class &lt;code&gt;ServiceabilityData&lt;/code&gt; must be inherits &lt;code&gt;Sitecore.XConnect.Facet&lt;/code&gt;. Below is the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XConnect;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;&#xA;namespace Caiw.Foundation.Xconnect.Models.Facets&#xA;{&#xA;    [Serializable]&#xA;    [FacetKey(DefaultFacetKey)]&#xA;    public class ServiceabilityData : Facet&#xA;    {&#xA;        public const string DefaultFacetKey = &quot;ServiceabilityData&quot;;&#xA;        public int HouseNumber { get; set; }&#xA;&#xA;        public string ZipCode { get; set; }&#xA;&#xA;        public string Addition { get; set; }&#xA;&#xA;        public string LocationDescription { get; set; }&#xA;&#xA;        //public IElementDictionary&amp;lt;IInfrastructure&amp;gt; Infrastructure { get; }&#xA;&#xA;        public string Street { get; set; }&#xA;&#xA;        public string City { get; set; }&#xA;&#xA;        public string Region { get; set; }&#xA;&#xA;        public string Country { get; set; }&#xA;&#xA;        public string OrderEndpointType { get; set; }&#xA;&#xA;        public int CustomerGroup { get; set; }&#xA;        public static explicit operator ServiceabilityData(KeyValuePair&amp;lt;string, Facet&amp;gt; v)&#xA;        {&#xA;            throw new NotImplementedException();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-06-17T09:54:52.380" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19425" PostTypeId="1" CreationDate="2019-06-17T14:01:34.097" Score="0" ViewCount="328" Body="&lt;p&gt;Does TDS have to have access to the version control server? My development environment is in a VM with no network access. I use Visual Studio in there and then push the changes to version control from the host (a Mac, so no Visual Studio with TDS). My (probably wrong) understanding of TDS is that it is serializing the Sitecore items from the database so that Visual Studio can push them to version control. What I'd like to do is use a version control tool on the host that doesn't have TDS to then push the serialized TDS projects to the VC host. Is this possible? Or does TDS require access to the version control server to do the serialization?&lt;/p&gt;&#xA;" OwnerUserId="173" LastActivityDate="2019-06-17T19:29:32.450" Title="Using TDS and Visual Studio for development, Command-line Git for version control" Tags="|tds|visual-studio|serialization|git|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19426" PostTypeId="2" ParentId="19425" CreationDate="2019-06-17T14:59:54.937" Score="2" Body="&lt;p&gt;I think you have a misunderstanding of how TDS and Source Control work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, TDS does not have any integration or dependency on a Source Control system. You can use TDS with Git, SVN, TFVC, whatever you want to use. All TDS is doing is taking the items from the Sitecore database and persisting them to files on the disk. In Visual Studio, it creates a project so you can see the files and perform actions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For source control, you just add, update and remove those files into your source control provider just like you would any other file that you want source controlled. TDS does not require access or even care about your source control server. As long as your local git instance can see the files via a share on your VM, then it will be able to commit those files to source control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for Visual Studio and Git - Visual Studio does not push anything into source control. Again, it doesn't care about what you are using as your scm. But there are add-ins to VS that allow you to push/pull etc... from within Visual Studio.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;tl/dr&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The short version of all that is, you can easily use git on your host mac to add the TDS files to source control, as long as you have a shared drive area that your mac can see and that is where your source files are stored.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-17T14:59:54.937" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19427" PostTypeId="1" CreationDate="2019-06-17T16:08:30.927" Score="0" ViewCount="67" Body="&lt;p&gt;Is there a way to get a count of item versions in &lt;code&gt;Sitecore.MobileSDK.SSC&lt;/code&gt;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the item instance and I need to know how many versions this item has.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Sitecore, I can see how many versions an item has. With this information, I can navigate through the Sitecore tree, access an item and get a specific version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5DNh0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5DNh0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will show to the user the content of an item, but first I need to know if this specific item has more than 1 version. With this information, I can show to the user a way to select which version he wants to see.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (var credentials = new ScUnsecuredCredentialsProvider(UserName, Password, Domain))&#xA;    using (var session =&#xA;           SitecoreSSCSessionBuilder.AuthenticatedSessionWithHost(InstanceUrl)&#xA;           .Credentials(credentials)&#xA;           .BuildSession())&#xA;    {&#xA;        var request = ItemSSCRequestBuilder.ReadItemsRequestWithId(RequestID)&#xA;            .Database(Database)&#xA;            .Language(Language)&#xA;            .Build();&#xA;&#xA;        ScItemsResponse items = await session.ReadItemAsync(request);&#xA;&#xA;        foreach (var item in items)&#xA;        {&#xA;            sitecoreItemList.Add(item);&#xA;            //here I need to count these item version.&#xA;        }&#xA;&#xA;        return sitecoreItemList;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5658" LastEditorUserId="70" LastEditDate="2019-06-17T17:08:45.583" LastActivityDate="2019-06-17T17:08:45.583" Title="Sitecore.MobileSDK.SSC - How to count the item versions" Tags="|mobile|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19429" PostTypeId="1" CreationDate="2019-06-17T16:55:07.010" Score="0" ViewCount="242" Body="&lt;p&gt;Been digging around how to get more than 10 results for each facet filter and can't find any setting to do so - also tried to dotpeek without any luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CdI4p.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CdI4p.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone came across with this issue or know a solution for this? I can see the following ajax being made:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/sitecore/shell/Applications/Buckets/Services/Search.ashx&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Which returns always a maximum of 10 as per below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/dMnYb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dMnYb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5660" LastEditorUserId="5660" LastEditDate="2019-06-17T19:47:57.640" LastActivityDate="2019-06-17T19:47:57.640" Title="Bucket search - facets filter limited to 10 results" Tags="|contact-facets|buckets|search-facet|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19430" PostTypeId="1" CreationDate="2019-06-17T18:41:55.217" Score="1" ViewCount="695" Body="&lt;p&gt;I have a requirement to limit search results to an arbitrary number in a Site Search implementation. Is there a way to accomplish this in a query and get accurate facets relative to the arbitrary search result cap?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example if a full result set is 350 items, using the FacetOn() method I get all of the facets correctly. However, I want to limit my result set to 100 results. If I use Take(100) the facets are still relative to the full result set of 350. Is there a way to adjust the facets to match the hits that are actually taken? Or is there a way to set a search hit limit on a per-query basis?&lt;/p&gt;&#xA;" OwnerUserId="856" LastEditorUserId="856" LastEditDate="2019-06-18T14:21:20.193" LastActivityDate="2022-11-29T21:05:20.637" Title="Limit search result hits to a specific number with facets to match limited result set" Tags="|solr|content-search|search-facet|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19431" PostTypeId="1" AcceptedAnswerId="19461" CreationDate="2019-06-17T19:06:40.367" Score="0" ViewCount="427" Body="&lt;p&gt;After upgrading from &lt;code&gt;Sitecore 8.2 to Sitecore 9.1&lt;/code&gt;, which updated the Sitecore.ContentSearch.SolrProvider to v4.0.0.0, the code compiles fine but we get the following when trying to access the site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Server Error in '/' Application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Method not found:&lt;/strong&gt; &lt;code&gt;Boolean Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_EnableHttpCache()&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Description:&lt;/strong&gt; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Exception Details:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;System.MissingMethodException: Method not found: 'Boolean Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_EnableHttpCache()'&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Source Error:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Stack Trace:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[MissingMethodException: Method not found: 'Boolean Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_EnableHttpCache()'.]&#xA;   Sitecore.Support.ContentSearch.SolrProvider.SolrNetIntegration.SolrStartup.Initialize() +0&#xA;   Sitecore.Support.ContentSearch.SolrProvider.Pipelines.Loader.InitializeSolrProvider.Process(PipelineArgs args) +110&#xA;   (Object , Object ) +9&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +215&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +1184&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +581&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369&#xA;&#xA;[HttpException (0x80004005): Method not found: 'Boolean Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_EnableHttpCache()'.]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +714&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When looking at the Sitecore.ContentSearch.SolrProvider in object viewer, I do not even see &lt;code&gt;SolrContentSearchManager&lt;/code&gt; much less &lt;code&gt;get_EnableHttpCache()&lt;/code&gt; method. &lt;/p&gt;&#xA;" OwnerUserId="4320" LastEditorUserId="5387" LastEditDate="2019-06-18T07:38:23.950" LastActivityDate="2019-06-18T13:22:12.747" Title="Method not found: 'Boolean Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_EnableHttpCache()'" Tags="|solr|sitecore-api|upgrade|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19432" PostTypeId="2" ParentId="19425" CreationDate="2019-06-17T19:29:32.450" Score="0" Body="&lt;p&gt;TDS writes .item files to disk to where ever you have put the TDS project file. So as long as that path is in the folder that you can see with your mac. It should show up in version control like any other file that has been created, modified or deleted from version control.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-06-17T19:29:32.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19433" PostTypeId="1" AcceptedAnswerId="19434" CreationDate="2019-06-17T22:12:47.737" Score="4" ViewCount="455" Body="&lt;p&gt;As per the title, during indexing, does Sitecore index the whole of the content tree (content, layout, media library, social, system, templates)? Is the section of the tree which is indexable configured somewhere, or is content to index controlled by configuring the template types to include/exclude?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="246" LastEditDate="2019-06-19T03:34:35.853" LastActivityDate="2019-06-19T03:34:35.853" Title="Is the entire Sitecore tree indexed during indexing, or just the content node" Tags="|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19434" PostTypeId="2" ParentId="19433" CreationDate="2019-06-18T00:29:57.930" Score="7" Body="&lt;p&gt;If you are asking about the default Sitecore indexes, &lt;code&gt;sitecore_master_index&lt;/code&gt;, &lt;code&gt;sitecore_web_index&lt;/code&gt; and &lt;code&gt;sitecore_web_index&lt;/code&gt;, then the entire Sitecore content tree is indexed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The part of the tree to include in the index is set by the &lt;code&gt;crawler/Root&lt;/code&gt; element in configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;contentSearch&amp;gt;&#xA;    &amp;lt;configuration&amp;gt;&#xA;      &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;        &amp;lt;index id=&quot;sitecore_master_index&quot;&amp;gt;&#xA;          &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot; /&amp;gt;&#xA;          &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;            &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;              &amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&#xA;            &amp;lt;/crawler&amp;gt;&#xA;          &amp;lt;/locations&amp;gt;&#xA;        &amp;lt;/index&amp;gt;&#xA;      &amp;lt;/indexes&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;  &amp;lt;/contentSearch&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the default is &lt;code&gt;/sitecore&lt;/code&gt;, i.e. the entire tree. Also notice that the &lt;code&gt;locations&lt;/code&gt; node has a hint list attribute. You can add multiple crawlers for different parts of the tree in the single index if you require.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also depending on the &lt;code&gt;configuration&lt;/code&gt; setting, items &lt;em&gt;might&lt;/em&gt; not be included in the index if the &lt;code&gt;documentOptions&lt;/code&gt; setting excludes specific templates for example. The above is using the &lt;code&gt;defaultSolrIndexConfiguration&lt;/code&gt; which only excludes Bucket Folders. You should check your specific configuration to check the settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a warning, do not restrict the Root setting of any of the default indexes. This will cause issues with parts of the internal application that rely on these indexes to function correctly, such as the search boxes in the Content Editor, field with search (e.g. multilist with search) and the Experience Forms application listing directly relies on the index to show the list of created forms. Instead, create a custom index and update those settings as required.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2019-06-18T13:21:02.547" LastActivityDate="2019-06-18T13:21:02.547" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19435" PostTypeId="1" CreationDate="2019-06-18T01:25:07.183" Score="1" ViewCount="134" Body="&lt;p&gt;Variant Section&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recently I was playing with Sitecore 9.1 and SXA 1.8 for new features. &lt;strong&gt;I discovered that Is Link field is wrongly mapped to Droplist Type having Source Location. I think field type should be the checkbox instead of droplist&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I verified the backend code and it expects the boolean value for &lt;strong&gt;Is Link&lt;/strong&gt; property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a bug in new version or enums are missing or it's safe to change the type from &lt;strong&gt;droplist&lt;/strong&gt; to &lt;strong&gt;checkbox&lt;/strong&gt;?&lt;/p&gt;&#xA;" OwnerUserId="1004" LastActivityDate="2019-06-19T09:02:42.083" Title="VariantSection's Is link field type is wrongly mapped to Droplist in SXA 1.8" Tags="|sxa|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19436" PostTypeId="2" ParentId="19433" CreationDate="2019-06-18T01:45:04.807" Score="0" Body="&lt;p&gt;Option 1: You can set include or exclude items based on template type in index configuration file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option 2: Add a field in base template like &quot;DoNotIndex&quot; to filter or limit your search result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Option 3: Create a new index and in configuration set very specific node require to be indexed.  For example &quot;&amp;lt; Root&gt;/sitecore/Home/MyNode&amp;lt; /Root&gt;&quot;&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-18T01:45:04.807" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19437" PostTypeId="2" ParentId="19430" CreationDate="2019-06-18T01:53:31.920" Score="0" Body="&lt;p&gt;You can set the facet in Indexing section of the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KI3zu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KI3zu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-18T01:53:31.920" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19438" PostTypeId="2" ParentId="17235" CreationDate="2019-06-18T02:49:23.610" Score="1" Body="&lt;p&gt;I came across this issue with SXA 1.7 on Sitecore 9.0.1. Not only was the site returning 404 on CD, it was also returning 404 on CM in Preview mode. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some steps to try and troubleshoot:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make sure your Site is not hidden by others when in SXA Site Manager. Move up/down to resolve that or change the hostname in the Site Grouping.&lt;/li&gt;&#xA;&lt;li&gt;In SXA Site Manager click the Publish button to publish the site definitions.&lt;/li&gt;&#xA;&lt;li&gt;Do a full publish and restart IIS on CM and CD.&lt;/li&gt;&#xA;&lt;li&gt;Make sure you don't have any Alias, SXA Redirects, or IIS redirects that are interfering. A good way to check that is to use Fiddler to see if you are being redirected.&lt;/li&gt;&#xA;&lt;li&gt;Make sure your Link Databases are up to date, and then check through your Partial Designs one by one for broken links, as well as any Snippets referenced by your Partial Designs. In my case there was a broken link in a Snippet's Final Renderings. This snippet was referenced by a Partial Design making it difficult to track down. It seems SXA is very sensitive to broken links.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-06-26T10:23:34.740" LastActivityDate="2019-06-26T10:23:34.740" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19439" PostTypeId="2" ParentId="19354" CreationDate="2019-06-18T04:14:22.260" Score="0" Body="&lt;p&gt;I ended up using the following query instead. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var container = Sitecore.Commerce.Engine.Connect.EngineConnectUtility.GetShopsContainer();&#xA;&#xA;var category = Sitecore.Commerce.ServiceProxy.Proxy&#xA;                        .GetValue&amp;lt;Category&amp;gt;(container.Categories&#xA;                        .ByKey(&quot;my-category-key&quot;)&#xA;                        .Expand(&quot;Components&quot;));&#xA;&#xA;var sellableItems = container.SellableItems.Where(x =&amp;gt; category.ChildrenSellableItemList.Contains(x.SitecoreId))&#xA;                                        .Skip(skip)&#xA;                                        .Take(take)&#xA;                                        .ToList();&#xA;&#xA;return sellableItems;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-06-18T04:14:22.260" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19441" PostTypeId="1" CreationDate="2019-06-18T04:43:23.883" Score="1" ViewCount="90" Body="&lt;p&gt;I am facing a weird issue where experience editor (sitecore 9) is not getting enabled on my local system while it works fine on all the dev environment as well as other developers machine.&#xA;I have checked the console and there is no error in the console or networking tab. Also, I am logged in as administrator and have verified the config files with enable webedit set to true. Is there any thing I am missing?&lt;/p&gt;&#xA;" OwnerUserId="1902" LastEditorUserId="4782" LastEditDate="2019-06-18T07:38:28.403" LastActivityDate="2019-06-18T07:38:28.403" Title="Experience Editor disabled on local machine" Tags="|experience-editor|" AnswerCount="0" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="19442" PostTypeId="2" ParentId="19013" CreationDate="2019-06-18T05:35:54.820" Score="11" Body="&lt;p&gt;As mentioned above I have followed various solution referring various links but nothing worked for me. After deep diving into the issue we found that there are few changes in the configuration files for SOLR and Lucene which created the fuss for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After replacing all necessary files (specifically related to indexes) from the same replica of instance (vanilla installation) and rebuilding the indexes, my issue got resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But for future references I am mentioning all the solution which I have followed:-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 1: Rebuilding master indexes&lt;/strong&gt; &lt;br&gt;&#xA;Initially rebuilding master indexes did not resolve the issue but as mentioned above after replacing few configuration files from fresh instance and then rebuilding the master indexes resolved the issue. &lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;This worked for me.&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 2: Renaming Sitecore forms&lt;/strong&gt;&lt;br&gt;&#xA;Sometime renaming the form will do the trick and resolved this issue. I had faced this situation in my previous project and renaming the form had solved this issue for me. But this time did not work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 3: Check the Form folder id in core database&lt;/strong&gt;&lt;br&gt;&#xA;Check the ID of Form folder in Root field of SearchConfig item in core database at /sitecore/client/Applications/FormsBuilder/Components/Navigation/Create/PageSettings/CreateFormDataSource/SearchConfig &#xA;SearchConfig item id - {60F35FD9-88CB-4DF5-8E78-1E9BF5FE181C}&#xA;If found different change it to the folder id where forms are present.&lt;br&gt;&#xA;Form folder Id was same in my case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 4: Clear browser cookies&lt;/strong&gt;&lt;br&gt;&#xA;I have found on the sitecore.stachexchange.com that clearing browser cookie had resolved the same issue for one community user. So tried the same thing and even in new browser as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 5: define &quot;is_template&quot; field from &quot;istemplate&quot; field&lt;/strong&gt;&lt;br&gt;&#xA;I have found error in Search logs as given below: -&#xA;&lt;a href=&quot;https://i.stack.imgur.com/V1aR3.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V1aR3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;13020 13:55:57 ERROR Solr Error : [&quot;undefined field is_template&quot;] - Query attempted: [(((((_content:(**) OR _name:(**) OR _displayname:(**)) AND (is_template:(0) AND _latestversion:(1))) AND _path:(b701850acb8a4943b2bcdddb1238c103)) AND _templatename:(Form)) AND (-__hidden:(1)  *:*))]&#xA;17204 13:55:57 ERROR Solr Error : [&quot;undefined field is_template&quot;] - Query attempted: [(((((_content:(**) OR _name:(**) OR _displayname:(**)) AND (is_template:(1) AND _latestversion:(1))) AND _path:(b701850acb8a4943b2bcdddb1238c103)) AND _templatename:(Form)) AND (-__hidden:(1)  *:*))]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Taken the reference as mentioned in the question, I made changes accordingly. Error was saying that &quot;undefined field is_template&quot; so I added the field with the same name as shown below in Sitecore.ContentSearch.Solr.DefaultIndexConfiguration file at C:\inetpub\wwwroot\your sitecore instance\App_Config\Sitecore\ContentSearch&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fNEq4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fNEq4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/9U4T4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9U4T4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And rebuild the indexes again. Rebuild indexes completed successfully. &lt;br&gt;&#xA;Error from SOLR gone but forms were not visible by this solution as well.&lt;/p&gt;&#xA;" OwnerUserId="3133" LastEditorUserId="3133" LastEditDate="2019-06-18T06:43:41.637" LastActivityDate="2019-06-18T06:43:41.637" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19444" PostTypeId="1" CreationDate="2019-06-18T07:34:49.157" Score="0" ViewCount="24" Body="&lt;p&gt;We are using Sitecore 9.1, SXA 1.7.1 and it is multi Site architecture  (English and Italian Sites).As a Admin user when i am setting up an content for Italian site, by default the assets are mapped to English language in Media Library and I am not able to view them in content item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Help is appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in Advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&#xA;Ajur D K&lt;/p&gt;&#xA;" OwnerUserId="5661" LastActivityDate="2019-06-18T07:34:49.157" Title="Admin users not able to see non English assets" Tags="|media-library|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19445" PostTypeId="2" ParentId="19435" CreationDate="2019-06-18T08:43:55.210" Score="4" Body="&lt;p&gt;&lt;code&gt;IsLink&lt;/code&gt; field is now a dropdown with the following options:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cqyLm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cqyLm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA 1.8 has a bug, those dropdown options were not added to the package. As far as I known there is already a hotfix ready for it. Please contact Sitecore support.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-06-18T08:43:55.210" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19446" PostTypeId="1" AcceptedAnswerId="19460" CreationDate="2019-06-18T08:57:33.080" Score="3" ViewCount="107" Body="&lt;p&gt;As per title; what functionality in the Sitecore back-end is dependent on the indexes&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_master_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_web_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecore_core_index&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-06-18T10:52:58.560" Title="What parts of the Sitecore back-end are dependent on sitecore_master_index sitecore_web_index and sitecore_core_index" Tags="|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19448" PostTypeId="1" AcceptedAnswerId="19455" CreationDate="2019-06-18T09:17:37.047" Score="0" ViewCount="435" Body="&lt;p&gt;I have a custom menu written to copy the item language version to another language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The current behavior is -&lt;/strong&gt; when I click on the menu it copies the current language version to another language version and don't reload or refresh the item. I have to re-click on the item to reload or refresh it. &#xA;I want to trigger this by code so I wrote the code as below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     var copiedItem = _db.GetItem(item.ID, _targetLanguage);&#xA;            string load = string.Concat(&quot;item:load(id=&quot;, copiedItem.ID, &quot;,language=&quot;, copiedItem.Language, &quot;,version=&quot;, copiedItem.Version, &quot;)&quot;);&#xA;            Context.ClientPage.SendMessage(this, load);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I am getting the error as below -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.NullReferenceException: Object reference not set to an instance of an object. at Sitecore.Web.UI.Sheer.ClientPage..ctor() at Sitecore.Context.get_ClientPage() at PT.Framework.ItemCopy.Copying.CopyFromLanguage.AddVersionRecursiveCommand.StartProgressBar(Object[] contextParameters)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I understood so far is that I cannot refresh the ClientPage from a custom command class. but then there should be some solution, right? if yes, then please help me to resolve this (it's already taken my half a day)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you to all in advance. &lt;/p&gt;&#xA;" OwnerUserId="1717" LastEditorUserId="5387" LastEditDate="2019-06-18T10:19:34.070" LastActivityDate="2019-07-18T11:00:14.610" Title="How to refresh a selected item on a custom menu click" Tags="|content-editor|sheer-ui|ribbon|commands|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19449" PostTypeId="1" CreationDate="2019-06-18T09:20:21.970" Score="0" ViewCount="289" Body="&lt;p&gt;I have a requirement like a user should create and approve their OWN content only and it should not accessible that created/updated Sitecore items to other users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Ex:&lt;/strong&gt; user1 has created a test1 page and can access and approve his OWN content. And this test1 item shouldn't allow approving for other users.&lt;/p&gt;&#xA;" OwnerUserId="5609" LastEditorUserId="5387" LastEditDate="2019-06-18T09:36:02.167" LastActivityDate="2019-07-20T12:03:15.463" Title="How to define a new user role that can create and approve their OWN content only?" Tags="|security|workflow|role-management|user-management|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19450" PostTypeId="1" AcceptedAnswerId="19457" CreationDate="2019-06-18T09:26:51.957" Score="2" ViewCount="319" Body="&lt;p&gt;I am trying to get the product variants from a SellableItem but I can't seem to be able to find the Variant item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are the steps that I am doing currently&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1A) Get sellable item&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var sellableItemId = &quot;myid&quot;&#xA;SellableItem item = container.SellableItems.Where(x =&amp;gt; x.ProductId == sellableItemId ))..FirstOrDefault()&#xA;&#xA;return item.ItemVariations;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;1B) This returns a list of variantIds. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;57042066|57042067|57042068|57042069|57042070&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2A) I tried using similar code below to retrieve the variant item, but it is not able to find anything. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var variantId = &quot;57042066&quot;;&#xA;var variant = container.SellableItems.Where(x =&amp;gt; x.ProductId == variantId));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="5110" LastEditDate="2019-06-18T09:41:26.623" LastActivityDate="2019-06-18T10:07:19.727" Title="Sitecore Commerce Sellable item variants" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19451" PostTypeId="2" ParentId="19208" CreationDate="2019-06-18T09:39:50.370" Score="0" Body="&lt;p&gt;The problem was language, this is not defined in the default [site].config of the react app. Turns out integrated mode defaulted to en, while the test url (.no domain) defaulted to nb-NO. After setting language=&quot;nb-NO&quot; on the site in the config file. Everything started working. &lt;/p&gt;&#xA;" OwnerUserId="3039" LastActivityDate="2019-06-18T09:39:50.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19454" PostTypeId="1" CreationDate="2019-06-18T09:50:33.273" Score="5" ViewCount="131" Body="&lt;p&gt;I have a requirement in our &lt;strong&gt;Sitecore Experience Commerce 9.0 update 2&lt;/strong&gt; to sort the &lt;strong&gt;&lt;em&gt;Product List&lt;/em&gt;&lt;/strong&gt; by popularity which means sorting by most viewed products on top.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to get it from &lt;strong&gt;Fact_PageViews&lt;/strong&gt; table in &lt;strong&gt;Reporting&lt;/strong&gt; database but it was not successful because whenever I accessed &lt;strong&gt;&lt;em&gt;Product Detail&lt;/em&gt;&lt;/strong&gt; page, the wildcard item was tracked into &lt;strong&gt;Fact_PageViews&lt;/strong&gt; table instead of &lt;strong&gt;Product&lt;/strong&gt; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found Experience Analytics could show &lt;strong&gt;&lt;em&gt;Most viewed product details&lt;/em&gt;&lt;/strong&gt; in its Dashboard. How can I get this information to use for sorting? Is there any way to get it by using XConnect?&lt;/p&gt;&#xA;" OwnerUserId="5664" LastEditorUserId="5664" LastEditDate="2019-06-21T05:49:25.467" LastActivityDate="2019-06-21T05:49:25.467" Title="Sitecore Commerce Sorting Product by Most Viewed" Tags="|sitecore-commerce|xconnect|experience-analytics|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19455" PostTypeId="2" ParentId="19448" CreationDate="2019-06-18T09:54:21.750" Score="0" Body="&lt;p&gt;Please try the Timer method with refresh option,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;String refresh = String.Format(&quot;item:refreshchildren(id={0})&quot;, myItem.Parent.ID);&#xA;Sitecore.Context.ClientPage.ClientResponse.Timer(refresh, 2);&lt;/p&gt;&#xA;" OwnerUserId="3894" LastActivityDate="2019-06-18T09:54:21.750" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19456" PostTypeId="2" ParentId="13157" CreationDate="2019-06-18T09:59:05.757" Score="0" Body="&lt;p&gt;Using your answer as inspiration I expanded upon it by creating a custom submit action that would store all the form values in the session and then a custom form element that would be placed after the form submit button and replace all given placeholder text dynamically using the fields name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The custom submit action stores all the values in a list of key values pairs with the name of the field being the key. Input fields that would return a list are processed to return a comma separated string.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class StoreFormInSessionSubmit : SubmitActionBase&amp;lt;string&amp;gt;&#xA;{&#xA;    public StoreFormInSessionSubmit(ISubmitActionData submitActionData) : base(submitActionData)&#xA;    {&#xA;    }&#xA;&#xA;    protected override bool TryParse(string value, out string target)&#xA;    {&#xA;        target = string.Empty;&#xA;        return true;&#xA;    }&#xA;&#xA;    protected override bool Execute(string data, FormSubmitContext formSubmitContext)&#xA;    {&#xA;        Assert.ArgumentNotNull(formSubmitContext, nameof(formSubmitContext));&#xA;&#xA;        if (!formSubmitContext.HasErrors)&#xA;        {&#xA;            Logger.Info($&quot;Form {formSubmitContext.FormId} submitted successfully.&quot;);&#xA;&#xA;            var formValues = GetFormValues(formSubmitContext.Fields);&#xA;&#xA;            HttpContext.Current.Session[&quot;form&quot;] = formValues;&#xA;        }&#xA;        else&#xA;        {&#xA;            Logger.Warn($&quot;Form {formSubmitContext.FormId} submitted with errors: {string.Join(&quot;, &quot;, formSubmitContext.Errors.Select(t =&amp;gt; t.ErrorMessage))}.&quot;);&#xA;        }&#xA;&#xA;        return true;&#xA;    }&#xA;&#xA;    private List&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt; GetFormValues(IList&amp;lt;IViewModel&amp;gt; form)&#xA;    {&#xA;        var formValues = new List&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt;();&#xA;&#xA;        foreach (var inputField in form)&#xA;        {&#xA;            var inputFieldValue = GetFormValue(inputField);&#xA;&#xA;            formValues.Add(new KeyValuePair&amp;lt;string, string&amp;gt;(inputField.Name, inputFieldValue));&#xA;        }&#xA;&#xA;        return formValues;&#xA;    }&#xA;&#xA;    private string GetFormValue(object field)&#xA;    {&#xA;        var value = field?.GetType().GetProperty(&quot;Value&quot;)?.GetValue(field, null);&#xA;        if (value is IList)&#xA;        {&#xA;            var enumerableValue = value as IList&amp;lt;string&amp;gt;;&#xA;            return string.Join(&quot;,&quot;, enumerableValue.ToArray());&#xA;        }&#xA;        else&#xA;        {&#xA;            return value?.ToString() ?? string.Empty;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The custom form element is simply based of the standard text element but when rendering the text value, loops through all the key value pairs retrieved from the session and replaces all placeholder text found in the form element.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;public class PersonalizedText : FieldViewModel&#xA;{&#xA;    public string Text { get; set; }&#xA;&#xA;    protected override void InitItemProperties(Item item)&#xA;    {&#xA;        base.InitItemProperties(item);&#xA;        Text = StringUtil.GetString(item.Fields[&quot;Text&quot;]);&#xA;&#xA;        if (!string.IsNullOrEmpty(Text))&#xA;        {&#xA;            var formValues = (IList&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt;) HttpContext.Current.Session[&quot;form&quot;];&#xA;&#xA;            ReplacePlaceholderText(formValues);&#xA;        }&#xA;    }&#xA;&#xA;    protected override void UpdateItemFields(Item item)&#xA;    {&#xA;        base.UpdateItemFields(item);&#xA;&#xA;        item.Fields[&quot;Text&quot;]?.SetValue(Text, true);&#xA;    }&#xA;&#xA;    private void ReplacePlaceholderText(IList&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt; formValues)&#xA;    {&#xA;        if (formValues != null &amp;amp;&amp;amp; formValues.Any())&#xA;        {&#xA;            foreach (var formValue in formValues)&#xA;            {&#xA;                var placeholder = '*' + formValue.Key + '*';&#xA;                Text = Text.Replace(placeholder, formValue.Value);&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For reference:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-submit-action.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating a custom submit action&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/walkthrough--creating-a-custom-form-element.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Creating a custom form element&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4628" LastActivityDate="2019-06-18T09:59:05.757" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19457" PostTypeId="2" ParentId="19450" CreationDate="2019-06-18T10:07:19.727" Score="1" Body="&lt;p&gt;You don't need to do 2A step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SellableItem already contains &lt;code&gt;Sitecore.Commerce.Plugin.Catalog.ItemVariationsComponent&lt;/code&gt;.&#xA;Inside of &lt;code&gt;Sitecore.Commerce.Plugin.Catalog.ItemVariationsComponent&lt;/code&gt; you will find &lt;code&gt;ChildComponents&lt;/code&gt; property, which contains array of &lt;code&gt;Sitecore.Commerce.Plugin.Catalog.ItemVariationComponent&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PwqI3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PwqI3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-06-18T10:07:19.727" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19458" PostTypeId="1" CreationDate="2019-06-18T10:22:07.893" Score="1" ViewCount="197" Body="&lt;p&gt;Is there a way to implement the workflow and user roles for Content authors to see their own items only in workbox not from other authors.&lt;/p&gt;&#xA;" OwnerUserId="5609" LastEditorUserId="73" LastEditDate="2019-06-18T14:54:07.080" LastActivityDate="2019-06-18T14:54:07.080" Title="Content authors to see their own items only in workbox, not from other authors" Tags="|security|workflow|role-management|user-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19459" PostTypeId="2" ParentId="18152" CreationDate="2019-06-18T10:30:50.793" Score="0" Body="&lt;p&gt;As confirmed by Sitecore support, this issue seems to be known an issue and has been fixed in Sitecore 9.0 Initial Release, see the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/90/Sitecore%20Experience%20Platform%2090%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;Release Notes&lt;/a&gt;, search for 110468. For Sitecore 8.2 update 5, they provided a patch to fix this issue and the patch can be found in the below URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.110468/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.110468/releases&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3894" LastActivityDate="2019-06-18T10:30:50.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19460" PostTypeId="2" ParentId="19446" CreationDate="2019-06-18T10:52:58.560" Score="5" Body="&lt;p&gt;I know only about 4 places where Sitecore built-in &lt;code&gt;sitecore_DB_index&lt;/code&gt; indexes are used. Those are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Search bar above the content tree in Content Editor:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rXTyp.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rXTyp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Search tab in Content Editor:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yoBCH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yoBCH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Bucket search (similar to previous one):&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AvKKO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AvKKO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;&lt;code&gt;Multilist with search&lt;/code&gt; fields&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jki1I.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jki1I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-18T10:52:58.560" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19461" PostTypeId="2" ParentId="19431" CreationDate="2019-06-18T13:22:12.747" Score="0" Body="&lt;p&gt;I can see in Stack Trace. THis means that you are referencing some pipelines coming from &lt;code&gt;Sitecore.Support&lt;/code&gt; namespace which means that you have still some old support tickets added into solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see these references:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Sitecore.Support.ContentSearch.SolrProvider.SolrNetIntegration.SolrStartup.Initialize()&#xA;    2.Sitecore.Support.ContentSearch.SolrProvider.Pipelines.Loader.InitializeSolrProvider.Process&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remove them to fix these issues.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-06-18T13:22:12.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19462" PostTypeId="2" ParentId="19458" CreationDate="2019-06-18T14:00:03.783" Score="2" Body="&lt;p&gt;No, there is not. Sitecore's security (of which Workflow is an integral part) is Role-based, not individual based. The ability to &quot;see&quot; and &quot;act&quot; on an Item in the workbox is determined by the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does the User have &quot;Write&quot; rights to the Item in question?&lt;/li&gt;&#xA;&lt;li&gt;Does the User have &quot;Workflow Write&quot; rights to the Item's current Workflow State?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;if either of these are false, the given Item will not show up in the User's Workbox. Since most of your users probably can answer &quot;yes&quot; to both of these questions, they will all be able to see the Item in the Workbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that Item Locking doesn't affect visibility either, it just prevents the user from &lt;em&gt;actually&lt;/em&gt; editing the Item once they select it in the Workbox.&lt;/p&gt;&#xA;" OwnerUserId="338" LastActivityDate="2019-06-18T14:00:03.783" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19463" PostTypeId="1" AcceptedAnswerId="19464" CreationDate="2019-06-18T14:30:10.397" Score="1" ViewCount="344" Body="&lt;p&gt;I know I've done this before but I just don't remember the proper syntax. I have a page where the model is &lt;code&gt;EventItem&lt;/code&gt;, and &lt;code&gt;EventItem&lt;/code&gt; has a list of &lt;code&gt;EventSpeakers&lt;/code&gt; and each speaker has an image field. I want to make the images editable in Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var person in Model.EventSpeakers){&#xA;    &amp;lt;div class=&quot;speaker&quot;&amp;gt;&#xA;        @Editable(??? =&amp;gt; x.Speaker_Image)&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I do &lt;code&gt;@Editable(x =&amp;gt; x.Speaker_Image)&lt;/code&gt;  that doesn't work, because &lt;code&gt;x&lt;/code&gt; is an &lt;code&gt;EventItem&lt;/code&gt; and not an &lt;code&gt;EventSpeaker&lt;/code&gt;. How do I specify that &lt;code&gt;x&lt;/code&gt; is &lt;code&gt;person&lt;/code&gt; and not the page Model?&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2019-06-18T14:58:47.867" LastActivityDate="2019-06-18T14:58:47.867" Title="Editable in a foreach loop?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19464" PostTypeId="2" ParentId="19463" CreationDate="2019-06-18T14:38:50.553" Score="3" Body="&lt;p&gt;From what I understand, you want to do something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@foreach (var person in Model.EventSpeakers)&#xA;{&#xA;    &amp;lt;div class=&quot;speaker&quot;&amp;gt;&#xA;        @Editable(person, p =&amp;gt; p.Speaker_Image)&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You just pass the item as the first parameter to the &lt;code&gt;@Editable&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-18T14:38:50.553" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19465" PostTypeId="1" CreationDate="2019-06-18T15:40:24.813" Score="1" ViewCount="108" Body="&lt;p&gt;I have created a download list, based on the &lt;code&gt;file list&lt;/code&gt; component. I have a requirement to provide functionality that allows the content editor to determine whether, on click, a file should be downloaded, opened in a new tab or opened in the current tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I started by creating a &lt;code&gt;droplist&lt;/code&gt; field on the template on which I set the &lt;code&gt;source&lt;/code&gt; to an options folder I'd created containing the above choices.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From here, I intended to set rules on the file to determine how it should behave based on what was selected in the &lt;code&gt;droplist&lt;/code&gt; but I realised that this functionality wasn't available in the rules engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's a picture of my variant, if it's useful:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jCKrD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jCKrD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I achieve this?&lt;/p&gt;&#xA;" OwnerUserId="4487" LastActivityDate="2019-06-18T15:40:24.813" Title="How can I create an option to determine if a file is downloaded, opened in a new tab or the current tab?" Tags="|sxa|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19466" PostTypeId="1" AcceptedAnswerId="19473" CreationDate="2019-06-18T15:58:52.043" Score="10" ViewCount="6917" Body="&lt;p&gt;I've noticed the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9973/502-error-after-deployment-to-azure&quot;&gt;502 error after deployment to Azure&lt;/a&gt; question, but it appears to be related to a failed deployment and rollback of databases - not what we're seeing here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting the above&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;502 - Web server received an invalid response while acting as a gateway or proxy server&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It happens after any completion of our Azure DevOps pipeline that deploys to the WebApp. Here's what I've observed:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It happens on serving any of the &quot;public&quot; sites on the solution. So if I call up a page from an SXA site or a regular site, I get about a 5 minute delay while it's loading and then ultimately giving up.&lt;/li&gt;&#xA;&lt;li&gt;It does not happen when I reach the &quot;internal&quot; sites on the solution. Content Editor for instance. It does happen if I try and start the Experience Editor.&lt;/li&gt;&#xA;&lt;li&gt;Strangely, &quot;Smiling Asian Lady&quot; (default Website) loads up almost instantly. The problem &lt;em&gt;may&lt;/em&gt; be isolated to SXA&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;After the 5-10 minute wait and the initial 502 error being shown, I can refresh the page and Sitecore proceeds to serve up the requested page as if it went through a normal cold-start. So roughly 30 seconds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;edited to clarify/rectify&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We don't have an explicit AppGateway in front of our sites. We do however use Auto Scaling (not dynamic, but set to 2 instances) which would mean that the scaling has an internal load balancer in place. Which I guess acts in much the same way as a gateway would do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone point me to what's going on here?&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-06-19T10:18:26.587" LastActivityDate="2020-04-30T17:58:49.723" Title="502 - Web server received an invalid response while acting as a gateway or proxy server" Tags="|azure|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19467" PostTypeId="1" AcceptedAnswerId="19470" CreationDate="2019-06-18T16:36:27.503" Score="2" ViewCount="76" Body="&lt;p&gt;I'm using &lt;code&gt;Sitecore 9.1&lt;/code&gt; and &lt;code&gt;SXA 1.8&lt;/code&gt;, the autosuggest works after entering two characters if I want to change it and make it work like after three characters, Where can I change it.&lt;/p&gt;&#xA;" OwnerUserId="5545" LastEditorUserId="5417" LastEditDate="2019-06-18T17:51:53.553" LastActivityDate="2019-06-18T18:59:42.863" Title="SXA Autosuggestion work after two characters" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19468" PostTypeId="2" ParentId="19466" CreationDate="2019-06-18T18:16:00.133" Score="6" Body="&lt;p&gt;From what you have said, I think you need to look into using deployment slots on the app service.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you deploy to the app service, it is likely that you are getting an application recycle and while the application warms up, the gateway will throw 502 errors for a while until the application is completely up and running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So solve that, add a deployment slot to the application service and make sure your release pipeline is deploying to the non-live slot. Azure will give you a url to hit that slot and warm it up. Then you can run any tests etc... you need to on the stage slot. Finally, once you are happy you can swap the slots and promote the stage slot to production. This will prevent any downtime on the production slot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0QCaq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0QCaq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Release Pipelines&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Depending on what you are using to release, you will need to add steps to your release pipeline to deploy to your staging slot, warm up the staging slot application and finally swap the slots. Azure DevOps has good tooling for this.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Considerations&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;With slots you are partially on your way to green/blue deployments. So you should decide whether you are going to have green/blue web databases and/or indexes. If you will need to add steps in to swap the connection strings on you CM and publish/re-index etc...&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-18T18:16:00.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19469" PostTypeId="2" ParentId="19409" CreationDate="2019-06-18T18:48:17.393" Score="0" Body="&lt;p&gt;Here's the first two calls of Install-SitecoreConfiguration. &#xA;1) The first call of Install-SitecoreConfiguration with idCertParams, with -Verbose, gives the output right after the next 3 sentence. Note that the lines &#xA;before the call populate values for the idCertParams hash table, and the values are written out before the call, as shown. As mentioned before, there are one or two&#xA;more calls of Install-SitecoreConfiguation with various hash tables, all with the same result. Just showing the first two calls, as they are all the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;idCertparams, before Install-SitecoreConfiguration @idCertParams&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Name                           Value&lt;br&gt;&#xA;----                           -----&lt;br&gt;&#xA;Path                           C:\technicalSubjects\SiteCore\resourcefiles\createcert.json&lt;br&gt;&#xA;CertificateName                sitecore9.identityserver       &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Install-SitecoreConfiguration : Cannot retrieve the dynamic parameters for the cmdlet. Unrecognized escape sequence. (400): {&#xA;    &quot;Parameters&quot;: {&#xA;        &quot;CertificateName&quot;: {&#xA;            &quot;Type&quot;: &quot;String&quot;,&#xA;            &quot;Description&quot;: &quot;The name of the certificate to be created.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;&quot;&#xA;        },&#xA;        &quot;CertPath&quot;: {&#xA;            &quot;Type&quot;: &quot;String&quot;,&#xA;            &quot;Description&quot;: &quot;The physical path on disk where certificates will be stored.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;C:\technicalSubjects\SiteCore\certificates&quot;&#xA;        },&#xA;        &quot;RootCertFileName&quot;: {&#xA;            &quot;Type&quot;: &quot;String&quot;,&#xA;            &quot;Description&quot;: &quot;The file name of the root certificate to be created.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;SitecoreRootCert&quot;&#xA;        },&#xA;        &quot;ExportPassword&quot;: {&#xA;            &quot;Type&quot;: &quot;String&quot;,&#xA;            &quot;Description&quot;: &quot;Password to export certificates with.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;SIF-Default&quot;&#xA;        }&#xA;    },&#xA;    &quot;Variables&quot;: {&#xA;        &quot;Root.Cert.DnsName&quot;: &quot;[concat('DO_NOT_TRUST_', parameter('RootCertFileName'))]&quot;,&#xA;        &quot;Root.Cert.Store&quot;: &quot;Cert:\LocalMachine\Root&quot;,&#xA;        &quot;Client.Cert.Store&quot;: &quot;Cert:\LocalMachine\My&quot;,&#xA;        &quot;Export.Password&quot;: &quot;[if(variable('User.Supplied.Password'),variable('Secure.Password'),variable('Convert.User.Password'))]&quot;,&#xA;        &quot;User.Supplied.Password&quot;: &quot;[equal(parameter('ExportPassword'),'SIF-Default')]&quot;,&#xA;        &quot;Secure.Password&quot;: &quot;[ConvertToSecureString(String:variable('Password.String'),AsPlainText:true,Force:true)]&quot;,&#xA;        &quot;Password.String&quot;: &quot;[RandomString(Length:20,EnforceComplexity:True)]&quot;,&#xA;        &quot;Convert.User.Password&quot;: &quot;[ConvertToSecureString(String:parameter('ExportPassword'),AsPlainText:true,Force:true)]&quot;&#xA;    },&#xA;...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the second call of Install-SitecoreConfiguration, with idServerParams.  The results are similar. Note that the idServerParams are populated just &#xA;before the call of Install-SitecoreConfig.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;idServerParams, before Install-SitecoreCOnfiguration &#xA;SqlServer                      DAN-PC-17\MSSQLSERVER01&lt;br&gt;&#xA;Path                           C:\technicalSubjects\SiteCore\resourcefiles\identityserver.json&lt;br&gt;&#xA;SqlCorePassword                Sitecor3SecureP4ssword!&lt;br&gt;&#xA;LicenseFile                    C:\technicalSubjects\SiteCore\resourcefiles\license.xml&lt;br&gt;&#xA;SqlDbPrefix                    sitecore9&lt;br&gt;&#xA;Package                        C:\technicalSubjects\SiteCore\resourcefiles\Sitecore.IdentityServer 2.0.0 rev. 00157 (OnPrem)_identityserver.scwdp.zip&lt;br&gt;&#xA;SitecoreIdentityCert           sitecore9.identityserver&lt;br&gt;&#xA;PasswordRecoveryUrl            &lt;a href=&quot;https://sitecore9.sc&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore9.sc&lt;/a&gt;&lt;br&gt;&#xA;ClientSecret                   SIF-Default&lt;br&gt;&#xA;SiteName                       sitecore9.identityserver&lt;br&gt;&#xA;AllowedCorsOrigins             &lt;a href=&quot;https://sitecore9.sc&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore9.sc&lt;/a&gt;&lt;br&gt;&#xA;Install-SitecoreConfiguration : Cannot retrieve the dynamic parameters for the cmdlet. Unrecognized escape sequence. (763): {&#xA;    &quot;Parameters&quot;: {&#xA;        &quot;Package&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The path to the Web Deploy package to deploy.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;&quot;&#xA;        },&#xA;        &quot;SqlDbPrefix&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The prefix used for all Sql databases.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;&quot;&#xA;        },&#xA;        &quot;SitecoreIdentityCert&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The certificate to use for encryption. Provide the name or the thumbprint.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;&quot;&#xA;        },&#xA;        &quot;LicenseFile&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;The path to the Sitecore license file.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;C:\technicalSubjects\SiteCore\resourcefiles\License.xml&quot;&#xA;        },&#xA;        &quot;SiteName&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;IdentityServer&quot;,&#xA;            &quot;Description&quot;: &quot;The name of the site to be deployed.&quot;&#xA;        },&#xA;        &quot;SqlCoreUser&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;coreuser&quot;,&#xA;            &quot;Description&quot;: &quot;The user to create and use in Core connection string.&quot;&#xA;        },&#xA;        &quot;SqlCoreDbName&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;_Core&quot;,&#xA;            &quot;Description&quot;: &quot;The database to use in Core connection string.&quot;&#xA;        },&#xA;        &quot;SqlCorePassword&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;sitecore!&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql password for the Core connection string in Sitecore.&quot;&#xA;        },&#xA;        &quot;SqlServer&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;DAN-PC-17\MSSQLSERVER01&quot;,&#xA;            &quot;Description&quot;: &quot;The Sql Server where databases will be installed.&quot;&#xA;        },&#xA;        &quot;PasswordRecoveryUrl&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;Password recovery Url (Host name of CM instance).&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;http:\&quot;&#xA;        },&#xA;        &quot;AllowedCorsOrigins&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;Pipe-separated list of instances (URIs) that are allowed to login via Sitecore Identity.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;&quot;&#xA;        },&#xA;        &quot;ClientSecret&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Description&quot;: &quot;Client secret of PasswordClient section. It's a random string between 1 and 100 symbols long.&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;sitecore!&quot;&#xA;        },&#xA;        &quot;CustomConfigurationFile&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;DefaultValue&quot;: &quot;&quot;,&#xA;            &quot;Description&quot;: &quot;Path to file with custom configuration to be deployed in Identity Server folder.&quot;&#xA;        },&#xA;        &quot;HostMappingName&quot;: {&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Reference&quot;: &quot;SiteName&quot;,&#xA;            &quot;Description&quot;: &quot;The host name of the site.&quot;&#xA;        },&#xA;        &quot;DnsName&quot; :{&#xA;            &quot;Type&quot;: &quot;string&quot;,&#xA;            &quot;Reference&quot;: &quot;SiteName&quot;,&#xA;            &quot;Description&quot;: &quot;The dns name of the site.&quot;&#xA;        }&#xA;    },&lt;/p&gt;&#xA;" OwnerUserId="5653" LastActivityDate="2019-06-18T18:48:17.393" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19470" PostTypeId="2" ParentId="19467" CreationDate="2019-06-18T18:59:42.863" Score="2" Body="&lt;p&gt;From what I can see in &lt;code&gt;component-search-box&lt;/code&gt; script, there is hardcoded value &lt;code&gt;2&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;typeahead = this.$el.find(&quot;.search-box-input&quot;).typeahead({&#xA;    hint: true,&#xA;    minLength: 2&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't know if there is any easy way to change it via config but worst scenario, you can edit the content of the script and use whatever value you want.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-18T18:59:42.863" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19472" PostTypeId="2" ParentId="9334" CreationDate="2019-06-18T19:54:45.163" Score="1" Body="&lt;p&gt;I found that choosing boost values which were powers of two (4, 9, 16, 25, 36...) produced the expected result ordering. I first tried having a linear set of boost values (2, 4, 6, 8, 10...) and that had almost no discernable effect on result ordering. &lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-06-18T19:54:45.163" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19473" PostTypeId="2" ParentId="19466" CreationDate="2019-06-18T23:32:03.243" Score="11" Body="&lt;h2&gt;Background Information&lt;/h2&gt;&#xA;&lt;p&gt;You ask if anyone can point you to what's going on. This is a COMMON symptom for all Sitecore sites running in Azure PaaS Web App Services.&lt;/p&gt;&#xA;&lt;p&gt;The issue stems from the fact that the underlying load balancer that sits between the App Service and the public internet has an internal probe that checks to see if the application is running and serving. When this &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/app-service/faq-availability-performance-application-issues#why-does-my-request-time-out-after-230-seconds&quot; rel=&quot;noreferrer&quot;&gt;times out after 230 seconds&lt;/a&gt;, it shows that error. Sitecore takes quite a bit of time on startup before it accepts a web request. Therefore, the load balancer check is faster than Sitecore startup and reports the app service as down, and halts requests going to it.&lt;/p&gt;&#xA;&lt;h2&gt;Options Available&lt;/h2&gt;&#xA;&lt;h3&gt;Runtime Compilation of Views&lt;/h3&gt;&#xA;&lt;p&gt;This is the number one culprit of slow Sitecore startup.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/14807/1278&quot;&gt;Use the latest Roslyn compiler&lt;/a&gt; (make sure you have the &lt;code&gt;system.codedom&lt;/code&gt; node in the right place in your web.config).&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/14814/1278&quot;&gt;Precompile your Razor views&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3&gt;Using Deployment Slots&lt;/h3&gt;&#xA;&lt;p&gt;This option, as mentioned in another answer, allows you to deploy code in a staging environment, do the web application start, allow Sitecore to start up, and then essentially &lt;em&gt;&lt;strong&gt;swap&lt;/strong&gt;&lt;/em&gt; the dns entries for the site to the active slot. To be very clear on this point, Deployment Slots are individual instances of sitecore running. Both slots run at the same time.  So if you have a release of new items and changes that are dependant upon code being in place, then you have to have separate databases for each slot, which turns into a management issue. This can also mimic a blue/green deployment strategy. But as mentioned before, you have to take the databases (and ultimately what to do with them) into consideration.&lt;/p&gt;&#xA;&lt;p&gt;A great article on exactly how staging slots warm-up works is &lt;a href=&quot;https://michaelcandido.com/app-service-warm-up-demystified/&quot; rel=&quot;noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h3&gt;Use an Azure Application Gateway&lt;/h3&gt;&#xA;&lt;p&gt;These provide configuration settings to allow you to use a custom error page instead of displaying the default on that Azure PaaS uses.&#xA;You can also enable WAF on the Azure Application Gateway (supported in Sitecore 9.1+) for some extra security, although it's not cheap.&lt;/p&gt;&#xA;&lt;h3&gt;Scaling Up your Web App Service&lt;/h3&gt;&#xA;&lt;p&gt;My experience thus far has been that Sitecore's guidance for Azure PaaS sizing is significantly low. Pumping up the scale of your Web App Service has dramatic effects to the speed of Sitecore, especially on application start. It can also have dramatic effects on your operational budgets, however for most people the main point to note is that an S2 is equal to a P1V2 in cost, but P1V2 is far superior to S2 as it uses SSD's and has better compute power, not to mention the additional features you get from Premium.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-06-19T07:45:48.473" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19474" PostTypeId="1" AcceptedAnswerId="19490" CreationDate="2019-06-19T01:04:54.417" Score="1" ViewCount="817" Body="&lt;p&gt;We recently upgraded our &lt;code&gt;Sitecore to 9.1&lt;/code&gt; and also &lt;code&gt;Glassmapper5.4.21&lt;/code&gt; along with it.&#xA;What we noticed is that some of the view renderings have a data source that does not have a version in a particular language. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While it worked in the older version, in the new version this throws an exception as below. the only workaround we found is to go and create versions for those items. (even though we did not need them in that language) .&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; The model item passed into the dictionary is of type&#xA;&gt; 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary&#xA;&gt; requires a model item of type 'MyProject.IHeaderAndCopy'. Description:&#xA;&gt; An unhandled exception occurred. &#xA;&gt; &#xA;&gt; Exception Details: System.InvalidOperationException: The model item&#xA;&gt; passed into the dictionary is of type&#xA;&gt; 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary&#xA;&gt; requires a model item of type 'MyNamespace.Models.IHeaderAndCopy'.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;my View rendering code&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model IHeaderAndCopy&#xA;@if (Model != null)&#xA;{&#xA;&#xA;&amp;lt;h2&amp;gt;@Html.Glass().Editable(x =&amp;gt; x.Header)&amp;lt;/h2&amp;gt;&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any idea how to fix this without manually adding versions?  Since this is an upgrade, this component (and happens with all other components) is being used all over, it will be very difficult to go add versions all over across all languages. &lt;/p&gt;&#xA;" OwnerUserId="2396" LastEditorUserId="2396" LastEditDate="2019-06-19T12:27:46.027" LastActivityDate="2019-07-26T00:32:50.493" Title="Glassmapper 5.1 Error when Datasource has no version" Tags="|glass-mapper|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19476" PostTypeId="1" AcceptedAnswerId="19479" CreationDate="2019-06-19T05:52:15.527" Score="1" ViewCount="643" Body="&lt;p&gt;I am getting the below exception when trying to login to Sitecore 8.2. I have been trying to setup new environment with Sitecore 8.2. I keep getting redirected to the login page and no error on the UI but below error in the logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.&amp;lt;BeginExecuteCore&amp;gt;b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.&amp;lt;BeginProcessRequest&amp;gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState)&#xA;   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)&#xA;   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)&#xA;   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.InvalidOperationException&#xA;Message: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Renderings/Common/PageCodes/PageCode.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)&#xA;   at ASP._sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Web.HttpException&#xA;Message: Cannot redirect after HTTP headers have been sent.&#xA;Source: System.Web&#xA;   at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)&#xA;   at Sitecore.Shell.Web.ShellPage.GotoLoginPage(HttpContext httpContext, Boolean returnAfterLogin)&#xA;   at Sitecore.Shell.Web.ShellPage.IsLoggedIn(Boolean returnAfterLogin)&#xA;   at Sitecore.LaunchPad.LaunchPad.Initialize()&#xA;   at ASP._sitecore_shell_client_Speak_Layouts_Renderings_Common_PageCodes_PageCode_cshtml.Execute()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)&#xA;   at Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="3168" LastEditDate="2019-06-19T06:03:21.463" LastActivityDate="2019-06-19T06:36:30.030" Title="Response headers Error when trying to login to sitecore" Tags="|authentication|login|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19478" PostTypeId="2" ParentId="19172" CreationDate="2019-06-19T06:32:54.627" Score="1" Body="&lt;p&gt;Explicitly adding the user's name in the Cognified.Powershell.config solves the issue.&lt;/p&gt;&#xA;" OwnerUserId="1217" LastActivityDate="2019-06-19T06:32:54.627" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19479" PostTypeId="2" ParentId="19476" CreationDate="2019-06-19T06:36:30.030" Score="1" Body="&lt;p&gt;One of the reasons may be the &lt;code&gt;httpCookies&lt;/code&gt; setting in &lt;code&gt;web.config&lt;/code&gt; file which requires SSL to persist cookies:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;httpCookies httpOnlyCookies=&quot;true&quot; requireSSL=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have this setting in your &lt;code&gt;web.config&lt;/code&gt; and then try to login to Sitecore via &lt;code&gt;http&lt;/code&gt; url instead of &lt;code&gt;https&lt;/code&gt; url, you will get that exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should make sure you only access your website via &lt;code&gt;https&lt;/code&gt; url. You may want to remove &lt;code&gt;http&lt;/code&gt; binding from the site in IIS or maybe better add a redirect rule from &lt;code&gt;http&lt;/code&gt; to &lt;code&gt;https&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-19T06:36:30.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19480" PostTypeId="2" ParentId="19435" CreationDate="2019-06-19T09:02:42.083" Score="1" Body="&lt;p&gt;It's a bug in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Public Reference No: 326111&#xA;You can download the package from my drive &lt;a href=&quot;https://drive.google.com/open?id=1FX1mUQzU158l2Gutnr1C7N9-n5uhJvR-&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://drive.google.com/open?id=1FX1mUQzU158l2Gutnr1C7N9-n5uhJvR-&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks, Dawid and Peter.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastActivityDate="2019-06-19T09:02:42.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19482" PostTypeId="2" ParentId="19409" CreationDate="2019-06-19T10:25:03.453" Score="4" Body="&lt;p&gt;It looks like you have edited the file and put the path to CertPath parameter in the .json file. This isn't a problem in itself, but you haven't escaped the \'s (Which you must do in .json) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;change:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &quot;CertPath&quot;: {&#xA;        &quot;Type&quot;: &quot;String&quot;,&#xA;        &quot;Description&quot;: &quot;The physical path on disk where certificates will be stored.&quot;,&#xA;        &quot;DefaultValue&quot;: &quot;C:\technicalSubjects\SiteCore\certificates&quot;&#xA;    },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &quot;CertPath&quot;: {&#xA;        &quot;Type&quot;: &quot;String&quot;,&#xA;        &quot;Description&quot;: &quot;The physical path on disk where certificates will be stored.&quot;,&#xA;        &quot;DefaultValue&quot;: &quot;C:\\technicalSubjects\\SiteCore\\certificates&quot;&#xA;    },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and anywhere else where you have used them. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest you install Visual Studio Code or similar as this has built in tools for highlighting syntax errors. &lt;/p&gt;&#xA;" OwnerUserId="3270" LastActivityDate="2019-06-19T10:25:03.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19483" PostTypeId="1" AcceptedAnswerId="19484" CreationDate="2019-06-19T11:17:17.553" Score="-1" ViewCount="314" Body="&lt;p&gt;When I am trying to insert body tag in &lt;code&gt;RTE&lt;/code&gt;, then RTE is removing once clicking on Accept (save) button. I am not surprised but wanted to know what else removed by default in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Like when I am trying to put complete HTML body with doctype as &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;then neither I am able to edit nor save the content in RTE.&#xA;This issue is coming on one instance, and not coming on another instance of the same solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My question here is:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the other things which by default Sitecore removed, Are they configurable?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it good practice to put complete HTML with doctype in Sitecore RTE field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked and found that Rick text field has &lt;code&gt;Is XHTML&lt;/code&gt; applied, Do we have any relation with this?&lt;/p&gt;&#xA;" OwnerUserId="1307" LastEditorUserId="70" LastEditDate="2019-06-19T12:13:58.083" LastActivityDate="2020-11-02T13:01:00.113" Title="Why Sitecore RTE Field removing body section?" Tags="|sitecore-client|richtext-editor|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19484" PostTypeId="2" ParentId="19483" CreationDate="2019-06-19T11:54:04.197" Score="0" Body="&lt;p&gt;&lt;strong&gt;It's not a good practice to put entire HTML document into RTE field.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if do that, then Sitecore treats your text as valid Html and indeed the mentioned snippet will result in an empty page because there is no actual content. For example, the following HTML shows &quot;My first paragraph.&quot; in RTE field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&amp;gt;&#xA;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&amp;lt;body&amp;gt;&#xA;&amp;lt;p&amp;gt;My first paragraph.&amp;lt;/p&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is a number of RTE configuration options defined in Sitecore.config. The summary is below. More information is in Sitecore.config.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;HtmlEditor.DefaultConfigurationType&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifies the type responsible for setting up the rich text editor.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;HtmlEditor.DefaultProfile&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Path to the default html editor profile.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;HtmlEditor.LineBreak&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifies the tag that the HTML editor inserts on Enter. Values can be &quot;br&quot;, &quot;div&quot; and &quot;p&quot;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;HtmlEditor.RemoveScripts&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If true, the rich text editor removes script tags and inline scripts from RTE field values before saving. Setting the value to true reduces the potential for cross-site scripting and other script-related issues. Default value: true&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;HtmlEditor.SupportWebControls&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Indicates if the Html Editor supports web controls. If true, Web Controls are shown as yellow boxes. Default value: true&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;HtmlEditor.ValidatorServiceUrl&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Specifies the url that validates XHtml.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="842" LastEditorUserId="842" LastEditDate="2019-06-19T12:21:59.033" LastActivityDate="2019-06-19T12:21:59.033" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19486" PostTypeId="1" AcceptedAnswerId="19489" CreationDate="2019-06-19T13:30:19.250" Score="1" ViewCount="1157" Body="&lt;p&gt;&lt;strong&gt;EDIT: SEE MY ANSWER BELOW FOR THE FIX.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While trying to install Sitecore 9 via the install PowerShell script provided in the &quot;Sitecore® Developer Foundation 9.0&quot; Course, I've ran into the following error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have found and tried several &quot;fixes&quot;, however none seem to work for me, any assistance would be greatly appreciated.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Edit for some of the fixes:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/14038/could-not-deploy-package-error-while-installing-sitecore-9-update-2-setup-on-r&quot;&gt;&amp;quot;Could not deploy package&amp;quot; error while installing Sitecore 9 update 2 setup on Remote server&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecoresolver.blogspot.com/2017/11/sitecore-xp-90-local-instance-setup.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoresolver.blogspot.com/2017/11/sitecore-xp-90-local-instance-setup.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://born4joy.wordpress.com/2018/10/27/sitecore-9-installation-error-sql-server-data-tier-application-framework/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://born4joy.wordpress.com/2018/10/27/sitecore-9-installation-error-sql-server-data-tier-application-framework/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Error:&#xA;&#xA;[---------------------------------------------- InstallWDP : WebDeploy -----------------------------------------------] [WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe                                            Info: Adding MsDeploy.Site (MsDeploy.Site).&#xA;Info: Adding database (user id=sa;data source=NE1-LTP-1596\SQLEXPRESS;initial catalog=xp0_Processing.Pools)&#xA;Info: Initializing deployment: Pending.&#xA;Info: Analyzing deployment plan: Pending.&#xA;Info: Updating database: Pending.&#xA;Info: Creating deployment plan: Pending.&#xA;Info: Verifying deployment plan: Pending.&#xA;Info: Deploying package to database: Pending.&#xA;Info: Creating deployment plan: Running.&#xA;Info: Initializing deployment: Running.&#xA;Info: Initializing deployment (Start)&#xA;Info: Initializing deployment: Faulted.&#xA;Info: Initializing deployment (Failed)&#xA;Info: Creating deployment plan: Faulted.&#xA;Info: Verifying deployment plan: Faulted.&#xA;Info: Deploying package to database: Faulted.&#xA;Error: Could not deploy package.&#xA;Error: Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.&#xA;Error: Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.&#xA;Error Code: ERROR_EXECUTING_METHODError count: 1.&#xA;&#xA;More Information: Could not deploy package.&#xA;Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.&#xA;Internal Error. The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider is not valid. You must make sure the service is loaded, or you must provide the full type name of a valid database platform service.&#xA;  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD.&#xA;Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero&#xA;exit code - (-1)&#xA;At C:\SitecoreDev\install.ps1:42 char:1&#xA;+ Install-SitecoreConfiguration @xconnectParams&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:08&#xA;Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code -&#xA;(-1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-WebDeployTask.ps1:36&#xA;char:2&#xA;+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="5619" LastEditorUserId="70" LastEditDate="2019-06-19T16:06:28.493" LastActivityDate="2019-06-19T16:07:11.637" Title="Sitecore 9, WebDeploy Failure" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="2" ClosedDate="2019-06-19T16:23:24.363" ContentLicense="CC BY-SA 4.0" />
  <row Id="19487" PostTypeId="2" ParentId="19486" CreationDate="2019-06-19T14:19:45.670" Score="1" Body="&lt;p&gt;Long story short, you didn't follow the prereqs for installing Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You're deploying a SQL Server 2016 DACPAC into something I suspect is not SQL 2016 with DACPAC support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go back to the list of prereqs for your install and make sure no steps are omitted.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-06-19T14:19:45.670" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19488" PostTypeId="2" ParentId="18875" CreationDate="2019-06-19T14:52:04.617" Score="1" Body="&lt;p&gt;I've contacted Sitecore Support and below is their response:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The mentioned above exception usually happens due to the fact that&#xA;  xConnect has not responded within 5 seconds. So I believe it happened&#xA;  due to xConnect has been restarting and its nothing to worry about. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;In case the exception occurs not only once after xConnect start please&#xA;  check whether app pool user has required access rights.. For example,&#xA;  please refer to the following article:&#xA;  &lt;a href=&quot;https://blog.wenstor.com/2015/05/cess-to-registry-key-global-is-denied-in-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.wenstor.com/2015/05/cess-to-registry-key-global-is-denied-in-sitecore.html&lt;/a&gt;&#xA;  Could you please check if providing access to the app pool user fixes&#xA;  the errors?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="5045" LastActivityDate="2019-06-19T14:52:04.617" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19489" PostTypeId="2" ParentId="19486" CreationDate="2019-06-19T15:33:36.637" Score="0" Body="&lt;p&gt;As Mark Cassidy mentioned in his post, the issue was down to the wrong SQL version being installed (SQL Server 2016 is required for Sitecore 9), however I then encountered another issue.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Error: Unable to connect to master or target server 'xp0_Processing.Pools'. You must have a user with the same password in master or target server 'xp0_Processing.Pools`&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This was solved by changing the Security Settings to allow for Mixed authentication, as mentioned by SiteCoreSpark on their blog - &lt;a href=&quot;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5619" LastEditorUserId="70" LastEditDate="2019-06-19T16:07:11.637" LastActivityDate="2019-06-19T16:07:11.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19490" PostTypeId="2" ParentId="19474" CreationDate="2019-06-19T16:34:11.617" Score="5" Body="&lt;p&gt;It sounds like you are a victim of the change in the &lt;code&gt;EnforceVersionPresence&lt;/code&gt; change that happened in Sitecore 8.1. Although, I'm not sure what version you upgraded from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;EnforceVersionPresence&lt;/code&gt; setting makes Sitecore return null item objects instead of a shell item object with zero versions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have 2 options. Update your code to check that the item has versions before adding it to your model. On the item object you can do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Versions.Count &amp;gt; 0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The second option is more of a global setting and that would be to turn &lt;code&gt;EnforceVersionPresence&lt;/code&gt; on for your sites. To do that you will need to patch in the following config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;&amp;lt;yoursite&amp;gt;&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;enforceVersionPresence&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then enable the feature on items and/or Standard Values where you need this to happen. In the &lt;strong&gt;Advanced&lt;/strong&gt; section of the item, there is a field called &lt;code&gt;Enable Enforce Version Presence&lt;/code&gt;. Make sure this is ticked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information see this kb article: &lt;a href=&quot;https://kb.sitecore.net/articles/350702&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/350702&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-19T16:34:11.617" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19491" PostTypeId="1" CreationDate="2019-06-19T17:22:55.793" Score="1" ViewCount="636" Body="&lt;p&gt;We are following post below for the steps to configure ApplicationInsights and also have applied the patch as specified in the article. After setting things we are getting a NullReferenceException (details below). We have verified, all steps were followed as per &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions on what could be the issue or next steps to troubleshoot this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Article&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/17406/azure-application-insights-not-working-on-sitecore-9-1-paas?newreg=e7bae227fd0547c290a148ca0878d559&quot;&gt;Azure Application Insights not working on Sitecore 9.1 PaaS&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also from blog at - &lt;a href=&quot;https://sitecoresysadmin.wordpress.com/2019/04/05/solved-application-insights-not-working-on-sitecore-9-1-paas/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoresysadmin.wordpress.com/2019/04/05/solved-application-insights-not-working-on-sitecore-9-1-paas/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Application Insights version: 2.5.1 (as provided by SiteCore Patch). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;     Sitecore.Cloud.ApplicationInsights.TelemertyInitializers.AppInsightsInitializer.Process(PipelineArgs args) +74&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OPAqT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OPAqT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;==========================================================================&#xA;&lt;strong&gt;Update: 06/20 -&lt;/strong&gt; &#xA;Based on the links above, I updated Log4NET appenders to use ApplicationInsights appenders (instead of writing to FS). Removing this, clears the error, but Application Insights does not seem to work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we need to update update Log4NET appender for SiteCore 9.1 AI integartion? Or &quot;Sitecore.Cloud.ApplicationInsights.config&quot;, should kick-in automatically after updating instrumentation key and patch. &lt;/p&gt;&#xA;" OwnerUserId="5673" LastEditorUserId="5673" LastEditDate="2019-06-20T13:19:23.693" LastActivityDate="2019-06-20T13:19:23.693" Title="NullReferenceException while setting up ApplicationInsights with Sitecore 9.1 PaaS" Tags="|azure|paas|application-insights|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19492" PostTypeId="1" AcceptedAnswerId="19528" CreationDate="2019-06-19T17:26:01.827" Score="1" ViewCount="654" Body="&lt;p&gt;Using Sitecore 9.0.2, I've got code in two areas: SitecoreComponent (for controller renderings) and API (for JS calls). I've got a controller that inherits from SitecoreController in the API folder that I'm trying to apply the OutputCache attribute to, whether using a profile name or the parameters specifically in the attribute. This is also marked as HttpPost and called by an Ajax JQuery call to /api/[controller]/[method].&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever I make this call, either via the web application or Postman, I see in Fiddler or Postman that the cache-control is set to &quot;no-cache&quot;. If I set up a VS debug against it, the method is hit, when it shouldn't need to be. So it appears the output caching is being bypassed/ignored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a scenario where the path needs to be added to the ignore path list, perhaps? If so, we'd probably need to institute a path other than &quot;/api&quot; since Sitecore can/does use that as well, I believe? Or is there something in Sitecore that overrides the OutputCache because it's taken over for use in the rendering caches and the like?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code stub:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class StockQuoteController : SitecoreController {&#xA;    private IStockQuoteAgent _stockQuoteAgent;&#xA;&#xA;    public StockQuoteController(IStockQuoteAgent stockQuoteAgent) {&#xA;        _stockQuoteAgent = stockQuoteAgent;&#xA;    }&#xA;&#xA;    [OutputCache(CacheProfile = &quot;StockQuoteCacheProfile&quot;)]&#xA;    [HttpPost]&#xA;    public JsonResult GetStockPrice() {&#xA;        ...&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Cache definition (in web.config, inside system.web node):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;caching&amp;gt;&#xA;  &amp;lt;outputCache enableOutputCache=&quot;true&quot; enableFragmentCache=&quot;true&quot; sendCacheControlHeader=&quot;true&quot; omitVaryStar=&quot;false&quot;&amp;gt;&amp;lt;/outputCache&amp;gt;&#xA;  &amp;lt;outputCacheSettings&amp;gt;&#xA;    &amp;lt;outputCacheProfiles&amp;gt;&#xA;      &amp;lt;add name=&quot;StockQuoteCacheProfile&quot; duration=&quot;1800&quot; varyByParam=&quot;none&quot; location=&quot;ServerAndClient&quot; /&amp;gt;&#xA;    &amp;lt;/outputCacheProfiles&amp;gt;&#xA;  &amp;lt;/outputCacheSettings&amp;gt;&#xA;&amp;lt;/caching&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="262" LastEditorUserId="262" LastEditDate="2019-06-20T19:44:39.937" LastActivityDate="2019-06-21T13:14:14.287" Title="OutputCache with a Sitecore controller" Tags="|caching|controller|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19493" PostTypeId="1" AcceptedAnswerId="19494" CreationDate="2019-06-19T17:52:06.123" Score="4" ViewCount="814" Body="&lt;p&gt;I'm considering disabling AccessResultCache on our CD environment based on these instructions - &lt;a href=&quot;https://sitecorebasics.wordpress.com/2013/01/24/do-you-really-need-accessresultcache-on-cd-servers-if-no-then-disable-it-for-better-performance/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorebasics.wordpress.com/2013/01/24/do-you-really-need-accessresultcache-on-cd-servers-if-no-then-disable-it-for-better-performance/&lt;/a&gt;. Has anyone done this, and are there any specifics to keep in mind?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried finding documentation details on AccessResultCache's purpose or function but have only been able to find what is detailed in the link which specifies it's only necessary if authoring in the CD environment.&lt;/p&gt;&#xA;" OwnerUserId="5674" LastEditorUserId="5674" LastEditDate="2019-06-20T23:00:54.573" LastActivityDate="2019-06-20T23:00:54.573" Title="Any Recommendations For Disabling AccessResultCache on CD?" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19494" PostTypeId="2" ParentId="19493" CreationDate="2019-06-19T19:10:53.880" Score="7" Body="&lt;p&gt;It's been a while since I dug into this, but if you're using Sitecore's security mechanisms to authenticate visitors to your public site (served by the CD environment), you'll want the AccessResultCache to improve the speed of that data access effort (querying .Net membership or however you may have extended it...). In this case, performance improvements can be observed by giving more capacity to that cache through a patch such as . . .&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;Caching.AccessResultCacheSize&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot; value=&quot;100MB&quot;&amp;gt;&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you have a site that doesn't use Sitecore security, so all published content is visible to anyone who browses the proper URL on the Sitecore CD servers, then you may not need this cache. You may also want to look at disabling the security checks on the whole &quot;web&quot; database in such an example, as in . . .&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;databases&amp;gt;&#xA;      &amp;lt;database id=&quot;web&quot;&amp;gt;&#xA;        &amp;lt;securityEnabled&amp;gt;false&amp;lt;/securityEnabled&amp;gt;&#xA;      &amp;lt;/database&amp;gt;&#xA;    &amp;lt;/databases&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You'll need to thoroughly test your implementation as people build &lt;em&gt;interesting&lt;/em&gt; features into their projects sometimes, so take care with what I've recommended above. My notes are based on my anecdotal experiences and no promises they have relevance to you :) Have I sufficiently caveated that?&lt;/p&gt;&#xA;" OwnerUserId="365" LastActivityDate="2019-06-19T19:10:53.880" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19495" PostTypeId="1" CreationDate="2019-06-20T01:02:52.347" Score="0" ViewCount="347" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; and I am trying to override the value of &lt;code&gt;Rainbow.SFS.SerializationFolderPathMaxLength&lt;/code&gt; in the &lt;code&gt;foundation.serialization.settings.config&lt;/code&gt;. But sitecore is taking the value from Rainbow.config which is location in the root of the include folder. I thought the order of the config files should be first all the root inlude folder and than all the subfolders in the alphabetic order. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;layers.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;layers&amp;gt;&#xA;  &amp;lt;layer name=&quot;Sitecore&quot; includeFolder=&quot;/App_Config/Sitecore/&quot;&amp;gt;&#xA;    &amp;lt;loadOrder&amp;gt;&#xA;      &amp;lt;add path=&quot;Reporting&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ContentSearch.Azure&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Xdb.Sql.Common&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;CMS.Core&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;AntiCSRFModule&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Contact.Enrichment.Services.Client&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ContentSearch&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Buckets&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;DeviceDetection.Client&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;DetectionServices.Location&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ItemWebApi&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Owin&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Owin.Authentication&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Owin.Authentication.IdentityServer&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Update&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;XConnect.Client.Configuration&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Xdb.MarketingAutomation.Operations&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Xdb.MarketingAutomation.Reporting&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Xdb.ReferenceData.Core&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Xdb.ReferenceData.Client&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Operations.xMgmt&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Segmentation.xMgmt&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Xdb.MarketingAutomation.Locators&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Xdb.ReferenceData.Service&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Xdb.ReferenceData.SqlServer&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Operations.Xdb.ReferenceData&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.xDB&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Tracking&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Tracking.Web.RobotDetection&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Assets&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Xdb.MarketingAutomation.Tracking&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Mvc&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Tracking.Web.MVC&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Services.Client&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ExperienceContentManagement.Administration&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Speak.Integration&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Messaging&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Processing.Tasks.Messaging.Xmgmt&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;SPEAK&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Speak.Applications&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;LaunchPad&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Experience Editor&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ContentTagging&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ListManagement&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Client&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ContentTesting&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ExperienceProfile&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;MVC.ExperienceEditor&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ExperienceExplorer&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;MVC.DeviceSimulator&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;SPEAK.Components&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ExperienceAnalytics&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ExperienceForms&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;ExperienceForms&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;FederatedExperienceManager&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;UpdateCenter&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;CampaignCreator&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Automation.Client&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Marketing.Automation.ActivityDescriptors.Client&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;EmailExperience&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;PathAnalyzer&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;    &amp;lt;/loadOrder&amp;gt;&#xA;  &amp;lt;/layer&amp;gt;&#xA;  &amp;lt;layer name=&quot;Modules&quot; includeFolder=&quot;/App_Config/Modules/&quot; /&amp;gt;&#xA;  &amp;lt;layer name=&quot;Custom&quot; includeFolder=&quot;/App_Config/Include/&quot;&amp;gt;&#xA;    &amp;lt;loadOrder&amp;gt;&#xA;      &amp;lt;add path=&quot;Foundation&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Feature&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Project&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;    &amp;lt;/loadOrder&amp;gt;&#xA;  &amp;lt;/layer&amp;gt;&#xA;  &amp;lt;layer name=&quot;Environment&quot; includeFolder=&quot;/App_Config/Environment/&quot; /&amp;gt;&#xA;&amp;lt;/layers&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Location of the rainbow.config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;App_Config\Include\Rainbow.config&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Location and content of foundation.seriazation.settings.config: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;App_Config\Include\Foundation\Foundation.Serialization.Settings.config&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!--  Rainbow - SERIALIZATION FOLDER PATH MAX LENGTH&#xA;          In Windows, there is 248 characters limit on the lenght of file system paths. To avoid exceeding the maximum path length, Rainbow will loop&#xA;                  long paths back to the root. This setting specifies the maximum length of the path to the serialization root path,&#xA;                  which determines how long item paths can be before they are looped.&#xA;          Important: The value of this setting must be the same on all Sitecore instances accessing the serialized data. &#xA;          Important: When changing this value, you must reserialize all configurations!&#xA;          Example: A value of &quot;90&quot; for this setting will mean that item paths longer than 150 characters will be shortened, since Sitecore &#xA;          reserves 8 characters (and 248 - 8 - 90 = 150). &#xA;          Default value: 90&#xA;        --&amp;gt;&#xA;      &amp;lt;setting name=&quot;Rainbow.SFS.SerializationFolderPathMaxLength&quot; set:value=&quot;150&quot; /&amp;gt;&#xA;      &amp;lt;setting name=&quot;Rainbow.SFS.MaxItemNameLengthBeforeTruncation&quot; set:value=&quot;50&quot; /&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore is still showing the value of 110 from the rainbow.config instead of value from Foundation.serialization.settings.config. &lt;/p&gt;&#xA;" OwnerUserId="3168" LastEditorUserId="73" LastEditDate="2019-06-20T09:43:23.010" LastActivityDate="2019-06-20T09:43:23.010" Title="Sitecore patch files not overriding the value in Rainbow.config" Tags="|configuration|rainbow|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19496" PostTypeId="1" CreationDate="2019-06-20T01:11:06.330" Score="-1" ViewCount="852" Body="&lt;p&gt;In &lt;code&gt;Sitecore JSS&lt;/code&gt;, how can we refer a media item in the front end?(image ,pdf file etc)&#xA;Can we use Layout Service? Any other way?&lt;/p&gt;&#xA;" OwnerUserId="5676" LastEditorUserId="5387" LastEditDate="2019-06-20T09:21:26.277" LastActivityDate="2019-07-20T10:00:50.107" Title="Sitecore JSS how to get media library item directly" Tags="|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19497" PostTypeId="1" CreationDate="2019-06-20T04:58:57.603" Score="1" ViewCount="851" Body="&lt;p&gt;I am installing &lt;code&gt;Sitecore Commerce 9.1&lt;/code&gt;. While installation I am getting below issue:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;**[------------------------------------------------------------------------------------------------------------------- &#xA;GetIdServerToken : GetIdServerToken &#xA;-------------------------------------------------------------------------------------------------------------------]&#xA;Get Token From Sitecore.IdentityServer&#xA;POST https://sc91.identityserver/connect/token with -1-byte payload&#xA;Install-SitecoreConfiguration : The remote server returned an error: (400) Bad Request.&#xA;At C:\Program &#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Install-SitecoreConfiguration.ps1:641 char:25&#xA;+                         &amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:05&#xA;Install-SitecoreConfiguration : The remote server returned an error: (400) Bad Request.&#xA;At C:\DND\Mindtree\Sitecore\SXC911\Sitecore.Commerce.2019.04-3.0.163\SIF.Sitecore.Commerce.2.0.19\Deploy-Sitecore-Comme&#xA;rce.ps1:89 char:2&#xA;+     Install-SitecoreConfiguration @params -Verbose *&gt;&amp;1 | Tee-Object  ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:32:25**&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please help me here dear friends. Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="6591" LastEditDate="2023-02-03T06:46:15.410" LastActivityDate="2023-06-07T21:53:52.923" Title="Sitecore Commerce 9.1 Installation - The remote server returned an error: (400) Bad Request. on GetIdServerToken" Tags="|sitecore-commerce|installation|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19498" PostTypeId="2" ParentId="19495" CreationDate="2019-06-20T04:59:33.693" Score="2" Body="&lt;p&gt;It was also same for me I added &#xA;&lt;code&gt;&amp;lt;layer name=&quot;Custom&quot; includeFolder=&quot;/App_Config/Include/&quot; /&amp;gt;&lt;/code&gt; entry just above &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;layer name=&quot;Custom&quot; includeFolder=&quot;/App_Config/Include/&quot;&amp;gt;&#xA;    &amp;lt;loadOrder&amp;gt;&#xA;      &amp;lt;add path=&quot;Foundation&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Feature&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;      &amp;lt;add path=&quot;Project&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;    &amp;lt;/loadOrder&amp;gt;&#xA;  &amp;lt;/layer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So the final output of layer.config will be as given below - &#xA;And it works for me.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;layer name=&quot;Custom&quot; includeFolder=&quot;/App_Config/Include/&quot; /&amp;gt;&#xA;&amp;lt;layer name=&quot;Custom&quot; includeFolder=&quot;/App_Config/Include/&quot;&amp;gt;&#xA;        &amp;lt;loadOrder&amp;gt;&#xA;          &amp;lt;add path=&quot;Foundation&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;          &amp;lt;add path=&quot;Feature&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;          &amp;lt;add path=&quot;Project&quot; type=&quot;Folder&quot; /&amp;gt;&#xA;        &amp;lt;/loadOrder&amp;gt;&#xA;      &amp;lt;/layer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="361" LastEditorUserId="361" LastEditDate="2019-06-20T05:33:19.643" LastActivityDate="2019-06-20T05:33:19.643" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19499" PostTypeId="2" ParentId="19312" CreationDate="2019-06-20T05:16:54.117" Score="1" Body="&lt;p&gt;I manage to fix the problem my contact Sitecore support. There was a problem with order of my custom register routes pipeline was running in the pipeline. I had to change all my custom route piplelines as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;From:&#xA;&amp;lt;processor patch:before=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeGlobalFilters, Sitecore.Mvc']&quot;            type=&quot;Sitecore.Feature.Integeration.Infrastructure.Pipelines.RegisterRoutes, Sitecore.Feature.BPointIntgration&quot; /&amp;gt;&#xA;&#xA;To:&#xA;&#xA;&amp;lt;processor patch:after=&quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&quot;            type=&quot;Sitecore.Feature.Integeration.Infrastructure.Pipelines.RegisterRoutes, Sitecore.Feature.BPointIntgration&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3168" LastActivityDate="2019-06-20T05:16:54.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19500" PostTypeId="2" ParentId="19496" CreationDate="2019-06-20T07:15:50.450" Score="0" Body="&lt;p&gt;There are multiple ways to accomplish this but purely based on your requirement. If you are looking for any image which is part of your web page, I would recommend you to upload the image in media library but refer the same in your page item using an Image field for ex. &lt;strong&gt;sampleField&lt;/strong&gt;. From layout service you could able to access this image field and render in JSS app, &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { Image } from '@sitecore-jss/sitecore-jss-react';&#xA;const TestImage = (props) =&amp;gt; (&#xA;  &amp;lt;Image media={props.fields.sampleField} /&amp;gt;&#xA;);&#xA;export default TestImage;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other ways are using &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/the-itemservice.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Item Service&lt;/a&gt; or &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/graphql/graphql-overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;GraphQL&lt;/a&gt; where you no need to worry about your Layout Service or Page Item. You can directly access any media folder/item using Item Service or GraphQL and render wherever you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you can consider customizing the Layout Service for your need, but it's up to you to pick a right approach for your need.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-06-20T07:15:50.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19501" PostTypeId="1" CreationDate="2019-06-20T08:07:33.150" Score="3" ViewCount="518" Body="&lt;p&gt;We received a hotfix from &lt;strong&gt;Sitecore Support&lt;/strong&gt;, but it was provided as a &lt;code&gt;.update package&lt;/code&gt; to be installed via &lt;code&gt;control panel&amp;gt;administration&amp;gt;install&lt;/code&gt; an update (same as Sitecore Updates system).&lt;/p&gt;&#xA;&lt;p&gt;As we do &lt;strong&gt;blue green deployments&lt;/strong&gt; on Azure, I &lt;strong&gt;can't&lt;/strong&gt; use this type of package in my &lt;code&gt;continuous process&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Is there any way to convert .update packages into a &lt;code&gt;traditional Sitecore Package&lt;/code&gt; (for package installer) or SCWDP package?&lt;/p&gt;&#xA;" OwnerUserId="3675" LastEditorUserId="5774" LastEditDate="2021-06-30T13:04:48.400" LastActivityDate="2021-06-30T13:04:48.400" Title="How to convert .update package into Sitecore Package or SCWDP package?" Tags="|packages|update-packages|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19502" PostTypeId="2" ParentId="19501" CreationDate="2019-06-20T09:02:02.863" Score="1" Body="&lt;p&gt;The .update package is just a compressed file. You can rename the file by replacing .update with .zip to view and extract any files that would be installed during the installation process&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For items, your best bet is to install the .update package on a local instance of Sitecore and create a new Sitecore package using the Package Designer. &lt;/p&gt;&#xA;" OwnerUserId="4633" LastActivityDate="2019-06-20T09:02:02.863" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19503" PostTypeId="1" AcceptedAnswerId="19508" CreationDate="2019-06-20T10:00:53.983" Score="1" ViewCount="64" Body="&lt;p&gt;I want to migrate Sitecore 8.1 and 8.2 Initial version to 9.0 Initial version.&#xA;Can I use Express Migration Tool for this upgrade? If yes then which version?&lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="69" LastEditDate="2019-06-20T11:35:01.680" LastActivityDate="2019-06-20T11:39:03.910" Title="Sitecore Express Migration tool compatibility for 8.1 and 8.2" Tags="|express-migration-tool|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19504" PostTypeId="2" ParentId="19142" CreationDate="2019-06-20T10:21:46.760" Score="2" Body="&lt;p&gt;Wrote a custom rule referring to default null mapping rule, and applied on specific value mapping. This solved my objective&lt;/p&gt;&#xA;" OwnerUserId="3900" LastActivityDate="2019-06-20T10:21:46.760" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19506" PostTypeId="2" ParentId="19449" CreationDate="2019-06-20T11:31:35.757" Score="1" Body="&lt;p&gt;There is no Sitecore out-of-box feature to achieve your requirement. You have to customize Sitecore module(s) but personally I don't recommend that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rather you can implement something like below, In each workflow state set the next state as empty and create an action, in action class code check whether the current user is the owner/last updated the item if yes then move the item to next state; if not display an error/alert.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hc7xp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hc7xp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/s4UG8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/s4UG8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Test&#xA;{&#xA;&#xA;    public class CheckUser&#xA;    {&#xA;&#xA;        public void Process(WorkflowPipelineArgs workflowActionArgument)&#xA;        {&#xA;            if(Sitecore.Context.User.Name.Equals(&quot;item owner&quot;))&#xA;            {&#xA;                // Update the State to next state&#xA;            }&#xA;            else&#xA;            {&#xA;                // show an alert box&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you don't like the above option and wanted to update the Workbox then, go to folder ..\website\sitecore\shell\Applications\Workbox, Initially Default.aspx page loads when you click the Workbox, where it handles the logic to display the items to be displayed in Workbox when you check/uncheck any Workflow. You have to overwrite/implement a similar class like &lt;code&gt;Sitecore.Shell.Applications.Workbox.WorkboxForm&lt;/code&gt; and write your own logic to display the items from any specific workflow state. [in your case may be you can check the Created By/Updated By with the current user and ensure the item shown for that specific user].&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; - If you extent/customize workbox code then you also need to think about the review tab where user can execute the workflow steps. So same customization needs to be done here, so better avoid customizing the Workbox or Sitecore security. Rather Customize the Workflow based on your need.&lt;/p&gt;&#xA;" OwnerUserId="4539" LastActivityDate="2019-06-20T11:31:35.757" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19508" PostTypeId="2" ParentId="19503" CreationDate="2019-06-20T11:39:03.910" Score="2" Body="&lt;p&gt;On newer versions like 8.1 and 8.2 you do not need the migration tool. The upgrade package can take you directly there in one step. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a change from earlier versions of Sitecore where you would have to do step by step for each version using update packages. &lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-06-20T11:39:03.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19509" PostTypeId="1" CreationDate="2019-06-20T12:10:49.867" Score="0" ViewCount="341" Body="&lt;p&gt;I'm facing an issue relates to Asset Optimization in SXA. I use &lt;strong&gt;Concatenate And Minify&lt;/strong&gt; option to optimize CSS from CSS files. However, the optimized-min.css is not loaded correctly, it still loads the old CSS even though I uploaded the latest ones, published and cleared all caches.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found that when I switch to &lt;strong&gt;Concatenate&lt;/strong&gt; option, the CSS works properly. But it is not my expectation because we would like to minify CSS to speed up the performance of the website. Could anyone please help me on this? Are there any issues relates to Optimization mechanism in SXA? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, I'm using SXA version 1.6 and have 3 instances: 1 CM and 2 CDs.&lt;/p&gt;&#xA;" OwnerUserId="3304" LastEditorUserId="3304" LastEditDate="2019-06-24T10:55:11.403" LastActivityDate="2019-06-24T10:55:11.403" Title="When using the Concatenate And Minify option, the optimized-min.css is not loaded correctly" Tags="|sxa|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19510" PostTypeId="1" AcceptedAnswerId="19513" CreationDate="2019-06-20T15:10:30.733" Score="-1" ViewCount="193" Body="&lt;p&gt;Hi please see the picture below, so that I can tell you the requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kyJwh.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kyJwh.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I have a requirement as, if I see &lt;strong&gt;page-1&lt;/strong&gt; there is content on this page which is coming from following renderings:&#xA;Header, Footer, Left content 1, Left Content 2 and Right Content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I see &lt;strong&gt;page-2&lt;/strong&gt;, there is content coming from the following renderings:&#xA;Header, Footer, Left Content, Right Content 1  and Right Content 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Client in page 1 the renderings &quot;Left Content 1&quot; and &quot;Left Content 2&quot; has important data which he wants through API so that he can use this data to another external website/system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Similarly for page-2 &quot;Right Content 1&quot; and &quot;Right Content 2&quot; has important data for him.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;He doesn't want the HTML for these renderings. He wants actual data used through Sitecore fields, whether single line text or rich text or any other field type. Now, what approach should I follow to provide him the data of the renderings? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In future different pages may have different renderings and their data source items may have different fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I thought is: &#xA;&lt;strong&gt;Approach One&lt;/strong&gt;: Get page item for which client wants the data and identify the renderings (I can use a placeholder to identify which rendering is responsible for showing the data in this section of the page) which are responsible for data show. Get data source item from the rendering and get all the fields except standard fields then serialize the data and send back in response. (But this approach may get performance testing failed)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Approach Two&lt;/strong&gt;: Identify all the possible rendering for all the pages, Get rendering's data source item and index fields(I will provide the restriction like only these fields will be indexed) for those rendering data source I will create index by rendering name so that I can get that index with rendering name (in Azure, I am using Azure for indexing). Now when the client asks me the page data, I will get that page item and check the responsible renderings and get the index with the rendering name and fetch the data for their data source items and return the serialized data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any other approach which is optimized will be much appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The client just knows the page name so he will provide us the page name and he should get the data for the page.&lt;/p&gt;&#xA;" OwnerUserId="2983" LastActivityDate="2019-07-20T18:02:35.333" Title="How to give few rendering's data in custom API response" Tags="|presentation|indexing|custom-field|item-web-api|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19513" PostTypeId="2" ParentId="19510" CreationDate="2019-06-20T17:52:57.600" Score="1" Body="&lt;p&gt;You can create components and use the experience editor to add them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My approach would be as follows&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;First Component (Right side)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a component named ContentSpot. This component has a datasource pointing to an item that has the data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For performance, you can cache the rendering and use the vary by data. Moreover, you can use indexing to pull data from the index. Then, you would not need to have a datasource on the item. So, at rendering time, it will call the index provider and push the result to the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Second Component (Left side)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a component named DynamicContentSpot. This component is responsible to display data based on the result from the API. If I am not mistaken, the component would be of type Controller Rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make it more generic, this component can have some properties to let you know which API is configured. In other words, the same component can be used to retrieve data from different endpoint. Note that you can also not provide the API directly on the component but just an attribute which can be used to know which API to call.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Experience Editor&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the experience editor, you can add those components on the page based on your layout placeholders. Using the rendering properties, you can add custom attributes which you can retrieve when rendering the markup on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note, for caching, you would use vary by data on the renderings (components)&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-06-20T17:52:57.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19514" PostTypeId="1" CreationDate="2019-06-20T18:26:51.833" Score="1" ViewCount="148" Body="&lt;p&gt;I am currently using &lt;code&gt;Sitecore version 9.0.2&lt;/code&gt; and &lt;code&gt;SXA version 1.8.1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Requirement : -&lt;/strong&gt; &#xA;In checklist filter, I want to show all the facets irrespective of the results.&#xA;If for a facet the result is not there it should still show with count 0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to achieve all this in my local environment, but when I deploy the same thing on the server it doesn't work. If a facet has 0 results it doesn't show up in the filter.&#xA;Have posted the question before also &lt;a href=&quot;https://sitecore.stackexchange.com/questions/19083/how-to-show-the-facets-with-0-count-in-sxa-checklist-filter-component&quot;&gt;HERE&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only difference in my local and server environment is the search index used&#xA;Local I am using Solr and on a server it's azure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is it like azure doesnt return facets if the count is 0 ?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;On Local environment with solr search&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/uhCQz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uhCQz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;On server with azure search&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pxi2t.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pxi2t.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5530" LastEditorUserId="5387" LastEditDate="2019-06-21T05:40:56.020" LastActivityDate="2019-06-21T05:40:56.020" Title="SXA checklist filter doesnt return facets with count 0 when used with azure search" Tags="|sxa|azure-search|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19515" PostTypeId="1" CreationDate="2019-06-21T03:36:59.297" Score="2" ViewCount="375" Body="&lt;p&gt;I've added a subdomain (not the sitecore site) in &lt;code&gt;FXM&lt;/code&gt; and Sitecore was able to find its beacon in the tracking script section with this message &lt;code&gt;JavaScript beacon found on the external website&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, I attached a Sitecore goal to a link on the homepage of the subdomain via FXM's experience editor and published it accordingly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To test if the goal triggered as expected, I clicked on the link twice but nothing was captured in Experience Analytics when I looked at it the next day. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, I found some suggestions online that I need to add the following to the configuration section of the external website item in FXM to make it work:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) &lt;strong&gt;Matching rule&lt;/strong&gt; - &lt;code&gt;where request domain is &amp;lt;external website&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) &lt;strong&gt;Language Rules&lt;/strong&gt; - &lt;code&gt;Set the language of the visit to the default Sitecore language&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I am still getting the same result, nothing shows in Experience Analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What did I miss? BTW, I'm using Sitecore 9.0.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Roman&lt;/p&gt;&#xA;" OwnerUserId="3851" LastEditorUserId="5387" LastEditDate="2019-06-21T10:23:00.313" LastActivityDate="2020-07-15T12:07:45.843" Title="External website &amp; goal setup in FXM doesn't show in Experience Analytics" Tags="|experience-analytics|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19517" PostTypeId="2" ParentId="19515" CreationDate="2019-06-21T04:56:03.153" Score="1" Body="&lt;p&gt;You need to set up rules for tracking. I faced the same issue then I write match rule to allow the external website request. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Set up rules for tracking:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Marketing Control Panel, you can set up the &lt;code&gt;Federated Experience Manager&lt;/code&gt; to track only certain types of visits to your website, for example, visits from specific domains or visits referred from a specific website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;To set up rules for tracking the visits to an external website:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;On the Sitecore Launchpad, open the Marketing Control Panel and in&#xA;the content tree, navigate to Federated Experience Manager.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click the external website that you want to apply a new rule to.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Under the Configuration section, in the Matching Rules section, click the link Edit &#xA;rule, and in the Rule Set Editor&#xA;dialog, add the relevant rules and actions.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ORz5I.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ORz5I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-06-21T08:36:09.310" LastActivityDate="2019-06-21T08:36:09.310" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19518" PostTypeId="1" AcceptedAnswerId="19773" CreationDate="2019-06-21T06:16:08.743" Score="0" ViewCount="142" Body="&lt;p&gt;I am getting error while installting SXC &lt;code&gt;9.1.1&lt;/code&gt;. It is throwing error at &lt;code&gt;GenerateCatalogTemplates&lt;/code&gt; script&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Generating Catalog Templates ...&#xA;GET &lt;a href=&quot;http://sxa.storefront.com/SiteUtilityPages/GenerateCatalogTemplates.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sxa.storefront.com/SiteUtilityPages/GenerateCatalogTemplates.aspx&lt;/a&gt; with 0-byte payload&#xA;Install-SitecoreConfiguration :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   Object reference not set to an instance of an object.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Stack Trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;  Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.GetSitecoreIdFromMappings(String entityId) +113&#xA;  Sitecore.Commerce.Engine.Connect.DataProvider.Templates.CatalogTemplateGenerator.BuildCatalogTemplates(Database database) +593&#xA;  ASP.siteutilitypages_generatecatalogtemplates_aspx.Page_Load(Object sender, EventArgs e) +245&#xA;  System.Web.UI.Control.OnLoad(EventArgs e) +98&#xA;  System.Web.UI.Control.LoadRecursive() +153&#xA;  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4081&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="277" LastEditDate="2019-06-21T06:16:53.760" LastActivityDate="2019-07-06T12:37:33.903" Title="SXC 9.1.1 Installation Error - GenerateCatalogTemplates" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19519" PostTypeId="2" ParentId="19518" CreationDate="2019-06-21T06:55:38.040" Score="2" Body="&lt;p&gt;This error comes up if the certificate thumbprint is incorrect. check &lt;code&gt;Sitecore.commerce.Engine.connect.config&lt;/code&gt; and &lt;code&gt;config.json(ex. C:\inetpub\wwwroot\CommerceAuthoring_Sc910\wwwroot\config.json)&lt;/code&gt; file in all 4 engines&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also check if the application pool user has permission for &lt;code&gt;SQL (commerce db)&lt;/code&gt; access&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-06-21T06:55:38.040" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19520" PostTypeId="1" AcceptedAnswerId="19521" CreationDate="2019-06-21T07:22:40.603" Score="1" ViewCount="670" Body="&lt;p&gt;I created a item in sitecore and added sitecore 9 forms rendering to that item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created custom form submit action and saved data to custom database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my custom save i have used&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;customData.Product_Interest__c= Sitecore.Context.Item?.DisplayName;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;for getting context item . But I always receiving null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thing missed ?&lt;/p&gt;&#xA;" OwnerUserId="4765" LastActivityDate="2019-06-21T07:32:09.280" Title="Sitecore.context.item is null in sitecore 9 custom form submit action?" Tags="|sitecore-api|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19521" PostTypeId="2" ParentId="19520" CreationDate="2019-06-21T07:32:09.280" Score="3" Body="&lt;p&gt;Fixed by unchecking the Is Ajax checkbox in Forms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QSEzU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QSEzU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4765" LastActivityDate="2019-06-21T07:32:09.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19522" PostTypeId="1" CreationDate="2019-06-21T07:36:22.400" Score="0" ViewCount="511" Body="&lt;p&gt;I am trying to add a new customer record in my Sitecore Commerce through code but I can't find any docs related to it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried using the OData way, but I am getting an error below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how to do this? Thanks in advance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My Code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;container.AddToCustomers(new Customer()&#xA;                {&#xA;                    FirstName = firstName,&#xA;                    LastName = lastName,&#xA;                    UserName = username,&#xA;                    Email = email,&#xA;                    Password = password&#xA;                });&#xA;&#xA;container.SaveChanges();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error in Commerce Engine Logs:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;00249 12:19:28 ERROR ClientCertificateValidationMiddleware: Message = No action match template 'Customers' in 'CustomersController'&#xA;System.NotSupportedException: No action match template 'Customers' in 'CustomersController'&#xA;   at Microsoft.AspNetCore.OData.Routing.Conventions.DefaultODataRoutingConvention.SelectAction(RouteContext routeContext)&#xA;   at Microsoft.AspNetCore.OData.Routing.ODataActionSelector.SelectCandidates(RouteContext context)&#xA;   at Microsoft.AspNetCore.Mvc.Internal.MvcRouteHandler.RouteAsync(RouteContext context)&#xA;   at Microsoft.AspNetCore.OData.Routing.ODataRoute.&amp;lt;RouteAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Microsoft.AspNetCore.Builder.RouterMiddleware.&amp;lt;Invoke&amp;gt;d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.&amp;lt;Invoke&amp;gt;d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.&amp;lt;Invoke&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Commerce.Core.ClientCertificateValidationMiddleware.&amp;lt;Invoke&amp;gt;d__4.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Update 1&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I took a look at the Postman AddCustomer action and tried recreating it in dotnet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;var data = new Dictionary&amp;lt;string, string&amp;gt;()&#xA;{&#xA;    { &quot;FirstName&quot;, firstName },&#xA;    { &quot;LastName&quot;, lastName },&#xA;    { &quot;LoginName&quot;, username },&#xA;    { &quot;Domain&quot;, &quot;Storefront&quot; },&#xA;    { &quot;Email&quot;, email },&#xA;    { &quot;AccountStatus&quot;, &quot;ActiveAccount&quot; },&#xA;    { &quot;PhoneNumber&quot;, &quot;&quot; },&#xA;    { &quot;Language&quot;, &quot;en&quot; },&#xA;};&#xA;&#xA;var entityView = Proxy.GetEntityView(container, string.Empty, &quot;Details&quot;, &quot;AddCustomer&quot;, string.Empty);&#xA;foreach (var field in data)&#xA;{&#xA;    entityView.Properties.First(x =&amp;gt; x.Name.Equals(field.Key,StringComparison.OrdinalIgnoreCase)).Value = field.Value;&#xA;}&#xA;&#xA;var doUxActionCommand = container.DoUxAction(entityView);&#xA;&#xA;var response = Proxy.DoCommand(doUxActionCommand);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The strange thing is that it is throwing errors saying that the &quot;Action&quot; is null, when I have already set it in my entityView. Anyone has an idea on this?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;          &quot;Id&quot;: &quot;b97ed6f2a3394f69896b1572a7397075&quot;,&#xA;          &quot;ResponseCode&quot;: &quot;Error&quot;,&#xA;          &quot;Messages&quot;: [&#xA;            {&#xA;              &quot;MessageDate&quot;: &quot;2019-06-21T09:47:55.757604Z&quot;,&#xA;              &quot;Code&quot;: &quot;Error&quot;,&#xA;              &quot;Text&quot;: &quot;Action for entity view '' cannot be null or empty.&quot;,&#xA;              &quot;CommerceTermKey&quot;: &quot;InvalidEntityViewAction&quot;&#xA;            }&#xA;          ],&#xA;          &quot;Models&quot;: [&#xA;            {&#xA;              &quot;EntityId&quot;: &quot;&quot;,&#xA;              &quot;EntityVersion&quot;: 1,&#xA;              &quot;Name&quot;: &quot;&quot;,&#xA;              &quot;Policies&quot;: []&#xA;            }&#xA;          ],&#xA;          &quot;ActionUrl&quot;: &quot;&quot;,&#xA;          &quot;TaskId&quot;: 0,&#xA;          &quot;Status&quot;: &quot;&quot;,&#xA;          &quot;IsFaulted&quot;: false,&#xA;          &quot;IsCompleted&quot;: true,&#xA;          &quot;IsCanceled&quot;: false,&#xA;          &quot;StartTime&quot;: &quot;2019-06-21T09:47:55.7566054Z&quot;,&#xA;          &quot;ExecutionTimeMilliseconds&quot;: 1&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="5110" LastEditDate="2019-06-21T10:05:53.560" LastActivityDate="2019-06-24T10:10:59.657" Title="Creating customers in Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19523" PostTypeId="2" ParentId="19522" CreationDate="2019-06-21T08:00:55.437" Score="0" Body="&lt;p&gt;Sitecore has &lt;code&gt;Sitecore.Commerce.Engine.Connect.Pipelines.Customers.CreateUser&lt;/code&gt; pipeline for Sitecore Commerce user creation:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CreateUser : PipelineProcessor&#xA;  {&#xA;    public CreateUser(IEntityFactory entityFactory)&#xA;    {&#xA;      this.EntityFactory = entityFactory;&#xA;    }&#xA;&#xA;    public IEntityFactory EntityFactory { get; private set; }&#xA;&#xA;    public override void Process(ServicePipelineArgs args)&#xA;    {&#xA;      CreateUserRequest request;&#xA;      CreateUserResult result;&#xA;      PipelineUtility.ValidateArguments&amp;lt;CreateUserRequest, CreateUserResult&amp;gt;(args, out request, out result);&#xA;      Assert.IsNotNull((object) request.UserName, &quot;request.UserName&quot;);&#xA;      Assert.IsNotNull((object) request.Password, &quot;request.Password&quot;);&#xA;      Container container = this.GetContainer(request.Shop.Name, string.Empty, &quot;&quot;, &quot;&quot;, args.Request.CurrencyCode, new DateTime?());&#xA;      CommerceUser commerceUser1 = result.CommerceUser;&#xA;      if (commerceUser1 != null &amp;amp;&amp;amp; commerceUser1.UserName.Equals(request.UserName, StringComparison.OrdinalIgnoreCase))&#xA;      {&#xA;        string entityId = &quot;Entity-Customer-&quot; + request.UserName;&#xA;        ServiceProviderResult currentResult = new ServiceProviderResult();&#xA;        EntityView entityView = this.GetEntityView(container, entityId, string.Empty, &quot;Details&quot;, string.Empty, currentResult);&#xA;        if (currentResult.Success &amp;amp;&amp;amp; !string.IsNullOrEmpty(entityView.EntityId))&#xA;        {&#xA;          base.Process(args);&#xA;          return;&#xA;        }&#xA;      }&#xA;      EntityView entityView1 = this.GetEntityView(container, string.Empty, string.Empty, &quot;Details&quot;, &quot;AddCustomer&quot;, (ServiceProviderResult) result);&#xA;      if (!result.Success)&#xA;        return;&#xA;      entityView1.Properties.FirstOrDefault&amp;lt;ViewProperty&amp;gt;((Func&amp;lt;ViewProperty, bool&amp;gt;) (p =&amp;gt; p.Name.Equals(&quot;Domain&quot;, StringComparison.OrdinalIgnoreCase))).Value = request.UserName.Split('\\')[0];&#xA;      entityView1.Properties.FirstOrDefault&amp;lt;ViewProperty&amp;gt;((Func&amp;lt;ViewProperty, bool&amp;gt;) (p =&amp;gt; p.Name.Equals(&quot;LoginName&quot;, StringComparison.OrdinalIgnoreCase))).Value = request.UserName.Split('\\')[1];&#xA;      entityView1.Properties.FirstOrDefault&amp;lt;ViewProperty&amp;gt;((Func&amp;lt;ViewProperty, bool&amp;gt;) (p =&amp;gt; p.Name.Equals(&quot;AccountStatus&quot;, StringComparison.OrdinalIgnoreCase))).Value = &quot;ActiveAccount&quot;;&#xA;      if (!string.IsNullOrEmpty(request.Email))&#xA;        entityView1.Properties.FirstOrDefault&amp;lt;ViewProperty&amp;gt;((Func&amp;lt;ViewProperty, bool&amp;gt;) (p =&amp;gt; p.Name.Equals(&quot;Email&quot;, StringComparison.OrdinalIgnoreCase))).Value = request.Email;&#xA;      CommerceCommand commerceCommand = this.DoAction(container, entityView1, (ServiceProviderResult) result);&#xA;      if (commerceCommand != null &amp;amp;&amp;amp; commerceCommand.ResponseCode.Equals(&quot;ok&quot;, StringComparison.OrdinalIgnoreCase))&#xA;      {&#xA;        CommerceUser commerceUser2 = this.EntityFactory.Create&amp;lt;CommerceUser&amp;gt;(&quot;CommerceUser&quot;);&#xA;        commerceUser2.Email = request.Email;&#xA;        commerceUser2.UserName = request.UserName;&#xA;        commerceUser2.ExternalId = commerceCommand.Models.OfType&amp;lt;CustomerAdded&amp;gt;().FirstOrDefault&amp;lt;CustomerAdded&amp;gt;().CustomerId;&#xA;        result.CommerceUser = commerceUser2;&#xA;        request.Properties.Add(new PropertyItem()&#xA;        {&#xA;          Key = &quot;UserId&quot;,&#xA;          Value = (object) result.CommerceUser.ExternalId&#xA;        });&#xA;      }&#xA;      base.Process(args);&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-06-21T08:00:55.437" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19524" PostTypeId="2" ParentId="10514" CreationDate="2019-06-21T09:12:56.840" Score="0" Body="&lt;p&gt;In my case, it was an issue with my system templates. Due to some unknown mess-up, none of the /system templates (including the Forms template) had an English version. This threw exceptions when building a query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; at Sitecore.ContentSearch.Utilities.LanguageFallbackDataService.EnsureFallbackVersion(Item rootItem)&#xA;   at Sitecore.ContentSearch.Utilities.LanguageFallbackDataService.GetDescendantsByTemplateWithFallback(Item rootItem, TemplateID templateId)&#xA;   at Sitecore.ContentSearch.Utilities.LanguageFallbackDataService.GetDescendantsByTemplateWithFallback(Item rootItem, String templateId)&#xA;   at Sitecore.ContentSearch.Utilities.QueryBuilder.CreateQuery[T](IProviderSearchContext context, IEnumerable`1 searchStringModel, Item startLocationItem, IEnumerable`1 additionalContexts)&#xA;   at Sitecore.ContentSearch.Utilities.QueryBuilder.CreateQuery[T](IProviderSearchContext context, IEnumerable`1 searchStringModel)&#xA;   at Sitecore.ItemWebApi.Pipelines.Search.ParseSearchText.Parse(IProviderSearchContext providerSearchContext, String searchText)&#xA;   at Sitecore.ItemWebApi.Pipelines.Search.ParseSearchText.Process(SearchArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.ItemWebApi.Pipelines.Request.Search.RunSearchPipeline(RequestArgs args, String searchText, String languageName, Boolean showHiddenItems)&#xA;   at Sitecore.ItemWebApi.Pipelines.Request.Search.Process(RequestArgs args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Other than this, I've also noticed that I don't see any forms when I've previously set the database to 'core' in the content editor.&lt;/p&gt;&#xA;" OwnerUserId="5679" LastActivityDate="2019-06-21T09:12:56.840" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19525" PostTypeId="1" CreationDate="2019-06-21T09:15:06.503" Score="1" ViewCount="1038" Body="&lt;p&gt;I'm trying to install and update package through powershell, below is the script. session is successfully created, but when invoking a remote script, I'm getting an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Script:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$file = &quot;C:\inetpub\wwwroot\Test\Data\SitecorePackageDeployer\SampleTDSProject.update&quot;&#xA;$session = New-ScriptSession -Username prem -Password **** -ConnectionUri http://test&#xA;$scriptBlock = [scriptblock]::Create(&quot;Start-ScriptSession -ScriptBlock {Install-UpdatePackage -Path $file -UpgradeAction Upgrade -InstallMode Update ; Start-Sleep -Seconds 10; [PSCustomObject]@{'IsComplete'=$true}}&quot;)&#xA;$job = Invoke-RemoteScript -Session $session -ScriptBlock $scriptBlock&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception calling &quot;Invoke&quot; with &quot;1&quot; argument(s): &quot;Element 'Objs' with namespace name 'http://schemas.microsoft.com/powershell/2004/04' was not found. Line 3, position 2.&quot;&#xA;At C:\Program Files\WindowsPowerShell\Modules\SPE\5.1.0\ConvertFrom-CliXml.ps1:22 char:9&#xA;+         $deserializer = $ctor.Invoke($xr)&#xA;+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException&#xA;    + FullyQualifiedErrorId : XmlException&#xA;&#xA;Exception calling &quot;InvokeMember&quot; with &quot;5&quot; argument(s): &quot;Non-static method requires a target.&quot;&#xA;At C:\Program Files\WindowsPowerShell\Modules\SPE\5.1.0\ConvertFrom-CliXml.ps1:24 char:16&#xA;+ ...      while (!$type.InvokeMember(&quot;Done&quot;, &quot;InvokeMethod,NonPublic,Insta ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException&#xA;    + FullyQualifiedErrorId : TargetException&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xfXE3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xfXE3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5683" LastEditorUserId="73" LastEditDate="2019-07-17T09:21:08.843" LastActivityDate="2020-10-24T17:58:03.547" Title="Exception calling &quot;Invoke&quot; with &quot;1&quot; argument(s):&quot;Element 'Objs' with namespace name 'http://schemas.microsoft.com/powershell/2004/04' was not found" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19527" PostTypeId="1" AcceptedAnswerId="19530" CreationDate="2019-06-21T11:27:55.463" Score="2" ViewCount="169" Body="&lt;p&gt;I am using Sitecore 9.0.2 with SXA 1.8.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I extended the Required Field validator with the &lt;code&gt;Result=CriticalError&lt;/code&gt; parameter, so the authors can see an alert each time they edit a page in Experience editor with components that did not pass the field validation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to hide components with field validation issues in the preview mode and on CD, is there an easy way to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some of my components are OOTB SXA components and some of them are partially/fully custom so there needs to be a way to make the solution work for all of them. &lt;/p&gt;&#xA;" OwnerUserId="1979" LastEditorUserId="73" LastEditDate="2019-07-05T10:34:32.773" LastActivityDate="2019-07-05T10:34:32.773" Title="Hide components in preview mode when there are field validation errors" Tags="|sxa|validation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19528" PostTypeId="2" ParentId="19492" CreationDate="2019-06-21T13:14:14.287" Score="2" Body="&lt;p&gt;This is most likely down to the &lt;strong&gt;DisableBrowserCaching&lt;/strong&gt; setting in Sitecore.&lt;/p&gt;&#xA;&lt;p&gt;When set to true this setting issues no-cache headers which leaves Sitecore to optionally handle the caching of the page via &lt;a href=&quot;https://doc.sitecore.com/SdnArchive/upload/sitecore6/66/cache_configuration_reference_sc66-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;several layers of caching&lt;/a&gt;. This is obviously useful when you want to harness the power of data sources and don't want the browser to cache pages with personalised content.&lt;/p&gt;&#xA;&lt;p&gt;When set to false, the no-cache headers are not sent and the browser is free to cache. This is more suited to sites with purely static content but you miss out on some of the benefits of Sitecore's features.&lt;/p&gt;&#xA;&lt;p&gt;From the &lt;a href=&quot;https://doc.sitecore.com/sdnarchive/upload/sitecore6/sc62keywords/cache_configuration_reference_a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The DisableBrowserCaching setting in the web.config file controls&#xA;whether Sitecore instructs clients to cache entire pages. When&#xA;DisableBrowserCaching is true, Sitecore sets the following HTTP&#xA;headers for each requested item (excluding media items):&lt;/p&gt;&#xA;&lt;p&gt;Cache-Control: no-cache, no-store Pragma: no-cache&lt;/p&gt;&#xA;&lt;p&gt;These HTTP headers instruct Web clients, including edge-caching devices, not to cache the&#xA;page. Web clients can cache CSS, media, and other resources used by&#xA;the page.&lt;/p&gt;&#xA;&lt;p&gt;Note: If DisableBrowserCaching is true, Sitecore does not&#xA;apply ASP.NET OutputCache directives in layouts.3 To instruct Web&#xA;clients to cache entire pages, set DisableBrowserCaching to false, and&#xA;use the ASP.NET OutputCache directive in layouts and sublayouts, or&#xA;manipulate HTTP headers using the appropriate ASP.NET Application&#xA;Programming Interfaces (APIs).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="5012" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-06-21T13:14:14.287" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19529" PostTypeId="1" AcceptedAnswerId="19556" CreationDate="2019-06-21T14:05:32.133" Score="0" ViewCount="157" Body="&lt;p&gt;I installed a Vanilla instance of Sitecore 9.0.2 on Azure using xP1 topology. &#xA;All was working as expected, xProfile and xAnalytics pages loading without exceptions. Then I created a publish profile in my solution for that new instance and brought all connection strings to my xml transformation files, to not override the certificate thumbprints. After deploying my VS solution, I opened up the xAnalytics page successfully. Then I imported core, master and web from another instance. I had to create 3 new logins on master db: coreuser, masteruser and webuser. And also created one new user on each database: coreuser in core db, etc. After changing connection strings on CM, CD, Reporting and Processing roles, xAnalytics stopped working. &#xA;A message shows up:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The certificate was not found.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&quot;message&quot;:&quot;An error has occurred.&quot;,&quot;exceptionMessage&quot;:&quot;The certificate&#xA;  was not&#xA;  found.&quot;,&quot;exceptionType&quot;:&quot;System.InvalidOperationException&quot;,&quot;stackTrace&quot;:&quot;&#xA;  at&#xA;  Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func&lt;code&gt;1&#xA;  taskFactory)\r\n   at&#xA;  Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.Get(IEnumerable&lt;/code&gt;1&#xA;  keys, NameValueCollection readingPreferences)\r\n   at&#xA;  Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.Get(IEnumerable`1&#xA;  keys, NameValueCollection readingPreferences)\r\n   at&#xA;  Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetReportSegments()\r\n&#xA;  at&#xA;  Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetRequestType()\r\n&#xA;  at&#xA;  Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.GetModelFromBindingContext(HttpActionContext&#xA;  actionContext, ModelBindingContext bindingContext)\r\n   at&#xA;  Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.BindModel(HttpActionContext&#xA;  actionContext, ModelBindingContext bindingContext)\r\n   at&#xA;  System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider&#xA;  metadataProvider, HttpActionContext actionContext, CancellationToken&#xA;  cancellationToken)\r\n   at&#xA;  System.Web.Http.Controllers.HttpActionBinding.d__0.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if the certificate is bound somewhere in database level?&#xA;Something else I am missing?&#xA;I have already double-checked the thumprints in appsettings.config file on xConnect roles and on connectionstrings and on SSL certificates on Azure app services. Looks like something else is causing the issue. &#xA;Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="4279" LastEditorUserId="432" LastEditDate="2019-06-21T15:54:59.090" LastActivityDate="2019-06-26T16:31:57.083" Title="xConnect on Azure XP1" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19530" PostTypeId="2" ParentId="19527" CreationDate="2019-06-21T14:18:22.257" Score="1" Body="&lt;p&gt;You could do this by overriding the &lt;code&gt;ExecuteRendering&lt;/code&gt; processor in the &lt;code&gt;renderRendering&lt;/code&gt; pipeline, and running the validation in there. If the &lt;code&gt;PageMode.IsPreview&lt;/code&gt; is true, then run the validator and if the validator succeeds, then you can run run execute the rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following should give you a good start, but is not tested:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ExecuteRendererWithValidation : Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecureRenderer&#xA;{&#xA;    public override void Process(RenderRenderingArgs args)&#xA;    {&#xA;        if (Sitecore.Context.PageMode.IsPreview) &#xA;        {&#xA;            // If we are in preview mode and the item validates&#xA;            // then render the component. Otherwise, hide it from the &#xA;            // editor&#xA;            if (ValidateItem(args.PageContext.Item)){&#xA;                base.Process(args);&#xA;            }&#xA;        }&#xA;        else &#xA;        {&#xA;            base.Process(args);&#xA;        }&#xA;    }&#xA;&#xA;    private bool ValidateItem(Item item) {&#xA;&#xA;        var validator = ValidatorManager.BuildValidator(item, Sitecore.Context.Item);&#xA;        validator.Validate(new ValidatorOptions(false));&#xA;&#xA;        return validator.IsValid;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You would then need to patch this processor in, instead of the default processor:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;mvc.renderRendering&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer, Sitecore.Mvc&quot;&amp;gt;&#xA;                    &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;MyNamespace.ExecuteRendererWithValidation, MyAssembly&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/mvc.renderRendering&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should then hide the rendering in preview mode if the datasource item does not validate.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-21T14:18:22.257" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19531" PostTypeId="1" CreationDate="2019-06-21T17:51:14.247" Score="1" ViewCount="274" Body="&lt;p&gt;We have created a sitecore 9 form, installed sitecore form extensions and on submit action we selected 3 send mail actions and 1 show form page action (which takes to thank you page). Each send email action is linked to email campaigns created on exm. &lt;a href=&quot;https://i.stack.imgur.com/BmQ5D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BmQ5D.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of 3 send mail actions, 2 are taking its &quot;To email address&quot; value from the fields on the form and one is taking the fixed email address value.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pNXsa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pNXsa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting only 2 emails in my inbox, one with fixed email address and second either of the 2 depending upon &quot;update current contact&quot; checkbox is checked or not. Any help will be highly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5141" LastActivityDate="2019-06-22T09:54:25.243" Title="Unable to send more than 2 emails using Sitecore form extensions" Tags="|exm|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19533" PostTypeId="2" ParentId="19522" CreationDate="2019-06-21T18:30:01.997" Score="1" Body="&lt;p&gt;In order to use above code shared by @Andrei in your commerce storefront website, you need to do the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You can create a new pipeline and a block to create new customer entity (where you can copy paste the above code) in your Commerce Engine Plugin project.&lt;/li&gt;&#xA;&lt;li&gt;Register the block to pipeline under ConfigureServices() method.&lt;/li&gt;&#xA;&lt;li&gt;Create your own Commerce API endpoint using Command (&lt;a href=&quot;https://medium.com/@jackspektor/how-to-extend-sitecore-9-commerce-api-with-custom-commands-78909090f2c9&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/@jackspektor/how-to-extend-sitecore-9-commerce-api-with-custom-commands-78909090f2c9&lt;/a&gt;) which can further execute/process your pipeline.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Also, Akshay Sura has written a very detailed blog on this: &lt;a href=&quot;https://www.konabos.com/blog/create-a-new-customer-entity-in-sitecore-commerce-9-x&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.konabos.com/blog/create-a-new-customer-entity-in-sitecore-commerce-9-x&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5512" LastActivityDate="2019-06-21T18:30:01.997" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19534" PostTypeId="1" AcceptedAnswerId="19535" CreationDate="2019-06-21T20:11:54.887" Score="1" ViewCount="147" Body="&lt;p&gt;I'm trying to retrieve items via a multiselect rendering parameter.  It parses the rendering parameter correctly but even though it doesn't throw an error when adding a new item to the model, when it tries to create one it seems to be creating items that are null.  I'm able to confirm that there are the appropriate number of items in the view, but if I try to retrieve any information about them - fields, id, etc., it throws a null reference exception, and it does the same if I try to do this in the controller.  Here's my controller code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Audio()&#xA;    {&#xA;        var model = new AudioModel();&#xA;        var items = RenderingContext.Current.Rendering.Parameters[&quot;Audio Files&quot;];&#xA;        if (!(String.IsNullOrEmpty(items)))&#xA;        {&#xA;            var results = items.Split('|');&#xA;            foreach(string item in results)&#xA;            {&#xA;                model.Items.Add(Context.Database.GetItem(new ID(item)));&#xA;            }&#xA;        }            &#xA;        return View(model);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is the model if that's helpful:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AudioModel&#xA;{&#xA;    public List&amp;lt;Sitecore.Data.Items.Item&amp;gt; Items { get; set; }&#xA;&#xA;    public AudioModel()&#xA;    {&#xA;        Items = new List&amp;lt;Sitecore.Data.Items.Item&amp;gt;();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-06-21T20:44:04.880" Title="Retrieving items from a multiselect Rendering Parameter" Tags="|presentation|mvc|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19535" PostTypeId="2" ParentId="19534" CreationDate="2019-06-21T20:44:04.880" Score="3" Body="&lt;p&gt;Based on the comments, in this particular scenario the issue was due to the dependent items not being published. However, for completeness sake, the existing method can be written in a more defensive way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Audio()&#xA;{&#xA;    var model = new AudioModel();&#xA;    var itemIdsRaw = RenderingContext.Current.Rendering.Parameters[&quot;Audio Files&quot;];&#xA;&#xA;    if(string.IsNullOrWhiteSpace(itemIdsRaw))&#xA;        return View(model); // exit early, reduce nesting&#xA;&#xA;    var itemIdStrings = itemIdsRaw.Split('|');&#xA;    foreach(var itemIdString in itemIdStrings)&#xA;    {&#xA;        Id itemId;&#xA;        if(!ID.TryParse(itemIdString, out itemId))&#xA;            continue; // log?&#xA;        var item = Context.Database.GetItem(itemId);&#xA;        if(item == (Item)null)&#xA;            continue; // log?&#xA;        model.Items.Add(item);&#xA;    }&#xA;    return View(model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-06-21T20:44:04.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19536" PostTypeId="1" CreationDate="2019-06-22T07:29:33.657" Score="1" ViewCount="846" Body="&lt;p&gt;I Have Created custom submit action in sitecore 9 forms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that custom action, I want to reload a same the page with adding of query parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far I tried.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Log.Error(Error, typeof(SendDataToApi));&#xA; Log.Error(ErrorDescription, typeof(SendDataToApi));&#xA; //Redirect to a Error Page&#xA; var defaultUrlOptions = LinkManager.GetDefaultUrlOptions();&#xA; defaultUrlOptions.SiteResolving = Settings.Rendering.SiteResolving;&#xA; formSubmitContext.RedirectUrl = new UrlString(LinkManager.GetItemUrl(Sitecore.Context.Item, defaultUrlOptions)) + &quot;?apierror=true&quot;;&#xA; formSubmitContext.RedirectOnSuccess = true;&#xA; formSubmitContext.Abort();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It Reloads the page but the querystring was not added ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Help..&lt;/p&gt;&#xA;" OwnerUserId="4765" LastEditorUserId="666" LastEditDate="2019-06-24T09:30:59.700" LastActivityDate="2024-02-28T18:01:35.180" Title="Reload with query parameters Sitecore Forms custom submit action" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19537" PostTypeId="2" ParentId="19531" CreationDate="2019-06-22T09:54:25.243" Score="1" Body="&lt;p&gt;Either you need to check &lt;code&gt;Update current contact&lt;/code&gt; checkbox or you need to create a custom submit action 'Update contact detail'.  More detail you can find &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/walkthrough--creating-a-custom-submit-action-that-updates-contact-details.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Analytics;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.ExperienceForms.Models;&#xA;using Sitecore.ExperienceForms.Processing;&#xA;using Sitecore.ExperienceForms.Processing.Actions;&#xA;using Sitecore.Foundation.Forms.Models;&#xA;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Client;&#xA;using Sitecore.XConnect.Client.Configuration;&#xA;using Sitecore.XConnect.Collection.Model;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;&#xA;namespace Namespace&#xA;{&#xA;    public class UpdateContact : SubmitActionBase&amp;lt;UpdateContactData&amp;gt;&#xA;    {&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Initializes a new instance of the &amp;lt;see cref=&quot;UpdateContact&quot;/&amp;gt; class.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;submitActionData&quot;&amp;gt;The submit action data.&amp;lt;/param&amp;gt;&#xA;        public UpdateContact(ISubmitActionData submitActionData) : base(submitActionData)&#xA;        {&#xA;        }&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets the current tracker.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        protected virtual ITracker CurrentTracker =&amp;gt; Tracker.Current;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Executes the action with the specified &amp;lt;paramref name=&quot;data&quot; /&amp;gt;.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;data&quot;&amp;gt;The data.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;formSubmitContext&quot;&amp;gt;The form submit context.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;c&amp;gt;true&amp;lt;/c&amp;gt; if the action is executed correctly; otherwise &amp;lt;c&amp;gt;false&amp;lt;/c&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        protected override bool Execute(UpdateContactData data, FormSubmitContext formSubmitContext)&#xA;        {&#xA;            Assert.ArgumentNotNull(data, nameof(data));&#xA;            Assert.ArgumentNotNull(formSubmitContext, nameof(formSubmitContext));&#xA;            var firstNameField = GetFieldById(data.FirstNameFieldId, formSubmitContext.Fields);&#xA;            var lastNameField = GetFieldById(data.LastNameFieldId, formSubmitContext.Fields);&#xA;            var emailField = GetFieldById(data.EmailFieldId, formSubmitContext.Fields);&#xA;            if (firstNameField == null &amp;amp;&amp;amp; lastNameField == null &amp;amp;&amp;amp; emailField == null)&#xA;            {&#xA;                return false;&#xA;            }&#xA;            using (var client = CreateClient())&#xA;            {&#xA;                try&#xA;                {&#xA;                    var source = &quot;Subcribe.Form&quot;;&#xA;                    var id = CurrentTracker.Contact.ContactId.ToString(&quot;N&quot;);&#xA;                    CurrentTracker.Session.IdentifyAs(source, id);&#xA;                    var trackerIdentifier = new IdentifiedContactReference(source, id);&#xA;                    var expandOptions = new ContactExpandOptions(&#xA;                        CollectionModel.FacetKeys.PersonalInformation,&#xA;                        CollectionModel.FacetKeys.EmailAddressList);&#xA;                    Contact contact = client.Get(trackerIdentifier, expandOptions);&#xA;                    SetPersonalInformation(GetValue(firstNameField), GetValue(lastNameField), contact, client);&#xA;                    SetEmail(GetValue(emailField), contact, client);&#xA;                    client.Submit();&#xA;                    return true;&#xA;                }&#xA;                catch (Exception ex)&#xA;                {&#xA;                    Logger.LogError(ex.Message, ex);&#xA;                    return false;&#xA;                }&#xA;            }&#xA;        }&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Creates the client.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;The &amp;lt;see cref=&quot;IXdbContext&quot;/&amp;gt; instance.&amp;lt;/returns&amp;gt;&#xA;        protected virtual IXdbContext CreateClient()&#xA;        {&#xA;            return SitecoreXConnectClientConfiguration.GetClient();&#xA;        }&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets the field by &amp;lt;paramref name=&quot;id&quot; /&amp;gt;.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;id&quot;&amp;gt;The identifier.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;fields&quot;&amp;gt;The fields.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;The field with the specified &amp;lt;paramref name=&quot;id&quot; /&amp;gt;.&amp;lt;/returns&amp;gt;&#xA;        private static IViewModel GetFieldById(Guid id, IList&amp;lt;IViewModel&amp;gt; fields)&#xA;        {&#xA;            return fields.FirstOrDefault(f =&amp;gt; Guid.Parse(f.ItemId) == id);&#xA;        }&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Gets the &amp;lt;paramref name=&quot;field&quot; /&amp;gt; value.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;field&quot;&amp;gt;The field.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;The field value.&amp;lt;/returns&amp;gt;&#xA;        private static string GetValue(object field)&#xA;        {&#xA;            return field?.GetType().GetProperty(&quot;Value&quot;)?.GetValue(field, null)?.ToString() ?? string.Empty;&#xA;        }&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Sets the &amp;lt;see cref=&quot;PersonalInformation&quot;/&amp;gt; facet of the specified &amp;lt;paramref name=&quot;contact&quot; /&amp;gt;.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;firstName&quot;&amp;gt;The first name.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;lastName&quot;&amp;gt;The last name.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;contact&quot;&amp;gt;The contact.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;client&quot;&amp;gt;The client.&amp;lt;/param&amp;gt;&#xA;        private static void SetPersonalInformation(string firstName, string lastName, Contact contact, IXdbContext client)&#xA;        {&#xA;            if (string.IsNullOrEmpty(firstName) &amp;amp;&amp;amp; string.IsNullOrEmpty(lastName))&#xA;            {&#xA;                return;&#xA;            }&#xA;            PersonalInformation personalInfoFacet = contact.Personal() ?? new PersonalInformation();&#xA;            if (personalInfoFacet.FirstName == firstName &amp;amp;&amp;amp; personalInfoFacet.LastName == lastName)&#xA;            {&#xA;                return;&#xA;            }&#xA;            personalInfoFacet.FirstName = firstName;&#xA;            personalInfoFacet.LastName = lastName;&#xA;            client.SetPersonal(contact, personalInfoFacet);&#xA;        }&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Sets the &amp;lt;see cref=&quot;EmailAddressList&quot;/&amp;gt; facet of the specified &amp;lt;paramref name=&quot;contact&quot; /&amp;gt;.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;email&quot;&amp;gt;The email address.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;contact&quot;&amp;gt;The contact.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;client&quot;&amp;gt;The client.&amp;lt;/param&amp;gt;&#xA;        private static void SetEmail(string email, Contact contact, IXdbContext client)&#xA;        {&#xA;            if (string.IsNullOrEmpty(email))&#xA;            {&#xA;                return;&#xA;            }&#xA;            EmailAddressList emailFacet = contact.Emails();&#xA;            if (emailFacet == null)&#xA;            {&#xA;                emailFacet = new EmailAddressList(new EmailAddress(email, false), &quot;Preferred&quot;);&#xA;            }&#xA;            else&#xA;            {&#xA;                if (emailFacet.PreferredEmail?.SmtpAddress == email)&#xA;                {&#xA;                    return;&#xA;                }&#xA;                emailFacet.PreferredEmail = new EmailAddress(email, false);&#xA;            }&#xA;            client.SetEmails(contact, emailFacet);&#xA;        }&#xA;    }&#xA;&#xA;}&#xA;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-06-22T09:54:25.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19538" PostTypeId="1" AcceptedAnswerId="19539" CreationDate="2019-06-22T16:39:59.827" Score="4" ViewCount="1988" Body="&lt;p&gt;I've got a &lt;code&gt;TreeList&lt;/code&gt; field on one of my templates that allows me to select multiple templates. I'm having trouble mapping this to my model with Glass Mapper.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{Template-Id-Here}&quot;)]&#xA;public class MyModel&#xA;{&#xA;    private const string FieldId = &quot;{Field-Id-Here}&quot;;&#xA;&#xA;    [SitecoreField(Id = FieldId]&#xA;    public virtual IEnumerable&amp;lt;Template&amp;gt; Templates { get; set; }&#xA;&#xA;    [SitecoreField(Id = FieldId)]&#xA;    public virtual IEnumerable&amp;lt;TemplateItem&amp;gt; TemplateItems { get; set; }&#xA;&#xA;    [SitecoreField(Id = FieldId)]&#xA;    public virtual IEnumerable&amp;lt;Item&amp;gt; Items { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With the above model, the &lt;code&gt;Items&lt;/code&gt; property always gets populated with the selected templates from my field, but the &lt;code&gt;Templates&lt;/code&gt; and &lt;code&gt;TemplateItems&lt;/code&gt; properties throw exceptions when accessed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried this with &lt;code&gt;TreeListEx&lt;/code&gt; and &lt;code&gt;Multilist&lt;/code&gt; fields with the same results. Can Glass Mapper not map &lt;code&gt;Template&lt;/code&gt; or &lt;code&gt;TemplateItem&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="10" LastActivityDate="2019-06-23T22:26:59.447" Title="How do I map a list of Templates with Glass Mapper?" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19539" PostTypeId="2" ParentId="19538" CreationDate="2019-06-22T16:39:59.827" Score="9" Body="&lt;p&gt;No, Glass Mapper can't map &lt;code&gt;Template&lt;/code&gt; or &lt;code&gt;TemplateItem&lt;/code&gt; out of the box. However, it's easy to create field mappers so that it can.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Field Mappers&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To map &lt;code&gt;Template&lt;/code&gt;, create the following field mapper:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class SitecoreFieldTemplateMapper : AbstractSitecoreFieldMapper&#xA;{&#xA;    public SitecoreFieldTemplateMapper()&#xA;        : base(typeof(Template))&#xA;    {&#xA;    }&#xA;&#xA;    public override object GetFieldValue(&#xA;        string fieldValue, &#xA;        SitecoreDataMappingContext context)&#xA;    {&#xA;        if (!ID.TryParse(fieldValue, out var templateId)) return null;&#xA;&#xA;        var templateEngine = context.Service.Database.Engines.TemplateEngine;&#xA;        var template = templateEngine.GetTemplate(templateId);&#xA;        return template;&#xA;    }&#xA;&#xA;    public override string SetFieldValue(&#xA;        object value, &#xA;        SitecoreFieldConfiguration config, &#xA;        SitecoreDataMappingContext context)&#xA;    {&#xA;        if (value == null) null;&#xA;&#xA;        var template = value as Template;&#xA;        if (template == null)&#xA;            throw new MapperException($&quot;The value is not of type {typeof(Template)}&quot;);&#xA;&#xA;        return template.ID.ToString();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To map &lt;code&gt;TemplateItem&lt;/code&gt;, create the following mapper:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class SitecoreFieldTemplateItemMapper : AbstractSitecoreFieldMapper&#xA;{&#xA;    public SitecoreFieldTemplateItemMapper()&#xA;        : base(typeof(TemplateItem))&#xA;    {&#xA;    }&#xA;&#xA;    public override object GetFieldValue(&#xA;        string fieldValue,&#xA;        SitecoreFieldConfiguration config,&#xA;        SitecoreDataMappingContext context)&#xA;    {&#xA;        if (!ID.TryParse(fieldValue, out var templateId)) return null;&#xA;&#xA;        var item = context.Service.Database.GetItem(templateId);&#xA;        if (item?.TemplateID != Sitecore.TemplateIDs.Template) return null;&#xA;&#xA;        return new TemplateItem(item);&#xA;    }&#xA;&#xA;    public override string SetFieldValue(&#xA;        object value, &#xA;        SitecoreFieldConfiguration config, &#xA;        SitecoreDataMappingContext context)&#xA;    {&#xA;        if (value == null) return null;&#xA;&#xA;        var templateItem = value as TemplateItem;&#xA;        if (templateItem == null)&#xA;            throw new MapperException($&quot;The value is not of type {typeof(TemplateItem)}&quot;);&#xA;&#xA;        return templateItem.ID.ToString();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In both cases, you pass the type (e.g., &lt;code&gt;typeof(Template)&lt;/code&gt;) to the base constructor to instruct Glass Mapper which property types it should use the field mapper for (e.g., &lt;code&gt;Template&lt;/code&gt;, &lt;code&gt;IEnumerable&amp;lt;Template&amp;gt;&lt;/code&gt;). The &lt;code&gt;GetFieldValue&lt;/code&gt; method tells Glass Mapper how to read from Sitecore to your property; the &lt;code&gt;SetFieldValue&lt;/code&gt; method tells Glass Mapper how to write from your property back to Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You don't need to write separate mappers for &lt;code&gt;IEnumerable&amp;lt;Template&amp;gt;&lt;/code&gt; or &lt;code&gt;IEnumerable&amp;lt;TemplateItem&amp;gt;&lt;/code&gt; because &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc/DataMappers/SitecoreFieldIEnumerableMapper.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;the built-in &lt;code&gt;SitecoreFieldIEnumerableMapper&lt;/code&gt; will handle that for you&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Add to Glass Mapper&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Glass Mapper 5 offers a slightly cleaner way to register custom mappers than 4 through pipeline processors. Although the method for Glass Mapper 4 technically works with 5, I recommend the processor approach for flexibility and future-proofing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice that in both versions the mappers are added to the &lt;code&gt;DataMapperFactory&lt;/code&gt; with &lt;code&gt;First&lt;/code&gt; and not &lt;code&gt;Add&lt;/code&gt;. This is important--if the custom mappers are added &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/860924dfef747a50ccd16ce8f4fb4969ac86f6c6/Source/Glass.Mapper.Sc/IoC/DataMapperConfigFactory.cs#L33&quot; rel=&quot;nofollow noreferrer&quot;&gt;after the &lt;code&gt;SitecoreFieldIEnumerableMapper&lt;/code&gt; in the &lt;code&gt;DataMapperFactory&lt;/code&gt;&lt;/a&gt;, the custom mappers will never get invoked.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Glass Mapper 5&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;For Glass Mapper 5, create the following pipeline processor to wire up the field mappers:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public class AddTemplateMappers : CreateResolverProcessor&#xA;{&#xA;    public override void Process(CreateResolverPipelineArgs args)&#xA;    {&#xA;        var dependencyResolver = args.DependencyResolver;&#xA;        dependencyResolver.DataMapperFactory.First(&#xA;            () =&amp;gt; new SitecoreFieldTemplateMapper());&#xA;        dependencyResolver.DataMapperFactory.First(&#xA;            () =&amp;gt; new SitecoreFieldTemplateItemMapper());&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and add it to the &lt;code&gt;glassMapper.createResolver&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;glassMapper.createResolver&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourAssembly.AddTemplateMappers, YourAssembly&quot; /&amp;gt;&#xA;      &amp;lt;/glassMapper.createResolver&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Glass Mapper 4&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;For Glass Mapper 4, modify the &lt;code&gt;GlassMapperScCustom&lt;/code&gt; in your solution as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;public static class GlassMapperScCustom&#xA;{&#xA;    public static IDependencyResolver CreateResolver()&#xA;    {&#xA;        var config = new Glass.Mapper.Sc.Config();&#xA;&#xA;        var dependencyResolver = new DependencyResolver(config);&#xA;        dependencyResolver.DataMapperFactory.First(&#xA;            () =&amp;gt; new SitecoreFieldTemplateMapper());&#xA;        dependencyResolver.DataMapperFactory.First(&#xA;            () =&amp;gt; new SitecoreFieldTemplateItemMapper());&#xA;        return dependencyResolver;&#xA;    }&#xA;&#xA;    // other methods omitted for brevity&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="10" LastEditorUserId="10" LastEditDate="2019-06-23T22:26:59.447" LastActivityDate="2019-06-23T22:26:59.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19540" PostTypeId="1" CreationDate="2019-06-23T07:25:46.987" Score="2" ViewCount="641" Body="&lt;p&gt;All &lt;code&gt;Goals&lt;/code&gt; trigger through programmatically are visible in the &lt;code&gt;Experience Profile&lt;/code&gt; &gt; &lt;code&gt;Goal&lt;/code&gt; Report but not in &lt;code&gt;Experience Analytics&lt;/code&gt; Report.&#xA;We have triggered goal programmatically and attached with a &lt;code&gt;Contact&lt;/code&gt;. these Goals are visible in &lt;code&gt;Experience Profile&lt;/code&gt; but not in &lt;code&gt;Experience Analytics&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Need your inputs.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Contact gExistingContact = client.Get&amp;lt;Contact&amp;gt;(new IdentifiedContactReference(_identifier, userKey),&#xA;                           new ContactExpandOptions(PersonalInformation.DefaultFacetKey));&#xA;&#xA;                    if (gExistingContact != null)&#xA;                    {&#xA;                        Guid glID = Guid.Parse(goalId.ToString());&#xA;                        var goalItem = Sitecore.Context.Database.GetItem(goalId);&#xA;&#xA;                        var xconnectEvent = new Goal(glID, DateTime.UtcNow);&#xA;&#xA;                        xconnectEvent.CustomValues.Add(&quot;Action&quot;, action);&#xA;                        xconnectEvent.CustomValues.Add(&quot;PageName&quot;, pageName);&#xA;                        xconnectEvent.CustomValues.Add(&quot;Date&quot;, DateTime.Now.ToString());&#xA;&#xA;                        if (goalItem != null)&#xA;                        {&#xA;                            if (goalItem[&quot;Points&quot;] != null &amp;amp;&amp;amp; !string.IsNullOrEmpty(goalItem[&quot;Points&quot;].ToString()))&#xA;                            {&#xA;                                xconnectEvent.EngagementValue = goalItem[&quot;Points&quot;] == null ? 0 : int.Parse(goalItem[&quot;Points&quot;].ToString());&#xA;                            }&#xA;                        }&#xA;&#xA;                        Guid channelId = Guid.Parse(channelid.ToString());&#xA;                        var useragent = &quot;Mozilla / 5.0(iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit / 602.1.50(KHTML, like Gecko) CriOS / 56.0.2924.75 Mobile / 14E5239e Safari/ 602.1&quot;;&#xA;                        Interaction interaction = new Sitecore.XConnect.Interaction(gExistingContact, InteractionInitiator.Contact, channelId, useragent);&#xA;                        interaction.Events.Add(xconnectEvent);&#xA;                        client.AddInteraction(interaction);&#xA;                        client.Submit();&#xA;                    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5686" LastEditorUserId="73" LastEditDate="2019-06-24T10:08:13.877" LastActivityDate="2019-07-24T13:42:26.633" Title="All Goals trigger through programmatically are visible in Experience Profile but not in Experience Analytics report" Tags="|xconnect|reporting|fxm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19542" PostTypeId="2" ParentId="19540" CreationDate="2019-06-23T09:30:02.713" Score="1" Body="&lt;p&gt;Update your code as below, it works for me and I am able to see Goal in Experience Profile and in Experience Analytics Report as well.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!Tracker.IsActive)&#xA;        {&#xA;            Tracker.StartTracking();&#xA;        }&#xA;        if (Tracker.IsActive &amp;amp;&amp;amp; Tracker.Current.CurrentPage != null)&#xA;        {&#xA;            Sitecore.Data.Items.Item goalItem = Sitecore.Context.Database.GetItem(goalId);&#xA;            if (goalItem != null)&#xA;            {&#xA;                var goalTrigger = Tracker.MarketingDefinitions.Goals[goalId.ToGuid()];&#xA;                var goalEventData = Tracker.Current.CurrentPage.RegisterGoal(goalTrigger);&#xA;                goalEventData.Data = goalItem[&quot;Name&quot;];&#xA;                goalEventData.ItemId = goalItem.ID.ToGuid();&#xA;                goalEventData.DataKey = goalItem.Paths.Path;&#xA;                goalEventData.Text = goalItem[&quot;Name&quot;];&#xA;                Tracker.Current.Interaction.AcceptModifications();&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here &lt;code&gt;goalId&lt;/code&gt; is &lt;code&gt;Guid Type&lt;/code&gt; of created goal in the marketing control panel. You can find more details about How to create a goal and deploy &lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/create-and-deploy-a-goal.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastActivityDate="2019-06-23T09:30:02.713" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19543" PostTypeId="1" CreationDate="2019-06-23T11:33:42.400" Score="0" ViewCount="58" Body="&lt;p&gt;I'm using sitecore 9.1.1 and SXA 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;i'm trying to use the OOTB Autosuggest but i always get the below error. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;{ &quot;Message&quot;: &quot;An error has occurred.&quot;, &quot;ExceptionMessage&quot;: &quot;Object&#xA;  reference not set to an instance of an object.&quot;, &quot;ExceptionType&quot;:&#xA;  &quot;System.NullReferenceException&quot;, &quot;StackTrace&quot;: &quot;   at&#xA;  Sitecore.XA.Feature.Search.Controllers.SearchController.GetSuggestions(QueryModel&#xA;  model)\r\n   at lambda_method(Closure , Object , Object[] )\r\n   at&#xA;  System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&gt;c__DisplayClass6_1.b__3(Object&#xA;  instance, Object[] methodParameters)\r\n   at&#xA;  System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext&#xA;  controllerContext, IDictionary`2 arguments, CancellationToken&#xA;  cancellationToken)\r\n--- End of stack trace from previous location&#xA;  where exception was thrown ---\r\n   at&#xA;  System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Controllers.ApiControllerActionInvoker.d__1.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()\r\n---&#xA;  End of stack trace from previous location where exception was thrown&#xA;  ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n&lt;br&gt;&#xA;  at&#xA;  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task&#xA;  task)\r\n   at&#xA;  System.Web.Http.Dispatcher.HttpControllerDispatcher.d__15.MoveNext()&quot;&#xA;  }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any idea what might be missing?&lt;/p&gt;&#xA;" OwnerUserId="5688" LastEditorUserId="5688" LastEditDate="2019-06-23T11:59:38.020" LastActivityDate="2019-06-23T12:00:25.850" Title="Autosuggestion not working in SXA 1.8.1" Tags="|sxa|content-search|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19544" PostTypeId="2" ParentId="19466" CreationDate="2019-06-23T14:04:24.820" Score="12" Body="&lt;h1&gt;Summary&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Both Richard's and Pete's answers led me on a path to solve this. Pete's answer actually gave most of the solution, but I'll summarise my complete findings here.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;On the use of Deployment Slots&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Before I go on, I'll just touch on this point, as suggested by both. And while this can and will work around this problem, it doesn't actually solve the underlying problem - that you have an application that takes so long to fire up and eventually ends up on Azure's &quot;bad list&quot; for a while.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see this solution in much the same way as I see caching as a solution for an under-performing component - it's a workaround for the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said, Deployment Slots are definitely valuable for a lot of reasons and I am still going to implement them on our environment. But I have effectively eliminated the original issue without them.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Roslyn Compilers&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;As suggested by Pete. The impact of this is massive, if executed correctly. And that does indeed mean that the instructions given on the two posts linked must be followed, including updating the &lt;code&gt;system.codedom&lt;/code&gt; section of &lt;code&gt;web.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short you must:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install Roslyn (&lt;code&gt;Microsoft.Net.Compilers&lt;/code&gt; and &lt;code&gt;Microsoft.CodeDom.Providers.DotNetCompilerPlatform&lt;/code&gt;). For 9.1.1 I ended up using version &lt;code&gt;2.9.0&lt;/code&gt;, as the latest version &lt;code&gt;3.1.0&lt;/code&gt; required .NET framework 4.7.2 and we're on 4.7.1 (the latest version supported by Sitecore at the time of writing).&lt;/li&gt;&#xA;&lt;li&gt;I installed it as instructed, on all projects in our solution. I am not entirely sure this is necessary.&lt;/li&gt;&#xA;&lt;li&gt;Update your &lt;code&gt;web.config&lt;/code&gt; with the required &lt;code&gt;system.codedom&lt;/code&gt; section. You will find it added to the &lt;code&gt;web.config&lt;/code&gt; of all projects you added Roslyn to.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This, on it's own, took our startup/initialisation time to about 60% of what it was before, and more or less eliminated the 502 problem. But I pushed on.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Precompile Razor Views&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I would suggest doing this. We only have one Razor view in our solution, so it made literally no difference for us (it's an SXA I-like-to-clone-Promo type solution). That said, if you have a more traditional Sitecore solution with many View files, this will make a difference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is already detailed here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14138/slow-cshtml-compilation-on-azure-webapps/14814#14814&quot;&gt;Slow cshtml compilation on Azure WebApps&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Deal with &lt;code&gt;applicationInitialization&lt;/code&gt;&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Thanks to @asmagin (Alex Smagin) on Slack, I learned about something I feel I should have been aware of, but was not. The &lt;code&gt;applicationInitialization&lt;/code&gt; section you can add to &lt;code&gt;web.config&lt;/code&gt;. This was the final piece of the puzzle, which effectively closed the book on the 502s. We've not had a single one since then.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Described in detail here: &lt;a href=&quot;https://docs.microsoft.com/en-us/iis/configuration/system.webserver/applicationinitialization/&quot; rel=&quot;noreferrer&quot;&gt;Application Initialization &lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In short, we added this configuration to &lt;code&gt;system.webServer&lt;/code&gt; of &lt;code&gt;web.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;applicationInitialization&#xA;        doAppInitAfterRestart=&quot;true&quot;&#xA;        skipManagedModules=&quot;true&quot;&#xA;        remapManagedRequestsTo=&quot;applicationinit.htm&quot;&amp;gt;&#xA;        &amp;lt;add initializationPage=&quot;/&quot; hostName=&quot;#{contentDeliveryHost}#&quot; /&amp;gt;&#xA;    &amp;lt;/applicationInitialization&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;applicationinit.htm&lt;/code&gt; was a short html file saying something like &quot;Application is restarting, hang on&quot;. And &lt;code&gt;#{contentDeliveryHost}#&lt;/code&gt; is just a token, being replaced with the full http address of the instance in question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What happens here is, once the application starts initialising, the simple html page gets returned - which keeps the Azure load balancers happy so as to not hit the 230 second timeout. Even if the 230 second timeout was not really an issue after the steps above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'll tick Pete's answer for this question, as I was able to mine enough from it to actually solve the problem. But I'd like to point out that both Pete's and Richard's answers involve Deployment Slots and swapping of instances, warmups and so on - and none of this actually has any direct effect on solving this problem - that just works around it.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-06-23T14:04:24.820" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19545" PostTypeId="1" CreationDate="2019-06-23T17:37:19.593" Score="0" ViewCount="126" Body="&lt;p&gt;When I select an item I want to check some fields before it will be displayed in the &lt;code&gt;Field Editor&lt;/code&gt; and then change values on other fields. So I need to &lt;code&gt;subscribe&lt;/code&gt; to an event, but such an event doesn't exist out of the box as I can see. So the problem is - if I need to create a custom event, where I need to raise it? &lt;/p&gt;&#xA;" OwnerUserId="5689" LastEditorUserId="2152" LastEditDate="2019-06-24T10:19:05.577" LastActivityDate="2019-06-24T10:19:05.577" Title="Content Editor - item selecting action" Tags="|content-editor|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19548" PostTypeId="2" ParentId="17723" CreationDate="2019-06-24T00:47:51.733" Score="1" Body="&lt;p&gt;I know this question has already got an accepted answer, but I recently had the same issue and the solution was a bit different.  Note, this only applies if you're using &lt;strong&gt;Azure Search&lt;/strong&gt; for your xDB index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/supported-methods-and-operators-for-xconnect-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's documentation&lt;/a&gt;, there are certain methods that aren't supported.  In particular:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;It is currently not possible to check if a facet is null. For example:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;code&gt;var notWebVisits = client.Interactions.Where(c =&amp;gt; c.WebVisit() == null);&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My code was similar to yours, where I was checking that the facet existed before looking within it (&lt;code&gt;c =&amp;gt; c.GetFacet&amp;lt;eBikeContactFacet&amp;gt;() != null&lt;/code&gt; in your example).  I found that you don't need to check if the facet is null when doing a search.  If we had an actual list of items in memory, checking for null first would avoid exceptions, but since this translates into a search query, it's not needed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I'm not sure how you'd check for your &lt;code&gt;GlobalBoschID&lt;/code&gt; value.  If it's an integer, you could check to see if it's greater than 0, but if it's a string or a GUID then I'm not sure.  &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/supported-methods-and-operators-for-xconnect-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;The documentation&lt;/a&gt; outlines the limitations of searching against different variable types &lt;em&gt;(Note, 9.0.1 and 9.0.2 support different methods)&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Oh, and one last thing - I've sometimes run into problems when using &lt;code&gt;Contact.GetFacet&amp;lt;&amp;gt;()&lt;/code&gt; without specifying the facet key.  Does it help if you use &lt;code&gt;c.GetFacet&amp;lt;eBikeContactFacet&amp;gt;(eBikeContactFacet.DefaultFacetKey)&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="129" LastActivityDate="2019-06-24T00:47:51.733" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19549" PostTypeId="1" CreationDate="2019-06-24T06:07:19.900" Score="0" ViewCount="1891" Body="&lt;p&gt;I have installed &lt;code&gt;Sitecore commerce 9.1.0&lt;/code&gt;. The setup is working fine but I am not able to configure Postman. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To configure postman I have&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;disabled SSL Certificate validation in Postman&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;&quot;AntiForgeryEnabled&quot;:false&lt;/code&gt; in &lt;code&gt;C:\inetpub\wwwroot\CommerceAuthoring_Sc910\wwwroot\config.json&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Get Token&lt;/code&gt; api is working fine and &lt;code&gt;SitecoreIdToken&lt;/code&gt; is also set to correct value&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there anything that I have missed out?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9bkrc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9bkrc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mMHAq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mMHAq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="4039" LastEditDate="2019-06-25T03:53:55.063" LastActivityDate="2019-11-30T12:03:00.500" Title="Bearer error=&quot;invalid_token&quot;, error_description=&quot;The issuer is invalid&quot;" Tags="|sitecore-commerce|installation|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19551" PostTypeId="1" CreationDate="2019-06-24T08:29:53.507" Score="3" ViewCount="433" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9.0.1&lt;/code&gt; where I have created a new device (in the name of &quot;AMP&quot;) item under &lt;code&gt;layout/device&lt;/code&gt; in my content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would be configuring &lt;code&gt;Layouts/Renderings&lt;/code&gt; (AMP files) in my page items for the AMP device.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I am trying to detect the requests to my site through a mobile device and redirect them to AMP items - for this, I have created a Rule &lt;code&gt;where device type is Mobile Phone&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But somehow the rule is not triggering. Can anyone help? Please find attached screenshot for the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YyOb7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YyOb7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5198" LastEditorUserId="5387" LastEditDate="2019-06-24T09:02:15.393" LastActivityDate="2023-12-30T22:03:15.357" Title="Device Detection Rules not triggering" Tags="|rules-engine|device-detection|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19552" PostTypeId="2" ParentId="19536" CreationDate="2019-06-24T09:30:05.387" Score="0" Body="&lt;p&gt;Property that you tries to use is considered to be used for &lt;strong&gt;Success&lt;/strong&gt; form submit&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;formSubmitContext.RedirectUrl = new UrlString(LinkManager.GetItemUrl(Sitecore.Context.Item, defaultUrlOptions)) + &quot;?apierror=true&quot;;&#xA;formSubmitContext.RedirectOnSuccess = true;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but, you abort context. It means that forms fails.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;formSubmitContext.Abort();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can try to use standard ASP.Net approach for redirect:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpContext.Current.Session.Abandon();&#xA;Response.Redirect(new UrlString(LinkManager.GetItemUrl(Sitecore.Context.Item, defaultUrlOptions)) + &quot;?apierror=true&quot;, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-06-24T09:30:05.387" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19554" PostTypeId="2" ParentId="19522" CreationDate="2019-06-24T10:10:59.657" Score="0" Body="&lt;p&gt;I managed to solve this by using the following codes to create the Customer on my storefront website. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Dictionary&amp;lt;string, string&amp;gt; data = new Dictionary&amp;lt;string, string&amp;gt;()&#xA;{&#xA;    { &quot;FirstName&quot;, firstName },&#xA;    { &quot;LastName&quot;, lastName },&#xA;    { &quot;LoginName&quot;, username },&#xA;    { &quot;Domain&quot;, &quot;Storefront&quot; },&#xA;    { &quot;Email&quot;, email },&#xA;    { &quot;AccountStatus&quot;, &quot;ActiveAccount&quot; },&#xA;    { &quot;PhoneNumber&quot;, &quot;&quot; },&#xA;    { &quot;Language&quot;, &quot;en&quot; },&#xA;};&#xA;&#xA;ObservableCollection&amp;lt;ViewProperty&amp;gt; properties = ObservableCollection&amp;lt;ViewProperty&amp;gt;();&#xA;&#xA;foreach (var field in data)&#xA;{&#xA;    properties.Add(new ViewProperty()&#xA;    {   Name = field.Key,&#xA;        Value = field.Value&#xA;    });&#xA;}&#xA;&#xA;return container.DoAction(new EntityView() { Action = &quot;AddCustomer&quot;, Properties = properties }).GetValue();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This basically creates a request similar to &quot;Add Customer&quot; in the Postman samples from the Sitecore Commerce SDK. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/EIVuJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EIVuJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-06-24T10:10:59.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19556" PostTypeId="2" ParentId="19529" CreationDate="2019-06-24T12:11:35.217" Score="2" Body="&lt;p&gt;&lt;code&gt;xConnect&lt;/code&gt; roles have separate file for &lt;code&gt;appSettings&lt;/code&gt; where the following setting must be set to &lt;code&gt;True&lt;/code&gt; when using self-signed certificates: &lt;code&gt;AllowInvalidClientCertificates&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had checked this configuration already. &#xA;The problem was on CM and CD roles. Their &lt;code&gt;appSettings&lt;/code&gt; section is in the &lt;code&gt;web.cofing&lt;/code&gt; file and it was set to false. &lt;code&gt;xAnalytics&lt;/code&gt; page loaded without exceptions after setting AllowInvalidClientCertificates to &lt;code&gt;True&lt;/code&gt; on CM. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Jx0AU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jx0AU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks to Sitecore support. &lt;/p&gt;&#xA;" OwnerUserId="4279" LastEditorUserId="5096" LastEditDate="2019-06-26T16:31:57.083" LastActivityDate="2019-06-26T16:31:57.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19557" PostTypeId="1" CreationDate="2019-06-24T13:25:50.250" Score="2" ViewCount="381" Body="&lt;p&gt;Parent Site Url: www.site1.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sub Domain Url: www.abc.site1.com&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have the requirement like create the sub domain(abc.site1.com) in separate instance and use the login &amp;amp; registration functionality from parent site(site1.com),can any one suggest the best approach in sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note that, subdomain website doesn't have the login &amp;amp; registration forms, but have the these two buttons, once user clicks the login button form the sub domain, it should redirect to parent website, after successful login it should redirect to current website(sub domain).&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1545" LastEditorUserId="1545" LastEditDate="2019-06-25T04:40:30.097" LastActivityDate="2024-03-31T07:07:20.830" Title="Sitecore domain and sub domain authentication" Tags="|sitecore-api|login|" AnswerCount="2" CommentCount="6" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19558" PostTypeId="2" ParentId="7899" CreationDate="2019-06-24T14:52:34.600" Score="3" Body="&lt;p&gt;&lt;strong&gt;Similarities&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Standard values and default values work very similarly, in that the both store values which are used on all derived items that do not specify their own values for those fields. So the value of many items are all controlled in a single place. Change it in that one place and the items all update. You can prevent updates to individual items by entering a different value for that item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Differences&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The difference is that the standard values are stored in a __Standard Values item and the default values are set on the field definition item. Also standard values override default values. When you create a new __Standard Values item, any fields with a default value will be pre-populated on the standard values item. And updating the default value will update the value on the standard values item. This is true unless you modify that field on the standard values item, then it will no longer update with the default value. Also, you can have multiple standard values, if you derive template B from template A, both can have standard values, but only the place where the field is defined can specify default values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given a template with the following fields d, s, ds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FcPbt.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FcPbt.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You set the default value of d and ds to &quot;default&quot; and do not set the default value of s. &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create the standard values item and notice that d=&quot;default&quot;, s=&quot;&quot;, ds=&quot;default&quot;. The default values pre-populated in the __Standard Values item&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now create two new items from this Foo template (foo and foo2) and notice that d=&quot;default&quot;, s=&quot;&quot;, ds=&quot;default&quot; for both items.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Don't change any fields on foo, but on foo2, change all 3 fields to &quot;custom&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now on the __Standard Values item, set s and ds to &quot;standard&quot; and leave d unchanged.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Notice that the content item foo should now be d=&quot;default&quot; s=&quot;standard&quot; and ds=&quot;standard&quot;. However foo2 values are all still set to &quot;custom&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now go back to the d and ds field definition items under your template and set the d and ds default values both to &quot;default2&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Go back to the __Standard Values item and notice that d=&quot;default2&quot; while ds=&quot;standard&quot;. By setting ds=&quot;standard&quot; earlier, you unlinked it from the default value, but d is still linked, so changes to the default value will reflect in the standard values item.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now go to the foo and foo2 content items. foo should be d=&quot;default2&quot;, s=&quot;standard&quot; and ds=&quot;standard&quot;. foo2 should be d=&quot;custom&quot;, s=&quot;custom&quot;, and ds=&quot;custom&quot;. Notice how default values can pass all the way through to content items if they are not overridden in the standard values or on the content items themselves.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Long story short, the standard values update to match the default values for all fields that are unchanged. The content items update to match the standard values for all fields that are unchanged.&lt;/p&gt;&#xA;" OwnerUserId="3254" LastEditorUserId="3254" LastEditDate="2019-06-24T15:03:57.903" LastActivityDate="2019-06-24T15:03:57.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19559" PostTypeId="2" ParentId="12048" CreationDate="2019-06-24T15:27:20.900" Score="2" Body="&lt;p&gt;We implemented our custom highlighting for Azure Search. We used &lt;a href=&quot;https://archive.codeplex.com/?p=stemmersnet&quot; rel=&quot;nofollow noreferrer&quot;&gt;StemmersNet&lt;/a&gt; from NuGet for words stemming (it supports stemming for 14 languages):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static class SearchExtentions&#xA;{&#xA;    static char[] delimiters = { ' ', ',', ';', '.', ':', '-' };&#xA;    static IStemmer stemmer = new EnglishStemmer();&#xA;&#xA;    public static string Highlight(this string text, string searchText, string beforeTerm = &quot;&amp;lt;em style='color: blue'&amp;gt;&quot;, string afterTerm = &quot;&amp;lt;/em&amp;gt;&quot;)&#xA;    {&#xA;        var terms = searchText.Split(delimiters, StringSplitOptions.RemoveEmptyEntries);&#xA;        foreach(var term in terms)&#xA;        {&#xA;            var word = stemmer.Stem(term);&#xA;            var regex = new Regex(word, RegexOptions.IgnoreCase);&#xA;            if(regex.Matches(word).Count &amp;gt; 0)&#xA;                text = regex.Replace(text, beforeTerm + word + afterTerm);&#xA;        }&#xA;&#xA;        return text;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And used it for search results:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;searchResult.Description = searchResult.Description.Highlight(searchPhrase);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here you can see example of highlighting:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/5ZD8S.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5ZD8S.png&quot; alt=&quot;Example&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-06-24T15:44:28.477" LastActivityDate="2019-06-24T15:44:28.477" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19560" PostTypeId="1" AcceptedAnswerId="19566" CreationDate="2019-06-24T15:33:12.103" Score="3" ViewCount="399" Body="&lt;p&gt;During (manually triggered) indexing of the master database, I get the following exception (stack trace below). Using Sitecore 8.2u7 with SXA 1.7.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;27608 10:43:03 ERROR [Index=sitecore_master_index] Commit failed&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: mscorlib&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.PostDocuments(ICloudBatch batch)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.Commit()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.PostFailedForSomeDocumentsException&#xA;Message: Partial success for insert or update. Some documents succeeded, but at least one failed.&#xA;Source: Sitecore.ContentSearch.Azure&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage response)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.PostDocuments(String jsonString)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchService.PostDocuments(ICloudBatch batch)&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.&amp;lt;&amp;gt;c__DisplayClass15_0.&amp;lt;PostDocuments&amp;gt;b__0(ISearchService searchService)&#xA;   at System.Threading.Tasks.Parallel.&amp;lt;&amp;gt;c__DisplayClass17_0`1.&amp;lt;ForWorker&amp;gt;b__1()&#xA;   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&#xA;   at System.Threading.Tasks.Task.&amp;lt;&amp;gt;c__DisplayClass176_0.&amp;lt;ExecuteSelfReplicating&amp;gt;b__0(Object )&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;Message: {&quot;@odata.context&quot;:&quot;https://wonkey-donkey.search.windows.net/indexes('sitecore-master-index')/$metadata#Collection(Microsoft.Azure.Search.V2016_09_01.IndexResult)&quot;,&quot;value&quot;:[{&quot;key&quot;:&quot;3cd50abca6dae4d4fe8174aeedddd81a&quot;,&quot;status&quot;:true,&quot;errorMessage&quot;:null,&quot;statusCode&quot;:201},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've truncated the exception response from Azure for brevity, but the failing response of interest is&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;     &quot;key&quot;:&quot;aeaa7458b10a04593a6ef20bbbbc12f1&quot;,&#xA;     &quot;status&quot;:false,&#xA;     &quot;errorMessage&quot;:&quot;Field 'content_1' contains a term that is too large to process. The max length for UTF-8 encoded terms is 32766 bytes. The most likely cause of this error is that filtering, sorting, and/or faceting are enabled on this field, which causes the entire field value to be indexed as a single term. Please avoid the use of these options for large fields.&quot;,&#xA;     &quot;statusCode&quot;:400&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried searching that &quot;key&quot; value in Sitecore and it does not correspond to a template ID, so I assume this must be an ID for the field in Azure or a unique ID for the request/batch. Can anyone confirm what this is and whether I can use it to diagnose what is going on?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The field name &quot;content_1&quot; suggests to me that this is one of a number of duplicate field names and so the indexing code appends the number to make them unique. I don't have a &quot;content 1&quot; or &quot;content_1&quot; field anywhere in my solution. I have tried excluding from indexing all fields called &quot;content&quot;, but I still get the same problem. I really don't know where this field is coming from as all fields named content have been excluded. I have also queried all items where a &quot;content&quot; field is not null or empty and have tried excluding the templates of the found items, but that does not resolve the error either. I am making a patch for &lt;code&gt;defaultCloudIndexConfiguration&lt;/code&gt; which the other indexes reference via &lt;code&gt;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot;&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-06-25T14:46:58.910" Title="Resolve PostFailedForSomeDocumentsException exception during indexing" Tags="|content-search|azure-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19561" PostTypeId="1" AcceptedAnswerId="19576" CreationDate="2019-06-24T15:46:38.847" Score="0" ViewCount="249" Body="&lt;p&gt;I'm using sitecore 9.1.1 and SXA 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a page on which i added the following components:&#xA;1- search result&#xA;2- search box with suggestion mode &quot;show search result as prediction&quot;&#xA;3- Date Filter&#xA;4- page selector&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is: when i search with a query in the search box such that the returned search &lt;strong&gt;result count&lt;/strong&gt; is &lt;strong&gt;less than&lt;/strong&gt; the &lt;strong&gt;pagesize&lt;/strong&gt; of the search result, the API request gets called forever ( i get infinite API requests in the Network).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However if the &lt;strong&gt;result count&lt;/strong&gt; is &lt;strong&gt;equal to or greater&lt;/strong&gt; than the &lt;strong&gt;pagesize&lt;/strong&gt;, the API gets called once and everything goes normal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i tried to debug &quot;component-seacrh-page-selector&quot; i found that the case where result count &amp;lt; pagesize is causing this problem because it has a timeout function in which it keeps updating the hashobj thus calling the search API again and again forever.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Mentioning that: if the datefilter has any value, the problem of infinite API requests no longer happens.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/666KR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/666KR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what might be the reason for this strange behaviour?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="73" LastEditDate="2019-06-24T19:39:28.623" LastActivityDate="2019-06-25T09:09:31.400" Title="Page Selector with search box not working properly" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19563" PostTypeId="1" AcceptedAnswerId="19564" CreationDate="2019-06-24T17:33:23.243" Score="0" ViewCount="213" Body="&lt;p&gt;I am creating an item as well as its version in specific language (let's say Arabic) and then creating a clone of the newly created item in that particular language (Arabic). The issue is that the item as well as it's clone both are getting created in &quot;en&quot; as well as in &quot;ar&quot; language. However, I don't want the &quot;en&quot; version. Not sure why the English version is being added. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also have tried to remove the unwanted version but this is not feasible for us because of performance issue as we are going to have lot many items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is code snippet for example.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Globalization.Language language = LanguageManager.GetLanguage(&quot;ar&quot;); //arabic language&#xA;using (new LanguageSwitcher(language))&#xA;{&#xA;    var  videoItem = ItemManager.AddFromTemplate(&quot;SampleName&quot;, &quot;&amp;lt;&amp;lt;template ID&amp;gt;&amp;gt;&quot;, &quot;&amp;lt;&amp;lt;parent item&amp;gt;&amp;gt;&quot;, &quot;&amp;lt;&amp;lt;GUID&amp;gt;&amp;gt;&quot;);&#xA;    videoItem = videoItem.Database.GetItem(videoItem.ID, language);&#xA;    if (videoItem.Versions.Count &amp;lt; 1)&#xA;    {&#xA;        videoItem = videoItem.Versions.AddVersion();&#xA;    }&#xA;    videoItem.CloneTo(&quot;&amp;lt;&amp;lt;sitecore item where the item to be cloned&amp;gt;&amp;gt;&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5691" LastEditorUserId="277" LastEditDate="2019-06-24T18:54:10.687" LastActivityDate="2019-11-21T20:03:10.583" Title="EN version is getting added for new item which is being created in any other language programatically" Tags="|multilingual|versions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19564" PostTypeId="2" ParentId="19563" CreationDate="2019-06-24T17:51:57.697" Score="1" Body="&lt;p&gt;&lt;code&gt;ItemManager.AddFromTemplate&lt;/code&gt; method creates an item with 1 version already. And from what I remember, it creates the child item in the language of the &lt;code&gt;destination&lt;/code&gt; parameter (3rd one), where you pass &lt;code&gt;parent&lt;/code&gt; item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It means that if you pass &lt;code&gt;en&lt;/code&gt; version of the &lt;code&gt;parent&lt;/code&gt; to the &lt;code&gt;AddFromTemplate&lt;/code&gt; method, it will create &lt;code&gt;en&lt;/code&gt; version of the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to get &lt;code&gt;ar&lt;/code&gt; version of the &lt;code&gt;parent&lt;/code&gt; item first and pass that item to &lt;code&gt;AddFromTemplate&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var arParent = parent.Database.GetItem(parent.ID, arLanguage);&#xA;var videoItem = ItemManager.AddFromTemplate(&quot;SampleName&quot;, &quot;&amp;lt;&amp;lt;template ID&amp;gt;&amp;gt;&quot;, arParent , &quot;&amp;lt;&amp;lt;GUID&amp;gt;&amp;gt;&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-06-24T17:51:57.697" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19566" PostTypeId="2" ParentId="19560" CreationDate="2019-06-24T21:32:42.023" Score="2" Body="&lt;p&gt;The field &lt;code&gt;content_1&lt;/code&gt; is not a template field. It is a computed field for indexing media items such as Word or PDF documents. My attempt to exclude fields named &quot;content&quot; was pointless!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to &lt;code&gt;patch:delete&lt;/code&gt; this computed field, but that caused another error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Field 'content___s' contains a term that is too large to process. The max length for UTF-8 encoded terms is 32766 bytes. The most likely cause of this error is that filtering, sorting, and/or faceting are enabled on this field, which causes the entire field value to be indexed as a single term. Please avoid the use of these options for large fields.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;My colleague &lt;a href=&quot;https://sitecore.stackexchange.com/users/3878/miguel-minoldo&quot;&gt;Miguel&lt;/a&gt; pointed me to this Sitecore support ticket which should resolve the issue &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.218625&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.218625&lt;/a&gt; (download &lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.218625/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What we also found to work (although may affect search functionality in some way) is to add a patch file as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultCloudIndexConfiguration type=&quot;Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.Azure.FieldMaps.CloudFieldMap, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_content&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;facetable&quot;&amp;gt;NO&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;filterable&quot;&amp;gt;NO&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;sortable&quot;&amp;gt;NO&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;text&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;facetable&quot;&amp;gt;NO&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;filterable&quot;&amp;gt;NO&amp;lt;/patch:attribute&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;sortable&quot;&amp;gt;NO&amp;lt;/patch:attribute&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;        &amp;lt;/defaultCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2019-06-25T14:46:58.910" LastActivityDate="2019-06-25T14:46:58.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19567" PostTypeId="1" AcceptedAnswerId="19568" CreationDate="2019-06-24T22:57:48.103" Score="1" ViewCount="186" Body="&lt;p&gt;I have a regular date field defined like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field type=&quot;System.DateTime&quot; fieldName=&quot;entry_date&quot; cloudFieldName=&quot;entry_date&quot; searchable=&quot;NO&quot; retrievable=&quot;YES&quot; facetable=&quot;YES&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot; boost=&quot;1f&quot; format=&quot;yyyy-MM-ddTHH:mm:ss.fffZ&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For some reason when I try to inspect the index using Azure Search explorer the field does not show up in the results although the other fields do bring results properly.&#xA;After rebuilding the index I would expect to see the custom field showing in my query but it doesn't show up. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;thoughts on what could be wrong? &lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2019-06-25T01:34:33.230" LastActivityDate="2019-06-28T00:29:14.520" Title="Date field not showing in Azure Search results" Tags="|azure-search|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19568" PostTypeId="2" ParentId="19567" CreationDate="2019-06-24T23:10:20.930" Score="4" Body="&lt;p&gt;Make sure your fieldName is matching the field name in Sitecore. So if it's &lt;code&gt;Entry Date&lt;/code&gt; in Sitecore then make it &lt;code&gt;entry date&lt;/code&gt; in the index, however you'll need to set the cloudFieldName to &lt;code&gt;entry_date&lt;/code&gt; or &lt;code&gt;entrydate&lt;/code&gt; for it to be compatible with azure search conventions. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;    &amp;lt;field type=&quot;System.DateTime&quot; fieldName=&quot;entry date&quot; cloudFieldName=&quot;entry_date&quot; searchable=&quot;NO&quot; retrievable=&quot;YES&quot; facetable=&quot;YES&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot; boost=&quot;1f&quot; format=&quot;yyyy-MM-ddTHH:mm:ss.fffZ&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;&amp;lt;/fieldNames&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please see the &lt;code&gt;App_Config\Sitecore\ContentSearch.Azure\Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config&lt;/code&gt; for where these configs should go and more examples. Also note you shouldn't modify stock configs, patch your changes instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that cloudFieldNames need to be unique for the whole index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If your change is still not showing in Azure Search after rebuilding the index then try delete the index manually in Azure Search and then rebuild it again.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-06-28T00:29:14.520" LastActivityDate="2019-06-28T00:29:14.520" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19569" PostTypeId="2" ParentId="19557" CreationDate="2019-06-24T23:24:09.393" Score="0" Body="&lt;p&gt;So it's not the requirement to achieve single-sign-on for site1.com and abc.site1.com. &#xA;It seems you only want to use same login &amp;amp; registration functionality in multiple sites? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case both sites are under same Sitecore instance then you can share login &amp;amp; registration renderings among the sites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case both sites are under different Sitecore instance and you have component based architecture like helix then you can reuse feature projects (for login &amp;amp; registration renderings) in multiple instances.  &lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-24T23:24:09.393" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19571" PostTypeId="1" CreationDate="2019-06-25T05:03:20.883" Score="1" ViewCount="180" Body="&lt;p&gt;I am not sure which API to use for developing a storefront website without SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, there are 2 similar APIs in the Sitecore commerce documentations to manage customers.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-commerce/en/customer-actions,-commands,-pipelines.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commerce Developer Reference - Customer&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-commerce/en/customer-service-methods.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Commerce Connect Developer Reference - Customer&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Which API reference should I use in which scenarios? &lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-07-07T11:53:40.370" Title="Development of custom storefront using commerce connect API or commerce API?" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19573" PostTypeId="1" CreationDate="2019-06-25T07:20:13.203" Score="0" ViewCount="169" Body="&lt;p&gt;We have a website developed using sitecore with no authentication functionality. We want to implement new sitecore features in this website. How can we implement sitecore personalization and machine learning with cortex for anonymous user in better way?&lt;/p&gt;&#xA;" OwnerUserId="3868" LastEditorUserId="69" LastEditDate="2022-01-05T19:27:45.977" LastActivityDate="2022-01-05T19:27:45.977" Title="Sitecore Personalization and Machine learning for anonymous users" Tags="|personalization|cortex|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19575" PostTypeId="2" ParentId="19573" CreationDate="2019-06-25T08:03:25.850" Score="2" Body="&lt;p&gt;If you asking about out-of-the-box cortex-based personalization suggester: it does not matter whether the user is anonymous or known. For machine learning model it uses visit data from all users (whole interaction repository is used as an initial dataset for ML model). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no &quot;better way&quot; in ML problems solving. It depends on concrete task and results that you want to achieve. I just can divide work with sitecore and ML in following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You should have 100% clear task (understand what you need to do and how should it work)&lt;/li&gt;&#xA;&lt;li&gt;Determine what type of ML problem is your task (classification/regression/clustering/association/etc.)&lt;/li&gt;&#xA;&lt;li&gt;Prepare dataset for your ML model&lt;/li&gt;&#xA;&lt;li&gt;Find train algorithm that is the best for your task and your dataset&lt;/li&gt;&#xA;&lt;li&gt;Integrate it with sitecore (cortex)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-06-25T09:20:15.687" LastActivityDate="2019-06-25T09:20:15.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19576" PostTypeId="2" ParentId="19561" CreationDate="2019-06-25T09:09:31.400" Score="1" Body="&lt;p&gt;Like I've already mentioned in the comment - that is known the issue. It is already fixed in the SXA 1.9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can try to update the script on your side. Please change the &lt;code&gt;setTimeout()&lt;/code&gt; function to something like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;setTimeout(function () {&#xA;    hashObj = queryModel.parseHashParameters(window.location.hash);&#xA;    param = data.searchResultsSignature !== &quot;&quot; ? data.searchResultsSignature + &quot;_e&quot; : &quot;e&quot;;&#xA;    if (hash[param] !== &quot;0&quot;) {&#xA;        hashObj[param] = 0;&#xA;        Backbone.history.navigate(that.createFirstPageUrlHash(hashObj), { trigger: true, replace: true });&#xA;    }&#xA;}, 100);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, add &lt;code&gt;param&lt;/code&gt; parameter to the &lt;code&gt;var&lt;/code&gt; statement which is on the beginning of &lt;code&gt;handleLoadedData()&lt;/code&gt; function.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-06-25T09:09:31.400" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19578" PostTypeId="2" ParentId="19571" CreationDate="2019-06-25T10:55:25.293" Score="2" Body="&lt;p&gt;&lt;strong&gt;Commerce Developer Reference&lt;/strong&gt; focuses on the developer experience of using the XC plugin framework to extend or customize Commerce Engine functionality. It explains Commands, Actions, Pipelines etc. used under various plugins of Commerce Engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Commerce Connect Developer Reference&lt;/strong&gt; is an integration layer between a front-end web shop solution and a back-end Commerce engine. It provides Service providers which are wrapper objects designed to make it easier to interact with Commerce engine pipelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hence, while working with Commerce Engine (backend) you should refer Commerce Developer Reference, and from storefront website (SXA or Non-SXA) you should always use Commerce Connect services.&lt;/p&gt;&#xA;" OwnerUserId="5512" LastActivityDate="2019-06-25T10:55:25.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19579" PostTypeId="2" ParentId="19573" CreationDate="2019-06-25T10:59:19.970" Score="2" Body="&lt;h2&gt;What do you want to do?&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Before you dive in, the first thing you need to figure out is the business goal that you want to accomplish. You might not need to use Cortex at all, but until you define what you want to do, you are potentially just throwing money away building something nobody needs that is overarchitected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to enhance the site, the first thing to do is figure out what is important to the business. What do they need to do? What will help them? Then start thinking about how to get there.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Rules-based Personalization&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;In order to do personalization for unidentified contacts, you will want to make sure you use rules that are built on behavior instead of demographics. Things like goals triggered during the session, pages visited, etc.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Personalization Suggestions&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Personalization Suggestions, which is part of the Cortex brand, works based off the results of Content Testing. So if you would like to leverage that, you can set up some content tests on a component, let it run until you have enough data for the test, and the suggestions will be made based on the different types of users that have interacted with the test.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Cortex Processing Engine&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you would like to do something more customized with your machine learning, perhaps leveraging the Cortex processing engine, then you are likely looking at developing an algorithm and model to analyze interaction behaviour of Contacts in the xDB. Even if they don't log in, you can have unidentified Contacts with interaction histories. You can then employ standard data science techniques on the data in xDB to develop something that works for your business case.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-06-25T10:59:19.970" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19580" PostTypeId="1" AcceptedAnswerId="19587" CreationDate="2019-06-25T13:25:46.660" Score="2" ViewCount="336" Body="&lt;p&gt;&lt;strong&gt;Hi guys,&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a fairly simple question. I have created some &lt;code&gt;custom facets&lt;/code&gt; and tested them for &lt;code&gt;known&lt;/code&gt; Contacts and they work. But when I do the same regarding &lt;code&gt;Anonymous&lt;/code&gt; Contacts, I could not set the &lt;code&gt;custom facets&lt;/code&gt; being set on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4TTp0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4TTp0.png&quot; alt=&quot;anonymous facets on db&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could not find anything in Sitecore documentation about it. Do you think it is even possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my code for getting the contact for &lt;code&gt;known&lt;/code&gt; and &lt;code&gt;anonymous&lt;/code&gt; contact:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string contactId = CurrentTracker.Contact.ContactId.ToString(&quot;N&quot;);&#xA;        var trackerIdentifier = IsAnonymous ? new IdentifiedContactReference(Constants.IdentifierSource, contactId) &#xA;            : new IdentifiedContactReference(ContactSource, Identifier);&#xA;&#xA;        using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            try&#xA;            {&#xA;                var facets = new string[]&#xA;                {&#xA;                    PersonalInformation.DefaultFacetKey,&#xA;                    ServiceabilityFacet.DefaultFacetKey,&#xA;                    CustomerAttributesFacet.DefaultFacetKey&#xA;                };&#xA;&#xA;                return client.Get&amp;lt;Contact&amp;gt;(trackerIdentifier, new ContactExpandOptions(facets));&#xA;            }&#xA;            catch (XdbExecutionException ex)&#xA;            {&#xA;                Log.Error($&quot;Could not load contact by identifier {contactId}&quot;, ex, this);&#xA;                return null;&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5575" LastEditorUserId="5096" LastEditDate="2019-06-26T07:16:00.143" LastActivityDate="2019-06-26T07:16:00.143" Title="Custom Facet for Anonymous Contact. Is it possible?" Tags="|xdb|xconnect|experience-analytics|experience-profile|contact-facets|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19581" PostTypeId="2" ParentId="19211" CreationDate="2019-06-25T14:09:42.097" Score="1" Body="&lt;p&gt;You have issues with syntax in your second dialogue, essentially you weren't concatenating the string like you thought you were. This should work.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$dialog1 = Read-Variable -Parameters `&#xA;    @{ Name = &quot;itemPath&quot;; Title = &quot;Select Location&quot;; Root=&quot;$($siteNode.Paths.FullPath)/Data/POIs&quot;; Editor=&quot;item&quot;} `&#xA;    -Description &quot;This module is used to import Data.&quot; `&#xA;    -Width 400 -Height 200 `&#xA;    -Title &quot;Import Utility&quot; `&#xA;    -OkButtonName &quot;Import&quot; `&#xA;    -CancelButtonName &quot;Cancel&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Let's build up what's happening here in stages:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Root is expecting a string, so we start with &lt;code&gt;Root=&quot;&quot;&lt;/code&gt;&#xA;You want to embed a variable in this string, so you add your &lt;code&gt;$sitenode&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Root=&quot;$siteNode.Paths.FullPath&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But PowerShell is then interpreting the object properties as a literal string. It calls &lt;code&gt;object.ToString()&lt;/code&gt; on the &lt;code&gt;$siteNode&lt;/code&gt; variable itself. The actual content of the string Root is now: &quot;Sitecore.Data.Items.Item.Paths.FullPath&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you need to wrap anything you need evaluated (properties, methods) in &lt;code&gt;$()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Root=&quot;$($siteNode.Paths.FullPath)&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now the $siteNode properties/methods are evaluated instead of being embedded into the string as string literals - the Root string is the full path of your siteNode item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But you want to specify a specific path beneath the siteNode path, so you add your relative path directly to the string:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Root=&quot;$($siteNode.Paths.FullPath)/Data/POIs&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="345" LastActivityDate="2019-06-25T14:09:42.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19582" PostTypeId="1" CreationDate="2019-06-25T14:40:37.260" Score="-1" ViewCount="372" Body="&lt;p&gt;I had deployed &lt;code&gt;Sitecore Forms Extensions&lt;/code&gt; module through my solution (added all the files in project and items through &lt;code&gt;TDS&lt;/code&gt;). When I create a new form and start adding fields/sections, I am getting following &lt;code&gt;js&lt;/code&gt; error in console in the &lt;code&gt;PropertGridForm.js&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Uncaught TypeError: Cannot read property 'on' of undefined&#xA;at Object.initialize (VM4858 PropertyGridForm.js:17)&#xA;at callMethodIfExists (sitecore.js:2817)&#xA;at LifeCycleIterator.runOn (sitecore.js:2837)&#xA;at AppManager.start (sitecore.js:2457)&#xA;at sitecore.js:418&#xA;at sitecore.js:332&#xA;at Object.execCb (require.js:1650)&#xA;at Module.check (require.js:866)&#xA;at Module.&amp;lt;anonymous&amp;gt; (require.js:1113)&#xA;at require.js:132&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The error is occurring on the following line of the &lt;code&gt;js&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7R5h7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7R5h7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The loader keeps on spinning and not loading the fields to edit or update.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ym1FF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ym1FF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In local I have installed the &lt;code&gt;Sitecore Forms Extensions&lt;/code&gt; module and then &lt;code&gt;synced&lt;/code&gt; the items to &lt;code&gt;TDS&lt;/code&gt; which is deployed to the higher environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have anybody faced this issue? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me on the same.&lt;/p&gt;&#xA;" OwnerUserId="950" LastEditorUserId="5096" LastEditDate="2019-06-26T07:16:16.090" LastActivityDate="2020-08-07T13:04:50.503" Title="Create Sitecore Forms - PropertyGridForm.js error - Sitecore Forms Extensions" Tags="|sitecore-forms|tds|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19583" PostTypeId="1" AcceptedAnswerId="19589" CreationDate="2019-06-25T15:15:44.323" Score="3" ViewCount="1396" Body="&lt;p&gt;I am following sitecore-first approach and I have created two simple renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scaffold rendering&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import React from 'react';&#xA;import { Placeholder } from '@sitecore-jss/sitecore-jss-react';&#xA;&#xA;const Scaffold = ({rendering}) =&amp;gt; (&#xA;    &amp;lt;header&amp;gt;&#xA;        &amp;lt;div id=&quot;content&quot;&amp;gt;&#xA;            &amp;lt;Placeholder name=&quot;jss-left-row&quot; rendering={rendering} /&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/header&amp;gt;&#xA;);&#xA;&#xA;export default Scaffold;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ContentBlock rendering&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const ContentBlock = ({ fields }) =&amp;gt; (&#xA;  &amp;lt;React.Fragment&amp;gt;&#xA;    &amp;lt;Text tag=&quot;h2&quot; className=&quot;display-4&quot; field={fields.heading} /&amp;gt;&#xA;&#xA;    &amp;lt;RichText className=&quot;contentDescription&quot; field={fields.content} /&amp;gt;&#xA;  &amp;lt;/React.Fragment&amp;gt;&#xA;);&#xA;&#xA;export default ContentBlock;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Presentation Detail&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WLv5N.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WLv5N.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ContentBlock rendering is not visible in the child placeholder. I have even added ContentBlock rendering to the Layout Service Placeholders field on the Scaffold rendering item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What mistake am i doing? Any help would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5692" LastEditorUserId="5692" LastEditDate="2019-06-25T16:31:47.517" LastActivityDate="2019-06-26T07:53:22.247" Title="Issue with child placeholder in Sitecore-first approach" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19584" PostTypeId="1" CreationDate="2019-06-25T15:47:19.467" Score="1" ViewCount="115" Body="&lt;p&gt;Our application is on Sitecore 9.0.2 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have configured a list of Internal links in our Email(Header)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/84kPY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/84kPY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Link on the email is getting generated as shown below:-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://{hostname}/sitecore%20modules/Web/EXM/RedirectUrlPage.aspx?ec_eq=BJSDUnAPW4zW41C87Bv71%2bUzlfoyPY6pcn9gZeQjKT3Tmq4fThnqsDk8%2fez9OQJgbWVEXc8x9mfGM6rZo8MQp5Q6xB1lKqi1%2b6L2W7TCoK5FkUgu8WVY8qNxjqDj2io%2bWzGkchqGleSfuohPCCiK%2fQ04Do%2bqauo9cA7Q%2bKhUT%2fOG%2fRQvUGwGneR%2f%2fD3sULcIAQAqTcWbIrgCZE2swDCdFBnJOrjbkyrvoJhjypGSwLhMvKPCBQ%2b0qXVnKBfLe4fsaCKLF8EW7aTKb2v8NzkKLjUSMytMN0sPQrbbRQJx3IoYlUAaUD4z%2b7Q236MQSjBK4j3r%2ffVfJjITSj%2fsVLYwlPVAPlQQD3QYW4tIIUvb5VkysE%2feIITbjS8wKgVkYKUgF0kCWq53wKDNY4qcB4Y4sOLFn%2f6EjuOHnLoCN9KPSOt%2fOL7zoIKtLhJ7yF%2b9hY1Pldv6HEgZuxnqQnK%2bSqmPk%2bbm0pPx%2b3wRLDCegtsvprTq1C5qS8QSJViR1TTAWOV%2bneBYiM4I9GkSyMYysnAb3lHhtOwCogdFPTApAmzdEl%2btua8KzvN9igNC00ErfVjmTBJ1qFoVEr0KN1NcscD3ygmC8NvXTh3puzZA%2bDwFG4I%3d&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The link generated is not getting resolved as expected , it throws a potentially dangerous request error on click&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uFb77.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uFb77.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am i missing anything ? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="3133" LastEditDate="2019-06-25T16:24:25.263" LastActivityDate="2019-06-25T16:24:25.263" Title="EXM email links throw potentially dangerous request error" Tags="|exm|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19585" PostTypeId="2" ParentId="19583" CreationDate="2019-06-25T17:57:57.003" Score="1" Body="&lt;p&gt;You can explicitly define to which placeholders a component is allowed to be added to via the manifest component definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;manifest.addComponent({&#xA;    name: 'Sample-Component',&#xA;    icon: SitecoreIcon.Compass,&#xA;    allowedPlaceholders: ['why-not-jss'],&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks to this you will be able to add &lt;strong&gt;Sample-Component&lt;/strong&gt; to &lt;code&gt;why-not-jss&lt;/code&gt; placeholder.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-06-25T17:57:57.003" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19587" PostTypeId="2" ParentId="19580" CreationDate="2019-06-26T06:43:18.767" Score="3" Body="&lt;p&gt;Yes you can save custom facets for Anonymous contact as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have written a blog for creating and save custom facets, please refer both the blogs and verify if you missed anything.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://himmatsinghdulawat.blogspot.com/2019/06/create-custom-facet-model-in-sitecore-9.html&quot; rel=&quot;noreferrer&quot;&gt;Create Custom Facet Model in Sitecore 9&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://himmatsinghdulawat.blogspot.com/2019/06/work-with-custom-facet-in-sitecore-9.html&quot; rel=&quot;noreferrer&quot;&gt;Work with Custom Facet in Sitecore 9&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;A method &lt;code&gt;CurrentTracker.Session.IdentifyAs()&lt;/code&gt; in &lt;code&gt;Sitecore.Analytics interface&lt;/code&gt;, it is used to make your contact from Unknown (Anonymous) to Known.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know in case you need further help.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastActivityDate="2019-06-26T06:43:18.767" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19589" PostTypeId="2" ParentId="19583" CreationDate="2019-06-26T07:32:53.610" Score="4" Body="&lt;p&gt;Sitecore JSS use Dynamic Placeholders,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add the unique identifier (uid) from the Scaffold-Component to the placeholder key from the underlying Content Block. In the Presentation Detail,&#xA;somethings like this (depend or your GUID of the parent component)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/jss-main/jss-left-row-{99BBC2D3-972E-4E37-8DC5-2D6267DF3464}-0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The most convenient is to create the content, add the components with the Experience editor. Then the placeholder keys are automatically correct&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check if the component is in the rendering output with this url:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/api/layout/render/jss?item=/yoururl&amp;amp;sc_apikey={your-api-key}&amp;amp;sc_site=your-site&amp;amp;sc_lang=en&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you know if the data is missing because it is not in the JSON or if there is somethings in your React app todo to show.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More about &lt;a href=&quot;https://jss.sitecore.com/docs/techniques/dynamic-placeholders&quot; rel=&quot;nofollow noreferrer&quot;&gt;dynamic-placeholders&lt;/a&gt;&#xA;You can also take a look at the JSS React Sample App, see the home/styleguide page for a working example of a page with dynamic placeholders.&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-06-26T07:53:22.247" LastActivityDate="2019-06-26T07:53:22.247" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19590" PostTypeId="1" AcceptedAnswerId="20058" CreationDate="2019-06-26T07:53:06.830" Score="0" ViewCount="732" Body="&lt;p&gt;Is it possible to get the few renderings' (present on the page) contents dynamically, but the catch is like I don't want HTML instead I want the field values which are used to be displayed on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The main purpose is that I have to send all fields' data to an API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Envrionment: Sitecore 8.2 update 1 (MVC)&lt;/p&gt;&#xA;" OwnerUserId="2983" LastEditorUserId="73" LastEditDate="2020-12-16T09:24:24.527" LastActivityDate="2023-12-31T14:06:55.807" Title="Is it possible to get page content dynamically (Not HTML but field values which are displayed on the page)?" Tags="|sitecore-api|item-web-api|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19591" PostTypeId="1" CreationDate="2019-06-26T08:18:03.307" Score="1" ViewCount="39" Body="&lt;p&gt;In my application &lt;code&gt;server side&lt;/code&gt; scripts are loading before loading scripts from Sitecore &lt;code&gt;themes&lt;/code&gt;. Is there any possibility to load Sitecore &lt;code&gt;themes&lt;/code&gt; first.&#xA;I want to order the scripts of server end and Sitecore end.&lt;/p&gt;&#xA;" OwnerUserId="3419" LastEditorUserId="3419" LastEditDate="2019-06-26T09:54:38.463" LastActivityDate="2019-06-26T09:54:38.463" Title="Is it possible to load sitecore themes before loading server side scripts?" Tags="|sxa|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19592" PostTypeId="1" CreationDate="2019-06-26T09:19:22.313" Score="3" ViewCount="543" Body="&lt;p&gt;Currently we are using Google analytics but in future we would like to utilize Sitecore Analytics? Can we migrate past Google analytics data to Sitecore xDB?&lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="5096" LastEditDate="2019-06-26T10:08:50.807" LastActivityDate="2019-06-27T14:49:43.137" Title="Can we migrate Google analytics data to Sitecore xDB?" Tags="|xdb|experience-analytics|migration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19594" PostTypeId="1" AcceptedAnswerId="19877" CreationDate="2019-06-26T09:55:33.140" Score="3" ViewCount="259" Body="&lt;p&gt;I'm new to SPEAK and would like to develop an application for my current project, which is in Sitecore 8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did go through the &lt;a href=&quot;https://doc.sitecore.com/legacy-docs/SC72/speak-developers-cookbook-sc72-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;SPEAK developers cookbook for 7.2&lt;/a&gt; and some other examples available online, but they all are similar and talk about displaying lists of Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My requirement is to have pages which will be used by content authors or administrators, for example:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Show a list of all Sitecore users and have the search functionality to  search by name or domain.&lt;/li&gt;&#xA;&lt;li&gt;Show a list of all orders with pagination, search, edit etc. The orders here are not Sitecore items. They are maintained in another non-sitecore database.&lt;/li&gt;&#xA;&lt;li&gt;A page to allow creation of fake items under a parent&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have already developed these pages using custom controller renderings (which use Ajax calls to save/retrieve data). The page items are now in the master Db (of-course set to never publish), and are working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, the content for some tasks is NOT from Sitecore items. I would now like to have these pages as SPEAK apps, mainly to be in-line with the CMS design, look &amp;amp; feel. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because, after going through the material, I feel it is easier &amp;amp; quicker for me to write code and develop such apps, instead of all the configurations to be made for SPEAK. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone please point me with any examples that suggest how to develop SPEAK apps in the regular Controller rendering approach.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="246" LastEditDate="2019-07-14T13:24:24.700" LastActivityDate="2019-07-14T13:24:24.700" Title="SPEAK application for non Sitecore items" Tags="|speak|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19597" PostTypeId="2" ParentId="19590" CreationDate="2019-06-26T10:25:03.833" Score="0" Body="&lt;p&gt;If you are using MVC, you could simply build a controller rendering and format the cshtml markup as JSON (depending on where this component is placed in the rendering/placeholder structure of your page). You could also make it output a &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; block with a variable initialised to the required JSON data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After realising that you want the output from &lt;em&gt;multiple&lt;/em&gt; renderings as JSON from a &lt;em&gt;single&lt;/em&gt; request, this would need a different approach. You could make a JSON device along with a JSON-specific layout so for &lt;code&gt;&amp;lt;hostname&amp;gt;/my-page&lt;/code&gt; you could then request &lt;code&gt;&amp;lt;hostname&amp;gt;/api/my-page&lt;/code&gt; which would render the same page (and hence renderings) but using the JSON device (and hence JSON layout and renderings).&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2019-06-26T12:48:30.737" LastActivityDate="2019-06-26T12:48:30.737" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19598" PostTypeId="1" AcceptedAnswerId="19641" CreationDate="2019-06-26T10:58:27.863" Score="6" ViewCount="159" Body="&lt;p&gt;I happened to create two marketplace modules. One of them was by a mistake and need to be removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After uploading module2, I got an email from Sitecore saying it was being reviewed and after 3 weeks it is approved and shows up in discover.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a suggestion from slack, I emailed &lt;code&gt;marketplace@sitecore.net&lt;/code&gt; requesting to remove module1 but there was no response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I have updated the screenshot &amp;amp; about section for module2, but it still doesn't show up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone please guide me how to contact Marketplace to have my concerns resolved.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2019-06-28T14:24:01.857" Title="How to remove a module from Sitecore Marketplace" Tags="|sitecore-marketplace|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19599" PostTypeId="1" CreationDate="2019-06-26T11:05:22.267" Score="1" ViewCount="256" Body="&lt;p&gt;I am upgrading Sitecore xConnect from version 9.0.1 to 9.1.1 and after following steps from the &lt;code&gt;Sitecore-911-Upgrade-Guide&lt;/code&gt;, I copy &amp;amp; pasted the provided files and folders to the &lt;code&gt;xConnect&lt;/code&gt; folder. But now I cannot start &lt;code&gt;Sitecore Marketing Automation Engine&lt;/code&gt; service anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting this error in the logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&quot;The certificate was not found. Store: My, Location: LocalMachine, FindType: FindByThumbprint, FindValue...&quot;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I checked all connection strings to check thumbprint and they look fine. Any suggestion? It is weird that it doesn't work after copying files, especially since I didn't change any &lt;code&gt;App_Config&lt;/code&gt; folders.&lt;/p&gt;&#xA;" OwnerUserId="3570" LastEditorUserId="70" LastEditDate="2019-06-26T13:52:26.950" LastActivityDate="2019-06-26T13:52:26.950" Title="Certificate Error starting the Sitecore Marketing Automation Engine service" Tags="|xconnect|upgrade|marketing-automation|" AnswerCount="0" CommentCount="3" ClosedDate="2019-06-27T10:10:07.927" ContentLicense="CC BY-SA 4.0" />
  <row Id="19600" PostTypeId="2" ParentId="19582" CreationDate="2019-06-26T11:37:06.930" Score="0" Body="&lt;p&gt;Which version of Sitecore / SFE are you using? For me updating to 2.2 resolved the issue. See &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions/blob/master/downloads/Sitecore%209.1/Sitecore%20Forms%20Extensions%20for%20Sitecore%209.1-2.2.zip&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions/blob/master/downloads/Sitecore%209.1/Sitecore%20Forms%20Extensions%20for%20Sitecore%209.1-2.2.zip&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5700" LastActivityDate="2019-06-26T11:37:06.930" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19601" PostTypeId="1" AcceptedAnswerId="19609" CreationDate="2019-06-26T11:50:10.257" Score="2" ViewCount="1463" Body="&lt;p&gt;I am working on &lt;code&gt;Sitecore 9.0.2&lt;/code&gt; with &lt;code&gt;Sitecore 9 Forms&lt;/code&gt;. When I am trying to export the form data, it shows me that &quot;&lt;strong&gt;The list is being exported&lt;/strong&gt;&quot; but I get nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the screenshot for reference:-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3kQ5K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3kQ5K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This message I see when I select &lt;code&gt;Complete List&lt;/code&gt; in the export wizard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HNVwj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HNVwj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get a different message when I select a specific &lt;code&gt;Date Range&lt;/code&gt; like below:-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ccVUD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ccVUD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hCkEY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hCkEY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I looked into the console I found &lt;code&gt;401 Status&lt;/code&gt; for export data request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3YWd1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3YWd1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any configuration to export form data which I am missing? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3133" LastEditorUserId="73" LastEditDate="2019-06-26T13:18:43.057" LastActivityDate="2019-06-26T17:59:47.887" Title="Export form data not working" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19602" PostTypeId="2" ParentId="19592" CreationDate="2019-06-26T14:08:49.643" Score="5" Body="&lt;p&gt;I think that this is probably going to result in opinionated answers. But the question does have merit. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;tl/dr;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Use both. Don't silo yourself into just one platform. The more data you have, the better/more accurate your data and reporting is. Then you can make informed marketing decisions based on that.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Why Both&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I forget where, but I heard it said:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Google Analytics is for reporting, Sitecore Analytics is for Marketing&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;And that kinda sums up why you might use both. GA is an industry standard for reporting. It has good market maturity, some very nice visualizations and can give you a high level view of how your site is performing easily.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also can do goal &amp;amp; event tracking, funneling, integrate Ad Words etc... It is very powerful.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The downsides, it uses client side JavaScript to track and it doesn't have any integration with your content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is where Sitecore Analytics (xDB) comes in. With Sitecore Analytics, you get a more focused view of each user. It is tied nicely to the content and you can use that for personalization or multivariate testing etc... You can track page events and goals from within the CMS and you can have real time page optimization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The analytics is tracked server side, so no issues with ad blockers etc... And Path Analyzer is pretty cool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The cons, its not as mature as GA. It can store massive amounts of data, which has a cost associated with that. If you've ever had to rebuild the reporting database, you will know it can take days for large data sets. You have extra infrastructure to maintain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ultimately - they both have things that a marketing team will need, and neither does everything. So just use both and pick which set of tooling is going to fill your marketing requirements better for each task.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-26T14:08:49.643" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19603" PostTypeId="1" CreationDate="2019-06-26T14:30:08.883" Score="1" ViewCount="451" Body="&lt;p&gt;For VariantTemplate, I want the tag to be empty and just want the value from the template.&#xA;Even when selecting the empty tag, it renders a div in the site.&#xA;I also changed the standard values of VariantTemplate to change to an empty tag. Still doesn't work.&#xA;Is there a way to get empty tags?&#xA;I'm using SXA version 1.8&#xA;&lt;a href=&quot;https://i.stack.imgur.com/BtHRq.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BtHRq.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3632" LastActivityDate="2019-11-04T23:36:19.660" Title="Render empty tags in SXA" Tags="|sxa|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19604" PostTypeId="2" ParentId="19603" CreationDate="2019-06-26T14:45:18.487" Score="0" Body="&lt;p&gt;As far as I remember from the code in 1.8 this is how it works. We had fallback there, so even if you will leave this field empty it will render &lt;code&gt;div&lt;/code&gt; anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Good news is that we've changed this behaviour. In 1.9 you will be able to skip the wrapping tag (I'm not sure if this is already in 1.8.1).&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-06-26T14:45:18.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19605" PostTypeId="2" ParentId="19603" CreationDate="2019-06-26T14:45:30.960" Score="2" Body="&lt;p&gt;You can't do this out of the box. You need to patch the &lt;code&gt;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderTemplate.RenderField&lt;/code&gt; method. Out of the box, this method does this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void RenderField(RenderVariantFieldArgs args)&#xA;{&#xA;  Sitecore.XA.Foundation.RenderingVariants.Fields.VariantTemplate variantField = args.VariantField as Sitecore.XA.Foundation.RenderingVariants.Fields.VariantTemplate;&#xA;  if (variantField == null)&#xA;    return;&#xA;  HtmlGenericControl tag = new HtmlGenericControl(string.IsNullOrWhiteSpace(variantField.Tag) ? &quot;div&quot; : variantField.Tag);&#xA;  this.AddClass(tag, variantField.CssClass);&#xA;  this.AddWrapperDataAttributes((RenderingVariantFieldBase) variantField, args, tag);&#xA;  Dictionary&amp;lt;string, object&amp;gt; parameters = new Dictionary&amp;lt;string, object&amp;gt;()&#xA;  {&#xA;    {&#xA;      &quot;item&quot;,&#xA;      (object) args.Item&#xA;    }&#xA;  };&#xA;  if (args.Parameters != null &amp;amp;&amp;amp; args.Parameters.ContainsKey(&quot;geospatial&quot;))&#xA;    parameters.Add(&quot;geospatial&quot;, args.Parameters[&quot;geospatial&quot;]);&#xA;  tag.InnerHtml = ServiceLocator.ServiceProvider.GetService&amp;lt;ITemplateRenderer&amp;gt;().ExecuteTemplate(args.Item.Name, variantField.Template, parameters);&#xA;  args.ResultControl = (Control) tag;&#xA;  args.Result = this.RenderControl(args.ResultControl);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice this line: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HtmlGenericControl tag = new HtmlGenericControl(string.IsNullOrWhiteSpace(variantField.Tag) ? &quot;div&quot; : variantField.Tag);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So if the tag field is empty, it defaults to a div. In my solution I replaced that method with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RenderTemplate : Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderTemplate&#xA;{&#xA;    public override void RenderField(RenderVariantFieldArgs args)&#xA;    {&#xA;        var variantField = args.VariantField as VariantTemplate;&#xA;        if (variantField == null)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        if (!string.IsNullOrWhiteSpace(variantField.Tag))&#xA;        {&#xA;            base.RenderField(args);&#xA;        }&#xA;        else&#xA;        {&#xA;            var templateRenderer = ServiceLocator.ServiceProvider.GetService&amp;lt;ITemplateRenderer&amp;gt;();&#xA;            var parameters = new Dictionary&amp;lt;string, object&amp;gt;() { { &quot;item&quot;, args.Item } };&#xA;            if (args.Parameters != null &amp;amp;&amp;amp; args.Parameters.ContainsKey(&quot;geospatial&quot;))&#xA;            {&#xA;                parameters.Add(&quot;geospatial&quot;, args.Parameters[&quot;geospatial&quot;]);&#xA;            }&#xA;&#xA;            // There is no surrounding html tag, so just render the resulting string from the template.&#xA;            args.Result = templateRenderer.ExecuteTemplate(args.Item.Name, variantField.Template, parameters);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, it keeps the empty tag field and just renders the contents out. Just patch that method instead of the default one, like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;renderVariantField&amp;gt;&#xA;                &amp;lt;processor type=&quot;MyNamespace.RenderTemplate, MyAssembly&quot; resolve=&quot;true&quot;&#xA;                        patch:instead=&quot;processor[@type='Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderTemplate, Sitecore.XA.Foundation.RenderingVariants']&quot; /&amp;gt;&#xA;            &amp;lt;/renderVariantField&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For this patch file, its important that you place it in a &lt;code&gt;z.Folder&lt;/code&gt; so that it patches after all the SXA include files that are in the &lt;code&gt;App_Config/Include&lt;/code&gt; folder, otherwise the patch will fail.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-06-26T14:45:30.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19606" PostTypeId="1" CreationDate="2019-06-26T15:15:46.440" Score="2" ViewCount="270" Body="&lt;p&gt;When I was using MongoDB on Sitecore 8.1, Page Events were stored in the Interactions collection; I could query them this way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;`db.getCollection('Interactions').find({ &quot;Pages.PageEvents&quot; : { $size: 1 } }).sort({StartDateTime: -1})`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am creating Page Events and they are indeed being aggregated in the Reporting Database the next day; but despite my best efforts, I could not find where they are being stored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where are Custom Page Events stored before Aggregation in an XP Scaled Sitecore 9.1 solution?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="73" LastEditDate="2019-06-26T15:19:23.530" LastActivityDate="2019-06-29T04:03:49.323" Title="Where are Page Events that have not yet been aggregated in the Reporting Database stored?" Tags="|xconnect|reporting|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19607" PostTypeId="2" ParentId="10385" CreationDate="2019-06-26T15:27:17.687" Score="1" Body="&lt;p&gt;You should also have a license for &lt;code&gt;Sitecore.ContentManager&lt;/code&gt; - this will take you to 6 for the whole environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other counts that can impact the Environment count include:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Sitecore.Env.ColdStandby&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2359" LastActivityDate="2019-06-26T15:27:17.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19609" PostTypeId="2" ParentId="19601" CreationDate="2019-06-26T17:59:47.887" Score="2" Body="&lt;p&gt;I've seen this behavior when there is no data for the form in the database. &#xA;As mentioned in the comments, that seems to be your case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check if your form has the &quot;&lt;code&gt;Save data&lt;/code&gt;&quot; submit action. This will save the data in the database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also make sure that this submit action is not preceded with a redirect action as that would abort the execution of subsequent steps (all actions after a redirect are not performed).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If needed, check in the web database that the save data action is present - it might be not published. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/working-with-submit-actions.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/working-with-submit-actions.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-06-26T17:59:47.887" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19610" PostTypeId="1" CreationDate="2019-06-26T18:25:00.523" Score="1" ViewCount="84" Body="&lt;p&gt;How are Item Definitions managed in Sitecore Commerce 9.1?  They are referred to by the Composer, but that UI does not have an add function.&lt;/p&gt;&#xA;&lt;p&gt;See: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/experience-commerce-entity-composer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/experience-commerce-entity-composer&lt;/a&gt; for an example of how they are used.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ufaee.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ufaee.png&quot; alt=&quot;Composer option to link to it&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://i.stack.imgur.com/ahxs8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ahxs8.png&quot; alt=&quot;Empty item definition list&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In the Composer, they are referenced here, but the associate UI does not allow creating new ones.&lt;/p&gt;&#xA;" OwnerUserId="247" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-06-26T18:57:11.570" Title="How are Item Definitions managed" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19611" PostTypeId="2" ParentId="19610" CreationDate="2019-06-26T18:45:26.787" Score="2" Body="&lt;p&gt;They are added directly to the catalog, in the details section: &#xA;&lt;a href=&quot;https://i.stack.imgur.com/Nu3GC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Nu3GC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="247" LastActivityDate="2019-06-26T18:45:26.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19612" PostTypeId="1" AcceptedAnswerId="19615" CreationDate="2019-06-26T20:05:28.753" Score="1" ViewCount="139" Body="&lt;p&gt;I'm not finding anything on this, and when I try to play around with items in the &lt;code&gt;core&lt;/code&gt; database, I'm not seeing them change for a given user.  Any idea if this is possible to do?  I'm adding them under &lt;code&gt;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/My Strip&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can edit the Customize item under that and it gets reflected when I log in as a different user, but adding sibling items to Customize don't seem to show up, and there is no security assigned to those items just as there are none for the Customize item...&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="70" LastEditDate="2019-06-27T01:08:33.917" LastActivityDate="2019-06-27T15:10:23.567" Title="Pre-customize My Toolbar for users of a given role or domain?" Tags="|content-editor|ribbon|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19613" PostTypeId="1" AcceptedAnswerId="19614" CreationDate="2019-06-27T01:12:57.483" Score="5" ViewCount="1004" Body="&lt;p&gt;I have to do a POC in Sitecore JSS. I understand Sitecore 8.2 license can be used with Sitecore 9.1 but I need to know if I can work with JSS using my existing Sitecore 8.2 license? &lt;/p&gt;&#xA;" OwnerUserId="4233" LastEditorUserId="5096" LastEditDate="2019-06-27T04:24:51.743" LastActivityDate="2019-06-27T04:24:51.743" Title="Sitecore license for JSS" Tags="|jss|licensing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19614" PostTypeId="2" ParentId="19613" CreationDate="2019-06-27T01:13:49.530" Score="7" Body="&lt;p&gt;To check if your license is a JSS-enabled license, open your license.xml in a text editor and search for &lt;code&gt;Sitecore.JSS&lt;/code&gt;, if it's found, you can use JSS.&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="70" LastEditDate="2019-06-27T02:32:02.610" LastActivityDate="2019-06-27T02:32:02.610" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19615" PostTypeId="2" ParentId="19612" CreationDate="2019-06-27T02:49:56.767" Score="4" Body="&lt;p&gt;The values for this are stored in the registry per user. Below is an example on how to modify the data with Sitecore PowerShell Extensions (SPE).&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$ribbonCommands = &quot;{D33A0641-9F1C-4984-8342-0655C3D0F123}|{EDA2F1DC-0412-45B2-9FDD-0700B03F28CB}|{93F6C3FE-B36E-4083-BA48-19DE43F19F49}&quot;&#xA;$registryKey = &quot;/Current_User/Ribbon/My Strip&quot;&#xA;&#xA;&amp;lt;#&#xA;  Current_User is automatically replaced by the Sitecore API&#xA;  Optionally replace Current_User with domain\username if you want &#xA;  to apply to a different user than the one logged in&#xA;#&amp;gt;&#xA;[Sitecore.Web.UI.HtmlControls.Registry]::SetValue($registryKey, $ribbonCommands)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mVIcE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mVIcE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;One option to consider is to have a process run either periodically or during login that would ensure the user has the appropriate settings applied. SPE has an integration point for this.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-06-27T15:10:23.567" LastActivityDate="2019-06-27T15:10:23.567" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="19616" PostTypeId="1" AcceptedAnswerId="19618" CreationDate="2019-06-27T04:34:12.970" Score="2" ViewCount="181" Body="&lt;h2&gt;Question&lt;/h2&gt;&#xA;&lt;p&gt;I am trying to create a Digital based product in &lt;code&gt;Sitecore Commerce&lt;/code&gt;, where the product can be fulfilled via digital means (e.g email).&lt;/p&gt;&#xA;&lt;p&gt;Based on my testing via postman using &lt;code&gt;Habitat&lt;/code&gt; Catalog(see below), it appears that a fulfillment type for a cart is directly related to the Sellable items added on the cart.&lt;/p&gt;&#xA;&lt;p&gt;But in the Sitecore Commerce Business tool, I can't find a way to configure the sellable item's fulfillment type/options to digital.&lt;/p&gt;&#xA;&lt;p&gt;Does anyone know how the logic works and how to configure it? Thanks in advance&lt;/p&gt;&#xA;&lt;h2&gt;Testing via Postman&lt;/h2&gt;&#xA;&lt;h3&gt;1. Digital Product Example&lt;/h3&gt;&#xA;&lt;p&gt;&lt;strong&gt;1a. Postman - Add Cart Line with Variant&lt;/strong&gt;&#xA;Product: &lt;code&gt;Habitat_Master|6042986|56042986 -- Habitat Gift Cards ($25)&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Url: &lt;code&gt;{{ServiceHost}}/{{ShopsApi}}/AddCartLine()&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Body:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &amp;quot;cartId&amp;quot;:&amp;quot;TestCart01&amp;quot;,&#xA;    &amp;quot;itemId&amp;quot;: &amp;quot;Habitat_Master|6042986|56042986&amp;quot;,&#xA;    &amp;quot;quantity&amp;quot;: 1&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;1b. Postman - Get cart fulfillment options&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Url: &lt;code&gt;{{ServiceHost}}/{{ShopsApi}}/GetCartFulfillmentOptions(cartId='TestCart01')&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Response:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &amp;quot;@odata.context&amp;quot;: &amp;quot;https://localhost:5000/Api/$metadata#FulfillmentOptions&amp;quot;,&#xA;    &amp;quot;value&amp;quot;: [&#xA;        {&#xA;            &amp;quot;CompositeKey&amp;quot;: null,&#xA;            &amp;quot;CreatedBy&amp;quot;: null,&#xA;            &amp;quot;UpdatedBy&amp;quot;: null,&#xA;            &amp;quot;DateCreated&amp;quot;: &amp;quot;2019-06-27T03:24:56.3161735Z&amp;quot;,&#xA;            &amp;quot;DateUpdated&amp;quot;: &amp;quot;2019-06-27T03:24:56.3161735Z&amp;quot;,&#xA;            &amp;quot;DisplayName&amp;quot;: &amp;quot;Digital&amp;quot;,&#xA;            &amp;quot;FriendlyId&amp;quot;: null,&#xA;            &amp;quot;Id&amp;quot;: &amp;quot;3878b502-85ac-41b5-9203-e0f8712a854b&amp;quot;,&#xA;            &amp;quot;Version&amp;quot;: 0,&#xA;            &amp;quot;EntityVersion&amp;quot;: 1,&#xA;            &amp;quot;Published&amp;quot;: true,&#xA;            &amp;quot;IsPersisted&amp;quot;: false,&#xA;            &amp;quot;Name&amp;quot;: &amp;quot;Digital&amp;quot;,&#xA;            &amp;quot;Policies&amp;quot;: [],&#xA;            &amp;quot;FulfillmentType&amp;quot;: &amp;quot;Digital&amp;quot;,&#xA;            &amp;quot;Enabled&amp;quot;: false,&#xA;            &amp;quot;Provider&amp;quot;: null,&#xA;            &amp;quot;CostType&amp;quot;: null,&#xA;            &amp;quot;Cost&amp;quot;: null&#xA;        }&#xA;    ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;2. Physical Product Example&lt;/h3&gt;&#xA;&lt;p&gt;&lt;strong&gt;2a. Postman - Add Cart Line with Variant&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Product: &lt;code&gt;Habitat_Master|6042963|56042963 -- Habitat Sentinel Touchscreen Thermostat&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Url: &lt;code&gt;{{ServiceHost}}/{{ShopsApi}}/AddCartLine()&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Body:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &amp;quot;cartId&amp;quot;:&amp;quot;TestCart02&amp;quot;,&#xA;    &amp;quot;itemId&amp;quot;: &amp;quot;Habitat_Master|6042963|56042963&amp;quot;,&#xA;    &amp;quot;quantity&amp;quot;: 1&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;2b. Postman - Get cart fulfillment options&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Url: &lt;code&gt;{{ServiceHost}}/{{ShopsApi}}/GetCartFulfillmentOptions(cartId='TestCart02')&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Response:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &amp;quot;@odata.context&amp;quot;: &amp;quot;https://localhost:5000/Api/$metadata#FulfillmentOptions&amp;quot;,&#xA;    &amp;quot;value&amp;quot;: [&#xA;        {&#xA;            &amp;quot;CompositeKey&amp;quot;: null,&#xA;            &amp;quot;CreatedBy&amp;quot;: null,&#xA;            &amp;quot;UpdatedBy&amp;quot;: null,&#xA;            &amp;quot;DateCreated&amp;quot;: &amp;quot;2019-06-27T03:24:56.3421052Z&amp;quot;,&#xA;            &amp;quot;DateUpdated&amp;quot;: &amp;quot;2019-06-27T03:24:56.3421052Z&amp;quot;,&#xA;            &amp;quot;DisplayName&amp;quot;: &amp;quot;Ship items&amp;quot;,&#xA;            &amp;quot;FriendlyId&amp;quot;: null,&#xA;            &amp;quot;Id&amp;quot;: &amp;quot;3817f8d5-994b-4fbc-8bbe-4c342ec7553a&amp;quot;,&#xA;            &amp;quot;Version&amp;quot;: 0,&#xA;            &amp;quot;EntityVersion&amp;quot;: 1,&#xA;            &amp;quot;Published&amp;quot;: true,&#xA;            &amp;quot;IsPersisted&amp;quot;: false,&#xA;            &amp;quot;Name&amp;quot;: &amp;quot;Ship items&amp;quot;,&#xA;            &amp;quot;Policies&amp;quot;: [],&#xA;            &amp;quot;FulfillmentType&amp;quot;: &amp;quot;ShipToMe&amp;quot;,&#xA;            &amp;quot;Enabled&amp;quot;: false,&#xA;            &amp;quot;Provider&amp;quot;: null,&#xA;            &amp;quot;CostType&amp;quot;: null,&#xA;            &amp;quot;Cost&amp;quot;: null&#xA;        }&#xA;    ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-06-27T07:51:40.057" Title="How to define a &quot;digital&quot; sellable item in Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19618" PostTypeId="2" ParentId="19616" CreationDate="2019-06-27T06:11:47.020" Score="3" Body="&lt;p&gt;If you want to mark your product as digital, you need to add any tag to the product or product variant from list below:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;OnlineTraining&lt;/li&gt;&#xA;&lt;li&gt;OnlineLearning  &lt;/li&gt;&#xA;&lt;li&gt;Subscription  &lt;/li&gt;&#xA;&lt;li&gt;DigitalSubscription&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Read my blog post about that: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.brimit.com/blog/sitecore-commerce-9-how-to-override-policy&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.brimit.com/blog/sitecore-commerce-9-how-to-override-policy&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-06-27T06:11:47.020" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19620" PostTypeId="2" ParentId="16535" CreationDate="2019-06-27T07:52:42.683" Score="6" Body="&lt;p&gt;In my case, I'm always doing this to fix that :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure your Sitecore configured properly for SOLR within&#xA;\App_Config\Sitecore\ContentSearch&lt;/li&gt;&#xA;&lt;li&gt;Check your connectionstrings for SOLR is configured properly or not&lt;/li&gt;&#xA;&lt;li&gt;Access SOLR admin (with browser, make sure it's https) to check whether it's on or not&lt;/li&gt;&#xA;&lt;li&gt;If it's on, check again if your configured index matches with SOLR&#xA;Core Admin&lt;/li&gt;&#xA;&lt;li&gt;If everything's ok, can try to recycle app pool for your site and&#xA;wait a few minutes  Check again from the control panel&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Make sure your SOLR Server turned on first before your Sitecore sites&lt;/p&gt;&#xA;" OwnerUserId="4774" LastEditorUserId="4774" LastEditDate="2019-06-27T07:57:46.810" LastActivityDate="2019-06-27T07:57:46.810" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19621" PostTypeId="1" AcceptedAnswerId="19622" CreationDate="2019-06-27T08:05:38.677" Score="3" ViewCount="250" Body="&lt;p&gt;Using Sitecore 9.1, SXA 1.8.1.  I have a page with a link list clone.  When I delete a link from that list and then publish via workflow the deletion is not propogated properly through to the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I thought I could iterate over the datasources and ensure those are published correctly.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I get access to the renderings of Workflow Test page it's datasource is a string like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;local:/Data/Promo Banner here&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aU7wp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aU7wp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a smart SXA way of easily getting a reference to that item?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is only when you choose to create the datasource under the local data folder.  If you instead point the SXA datasource at an item in the centralised data folder then it has an id as expected. &lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-06-27T09:47:42.310" Title="Accessing Page Rendering Datasources in workflow action" Tags="|sxa|best-practices|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19622" PostTypeId="2" ParentId="19621" CreationDate="2019-06-27T08:32:28.627" Score="3" Body="&lt;p&gt;In order to resolve such data sources you need to run &lt;code&gt;resolveRenderingDatasource&lt;/code&gt; pieline and it should do the job for you. Take a look at this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// don't need to use ServiceLocator, you can also use constructor injection to injects pipeline manager&#xA;BaseCorePipelineManager pipelineManager = ServiceLocator.ServiceProvider.GetService&amp;lt;BaseCorePipelineManager&amp;gt;();&#xA;ResolveRenderingDatasourceArgs args = new ResolveRenderingDatasourceArgs(&quot;YOUR_DATA_SOURCE_STRING_HERE&quot;);&#xA;pipelineManager.Run(&quot;resolveRenderingDatasource&quot;, args);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After this &lt;code&gt;args.Datasource&lt;/code&gt; can be an ID or a path (it also can be empty if the data source won't be resolved).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Depending on the place where you will run this code there might be some problems with accessing current context site or item. You might need to run &lt;code&gt;SiteContextSwitcher&lt;/code&gt; like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ResolveRenderingDatasourceArgs args = new ResolveRenderingDatasourceArgs(&quot;YOUR_DATA_SOURCE_STRING_HERE&quot;);&#xA;SiteInfo siteInfo = ServiceLocator.ServiceProvider.GetService&amp;lt;ISiteInfoResolver&amp;gt;().GetSiteInfo(CONTEXT_ITEM);&#xA;using (new SiteContextSwitcher(new SiteContext(siteInfo)))&#xA;{&#xA;    pipelineManager.Run(&quot;resolveRenderingDatasource&quot;, args);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-06-27T09:47:42.310" LastActivityDate="2019-06-27T09:47:42.310" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19623" PostTypeId="1" CreationDate="2019-06-27T09:25:35.773" Score="3" ViewCount="1064" Body="&lt;p&gt;My website has been built in multi languages. I am building forms using &lt;code&gt;Sitecore Form&lt;/code&gt; as well. However, I'm facing an issue with &lt;code&gt;Redirect to Page&lt;/code&gt; action under submit actions. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that when I'm in Chinese language, submit form then it redirects to a &lt;code&gt;Thank you&lt;/code&gt; page but this page is in English version instead of Chinese.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;May anyone help to advise on this? I'm using Sitecore 9.0 update 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QGGx3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QGGx3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3304" LastEditorUserId="73" LastEditDate="2019-06-27T10:49:03.880" LastActivityDate="2019-07-02T10:35:55.310" Title="&quot;Redirect to Page&quot; action doesn't follow up multilingual in Sitecore Form" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19625" PostTypeId="1" AcceptedAnswerId="23005" CreationDate="2019-06-27T13:12:54.513" Score="7" ViewCount="143" Body="&lt;p&gt;I'm using &lt;code&gt;Data Exchange Framework&lt;/code&gt; and Tenant Service in Sitecore 9.1 with &lt;code&gt;identity server&lt;/code&gt; on, and while testing the Tenant Service site with &lt;code&gt;[host]/api/tenant&lt;/code&gt; request I constantly getting &quot;&lt;strong&gt;login failed&lt;/strong&gt;&quot; error in the logs of Tenant Service web site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I'm sure I have a correct connection string for my Tenant Service web site. May this error have some relations to the &lt;code&gt;Identity Server&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="2982" LastEditorUserId="73" LastEditDate="2019-06-28T07:22:18.463" LastActivityDate="2019-11-15T12:04:18.527" Title="Tenant Service not working" Tags="|data-exchange-framework|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19626" PostTypeId="1" CreationDate="2019-06-27T14:49:12.783" Score="0" ViewCount="322" Body="&lt;p&gt;I have pdf files in folder, I want user enable to download file, in MVC controller its quite simple as below &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;return File(fileBytes, System.Net.Mime.MediaTypeNames.Application.Octet, filename);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but it does not work with Sitecore and throws following exception, can anyone give minimal example how it can be achieved. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;OutputStream is not available when a custom TextWriter is used.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="3619" LastEditorUserId="73" LastEditDate="2019-06-28T07:21:45.990" LastActivityDate="2019-06-28T07:21:45.990" Title="Returning a file stream from a Controller" Tags="|mvc-forms|controller|pdf|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19627" PostTypeId="2" ParentId="19592" CreationDate="2019-06-27T14:49:43.137" Score="2" Body="&lt;p&gt;It can be quite challenging to migrate data from Google analytics to Sitecore xDB, depending to what extent you want it to be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use &lt;em&gt;Sitecore 9.0 or higher&lt;/em&gt;, in order to import external data to xDB, you can leverage &lt;strong&gt;xConnect Client API&lt;/strong&gt;, which allows to write data to the Experience Database and add &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/work-with-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;contacts&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/add-interactions.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;interactions&lt;/a&gt;. You can find detailed documentation &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/xconnect-218634.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And if you use &lt;em&gt;older versions of Sitecore&lt;/em&gt;, you can also take a look into &lt;em&gt;Sitecore Data Exchange Framework&lt;/em&gt;, which is designed to facilitate the transfer of data between systems and can read external data and create contacts in xDB. You can find more information &lt;a href=&quot;https://doc.sitecore.com/developers/def/21/data-exchange-framework/en/data-exchange-framework.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another possibility you might want to consider is to export both Google Analytics data and Sitecore Analytics data to a third-party Business Intelligence platforms (e.g. Power BI, etc.) to have analytics data from different systems aggregated in one place for marketers to take advantage of. You can use &lt;strong&gt;xConnect Client API&lt;/strong&gt; that allows to &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/extracting-contacts-and-interactions.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;extract contacts and interactions&lt;/a&gt;. &lt;/p&gt;&#xA;" OwnerUserId="5705" LastActivityDate="2019-06-27T14:49:43.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19628" PostTypeId="1" CreationDate="2019-06-27T16:38:42.493" Score="2" ViewCount="336" Body="&lt;p&gt;i've a Sitecore 9.1.1 website on a Windows server2016 with IIS 10.&#xA;I've enabled the xDb features but the &quot;Personalize&quot; button in the rendering details section is not available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've seen that the button is only hidden (display: none), so I modified the style attribute in Chrome inspector, then I've clicked the button and the &quot;Personalize the component&quot; popup has been shown, but the rules are always disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can add/change the rules, or the personalization and everything will be saved when i confirm the operation, but if I reopen the popup the personalization rules are always disabled, neither they will be applied on the final page rendering.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;How can I enable the &quot;Personalize&quot; button without changing the style attribute?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Why my personalization rules are always disabled?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5707" LastEditorUserId="73" LastEditDate="2019-06-28T08:31:30.517" LastActivityDate="2019-06-28T08:31:30.517" Title="Personalization Rules are not working as intended" Tags="|xdb|presentation|personalization|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19629" PostTypeId="1" CreationDate="2019-06-27T21:30:44.460" Score="1" ViewCount="103" Body="&lt;p&gt;I have a rendering that shows fine for admin users but doesn't display for non-admins in preview mode.  This happens on our production server but on our development server the rendering displays fine for both users in preview mode.  We haven't changed the rendering, and I'm not seeing any permission issues for the given item, and it's in the same workflow state on both servers.  I also am not seeing any error in the logs.  Are there any other permissions aside from the item and the rendering that I should look at that might be affecting this?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-06-27T21:30:44.460" Title="What would cause a rendering to not show in preview mode for non-admins?" Tags="|configuration|presentation|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19630" PostTypeId="1" AcceptedAnswerId="19631" CreationDate="2019-06-27T22:12:55.100" Score="1" ViewCount="1872" Body="&lt;p&gt;While doing a sitecore 9.1 install  we installed solr as a part of the CM server. We now want to move SOLR to its own separate server. This is what i did &#xA;I did a clean install of solr in the new server and moved all the cores files under &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;solr/server/solr (sitecore_core_index, sitecore_master_index)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;etc to the new server. &#xA;In the connection string i repointed the solr to the new server. &#xA;But for some reason when i do &#xA;&lt;a href=&quot;https://mySolr:8983/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mySolr:8983/solr&lt;/a&gt; and try to look at cores i dont find any of those. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any thing else i should be doing or doing things differently? &lt;/p&gt;&#xA;" OwnerUserId="2396" LastActivityDate="2019-06-28T00:24:37.463" Title="Solr Move Cores to another server" Tags="|solr|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19631" PostTypeId="2" ParentId="19630" CreationDate="2019-06-27T23:20:20.170" Score="2" Body="&lt;p&gt;Try to delete all the data folders within each core folder  then restart Solr service, Then try accessing the Solr admin again and verify that Cores are showing up.&#xA;You would need to rebuild the indexes from Sitecore control panel again&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2019-06-27T23:20:20.170" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19632" PostTypeId="2" ParentId="19630" CreationDate="2019-06-28T00:24:37.463" Score="0" Body="&lt;p&gt;Seems solr is not moved properly.Try doing this way: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take backup of SOLR from CM using below command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://localhost:8983/solr/your-collection-name/replication?command=backup&amp;amp;location=d:%5Cmy-solr-backup&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr/your-collection-name/replication?command=backup&amp;amp;location=d:\my-solr-backup&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And restore on new server using below command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://localhost:8983/solr/your-collection-name/replication?command=restore&amp;amp;location=d:%5Cmy-solr-backup&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:8983/solr/your-collection-name/replication?command=restore&amp;amp;location=d:\my-solr-backup&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-06-28T00:24:37.463" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19634" PostTypeId="1" CreationDate="2019-06-28T09:59:56.927" Score="3" ViewCount="162" Body="&lt;p&gt;I've been trying to implement the Sitecore Cortex Demo (&lt;a href=&quot;https://github.com/adeneys/cortex-processing-demo&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/adeneys/cortex-processing-demo&lt;/a&gt;).&#xA;I've added the model and followed the steps as listed on the repo but on the 3rd step, Registering Tasks, the last two tasks are failing and I'm getting the following error in Processing Engine logs &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    2019-06-26 19:41:47.743 +05:30 [Error] Error Executing worker. Task Id: 8d6646ab-4bcd-4c29-97c0-2e071d3a1af8.&#xA;Sitecore.Processing.Engine.Exceptions.DeferredTaskExecutorException: Error Executing Deferred Task Executor. ---&amp;gt; System.InvalidOperationException: Unable to resolve service for type 'Microsoft.Extensions.Options.IOptions`1[ProcessingEngineDemo.Common.SpotifyMusicRecommenderOptions]' while attempting to activate 'ProcessingEngineDemo.Common.SpotifyMusicRecommender'.&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;RealizeService&amp;gt;b__0(ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)&#xA;   at lambda_method(Closure , IServiceProvider , Object[] )&#xA;   at Sitecore.Processing.Engine.TaskServicesFactory.CreateInstance[TCast](IServiceProvider serviceProvider, String typeName, IReadOnlyDictionary`2 options)&#xA;   at Sitecore.Processing.Engine.DeferredTaskExecutor.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.Processing.Engine.DeferredTaskExecutor.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Processing.Engine.BaseExecutor`1.&amp;lt;ExecuteAsync&amp;gt;d__23.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Processing.Engine.Diagnostics.TaskExecutorCountersDecorator.&amp;lt;ExecuteAsync&amp;gt;d__11.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Processing.Engine.Agents.TaskAgent.&amp;lt;RecurringExecuteAsync&amp;gt;d__5.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone else faced this issue?&lt;/p&gt;&#xA;" OwnerUserId="4886" LastActivityDate="2020-03-10T20:26:21.673" Title="Sitecore Cortex Processing Engine Error" Tags="|cortex|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19635" PostTypeId="1" AcceptedAnswerId="19638" CreationDate="2019-06-28T10:34:25.070" Score="2" ViewCount="550" Body="&lt;p&gt;I have created sitecore template using powershell extension. Here is my powershell script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$template = New-Item  -Path &quot;/sitecore/templates/PowershellTask&quot; -Name &quot;testtemplate&quot; -type &quot;{AB86861A-6030-46C5-B394-E8F99E8B87DB}&quot;&#xA;&#xA;$standardvalues = New-Item -Parent $item -Name &quot;__Standard Values&quot; -type $template.ID&#xA;$template.Editing.BeginEdit()&#xA;$template[&quot;__Standard values&quot;] = $standardvalues.ID&#xA;$template.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't know how to add fields to this template. Can anyone help me out with this?&lt;/p&gt;&#xA;" OwnerUserId="5632" LastEditorUserId="95" LastEditDate="2019-07-06T21:36:37.483" LastActivityDate="2019-07-06T21:36:37.483" Title="How do you create new templates using SPE?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19636" PostTypeId="2" ParentId="15263" CreationDate="2019-06-28T11:35:07.820" Score="1" Body="&lt;p&gt;I found that I was using Sitecore Installation Framework version 2.1.0 to install Sitecore version 9.0.1, which does not work.&#xA;I ran the following to switch the SIF version:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Remove-Module SitecoreInstallFramework&#xA;Import-Module SitecoreInstallFramework -RequiredVersion 1.1.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then deleted the created certificates from previous attempts as per Mohit's answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can determine which versions of SIF you have with this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-InstalledModule -Name SitecoreInstallFramework -AllVersions&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope his helps.&lt;/p&gt;&#xA;" OwnerUserId="5711" LastActivityDate="2019-06-28T11:35:07.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19638" PostTypeId="2" ParentId="19635" CreationDate="2019-06-28T11:42:17.947" Score="7" Body="&lt;p&gt;I wrote this a while back. The script includes a helper function for creating new templates. Feel free to modify this to include adding Standard Values.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;function New-TemplateItem {&#xA;    param(    &#xA;        [ValidateNotNullOrEmpty()]    &#xA;        [string]$Path,    &#xA;        [string]$Icon,   &#xA;        [string]$BaseTemplate,    &#xA;        [PSCustomObject[]]$Fields    &#xA;    )&#xA;&#xA;    $itemTemplate = New-Item -Path $Path -ItemType &quot;/sitecore/templates/System/Templates/Template&quot;    &#xA;    $itemTemplate.&quot;__Base Template&quot; = &quot;{1930BBEB-7805-471A-A3BE-4858AC7CF696}&quot;&#xA;&#xA;    if($BaseTemplate) {    &#xA;        $itemTemplate.&quot;__Base Template&quot; = $BaseTemplate    &#xA;    }&#xA;&#xA;    if($Icon) {    &#xA;        $itemTemplate.&quot;__Icon&quot; = $Icon    &#xA;    }   &#xA;        &#xA;    if($Fields) {    &#xA;        foreach($field in $fields) {    &#xA;            $sectionPath = &quot;$($Path)/Data&quot;    &#xA;            if($field.Section) {    &#xA;                $sectionPath = &quot;$($Path)/$($field.Section)&quot;    &#xA;            }&#xA;&#xA;            if(-not(Test-Path -Path $sectionPath)) {    &#xA;                New-Item -Path $sectionPath -ItemType &quot;/sitecore/templates/System/Templates/Template section&quot; | Out-Null    &#xA;            }&#xA;&#xA;            $fieldItem = New-Item -Path &quot;$($sectionPath)/$($field.Name)&quot; -ItemType &quot;/sitecore/templates/System/Templates/Template field&quot;    &#xA;            $fieldItem.BeginEdit() | Out-Null    &#xA;            $fieldItem[&quot;Type&quot;] = $field.Type    &#xA;            $fieldItem[&quot;Title&quot;] = $field.Title    &#xA;            $fieldItem[&quot;Source&quot;] = $field.Source    &#xA;            $fieldItem.EndEdit() | Out-Null    &#xA;        }    &#xA;    }    &#xA;}    &#xA;&#xA;$fields = @(    &#xA;    [PSCustomObject]@{    &#xA;        &quot;Name&quot; = &quot;Artist&quot;    &#xA;        &quot;Title&quot; = &quot;Artist Title&quot;    &#xA;        &quot;Type&quot; = &quot;Single-Line Text&quot;    &#xA;        &quot;Section&quot; = &quot;Details&quot;    &#xA;    },    &#xA;    [PSCustomObject]@{    &#xA;        &quot;Name&quot; = &quot;Description&quot;    &#xA;        &quot;Title&quot; = &quot;Artist Description&quot;    &#xA;        &quot;Type&quot; = &quot;Rich Text&quot;    &#xA;        &quot;Section&quot; = &quot;Details&quot;    &#xA;        &quot;Source&quot; = &quot;/sitecore/system/Settings/Html Editor Profiles/Rich Text Default&quot;    &#xA;    }    &#xA;)    &#xA;&#xA;$templatePath = &quot;master:/sitecore/templates/User Defined/SetList&quot;    &#xA;$baseTemplateIds = &quot;{1930BBEB-7805-471A-A3BE-4858AC7CF696}&quot;    &#xA;Remove-Item -Path $templatePath -Recurse    &#xA;New-TemplateItem -Path $templatePath -Icon &quot;office/32x32/earth_music.png&quot; -BaseTemplate $baseTemplateIds -Fields $fields&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-06-28T13:47:01.907" LastActivityDate="2019-06-28T13:47:01.907" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19639" PostTypeId="1" AcceptedAnswerId="19640" CreationDate="2019-06-28T13:22:06.483" Score="7" ViewCount="366" Body="&lt;p&gt;As far as I know Sitecore is introducing a new serialization in version 9.2, but is this the same as Rainbow serialization?&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2019-06-28T13:22:06.483" Title="Is the new Sitecore 9.2 serialization the same as Rainbow serialization?" Tags="|serialization|rainbow|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19640" PostTypeId="2" ParentId="19639" CreationDate="2019-06-28T13:22:06.483" Score="11" Body="&lt;p&gt;As you know &lt;a href=&quot;https://github.com/SitecoreUnicorn/Rainbow&quot; rel=&quot;noreferrer&quot;&gt;Rainbow&lt;/a&gt; is an open source advanced serialization and comparison system for Sitecore which is using a YAML format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9.2 there is a new serialization implemented in a YAML format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So Rainbow and Sitecore 9.2 both using YAML format, but they are not the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore is not using the Rainbow serialization format!&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2019-06-28T13:22:06.483" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19641" PostTypeId="2" ParentId="19598" CreationDate="2019-06-28T13:41:41.617" Score="11" Body="&lt;p&gt;You should always email &lt;code&gt;marketplace@sitecore.net&lt;/code&gt; in regards of Sitecore Marketplace.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might escalate issues by emailing me (mva@sitecore.net) with the details but first please always use the &lt;code&gt;marketplace@sitecore.net&lt;/code&gt; email address.&lt;/p&gt;&#xA;" OwnerUserId="282" LastEditorUserId="312" LastEditDate="2019-06-28T14:24:01.857" LastActivityDate="2019-06-28T14:24:01.857" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19642" PostTypeId="1" AcceptedAnswerId="19713" CreationDate="2019-06-28T14:36:05.583" Score="0" ViewCount="381" Body="&lt;p&gt;We have a few workflow states in our 8.2 instance, including Draft, then Awaiting Content Admin Approval, then Awaiting PAO Approval.  Once it's submitted by a contributor level user to the Awaiting Content Admin Approval, the content admin user can submit the item for PAO Approval, or they can edit it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if they lock it for edit, it shows up in their own workbox fine under the Awaiting Content Approval workflow state, however when I log in as a PAO user, it's not in the Workbox, and when I navigate to the item in the content editor, it gives me no workflow execution options, only showing that it's locked by the content admin.  The PAO user needs to be able to see the item in the workbox and they need to be able to execute workflow commands, even if the item is locked, is that possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried giving PAO users workflow state write, workflow state delete, read, write, delete, inherit, etc. access rights to the Awaiting Admin Approval  workflow state, but they still don't see the item in their workbox.  It seems that locking the item simply removes it from view in the Workbox for all but the user who locked it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some permission that I'm not giving that would resolve this issue?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="1809" LastEditDate="2019-06-28T20:08:53.590" LastActivityDate="2019-07-03T13:47:55.870" Title="Workbox visibility for locked items" Tags="|workflow|permissions|workbox|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="19643" PostTypeId="2" ParentId="19344" CreationDate="2019-06-28T14:58:21.313" Score="0" Body="&lt;p&gt;Firstly, you can filter the renderings returned before you get to a ForEach-Object, by using a Where-Object (my regex skills are limited, so I've just copied yours):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Renderings =  Get-Rendering -Item $CurrentItem -FinalLayout | Where-Object {$_.Placeholder -match '(-{[0-9a-fA-F]{8}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{4}[-][0-9a-fA-F]{12}}-0)'}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can build an array of your duplicate criteria (in your case the combination of placeholder and datasource). If a value is already in the array, you can remove the rendering.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$UniqueValues = @()&#xA;$Renderings | ForEach-Object{&#xA;    $Identifier = -join($_.Datasource, $_.Placeholder)&#xA;        If($UniqueValues -Contains $Identifier){&#xA;            Remove-Rendering -Item $CurrentItem -Instance $_&#xA;&#xA;        }&#xA;        else{&#xA;            $UniqueValues ,+= $Identifier&#xA;        }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="345" LastActivityDate="2019-06-28T14:58:21.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19644" PostTypeId="1" AcceptedAnswerId="19647" CreationDate="2019-06-28T16:27:03.377" Score="5" ViewCount="452" Body="&lt;p&gt;I serialized a few Sitecore items to keep them on my version control system using the following menu:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8ZXxI.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8ZXxI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And now I must find them to finish my task.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Where exactly are those files?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-06-28T19:22:07.523" Title="Where can I find my serialized Sitecore items?" Tags="|content-editor|serialization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19645" PostTypeId="2" ParentId="19644" CreationDate="2019-06-28T16:27:03.377" Score="2" Body="&lt;p&gt;It depends on which major version you are using. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using &lt;strong&gt;Sitecore 8.x or lower&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;C:\inetpub\wwwroot\Instance_Name\Data\serialization&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you are using &lt;strong&gt;Sitecore 9.x or higher&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;C:\inetpub\wwwroot\Instance_Name\App_Data\serialization&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="342" LastEditDate="2019-06-28T19:22:07.523" LastActivityDate="2019-06-28T19:22:07.523" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19646" PostTypeId="2" ParentId="13894" CreationDate="2019-06-28T17:33:55.127" Score="1" Body="&lt;p&gt;One side note for this...  If you are running PowerShell from within VS so you have admin privileges in PowerShell (using VS admin privileges) no matter what path you are pointing to, it will always open the 32bit even if the (x86) is not in the menu bar.  You need to open PowerShell 64 bit directly with Admin privileges.&lt;/p&gt;&#xA;" OwnerUserId="5714" LastActivityDate="2019-06-28T17:33:55.127" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19647" PostTypeId="2" ParentId="19644" CreationDate="2019-06-28T18:45:20.250" Score="7" Body="&lt;p&gt;The previous answer is correct for default configuration on Sitecore 8 or 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The serialization folder path can be set using next setting .&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  SERIALIZATION FOLDER&#xA;            Points to the root of serialized databases tree (when using serialization functionality).&#xA;            Default value: $(dataFolder)/serialization&#xA;      --&amp;gt;&#xA;    &amp;lt;setting name=&quot;SerializationFolder&quot; value=&quot;$(dataFolder)/serialization&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Above setting is part of the Sitecore.config and is relative to &lt;strong&gt;dataFolder&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to change the &lt;strong&gt;SerializationFolder&lt;/strong&gt; I recommend you to path this setting using patch config. &#xA; &lt;strong&gt;dataFolder&lt;/strong&gt; setting is defined like a sitecore variable: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;dataFolder&quot; value=&quot;/App_Data&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-06-28T18:45:20.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19648" PostTypeId="2" ParentId="19606" CreationDate="2019-06-29T03:58:35.123" Score="3" Body="&lt;h1&gt;Page Event Definitions&lt;/h1&gt;&#xA;&lt;p&gt;These are stored under &lt;code&gt;/sitecore/system/Marketing Control Panel/Events&lt;/code&gt;&#xA;When you say &amp;quot;Custom Page Events&amp;quot; you would be talking about custom ones that exist here. There are several out of the box page events such as &amp;quot;Page View&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;As with any item in the &lt;code&gt;/sitecore/system/Marketing Control Panel&lt;/code&gt; area, these will only work if they are in the final workflow state and have been deployed to the Reference Data database. To deploy them you need to run Deploy Marketing Definitions from control panel.&lt;/p&gt;&#xA;&lt;h1&gt;Page Event Data in Sitecore 9&lt;/h1&gt;&#xA;&lt;p&gt;Events happen as part of an Interaction, and so they will be stored on the xDB Shards &lt;code&gt;[xdb_collection].[Interactions]&lt;/code&gt; table.&lt;/p&gt;&#xA;&lt;p&gt;Rough equivalent query from your Sitecore 8 Mongo query (last 7 days):&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;SELECT [Events],[LastModified],[StartDateTime],[EndDateTime]&#xA;    FROM [Shard0].[xdb_collection].[Interactions]&#xA;    WHERE LastModified &amp;gt;= DATEADD(day,-7, GETDATE())&#xA;UNION &#xA;SELECT [Events],[LastModified],[StartDateTime],[EndDateTime]&#xA;    FROM [Shard1].[xdb_collection].[Interactions]&#xA;    WHERE LastModified &amp;gt;= DATEADD(day,-7, GETDATE())&#xA;ORDER BY [LastModified] DESC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;You should then see data in the &lt;code&gt;Events&lt;/code&gt; column in OData Json format. For example&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;[{&amp;quot;@odata.type&amp;quot;:&amp;quot;#Sitecore.XConnect.Collection.Model.PageViewEvent&amp;quot;,&amp;quot;CustomValues&amp;quot;:[],&amp;quot;DefinitionId&amp;quot;:&amp;quot;9326cb1e-cec8-48f2-9a3e-91c7dbb2166c&amp;quot;,&amp;quot;ItemId&amp;quot;:&amp;quot;f51e14d7-e75b-4846-abdd-cdafd6d58cc8&amp;quot;,&amp;quot;Id&amp;quot;:&amp;quot;4adf8681-c8c2-4492-b6e1-81d166c1497f&amp;quot;,&amp;quot;Timestamp&amp;quot;:&amp;quot;2019-06-27T05:21:33.5828090Z&amp;quot;,&amp;quot;Duration&amp;quot;:&amp;quot;PT24.78S&amp;quot;,&amp;quot;ItemLanguage&amp;quot;:&amp;quot;en&amp;quot;,&amp;quot;ItemVersion&amp;quot;:1,&amp;quot;Url&amp;quot;:&amp;quot;/&amp;quot;,&amp;quot;SitecoreRenderingDevice&amp;quot;:{&amp;quot;Id&amp;quot;:&amp;quot;fe5d7fdf-89c0-4d99-9aa3-b5fbd009c9f3&amp;quot;,&amp;quot;Name&amp;quot;:&amp;quot;Default&amp;quot;}}&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h1&gt;Data not what you expected?&lt;/h1&gt;&#xA;&lt;p&gt;Most likely you need to deploy your marketing definitions and make sure there are no errors on session end from the CD (this is when the events are written to xDB).&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-06-29T04:03:49.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19649" PostTypeId="1" CreationDate="2019-06-29T06:39:25.030" Score="-1" ViewCount="881" Body="&lt;p&gt;I am creating a registration form in Sitecore 9 Forms with some basic fields and a terms and conditions checkbox field which contains 3 lines of label. I have set the checkbox field as mandatory field. If I click on the submit button, the validation message for the checkbox is showing the full label text as a validation message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to change the required validation message for a checkbox?&lt;/p&gt;&#xA;" OwnerUserId="5623" LastEditorUserId="73" LastEditDate="2019-06-29T11:20:35.450" LastActivityDate="2019-07-29T12:02:55.537" Title="Forms checkbox validation message" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19650" PostTypeId="2" ParentId="19350" CreationDate="2019-06-29T07:00:49.020" Score="2" Body="&lt;p&gt;Looks like this isn't possible at the moment in Sitecore 9.1. The code needs to read environment variables like &lt;a href=&quot;https://blogs.msdn.microsoft.com/cjaliaga/2016/08/10/working-with-azure-app-services-application-settings-and-connection-strings-in-asp-net-core/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; but I don't see that anywhere when I dotPeek in &lt;code&gt;Sitecore.Plugin.IdentityServer.ConfigureSitecore&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could probably request a patch for this from Sitecore Support.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-06-29T07:00:49.020" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19651" PostTypeId="2" ParentId="19649" CreationDate="2019-06-29T07:34:59.833" Score="0" Body="&lt;p&gt;You can find the validators in the Sitecore Content Editor at &lt;code&gt;/sitecore/system/Settings/Forms/Validations&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each validator has a &lt;code&gt;Message&lt;/code&gt; field. Create versions of the validator item in all the languages needed and fill (or update) the message field as desired. Just check that the message is valid: the parameters (like &quot;&lt;code&gt;{0}&lt;/code&gt;&quot;) in the text need to match the original value. A developer will recognize this syntax - all translations do need this token as it will be replaced by the field name when displaying the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might notice that the most used validation - required field - is not in the list. That is because this is a special case.. also on a Forms field, you would not select a required validator, but just tick the required checkbox. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code for the &lt;strong&gt;required field&lt;/strong&gt; validation works in a different way and the message will come from the Sitecore dictionary. If you want to update or translate it, you need to add a key to that Dictionary. This can be done in the master database - just add an item in the &lt;code&gt;/system/Dictionary&lt;/code&gt; - the name doesn't really matter. The key however needs to be exactly &quot;&lt;code&gt;{0} is required.&lt;/code&gt;&quot;. The phrase can be anything you want, just remember to add the &lt;code&gt;{0}&lt;/code&gt; token. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you noticed, the ootb solution will always use the title of your field in the message. If you don't want that, you'll need to find a solution on your form itself. You could try to make the label itself smaller and display the rest as plain text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-translating-error.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2017/10/sitecore-9-forms-translating-error.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you also need a solution for the client-side, you need jquery localization: &lt;a href=&quot;https://ggullentops.blogspot.com/2019/04/sitecore-9-forms-translating-client-error.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2019/04/sitecore-9-forms-translating-client-error.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-06-29T07:34:59.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19653" PostTypeId="1" CreationDate="2019-07-01T06:46:05.887" Score="3" ViewCount="73" Body="&lt;p&gt;I have a test project for a module where I'd like to use &lt;code&gt;FakeDb&lt;/code&gt;. Because I have a &lt;code&gt;TDS&lt;/code&gt; project where store items for &lt;code&gt;master&lt;/code&gt; database, I'd like to use them for tests with &lt;code&gt;FakeDb.Serialization&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I set the relative path to folder in test project to my TDS project, and I run the tests &lt;code&gt;FakeDb.Serialization&lt;/code&gt; is complaining that it can't find the items. It's looking in my user's directory, not the solution directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas how to handle that? Or maybe there is another approach to solve that?&lt;/p&gt;&#xA;" OwnerUserId="1329" LastEditorUserId="5096" LastEditDate="2019-07-01T09:32:07.653" LastActivityDate="2019-07-31T11:02:25.237" Title="Using TDS project items in FakeDb.Serialization" Tags="|tds|unit-testing|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19654" PostTypeId="1" AcceptedAnswerId="19672" CreationDate="2019-07-01T06:46:27.477" Score="1" ViewCount="135" Body="&lt;p&gt;I have created a Commerce order using the &lt;code&gt;Sitecore Commerce Connect&lt;/code&gt; OrderServiceProvider and I can see the order details in the &lt;code&gt;Order Section&lt;/code&gt; of the &lt;code&gt;Sitecore Commerce Business Tool&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var orderService = new OrderServiceProvider();&#xA;var request = new SubmitVisitorOrderRequest(cart);&#xA;var result = orderService.SubmitVisitorOrder(request);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ssB2l.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ssB2l.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The order itself works fine, but the problem I have is that the order is not linked or displayed in the &lt;code&gt;Customer Section&lt;/code&gt; as shown in the image below.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/GdDQs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GdDQs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Customer Entity ID looks to be matching, but I am not sure why it does not reflect in the Customer Section. Also, the order is not reflected in the  &lt;code&gt;Sitecore Experience Profile&lt;/code&gt; as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/arDID.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/arDID.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the correct way to create an order that is integrated to the Customer Section and Experience profile? Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-07-02T02:23:34.967" Title="Link Commerce order with a Customer/Visitor Profile" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19656" PostTypeId="1" CreationDate="2019-07-01T07:27:29.867" Score="1" ViewCount="345" Body="&lt;p&gt;I am trying to use WFFM reCaptcha field on one of my WFFM forms. The form is based on Sitecore MVC layout and using version 8.2 rev. 161129 (Update-1). I followed &lt;a href=&quot;https://doc.sitecore.com/developers/82/web-forms-for-marketers/en/add-and-customize-a-recaptcha-field-on-mvc-layouts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; guide and the reCaptcha field is showing. But when I try to submit the form, the form is giving the error that the captcha field is required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed this &lt;a href=&quot;http://sitecoreinfo.blogspot.com/2016/11/wffm-captcha-required-field-issue_58.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;URL&lt;/a&gt; to fix the issue, but I am getting another error as per the screenshot below. I don't have any server-side error in the log. Any help is really appreciated.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vwkVw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vwkVw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5717" LastEditorUserId="237" LastEditDate="2019-08-01T11:14:30.010" LastActivityDate="2019-08-01T11:14:30.010" Title="Issue with WFFM 8.2 reCaptcha field on MVC Layout" Tags="|wffm|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19657" PostTypeId="1" CreationDate="2019-07-01T07:48:38.050" Score="0" ViewCount="76" Body="&lt;p&gt;&lt;code&gt;Sitecore.Master.Index&lt;/code&gt; is use for various search functionalities in &lt;code&gt;CM&lt;/code&gt; environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Web.Index&lt;/code&gt; is use in &lt;code&gt;CD&lt;/code&gt; environment. Except search what are scenarios to use this index?&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-07-01T10:29:27.343" Title="What are scenarios to use Sitecore.Web.Index?" Tags="|indexing|index|" AnswerCount="1" CommentCount="3" ClosedDate="2019-07-01T21:09:45.370" ContentLicense="CC BY-SA 4.0" />
  <row Id="19659" PostTypeId="2" ParentId="19657" CreationDate="2019-07-01T10:24:16.013" Score="2" Body="&lt;p&gt;The obvious answer is to use the &lt;code&gt;Web&lt;/code&gt; index for any (site) search related functionalities. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are also other site search like functionalities. You could think of a news articles or product (,or any other) overview, especially if you're including some kind of filtering mechanism.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other then that the index could be used for any functionality that require some Sitecore items spread throughout the database or based on large quantities of Sitecore items, for example related items based on tags.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As soon as you are looking for one or more Sitecore items that are not direct parents/children/siblings it could, performance wise, be worth to look at using the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some more information regarding (Fast) Queries and Indexing please read &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12064/why-we-should-not-use-fast-queries-in-sitecore&quot;&gt;Why we should not use fast queries in Sitecore&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2420" LastEditorUserId="2420" LastEditDate="2019-07-01T10:29:27.343" LastActivityDate="2019-07-01T10:29:27.343" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19660" PostTypeId="2" ParentId="19653" CreationDate="2019-07-01T10:59:07.020" Score="3" Body="&lt;p&gt;My problem was actually due to ReSharper Unit Test for NUnit runner. It was running tests from temporary location, not from the project output directory.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Fix was to tell NUnit runner to set Environment.CurrentDirectory to Test assembly's folder:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/F5pNM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F5pNM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1329" LastActivityDate="2019-07-01T10:59:07.020" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19661" PostTypeId="1" AcceptedAnswerId="19662" CreationDate="2019-07-01T13:09:00.413" Score="2" ViewCount="227" Body="&lt;p&gt;On my instance of Sitecore 8.2 Update 7, the database selection list in the lower right hand corner show two webs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eTyp4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eTyp4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is only one web in publishing targets:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6vtP4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6vtP4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And my connection strings only have one web databse:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&#xA;&amp;lt;connectionStrings&amp;gt;&#xA;&#xA;&amp;lt;add name=&quot;core&quot; connectionString=&quot;Data Source=myserver;Persist Security Info=False;Database=MyDatabase_Core;User Id=myuser;Password=*****&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;master&quot; connectionString=&quot;Data Source=myserver;Persist Security Info=False;DatabaseMyDatabase_Master;User Id=myuser;Password=*****;&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;web&quot; connectionString=&quot;Data Source=myserver;Persist Security Info=False;Database=MyDatabase_Web;User Id=myuser;Password=*****;&quot; /&amp;gt;&#xA;&#xA;&amp;lt;!--(XDB -Powered by Sitecore Inc.) xDB Databases Connection Strings--&amp;gt;&#xA;&amp;lt;add name = &quot;analytics&quot; connectionString = &quot;mymongo_dev_analytics_cloud1_cm&quot;/&amp;gt;&#xA;&amp;lt;add name = &quot;tracking.contact&quot; connectionString = &quot;mymongo_dev_tracking_contact_cloud1_cm&quot;/&amp;gt;&#xA;&amp;lt;add name = &quot;tracking.live&quot; connectionString = &quot;mymongo_dev_tracking_live_cloud1_cm&quot;/&amp;gt;&#xA;&amp;lt;add name = &quot;tracking.history&quot; connectionString = &quot;mymongo_dev_tracking_history_cloud1_cm&quot;/&amp;gt;&#xA;&#xA;&amp;lt;add name=&quot;reporting&quot; connectionString=&quot;Data Source=myserver;Persist Security Info=False;Database=MyDatabase_Reporting;User Id=myuser;Password=*****;&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;session&quot; connectionString=&quot;Data Source=myserver;Persist Security Info=False;Database=MyDatabase_Sessions;User Id=myuser;Password=*****;&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;custom&quot; connectionString=&quot;Data Source=myserver;Persist Security Info=False;Database=MyDatabase_Custom;User Id=myuser;Password=*****;&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;custom-ef&quot; providerName=&quot;System.Data.SqlClient&quot; connectionString=&quot;TrustServerCertificate=False;Data Source=myserver;Database=MyDatabase_Custom;User Id=myuser;Password=*****;&quot; /&amp;gt;&#xA;&amp;lt;/connectionStrings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is this list stored as content somewhere? How can I clean it up?&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="73" LastEditDate="2019-07-01T22:48:58.610" LastActivityDate="2019-07-01T22:48:58.610" Title="Sitecore Desktop database selection shows non-existent database" Tags="|configuration|sql-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19662" PostTypeId="2" ParentId="19661" CreationDate="2019-07-01T13:16:01.907" Score="4" Body="&lt;p&gt;The databases which are shown in Database Selector on Sitecore Desktop are taken from the Sitecore configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Open &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; and find there &lt;code&gt;&amp;lt;databases&amp;gt;&lt;/code&gt; node directly under &lt;code&gt;&amp;lt;sitecore&amp;gt;&lt;/code&gt; node. You will found there more than 1 databases with &lt;code&gt;id&lt;/code&gt; attribute set to &lt;code&gt;web&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;database id=&quot;core&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot; patch:source=&quot;Sitecore.Buckets.config&quot;&amp;gt;&#xA;   ...&#xA;&amp;lt;/database&amp;gt;&#xA;&amp;lt;database id=&quot;master&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot; patch:source=&quot;Sitecore.Buckets.config&quot;&amp;gt;&#xA;   ...&#xA;&amp;lt;/database&amp;gt;&#xA;&amp;lt;database id=&quot;web&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot; patch:source=&quot;Sitecore.Buckets.config&quot;&amp;gt;&#xA;   ...&#xA;&amp;lt;/database&amp;gt;&#xA;&amp;lt;!-- second web database --&amp;gt;&#xA;&amp;lt;database id=&quot;web&quot; singleInstance=&quot;true&quot; type=&quot;Sitecore.Data.DefaultDatabase, Sitecore.Kernel&quot; patch:source=&quot;Sitecore.Buckets.config&quot;&amp;gt;&#xA;   ...&#xA;&amp;lt;/database&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-01T13:16:01.907" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19663" PostTypeId="1" AcceptedAnswerId="19673" CreationDate="2019-07-01T15:29:57.593" Score="2" ViewCount="1932" Body="&lt;p&gt;I am trying to use @Html.Sitecore().Rendering(&quot;--id--&quot;, Model.Property) to call render a staic view. It is not rendering on page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Layout:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;--Myviewid--&quot;, Model)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Myview:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model namespace.Model&#xA;@{&#xA;    var list = Model.GetMyList();&#xA;}&#xA;foreach(var item in list)&#xA;{&#xA;    ---my logic ---&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It executes without any exception. No errors logged in the log files. I even added a debugger to view and went through each step to see if it is breaking anywhear. Code is executed without any exception. But, view is not rendered on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried &lt;code&gt;@Html.Sitecore().Rendering(&quot;--MyviewId--&quot;, new {Model = myModel})&lt;/code&gt;. &#xA;&lt;code&gt;@Html.RenderPartical&lt;/code&gt; works perfectly but can anyone let me know why &lt;code&gt;Sitecore().Rendering&lt;/code&gt; is not working even after executing without any errors&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt; (copied from OP's comment):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In layout there is &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if(condtion){ Html.Sitecore.Rendering }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I confirm that condition is &lt;code&gt;true&lt;/code&gt; and the view code is executed without error.&lt;/p&gt;&#xA;" OwnerUserId="955" LastEditorUserId="277" LastEditDate="2019-07-02T05:45:20.480" LastActivityDate="2019-07-02T05:51:35.950" Title="@Html.Sitecore().Rendering does not rendering view even after executing without any errors" Tags="|sitecore-client|presentation|sitecore-api|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19664" PostTypeId="1" AcceptedAnswerId="19665" CreationDate="2019-07-01T15:37:13.150" Score="1" ViewCount="441" Body="&lt;p&gt;I'm using Sitecore 9.1.1 and SXA 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying to set href data attribute to a Variant section in a rendering variant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to override the &lt;code&gt;RenderVariantField&lt;/code&gt; class as mentioned in the solution for &lt;a href=&quot;https://sitecore.stackexchange.com/questions/16382/how-to-use-tokens-in-link-attributes-in-variantfield&quot;&gt;this question&lt;/a&gt; and it worked and returned the correct value - but only when I use it inside a variant Field. However, when I use it inside a variant Section it returns nothing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what I can add in order to read a data attribute inside a variant section?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MoBfN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MoBfN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="237" LastEditDate="2019-07-01T15:54:59.413" LastActivityDate="2019-07-01T15:54:59.413" Title="Read tokens in VariantSection in SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19665" PostTypeId="2" ParentId="19664" CreationDate="2019-07-01T15:53:29.913" Score="1" Body="&lt;p&gt;If you override &lt;code&gt;RenderVariantField&lt;/code&gt; it will indeed work for a variantfield. If you want this in a section, you need to look into &lt;code&gt;Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderSection&lt;/code&gt; in the same &lt;code&gt;&amp;lt;renderVariantField&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You might want to check &lt;a href=&quot;https://sitecore.stackexchange.com/q/12806/237&quot;&gt;Setting css class in SXA variant from content item&lt;/a&gt; or &lt;a href=&quot;https://ggullentops.blogspot.com/2018/10/using-tokens-in-sitecore-sxa-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2018/10/using-tokens-in-sitecore-sxa-variant.html&lt;/a&gt; for some extra information about attributes on sections. &lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-07-01T15:53:29.913" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19666" PostTypeId="1" CreationDate="2019-07-01T16:34:55.467" Score="0" ViewCount="292" Body="&lt;p&gt;I am using Sitecore forms and EXM. I've saved the contact in xdb then I'm using standard Sitecore email campaign message to send an automated email. In this email, I have a put a controller rendering in it and wanted to display all of the inputted fields through this controller. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am aware that I can use tokens for displaying the input fields, but I would use a controller for future changes. Is there a way to do this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think I can get the contact through the &lt;code&gt;Tracking.Current&lt;/code&gt; but it's null for some reason when it's on the controller.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="5096" LastEditDate="2019-07-02T04:39:19.133" LastActivityDate="2019-07-02T04:39:19.133" Title="Pass form field value to controller rendering in EXM" Tags="|exm|sitecore-forms|tracking|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19667" PostTypeId="2" ParentId="19666" CreationDate="2019-07-01T17:47:24.363" Score="3" Body="&lt;p&gt;There are two parts to this question: &lt;strong&gt;Sitecore Forms&lt;/strong&gt; and &lt;strong&gt;EXM&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to pass form fields from Sitecore Forms to EXM, you need to &lt;a href=&quot;https://sitecorehacker.com/2018/02/22/svdd-using-forms-in-sitecore-9-and-xdb-together&quot; rel=&quot;nofollow noreferrer&quot;&gt;create a custom Submit Action&lt;/a&gt; that processes the fields on the page and then sends an email using the &lt;a href=&quot;https://sitecorehacker.com/2018/12/21/managing-the-unsubscribe-part-5/&quot; rel=&quot;nofollow noreferrer&quot;&gt;EXM Client API&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Sitecore Forms&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When creating a custom Submit Action, you override the Execute method. Here's an example of that override.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    protected override bool Execute(T data, FormSubmitContext formSubmitContext)&#xA;    {&#xA;        if (data.MessageId == Guid.Empty)&#xA;        {&#xA;            logger.LogWarn(&quot;Empty message id&quot;);&#xA;            return false;&#xA;        }&#xA;        var toContacts = GetToContacts(data, formSubmitContext);&#xA;        if (toContacts == null || toContacts.Count == 0)&#xA;        {&#xA;            return false;&#xA;        }&#xA;        try&#xA;        {&#xA;            var customTokens = BuildCustomTokens(data, formSubmitContext);&#xA;            foreach (var to in toContacts)&#xA;            {&#xA;                SendMail(to, customTokens, data.MessageId);&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            logger.LogError(ex.Message, ex);&#xA;            return false;&#xA;        }&#xA;        return true;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this example, the developer is creating a Dictionary object called &lt;code&gt;customTokens&lt;/code&gt; through the &lt;strong&gt;BuildCustomTokens()&lt;/strong&gt; method that will be passed into the Sitecore EXM Client API, which is called in the &lt;code&gt;SendEmail()&lt;/code&gt; method as shown below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    protected virtual Dictionary&amp;lt;string, object&amp;gt; BuildCustomTokens(T data, FormSubmitContext formSubmitContext)&#xA;    {&#xA;        var formFields = formFieldConverter.Convert(formSubmitContext.Fields);&#xA;        var customTokens = new Dictionary&amp;lt;string, object&amp;gt;();&#xA;        customTokens.Add(Constants.CustomTokensFormKey, formFields);&#xA;        foreach (var formField in formFields)&#xA;        {&#xA;            customTokens.Add($&quot;form_{formField.Name}&quot;, GetSingleStringValue(formField));&#xA;        }&#xA;        return customTokens;&#xA;    }&#xA;&#xA;    protected virtual void SendMail(ContactIdentifier toContact, Dictionary&amp;lt;string, object&amp;gt; customTokens, Guid messageId)&#xA;    {&#xA;        var automatedMessage = new AutomatedMessage();&#xA;        automatedMessage.ContactIdentifier = toContact;&#xA;        automatedMessage.MessageId = messageId;&#xA;        automatedMessage.CustomTokens = customTokens;&#xA;        automatedMessage.TargetLanguage = Sitecore.Context.Language.Name;&#xA;        clientApiService.SendAutomatedMessage(automatedMessage);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Email Experience Manager&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Now that the submit action is created, you need to create an EXM Message that has a Rich Text area that can take in the &lt;strong&gt;$field_name$&lt;/strong&gt; token, which will be replaced, because of the custom token dictionary passed in through the Client API statement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Credit to &lt;a href=&quot;https://sitecore.stackexchange.com/users/3675&quot;&gt;Bart Verdonck&lt;/a&gt; and this &lt;a href=&quot;http://onelittlespark.bartverdonck.be/sitecoreformsextentions/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Forms Extension&lt;/a&gt; module for the code snippets.  This module provides the SendEmail submit action as an extension to Sitecore Forms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/users/3675&quot;&gt;&lt;img src=&quot;https://sitecore.stackexchange.com/users/flair/3675.png&quot; alt=&quot;Bart Verdonck&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-07-01T17:57:56.830" LastActivityDate="2019-07-01T17:57:56.830" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19668" PostTypeId="1" AcceptedAnswerId="19670" CreationDate="2019-07-01T17:53:02.457" Score="2" ViewCount="428" Body="&lt;p&gt;We have a Sitecore component that displays a list of blog posts. Part of this component is a placeholder where a &quot;Featured Blog Post&quot; component may be placed by editors manually. The &quot;Featured Blog Post&quot; component is a view rendering (not controller rendering) and uses a &quot;blog post&quot; as datasource.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We would like to be able to dynamically place the &quot;Featured Blog Post&quot; component dynamically based on a querystring in the URL. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far, all I know how to do is get the querystring and check to see if it's a valid Sitecore ID and then if it is a valid blog post. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How would I then place the &quot;Featured Blog Post&quot; component on the page with the specified blog post as the datasource?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an over-simplified version of what I have so far:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    var featBlogPost = Request.QueryString[&quot;featpost&quot;];&#xA;    var isFeatBlogPost = Sitecore.Data.ID.IsID(featBlogPost);&#xA;    if(isFeatBlogPost){&#xA;        var featBlogPostID = Sitecore.Data.ID.Parse(featBlogPost);&#xA;        var featBlogPostItem = Sitecore.Context.Database.GetItem(featBlogPostID);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore Ver: 8.2&lt;/p&gt;&#xA;" OwnerUserId="3761" LastEditorUserId="5096" LastEditDate="2019-07-02T08:19:55.587" LastActivityDate="2019-07-02T08:19:55.587" Title="Put Sitecore component on page based on QueryString" Tags="|presentation|razor|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19670" PostTypeId="2" ParentId="19668" CreationDate="2019-07-01T19:59:41.673" Score="2" Body="&lt;p&gt;You may need to statically add your rendering inside the container rendering, something like this would work inside the container rendering&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@{&#xA;    var featBlogPost = Request.QueryString[&quot;featpost&quot;];&#xA;    var isFeatBlogPost = Sitecore.Data.ID.IsID(featBlogPost);&#xA;    if(isFeatBlogPost){&#xA;        var featBlogPostID = Sitecore.Data.ID.Parse(featBlogPost);&#xA;        var featBlogPostItem = Sitecore.Context.Database.GetItem(featBlogPostID);&#xA;    }&#xA;}&#xA;&#xA;@if(featBlogPostItem!=null){&#xA;  @Html.Sitecore().Rendering(&quot;/sitecore/layout/renderings/{YOUR RENDERING PATH}&quot;, new &#xA;  {DataSource = &quot;@featBlogPostItem.Paths.FullPath&quot;})&#xA;}&#xA;else&#xA;{&#xA; //You may need to default to the datasource item for the featured blog post&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastActivityDate="2019-07-01T19:59:41.673" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19671" PostTypeId="2" ParentId="19668" CreationDate="2019-07-02T01:48:09.610" Score="3" Body="&lt;p&gt;I think your title is a little different than what you want to really achieve. But you could build a Controller Rendering, that looks at the current pages Querystring, to get it's Id, and use that to return data to your view.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Render() {&#xA;&#xA;    string featBlogPost = Request.QueryString[&quot;featpost&quot;];&#xA;    if (ID.TryParse(featBlogPost, ref ID postId)) {&#xA;        Item blogPostItem = Sitecore.Context.Database.GetItem(postId);&#xA;&#xA;        return View(blogPostItem);&#xA;    }&#xA;&#xA;    return new EmptyViewResult();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now technically your &lt;code&gt;Featured Post&lt;/code&gt; component wouldn't display if the querystring isn't present, and you could insert this on any given page as a dynamic rendering, and you should be all set and ready to go.  I'd typically say you should worry about the experience editor and still display, when the user is in EE, but with the fact that the content varies based on the ID, I'm not sure it should be something you enable in this case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option would be to hide the component using personalization.  You would have to create a new rule condition to look at the page url and it's Querystring, but then you could define other rules for your component, so maybe it could still read from a datasource in addition to using the querystring value.&lt;/p&gt;&#xA;" OwnerUserId="1000" LastActivityDate="2019-07-02T01:48:09.610" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19672" PostTypeId="2" ParentId="19654" CreationDate="2019-07-02T02:23:34.967" Score="3" Body="&lt;p&gt;The reason is that the &lt;code&gt;isRegistered&lt;/code&gt; header value must be set to &lt;code&gt;true&lt;/code&gt;, otherwise the &lt;code&gt;CustomerId&lt;/code&gt; will just be act as a text string reference instead of referencing to an actual customer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information on &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-commerce/en/service-api-headers.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Service API Headers&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;Sitecore Commerce Connect Service Layer&lt;/code&gt;, the &lt;code&gt;IsRegistered&lt;/code&gt; header value is set in &lt;code&gt;Sitecore.Commerce.Engine.Connect.EngineConnectUtility&lt;/code&gt; and the value will be based on &lt;code&gt;Context.User.IsAuthenticated&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static Container GetShopsContainer(string environment = &quot;&quot;, string shopName = &quot;&quot;, string userId = &quot;&quot;, string customerId = &quot;&quot;, string language = &quot;&quot;, string currency = &quot;&quot;, DateTime? effectiveDate = null)&#xA;{&#xA;    (DataServiceContext)container).add_BuildingRequest((object s, BuildingRequestEventArgs e) =&amp;gt; {&#xA;        if (Context.User != null)&#xA;        {&#xA;            e.get_Headers().Add(&quot;IsRegistered&quot;, Context.User.IsAuthenticated.ToString(CultureInfo.InvariantCulture));&#xA;        }&#xA;    });&#xA;    return container;&#xA;}&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2019-07-02T02:23:34.967" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19673" PostTypeId="2" ParentId="19663" CreationDate="2019-07-02T05:51:35.950" Score="2" Body="&lt;p&gt;The reason why &lt;code&gt;Html.Sitecore.Rendering(...)&lt;/code&gt; is not rendered to the html of your page is because razor works in that way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you start a code block (&lt;code&gt;{ ... }&lt;/code&gt;), what's inside is expected to be code, not html markup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do is:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Wrap what's inside &lt;code&gt;if&lt;/code&gt; with any HTML tag, e.g.:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if(condtion){ &#xA;  &amp;lt;div&amp;gt;Html.Sitecore.Rendering(...)&amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Wrap it with Razor &lt;code&gt;&amp;lt;text&amp;gt;&lt;/code&gt; tag, which will just render the text without the tag&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@if(condtion){ &#xA;  &amp;lt;text&amp;gt;Html.Sitecore.Rendering(...)&amp;lt;/text&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add &lt;code&gt;@:&lt;/code&gt;, which is equivalent with &lt;code&gt;&amp;lt;text&amp;gt;&lt;/code&gt;:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@: @Html.Sitecore().Rendering(&quot;&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Read more in ScottGu blog post &lt;a href=&quot;https://weblogs.asp.net/scottgu/asp-net-mvc-3-razor-s-and-lt-text-gt-syntax&quot; rel=&quot;nofollow noreferrer&quot;&gt;ASP.NET MVC 3: Razor’s @: and  syntax&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-02T05:51:35.950" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19675" PostTypeId="1" CreationDate="2019-07-02T06:45:11.280" Score="2" ViewCount="376" Body="&lt;p&gt;I have come across the situation where we want to implement personalization between the rendering variants for a given rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know we can do the personalization between the renderings but I'm not sure about the rendering variants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Page Content&lt;/p&gt;&#xA;&#xA;&lt;p&gt;--Indian Variant&lt;/p&gt;&#xA;&#xA;&lt;p&gt;---Title&lt;/p&gt;&#xA;&#xA;&lt;p&gt;--USA Variant&lt;/p&gt;&#xA;&#xA;&lt;p&gt;---Title&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the IP address is from USA then given rendering should switch to US variant and if the IP is from India it should switch to the Indian version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that we can do personalization on a section or a field of the rendering variant using rules, but I want to check if we can switch the rendering variant based on personalization.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastEditorUserId="237" LastEditDate="2019-07-02T11:59:41.733" LastActivityDate="2019-07-02T11:59:41.733" Title="Does Sitecore SXA supports personalization between rendering variants?" Tags="|sxa|presentation|personalization|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19676" PostTypeId="1" CreationDate="2019-07-02T07:27:21.500" Score="2" ViewCount="3157" Body="&lt;p&gt;Recently migrated from Lucene to Solr search(7.2.1) in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to get the search results from Code, I'm getting the exception&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Non-static method requires a target&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However, from Solr Admin, for the same index, I'm able to get the results in Query window.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/acpVR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/acpVR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5722" LastEditorUserId="73" LastEditDate="2019-07-02T08:40:16.317" LastActivityDate="2023-12-30T13:05:15.627" Title="Non-static method requires a target" Tags="|content-search|solr|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19677" PostTypeId="2" ParentId="19675" CreationDate="2019-07-02T07:36:28.243" Score="2" Body="&lt;p&gt;The rules you mentioned in your comment should lead you to the solution of your question. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could create Variant Definition for your component and create multiple Variant Section to the definition, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qOkYm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qOkYm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then apply your personalization rules on the various Variant Sections. This should result in a variant applied based on your personalization rule.&lt;/p&gt;&#xA;" OwnerUserId="2420" LastActivityDate="2019-07-02T07:36:28.243" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19678" PostTypeId="2" ParentId="19675" CreationDate="2019-07-02T07:39:18.087" Score="4" Body="&lt;p&gt;You can do this with rules within the same variant as mentioned. But if you really want to change the variant itself, you would need to be able to change rendering parameters with personalization (the variant is a rendering parameter of the component). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ootb this is not possible, but James Gregory appears to have done this for you: &lt;a href=&quot;https://www.americaneagle.com/blog/web-development-blog/james-gregory/2017/09/20/parameter-personalization&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.americaneagle.com/blog/web-development-blog/james-gregory/2017/09/20/parameter-personalization&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;His module can be found on the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/R/Rendering_Parameter_Personalization_Extension.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;marketplace&lt;/a&gt; as well.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-07-02T07:39:18.087" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19679" PostTypeId="1" CreationDate="2019-07-02T09:18:42.103" Score="1" ViewCount="122" Body="&lt;p&gt;I have an XML here,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fetch version=&quot;1.0&quot; output-format=&quot;xml-platform&quot; mapping=&quot;logical&quot; distinct=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;entity name=&quot;account&quot;&amp;gt;&#xA;    &amp;lt;attribute name=&quot;name&quot; /&amp;gt;&#xA;    &amp;lt;attribute name=&quot;accountid&quot; /&amp;gt;&#xA;    &amp;lt;order attribute=&quot;name&quot; descending=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;link-entity name=&quot;sample_Related&quot; from=&quot;sam_account&quot; to=&quot;accountid&quot; link-type=&quot;inner&quot; alias=&quot;aa&quot;&amp;gt;&#xA;      &amp;lt;filter type=&quot;and&quot;&amp;gt;&#xA;        &amp;lt;condition attribute=&quot;SampleAttr&quot; operator=&quot;not-null&quot; /&amp;gt;&#xA;      &amp;lt;/filter&amp;gt;&#xA;    &amp;lt;/link-entity&amp;gt;&#xA;  &amp;lt;/entity&amp;gt;&#xA;&amp;lt;/fetch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am trying to map the field &lt;code&gt;SampleAttr&lt;/code&gt; to the Account entity since I am calling a batch pipeline for account that has a field from &lt;code&gt;sample_Related&lt;/code&gt;, is there a way for me to map it on Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="5721" LastEditorUserId="73" LastEditDate="2019-07-02T09:44:51.760" LastActivityDate="2019-07-02T09:59:15.293" Title="Mapping Entity Related fields to Sitecore from Dynamics CRM 365" Tags="|data-exchange-framework|dynamics-crm-module|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19681" PostTypeId="2" ParentId="19623" CreationDate="2019-07-02T10:35:55.310" Score="5" Body="&lt;p&gt;We encountered this same issue - the reason was that when Sitecore creates the AJAX URL for submitting the form data, it does not include a language parameter. So when the form submission is being processed, the context language of the request is not necessarily the language of the page being viewed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We fixed this by altering the &lt;code&gt;form.renderForm&lt;/code&gt; pipeline to override the &lt;code&gt;InitializeAjaxOptions&lt;/code&gt; step to add this parameter. As it's a standard context parameter, it gets picked up by the request and changes the context accordingly.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LanguageAwareInitializeAjaxOptions : InitializeAjaxOptions&#xA;{   &#xA;    private const string languageKey = &quot;sc_lang&quot;;&#xA;&#xA;    public LanguageAwareInitializeAjaxOptions(IFormRenderingContext formRenderingContext) &#xA;        : base(formRenderingContext)&#xA;    {&#xA;    }&#xA;&#xA;    public override void Process(RenderFormEventArgs args)&#xA;    {&#xA;        if (!args.IsPost &amp;amp;&amp;amp; !args.QueryString.ContainsKey(languageKey))&#xA;        {&#xA;            args.QueryString.Add(languageKey, Sitecore.Context.Language.Name);&#xA;        }&#xA;&#xA;        base.Process(args);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You then just need to patch this replacement pipeline in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;forms.renderForm&amp;gt;&#xA;    &amp;lt;processor patch:instead=&quot;*[@type='Sitecore.ExperienceForms.Mvc.Pipelines.RenderForm.InitializeAjaxOptions, Sitecore.ExperienceForms.Mvc']&quot;&#xA;               type=&quot;Your.Solution.Pipelines.RenderForm.LanguageAwareInitializeAjaxOptions, Your.Solution&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;  &amp;lt;/forms.renderForm&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="28" LastActivityDate="2019-07-02T10:35:55.310" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19683" PostTypeId="2" ParentId="19334" CreationDate="2019-07-02T11:31:38.960" Score="1" Body="&lt;p&gt;I sent a support ticket to Sitecore regarding this issue when using &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; and &lt;code&gt;SXA 1.8.1&lt;/code&gt;. I've had confirmation that this has been reproduced and is in fact a bug, it has been logged under &lt;code&gt;#337905&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="4487" LastEditorUserId="4487" LastEditDate="2020-05-09T08:17:35.910" LastActivityDate="2020-05-09T08:17:35.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19684" PostTypeId="1" CreationDate="2019-07-02T12:29:48.527" Score="1" ViewCount="669" Body="&lt;p&gt;Im getting the following error when I try to open the Set General Link dialog:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Object reference not set to an instance of an object.&#xA;Description: An unhandled exception occurred. &#xA;&#xA;Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.CreateCyclePreventer(String placeholderName, Rendering rendering) +39&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +153&#xA;   (Object , Object ) +13&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +483&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +231&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +21&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +194&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +257&#xA;   ASP._sitecore_shell_client_Business_Component_Library_Layouts_Renderings_Structures_Substructures_DialogContentNM_cshtml.Execute() +304&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +251&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +147&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +121&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +135&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +314&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Business Component Library/Layouts/Renderings/Structures/Substructures/DialogContentNM.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +787&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +73&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +232&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +183&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +232&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +258&#xA;   ASP._sitecore_shell_client_Business_Component_Library_Layouts_Renderings_Structures_Page_Structures_Dialog_Dialog_cshtml.Execute() +823&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +136&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +315&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Business Component Library/Layouts/Renderings/Structures/Page Structures/Dialog/Dialog.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +787&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +73&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +232&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +183&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +232&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +258&#xA;   ASP._sitecore_shell_client_Speak_Layouts_Layouts_Speak_Layout_cshtml.Execute() +2015&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122&#xA;   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +136&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +315&#xA;&#xA;[InvalidOperationException: Error while rendering view: '/sitecore/shell/client/Speak/Layouts/Layouts/Speak-Layout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').&#xA;]&#xA;   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +787&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +73&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +232&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +331&#xA;   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +88&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult) +39&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="341" LastActivityDate="2019-07-02T12:29:48.527" Title="Object reference not set to an instance of an object at CreateCyclePreventer" Tags="|speak|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19685" PostTypeId="1" CreationDate="2019-07-02T12:42:07.737" Score="1" ViewCount="79" Body="&lt;p&gt;I have a solution using Habitat structure and Using Gulp for deployment. My solution contains a Web project and also class library projects. When I use Gulp scripts for deployment web project dlls are publishing to web root however class library projects dlls are not publishing into the webroot folder. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the projects created should be a web project or Is there a way to consider class library for the publishing of class library into the webroot&lt;/p&gt;&#xA;" OwnerUserId="2473" LastEditorUserId="73" LastEditDate="2019-07-02T12:45:02.967" LastActivityDate="2019-07-02T12:45:02.967" Title="Class Library projects in Habitat Solution are not being published" Tags="|habitat|solution-architecture|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19686" PostTypeId="1" AcceptedAnswerId="19688" CreationDate="2019-07-02T13:20:41.990" Score="4" ViewCount="189" Body="&lt;p&gt;How can I find which version of the Data Exchange Framework I have installed?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-07-02T13:39:21.320" Title="How do I check the version of Data Exchange Framework?" Tags="|data-exchange-framework|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19687" PostTypeId="2" ParentId="19686" CreationDate="2019-07-02T13:20:41.990" Score="3" Body="&lt;p&gt;The answer is stored in the &lt;strong&gt;Product version&lt;/strong&gt; property of the &lt;code&gt;Sitecore.Data.Exchange.dll&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yB4JM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yB4JM.png&quot; alt=&quot;Properties dialog of the Sitecore.DataExchange.dll&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-07-02T13:20:41.990" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19688" PostTypeId="2" ParentId="19686" CreationDate="2019-07-02T13:30:42.607" Score="7" Body="&lt;p&gt;You can check your log files - Sitecore logs the information about installed Sitecore Modules when the application starts:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6Dwj4.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6Dwj4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;One more option: assuming that you installed DEF in that environment you will see that information in &lt;code&gt;core&lt;/code&gt; database under &lt;code&gt;/sitecore/system/Packages/Installation history/Data Exchange Framework&lt;/code&gt; node. There will be one or more nodes with all the information about the versions of DEF which were installed there:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/66vTo.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/66vTo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will not work if you installed DEF in one environment and then moved it to another via deploy with item synchronization (e.g. Unicorn or TDS) and files published to the new environment.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-07-02T13:39:21.320" LastActivityDate="2019-07-02T13:39:21.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19689" PostTypeId="1" CreationDate="2019-07-02T13:35:25.430" Score="2" ViewCount="154" Body="&lt;p&gt;I currently have a Sitecore form that has only one field, an email field. When submitted it sends an automated email to the email address inputted by the user. In the email body, I have a controller rendering that calls a view. The controller rendering has some logic in code behind that requires the current contact. I should be able get the contact through the use of an identifier as stated in this &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/get-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt; The Identifier I've used is the &lt;code&gt;Tracker.Current.ContactId&lt;/code&gt;, I need to get this contactId in the controller but my biggest hurdle is that the &lt;code&gt;Tracker.Current&lt;/code&gt; is NULL when the email is being sent resulting to the logic being skipped.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I expect that I would be able to get the GUID when I called the &lt;code&gt;Tracker.Current.ContactId&lt;/code&gt; from the controller. It was stated in an answer as well &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4078/is-there-a-recommended-way-to-retrieve-information-about-the-current-recipient-i&quot;&gt;here&lt;/a&gt; that the Tracker.Current should be accessible. How come I am unable to access this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 9 update 1&lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="3255" LastEditDate="2019-07-02T13:42:08.887" LastActivityDate="2021-03-23T23:01:10.133" Title="Tracker.Current is NULL inside email in EXM" Tags="|exm|sitecore-forms|tracking|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19690" PostTypeId="1" AcceptedAnswerId="19712" CreationDate="2019-07-02T13:46:59.427" Score="1" ViewCount="1154" Body="&lt;p&gt;I'm using Sitecore 9.1 and following &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/configure-federated-authentication.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore's guide&lt;/a&gt; in implementing Federated Authentication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am implementing &lt;code&gt;Sitecore.Owin.Authentication.Pipelines.IdentityProviders.IdentityProvidersProcessor&lt;/code&gt;, that in Sitecore 9.1 has a constructor with the following signature:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected IdentityProvidersProcessor(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration, ICookieManager cookieManager, BaseSettings settings);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That in my implementation I'm leaving 'as is':&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public MyOwnProcessor(&#xA;FederatedAuthenticationConfiguration federatedAuthenticationConfiguration,&#xA;Microsoft.Owin.Infrastructure.ICookieManager cookieManager,&#xA;Sitecore.Abstractions.BaseSettings settings) : &#xA;base(federatedAuthenticationConfiguration, cookieManager, settings) {&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And yet, I'm still getting the error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Could not create instance of type: MyProject.MyOwnProcessor. No matching constructor was found.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding the entire code of my class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyNamespace {&#xA;    public class MyOwnProcessor : IdentityProvidersProcessor {&#xA;        public MyOwnProcessor(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration, Microsoft.Owin.Infrastructure.ICookieManager cookieManager, Sitecore.Abstractions.BaseSettings settings) : base(federatedAuthenticationConfiguration, cookieManager, settings) {&#xA;&#xA;        }&#xA;&#xA;        protected override string IdentityProviderName =&amp;gt; &quot;Okta&quot;;&#xA;&#xA;        protected override void ProcessCore(IdentityProvidersArgs args) {&#xA;            // Currently does nothing, implementation pending&#xA;            string test = &quot;test&quot;;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QUESTION&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could I be doing wrong? Do I need to provide some of these parameters in web.config perhaps?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-07-03T09:22:05.453" LastActivityDate="2019-07-03T13:38:36.257" Title="Could not create instance of type: &lt;my implementation of IdentityProvidersProcessor&gt; No matching constructor was found" Tags="|federated-authentication|owin|identity-server|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19692" PostTypeId="1" AcceptedAnswerId="19761" CreationDate="2019-07-02T14:52:07.010" Score="3" ViewCount="222" Body="&lt;p&gt;I have a project with a defined folder structure for the renderings. I am in the process of adding &lt;code&gt;SXA&lt;/code&gt; support and would like to create &lt;code&gt;SXA Toolbox&lt;/code&gt; sections containing these renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, Sitecore chooses the name of the section based on the parent folder a rendering is in, but I prefer not to use this as the defined folder structure gives meaningless names. I also would prefer not to change the defined folder structure.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a setting &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/restructure-the-sxa-toolbox.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Group renderings in sections according to Available Renderings items in the site&lt;/a&gt; that changes this to use the Available Renderings name, however, this is applied for the whole site. As this would affect other sections I cannot make use of this setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there another way to configure the Toolbox section names, for example with a pipeline processor?&lt;/p&gt;&#xA;" OwnerUserId="5624" LastEditorUserId="5417" LastEditDate="2019-07-03T08:29:32.707" LastActivityDate="2019-07-05T14:03:57.400" Title="How to have control over the section names in the SXA Toolbox?" Tags="|sxa|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19693" PostTypeId="2" ParentId="19692" CreationDate="2019-07-02T15:41:32.323" Score="3" Body="&lt;p&gt;You could override and change the &lt;code&gt;GetOrderedRenderings&lt;/code&gt; method in &lt;code&gt;Sitecore.XA.Foundation.Editing.Service.AvailableRenderingsOrderingService&lt;/code&gt; to calculate the &lt;code&gt;SectionName&lt;/code&gt; differently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the configuration the &lt;code&gt;AvailableRenderingsOrderingService&lt;/code&gt; is registered as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;register serviceType=&quot;Sitecore.XA.Foundation.Editing.Service.IAvailableRenderingsOrderingService, Sitecore.XA.Foundation.Editing&quot; implementationType=&quot;Sitecore.XA.Foundation.Editing.Service.AvailableRenderingsOrderingService, Sitecore.XA.Foundation.Editing&quot; lifetime=&quot;Singleton&quot; patch:source=&quot;Sitecore.XA.Foundation.Editing.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-07-02T15:41:32.323" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19694" PostTypeId="1" CreationDate="2019-07-02T17:25:47.317" Score="1" ViewCount="103" Body="&lt;p&gt;I'm creating some new standard Sitecore components and really like how the rendering variants are used in SXA to differentiate between different component variations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone implemented anything similar for a non SXA Site instead of using Rendering Parameters or separate components for each variation? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing this would involved creating a custom ChromeToolbar something like: &lt;a href=&quot;https://stackoverflow.com/questions/28948192/add-a-custom-dropdown-list-in-sitecore-pageeditor&quot;&gt;https://stackoverflow.com/questions/28948192/add-a-custom-dropdown-list-in-sitecore-pageeditor&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oY2ki.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oY2ki.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-07-02T17:25:47.317" Title="Rendering Variants for non SXA Sitecore site?" Tags="|sxa|presentation|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19695" PostTypeId="2" ParentId="19689" CreationDate="2019-07-02T17:56:20.540" Score="1" Body="&lt;p&gt;You can fetch the Contact Id information from the query parameters in the request URL for the EXM message when it's being generated.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/the-exm-configuration-settings.html#UUID-c84a0a00-5387-07c4-3af0-c5d16797fac1_id__SitecoreEmailExperienceCoreconfi_body&quot; rel=&quot;nofollow noreferrer&quot;&gt;available query parameters&lt;/a&gt; include:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ec_contact_id&lt;/li&gt;&#xA;&lt;li&gt;ec_id&lt;/li&gt;&#xA;&lt;li&gt;ec_recipient&lt;/li&gt;&#xA;&lt;li&gt;ec_subscr&lt;/li&gt;&#xA;&lt;li&gt;ec_message_id&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Example Code for fetching Contact from EXM Query String&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;        using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            try&#xA;            {&#xA;                var contactId = new ContactReference(Guid.Parse(HttpContext.Current.Request.QueryString[&amp;quot;ec_contact_id&amp;quot;]));&#xA;&#xA;                var expandOptions = new ContactExpandOptions(&#xA;                    CollectionModel.FacetKeys.PersonalInformation,&#xA;                    CollectionModel.FacetKeys.EmailAddressList);&#xA;&#xA;                //Get the Contact&#xA;                var contact = client.Get(contactId, expandOptions);&#xA;&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Logger.LogError(ex.Message, ex);&#xA;                return false;&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-02T17:56:20.540" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19697" PostTypeId="1" CreationDate="2019-07-02T19:10:36.753" Score="1" ViewCount="442" Body="&lt;p&gt;I have been successfully using GraphQL to filter on items assigned to a specific template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to do the same with items of a certain PageType?&lt;/p&gt;&#xA;" OwnerUserId="5537" LastActivityDate="2019-09-09T18:35:34.713" Title="GraphQL Filter on PageType" Tags="|jss|sitecore-api|graphql|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19698" PostTypeId="1" CreationDate="2019-07-03T02:31:35.630" Score="1" ViewCount="134" Body="&lt;p&gt;I am trying to run my local jss app in headless mode. &#xA;while trying to hit the jss service, I am not getting the expected o\p.&#xA;I can the security info object has &lt;code&gt;401&lt;/code&gt; as statuscode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Yxgl1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Yxgl1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I try hitting the jss item from Sitecore itself, I can see the data. No &lt;code&gt;auth&lt;/code&gt; issues. But when  trying the same from headless mode, I see this security issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clue as to what is missing in here?&lt;/p&gt;&#xA;" OwnerUserId="5676" LastEditorUserId="5096" LastEditDate="2019-07-03T06:50:14.563" LastActivityDate="2019-07-03T06:50:14.563" Title="JSS Headless mode issue" Tags="|jss|sitecore-api|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19700" PostTypeId="2" ParentId="19690" CreationDate="2019-07-03T08:09:35.410" Score="2" Body="&lt;p&gt;I think the code looking to instantiate your processor, is asking for the parameter-less constructor. Since you've not specified much around instantiation, this more or less has to be the case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) You're not following the cited Sitecore Guide which states:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;To create a new processor:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Inherit the&#xA;  Sitecore.Owin.Authentication.Pipelines.IdentityProviders.IdentityProvidersProcessor&#xA;  class.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Override the IdentityProviderName property with the name you specified&#xA;  for the identityProvider in the configuration.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Override the ProcessCore method.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If this is followed to the letter, no constructor is to be defined.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) If you look closer at the inherited class, all of the things you can inject via the constructor can also be populated on the class via properties. So in a property injection DI, the constructor becomes obsolete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remove your &lt;code&gt;MyOwnProcessor&lt;/code&gt; constructor and I believe the problem will go away.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-07-03T08:09:35.410" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19701" PostTypeId="1" CreationDate="2019-07-03T08:44:15.233" Score="0" ViewCount="600" Body="&lt;p&gt;I was bucketing an item in Sitecore, and did some customizations it the folder structure also, I followed this link &lt;a href=&quot;https://www.geekhive.com/buzz/post/2015/04/how-to-create-custom-item-bucket-rules-in-sitecore-cms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;custom buckets&lt;/a&gt;, and the bucket structure which is being created is based on the date field, but the issue is, what if I want to automate the sync of the bucket folder on the date field without manually going to Sitecore and sync the bucket item . &lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="124" LastEditDate="2019-07-03T09:21:00.623" LastActivityDate="2019-12-30T18:45:19.307" Title="how to sync the bucketed item programatically in sitecore" Tags="|content-editor|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19702" PostTypeId="2" ParentId="19701" CreationDate="2019-07-03T08:53:50.737" Score="5" Body="&lt;p&gt;There are multiple options for this based on your requirement. if you want to simply do it in the Sitecore you can use Item save event but if you want it in outside the sitecore client then you need to write your custom code to run &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;BucketManager.Sync(bucketItem);&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;sample code for  item:saved event&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ItemSavedEventHandler&#xA;{&#xA;    public void Execute(object sender, ItemSavedEventArgs args)&#xA;    {&#xA;        Assert.IsNotNull(sender, &quot;sender is null&quot;);&#xA;        Assert.IsNotNull(args, &quot;args is null&quot;);&#xA;&#xA;        using (new EventDisabler())&#xA;        {&#xA;            var parameter = args.Item;&#xA;&#xA;            if (!BucketManager.IsItemContainedWithinBucket(paremeter))&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;            var bucketItem = parameter.GetParentBucketItemOrParent();&#xA;&#xA;            if (!bucketItem.IsABucket())&#xA;            {&#xA;                return;&#xA;            }&#xA;&#xA;        BucketManager.Sync(bucketItem);&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to create a custom configuration -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;item:saved&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;XYZ.Events.ItemSavedHandler, XYZ&quot; method=&quot;OnItemSaved&quot;&amp;gt;&#xA;        &amp;lt;/handler&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="124" LastEditorUserId="946" LastEditDate="2019-12-30T18:45:19.307" LastActivityDate="2019-12-30T18:45:19.307" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19703" PostTypeId="1" CreationDate="2019-07-03T09:22:59.740" Score="1" ViewCount="165" Body="&lt;p&gt;I'm trying to get information from the contact in code behind the rendering I placed in the EXM message. I currently have a Sitecore form that has only one field, an email field. When submitted it sends an automated email to the email address inputted by the user. In the email body, I put a controller rendering that calls a view. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Controller rendering looks like this, I'm currently just getting the query string parameters and putting it on the model for the view to show.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class VerificationController : Controller&#xA;{&#xA;    public ActionResult VerificationKey()&#xA;    {&#xA;        using (var client = SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            string check = &quot;unchanged&quot;, check2 = &quot;unchanged&quot;, check3 = &quot;unchanged&quot;, check4 = &quot;unchanged&quot;, check5 = &quot;unchanged&quot;, check6 = &quot;unchanged&quot;, check7 = &quot;unchanged&quot;;&#xA;            try&#xA;            {&#xA;                check = System.Web.HttpContext.Current.Request.QueryString[&quot;ec_subscr&quot;] == null ? System.Web.HttpContext.Current.Request.QueryString[&quot;ec_subscr&quot;] : &quot;check is NULL&quot;;&#xA;                check2 = System.Web.HttpContext.Current.Request.QueryString[&quot;ec_contact_id&quot;] == null ? System.Web.HttpContext.Current.Request.QueryString[&quot;ec_contact_id&quot;] : &quot;check2 is NULL&quot;;&#xA;                check3 = System.Web.HttpContext.Current.Request.QueryString[&quot;ec_emailid&quot;] == null ? System.Web.HttpContext.Current.Request.QueryString[&quot;ec_emailid&quot;] : &quot;check3 is NULL&quot;;&#xA;                check4 = System.Web.HttpContext.Current.Request.QueryString[&quot;ec_lang&quot;] == null ? System.Web.HttpContext.Current.Request.QueryString[&quot;ec_lang&quot;] : &quot;check4 is NULL&quot;;&#xA;                check5 = System.Web.HttpContext.Current.Request.QueryString[&quot;ec_message_id&quot;] == null ? System.Web.HttpContext.Current.Request.QueryString[&quot;ec_message_id&quot;] : &quot;check5 is NULL&quot;;&#xA;                check6 = System.Web.HttpContext.Current.Request.QueryString[&quot;ec_recipient&quot;] == null ? System.Web.HttpContext.Current.Request.QueryString[&quot;ec_recipient&quot;] : &quot;check6 is NULL&quot;;&#xA;                check7 = System.Web.HttpContext.Current.Request.QueryString[&quot;ec_id&quot;] == null ? System.Web.HttpContext.Current.Request.QueryString[&quot; ec_id&quot;] : &quot;check7 is NULL&quot;;&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Sitecore.Diagnostics.Log.Error(ex.Message, ex, &quot;VERIFICATION CONTROLLER&quot;);&#xA;            }&#xA;            var verificationLink = new VerificationLink();&#xA;&#xA;            //LOGIC For Generating Unique key here&#xA;            verificationLink.UniqueKey = check + &quot;|&quot; + check2 + &quot;|&quot; + check3 + &quot;|&quot; + check4 + &quot;|&quot; + check5 + &quot;|&quot; + check6 + &quot;|&quot; + check7;&#xA;&#xA;            return View(verificationLink);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The View is much simpler, it's just to output what I got from the controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Sample.Namespace.VerificationLink&#xA;@{ string uniqueKey = Model.UniqueKey; }&#xA;&amp;lt;div&amp;gt;This is the Unique Key: @uniqueKey&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to send the email from the form. This is the result&#xA;&lt;a href=&quot;https://i.stack.imgur.com/V4pKv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V4pKv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm expecting that the query strings would give me the information I need for the contact but it seems they're all null or empty.&lt;/p&gt;&#xA;" OwnerUserId="3255" LastActivityDate="2019-07-03T09:22:59.740" Title="Fetching Contact from EXM Query String returns null or empty" Tags="|exm|sitecore-forms|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19705" PostTypeId="1" AcceptedAnswerId="19706" CreationDate="2019-07-03T10:12:56.743" Score="3" ViewCount="296" Body="&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are trying to make use of azure deployment slots when we deploy our Sitecore 9.1 PaaS solution to Azure. However, it seems that after a slot swap, the site is not warmed up, which affects the first user of the website (=slow startup time).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our entire website, is behind login (requireLogin=true), but we have some endpoints that are publicly available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What we tried&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following the suggestions from several blogs, we tried the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;configure IIS application initialization, e.g:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;applicationInitialization doAppInitAfterRestart=&quot;true&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;      &amp;lt;add initializationPage=&quot;/&quot; hostName=&quot;[URL-here]&quot;/&amp;gt;&#xA;      &amp;lt;add initializationPage=&quot;/api/content/getloginconfig&quot; hostName=&quot;[URL-here]&quot;/&amp;gt;&#xA;      &amp;lt;add initializationPage=&quot;/init/warmup&quot; hostName=&quot;[URL-here]&quot;/&amp;gt;&#xA;      &amp;lt;add initializationPage=&quot;/auth/errors/accessdenied&quot; hostName=&quot;[URL-here]&quot;/&amp;gt;&#xA;      &amp;lt;add initializationPage=&quot;/auth/forgotpassword&quot; hostName=&quot;[URL-here]&quot;/&amp;gt;&#xA;    &amp;lt;/applicationInitialization&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;verified that we do not have any deployment slot specific settings&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;added rewrite rules to handle https redirection:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Root Hit Force HTTPS Redirection&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&#xA;              xdt:Transform=&quot;Replace&quot; xdt:Locator=&quot;Match(name)&quot;&amp;gt;&#xA;          &amp;lt;match url=&quot;^$&quot; ignoreCase=&quot;false&quot;/&amp;gt;&#xA;          &amp;lt;conditions&amp;gt;&#xA;            &amp;lt;add input=&quot;{WARMUP_REQUEST}&quot; pattern=&quot;1&quot; negate=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;add input=&quot;{REMOTE_ADDR}&quot; pattern=&quot;^100?\.&quot; negate=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot;/&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot;/&amp;gt;&#xA;          &amp;lt;/conditions&amp;gt;&#xA;          &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/&quot; redirectType=&quot;Permanent&quot;/&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;        &amp;lt;rule name=&quot;Sitecore Login or Admin Force HTTPS Redirection&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&#xA;              xdt:Transform=&quot;Replace&quot; xdt:Locator=&quot;Match(name)&quot;&amp;gt;&#xA;          &amp;lt;match url=&quot;^(sitecore/(login|admin))$&quot;/&amp;gt;&#xA;          &amp;lt;conditions&amp;gt;&#xA;            &amp;lt;add input=&quot;{WARMUP_REQUEST}&quot; pattern=&quot;1&quot; negate=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;add input=&quot;{REMOTE_ADDR}&quot; pattern=&quot;^100?\.&quot; negate=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot;/&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot;/&amp;gt;&#xA;          &amp;lt;/conditions&amp;gt;&#xA;          &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; appendQueryString=&quot;true&quot; redirectType=&quot;Permanent&quot;/&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;        &amp;lt;rule name=&quot;Forbidden&quot; xdt:Transform=&quot;Remove&quot; xdt:Locator=&quot;Match(name)&quot; /&amp;gt;&#xA;        &amp;lt;rule name=&quot;Force HTTPS Redirection&quot; enabled=&quot;true&quot; stopProcessing=&quot;true&quot;&#xA;              xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;          &amp;lt;match url=&quot;(.*)&quot; ignoreCase=&quot;false&quot;/&amp;gt;&#xA;          &amp;lt;conditions&amp;gt;&#xA;            &amp;lt;add input=&quot;{WARMUP_REQUEST}&quot; pattern=&quot;1&quot; negate=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;add input=&quot;{REMOTE_ADDR}&quot; pattern=&quot;^100?\.&quot; negate=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot;/&amp;gt;&#xA;            &amp;lt;add input=&quot;{HTTP_METHOD}&quot; pattern=&quot;GET&quot;/&amp;gt;&#xA;          &amp;lt;/conditions&amp;gt;&#xA;          &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; appendQueryString=&quot;true&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What are the best practices when using deployment slots for a website entirely behind login (requireLogin=true)?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="3416" LastEditDate="2019-07-03T12:25:50.103" LastActivityDate="2019-07-03T12:25:50.103" Title="Does Sitecore PaaS support the usage of Azure deployment slots?" Tags="|paas|deployment|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19706" PostTypeId="2" ParentId="19705" CreationDate="2019-07-03T11:06:08.070" Score="4" Body="&lt;p&gt;Application Initialization does a call to your website over http. If you have redirect rules that redirect http  to https, the initialization receives a 302 and marks the request as done, it does not follow the 302 to load the site on https.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in order to avoid this, you need to add an additional rules in your rewrite rules to skip the https redirect in case of application initialization. These requests can be identified by the &quot;Initialization&quot; user agent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In essence, you wan to add this rule on the top of your rewriterules:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;No redirect on warmup request&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;.*&quot; /&amp;gt;&#xA;  &amp;lt;conditions&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTP_USER_AGENT}&quot; pattern=&quot;Initialization&quot; /&amp;gt;&#xA;  &amp;lt;/conditions&amp;gt;&#xA;  &amp;lt;action type=&quot;Rewrite&quot; url=&quot;{URL}&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-07-03T11:06:08.070" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19707" PostTypeId="1" CreationDate="2019-07-03T11:45:53.177" Score="4" ViewCount="521" Body="&lt;p&gt;I am Using Sitecore version 9 on Azure PaaS, Is there any official Sitecore security hardening guide for Azure PaaS ?, I can see some documentation as below link - &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/sdnarchive/upload/sitecore7/75/sitecore_security_hardening_guide-sc75-usletter.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/sdnarchive/upload/sitecore7/75/sitecore_security_hardening_guide-sc75-usletter.pdf&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/securing-xp.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/securing-xp.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/securing-microsoft-azure-resources-for-a-sitecore-deployment.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/securing-microsoft-azure-resources-for-a-sitecore-deployment.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But not specific for Azure PaaS in detail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Appreciate if someone provides some prior learning and experience &lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="556" LastEditDate="2019-07-03T12:20:47.457" LastActivityDate="2019-09-19T05:02:40.327" Title="Checklist for Sitecore Security Hardening using Azure PaaS" Tags="|azure|security|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19708" PostTypeId="2" ParentId="19549" CreationDate="2019-07-03T11:48:09.437" Score="1" Body="&lt;p&gt;This is one of the Sitecore Commerce Engine instance security fact. Please ensure that the value of &lt;strong&gt;SitecoreIdServerHost&lt;/strong&gt; postman environment variable is exactly similar to &lt;strong&gt;SitecoreIdentityServerUrl&lt;/strong&gt; and also whitelisted under &lt;strong&gt;AllowedOrigins&lt;/strong&gt; property (under config.json) of your Commerce Engine Instance which you're trying to access (Auth/Shops etc.).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case I have two bindings (localhost as well as friendly host name) on SitecoreIdentityServer instance and I was receiving the token using localhost binding (which comes by default in postman) but only the friendly host name was listed under Commerce Engine. This is also the common issue if you are working with scaled architecture. Hope it helps!&lt;/p&gt;&#xA;" OwnerUserId="5512" LastActivityDate="2019-07-03T11:48:09.437" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19709" PostTypeId="2" ParentId="10216" CreationDate="2019-07-03T11:50:17.140" Score="0" Body="&lt;p&gt;Adding to Vinicius answer and Rama suggestion. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it still does not work Restart would help. It worked for me after a restart.&lt;/p&gt;&#xA;" OwnerUserId="1045" LastActivityDate="2019-07-03T11:50:17.140" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19710" PostTypeId="1" AcceptedAnswerId="19711" CreationDate="2019-07-03T12:06:26.140" Score="1" ViewCount="1018" Body="&lt;p&gt;I'm getting an error on my Sitecore content delivery which is blocking the tracker from starting.&lt;br&gt;&#xA;I feel like I've tried everything but must be missing something.&lt;br&gt;&#xA;Sitecore version is 9.0.2 with topology XP1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error&lt;/strong&gt;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;17080 12:57:40 ERROR Cannot create tracker.&#xA;Exception: Sitecore.XConnect.Client.XdbModelConflictException&#xA;Message: One or more local models conflict with the xDB service layer.&#xA; 'MyCustomModel, 0.2' does not match the remote version&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling[T](Func`2 func)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.&amp;lt;&amp;gt;c__DisplayClass15_0.&amp;lt;LoadContact&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.Data.ContactRepository.LoadContact(ID contactId)&#xA;   at Sitecore.Analytics.Tracking.ContactManager.LoadContact(Guid contactId, Boolean exclusive)&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact.Process(InitializeTrackerArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureSessionContextPipeline.&amp;lt;&amp;gt;c__DisplayClass4_0.&amp;lt;Run&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;Monitor&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()&#xA;   at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Tracker.Initialize()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My xConnect websites&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/qMSJf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qMSJf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I checked&lt;/strong&gt;&lt;br&gt;&#xA;I double checked all files listed in the documentation:&lt;br&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/deploy-a-custom-model.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/deploy-a-custom-model.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;JSON file in previewsc_XConnectCollection\App_data\Models&lt;/li&gt;&#xA;&lt;li&gt;JSON file in previewsc_XConnectCollectionSearch\App_data\Models&lt;/li&gt;&#xA;&lt;li&gt;JSON file in previewsc_XConnectCollectionSearch\App_data\jobs\continuous\IndexWorker\App_data\Models&lt;/li&gt;&#xA;&lt;li&gt;JSON file in previewsc_XConnectMarketingAutomation\App_data\Models&lt;/li&gt;&#xA;&lt;li&gt;XML file in previewsc_XConnectMarketingAutomation\App_data\jobs\continuous\AutomationEngine\App_Data\Config\sitecore&lt;/li&gt;&#xA;&lt;li&gt;DLL file in previewsc_XConnectMarketingAutomation\App_data\jobs\continuous\AutomationEngine&lt;/li&gt;&#xA;&lt;li&gt;DLL file in Content Delivery environment together with the correct config file&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;All JSON model files are the same. Also when compared with a regenerated file.&lt;br&gt;&#xA;The version in the JSON file matches the version of the model.&lt;br&gt;&#xA;Filename: MyCustomModel, 0.2.json&lt;br&gt;&#xA;And in code: new XdbModelVersion(0, 2)&lt;br&gt;&#xA;And in the decompiled dll that was deployed to the CD environment.&#xA;I restarted the all IIS websites and the 2 services but that didn't solve it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Questions&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Does the JSON model need to be in previewsc_XConnectMarketingAutomationReporting ?&lt;/li&gt;&#xA;&lt;li&gt;Does the JSON model need to be in previewsc_XConnectReferenceData ?&lt;/li&gt;&#xA;&lt;li&gt;Anything else I should verify?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="483" LastActivityDate="2019-07-03T12:43:38.367" Title="How to solve xConnect error &quot;Model does not match the remote version&quot;" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19711" PostTypeId="2" ParentId="19710" CreationDate="2019-07-03T12:43:38.367" Score="2" Body="&lt;p&gt;The error you see is only for the xConnect website. The marketing automation and indexing do not talk directly to the website, to cause that error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What this error means is that the C# MyCustomModel model does not match the xConnect MyCustomModel json model. Please regenerate the MyCustomModel model again and compare the json files. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var model = Sitecore.XConnect.Serialization.XdbModelWriter.Serialize(MyCustomModel.Model);&#xA;            File.WriteAllText(MyCustomModel.Model.FullName + &quot;.json&quot;, model);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Either the json is from a newer C# model or the C# model is newer than the json model.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-07-03T12:43:38.367" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19712" PostTypeId="2" ParentId="19690" CreationDate="2019-07-03T13:38:36.257" Score="1" Body="&lt;p&gt;It turns out, the class &lt;code&gt;MyNamespace.MyOwnProcessor&lt;/code&gt; was referenced in another part of the config file - one where it didn't belong.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Lesson learned - check for all occurrences of your type when getting the &quot;No matching constructor was found&quot; error.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-07-03T13:38:36.257" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19713" PostTypeId="2" ParentId="19642" CreationDate="2019-07-03T13:47:55.870" Score="3" Body="&lt;p&gt;Based on some discussion with Sitecore support, I learned that workbox items indeed are not supposed to be visible when locked unless you are an admin or the person who locked the item.  Specifically in Sitecore.Shell.Applications.Workbox, the following code determines this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ArrayList arrayList = new ArrayList(items.Length);&#xA;DataUri[] array = items;&#xA;for (int i = 0; i &amp;lt; array.Length; i++)&#xA;{&#xA;    DataUri dataUri = array[i];&#xA;    Item item = Context.ContentDatabase.GetItem(dataUri);&#xA;    if (item != null &amp;amp;&amp;amp; item.Access.CanRead() &amp;amp;&amp;amp; item.Access.CanReadLanguage() &amp;amp;&amp;amp; item.Access.CanWriteLanguage() &amp;amp;&amp;amp; (Context.IsAdministrator || item.Locking.CanLock() || item.Locking.HasLock()))&#xA;    {&#xA;        arrayList.Add(dataUri);&#xA;    }&#xA;}&#xA;return arrayList.ToArray(typeof(DataUri)) as DataUri[];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, if one wanted to allow for visibility of locked items for those who were not admins and not the user who locked the item, one could override this part of the Workbox code.  At the current time we've decided to not customize this but to come back to it at a later date and decide whether customizing would be better than leaving it as is.&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-07-03T13:47:55.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19714" PostTypeId="1" AcceptedAnswerId="19737" CreationDate="2019-07-03T16:24:34.483" Score="0" ViewCount="1061" Body="&lt;p&gt;We are trying to install SOLR in a standalone server for a production environment. A client has already installed an SSL server certificate on the Server. I can see it in &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;MMC-&gt;Certificates-&gt;Personal &amp;amp;&amp;amp; MMC-&gt;Certificates-&gt;Trusted Root&#xA;  Certificates.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Not sure how to assign this to SOLR? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have previously created self-signed SSL for SOLR in development machine and assigned to localhost successfully by adding below parameters to solr.in.cmd&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks&#xA;set SOLR_SSL_KEY_STORE_PASSWORD=secret&#xA;set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks&#xA;set SOLR_SSL_TRUST_STORE_PASSWORD=secret&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But not sure how to generate jks file and password for already installed CA certificate, could someone have done this before?&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2019-07-03T16:36:55.820" LastActivityDate="2019-08-03T12:00:14.667" Title="Assigning CA SSL certificate to SOLR" Tags="|solr|certificate|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19715" PostTypeId="1" AcceptedAnswerId="19720" CreationDate="2019-07-03T17:37:58.803" Score="1" ViewCount="325" Body="&lt;p&gt;&lt;strong&gt;Sitecore Version :&lt;/strong&gt; 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Environment:&lt;/strong&gt; Azure PaaS CD&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If upload any media file manually in &lt;code&gt;Content editor&lt;/code&gt;, it uploads the media and the &lt;code&gt;filepath&lt;/code&gt; field is empty. In program, I need to upload the media files which &#xA;I could able to upload the file and the &lt;code&gt;filepath&lt;/code&gt; field is not empty, it shows &lt;code&gt;App_Data/Mediafiles/filepath.ext&lt;/code&gt; . The issue is I could able to see the media &#xA;files in CM server. I have published all the media library to CD server. Only manually uploaded files are showing in live website, the media files which is&#xA;created through program are not showing in live website. &lt;/p&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="5096" LastEditDate="2019-07-04T06:21:16.000" LastActivityDate="2019-07-04T06:21:16.000" Title="Programmatically uploaded media files are not showing in CD Server" Tags="|azure|media-library|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19716" PostTypeId="1" AcceptedAnswerId="19717" CreationDate="2019-07-03T17:45:03.363" Score="1" ViewCount="1989" Body="&lt;p&gt;Sitecore Version: 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Environment: Azure PaaS CD&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are trying to call &lt;code&gt;/api/sitecore/controller/actionname&lt;/code&gt; with AJAX. It's working on the CM server but not on the CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I disabled custom errors and removed HTTP error configuration in web.config, but it still redirects to the custom 404 page I've created.&lt;/p&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="342" LastEditDate="2019-07-03T20:41:25.230" LastActivityDate="2019-07-06T15:30:12.283" Title="/api/sitecore is not working in CD server" Tags="|webapi|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19717" PostTypeId="2" ParentId="19716" CreationDate="2019-07-03T18:04:43.843" Score="5" Body="&lt;p&gt;It was moved to SPEAK routes in Sitecore 9 and unavailable on CD server. You can resolve it by adding this snippet to your routing configuration (if you really need this API route - best practice is to create your own routes for your API calls):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (ConfigurationManager.AppSettings[&quot;role:define&quot;] == &quot;ContentDelivery&quot;)&#xA;{&#xA;   RouteTable.Routes.MapRoute(&quot;Sitecore.Speak.Commands&quot;, &quot;api/sitecore/{controller}/{action}&quot;);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-07-03T23:48:52.820" LastActivityDate="2019-07-03T23:48:52.820" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19718" PostTypeId="1" CreationDate="2019-07-03T18:07:00.570" Score="3" ViewCount="221" Body="&lt;p&gt;The ask is to show the following kind of message on the OnItemSaved event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wEGdb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wEGdb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am unable to show a similar custom message on the OnItemSaved event. I am always getting some default exception message. I tried achieving it by throwing the custom exception as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;throw new CustomException(&quot;Section heading cannot have more than 20 characters !&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please let me know if I am missing something.&lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="5417" LastEditDate="2019-07-04T15:06:40.733" LastActivityDate="2019-07-04T15:06:40.733" Title="How do I show custom error message on OnItemSaved event?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19720" PostTypeId="2" ParentId="19715" CreationDate="2019-07-03T18:40:28.450" Score="2" Body="&lt;p&gt;The fact that the filepath is not empty when uploading through your code would mean that those items are uploaded as &lt;code&gt;file based&lt;/code&gt;. This means Sitecore will store the actual blob on disk and not in the database. To get those items to a CD server, you would need a solution that copies those files along. But that is not your best solution, as you probably don't want them on disk (as your manually inserted media is in the database).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check your code - I would assume that you have some &lt;code&gt;MediaCreatorOptions&lt;/code&gt;. If my assumptions are correct, those options would have &lt;code&gt;options.FileBased = true;&lt;/code&gt; You need to change that to false in order to get the blob items stored in the database. In that case, your filepath will be empty and if those get published, your CD will have access.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check this blog for more info: &lt;a href=&quot;https://briancaos.wordpress.com/2009/07/09/adding-a-file-to-the-sitecore-media-library-programatically/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://briancaos.wordpress.com/2009/07/09/adding-a-file-to-the-sitecore-media-library-programatically/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-07-03T18:40:28.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19721" PostTypeId="1" CreationDate="2019-07-03T18:47:06.363" Score="1" ViewCount="67" Body="&lt;p&gt;I'm having a strange issue with Sitecore forms. I am trying to use Sitecore forms to save data entered in a form, and then export all entered data to a CSV file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was my understanding that this should all work OOTB with Sitecore Forms. When I go to the Form Designer Page and click &quot;Export to a CSV File&quot; on my test form, it shows the following notification:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/eKIya.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eKIya.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the second notification that supposedly indicates that the CSV export is complete never shows. As such, I have no idea where I should navigate to access the CSV file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea/suggestions?&lt;/p&gt;&#xA;" OwnerUserId="5730" LastActivityDate="2019-07-03T18:47:06.363" Title="Can't Export Sitecore Form Saved Results to CSV File" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="1" ClosedDate="2019-07-04T07:50:42.943" ContentLicense="CC BY-SA 4.0" />
  <row Id="19722" PostTypeId="1" AcceptedAnswerId="19765" CreationDate="2019-07-03T19:55:31.610" Score="3" ViewCount="1121" Body="&lt;p&gt;This is an old issue, and it was resolved in our old 8.2 instance by a prior dev but after upgrading to 9.0 the issue has reappeared. When a user copies or duplicates an item, all of the local components that are children of that item are copied, but the datasources of the renderings on the copied parent item all point to the original local components rather than the new ones.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Duplicate /sitecore/content/Example with name Example2&lt;/li&gt;&#xA;&lt;li&gt;Example2 is successfully created, as well as /sitecore/content/Example2/local components and  /sitecore/content/Example2/local components/RichText&lt;/li&gt;&#xA;&lt;li&gt;However, the Rich Text rendering on Example2 has a datasource of  /sitecore/content/&lt;strong&gt;Example&lt;/strong&gt;/local components/RichText instead of /sitecore/content/&lt;strong&gt;Example2&lt;/strong&gt;/local components/RichText&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I've been trying to find solutions but all of the posts I've found are really old and reference blogs that no longer seem to exist. Is there a patch for this, or any current blogs that explain how to fix this?&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2019-07-05T10:35:43.217" LastActivityDate="2022-05-16T18:03:46.030" Title="Copy/Duplicate items - datasource of local components points to original item instead of newly created local item" Tags="|datasource|copy|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19723" PostTypeId="2" ParentId="19716" CreationDate="2019-07-03T20:39:35.647" Score="5" Body="&lt;p&gt;The &lt;code&gt;/sitecore/api&lt;/code&gt; route is a default route added by Sitecore in configs that are specific to the content management aspects of the platform. These configs are not enabled for content delivery. As noted in &lt;a href=&quot;https://sitecore.stackexchange.com/a/19717/342&quot;&gt;x3mxray's answer&lt;/a&gt;, they can be reenabled, but I wouldn't recommend it.&lt;/p&gt;&#xA;&lt;p&gt;Instead of reenabling the default routes for other functionality you (probably) don't need on your CD servers, I would recommend mapping a custom route to your method and not relying on the &lt;code&gt;/api/sitecore&lt;/code&gt; prefix.&lt;/p&gt;&#xA;&lt;h1&gt;1. Create pipeline processor to register route&lt;/h1&gt;&#xA;&lt;pre&gt;&lt;code&gt;using System.Web.Mvc;&#xA;using System.Web.Routing;&#xA;using Sitecore.Pipelines;&#xA;&#xA;public class RegisterWebApiRoutes&#xA;{&#xA;    public virtual void Process(PipelineArgs args)&#xA;    {&#xA;        RouteTable.Routes.MapRoute(&amp;quot;CustomApiRoute&amp;quot;,&#xA;                                   &amp;quot;api/customaction&amp;quot;,&#xA;                                   new { controller = &amp;quot;ControllerName&amp;quot;, action = &amp;quot;ActionName&amp;quot; },&#xA;                                   new { httpMethod = new HttpMethodConstraint(&amp;quot;GET&amp;quot;) }&#xA;        );&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h1&gt;2. Create patch config to patch in your pipeline processor&lt;/h1&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot; xmlns:role=&amp;quot;http://www.sitecore.net/xmlconfig/role/&amp;quot;&amp;gt;&#xA;    &amp;lt;sitecore role:require=&amp;quot;Standalone OR ContentManagement OR ContentDelivery&amp;quot;&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;initialize&amp;gt;&#xA;                &amp;lt;processor type=&amp;quot;Custom.Pipelines.Initialize.RegisterWebApiRoutes,Custom&amp;quot; patch:before=&amp;quot;processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']&amp;quot;/&amp;gt;&#xA;            &amp;lt;/initialize&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h1&gt;3. Update your code to reference this new route&lt;/h1&gt;&#xA;&lt;p&gt;Don't forget to update your code to use the new route!&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-05T12:07:04.353" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19724" PostTypeId="1" AcceptedAnswerId="19733" CreationDate="2019-07-03T21:51:55.580" Score="0" ViewCount="1421" Body="&lt;p&gt;I am trying to see if I can traverse through every node in a &lt;code&gt;bucket&lt;/code&gt; and get all its items using &lt;code&gt;PSE&lt;/code&gt;. All I am able to get is only the root bucket folder.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried all the below options with no luck.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; $allItems = Get-ChildItem  -Recurse master: -Query &quot;/sitecore/system/Modules/Redirect Module/Redirects/Sites/Url//*[@@templatename ='Redirect Url']&quot; -language en&#xA;&#xA;  $allItems = Get-ChildItem -Path  -Recurse master: -ID &quot;{A6BA7A2F-3C77-4655-B022-CC718BDB0B6E}&quot;&#xA;&#xA;  $everythingUnderRedirects = Get-Item master: -Query &quot;/sitecore/system/Modules/Redirect Module/Redirects/Sites/Url//*[@@templatename ='Redirect Url']&quot; -Language en&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It returns me only the root bucket folder  (the year folder 2016, 2017, etc) &lt;/p&gt;&#xA;" OwnerUserId="2396" LastEditorUserId="5387" LastEditDate="2019-07-04T06:06:38.997" LastActivityDate="2019-07-04T09:36:33.090" Title="Sitecore Powershell - Get all items under buckets" Tags="|powershell-extensions|sitecore-query|powershell|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19725" PostTypeId="1" AcceptedAnswerId="19772" CreationDate="2019-07-04T04:58:38.867" Score="0" ViewCount="903" Body="&lt;p&gt;While installing &lt;code&gt;Sitecore Commerce 9.1.1&lt;/code&gt;, I got below issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ngYv8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ngYv8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below issue logged in the Shops &lt;code&gt;application’s log&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;pre&gt;&#xA;/sitecore/api/ssc/item/?path=%2Fsitecore%2FCommerce%2FCommerce%20Control%20Panel%2FStorefront%20Settings%2FStorefronts%2FCommerceEngineDefaultStorefront&amp;database=master&amp;language=en&#xA;   at Sitecore.Commerce.Plugin.Management.SitecoreConnectionManager.d__15.MoveNext()&#xA;00037 22:04:37 ERROR Management.block.getitembypath: Sitecore Item Service Get item failed, Item /sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/CommerceEngineDefaultStorefront not found.&#xA;00037 22:04:37 ERROR CtxMsg.Error.InvalidShop: Text=Shop 'CommerceEngineDefaultStorefront' does not exist.&#xA;00047 22:04:37 ERROR PipelineAbort:Shop 'CommerceEngineDefaultStorefront' does not exist.&#xA;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;It seems that while installing &lt;code&gt;SXC 9.1.1&lt;/code&gt;, few packages missed installing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please, can somebody help me here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance. &lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="73" LastEditDate="2019-07-08T08:06:39.927" LastActivityDate="2019-07-08T08:06:39.927" Title="Shop 'CommerceEngineDefaultStorefront' does not exist" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19726" PostTypeId="2" ParentId="17406" CreationDate="2019-07-04T05:29:29.827" Score="4" Body="&lt;p&gt;This is also a bug in Sitecore 9.1 update 1. I have raised it as a ticket with Sitecore support and they have provided a bug reference &lt;strong&gt;291373&lt;/strong&gt;. Development of the hotfix is in progress.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I note that in the hotfix mentioned above, 2 of the files are not present in the /bin folder of 9.1.1. The missing files are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/bin/Microsoft.AspNet.TelemetryCorrelation.dll&lt;/li&gt;&#xA;&lt;li&gt;/bin/System.Diagnostics.DiagnosticSource.dll&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2019-07-04T05:29:29.827" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19727" PostTypeId="1" AcceptedAnswerId="19795" CreationDate="2019-07-04T06:37:26.970" Score="5" ViewCount="359" Body="&lt;p&gt;I created a search scope for boosting based on a rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RL8b8.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RL8b8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I set the search box and search result scope to use this boosted search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Works completely as expected locally - but when I deploy to azure the boosting seems to have no affect at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have rebuilt the index, and have checked that the navigation title field is in the index by setting a nice random value in that field for a page, and after publishing confirms that it is picked up in the search results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no errors in the log on executing the search (querying the logs in application insights).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read in another post that potentially azure search does not handle contains properly - but even changing to &quot;is case-insensitively equal to&quot; does not work on a single word.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's an example - where the pages with the word Sample should appear at the top of the list. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/ZA0VR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZA0VR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The search query according to logs is:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[sitecore_sxa_web_index]: &amp;amp;search=(sxacontent:(/.&lt;em&gt;holiday.&lt;/em&gt;/) AND&#xA;  (template_1:(53d07dd880b148cf8e2cbc36cff7dc5b) OR&#xA;  template_1:(dc876a19c0de42788ef491ecb3c82b79) OR&#xA;  template_1:(71f7269a47484737aec3924ddf328142) OR&#xA;  template_1:(3e4af7d2a9e14357bca75108dc7a5416) OR&#xA;  template_1:(ac2a523742c84f5490c6dbe51f9d6a0c)))&amp;amp;$filter=((search.ismatchscoring('navigationtitle_s:(/.&lt;em&gt;holiday.&lt;/em&gt;/)^49',&#xA;  null, 'full', null) or not (compat_prefix__name_s eq '')) and&#xA;  latestversion_1 and (path_1/any(t:t eq&#xA;  'c57e57c57b1d47afaeac3b9532763b10')) and searchable and&#xA;  (path_1/any(t:t eq&#xA;  'c57e57c57b1d47afaeac3b9532763b10')))&amp;amp;queryType=full&amp;amp;$skip=0&amp;amp;$top=20&amp;amp;$count=true&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Changing boost score from 50 to 49 made no difference.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-07-05T00:29:04.037" LastActivityDate="2021-02-11T19:07:04.747" Title="SXA Search Boosting rule not having affect on Azure site" Tags="|sxa|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="19728" PostTypeId="1" CreationDate="2019-07-04T06:57:39.577" Score="1" ViewCount="290" Body="&lt;p&gt;I am trying to understand how to fetch Item from ItemID in JSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is alternative for Sitecore.Context.Database.GetItem(new ID(&quot;{11111111-1111-1111-1111-111111111111}&quot;)) in JSS?&lt;/p&gt;&#xA;" OwnerUserId="5736" LastEditorUserId="5736" LastEditDate="2019-08-23T05:58:47.143" LastActivityDate="2019-08-23T05:58:47.143" Title="How to get Item from ItemID in JSS?" Tags="|jss|sitecore-api|" AnswerCount="0" CommentCount="1" ClosedDate="2019-07-05T08:11:53.277" ContentLicense="CC BY-SA 4.0" />
  <row Id="19729" PostTypeId="2" ParentId="13868" CreationDate="2019-07-04T07:28:08.090" Score="0" Body="&lt;p&gt;You can check your configs, for the better understanding how the configs work, check this link. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/SdnArchive/Articles/Administration/Configuring%20Multiple%20Sites.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/SdnArchive/Articles/Administration/Configuring%20Multiple%20Sites.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;modules_website&lt;/strong&gt; - reserved for modules usage, front-end side &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Website&lt;/strong&gt; - default front-end web site, also used for WebEdit, Debug, Preview&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The patch works in orders, so If you want to patch your jss before &lt;code&gt;website&lt;/code&gt; use &lt;code&gt;patch:after=&quot;site[@name='modules_website']&lt;/code&gt; this way it wont conflict your existing site.&lt;/p&gt;&#xA;" OwnerUserId="2948" LastActivityDate="2019-07-04T07:28:08.090" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19730" PostTypeId="1" AcceptedAnswerId="19735" CreationDate="2019-07-04T07:55:39.253" Score="3" ViewCount="136" Body="&lt;p&gt;We need to import contacts details in &lt;code&gt;xDB&lt;/code&gt; from the marketing tools like &lt;code&gt;Eloqua or Marketo&lt;/code&gt;. Does Sitecore provide any tool to do so in &lt;code&gt;Sitecore v8.1&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="5387" LastEditDate="2019-07-04T09:40:39.850" LastActivityDate="2019-07-04T10:01:01.803" Title="Can we import data from Eloqua or Marketo into Sitecore xDB?" Tags="|xdb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19731" PostTypeId="1" AcceptedAnswerId="19734" CreationDate="2019-07-04T09:22:35.430" Score="-2" ViewCount="701" Body="&lt;p&gt;I have a sitecore form like this: &lt;a href=&quot;https://i.stack.imgur.com/x8r0a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x8r0a.png&quot; alt=&quot;sitecore-form&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I submitted some data for it and when I click export data from this form, the exported file is display in only one column like this below:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/GiqwQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GiqwQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I export those data to separate columns?&lt;/p&gt;&#xA;" OwnerUserId="5241" LastActivityDate="2019-07-04T09:43:09.463" Title="csv data file exported from a sitecore form is only display in one column" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19732" PostTypeId="2" ParentId="19731" CreationDate="2019-07-04T09:24:55.570" Score="0" Body="&lt;p&gt;You need to choose using semicolon &quot;;&quot; as columns separator during import. Then all your data will be divided on separate columns.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-07-04T09:24:55.570" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19733" PostTypeId="2" ParentId="19724" CreationDate="2019-07-04T09:36:33.090" Score="2" Body="&lt;p&gt;Try to use Find-Item command-let instead of Get-Item&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$criteria = @(&#xA;  @{ Filter = &quot;Equals&quot;; Field = &quot;_templatename&quot;; Value = &quot;Redirect Url&quot;; }, &#xA;  @{ Filter = &quot;DescendantOf&quot;; Value = (Get-Item &quot;master:/sitecore/system/Modules/Redirect Module/Redirects/Sites/Url/&quot;); }&#xA;)&#xA;&#xA;$props = @{&#xA;    Index = &quot;sitecore_master_index&quot;&#xA;    Criteria = $criteria&#xA;}&#xA;&#xA;$allItems = Find-Item @props&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-07-04T09:36:33.090" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19734" PostTypeId="2" ParentId="19731" CreationDate="2019-07-04T09:43:09.463" Score="2" Body="&lt;p&gt;Go to the &lt;code&gt;Data&lt;/code&gt; tab and select &lt;code&gt;Text to columns&lt;/code&gt; under &lt;code&gt;Data tools&lt;/code&gt;. Then select delimited and hit &lt;code&gt;Next&lt;/code&gt;. Then select &lt;code&gt;Semicolon&lt;/code&gt; (instead of Comma which is depicted in below picture as in your case you need semicolon) as the delimiter and hit &lt;code&gt;Finish&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0p9zE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0p9zE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-07-04T09:43:09.463" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19735" PostTypeId="2" ParentId="19730" CreationDate="2019-07-04T10:01:01.803" Score="3" Body="&lt;p&gt;There is no OOTB functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create it by your own.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would create console app to do it for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You basically need to follow these 3 steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Export Data from Eloqua/Marketo - You can use REST API that Eloqua / Marketo provide -&gt; &lt;a href=&quot;https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Leads/getLeadsByFilterUsingGET&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Leads/getLeadsByFilterUsingGET&lt;/a&gt; or &lt;a href=&quot;https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAC/rest-endpoints.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAC/rest-endpoints.html&lt;/a&gt;; You are not mentioning it in your question but you need to get contacts/leads together with their membership / contact list &quot;assignments&quot;&lt;/li&gt;&#xA;&lt;li&gt;Create contact lists that mimic Marketo / Eloqua once in Sitecore by using Sitecore API with data from first step. Follow this thread -&gt; &lt;a href=&quot;https://sitecore.stackexchange.com/questions/6866/adding-to-and-creating-a-list-manager-list-programatically&quot;&gt;Adding to and creating a List Manager list programatically&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create contacts by using Sitecore API with data from first step and assign them to proper contact lists. Follow this thread -&gt; &lt;a href=&quot;https://stackoverflow.com/questions/39634909/sitecore-8-1-exm-3-2-how-to-add-contact-to-a-list-in-list-manager-programatical&quot;&gt;https://stackoverflow.com/questions/39634909/sitecore-8-1-exm-3-2-how-to-add-contact-to-a-list-in-list-manager-programatical&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-07-04T10:01:01.803" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19737" PostTypeId="2" ParentId="19714" CreationDate="2019-07-04T11:15:05.230" Score="2" Body="&lt;p&gt;According to &lt;a href=&quot;https://stackoverflow.com/questions/33617420/is-it-possible-to-use-solr-with-ssl-and-ca-signed-certs&quot;&gt;this StackOverflow article&lt;/a&gt;, it should be possible using the same steps, but skipping the generation parts.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Java truststore and keystore files are the same regardless if its&#xA;  self-signed or CA-signed certificates.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Using the instructions from your CA, import the appropriate&#xA;  certificates to the truststore and keystore that Solr will use, and&#xA;  then configure your Solr to point to your new truststore/keystore&#xA;  files (and required passwords to access the certificates).&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;In other words, follow the instructions you linked, just skip the&#xA;  first step (Generate a self-signed certificate and a key), the rest of&#xA;  the instructions are still valid, even with your CA-signed&#xA;  certificates.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-07-04T11:15:05.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19738" PostTypeId="2" ParentId="19718" CreationDate="2019-07-04T11:34:45.323" Score="1" Body="&lt;p&gt;You need to create a custom processor in the experience editor or/and content editor based on your requirement. A simple way to create a custom patch config to register the processor and a class file with your code.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;      &amp;lt;sitecore&amp;gt;&#xA;         &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;!--Disyplay warning in the content editor--&amp;gt;&#xA;             &amp;lt;getContentEditorWarnings&amp;gt;&#xA;                      &amp;lt;processor type=&quot;xyz.Warning.YourClass, xyz&quot; /&amp;gt;&#xA;             &amp;lt;/getContentEditorWarnings&amp;gt;&#xA;&#xA;            &amp;lt;!--Disyplay warning in the Exprience editor--&amp;gt;&#xA;             &amp;lt;getPageEditorNotifications&amp;gt;&#xA;                      &amp;lt;processor type=&quot;xyz.GetPageEditorNotifications.YourClass,xyz&quot; /&amp;gt;&#xA;             &amp;lt;/getPageEditorNotifications&amp;gt;&#xA;         &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Your experience editor class will inherit the GetPageEditorNotificationsProcessor&#xA;here is some sample code for the expriecne editor- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace xyz.GetPageEditorNotifications&#xA; {&#xA;    public class YourClass : GetPageEditorNotificationsProcessor&#xA;      {&#xA;        public override void Process(GetPageEditorNotificationsArgs arguments)&#xA;          {&#xA;             Assert.ArgumentNotNull((object)arguments, &quot;arguments&quot;);&#xA;             Item contextItem = arguments.ContextItem;&#xA;              // your code&#xA;          }&#xA;      }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For Content editor, the code will look like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace xyz.Warning&#xA;{&#xA;     public class YourClass&#xA;     {&#xA;        public void Process(GetContentEditorWarningsArgs args)&#xA;        {&#xA;            var item = args.Item;&#xA;&#xA;            if (item == null)&#xA;                return;&#xA;            // Your Code&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I guess this will help you.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-07-04T11:34:45.323" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19739" PostTypeId="1" AcceptedAnswerId="19769" CreationDate="2019-07-04T13:37:51.317" Score="1" ViewCount="2448" Body="&lt;p&gt;I setup Sitecore Publishing Service on my server correctly. It worked fine for week.&#xA;But it started throwing error whenever I try to publish any item &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error : Could not resolve stores: 'public' of type target&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked publishing service logs and found below error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-07-04 06:23:44.830 -07:00 [Information] Service Version   : &quot;3.1.44&quot;&#xA;2019-07-04 06:23:44.859 -07:00 [Information] Environment type  : &quot;Production&quot;&#xA;2019-07-04 06:23:44.861 -07:00 [Information] Log Level Filter  : &quot;Default&quot; =&amp;gt; Warning&#xA;2019-07-04 06:23:44.861 -07:00 [Information] Log Level Filter  : &quot;Sitecore&quot; =&amp;gt; Information&#xA;2019-07-04 06:23:44.861 -07:00 [Information] Listening on      : &quot;http://localhost:40582&quot;&#xA;2019-07-04 06:23:44.861 -07:00 [Information] Instance name     : &quot;85ac4a37-9ce8-4bbd-bbec-5d5520218c62&quot;&#xA;2019-07-04 06:23:45.254 -07:00 [Information] Source registered : &quot;Master&quot; (&quot;Master&quot;)&#xA;2019-07-04 06:23:45.254 -07:00 [Information] Target registered : &quot;Public&quot; (&quot;Public&quot;)&#xA;2019-07-04 06:23:45.323 -07:00 [Information] Scheduled Task    : &quot;PublishTask-d2aef83be20c49cab25b13e3695a7440&quot;&#xA;2019-07-04 06:23:45.323 -07:00 [Information] Scheduled Task    : &quot;PublishJobCleanupTask-6cde74f286cb4ed1ad7b851af35ccbba&quot;&#xA;2019-07-04 06:23:45.324 -07:00 [Information] Scheduled Task    : &quot;PublishOperationCleanupTask-8ebf9e001c2b429bb42bc7ac47586c94&quot;&#xA;2019-07-04 06:23:45.333 -07:00 [Information] Starting Instance Activation monitor (&quot;MultiInstanceActivationStrategy&quot;) on &quot;85ac4a37-9ce8-4bbd-bbec-5d5520218c62&quot;&#xA;2019-07-04 06:23:45.376 -07:00 [Information] Instance Enabled  : False (&quot;85ac4a37-9ce8-4bbd-bbec-5d5520218c62&quot;)&#xA;2019-07-04 06:23:45.402 -07:00 [Information] Scheduler Status  : Stopped&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here I can Instance enabled is false when I first installed it then it was true&lt;/p&gt;&#xA;" OwnerUserId="3310" LastActivityDate="2019-07-06T01:14:43.217" Title="Sitecore Publishing Service not working" Tags="|publishing|publishing-service|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19740" PostTypeId="1" CreationDate="2019-07-04T13:41:59.747" Score="2" ViewCount="569" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; and &lt;code&gt;SXA 1.8.1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an item called &lt;code&gt;Seat&lt;/code&gt;, this item is a parent to many other items on multiple levels of two templates, &lt;code&gt;Topic Details&lt;/code&gt; and &lt;code&gt;Topic Listing&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rErTR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rErTR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;Seat&lt;/code&gt; (my parent item), I have a search results component, where I want to return &lt;code&gt;only the first level of children of Seat&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to achieve this using the OOTB Scope query? noting that, the children are of two different templates, not just one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My current scope query is this:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;template:{TopicDetailsID};template:{TopicListingID};+sxa:UnderCurrentPage;sxa:ExcludeCurrentPage&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This returns all of the children on all levels, and I'm trying to get only the first level.&lt;/p&gt;&#xA;" OwnerUserId="5154" LastEditorUserId="5387" LastEditDate="2019-08-12T10:24:42.493" LastActivityDate="2019-08-12T10:24:42.493" Title="Build Scope Query to Get First level of Children" Tags="|sxa|sitecore-query|querybuilder|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19741" PostTypeId="1" CreationDate="2019-07-04T13:43:51.917" Score="2" ViewCount="101" Body="&lt;p&gt;When dealing with commerce we see that it stores connection strings in the databases, for example in the MSCS_Admin the table resourceprops stores all sorts of connection information.&#xA;Now say you want to restore all commerce databases from server A into server B and just update connection strings, what are the places one need to update? What are all the databases impacted and which ones need to be updated?&#xA;Do I need to manually build SQL scripts for that to update each row with the new connection or is there an easier way to do so?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update: This is Sitecore 8.2 update 3 with Commerce 8.2.1(initial release)&lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="90" LastEditDate="2019-07-05T12:55:26.147" LastActivityDate="2019-08-04T13:01:30.127" Title="When copying commerce databases from server A to B what are the places that need to be updated?" Tags="|sitecore-commerce|commerce-server|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19742" PostTypeId="1" AcceptedAnswerId="19743" CreationDate="2019-07-04T13:46:22.643" Score="5" ViewCount="2418" Body="&lt;p&gt;There is need to load a controller rendering from the Razor view.&lt;br&gt;&#xA;I'm doing it this way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().ControllerRendering(&quot;Captcha&quot;, &quot;GoogleReCaptcha&quot;, new { RedisCacheKeyPrefix = &quot;scans_&quot;, GoogleReCaptchaValidationMessage = &quot;Please fill up the captcha&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here &lt;code&gt;Captcha&lt;/code&gt; is the controller name, &lt;code&gt;GoogleReCaptcha&lt;/code&gt; is the action name.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;RedisCacheKeyPrefix&lt;/code&gt; &amp;amp; &lt;code&gt;GoogleReCaptchaValidationMessage&lt;/code&gt; are the rendering parameters, i.e the exact field names of the rendering parameter template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm assigning the default values here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the code, reading the values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string prefix= RenderingContext.Current.Rendering.Parameters[&quot;RedisCacheKeyPrefix&quot;]  &#xA;string message= RenderingContext.Current.Rendering.Parameters[&quot;GoogleReCaptchaValidationMessage&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But they are always null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the correct way to pass the rendering parameters in this case.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2019-07-04T14:26:32.987" Title="How to pass rendering parameters for a static controller rendering" Tags="|controller|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19743" PostTypeId="2" ParentId="19742" CreationDate="2019-07-04T14:11:03.610" Score="6" Body="&lt;p&gt;The naming of the 3rd parameter of &lt;code&gt;@Html.Sitecore().ControllerRendering&lt;/code&gt; method is a bit unfortunate. It's called &lt;code&gt;parameters&lt;/code&gt;, while in my opinion it should be called &lt;code&gt;properties&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason for that is one can access what is passed via this parameter using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RenderingContext.Current.Rendering.Properties[...]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So in your example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().ControllerRendering(&quot;Captcha&quot;, &quot;GoogleReCaptcha&quot;, new { RedisCacheKeyPrefix = &quot;scans_&quot;, GoogleReCaptchaValidationMessage = &quot;Please fill up the captcha&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;can be accessed using &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string prefix = RenderingContext.Current.Rendering.Properties[&quot;RedisCacheKeyPrefix&quot;]  &#xA;string message = RenderingContext.Current.Rendering.Properties[&quot;GoogleReCaptchaValidationMessage&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-04T14:11:03.610" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19744" PostTypeId="2" ParentId="19742" CreationDate="2019-07-04T14:26:32.987" Score="0" Body="&lt;p&gt;I suggest that you create a setting item somewhere in Sitecore that contain's the two properties / fields, and then set the setting item as a DataSource:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().ControllerRendering(&quot;Captcha&quot;, &quot;GoogleReCaptcha&quot;, new&#xA;{&#xA;    DataSource = &quot;{sitecore-id-of-setting-item}&quot;&#xA;})&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Something like this.&#xA;Then your content is editable and you can request the DataSource item (with the two fields) in your controller as usual.&lt;/p&gt;&#xA;" OwnerUserId="4603" LastActivityDate="2019-07-04T14:26:32.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19745" PostTypeId="2" ParentId="10657" CreationDate="2019-07-04T14:39:24.557" Score="1" Body="&lt;p&gt;We had similar issue.&#xA;So if the solution with the post by Jacob Nielsen doesn't work for you that means you are more likely to be running multilanguage instance.&#xA;Therefore please do check in General tab in Senders Details section the field &lt;strong&gt;From Email&lt;/strong&gt; contains the same value across all languages you have this template designed for, we had English general was having youremail.com. &#xA;Unfortunately EXM doesn't state what email its trying to parse when stating the &lt;strong&gt;sender email is invalid&lt;/strong&gt;. But this was the case in our issue, but definitely do check &lt;strong&gt;Administration -&gt; Domains&lt;/strong&gt; so the domain name is present from one you are sending an email and that DKIM is checked as green. &lt;/p&gt;&#xA;" OwnerUserId="725" LastActivityDate="2019-07-04T14:39:24.557" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19746" PostTypeId="1" AcceptedAnswerId="19751" CreationDate="2019-07-04T21:40:46.050" Score="2" ViewCount="265" Body="&lt;p&gt;Sitecore Support has stated that I can’t install packages like PowerShell Extensions and SXA if my PaaS environment is already deployed. They stated I need to redeploy and add these to the ARM Templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As this is an existing Prod environment, why can’t I just deploy to the CMS/install packages like IaaS. I am sure there are some differences as the CMS WebApp is in a separate AppService than other roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In essence, what are the differences and proper method for deploying packages like PowerShell Extensions and SXA to a Sitecore PaaS 9.0 XP1 Environment?&lt;/p&gt;&#xA;" OwnerUserId="858" LastActivityDate="2019-07-05T12:30:35.000" Title="Installing Packages in Sitecore PaaS/WebApp" Tags="|azure|paas|packages|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19747" PostTypeId="2" ParentId="19741" CreationDate="2019-07-05T02:29:33.233" Score="0" Body="&lt;p&gt;Look for 'Sitecore.Commerce.Plugin.SQL.EntityStoreSqlPolicy' in Bootstrap/Global.json -&gt; This should point to Global DB&#xA;Then look for same policy in data/Environments/Plugin.SQL.PolicySet-1.0.0.json -&gt; This should point to Shared DB&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And do this for all your Commerce Engine roles(Authoring, Minions, Shops, Ops..)&#xA;Then you need to Re-Boostrap Commerce Engine using Postman Collections&lt;/p&gt;&#xA;" OwnerUserId="4621" LastActivityDate="2019-07-05T02:29:33.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19748" PostTypeId="2" ParentId="19741" CreationDate="2019-07-05T03:52:09.063" Score="1" Body="&lt;p&gt;Please see this blog.. it would help you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jitendrasitecore.wordpress.com/2019/05/11/change-database-password-sitecore-9-x/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jitendrasitecore.wordpress.com/2019/05/11/change-database-password-sitecore-9-x/&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;you have to change the password in the configuration files as well as you have do change server name in the sitecore databases as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Commerce end you have to make the following changes:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jitendrasitecore.wordpress.com/2018/12/13/change-default-password-sitecore-commerce/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jitendrasitecore.wordpress.com/2018/12/13/change-default-password-sitecore-commerce/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2019-07-05T03:52:09.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19749" PostTypeId="1" CreationDate="2019-07-05T04:21:53.597" Score="0" ViewCount="164" Body="&lt;p&gt;I am using the below version of Sitecore:&#xA;&lt;code&gt;Sitecore.NET 9.0.1 (rev. 171219)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I am trying to access branch template &lt;code&gt;$item&lt;/code&gt; which also have a presentation that leads error instead of open in editor mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Gnzuc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Gnzuc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ALTIg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ALTIg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone face the same issue. Please give your experienced advice to solve this issue.&lt;/p&gt;&#xA;" OwnerUserId="1146" LastEditorUserId="5387" LastEditDate="2019-07-05T04:24:26.717" LastActivityDate="2019-07-05T06:26:58.167" Title="Branch Template $name item gives error in experience editor" Tags="|sxa|sitecore-client|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19750" PostTypeId="2" ParentId="19749" CreationDate="2019-07-05T06:26:58.167" Score="2" Body="&lt;p&gt;This is not how you should work with SXA. Use &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/designing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Page and Partial Designs&lt;/a&gt; to share presentation, not branch items. Branch item is not located in any of the Sites, when there is no context of the site, there is no way to determine which Editing Theme should be used. I believe this error has already been fixed and you not hot seen &quot;Object reference...&quot; any more, but one more time - use Page and Partial Designs and never add renderings to items outside the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look for example here: &lt;a href=&quot;https://www.youtube.com/watch?v=0LqngaF5i1U&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=0LqngaF5i1U&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-07-05T06:26:58.167" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19751" PostTypeId="2" ParentId="19746" CreationDate="2019-07-05T07:38:52.287" Score="2" Body="&lt;p&gt;The difficult answer is: it depends... on how you do your deployments. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Normally on PAAS you will deploy the full application (Sitecore + packages + your own code) which means indeed that you need to add the packages to the ARM templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you already have provisioned your environment and don't want to do this again, you need to install the packages once throught the Sitecore installation wizard as you normally would in an IAAS setup to get the items from the package in your databases. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But as stated, if you redeploy the entire application (which is done mostly) you need to have the packages in the ARM templates (no-database-version) as well or they will be gone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And as Jason added correctly, installing the files to the CD environments will be difficult..  that will be much easier with a deploy (with adapted ARM templates).&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-07-05T12:30:35.000" LastActivityDate="2019-07-05T12:30:35.000" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="19752" PostTypeId="1" CreationDate="2019-07-05T09:17:31.870" Score="1" ViewCount="599" Body="&lt;p&gt;&lt;strong&gt;The Query:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  search(fieldsEqual:[&#xA;    {name:&quot;_fullpath&quot;, value:&quot;/sitecore/content/*&quot; }&#xA;   ]) {&#xA;    results {&#xA;      totalCount&#xA;      }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The Result:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &quot;data&quot;: {&#xA;    &quot;search&quot;: null&#xA;  },&#xA;  &quot;errors&quot;: [&#xA;    {&#xA;      &quot;message&quot;: &quot;Error trying to resolve search.&quot;,&#xA;      &quot;locations&quot;: [&#xA;        {&#xA;          &quot;line&quot;: 2,&#xA;          &quot;column&quot;: 3&#xA;        }&#xA;      ],&#xA;      &quot;path&quot;: [&#xA;        &quot;search&quot;&#xA;      ],&#xA;      &quot;extensions&quot;: {&#xA;        &quot;code&quot;: &quot;INVALID_OPERATION&quot;&#xA;      }&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Config Settings:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;queries hint=&quot;raw:AddQuery&quot;&amp;gt;&#xA;                  &amp;lt;!-- enable querying on items via this API --&amp;gt;&#xA;                  &amp;lt;query name=&quot;item&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.ItemQuery, Sitecore.Services.GraphQL.Content&quot; /&amp;gt;&#xA;                  &amp;lt;query name=&quot;sites&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.SiteQuery, Sitecore.Services.GraphQL.Content&quot; /&amp;gt;&#xA;                  &amp;lt;query name=&quot;templates&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.TemplatesQuery, Sitecore.Services.GraphQL.Content&quot; /&amp;gt;&#xA;                  &amp;lt;query name=&quot;search&quot; type=&quot;Sitecore.Services.GraphQL.Content.Queries.SearchQuery, Sitecore.Services.GraphQL.Content&quot; /&amp;gt;&#xA;                &amp;lt;/queries&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How come my basic search gives an error? Is there something I'm not seeing?&lt;/p&gt;&#xA;" OwnerUserId="5698" LastEditorUserId="5387" LastEditDate="2019-07-05T10:46:23.627" LastActivityDate="2023-12-13T10:06:10.717" Title="GraphQL Search Query INVALID_OPERATION" Tags="|jss|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19753" PostTypeId="1" CreationDate="2019-07-05T10:03:22.507" Score="0" ViewCount="1548" Body="&lt;p&gt;I have set a value in a &lt;code&gt;General link&lt;/code&gt; field in a Sitecore item using PowerShell. Here is the PowerShell script.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Editing.BeginEdit()                        &#xA;&#xA;[Sitecore.Data.Fields.LinkField]$fieldValueLink = $Item.Fields[$templateField.DisplayName]&#xA;&#xA;$fieldValueLink.Text = &quot;Link&quot;&#xA;$fieldValueLink.Title = &quot;click on the link&quot;&#xA;$fieldValueLink.LinkType = &quot;external&quot;&#xA;$fieldValueLink.Url = $itemRow.$fieldTrimmedValue&#xA;&#xA;$item[$templateField.DisplayName] = $fieldValueLink.Value;&#xA;&#xA;$item.Editing.EndEdit() | Out-Null      &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now I want to set values into other field types like &lt;code&gt;DropLink&lt;/code&gt;, &lt;code&gt;Multilist&lt;/code&gt; and &lt;code&gt;DropList&lt;/code&gt;. For setting these field values I think I need to create Sitecore items using PowerShell and then assign them to the fields' values, But I don't know where to start and how to proceed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me out with this?&lt;/p&gt;&#xA;" OwnerUserId="5632" LastEditorUserId="342" LastEditDate="2019-07-05T12:14:04.000" LastActivityDate="2019-07-05T12:14:04.000" Title="Setting a new items' DropLink field value using PowerShell" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19757" PostTypeId="2" ParentId="19753" CreationDate="2019-07-05T11:12:15.153" Score="2" Body="&lt;p&gt;To create a new item with Sitecore Powershell Extensions, use &lt;code&gt;New-Item&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$newItemParentPath = &quot;/sitecore/content/Home&quot;&#xA;$newItemTemplate = &quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&quot;&#xA;&#xA;$newItem = New-Item -Path $newItemParentPath -Name &quot;New Item Name&quot; -ItemType $newItemTemplate&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now to assign that new item in &lt;code&gt;Droplink&lt;/code&gt; field you need to assign ID of that item to the field like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Editing.BeginEdit()&#xA;$item[&quot;Droplink field name&quot;] = $newItem.ID&#xA;$item.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and to assign that new item in &lt;code&gt;Droplist&lt;/code&gt; field you need to assign &lt;code&gt;Name&lt;/code&gt; of that item to the field like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Editing.BeginEdit()&#xA;$item[&quot;Droplist field name&quot;] = $newItem.Name&#xA;$item.Editing.EndEdit()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-05T11:12:15.153" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19760" PostTypeId="1" AcceptedAnswerId="19770" CreationDate="2019-07-05T13:39:58.220" Score="1" ViewCount="1017" Body="&lt;p&gt;We upgraded Glass Mapper version from &lt;code&gt;4.2.1.190&lt;/code&gt; to &lt;code&gt;5.4.21.0&lt;/code&gt;. &#xA;In our model, we are using &lt;code&gt;[SitecoreChildren(InferType = true)]&lt;/code&gt; to get the child items. For few of the child items, language fallback is disabled and they do not have any version in target languag say en-us. So we want to display only the items which has atleast one version. This was working fine in Glass Mapper 4 but after upgrading to Glass Mapper 5 we observed that &lt;code&gt;SitecoreChildren&lt;/code&gt; is listing out the items even if the version count is &lt;code&gt;0&lt;/code&gt; and language fallback is disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, &lt;code&gt;Enforce Language Fallback&lt;/code&gt; is disabled.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Models:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Product &#xA;{&#xA;    [SitecoreField(FieldName = &quot;Image List&quot;)]&#xA;    public virtual ImageList ImageListItem { get; set; }&#xA;}&#xA;&#xA;public class ImageList &#xA;{&#xA;    [SitecoreChildren(InferType = true)]&#xA;    public virtual IEnumerable&amp;lt;ImagesComponent&amp;gt; Images { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;View:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model ImageList&#xA;foreach(var image in model.Images)&#xA;{&#xA;  --logic --&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I missing any setting that needs to be changes in Glass Mapper 5?&lt;/p&gt;&#xA;" OwnerUserId="955" LastEditorUserId="277" LastEditDate="2019-07-05T13:44:50.043" LastActivityDate="2019-07-07T22:38:20.253" Title="Glassmapper 5 SitecoreChildren listing items even if the version count is 0" Tags="|sitecore-api|glass-mapper|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19761" PostTypeId="2" ParentId="19692" CreationDate="2019-07-05T14:03:57.400" Score="1" Body="&lt;p&gt;In the end I used a solution based on Joost's answer. It always returns true for &lt;code&gt;GetOrdereredRenderings&lt;/code&gt; as that way Sitecore will always call the &lt;code&gt;GetOrderedRenderings&lt;/code&gt; method. Then the checkbox is actually checked an the original logic is mimicked if it is not.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using MyProject.Foundation.Framework.Extensions;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.XA.Foundation.Editing.Models;&#xA;using Sitecore.XA.Foundation.Editing.Service;&#xA;using Sitecore.XA.Foundation.Multisite;&#xA;using Sitecore.XA.Foundation.Presentation;&#xA;using Sitecore.XA.Foundation.SitecoreExtensions.Repositories;&#xA;&#xA;namespace MyProject.Foundation.Framework.Sxa&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Custom implementation of a IAvailableRenderingsOrderingService, which renames sections which contain MyProject renderings.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class MyProjectToolboxSectionRenamer : IAvailableRenderingsOrderingService&#xA;    {&#xA;        private readonly AvailableRenderingsOrderingService originalService;&#xA;&#xA;        public MyProjectToolboxSectionRenamer(IPresentationContext presentationContext, IMultisiteContext multisiteContext, IContentRepository contentRepository)&#xA;        {&#xA;            originalService = new AvailableRenderingsOrderingService(presentationContext, multisiteContext, contentRepository);&#xA;        }&#xA;&#xA;        public bool IsOrderingApplicable(Item siteItem)&#xA;        {&#xA;            //Always return true, as only then Sitecore calls GetOrderedRenderings.&#xA;            return true;&#xA;        }&#xA;&#xA;        public IList&amp;lt;AvailableRenderingEntry&amp;gt; GetOrderedRenderings(Item siteItem, IList&amp;lt;Item&amp;gt; renderings = null)&#xA;        {&#xA;            if (renderings == null)&#xA;            {&#xA;                return null;&#xA;            }&#xA;&#xA;            var orderedRenderings = GetDefaultOrderedRenderings(siteItem, renderings);&#xA;            ApplyMyProjectNames(orderedRenderings);&#xA;            return Reorder(orderedRenderings).ToList();&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Retrieves the default ordered renderings (as Sitecore would retrieve it), do the actual check on whether or not ordering is applicable, as we skipped that in our implementation of IsOrderingApplicable.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;siteItem&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;renderings&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        private IList&amp;lt;AvailableRenderingEntry&amp;gt; GetDefaultOrderedRenderings(Item siteItem, IList&amp;lt;Item&amp;gt; renderings)&#xA;        {&#xA;            return originalService.IsOrderingApplicable(siteItem)&#xA;                ? originalService.GetOrderedRenderings(siteItem, renderings) &#xA;                : GetRenderingsBasedOnParentName(siteItem, renderings);&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// An implementation of building up the renderings with section names based on the parent nodes, based on Sitecore.XA.Foundation.Editing.Dialogs.SelectRenderingForm&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;siteItem&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;param name=&quot;renderings&quot;&amp;gt;&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        private IList&amp;lt;AvailableRenderingEntry&amp;gt; GetRenderingsBasedOnParentName(Item siteItem, IList&amp;lt;Item&amp;gt; renderings)&#xA;        {&#xA;            List&amp;lt;IGrouping&amp;lt;string, Item&amp;gt;&amp;gt; renderingsByParent = renderings.GroupBy(i =&amp;gt; i.Parent.DisplayName).OrderBy(g =&amp;gt; g.Key).ToList();&#xA;            var availableRenderings = new List&amp;lt;AvailableRenderingEntry&amp;gt;();&#xA;            foreach (var renderingByParent in renderingsByParent)&#xA;            {&#xA;                foreach (var rendering in renderingByParent.OrderBy(r =&amp;gt; r.DisplayName))&#xA;                {&#xA;                    availableRenderings.Add(new AvailableRenderingEntry()&#xA;                    {&#xA;                        Order =  availableRenderings.Count,&#xA;                        RenderingItem = rendering,&#xA;                        SectionName = renderingByParent.Key&#xA;                    });&#xA;                }&#xA;            }&#xA;            return availableRenderings;&#xA;        }&#xA;&#xA;        private void ApplyMyProjectNames(IList&amp;lt;AvailableRenderingEntry&amp;gt; orderedRenderings)&#xA;        {&#xA;            var myProjectRenderings = orderedRenderings.Where( ... Filter on only MyProject renderings ... );&#xA;&#xA;            foreach (var rendering in myProjectRenderings)&#xA;            {&#xA;                rendering.SectionName = ... Determine custom name ...;&#xA;            }&#xA;        }&#xA;&#xA;        private IEnumerable&amp;lt;AvailableRenderingEntry&amp;gt; Reorder(IEnumerable&amp;lt;AvailableRenderingEntry&amp;gt; orderedRenderings)&#xA;        {&#xA;            return orderedRenderings&#xA;                .OrderBy(x =&amp;gt; x.SectionName)&#xA;                .ThenBy(x =&amp;gt; x.RenderingItem.DisplayName);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5624" LastActivityDate="2019-07-05T14:03:57.400" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19763" PostTypeId="1" CreationDate="2019-07-05T19:01:30.157" Score="0" ViewCount="315" Body="&lt;p&gt;I have a sitecore 9 project. When i load the Experience Editor the Ribbon iframe has a Server Error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.InvalidOperationException: SpriteStorageNode&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/slk0W.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/slk0W.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5504" LastEditorUserId="73" LastEditDate="2019-07-07T19:45:06.180" LastActivityDate="2019-07-07T19:45:06.180" Title="Sitecore Experience Editor Ribbon not loading- InvalidOperationException: SpriteStorageNode" Tags="|experience-editor|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19764" PostTypeId="1" AcceptedAnswerId="19768" CreationDate="2019-07-05T19:02:07.830" Score="0" ViewCount="99" Body="&lt;p&gt;I would like to have a folder in my media library that can only contain MP3s, or Folders of MP3s.  The only way I can think of doing this is by creating a new &quot;MP3 folder&quot; type that includes itself and MP3 files in its insert options.  Is there another way that's more elegant?  Will what I describe even work?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-07-06T00:49:37.943" Title="Media Folder with insert option of MP3 files and Media Folders that can only contain Media Folders and MP3 files" Tags="|content-editor|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19765" PostTypeId="2" ParentId="19722" CreationDate="2019-07-05T19:16:18.500" Score="3" Body="&lt;p&gt;It's not an out of the box feature, however there is a way to do this.  Check out this blog post for the details.  &lt;a href=&quot;http://byteium.com/2019/02/update-rendering-datasources-on-item-copy&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://byteium.com/2019/02/update-rendering-datasources-on-item-copy&lt;/a&gt;&#xA;You want to test to see if the item at the relative path exists, and if it does, you might assume that it's safe to set it as the copied items rendering datasource.  &lt;/p&gt;&#xA;" OwnerUserId="3269" LastActivityDate="2019-07-05T19:16:18.500" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19766" PostTypeId="1" AcceptedAnswerId="19784" CreationDate="2019-07-05T20:42:29.150" Score="3" ViewCount="584" Body="&lt;p&gt;When accessing Hyperlink Manager from a Rich Text field, the default value of the &quot;URL&quot; field displayed on the modal is &quot;http://&quot;. The code responsible for setting this value is hard-coded inside of &quot;Telerik.Web.UI.dll&quot; file. Would you know if it is possible to change that default value and how to achieve that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.0.2 (rev. 180604)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Telerik.Web.UI.dll line 428060&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if(currentLink.name&amp;amp;&amp;amp;currentLink.name.trim()!=&quot;&quot;) // &quot;anchor&quot;&#xA;        {&#xA;            this._anchorName.value=currentLink.name;&#xA;            this._linkIdAnchor.value=currentId;&#xA;            this._tab.set_selectedIndex(1);&#xA;            return;&#xA;        }&#xA;&#xA;        var href=&quot;http://&quot;; //&quot;link&quot;&#xA;&#xA;        if(currentLink.getAttribute(&quot;href&quot;)) {&#xA;            href=currentHref;&#xA;        }&#xA;&#xA;        this._linkUrl.value=href;&#xA;        this._loadLinkTarget();&#xA;        this._linkTooltip.value=currentLink.title;&#xA;        this._linkIdLink.value=currentId;&#xA;&#xA;        this._tab.set_selectedIndex(0);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ik7aj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ik7aj.png&quot; alt=&quot;Hyperlink Manager&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4279" LastEditorUserId="73" LastEditDate="2019-07-08T08:37:55.867" LastActivityDate="2019-07-08T09:06:02.887" Title="Hyperlink Manager &quot;http://&quot; for external links" Tags="|richtext-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19767" PostTypeId="1" CreationDate="2019-07-05T22:53:14.250" Score="0" ViewCount="137" Body="&lt;p&gt;We are trying to get contacts from a segmented list for a custom auto-enroll feature. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When using built-in Sitecore conditions for segmented lists, like surname etc, this works fine.&#xA;However, we are using custom conditions in our rules, and they appear to be breaking how we pull contacts programmatically. While the Sitecore ListManager is showing 22 contacts for the condition I'm using, my code shows 6682.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, it's important to state that our data structure is different than the default contact structure built into xDb. Our contacts can have one or many &quot;Opportunity&quot; child objects, which also possibly contain child objects. We have custom facets that help us define this data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second, we are using Azure Search, and because it doesn't handle indexing complex objects, we've had to index arrays of values for our child objects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Third, we are using some custom conditions that require us to query on more than one field, and in the particular case I'm testing right now, the condition makes use of a Treelist of custom settings items to choose a value for one of the fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, the resulting Segmented List has a query that looks like this: &#xA;                  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Notice that the Field1 value is a Guid.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ListManager in Sitecore returns 22 contacts for this segmented list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We noticed that Sitecore makes a call to /sitecore/api/ssc/ListManagement/Contacts to pull these contacts. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We used DotPeek to take a look at the ContactsController in Sitecore.ListManagement.Services, and noticed that the default action looks broken, so we're not sure how it's returning anything, let alone the correct contacts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We created a pdb of Sitecore.ListManagement.Services and were able to debug this method in VS. It is indeed being called when we load the segmented list using the ListManager in Sitecore, so we believe we're looking in the right place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This line appears to pull the contacts: IQueryable source = this.contactFilter.ApplyFilterExpression(this.listManager.GetContacts(this.listManager.FindById(listId)), filter == null ? (string) null : filter.Trim());&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we create a new instance of ListManager in our code, then call listManager.GetContacts and pass in the list object, We get 6682 contacts returned, instead of the 22 that the Sitecore ListManager returns. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given that we're using the same ListManager call that the ContactsController is using, we're not sure why we're getting such a drastically different number of contacts returned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if we need to post some code samples.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="4438" LastActivityDate="2019-07-05T22:53:14.250" Title="Getting list of contacts assigned to Contact / Segmened List in Sitecore 8.2.5 programatically" Tags="|list-manager|segmentation|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="19768" PostTypeId="2" ParentId="19764" CreationDate="2019-07-06T00:49:37.943" Score="2" Body="&lt;p&gt;You can create a new template of &lt;code&gt;MP3 Folder&lt;/code&gt; type and set the insert options on that template's standard values. If you don't want to create another template, you can use the rules engine and create an insert rule where that specific folder or folders are assigned specific insert options.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That being said, insert options do not provide hard enforcement for only those types, that is, a content author can still add other types by using the &lt;code&gt;Insert from template&lt;/code&gt; option. If you want more strict enforcement, you'll need to patch a number of pipelines to ensure that users can't upload non-MP3 files to that item tree or move non-MP3 files into that item tree.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2019-07-06T00:49:37.943" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19769" PostTypeId="2" ParentId="19739" CreationDate="2019-07-06T01:14:43.217" Score="3" Body="&lt;p&gt;It looks like you have a custom publishing target (&lt;code&gt;public&lt;/code&gt;) that you are trying to publish to. First thing I would check is the casing of &lt;code&gt;public&lt;/code&gt;. From the sparse logs you provided, it looks like there is a &lt;code&gt;Public&lt;/code&gt; target configured but you may want to update your publishing target name in Sitecore to be &lt;code&gt;Public&lt;/code&gt; instead of &lt;code&gt;public&lt;/code&gt; as a first step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will want to make sure that the various configurations in &lt;code&gt;/config/sitecore/publishing/sc.publishing.xml&lt;/code&gt; are updated accordingly to match &lt;em&gt;exactly&lt;/em&gt; to what your custom publishing target is.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;Settings/Sitecore/Publishing/Services/DefaultConnectionFactory/Options/Connections&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Make sure you have a &lt;code&gt;&amp;lt;public&amp;gt;&lt;/code&gt; node in this section of the XML and configured with the appropriate connection string. The name of the node needs to match the name of the publishing target in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;&lt;code&gt;Settings/Sitecore/Publishing/Services/StoreFactory/Options/Stores/Targets&lt;/code&gt;&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There will also need to be a &lt;code&gt;&amp;lt;public&amp;gt;&lt;/code&gt; node in this section as well with the &lt;code&gt;&amp;lt;ConnectionName&amp;gt;&lt;/code&gt; node containing the value of the name of the node previously defined in &lt;code&gt;DefaultConnectionFactory&lt;/code&gt;, which in this case is &lt;code&gt;public&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="7" LastActivityDate="2019-07-06T01:14:43.217" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19770" PostTypeId="2" ParentId="19760" CreationDate="2019-07-06T01:55:02.073" Score="2" Body="&lt;p&gt;In Glass Mapper v5, the determination for whether an item has versions has changed from using &lt;code&gt;Sitecore.Data.Items.Item.Versions.Count&lt;/code&gt; to checking if &lt;code&gt;Sitecore.Data.Items.Item[Sitecore.FieldIDs.Revision]&lt;/code&gt; is null or empty. It's possible that this new method of checking the existence of the &lt;code&gt;__Revision&lt;/code&gt; field is potentially inaccurate in your solution and instance of Sitecore, causing Glass to map those items without versions but still maintaining a value in the &lt;code&gt;__Revision&lt;/code&gt; field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To revert to the legacy &lt;code&gt;Sitecore.Data.Items.Item.Versions.Count&lt;/code&gt; determination, you'll need to update the Glass dependency resolver to use &lt;code&gt;ItemVersionCountTask&lt;/code&gt; instead of the default &lt;code&gt;ItemVersionCountByRevisionTask&lt;/code&gt;. To do so, you'll need to add the following code into your &lt;code&gt;GlassMapperScCustom.cs&lt;/code&gt; file in its &lt;code&gt;CreateResolver()&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static IDependencyResolver CreateResolver(){&#xA;    var config = new Glass.Mapper.Sc.Config();&#xA;&#xA;    var dependencyResolver = new DependencyResolver(config);&#xA;&#xA;    // ADD THE LINE BELOW TO REPLACE THE ITEM VERSION COUNT TASK&#xA;    dependencyResolver.ObjectConstructionFactory.Replace&amp;lt;ItemVersionCountByRevisionTask, ItemVersionCountTask&amp;gt;(() =&amp;gt; new ItemVersionCountTask());&#xA;&#xA;    return dependencyResolver;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Glass Mapper Documentation: &lt;a href=&quot;http://www.glass.lu/mapper/documentation/Upgrade-ToV5&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.glass.lu/mapper/documentation/Upgrade-ToV5&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="7" LastEditorUserId="28" LastEditDate="2019-07-07T22:38:20.253" LastActivityDate="2019-07-07T22:38:20.253" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19772" PostTypeId="2" ParentId="19725" CreationDate="2019-07-06T12:31:08.397" Score="0" Body="&lt;p&gt;Couple of things fixed my issue and I am able to install SXC 9.1 with Sitecore 9.1.1:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add AllowedCrosOginisGroup in the C:\inetpub\wwwroot\XXX.identityserver\Config\production\Sitecore.IdentityServer.Host.xml&#xA;&lt;a href=&quot;https://i.stack.imgur.com/6A2TJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6A2TJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Change the admin credentials in the commerce websites (Authering, Minions, Ops, Shops). It contains admin/b but in Sitecore 9.1 onwards you can change the default password. so if you have changed password, change the same credentials here as well.&lt;/li&gt;&#xA;&lt;li&gt;Change the credentials in the SXC installation package as well. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2019-07-06T12:31:08.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19773" PostTypeId="2" ParentId="19518" CreationDate="2019-07-06T12:37:33.903" Score="0" Body="&lt;p&gt;While installing Sitecore 9.1.1, I have changed the default password. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While installating SXC, by changing the default password in the SXC installation pacages:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Commerce.Engine.SDK.3.0.40\src\Sitecore.Commerce.Engine\wwwroot\bootstrap\Global.json&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Commerce.Engine.SDK.3.0.40\src\Sitecore.Commerce.Engine\wwwroot\data\Environments\PlugIn.Content.PolicySet-1.0.0.json&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These changes solved my issue. &lt;/p&gt;&#xA;" OwnerUserId="3209" LastActivityDate="2019-07-06T12:37:33.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19774" PostTypeId="2" ParentId="19752" CreationDate="2019-07-06T13:23:48.887" Score="0" Body="&lt;p&gt;Check if the configuration you supposed is really used?&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;First be sure you deployed the config to all Sitecore servers,&#xA;the &lt;code&gt;jss deploy config&lt;/code&gt;, is only deploying the config to the CM server, not the CD if you have separated servers.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;With the url &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt; you can display the &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/view-configuration-changes.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;compiled configuration&lt;/a&gt;, make sure the search is in your GraphQL endpoint, There may be old or other config files that will destroy your search configuration.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Be sure you use the endpoint, with&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;GraphQL&amp;gt;&#xA; &amp;lt;endpoints&amp;gt;&#xA;  &amp;lt;yourendpointGraphQLEndpoint&amp;gt;&#xA;   &amp;lt;schema hint=&amp;quot;list:AddSchemaProvider&amp;quot;&amp;gt;&#xA;    &amp;lt;queries hint=&amp;quot;raw:AddQuery&amp;quot;&amp;gt;&#xA;     &amp;lt;query name=&amp;quot;search&amp;quot; type=&amp;quot;Sitecore.Services.GraphQL.Content.Queries.SearchQuery, Sitecore.Services.GraphQL.Content&amp;quot; /&amp;gt;    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="112" LastEditorUserId="946" LastEditDate="2023-11-13T08:19:38.707" LastActivityDate="2023-11-13T08:19:38.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19775" PostTypeId="2" ParentId="19716" CreationDate="2019-07-06T15:30:12.283" Score="1" Body="&lt;p&gt;I have experienced the same issue on a project which had a custom pipeline for 404 redirects. Can you look for a similar code in your .config files from CD server?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;httpRequestBegin&amp;gt;&#xA;      &amp;lt;processor type=&quot;MyCustomDLL.NotFoundHttpRequestProcessor, MyCustomDLL&quot;&#xA;                        patch:after=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ItemResolver, Sitecore.Kernel']&quot;&amp;gt;&#xA;      &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/httpRequestBegin&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;404 response is hard-coded on the pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpContext.Current.Response.StatusCode = 404;&#xA;HttpContext.Current.Response.TrySkipIisCustomErrors = true;&#xA;HttpContext.Current.Response.StatusDescription = &quot;404 File Not Found&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If that is your case, a possible solution would be checking which URL is being requested in your custom pipeline. &#xA;e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (args.RequestUrl.LocalPath.StartsWith(&quot;/api/sitecore&quot;, StringComparison.InvariantCultureIgnoreCase))&#xA;{&#xA;    return;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4279" LastActivityDate="2019-07-06T15:30:12.283" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19776" PostTypeId="1" CreationDate="2019-07-07T04:19:50.063" Score="2" ViewCount="50" Body="&lt;p&gt;I am using sitecore 9.1 with SXA 1.8 and when i tried to use the feature of generating static error pages in SXA, i found a folder created on the root of the iis site called &quot;ErrorPages&quot; and i found only one page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to know how sxa will be handling the error page in multilingual site?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="1278" LastEditDate="2019-07-07T07:33:39.447" LastActivityDate="2019-07-07T07:33:39.447" Title="SXA Generate Multilingual Static Error Pages" Tags="|sxa|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19777" PostTypeId="2" ParentId="19571" CreationDate="2019-07-07T11:53:40.370" Score="0" Body="&lt;p&gt;You will need both of these API as your storefront website need to communicate with your Sitecore Commerce Engine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Commerce Engine will expose the APIs that will be consumed by your Sitecore storefront website using Commerce Connect developer reference. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;e.g. let's say you have added new commerce plugin for the payments, you need to write&#xA;Controller, Commands and pipelines. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now to expose this plugin you need to regenerate the proxy class which is nothing but the metadata of the services you are going to expose from your payments plugin. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This connectivity related integration code is done in Commerce Connect developer reference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps!&lt;/p&gt;&#xA;" OwnerUserId="526" LastActivityDate="2019-07-07T11:53:40.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19778" PostTypeId="1" CreationDate="2019-07-07T15:35:02.083" Score="-1" ViewCount="79" Body="&lt;p&gt;I'm looking for official documentation or community guidelines for provisioning a highly available production installation of Sitecore Commerce 9.*.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So far haven't been able to find much online or on the official documentation apart from a generic mention that Azure tools can be used for PaaS installations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my entirely theoretical scenario, a business would rely solely on their commerce capabilities so downtime of commerce features would not be acceptable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To meet such requirement I suppose the Shared Environments database would need mirroring and a physically and logically separate instance of commerce would need to be on stand-by, possibly cross-region. That's as far as my understanding goes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, how exactly should that be implemented? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What types of mirroring/replication are supported? How would the minions handle the failover? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those are the types of answers I'd be curious to read about.&lt;/p&gt;&#xA;" OwnerUserId="1625" LastActivityDate="2019-08-07T11:03:00.427" Title="Sitecore Commerce 9 high availability guidelines" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19779" PostTypeId="2" ParentId="19778" CreationDate="2019-07-07T20:42:27.263" Score="0" Body="&lt;p&gt;To address the scaling of different apps, you can get an idea of how to roll out a basic PaaS production topology by referencing the documentation for tiers on the Knowledge Base site: &lt;a href=&quot;https://kb.sitecore.net/articles/748063&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/748063&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Those are for a very specific scenario, assuming CDN for static assets like images, and also for minimum size to achieve pass rates. You will most likely need to adjust based on your specific implementation, but it is supposed to give you an idea of where to start and where to scale as visits go up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This does not document things like mirroring or failover, it is assumed that you are using the standard Azure high availability for PaaS apps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(While I know link-only answers are frowned upon, in this case the amount documented there does not make sense to copy over. )&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2019-07-08T10:40:28.580" LastActivityDate="2019-07-08T10:40:28.580" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19780" PostTypeId="1" AcceptedAnswerId="19781" CreationDate="2019-07-08T06:37:56.947" Score="1" ViewCount="236" Body="&lt;p&gt;I wanted my sitecore item to publish only a particular language version. For example, I have english and French, but I only want to publish the French language. My plan is to set the &quot;&lt;code&gt;Publishable To&lt;/code&gt;&quot; fields of that particular language from &quot;&lt;code&gt;Publishing Settings&lt;/code&gt;&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kb7SJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kb7SJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wanted that way so that if someone accidentally publishes the root item, it won't publish the languages of the child items that shouldn't be published just yet. Is this possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Publishing.UnpublishDate = DateTime.Now;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I this refers to the shared field of the item, not the one from the &quot;&lt;code&gt;Publishing Settings&lt;/code&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/T4AYV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T4AYV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4986" LastEditorUserId="277" LastEditDate="2019-07-08T07:13:02.370" LastActivityDate="2019-07-08T07:13:02.370" Title="Programatically set publishing options to Sitecore for specific language version" Tags="|publishing|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19781" PostTypeId="2" ParentId="19780" CreationDate="2019-07-08T06:48:13.680" Score="1" Body="&lt;p&gt;Fields which determine when given language version is publishable are &lt;code&gt;Valid From&lt;/code&gt; and &lt;code&gt;Valid to&lt;/code&gt; from the &lt;code&gt;Lifetime&lt;/code&gt; section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kOGDu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kOGDu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can edit them using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Publishing.ValidFrom&#xA;item.Publishing.ValidTo&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[Sitecore.FieldIDs.ValidFrom]&#xA;item.Fields[Sitecore.FieldIDs.ValidTo]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;alternatively you can use &lt;code&gt;Hide Version&lt;/code&gt; field from the &lt;code&gt;Lifetime&lt;/code&gt; section:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/soyNv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/soyNv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and set it using&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Publishing.HideVersion&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to make sure that you set that values for every item which should not be published in that language. It's not enough to set it on root level only. &lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-08T06:48:13.680" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19782" PostTypeId="1" AcceptedAnswerId="19783" CreationDate="2019-07-08T07:14:13.897" Score="1" ViewCount="136" Body="&lt;p&gt;I am using Sitecore XC 9.1 and want to programmatically trigger a update of the Commerce data templates. This will, for example, be handy in my CI setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to do this?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-07-08T07:14:13.897" Title="How to programmatically update commerce data templates" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19783" PostTypeId="2" ParentId="19782" CreationDate="2019-07-08T07:14:13.897" Score="2" Body="&lt;p&gt;Use the &lt;code&gt;CatalogTemplateGenerator&lt;/code&gt; class to perform the desired actions, e.g. to delete and build:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var master = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;var generator = new Sitecore.Commerce.Engine.Connect.DataProvider.Templates.CatalogTemplateGenerator();&#xA;&#xA;generator.DeleteAllGeneratedTemplates(master);&#xA;generator.BuildCatalogTemplates(master);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NB. the GUI triggers this code by &lt;code&gt;Sitecore.Commerce.Engine.Connect.DataProvider.Commands.GenerateTemplatesCommand&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-07-08T07:14:13.897" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19784" PostTypeId="2" ParentId="19766" CreationDate="2019-07-08T08:34:56.740" Score="1" Body="&lt;p&gt;Assuming you want to ensure that all links inside rich text fields are https:// you could do the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class EnsureHttpsInRichtextContent&#xA;{&#xA;    public void Process(SaveRichTextContentArgs args)&#xA;    {&#xA;        Regex regex = new Regex(&quot;http://&quot;, RegexOptions.IgnoreCase);&#xA;        args.Content = regex.Replace(args.Content, &quot;https://&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add this to your configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA; &amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;saveRichTextContent&amp;gt;&#xA;    &amp;lt;processor type=&quot;MyAssembly.EnsureHttpsInRichtextContent, MyAssembly&quot; /&amp;gt;&#xA;  &amp;lt;/saveRichTextContent&amp;gt;&#xA; &amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want to limit this to external links, have a look how to determine external links in this method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; Sitecore.Shell.Controls.RichTextEditor.Pipelines.SaveRichTextContent.ProtectExternalLink, Sitecore.Client &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="681" LastEditorUserId="681" LastEditDate="2019-07-08T09:06:02.887" LastActivityDate="2019-07-08T09:06:02.887" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="19786" PostTypeId="1" CreationDate="2019-07-08T09:24:48.737" Score="1" ViewCount="397" Body="&lt;p&gt;The client has a requirement where they want to automate content profiling based on the meta keywords. For example, if the user creates a content item and add meta keyword as &lt;code&gt;&quot;Cycle&quot;&lt;/code&gt; then while saving an item that Item should automatically associate with corresponding Profile like &lt;code&gt;&quot;Cyclist&quot;&lt;/code&gt;. The author is not required to associate profile manually in the Experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to update &lt;code&gt;Profile&lt;/code&gt; in the &lt;code&gt;tracking field&lt;/code&gt; on an item but it seems to be &lt;code&gt;read-only&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me? &lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="5417" LastEditDate="2019-07-08T12:54:30.150" LastActivityDate="2019-07-09T14:12:54.607" Title="How to update profile card to content Item programmatically?" Tags="|personalization|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19787" PostTypeId="1" CreationDate="2019-07-08T09:32:27.267" Score="7" ViewCount="470" Body="&lt;p&gt;In a regular Sitecore deployment, the logs are written to files such as &lt;code&gt;Crawling.log.yyyyMMdd.txt&lt;/code&gt; &lt;code&gt;Search.log.yyyyMMdd.txt&lt;/code&gt; &lt;code&gt;log.yyyyMMdd.txt&lt;/code&gt; and &lt;code&gt;Publishing.log.yyyyMMdd.txt&lt;/code&gt;. When viewing logs in Azure Application Insights, is there some way to differentiate logs which would go into each of these different files?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-11-07T01:00:25.900" Title="How to filter application insights logs based on log file type" Tags="|azure|logging|application-insights|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19788" PostTypeId="1" CreationDate="2019-07-08T10:55:30.813" Score="1" ViewCount="260" Body="&lt;p&gt;We have a &lt;code&gt;personalization rule&lt;/code&gt; that depends on two values that are changeable by end-users on a page, using two dropdowns. The personalization rule works fine on a page load (we know which values are currently set), but when one of the values is changed by a user after a page is rendered we need to check the personalization rule again to verify if the user can still see components, which has the personalization rule applied. We would like to achieve this without having to reload the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, we think that it could be solved in &lt;strong&gt;two ways&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Re-render components on the server and replace their HTML on the&#xA;frontend.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check the rule again forgiven components in the current page's&#xA;    context and hide components, for which the rule is not met.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Do you know if either of these options is feasible, and if so, how could it be implemented?&lt;/p&gt;&#xA;" OwnerUserId="5565" LastEditorUserId="5387" LastEditDate="2019-07-08T12:54:43.843" LastActivityDate="2019-07-08T15:04:46.730" Title="Component re-render or ad hoc personalization rule verification" Tags="|presentation|personalization|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19789" PostTypeId="2" ParentId="19788" CreationDate="2019-07-08T11:44:35.583" Score="2" Body="&lt;p&gt;Not without reloading the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your question is based on faulty assumptions. You assume that those two components are the only components on the page that would be affected by personalisation and/or conditional rendering. In reality anything on the page could be under such control and no single component should assume &quot;control&quot; of the entire page execution scope.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could be looking to technologies such as JSS if you want to achieve a page refresh without the visible &quot;page reload&quot;. But the entire page would need to be processed for rendering conditions to be executed and meaningful.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-07-08T11:44:35.583" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19790" PostTypeId="2" ParentId="19788" CreationDate="2019-07-08T15:04:46.730" Score="0" Body="&lt;p&gt;What Mark wrote in his answer is absolutely correct. Sitecore does not mechanisms to execute conditional rendering personalization without executing a request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But there is always some space for workarounds (or hacks, however we call it).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you could do is an ajax call back to Sitecore with the same url as the page. When you receive html back from server, replace the content of &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; with the new &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; from the server. But there are already 2 issues with that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;We don't want to track 1 extra page visit - I don't know if Sitecore ignores ajax call by default. If not, you would need to write a custom processor that would make sure that ajax requests are not tracked.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;All the user interactions with page (like your dropdown selection) are lost. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;To work around the 2nd issue, you could think about adding some markers around the components which you want to update with their new versions from the server, like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- START: UNIQUE ID OF A RENDERING IN PRESENTATION DETAILS --&amp;gt;&#xA;&amp;lt;html of the component&amp;gt;&#xA;&amp;lt;!-- END: UNIQUE ID OF A RENDERING IN PRESENTATION DETAILS --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And after the ajax response comes back from the server, only replace bits between the markers (or remove parts of the html if the markers are not present in the new ajax response).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With all of that said, you need to remember you're working around Sitecore mechanisms and it's possible it won't work in some cases and every upgrade of Sitecore version may have impact on your solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now it's your decision, if the requirement to update bits of the page using personalization options is so important that you cannot do a full page reload and maybe if those conditions even should be handled by personalization.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-08T15:04:46.730" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19793" PostTypeId="1" AcceptedAnswerId="19797" CreationDate="2019-07-08T21:12:43.550" Score="0" ViewCount="333" Body="&lt;p&gt;I am using SXA 1.8.0 with Sitecore 9.0.2 on multisite solution. I have a branch template for a page template which creates a few renderings data sources underneath this page, like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Page&#xA;    Data&#xA;        Rendering 1&#xA;        Rendering 2&#xA;        Rendering 3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The current solution architecture does not allow me to bind these renderings on the page partial designs and they need to be added to the placeholders on the page directly. I am trying to find the best way to do it hence this question.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think about writing PowerShell scripts to bind these items to the suitable placeholders and maybe add the script in the scaffolding so it will be invoked every time after the item creation (similar to the site/tenant creation). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue I see here is that I am not sure how I can actually obtain the current context item in this case in PS without giving the root explicitly so I will be able to get the page item in whatever site it has been created. Also, I do not know if this is really possible to add these scripts to the branch as scaffolding. Maybe writing a script targetting every item of particular page template and going through the CMS tree recursively would be a better option in here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you have any ideas about how this could be done in the easiest way?&lt;/p&gt;&#xA;" OwnerUserId="1979" LastActivityDate="2019-07-09T00:50:23.187" Title="Adding scaffolding PowerShell scripts after Branch creation in SXA" Tags="|sxa|powershell-extensions|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19795" PostTypeId="2" ParentId="19727" CreationDate="2019-07-08T23:23:47.923" Score="4" Body="&lt;p&gt;With Azure search - if you use &lt;code&gt;contains&lt;/code&gt; then it does a partial word match as in &quot;Samp&quot; will boost &quot;Sample Page 1&quot;.  If you use &quot;Sample&quot; it is not a partial word so does not get boosted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To use the word matching in a phrase you need to use &lt;code&gt;is equals to&lt;/code&gt; rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also discovered that the &lt;code&gt;&quot;is case-insensitively equal to&quot;&lt;/code&gt;, &lt;code&gt;&quot;is not case-insensitively equal to&quot;&lt;/code&gt;, and &lt;code&gt;&quot;matches the regular expression&quot;&lt;/code&gt; comparison types are not supported for this type of rule. A request to hide them has been submitted as I initially thought the case-insensitively equals sounded fit for purpose. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LLHfy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LLHfy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-07-08T23:23:47.923" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19797" PostTypeId="2" ParentId="19793" CreationDate="2019-07-09T00:41:42.947" Score="3" Body="&lt;p&gt;One option is to use the &lt;strong&gt;Insert Item&lt;/strong&gt; integration. With this approach you will have the context item and you can make your script do whatever it is you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's say for example you have a script library like the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/taHj2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/taHj2.png&quot; alt=&quot;Example Script Library&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;em&gt;Simple Insert Item&lt;/em&gt; script will run with access to the context item. From here you can perform any magic you want in the script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Potential magic includes:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Using &lt;code&gt;New-Item&lt;/code&gt; to create branch templates&lt;/li&gt;&#xA;&lt;li&gt;Using &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/presentation&quot; rel=&quot;nofollow noreferrer&quot;&gt;presentation commands&lt;/a&gt; to manipulate the page&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PgViy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PgViy.png&quot; alt=&quot;Insert Options&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$path = $SitecoreContextItem.Paths.Path&#xA;Show-Alert -Title &quot;Magical script running to create new items under $($path).&quot;&#xA;Close-Window&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o0PUO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o0PUO.png&quot; alt=&quot;Message&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Reference&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/modules/integration-points/content-editor#insert-item&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/modules/integration-points/content-editor#insert-item&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-07-09T00:50:23.187" LastActivityDate="2019-07-09T00:50:23.187" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19799" PostTypeId="1" AcceptedAnswerId="19804" CreationDate="2019-07-09T04:14:42.200" Score="0" ViewCount="744" Body="&lt;p&gt;We have a Sitecore 9.1.1 site with SXA 1.8.1.  We're getting duplicate results in analytics because the urls will appear there with and without the &lt;code&gt;\en&lt;/code&gt; part.  We only have 1 language in the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have since patched the Sitecore link provider and our custom one to have &lt;code&gt;languageEmbedding=&quot;never&quot;&lt;/code&gt;.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have the always strip language set to true - and the description to me sounds like it should be stripping out the language code from the url. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Languages.AlwaysStripLanguage&quot; value=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We also have a canonical url now dynamically generated for each page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should this be sufficient for analytics to stop showing the duplicate /en entries?  Or is further action required?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems like someone could go to the site url with /en and it will be logged to analytics as that duplicate - although all the internal links should never have that language code. &lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2021-06-25T08:37:11.330" Title="Prevent language code in URL" Tags="|best-practices|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19800" PostTypeId="2" ParentId="19119" CreationDate="2019-07-09T06:10:26.377" Score="4" Body="&lt;p&gt;I got an official response from Sitecore Support.  In SXA 1.8.1 you should add the Sitecore Forms Rendering to the Metadata partial&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VZnYe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VZnYe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately for the upgraded site I did not have this as an available rendering.   I needed to go and add the Available Meta Rendering - Sitecore Forms to my existing site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K5uEC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K5uEC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is available under &lt;code&gt;Renderings\Feature\Experience Accelerator\Forms&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-07-09T06:10:26.377" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19801" PostTypeId="1" CreationDate="2019-07-09T06:26:04.723" Score="0" ViewCount="1106" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QwWro.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QwWro.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see in the image above, the API key is clearly visible to all people to see. If you simply follow the URL you get the message:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;errors&quot;: [&#xA;        {&#xA;            &quot;message&quot;: &quot;No query was provided!&quot;&#xA;        }&#xA;    ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With simple Googling you can figure out how to retrieve data from the database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to hide the api key from the network tab?&lt;/p&gt;&#xA;" OwnerUserId="5698" LastActivityDate="2019-07-09T07:51:37.367" Title="Sitecore API key shown in Network tab" Tags="|jss|security|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19802" PostTypeId="1" CreationDate="2019-07-09T06:56:35.190" Score="1" ViewCount="117" Body="&lt;p&gt;While I am trying to access the services of &lt;code&gt;geolocation&lt;/code&gt; in Sitecore first we have to log in.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whereas when I am typing my credentials It shows Invalid credentials and when I am trying to do it by clicking on &lt;code&gt;new user&lt;/code&gt; or &lt;code&gt;forget password&lt;/code&gt; it throws an error like--&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7kt87.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7kt87.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5198" LastEditorUserId="5387" LastEditDate="2019-07-09T06:59:38.290" LastActivityDate="2019-07-10T23:47:28.517" Title="Sitecore 9.0.1 Geo-location service login" Tags="|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19803" PostTypeId="2" ParentId="19801" CreationDate="2019-07-09T07:02:51.343" Score="2" Body="&lt;p&gt;The API Key which is passed via &lt;code&gt;sc_apikey&lt;/code&gt; parameter is not any secret key. It's just and ID of a &lt;code&gt;OData Item&lt;/code&gt; settings item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now it's all up to you what you allow to read from the databases using that key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the most simple scenario, you only allow reading e.g. from &lt;code&gt;web&lt;/code&gt; database using &lt;code&gt;anynomous&lt;/code&gt; user credentials, so you only allow reading items which has &lt;code&gt;read&lt;/code&gt; access rights allowed for everyone. This data is public anyway.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can limit the data which can be accessed with that &lt;code&gt;API key&lt;/code&gt; using fields on that item. I copied bullet points from &lt;a href=&quot;https://nshackblog.wordpress.com/2018/01/07/using-the-odata-item-service-in-sitecore-9-step-by-step/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://nshackblog.wordpress.com/2018/01/07/using-the-odata-item-service-in-sitecore-9-step-by-step/&lt;/a&gt; :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Database&lt;/strong&gt; – fairly self explanatory, the Sitecore database you’re retrieving an item from.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Search Filter&lt;/strong&gt; – we can apply search options using an OData filter format, I’ve left this as the default which will return the latest version of items.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;CORS Origins&lt;/strong&gt; – which origins are allowable? Add your required origins separated with a semicolon. As I’m testing this on Helix Base I have added the relevant origin.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;AllowedControllers&lt;/strong&gt; – you may wish to restrict this API Key to certain controllers and can list those here separated with a semicolon. I’m allowing all so have opted for the wildcard *&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Impersonation User&lt;/strong&gt; – you could leave this blank in which case Sitecore will use the default from your Sitecore.Services.AnonymousUser setting. The default is most likely sitecore\ServicesAPI but I’ve added this to the field anyway.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-09T07:02:51.343" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19804" PostTypeId="2" ParentId="19799" CreationDate="2019-07-09T07:09:15.893" Score="1" Body="&lt;p&gt;First of all, make sure that all internal links are generated correctly, without /en/&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What about external links(someone added your page to bookmarks, google cached URL, etc.):&#xA;You can create rewrite rule that will remove en language from your URL:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Remove en from URL&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;  &amp;lt;match url=&quot;^(en)/(.*)$&quot; /&amp;gt;&#xA;  &amp;lt;action type=&quot;Redirect&quot; url=&quot;/{R:2}&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It will avoid duplication in analytics.&#xA;But be aware of side effects: redirects are often not too good for SEO.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-07-09T07:09:15.893" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19805" PostTypeId="2" ParentId="19786" CreationDate="2019-07-09T07:20:46.943" Score="0" Body="&lt;p&gt;Below blog explains exacts steps to achieve this functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://hishaamn.wordpress.com/2017/05/28/tag-sitecore-content-with-profile-card-programmatically/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hishaamn.wordpress.com/2017/05/28/tag-sitecore-content-with-profile-card-programmatically/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created Persona Tags and modified Persona Template to refer it as multi-list. I have customized OnItemsave Pipeline to update Profile in content Item depending on Meta keywords(Which is mapped to Persona Tags)  used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks to Hishaamn Namooya.&lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-07-09T07:20:46.943" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19808" PostTypeId="2" ParentId="19801" CreationDate="2019-07-09T07:51:37.367" Score="0" Body="&lt;p&gt;With Sitecore JSS you can actually hide the API Key if you want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works on the following way:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Node.js process do the request server side, so it is not visible for the end-user in the web browser.&#xA;Also because the end-user and the browser are connection to the Node.js server, the hostname and port from the Sitecore server itself is not visible, and you can set restrict access to the Sitecore server. &#xA;For the media you can use a proxy or CDN.&lt;/p&gt;&#xA;" OwnerUserId="112" LastActivityDate="2019-07-09T07:51:37.367" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19810" PostTypeId="2" ParentId="18126" CreationDate="2019-07-09T08:41:41.803" Score="0" Body="&lt;p&gt;As for me it is much more easier to pass data between forms using Session:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You add save action that write required data to Session&lt;/li&gt;&#xA;&lt;li&gt;You add code to the thank you page that read value from Session&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-07-09T08:41:41.803" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19811" PostTypeId="1" AcceptedAnswerId="19822" CreationDate="2019-07-09T08:45:57.573" Score="3" ViewCount="1796" Body="&lt;p&gt;We use Federated Authentication in Sitecore 9.1 in order to allow a user to login to the extranet domain through an external provider (Azure AD B2C). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When configuring the sign out part, we followed the documentation found on &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/understanding-sitecore-authentication-behavior-changes.html#UUID-153eb49e-9b9c-c95e-1e0c-c368778c900d_section-idm45851235771136&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/understanding-sitecore-authentication-behavior-changes.html#UUID-153eb49e-9b9c-c95e-1e0c-c368778c900d_section-idm45851235771136&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the user tries to sign out, he/she will end up in a navigation loop. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The logout is initiated by clicking a logout button, which calls &lt;code&gt;AuthenticationManager.Logout();&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore appears to initiate a local logoff and then sets the &lt;code&gt;sc_externalLogout&lt;/code&gt; cookie. This will cause a redirect to the signout url of the external provider. The user is signed out on the external provider and redirected back the post logout redirect URI. Sitecore now sends the user again to the signout url of the external provider, causing a navigation loop.&lt;/p&gt;&#xA;" OwnerUserId="628" LastEditorUserId="73" LastEditDate="2019-07-09T09:49:38.313" LastActivityDate="2019-07-09T15:46:26.037" Title="Stuck in redirect loop after external signout with Federated Authentication" Tags="|federated-authentication|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19812" PostTypeId="1" AcceptedAnswerId="19817" CreationDate="2019-07-09T08:50:49.183" Score="2" ViewCount="271" Body="&lt;p&gt;I have created a template which inherits the standard template. Then I created an item using this template but the item not showing any fields from the standard template. Is there anything more I need to do to get the standard template's field in the item?&lt;/p&gt;&#xA;" OwnerUserId="5631" LastEditorUserId="5631" LastEditDate="2019-07-09T08:53:43.050" LastActivityDate="2019-07-09T11:07:59.553" Title="Standard template fields not showing in inherited templates" Tags="|sitecore-commerce|templates|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19816" PostTypeId="1" AcceptedAnswerId="19818" CreationDate="2019-07-09T10:06:19.610" Score="2" ViewCount="151" Body="&lt;p&gt;I have a role, &quot;Role1&quot;, - a member of &quot;RoleA&quot;. Also, I have created a new role, &quot;Role2&quot;, which is also a member of &quot;RoleA&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, I want to change the permissions in workflows and templates of Role2. So I run the script that I have created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Workflow&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$allowWSWrite = New-ItemAcl -AccessRight workflowState:write -PropagationType Any -SecurityPermission AllowAccess -Identity &quot;Role2&quot;&#xA;$allowWSDelete = New-ItemAcl -AccessRight workflowState:delete  -PropagationType Any -SecurityPermission AllowAccess -Identity &quot;Role2&quot;&#xA;$allowWCExecute = New-ItemAcl -AccessRight workflowCommand:execute -PropagationType Any -SecurityPermission AllowAccess -Identity &quot;Role2&quot;&#xA;&#xA;Get-Item -Path &quot;master:system/Workflows&quot; | Set-ItemAcl -AccessRules  $allowWSWrite, $allowWSDelete, $allowWCExecute&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Templates&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$allowRead = New-ItemAcl -AccessRight item:read -PropagationType Any -SecurityPermission AllowAccess -Identity &quot;Role2&quot;&#xA;$denyDelete = New-ItemAcl -AccessRight item:delete -PropagationType Any -SecurityPermission DenyAccess -Identity &quot;Role2&quot;&#xA;$denyWrite = New-ItemAcl -AccessRight item:write -PropagationType Any -SecurityPermission DenyAccess -Identity &quot;Role2&quot;&#xA;$denyRename = New-ItemAcl -AccessRight item:rename -PropagationType Any -SecurityPermission DenyAccess -Identity &quot;Role2&quot;&#xA;$denyCreate = New-ItemAcl -AccessRight item:create -PropagationType Any -SecurityPermission DenyAccess -Identity &quot;Role2&quot;&#xA;&#xA;Get-Item -Path &quot;master:sitecore/templates&quot; | Set-ItemAcl -AccessRules $allowRead, $denyDelete, $denyWrite, $denyRename, $denyCreate&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Upon checking, Role1 cannot create/edit a page which it previously could.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does it has something to do with the permissions I have changed in Role2? Please advise.&lt;/p&gt;&#xA;" OwnerUserId="5307" LastEditorUserId="5307" LastEditDate="2019-07-10T02:28:43.197" LastActivityDate="2019-07-10T05:26:19.727" Title="Does changing permissions to a certain role affect other roles?" Tags="|sitecore-commerce|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19817" PostTypeId="2" ParentId="19812" CreationDate="2019-07-09T11:07:59.553" Score="4" Body="&lt;p&gt;You need to enable the &quot;Standard fields&quot; option in the &quot;View&quot; ribbon.&#xA;&lt;img src=&quot;https://i.stack.imgur.com/v5DiN.png&quot; alt=&quot;show standard fields&quot;&gt;&lt;/p&gt;&#xA;" OwnerUserId="681" LastActivityDate="2019-07-09T11:07:59.553" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19818" PostTypeId="2" ParentId="19816" CreationDate="2019-07-09T11:46:28.963" Score="6" Body="&lt;p&gt;Yes, it does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you use &lt;code&gt;Set-ItemAcl&lt;/code&gt; you overwrite all the security settings which were assigned to that previously.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you set new access rights for &lt;code&gt;Role2&lt;/code&gt; you removed everything what was set there for &lt;code&gt;Role&lt;/code&gt; before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to add some access rights instead of overwriting everything, try using &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/security/add-itemacl&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;Add-ItemAcl&lt;/code&gt;&lt;/a&gt; instead:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item -Path &quot;master:sitecore/templates&quot; | Add-ItemAcl -AccessRules $allowRead, $denyDelete, $denyWrite, $denyRename, $denyCreate&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="1580" LastEditDate="2019-07-10T05:26:19.727" LastActivityDate="2019-07-10T05:26:19.727" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19819" PostTypeId="1" CreationDate="2019-07-09T14:06:55.803" Score="1" ViewCount="654" Body="&lt;p&gt;I am trying to run the &lt;code&gt;prerequisites.json&lt;/code&gt; file for a SC 9.1.1 install and I am getting the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[----------------------------------------------------------------------------------- WindowsFeatures : EnableWindowsOptionalFeature ----------------------------------------------------------------------]&#xA;VERBOSE: Target Image Version 10.0.14393.3022&#xA;&#xA;Install-SitecoreConfiguration : The source files could not be found. &#xA;Use the &quot;Source&quot; option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see &#xA;http://go.microsoft.com/fwlink/?LinkId=243077.&#xA;&#xA;At line:1 char:1&#xA;+ Install-SitecoreConfiguration -Path .\Prerequisites.json -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:19&#xA;&#xA;Enable-WindowsOptionalFeature : The source files could not be found. &#xA;Use the &quot;Source&quot; option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see &#xA;http://go.microsoft.com/fwlink/?LinkId=243077.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Install-SitecoreConfiguration.ps1:641 char:25&#xA;+                         &amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException&#xA;    + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="70" LastEditDate="2019-07-10T14:00:36.053" LastActivityDate="2019-07-10T14:00:36.053" Title="Why does Sitecore 9.1.1 Prerequisites EnableWindowsOptionalFeature fail?" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19820" PostTypeId="2" ParentId="19786" CreationDate="2019-07-09T14:12:54.607" Score="3" Body="&lt;p&gt;Notes with code from Hishaamn Namooya blog post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;TagProfile&lt;/strong&gt; method retrieves the different profile presets (&lt;em&gt;Profile Cards&lt;/em&gt;) and then update the tracking field of content item accordingly with the &lt;em&gt;Profile Keys&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void TagProfile(Item contentItem, Guid profileId)&#xA;{&#xA;    // retrieve tracking information &#xA;    ProfileUtil.GetProfiles(contentItem, out TrackingField trackingField);&#xA;    var trackingValue = contentItem.Fields[&quot;__Tracking&quot;].Value;&#xA;&#xA;    // get needed profile&#xA;    var profile = trackingField.Profiles.FirstOrDefault(p =&amp;gt; p.ProfileID.Guid.Equals(profileId));&#xA;    if (profile != null)&#xA;    {&#xA;        var profileItem = new ProfileItem(profile.GetProfileItem());&#xA;&#xA;        var dictionary = new Dictionary&amp;lt;string, double&amp;gt;();&#xA;        // TODO: implement logic that you need here&#xA;        // iterate through profile cards and add NEEDED key/values to presets dictionary&#xA;        foreach (var card in profileItem.ProfileCards)&#xA;        {&#xA;            dictionary.Add(card.InnerItem.Key, 10);&#xA;        }&#xA;&#xA;        profile.SaveToField = true;&#xA;        profile.Presets = dictionary;&#xA;&#xA;        SetProfileKeys(profile, profileItem);&#xA;&#xA;        TrackingField.UpdateKeyValues(profile);&#xA;    }&#xA;&#xA;    // update &quot;Tracking&quot; field raw-value of contentItem&#xA;&#xA;    XDocument document = string.IsNullOrEmpty(trackingValue) ? new XDocument(new XElement(&quot;tracking&quot;)) : XDocument.Parse(trackingValue);&#xA;    XElement xelement1 = document.Element(&quot;tracking&quot;);&#xA;    if (xelement1 == null)&#xA;    {&#xA;        xelement1 = new XElement(&quot;tracking&quot;);&#xA;        document.Add(xelement1);&#xA;    }&#xA;    List&amp;lt;XElement&amp;gt; list = xelement1.Elements(&quot;profile&quot;).ToList();&#xA;&#xA;    foreach (XElement t in list)&#xA;    {&#xA;        t.Remove();&#xA;    }&#xA;&#xA;    foreach (XElement xelement2 in trackingField.Profiles.Where(x =&amp;gt; x.SaveToField).Select(x =&amp;gt; x.ToXElement()))&#xA;        xelement1.Add(xelement2);&#xA;&#xA;    // save&#xA;    using (new SecurityDisabler())&#xA;    {&#xA;        contentItem.Editing.BeginEdit();&#xA;        contentItem.Fields[&quot;__Tracking&quot;].Value = document.ToString();&#xA;        contentItem.Editing.EndEdit();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;strong&gt;SetProfileKeys&lt;/strong&gt; method is used to set the different profile keys:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void SetProfileKeys(ContentProfile profile, ProfileItem profileItem) &#xA;{ &#xA;   foreach (ProfileKeyItem profileKeyItem in profileItem.Keys.ToList()) &#xA;   { &#xA;       ProfileKeyItem keyItem = profileKeyItem; &#xA;       if (profile.Keys.FirstOrDefault(k =&amp;gt; string.Compare(k.Key, keyItem.Name, StringComparison.InvariantCultureIgnoreCase) == 0) == null) &#xA;       { &#xA;           ContentProfileKeyData key = new ContentProfileKeyData(keyItem) &#xA;           { &#xA;                Value = keyItem.GetDefaultValue() &#xA;            }; &#xA;            profile.AddKey(key); &#xA;        } &#xA;    } &#xA;&#xA;&#xA;    foreach (ContentProfileKeyData key in profile.Keys.Where(key =&amp;gt; key.ProfileDefinitionId == Guid.Empty)) &#xA;    { &#xA;        profile.RemoveKey(key); &#xA;    } &#xA;&#xA;    TrackingField.UpdateKeyValues(profile); &#xA;} &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-07-09T14:12:54.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19822" PostTypeId="2" ParentId="19811" CreationDate="2019-07-09T15:39:39.187" Score="5" Body="&lt;p&gt;If you don't want to signout of B2C when the user logs out of Sitecore, just set &lt;code&gt;TriggerExternalSignOut&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt; in your identity provider configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The external redirect feature appears to be undocumented and used internally by Sitecore to logout from IdentityServer. However, you can get it to work with your custom provider if you do a couple things. Here's an &lt;a href=&quot;https://gist.github.com/ssartell/fb2dd9ec070434495917264956116c0d&quot; rel=&quot;noreferrer&quot;&gt;example identity provider&lt;/a&gt; for Azure B2C using OpenID Connect with working external signout. The first key part is to make sure you have an &lt;code&gt;id_token&lt;/code&gt; claim set (lines 32 &amp;amp; 41). And last, the &lt;code&gt;PostLogoutRedirectUri&lt;/code&gt; needs to be &lt;code&gt;/identity/postexternallogout&lt;/code&gt; with &lt;code&gt;ReturnUrl&lt;/code&gt; and &lt;code&gt;nonce&lt;/code&gt; query string parameters set (line 50+).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're interested in the dirty details, there are two classes in Sitecore.Owin.Authentication.dll where this logic is defined. &lt;code&gt;Sitecore.Owin.Authentication.Pipelines.Initialize.HandlePostLogoutUrl&lt;/code&gt; sets up the handler for &lt;code&gt;/identity/postexternallogout&lt;/code&gt;. The second class is &lt;code&gt;Sitecore.Owin.Authentication.Security.SignalCookieExternalLogoutManager&lt;/code&gt; which is called from the first and does the check for the nonce in &lt;code&gt;IsValidUnRegisterExternalLogoutRequest&lt;/code&gt;. It also checks for the &lt;code&gt;id_token&lt;/code&gt; in &lt;code&gt;RegisterExternalLogout&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="5754" LastEditorUserId="5754" LastEditDate="2019-07-09T15:46:26.037" LastActivityDate="2019-07-09T15:46:26.037" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19823" PostTypeId="2" ParentId="19819" CreationDate="2019-07-09T16:05:14.673" Score="1" Body="&lt;p&gt;Apparently the problem here had to do with installing the .NET Framework 3.5.  We simply mounted the Windows Server ISO and manually installed the .NET Framework 3.5.  Then we tried running the Prerequisites.json file again and it worked.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2019-07-09T16:05:14.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19824" PostTypeId="1" AcceptedAnswerId="19878" CreationDate="2019-07-09T19:39:19.137" Score="1" ViewCount="1217" Body="&lt;p&gt;Background: I am completely new to Azure Search in general. New to SOLR, Lucene the whole thing. I have a good bit of experience in SQL design for indexes and such, but this seems completely different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I need to create a new search index for certain templates in our Sitecore 9 installation. Our site was originally developed by a 3rd party so I am coming into this project late.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I need to do is, create an index to be used for 'news articles'. Which are a certain type of template in SC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the existing indexes, there are a LOT of fields, some have several hundred fields. I have some questions about that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is this normal to have that many fields for a Sitecore index?&lt;/li&gt;&#xA;&lt;li&gt;How does one normally create a new index in Azure Search for Sitecore? What is the process?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I haven't been able to find any good examples of how to do this for Sitecore. How to set it up, sure, not how to actually create a usable index. In the Helix-based solution, there are several 'Feature' projects and most of them have their own configs for their specific indexes, that correspond to indexes that show up in SC admin 'Index Manager'. They also have xyz.ExcludeFields.config files and xyz.ExcludeTemplates.config files that list the majority of fields in the corresponding index to be excluded...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Judging by the sheer number of fields in the index, and these exclude files, I am guessing this can be auto-generated? Possibly?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any insight to this would be welcomed. Thanks for reading.&lt;/p&gt;&#xA;" OwnerUserId="3690" LastActivityDate="2019-08-13T03:02:05.227" Title="Creating a new index in Azure Search for Sitecore 9 Helix structured" Tags="|sitecore-commerce|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19826" PostTypeId="2" ParentId="19802" CreationDate="2019-07-09T23:29:36.413" Score="3" Body="&lt;p&gt;If you haven't done it already, you have to go through your account manager to get special permissions to login through the app center.  I had to do this for SC9 as well.  I had to fill out &lt;a href=&quot;https://static1.squarespace.com/static/54424858e4b06e8b47dc7c92/t/5d25230ad68d350001143973/1562714890605/Request+for+App+Center+Access.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;this form&lt;/a&gt; &amp;amp; have app center access permissions associated with my Sitecore Portal login.   &lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-07-09T23:29:36.413" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19827" PostTypeId="1" CreationDate="2019-07-09T23:45:12.833" Score="1" ViewCount="117" Body="&lt;p&gt;We have upgrade our website from &lt;code&gt;Sitecore 8.2 to 9.1.1&lt;/code&gt;. As per sitecore upgrade guide I installed the XConnect separately and also restored Messaging, Processing Pools databases using &lt;code&gt;dacpac&lt;/code&gt; files. I asked my database team to setup mirroring on all the databases but they are unable to setup mirroring on the following databases:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{clientname}_Processing.Pools&#xA;{clientname}_MarketingAutomation&#xA;{clientname}_Messaging&#xA;{clientname}_ReferenceData&#xA;{clientname}_ProcessingEngineTasks&#xA;{clientname}_ProcessingEngineStorage&#xA;{clientname}_Reporting&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;They are complaining that these databases are contained databases and can't be mirrored. The following is the exception they are getting:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;An error occurred while starting mirroring.&#xA;&#xA;===================================&#xA;&#xA;Alter failed for Database '_ProcessingEngineTasks'.  (Microsoft.SqlServer.Smo)&#xA;&#xA;------------------------------&#xA;For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;ProdVer=12.0.5556.0+((SQL14_SP2_QFE-CU).170817-1113)&amp;amp;EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&amp;amp;EvtID=Alter+Database&amp;amp;LinkId=20476&#xA;&#xA;------------------------------&#xA;Program Location:&#xA;&#xA;   at Microsoft.SqlServer.Management.Smo.SqlSmoObject.AlterImpl()&#xA;   at Microsoft.SqlServer.Management.SqlManagerUI.DBPropMirroring.StartMirroring(Object sender, EventArgs e)&#xA;&#xA;===================================&#xA;&#xA;Property DefaultLanguageName is not available for Database '[unitywater_ProcessingEngineTasks]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.  (Microsoft.SqlServer.Smo)&#xA;&#xA;------------------------------&#xA;For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;ProdVer=12.0.5556.0+((SQL14_SP2_QFE-CU).170817-1113)&amp;amp;EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&amp;amp;EvtID=DefaultLanguageName&amp;amp;LinkId=20476&#xA;&#xA;------------------------------&#xA;Program Location:&#xA;&#xA;   at Microsoft.SqlServer.Management.Smo.PropertyCollection.HandleNullValue(Int32 index)&#xA;   at Microsoft.SqlServer.Management.Smo.PropertyCollection.GetPropertyObject(Int32 index)&#xA;   at Microsoft.SqlServer.Management.Smo.SqlSmoObject.GetPropertyOptional(String propName)&#xA;   at Microsoft.SqlServer.Management.Smo.DefaultLanguage.VerifyBothLcidAndNameNotDirty(Boolean isLanguageValueNoneAllowed)&#xA;   at Microsoft.SqlServer.Management.Smo.Database.ContainmentRelatedValidation(ScriptingPreferences sp)&#xA;   at Microsoft.SqlServer.Management.Smo.Database.ScriptAlter(StringCollection alterQuery, ScriptingPreferences sp)&#xA;   at Microsoft.SqlServer.Management.Smo.SqlSmoObject.AlterImplWorker()&#xA;   at Microsoft.SqlServer.Management.Smo.SqlSmoObject.AlterImpl()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yj8kq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yj8kq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I get replication/mirroring setup for these databases? &lt;/p&gt;&#xA;" OwnerUserId="3168" LastActivityDate="2019-07-09T23:45:12.833" Title="Error setting up mirroring on SQL databases after Sitecore upgrade" Tags="|sql-database|contained-database|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19829" PostTypeId="1" CreationDate="2019-07-10T01:58:22.783" Score="1" ViewCount="49" Body="&lt;p&gt;I am running a few &lt;code&gt;A/B test&lt;/code&gt; in &lt;code&gt;Sitecore 8.2&lt;/code&gt; (production environment) and it is configured with 50% traffic exposure as part of a POC setup. After presenting a interim test reports to the stakeholders, the intention now is to increase the traffic exposure to 100% to speed up the results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Problem is I can't find a way in &lt;code&gt;Sitecore Experience Editor&lt;/code&gt; to modify existing running tests. I did spotted that in &lt;code&gt;/sitecore/system/Marketing Control Panel/Test Lab/mytestname&lt;/code&gt; the active tests would be protected and there is a field for traffic allocation. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if there is a proper way to modify existing tests or if it is okay to modify directly in &lt;code&gt;/sitecore/system/Marketing Control Panel/Test Lab/mytestname&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CYlJ0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CYlJ0.png&quot; alt=&quot;Sitecore Backend&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5110" LastActivityDate="2024-01-24T22:01:20.187" Title="Modify Active Test traffic exposure" Tags="|experience-optimization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19830" PostTypeId="1" CreationDate="2019-07-10T04:40:21.077" Score="1" ViewCount="104" Body="&lt;p&gt;I am currently mapping a related entity from Dynamic CRM to Sitecore using DXF&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/t57Eo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/t57Eo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Iam getting this message when I run the batch pipelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3tGpG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3tGpG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the proper configuiration when mapping a related entity to an account that is not directly under the account? This is my sample schema from Dynamic CRM&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fetch&amp;gt;&#xA;  &amp;lt;entity name=&quot;contact&quot;&amp;gt;&#xA;    &amp;lt;attribute name=&quot;fullname&quot; /&amp;gt;&#xA;    &amp;lt;attribute name=&quot;telephone1&quot; /&amp;gt;&#xA;    &amp;lt;attribute name=&quot;lastname&quot; /&amp;gt;&#xA;    &amp;lt;order attribute=&quot;fullname&quot; descending=&quot;false&quot; /&amp;gt;&#xA;    &amp;lt;filter type=&quot;and&quot;&amp;gt;&#xA;      &amp;lt;condition attribute=&quot;lastname&quot; operator=&quot;not-null&quot; /&amp;gt;&#xA;    &amp;lt;/filter&amp;gt;&#xA;    &amp;lt;link-entity name=&quot;loyaltyscheme&quot; from=&quot;id1&quot; to=&quot;id2&quot; visible=&quot;false&quot; link- &#xA;      type=&quot;outer&quot; alias=&quot;a_0151c8f511fd&quot;&amp;gt;&#xA;      &amp;lt;attribute name=&quot;totalnumberofproductregistrations&quot; /&amp;gt;&#xA;      &amp;lt;attribute name=&quot;fiscalyear&quot; /&amp;gt;&#xA;    &amp;lt;/link-entity&amp;gt;&#xA;  &amp;lt;/entity&amp;gt;&#xA;&amp;lt;/fetch&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="5721" LastActivityDate="2019-11-09T05:34:39.087" Title="Mapping Related Entities to Sitecore using Data Exchange Framework" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19832" PostTypeId="2" ParentId="9116" CreationDate="2019-07-10T06:26:51.287" Score="0" Body="&lt;p&gt;Make sure the SOLR related values in xconnect-solr.json, sitecore-solr.json, XP0-Singleinstance.ps1 should match. They should point to correct SOLR url and directories (update any similar configurations which contain attributes for SOLR). This worked in my case.&lt;/p&gt;&#xA;" OwnerUserId="5755" LastActivityDate="2019-07-10T06:26:51.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19833" PostTypeId="2" ParentId="19829" CreationDate="2019-07-10T10:32:40.740" Score="0" Body="&lt;p&gt;Unfortunately, what you described is how you have to make that change.  I had the same issue with test strategy and asked support about it.  This was their response.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;The expected way to change the test strategy or traffic allocation is to start the test, unprotect the test item, make your changes and publish the changes.&#xA;One additional note: a client may need to close current session for applying a new strategy behavior.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-07-10T10:32:40.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19834" PostTypeId="1" CreationDate="2019-07-10T13:13:29.413" Score="3" ViewCount="2593" Body="&lt;p&gt;Sitecore not allowing WebP image to attached in an image field. Can anyone suggest how to enable that feature so that we can attached webP format image&lt;/p&gt;&#xA;" OwnerUserId="5756" LastActivityDate="2023-03-18T04:34:09.743" Title="Sitecore not allowing WebP image to attached in an image field" Tags="|sitecore-client|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19835" PostTypeId="1" AcceptedAnswerId="19986" CreationDate="2019-07-10T13:40:18.757" Score="1" ViewCount="1987" Body="&lt;p&gt;I'm attempting to get analytics working on a Sitecore 9.0 install. After various issues with connection strings being wrong, trackers not initialising I've got to a point where I'm fairly sure the xDB solr index isn't doing whatever it is it actually does.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I've tried to rebuild it following these instructions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/rebuild-the-xdb-index-in-solr.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/rebuild-the-xdb-index-in-solr.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Solr was actually having an issue with the index which already existed so I've created 2 new index's (xDB and xDB rebuild) and then updated the connection string and run the request rebuild command on &lt;code&gt;XConnectSearchIndexer&lt;/code&gt;. But it errors :(&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;C:\inetpub\wwwroot\sc.xconnect\App_data\jobs\continuous\IndexWorker&gt;XConnectSearchIndexer -rr&#xA;    Requesting rebuild.&#xA;&#xA;Unhandled Exception: System.AggregateException: One or more errors occurred. ---&gt; System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).&#xA;       at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()&#xA;       at Sitecore.Xdb.Collection.Search.Solr.SolrWriter.d__18.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at Sitecore.Xdb.Collection.Search.Solr.SolrWriter.d__21.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at Sitecore.Xdb.Collection.Search.Solr.SolrWriter.d__20`1.MoveNext()&#xA;    --- End of stack trace from previous location where exception was thrown ---&#xA;       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;       at Sitecore.Xdb.Collection.Search.Solr.SolrWriter.d__19`1.MoveNext()&#xA;       --- End of inner exception stack trace ---&#xA;       at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;       at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;       at System.Threading.Tasks.Task.Wait(TimeSpan timeout)&#xA;       at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.IndexerHostAppDomainBridge.RequestRebuild() in C:\BA\147b0adf6c2580c7\code\Sitecore.XConnect.Search.Indexer\IndexerAppDomainHost.cs:line 170&#xA;       at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.IndexerHostAppDomainBridge.RequestRebuild()&#xA;       at Sitecore.XConnect.Search.Indexer.Program.RequestRebuild() in C:\BA\147b0adf6c2580c7\code\Sitecore.XConnect.Search.Indexer\Program.cs:line 131&#xA;       at Sitecore.XConnect.Search.Indexer.Program.Main(String[] args) in C:\BA\147b0adf6c2580c7\code\Sitecore.XConnect.Search.Indexer\Program.cs:line 16&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3539" LastEditorUserId="70" LastEditDate="2019-07-10T13:47:43.613" LastActivityDate="2019-07-22T05:55:51.763" Title="Rebuild xDB Index in Solr" Tags="|xdb|solr|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19836" PostTypeId="2" ParentId="19834" CreationDate="2019-07-10T13:46:57.330" Score="2" Body="&lt;p&gt;WebP format is not (yet) supported in Sitecore out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that WebP format is not supported in all browsers. WebP should really be generated at runtime and cached. Also you need to check the http accept header for &quot;image/webp&quot; to be know if the browser supports it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can upgrade Sitecore with the Kam Figy's Dianoga module &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/Dianoga&lt;/a&gt; in order to support webP. In your media lib, you still upload normal images like jpeg, gif, png. But at runtime they are converted to WebP for supporting browsers.&lt;/p&gt;&#xA;" OwnerUserId="3675" LastActivityDate="2019-07-10T13:46:57.330" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19837" PostTypeId="1" CreationDate="2019-07-10T16:59:17.537" Score="0" ViewCount="221" Body="&lt;p&gt;This didn't seem to be an issue until recently. I have a language toggle on my site for English/French that when clicked, adds the appropriate language prefix to the current URL (e.g. /products -&gt; /fr-ca/products). When the url with the language prefix loads it's in the correct language, however when I navigate to another page it's back in the original language. I checked the language cookie and it appears the language cookie is not getting updated, it's still &quot;en&quot; after visiting /fr-ca/... &lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="135" LastEditDate="2019-08-09T02:52:00.980" LastActivityDate="2019-08-09T02:52:00.980" Title="Sitecore language prefix not setting language cookie" Tags="|multilingual|link-manager|" AnswerCount="0" CommentCount="4" ClosedDate="2019-07-16T15:24:29.690" ContentLicense="CC BY-SA 4.0" />
  <row Id="19838" PostTypeId="1" CreationDate="2019-07-10T18:29:18.500" Score="1" ViewCount="669" Body="&lt;p&gt;I have created a new item template but have not found a way for the new item web edit button (blue plus icon) to use my custom template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, I've created a new Tab item template as well as a branch template. The primary difference in this template is the Heading changed from a Rich Text field to Single-Line Text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/119Dq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/119Dq.png&quot; alt=&quot;Templates&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a new datasource configuration item to address the creation of tabs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UqF8J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UqF8J.png&quot; alt=&quot;Datasource Configuration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When adding a new tab, I see the SXA Tab Item rather than the custom one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UN8cU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UN8cU.png&quot; alt=&quot;Web edit&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-07-11T08:41:56.873" Title="How do you configure the Tabs component to use a custom item template for the webedit button?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19839" PostTypeId="1" CreationDate="2019-07-10T20:26:22.377" Score="6" ViewCount="3711" Body="&lt;p&gt;we recently migrated to Sitecore 9.1 from 8.1 and we see a bunch of JS errors on the page only in experience editor mode.  I dont see them happening in the normal mode.&lt;br&gt;&#xA;I tried replacing the Sitecore vanilla js files  - still the same.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;there are two majors errors that I see getting repeated all over :&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Uncaught TypeError: Cannot read property 'hide' of undefined &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Uncaught TypeError: Cannot read property 'replace' of undefined&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Any idea why this might happen? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6Fbka.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6Fbka.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2396" LastEditorUserId="7820" LastEditDate="2021-03-02T07:44:35.487" LastActivityDate="2023-09-22T04:33:30.980" Title="Sitecore 9.1 Experience editor throwing JS errors" Tags="|experience-editor|upgrade|javascript|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19840" PostTypeId="1" CreationDate="2019-07-10T20:37:21.240" Score="2" ViewCount="265" Body="&lt;p&gt;We are using Sitecore 9.0 and the SXA search components.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have found a few articles that state that you need to register the button click event in the search page controller to turn this functionality on:  &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13022/enabling-the-internal-search-in-the-sitecore-analytics&quot;&gt;Enabling the internal search in the sitecore analytics&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since we are using the built-in Sitecore SXA Search components, how should this be implemented?  Do I need to override the search javascript files and add custom code in there to register the event?&lt;/p&gt;&#xA;" OwnerUserId="5760" LastEditorUserId="1278" LastEditDate="2019-08-20T07:11:10.373" LastActivityDate="2019-08-20T07:23:47.437" Title="How do I enable the Internal Search reporting in Sitecore Analytics using the SXA search components?" Tags="|sxa|experience-analytics|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19841" PostTypeId="1" AcceptedAnswerId="19848" CreationDate="2019-07-10T21:49:54.513" Score="2" ViewCount="400" Body="&lt;p&gt;I'm using Sitecore 9.1.1,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I Followed this &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/create-a-custom-facet.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Link&lt;/a&gt; to create a custom facet to each contact and its added successfully to xDB, I don't have a screenshot of it but its like the below image:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fzjmx.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fzjmx.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;and this is my JSON file if it would help&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  {&#xA;  &quot;Name&quot;: &quot;AccountModel&quot;,&#xA;  &quot;Version&quot;: &quot;0.1&quot;,&#xA;  &quot;References&quot;: [&#xA;    {&#xA;      &quot;Name&quot;: &quot;XConnect&quot;,&#xA;      &quot;Version&quot;: &quot;1.0&quot;&#xA;    },&#xA;    {&#xA;      &quot;Name&quot;: &quot;Sitecore.XConnect.Collection.Model&quot;,&#xA;      &quot;Version&quot;: &quot;9.0&quot;&#xA;    }&#xA;  ],&#xA;  &quot;Types&quot;: {&#xA;    &quot;project.Models.AccountInformation&quot;: {&#xA;      &quot;Type&quot;: &quot;Facet&quot;,&#xA;      &quot;BaseType&quot;: &quot;Sitecore.XConnect.Facet&quot;,&#xA;      &quot;ClrType&quot;: &quot;project.Models.AccountInformation, project, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot;,&#xA;      &quot;Properties&quot;: {&#xA;        &quot;username&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;formattedName&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;honorificPrefix&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;entitlements&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;x509Certificates&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;schemas&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;id&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;externalId&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;employeeNumber&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;costCenter&quot;: {&#xA;          &quot;Type&quot;: &quot;String&quot;&#xA;        },&#xA;        &quot;isDeleted&quot;: {&#xA;          &quot;Type&quot;: &quot;Boolean&quot;&#xA;        }&#xA;      }&#xA;    }&#xA;  },&#xA;  &quot;Facets&quot;: [&#xA;    {&#xA;      &quot;Target&quot;: &quot;Contact&quot;,&#xA;      &quot;Name&quot;: &quot;AccountInformation&quot;,&#xA;      &quot;Type&quot;: &quot;project.Models.AccountInformation&quot;&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I tried to do next is create a custom tab in Experience Profile similar to &quot;Details&quot; tab and add the values of this Custom Facets, I followed the following links: &lt;a href=&quot;https://www.konabos.com/blog/extending-sitecore-experience-profile-in-sitecore-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;first&lt;/a&gt;, &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/scott-mulligan/posts/sitecore-amp-salesforce-another-approach-to-extending-experience-profile-in-sitecore-9&quot; rel=&quot;nofollow noreferrer&quot;&gt;second&lt;/a&gt;, &lt;a href=&quot;https://xcentium.com/blog/2018/12/19/view-custom-facets-values-from-within-sitecore-experience-profile&quot; rel=&quot;nofollow noreferrer&quot;&gt;third&lt;/a&gt; and many others.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The part where I get stuck in is when I suppose to add the fields, I don't know where to get the Ids added in the DataSource facets like in the &quot;Details&quot; tab in below photo:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kHmPt.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kHmPt.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;am I suppose to add my custom facets to core database and take the Ids of them and if so how can I connect them with my JSON file and the xDB field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or am doing it wrong. I don't know I got pretty lost in this part can you please advice me. &lt;/p&gt;&#xA;" OwnerUserId="5557" LastEditorUserId="73" LastEditDate="2019-07-11T11:24:56.613" LastActivityDate="2019-07-15T08:25:53.610" Title="Display Custom Facet in Sitecore Experience Profile 9.1.1" Tags="|xconnect|experience-profile|contact-facets|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19842" PostTypeId="1" CreationDate="2019-07-11T01:58:35.983" Score="1" ViewCount="69" Body="&lt;p&gt;This is using Sitecore 8.2.3. My client has concerns that their analytics data is not recording properly, but that appears to be due to the prolific amount of Anonymous contacts that are being recorded. It appears the search result list for Experience Profile is in alphabetical order by name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to sort the list differently, preferably by last interaction? Also, I'm not sure if they'd prefer to have anonymous contacts recording or not...I know in v9 anonymous contacts are off by default, is there a way to turn this off in v8 as well?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-07-11T01:58:35.983" Title="Sorting Experience Profile results" Tags="|experience-profile|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19845" PostTypeId="2" ParentId="19838" CreationDate="2019-07-11T08:41:56.873" Score="2" Body="&lt;p&gt;Those items which you see there in the &quot;Insert Item&quot; dialogue comes form insert options of Tabs (&lt;code&gt;/sitecore/templates/Feature/Experience Accelerator/Composites/Datasource/Tabs/Tabs&lt;/code&gt;) item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bnTXR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bnTXR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and then:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aPk5T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aPk5T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-07-11T08:41:56.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19846" PostTypeId="1" CreationDate="2019-07-11T09:44:48.497" Score="1" ViewCount="37" Body="&lt;p&gt;How to convert nested dynamic objects into readable data when building email custom tokens without using strongly type models? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my data:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;Id&quot;:&quot;126&quot;,&#xA;  &quot;Fruits&quot;:[{&quot;Number&quot;:&quot;111&quot;, &quot;Name&quot;:&quot;Apple&quot;}, {&quot;Number&quot;:&quot;112&quot;, &#xA;  &quot;Name&quot;:&quot;Orange&quot;}],&#xA;  &quot;Price&quot;:250,&#xA;  &quot;EmailAddress&quot;:&quot;test126@test.com&quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I'm using DeserializeObject&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;dynamic data = JsonConvert.DeserializeObject&amp;lt;ExpandoObject&amp;gt;(result);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then pass it to the method below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    protected virtual Dictionary&amp;lt;string, object&amp;gt; BuildCustomTokens(dynamic data)&#xA;    {&#xA;        var customTokens = new Dictionary&amp;lt;string, object&amp;gt;();&#xA;        if(data != null)&#xA;        {&#xA;            foreach (var dataField in data)&#xA;            {&#xA;              customTokens.Add($&quot;form_{dataField.Key}&quot;, dataField.Value);      &#xA;            }&#xA;        }&#xA;&#xA;        return customTokens;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is working, but for array of objects like &lt;strong&gt;&quot;Fruits&quot;&lt;/strong&gt;, it is formatted as objects. Sample Email:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1IZlG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1IZlG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2472" LastActivityDate="2019-07-11T09:44:48.497" Title="Sitecore 9.0.1 EXM Convert Nested Dynamic Objects into Readable Custom Tokens" Tags="|exm|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19848" PostTypeId="2" ParentId="19841" CreationDate="2019-07-11T11:19:10.030" Score="0" Body="&lt;p&gt;These datasource IDs are just ids of common UI controls like Text or AdvancedExpander that are used to render corresponding blocks for tab (there items are children items of tab-item &lt;em&gt;(or items from /sitecore/client/Applications/ExperienceProfile/Common/System/Texts)&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cDxhz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cDxhz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a good article about how to create custom tab in SPEAK for Experience Profile &lt;a href=&quot;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/comment-page-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/comment-page-1/&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-07-11T11:19:10.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19849" PostTypeId="1" AcceptedAnswerId="19950" CreationDate="2019-07-11T11:25:28.037" Score="5" ViewCount="676" Body="&lt;p&gt;I'm trying to figure out how the DeviceDetection api can be used to detect Bots visiting the website.&#xA;Sitecore version: 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When specific pages get visit, I want to log if it is a bot or not.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var deviceInfo = DeviceDetectionManager.GetDeviceInformation(HttpContext.Current.Request.UserAgent);&#xA;return deviceInfo != null ? deviceInfo.DeviceType.ToString() : &quot;&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But after testing, it seems that certain UserAgents always return the DeviceType &#xA; &lt;code&gt;Computer&lt;/code&gt;. Example UserAgent:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Safari/537.36&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;While I expect the DeviceType to be &lt;code&gt;Bot&lt;/code&gt; in this case. Which it clearly is, it even says Googlebot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I started to deassemble the Sitecore.DeviceDetection.CES.dll&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;First off all, &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/api-reference-for-the-device-detection-service.html&quot; rel=&quot;noreferrer&quot;&gt;the documentation&lt;/a&gt; specifies to use &lt;code&gt;DeviceInformation.IsBot&lt;/code&gt; because the enum value &lt;code&gt;DeviceType.Bot&lt;/code&gt; is obsolete.&lt;br&gt;&#xA;&lt;strong&gt;But... the DeviceDetection does not even contain a property IsBot.&lt;/strong&gt;  &lt;/li&gt;&#xA;&lt;li&gt;I looked at the 51Degrees implementation that should set the DeviceType. This is in &lt;code&gt;Sitecore.CES.DeviceDetection.Providers.FiftyOneDegrees.MatchHelper.cs&lt;/code&gt;.&lt;br&gt;&#xA;&lt;strong&gt;But... there is no code that ever sets the DeviceType to Bot.&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;So my question is, how can I check for a Bot using the DeviceDetection api?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Can be helpful: &lt;a href=&quot;https://51degrees.com/resources/user-agent-tester?useragent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko%3B%20compatible%3B%20Googlebot%2F2.1%3B%20%2Bhttp%3A%2F%2Fwww.google.com%2Fbot.html)%20Safari%2F537.36&quot; rel=&quot;noreferrer&quot;&gt;51degrees website to see what you get back from a given user agent string&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2019-07-18T12:49:39.180" Title="How can I check for a Bot using the DeviceDetection api" Tags="|device-detection|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19850" PostTypeId="1" AcceptedAnswerId="19859" CreationDate="2019-07-11T12:29:53.447" Score="2" ViewCount="535" Body="&lt;p&gt;I am trying to have a static HTML site rendered off the host name of our Sitecore site, such as mysite.com/_demo/index.html. All of this site is stored on the file system and is not part of Sitecore. I am trying to add this to a patch file Sitecore but I am still unable to render the site.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;DEMO&quot; patch:before=&quot;site[@name='website']&quot; inherits=&quot;website&quot; physicalFolder=&quot;/_demo&quot;&#xA;        startItem=&quot;/&quot; hostName=&quot;www-dev.mysite.com/_demo&quot; virtualFolder=&quot;/&quot; rootPath=&quot;/&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4989" LastActivityDate="2019-07-12T19:13:53.313" Title="Adding static site to Multisite" Tags="|multisite|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19851" PostTypeId="2" ParentId="19594" CreationDate="2019-07-11T13:06:48.100" Score="1" Body="&lt;p&gt;I had similar requirements a couple of times and I found that the most efficient way here is to create an application wrapper with SPEAK 1/2 - header, footer, sidebars, OK/Cancel buttons etc., and then develop all core functionality as a single big SPEAK component with a bunch of custom web api controllers and simple require.js/jQuery on UI.&lt;/p&gt;&#xA;" OwnerUserId="392" LastActivityDate="2019-07-11T13:06:48.100" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19852" PostTypeId="1" CreationDate="2019-07-11T13:20:13.097" Score="2" ViewCount="151" Body="&lt;p&gt;I'm a content author using Sitecore 9 (maybe 9.1?) and when I went to preview a page in the content editor area I expanded the content editor, which hid the content tree. I am unable to get the content tree back and I do have the content tree selected in View and within the view tab in application options. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/mMMRS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mMMRS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/p0rUC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p0rUC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dVrN8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dVrN8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5763" LastActivityDate="2019-08-11T16:01:25.143" Title="How to get content tree back from expanded content area view" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19853" PostTypeId="2" ParentId="19852" CreationDate="2019-07-11T13:29:07.640" Score="1" Body="&lt;p&gt;Just move your mouse to the left side of the screen until you see a small arrow there (it may look a bit different in other browsers).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5pkBA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5pkBA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then click and drag to the right.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-11T13:29:07.640" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19855" PostTypeId="1" CreationDate="2019-07-11T14:36:17.360" Score="0" ViewCount="201" Body="&lt;p&gt;We have a query that's populated a droplink that displays photo items.  It's grabbing these items from multiple locations, so the query is concatenating those subparts of the query.  I'm wondering if there's any way to sort the entire resultset so that users see an alphabetized list of photo items based on their name or title field rather than a list based on groupings of where the items lie in the content tree?  Here is the query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:/sitecore/content/Orgs/All Orgs//*[@@templateid='{55A41A27-A674-4A04-9716-8E5CB8786A85}']|../../../../../../../*[@@templateid='{9CB667FA-78F1-4EEB-9344-030E6B0AB1B7}']/News/Photos[@@id!='{4AF2C05E-BEC8-4DE0-BFBE-1D536CCA1A62}']//*[@@templateid='{55A41A27-A674-4A04-9716-8E5CB8786A85}']|../../../../../Photos[@@id!='{4AF2C05E-BEC8-4DE0-BFBE-1D536CCA1A62}']//*[@@templateid='{55A41A27-A674-4A04-9716-8E5CB8786A85}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-07-11T14:36:17.360" Title="Sorting a Sitecore query used to populate a droplink" Tags="|content-editor|sitecore-query|fieldtype|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19856" PostTypeId="1" AcceptedAnswerId="19858" CreationDate="2019-07-11T14:54:28.750" Score="4" ViewCount="2351" Body="&lt;p&gt;I have a requirement in my project. It is an existing project which is developed in Dotnet MVC + Sitecore 9.1, so some part of the page in that project needs to be implemented in react js, for example, calling the service and filtering the data. My question is how we can integrate the react js with this existing project that has MVC + Sitecore 9.1 ? Is there any way to do all this things? Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5765" LastEditorUserId="4515" LastEditDate="2019-08-20T14:54:14.467" LastActivityDate="2022-06-09T03:48:01.107" Title="Is it possible to combine Sitecore 9.1+DotNet+React Js" Tags="|mvc|react|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19858" PostTypeId="2" ParentId="19856" CreationDate="2019-07-12T01:37:03.197" Score="10" Body="&lt;h1&gt;Yes - Sitecore JSS / Headless Services&lt;/h1&gt;&#xA;&lt;p&gt;The officially supported &lt;a href=&quot;https://doc.sitecore.com/xp/en/developers/hd/190/sitecore-headless-development&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Headless Services&lt;/a&gt; has full support for ReactJS components on MVC pages in the form of Javascript Renderings or Client Side Embedding.&lt;/p&gt;&#xA;&lt;h3&gt;Sitecore JavaScript renderings&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/xp/en/developers/hd/190/sitecore-headless-development/sitecore-jss-integration-in-mvc-solutions.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore JavaScript renderings&lt;/a&gt; offer support for both server-side and client-side rendering of ReactJS components on an existing Sitecore MVC page.&lt;/p&gt;&#xA;&lt;h3&gt;Client Side Embedding&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/xp/en/developers/hd/190/sitecore-headless-development/sitecore-jss-integration-in-mvc-solutions.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Client Side Embedding&lt;/a&gt; is a simple approach for client-side only rendering of ReactJS components, especially if not aiming to have ReactJS drive the page layout.&lt;/p&gt;&#xA;&lt;h2&gt;Other Options&lt;/h2&gt;&#xA;&lt;p&gt;There is also a community supported extension of &lt;a href=&quot;https://reactjs.net/&quot; rel=&quot;nofollow noreferrer&quot;&gt;ReactJS.NET&lt;/a&gt; which is &lt;a href=&quot;https://github.com/GuitarRich/sitecore.react&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.React&lt;/a&gt;. However the following considerations should be taken into account when deciding which direction to go:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;JSS is officially supported and maintained for Sitecore 9.1+&lt;/li&gt;&#xA;&lt;li&gt;ReactJS.NET and Sitecore.React are not officially supported by Sitecore&lt;/li&gt;&#xA;&lt;li&gt;JSS supports the Experience Editor, Sitecore.React also supports the Experience Editor, but does require you to call &lt;code&gt;FieldRenderer.Render(item, &amp;quot;field&amp;quot;)&lt;/code&gt; in the controller.&lt;/li&gt;&#xA;&lt;li&gt;JSS supports the Tracker (for Analytics, Personalisation and Optimization),&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.React also supports the Tracker with no extra code.&lt;/li&gt;&#xA;&lt;li&gt;JSS is more scalable as it has headless support, whereas the community modules above are coupled to .NET MVC.&lt;/li&gt;&#xA;&lt;li&gt;JSS has support for Sitecore Experience Accelerator in Sitecore 9.2+&lt;/li&gt;&#xA;&lt;li&gt;JSS requires your Sitecore license has this enabled - you will need to check your license details or contact your account manager to confirm.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.React does not require any extra licenses&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.React has better support for hybrid modes. JSS can do a JavaScript rendering, but these do not scale well due to the SSR call made to the node server per rendering.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.React does not have a dependency on node.js.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2022-06-09T03:48:01.107" LastActivityDate="2022-06-09T03:48:01.107" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19859" PostTypeId="2" ParentId="19850" CreationDate="2019-07-12T03:14:42.610" Score="3" Body="&lt;p&gt;Sitecore will serve static files directly from disk if they exist, you do not need to patch in an additional &lt;code&gt;&amp;lt;site&amp;gt;&lt;/code&gt; if the &lt;code&gt;hostName&lt;/code&gt; already matches another existing site you might be hosting, i.e. if &lt;em&gt;www-dev.mysite.com&lt;/em&gt; is your main site and you just need to put some files into a subfolder then there is nothing more to do, put the files there and request the URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need a &lt;code&gt;&amp;lt;sites&amp;gt;&lt;/code&gt; definition for some reason, then you can patch it like so:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;&#xA;      &amp;lt;site name=&quot;DEMO&quot;&#xA;            patch:before=&quot;site[@name='website']&quot;&#xA;            inherits=&quot;website&quot;&#xA;            virtualFolder=&quot;/_demo&quot;&#xA;            physicalFolder=&quot;/_demo&quot;&#xA;            hostName=&quot;www-dev.mysite.com&quot; /&amp;gt; &#xA;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note the use of the virtual folder to match the incoming URL:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;virtualFolder:&lt;/strong&gt; The prefix to match for incoming URL's.&#xA;  This value will be removed from the URL and the remainder will be treated as the item path.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Sitecore.Pipelines.HttpRequest.FileResolver&lt;/code&gt; processor in the &lt;code&gt;httpRequestBegin&lt;/code&gt; makes a check for a physical file of the requested URL, and if so allows execution of that file directly. Note that you must request the files directly, using the full URL including the extension of the file. If a directory is requested (i.e. an extensionless URL) then Sitecore also makes a check for the existence of &lt;em&gt;&lt;code&gt;/&amp;lt;directory&amp;gt;/default.aspx&lt;/code&gt;&lt;/em&gt; in the folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about &lt;a href=&quot;https://insitecore.tumblr.com/post/37734162227/sitecore-httprequestbegin-pipeline-in-detail#FileResolver&quot; rel=&quot;nofollow noreferrer&quot;&gt;this processor here&lt;/a&gt; and a little more about &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/allowing-aliases-and-items-to-override-files-with-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;overriding that here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2019-07-12T19:13:53.313" LastActivityDate="2019-07-12T19:13:53.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19861" PostTypeId="1" AcceptedAnswerId="19863" CreationDate="2019-07-12T12:29:47.817" Score="1" ViewCount="2244" Body="&lt;p&gt;Can any please explain me how to add multiple items to the multilist field. For me only last item is getting selected. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Editing.BeginEdit()&#xA;$allItems = Get-ChildItem -Path '/sitecore/content/ListManagerTask' -Recurse&#xA;foreach($multilistItem in $allItems) { $item[$templateField.Name] += $multilistItem.ID; } &#xA;$item.Editing.EndEdit() | Out-Null`&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to assign all items in &lt;code&gt;$allItems&lt;/code&gt; to multilist.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ugCg6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ugCg6.png&quot; alt=&quot;This is how i&amp;#39;m getting&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="5632" LastEditorUserId="277" LastEditDate="2019-07-12T12:45:59.647" LastActivityDate="2019-07-12T12:45:59.647" Title="Adding Items to Multilist Field using powershell" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19862" PostTypeId="1" AcceptedAnswerId="19868" CreationDate="2019-07-12T12:39:06.983" Score="2" ViewCount="217" Body="&lt;p&gt;I would like to use the &lt;code&gt;Remove-Item&lt;/code&gt; function from SPE, but I want to be notified before I delete an item which is referenced by another item(s).&#xA;I mean the window above when I would like to remove an item from Content Editor:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/57e3F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/57e3F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2019-07-12T14:52:29.800" Title="Is it possible to get the &quot;Breaking Links&quot; pop-up when using the Remove-Item from SPE?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19863" PostTypeId="2" ParentId="19861" CreationDate="2019-07-12T12:44:48.153" Score="4" Body="&lt;p&gt;You haven't added any &lt;code&gt;|&lt;/code&gt; character to split the IDs of selected items. &#xA;This works:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Editing.BeginEdit() &#xA;&#xA;$allItems = Get-ChildItem -Path '/sitecore/content/ListManagerTask' -Recurse&#xA;&#xA;foreach($multilistItem in $allItems) { &#xA;    if (![string]::IsNullOrEmpty($item[$templateField.Name])) {&#xA;        $item[$templateField.Name] += &quot;|&quot;;&#xA;    }&#xA;    $item[$templateField.Name] += $multilistItem.ID.ToString()&#xA;} &#xA;&#xA;$item.Editing.EndEdit() | Out-Null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-12T12:44:48.153" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19864" PostTypeId="1" AcceptedAnswerId="19873" CreationDate="2019-07-12T14:10:56.567" Score="1" ViewCount="294" Body="&lt;p&gt;I'm on Sitecore 8.2 with Synthesis 8.2.6.&#xA;I'm currently using the provided helpers &lt;code&gt;Field.RenderedValue&lt;/code&gt; and &lt;code&gt;Field.Url&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'd like to request the images with specific size parameters depending on the control being rendered.&lt;br&gt;&#xA;Do I need to create my own render of this, or is there a way to impact what args are used for the media Url?&lt;/p&gt;&#xA;" OwnerUserId="19" LastActivityDate="2019-07-12T15:35:08.733" Title="Can I include image URL options with Synthesis field rendering helpers?" Tags="|media-library|urls|synthesis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19865" PostTypeId="1" CreationDate="2019-07-12T14:16:07.990" Score="2" ViewCount="1480" Body="&lt;p&gt;I want to add an image to an item using powershell script and here is my code. I don't know what i'm missing.. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Editing.BeginEdit()&#xA;&#xA;[Sitecore.Data.Fields.ImageField]$fieldValueLink = $Item.Fields[$templateField.DisplayName]&#xA;$fieldValueLink.Width = 1324&#xA;$fieldValueLink.Height = 577&#xA;$fieldValueLink.Alt=&quot;Image&quot;&#xA;$fieldValueLink.Value = $itemRow.$fieldTrimmedValue&#xA;$item[$templateField.DisplayName] = $itemRow.$fieldTrimmedValue;&#xA;&#xA;$item.Editing.EndEdit() | Out-Null&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5632" LastEditorUserId="237" LastEditDate="2019-07-12T14:20:49.833" LastActivityDate="2021-01-25T19:06:01.963" Title="Assign media item to sitecore item using powershell script" Tags="|powershell-extensions|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19866" PostTypeId="2" ParentId="19865" CreationDate="2019-07-12T14:28:27.857" Score="4" Body="&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following shows how to retrieve an image from the media library and assign it to the image field on a content item.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$homeItem = Get-Item -Path &quot;master:/content/home&quot;&#xA;$homeItem.Image = Get-Item -Path &quot;master:\media library\logo&quot;&#xA;$homeItem.PSFields.Image.Alt = &quot;I like turtles&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following shows both editing mode and automatic properties:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item.Editing.BeginEdit()   &#xA;&#xA;# Whatever other fields you want...&#xA;$item[$templateField.Name]= Get-Item -Path &quot;master:\media library\auto-email&quot;&#xA;&#xA;$item.Editing.EndEdit() | Out-Null    &#xA;&#xA;# This notation does not require the Begin/End edit calls.&#xA;$item.PSFields.Image.Alt = &quot;I like turtles&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Resources&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/working-with-items&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/working-with-items&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-07-12T15:19:40.183" LastActivityDate="2019-07-12T15:19:40.183" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19867" PostTypeId="2" ParentId="19849" CreationDate="2019-07-12T14:40:59.210" Score="4" Body="&lt;p&gt;Generally, checking for bots through the User Agent is not very accurate as it can be easily forged.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Use Robot Detection&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using the &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/configure-robot-detection-functionality.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Robot Detection feature&lt;/a&gt; from Sitecore Analytics, you will have more accurate results as it doesn't only analyze a single request but considers the visitor's behaviour during the current session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, on the first page of the first visit, a user will be classified as bot. &lt;strong&gt;HOWEVER...&lt;/strong&gt; if the visitorIdentification and other indicators (i.E. media item download) are positive, the &lt;strong&gt;Session&lt;/strong&gt; will be classified as Human.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Analyse sessions instead of requests&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of the above you won't be able to log bot visits on each request, but what you can do is hook into the &lt;strong&gt;VisitEnd pipeline&lt;/strong&gt;, run through the pages that have been visited, check if your page has been visited and check the session's robot classification.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Linq;&#xA;using Sitecore.Analytics;&#xA;using Sitecore.Analytics.Core;&#xA;using Sitecore.Analytics.Pipelines.VisitEnd;&#xA;using Sitecore.Diagnostics;&#xA;&#xA;namespace MyProject.VisitEnd&#xA;{&#xA;    public class LogRobotVisits : VisitEndProcessor&#xA;    {&#xA;&#xA;     public override void Process(VisitEndArgs endArgs)&#xA;     {&#xA;         Assert.ArgumentNotNull((object)endArgs, nameof(endArgs));&#xA;&#xA;         var classification = Tracker.Current.Contact.System.Classification;&#xA;         if (ContactClassification.IsHuman(classification))&#xA;         {&#xA;             return;&#xA;         }&#xA;&#xA;         foreach (var page in Tracker.Current.Interaction.Pages.Where(p =&amp;gt; p.Url.Path == &quot;/my-page-to-log&quot;))&#xA;         {&#xA;             if (ContactClassification.IsMaliciousRobot(classification))&#xA;             {&#xA;                Log.Warn($&quot;Page '{page.Url}' was visited by a MALICIOUS bot. Useragent: {Tracker.Current.Interaction.UserAgent}&quot;, this);&#xA;             } else &#xA;             {&#xA;                 Log.Warn($&quot;Page '{page.Url}' was visited by a bot. Useragent: {Tracker.Current.Interaction.UserAgent}&quot;, this);&#xA;             }&#xA;         }&#xA;     }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;pipelines&amp;gt;&#xA;   &amp;lt;visitEnd&amp;gt;&#xA;        &amp;lt;processor type=&quot;MyProject.VisitEnd.LogRobotVisits,MyProject&quot;/&amp;gt;&#xA;   &amp;lt;/visitEnd&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code above will run when a session expires. Sessions that have been classified as robots will expire after 1 minute. You can also flush sessions for testing using &lt;a href=&quot;https://github.com/lowedown/xConnectHelper&quot; rel=&quot;nofollow noreferrer&quot;&gt;xConnect helper&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="681" LastEditorUserId="681" LastEditDate="2019-07-14T14:54:32.340" LastActivityDate="2019-07-14T14:54:32.340" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19868" PostTypeId="2" ParentId="19862" CreationDate="2019-07-12T14:52:29.800" Score="2" Body="&lt;p&gt;You can invoke the &lt;code&gt;BreakingLinks&lt;/code&gt; dialog from SPE using the &lt;code&gt;Show-ModalDialog&lt;/code&gt; command. This command will return &lt;code&gt;yes&lt;/code&gt; or &lt;code&gt;no&lt;/code&gt; as a value, depending on whether the user decided to complete the dialog or cancel out of it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example script that checks for item references of each item it will delete, and if there are any, it launches the dialog. Cancelling out of the dialog will mean the item is skipped from being deleted.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items = Get-ChildItem -Path master:/sitecore/content/Home&#xA;&#xA;foreach ($item in $items)&#xA;{&#xA;    # Determine if any items refer to this item&#xA;    if (Get-ItemReferrer -Item $item)&#xA;    {&#xA;        # Show the broken links dialog&#xA;        $result = Show-ModalDialog -Control &quot;BreakingLinks&quot; -HandleParameters @{ list = $item.Id }&#xA;&#xA;        # If user cancels dialog, do not proceed with deleting this item&#xA;        if ($result -eq &quot;no&quot;) {&#xA;            continue&#xA;        }&#xA;    }&#xA;&#xA;    Write-Host &quot;Deleting $($item.Paths.FullPath)&quot;&#xA;    $item | Remove-Item&#xA;}      &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are likely some cases to deal with, such as how to handle items with descendants, but this should be enough to get you going. This has had very little testing so I would encourage you test thoroughly before using.&lt;/p&gt;&#xA;" OwnerUserId="28" LastActivityDate="2019-07-12T14:52:29.800" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19869" PostTypeId="2" ParentId="19286" CreationDate="2019-07-12T15:03:18.757" Score="1" Body="&lt;p&gt;You can use the example below to filter on the date of a date field in your facet. Im my example, my membership facet has a Registration property with a RegistrationDate date property I am filtering on.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (XConnectClient client = SitecoreXConnectClientConfiguration.GetClient())&#xA;{&#xA;&#xA;    var queryable = client.Contacts&#xA;        .Where(x =&amp;gt; x.GetFacet&amp;lt;MembershipFacet&amp;gt;(MembershipFacet.DefaultFacetKey).Registration.RegistrationDate &amp;gt; DateTime.Now.AddDays(-1))&#xA;        .WithExpandOptions(new ContactExpandOptions(MembershipFacet.DefaultFacetKey));&#xA;&#xA;    var contacts = await queryable.GetBatchEnumerator(20);&#xA;&#xA;    while (await contacts.MoveNext())&#xA;    {&#xA;       // do you stuff&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you are looking for pure &quot;When was this data saved&quot; like an interaction, you can use the data extraction query. &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/extracting-contacts-and-interactions.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/extracting-contacts-and-interactions.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-07-12T15:03:18.757" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19871" PostTypeId="2" ParentId="16800" CreationDate="2019-07-12T15:17:29.903" Score="2" Body="&lt;p&gt;No matter what, if you identify the user each time they log in, you will be fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Tracker.Current.Session.IdentifyAs(source, identifier);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the husband is logged in, you will notice the &lt;code&gt;Tracker.Current.Session.Contact.ContactId&lt;/code&gt; will be one ID. And when you &lt;code&gt;IdentifyAs()&lt;/code&gt; the wife, the ID will change to her contact ID. The husbands session will time out and be written to xDB. But the wife's session will continue on a new. You will also notice the page history and all will be new for the wife and include none of the husbands history. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-07-12T15:17:29.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19872" PostTypeId="1" AcceptedAnswerId="19874" CreationDate="2019-07-12T15:23:25.337" Score="0" ViewCount="60" Body="&lt;p&gt;I've created a custom user profile and attached it to a user type. When I do a GetUser and tell it I want the profile properties, is there a mechanism to map this data to a Glass model, or is this better handled strictly the &quot;Sitecore&quot; way?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-07-12T17:33:01.750" Title="Map user profile fields via Glass" Tags="|glass-mapper|user-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19873" PostTypeId="2" ParentId="19864" CreationDate="2019-07-12T15:35:08.733" Score="2" Body="&lt;p&gt;Synthesis has an extension method for &lt;code&gt;ImageField&lt;/code&gt;s called &lt;code&gt;RenderDpiAware&lt;/code&gt; &lt;a href=&quot;https://github.com/blipson89/Synthesis/blob/8.2.6/Source/Synthesis.Mvc/Extensions/ImageFields.cs#L56-L98&quot; rel=&quot;nofollow noreferrer&quot;&gt;(link)&lt;/a&gt; that allows you to specify a bunch of sizes to be used in a CSS source set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, the &lt;code&gt;Render()&lt;/code&gt; extension method &lt;a href=&quot;https://github.com/blipson89/Synthesis/blob/8.2.6/Source/Synthesis.Mvc/Extensions/ImageFields.cs#L28-L40&quot; rel=&quot;nofollow noreferrer&quot;&gt;(link)&lt;/a&gt; on &lt;code&gt;ImageField&lt;/code&gt;s has the ability to set a max width and max height. In a razor view, it would look like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;@Model.YourImageField.Render(maxWidth: 100, maxHeight: 100)&lt;/code&gt; (both fields are optional, so you don't &lt;em&gt;need&lt;/em&gt; to specify both).&lt;/p&gt;&#xA;" OwnerUserId="4" LastActivityDate="2019-07-12T15:35:08.733" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19874" PostTypeId="2" ParentId="19872" CreationDate="2019-07-12T17:33:01.750" Score="1" Body="&lt;p&gt;Glass mapper is for mapping Sitecore items to Glass models. That's all it was designed to do. Don't try to shoehorn it into mapping things it wasn't designed for. Just use the Sitecore API and create a model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you really must use a tool to do the mapping for you instead of just writing the code. Then have a look at AutoMapper, that is designed to map from one model to another. But if you are only doing this once, I'd say the overhead for that is not worth it.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-07-12T17:33:01.750" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19875" PostTypeId="1" AcceptedAnswerId="19876" CreationDate="2019-07-12T19:17:43.703" Score="5" ViewCount="459" Body="&lt;p&gt;So, I've been successful in creating a powershell script that modifies the MyToolbar to what we need based on the user's domain:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$ribbonCommands = &quot;{1DDBC2B7-69B4-44A0-AAF9-895AB51B1F00}|{D87FDF3B-D203-4F2F-81A3-14D4701BAEF6}|{D4E9CE87-84D1-42E4-9B8B-55A99605EA82}|{EDA2F1DC-0412-45B2-9FDD-0700B03F28CB}|{1CC9896C-5D20-4439-8938-57B5BFB3734F}|{EDA2F1DC-0412-45B2-9FDD-0700B03F28CB}|{AE7CA3FB-770F-43A9-8BD9-B0E67090DD61}|{CF377B94-17EE-4D82-86B4-419A8B41901A}&quot;&#xA;&#xA;$user = Get-User -Filter &quot;mydomain\*&quot;&#xA;&#xA;$user | ForEach-Object {  &#xA;    $prefix = &quot;/&quot;&#xA;    $username = $($_.Name)&#xA;    $suffix = &quot;/Ribbon/My Strip&quot;&#xA;    $registrykey = ${prefix} + ${username} + ${suffix}&#xA;    Write-Host $registrykey&#xA;    [Sitecore.Web.UI.HtmlControls.Registry]::SetValue($registrykey, $ribbonCommands)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This works well for the bulk of users who are now on the system, however, what I want to do is run something like this but a) when a new user is created, and b) grabbing that username so that I can set the values of the MyToolbar for that given user when he or she is created.  Can this be done?  Does it require a processor of some kind?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-07-20T01:37:58.107" Title="Run powershell script when new user is created" Tags="|powershell-extensions|user-management|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19876" PostTypeId="2" ParentId="19875" CreationDate="2019-07-12T19:49:26.397" Score="8" Body="&lt;p&gt;You could consider running a script that fires with the &lt;code&gt;user:created&lt;/code&gt; event.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try the following:&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Step 1&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Create a patch which tells SPE to run scripts for the Sitecore event.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:security=&quot;http://www.sitecore.net/xmlconfig/security/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot; security:require=&quot;Sitecore&quot;&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;user:created&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;Cognifide.PowerShell.Integrations.Tasks.ScriptedItemEventHandler, Cognifide.PowerShell&quot; method=&quot;OnEvent&quot; /&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Step 2&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Create a new script containing your profile code. Optionally, add rules on the script to avoid unnecessary script executions (i.e. check for user role).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KKYaX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KKYaX.png&quot; alt=&quot;Script Library&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure that the script is nested under a folder structure like &lt;code&gt;[MODULE]/Event Handlers/User/Created/[SCRIPT_NAME]&lt;/code&gt;. If you created a new module, be sure that it is marked enabled (doing so changes the icon).&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$createdUser = $eventArgs.Parameters[0]&#xA;Write-Log &quot;Created new user $($createdUser.Username)&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In my experience, only the ID of an item based on the Large Button template will work.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-07-20T01:37:58.107" LastActivityDate="2019-07-20T01:37:58.107" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19877" PostTypeId="2" ParentId="19594" CreationDate="2019-07-13T14:26:35.580" Score="3" Body="&lt;h2&gt;Answer&lt;/h2&gt;&#xA;&lt;p&gt;The direct answer to this question is that there is no way to build a SPEAK application without using Sitecore items.  This is because using items out of the core database is the foundation upon how/why SPEAK was written. It was intended to be a pattern that utilizes Sitecore structure, association to datasources, and presentation rendering in order to build HTML structure without having to &amp;quot;need to code views&amp;quot;.&lt;/p&gt;&#xA;&lt;h2&gt;Background&lt;/h2&gt;&#xA;&lt;p&gt;The way SPEAK uses Controllers is for data fetching and data saving only. All UI is managed by Sitecore Item Structure in the core database and flavored with referenced CSS files and PageCode (aka Javascript include). There is no concept of a view in SPEAK per se. SPEAK is built upon the idea of Atomic Design, so razor view renderings are at a discrete element level, and precompiled into the DLL.&lt;/p&gt;&#xA;&lt;p&gt;It is possible to create your own SPEAK view rendering following Sitecore's examples for the built in components, however, it still requires the use of Sitecore items to build structure.&lt;/p&gt;&#xA;&lt;p&gt;As mentioned in the Daniil's answer, the way some folks have gotten around it is to create the barebones items needed to start a SPEAK app, and then use a bunch of custom web api to display inside of a single SPEAK component.&lt;/p&gt;&#xA;&lt;h2&gt;Closest Solution&lt;/h2&gt;&#xA;&lt;p&gt;The closest solution I have seen come close to what you are looking for is the &lt;a href=&quot;https://github.com/JeffDarchuk/EPExpressTab&quot; rel=&quot;nofollow noreferrer&quot;&gt;Express Profile Tab&lt;/a&gt; module that Jeff Darchuk wrote. In this, he uses code to create the underlying SPEAK wiring needed and then creates an additional tab via normal view renderings.&lt;/p&gt;&#xA;&lt;p&gt;Check out the Express Profile Tab closely to understand how he injects this. I am not sure if this method is completely usable for the use case presented in this question as the Experience Profile already exists as a full SPEAK application.&lt;/p&gt;&#xA;&lt;h2&gt;Online Tutorial&lt;/h2&gt;&#xA;&lt;p&gt;The best tutorial that I have used to learn and understand SPEAK is this 6 part tutorial that Martina Welander made. &lt;a href=&quot;https://mhwelander.net/2014/06/27/speak-for-newbies-part-1-creating-a-new-application/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mhwelander.net/2014/06/27/speak-for-newbies-part-1-creating-a-new-application/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-13T14:38:58.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19878" PostTypeId="2" ParentId="19824" CreationDate="2019-07-14T01:56:48.383" Score="5" Body="&lt;h1&gt;Is it normal to have that hundreds of fields for a Sitecore index?&lt;/h1&gt;&#xA;&lt;p&gt;Yes - back in the days of Lucene and now Solr, some large multisite / multi language installations might see thousands of fields on the sitecore_master_index. This of course has always been a problem in terms of performance - the less fields on an index the better the performance. Lucene/Solr don't have a field limit, however as per the &lt;a href=&quot;https://cwiki.apache.org/confluence/display/SOLR/SolrPerformanceFactors&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr performance guide&lt;/a&gt; - the number of fields is a big indicator of performance.&lt;/p&gt;&#xA;&lt;p&gt;The full text search engine in Azure Search is &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/search/search-what-is-azure-search&quot; rel=&quot;nofollow noreferrer&quot;&gt;built on Apache Lucene&lt;/a&gt;, and Microsoft in their wisdom decided that a 1000 field limit per index is &amp;quot;more than enough&amp;quot;, which if you think about what you generally use an index for - a quick lookup based on some field values - you definitely shouldn't need that many fields to do what you need.&lt;/p&gt;&#xA;&lt;p&gt;The core problem we are seeing in Sitecore 9.0 and 9.1 is that Sitecore have let the default Lucene/Solr setting of Index All Fields to true on Azure Search. There is probably a few reasons I can think of - backwards compatibility, core functionality that needs it, but I have heard on the grapevine that from Sitecore 9.2 it will be Index All Fields is false by default.&lt;/p&gt;&#xA;&lt;p&gt;A whitelist approach when it comes to indexes in general is the best approach, rather than &amp;quot;index everything except this tediously built list of fields to exclude&amp;quot;.&lt;/p&gt;&#xA;&lt;h1&gt;Creating a Helix compliant Azure Search Index&lt;/h1&gt;&#xA;&lt;p&gt;Using your example of needing to search for &amp;quot;News Articles&amp;quot; - we can create a custom index for this relatively easily.&#xA;Firstly I will point you to this blog of &lt;a href=&quot;https://blog.baslijten.com/azure-search-for-sitecore-design-considerations/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Search design considerations&lt;/a&gt; as I consider it best practice.&lt;/p&gt;&#xA;&lt;h3&gt;1. Index Configuration&lt;/h3&gt;&#xA;&lt;p&gt;First you need to decide on whether to use the &lt;code&gt;defaultCloudIndexConfiguration&lt;/code&gt; (found in &lt;code&gt;App_Config\Sitecore\ContentSearch.Azure\Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;p&gt;Some considerations:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can use the &lt;code&gt;defaultCloudIndexConfiguration&lt;/code&gt; in your custom index if you are going to change &lt;code&gt;defaultCloudIndexConfiguration\documentOptions\indexAllFields&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;. This is supported by Sitecore however if you are on 9.0.2 you will need to patch in a couple extra fields to get Experience Forms to work.&lt;/li&gt;&#xA;&lt;li&gt;Instead I would recommend to create a new &lt;code&gt;CloudIndexConfiguration&lt;/code&gt; and reference parts of the &lt;code&gt;defaultCloudIndexConfiguration&lt;/code&gt; that you are not changing.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;So now you can create a new config file that will hold your &lt;code&gt;CloudIndexConfiguration&lt;/code&gt; as well as your actual index definitions. To be helix compliant I would suggest creating it in your NewsArticles Feature project e.g.  &lt;code&gt;App_Config\Include\Feature\Feature.NewsArticles.ContentSearch.Azure.config&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;A basic starting point for the structure:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&amp;quot;http://www.sitecore.net/xmlconfig/&amp;quot; xmlns:role=&amp;quot;http://www.sitecore.net/xmlconfig/role/&amp;quot; xmlns:search=&amp;quot;http://www.sitecore.net/xmlconfig/search/&amp;quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&amp;quot;Standalone or ContentDelivery or ContentManagement&amp;quot; search:require=&amp;quot;Azure&amp;quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;newsArticlesIndexConfiguration type=&amp;quot;Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure&amp;quot;&amp;gt;&#xA;&#xA;          &amp;lt;initializeOnAdd&amp;gt;true&amp;lt;/initializeOnAdd&amp;gt;&#xA;          &amp;lt;fieldMap             type=&amp;quot;Sitecore.ContentSearch.Azure.FieldMaps.CloudFieldMap, Sitecore.ContentSearch.Azure&amp;quot;&amp;gt;&#xA;            &amp;lt;fieldNames hint=&amp;quot;raw:AddFieldByFieldName&amp;quot;&amp;gt;&#xA;          &amp;lt;field fieldName=&amp;quot;azureuniqueid&amp;quot;        cloudFieldName=&amp;quot;azureuniqueid&amp;quot;      searchable=&amp;quot;YES&amp;quot;  retrievable=&amp;quot;YES&amp;quot;  facetable=&amp;quot;YES&amp;quot;  filterable=&amp;quot;YES&amp;quot;  sortable=&amp;quot;YES&amp;quot;  boost=&amp;quot;1f&amp;quot; type=&amp;quot;System.String&amp;quot;   settingType=&amp;quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&amp;quot; /&amp;gt;&#xA;          &amp;lt;field fieldName=&amp;quot;_content&amp;quot;             cloudFieldName=&amp;quot;content_1&amp;quot;          searchable=&amp;quot;YES&amp;quot;  retrievable=&amp;quot;NO&amp;quot;   facetable=&amp;quot;NO&amp;quot;  filterable=&amp;quot;NO&amp;quot;  sortable=&amp;quot;NO&amp;quot;  boost=&amp;quot;1f&amp;quot; type=&amp;quot;System.String&amp;quot;   settingType=&amp;quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;...&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;      &amp;lt;documentOptions type=&amp;quot;Sitecore.ContentSearch.Azure.CloudSearchDocumentBuilderOptions,Sitecore.ContentSearch.Azure&amp;quot;&amp;gt;&#xA;        &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The important part here is &lt;code&gt;indexAllFields&lt;/code&gt; is false, so you need to then build up your whitelist of fields. This has so many performance and maintenance benefits.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/19390/1278&quot;&gt;Here is a good little SPE script&lt;/a&gt; that helps to find what fields exist on a template. This should make it easier to build your white list.&lt;/p&gt;&#xA;&lt;p&gt;An example of referencing (inheriting) the &lt;code&gt;defaultCloudIndexConfiguration&lt;/code&gt; as follows:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;virtualFields ref=&amp;quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/virtualFields&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;2. Index Definitions&lt;/h3&gt;&#xA;&lt;p&gt;Once you have an index configuration you can then add your indexes to use it.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;indexes hint=&amp;quot;list:AddIndex&amp;quot;&amp;gt;&#xA;  &amp;lt;index id=&amp;quot;newsarticle_web_index&amp;quot; type=&amp;quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&amp;quot;&amp;gt;&#xA;    &amp;lt;param desc=&amp;quot;name&amp;quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&amp;quot;connectionStringName&amp;quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&amp;quot;totalParallelServices&amp;quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;    &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;    &amp;lt;param desc=&amp;quot;propertyStore&amp;quot; ref=&amp;quot;contentSearch/indexConfigurations/databasePropertyStore&amp;quot; param1=&amp;quot;$(id)&amp;quot; /&amp;gt;&#xA;    &amp;lt;configuration ref=&amp;quot;contentSearch/indexConfigurations/newsArticleIndexConfiguration&amp;quot; /&amp;gt;&#xA;    &amp;lt;schemaBuilder ref=&amp;quot;contentSearch/searchServiceSchemaBuilder&amp;quot; /&amp;gt;&#xA;    &amp;lt;searchService type=&amp;quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&amp;quot; /&amp;gt;&#xA;    &amp;lt;strategies hint=&amp;quot;list:AddStrategy&amp;quot;&amp;gt;&#xA;      &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;      &amp;lt;strategy role:require=&amp;quot;Standalone OR ContentManagement&amp;quot; ref=&amp;quot;contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync&amp;quot; /&amp;gt;&#xA;      &amp;lt;strategy role:require=&amp;quot;ContentDelivery&amp;quot; ref=&amp;quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&amp;quot; /&amp;gt;&#xA;    &amp;lt;/strategies&amp;gt;&#xA;    &amp;lt;commitPolicyExecutor type=&amp;quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;      &amp;lt;policies hint=&amp;quot;list:AddCommitPolicy&amp;quot;&amp;gt;&#xA;        &amp;lt;policy type=&amp;quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;          &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;        &amp;lt;/policy&amp;gt;&#xA;      &amp;lt;/policies&amp;gt;&#xA;    &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;    &amp;lt;locations hint=&amp;quot;list:AddCrawler&amp;quot;&amp;gt;&#xA;      &amp;lt;crawler type=&amp;quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&amp;quot;&amp;gt;&#xA;        &amp;lt;Database&amp;gt;web&amp;lt;/Database&amp;gt;&#xA;        &amp;lt;Root&amp;gt;/sitecore/content/Site/Home&amp;lt;/Root&amp;gt;&#xA;      &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;/locations&amp;gt;&#xA;    &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;    &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;  &amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I've just done an example there for the Web database, but you can just copy it for Master and be sure to change the &lt;code&gt;indexUpdateStrategies&lt;/code&gt; to &lt;code&gt;syncMaster&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h1&gt;Known issues with Azure Search&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;As mentioned - having the default &lt;code&gt;indexAllFields=true&lt;/code&gt; is an issue and can be fairly easily rectified. If you're on 9.0 you will need this &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.229445/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;patch to fix Experience Forms&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;In Sitecore 9.0 there is no support for indexing PDFs so &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.149909&quot; rel=&quot;nofollow noreferrer&quot;&gt;you will need this patch&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;In Sitecore 9.0 and 9.1 there is some less-than-desirable issues around default fields hitting a 32kB field size limit. Additionally the default submit batch size is not optimised. &lt;a href=&quot;https://github.com/richardszalay/sitecore-azure-search-compat&quot; rel=&quot;nofollow noreferrer&quot;&gt;This community code&lt;/a&gt; can be patched into your solution to rectify this.&lt;/li&gt;&#xA;&lt;li&gt;In Sitecore 9.0 and 9.1 the ContentDelivery role has index updates enabled. I have raised a support ticket and Sitecore has confirmed it should be disabled. You can use this &lt;a href=&quot;https://github.com/markgibbons25/sitecore-azure-search-compat/blob/feature/indexconfig/Community.Sitecore.ContentSearch.Azure.IndexConfiguration.config&quot; rel=&quot;nofollow noreferrer&quot;&gt;example patch to disable it&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore 9.0.2 - logs get spammed with warnings - &lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.253826&quot; rel=&quot;nofollow noreferrer&quot;&gt;use this patch to fix&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1&gt;Conclusion&lt;/h1&gt;&#xA;&lt;p&gt;And that's it! To round off - trying to script up an exclusion list is a losing battle. It's easier and much more beneficial to instead create a white list of included fields.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-14T02:08:33.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19879" PostTypeId="2" ParentId="14911" CreationDate="2019-07-14T02:22:33.423" Score="2" Body="&lt;p&gt;Yes, you are on the right track. If you are getting issues with connecting / submitting to Azure Search then it's possible you are hitting the limit of 10 &quot;GetIndex&quot; requests per second.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My understanding is that if too many Sitecore instances are doing &quot;GetIndex&quot; at the same time, then it will trigger the Azure Search limit. The defaults are not forgiving in this case as they frequently and exponentially will retry.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tweaking your delays as follows will help a lot. (This is a Sitecore 9.0.2 config - perhaps just take the relevant parts for your version).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;schemaSynchronizer type=&quot;Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;managmentOperations&quot; ref=&quot;contentSearch/searchServiceClient&quot; /&amp;gt;&#xA;    &amp;lt;param desc=&quot;retryPolicy&quot; type=&quot;Sitecore.ContentSearch.Azure.Utils.Retryer.RetryPolicy, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;retryStrategy&quot; type=&quot;Sitecore.ContentSearch.Azure.Utils.Retryer.ExponentialRetryStrategy, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;        &amp;lt;exponent&amp;gt;1.2&amp;lt;/exponent&amp;gt;&#xA;        &amp;lt;maxRetryCount&amp;gt;10&amp;lt;/maxRetryCount&amp;gt;&#xA;        &amp;lt;minDelayInterval&amp;gt;00:00:10.0&amp;lt;/minDelayInterval&amp;gt;&#xA;        &amp;lt;maxDelayInterval&amp;gt;00:01:00.0&amp;lt;/maxDelayInterval&amp;gt;&#xA;      &amp;lt;/param&amp;gt;&#xA;      &amp;lt;param desc=&quot;detectionStrategy&quot; type=&quot;Sitecore.ContentSearch.Azure.Utils.Retryer.SchemaUpdateErrorTransientDetectionStrategy, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;    &amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;analyzerRepository&quot; ref=&quot;contentSearch/analyzerRepository&quot; /&amp;gt;&#xA;  &amp;lt;/schemaSynchronizer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally set the &lt;code&gt;&amp;lt;param desc=&quot;schemaUpdateInterval&quot;&amp;gt;00:05:00&amp;lt;/param&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-07-14T02:22:33.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19881" PostTypeId="2" ParentId="19391" CreationDate="2019-07-14T08:26:03.507" Score="2" Body="&lt;p&gt;There used to be &lt;code&gt;ExcludeField&lt;/code&gt; method in &lt;code&gt;ProviderIndexConfiguration&lt;/code&gt; in older Sitecore version. It was just calling &lt;code&gt;DocumentOptions.AddExcludedField&lt;/code&gt; as &lt;a href=&quot;https://sitecore.stackexchange.com/users/137/matthew-dresser&quot;&gt;Matthew Dresser&lt;/a&gt; wrote in his comment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At some point it was marked as obsolete and finally it was removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore &lt;code&gt;9.1.0 rev. 001564 dll&lt;/code&gt; method &lt;code&gt;ExcludeField&lt;/code&gt; is no longer there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;AddExcludedField&lt;/code&gt; of &lt;code&gt;IDocumentBuilderOptions&lt;/code&gt; should be used instead.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-14T08:26:03.507" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19882" PostTypeId="2" ParentId="19582" CreationDate="2019-07-14T11:02:25.813" Score="0" Body="&lt;p&gt;The issue is solved. This was because of the FieldBindingsTokenDatasource and this is missing from Presentation Details of the PropertyGridForm item. The presentation was not overwritten after the TDS sync. I deployed it again changing deployment properties to &quot;Deploy Always&quot; and then it started working. &#xA;I have explained the issue in the blog :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://codeandlearnspot.wordpress.com/2019/07/14/sitecore-forms-extensions-tds-sync-propertygridform-js-error/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://codeandlearnspot.wordpress.com/2019/07/14/sitecore-forms-extensions-tds-sync-propertygridform-js-error/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="950" LastActivityDate="2019-07-14T11:02:25.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19883" PostTypeId="1" CreationDate="2019-07-14T11:20:43.273" Score="2" ViewCount="213" Body="&lt;p&gt;I am very new to helix principles. I have created the project structure following sample habitat project. &#xA;My requirement is to call an external api when any item ( of a specific template) is published. &#xA;I have found the sample code and config patch details from the below sitecore document. &#xA;&lt;a href=&quot;https://doc.sitecore.com/SdnArchive/Articles/API/Using%20Events.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/SdnArchive/Articles/API/Using%20Events.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am not sure about where to create the new project to add the code and how to patch the config by code deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I get some help on this ?&lt;/p&gt;&#xA;" OwnerUserId="3451" LastEditorUserId="408" LastEditDate="2019-07-14T12:21:30.273" LastActivityDate="2019-07-14T13:23:07.040" Title="In which project should we override item:publish event" Tags="|helix|events|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19884" PostTypeId="2" ParentId="19883" CreationDate="2019-07-14T13:17:36.617" Score="5" Body="&lt;h2&gt;Answer&lt;/h2&gt;&#xA;&lt;p&gt;In your specific use case, Publishing is the Sitecore function that you are interested in.  Therefore, I would create a Helix Module called &lt;strong&gt;Foundation.Publishing&lt;/strong&gt; on the Foundation Level, and then add your Event Handler and associated patch configs there.&lt;/p&gt;&#xA;&lt;h2&gt;Background&lt;/h2&gt;&#xA;&lt;p&gt;Generally speaking, customizations to Sitecore should be contained with the module that needs the customization.&lt;/p&gt;&#xA;&lt;p&gt;For example, general enhancement modules, like Language Fallback, SEO, or multisite (to name a few) are kept at the Foundation level.  Think of these as architectual elements that can exist and function completely on their own.&lt;/p&gt;&#xA;&lt;p&gt;For more specific feature based modules that are options for various deployed websites and overall platform, these are to be kept at the Feature level.&lt;/p&gt;&#xA;&lt;p&gt;And for specific project, website specific, non-shared modules of the website, these exist in the Project level.&lt;/p&gt;&#xA;&lt;p&gt;For an event handler, such as item:saved, the question is, &amp;quot;Why do you need it? Which function of the business requirements require it?&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;For example, say your business requirement is, &amp;quot;when an item gets saved, I want to update a specific Sitecore default field.&amp;quot;  Whatever module in the Foundation layer that you have that is handling Publishing or if this is for SEO, then code for the handler would go in one of those modules.&lt;/p&gt;&#xA;&lt;p&gt;But, say for example you have a Feature module called &lt;strong&gt;CTA Card&lt;/strong&gt;, the business requirment is &amp;quot;when I save a CTA Card item, I need to perform some action on the item:saved event&amp;quot;.  This would mean that the event handler you need is tied to (or has a dependency on) the CTA Card module. Therefore you would put the handler in the CTA Card module.&lt;/p&gt;&#xA;&lt;h2&gt;Summary&lt;/h2&gt;&#xA;&lt;p&gt;Put the event handler code in the   module that most cloesly defines &lt;em&gt;&lt;strong&gt;why&lt;/strong&gt;&lt;/em&gt; you need it in the first place.&lt;/p&gt;&#xA;&lt;p&gt;Keep Helix Dependency pattern in mind.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-14T13:23:07.040" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19885" PostTypeId="1" CreationDate="2019-07-14T14:25:50.553" Score="0" ViewCount="399" Body="&lt;p&gt;I am getting below Error in my last Step of SC9.0 Update 1 Installation-&#xA;What I have already checked:-&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I have verfied Database server names, credentials etc are all fine/&lt;/li&gt;&#xA;&lt;li&gt;I have also ensured its as per - &lt;a href=&quot;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecorespark.com/blog/2017/11/sitecore-installation-framework-error-processing-pools&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Only thing I see here is I have Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64)   &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can someone suggest me - if I cannot proceed with SQL Server 2017?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;More Information: Could not deploy package.&#xA;Unable to connect to master or target server 'glassdemo_Processing.Pools'. You must have a user with the same password in master or &#xA;target server 'glassdemo_Processing.Pools'.&#xA;  Learn more at: http://go.microso&#xA;ft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD.&#xA;Error: Could not deploy package.&#xA;Error: Unable to connect to master or target server 'glassdemo_Processing.Pools'. You must have a user with the same password in &#xA;master or target server 'glassdemo_Processing.Pools'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2414" LastEditorUserId="73" LastEditDate="2019-07-14T17:21:01.920" LastActivityDate="2019-07-14T17:21:01.920" Title="Installation Issue with Sitecore 9 Update 1 XP0" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="0" ClosedDate="2019-07-14T17:21:55.053" ContentLicense="CC BY-SA 4.0" />
  <row Id="19886" PostTypeId="1" CreationDate="2019-07-14T15:19:15.427" Score="3" ViewCount="923" Body="&lt;p&gt;We are getting the error once we submit the &lt;code&gt;Sitecore 9.1 form&lt;/code&gt;. This is happening when we enable the checkbox &lt;code&gt;Is tracking Enable&lt;/code&gt; in Sitecore core form. &#xA;and this error is not with Standalone role, only with &lt;code&gt;CD and CM server&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The error is:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[ArgumentException: alias should not be null or an empty string.&#xA;Parameter name: alias]&#xA;   Sitecore.Framework.Conditions.RequiresValidator`1.ThrowExceptionCore(String condition, String additionalMessage, ConstraintViolationType type) +100&#xA;   Sitecore.Framework.Conditions.Throw.ValueShouldNotBeNullOrAnEmptyString(ConditionValidator`1 validator, String conditionDescription) +121&#xA;   Sitecore.Framework.Conditions.ValidatorExtensions.IsNotNullOrEmpty(ConditionValidator`1 validator) +41&#xA;   Sitecore.Marketing.Core.Extensions.ConditionValidatorExtensions.IsValidAlias(ConditionValidator`1 validator) +139&#xA;   Sitecore.Marketing.Definitions.DefinitionManagerBase`2.GetByAlias(String alias, CultureInfo cultureInfo, Boolean includeInactiveVersion) +87&#xA;   Sitecore.Analytics.Data.DefinitionCollection`1.get_Item(String name) +156&#xA;   Sitecore.Analytics.Tracking.PageContext.Register(PageEventData pageData) +437&#xA;   Sitecore.ExperienceForms.Analytics.Tracking.FormEventsTracker.RegisterFormBegin(FormTrackingEventData pageEventData) +374&#xA;   Sitecore.ExperienceForms.Analytics.Tracking.FormEventsTracker.RegisterEvent(TEventData trackingEventData) +100&#xA;   Sitecore.ExperienceForms.Mvc.FormRenderingContext.RegisterFormEvent(FormEventData formEventData) +117&#xA;   Sitecore.ExperienceForms.Mvc.Controllers.FormBuilderController.Index(FormDataModel data) +271&#xA;   lambda_method(Closure , ControllerBase , Object[] ) +139&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c.&amp;lt;BeginInvokeSynchronousActionMethod&amp;gt;b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39&#xA;   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +70&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42&#xA;   System.Web.Mvc.Async.AsyncInvocationWithFilters.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__11_0() +72&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass11_1.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__2() +387&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass11_1.&amp;lt;InvokeActionMethodFilterAsynchronouslyRecursive&amp;gt;b__2() +387&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass3_6.&amp;lt;BeginInvokeAction&amp;gt;b__3() +50&#xA;   System.Web.Mvc.Async.&amp;lt;&amp;gt;c__DisplayClass3_1.&amp;lt;BeginInvokeAction&amp;gt;b__5(IAsyncResult asyncResult) +188&#xA;   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38&#xA;   System.Web.Mvc.&amp;lt;&amp;gt;c.&amp;lt;BeginExecuteCore&amp;gt;b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +26&#xA;   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68&#xA;   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52&#xA;   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39&#xA;   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38&#xA;   System.Web.Mvc.&amp;lt;&amp;gt;c.&amp;lt;BeginProcessRequest&amp;gt;b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +40&#xA;   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68&#xA;   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38&#xA;   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +648&#xA;   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +131&#xA;&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="5612" LastEditorUserId="5387" LastEditDate="2019-07-15T11:16:46.703" LastActivityDate="2022-10-24T14:03:55.413" Title="Experience Forms Tracking Issue - alias should not be null or an empty string. Parameter name: alias" Tags="|sitecore-forms|tracking|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19887" PostTypeId="2" ParentId="19885" CreationDate="2019-07-14T17:20:33.057" Score="1" Body="&lt;p&gt;You cannot.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;9.0 is not compatible with SQL 2017 - as per &lt;a href=&quot;https://kb.sitecore.net/articles/087164&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore compatibility table&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The highest version supported is SQL 2016 SP1. &lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-07-14T17:20:33.057" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19890" PostTypeId="2" ParentId="19841" CreationDate="2019-07-15T08:25:53.610" Score="0" Body="&lt;p&gt;I have faced the same issue and raised it on Sitecore StackExchange.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/18198/display-custom-facets-in-sitecore-experience-profile-version-9-or-later&quot;&gt;Display custom facets in Sitecore Experience Profile version 9 or later&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The part where you stuck is a &lt;code&gt;core database&lt;/code&gt; part. You need to perform all the operation in the core database, but for that, you have to use &lt;code&gt;Sitecore Rocks&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=JakobChristensen.SitecoreRocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.visualstudio.com/items?itemName=JakobChristensen.SitecoreRocks&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After that, you can create renderings and assign/get Ids.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow the below article, it helps me lot to create rendering and ids.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jonathanrobbins.co.uk/2016/04/19/extending-sitecore-experience-profile-speak-app/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5387" LastActivityDate="2019-07-15T08:25:53.610" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19891" PostTypeId="1" AcceptedAnswerId="19893" CreationDate="2019-07-15T08:52:02.533" Score="1" ViewCount="101" Body="&lt;p&gt;I need to sync the Sitecore contacts to CRM using Dynamics CRM Connector 2.0.1. As the synced contacts require further refinement, the synced contact needs to be added in a temp table in CRM instead of Contact table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we change this configuration in the connector ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&#xA;Samridhi &lt;/p&gt;&#xA;" OwnerUserId="3900" LastEditorUserId="73" LastEditDate="2019-07-15T09:02:08.660" LastActivityDate="2019-07-15T10:05:49.227" Title="Populate Custom Table instead of Contacts table in CRM using Dynamics CRM Connector" Tags="|xconnect|dynamics-crm-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19893" PostTypeId="2" ParentId="19891" CreationDate="2019-07-15T10:05:49.227" Score="4" Body="&lt;p&gt;Yes, you can simply do that. If you use a default  Dynamics CRM Connector pipeline to sync contacts to CRM, you only need to navigate &lt;code&gt;Pipelines -&amp;gt; xConnect Contacts to Dynamics Sync Pipelines&lt;/code&gt;(1) folder, expand &lt;code&gt;Process Single Contact from xConnect Pipeline&lt;/code&gt; (2) item and choose the &lt;code&gt;Resolve Dynamics Contact by Identifier&lt;/code&gt; (3). Then you can find the &lt;code&gt;Entity Name&lt;/code&gt; field there (4), which defines an entity where your contact will be saved in CRM (5). In your case, it will be some temp entity.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/j1UP7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/j1UP7.png&quot; alt=&quot;Dynamics CRM Connector Change target entity&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-07-15T10:05:49.227" CommentCount="13" ContentLicense="CC BY-SA 4.0" />
  <row Id="19894" PostTypeId="1" CreationDate="2019-07-15T12:00:13.393" Score="0" ViewCount="462" Body="&lt;p&gt;I am working on Sitecore 8.2 version.  I am getting an exception in production environment log file. I am not able to replicate same issue in my local neither able to figure out why this issue is occurring though this seems related to xDB.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: System.ArgumentNullException&#xA;Message: Value cannot be null.&#xA;Parameter name: context.Contact&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.Analytics.Automation.MarketingAutomation.AutomationExtensions.CreateAutomationStateManager(Session context)&#xA;   at Sitecore.Analytics.Automation.ContactAutomationEvents.Run(Session session, PageEventItem pageEventDefinitionItem)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.RegisterPageEvent.RegisterPageEventPipeline.Run(RegisterPageEventArgs args)&#xA;   at Sitecore.Analytics.Tracking.PageContext.Register(PageEventItem pageEventItem, PageEventData pageData)&#xA;   at Sitecore.Analytics.Tracking.PageContext.Register(PageEventData pageData)&#xA;   at Sitecore.Analytics.Extensions.ErrorExtensions.RegisterError(IPageContext page, String text, String dataKey, String data)&#xA;   at Sitecore.Analytics.Tracking.TrackingUtilities.ProcessAnalyticsLog(CurrentInteraction interaction, AnalyticsLogger logger)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can someone suggest me why this issue is occurring?&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="277" LastEditDate="2019-07-15T12:19:05.900" LastActivityDate="2019-07-15T12:19:05.900" Title="Message: Value cannot be null. Parameter name: context.Contact" Tags="|xdb|sitecore-api|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19897" PostTypeId="1" CreationDate="2019-07-16T00:13:32.480" Score="0" ViewCount="435" Body="&lt;p&gt;I have just installed the vanilla Sitecore 9.1.1 and SXA 1.8&#xA;on the local machine.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Created the demo website.&lt;/li&gt;&#xA;&lt;li&gt;Upon adding any component in experience editor it throws below error.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;9188 09:38:41 ERROR Application error.&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.&#xA;Source: System.Web&#xA;   at System.Web.UI.Page.HandleError(Exception e)&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;   at System.Web.UI.Page.ProcessRequest()&#xA;   at System.Web.UI.Page.ProcessRequest(HttpContext context)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.XA.Feature.Composites&#xA;   at Sitecore.XA.Feature.Composites.Pipelines.ExecutePageEditorAction.FillCompositeRenderingDatasource.Process(PipelineArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Pipelines.ExecutePageEditorAction.ExecutePageEditorActionPipeline.Run(ExecutePageEditorActionArgs args)&#xA;   at Sitecore.Shell.Applications.WebEdit.Palette.OnPreInit(EventArgs e)&#xA;   at System.Web.UI.Page.PerformPreInit()&#xA;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UY48F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UY48F.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6vcnE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6vcnE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XbFL5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XbFL5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/96lvq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/96lvq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1004" LastEditorUserId="1004" LastEditDate="2019-07-16T02:52:01.737" LastActivityDate="2019-08-17T07:01:50.227" Title="Unable to add component in Sitecore SXA using Experience Editor" Tags="|sxa|experience-editor|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19898" PostTypeId="1" CreationDate="2019-07-16T04:15:41.590" Score="1" ViewCount="150" Body="&lt;p&gt;I have recently created profiles and applied them to some of my pages. However, now when I go into Experience Profile for contacts that have visited a page that has the profile applied I get the following. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The API that is called:&#xA;&lt;code&gt;http://mydomain/sitecore/api/ao/v1/contacts/631499c3-7f1e-0100-0000-059b107847ad/intel/best-pattern-matches?&amp;amp;pageSize=3&amp;amp;pageNumber=1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Response:&#xA;&lt;code&gt;{&quot;Message&quot;:&quot;An error occurred. Object reference not set to an instance of an object.&quot;}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Profile has 5 keys each has a max value of 10. I used a profile card to apply the profile to a content item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting this error in my local development environment where I am running CD in live mode. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the stack trace from the log file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;16140 21:14:03 ERROR Object reference not set to an instance of an object.&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Cintel&#xA;   at Sitecore.Cintel.Reporting.ReportingServerDatasource.VisitPatternScores.PrepareProfileKeyMapping.GetProfileKeyItems(Item profile)&#xA;   at Sitecore.Cintel.Reporting.ReportingServerDatasource.VisitPatternScores.PrepareProfileKeyMapping.Process(ReportProcessorArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Cintel.Reporting.PipelineViewProvider.GenerateContactView(ViewParameters viewParameters)&#xA;   at Sitecore.Cintel.Reporting.Contact.ProfileInfo.Processors.FindBestPatternMatchAndApplyToProfileInfo.ApplyPatternToOneProfile(ReportProcessorArgs args, DataRow profileRow)&#xA;   at Sitecore.Cintel.Reporting.Contact.ProfileInfo.Processors.FindBestPatternMatchAndApplyToProfileInfo.ApplyPatternsToResultTable(ReportProcessorArgs args, DataTable resultTable)&#xA;   at Sitecore.Cintel.Reporting.Contact.ProfileInfo.Processors.FindBestPatternMatchAndApplyToProfileInfo.Process(ReportProcessorArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Cintel.Reporting.PipelineViewProvider.GenerateContactView(ViewParameters viewParameters)&#xA;   at Sitecore.Cintel.Endpoint.IntelController.Get(ViewParameters viewParams, Guid contactId, String viewId, String id)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3681" LastActivityDate="2019-07-16T04:21:34.557" Title="Experience Profile page API for pattern matches throws object reference not set error" Tags="|experience-profile|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19899" PostTypeId="2" ParentId="19898" CreationDate="2019-07-16T04:21:34.557" Score="2" Body="&lt;p&gt;Ok as soon as I posted this I realized I should check it's published state of the profile. I thought I had published it but, as it turns out, I had not. As soon as I published the profile all was good. Chalk it up to a long day but maybe it will help someone else eventually. &lt;/p&gt;&#xA;" OwnerUserId="3681" LastActivityDate="2019-07-16T04:21:34.557" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19902" PostTypeId="2" ParentId="17166" CreationDate="2019-07-16T08:32:37.763" Score="2" Body="&lt;p&gt;The SXA documentation unfortunately makes no mention of the Event Types field. I had to dig into the code to figure out what it was doing as the source field is pointing at &lt;code&gt;code:Sitecore.XA.Feature.Events.CodeDataSource.EventTypes, Sitecore.XA.Feature.Events&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each Event List item you create has an Event Types drop down on it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/68uWo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/68uWo.png&quot; alt=&quot;Event Type&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is linked to the node in the Presentation section which allows you to set styles against an event:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TQd0e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TQd0e.png&quot; alt=&quot;Event Type Styles&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="505" LastActivityDate="2019-07-16T08:32:37.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19904" PostTypeId="1" CreationDate="2019-07-16T10:00:11.190" Score="0" ViewCount="68" Body="&lt;p&gt;I'm trying to migrate users to another instance. Both the source &amp;amp; destination are the same - v8.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an option &lt;code&gt;Serialize users and roles&lt;/code&gt; in the Domain Manager dialog. Using that I have serialized the users &amp;amp; roles of a custom domain, then copied the folder to the corresponding location in the destination and then did &lt;code&gt;Revert users and roles&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the users &amp;amp; roles migrated successfully. But when I compare the &lt;code&gt;UserId&lt;/code&gt;s of these users (&lt;em&gt;aspnet_Users&lt;/em&gt; table), the source &amp;amp; destination Ids are different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Aren't they supposed to be the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason for my concern is, I have to later migrate a large no. of users.&#xA;The next step which is updating passwords using the Sitecore's &lt;a href=&quot;https://kb.sitecore.net/articles/242631&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;TransferUserPasswords.aspx&lt;/code&gt;&lt;/a&gt; is not an option because the source system cant access the target system and also the no. of users is huge.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I wanted to update the passwords using SQL update statements.&#xA;When I checked the code in the aspx page, it uses the SQL update statement in the backend and by matching UserIds.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case they turned out to be different. Is this a bug or did I miss anything.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2019-07-16T10:28:40.977" LastActivityDate="2019-07-16T10:28:40.977" Title="After migrating users the user Ids are different" Tags="|user-management|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19905" PostTypeId="1" CreationDate="2019-07-16T10:44:55.717" Score="1" ViewCount="93" Body="&lt;p&gt;I am facing below weird issues while using &lt;code&gt;FXM&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I can collect data from an external web form. I have utilized below&#xA;method to save contact&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&#xA;var options = new ContactSaveOptions(true, leaseOwner);&#xA;&#xA;repository.SaveContact(myContact, options);&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once this code gets executed then I can view the entry in Experience profile but only a contact data with Recency field null. And, there is no Visit, Profile, Goal data in the profile&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some time, I observed that contact data automatically gets null and the user becomes anonymous but now Visit, Profile, Goal data gets visible&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is happening 8 out of 10 times&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Contact is getting &lt;code&gt;AlreadyLocked&lt;/code&gt; status because of which I am not&#xA;able to insert/ update new data.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can someone help me with this? &lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="5387" LastEditDate="2019-07-16T11:47:13.603" LastActivityDate="2019-07-16T11:47:13.603" Title="Known contact is converting to Anonymous" Tags="|fxm|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="19907" PostTypeId="2" ParentId="8907" CreationDate="2019-07-16T12:23:49.287" Score="0" Body="&lt;p&gt;I found this blog useful. My issue got resolved because of the second point.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.coldat.com/2019/01/31/sitecore-9-experience-profile-contacts-error/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.coldat.com/2019/01/31/sitecore-9-experience-profile-contacts-error/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure SOLR path connection strings are formed correctly. For example,  they should not have hashes in:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Correct:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;https://localsolr:8984/solr/xp_xdb” /&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Wrong:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;https://localsolr:8984/solr/#/xp_xdb” /&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;XConnect\App_Config\ConnectionStrings.config&#xA;XConnect\App_Data\jobs\continuous\IndexWorker\App_config\ConnectionStrings.config&lt;/p&gt;&#xA;" OwnerUserId="3807" LastActivityDate="2019-07-16T12:23:49.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19908" PostTypeId="1" CreationDate="2019-07-16T13:46:37.657" Score="0" ViewCount="41" Body="&lt;p&gt;i added &quot;search result component&quot; to a page in sitecore and it returned data , till i added the &quot;social media share component&quot; in the search result variant , then it got stuck and entered an infinite loop - showing the loading image only.&lt;/p&gt;&#xA;" OwnerUserId="5776" LastEditorUserId="70" LastEditDate="2019-07-16T14:05:33.660" LastActivityDate="2019-07-16T14:05:33.660" Title="Sxa Search Result infinite loop after adding social media share component" Tags="|sxa|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19910" PostTypeId="1" CreationDate="2019-07-16T13:47:52.690" Score="2" ViewCount="258" Body="&lt;p&gt;I have a piece of code that performs a full rebuild for all Solr cores (using Sitecore XP 9.1.1):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (Sitecore.ContentSearch.ISearchIndex index in Sitecore.ContentSearch.ContentSearchManager.Indexes)&#xA;{   &#xA;    var job = Sitecore.ContentSearch.Maintenance.IndexCustodian.FullRebuild(index, true);&#xA;    while (!job.IsDone) {&#xA;       System.Threading.Thread.Sleep(1000);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All indices are built, but the script hangs after the last index is built.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clues what am I missing here?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-07-16T14:00:24.760" LastActivityDate="2019-07-16T14:09:54.233" Title="Rebuild all Solr indices script hangs" Tags="|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19911" PostTypeId="2" ParentId="19910" CreationDate="2019-07-16T14:09:54.233" Score="1" Body="&lt;p&gt;I experienced the same problem and had to extend the SOLR Timeout like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        &amp;lt;setting name=&quot;ContentSearch.Solr.ConnectionTimeout&quot;&amp;gt;&#xA;            &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;500000&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2019-07-16T14:09:54.233" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19912" PostTypeId="1" CreationDate="2019-07-16T14:28:40.253" Score="1" ViewCount="73" Body="&lt;p&gt;Our Solr for Sitecore is a master slave setup. Sitecore Solr slave has issues with the Sitecore analytics index and the error message is :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Error opening New Searcher. Core is missing.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We tried to look in to the error but could not gather much information on why this is happening.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We tried to fix the error but was not possible. We have the same index in master in perfect condition and is working fine. Can someone please help us in re-adding the Sitecore analytics index in Slave from scratch by using master's index?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance!&lt;/p&gt;&#xA;" OwnerUserId="3472" LastEditorUserId="70" LastEditDate="2019-07-17T12:53:02.470" LastActivityDate="2019-07-17T12:53:02.470" Title="Error opening new searcher. Solr Core init failures" Tags="|solr|indexing|" AnswerCount="0" CommentCount="1" ClosedDate="2019-07-18T10:24:16.653" ContentLicense="CC BY-SA 4.0" />
  <row Id="19915" PostTypeId="1" CreationDate="2019-07-17T00:42:21.110" Score="-1" ViewCount="1350" Body="&lt;p&gt;I've got the Habitat source for &lt;code&gt;Sitecore 9.1&lt;/code&gt; from &lt;a href=&quot;https://github.com/Sitecore/Habitat/tree/master&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/tree/master&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was a bit surprised that &lt;code&gt;Unicorn.aspx&lt;/code&gt; was missing from the code. I was thinking it should be part of the &lt;code&gt;Sitecore.Foundation.Serialisation project&lt;/code&gt;. The default gulp script includes a step for &lt;code&gt;Sync-Unicorn&lt;/code&gt; which is obviously failing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried upgrading the Unicorn NuGet project in &lt;code&gt;Sitecore.Foundation.Serialisation&lt;/code&gt; but this didn't add Unicorn.aspx&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2019-07-17T06:39:05.210" LastActivityDate="2019-08-19T15:02:35.340" Title="Installed Habitat, Unicorn.aspx missing" Tags="|unicorn|habitat|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19916" PostTypeId="1" AcceptedAnswerId="20427" CreationDate="2019-07-17T01:26:57.363" Score="2" ViewCount="73" Body="&lt;p&gt;We have added an external website to FXM (and the allowed domain to config).  When we go to the external website we can see the beacon is fired with 200 status, and the subsequent request receives a 200 status with response:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;ContactId&quot;:&quot;1ec8e91a0a5048fea3d84f3f638ef18b|True&quot;,&quot;SessionId&quot;:&quot;tmpdxoun3f5mwhgyal1yqoxz&quot;,&quot;ContactExpires&quot;:&quot;2021-07-14T13:35:44.7423139&quot;,&quot;SessionPath&quot;:&quot;/&quot;,&quot;ElementMatches&quot;:[],&quot;Id&quot;:null,&quot;Url&quot;:null}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But still on the FXM page its showing 0 visits:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/a8fDx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/a8fDx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have defined this rule - in case it's required for the visit to count.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4pwuC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4pwuC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It has also been over 24 hours so I think some data should be appearing by now!&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-08-12T07:48:49.207" Title="FXM showing 0 visits" Tags="|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19917" PostTypeId="1" AcceptedAnswerId="19924" CreationDate="2019-07-17T07:35:19.943" Score="3" ViewCount="478" Body="&lt;p&gt;I need to render the &lt;code&gt;Social Media Share&lt;/code&gt; component in the &lt;code&gt;cshtml&lt;/code&gt; of &lt;code&gt;Cloned Search Results&lt;/code&gt;, is there a Sitecore Helper to render a component in the view? I am using &lt;code&gt;SXA 1.8&lt;/code&gt; so I know that we have the ability to render a component inside a &lt;code&gt;rendering variant&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="5780" LastEditorUserId="4487" LastEditDate="2019-07-17T12:09:14.313" LastActivityDate="2019-07-17T12:46:26.003" Title="Sitecore Helper to render SXA Component inside cshtml" Tags="|sxa|razor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19918" PostTypeId="2" ParentId="19915" CreationDate="2019-07-17T07:42:50.363" Score="0" Body="&lt;p&gt;Mike is correct, No file actually exits and if configurations are correct then URL is available. If you are facing issue any issue in &lt;code&gt;unicorn sync&lt;/code&gt; then the most common problem is incorrect source folder path in &lt;code&gt;Habitat.Dev.config&lt;/code&gt; file. In Sitecore 9 Habitat you will find it at - &lt;code&gt;src\Project\Habitat\code\App_Config\Environment\Project\&lt;/code&gt;&#xA;Also, make sure your root hostname is correct in the same file. &lt;code&gt;sourceFolder&lt;/code&gt; tells Unicorn where your serialization yml files are.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;sc.variable name=&quot;sourceFolder&quot; value=&quot;C:\projects\Habitat\src&quot; /&amp;gt;&#xA;        &amp;lt;sites role:require=&quot;Standalone&quot;&amp;gt;&#xA;            &amp;lt;site name=&quot;habitat&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;database&quot;&amp;gt;master&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/site&amp;gt;&#xA;        &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="124" LastEditorUserId="5387" LastEditDate="2019-07-17T12:09:00.803" LastActivityDate="2019-07-17T12:09:00.803" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19922" PostTypeId="1" AcceptedAnswerId="19923" CreationDate="2019-07-17T10:01:54.753" Score="0" ViewCount="233" Body="&lt;p&gt;I'm using &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; and I am creating a Contact programmatically and set its facets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is when I set the &lt;code&gt;Avatar&lt;/code&gt; facet which is the picture of the contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following code is where I set the &lt;code&gt;Avatar&lt;/code&gt; facet and I get the Image from media library:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void SetContactAvatar(XConnectClient client, Contact contact, Item account)&#xA;    {&#xA;        MultilistField mlField = new MultilistField(account.Fields[&quot;photos&quot;]);&#xA;        Item[] mlFieldItems = mlField.GetItems();&#xA;        if (mlFieldItems.Count() != 0)&#xA;        {&#xA;            MediaItem mediaItem = mlFieldItems[0];&#xA;            if (mediaItem != null)&#xA;            {&#xA;                string profileImageUrl = Sitecore.Globals.ServerUrl + Sitecore.Resources.Media.MediaManager.GetMediaUrl(mediaItem);&#xA;                System.Net.WebClient objWebClient = new System.Net.WebClient();&#xA;                byte[] profileImageBytes = objWebClient.DownloadData(profileImageUrl);&#xA;&#xA;                //Stream stream = mediaItem.GetMediaStream();&#xA;                //Byte[] profileImageBytes = new Byte[stream.Length];&#xA;&#xA;                client.SetFacet(contact, Avatar.DefaultFacetKey, new Avatar(mediaItem.MimeType, profileImageBytes)&#xA;                {&#xA;                    MimeType = mediaItem.MimeType,&#xA;                    Picture = profileImageBytes&#xA;                });&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When the contact is created I get a broken Image with the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;{&quot;Message&quot;:&quot;An error has occurred.&quot;,&quot;ExceptionMessage&quot;:&quot;Object reference not set to an instance of an object.&quot;,&quot;ExceptionType&quot;:&quot;System.NullReferenceException&quot;,&quot;StackTrace&quot;:&quot;   at Sitecore.Cintel.Endpoint.Plumbing.NegotiateLanguageFilter.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__15.MoveNext()&quot;}&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can someone advise me, please?&lt;/p&gt;&#xA;" OwnerUserId="5557" LastEditorUserId="70" LastEditDate="2019-07-17T12:50:07.483" LastActivityDate="2019-07-17T12:50:07.483" Title="Couldn't set avatar facet to contact in experience profile sitecore 9" Tags="|sitecore-client|xconnect|contact-facets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19923" PostTypeId="2" ParentId="19922" CreationDate="2019-07-17T11:29:25.690" Score="1" Body="&lt;p&gt;This error is not related to contact facets. &#xA;You can see how to resolve this error here &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8907/sitecore-9-experience-profile-an-error-has-occurred&quot;&gt;Sitecore 9 Experience Profile An Error has occurred&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to set contact avatar from media item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my working code snippet:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public async Task&amp;lt;bool&amp;gt; SetContactAvatar(string source, string identifier, MediaItem mediaItem)&#xA;{&#xA;    using (XConnectClient client = SitecoreXConnectClientConfiguration.GetClient())&#xA;    {&#xA;        try&#xA;        {&#xA;            var reference = new IdentifiedContactReference(source, identifier);&#xA;&#xA;            var contact = client.GetAsync(&#xA;                reference,&#xA;                new ContactExpandOptions(CollectionModel.FacetKeys.Avatar)&#xA;            );&#xA;&#xA;            Contact existingContact = await contact;&#xA;&#xA;            if (existingContact == null)&#xA;            {&#xA;                return false;&#xA;            }&#xA;&#xA;            client.SetFacet(existingContact, Avatar.DefaultFacetKey, new Avatar(mediaItem.MimeType, ReadBytes(mediaItem.GetMediaStream())));&#xA;            await client.SubmitAsync();&#xA;            return true;&#xA;        }&#xA;        catch&#xA;        {&#xA;            return false;&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&#xA;public static byte[] ReadBytes(Stream input)&#xA;{&#xA;    using (var ms = new MemoryStream())&#xA;    {&#xA;        input.CopyTo(ms);&#xA;        return ms.ToArray();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qaZab.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qaZab.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-07-17T11:37:07.893" LastActivityDate="2019-07-17T11:37:07.893" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19924" PostTypeId="2" ParentId="19917" CreationDate="2019-07-17T12:46:26.003" Score="3" Body="&lt;p&gt;You have 2 main options:&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Use a placeholder&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In your razor view, just add a placeholder, then in the Experience Editor, your marketers/editors can add the &lt;code&gt;Social Media Share&lt;/code&gt; module to that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pros - its nice and easy, give flexibility too if you wanted to add anything else.&#xA;Cons - the editors have to remember to add the component every time.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Render the component inline&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;You can also use the Sitecore Html helper to render a component:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;&amp;lt;your rendering definition item id&amp;gt;&quot;, new { DataSource = &quot;&amp;lt;your datasource item id&amp;gt;&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add the item Id of the &lt;code&gt;Social Media Share&lt;/code&gt; component as the first parameter. You will also need to create a datasource item for that component and you add the DataSource item Id to that too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also add parameters for things like Caching:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Rendering(&quot;&amp;lt;your rendering definition item id&amp;gt;&quot;, new { DataSource = &quot;&amp;lt;your datasource item id&amp;gt;&quot;, Cacheable = true, CacheKey = &quot;create a cache key&quot;, Cache_VaryByData = true })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Pros - again, its simple to do, the content editors don't have to remember to add any extra components on the page&#xA;Cons - you are reliant on a content item always being there. If that gets deleted, you will not get any warnings, this component will just fail.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-07-17T12:46:26.003" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19925" PostTypeId="1" AcceptedAnswerId="19926" CreationDate="2019-07-17T13:05:40.540" Score="3" ViewCount="881" Body="&lt;p&gt;I am getting error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  System.IO.FileNotFoundException&#xA;  HResult=0x80070002&#xA;  Message=Could not load file or assembly '**Sitecore.Abstractions**, &#xA;  Version=10.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its &#xA;  dependencies. The system cannot find the file specified.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;at runtime, while trying to execute a Unit Test method. I did not find this dll anywhere. Anyone has any idea this particular DLL?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards,&#xA;Chandana&lt;/p&gt;&#xA;" OwnerUserId="1754" LastActivityDate="2019-08-22T04:41:33.543" Title="What is Sitecore.Abstractions dll?" Tags="|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19926" PostTypeId="2" ParentId="19925" CreationDate="2019-07-17T13:07:32.087" Score="8" Body="&lt;p&gt;Quoting Ruud van Falier (&lt;a href=&quot;https://www.partech.nl/nl/blog/2014/09/sitecore-abstractions-dll-in-sitecore-7-5&quot; rel=&quot;noreferrer&quot;&gt;Sitecore.Abstractions.dll in Sitecore 7.5&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore 7.5 ships with a new binary named Sitecore.Abstractions.dll&#xA;  This offers you abstractions for some parts of the Sitecore API that are implemented as static classes in the kernel. Being static classes, there is no way to run unit tests on code that is depending on them without running from within a Sitecore application.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;If you ever tried unit testing in Sitecore, you will know that if you call Sitecore.Configuration.Settings.GetSetting(&quot;MySettingKey&quot;), for example, it will always be null.&#xA;  Because the unit test does not actually load the Sitecore application, it will have no configuration in memory and thus no access to settings. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;That dll should be in the &lt;code&gt;bin&lt;/code&gt; folder of your web application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or you can download it from nuget: &lt;a href=&quot;https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore.Abstractions&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore.Abstractions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-17T13:07:32.087" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19928" PostTypeId="1" CreationDate="2019-07-18T00:13:57.513" Score="4" ViewCount="877" Body="&lt;p&gt;As the question title suggests, I am looking for proper troubleshooting techniques in order to solve an error currently being experienced in a Sitecore 9.0.2 XP1 Topology Processing Role Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error message is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Message: No known predicate type could be determined from 'Sitecore.Analytics.OmniChannel.Conditions.Channel.CurrentInteractionIsOnChannelCondition,Sitecore.Analytics.OmniChannel' specified in the definition item (Id = '2f421912-f1b3-49d8-82b8-50a64c80e4e3', db = 'master') : Could not load type 'Sitecore.Analytics.OmniChannel.Conditions.Channel.CurrentInteractionIsOnChannelCondition' from assembly 'Sitecore.Analytics.OmniChannel'.&#xA;Source: Sitecore.Marketing.Segmentation.xMgmt&#xA;   at Sitecore.Marketing.Segmentation.ExpressionBuilder.ContentTreePredicateDescriptorLocator.GetDescriptor(Guid id)&#xA;   at Sitecore.Marketing.Segmentation.RuleXmlConverter.ConditionXmlNodeConverter.LookupType(Guid descriptorId)&#xA;   at Sitecore.Marketing.Segmentation.RuleXmlConverter.ConditionXmlNodeConverter.ConvertNodeInternal(INodeConversionContext`2 context, XElement element)&#xA;   at Sitecore.Marketing.Segmentation.RuleXmlConverter.BaseXmlRuleNodeConverter`1.Convert(INodeConversionContext`2 context, XElement node)&#xA;   at Sitecore.XConnect.Segmentation.ExpressionBuilder.TreeConverter.TreeConverter`2.Convert(TFromNode treeRoot)&#xA;   at Sitecore.Marketing.Segmentation.RuleXmlConverter.RuleXmlConverter.CreateRule(XElement ruleElement)&#xA;   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()&#xA;   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xA;   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Rules.RulesBuilder.BuildRules(String rulesXml)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Rules.RulesValidator.ValidateRule(Contact contact, Interaction interaction, String rulesXml)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(IInteractionAggregationContext context, IEnumerable`1 segments)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have found the Stack Exchange Question (&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11253/no-known-predicate-type-could-be-determined-from-sitecore-analytics-omnichannel&quot;&gt;No known predicate type could be determined from Sitecore.Analytics.OmniChannel Error while creating a Goal item&lt;/a&gt;) that has the EXACT error message that I am struggling with, however, the answers provided do not apply to my situation, and neither the answer or subsequent Sitecore documentation page provided offer enough clarity around understanding how to trouble shoot this error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a GUID in the error that relates to an OOTB Channel Rule Element:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/V30Ez.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V30Ez.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are no references to this rule, or so it would seem through the Link Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also do not have any filters created:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lxDAx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lxDAx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Current Environment&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I am currently running the xDB Migration from an 8.2 site to a Sitecore 9.0.2 site. &lt;/li&gt;&#xA;&lt;li&gt;This &lt;strong&gt;&lt;em&gt;IS&lt;/em&gt;&lt;/strong&gt; an upgraded Sitecore 8.2 -&gt; 9.0.2 Master Database. However, I don't see (or can't tell) what would need to be changed.&lt;/li&gt;&#xA;&lt;li&gt;I have deployed and redeployed all of the Marketing Definitions, which completed without error.&lt;/li&gt;&#xA;&lt;li&gt;This single error message is generating GB's of log files on the Processing Role Server.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/myGh6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/myGh6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing anything from a troubleshooting perspective that would be helpful in arriving at a solution here?&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-07-18T00:25:27.990" LastActivityDate="2020-08-02T21:05:15.573" Title="What is the proper troubleshooting technique for a &quot;No known predicate type could be determined&quot; error message?" Tags="|xdb|xconnect|experience-analytics|processing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19929" PostTypeId="1" AcceptedAnswerId="19930" CreationDate="2019-07-18T05:02:11.417" Score="2" ViewCount="38" Body="&lt;p&gt;I am new to develop using Sitecore and have a question&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I saw in some tutorial website there are addition links next to the field name, like &lt;code&gt;[Go to field]&lt;/code&gt; &lt;code&gt;[Reset Field]&lt;/code&gt; &lt;code&gt;[Go to datasource]&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this required some modules or settings&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4h8Aa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4h8Aa.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5784" LastEditorUserId="2727" LastEditDate="2019-07-18T05:46:08.650" LastActivityDate="2019-07-18T05:58:28.057" Title="Additional links next to Field name?" Tags="|links|datasource|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19930" PostTypeId="2" ParentId="19929" CreationDate="2019-07-18T05:58:28.057" Score="0" Body="&lt;p&gt;Most probably it's a &lt;code&gt;Sitecore Extensions&lt;/code&gt; tool for browsers created by Alan Płócieniak.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore Extensions is a google chrome/firefox extension which provides small improvements for Sitecore CMS.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can read more about it on: &lt;a href=&quot;https://alan-null.github.io/2016/10/sitecore-extensions-crossbrowser&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://alan-null.github.io/2016/10/sitecore-extensions-crossbrowser&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can install it for Google Chrome: &lt;a href=&quot;https://chrome.google.com/webstore/detail/sitecore-extensions/aoclhcccfdkjddgpaaajldgljhllhgmd?hl=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://chrome.google.com/webstore/detail/sitecore-extensions/aoclhcccfdkjddgpaaajldgljhllhgmd?hl=en&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or for Firefox: &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/sitecore-extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://addons.mozilla.org/en-US/firefox/addon/sitecore-extensions/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-18T05:58:28.057" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19932" PostTypeId="1" AcceptedAnswerId="19937" CreationDate="2019-07-18T06:12:29.840" Score="1" ViewCount="801" Body="&lt;p&gt;I am trying to implement a custom unsubscribe page in &lt;code&gt;Sitecore EXM&lt;/code&gt;. The setup is running on &lt;code&gt;Sitecore 9.0.2&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While doing my part of the research found out this link - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/18143/exm-custom-unsubscribe&quot;&gt;EXM Custom Unsubscribe&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but it's unclear to me how the &lt;code&gt;RedirectUrl.aspx&lt;/code&gt; is changed to support the custom page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My requirement is to navigate to a custom page when the user clicks the Unsubscribe link in their email id, navigate them to a page where I have a Form with a field &lt;code&gt;why they want to unsubscribe&lt;/code&gt; and a Submit Action attached to the &lt;code&gt;Unsubscribe&lt;/code&gt; button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My plan is to get the MessageId &amp;amp; Contact id from query string passed from the custom unsubscribe page and use them in &lt;code&gt;IClientApiService&lt;/code&gt; to unsubscribe them from contact lists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Appreciate any help. Thanks in advance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-Dash&lt;/p&gt;&#xA;" OwnerUserId="5449" LastEditorUserId="5387" LastEditDate="2019-07-18T06:30:34.897" LastActivityDate="2019-07-22T07:13:05.887" Title="How to configure a custom EXM Unsubscribe Page?" Tags="|exm|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19933" PostTypeId="1" AcceptedAnswerId="19965" CreationDate="2019-07-18T06:13:52.077" Score="1" ViewCount="458" Body="&lt;p&gt;I am following &lt;a href=&quot;https://www.markvanaalst.com/blog/sxa/rendering-variants-render-field-values-as-data-attributes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this blog&lt;/a&gt; on how to set a background image from a field on the context item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;background-image: url($(Image))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However it only brings back the raw URL, excluding any height/width properties set on the field. Is there a way to have the height/width properties appended as well as the necessary media request protection hash?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;background-image:url(/-/media/image.png?h=350&amp;amp;w=350&amp;amp;hash=97EBEDB2323B8EB7E419E49B35C1095390534044)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Instead of this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;background-image:url(/-/media/image.png)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-07-19T07:30:30.773" LastActivityDate="2019-07-19T07:30:30.773" Title="Rendering Variant image field URL with height, width and request protection hash" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19935" PostTypeId="1" AcceptedAnswerId="19941" CreationDate="2019-07-18T06:36:27.237" Score="1" ViewCount="101" Body="&lt;p&gt;I have cloned following Habitat project on my local environment:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here is the link stating that solr 7.2.1 is supported&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/Sitecore/Habitat/blob/master/docs/01-Getting-Started.md&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Habitat/blob/master/docs/01-Getting-Started.md&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also changed xconnect-solr and sitecore-solr in the assets folder(here is the screenshot of same with highlighted changes).&#xA;&lt;a href=&quot;https://i.stack.imgur.com/PtSs6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PtSs6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error: Here is the issue which I am seeing in logs now, could anyone confirm why this issue is there and if this is related to solr versioning or not.&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/608yc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/608yc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nwa44.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nwa44.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the screenshot of response from solr url mentioned in error:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/eoDuh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eoDuh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5767" LastEditorUserId="73" LastEditDate="2019-07-18T08:06:08.723" LastActivityDate="2019-07-18T08:28:58.630" Title="Install-SitecoreConfiguration : One or more errors returned from Solr request" Tags="|solr|installation|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19936" PostTypeId="2" ParentId="19897" CreationDate="2019-07-18T06:36:57.933" Score="1" Body="&lt;p&gt;It turned out that &lt;strong&gt;\App_Config\Modules\SXA\Feature\Sitecore.XA.Feature.Composites.config&lt;/strong&gt; was disabled, due to which services specified in the file were not registered and resulted in the null exception.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastActivityDate="2019-07-18T06:36:57.933" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19937" PostTypeId="2" ParentId="19932" CreationDate="2019-07-18T06:38:09.447" Score="2" Body="&lt;h2&gt;How RedirectUrl.aspx Page Works In General&lt;/h2&gt;&#xA;&lt;p&gt;The RedirectUrl.aspx page is a passthrough page for links coming out of messages generated by EXM. When this page is it on the Content Delivery server, it actually processes a pipeline called &lt;code&gt;&amp;lt;redirectUrl&amp;gt;&lt;/code&gt; that will decrypt the query parameters coming out of the message.  In these query parameters, include the URL to eventually go to, plus additional information like Contact ID, Message Id, and Contact Identifier.&lt;/p&gt;&#xA;&lt;p&gt;Additionally, when dealing specifically with the Unsubscribe.aspx page, while the link will look like the RedirectUrl.aspx page out on the email, if the link is to the &lt;code&gt;/sitecore%20modules/Web/EXM/Unsubscribe.aspx&lt;/code&gt; or &lt;code&gt;/sitecore%20modules/Web/EXM/UnsubscribeFromAll.aspx&lt;/code&gt;, this will immediately process the Unsubscribe, remove the user from the associated list (as found in the Message via the Message ID).  If the list can't be derived, then the contact is added to the Global Opt Out List.   Last but not least, the user is then redirected to the &lt;strong&gt;Final Confirmation Page&lt;/strong&gt; if one has been defined on the Manager Root.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NqW2V.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NqW2V.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2&gt;How to Get it to work for your Requirement&lt;/h2&gt;&#xA;&lt;p&gt;It appears you have noticed that the query parameters you seek are available on the RedirectUrl.aspx request and passed through to the Unsubscribe.aspx page. In order to have a custom Unsubscribe page that makes use of those parameters, you will need to add your custom Unsubscribe page to the Carryover Fields in the &lt;code&gt;&amp;lt;redirectUrl&amp;gt;&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rF7bQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rF7bQ.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;As shown here, you'll want to add your custom unsubscribe page to the &lt;strong&gt;urlPattern&lt;/strong&gt; of any query string field that you want to be carried over to your unsubscribe page.&lt;/p&gt;&#xA;&lt;p&gt;This will then allow you to use the Client API as needed.&lt;/p&gt;&#xA;&lt;p&gt;For information about Unsubscribe in general visit: &lt;a href=&quot;https://sitecorehacker.com/2018/12/17/managing-the-unsubscribe-part-1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/2018/12/17/managing-the-unsubscribe-part-1&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;For information about the Client API:&#xA;&lt;a href=&quot;https://sitecorehacker.com/2018/12/21/managing-the-unsubscribe-part-5&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/2018/12/21/managing-the-unsubscribe-part-5&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-18T06:38:09.447" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19938" PostTypeId="1" CreationDate="2019-07-18T06:42:28.650" Score="0" ViewCount="194" Body="&lt;p&gt;I am getting the following error in the logs when trying to load Experience Profile in &lt;code&gt;Sitecore.NET 8.2 (rev. 170614)&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;7216 16:28:52 ERROR Key 'Internet Banking' does not exist in this pattern space&#xA;Exception: System.InvalidOperationException&#xA;Message: Key 'Internet Banking' does not exist in this pattern space&#xA;Source: Sitecore.Analytics&#xA;   at Sitecore.Analytics.Patterns.PatternSpace.GetKeyIndex(String key)&#xA;   at Sitecore.Analytics.Patterns.PercentagePatternMapper.GetPoints(PatternSpace space, IProfileData values)&#xA;   at Sitecore.Analytics.Patterns.PatternSpace.CreatePattern(IProfileData profile)&#xA;   at System.Linq.Enumerable.&amp;lt;&amp;gt;c__DisplayClass7_0`3.&amp;lt;CombineSelectors&amp;gt;b__0(TSource x)&#xA;   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)&#xA;   at Sitecore.Cintel.Reporting.Contact.ProfilePatternMatch.Processors.PopulateProfilePatternMatchesWithXdbData.CalculateGravityForAllPatterns(ProfileItem profileContainingPatterns, Pattern referencePattern, Dictionary`2&amp;amp; patternsWithCalculatedGravityShare)&#xA;   at Sitecore.Cintel.Reporting.Contact.ProfilePatternMatch.Processors.PopulateProfilePatternMatchesWithXdbData.Process(ReportProcessorArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Cintel.Reporting.PipelineViewProvider.GenerateContactView(ViewParameters viewParameters)&#xA;   at Sitecore.Cintel.Reporting.Contact.ProfileInfo.Processors.FindBestPatternMatchAndApplyToProfileInfo.ApplyPatternToOneProfile(ReportProcessorArgs args, DataRow profileRow)&#xA;   at Sitecore.Cintel.Reporting.Contact.ProfileInfo.Processors.FindBestPatternMatchAndApplyToProfileInfo.ApplyPatternsToResultTable(ReportProcessorArgs args, DataTable resultTable)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Cintel.Reporting.PipelineViewProvider.GenerateContactView(ViewParameters viewParameters)&#xA;   at Sitecore.Cintel.Endpoint.IntelController.Get(ViewParameters viewParams, Guid contactId, String viewId, String id)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The screenshot of the experience profile:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/y78dq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/y78dq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I already had a look at my profile key and I can see that &lt;code&gt;'Internet Banking'&lt;/code&gt; &#xA;Already exists as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dSuqC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dSuqC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have already tried rebuilding link database and deploying marketing definitions options from control panel but no luck. Has anyone experience similar issue? &lt;/p&gt;&#xA;" OwnerUserId="3168" LastActivityDate="2019-07-18T06:42:28.650" Title="Sitecore Experience Profile getting Error" Tags="|experience-analytics|experience-profile|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19939" PostTypeId="2" ParentId="19933" CreationDate="2019-07-18T07:28:09.343" Score="-1" Body="&lt;p&gt;Media request protection Hash is controlled by the Sitecore config setting &lt;strong&gt;Media.AlwaysAppendRevision&lt;/strong&gt;. However, I'm not able to locate the code which respects the dimensions.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastActivityDate="2019-07-18T07:28:09.343" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19940" PostTypeId="1" CreationDate="2019-07-18T07:52:16.597" Score="4" ViewCount="1797" Body="&lt;p&gt;We would like to apply personalization rule on Sitecore rendering. This rule needs to be applied on a rendering on multiple pages. Author want us to do it programmatically instead of manually applying rule on each rendering.&lt;br&gt;&#xA;Is it possible to apply personalization rule on rendering programmatically? Also, can we create library of predefined rules which we can utilize programmatically to apply on rendering?&lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-07-19T13:28:53.050" Title="How to apply personalization rule programmatically?" Tags="|personalization|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19941" PostTypeId="2" ParentId="19935" CreationDate="2019-07-18T08:18:40.500" Score="2" Body="&lt;p&gt;As I see on your screenshot you try to install &lt;strong&gt;Sitecore 9.0&lt;/strong&gt; with &lt;strong&gt;Solr 7.2.1&lt;/strong&gt;. It is not supported &lt;em&gt;(Sitecore 9.0 only supports Solr 6.6.1-6.6.3)&lt;/em&gt;. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/NGdYR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NGdYR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See solr compatibility table here &lt;a href=&quot;https://kb.sitecore.net/articles/227897&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/227897&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need &lt;strong&gt;Sitecore 9.1.0&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IedfP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IedfP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-07-18T08:28:58.630" LastActivityDate="2019-07-18T08:28:58.630" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19942" PostTypeId="2" ParentId="19940" CreationDate="2019-07-18T08:23:52.790" Score="4" Body="&lt;p&gt;Yes, it's possible to add or modify personalization rules programatically. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to change the &lt;code&gt;XmlElement&lt;/code&gt; object stored in &lt;code&gt;Rules&lt;/code&gt; property of your &lt;code&gt;RenderingDefinition&lt;/code&gt;. There is no easy way to modify it without playing with XML. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source and more code: &lt;a href=&quot;https://stackoverflow.com/questions/32524056/how-to-programmatically-add-conditions-to-a-rendering-in-sitecore-8&quot;&gt;https://stackoverflow.com/questions/32524056/how-to-programmatically-add-conditions-to-a-rendering-in-sitecore-8&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And sample XML with personalized rendering:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ruleset&amp;gt;&#xA;  &amp;lt;rule uid=&quot;{40E52E8C-39EB-40A2-BBE4-985F7421EDEC}&quot; p2:name=&quot;Condition Name&quot; xmlns:p2=&quot;s&quot;&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;      &amp;lt;condition uid=&quot;0BE3D7A7B0C64002A02AC1205567C43E&quot; p2:id=&quot;{8A9B001F-FB59-4F0F-B3F3-C6C5360ED451}&quot; p2:Now=&quot;20150128T143000&quot; /&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;actions&amp;gt;&#xA;      &amp;lt;action uid=&quot;295430EFD38B40A7AE307A5C7751F0C1&quot; p2:id=&quot;{0F3C6BEC-E56B-4875-93D7-2846A75881D2}&quot; p2:DataSource=&quot;{86902BC8-BFE6-4376-87B0-81EFE87BDE34}&quot; /&amp;gt;&#xA;    &amp;lt;/actions&amp;gt;&#xA;  &amp;lt;/rule&amp;gt;&#xA;  &amp;lt;rule uid=&quot;{00000000-0000-0000-0000-000000000000}&quot; p2:name=&quot;Default&quot; xmlns:p2=&quot;s&quot;&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;      &amp;lt;condition uid=&quot;7EF464FFDF5E45FCA84732B375F2FA3A&quot; p2:id=&quot;{4888ABBB-F17D-4485-B14B-842413F88732}&quot; /&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;actions /&amp;gt;&#xA;  &amp;lt;/rule&amp;gt;&#xA;&amp;lt;/ruleset&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And answering your second question, yes it's possible to have predefined conditions. But that question was already answered in another post: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14964/how-to-group-multiple-rules-to-one-rule-condition&quot;&gt;How to group multiple rules to one rule condition?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-18T08:23:52.790" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19943" PostTypeId="2" ParentId="19940" CreationDate="2019-07-18T08:38:29.360" Score="1" Body="&lt;p&gt;To start with custom personalization, you need to perform the below steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Go to the path &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Tags&lt;/code&gt; right-click on Tags and add new customize Tag (I have given name CustomPersonalization):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MSZti.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MSZti.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Go to the path &lt;code&gt;/sitecore/system/Settings/Rules/Conditional Renderings&lt;/code&gt; and expand conditional rendering and add created tag into the Tags property of default tag as below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3ICl4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3ICl4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; Go to the path &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Right-click on Elements and add new Element folder (I have given the name&#xA;CustomPersonalization).&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Right-click on CustomPersonalization and add new condition and set&#xA;the Text and Type property of condition. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Text Property:&lt;/em&gt; Give the condition with Rule which will show to the content editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Type Property:&lt;/em&gt; Specify our class name with a namespace followed by the&#xA;assembly name, where we will write our personalization rule business&#xA;logic.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yQ09v.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yQ09v.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Now you need to add created tag into default tag, Tags property of element folder:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/YICfE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YICfE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt; Write your personalization rule business logic as below or update your code as per requirement:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class PersonaliseRuleService&amp;lt;T&amp;gt; : StringOperatorCondition&amp;lt;T&amp;gt; where T : RuleContext&#xA;    {&#xA;        public string Value { get; set; }&#xA;        protected override bool Execute(T ruleContext)&#xA;        {&#xA;            Assert.ArgumentNotNull(ruleContext, &quot;ruleContext&quot;);&#xA;            HttpCookie customCookie = HttpContext.Current.Request.Cookies[&quot;Custom_Personalization&quot;];      &#xA;        if (Value.ToLower().Equals(customCookie.Value.ToLower()))&#xA;            {&#xA;                return true;&#xA;            }&#xA;            return false;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Step 6:&lt;/strong&gt; After completion of all above change, you need to set your personalization rule on the component using experience editor. Go to the page presentation details and select that rendering and click on personalize section. Add your personalization rule and select Edit rule then select our created rule and update the data source from the content property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0BXLP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0BXLP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h3trh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h3trh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iMF5X.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iMF5X.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Same you can create a more custom rule to show relevant content to the visitor.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-07-18T08:53:19.500" LastActivityDate="2019-07-18T08:53:19.500" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19944" PostTypeId="1" AcceptedAnswerId="20221" CreationDate="2019-07-18T10:08:41.467" Score="4" ViewCount="275" Body="&lt;p&gt;Has anyone had issues with contacts created via the xConnect API not enrolling in marketing automation plans?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've created a custom job which pulls in contact information from an external source and adds it to xDB via the xConnect API.  We're using a custom Source for the identifiers and setting a bunch of custom facets (as well as some OOB ones), and that all works fine.  I can see the contacts coming up when I search for them using segments and lists.  Great.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However those contacts don't seem to want to enroll in any marketing automation plans.  If I use List Manager to upload a contact with the same data, they are added to the MA plan, however if the contact was added by our custom code, they're not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My guess is I'm doing something wrong when I add my contacts. The code looks something like:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-cs prettyprint-override&quot;&gt;&lt;code&gt;// variables 'source' and 'identifier' are passed in earlier&#xA;XConnectClientConfiguration cfg = GetXConnectConfiguration();&#xA;using (var client = new XConnectClient(cfg);)&#xA;{&#xA;    if (!string.IsNullOrEmpty(source) &amp;amp;&amp;amp; !string.IsNullOrEmpty(identifier))&#xA;    {&#xA;        var contact = new Contact(new ContactIdentifier(source, identifier, ContactIdentifierType.Known));&#xA;        client.AddContact(contact);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I missing anything extra around the &lt;code&gt;ContactIdentifier&lt;/code&gt;?  I've noticed when I look in my shard DBs that contacts imported via the list manager have entries in the &lt;code&gt;ContactIdentifiersIndex&lt;/code&gt; table, but the ones I've added don't.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the records in the &lt;code&gt;ContactIdentifiers&lt;/code&gt; and &lt;code&gt;ContactIdentifiersIndex&lt;/code&gt; tables for a contact imported via list manager:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/8F0Ol.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8F0Ol.png&quot; alt=&quot;ContactIdentifiers and ContactIdentifiersIndex entries for contact imported via list manager&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And these are the records for one of the contacts created via the xConnect client:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/fK2q8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fK2q8.png&quot; alt=&quot;ContactIdentifiers and ContactIdentifiersIndex entries for contact imported via xConnect client&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone else faced this issue before?  It might be nothing to do with how I'm creating the contacts, but it just seemed like the only difference I could find.&lt;/p&gt;&#xA;" OwnerUserId="129" LastActivityDate="2021-03-04T21:30:53.850" Title="Contacts added by xConnect API not being enrolled in marketing automation" Tags="|xconnect|marketing-automation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19945" PostTypeId="1" CreationDate="2019-07-18T10:21:43.933" Score="1" ViewCount="195" Body="&lt;p&gt;We have multiple sites. And for each site has content folder called &lt;code&gt;&quot;data&quot;&lt;/code&gt;. Our client wants that if he is going to add a rendering component to the page, the datasource would be coming from the &lt;code&gt;data&lt;/code&gt; folder of the current editing site. But if he is going to change the content of a particular existing rendering component from the site, the datasource should be coming from the &lt;code&gt;data&lt;/code&gt; folder of ALL SITES. Is this possible?&lt;/p&gt;&#xA;" OwnerUserId="5771" LastActivityDate="2020-04-13T18:01:20.177" Title="Different datasource for adding and changing rendering component content" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19946" PostTypeId="1" CreationDate="2019-07-18T10:51:08.860" Score="1" ViewCount="213" Body="&lt;p&gt;Recently i installed habitat home and enabled the exm by using the custom smtp settings ,exm was working fine , but got an error while creating an automated campaign in marketing automation tab , when i add the email into the work flow , the list of automated exm is empty and an error is thrown stating that , &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;11400 10:03:04 ERROR [Sitecore Services]: HTTP GETURL http://sitecorehome.com/sitecore/api/exm/campaigns/automated?cultureName=en&amp;amp;sc_site=shell&#xA;Exception System.InvalidOperationException: Multiple actions were found that match the request: &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Get on type Sitecore.EmailCampaign.Server.Controllers.DataSource.EmailCampaignsController&#xA;Get on type Sitecore.EmailCampaign.Server.Controllers.DataSource.EmailCampaignsController&#xA;   at System.Web.Http.Controllers.ApiControllerActionSelector.ActionSelectorCacheItem.SelectAction(HttpControllerContext controllerContext)&#xA;   at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)&#xA;   at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__15.MoveNext()&#xA;11400 10:03:04 ERROR [Sitecore Services]: HTTP GET&#xA;URL &lt;a href=&quot;http://sitecorehome.com/sitecore/api/exm/campaigns/automated?cultureName=en&amp;amp;sc_site=shell&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorehome.com/sitecore/api/exm/campaigns/automated?cultureName=en&amp;amp;sc_site=shell&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don`t know why is this coming , i have also checked the vanilla instance the controller action methods are present in the dll .&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="73" LastEditDate="2019-07-18T11:03:26.600" LastActivityDate="2019-07-18T11:03:26.600" Title="Error while using Exm in Marketing automation" Tags="|habitathome|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19948" PostTypeId="1" CreationDate="2019-07-18T11:58:31.647" Score="1" ViewCount="246" Body="&lt;p&gt;I cloned Search Results Component and when I edit any thing in cshtml inside else scope &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div @Html.Sxa().Component(Model.Rendering.RenderingCssClass ?? &quot;search-results testShaimaa&quot;, Model.Attributes) data-class-variant=&quot;@variantClass&quot; data-properties='@Model.JsonDataProperties'&amp;gt;&#xA;&#xA;@if (WebUtil.GetQueryString(Sitecore.XA.Feature.Search.Constants.CreativeExchangeExport) != &quot;true&quot;)&#xA;{&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;        @Model.MessageIsEmpty&#xA;        &amp;lt;div class=&quot;no-results&quot; style=&quot;display: @Model.StyleDisplay&quot;&amp;gt;&#xA;            @Html.Sxa().Field(&quot;ResultsNotFoundText&quot;, Model.DataSourceItem, !Model.IsControlEditable)&#xA;            @Html.Sxa().Field(&quot;Text&quot;, Model.Item, !Model.IsControlEditable)&#xA;        &amp;lt;/div&amp;gt;&#xA;        &amp;lt;div class=&quot;progress&quot;&amp;gt;&amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;else&#xA;{&#xA;&amp;lt;div&amp;gt;ssss&amp;lt;/div&amp;gt;&#xA;&amp;lt;div&amp;gt;ssss&amp;lt;/div&amp;gt;&#xA;    &amp;lt;ul class=&quot;search-result-list testShaimaa&quot;&amp;gt;&#xA;        &amp;lt;li&amp;gt;&#xA;&#xA;            @foreach (BaseVariantField variantField in Model.VariantFields)&#xA;            {&#xA;                @Html.RenderingVariants().RenderVariant(variantField, Model.PageItem, true, Model)&#xA;&#xA;            }&#xA;        &amp;lt;/li&amp;gt;&#xA;    &amp;lt;/ul&amp;gt;&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;does not reflect in the page but when I edit before If it reflects in the page so I am sure that this  the correct cshtml file for this cloned search result rendering,&#xA;I think that caching but I changed variant and cloned another one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any Ideas Why this happens and how my changes reflects in the page ??&lt;/p&gt;&#xA;" OwnerUserId="5780" LastEditorUserId="5780" LastEditDate="2019-07-18T12:11:50.433" LastActivityDate="2020-10-05T14:12:08.790" Title="Search Results caching" Tags="|sxa|razor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19949" PostTypeId="2" ParentId="19948" CreationDate="2019-07-18T12:30:58.680" Score="1" Body="&lt;p&gt;Your &quot;if&quot; statement mentions Creative Exchange: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;if (WebUtil.GetQueryString(Sitecore.XA.Feature.Search.Constants.CreativeExchangeExport) != &quot;true&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This tells me that the &lt;code&gt;else&lt;/code&gt; part will be executed when the Creative Exchange parameter is in the querystring. That is why you will never see that part in the actual website - you'll always get the first (if) part.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information on Creative Exchange on the official docs: &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/working-with-creative-exchange.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/working-with-creative-exchange.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-07-18T13:02:46.687" LastActivityDate="2019-07-18T13:02:46.687" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19950" PostTypeId="2" ParentId="19849" CreationDate="2019-07-18T12:49:39.180" Score="0" Body="&lt;p&gt;I created a Sitecore Support ticket to find out the correct usage. Use reference 535808&lt;br&gt;&#xA;if you contact them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently in Sitecore 9.0 (maybe also in 9.1), the &lt;code&gt;DeviceDetection.IsBot&lt;/code&gt; is &lt;strong&gt;not working as intended&lt;/strong&gt;.&#xA;The DeviceDetection.IsBot is never set thus checking on it will never give the correct result.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To work around this, you can use the following code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DeviceDetectionManager.GetExtendedProperty(HttpContext.Current.Request.UserAgent, &quot;IsCrawler&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, IsBot is not obsolete. The documentation will be updated to reflect that. &lt;/p&gt;&#xA;" OwnerUserId="483" LastActivityDate="2019-07-18T12:49:39.180" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19951" PostTypeId="2" ParentId="19286" CreationDate="2019-07-18T13:06:23.417" Score="0" Body="&lt;p&gt;The problem is that &lt;code&gt;Convert&lt;/code&gt; is part of your expression, so it falls into the custom method calls limitations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below an example of an expression that works:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var expression = Expression.Lambda&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt;(&#xA;    Expression.GreaterThan(&#xA;        Expression.Property(Expression.Call(contact, &quot;GetFacet&quot;, new[] { typeof(EngagementMeasures) }), &quot;MostRecentInteractionStartDateTime&quot;),&#xA;        Expression.Constant(DateTime.UtcNow)),&#xA;    contact);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;A good way to work it out is to begin by a linq expression and to see in the debugger how it looks. For example, I was checking the above like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Expression&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt; expression = c =&amp;gt; c.GetFacet&amp;lt;EngagementMeasures&amp;gt;().MostRecentInteractionStartDateTime &amp;gt; DateTime.UtcNow;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice there is no overload of GetFacet without the generics argument:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/8Rgpn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8Rgpn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That is important, since its what allows the system to know the type of the property in this expression is DateTime:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Expression.Property(Expression.Call(contact, &quot;GetFacet&quot;, new[] { typeof(EngagementMeasures) }), &quot;MostRecentInteractionStartDateTime&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="76" LastActivityDate="2019-07-18T13:06:23.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19952" PostTypeId="1" CreationDate="2019-07-18T13:36:35.010" Score="1" ViewCount="175" Body="&lt;p&gt;I'm using Sitecore 9.1.1 and SXA 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the following structure:&#xA;A &lt;strong&gt;shared site&lt;/strong&gt; in which i create the page designs, partial designs and rendering variants.&#xA;And I have another two sites: &lt;strong&gt;Site A&lt;/strong&gt; and &lt;strong&gt;Site B&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a case in which there is a page content structure component defined in the shared site, and two different rendering variants for this component defined in each of site A and site B. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to set the rendering variant of this component to be chosen according to the current site. I know I could do that for the datasource parameter using query: &lt;code&gt;$site/Data/....&lt;/code&gt;, however, the rendering variant parameter is a dropdown menu in which I have to choose one variant for both sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to make the rendering variant different in each site just like the datasource parameter?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="237" LastEditDate="2019-07-18T13:47:33.610" LastActivityDate="2024-03-23T20:03:45.587" Title="Configure rendering variant parameter in a page content structure component in different sites" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19953" PostTypeId="2" ParentId="19952" CreationDate="2019-07-18T13:44:29.020" Score="0" Body="&lt;p&gt;I don't think it's possible to use a query at that point. What you could try is using personalization.  And here it depends on how different the variants are...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If feasible, you could merge the variants into one and use the rules engine to show/hide sections (or other variant parts) depending on the site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this would get too complicated (or not maintainable) you migth need to personalize on the variant itself. Too bad, that is not possible ootb. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But.. check this question on personalizing variants: &lt;a href=&quot;https://sitecore.stackexchange.com/q/19675/237&quot;&gt;Does Sitecore SXA supports personalization between rendering variants?&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Ootb this is not possible, but James Gregory appears to have done this&#xA;  for you:&#xA;  &lt;a href=&quot;https://www.americaneagle.com/blog/web-development-blog/james-gregory/2017/09/20/parameter-personalization&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.americaneagle.com/blog/web-development-blog/james-gregory/2017/09/20/parameter-personalization&lt;/a&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;His module can be found on the &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/R/Rendering_Parameter_Personalization_Extension.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;marketplace&lt;/a&gt; as well.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-07-18T13:44:29.020" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19955" PostTypeId="1" AcceptedAnswerId="19956" CreationDate="2019-07-18T14:16:25.017" Score="0" ViewCount="80" Body="&lt;p&gt;Is there any way to inspect the cache content (keys, value sizes in bytes)  for the HTML cache of a site? Ideally, I would like to be able to see a table with the columns &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;URL/CacheKey&lt;/li&gt;&#xA;&lt;li&gt;Size (Bytes)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I know I can go to &lt;a href=&quot;http://example.com/sitecore/admin/cache.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://example.com/sitecore/admin/cache.aspx&lt;/a&gt; and see the &lt;em&gt;total size&lt;/em&gt; of the HTML cache for a given site, but I would like a more fine-grained view.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-07-18T19:02:49.570" Title="How to inspect HTML cache content/size on a per URL basis" Tags="|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19956" PostTypeId="2" ParentId="19955" CreationDate="2019-07-18T14:29:23.287" Score="2" Body="&lt;p&gt;I was needed to look inside HTML cache and used 2 options for it:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I &lt;a href=&quot;http://sitecorevn.blogspot.com/2018/05/how-to-check-what-is-inside-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;have created special web page&lt;/a&gt; that will display cache key + cache content&lt;/li&gt;&#xA;&lt;li&gt;I used Sitecore.Rocks. It allows to see cache keys out of the box. But &lt;a href=&quot;http://sitecorevn.blogspot.com/2018/05/it-is-copy-of-my-article-placed-in.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;with small enhancement&lt;/a&gt;, you can see what is inside cache.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;P.S. Depending on Sitecore version code for page or Sitecore.Rocks could be different. And that is the reason why it was not approved as PR to Sitecore.Rocks.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-07-18T14:29:23.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19957" PostTypeId="1" AcceptedAnswerId="19979" CreationDate="2019-07-18T14:35:52.790" Score="2" ViewCount="678" Body="&lt;p&gt;I'm trying to setup custom 500 page on SC 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm following this procedure: &lt;a href=&quot;https://www.geekhive.com/buzz/post/2017/08/a-complete-guide-to-configuring-friendly-error-pages-in-sitecore-part-2-500-pages/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.geekhive.com/buzz/post/2017/08/a-complete-guide-to-configuring-friendly-error-pages-in-sitecore-part-2-500-pages/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I get this error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OD58t.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OD58t.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that it seems like it's working but there is an error &quot;...while executing the custom error page...&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My configuration is like this:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/dj6E4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dj6E4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTES:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In order to test the 500 page, I am turning off the SQL Server&#xA;Windows Service. &lt;/li&gt;&#xA;&lt;li&gt;The &amp;lt;customErrors&gt; node is in the &amp;lt;system.web&gt; node&#xA;of the web.config &lt;/li&gt;&#xA;&lt;li&gt;I switched from using a .aspx file to a .html file&#xA;to simplify things.. same error though.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Anyone seen this before?&lt;/p&gt;&#xA;" OwnerUserId="3660" LastEditorUserId="3660" LastEditDate="2019-07-19T17:25:14.810" LastActivityDate="2019-07-19T17:25:14.810" Title="Setting up custom 500 error page on SC 9.1" Tags="|error-handling|" AnswerCount="1" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="19958" PostTypeId="2" ParentId="19945" CreationDate="2019-07-18T14:56:23.030" Score="1" Body="&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;To return the datasource from &quot;Data&quot; folder of the current editing site, add below query in &quot;Datasource Location&quot; in rendering level: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;query:./ancestor-or-self::*[@@templatename='Site Root']/Global/Data&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;To return the datasource from the &quot;Data&quot; folder of all sites you use this query:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;query:..//*[@@templatename='Data template name'] &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mkYdd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mkYdd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="635" LastActivityDate="2019-07-18T14:56:23.030" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19959" PostTypeId="2" ParentId="19304" CreationDate="2019-07-18T15:14:55.540" Score="2" Body="&lt;p&gt;would you verify that the core exists In the apache-solr\server\solr folder, do you see a sitecore_analytics_index folder? if not you can use the following instructions to add the new index:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Duplicate master folder index in apache-solr\server\solr dircetory&lt;/li&gt;&#xA;&lt;li&gt;Rename the copied folder into &quot;sitecore_analytics_index&quot; and delete &quot;data&quot; folder and core.properties files from the new folder&lt;/li&gt;&#xA;&lt;li&gt;Navigate to solr &quot;core Admin&quot; and add new core for &quot;Sitecore_analytics_index&quot;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="635" LastActivityDate="2019-07-18T15:14:55.540" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19960" PostTypeId="2" ParentId="19835" CreationDate="2019-07-18T15:45:50.507" Score="0" Body="&lt;p&gt;Run fiddler and then run the command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This way you can see precisely what url the indexer is running against and what kind of post it is doing.&lt;/p&gt;&#xA;" OwnerUserId="76" LastActivityDate="2019-07-18T15:45:50.507" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19961" PostTypeId="2" ParentId="18833" CreationDate="2019-07-18T17:15:55.983" Score="1" Body="&lt;p&gt;Use custom identifier in Sitecore which is a combination of FN+LN and Email.&lt;/p&gt;&#xA;" OwnerUserId="3900" LastActivityDate="2019-07-18T17:15:55.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19962" PostTypeId="2" ParentId="19525" CreationDate="2019-07-18T17:36:15.520" Score="1" Body="&lt;p&gt;The issue is most likely related to the fact you are using incompatible versions of the SPE Remoting package and SPE.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If you are using SPE 5.1 then you should be using SPE Remoting 5.1.&lt;/li&gt;&#xA;&lt;li&gt;If you are using SPE 5.0 then you should be using SPE Remoting 5.0 (or 5.0.1).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;To get the SPE version you can run the following command from within the SPE Console or ISE: &lt;code&gt;$PSVersionTable&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sEo44.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sEo44.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;To get the SPE Remoting version you can run the following command from with the Windows PowerShell Console or ISE: &lt;code&gt;Get-Module -Name SPE&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qnXgs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qnXgs.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2020-10-24T17:58:03.547" LastActivityDate="2020-10-24T17:58:03.547" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="19964" PostTypeId="1" CreationDate="2019-07-19T06:01:03.193" Score="0" ViewCount="62" Body="&lt;p&gt;I'm creating a template and assigning a workflow to that template. But the items which are created from that template are not having the workflow value.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$template = New-Item  -Path &quot;/sitecore/templates/Sensoft&quot; -Name $importData.TemplateName -type &quot;{AB86861A-6030-46C5-B394-E8F99E8B87DB}&quot;&#xA;$template.&quot;__Icon&quot; = $importData.TemplateIcon&#xA;$sectionValue = New-Item -Parent $template -Name $importData.SectionName -type &quot;{E269FBB5-3750-427A-9149-7AA950B49301}&quot;&#xA;$standardvalues = New-Item -Parent $template -Name &quot;__Standard Values&quot; -type $template.ID&#xA;$standardvalues.'__Default workflow' = $importData.WorkFlowID&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I think its because of the standard values which i have created. Can anyone help me in creating the standard values and assigning workflow to it.&lt;/p&gt;&#xA;" OwnerUserId="5632" LastEditorUserId="95" LastEditDate="2019-07-20T01:34:09.177" LastActivityDate="2019-07-20T01:34:09.177" Title="Workflow is not getting assigned for items" Tags="|powershell-extensions|workflow|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19965" PostTypeId="2" ParentId="19933" CreationDate="2019-07-19T06:56:19.960" Score="1" Body="&lt;p&gt;There is no out of the box way to do this as of SXA 1.8.1 or below. &#xA;With the following code you can extend the existing Rendering Variant section renderer to include this logic when it encounters an Image field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, override the built-in RenderSection pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RenderSection : Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderSection&#xA;{&#xA;    protected override string GetAttributeTokenValue(string fieldName, Item item)&#xA;    {&#xA;        var field = FieldTypeManager.GetField(item.Fields[fieldName]);&#xA;        if (field is ImageField)&#xA;        {&#xA;            return item.ImageFieldUrl(fieldName);&#xA;        }&#xA;        return base.GetAttributeTokenValue(fieldName, item);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Patch it as follows&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;renderVariantField&amp;gt;&#xA;      &amp;lt;processor type=&quot;Your.Foundation.Variants.Pipelines.RenderSection, Your.Foundation.Variants&quot;&#xA;                  patch:instead=&quot;processor[@type='Sitecore.XA.Foundation.RenderingVariants.Pipelines.RenderVariantField.RenderSection, Sitecore.XA.Foundation.RenderingVariants']&quot;&#xA;                  resolve=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/renderVariantField&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And you'll need to put this in a static class (e.g. ItemExtensions)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static string ImageFieldUrl(this Item item, string fieldName)&#xA;{&#xA;    if (item == null)&#xA;    {&#xA;        throw new ArgumentNullException(nameof(item));&#xA;    }&#xA;    if (string.IsNullOrEmpty(fieldName))&#xA;    {&#xA;        throw new ArgumentNullException(nameof(fieldName));&#xA;    }&#xA;&#xA;    var field = (ImageField) item.Fields[fieldName];&#xA;    if (field == null)&#xA;    {&#xA;        return string.Empty;&#xA;    }&#xA;    else&#xA;    {&#xA;        var urlOptions = new MediaUrlOptions();&#xA;        if (int.TryParse(field.Height, out var height) &amp;amp;&amp;amp; int.TryParse(field.Width, out var width))&#xA;        {&#xA;            urlOptions.Width = width;&#xA;            urlOptions.Height = height;&#xA;        }&#xA;        return HashingUtils.ProtectAssetUrl(MediaManager.GetMediaUrl(field.MediaItem, urlOptions));&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-07-19T06:56:19.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19966" PostTypeId="1" AcceptedAnswerId="19969" CreationDate="2019-07-19T07:33:04.207" Score="1" ViewCount="172" Body="&lt;p&gt;I read in the Sitecore docs that setting &lt;code&gt;Sitecore.Analytics.Lookups.IpHashProvider&lt;/code&gt; stores the IP addresses in hashed and setting &lt;code&gt;Analytics.RedactIpAddress&lt;/code&gt; to true sets all IP in xDb to &lt;code&gt;0.0.0.0&lt;/code&gt;. So even if we configure this, will personalization still work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or are these configurations irrelevant with personalization?&lt;/p&gt;&#xA;" OwnerUserId="2882" LastEditorUserId="73" LastEditDate="2021-03-03T05:29:42.643" LastActivityDate="2021-03-03T05:29:42.643" Title="Will Personalization still work even if the IP is hashed or redacted" Tags="|personalization|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19968" PostTypeId="1" CreationDate="2019-07-19T11:04:45.487" Score="2" ViewCount="1142" Body="&lt;p&gt;&lt;strong&gt;I am trying to clone habitat version on my machine but I am getting following issue, What can be the reason for this error?&lt;/strong&gt;    &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Error requesting&#xA;  &lt;a href=&quot;http://sitename/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitename/sitecore/admin/PopulateManagedSchema.aspx?indexes=all&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/P1Q97.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/P1Q97.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;strong&gt;One more screenshot when I am trying to access the site directly:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ifHGt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ifHGt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;strong&gt;And here are the logs generated:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/15V2O.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/15V2O.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/acqBk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/acqBk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The solutions referred so far :&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Enabled ASP, ASP.net 3.5 and ASP.net 4.7&#xA;&lt;a href=&quot;https://community.sitecore.net/developers/f/5/p/8927/19147#19147&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/5/p/8927/19147#19147&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Added application pool of site in computer management&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5767" LastEditorUserId="5767" LastEditDate="2019-07-19T11:27:31.283" LastActivityDate="2023-07-20T15:29:24.230" Title="PopulateManagedSchema during installation returns error 500" Tags="|installation|habitat|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="19969" PostTypeId="2" ParentId="19966" CreationDate="2019-07-19T11:11:21.993" Score="5" Body="&lt;h3&gt;Yes it will.&lt;/h3&gt;&#xA;&lt;p&gt;Personalisation is based on the current session - it happens real-time. Any personalisation rules you normally use, will continue to work regardless of this setting.&lt;/p&gt;&#xA;&lt;p&gt;The hashing or blanking of IP addresses affects &lt;em&gt;what gets stored in xDB&lt;/em&gt;. This happens &lt;em&gt;after&lt;/em&gt; any personalisation has taken place to render your page.&lt;/p&gt;&#xA;&lt;p&gt;In short; these configuration changes only affect storage. Not active personalisation.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-19T12:29:43.677" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19970" PostTypeId="1" AcceptedAnswerId="19980" CreationDate="2019-07-19T11:57:39.053" Score="2" ViewCount="1555" Body="&lt;p&gt;From what I understand a Sitecore job simply runs as a background thread within the web application, i.e. a IIS worker process. How does this work with the periodic IIS pool recycling?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I mean if you have a long-running job and a recycle happens, won't the job simply be killed along with the process? What's their strategy to prevent this from happening? As is often the case with Sitecore I couldn't find any official documentation that would explain how they deal with this.&lt;/p&gt;&#xA;" OwnerUserId="5523" LastEditorUserId="5096" LastEditDate="2019-07-20T01:27:04.817" LastActivityDate="2019-07-20T01:27:04.817" Title="Sitecore Jobs and IIS Pool Recycles" Tags="|sitecore-client|sitecore-api|scheduler-job|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19972" PostTypeId="2" ParentId="19940" CreationDate="2019-07-19T13:28:53.050" Score="1" Body="&lt;p&gt;So finally, I able to do this successfully Thanks to Marek.&#xA;I followed same reference links given by him.&#xA;As mentioned by him I had played with xml.&#xA;Below is my code (not as per standard but yes it did worked)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        Sitecore.Data.Database db = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;);&#xA;        Item savedItem = db.GetItem(&quot;{Path of Item}&quot;);&#xA;        Item article = savedItem.Database.GetItem(&quot;{Path of Component}&quot;); &#xA;        Item customRule = savedItem.Database.GetItem(&quot;{Path of Rule}&quot;);&#xA;        Item datasource = savedItem.Database.GetItem(&quot;{Path of datasource}&quot;);&#xA;        DeviceRecords devices = savedItem.Database.Resources.Devices;&#xA;        DeviceItem defaultDevice = devices.GetAll().Where(d =&amp;gt; d.Name.ToLower() == &quot;default&quot;).First();&#xA;        Sitecore.Layouts.RenderingReference[] renderings = null;&#xA;        renderings = savedItem.Visualization.GetRenderings(defaultDevice, true);&#xA;        LayoutField layoutField = new LayoutField(savedItem.Fields[FieldIDs.FinalLayoutField]);&#xA;        LayoutDefinition layoutDefinition = LayoutDefinition.Parse(layoutField.Value);&#xA;        DeviceDefinition deviceDefinition = layoutDefinition.GetDevice(&quot;{FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&quot;);&#xA;&#xA;        foreach (var rendering in renderings)&#xA;        {&#xA;            var newRendering = deviceDefinition.GetRendering(rendering.RenderingID.ToString());&#xA;            if (newRendering != null &amp;amp;&amp;amp; rendering.RenderingID.Equals(article.ID))&#xA;            {                   &#xA;                if (newRendering.Rules == null)&#xA;                {&#xA;                    newRendering.Rules = new XElement(&quot;ruleset&quot;);&#xA;                }&#xA;                string rule = customRule.Fields[&quot;Rule&quot;].Value;&#xA;                rule = rule.Replace(&quot;\n&quot;, &quot;&quot;);&#xA;                rule = rule.Replace(&quot;\r&quot;, &quot;&quot;);&#xA;&#xA;&#xA;                XmlDocument doc = new XmlDocument();&#xA;                doc.LoadXml(rule);&#xA;                XmlNode xnNode = doc.SelectSingleNode(&quot;/ruleset/rule&quot;);&#xA;                XmlAttribute attr = doc.CreateAttribute(&quot;name&quot;);&#xA;                attr.Value = customRule.Name;&#xA;                xnNode.Attributes.SetNamedItem(attr);&#xA;&#xA;&#xA;                XmlElement actions = doc.CreateElement(&quot;actions&quot;);&#xA;                XmlElement action = doc.CreateElement(&quot;action&quot;);&#xA;                action.SetAttribute(&quot;uid&quot;, Guid.NewGuid().ToString());&#xA;                action.SetAttribute(&quot;id&quot;, &quot;0F3C6BEC-E56B-4875-93D7-2846A75881D2&quot;);&#xA;                action.SetAttribute(&quot;DataSource&quot;, datasource.ID.ToString());&#xA;&#xA;                actions.AppendChild(action);&#xA;                xnNode.AppendChild(actions);                   &#xA;                newRendering.Rules.Add(doc.OuterXml);&#xA;&#xA;                break;&#xA;            }&#xA;        }&#xA;&#xA;        savedItem.Editing.BeginEdit();&#xA;        layoutField.Value = layoutDefinition.ToXml().Replace(&quot;&amp;amp;lt;&quot;, &quot;&amp;lt;&quot;).Replace(&quot;&amp;amp;gt;&quot;, &quot;&amp;gt;&quot;).Replace(&quot;&amp;lt;ruleset&amp;gt;&amp;lt;ruleset&amp;gt;&quot;, &quot;&amp;lt;ruleset&amp;gt;&quot;).Replace(&quot;&amp;lt;/ruleset&amp;gt;&amp;lt;/ruleset&amp;gt;&quot;, &quot;&amp;lt;/ruleset&amp;gt;&quot;);&#xA;        savedItem.Editing.EndEdit();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-07-19T13:28:53.050" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19974" PostTypeId="1" AcceptedAnswerId="19978" CreationDate="2019-07-19T14:37:59.953" Score="0" ViewCount="67" Body="&lt;p&gt;I have a old 8.x solution that I am upgrading to version 9.1 and also converting from a non helix methodology to a helix methodology (unraveling the spaghetti code has been a huge challenge and it will probably never be a pure helix based solution, but it should be close).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use TDS for code generation.  In which layer should base types be in?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example let's say I have a &quot;Video&quot; type. I have an ItemManager Feature which can return a list of content items based on type.  Rendering parameters are used to determine the type that is returned in the result set.  if the rendering parameter is &quot;video&quot;, ItemManager will fire a search method to get the videos based on the datasource.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, I have a &quot;video&quot; feature which is just a view that displays the video (Video, Title, Caption, length, etc).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since both features reference the Video type should &quot;video&quot; be in the foundation layer since the data template won't be changing, hence is should be stable and referenced in the features layer?&lt;/p&gt;&#xA;" OwnerUserId="3235" LastEditorUserId="73" LastEditDate="2019-07-19T15:13:24.230" LastActivityDate="2019-07-19T15:47:52.350" Title="Which layer do I place my TDS codegen in?" Tags="|helix|tds|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19975" PostTypeId="1" CreationDate="2019-07-19T15:08:19.417" Score="0" ViewCount="233" Body="&lt;p&gt;Sitecore version 8.2 Revision 161221&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an existing site where sorting has been manual for a long time. I have now been requested to switch the sorting of a section within Primary Page Stencil section to be Alpha sorted by display name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to right click-&gt; Sorting -&gt; Subitems Sorting and setting it to Display Name then clicking reset and okay. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However once I do this and I insert a new item under the parent, it adds the item as the last child and ignores the sorting I just set. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do have another Primary Page Stencil section that is working 100% fine without me changing anything, both are built from the same parent template and have the same type of items within them. &lt;/p&gt;&#xA;" OwnerUserId="5795" LastActivityDate="2019-07-19T15:08:19.417" Title="Sitecore Sorting issues" Tags="|content-editor|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="19977" PostTypeId="2" ParentId="19970" CreationDate="2019-07-19T15:46:22.793" Score="0" Body="&lt;p&gt;Sitecore included its own keep-alive mechanism because IIS does recycle apps by default, and Sitecore wanted to override that behavior out of the box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore comes with two built-in features which in tandem prevent application pool timeouts: the &lt;code&gt;KeepAlive&lt;/code&gt; page and the &lt;code&gt;UrlAgent&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The UrlAgent (Sitecore.Tasks.UrlAgent) is a simple Sitecore agent which accesses a predefined URL at regular intervals. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The keep alive page is basically an empty ASP.NET form which is located in “[webroot]/sitecore/service/keepalive.aspx”.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box Sitecores Web.config only contains a “naive” UrlAgent configuration: it assumes an application pool timeout of more than one hour and a website which is mapped to localhost, as shown below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.UrlAgent&quot; method=&quot;Run&quot; interval=&quot;01:00:00&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;url&quot;&amp;gt;/sitecore/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA;  &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To configure the UrlAgent for actual use, copy the XML shown below into a configuration file (e.g. “KeepAliveAgent.config”), change the interval attribute and URL parameter as required, and place it in “[webroot]/App_Config/Include”. Sitecore will merge these settings into the main Web.config file when your site starts up.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;scheduling&amp;gt;&#xA;      &amp;lt;!-- The time format is &quot;HH:MM:SS&quot; --&amp;gt;&#xA;      &amp;lt;agent type=&quot;Sitecore.Tasks.UrlAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA;        &amp;lt;!-- Replace [WEBSITE] with the appropriate domain --&amp;gt;&#xA;        &amp;lt;param desc=&quot;url&quot;&amp;gt;http://[WEBSITE]/sitecore/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA;        &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;      &amp;lt;/agent&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When configuring a UrlAgent to prevent application pool timeouts keep the following in mind:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The “interval” attribute value must be less than the application pool&#xA;   timeout.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Practically the lower limit of the interval is equal to the interval&#xA;   set in the node “/configuration/sitecore/scheduling/frequency” in&#xA;   Web.config (expressed as XPath), which is 5 minutes by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When not set to an absolute URL, the UrlAgent assumes that the&#xA;   specified partial URL is located on localhost. In many scenarios this&#xA;   is not the case (e.g. multiple sites per server), so it’s usually&#xA;   better to provide a publicly reachable absolute URL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The “keep alive page” can be any page on the website, but the default&#xA;   page is well suited since it doesn’t contain any functionality or&#xA;   visitor tracking scripts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/1438/what-is-the-purpose-of-keepalive-aspx&quot;&gt;What is the purpose of keepalive.aspx?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://reasoncodeexample.com/2012/03/19/keeping-sitecore-alive/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://reasoncodeexample.com/2012/03/19/keeping-sitecore-alive/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-07-19T16:52:51.083" LastActivityDate="2019-07-19T16:52:51.083" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19978" PostTypeId="2" ParentId="19974" CreationDate="2019-07-19T15:47:52.350" Score="3" Body="&lt;p&gt;Following Helix principles you should divide your single TDS project into layers and projects. And for each code project you need to have separate TDS project(of course, if required). And for each TDS project you can have code generation if required.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can look into &lt;a href=&quot;https://github.com/peplau/helix-solution&quot; rel=&quot;nofollow noreferrer&quot;&gt;this GitHub repository&lt;/a&gt; as example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would suggest you initially put everything into Foundation layer and then move things one by one. Content to project level. Specific component things to Feature level. Etc.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-07-19T15:47:52.350" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19979" PostTypeId="2" ParentId="19957" CreationDate="2019-07-19T15:55:13.113" Score="4" Body="&lt;p&gt;I worked with @sitecorepm on Slack to run a few tests.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Why It Fails&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If Sitecore has not been previously initialized the custom error page will not appear.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Failed Test Using Habitat 9.1.0&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Stop SQL Server&lt;/li&gt;&#xA;&lt;li&gt;Reset IIS&lt;/li&gt;&#xA;&lt;li&gt;View site&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You will receive the generic IIS Runtime Error page, even with &lt;code&gt;&amp;lt;customErrors&amp;gt;&lt;/code&gt; set to &lt;code&gt;&quot;On&quot;&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ibRGe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ibRGe.png&quot; alt=&quot;Habitat 910 Runtime Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Successful Test Using Habitat 9.1.0&lt;/h3&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Start SQL Server&lt;/li&gt;&#xA;&lt;li&gt;Reset IIS (optional)&lt;/li&gt;&#xA;&lt;li&gt;View site (it should come up successfully, at this point Sitecore has the connection data it needs)&lt;/li&gt;&#xA;&lt;li&gt;Stop SQL Server&lt;/li&gt;&#xA;&lt;li&gt;View site &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You will now receive the custom 500 error page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/sTMgU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sTMgU.png&quot; alt=&quot;Habitat 910 Custom Error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Further Note About Breaking Connection Strings&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I also tested the intentional change of a connection string- by changing the password to an incorrect value, for example. This change still results in the generic Runtime Error being displayed. In other words, it is not accounted for in this answer.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="556" LastEditDate="2019-07-19T16:16:45.683" LastActivityDate="2019-07-19T16:16:45.683" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19980" PostTypeId="2" ParentId="19970" CreationDate="2019-07-19T16:48:01.480" Score="3" Body="&lt;p&gt;Yes, this is correct, Sitecore Jobs and Scheduled Tasks run as background threads, and any App Pool restart or unexpected shutdown of the server will cause the job to be killed. If you have a long-running job then you must defensively code for this possible outcome, and allow the code to both gracefully fail and pick up where it left off the next time the job is run, as well as any code consuming the output of the task to defensively code around possible missing data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Remember, the app pool may restart due to a number of reasons, such as a deployment or periodic recycling due to IIS settings, or due to other unexpected reasons just as server errors, server restarts or operating system updates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may be be possible to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13083/what-is-the-shutdownguard-and-how-should-i-use-it/13084#13084&quot;&gt;wrap your code in a &lt;code&gt;ShutdownGuard()&lt;/code&gt; block&lt;/a&gt;, but it will not get around all the possible reasons a Sitecore Job and background thread is ended unexpectedly. You could also use a &lt;a href=&quot;https://en.wikipedia.org/wiki/Enterprise_service_bus&quot; rel=&quot;nofollow noreferrer&quot;&gt;Service Bus&lt;/a&gt; to act as a queue to allow you to pick up the processing where you left off. This would be the same as well even for standard non-Sitecore applications.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2019-07-19T18:14:23.387" LastActivityDate="2019-07-19T18:14:23.387" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19981" PostTypeId="1" CreationDate="2019-07-19T16:59:44.733" Score="0" ViewCount="197" Body="&lt;p&gt;I have a problem with EXM on a multisite environment.&#xA;The application has two sites on the CD, e.g. &lt;code&gt;test.com&lt;/code&gt; and &lt;code&gt;test-test2.com&lt;/code&gt;.&#xA;For each of them is configured ManagerRoot with the corresponding values in the base url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A subscription mail has a valid start, e.g.&#xA;&lt;code&gt;test-test.com/sitecore modules / web / exm / redirecturlpage.aspx&lt;/code&gt; ...&#xA;But after clicking on it, we are redirected to the CM server, e.g. &lt;code&gt;test.cm/sitecore modules / web / exm / configsubscription&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone an idea what this may be due to?&lt;/p&gt;&#xA;" OwnerUserId="2471" LastEditorUserId="73" LastEditDate="2019-07-19T17:08:30.903" LastActivityDate="2020-12-14T03:07:05.813" Title="EXM in multisite environment" Tags="|exm|multisite|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19982" PostTypeId="2" ParentId="19915" CreationDate="2019-07-20T14:11:52.713" Score="0" Body="&lt;p&gt;Its an issue with Unicorn sync - with current Habiat solution and Sitecore  9.1 Update-1 as as Sitecore 9.1 uses identity server for authorization .&#xA;Basically Unicorn needs to be updated to V4.0.7 in project: Sitecore.Foundation.Serialization&#xA;I too faced this issues and penned down all details here - &lt;a href=&quot;https://blogsaurabhrajpoot.com/2019/07/21/habitat-on-sitecore-9-1-unicorn-sync-not-working/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blogsaurabhrajpoot.com/2019/07/21/habitat-on-sitecore-9-1-unicorn-sync-not-working/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if it works.&lt;/p&gt;&#xA;" OwnerUserId="2414" LastActivityDate="2019-07-20T14:11:52.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19983" PostTypeId="1" AcceptedAnswerId="19984" CreationDate="2019-07-20T17:06:51.130" Score="1" ViewCount="2688" Body="&lt;p&gt;I am trying to map Sitecore 9.1 with MongoDB.I have Provided all required settings but still getting an exception.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Message: xDB unavailable&#xA;Source: Sitecore.Analytics.XConnect&#xA; at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling[T](Func`2 func)&#xA; at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA; at Sitecore.Analytics.XConnect.DataAccess.Dictionaries.XConnectDeviceDictionary.LoadAs[T](Object key)&#xA; at Sitecore.Analytics.DataAccess.Dictionaries.AverageCounterExtensions.MeasureMilliseconds[T](AverageCounter counter, Func`1 func)&#xA; at Sitecore.Analytics.DataAccess.Dictionaries.ReferenceDataDictionary`2.Get(TKey key, LookupStrategy strategy)&#xA; at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureDevice.LoadDevice(Guid deviceId)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: {&#xA;&quot;Message&quot;: &quot;Operation failed: One or more dependencies failed&quot;,&#xA;&quot;ExceptionMessage&quot;: &quot;One or more dependencies failed&quot;,&#xA;&quot;ExceptionType&quot;: &quot;Sitecore.XConnect.Operations.DependencyFailedException&quot;,&#xA;&quot;StackTrace&quot;: null,&#xA;&quot;InnerException&quot;: {&#xA;  &quot;Message&quot;: &quot;An error has occurred.&quot;,&#xA;  &quot;ExceptionMessage&quot;: &quot;Keyword not supported: 'mongodb://localhost:27017/sc91instance2_collection?retrywrites'.&quot;,&#xA;  &quot;ExceptionType&quot;: &quot;System.ArgumentException&quot;,&#xA;  &quot;StackTrace&quot;: &quot;   at System.Data.SqlClient.SqlConnectionStringBuilder.GetIndex(String keyword)\r\n&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Mongo Db connectionstrings are:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;session&quot; connectionString=&quot;mongodb://localhost:27017/sc91instance2_session&quot;/&amp;gt; &#xA;  &amp;lt;add name=&quot;collection&quot; connectionString=&quot;mongodb://localhost:27017/sc91instance2_collection?retryWrites=true&quot;/&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please help me if anyone faced similar issue or anyone has some experience regrading this.&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="5096" LastEditDate="2019-07-22T11:26:46.373" LastActivityDate="2019-07-22T11:26:46.373" Title="Sitecore.Analytics.DataAccess.XdbUnavailableException Message: xDB unavailable" Tags="|xdb|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19984" PostTypeId="2" ParentId="19983" CreationDate="2019-07-20T19:23:57.863" Score="2" Body="&lt;p&gt;Based on the nested error message, it looks like your connection string has an invalid format. Your exception reads:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;ExceptionMessage&quot;: &quot;Keyword not supported: 'mongodb://localhost:27017/sc91instance2_collection?retrywrites'.&quot;,&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Have you tried without the 'retrywrites' portion in your connection string?&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-07-20T19:23:57.863" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19986" PostTypeId="2" ParentId="19835" CreationDate="2019-07-22T05:55:51.763" Score="0" Body="&lt;p&gt;Turns out I was looking at the wrong connection string file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The xConnect Site has a connectiong string located at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;\App_Config\ConnectionStrings.config&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the index worker you run to do a rebuild has it's own connectiong string at:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;\App_data\jobs\continuous\IndexWorker\App_Config\ConnectionStrings.config&lt;/p&gt;&#xA;" OwnerUserId="3539" LastActivityDate="2019-07-22T05:55:51.763" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19987" PostTypeId="1" AcceptedAnswerId="19990" CreationDate="2019-07-22T06:40:52.577" Score="0" ViewCount="102" Body="&lt;p&gt;What is the use of &lt;code&gt;&amp;lt;site patch:before=&quot;site[@name='scheduler']&quot;&lt;/code&gt; instead of  &lt;code&gt;&amp;lt;site patch:before=&quot;site[@name='website']&quot;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3022" LastActivityDate="2019-07-22T06:48:56.573" Title="Difference between site[@name='scheduler']&quot; and site[@name='website'] in Site definition" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19988" PostTypeId="1" AcceptedAnswerId="19991" CreationDate="2019-07-22T06:43:44.747" Score="0" ViewCount="96" Body="&lt;p&gt;Why we create Site like below in Site definition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;site name=&quot;Test Site&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;hostName&quot;&amp;gt;*&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;targetHostName&quot;&amp;gt;*&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3022" LastActivityDate="2019-07-22T07:11:44.687" Title="What is the use of * in Hostname" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19989" PostTypeId="1" CreationDate="2019-07-22T06:45:08.380" Score="0" ViewCount="668" Body="&lt;p&gt;Is there any online tool or trick to find the Sitecore version from customer facing site?&lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-07-22T07:25:28.303" Title="How to find which version of Sitecore is used for building website from customer facing site (Delivery Website)" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19990" PostTypeId="2" ParentId="19987" CreationDate="2019-07-22T06:48:56.573" Score="2" Body="&lt;p&gt;When Sitecore resolves the site for any request it checks every site definition in top-bottom order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default Sitecore contains &lt;code&gt;website&lt;/code&gt; and &lt;code&gt;scheduler&lt;/code&gt; sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;website&lt;/code&gt; site contains empty &lt;code&gt;hostName&lt;/code&gt; and &lt;code&gt;rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot;&lt;/code&gt; attributes. Which means that if none of the sites before matches the request, Sitecore will resolve &lt;code&gt;website&lt;/code&gt; as the current site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site name=&quot;website&quot; rootPath=&quot;/sitecore/content&quot; startItem=&quot;/home&quot;... /&amp;gt;&#xA;&amp;lt;site name=&quot;scheduler&quot; enableTracking=&quot;false&quot; domain=&quot;sitecore&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you patch your custom site before &lt;code&gt;website&lt;/code&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site patch:before=&quot;site[@name='website']&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore will try to resolve it first.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you patch your custom site before &lt;code&gt;scheduler&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site patch:before=&quot;site[@name='scheduler']&quot; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;it will end up after &lt;code&gt;website&lt;/code&gt; and before &lt;code&gt;scheduler&lt;/code&gt; so Sitecore will first try to match the request to &lt;code&gt;website&lt;/code&gt; and if you don't change default settings for &lt;code&gt;website&lt;/code&gt; site, it will always match &lt;code&gt;website&lt;/code&gt; site instead of your custom site.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-22T06:48:56.573" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19991" PostTypeId="2" ParentId="19988" CreationDate="2019-07-22T07:11:44.687" Score="5" Body="&lt;p&gt;When a user visits site using a host name (ex.xyz.com), sitecore code will go into site definitions, from top to bottom and try to find any matching First site definition for that. but &lt;code&gt;hostName&lt;/code&gt; is not a required attribute. Default &lt;code&gt;&quot;website&quot;&lt;/code&gt; doesn't have one either. The host name of the incoming url. May include wildcards *(ex. &lt;a href=&quot;http://www.site.net&quot; rel=&quot;noreferrer&quot;&gt;http://www.site.net&lt;/a&gt;, *.site.net, &lt;em&gt;.net, pda.&lt;/em&gt;, print.&lt;em&gt;.net)&lt;/em&gt;  It’s possible to set more than one mask by using ‘|’ symbol as a separator &lt;em&gt;(ex. pda.&lt;/em&gt;|print.&lt;em&gt;.net)&lt;/em&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So * in your hostname doesn't have any meaning or you can say allowing all type of URLs.&#xA;Sitecore has defined &lt;code&gt;&quot;website&quot;&lt;/code&gt; site definition in a way, that all the non-matching url request are matched into &lt;code&gt;&quot;website&quot;&lt;/code&gt; site definition. i.e. by not having &lt;code&gt;&quot;hostName&quot;&lt;/code&gt; attribute and virtualPath/physicalPath are set to &quot;/&quot;.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-07-22T07:11:44.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19992" PostTypeId="2" ParentId="19932" CreationDate="2019-07-22T07:13:05.887" Score="1" Body="&lt;p&gt;The solution is as Pete mentioned. However, for the benefit novice Sitecore developers like me I'll post the end-to-end flow how I achieved this feature modification.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.You have two ways to inject custom unsubscribe functionality: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Change the &quot;CodeBehind&quot; and &quot;Inherits&quot; attributes at &quot;\sitecore modules\Web\EXM\Unsubscribe.aspx&quot; to your own implemetation e.g. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;CodeBehind=&quot;CustomUnsubscribe.cs&quot;&#xA;  Inherits=&quot;Feature.UnsubscribeNewsletterSubmitAction.Events.CustomUnsubscribe,Feature.UnsubscribeNewsletterSubmitAction&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create your &quot;CustomUnsubscribe.aspx&quot; file, put in your hosted source code and refer in email campaign html/cshtml. e.g. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;href=&quot;/sitecore%20modules/Web/EXM/CustomUnsubscribe.aspx&quot;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;and add this file to the config file as mentioned by Pete. To create a patch config you may follow the below code(N.B. Path file isn't mandatory, you may make changes directly in EmailExperience.ContentDelivery.config file if you wish).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;   &amp;lt;group groupName=&quot;exm.messageEvents&quot;&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;redirectUrl&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.SetRedirectToUrl, Sitecore.EmailCampaign.Cd&quot; resolve=&quot;true&quot;&amp;gt;&#xA;          &amp;lt;internalCarryoverFields hint=&quot;list:AddInternalCarryoverField&quot;&amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/internalCarryoverFields&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/redirectUrl&amp;gt;&#xA;     &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above code deletes the &quot;internalCarryoverFields&quot; node.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;   &amp;lt;group groupName=&quot;exm.messageEvents&quot;&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;redirectUrl&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.SetRedirectToUrl, Sitecore.EmailCampaign.Cd&quot; resolve=&quot;true&quot;&amp;gt;&#xA;          &amp;lt;internalCarryoverFields hint=&quot;list:AddInternalCarryoverField&quot;&amp;gt;&#xA;          &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;              &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.MessageId']/@value&quot; /&amp;gt;&#xA;              &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*CustomUnsubscribe.aspx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/carryoverField&amp;gt;&#xA;            &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;              &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.AnalyticsContactId']/@value&quot; /&amp;gt;&#xA;              &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*CustomUnsubscribe.aspx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/carryoverField&amp;gt;&#xA;            &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;              &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.ContactIdentifierSource']/@value&quot; /&amp;gt;&#xA;              &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*CustomUnsubscribe.aspx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/carryoverField&amp;gt;&#xA;            &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;              &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.ContactIdentifierIdentifier']/@value&quot; /&amp;gt;&#xA;              &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*CustomUnsubscribe.aspx|.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/carryoverField&amp;gt;&#xA;            &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.Campaign']/@value&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/carryoverField&amp;gt;&#xA;            &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.TargetLanguage']/@value&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/carryoverField&amp;gt;&#xA;            &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.TestValueIndex']/@value&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/carryoverField&amp;gt;&#xA;            &amp;lt;carryoverField type=&quot;Sitecore.EmailCampaign.Cd.Pipelines.RedirectUrl.CarryoverField, Sitecore.EmailCampaign.Cd&quot;&amp;gt;&#xA;                &amp;lt;param desc=&quot;fieldKey&quot; ref=&quot;settings/setting[@name='QueryStringKey.EmailHistoryEntryId']/@value&quot; /&amp;gt;&#xA;                &amp;lt;param desc=&quot;urlPattern&quot;&amp;gt;.*ConfirmSubscription.aspx|.*Unsubscribe.aspx|UnsubscribeFromAll.aspx.*|.*sc_pd_view=1.*&amp;lt;/param&amp;gt;&#xA;            &amp;lt;/carryoverField&amp;gt;&#xA;          &amp;lt;/internalCarryoverFields&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;        &amp;lt;/redirectUrl&amp;gt;&#xA;     &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above config code adds the &quot;internalCarryoverFields&quot; node with our custom page entry. Make sure you put the above changes in 2 different config files where node deletion is done first and then addition of custom page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Post which I believe you will your custom logic to Unsubscribe the contact using ClientApiService.&lt;/p&gt;&#xA;" OwnerUserId="5449" LastActivityDate="2019-07-22T07:13:05.887" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19993" PostTypeId="1" AcceptedAnswerId="19995" CreationDate="2019-07-22T07:21:37.393" Score="1" ViewCount="274" Body="&lt;p&gt;I want to know that what is the main difference between goal and profile(Persona)?&lt;/p&gt;&#xA;" OwnerDisplayName="user5422" LastActivityDate="2019-07-23T00:33:36.637" Title="Difference between Goal based personalization and profile based personalization?" Tags="|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="19994" PostTypeId="2" ParentId="19989" CreationDate="2019-07-22T07:25:28.303" Score="2" Body="&lt;p&gt;As per my knowledge, No we can't find the Sitecore version is used for building the website from customer-facing site. The &quot;No&quot; here for the finding website using the browser or by visiting the website. But yes we can find the Sitecore version if we have delivery website folder by looking into the Sitecore.kernel dll version, see here for version - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4358/can-you-identify-the-sitecore-version-from-the-sitecore-kernel-dll-version&quot;&gt;Can you identify the Sitecore version from the Sitecore.Kernel.dll version?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, if you have access to the file system, you can look at  &lt;code&gt;/sitecore/shell/sitecore.version.xml&lt;/code&gt;, or you can log into desktop mode and from the start menu, go to All Applications &gt; System &gt; License Details if you have access of it. There are few other ways but none of them are for the devilry website - &lt;a href=&quot;https://kb.sitecore.net/articles/891209&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/891209&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-07-22T07:25:28.303" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="19995" PostTypeId="2" ParentId="19993" CreationDate="2019-07-22T07:49:51.727" Score="4" Body="&lt;p&gt;A goal in Sitecore is any action that a user completed. It can be a page that has been viewed, a form that has been completed or other actions. Goal facets can be used to describe different aspects of a goal that you might want to track. These could be categories for your goals or descriptions that you can apply to multiple goals in order to better organize them. You can use goal facets to create and implement personalization rules that show content to your contacts based on the type of goal that they have triggered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So for example, if someone downloads a brochure and there is a goal associated to that action, it will show the form after it, which can be achieved by goal-based personalization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the other hand, Profiles are the way to identify your visitor’s behavior and their content interests. Lets use a simple example to demonstrate:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a website of a college and we want to understand the visitor behavior to know if a visitor is a fresher student or a graduate student or a parent visiting for his/her children. The behavior can understand by identifying the visitor's behavior and can achieve by profiles and if content author want to personalize the content based on the visitor this will be persona-based personalization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In simple behavior vs action = persona vs goal.&lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="1000" LastEditDate="2019-07-23T00:33:36.637" LastActivityDate="2019-07-23T00:33:36.637" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="19996" PostTypeId="2" ParentId="19981" CreationDate="2019-07-22T08:18:03.747" Score="1" Body="&lt;p&gt;If you have multiple sites then it is a better solution to create custom hostname mapping. To create a custom hostname mapping, please follow below steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to this location &lt;code&gt;/sitecore/system/Settings/Email/System/Hostname Mappings&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create new &lt;code&gt;Hostname Mappings&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Insert &lt;code&gt;Original&lt;/code&gt; and &lt;code&gt;Public&lt;/code&gt; URL.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For more information, you can follow this link &lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/link-generation-and-hostname-mapping-in-exm.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/link-generation-and-hostname-mapping-in-exm.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="1000" LastEditDate="2019-07-23T00:27:54.867" LastActivityDate="2019-07-23T00:27:54.867" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20000" PostTypeId="1" AcceptedAnswerId="20001" CreationDate="2019-07-22T11:50:26.673" Score="3" ViewCount="163" Body="&lt;p&gt;I would like to choose Page Designs to my pages not by mapping their Template to certain Page Design. I would like e.g.: to change page design when a certain field is empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there such a way?&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-07-22T11:50:26.673" Title="Is there a smart way to pick up Page Design other than Template to Design mapping?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20001" PostTypeId="2" ParentId="20000" CreationDate="2019-07-22T11:50:26.673" Score="6" Body="&lt;p&gt;Yes! SXA 1.9 has a new feature called Design rules. You will find a new field on the Page Designs item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UcEWP.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UcEWP.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;where you can design a rule which will pick up Page Design for you thanks to new &quot;select specified page design&quot; action. Here is an example rule:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DyHU1.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DyHU1.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So right now we have two fields where you can select Page Design and the priority is a fallow:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If Page Design is specified on a page itself it will always win&lt;/li&gt;&#xA;&lt;li&gt;If there is no Page Design explicitly assigned on the page SXA will try to resolve &quot;Design rules&quot; and pick Page Design out of it&lt;/li&gt;&#xA;&lt;li&gt;If we don't have rules or none of the rules will be evaluated we will fall back to good old &quot;Template to Design Mapping&quot; field&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-07-22T11:50:26.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20002" PostTypeId="1" AcceptedAnswerId="20010" CreationDate="2019-07-22T12:44:59.883" Score="7" ViewCount="811" Body="&lt;p&gt;Fairly sure I can guess the answer, but getting this question on record is still useful. Long story short:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can I use config patch files to manage configuration settings on my Sitecore IS web application?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are about to add Azure AD integration to our solution and, for this, some configuration changes are required to our base IS setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I do this by modifying the OOTB configuration files directly, or can I leave those as-is and &quot;patch&quot; in my required changes?&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-07-22T13:19:33.857" LastActivityDate="2019-07-23T09:08:30.997" Title="Can I use Sitecore's Configuration patching mechanics for my Identity Server configuration?" Tags="|configuration|identity-server|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20003" PostTypeId="2" ParentId="10310" CreationDate="2019-07-22T13:27:11.597" Score="6" Body="&lt;p&gt;I had the same problem. This was resolved by removing spaces in the field names of my rendering parameters.&lt;/p&gt;&#xA;&lt;h2&gt;Sample&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Rendering with configured personalization has a hidden state&lt;/li&gt;&#xA;&lt;li&gt;The rendering has at least one rendering parameter with spaces in field name like &lt;strong&gt;&amp;quot;Mobile Width&amp;quot;&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Error Rendering Xslt: /xsl/system/webedit/hidden rendering.xslt: The ' ' character, &amp;gt;hexadecimal value 0x20, cannot be included in a name.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2&gt;The simplest solution&lt;/h2&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Get rid of spaces in the rendering parameters fields, like &lt;strong&gt;&amp;quot;Mobile Width&amp;quot;&lt;/strong&gt; =&amp;gt; &lt;strong&gt;&amp;quot;MobileWidth&amp;quot;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2&gt;Reason&lt;/h2&gt;&#xA;&lt;p&gt;If rendering has hidden state then sitecore displays Hidden Rendering located on the following path &lt;em&gt;/sitecore/layout/Renderings/System/WebEdit/Hidden Rendering&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The rendering is a Xsl rendering that's why an instance of XsltRender will be passed to the first argument of Render method of ExecuteRenderer processor and will be used in the following calls.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;at System.Xml.XmlConvert.VerifyNCName(String name, ExceptionType exceptionType)&lt;br /&gt;&#xA;at System.Xml.XmlQualifiedName.Verify()&lt;br /&gt;&#xA;at System.Xml.Xsl.XsltArgumentList.AddParam(String name, String namespaceUri, Object parameter)&lt;br /&gt;&#xA;at Sitecore.Mvc.Presentation.XsltRenderer.AddParameters(XsltArgumentList arguments)&lt;br /&gt;&#xA;at Sitecore.Mvc.Presentation.XsltRenderer.GetArguments()&lt;br /&gt;&#xA;at Sitecore.Mvc.Presentation.XsltRenderer.Render(TextWriter writer)&lt;br /&gt;&#xA;at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(&lt;strong&gt;Renderer renderer&lt;/strong&gt;, TextWriter writer, RenderRenderingArgs args)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Then all necessary information is added to xslt argument list including data from each rendering parameter&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;at Sitecore.Mvc.Presentation.XsltRenderer.AddParameters(XsltArgumentList arguments)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Before adding each key, it is checked that the name is a &lt;a href=&quot;https://www.w3.org/TR/xmlschema-2/#NCName&quot; rel=&quot;noreferrer&quot;&gt;valid NCName as recommended by the W3C Extended Markup Language&lt;/a&gt;. &lt;a href=&quot;https://stackoverflow.com/a/6159003&quot;&gt;It's cannot contain any whitespaces&lt;/a&gt;, that's why it throws an exception&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;at System.Xml.XmlConvert.VerifyNCName(String name, ExceptionType exceptionType)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="5797" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-22T13:27:11.597" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20004" PostTypeId="1" CreationDate="2019-07-22T14:05:50.327" Score="1" ViewCount="61" Body="&lt;p&gt;Is there a way to move items back to the original folder? I'm asking this because I accidentally moved multiple items from different folders to a single folder. And now, problem is that I could not figure out which item belongs to which folder.&lt;/p&gt;&#xA;" OwnerUserId="5799" LastActivityDate="2019-07-22T14:11:54.640" Title="How to move item back to original folder" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20006" PostTypeId="2" ParentId="20004" CreationDate="2019-07-22T14:11:54.640" Score="2" Body="&lt;p&gt;It doesn't exist such a functionality out of the box. But you can check in your logs what items were move. &#xA;You will see something like in the logs file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;33268 17:09:46 INFO  AUDIT (sitecore\admin): Move item: master:/sitecore/content/Website/Error, language: en, version: 1, id: {94ABEF89-B177-4F72-AA5A-AE8A8AEA4D8F} to sitecore://master/{09503406-D423-445B-B82A-AD9F4623F524}?lang=en&amp;amp;ver=1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-07-22T14:11:54.640" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20007" PostTypeId="1" AcceptedAnswerId="20362" CreationDate="2019-07-22T14:23:36.797" Score="1" ViewCount="3750" Body="&lt;p&gt;I am working with &lt;code&gt;Sitecore Forms&lt;/code&gt;. The forms submit without any error while previewing within &lt;code&gt;experience editor&lt;/code&gt; for both Master and Web databases. But, when I check in a &lt;code&gt;Content-Delivery (CD)&lt;/code&gt; URL locally by adding my IP in IIS, I am getting the following error, and the form also does not submit as expected.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/7KbNX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7KbNX.png&quot; alt=&quot;Error Message&quot;&gt;&lt;/a&gt;&#xA;&lt;code&gt;Sitecore version: 9.1.1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This error was displayed while in the Console section (Chrome browser - Inspect menu option) as 500 Internal Server error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While searching the internet, I found that the models should not have two keys, but I have verified all my code, there are no two variables with the same name (such as username and UserName)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please assist. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="4515" LastEditorUserId="73" LastEditDate="2019-08-08T10:38:18.213" LastActivityDate="2019-08-08T10:38:18.213" Title="An item with the same key has already been added" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20008" PostTypeId="2" ParentId="20002" CreationDate="2019-07-22T15:14:28.360" Score="2" Body="&lt;p&gt;Identity Server uses Sitecore Host which does support patching. Surprise!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/configuration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/configuration.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you're doing an Azure AD integration, Sitecore provides a plugin out of the box for that and you can either modify that config directly or patch yours in. In your Identity Server folder, look under &lt;code&gt;\sitecore\Sitecore.Plugin.IdentityProvider.AzureAd\Config&lt;/code&gt; for the config.&lt;/p&gt;&#xA;" OwnerUserId="5754" LastActivityDate="2019-07-22T15:14:28.360" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20009" PostTypeId="2" ParentId="16721" CreationDate="2019-07-22T15:15:55.713" Score="2" Body="&lt;p&gt;With xConnect off, the website will keep working BUT if you have any xConnect/Tracker code that is not null checked, it will fail. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore.Tracker?.Current?......&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if(Tracker.Current?.IsActive == true)&#xA;{&#xA;    // do stuff&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All of the Analytics related actions in Sitecore forms will cause the forms to stop working. And action that happens after the failing analytics action will not run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Marketing Automation, Processing Engine and xConnect Search Indexer are just services and run out of channel from the website. None of the MA will run and any xConnect searching will be out of date.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-07-22T15:15:55.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20010" PostTypeId="2" ParentId="20002" CreationDate="2019-07-22T15:22:45.433" Score="8" Body="&lt;p&gt;Sitecore Host (the platform Sitecore Identity is built on) does have a &quot;patching&quot; mechanism for configuration files that is an extension of the default ASP.NET Core configuration builder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When a Sitecore Host application such is Sitecore Identity runs, Sitecore Host performs a merge of all of the &lt;code&gt;.xml&lt;/code&gt; configuration files in the various folders in the application. Sitecore has provided a diagram showing the order in which values are determined: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xh12K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xh12K.png&quot; alt=&quot;Sitecore Host configuration load order&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This configuration merge process happens at application initialization, so any configuration value defined in an &lt;code&gt;.xml&lt;/code&gt; file could be overridden at the command line or through environment variables.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of how the merge process works is shown below. You'll notice that the &lt;code&gt;&amp;lt;Debug&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;Root&amp;gt;&lt;/code&gt; values are both in the merged configuration and since &lt;code&gt;File2.xml&lt;/code&gt; is the one that takes precedence, &lt;code&gt;&amp;lt;MyValue&amp;gt;&lt;/code&gt; contains the value of what is in &lt;code&gt;File2.xml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;File1.xml&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;Diagnostics&amp;gt;&#xA;      &amp;lt;Debug&amp;gt;true&amp;lt;/Debug&amp;gt;&#xA;      &amp;lt;MyValue&amp;gt;First&amp;lt;/MyValue&amp;gt;&#xA;    &amp;lt;/Diagnostics&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;File2.xml&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;Diagnostics&amp;gt;&#xA;      &amp;lt;Root&amp;gt;Alt&amp;lt;/Root&amp;gt;&#xA;      &amp;lt;MyValue&amp;gt;Second&amp;lt;/MyValue&amp;gt;&#xA;    &amp;lt;/Diagnostics&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Merged configuration&lt;/h3&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;Diagnostics&amp;gt;&#xA;      &amp;lt;Debug&amp;gt;true&amp;lt;/Debug&amp;gt;&#xA;      &amp;lt;Root&amp;gt;Alt&amp;lt;/Root&amp;gt;&#xA;      &amp;lt;MyValue&amp;gt;Second&amp;lt;/MyValue&amp;gt;&#xA;    &amp;lt;/Diagnostics&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As a best practice, all custom &lt;code&gt;.xml&lt;/code&gt; config files should be placed in the &lt;code&gt;sitecoreruntime&lt;/code&gt; folder. Any configuration in the &lt;code&gt;sitecoreruntime&lt;/code&gt; folder will take precedence over any other config file (with the exception of command line overrides and environment variables).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In addition, you can use Sitecore-style configuration patching syntax such as &lt;code&gt;patch:before&lt;/code&gt;, &lt;code&gt;patch:after&lt;/code&gt;, etc. to patch specific values. A sample is shown below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;     &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site patch:before=&quot;*[@name='website']&quot; name=&quot;mysite&quot; /&amp;gt;&#xA;      &amp;lt;site patch:after=&quot;*[@name='website']&quot; name=&quot;mysite2&quot; /&amp;gt;&#xA;      &amp;lt;site patch:delete=&quot;*[@name='website']&quot; name=&quot;mysite2&quot; /&amp;gt;&#xA;      &amp;lt;site patch:instead=&quot;*[@name='website']&quot; name=&quot;mysite2&quot; /&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;&#xA;       MyNewValue&#xA;      &amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you have your values patched as you need it, you can access the final merged/patched configuration from the injected &lt;code&gt;ISitecoreConfiguration&lt;/code&gt; object.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;_Source: &lt;a href=&quot;https://doc.sitecore.com/developers/92/sitecore-experience-management/en/configuration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/92/sitecore-experience-management/en/configuration.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="7" LastEditorUserId="73" LastEditDate="2019-07-23T09:08:30.997" LastActivityDate="2019-07-23T09:08:30.997" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20011" PostTypeId="1" CreationDate="2019-07-22T15:30:59.327" Score="0" ViewCount="35" Body="&lt;p&gt;On the shared site setup, no search results being returned when Geofiltering is applied. On the page load, results are rendered on the page. We noticed the below search query being generated when geo filtering is applied&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;({!geofilt pt=36.0402159,-115.2244853 sfield=geolocation_rpt d=0 score=distance filter=false} &#xA;AND ((_template:(1b15892a20924d28bea7d509c9711d05) AND (_path:(**Consumer site ID**) AND ispoi_b:(True))) AND _latestversion:(True)))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We believe the search query should be one of the following &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;({!geofilt pt=32.7630226,-96.3013432 sfield=geolocation_rpt d=0 score=distance filter=false} AND &#xA;((_template:(1b15892a20924d28bea7d509c9711d05) AND (_path:(**Shared site ID**) AND ispoi_b:(True))) AND _latestversion:(True)))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;({!geofilt pt=32.7630226,-96.3013432 sfield=geolocation_rpt d=50 score=distance filter=true} AND &#xA;((_template:(1b15892a20924d28bea7d509c9711d05) AND ((_path:(**Consumer site ID**) OR _path:(**Shared site ID**)) AND ispoi_b:(True))) AND _latestversion:(True)))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the Solr UI interface, both the above queries are working for the Geo filtering. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any thoughts or suggestions to make it work?&lt;/p&gt;&#xA;" OwnerUserId="5800" LastEditorUserId="851" LastEditDate="2019-07-23T08:57:27.680" LastActivityDate="2019-07-23T08:57:27.680" Title="Geofiltering does not work on the Shared site setup using SXA 1.7.0" Tags="|sxa|solr|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20012" PostTypeId="1" CreationDate="2019-07-22T15:41:05.417" Score="0" ViewCount="1452" Body="&lt;p&gt;I have a legacy MVC action I'm trying to enhance for some limited number of cases.  The solution I'm working on uses rendering parameters to impact the behavior of the control.  To demonstrate the concept, I began with adding parameters to one of the rendering in question.  Note: I'd prefer to do this without a rendering template, opting instead for the generic &quot;additional parameters&quot; fields on the rendering: &#xA;  &lt;a href=&quot;https://i.stack.imgur.com/UupFW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UupFW.png&quot; alt=&quot;[1]: https://i.stack.imgur.com/yPhWs.png&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my controller action, I attempt to read those parameters:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string testValue = RenderingContext.Current.Rendering.Parameters[&quot;TestValue&quot;];&#xA;if (!testValue.IsNullOrEmpty())&#xA;{&#xA;  // Do some things with the value&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, according the the debugger, &lt;code&gt;RenderingContext.Current.Rendering.Parameters&lt;/code&gt; is an empty collection in the controller-action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it required that I use a Rendering parameters template?  Is there some setting I need to touch to pass generic rendering params to the context?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Updated with a bit more investigation based on the comments:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;RenderingContext.Current.Rendering.&lt;/code&gt; I get an ID I can-not match (that changes on subsequent executions).  The same context lists the deviceID and LayoutID as &lt;code&gt;{00000000-0000-0000-0000-000000000000}&lt;/code&gt;, which doesn't seem correct.&lt;br&gt;&#xA;I checked renderings using &lt;code&gt;Sitecore.Context.Item.Visualization.GetRenderings(Sitecore.Context.Device, false)&lt;/code&gt;, and it did contain the rendering I expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case, I know the control will only be included once, so I was able to resolve the correct settings looking for the ID of the rendering&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ID contentDetailRenderingId = new ID(&quot;{B852FF27-F4E5-4E70-85B7-CB60A860F59F}&quot;);&#xA;RenderingReference[] renderings = Sitecore.Context.Item.Visualization.GetRenderings(Sitecore.Context.Device, false);&#xA;RenderingReference rendering = renderings.FirstOrDefault(x=&amp;gt;x.RenderingID == contentDetailRenderingId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, I'd have greatly preferred to match to something from the context rather than a constant-guid.&lt;br&gt;&#xA;I suspect my specific issue may have to do with device resolution, and I haven't been able to resolve that yet.  That said, I'm still looking for anything in the &lt;code&gt;RenderingContext&lt;/code&gt; I can use to properly ID the rendering configuration in the presentation details.&lt;/p&gt;&#xA;" OwnerUserId="19" LastEditorUserId="19" LastEditDate="2019-07-23T13:28:25.250" LastActivityDate="2019-07-23T13:28:25.250" Title="Unable to retrieve rendering parameter in controller" Tags="|presentation|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="20013" PostTypeId="2" ParentId="9891" CreationDate="2019-07-22T15:48:57.387" Score="0" Body="&lt;p&gt;I tried the suggestion of adding &lt;code&gt;Sitecore Client Account Managing&lt;/code&gt; OR &lt;code&gt;Sitecore Client Authoring&lt;/code&gt; roles but these were problematic in the following ways:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Adding &lt;strong&gt;Sitecore Client Account Managing&lt;/strong&gt; resolved the issue but gave&#xA;our editors have access to too many user management functions&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Adding &lt;strong&gt;Sitecore Client Authoring&lt;/strong&gt; didn't resolve the issue&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;What resolved the issue for me was doing the following:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Navigate to the following item in the Core database&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;  /sitecore/content/Applications/Security/Edit User&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click on Access Viewer under Security&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use the Security Editor to give Read permissions to the role&#xA;which needs to see the '&lt;code&gt;Select Roles&lt;/code&gt;' page&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;(Resolved in Sitecore 8.2 Update 7)&lt;/p&gt;&#xA;" OwnerUserId="5801" LastEditorUserId="5278" LastEditDate="2023-08-11T02:52:20.863" LastActivityDate="2023-08-11T02:52:20.863" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20014" PostTypeId="1" AcceptedAnswerId="20018" CreationDate="2019-07-22T18:04:22.293" Score="4" ViewCount="167" Body="&lt;p&gt;Something really weird. I have a custom Submit action for my forms that works great. But when I try and access the &lt;code&gt;Sitecore.Analytics.Tracker&lt;/code&gt;, it is null. But only when in Ajax mode. When Ajax is turned off and normal POST actions are performed it works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;No errors in the log and all Sitecore related properties seem fine; Like site, context, DB, page, etc... Its like it is just turned off in Ajax mode. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SendMailAction : SubmitActionBase&amp;lt;SendMailActionData&amp;gt;&#xA;{&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Anyone experienced this?&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I tried to use &lt;code&gt;AnalyticsActionBase&lt;/code&gt; from &lt;code&gt;Sitecore.ExperienceForms.SubmitActions&lt;/code&gt;, but it only exposes adding Goals, Campaigns and Outcomes. Not the tracker itself. &lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-07-23T14:59:15.653" LastActivityDate="2019-07-23T14:59:15.653" Title="Sitecore Tracker not active for Forms in Ajax mode" Tags="|xdb|xconnect|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20015" PostTypeId="6" CreationDate="2019-07-22T20:24:28.777" Score="0" Body="&lt;p&gt;My name is Kamruz Jaman, a Sitecore Technology MVP 2013-2019. Many will know me as &lt;em&gt;jammykam&lt;/em&gt; from around the community.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to nominate myself:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;One of the early members of the platform and promoters of SSE since Area 51 inception&lt;/li&gt;&#xA;&lt;li&gt;Long time Stack user, and all time #2 user points on &lt;a href=&quot;https://stackoverflow.com/tags/sitecore/topusers&quot;&gt;StackOverflow Sitecore tag&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Admin of Sitecore Slack community chat&lt;/li&gt;&#xA;&lt;li&gt;I have a rational thought process, and deal with most situations in a friendly, approachable and logical manner&lt;/li&gt;&#xA;&lt;li&gt;Huge contributor to this community for a long time, always try to go above and beyond to help people where I can&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My weakness has been a lack of moderation on this site and I am fully aware of this shortcoming, but a challenge that I can easily rise to and look forward to. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Current mods do an excellent job on the site, and feel I would complement the team well in terms of knowledge, experience and dedication to continue promoting this community to help get us out of beta phase. A well moderated and active site is a key part of this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please free to ask any questions or raise any concerns you may have and I will be happy to try address them.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2019-07-22T20:24:28.777" LastActivityDate="2019-07-22T20:24:28.777" CommentCount="0" CommunityOwnedDate="2019-07-22T20:24:28.777" ContentLicense="CC BY-SA 4.0" />
  <row Id="20016" PostTypeId="2" ParentId="16721" CreationDate="2019-07-22T21:01:08.167" Score="1" Body="&lt;p&gt;&lt;strong&gt;The question:  What happens to the experience if xConnect is down?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h1&gt;Sitecore&lt;/h1&gt;&#xA;&lt;h2&gt;Content Delivery Role&lt;/h2&gt;&#xA;&lt;h3&gt;Session Data&lt;/h3&gt;&#xA;&lt;p&gt;The Content Delivery Role uses the SessionEnd of the HTTP Request lifecycle to push session data to the xConnect Collection Service.  When the xConnect Collection Service is down, Sitecore CD will wait until services are restored and then push data from the sessions.&lt;/p&gt;&#xA;&lt;p&gt;If using InProc session management, and the CD server recycles it's app pool before it's able to push the session to the Collection Service, that session information is lost.&lt;/p&gt;&#xA;&lt;p&gt;Recommended practice is to use a Session database like SQL or Redis.&lt;/p&gt;&#xA;&lt;h3&gt;Tracker and Identification&lt;/h3&gt;&#xA;&lt;p&gt;If the xConnect Collection Service is down, Tracker and xConnect Submit batches will fail. This will mean personalization will not fire, but the Site will still work.&lt;/p&gt;&#xA;&lt;p&gt;Assuming there's a Session Cookie, session data will still collect.&lt;/p&gt;&#xA;&lt;h2&gt;Content Management Role&lt;/h2&gt;&#xA;&lt;h3&gt;Analytics and Marketing Operations&lt;/h3&gt;&#xA;&lt;p&gt;If the xConnect Reference Data service is down:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Most Analytics reporting will not show.&lt;/li&gt;&#xA;&lt;li&gt;Experience Profile will not show users.&lt;/li&gt;&#xA;&lt;li&gt;List Segments will not display&lt;/li&gt;&#xA;&lt;li&gt;Marketing Automation will not work.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2&gt;Processing Role&lt;/h2&gt;&#xA;&lt;p&gt;If xConnect Collection Search Indexer is down, the processing pools will not hydrate and the processing server will not do anything.&lt;/p&gt;&#xA;&lt;p&gt;If the xConnect Reference Data service is down, Processing will error out with xConnect Issues.  The processing pool should remain until the problem is resolved.&lt;/p&gt;&#xA;&lt;h2&gt;Reporting Role&lt;/h2&gt;&#xA;&lt;p&gt;The Reporting Role of Sitecore does not have a dependence on xConnect. Merely the Reporting Database in SQL.&lt;/p&gt;&#xA;&lt;h1&gt;xConnect&lt;/h1&gt;&#xA;&lt;h2&gt;Collection Service&lt;/h2&gt;&#xA;&lt;p&gt;If this service is down, no collection of data from the CD (or CM if running the xDB migration tool) will occur.&lt;/p&gt;&#xA;&lt;h2&gt;Collection Search Index Worker&lt;/h2&gt;&#xA;&lt;p&gt;If this service is down, the &lt;strong&gt;xdb&lt;/strong&gt; index will not update.&lt;/p&gt;&#xA;&lt;h2&gt;Reference Data&lt;/h2&gt;&#xA;&lt;p&gt;If this service is down, Marketing Automation Engine and Sitecore Analytics will not work.&lt;/p&gt;&#xA;&lt;h2&gt;Marketing Automation Engine&lt;/h2&gt;&#xA;&lt;p&gt;If this service is down, Marketing Automation plans will not advance.&lt;/p&gt;&#xA;&lt;h2&gt;Marketing Automation Reporting&lt;/h2&gt;&#xA;&lt;p&gt;If this service is down, reporting in Marketing Automation will not work.&lt;/p&gt;&#xA;&lt;h2&gt;Cortex Processing&lt;/h2&gt;&#xA;&lt;p&gt;If this service is down, ML Cortex processing will not work.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-22T21:01:08.167" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20017" PostTypeId="6" CreationDate="2019-07-22T21:11:20.617" Score="0" Body="&lt;p&gt;My name is Chris Auer, Sitecore MVP 2017-2019. I am nominating myself as a moderator.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am pretty narrowly focused on the Sitecore Analytics side of the code and community. Spending most of my time in xDB, xConnect, personalization, XP, XA, and direct work on the Shard DBs. I feel that my deeper focus on xDB can help to bolster the moderation on the site. The community is great and I only hope to make it better.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I am a long time user of SSE&lt;/li&gt;&#xA;&lt;li&gt;It wasn't that long ago where I was trying to figure Sitecore out. I am compassionate to new users and their questions (and understand they may not yet know how to ask the right question).&lt;/li&gt;&#xA;&lt;li&gt;I spend most of my community time on Stack Exchange.&lt;/li&gt;&#xA;&lt;li&gt;I work a lot :) and for good or bad, I am always around to lend a hand.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The current mods (and I am sure anyone else who nominates themselves) are great people, and I know most of them very well. We will be excellent with any of them. My knowledge is not as diverse across the platform as some, but I think my deep knowledge in focused areas would be an asset to the community.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for your time.&#xA;Please feel free to reach out.&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-07-22T21:11:20.617" LastActivityDate="2019-07-22T21:11:20.617" CommentCount="0" CommunityOwnedDate="2019-07-22T21:11:20.617" ContentLicense="CC BY-SA 4.0" />
  <row Id="20018" PostTypeId="2" ParentId="20014" CreationDate="2019-07-23T03:35:31.810" Score="2" Body="&lt;p&gt;I also faced same issue so I have applied below code and it resolved my issue:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Tracker.Current == null &amp;amp;&amp;amp; Tracker.Enabled) { &#xA;Tracker.StartTracking(); &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-07-23T04:58:29.223" LastActivityDate="2019-07-23T04:58:29.223" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20023" PostTypeId="1" CreationDate="2019-07-23T05:19:03.583" Score="0" ViewCount="541" Body="&lt;p&gt;Similar to this question &lt;a href=&quot;https://sitecore.stackexchange.com/questions/540/sitecore-instance-manager-developer-environment-setup&quot;&gt;Sitecore Instance Manager developer environment setup&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do you setup a new Dev environment to work against an existing Sitecore instance/DB? (e.g. onboarding a new dev)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears that SIM wants to always make a new SQL Server DB in addition to getting the base Sitecore files, but I don't want every developer to have their own local Dev DB... they should work against the existing Sitecore Dev instance DB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Really it'd be great if I could just get the base Sitecore install files, on our machine, then deploy our custom code (e.g. custom ConnectionStrings.config) into that install folder, so it points to the existing Sitecore instance we want to develop against and has our code customizations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If SIM is not the right tool, what is? How do you go about this? (I'd expect this is an easy question - think of every typical .NET MVC app you've worked on... get latest and click play...)&lt;/p&gt;&#xA;" OwnerUserId="5086" LastEditorUserId="5086" LastEditDate="2019-07-23T14:53:09.800" LastActivityDate="2019-07-24T16:25:04.583" Title="How to use SIM to setup dev environment for existing Sitecore instance?" Tags="|installation|sim|" AnswerCount="2" CommentCount="4" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20024" PostTypeId="1" AcceptedAnswerId="20025" CreationDate="2019-07-23T06:13:22.653" Score="0" ViewCount="1004" Body="&lt;p&gt;Using Sitecore 9.1 I'm trying to add some custom index fields and my config patch is throwing the below error when I add &lt;code&gt;AddFieldByField&lt;/code&gt; name elements:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[ConfigurationException: Unable to process 'AddFieldByFieldName'&#xA;  config section.]&lt;br&gt;&#xA;  Sitecore.ContentSearch.SolrProvider.SolrFieldMap.AddFieldByFieldName(XmlNode&#xA;  configNode) +909&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TargetInvocationException: Exception has been thrown by the target of&#xA;  an invocation.]    System.RuntimeMethodHandle.InvokeMethod(Object&#xA;  target, Object[] arguments, Signature sig, Boolean constructor) +0&lt;br&gt;&#xA;  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,&#xA;  Object[] parameters, Object[] arguments) +128&lt;br&gt;&#xA;  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags&#xA;  invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;  +142    Sitecore.Configuration.DefaultFactory.AssignProperties(Object obj, Object[] properties) +859&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode&#xA;  configNode, String[] parameters, Object obj, Boolean assert, Boolean&#xA;  deferred, IFactoryHelper helper) +620&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper) +320&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert) +72&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode&#xA;  paramNode, String[] parameters, Boolean assert) +109&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode&#xA;  configNode, String[] parameters, Object obj, Boolean assert, Boolean&#xA;  deferred, IFactoryHelper helper) +527&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper) +320&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert) +72&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(String configPath,&#xA;  String[] parameters, Boolean assert) +703&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode&#xA;  configNode, String[] parameters, Boolean assert) +170&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper) +116&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert) +72&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode&#xA;  paramNode, String[] parameters, Boolean assert) +109&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode&#xA;  configNode, String[] parameters, Object obj, Boolean assert, Boolean&#xA;  deferred, IFactoryHelper helper) +527&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper) +320&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert) +72&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode&#xA;  paramNode, String[] parameters, Boolean assert) +941&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode&#xA;  configNode, String[] parameters, Object obj, Boolean assert, Boolean&#xA;  deferred, IFactoryHelper helper) +527&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert, IFactoryHelper helper) +320&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode,&#xA;  String[] parameters, Boolean assert) +72&lt;br&gt;&#xA;  Sitecore.Configuration.DefaultFactory.CreateObject(String configPath,&#xA;  String[] parameters, Boolean assert) +703&lt;br&gt;&#xA;  Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration()&#xA;  +311    Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.Initialize()&#xA;  +21    (Object , Object ) +9    Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&lt;br&gt;&#xA;  Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,&#xA;  PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;  +236    Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Application_Start() +215&lt;br&gt;&#xA;  Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +1184&lt;br&gt;&#xA;  System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr&#xA;  appContext, HttpContext context, MethodInfo[] handlers) +581&lt;br&gt;&#xA;  System.Web.HttpApplication.InitSpecial(HttpApplicationState state,&#xA;  MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168&lt;br&gt;&#xA;  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr&#xA;  appContext, HttpContext context) +277&lt;br&gt;&#xA;  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr&#xA;  appContext) +369&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[HttpException (0x80004005): Exception has been thrown by the target&#xA;  of an invocation.]&lt;br&gt;&#xA;  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532&lt;br&gt;&#xA;  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)&#xA;  +111    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest&#xA;  wr, HttpContext context) +714&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If I comment out those 3 elements then site loads fine.  My patch is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultEventsIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;EventDetails&amp;gt;{5C873C37-68F7-4B90-BE99-C60083AE459F}&amp;lt;/EventDetails&amp;gt;&#xA;&#xA;            &amp;lt;/include&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;&#xA;              &amp;lt;contentheading&amp;gt;{119570A4-0810-4D81-88CD-E64E4D4DD0D6}&amp;lt;/contentheading&amp;gt;&#xA;              &amp;lt;contentintro&amp;gt;{239319A2-488E-4CA9-B0C9-99876FA8B74F}&amp;lt;/contentintro&amp;gt;&#xA;              &amp;lt;startdate&amp;gt;{83D79FDC-7D0C-412F-9F9F-F007C17A52C0}&amp;lt;/startdate&amp;gt;&#xA;&#xA;            &amp;lt;/include&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;!--&amp;lt;field fieldName=&quot;urllink&quot;&amp;gt;TAC.Utils.Search.UrlComputedField, TAC.Utils&amp;lt;/field&amp;gt;--&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;          &amp;lt;initializeOnAdd&amp;gt;false&amp;lt;/initializeOnAdd&amp;gt;&#xA;          &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;typeMatches hint=&quot;raw:AddTypeMatch&quot;&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;text&quot; type=&quot;System.String&quot; fieldNameFormat=&quot;{0}_t&quot; cultureFormat=&quot;_{1}&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;datetime&quot; type=&quot;System.DateTime&quot; fieldNameFormat=&quot;{0}_tdt&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss.FFF'Z'&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;              &amp;lt;typeMatch typeName=&quot;string&quot; type=&quot;System.String&quot; fieldNameFormat=&quot;{0}_s&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot; /&amp;gt;&#xA;            &amp;lt;/typeMatches&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;contentheading&quot; returntype=&quot;text&quot;/&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;contentintro&quot; returntype=&quot;text&quot;/&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;startdate&quot; returntype=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot;/&amp;gt;&#xA;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;          &amp;lt;!-- **** Inherited default configuration **** --&amp;gt;&#xA;          &amp;lt;fieldReaders ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldReaders&quot; /&amp;gt;&#xA;          &amp;lt;indexFieldStorageValueFormatter ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/indexFieldStorageValueFormatter&quot; /&amp;gt;&#xA;          &amp;lt;indexDocumentPropertyMapper ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/indexDocumentPropertyMapper&quot; /&amp;gt;&#xA;          &amp;lt;documentBuilderType ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/documentBuilderType&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;/defaultEventsIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Not sure what I'm missing as the fieldMap section contains the types of my fields (as suggested by other posts).&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-07-23T06:23:24.493" Title="Unable to AddFieldByFieldName elements for custom index" Tags="|content-search|solr|indexing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20025" PostTypeId="2" ParentId="20024" CreationDate="2019-07-23T06:23:24.493" Score="3" Body="&lt;p&gt;Sitecore configs are case sensitive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your config contains &lt;code&gt;returntype&lt;/code&gt; with lowercase &lt;code&gt;t&lt;/code&gt; character.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be &lt;code&gt;returnType&lt;/code&gt; with capitacl case &lt;code&gt;T&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;contentheading&quot; returnType=&quot;text&quot;/&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;contentintro&quot; returnType=&quot;text&quot;/&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;startdate&quot; returnType=&quot;datetime&quot; format=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot;/&amp;gt;&#xA;&amp;lt;/fieldNames&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-23T06:23:24.493" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20026" PostTypeId="1" AcceptedAnswerId="20579" CreationDate="2019-07-23T06:40:54.087" Score="0" ViewCount="367" Body="&lt;p&gt;I've cloned the repository &lt;a href=&quot;https://github.com/Sitecore/docker-images&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/docker-images&lt;/a&gt;. Now when I am trying to run one of the images I am getting error message &lt;code&gt;no matching manifest for unknown in the manifest list entries&lt;/code&gt; . I am trying to follow this blog &lt;a href=&quot;http://blog.martinmiles.net/post/starting-with-docker-and-sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://blog.martinmiles.net/post/starting-with-docker-and-sitecore&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions?&lt;a href=&quot;https://i.stack.imgur.com/8z88t.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8z88t.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="73" LastEditDate="2021-06-02T12:32:20.830" LastActivityDate="2023-09-13T09:41:49.623" Title="No matching manifest for unknown in the manifest list entries" Tags="|docker|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20027" PostTypeId="1" CreationDate="2019-07-23T07:24:45.200" Score="2" ViewCount="33" Body="&lt;p&gt;Can we create page filters programmatically for external website in FXM and then associate marketing functions like goals, events etc. programmatically to those page filters? &lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-07-23T07:24:45.200" Title="Can we add Page filters programmatically?" Tags="|fxm|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20029" PostTypeId="1" AcceptedAnswerId="20030" CreationDate="2019-07-23T07:28:03.623" Score="1" ViewCount="329" Body="&lt;p&gt;I have a Sitecore Form which consists of the following fields:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Form Body (Page element) contains: Email and Submit Button&lt;/li&gt;&#xA;&lt;li&gt;Success Page (Page element)&lt;/li&gt;&#xA;&lt;li&gt;Error Page (Page element)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;On the click of &lt;code&gt;Submit Button&lt;/code&gt;, a custom &lt;code&gt;Submit Action&lt;/code&gt; will be called and it will perform some logic. For the moment I am able to call the &lt;code&gt;Success Page&lt;/code&gt; by using the &lt;code&gt;Navigation&lt;/code&gt; Step as &lt;code&gt;Next&lt;/code&gt;, but I in case of failure &lt;code&gt;Error Page&lt;/code&gt; should be called. How can I achieve this functionality in the Sitecore Forms?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastActivityDate="2019-07-23T11:26:25.097" Title="Call Page element in Sitecore Forms" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20030" PostTypeId="2" ParentId="20029" CreationDate="2019-07-23T07:56:07.763" Score="1" Body="&lt;p&gt;I don't think it's possible without custom code - I see 2 options in that case:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a custom field that can verify your result and display the correct information on your page (in this case the success page and error page will merge into one page)&lt;/li&gt;&#xA;&lt;li&gt;Based upon the &lt;code&gt;ShowFormPage&lt;/code&gt; from the Sitecore Forms Extensions (&lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/src/Feature/FormsExtensions/code/SubmitActions/ShowFormPage&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/src/Feature/FormsExtensions/code/SubmitActions/ShowFormPage&lt;/a&gt;) you could change your submit action to do something almost identical. The action from the extensions can takes one &lt;code&gt;formPageId&lt;/code&gt; - if you extend this to enable it to take 2 of those id's (one for error and one for submit) you will have exactly what you need. &#xA;This solution sets the correct page id in context, and uses the form render pipeline &lt;code&gt;&amp;lt;forms.renderForm&amp;gt;&lt;/code&gt; to set the correct parameters in the &lt;code&gt;NavigationData&lt;/code&gt; part of the &lt;code&gt;formRenderingContext&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In case of the (preferred) 2nd solution:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install the Sitecore Forms Extensions module first (grab it from the marketplace)&lt;/li&gt;&#xA;&lt;li&gt;Change your code towards the ShowFormPage as mentioned above (you'll need 2 id's in the context though)&lt;/li&gt;&#xA;&lt;li&gt;Configure everything in Sitecore: you'll need you own version of the editor for the field (check &lt;code&gt;/sitecore/client/Applications/FormsBuilder/Components/Layouts/Actions/ShowFormPage&lt;/code&gt; to see how it is done in the module) and link that to your submit action (check &lt;code&gt;/sitecore/system/Settings/Forms/Submit Actions/Show Form Page&lt;/code&gt; from the module as example)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-07-23T11:26:25.097" LastActivityDate="2019-07-23T11:26:25.097" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="20031" PostTypeId="1" AcceptedAnswerId="20079" CreationDate="2019-07-23T08:47:26.630" Score="1" ViewCount="310" Body="&lt;p&gt;&lt;strong&gt;User scenario is as follows:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Anonymous user navigates to website home page&lt;/li&gt;&#xA;&lt;li&gt;Automatically redirected to /login, which detects user is not authenticated &amp;amp; redirects to ADFS&lt;/li&gt;&#xA;&lt;li&gt;User authenticates on ADFS &amp;amp; redirects back to /login&lt;/li&gt;&#xA;&lt;li&gt;Login page processes the ADFS data, logs the user in as a virtual user, adds some Sitecore role &amp;amp; redirects user&lt;/li&gt;&#xA;&lt;li&gt;Users ends up on page they originally requested on step 1&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Depending on the route taken, you get a different result&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Route 1:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;CD 1 (home page)&lt;/li&gt;&#xA;&lt;li&gt;CD 1 (/login)&lt;/li&gt;&#xA;&lt;li&gt;External (ADFS)&lt;/li&gt;&#xA;&lt;li&gt;CD 1 (/login) - Sitecore roles applied&lt;/li&gt;&#xA;&lt;li&gt;CD 1 (home page) - user has retained the Sitecore roles applied&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Route 2:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;CD 1 (home page)&lt;/li&gt;&#xA;&lt;li&gt;CD 1 (/login)&lt;/li&gt;&#xA;&lt;li&gt;External (ADFS)&lt;/li&gt;&#xA;&lt;li&gt;CD 1 (/login) - Sitecore roles applied&lt;/li&gt;&#xA;&lt;li&gt;CD 2 (home page) - user is missing the Sitecore roles applied from step 4&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you refresh the page on step 5, and receive CD 2 again the roles will be present. To test a theory, we added a 2 second delay after the roles have been saved to the user, step 4. In that instance, scenario 2 persists the roles after the redirect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The above scenario &amp;amp; routes have been tested manually and also put through a load test to create higher volume.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Azure Landscape&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Application Gateway &gt;&gt; Load Balancer &gt;&gt; 3 x CD (Virtual Machine Scale Set - D4s_v3) &gt;&gt; Redis (Standard C2)&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Edit 1:&lt;/em&gt; Removed notion of Redis as it's clear it's not part of the equation.&lt;/p&gt;&#xA;" OwnerUserId="720" LastEditorUserId="720" LastEditDate="2019-07-25T08:10:33.720" LastActivityDate="2019-07-25T08:10:33.720" Title="Why are Sitecore roles not persisting quick enough when using a scaled CD?" Tags="|azure|scaling|content-delivery|role-management|permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20032" PostTypeId="1" CreationDate="2019-07-23T11:09:59.543" Score="5" ViewCount="1071" Body="&lt;p&gt;Whilst trying to install &lt;code&gt;Sitecore 9.2&lt;/code&gt; using either &lt;code&gt;SIF&lt;/code&gt; or &lt;code&gt;SIA&lt;/code&gt; we are seeing both approaches error with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Waiting for service 'Sitecore Marketing Automation Engine - ###-MarketingAutomationService (###-MarketingAutomationService)' to start...&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then the installs just timeout&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UXFRU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UXFRU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked in the logs - &lt;code&gt;C:\inetpub\wwwroot\*.xconnect\App_Data\jobs\continuous\AutomationEngine\App_Data\logs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And can see this stacktrace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;2019-07-23 11:29:50.250 +01:00 [Error] Failed to start the Marketing Automation Engine service.&#xA;System.InvalidOperationException: This configuration has not been initialized. Please call the initialize method before using it.&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.CheckInitialized()&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.get_CurrentModel()&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Sitecore.XConnect.Configuration.Extensions.c__DisplayClass24_0.b__1(IServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitTransient(TransientCallSite transientCallSite, ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.c__DisplayClass1_0.b__0(ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)&#xA;   at Sitecore.Xdb.MarketingAutomation.Engine.App.ServiceConfiguration.get_Engine()&#xA;   at Sitecore.Xdb.MarketingAutomation.Engine.App.EngineService.OnStart(String[] args)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The Windows logs doesn't tell me anything more than this error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/V44Z6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/V44Z6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just wondering if anyone else has experienced the same issues when installing 9.2 Initial Release?&lt;/p&gt;&#xA;" OwnerUserId="1369" LastEditorUserId="70" LastEditDate="2019-07-23T13:36:36.810" LastActivityDate="2020-06-12T18:05:08.770" Title="Install Sitecore 9.2 errors on Waiting for service 'Sitecore Marketing Automation Engine to start" Tags="|xconnect|sitecore-install-framework|installation|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20033" PostTypeId="2" ParentId="20023" CreationDate="2019-07-23T13:46:16.920" Score="1" Body="&lt;p&gt;Welcome to the site! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the &quot;shared&quot; part you want is the database, the easiest way is to install Sitecore and then just update the connection strings after the installation. This will point your installation at the existing databases that you have. You can then delete your new 'empty' databases, or keep them for when you want to switch to &quot;isolated&quot; mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just as a note, working on shared databases can lead to data collisions and file collisions. Most established teams work out a Continuous Integration strategy so that local changes can be isolated, source controlled, and then deployed to a centralized location for testing of collisions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you use Unicorn or TDS you can sync with your local database to serialize the items you have changed and share them with the team, and similarly download from source control the changes by other team members and sync into your system.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2019-07-24T16:25:04.583" LastActivityDate="2019-07-24T16:25:04.583" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="20034" PostTypeId="2" ParentId="20023" CreationDate="2019-07-23T14:37:41.080" Score="1" Body="&lt;h3&gt;SIM Tool&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;With your requirement for remote SQL this might not work. But with SIM you can export an existing instance and then import it again on another dev machine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K48nQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K48nQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ncN5x.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ncN5x.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;PowerShell&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I have also used this PowerShell script to create Sitecore 8 instances in CI environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/patrickperrone/Sitecore-PowerShell-Installer&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/patrickperrone/Sitecore-PowerShell-Installer&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-07-23T14:37:41.080" CommentCount="12" ContentLicense="CC BY-SA 4.0" />
  <row Id="20035" PostTypeId="1" AcceptedAnswerId="20036" CreationDate="2019-07-23T14:39:34.137" Score="1" ViewCount="116" Body="&lt;p&gt;A sitecore restart takes anywhere from 2-5 minutes. Many other CMSes have a screen show to clients while the restart is taking effect. Is there any way to do this in sitecore?&lt;/p&gt;&#xA;" OwnerUserId="5674" LastEditorUserId="73" LastEditDate="2020-10-16T12:15:57.710" LastActivityDate="2020-10-16T12:15:57.710" Title="Is there a way to set a page to show clients while the sitecore site restarts?" Tags="|configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20036" PostTypeId="2" ParentId="20035" CreationDate="2019-07-23T14:51:36.470" Score="4" Body="&lt;p&gt;There is nothing out of the box with Sitecore that provides this. What you are needing is a feature built right into IIS!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/iis/configuration/system.webserver/applicationinitialization/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/iis/configuration/system.webserver/applicationinitialization/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is an example configuration from the article describing the use of a default page during startup.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;   &amp;lt;applicationInitialization&#xA;      doAppInitAfterRestart=&quot;true&quot;&#xA;      skipManagedModules=&quot;true&quot;&#xA;      remapManagedRequestsTo=&quot;filename.htm&quot;&amp;gt;&#xA;      &amp;lt;add initializationPage=&quot;/default.aspx&quot; hostName=&quot;myhost&quot;/&amp;gt;&#xA;   &amp;lt;/applicationInitialization&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-07-23T14:51:36.470" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20038" PostTypeId="1" AcceptedAnswerId="21995" CreationDate="2019-07-23T15:05:57.773" Score="0" ViewCount="399" Body="&lt;p&gt;I am working on Sitecore 9.0.2 with Azure AD B2C for authentication of end users. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Configurations are as shown below: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;owin.identityProviders&amp;gt;&#xA;    &amp;lt;!-- This is the custom processor that gets executed when azure AD posts the token to Sitecore --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.Foundation.Account.Pipelines.AzureAdB2CIdentityProviderProcessor, Sitecore.Foundation.Account&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/owin.identityProviders&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&amp;lt;federatedAuthentication&amp;gt;&#xA;  &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;    &amp;lt;identityProvider id=&quot;Sitecore.AzureAD.B2C&quot; type=&quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;      &amp;lt;param desc=&quot;domainManager&quot; type=&quot;Sitecore.Abstractions.BaseDomainManager&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;caption&amp;gt;Sign with Azure B2C&amp;lt;/caption&amp;gt;&#xA;      &amp;lt;domain&amp;gt;Sitecore&amp;lt;/domain&amp;gt;&#xA;      &amp;lt;icon&amp;gt;signin__azure_adB2C&amp;lt;/icon&amp;gt;&#xA;      &amp;lt;transformations hint=&quot;list:AddTransformation&quot;&amp;gt;&#xA;        &amp;lt;!-- you need to have and Idp Claim for this to work--&amp;gt;&#xA;        &amp;lt;transformation name=&quot;Idp Claim&quot; ref=&quot;federatedAuthentication/sharedTransformations/setIdpClaim&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;transformation name=&quot;map role to idp&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;            &amp;lt;claim name=&quot;idp&quot; value=&quot;Sitecore.AzureAD.B2C&quot; /&amp;gt;&#xA;          &amp;lt;/sources&amp;gt;&#xA;          &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;            &amp;lt;claim name=&quot;http://schemas.microsoft.com/ws/2008/06/identity/claims/role&quot; value=&quot;Sitecore\admin&quot; /&amp;gt;&#xA;          &amp;lt;/targets&amp;gt;&#xA;          &amp;lt;keepSource&amp;gt;true&amp;lt;/keepSource&amp;gt;&#xA;        &amp;lt;/transformation&amp;gt;&#xA;      &amp;lt;/transformations&amp;gt;&#xA;    &amp;lt;/identityProvider&amp;gt;&#xA;  &amp;lt;/identityProviders&amp;gt;&#xA;  &amp;lt;!-- Property initializer assigns claim values to sitecore user properties --&amp;gt;&#xA;  &amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;    &amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;      &amp;lt;map name=&quot;email claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;          &amp;lt;!--claim name--&amp;gt;&#xA;          &amp;lt;source name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&quot; /&amp;gt;&#xA;          &amp;lt;!--property name--&amp;gt;&#xA;          &amp;lt;target name=&quot;Email&quot; /&amp;gt;&#xA;        &amp;lt;/data&amp;gt;&#xA;      &amp;lt;/map&amp;gt;&#xA;      &amp;lt;map name=&quot;Name claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;          &amp;lt;!--claim name--&amp;gt;&#xA;          &amp;lt;source name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&quot; /&amp;gt;&#xA;          &amp;lt;!--property name--&amp;gt;&#xA;          &amp;lt;target name=&quot;Name&quot; /&amp;gt;&#xA;        &amp;lt;/data&amp;gt;&#xA;      &amp;lt;/map&amp;gt;&#xA;    &amp;lt;/maps&amp;gt;&#xA;  &amp;lt;/propertyInitializer&amp;gt;&#xA;  &amp;lt;identityProvidersPerSites&amp;gt;&#xA;    &amp;lt;mapEntry name=&quot;b2c&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;shell&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;login&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;admin&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;service&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;modules_shell&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;modules_website&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;scheduler&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;system&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;SampleSite&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;publisher&amp;lt;/site&amp;gt;&#xA;      &amp;lt;/sites&amp;gt;&#xA;      &amp;lt;!-- Registered identity providers for above providers --&amp;gt;&#xA;      &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;        &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='Sitecore.AzureAD.B2C']&quot; /&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;&#xA;      &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;      &amp;lt;/externalUserBuilder&amp;gt;&#xA;    &amp;lt;/mapEntry&amp;gt;&#xA;  &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;&amp;lt;/federatedAuthentication&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;IdentityProviderProcessor&lt;/code&gt; Code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AzureAdB2CIdentityProviderProcessor : IdentityProvidersProcessor&#xA;{&#xA;&#xA;    // App config settings&#xA;    public static string ClientId = Settings.GetSetting(&quot;Ida.clientID&quot;);&#xA;    public static string AadInstance = Settings.GetSetting(&quot;Ida.instanceUrl&quot;);&#xA;    public static string Tenant = Settings.GetSetting(&quot;Ida.Tenant&quot;);&#xA;    public static string RedirectUri = Settings.GetSetting(&quot;Ida.redirectUrl&quot;);&#xA;    //public static string ServiceUrl = Settings.GetSetting(&quot;B2C_TaskServiceUrl&quot;); //TODO:cehck&#xA;&#xA;    // B2C policy identifiers&#xA;    public static string SignUpSignInPolicyId = Settings.GetSetting(&quot;Ida.signUpSignInPolicyId&quot;);&#xA;    //public static string EditProfilePolicyId = Settings.GetSetting(&quot;B2C_EditProfilePolicyId&quot;); //TODO:cehck&#xA;    //public static string ResetPasswordPolicyId = Settings.GetSetting(&quot;B2C_ResetPasswordPolicyId&quot;); //TODO:cehck&#xA;&#xA;    public static string DefaultPolicy = SignUpSignInPolicyId;&#xA;&#xA;    // Authorities&#xA;    public static string Authority = String.Format(AadInstance, Tenant, DefaultPolicy);&#xA;&#xA;    // OWIN auth middleware constants&#xA;    //public const string ObjectIdElement = &quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier&quot;;&#xA;&#xA;    public AzureAdB2CIdentityProviderProcessor(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration)&#xA;        : base(federatedAuthenticationConfiguration)&#xA;    {&#xA;&#xA;    }&#xA;    protected override string IdentityProviderName&#xA;    {&#xA;        get { return &quot;Sitecore.AzureAD.B2C&quot;; }&#xA;    }&#xA;&#xA;&#xA;    protected override void ProcessCore(IdentityProvidersArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        var identityProvider = this.GetIdentityProvider();&#xA;        var authenticationType = this.GetAuthenticationType();&#xA;&#xA;        args.App.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions&#xA;        {&#xA;            Caption = identityProvider.Caption,&#xA;            AuthenticationType = authenticationType,&#xA;            AuthenticationMode = AuthenticationMode.Passive,&#xA;            ClientId = ClientId,&#xA;            Authority = Authority,&#xA;            RedirectUri = RedirectUri,&#xA;&#xA;            Notifications = new OpenIdConnectAuthenticationNotifications&#xA;            {&#xA;                AuthenticationFailed = (context) =&amp;gt;&#xA;                {&#xA;                    System.Diagnostics.Debug.WriteLine(&quot;*** B2C\\AuthenticationFailed&quot;);&#xA;                    //this section added to handle scenario where user logs in, but cancels consenting to rights to read directory profile&#xA;                    string appBaseUrl = context.Request.Scheme + &quot;://&quot; + context.Request.Host + context.Request.PathBase;&#xA;                    context.ProtocolMessage.RedirectUri = appBaseUrl + &quot;/&quot;;&#xA;&#xA;                    //this is where the magic happens&#xA;                    context.HandleResponse();&#xA;                    context.Response.Redirect(context.ProtocolMessage.RedirectUri);&#xA;                    return Task.FromResult(0);&#xA;                }&#xA;            },&#xA;&#xA;            TokenValidationParameters = new TokenValidationParameters&#xA;            {&#xA;                NameClaimType = &quot;emails&quot;&#xA;            }&#xA;        });&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On login , the applciation throws the exception shown below , any pointers how to resolve this ? &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[ArgumentException: idp claim is missing&#xA;  Parameter name: identity]&#xA;     Sitecore.Owin.Authentication.Configuration.FederatedAuthenticationConfiguration.GetIdentityProvider(ClaimsIdentity identity) +198&#xA;     Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder.CreateUniqueUserName(UserManager1 userManager, ExternalLoginInfo externalLoginInfo) +76&#xA;     Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder.BuildUser(UserManager1 userManager, ExternalLoginInfo externalLoginInfo) +54&#xA;     Sitecore.Owin.Authentication.Services.d__13.MoveNext() +759&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Sitecore.Owin.Authentication.Identity.d__16.MoveNext() +548&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Sitecore.Owin.Authentication.Pipelines.Initialize.&amp;lt;b__10_1&gt;d.MoveNext() +1341&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Mapping.d__0.MoveNext() +598&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Mapping.d__0.MoveNext() +871&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Security.Infrastructure.d__0.MoveNext() +768&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Security.Infrastructure.d__0.MoveNext() +768&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Security.Infrastructure.d__0.MoveNext() +768&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Security.Infrastructure.d__0.MoveNext() +768&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.AspNet.Identity.Owin.d__0.MoveNext() +448&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.AspNet.Identity.Owin.d__0.MoveNext() +448&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__5.MoveNext() +197&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d__2.MoveNext() +184&#xA;     System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31&#xA;     Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +117&#xA;     System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +510&#xA;     System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213&#xA;     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +131&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="5096" LastEditDate="2019-07-24T05:12:04.193" LastActivityDate="2019-09-11T20:39:07.517" Title="Sitecore 9.0.2 with Azure AD B2C System.ArgumentException: idp claim is missing Parameter name: identity" Tags="|authentication|login|azure-ad|owin|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20039" PostTypeId="1" CreationDate="2019-07-23T15:58:56.210" Score="1" ViewCount="99" Body="&lt;p&gt;I'm experimenting with adding support for conditionally returning &lt;code&gt;SearchId&lt;/code&gt; for Azure search traffic analytics purposes (&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/search/search-traffic-analytics&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/search/search-traffic-analytics&lt;/a&gt;) as part of Azure search queries made by the Sitecore content search API. Doing so involves passing a custom header to the Azure search service along with the query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, this would be something that is conditionally available, say, on the search context object and, if set, the &lt;code&gt;SearchId&lt;/code&gt; property would be hydrated on each search result object. Something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;ctx.IncludeSearchId = true;&#xA;...&#xA;var results = ctx.GetQueryable&amp;lt;FooResult&amp;gt;();&#xA;...&#xA;var searchId = oneFooResult.SearchId; // e.g. &quot;9acc737d-cf2e-4b4f-8b4f-d70288ce4e77&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm only about a third of the way there. I've implemented a custom search service client inheriting from &lt;code&gt;Sitecore.ContentSearch.Azure.Http.SearchServiceClient&lt;/code&gt; and am overriding the &lt;code&gt;Search(SearchRequest searchRequest)&lt;/code&gt; method to &lt;em&gt;always&lt;/em&gt; pass the custom &lt;code&gt;&quot;x-ms-azs-return-searchid&quot;&lt;/code&gt; header. The custom search service client is patched in by switching the &lt;code&gt;&quot;type&quot;&lt;/code&gt; attribute on the &lt;code&gt;&amp;lt;searchServiceClient /&amp;gt;&lt;/code&gt; node from &lt;code&gt;Sitecore.ContentSearch.Azure.Http.SearchServiceClient, Sitecore.ContentSearch.Azure&lt;/code&gt; to my custom type. I get a response header containing the &lt;code&gt;SearchId&lt;/code&gt;, as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/46WDy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/46WDy.png&quot; alt=&quot;Getting a valid SearchId&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm still missing two key things:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The ability to set a flag on the search context to &lt;em&gt;conditionally&lt;/em&gt; pass the &lt;code&gt;&quot;x-ms-azs-return-searchid&quot;&lt;/code&gt; header with the query (likely by inheriting from &lt;code&gt;CloudSearchSearchContext&lt;/code&gt; and adding a flag property and eventually adding a custom flag property to the &lt;code&gt;Sitecore.ContentSearch.Azure.Http.Model.SearchRequest&lt;/code&gt; object around which to build an &lt;code&gt;if&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;Mapping the &lt;code&gt;SearchId&lt;/code&gt; value to a property on each result object to allow the caller to use the property downstream (to push analytics data into Application Insights when results are &quot;clicked&quot;).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I don't see an elegant way of adding support Azure search traffic analytics that &lt;em&gt;doesn't&lt;/em&gt; involve replacing/copying large swaths of the Sitecore search API.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the &quot;correct&quot; way to do something like this? Perhaps it's better to open a Sitecore support ticket and let them tell me?&lt;/p&gt;&#xA;" OwnerUserId="37" LastActivityDate="2019-07-23T15:58:56.210" Title="How can the Sitecore search API be extended to support Azure search traffic analytics?" Tags="|content-search|sitecore-api|azure-search|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20040" PostTypeId="1" CreationDate="2019-07-23T16:55:31.130" Score="1" ViewCount="158" Body="&lt;p&gt;I am trying to create two versions of our homepage for two different types of clients, based on their site tendencies. I can get the page to function as desired with either of the two client tendencies, but if the user satisfies both set of rules they are getting both sets of content instead of one or the other. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to set some sort of recency preference where it will only show the most recently satisfied condition instead of both?&lt;/p&gt;&#xA;" OwnerUserId="5807" LastEditorUserId="605" LastEditDate="2019-07-25T08:43:48.740" LastActivityDate="2021-04-15T13:59:41.273" Title="Overlapping rules" Tags="|personalization|rules-engine|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20041" PostTypeId="2" ParentId="20032" CreationDate="2019-07-23T17:53:47.663" Score="3" Body="&lt;p&gt;While not a final solution, I was able to get around this by skipping the installation of the &lt;em&gt;MarketingAutomationService&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the same directory as &lt;code&gt;setup.exe&lt;/code&gt;, open &lt;code&gt;xconnect-xp0.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Search for &lt;code&gt;InstallServices&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Remove the section &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    {&#xA;        &quot;Path&quot;: &quot;[joinpath(variable('Services.MarketingAutomationEngine.InstallPath'), 'maengine.exe')]&quot;,&#xA;        &quot;Arguments&quot;: [ &quot;-i&quot;, &quot;[variable('Services.MarketingAutomationEngine.Name')]&quot; ]&#xA;    },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Save and run the install&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;h2&gt;Non-answer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;To potentially help get to the root of the error, I'll explain a bit of what I uncovered:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;After my install erred, I visited my xconnect site and it presented&#xA;me with an option of two certs- neither of which were Sitecore's. I&#xA;deleted the two certs it pulled up and ran the install. It again&#xA;erred in the same manner, but this time I was able to view my&#xA;xconnect site properly (it outputs a timestamp)&lt;/li&gt;&#xA;&lt;li&gt;I attempted to run the &lt;code&gt;maengine.exe&lt;/code&gt; application in &lt;code&gt;interactive&lt;/code&gt; mode: &lt;code&gt;.\maengine.exe -interactive&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;This showed a &lt;code&gt;Forbidden&lt;/code&gt; error, along with the same stack trace as the OP&lt;/li&gt;&#xA;&lt;li&gt;Curious, I opened Fiddler and reran in interactive mode and it showed a request to the root xConnect site, then a subsequent request to &lt;code&gt;&amp;lt;xconnectroot&amp;gt;/configuration/models&lt;/code&gt;, which then returned the 401.&lt;/li&gt;&#xA;&lt;li&gt;I traced the request to an async request on initialization of maengine, but didn't find an obvious root cause for the issue&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Other troubleshooting steps:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Removed all previous certs&lt;/li&gt;&#xA;&lt;li&gt;set &lt;code&gt;AllowInvalid(Client)Certificates&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; (xconnect site and maengine)&lt;/li&gt;&#xA;&lt;li&gt;Reviewed Failed Request Trace Logs (simply listed the 401)&lt;/li&gt;&#xA;&lt;li&gt;Reviewed all log files&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-07-23T17:53:47.663" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20042" PostTypeId="1" CreationDate="2019-07-23T18:13:37.083" Score="0" ViewCount="113" Body="&lt;p&gt;I use glass mapper 5.3 and I use SitecoreQuery in this field:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreQuery(&quot;/sitecore/content/Newsroom/Data/Enumerations/Companies/*&quot;)]&#xA;public virtual IEnumerable&amp;lt;EnumerationValueItem&amp;gt; Companies { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is the definition for EnumerationValueItem&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId=IEnumerationValueItemConstants.TemplateIdString)] //, Cachable = true&#xA;public partial class EnumerationValueItem  : GlassBase, IEnumerationValueItem &#xA;{&#xA;    [SitecoreField(IEnumerationValueItemConstants.ValueFieldName)]&#xA;    public virtual string Value  {get; set;}                &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I use this code, then company.Value returns &quot;$name&quot; (this is standard value)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach(EnumerationValueItem company in Model.Companies)&#xA;{&#xA;    Response.Write(company.Value);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I use this code, then x.Value return correct value&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var  x = WebContext.SitecoreService.GetItem&amp;lt;EnumerationValueItem&amp;gt;(&quot;/sitecore/content/Newsroom/Data/Enumerations/Companies/google&quot;);&#xA;Response.Write(x.Value);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I missing something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4255" LastEditorUserId="408" LastEditDate="2019-07-24T07:06:47.020" LastActivityDate="2019-07-24T07:06:47.020" Title="SitecoreQuery issue in glass mapper" Tags="|glass-mapper|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20045" PostTypeId="1" AcceptedAnswerId="20069" CreationDate="2019-07-23T20:03:07.280" Score="6" ViewCount="1698" Body="&lt;p&gt;We're on Sitecore 9.1.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm in the process of integrating Sitecore IdentityServer to our Azure AD, and have login working. I am now wanting to map AAD attributes to the user Sitecore generates for me. I've been following &lt;a href=&quot;https://sitecore.derekc.net/mapping-claims-to-user-profiles-in-sitecore-9-1-with-sitecore-identity-server/&quot; rel=&quot;noreferrer&quot;&gt;Derek Correria's guide&lt;/a&gt; and mapped out the first properties like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;ClaimsTransformation1 type=&quot;Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders&quot;&amp;gt;&#xA;  &amp;lt;SourceClaims&amp;gt;&#xA;    &amp;lt;Claim1 type=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn&quot; /&amp;gt;&#xA;  &amp;lt;/SourceClaims&amp;gt;&#xA;  &amp;lt;NewClaims&amp;gt;&#xA;    &amp;lt;Claim1 type=&quot;email&quot; /&amp;gt;&#xA;  &amp;lt;/NewClaims&amp;gt;&#xA;&amp;lt;/ClaimsTransformation1 &amp;gt;&#xA;&amp;lt;ClaimsTransformation2 type=&quot;Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders&quot;&amp;gt;&#xA;  &amp;lt;SourceClaims&amp;gt;&#xA;    &amp;lt;Claim1 type=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress&quot; /&amp;gt;&#xA;  &amp;lt;/SourceClaims&amp;gt;&#xA;  &amp;lt;NewClaims&amp;gt;&#xA;    &amp;lt;Claim1 type=&quot;comment&quot; /&amp;gt;&#xA;  &amp;lt;/NewClaims&amp;gt;&#xA;&amp;lt;/ClaimsTransformation2&amp;gt;&#xA;&amp;lt;ClaimsTransformation3 type=&quot;Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders&quot;&amp;gt;&#xA;  &amp;lt;SourceClaims&amp;gt;&#xA;    &amp;lt;Claim1 type=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name&quot; /&amp;gt;&#xA;  &amp;lt;/SourceClaims&amp;gt;&#xA;  &amp;lt;NewClaims&amp;gt;&#xA;    &amp;lt;Claim1 type=&quot;name&quot; /&amp;gt;&#xA;  &amp;lt;/NewClaims&amp;gt;&#xA;&amp;lt;/ClaimsTransformation3&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And mapped like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;propertyInitializer&amp;gt;&#xA;    &amp;lt;maps&amp;gt;&#xA;        &amp;lt;map name=&quot;set Email&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;                &amp;lt;source name=&quot;email&quot; /&amp;gt;&#xA;                &amp;lt;target name=&quot;Email&quot; /&amp;gt;&#xA;            &amp;lt;/data&amp;gt;&#xA;        &amp;lt;/map&amp;gt;&#xA;        &amp;lt;map name=&quot;set Comment&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;                &amp;lt;source name=&quot;comment&quot; /&amp;gt;&#xA;                &amp;lt;target name=&quot;Comment&quot; /&amp;gt;&#xA;            &amp;lt;/data&amp;gt;&#xA;        &amp;lt;/map&amp;gt;&#xA;        &amp;lt;map name=&quot;set FullName&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;                &amp;lt;source name=&quot;name&quot; /&amp;gt;&#xA;                &amp;lt;target name=&quot;FullName&quot; /&amp;gt;&#xA;            &amp;lt;/data&amp;gt;&#xA;        &amp;lt;/map&amp;gt;&#xA;    &amp;lt;/maps&amp;gt;&#xA;&amp;lt;/propertyInitializer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which works fine. But there are additional attributes on the AAD users which I want to carry across. There are no more default properties on a User that I can use, so I'm thinking to map the remaining attributes to CustomProperties. How do I do that though?  Neither documentation nor Derek's guide seems to touch on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;TL;DR; how can I map an &lt;code&gt;IdentityServer&lt;/code&gt; Claim to &lt;code&gt;User.CustomProperty[&quot;key&quot;]&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-15T15:08:53.677" Title="How do I map my IdentityServer Claims to CustomProperties on the UserProfile?" Tags="|identity-server|azure-ad|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20047" PostTypeId="1" CreationDate="2019-07-23T23:26:40.427" Score="0" ViewCount="1528" Body="&lt;p&gt;We are receiving below errors during Indexing. We are on Sitecore 9 update-2, SXA 1.7.1 and using Azure search. The errors below seems related to SXA fields. Has anyone come across this issue? &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;10752 01:43:40 ERROR Year, Month, and Day parameters describe an un-representable DateTime.&#xA;Exception: System.ArgumentOutOfRangeException&#xA;Message: Year, Month, and Day parameters describe an un-representable DateTime.&#xA;Source: mscorlib&#xA;   at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)&#xA;   at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, DateTimeKind kind)&#xA;   at Sitecore.DateUtil.IsoDateToDateTime(String isoDate, DateTime defaultValue, Boolean treatLegacyDatesAsUtc)&#xA;&#xA;8900 01:43:40 WARN  Could not compute value for ComputedIndexField: ispoi for indexable: sitecore://web/{37054431-C965-4FF5-B29A-9589C9DA06AE}?lang=en&amp;ver=1&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Collections.FieldCollection.GetField(ID fieldID)&#xA;   at Sitecore.Collections.FieldCollection.Contains(ID fieldId)&#xA;   at Sitecore.XA.Foundation.Search.ComputedFields.IsPoi.Verify(BaseItem item)&#xA;   at Sitecore.XA.Foundation.Search.ComputedFields.IsPoi.ComputeFieldValue(IIndexable indexable)&#xA;   at Sitecore.ContentSearch.AbstractDocumentBuilder`1.c__DisplayClass55_0.b__0(IComputedIndexField computedIndexField, ParallelLoopState parallelLoopState)&#xA;&#xA;6872 01:43:42 WARN  Could not compute value for ComputedIndexField: geolocation for indexable: sitecore://web/{D6F8E1E1-82E5-4E74-BD1D-F8508E44C33F}?lang=en&amp;ver=1&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Collections.FieldCollection.GetField(ID fieldID)&#xA;   at Sitecore.Collections.FieldCollection.Contains(ID fieldId)&#xA;   at Sitecore.XA.Foundation.Search.Providers.Azure.ComputedFields.AzureCoordinate.ComputeFieldValue(IIndexable indexable)&#xA;   at Sitecore.ContentSearch.AbstractDocumentBuilder`1.c__DisplayClass55_0.b__0(IComputedIndexField computedIndexField, ParallelLoopState parallelLoopState)&#xA;&#xA;7340 01:43:43 ERROR Year, Month, and Day parameters describe an un-representable DateTime.&#xA;Exception: System.ArgumentOutOfRangeException&#xA;Message: Year, Month, and Day parameters describe an un-representable DateTime.&#xA;Source: mscorlib&#xA;   at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)&#xA;   at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, DateTimeKind kind)&#xA;   at Sitecore.DateUtil.IsoDateToDateTime(String isoDate, DateTime defaultValue, Boolean treatLegacyDatesAsUtc)&#xA;&#xA;10948 01:43:43 WARN  Could not compute value for ComputedIndexField: ispoi for indexable: sitecore://web/{53EC4572-FCFE-4982-878F-7FDC369FB2AA}?lang=en&amp;ver=1&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Collections.FieldCollection.GetField(ID fieldID)&#xA;   at Sitecore.Collections.FieldCollection.Contains(ID fieldId)&#xA;   at Sitecore.XA.Foundation.Search.ComputedFields.IsPoi.Verify(BaseItem item)&#xA;   at Sitecore.XA.Foundation.Search.ComputedFields.IsPoi.ComputeFieldValue(IIndexable indexable)&#xA;   at Sitecore.ContentSearch.AbstractDocumentBuilder`1.c__DisplayClass55_0.b__0(IComputedIndexField computedIndexField, ParallelLoopState parallelLoopState)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3780" LastEditorUserId="73" LastEditDate="2019-07-24T08:47:43.577" LastActivityDate="2019-07-24T08:47:43.577" Title="ERROR Year, Month, and Day parameters describe an un-representable DateTime" Tags="|sxa|indexing|azure-search|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20048" PostTypeId="1" AcceptedAnswerId="20063" CreationDate="2019-07-24T00:30:25.170" Score="2" ViewCount="407" Body="&lt;p&gt;I am looking to specify a personalization rules in &lt;code&gt;Sitecore 8.2&lt;/code&gt; where at least two pages are visited from a specific set of pages on the websites for example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Content &#xA;  - Home&#xA;    - car loans (1)&#xA;        - Apply for car loan (2)&#xA;     - Home loans&#xA;         - apply for home loan&#xA;      - I want to&#xA;            - buy a new car (3)&#xA;      - get help&#xA;            - Buying a car (4)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From the pages marked as 1 - 4, the rule should be valid when 2 out of those 4 pages are visited during the interaction. The pages doesn't belong to a unique template so the template would be used on multiple pages through out the website. Can I use any of the out of the box rules to achieve this? &lt;/p&gt;&#xA;" OwnerUserId="3168" LastActivityDate="2019-07-24T12:57:25.080" Title="Sitecore personalization based on at least two pages visited from set of pages" Tags="|xdb|experience-analytics|personalization|rules-engine|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20049" PostTypeId="1" CreationDate="2019-07-24T04:19:52.047" Score="5" ViewCount="1709" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4nOWJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4nOWJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Logs shows this error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;2428 23:47:09 ERROR [Sitecore Services]: HTTP GET&#xA;URL http://ffg.local/sitecore/api/ao/aggregates/all/786FBA3A4573445EA74504E3CA5E48C1/all?&amp;dateGrouping=by-week&amp;&amp;dateFrom=23-04-2019&amp;dateTo=23-07-2019&amp;keyGrouping=collapsed&#xA;&#xA;Exception System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.c.b__4_1(SegmentDefinition d)&#xA;   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.Get(IEnumerable`1 keys, NameValueCollection readingPreferences)&#xA;   at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetReportSegments()&#xA;   at Sitecore.ExperienceAnalytics.Api.RequestTypeResolver.GetRequestType()&#xA;   at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.GetModelFromBindingContext(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;   at Sitecore.ExperienceAnalytics.Api.Http.ModelBinding.ReportQueryModelBinder.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext)&#xA;   at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)&#xA;   at System.Web.Http.Controllers.HttpActionBinding.d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All my certificates are good and I am able to access the xconnect site without any issue.&lt;/p&gt;&#xA;" OwnerUserId="5808" LastEditorUserId="342" LastEditDate="2019-07-24T16:03:19.620" LastActivityDate="2021-06-18T08:05:49.263" Title="Experience Analytics dashboard gives errors" Tags="|xdb|sitecore-client|xconnect|experience-analytics|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20050" PostTypeId="1" CreationDate="2019-07-24T06:12:50.117" Score="1" ViewCount="159" Body="&lt;p&gt;Is it possible to have various Sitecore instances/versions with the same installed Commerce Server?&lt;/p&gt;&#xA;" OwnerUserId="5809" LastEditorUserId="237" LastEditDate="2019-07-24T10:23:19.697" LastActivityDate="2019-08-24T17:01:52.500" Title="Creating two different instances on one Sitecore Commerce Server" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20051" PostTypeId="2" ParentId="12047" CreationDate="2019-07-24T06:50:37.743" Score="0" Body="&lt;p&gt;I faced a similar kind of issue today where one particular author was able to see a CSS file item in the media library and others are not able to click on that item. When others clicked on the item they got the error &lt;code&gt;Failed to map the path /temp/_disabled.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I analyzed the issue and found that the item is locked by one author, and because of that it was causing the issue. I asked them to unlock the item and doing so resolved the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this will help someone.&lt;/p&gt;&#xA;" OwnerUserId="2658" LastEditorUserId="288" LastEditDate="2019-11-07T20:47:53.100" LastActivityDate="2019-11-07T20:47:53.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20054" PostTypeId="2" ParentId="20048" CreationDate="2019-07-24T07:37:28.343" Score="1" Body="&lt;p&gt;Adaptive personalization is a feature that dynamically changes the content of your website based on the visitor’s behavior on your website during a visit. Adaptive&#xA;personalization uses visitor profiles and pattern-card matching to dynamically adapt the content shown to visitors in real-time. You can set adaptive personalization&#xA;rules in the Rules Set Editor based on your requirements. But if you are specific to a few pages and want it in the same way you can make use of Goals.&#xA;You need to do the following things :&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a Goal for each page in the Goals - &lt;code&gt;/sitecore/system/Marketing Center/Goals&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Set the Goal/s on your pages.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Create a Rule with a condition similar as &#xA;&lt;code&gt;&quot;where the specific goal was triggered during the current visit&quot;&lt;/code&gt;, and use the appropriate Action based on your requirement. In the same rule, you can add multiple rules since you will have different Goals to check.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;On your target page, you need to have the created rule checked on a Sublayout / Rendering &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-07-24T07:37:28.343" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20055" PostTypeId="1" AcceptedAnswerId="20057" CreationDate="2019-07-24T07:53:05.023" Score="0" ViewCount="214" Body="&lt;p&gt;I've installed Solr 7.5 successfully. I am using SIA (&lt;code&gt;Sitecore Install Assistant&lt;/code&gt;) for my installing Sitecore 9.2.0. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting exception &quot;NotFound - &lt;a href=&quot;https://solr75:8750/solr//admin/cores?action=Create&amp;amp;name=sc92_xdb&amp;amp;property.update.autoCreateFields=false&amp;amp;wt=json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://solr75:8750/solr//admin/cores?action=Create&amp;amp;name=sc92_xdb&amp;amp;property.update.autoCreateFields=false&amp;amp;wt=json&lt;/a&gt;&quot;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Log file:&lt;/h1&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[------------- XConnectSolr_CleanCores : EnsurePath --------------------------]&#xA;[XConnectSolr_CleanCores]:[Clean] D:\Solr75\Solr-7.5.0\server\solr\sc92_xdb&#xA;[XConnectSolr_CleanCores]:[Clean] D:\Solr75\Solr-7.5.0\server\solr\sc92_xdb_rebuild&#xA;[XConnectSolr_CleanCores]:[Create] D:\Solr75\Solr-7.5.0\server\solr\sc92_xdb&#xA;[XConnectSolr_CleanCores]:[Create] D:\Solr75\Solr-7.5.0\server\solr\sc92_xdb_rebuild&#xA;&#xA;[------- XConnectSolr_PrepareCores [1] : Copy --------------------------------]&#xA;[XConnectSolr_PrepareCores [1]]:[Copying] D:\Solr75\Solr-7.5.0\server\solr\configsets\_default\* =&amp;gt; D:\Solr75\Solr-7.5.0\server\solr\sc92_xdb&#xA;&#xA;[------- XConnectSolr_PrepareCores [2] : Copy --------------------------------]&#xA;[XConnectSolr_PrepareCores [2]]:[Copying] D:\Solr75\Solr-7.5.0\server\solr\configsets\_default\* =&amp;gt; D:\Solr75\Solr-7.5.0\server\solr\sc92_xdb_rebuild&#xA;&#xA;[-------------- XConnectSolr_StartSolr : ManageService -----------------------]&#xA;[XConnectSolr_StartSolr]:[Updating] Solr-7.5.0&#xA;&#xA;[-------- XConnectSolr_CreateCores [1] : ManageSolrCore ----------------------]&#xA;[XConnectSolr_CreateCores [1]]:[Requesting] https://solr75:8750/solr/&#xA;[XConnectSolr_CreateCores [1]]:[SolrCore] Performing Create on https://solr75:8750/solr/&#xA;&#xA;NotFound - https://solr75:8750/solr//admin/cores?action=Create&amp;amp;name=sc92_xdb&amp;amp;property.update.autoCreateFields=false&amp;amp;wt=json&#xA;[TIME] 00:00:52&#xA;NotFound - https://solr75:8750/solr//admin/cores?action=Create&amp;amp;name=sc92_xdb&amp;amp;property.update.autoCreateFields=false&amp;amp;wt=json&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8XWM3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8XWM3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;Please assist, how to fix it?&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="70" LastEditDate="2019-07-24T12:11:33.153" LastActivityDate="2019-07-24T12:11:33.153" Title="NotFound exception creating Solr cores on installation" Tags="|solr|sitecore-install-framework|installation|sitecore-install-assistant|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20056" PostTypeId="2" ParentId="20050" CreationDate="2019-07-24T07:57:09.473" Score="0" Body="&lt;p&gt;No, it's not possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each &lt;code&gt;Sitecore Commerce&lt;/code&gt; version must be compatible with &lt;code&gt;Sitecore&lt;/code&gt; version based on Sitecore Commerce compatibility tables:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/316437&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/316437&lt;/a&gt; - shows the Sitecore CMS/XP 8.2 and older versions compatibility with different versions of Sitecore Commerce and Sitecore Commerce Connect.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/804595&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/804595&lt;/a&gt; - for Sitecore XP 9.0 and Sitecore Experience Commerce 9 releases compatibility information.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-07-24T07:57:09.473" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20057" PostTypeId="2" ParentId="20055" CreationDate="2019-07-24T08:47:20.650" Score="1" Body="&lt;p&gt;Solr service URL is specified wrongly. Based on error log where you have duplicated &quot;//&quot; in the path, I assume you have specified your Solr service URL like this &lt;code&gt;https://solr75:8750/solr/&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Correct value is without &lt;code&gt;/&lt;/code&gt; at the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change your Solr service URL to this value instead &lt;code&gt;https://solr75:8750/solr&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-07-24T08:47:20.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20058" PostTypeId="2" ParentId="19590" CreationDate="2019-07-24T09:24:24.177" Score="0" Body="&lt;p&gt;Below are the steps what we followed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All these steps have been done in the computed index field.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Captured all the renderings (present in the final layout) present in specific placeholders, because most of the data renderings are present in a specific placeholder.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We checked if there is any data source, if yes, then get the data from the data source item. For getting the data source item's data we created the setting in the Sitecore multi-list where user can select the field from which he wants to pick the data.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When all the data has been captured then we also gathering the data from the page itself. We have set same for the pages also like, to select the fields for which the client wants the data.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When we are getting the data we are putting all the data in the string builder and passing that large string in the computed filed index. So that, at the time of requesting for a page we can search the index and get the data from the index (Becuase this will be fast instead of getting data directly from the Item).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;NOTE: I have set up the field selection in the Sitecore but you can thing more customizable according to your need.&lt;/p&gt;&#xA;" OwnerUserId="2983" LastActivityDate="2019-07-24T09:24:24.177" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20059" PostTypeId="2" ParentId="10514" CreationDate="2019-07-24T09:31:27.297" Score="0" Body="&lt;p&gt;Content language issue can be a problem. unknown field 'heading_t_pl' (poland) is what I got in error logs. It could be any language...&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;'*t_cs' &lt;/li&gt;&#xA;&lt;li&gt;'*_pl'(poland)&lt;/li&gt;&#xA;&lt;li&gt;'*_cz'(czech)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;A solution for language addition is given &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2034/error-when-rebuilding-a-solr-index-unknown-field-display-name-t-cs/2042&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As @bushland25 pointed out, The forms on the Sitecore Forms page are queried from the search index, not the content tree. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in my case, I went specifically to that content item(form) and did &quot;Reindex Tree&quot; option in the developer toolbar of the content editor. UK contents worked, but other countries gave error on the content editor(when I did re-indextree). &lt;/p&gt;&#xA;" OwnerUserId="2028" LastActivityDate="2019-07-24T09:31:27.297" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20060" PostTypeId="5" CreationDate="2019-07-24T12:12:20.873" Score="0" Body="&lt;p&gt;The Sitecore Install Assistant (SIA) enables users to deploy and configure a Sitecore environment using a graphical user interface (GUI) that executes the Sitecore Installation Framework (SIF) scripts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is an alternative installation option for non-technical users who are not familiar with PowerShell.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is included in the download of the Sitecore 9.2+ installation files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Useful blogs:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://tothecore.sk/2019/07/22/installing-sitecore-9-2-using-new-sitecore-install-assistant-sia/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2019/07/22/installing-sitecore-9-2-using-new-sitecore-install-assistant-sia/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-07-24T12:17:22.397" LastActivityDate="2019-07-24T12:17:22.397" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20061" PostTypeId="4" CreationDate="2019-07-24T12:12:20.873" Score="0" Body="For questions relating to the Sitecore Install Assistant introduced in Sitecore 9.2" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-07-24T12:12:20.873" LastActivityDate="2019-07-24T12:12:20.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20062" PostTypeId="1" CreationDate="2019-07-24T12:57:12.353" Score="1" ViewCount="556" Body="&lt;p&gt;We are trying to implement federated authentication using Google, but getting &lt;code&gt;Error: Unsuccessful login with external provider&lt;/code&gt;. we had found few blogs to resolve this error which suggest to add name identifier claim, so we had added that one as well still we are getting same error. So can anyone please help us to identify what exactly we are missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We followed below steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Enabled &lt;code&gt;Sitecore.Owin.Authentication.Enabler.config.example&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We had added required configuration in the same file as below &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;settings&amp;gt;&#xA;  &amp;lt;setting name=&quot;FederatedAuthentication.Enabled&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;  &amp;lt;/setting&amp;gt;&#xA;&amp;lt;/settings&amp;gt;&#xA;&#xA;&amp;lt;services&amp;gt;&#xA;  &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseAuthenticationManager, Sitecore.Kernel&quot;&#xA;            implementationType=&quot;Sitecore.Owin.Authentication.Security.AuthenticationManager, Sitecore.Owin.Authentication&quot;&#xA;            lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;  &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseTicketManager, Sitecore.Kernel&quot;&#xA;            implementationType=&quot;Sitecore.Owin.Authentication.Security.TicketManager, Sitecore.Owin.Authentication&quot;&#xA;            lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;  &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BasePreviewManager, Sitecore.Kernel&quot;&#xA;            implementationType=&quot;Sitecore.Owin.Authentication.Publishing.PreviewManager, Sitecore.Owin.Authentication&quot;&#xA;            lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;&amp;lt;/services&amp;gt;&#xA;&#xA; &amp;lt;federatedAuthentication&amp;gt;&#xA;      &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;        &amp;lt;identityProvider id=&quot;Google&quot; type=&quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;domainManager&quot; type=&quot;Sitecore.Abstractions.BaseDomainManager&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;caption&amp;gt;Log in with Google&amp;lt;/caption&amp;gt;&#xA;          &amp;lt;icon&amp;gt;/sitecore/shell/themes/standard/Images/24x24/Google.jpg&amp;lt;/icon&amp;gt;&#xA;          &amp;lt;domain&amp;gt;sitecore&amp;lt;/domain&amp;gt;&#xA;          &amp;lt;transformations hint=&quot;list:AddTransformation&quot;&amp;gt;&#xA;            &amp;lt;transformation name=&quot;set idp claim&quot; ref=&quot;federatedAuthentication/sharedTransformations/setIdpClaim&quot; /&amp;gt;&#xA;            &amp;lt;transformation name=&quot;devRole&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;              &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;                &amp;lt;claim name=&quot;idp&quot; value=&quot;Google&quot; /&amp;gt;&#xA;              &amp;lt;/sources&amp;gt;&#xA;              &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;                &amp;lt;claim name=&quot;http://schemas.microsoft.com/ws/2008/06/identity/claims/role&quot; value=&quot;Sitecore\Developer&quot; /&amp;gt;&#xA;              &amp;lt;/targets&amp;gt;&#xA;              &amp;lt;keepSource&amp;gt;true&amp;lt;/keepSource&amp;gt;&#xA;            &amp;lt;/transformation&amp;gt;&#xA;          &amp;lt;/transformations&amp;gt;&#xA;        &amp;lt;/identityProvider&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;      &amp;lt;propertyInitializer type=&quot;Sitecore.Owin.Authentication.Services.PropertyInitializer, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;maps hint=&quot;list&quot;&amp;gt;&#xA;          &amp;lt;map name=&quot;GoogleAdmin&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;              &amp;lt;source name=&quot;idp&quot; value=&quot;Google&quot; /&amp;gt;&#xA;              &amp;lt;target name=&quot;IsAdministrator&quot; value=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;/data&amp;gt;&#xA;          &amp;lt;/map&amp;gt;&#xA;        &amp;lt;/maps&amp;gt;&#xA;      &amp;lt;/propertyInitializer&amp;gt;&#xA;      &amp;lt;identityProvidersPerSites hint=&quot;list:AddIdentityProvidersPerSites&quot;&amp;gt;&#xA;        &amp;lt;mapEntry name=&quot;Google&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site&amp;gt;shell&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;login&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;admin&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;service&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;modules_shell&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;modules_website&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;scheduler&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;system&amp;lt;/site&amp;gt;&#xA;            &amp;lt;site&amp;gt;publisher&amp;lt;/site&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;          &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;            &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='Google']&quot; /&amp;gt;&#xA;          &amp;lt;/identityProviders&amp;gt;&#xA;          &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;          &amp;lt;/externalUserBuilder&amp;gt;&#xA;        &amp;lt;/mapEntry&amp;gt;&#xA;      &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;    &amp;lt;/federatedAuthentication&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&#xA;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We created Google App for client id and api key&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We created custom processor as below &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GoogleAuthentication : IdentityProvidersProcessor&#xA;{&#xA;    public GoogleAuthentication(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration) : base(federatedAuthenticationConfiguration)&#xA;    {&#xA;&#xA;    }&#xA;&#xA;    protected override string IdentityProviderName&#xA;    {&#xA;        get { return &quot;Google&quot;; }&#xA;    }&#xA;&#xA;    protected override void ProcessCore(IdentityProvidersArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        Sitecore.Owin.Authentication.Configuration.IdentityProvider identityProvider = this.GetIdentityProvider();&#xA;        string authenticationType = this.GetAuthenticationType();&#xA;&#xA;&#xA;        var googleProvider = new GoogleOAuth2AuthenticationProvider()&#xA;        {&#xA;            OnAuthenticated = (context) =&amp;gt;&#xA;            {&#xA;                // transform all claims&#xA;                ClaimsIdentity identity = context.Identity;&#xA;                foreach (Transformation current in identityProvider.Transformations)&#xA;                {&#xA;                    current.Transform(identity, new TransformationContext(FederatedAuthenticationConfiguration, identityProvider));&#xA;                }&#xA;                return System.Threading.Tasks.Task.FromResult(0);&#xA;            },&#xA;&#xA;            OnReturnEndpoint = (context) =&amp;gt;&#xA;            {&#xA;                if (context.Request.Query[&quot;state&quot;] != null)&#xA;                {&#xA;                    var state = HttpUtility.ParseQueryString(context.Request.Query[&quot;state&quot;]);&#xA;&#xA;                }&#xA;&#xA;                return System.Threading.Tasks.Task.FromResult(0);&#xA;            }&#xA;        };&#xA;&#xA;        GoogleOAuth2AuthenticationOptions googleOptions = new GoogleOAuth2AuthenticationOptions();&#xA;        googleOptions.ClientId = &quot;***************************&quot;;&#xA;        googleOptions.ClientSecret = &quot;***********************&quot;;&#xA;        googleOptions.Provider = googleProvider;&#xA;        googleOptions.CallbackPath = new PathString(&quot;/signin-google&quot;);&#xA;&#xA;        args.App.UseGoogleAuthentication(googleOptions);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We integrated custom possessor with owin pipeline as below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&#xA;  &#xA;    &#xA;      &#xA;               &#xA;      &#xA;    &#xA;  &#xA;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Can anyone please help us to identify what we missed in configuration or in code?&lt;/p&gt;&#xA;" OwnerUserId="1422" LastEditorUserId="70" LastEditDate="2019-07-24T13:40:22.450" LastActivityDate="2020-06-11T14:08:18.667" Title="Error: Unsuccessful login with external provider using Federated Authentication" Tags="|federated-authentication|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20063" PostTypeId="2" ParentId="20048" CreationDate="2019-07-24T12:57:25.080" Score="3" Body="&lt;p&gt;Mahendra almost has it right, but for the rule that should be triggered if 2 or more pages have been visited, you would need to use a combination of Profiles and Values. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a &lt;code&gt;Profile Card&lt;/code&gt; for this rule to use and add a &lt;code&gt;Profile Key&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Go to each page, and using the &lt;code&gt;Profile Card&lt;/code&gt; button, edit the profile card and set the value for the &lt;code&gt;Profile Key&lt;/code&gt; to 1:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/5YrAP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5YrAP.png&quot; alt=&quot;Add the profile key value&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Now personalize the renderings you want and add the rule: &lt;code&gt;where the value of the specific profile key in the contact behavior profile compares to value&lt;/code&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Ds3E0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ds3E0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now, when your users browse the site, each time they hit one of those pages, the &lt;code&gt;Profile Key&lt;/code&gt; you created will increase in value by the value you set (&lt;code&gt;1&lt;/code&gt;) - then when that value is high enough, it will trigger the personalized content.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-07-24T12:57:25.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20064" PostTypeId="1" AcceptedAnswerId="20652" CreationDate="2019-07-24T12:58:04.003" Score="12" ViewCount="2101" Body="&lt;h2&gt;Background&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;We're building an internal site where all users are required to be authenticated. I've configured IdentityServer to connect to the organisation's Azure AD and this is working fine. When I log in to my Sitecore Client I can choose &quot;Login with Azure AD&quot; and based on role mappings, I am allowed into the client.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want our site visitors to also have to go via this login process. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What I've done so far&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I created a blank &lt;code&gt;login&lt;/code&gt; page on our site.&lt;/li&gt;&#xA;&lt;li&gt;I checked &quot;Require Login&quot; under Site Grouping for our site&lt;/li&gt;&#xA;&lt;li&gt;I pointed the &quot;Login Page&quot; under Site Grouping to my blank login page&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;At first I tried to follow the steps &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/use-a-custom-sxa-login-page.html&quot; rel=&quot;noreferrer&quot;&gt;in this article&lt;/a&gt;, instructing me to configure a special security controller. But I misread the article, I only need to do that if I do NOT want the default behaviour of being redirected to Sitecore's login page. So the opposite of what I want.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;What happens&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It does not behave as intended. Or at least as I expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I navigate to my site now, it redirects me to &lt;code&gt;/login&lt;/code&gt; just fine. But then it ends up in an endless loop. I'm trying to understand why.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The URL ends up looking like this: &lt;code&gt;http://sc911.sc/Demo/login?ReturnUrl=%2fDemo%2flogin%3fReturnUrl%3d%252fDemo%252flogin%253fReturnUrl%253d%25252fDemo%25252flogin%25253fReturnUrl%25253d%2525252fDemo%2525252flogin%2525253fReturnUrl%2525253d%252525252fDemo%252525252flogin%252525253fReturnUrl%252525253d%25252525252fDemo%25252525252flogin%25252525253fReturnUrl%25252525253d%2525252525252fDemo%2525252525252flogin%2525252525253fReturnUrl%2525252525253d%252525252525252fDemo%252525252525252flogin%252525252525253fReturnUrl%252525252525253d%25252525252525252fDemo%25252525252525252flogin%25252525252525253fReturnUrl%25252525252525253d%2525252525252525252fDemo%2525252525252525252flogin%2525252525252525253fReturnUrl%2525252525252525253d%252525252525252525252fDemo%252525252525252525252flogin%252525252525252525253fReturnUrl%252525252525252525253d%25252525252525252525252fDemo%25252525252525252525252flogin%25252525252525252525253fReturnUrl%25252525252525252525253d%2525252525252525252525252fDemo%2525252525252525252525252flogin%2525252525252525252525253fReturnUrl%2525252525252525252525253d%252525252525252525252525252fDemo%252525252525252525252525252flogin%252525252525252525252525253fReturnUrl%252525252525252525252525253d%25252525252525252525252525252fDemo%25252525252525252525252525252flogin%25252525252525252525252525253fReturnUrl%25252525252525252525252525253d%2525252525252525252525252525252fDemo%2525252525252525252525252525252flogin%2525252525252525252525252525253fReturnUrl%2525252525252525252525252525253d%252525252525252525252525252525252fDemo%252525252525252525252525252525252flogin%252525252525252525252525252525253fReturnUrl%252525252525252525252525252525253d%25252525252525252525252525252525252fDemo%25252525252525252525252525252525252flogin%25252525252525252525252525252525253fReturnUrl%25252525252525252525252525252525253d%2525252525252525252525252525252525252fDemo%2525252525252525252525252525252525252flogin%2525252525252525252525252525252525253fReturnUrl%2525252525252525252525252525252525253d%252525252525252525252525252525252525252fDemo%252525252525252525252525252525252525252flogin%252525252525252525252525252525252525253freturnUrl%252525252525252525252525252525252525253d%25252525252525252525252525252525252525252fDemo&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At which point my Chrome gives up and throws this at me.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;HTTP Error 404.15 - Not Found&#xA;  The request filtering module is configured to deny a request where the query string is too long.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Is there anything else I need to configure, to get this working?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am on Sitecore 9.1.1, SXA 1.8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EulrP.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EulrP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-23T14:38:22.690" Title="How can I get SXA login working with my Federated Authentication via IdentityServer?" Tags="|sxa|federated-authentication|identity-server|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20065" PostTypeId="1" CreationDate="2019-07-24T13:17:19.047" Score="1" ViewCount="149" Body="&lt;p&gt;Using &lt;code&gt;Sitecore .NET 8.1 (rev. 151003)&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Created &lt;code&gt;ABC pattern card&lt;/code&gt; &amp;amp; assign specific placeholder of page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Used rule:&lt;/strong&gt; &#xA;  where the current contact matches the ABC pattern card in the ABCD profile. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;when a user reaches a specific pattern value, placeholder content should be changed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Content available in the interaction table of &lt;code&gt;MongoDB&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried multiple time but it's not working.  Please, can you guide me on the same. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="2084" LastEditorUserId="5387" LastEditDate="2019-07-26T09:35:01.343" LastActivityDate="2019-07-26T09:35:01.343" Title="Personalization not working (Pattern Card &amp; profile Card)" Tags="|xdb|sitecore-client|personalization|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20066" PostTypeId="2" ParentId="19540" CreationDate="2019-07-24T13:23:03.610" Score="3" Body="&lt;p&gt;If your interaction doesn`t have WebVisit it is invisible in Experience Analytics by default. You can change you goal to a web interaction as @Chris Auer mentioned or remove(patch) &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;InteractionFilter type=&quot;Sitecore.ExperienceAnalytics.Aggregation.Filters.WebVisitFilter, Sitecore.ExperienceAnalytics.Aggregation&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;from &lt;strong&gt;Sitecore.ExperienceAnalytics.Aggregation.config&lt;/strong&gt; for corresponding dimensions to make interactions without WebVisit visible in EA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you need web visit for your interaction but you don`t have &lt;em&gt;Tracker.Current&lt;/em&gt; in your API context you can modify your code to add &quot;fake&quot; web visit:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//Add Device profile&#xA;DeviceProfile newDeviceProfile = new DeviceProfile(Guid.NewGuid()) { LastKnownContact = gExistingContact };&#xA;client.AddDeviceProfile(newDeviceProfile);&#xA;interaction.DeviceProfile = newDeviceProfile;&#xA;&#xA;//Add fake Ip info&#xA;IpInfo fakeIpInfo = new IpInfo(&quot;127.0.0.1&quot;) { BusinessName = &quot;Home&quot;};&#xA;client.SetFacet(interaction, IpInfo.DefaultFacetKey, fakeIpInfo);&#xA;&#xA;// Add fake webvisit&#xA;// Create a new web visit facet model&#xA;var webVisitFacet = new WebVisit&#xA;{&#xA;    Browser =&#xA;        new BrowserData&#xA;        {&#xA;            BrowserMajorName = &quot;Chrome&quot;,&#xA;            BrowserMinorName = &quot;Desktop&quot;,&#xA;            BrowserVersion = &quot;22.0&quot;&#xA;        },&#xA;    Language = &quot;en&quot;,&#xA;    OperatingSystem =&#xA;        new OperatingSystemData { Name = &quot;Windows&quot;, MajorVersion = &quot;10&quot;, MinorVersion = &quot;4&quot; },&#xA;    Referrer = &quot;https://www.google.com&quot;,&#xA;    Screen = new ScreenData { ScreenHeight = 1080, ScreenWidth = 685 },&#xA;    SearchKeywords = &quot;sitecore&quot;,&#xA;    SiteName = &quot;website&quot;&#xA;};&#xA;&#xA;// Populate data about the web visit&#xA;// Home page itemId&#xA;var itemId = Guid.Parse(&quot;110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9&quot;);&#xA;var itemVersion = 1;&#xA;&#xA;// First page view&#xA;PageViewEvent pageView = new PageViewEvent(DateTime.Now,&#xA;    itemId, itemVersion, &quot;en&quot;)&#xA;{&#xA;    ItemLanguage = &quot;en&quot;,&#xA;    Duration = new TimeSpan(3000),&#xA;    Url = &quot;/home&quot;&#xA;};&#xA;&#xA;interaction.Events.Add(pageView);&#xA;client.SetWebVisit(interaction, webVisitFacet);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-07-24T13:42:26.633" LastActivityDate="2019-07-24T13:42:26.633" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20067" PostTypeId="6" CreationDate="2019-07-24T13:43:28.997" Score="0" Body="&lt;p&gt;My (real) name is &lt;a href=&quot;https://ggullentops.blogspot.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Gert Gullentops&lt;/a&gt; (mostly known as Gatogordo or the cat avatar). I'm a Sitecore Technology MVP (2017-2019) from Belgium. I joined SSE from the very beginning and has spend a lot of hours on the site since (1000+ days) as I do believe sharing knowledge is important. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;SSE is great tool for a great community and we want to get it out of beta. To help achieve that goal I would like to nominate myself as moderator:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;early member of SSE&lt;/li&gt;&#xA;&lt;li&gt;top contributer: 300+ answers, 1000+ votes, 250+ edits, 975+ reviews&lt;/li&gt;&#xA;&lt;li&gt;12y+ Sitecore experience&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;As I have been reviewing a lot on SSE since the start, I believe I could help the current mods to continue the great work they are doing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not have all the answers, but I do know some. And I try to help whenever I can. But a mods task is not to answer all questions, it's to keep SSE great by moderating it: approving, editing if needed, helping out, and sometimes closing/deleting if necessary. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Always keeping in mind that we are all trying to help each other. Nobody knows all, but together we might know a lot!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks - feel free to ask any questions... &lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-07-25T08:36:52.020" LastActivityDate="2019-07-25T08:36:52.020" CommentCount="0" CommunityOwnedDate="2019-07-24T13:43:28.997" ContentLicense="CC BY-SA 4.0" />
  <row Id="20068" PostTypeId="2" ParentId="20049" CreationDate="2019-07-24T13:43:35.067" Score="1" Body="&lt;p&gt;The certificate of xconnect website faces a trust issue due to presence of non self signed certificate in trusted root certificates in MMC . &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In power shell administrator mode try to run below command to check how many certificate are in trusted root folder .&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;PS C:\WINDOWS\system32&gt; Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject}&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Try to move them to CA &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;PS C:\WINDOWS\system32&gt; Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Move-&#xA;Item -Destination Cert:\LocalMachine\CA&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Another reason might be certificate thumbprint mismatching.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In IIS Manager check the certificate is set for xConnect websites. Set the proper certificate from the list for xconnect website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pXWVg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pXWVg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check the thumbprint of the certificate and try to place the thumbprint value in the intepub xconnect website App_Config folder &lt;code&gt;appsetting.config&lt;/code&gt;, &lt;code&gt;connectionstring.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;add key=&quot;validateCertificateThumbprint&quot; value=&quot;YOUR THUMB PRINT VALUE&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3452" LastEditorUserId="5387" LastEditDate="2019-07-29T08:36:15.930" LastActivityDate="2019-07-29T08:36:15.930" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20069" PostTypeId="2" ParentId="20045" CreationDate="2019-07-24T13:48:35.850" Score="9" Body="&lt;p&gt;I've added a new post on my blog here: &lt;a href=&quot;https://sitecore.derekc.net/extending-sitecore-identitys-sitecore-profile-to-map-additional-profile-data/&quot; rel=&quot;noreferrer&quot;&gt;https://sitecore.derekc.net/extending-sitecore-identitys-sitecore-profile-to-map-additional-profile-data/&lt;/a&gt;. Summary below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So three steps to add a field that exists in UserProfile to Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add the field to sitecore.profile in Sitecore Identity&lt;/li&gt;&#xA;&lt;li&gt;Create a claim transform in Sitecore Identity&lt;/li&gt;&#xA;&lt;li&gt;Map the claim in Sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In the identityServer.xml on SI, add a new UserClaim to the  node with the name of the claim going to Sitecore (the comment claim below):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;      &amp;lt;IdentityResources&amp;gt;&#xA;        &amp;lt;SitecoreIdentityResource&amp;gt;&#xA;          &amp;lt;Name&amp;gt;sitecore.profile&amp;lt;/Name&amp;gt;&#xA;          &amp;lt;UserClaims&amp;gt;&#xA;            &amp;lt;UserClaim1&amp;gt;name&amp;lt;/UserClaim1&amp;gt;&#xA;            &amp;lt;UserClaim2&amp;gt;email&amp;lt;/UserClaim2&amp;gt;&#xA;            &amp;lt;UserClaim3&amp;gt;role&amp;lt;/UserClaim3&amp;gt;&#xA;            &amp;lt;UserClaim4&amp;gt;http://www.sitecore.net/identity/claims/isAdmin&amp;lt;/UserClaim4&amp;gt;&#xA;            &amp;lt;UserClaim5&amp;gt;http://www.sitecore.net/identity/claims/originalIssuer&amp;lt;/UserClaim5&amp;gt;&#xA;            &amp;lt;UserClaim6&amp;gt;comment&amp;lt;/UserClaim6&amp;gt;&#xA;          &amp;lt;/UserClaims&amp;gt;&#xA;          &amp;lt;Required&amp;gt;true&amp;lt;/Required&amp;gt;&#xA;        &amp;lt;/SitecoreIdentityResource&amp;gt;&#xA;      &amp;lt;/IdentityResources&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add a claim transformation to Sitecore Identity (if the claim is nonstandard, &lt;a href=&quot;https://sitecore.derekc.net/using-nonstandard-claims-from-azure-active-directory-with-sitecore-identity-server/&quot; rel=&quot;noreferrer&quot;&gt;here is how to pass nonstandard attributes as claims&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;            &amp;lt;StateToComment type=&quot;Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders&quot;&amp;gt;&#xA;              &amp;lt;SourceClaims&amp;gt;&#xA;                &amp;lt;Claim1 type=&quot;state&quot; /&amp;gt;&#xA;              &amp;lt;/SourceClaims&amp;gt;&#xA;              &amp;lt;NewClaims&amp;gt;&#xA;                &amp;lt;Claim1 type=&quot;comment&quot; /&amp;gt;&#xA;              &amp;lt;/NewClaims&amp;gt;&#xA;            &amp;lt;/StateToComment &amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, create a map in Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;          &amp;lt;map name=&quot;set Comment&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;              &amp;lt;source name=&quot;comment&quot; /&amp;gt;&#xA;              &amp;lt;target name=&quot;Comment&quot; /&amp;gt;&#xA;            &amp;lt;/data&amp;gt;&#xA;          &amp;lt;/map&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the property you're writing to in Sitecore isn't easily accessible by profile, there's an abstract ClaimToPropertyMapper in the Sitecore.Owin.Authentication.Services namespace that could be leveraged to map all claims to custom property claims. Would require filling all of the implementation. More likely you'd want to inherit off of the DefaultClaimToPropertyMapper instead and override the &lt;code&gt;MapCore&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private void SavePropertyViaIndexer(User user, Claim sourceClaim)&#xA;    {&#xA;        user.Profile[Target] = (TargetValue ?? sourceClaim.Value);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Seems it should be easy enough to make those custom properties on the profile instead. Again, haven't tried this but was looking into something similar at one point. Good luck!&lt;/p&gt;&#xA;" OwnerUserId="553" LastEditorUserId="553" LastEditDate="2019-08-15T15:08:53.677" LastActivityDate="2019-08-15T15:08:53.677" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="20071" PostTypeId="2" ParentId="20026" CreationDate="2019-07-24T16:36:58.500" Score="0" Body="&lt;p&gt;1) Make sure that you switch mode to &lt;strong&gt;Windows container&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3G2HL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3G2HL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Try to switch &lt;strong&gt;Experimental features&lt;/strong&gt; under the Daemon Docker Settings (check if unchecked and vice versa). Restart docker.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/CKEgi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CKEgi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-07-24T16:36:58.500" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20072" PostTypeId="1" AcceptedAnswerId="20090" CreationDate="2019-07-24T17:57:47.653" Score="1" ViewCount="139" Body="&lt;p&gt;I am going to use Express Migration Tool 3.1 to migrate the databases from 7.2 -&gt; 9.0.  I only need to migrate the databases, I don't need to migrate the files (I already have that part figured out separately).  Do I still need to provide the Express Migration Tool with the paths to the Source and Target website folder?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason I am asking ahead of time (instead of just trying it so see what happens) is I am doing this in a multi-server setup.  The source instance is on SERVER-A.  The target instance is on SERVER-B.  And the Express Migration Tool will be run on SERVER-B.  Do I have to go through the process of mapping a drive from SERVER-A to SERVER-B so that I have the path to the SERVER-A website folder even if I'm not migrating any files?&lt;/p&gt;&#xA;" OwnerUserId="215" LastEditorUserId="246" LastEditDate="2019-07-25T04:38:04.053" LastActivityDate="2019-07-25T10:50:08.867" Title="When using Express Migration Tool to just migrate databases do I need to provide the Website folder path?" Tags="|express-migration-tool|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20073" PostTypeId="2" ParentId="18100" CreationDate="2019-07-24T18:33:27.053" Score="1" Body="&lt;p&gt;I was able to track this down. You can just add &lt;code&gt;pipelineContext.PipelineBatchContext.CurrentPipelineBatch.GetPipelineBatchSummary().EntitySubmitedCount += 1;&lt;/code&gt; to your pipeline, but I have several pipelines and several that are reusable. So I made my own pipeline to handle the incremental update of the count.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The converter&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This basically does nothing but handle my custom pipeline template (&lt;code&gt;{4F1AACC2-BC1D-41EC-AB49-D21A2F78D661}&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.Def.Converters.PipelineSteps&#xA;{&#xA;    using Sitecore.DataExchange.Attributes;&#xA;    using Sitecore.DataExchange.Converters.PipelineSteps;&#xA;    using Sitecore.DataExchange.Models;&#xA;    using Sitecore.DataExchange.Repositories;&#xA;    using Sitecore.Services.Core.Model;&#xA;&#xA;    [SupportedIds(TemplateId)]&#xA;    public class IncrementBatchPipelineStepConverter : BasePipelineStepConverter&#xA;    {&#xA;        public const string TemplateId = &quot;{4F1AACC2-BC1D-41EC-AB49-D21A2F78D661}&quot;;&#xA;        public IncrementBatchPipelineStepConverter(IItemModelRepository repository) : base(repository)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep)&#xA;        {&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The processor&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This is where I add the &lt;code&gt;EntitySubmitedCount&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.Def.Processors.PipelineSteps&#xA;{&#xA;    using Sitecore.DataExchange.Contexts;&#xA;    using Sitecore.DataExchange.Models;&#xA;    using Sitecore.Services.Core.Diagnostics;&#xA;    using Sitecore.DataExchange.Extensions;&#xA;    using Sitecore.DataExchange.Processors.PipelineSteps;&#xA;&#xA;    public class IncrementBatchPipelineStepProcessor : BasePipelineStepProcessor&#xA;    {&#xA;        protected override void ProcessPipelineStep(&#xA;            PipelineStep pipelineStep,&#xA;            PipelineContext pipelineContext,&#xA;            ILogger logger)&#xA;        {&#xA;            pipelineContext.PipelineBatchContext.CurrentPipelineBatch.GetPipelineBatchSummary().EntitySubmitedCount += 1;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="246" LastEditDate="2019-07-25T04:43:26.427" LastActivityDate="2019-07-25T04:43:26.427" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20074" PostTypeId="1" AcceptedAnswerId="20075" CreationDate="2019-07-24T21:50:05.037" Score="0" ViewCount="220" Body="&lt;p&gt;I switched from Solr to Azure search and followed all the steps listed in the &lt;a href=&quot;http://www.integryx.net/post/2019/01/05/switch-sitecore-9-from-solr-to-azure-search-step-by-step-instructions&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt;.&#xA;I Also renamed the Solr core to lower case with dashes. &#xA;When I run the &lt;code&gt;xConnectSearchIndexer -rr&lt;/code&gt; service the indexes are created in the Azure but the names are different. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The master index name is &lt;code&gt;sitecore-master-index-732&lt;/code&gt; instead of just &lt;code&gt;sitecore-master-index&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there some configuration/step that I have set incorrectly or missing?&lt;/p&gt;&#xA;" OwnerUserId="3129" LastEditorUserId="73" LastEditDate="2019-07-27T10:53:01.687" LastActivityDate="2019-07-27T10:53:01.687" Title="Index names get a number appended" Tags="|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20075" PostTypeId="2" ParentId="20074" CreationDate="2019-07-25T00:25:26.640" Score="5" Body="&lt;p&gt;This is normal behaviour in Sitecore 9.1+ and is not a problem.&#xA;You have &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/zero-downtime-index-rebuild-in-azure-search.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Azure Search switch on rebuild&lt;/a&gt; enabled, so it will append a random number to the index name when rebuilding and then switch to using it once the rebuild is complete. It should then delete the old index.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-07-25T00:25:26.640" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20076" PostTypeId="2" ParentId="19928" CreationDate="2019-07-25T04:04:47.230" Score="0" Body="&lt;p&gt;When working with upgrades/migrations, I usually use this approach for trying to isolate where the issue is:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If things are not working out, doing a full serialize of the master db and a clean master db and doing a delta. This sometimes finds missing items that should be there, extra items that might need to be removed, or items that got updated to wrong paths/class names.&lt;/li&gt;&#xA;&lt;li&gt;If that is too arduous, the old &quot;remove stuff&quot; trick: Point the existing processing instance at a clean vanilla install ofSitecore. Does it work?&lt;/li&gt;&#xA;&lt;li&gt;Remove all customizations from the processing instance (or install a clean one) and point it at the databases. Does it work?&lt;/li&gt;&#xA;&lt;li&gt;Start isolating databases with 'clean' versions (such as making Core/Master/Web clean) and seeing if it's a problem of something in those databases that Processing is looking at.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-07-25T04:04:47.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20077" PostTypeId="6" CreationDate="2019-07-25T05:25:28.603" Score="0" Body="&lt;p&gt;Greetings! My name is Pete Navarra, known as &lt;a href=&quot;https://sitecorehacker.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Hacker&lt;/a&gt;. I've been involved with Sitecore since 2008, have worked on countless Sitecore implementations and mentored countless developers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As an early participant in the &lt;a href=&quot;https://bit.ly/2K4TK76&quot; rel=&quot;nofollow noreferrer&quot;&gt;Area 51 campaign&lt;/a&gt; and even a &lt;a href=&quot;https://bit.ly/2GrbMQ8&quot; rel=&quot;nofollow noreferrer&quot;&gt;nominated candidate for the first moderator election&lt;/a&gt;, I see the value of a well-moderated site. I also believe that while some of the rules of Stack Exchange can be a little difficult for new participants, we should welcome new members with education and guidance and not just an immediate moderator flag.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Engaged Community Leader&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;3-Time Sitecore MVP (11+ years of Sitecore)&lt;/li&gt;&#xA;&lt;li&gt;A Top Contributor:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;204 Answers&lt;/li&gt;&#xA;&lt;li&gt;104 Accepted Answers&lt;/li&gt;&#xA;&lt;li&gt;52.3% Acceptance Rate (4th highest of users with &gt;150 Answers)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://bit.ly/2Oi8BRe&quot; rel=&quot;nofollow noreferrer&quot;&gt;Known for detailed answers&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Slack Admin&lt;/li&gt;&#xA;&lt;li&gt;Multi-year Speaker at Symposium/SUGCON EU Conferences&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I ask for your vote by Aug. 6th! Please reach out if you have any questions! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Looking forward to working hard for this community! &lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="246" LastEditDate="2019-07-25T05:36:30.523" LastActivityDate="2019-07-25T05:36:30.523" CommentCount="0" CommunityOwnedDate="2019-07-25T05:25:28.603" ContentLicense="CC BY-SA 4.0" />
  <row Id="20078" PostTypeId="1" CreationDate="2019-07-25T06:27:43.547" Score="1" ViewCount="168" Body="&lt;p&gt;Our application is currently on &lt;code&gt;Sitecore 9.0.2&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are two parts to our Application, one is the Sitecore application, the other part is a &lt;code&gt;Microsoft Dynamics Portal Application&lt;/code&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a requirement to authenticate and single sign-on end-users between these two applications (authenticate **end user only **, not Sitecore client) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;we intend to use &lt;code&gt;Azure AD B2C&lt;/code&gt; to achieve this functionality &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand that Sitecore 9.0.2 can be configured to Authenticate users from Azure AD or Azure B2C, Will single sign-on work in this case? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If Yes, any pointers on how this functionality can be achieved? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="5387" LastEditDate="2019-07-25T08:50:54.757" LastActivityDate="2019-07-25T08:50:54.757" Title="Single Sign On between Sitecore 9 Application and Microsoft Dynamics Portal With Azure AD B2C" Tags="|authentication|federated-authentication|azure-ad|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20079" PostTypeId="2" ParentId="20031" CreationDate="2019-07-25T08:08:00.853" Score="2" Body="&lt;p&gt;After a ticket to Sitecore support and some investigation of our own, we've had to go down the route of using sticky sessions. This keeps the user on the same CD after their initial login.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore support confirmed my theory that the roles are not being persisted quick enough by the time the redirect is done:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Properties of virtual users are stored in in-memory Runtime Settings (CD1)&lt;/li&gt;&#xA;&lt;li&gt;These runtime settings are written to a Client Data Store, the [ClientData] table of a 'core' database in your case, thus virtual user properties are shared among instances.&lt;/li&gt;&#xA;&lt;li&gt;Since CD1 and CD2 instances have their own independent memory (also a cache with user settings), this cache is periodically (not immediately) updated using [EventQueue] records.&lt;/li&gt;&#xA;&lt;li&gt;Considering that your  frequency equals 5 seconds, CD2 may be not aware about CD1 virtual user changes up to 5 seconds.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;The alternative option to using sticky sessions is to reduce the scheduling frequency, but given the redirect happens so quickly I don't think there would be a guarantee.&lt;/p&gt;&#xA;" OwnerUserId="720" LastActivityDate="2019-07-25T08:08:00.853" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20080" PostTypeId="2" ParentId="20040" CreationDate="2019-07-25T08:41:28.307" Score="2" Body="&lt;p&gt;Sitecore Personalization engine will render the components because both set of rules are being satisfied. As far as I know, Sitecore does not store the information of when a condition has been satisfied because this is executed on the fly during rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If both rules are being satisfied, in order for you to have only 1 set of rules to be rendered, you will need to implement a custom condition. The custom condition will have a global variable that will be shared across those rules. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example, Rule A has been met, then set the global variable to true. Before having the Rule B to render, you should check if the global variable has been set to true. If yes, then Rule B should not be rendered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From a previous project, I had make use of the &lt;code&gt;HttpContext.Current.Items&lt;/code&gt; which allows me to pass in the flag.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/03D6o.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/03D6o.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that you can also try to add other conditions whereby you randomly render either Layout A or B if both set of rules are met.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-07-25T08:41:28.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20081" PostTypeId="1" AcceptedAnswerId="20089" CreationDate="2019-07-25T08:58:33.880" Score="2" ViewCount="74" Body="&lt;p&gt;I'm extending &lt;code&gt;Sitecore.Shell.Applications.WebEdit.Commands.AddRendering&lt;/code&gt;, and from the code there's &lt;code&gt;GetRenderingDatasourceArgs.DatasourceRoots&lt;/code&gt; and I am adding items on it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var customdatasourceroot = &quot;/sitecore/content//*[@@templateid='{templateid}']&quot;;&#xA;if (!string.isnullorempty(customdatasourceroot))&#xA;{&#xA;    var obj = renderingdatasourceargs.contentdatabase.getitem(renderingdatasourceargs.contextitempath);&#xA;    if (obj != null)&#xA;    {&#xA;        var objarray = (item[])null;&#xA;        objarray = obj.axes.selectitems(customdatasourceroot);&#xA;&#xA;        if (objarray != null)&#xA;        {&#xA;            foreach (var item in objarray)&#xA;            {&#xA;                renderingdatasourceargs.DatasourceRoots.Add(item);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But when the dialog box appears, only the nodes for the current datasource appears on the selection box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is some part of the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddRendering : Sitecore.Shell.Applications.WebEdit.Commands.AddRendering&#xA;{&#xA;    protected new static void Run(ClientPipelineArgs args)&#xA;    {&#xA;        ...&#xA;        GetRenderingDatasourceArgs renderingDatasourceArgs = new GetRenderingDatasourceArgs(itemNotNull)&#xA;        {&#xA;            ContextItemPath = args.Parameters[&quot;contextitempath&quot;],&#xA;            ContentLanguage = WebEditUtil.GetClientContentLanguage()&#xA;        };&#xA;&#xA;        CorePipeline.Run(&quot;getRenderingDatasource&quot;, (PipelineArgs)renderingDatasourceArgs);&#xA;    }&#xA;}&#xA;&#xA;....&#xA;&#xA;var customdatasourceroot = &quot;/sitecore/content//*[@@templateid='{templateid}']&quot;;&#xA;if (!string.IsNullOrEmpty(customdatasourceroot))&#xA;{&#xA;    var obj = renderingDatasourceArgs.ContentDatabase.GetItem(renderingDatasourceArgs.ContextItemPath);&#xA;    if (obj != null)&#xA;    {&#xA;        var objarray = (Item[])null;&#xA;        objarray = obj.Axes.SelectItems(customdatasourceroot);&#xA;&#xA;        if (objarray != null)&#xA;        {&#xA;            foreach (var item in objarray)&#xA;            {&#xA;                renderingDatasourceArgs.DatasourceRoot.Add(item);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;....&#xA;&#xA;if (!string.IsNullOrEmpty(renderingDatasourceArgs.CurrentDatasource))&#xA;{&#xA;    Item obj = Client.ContentDatabase.GetItem(renderingDatasourceArgs.CurrentDatasource);&#xA;    WebEditResponse.Eval(FormattableString.Invariant(FormattableStringFactory.Create(&quot;Sitecore.PageModes.ChromeManager.handleMessage('chrome:placeholder:controladded', {{ id: '{0}', openProperties: {1}, dataSource: '{2}' }});&quot;, (object)itemNotNull.ID.Guid.ToString(&quot;N&quot;).ToUpperInvariant(), (object)flag.ToString().ToLowerInvariant(), (object)obj.ID.Guid.ToString(&quot;B&quot;).ToUpperInvariant())));&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I want to display certain nodes from the tree so that user can select from different sites.&lt;/p&gt;&#xA;" OwnerUserId="5771" LastEditorUserId="73" LastEditDate="2019-07-25T13:08:24.010" LastActivityDate="2019-07-25T13:08:24.010" Title="GetRenderingDatasourceArgs.DatasourceRoots never use the other items added into it" Tags="|datasource|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20082" PostTypeId="1" CreationDate="2019-07-25T09:11:27.823" Score="0" ViewCount="464" Body="&lt;p&gt;The following is the code which i'm using to update the field values of a rendering.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:\content\ListManagerTask\Adding Contact&quot;&#xA;Get-Rendering -Item $item -PlaceHolder &quot;main&quot; | &#xA;    Foreach-Object { &#xA;        Write-Host &quot;$_.ChildRenderings.ToString()&quot;&#xA;        $_.DataSource = $null &#xA;        Set-Rendering -Item $item -Instance $_&#xA;    } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need to assign value to parameters template. But there is no such property. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone help me out in fixing this issue.&lt;/p&gt;&#xA;" OwnerUserId="5632" LastEditorUserId="605" LastEditDate="2019-07-25T10:26:20.427" LastActivityDate="2019-07-25T10:26:20.427" Title="Issue in updating parameters template field of a rendering using powershell" Tags="|presentation|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20083" PostTypeId="1" CreationDate="2019-07-25T09:11:48.753" Score="5" ViewCount="1846" Body="&lt;p&gt;I am trying to install the Sitecore PowerShell extensions module in Sitecore 9.2. While installing this module, I received a w3wp crash error as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2K6Mk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2K6Mk.png&quot; alt=&quot;Enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to run any script, I am receiving &quot;Sitecore.Jobs.Jobs&quot; error as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qRrbC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qRrbC.png&quot; alt=&quot;Enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the Sitecore PowerShell extensions module compatible with Sitecore 9.2?&lt;/p&gt;&#xA;" OwnerUserId="930" LastEditorUserId="237" LastEditDate="2019-07-26T06:05:30.747" LastActivityDate="2020-04-30T04:28:02.450" Title="Sitecore PowerShell extensions module compatibility with Sitecore 9.2" Tags="|powershell-extensions|" AnswerCount="4" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20085" PostTypeId="1" CreationDate="2019-07-25T09:34:12.700" Score="1" ViewCount="109" Body="&lt;p&gt;I keep seeing &lt;code&gt;ERROR Campaign not found: NW9D3AFB4C9BDE48C8868B546C9EB9AF12&lt;/code&gt; in the logs on &lt;code&gt;CD servers&lt;/code&gt; of a &lt;code&gt;Sitecore 8.2&lt;/code&gt; instance. There are variants with different ID's. There's no stack trace so I don't really know where to begin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what could be causing this rather frequent issue?&lt;/p&gt;&#xA;" OwnerUserId="5816" LastEditorUserId="5387" LastEditDate="2019-07-25T13:05:22.923" LastActivityDate="2019-07-25T13:05:22.923" Title="ERROR Campaign not found: NW9D3AFB4C9BDE48C8868B546C9EB9AF12" Tags="|dms|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20086" PostTypeId="1" CreationDate="2019-07-25T09:52:24.107" Score="1" ViewCount="229" Body="&lt;p&gt;I have set up simple persona rule in banner rendering. Persona is set on the user and I can confirm it from Experience profile but still my rule is not executed. I have tried rule for both contact and visit but for both the cases it is not executed. How can I debug or check logs related to this issue.&lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-07-25T11:53:33.010" Title="How can I debug Sitecore in case inbuilt personalization rule not working?" Tags="|personalization|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20087" PostTypeId="2" ParentId="20082" CreationDate="2019-07-25T10:24:48.693" Score="1" Body="&lt;p&gt;In order to add rendering parameters via Sitecore Powershell, you should make use of the &lt;code&gt;set-renderingparameter&lt;/code&gt;. It accepts a Hashtable or dictionary of key value pairs.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:\content\ListManagerTask\Adding Contact&quot;&#xA;&#xA;$parameters = @{&quot;SampleKey2&quot;=&quot;SampleValue2&quot;}&#xA;&#xA;Get-Rendering -Item $item -PlaceHolder &quot;main&quot; | &#xA;    Foreach-Object { &#xA;        Write-Host &quot;$_.ChildRenderings.ToString()&quot;&#xA;        $_.DataSource = $null &#xA;        Set-RenderingParameter -Parameter $parameters | &#xA;        Set-Rendering -Item $item -Instance $_&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that I have not yet tested the script but you can find more information at&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/presentation/set-renderingparameter&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Powershell Extension - Set-RenderingParameter&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/presentation/set-rendering&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Powershell Extension - Set-Rendering&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-07-25T10:24:48.693" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20089" PostTypeId="2" ParentId="20081" CreationDate="2019-07-25T10:40:41.747" Score="0" Body="&lt;p&gt;When you use &lt;code&gt;var obj = renderingDatasourceArgs.ContentDatabase.GetItem(renderingDatasourceArgs.ContextItemPath)&lt;/code&gt; you get the current context Item (data source). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then, you call &lt;code&gt;obj.Axes.SelectItems(customdatasourceroot)&lt;/code&gt; to apply your query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your query is good, the issue is that you are applying it on the current data source item &lt;code&gt;axes&lt;/code&gt;. Axes are a kind of directional query. So basically you are looking for all &lt;code&gt;[@@templateid='{templateid}']&lt;/code&gt; below your current data source item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix it you need to change the root item to something more high level on the hierarchy. &lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-07-25T10:40:41.747" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20090" PostTypeId="2" ParentId="20072" CreationDate="2019-07-25T10:50:08.867" Score="1" Body="&lt;p&gt;Before you run the Express Migration Tool 3.1, you must decide whether you want to run it on the same computer as your source and target instances or on a different computer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you run the tool on a different computer, you must ensure that it has Server Message Block (SMB) access to the source, target, and comparison instance's database servers and file system, and then you can specify the network path to the file system on the source instance and the comparison instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are using the tool where target instance are running on SERVER B, and the source instance is located on a remote server(SERVER A). You must ensure that the Core and Master databases are accessible and the connection strings are valid for the computer you are running the tool from.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;Core&quot; connectionString=&quot;Data Source=SOURCE SERVER;Initial Catalog=SERVER;Integrated Security=False;User ID=YOUR ID;Password=YOUR PASSWORD&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On the Instance parameter sub tab you must need to enter the source and target  website folder field path, enter the network path of your  source website folder . Be sure that using the path it can access the website folder .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TX3W8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TX3W8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="3452" LastActivityDate="2019-07-25T10:50:08.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20091" PostTypeId="2" ParentId="20083" CreationDate="2019-07-25T11:46:17.483" Score="2" Body="&lt;p&gt;&lt;strong&gt;No&lt;/strong&gt;, Sitecore 9.2 released just a few days ago and it has a new Sitecore.Kernel dll, the latest Sitecore PowerShell extension module has lots of dependency on Sitecore.Kernel. With the latest release, you will not find the Sitecore.Jobs.Jobs and that is what in your error. You should wait for some time for Sitecore 9.2 compatible SPE module version. &#xA;See below image for references&lt;a href=&quot;https://i.stack.imgur.com/qzTlP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qzTlP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; - &lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-07-25T11:46:17.483" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20092" PostTypeId="2" ParentId="20083" CreationDate="2019-07-25T11:50:21.660" Score="14" Body="&lt;p&gt;I do know that I personally built 5.1 to address the compatibility issue with jobs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I encourage you to consider trying that to confirm it corrects the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/SitecorePowerShell/Console/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecorePowerShell/Console/releases&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some clarification. The official SPE builds on GitHub have embedded the VersionSpecific dll into the primary dll. When the installation takes place that file gets deleted because it's no longer needed on the disk. The builds hosted by Sitecore were essentially recompiled to target Sitecore 9.2 and do not contain the same exact code as seen in the official SPE builds.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-09-26T22:21:11.863" LastActivityDate="2019-09-26T22:21:11.863" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20093" PostTypeId="2" ParentId="20086" CreationDate="2019-07-25T11:53:33.010" Score="3" Body="&lt;p&gt;I would start by installing this tool &lt;a href=&quot;https://github.com/buildabonfire/Bonfire.Analytics.Dto&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/buildabonfire/Bonfire.Analytics.Dto&lt;/a&gt;. Then when in session you can see who patterns you are current in (past and present). If you see the persona you expect. Then I would move to the log files and see if you have a null reference to a profile key in an items tracking field. When you rename a profile, it can cause issues like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;   &quot;CurrentProfiles&quot;:[&#xA;      {&#xA;         &quot;ProfileName&quot;:&quot;Industry&quot;,&#xA;         &quot;Score&quot;:10.0,&#xA;         &quot;Count&quot;:1,&#xA;         &quot;PatternName&quot;:&quot;Business Services&quot;,&#xA;         &quot;PatternId&quot;:&quot;ea29b725-905b-4ab2-b6b5-727dbb479514&quot;,&#xA;         &quot;PatternLabel&quot;:&quot;Business Services&quot;&#xA;      },&#xA;      {&#xA;         &quot;ProfileName&quot;:&quot;Focus&quot;,&#xA;         &quot;Score&quot;:10.0,&#xA;         &quot;Count&quot;:1,&#xA;         &quot;PatternName&quot;:&quot;&quot;,&#xA;         &quot;PatternId&quot;:null,&#xA;         &quot;PatternLabel&quot;:null&#xA;      }&#xA;   ],&#xA;   &quot;PastProfiles&quot;:[&#xA;      {&#xA;         &quot;ProfileName&quot;:&quot;Industry&quot;,&#xA;         &quot;Id&quot;:&quot;8c78d1ec-e978-4ef7-a27f-f70038548230&quot;,&#xA;         &quot;NumberOfTimesScored&quot;:1,&#xA;         &quot;Total&quot;:0.0,&#xA;         &quot;Scores&quot;:[&#xA;            {&#xA;               &quot;Key&quot;:&quot;a8e663b6-b1cc-45a0-b2d6-dda85218d050&quot;,&#xA;               &quot;Value&quot;:10.0&#xA;            }&#xA;         ],&#xA;         &quot;StringScore&quot;:null,&#xA;         &quot;PatterneName&quot;:&quot;Business Services&quot;,&#xA;         &quot;PatternId&quot;:&quot;ea29b725-905b-4ab2-b6b5-727dbb479514&quot;&#xA;      }&#xA;   ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-07-25T11:53:33.010" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20094" PostTypeId="1" CreationDate="2019-07-25T11:59:11.720" Score="2" ViewCount="87" Body="&lt;p&gt;I am trying to trigger a goal from the client side following the below link&#xA;&lt;a href=&quot;https://ggullentops.blogspot.com/2016/02/integrating-addthis-with-sitecore-goals.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2016/02/integrating-addthis-with-sitecore-goals.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I would like to generate a monthly report for this specific goal's analytics. Can you guide me towards different options?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore version 8.1 with MongoDB.&lt;/p&gt;&#xA;" OwnerUserId="1865" LastEditorUserId="237" LastEditDate="2019-07-25T12:18:22.440" LastActivityDate="2019-07-29T15:17:55.073" Title="How can I read the analytics of triggered goals?" Tags="|xdb|reporting|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20095" PostTypeId="2" ParentId="20083" CreationDate="2019-07-25T12:02:56.963" Score="5" Body="&lt;p&gt;On Sitecore 9.2, the Jobs API changed. You should use either:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The official Sitecore Powershell Extensions 5.1 version: &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/releases/tag/5.1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecorePowerShell/Console/releases/tag/5.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;The SXA build of Sitecore Powershell Extensions 5.0 for Sitecore 9.2: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/19/Sitecore_Experience_Accelerator_190.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/19/Sitecore_Experience_Accelerator_190.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Regarding the w3wp crash, it looks very similar to this xConnect crash KB: &lt;a href=&quot;https://kb.sitecore.net/articles/494291&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/494291&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are on a Windows 10 build older than 1809, could you try installing the &quot;.NET Framework November 2018 Security and Quality Rollup&quot; as mentioned in the KB solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are on Windows 10 1809 or newer, could you try the binding redirect workaround?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&quot;System.Security.Cryptography.Algorithms&quot; publicKeyToken=&quot;b03f5f7f11d50a3a&quot; culture=&quot;neutral&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-4.3.0.0&quot; newVersion=&quot;4.3.0.0&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&quot;System.Security.Cryptography.Algorithms&quot; publicKeyToken=&quot;b03f5f7f11d50a3a&quot; culture=&quot;neutral&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-4.3.0.0&quot; newVersion=&quot;4.0.0.0&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="171" LastEditorUserId="171" LastEditDate="2019-07-26T16:28:23.720" LastActivityDate="2019-07-26T16:28:23.720" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20096" PostTypeId="2" ParentId="20094" CreationDate="2019-07-25T12:16:59.890" Score="1" Body="&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/the-conversions-tab-reports.html#UUID-830dcc82-f326-b8af-3d36-38dc92c63719_id__Goals&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/the-conversions-tab-reports.html#UUID-830dcc82-f326-b8af-3d36-38dc92c63719_id__Goals&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Experience Analytics&lt;/code&gt;, in the &lt;code&gt;Conversions&lt;/code&gt; tab, you can get the goals reports. Not sure what is exactly possible in 8.1 (the link above is for the 8.1 specific docs, so the report is there), but in a 9 version I can easily filter on the goal and the timeframe and see all analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this ootb information is not sufficient, you'll need to create a custom report but I would start with checking the ootb information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/create-a-custom-experience-analytics-report.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/create-a-custom-experience-analytics-report.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-07-29T15:17:55.073" LastActivityDate="2019-07-29T15:17:55.073" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20097" PostTypeId="1" CreationDate="2019-07-25T12:45:01.177" Score="2" ViewCount="114" Body="&lt;p&gt;There is a strange issue that I encountered today.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I submit a Contact using Sitecore Forms and Sync the same contact through dynamics CRM connector, I get duplicated contacts as the identifier of both of these contacts is different.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I need to Sync this contact created through Sitecore form back to CRM, there will be a discrepancy in data.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anybody Suggest how can I handle this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Identifier for CRM contact is Dynamics.Contactid and for Sitecore form contact is subscribe.form.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Sam&lt;/p&gt;&#xA;" OwnerUserId="3900" LastActivityDate="2019-07-25T12:45:01.177" Title="Sitecore Contact Duplication Issue - Dynamics CRM Connector" Tags="|sitecore-client|dynamics-crm-module|" AnswerCount="0" CommentCount="12" ContentLicense="CC BY-SA 4.0" />
  <row Id="20098" PostTypeId="1" CreationDate="2019-07-25T13:01:36.390" Score="1" ViewCount="1206" Body="&lt;p&gt;When I try to personalise an element within an email, I receive an error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexOutOfRangeException: Index was outside the bounds of the array.]&#xA;   Sitecore.Data.Query.Tokenizer.NextToken() +2090&#xA;   Sitecore.Data.Query.QueryParser.Initialize(String query) +126&#xA;   Sitecore.Data.Query.QueryParser.DoParse(String query) +17&#xA;   Sitecore.Data.Query.Query..ctor(String query) +70&#xA;   Sitecore.Data.Query.Query.SelectItems(String query, QueryContext contextNode, Database database) +94&#xA;   Sitecore.Data.DefaultDatabase.SelectItems(String query) +204&#xA;   Sitecore.XA.Foundation.LocalDatasources.Pipelines.GetRenderingDatasource.GetDatasourceLocation.AddRootsFromQuery(String query, GetRenderingDatasourceArgs args) +336&#xA;   Sitecore.XA.Foundation.LocalDatasources.Pipelines.GetRenderingDatasource.GetDatasourceLocation.Process(GetRenderingDatasourceArgs args) +226&#xA;   (Object , Object ) +9&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Shell.Applications.WebEdit.Dialogs.Personalization.PersonalizationForm.SetDatasource(ClientPipelineArgs args) +890&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I replicate this by setting the content field by clicking the '...' button:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/hDO0A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hDO0A.png&quot; alt=&quot;Content select button&quot;&gt;&lt;/a&gt;&#xA;This triggers a call to &lt;code&gt;/sitecore/shell/default.aspx?xmlcontrol=Sitecore.Shell.Applications.WebEdit.Dialogs.Personalization&amp;amp;shdl=PEPesonalization&amp;amp;deviceId=%7BFE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3%7D&amp;amp;uid=%7BF71D3F57-B8AB-48AC-8D72-EEF37982A3B8%7D&amp;amp;uri=sitecore%3A%2F%2Fmaster%2F%7BDEE175AA-88A2-4D14-BEFE-735049352DFC%7D%3Flang%3Den%26ver%3D0&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;DEE175AA-88A2-4D14-BEFE-735049352DFC&lt;/code&gt; being the Item at &lt;code&gt;/sitecore/content/Email/Messages/2019/07/22T105128/test/Message Root&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the call that is failing and causes a run time error dialog to appear. Clicking details fails to reveal more information. Has anyone come across this before?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm running the unmodified, Sitecore supplied Sitecore.NET 9.1.0 (rev. 001564) Habitat Home demo.&lt;/p&gt;&#xA;" OwnerUserId="5816" LastEditorUserId="70" LastEditDate="2019-07-25T13:14:00.600" LastActivityDate="2019-07-25T13:14:00.600" Title="Index was outside the bounds of the array exception when using personalisation via EXM" Tags="|exm|personalization|habitathome|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20099" PostTypeId="1" AcceptedAnswerId="20100" CreationDate="2019-07-25T13:10:16.260" Score="3" ViewCount="678" Body="&lt;p&gt;How do I remove an unpublished item from Google search? I read an article that recommended adding the meta tag &lt;code&gt;&amp;lt;meta name=&quot;robots&quot; content=&quot;noindex&quot; /&amp;gt;&lt;/code&gt; to exclude a page from crawling and indexing. But in my case, I don't have that item in the web database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I remove it from the crawler?&lt;/p&gt;&#xA;" OwnerUserId="1804" LastEditorUserId="342" LastEditDate="2019-07-25T14:41:50.043" LastActivityDate="2019-07-25T19:52:36.493" Title="Unpublished Sitecore item in Google search" Tags="|publishing|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20100" PostTypeId="2" ParentId="20099" CreationDate="2019-07-25T13:18:50.607" Score="5" Body="&lt;p&gt;If you don't have that item accessible publicly anymore, you can use Google Console to request url removal. Quoting &lt;a href=&quot;https://www.sistrix.com/ask-sistrix/google-index-google-bot-crawler/how-can-i-remove-a-url-on-my-website-from-the-google-index/&quot; rel=&quot;noreferrer&quot;&gt;https://www.sistrix.com/ask-sistrix/google-index-google-bot-crawler/how-can-i-remove-a-url-on-my-website-from-the-google-index/&lt;/a&gt; article:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Using a setting within the Google Search Console, you are able to easily have a URL removed from the Google index.&lt;/p&gt;&#xA;&lt;p&gt;In case you are not yet using the Google Search Console, you can activate your website for the free (&lt;a href=&quot;https://www.google.com/webmasters/tools/?hl=en&quot; rel=&quot;noreferrer&quot;&gt;https://www.google.com/webmasters/tools/?hl=en&lt;/a&gt;) in just a few minutes. This also lets you remove URLs from the Google Index afterwards.&lt;/p&gt;&#xA;&lt;p&gt;Removing a URL from the index with the Google Search Console:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Log into the Google Search Console and select the desired website&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click on “Optimization” in the left-hand navigation&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click on “Remove URL” in the sub-menu&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Click on the button “create a new request for removal” on this page&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You will now be asked to type in the URL of the page that you want to be removed and confirm your choice by clicking on “continue” (in our example this is the page &lt;a href=&quot;http://www.example.com/page4.html&quot; rel=&quot;noreferrer&quot;&gt;http://www.example.com/page4.html&lt;/a&gt;)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Done. Now you have to wait some time until the desired URL is removed from Google’s index.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;You should be aware that processing such a request may take a while and there is no option to speedup that process.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-25T13:18:50.607" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20101" PostTypeId="1" CreationDate="2019-07-25T13:25:42.380" Score="-1" ViewCount="154" Body="&lt;p&gt;I'm trying to duplicate my Sitecore installation from CM1 to CM2. After I completed my installation on CM1, I have applied the following steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Copy wwwroot site folder from CM1 to CM2.&lt;/li&gt;&#xA;&lt;li&gt;Copy Solr indexes folders from CM1 to CM2&lt;/li&gt;&#xA;&lt;li&gt;Create new Website in IIS on CM2.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My new site is working fine except for Sitecore Experience Analytics.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you know if there is any other setting I should apply to resolve this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2flCW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2flCW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5818" LastEditorUserId="5818" LastEditDate="2019-07-30T08:26:52.683" LastActivityDate="2019-08-29T10:03:20.483" Title="Analytics not working after duplicating a Sitecore installation to a second server" Tags="|experience-analytics|installation|sitecore-install-assistant|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20102" PostTypeId="1" CreationDate="2019-07-25T13:34:42.000" Score="1" ViewCount="128" Body="&lt;p&gt;We are migrating from Sitecore v7.2 to v9.1. We would like to migrate customer xDB data on Azure. Can we automate using xDB Data Migration Tool?&lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-07-25T16:48:23.403" Title="Does Sitecore provide tool to Migrate Analytics DB to Azure SQL" Tags="|azure|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20103" PostTypeId="1" AcceptedAnswerId="20104" CreationDate="2019-07-25T13:35:00.367" Score="0" ViewCount="1646" Body="&lt;p&gt;Running into this issue when I publish to IIS. &#xA;I created a new feature module in my habitat/helix sitecore solution. Everything builds correctly in my gulp tasks but when the site is publish out to IIS it gets the following error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Server Error in '/' Application. &#xA;&#xA;Compilation Error Description: An&#xA; error occurred during the compilation of a resource required to&#xA; service this request. Please review the following specific error&#xA; details and modify your source code appropriately.  Compiler Error&#xA; Message: The compiler failed with error code 255. &#xA;&#xA; Show Detailed&#xA; Compiler Output:&#xA; c:\windows\system32\inetsrv&gt;C:\websites\SiteName\Website\bin\roslyn\csc.exe&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="5031" LastEditorUserId="70" LastEditDate="2019-07-25T13:50:08.070" LastActivityDate="2019-07-25T13:50:08.070" Title="The compiler failed with error code 255" Tags="|habitat|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20104" PostTypeId="2" ParentId="20103" CreationDate="2019-07-25T13:35:00.367" Score="0" Body="&lt;p&gt;I ran into this issue while creating a new feature module. It turned out I had the wrong version for &lt;code&gt;Microsoft.CodeDom.Providers.DotNetCompilerPlatform&lt;/code&gt; compared to my other feature modules. Once I downgraded to the correct one it worked correctly&lt;/p&gt;&#xA;" OwnerUserId="5031" LastActivityDate="2019-07-25T13:35:00.367" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20105" PostTypeId="1" CreationDate="2019-07-25T14:12:30.163" Score="0" ViewCount="201" Body="&lt;p&gt;I created a form that when a user submit, values on that form will be created as field values of a new Sitecore Item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I encountered an error response from the GraphQL execution of Access Denied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any configuration setup I need to do in order for this to work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="2252" LastActivityDate="2019-07-25T14:38:50.447" Title="Access Denied when using Mutation to create Item JSS Graphql" Tags="|jss|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20106" PostTypeId="2" ParentId="20105" CreationDate="2019-07-25T14:38:50.447" Score="2" Body="&lt;p&gt;Generally speaking user generated content should not be stored on a Sitecore item because:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The content is subject to publishing, if stored in the master db, and subject to deletion during publishing if stored in web&lt;/li&gt;&#xA;&lt;li&gt;The master database is generally not exposed to the content delivery servers, thus making it impossible to write there in production&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Generally speaking for user-generated content the recommendation is to build a purpose-built API, and store the resultant data in some data store of your choosing - or to use Sitecore Forms which includes exactly such a data store (support just landed in 9.2 for JSS)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Aside from architecture, the direct answer to your question is that the location you are storing the form items at needs to have &lt;em&gt;write&lt;/em&gt; access granted for the user that is impersonated by the JSS app's API key. Read rights should be denied, since that would make it possible to read all the form data stored there with a malicious API query.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-07-25T14:38:50.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20107" PostTypeId="6" CreationDate="2019-07-25T15:26:17.047" Score="0" Body="&lt;p&gt;My name is &lt;a href=&quot;https://www.linkedin.com/in/amitabhvyas/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Amitabh Vyas&lt;/a&gt;, one of the proud Sitecore Technology MVP 2019. Its been 13+ years in IT and working on Sitecore from last 6+ years. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Knowledge is the only treasure in the world which grows when you&#xA;  spend it.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Hence &lt;a href=&quot;https://sitecorecompetencies.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;I love blogging&lt;/a&gt; and communities like SSE where you can share your knowledge and in return there are amazing community members all across the globe who helps if any technical problem you are stuck on. I joined SSE 2.4 Years ago and I also love to massage and refine the content being posted on the SSE community. So far my achievements on SSE are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;1948 Reputation&lt;/li&gt;&#xA;&lt;li&gt;2 Gold 7 Silver 35 Bronze Badges&lt;/li&gt;&#xA;&lt;li&gt;39 Answers, 19 Questions, 2 Wikis, 114 Comments &lt;/li&gt;&#xA;&lt;li&gt;257 Edited Posts, 32 Helpful Flags, 992 Votes Casted&lt;/li&gt;&#xA;&lt;li&gt;314 Revisions, 163 Reviews, 178 Suggestions&lt;/li&gt;&#xA;&lt;li&gt;Glad to bag Nice Question, Nice Answer and 2 Popular Question Badges&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Among all the legendary nominations so far, I would like to nominate myself as a Community Moderator so that I can take my contributions to the community at next level. &lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="1671" LastEditDate="2019-07-25T15:26:17.047" LastActivityDate="2019-07-25T15:26:17.047" CommentCount="0" CommunityOwnedDate="2019-07-25T15:26:17.047" ContentLicense="CC BY-SA 4.0" />
  <row Id="20108" PostTypeId="2" ParentId="20102" CreationDate="2019-07-25T16:48:23.403" Score="2" Body="&lt;h2&gt;In short, No.&lt;/h2&gt;&#xA;&lt;h3&gt;Background&lt;/h3&gt;&#xA;&lt;p&gt;In Sitecore v7.2, Digital Marketing Suite introduced a lot of concepts around personalization and rules-based marketing.  Additionally, early versions of the Email Campaign Manager (now called Email Experience Manager) provided an early concept of contacts but was never formalized as a central repository of marketing data.&lt;/p&gt;&#xA;&lt;p&gt;Sitecore 8.0 introduced the Sitecore Experience Database, or xDB, and overall new integrated marketing platform, including List Manager and the idea of Contacts being kept in xDB. Email Experience Manager, which was rebranded and redeveloped as a separate module, had a tight integration layer with the overall Marketing Operations Center of Sitecore 8.0. The biggest challenge in Sitecore 8.0 was that access to xDB data was only through specific Sitecore API's and customizations of external interactions were extremely difficult to near impossible.&lt;/p&gt;&#xA;&lt;p&gt;Sitecore 9.0 introduced the concept of xConnect, which was a much-needed service layer separating Sitecore and xDB so that external interactions and access to contact data could happen. Additionally, Email Experience Manager was brought native into the product line as well (as of 9.0.1)&lt;/p&gt;&#xA;&lt;h3&gt;xDB Migration Tool&lt;/h3&gt;&#xA;&lt;p&gt;The xDB Migration Tool was introduced as a module addon to the Data Exchange Framework that allowed modeling of contact and interaction data from Sitecore 8.X xDB (which was kept in Mongo) to Sitecore's 9.X xConnect service endpoints (which can be SQL or Mongo).  This module has a few different versions based on the Target version of Sitecore, however can migration xDB data from Version 8.0 and higher.&lt;/p&gt;&#xA;&lt;h3&gt;So where do you go with Sitecore 7?&lt;/h3&gt;&#xA;&lt;p&gt;The real answer is that you are abandoning the Sitecore 7 analytic data and starting over in Sitecore 9. The time, cost, and effort involved in trying to upgrade Sitecore 7 to the latest version of Sitecore is not worth the data (and in some cases the lack thereof) that you could possibly get out of Sitecore xDB in Sitecore 9.&lt;/p&gt;&#xA;&lt;h3&gt;But it's possible right?&lt;/h3&gt;&#xA;&lt;p&gt;Technically, anything is possible. Following the entire upgrade path from Sitecore 7.2, which requires you to traverse a large portion of many installs of Sitecore 8.X, and a light touch analytic migration from 7.2, will allow you to get &lt;strong&gt;some data&lt;/strong&gt; from Sitecore 7.2, but this would likely be a 1-year project for little effect. If there's Email Campaign Manager in play that is intended to save, along the upgrade path in Sitecore 8.1 - Update 1 and 8.1 Update 2, you lose analytic data anyways as part of the upgrade process.&lt;/p&gt;&#xA;" OwnerUserId="246" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-07-25T16:48:23.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20109" PostTypeId="1" CreationDate="2019-07-25T17:12:42.777" Score="0" ViewCount="2124" Body="&lt;p&gt;while installing sitecore eCommerce getting the error &quot;One or more exceptions occurred while processing the subscribers to the 'item:saved' event&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error Log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Install-SitecoreConfiguration :&#xA;&#xA;        One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;             One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;&#xA;            Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where&#xA;it originated in the code.&#xA;&#xA;            Exception Details: System.AggregateException: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;            Source Error:&#xA;&#xA;Line 52:         context.AddAspect&amp;lt;IFileInstallerEvents&amp;gt;(events);&#xA;Line 53:&#xA;Line 54:         new Installer().InstallPackage(package, context);&#xA;Line 55:&#xA;Line 56:         // Execute Post Step&#xA;&#xA;             Source File:  c:\inetpub\wwwroot\rglb.storefront\SiteUtilityPages\InstallModules.aspx &amp;nbsp;&amp;nbsp; Line:  54&#xA;&#xA;            Stack Trace:&#xA;&#xA;[AggregateException: One or more exceptions occurred while processing the subscribers to the &amp;#39;item:saved&amp;#39; event.]&#xA;   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +1848&#xA;   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +390&#xA;   Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args) +294&#xA;   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0&#xA;   Sitecore.Data.Engines.EngineCommand`2.RaiseEvent(EventHandler`1 handlers, Func`2 argsCreator) +135&#xA;   Sitecore.Data.Engines.EngineCommand`2.Execute() +202&#xA;   Sitecore.Data.Engines.DataEngine.SaveItem(Item item) +229&#xA;   Sitecore.Pipelines.ItemProvider.SaveItem.TriggerDataEngine.Process(SaveItemArgs args) +98&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Data.Managers.DefaultItemManager.SaveItem(Item item) +127&#xA;   Sitecore.Data.Items.ItemEditing.AcceptChanges(Boolean updateStatistics, Boolean silent) +126&#xA;   Sitecore.Data.Items.ItemEditing.EndEdit(Boolean updateStatistics, Boolean silent) +28&#xA;   Sitecore.Install.Items.VersionInstaller.InstallVersion(Item version) +343&#xA;   Sitecore.Install.Items.VersionInstaller.PasteVersion(XmlNode versionXml, Item target, VersionInstallMode mode, IProcessingContext context, Boolean removeOtherVersions) +126&#xA;   Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) +1304&#xA;   Sitecore.Install.Items.ItemInstaller.Flush() +156&#xA;   Sitecore.Install.Framework.SinkDispatcher.Flush() +102&#xA;   Sitecore.Install.Utils.EntrySorter.Flush() +228&#xA;   Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink) +565&#xA;   Sitecore.Install.Utils.EntrySorter.Populate(ISink`1 sink) +80&#xA;   Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context) +444&#xA;   Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) +72&#xA;   ASP.siteutilitypages_installmodules_aspx.Install(String package) in c:\inetpub\wwwroot\rglb.storefront\SiteUtilityPages\InstallModules.aspx:54&#xA;   ASP.siteutilitypages_installmodules_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\rglb.storefront\SiteUtilityPages\InstallModules.aspx:36&#xA;   System.Web.UI.Control.OnLoad(EventArgs e) +99&#xA;   System.Web.UI.Control.LoadRecursive() +154&#xA;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082&#xA;&#xA;&#xA;            Version Information:&amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0&#xA;&#xA;&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;+                     &amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="4590" LastEditorUserId="70" LastEditDate="2019-07-25T17:28:01.287" LastActivityDate="2019-07-27T10:07:43.700" Title="Error - One or more exceptions occurred while processing the subscribers to the 'item:saved' event while installing Sitecore Commerce" Tags="|sitecore-commerce|installation|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20110" PostTypeId="1" AcceptedAnswerId="20131" CreationDate="2019-07-25T17:21:57.747" Score="3" ViewCount="1600" Body="&lt;p&gt;I've installed the Publishing Service on my Sitecore 9.0 Update-2 environment with dedicated CM und CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The publishing process seems to work. So when I publish an item on my CM I can look into the web database and the published content is there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But on my CD I am not getting the changes directly only after restarting the Application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added the following files to the bin on my CD and CM&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Framework.Conditions.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Publishing.Service.Abstractions.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Publishing.Service.Delivery.dll&lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Publishing.Service.dll&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;and I've added this config to /Modules/PublishingService&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.Publishing.Service.Delivery.config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;same content on CD and CM: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;        &amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot;&amp;gt;&#xA;            &amp;lt;hooks&amp;gt;&#xA;                &amp;lt;hook type=&quot;Sitecore.Publishing.Service.Delivery.PublishTargetEventsHook, Sitecore.Publishing.Service.Delivery&quot; /&amp;gt;&#xA;            &amp;lt;/hooks&amp;gt;&#xA;&#xA;            &amp;lt;!--&#xA;        SITECORE EVENTS&#xA;        --&amp;gt;&#xA;            &amp;lt;events&amp;gt;&#xA;                &amp;lt;event name=&quot;publishingservice:searchindex:rebuild&quot;&amp;gt;&#xA;                    &amp;lt;handler type=&quot;Sitecore.Publishing.Service.Delivery.TargetSearchIndexRebuildHandler, Sitecore.Publishing.Service.Delivery&quot; method=&quot;RebuildTargetSearchIndex&quot;&amp;gt;&#xA;                        &amp;lt;IndexNames hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;                            &amp;lt;index&amp;gt;sitecore_web_index&amp;lt;/index&amp;gt;&#xA;                        &amp;lt;/IndexNames&amp;gt;&#xA;                    &amp;lt;/handler&amp;gt;&#xA;                &amp;lt;/event&amp;gt;&#xA;&#xA;                &amp;lt;event name=&quot;publishingservice:cache:clear&quot;&amp;gt;&#xA;                    &amp;lt;handler type=&quot;Sitecore.Publishing.Service.Delivery.TargetDataCacheClearHandler, Sitecore.Publishing.Service.Delivery&quot; method=&quot;ClearTargetDataCaches&quot; /&amp;gt;&#xA;                &amp;lt;/event&amp;gt;&#xA;            &amp;lt;/events&amp;gt;&#xA;        &amp;lt;/sitecore&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't know If I am missing some configuration.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-07-27T14:25:07.957" LastActivityDate="2019-07-27T14:26:34.980" Title="Publishing Service not updating Content Delivery after publish" Tags="|publishing|caching|publishing-service|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20111" PostTypeId="1" CreationDate="2019-07-25T18:15:01.910" Score="2" ViewCount="435" Body="&lt;p&gt;I need to track some particular Javascript events in my Sitecore (8.2) logs so that I can see how often it's firing. I have some ideas for how I could make my own api to write to the Sitecore logs, but I'm wondering if there's any way out of the box to write to the Sitecore logs from Javscript?&lt;/p&gt;&#xA;" OwnerUserId="2609" LastActivityDate="2019-07-26T08:23:19.190" Title="Is there a way to write to the Sitecore logs via Javascript? (8.2)" Tags="|logging|javascript|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20112" PostTypeId="1" CreationDate="2019-07-25T18:56:21.960" Score="0" ViewCount="240" Body="&lt;p&gt;I've been tasked with building Experience Editor support for a popup modal rendering for a site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It was recommended by the architect on the project that we use the DialogWindow component of SPEAK to trigger a modal with just the popup rendering that could be edited in EE. I've spent the last few hours getting up to speed on SPEAK, and this seems like a lot of work to get this running; and I'm not sure it'll work, to be honest. I seem to have to set up a SPEAK app, a SPEAK page, use SPEAK components to load the rendering into a frame from what I can see. And we want to do this for multiple popups, so this a lot of work each time we add a new popup modal to the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there perhaps a simpler way of accomplishing this? The client wants to be able to edit popups in Experience Editor; which I know is a tricky request to handle. Anyone have suggestions on alternatives to handle this, or is SPEAK the way to go?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm using Sitecore 9.1.1.&lt;/p&gt;&#xA;" OwnerUserId="4157" LastActivityDate="2024-04-02T21:03:45.457" Title="Using SPEAK (or an alternative) to edit popup modal renderings in Experience Editor?" Tags="|experience-editor|speak|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20113" PostTypeId="1" AcceptedAnswerId="20115" CreationDate="2019-07-25T19:33:01.630" Score="1" ViewCount="427" Body="&lt;p&gt;Sitecore 8.2r170728, MVC 5, and AspNet Identity&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want to require direct links to pages of our site that require a logged in user to redirect to our login page and then return to the originally requested page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is working in my local dev environment but not when I deploy to higher environments like UA. As far as I can tell, the two environments are configured the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my local environment, I see the desired result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Jw0CD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Jw0CD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my UA environment, I see the undesired result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/akEgB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/akEgB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The request should be redirected to &lt;code&gt;/account-login?ReturnUrl=...&lt;/code&gt; instead of &lt;code&gt;/login.aspx?ReturnUrl=...&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My ConfigureAuth code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ConfigureAuth(IAppBuilder app)&#xA;{&#xA;    // Configure the db context, user manager and signin manager to use a single instance per request&#xA;    app.CreatePerOwinContext(ApplicationDbContext.Create);&#xA;    app.CreatePerOwinContext&amp;lt;ApplicationUserManager&amp;gt;(ApplicationUserManager.Create);&#xA;    app.CreatePerOwinContext&amp;lt;ApplicationSignInManager&amp;gt;(ApplicationSignInManager.Create);&#xA;&#xA;    // Enable the application to use a cookie to store information for the signed in user&#xA;    // and to use a cookie to temporarily store information about a user logging in with a third party login provider&#xA;    // Configure the sign in cookie&#xA;    app.UseCookieAuthentication(new CookieAuthenticationOptions&#xA;    {&#xA;        AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,&#xA;        LoginPath = new PathString(&quot;/account-login&quot;),&#xA;        Provider = new CookieAuthenticationProvider&#xA;        {&#xA;            // Enables the application to validate the security stamp when the user logs in.&#xA;            // This is a security feature which is used when you change a password or add an external login to your account.  &#xA;            OnValidateIdentity = SecurityStampValidator.OnValidateIdentity&amp;lt;ApplicationUserManager, ApplicationUser&amp;gt;(&#xA;                validateInterval: TimeSpan.FromMinutes(30),&#xA;                regenerateIdentity: (manager, user) =&amp;gt; user.GenerateUserIdentityAsync(manager))&#xA;        }&#xA;    });&#xA;    app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie);&#xA;&#xA;    // Enables the application to temporarily store user information when they are verifying the second factor in the two-factor authentication process.&#xA;    app.UseTwoFactorSignInCookie(DefaultAuthenticationTypes.TwoFactorCookie, TimeSpan.FromMinutes(5));&#xA;&#xA;    // Enables the application to remember the second login verification factor such as phone or email.&#xA;    // Once you check this option, your second step of verification during the login process will be remembered on the device where you logged in from.&#xA;    // This is similar to the RememberMe option when you log in.&#xA;    app.UseTwoFactorRememberBrowserCookie(DefaultAuthenticationTypes.TwoFactorRememberBrowserCookie);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't see anything that stands out in my sites config. I'm not sure what else could be causing the differences. Where would &lt;code&gt;/login.aspx&lt;/code&gt; be coming from in my UA?&lt;/p&gt;&#xA;" OwnerUserId="2725" LastEditorUserId="70" LastEditDate="2019-07-25T20:06:32.300" LastActivityDate="2019-07-25T20:26:04.073" Title="How is authentication LoginPath being overridden?" Tags="|authentication|identity-server|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20114" PostTypeId="2" ParentId="20099" CreationDate="2019-07-25T19:46:14.477" Score="0" Body="&lt;p&gt;If you need to do this a lot it might make sense to automate this by calling Google's indexing API to remove the item from Google's index. You could for example implement a custom event handler for item:deleted and call the API. More details about the indexing API can be found &lt;a href=&quot;https://developers.google.com/search/apis/indexing-api/v3/quickstart&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a .NET Client Library which reduces the effort of implementing this. It can be found &lt;a href=&quot;https://developers.google.com/api-client-library/dotnet/apis/indexing/v3&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2495" LastEditorUserId="2495" LastEditDate="2019-07-25T19:52:36.493" LastActivityDate="2019-07-25T19:52:36.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20115" PostTypeId="2" ParentId="20113" CreationDate="2019-07-25T20:20:34.383" Score="1" Body="&lt;p&gt;This may be caused by the &lt;code&gt;Forms&lt;/code&gt; authentication mode defined in &lt;code&gt;web.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;authentication mode=&quot;Forms&quot;&amp;gt;&#xA;    &amp;lt;forms name=&quot;.ASPXAUTH&quot; cookieless=&quot;UseCookies&quot; loginUrl=&quot;/Login.aspx&quot; timeout=&quot;1440&quot; /&amp;gt;&#xA;&amp;lt;/authentication&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Find &lt;code&gt;&amp;lt;authentication&lt;/code&gt; node in your &lt;code&gt;web.config&lt;/code&gt; and compare it with your local environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most probably it's set to &lt;code&gt;None&lt;/code&gt; in your local like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;authentication mode=&quot;None&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-07-25T20:26:04.073" LastActivityDate="2019-07-25T20:26:04.073" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20116" PostTypeId="2" ParentId="19474" CreationDate="2019-07-26T00:09:30.747" Score="0" Body="&lt;p&gt;A potential solution could be to ensure that the datasource is not only set (guid) but that it also exists (item or null) inside the GetModelFromView.cs. You can also then include the version check as mentioned by Richard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be accomplished by changing &lt;a href=&quot;https://github.com/mikeedwards83/Glass.Mapper/blob/master/Source/Glass.Mapper.Sc.Mvc/Pipelines/Response/GetModelFromView.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;GetModelFromView.cs&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;object model = null;&#xA;&#xA;if (renderingItem.DataSource.HasValue())&#xA;{&#xA;    var getOptions = new GetItemByPathOptions();&#xA;    getOptions.Type = modelType;&#xA;    getOptions.Path = renderingItem.DataSource;&#xA;    model = mvcContext.SitecoreService.GetItem(getOptions);&#xA;}&#xA;else if (renderingItem.RenderingItem.DataSource.HasValue())&#xA;{&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to check if the item is valid or continue&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// Check if the datasource is set and actually exists&#xA;object item = null;&#xA;if (rendering.DataSource.HasValue())&#xA;{&#xA;    var getOptions = new GetItemByPathOptions();&#xA;    getOptions.Type = modelType;&#xA;    getOptions.Path = renderingItem.DataSource;&#xA;    item = mvcContext.SitecoreService.GetItem(getOptions);&#xA;}&#xA;&#xA;if (rendering.DataSource.HasValue() &amp;amp;&amp;amp; item != null)&#xA;{&#xA;    model = item;&#xA;}&#xA;else if (rendering.RenderingItem.DataSource.HasValue())&#xA;{&#xA;    ...&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Disclaimer: This solution requires you to override Glass Mapper and could have other unforseen issues.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="751" LastEditorUserId="751" LastEditDate="2019-07-26T00:32:50.493" LastActivityDate="2019-07-26T00:32:50.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20117" PostTypeId="1" AcceptedAnswerId="20118" CreationDate="2019-07-26T04:55:42.247" Score="3" ViewCount="1680" Body="&lt;p&gt;I have been trying the Sitecore samples to define a &lt;code&gt;custom facet&lt;/code&gt;, and it all works if I do it outside from Sitecore. But when I want Sitecore to track the contacts and add data to the custom facet, I get the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;18452 23:26:42 ERROR Cannot create tracker.&#xA;Exception: System.ArgumentException&#xA;Message: The specified type is not a valid facet type.&#xA;Parameter name: facetType&#xA;Source: Sitecore.Analytics.Model&#xA;    at Sitecore.Analytics.Model.Framework.ModelFactory.CreateFacet(Type facetType)&#xA;    at Sitecore.Analytics.Model.Framework.Faceted.AddFacet(String name, Type type)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have set up the facet as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;[FacetKey(DefaultFacetKey)]&#xA;public class MemberProfile : Facet&#xA;{&#xA;    public const string DefaultFacetKey = &quot;MemberProfile&quot;;&#xA;&#xA;    public MemberProfile()&#xA;    {        }&#xA;&#xA;    public int Zone&#xA;    {&#xA;        get;&#xA;        set;&#xA;    }&#xA;//OTHER PROPERTIES HERE&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is my model:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MemberModel&#xA;{&#xA;    public static XdbModel Model { get; } = BuildModel();&#xA;&#xA;    private static XdbModel BuildModel()&#xA;    {&#xA;        XdbModelBuilder modelBuilder =&#xA;            new XdbModelBuilder(&quot;MemberModel&quot;, new XdbModelVersion(1, 0));&#xA;&#xA;        // Facets and events here&#xA;        modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);&#xA;&#xA;        modelBuilder.DefineFacet&amp;lt;Contact, MemberProfile&amp;gt;(MemberProfile.DefaultFacetKey);&#xA;&#xA;        return modelBuilder.BuildModel();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I have serialized it and placed the .json file in &lt;code&gt;xConnect/Data&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;Name&quot;: &quot;MemberModel&quot;,&#xA;  &quot;Version&quot;: &quot;1.0&quot;,&#xA;  &quot;References&quot;: [&#xA;    {&#xA;      &quot;Name&quot;: &quot;XConnect&quot;,&#xA;      &quot;Version&quot;: &quot;1.0&quot;&#xA;    },&#xA;    {&#xA;      &quot;Name&quot;: &quot;Sitecore.XConnect.Collection.Model&quot;,&#xA;      &quot;Version&quot;: &quot;9.0&quot;&#xA;    }&#xA;  ],&#xA;  &quot;Types&quot;: {&#xA;    &quot;MemberProfile&quot;: {&#xA;      &quot;Type&quot;: &quot;Facet&quot;,&#xA;      &quot;BaseType&quot;: &quot;Sitecore.XConnect.Facet&quot;,&#xA;      &quot;ClrType&quot;: &quot;XXX.MemberProfile, ModelSerializer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot;,&#xA;      &quot;Properties&quot;: {&#xA;        &quot;Zone&quot;: {&#xA;          &quot;Type&quot;: &quot;Int32&quot;&#xA;        },&#xA;      }&#xA;    }&#xA;  },&#xA;  &quot;Facets&quot;: [&#xA;    {&#xA;      &quot;Target&quot;: &quot;Contact&quot;,&#xA;      &quot;Name&quot;: &quot;MemberProfile&quot;,&#xA;      &quot;Type&quot;: &quot;MemberProfile&quot;&#xA;    }&#xA;  ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Finally, in the &lt;code&gt;Sitecore.XConnect.Client.config&lt;/code&gt; I have added:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;schema name=&quot;membermodel&quot; type=&quot;Sitecore.XConnect.Client.Configuration.StaticModelConfiguration,Sitecore.XConnect.Client.Configuration&quot;&amp;gt;&#xA;      &amp;lt;param desc=&quot;modeltype&quot;&amp;gt;XXX.MemberModel, SEA.Models&amp;lt;/param&amp;gt;&#xA;  &amp;lt;/schema&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have decompiled the &lt;code&gt;Sitecore.Analytics.Model&lt;/code&gt; assembly to look at what is it doing when &lt;code&gt;Framework.ModelFactory.CreateFacet()&lt;/code&gt; is called, and it basically tests if my custom facet, which inherits &lt;code&gt;Sitecore.XConnect.Facet&lt;/code&gt;, is assignable from &lt;code&gt;Sitecore.Analytics.Model.Framework.IFacet&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!typeof (IFacet).IsAssignableFrom(facetType))&#xA;    throw new ArgumentException(&quot;The specified type is not a valid facet type.&quot;, nameof (facetType));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am obviously doing something wrong or missing something in a config file. I just can't find a solution. Any suggestion is appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Just wanted to share some details here after this worked. The answer I accepted below helped me figure out how to patch the config, also that I needed to copy the json file to more than one folder. There is also another folder to copy the file into: /xconnect/jobs. At last I was able to store the data into the xdb_collection database:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/48L8a.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/48L8a.png&quot; alt=&quot;XConnect Data&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I had the issue of not seeing the custom facet in-session, the data was only set to the database and read from there. So, to make it available in-session, I had to add the faced key to the Sitecore.Analytics.Tracking.config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;xconnect&quot; type=&quot;Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider, Sitecore.Analytics.XConnect&quot;&amp;gt;&#xA;  &amp;lt;facets hint=&quot;raw:AddFacet&quot;&amp;gt;&#xA;    &amp;lt;facet facetKey=&quot;Classification&quot;/&amp;gt;&#xA;    &amp;lt;facet facetKey=&quot;MemberProfile&quot;/&amp;gt;&#xA;  &amp;lt;/facets&amp;gt;&#xA;  &amp;lt;GetOperationTimeout&amp;gt;0.00:00:05&amp;lt;/GetOperationTimeout&amp;gt;&#xA;&amp;lt;/add&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5734" LastEditorUserId="5734" LastEditDate="2019-08-01T20:00:11.930" LastActivityDate="2019-08-01T20:00:11.930" Title="How to properly configure a custom facet in Sitecore 9.1" Tags="|xdb|xconnect|contact-facets|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20118" PostTypeId="2" ParentId="20117" CreationDate="2019-07-26T05:25:41.167" Score="4" Body="&lt;p&gt;You need to perform the below steps to achieve this:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a Custom Facet Model &lt;/li&gt;&#xA;&lt;li&gt;Register the Custom Facet Model &lt;/li&gt;&#xA;&lt;li&gt;Deploy Custom Facet model to XDB &lt;/li&gt;&#xA;&lt;li&gt;Add it to the &lt;code&gt;Sitecore.XConnect.Client.Configuration&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In step 3&lt;/strong&gt;, you need to place .JSON file at two places (You have placed it only one place):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;x-connect root path &gt; App_data/Models&#xA;x-connect root path &gt; App_data/jobs/continuous/IndexWorker/App_data/Models&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;In Step 4&lt;/strong&gt;, update your schema in &lt;code&gt;Sitecore.XConnect.Client.config&lt;/code&gt; as below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;schema name=&quot;membermodel&quot; type=&quot;Sitecore.XConnect.Client.Configuration.StaticModelConfiguration,Sitecore.XConnect.Client.Configuration&quot; patch:after=&quot;schema[@name='collectionmodel']&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;modeltype&quot;&amp;gt;XXX.MemberModel, SEA.Models&amp;lt;/param&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You are missing &lt;strong&gt;patch:after=&quot;schema[@name='collectionmodel']&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer below both the blogs and verify if you missed anything.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://himmatsinghdulawat.blogspot.com/2019/06/create-custom-facet-model-in-sitecore-9.html&quot; rel=&quot;noreferrer&quot;&gt;Create Custom Facet Model in Sitecore 9&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://himmatsinghdulawat.blogspot.com/2019/06/work-with-custom-facet-in-sitecore-9.html&quot; rel=&quot;noreferrer&quot;&gt;Work with Custom Facet in Sitecore 9&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know in case you need further help.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="5387" LastEditDate="2019-07-26T06:11:45.030" LastActivityDate="2019-07-26T06:11:45.030" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="20119" PostTypeId="1" AcceptedAnswerId="20124" CreationDate="2019-07-26T07:48:30.893" Score="5" ViewCount="426" Body="&lt;p&gt;We have a Solr index and using the standard Linq queries. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed that Sitecore supports Solr features like &lt;code&gt;Suggester&lt;/code&gt; or &lt;code&gt;Highlighter&lt;/code&gt;, but I did not find anything about &lt;strong&gt;MoreLikeThis&lt;/strong&gt; feature. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm interested to see how I can use the &quot;MoreLikeThis&quot; solr handler in Sitecore. Any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="4901" LastEditorUserId="237" LastEditDate="2019-07-26T09:56:17.307" LastActivityDate="2019-07-26T13:03:21.193" Title="How do you perform a ContentSearch using the &quot;MoreLikeThis&quot; handler?" Tags="|content-search|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20120" PostTypeId="2" ParentId="20111" CreationDate="2019-07-26T08:23:19.190" Score="6" Body="&lt;p&gt;Sitecore supports client-side event logging using JSNLog. Sitecore client logging uses JSNLog which has been wrapped to allow Sitecore to configure it via a patch and to make use of the existing Log4net logging. There is an OOTB configuration file called &lt;strong&gt;Sitecore.JSNLog.config&lt;/strong&gt; on app_config/include/Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To enable client-side logging you need to add jsnlog.js file before all the script in your layout. You just need to add below line for this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; @Html.Raw(JSNLog.JavascriptLogging.Configure())&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;this will add a script tag - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;/sitecore/shell/controls/lib/jsnlog/jsnlog.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After that, you are ready to add the log into Sitecore log folder. a simple way to add info in the log is like this - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;JL().info(&quot;log message for test&quot;);&#xA;&#xA;try {&#xA;    ...&#xA;} &#xA;&#xA;catch(e) {&#xA;   JL().fatalException(&quot;Exception info&quot;, e);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You may need to update the Sitecore.JSNLog.config file for the level &lt;strong&gt;(DEBUG|ERROR|INFO)&lt;/strong&gt; of logging. for example, An AjaxAppender doesn't allow INFO level via Sitecore client log.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-07-26T08:23:19.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20122" PostTypeId="2" ParentId="16179" CreationDate="2019-07-26T09:42:05.460" Score="1" Body="&lt;p&gt;In the tutorial (&lt;a href=&quot;https://horizontalintegration.blog/2018/10/09/sitecore-9-commerce-custom-promotion-condition/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://horizontalintegration.blog/2018/10/09/sitecore-9-commerce-custom-promotion-condition/&lt;/a&gt;), a crucial step is missing. Your assembly has to be registered in the ConfigureSitecore.cs of your plugin to the rules engine before it is visible in the dropdown:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;services.Sitecore().Rules(rules =&amp;gt; rules.Registry(reg =&amp;gt; reg.RegisterThisAssembly()));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5823" LastActivityDate="2019-07-26T09:42:05.460" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20124" PostTypeId="2" ParentId="20119" CreationDate="2019-07-26T11:26:56.173" Score="7" Body="&lt;p&gt;&lt;code&gt;Sitecore 9&lt;/code&gt; has an OOTB extension &lt;strong&gt;GetMoreLikeThis&lt;/strong&gt; for the &lt;code&gt;IProviderSearchContext&lt;/code&gt;. To use it you need to install the &lt;code&gt;SolrNet&lt;/code&gt; nuget package. You can use it like following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contextIndex = _contextRepository.GetSearchIndexContext(&quot;search_index&quot;);&#xA;using (var context = contextIndex.CreateSearchContext())&#xA;{&#xA;    var parameters = new MoreLikeThisHandlerParameters(new[] {&quot;field1&quot;, &quot;field2&quot;})&#xA;    {&#xA;        MinDocFreq = 1, // minimum document frequency&#xA;        MinTermFreq = 1, // minimum term frequency&#xA;    };&#xA;&#xA;    var query = SolrMLTQuery.FromQuery(new SolrQuery(&quot;search_term&quot;));&#xA;    var queryOption = new MoreLikeThisHandlerQueryOptions(parameters);&#xA;    var results = context.GetMoreLikeThis&amp;lt;SearchResultItem&amp;gt;(query, queryOption);&#xA;&#xA;    var interestingTerms = results.InterestingTerms;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you can use a native &lt;code&gt;SorlNet&lt;/code&gt; query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contextIndex = _contextRepository.GetSearchIndexContext(&quot;search_index&quot;);&#xA;using (var context = contextIndex.CreateSearchContext())&#xA;{&#xA;    var results = context.Query&amp;lt;SearchResultItem&amp;gt;(new SolrQuery(&quot;search_term&quot;), new QueryOptions&#xA;    {&#xA;        MoreLikeThis = new MoreLikeThisParameters(new[] { &quot;field1&quot;, &quot;field2&quot; })&#xA;        {&#xA;            MinDocFreq = 1, // minimum document frequency&#xA;            MinTermFreq = 1, // minimum term frequency&#xA;        },&#xA;    });&#xA;&#xA;    var similarResults = results.SimilarResults;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you use &lt;code&gt;LINQ&lt;/code&gt;-based predicates and they are complex and you can not rewrite your queries to &lt;code&gt;SolrNet&lt;/code&gt;-based, you can use this &lt;em&gt;&quot;hack&quot;&lt;/em&gt; to convert them. But keep in mind that in this case one additional request will be sent to Solr:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var linqQuery = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(predicate);&#xA;var solrNetQuery = new SolrQuery(((IHasNativeQuery)linqQuery).Query.ToString());&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="2713" LastEditDate="2019-07-26T13:03:21.193" LastActivityDate="2019-07-26T13:03:21.193" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20127" PostTypeId="2" ParentId="14192" CreationDate="2019-07-27T02:08:51.827" Score="0" Body="&lt;p&gt;I am using commerce 9 update 3.&#xA;When i am using IGetItemByIdPipeline, it is returning only default 14 properties but when i use IGetItemByPathPipeline , i get the sitecore item field values also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to get the sitecore fields, So i was able to get the sitecore item in  CalculateCartFulfillmentBlock pipeline by adding code shown below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure to have &lt;strong&gt;CommerceCommander&lt;/strong&gt; __commander context injected into the pipeline block constructor. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ItemModelArgument itemModelArgument = new &#xA;ItemModelArgument(&quot;/sitecore/Content/Data/DynamicShippingOptions&quot;);&#xA;itemModelArgument.Language = defaultLanguage;&#xA;ItemModel itemModel = await _commander.Pipeline&amp;lt;IGetItemByPathPipeline&amp;gt;().Run(itemModelArgument, context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2466" LastEditorUserId="2466" LastEditDate="2019-07-27T02:14:48.997" LastActivityDate="2019-07-27T02:14:48.997" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20128" PostTypeId="2" ParentId="20109" CreationDate="2019-07-27T10:07:43.700" Score="2" Body="&lt;p&gt;Recently i got same issue and it comes when Sitecore is not able to connect with xConnect's Reference data service. This error comes when Sitecore Commerce ExperienceAnalytics Core package tries to install Experience Analytics Segments. As soon as it creates segment items, item:saved event deploys those items into xDB using xConnect Reference Data Service. If service is not available it generates error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By disabling the processor you can continue XC installation but these segments needs to be deployed in xDB to collect commerce analytics data. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To deploy it after XC installation you can make sure your reference data service is working and configured properly in Sitecore connection strings. You can then deploy segments using Deploy marketing definitions tool from Sitecore Control Panel.&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-07-27T10:07:43.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20131" PostTypeId="2" ParentId="20110" CreationDate="2019-07-27T14:26:34.980" Score="1" Body="&lt;p&gt;The problem was that I have some more sites then just the default website. So I need to add the following code snipped to my configs on the CD for example inside the Sitecore.Publishing.Service.Delivery.config&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;            &amp;lt;handler type=&quot;Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel&quot; method=&quot;ClearCache&quot;&amp;gt;&#xA;                &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                    &amp;lt;site name=&quot;MySite1-AT&quot;&amp;gt;MySite1-AT&amp;lt;/site&amp;gt;&#xA;                    &amp;lt;site name=&quot;MySite1-DE&quot;&amp;gt;MySite1-DE&amp;lt;/site&amp;gt;&#xA;                &amp;lt;/sites&amp;gt;&#xA;            &amp;lt;/handler&amp;gt;&#xA;        &amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then also the cache was reseted on my CD&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-07-27T14:26:34.980" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20132" PostTypeId="2" ParentId="10418" CreationDate="2019-07-27T20:31:01.413" Score="-1" Body="&lt;p&gt;The Sitecore instance that connects to the xconnect website in your local machine try to follow the below options to solve the issue.&lt;/p&gt;&#xA;&lt;p&gt;A ) In powershell administrator mode try to run below command to check how many certificate are in trusted root folder .&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;PS C:\WINDOWS\system32&amp;gt; Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$.Issuer -ne $.Subject}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Try to move them to CA&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;PS C:\WINDOWS\system32&amp;gt; Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$.Issuer -ne $.Subject} | Move- Item -Destination Cert:\LocalMachine\CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;B) The self-signed certificate thumbprint is not properly installed so this can block from connecting to xconnect.&lt;/p&gt;&#xA;&lt;p&gt;C) Type mmc and open your Certificate Store for 'Local Computer'. Right-click your Sitecore certificate &amp;gt; All Tasks &amp;gt; Manage Private Keys. Grant full control to both NETWORK SERVICE and IIS_IUSRS. Do it for both xp0.xconnect and xp0.xconnect_client certificates.&lt;/p&gt;&#xA;&lt;p&gt;D) In IIS Manager check the certificate is set for xConnect websites. Set the correct certificate from the list for xconnect website.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WFjSk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WFjSk.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;E) There might be thumprint value mismatched, please check xconnect and sitecore instance website certificate thumbprint value, try to place the correct thumbprint value in the intepub xconnect website App_Config folder appsetting.config , connectionstring.config and also in the sitecore app_config folder's config files . In case you have created a new certificate and their old certificate thumbprint values are present in that result it can show you an unavailable exception.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&amp;quot;validateCertificateThumbprint&amp;quot; value=&amp;quot;[CORRECT THUMBPRINT VALUE]&amp;quot; /&amp;gt;&#xA;&amp;lt;add key=&amp;quot;AllowInvalidClientCertificates&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&#xA;&amp;lt;add name=&amp;quot;xconnect.collection.certificate&amp;quot; connectionString=&amp;quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=[CORRECT THUMBPRINT VALUE]&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;F) Check in the IIS xconnect  application pool the identity is set to 'NETWORK SERVICE'&#xA;also, the xconnect website SSL settings for the content of website or application&#xA;require SSL checkbox is set to true and client certified is accepted&lt;/p&gt;&#xA;&lt;p&gt;G) If none of the above options could able to solve the issue then please have a look that if there is any internal/external network setting is applied which might be also blocked TSL/SSL secure channel communication.&lt;/p&gt;&#xA;" OwnerUserId="3452" LastEditorUserId="3452" LastEditDate="2020-08-11T09:42:00.317" LastActivityDate="2020-08-11T09:42:00.317" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20133" PostTypeId="1" AcceptedAnswerId="20134" CreationDate="2019-07-27T21:09:43.020" Score="1" ViewCount="505" Body="&lt;p&gt;How to prevent the &lt;code&gt;Sitecore Content Editor&lt;/code&gt; to toggling the &lt;code&gt;standard field&lt;/code&gt; checkbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;so that when they are trying to inadvertently modify things that they can't able to change the important settings or the value of the standard fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It should be disabled for all users except for &lt;code&gt;administrators&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="3452" LastEditorUserId="2152" LastEditDate="2019-07-29T13:22:55.797" LastActivityDate="2019-07-29T13:22:55.797" Title="How to disable standard field check box for Sitecore content editor" Tags="|content-editor|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20134" PostTypeId="2" ParentId="20133" CreationDate="2019-07-27T21:09:43.020" Score="3" Body="&lt;p&gt;The standard fields checkbox selecting from the view tab in sitecore instance ribbon, we see a collection of fields and their field groups that are used to contain configurable metadata about items in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These fields are very useful to configure things like help text, icons, workflow, publishing settings, etc. But sometimes it becomes very confusing for the non-technical sitecore user after viewing so many fields suddenly as soon as checking the checkbox for standard fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to disable the Sitecore standard fields checkbox for non-admin users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this I have extended the standard field checkbox button command which name is like contenteditor:togglestandardfields , in the showconfig.aspx and search for the above name, this will show you like below configuration line &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;command name=&quot;contenteditor:togglestandardfields&quot; type=&quot;Sitecore.Shell.Framework.Commands.ContentEditor.ToggleStandardFields,Sitecore.Kernel&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, instead of using Sitecore default command type I have written a small code and just put the type in the above command like below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;www.sitecore.net/.../&quot; xmlns:role=&quot;www.sitecore.net/.../&quot;&amp;gt;&#xA;&amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot;&amp;gt;&#xA;&amp;lt;commands&amp;gt;&#xA;&amp;lt;command name=&quot;contenteditor:togglestandardfields&quot;&#xA;type=&quot;Your Project Assembly Name.DisabledStandardField, Your Assembly Name &quot;/&amp;gt;&#xA;&amp;lt;/commands&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Below is the DisabledStandardField code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;Represents the Toggle Standard Fields command.&amp;lt;/summary&amp;gt;&#xA;[Serializable]&#xA;public class DisabledStandardField : Sitecore.Shell.Framework.Commands.Command&#xA;{&#xA;/// &amp;lt;summary&amp;gt;Executes the command in the specified context.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;context&quot;&amp;gt;The context.&amp;lt;/param&amp;gt;&#xA;public override void Execute(CommandContext context)&#xA;{&#xA;}&#xA;/// &amp;lt;summary&amp;gt;Gets the click action.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;context&quot;&amp;gt;The context.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;param name=&quot;click&quot;&amp;gt;The default click action.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;public override string GetClick(CommandContext context, string click)&#xA;{&#xA;return &quot;StandardFields_Click&quot;;&#xA;}&#xA;&#xA;/// &amp;lt;summary&amp;gt;Queries the state of the command.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;context&quot;&amp;gt;The context.&amp;lt;/param&amp;gt;&#xA;/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;public override CommandState QueryState(CommandContext context)&#xA;{&#xA;// if (Sitecore.Context.User.IsInRole(&quot;extranet\\Content Role&quot;))&#xA;if (!Sitecore.Context.User.IsAdministrator)&#xA;return CommandState.Disabled;&#xA;return CommandState.Enabled;&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So we can see if any user except for administrator visit the CM instance, they can't be to to click on the standard field check box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z7FnA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z7FnA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3452" LastActivityDate="2019-07-27T21:09:43.020" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20136" PostTypeId="2" ParentId="20112" CreationDate="2019-07-28T12:06:44.100" Score="0" Body="&lt;p&gt;(Assuming MVC here)&#xA;If you are using controller renderings you can add logic in your controller to test for the current editor mode (i.e. IsExperienceEditor)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Sitecore.Context.PageMode.IsExperienceEditor){&#xA;   return View(&quot;MyViewEdit&quot;, model);&#xA;}&#xA;else {&#xA;   return View(&quot;MyView&quot;, model);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This allows you to load a different View when the author is editing. Your edit view does not need to have the same markup as the end user experience so you can put your modal right there on the page for editing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may want to visually differentiate it somehow so the editor understands it is the modal content and not page content.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-07-28T12:06:44.100" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20137" PostTypeId="2" ParentId="8561" CreationDate="2019-07-28T15:47:55.180" Score="0" Body="&lt;p&gt;For me, it said - An unhandled exception of type &lt;code&gt;Sitecore.XConnect.XdbCollectionUnavailableException&lt;/code&gt; occurred in &lt;code&gt;mscorlib.dll&lt;/code&gt; The HTTP response was not successful: Internal Server Error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I solved it by going to Windows features and enabling asp.net 4.6 under Application development Features node in IIS web server roles.&lt;/p&gt;&#xA;" OwnerUserId="5755" LastEditorUserId="5387" LastEditDate="2019-07-29T05:53:12.050" LastActivityDate="2019-07-29T05:53:12.050" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20138" PostTypeId="2" ParentId="16136" CreationDate="2019-07-28T15:57:13.277" Score="0" Body="&lt;p&gt;For me, the error message was - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An unhandled exception of type &lt;code&gt;Sitecore.XConnect.XdbCollectionUnavailableException&lt;/code&gt; occurred in &lt;code&gt;mscorlib.dll&lt;/code&gt; The HTTP response was not successful: Internal Server Error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I solved it by going to Windows features and enabling &lt;code&gt;asp.net 4.6&lt;/code&gt; under Application development Features node in IIS web server roles.&lt;/p&gt;&#xA;" OwnerUserId="5755" LastEditorUserId="5387" LastEditDate="2019-07-29T05:54:23.537" LastActivityDate="2019-07-29T05:54:23.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20139" PostTypeId="2" ParentId="13973" CreationDate="2019-07-29T05:12:40.553" Score="2" Body="&lt;p&gt;Please refer the patch suggested by Sitecore. I was facing the same issue and I am able to resolve it by deploying patch, from below link, to all the sitecore instance (CM, Reporing, Processing and CD). Please refer below link to download the patch.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/SitecoreSupport/Sitecore.Support.203066/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecoreSupport/Sitecore.Support.203066/releases&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3261" LastActivityDate="2019-07-29T05:12:40.553" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20140" PostTypeId="1" CreationDate="2019-07-29T07:51:11.377" Score="0" ViewCount="307" Body="&lt;p&gt;I need to set main domain(&lt;strong&gt;abc.dis.com&lt;/strong&gt;) cookie in my sub domain(&lt;strong&gt;xyz.dis.com&lt;/strong&gt;) in sitecore,please suggest.&#xA;Please find the below code snippet,but it's not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BfM8h.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BfM8h.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in Advance&lt;/p&gt;&#xA;" OwnerUserId="2192" LastEditorUserId="73" LastEditDate="2019-07-29T08:13:40.240" LastActivityDate="2019-07-29T08:39:46.540" Title="Domain level cookie in Sitecore" Tags="|sitecore-api|mvc|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20141" PostTypeId="2" ParentId="20140" CreationDate="2019-07-29T08:01:03.453" Score="0" Body="&lt;p&gt;You cannot specify another subdomain (&lt;code&gt;abc.dis.com&lt;/code&gt;) from subdomain &lt;code&gt;xyz.dis.com&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What you can do is to assign a cookie to top level domain &lt;code&gt;dis.com&lt;/code&gt; and all the subdomains like &lt;code&gt;abc.dis.com&lt;/code&gt;, &lt;code&gt;xyz.dis.com&lt;/code&gt; or &lt;code&gt;anything.dis.com&lt;/code&gt; will be able to access that cookie:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-Cookie: name=value; domain=.dis.com&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So your code should be&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;cook.Domain = &quot;.dis.com&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;cook.Domain = &quot;dis.com&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The first code supports old specification. Nowadays, in most of the browsers trailing dot is not necessary.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about cookies in &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#Directives&quot; rel=&quot;nofollow noreferrer&quot;&gt;Set-Cookie&lt;/a&gt; article&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-07-29T08:01:03.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20142" PostTypeId="1" AcceptedAnswerId="20177" CreationDate="2019-07-29T08:22:05.760" Score="4" ViewCount="504" Body="&lt;p&gt;We've been running a &lt;code&gt;SC9.1 solution&lt;/code&gt; on &lt;code&gt;PAAS&lt;/code&gt; for a while now, but have recently noticed intermittent slow response times, both on the CD and the CM.&#xA;We've correlated it to high load on the &lt;code&gt;refdata-db&lt;/code&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ExAHE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ExAHE.png&quot; alt=&quot;Refdata-db CPU&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We've looked at the analytics and there is nothing different there between the low days (&amp;lt;10%) and the high days (up to 100%)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea's on where to look for reasons for the high loads is appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rik&lt;/p&gt;&#xA;" OwnerUserId="5538" LastEditorUserId="5538" LastEditDate="2019-07-30T07:27:07.210" LastActivityDate="2020-03-02T03:26:04.477" Title="Azure database refdata high intermittent load" Tags="|azure|paas|performance|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20143" PostTypeId="2" ParentId="20140" CreationDate="2019-07-29T08:39:46.540" Score="1" Body="&lt;p&gt;The multiple domains can only share cookies if the domain is explicitly set in the Set-Cookie header. Otherwise, if you specify the scope like you did &quot;&lt;code&gt;abc.dis.com&lt;/code&gt;&quot; the scope of the cookie will be restricted to the that host only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance, if you sent the following header from abc.dis.com:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-Cookie: name=value&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then the cookie won't be sent for requests to &lt;code&gt;xyz.dis.com&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you use the following, it will be created for all the subdomains like xyz.dis.com, lmn.dis.com, abc.dis.com etc.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Set-Cookie: name=value; domain=dis.com&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2983" LastActivityDate="2019-07-29T08:39:46.540" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20144" PostTypeId="1" AcceptedAnswerId="20145" CreationDate="2019-07-29T08:52:37.787" Score="1" ViewCount="364" Body="&lt;p&gt;&lt;code&gt;TDS&lt;/code&gt; allows to &lt;code&gt;Re-Generate Code for all Items&lt;/code&gt; by clicking appropriate &lt;code&gt;TDS&lt;/code&gt; project in &lt;code&gt;VS Explorer&lt;/code&gt;. This process also is executed during item creating/changing (any synchronization stuff). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VMoZv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VMoZv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt; - does the &lt;code&gt;TDS&lt;/code&gt; allow to &lt;code&gt;Re-Generate Code&lt;/code&gt; &lt;strong&gt;only&lt;/strong&gt; for &lt;strong&gt;one target Item&lt;/strong&gt;? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;TDS Version is used - 5.7.0.14&lt;/p&gt;&#xA;" OwnerUserId="4782" LastEditorUserId="135" LastEditDate="2019-08-09T02:52:25.493" LastActivityDate="2019-08-09T02:52:25.493" Title="TDS Re-Generate Code only for one target Item" Tags="|tds|code-generation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20145" PostTypeId="2" ParentId="20144" CreationDate="2019-07-29T09:04:20.607" Score="2" Body="&lt;p&gt;Code generation is the process by which a data model and one or more templates are passed through a template engine. The model is transformed and the resulting output of this process would be code that can be compiled and used within your application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When an item changes, either by sync or by Rocks, TDS Classic will call the transformation template to re-generate the appropriate items. At the end of each item generation event, TDS Classic runs a template that generates the “header” and then combines all the generated code files into a single code file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can perform the same action by right-clicking on the TDS project and selecting the &quot;Re-generate code for all items&quot;. Since all this process generates a single file and process throw all the templates so it will generate the code for all the items not for a single file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So answer for your question is &lt;strong&gt;NO, TDS does not allow Re-Generate Code only for one target Item&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-07-29T09:04:20.607" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20146" PostTypeId="2" ParentId="20133" CreationDate="2019-07-29T09:06:54.797" Score="2" Body="&lt;p&gt;If you are specific to disable the standard field checkbox then your solution looks good but if you want to hide it you can easily do it using OOTB &lt;strong&gt;Security Editor&lt;/strong&gt;.&#xA;Create a denied role for the standard field in core database -&lt;code&gt;/sitecore/content/Applications/Content Editor/Ribbons/Chunks/View/Standard Fields&lt;/code&gt; and assign it to the user or for all the content editor assign it &lt;code&gt;&quot;Sitecore Client Authoring&quot;&lt;/code&gt; or &lt;code&gt;&quot;Sitecore/Everyone&quot;&lt;/code&gt; role.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-07-29T09:06:54.797" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20147" PostTypeId="1" CreationDate="2019-07-29T09:36:18.690" Score="4" ViewCount="853" Body="&lt;p&gt;I have a clean VS 2019 project targeting .NET Framework 4.5 referencing &lt;strong&gt;Sitecore.Kernel&lt;/strong&gt; and &lt;strong&gt;Sitecore.ContentSearch&lt;/strong&gt; packages (specifically v8.0.150812) &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/sitecore-public-nuget-feed-faq.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;via NuGet&lt;/a&gt; using &lt;em&gt;PackageReference&lt;/em&gt;. However, I get build errors in that the Sitecore types or namespaces cannot be found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the project file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Project Sdk=&quot;Microsoft.NET.Sdk&quot;&amp;gt;&#xA;  &amp;lt;PropertyGroup&amp;gt;&#xA;    &amp;lt;TargetFramework&amp;gt;net45&amp;lt;/TargetFramework&amp;gt;&#xA;  &amp;lt;/PropertyGroup&amp;gt;&#xA;  &amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.ContentSearch&quot; Version=&quot;8.0.150812&quot;&amp;gt;&#xA;      &amp;lt;PrivateAssets&amp;gt;all&amp;lt;/PrivateAssets&amp;gt;&#xA;      &amp;lt;IncludeAssets&amp;gt;runtime; build; native; contentfiles; analyzers; buildtransitive&amp;lt;/IncludeAssets&amp;gt;&#xA;    &amp;lt;/PackageReference&amp;gt;&#xA;    &amp;lt;PackageReference Include=&quot;Sitecore.Kernel&quot; Version=&quot;8.0.150812&quot;&amp;gt;&#xA;      &amp;lt;PrivateAssets&amp;gt;all&amp;lt;/PrivateAssets&amp;gt;&#xA;      &amp;lt;IncludeAssets&amp;gt;runtime; build; native; contentfiles; analyzers; buildtransitive&amp;lt;/IncludeAssets&amp;gt;&#xA;    &amp;lt;/PackageReference&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;  &amp;lt;ItemGroup&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;System&quot; /&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;System.Core&quot; /&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;System.Xml.Linq&quot; /&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;System.Data.DataSetExtensions&quot; /&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;Microsoft.CSharp&quot; /&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;System.Data&quot; /&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;System.Net.Http&quot; /&amp;gt;&#xA;    &amp;lt;Reference Include=&quot;System.Xml&quot; /&amp;gt;&#xA;  &amp;lt;/ItemGroup&amp;gt;&#xA;&amp;lt;/Project&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is my class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.ContentSearch;&#xA;using Sitecore.ContentSearch.SearchTypes;&#xA;&#xA;namespace TheValley.Sc.Modules.Search.SearchTypes&#xA;{&#xA;    public class CustomSearchResultItem : SearchResultItem&#xA;    {&#xA;        [IndexField(&quot;_foo&quot;)]&#xA;        public string Foo { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is what I see in Solution Explorer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BNXVX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BNXVX.png&quot; alt=&quot;Solution Explorer&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the build output:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;CustomSearchResultItem.cs(1,7,1,15): error CS0246: The type or namespace name 'Sitecore' could not be found (are you missing a using directive or an assembly reference?)&#xA;  CustomSearchResultItem.cs(2,7,2,15): error CS0246: The type or namespace name 'Sitecore' could not be found (are you missing a using directive or an assembly reference?)&#xA;  CustomSearchResultItem.cs(6,43,6,59): error CS0246: The type or namespace name 'SearchResultItem' could not be found (are you missing a using directive or an assembly reference?)&#xA;  CustomSearchResultItem.cs(8,10,8,20): error CS0246: The type or namespace name 'IndexFieldAttribute' could not be found (are you missing a using directive or an assembly reference?)&#xA;  CustomSearchResultItem.cs(8,10,8,20): error CS0246: The type or namespace name 'IndexField' could not be found (are you missing a using directive or an assembly reference?)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It is necessary for me to reference Sitecore 8.0 packages. No other restrictions. Any assistance greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5824" LastEditorUserId="5824" LastEditDate="2019-07-29T10:05:54.307" LastActivityDate="2020-04-24T16:03:30.330" Title="Sitecore namespace not found when referencing v8.0 packages via NuGet" Tags="|nuget|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20148" PostTypeId="1" AcceptedAnswerId="20149" CreationDate="2019-07-29T10:02:34.120" Score="3" ViewCount="286" Body="&lt;p&gt;I'm (trying to) using &lt;code&gt;Reset-ItemField&lt;/code&gt; to remove broken workflow links. While no error is shown in the console, the relevant fields are not changed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$counter = 0&#xA;&#xA;Get-Item -Path :master -Query &quot;/sitecore/content//*[@__Workflow = '{f1fb8a76-9c0e-fcbb-3f7f-a57c84e92e39}']&quot; |&#xA; ForEach-Object {&#xA;    Write-Host &quot;Workflow &quot; $_[&quot;__Workflow&quot;]&#xA;    Write-Host &quot;Workflow state &quot; $_[&quot;__Workflow state&quot;]&#xA;    Write-Host &quot;Default workflow &quot; $_[&quot;__Default workflow&quot;]&#xA;    Reset-ItemField -Item $_ -Name @(&quot;__Workflow&quot;, &quot;__Workflow state&quot;, &quot;__Default workflow&quot;)&#xA;&#xA;    Write-Host &quot;Workflow &quot; $_[&quot;__Workflow&quot;]&#xA;    Write-Host &quot;Workflow state &quot; $_[&quot;__Workflow state&quot;]&#xA;    Write-Host &quot;Default workflow &quot; $_[&quot;__Default workflow&quot;]&#xA;&#xA;    Write-Host &quot;Broken workflow link found and removed from &quot; + $_.Paths.FullPath&#xA;    $counter++&#xA;    if ($counter -gt 0) {&#xA;        break&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 1&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As &lt;a href=&quot;https://sitecore.stackexchange.com/users/73/mark-cassidy&quot;&gt;Mark&lt;/a&gt; mentioned it is necessary to include the &lt;code&gt;-IncludeStandardFields&lt;/code&gt; parameter when modifying workflow via Reset-ItemField.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I have found so far is that I can modify the default Sitecore homepage item (&lt;code&gt;/sitecore/content/Home&lt;/code&gt;) using with the following script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$homeItem = Get-Item -Path :master -Query &quot;/sitecore/content/Home&quot;&#xA;Reset-ItemField -Item $homeItem -IncludeStandardFields -Name @(&quot;__Workflow&quot;, &quot;__Workflow state&quot;, &quot;__Default workflow&quot;) &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This proves that SPE is not broken in this environment. It also implies that the issue here is either to do with the way I am retrieving items (using Get-Item with a query) or is to do with permissions on the items retrieved by my original query. It is strange, however, that there is no warning or error message when the cmdlet fails to update items. I have also tried wrapping the update foreach loop with a using block with a SecurityDisabler &lt;code&gt;New-UsingBlock(New-Object -TypeName &quot;Sitecore.SecurityModel.SecurityDisabler&quot;)&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE 2&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After attempting to manually clear the workflow fields, I realised that there is some &lt;code&gt;item:saved&lt;/code&gt; handler, or similar, which is re-assigning the workflow after the item is saved. This confirms that there is no problem with SPE or the script and there is no &lt;em&gt;failure&lt;/em&gt; (or silent failure). I neglected to mention that the solution uses Sitecore Commerce Engine and I suspect there is some item:saved handler which is reassigning the workflow after an item is saved.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2019-07-30T09:24:19.750" LastActivityDate="2019-07-30T09:24:19.750" Title="Reset-ItemField failing silently" Tags="|powershell-extensions|commerce-engine|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20149" PostTypeId="2" ParentId="20148" CreationDate="2019-07-29T10:29:14.513" Score="3" Body="&lt;p&gt;I had something similar just a couple of weeks ago. I ended up solving it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$contentItems = Get-ChildItem master:\content -Recurse&#xA;ForEach($item in $contentItems)&#xA;{&#xA;    $item.Editing.BeginEdit()&#xA;    $item[&quot;__Default Workflow&quot;] = $null&#xA;    $item[&quot;__Lock&quot;] = $null&#xA;    $item[&quot;__Workflow State&quot;] = $null&#xA;    $item[&quot;__Workflow&quot;] = $null&#xA;    $item.Editing.EndEdit() | Out-Null&#xA;    Write-Host &quot;Processing &quot; $item.FullPath&#xA;}&#xA;Write-Host &quot;All Done!&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For &lt;code&gt;Reset-ItemField&lt;/code&gt; to work, I suspect you may need to add &lt;code&gt;-IncludeStandardFields&lt;/code&gt; as an argument. This is required for any fields that are &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/common/reset-itemfield#includestandardfields-less-than-switchparameter-greater-than&quot; rel=&quot;nofollow noreferrer&quot;&gt;included in Sitecore's Standard Template&lt;/a&gt;. &lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-07-29T10:29:14.513" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20150" PostTypeId="1" AcceptedAnswerId="20153" CreationDate="2019-07-29T12:08:44.860" Score="0" ViewCount="152" Body="&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; project following &lt;code&gt;Helix&lt;/code&gt; principles and wish to create &lt;code&gt;Nuget packages&lt;/code&gt; from some of the custom layer projects (e.g. Customer.Foundation.Dictionary, Customer.Foundation.Assets, Customer.Feature.Article, etc). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The idea is that these &lt;code&gt;NuGet packages&lt;/code&gt; can be used on new projects, such that we can re-use logic across projects.&#xA;We also utilize Unicorn for serialization in our project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a lot of information about creating &lt;code&gt;NuGet packages&lt;/code&gt; and some documentation on how to create Sitecore &lt;code&gt;NuGet packages&lt;/code&gt; if I was using TDS, however, I have not found anything describing my use-case.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My suggested approach&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The way I imagine it could work would be something along these lines:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;1) NuGet package following convention-based structure (https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package)&#xA;&#xA;2) Content folder contains the serialized items&#xA;&#xA;3) Content/App_Config/.....Serialization.Config contains stand-alone Unicorn configuration (this configuration needs to work as-is and not rely on existing config). Serialization folder points to the same folder as the script in step 4) copies to&#xA;&#xA;4) Tools folder could contain PowerShell script that copies Serialization items to a location that follows Helix principles (i.e. [Layer]/Feature/Serialization&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there anyone who tried to build &lt;code&gt;NuGet packages&lt;/code&gt; of custom Sitecore components (with Unicorn), who can point me in a direction? Any advice regarding how to structure the NuGet package is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="2152" LastEditDate="2019-07-29T13:55:01.913" LastActivityDate="2019-07-29T13:55:01.913" Title="Creating a custom Sitecore NuGet package containing Unicorn files" Tags="|helix|nuget|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20151" PostTypeId="1" AcceptedAnswerId="20152" CreationDate="2019-07-29T12:15:51.017" Score="1" ViewCount="176" Body="&lt;p&gt;I want to leverage SIF with the Set-Xml task to update the value in the datafolder.config patch file. But so far it seems I am not succeeding in finding the correct XPath due to the XML NS in the file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the following XPath expression: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//configuration/sitecore/sc.variable[@name='dataFolder']/patch:attribute[@name='value']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For your reference, this is the datafolder.config file shipped with Sitecore 8.2 U7:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;sc.variable name=&quot;dataFolder&quot;&amp;gt;&#xA;      &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;/data&amp;lt;/patch:attribute&amp;gt;&#xA;    &amp;lt;/sc.variable&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is it possible to set the value using SIF and an XPath expression? And if so, which XPath might do the trick? Any help is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3855" LastEditorUserId="3855" LastEditDate="2019-07-30T11:11:58.693" LastActivityDate="2021-01-15T11:20:18.810" Title="How can I update a Sitecore XML patch file using SIF?" Tags="|sitecore-install-framework|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20152" PostTypeId="2" ParentId="20151" CreationDate="2019-07-29T12:21:25.410" Score="1" Body="&lt;p&gt;Okay, I got it working. The problem was with the inability of the SetXml SIF task to provide an XML NS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I created a custom task based on the SetXml task with an extra parameter to provide the namespace, the SIF configuration (in my case) then becomes as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;SetDataFolder&quot;: {&#xA;      &quot;Type&quot;: &quot;SetXml&quot;,&#xA;      &quot;Params&quot;: {&#xA;        &quot;FilePath&quot;: &quot;[joinpath(variable('Site.WebsiteFolder'), 'App_Config', 'Include', 'DataFolder.config')]&quot;,&#xA;        &quot;XPath&quot;: &quot;//configuration/sitecore/sc.variable[@name='dataFolder']/patch:attribute[@name='value']&quot;,&#xA;        &quot;Namespace&quot;: [&#xA;          {&#xA;            &quot;patch&quot;: &quot;http://www.sitecore.net/xmlconfig/&quot;&#xA;          }&#xA;        ],&#xA;        &quot;Value&quot;: &quot;[parameter('DataFolder')]&quot;        &#xA;      }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To accomplish this, just copy the complete SetXml task from the SIF library, make the necessary modifications to support the namespace in the &lt;strong&gt;Select-XML&lt;/strong&gt; method, and include it in your module loading and be sure to register it using an overwrite of the out-of-the-box module using &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Register-SitecoreInstallExtension -Command Invoke-SetXmlTaskEx -As&#xA;  SetXml -Type Task -Force&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Hopefully this will help anyone else stumbling into the same problem until it hopefully becomes part of the official SIF version.&lt;/p&gt;&#xA;" OwnerUserId="3855" LastActivityDate="2019-07-29T12:21:25.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20153" PostTypeId="2" ParentId="20150" CreationDate="2019-07-29T12:32:55.313" Score="2" Body="&lt;p&gt;I would organise the package something like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;- /&#xA;  - bin/&#xA;    - Customer.Foundation.Dictionary.dll&#xA;    - ... etc&#xA;  - App_Config/&#xA;    - Include/&#xA;      - Feature/&#xA;        - Customer/&#xA;          - Customer.Foundation.Dictionary.Serialisation.config&#xA;  - App_Data/&#xA;    - Unicorn/&#xA;      - Feature/&#xA;          - Customer.Foundation.Dictionary/&#xA;            - ... your yaml files here&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The config would specify a &lt;code&gt;targetDataStore&lt;/code&gt; relative to webroot; e.g. &lt;code&gt;~/App_Data/Unicorn/$(configurationName)&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-07-29T12:32:55.313" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20154" PostTypeId="1" AcceptedAnswerId="20222" CreationDate="2019-07-29T13:16:46.193" Score="1" ViewCount="493" Body="&lt;p&gt;I'd like to define a field in a component that would display a set of values that my contributors could choose when using my component. Let's say that my field is a ratio, I want the users to be able to choose between &lt;code&gt;1/3&lt;/code&gt;, &lt;code&gt;2/3&lt;/code&gt; or &lt;code&gt;1/2&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could I get help on what to do, so far my code is working with a &lt;code&gt;CommonFieldTypes.SingleLineText&lt;/code&gt; but I'd like to know how to add my different values  in the Sitecore interface. &#xA;Here is my definition in the component for the field :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    { name: 'ratio', type: CommonFieldTypes.ContentList, source: `dataSource=/sitecore/content/${&#xA;        packageJson.config.appName&#xA;      }/Selectors/RatioSelector` }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've set in my data yml file the value :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;            ratio:&#xA;            - id: Ratio-1-3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've created a template &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// eslint-disable-next-line no-unused-vars&#xA;import { CommonFieldTypes, Manifest } from '@sitecore-jss/sitecore-jss-manifest';&#xA;&#xA;/**&#xA; * This is the data template for an individual _item_ in the Tag's Content List field demo.&#xA; * @param {Manifest} manifest Manifest instance to add components to&#xA; */&#xA;export default function(manifest) {&#xA;  manifest.addTemplate({&#xA;    name: 'KeyValue-Template',&#xA;    displayName: 'Key Value',&#xA;    fields: [{ name: 'KeyValue', type: CommonFieldTypes.SingleLineText }],&#xA;  });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and 3 files in my data like this one :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;id: Ratio-1-3&#xA;displayName: Tag&#xA;# Template defines the available fields. See /sitecore/definitions/templates/KeyValue-Template.sitecore.js&#xA;template: KeyValue-Template&#xA;fields:&#xA;  KeyValue: 1/3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Even with all of this if I want to display the value of ratio with this : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;Text field={fields.ratio} /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;it is always empty.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I put a value that is not in the defined items like Ratio-Unknown instead of Ratio-1-3 then it fails so I'm pretty sure that the list is almost working but I dont get any value. &lt;/p&gt;&#xA;" OwnerUserId="5831" LastEditorUserId="5831" LastEditDate="2019-07-29T14:30:28.197" LastActivityDate="2019-08-01T05:35:44.127" Title="Define a content list and populate it" Tags="|jss|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20155" PostTypeId="2" ParentId="16677" CreationDate="2019-07-29T13:49:04.050" Score="0" Body="&lt;p&gt;One other cause of this error is that the certificate does exist, the thumbprints are correct but the service fails to load the certificate when starting.  You can see this error in the logs &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-07-29 10:25:58.656 +01:00 [Error] Error initializing XConnect client.&#xA;System.AggregateException: One or more errors occurred. ---&amp;gt; Sitecore.XConnect.XdbCollectionUnavailableException: An error occurred while sending the request. ---&amp;gt; System.InvalidOperationException: The certificate was not found. Store: My, Location: LocalMachine, FindType: FindByThumbprint, FindValue: 4B368AFC943D1EF31DA5A5A3A98DF63769412BC5, InvalidAllowed: False.&#xA;   at Sitecore.Xdb.Common.Web.CertificateHttpClientHandlerModifier.Process(HttpClientHandler handler)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateRequestHandler()&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateClient()&#xA;   at System.Lazy`1.CreateValue()&#xA;   at System.Lazy`1.LazyInitValue()&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteAsync&amp;gt;d__41.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.&amp;lt;ExecuteGetAsync&amp;gt;d__36.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.&amp;lt;Refresh&amp;gt;d__4.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.&amp;lt;Refresh&amp;gt;d__4.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.&amp;lt;InitializeAsync&amp;gt;d__32.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;   at Sitecore.XConnect.Client.Configuration.XConnect.Extensions.ServiceCollectionExtensions.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;UseXConnectClientConfiguration&amp;gt;b__0(IServiceProvider provider)&#xA;---&amp;gt; (Inner Exception #0) Sitecore.XConnect.XdbCollectionUnavailableException: An error occurred while sending the request. ---&amp;gt; System.InvalidOperationException: The certificate was not found. Store: My, Location: LocalMachine, FindType: FindByThumbprint, FindValue: 4B368AFC943D1EF31DA5A5A3A98DF63769412BC5, InvalidAllowed: False.&#xA;   at Sitecore.Xdb.Common.Web.CertificateHttpClientHandlerModifier.Process(HttpClientHandler handler)&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateRequestHandler()&#xA;   at Sitecore.Xdb.Common.Web.CommonWebApiClient`1.CreateClient()&#xA;   at System.Lazy`1.CreateValue()&#xA;   at System.Lazy`1.LazyInitValue()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You may not have added the certificate or the thumbprint may be wrong but you can also have an issue if the cert issue is not in the correct authority in the local store.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've found that the sitecore installation framework can often add the SitecoreRootCert that it uses to issue other certs to the Intermediate Authority which may not be enough.&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/vehQj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vehQj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can results in the xconnect cert not being found because its not considered valid.  If you move the cert to the root store then try and start the service this can fix the issue. &lt;/p&gt;&#xA;" OwnerUserId="2402" LastActivityDate="2019-07-29T13:49:04.050" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20156" PostTypeId="1" AcceptedAnswerId="20173" CreationDate="2019-07-29T14:19:03.903" Score="0" ViewCount="249" Body="&lt;p&gt;My processor is defined as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;MyProject.MyProcessor, MyProject&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have then defined my Configurator Class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;        &amp;lt;configurator type=&quot;MyProject.MyConfiguratorClass, MyProject&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And inside &lt;code&gt;MyConfiguratorClass&lt;/code&gt; I will do something like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Configure(IServiceCollection serviceCollection) {&#xA;    serviceCollection.AddSingleton&amp;lt;classType&amp;gt;(somethingElse);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Processor that I want to inject to implements an &lt;code&gt;Abstract&lt;/code&gt; class with a Constructor that is already defined and has its own parameters. How can I inject another dependency - say, an instance of the class &lt;code&gt;MyProject.InjectedClass&lt;/code&gt; in it?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="70" LastEditDate="2019-08-08T21:09:00.770" LastActivityDate="2019-08-08T21:09:00.770" Title="How to inject a dependency into a Processor" Tags="|dependency-injection|processor|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20157" PostTypeId="2" ParentId="20147" CreationDate="2019-07-29T14:28:46.013" Score="1" Body="&lt;p&gt;I recreated the project from scratch on another system, and for some as-yet-unknown reason, the &lt;code&gt;PrivateAssets&lt;/code&gt; and &lt;code&gt;IncludeAssets&lt;/code&gt; elements were not added when I added the Sitecore package references, and the project built successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I then proceeded to remove these elements from my original project, and it then also built successfully. So, this appears to be the problem. It may not be Sitecore-specific as this solution was also the case for a similar issue &lt;a href=&quot;https://stackoverflow.com/a/53103288/197591&quot;&gt;here&lt;/a&gt;. A bug in the &quot;weaver&quot;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, the solution is just to remove the &lt;code&gt;PrivateAssets&lt;/code&gt; and &lt;code&gt;IncludeAssets&lt;/code&gt; elements from the &lt;em&gt;PackageReference&lt;/em&gt; nodes in the project file.&lt;/p&gt;&#xA;" OwnerUserId="5824" LastActivityDate="2019-07-29T14:28:46.013" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20158" PostTypeId="1" CreationDate="2019-07-29T14:46:32.680" Score="0" ViewCount="1433" Body="&lt;p&gt;I ran into a problem installing SXA (Sitecore Experience Accelerator) 1.8 on a new Sitecore 9.2 instance. The problem is with SPE. The latest version of SPE on Marketplace is 5.0&lt;/p&gt;&#xA;" OwnerUserId="651" LastActivityDate="2019-07-29T15:24:58.587" Title="Sitecore Powershell Extensions for Sitecore 9.2" Tags="|sxa|powershell-extensions|" AnswerCount="3" CommentCount="0" ClosedDate="2019-07-29T15:52:11.267" ContentLicense="CC BY-SA 4.0" />
  <row Id="20159" PostTypeId="2" ParentId="20158" CreationDate="2019-07-29T14:46:32.680" Score="1" Body="&lt;p&gt;SXA 1.8 requires SPE 5.1, which as of right now is not available on Marketplace. If you're installing SXA 1.8 on 9.2, &lt;strong&gt;download SPE 5.1 from GitHub&lt;/strong&gt;  &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/releases/tag/5.1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecorePowerShell/Console/releases/tag/5.1&lt;/a&gt;. &lt;/p&gt;&#xA;" OwnerUserId="651" LastActivityDate="2019-07-29T14:46:32.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20160" PostTypeId="2" ParentId="8470" CreationDate="2019-07-29T14:53:45.723" Score="2" Body="&lt;p&gt;Just to follow up-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I ran with the math in my post.  The website has been in production for over a year now and is running smooth and fast.  Memory is cheap, use it.  Bump your cache up high, &quot;warm up&quot; all of your pages, and check your cache size.  Shoot for somewhere around 20% higher than that number and be done with it.&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2019-07-29T14:53:45.723" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20161" PostTypeId="2" ParentId="20158" CreationDate="2019-07-29T14:54:24.410" Score="0" Body="&lt;p&gt;SPE is also available on the download site from Sitecore itself ;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find it on the list of downloads for SXA 1.9:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/19/Sitecore_Experience_Accelerator_190.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/19/Sitecore_Experience_Accelerator_190.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Two versions are available there:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore PowerShell Extension 5.0 for Sitecore 9.1&lt;/li&gt;&#xA;&lt;li&gt;Sitecore PowerShell Extension 5.0 for Sitecore 9.2   &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That is not yet the 5.1 version - but according to the install guides for SXA, SPE 5.0 should be sufficient.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-07-29T14:54:24.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20162" PostTypeId="2" ParentId="20158" CreationDate="2019-07-29T15:24:58.587" Score="3" Body="&lt;p&gt;Sitecore 9.2 requires Sitecore Experience Accelerator (SXA) 1.9, not 1.8.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA 1.9 for Sitecore 9.2 requires either:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The official Sitecore Powershell Extensions 5.1 version:    &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/releases/tag/5.1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/SitecorePowerShell/Console/releases/tag/5.1&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;The SXA build of Sitecore Powershell Extensions 5.0 for Sitecore 9.2: &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/19/Sitecore_Experience_Accelerator_190.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/19/Sitecore_Experience_Accelerator_190.aspx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="171" LastActivityDate="2019-07-29T15:24:58.587" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20163" PostTypeId="1" CreationDate="2019-07-29T15:28:41.697" Score="1" ViewCount="742" Body="&lt;p&gt;We are using &lt;code&gt;Sitecore 9.0.2&lt;/code&gt;, &lt;code&gt;SXA 1.8.1&lt;/code&gt; and &lt;code&gt;Azure search&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SXA component &lt;code&gt;Search Box&lt;/code&gt; works perfectly fine. In our application, we need to show the search results from other application along with the &lt;code&gt;OOTB search&lt;/code&gt; results. In order to search in other application, an API is exposed which we can use to extract data in JSON format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want to merge this data with Sitecore search result and display as a common result. I am planning to clone the search box component and write a custom controller. Not sure which method to overwrite to obtain the above functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea which method to overwrite or is there a better way to do this?&lt;/p&gt;&#xA;" OwnerUserId="5530" LastEditorUserId="5387" LastEditDate="2019-07-30T05:22:42.563" LastActivityDate="2022-12-11T17:08:00.937" Title="How to write a custom controller for Sitecore SXA Search Box component?" Tags="|sxa|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20165" PostTypeId="2" ParentId="19330" CreationDate="2019-07-29T20:07:36.337" Score="0" Body="&lt;p&gt;You can also do that after installation&#xA;See here &#xA;&lt;a href=&quot;https://d0cnet.wordpress.com/2019/07/29/installing-sitecore-experience-commerce-9-1-default-storefront-bug-workaround/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://d0cnet.wordpress.com/2019/07/29/installing-sitecore-experience-commerce-9-1-default-storefront-bug-workaround/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1359" LastActivityDate="2019-07-29T20:07:36.337" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20166" PostTypeId="1" CreationDate="2019-07-29T20:10:12.833" Score="2" ViewCount="87" Body="&lt;p&gt;I'm getting the following error when I try to personalize a JSS component that was deployed into a &lt;code&gt;JSS tenant on 9.2&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; Cannot read property 'image' of undefined&#xA;TypeError: Cannot read property 'image' of undefined&#xA;   at DemoSimplePromo (C:\inetpub\wwwroot\sc92sc.dev.local\dist\react-with-sitecore\server.bundle.js:26682:25)&#xA;   at c (C:\inetpub\wwwroot\sc92sc.dev.local\dist\react-with-sitecore\server.bundle.js:12516:496)&#xA;   at Ga (C:\inetpub\wwwroot\sc92sc.dev.local\dist\react-with-sitecore\server.bundle.js:12519:1)&#xA;   at a.render (C:\inetpub\wwwroot\sc92sc.dev.local\dist\react-with-sitecore\server.bundle.js:12524:367)&#xA;   at a.read (C:\inetpub\wwwroot\sc92sc.dev.local\dist\react-with-sitecore\server.bundle.js:12523:450)&#xA;   at renderToString (C:\inetpub\wwwroot\sc92sc.dev.local\dist\react-with-sitecore\server.bundle.js:12535:82)&#xA;   at process (C:\inetpub\wwwroot\sc92sc.dev.local\dist\react-with-sitecore\server.bundle.js:16563:20)&#xA;   at processTicksAndRejections (internal/process/task_queues.js:85:5)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that &lt;code&gt;image&lt;/code&gt; is a field on the template that was created from the component definition, as part of the deployment. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;export default function(manifest) {&#xA;manifest.addComponent({&#xA;name: 'Demo-SimplePromo',&#xA;icon: SitecoreIcon.Target,&#xA;fields: [&#xA;  { name: 'heading', type: CommonFieldTypes.SingleLineText },&#xA;  { name: 'content', type: CommonFieldTypes.RichText },&#xA;  { name: 'image', type: CommonFieldTypes.Image},&#xA;  { name: 'link', type: CommonFieldTypes.GeneralLink}&#xA;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All I did was add a &lt;code&gt;where true&lt;/code&gt; condition to the rendering in &lt;code&gt;Experience Editor&lt;/code&gt;. I tried pointing it to a new data source (created by duplicating the data source item created by the deploy script), but I also tried just setting the personalized data source to the same item as the default. &lt;/p&gt;&#xA;" OwnerUserId="651" LastEditorUserId="237" LastEditDate="2019-07-30T07:40:14.710" LastActivityDate="2019-07-30T07:40:14.710" Title="Error when personalizing JSS renderings" Tags="|jss|personalization|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20167" PostTypeId="1" AcceptedAnswerId="20171" CreationDate="2019-07-30T04:54:14.527" Score="0" ViewCount="955" Body="&lt;p&gt;Is there any complex field type available in Sitecore with Name value + dropdown list?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;some thing like : Key + value + Dropdownlist&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7eryc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7eryc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="73" LastEditDate="2019-07-30T06:59:52.490" LastActivityDate="2019-07-30T21:05:27.873" Title="Sitecore complex type field- name value with dropdown list" Tags="|fieldtype|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20168" PostTypeId="2" ParentId="16260" CreationDate="2019-07-30T06:39:54.370" Score="1" Body="&lt;p&gt;This error came for me, even though I used Solr version 7.2.1 for installing Sitecore 9.1.1 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The problem was that the Solr cores were already been created with the same sitecore instance name that I now tried to install&lt;/strong&gt;. You can check this in the &lt;a href=&quot;https://solr:8984/solr/#/~cores&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr Cores URL&lt;/a&gt; (Replace port number 8984 with your port number in this URL). For example, if there is a core already with the name &lt;strong&gt;sc911_master_index&lt;/strong&gt; and when we attempt to install a new sitecore instance again with the instance name as &lt;strong&gt;sc911&lt;/strong&gt;, then also you will get the same error as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-SitecoreConfiguration : could not complete request for &lt;a href=&quot;https://solr:8984/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://solr:8984/solr&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SOLUTION:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Either &lt;strong&gt;change the sitecore instance name that you want to install&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Or, &lt;strong&gt;UNLOAD the solr cores&lt;/strong&gt; (with that same instance name that you're now trying to install) from the &lt;a href=&quot;https://solr:8984/solr/#/~cores&quot; rel=&quot;nofollow noreferrer&quot;&gt;Solr Cores URL&lt;/a&gt; . You can do this by clicking on each core and then clicking the Unload button.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In my case, I unloaded the cores and then tried to run the installation script again, now this error is resolved.&lt;/p&gt;&#xA;" OwnerUserId="4515" LastActivityDate="2019-07-30T06:39:54.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20169" PostTypeId="2" ParentId="20167" CreationDate="2019-07-30T06:51:21.010" Score="0" Body="&lt;p&gt;You may use the &quot;Name Value List&quot; or &quot;Name Lookup Value List&quot; field type. Probably this will serve your purpose of Name+Value for dropdown. To check more out-of-box field types, please see &lt;a href=&quot;https://sitecore.namics.com/2018/12/20/cheatsheetfieldtypes/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Field Types&lt;/a&gt;. If out-of-box field types will not be used in your scenario you may add your own field types following this link &lt;a href=&quot;https://doc.sitecore.com/developers/90/web-forms-for-marketers/en/create-a-custom-field-type.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Create Sitecore Custom Field Type&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3755" LastEditorUserId="3755" LastEditDate="2019-07-30T10:20:37.300" LastActivityDate="2019-07-30T10:20:37.300" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20170" PostTypeId="2" ParentId="20167" CreationDate="2019-07-30T06:58:59.153" Score="1" Body="&lt;p&gt;&lt;strong&gt;Yes&lt;/strong&gt;, You can use &lt;strong&gt;Name Lookup Value List&lt;/strong&gt;, This field type is an extended version of Name Value List type having many of the similar features. The only difference here is – Name Lookup Value List uses a Dropdown list to choose the value against a key. The editor is still required to type the key name, the dropdown is only for Value field.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KgHC1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KgHC1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt; - Okay so the original question is updated, so answer for this is &lt;strong&gt;NO&lt;/strong&gt; , There is no any OOTB field avaible for this but you can do this by two ways first creating a custom field type second use the &lt;strong&gt;Name Lookup Value List&lt;/strong&gt; but with a twist, by adding both name and value in the first textbox of the field with _(underscore) as identifier for name and value - &lt;strong&gt;Name_Value&lt;/strong&gt;&#xA;Although this will require some knowledge transfer to the content editor that how they can use this field. In code, you can simply split the name value with _ (underscore).&#xA;&lt;a href=&quot;https://i.stack.imgur.com/q8Vtx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q8Vtx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-07-30T08:53:04.477" LastActivityDate="2019-07-30T08:53:04.477" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20171" PostTypeId="2" ParentId="20167" CreationDate="2019-07-30T07:02:33.780" Score="1" Body="&lt;h2&gt;No, there is not.&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Neil Shack assembled a &lt;a href=&quot;https://nshackblog.wordpress.com/2017/10/07/full-list-of-sitecore-field-types-and-their-c-type-mapping/&quot; rel=&quot;nofollow noreferrer&quot;&gt;list of all available field types&lt;/a&gt;. While it is not 100% up to date, it is current enough to use as a reference.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-07-30T07:02:33.780" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20172" PostTypeId="2" ParentId="20156" CreationDate="2019-07-30T07:02:52.803" Score="-1" Body="&lt;p&gt;If the inherited class constructor has more parameters than its base class constructor we can use the below syntax.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public inheritedClass(param p1, param p2, param p3):base(p1, p2){}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Akif&lt;/p&gt;&#xA;" OwnerUserId="3755" LastEditorUserId="3134" LastEditDate="2019-07-30T07:54:26.083" LastActivityDate="2019-07-30T07:54:26.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20173" PostTypeId="2" ParentId="20156" CreationDate="2019-07-30T07:17:16.947" Score="2" Body="&lt;p&gt;You've not shared the actual classes in question, so I have to extrapolate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you have&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public abstract ClassA&#xA;{&#xA;    public ClassA(IDependency dependencyOne)&#xA;    {&#xA;         ...&#xA;    }&#xA;}&#xA;&#xA;public ClassB : ClassA&#xA;{&#xA;    public ClassB(IDependency dependencyOne, string connectionStringName) : base(dependencyone)&#xA;    {&#xA;        ...&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then this would be one example of how it can be done. Since the abstract class does not have a parameterless constructor, your constructor HAS to derive &lt;code&gt;base&lt;/code&gt; on all of its constructors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you're not using interfaces but instead the abstract type, none of this really changes. You can do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;serviceCollection.AddSingleton&amp;lt;ClassA&amp;gt;(ClassB);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Assuming there is another mapping in place for &lt;code&gt;IDependency&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-07-30T07:17:16.947" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20174" PostTypeId="2" ParentId="16582" CreationDate="2019-07-30T07:55:20.417" Score="2" Body="&lt;p&gt;I know this is kinda old now, and just to supplement @GeorgeTucker's response, here is a maintenance script I have been using for this cleanup.  Basically these tickets control the &quot;Remember Me&quot; feature of the authentication module.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;select [key] 'k', SUBSTRING( [value], CHARINDEX( '^', [value], CHARINDEX( '^', [value] ) + 1 ) + 1, 16 ) 'ExpiryDate' &#xA;into ##Tickets &#xA;FROM [Properties] &#xA;where [Key] like 'CORE_SC_TICKET%'&#xA;&#xA;/* Optional backup!&#xA;select * into [PropertiesBackup] from [properties]&#xA;*/&#xA;&#xA;begin tran&#xA;-- remove virtual user tickets older than 1 day&#xA;delete p &#xA;from&#xA;    [Properties] p&#xA;    JOIN [##Tickets] t on p.[Key] = t.k&#xA;where&#xA;    p.[Value] like '%sitecore\virtualssuser%^'&#xA;    AND CAST( SUBSTRING(ExpiryDate,1,4)+'-'+SUBSTRING(ExpiryDate,5,2)+'-'+SUBSTRING(ExpiryDate,7,2) AS datetime ) &amp;lt; DATEADD( DAY, -1, GetDate() )&#xA;&#xA;-- remove all tickets older than 14 days&#xA;delete p &#xA;from&#xA;    [Properties] p&#xA;    JOIN [##Tickets] t on p.[Key] = t.k&#xA;where&#xA;    CAST( SUBSTRING(ExpiryDate,1,4)+'-'+SUBSTRING(ExpiryDate,5,2)+'-'+SUBSTRING(ExpiryDate,7,2) AS datetime ) &amp;lt; DATEADD( DAY, -14, GetDate() )&#xA;&#xA;rollback&#xA;-- commit&#xA;&#xA;drop table ##Tickets&#xA;alter table [Properties] rebuild&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the actual delete is guarded by a &lt;code&gt;begin tran&lt;/code&gt; which is rolled back by default. This is just my habit so if I accidentally run the script I don't do damage.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to select and &lt;code&gt;F5&lt;/code&gt; the &lt;code&gt;commit&lt;/code&gt; step manually (or adjust the script if you like to live dangerously, I guess).&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2019-07-30T07:55:20.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20175" PostTypeId="2" ParentId="20101" CreationDate="2019-07-30T08:57:36.753" Score="1" Body="&lt;p&gt;You could have a look at these below options for your new CM2 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Please check the self-signed certificate has been installed in your new server. The SOLR instance is running up with the https certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Your xconnect website &lt;code&gt;https://xp0.xconnect/&lt;/code&gt; should be running up with self signed https certificate.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Sometimes also seen that the xconnect website faces a trust issue due to the presence of non-self signed certificate in trusted root certificates in MMC.&#xA;In power shell administrator mode try to run below command to check how many certificate are in trusted root folder . &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PS C:\WINDOWS\system32&amp;gt; Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Try to move them to CA&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;PS C:\WINDOWS\system32&amp;gt; Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Move-&#xA;Item -Destination Cert:\LocalMachine\CA&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;4) Type mmc and open your Certificate Store for 'Local Computer'. Right-click your &lt;code&gt;Sitecore certificate &amp;gt; All Tasks &amp;gt; Manage Private Keys&lt;/code&gt;. Grant full control to both NETWORK SERVICE and &lt;code&gt;IIS_IUSRS&lt;/code&gt;. Do it for both &lt;code&gt;xp0.xconnect&lt;/code&gt; and &lt;code&gt;xp0.xconnect_client&lt;/code&gt; certificates. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;5) In IIS Manager check the certificate is set for xConnect websites. Set the correct certificate from the list for xconnect website.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/l5UpK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l5UpK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;6) There might be certificate thumbprint value mismatched, please check xconnect and sitecore instance website certificate thumbprint value, try to place the correct thumbprint value in the intepub xconnect website App_Config folder &lt;code&gt;appsetting.config&lt;/code&gt; , &lt;code&gt;connectionstring.config&lt;/code&gt; and also in the sitecore app_config folder's config files . In case you have created a new certificate and their old certificate thumbprint values are present in that result it can show you an exception.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;validateCertificateThumbprint&quot; value=&quot;[CORRECT THUMBPRINT VALUE]&quot; /&amp;gt;&#xA;&amp;lt;add key=&quot;AllowInvalidClientCertificates&quot; value=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;xconnect.collection.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=[CORRECT THUMBPRINT VALUE]&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;7) Check in the IIS xconnect application pool the identity is set to 'NETWORK SERVICE' also, the xconnect website SSL settings for the content of website or application require SSL checkbox is set to true and client certified is accepted&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Finally also please check if there any internal/external network setting is applied which might be also blocked TSL/SSL secure channel communication.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try to clear your browser cache and reload analytics dashboard. &lt;/p&gt;&#xA;" OwnerUserId="3452" LastEditorUserId="5387" LastEditDate="2019-07-30T09:11:07.880" LastActivityDate="2019-07-30T09:11:07.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20176" PostTypeId="2" ParentId="20101" CreationDate="2019-07-30T09:30:45.230" Score="0" Body="&lt;ol&gt;&#xA;&lt;li&gt;Is there any proxy that comes into the picture? I have faced such a situation where we had to add the XConnect URL to the Proxy By-pass, hence thought of sharing that info with you.&lt;/li&gt;&#xA;&lt;li&gt;Also, are you using App Pool Identity or a Network user in the App pool of the website. If you are using a Network User, you will need to add that user to the Certificate as well.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="616" LastActivityDate="2019-07-30T09:30:45.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20177" PostTypeId="2" ParentId="20142" CreationDate="2019-07-30T11:31:13.563" Score="1" Body="&lt;p&gt;I contacted Sitecore support and apparently it is a bug.&#xA;I have received a SQL script to execute against my refdata-db and it had a huge impact&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wXWkj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wXWkj.png&quot; alt=&quot;Before and after script execution&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you also have this issue and need the scripts, contact support and reference to issue 312397.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Rik&lt;/p&gt;&#xA;" OwnerUserId="5538" LastActivityDate="2019-07-30T11:31:13.563" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20178" PostTypeId="1" CreationDate="2019-07-30T11:45:27.367" Score="1" ViewCount="443" Body="&lt;p&gt;I am newbie in SXA, working on Sitecore 9.2 SXA 1.9 .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here in my case i am using &lt;code&gt;Carousal&lt;/code&gt; in one of page where trying to search by &lt;code&gt;Slide Text&lt;/code&gt; field value but no record is coming.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have added scope under &lt;code&gt;/Settings/Scopes/&lt;/code&gt; and build query using my custom carousel template and location which is page &lt;code&gt;datascource&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/m65mV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/m65mV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I create content template which used in few pages where search is working for &lt;code&gt;Rich Text&lt;/code&gt; and &lt;code&gt;Single-Line Text&lt;/code&gt;.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/mnqPP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mnqPP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is any other setting or config change required for composite control?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest, what i am missing.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-07-31T05:14:50.250" LastActivityDate="2024-04-05T15:01:45.207" Title="How to search any component's field value by using SXA search component?" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20181" PostTypeId="1" CreationDate="2019-07-30T12:05:27.397" Score="2" ViewCount="442" Body="&lt;p&gt;I am trying to implement &lt;code&gt;federated login&lt;/code&gt; for my website in &lt;code&gt;Sitecore 9.1&lt;/code&gt;. We are using Open Id connect with an implicit flow so that we upon authentication receive an &lt;code&gt;identity-token&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've written a config file and overridden the IdentityProcessor, and it seems that everything is working. When I hit the login link I get redirected to the external login page and when I am authenticated there I get redirected back to my website. However, when I check to see if I have the roles that I have specified in the transformation-node in my config file, they're not assigned to my user? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The token I'm receiving is:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;typ&quot;:&quot;JWT&quot;,&quot;alg&quot;:&quot;RS256&quot;}{&quot;sub&quot;:&quot;anonymousUser&quot;,&quot;aud&quot;:&quot;03ffdc3a-9328-4912-8c73-a40ddb09cd85&quot;,&quot;nbf&quot;:1563539052,&quot;role&quot;:&quot;write&quot;,&quot;idp&quot;:&quot;demo&quot;,&quot;iss&quot;:&quot;https:\/\/xxxx.xxxx.xxx.xxxxxxxxxxxx.xx&quot;,&quot;name&quot;:&quot;anonymousUser&quot;,&quot;company&quot;:&quot;[\&quot;companyA\&quot;,\&quot;companyB\&quot;]&quot;,&quot;exp&quot;:1563539412,&quot;iat&quot;:1563539111,&quot;nonce&quot;:&quot;636991359115494880.ODU1ZDQ2ZDEtNTI0Ni00YmJmLThhMmQtYTc5MjFiZjY1YTY5N2M0ODBjZGQtMjdkMS00NGU2LWIwNDktYWNkYzFmYWNiZmYz&quot;,&quot;jti&quot;:&quot;0b9e6dca-29c1-4a3b-8ea3-95a1f23b5d43&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;and my config is:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot;&amp;gt;&#xA;      &amp;lt;services&amp;gt;&#xA;          &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseAuthenticationManager, Sitecore.Kernel&quot;&#xA;                    implementationType=&quot;Sitecore.Owin.Authentication.Security.AuthenticationManager, Sitecore.Owin.Authentication&quot;&#xA;                    lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;          &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BaseTicketManager, Sitecore.Kernel&quot;&#xA;                    implementationType=&quot;Sitecore.Owin.Authentication.Security.TicketManager, Sitecore.Owin.Authentication&quot;&#xA;                    lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;          &amp;lt;register serviceType=&quot;Sitecore.Abstractions.BasePreviewManager, Sitecore.Kernel&quot;&#xA;                    implementationType=&quot;Sitecore.Owin.Authentication.Publishing.PreviewManager, Sitecore.Owin.Authentication&quot;&#xA;                    lifetime=&quot;Singleton&quot; /&amp;gt;&#xA;      &amp;lt;/services&amp;gt;&#xA;      &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;owin.identityProviders&amp;gt;&#xA;              &amp;lt;processor type=&quot;SC.Foundation.Login.Infrastructure.Pipelines.XxIdentityProvider, SC.Foundation.Login&quot; resolve=&quot;true&quot;/&amp;gt;&#xA;          &amp;lt;/owin.identityProviders&amp;gt;&#xA;      &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;federatedAuthentication&amp;gt;&#xA;          &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;              &amp;lt;identityProvider id=&quot;demo&quot; type=&quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;                  &amp;lt;param desc=&quot;domainManager&quot; type=&quot;Sitecore.Abstractions.BaseDomainManager&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;                  &amp;lt;transformations hint=&quot;list:AddTransformation&quot;&amp;gt;&#xA;                      &amp;lt;transformation name=&quot;set idp claim&quot; ref=&quot;federatedAuthentication/sharedTransformations/setIdpClaim&quot; /&amp;gt;&#xA;                      &amp;lt;transformation name=&quot;readRole&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                          &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;                              &amp;lt;claim name=&quot;role&quot; value=&quot;read&quot; /&amp;gt;&#xA;                          &amp;lt;/sources&amp;gt;&#xA;                          &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;                              &amp;lt;claim name=&quot;http://schemas.microsoft.com/ws/2008/06/identity/claims/role&quot; value=&quot;extranet\read&quot; /&amp;gt;&#xA;                          &amp;lt;/targets&amp;gt;&#xA;                          &amp;lt;keepSource&amp;gt;true&amp;lt;/keepSource&amp;gt;&#xA;                      &amp;lt;/transformation&amp;gt;&#xA;                      &amp;lt;transformation name=&quot;writeRole&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                          &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;                              &amp;lt;claim name=&quot;role&quot; value=&quot;write&quot; /&amp;gt;&#xA;                          &amp;lt;/sources&amp;gt;&#xA;                          &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;                              &amp;lt;claim name=&quot;http://schemas.microsoft.com/ws/2008/06/identity/claims/role&quot; value=&quot;extranet\write&quot; /&amp;gt;&#xA;                          &amp;lt;/targets&amp;gt;&#xA;                          &amp;lt;keepSource&amp;gt;true&amp;lt;/keepSource&amp;gt;&#xA;                      &amp;lt;/transformation&amp;gt;&#xA;                  &amp;lt;/transformations&amp;gt;&#xA;              &amp;lt;/identityProvider&amp;gt;&#xA;          &amp;lt;/identityProviders&amp;gt;&#xA;          &amp;lt;identityProvidersPerSites hint=&quot;list:AddIdentityProvidersPerSites&quot;&amp;gt;&#xA;              &amp;lt;!--The list of providers assigned to all sites--&amp;gt;&#xA;              &amp;lt;mapEntry name=&quot;xUsers&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                  &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                      &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;                  &amp;lt;/sites&amp;gt;&#xA;                  &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;                      &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='demo']&quot; /&amp;gt;&#xA;                  &amp;lt;/identityProviders&amp;gt;&#xA;                  &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                      &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;                  &amp;lt;/externalUserBuilder&amp;gt;&#xA;              &amp;lt;/mapEntry&amp;gt;&#xA;&#xA;          &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;          &amp;lt;sharedTransformations hint=&quot;list:AddSharedClaimsTransformation&quot;&amp;gt;&#xA;              &amp;lt;!--Adds idp claim to identity. Every provider should reference to it--&amp;gt;&#xA;              &amp;lt;setIdpClaim name=&quot;setIdpClaim&quot; type=&quot;Sitecore.Owin.Authentication.Services.SetIdpClaimTransform, Sitecore.Owin.Authentication&quot;/&amp;gt;&#xA;              &amp;lt;nameClaimTransformation name=&quot;nameClaimTransformation&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                  &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;                      &amp;lt;claim name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/privatepersonalidentifier&quot;/&amp;gt;&#xA;                  &amp;lt;/sources&amp;gt;&#xA;                  &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;                      &amp;lt;claim name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier&quot;/&amp;gt;&#xA;                  &amp;lt;/targets&amp;gt;&#xA;                  &amp;lt;keepSource&amp;gt;true&amp;lt;/keepSource&amp;gt;&#xA;              &amp;lt;/nameClaimTransformation&amp;gt;&#xA;&#xA;&#xA;          &amp;lt;/sharedTransformations&amp;gt;&#xA;      &amp;lt;/federatedAuthentication&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So specifically I want my user to receive the extranet/write role that I created&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/M3IIS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/M3IIS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My processor looks like:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        using Sitecore.Abstractions;&#xA;        using Sitecore.Owin.Authentication.Pipelines.IdentityProviders;&#xA;        using Sitecore.Owin.Authentication.Configuration;&#xA;        using SC.Foundation.Login.Models;&#xA;        using Microsoft.IdentityModel.Tokens;&#xA;        using Microsoft.IdentityModel.Logging;&#xA;        using Microsoft.Owin.Infrastructure;&#xA;        using Microsoft.AspNet.Identity;&#xA;        using Microsoft.Owin.Security.Cookies;&#xA;        using Microsoft.IdentityModel.Protocols.OpenIdConnect;&#xA;        using Microsoft.Owin.Security.OpenIdConnect;&#xA;&#xA;        namespace SC.Foundation.Login.Infrastructure.Pipelines&#xA;        {&#xA;            using Owin;&#xA;&#xA;            public class XxIdentityProvider : IdentityProvidersProcessor&#xA;            {&#xA;                private ClientData clientData;&#xA;&#xA;                private DecryptionKey decryptionKey;&#xA;&#xA;                protected override string IdentityProviderName =&amp;gt; &quot;demo&quot;;&#xA;&#xA;                public XxIdentityProvider(FederatedAuthenticationConfiguration federatedAuthenticationConfiguration, ICookieManager cookieManager, BaseSettings settings) : base(federatedAuthenticationConfiguration, cookieManager, settings)&#xA;                {&#xA;                    decryptionKey = new DecryptionKey&#xA;                    {&#xA;                        FilePath = Sitecore.Configuration.Settings.GetSetting(&quot;DecryptionKeyPath&quot;),&#xA;                        Password = Sitecore.Configuration.Settings.GetSetting(&quot;DecryptionKeyPassword&quot;)&#xA;                    };&#xA;&#xA;                    clientData = new ClientData&#xA;                    {&#xA;                        ClientId = Sitecore.Configuration.Settings.GetSetting(&quot;ClientId&quot;),&#xA;                        AuthorizationEndpoint = Sitecore.Configuration.Settings.GetSetting(&quot;AuthorizationEndpoint&quot;),&#xA;                        ValidIssuer = Sitecore.Configuration.Settings.GetSetting(&quot;ValidIssuer&quot;),&#xA;                        SigningKeyPath = Sitecore.Configuration.Settings.GetSetting(&quot;SigningKeyPath&quot;),&#xA;                        DecryptionKey = decryptionKey&#xA;                    };&#xA;                }&#xA;&#xA;                protected override void ProcessCore(IdentityProvidersArgs args)&#xA;                {&#xA;                    var identityProvider = this.GetIdentityProvider();&#xA;&#xA;                    IdentityModelEventSource.ShowPII = true;&#xA;&#xA;                    args.App.UseCookieAuthentication(new CookieAuthenticationOptions&#xA;                    {&#xA;                        AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie&#xA;                    });&#xA;&#xA;                    var tokenValidationParameters = (new TokenValidationParameters&#xA;                    {&#xA;                        TokenDecryptionKey = clientData.DecryptingCertificate(),&#xA;                        IssuerSigningKey = clientData.SigningCertificate(),&#xA;                        ValidIssuer = clientData.ValidIssuer,&#xA;                        ValidAudience = clientData.ClientId&#xA;                    });&#xA;&#xA;                    var openIdConnectConfiguration = (new OpenIdConnectConfiguration&#xA;                    {&#xA;                        AuthorizationEndpoint = clientData.AuthorizationEndpoint&#xA;                    });&#xA;&#xA;                    args.App.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions&#xA;                    {&#xA;                        ClientId = clientData.ClientId,&#xA;                        AuthenticationType = this.GetAuthenticationType(),&#xA;                        Configuration = new OpenIdConnectConfiguration&#xA;                        {&#xA;                            AuthorizationEndpoint = clientData.AuthorizationEndpoint&#xA;                        },&#xA;                        Scope = OpenIdConnectScope.OpenId,&#xA;                        Notifications = new OpenIdConnectAuthenticationNotifications&#xA;                        {&#xA;                           SecurityTokenValidated = notification =&amp;gt;&#xA;                           {&#xA;&#xA;&#xA;                               notification.AuthenticationTicket.Identity.ApplyClaimsTransformations(new TransformationContext(this.FederatedAuthenticationConfiguration, identityProvider));&#xA;                               return Task.CompletedTask;&#xA;                           },&#xA;&#xA;                       },&#xA;                       RedirectUri = &quot;http://virk.xm1.dk/&quot;,&#xA;                       ResponseType = OpenIdConnectResponseType.IdToken,&#xA;                       TokenValidationParameters = tokenValidationParameters&#xA;                    });&#xA;                }&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I try to see if my user has the role extranet/write after login&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Role role = Role.FromName(@&quot;extranet\write&quot;);&#xA;var isInRole = Sitecore.Context.User.IsInRole(role);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get false.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I can see that a user is created in my &lt;code&gt;User manager&lt;/code&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VxS5J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VxS5J.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;but when I try to write out the users username &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var username = Sitecore.Security.Accounts.User.Current.Name;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I don't get the gibberish string &lt;code&gt;dSEvLyc6hQ&lt;/code&gt; but just &lt;code&gt;extranet\Anonymous&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the first time I'm trying to implement federated login in Sitecore, so maybe I'm missing something basic or have misunderstood something? Can I only assign the roles through a custom Transformation instead of &lt;code&gt;Sitecore.Owin.Authentication.Services.DefaultTransformation&lt;/code&gt;? Or are these roles only available in CM and not CD?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, another problem I'm encountering is that I can't use my own custom domain for my users. If I use the following &lt;code&gt;eai&lt;/code&gt; domain that I've created in Sitecore&#xA;&lt;a href=&quot;https://i.stack.imgur.com/tqThP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tqThP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;in my config file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;domain&amp;gt;eai&amp;lt;/domain&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get the following error page when trying to hit my website&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NGAR1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NGAR1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this not possible or what am I doing wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope you all can bear with me.&lt;/p&gt;&#xA;" OwnerUserId="5829" LastEditorUserId="73" LastEditDate="2019-07-30T13:33:51.500" LastActivityDate="2020-01-27T05:56:56.557" Title="Role not assigned to user" Tags="|federated-authentication|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20182" PostTypeId="2" ParentId="20163" CreationDate="2019-07-30T12:28:33.243" Score="1" Body="&lt;p&gt;Search Box rendering has nothing to do with this. Take a look at &lt;code&gt;SearchController&lt;/code&gt; (&lt;code&gt;Sitecore.XA.Feature.Search&lt;/code&gt;). The &lt;code&gt;GetResults()&lt;/code&gt; method is responsible for returning results to the browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;override &lt;code&gt;SearchController&lt;/code&gt; and &lt;code&gt;GetResults()&lt;/code&gt; method and call your custom search API next to &lt;code&gt;GetItems()&lt;/code&gt; method. Then you will need to convert the JSON you mention into objects of type &lt;code&gt;Sitecore.XA.Feature.Search.Models.Result&lt;/code&gt;. This is not an easy approach but achievable!&lt;/li&gt;&#xA;&lt;li&gt;try to use a new pipeline which has been introduced in 1.8.1 called &lt;code&gt;processSearchItems&lt;/code&gt;. This pipeline has been initially created to enrich already found items with additional models (custom objects). But the arguments which are passed to this pipeline has the whole list of results - you can extend that list with items from your custom search API (search phrase from a Search Box can be obtained from HTTP Request parameters in any place).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-07-30T12:28:33.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20185" PostTypeId="2" ParentId="20178" CreationDate="2019-07-30T14:08:27.763" Score="0" Body="&lt;p&gt;Since the scope is ready and set for search, you also need to filter according to the Slide Text field, You should also add an SXA search box and search results components(if you are going to use the same page for results). &#xA;Also to search on a specific field like Slide Text, you should create custom variant definition with preferably with the same name as field and select that one when you add a search box on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;See:&lt;/strong&gt; &lt;a href=&quot;https://doc.sitecore.com/users/sxa/17/sitecore-experience-accelerator/en/walkthrough--adding-search-functionality-to-your-page.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/sxa/17/sitecore-experience-accelerator/en/walkthrough--adding-search-functionality-to-your-page.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5814" LastEditorUserId="5387" LastEditDate="2019-07-31T05:35:35.873" LastActivityDate="2019-07-31T05:35:35.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20186" PostTypeId="1" AcceptedAnswerId="20198" CreationDate="2019-07-30T15:28:05.517" Score="1" ViewCount="384" Body="&lt;p&gt;I am trying to test one of the properties which checks for the &lt;code&gt;PageMode.IsExperienceEditor&lt;/code&gt;. Reduced implementation of my property is given below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ContentResult DataSourceNotConfiguredResult&#xA;{&#xA;    get&#xA;    {&#xA;        if(Context.PageMode.IsExperienceEditor)&#xA;        {&#xA;            //Some Code&#xA;        }&#xA;        //Some other code&#xA;&#xA;        return Content(&quot;Some Value&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my unit test, I am trying to change the display mode using the &lt;code&gt;SetDisplayMode&lt;/code&gt; function. Here is my sample implementation for the test:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StringDictionary _stringDictionary;&#xA;FakeSiteContext _fakeSite;&#xA;&#xA;[TestInitialize]&#xA;        public void Setup()&#xA;        {&#xA;            _stringDictionary = new StringDictionary();&#xA;            _stringDictionary.Add(&quot;name&quot;, &quot;website&quot;);&#xA;            _stringDictionary.Add(&quot;database&quot;, &quot;master&quot;);&#xA;&#xA;            _fakeSite = new FakeSiteContext(_stringDictionary);&#xA;        }&#xA;&#xA;[TestMethod]&#xA;        public void HiddenRenderingResult_ReturnsHtmlString_WhenCalledInExperienceEditor()&#xA;        {&#xA;            var fakeDb = new Db(&quot;master&quot;);&#xA;            Guid guid = Guid.NewGuid();&#xA;            DbItem fakeRenderingItem = new DbItem(&quot;StaticDataSourceItem&quot;, new Sitecore.Data.ID(guid));&#xA;            fakeDb.Add(fakeRenderingItem);            &#xA;&#xA;            _fakeSite.SetDisplayMode(DisplayMode.Edit, DisplayModeDuration.Remember);&#xA;&#xA;            using (new SiteContextSwitcher(_fakeSite))&#xA;            using (RenderingContext.EnterContext(new Rendering(), fakeDb.GetItem(new Sitecore.Data.ID(guid))))&#xA;            {&#xA;                //Do Something&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, even after &lt;code&gt;SetDisplayMode&lt;/code&gt; call, I still see the DisplayMode set as normal. Here is my screenshot from the debug session:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nNbLP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nNbLP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I referred to &lt;a href=&quot;https://jockstothecore.com/how-to-test-automation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; as well which basically does the same thing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am confused by what I am missing. I would appreciate any pointers that nudge me in the correct direction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="403" LastEditorUserId="403" LastEditDate="2019-07-30T15:40:45.090" LastActivityDate="2019-07-31T13:05:58.167" Title="Unable to switch page DisplayMode in unit test" Tags="|unit-testing|fakedb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20187" PostTypeId="1" CreationDate="2019-07-30T17:38:10.250" Score="0" ViewCount="209" Body="&lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our Sitecore 9 solution, we follow Helix principles, when structuring our code and we wish to create NuGet packages that can be re-used across multiple projects. &#xA;The NuGet packages contains our Sitecore components (Foundation.Dictionary, Feature.PageComponentA, etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In a different SO post, I got help as to how I should structure my NuGet package: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/20150/creating-a-custom-sitecore-nuget-package-containing-unicorn-files/20153?noredirect=1#comment30929_20153&quot;&gt;Creating a custom Sitecore NuGet package containing Unicorn files&lt;/a&gt;&#xA;which means that both C# logic and Unicorn items are in the same NuGet package. So far so good.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The problem&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, for NuGet packages that can be used by multiple project (e.g. all NuGet packages made of Foundation.X-projects), we run into some issues. The issues are, that the same Unicorn items + Serialization config&#xA;will be added to multiple projects in the solution, which quickly clutters up the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Suggested approach&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, the best solution I see, is to create one NuGet package containing only the C# logic and one NuGet package contanining only the Unicorn items + configuration, for a given feature. For example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Foundation.Dictionary = C# logic&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Foundation.Dictionary.Serialization = Unicorn files + configuration&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then it is possible to install Foundation.Dictionary into all the projects that requires the Dictionary logic and then only add the Foundation.Dictionary.Serialization package once.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only major disadvantage I see with this approach is, that the consumers of the NuGet packages needs to know, that they might have to install two packages, if a given feature has both C# logic and Sitecore content (templates, renderings etc).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have another approach than creating two packages, where both C# logic and Unicorn are in the same package, that does not result in multiple versions of the Unicorn config + Unicorn files?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="3416" LastEditDate="2019-07-30T19:31:22.003" LastActivityDate="2019-07-30T19:31:22.003" Title="Sharing Sitecore content as a NuGet package" Tags="|helix|unicorn|nuget|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20188" PostTypeId="1" AcceptedAnswerId="20194" CreationDate="2019-07-30T20:25:41.430" Score="1" ViewCount="504" Body="&lt;p&gt;We are extending the Location Filter rendering with distance and services dropdowns. On the search button click we need to append the distance and services filtering values to url as hash parameters. What's the best approach to perform this change Or are there any other options that we can consider achieve this ?&lt;/p&gt;&#xA;" OwnerUserId="5800" LastEditorUserId="73" LastEditDate="2019-07-31T09:13:37.213" LastActivityDate="2019-07-31T09:13:37.213" Title="How to append new url hash parameters on search button click?" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20189" PostTypeId="1" CreationDate="2019-07-30T20:50:04.503" Score="-2" ViewCount="379" Body="&lt;p&gt;I'm using &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; on &lt;code&gt;Azure environment&lt;/code&gt;, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm facing a pretty big problem the &lt;code&gt;Web.config&lt;/code&gt; has been replaced and I don't know where can I get the file from? Can someone please give me this file if it's the same in all Azure environments or advice me what to do, please.&lt;/p&gt;&#xA;" OwnerUserId="5557" LastEditorUserId="73" LastEditDate="2019-07-31T11:44:03.467" LastActivityDate="2019-08-30T12:01:25.137" Title="How can I restore my deleted web.config file" Tags="|azure|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20190" PostTypeId="2" ParentId="20167" CreationDate="2019-07-30T21:05:27.873" Score="0" Body="&lt;p&gt;You can use &lt;a href=&quot;https://marketplace.sitecore.net/Modules/Express_Subitem.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Express Subitem&lt;/a&gt; from Sitecore Marketplace that allows you to add multiple 'complex' fields within the context of a current item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5Ezkf.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5Ezkf.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="794" LastActivityDate="2019-07-30T21:05:27.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20191" PostTypeId="1" CreationDate="2019-07-31T02:36:09.783" Score="0" ViewCount="82" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 8.2&lt;/code&gt;. I have a requirement when user initiates webchat through javascript. I need to push all the session details to XDB using an API. I have created the following method in the API to push data to XDB:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class WidgetsApiController : Controller, IController&#xA;    {&#xA;        private IGenesysWidgetsSettingsProvider WidgetsSettingsProvider { get; }&#xA;&#xA;        public WidgetsApiController()&#xA;        {&#xA;            WidgetsSettingsProvider = new GenesysWidgetsSettingsProvider();&#xA;        }&#xA;&#xA;&#xA;        [System.Web.Mvc.HttpGet]&#xA;        public ActionResult SessionAbort()&#xA;        {&#xA;&#xA;            Guid contactId = Tracker.Current.Contact.ContactId;&#xA;            ContactManager contactManager = Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager;&#xA;            contactManager.SaveAndReleaseContactToXdb(contactId);&#xA;            return Content(&quot;ok&quot;, &quot;application/json&quot;);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have called the sessionAbort from javascript but I still don't see the Profile appearing in Experience profile. But if I add the following line to the controller function the data is appearing in the profile:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpContext.Session.Abandon();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I do an session abort does that mean that user data would be recorded as a separate interaction after that? Is there a way to be able to push the data and continue using the same interaction? &lt;/p&gt;&#xA;" OwnerUserId="3168" LastActivityDate="2019-07-31T02:36:09.783" Title="Push sitecore contact manually using api" Tags="|xdb|experience-profile|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20194" PostTypeId="2" ParentId="20188" CreationDate="2019-07-31T06:56:23.170" Score="0" Body="&lt;p&gt;You can use the existing function of &lt;code&gt;XA.component.search.query&lt;/code&gt; (defined in &lt;code&gt;component-search-query.js&lt;/code&gt;). For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var hash = {};&#xA;hash[&quot;key&quot;] = &quot;value&quot;;&#xA;XA.component.search.query.updateHash(hash);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that each of the search components supports search results signatures (you can assign some of the filters to one Search Results rendering and others to second Search Results on the same page). If you want to support this you need to include the signature in hash parameters. This is done in all of the scripts so you have plenty of examples how to do it.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-07-31T06:56:23.170" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20195" PostTypeId="1" AcceptedAnswerId="20197" CreationDate="2019-07-31T07:42:26.203" Score="0" ViewCount="449" Body="&lt;p&gt;In the Web Forms for Marketers module of version 9, there is an option in the submit action to add contacts to a list (&lt;a href=&quot;https://doc.sitecore.com/developers/90/web-forms-for-marketers/en/use-save-actions-to-add-contacts-to-a-contact-list.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/web-forms-for-marketers/en/use-save-actions-to-add-contacts-to-a-contact-list.html&lt;/a&gt;). However, I can't find the same option in Sitecore Forms version 9. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Wondering any way I can make this option available in Sitecore Forms too ?&lt;/p&gt;&#xA;" OwnerUserId="3851" LastActivityDate="2019-07-31T08:04:47.357" Title="How to save contacts to a list in Sitecore Forms 9" Tags="|wffm|sitecore-forms|" AnswerCount="1" CommentCount="1" ClosedDate="2019-07-31T09:41:48.167" ContentLicense="CC BY-SA 4.0" />
  <row Id="20196" PostTypeId="1" CreationDate="2019-07-31T07:52:06.477" Score="1" ViewCount="64" Body="&lt;p&gt;I'm trying to sync the &lt;code&gt;Salesforce campaigns&lt;/code&gt; to &lt;code&gt;xConnect&lt;/code&gt; using the Sitecore's predefined pipeline batch (&lt;code&gt;Salesforce Campaigns to xConnect Sync&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the logs, I find that the data is successfully fetched from the Salesforce. This is the log when I run the pipeline batch -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #8 13:41:17 INFO [Data Exchange] Starting pipeline batch processing. (pipeline batch: Salesforce Campaigns to xConnect Sync)&#xA;ManagedPoolThread #8 13:41:18 INFO [Data Exchange] Condition added to read objects modified on or after 12/31/2017 6:30:00 PM. (pipeline: Read Campaigns from Salesforce, pipeline step: Read Salesforce Campaigns, pipeline step identifier: 30c88b95-9c9b-4cac-94b8-a2d2061cf3db, object: campaign)&#xA;ManagedPoolThread #8 13:41:19 INFO [Data Exchange] Definition batch was successfully submitted. (pipeline: Process Single Campaign, pipeline step: Add Reference Data Definition to Batch, pipeline step identifier: 79164044-afc0-4a41-84d3-4273534497d3, thread id: 0, batch size: 5)&#xA;ManagedPoolThread #8 13:41:19 INFO [Data Exchange] Definition batch was successfully submitted. (pipeline: Read Campaigns from Salesforce, pipeline step: Submit Reference Data Batch, pipeline step identifier: 462073f0-9227-4589-8e2c-fd1de1822877, thread id: 0, batch size: 1)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I couldn't find the data either in the reporting database or in the &lt;code&gt;Experience analytics&lt;/code&gt; section of the Sitecore instance. Where can I exactly find the synced data?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FJ3Tq.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FJ3Tq.jpg&quot; alt=&quot;Sitecore- ExperienceAnalytics&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5845" LastEditorUserId="237" LastEditDate="2019-07-31T09:09:37.300" LastActivityDate="2019-07-31T09:09:37.300" Title="Unable to sync Salesforce campaigns to xConnect" Tags="|xdb|experience-analytics|campaigncreator|salesforce-connect|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20197" PostTypeId="2" ParentId="20195" CreationDate="2019-07-31T08:04:47.357" Score="2" Body="&lt;p&gt;There is no out of box functionality in Sitecore 9 forms. There can be two possible solutions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create custom submit action to add a contact in List&lt;/li&gt;&#xA;&lt;li&gt;Trigger a goal on form submit and in Marketing Automation, based on goal trigger, add that contact in the list&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g0Gr2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g0Gr2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-07-31T08:04:47.357" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20198" PostTypeId="2" ParentId="20186" CreationDate="2019-07-31T09:34:39.600" Score="2" Body="&lt;p&gt;It's a &lt;a href=&quot;https://github.com/sshushliapin/Sitecore.FakeDb/issues/207&quot; rel=&quot;nofollow noreferrer&quot;&gt;bug&lt;/a&gt; and needs to be fixed in FakeDb. But the good news is that you may hotfix it following the &lt;a href=&quot;https://jockstothecore.com/how-to-test-automation/&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; instructions carefully:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;add &lt;code&gt;shell&lt;/code&gt; site registration to your config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;    &amp;lt;site name=&quot;shell&quot; domain=&quot;sitecore&quot;&amp;gt;&amp;lt;/site&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;define class parameters in the following way (remove &lt;code&gt;name&lt;/code&gt;, add &lt;code&gt;masterDatabase&lt;/code&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;_stringDictionary.Add(&quot;database&quot;, &quot;master&quot;);&#xA;_stringDictionary.Add(&quot;enableWebEdit&quot;, &quot;true&quot;);&#xA;_stringDictionary.Add(&quot;masterDatabase&quot;, &quot;master&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now the test does not fail:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Assert.True(Sitecore.Context.PageMode.IsPageEditorEditing); // pass&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastActivityDate="2019-07-31T09:34:39.600" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20199" PostTypeId="1" AcceptedAnswerId="20204" CreationDate="2019-07-31T10:22:06.697" Score="2" ViewCount="941" Body="&lt;p&gt;I created Rendering Variant contains component field&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/abhID.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/abhID.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to pass values from variant like &quot;$item.Name&quot; in Rendering parameters for this component and read the value in component 's cshtml.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3OitE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3OitE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this correct way to pass values from variant to component or this not doable??&lt;/p&gt;&#xA;" OwnerUserId="5780" LastActivityDate="2019-07-31T11:45:16.113" Title="How to pass values from variant to component" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20200" PostTypeId="1" CreationDate="2019-07-31T10:25:19.357" Score="1" ViewCount="198" Body="&lt;p&gt;I have a field in an item, which is data sourced as a multi list.&#xA;When I try to access my item fields using &lt;code&gt;OData Service&lt;/code&gt;, I am getting the multi-list field values as selected Item Ids.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way I can get the item name in single OData API call?&#xA;Also, I am not able to use &lt;code&gt;contains&lt;/code&gt; property in the search parameter. &#xA;Can someone give me a working example, if it is working for you?&lt;/p&gt;&#xA;" OwnerUserId="3451" LastEditorUserId="5387" LastEditDate="2019-07-31T16:38:27.363" LastActivityDate="2019-07-31T16:38:27.363" Title="Fetch related items with Sitecore odata API result" Tags="|odata|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20201" PostTypeId="2" ParentId="20199" CreationDate="2019-07-31T10:47:30.040" Score="0" Body="&lt;p&gt;You can access Rendering Parameters in the backend code (controller/repository or view) easily in SXA. This is a view for Title rendering:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Sitecore.XA.Foundation.Variants.Abstractions.Models.VariantsRenderingModel&#xA;&#xA;&amp;lt;div @Html.Sxa().Component(Model.Rendering.RenderingCssClass ?? &quot;title&quot;, Model.Attributes)&amp;gt;&#xA;    &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;        @foreach (BaseVariantField variantField in Model.VariantFields)&#xA;        {&#xA;            @Html.RenderingVariants().RenderVariant(variantField, Model.Item, Model.RenderingWebEditingParams, Model)&#xA;        }&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;VariantsRenderingModel&lt;/code&gt; contains a list of variant fields so you can use them right away (and this is what we are doing there). This model class inherits from &lt;code&gt;RenderingModelBase&lt;/code&gt; which has plenty of data. One of that is a &lt;code&gt;Rendering&lt;/code&gt; object which has &lt;code&gt;Parameters&lt;/code&gt; collection. This is a collection of rendering parameters. You can access them on the view like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;@Model.Rendering.Parameters[&quot;MY_CUSTOM_RENDERING_PARAMETER_NAME&quot;]&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is how you are accessing the rendering parameres on the view. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now... with the &lt;code&gt;$item.Name&lt;/code&gt; which you have there. What did you want to achieve by doing this?&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-07-31T10:47:30.040" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20203" PostTypeId="2" ParentId="20189" CreationDate="2019-07-31T11:39:42.070" Score="1" Body="&lt;p&gt;The download page for Sitecore 9.1.1 is at dev.sitecore.net (as mentioned by @jammykam in his comments): &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Update1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/91/Sitecore_Experience_Platform_91_Update1.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From here you have multiple options for how to obtain a clean version of the Web.config:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;ZIP archive of the Sitecore site root folder:&lt;/strong&gt; This has the Web.config file in it, but is typically meant for on-premise installation. You did not mention if it is PaaS or IaaS, but if IaaS this might be easiest.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Packages for XM or XP:&lt;/strong&gt; Make sure to look at the Download options for Azure AppService and extract a Web.config from here if you are trying to replace PaaS Web.config.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-07-31T11:39:42.070" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20204" PostTypeId="2" ParentId="20199" CreationDate="2019-07-31T11:45:16.113" Score="0" Body="&lt;p&gt;You can use NVelocity template and pass field's name to a component. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First, create a &lt;code&gt;VariantTemplate&lt;/code&gt; and add &lt;code&gt;$item.Name&lt;/code&gt; on &lt;code&gt;Template&lt;/code&gt; field. You can then use this variant inside a custom component and read its value from &lt;code&gt;.cshtml&lt;/code&gt; or you can use the component directly and just select &lt;code&gt;VariantDefinition&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;See:&lt;/strong&gt; &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/create-a-rendering-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/create-a-rendering-variant.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5814" LastActivityDate="2019-07-31T11:45:16.113" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20205" PostTypeId="1" CreationDate="2019-07-31T12:01:56.580" Score="0" ViewCount="280" Body="&lt;p&gt;I'm using Sitecore 9.1.1 and SXA 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a case in which i need to make some files downloadable for the user when he clicks on it. I was able to make the files with &quot;pdf and docx&quot; extensions downloadable. However, i can't make &lt;code&gt;.txt&lt;/code&gt; files to donwload. When clicking on it, the user is redirected to page previewing the file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the &lt;code&gt;sitecore.config&lt;/code&gt; file to enable &quot;force download&quot; as i did for the png and docx mimetypes but i can't find a &lt;code&gt;mimetype&lt;/code&gt; for txt files.&#xA;i'm not sure if &lt;code&gt;.txt&lt;/code&gt; files are not really supproted by Sitecore to be downloadable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do so?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="5096" LastEditDate="2019-08-01T07:26:43.347" LastActivityDate="2019-08-01T07:26:43.347" Title="Force download .txt files from UI" Tags="|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20206" PostTypeId="2" ParentId="20205" CreationDate="2019-07-31T12:16:18.540" Score="0" Body="&lt;p&gt;The mime type for &lt;code&gt;.txt&lt;/code&gt; is &lt;code&gt;text/plain&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore has nothing to do with this. It's an issue between the correct mimetype, the force download flag, and the browser.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types&quot; rel=&quot;nofollow noreferrer&quot;&gt;Incomplete list of MIME types&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-07-31T12:16:18.540" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20209" PostTypeId="1" AcceptedAnswerId="20210" CreationDate="2019-07-31T13:14:48.510" Score="2" ViewCount="1053" Body="&lt;p&gt;I created a &lt;code&gt;Tenant&lt;/code&gt; under which I have multiple &lt;code&gt;Sites&lt;/code&gt;. I want to access the &lt;code&gt;Settings&lt;/code&gt; folder of each &lt;code&gt;Site&lt;/code&gt; and perform some action on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is the current structure:&#xA;Tenant ABC contains Site ABC. Site ABC has basic SXA Site structure, having items like Home, Data, Media, Presentations &amp;amp; Settings. I want to access the Settings folder of all Sites under my Tenant ABC.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for the help. &lt;/p&gt;&#xA;" OwnerUserId="3607" LastActivityDate="2019-07-31T13:44:34.530" Title="How to access the Settings folder in an SXA Site programmatically?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20210" PostTypeId="2" ParentId="20209" CreationDate="2019-07-31T13:44:34.530" Score="7" Body="&lt;p&gt;You can try something like the following:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contextItem = Context.Item;&#xA;if (contextItem == null) return;&#xA;&#xA;var siteItem = ServiceLocator.ServiceProvider.GetService&amp;lt;IMultisiteContext&amp;gt;().GetSiteItem(contextItem);&#xA;&#xA;var settingsItem = siteItem?.Children[&quot;Settings&quot;];&#xA;if (settingsItem == null) return;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-07-31T13:44:34.530" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20211" PostTypeId="1" AcceptedAnswerId="20237" CreationDate="2019-07-31T13:46:54.293" Score="1" ViewCount="405" Body="&lt;p&gt;Our application is on Sitecore 9.0.2 , Azure PaaS&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Forms are working as expected on Standalone and Content Management servers , but few form fields do not render on the website(CD) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The forms and the items containing these forms are available on the web database&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Site is supposed to show this form &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IGPRX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IGPRX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the Text fields do not render &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AxY7y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AxY7y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have set IndexAllFields to false , I have tried rebuilding indexes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;we are also using Sitecore Forms Extensions Module &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone faced this issue ? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastEditorUserId="3355" LastEditDate="2019-08-01T07:17:48.790" LastActivityDate="2019-08-01T10:16:37.950" Title="Forms Fields not rendering on CD server" Tags="|sitecore-forms|content-delivery|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20212" PostTypeId="1" CreationDate="2019-07-31T14:02:03.277" Score="0" ViewCount="1167" Body="&lt;p&gt;I'm trying to install &lt;code&gt;Sitecore 9.1 Update 1&lt;/code&gt; on my local machine. The script actually installs 7 databases like (MarketingAutomation, Messaging, Reporting), however when it comes to Sitecore databases it fails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did install the Prerequisites also the &lt;code&gt;Microsoft Common Line Utilities&lt;/code&gt; for SQL server. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Below is the error message&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[--------------------------------------------------- XConnectXP0_CreateShardApplicationDatabaseServerLoginSqlCmd : Command -------------------------------------------------------------------------------------------------------]&#xA;[Command]:[Path] sqlcmd&#xA;SQLCMD.EXE : Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : The client cannot connect to the server because the requested instance was not available. Use SQL Server Configuration Manager to make sure the SQL Server &#xA;instance is configured correctly. .&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-CommandTask.ps1:31 char:13&#xA;+             &amp; $Path $Arguments | Out-Default&#xA;+             ~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (Sqlcmd: Error: ...ed correctly. .:String) [], RemoteException&#xA;    + FullyQualifiedErrorId : NativeCommandError&#xA;&#xA;Install-SitecoreConfiguration : Command sqlcmd returned a non-zero exit code - (1)&#xA;At C:\Resourcefiles\Sitecore9_1_1\XP0-SingleDeveloper.ps1:74 char:1&#xA;+ Install-SitecoreConfiguration @singleDeveloperParams *&gt;&amp;1 | Tee-Objec ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:03:17&#xA;Invoke-CommandTask : Command sqlcmd returned a non-zero exit code - (1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Install-SitecoreConfiguration.ps1:641 char:25&#xA;+                         &amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&#xA; &lt;/pre&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="70" LastEditDate="2019-07-31T14:35:07.567" LastActivityDate="2019-08-01T14:57:58.537" Title="Installation Sqlcmd: Error - The client cannot connect to the server because the requested instance was not available" Tags="|sitecore-install-framework|installation|sql-database|" AnswerCount="2" CommentCount="0" ClosedDate="2019-08-02T15:10:28.603" ContentLicense="CC BY-SA 4.0" />
  <row Id="20213" PostTypeId="1" AcceptedAnswerId="20227" CreationDate="2019-07-31T14:27:08.387" Score="1" ViewCount="1548" Body="&lt;p&gt;I have added some images in sitecore media library. Those images are getting added in both &lt;strong&gt;dbo.Blobs&lt;/strong&gt; and &lt;strong&gt;dbo.Items&lt;/strong&gt; tables. I wanted to delete the image data from both the tables.But I don't know how to delete the entries in both the tables at the same time. &lt;a href=&quot;https://i.stack.imgur.com/7ce21.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7ce21.png&quot; alt=&quot;These are the field in blobs table&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/N9NBx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N9NBx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to know, by using which field these tables are related to each other.&lt;/p&gt;&#xA;" OwnerUserId="5632" LastActivityDate="2019-09-03T08:51:36.767" Title="How to remove media item from both blobs table and items table at the same time from sitecore master db?" Tags="|media-library|sql-database|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20214" PostTypeId="2" ParentId="20212" CreationDate="2019-07-31T14:48:10.560" Score="0" Body="&lt;p&gt;The server or local machine where Sitecore installation is running there might be a &lt;code&gt;SQL server management studio 2016 SP2 or 2017&lt;/code&gt; version not installed correctly. If it was installed then please check the system environment variable path where  &lt;code&gt;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\&lt;/code&gt; is the location of &lt;code&gt;sqlcmd exe&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Microsoft SQL Server Drivers and Utilities You must also install:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Microsoft ODBC Driver 13 for SQL Server&lt;/li&gt;&#xA;&lt;li&gt;Microsoft Command Line Utilities 13 for SQL Server SQL Server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Restart your machine and try to re-run the script.&lt;/p&gt;&#xA;" OwnerUserId="3452" LastEditorUserId="5387" LastEditDate="2019-08-01T12:18:01.640" LastActivityDate="2019-08-01T12:18:01.640" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20215" PostTypeId="1" AcceptedAnswerId="20243" CreationDate="2019-07-31T15:21:35.963" Score="2" ViewCount="798" Body="&lt;p&gt;I'm trying to install Sitecore v9.1 update 1 with Sitecore SIF. I did install all the prerequisites. Everything looks fine. Also the script does install 7 databases (like MarketingAutomation, Messaging,..) while it is running. However, it does not install the remaining databases. I'm getting an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SIF installation Error:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[--------------------------------------------------------------------------------------- XConnectXP0_CleanShards : Command -------------------------------------------------------------------------------------------------------]&#xA;[ShardingTool - Clean]:[Path] C:\inetpub\wwwroot\sc721.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe&#xA;    *** Welcome to Sitecore xDB Collection SQL Sharding Deployment Tool ***&#xA;    Tool was run with the following configuration:&#xA;    Operation: drop&#xA;    SQL server connection:&#xA;    Server name: DESKTOP-8V406HU\\MSSQLSERVER01&#xA;    User: sa&#xA;    Integrated security: False&#xA;    Connect Timeout: 15&#xA;    Database edition: Basic&#xA;    Shard map manager database name: sc721_Xdb.Collection.ShardMapManager&#xA;    Shard map names: ContactIdShardMap, DeviceProfileIdShardMap, ContactIdentifiersIndexShardMap&#xA;    Shard number: 0&#xA;    Shard name prefix: &#xA;    Shard name suffix: &#xA;    Dacpac file path: &#xA;Instance failure. System.InvalidOperationException: Instance failure.&#xA;   at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boo&#xA;lean withFailover, Boolean isFirstTransparentAttempt, SqlAuthenticationMethod authType, Boolean disableTnir, SqlAuthenticationProviderManager sqlAuthProviderManager)&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover, Boolean isF&#xA;irstTransparentAttempt, Boolean disableTnir)&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential &#xA;credential, TimeoutTimer timeout)&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUse&#xA;rInstance)&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePasswor&#xA;d, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlA&#xA;uthProviderManager)&#xA;   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions u&#xA;serOptions)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionI&#xA;nternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connectio&#xA;n)&#xA;   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.Open()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.ReliableSqlConnection.&amp;lt;Open&amp;gt;b__1()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.&amp;lt;&amp;gt;c__DisplayClass1.&amp;lt;ExecuteAction&amp;gt;b__0()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.&amp;lt;&amp;gt;c__DisplayClass1.&amp;lt;ExecuteAction&amp;gt;b__0()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.ReliableSqlConnection.Open(RetryPolicy retryPolicy)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.SqlDatabaseManager.TryConnectToSqlDatabase()&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.Program.VerifyConnection(ISqlDatabaseManager sqlDatabaseManager)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.Program.Main(String[] args)&#xA;&#xA;[-------------------------------------------------------------------------------------- XConnectXP0_CreateShards : Command -------------------------------------------------------------------------------------------------------]&#xA;[ShardingTool - Create]:[Path] C:\inetpub\wwwroot\sc721.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe&#xA;    *** Welcome to Sitecore xDB Collection SQL Sharding Deployment Tool ***&#xA;    Tool was run with the following configuration:&#xA;    Operation: create&#xA;    SQL server connection:&#xA;    Server name: DESKTOP-8V406HU\\MSSQLSERVER01&#xA;    User: sa&#xA;    Integrated security: False&#xA;    Connect Timeout: 15&#xA;    Database edition: Basic&#xA;    Shard map manager database name: sc721_Xdb.Collection.ShardMapManager&#xA;    Shard map names: ContactIdShardMap, DeviceProfileIdShardMap, ContactIdentifiersIndexShardMap&#xA;    Shard number: 2&#xA;    Shard name prefix: sc721_Xdb.Collection.Shard&#xA;    Shard name suffix: &#xA;    Dacpac file path: C:\inetpub\wwwroot\sc721.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.Sql.dacpac&#xA;Instance failure. System.InvalidOperationException: Instance failure.&#xA;   at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boo&#xA;lean withFailover, Boolean isFirstTransparentAttempt, SqlAuthenticationMethod authType, Boolean disableTnir, SqlAuthenticationProviderManager sqlAuthProviderManager)&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover, Boolean isF&#xA;irstTransparentAttempt, Boolean disableTnir)&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential &#xA;credential, TimeoutTimer timeout)&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUse&#xA;rInstance)&#xA;   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePasswor&#xA;d, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlA&#xA;uthProviderManager)&#xA;   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions u&#xA;serOptions)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)&#xA;   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionI&#xA;nternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp;amp; connection)&#xA;   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp;amp; connectio&#xA;n)&#xA;   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)&#xA;   at System.Data.SqlClient.SqlConnection.Open()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.ReliableSqlConnection.&amp;lt;Open&amp;gt;b__1()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.&amp;lt;&amp;gt;c__DisplayClass1.&amp;lt;ExecuteAction&amp;gt;b__0()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.&amp;lt;&amp;gt;c__DisplayClass1.&amp;lt;ExecuteAction&amp;gt;b__0()&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)&#xA;   at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.ReliableSqlConnection.Open(RetryPolicy retryPolicy)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.SqlDatabaseManager.TryConnectToSqlDatabase()&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.Program.VerifyConnection(ISqlDatabaseManager sqlDatabaseManager)&#xA;   at Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.Program.Main(String[] args)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2020-05-05T14:21:15.750" Title="Sitecore installation error - Dacpac file path: Instance failure. System.InvalidOperationException:" Tags="|xconnect|sitecore-install-framework|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20217" PostTypeId="2" ParentId="20205" CreationDate="2019-07-31T16:23:18.587" Score="4" Body="&lt;p&gt;There is a &lt;code&gt;mediaType&lt;/code&gt; and &lt;code&gt;mimeType&lt;/code&gt; defined for &lt;code&gt;txt&lt;/code&gt; file in the Sitecore config, in much the same way as it does for pdf and docx, but that is all that it defines:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;mediaLibrary&amp;gt;&#xA;  &amp;lt;mediaTypes&amp;gt;&#xA;    &amp;lt;mediaType extensions=&quot;txt,asc,bas,c,h&quot;&amp;gt;&#xA;      &amp;lt;mimeType&amp;gt;text/plain&amp;lt;/mimeType&amp;gt;&#xA;    &amp;lt;/mediaType&amp;gt;&#xA;  &amp;lt;/mediaTypes&amp;gt;&#xA;&amp;lt;/mediaLibrary&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can patch the above to add a &lt;code&gt;forceDownload=true&lt;/code&gt; element, which will then add the correct headers to force the browser to prompt to save the file(s), rather than opening in the browser tab itself. You can use the following patch: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&#xA;    &amp;lt;mediaLibrary&amp;gt;&#xA;      &amp;lt;mediaTypes&amp;gt;&#xA;        &amp;lt;mediaType extensions=&quot;txt,asc,bas,c,h&quot;&amp;gt;&#xA;          &amp;lt;forceDownload&amp;gt;true&amp;lt;/forceDownload&amp;gt;&#xA;        &amp;lt;/mediaType&amp;gt;&#xA;      &amp;lt;/mediaTypes&amp;gt;&#xA;    &amp;lt;/mediaLibrary&amp;gt;&#xA;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that the other extension types will also have the same behaviour applied.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively, you could add the &lt;code&gt;download&lt;/code&gt; attribute to the link to tell the browser to download it (&lt;a href=&quot;https://sitecore.stackexchange.com/a/7791/135&quot;&gt;previous question&lt;/a&gt; and &lt;a href=&quot;https://jammykam.wordpress.com/2015/11/16/force-download-of-media-files/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt;)&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2019-07-31T16:23:18.587" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20218" PostTypeId="2" ParentId="9414" CreationDate="2019-07-31T17:57:05.117" Score="7" Body="&lt;p&gt;I recently created a one-click deployment of Solr to Azure as a web app. I also created a separate branch that presets the proper Sitecore indexes. In other words, after the Solr web app is deployed, you can immediately install Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The guts of this technique are contained in the ReadMe and follows the technique outlined by &lt;a href=&quot;https://twitter.com/dancruickshank&quot; rel=&quot;noreferrer&quot;&gt;Dan Cruickshank&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Dan's Inspirational Post:&lt;/strong&gt; &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://getfishtank.ca/blog/installing-solr-app-service-in-sitecore-azure-paas&quot; rel=&quot;noreferrer&quot;&gt;https://getfishtank.ca/blog/installing-solr-app-service-in-sitecore-azure-paas&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Vanilla Solr PaaS Install with one-click deploy:&lt;/strong&gt; &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/jraps20/Solr-AzureAppService&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/jraps20/Solr-AzureAppService&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Solr PaaS Prepped for Sitecore with one-click deploy:&lt;/strong&gt; &#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/jraps20/Solr-AzureAppService/tree/Sitecore&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/jraps20/Solr-AzureAppService/tree/Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;How it works&lt;/h2&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The ARM template &lt;code&gt;azuredeploy.json&lt;/code&gt; asks you to set your parameters: subscription, resource group name, app service name, location, solr version, SKU, https only.&lt;/li&gt;&#xA;&lt;li&gt;It then deploys an App Service Plan and App Service&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sets the Solr version in the appSettings (this is needed later)&lt;/li&gt;&#xA;&lt;li&gt;Sets TOMCAT Java Container with Java Version 1.8&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;li&gt;Once the App Service has been deployed, it uses the &lt;code&gt;sourcecontrols&lt;/code&gt; resource to pull a copy of the repo onto the App Service&lt;/li&gt;&#xA;&lt;li&gt;From here, the &lt;code&gt;.deployment&lt;/code&gt; script is executed. This script does a few things:&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Executes the &lt;code&gt;Deploy-SolrAzureAppService.ps1&lt;/code&gt; script&lt;/li&gt;&#xA;&lt;li&gt;Downloads and extracts the requested Solr version (read from app settings)&lt;/li&gt;&#xA;&lt;li&gt;Copies the web.config to the Solr web root (this is detailed in Dan's post)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;(Sitecore-specifics):&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Copies default configset&lt;/li&gt;&#xA;&lt;li&gt;Adds the &lt;code&gt;_uniqueKey&lt;/code&gt; wonkiness required for Sitecore&lt;/li&gt;&#xA;&lt;li&gt;It then iterates over all required Sitecore indexes, creating them all&lt;/li&gt;&#xA;&lt;li&gt;xDB indexes are separate as they don't have the &lt;code&gt;_uniqueKey&lt;/code&gt; requirement&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h2&gt;How to use it&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Click the 'Deploy to Azure' button and follow the prompts. That's it.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Disclaimer&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;I would not recommend using this in production without further testing. Though I have heard of others using this approach with success. My main use for this deployment utility is to quickly test out new versions of Sitecore or simply create my own sandboxes. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Follow the one-click deploy to have Solr set up in about 10 minutes. Then add the &quot;Sitecore Experience Cloud&quot; resource in Azure. When it asks to specify the Solr URL, just be sure to enter it properly, e.g. &lt;code&gt;https://mysolrappservice.azurewebsites.net/solr&lt;/code&gt;. This approach doesn't require any tinkering of configs, RDP'ing, Kudu'ing. It's painless and it works.&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-07-31T17:57:05.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20219" PostTypeId="2" ParentId="12247" CreationDate="2019-07-31T19:18:51.903" Score="0" Body="&lt;p&gt;The way I managed to do this is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;externalUserBuilder type=&quot;MyProject.Utility.OktaUserBuilder, MyProject&quot; patch:instead=&quot;*[@type='Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication']&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;&amp;lt;/externalUserBuilder&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-07-31T19:18:51.903" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20220" PostTypeId="1" AcceptedAnswerId="20226" CreationDate="2019-07-31T20:03:35.077" Score="-1" ViewCount="175" Body="&lt;p&gt;Good afternoon,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Due to a recent but necessary CSS change, we need to find all instances of our only WFFM form across all 500 websites in our solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking for a powershell script to identify all pages that contain the WFFM so we can more easily audit the CSS issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it could also list what placeholder the form is in that would be ideal as the CSS issue only affects certain areas.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.NET 8.1 (rev. 160519)&#xA;Web Forms for Marketers 8.1.rev. 160523&lt;/p&gt;&#xA;" OwnerUserId="3863" LastEditorUserId="3863" LastEditDate="2019-07-31T20:16:12.077" LastActivityDate="2019-08-31T07:02:10.397" Title="Powershell script to find all instances of WFFM in solution?" Tags="|wffm|powershell|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20221" PostTypeId="2" ParentId="19944" CreationDate="2019-08-01T02:47:42.727" Score="2" Body="&lt;p&gt;It turns out this had nothing to do with how I was adding contacts or their identifiers or their facets.  It's to do with interactions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contacts aren't enrolled into a marketing automation plan until an &lt;strong&gt;interaction&lt;/strong&gt; takes place which triggers the enrollment condition to be evaluated.  This means that an engagement plan needs to be activated before an interaction takes place.  Existing contacts that might match a condition for the engagement plan won't be enrolled straight away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So - lack of understanding on my side rather than anything wrong with the contact creation.  I thought I'd post this as an answer in case anyone else is wondering the same thing.&lt;/p&gt;&#xA;" OwnerUserId="129" LastActivityDate="2019-08-01T02:47:42.727" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20222" PostTypeId="2" ParentId="20154" CreationDate="2019-08-01T05:35:44.127" Score="0" Body="&lt;p&gt;Figured the answer myself by adding a console.log to the field.ratio : the result is not the one I expected. Instead of getting the selected item I get a list containing the selected item (I guess this is for handling multiselect cases). So I'll have to iterate through the results to get the selected item instead of having it directly.&lt;/p&gt;&#xA;" OwnerUserId="5831" LastActivityDate="2019-08-01T05:35:44.127" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20224" PostTypeId="1" AcceptedAnswerId="20229" CreationDate="2019-08-01T06:19:27.493" Score="0" ViewCount="723" Body="&lt;p&gt;We had implemented federated authentication on CD site by using LinkedIn identity provider, we followed this great blog post &quot;&lt;a href=&quot;https://josedbaez.com/2018/03/sitecore9-sso/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://josedbaez.com/2018/03/sitecore9-sso/&lt;/a&gt;&quot; which described each step very clearly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The user is able to do the login to our site using LinkedIn account, we have login component on every page, so when user initiate login he gets redirected to home page after successful login, but we want to redirect user on same page from where he initiate login. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In OAuth redirect url setting we had mention our home page url, so without adding too many urls to that setting can we redirect user to same page from where he initiate login?&lt;/p&gt;&#xA;" OwnerUserId="1422" LastActivityDate="2019-08-01T07:47:04.783" Title="After successfull login how to redirect user to same page from where he initiate login?" Tags="|federated-authentication|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20226" PostTypeId="2" ParentId="20220" CreationDate="2019-08-01T06:59:27.157" Score="2" Body="&lt;p&gt;The script below should do the trick. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't remember what's the id of the WFFM Form rendering so best check in your website and assign it to &lt;code&gt;formRenderingId&lt;/code&gt; variable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script takes all descendants of the &lt;code&gt;$root&lt;/code&gt; and if &lt;code&gt;$formId&lt;/code&gt; can be found in either &lt;code&gt;__Renderings&lt;/code&gt; or &lt;code&gt;__Final Renderings&lt;/code&gt; it fires regexes to find placeholder key before or after the rendering id in rendering part (&lt;code&gt;&amp;lt;r...&lt;/code&gt;) of the xml, e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;r id=&quot;{F2CCA16D-7524-4E99-8EE0-78FF6394A3B3}&quot; &#xA;   ph=&quot;content&quot; &#xA;   uid=&quot;{73F42C30-9FF1-4958-9107-5A5ED0C4E41C}&quot; /&amp;gt;&#xA;&amp;lt;r ph=&quot;content&quot; &#xA;   uid=&quot;{11111111-9FF1-4958-9107-5A5ED0C4E41C}&quot;&#xA;   id=&quot;{F2CCA16D-7524-4E99-8EE0-78FF6394A3B3}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Both are valid xmls but &lt;code&gt;ph&lt;/code&gt; sometimes is before and sometimes is after the &lt;code&gt;id&lt;/code&gt;, that's why I needed 2 regexes.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$formRenderingId = &quot;{F2CCA16D-7524-4E99-8EE0-78FF6394A3B3}&quot;&#xA;$root = &quot;master:/content&quot;&#xA;&#xA;$phRegexPart = &quot;[^&amp;gt;]*ph=`&quot;(?&amp;lt;Placeholder&amp;gt;[^`&quot;]+)`&quot;[^&amp;gt;]*&quot;&#xA;$formRenderingIdRegexPart = &quot;[^&amp;gt;]*\&quot; + $formRenderingId + &quot;[^&amp;gt;]*&quot;&#xA;$regex1 = (&quot;\&amp;lt;r&quot; + $formRenderingIdRegexPart + $phRegexPart)&#xA;$regex2 = (&quot;\&amp;lt;r&quot; + $phRegexPart + $formRenderingIdRegexPart)&#xA;$like = (&quot;*&quot; + $formRenderingId + &quot;*&quot;)&#xA;&#xA;$rootItem = Get-Item -Path $root&#xA;$descendants = $rootItem.Axes.GetDescendants()&#xA;foreach ($descendant in $descendants) {&#xA;    $renderings = &quot;&quot;&#xA;    if ($descendant[&quot;__Renderings&quot;] -like $like) {&#xA;        $renderings = $descendant[&quot;__Renderings&quot;]&#xA;    }&#xA;    if ($descendant[&quot;__Final Renderings&quot;] -like $like) {&#xA;        $renderings = $descendant[&quot;__Final Renderings&quot;]&#xA;    }&#xA;    if ($renderings -match $regex1) {&#xA;        $ph = $matches.Placeholder&#xA;        $descendant.Paths.FullPath + &quot; &quot; + $ph&#xA;    }&#xA;    if ($renderings -match $regex2) {&#xA;        $ph = $matches.Placeholder&#xA;        $descendant.Paths.FullPath + &quot; &quot; + $ph&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-08-01T06:59:27.157" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20227" PostTypeId="2" ParentId="20213" CreationDate="2019-08-01T07:12:17.120" Score="2" Body="&lt;p&gt;If you have orphaned blob items in your database, you should use &lt;code&gt;Clean up databases&lt;/code&gt; tool from Sitecore Control Panel:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mRJZD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mRJZD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Removes all invalid language items, i.e., items for which the language does not exist&lt;/li&gt;&#xA;&lt;li&gt;Removes field data for non-existing items, including orphan fields&lt;/li&gt;&#xA;&lt;li&gt;Removes orphaned items, i.e., items that do not have a parent item&lt;/li&gt;&#xA;&lt;li&gt;Removes unused Blob fields of media items&lt;/li&gt;&#xA;&lt;li&gt;Rebuilds the descendants tree&lt;/li&gt;&#xA;&lt;li&gt;And finally, clears all Sitecore caches&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://thesitecorezone.wordpress.com/2015/11/14/improving-sitecore-performance-by-reducing-volume-of-content/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Improving Sitecore performance – by reducing volume of content&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-08-01T07:12:17.120" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20228" PostTypeId="1" CreationDate="2019-08-01T07:23:39.893" Score="1" ViewCount="215" Body="&lt;p&gt;Recently I was creating a custom action for creating custom bucket rules, and I followed the instructions from &lt;a href=&quot;https://www.geekhive.com/buzz/post/2015/04/how-to-create-custom-item-bucket-rules-in-sitecore-cms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; link. Everything went well but when I sync the bucketed folder, then on the basis of the date field it should create the folder structure but, the structure it is creating is one day before the provided date, for example if I pass the date &lt;code&gt;8/4/2017&lt;/code&gt; the folder structure it is creating is based on date &lt;code&gt;8/3/2017&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;I check the date field, when I checked the raw values, I am getting 1 day before.&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-01T09:01:40.157" Title="Custom bucketing structure on the basis of date is not working properly" Tags="|content-editor|buckets|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20229" PostTypeId="2" ParentId="20224" CreationDate="2019-08-01T07:36:38.923" Score="2" Body="&lt;p&gt;From the above blog post I can see that you are using getSignInUrlInfo in LoginLinksController, where you are passing the returnurl as &quot;/&quot;,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var url = &quot;/&quot;&#xA;var args = new GetSignInUrlInfoArgs(&quot;website&quot;, url);&#xA;GetSignInUrlInfoPipeline.Run(corePipelineManager, args);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to get the current Item URL in the controller, here and then you can pass it in the same arguments.&lt;br&gt;&#xA;you can get the current URL in multiple ways such as using LinkManager- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var url = Sitecore.Links.LinkManager.GetItemUrl(Sitecore.Context.Item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or using PageContext &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var url = PageContext.Current.Item;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-08-01T07:47:04.783" LastActivityDate="2019-08-01T07:47:04.783" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20230" PostTypeId="1" CreationDate="2019-08-01T08:19:39.457" Score="0" ViewCount="227" Body="&lt;p&gt;How can you &lt;code&gt;Export to CSV&lt;/code&gt; in the Form Reports Sitecore 9.1 from the Content Tree, as you can with Sitecore 8.2 WFFM?&lt;/p&gt;&#xA;" OwnerUserId="5844" LastEditorUserId="70" LastEditDate="2019-08-01T14:26:47.787" LastActivityDate="2019-08-01T14:26:47.787" Title="Export Form Reports to CSV" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20231" PostTypeId="1" AcceptedAnswerId="22625" CreationDate="2019-08-01T08:52:59.853" Score="7" ViewCount="328" Body="&lt;p&gt;I downloaded and installed Sitecore 9.2 fresh instance from &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/92/Sitecore_Experience_Platform_92_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/92/Sitecore_Experience_Platform_92_Initial_Release.aspx&lt;/a&gt;. &#xA;Now I also downloaded &quot;Sitecore xDB Data Migration Tool&quot; packages from the same link. When I tried to install &quot;Data Exchange Framework&quot; package, I am getting error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Could not load type 'Sitecore.Jobs.JobOptions' from assembly 'Sitecore.Kernel, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null'.&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do anybody know workaround for this or compatible Sitecore xDB Data Migration Tool module available for Sitecore 9.2?&lt;/p&gt;&#xA;" OwnerUserId="930" LastActivityDate="2019-10-18T10:58:11.447" Title="Sitecore xDB Data Migration Tool is not compatible for Sitecore 9.2" Tags="|sitecore-client|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="20232" PostTypeId="1" AcceptedAnswerId="20234" CreationDate="2019-08-01T08:54:53.733" Score="0" ViewCount="1396" Body="&lt;p&gt;I have installed &lt;code&gt;Sitecore 9.0 update 2&lt;/code&gt; and am installing &lt;code&gt;Sitecore Experience  Commerce 9.0 update 3&lt;/code&gt;. I have SIF version 2.0.0 (I know it's not supported, but have worked around that issue already).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am now getting the warning &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not find Cert: DO_NOT_TRUST_SitecoreRootCert in cert:\LocalMachine\Root&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;followed by the error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Cannot validate argument on parameter 'Signer'. The argument is null, empty, or an element of the argument collection contains a null value. Supply a collection that does not contain any null values and then try the command again.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I got the warning after deleting the &lt;code&gt;DO_NOT_TRUST_SitecoreRootCert&lt;/code&gt; certificate, and I wonder if this is causing problems, or can be ignored?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;WARNING: Could not find Cert: DO_NOT_TRUST_SitecoreRootCert in cert:\LocalMachine\Root&#xA;Install-SitecoreConfiguration : Cannot validate argument on parameter 'Signer'. The argument is null, empty, or an&#xA;element of the argument collection contains a null value. Supply a collection that does not contain any null values&#xA;and then try the command again.&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:25&#xA;+                         &amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:01&#xA;Install-SitecoreConfiguration : Cannot validate argument on parameter 'Signer'. The argument is null, empty, or an&#xA;element of the argument collection contains a null value. Supply a collection that does not contain any null values&#xA;and then try the command again.&#xA;At C:\Sitecore\SitecoreExperienceCommerce903\SIF.Sitecore.Commerce.1.4.7\Deploy-Sitecore-Commerce.ps1:80&#xA;char:2&#xA;+     Install-SitecoreConfiguration @params&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:03&#xA;Invoke-NewSignedCertificateTask : Cannot validate argument on parameter 'Signer'. The argument is null, empty, or an&#xA;element of the argument collection contains a null value. Supply a collection that does not contain any null values&#xA;and then try the command again.&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:47&#xA;+                         &amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                                               ~~~~~~~~~&#xA;    + CategoryInfo          : InvalidData: (:) [Invoke-NewSignedCertificateTask], ParentContainsErrorRecordException&#xA;    + FullyQualifiedErrorId : ParameterArgumentValidationError,Invoke-NewSignedCertificateTask&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2019-08-01T14:42:16.740" LastActivityDate="2019-08-01T14:42:16.740" Title="WARNING: Could not find Cert: DO_NOT_TRUST_SitecoreRootCert in cert:\LocalMachine\Root" Tags="|sitecore-commerce|certificate|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20233" PostTypeId="2" ParentId="20230" CreationDate="2019-08-01T09:37:43.253" Score="3" Body="&lt;p&gt;I didn't see any option to export form data from content tree in Sitecore 9 however you can export form data from Sitecore Forms interface by selecting a form as shown below:-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ob9bS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ob9bS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also you can have a look into &lt;a href=&quot;https://sitecore.stackexchange.com/questions/19601/export-form-data-not-working&quot;&gt;Export form data not working&lt;/a&gt; for more detail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if this helps you.&lt;/p&gt;&#xA;" OwnerUserId="3133" LastActivityDate="2019-08-01T09:37:43.253" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20234" PostTypeId="2" ParentId="20232" CreationDate="2019-08-01T09:48:19.047" Score="5" Body="&lt;p&gt;OOTB Sitecore XC installation needs a Root Certificate as it creates self-signed certificates for your storefront website. If you are planning to use different server certificates than OOTB self signed certificate, you can remove related tasks from installation script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to continue with default installation, you can do following:&#xA;- check folder c:\certificates, your root certificate can be there, you can import it back from there.&#xA;- you can create a new root certificate, in sitecore installation scripts modify &quot;xconnect-createcert.json&quot; file, keep tasks related to root certificate creation only and execute those steps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After bringing the root certificate back, you can continue with Sitecore XC installation.&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-08-01T09:48:19.047" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20235" PostTypeId="1" AcceptedAnswerId="20236" CreationDate="2019-08-01T09:51:01.903" Score="-1" ViewCount="676" Body="&lt;p&gt;While using &lt;code&gt;GetService&amp;lt;IMultisiteContext&amp;gt;()&lt;/code&gt;, this error is occurring: &lt;code&gt;The non-generic method IServiceProvider.GetService(Type) cannot be used with Type arguments.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Code Snippet used:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var contextItem = Context.Item;&#xA;var siteItem = ServiceLocator.ServiceProvider.GetService&amp;lt;IMultisiteContext&amp;gt;().GetSiteItem(contextItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="3607" LastEditDate="2019-08-01T11:50:57.013" LastActivityDate="2019-08-01T11:50:57.013" Title="GetService&lt;IMultisiteContext&gt;() throwing error" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20236" PostTypeId="2" ParentId="20235" CreationDate="2019-08-01T10:01:36.283" Score="3" Body="&lt;p&gt;Make sure you referenced &lt;code&gt;Microsoft.Extensions.DependencyInjection&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ab5Ix.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ab5Ix.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then add using:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That library contains generic extension for non-generic &lt;code&gt;GetService&lt;/code&gt; method.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-08-01T10:26:05.117" LastActivityDate="2019-08-01T10:26:05.117" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20237" PostTypeId="2" ParentId="20211" CreationDate="2019-08-01T10:16:37.950" Score="0" Body="&lt;p&gt;It seems all fields are working except those from the extensions module, so I would assume that the comment from Vlad is correct and you forgot to install the extensions on the CD server. You need to install it there as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Forms Extensions provide a &lt;code&gt;nodb&lt;/code&gt; version of the package that should be used for installing it on CD servers (this will install the necessary files, but not the database items).&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-08-01T10:16:37.950" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20238" PostTypeId="1" AcceptedAnswerId="20240" CreationDate="2019-08-01T12:16:02.307" Score="1" ViewCount="340" Body="&lt;p&gt;I am using Sitecore 9.2, SXA 1.9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When adding custom component into Experience Editor getting below exception.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.ExecuteCore()&#xA;   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.ExecuteController(Controller controller)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.Execute(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;Nested Exception&#xA;Exception: System.Web.HttpCompileException&#xA;Message: c:\inetpub\wwwroot\sc92sc.dev.local\Views\SimpleComponent\Title.cshtml(3): error CS1061: 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'Sxa' and no extension method 'Sxa' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)&#xA;Source: System.Web&#xA;   at System.Web.Compilation.AssemblyBuilder.Compile()&#xA;   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()&#xA;   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)&#xA;   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)&#xA;   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)&#xA;   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)&#xA;   at System.Web.Compilation.BuildManager.GetCompiledType(VirtualPath virtualPath)&#xA;   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="70" LastEditDate="2019-08-01T14:19:39.947" LastActivityDate="2019-08-01T16:33:47.373" Title="Adding custom component into experience editor throwing error" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20240" PostTypeId="2" ParentId="20238" CreationDate="2019-08-01T14:22:55.730" Score="1" Body="&lt;p&gt;It looks like you are missing a &lt;code&gt;using&lt;/code&gt; statement:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Message: c:\inetpub\wwwroot\sc92sc.dev.local\Views\SimpleComponent\Title.cshtml(3): &#xA;    error CS1061: 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'Sxa' &#xA;    and no extension method 'Sxa' accepting a first argument of type &#xA;    'System.Web.Mvc.HtmlHelper' could be found (are you missing a using &#xA;    directive or an assembly reference?)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Make sure that either your &lt;code&gt;Title.cshtml&lt;/code&gt; has:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.XA.Foundation.SitecoreExtensions&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or that you have added that to your &lt;code&gt;&amp;lt;namespaces&amp;gt;&lt;/code&gt; element in the &lt;code&gt;/views/web.config&lt;/code&gt; file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.web.webPages.razor&amp;gt;&#xA;    &amp;lt;host factoryType=&quot;System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&amp;gt;&#xA;    &amp;lt;pages pageBaseType=&quot;System.Web.Mvc.WebViewPage&quot;&amp;gt;&#xA;        &amp;lt;namespaces&amp;gt;&#xA;            &amp;lt;add namespace=&quot;System.Web.Mvc&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;System.Web.Mvc.Ajax&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;System.Web.Mvc.Html&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;System.Web.Routing&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;Sitecore.Mvc&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;Sitecore.Mvc.Presentation&quot; /&amp;gt;&#xA;            &amp;lt;add namespace=&quot;Sitecore.XA.Foundation.SitecoreExtensions&quot; /&amp;gt;&#xA;        &amp;lt;/namespaces&amp;gt;&#xA;    &amp;lt;/pages&amp;gt;&#xA;&amp;lt;/system.web.webPages.razor&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="70" LastEditorUserId="5096" LastEditDate="2019-08-01T16:33:47.373" LastActivityDate="2019-08-01T16:33:47.373" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20241" PostTypeId="1" AcceptedAnswerId="22351" CreationDate="2019-08-01T14:38:11.030" Score="2" ViewCount="387" Body="&lt;p&gt;I'm working with a DataProvider that I want live on BOTH of my databases and want the items to always be unpublishable (that way the items on one database don't get written to the Sitecore database should the data-provider accidentally be turned off) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;one way to do this is to use the NeverPublish field, which causes the items to be deleted if they are accidentally published (but doesn't cause a problem on the other database as the dataprovider just recreates them) However, I dont want to take the performance hit for deleting items on every publish. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a field that can be set to simply Skip and item from being published?&lt;/p&gt;&#xA;" OwnerUserId="4394" LastActivityDate="2019-10-01T16:24:01.240" Title="How to skip item from being published programtically without using NeverPublish field" Tags="|publishing|data-provider|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20242" PostTypeId="1" CreationDate="2019-08-01T14:41:11.330" Score="3" ViewCount="1585" Body="&lt;p&gt;I'm trying to install Sitecore Experience Commerce 9.0 u3 (already installed Sitecore 9.0 u2) using SIF 2.0.0. I keep getting the following certificate errors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Creation and startup of the CommerceOps_Sc9 Services web site completed&#xA;Creating self-signed certificate for CommerceOps_Sc9&#xA;Create new self-signed certificate&#xA;Install-SitecoreConfiguration : CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004&#xA;(-2146885628 CRYPT_E_NOT_FOUND)&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:25&#xA;+                         &amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:01:46&#xA;Install-SitecoreConfiguration : CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004&#xA;(-2146885628 CRYPT_E_NOT_FOUND)&#xA;At C:\Sitecore\SitecoreExperienceCommerce903\SIF.Sitecore.Commerce.1.4.7\Deploy-Sitecore-Commerce.ps1:80&#xA;char:2&#xA;+     Install-SitecoreConfiguration @params&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:02:47&#xA;Invoke-ManageCommerceServiceTask : CertEnroll::CSignerCertificate::Initialize: Cannot find object or property.&#xA;0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)&#xA;At C:\Program&#xA;Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:25&#xA;+                         &amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-ManageCommerceServiceTask&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="7820" LastEditDate="2021-03-26T13:55:35.357" LastActivityDate="2021-05-23T10:57:48.053" Title="Certificate error installing Sitecore Experience Commerce 9.0 u3 using SIF 2.0.0" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20243" PostTypeId="2" ParentId="20215" CreationDate="2019-08-01T14:43:22.413" Score="0" Body="&lt;p&gt;I did solve the issue. As I mentioned everything looked good including the prerequisites and the script. It looks like that the PowersShell script has some flows. &#xA;I have two SQL Server 2017 instances and the issue was related when I used the second instance &quot;DESKTOP-8V406HU\MSSQLSERVER01&quot;. I did escape &quot;\&quot; this with &quot;\&quot; and it created seven databases except for Sitecore and xconnect. After I used the first instance &quot;DESKTOP-8V406HU&quot; the installation did completed without a problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have to use an SQL instance name with &quot;instance\example&quot; make sure to debug the script and fix this issue before running the script. If I find the real solution I will post it here. &lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-08-01T14:43:22.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20244" PostTypeId="2" ParentId="20212" CreationDate="2019-08-01T14:57:58.537" Score="0" Body="&lt;p&gt;I did solve the issue. It was related to the SQL instance name. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/a/20243/4050&quot;&gt;https://sitecore.stackexchange.com/a/20243/4050&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-08-01T14:57:58.537" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20245" PostTypeId="1" CreationDate="2019-08-01T15:03:35.217" Score="1" ViewCount="1155" Body="&lt;p&gt;In Sitecore 9.0, when I create a Droplink or Droplist Sitecore generates a &quot;blank&quot; selection. For example I have a Droplink from Monday to Sunday, the first option will be a blank selection.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we remove this blank selection?&lt;/p&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="342" LastEditDate="2019-08-01T15:20:16.250" LastActivityDate="2019-08-01T17:27:57.167" Title="How to remove the blank field for Sitecore Droplink and Droplist" Tags="|content-editor|fieldtype|validation|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20246" PostTypeId="1" AcceptedAnswerId="20336" CreationDate="2019-08-01T16:32:20.677" Score="0" ViewCount="596" Body="&lt;p&gt;I get a yellow-screen-of-death after clicking the &lt;code&gt;Forms&lt;/code&gt; application icon from the launchpad:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Sitecore.Speak.Components.Models.Structures.Substructures.GlobalHeaders.GlobalHeaderRenderingModel'.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jWJIG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jWJIG.png&quot; alt=&quot;Screenshot of error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found this other &lt;a href=&quot;https://sitecore.stackexchange.com/questions/18384/sitecore-9-forms-giving-error-when-click-form-launchpad-icon&quot;&gt;question that appears similar&lt;/a&gt;. A comment there suggests that this error could be caused by missing a step from the upgrade procedure. We did recently run through an upgrade to 9.0.1 from 8.1.0. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas where I might start looking to figure out this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am also a little confused as to where the file in question is. The path that the error message displays (&lt;code&gt;/sitecore/shell/client/Business Component Library/version 2/Layouts/Renderings/Structures/Substructures/GlobalHeader.cshtml&lt;/code&gt;) for the Razor view does not even exist in my filesystem. I double-checked this against the provided &lt;a href=&quot;https://dev.sitecore.net/~/media/3093D892E19B4ACFB2DC68622C18E409.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore 9.0.1 files&lt;/a&gt; from the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Update1.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;upgrade documentation&lt;/a&gt;, and sure enough, the file doesn't exist there either. There does not seem to be a &lt;code&gt;Structures&lt;/code&gt; folder in the &lt;code&gt;/sitecore/shell/client/Business Component Library/version 2/Layouts/Renderings&lt;/code&gt; directory.&lt;/p&gt;&#xA;" OwnerUserId="5848" LastEditorUserId="5848" LastEditDate="2019-08-06T18:19:18.787" LastActivityDate="2019-08-06T18:48:16.243" Title="Exception when opening the Sitecore 9 Forms application" Tags="|upgrade|sitecore-forms|" AnswerCount="1" CommentCount="4" ClosedDate="2019-08-07T17:42:16.967" ContentLicense="CC BY-SA 4.0" />
  <row Id="20247" PostTypeId="2" ParentId="20245" CreationDate="2019-08-01T17:27:57.167" Score="2" Body="&lt;p&gt;Unfortunately, you cannot completely remove the blank option. Instead, I would recommend setting the &lt;strong&gt;Required&lt;/strong&gt; field validator on your field so that a user gets a warning (or cannot save it) if they leave the field blank.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Add the validator&lt;/h1&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the Content Editor, select your field item in Sitecore&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Scroll down to the &lt;strong&gt;Validation Rules&lt;/strong&gt; section and add the &lt;strong&gt;Required&lt;/strong&gt; item to all four validation fields:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J1CA2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J1CA2.png&quot; alt=&quot;validation rules fields&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Save your field&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;h1&gt;Extra credit: prevent the editor from saving&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you want to prevent content authors from saving the item at all if there is no value selected, you can create a copy of the default &lt;strong&gt;Required&lt;/strong&gt; validator and increase the error level of its failures.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In the Content Editor, select the &lt;strong&gt;Required&lt;/strong&gt; field validator&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Rules/Required&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Copy the item to a folder of validation rules you manage&lt;/li&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Parameters&lt;/strong&gt; field, add &lt;code&gt;Result=FatalError&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add this new validator to your field instead of the default &lt;strong&gt;Required&lt;/strong&gt; validator&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-08-01T17:27:57.167" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20248" PostTypeId="2" ParentId="18078" CreationDate="2019-08-01T18:10:35.200" Score="1" Body="&lt;p&gt;Thanks Jack for pointing in right direction, I also faced same issue and after closing all above processes it was not working for me, so I looked into all processes &lt;em&gt;Listening&lt;/em&gt; to &quot;:443&quot; port and closed those, after executing installation script again it worked for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can execute &quot;netstat&quot; to get list of all process associated to specific port.&#xA;Eg: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; netstat -aon | find &quot;:443&quot;&#xA; netstat -aon | find &quot;:80&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Referenced from &lt;a href=&quot;https://www.scottbrady91.com/Windows/IIS-The-Process-Cannot-Access-the-File-Because-it-is-Being-Used-by-Another-Process&quot; rel=&quot;nofollow noreferrer&quot;&gt;Scott's Blog&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4337" LastActivityDate="2019-08-01T18:10:35.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20249" PostTypeId="1" AcceptedAnswerId="20273" CreationDate="2019-08-01T20:20:15.243" Score="0" ViewCount="221" Body="&lt;p&gt;I'm working on local instance where i saved date 08/01/2019 7:00 PM to sitecore item when i read this item from database I can read correct date but when i read from Solr index I was able to read 08/02/2019 1:00 AM, &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is 6 hour difference when i change the time, difference stays the same 6 hours, it is &lt;strong&gt;important&lt;/strong&gt; that my time zone difference is exactly 6 hours from GMT, as sitecore instance is running on my local machine where time zone is set to (UTC-06:00) Central Time (US and Canada)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When i google it i came to know this setting in sitecore.config file&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I took help from &lt;a href=&quot;https://docs.microsoft.com/en-us/previous-versions/windows/embedded/gg154758(v=winembedded.80)&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt; page and set different time zones but there was no effect on result &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also came across Solr setting in /bin/solr.in.sh file but did not help&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SOLR_TIMEZONE=UTC&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Date property/field looks like below, in Sitecore 7.2 it was working good but issue started with Sitecore 9&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;StartDate&quot;)]&#xA;public DateTime StartDate { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: I was having issue while posting question as there was no available tag like Datetime or Server Time Zone etc.&lt;/p&gt;&#xA;" OwnerUserId="3619" LastEditorUserId="3619" LastEditDate="2019-08-02T15:44:30.313" LastActivityDate="2019-08-02T17:51:14.827" Title="Sitecore9 reading date time issue" Tags="|datetimepicker|" AnswerCount="1" CommentCount="2" ClosedDate="2019-08-02T20:29:33.460" ContentLicense="CC BY-SA 4.0" />
  <row Id="20250" PostTypeId="1" AcceptedAnswerId="20259" CreationDate="2019-08-01T21:25:57.820" Score="2" ViewCount="153" Body="&lt;p&gt;As part of Sitecore 9.1 Azure hosting setup, I'm seeing few SQL DB Advisor recommendations in Azure to drop unused indexes on certain Sitecore tables that were created by Web deploy packages.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since these tables/indexes are used by xConnect, reporting services, I'm not sure if it is a good idea to drop them even though they are not used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any recommendations on this?&lt;/p&gt;&#xA;" OwnerUserId="456" LastEditorUserId="5096" LastEditDate="2019-08-02T09:39:36.737" LastActivityDate="2019-08-02T09:47:24.523" Title="Sitecore Azure SQL DB Advisor recommendation - Drop unused indexes" Tags="|xconnect|azure|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20252" PostTypeId="1" CreationDate="2019-08-02T02:14:29.780" Score="0" ViewCount="315" Body="&lt;p&gt;I created an customfield, the class implemented like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class GoogleMapField :Sitecore.Shell.Applications.ContentEditor.Text, IContentField&#xA;{}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In this class I want to get current content itemID is using this customField in ContentEditor.&#xA;I tried to use ItemID property but It's not success&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public string ItemID { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5852" LastEditorUserId="5852" LastEditDate="2019-08-03T10:25:51.840" LastActivityDate="2022-11-17T16:06:15.753" Title="How to get current content item is using custom field inherit from Sitecore.Shell.Applications.ContentEditor.Text" Tags="|custom-field|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20255" PostTypeId="1" AcceptedAnswerId="20260" CreationDate="2019-08-02T06:44:56.400" Score="0" ViewCount="656" Body="&lt;p&gt;We are implementing federated authentication using Google &amp;amp; Facebook by referring below blog post,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-3-sitecore-user-and-claims-identity.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.nikkipunjabi.com/2018/03/sitecore-federated-authentication-part-3-sitecore-user-and-claims-identity.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;User is able to logging but sitecore create user name as base64 string, So as suggested in blog we are trying to use &quot;CreateUniqueUserName()&quot; method of &quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder&quot; class. But we are getting below error,&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;CS0618    'DefaultExternalUserBuilder.DefaultExternalUserBuilder(bool)'&#xA;  is obsolete: 'Use DefaultExternalUserBuilder(IHashEncryption&#xA;  hashEncryption) instead. Set IsPersistentUser through property&#xA;  setter.'  &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;While I go to class definition i had found the constructor which i need to use is obsolete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cHYW4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cHYW4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 9.0.2 version, Can anyone has gone through same issue? Is there any other way to use &quot;CustomExternalUserBuilder&quot; class ?&lt;/p&gt;&#xA;" OwnerUserId="1422" LastEditorUserId="1422" LastEditDate="2019-08-02T13:39:45.213" LastActivityDate="2019-08-02T13:39:45.213" Title="DefaultExternalUserBuilder.DefaultExternalUserBuilder(bool)' is obsolete" Tags="|federated-authentication|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="20256" PostTypeId="2" ParentId="20228" CreationDate="2019-08-02T08:20:18.157" Score="1" Body="&lt;p&gt;Set the setting &lt;code&gt;&amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;&quot; /&amp;gt;&lt;/code&gt; to match the desired timezone. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Server Time Zone setting in the web.config file specifies the server time zone that is used by the server to convert UTC time to local time&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/settings-supporting-utc-implementation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/settings-supporting-utc-implementation.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="88" LastActivityDate="2019-08-02T08:20:18.157" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20257" PostTypeId="1" CreationDate="2019-08-02T08:23:43.180" Score="2" ViewCount="357" Body="&lt;p&gt;I have a custom minion that reads orders and create an excel file with order details. I have configured this minion to run once in 24 hours and it is working perfectly.&#xA;But sometimes we need to run it explicitly. We are using postman for it and executing it with &quot;RunMinion&quot; api call. With postman my minion is executing twice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;does anybody faced same issue or can suggest something to look into?&lt;/p&gt;&#xA;" OwnerUserId="5111" LastEditorUserId="251" LastEditDate="2020-09-15T12:57:30.827" LastActivityDate="2024-01-28T22:09:36.087" Title="My custom minion is executing twice when called from Postman" Tags="|sitecore-commerce|minion|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20258" PostTypeId="1" CreationDate="2019-08-02T09:30:01.367" Score="0" ViewCount="224" Body="&lt;p&gt;I have my site definition like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;site patch:before=&quot;site[@name='website']&quot;&#xA;        name=&quot;mysite&quot;&#xA;        hostName=&quot;mysite.com&quot;&#xA;        scheme=&quot;https&quot;&#xA;        notFoundItem=&quot;not-found&quot;&#xA;        enableTracking=&quot;true&quot;&#xA;        rootPath=&quot;/sitecore/content/mysite&quot;&#xA;        startItem=&quot;/home&quot;&#xA;        virtualFolder=&quot;myrelateivepath&quot;&#xA;        physicalFolder=&quot;/website&quot;&#xA;        targetHostName=&quot;mysite&quot;&#xA;        database=&quot;web&quot;&#xA;        domain=&quot;mydomain&quot;&#xA;        allowDebug=&quot;true&quot;&#xA;        cacheHtml=&quot;false&quot;&#xA;        filteredItemsCacheSize=&quot;10MB&quot;&#xA;        enablePreview=&quot;true&quot;&#xA;        enableWebEdit=&quot;true&quot;&#xA;        enableDebugger=&quot;true&quot;&#xA;        disableClientData=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I've set up URL rewrite to include virtualFolder path(i.e &quot;myrelateivepath&quot; in above config) for all pages that are under this site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;now business is asking me to exclude virtualFolder path in the URLs for few of the pages. Any workaround to do this?&lt;/p&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="666" LastEditDate="2019-08-02T13:14:38.353" LastActivityDate="2019-08-02T13:14:38.353" Title="Site config exclude relative path for few pages" Tags="|urls|url-rewrite|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20259" PostTypeId="2" ParentId="20250" CreationDate="2019-08-02T09:47:24.523" Score="0" Body="&lt;p&gt;We always turn on &quot;Automatically apply recommendations&quot; including both Create and Delete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are lots of ways to use Sitecore and structure your data.  Different setups will have subtly different influences on SQL Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should enable the SQL Query Store for all your databases:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;    ALTER DATABASE AdventureWorks2012 SET QUERY_STORE (OPERATION_MODE = READ_WRITE); &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will allow SQL to monitor performance and give you suggestions if you have queries that are executing a lot, or are performing badly.  In my experience there are a few indexes it always adds.  Sometimes it takes them away again a bit later.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you see a lot of executions of a particular query you should think about adjusting your caching.  Database requests, fast as they are, are &lt;strong&gt;1000x&lt;/strong&gt; slower than memory requests.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, a bit off topic, but don't forget to rebuild your indexes and heap tables periodically as they can get very fragmented, thanks to the use of &lt;code&gt;UNIQUEIDENTIFIER&lt;/code&gt; columns as clustered index fields.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2019-08-02T09:47:24.523" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20260" PostTypeId="2" ParentId="20255" CreationDate="2019-08-02T11:01:39.327" Score="2" Body="&lt;p&gt;As your screenshot suggests, the 2 constructors have been marked as Obsolete. You have the following options.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Mark your class as obsolete so compiler ignore these.&lt;/li&gt;&#xA;&lt;li&gt;Ignore the warning and make sure your project doesn't have &quot;Treat warning as errors&quot; set on it.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove obsolete constructors from your class and add one that uses valid constructor. Make sure this doesn't break the functionality.&#xA;e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public CustomExternalUserBuilder(IHashEncryption hashEncryption)&#xA;: base(hashEncryption)&#xA;{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="88" LastActivityDate="2019-08-02T11:01:39.327" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20261" PostTypeId="1" CreationDate="2019-08-02T11:46:24.490" Score="0" ViewCount="189" Body="&lt;p&gt;In one of our e-commerce engine service environments, logging stops after about 30 minutes. The logging starts again once we reset the AppPool for the service. Other than the logs, there is no issue with the service. The storefront is able to communicate with it properly even after logging stops. This issue is only occurring in one environment.&lt;/p&gt;&#xA;&lt;p&gt;Has anyone else experienced similar behavior or have any suggestions on what to look into?&lt;/p&gt;&#xA;" OwnerUserId="5111" LastEditorUserId="13404" LastEditDate="2023-08-14T02:57:57.923" LastActivityDate="2023-09-13T08:05:05.590" Title="Commerce engine logging stops working after around 30 mins" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20262" PostTypeId="1" CreationDate="2019-08-02T11:58:06.767" Score="0" ViewCount="482" Body="&lt;p&gt;In my local instance experience editor add component showing a popup &lt;strong&gt;&quot;Select a rendering&quot;&lt;/strong&gt; like below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cPPH5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cPPH5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In My higher environment this popup showing differently like, its showing with the &lt;strong&gt;grouped format tabs&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tab names respectively my rendering folder names.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ckrnZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ckrnZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is which settings i need to achieve with group format?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope changes will be in sitecore related configs.Because same codes, unicorn items will present in my server and local.&lt;/p&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="73" LastEditDate="2019-08-02T12:24:20.500" LastActivityDate="2019-08-02T12:24:20.500" Title="Add component &quot;Select a rendering popup&quot; in grouped format" Tags="|experience-editor|presentation|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20264" PostTypeId="1" AcceptedAnswerId="20268" CreationDate="2019-08-02T13:19:01.073" Score="1" ViewCount="1589" Body="&lt;p&gt;&lt;strong&gt;Environment details&lt;/strong&gt;:  9.0.2 XP0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I am trying to do&lt;/strong&gt;: I am trying to create an xConnect client from Sitecore context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What is the issue I am facing&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;The request was aborted: Could not create SSL/TLS secure channel.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mO654.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mO654.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Points I have checked&lt;/strong&gt;:&#xA;1. Sitecore client is working with Https without any warning.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/VQaDg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VQaDg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;xConnect is opening with Https in browser properly.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WIbAM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WIbAM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The certificate thumbprint is according to the certificate applied in the Connection string of Sitecore client and App-config of xConnect.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/a8K8o.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/a8K8o.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TrIAL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TrIAL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ic0al.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ic0al.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest what else I should check.&#xA;&lt;strong&gt;Edit 1&lt;/strong&gt;:&#xA;Also checked at &lt;code&gt;sc9u2.xconnect\App_data\jobs\continuous\AutomationEngine\App_Config\ConnectionStrings.config&lt;/code&gt;. The thumbprint value is same.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="1110" LastEditDate="2019-08-02T13:36:29.923" LastActivityDate="2019-08-05T06:06:47.420" Title="The request was aborted: Could not create SSL/TLS secure channel on 9.0.2 XP0" Tags="|xconnect|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20265" PostTypeId="2" ParentId="20241" CreationDate="2019-08-02T13:19:44.330" Score="0" Body="&lt;p&gt;You may can set up publishing restrictions and select a far date in 'Publishable From' field e.g&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Official Documentation &#xA;&lt;a href=&quot;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/set-up-publishing-restrictions-for-an-item.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/set-up-publishing-restrictions-for-an-item.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;List of fields which control publishing restrictions&#xA;&lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/fields-that-control-publishing-restrictions-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/fields-that-control-publishing-restrictions-in-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4816" LastActivityDate="2019-08-02T13:19:44.330" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20266" PostTypeId="1" AcceptedAnswerId="20277" CreationDate="2019-08-02T14:23:06.553" Score="0" ViewCount="40" Body="&lt;p&gt;I have created a goal and triggering it from client side(onclick of anchor) .Now i would like to generate some detailed report using the custom data &lt;/p&gt;&#xA;&#xA;&lt;p&gt;var registerTheGoal = new PageEventItem(goalItem);&#xA; var eventData = page.Register(registerTheGoal);&#xA;     eventData.Data = &quot;Custom Data&quot;;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could some one please provide me the script ,which i can use in Experience Extractor or direct query in MongoDB (I am using Robo mongo)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in Advance!!&lt;/p&gt;&#xA;" OwnerUserId="3621" LastActivityDate="2019-08-03T10:49:36.460" Title="Script for reading a specific Goal Item from MongoDB using Experience Extractor" Tags="|xdb|goals|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20268" PostTypeId="2" ParentId="20264" CreationDate="2019-08-02T15:46:34.177" Score="4" Body="&lt;p&gt;Two things.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The valid thumbprint should be the thumbprint from &lt;code&gt;sc9u2.xconnect_client&lt;/code&gt; certificate. The cert &lt;code&gt;sc9u2.xconnect&lt;/code&gt; is the SSL cert for the site. The _client cert is the one being used to encrypt the message. Update your configs (sitecore and xconnect) to use the right certificate thumb print. Remember that if you copy the cert from certificate manager, it includes some special characters you can't see. echo it in powershell to get the real value without the hidden characters. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Right click on &lt;code&gt;sc9u2.xconnect_client&lt;/code&gt; and click Manage Private Keys. In the security popup, add the app pool user for your sitecore website. If this is dev, you can just add &lt;code&gt;Everyone&lt;/code&gt;. &lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KAdmb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KAdmb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-08-02T15:46:34.177" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20270" PostTypeId="1" CreationDate="2019-08-02T16:17:24.377" Score="0" ViewCount="412" Body="&lt;p&gt;Sitecore 8.2.7 : SXA 1.7.0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We would like to enable the captions auto generated by YouTube in the videos on our site. Is there a way to achieve this?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2020-01-03T05:02:18.787" Title="How do I enable captions for the YouTube videos when using the SXA video component?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20271" PostTypeId="1" AcceptedAnswerId="22580" CreationDate="2019-08-02T16:28:46.970" Score="4" ViewCount="258" Body="&lt;p&gt;So we have Azure AD integration set up via Identity Server. We're on 9.1.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default the Sitecore.Plugin.IdentityProvider.AzureAd.xml configuration on IdentityServer, maps the isAdministrator claim something like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;AzureADUserToAdminUser type=&quot;Sitecore.Plugin.IdentityProviders.DefaultClaimsTransformation, Sitecore.Plugin.IdentityProviders&quot;&amp;gt;&#xA;    &amp;lt;SourceClaims&amp;gt;&#xA;        &amp;lt;Claim1 type=&quot;groups&quot; value=&quot;[redacted]&quot; /&amp;gt;&#xA;    &amp;lt;/SourceClaims&amp;gt;&#xA;    &amp;lt;NewClaims&amp;gt;&#xA;        &amp;lt;Claim1 type=&quot;http://www.sitecore.net/identity/claims/isAdmin&quot; value=&quot;true&quot;/&amp;gt;&#xA;    &amp;lt;/NewClaims&amp;gt;&#xA;&amp;lt;/AzureADUserToAdminUser&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So based on a group membership, users will get the &lt;code&gt;http://www.sitecore.net/identity/claims/isAdmin&lt;/code&gt; claim mapped, with a value of &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Sitecore side of things, the default handling of this is the propertyInitializer, and it looks like this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;propertyInitializer&amp;gt;&#xA; &amp;lt;maps&amp;gt;&#xA;    &amp;lt;map name=&quot;set IsAdministrator&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultClaimToPropertyMapper, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;        &amp;lt;data hint=&quot;raw:AddData&quot;&amp;gt;&#xA;            &amp;lt;source name=&quot;http://www.sitecore.net/identity/claims/isAdmin&quot; value=&quot;true&quot; /&amp;gt;&#xA;            &amp;lt;target name=&quot;IsAdministrator&quot; value=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/data&amp;gt;&#xA;    &amp;lt;/map&amp;gt;&#xA; &amp;lt;/maps&amp;gt;&#xA;&amp;lt;/propertyInitializer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which, the way I understand it, is configuration speak for &quot;if user has claim &lt;code&gt;http://www.sitecore.net/identity/claims/isAdmin&lt;/code&gt; with a value of &lt;code&gt;true&lt;/code&gt;, then set the &lt;code&gt;IsAdministrator&lt;/code&gt; value to &lt;code&gt;True&lt;/code&gt;&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are also going with the default configuration of &lt;em&gt;Persistent Users&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So here is my problem. If a user, at &lt;em&gt;any point in time&lt;/em&gt;, has been granted the &lt;code&gt;IsAdministrator&lt;/code&gt; claim - it stays forever. Removing the user from the original Security Group does nothing - &lt;code&gt;IsAdministrator&lt;/code&gt; never gets set to false. It just goes untouched, if a user doesn't have the claim.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;HOW is it supposed to be configured, so this flag gets set AND cleared based on the Security Group membership?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-10-15T17:02:13.883" Title="IsAdministrator is &quot;sticky&quot; and never gets cleared, once set" Tags="|identity-server|azure-ad|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20273" PostTypeId="2" ParentId="20249" CreationDate="2019-08-02T17:51:14.827" Score="0" Body="&lt;p&gt;By setting as below in sitecore.config i was able to get correct date&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ServerTimeZone&quot; value=&quot;UTC&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please note that for previous versions i believe its in sitecore.analystics.config file&lt;/p&gt;&#xA;" OwnerUserId="3619" LastActivityDate="2019-08-02T17:51:14.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20274" PostTypeId="2" ParentId="8907" CreationDate="2019-08-03T07:14:51.870" Score="2" Body="&lt;p&gt;If you are using profiles (Profile cards and pattern cards), then this error is occurring because you have not deployed the profiles that you had created &lt;strong&gt;under /sitecore/system/Marketing Control Panel/Profiles/&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should &lt;strong&gt;deploy those profiles&lt;/strong&gt; to the web database, to solve this error. Click on the profile you have created -&gt; Click the Review tab found in the Sitecore ribbon menu area  -&gt; Under Workflow Chunk/Section, Click on the &lt;strong&gt;Deploy&lt;/strong&gt; button&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE :&lt;/strong&gt; Publishing the site or item does not automatically deploy profiles you have created. You must do this manually. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;This was also the solution for the below error in Sitecore Experience Analytics/ Experience Profile&lt;/strong&gt; that I faced while using profile cards and pattern cards:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The required anti-forgery form field &quot;__RequestVerificationToken&quot; is&#xA;  not present.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="4515" LastEditorUserId="4515" LastEditDate="2019-08-05T06:12:30.297" LastActivityDate="2019-08-05T06:12:30.297" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20275" PostTypeId="1" CreationDate="2019-08-03T08:11:12.497" Score="-1" ViewCount="129" Body="&lt;p&gt;My team is deploying &lt;code&gt;Sitecore 9.0.2&lt;/code&gt; application to &lt;code&gt;azure appservice&lt;/code&gt; for the first time since we got the project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So while reading the ways to deploy the helix website we found that we will need to use Teamcity for it to run the gulp files. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was wondering that is it possible to deploy the Sitecore helix website without using &lt;code&gt;TeamCity&lt;/code&gt; by just using &lt;code&gt;Octopus&lt;/code&gt; deploy. Does &lt;code&gt;Octopus&lt;/code&gt; provide a way to run the &lt;code&gt;gulp&lt;/code&gt; files to create the builds?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because in the handover document provided by the last company doesn't contain any information about the &lt;code&gt;Teamcity&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thank you&lt;/p&gt;&#xA;" OwnerUserId="5630" LastEditorUserId="2152" LastEditDate="2019-08-04T11:06:28.680" LastActivityDate="2019-08-20T04:02:53.557" Title="Can we deploy helix structure on azure appservice without using teamcity" Tags="|azure|helix|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20276" PostTypeId="1" AcceptedAnswerId="20430" CreationDate="2019-08-03T09:20:43.387" Score="2" ViewCount="127" Body="&lt;p&gt;I have a &lt;code&gt;Sitecore 9 form&lt;/code&gt; where a user submits a form and that contact will be saved in &lt;code&gt;xDB&lt;/code&gt;. At the time of submitting I am checking in &lt;code&gt;xDB&lt;/code&gt; is duplicate contact exist, on basis of First name, Last name, Email and Identifier source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am able to get duplicate contact using the below query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    IAsyncQueryable&amp;lt;XConnect.Contact&amp;gt; query = client.Contacts&#xA;                .Where(c =&amp;gt; c.Identifiers.Any(i =&amp;gt; i.Source == &quot;XYZ&quot;) &amp;amp;&amp;amp;&#xA;                       c.GetFacet&amp;lt;EmailAddressList&amp;gt;(EmailAddressList.DefaultFacetKey).PreferredEmail.SmtpAddress == emailID&#xA;                       &amp;amp;&amp;amp; c.GetFacet&amp;lt;PersonalInformation&amp;gt;(PersonalInformation.DefaultFacetKey).FirstName == firstname&#xA;                &amp;amp;&amp;amp; c.GetFacet&amp;lt;PersonalInformation&amp;gt;(PersonalInformation.DefaultFacetKey).LastName == lastname&#xA;                ).&#xA;                WithExpandOptions(new ContactExpandOptions( PersonalInformation.DefaultFacetKey, EmailAddressList.DefaultFacetKey));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Problem&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Anonymous user is coming in the website and interact with the page and trigger some &lt;code&gt;goals&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Anonymous has a contact ID&lt;/li&gt;&#xA;&lt;li&gt;Then user visits my form which I am talking above, here they submit a form, now if a user is a duplicate I am updating facets.&lt;/li&gt;&#xA;&lt;li&gt;My facets are updated for an existing contact&lt;/li&gt;&#xA;&lt;li&gt;After 20 mins, when the session expires, it is creating anonymous contact as well in &lt;code&gt;xDB&lt;/code&gt; and also saving &lt;code&gt;Interaction&lt;/code&gt; for anonymous user. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I want anonymous user should not create in &lt;code&gt;xDB&lt;/code&gt; and &lt;code&gt;Interaction&lt;/code&gt; should save for existing contact only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried to use &lt;code&gt;LoadContact&lt;/code&gt; method but still, it is not working&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  manager.RemoveFromSession(CurrentTracker.Contact.ContactId);&#xA;   CurrentTracker.Session.Contact = manager.LoadContact(new Guid(existingContact.Id.ToString()));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-08-12T09:27:42.657" Title="How to update Tracker.Current" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20277" PostTypeId="2" ParentId="20266" CreationDate="2019-08-03T10:49:36.460" Score="1" Body="&lt;p&gt;I had a similar need.  I had someone build me a Mongo query that I ran directly against Mongo DB, via RoboMongo.  Note:  This is for Sitecore 8.  The structure for Sitecore 9 is different.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This query returns specific goals from the Interactions collection.  It then joins with the Contact collection to return the email of the visitor that triggered the goal.  This query returns only contacts that have an email address (are known).  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// This query returns all the addresses and URL's that match&#xA;db.Interactions.aggregate([&#xA;&#xA;// only pages that have at least one Goal Name&#xA;// this is to speed up the query&#xA;{ &#xA;    $match: { &quot;Pages.PageEvents.Name&quot;: &quot;Goal Name&quot; } &#xA;}&#xA;,&#xA;// join with the contacts&#xA;{&#xA;    $lookup:&#xA;    {&#xA;        from: &quot;Contacts&quot;,&#xA;        localField: &quot;ContactId&quot;,&#xA;        foreignField: &quot;_id&quot;,&#xA;        as: &quot;contact_email&quot;&#xA;    }&#xA;},&#xA;// only look at records that have a email, to shrink after $lookup&#xA;{ &#xA;    $match: { &quot;contact_email.Identifiers.Identifier&quot;: {$exists:true} } &#xA;}&#xA;,&#xA;// We pull out the interesting parts&#xA;{ &#xA;    $project: &#xA;    { &#xA;        &quot;Pages.Url.Path&quot;: true, &#xA;        &quot;Pages.PageEvents.Name&quot;: true,&#xA;        &quot;contact_email.Identifiers.Identifier&quot;: true,&#xA;    } &#xA;},&#xA;{ &#xA;    $unwind: '$Pages'  &#xA;},&#xA;{ &#xA;    // this is the $match to trim after the $unwind&#xA;    $match: { &quot;Pages.PageEvents.Name&quot;: &quot;Goal Name&quot; } &#xA;},&#xA;{ &#xA;    $project: &#xA;    { &#xA;        &quot;Pages.Url.Path&quot;: true,&#xA;        &quot;contact_email.Identifiers.Identifier&quot;: true,&#xA;    } &#xA;},&#xA;])&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you follow the structure, you should be able to add whatever facet attributes you like.  &lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-08-03T10:49:36.460" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20278" PostTypeId="1" CreationDate="2019-08-03T16:40:00.323" Score="1" ViewCount="657" Body="&lt;p&gt;I have an event listing API, which takes as input start and end dates and returns a list of events.&#xA;The requirement for sort, is to show closest to farthest events by start date in the past, followed by closest to farthest event by end date in the future.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially the following logic (which was done on a list previously).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    List&amp;lt;EventModel&amp;gt; newList = listEvent.Where(e =&amp;gt; e.startDT &amp;lt;= DateTime.Today).OrderByDescending(e =&amp;gt; e.startDT).ToList();&#xA;    newList.AddRange(listEvent.Where(e =&amp;gt; e.startDT &amp;gt; DateTime.Today).OrderBy(e =&amp;gt; e.endDT));&#xA;    listEvent = newList;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can I achieve this on an IQueryable to execute in my SOLR search?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see that concat isn't supported with Linq to Sitecore&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/linq-to-sitecore.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/linq-to-sitecore.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any other way to do this?&lt;/p&gt;&#xA;" OwnerUserId="3567" LastEditorUserId="3567" LastEditDate="2019-08-03T16:48:01.800" LastActivityDate="2019-08-03T19:59:46.493" Title="How can I sort event items by closest date in SOLR?" Tags="|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20279" PostTypeId="2" ParentId="20278" CreationDate="2019-08-03T19:46:47.037" Score="2" Body="&lt;p&gt;Consider researching Solr functions. My experience has used a hard-coded field name with solr field extension. Perhaps you can figure out how to make this more dynamic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First you can start by adding a new field to your &lt;code&gt;CustomSearchResultItem&lt;/code&gt; class.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;_val_&quot;)]&#xA;public string _val_ { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Second you can write a query using the new field.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var query = PredicateBuilder.True();&#xA;query = query.And(x =&amp;gt; x._val_.Equals(&quot;recip(abs(ms(NOW/HOUR,startdate_tdt)),3.16e-11,4,.4)&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What this query &lt;em&gt;should&lt;/em&gt; do is rank the results higher when the date is close to today, and then rank lower the further away it is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a simple demonstration while using Sitecore PowerShell Extensions against Solr.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$criteria = @(&#xA;    @{Filter = &quot;Equals&quot;; Field = &quot;_val_&quot;; Value = &quot;recip(abs(ms(NOW/HOUR,__smallcreateddate_tdt)),3.16e-11,4,.4)&quot;}&#xA;)&#xA;$props = @{&#xA;    Index = &quot;sitecore_master_index&quot;&#xA;    Criteria = $criteria&#xA;}&#xA;&#xA;Find-Item @props | Select-Object Name,CreatedDate&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I used &lt;em&gt;CreatedDate&lt;/em&gt; and so I don't expect any future dates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bV9IC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bV9IC.png&quot; alt=&quot;Example results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-08-03T19:59:46.493" LastActivityDate="2019-08-03T19:59:46.493" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20280" PostTypeId="1" AcceptedAnswerId="20281" CreationDate="2019-08-04T00:41:31.530" Score="2" ViewCount="3004" Body="&lt;p&gt;The script from Jeremy Davis Downloads, installs, adds SSL and sets up Solr as windows service. However, JRE is required for Solr and JRE needs to be installed manually. &#xA;Is there anyway to download and install JRE with PowerShell?&lt;/p&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="237" LastEditDate="2019-08-04T07:43:22.117" LastActivityDate="2021-03-30T15:45:02.920" Title="How to download and install JRE with PowerShell for Sitecore Solr installation" Tags="|solr|java|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20281" PostTypeId="2" ParentId="20280" CreationDate="2019-08-04T00:48:21.670" Score="1" Body="&lt;p&gt;Actually, I did find out a way to download and install JRE with PowerShell script.It is really use-full therefore I wanted to share it here in StackExchange. This script can be optimized but it does the job as it is.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the entire script:&#xA;&lt;a href=&quot;https://github.com/erjan123/Sitecore/blob/master/Sitecore/PowershellScripts/Sitecore%20Solr/2.install-solr-7.5-and-JRE.ps1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/erjan123/Sitecore/blob/master/Sitecore/PowershellScripts/Sitecore%20Solr/2.install-solr-7.5-and-JRE.ps1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also a tutorial that explains the script: &#xA;&lt;a href=&quot;https://www.youtube.com/watch?v=3-27syl8C98&amp;amp;t=10s&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=3-27syl8C98&amp;amp;t=10s&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Param(&#xA;    $downloadInstallJRE = $true,&#xA;    $JREVersion64 = $true  &#xA;)&#xA;&#xA;if($downloadInstallJRE -eq $true)&#xA;{&#xA;    if($JREVersion64 -eq $true)&#xA;    {&#xA;        $URL=(Invoke-WebRequest -UseBasicParsing https://www.java.com/en/download/manual.jsp).Content |     ForEach-Object{[regex]::matches($_, '(?:&amp;lt;a title=&quot;Download Java software for Windows \(64-bit\)&quot; href=&quot;)(.*)(?:&quot;&amp;gt;)').Groups[1].Value} &#xA;    }&#xA;    else&#xA;    {       &#xA;        $URL=(Invoke-WebRequest -UseBasicParsing https://www.java.com/en/download/manual.jsp).Content | ForEach-Object{[regex]::matches($_, '(?:&amp;lt;a title=&quot;Download Java software for Windows Online&quot; href=&quot;)(.*)(?:&quot;&amp;gt;)').Groups[1].Value}&#xA;    }&#xA;        Invoke-WebRequest -UseBasicParsing -OutFile jre8.exe $URL&#xA;        Start-Process .\jre8.exe '/s REBOOT=0 SPONSORS=0 AUTO_UPDATE=0' -wait&#xA;&#xA;    if($JREVersion64 -eq $true)&#xA;    {&#xA;        $JREVersion = Get-ChildItem -Path &quot;C:\Program Files\Java&quot; -name | Where-Object { -not $_.PsIsContainer } | Sort-Object LastWriteTime -Descending | Select-Object -first 1 &#xA;&#xA;        Write-Host &quot;JREVersion: $JREVersion&quot;&#xA;        $JREPath = &quot;C:\Program Files\Java\$JREVersion&quot;&#xA;        Write-Host  &quot;JREPath&quot; + $JREPath&#xA;        Write-Host &quot;Downloading 64 bit of JRE&quot;&#xA;    }   &#xA;    else{&#xA;&#xA;        $JREVersion = Get-ChildItem -Path &quot;C:\Program Files (x86)\Java&quot; -name | Where-Object { -not $_.PsIsContainer } | Sort-Object LastWriteTime -Descending | Select-Object -first 1 &#xA;&#xA;        Write-Host &quot;JREVersion: $JREVersion&quot;&#xA;        $JREPath = &quot;C:\Program Files (x86)\Java\$JREVersion&quot;&#xA;        Write-Host  &quot;JREPath &quot; + $JREPath&#xA;        Write-Host &quot;Downloading 32 bit of JRE&quot;&#xA;    }&#xA;&#xA;        Write-Host &quot;JRE package URL &quot; $URL&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="-1" LastEditDate="2020-05-08T06:37:43.187" LastActivityDate="2020-05-08T06:37:43.187" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20282" PostTypeId="1" AcceptedAnswerId="20312" CreationDate="2019-08-04T10:25:38.833" Score="0" ViewCount="149" Body="&lt;p&gt;I created &lt;code&gt;overlay content&lt;/code&gt; and added &lt;code&gt;Rich Text&lt;/code&gt; component to it but when I preview it I see nothing rendered. as I added a component in the main placeholder.&#xA;Is there any thing I missed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lGDeh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lGDeh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5780" LastEditorUserId="73" LastEditDate="2019-08-06T10:09:17.217" LastActivityDate="2019-10-01T07:23:06.827" Title="Overlays not rendering" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20283" PostTypeId="2" ParentId="20261" CreationDate="2019-08-04T11:11:55.503" Score="1" Body="&lt;p&gt;There is no issue with logging since it logs on app startup. I faced the same issue with our Commerce instance. It was just logging at app startup but nothing after that even though the requests were being successfully executed. Just change your Minimum Default log level under config.json (config.Development.json if Development environment). It should be 'Information' and not only 'Warning' (Default case). Hope it helps!&lt;/p&gt;&#xA;" OwnerUserId="5512" LastActivityDate="2019-08-04T11:11:55.503" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20284" PostTypeId="1" AcceptedAnswerId="20286" CreationDate="2019-08-04T11:21:12.817" Score="2" ViewCount="408" Body="&lt;p&gt;&lt;strong&gt;Environment&lt;/strong&gt;: Sitecore 9.0.2 + XP0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the components are hosted locally.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error in &lt;strong&gt;poc1.xconnect\App_data\logs&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-08-04 16:02:43.787 +05:30 [Error] Sitecore.XConnect.Operations.XdbSearchOperation`1[Sitecore.XConnect.Contact]: System.TimeoutException: A wait for data to be indexed has been timed out.&#xA;2019-08-04 16:02:43.787 +05:30 [Error] [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;System.TimeoutException: A wait for data to be indexed has been timed out.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The changes made in the instance: &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Deployed custom facet as per the documents in Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the xDB&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In SOLR, I have the following warning:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2019-08-04 10:45:27.802 WARN  (qtp1330278544-19) [   ] o.a.s.h.a.LukeRequestHandler Error getting file length for [segments_2]&#xA;java.nio.file.NoSuchFileException: D:\Solr\solr-6.6.2\server\solr\poc1_xdb_rebuild\data\index\segments_2&#xA;    at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)&#xA;    at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)&#xA;    at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)&#xA;    at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(Unknown Source)&#xA;    at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(Unknown Source)&#xA;    at sun.nio.fs.WindowsFileSystemProvider.readAttributes(Unknown Source)&#xA;    at java.nio.file.Files.readAttributes(Unknown Source)&#xA;    at java.nio.file.Files.size(Unknown Source)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any help will be useful.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-08-04T16:40:14.347" Title="xDB : System.TimeoutException" Tags="|xdb|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20285" PostTypeId="1" CreationDate="2019-08-04T14:12:32.707" Score="1" ViewCount="434" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9.1&lt;/code&gt;, I have &lt;code&gt;multi-sites&lt;/code&gt; using different hostnames.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;can I share user context between sites after successful authentication from one site, instead of authenticating from each site separately?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="5387" LastEditDate="2019-08-05T04:15:13.320" LastActivityDate="2019-08-05T11:19:09.137" Title="Federated Authentication in Multi sites" Tags="|federated-authentication|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20286" PostTypeId="2" ParentId="20284" CreationDate="2019-08-04T16:40:14.347" Score="4" Body="&lt;p&gt;It seems like the existing xDB index on Solr is bad/corrupt.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Turn Solr Off&lt;/li&gt;&#xA;&lt;li&gt;Delete the Data Folder in the xdb and xdb_rebuild Solr Index folders.&lt;/li&gt;&#xA;&lt;li&gt;Turn Solr On&lt;/li&gt;&#xA;&lt;li&gt;Rebuild xConnect xDB Index using the xConnect Collection Search Indexer rebuild command &lt;code&gt;-rr&lt;/code&gt;: &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-08-04T16:40:14.347" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20287" PostTypeId="1" AcceptedAnswerId="20288" CreationDate="2019-08-04T22:50:43.277" Score="2" ViewCount="279" Body="&lt;p&gt;Hi we want to provide access to our content authors where they can start editing any item without the need to lock it. I am able to do this when I provide them &lt;strong&gt;administrator&lt;/strong&gt; access. Is there a way we can do this, by not making them an administrator, but by a custom role? &lt;/p&gt;&#xA;" OwnerUserId="2396" LastActivityDate="2019-08-05T04:29:31.493" Title="Ability for content authors to edit items without locking" Tags="|role-management|" AnswerCount="1" CommentCount="3" ClosedDate="2019-08-05T10:55:36.320" ContentLicense="CC BY-SA 4.0" />
  <row Id="20288" PostTypeId="2" ParentId="20287" CreationDate="2019-08-05T04:29:31.493" Score="2" Body="&lt;p&gt;Like Micheal West said, If there is no locking functionality then When one editor is currently working on the item, it would be a tragedy for another editor to overwrite their changes. But in your case, there is a setting &quot;RequireLockBeforeEditing&quot; in the configuration which you can make it as false. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;RequireLockBeforeEditing&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NOTE: This is not a Sitecore recommended practice. &lt;/p&gt;&#xA;" OwnerUserId="1804" LastActivityDate="2019-08-05T04:29:31.493" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20289" PostTypeId="1" AcceptedAnswerId="20298" CreationDate="2019-08-05T04:45:34.337" Score="4" ViewCount="438" Body="&lt;p&gt;&lt;strong&gt;Sitecore&lt;/strong&gt;: 9.0.2 XP0 Standlaone&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: Unable to send emails as a regular campaign&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log in EDS&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SmtpCmdResp: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log in EXM&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Message sending error:System.AggregateException: One or more errors occurred. ---&amp;gt; Sitecore.EDS.Core.Exceptions.InvalidMessageException: Failed to send the email message due to incorrect data.&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatTransportClient.SendAsync(Email message)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;RetryOnFault&amp;gt;d__10.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;SendTaskAsync&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;SendEmailAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchProviderBase.&amp;lt;SendAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;SendAsync&amp;gt;d__6.MoveNext()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.SendEmail.Process(SendMessageArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Modules.EmailCampaign.Core.PipelineHelper.RunPipeline(String pipelineName, PipelineArgs args)&#xA;   at Sitecore.EmailCampaign.Cm.Dispatch.TestMessageTask.OnSendToNextRecipient()&#xA;---&amp;gt; (Inner Exception #0) Sitecore.EDS.Core.Exceptions.InvalidMessageException: Failed to send the email message due to incorrect data.&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatTransportClient.SendAsync(Email message)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;RetryOnFault&amp;gt;d__10.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.&amp;lt;SendTaskAsync&amp;gt;d__8.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Providers.CustomSmtp.DispatchProvider.&amp;lt;SendEmailAsync&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchProviderBase.&amp;lt;SendAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.EDS.Core.Dispatch.DispatchManager.&amp;lt;SendAsync&amp;gt;d__6.MoveNext()&amp;lt;---&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Changes in config&lt;/strong&gt;:&#xA; Only  4 fields were updated&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Server&lt;/li&gt;&#xA;&lt;li&gt;Port &lt;/li&gt;&#xA;&lt;li&gt;Username &lt;/li&gt;&#xA;&lt;li&gt;Password&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I have tried&lt;/strong&gt;:&#xA;I changed the above 4 details from my organisation to different Outlook email-id of another organisation. But the logs are same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the cause?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks for help in advance.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="3133" LastEditDate="2019-08-05T04:55:51.883" LastActivityDate="2019-08-05T10:39:24.277" Title="Email dispatch: SmtpCmdResp: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied" Tags="|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20290" PostTypeId="2" ParentId="20264" CreationDate="2019-08-05T06:06:47.420" Score="0" Body="&lt;p&gt;Please make sure below things are in place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Thumbprint iscorrect in xconnect app.config and CD/CM server's connectionstring.config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- Make sure, you have given the permission for certificate in MMC for the user which is used in apppool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- xconnect certificates are installed in CD and CM Servers.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="4105" LastActivityDate="2019-08-05T06:06:47.420" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20291" PostTypeId="2" ParentId="8907" CreationDate="2019-08-05T06:29:09.577" Score="0" Body="&lt;p&gt;Please check the below things.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1- Check the connection string on CM Server and check &quot;xconnect.collection.certificate&quot; has the same thumbprint that you have for Xconnect certificate on Xconnect Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2- Make sure your server certificate (SSL) for XConnect is valid and can be validated from CM Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3- run MMC and check that certificate is exist in your local machine&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4- And In MMC&gt;localmachine&gt; edit the permission for certificate and give full control to account(Network Service/something else) in which application is running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let me know if you are facing any issue for the above points&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have given the same solution for below question-&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/19037/sitecore-xp-9-1-1-certificates-error/19048#19048&quot;&gt;Sitecore XP 9.1.1 certificates error&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="4105" LastActivityDate="2019-08-05T06:29:09.577" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20292" PostTypeId="2" ParentId="20270" CreationDate="2019-08-05T06:43:56.040" Score="1" Body="&lt;p&gt;If you are asking about having those captions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nfLAv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nfLAv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then it is will be gone when you turn on poster quality. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have two options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;change the script and remove poster quality if you are using it&lt;/li&gt;&#xA;&lt;li&gt;use HTML Snippet component and insert embedded code for YouTube player.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can change the player options in component-video.js:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-javascript prettyprint-override&quot;&gt;&lt;code&gt;// possible youtube imageQuality values: `default`, `hqdefault`, `mqdefault`, `sddefault` and `maxresdefault`&#xA;$.extend(properties, {&#xA;    plugins: [&quot;youtube&quot;, &quot;flash&quot;, &quot;silverlight&quot;],&#xA;    silverlightName: &quot;silverlightmediaelement.xap&quot;,&#xA;    classPrefix: &quot;mejs-&quot;,&#xA;    success: callback,&#xA;    stretching: &quot;auto&quot;,&#xA;    pluginPath: &quot;../other/&quot;,&#xA;    youtube: {&#xA;        imageQuality: 'maxresdefault' &#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastEditorUserId="95" LastEditDate="2020-01-03T05:02:18.787" LastActivityDate="2020-01-03T05:02:18.787" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20293" PostTypeId="2" ParentId="20285" CreationDate="2019-08-05T07:23:03.633" Score="1" Body="&lt;p&gt;Depending upon the provider you use, you can easily enter values for the sites (the list of sites where the provider(s) will work), &lt;code&gt;identityProviders&lt;/code&gt; (the list of providers), and externalUserBuilder child nodes.&#xA;This config will be your custom file if you are using some other provider and if you are using this for Owin OOTB, you can override Sitecore.Owin.Authentication.config under app_config/Sitecore/Owin.Authentication&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;mapEntry&lt;/code&gt; within the &lt;code&gt;identityProvidersPerSites&lt;/code&gt;, you can define multiple &lt;code&gt;sites&lt;/code&gt; for which you want to enable the authentication - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mapEntry name =&quot;all&quot; type=&quot;Sitecore.FederatedAuthentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.FederatedAuthentication&quot;&amp;gt;&#xA;    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;site&amp;gt;shell&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;admin&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;        &amp;lt;site&amp;gt;xyz&amp;lt;/site&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;    &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;mapEntry&#xA;        &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='AzureAd']&quot; /&amp;gt;&#xA;        &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='IdentityServer']&quot; /&amp;gt;&#xA;    &amp;lt;/identityProviders&amp;gt;&#xA;    &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;         &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;    &amp;lt;/externalUserBuilder&amp;gt;&#xA;&amp;lt;/mapEntry&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With this configuration, a virtual user would be created in the Sitecore instance for the authenticated user but this user might not have permission to access Sitecore client application. you need to provide proper rights to access Sitecore client.&#xA;For more read the configure an identity provider section here - &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/configure-federated-authentication.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/configure-federated-authentication.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-08-05T11:19:09.137" LastActivityDate="2019-08-05T11:19:09.137" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="20294" PostTypeId="1" AcceptedAnswerId="20295" CreationDate="2019-08-05T08:46:00.640" Score="6" ViewCount="1131" Body="&lt;p&gt;How can I get the current Sitecore Role in my c# code like &lt;code&gt;Standalone&lt;/code&gt;, &lt;code&gt;ContentManagement&lt;/code&gt; or &lt;code&gt;ContentDelivery&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="73" LastEditDate="2019-08-05T09:57:57.790" LastActivityDate="2019-08-05T09:57:57.790" Title="Get Current Sitecore Role in Backend" Tags="|server-role|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20295" PostTypeId="2" ParentId="20294" CreationDate="2019-08-05T08:48:20.837" Score="12" Body="&lt;p&gt;You can get Sitecore role using this &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;System.Configuration.ConfigurationManager.AppSettings[&quot;role:define&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This value is stored in &lt;code&gt;appSettings&lt;/code&gt; of &lt;code&gt;Web.config&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;add key=&quot;role:define&quot; value=&quot;Standalone&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-08-05T08:48:20.837" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20296" PostTypeId="1" AcceptedAnswerId="20302" CreationDate="2019-08-05T10:10:53.757" Score="1" ViewCount="749" Body="&lt;p&gt;Sitecore 9.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once we installed &lt;code&gt;Sitecore 9.x&lt;/code&gt; we can find reference database (&lt;code&gt;sitecoreInsatnceName_ReferenceData&lt;/code&gt;) and share databases (&lt;code&gt;sitecoreInsatnceName__Xdb.Collection.Shared0&lt;/code&gt;,&lt;code&gt;sitecoreInsatnceName__Xdb.Collection.ShardMapManager&lt;/code&gt;) into SQL server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please illuminate purpose of these databases.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-08-06T04:25:52.270" LastActivityDate="2019-08-06T04:25:52.270" Title="What is the purpose of Reference Database and Share Databases in Sitecore 9.x?" Tags="|sql-database|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20298" PostTypeId="2" ParentId="20289" CreationDate="2019-08-05T10:39:24.277" Score="3" Body="&lt;p&gt;We have faced the same issue on EXM. The reason was &lt;code&gt;from&lt;/code&gt; address was not a valid one. It wasn't authorized.&lt;/p&gt;&#xA;" OwnerUserId="5814" LastActivityDate="2019-08-05T10:39:24.277" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20299" PostTypeId="2" ParentId="20296" CreationDate="2019-08-05T10:42:22.090" Score="2" Body="&lt;p&gt;Reference Data is common data referenced by data used across the Sitecore Experience Platform, for example while collecting, processing, or reporting. Examples are marketing taxonomies such as Campaigns, Goals, and Outcomes, as well as IP Geolocation or device information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Reference Data service and xDB Reference Data database is used to secure the integrity of data in the Sitecore Experience Database. It is a central store for data referenced throughout the Experience Platform processes, such as tracking, aggregation, and reporting.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/DBmeX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DBmeX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information you can find here: &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/collecting-experience-data.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/collecting-experience-data.html&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-08-05T10:42:22.090" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20300" PostTypeId="2" ParentId="20296" CreationDate="2019-08-05T10:50:44.580" Score="2" Body="&lt;p&gt;From Sitecore 9, Sitecore replaced xDB implementation with xConnect. xConnect uses all above databases. please read more about xConnect here &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/xconnect-218634.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/xconnect-218634.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reference data database is used to store marketing reference data which includes all definitions and taxonomies. please read documentation here &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/xdb-reference-data-database.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/xdb-reference-data-database.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Shard databases are used to store contacts, interactions and device profiles. Shard map manager database is to manage the multiple shard databases. Sitecore is using Microsoft Azure Elastic Database tools for the same. please read more about it here:&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-scale-get-started&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-scale-get-started&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-08-05T10:50:44.580" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20302" PostTypeId="2" ParentId="20296" CreationDate="2019-08-05T11:15:36.593" Score="2" Body="&lt;h1&gt;xDB Reference Data database&lt;/h1&gt;&#xA;&lt;p&gt;Reference Data is common data referenced by data used across the Sitecore Experience Platform, for example while collecting, processing, or reporting. Examples are marketing taxonomies such as Campaigns, Goals, and Outcomes, as well as IP Geolocation or device information.&lt;/p&gt;&#xA;&lt;p&gt;The Reference Data service and xDB Reference Data database is used to secure the integrity of data in the Sitecore Experience Database. It is a central store for data referenced throughout the Experience Platform processes, such as tracking, aggregation, and reporting.&lt;/p&gt;&#xA;&lt;p&gt;Through the Sitecore management interface – for example through the Marketing Control Panel or the Campaign Management application - it is possible to create and update marketing metadata which can be associated with websites, pages, or actions on the web pages. This marketing metadata – for example, Goal or Campaign definitions, Marketing automation plan definitions, or taxonomies – are stored in the Master database. However, when the marketing metadata is ready for use, it needs to be deployed.&lt;/p&gt;&#xA;&lt;p&gt;During the deployment, the Content Management role &lt;em&gt;&lt;strong&gt;deploys&lt;/strong&gt;&lt;/em&gt; the metadata to the Reference Data service, which in turn stores the data in the xDB Reference Data database. Storing the marketing metadata in the xDB Reference Data database means that the integrity of the data in the xDB is secured and that the deployed data can now be used by, for example, the aggregation process, marketing automation service, or in reporting.&lt;/p&gt;&#xA;&lt;p&gt;The xDB Reference Data database contains marketing reference content for all xDB data, such as definitions and taxonomies.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Wr17Y.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Wr17Y.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The xDB Reference Data database is referenced by the following roles:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;xDB Processing&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Reference Data service&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Marketing Automation Engine&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Marketing Automation Operations service&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Assumptions:&lt;/strong&gt;&#xA;Contact data is not saved in the xDB Reference Data database.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Default collation:&lt;/strong&gt;&#xA;Comparisons within the xDB Reference Data Database are case sensitive. Therefore, unlike other databases, the default collation of the xDB Reference Data database is set to Latin1_General_CS_AS.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&#xA;Changing the default collation may result in definition key comparisons producing incorrect results. It is strongly recommended that you do not change the default collation.&lt;/p&gt;&#xA;&lt;h1&gt;xDB Collection database&lt;/h1&gt;&#xA;&lt;p&gt;The xDB Collection database(&lt;code&gt;sitecoreInsatnceName__Xdb.Collection.Shared0&lt;/code&gt;,&lt;code&gt;sitecoreInsatnceName__Xdb.Collection.ShardMapManager&lt;/code&gt;) is likely to experience high read/write activity, and supports sharding. Experience data is sharded in the following way:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Contact and interaction data is sharded by contact ID.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The identifiers index is sharded by identifier.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Device profiles are sharded by device profile ID.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;xConnect uses a change tracking functionality which requires a SQL User so it can access multiple databases. For this reason, contained database authentication cannot be used on the xDB Collection databases (shards and shard manager).&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt; &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13170/why-xdb-collection-shard0-xdb-collection-shard1-and-xdb-collection-shardmapmana&quot;&gt;Why Xdb.Collection.Shard0, Xdb.Collection.Shard1 and Xdb.Collection.ShardMapManager databases in Sitecore 9 are not Partially Contained?&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-08-05T11:48:15.457" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20304" PostTypeId="1" CreationDate="2019-08-05T13:13:22.610" Score="3" ViewCount="84" Body="&lt;p&gt;My Sitecore rocks automatically updated on 8/1 and now opening items throw an error with the following message (see screen shot).  Is there a workaround or something that needs to be reconfigured?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jrOOn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jrOOn.png&quot; alt=&quot;Sitecore Rocks error message dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5864" LastEditorUserId="342" LastEditDate="2019-08-05T18:00:54.613" LastActivityDate="2019-08-06T16:00:45.747" Title="Sitecore Rocks 3.0.281 fails when opening items" Tags="|sitecore-rocks|" AnswerCount="1" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="20307" PostTypeId="1" AcceptedAnswerId="20308" CreationDate="2019-08-05T16:02:34.427" Score="5" ViewCount="9312" Body="&lt;p&gt;Sometimes in the development or other environments (QA,STG,PROD), it is required to increase the size of JVM (Java Virtual Machine) memory. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we increase the JVM memory?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The size is of this memory is displayed on the Solr admin page. &lt;a href=&quot;https://i.stack.imgur.com/PyL3P.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PyL3P.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2022-03-17T04:46:53.423" Title="How to increase Solr JVM memory" Tags="|solr|java|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20308" PostTypeId="2" ParentId="20307" CreationDate="2019-08-05T17:11:41.027" Score="13" Body="&lt;p&gt;The default size that is set is 512MB, but can be changed by adjusting the solr settings.&lt;/p&gt;&#xA;&lt;p&gt;You can increase the memory by doing the following:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the &lt;code&gt;{INSTALLDIR}\bin\solr\solr.in.cmd&lt;/code&gt; file in a text editor of your choice&lt;/li&gt;&#xA;&lt;li&gt;Search for the following &lt;code&gt;REM set SOLR_JAVA_MEM=-Xms512m -Xmx512m&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;You can copy paste the line or just remove the &lt;code&gt;REM&lt;/code&gt; portion to allow a new value to be set&lt;/li&gt;&#xA;&lt;li&gt;Replace the &lt;code&gt;-Xms512m -Xmx512m&lt;/code&gt; value with the value you want (1GB would be -Xms1g -Xmx1g, 10GB would be -Xms10g -Xmx10g, etc)&lt;/li&gt;&#xA;&lt;li&gt;Save the file and restart your Solr service for the new size to be applied.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&#xA;The file is&#xA;&lt;code&gt;{INSTALLDIR}\bin\solr\solr.in.sh&lt;/code&gt;,&#xA;the line is e.g.&#xA;&lt;code&gt;SOLR_JAVA_MEM=&amp;quot;-Xms2g -Xmx2g&amp;quot;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="731" LastEditorUserId="-1" LastEditDate="2022-03-17T04:46:53.423" LastActivityDate="2022-03-17T04:46:53.423" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20311" PostTypeId="2" ParentId="17640" CreationDate="2019-08-06T07:07:33.257" Score="1" Body="&lt;p&gt;Harsh Baid's solution &lt;a href=&quot;https://www.harshbaid.in/2019/07/17/sitecore-sxa-open-in-overlay-checkbox-missing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.harshbaid.in/2019/07/17/sitecore-sxa-open-in-overlay-checkbox-missing/&lt;/a&gt; will fix this issue.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the &lt;code&gt;\&amp;lt;Website Root&amp;gt;\sitecore\shell\Controls\Rich Text Editor\EditorPage.aspx&lt;/code&gt; file&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add the following attribute&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;ExternalDialogsPath=&amp;quot;~/sitecore/shell/controls/rich text editor/Dialogs/&amp;quot;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;to the &lt;code&gt;&amp;lt;telerik:radeditor ID=&amp;quot;Editor&amp;quot; ...&lt;/code&gt; node (inside &lt;strong&gt;EditorPage.aspx&lt;/strong&gt; file).&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Clear browser cache&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Sitecore Support reference for this fix is # 22850&lt;/p&gt;&#xA;" OwnerUserId="5867" LastEditorUserId="16" LastEditDate="2020-10-21T15:57:07.183" LastActivityDate="2020-10-21T15:57:07.183" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20312" PostTypeId="2" ParentId="20282" CreationDate="2019-08-06T07:12:03.637" Score="3" Body="&lt;p&gt;You need to place the content inside the &lt;code&gt;overlay&lt;/code&gt; placeholder instead of the &lt;code&gt;main&lt;/code&gt; placeholder.&lt;/p&gt;&#xA;" OwnerUserId="5867" LastEditorUserId="5867" LastEditDate="2019-10-01T07:23:06.827" LastActivityDate="2019-10-01T07:23:06.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20313" PostTypeId="1" CreationDate="2019-08-06T08:05:44.453" Score="0" ViewCount="105" Body="&lt;p&gt;TreeListType field is not getting updated when selecting value from left pane to right pane.&#xA;Updated the value to display the raw value. But it is not updated.&#xA;The value was updated or deleted with DBbrowser. But it is not updated.&#xA;Other fields with the same content have been updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If anyone met the same problem, please tell me how it was solved?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Version：Sitecore Experience Platform 8.1 rev. 160519 (8.1 Update-3)&lt;/p&gt;&#xA;" OwnerUserId="3869" LastEditorUserId="3133" LastEditDate="2019-08-06T14:10:54.500" LastActivityDate="2019-08-06T14:10:54.500" Title="TreeList field cannot be updated" Tags="|sitecore-client|content-editor|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20319" PostTypeId="1" AcceptedAnswerId="20320" CreationDate="2019-08-06T11:32:39.320" Score="3" ViewCount="257" Body="&lt;p&gt;By default only one log file is created in multi-site scenario also.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have come across requirement to generate log file as per site i.e. each site have its own log file. So it'll easy to debug and trace any issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;&#xA;   www.site1.com  &lt;code&gt;log.site1.20190702.152425.txt&lt;/code&gt;&lt;br&gt;&#xA;   www.site2.com  &lt;code&gt;log.site2.20190702.152425.txt&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please illuminate on custom implementation to achieve this.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="342" LastEditDate="2019-08-06T14:44:38.600" LastActivityDate="2019-08-06T14:44:38.600" Title="How to generate site specific log file in multi site scenario?" Tags="|multisite|logging|log4net|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20320" PostTypeId="2" ParentId="20319" CreationDate="2019-08-06T13:02:03.340" Score="6" Body="&lt;p&gt;First, start by adding multiple &lt;code&gt;appender&lt;/code&gt; to your app.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;appender name=&quot;site1&quot; type=&quot;log4net.Appender.RollingFileAppender&quot;&amp;gt;&#xA;        &amp;lt;file value=&quot;site1.txt&quot; /&amp;gt;&#xA;        &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;            &amp;lt;conversionPattern value=&quot;%date %message%newline&quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;/appender&amp;gt;&#xA;    &amp;lt;appender name=&quot;site2&quot; type=&quot;log4net.Appender.FileAppender&quot;&amp;gt;&#xA;        &amp;lt;file value=&quot;site2.txt&quot; /&amp;gt;&#xA;        &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;            &amp;lt;conversionPattern value=&quot;%date %message%newline&quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;    &amp;lt;/appender&amp;gt;&#xA;  &amp;lt;root&amp;gt;&#xA;    &amp;lt;level value=&quot;ALL&quot; /&amp;gt;&#xA;    &amp;lt;appender-ref ref=&quot;site1&quot; /&amp;gt;&#xA;  &amp;lt;/root&amp;gt;&#xA;  &amp;lt;logger additivity=&quot;false&quot; name=&quot;site2&quot;&amp;gt;&#xA;    &amp;lt;level value=&quot;DEBUG&quot;/&amp;gt;&#xA;    &amp;lt;appender-ref ref=&quot;site2&quot; /&amp;gt;&#xA;  &amp;lt;/logger&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;then in code you can call them by: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ILog site1 = LogManager.GetLogger(&quot;site1&quot;);&#xA;ILog site2 = LogManager.GetLogger(&quot;site2&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5814" LastEditorUserId="5814" LastEditDate="2019-08-06T13:09:09.760" LastActivityDate="2019-08-06T13:09:09.760" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20323" PostTypeId="1" AcceptedAnswerId="20326" CreationDate="2019-08-06T14:05:44.783" Score="3" ViewCount="349" Body="&lt;p&gt;I'm using Sitecore 9.1.1, and a multisite setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a custom controller rendering that I view from a page in Site2, my controller had 2 methods: an Index() method that returns the view, and a Submit() method that does something else (called by ajax)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What happens is, inside my Index method, Sitecore.Context.Site.Name returns &quot;Site2&quot; correctly, however when I debug inside my Submit() method, Sitecore.Context.Site.Name returns &quot;Site1&quot; for some bizarre reason! &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried setting a dummy variable with a value and checking what happens inside each of Index() and Submit(), I tried this code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public string x = &quot;x&quot;;&#xA;&#xA;    public ActionResult Index()&#xA;    {&#xA;        x = &quot;y&quot;;&#xA;        return View();&#xA;    }&#xA;&#xA;    [HttpPost]&#xA;    public string Submit(exampleModel ex)&#xA;    {&#xA;       ...&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It turns out, as soon as my breakpoint inside Submit() is hit, &quot;x&quot; is reset back to its original value, I think Sitecore.Context.Site is being reset as well, I have no idea why this is happening though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I need to read the Context.Site.Name correctly, does anyone know why this happens or what I did to cause the reset?&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="3547" LastEditDate="2019-08-07T09:02:26.963" LastActivityDate="2019-08-07T09:02:26.963" Title="Context.Site.Name changes to wrong site when using AJAX call" Tags="|multisite|controller|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20324" PostTypeId="1" CreationDate="2019-08-06T14:21:17.777" Score="3" ViewCount="217" Body="&lt;p&gt;I am looking to get to know about how many words and characters are there in a particular Content Item using Sitecore powershell. I know how to do it for a file. for ex:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Content C:\testfile.txt | Measure-Object –Line -Word&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but unable to do it for a content item. Any suggestions.&lt;/p&gt;&#xA;" OwnerUserId="5870" LastEditorUserId="73" LastEditDate="2019-08-06T14:22:49.307" LastActivityDate="2019-08-06T14:30:14.353" Title="How to get to know how many words are there in a Sitecore Content Item" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20325" PostTypeId="2" ParentId="20324" CreationDate="2019-08-06T14:30:14.353" Score="3" Body="&lt;p&gt;This would do you count for the &lt;code&gt;text&lt;/code&gt; field for the home item.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path &quot;master:\content\home&quot;&#xA;$measure =  $item[&quot;text&quot;] | Measure-Object –Line -Word&#xA;echo $measure&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-08-06T14:30:14.353" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20326" PostTypeId="2" ParentId="20323" CreationDate="2019-08-06T15:21:15.383" Score="6" Body="&lt;p&gt;Sitecore does not resolve the &lt;code&gt;Sitecore.Context&lt;/code&gt; properly in case of the &lt;code&gt;HttpPost&lt;/code&gt; through AJAX requests. I would suggest to add the &lt;code&gt;siteName&lt;/code&gt; as a parameter to your Action as part of the &lt;code&gt;ExampleModel&lt;/code&gt; and pass this data in the AJAX request, example code below, then you can fetch the needed site by the name.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult Index()&#xA;{&#xA;    return View(new ExampleModel &#xA;    {&#xA;        SiteName = Sitecore.Context.Site.Name&#xA;        /* add other fields this view model if needed */&#xA;    });&#xA;}&#xA;&#xA;[HttpPost]&#xA;public string Submit(ExampleModel ex)&#xA;{&#xA;   var matchedSite = Sitecore.Configuration.Factory.GetSiteInfoList().First(site =&amp;gt; site.Name == ex.SiteName);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2019-08-06T15:30:04.540" LastActivityDate="2019-08-06T15:30:04.540" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20327" PostTypeId="1" CreationDate="2019-08-06T15:48:12.710" Score="1" ViewCount="238" Body="&lt;p&gt;I'm following this blog post from Zachary which is pretty clear.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://zacharykniebel.com/blog/sitecore/2016/march/30/using-sitecores-new-addfromtemplate-item-provider-pipeline&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://zacharykniebel.com/blog/sitecore/2016/march/30/using-sitecores-new-addfromtemplate-item-provider-pipeline&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only issue is that the proposed processor uses &lt;code&gt;AddFromTemplateProcessor&lt;/code&gt; as the base class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm doing this work for a &lt;strong&gt;Sitecore 7.2&lt;/strong&gt; instance and it looks like the above-mentioned class isn't on &lt;code&gt;Sitecore.Pipelines.ItemProvider&lt;/code&gt; from &lt;code&gt;Sitecore.Kernel.DLL&lt;/code&gt; as usual.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the strategy to achieve this goal in a Sitecore 7.2?&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2023-12-14T01:06:40.770" Title="How to link branch template children items (data sources) with its parent renderings in Sitecore 7.2?" Tags="|datasource|branch|processor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20328" PostTypeId="2" ParentId="20327" CreationDate="2019-08-06T15:48:12.710" Score="0" Body="&lt;p&gt;After a long investigation, it looks like this is &lt;strong&gt;not possible at all&lt;/strong&gt; in Sitecore 7.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After reading &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/investigating-the-pipeline-based-item-provider-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;this article&lt;/a&gt; from John West I realized that the concept of &lt;strong&gt;pipeline-based item provider&lt;/strong&gt; was introduced on Sitecore 8 only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So even if I still can use the &lt;code&gt;&amp;lt;uiAddFromTemplate&amp;gt;&lt;/code&gt; pipeline, which does the work when using the &lt;code&gt;Insert from template&lt;/code&gt; option, there is no way I can use the &lt;code&gt;&amp;lt;addFromTemplate&amp;gt;&lt;/code&gt; pipeline to make the solution more complete.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-08-06T15:48:12.710" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20329" PostTypeId="2" ParentId="20304" CreationDate="2019-08-06T16:00:45.747" Score="1" Body="&lt;p&gt;The quick answer is now that this has been resolved in Sitecore Rocks 3.0.283, which should auto-update from the &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=JakobChristensen.SitecoreRocks&quot; rel=&quot;nofollow noreferrer&quot;&gt;VS Marketplace&lt;/a&gt; or can be &lt;a href=&quot;https://github.com/Sitecore/Sitecore.Rocks/releases/tag/3.0.283&quot; rel=&quot;nofollow noreferrer&quot;&gt;downloaded on GitHub&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The details are that there was an issue in the 3.0.281 release of Sitecore Rocks which caused a &lt;code&gt;MissingMethodException&lt;/code&gt; in &lt;code&gt;Sitecore.Diagnostics.Log&lt;/code&gt; when run against Sitecore 8.x. Sitecore Rocks 3.0 is built against Sitecore 9.1, which adds overloads to the &lt;code&gt;Log&lt;/code&gt; class to discourage incorrect use (passing in an &lt;code&gt;Exception&lt;/code&gt; without an &lt;code&gt;owner&lt;/code&gt;). Rocks had such an incorrect use which was not fixed on release, so when executed against Sitecore 8.x, the overload was not available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can see the fix in &lt;a href=&quot;https://github.com/Sitecore/Sitecore.Rocks/commit/71697351fa57ef8cfc3ae0e1cbb54d0b8eb1c8ec&quot; rel=&quot;nofollow noreferrer&quot;&gt;this commit&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2019-08-06T16:00:45.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20330" PostTypeId="1" AcceptedAnswerId="20331" CreationDate="2019-08-06T16:10:41.397" Score="7" ViewCount="1023" Body="&lt;p&gt;Or is it like the difference between hooks and processors? (where a hook is executed by a specific processor) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or are processors used for non-visual/http process and are instead used for things like commands or background actions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For clarity, both &lt;code&gt;&amp;lt;pipelines&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;processors&amp;gt;&lt;/code&gt; are composed of sub-elements. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Pipelines&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;pipelines&amp;gt;&#xA;    &amp;lt;httpRequestBegin&amp;gt; &amp;lt;!-- pipeline name --&amp;gt;&#xA;      &amp;lt;processor type=&quot;class, assembly&quot; /&amp;gt; &amp;lt;!-- 1 or more sub-elements --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Processors&lt;/h2&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;processors&amp;gt;&#xA;    &amp;lt;uiAddFromTemplate&amp;gt; &amp;lt;!-- processor name --&amp;gt;&#xA;      &amp;lt;processor type=&quot;class, assembly&quot; /&amp;gt; &amp;lt;!-- 1 or more sub-elements --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Is there any real difference between them?&lt;/p&gt;&#xA;" OwnerUserId="4394" LastEditorUserId="556" LastEditDate="2019-08-08T16:38:51.737" LastActivityDate="2019-08-08T16:38:51.737" Title="Whats the difference between /configuration/sitecore/processors and /configuration/sitecore/pipelines in Sitecore configuration?" Tags="|pipelines|processor|" AnswerCount="4" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20331" PostTypeId="2" ParentId="20330" CreationDate="2019-08-06T16:21:21.593" Score="6" Body="&lt;p&gt;From Sitecore documentation:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Pipelines define a sequence of processors that implement a function, such as defining the Sitecore context for an HTTP request or generating a list of messages in the Content Editor. Pipelines assist with encapsulation, flexible configuration, separation of concerns, testability and other objectives.&lt;/p&gt;&#xA;&lt;p&gt;Each processor in a pipeline contains a method named Process() that accepts a single argument and returns void. A processor can abort the pipeline, preventing Sitecore from invoking subsequent processors.&lt;/p&gt;&#xA;&lt;p&gt;The argument that is passed to the Process() method must be of a type that is specific to the pipeline or be the default argument —Sitecore.Pipelines.PipelineArgs. To create a pipeline processor, create a class that implements a method named Process() with the same signature as the other processors in the pipeline. This processor can inherit from an existing processor, and you can add, remove, replace, and rearrange processors in the pipelines to suit your requirements.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Read more in &lt;a href=&quot;https://doc.sitecore.com/legacy-docs/SC75/sitecore-pipelines-sc65-66-a4.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Pipelines&lt;/a&gt; document. It's for Sitecore 6.5 but the concept is still the same.&lt;/p&gt;&#xA;&lt;hr /&gt;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Both &lt;code&gt;&amp;lt;processors&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;pipelines&amp;gt;&lt;/code&gt; nodes in Sitecore configuration are used for defining pipelines.&lt;/p&gt;&#xA;&lt;p&gt;There are few differences I know about:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;Processors&lt;/code&gt; processors should have parameterless constructors&lt;/li&gt;&#xA;&lt;li&gt;When defining a processor inside &lt;code&gt;&amp;lt;processors&amp;gt;&lt;/code&gt; node, you can specify method name different from &lt;code&gt;Process&lt;/code&gt;, e.g.:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;processors&amp;gt;&#xA;  &amp;lt;uiAddFromTemplate&amp;gt;&#xA;    &amp;lt;processor mode=&amp;quot;on&amp;quot; type=&amp;quot;Sitecore.Shell.Framework.Pipelines.AddFromTemplate,Sitecore.Kernel&amp;quot; &#xA;      method=&amp;quot;GetTemplate&amp;quot; /&amp;gt;&#xA;    &amp;lt;processor mode=&amp;quot;on&amp;quot; type=&amp;quot;Sitecore.Shell.Framework.Pipelines.AddFromTemplate,Sitecore.Kernel&amp;quot; &#xA;      method=&amp;quot;Execute&amp;quot; /&amp;gt;&#xA;  &amp;lt;/uiAddFromTemplate&amp;gt;&#xA;&amp;lt;/processors&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;When defining &lt;code&gt;&amp;lt;pipelines&amp;gt;&lt;/code&gt; pipeline, you can group pipelines (see second &lt;code&gt;&amp;lt;pipelines&amp;gt;&lt;/code&gt; tag inside the group), e.g.:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;pipelines&amp;gt;&#xA;  &amp;lt;group name=&amp;quot;itemProvider&amp;quot; groupName=&amp;quot;itemProvider&amp;quot;&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;addFromTemplate help=&amp;quot;Processors should derive from Sitecore.Pipelines.ItemProvider.AddFromTemplate.AddFromTemplateProcessor.&amp;quot;&amp;gt;&#xA;      &amp;lt;/addFromTemplate&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/group&amp;gt;&#xA;&amp;lt;/pipelines&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;In background Sitecore uses different methods for creation of the pipelines defined in &lt;code&gt;&amp;lt;processors&amp;gt;&lt;/code&gt; and in &lt;code&gt;&amp;lt;pipelines&amp;gt;&lt;/code&gt; config nodes.&lt;/p&gt;&#xA;&lt;p&gt;It looks like &lt;code&gt;&amp;lt;processors&amp;gt;&lt;/code&gt; are mostly used for &lt;code&gt;UI&lt;/code&gt; related stuff.&lt;/p&gt;&#xA;&lt;p&gt;I would recommend to use always &lt;code&gt;&amp;lt;pipelines&amp;gt;&lt;/code&gt; if you want to build any custom funcionality for consistency and transparency.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-08-06T17:04:09.570" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20333" PostTypeId="2" ParentId="20330" CreationDate="2019-08-06T16:21:43.317" Score="4" Body="&lt;p&gt;Sitecore separates the pipelines into &lt;em&gt;two&lt;/em&gt; groups:&lt;br&gt;&#xA;&lt;strong&gt;1.&lt;/strong&gt; Those defined within the &lt;code&gt;/configuration/sitecore/pipelines&lt;/code&gt;- [These pipelines tend to define system processes.]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Examples:&lt;/strong&gt;&#xA;&lt;code&gt;&amp;lt;initialize&amp;gt;&lt;/code&gt;:Initializes the Sitecore application.&lt;br&gt;&#xA;&lt;code&gt;&amp;lt;preprocessRequest&amp;gt;&lt;/code&gt;: This is invoked for each HTTP request managed by ASP.NET. It is more common to use the pipeline for request processing logic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; Those defined within the &lt;code&gt;/configuration/sitecore/processors&lt;/code&gt; – [define pipelines that operate for sitecore client UI requests and can interact with the sitecore logged in user]&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Examples:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;uiAddFromTemplate&amp;gt;&lt;/code&gt;: Add an item based on a data template, branch    template or command template. &lt;br&gt;&#xA;&lt;code&gt;&amp;lt;uiCopyItems&amp;gt;&lt;/code&gt;: Copy an item and its    descendants. &lt;br&gt;&#xA;&lt;code&gt;&amp;lt;uiCloneItems&amp;gt;&lt;/code&gt;: Clone an item and its descendants. &lt;br&gt;&#xA;&lt;code&gt;&amp;lt;uiDeleteItems&amp;gt;&lt;/code&gt;: Delete an item and its descendants. &#xA;&lt;br&gt; &#xA;&lt;code&gt;&amp;lt;loggingin&amp;gt;&lt;/code&gt;: When logging in.&lt;br&gt;&#xA; &lt;code&gt;&amp;lt;loggedin&amp;gt;&lt;/code&gt;: After    login. : Implements logout. &lt;br&gt;&#xA;&lt;code&gt;&amp;lt;saveUI&amp;gt;&lt;/code&gt;: When a CMS user saves    an item. : Upload a media item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you see &lt;code&gt;Sitecore.config&lt;/code&gt; Processors classes must have &lt;strong&gt;parameterless&lt;/strong&gt; constructor.  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- PROCESSORS&#xA;         Classes must have parameterless constructor.&#xA;         Supported attributes:&#xA;           mode=[on|off]&#xA;           type=name of class (case-sensitive).&#xA;           namespace=namespace containing class. If no namespace is included, it is assumed that the namespace is the same as the assembly name.&#xA;           assembly=name of dll containing the class (case-sensitive)&#xA;    --&amp;gt;&#xA;  &amp;lt;processors&amp;gt;&#xA;   &amp;lt;dispatch&amp;gt;&#xA;      &amp;lt;!-- This pipeline has been deprecated - try using the CommandManager object instead --&amp;gt;&#xA;    &amp;lt;/dispatch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-08-07T04:22:24.343" LastActivityDate="2019-08-07T04:22:24.343" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20334" PostTypeId="2" ParentId="20330" CreationDate="2019-08-06T17:57:53.543" Score="-1" Body="&lt;p&gt;In few words : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Processors provide the logic that is used when a pipeline is invoked.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A pipeline is basically a method whose flow is defined using XML.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A pipeline consists of a sequence of processors. A processor is a .NET class that implements a method. When a pipeline is invoked, the processors are run in order.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Pipelines are used to control most of Sitecore’s functionality. Processes ranging from authentication to request handling to publishing to indexing are all controlled through pipelines.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More informations you can find here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorespark.com/article/introduction-to-pipelines&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorespark.com/article/introduction-to-pipelines&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.coreworks.co/sitecore-pipelines-overview&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.coreworks.co/sitecore-pipelines-overview&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-08-06T17:57:53.543" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20335" PostTypeId="2" ParentId="20330" CreationDate="2019-08-06T18:01:07.750" Score="4" Body="&lt;p&gt;As has been pointed out in other answers, &lt;code&gt;&amp;lt;processors&amp;gt;&lt;/code&gt; are used primarily for UI-related activities. They must be executed via &lt;code&gt;Sitecore.Pipelines.PipelineFactory&lt;/code&gt; and &lt;code&gt;Sitecore.Pipelines.Pipeline&lt;/code&gt; instead of &lt;code&gt;Sitecore.Pipelines.CorePipeline&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Functionally, the main difference appears to be that these UI pipelines have the ability to suspend while waiting for user input, and resume on Sheer UI postback. The &lt;code&gt;Pipeline&lt;/code&gt; class has an &lt;code&gt;ID&lt;/code&gt; property which is used for storing it in session. Thus the &lt;code&gt;Pipeline&lt;/code&gt; itself and its args need to be &lt;code&gt;[Serializable]&lt;/code&gt;. You can see some of this suspend/resume logic in &lt;code&gt;Sitecore.Web.UI.Sheer.ClientPage&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Practically, unless you are doing Sheer UI customization, you should stick with use of &lt;code&gt;&amp;lt;pipelines&amp;gt;&lt;/code&gt; / &lt;code&gt;CorePipeline&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="248" LastActivityDate="2019-08-06T18:01:07.750" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20336" PostTypeId="2" ParentId="20246" CreationDate="2019-08-06T18:48:16.243" Score="0" Body="&lt;p&gt;You should verify the items &lt;code&gt;/sitecore/client/Business Component Library/version 2/Layouts/Renderings/Structures/Substructures/GlobalHeader&lt;/code&gt; (and related) in the core database. They have a model and it seems that those are not correct. The model for the GlobalHeader should match &lt;code&gt;Sitecore.Speak.Components.Models.Structures.Substructures.GlobalHeaders.GlobalHeaderRenderingModel,Sitecore.Speak.Components&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you keep getting these errors, try installing a blank Sitecore 9.0.1 and compare the core databases.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-08-06T18:48:16.243" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20337" PostTypeId="1" AcceptedAnswerId="20338" CreationDate="2019-08-06T19:12:26.903" Score="4" ViewCount="541" Body="&lt;p&gt;The Sitecore Installation Wizard allows to install only one package. &lt;br&gt;&lt;br&gt;&#xA;What is the best way to install multiple packages at once?&lt;/p&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="237" LastEditDate="2019-08-07T07:41:32.367" LastActivityDate="2019-08-07T12:24:49.547" Title="How to install multiple Sitecore packages at once?" Tags="|packages|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20338" PostTypeId="2" ParentId="20337" CreationDate="2019-08-06T19:15:50.063" Score="8" Body="&lt;p&gt;You could use Powershell (Sitecore Powershell Extensions).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/packaging/install-package&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecorepowershell.com/appendix/packaging/install-package&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Install-Package [[-Path] ] [-InstallMode ] [-MergeMode ] [-DisableIndexing]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This will install a Sitecore package from the specified path.&#xA;You could add several of these statements into one powershell script if needed.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-08-06T19:15:50.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20339" PostTypeId="2" ParentId="20337" CreationDate="2019-08-06T20:28:23.607" Score="3" Body="&lt;p&gt;You can also unzip all the &lt;code&gt;package.zip&lt;/code&gt;s and put it into one package. As @MichaelWest suggested you would also need to merge the &lt;code&gt;package.zip\installer\project&lt;/code&gt; files. But be aware this way is the hacky way, you could have conflicts with files and items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this workaround you can use the Package Install Wizard if you don't want to/you are not allowed to use Sitecore Powershell Extensions because of any reason.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2019-08-07T12:24:49.547" LastActivityDate="2019-08-07T12:24:49.547" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20341" PostTypeId="1" AcceptedAnswerId="20357" CreationDate="2019-08-07T07:27:07.960" Score="1" ViewCount="631" Body="&lt;p&gt;I am using SXA's search results and dropdown filter to be able to filter items on the search scope by their parent item display name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have it sort of working by first creating a Computed Index field for the title / display name:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ParentTitle : AbstractComputedIndexField&#xA;{&#xA;    public override object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        var obj = (Item)(indexable as SitecoreIndexableItem);&#xA;        if (!string.IsNullOrEmpty(obj?.Parent?[&quot;Title&quot;]))&#xA;            return (object)obj?.Parent?[&quot;Title&quot;];&#xA;        if (!string.IsNullOrEmpty(obj?.Parent?[&quot;__Display Name&quot;]))&#xA;            return (object)obj?.Parent?[&quot;__Display Name&quot;];&#xA;        return (object)false;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I added the field to both Solr and Azure Search configs and confirmed they are indexing correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Azure:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.Azure.FieldMaps.CloudFieldMap, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;    &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;parenttitle&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;    &amp;lt;/fieldNames&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.DocumentBuilderOptions, Sitecore.ContentSearch&quot;&amp;gt;&#xA;    &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;      &amp;lt;field fieldName=&quot;parenttitle&quot; returnType=&quot;string&quot;&amp;gt;Feature.ServiceLocator.Models.ComputedFields.ParentTitle, Feature.ServiceLocator&amp;lt;/field&amp;gt;&#xA;    &amp;lt;/fields&amp;gt;&#xA;&amp;lt;/documentOptions&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solr:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;parenttitle&quot; returnType=&quot;string&quot;&amp;gt;Feature.ServiceLocator.Models.ComputedFields.ParentTitle, Feature.ServiceLocator&amp;lt;/field&amp;gt;&#xA;    &amp;lt;/fields&amp;gt;&#xA;&amp;lt;/documentOptions&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I created a Facet on the parent title index field and added it to the dropdown filter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However it does not filter properly on Azure Search due to the parent name having spaces or other characters such as a comma.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sometimes on Azure Search it sort of works ok: e.g. &quot;around the house&quot; returns mostly the right results with a few extras that I assume are matching other parent titles&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;AzureSearch Query [sitecore_sxa_master_index]: &amp;amp;search=(parenttitle:(around%20the%20house) AND template_1:(bb0d12e06efe4895a21d9a44f271fcfc))&amp;amp;$filter=(latestversion_1 and (path_1/any(t:t eq 'f51e14d7e75b4846abddcdafd6d58cc8')) and searchable and (path_1/any(t:t eq '4aa9044620cd43fb8995b2f2eb54e733')))&amp;amp;queryType=full&amp;amp;$top=2147483647&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;However &quot;mind, body and spirit&quot; does not work - it returns all results:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;AzureSearch Query [sitecore_sxa_master_index]: &amp;amp;search=((parenttitle:(for%20mind) OR parenttitle:(body%20and%20spirit)) AND template_1:(bb0d12e06efe4895a21d9a44f271fcfc))&amp;amp;$filter=(latestversion_1 and (path_1/any(t:t eq 'f51e14d7e75b4846abddcdafd6d58cc8')) and searchable and (path_1/any(t:t eq '4aa9044620cd43fb8995b2f2eb54e733')))&amp;amp;queryType=full&amp;amp;$top=2147483647&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;On Solr it populates the dropdown field correctly, but does not actually return any results. I can see the XHR request returning 0 results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I change the logic so that it is filtering on the parent item ID and just using the parent title for display purposes only? If that's not possible then I'd be interested in any other workarounds? I could add new fields to the actual search result items if that would help.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-08-08T00:34:22.333" LastActivityDate="2019-09-07T01:02:40.313" Title="Search with dropdown filter based on parent item display name" Tags="|sxa|solr|azure-search|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20342" PostTypeId="1" AcceptedAnswerId="20397" CreationDate="2019-08-07T10:00:08.190" Score="3" ViewCount="798" Body="&lt;p&gt;My installation for Sitecore Commerce is failing at the GenerateCatalogTemplates step. I have Sitecore 9.0 update 2 and am attempting to install Sitecore Commerce 9.0 update 3.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The PowerShell prompt has the following output:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Importing Module =&gt; SitecoreUtilityTasks&#xA;&#xA;[--------------------------------------------------------------------------------- GenerateCatalogTemplates : GenerateCatalogTemplates ---------------------------------------------------------------------------------]&#xA;Generating Catalog Templates ...&#xA;Install-SitecoreConfiguration :&#xA;&#xA;        Object reference not set to an instance of an object.&#xA;&#xA;&#xA;         body {font-family:&quot;Verdana&quot;;font-weight:normal;font-size: .7em;color:black;}&#xA;         p {font-family:&quot;Verdana&quot;;font-weight:normal;color:black;margin-top: -5px}&#xA;         b {font-family:&quot;Verdana&quot;;font-weight:bold;color:black;margin-top: -5px}&#xA;         H1 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:18pt;color:red }&#xA;         H2 { font-family:&quot;Verdana&quot;;font-weight:normal;font-size:14pt;color:maroon }&#xA;         pre {font-family:&quot;Consolas&quot;,&quot;Lucida Console&quot;,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}&#xA;         .marker {font-weight: bold; color: black;text-decoration: none;}&#xA;         .version {color: gray;}&#xA;         .error {margin-bottom: 10px;}&#xA;         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }&#xA;         @media screen and (max-width: 639px) {&#xA;          pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }&#xA;         }&#xA;         @media screen and (max-width: 479px) {&#xA;          pre { width: 280px; }&#xA;         }&#xA;&#xA;&#xA;&#xA;            Server Error in '/' Application.&#xA;             Object reference not set to an instance of an object.&#xA;&#xA;             Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;             Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.&#xA;            Source Error:&#xA;&#xA;&#xA;&#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;&#xA;&#xA;&#xA;            Stack Trace:&#xA;&#xA;&#xA;&#xA;&#xA;[NullReferenceException: Object reference not set to an instance of an object.]&#xA;   Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.GetEntityIdFromMappings(String sitecoreId) +100&#xA;   Sitecore.Commerce.Engine.Connect.DataProvider.ReadOnlyCatalogDataProvider.GetItemDefinition(ID itemId, CallContext context) +177&#xA;   Sitecore.Data.DataProviders.DataProvider.GetItemDefinition(ID itemID, CallContext context, DataProviderCollection providers) +146&#xA;   Sitecore.Data.DataSource.GetItemInformation(ID itemID) +87&#xA;   Sitecore.Data.DataSource.GetItemDefinition(ID itemID) +18&#xA;   Sitecore.Data.Engines.TemplateEngine.LoadItemBasedTemplate(ID templateId) +40&#xA;   Sitecore.Data.Engines.TemplateEngine.AddItemBasedTemplates(TemplateDictionary result) +196&#xA;   Sitecore.Data.Engines.TemplateEngine.InternalGetTemplates() +492&#xA;   Sitecore.Data.Engines.TemplateEngine.GetTemplate(ID templateId) +190&#xA;   Sitecore.XA.Foundation.SitecoreExtensions.Extensions.&amp;lt;GetContentItemsOfTemplate&amp;gt;d__0.MoveNext() +170&#xA;   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +436&#xA;   System.Linq.Enumerable.ToList(IEnumerable`1 source) +69&#xA;   Sitecore.XA.Foundation.Multisite.SiteResolvers.EnvironmentSitesResolver.ResolveAllSites(Database database) +81&#xA;   Sitecore.XA.Foundation.Multisite.Providers.SxaSiteProvider.GetSiteList() +159&#xA;   Sitecore.XA.Foundation.Multisite.Providers.SxaSiteProvider.InitializeSites() +78&#xA;   Sitecore.XA.Foundation.Multisite.Providers.SxaSiteProvider.GetSites() +18&#xA;   System.Linq.&amp;lt;SelectManyIterator&amp;gt;d__17`2.MoveNext() +262&#xA;   Sitecore.Sites.SiteCollection.AddRange(IEnumerable`1 sites) +137&#xA;   Sitecore.Sites.SitecoreSiteProvider.GetSites() +218&#xA;   Sitecore.Sites.DefaultSiteContextFactory.GetSites() +253&#xA;   Sitecore.XA.Foundation.Multisite.SiteInfoResolver.get_Sites() +60&#xA;   Sitecore.XA.Feature.Search.Pipelines.Initialize.InitializeRouting.Process(PipelineArgs args) +60&#xA;   (Object , Object ) +9&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +484&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +161&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +767&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +581&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369&#xA;[HttpException (0x80004005): Object reference not set to an instance of an object.]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +714&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;            Version Information:&amp;nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0&#xA;&#xA;&#xA;d__0.MoveNext()&#xA;   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&#xA;   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)&#xA;   at Sitecore.XA.Foundation.Multisite.SiteResolvers.EnvironmentSitesResolver.ResolveAllSites(Database database)&#xA;   at Sitecore.XA.Foundation.Multisite.Providers.SxaSiteProvider.GetSiteList()&#xA;   at Sitecore.XA.Foundation.Multisite.Providers.SxaSiteProvider.InitializeSites()&#xA;   at Sitecore.XA.Foundation.Multisite.Providers.SxaSiteProvider.GetSites()&#xA;   at System.Linq.Enumerable.d__17`2.MoveNext()&#xA;   at Sitecore.Sites.SiteCollection.AddRange(IEnumerable`1 sites)&#xA;   at Sitecore.Sites.SitecoreSiteProvider.GetSites()&#xA;   at Sitecore.Sites.DefaultSiteContextFactory.GetSites()&#xA;   at Sitecore.XA.Foundation.Multisite.SiteInfoResolver.get_Sites()&#xA;   at Sitecore.XA.Feature.Search.Pipelines.Initialize.InitializeRouting.Process(PipelineArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Nexus.Web.HttpModule.Application_Start()&#xA;   at Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app)&#xA;   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)&#xA;   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)&#xA;   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)&#xA;   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)&#xA;[HttpException]: Object reference not set to an instance of an object.&#xA;   at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)&#xA;   at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)&#xA;   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)&#xA;--&gt;&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21&#xA;+                     &amp; $entry.Task.Command @paramSet | Out-Default&#xA;+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This doesn't tell us very much, but checking the Sitecore logs show&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;27700 00:06:32 ERROR Authentication Error&#xA;Exception: System.Exception&#xA;Message: The certificate thumbprint is invalid or missing from your configuration, secure communication with the Commerce Engine is not possible.&#xA;&#xA;ManagedPoolThread #6 00:06:32 ERROR An error occurred while loading mapping entries: System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.LoadMappingEntries()&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Commerce.Engine.Connect&#xA;   at Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.LoadMappingEntries()&#xA;&#xA;ManagedPoolThread #6 00:06:32 INFO  Commerce.Connector - Release mapping lock&#xA;ManagedPoolThread #6 00:06:32 ERROR Exception&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.Commerce.Engine.Connect&#xA;   at Sitecore.Commerce.Engine.Connect.DataProvider.CatalogRepository.GetEntityIdFromMappings(String sitecoreId)&#xA;   at Sitecore.Commerce.Engine.Connect.DataProvider.ReadOnlyCatalogDataProvider.GetItemDefinition(ID itemId, CallContext context)&#xA;   at Sitecore.Data.DataProviders.DataProvider.GetItemDefinition(ID itemID, CallContext context, DataProviderCollection providers)&#xA;   at Sitecore.Data.DataSource.GetItemInformation(ID itemID)&#xA;   at Sitecore.Data.DataSource.GetItemDefinition(ID itemID)&#xA;   at Sitecore.Data.Engines.TemplateEngine.LoadItemBasedTemplate(ID templateId)&#xA;   at Sitecore.Data.Engines.TemplateEngine.AddItemBasedTemplates(TemplateDictionary result)&#xA;   at Sitecore.Data.Engines.TemplateEngine.InternalGetTemplates()&#xA;   at Sitecore.Data.Engines.TemplateEngine.GetTemplate(ID templateId)&#xA;   at Sitecore.XA.Foundation.SitecoreExtensions.Extensions.DatabaseExtensions.d__0.MoveNext()&#xA;   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&#xA;   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)&#xA;   at Sitecore.XA.Foundation.Multisite.SiteResolvers.EnvironmentSitesResolver.ResolveAllSites(Database database)&#xA;   at Sitecore.XA.Foundation.Multisite.Providers.SxaSiteProvider.GetSiteList()&#xA;   at Sitecore.XA.Foundation.Multisite.Providers.SxaSiteProvider.InitializeSites()&#xA;   at Sitecore.XA.Foundation.Multisite.Providers.SxaSiteProvider.GetSites()&#xA;   at System.Linq.Enumerable.d__17`2.MoveNext()&#xA;   at Sitecore.Sites.SiteCollection.AddRange(IEnumerable`1 sites)&#xA;   at Sitecore.Sites.SitecoreSiteProvider.GetSites()&#xA;   at Sitecore.Sites.DefaultSiteContextFactory.GetSites()&#xA;   at Sitecore.Sites.DefaultSiteContextFactory.GetSiteInfo(String name)&#xA;   at Sitecore.Sites.DefaultSiteContextFactory.GetSiteContext(String name)&#xA;   at Sitecore.Context.SetActiveSite(String siteName)&#xA;   at Sitecore.Jobs.JobRunner.InitializeContext(JobArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Jobs.Job.DoExecute()&#xA;   at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is a certificate thumbprint error.&#xA;I think it's the same thing being &lt;a href=&quot;https://sitecore.stackexchange.com/questions/15564/error-during-generating-catalog-templates-installation-step-sitecore-commerce&quot;&gt;reported here&lt;/a&gt;. I tried the suggested answer, but it did not fix the problem. As per that answer I checked the &lt;code&gt;&amp;lt;certificateThumbprint&amp;gt;&lt;/code&gt; value in &lt;code&gt;C:\inetpub\wwwroot\mysite.local\App_Config\Include\Y.Commerce.Engine\Sitecore.Commerce.Engine.Connect.config&lt;/code&gt; and verified that it matches the certificate thumbprint value in the following files&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CommerceAuthoring_Sc9\wwwroot\config.json&lt;/li&gt;&#xA;&lt;li&gt;CommerceMinions_Sc9\wwwroot\config.json&lt;/li&gt;&#xA;&lt;li&gt;CommerceOps_Sc9\wwwroot\config.json&lt;/li&gt;&#xA;&lt;li&gt;CommerceShops_Sc9\wwwroot\config.json&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The certificate thumbprint corresponds to the &quot;storefront.local&quot; certificate. I have also tried the thumbprints for &quot;mysite.local&quot; and &quot;localhost&quot; (the one which is used as there are two localhost certificates).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In IIS: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;mysite.local has http and https bindings for mysite.local and storefront.local. The https bindings both reference the certificate mysite.local.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CommerceAuthoring_Sc9, CommerceMinions_Sc9, CommerceOps_Sc9 and CommerceShops_Sc9 have only https bindings for localhost (with ports 5000, 5010,  5015 and 5005 respectively) each of these sites reference the certificate &quot;Sitecore Commerce Services SSL Certificate&quot; (which shows as localhost in MMC).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In MMC I looked at Certificates (Local Computer)\Personal\Computer and could not find &quot;Sitecore Commerce Services SSL Certificate&quot;. I ran the PowerShell command &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;cd CERT:\\&#xA;dir -recurse | where {$_.FriendlyName -eq &quot;Sitecore Commerce Services SSL Certificate&quot;} | Format-List -Property *&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which returned&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;PSPath                   : Microsoft.PowerShell.Security\Certificate::LocalMachine\My\C6521297654346EDDEE6C289F6907F40C&#xA;                           3C1352A&#xA;PSParentPath             : Microsoft.PowerShell.Security\Certificate::LocalMachine\My&#xA;PSChildName              : C6521297654346EDDEE6C289F6907F40C3C1352A&#xA;PSDrive                  : Cert&#xA;PSProvider               : Microsoft.PowerShell.Security\Certificate&#xA;PSIsContainer            : False&#xA;EnhancedKeyUsageList     : {Client Authentication (1.3.6.1.5.5.7.3.2), Server Authentication (1.3.6.1.5.5.7.3.1)}&#xA;DnsNameList              : {localhost}&#xA;SendAsTrustedIssuer      : False&#xA;EnrollmentPolicyEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty&#xA;EnrollmentServerEndPoint : Microsoft.CertificateServices.Commands.EnrollmentEndPointProperty&#xA;PolicyId                 :&#xA;Archived                 : False&#xA;Extensions               : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid,&#xA;                           System.Security.Cryptography.Oid, System.Security.Cryptography.Oid...}&#xA;FriendlyName             : Sitecore Commerce Services SSL Certificate&#xA;IssuerName               : System.Security.Cryptography.X509Certificates.X500DistinguishedName&#xA;NotAfter                 : 03/08/2020 16:05:26&#xA;NotBefore                : 05/08/2019 14:54:25&#xA;HasPrivateKey            : True&#xA;PrivateKey               : System.Security.Cryptography.RSACryptoServiceProvider&#xA;PublicKey                : System.Security.Cryptography.X509Certificates.PublicKey&#xA;RawData                  : {48, 130, 3, 148...}&#xA;SerialNumber             : 27EBAE913107D1854408E5D4E64E5997&#xA;SubjectName              : System.Security.Cryptography.X509Certificates.X500DistinguishedName&#xA;SignatureAlgorithm       : System.Security.Cryptography.Oid&#xA;Thumbprint               : C6521297654346EDDEE6C289F6907F40C3C1352A&#xA;Version                  : 3&#xA;Handle                   : 2765686865360&#xA;Issuer                   : CN=DO_NOT_TRUST_SitecoreRootCert, O=DO_NOT_TRUST, OU=Created by https://www.sitecore.net&#xA;Subject                  : CN=localhost&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is the &quot;localhost&quot; certificate. There are actually two localhost certificates in the above folder in MMC. Do I need to delete one of them? Which certificate thumbprint actually needs to be used in the above config settings?&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2019-08-07T11:27:11.743" LastActivityDate="2021-07-20T23:25:46.727" Title="Certificate error during GenerateCatalogTemplates step of commerce installation" Tags="|sitecore-commerce|certificate|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20343" PostTypeId="1" AcceptedAnswerId="20344" CreationDate="2019-08-07T11:27:49.870" Score="-1" ViewCount="304" Body="&lt;p&gt;I have &lt;code&gt;SXM 9.1&lt;/code&gt; and &lt;code&gt;Sitecore XC 9.1&lt;/code&gt; installed. Our requirement is to create &lt;code&gt;SXC&lt;/code&gt; website headless. So I installed &lt;code&gt;Sitecore JSS (Sitecore JavaScript Services 11.1.0)&lt;/code&gt; but while installing it asked to overwrite the  layout service. I allowed replacing all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After installation, when I access to check the layout service, it is not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any compatibility issue with &lt;code&gt;Sitecore XC 9.1&lt;/code&gt; and &lt;code&gt;Sitecore JSS 11.1&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="135" LastEditDate="2019-08-07T20:54:21.477" LastActivityDate="2019-08-07T20:54:21.477" Title="JSS layout service not working with Sitecore Commerce 9.1" Tags="|sitecore-commerce|jss|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20344" PostTypeId="2" ParentId="20343" CreationDate="2019-08-07T11:54:32.663" Score="1" Body="&lt;p&gt;You need to NOT overwrite all, when asked. SXA has some things sitting in LayoutService which has now been overwritten by JSS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to restore your backup to the point before you installed JSS, then re-install it and select &quot;Merge&quot; when asked, instead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the record, Sitecore does not officially support JSS 11 and SXA 1.8.1.  You need Sitecore 9.2 and JSS 12 for official support.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-07T11:54:32.663" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20345" PostTypeId="1" AcceptedAnswerId="20352" CreationDate="2019-08-07T16:41:05.360" Score="0" ViewCount="297" Body="&lt;p&gt;Is there a way to enable Buckets view by default for all users?  I can see the Buckets item in the core database, but there doesn't seem to be a field that allows for enabling by default.&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="70" LastEditDate="2019-08-07T16:45:51.660" LastActivityDate="2019-08-07T18:21:41.637" Title="Enable view buckets by default?" Tags="|content-editor|buckets|" AnswerCount="1" CommentCount="6" ClosedDate="2019-08-08T13:23:56.147" ContentLicense="CC BY-SA 4.0" />
  <row Id="20346" PostTypeId="1" CreationDate="2019-08-07T16:50:16.440" Score="0" ViewCount="122" Body="&lt;p&gt;I am retrieving the date from the service and I am mapping and displaying the details of what service gives in that what are the common text details which need to come from Sitecore it displays it's fine but what is my question is -&gt; whatever I am displaying the details from Sitecore in Experience editor it is not displaying and how to make it as experience editable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;const Points = ({ dataSource, rendering, sitecoreContext }) =&amp;gt; &#xA;{ return (&amp;lt;div&amp;gt;{weekGroup.ActivityList &amp;amp;&amp;amp; weekGroup.ActivityList.map((point, index) =&amp;gt; (point.EventDate &amp;amp;&amp;amp; isExperienceEditorActive() ? &#xA;( &amp;lt;Text field={dataSource.Today} //Here I am getting the data from sitecore but this static data is not displayin in the experience editor ? please help me on this &#xA; /&amp;gt;)))} &#xA;&amp;lt;/div&amp;gt;)}&#xA;&lt;/code&gt;&#xA;In code any braces missing and all please don't consider that this is how i am approching please guide me on this how we can acheive in experience editor?&#xA;Whatever the about text it has to be editable in? but currently, I am unable to edit it I have tried many things but no luck. Please find below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;code&gt;isExperienceEditorActive()&lt;/code&gt; --&gt; not working&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;props.sitecoreContext&lt;/code&gt; --&gt; not working&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;sitecoreContext.pageEditing&lt;/code&gt;--&gt; not working&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please help me on this Advance thanks a lot.&lt;/p&gt;&#xA;" OwnerUserId="5765" LastEditorUserId="5765" LastEditDate="2019-08-07T18:54:47.030" LastActivityDate="2019-08-07T18:54:47.030" Title="How to make experience editor editable If List of data inside the map" Tags="|experience-editor|jss|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20347" PostTypeId="1" AcceptedAnswerId="20350" CreationDate="2019-08-07T17:18:13.880" Score="3" ViewCount="94" Body="&lt;p&gt;I know how to create a custom launchpad button, but I'd like to make one that links to the content editor with a view of My Items displayed (maybe even maximized).  It looks like this is a JS call within the content editor, so I'm wondering if it's possible at all to access as a standard link property of a launchpad button?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-08-07T18:01:08.223" Title="Create a link to My Items on the launchpad" Tags="|content-editor|launchpad|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20348" PostTypeId="1" AcceptedAnswerId="20736" CreationDate="2019-08-07T17:33:30.553" Score="0" ViewCount="1259" Body="&lt;p&gt;I am having some trouble creating a new Sitecore Form. I am able to launch the Forms app. But when I click the blue &lt;code&gt;Create&lt;/code&gt; button and select &lt;code&gt;Blank form&lt;/code&gt;, the page loads for a second and then displays an error: &lt;code&gt;The form was not loaded due to an error.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ygM9N.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ygM9N.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did some snooping, and found that around the time the page switches to the error mode there is a 404 error being returned for an API request to &lt;code&gt;http://mydomain.localhost/formbuilder/load?id=&amp;amp;sc_formmode=new&amp;amp;sc_formlang=&amp;amp;_=1565192173806&lt;/code&gt;. Tracked that down to a call from a Javascript file &lt;code&gt;http://mydomain.localhost/-/speak/v1/components/FormDesignBoard.js&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GM25I.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GM25I.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas what could be causing this error? I found &lt;a href=&quot;https://sitecore.stackexchange.com/questions/13963/the-form-was-not-loaded-due-to-an-error-401-403-unauthorized&quot;&gt;this other question that seems similar&lt;/a&gt;, though their error reports a 401/403 while my AJAX request definitely returns a 404. I tried their recommendation to add the &lt;code&gt;sitecore/Forms Editor&lt;/code&gt; role to my Administrator user, but no luck. Still get the same 404 result. Even tried logging out/in again and rebooting my local server after altering my user roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As referenced &lt;a href=&quot;https://sitecore.stackexchange.com/questions/20246/exception-when-opening-the-sitecore-9-forms-application&quot;&gt;in my previous question&lt;/a&gt;, I am running Sitecore 9.0.1 r171219 that we upgraded from Sitecore 8.1.0 r160302. It is quite possible that something did not get upgraded properly, but I am at a loss as to where to look. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried swapping my Core database for the stock Core Sitecore database provided in the 9.0.1 release, but still received the same error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also gone through the filesystem and compared my site structure to the stock Sitecore file structure. There were differences, but they were ones that I expected to see; nothing jumped out at me as being related to Forms functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: &#xA;Log files show nothing of interest, sadly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have now also commented out a couple &lt;code&gt;httpRequestBegin&lt;/code&gt; pipelines to see if they were the cause. No luck -- still same 404 error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone have any ideas on other things to look at?&lt;/p&gt;&#xA;" OwnerUserId="5848" LastEditorUserId="5848" LastEditDate="2019-08-07T18:11:58.713" LastActivityDate="2019-08-28T15:54:17.017" Title="Creating new Form error `The Form was not loaded due to an error`" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="9" ClosedDate="2019-08-28T15:58:34.507" ContentLicense="CC BY-SA 4.0" />
  <row Id="20349" PostTypeId="2" ParentId="1732" CreationDate="2019-08-07T17:50:25.293" Score="0" Body="&lt;p&gt;We encounter this issue after merging our code from another branch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case we solved it by copying files (i.e. App_config,Bin,Views etc except for App_data) from a working Sitecore instance, preferably from a higher environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ensure the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;you copied the files from CM and not the files from your CD site.&lt;/li&gt;&#xA;&lt;li&gt;you restored core, master, and web database from the same higher&#xA;environment.&lt;/li&gt;&#xA;&lt;li&gt;make a backup of your configs(connectionstrings etc) just incase.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3169" LastActivityDate="2019-08-07T17:50:25.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20350" PostTypeId="2" ParentId="20347" CreationDate="2019-08-07T18:01:08.223" Score="3" Body="&lt;p&gt;First of all you need to switch to core database .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to add a new MyItems LauchPad Button under:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;/sitecore/client/Applications/Launchpad/PageSettings/Buttons/ContentEditing/&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to set the link field value to : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;/sitecore/shell/-/xaml/Sitecore.Shell.Applications.WebEdit.Dialogs.LockedItems.aspx&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Nh977.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Nh977.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-08-07T18:01:08.223" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20351" PostTypeId="2" ParentId="12838" CreationDate="2019-08-07T18:02:49.837" Score="2" Body="&lt;p&gt;The training course is to partially blame, unfortunately. For some reason they include a pre-release NuGet package for Sitecore.Kernel.NoReference, which has an old DLL of Sitecore.Kernel. While they do instruct you to manually alter the publish profile to exclude this DLL from being deployed, if you made a mistake or skipped this step it is easy to accidentally deploy this bad DLL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can manually revert that DLL as in sh1rts answer, but you should also figure out why you deployed it (I accidentally added a leading backslash to the path in my publish profile) or apply Dawid's suggestion.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also change your NuGet package to point at the offical Sitecore NuGet feed (&lt;a href=&quot;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.myget.org/F/sc-packages/api/v3/index.json&lt;/a&gt;) and reference the correct package for the 9.0.0 release (v9.0.171002), ensuring your code is compiling against the correct DLL as well.&lt;/p&gt;&#xA;" OwnerUserId="194" LastEditorUserId="194" LastEditDate="2019-08-09T17:35:01.713" LastActivityDate="2019-08-09T17:35:01.713" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20352" PostTypeId="2" ParentId="20345" CreationDate="2019-08-07T18:21:41.637" Score="3" Body="&lt;p&gt;From you question I am understanding that you want to enable bucket view by default for all the users, which mean every user can see the bucket items in the content tree as date, month, day folder format(usually). This can achieve by updating the &lt;code&gt;Sitecore.Buckets.config&lt;/code&gt; file. In this file, there is a section called &lt;code&gt;dataviews&lt;/code&gt;- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dataviews&amp;gt;&#xA;      &amp;lt;dataview name=&quot;Master&quot; &amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;assembly&quot;&amp;gt;Sitecore.Buckets&amp;lt;/patch:attribute&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;type&quot;&amp;gt;Sitecore.Buckets.Forms.BucketDataView&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/dataview&amp;gt;&#xA;&amp;lt;/dataviews&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to simply comment out or remove this section. After that Buckets checkbox will not work longer. This section is used to set the view about how items should be rendered in the content tree. You can easily override the existing code as well if you don't like the idea of removing the functionality.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-07T18:21:41.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20353" PostTypeId="1" CreationDate="2019-08-07T18:30:24.167" Score="2" ViewCount="82" Body="&lt;p&gt;I have a scenario where a client wants to build a list of articles based on the user's browsing history stored in analytics. So performing a search, but with criteria based on &quot;because you viewed X, Y, and Z pages.&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would think this is something done with analytics that isn't too difficult, but I haven't seen a good sample in my searching. I also imagine this is heavily reliant on the client tagging their data appropriately as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Are there any good primers on this type of functionality, both from the programmatic as well as the authoring sides?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="70" LastEditDate="2019-08-07T18:33:05.333" LastActivityDate="2019-08-07T19:11:15.170" Title="Get content based on browsing history in analytics" Tags="|xdb|personalization|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20356" PostTypeId="1" AcceptedAnswerId="20360" CreationDate="2019-08-07T21:28:22.910" Score="0" ViewCount="128" Body="&lt;p&gt;We have a custom search page that makes use of the default components (search results, results count and page selector) along with the custom location finder (Location search box + services dropdown + distance dropdown). We want to trigger the search on the button click (JS) along with the search box functionalty (shipped default). On the button click, we need to perform the following &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;generate the geo-coordinates for the address entered &lt;/li&gt;&#xA;&lt;li&gt;create hash parameters based on the geo codes and other filter dropdown and update the url&lt;/li&gt;&#xA;&lt;li&gt;trigger the search call to render the results.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Note: We do not want to use facet filter. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can someone guide us to achieve this ?&lt;/p&gt;&#xA;" OwnerUserId="5800" LastActivityDate="2019-08-08T07:29:30.383" Title="Customize the Location finder component" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20357" PostTypeId="2" ParentId="20341" CreationDate="2019-08-08T00:32:13.040" Score="1" Body="&lt;p&gt;Thanks to Richard Seal for getting me to have a look at the azure config again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I changed it to add facetable etc attributes as well as the language analyzer which has fixed the issue for Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.Azure.FieldMaps.CloudFieldMap, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;    &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;parenttitle&quot; searchable=&quot;YES&quot; retrievable=&quot;YES&quot; facetable=&quot;YES&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; cloudAnalyzer=&quot;language&quot;/&amp;gt;&#xA;    &amp;lt;/fieldNames&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-08-08T00:32:13.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20358" PostTypeId="1" CreationDate="2019-08-08T06:11:47.443" Score="0" ViewCount="176" Body="&lt;p&gt;We have a lot Headlines and a lot of long words. And on mobile devices we got some problems that the words are too long and it would be nice if we could use &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;amp;shy;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to break the words around&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;body {&#xA;   hyphens: manual;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I don't think its a good idea to set every headline field from Single/Mulitline line text to rich text. I think then I've some new problems. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I try to insert the shy directly into the single line text it gets deleted after saving it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Someone got some good idea how to solve it without ripping the performance?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version 9.0 Upate-2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem that the shy is removed seems to be only if I use the custom Experience Editor Extension - modal to edit all fields from a component&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when I edit the field in the Content editor or directly in the Experience Editor the shy shows up but is not converted&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tmuZU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tmuZU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="408" LastEditDate="2019-08-08T07:20:37.467" LastActivityDate="2019-08-08T07:20:37.467" Title="Single line text for Headlines with auto hyphens" Tags="|experience-editor|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20359" PostTypeId="1" AcceptedAnswerId="20377" CreationDate="2019-08-08T07:14:09.767" Score="1" ViewCount="157" Body="&lt;p&gt;Using Sitecore 9.1.1 I need to customise the beaconAPI to better handle the tracking of page visits with an external site with an encoded url (as it's currently triggering OWASP rules in our WAF). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Inside &lt;code&gt;../sitecore/shell/client/services/assets/lib&lt;/code&gt;&#xA;I can see two beaconAPI related files&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7zGSX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7zGSX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried several different minification tools and I cannot seem to minify the vanilla beaconApi.js so that it matches the current minified file (there are fundamental differences and it is 7800+ lines long). Validating the javascript gives lots of warnings about missing semi-colons,etc so I'm a bit worried that the re-minification will introduce new issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ignoring that issue - if I delete the &lt;code&gt;beaconAPI.js&lt;/code&gt; and &lt;code&gt;beaconAPI.min.js&lt;/code&gt; and upload my modified &lt;code&gt;beaconAPI.js&lt;/code&gt; - when I hit this url I am expecting to see different content:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://..mysite../bundle/beacon&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://..mysite../bundle/beacon&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;But it doesn't change after I have updated the &lt;code&gt;beaconApi.js&lt;/code&gt; file.  I have tried clearing sitecore cache and browser cache, so I imagine there's another piece of the puzzle to regenerate this bundle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case it makes things clearer.  I'm trying to take the pageUrl from the out of the box functionality and encrypt it.  So was trying to intercept it in the getOptions function.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function getOptions(options) {&#xA;    var contact = cookies.get(extCookieName);&#xA;    var session = cookies.get(sessionCookieName);&#xA;    var pageUrl = getPage();&#xA;    var pageByteArr = str2ByteArr(pageUrl);&#xA;    pageUrl = arrayBufferToBase64(pageByteArr);&#xA;&#xA;    var defaults = {&#xA;        contactId: contact || '',&#xA;        sessionId: session || '',&#xA;        page: pageUrl,&#xA;        referrer: global.document.referrer,&#xA;        rt: new Date().getTime()&#xA;    };&#xA;&#xA;    return merge(defaults, options);&#xA;};&#xA;&#xA;function str2ByteArr(str) {&#xA;    var bytes = [];&#xA;&#xA;    for (var i = 0; i &amp;lt; str.length; ++i) {&#xA;        bytes.push(str.charCodeAt(i));&#xA;        bytes.push(0);&#xA;    }&#xA;    return bytes;&#xA;};&#xA;&#xA;function arrayBufferToBase64(buffer) {&#xA;    var binary = '';&#xA;    var bytes = new Uint8Array(buffer);&#xA;    var len = bytes.byteLength;&#xA;    for (var i = 0; i &amp;lt; len; i++) {&#xA;        binary += String.fromCharCode(bytes[i]);&#xA;    }&#xA;    return window.btoa(binary);&#xA;};&#xA;&#xA;function getPage() {&#xA;    var fxmExternalDomainControl = document.getElementById(&quot;sc_fxm_externaldomain&quot;);&#xA;    if (!fxmExternalDomainControl) {&#xA;        return global.location.href;&#xA;    }&#xA;&#xA;    var value = fxmExternalDomainControl.getAttribute(&quot;data-sc-value&quot;);&#xA;    if (!value || value == &quot;&quot;) {&#xA;        console.warn(&quot;Couldn't retrieve external domain value, current domain will be used instead.&quot;);&#xA;        return global.location.href;&#xA;    }&#xA;&#xA;    return replaceHost(value);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-08-12T07:08:12.717" LastActivityDate="2019-08-12T07:08:12.717" Title="Customising FXM beacon tracking" Tags="|fxm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20360" PostTypeId="2" ParentId="20356" CreationDate="2019-08-08T07:29:30.383" Score="1" Body="&lt;p&gt;Look like you are looking for the ready solution:) As far as I remember I already guide you to some scripts where we are generating the hash parameters.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;em&gt;generate the geo-coordinates for the address entered&lt;/em&gt; - we are using &lt;code&gt;typeahead&lt;/code&gt; plugin in the Location Finder to show some suggestions base on the location name entered by the user. So you can either use this or you can pass the text entered by the user to the &lt;code&gt;XA.connector.mapsConnector.addressLookup()&lt;/code&gt; function and update the hash with the results&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;create hash parameters based on the geo codes and other filter dropdown and update the url&lt;/em&gt; - I've already told you how to do that. Take a look at &lt;code&gt;updateHash()&lt;/code&gt; function in &lt;code&gt;component-search-location-filter.js&lt;/code&gt;. It does all that you need.&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;trigger the search call to render the results&lt;/em&gt; - search will be triggered automacitally when you will update the hash (using e.g.: &lt;code&gt;XA.component.search.query.updateHash&lt;/code&gt; function).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-08-08T07:29:30.383" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20361" PostTypeId="1" CreationDate="2019-08-08T07:55:26.407" Score="0" ViewCount="218" Body="&lt;p&gt;I would like knowing if anyone has implemented Search Result page with other filters in SXA supporting &quot;Querystring&quot; (serverside) instead of &quot;Hash&quot; (AJAX) to achieve SEO. OOTB SXA search component returns the response through AJAX, what if google crawls your search or listing page.&lt;/p&gt;&#xA;" OwnerUserId="1004" LastEditorUserId="73" LastEditDate="2019-08-08T10:37:58.127" LastActivityDate="2019-08-08T12:37:36.863" Title="SEO friendly Search Result implementation" Tags="|sxa|seo|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20362" PostTypeId="2" ParentId="20007" CreationDate="2019-08-08T08:45:45.607" Score="2" Body="&lt;p&gt;&lt;strong&gt;SOLUTION :&lt;/strong&gt; Again I got this error, even when trying with the Sitecore instance CD URL now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Correcting the Server Name in the following tables of the Shard Databases for my Sitecore instance fixed the issue&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;DATABASE NAME &gt; TABLE NAME &gt; COLUMN NAME&lt;br/&gt;&lt;/strong&gt;&#xA;sc92_Xdb.Collection.Shard0 &gt;    _shardManagement.ShardsLocal &gt; ServerName&lt;br/&gt;&#xA;sc92_Xdb.Collection.Shard1 &gt;    _shardManagement.ShardsLocal &gt;  ServerName&lt;br/&gt;&#xA;sc92_Xdb.Collection.ShardMapManager &gt;   _shardManagement.ShardsGlobal &gt; ServerName&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error details (An item with the same key…) were not enough to resolve the error, because there were no two fields with the same field name in the Forms item. When I checked the &lt;strong&gt;XConnect logs&lt;/strong&gt;, we found that there was a problem in the xDB connection as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Sitecore.Xdb.Collection.Failures.DataProviderException:&lt;/strong&gt; A&#xA;  network-related or instance-specific error occurred while establishing&#xA;  a connection to SQL Server. The server was not found or was not&#xA;  accessible. Verify that the instance name is correct and that SQL&#xA;  Server is configured to allow remote connections. (provider: Named&#xA;  Pipes Provider, error: 40 - Could not open a connection to SQL Server)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;That was why adding a contact to xDB (form’s custom submit action code does that) or listing the contacts in the Experience Profile was throwiing the above errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;OUTCOME&lt;/strong&gt;&lt;br/&gt;&#xA;After correcting the server name in the above three tables, the Experience Profile error was resolved and the form submitted without any error in the browser console.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Special Thanks to :&lt;/strong&gt; &lt;a href=&quot;http://sitecoreworld.blogspot.com/2018/11/error-xdbcontextloggingplugin.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecoreworld.blogspot.com/2018/11/error-xdbcontextloggingplugin.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4515" LastActivityDate="2019-08-08T08:45:45.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20364" PostTypeId="1" AcceptedAnswerId="20370" CreationDate="2019-08-08T09:12:37.940" Score="5" ViewCount="5354" Body="&lt;p&gt;Activity:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Uploading Contacts in xDB through xConnect by a scheduled task.&#xA;Number of contacts: 8000+&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Environment: &lt;code&gt;Sitecore 9.0.2 XP0&lt;/code&gt;&#xA;The scheduler is synchronous. The contacts are getting imported successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Environment: &lt;code&gt;Sitecore 9.0.2 XP scaled&lt;/code&gt;&#xA;In the synchronus mode, the logs mention the scheduler as &lt;code&gt;Not due&lt;/code&gt;.&#xA;In the async mode, the entries are made only for around 3800 data&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it necessary to have it as async? And why my application is breaking there?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Error] Sitecore.XConnect.Operations.AddContactOperation: Sitecore.XConnect.Operations.EntityOperationException: Operation #0, AlreadyExists, Contact&#xA;2019-08-08 06:58:56.249 +00:00 [Error] Sitecore.XConnect.Operations.SetFacetOperation`1[Sitecore.XConnect.Facet]: Sitecore.XConnect.Operations.FacetOperationException: Operation #1, ReferenceNotFound, Contact, Personal&#xA;2019-08-08 06:58:56.249 +00:00 [Error] Sitecore.XConnect.Operations.SetFacetOperation`1[Sitecore.XConnect.Facet]: Sitecore.XConnect.Operations.FacetOperationException: Operation #2, ReferenceNotFound, Contact, Emails&#xA;2019-08-08 06:58:56.265 +00:00 [Error] Sitecore.XConnect.Operations.SetFacetOperation`1[Sitecore.XConnect.Facet]: Sitecore.XConnect.Operations.FacetOperationException: Operation #3, ReferenceNotFound, Contact, Addresses&#xA;2019-08-08 06:58:56.265 +00:00 [Error] Sitecore.XConnect.Operations.SetFacetOperation`1[Sitecore.XConnect.Facet]: Sitecore.XConnect.Operations.FacetOperationException: Operation #4, ReferenceNotFound, Contact, UserAdditionalInformationFacet&#xA;2019-08-08 06:58:56.265 +00:00 [Error] [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;Sitecore.XConnect.Operations.EntityOperationException: Operation #0, AlreadyExists, Contact&#xA;2019-08-08 06:58:56.296 +00:00 [Error] [&quot;XdbContextLoggingPlugin&quot;] XdbContext Batch Execution Exception&#xA;Sitecore.XConnect.Operations.FacetOperationException: Operation #1, ReferenceNotFound, Contact, Personal&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="73" LastEditDate="2019-08-08T10:37:12.600" LastActivityDate="2022-09-26T15:49:36.200" Title="Sitecore.XConnect.Operations.FacetOperationException" Tags="|xconnect|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20366" PostTypeId="2" ParentId="20361" CreationDate="2019-08-08T09:24:01.567" Score="2" Body="&lt;p&gt;I've implemented a SEO friendly version of a SXA listing page using the search components. What I actually did was creating a custom component that uses the &lt;code&gt;scope&lt;/code&gt; defined in SXA to do the search, as well as the pagination from SXA. The output is done with variants so we are reusing lots of SXA stuff.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a bit much to show all code here, but lets try to give you the highlights. The pagination part can be found on &lt;a href=&quot;https://ggullentops.blogspot.com/2018/12/sxa-pagination-on-custom-component.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2018/12/sxa-pagination-on-custom-component.html&lt;/a&gt;. The reuse of the scope will be done in the near future.. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pagination&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For pagination on a custom component:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Your rendering does need rendering parameters. The rendering parameters temlate for your component should inherit &lt;code&gt;IPaginable&lt;/code&gt; and &lt;code&gt;IPagination&lt;/code&gt; (both from the &lt;code&gt;Feature/Experience Accelerator/Page Content/Rendering Parameters&lt;/code&gt; folder&lt;/li&gt;&#xA;&lt;li&gt;The rendering item needs &lt;code&gt;IsPaginationEnabledRendering&lt;/code&gt; true as (other) property&lt;/li&gt;&#xA;&lt;li&gt;Your controller needs to derive from &lt;code&gt;PaginableController&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;li&gt;Implement the function &lt;code&gt;PaginationConfiguration&lt;/code&gt; in the controller to generate a &lt;code&gt;IListPagination&lt;/code&gt;. This is the object you can pass to the repository that fetches the data to select the required page.&lt;/li&gt;&#xA;&lt;li&gt;Implement the function &lt;code&gt;OnActionExecuting&lt;/code&gt; in the controller to initialize the pagination context &lt;code&gt;ListPaginationContext&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scope&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To reuse the scope, note that a scope is actually a rendering parameter. You can read it - will be a string with the guid in it.&#xA;To get a query based on the scope:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var scopeItem = Sitecore.Context.Database.GetItem(new ID(scope));&#xA;var scopeQuery = scopeItem[Constants.ScopeQuery];&#xA;var model = SearchStringModel.ParseDatasourceString(scopeQuery);&#xA;&#xA;using (var context = searchContextBuilder.GetSearchContext(indexName))&#xA;{&#xA;  var query = LinqHelper.CreateQuery&amp;lt;ContentPage&amp;gt;(context, model);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-08-08T12:37:36.863" LastActivityDate="2019-08-08T12:37:36.863" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20367" PostTypeId="2" ParentId="20364" CreationDate="2019-08-08T10:33:26.407" Score="7" Body="&lt;p&gt;For facets you can't just update over top of them with the same approach as initially setting the facet. You need to check if they exist before that step.If they already exist you need to update the existing facet.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/set-contact-facets.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/set-contact-facets.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note the &lt;em&gt;Update an existing facet on an existing contact&lt;/em&gt; section and the example of checking for the facet first then either updating or adding a new one.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; // Retrieve facet by name&#xA; var facet = existingContact.GetFacet&amp;lt;EmailAddressList&amp;gt;(EmailAddressList.DefaultFacetKey);&#xA;&#xA;if (facet != null)&#xA;{&#xA;    // Change facet properties&#xA;    facet.PreferredEmail = new EmailAddress(&quot;myrtle@test.test&quot;, true);&#xA;    facet.PreferredKey = &quot;Work&quot;;&#xA;&#xA;    // Set the updated facet&#xA;    client.SetFacet(existingContact, EmailAddressList.DefaultFacetKey, facet);&#xA;}&#xA;else&#xA;{&#xA;    // Facet is new&#xA;    EmailAddressList emails = &#xA;       new EmailAddressList(new EmailAddress(&quot;myrtle@test.test&quot;, true), &quot;Work&quot;);&#xA;&#xA;   client.SetFacet&amp;lt;EmailAddressList&amp;gt;(existingContact, &#xA;       EmailAddressList.DefaultFacetKey, emails);&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That error is typical of trying to add a facet over top an existing one.&lt;/p&gt;&#xA;" OwnerUserId="224" LastActivityDate="2019-08-08T10:33:26.407" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20370" PostTypeId="2" ParentId="20364" CreationDate="2019-08-08T11:44:50.357" Score="5" Body="&lt;p&gt;The issue was resolved with the hotfix available at &lt;a href=&quot;https://kb.sitecore.net/articles/397292&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/397292&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please note that the issue can happen even after processing around 3000 records in one go. This point had caused the doubt before applying this hotfix.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-08-08T11:44:50.357" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20372" PostTypeId="1" AcceptedAnswerId="20374" CreationDate="2019-08-08T13:25:20.727" Score="0" ViewCount="485" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nY3aD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nY3aD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;I am using sitecore 9.1 initial release and i created an item and gave the item name above 100 characters but sitecore is not accepting the item name more that 100  charaters , so in the sitecore.config file i change the &lt;code&gt;&amp;lt;setting name=&quot;MaxItemNameLength&quot; value=&quot;100&quot; /&amp;gt;&lt;/code&gt; to 200 , 256 and even 1000 , but still item name is not accepting more that 100 characters . I checked the showconfig also , and the values are reflecting there also .&lt;/p&gt;&#xA;" OwnerUserId="4983" LastEditorUserId="4983" LastEditDate="2019-08-08T13:43:41.523" LastActivityDate="2019-08-08T15:08:09.197" Title="Sitecore item name not accepting more than 100 characters" Tags="|sitecore-client|content-editor|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20373" PostTypeId="1" CreationDate="2019-08-08T13:34:09.910" Score="1" ViewCount="42" Body="&lt;p&gt;In the Sitecore site I'm working on (Sitecore 9.0.2 &amp;amp; SXA 1.7), we have two Roles&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Arabic News Role &lt;/li&gt;&#xA;&lt;li&gt;English News Role&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Arabic News Role has access to ar language only, and English News Role has access to en language only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each news article has image field, and images are un-versionable by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Arabic News Role users when they go to any News item and trying to Edit the page Save button is disabled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/droPV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/droPV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only if I gave English language access right to Arabic News Role, it works, but then it will violate the Business rule, and the user will be able to edit English News items as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume since the images are un-versionable, Sitecore won't apply the language access rights to them. But looks like it's not the case.  &lt;/p&gt;&#xA;" OwnerUserId="3881" LastEditorUserId="237" LastEditDate="2019-08-08T14:44:13.750" LastActivityDate="2019-08-08T14:44:13.750" Title="Can't edit an image if user doesn't have access to English language" Tags="|multilingual|role-management|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20374" PostTypeId="2" ParentId="20372" CreationDate="2019-08-08T14:08:15.653" Score="7" Body="&lt;p&gt;From what I know when you try to use item name which is longer than &lt;code&gt;MaxItemNameLength&lt;/code&gt; setting, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;MaxItemNameLength&quot; value=&quot;100&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The message that is shown is &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The length of the value is too long.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Please specify a value of less than 100 characters.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wt0n8.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wt0n8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The message which you see:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;'Your name' is not a valid name.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;is displayed when the item name you're trying to use doesn't match the regex specified in the &lt;code&gt;ItemNameValidation&lt;/code&gt; setting, e.g. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ItemNameValidation&quot; value=&quot;^\\w[\\w\\s]*$&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check that setting in your &lt;code&gt;showconfig.aspx&lt;/code&gt; and make sure the new name matches the regex.&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-08-08T15:08:09.197" LastActivityDate="2019-08-08T15:08:09.197" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20377" PostTypeId="2" ParentId="20359" CreationDate="2019-08-08T15:19:21.620" Score="3" Body="&lt;p&gt;Looking at the &lt;code&gt;Sitecore.FXM.Bundle.config&lt;/code&gt; shows that the beacon is constructed via a processor in the &lt;code&gt;preprocessRequest&lt;/code&gt; pipeline:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;preprocessRequest&amp;gt;&#xA;    &amp;lt;!-- **** Bundles registered when they are first requested **** --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.FXM.Pipelines.PreProcessRequest.HandleBundleRequest, Sitecore.FXM&quot; resolve=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;bundles hint=&quot;list&quot;&amp;gt;&#xA;        &amp;lt;!-- The FXM client javascript bundle - see registration pipeline below. It requires the current Sitecore instance host name&#xA;             when creating the bundle, so must be generated as part of a Sitecore request. --&amp;gt;&#xA;        &amp;lt;bundle&amp;gt;beacon&amp;lt;/bundle&amp;gt;&#xA;      &amp;lt;/bundles&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;  &amp;lt;/preprocessRequest&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That uses the &lt;code&gt;bundle.beacon&lt;/code&gt; configuration to build the bundled file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!-- **** Bundle Registration Pipelines **** --&amp;gt;&#xA;  &amp;lt;!--  Note: pipeline names must be prefixed with $(Bundle.PipelineNamePrefix) - see setting above. --&amp;gt;&#xA;  &amp;lt;bundle.beacon&amp;gt;&#xA;    &amp;lt;!-- Registers the FXM client Javascript bundle --&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.FXM.Pipelines.Bundle.BundleFileProcessor, Sitecore.FXM&quot; resolve=&quot;true&quot;&amp;gt;&#xA;      &amp;lt;paths hint=&quot;list:AddPath&quot;&amp;gt;&#xA;        &amp;lt;path&amp;gt;sitecore/shell/client/services/assets/lib/requireJsTurnOff.js&amp;lt;/path&amp;gt;&#xA;        &amp;lt;path&amp;gt;sitecore/shell/client/services/assets/lib/beaconApi.js&amp;lt;/path&amp;gt;&#xA;        &amp;lt;path&amp;gt;sitecore/shell/client/services/assets/lib/requireJsTurnOn.js&amp;lt;/path&amp;gt;&#xA;      &amp;lt;/paths&amp;gt;&#xA;    &amp;lt;/processor&amp;gt;&#xA;    &amp;lt;processor type=&quot;Sitecore.FXM.Pipelines.Bundle.BeaconLoaderProcessor, Sitecore.FXM&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/bundle.beacon&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are also some extra processors available for the &lt;code&gt;bundle.beacon&lt;/code&gt;: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;!-- Other bundle processors currently available for use. --&amp;gt;&#xA;  &amp;lt;!--&amp;lt;processor type=&quot;Sitecore.FXM.Pipelines.Bundle.BundleJsMinifyProcessor, Sitecore.FXM&quot; /&amp;gt;--&amp;gt;&#xA;  &amp;lt;!--&amp;lt;processor type=&quot;Sitecore.FXM.Pipelines.Bundle.BundleCssMinifyProcessor, Sitecore.FXM&quot; /&amp;gt;--&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To customize the bundle, rather than modify the &lt;code&gt;beaconApi.js&lt;/code&gt; file directly, you could try creating a new js file and adding it to the &lt;code&gt;paths&lt;/code&gt; section in the &lt;code&gt;BundleFileProcessor&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From looking at the code, it looks like once a bundle is registered, it will just use the already built bundle. Although I can't find exactly where its storing/caching that. So you might need an application pool recycle for your new file/additions to be picked up. &lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-08-08T15:19:21.620" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20379" PostTypeId="1" AcceptedAnswerId="20380" CreationDate="2019-08-08T16:32:39.050" Score="11" ViewCount="16525" Body="&lt;p&gt;I'm getting an assembly binding error with &lt;code&gt;System.Buffers&lt;/code&gt; when working with Sitecore 9.2. What could be causing this? With assembly binding logging enabled, it appears the issue is a binding redirect expecting assembly version &lt;code&gt;4.0.3.0&lt;/code&gt;, but finding &lt;code&gt;4.0.2.0&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load file or assembly 'System.Buffers' or one of its&#xA;  dependencies. The located assembly's manifest definition does not&#xA;  match the assembly reference. (Exception from HRESULT: 0x80131040)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;=== Pre-bind state information ===&#xA;LOG: DisplayName = System.Buffers&#xA; (Partial)&#xA;WRN: Partial binding information was supplied for an assembly:&#xA;WRN: Assembly Name: System.Buffers | Domain ID: 2&#xA;WRN: A partial bind occurs when only part of the assembly display name is provided.&#xA;WRN: This might result in the binder loading an incorrect assembly.&#xA;WRN: It is recommended to provide a fully specified textual identity for the assembly,&#xA;WRN: that consists of the simple name, version, culture, and public key token.&#xA;WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.&#xA;LOG: Appbase = file:///C:/inetpub/wwwroot/habitat.dev.local/&#xA;LOG: Initial PrivatePath = C:\inetpub\wwwroot\habitat.dev.local\bin&#xA;LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a31ecb9a&#xA;LOG: Cache Base = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a31ecb9a&#xA;LOG: AppName = 5a56a8f2&#xA;Calling assembly : (Unknown).&#xA;===&#xA;LOG: This bind starts in default load context.&#xA;LOG: Using application configuration file: C:\inetpub\wwwroot\habitat.dev.local\web.config&#xA;LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config&#xA;LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.&#xA;LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).&#xA;LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/a31ecb9a/5a56a8f2/System.Buffers.DLL.&#xA;LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/a31ecb9a/5a56a8f2/System.Buffers/System.Buffers.DLL.&#xA;LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/habitat.dev.local/bin/System.Buffers.DLL.&#xA;LOG: Assembly download was successful. Attempting setup of file: C:\inetpub\wwwroot\habitat.dev.local\bin\System.Buffers.dll&#xA;LOG: Entering download cache setup phase.&#xA;LOG: Assembly Name is: System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&#xA;LOG: A partially-specified assembly bind succeeded from the application directory. Need to re-apply policy.&#xA;LOG: Using application configuration file: C:\inetpub\wwwroot\habitat.dev.local\web.config&#xA;LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config&#xA;LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.&#xA;LOG: Redirect found in application configuration file: 4.0.2.0 redirected to 4.0.3.0.&#xA;LOG: Post-policy reference: System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&#xA;LOG: GAC Lookup was unsuccessful.&#xA;LOG: The post-policy assembly reference requires probing again.&#xA;LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/a31ecb9a/5a56a8f2/System.Buffers.DLL.&#xA;LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/a31ecb9a/5a56a8f2/System.Buffers/System.Buffers.DLL.&#xA;LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/habitat.dev.local/bin/System.Buffers.DLL.&#xA;LOG: Assembly download was successful. Attempting setup of file: C:\inetpub\wwwroot\habitat.dev.local\bin\System.Buffers.dll&#xA;LOG: Entering download cache setup phase.&#xA;LOG: Assembly Name is: System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&#xA;WRN: Comparing the assembly name resulted in the mismatch: Build Number&#xA;ERR: The assembly reference did not match the assembly definition found.&#xA;ERR: Setup failed with hr = 0x80131040.&#xA;ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastEditorUserId="73" LastEditDate="2020-10-16T12:15:43.847" LastActivityDate="2020-10-16T12:15:43.847" Title="Could not load file or assembly 'System.Buffers' or one of its dependencies" Tags="|nuget|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20380" PostTypeId="2" ParentId="20379" CreationDate="2019-08-08T16:32:39.050" Score="20" Body="&lt;p&gt;Certain functionality in Sitecore 9.2 requires an explicit dependency on &lt;code&gt;System.Buffers 4.5.0&lt;/code&gt;. However some dependencies for Sitecore 9.2 have a &lt;em&gt;transitive&lt;/em&gt; (indirect) dependency on &lt;code&gt;System.Buffers 4.4.0&lt;/code&gt;. Thus, Sitecore 9.2 includes this &lt;code&gt;bindingRedirect&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&amp;quot;System.Buffers&amp;quot; publicKeyToken=&amp;quot;cc7b13ffcd2ddd51&amp;quot; culture=&amp;quot;neutral&amp;quot; xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot;/&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&amp;quot;4.0.2.0-4.0.3.0&amp;quot; newVersion=&amp;quot;4.0.3.0&amp;quot; xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot;/&amp;gt;&#xA;  &amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Depending on your build configuration, certain Sitecore NuGet references can result in &lt;code&gt;System.Buffers 4.4.0&lt;/code&gt; publishing to your web root.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;To avoid this, your options are:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add an explicit reference in your solution to &lt;code&gt;System.Buffers 4.5.0&lt;/code&gt; and ensure it is deployed. If you are following a Helix Solution Architecture, you will likely need to add this reference in your Project layer, and ensure your solution dependencies / build order are set up such that your Project layer publishes last.&lt;/li&gt;&#xA;&lt;li&gt;Configure your build to not deploy &lt;code&gt;System.Buffers&lt;/code&gt;. If you are using Sitecore TDS, you can &lt;a href=&quot;https://hedgehogdevelopment.github.io/tds/chapter4.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;configure it to Exclude or Include assemblies&lt;/a&gt; when building to your web root. If you are using Helix Publishing Pipeline, &lt;a href=&quot;https://github.com/richardszalay/helix-publishing-pipeline#excluding-sitecore-assemblies&quot; rel=&quot;nofollow noreferrer&quot;&gt;it has the capability&lt;/a&gt; to exclude assemblies as well. You can use either tool or custom MSBuild with the &lt;a href=&quot;https://doc.sitecore.com/developers/93/sitecore-experience-manager/en/sitecore-assembly-list-nuget-packages.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Assembly List Nuget Packages&lt;/a&gt; that Sitecore now publishes to exclude all built-in assemblies from deploying with your solution.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3&gt;Note on Versioning of &lt;code&gt;System.Buffers&lt;/code&gt;&lt;/h3&gt;&#xA;&lt;p&gt;You may be confused by the assembly versions based on the package versions, and when looking at the file properties of &lt;code&gt;System.Buffers.dll&lt;/code&gt;, where the version appears to be &lt;code&gt;4.6&lt;/code&gt;. The version of the assembly itself does not match, as can be seen with a bit of PowerShell.&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;PS&amp;gt; (get-item .\System.Buffers.dll).VersionInfo.FileVersion&#xA;4.6.26515.06&#xA;PS&amp;gt; [System.Reflection.Assembly]::LoadFile(&amp;quot;$pwd\System.Buffers.dll&amp;quot;).GetName().Version&#xA;Major  Minor  Build  Revision&#xA;-----  -----  -----  --------&#xA;4      0      3      0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="248" LastEditorUserId="248" LastEditDate="2020-07-15T17:04:17.983" LastActivityDate="2020-07-15T17:04:17.983" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20382" PostTypeId="5" CreationDate="2019-08-09T02:54:22.693" Score="0" Body="" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2019-08-09T02:54:22.693" LastActivityDate="2019-08-09T02:54:22.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20383" PostTypeId="4" CreationDate="2019-08-09T02:54:22.693" Score="0" Body="Question related to use of Code Generation tools such as TDS or Leprechaun to Item and Template create model classes " OwnerUserId="135" LastEditorUserId="135" LastEditDate="2019-08-09T02:54:22.693" LastActivityDate="2019-08-09T02:54:22.693" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20384" PostTypeId="1" AcceptedAnswerId="20385" CreationDate="2019-08-09T05:47:31.667" Score="3" ViewCount="1747" Body="&lt;p&gt;We identified many repetitive warnings in Sitecore log files:&lt;/p&gt;&#xA;&lt;pre&gt;&#xA;WARN  Failed to create counter 'Sitecore.Analytics.XConnect\XConnect Model Converter | Convert To XConnect Interaction Operations / sec'. Sitecore has no necessary permissions for reading/creating counters.&#xA;        Message: Access to the registry key 'Global' is denied. &#xA;&lt;/pre&gt;&#xA;&lt;p&gt;It seems a permission issue. Please assist.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="4390" LastEditDate="2021-11-15T03:56:40.557" LastActivityDate="2021-11-15T03:56:40.557" Title="WARN Failed to create counter 'Sitecore.Analytics.XConnect\XConnect Model" Tags="|xconnect|logging|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20385" PostTypeId="2" ParentId="20384" CreationDate="2019-08-09T05:52:20.447" Score="4" Body="&lt;p&gt;&lt;strong&gt;Sitecore Version:&lt;/strong&gt; 9.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to add our website's IIS AppPool user to “Performance Monitor Users” group. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please follow below steps to clear this warning.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to &lt;strong&gt;Computer Management&lt;/strong&gt;&lt;br&gt;&#xA;System Tools -&gt; Local Users and Groups -&gt; Groups -&gt;&#xA;“Performance Monitor Users” group and open it’s properties.&lt;br&gt;&lt;br&gt;&#xA;Click on “Add” button and add your IIS AppPool user for your site e.g. “IIS APPPOOL\sc92sc.dev.local”. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here sc92sc.dev.local is my local website name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9aV47.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9aV47.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt; &lt;a href=&quot;https://tothecore.sk/2018/06/12/setting-permissions-for-reading-creating-counters-in-sitecore-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/06/12/setting-permissions-for-reading-creating-counters-in-sitecore-9/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-08-09T05:58:15.913" LastActivityDate="2019-08-09T05:58:15.913" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20386" PostTypeId="2" ParentId="20384" CreationDate="2019-08-09T06:34:18.503" Score="-1" Body="&lt;p&gt;Another easy way to achieve the same is-&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Run Command prompt as administrator and execute below command:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;CMD&amp;gt; net localgroup “Performance Monitor Users” SitecoreInstanceName/add&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;In your case it would be like:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;C:\WINDOWS\system32&amp;gt; net localgroup &amp;quot;Performance Monitor Users&amp;quot; sc92sc.dev.local/add&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;execute this command and it will add your website's IIS AppPool user to &lt;code&gt;Performance Monitor Users&lt;/code&gt; group.&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-08-09T09:42:40.783" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20387" PostTypeId="1" AcceptedAnswerId="20393" CreationDate="2019-08-09T07:47:13.673" Score="1" ViewCount="274" Body="&lt;p&gt;We did 9.2 upgrade on our website and since &lt;code&gt;NoReferences&lt;/code&gt; packages are removed, we have started the install &amp;amp; upgrade these packages by using NuGet's builtin ability to &lt;code&gt;Ignore Dependencies&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But after that, when we tried to install a package with its dependencies, NuGet shows the following(in short), wants us to resolve these: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Attempting to gather dependency information for package 'Microsoft.AspNet.Mvc.5.2.4' with respect to project 'TheReference.Site.Business', targeting '.NETFramework,Version=v4.7.1'&#xA;Gathering dependency information took 1.69 min&#xA;Attempting to resolve dependencies for package 'Microsoft.AspNet.Mvc.5.2.4' with DependencyBehavior 'Lowest'&#xA;One or more unresolved package dependency constraints detected in the existing packages.config file. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'Sitecore.Analytics 9.2.0 constraint: Sitecore.Marketing.Search (&gt;= 9.2.0)', 'Sitecore.Analytics 9.2.0 constraint: Sitecore.Marketing.xMgmt.ReferenceData (&gt;= 9.2.0)', 'Sitecore.Analytics 9.2.0 constraint: Sitecore.CES.DeviceDetection (&gt;= 9.2.0)', 'Sitecore.Analytics.Core 9.2.0 constraint: Sitecore.Xdb.Configuration (&gt;= 9.2.0)',&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can we solve this issue without using &lt;code&gt;PackageReference&lt;/code&gt;(which is not well supported) or directly referencing those dlls?&lt;/p&gt;&#xA;" OwnerUserId="5814" LastActivityDate="2019-08-09T10:47:19.640" Title="How to use Sitecore NuGet packages after upgrade?" Tags="|upgrade|nuget|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20388" PostTypeId="1" CreationDate="2019-08-09T09:08:27.287" Score="2" ViewCount="967" Body="&lt;p&gt;I am trying to implement geo-location-based personalization for my website and for this, I would like to test the data locally.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have enabled geolocation services from app-center and tested with the test page(see solution 3 from below link),&#xA;&lt;a href=&quot;https://kb.sitecore.net/articles/798498&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/798498&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;the correct response is coming on above page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also applied a patch referring below article which actually changes my local IP to a dummy IP and records are saving like this in the database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/16156/how-can-we-work-with-geo-ip-in-local-instance&quot;&gt;How can we work with Geo-IP in local instance?&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0K9ib.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0K9ib.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Sitecore version is 9.0.2, as you can see all location fields are &quot;N/A&quot; apart from Ip address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not working on any local instance of ours Although, our UAT instance is working fine with the location data, As on local instance service is working which is validated by test page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest what we could be missing? &#xA;In terms of firewall change mentioned here in solution 2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/798498&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/798498&lt;/a&gt; &#xA;Can you please suggest what needs to be done for this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;OR there is some other configuration we should add if you have faced this issue as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;please note as per other articles and Sitecore documentation we have all required configuration files enabled.&lt;/p&gt;&#xA;" OwnerUserId="5817" LastEditorUserId="73" LastEditDate="2021-05-03T20:22:00.400" LastActivityDate="2024-03-15T08:07:56.030" Title="GeoIP Location data not coming in database and interaction object?" Tags="|xdb|geo-location|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20389" PostTypeId="2" ParentId="14038" CreationDate="2019-08-09T09:48:37.037" Score="2" Body="&lt;p&gt;I too followed the steps above provided by jrap, and it didn't work. It finally did when I used &lt;code&gt;/Program Files/ instead of /Program Files (x86)/&lt;/code&gt; and went looking there for the correct MS Server version. I modified my registry keys and it finally installed correctly.&lt;/p&gt;&#xA;" OwnerUserId="5884" LastEditorUserId="851" LastEditDate="2019-08-09T10:11:14.407" LastActivityDate="2019-08-09T10:11:14.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20390" PostTypeId="1" AcceptedAnswerId="20391" CreationDate="2019-08-09T10:07:02.023" Score="1" ViewCount="37" Body="&lt;p&gt;How can we enable List Pricing buttons in Sitecore Commerce business tool? In the image below, we can see the buttons disabled. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can we enable these buttons?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/N8Rc5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/N8Rc5.png&quot; alt=&quot;List Pricing&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5885" LastEditorUserId="70" LastEditDate="2019-08-09T20:26:23.133" LastActivityDate="2019-08-09T20:26:23.133" Title="How to enable List Pricing buttons" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20391" PostTypeId="2" ParentId="20390" CreationDate="2019-08-09T10:17:51.023" Score="3" Body="&lt;p&gt;Try adding a new entity version.&#xA;Go to summary section, select arrow at right and from drop down click on &quot;Add Entity Version&quot;.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/wNZkM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wNZkM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And from Entity Versions section select the new version created.&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-08-09T10:17:51.023" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20393" PostTypeId="2" ParentId="20387" CreationDate="2019-08-09T10:47:19.640" Score="2" Body="&lt;p&gt;The problem with &lt;code&gt;Ignore Dependencies&lt;/code&gt;, as you point out, is that it is a global setting. While it can be fine to pick and choose from Sitecore assemblies, which ones you want in your project - it is not so easy and obvious when it comes to other third party libraries. Like for example MVC, as you state in your example.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't want to move to &lt;code&gt;PackageReferences&lt;/code&gt;, I suggest you bite the bullet and do a regular reference to the Sitecore packages instead. Yes, it will bring in a tonne of references, but at least you don't have to maintain them. Or worry about them.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-09T10:47:19.640" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20394" PostTypeId="1" AcceptedAnswerId="20431" CreationDate="2019-08-09T11:20:45.127" Score="0" ViewCount="96" Body="&lt;p&gt;I created a custom plugin for Commerce Business Tools. Added 2 Buttons (actions) in it &lt;code&gt;Add&lt;/code&gt; And &lt;code&gt;Update&lt;/code&gt;. When clicking On Add it inserts a row and view is showing all the rows added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used  &lt;code&gt;UIHint = &quot;Table&quot;&lt;/code&gt; in &lt;code&gt;EntityView&lt;/code&gt; to get the rows in a table. Now I want to select a row and update that row using &lt;code&gt;Update&lt;/code&gt; button just like Promotions does. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is I'm not able to select row from table. I thought that should have been default functionality of the &lt;code&gt;UIHint = &quot;Table&quot;&lt;/code&gt; to be able to select row just like &lt;code&gt;List&lt;/code&gt;. But I don't want to use &lt;code&gt;List&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please can anybody help me on this. Any suggestions on how to implement that?&lt;/p&gt;&#xA;" OwnerUserId="5886" LastEditorUserId="70" LastEditDate="2019-08-09T12:14:53.507" LastActivityDate="2019-08-12T09:33:49.380" Title="Can't select row in a &quot;Table&quot; for a custom Plugin" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20395" PostTypeId="1" AcceptedAnswerId="20408" CreationDate="2019-08-09T11:28:14.097" Score="2" ViewCount="2088" Body="&lt;p&gt;&lt;strong&gt;Version detail&lt;/strong&gt;: Sitecore 9.0.2 XP0&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Deployment model&lt;/strong&gt;: OnPremises&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;: We are sending an automatic '&lt;code&gt;HTML&lt;/code&gt;' campaign to users listing their last 4 orders.&#xA;In case a user has less than 4 orders, we want to hide the empty HTML blocks.&#xA;So, we used tokens to set the &lt;strong&gt;display&lt;/strong&gt; attribute to none in case of empty blocks. But this display property was not working as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What we checked&lt;/strong&gt;: We added a block with the &lt;code&gt;display&lt;/code&gt; property set to none. In the design view, this component was not visible. But it was back when we got it in the mailbox, as test mail as well as automatic mail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what I should look further?&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="73" LastEditDate="2019-08-09T11:35:05.710" LastActivityDate="2019-08-09T16:13:51.733" Title="Display none attribute is not working" Tags="|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20396" PostTypeId="1" AcceptedAnswerId="21989" CreationDate="2019-08-09T11:43:42.420" Score="1" ViewCount="911" Body="&lt;p&gt;Here is what I'm trying to achieve :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have a component that has a parameter backgroundImage. This parameter was previously a field and I achieved what I wanted without any problem but in order to avoid saving an Item for my structure component I'd like to use a rendering parameter instead.&lt;/li&gt;&#xA;&lt;li&gt;I can get the params and see what I get for everything except my image. When I display what is in my backgroundImage parameter a string is returned containing this : &lt;code&gt;&amp;lt;image mediaid=&quot;{1551EAFF-E652-5213-BB93-5CB00B4EBC26}&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Now what may I do with this string ? I use jss and sitecore 9.1.1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="5831" LastEditorUserId="73" LastEditDate="2019-09-08T15:40:03.093" LastActivityDate="2019-09-14T11:05:11.733" Title="Image in rendering parameters to display background picture" Tags="|jss|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20397" PostTypeId="2" ParentId="20342" CreationDate="2019-08-09T11:54:02.603" Score="6" Body="&lt;p&gt;If you are receiving this error it means you either have the wrong certificate's thumbprint referenced in your configs (or the thumbprints are not all the same), or the user account of the IIS AppPool used for the commerce services does not have correct access to the certificates.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;How to check you are using the right thumbprint:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The certificate/thumbprint in question is the one you should have generated in step 2.3 of &amp;quot;Installation Guide - On-Prem&amp;quot; found here &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Commerce/90/Sitecore_Experience_Commerce_90_Update3.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Commerce/90/Sitecore_Experience_Commerce_90_Update3.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This certificate should not be used with any site bindings in IIS.&#xA;The thumbprint value needs to be referenced in the following files:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;C:\inetpub\wwwroot\sitecore9site\App_Config\Include\Y.Commerce.Engine\Sitecore.Commerce.Engine.Connect.config&lt;/li&gt;&#xA;&lt;li&gt;C:\inetpub\wwwroot\CommerceAuthoring_Sc9\wwwroot\config.json&lt;/li&gt;&#xA;&lt;li&gt;C:\inetpub\wwwroot\CommerceMinions_Sc9\wwwroot\config.json&lt;/li&gt;&#xA;&lt;li&gt;C:\inetpub\wwwroot\CommerceOps_Sc9\wwwroot\config.json&lt;/li&gt;&#xA;&lt;li&gt;C:\inetpub\wwwroot\CommerceShops_Sc9\wwwroot\config.json&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;How to check the IIS AppPool account access:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Check the site CommerceAuthoring_Sc9. By default it should have an app pool called CommerceAuthoring_Sc9.&#xA;Check the app pool, by default it should have the identity &amp;quot;{MachineName}\CSFndRuntimeUser&amp;quot;.&lt;/p&gt;&#xA;&lt;p&gt;For completeness check CommerceMinions_Sc9, CommerceOps_Sc9, CommerceShops_Sc9; they should all have the same app pool identity.&lt;/p&gt;&#xA;&lt;p&gt;Now open MMC. Open Certificates (Local Computer)\Personal\Certificates and locate the certificate. Double-check its thumbprint.&lt;/p&gt;&#xA;&lt;p&gt;With the certificate selected, in the &amp;quot;Actions&amp;quot; pane, click &amp;quot;More Actions&amp;quot;  &amp;gt; &amp;quot;All Tasks&amp;quot; &amp;gt; &amp;quot;Manage Private Keys...&amp;quot;.&#xA;In the security dialog, you should see that &amp;quot;CSFndRuntimeUser&amp;quot; has &amp;quot;Full control&amp;quot; and &amp;quot;Read&amp;quot; access, if not, try to add the account and select those permissions.&lt;/p&gt;&#xA;&lt;p&gt;With these changes made, you can re-run the installation (you can comment-out previous successful steps in {YourCommerceInstallFolder}\SIF.Sitecore.Commerce.1.4.7\Configuration\Commerce\Master_SingleServer.json to skip repeating steps which have already been completed).&lt;/p&gt;&#xA;" OwnerUserId="5111" LastEditorUserId="137" LastEditDate="2021-07-20T23:25:46.727" LastActivityDate="2021-07-20T23:25:46.727" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20398" PostTypeId="1" CreationDate="2019-08-09T13:16:54.730" Score="1" ViewCount="101" Body="&lt;p&gt;I'm able to add Tags to a customer in Biztool. I can't see any method in Sitecore.Commerce.Services.Customers where I can insert Tags to customer record. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if I need to override methods to do so or if there is any easy way to make it work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help will be appreciated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="5886" LastActivityDate="2019-08-09T19:58:39.937" Title="How to add Tags to a customer programmatically?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20399" PostTypeId="2" ParentId="20396" CreationDate="2019-08-09T14:16:46.867" Score="1" Body="&lt;p&gt;The &lt;code&gt;&amp;lt;image mediaid=&quot;{1551EAFF-E652-5213-BB93-5CB00B4EBC26}&quot; /&amp;gt;&lt;/code&gt; is the raw database value for the image from Sitecore. To able convert it to an &lt;code&gt;img&lt;/code&gt; tag you need to use the correct field from the JS library. For example here is the React component:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import React from 'react';&#xA;import { Image } from '@sitecore-jss/sitecore-jss-react';&#xA;&#xA;const StyleguideFieldUsageImage = (props) =&amp;gt; (&#xA;  &amp;lt;Image media={props.fields.backgroundImage} /&amp;gt;&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here are the example apps for different frameworks:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/angular/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Angular&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/react/src/components/Styleguide-FieldUsage-Image/index.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;React&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/vue/src/components/Styleguide/Styleguide-FieldUsage-Image.vue&quot; rel=&quot;nofollow noreferrer&quot;&gt;Vue&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="408" LastActivityDate="2019-08-09T14:16:46.867" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20400" PostTypeId="2" ParentId="20398" CreationDate="2019-08-09T14:20:41.627" Score="2" Body="&lt;p&gt;There is no OOTB method that can do it, you need to customise it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Start from looking into &lt;code&gt;RegisterUser&lt;/code&gt; method in &lt;code&gt;Sitecore.Commerce.XA.Foundation.Connect.Managers.IAccountManager, Sitecore.Commerce.XA.Foundation.Connect&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This method calls the &lt;code&gt;commerce.customers.createUser&lt;/code&gt; pipeline and this pipeline calls a pipeline processor &lt;code&gt;Sitecore.Commerce.Engine.Connect.Pipelines.Customers.CreateUser, Sitecore.Commerce.Engine.Connect&lt;/code&gt; that creates a customer in commerce engine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code in the processor&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Gets an entity view for the customer from commerce engine, an entity view contains the property collection which you can set, (this is similar to BizFx where you click Add button for a customer)&lt;/li&gt;&#xA;&lt;li&gt;Then it sets the specific property with values received in request, e.g. &lt;code&gt;DomainName&lt;/code&gt;, &lt;code&gt;LoginName&lt;/code&gt; etc.&lt;/li&gt;&#xA;&lt;li&gt;Then it calls a &lt;code&gt;DoAction&lt;/code&gt; API operation to save it in commerce engine.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Copy the existing processor code and replace with your copied one and debug it, it will give you good idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to send your tags details in the &quot;Tags&quot; property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It depends on your specific scenario that how much you need to customize but you can replace the &lt;code&gt;AccountManager&lt;/code&gt; implementation with yours as well if needed.&lt;/p&gt;&#xA;" OwnerUserId="5111" LastEditorUserId="70" LastEditDate="2019-08-09T19:58:39.937" LastActivityDate="2019-08-09T19:58:39.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20401" PostTypeId="2" ParentId="18186" CreationDate="2019-08-09T14:40:10.783" Score="1" Body="&lt;p&gt;To update element values like this, it's sufficient to just go down the unique path to the value you want to change, without specifying any &lt;code&gt;patch&lt;/code&gt; attribute. This works just fine:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;mediaLibrary&amp;gt;&#xA;      &amp;lt;mediaTypes&amp;gt;&#xA;        &amp;lt;mediaType name=&quot;PDF file&quot;&amp;gt;&#xA;          &amp;lt;forceDownload&amp;gt;false&amp;lt;/forceDownload&amp;gt;&#xA;        &amp;lt;/mediaType&amp;gt;&#xA;      &amp;lt;/mediaTypes&amp;gt;&#xA;    &amp;lt;/mediaLibrary&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="890" LastActivityDate="2019-08-09T14:40:10.783" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20402" PostTypeId="1" AcceptedAnswerId="20403" CreationDate="2019-08-09T15:18:44.873" Score="2" ViewCount="813" Body="&lt;p&gt;We have some custom code to send emails out when submitting an item from one workflow state to another and it seems to be sending items to users who have been disabled.  I've been trying to find a way to check on the enabled/disabled status of a user, but haven't had much luck.  Here is the code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class UserFunctions&#xA;{&#xA;    public static List&amp;lt;User&amp;gt; ContentAdminsFor(Item i)&#xA;    {&#xA;        if (i == null) return null;&#xA;&#xA;        var users = new List&amp;lt;User&amp;gt;();&#xA;&#xA;        var contentAdmins = RolesInRolesManager.GetUsersInRole(Role.FromName(@&quot;org\Workflow Admin&quot;), true);&#xA;&#xA;        var orgRoot = Utils.GetRoot(i);&#xA;&#xA;        foreach(var user in contentAdmins)&#xA;        {&#xA;            using (new UserSwitcher(user))&#xA;            {&#xA;                if (orgRoot.Access.CanWrite())&#xA;                {&#xA;                    users.Add(user);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        return users;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="237" LastEditDate="2019-08-09T15:32:35.103" LastActivityDate="2019-08-09T16:10:15.700" Title="Check if a user is disabled" Tags="|security|user-management|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20403" PostTypeId="2" ParentId="20402" CreationDate="2019-08-09T15:22:58.180" Score="7" Body="&lt;p&gt;You can get this info the other way around. Check the &lt;code&gt;!user.IsApproved&lt;/code&gt; property. But first you need to get the user through the membership provider like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var provider = System.Web.Security.Membership.Provider;&#xA;var user = provider.GetUser(username, false);&#xA;if (!user.IsApproved)&#xA;{...}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2019-08-09T15:48:48.353" LastActivityDate="2019-08-09T15:48:48.353" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20404" PostTypeId="1" CreationDate="2019-08-09T15:43:18.900" Score="0" ViewCount="875" Body="&lt;p&gt;Trying to install a package which has the item names with characters like &lt;code&gt;(', '.', ')&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I temporarily disable &lt;code&gt;ItemNameValidation&lt;/code&gt; setting? Tried changing the setting to &lt;code&gt;'.*'&lt;/code&gt; which did not help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version - 9.1.1&lt;/p&gt;&#xA;" OwnerUserId="1045" LastEditorUserId="1045" LastEditDate="2019-08-09T17:16:43.707" LastActivityDate="2019-08-10T06:52:09.283" Title="Allow all characters in ItemNameValidation setting" Tags="|packages|validation|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20405" PostTypeId="1" CreationDate="2019-08-09T15:52:15.773" Score="0" ViewCount="174" Body="&lt;p&gt;Preamble:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore supports having content editors see a customized field title, however this field title is shared across every item that inherits this item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For Image Fields I'd like to indicate to my content editors that there are recommended image dimensions, however these image field templates are reused in several places and each place requires a different dimension. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some would say &quot;Just use a field validator&quot; my content editors frequently ignore them and basically if there isn't a big sign waving around saying &quot;Hey there is an issue here&quot; or gentle guidance, they'll ignore it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Id also like to avoid something heavy weight like the &lt;code&gt;getContentEditorWarnings&lt;/code&gt; pipeline checking all the fields. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to have dynamically generated field titles in the content editor based on the item template? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a processor that I can tap into? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or should I just list all possible dimensions for that field and hope they pick the right one?&lt;/p&gt;&#xA;" OwnerUserId="4394" LastEditorUserId="135" LastEditDate="2019-08-09T16:39:40.197" LastActivityDate="2019-08-09T19:55:42.680" Title="Is there a pipeline/processor or way to have dynamic Field Titles for fields shared across multiple templates?" Tags="|templates|inheritance|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20406" PostTypeId="2" ParentId="20404" CreationDate="2019-08-09T16:06:54.727" Score="3" Body="&lt;p&gt;There are 2 settings that control item names during package installation:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;InvalidItemNameChars&lt;/code&gt; should be blank. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ItemNameValidation&lt;/code&gt; should be &lt;code&gt;.*&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With this settings you should be able to install package with any item names.&lt;/p&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-08-09T16:06:54.727" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20407" PostTypeId="2" ParentId="20402" CreationDate="2019-08-09T16:10:15.700" Score="5" Body="&lt;p&gt;I think Sitecore PowerShell Extensions could help address both the &lt;a href=&quot;https://doc.sitecorepowershell.com/modules/integration-points/workflows&quot; rel=&quot;noreferrer&quot;&gt;workflow action feature&lt;/a&gt;, as well as finding the users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following query would provide enabled users in a given domain:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-User -Filter &quot;training\*&quot; | Where-Object { $_.IsEnabled }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aG0FC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aG0FC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following query provides enabled users in a given role:&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-RoleMember -Identity &quot;training\editor&quot; | Where-Object { $_.IsEnabled }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ecCtq.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ecCtq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-08-09T16:10:15.700" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20408" PostTypeId="2" ParentId="20395" CreationDate="2019-08-09T16:13:51.733" Score="4" Body="&lt;p&gt;&lt;code&gt;display:none;&lt;/code&gt; doesn't work well with emails. Many emails clients doesn't support it. Even Gmail have started to support this property only recently.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should other technique to hide blocks in emails:&#xA;e.g. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;max-height: 0px; overflow: hidden;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;width: 0px; height: 0px; max-width: 0px; max-height: 0px; overflow: hidden;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;width: 0px; height: 0px;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or if you have problem with Outlook&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;mso-hide:all;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="666" LastActivityDate="2019-08-09T16:13:51.733" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20409" PostTypeId="1" AcceptedAnswerId="20411" CreationDate="2019-08-09T19:01:40.780" Score="1" ViewCount="733" Body="&lt;p&gt;We use Sitecore 8.1 and started seeing an issue with ReCaptcha in WFFM forms, we get the following error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Uncaught Error: reCAPTCHA placeholder element must be empty&#xA;   at Yp (recaptcha__en.js:511)&#xA;   at recaptcha__en.js:513&#xA;   at Array.forEach ()&#xA;   at cL (recaptcha__en.js:513)&#xA;   at Rn (recaptcha__en.js:519)&#xA;   at w3 (recaptcha__en.js:518)&#xA;   at recaptcha__en.js:524&#xA;   at recaptcha__en.js:544&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Upon checking on the error, it happens when google's api.js (&lt;a href=&quot;https://www.google.com/recaptcha/api.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.google.com/recaptcha/api.js&lt;/a&gt;) load multiple times and the solution is to make the script load async defer (), how do I do that in Sitecore? Any help is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="5033" LastEditorUserId="70" LastEditDate="2019-08-09T19:36:02.370" LastActivityDate="2019-08-10T06:32:00.897" Title="ReCaptcha working inconsistently" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20410" PostTypeId="2" ParentId="20405" CreationDate="2019-08-09T19:55:42.680" Score="1" Body="&lt;p&gt;The short answer is, no there is not a place you can hook into for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for other options, a general good practice would be to not inherit that field for every single derived template and have unique fields for each part, then you can fill out the short and long help text for those fields to be specific to that field. Ultimately, help text is part of a field, so if you want 2 image fields to have different help text, then create 2 fields for that rather than have a base template with an image field on and inherit that everywhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A similar question was asked a few years ago and this was the consensus then, I believe it still applies today: &lt;a href=&quot;https://stackoverflow.com/questions/23829507/if-i-have-a-field-in-a-base-template-in-sitecore-can-i-vary-its-title-depending&quot;&gt;https://stackoverflow.com/questions/23829507/if-i-have-a-field-in-a-base-template-in-sitecore-can-i-vary-its-title-depending&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-08-09T19:55:42.680" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20411" PostTypeId="2" ParentId="20409" CreationDate="2019-08-10T06:32:00.897" Score="1" Body="&lt;p&gt;This error comes when you have included the re-captcha library twice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check for the following if you have this twice accidentally.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.google.com/recaptcha/api.js&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.google.com/recaptcha/api.js&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check if you are using the rendering having this code twice on a page.&lt;/p&gt;&#xA;" OwnerUserId="2983" LastActivityDate="2019-08-10T06:32:00.897" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20412" PostTypeId="2" ParentId="20404" CreationDate="2019-08-10T06:52:09.283" Score="3" Body="&lt;p&gt;Try the following patch:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;    &#xA;      &amp;lt;setting name=&quot;ItemNameValidation&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;^.*$&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;   &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The regex means that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;^&lt;/code&gt; start of the string&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;.*&lt;/code&gt; It matches any character.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;*&lt;/code&gt; Quantifier — Matches between zero and unlimited times, as many times as possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$&lt;/code&gt; End of the string&lt;/p&gt;&#xA;" OwnerUserId="2983" LastActivityDate="2019-08-10T06:52:09.283" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20414" PostTypeId="2" ParentId="11596" CreationDate="2019-08-10T18:30:36.827" Score="0" Body="&lt;p&gt;Nowadays, there is a better script to setup secured Solr as a Windows service.&#xA;No manually download is required, including JRE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script will accomplish these tasks.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;It will download and install latest version of JRE (64 bit or 32 bi)&lt;/li&gt;&#xA;&lt;li&gt;It will download any version of Solr&lt;/li&gt;&#xA;&lt;li&gt;It will download version 2.24.&lt;/li&gt;&#xA;&lt;li&gt;It will set JAVA_HOME environment variable&lt;/li&gt;&#xA;&lt;li&gt;It will sets up SSL for Solr (if certification does not exist it will generate one)&lt;/li&gt;&#xA;&lt;li&gt;It will add Solr host name to the host file&lt;/li&gt;&#xA;&lt;li&gt;It will utilize NSSM to setup Solr as Windows service&lt;/li&gt;&#xA;&lt;li&gt;It will open the Solr admin page.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Script Location:&#xA;&lt;a href=&quot;https://github.com/erjan123/Sitecore/blob/master/Sitecore/PowershellScripts/Sitecore%20Solr/2.Installing-Uninstalling-Solr-JRE.pptm&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/erjan123/Sitecore/blob/master/Sitecore/PowershellScripts/Sitecore%20Solr/2.Installing-Uninstalling-Solr-JRE.pptm&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tutorial: &lt;br&gt;&#xA;&lt;a href=&quot;https://www.youtube.com/watch?v=3-27syl8C98&amp;amp;t=1s&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=3-27syl8C98&amp;amp;t=1s&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: The original script is from Jeremy Davis, I only added the JRE part to the script.&lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-08-10T18:30:36.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20415" PostTypeId="1" CreationDate="2019-08-10T19:16:43.183" Score="0" ViewCount="441" Body="&lt;p&gt;I am getting the below error on my CD servers. I have never run into this error before and not sure what it is trying to say. I have populated index schema and re-indexes. CM is working fine and search work on CM. The CD Solr and xConnect work on the CD (as I can hit the URLs).&lt;/p&gt;&#xA;&lt;p&gt;It logs this for a few IDs. Thes ones referenced in this error are:&#xA;&lt;code&gt;/sitecore/templates/System/Templates/Sections/Appearance/Appearance/__Display name&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Error while resolving field boosting. Field={B5E02AD9-D56F-4C41-A065-A133DB87BDEB} Item=sitecore://web/{9FDCA07F-AE40-493D-B98D-017EBA0BD1BB}?lang=en&amp;amp;ver=1&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.ContentSearch&#xA;at  Sitecore.ContentSearch.Pipelines.ResolveBoost.ResolveFieldBoost.FieldDefinitionItemResolver.Process(ResolveFieldBoostArgs args)&#xA;at (Object , Object )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;at Sitecore.Abstractions.CorePipelineWrapper.Run(String pipelineName, PipelineArgs args)&#xA;at Sitecore.ContentSearch.Boosting.PipelineBasedBoostingProvider.ResolveFieldBoosting(IIndexableDataField field)&#xA;at Sitecore.ContentSearch.Boosting.BoostingManager.ResolveFieldBoosting(IIndexableDataField field)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This is for Sitecore 9.1.1&lt;/p&gt;&#xA;" OwnerUserId="3681" LastEditorUserId="95" LastEditDate="2022-08-11T17:38:46.503" LastActivityDate="2024-01-04T03:09:31.200" Title="Error while resolving field boosting on CD server" Tags="|content-search|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20416" PostTypeId="1" AcceptedAnswerId="20588" CreationDate="2019-08-11T01:25:11.677" Score="0" ViewCount="220" Body="&lt;p&gt;I have implemented Coveo search in my application. Its working fine on Prod but stopped working on local. The search results are not appearing in local&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I tried to figure out what is the issue , I did not get any error except in License details under control panel(Attached).Kindly suggest me how to fix this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oMxWn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oMxWn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3022" LastActivityDate="2019-08-20T11:35:12.880" Title="Search Results not appearing in Coveo Search" Tags="|sitecore-api|coveo|" AnswerCount="1" CommentCount="9" ClosedDate="2019-08-20T15:10:09.650" ContentLicense="CC BY-SA 4.0" />
  <row Id="20417" PostTypeId="1" CreationDate="2019-08-11T07:31:16.653" Score="0" ViewCount="137" Body="&lt;p&gt;We are trying to migrate our application from Azure US servers to EU Servers. We just copied all the files of Website folder (or wwwroot folder) from US server to EU server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our Production CM environment worked without any effort but we are facing issues while loading the Prod CD environment. It is throwing the following error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IEA1t.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IEA1t.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Server Error in '/' Application.&#xA;Post condition failed&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &#xA;&#xA;Exception Details: System.InvalidOperationException: Post condition failed&#xA;&#xA;Source Error: &#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace: &#xA;&#xA;&#xA;[InvalidOperationException: Post condition failed]&#xA;   Sitecore.Diagnostics.Assert.ResultNotNull(T result, String message) +85&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabase(String name) +86&#xA;   Sitecore.Configuration.DefaultFactory.GetDatabases() +121&#xA;   Sitecore.Data.Managers.DefaultItemManager.Initialize() +96&#xA;   (Object , Object[] ) +120&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   (Object , Object[] ) +71&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Nexus.Web.HttpModule.Application_Start() +291&#xA;   Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +673&#xA;   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +580&#xA;   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165&#xA;   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +267&#xA;   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341&#xA;&#xA;[HttpException (0x80004005): Post condition failed]&#xA;   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523&#xA;   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107&#xA;   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I compared both the CD environment file system (the working US Azure and the new EU Azure) and couldn't find any difference.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know why exactly this error is showing up.&lt;/p&gt;&#xA;" OwnerUserId="4827" LastEditorUserId="70" LastEditDate="2019-08-13T11:51:56.283" LastActivityDate="2019-08-13T11:51:56.490" Title="Post Condition failed on Migration between Azure Servers" Tags="|azure|scaling|migration|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20418" PostTypeId="1" AcceptedAnswerId="20419" CreationDate="2019-08-12T04:06:35.763" Score="0" ViewCount="220" Body="&lt;p&gt;I am using &lt;code&gt;Coveo 4.0 Cloud platform with Sitecore 8.2&lt;/code&gt;. I don't see an option for Index Rebuild in Sitecore control panel(Please refer attached screenshot).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly let me know how to rebuild indexes.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/pvagj.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pvagj.jpg&quot; alt=&quot;ve&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="5387" LastEditDate="2019-08-12T04:14:02.297" LastActivityDate="2019-08-12T04:41:04.397" Title="Index Rebuild option not appearing in Sitecore Control Panel" Tags="|sitecore-client|coveo|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20419" PostTypeId="2" ParentId="20418" CreationDate="2019-08-12T04:26:13.663" Score="6" Body="&lt;p&gt;Coveo Index can build similar to the Sitecore indexing, in the control panel, under the indexing section click on Indexing Manager. Here you can see the Coveo indexes list with other Sitecore indexes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XjMiJ.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XjMiJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Check you Coveo indexes and click on rebuild button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: With the latest version of Coveo you will get the indexing manager, which will give you a UI interface to rebuild the indexes but with your current version Coveo 4.0 Cloud platform with Sitecore 8.2, you will not get this.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/J2SVR.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J2SVR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-08-12T04:41:04.397" LastActivityDate="2019-08-12T04:41:04.397" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20420" PostTypeId="2" ParentId="20418" CreationDate="2019-08-12T04:32:16.357" Score="0" Body="&lt;p&gt;In Sitecore Control Panel you can see Indexing Manager in Indexing section as well. Try building your coveo indexes from there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Rh8J5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Rh8J5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-08-12T04:32:16.357" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20421" PostTypeId="2" ParentId="20388" CreationDate="2019-08-12T05:00:27.740" Score="0" Body="&lt;p&gt;There could be possible few solutions for this issue:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Configure a Firewall&lt;/strong&gt; &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/setting-up-sitecore-ip-geolocation.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/setting-up-sitecore-ip-geolocation.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;geoIp-ces.cloud.sitecore.net&#xA;&#xA;Discovery-ces.cloud.sitecore.net&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use a Proxy server&lt;/strong&gt;: In Sitecore.Analytics.Tracking.config change the &lt;code&gt;Analytics.ForwardedRequestHttpHeader&lt;/code&gt; setting to the value: &lt;code&gt;X-Forwarded-For&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;This is a Sitecore bug so for &lt;code&gt;Sitecore 9.0.2&lt;/code&gt;, download zip from here &lt;a href=&quot;https://grantkillian.wordpress.com/2016/10/31/azure-appgateways-and-sitecores-use-of-x-forwarded-for/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://grantkillian.wordpress.com/2016/10/31/azure-appgateways-and-sitecores-use-of-x-forwarded-for/&lt;/a&gt; and apply in your &lt;code&gt;Sitecore&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-08-12T05:00:27.740" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20424" PostTypeId="2" ParentId="8937" CreationDate="2019-08-12T07:34:15.817" Score="2" Body="&lt;p&gt;We finally got around to implementing this, so I just want to show how I solved it.&#xA;I added the following lines to the  section in our custom Sitecore config file.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;root&amp;gt;&#xA;        &amp;lt;appender-ref ref=&quot;LogFileAppender&quot; /&amp;gt;&#xA;        &amp;lt;appender-ref ref=&quot;IndexUpdateAppender&quot; /&amp;gt;&#xA;      &amp;lt;/root&amp;gt;&#xA;      &amp;lt;appender name=&quot;LogFileAppender&quot;&amp;gt;&#xA;        &amp;lt;filter type=&quot;log4net.Filter.StringMatchFilter&quot;&amp;gt;&#xA;          &amp;lt;stringToMatch  value=&quot;Index_Update_IndexName&quot; /&amp;gt;&#xA;          &amp;lt;acceptOnMatch value=&quot;false&quot; /&amp;gt;&#xA;        &amp;lt;/filter&amp;gt;&#xA;      &amp;lt;/appender&amp;gt;&#xA;      &amp;lt;appender name=&quot;IndexUpdateAppender&quot;&#xA;        type=&quot;log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging&quot;&amp;gt;&#xA;        &amp;lt;file value=&quot;$(dataFolder)/logs/IndexUpdate.log.{date}.txt&quot; /&amp;gt;&#xA;        &amp;lt;appendToFile value=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;layout type=&quot;log4net.Layout.PatternLayout&quot;&amp;gt;&#xA;          &amp;lt;conversionPattern value=&quot;%4t %d{ABSOLUTE} %-5p %m%n&quot; /&amp;gt;&#xA;        &amp;lt;/layout&amp;gt;&#xA;        &amp;lt;filter type=&quot;log4net.Filter.StringMatchFilter&quot;&amp;gt;&#xA;          &amp;lt;stringToMatch  value=&quot;Index_Update_IndexName&quot; /&amp;gt;&#xA;          &amp;lt;acceptOnMatch value=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;/filter&amp;gt;&#xA;        &amp;lt;filter type=&quot;log4net.Filter.DenyAllFilter&quot; /&amp;gt;&#xA;      &amp;lt;/appender&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1414" LastActivityDate="2019-08-12T07:34:15.817" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20425" PostTypeId="2" ParentId="16407" CreationDate="2019-08-12T07:43:16.030" Score="2" Body="&lt;p&gt;In my case, I was also not able to stop the Sitecore XConnect Search Indexer service of my Sitecore 9.0.2 instance. Remember, the &lt;strong&gt;Sitecore XConnect Search Indexer service is very closely related to the Solr cores.&lt;/strong&gt; (If the Indexer service is not running, the effect will be that you will not find any contacts (even anonymous/known) getting listed in the Experience Profile when any visitor visits your website (Or) you cant delete any contact from any list in the List Manager) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I checked the Solr service, I found that it was in the &lt;strong&gt;Paused&lt;/strong&gt; state, I was not able to stop this Solr service. Then, I realized that the problem was with this Solr. &lt;strong&gt;&lt;em&gt;This Solr service was running in the same port that the other Solr Service was running.&lt;/em&gt;&lt;/strong&gt; So, I stopped the other service, then I resumed this Solr Service (that my Sitecore instance is now using). Then, I was able to stop/start the Sitecore XConnect Search Indexer service as usual.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Two things to remember always:&lt;/strong&gt;&#xA;&lt;br/&gt;1. the Sitecore XConnect Search Indexer service is very closely related to the Solr cores.&#xA;&lt;br/&gt;2. Never create a Solr service with the same port number specified for another Solr service. Or the best recommended way is that you give a Service name along with the port number for avoiding confusions, for example, SOLR721HOST8985&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt;&#xA;Both services were of the same Solr version 6.6.2&lt;/p&gt;&#xA;" OwnerUserId="4515" LastActivityDate="2019-08-12T07:43:16.030" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20427" PostTypeId="2" ParentId="19916" CreationDate="2019-08-12T07:48:49.207" Score="2" Body="&lt;p&gt;Turns out whilst Sitecore 9.1 supports WAF configuration, it has a limitation where FXM tracking requests are blocked.  Appears to be due to the page URL not being encrypted and it triggering Owasp security rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It has been logged with Sitecore as a future feature request.&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-08-12T07:48:49.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20428" PostTypeId="1" CreationDate="2019-08-12T08:22:46.950" Score="1" ViewCount="560" Body="&lt;p&gt;XHR requests in my publishing service are returning 404 with messages that resource could not be found:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &amp;quot;Message&amp;quot;: &amp;quot;No HTTP resource was found that matches the request URI 'http://instance/sitecore/api/ssc/publishing/Targets/{00000000-0000-0000-0000-000000000000}/All'.&amp;quot;,&#xA;  &amp;quot;MessageDetail&amp;quot;: &amp;quot;No type was found that matches the controller named 'Targets'.&amp;quot;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It's similar to what has been reported here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5958/sitecore-publishing-service-does-not-show-the-languages-and-seeing-404-errors&quot;&gt;Sitecore Publishing Service does not show the languages and seeing 404 errors&lt;/a&gt;&#xA;yet solutions from there doesn't seem to help.&lt;/p&gt;&#xA;&lt;p&gt;It is not working on some environments and locally, where recently I have changed way for handling DI. Basically, before we had been using &lt;code&gt;DefaultServiceProviderBuilder&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;We wanted to be able to use our Castle Windsor dependencies in pipeline processors and such, so I've implemented custom Service Provider Builder (using &lt;a href=&quot;https://github.com/volosoft/castle-windsor-ms-adapter&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/volosoft/castle-windsor-ms-adapter&lt;/a&gt;):&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class WindsorServiceProviderBuilder : BaseServiceProviderBuilder&#xA;{&#xA;    protected override IServiceProvider BuildServiceProvider(IServiceCollection serviceCollection)&#xA;    {&#xA;        ContainerManager.InitContainer(new WindsorContainer());&#xA;&#xA;        ContainerManager.Container.Install(FromAssembly.InThisApplication());&#xA;        ContainerManager.Container.Register(Classes.FromThisAssembly().BasedOn&amp;lt;IController&amp;gt;().LifestyleTransient());&#xA;&#xA;        return WindsorRegistrationHelper.CreateServiceProvider(ContainerManager.Container, serviceCollection);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;When this is in place, everything seems to be working fine when it comes to Sitecore and the application itself, but it's the publishing service that has issues. When publishing an item from content editor, dialog is not populated with targets and languages and the same happens on publishing dashhboard - no running jobs, recent jobs etc. Just the 404 error in the console.&lt;/p&gt;&#xA;&lt;p&gt;When going to &lt;code&gt;/sitecore/admin/ShowServicesConfig.aspx?details=1&lt;/code&gt;, I can't see on the first sight that something is missing.&lt;/p&gt;&#xA;&lt;p&gt;When switching back to the previous service provider (default one), things are working fine. But the overriden one doesn't seem to be working. What might be missing here?&lt;/p&gt;&#xA;" OwnerUserId="1329" LastEditorUserId="1606" LastEditDate="2020-09-05T19:22:48.883" LastActivityDate="2022-09-25T23:05:45.450" Title="Publishing service 404" Tags="|dependency-injection|publishing-service|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20429" PostTypeId="1" AcceptedAnswerId="20464" CreationDate="2019-08-12T09:07:40.637" Score="0" ViewCount="581" Body="&lt;p&gt;Has anyone made Sitecore CM server publicly visible so that anyone can see the Sitecore login page?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My client wants to make content management available to external agencies (who are comfortable using Experience Editor). The CM server is on a private network and the use of IP based restriction, certificates, VPN have all been rejected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I follow all the Sitecore security recommendations (&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/securing-xm.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/securing-xm.html&lt;/a&gt; and &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/user-security.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/user-security.html&lt;/a&gt;) would it be sufficient to then put the server on the web?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="5172" LastEditorUserId="5172" LastEditDate="2019-08-12T09:23:59.560" LastActivityDate="2019-08-16T15:09:09.293" Title="Access to Sitecore CM from outside network" Tags="|security|content-management|" AnswerCount="2" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20430" PostTypeId="2" ParentId="20276" CreationDate="2019-08-12T09:27:42.657" Score="0" Body="&lt;p&gt;I have resolved this issue using below points:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Saved Anonymous contact first because Anonymous contact is still in Session&lt;/li&gt;&#xA;&lt;li&gt;Then get existing contact from the database and updated facets&lt;/li&gt;&#xA;&lt;li&gt;Merged existing contact into Anonymous contact using Merge API &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/merge-contacts.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/merge-contacts.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now I have Interaction as well as updated facets.&lt;/p&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-08-12T09:27:42.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20431" PostTypeId="2" ParentId="20394" CreationDate="2019-08-12T09:33:49.380" Score="0" Body="&lt;p&gt;Each row is represented by a Child view in the response from Commerce Engine and on the load of page, first row should be selected bu default. To be able to select any other row, each row should have a unique Item Id.&#xA;please see image below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A1H93.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A1H93.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-08-12T09:33:49.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20432" PostTypeId="1" AcceptedAnswerId="20436" CreationDate="2019-08-12T09:51:12.827" Score="0" ViewCount="28" Body="&lt;p&gt;I have a Table in a custom plugin. I would like to select a row and update the values of selected row using Edit button. There is only one Edit button on the top right corner of the plugin. &lt;/p&gt;&#xA;" OwnerUserId="5886" LastActivityDate="2019-08-12T10:15:06.787" Title="How to update the values of a selected row using Edit button (Action) for a custom Plugin?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20433" PostTypeId="1" CreationDate="2019-08-12T09:58:17.910" Score="0" ViewCount="213" Body="&lt;p&gt;I created &lt;strong&gt;customdatepicker.cshtml&lt;/strong&gt; file in &lt;code&gt;\Form\EditorTemplatesfor&lt;/code&gt; path and selected in form designer window. When I browse the page which has this WFFM and and click on &lt;code&gt;customdatepicker&lt;/code&gt; field it's not opening any date control.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you any one suggest me that how can I implement a custom date picker field type?&lt;/p&gt;&#xA;" OwnerUserId="5609" LastEditorUserId="70" LastEditDate="2019-08-12T14:57:53.570" LastActivityDate="2019-08-12T14:57:53.570" Title="How to create custom date picker field type in WFFM" Tags="|wffm|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20434" PostTypeId="1" AcceptedAnswerId="20489" CreationDate="2019-08-12T10:08:53.357" Score="0" ViewCount="318" Body="&lt;p&gt;I installed sitecore form extension-  &lt;a href=&quot;http://onelittlespark.bartverdonck.be/sitecoreformsextentions/9.1/developerdoc/install.html#configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://onelittlespark.bartverdonck.be/sitecoreformsextentions/9.1/developerdoc/install.html#configuration&lt;/a&gt;.  But now my form does not get saved.   Any idea to rollback or default to sitecore forms? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do not wish to delete the files and items manually. Below is the error I get while saving the form  &lt;a href=&quot;https://i.stack.imgur.com/sBgTd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sBgTd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4748" LastEditorUserId="237" LastEditDate="2019-08-12T11:16:10.363" LastActivityDate="2019-08-13T22:21:29.387" Title="How to uninstall Sitecore Forms Extensions package?" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20435" PostTypeId="2" ParentId="20429" CreationDate="2019-08-12T10:14:10.800" Score="0" Body="&lt;p&gt;I have worked on multiple implementations similar implementations, it is  suggested to have multi-factor authentication when CM server opened without Ip restrictions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A clean integration is on v9.2 with sitecore Identity server instance to manage the users cleanly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/92/sitecore-experience-management/en/sitecore-identity.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/92/sitecore-experience-management/en/sitecore-identity.html&lt;/a&gt; which inturn uses OWIN and oData integration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/92/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/92/sitecore-experience-management/en/use-the-sitecore-identity-server-as-a-federation-gateway.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Quick thing could be an upgrade to Sitecore 9.2 and turn-around to Sitecore Identity Server. &lt;/p&gt;&#xA;" OwnerUserId="5892" LastEditorUserId="5892" LastEditDate="2019-08-13T11:02:59.493" LastActivityDate="2019-08-13T11:02:59.493" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20436" PostTypeId="2" ParentId="20432" CreationDate="2019-08-12T10:15:06.787" Score="1" Body="&lt;p&gt;Try to find out what values you are getting back when you click Edit in your block.&#xA;I think you will get following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;your page entity id, &lt;/li&gt;&#xA;&lt;li&gt;view name&lt;/li&gt;&#xA;&lt;li&gt;Selected Item Id. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;With this information you can get the entity from Commerce engine database using find entity pipeline, you must be storing your data in some component so you can get that component from entity and find the row by Item Id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then create another view that will allow content authors to edit the values (this is similar to add but for Edit this time)&#xA;Then you need to add an action for update (you must be having a similar action on add)&lt;br&gt;&#xA;Do following in edit action:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;get your posted values&lt;/li&gt;&#xA;&lt;li&gt;get your entity from commerce database&lt;/li&gt;&#xA;&lt;li&gt;update properties/components in your entity&lt;/li&gt;&#xA;&lt;li&gt;persist entity in commerce database.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-08-12T10:15:06.787" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20437" PostTypeId="2" ParentId="20434" CreationDate="2019-08-12T10:26:39.650" Score="4" Body="&lt;p&gt;Sitecore doesn't provide an automated way for removing installed package using Installation Wizard. You can only remove packages manually if you have not created any anti-package using Sitecore rocks before installation. - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8651/uninstalling-sitecore-module&quot;&gt;Uninstalling sitecore module&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't have anti-package then the only way is to follow steps described here - &lt;a href=&quot;https://kb.sitecore.net/articles/916660&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/916660&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore PowerShell Extensions comes with the anti-package feature as well - &lt;a href=&quot;https://doc.sitecorepowershell.com/modules/integration-points/toolbox&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/modules/integration-points/toolbox&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="95" LastEditDate="2019-08-12T12:35:28.687" LastActivityDate="2019-08-12T12:35:28.687" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20438" PostTypeId="2" ParentId="20428" CreationDate="2019-08-12T10:38:46.710" Score="1" Body="&lt;p&gt;The Publishing Service Controllers are Web API Controllers and Web API caches these controller types in the following auto generated file:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET&#xA;  Files\root\XXXXXXXX\XXXXXXXX\UserCache\MS-ApiControllerTypeCache.xml&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I know you said you'd followed the other thread advice but I've specifically seen this issue when this file is out of date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you open &lt;strong&gt;MS-ApiControllerTypeCache.xml&lt;/strong&gt; in a text editor you should see the API controllers mentioned wrapped in an assembly element such as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;assembly name=&quot;Sitecore.Publishing.Service.Client.Services, Version=3.2.0.0, Culture=neutral, PublicKeyToken=null&quot;&amp;gt;&#xA;    &amp;lt;module versionId=&quot;b178e91f-1703-48ed-8c02-3681d90dbfd1&quot;&amp;gt;&#xA;         &amp;lt;type&amp;gt;Sitecore.Publishing.Service.Client.Services.Controllers.PublishingItemDetailsController&amp;lt;/type&amp;gt;&#xA;         &amp;lt;type&amp;gt;Sitecore.Publishing.Service.Client.Services.Controllers.PublishingTargetsController&amp;lt;/type&amp;gt;&#xA;         &amp;lt;type&amp;gt;Sitecore.Publishing.Service.Client.Services.Controllers.PublishingMaintenanceController&amp;lt;/type&amp;gt;&#xA;         &amp;lt;type&amp;gt;Sitecore.Publishing.Service.Client.Services.Controllers.PublishingJobController&amp;lt;/type&amp;gt;&#xA;         &amp;lt;type&amp;gt;Sitecore.Publishing.Service.Client.Services.Controllers.PublishingLanguageController&amp;lt;/type&amp;gt;&#xA;     &amp;lt;/module&amp;gt;&#xA;&amp;lt;/assembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If the above XML is not present:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Stop IIS &lt;/li&gt;&#xA;&lt;li&gt;Clear out the folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET&#xA;Files\root &lt;/li&gt;&#xA;&lt;li&gt;Restart IIS &lt;/li&gt;&#xA;&lt;li&gt;Load the site in a browser &lt;/li&gt;&#xA;&lt;li&gt;Check that the MS-ApiControllerTypeCache.xml file now has the controller types present.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="5012" LastActivityDate="2019-08-12T10:38:46.710" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20440" PostTypeId="2" ParentId="10239" CreationDate="2019-08-12T10:55:43.590" Score="2" Body="&lt;p&gt;I also faced this same issue while working with &lt;code&gt;SXA 1.9&lt;/code&gt; and &lt;code&gt;Sitecore 9.2&lt;/code&gt;.&#xA;Then, I re-checked my installations. By mistake, I installed &lt;code&gt;Sitecore PowerShell Extension WDP 5.0 for Sitecore 9.2&lt;/code&gt;, instead of &lt;code&gt;Sitecore PowerShell Extension 5.0 for Sitecore 9.2&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check your installations as well. Install &lt;code&gt;Sitecore PowerShell Extension 5.0 for Sitecore 9.2&lt;/code&gt; and it will work correctly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; - To check if Powershell Extension is installed correctly, open your Sitecore instance and check if Powershell Console and Powershell Toolbox are showing as in below image - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UilYn.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UilYn.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5833" LastEditorUserId="5387" LastEditDate="2019-08-13T04:08:53.407" LastActivityDate="2019-08-13T04:08:53.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20442" PostTypeId="2" ParentId="8091" CreationDate="2019-08-12T11:11:07.017" Score="1" Body="&lt;p&gt;I faced similar issues while installing solr-7.5.0 for Sitecore 9.2 installation.&#xA;I searched all over internet and it was written to import the certificate to trusted root authority.This solution worked for me. &#xA;But please ensure that you check on below points - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) make sure that you are importing it to trusted root authority of &quot;LOCAL MACHINE&quot; and not just &quot;CURRENT USER&quot;. It will keep showing same error if you are importing only to &quot;CURRENT USER&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) make sure that more than 1 certificate with same name for solr does not exist in trusted root authority of &quot;LOCAL MACHINE&quot;. This solution worked for me only when I deleted other certificates having same name.&lt;/p&gt;&#xA;" OwnerUserId="5833" LastActivityDate="2019-08-12T11:11:07.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20443" PostTypeId="1" CreationDate="2019-08-12T12:01:41.583" Score="0" ViewCount="86" Body="&lt;p&gt;The solution is based on Sitecore 9.0.2 and two machines: CM and CD.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm doing some changes to the contact profile and I want to reload it to the session as described here: &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/contactmanager-reference.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/contactmanager-reference.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;manager.RemoveFromSession(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;Sitecore.Analytics.Tracker.Current.Session.Contact = manager.LoadContact(Sitecore.Analytics.Tracker.Current.Contact.ContactId);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code works fine on CD, but on CM &lt;code&gt;manager.LoadContact()&lt;/code&gt; returns null.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the reason and how to fix that?&lt;/p&gt;&#xA;" OwnerUserId="3754" LastActivityDate="2019-08-12T15:20:26.847" Title="Reloading contact into session fails" Tags="|xdb|session-state|contact|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20444" PostTypeId="2" ParentId="20388" CreationDate="2019-08-12T12:24:25.167" Score="0" Body="&lt;p&gt;If your local system is inside a VPN network or company LAN then GEOIP will not work as it would be getting IP of VPN or LAN external IP rather than IP of your system.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can write code to get IP of your system inside an aspx page and copy it inside Website folder.&#xA;You can test what IP you are getting for your system.It must be LAN/VPN IP instead of your local system IP.&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="3022" LastEditDate="2019-08-12T12:29:40.243" LastActivityDate="2019-08-12T12:29:40.243" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20445" PostTypeId="1" AcceptedAnswerId="20448" CreationDate="2019-08-12T12:52:24.533" Score="0" ViewCount="67" Body="&lt;p&gt;The default Commerce Engine implementation has a hard-coded Identity Server Api name &amp;amp; secret:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.AddIdentityServerAuthentication(options =&amp;gt;&#xA;{&#xA;    options.Authority = this.Configuration.GetSection(&quot;AppSettings:SitecoreIdentityServerUrl&quot;).Value;&#xA;    options.RequireHttpsMetadata = false;&#xA;    options.EnableCaching = false;&#xA;    options.ApiName = &quot;EngineAPI&quot;;&#xA;    options.ApiSecret = &quot;secret&quot;;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Should I change the &lt;code&gt;ApiSecret&lt;/code&gt; to a more secure string for production usage?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="70" LastEditDate="2019-08-12T14:13:51.607" LastActivityDate="2019-08-12T15:06:08.490" Title="Should I harden Commerce Engine ApiSecret?" Tags="|sitecore-commerce|identity-server|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20446" PostTypeId="1" CreationDate="2019-08-12T14:32:08.820" Score="3" ViewCount="59" Body="&lt;p&gt;I'm Performing A/B Testing.Having 2 variant mails and 10 recipients. I specified the size of test as &lt;strong&gt;40%&lt;/strong&gt;. So the mail was sent to &lt;strong&gt;4&lt;/strong&gt; recipients. In that &lt;strong&gt;4&lt;/strong&gt; recipients, person who received &lt;strong&gt;variant B&lt;/strong&gt; mail, have opened it. So based on &lt;strong&gt;highest open rate&lt;/strong&gt; the rest 6 recipients must receive &lt;strong&gt;Variant B&lt;/strong&gt; mail. But the issue is, rest of the members are getting &lt;strong&gt;Variant A&lt;/strong&gt; mail only. Whenever i perform A/B testing i'm getting &lt;strong&gt;Variant A&lt;/strong&gt; mail only. Can anyone explain me WHY???&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fO9gl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fO9gl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5632" LastEditorUserId="5632" LastEditDate="2019-08-13T08:55:05.783" LastActivityDate="2019-08-13T08:55:05.783" Title="A/B Testing - Why Variant A mail is being sent to all the recipients as default?" Tags="|exm|content-testing|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20447" PostTypeId="1" AcceptedAnswerId="20468" CreationDate="2019-08-12T14:45:16.893" Score="0" ViewCount="42" Body="&lt;p&gt;I have a custom plugin which has a table with rows. I have Add button to add a row. While adding I want to ensure uniqueness of a property value. By default  &lt;code&gt;childView.Properties.Add&lt;/code&gt; has &lt;code&gt;IsRequired = false/true&lt;/code&gt; but there is nothing to check if the value is unique.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please can someone help me on this?&lt;/p&gt;&#xA;" OwnerUserId="5886" LastEditorUserId="70" LastEditDate="2019-08-12T14:55:41.127" LastActivityDate="2019-08-13T10:38:01.020" Title="How to add custom validation to ensure unique value for one of the childView's Properties in custom plugin?" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20448" PostTypeId="2" ParentId="20445" CreationDate="2019-08-12T15:06:08.490" Score="0" Body="&lt;p&gt;Turns out the &lt;code&gt;ApiSecret&lt;/code&gt; is actually unused as the Commerce Engine uses JWT and &lt;em&gt;not&lt;/em&gt; Reference tokens. See Identity Server documentation: &lt;a href=&quot;http://docs.identityserver.io/en/latest/topics/apis.html#supporting-reference-tokens&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://docs.identityserver.io/en/latest/topics/apis.html#supporting-reference-tokens&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One could change the code to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;.AddIdentityServerAuthentication(options =&amp;gt;&#xA;{&#xA;    options.Authority = this.Configuration.GetSection(&quot;AppSettings:SitecoreIdentityServerUrl&quot;).Value;&#xA;    options.ApiName = &quot;EngineAPI&quot;;&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;NB. As the Identity Server by default uses RSA encryption it uses the &lt;a href=&quot;https://auth0.com/docs/jwks&quot; rel=&quot;nofollow noreferrer&quot;&gt;JSON Web Keyset&lt;/a&gt; (available at e.g. &lt;a href=&quot;https://identity/.well-known/openid-configuration/jwks&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://identity/.well-known/openid-configuration/jwks&lt;/a&gt;) to verify the JWT. &lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-08-12T15:06:08.490" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20449" PostTypeId="2" ParentId="20443" CreationDate="2019-08-12T15:20:26.847" Score="1" Body="&lt;p&gt;The CM server does not process xDB since the role &lt;code&gt;ContentDelivery&lt;/code&gt; or &lt;code&gt;Standalone&lt;/code&gt; is not enabled. This is by default to prevent CM activity from polluting the xDB database. Your code will only work on the CD servers or servers with &lt;code&gt;Standalone&lt;/code&gt; role enabled.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-08-12T15:20:26.847" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20450" PostTypeId="1" AcceptedAnswerId="20451" CreationDate="2019-08-12T15:32:20.057" Score="2" ViewCount="298" Body="&lt;p&gt;MongoDB has &lt;a href=&quot;https://www.mongodb.com/support-policy&quot; rel=&quot;nofollow noreferrer&quot;&gt;announced end of life (EOL) support for MongoDB&lt;/a&gt; version 3.4 in January 2020. The Sitecore KB &lt;a href=&quot;https://kb.sitecore.net/articles/633863&quot; rel=&quot;nofollow noreferrer&quot;&gt;MongoDB compatibility article&lt;/a&gt; for Sitecore 8.2 only shows version 3.4 as compatible. How do I stay supported?&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-08-12T15:44:20.280" Title="How do I get my Sitecore 8.2 install to work with MongoDB 3.6 now that v3.4 is going to be EOL?" Tags="|upgrade|mongodb|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20451" PostTypeId="2" ParentId="20450" CreationDate="2019-08-12T15:44:20.280" Score="2" Body="&lt;h2&gt;Solution for Sitecore 8.2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Sitecore has released an upgrade process for version 8.2.7 to support MongoDb 3.6.6. Details can be found on the KB article here: &lt;a href=&quot;https://kb.sitecore.net/articles/244364&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/244364&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The following upgrade process has been tested with MongoDb 3.6.6.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Prerequisite:&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Customers using Sitecore XP versions earlier than 8.2.7 must upgrade&#xA;  to Sitecore XP 8.2.7.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;&lt;strong&gt;Update procedure:&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;Download the following archive: &lt;a href=&quot;https://kb.sitecore.net/Services/Tracking/TrackEvent?ev=qObCs%2BaHKHySUxxzsLaQTwdlckI94oPMOUQUhWOYZ1ftGM2S8TlqxgWkhROxLvabGeYVUNrzNRMM08wZdkM9JGWNN0x%2FLrUuwne%2FM3oobIc%2Bqu4AoBFYlPTsx30NLmANW1hm92gIjsxCartCCAlMgj11YKMfcEG2wYuzhLi9U%2F1Afj85qA13HpNM1s7lvd1YJ6ggKBEDMAz5O1RzNnwpoc1mooX06xLwXr6ibp%2BX2J0%3D&quot; rel=&quot;nofollow noreferrer&quot;&gt;CSharpDriver-2.5.0.zip&lt;/a&gt;. &lt;/li&gt;&#xA;  &lt;li&gt;Extract the following assemblies from the \net45 folder inside the archive:&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;MongoDB.Bson.dll&lt;/li&gt;&#xA;  &lt;li&gt;MongoDB.Driver.Core.dll&lt;/li&gt;&#xA;  &lt;li&gt;MongoDB.Driver.dll&lt;/li&gt;&#xA;  &lt;li&gt;MongoDB.Driver.Legacy.dll&lt;/li&gt;&#xA;  &lt;/ul&gt;&lt;/li&gt;&#xA;  &lt;li&gt;Overwrite MongoDB driver assemblies in all&#xA;  your Sitecore XP instances (located in the \bin folder) with the&#xA;  assemblies mentioned in the previous step.&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;Additional Options&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;More details and options are detailed on this blog: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/using-sitecore-8-2-with-mongo-3-4-time-for-an-upgrade&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/technical-marketing/posts/using-sitecore-8-2-with-mongo-3-4-time-for-an-upgrade&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A summary of the options from that blog:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;What are my options?&lt;/strong&gt; &lt;/p&gt;&#xA;  &#xA;  &lt;ol&gt;&#xA;  &lt;li&gt;&lt;p&gt;&lt;strong&gt;Upgrade to 8.2.7 and patch:&lt;/strong&gt; You can follow the instructions on our KB article to resolve the issue by first upgrading to 8.2.7 and then applying the patch to upgrade 8.2.7 to use MongoDB 3.6: &lt;a href=&quot;https://kb.sitecore.net/articles/244364&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/244364&lt;/a&gt;  &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Please note that Sitecore 8.2 also reaches end of mainstream support on &lt;strong&gt;December 31, 2019&lt;/strong&gt;. You will need to ensure you have purchased Extended Support for Sitecore 8.2 if you wish to continue having support on Sitecore version 8.2. &lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;&lt;strong&gt;Upgrade to 9.2 and MongoDB 4.0.5:&lt;/strong&gt; If you would like to continue using MongoDB, you can upgrade to Sitecore 9.2 which is compatible with Mongo 4.0.5. This gives you all the benefits of the latest release of Sitecore along with the most up to date Mongo version support. This also ensures you maintain active mainstream support. &lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;strong&gt;Upgrade to 9.0.2 or 9.1 and MongoDB 3.6:&lt;/strong&gt; This is an option if there is a reason that the 9.2 upgrade is not possible.There are some limitations on the MongoDB support in 9.0 and 9.1, which can be viewed on the MongoDB compatibility table. &lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;&lt;strong&gt;Upgrade to 9.x and SQL Server:&lt;/strong&gt; Starting with Sitecore 9.0, you can now use SQL Server instead of MongoDB. This is an option if you would prefer not having to manage MongoDB infrastructure going forward.&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;li&gt;&lt;p&gt;&lt;strong&gt;Continue using current Sitecore version and MongoDB:&lt;/strong&gt; In this scenario,you will lose support for MongoDB from MongoDB support team as of January 2020. &lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Please note that Sitecore 8.2 also reaches end of mainstream support on &lt;strong&gt;December 31, 2019&lt;/strong&gt;. You will need to ensure you have purchased Extended Support for Sitecore 8.2 if you wish to continue having support on Sitecore version 8.2.&lt;/p&gt;&lt;/li&gt;&#xA;  &lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-08-12T15:44:20.280" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20452" PostTypeId="1" AcceptedAnswerId="20453" CreationDate="2019-08-12T17:06:16.927" Score="2" ViewCount="1215" Body="&lt;p&gt;I'm trying to configure Redis cache session storage for my CD environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm following this document -&gt; &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/walkthrough--configuring-a-shared-session-state-database-using-the-redis-provider.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/walkthrough--configuring-a-shared-session-state-database-using-the-redis-provider.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that document, it is only mention to change the setting under tracking/sharedSessionState. But nothing is mentioned about the sessionState configuration in the web.config file.&#xA;i.e.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;InProc&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot; sessionIDManagerType=&quot;Sitecore.SessionManagement.ConditionalSessionIdManager&quot;&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;mongo&quot; type=&quot;Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;add name=&quot;redis&quot; type=&quot;Sitecore.SessionProvider.Redis.RedisSessionStateProvider, Sitecore.SessionProvider.Redis&quot; applicationName=&quot;private&quot; connectionString=&quot;sharedSession&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Don't we have to change this sessionState configuration also to mode=&quot;custom&quot; &amp;amp; customProvider=&quot;Redis&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ex:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;Custom&quot; customProvider=&quot;redis&quot; cookieless=&quot;false&quot; timeout=&quot;20&quot;&amp;gt;&#xA;      &amp;lt;providers&amp;gt;&#xA;        &amp;lt;add name=&quot;mongo&quot; type=&quot;Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;add name=&quot;mssql&quot; type=&quot;Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql&quot; sessionType=&quot;Standard&quot; connectionStringName=&quot;session&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;add name=&quot;redis&quot; type=&quot;Sitecore.SessionProvider.Redis.RedisSessionStateProvider, Sitecore.SessionProvider.Redis&quot; applicationName=&quot;private&quot; connectionString=&quot;sharedSession&quot; pollingInterval=&quot;2&quot; compression=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/providers&amp;gt;&#xA;&amp;lt;/sessionState&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="383" LastActivityDate="2019-08-12T17:13:24.040" Title="Redis Cache Shared Session Configuration" Tags="|caching|redis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20453" PostTypeId="2" ParentId="20452" CreationDate="2019-08-12T17:09:07.603" Score="7" Body="&lt;p&gt;Shared session configuration is for Analytics &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ths sessionState setting in the web.config setting manages the Redis storage for your Sitecore session.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Instructions found here:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/walkthrough--configuring-a-private-session-state-database-using-the-redis-provider.html&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/walkthrough--configuring-a-private-session-state-database-using-the-redis-provider.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="467" LastEditorUserId="383" LastEditDate="2019-08-12T17:13:24.040" LastActivityDate="2019-08-12T17:13:24.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20454" PostTypeId="1" AcceptedAnswerId="20511" CreationDate="2019-08-12T18:36:28.493" Score="0" ViewCount="857" Body="&lt;h3&gt;The problem:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;On a clean 9.2 installation, after I make a change in the &lt;code&gt;/bin&lt;/code&gt; folder or change something in the &lt;code&gt;web.config&lt;/code&gt;, Sitecore crashes with a Just-In-Time exception, asking me if I want to attach a debugger to the crashing process. If I select yes, Visual Studio loads, but I am unable to attach a debugger, since the process has crashed. Afterwards, the site loads up just fine. The error only happens on the initial load, after a deploy.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the event log I see the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;    Faulting application name: w3wp.exe, version: 10.0.17763.1, time stamp: 0xcfdb13d8&#xA;    Faulting module name: clr.dll, version: 4.7.3416.0, time stamp: 0x5cabfc63&#xA;    Exception code: 0xc0000005&#xA;    Fault offset: 0x000000000012108c&#xA;    Faulting process id: 0x5504&#xA;    Faulting application start time: 0x01d5513384b4dd78&#xA;    Faulting application path: c:\windows\system32\inetsrv\w3wp.exe&#xA;    Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll&#xA;    Report Id: 52f36235-197b-4edd-99c3-43947487aadd&#xA;    Faulting package full name: &#xA;    Faulting package-relative application ID: &#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And another line with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;    Application: w3wp.exe&#xA;    Framework Version: v4.0.30319&#xA;    Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FFB148A108C (00007FFB14780000) with exit code 80131506.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;What I tried:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I found the following blogpost which describes my exact problem: &lt;a href=&quot;https://medium.com/@markgibbons25/sitecore-crashing-on-startup-with-internal-error-in-the-net-runtime-be5831e94b6e&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://medium.com/@markgibbons25/sitecore-crashing-on-startup-with-internal-error-in-the-net-runtime-be5831e94b6e&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the solution described does not work in my scenario. I double- and triple-checked that I do not have any duplicate assembly redirects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I do a deployment and then attach a VS debugger, I can see that the code throws an &lt;code&gt;ExecutionEngineException&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BApg9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BApg9.png&quot; alt=&quot;Stacktrace&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to configure DebugDiag to collect a dump, but none of my crash rules (1 for the application pool, 1 for the w3wp process) are ever hit.&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="70" LastEditDate="2019-08-12T19:57:38.803" LastActivityDate="2019-08-14T19:51:27.400" Title="Just-In-Time exception on application recycle and boot up" Tags="|installation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20455" PostTypeId="1" AcceptedAnswerId="20456" CreationDate="2019-08-12T20:15:36.963" Score="2" ViewCount="747" Body="&lt;p&gt;I'm getting this error while running a powershell extension script in Sitecore. Here's a simple version of the script.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;$allContent = Get-ChildItem -Path &quot;/sitecore/content/Website/Home&quot; -Recurse&#xA;Write-Host $allContent.Length&quot; content items found!&quot;&#xA;$numUpdated = 0&#xA;foreach ($content in $allContent){&#xA;    $body = $content[&quot;Body&quot;]&#xA;&#xA;    if ($body -like '*FindThis*'){&#xA;        Write-Host &quot;Found pattern in&quot;$content.ItemPath&#xA;        $body = $body -replace 'FindThis', 'ReplaceWithThis'&#xA;        $content.Editing.BeginEdit()&#xA;        $content[&quot;Body&quot;] = $body&#xA;        $content.Editing.EndEdit() | Out-Null;&#xA;        $numUpdated++&#xA;    }&#xA;}&#xA;Write-Host &quot;Total number of items updated: &quot;$numUpdated&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The odd thing is that the script will work fine for a certain number of items at the beginning of the loop, but then it will start printing the same error for the rest of the array.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception calling &quot;BeginEdit&quot; with &quot;0&quot; argument(s): &quot;The current user does not have write access to this item. User: sitecore\virtualssuser, Item: example-item ({645C2FB1-2877-49F8-89C6-E1FF92C3B1EC})&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I run the script again, it will once again run fine for a certain number of items but then produce errors once it randomly hits a certain item. The only way to complete all items in the loop is to keep running the script over and over until it finally completes every one of them. Any idea what may be happening? I want the script to finish the loop the first time through.&lt;/p&gt;&#xA;" OwnerUserId="4239" LastActivityDate="2019-08-12T21:02:33.633" Title="The current user does not have write access to this item. User: sitecore\virtualssuser" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20456" PostTypeId="2" ParentId="20455" CreationDate="2019-08-12T21:02:33.633" Score="3" Body="&lt;p&gt;I found an &lt;a href=&quot;http://www.cmsitecore.com/2017/10/sitecore-powershell-script-to-remove.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;article&lt;/a&gt; that shows a similar error message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm guessing there is some underlying issue with the Sitecore API that results in this error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock(New-Object Sitecore.SecurityModel.SecurityDisabler){&#xA;    New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {&#xA;        # Add your code here with really good logging because of scope.&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-08-12T21:02:33.633" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20458" PostTypeId="1" AcceptedAnswerId="20515" CreationDate="2019-08-12T22:32:19.143" Score="0" ViewCount="359" Body="&lt;p&gt;We are trying to create a ListFacet (dropdown filter) using the Computed Index field. These are the checklist that we have in place&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The Computed field contains values in the index file.&lt;/li&gt;&#xA;&lt;li&gt;Created a List facet item and specified the Computed field as the Field Name&lt;/li&gt;&#xA;&lt;li&gt;Mapped the List facet item to the Dropdown filter under Data folder&lt;/li&gt;&#xA;&lt;li&gt;Added the Dropdown filter rendering on to the page and associated the datasource to \Data\Search\Dropdown Filter\Dropdown Filter&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;When the page was loaded, the dropdown is empty. Are there any additional steps that needs to be done to get this working ?&lt;/p&gt;&#xA;" OwnerUserId="5800" LastEditorUserId="5800" LastEditDate="2019-08-13T14:19:16.380" LastActivityDate="2019-08-15T07:02:03.510" Title="List Facet using the index field is Empty" Tags="|sxa|solr|search-facet|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20460" PostTypeId="1" AcceptedAnswerId="23674" CreationDate="2019-08-13T06:23:45.220" Score="1" ViewCount="221" Body="&lt;p&gt;Locally I can start a content test and preview the variant thumbnails no problem. &#xA; In &lt;code&gt;Sitecore 9.1.1 Azure PaaS&lt;/code&gt;single instance environment all I see are 403 errors instead of the thumbnails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bXnGF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bXnGF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked through obvious config settings and everything seems to be enabled.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1Ia15.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1Ia15.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The executable path looks a little strange - but am struggling to find if this needs to be changed for Azure instance.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is nothing in the console Network tab as to what the 403 is - whether the thumbnails are not being generated, or they were but can't be accessed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nothing obvious in the log, and Phantomjs.exe is located in the &lt;code&gt;app_Data\tools&lt;/code&gt; folder.&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2020-01-05T23:52:31.000" Title="Content Testing Thumbnail 403 error in Azure" Tags="|content-testing|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20461" PostTypeId="2" ParentId="20460" CreationDate="2019-08-13T06:33:21.217" Score="3" Body="&lt;p&gt;It's unsupported. By Microsoft, so by extension that would mean Sitecore as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Azure PaaS runs in what they call a &lt;code&gt;sandbox&lt;/code&gt;. It's a restricted environment that only supports in part, what you would normally be able to do in your application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;a href=&quot;https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#unsupported-frameworks&quot; rel=&quot;nofollow noreferrer&quot;&gt;list of unsupported frameworks for the sandbox&lt;/a&gt;, we find &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Other scenarios that are not supported:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;PhantomJS/Selenium: tries to connect to local address, and also uses&#xA;  GDI+.&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;As such, I don't think you're doing anything wrong. It just doesn't appear possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You would probably need to reach out to Sitecore Support for alternatives or to inquire about a workaround.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-13T06:33:21.217" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20463" PostTypeId="1" CreationDate="2019-08-13T07:19:37.543" Score="1" ViewCount="169" Body="&lt;p&gt;I tried to create Sitecore custom activity which appears on the Marketing automation control panel UI but does not call the invoke method when I pass the send sms service to it. If the invoke method does not have any services inside and only works with facets data (for example, retrieves contacts e-mail) the invoke method is being called and the action passes the campaign. Any ideas what could be wrong? I used sitecore.docs marketing automation documentation (&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-an-activity-type.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-an-activity-type.html&lt;/a&gt;) for this. Thank you in advance!&lt;/p&gt;&#xA;" OwnerUserId="5897" LastActivityDate="2019-08-14T06:40:09.330" Title="Sitecore Marketing Automation Custom Activity" Tags="|marketing-automation|" AnswerCount="2" CommentCount="0" ClosedDate="2019-08-14T10:28:26.127" ContentLicense="CC BY-SA 4.0" />
  <row Id="20464" PostTypeId="2" ParentId="20429" CreationDate="2019-08-13T08:35:48.483" Score="0" Body="&lt;p&gt;I worked on multiple projects and one as a high profile client. Everyone CM of every environment is hosted on the web and it is exposed publicly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So yes sure you can also host your Sitecore CM on the web. But to ensure the security of the CMS they have used the following approach where you can also implement the same.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;First and foremost they have disabled the robots.txt file from CM server so that the page will not be crawled by the search engine or you can disallow all engine both are fine&lt;/li&gt;&#xA;&lt;li&gt;They have also enabled the IIS Windows / NTLM authentication which provides the extra security on the accessing the Sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;These are the major changes we have made to secure our CM site which was hosted on the web and till now we haven't received any issues on that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So yes sure you can also host your Sitecore CM on the web.&lt;/p&gt;&#xA;" OwnerUserId="976" LastEditorUserId="976" LastEditDate="2019-08-16T15:09:09.293" LastActivityDate="2019-08-16T15:09:09.293" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20466" PostTypeId="1" CreationDate="2019-08-13T09:53:03.483" Score="2" ViewCount="223" Body="&lt;p&gt;&lt;strong&gt;Background :&lt;/strong&gt;&#xA;I am using SXA 1.9 and Sitecore 9.2 to learn SXA. I am following youtube videos on &lt;strong&gt;SXA Rendering Variants&lt;/strong&gt; by Short, ad-hoc, unofficial Sitecore SXA channel.&#xA;On the blogs template, there is a multilist field for authors and on authors template, there is a multilist field for reference media.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Question :&lt;/strong&gt;&#xA;While creating rendering variants as mentioned in above channel, I have used reference variant(for reference media field) as child item of reference variant (for authors field) to access blog's author's reference media field on Blogs Page. However,the media items are not rendering on the page.&#xA;Please suggest what I am missing here. How to access multilist field inside author template when you are on blogs page?&#xA;Please check below screenshots-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cTVeA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cTVeA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A2vTk.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A2vTk.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qAdNT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qAdNT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5833" LastEditorUserId="5833" LastEditDate="2019-08-14T06:12:52.907" LastActivityDate="2021-09-29T15:43:58.097" Title="Responsive Image List in Rendering Variants" Tags="|sxa|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20467" PostTypeId="1" CreationDate="2019-08-13T10:27:57.227" Score="2" ViewCount="35" Body="&lt;p&gt;I have the following scenario:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have installed Sitecore 8.2 update 7&lt;/li&gt;&#xA;&lt;li&gt;I have installed WFFM module&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I am trying to add an &lt;code&gt;MVC Form&lt;/code&gt; rendering into a layout details of a page that I have opened in another language &lt;code&gt;de-DE&lt;/code&gt;. I want to create a new data source for my rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I choose &lt;code&gt;Create a blank form&lt;/code&gt; option from the data source dialog, then the newly created form has the &lt;code&gt;en&lt;/code&gt; language version. I was expecting this to be the same &lt;code&gt;de-DE&lt;/code&gt; language as for my page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BUcnU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BUcnU.png&quot; alt=&quot;screen showing insert form dialog&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expected behavior? Is there a configuration setting to allow me to fix this? Or is this an issue with Sitecore/WFFM module?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5091" LastEditorUserId="608" LastEditDate="2020-03-30T18:49:51.540" LastActivityDate="2020-03-30T18:49:51.540" Title="Issue with WFFM form being created in &quot;en&quot; language instead of specified language" Tags="|wffm|multilingual|mvc-forms|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20468" PostTypeId="2" ParentId="20447" CreationDate="2019-08-13T10:38:01.020" Score="0" Body="&lt;p&gt;The following link helped me. &#xA;&lt;a href=&quot;https://websterian.com/2018/10/10/sitecore-commerce-adding-an-entirely-new-entity-part-1-commerce-engine-and-business-tools/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://websterian.com/2018/10/10/sitecore-commerce-adding-an-entirely-new-entity-part-1-commerce-engine-and-business-tools/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have a look at validationError in DoActionAddBrandBlock.cs.&lt;/p&gt;&#xA;" OwnerUserId="5886" LastActivityDate="2019-08-13T10:38:01.020" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20469" PostTypeId="1" CreationDate="2019-08-13T10:42:04.550" Score="1" ViewCount="53" Body="&lt;p&gt;The migration question would be around for quite long time. I need help to understand my approach is in right direction before I invest my actual migration time.&#xA;List of queries&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;sitecore .net solution is in .net framework 4.5 . Do I need to&lt;br&gt;&#xA;convert all project library and webapp to .Net framework 4.7.1?&lt;/li&gt;&#xA;&lt;li&gt;We have almost 5 sitecore support dll that is related to sitecore 8.2.1 defects that we raised with sitecore support. Does these KB support dll will impact upgradation? Should we exclude such support dll while we package .net solution to deploy?&lt;/li&gt;&#xA;&lt;li&gt;Is there any easy lift and shift approach for .net solution that can be look upon?&lt;/li&gt;&#xA;&lt;li&gt;Is there any checklist for xdb that I need to be excluded so that migration works fine with Xconnect?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For e.g Content Delivery Analytics&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:xdt=&quot;http://schemas.microsoft.com/XML-Document-Transform&quot;&amp;gt;&#xA;&#xA;&#xA;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;!-- Analytics Domain Cookie --&amp;gt;&#xA;      &amp;lt;setting name=&quot;Analytics.CookieDomain&quot; value=&quot;__SomeValue__&quot; xdt:Transform=&quot;SetAttributes&quot; xdt:Locator=&quot;Match(name)&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="102" LastEditorUserId="102" LastEditDate="2019-08-13T10:50:08.597" LastActivityDate="2019-08-13T10:50:08.597" Title="Specific Challenge Sitecore 8.2.1 migration to sitecore 9.2 end to end" Tags="|setup|" AnswerCount="0" CommentCount="1" ClosedDate="2019-08-13T10:52:09.130" ContentLicense="CC BY-SA 4.0" />
  <row Id="20470" PostTypeId="1" AcceptedAnswerId="20471" CreationDate="2019-08-13T11:23:29.310" Score="3" ViewCount="354" Body="&lt;p&gt;Is there an option to write some logging information, like rendering name and data-source location, in every view programmatically, without go and modified in all views?&lt;/p&gt;&#xA;" OwnerUserId="2311" LastEditorUserId="1580" LastEditDate="2019-08-14T07:21:20.427" LastActivityDate="2019-08-14T07:21:20.427" Title="Programmatically add log information in all renderings (controller, view) HTML" Tags="|presentation|mvc|pipelines|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20471" PostTypeId="2" ParentId="20470" CreationDate="2019-08-13T11:53:54.953" Score="9" Body="&lt;p&gt;Yes, you can do it by the following way.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Configuration:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;mvc.renderRendering&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourAssembly.LogExecuteRenderer, YourAssembly&quot; patch:instead=&quot;processor[@type='Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer, Sitecore.Mvc']&quot; /&amp;gt;&#xA;      &amp;lt;/mvc.renderRendering&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code to render at the beginning of the rendering:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LogExecuteRenderer : ExecuteRenderer&#xA;{&#xA;    protected override bool Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;    {&#xA;        writer.WriteLine($&quot;&amp;lt;div renderingPath=\&quot;{args.Rendering.RenderingItemPath}\&quot; datasource=\&quot;{args.Rendering.DataSource}\&quot;&amp;gt;&amp;lt;/div&amp;gt;&quot;);&#xA;&#xA;        return base.Render(renderer, writer, args);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code to render at the end of the rendering:&lt;/strong&gt; (thanks for the comment @MarekMusielak)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LogExecuteRenderer : ExecuteRenderer&#xA;{&#xA;    protected override bool Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;    {&#xA;        var baseResult = base.Render(renderer, writer, args);&#xA;&#xA;        writer.WriteLine($&quot;&amp;lt;div renderingPath=\&quot;{args.Rendering.RenderingItemPath}\&quot; datasource=\&quot;{args.Rendering.DataSource}\&quot;&amp;gt;&amp;lt;/div&amp;gt;&quot;);&#xA;&#xA;        return baseResult;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2019-08-13T14:37:26.950" LastActivityDate="2019-08-13T14:37:26.950" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20473" PostTypeId="1" CreationDate="2019-08-13T13:22:46.683" Score="1" ViewCount="34" Body="&lt;p&gt;&lt;strong&gt;Sitecore version&lt;/strong&gt;: 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Business scenario&lt;/strong&gt;: If a customer leaves with items in cart, we have to send a mail with the details of the items in the cart. At max, we have to display only 4 items in the mail.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The HTML structure and the mail&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The HTML layout contains a table with 4 nested tables inside it for each item in the cart (considering the scenario for the maximum items to be displayed).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Way ahead&lt;/strong&gt;: So, as the requirements are clear let's move to the implementation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Given the different business dependencies, we are going for an automatic campaign with the inbuilt HTML as the template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Approach and blockers:&lt;/strong&gt;&#xA;We thought that we will use tokens to apply '&lt;code&gt;display: none&lt;/code&gt;' to the tables which we will have to hide. But the approach failed. More detail on it is &lt;a href=&quot;https://sitecore.stackexchange.com/questions/20395/display-none-attribute-is-not-working&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Post that we tried to apply the suggestions provided in the answer mentioned above. We tried it both ways, in-line as well as through the class. But the success evaded us whenever we checked the mails in our mailbox.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Mail-systems in question:&lt;/strong&gt;&#xA;Right now we are focusing on three mails system:&#xA;1. Gmail&#xA;2. Hotmail&#xA;3. Outlook&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But yes the business has asked for all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I believe that what I am trying to achieve is not something uncommon but there is something which we are missing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please help me to solve this puzzle.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-08-13T13:22:46.683" Title="Hide HTML components in email" Tags="|exm|" AnswerCount="0" CommentCount="3" ClosedDate="2019-08-13T13:43:26.503" ContentLicense="CC BY-SA 4.0" />
  <row Id="20474" PostTypeId="1" AcceptedAnswerId="20586" CreationDate="2019-08-13T13:40:23.300" Score="1" ViewCount="508" Body="&lt;p&gt;A recent security audit recommended that I disable the HTTP methods DELETE and OPTIONS.&#xA;I am not opposed to doing this, but have been unable to find any documentation indicating that I can do so safely, without degrading functionality in the CMS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore need/use the DELETE and/or OPTIONS HTTP methods?&#xA;Is there documentation to support one way or another?&lt;/p&gt;&#xA;" OwnerUserId="19" LastActivityDate="2019-08-20T11:18:09.617" Title="Can I safely disable HTTP methods DELETE and OPTIONS?" Tags="|security|iis|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20475" PostTypeId="1" CreationDate="2019-08-13T13:42:22.047" Score="1" ViewCount="61" Body="&lt;p&gt;In our Sitecore structure we have several property types which are buckets and contains properties&lt;a href=&quot;https://i.stack.imgur.com/J5KWU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J5KWU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Test is a property which takes its gallery data from /Data/Gallery. Since property items are bucketable, it is not ideal to add gallery slides from content editor.&#xA;When the property is opened in experience editor, to add 1 slide we need to follow the following steps(long process).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)Click on the + sign shown in the screenshot below&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KJtZ5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KJtZ5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Select the template and name the gallery image item &lt;a href=&quot;https://i.stack.imgur.com/in7tE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/in7tE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) Add the actual image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xNVrl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xNVrl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All these steps make it a long process. If a content author have to add average 10 slides per property, it is very inconvenient for them to follow this process for each slide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Through content editor- not ideal as we are using buckets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Through experience editor- it is a long process to add each slide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way we can add bulk slides to the SXA Gallery component? What can be the ideal way to achieve this functionality so that it is easy and fast for content authors to add slides to the Gallery? &lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="73" LastEditDate="2019-08-13T14:00:38.200" LastActivityDate="2019-08-13T14:00:38.200" Title="Adding bulk slides to SXA Gallery component" Tags="|sxa|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20476" PostTypeId="1" CreationDate="2019-08-13T13:43:16.267" Score="1" ViewCount="367" Body="&lt;p&gt;I tried creating a new tenant with a new site, only using the basic2 theme. The site has no components. This happens with all created tenants. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;20352 09:26:49 ERROR Application error.&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.XA.Foundation.Editing&#xA;   at Sitecore.XA.Foundation.Editing.ToolboxFeed.IsItemRendering(Item item)&#xA;   at System.Linq.Enumerable.c__DisplayClass6_0`1.b__0(TSource x)&#xA;   at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()&#xA;   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&#xA;   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)&#xA;   at Sitecore.XA.Foundation.Editing.ToolboxFeed.get_GetRenderings()&#xA;   at Sitecore.XA.Foundation.Editing.ToolboxFeed.ProcessRequest(HttpContext context)&#xA;   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="5779" LastEditorUserId="277" LastEditDate="2019-08-13T13:44:01.160" LastActivityDate="2019-08-13T13:44:01.160" Title="SXA Toolbox does not appear" Tags="|sxa|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20477" PostTypeId="2" ParentId="20474" CreationDate="2019-08-13T13:56:35.903" Score="1" Body="&lt;p&gt;I have the &lt;code&gt;options&lt;/code&gt; disabled on a live website and that is running fine. So that should work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure about the &lt;code&gt;delete&lt;/code&gt; method however. Didn't test that one yet. It might be used in an api, but maybe someone else can confirm that.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-08-13T13:56:35.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20480" PostTypeId="1" CreationDate="2019-08-13T14:30:42.867" Score="3" ViewCount="590" Body="&lt;p&gt;I'm facing this issue when trying to install my first XP 9.2 instance using Sitecore Install Assistant:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7teLW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7teLW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[XConnectXP0_StartServices ]:[Updating] jss-sc920xconnect.dev.local-IndexWorker &#xA;Waiting for service 'Sitecore XConnect Search Indexer - jss-sc920xconnect.dev.local-IndexWorker(jss-sc920xconnect.dev.local-IndexWorker)' to start... &#xA;Failed to start service 'Sitecore XConnect Search Indexer - jss-sc920xconnect.dev.local-IndexWorker (jss-sc920xconnect.dev.local-IndexWorker)'. &#xA;[TIME] 00:05:14 Failed to start service 'Sitecore XConnect Search Indexer - jss-sc920xconnect.dev.local-IndexWorker(jss-sc920xconnect.dev.local-IndexWorker)'.&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="70" LastEditDate="2019-08-13T14:33:27.563" LastActivityDate="2019-08-13T14:37:20.743" Title="Failed to start service Sitecore XConnect Search Indexer" Tags="|sitecore-install-framework|installation|sitecore-install-assistant|" AnswerCount="1" CommentCount="0" ClosedDate="2019-08-13T15:10:01.677" ContentLicense="CC BY-SA 4.0" />
  <row Id="20481" PostTypeId="2" ParentId="20480" CreationDate="2019-08-13T14:30:42.867" Score="3" Body="&lt;p&gt;So basically my &lt;code&gt;Sitecore XConnect Search Indexer&lt;/code&gt; can't start.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When looking on its own logs, I found this exception stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt;&#xA;Sitecore.Nexus.Licensing.LicenseException: Required license is missing: Sitecore.xDB.Base    &#xA;    at .(⁫‬‮‍‎⁪⁮‍​⁭⁯⁭‭⁬⁬⁯‎⁪‮⁫‮‪‏⁫‮⁬‏⁭‌‪⁭‎‭‌⁪⁯‍‭‪‬   , String )    &#xA;    at Sitecore.XConnect.Configuration.Extensions.InitializeLicenseCheck(IServiceCollection collection, String licenseFile)&#xA;    at Sitecore.XConnect.Configuration.Extensions.UseXConnectServiceInitializationConfiguration(IServiceCollection collection, IConfiguration configuration, String configurationSectionName, String initializationSectionName)&#xA;    at Sitecore.XConnect.Search.Indexer.ServiceProviderFactory.GetDiServiceProvider(IConfiguration config, String modelDirectory)&#xA;    at Sitecore.XConnect.Search.Indexer.IndexerHostDependencies..ctor(IConfigurationRoot config)&#xA;    at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.IndexerHostAppDomainBridge..ctor()&#xA;&#xA;--- End of inner exception stack trace ---    &#xA;    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandleInternal&amp; ctor, Boolean&amp; bNeedSecurityCheck)&#xA;    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp; stackMark)&#xA;    at System.Activator.CreateInstance(Type type, Boolean nonPublic)&#xA;    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp; stackMark)&#xA;    at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&#xA;    at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark&amp; stackMark)&#xA;    at System.Activator.CreateInstance(String assemblyName, String typeName)&#xA;    at System.AppDomain.CreateInstance(String assemblyName, String typeName)&#xA;    at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)&#xA;    at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)&#xA;    at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.CreateAppDomainAndIndexer()&#xA;    at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.Start()&#xA;    at Sitecore.XConnect.Search.Indexer.Service.OnStart(String[] args)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can confirm that the license is there. So I decided to open the &lt;code&gt;license.xml&lt;/code&gt; file to analyze it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And boom!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;expiration&amp;gt;20190812T000000&amp;lt;/expiration&amp;gt;&lt;/code&gt; which is yesterday.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if you are facing any issue when trying to start your XConnect services please &lt;strong&gt;make sure you still have a valid license&lt;/strong&gt;. &lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="70" LastEditDate="2019-08-13T14:37:20.743" LastActivityDate="2019-08-13T14:37:20.743" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20484" PostTypeId="1" CreationDate="2019-08-13T14:53:56.820" Score="2" ViewCount="1127" Body="&lt;p&gt;After an upgrade from 7.2 to 9.0.2, we are facing a weird issue in Experience Editor with few of our components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On few of the pages we are unable to add/move/delete components using experience editor. We do not see the Context Menu which normally appears when we select a component on the experience editor like below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mBmVo.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mBmVo.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We observed that the Designing CheckBox is disabled under VIEW menu. Which is preventing the items to move/add/delete on the experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the possible reason having the &lt;em&gt;Designing&lt;/em&gt; checkbox unchecked for few content items in Experience Editor? Even if we try to select it manually we are unable to move components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XwJVf.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XwJVf.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is working on v7.2 for same content item but not on v9.0.2. What is missing?&lt;/p&gt;&#xA;" OwnerUserId="1671" LastEditorUserId="19" LastEditDate="2019-08-13T18:24:07.040" LastActivityDate="2019-08-13T18:24:07.040" Title="Unable to add or move components in Experience Editor" Tags="|experience-editor|components|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20485" PostTypeId="2" ParentId="20484" CreationDate="2019-08-13T14:57:56.487" Score="2" Body="&lt;p&gt;Post analysis and confirming that there is nothing wrong at the code/project side, we decided to raise a Sitecore Support ticket for the this experience. Later on the support team identified it as a BUG in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This weird experience was due to an issue with improper parsing and double quotes, which was registered as a bug in their bug tracking system. As expected in such scenarios they provided us a patch to be installed on XP 9.0.2, which fixed the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please use the link below to download the patch fixing the issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.box.com/s/gv0kb1594d9dg2sscvk5lgz87fdo7px3&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.box.com/s/gv0kb1594d9dg2sscvk5lgz87fdo7px3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about Sitecore patches can be found here: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/077333&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/077333&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2019-08-13T14:57:56.487" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20486" PostTypeId="1" CreationDate="2019-08-13T15:03:35.620" Score="1" ViewCount="202" Body="&lt;p&gt;Sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I manually add an email address to a list, I am wondering where the list and xDB contact are associated. Looking at the code, it looks like it would be a contact facet. But when I pull the facets for my contact, nothing sticks out. Any idea where the list is assigned to the contact or the the contact is assigned to the list. I was the understanding it all happens on the xDB contact.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Update&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;It looks like the connection is in the contact facets as a facet named &lt;code&gt;ListSubscriptions&lt;/code&gt;. But I have not been able to tie one back to a known contact yet.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT TOP (1000) [ContactId]&#xA;      ,[FacetKey]&#xA;      ,[LastModified]&#xA;      ,[ConcurrencyToken]&#xA;      ,[FacetData]&#xA;  FROM [sitecore_Xdb.Collection.Shard0].[xdb_collection].[ContactFacets]&#xA;  WHERE FacetKey = 'ListSubscriptions'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-08-13T16:36:38.667" LastActivityDate="2019-09-10T11:17:19.547" Title="Where emails for List Manager are stored" Tags="|list-manager|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20487" PostTypeId="1" CreationDate="2019-08-13T16:17:51.963" Score="2" ViewCount="367" Body="&lt;p&gt;Installing Sitecore Commerce (Sitecore.Commerce.2018.07-2.2.126) on the server. I am executing the below script &lt;code&gt;Bootstrap-Commerce-Engine.ps1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;#Requires -Version 3&#xA;param(&#xA;)&#xA;#Initializes Global Parameters&#xA;.\Global-Config&#xA;$global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path&#xA;$modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;Modules&quot; )&#xA;if ($env:PSModulePath -notlike &quot;*$modulesPath*&quot;)&#xA;{&#xA;    $p = $env:PSModulePath + &quot;;&quot; + $modulesPath&#xA;    [Environment]::SetEnvironmentVariable(&quot;PSModulePath&quot;,$p)&#xA;}&#xA;&#xA;$params = @{&#xA;        Path = Resolve-Path '.\Configuration\Commerce\CommerceEngine\CommerceEngine.Bootstrap.json'&#xA;        CommerceOpsServicesPort = &quot;5015&quot;&#xA;        CommerceOpsService = $CommerceOpsService&#xA;        SitecoreAdminAccount = @{&#xA;            userName = $SitecoreUsername&#xA;            password = $SitecoreUserPassword&#xA;          }&#xA;        UrlIdentityServerGetToken = &quot;$($CommerceIdService):5050/connect/token&quot;&#xA;    }&#xA;Install-SitecoreConfiguration @params -Verbose&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;getting the error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[---------------------------------------- GetIdServerToken : GetIdServerToken ----------------------------------------]&#xA;Get Token From Sitecore.IdentityServer - Uri: https://tmpqa-id:5050/connect/token Body: System.Collections.Hashtable&#xA;VERBOSE: POST https://tmpqa-rb-id:5050/connect/token with -1-byte payload&#xA;&amp;gt;&amp;gt; TerminatingError(Invoke-RestMethod): &quot;The remote server returned an error: (500) Internal Server Error.&quot;&#xA;&amp;gt;&amp;gt; TerminatingError(Invoke-RestMethod): &quot;The remote server returned an error: (500) Internal Server Error.&quot;&#xA;Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error.&#xA;At C:\deploy_xc\Bootstrap-Commerce-Engine.ps1:29 char:1&#xA;+ Install-SitecoreConfiguration @params -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error.&#xA;At C:\deploy_xc\Bootstrap-Commerce-Engine.ps1:29 char:1&#xA;+ Install-SitecoreConfiguration @params -Verbose&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:01&#xA;**********************&#xA;Windows PowerShell transcript end&#xA;End time: 20190813104830&#xA;**********************&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4590" LastEditorUserId="70" LastEditDate="2019-08-13T18:43:03.663" LastActivityDate="2024-02-24T14:08:05.967" Title="Server error when running Bootstrap-Commerce-Engine.ps1" Tags="|sitecore-commerce|installation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20488" PostTypeId="2" ParentId="20486" CreationDate="2019-08-13T16:56:26.197" Score="3" Body="&lt;p&gt;Thanks to Pete Navarra, I was actually only searching one shard for the contact ID, for the user. In the end it was right where he thought it was. As a &lt;code&gt;ListSubscriptions&lt;/code&gt; facet on the contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get it you can use this SQL&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// shard 0&#xA;SELECT TOP (1000) [ContactId]&#xA;      ,[FacetKey]&#xA;      ,[LastModified]&#xA;      ,[ConcurrencyToken]&#xA;      ,[FacetData]&#xA;  FROM [sitecore_Xdb.Collection.Shard0].[xdb_collection].[ContactFacets]&#xA;  WHERE FacetKey = 'ListSubscriptions'&#xA;    AND ContactId = '5C722EA3-A86C-0000-0000-0596BE30D17D'&#xA;&#xA;// shard 1&#xA;SELECT TOP (1000) [ContactId]&#xA;      ,[FacetKey]&#xA;      ,[LastModified]&#xA;      ,[ConcurrencyToken]&#xA;      ,[FacetData]&#xA;  FROM [sitecore_Xdb.Collection.Shard1].[xdb_collection].[ContactFacets]&#xA;  WHERE FacetKey = 'ListSubscriptions'&#xA;    AND ContactId = '5C722EA3-A86C-0000-0000-0596BE30D17D'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will output a facet that has the list ID in it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;   &quot;@odata.type&quot;:&quot;#Sitecore.XConnect.Collection.Model.ListSubscriptions&quot;,&#xA;   &quot;Subscriptions&quot;:[&#xA;      {&#xA;         &quot;Added&quot;:&quot;2019-07-25T17:31:32.0116076Z&quot;,&#xA;         &quot;IsActive&quot;:true,&#xA;         &quot;ListDefinitionId&quot;:&quot;a6ee7af9-7e3b-48af-beea-cfd3ce4526f9&quot;,&#xA;         &quot;SourceDefinitionId&quot;:&quot;eef0f298-b272-4e1b-b9e5-c0a7fc529b55&quot;&#xA;      }&#xA;   ]&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And that translates to this url in the sitecore list manager that fills the list of emails in the current list.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;https://mysite/sitecore/api/lists/a6ee7af9-7e3b-48af-beea-cfd3ce4526f9/contacts?pageSize=20&amp;amp;pageIndex=0&amp;amp;payLoad=full&amp;amp;language=en&amp;amp;filter=&amp;amp;sc_lang=en&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-08-13T17:01:36.437" LastActivityDate="2019-08-13T17:01:36.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20489" PostTypeId="2" ParentId="20434" CreationDate="2019-08-13T22:21:29.387" Score="1" Body="&lt;p&gt;I installed this and then removed it as well.  The code is easy to remove and the items are fairly isolated.  I found the root item paths by looking at the package and installed over them (overwrite) from a clean install of sitecore.  Packaged from the clean install and installed in my install.  That reset everything, but I had to get the right item paths first.  &lt;/p&gt;&#xA;" OwnerUserId="3269" LastActivityDate="2019-08-13T22:21:29.387" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20490" PostTypeId="1" CreationDate="2019-08-14T04:17:49.720" Score="2" ViewCount="359" Body="&lt;p&gt;I am using EXM with Sitecore 9.0. I have issue with bounce rate, it is always zero. I am using custom smtp and configured pop3 details already. I have deliberately sent some emails to wrong email addresses. EXM is always showing delivered 100%, bounce rate 0%. Other reports like unique open rate, open rate etc are working fine.  I already gone through this &lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/the-configuration-settings-for-collecting-bounces.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;sitecore documentation&lt;/a&gt;. I've enabled exm logging as well but no error logged there. I already set Undelivered max to 1 and pull pop3 bounces agent to 5 minutes.&lt;/p&gt;&#xA;" OwnerUserId="803" LastEditorUserId="803" LastEditDate="2019-08-14T04:25:51.867" LastActivityDate="2019-08-14T04:25:51.867" Title="Sitecore EXM bounce email issue" Tags="|exm|" AnswerCount="0" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20491" PostTypeId="2" ParentId="20463" CreationDate="2019-08-14T06:22:24.213" Score="1" Body="&lt;p&gt;The Marketing Automation Engine supports constructor dependency injection for custom activities. So to use a dependency in your custom activity, add a parameter to the constructor of your custom activity matching the type of the service you want passed in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SymposiumReminder : IActivity&#xA;{&#xA;    private IOtherService _otherService;&#xA;&#xA;    public SymposiumReminder(IOtherService otherService)&#xA;    {&#xA;        _otherService = otherService;&#xA;    }&#xA;&#xA;    public ActivityResult Invoke(IContactProcessingContext context)&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, make sure your dependency is available and has been registered to the Marketing Automation Engine application.&lt;/p&gt;&#xA;" OwnerUserId="652" LastActivityDate="2019-08-14T06:22:24.213" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20492" PostTypeId="2" ParentId="20463" CreationDate="2019-08-14T06:40:09.330" Score="0" Body="&lt;p&gt;The problem was with the third party service DLL, it had to be copied to Automation engine folder.&lt;/p&gt;&#xA;" OwnerUserId="5897" LastActivityDate="2019-08-14T06:40:09.330" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20494" PostTypeId="1" CreationDate="2019-08-14T08:33:19.370" Score="2" ViewCount="432" Body="&lt;p&gt;I want to load the search results by user’s current location by default or first time when user lands on the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does Sitecore supports this feature OOTB or or any custom solution available?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I’m thinking of custom filter with no UI just JavaScript part, where Filter will be responsible for getting the user location and update the hash of the URL with coordinates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do you see any issue with this approach?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please provide your suggestions or idea.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA 1.9&lt;/p&gt;&#xA;" OwnerUserId="1004" LastEditorUserId="73" LastEditDate="2019-08-14T08:33:34.587" LastActivityDate="2019-08-15T08:30:22.190" Title="How to load search result based on user location by default" Tags="|sxa|content-search|geo-location|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20495" PostTypeId="1" CreationDate="2019-08-14T08:36:46.353" Score="3" ViewCount="225" Body="&lt;p&gt;We are using Sitecore 8.2 and we have around 10-15 Page templates and all the CSS is bundled in a Global CSS and over the years the CSS file has grown tremendously&#xA;resulting in below issues:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;We are loading lot of unused CSS which not be required for all pages for example Product &amp;amp; Article page CSS may not be required for Home Page &amp;amp; Vice versa.&lt;/li&gt;&#xA;&lt;li&gt;This has resulted in lot of performance issues.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Is there a module or Utility which can load only Required CSS for a page considering the fact we have single Layout for the pages.&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="70" LastEditDate="2019-08-14T14:14:19.020" LastActivityDate="2019-08-14T14:14:19.020" Title="Loading Page Specific CSS in Sitecore" Tags="|presentation|css|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20496" PostTypeId="2" ParentId="20494" CreationDate="2019-08-14T08:46:43.427" Score="2" Body="&lt;p&gt;I'm not aware of an ootb solution. What you could do is create a custom search token that handles the logic you need. You can add that token to the search scope that you use for the search components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More info: &lt;a href=&quot;https://ggullentops.blogspot.com/2019/01/extending-sxa-search-query-tokens.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ggullentops.blogspot.com/2019/01/extending-sxa-search-query-tokens.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to create a &lt;code&gt;ResolveSearchQueryTokensProcessor&lt;/code&gt;. Override the &lt;code&gt;public override void Process(ResolveSearchQueryTokensEventArgs args)&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First you need to search your token (loop over all &lt;code&gt;SearchStringModel&lt;/code&gt;s in &lt;code&gt;args.Model&lt;/code&gt;)&#xA;Each SearchStringModel defines a part of the query and has a value, a type and an operation: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the type of the SearchStringModel is the first part&lt;/li&gt;&#xA;&lt;li&gt;the value of the model is the second part (e.g. &quot;ItemsWithTheSameValueInField|FieldName&quot;)&lt;/li&gt;&#xA;&lt;li&gt;the operation is &quot;must&quot;, &quot;should&quot; or &quot;not&quot;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Once you found the model, you need to create a new one that can be send to the index and remove the one you handled. Building the search model is something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected virtual SearchStringModel BuildModel(string fieldName, string fieldValue)&#xA;{&#xA;  var name = SomeBusinessLogicWithFieldName(fieldName);&#xA;  var value = SomeBusinessLogicWithFieldValue(fieldValue);&#xA;  return new SearchStringModel(&quot;custom&quot;, FormattableString.Invariant(FormattableStringFactory.Create(&quot;{0}|{1}&quot;, name, value)))&#xA;  {&#xA;    Operation = &quot;must&quot;&#xA;  };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add your processor the the &lt;code&gt;&amp;lt;resolveSearchQueryTokens&amp;gt;&lt;/code&gt; pipeline and it should appear as option in the search tokens so you can add it to the scope.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case you'll need to add the location logic (or any other logic you want) to the BuildModel. That function is custom, so you can also arrange the parameters as you want. You just need to be able to pass everything from the Process method.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-08-14T08:46:43.427" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20498" PostTypeId="1" CreationDate="2019-08-14T12:32:14.337" Score="1" ViewCount="365" Body="&lt;p&gt;When looking into application insights a see most of the errors coming from:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;SQL: [xdb_processing_tasks].[History_GetTaskStateById]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Returning error 50000 running Sitecore 9.0.2. The stored procedure only checks some records and I don't see any exceptions in the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I solve this issue or should this dependency be excluded?&lt;/p&gt;&#xA;" OwnerUserId="2134" LastActivityDate="2019-08-14T12:32:14.337" Title="Application Insights sql dependency error on History_GetTaskStateById" Tags="|sql-database|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20499" PostTypeId="1" AcceptedAnswerId="20501" CreationDate="2019-08-14T13:37:22.617" Score="3" ViewCount="872" Body="&lt;p&gt;I've recently found out that you can serialize items if it's new only using&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;evaluator type=&quot;Unicorn.Evaluators.NewItemOnlyEvaluator, Unicorn&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I add this to the configuration, all the items I include will only be serialized if it is new.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would like to serialize a parent item and only some specific child items to be serialized when it's new, the other child items will still be serialized normally. How can I achieve this?&lt;/p&gt;&#xA;" OwnerUserId="3255" LastEditorUserId="70" LastEditDate="2019-08-14T14:02:09.973" LastActivityDate="2019-08-14T14:04:17.633" Title="How to serialize a parent item and some of it's child items as new Item only" Tags="|unicorn|serialization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20500" PostTypeId="1" CreationDate="2019-08-14T13:46:51.637" Score="2" ViewCount="227" Body="&lt;p&gt;Is it possible to host multiple instances of xConnect collection in different regions? We have 2 CD instances that are hosted in different regions and would like to have a xConnect collection hosted in the same region as CD for better performance.&lt;/p&gt;&#xA;" OwnerUserId="456" LastEditorUserId="73" LastEditDate="2019-08-14T14:04:53.437" LastActivityDate="2021-02-08T15:03:10.303" Title="Multiple instances of xConnect collection across different regions" Tags="|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20501" PostTypeId="2" ParentId="20499" CreationDate="2019-08-14T13:47:03.080" Score="2" Body="&lt;p&gt;You will need 2 configurations for this as the evaluator works per configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Your first configuration should serialize the parent and exclude children. Your second configuration can include the child items and be set to use the `NewItemOnlyEvaluator:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;unicorn&amp;gt;&#xA;            &amp;lt;configurations&amp;gt;&#xA;                &amp;lt;configuration name=&quot;Example.ParentItems&quot;&#xA;                               description=&quot;Serialize the parent item but none of the child items&quot;&#xA;                               patch:after=&quot;configuration[@name='Foundation.Serialization']&quot;&amp;gt;&#xA;                    &amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\$(layer)\$(module)\serialization\parentItems&quot; /&amp;gt;&#xA;                    &amp;lt;predicate&amp;gt;&#xA;                        &amp;lt;include name=&quot;ParentItem&quot; database=&quot;master&quot; path=&quot;/sitecore/Content/ParentItem&quot;&amp;gt;&#xA;                            &amp;lt;exclude path=&quot;ChildItem1&quot; /&amp;gt;&#xA;                            &amp;lt;exclude path=&quot;ChildItem2&quot; /&amp;gt;&#xA;                        &amp;lt;/include&amp;gt;&#xA;                    &amp;lt;/predicate&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;                &amp;lt;configuration name=&quot;Example.ChildItems&quot;&#xA;                               description=&quot;Serialize the child items using the NewItemOnlyEvaluator&quot;&#xA;                               patch:after=&quot;configuration[@name='Foundation.Serialization']&quot;&amp;gt;&#xA;                    &amp;lt;targetDataStore physicalRootPath=&quot;$(sourceFolder)\$(layer)\$(module)\serialization\newitemonly&quot; /&amp;gt;&#xA;                    &amp;lt;evaluator type=&quot;Unicorn.Evaluators.NewItemOnlyEvaluator, Unicorn&quot; singleInstance=&quot;true&quot;/&amp;gt;&#xA;                    &amp;lt;predicate&amp;gt;&#xA;                        &amp;lt;include name=&quot;Child Item 1&quot; database=&quot;master&quot; path=&quot;/sitecore/Content/ParentItem/ChildItem1&quot;&amp;gt;&amp;lt;/include&amp;gt;&#xA;                        &amp;lt;include name=&quot;Child Item 2&quot; database=&quot;master&quot; path=&quot;/sitecore/Content/ParentItem/ChildItem2&quot;&amp;gt;&amp;lt;/include&amp;gt;&#xA;                    &amp;lt;/predicate&amp;gt;&#xA;                &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;/configurations&amp;gt;&#xA;        &amp;lt;/unicorn&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Update based on your updated question:&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;If you want to be more specific about which child items are &lt;code&gt;NewItemOnly&lt;/code&gt; then you just need to be specific with your exclusions in the main configuration and also with your predicates in your &lt;code&gt;NewItemOnlyEvaluator&lt;/code&gt; configuration.&lt;/p&gt;&#xA;" OwnerUserId="70" LastEditorUserId="70" LastEditDate="2019-08-14T14:04:17.633" LastActivityDate="2019-08-14T14:04:17.633" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20502" PostTypeId="1" AcceptedAnswerId="20504" CreationDate="2019-08-14T13:53:33.073" Score="1" ViewCount="171" Body="&lt;p&gt;I am using Sitecore 8.2 with Coveo 4.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm working on a multisite solution with two sites and created two crawlers inside a single index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I make sure that on the search page data comes from the correct crawler of every site?&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="237" LastEditDate="2019-08-14T14:18:39.180" LastActivityDate="2019-08-14T14:27:21.900" Title="Getting search results from respective crawlers of multisite with single Coveo index" Tags="|coveo|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20503" PostTypeId="2" ParentId="20500" CreationDate="2019-08-14T13:55:00.060" Score="1" Body="&lt;p&gt;Yes, you can have have multiple instances across multiple regions. But you need to factor in that you can only have 1 xConnect SOLR core and 1 Sitecore Processing Engine service. This means that one xConnect will likely have direct access to SOLR queries and another (remote) will have to talk to SOLR over a WAN.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nsJ9c.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nsJ9c.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer to this scaling doc from Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-vertically.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/scale-vertically.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-08-15T21:56:12.193" LastActivityDate="2019-08-15T21:56:12.193" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20504" PostTypeId="2" ParentId="20502" CreationDate="2019-08-14T14:06:26.573" Score="2" Body="&lt;p&gt;You can filter the results based on Site name. The below example&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Coveo.$('#search').on(&quot;buildingQuery&quot;, &#xA;    function(e, args) {&#xA;        args.queryBuilder.constantExpression.add(&quot;&amp;lt;%= ToCoveoFieldName(&quot;site&quot;) %&amp;gt; = '&amp;lt;%=Sitecore.Context.Site.Name%&amp;gt;'&quot;);&#xA;    })&#xA;    .coveoForSitecore('init', CoveoForSitecore.componentsOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;you can visit the below Coveo forums on this query.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://answers.coveo.com/questions/4937/setting-up-indexes-for-multi-site-sitecore-solutio.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://answers.coveo.com/questions/4937/setting-up-indexes-for-multi-site-sitecore-solutio.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4085" LastEditorUserId="70" LastEditDate="2019-08-14T14:12:41.880" LastActivityDate="2019-08-14T14:12:41.880" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20505" PostTypeId="2" ParentId="7144" CreationDate="2019-08-14T14:22:04.200" Score="2" Body="&lt;p&gt;I was able to make the following delete a bunch of blob records while trying to create  a smaller backup. I recommend you verify this in a non-production environment.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WHILE 1 = 1&#xA;&#xA;BEGIN&#xA;&#xA;DECLARE @UsableBlobs table(ID uniqueidentifier);&#xA;&#xA;INSERT INTO @UsableBlobs    &#xA;SELECT convert(uniqueidentifier,[Value]) as EmpID from [Fields]&#xA;WHERE [Value] != '' &#xA;AND (FieldId='{40E50ED9-BA07-4702-992E-A912738D32DC}' OR FieldId='{DBBE7D99-1388-4357-BB34-AD71EDF18ED3}') &#xA;&#xA;DELETE top (100) from [Blobs] &#xA;WHERE [BlobId] NOT IN (SELECT * FROM @UsableBlobs)&#xA;&#xA;IF @@ROWCOUNT &amp;lt; 100 BREAK;&#xA;&#xA;END&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;Update&lt;/h3&gt;&#xA;&lt;p&gt;Was working on an upgrade from Sitecore 9.3 to 10.2 and found that the old Web database had grown to 37GB while the new version remained at 4GB. My guess is that this was caused by an issue with publishing. I ran this &lt;a href=&quot;https://stackoverflow.com/a/2094454/1277533&quot;&gt;script&lt;/a&gt; which helped identify that the blob table contained 82% more records in it. The &lt;strong&gt;Cleanup blobs&lt;/strong&gt; option as part of the &lt;strong&gt;Database Cleanup&lt;/strong&gt; page removed some records but not much.&lt;/p&gt;&#xA;&lt;p&gt;After a really long time (3+ hours) the row count returned to a normal/expected level.&lt;/p&gt;&#xA;&lt;p&gt;I believe I originally found the solution to delete from &lt;a href=&quot;https://stackoverflow.com/a/19635431/1277533&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2022-08-04T00:37:48.287" LastActivityDate="2022-08-04T00:37:48.287" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20506" PostTypeId="2" ParentId="20502" CreationDate="2019-08-14T14:27:21.900" Score="3" Body="&lt;p&gt;The alternative is to use Coveo filter expression rules if you have a pro license of Coveo.&#xA;Coveo provides filter expression based on rule engine, where you can define the rule of child item of your website root or can compare the specific field value such as site field. you need to add expression rule on your Coveo search interface item - &#xA;&lt;a href=&quot;https://i.stack.imgur.com/khbUA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/khbUA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/50iu4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/50iu4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-14T14:27:21.900" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20507" PostTypeId="1" CreationDate="2019-08-14T15:43:52.977" Score="0" ViewCount="874" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bpfn3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bpfn3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm facing this issue when trying to create my first JSS react app. That's weird because I have other members on my team who are able to make it work even if we have pretty much the same setup (or at least we think we have).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server sent 403 Forbidden while enumerating templates.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm almost sure that this command is trying to reach the &lt;strong&gt;JSS GitHub repository&lt;/strong&gt; to fetch the JSS react templates. So I'm guessing that's where I'm getting my &lt;code&gt;403 forbidden&lt;/code&gt; from.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion is appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="73" LastEditDate="2019-08-14T16:17:11.587" LastActivityDate="2023-12-22T03:02:45.363" Title="403 Forbidden when trying to create a JSS app" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20508" PostTypeId="2" ParentId="20507" CreationDate="2019-08-14T16:04:48.960" Score="0" Body="&lt;p&gt;Essentially, a 403 is being received when &lt;code&gt;jss create&lt;/code&gt; tries to connect to the JSS GitHub repo to retrieve the react (or Vue, Angular, etc...) sample app. So either some service between you and github.com is responding with a 403 or github.com is sending you a 403.&lt;/p&gt;&#xA;&lt;p&gt;A couple suggestions:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Ensure that you are not restricted from accessing github.com due to firewall / proxy rules.&lt;/li&gt;&#xA;&lt;li&gt;Try &amp;quot;manually&amp;quot; requesting &lt;code&gt;https://api.github.com/repos/sitecore/jss/contents/samples?ref=master&lt;/code&gt; (via browser, Postman, etc..). GitHub may return an error message that can help you troubleshoot. For example&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;API rate limit exceeded for xx.xx.xxx.xxx.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="319" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-08-14T16:04:48.960" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20509" PostTypeId="1" CreationDate="2019-08-14T19:04:21.503" Score="3" ViewCount="305" Body="&lt;p&gt;I tried &lt;code&gt;Sitecore XC 9.2 installation&lt;/code&gt; and found the following issues on my machine:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;During the installation, Visual Studio Just-In-Time Debugger window got popped up several times, every time I just selected the &amp;quot;&lt;code&gt;No, cancel debugging&lt;/code&gt;&amp;quot; option to continue.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/24743.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/24743.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;During &lt;code&gt;Bootstrap&lt;/code&gt;, &lt;code&gt;RunMinion&lt;/code&gt;, and &lt;code&gt;Generate Catalog Templates installation&lt;/code&gt; steps I found below the Application startup exception in the commerce engine service&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;pre&gt;&#xA;00001 23:16:24 INFO Application startup exception&#xA;System.InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider' while attempting to activate 'Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware'.&#xA;   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)&#xA;   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.c__DisplayClass4_0.b__0(RequestDelegate next)&#xA;   at Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.Build()&#xA;   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()&#xA;&lt;/pre&gt;&#xA;&lt;p&gt;To resolve the issue, I disabled the compression setting in all commerce engine configuration files at the below locations:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;CommerceAuthoring\wwwroot\config.json&lt;/li&gt;&#xA;&lt;li&gt;CommerceMinions\wwwroot\config.json&lt;/li&gt;&#xA;&lt;li&gt;CommerceOps\wwwroot\config.json&lt;/li&gt;&#xA;&lt;li&gt;CommerceShops\wwwroot\config.json&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Restarted IIS AppPool and then continued with installation.&lt;/p&gt;&#xA;&lt;p&gt;I want to know what should be done to avoid the above issues during installation.&lt;/p&gt;&#xA;" OwnerUserId="5111" LastEditorUserId="7105" LastEditDate="2022-08-30T02:31:52.817" LastActivityDate="2022-09-29T03:01:30.210" Title="Problems in installation of XC 9.2" Tags="|sitecore-commerce|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20510" PostTypeId="1" AcceptedAnswerId="20513" CreationDate="2019-08-14T19:45:25.467" Score="1" ViewCount="180" Body="&lt;p&gt;I have installed Sitecore 9.2 XP0 Single on a server and I'm trying to log in to the instance as admin from a different computer. The home page of the Sitecore instance loads fine at the address &lt;a href=&quot;http://mysite.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.com&lt;/a&gt;, but when I try to access &lt;a href=&quot;http://mysite.com/sitecore/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.com/sitecore/&lt;/a&gt; to log in it redirects and ends up saying &quot;This site can't be reached&quot; at mysite.identityserver/connect/authorize?client_id=Sitecore&amp;amp;...........&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is XP Scaled XP1 installation required to access from a different computer? If this is possible in XP0, where can I find information to help me get this working?&lt;/p&gt;&#xA;" OwnerUserId="5900" LastActivityDate="2019-08-14T21:14:38.677" Title="Is logging into Sitecore from another computer on the same network possible for an XP0 installation?" Tags="|login|setup|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20511" PostTypeId="2" ParentId="20454" CreationDate="2019-08-14T19:51:27.400" Score="2" Body="&lt;p&gt;This crash looks very similar to this xConnect crash KB: &lt;a href=&quot;https://kb.sitecore.net/articles/494291&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/494291&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are on a Windows 10 build older than 1809, could you try installing the &quot;.NET Framework November 2018 Security and Quality Rollup&quot; as mentioned in the KB solution?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are on Windows 10 1809 or newer, could you try the binding redirect workaround?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&quot;System.Security.Cryptography.Algorithms&quot; publicKeyToken=&quot;b03f5f7f11d50a3a&quot; culture=&quot;neutral&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-4.3.0.0&quot; newVersion=&quot;4.3.0.0&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&quot;System.Security.Cryptography.Algorithms&quot; publicKeyToken=&quot;b03f5f7f11d50a3a&quot; culture=&quot;neutral&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&quot;0.0.0.0-4.3.0.0&quot; newVersion=&quot;4.0.0.0&quot; xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="171" LastActivityDate="2019-08-14T19:51:27.400" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20512" PostTypeId="2" ParentId="20509" CreationDate="2019-08-14T19:52:54.887" Score="1" Body="&lt;p&gt;Were the &lt;code&gt;w3wp&lt;/code&gt; crashes during the installation of Sitecore modules?&lt;/p&gt;&#xA;&lt;p&gt;They look very similar to this xConnect crash KB: &lt;a href=&quot;https://kb.sitecore.net/articles/494291&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/494291&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you are on a Windows 10 build older than 1809, could you try installing the &amp;quot;&lt;code&gt;.NET Framework November 2018 Security and Quality Rollup&lt;/code&gt;&amp;quot; as mentioned in the KB solution?&lt;/p&gt;&#xA;&lt;p&gt;If you are on &lt;code&gt;Windows 10 1809 or newer&lt;/code&gt;, could you try the binding redirect workaround in your Sitecore instance?&lt;/p&gt;&#xA;&lt;p&gt;Before:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&amp;quot;System.Security.Cryptography.Algorithms&amp;quot; publicKeyToken=&amp;quot;b03f5f7f11d50a3a&amp;quot; culture=&amp;quot;neutral&amp;quot; xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot; /&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&amp;quot;0.0.0.0-4.3.0.0&amp;quot; newVersion=&amp;quot;4.3.0.0&amp;quot; xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;After:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dependentAssembly&amp;gt;&#xA;    &amp;lt;assemblyIdentity name=&amp;quot;System.Security.Cryptography.Algorithms&amp;quot; publicKeyToken=&amp;quot;b03f5f7f11d50a3a&amp;quot; culture=&amp;quot;neutral&amp;quot; xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot; /&amp;gt;&#xA;    &amp;lt;bindingRedirect oldVersion=&amp;quot;0.0.0.0-4.3.0.0&amp;quot; newVersion=&amp;quot;4.0.0.0&amp;quot; xmlns=&amp;quot;urn:schemas-microsoft-com:asm.v1&amp;quot; /&amp;gt;&#xA;&amp;lt;/dependentAssembly&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="171" LastEditorUserId="7105" LastEditDate="2022-08-29T08:56:58.213" LastActivityDate="2022-08-29T08:56:58.213" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20513" PostTypeId="2" ParentId="20510" CreationDate="2019-08-14T19:59:11.640" Score="0" Body="&lt;p&gt;Yes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make sure that your local computer has access to these sites you need add the this 2 entries to your local &lt;strong&gt;hosts&lt;/strong&gt; (on Windows: &lt;code&gt;c:\windows\system32\drivers\etc\hosts&lt;/code&gt;) file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;internal IP address of the Sitecore server&amp;gt; mysite.identityserver&#xA;&amp;lt;internal IP address of Sitecore server&amp;gt; mysite.com&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want to set the mysite.identityserver and mysite.com reachable for everyone in the same network you need to setup a DNS server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The difference between XP0 and XP1:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;XP0 (XP Single): single instance, which means you have all services installed as one as possible&lt;/li&gt;&#xA;&lt;li&gt;XP1 (XP Scaled): scaled instance, which means you have all services installed as scaled as possible&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The topology does not do anything with from where you can access the sites. &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/pre-built-topologies.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Here&lt;/a&gt; you can find more information about predifined topologies.&lt;/p&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2019-08-14T21:14:38.677" LastActivityDate="2019-08-14T21:14:38.677" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20514" PostTypeId="1" CreationDate="2019-08-15T03:26:56.453" Score="0" ViewCount="70" Body="&lt;p&gt;we are syncing the items from sitecore to dynamic 365 by batch pipelines.dynamic 365 Simple type is synced successfully. but in &#xA;dynamic look up field is not updating.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;CRM field (case field (look up field))&lt;br&gt;&#xA;Sitecore field (case field (single line text)).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5612" LastActivityDate="2024-03-16T01:01:30.147" Title="not Syncing CRM lookup field From Sitecore to CRM by batch pipeline" Tags="|dynamics-crm-module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20515" PostTypeId="2" ParentId="20458" CreationDate="2019-08-15T07:02:03.510" Score="0" Body="&lt;p&gt;I've just checked and it is working fine. Take a look below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/feeKO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/feeKO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/L6MJt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/L6MJt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next, add Dropdown Filter and Search Results on the page and you should see values in the dropdown:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bmwKj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bmwKj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that filters won't work if there won't be Search Results on the page. They have no sense without Search Results rendering.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-08-15T07:02:03.510" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20516" PostTypeId="2" ParentId="20494" CreationDate="2019-08-15T08:30:22.190" Score="1" Body="&lt;p&gt;You can use the existing JS API. Take a look at how it is done in the Location Finder script (&lt;code&gt;component-search-location-filter.js&lt;/code&gt;). Base on the mode it can translate the location name provided by the user or just detect current location. To detect the current location it is using HTML Geolocation API present in the browser (the code for it is located in &lt;code&gt;component-location-service.js&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is how you can get current user location for the user inside of your filter script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;XA.component.locationService.detectLocation(&#xA;     function (location) {&#xA;          ...&#xA;     },&#xA;     function (errorMessage) {&#xA;          console.log(errorMessage);&#xA;     }&#xA;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-08-15T08:30:22.190" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20517" PostTypeId="1" CreationDate="2019-08-15T08:34:24.217" Score="4" ViewCount="835" Body="&lt;p&gt;Sitecore XP 9.2.0 installation fails with the error.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/kJxC9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kJxC9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Install Assistant suggests checking the log. The log file contains the following entries:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;                      ************************************&#xA;                           Sitecore Install Framework&#xA;                                 Version - 2.1.0&#xA;                      ************************************&#xA;&#xA;&#xA;WorkingDirectory       : C:\Users\XXX\Downloads\Sitecore\Sitecore 9.2.0 rev. 002893 (Setup XP0 Developer &#xA;                         Workstation rev. r150)&#xA;WhatIf                 : False&#xA;Verbose                : SilentlyContinue&#xA;Configuration          : C:\Users\XXX\Downloads\Sitecore\Sitecore 9.2.0 rev. 002893 (Setup XP0 Developer &#xA;                         Workstation rev. r150)\XP0-SingleDeveloper.json&#xA;Debug                  : SilentlyContinue&#xA;AutoRegisterExtensions : False&#xA;WarningAction          : Continue&#xA;ErrorAction            : Stop&#xA;InformationAction      : Continue&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;[------------------- GeneratePasswords : SetVariable -------------------------]&#xA;&#xA;[ IdentityServerCertificates_CreatePaths : EnsurePath --------------------------]&#xA;[IdentityServerCertificates_CreatePaths]:[Create] C:\certificates&#xA;&#xA;[ IdentityServerCertificates_Display... : WriteInformation --------------------]&#xA;Certificate Password: )QjbMu:&amp;gt;806^G#60XPmO&#xA;&#xA;[ IdentityServerCertificates_CreateR... : NewRootCertificate ------------------]&#xA;Found multiple certificates, selecting certificate with longest expiry.&#xA;Exported certificate file C:\certificates\SitecoreRootCert.pfx&#xA;&#xA;[ IdentityServerCertificates_CreateS... : NewSignedCertificate ----------------]&#xA;Found multiple certificates, selecting certificate with longest expiry.&#xA;Could not find Cert: sc-xp-920identityserver.dev.local in Cert:\LocalMachine\My&#xA;Exported certificate file C:\certificates\sc-xp-920identityserver.dev.local.pfx&#xA;&#xA;[---------- IdentityServer_CreatePaths : EnsurePath --------------------------]&#xA;[IdentityServer_CreatePaths]:[Create] C:\inetpub\wwwroot\sc-xp-920identityserver.dev.local&#xA;&#xA;[-------- IdentityServer_CreateAppPool : AppPool -----------------------------]&#xA;[IdentityServer_CreateAppPool]:[Create] sc-xp-920identityserver.dev.local&#xA;[IdentityServer_CreateAppPool]:[Setting] processModel.identityType =&amp;gt; ApplicationPoolIdentity&#xA;[IdentityServer_CreateAppPool]:[Setting] managedRuntimeVersion =&amp;gt; &#xA;[IdentityServer_CreateAppPool]:[Setting] processModel.loadUserProfile =&amp;gt; True&#xA;[IdentityServer_CreateAppPool]:[Setting] processModel.idleTimeoutAction =&amp;gt; Suspend&#xA;&#xA;[ IdentityServer_SetAppPoolCertStore... : FilePermissions ---------------------]&#xA;[IdentityServer_SetAppPoolCertStorePermissions]:[Allow] IIS AppPool\sc-xp-920identityserver.dev.local&#xA;[IdentityServer_SetAppPoolCertStorePermissions]:[Path] C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\5bbbe01bf59748c5204d66d57ec057b5_bf574485-a3b5-4063-83ca-fcdd6c376d2b&#xA;[IdentityServer_SetAppPoolCertStorePermissions]:[Rights] Read&#xA;[IdentityServer_SetAppPoolCertStorePermissions]:[Inherit] None&#xA;[IdentityServer_SetAppPoolCertStorePermissions]:[Propagate] None&#xA;&#xA;[-------- IdentityServer_CreateWebsite : Website -----------------------------]&#xA;[IdentityServer_CreateWebsite]:[Create] sc-xp-920identityserver.dev.local&#xA;[IdentityServer_CreateWebsite]:[Setting] applicationPool =&amp;gt; sc-xp-920identityserver.dev.local&#xA;[IdentityServer_CreateWebsite]:[Setting] physicalPath =&amp;gt; C:\inetpub\wwwroot\sc-xp-920identityserver.dev.local&#xA;&#xA;[---------- IdentityServer_StopWebsite : ManageWebsite -----------------------]&#xA;[IdentityServer_StopWebsite]:[Stop] sc-xp-920identityserver.dev.local&#xA;The property 'Value' cannot be found on this object. Verify that the property exists.&#xA;[TIME] 00:00:08&#xA;The property 'Value' cannot be found on this object. Verify that the property exists.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5375" LastEditorUserId="5375" LastEditDate="2019-08-15T09:18:49.163" LastActivityDate="2024-03-02T06:06:40.760" Title="Installing Sitecore 9.2 with Sitecore Install Assistant shows error - Identity Server Installation Step" Tags="|installation|sitecore-install-assistant|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20518" PostTypeId="1" AcceptedAnswerId="20524" CreationDate="2019-08-15T09:07:58.270" Score="1" ViewCount="378" Body="&lt;p&gt;When I'm working with the local web server &lt;code&gt;(jss start:connected)&lt;/code&gt; and at the same time I log into the actual instance of Sitecore (dev.test.com) and go to the experience editor. The local version get's stuck in experience editor mode.&lt;/p&gt;&#xA;&lt;p&gt;The reason seems to be that chrome reads the cookies for the (dev.test.com) URL as well as the cookies for (localhost).&lt;/p&gt;&#xA;&lt;p&gt;Deleting the sc_mode cookie that says edit or logging out from Sitecore seems to be the only way to fix this problem.&lt;/p&gt;&#xA;&lt;p&gt;Is this a bug in Sitecore or what am I missing?&lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="5417" LastEditDate="2021-07-11T09:45:54.323" LastActivityDate="2021-07-11T09:45:54.323" Title="JSS connected mode enters experience editor mode" Tags="|experience-editor|jss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20519" PostTypeId="1" CreationDate="2019-08-15T09:35:43.397" Score="0" ViewCount="467" Body="&lt;p&gt;I am new to Sitecore 9 and still exploring Sitecore Experience Forms. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Should a forms go to the next page if there is a validation error on a field? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In WFFM it stayed on that page, but on my Experience Form, it is getting redirected to another page&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example: (The &lt;code&gt;dev_number&lt;/code&gt; is a required field)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TsCgE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TsCgE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;after clicking next it doesnt stay on the page&#xA;&lt;a href=&quot;https://i.stack.imgur.com/YfoK1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YfoK1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can we make the form stay on the page out of the box Sitecore?&lt;/p&gt;&#xA;" OwnerUserId="1591" LastEditorUserId="70" LastEditDate="2019-08-15T13:47:10.640" LastActivityDate="2019-08-15T13:47:10.640" Title="Clicking Submit changes the page on a Form even if there are validation errors" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ClosedDate="2019-08-16T08:37:46.027" ContentLicense="CC BY-SA 4.0" />
  <row Id="20520" PostTypeId="2" ParentId="20519" CreationDate="2019-08-15T13:34:56.397" Score="1" Body="&lt;p&gt;This looks like validation is not working because of scripts are loaded properly from Layout. Forms gets redirected to formbuilder when it's missing the below script in MvcOuterLayout.cshtml&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.ExperienceForms.Mvc.Html&#xA;&#xA;@Html.RenderFormStyles()&#xA;@Html.RenderFormScripts()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Couple of more things to check:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Make sure you have two layouts - the outer layout that renders the script and the inner layout&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;For form scripts and styles to be rendered, you must use two layouts:&#xA;  MVC Layout.cshtml and MVC OuterLayout.cshtml. First, open the MVC&#xA;  Layout.cshtml file and to refer to the outer layout that you will&#xA;  create in the next step, add Layout = MVCOuterLayout.cshtml&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is the &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/add-a-form-to-a-webpage.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;documentation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Make sure to publish the forms, landing page and test the page in live mode(form validation doesn't work in preview mode).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4077" LastActivityDate="2019-08-15T13:34:56.397" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20521" PostTypeId="1" AcceptedAnswerId="24692" CreationDate="2019-08-15T13:56:45.723" Score="2" ViewCount="443" Body="&lt;p&gt;I have a requirement to add the workflow submit button to the Experience Editor same as it appears in Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am aware that Sitecore displays Submit as a link in the message notification for the items in Draft state but I need to add a button to ribbon that can perform the same action as link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to do that? &lt;/p&gt;&#xA;" OwnerUserId="5405" LastEditorUserId="5405" LastEditDate="2019-08-16T07:02:05.290" LastActivityDate="2020-03-24T00:01:24.473" Title="How to add Workflows-&gt;Submit button to Experience Editor Ribbon" Tags="|experience-editor|workflow|ribbon|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20523" PostTypeId="2" ParentId="20514" CreationDate="2019-08-15T18:14:19.203" Score="0" Body="&lt;p&gt;Simple type works because in this we do not need to create any reader, but in case of dropdown and look up field we need to create reader. You can read more information here &lt;a href=&quot;https://www.codinglittlethings.com/2019/06/sitecore-9-dynamic-crm-connector-sync.html?m=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.codinglittlethings.com/2019/06/sitecore-9-dynamic-crm-connector-sync.html?m=1&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-08-15T18:14:19.203" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20524" PostTypeId="2" ParentId="20518" CreationDate="2019-08-15T18:28:26.130" Score="2" Body="&lt;p&gt;Unfortunately it's how domain based cookies work. If you've got cookies saying you're in edit mode on domain.sitecore.local, it's going to render in edit mode whether you're connected or not, because both the connected mode data and the integrated data come from the same domain. You can quickly get out of edit mode by visiting your.sitecore.domain/?sc_mode=normal which is mildly quicker than deleting a cookie, or use incognito mode like @MarkCassidy suggested.&lt;/p&gt;&#xA;" OwnerUserId="267" LastActivityDate="2019-08-15T18:28:26.130" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20525" PostTypeId="1" AcceptedAnswerId="20527" CreationDate="2019-08-15T18:41:17.130" Score="4" ViewCount="2156" Body="&lt;p&gt;I'm wondering if there is some API/Code/Trick on Sitecore to &lt;strong&gt;fetch all linked/related Items&lt;/strong&gt; to a given Sitecore item, just like we have on the XP Admin interface?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My goal here is to find all pages using a given item as a data source of one of its renderings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/KO8U9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KO8U9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-08-15T19:27:15.293" Title="How to programatically get all linked items for a given Sitecore item?" Tags="|admin-pages|related-items|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20526" PostTypeId="2" ParentId="20525" CreationDate="2019-08-15T18:44:43.253" Score="2" Body="&lt;p&gt;You can use Link Database via &lt;code&gt;GetReferrers&lt;/code&gt; method.&#xA;e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var links = Globals.LinkDatabase.GetReferrers(item);&#xA;  if (links == null)&#xA;    return new Item[0];&#xA;  var linkedItems = links.Select(i =&amp;gt; i.GetSourceItem()).Where(i =&amp;gt; i != null);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="88" LastActivityDate="2019-08-15T18:44:43.253" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20527" PostTypeId="2" ParentId="20525" CreationDate="2019-08-15T18:48:16.027" Score="4" Body="&lt;p&gt;You can use from code:             &lt;code&gt;ItemLink[] itemLinks = Globals.LinkDatabase.GetReferrers(item);&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or from Content Editor you can use Link ribbon button from Navigate tab: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B0RJf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B0RJf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="237" LastEditDate="2019-08-15T19:27:15.293" LastActivityDate="2019-08-15T19:27:15.293" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20529" PostTypeId="2" ParentId="19228" CreationDate="2019-08-15T23:55:34.677" Score="4" Body="&lt;p&gt;I assume you submit the form via Ajax.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had exactly the same problem before when the form submission is done via Ajax. There is an &quot;Is Ajax&quot; check box in the form that you can turn off.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We actually raised that as a Sitecore ticket a while ago. Despite it being a bug, they recommended a workaround to just turn off the ajax and use normal POST request.&lt;/p&gt;&#xA;" OwnerUserId="1917" LastActivityDate="2019-08-15T23:55:34.677" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20530" PostTypeId="1" CreationDate="2019-08-16T04:31:05.263" Score="1" ViewCount="128" Body="&lt;p&gt;I am facing a weird issue in saving the form in the form builder. The error is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JfEJ0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JfEJ0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's a plain vanilla sitecore 9.1 instance. I reindexed all the indexes.I checked the logs but none is written. Has anyone faced such an issue?  &lt;/p&gt;&#xA;" OwnerUserId="4748" LastActivityDate="2019-08-16T04:31:05.263" Title="Can't save form in form builder" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="6" ClosedDate="2019-08-16T07:09:20.510" ContentLicense="CC BY-SA 4.0" />
  <row Id="20531" PostTypeId="1" CreationDate="2019-08-16T07:02:43.400" Score="4" ViewCount="91" Body="&lt;p&gt;Is it possible to install the PowerShell Module for Sitecore and SPE Remoting module remotely?&#xA;I'm wondering if it is possible to install it via ansible to a new Sitecore instance and then remotely install Sitecore update packages.&#xA;Maybe it is possible to install it via Web Deploy or SIF. Can't find any documentation related to it.&lt;/p&gt;&#xA;" OwnerUserId="5904" LastEditorUserId="2034" LastEditDate="2019-08-16T07:52:52.063" LastActivityDate="2019-08-16T07:52:52.063" Title="Is it possible to install PowerShell Module for Sitecore and SPE Remoting module remotely?" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20532" PostTypeId="1" CreationDate="2019-08-16T07:23:25.427" Score="1" ViewCount="599" Body="&lt;p&gt;I have a query string on a thank you page like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;mysite.com/ty-page?querystring=12345abcde&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On this thank you page, there's a CTA button, (from the standard hero item).&#xA;This button links to another page and I would like the querystring from the URL (name and value) to the link in the CTA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the link should look like this when setting it up:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;mysite.com/page2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And when you get to the TY page, if this querystring is in the URL it should add the querystring so the CTA link is:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;mysite.com/page2?querystring=12345abcde&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Picture below for clarification on where the query string is entered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OrfHa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OrfHa.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4208" LastEditorUserId="4208" LastEditDate="2019-08-16T08:19:25.420" LastActivityDate="2019-10-20T13:01:20.353" Title="Insert link query string (token) replace" Tags="|wffm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20533" PostTypeId="1" AcceptedAnswerId="20534" CreationDate="2019-08-16T08:12:33.010" Score="3" ViewCount="2183" Body="&lt;p&gt;I have a functioning login flow for my site via IdentityServer. When I test the flow on the CM server (but the frontend site) everything works ok. When I try the same thing on my CD server, I get:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Unable to reach an external identity provider.&lt;/p&gt;&#xA;&lt;p&gt;IDX20803: Unable to obtain configuration from: '[PII is hidden]'.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;No obvious errors are logged. It simply fails to find an IdentityProvider.&lt;/p&gt;&#xA;&lt;p&gt;The Sitecore version is 9.1.1 and has been provisioned via Azure Marketplace.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2020-06-10T20:46:23.873" Title="Getting IDX20803 when trying to log in via IdentityServer on my CD instance" Tags="|azure|identity-server|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20534" PostTypeId="2" ParentId="20533" CreationDate="2019-08-16T08:15:11.243" Score="5" Body="&lt;p&gt;Turns out, when Sitecore sets up these instances, it does some variable replacement in various config files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On CM, the file &lt;code&gt;Sitecore.Owin.Authentication.IdentityServer.config&lt;/code&gt; gets this replacement (near the top of the file):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;identityServerAuthority&quot; value=&quot;https://[redacted]-si.azurewebsites.net&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the installation script will have replaced the token that was presumably in place here, with the real host of IdentityServer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the CD server, however, the file looks like this (by default):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;identityServerAuthority&quot; value=&quot;https://SitecoreIdentityServerHost&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Which will obviously fail to resolve. Looks like a typo on whatever token replacement was to take place here.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-08-16T08:24:55.097" LastActivityDate="2019-08-16T08:24:55.097" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20535" PostTypeId="1" AcceptedAnswerId="20536" CreationDate="2019-08-16T09:34:33.737" Score="3" ViewCount="2289" Body="&lt;p&gt;I'm using Sitecore 9.0.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am implementing Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, that in Sitecore 9.0.2 has a constructor with the following signature:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public FilterUrlExtensions(string allowed, string blocked, string streamFiles, string doNotStreamFiles);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And my own class looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomPreprocessor : Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions&#xA;{ &#xA;    public CustomPreprocessor(string allowed, string blocked, string streamFiles, string doNotStreamFiles) : base(allowed, blocked, streamFiles, doNotStreamFiles)&#xA;    {&#xA;    }&#xA;&#xA;    public override void Process(PreprocessRequestArgs args)&#xA;    {&#xA;        base.Process(args);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Yet I'm still getting this error: Could not create instance of type: eSundhedWeb.Foundation.Permissions.Pipelines.CustomPreprocessor. No matching constructor was found.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What can be the cause for this? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason why I'm trying to override the preprocessor is because I serve media files they don't seem to enter into the HttpRequest pipeline where I'm doing some authentication. I read somewhere that the preprocessor might be sending it straight to MVC because media is served as .ashx. If you've got a better idea I'm grateful for clues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: &#xA;I'm registering the processor as such in a config file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;eSundhedWeb.Foundation.Permissions.Pipelines.CustomPreprocessor, eSundhedWeb.Foundation.Permissions&quot; patch:instead=&quot;processor[@type='Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel']&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5907" LastEditorUserId="5907" LastEditDate="2019-08-16T10:58:45.227" LastActivityDate="2020-03-12T05:13:55.323" Title="Could not create instance of type (My implementation of FilterUrlExtensions) No matching constructor was found" Tags="|media-library|pipelines|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20536" PostTypeId="2" ParentId="20535" CreationDate="2019-08-16T10:10:13.910" Score="3" Body="&lt;p&gt;Try to modify your patch config the following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;eSundhedWeb.Foundation.Permissions.Pipelines.CustomPreprocessor, eSundhedWeb.Foundation.Permissions&quot; patch:instead=&quot;processor[@type='Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel']&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;Allowed extensions (comma separated)&quot;&amp;gt;aspx, ashx, asmx&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;Blocked extensions (comma separated)&quot;&amp;gt;*&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;Blocked extensions that stream files (comma separated)&quot;&amp;gt;*&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;Blocked extensions that do not stream files (comma separated)&quot;/&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;An even better solution would be to patch the configuration like this, then you don't need to copy the default values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel&quot; set:type=&quot;eSundhedWeb.Foundation.Permissions.Pipelines.CustomPreprocessor, eSundhedWeb.Foundation.Permissions&quot; /&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastEditorUserId="408" LastEditDate="2019-08-16T11:22:15.550" LastActivityDate="2019-08-16T11:22:15.550" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20537" PostTypeId="1" AcceptedAnswerId="20539" CreationDate="2019-08-16T10:59:43.643" Score="3" ViewCount="1513" Body="&lt;p&gt;I'm using Sitecore 9.0.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am implementing a class to override Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wrote my patch config as such:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor type=&quot;eSundhedWeb.Foundation.Permissions.Pipelines.CustomPreprocessor, eSundhedWeb.Foundation.Permissions&quot; patch:instead=&quot;processor[@type='Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel']&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;Allowed extensions (comma separated)&quot;&amp;gt;aspx, ashx, asmx&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;Blocked extensions (comma separated)&quot;&amp;gt;*&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;Blocked extensions that stream files (comma separated)&quot;&amp;gt;*&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;Blocked extensions that do not stream files (comma separated)&quot;/&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As I'm trying to run it I get the following exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not find method: Process. Pipeline: /sitecore[database=&quot;SqlServer&quot; xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;]/pipelines/initialize/processor[type=&quot;eSundhedWeb.Foundation.Permissions.Pipelines.CustomPreprocessor, eSundhedWeb.Foundation.Permissions&quot; patch:source=&quot;Foundation.Permissions.CustomPreprocessor.config&quot;]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've verified that my method signature matches the signature in FilterUrlExtensions as you can see here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My class:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class CustomPreprocessor : Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions&#xA;&#xA;    { &#xA;        public CustomPreprocessor(string allowed, string blocked, string streamFiles, string doNotStreamFiles) : base(allowed, blocked, streamFiles, doNotStreamFiles)&#xA;        {&#xA;        }&#xA;&#xA;        public override void Process(PreprocessRequestArgs args)&#xA;        {&#xA;&#xA;            base.Process(args);&#xA;        }&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;FilterUrlExtensions:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class FilterUrlExtensions : PreprocessRequestProcessor&#xA;    {&#xA;        public FilterUrlExtensions(string allowed, string blocked, string streamFiles, string doNotStreamFiles);&#xA;&#xA;        public override void Process(PreprocessRequestArgs args);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What might be causing this problem?&lt;/p&gt;&#xA;" OwnerUserId="5907" LastActivityDate="2019-08-16T11:07:00.543" Title="Could not find method: Process. (My implementation of FilterUrlExtensions)" Tags="|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20538" PostTypeId="1" AcceptedAnswerId="20540" CreationDate="2019-08-16T11:01:36.217" Score="3" ViewCount="336" Body="&lt;p&gt;I want that our content managers can kick other users which are logged in into sitecore. When I call the site with my admin account I see the Users that are logged in and I can kick them. But the normal content managers is not seeing any users. Is there a specific role I can assign to them that they can kick other users or is this a admin feature only?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-08-16T11:18:09.793" Title="What is the right permission to allow users to kick other users" Tags="|permissions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20539" PostTypeId="2" ParentId="20537" CreationDate="2019-08-16T11:07:00.543" Score="3" Body="&lt;p&gt;You implemented custom &lt;code&gt;preprocessRequest&lt;/code&gt; processor but then you regisitered it in &lt;code&gt;initialize&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change your configuration to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;preprocessRequest&amp;gt;&#xA;        &amp;lt;processor type=&quot;eSundhedWeb.Foundation.Permissions.Pipelines.CustomPreprocessor, eSundhedWeb.Foundation.Permissions&quot; patch:instead=&quot;processor[@type='Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel']&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;Allowed extensions (comma separated)&quot;&amp;gt;aspx, ashx, asmx&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;Blocked extensions (comma separated)&quot;&amp;gt;*&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;Blocked extensions that stream files (comma separated)&quot;&amp;gt;*&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;Blocked extensions that do not stream files (comma separated)&quot;/&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/preprocessRequest&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-08-16T11:07:00.543" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20540" PostTypeId="2" ParentId="20538" CreationDate="2019-08-16T11:18:09.793" Score="3" Body="&lt;p&gt;From Sitecore code comments:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When a user logs in, Sitecore checks if the maximum number of users has been reached (as specified in the license). If so, the logout user web page is shown allowing the user to logout a existing session.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;There is a flag in Sitecore settings called &lt;code&gt;AllowLogoutOfAllUsers&lt;/code&gt; which is set to &lt;code&gt;false&lt;/code&gt; by default.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this flag is set to &lt;code&gt;false&lt;/code&gt; users can only kick their own sessions from other browsers. And administrator can kick everyone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this flag is set to &lt;code&gt;true&lt;/code&gt;, users can kick everyone else.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;  ALLOW LOGOUT OF ALL USERS&#xA;            Indicates if the logout screen presents all users or&#xA;            just users with the same name&#xA;&#xA;--&amp;gt;&#xA;&amp;lt;setting name=&quot;AllowLogoutOfAllUsers&quot; value=&quot;false&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-08-16T11:18:09.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20542" PostTypeId="1" CreationDate="2019-08-16T14:58:25.463" Score="2" ViewCount="574" Body="&lt;p&gt;I have a Sitecore 8.2 site. WebDav is disabled on the CD as per &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/disable-webdav.html#&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/disable-webdav.html#&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;by disabling the Sitecore.WebDAV.config.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the error logs are still full of this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;7848 03:18:25 ERROR Application error.&#xA;Exception: System.NotSupportedException&#xA;Message: Unknown request type: PROPFIND&#xA;Source: Sitecore.Mvc&#xA;at Sitecore.Mvc.Helpers.WebHelper.GetRequestType(HttpContextBase httpContext)&#xA;at Sitecore.Mvc.Pipelines.Request.RequestBegin.ExecuteFormHandler.Process(RequestBeginArgs args)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;at Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)&#xA;at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&#xA;at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)&#xA;at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which I think is a WebDAV error. Do I need to do something else to disable WebDAV? Or os this error from something else?&lt;/p&gt;&#xA;" OwnerUserId="341" LastEditorUserId="135" LastEditDate="2019-08-17T03:13:29.133" LastActivityDate="2019-08-17T03:13:29.133" Title="WebDAV disabled but still getting PROPFIND error" Tags="|configuration|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20543" PostTypeId="1" CreationDate="2019-08-16T15:00:45.930" Score="1" ViewCount="1088" Body="&lt;p&gt;Using &lt;code&gt;Sitecore 8.2&lt;/code&gt;, when I add a &lt;code&gt;mailto:&lt;/code&gt; link, it gives me a &lt;strong&gt;validation error&lt;/strong&gt; that &lt;em&gt;external links require a target&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;However, the modal tab for mailto links doesn't contain a target field, and if I insert something into the Hyperlink tab it either ignores it or uses just the fields on that tab - ie it won't seem to pull from multiple tabs - this is when I confirm by going into edit html.&lt;/p&gt;&#xA;&lt;p&gt;I'm wondering if there is any way of doing this other than manually editing the html or am I just missing something?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="2432" LastEditDate="2023-12-28T06:29:35.620" LastActivityDate="2024-01-27T07:04:15.480" Title="Rich Text Editor target for mailto links" Tags="|content-editor|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20545" PostTypeId="1" CreationDate="2019-08-16T15:27:33.997" Score="2" ViewCount="175" Body="&lt;p&gt;&lt;br/&gt;&lt;br/&gt;&#xA;I know that Sitecore provides an option to offer &lt;strong&gt;custom analytics report to the clients&lt;/strong&gt;. I successfully created a new report page following the steps given in the &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/creating-a-custom-experience-analytics-report.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;official Sitecore documentation page&lt;/a&gt;, choosing a metric and a segment in the parameters item [See Note (a)], &lt;strong&gt;&lt;em&gt;but either it is throwing an error [see Note (b)] (OR) when I change to some other metrics and segments (thinking that it is a wrong combination of metrics/segments) - the custom report page shows as No data to display..!&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My Questions:&lt;/strong&gt;&lt;br/&gt;&#xA;1. Does Sitecore has option/allows us to add any new metrics in the custom report that are not available in the standard analytics report?&lt;br/&gt;&#xA;2. If so, how I can find the list of those new metrics (with the right combination of metric/segment) that would show data without any errors? Atleast please name 3 of them for better understanding. &lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand that I need to have appropriate analytics data in my Sitecore instance, but I have those pattern matches data shown in the standard analytics report. In-short, for some combination of metrics/segments, it shows error and to some other combinations - it shows &quot;No data to display&quot;..!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Kindly assist. Thanks in advance&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;:&lt;br/&gt;&lt;br/&gt;&#xA;(a) &lt;strong&gt;Category&lt;/strong&gt; : Audience Tab; &#xA;&lt;strong&gt;Metric&lt;/strong&gt; : Count;&#xA;&lt;strong&gt;Segments&lt;/strong&gt; : All visits by pattern&#xA;&lt;br/&gt;&lt;br/&gt;&#xA;(b) &lt;strong&gt;ERROR MESSAGE&lt;/strong&gt; : &lt;br/&gt;{&quot;message&quot;:&quot;An error has occurred.&quot;,&quot;exceptionMessage&quot;:&quot;The required anti-forgery form field \&quot;__RequestVerificationToken\&quot; is not present.&quot;,&quot;exceptionType&quot;:&quot;System.Web.Mvc.HttpAntiForgeryException&quot;,&quot;stackTrace&quot;:&quot;   at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken)\r\n   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext)\r\n   at Sitecore.Web.Http.Filters.ValidateHttpAntiForgeryTokenAttribute.OnAuthorization(HttpActionContext actionContext)&quot;}&lt;/p&gt;&#xA;" OwnerUserId="4515" LastActivityDate="2019-08-16T15:27:33.997" Title="Sitecore Custom Analytics Report" Tags="|experience-analytics|reporting|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20546" PostTypeId="1" CreationDate="2019-08-17T19:21:41.340" Score="1" ViewCount="867" Body="&lt;p&gt;I created Rss Feed following &lt;a href=&quot;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/setting-up-rss-feeds.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/90/sitecore-experience-platform/en/setting-up-rss-feeds.html&lt;/a&gt;. It returns only 50 items no matter where i point it to in the content tree(including Home), there are more than 100 content items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I even tried changing limit value to 100 in config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;--&gt;&#xA;MAXIMUM NUMBER OF ITEMS IN FEED&#xA;The maximum number of items to include in the client feed.&#xA;Default value: 50&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ClientFeeds.MaximumItemsInFeed&quot; value=&quot;50&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;--&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But still, it didn't work. &#xA;Is something am missing? Please help and give me thoughts on achieving this.&#xA;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5912" LastEditorUserId="5912" LastEditDate="2019-08-17T19:34:55.770" LastActivityDate="2019-08-19T05:15:32.687" Title="RSS Feed showing only 50 items" Tags="|rss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20548" PostTypeId="2" ParentId="20064" CreationDate="2019-08-17T19:32:44.103" Score="1" Body="&lt;p&gt;I just recently ran into this issue myself and spent hours trying to resolve it. I could hardly find any documentation related to an SXA site (i.e. a CD site) using a federate/Sitecore Identity subprovider to login. Randomly I tried removing the site groupings, and instead used a config file to setup the site:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;sites&amp;gt;&#xA;    &amp;lt;site name=&quot;mysite&quot; loginPage=&quot;$(loginPath)mysite/SitecoreIdentityServer/mysubprovider&quot; requireLogin=&quot;true&quot;.... /&amp;gt;&#xA;  &amp;lt;/sites&amp;gt;&#xA;  &amp;lt;experienceAccelerator&amp;gt;&#xA;    &amp;lt;siteResolving&amp;gt;&#xA;      &amp;lt;site name=&quot;mysite&quot; resolve=&quot;before&quot; /&amp;gt;&#xA;    &amp;lt;/siteResolving&amp;gt;&#xA;  &amp;lt;/experienceAccelerator&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This change seemed to actually trigger the identityProvidersPerSites entry I had in my config that matched the AzureAD examples they had commented out in the Sitecore.Owin.Authentication.IdentityServer.config. I am using PING instead of AzureAD so I had to perform some other steps as well. Since PING wasn't configured fully for me I couldn't complete the round trip back to Sitecore to make sure xConnect works, but if you maybe could loop back and comment on this answer to let me know if you get that working, it could help me too.&lt;/p&gt;&#xA;" OwnerUserId="5911" LastActivityDate="2019-08-17T19:32:44.103" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20549" PostTypeId="1" CreationDate="2019-08-17T21:32:16.597" Score="3" ViewCount="348" Body="&lt;p&gt;I have a Sitecore 9.1.1 distributed instance. I am seeing this in the CMS site log files a lot. Not sure at all what it means.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;10360 15:50:06 ERROR [Sitecore Services]: HTTP POST&#xA;URL https://mycmserver.com/sitecore/api/ao/v1/contacts/search?&amp;amp;pageSize=20&amp;amp;pageNumber=1&amp;amp;sort=visitCount desc&amp;amp;Match=*&amp;amp;FromDate=null&amp;amp;ToDate=null&#xA;&#xA;Exception System.NullReferenceException: Object reference not set to an instance of an object.&#xA;   at Sitecore.Cintel.Endpoint.Plumbing.NegotiateLanguageFilter.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__5.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__3.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__15.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastEditorUserId="215" LastEditDate="2019-08-19T11:26:13.363" LastActivityDate="2021-01-14T18:06:15.613" Title="What does this Experience Profile error mean?" Tags="|xdb|" AnswerCount="2" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20550" PostTypeId="1" AcceptedAnswerId="20553" CreationDate="2019-08-17T22:54:03.270" Score="0" ViewCount="472" Body="&lt;p&gt;I'm trying to sync Unicorn (4.1.1) on Habitat 1.8 (Sitecore 9.2).&#xA;I'm running Visual Studio 2019 as Admin and PowerShell execution policy is for CurrentUser = Bypass and for LocalMachine = Unrestricted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also it did sync &quot;Project.Habitat.Website&quot; project after this sync it throws an error. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Project.Habitat.Website role sync complete.&#xA;Completed in 261ms.&#xA;****ERROR OCCURRED****&#xA;Error: Unicorn Sync to http://habitat.dev.local/unicorn.aspx?verb=Sync&amp;amp;configuration=&amp;amp;skipTransparentConfigs=0 returned an &#xA;Error: error. See the preceding log for details.&#xA;At C:\Projects\Github\habitat18sc920\scripts\Unicorn\Unicorn.psm1:66 char:3&#xA;Error: +         throw &quot;Unicorn $Verb to $url returned an error. See the prece ...&#xA;Error: +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;Error:     + CategoryInfo          : OperationStopped: (Unicorn Sync to...og for details.:String) [], RuntimeException&#xA;    + FullyQualifiedErrorId : Unicorn Sync to http://habitat.dev.local/unicorn.aspx?verb=Sync&amp;amp;configuration=&amp;amp;skipTrans &#xA;   parentConfigs=0 returned an error. See the preceding log for details.&#xA;&#xA;C:\Projects\Github\habitat18sc920\scripts\unicorn.js:44&#xA;    if (err !== null) throw err;&#xA;                      ^&#xA;Error: Command failed: powershell -executionpolicy unrestricted &quot;C:\Projects\Github\habitat18sc920\scripts/Unicorn/./Sync.ps1 -secret 749CABBC85EAD20CE55E2C6066F1BE375D2115696C8A8B24DB6ED1FD60613086 -url http://habitat.dev.local/unicorn.aspx&quot;&#xA;Unicorn Sync to http://habitat.dev.local/unicorn.aspx?verb=Sync&amp;amp;configuration=&amp;amp;skipTransparentConfigs=0 returned an &#xA;error. See the preceding log for details.&#xA;At C:\Projects\Github\habitat18sc920\scripts\Unicorn\Unicorn.psm1:66 char:3&#xA;+         throw &quot;Unicorn $Verb to $url returned an error. See the prece ...&#xA;+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : OperationStopped: (Unicorn Sync to...og for details.:String) [], RuntimeException&#xA;    + FullyQualifiedErrorId : Unicorn Sync to http://habitat.dev.local/unicorn.aspx?verb=Sync&amp;amp;configuration=&amp;amp;skipTrans &#xA;   parentConfigs=0 returned an error. See the preceding log for details.&#xA;&#xA;    at ChildProcess.exithandler (child_process.js:294:12)&#xA;    at ChildProcess.emit (events.js:182:13)&#xA;    at maybeClose (internal/child_process.js:962:16)&#xA;    at Socket.stream.socket.on (internal/child_process.js:381:11)&#xA;    at Socket.emit (events.js:182:13)&#xA;    at Pipe._handle.close (net.js:610:12)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-08-19T00:36:52.557" Title="Unicorn 4.1.1 Habitat 1.8 (Sitecore 9.2) Sync error" Tags="|unicorn|habitat|" AnswerCount="1" CommentCount="5" ClosedDate="2019-08-19T08:07:48.840" ContentLicense="CC BY-SA 4.0" />
  <row Id="20551" PostTypeId="1" AcceptedAnswerId="20554" CreationDate="2019-08-18T08:41:05.803" Score="3" ViewCount="806" Body="&lt;p&gt;Sitecore version: 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Deployment model: PAAS Scaled&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I am doing: I am sending emails through scheduled tasks. The flow is working fine in the On-Premises standalone model.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the higher PAAS Scaled environment, we got the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.InvalidOperationException&#xA;Message: Unable to resolve service for type 'Sitecore.EmailCampaign.Cd.Services.IClientApiService' while attempting to activate 'XXXXXX.Foundation.EXM.Services.ExmService'.&#xA;Source: Microsoft.Extensions.DependencyInjection&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.Service.PopulateCallSites(ServiceProvider provider, ISet`1 callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried both the approaches of creating the client as mentioned by Sitecore in the &lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/the-email-experience-manager-client-api.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;document&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also came across this article &lt;a href=&quot;https://andrewwburns.com/2018/08/17/avoiding-the-iclientapiservice/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://andrewwburns.com/2018/08/17/avoiding-the-iclientapiservice/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But in both the approaches, the error is the same. Can you please guide me on this?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="1110" LastEditDate="2019-08-18T10:04:05.413" LastActivityDate="2019-08-19T00:36:56.957" Title="Unable to resolve service for type 'Sitecore.EmailCampaign.Cd.Services.IClientApiService'" Tags="|exm|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20553" PostTypeId="2" ParentId="20550" CreationDate="2019-08-19T00:36:52.557" Score="0" Body="&lt;ol&gt;&#xA;&lt;li&gt;I did actually use the Unicorn.aspx file and  serialized all projects, without any problem.&lt;br&gt;&lt;/li&gt;&#xA;&lt;li&gt;After that I did run the &quot;gulp/default&quot; task and the problem was solved.&lt;/li&gt;&#xA;&lt;li&gt;I'm still not sure what the reason was for this error however @MarkCassidy suggestion solved the issue. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Thank you @MarkCassidy&lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-08-19T00:36:52.557" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20554" PostTypeId="2" ParentId="20551" CreationDate="2019-08-19T00:36:56.957" Score="3" Body="&lt;p&gt;You won't be able to resolve the IClientApiService from DI on a CM out of the box as the services are not registered (by design).  The ClientApiService is essentially a wrapper to handle common functions that may need to be triggered from the CD roles. This will have worked in your lower environments as the service configurations will have been available in Standalone roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the blog you referenced suggests, you could send straight to the message bus for automated messages and then the usual handlers will action the dispatch. The Sitecore documentation on sending programmatically may be of further help and can be found here:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/sending-email-campaigns-programmatically.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/sending-email-campaigns-programmatically.html&lt;/a&gt; . It states a very similar solution as the blog you posted for sending of Automated messages (and regular campaigns if that is your aim)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IMessageBus&amp;lt;AutomatedMessagesBus&amp;gt; automatedMessageBus = &#xA;ServiceLocator.ServiceProvider.GetService&amp;lt;IMessageBus&amp;lt;AutomatedMessagesBus&amp;gt;&amp;gt;();&#xA;&#xA;AutomatedMessage automatedMessage = new AutomatedMessage()&#xA;{&#xA;    ContactIdentifier = contactIdentifier,&#xA;    MessageId = emailCampaignId&#xA;};&#xA;automatedMessageBus.Send(automatedMessage);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There should be no code trying to resolve IClientApiService in that solution.  If you are still experiencing the same error, check your code to ensure you are not inadvertently trying to resolve the IClientApiService via DI.&lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2019-08-19T00:36:56.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20555" PostTypeId="1" AcceptedAnswerId="20558" CreationDate="2019-08-19T01:35:32.003" Score="1" ViewCount="1088" Body="&lt;p&gt;I'm using Sitecore 9.0 with SXA 1.8. I've got a requirement to search PDF names and it's fields including custom fields (e.g. download title field). When I see the Solr index / Azure index, PDF names and its fields are not indexing into the SXA AggregatedContent computed index field. So, I've decided to add a custom computed index field and populated the content. But, I didn't find a way to make this computed index field content searchable. I tried to do it through Scope query and rules, But no luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the process I'm following,&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a custom computed index field. &lt;/li&gt;&#xA;&lt;li&gt;Add the configuration as&#xA;&lt;code&gt;&amp;lt;field fieldName=&quot;_mediadownloadtitle&quot; returnType=&quot;text&quot; patch:source=&quot;brand.Foundation.Search.config&quot;&amp;amp;gt;&#xA;brand.Foundation.Search.ComputedFields.MediaDependentIndexField, brand.Foundation.Search&#xA;&amp;lt;/field&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Add the Boosting rule and the scope query, Both are not satisfactory. Tried all combinations&#xA;&lt;a href=&quot;https://i.stack.imgur.com/epi8r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/epi8r.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Search query from log:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;(((((((-hide_from_search_b:(True)  *:*) AND _mediadownloadtitle_t:(&quot;test1234&quot;)) AND ((_path:(8e4103c8302c43b197aae65ef11fe4e1) AND searchable_b:(True)) OR _path:(525bed7f6ddb4d5c8a338f3bbc44de46))) AND sxacontent_txm:(*test1234*)) AND _language:(en)) AND _latestversion:(True)) AND ((_mediadownloadtitle_t:(test1234))^90 OR (-_name:(&quot;&quot;)  _name:[* TO *])))&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the &quot;sxacontent_txm&quot; index field is applying with AND condition, So, it's not able to show any results even though its building a query for custom index field in Boosting rule or query builder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to make custom computed index field's content searchable in SXA.&lt;/p&gt;&#xA;" OwnerUserId="4286" LastEditorUserId="851" LastEditDate="2019-08-19T08:19:14.417" LastActivityDate="2019-08-19T08:19:14.417" Title="Is it possible to make custom computed index field searchable in SXA 1.8" Tags="|sxa|solr|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20557" PostTypeId="2" ParentId="20546" CreationDate="2019-08-19T05:15:32.687" Score="3" Body="&lt;p&gt;By default, two settings in the &lt;code&gt;sitecore.config&lt;/code&gt; file limit the maximum number of items that can appear in an RSS feed.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Feeds.MaximumItemsInFeed&lt;/strong&gt;  - limits the number of items that can appear in a public RSS feed. &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ClientFeeds.MaximumItemsInFeed&lt;/strong&gt; - limits the number of items that can appear in a client RSS feed (for CMS users, such as workflow notification).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-19T05:15:32.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20558" PostTypeId="2" ParentId="20555" CreationDate="2019-08-19T05:37:28.730" Score="3" Body="&lt;p&gt;I don't think the computed index will searchable in your case, by default SXA use a computed field &lt;code&gt;sxacontent&lt;/code&gt; which use following implementation - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.XA.Foundation.Search.ComputedFields.AggregatedContent &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;using following config node - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;sxacontent&quot; returnType=&quot;textCollection&quot; type=&quot;Sitecore.XA.Foundation.Search.ComputedFields.AggregatedContent, Sitecore.XA.Foundation.Search&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want to add your custom implementation to include something in this by overriding the above config node.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-19T05:37:28.730" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20559" PostTypeId="1" CreationDate="2019-08-19T07:14:30.787" Score="0" ViewCount="684" Body="&lt;p&gt;We are facing lot of issues related to Media library dialog box such as below-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Media dialog box takes too much time to load&lt;/li&gt;&#xA;&lt;li&gt;Saving Item takes time after updating image in experience editor&lt;/li&gt;&#xA;&lt;li&gt;Tree node doesn't open and Times out&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We observed that there are lot of media items within single node almost around 3000 media items&#xA;Can you suggest best practices which will help to improve performance? Can we apply bucketing on the media node? will it help? &lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-08-19T07:38:39.947" Title="Too many media items in single node creating performance issue" Tags="|performance-optimization|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20560" PostTypeId="2" ParentId="20559" CreationDate="2019-08-19T07:38:39.947" Score="7" Body="&lt;p&gt;As a best practice, there should not more than 100 items under any node in Sitecore, Since Media in Sitecore are also store as Items so it is applicable for Media library as well. If you have more than 3000 media items under a single node then definitely it should restructure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now come to the point of bucketing, creating bucket is an option in your case but I personally don't think it a good option because you will need to update the system template for this and changing a system template is not a good practice. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;But yes, you can structure the items based on the item name creating media folder structure with item name's initial 3-4 characters. such as if your media item name is &quot;&lt;em&gt;John-profile&lt;/em&gt;&quot; folder structure will be like J &gt; O &gt; H, similar to the bucketing but folder type will be Medial folder. You can use PowerShell script for this of can write your custom C# code.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For newly created items you can write your event handler for &lt;code&gt;item:created&lt;/code&gt; event. There is an old question on Sitecore 6.6 but this discussion is applicable for current Sitecore version as well - &lt;a href=&quot;https://stackoverflow.com/questions/19838143/avoiding-100-item-limit-in-the-media-library&quot;&gt;https://stackoverflow.com/questions/19838143/avoiding-100-item-limit-in-the-media-library&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-19T07:38:39.947" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20561" PostTypeId="1" AcceptedAnswerId="20562" CreationDate="2019-08-19T08:11:42.997" Score="2" ViewCount="1260" Body="&lt;p&gt;I'm using Sitecore 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I want&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm having an issue serving media files. I would like to check if an user is authenticated before it is served. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;What I tried&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm currently doing this for all other Sitecore Items by overriding the HttpRequestProcessor.&#xA;I notice though that none of the Media Item servings pass through this pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've also tried overriding the Preprocessrequest pipeline, but it seems that Media Items don't pass through this pipeline either?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The question&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the best way to achieve this? I would like to be able to do something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void ProcessRequest(... request) &#xA;{&#xA;   var item = GetMediaItem(request);&#xA;   if(!UserAuthenticated(item))&#xA;   {&#xA;    //redirect to forbidden page&#xA;   }&#xA;   //else serve media item&#xA;   base.ProcessRequest(request);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5907" LastActivityDate="2019-08-19T08:20:07.380" Title="How can I override the serving of Media Files? (Implementing authentication for media items)" Tags="|media-library|pipelines|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20562" PostTypeId="2" ParentId="20561" CreationDate="2019-08-19T08:20:07.380" Score="5" Body="&lt;p&gt;Sitecore's media files are not served via any of the pipelines, as you've already determined.  Instead, look in your web.config for the following handler.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;handlers&amp;gt;&#xA;      &amp;lt;add verb=&quot;*&quot; path=&quot;sitecore_media.ashx&quot; type=&quot;Sitecore.Resources.Media.MediaRequestHandler, Sitecore.Kernel&quot; name=&quot;Sitecore.MediaRequestHandler&quot;/&amp;gt;&#xA;    &amp;lt;/handlers&amp;gt;&#xA;  &amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Override this handler, inheriting from Sitecore's own, when you want to add additional logic on top of media handling.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace MyProject.Custom.Media&#xA;{&#xA;    public class MediaRequestHandler : Sitecore.Resources.Media.MediaRequestHandler&#xA;    {&#xA;        protected override bool DoProcessRequest(HttpContext context, MediaRequest request,&#xA;            Sitecore.Resources.Media.Media media)&#xA;        {&#xA;            Assert.ArgumentNotNull((object) context, &quot;context&quot;);&#xA;            Assert.ArgumentNotNull((object) request, &quot;request&quot;);&#xA;            Assert.ArgumentNotNull((object) media, &quot;media&quot;);&#xA;&#xA;            ... YOUR CODE HERE&#xA;&#xA;            return base.DoProcessRequest(context, request, media);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Full example to be found here: &lt;a href=&quot;https://gist.github.com/jammykam/c89e2f4eb62638226e1d005d22802f0a&quot; rel=&quot;noreferrer&quot;&gt;https://gist.github.com/jammykam/c89e2f4eb62638226e1d005d22802f0a&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-19T08:20:07.380" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20563" PostTypeId="1" AcceptedAnswerId="20659" CreationDate="2019-08-19T08:31:49.237" Score="1" ViewCount="220" Body="&lt;p&gt;I am facing an error when I click on some of the products in CMS but I am able to see the products in Merchandising manager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because of this I am not able to rebuild indexes also. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Nested Exception&#xA;&#xA;Exception: System.ArgumentNullException Message: Value cannot be null.&#xA;Parameter name: value Source: Newtonsoft.Json&#xA;    at Newtonsoft.Json.Linq.Extensions.Value[T,U](IEnumerable`1 value)&#xA;    at Sitecore.Commerce.Engine.Connect.DataProvider.ReadOnlyCatalogDataProvider.c.b__7_0(JToken x)&#xA;    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)&#xA;    at Sitecore.Commerce.Engine.Connect.DataProvider.ReadOnlyCatalogDataProvider.GetItemVersions(ItemDefinition item, CallContext context)&#xA;    at Sitecore.Data.DataProviders.DataProvider.GetItemVersions(ItemDefinition item, CallContext context, DataProviderCollection providers)&#xA;    at Sitecore.Data.DataSource.LoadVersions(ItemDefinition definition, Language language)&#xA;    at Sitecore.Data.DataSource.GetVersions(ItemInformation itemInformation, Language language)&#xA;    at Sitecore.Data.DataSource.GetLatestVersion(ItemInformation itemInformation, Language language)&#xA;    at Sitecore.Data.DataSource.GetItemData(ID itemID, Language language, Version version)    &#xA;    at Sitecore.Nexus.Data.DataCommands.GetItemCommand.GetItem(ID , Language, Version , Database )    &#xA;    at Sitecore.Nexus.Data.DataCommands.GetItemCommand.Execute(ID , Language, Version , Database )    &#xA;    at Sitecore.Data.Engines.DataCommands.GetItemCommand.DoExecute()    &#xA;    at Sitecore.Data.Engines.EngineCommand`2.Execute()    &#xA;    at Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language language, Version version, Database database)    &#xA;    at Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language language, Version version, Database database, SecurityCheck securityCheck)    &#xA;    at Sitecore.ContentTesting.Pipelines.ItemProvider.GetItem.GetItemUnderTestProcessor.Process(GetItemArgs args)    &#xA;    at (Object , Object )&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DPLLr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DPLLr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="70" LastEditDate="2019-08-19T12:07:48.330" LastActivityDate="2019-08-24T14:19:25.423" Title="Error when I click on some of the products" Tags="|sitecore-commerce|commerce-catalog|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20565" PostTypeId="1" AcceptedAnswerId="20566" CreationDate="2019-08-19T13:05:59.070" Score="2" ViewCount="814" Body="&lt;p&gt;We are currently using Azure DevOps to deploy our Sitecore 9.1.1 and 9.2 solutions to Azure. In Azure DevOps you have the option of &quot;leaving the App_Data&quot; folder alone during deployment, i.e. not overwrite it. We currently use this option.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, this also means that you will accumulate a large amount of log-files and diagnostics files over time, which as far as I understand, can slow down deployments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any Sitecore best practice in this area - should you leave the App_Data folder intact or clean it up on every deploy (assuming you include your license file and other must-have stuff in the App_Data folder, in every deploy)? &lt;/p&gt;&#xA;" OwnerUserId="3416" LastActivityDate="2019-08-19T13:46:30.050" Title="Sitecore PaaS best pratice for App_Data" Tags="|paas|deployment|logging|azure-devops|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20566" PostTypeId="2" ParentId="20565" CreationDate="2019-08-19T13:46:30.050" Score="4" Body="&lt;p&gt;There are automatic cleanup tasks in place to deal with that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically if you look under &lt;code&gt;&amp;lt;scheduling&amp;gt;&lt;/code&gt; in a default &lt;code&gt;Sitecore.config&lt;/code&gt;, you will find these.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;Sitecore.Tasks.UrlAgent&quot; method=&quot;Run&quot; interval=&quot;00:15:00&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;url&quot;&amp;gt;/sitecore/service/keepalive.aspx&amp;lt;/param&amp;gt;&#xA;  &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&amp;lt;!-- Agent to process tasks from the task database (TaskDatabase) --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.TaskDatabaseAgent&quot; method=&quot;Run&quot; interval=&quot;00:10:00&quot; /&amp;gt;&#xA;&amp;lt;!-- Agent to clean up client data --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.CompactClientDataAgent&quot; method=&quot;Run&quot; interval=&quot;04:00:00&quot; /&amp;gt;&#xA;&amp;lt;!-- Agent to clean up publishing queue --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.CleanupPublishQueue, Sitecore.Kernel&quot; method=&quot;Run&quot; interval=&quot;04:00:00&quot;&amp;gt;&#xA;  &amp;lt;DaysToKeep&amp;gt;30&amp;lt;/DaysToKeep&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&amp;lt;!-- Agent that cleans up the event queue.&#xA;      The length of time that the EventQueue information should be kept.&#xA;      If both options are specified, IntervalToKeep is used.&#xA;      Supported options:&#xA;      DaysToKeep = The number of days that the EventQueue information should be kept. Example:&amp;lt;DaysToKeep&amp;gt;1&amp;lt;/DaysToKeep&amp;gt;&#xA;      IntervalToKeep = The time in hh:mm:ss that the EventQueue information should be kept. Example: &amp;lt;IntervalToKeep&amp;gt;04:00:00&amp;lt;/IntervalToKeep&amp;gt;&#xA;    --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.CleanupEventQueue, Sitecore.Kernel&quot; method=&quot;Run&quot; interval=&quot;04:00:00&quot;&amp;gt;&#xA;  &amp;lt;DaysToKeep&amp;gt;1&amp;lt;/DaysToKeep&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&amp;lt;!-- Agent to clear the HTML cache periodically --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.HtmlCacheClearAgent&quot; method=&quot;Run&quot; interval=&quot;00:00:00&quot; /&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.HtmlCacheClearAgent&quot; role:require=&quot;ContentManagement&quot;&amp;gt;&#xA;  &amp;lt;patch:attribute name=&quot;interval&quot;&amp;gt;00:05:00&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&amp;lt;!-- Agent to remove expired Client authentication tickets  --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.CleanupAuthenticationTicketsAgent&quot; method=&quot;Run&quot; interval=&quot;04:00:00&quot; /&amp;gt;&#xA;&amp;lt;!-- Agent to publish database periodically --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.PublishAgent&quot; method=&quot;Run&quot; interval=&quot;00:00:00&quot; role:require=&quot;Standalone or Reporting or ContentManagement&quot;&amp;gt;&#xA;  &amp;lt;param desc=&quot;source database&quot;&amp;gt;master&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;target database&quot;&amp;gt;web&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;mode (full or smart or incremental)&quot;&amp;gt;incremental&amp;lt;/param&amp;gt;&#xA;  &amp;lt;param desc=&quot;languages&quot;&amp;gt;en, da&amp;lt;/param&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&amp;lt;!-- Agent to clean up work files --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.CleanupAgent&quot; method=&quot;Run&quot; interval=&quot;06:00:00&quot;&amp;gt;&#xA;  &amp;lt;!-- Specifies files to be cleaned up.&#xA;          If rolling=&quot;true&quot;, [minCount] and [maxCount] will be ignored.&#xA;          [minAge] and [maxAge] must be specified as [days.]hh:mm:ss. The default value&#xA;          of [minAge] is 30 minutes.&#xA;          [strategy]: number of files within hour, day, week, month, year&#xA;          [recursive=true|false]: descend folders?&#xA;      --&amp;gt;&#xA;  &amp;lt;files hint=&quot;raw:AddCommand&quot;&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/logs&quot; pattern=&quot;*log.*.txt&quot; maxAge=&quot;30.00:00:00&quot; /&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/diagnostics&quot; pattern=&quot;*.*&quot; maxAge=&quot;30.00:00:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(dataFolder)/viewstate&quot; pattern=&quot;*.txt&quot; maxAge=&quot;2.00:00:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;remove folder=&quot;$(tempFolder)/diagnostics&quot; pattern=&quot;*.*&quot; maxAge=&quot;00:10:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;remove folder=&quot;/App_Data/MediaCache&quot; pattern=&quot;*.*&quot; maxAge=&quot;90.00:00:00&quot; recursive=&quot;true&quot; /&amp;gt;&#xA;  &amp;lt;/files&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&amp;lt;!-- Agent to dump performance counter data --&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.CounterDumpAgent&quot; method=&quot;Run&quot; interval=&quot;01:00:00&quot;&amp;gt;&#xA;  &amp;lt;DumpFile&amp;gt;$(dataFolder)/diagnostics/counters/counters.{date}.{time}.{processid}.txt&amp;lt;/DumpFile&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&amp;lt;agent type=&quot;Sitecore.Tasks.CloneNotificationsCleanupAgent&quot; method=&quot;Run&quot; interval=&quot;1.00:00:00&quot;&amp;gt;&#xA;  &amp;lt;LogActivity&amp;gt;true&amp;lt;/LogActivity&amp;gt;&#xA;&amp;lt;/agent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, &lt;code&gt;App_Data&lt;/code&gt; is taken care of (look for the &lt;code&gt;CleanupAgent&lt;/code&gt; near the bottom). You may want to adjust some of the retention numbers, but overall the sanitising of &lt;code&gt;App_Data&lt;/code&gt; is automatic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Be aware that the &lt;code&gt;~/App_Data/DeviceDetection&lt;/code&gt; is not being cleaned up by default. You may want to add that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://sitecorecorner.wordpress.com/2019/06/22/cleanup-device-detection-databases/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Cleanup Device Detection Databases&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-19T13:46:30.050" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20567" PostTypeId="2" ParentId="20532" CreationDate="2019-08-19T14:39:31.667" Score="0" Body="&lt;p&gt;In the component where you have the CTA button write the code as:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In c#&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string key = &quot;querystring&quot;;&#xA;  if (!string.IsNullOrEmpty(Request.QueryString[key]))&#xA;    {&#xA;      &amp;lt;a href=&quot;@string.Format(&quot;http://domain.com/{0}={1}&quot;, &quot;?&quot; + key, Request.QueryString[key])&quot;&amp;gt;GO to page2&amp;lt;/a&amp;gt;&#xA;    }&#xA;  else&#xA;    {&#xA;      &amp;lt;a href=&quot;http://domain.com&quot; &amp;gt;GO to page2&amp;lt;/a&amp;gt;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want to handle it with jQuery then:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;get the query string value using jQuery ( you can do it as suggested here: &lt;a href=&quot;https://stackoverflow.com/questions/4656843/jquery-get-querystring-from-url&quot;&gt;https://stackoverflow.com/questions/4656843/jquery-get-querystring-from-url&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Check if the query string value is not null, empty or undefined.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Provide id or class on your CTA link, so that bu the reference of id or class CTA's href attribute can be filled with the complete page url + query string value retrieved in step-1.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2983" LastActivityDate="2019-08-19T14:39:31.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20570" PostTypeId="2" ParentId="20275" CreationDate="2019-08-20T04:02:53.557" Score="1" Body="&lt;p&gt;No, Octopus Deploy cannot and should not be used to produce build artifacts.&#xA;It is designed to manage and deploy build artifacts that come from a variety of other systems. &#xA;I would recommend that you look at building your solution using &lt;a href=&quot;https://azure.microsoft.com/en-au/services/devops/pipelines/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Azure Devops Build Pipelines&lt;/a&gt;. It is very easy to configure and &lt;a href=&quot;https://octopus.com/azure-devops&quot; rel=&quot;nofollow noreferrer&quot;&gt;connect to Octopus Deploy&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-08-20T04:02:53.557" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20571" PostTypeId="2" ParentId="19707" CreationDate="2019-08-20T04:21:24.927" Score="1" Body="&lt;p&gt;Sitecore 9+ PaaS deployments via ARM templates are in my opinion somewhat &quot;secure by default&quot; in that they use a mixture of client certificate authentication and decently strong passwords for all databases and secrets for communication between components. Also the SQL server only allows connections from Azure IP's making it somewhat harder to attack.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My personal list of additional security measures as mentioned on my &lt;a href=&quot;https://medium.com/@markgibbons25/a-go-live-checklist-for-a-new-site-built-with-sitecore-sxa-1b1e7d8f0db7&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt; is as follows:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Limit access to your CM, Processing, Reporting environments using IP restrictions. &lt;/li&gt;&#xA;&lt;li&gt;Consider also changing the SQL server to only accept connections from whitelisted IP's. Note that you'll need to write a script to do that for you as it would be a very time consuming manual process.&lt;/li&gt;&#xA;&lt;li&gt;Limit access to Sitecore pages on CD servers. Either use URL Rewrite rules or deny anonymous access.&lt;/li&gt;&#xA;&lt;li&gt;Set good passwords on all CMS accounts — especially admin accounts.&lt;/li&gt;&#xA;&lt;li&gt;Set good passwords on all SQL user accounts. (As mentioned this is done by default on ARM deployments)&lt;/li&gt;&#xA;&lt;li&gt;Enable HTTPS only connections (e.g. via a URL rewrite rule).&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/a/6190050/1102452&quot;&gt;Set the Secure flag on all cookies&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-08-20T04:21:24.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20574" PostTypeId="1" CreationDate="2019-08-20T05:45:10.853" Score="2" ViewCount="212" Body="&lt;p&gt;We are using Sitecore 9.2 and SxA ...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the requirement for second level menu items to be based on the children of top level items. They don't want to select these second level items manually as pages are created / deleted regularly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I can get the children of the top level items. No problem. But they need certain second level items to appear in more than one menu ... Not sure how to do this as they would need to appear in two places in the tree and we don't want to clone items as these items can then be edited in more than one place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="1347" LastActivityDate="2019-08-20T09:33:54.320" Title="Items in more than one places (not cloned)" Tags="|item-clones|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20576" PostTypeId="2" ParentId="20574" CreationDate="2019-08-20T06:37:58.280" Score="1" Body="&lt;p&gt;&lt;strong&gt;Option one: copy the item&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want the same item to appear in multiple places within content tree, you could copy the item. Copying an item will create a new item with the same content. You would be able to edit the same content in multiple places but the items are not linked together.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Option two: clone the item&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option is to clone an item (as many times as you wish) to any location within the content tree. This is called: content sharing between (sxa) sites using delegated area's.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;If you edit a field in the original item and save it, SXA updates the field in all the cloned items in the delegated area. If you enable the use of the SXA delegated area when you clone items from a master site to a local site, you cannot change these items locally. This is because a clone is an item that is not just a copy of the original item, but one that inherits the field values from the original item. This can be convenient, for example, if you want to reuse blog posts from your master site and do not want to have to add every new blog post manually.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Content editors won't be able to edit a clone but will see a warning containing a link to the source item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QKI3H.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QKI3H.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the full documentation: &lt;a href=&quot;https://doc.sitecore.com/users/sxa/19/sitecore-experience-accelerator/en/share-content-as-a-delegated-area.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/sxa/19/sitecore-experience-accelerator/en/share-content-as-a-delegated-area.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5867" LastEditorUserId="5867" LastEditDate="2019-08-20T09:33:54.320" LastActivityDate="2019-08-20T09:33:54.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20578" PostTypeId="2" ParentId="19840" CreationDate="2019-08-20T07:23:47.437" Score="1" Body="&lt;p&gt;This is built-in to SXA already and should be working if you are using the OOTB SXA search results component. It works using the &lt;code&gt;RegisterSearchEventAttribute&lt;/code&gt; MVC filter on the SXA &lt;code&gt;SearchController&lt;/code&gt; which checks for a query string parameter for the search term. If one exists then it parses the value and will register the Search Page Event as long as the Tracker is initialized correctly. &lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-08-20T07:23:47.437" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20579" PostTypeId="2" ParentId="20026" CreationDate="2019-08-20T08:09:16.120" Score="1" Body="&lt;p&gt;You don't need experimental features but you need Windows containers (as @x3mxray wrote) and an updated Windows. I see that it is failing on windows/servercore:ltsc2019, you can see the compability table at &lt;a href=&quot;https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility&lt;/a&gt; - Windows 10 1809 or newer should work&lt;/p&gt;&#xA;" OwnerUserId="185" LastActivityDate="2019-08-20T08:09:16.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20580" PostTypeId="2" ParentId="11050" CreationDate="2019-08-20T08:12:36.690" Score="0" Body="&lt;p&gt;For item changes, we use include the serialized files in the docker images (we are using Unicorn) and we have another image/container that invokes syncronization when the CM container is reachable&lt;/p&gt;&#xA;" OwnerUserId="185" LastActivityDate="2019-08-20T08:12:36.690" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20581" PostTypeId="2" ParentId="20543" CreationDate="2019-08-20T08:14:42.433" Score="1" Body="&lt;p&gt;When you insert a link via the &lt;code&gt;Hyperlink Manager&lt;/code&gt; you should have an &lt;code&gt;Email&lt;/code&gt; tab. When you use this tab, the correct link &lt;code&gt;&amp;lt;a href=&quot;mailto:info@address.com&quot;&amp;gt;Email me&amp;lt;/a&amp;gt;&lt;/code&gt; will be generated. See also the documentation: &lt;a href=&quot;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/insert-a-link-in-a-text-field.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/insert-a-link-in-a-text-field.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FHKn8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FHKn8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5867" LastActivityDate="2019-08-20T08:14:42.433" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20582" PostTypeId="2" ParentId="14054" CreationDate="2019-08-20T08:34:18.993" Score="0" Body="&lt;p&gt;I got similar error during installation of Sitecore 9.1. My previous installation attempts were unsuccessful due to other errors. While retrying the installation after fixing the earlier errors, I got similar error. I retried the installation by updating the value for Prefix to a new unique value in my XP0-SingleDeveloper.ps1 and the installation script ran successfully.&lt;/p&gt;&#xA;" OwnerUserId="5755" LastActivityDate="2019-08-20T08:34:18.993" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20584" PostTypeId="1" CreationDate="2019-08-20T09:22:36.817" Score="-1" ViewCount="812" Body="&lt;p&gt;I have a model that looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;[SitecoreType(TemplateId = &quot;{guid}&quot;, AutoMap =true)]&#xA;public class EventInfo : GlassBase&#xA;{&#xA;&#xA;    public virtual string PageTitle { get; set; }&#xA;    public virtual DateTime StartDate { get; set; }&#xA;    public virtual DateTime EndDate { get; set; }&#xA;    [SitecoreField(&quot;SmallTileImage&quot;)]&#xA;    public virtual Image SmallTileImage { get; set; }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm using this is my controller to return the item:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;string query = string.Format(&quot;fast:{0}//*[@@templateid='{1}']&quot;, &#xA;    eventfolder, eventTemplate);&#xA;var model = GetDataSourceItem&amp;lt;OtherEvents&amp;gt;();&#xA;model.RecentEvents = context.Query&amp;lt;EventInfo&amp;gt;(query)&#xA;     .Where(x =&amp;gt; x.StartDate &amp;gt;= DateTime.Today).OrderBy(x =&amp;gt; x.StartDate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All the fields are being returned apart from the Image field, I've checked it's in web and master db.  Also if I do this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var ev in Model.RecentEvents)&#xA;{&#xA;    var item = Sitecore.Context.Database.GetItem(ev.Id);&#xA;    Sitecore.Data.Fields.ImageField imgField = ((Sitecore.Data.Fields.ImageField)item.Fields[&quot;SmallTileImage&quot;]);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;on my view then it returns the value as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any ideas?&lt;/p&gt;&#xA;" OwnerUserId="5920" LastEditorUserId="70" LastEditDate="2019-08-20T13:07:12.333" LastActivityDate="2019-08-20T13:07:12.333" Title="Glass Mapper is not returning an Image Field" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20585" PostTypeId="2" ParentId="20584" CreationDate="2019-08-20T11:03:14.920" Score="-4" Body="&lt;p&gt;You need to create a Custom Search Index Field to get the url of your image. While Querying to Solr it will not return any complex Datatype like Image instead you need to create a custom Solr Index Field to get the image field url.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could add a computed field. Here is John West's post about it. Below is a condensed example to get just the URL of the image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a class that implements Sitecore.ContentSearch.ComputedFields.IComputedIndexField.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ImageIndexField : IComputedIndexField&#xA;{&#xA;    public string FieldName { get; set; }&#xA;    public string ReturnType { get; set; }&#xA;&#xA;    public object ComputeFieldValue(IIndexable indexable)&#xA;    {&#xA;        Assert.ArgumentNotNull(indexable, &quot;indexable&quot;);&#xA;        var indexableItem = indexable as SitecoreIndexableItem;&#xA;&#xA;        if (indexableItem == null)&#xA;        {&#xA;            Log.Warn(string.Format(&quot;{0} : unsupported IIndexable type : {1}&quot;, this, indexable.GetType()), this);&#xA;            return null;&#xA;        }&#xA;&#xA;        ImageField img = indexableItem.Item.Fields[&quot;MyImageField&quot;];&#xA;&#xA;        return img == null || img.MediaItem == null ? null : MediaManager.GetMediaUrl(img.MediaItem);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then, add a config include with something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;&amp;lt;contentSearch&amp;gt;&#xA;    &amp;lt;configuration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;        &amp;lt;defaultIndexConfiguration type=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;                &amp;lt;field fieldName=&quot;MyImageFieldUrl&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot;&amp;gt;sc70.Search.ComputedFields.ImageUrlIndexField, sc70&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;        &amp;lt;/defaultIndexConfiguration&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&amp;lt;/contentSearch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that the field name is hard coded above. I'm not sure if it is possible to pass that in as a parameter from the config. Sitecore seems to be creating separate classes for each of their computed fields and using inheritance to get reuse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please refer this post: &lt;a href=&quot;https://stackoverflow.com/questions/19588900/sitecore-index-for-image-type?rq=1&quot;&gt;https://stackoverflow.com/questions/19588900/sitecore-index-for-image-type?rq=1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also refer this article : &lt;a href=&quot;https://jockstothecore.com/media-indexing-approaches/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jockstothecore.com/media-indexing-approaches/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4409" LastActivityDate="2019-08-20T11:03:14.920" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20586" PostTypeId="2" ParentId="20474" CreationDate="2019-08-20T11:18:09.617" Score="2" Body="&lt;p&gt;I put the question to Sitecore support, who came back with three points on this (paraphrasing):&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;'Pure' Sitecore uses only POST and GET&lt;/li&gt;&#xA;&lt;li&gt;Modules may use other verbs, particularly if communicating with a 3rd party (Ex: Social Connected, item WebAPI, WebDAV)&lt;/li&gt;&#xA;&lt;li&gt;Because of the use in modules, &lt;strong&gt;disabling the verbs is not recommended&lt;/strong&gt; (emphasis mine)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My takeaway; Your own mileage may vary depending on the modules you need, but tread lightly if your instance is anything more than basic.&lt;/p&gt;&#xA;" OwnerUserId="19" LastActivityDate="2019-08-20T11:18:09.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20588" PostTypeId="2" ParentId="20416" CreationDate="2019-08-20T11:35:12.880" Score="0" Body="&lt;p&gt;I fixed the issue so just want to post answer if it could help anyone in future.&#xA;1-I logged in as admin.&#xA;2- Published items(Many a time Coveo throws strange error on making any code change so just republish some item and error will be gone).&#xA;3- Rebuilt index and error gone.&lt;/p&gt;&#xA;" OwnerUserId="3022" LastActivityDate="2019-08-20T11:35:12.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20589" PostTypeId="1" AcceptedAnswerId="20590" CreationDate="2019-08-20T12:10:19.300" Score="5" ViewCount="1173" Body="&lt;p&gt;I notice that with SXA there are two types of partial design:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Partial Design&lt;/strong&gt; &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Presentation/Partial Design&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Metadata Partial Design&lt;/strong&gt; &lt;code&gt;/sitecore/templates/Foundation/Experience Accelerator/Presentation/Metadata Partial Design&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Are these treated differently by Sitecore/SXA, or do they just serve the purpose of making a distinction between standard content and metadata?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;It may be related, but I found that the cache settings (under &lt;code&gt;/sitecore/content/MyWebsite/Commerce Websites/Shared Website/Presentation/Cache Settings&lt;/code&gt; seem not to work for certain renderings in a metadata partial design. I can only get these to cache by applying cache settings to the rendering definition items directly.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-08-20T13:03:32.657" Title="SXA differences between Partial Design and Metadata Partial Design" Tags="|sxa|presentation|caching|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20590" PostTypeId="2" ParentId="20589" CreationDate="2019-08-20T13:02:08.470" Score="2" Body="&lt;p&gt;The main difference is how the components are rendered in the experience editor when editing the partial.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When editing a &lt;code&gt;Meta Partial Design&lt;/code&gt;, it uses a special &lt;code&gt;Metadata Snipped Layout.cshtml&lt;/code&gt;. This enabled 3 placeholders that are not available during normal page or standard partial design editing. They are:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;head&lt;/li&gt;&#xA;&lt;li&gt;body-top&lt;/li&gt;&#xA;&lt;li&gt;body-bottom&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It also renders out raw markup to the page to enable you to see what is contained in those sections. When these are rendered out to the page, normally they contain invisible DOM elements or links or meta tags etc...&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Meta Partial Design Uses&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The Meta Partial design should be used for meta data content. So this is where the &lt;code&gt;Browser Title&lt;/code&gt; and &lt;code&gt;Meta Content&lt;/code&gt; components are added. You might use a &lt;code&gt;Meta Html Snippet&lt;/code&gt; component in there to add things like Google Tag Manager code or other tracking code etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/adN77.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/adN77.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Standard Partial Design&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;A standard &lt;code&gt;Partial Design&lt;/code&gt; gives you access to the standard placeholders for an SXA Layout:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;header&lt;/li&gt;&#xA;&lt;li&gt;main&lt;/li&gt;&#xA;&lt;li&gt;footer&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And you can use these to create visible components for each page.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-08-20T13:02:08.470" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20591" PostTypeId="2" ParentId="20589" CreationDate="2019-08-20T13:03:32.657" Score="0" Body="&lt;p&gt;The main difference between the &lt;strong&gt;Partial Design&lt;/strong&gt; and the &lt;strong&gt;Metadata Partial Design&lt;/strong&gt; is the &lt;code&gt;Layout&lt;/code&gt; they use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Partial Design&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Uses &lt;code&gt;Layouts/Foundation/Experience Accelerator/MVC/MVC Layout&lt;/code&gt;. This layout is bound to &lt;code&gt;/Views/SxaLayout/SxaLayout.cshtml&lt;/code&gt; and contains the following placeholders:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;head&lt;/li&gt;&#xA;&lt;li&gt;body-top&lt;/li&gt;&#xA;&lt;li&gt;header&lt;/li&gt;&#xA;&lt;li&gt;main&lt;/li&gt;&#xA;&lt;li&gt;footer&lt;/li&gt;&#xA;&lt;li&gt;body-bottom&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Metadata Partial Design&lt;/strong&gt;&#xA;Uses &lt;code&gt;Layouts/Foundation/Experience Accelerator/Presentation/Metadata Layout&lt;/code&gt;. This layout is bound to &lt;code&gt;/Views/SXA/Metadata Snippet Layout.cshtml&lt;/code&gt; and contains the following placeholders:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;head&lt;/li&gt;&#xA;&lt;li&gt;body-top&lt;/li&gt;&#xA;&lt;li&gt;body-bottom&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="5867" LastActivityDate="2019-08-20T13:03:32.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20594" PostTypeId="1" AcceptedAnswerId="20609" CreationDate="2019-08-20T14:28:21.130" Score="2" ViewCount="315" Body="&lt;p&gt;We are using &lt;code&gt;Sitecore 7 SP1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have renamed a media folder, both its item &amp;amp; display name. The item with the image field still shows the media path with the old name, but somehow the image is displayed in the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I click to browse for the image field, it points to the correct image in the tree. On clicking OK, the correct path then reflects in the image field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried database relinking, clearing cache and also indexing. No luck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a bug?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Before Renaming:&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/k0jnQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/k0jnQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;After Renaming&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/FnTFI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FnTFI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2019-08-21T10:31:09.880" LastActivityDate="2019-08-21T11:00:17.593" Title="Media path not updated after renaming the media item in Sitecore 7" Tags="|media-library|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20595" PostTypeId="1" AcceptedAnswerId="20596" CreationDate="2019-08-20T15:49:27.173" Score="0" ViewCount="156" Body="&lt;p&gt;I'm evaluating the xblog module. Having an example to fallback to &lt;a href=&quot;https://xcentium.com/blog&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt; was nice but I'd like to see it up and running in my local instance. I've noticed a few hardcoded references to things like &lt;code&gt;/sitecore/templates/XBlog/Page&lt;/code&gt; which is in &lt;code&gt;BlogCreator&lt;/code&gt;. Are there any starter template items/renderings for this module? I searched through the repo for &lt;code&gt;*.item&lt;/code&gt;, &lt;code&gt;*.yml&lt;/code&gt; and &lt;code&gt;*.zip&lt;/code&gt; files hoping for some serialized items or a package but didn't find any. Am I missing something like that or is the expectation that items will be created from scratch when using this module?&lt;/p&gt;&#xA;" OwnerUserId="1436" LastEditorUserId="70" LastEditDate="2019-08-20T16:10:37.693" LastActivityDate="2019-08-20T16:10:37.693" Title="XBlog Startup Templates" Tags="|module|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20596" PostTypeId="2" ParentId="20595" CreationDate="2019-08-20T16:09:57.137" Score="3" Body="&lt;p&gt;XBlog is a Sitecore marketplace module and you can download it from this link - &lt;a href=&quot;https://marketplace.sitecore.net/Modules/XBlog.aspx?sc_lang=en&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/XBlog.aspx?sc_lang=en&lt;/a&gt; based on the Sitecore version you are using. You just need to extract the package file to see the Sitecore items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also a document on the same link, which will provide you all the steps to install and configure the module. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the &lt;a href=&quot;https://github.com/XCentium/XBlog&quot; rel=&quot;nofollow noreferrer&quot;&gt;repo&lt;/a&gt; you can download the code base but it will not have the Sitecore items/renderings if you want to sync this with your VS solution, you can simply sync using Unicorn or TDS after installing the package.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the content, yes you need to create it from scratch.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-20T16:09:57.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20597" PostTypeId="1" CreationDate="2019-08-20T17:38:13.153" Score="1" ViewCount="416" Body="&lt;p&gt;Using &lt;code&gt;Lucene&lt;/code&gt;, and &lt;code&gt;content search&lt;/code&gt; I cannot sort items by their name nor custom title field. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The items are imported from a read-only data provider and are successfully indexed (I've inspected it manually) &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The results I get back are semi-in-order but not but incoherent. Without the orderby clause, the items are more in-order than without it which is unusual.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's the simplified code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ProviderSearchContext&#xA;  .GetQueryable&amp;lt;MyCustomSearchResultItem&amp;gt;()&#xA;  .Filter(m =&amp;gt; m.TemplateId == &quot;{SomeGuid}&quot;) &#xA;  .OrderBy(m =&amp;gt; m.Title) &#xA;  .Skip(20 * (Page - 1))&#xA;  .Take(20)   &#xA;  .GetResults() &#xA;&#xA;public class MyCustomSearchResultItem: SearchResultItem {&#xA;        [IndexField(&quot;title&quot;)]&#xA;        public string Title { get; set; }&#xA;}&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4394" LastEditorUserId="2152" LastEditDate="2019-08-21T04:43:39.600" LastActivityDate="2019-08-28T19:44:05.700" Title="OrderBy not being respected for item field when using content search" Tags="|content-search|lucene|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20599" PostTypeId="2" ParentId="20597" CreationDate="2019-08-20T18:09:46.747" Score="2" Body="&lt;p&gt;Lucene uses tokenization for the fields. Since most string fields have spaces so it will not work with OrderBy without proper configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the Lucene configuration file's &lt;code&gt;fieldNames&lt;/code&gt; block section, you will need to make sure the field you are using for &quot;ordering by&quot; is specified. In addition, an analyzer is needed to ensure it is added to the index documents correctly. You can specify a custom analyzer as a child of the field element in the &lt;code&gt;fieldMap&lt;/code&gt; section. it will look like this - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;   &amp;lt;field fieldName=&quot;sortingField&quot; storageType=&quot;YES&quot; indexType=&quot;UN_TOKENIZED&quot;    vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;       &amp;lt;analyzer type=&quot;Sitecore.ContentSearch.LuceneProvider.Analyzers.LowerCaseKeywordAnalyzer, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&#xA;   &amp;lt;/field&amp;gt;&#xA;   ...&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;the indexType value should be &lt;code&gt;“UN_TOKENIZED”&lt;/code&gt;, to make sure OrderBy clause to use the entire string for ordering and not the tokens.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-20T18:09:46.747" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="20600" PostTypeId="1" AcceptedAnswerId="20603" CreationDate="2019-08-20T22:25:04.690" Score="1" ViewCount="1154" Body="&lt;p&gt;I'm trying to create a handler to intercept index.cfm files, as we're migrating from an old ColdFusion system to Sitecore. I've designated the handler like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;handlers&amp;gt;&#xA;        &amp;lt;add verb=&quot;*&quot; path=&quot;index.cfm&quot; type=&quot;Foundation.Core.Pipelines.LegacyItemResolver, Foundation.Core&quot; name=&quot;Foundation.Core.Pipelines.LegacyItemResolver&quot; xdt:Locator=&quot;Match(path)&quot; xdt:Transform=&quot;InsertIfMissing&quot; /&amp;gt;&#xA;    &amp;lt;/handlers&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then my class definition is this, working off the modeling I see for the MediaRequestHandler in dotPeek:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Foundation.Core.Pipelines &#xA;{&#xA;    public class LegacyItemResolver : IHttpHandler, System.Web.SessionState.IRequiresSessionState {&#xA;        public void ProcessRequest(HttpContext context) &#xA;        {&#xA;            SiteContext site = Sitecore.Context.Site;&#xA;        }&#xA;&#xA;        public bool IsReusable =&amp;gt; true;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The call fires in the debugger, but the Sitecore.Context comes back as null. I added the session state inherit because someone suggested it would enable the Sitecore.Context, but that's not happening. I figure I need to use the handler via web.config to register the index.cfm name/type in IIS, but I need to access the Sitecore context so I can take an ID parameter and do a search for the legacy ID and redirect the user to the correct URL in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What's the best way to get access to the Sitecore context at this point?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="135" LastEditDate="2019-08-21T02:25:54.817" LastActivityDate="2019-08-21T16:17:05.140" Title="Sitecore Context null in web.config handler" Tags="|configuration|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20601" PostTypeId="2" ParentId="20600" CreationDate="2019-08-21T00:19:15.530" Score="0" Body="&lt;p&gt;I had been using Sitecore.Context to do some checks for sites, but since only certain links will call this old index.cfm, based on what Mark commented, I didn't need that. That left me with wanting to determine which database to use, but since Context.Database wouldn't work, I used this &quot;hack&quot; way to determine which to use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ConfigurationManager.AppSettings[&quot;role:define&quot;];&#xA;string database = scRoles.Contains(&quot;ContentDelivery&quot;) ? &quot;web&quot; : &quot;master&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since I really only use the web database in CD mode, this will work for this case. After that, using the Sitecore search APIs to find the legacy ID field and look things up based on that.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-08-21T00:19:15.530" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20603" PostTypeId="2" ParentId="20600" CreationDate="2019-08-21T02:30:28.443" Score="6" Body="&lt;p&gt;The reason there is no Sitecore Context available is because the handler you have added is an IIS Handler, and as mentioned in the comments, runs before any Sitecore Context has been resolved. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You also seem to have found an alternative solution, but to create a handler which has access to Sitecore Context you need to register a &lt;code&gt;&amp;lt;customHandler&amp;gt;&lt;/code&gt; like so: &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;customHandlers&amp;gt;&#xA;    &amp;lt;handler trigger=&quot;index.cfm&quot; handler=&quot;cfm_redirect.ashx&quot;/&amp;gt;&#xA;  &amp;lt;/customHandlers&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then add a handler in &lt;code&gt;web.config&lt;/code&gt;, ensuring that the &lt;code&gt;path&lt;/code&gt; attribute matches the &lt;code&gt;handler&lt;/code&gt; attribute you set above:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;  &amp;lt;handlers&amp;gt;&#xA;    &amp;lt;add verb=&quot;*&quot; path=&quot;cfm_redirect.ashx&quot; type=&quot;Foundation.Core.Pipelines.LegacyItemResolver, Foundation.Core&quot; name=&quot;Foundation.Core.Pipelines.LegacyItemResolver&quot; /&amp;gt;&#xA;  &amp;lt;/handlers&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can then go ahead and implement the &lt;code&gt;IHttpHandler&lt;/code&gt; as you have already done. This is similar to how the media, icon and various other handlers are configured in Sitecore.&lt;/p&gt;&#xA;" OwnerUserId="135" LastEditorUserId="135" LastEditDate="2019-08-21T16:17:05.140" LastActivityDate="2019-08-21T16:17:05.140" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20605" PostTypeId="1" CreationDate="2019-08-21T06:57:58.363" Score="-1" ViewCount="429" Body="&lt;p&gt;What are the default SXA modules available for CMS user to build website?  &lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-08-21T07:24:50.277" Title="What are the default SXA modules available?" Tags="|sxa|" AnswerCount="2" CommentCount="0" ClosedDate="2019-08-21T11:34:02.560" ContentLicense="CC BY-SA 4.0" />
  <row Id="20606" PostTypeId="2" ParentId="20605" CreationDate="2019-08-21T07:15:30.650" Score="3" Body="&lt;p&gt;When creating a new site within your tenant, you can (de)select the modules you wish to add to your site. These are the default modules available (SXA 1.9) when adding a new site:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wpX9D.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wpX9D.png&quot; alt=&quot;Create a new SXA site&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After your site was created you can always add modules which were not selected when the site was created. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Add modules to tenants and sites using context menu script (Add Tenant/Site Module) or bulk module installer. When you create a new SXA tenant or site, the wizard lets you select the modules that you want to include. When you have an existing tenant or site and want to add modules later, you can add modules to a specific tenant or site or use the SXA bulk module installer to install modules for multiple tenants/sites.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Please look at the documenation: &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/19/sitecore-experience-accelerator/en/add-a-module-to-an-existing-tenant-or-site.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/19/sitecore-experience-accelerator/en/add-a-module-to-an-existing-tenant-or-site.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5867" LastActivityDate="2019-08-21T07:15:30.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20607" PostTypeId="2" ParentId="20605" CreationDate="2019-08-21T07:24:50.277" Score="2" Body="&lt;p&gt;In addition, you will not get all the modules in the module tab. Default SXA modules include the not only rendering sections, but JSON site setup, and grid systems as well. SXA modules are stored in the Feature or Foundation folder under the system node - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/System/Settings/Foundation/Experience Accelerator/&#xA;&#xA;/sitecore/System/Settings/Feature/Experience Accelerator/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A9rgz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A9rgz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AkbGD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AkbGD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-21T07:24:50.277" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20609" PostTypeId="2" ParentId="20594" CreationDate="2019-08-21T11:00:17.593" Score="3" Body="&lt;p&gt;It's normal behaviour (and likely one of the reasons why this was later changed).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Back then, Sitecore stored a media item with an XML structure that looked like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;image mediaid=&quot;{D7F0E23E-5B28-4CDF-B75B-B9C9DE0C3088}&quot; mediapath=&quot;/Project/Components/2 Column Portfolio Listing&quot; src=&quot;~/media/D7F0E23E5B284CDFB75BB9C9DE0C3088.ashx&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it included a Media Path.  Renaming the Media Item would not forcibly go to all Image fields that referred the Media Item and update this path. But by and large, when generating the link, the updated information (and therefore path) would take effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't know exactly when this changed, but Sitecore 7.2 doesn't store it like this. It stores the media id only; like &lt;code&gt;&amp;lt;image mediaid=&quot;{A0C1DCFD-3D90-478F-864F-D448D9467ABB}&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-21T11:00:17.593" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20611" PostTypeId="1" CreationDate="2019-08-21T15:21:17.100" Score="0" ViewCount="165" Body="&lt;p&gt;Is there a way I can set a custom NPM repository to be used by JSS when running a &lt;code&gt;jss deploy&lt;/code&gt;? I have a package dependency which is hosted in a dev repository (for the moment) and this is breaking my &lt;code&gt;jss deploy&lt;/code&gt;...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;cross-env-shell PUBLIC_URL=$npm_package_config_sitecoreDistPath &quot;react-scripts build&quot;&#xA;&#xA;Creating an optimized production build...&#xA;Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`&#xA;Failed to compile.&#xA;Cannot find module: '@hsantos/hsantos-module'. Make sure this package is installed.&#xA;You can install this package by running: npm install @hsantos/hsantos-module.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, when I run &lt;code&gt;npm config set @hsantos:registry https://npm.dev.cloud.hsantos.com&lt;/code&gt; + &lt;code&gt;npm install @hsantos/hsantos-module&lt;/code&gt; the module is installed properly...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That leads me to think that during the &lt;code&gt;jss deploy&lt;/code&gt; somehow the &lt;code&gt;npm install&lt;/code&gt; is called but my custom NPM repository &lt;code&gt;https://npm.dev.cloud.hsantos.com&lt;/code&gt; is not being taken into account.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="3866" LastEditDate="2019-08-21T15:29:20.510" LastActivityDate="2019-08-21T16:09:51.043" Title="Can I set a custom NPM repository to be used by JSS?" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20613" PostTypeId="2" ParentId="20611" CreationDate="2019-08-21T15:58:41.867" Score="3" Body="&lt;p&gt;Neither &lt;code&gt;jss deploy app&lt;/code&gt; nor &lt;code&gt;jss deploy files&lt;/code&gt; run &lt;code&gt;npm install&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;jss deploy app&lt;/code&gt; is an alias for &lt;code&gt;jss deploy items&lt;/code&gt; and &lt;code&gt;jss deploy files&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;jss deploy files&lt;/code&gt; will, by default, run &lt;code&gt;jss build&lt;/code&gt; before copying files to a local Sitecore instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;jss build&lt;/code&gt; will, in turn, effectively run &lt;code&gt;npm run build:client&lt;/code&gt;, which runs &lt;code&gt;react-scripts build&lt;/code&gt; and is seemingly where your error is being generated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You may want to try troubleshooting by directly running &lt;code&gt;npm run build:client&lt;/code&gt; and working your way from there. The &lt;code&gt;cannot find module&lt;/code&gt; error message you're receiving is originating from webpack when it is trying to build your app bundle.&lt;/p&gt;&#xA;" OwnerUserId="319" LastEditorUserId="319" LastEditDate="2019-08-21T16:09:51.043" LastActivityDate="2019-08-21T16:09:51.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20614" PostTypeId="1" CreationDate="2019-08-21T16:24:44.550" Score="1" ViewCount="389" Body="&lt;p&gt;I am writing unit test to read from &lt;code&gt;ContentSearchManager.GetIndex&lt;/code&gt; method. At line &lt;code&gt;ContentSearchManager.GetIndex(indexableItem)&lt;/code&gt; in below code :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        Sitecore.Context.SetActiveSite(&quot;&amp;lt;&amp;lt;Site name&amp;gt;&amp;gt;&quot;);&#xA;&#xA;        // Pull the start path of the site&#xA;        string startPath = Sitecore.Context.Site.StartPath;&#xA;&#xA;        // Pull the database name&#xA;        string databaseName = Sitecore.Context.Site.Database.Name;&#xA;&#xA;        // Load the web database, and get item&#xA;        var db = Sitecore.Data.Database.GetDatabase(&quot;web&quot;);&#xA;&#xA;        var item = db.GetItem(&quot;&amp;lt;&amp;lt;bucket item&amp;gt;&amp;gt;&quot;);&#xA;        var indexableItem = (SitecoreIndexableItem)item;&#xA;        var index = ContentSearchManager.GetIndex(indexableItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am getting error &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Service Sitecore.Abstractions.ICorePipeline was not registered in container&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Complete stack trace message is :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;at Sitecore.ContentSearch.Abstractions.ObjectLocator.GetInstance[TService]()&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetContextIndexName(IIndexable indexable)&#xA;   at Sitecore.ContentSearch.ContentSearchManager.GetIndex(IIndexable indexable)&#xA;   at MyRadiometerTest.Services.SimpleTests.asset_that_search_working() &#xA;   in C:\CM\Project\RadiometerUnitTest\MyRadiometerTest\Services\ContextTest.cs:line 70&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please suggest if anyone has fixed such issue or has idea about it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Chandana&lt;/p&gt;&#xA;" OwnerUserId="1754" LastEditorUserId="70" LastEditDate="2019-08-22T13:24:35.653" LastActivityDate="2021-03-06T09:03:40.380" Title="Service Sitecore.Abstractions.ICorePipeline was not registered in container" Tags="|unit-testing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20615" PostTypeId="1" AcceptedAnswerId="20617" CreationDate="2019-08-21T17:27:51.580" Score="1" ViewCount="207" Body="&lt;p&gt;I'm still pretty new to JSS/Sitecore and am trying to wrap my head around some of the concepts. One thing I don't understand is if its possible to create new layouts/templates on an existing app and deploy just the content of the new layouts/templates while not overwriting the existing content on the old layouts/templates.&lt;/p&gt;&#xA;" OwnerUserId="5931" LastActivityDate="2019-08-22T07:35:12.617" Title="Adding new components/content to existing application" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20616" PostTypeId="1" CreationDate="2019-08-21T17:30:16.720" Score="4" ViewCount="195" Body="&lt;p&gt;I'm trying to inherit insert options from two templates. I created a template item and set both of the templates as base templates in the Data section. However, only the first base templates insert options are available.&lt;/p&gt;&#xA;" OwnerUserId="5674" LastActivityDate="2019-08-21T17:30:16.720" Title="Is it possible to inherit insert options from multiple base templates?" Tags="|templates|inheritance|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20617" PostTypeId="2" ParentId="20615" CreationDate="2019-08-21T19:51:23.957" Score="1" Body="&lt;p&gt;By the default, deploy will not override templates or layouts imported previously (unless used with &lt;code&gt;-w&lt;/code&gt; option). You can also try:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;jss deploy template&lt;/code&gt; - can be used when you want to scaffolds out a new template in Sitecore or modify existing one (e.g.: to add fields or change field types)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;jss deploy component&lt;/code&gt; - scaffolds out a new component (rendering item, datasource template, and allowed placeholder settings) in Sitecore&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;For more details take look here: &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/cli&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/cli&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-08-22T07:35:12.617" LastActivityDate="2019-08-22T07:35:12.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20618" PostTypeId="2" ParentId="20257" CreationDate="2019-08-22T01:46:55.447" Score="0" Body="&lt;p&gt;This happens when we try to execute a minion from authoring commerce engine role and that minion is defined for minions environment. During execution of request authoring role has to load the minions environment. Environment loading process starts execution of all minions in that environment. Once the environment is loaded authoring role than executes the minion request that was initially triggered. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution will be that always run minion from the commerce engine role that is configured to use the minions environment.&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-08-22T01:46:55.447" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20619" PostTypeId="2" ParentId="18808" CreationDate="2019-08-22T02:30:40.017" Score="5" Body="&lt;p&gt;TIL that Visual Studio 2017 introduced a Solution Explorer toolbar to switch between the classic &quot;&lt;em&gt;Solution&lt;/em&gt;&quot; view and to a &quot;&lt;em&gt;Source Files&lt;/em&gt;&quot; view which shows the files and folder structure which is on disk.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From the Solution Explorer toolbar, click the &lt;code&gt;Switch Views&lt;/code&gt; toolbar icon and select &lt;code&gt;Folder View&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gK6Ix.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gK6Ix.png&quot; alt=&quot;Folder View&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can now see the repository as it is on disk. Expand the folders, find the serialization files, you can now right click each &lt;code&gt;yml&lt;/code&gt; file and select &lt;code&gt;View History&lt;/code&gt;. You can then double click each entry to view the file at that moment in time, or select 2 entries to compare the differences:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ram9M.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ram9M.png&quot; alt=&quot;View History&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is extremely handy in Helix based projects and for viewing files not included in the normal Visual Studio Solution, such as Unicorn files and build files for example.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2019-08-22T02:30:40.017" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20620" PostTypeId="2" ParentId="19925" CreationDate="2019-08-22T04:41:33.543" Score="0" Body="&lt;p&gt;I am using Sitecore 8.2 update 5 and Sitecore.Abstractions dll was not present in the bin. We can add Sitecore nuget source&lt;a href=&quot;https://i.stack.imgur.com/GosGF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GosGF.png&quot; alt=&quot;Sitecore nuget package source&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And install it from there&lt;/p&gt;&#xA;" OwnerUserId="1754" LastActivityDate="2019-08-22T04:41:33.543" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20621" PostTypeId="2" ParentId="20549" CreationDate="2019-08-22T07:27:59.007" Score="0" Body="&lt;p&gt;The &lt;code&gt;NegotiateLanguageFilter&lt;/code&gt; appears to be an MVC action filter that appends the current Sitecore Context Language into the Content Headers of the response.  The effect of this is that whatever code is processing the response will &quot;know&quot; the language/culture of the response body.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The actual code in the method mentioned looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public override void OnActionExecuted(HttpActionExecutedContext actionExecutedContext)&#xA;{&#xA;    base.OnActionExecuted(actionExecutedContext);&#xA;    if (actionExecutedContext != null)&#xA;    {&#xA;        actionExecutedContext.Response.Content.Headers.Add(&quot;Content-Language&quot;, Context.Language.Name);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, it's unremarkable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The candidates for a NRE are probably:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;actionExecutedContext.Response.Content.Headers&lt;/code&gt; == &lt;code&gt;null&lt;/code&gt;  (I doubt this is possible)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Context.Language&lt;/code&gt; == &lt;code&gt;null&lt;/code&gt; (again, I feel like this is only barely possible)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Context.Language.Name&lt;/code&gt; == &lt;code&gt;null&lt;/code&gt; (and therefore the act of adding the header is the thing that's failing)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;My money is on the last one - go check the configured languages in Control Panel and delete any you don't need.  Also check the database to see if there are language codes that are in there that have become orphaned from the language in Sitecore.  If there are you need to add the language to Sitecore, then remove it again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use Control Panel, not just the System tree as the Control Panel way will clean up all the content for you when you delete the Language, where the tree will not.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2019-08-22T07:27:59.007" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20624" PostTypeId="1" CreationDate="2019-08-22T14:44:53.263" Score="0" ViewCount="303" Body="&lt;p&gt;My typical build-out for Glass and fluent config is to use an interface and map file (using SitecoreGlassMap) for modeling, but I know if I need to use the model to add data to Sitecore I can't use the interface type. From a best practice standpoint, if my model is to be used for adding content, should I map only to the concrete class? For example, if I have this interface:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface ITemplate {&#xA;  string Field { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then I have this mapping:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TemplateMap : SitecoreGlassMap&amp;lt;ITemplate&amp;gt; {&#xA;  public override void Configure() =&amp;gt;&#xA;    Map(config =&amp;gt; {&#xA;      config.Field(f =&amp;gt; f.Field).FieldName(&quot;Field&quot;);&#xA;    });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If I need to add a concrete class of Template like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Template : ITemplate {&#xA;  public string Field { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Will the fluent mapping capture both the interface and the concrete class? Or would I need to reconfigure the map to be &lt;code&gt;SitecoreGlassMap&amp;lt;Template&amp;gt;&lt;/code&gt; instead, and I should just use that for all my references to this template? Basically, do I need to go back through my code and change any &lt;code&gt;ITemplate item = GetItem&amp;lt;ITemplate&amp;gt;()&lt;/code&gt; reference to use the concrete class instead? I suppose I could create a second mapping file for the concrete class, but that seems redundant and inefficient.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2020-01-19T22:01:15.123" Title="Using Glass to add content with fluent config - map to interface and concrete class" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20625" PostTypeId="1" CreationDate="2019-08-22T15:01:14.750" Score="2" ViewCount="76" Body="&lt;p&gt;As the title says.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you enable caching for a rendering in SXA using a CacheSetting item e.g. under&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;/sitecore/content/My Client/EMEA/My Website/Presentation/Cache Settings&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Will this prevent personalization from working for this rendering? The rendering in question is the SXA &lt;code&gt;Link List&lt;/code&gt; and in some places I need to personalize it and in others not. I'd like to cache where possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 9 and SXA 1.8.&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-08-22T15:01:14.750" Title="If you add a rendering to a SXA cache settings item will it break personalization" Tags="|sxa|personalization|caching|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20626" PostTypeId="1" AcceptedAnswerId="22078" CreationDate="2019-08-22T15:06:25.077" Score="1" ViewCount="340" Body="&lt;p&gt;When I click on the &quot;&lt;strong&gt;insert link&lt;/strong&gt;&quot; of the general link field, then the complete tree is not opened (as shown in the screenshot below), due to which I am not able to select the item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WeBrR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WeBrR.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I checked the console of the browser then I noticed that the following API is giving 200 status but not returning the item in &lt;strong&gt;item[]&lt;/strong&gt; (see screenshot above)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://&amp;lt;mydomain&amp;gt;/-/item/v1/sitecore/shell?sc_itemid={11111111-1111-1111-1111-111111111111}&amp;amp;scope=c&amp;amp;sc_database=master&amp;amp;language=en&amp;amp;fields=__Hidden&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am not sure what is the fault? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Checked that item api is enabled&lt;/li&gt;&#xA;&lt;li&gt;Logs have no clue regarding this issue&lt;/li&gt;&#xA;&lt;li&gt;My project has no code where item api is extended.&lt;/li&gt;&#xA;&lt;li&gt;All required templates and are present&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2983" LastActivityDate="2019-09-16T08:26:32.130" Title="Sitecore item API for shell site not returning the content" Tags="|sitecore-api|links|item-web-api|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20628" PostTypeId="1" AcceptedAnswerId="22079" CreationDate="2019-08-22T16:11:29.703" Score="0" ViewCount="353" Body="&lt;p&gt;On the &lt;code&gt;IdentityServer&lt;/code&gt; I need to access the &lt;code&gt;Sitecore.IdentityServer.Host.xml&lt;/code&gt; file to update the values of &lt;code&gt;AllowedCorsOriginsGroup1&lt;/code&gt; and  &lt;code&gt;PasswordRecoveryUrl&lt;/code&gt; to be the new DNS for the CM instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is easy to do on &lt;code&gt;XP0&lt;/code&gt; locally. But when accessing the &lt;code&gt;IdentityServer&lt;/code&gt; App Service in Azure the &lt;code&gt;wwwroot&lt;/code&gt; is empty. What directory is the &lt;code&gt;Sitecore.IdentityServer.Host.xml&lt;/code&gt; file located and the rest of the &lt;code&gt;IdentityServer&lt;/code&gt; .NET Core app? &lt;/p&gt;&#xA;" OwnerUserId="145" LastEditorUserId="145" LastEditDate="2019-09-16T09:56:29.207" LastActivityDate="2019-09-16T10:05:27.270" Title="Sitecore Identity Service in the Azure App Service is empty" Tags="|azure|identity-server|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20632" PostTypeId="1" AcceptedAnswerId="20633" CreationDate="2019-08-22T19:47:53.160" Score="0" ViewCount="84" Body="&lt;p&gt;When I add a Coveo Numeric Facet Range facet to my search page, it displays a list of values, not a list of ranges as I would expect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/xGE8r.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/xGE8r.png&quot; alt=&quot;2019-08-22_1231&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to get it to show ranges instead of individual values?&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="73" LastEditDate="2019-08-25T12:29:49.440" LastActivityDate="2019-08-25T12:29:49.440" Title="Why doesn't my range facet work?" Tags="|coveo|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20633" PostTypeId="2" ParentId="20632" CreationDate="2019-08-22T19:47:53.160" Score="0" Body="&lt;p&gt;If you're using a computed field, the field must be configured as a numeric type to use the numeric facet range facets.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this, update the &lt;code&gt;ReturnType&lt;/code&gt; on the computed field's class to return &lt;code&gt;&quot;Number&quot;&lt;/code&gt; and it will work.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-08-22T19:47:53.160" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20634" PostTypeId="2" ParentId="20624" CreationDate="2019-08-22T20:12:36.997" Score="1" Body="&lt;p&gt;I've experimented with this a bit, and the answer appears to be changing the type in SitecoreGlassMap to the concrete class. So continuing the example above, the mapping would be:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class TemplateMap : SitecoreGlassMap&amp;lt;Template&amp;gt; {&#xA;  public override void Configure() =&amp;gt;&#xA;    Map(config =&amp;gt; {&#xA;      config.Field(f =&amp;gt; f.Field).FieldName(&quot;Field&quot;);&#xA;    });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The you can still get the item with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ITemplate item = SitecoreService.GetItem&amp;lt;ITemplate&amp;gt;(new GetItemByIdOptions(Guid.Parse(&quot;{}&quot;)));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And create a new item with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ITemplate newItem = new Template {&#xA;  Name = &quot;Test Item&quot;&#xA;};&#xA;&#xA;using (new SecurityDisabler()) {&#xA;  ITemplate createOrg = SitecoreService.CreateItem&amp;lt;ITemplate&amp;gt;(new CreateByModelOptions {&#xA;    Model = newItem,&#xA;    Parent = item&#xA;  });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It's a pretty good solution...at least there's no need for two maps or using attribute configuration on the concrete class to make the mapping work right.&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-08-22T20:12:36.997" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20635" PostTypeId="1" AcceptedAnswerId="20636" CreationDate="2019-08-22T20:14:59.327" Score="3" ViewCount="652" Body="&lt;p&gt;I am using a very simple workflow with get approval and waiting for approval and approved&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My problem is, that we have some large releases of content and sometimes some content is not allowed to get released. So I need the possibility to only get the approval for some specific pages and that all related Items are also moving to waiting for approval for this page/s. Because to see which items are related to my content in the workbox is not possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I was hoping there is a setting or something like this that I cann approve related Items.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-08-24T10:10:43.157" Title="Sitecore workflow approve related items" Tags="|workflow|workbox|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20636" PostTypeId="2" ParentId="20635" CreationDate="2019-08-23T01:11:12.250" Score="4" Body="&lt;p&gt;If you want to publish related item of page so in &quot;Auto Publish&quot; action in parameters field, you can set &quot;related=1&quot; which will publish related items as mentioned in this link &lt;a href=&quot;http://sitecorepromenade.blogspot.com/2015/10/workflow-with-auto-publish-related-items.html?m=1&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://sitecorepromenade.blogspot.com/2015/10/workflow-with-auto-publish-related-items.html?m=1&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In case if you want to publish item manually and you want to approve all related item, this link &lt;a href=&quot;https://pageditor.wordpress.com/2014/11/14/approving-related-items-in-a-workflow/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://pageditor.wordpress.com/2014/11/14/approving-related-items-in-a-workflow/&lt;/a&gt; could be your possibly solution&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-08-24T10:10:43.157" LastActivityDate="2019-08-24T10:10:43.157" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20638" PostTypeId="1" AcceptedAnswerId="20640" CreationDate="2019-08-23T03:28:11.493" Score="2" ViewCount="629" Body="&lt;p&gt;I have to map a class with more than one template in GlassMapper. My code is like below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{6173F07E-BC5B-4409-A75A-DF1B0D117C41}&quot;, AutoMap = true, EnforceTemplateGlass.Mapper.Sc.Configuration.SitecoreEnforceTemplate.Template)] &#xA;&#xA;public class ResourceListings : MSEntity{&#xA; public virtual ID Id { get; set; }&#xA;        [SitecoreField(&quot;Title&quot;)]&#xA;        public virtual string Title { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried to pass more than one Template Id using pipe like &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;[SitecoreType(TemplateId = &quot;{6173F07E-BC5B-4409-A75A-DF1B0D117C41}|{3175F07E-BC5B-5409-A75A-CF1B0b117C41}&quot;&lt;/code&gt;,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in above attribute but it throws error.&#xA;Is there a way to achieve the same.&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="73" LastEditDate="2019-08-23T04:19:42.620" LastActivityDate="2019-08-23T10:03:04.677" Title="Mapping Class with multiple Sitecore templates in [SitecoreType()] Attribute" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20640" PostTypeId="2" ParentId="20638" CreationDate="2019-08-23T06:35:43.237" Score="3" Body="&lt;p&gt;As per my knowledge there is no method to achieve your functionality in this way, only way is to use the inheritance by creating multiple class/interface. Since C# doesn't support multiple inheritance in class but you can achieve this using interface. I have never use multilevel inheritance for this but I guess that is also an option for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of interface, if I have a content page that inherits my IPageTitles template and an IMetadata template then my Content interface can inherit both:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public interface Content : IPageTitles, IMetadata{&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and each Interface will have its own [SitecoreType()] Attribute.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;An alternative is to use a single class model. The model contains just the properties we need to render. The model is also responsible for retrieving the ancestor items removing the need for any additional code. &lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-08-23T10:03:04.677" LastActivityDate="2019-08-23T10:03:04.677" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20641" PostTypeId="1" AcceptedAnswerId="22167" CreationDate="2019-08-23T06:58:45.790" Score="1" ViewCount="1387" Body="&lt;p&gt;Using &lt;code&gt;Sitecore 9.1&lt;/code&gt; Trying to get &lt;code&gt;FXM&lt;/code&gt; working and seeing the &lt;code&gt;Cors policy error&lt;/code&gt; (which I thought I had fixed previously but nevermind). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have set the &lt;code&gt;AllowedOrigins&lt;/code&gt; domains in a patch file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also tried updating the web.config to include the verbs:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Ldsmd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ldsmd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had also tried to tie this into a location element but this just caused the server to 500 error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;location path=&quot;sitecore/api/ssc/Beacon/Service/beacon&quot;&amp;gt;&#xA;      &amp;lt;system.web&amp;gt;&#xA;          &amp;lt;httpProtocol&amp;gt;&#xA;              &amp;lt;customHeaders&amp;gt;&#xA;                  &amp;lt;add name=&quot;Access-Control-Allow-Headers&quot; value=&quot;Origin, X-Requested-With, Content-Type, Accept&quot; /&amp;gt;&#xA;                  &amp;lt;add name=&quot;Access-Control-Allow-Methods&quot; value=&quot;POST,GET&quot; /&amp;gt;&#xA;              &amp;lt;/customHeaders&amp;gt;&#xA;          &amp;lt;/httpProtocol&amp;gt;&#xA;      &amp;lt;/system.web&amp;gt;&#xA;  &amp;lt;/location&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am struggling to find any documentation on adding these methods so hopefully, I've just done something wrong with that aspect.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-08-29T01:28:05.337" LastActivityDate="2023-05-09T08:07:23.017" Title="Access to XMLHttpRequest has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource" Tags="|fxm|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20642" PostTypeId="1" AcceptedAnswerId="20643" CreationDate="2019-08-23T08:51:47.543" Score="3" ViewCount="1464" Body="&lt;p&gt;I'm writing a Sitecore PowerShell script to get all images (without their Media Folders) under the path &lt;code&gt;master:\sitecore\media library&lt;/code&gt;, where the &lt;code&gt;File Path&lt;/code&gt; in the &lt;code&gt;Media&lt;/code&gt; section is empty, like the following image&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/58TP1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/58TP1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$path = &quot;master:\sitecore\media library&quot;&#xA;$items = Get-ChildItem -Path $path -Recurse | Where-Object { $_.TemplateID -ne [Sitecore.TemplateIDs]::MediaFolder }&#xA;&#xA;$items | ForEach-Object {&#xA;   Write-Host &quot;Item name: &quot; $_.Name  &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need to add another condition to get all images with empty file path but I don't know how to do it, I'm a newbie with Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="5940" LastEditorUserId="70" LastEditDate="2019-08-23T13:27:57.090" LastActivityDate="2019-08-23T13:27:57.090" Title="Sitecore PowerShell script to get all images where the File Path is empty" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20643" PostTypeId="2" ParentId="20642" CreationDate="2019-08-23T09:07:51.640" Score="6" Body="&lt;p&gt;You just need to add a filter for filepath empty: &lt;code&gt;([string]::IsNullOrEmpty($_.Fields[&quot;File Path&quot;]))&lt;/code&gt;&#xA;The final query will be: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$path = &quot;master:\sitecore\media library&quot;&#xA;$items = Get-ChildItem -Path $path -Recurse | Where-Object { $_.TemplateID -ne [Sitecore.TemplateIDs]::MediaFolder -and ([string]::IsNullOrEmpty($_.Fields[&quot;File Path&quot;]))}&#xA;&#xA;$items | ForEach-Object {&#xA;   Write-Host &quot;Item name: &quot; $_.Name  $_.Paths.FullPath&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-08-23T09:07:51.640" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20644" PostTypeId="1" AcceptedAnswerId="20657" CreationDate="2019-08-23T09:57:56.670" Score="0" ViewCount="115" Body="&lt;p&gt;We would like to call the SXA clone website script on custom button click. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to call SXA clone functionality on button click by javascript or C# code? &lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="605" LastEditDate="2019-08-26T07:11:02.603" LastActivityDate="2019-08-26T07:11:55.070" Title="Can we clone SXA website on button click from page?" Tags="|sxa|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20646" PostTypeId="1" AcceptedAnswerId="20647" CreationDate="2019-08-23T10:39:09.710" Score="0" ViewCount="51" Body="&lt;p&gt;I have an &lt;code&gt;item&lt;/code&gt; with 3 languages. &lt;code&gt;EN, FR, NL&lt;/code&gt;. The &lt;code&gt;Enable language fallback&lt;/code&gt; is enabled to this item's &lt;code&gt;template standard value&lt;/code&gt;. Now, when I set the &lt;code&gt;HideVersion = true&lt;/code&gt; to &lt;code&gt;EN&lt;/code&gt; item, it will not publish not only &lt;code&gt;EN&lt;/code&gt; but also the other 2 languages. But when I set FR for example to &lt;code&gt;HideVersion = true&lt;/code&gt;, it will be the only one to be not published. Why is that? I am using &lt;code&gt;Sitecore 8.2&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="5771" LastActivityDate="2019-08-23T10:49:18.270" Title="HideVersion property will not publish also other publish if EN is set to HideVersion = true" Tags="|sitecore-client|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20647" PostTypeId="2" ParentId="20646" CreationDate="2019-08-23T10:49:18.270" Score="2" Body="&lt;p&gt;As clarified in comments;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When &quot;EN&quot; is selected as the fallback language, and language fallback is enabled - preventing the &quot;EN&quot; version of an item from publishing (or hiding it) will result in the entire item being restricted from publishing.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-23T10:49:18.270" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20648" PostTypeId="2" ParentId="20050" CreationDate="2019-08-23T11:12:01.303" Score="1" Body="&lt;p&gt;I believe it can be done. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below things need to take care:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Change commerce databases (Shared and global) name&lt;/li&gt;&#xA;&lt;li&gt;Change commerce related indexes name (Commerce, catalog and customer)&lt;/li&gt;&#xA;&lt;li&gt;Change default port used for commerce roles&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For more details please have a look below blog:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://vipinbankablog.wordpress.com/2019/01/08/install-multiple-sitecore-commerce-instances-on-single-machine/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://vipinbankablog.wordpress.com/2019/01/08/install-multiple-sitecore-commerce-instances-on-single-machine/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hoping this will help you.&lt;/p&gt;&#xA;" OwnerUserId="3209" LastEditorUserId="3209" LastEditDate="2019-08-24T17:01:52.500" LastActivityDate="2019-08-24T17:01:52.500" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20649" PostTypeId="1" AcceptedAnswerId="20650" CreationDate="2019-08-23T12:19:11.453" Score="2" ViewCount="193" Body="&lt;p&gt;In code, how can I access the current &lt;code&gt;Page Design&lt;/code&gt; my Page is using?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tried to find something in the &lt;code&gt;RenderingReference&lt;/code&gt; no luck.&lt;/p&gt;&#xA;" OwnerUserId="4767" LastEditorUserId="70" LastEditDate="2019-08-23T13:28:53.400" LastActivityDate="2019-08-23T13:28:53.400" Title="How to get the current pages Page Design in code" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20650" PostTypeId="2" ParentId="20649" CreationDate="2019-08-23T12:44:47.013" Score="3" Body="&lt;p&gt;That is quite simple, you need to use &lt;code&gt;PresentationContext&lt;/code&gt; service. Here is an example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ServiceLocator.ServiceProvider.GetService&amp;lt;IPresentationContext&amp;gt;().GetDesignItem(CONTEXT_ITEM);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It will do all the work your you:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;check if there is design selected on your page&lt;/li&gt;&#xA;&lt;li&gt;check design rules&lt;/li&gt;&#xA;&lt;li&gt;and at the end check Template to Design Mapping field (if design won't be resolved from above ones)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can also inject &lt;code&gt;PresentationContext&lt;/code&gt; using constructor injection like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyClass&#xA;{&#xA;    protected readonly IPresentationContext PresentationContext;&#xA;&#xA;    public MyClass(IPresentationContext presentationContext)&#xA;    {&#xA;        PresentationContext = presentationContext;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-08-23T12:44:47.013" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20651" PostTypeId="2" ParentId="20549" CreationDate="2019-08-23T14:10:42.907" Score="1" Body="&lt;p&gt;I opened a Sitecore Support ticket and found out that the reason for this error was because my CM server was missing a connection string to xconnect.search.  Once I added that in then this error went away.&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2019-08-23T14:10:42.907" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20652" PostTypeId="2" ParentId="20064" CreationDate="2019-08-23T14:38:22.690" Score="6" Body="&lt;p&gt;So after some back and forth with Sitecore Support, this is the conclusion and the solution.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;The fact that SXA ends up in the endless loop has been registered as a bug. Bug reference number #349107.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The solution is this&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You need to add the site registration to SitecoreIdentity, making it a known entity for it to act on. We added the following configuration patch - &quot;demo&quot; is the name of the site we're mapping.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:security=&quot;http://www.sitecore.net/xmlconfig/security/&quot;&amp;gt;&#xA;&#xA;    &amp;lt;!-- In reference to Ticket #536646 on Sitecore Support Portal --&amp;gt;&#xA;    &amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot;&amp;gt;&#xA;        &amp;lt;federatedAuthentication type=&quot;Sitecore.Owin.Authentication.Configuration.FederatedAuthenticationConfiguration, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;identityProvidersPerSites hint=&quot;list:AddIdentityProvidersPerSites&quot;&amp;gt;&#xA;                &amp;lt;mapEntry name=&quot;demo site&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                    &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;                        &amp;lt;site&amp;gt;demo&amp;lt;/site&amp;gt;&#xA;                    &amp;lt;/sites&amp;gt;&#xA;                    &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;                        &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='SitecoreIdentityServer']&quot; id=&quot;SitecoreIdentityServer&quot; /&amp;gt;&#xA;                    &amp;lt;/identityProviders&amp;gt;&#xA;                    &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                        &amp;lt;IsPersistentUser&amp;gt;true&amp;lt;/IsPersistentUser&amp;gt;&#xA;                    &amp;lt;/externalUserBuilder&amp;gt;&#xA;                &amp;lt;/mapEntry&amp;gt;&#xA;            &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;        &amp;lt;/federatedAuthentication&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And then for the SXA mechanics to work, go to the site definition item (e.g. &lt;code&gt;/sitecore/content/redacted/Global/Demo/Settings/Site Grouping/Demo&lt;/code&gt;) and find the &lt;code&gt;Other Properties&lt;/code&gt; section.  Add the following:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;loginPage&lt;/code&gt; -&gt; /identity/login/demo/SitecoreIdentityServer (demo is the name of your site)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;requireLogin&lt;/code&gt; -&gt; true&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Save and publish this item (and the config) and you're good to go.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-08-23T14:38:22.690" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20653" PostTypeId="2" ParentId="20563" CreationDate="2019-08-23T15:24:17.197" Score="0" Body="&lt;p&gt;You can try to clean the environment and initialize again, if nothing else worked for you. Use postman APIs to &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Clean Environment.&lt;/li&gt;&#xA;&lt;li&gt;Ensure\Sync default content paths.&lt;/li&gt;&#xA;&lt;li&gt;Initialize Environment.&lt;/li&gt;&#xA;&lt;li&gt;Import Catalogs (with publishing).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Make sure you export your catalog before running these APIs.&lt;/p&gt;&#xA;" OwnerUserId="5942" LastActivityDate="2019-08-23T15:24:17.197" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20654" PostTypeId="1" CreationDate="2019-08-23T15:59:55.127" Score="1" ViewCount="122" Body="&lt;p&gt;We are setting up a Sitecore Commerce 9.1 application.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, prices for products are shown excluding taxes (net price).  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an option to show prices including taxes out-of-the-box, or do I have to write a custom plugin for this?&lt;/p&gt;&#xA;" OwnerUserId="4234" LastEditorUserId="70" LastEditDate="2019-08-23T18:22:09.513" LastActivityDate="2019-08-23T18:22:09.513" Title="Is there an OOTB option to show prices including taxes?" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20656" PostTypeId="1" AcceptedAnswerId="20692" CreationDate="2019-08-24T03:20:03.890" Score="1" ViewCount="362" Body="&lt;p&gt;On one of three CD servers every search we execute is sent to Azure Search like the following:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;19660 02:11:05 INFO  AzureSearch Query [sitecore_web_index]: &amp;amp;search=This_Is_Equal_ConstNode_Return_Nothing&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;h2&gt;I have confirmed that...&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;There are no significant differences in any of the config files between this server and the other CD servers&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The only differences are database/redis connection strings and the &lt;code&gt;ApplicationInsights.Role&lt;/code&gt; setting value&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;There are no differences in the bin directories between this server and the other CD servers&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2&gt;I have tried (unsuccessfully)...&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Switching this server to use another CD server's web database&lt;/li&gt;&#xA;&lt;li&gt;Restarting the server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To narrow down the issue, I also tried opening the same page in Experience Editor on the CM server and changing the &lt;code&gt;sc_database&lt;/code&gt; in the query string to use the web database of the offending CD server. In this case, all of the searches work as expected. This leads me to believe the database is not the issue.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;h3&gt;Environment&lt;/h3&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;Sitecore 9.0.2&lt;/li&gt;&#xA;  &lt;li&gt;Azure PaaS&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-09-10T16:03:30.730" Title="Azure searches on one Azure CD server are sent as &quot;&amp;search=This_Is_Equal_ConstNode_Return_Nothing&quot;" Tags="|azure|azure-search|paas|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20657" PostTypeId="2" ParentId="20644" CreationDate="2019-08-24T07:25:50.613" Score="1" Body="&lt;p&gt;You will need to call the SXA Clone Script using the code snippet below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (ScriptSession scriptSession = ScriptSessionManager.NewSession(&quot;Default&quot;, true))&#xA;{&#xA;    var siteItem = Factory.GetDatabase(&quot;master&quot;).GetItem(&quot;path to site or site item id&quot;);&#xA;&#xA;    var scriptItem = Sitecore.Context.Database.GetItem(&quot;/sitecore/system/Modules/PowerShell/Script Library/SXA/SXA - Multisite/Content Editor/Context Menu/Clone Site&quot;);&#xA;&#xA;    var script = scriptItem[&quot;Script&quot;];&#xA;&#xA;    if (!string.IsNullOrEmpty(script))&#xA;    {&#xA;        scriptSession.SetItemLocationContext(siteItem);&#xA;        scriptSession.ExecuteScriptPart(script);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The SXA Clone Script retrieves the context item using &lt;code&gt;Get-Item .&lt;/code&gt;, so you will need to pass the site item you want to clone to the script. This is what the code    &lt;code&gt;scriptSession.SetItemLocationContext(siteItem);&lt;/code&gt; does. Upon clicking on the button, the above code is called.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are expecting a return value from the powershell script, the you will need to pass &lt;code&gt;false&lt;/code&gt; as second parameter in the &lt;code&gt;ExecuteScriptPart&lt;/code&gt; method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;scriptSession.ExecuteScriptPart(script, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, if you want to call the SXA Clone Script via javascript, you will need to call the URL of the powershell runner. The powershell runner will allow the popup of the clone dialog to open.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var shellSite = SiteContext.GetSite(&quot;shell&quot;);&#xA;&#xA;using (new SiteContextSwitcher(shellSite))&#xA;{&#xA;    var urlString = new UrlString(UIUtil.GetUri(&quot;control:PowerShellRunner&quot;));&#xA;    urlString.Append(&quot;id&quot;, siteId);&#xA;    urlString.Append(&quot;db&quot;, &quot;master&quot;);&#xA;    urlString.Append(&quot;scriptId&quot;, &quot;SXA CLONE SCRIPT ITEM ID&quot;);&#xA;    urlString.Append(&quot;scriptDb&quot;, &quot;master&quot;);&#xA;&#xA;    return new JsonResult { Data = urlString.ToString(), JsonRequestBehavior = JsonRequestBehavior.AllowGet };&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note: I haven't yet tested the code but this is the way to go. More information is available at my blog post on &lt;a href=&quot;https://hishaamn.wordpress.com/?s=sitecore%20speak%20powershell&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Powershell with SPEAK UI&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-08-26T07:11:55.070" LastActivityDate="2019-08-26T07:11:55.070" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20658" PostTypeId="1" CreationDate="2019-08-24T14:08:38.857" Score="1" ViewCount="121" Body="&lt;p&gt;We are using Sitecore 7.2 and trying to implement Shared Session state with SQLSERVER. When we switch to SQLserver mode from InProc , we don't see any sessions created in the &quot;[ASPStateTempSessions]&quot; table. We are using the below web.config entry.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sessionState mode=&quot;SQLServer&quot; sqlCommandTimeout=&quot;30000&quot; sqlConnectionString=&quot;data source=XXX;Network Library=XXX;user id=XXX;password=XXX&quot; cookieless=&quot;false&quot; /&amp;gt; . &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Has anyone implemented a Shared Session state with SQLSERVER for Sitecore. Please provide pointers.&lt;/p&gt;&#xA;" OwnerUserId="696" LastEditorUserId="73" LastEditDate="2019-08-24T18:15:35.917" LastActivityDate="2019-08-27T19:30:07.127" Title="Shared Session state with SQLSERVER" Tags="|session-state|" AnswerCount="1" CommentCount="6" ClosedDate="2019-08-27T20:04:12.370" ContentLicense="CC BY-SA 4.0" />
  <row Id="20659" PostTypeId="2" ParentId="20563" CreationDate="2019-08-24T14:19:25.423" Score="1" Body="&lt;p&gt;The issue was related to a custom template which had to be inherited in the product template. After inheriting the template I rebuilt indexes and it worked fine.&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-08-24T14:19:25.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20660" PostTypeId="1" AcceptedAnswerId="20664" CreationDate="2019-08-24T14:20:34.827" Score="1" ViewCount="292" Body="&lt;p&gt;I know that &lt;code&gt;Treelist&lt;/code&gt; and &lt;code&gt;Checklist&lt;/code&gt; fields are of Type &lt;code&gt;MultilistField&lt;/code&gt; in C#, but I need to know the C# types for the following field types:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;TreelistEx&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Multilist&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;MultilistWithSearch&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="135" LastEditDate="2019-08-24T17:51:18.950" LastActivityDate="2019-08-24T17:51:18.950" Title="Multireference field types in C#" Tags="|fieldtype|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20661" PostTypeId="2" ParentId="20660" CreationDate="2019-08-24T14:27:07.207" Score="0" Body="&lt;p&gt;To use these fields in code, you have to add reference to Sitecore.Kernel dll and then you can use it.&#xA;For example&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;MultilistField itemsInMultiList = dataSourceItem.Fields[&quot;SelctedTags&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-08-24T14:27:07.207" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20663" PostTypeId="1" CreationDate="2019-08-24T15:17:33.093" Score="0" ViewCount="27" Body="&lt;p&gt;We are running the sitecore CRM batch pipeline from CM server but required to get the item from web database when sync the sitecore item to CRM.&lt;/p&gt;&#xA;" OwnerUserId="5612" LastActivityDate="2019-08-24T15:17:33.093" Title="Is it possible to get the sitecore item from web database in CRM connector pipeline (batch pipeline) when we run it from CM server" Tags="|dynamics-crm-module|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20664" PostTypeId="2" ParentId="20660" CreationDate="2019-08-24T16:23:11.310" Score="3" Body="&lt;p&gt;Below are the C# types of the &lt;code&gt;List Type&lt;/code&gt; field:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Checklist&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.MultilistField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Droplist&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.ValueLookupField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Grouped Droplink:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.GroupedDroplinkField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Grouped Droplist&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.GroupedDroplistField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Multilist&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.MultilistField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Multilist with Search&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.MultilistField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Name Lookup Value List&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.NameValueListField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Name Value List&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.NameValueListField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Treelist&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.MultilistField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;TreelistEx&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.MultilistField&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="135" LastEditDate="2019-08-24T17:47:54.900" LastActivityDate="2019-08-24T17:47:54.900" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20665" PostTypeId="1" AcceptedAnswerId="20669" CreationDate="2019-08-25T01:53:32.237" Score="0" ViewCount="757" Body="&lt;p&gt;I'm trying to install Sitecore Commerce v9.2 with SIF.&lt;br&gt;&#xA;I installed Sitecore Experience Platform v9.2 and updated the installation script. After I run the .\Deploy-Sitecore-Commerce.ps1 on the elevated mode in Powershell, I'm getting this error below.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[----------------------------------------------------------------------------- CommerceEngine-Ops_InstallWdpSOLR : WebDeploy -----------------------------------------------------------------------------------------------------]&#xA;VERBOSE: Resolving ConfigFunction extension 'resolvepath'&#xA;VERBOSE: Resolved 'Invoke-ResolvePathConfigFunction'&#xA;Install-SitecoreConfiguration : Unable to parse [resolvepath(parameter('CommerceEngine-Ops_CommerceEngineWdpFullPath'))] - Exception calling &quot;InvokeWithContext&quot; with &quot;2&quot; argument(s): &quot;Cannot bind argument to parameter 'Path' &#xA;because it is an empty string.&quot;&#xA;At C:\deploy\Deploy-Sitecore-Commerce.ps1:93 char:1&#xA;+ Install-SitecoreConfiguration @params -Verbose *&amp;gt;&amp;amp;1 | Tee-Object &quot;$PS ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:34&#xA;GetConfigFunctionResult : Unable to parse [resolvepath(parameter('CommerceEngine-Ops_CommerceEngineWdpFullPath'))] - Exception calling &quot;InvokeWithContext&quot; with &quot;2&quot; argument(s): &quot;Cannot bind argument to parameter 'Path' because &#xA;it is an empty string.&quot;&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Private\JsonConfiguration.ps1:226 char:20&#xA;+ ...      return GetConfigFunctionResult -FunctionText $InputObject -Param ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,GetConfigFunctionResult&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="73" LastEditDate="2019-08-25T12:27:46.467" LastActivityDate="2019-09-25T07:00:42.840" Title="Unable to parse [resolvepath(parameter('CommerceEngine-Ops_CommerceEngineWdpFullPath'))]" Tags="|sitecore-commerce|installation|commerce-engine|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20667" PostTypeId="1" AcceptedAnswerId="20668" CreationDate="2019-08-25T17:56:57.513" Score="0" ViewCount="143" Body="&lt;p&gt;Sitecore 9.0.2 EXM manager root has the following field&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Final Confirmation Page - The page displayed after a visitor changes their subscription:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am unable to understand how this actually works. I have tried it with the 'Unsubscribe from All' link in email footer and I was getting redirected it to the page configured in this field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11356/how-to-separate-between-unsubscribe-confirmation-page-and-subscription-confirmat&quot;&gt;How to separate between Unsubscribe confirmation page and Subscription confirmation page?&lt;/a&gt;  confirms that it happens when the user subscribes also. Please help me to understand as how this functionality works and how this gets triggered.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen the documentation related to it but did not find any details.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-08-25T19:26:19.563" Title="Email Root Manager - Final Confirmation Page" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20668" PostTypeId="2" ParentId="20667" CreationDate="2019-08-25T19:26:19.563" Score="0" Body="&lt;p&gt;EXM provide two mechanism for unsubscribing: &lt;strong&gt;Unsubscribe link&lt;/strong&gt; and &lt;strong&gt;unsubscribe from all&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@Pete Navarra describes in details this functionality : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecorehacker.com/2018/12/17/managing-the-unsubscribe-part-1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/2018/12/17/managing-the-unsubscribe-part-1&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unsubscribe link&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When this link is clicked out of an email, Sitecore will process the Redirect URL and redirect to the Unsubscribe linked above. This page has no styling and no layout. It will actually just return blank if it succeeds correctly. But there’s actually magic happening behind the scenes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. The Contact is Removed From Contact List&lt;/strong&gt;&#xA;The Unsubscribe Link is specific to a single message, which is tied to specific Manager Root. When this link is clicked, Sitecore EXM will search for the first Contact List in the Inclusion List on the email and attempt to remove the user from it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If ONLY Segmented Lists are used on the message or the contact can NOT be found on the first list, then to prevent accidentally sending this contact a message again, this user is added to the Global Opt-Out List defined on the Manager Root.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. The Contact is redirected to the Final Confirmation Page&lt;/strong&gt;&#xA;On the Manager Root under Subscription Control there is a field for Final Confirmation Page that the Contact/visitor is redirected to when the unsubscribe completes successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. If contact is already unsubscribed, redirected to Already Unsubscribed&lt;/strong&gt;&#xA;If the contact has already unsubscribed (maybe they clicked on the Unsubscribe Link in their email a second time) then Sitecore will redirect the contact to the Already Unsubscribed page/item. This is helpful, because it could provide the user the ability to resubscribe.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Unsubscribe From All&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a full unsubscribe from all messages being sent from a selected Manager Root. The Manager Root is identified because the query parameters going into this link provide the Message ID, which is needed to know which Manager Root to use.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you recall from our Introduction to the Manager Root, there is a field that specifies the Global Opt-Out List. This List Manager Contact List, is evaluated every time an email is dispatched (automated or regular). If the contact exists in this list, they will be automatically excluded from the delivery of the message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Processing the Unsubscribe From All URL performs the following actions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1. The Contact is Added to the Global Opt-Out List&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The contact is immediately added to the Global Opt-Out List. They are NOT removed from the first Contact List on the message, as described above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2. The Contact is redirected to the Final Confirmation Page&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the Manager Root under Subscription Control there is a field for Final Confirmation Page that the Contact/visitor is redirected to when the unsubscribe completes successfully.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Out of the box, this field is blank. However, by specifying it to a branded page on your website, the Unsubscribe link will redirect the user to here.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3. If contact is already unsubscribed, redirected to Already Unsubscribed&lt;/strong&gt;&#xA;If the contact has already unsubscribed (maybe they clicked on the Unsubscribe Link in their email a second time) then Sitecore will redirect the contact to the Already Unsubscribed page/item. This is helpful, because it could provide the user the ability to resubscribe.&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-08-25T19:26:19.563" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20669" PostTypeId="2" ParentId="20665" CreationDate="2019-08-26T01:15:36.857" Score="0" Body="&lt;p&gt;I was not sure about this field &lt;code&gt;&quot;XCInstallRoot&quot; = &quot;..&quot;&lt;/code&gt;, I thought the value will be extracted in the script. Also, the installation documentation did not mention about this field. So I kept the default value. &lt;br&gt;&lt;br&gt;&#xA;After I updated this field to &lt;code&gt;[string]$XCInstallRoot = &quot;c:\deploy&quot;&lt;/code&gt; this issue was solved. &lt;/p&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="5387" LastEditDate="2019-08-26T06:02:02.580" LastActivityDate="2019-08-26T06:02:02.580" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20670" PostTypeId="1" CreationDate="2019-08-26T02:37:22.600" Score="2" ViewCount="1543" Body="&lt;p&gt;I'm trying to install &lt;code&gt;Sitecore Commerce v9.2&lt;/code&gt;. I had a few issues that I solved earlier. However, right now I'm getting a database error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I check the database I can see two new Commerce databases installed (&lt;code&gt;SitecoreCommerce9_Global and SitecoreCommerce9_SharedEnvironements&lt;/code&gt;). &#xA;I'm using &lt;code&gt;SQL Server 2017&lt;/code&gt; which has all the &lt;code&gt;Sitecore XP 9.2&lt;/code&gt; databases. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;msdeploy.exe : Error: .Net SqlClient Data Provider: Msg 208, Level 16, State 1, Line 2 Invalid object name 'Blobs'.&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-CommandTask.ps1:31 char:13&#xA;+             &amp;amp; $Path $Arguments | Out-Default&#xA;+             ~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (Error: .Net Sql...t name 'Blobs'.:String) [], RemoteException&#xA;    + FullyQualifiedErrorId : NativeCommandError&#xA;&#xA;Error: Script execution error.  The executed script:&#xA;BEGIN TRANSACTION;&#xA;CREATE TABLE #Blobs (&#xA;    BlobId  UNIQUEIDENTIFIER NOT NULL,&#xA;    [Index] INT              NOT NULL,&#xA;    Data    IMAGE            NOT NULL,&#xA;    Created DATETIME         NOT NULL&#xA;);&#xA;CREATE TABLE #Items (&#xA;    ID         UNIQUEIDENTIFIER NOT NULL PRIMARY KEY,&#xA;    Name       NVARCHAR (256)   COLLATE database_default NOT NULL,&#xA;    TemplateID UNIQUEIDENTIFIER NOT NULL,&#xA;    MasterID   UNIQUEIDENTIFIER NOT NULL,&#xA;    ParentID   UNIQUEIDENTIFIER NOT NULL,&#xA;    Created    DATETIME         NOT NULL,&#xA;    Updated    DATETIME         NOT NULL&#xA;);&#xA;CREATE TABLE #SharedFields (&#xA;    ItemId  UNIQUEIDENTIFIER NOT NULL,&#xA;    FieldId UNIQUEIDENTIFIER NOT NULL,&#xA;    Value   NVARCHAR (MAX)   COLLATE database_default NOT NULL,&#xA;    Created DATETIME         NOT NULL,&#xA;    Updated DATETIME         NOT NULL,&#xA;    PRIMARY KEY CLUSTERED ([ItemID], [FieldID])&#xA;);&#xA;CREATE TABLE #VersionedFields (&#xA;    ItemId   UNIQUEIDENTIFIER NOT NULL,&#xA;    FieldId  UNIQUEIDENTIFIER NOT NULL,&#xA;    Language NVARCHAR (&#xA;Info: An error occurred while the batch was being executed.&#xA;Info: Updating database: Faulted.&#xA;Info: Updating database (Failed)&#xA;Info: Deploying package to database: Faulted.&#xA;Error Code: ERROR_EXECUTING_METHOD&#xA;More Information: Could not deploy package.&#xA;Error SQL72014: .Net SqlClient Data Provider: Msg 208, Level 16, State 1, Line 2 Invalid object name 'Blobs'.&#xA;Error SQL72045: Script execution error.  The executed script:&#xA;BEGIN TRANSACTION;&#xA;CREATE TABLE #B&#xA;lobs (&#xA;    BlobId  UNIQUEIDENTIFIER NOT NULL,&#xA;    [Index] INT              NOT NULL,&#xA;    Data    IMAGE            NOT NULL,&#xA;    Created DATETIME         NOT NULL&#xA;);&#xA;CREATE TABLE #Items (&#xA;    ID         UNIQUEIDENTIFIER NOT NULL PRIMARY KEY,&#xA;    Name       NVARCHAR (256)   COLLATE database_default NOT NULL,&#xA;    TemplateID UNIQUEIDENTIFIER NOT NULL,&#xA;    MasterID   UNIQUEIDENTIFIER NOT NULL,&#xA;    ParentID   UNIQUEIDENTIFIER NOT NULL,&#xA;    Created    DATETIME         NOT NULL,&#xA;    Updated    DATETIME         NOT NULL&#xA;);&#xA;CREATE TABLE #SharedFields (&#xA;    ItemId  UNIQUEIDENTIFIER NOT NULL,&#xA;    FieldId UNIQUEIDENTIFIER NOT NULL,&#xA;    Value   NVARCHAR (MAX)   COLLATE database_default NOT NULL,&#xA;    Created DATETIME         NOT NULL,&#xA;    Updated DATETIME         NOT NULL,&#xA;    PRIMARY KEY CLUSTERED ([ItemID], [FieldID])&#xA;);&#xA;CREATE TABLE #VersionedFields (&#xA;    ItemId   UNIQUEIDENTIFIER NOT NULL,&#xA;    FieldId  UNIQUEIDENTIFIER NOT NULL,&#xA;    Language NVARCHAR (&#xA;  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD.&#xA;Error: Could not deploy package.&#xA;Error SQL72014: .Net SqlClient Data Provider: Msg 208, Level 16, State 1, Line 2 Invalid object name 'Blobs'.&#xA;Error SQL72045: Script execution error.  The executed script:&#xA;BEGIN TRANSACTION;&#xA;CREATE TABLE #Blobs (&#xA;&#xA; BlobId  UNIQUEIDENTIFIER NOT NULL,&#xA;    [Index] INT              NOT NULL,&#xA;    Data    IMAGE            NOT NULL,&#xA;    Created DATETIME         NOT NULL&#xA;);&#xA;CREATE TABLE #Items (&#xA;    ID         UNIQUEIDENTIFIER NOT NULL PRIMARY KEY,&#xA;    Name       NVARCHAR (256)   COLLATE database_default NOT NULL,&#xA;    TemplateID UNIQUEIDENTIFIER NOT NULL,&#xA;    MasterID   UNIQUEIDENTIFIER NOT NULL,&#xA;    ParentID   UNIQUEIDENTIFIER NOT NULL,&#xA;    Created    DATETIME         NOT NULL,&#xA;    Updated    DATETIME         NOT NULL&#xA;);&#xA;CREATE TABLE #SharedFields (&#xA;    ItemId  UNIQUEIDENTIFIER NOT NULL,&#xA;    FieldId UNIQUEIDENTIFIER NOT NULL,&#xA;    Value   NVARCHAR (MAX)   COLLATE database_default NOT NULL,&#xA;    Created DATETIME         NOT NULL,&#xA;    Updated DATETIME         NOT NULL,&#xA;    PRIMARY KEY CLUSTERED ([ItemID], [FieldID])&#xA;);&#xA;CREATE TABLE #VersionedFields (&#xA;    ItemId   UNIQUEIDENTIFIER NOT NULL,&#xA;    FieldId  UNIQUEIDENTIFIER NOT NULL,&#xA;    Language NVARCHAR (&#xA;Error count: 1.&#xA;Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At C:\deploy\Deploy-Sitecore-Commerce.ps1:93 char:1&#xA;+ Install-SitecoreConfiguration @params -Verbose *&amp;gt;&amp;amp;1 | Tee-Object &quot;$PS ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:10:52&#xA;Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code - (-1)&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-WebDeployTask.ps1:36 char:2&#xA;+     Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="5387" LastEditDate="2019-08-26T05:58:58.533" LastActivityDate="2019-09-16T04:06:10.610" Title="msdeploy.exe : Error: .Net SqlClient Data Provider: Invalid object name 'Blobs'" Tags="|sitecore-commerce|sitecore-install-framework|installation|sql-database|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20671" PostTypeId="2" ParentId="14038" CreationDate="2019-08-26T03:01:57.893" Score="2" Body="&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&#xA;Install both platforms (x64) and (x86) of &quot;Microsoft SQL Server Data-Tier Application Framework (17.1 DacFx)&quot; from &lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=55255&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.microsoft.com/en-us/download/details.aspx?id=55255&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should be able to see these two components in the windows installed programs list:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/aBQBr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aBQBr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5948" LastActivityDate="2019-08-26T03:01:57.893" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20672" PostTypeId="1" CreationDate="2019-08-26T06:33:03.170" Score="-1" ViewCount="480" Body="&lt;p&gt;I am working on &lt;code&gt;Sitecore 9 update 2&lt;/code&gt;, I have one folder named &lt;code&gt;Feature&lt;/code&gt; and its child folders are &lt;code&gt;Picture, Videos, PDF Files, etc&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I am publishing 'Feature' folder from Ribbon bar Publish option, it publishes all child folders and its sub-items (Pictures, video, etc) to Web Database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't want to publish any one of the child folder and its sub-items for example Videos folder and its items (video-1, video-2, etc). Are there any options available in the Sitecore user interface to exclude it? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried with &lt;code&gt;Never Publish checkbox&lt;/code&gt; and &lt;code&gt;Unpublish date&lt;/code&gt; option but its working for the same item not for child items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please find attached screenshot for details:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ipxge.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ipxge.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here I am going to publish Feature folder and its all child items except highlighted folder (1) and its children's.&lt;/p&gt;&#xA;" OwnerUserId="5926" LastEditorUserId="124" LastEditDate="2019-08-26T07:11:09.780" LastActivityDate="2019-08-26T08:49:26.747" Title="Exclude particular folder items when published" Tags="|sitecore-client|publishing|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20674" PostTypeId="1" CreationDate="2019-08-26T06:52:47.173" Score="0" ViewCount="79" Body="&lt;p&gt;For our project we need products to have multiple prices.&lt;br&gt;&#xA;All of these prices need to be editable in the backend and they need to be selectable for the customer.&lt;br&gt;&#xA;This must not be done with vouchers.&lt;br&gt;&#xA;As far as I can see you can only set a regular price and bulk prices.  &lt;/p&gt;&#xA;" OwnerUserId="4234" LastActivityDate="2019-08-26T07:43:54.570" Title="Can products have multiple prices (regular/student etc.)?" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20675" PostTypeId="2" ParentId="20672" CreationDate="2019-08-26T07:02:52.227" Score="0" Body="&lt;p&gt;When you want to publish only current item but not sub-items just uncheck checkbox &lt;code&gt;Publish subitems&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dApGM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dApGM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to publish only one folder with sub items then you need to check &quot;Never Publish&quot; checkbox for other folders and again need to publish parent folder&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-08-26T07:20:57.657" LastActivityDate="2019-08-26T07:20:57.657" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20676" PostTypeId="2" ParentId="20674" CreationDate="2019-08-26T07:43:54.570" Score="1" Body="&lt;p&gt;what about using variants to differentiate products among the types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could use a custom drop down field to select the type of variant like &quot;Student&quot; &quot;Regular&quot; &quot;Senior&quot; and more. For each variant you could then set a specific price or link a price card. In frontend a user can then switch between all the variants and gets the variant specific price.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have further differentiation types, like color, size, boxing type etc., you can also combine these to create more variants.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this approach would mean, that in worst case the number of variants might grow very fast.&lt;/p&gt;&#xA;" OwnerUserId="3737" LastActivityDate="2019-08-26T07:43:54.570" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20677" PostTypeId="2" ParentId="20672" CreationDate="2019-08-26T08:49:26.747" Score="1" Body="&lt;p&gt;You can use the Sitecore Publish Exclusion module. It can be downloaded from &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Publish_Exclusions.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Marketplace&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This module gives you the ability to configure items that needs to be excluded from publish. You could have this configured in Sitecore as shown below, or in an XML configuration file if you do not wish this to be configured through Sitecore. You can also provide additional capabilities to configure this for each publishing target and publish mode – for instance, you may want to exclude certain items only from the publishing target used by your live sites, but not from your staging target. Or you may want to exclude the items from being published for incremental publish, but not when you explicitly publish the item through smart publish or through the auto publish in a workflow.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information at &lt;a href=&quot;https://thesitecorezone.wordpress.com/2015/10/31/sitecore-publish-exclusions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Publish Exclusion Guide&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-08-26T08:49:26.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20678" PostTypeId="1" CreationDate="2019-08-26T09:28:54.917" Score="1" ViewCount="67" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9 Update 2&lt;/code&gt;, I have created one &lt;code&gt;Form&lt;/code&gt; also I have applied &lt;code&gt;Google Visible Recaptcha&lt;/code&gt; which is available in &lt;code&gt;Form Extension Module&lt;/code&gt; but still I can see lots of spam &lt;code&gt;Contacts&lt;/code&gt; in DB. Does anyone have a solution to stop spam contacts?&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="73" LastEditDate="2019-08-26T12:45:17.597" LastActivityDate="2019-08-26T12:45:17.597" Title="Spam contacts is saving in DB" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20679" PostTypeId="1" AcceptedAnswerId="20680" CreationDate="2019-08-26T09:40:36.533" Score="4" ViewCount="809" Body="&lt;p&gt;I know (and I do it) that I can put a default value in a placeholder so that when I create a new item for my route type it populates my placeholder with a component that I will choose.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do it like that :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In the Content Editor I get on sitecore &gt; Templates &gt; Project &gt; My Project &gt; My RouteType &gt; __Standard Value &lt;/li&gt;&#xA;&lt;li&gt;I choose the Presentation Tab and I click on details&lt;/li&gt;&#xA;&lt;li&gt;Then I click on Edit and in the new window I click on the Control Tab&lt;/li&gt;&#xA;&lt;li&gt;I click add and I can choose a component and assing it to a placeholder by putting the name in Placeholder [shared] (for example /jss-main if jss-main is my placeholder name)&lt;/li&gt;&#xA;&lt;li&gt;Then when I create a new route type I automatically get the choosen component in my jss-main placeholder.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;So this is working and I'm happy with it. What I would like to know is if it is possible to put a placeholder inside another one so that I'll get a component inside another one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's take one example :&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I have a route type for a glossary&lt;/li&gt;&#xA;&lt;li&gt;I have a default layout that has a placeholder called jss-main&lt;/li&gt;&#xA;&lt;li&gt;I have a component called two-columns that has two placeholders column-1 and column-2&lt;/li&gt;&#xA;&lt;li&gt;I have a component that is name simple-text that has no placeholder&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I would like to put in jss-main a component two-columns and in the placeholders column-1 and column-2 from this component put two different simple-text components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to do so and if yes what should I put in the placeholders fields ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A screenshot of my attempt to include one in another&#xA;&lt;a href=&quot;https://i.stack.imgur.com/6JKD5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6JKD5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is a picture of the experience editor when creating a page with the placeholders like that.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/l5gcd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/l5gcd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5831" LastEditorUserId="5831" LastEditDate="2019-08-28T11:39:14.073" LastActivityDate="2019-08-28T11:39:14.073" Title="Nesting placeholders in Standard Values" Tags="|jss|content-editor|placeholders|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20680" PostTypeId="2" ParentId="20679" CreationDate="2019-08-26T10:37:37.870" Score="2" Body="&lt;p&gt;I hope below is the structure of the layout.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1LTXi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1LTXi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you mentioned you have applied component in &lt;code&gt;jss-main&lt;/code&gt; placeholder which is correct.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;You can apply &lt;code&gt;two-column&lt;/code&gt; component on &lt;code&gt;jss-main&lt;/code&gt; placeholder which will be like this &lt;code&gt;/jss-main/two-column&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Now to apply &lt;code&gt;simple-text&lt;/code&gt; component on &lt;code&gt;Column1&lt;/code&gt; and &lt;code&gt;Column2&lt;/code&gt;, you can apply &lt;code&gt;simple-text&lt;/code&gt; component like this &lt;code&gt;/jss-main/column1/simple-text&lt;/code&gt; and &lt;code&gt;/jss-main/column2/simple-text&lt;/code&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;More Detail:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;I have created a layout where I defined placeholder &lt;code&gt;@Html.Sitecore().Placeholder(&quot;jss-main&quot;)&lt;/code&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Mza6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Mza6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.Created Two-Column view html &lt;code&gt;TwoColumn.cshtml&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hWkxF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hWkxF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;&lt;p&gt;Created rendering for &quot;TwoColumn&quot;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/yeS7K.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yeS7K.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Created placeholder&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/q5sWu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/q5sWu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;Finally, add rendering in standard value of a page template&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UmY0P.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UmY0P.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-08-28T10:08:00.097" LastActivityDate="2019-08-28T10:08:00.097" CommentCount="12" ContentLicense="CC BY-SA 4.0" />
  <row Id="20681" PostTypeId="1" CreationDate="2019-08-26T12:02:55.423" Score="0" ViewCount="340" Body="&lt;p&gt;Is it possible to post data from a form with controller rendering on page1 to a controller rendering on page2?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I mean the form submit on page1 should post back with page2 as page context.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update 1:&#xA;tried below option of adding scItemPath in route.. no luck&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jockstothecore.com/to-the-controller-and-back-part-1-routing/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jockstothecore.com/to-the-controller-and-back-part-1-routing/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;scItemPath passed in routevalues is appending to route like controller/action/{scItemPath}, but not invoking the pagecontext of item id passed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update 2: adding code&lt;/p&gt;&#xA;&#xA;&lt;p&gt;view (rendered using conroller rendering on item1)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using (Html.BeginRouteForm(Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName, new { scItemPath = &quot;path/to/item2&quot;}, FormMethod.Post, new { @name = &quot;selectLoginCredentialsForm&quot;, @class = &quot;adjacent_error_wrap&quot;, @enctype = &quot;multipart/form-data&quot; }))&#xA;    {&#xA;        @Html.AntiForgeryToken()&#xA;        @Html.Sitecore().FormHandler(&quot;RegistrationSecurity&quot;, &quot;SetSecurityDetails&quot;)&#xA;//form inputs&#xA;&amp;lt;input name=&quot;username&quot; type=text/&amp;gt;&#xA;&amp;lt;input name=&quot;password&quot; type=text/&amp;gt;&#xA;&amp;lt;input type=&quot;submit&quot; value=&quot;submit&quot;/&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class RegistrationSecurityController : GlassController&#xA;{&#xA;&#xA;    public ActionResult SetSecurityDetails(UserCredentials creds)&#xA;    {&#xA;        var model = GetDataSourceItem&amp;lt;Idatasource&amp;gt;();&#xA;        return View(&quot;~/Views/path/to/view.cshtml&quot;, model);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2447" LastEditorUserId="2447" LastEditDate="2019-08-27T06:05:58.517" LastActivityDate="2024-01-04T11:07:41.030" Title="Is it possible to post back a form to rendering on another item/page?" Tags="|mvc-forms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20683" PostTypeId="1" CreationDate="2019-08-26T12:44:06.987" Score="0" ViewCount="79" Body="&lt;p&gt;We have a site built in Sitecore 9 with SXA. We would like to add Sitecore Commerce to this site. The current site makes use of Tags for searching. We would like to be able to tag commerce items with the same tags we use for common Sitecore items so that we can retrieve commerce items in native search results using the same filtering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible out of the box? Or, would we need to create some kind of taxonomy service that the Sitecore commerce environment would read from and add a custom component that would allow for setting these values?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The site uses Coveo, but I think the search interface used is irrelevant to the question.&lt;/p&gt;&#xA;" OwnerUserId="2068" LastActivityDate="2019-08-28T06:20:57.203" Title="Commerce Shared Taxonomy" Tags="|sitecore-commerce|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20685" PostTypeId="1" AcceptedAnswerId="20690" CreationDate="2019-08-26T14:21:35.583" Score="1" ViewCount="487" Body="&lt;p&gt;Our application is on Sitecore 9.0.2 with SXA 1.8.1 &lt;/p&gt;&#xA;&#xA;&lt;p&gt;we have written custom link provider and Item resolver to omit bucket folders in Url's in our application and is working as expected , we also want the Url's to omit bucket folders on sitemap.xml &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand that we can override the &lt;code&gt;SitemapGenerator&lt;/code&gt; to do this but unable to find documentation on which method to override &lt;/p&gt;&#xA;&#xA;&lt;p&gt;any help on this ? what is the best way to achieve this functionality ? &lt;/p&gt;&#xA;" OwnerUserId="3355" LastActivityDate="2019-08-26T17:27:16.103" Title="Modify Url's in Sitecore SXA sitemap" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20687" PostTypeId="1" AcceptedAnswerId="22454" CreationDate="2019-08-26T15:15:53.020" Score="2" ViewCount="446" Body="&lt;p&gt;I've used sitecore's built in &lt;a href=&quot;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/setting-up-rss-feeds.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;RSS feed abilities&lt;/a&gt; and it appears to be only accessible via logging into sitecore. Is there a way to enable this to work without being logged into sitecore?&lt;/p&gt;&#xA;" OwnerUserId="4394" LastActivityDate="2019-10-08T18:11:48.630" Title="Does sitecore support non-password protected RSS feed out of the box?" Tags="|rss|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20688" PostTypeId="1" AcceptedAnswerId="20713" CreationDate="2019-08-26T15:47:45.937" Score="3" ViewCount="785" Body="&lt;p&gt;Working with Sitecore 9 (update 1) and SXA 1.7.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am facing an issue related to &lt;code&gt;Context.Item&lt;/code&gt; in Sitecore Form Save Action. &#xA;In the case of &lt;code&gt;Web&lt;/code&gt; Database, &lt;code&gt;Sitecore.Context.Item&lt;/code&gt; is throwing null in Custom Save Action. Is there any way to get the current item in the custom save action? I am using &lt;code&gt;Sitecore Forms Extension&lt;/code&gt; module by Bart Verdonck.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, I don't want to uncheck &lt;code&gt;Is Ajax&lt;/code&gt; checkbox, it is being used in my form.&lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="237" LastEditDate="2019-08-27T16:26:56.007" LastActivityDate="2020-01-25T01:37:43.233" Title="Call Sitecore.Context.Item in Sitecore Forms with IsAjax checked" Tags="|sitecore-forms|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20689" PostTypeId="2" ParentId="20687" CreationDate="2019-08-26T16:34:27.927" Score="2" Body="&lt;p&gt;In Sitecore, there are two types of RSS feeds:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;RSS feeds&lt;/strong&gt; – feeds that website visitors can subscribe to.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Client RSS feeds&lt;/strong&gt; – feeds in the Content Editor that Sitecore users can subscribe to.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In Sitecore, most RSS readers do not support authentication, which means that users who subscribe to a Sitecore Client RSS feeds have direct access to the item that is specified in the URL of the RSS feed – they do not have to identify themselves to the Sitecore security system. However, the Sitecore security system verifies that they are authorized users if they try to perform any actions associated with the feed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, it will work fine without authentication after creating the RSS, just make sure to clear your browser cache or open in a different browser if it is redirecting you to the login page.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt; : Sitecore users should not share RSS feeds.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-26T16:34:27.927" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20690" PostTypeId="2" ParentId="20685" CreationDate="2019-08-26T17:20:31.930" Score="2" Body="&lt;p&gt;You don't have to override any processor. The sitemap is generated using &lt;code&gt;SitemapGenerator&lt;/code&gt; service. Take a look at &lt;code&gt;GenerateSitemap()&lt;/code&gt; method - this is an entry point (take a look also at &lt;code&gt;BuildSitemap()&lt;/code&gt; and &lt;code&gt;GetFullLink()&lt;/code&gt; protected methods).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would implement my own sitemap generator which will inherit from SXA &lt;code&gt;SitemapGenerator&lt;/code&gt; service and override just what I need. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the last step, you need to replace SXA service with your own. You can do it in two ways:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;config patch&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://stackoverflow.com/questions/43590769/replace-service-registration-in-asp-net-core-built-in-di-container&quot;&gt;replace service&lt;/a&gt; in DI container using code&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-08-26T17:27:16.103" LastActivityDate="2019-08-26T17:27:16.103" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20691" PostTypeId="1" CreationDate="2019-08-26T18:28:25.497" Score="0" ViewCount="434" Body="&lt;p&gt;I have created a simple AB test for a compenent with 2 variations following the below link.&#xA;&lt;a href=&quot;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/preview-and-start-a-content-test.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/91/sitecore-experience-platform/en/preview-and-start-a-content-test.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Test has been created successfully.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/cutH0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cutH0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run my website, I get only original component and do not see any variations of the testing component. I also see no records are being inserted for tables in Analytics/Reporting database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can i achieve this? What am I doing wrong? Any ideas would be helpful.&#xA;Thanks in advance! &lt;/p&gt;&#xA;" OwnerUserId="5955" LastEditorUserId="5955" LastEditDate="2019-08-27T07:44:49.457" LastActivityDate="2019-08-27T07:44:49.457" Title="Component testing showing no results on Optimization tab in Sitecore 8.2" Tags="|content-testing|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20692" PostTypeId="2" ParentId="20656" CreationDate="2019-08-26T18:57:16.847" Score="3" Body="&lt;p&gt;This issue was caused by the offending CD server referencing the wrong &lt;em&gt;instance&lt;/em&gt; of the index. When we checked the &lt;code&gt;core&lt;/code&gt; database's &lt;code&gt;Properties&lt;/code&gt; table for which instance each of the CDs were referencing, we found that the two functional CDs were both referencing the currently active instance (&lt;code&gt;sitecore-web-index-secondary&lt;/code&gt;, in our case), and the offending CD server was referencing &lt;code&gt;sitecore-web-index&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To find out which ones are active/inactive, you can run the following on your &lt;code&gt;coredatabase.Properties&lt;/code&gt; table (make sure to replace &lt;code&gt;__XXX__&lt;/code&gt; with the instance name of your Azure app service [e.g. &lt;code&gt;RD123456789012&lt;/code&gt;]):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;-- Find active index&#xA;SELECT * FROM Properties&#xA;WHERE [Key] LIKE '%sitecore_web%__XXX__%cloud_search_index_name'&#xA;&#xA;-- Find inactive index&#xA;SELECT * FROM Properties&#xA;WHERE [Key] LIKE '%sitecore_web%__XXX__%cloud_rebuild_index_name'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;Update from Sitecore Support&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Sitecore Support confirmed that the &lt;code&gt;This_Is_Equal_ConstNode_Return_Nothing&lt;/code&gt; keyword is used when a queried field is missing from the index. In our case it was because it was using the incorrect index instance because it had not switched to use the proper one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a hotfix available, though they do not want it shared publicly:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The described behavior with properties table can be caused by the following bug fixed in Sitecore 9.1 (reference number &lt;strong&gt;254072&lt;/strong&gt;).&#xA;  As a result of this bug, a temporary inactive or newly added CD instance might not get the correct index reference after the index rebuild.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Adding this hotfix has resolved the underlying issue for us.&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-09-03T12:53:42.373" LastActivityDate="2019-09-03T12:53:42.373" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20693" PostTypeId="1" AcceptedAnswerId="20699" CreationDate="2019-08-26T18:57:34.653" Score="2" ViewCount="306" Body="&lt;p&gt;I've added a couple of custom buttons on the Publish Chunks of the Content and Experience Editors Publish Strips. Right now, these custom buttons show for everyone, but I only want them to show up for certain roles, let's say &amp;quot;RoleA&amp;quot; for clarity.&lt;/p&gt;&#xA;&lt;p&gt;I thought this could be done by only allowing read access on the button for users with the &amp;quot;RoleA&amp;quot; role assigned to them. However, when I log in with a test user that doesn't have this role (nor is an administrator), the button is still visible and clickable.&lt;/p&gt;&#xA;&lt;p&gt;How do set it up so that this button is only visible for users with RoleA and Administrators?&lt;/p&gt;&#xA;&lt;p&gt;I'm working with Sitecore 9.0.1 at the moment.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uMIdD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uMIdD.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4157" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-12-20T02:33:52.047" Title="Content and Experience Editor custom buttons - only show for certain roles" Tags="|experience-editor|content-editor|security|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20694" PostTypeId="2" ParentId="15185" CreationDate="2019-08-26T19:12:32.003" Score="1" Body="&lt;p&gt;@Roman Klimenko's answer did not work for me, but pointed me in the right direction.&lt;/p&gt;&#xA;&lt;p&gt;My Indexer Service was running fine, sort of. The logs showed a lot of thrown exceptions all over the place. It turns out my Solr service itself had entered a paused state so it was Solr rejecting all connections to it.&lt;/p&gt;&#xA;&lt;p&gt;In my scenario, it was down because of a change in the Java path for the Environment Variable due to a recent Java update, but in general if Solr is down the search against the collection will throw a similar exception.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2022-06-24T11:31:35.793" LastActivityDate="2022-06-24T11:31:35.793" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20695" PostTypeId="1" AcceptedAnswerId="20718" CreationDate="2019-08-26T22:48:10.753" Score="0" ViewCount="898" Body="&lt;p&gt;I have already read &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8270/issue-with-sitecore-9-certificate-missing-private-key&quot;&gt;this question&lt;/a&gt;, that describes a problem similar to mine but not the same none the less.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have the following Powershell output when I try to run &lt;strong&gt;IdentityServer.json&lt;/strong&gt; script using SIF 2.1.0:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;VERBOSE: Resolving ConfigFunction extension 'ResolveCertificatePath'&#xA;VERBOSE: Resolved 'Invoke-ResolveCertificatePathConfigFunction'&#xA;VERBOSE: Resolving ConfigFunction extension 'joinpath'&#xA;VERBOSE: Resolved 'Invoke-JoinPathConfigFunction'&#xA;VERBOSE: Resolving ConfigFunction extension 'GetCertificateThumbprint'&#xA;VERBOSE: Resolved 'Invoke-GetCertificateThumbprintConfigFunction'&#xA;Install-SitecoreConfiguration : Unable to parse [ResolveCertificatePath(variable('Security.IdentityServer.CertificatePath'))] - Exception calling &quot;Evaluate&quot; with &quot;2&quot; argument(s): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Unable to parse [joinpath(variable('Security.CertificateStore'), variable('Security.IdentityServer.CertificateThumbprint'))] - Exception calling &quot;Evaluate&quot; with &quot;2&quot; argument(s): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Unable to parse [GetCertificateThumbprint(parameter('SitecoreIdentityCert'), variable('Security.CertificateStore'))] - Exception calling &quot;InvokeWithContext&quot; with &quot;2&quot; argument(s): &quot;Cannot bind argument to parameter 'Id' because it is an empty string.&quot;&quot;&quot;&#xA;At line:1 char:1&#xA;+ Install-SitecoreConfiguration –Path &quot;C:\Sitecore\ConfigurationFiles\I ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo          : NotSpecified: (:) [Write-Error],    WriteErrorException&#xA;+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:00:04&#xA;GetConfigFunctionResult : Unable to parse [ResolveCertificatePath(variable('Security.IdentityServer.CertificatePath'))] - Exception calling &quot;Evaluate&quot; with &quot;2&quot; argument(s): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Unable to parse [joinpath(variable('Security.CertificateStore'), variable('Security.IdentityServer.CertificateThumbprint'))] - Exception calling &quot;Evaluate&quot; with &quot;2&quot; argument(s): &quot;The running command stopped because the preference variable &quot;ErrorActionPreference&quot; or common parameter is set to Stop: Unable to parse [GetCertificateThumbprint(parameter('SitecoreIdentityCert'), variable('Security.CertificateStore'))] -&#xA;Exception calling &quot;InvokeWithContext&quot; with &quot;2&quot; argument(s): &quot;Cannot bind argument to parameter 'Id' because it is an empty string.&quot;&quot;&quot;&#xA;At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Private\JsonConfiguration.ps1:226 char:20&#xA;+ ...      return GetConfigFunctionResult -FunctionText $InputObject -Param ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,GetConfigFunctionResult&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QUESTION(s)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this saying that the &lt;strong&gt;SitecoreIdentityCert&lt;/strong&gt; parameter is missing? If so, am I supposed to specify what exactly, the name of this certificate in the Certificates Store?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I previously installed a default developer version of XP1 Scaled using SIF, but the self-signed certificates were created automatically. Why is this not happening this time?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="73" LastEditDate="2019-08-28T10:21:28.203" LastActivityDate="2019-08-28T10:21:28.203" Title="Certificate Issues during Sitecore 9.2 install with SIF 2.1.0: missing &quot;SitecoreIdentityCert&quot; from script config?" Tags="|sitecore-install-framework|certificate|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20696" PostTypeId="1" CreationDate="2019-08-27T02:36:07.153" Score="0" ViewCount="256" Body="&lt;p&gt;Few authors don't check-in the changes they submit directly which locks the item and the approved couldn't approve since the item is locked, is there an OOTB way to handle it?&lt;/p&gt;&#xA;" OwnerUserId="3621" LastEditorUserId="124" LastEditDate="2019-08-27T03:22:28.420" LastActivityDate="2019-08-27T03:35:06.083" Title="How do I force authors to check-in the changes in workflow" Tags="|workflow|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20697" PostTypeId="2" ParentId="20696" CreationDate="2019-08-27T03:35:06.083" Score="4" Body="&lt;p&gt;To change the behavior of locking and unlocking, an administrator or developer can configure one or more of the following settings.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;RequireLockBeforeEditing&lt;/strong&gt; - requires users (except those with admin rights) to lock an item before editing or changing workflow status. Set to True by default. If you disable this setting, users can change an item or workflow state without being required to lock the item.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;AutomaticLockOnSave&lt;/strong&gt; - causes items to be locked automatically when a user saves the item.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;AutomaticUnlockOnSaved&lt;/strong&gt; - causes items to be unlocked automatically when a user saves the item.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To ensure that items do not remain locked for long periods of time, you can use these settings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;RequireLockBeforeEditing=true and AutomaticUnLockOnSaved=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With these settings, the user must manually lock an item before editing it, and when they save the item, it is automatically unlocked. In this case, the user will have to lock the item again to continue editing, but it avoids the situation where a user leaves an item locked when they are out of the office or on vacation.&#xA;For more see - &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/configuring-item-locking.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/configuring-item-locking.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-08-27T03:35:06.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20699" PostTypeId="2" ParentId="20693" CreationDate="2019-08-27T06:26:16.583" Score="3" Body="&lt;p&gt;&lt;code&gt;Read&lt;/code&gt; access is inherited by default. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to stop inheritance of it for &lt;code&gt;Sitecore Client Users&lt;/code&gt; first and then add &lt;code&gt;Read&lt;/code&gt; access for your custom role:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/OybNP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/OybNP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x31ek.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x31ek.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-08-27T06:26:16.583" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20700" PostTypeId="1" CreationDate="2019-08-27T06:42:49.097" Score="0" ViewCount="718" Body="&lt;p&gt;Using Sitecore 9.2 and SXA 1.9, I've created a Partial design which appears OK in the Experience Editor. I've then added the Partial design to a Page design but when I view that Page design in the Experience Editor, nothing is displayed. Why could that be?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've seen this post but our site settings are correct:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/16635/partial-designs-are-not-visible-on-page-design&quot;&gt;Partial Designs are not visible on Page Design&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2019-08-27T12:28:39.300" LastActivityDate="2024-02-04T15:03:25.370" Title="Partial design content not appearing in Page design" Tags="|sxa|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="20701" PostTypeId="2" ParentId="16770" CreationDate="2019-08-27T08:39:21.323" Score="0" Body="&lt;p&gt;This issue is resolved by removing the unused configuration file. In our instance, there was a backup folder which contains the configuration file, which blocked the custom event handler on publishing service. &lt;/p&gt;&#xA;" OwnerUserId="2930" LastActivityDate="2019-08-27T08:39:21.323" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20702" PostTypeId="1" CreationDate="2019-08-27T09:33:24.897" Score="1" ViewCount="62" Body="&lt;p&gt;I am using Sitecore 9.0.2 and Dynamics CRM Connector 2.0.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While I get a contact from CRM to Sitecore using sync pipeline batch, the same gets updated in Sitecore and is synced back to CRM using the pipeline batch. This completes one cycle of update.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now if this cointact is again updated in CRM and synced to Sitecore this works fine till here, moving on this contact gets update in Sitecore now i can see the correct details in xDB as well as indexes but these details are not getting synced to CRM this time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any possible reasons for such behavior ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Samridhi&lt;/p&gt;&#xA;" OwnerUserId="3900" LastEditorUserId="73" LastEditDate="2019-08-27T12:13:24.583" LastActivityDate="2019-08-27T12:13:24.583" Title="Unable to sync sitecore contact to CRM" Tags="|dynamics-crm-module|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20706" PostTypeId="1" CreationDate="2019-08-27T14:28:52.840" Score="2" ViewCount="44" Body="&lt;p&gt;Sitecore version: 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue: Users in the segmented list do not have email and name&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I am doing:&#xA;When a user registers on my application, I programmatically trigger the Sitecore provided 'Register' goal.&#xA;To send the e-mails, I have created a segmented list. The list is segmented using the out-of-box rule where users have trigged a specific goal in the last 1 day.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In this segmented list, I am finding the user count in list getting updated but the email and name fields are blank for random users. I am getting all the details for a few users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am creating contacts using xConnect before triggering the goal.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am unable to understand this. Please help me to understand the same.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-08-27T14:28:52.840" Title="Email and name fields are blank for some users" Tags="|list-manager|goals|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20708" PostTypeId="1" CreationDate="2019-08-27T14:54:21.907" Score="3" ViewCount="2442" Body="&lt;p&gt;Fresh new Sitecore XP 9.2 + JSS 12.0 and trying to deploy an OOTB react JSS app.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The ApiKey is created (with two &lt;code&gt;*&lt;/code&gt; for test only).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Layout Service is responding on &lt;code&gt;/sitecore/api/layout/render/jss?item=/&amp;amp;sc_apikey={...}&lt;/code&gt; properly with &lt;code&gt;{&quot;sitecore&quot;:{&quot;context&quot;:{&quot;pageEditing&quot;:false,&quot;site&quot;:{&quot;name&quot;:&quot;website&quot;}...&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;jss setup&lt;/code&gt; and &lt;code&gt;jss deploy config&lt;/code&gt; worked perfectly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I run &lt;code&gt;jss deploy app -c -d&lt;/code&gt; I have this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;JSS is manifest packaging my-jss-app to ./sitecore/package...&#xA;Adding data/media/files/jss.pdf&#xA;Adding data/media/img/jss_logo.png&#xA;Adding data/media/img/sc_logo.png&#xA;Adding sitecore-import.json&#xA;Wrote sitecore\package\my-jss-app.1566916961828.manifest.zip&#xA;Sending package sitecore\package\my-jss-app.1566916961828.manifest.zip to http://jss-sc920-2.sc/sitecore/api/import...&#xA;Unexpected response from import service:&#xA;Status message: Found&#xA;Body: &amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Object moved&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&#xA;&amp;lt;h2&amp;gt;Object moved to &amp;lt;a href=&quot;/sitecore/service/notfound.aspx?item=%2fsitecore%2fapi%2fimport&amp;amp;amp;user=extranet%5cAnonymous&amp;amp;amp;site=website&quot;&amp;gt;here&amp;lt;/a&amp;gt;.&amp;lt;/h2&amp;gt;&#xA;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Really would appreciate any help.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: I'm already using all latest version so &lt;a href=&quot;https://sitecore.stackexchange.com/questions/16270/import-process-fails-unexpected-response-from-import-service-status-message&quot;&gt;Import process fails : &amp;quot;Unexpected response from import service: Status message: Found&amp;quot;&lt;/a&gt; doesn't apply.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="73" LastEditDate="2019-08-27T15:02:59.133" LastActivityDate="2021-04-24T12:59:16.597" Title="Unexpected response from import service: Status message: Found" Tags="|jss|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20709" PostTypeId="1" AcceptedAnswerId="20710" CreationDate="2019-08-27T15:40:14.240" Score="0" ViewCount="681" Body="&lt;p&gt;I've been asked by my client to disable content testing in Sitecore, as it will not be used in the near future and the hope is disabling it will improve site performance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've searched the documentation and other articles, and the following config would seem to do what I'm asking:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&#xA;  Following configuration is to disable A/B testing on site to improve performance&#xA;--&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;group name=&quot;itemProvider&quot; groupName=&quot;itemProvider&quot;&amp;gt;&#xA;      &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;getItem help=&quot;Processors should derive from Sitecore.Pipelines.ItemProvider.GetItem.GetItemProcessor.&quot;&amp;gt;&#xA;          &amp;lt;processor type=&quot;Sitecore.ContentTesting.Pipelines.ItemProvider.GetItem.GetItemUnderTestProcessor, Sitecore.ContentTesting&quot; &amp;gt;&#xA;            &amp;lt;patch:delete /&amp;gt;&#xA;          &amp;lt;/processor&amp;gt;&#xA;        &amp;lt;/getItem&amp;gt;&#xA;      &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/group&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;ContentTesting.AutomaticContentTesting.Enabled&quot; value=&quot;false&quot; &amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, the issue I'm having is the patch:delete doesn't seem to work; when I check the compiled configuration, the processor entry is still there. The ContentTesting.AutomaticContentTesting.Enabled setting patch is applied, though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So my questions are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Given that I'm trying to improve performance, is this the correct way to go about it with Sitecore 9.0.1?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If so, why isn't my patch:delete statement working?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;As I said, I'm using Sitecore 9.0.1.&lt;/p&gt;&#xA;" OwnerUserId="4157" LastActivityDate="2019-08-27T15:55:13.317" Title="Want to disable Content Testing in Sitecore 9.0.1, having issues patching configuration" Tags="|performance-optimization|content-testing|patch-configuration|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20710" PostTypeId="2" ParentId="20709" CreationDate="2019-08-27T15:55:13.317" Score="2" Body="&lt;p&gt;You're missing one &lt;code&gt;&amp;lt;pipelines&amp;gt;&lt;/code&gt; node around &lt;code&gt;&amp;lt;group&amp;gt;&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;group name=&quot;itemProvider&quot;&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;getItem&amp;gt;&#xA;            &amp;lt;processor type=&quot;Sitecore.ContentTesting.Pipelines.ItemProvider.GetItem.GetItemUnderTestProcessor, Sitecore.ContentTesting&quot; &amp;gt;&#xA;              &amp;lt;patch:delete /&amp;gt;&#xA;            &amp;lt;/processor&amp;gt;&#xA;          &amp;lt;/getItem&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;ContentTesting.AutomaticContentTesting.Enabled&quot; value=&quot;false&quot; &amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-08-27T15:55:13.317" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20712" PostTypeId="1" CreationDate="2019-08-27T18:34:44.147" Score="1" ViewCount="153" Body="&lt;p&gt;When I want to excecute a powerhsel Script in sitecore 9 update 2 with SPE 5 I get the following authentication Dialog.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GKhuY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GKhuY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I am using Azure Federated Authentication Login to log in into sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here I am not able to choose another account or Username and when I try to enter the right password for my account nothing happens. Is there a way to configure SPE so that I can use Azure Authentication?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="95" LastEditDate="2019-08-27T18:55:21.420" LastActivityDate="2019-08-27T18:55:21.420" Title="Session Elevation options when using Federated Authentication" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20713" PostTypeId="2" ParentId="20688" CreationDate="2019-08-27T18:39:32.093" Score="2" Body="&lt;p&gt;The issue is that the js file jquery.unobtrusive-ajax.js in the folder &#xA;&lt;code&gt;\sitecore modules\Web\ExperienceForms\scripts&lt;/code&gt; is different from the out of the box Sitecore and Sitecore extensions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See here.&#xA;&lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/src/Feature/FormsExtensions/code/sitecore%20modules/Web/ExperienceForms/scripts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions/tree/master/src/Feature/FormsExtensions/code/sitecore%20modules/Web/ExperienceForms/scripts&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to copy back in the js files from the out of the box Sitecore install.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just submitted a bug request to the forms extension for this. &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions/issues/50&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions/issues/50&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-08-27T18:49:43.463" LastActivityDate="2019-08-27T18:49:43.463" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20714" PostTypeId="2" ParentId="20658" CreationDate="2019-08-27T19:30:07.127" Score="0" Body="&lt;p&gt;Thanks @MarkCassidy @AmitKumar @Himanshu Agarwal for your help. I was able to resolve this. Actually the issue was with the network port of SQL Database. Sitecore was not able to connect to the SQL database at the default port. So, we specifically opened the port for connection and it worked.&lt;/p&gt;&#xA;" OwnerUserId="696" LastActivityDate="2019-08-27T19:30:07.127" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20715" PostTypeId="1" CreationDate="2019-08-28T04:47:12.310" Score="1" ViewCount="156" Body="&lt;p&gt;I am trying to migrate sitecore items from sitecore 8.1 to Sitecore 9.0, we tried by creating package and serialization both attempts it has failed. We cant take the database backup and proceed because of the client guidelines. Can any one suggest the best approach for the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks &#xA;Shrinivasan&lt;/p&gt;&#xA;" OwnerUserId="4019" LastActivityDate="2021-09-14T14:56:59.897" Title="Sitecore 9.0 Migrating the Sitecore Items from Sitecore 8.1 to Sitecore 9.0" Tags="|sitecore-client|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20716" PostTypeId="2" ParentId="20681" CreationDate="2019-08-28T05:49:54.473" Score="0" Body="&lt;p&gt;You may invoke child ajax method on success and pass login form data to this ajax method.&#xA;Here child ajax method will call another page controller action method.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$('#btnSubmit').click(function (e) {&#xA;        var formdata = $(&quot;#frmLogin&quot;).serialize();&#xA;        $.ajax({&#xA;            url: $(&quot;#frmLogin&quot;).attr('action'),&#xA;            type: &quot;POST&quot;,&#xA;            data: formdata,&#xA;            success: function (result) {&#xA;                if (result.Success == &quot;Success&quot;) {&#xA;                    // Now call another ajax method to pass data&#xA;                     $.ajax({&#xA;                     url: //pass another page controller action,&#xA;                     type: &quot;POST&quot;,&#xA;                     data: formdata,&#xA;                     success: function (result) { }                &#xA;                     });&#xA;            },&#xA;            error: function (Error) {&#xA;&#xA;            }&#xA;&#xA;        });&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hopefully this will help you. &lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-08-28T05:49:54.473" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20717" PostTypeId="2" ParentId="20715" CreationDate="2019-08-28T05:52:15.123" Score="1" Body="&lt;p&gt;I would recommend on eof the following two approaches&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Razl&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.teamdevelopmentforsitecore.com/Razl&lt;/a&gt; and merge the content of sitecore 8.2 database to 9.0&lt;/li&gt;&#xA;&lt;li&gt;package the templates,Layouts/renderings,images,custom rules/settings,pages and content items(data source items) as seperate packages and install it on the vanilla sitecore 9 version.You can also serialize the same sections mentioned from old database and deserialize it to new database &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-08-28T05:52:15.123" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20718" PostTypeId="2" ParentId="20695" CreationDate="2019-08-28T05:53:19.783" Score="1" Body="&lt;p&gt;OOTB IdentityServer.json needs a certificate name, that certificate name is used to create a Server+Client authentication certificate, and that certificate is further used for following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;HTTPS binding in IIS for Identity Server website.&lt;/li&gt;&#xA;&lt;li&gt;Thumbprint of certificate used inside configuration of identity server. See &quot;CertificateThumbprint&quot; setting value in file {Your-Identityserver-webroot}\Config\production\Sitecore.IdentityServer.Host.xml&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If you are trying to execute IdentityServer.json directly, I would suggest you to review all default parameters in the json file and check the values are correct for your requirement.&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-08-28T05:53:19.783" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20719" PostTypeId="2" ParentId="20683" CreationDate="2019-08-28T06:20:57.203" Score="2" Body="&lt;p&gt;While there is no direct way of associating the tags with commerce items, you can leverage the use of tags in commerce item.You can fill in the tag field of the commerce item with the tag you want to search.For example, you want to associate tag &quot;symposium&quot; with commerce item, add &quot;symposium&quot; to tags field of commerce item and search for indexed field &quot;tags_txm&quot; using sitecore API to retrieve the commerce products.Here is the screenshot of how sitecore commerce tags are stored in Solr.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3SRyy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3SRyy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-08-28T06:20:57.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20720" PostTypeId="1" CreationDate="2019-08-28T09:02:37.437" Score="1" ViewCount="954" Body="&lt;p&gt;Our site is currently implemented in SXA 1.5 and Sitecore 8.2 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We generate the styles through the following code in our Main Layout file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;AssetLinks assetLinks = AssetLinksGenerator.GenerateLinks(new ThemesProvider());&#xA;&#xA;  @foreach (string style in assetLinks.Styles)&#xA;  {&#xA;    @Html.Raw(style)&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Thus we have the following generated link for Styles (Style optimization set as Optimized in Page Content in SXA)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link href=&quot;/-/media/themes/mysite/styles/optimized-min.css?t=20190819T075414Z&quot; rel=&quot;stylesheet&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now there is a requirement from the SEO team to add an attribute to the above CSS tag as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;link rel=&quot;preload&quot; href=&quot;/-/media/themes/mysite/styles/optimized-min.css?t=20190819T075414Z&quot; as=&quot;style&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How can we achieve this customized tag in SXA?&lt;/p&gt;&#xA;" OwnerUserId="4827" LastEditorUserId="73" LastEditDate="2019-08-28T10:14:12.010" LastActivityDate="2019-08-28T11:10:31.500" Title="Custom Attribute in Style tags in SXA &lt;link rel=preload&gt;" Tags="|sxa|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20721" PostTypeId="2" ParentId="20720" CreationDate="2019-08-28T09:17:03.937" Score="1" Body="&lt;p&gt;I don't know if there is any clean way to enrich the SXA code which generates &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; tags, but you can always just use &lt;code&gt;String.Replace&lt;/code&gt; like that:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;style.Replace(&quot;&amp;lt;link&quot;, &quot;&amp;lt;link rel=\&quot;preload\&quot;&quot;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will make sure that &lt;code&gt;rel=&quot;preload&quot;&lt;/code&gt; attribute is added to your tag. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add &lt;code&gt;as=&quot;style&quot;&lt;/code&gt; or any other attributes in the same way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Raw(style.Replace(&quot;&amp;lt;link&quot;, &quot;&amp;lt;link rel=\&quot;preload\&quot;&quot;))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-08-28T09:17:03.937" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20722" PostTypeId="1" AcceptedAnswerId="20726" CreationDate="2019-08-28T09:38:45.167" Score="2" ViewCount="540" Body="&lt;p&gt;Working with Sitecore 9 (Update 1), SXA 1.7 and Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the &lt;code&gt;Map&lt;/code&gt; component along with &lt;code&gt;Location Finder&lt;/code&gt; and &lt;code&gt;Search Results&lt;/code&gt; component. I want to do some changes on the results thrown by SXA search in JSON format before rendering it on the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance, I have 10 POIs when I search for a location in the Location Finder component, Search Results will populate the results from the search and render it according to the Rendering Variant. Is there any way to get all the results and do something with it?&lt;/p&gt;&#xA;" OwnerUserId="3607" LastActivityDate="2019-08-28T10:35:22.657" Title="Get the Json result thrown by SXA Search before rendering it" Tags="|sxa|content-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20723" PostTypeId="2" ParentId="20722" CreationDate="2019-08-28T09:54:41.397" Score="0" Body="&lt;p&gt;From the question I understand that you want to change the way the result is getting rendered on the page.&#xA;For this &lt;/p&gt;&#xA;&#xA;&lt;p&gt;a. Make a copy of existing view file&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b. Then make changes according to your requirement. Save It.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;c. Next you have to follow steps on &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html#UUID-bc2af07b-4427-3f64-04a5-a665ba26aa85_id__Copy_and_customize&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/copy-and-customize-a-rendering.html#UUID-bc2af07b-4427-3f64-04a5-a665ba26aa85_id__Copy_and_customize&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-08-28T09:54:41.397" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20724" PostTypeId="1" CreationDate="2019-08-28T10:07:51.717" Score="0" ViewCount="78" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 9 update 2&lt;/code&gt;. I have a large amount of data to be synchronized from the Production environment to a QA environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using below two approaches:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sync using &lt;code&gt;RAZL 4.0&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Package uploading &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Both are taking a lot of time. Is there any other approach available for the same? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are not using Unicorn or TDS we have centralized Database for Sitecore items.&lt;/p&gt;&#xA;" OwnerUserId="5926" LastEditorUserId="5926" LastEditDate="2019-08-28T10:14:24.207" LastActivityDate="2019-08-28T10:14:24.207" Title="Content synchronization Options" Tags="|razl|" AnswerCount="0" CommentCount="2" ClosedDate="2019-08-28T13:41:04.277" ContentLicense="CC BY-SA 4.0" />
  <row Id="20726" PostTypeId="2" ParentId="20722" CreationDate="2019-08-28T10:23:32.503" Score="4" Body="&lt;p&gt;Modification of results items before sending them to the front-end scripts might be hard in SXA 1.7. You would need to:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;override &lt;code&gt;SearchController&lt;/code&gt; and modify &lt;code&gt;GetResults()&lt;/code&gt; method - this method is building a query, getting items and preparing &lt;code&gt;ResultsSet&lt;/code&gt; which later on is sent to the front-end&lt;/li&gt;&#xA;&lt;li&gt;replace controller in DI container&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;It is possible but I do not recommend going that way. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option is to modify the results on the front-end. Search Renderings are using events to notify that e.g.: results have been loaded from the server. You can modify the list of listeners for &lt;code&gt;results-loaded&lt;/code&gt; event and put your handler at the first place. It can modify the list of results loaded form the server and modify them before notifying other renderings. Keep in mind that the HTML (which is present in JSON) will be already processed by Rendering Variants. And this is probably not what you want...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best option would be to update to SXA 1.9 where you will find new custom pipeline called &lt;code&gt;processSearchItems&lt;/code&gt;. This pipeline is triggered after getting items but before processing them by Rendering Variants and sending to the front-end. This is the perfect place to so some modification to the list of results. You can even bind your results to additional models (basically custom object) and process this later on by Variants Model item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Arguments of that pipeline contain two properties:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public List&amp;lt;Item&amp;gt; Items { get; set; }&#xA;public List&amp;lt;SearchItem&amp;gt; SearchItems { get; set; } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;SearchItem&lt;/code&gt; contains:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public Item Item { get; set; }&#xA;public object Model { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The model property gives huge flexibility to transfer additional data to Rendering Variants. You can, later on, use this &lt;code&gt;Model&lt;/code&gt; property in those two Variant Items:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/g2ia7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/g2ia7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-08-28T10:35:22.657" LastActivityDate="2019-08-28T10:35:22.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20727" PostTypeId="2" ParentId="20720" CreationDate="2019-08-28T11:10:31.500" Score="1" Body="&lt;p&gt;&lt;code&gt;AssetLinksGenerator&lt;/code&gt; service is responsible for generating links to scripts and styles. You have two options:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Override that service and modify &lt;code&gt;GenerateAssetLinks()&lt;/code&gt; method like more or less this: &lt;a href=&quot;https://i.stack.imgur.com/sk8dP.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sk8dP.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &#xA;Unfortunately, this service is not registered in the DI container (I think it should, we need to change it) and you will need to modify &lt;code&gt;SxaLayout.cshtml&lt;/code&gt;:&lt;a href=&quot;https://i.stack.imgur.com/YPbnM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/YPbnM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/li&gt;&#xA;&lt;li&gt;Go to the &lt;code&gt;SxaLayout.cshtml&lt;/code&gt; and modify the list of links directly there without need to override &lt;code&gt;AssetLinksGenerator&lt;/code&gt;. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In both cases, you need to modify the &lt;code&gt;SxaLayout.cshtml&lt;/code&gt; view. Keep in mind that this file will be overridden while upgrading SXA.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-08-28T11:10:31.500" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20728" PostTypeId="1" CreationDate="2019-08-28T11:18:41.070" Score="4" ViewCount="2668" Body="&lt;p&gt;I am getting the error &quot;Failed to start the Marketing Automation Engine service&quot; - While installing Sitecore 9.2 on my local machine via Sitecore Install Assistant (SIA).&#xA;I have installed SOLR 7.5 and it is running perfectly fine.&#xA;I also have installed all the prerequisite by SIA itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the screenshot attached for reference :-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2M8mY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2M8mY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have checked the logs and found different error on different time stamp. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Error] Error initializing XConnect client.&#xA;System.AggregateException: One or more errors occurred. ---&amp;gt; Sitecore.XConnect.XdbCollectionUnavailableException: The HTTP response was not successful: Forbidden&#xA;   at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.&amp;lt;Refresh&amp;gt;d__6.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.&amp;lt;InitializeAsync&amp;gt;d__32.MoveNext()&#xA;&#xA;[Error] Failed to start the Marketing Automation Engine service.&#xA;System.InvalidOperationException: This configuration has not been initialized. Please call the initialize method before using it.&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.CheckInitialized()&#xA;   at Sitecore.XConnect.Client.XConnectClientConfiguration.get_CurrentModel()&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)&#xA;   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;RealizeService&amp;gt;b__0(ServiceProviderEngineScope scope)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have tried to start service manually but again getting below shown error :-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zOW2O.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zOW2O.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Getting few error in event viewer  as well as shown below :-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bUhwr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bUhwr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/EdYpM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/EdYpM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JZ2jZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JZ2jZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Earlier I was able to install Sitecore 9.2 with the same steps which I have followed. But this time I have been stuck at this error.&#xA;I have tried clearing the incomplete instance of Sitecore 9.2 once and the reinstalling again after restarting my laptop but no luck so far.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did any one faced this issue or have any idea about this issue? &lt;/p&gt;&#xA;" OwnerUserId="3133" LastEditorUserId="73" LastEditDate="2019-08-28T11:25:26.457" LastActivityDate="2022-06-29T06:39:53.423" Title="Getting Error - Failed to start the Marketing Automation Engine service - While installing Sitecore 9.2 via SIA" Tags="|sitecore-install-assistant|" AnswerCount="8" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20730" PostTypeId="1" CreationDate="2019-08-28T12:07:11.640" Score="2" ViewCount="234" Body="&lt;p&gt;I have created a &lt;code&gt;custom Rule&lt;/code&gt; in &lt;code&gt;/sitecore/system/Settings/Validation Rules/Item Rules&lt;/code&gt;&#xA;When I press the validate button, I can see the Rule and its result, so far so good. But the &lt;code&gt;Validation Button&lt;/code&gt; is optional, editors might just not use it.&#xA;What I want is to run my rule when I save the Page in &lt;code&gt;Experience Editor&lt;/code&gt; and prevent saving the item like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3Cdfd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3Cdfd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know this works fine when I add a &lt;code&gt;regex&lt;/code&gt; validation on any items field template, but not sure how to deal with a validation item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the Validation Item is not correct, then simply asked how can I perform any action in code while saving and show this red layer if it fails?&lt;/p&gt;&#xA;" OwnerUserId="4767" LastEditorUserId="2152" LastEditDate="2019-08-28T12:08:59.443" LastActivityDate="2019-08-28T12:08:59.443" Title="Run Validation Item on Save in Experience Editor" Tags="|experience-editor|validation|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20731" PostTypeId="1" AcceptedAnswerId="20732" CreationDate="2019-08-28T14:01:46.957" Score="1" ViewCount="129" Body="&lt;p&gt;In all of our environments, any time there is an index update to our Azure Search indexes, we see the following WARN message logged repeatedly (many thousands of times):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;06:11:06 WARN  [Index=sitecore_web_index] 'GUID' field of 'GUID' item is skipped: the field name is missed.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This message is logged because we have specified included fields for our search indexes to work around the Azure Search 1000 field limit, but not every item that we index contains every field we want to index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know how to resolve this?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-08-28T14:01:46.957" Title="Warning message: 'GUID' field of 'GUID' item is skipped: field name is missed" Tags="|azure|indexing|azure-search|paas|index|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20732" PostTypeId="2" ParentId="20731" CreationDate="2019-08-28T14:01:46.957" Score="1" Body="&lt;p&gt;I contacted Sitecore Support about this issue and they responded promptly with a patch to resolve it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They have asked that it not be shared publicly, but you can retrieve the patch by referencing reference number &lt;strong&gt;253826&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-08-28T14:01:46.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20733" PostTypeId="1" CreationDate="2019-08-28T15:00:59.137" Score="0" ViewCount="277" Body="&lt;p&gt;Working with Sitecore 9 (Update 1), SXA 1.7.1 and Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Components added on the page: Map, Location Finder, Search Results (all components have same search signature).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am facing this issue only in the &lt;code&gt;fr-FR&lt;/code&gt; site I have created in SXA. I created a page in &lt;code&gt;fr-FR&lt;/code&gt; and all the mentioned component on it. When I try to search for any location, the &lt;code&gt;Search Results&lt;/code&gt; component does not load any results instead just shows the loading symbol. The console is throwing an error saying &lt;code&gt;400 Bad Request&lt;/code&gt;. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/zmTYc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zmTYc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/HJZoS.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HJZoS.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked all the items used in this scenario like Scopes, Facets or Rendering Variants. I found out whenever I add &lt;code&gt;Distance&lt;/code&gt; Facet in the component &lt;code&gt;Location Finder&lt;/code&gt; it breaks the search and throws 400. &lt;strong&gt;Reminder&lt;/strong&gt;: It is working fine in other languages. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Search query: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://mylocal.com/fr/sxa/search/results/?l=fr-FR&amp;amp;s={1AB997C8-36F9-4A14-81CD-02801D89B7CF}&amp;amp;itemid={839D6B67-A046-4E84-9F12-6E1BDDB4197C}&amp;amp;sig=&amp;amp;autoFireSearch=true&amp;amp;v={0EA6CE1F-3008-4783-95BF-E550C4CC2182}&amp;amp;p=20&amp;amp;g=48.856614|2.3522219000000177&amp;amp;o=Distance,Ascending&amp;amp;site=mylocal&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Ii9KI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ii9KI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.BadRequestException&#xA;Message: Error in the request URI, headers, or body&#xA;Source: Sitecore.ContentSearch.Azure&#xA;   à Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage response)&#xA;   à Sitecore.ContentSearch.Azure.Http.SearchServiceClient.Search(String expression)&#xA;   à Sitecore.ContentSearch.Azure.Http.CompositeSearchService.Search(String expression)&#xA;   à Sitecore.XA.Foundation.VersionSpecific.Search.Azure.LinqToCloudIndex1.Execute(CloudQuery query, Int32&amp;amp; countDoc, Int32&amp;amp; totalDoc, Dictionary2&amp;amp; facetResult)&#xA;   à Sitecore.XA.Foundation.VersionSpecific.Search.Azure.LinqToCloudIndex`1.ExecuteTResult&#xA;   à Sitecore.XA.Feature.Search.Controllers.SearchController.GetResults(String v, String q, String s, String l, String g, String o, Int32 e, Int32 p, String sig, String site, String itemid)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;Message: {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;Invalid expression: Unrecognized 'Edm.Geography' literal 'geography'Point(2,2908303 48,8870341)'' at '26' in 'geo.distance(geolocation, geography'Point(2,2908303 48,8870341)') lt 200' with reason 'Expecting token type \&quot;Number\&quot; with text \&quot;\&quot; but found \&quot;Type:[7] Text:[,]\&quot;.'.\r\nParameter name: $filter&quot;}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="3607" LastEditDate="2019-09-16T13:35:54.060" LastActivityDate="2019-09-16T13:35:54.060" Title="SXA Search showing 400 Bad Request error (Infinite Loading)" Tags="|sxa|search-facet|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20734" PostTypeId="1" AcceptedAnswerId="20821" CreationDate="2019-08-28T15:11:56.060" Score="0" ViewCount="198" Body="&lt;p&gt;I've installed Sitecore Powershell Extensions version 5.0 on Sitecore 8.2 update 7, I also installed Microsoft.Management.Infrastructure as it was a dependency. I installed this library through NuGet and then added a reference to it in my Visual Studio project. After publishing to my local site I get this error when trying to access Sitecore: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Could not load file or assembly 'Microsoft.Management.Infrastructure'&#xA;  or one of its dependencies. &lt;strong&gt;Strong name signature could not be&#xA;  verified.  The assembly may have been tampered with, or it was delay&#xA;  signed but not fully signed with the correct private key&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm not sure where the problem is. Anyone have any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm on a Win7 platform running IIS. &lt;/p&gt;&#xA;" OwnerUserId="2974" LastEditorUserId="73" LastEditDate="2019-08-28T15:43:38.103" LastActivityDate="2019-09-06T16:29:44.067" Title="Error with PowerShell Extension dependency Microsoft.Management.Infrastructure" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20735" PostTypeId="1" CreationDate="2019-08-28T15:31:16.510" Score="1" ViewCount="341" Body="&lt;p&gt;I am using sitecore 9.1.1 with SXA 1.8 installed. I have created a simple contact form using &lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;form extensions&lt;/a&gt; (By &lt;strong&gt;Bart verdonck&lt;/strong&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the form  gets displayed partially(all input tags of &lt;code&gt;type='text'&lt;/code&gt; and labels does not show up) on the  published page. See the below figure 1&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bfDYW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bfDYW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see some issues in console , but it is not much clear as they are objecting the other fields of form to display. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, when i open that form in Experience Editor, the form is visible. See Figure 2&#xA;&lt;a href=&quot;https://i.stack.imgur.com/XRpm8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XRpm8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The sad thing is that the same form with the same setup is displaying on local machine even though console has the same error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What I have done till now to fix it but in vain?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Added the functions explicitly (&lt;code&gt;Html.RenderFormStyles()&#xA;Html.RenderFormScripts()&lt;/code&gt;) in the &lt;code&gt;formbuilder/Form.cshtml&lt;/code&gt; file.&lt;/li&gt;&#xA;&lt;li&gt;Modified the sxalayout.cshtml file and modified the function which is called for the form.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have also gone through the listed links&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/19119/jquery-not-defined-error-on-sitecore-9-1-1-forms-submission&quot;&gt;http://achievecreative.com/articles/jquery-is-not-defined-when-you-are-using-sitecore-91-form-with-sxa&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/19119/jquery-not-defined-error-on-sitecore-9-1-1-forms-submission&quot;&gt;jQuery not defined error on sitecore 9.1.1 forms submission&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;and few more links too.. but no lucks...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea why the form isn't displaying?   &lt;/p&gt;&#xA;" OwnerUserId="4748" LastEditorUserId="5615" LastEditDate="2019-08-29T13:00:29.920" LastActivityDate="2019-08-29T13:00:29.920" Title="Form not getting displayed on published page" Tags="|sxa|sitecore-forms|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20736" PostTypeId="2" ParentId="20348" CreationDate="2019-08-28T15:54:17.017" Score="0" Body="&lt;p&gt;I believe this was caused by a poor Sitecore 9.0.1 upgrade. I ended up installing a fresh 9.0.1 site, and then migrating my content &amp;amp; code over to that. Forms area is working now.&lt;/p&gt;&#xA;" OwnerUserId="5848" LastActivityDate="2019-08-28T15:54:17.017" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20737" PostTypeId="1" CreationDate="2019-08-28T17:34:50.307" Score="2" ViewCount="162" Body="&lt;p&gt;Smart Publish appears to clean out HTMLCache selectively, essentially only for the items that have been published rather than fully clearing out the HTML cache. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have several pages whose content is dependent on it's child items and doesnt get updated when the child item is smart published. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to indicate to sitecore that these are &quot;related&quot; content and to kick out the parent page's HTML from the cache when the child item is published?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or would I need to create a custom cache clearing strategy for that page's renderings?&lt;/p&gt;&#xA;" OwnerUserId="4394" LastActivityDate="2020-06-29T13:15:44.810" Title="Can smart publish be configured to clear HTML Cache for a page when it's child page has been published?" Tags="|publishing|caching|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20738" PostTypeId="1" AcceptedAnswerId="20748" CreationDate="2019-08-28T17:58:45.870" Score="0" ViewCount="292" Body="&lt;p&gt;I am using vanilla Coveo Hive components on my Sitecore website.  I have created and configured a search page.  This page uses the &lt;code&gt;Coveo Breadcrumbs&lt;/code&gt; component, and everything is hooked up and working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever a facet is selected, this component renders the text &lt;code&gt;Clear&lt;/code&gt;.  How do you control and customize this text?  It appears that this rendering does not have a datasource or rendering parameters, and I can't find any documentation regarding dictionary keys.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For clarification, this is the text element I am attempting to change: &lt;a href=&quot;http://prntscr.com/oysgr3&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://prntscr.com/oysgr3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know I can do it within CSS, but I'd prefer to avoid hardcoding this.&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="430" LastEditDate="2019-08-28T18:16:29.583" LastActivityDate="2019-08-29T11:07:49.587" Title="Coveo Breadcrumb - How do you customize the Text?" Tags="|coveo|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20739" PostTypeId="1" CreationDate="2019-08-28T19:28:06.870" Score="1" ViewCount="216" Body="&lt;p&gt;We are using Sitecore 9.0 with SXA 1.8. The links are not updating in the Link database while adding any SXA components in the pages with local data-source items. But, the links are updating for the data-source items which are referenced in the Global Data folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a expected behavior for local data-source items or any way we can make it work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The referrer links are showing as None even though it has been referred in a page data-source.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/f03Kf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/f03Kf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/szAc7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/szAc7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4286" LastEditorUserId="73" LastEditDate="2019-08-28T19:28:35.510" LastActivityDate="2019-08-28T19:28:35.510" Title="Sitecore navigate Links are not updating for Local datasources" Tags="|sxa|link-database|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20740" PostTypeId="2" ParentId="20597" CreationDate="2019-08-28T19:44:05.700" Score="0" Body="&lt;p&gt;It appears that Sitecore automatically tokenizes the field I'm interested in. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Found inside Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;title&quot; storageType=&quot;NO&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;NO&quot; boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This in tern causes the field to be broken up into multidimensional commponents rather than a single field to be sorted on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;More about this can be found here: &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sorting-and-ordering-results-in-sitecore-7&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecore_7_development_team/posts/sorting-and-ordering-results-in-sitecore-7&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4394" LastActivityDate="2019-08-28T19:44:05.700" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20741" PostTypeId="1" CreationDate="2019-08-29T02:34:21.137" Score="0" ViewCount="259" Body="&lt;p&gt;We want to use &lt;code&gt;Sitecore JSS (ReactBased) Framework with Sitecore 9.2&lt;/code&gt; (Integrated mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have multisite environment where each site is subset of Global Site.&#xA;It means templates/rendering created in Global Sites will be reused in brand sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Form Sitecore tree we can able to use Templates and rendering from Global Sites,&#xA;But when we run a brand site with global rendering on it, It is not working because the related JSS code is not present in brand JSS App codebase.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you suggest how we can deal with this Scenario and how to inherit global sites templates/rendering to brand sites in JSS Code Base.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have 2 JSS APP running on different domain (Integrated mode) as below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Global APP---/Dist/global-app ---www.XXX-Global.Com&lt;/li&gt;&#xA;&lt;li&gt;Brand App---/Dist/brand-app   ---www.XXX.brand.com&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Please suggest. &lt;/p&gt;&#xA;" OwnerUserId="2218" LastEditorUserId="73" LastEditDate="2019-09-28T15:25:06.877" LastActivityDate="2019-09-28T15:25:06.877" Title="Code structure in Multisites Scenario" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20742" PostTypeId="1" AcceptedAnswerId="20744" CreationDate="2019-08-29T05:13:21.660" Score="1" ViewCount="123" Body="&lt;p&gt;Can we publish code directly from &lt;code&gt;Visual Studio&lt;/code&gt; to &lt;code&gt;Sitecore&lt;/code&gt; Instance(Sitecore 7.2) or we need to install &lt;code&gt;Sitecore Rocks&lt;/code&gt;? &lt;/p&gt;&#xA;" OwnerUserId="2144" LastEditorUserId="2152" LastEditDate="2019-08-29T05:17:05.427" LastActivityDate="2019-08-29T05:53:41.240" Title="Do we need Sitecore Rocks for Sitecore 7.2?" Tags="|sitecore-rocks|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20743" PostTypeId="2" ParentId="20742" CreationDate="2019-08-29T05:16:16.943" Score="1" Body="&lt;p&gt;&lt;code&gt;Sitecore Rocks&lt;/code&gt; does not require to publish code, you can do publish via &lt;code&gt;publish tool&lt;/code&gt; from &lt;code&gt;Visual Studio&lt;/code&gt; &lt;a href=&quot;https://docs.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-to-a-web-site?view=vs-2019&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-to-a-web-site?view=vs-2019&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You use &lt;code&gt;Sitecore Rocks&lt;/code&gt; to develop exclusively for &lt;code&gt;SPEAK&lt;/code&gt; applications. You cannot use the &lt;code&gt;Content Editor&lt;/code&gt; or other related tools. This topic explains how to get started using &lt;code&gt;Sitecore Rocks&lt;/code&gt; for &lt;code&gt;SPEAK&lt;/code&gt; development. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more detail about &lt;code&gt;Sitecore Rocks&lt;/code&gt; here &lt;a href=&quot;https://doc.sitecore.com/developers/speak/90/speak/en/visual-studio-and-sitecore-rocks.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/speak/90/speak/en/visual-studio-and-sitecore-rocks.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-08-29T05:28:11.470" LastActivityDate="2019-08-29T05:28:11.470" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20744" PostTypeId="2" ParentId="20742" CreationDate="2019-08-29T05:23:10.970" Score="1" Body="&lt;p&gt;You &lt;strong&gt;don't need&lt;/strong&gt; Sitecore Rocks for any Sitecore Version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Rocks is a Visual Studio extension and gives developers a fast, streamlined development experience by letting them use the tools that they are familiar with. This will increase productivity. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is &lt;strong&gt;NOT&lt;/strong&gt; mandatory to install on your Visual Studio but it will help developers to be more productive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Rocks is installed on developers machine where you have Visual Studio installed and not on QA, Prod environments ? &lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2019-08-29T05:53:41.240" LastActivityDate="2019-08-29T05:53:41.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20745" PostTypeId="2" ParentId="20700" CreationDate="2019-08-29T05:52:00.553" Score="0" Body="&lt;p&gt;The issue was that we had TWO! extra &lt;code&gt;site definitions&lt;/code&gt; in the config files that were causing this problem. As the site is configured in &lt;code&gt;/sitecore/content/Epworth/EpworthWeb/Settings/Site Grouping&lt;/code&gt;, there is no need for site definitions in the config.&lt;/p&gt;&#xA;&lt;p&gt;Removing them fixed this issue.&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="7105" LastEditDate="2022-09-12T11:13:28.553" LastActivityDate="2022-09-12T11:13:28.553" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20746" PostTypeId="1" AcceptedAnswerId="20752" CreationDate="2019-08-29T06:07:11.803" Score="2" ViewCount="212" Body="&lt;p&gt;How do I fire a submit event in server side from the Sitecore SXA form and apply business logic?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore Form in which i have addded two text box and one button and i want to fire button event and save the textbox data in a list object and then show that data from the list object to a Column Chart how can i achieve that.?&lt;/p&gt;&#xA;" OwnerUserId="5965" LastEditorUserId="5965" LastEditDate="2019-08-29T07:23:28.127" LastActivityDate="2019-08-29T10:16:17.633" Title="How do i fire a submit event in server side from the Sitecore SXA form?" Tags="|sxa|" AnswerCount="1" CommentCount="2" ClosedDate="2019-08-29T12:50:19.397" ContentLicense="CC BY-SA 4.0" />
  <row Id="20747" PostTypeId="2" ParentId="20741" CreationDate="2019-08-29T07:19:14.230" Score="1" Body="&lt;p&gt;I would suggest you install the latest SXA 1.9 and use the integration with JSS which is present there. This will allow you to use:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SXA site management for JSS apps&lt;/li&gt;&#xA;&lt;li&gt;Cross-site presentation sharing using page designs and partial designs&lt;/li&gt;&#xA;&lt;li&gt;Cross-site content sharing&lt;/li&gt;&#xA;&lt;li&gt;Cross-site reusability of renderings&lt;/li&gt;&#xA;&lt;li&gt;Cross-site linking&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;In this case, templates (the same as in SXA) are shared across a Tenant. So whole JSS sites which you will have under JSS tenant will use the same templates (which is your case).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more details take a look here: &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/19/sitecore-experience-accelerator/en/managing-jss-apps-with-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Managing JSS apps with SXA&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-08-29T07:19:14.230" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20748" PostTypeId="2" ParentId="20738" CreationDate="2019-08-29T07:45:32.870" Score="2" Body="&lt;p&gt;I don't think there is an option for this out of the box, The Breadcrumb component displays a summary of the currently active query filters and created using Coveo's Search UI framework. In Coveo Search UI, &lt;code&gt;drawBreadcrumb&lt;/code&gt; is responsible to create the breadcrumb and clear button.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://coveo.github.io/search-ui/components/breadcrumb.html#drawbreadcrumb&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://coveo.github.io/search-ui/components/breadcrumb.html#drawbreadcrumb&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to control the text from the Sitecore I would suggest you, to create a custom breadcrumb control to read the clear text from Sitecore and override the &lt;code&gt;drawbreadcrumb&lt;/code&gt; method for adding text on UI. Below is how in OOTB breadcrumb control manage the clear text and icon using Search UI-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Breadcrumb.prototype.drawBreadcrumb = function (breadcrumbs) {&#xA;    ...&#xA;    ...&#xA;    ...&#xA;&#xA;    var clearIcon = Dom_1.$$('div', {&#xA;        className: 'coveo-icon coveo-breadcrumb-clear-all-icon'&#xA;    }, SVGIcons_1.SVGIcons.icons.checkboxHookExclusionMore).el;&#xA;    SVGDom_1.SVGDom.addClassToSVGInContainer(clearIcon, 'coveo-breadcrumb-clear-all-svg');&#xA;    clear.appendChild(clearIcon);&#xA;    //Manage the Clear Text&#xA;    var clearText = Dom_1.$$('div', undefined, Strings_1.l('Clear', '')).el;&#xA;    clear.appendChild(clearText);&#xA;    this.element.appendChild(clear);&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-08-29T11:07:49.587" LastActivityDate="2019-08-29T11:07:49.587" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20749" PostTypeId="1" CreationDate="2019-08-29T07:53:35.393" Score="2" ViewCount="1851" Body="&lt;p&gt;We have a requirement to add HTML in multi-line text field. For example, content author can add a &lt;strong&gt;Bold&lt;/strong&gt; text in the field- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;test &amp;lt;b&amp;gt;sample text&amp;lt;b&amp;gt;&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;now we are having an issue in experience editor and it is behaving strange on the different hosting environment. On Local environment it stripping the HTML Tags and on PROD it encoding the HTML tags when editing from Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did try following setting - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;Rendering.HtmlEncodedFieldTypes&quot; value=&quot;text|single-line text|multi-line text&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but no luck, FYI it is working fine for single-line text control and I am not using any ORM.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; @if (isExperienceEditor)&#xA; {&#xA;      @Html.Sitecore().Field(_HoverImageCallout.Fields.HoverText)&#xA; }&#xA; else&#xA; {&#xA;      @Html.Raw(Model.Item[_HoverImageCallout.Fields.HoverText])&#xA; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Image after saving item in experience editor - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Lv0nE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Lv0nE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version 9.1.1&lt;/p&gt;&#xA;" OwnerUserId="5966" LastEditorUserId="1606" LastEditDate="2019-09-09T06:45:39.593" LastActivityDate="2020-03-09T15:02:00.277" Title="HTML content in Multi-Line Text Field misbehaving in Experience Editor" Tags="|sitecore-client|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20750" PostTypeId="1" AcceptedAnswerId="23673" CreationDate="2019-08-29T08:00:25.610" Score="0" ViewCount="146" Body="&lt;p&gt;Using &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; with &lt;code&gt;SXA 1.8.1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a rendering variant which outputs a date field in a particular date format.  When my first field being evaluated is empty then the fallback value displays in the selected format.  However if my first field has a value then it displays it in the format &quot;8/29/2019 12:00:00 AM&quot;.  The same date format selection was made in both fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My rendering variant:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/T3Fsf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/T3Fsf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My template - both are date fields, the only difference being the Published date gets a default of now.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/WNY4i.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WNY4i.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Reviewed output:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hTUCV.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hTUCV.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;vs my Published fallback:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZocXQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZocXQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2020-01-05T23:48:43.480" Title="SXA Date format not applied to field where fallback used in rendering variant" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20752" PostTypeId="2" ParentId="20746" CreationDate="2019-08-29T10:16:17.633" Score="1" Body="&lt;p&gt;To Achieve the &lt;code&gt;Custom Submit&lt;/code&gt; event you have to create your Custom Event please follow the below steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Add class in your project and Inherit with &lt;code&gt;SubmitActionBase&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class EmailMe : SubmitActionBase&amp;lt;string&amp;gt;&#xA;    {&#xA;        public EmailMe(ISubmitActionData submitActionData) : base(submitActionData)&#xA;        {&#xA;        }&#xA;&#xA;        protected override bool Execute(string data, FormSubmitContext formSubmitContext)&#xA;        {&#xA;//to get the form values&#xA; foreach (var viewModel in formSubmitContext.Fields)&#xA;            {&#xA;&#xA;  PropertyInfo property = postedField.GetType().GetProperty(&quot;Value&quot;); //value property&#xA;                object postedValue =&#xA;                    (object)property != null ? property.GetValue((object)postedField) : (object)null; //get value&#xA;&#xA;                property = postedField.GetType().GetProperty(&quot;Title&quot;); //title property&#xA;&#xA;                object postedTitle =&#xA;                    (object)property != null ? property.GetValue((object)postedField) : (object)null;//title value&#xA;                string title = postedTitle?.ToString();&#xA;&#xA;                var postedFieldName = ((Sitecore.ExperienceForms.Mvc.Models.Fields.FieldViewModel)postedField).TemplateId;&#xA;&#xA;}&#xA;// now you have your form fields values now you can use your logic here&#xA;&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) once you done with this now you have to add your custom action in your sitecore, follow below image to add Submit Action Template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CMlrt.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CMlrt.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3) When you add new Submit Action Template, give an appropriate name and assign the below values:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/XnJ8g.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XnJ8g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;4) once you done this you will find your submit action in Submit actions&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ib0DD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ib0DD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this will helps you.&lt;/p&gt;&#xA;" OwnerUserId="5615" LastActivityDate="2019-08-29T10:16:17.633" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20755" PostTypeId="1" AcceptedAnswerId="20894" CreationDate="2019-08-29T14:20:09.913" Score="10" ViewCount="2135" Body="&lt;p&gt;Sitecore 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the middle of some testing on my QA server, the xConnect IIS site went to 100% CPU and started chewing up RAM. Now for 14 hours, the CPU has not come down and the xConnect site has crashed several times for out or memory exceptions. When I IISRESET or reboot, this issue comes right back. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I look in the Processing Tasks database, everything is empty. And the site is still generating data in Experience Analytics. But all calls to xConnect time out. I do get the normal xConnect time stamp from the site, so it is still running. It is just using 100% doing I don't know what.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have turned on verbose logging for xConnect, but that provided no details. No errors in Sitecore log other than xDb Unavailable errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have opened a Sitecore ticket, just hoping someone solved this issue before.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mjsvW.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mjsvW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-08-29T14:54:38.467" LastActivityDate="2021-04-15T12:02:35.303" Title="xConnect 100% CPU for hours" Tags="|xconnect|" AnswerCount="4" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20756" PostTypeId="1" CreationDate="2019-08-29T14:54:52.167" Score="2" ViewCount="619" Body="&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NIg5E.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NIg5E.jpg&quot; alt=&quot;Publishing Targets are unchecked by default&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have 5 publishing targets and when I need to publish any item, I need to go to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Publish --&amp;gt; Change --&amp;gt; Publishing Setting --&amp;gt; Targets&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and I will see all Publishing Targets are unchecked. I need to manually check them every time. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to let the system to check them by default?&lt;/p&gt;&#xA;" OwnerUserId="5970" LastEditorUserId="605" LastEditDate="2019-08-29T19:11:29.873" LastActivityDate="2021-06-04T05:49:43.063" Title="Why the Publishing Settings --&gt; Targets are all unchecked" Tags="|publishing|" AnswerCount="3" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20757" PostTypeId="2" ParentId="20756" CreationDate="2019-08-29T19:10:47.287" Score="1" Body="&lt;p&gt;The Publishing Restriction is used per item and as Michael mention in his comment, by default all the publishing targets will not be checked. This is because Sitecore assumes that you will publish to all configured target databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The publish restriction allows you to decide whether this item should be publish to a specific target database but also&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;You can decide which version can be publish&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When should Sitecore be allowed to publish the item&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More information about Publish Restriction can be found &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-publishing-restrictions-in-the-sitecore-asp-net-cms&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you have an item which should only be published to a specific target database, then, you should check the target database name in the Target Tab.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to publish to a specific target database, upon clicking on the Publish button, it allows you to select to which database you want to publish (see screenshot below).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/LjZwL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/LjZwL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-09-29T10:46:47.107" LastActivityDate="2019-09-29T10:46:47.107" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20759" PostTypeId="1" AcceptedAnswerId="20765" CreationDate="2019-08-29T21:02:30.957" Score="4" ViewCount="772" Body="&lt;p&gt;I've created a processor that archives items that haven't been updated in 2 years, and I'm trying to test this by altering a date of an item, but every time I change it and save, it reverts back.  I'm signed in as an admin user.  Is there a way to do this outside of manipulating the sql data?&lt;/p&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-08-30T03:13:48.733" Title="Manually change the updated date of an item?" Tags="|content-editor|fieldtype|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20760" PostTypeId="1" CreationDate="2019-08-29T21:32:54.783" Score="3" ViewCount="132" Body="&lt;p&gt;We have a new set of websites using the Shared Sites (or master site) feature included with SXA 1.7.0. During the design process we realized that each of the sites should have a unique header logo. Based on past projects we know that the header logo is often configured on the header Partial Design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I both share the Partial Design and allow for the site to dynamically pick  the logo?&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-08-29T21:37:30.770" Title="How do I dynamically pick a logo in a shared site when configured on the Partial Design?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20761" PostTypeId="2" ParentId="20760" CreationDate="2019-08-29T21:37:30.770" Score="1" Body="&lt;p&gt;The SXA Team recommended using a query on the datasource for the image like the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;query:$site/Data/Images/Logo&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each site should have a global datasource item under &lt;strong&gt;Data/Images&lt;/strong&gt; with the same item name &quot;Logo&quot;. In this way you can easily setup the logo and change on a site-by-site basis. This approach could even be used on sites that are not using the &quot;Shared Sites&quot; feature.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; We did discuss using the token &lt;code&gt;$siteMedia&lt;/code&gt; but that resolves to the paths to media folders as specified in the &quot;Additional Children&quot; field on the virtual media folder item. Subsequently that would not meet the need at all or at least not as well as the previous approach.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-08-29T21:37:30.770" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20762" PostTypeId="2" ParentId="8239" CreationDate="2019-08-30T00:41:33.927" Score="0" Body="&lt;p&gt;Just want to answer my own question. It turned out to be a bug in Sitecore code, please ask Sitecore Support for a package: Sitecore.Support.146899&lt;/p&gt;&#xA;" OwnerUserId="1901" LastActivityDate="2019-08-30T00:41:33.927" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20763" PostTypeId="2" ParentId="20755" CreationDate="2019-08-30T00:56:23.680" Score="2" Body="&lt;p&gt;Check your SQL Server logs for Xdb.Collection, if you can track down what transaction is hanging - that will give you a clue what's going on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We had similar experience with Sitecore 8.2 and MongoDB. Because with Sitecore 8.2 the process runs in Sitecore app pool, the whole Sitecore was unresponsive.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem was with number of visits in the &lt;strong&gt;Interactions&lt;/strong&gt; table for one individual user (More than a million visits). When that user was logging in, it was causing MongoDB to load all data related to the user into MongoDB server memory and as result it hanged (sorry, not enough reputation to comment on your question).&lt;/p&gt;&#xA;" OwnerUserId="1901" LastActivityDate="2019-08-30T00:56:23.680" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20765" PostTypeId="2" ParentId="20759" CreationDate="2019-08-30T03:13:48.733" Score="6" Body="&lt;p&gt;The &lt;code&gt;Updated Date&lt;/code&gt; statistic is automatically updated every time an item is changed. The only way to force the date &lt;em&gt;not&lt;/em&gt; to be updated is programatically:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-csharp prettyprint-override&quot;&gt;&lt;code&gt;item.Editing.BeginEdit();&#xA;item[Sitecore.FieldIDs.Updated] = Sitecore.DateUtil.ToIsoDate(DateTime.MinValue);&#xA;item.Editing.EndEdit(false, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The important part is the 2 parameters passed to &lt;code&gt;EndEdit&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;UpdateStatistics&lt;/code&gt; - boolean indicating whether item statistics will be updated (i.e date and user). This is the most important setting for you.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;Silent&lt;/code&gt; -  boolean indicating whether events will be raised as a result of the item save, e.g. &lt;code&gt;item:saved&lt;/code&gt;. If this interferes with your processor then you may also want to set this as false.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can, of course, do the same in PowerShell Extensions:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sh prettyprint-override&quot;&gt;&lt;code&gt;$item.Editing.BeginEdit()&#xA;$item[&quot;__Updated&quot;] = &quot;20190829T231200Z&quot;&#xA;$item.Editing.EndEdit($false, $false)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="135" LastActivityDate="2019-08-30T03:13:48.733" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20767" PostTypeId="1" AcceptedAnswerId="20813" CreationDate="2019-08-30T05:07:24.870" Score="2" ViewCount="424" Body="&lt;p&gt;I would like to start a pipeline batch and pass in the context required for a single contact to be processed so that I can trigger the sync process for individual contacts when they are created in the xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So for example in the &quot;Read Contacts from xConnect Pipeline&quot; batch which will sync all contacts, I would like to have it only read a single contact that I would like processed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see that I can trigger the pipeline via &lt;code&gt;Sitecore.DataExchange.Local.Runners.InProcessPipelineBatchRunner&lt;/code&gt;. How can I set the contact on the context?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;DEF 2.1 on Sitecore 9.1.1.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastEditorUserId="1278" LastEditDate="2019-08-30T05:25:59.040" LastActivityDate="2020-01-31T14:02:15.357" Title="Trigger pipeline batch programmatically with context" Tags="|data-exchange-framework|dynamics-crm-module|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20768" PostTypeId="1" AcceptedAnswerId="20772" CreationDate="2019-08-30T05:27:51.147" Score="4" ViewCount="485" Body="&lt;p&gt;Is it possible to remove empty html Tags like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;from RTE, because they are getting inserted very easy and destroying the design.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The best would be automaticaly :-) on save or publish.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-08-30T06:38:34.367" Title="Remove empty Html tag from RTE" Tags="|richtext-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20769" PostTypeId="1" AcceptedAnswerId="20819" CreationDate="2019-08-30T05:44:52.903" Score="1" ViewCount="125" Body="&lt;p&gt;The built-in Dynamics CRM connector for DEF has a pipeline step as part of syncing contacts from Dynamics to xConnect that reads the Dynamics contact ID and checks if there is an xDB Contact Identifier with that value. The logic is set on the &quot;Resolve Contact Model by Dynamics Id from xConnect&quot; step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9bmUe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9bmUe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I change this process as follows?&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Try to resolve by the Dynamics ID (built in)&lt;/li&gt;&#xA;&lt;li&gt;Else if that is not resolved try to resolve contact model by matching the contact &lt;code&gt;First name&lt;/code&gt;, &lt;code&gt;Last name&lt;/code&gt; and &lt;code&gt;Birth date&lt;/code&gt; facet fields&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;DEF 2.1 on Sitecore 9.1.1.&lt;/p&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-09-03T16:01:38.133" Title="Resolve contact model by personal details" Tags="|data-exchange-framework|dynamics-crm-module|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20770" PostTypeId="2" ParentId="20767" CreationDate="2019-08-30T06:14:38.263" Score="0" Body="&lt;p&gt;To process single contact, you can create a custom pipeline using below steps:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.Create a custom template which is inherited from &lt;code&gt;/sitecore/templates/Data Exchange/Framework/Pipeline Steps/Base Pipeline Steps/Base Pipeline Step&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Add two fields &lt;code&gt;IterableDataLocation&lt;/code&gt;,&lt;code&gt;DataLocation&lt;/code&gt; in the template, set &lt;code&gt;Source&lt;/code&gt; and using this template create custom &lt;code&gt;pipeline step&lt;/code&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oqDB4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oqDB4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;I have created custom processor &lt;code&gt;CustomFilterPipelineStepConverter&lt;/code&gt; &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [SupportedIds(new string[]&#xA;     {&#xA;        &quot;{12032AD0-E66E-408E-B1D4-048A0B2D659C}&quot;&#xA;     })]&#xA;    public class CustomFilterPipelineStepConverter : BasePipelineStepConverter&#xA;    {&#xA;        public CustomFilterPipelineStepConverter(IItemModelRepository repository) : base(repository)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep)&#xA;        {&#xA;            this.AddDataLocationSettingsPlugin(source, pipelineStep);&#xA;            this.AddReadEntitySettings(source, pipelineStep);&#xA;        }&#xA;&#xA;        private void AddDataLocationSettingsPlugin(ItemModel source, PipelineStep pipelineStep)&#xA;        {&#xA;            Guid guidValue = base.GetGuidValue(source, &quot;DataLocation&quot;);&#xA;            Guid guidValue2 = base.GetGuidValue(source, &quot;IterableDataLocation&quot;);&#xA;            pipelineStep.AddPlugin&amp;lt;IterateDataSettings&amp;gt;(new IterateDataSettings&#xA;            {&#xA;                DataLocation = guidValue,&#xA;                IterableDataLocation = guidValue2&#xA;            });&#xA;        }&#xA;        protected virtual void AddReadEntitySettings(ItemModel source, PipelineStep pipelineStep)&#xA;        {&#xA;           //IF you want to read some field&#xA;        }&#xA;    }&#xA;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Create custom processor &lt;code&gt;CustomFilterPipelineStepProcessor&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[RequiredPipelineStepPlugins(new Type[]&#xA;     {&#xA;        typeof(PipelinesSettings),&#xA;        typeof(IterateDataSettings)&#xA;     })]&#xA;    public class CustomFilterPipelineStepProcessor : BasePipelineStepProcessor&#xA;    {&#xA;        protected override bool CanStartProcessing(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            if (pipelineStep.GetPlugin&amp;lt;IterateDataSettings&amp;gt;().DataLocation == Guid.Empty)&#xA;            {&#xA;                this.Log(new Action&amp;lt;string&amp;gt;(logger.Error), pipelineContext, &quot;No data location is specified.&quot;, Array.Empty&amp;lt;string&amp;gt;());&#xA;                return false;&#xA;            }&#xA;            return true;&#xA;        }&#xA;&#xA;        protected override void ProcessPipelineStep(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            Sitecore.Diagnostics.Log.Info(&quot;Batch has proceeded to Custom Pipeline Step&quot; + DateTime.Now.ToString(), this);&#xA;            IEnumerable iterableData = this.GetIterableData(pipelineStep, pipelineContext, logger);&#xA;            if (iterableData == null)&#xA;            {&#xA;                this.Log(new Action&amp;lt;string&amp;gt;(logger.Debug), pipelineContext, &quot;Iterable data is null.&quot;, Array.Empty&amp;lt;string&amp;gt;());&#xA;                return;&#xA;            }&#xA;            //IF you have custom field&#xA;            //ReadFacetSettings facetPlugin = pipelineStep.GetPlugin&amp;lt;ReadFacetSettings&amp;gt;();&#xA;            //if (facetPlugin == null )&#xA;            //{&#xA;            //    this.Log(new Action&amp;lt;string&amp;gt;(logger.Debug), pipelineContext, &quot;Contact Facets To Read is null.&quot;, Array.Empty&amp;lt;string&amp;gt;());&#xA;            //    return;&#xA;            //}&#xA;&#xA;&#xA;            List&amp;lt;EntityModel&amp;gt; list = iterableData.Cast&amp;lt;EntityModel&amp;gt;().ToList();&#xA;            List&amp;lt;EntityModel&amp;gt; filterList = new List&amp;lt;EntityModel&amp;gt;();&#xA;            this.Log(new Action&amp;lt;string&amp;gt;(logger.Debug), pipelineContext, &quot;CustomFilterlist&quot; + list.Count, Array.Empty&amp;lt;string&amp;gt;());&#xA;            foreach (var data in list)&#xA;            {&#xA;                //Apply your logic to get currently identified contact&#xA;            }&#xA;            IterableDataSettings newPlugin = new IterableDataSettings(filterList);&#xA;            pipelineContext.AddPlugin&amp;lt;IterableDataSettings&amp;gt;(newPlugin);&#xA;        }&#xA;&#xA;        protected virtual IEnumerable GetIterableData(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            IterateDataSettings plugin = pipelineStep.GetPlugin&amp;lt;IterateDataSettings&amp;gt;();&#xA;            return this.GetObjectFromPipelineContext(plugin.IterableDataLocation, pipelineContext, logger) as IEnumerable;&#xA;        }&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;5&quot;&gt;&#xA;&lt;li&gt;In the custom pipeline, add namespace and assembly name for &lt;code&gt;Converter Type&lt;/code&gt; and &lt;code&gt;Processor Type&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dqBLl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dqBLl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more details in this blog &lt;a href=&quot;https://www.codinglittlethings.com/2019/06/sitecore-9-dynamic-crm-connector-custom.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.codinglittlethings.com/2019/06/sitecore-9-dynamic-crm-connector-custom.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-08-30T06:28:45.910" LastActivityDate="2019-08-30T06:28:45.910" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20771" PostTypeId="2" ParentId="20769" CreationDate="2019-08-30T06:36:54.293" Score="-1" Body="&lt;p&gt;As per my understanding, while we sync contact &lt;code&gt;CRM to Sitecore&lt;/code&gt; it store &lt;code&gt;Dynamics.ContactId&lt;/code&gt; source in &lt;code&gt;ContactIdentifiers&lt;/code&gt; table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/eoAel.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eoAel.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Resolve Contact Model by Dynamics Id from xConnect&lt;/code&gt; pipeline resolve contact on the basis of &lt;code&gt;Identifier&lt;/code&gt; which stored in &lt;code&gt;ContactIdentifiers&lt;/code&gt; table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to resolve contact on the basis of &lt;code&gt;First name&lt;/code&gt;, &lt;code&gt;Last name&lt;/code&gt; and &lt;code&gt;Birth date&lt;/code&gt; then you need to check that pipeline which is creating &lt;code&gt;Dynamics.ContactId&lt;/code&gt; identifier.&lt;/p&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-08-30T06:36:54.293" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20772" PostTypeId="2" ParentId="20768" CreationDate="2019-08-30T06:38:34.367" Score="3" Body="&lt;p&gt;You can use &lt;code&gt;item:saving&lt;/code&gt; event. Be aware that in some cases saving of the item can be intercepted so not necessarily your changes will be saved.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;  &amp;lt;events&amp;gt;&#xA;    &amp;lt;event name=&quot;item:saving&quot;&amp;gt;&#xA;      &amp;lt;handler type=&quot;My.Assembly.Namespace.RemoveEmptyParagraphsFromRichTextProcessor,&#xA;        My.Assembly&quot; method=&quot;OnItemSaving&quot; /&amp;gt;&#xA;    &amp;lt;/event&amp;gt;&#xA;  &amp;lt;/events&amp;gt;&#xA;&amp;lt;/sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the code&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class RemoveEmptyParagraphsFromRichTextProcessor&#xA;{&#xA;    protected void OnItemSaving(object sender, EventArgs args)&#xA;    {&#xA;        Item newItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;        if (newItem == null || newItem.Database.Name != &quot;master&quot;)&#xA;        {&#xA;            return;&#xA;        }&#xA;&#xA;        Item originalItem = newItem.Database.GetItem(newItem.ID, newItem.Language, newItem.Version);&#xA;&#xA;        var differences = FindDifferences(newItem, originalItem);&#xA;&#xA;        foreach (var fieldName in differences)&#xA;        {&#xA;            var value = newItem[fieldName];&#xA;            if (!string.IsNullOrEmpty(value))&#xA;            {&#xA;                newItem[fieldName] = RemoveParagraphWithSpace(value);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    private List&amp;lt;string&amp;gt; FindDifferences(Item newItem, Item originalItem)&#xA;    {&#xA;        newItem.Fields.ReadAll();&#xA;&#xA;        return newItem&#xA;            .Fields&#xA;            .Where(x =&amp;gt; x.Type.Equals(&quot;Rich Text&quot;))&#xA;            .Select(f =&amp;gt; f.Name)&#xA;            .Where(fieldName =&amp;gt; newItem[fieldName] != originalItem[fieldName])&#xA;            .ToList();&#xA;    }&#xA;&#xA;    private string RemoveParagraphWithSpace(string html)&#xA;    {&#xA;        // you can be more creative here&#xA;        return html.Replace(&quot;&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&quot;, &quot;&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-08-30T06:38:34.367" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20774" PostTypeId="1" AcceptedAnswerId="20775" CreationDate="2019-08-30T10:13:22.487" Score="2" ViewCount="254" Body="&lt;p&gt;Does anyone know what are these zip files? Is it safe to delete them?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HqAes.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HqAes.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4774" LastActivityDate="2019-08-30T10:15:40.473" Title="What are compressed files within \sitecore\shell\Themes\Standard\?" Tags="|installation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20775" PostTypeId="2" ParentId="20774" CreationDate="2019-08-30T10:15:40.473" Score="4" Body="&lt;p&gt;Those are thumbnails dispayed in Sitecore backend.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do not delete them.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First time Sitecore needs any thumbnail, it extractss one of those files and gets the proper thumbnail with requested size.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. when you open Content Editor and select &lt;code&gt;Home&lt;/code&gt; item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jmvm9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jmvm9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can see that icon it uses is&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7Ctvb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7Ctvb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can extract &lt;code&gt;Network.zip&lt;/code&gt; from that folder you mentioned and in &lt;code&gt;16x16&lt;/code&gt; folder (size of the file) you will find &lt;code&gt;home.png&lt;/code&gt; icon which is displayed in Content Editor:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HTeFT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HTeFT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-08-30T10:15:40.473" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20776" PostTypeId="1" CreationDate="2019-08-30T11:32:04.543" Score="7" ViewCount="2490" Body="&lt;p&gt;I have few records in &lt;code&gt;Solr&lt;/code&gt; index.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Bachelor of Nursing&lt;/li&gt;&#xA;&lt;li&gt;Bachelor of Nursing (Honours)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;My requirement is that when I want to search &lt;code&gt;Bachelor of Nursing&lt;/code&gt; then &lt;code&gt;Bachelor of Nursing&lt;/code&gt; should display first and then &lt;code&gt;Bachelor of Nursing (Honours)&lt;/code&gt; because &lt;code&gt;Bachelor of Nursing&lt;/code&gt; have the exact match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created below query for &lt;code&gt;Solr&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;(((name_t_en:&quot;Bachelor of Nursing&quot;)^3.0&#xA;OR (name_t_en:&quot;*Bachelor*&quot;)^2.5 OR (name_t_en:&quot;*Nursing*&quot;)^2.5 OR (keywords_t_en:&quot;*Bachelor*&quot;)^2.0 OR (keywords_t_en:&quot;*Nursing*&quot;)^2.0)  &#xA;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but I am not getting result in proper way which I want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;While I am getting results, I am using below code in &lt;code&gt;Visual Studio&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var namePredicate = PredicateBuilder.True&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;var contentPredicate = PredicateBuilder.True&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;var NamePredicate = PredicateBuilder.True&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;var ExactNamePredicate = PredicateBuilder.True&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;ExactNamePredicate = ExactNamePredicate.Or(item =&amp;gt; item.Name == text).Boost(3.0f);&#xA;foreach (var word in terms)&#xA;{&#xA;    NamePredicate = NamePredicate.And(item =&amp;gt; item.Name.Contains(word).Boost(2.5f));&#xA;    contentPredicate = contentPredicate.Or(item =&amp;gt; item.Keywords.Contains(word).Boost(2.0f));&#xA;}&#xA;namePredicate = ExactNamePredicate.Or(NamePredicate).Or(contentPredicate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="432" LastEditDate="2019-09-01T15:36:27.310" LastActivityDate="2019-10-07T11:56:58.137" Title="Boost Solr query and prioritize exact match" Tags="|solr|indexing|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20777" PostTypeId="1" CreationDate="2019-08-30T12:19:44.620" Score="1" ViewCount="260" Body="&lt;p&gt;We have our master website in English built on SXA framework. We would like to create new website in German language. How can i use or modify SXA cloning script so that i can clone items from English version to German version in new website?&lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-09-02T18:26:31.277" Title="How to create different language version of site from master site using SXA cloning?" Tags="|sxa|item-clones|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20778" PostTypeId="1" AcceptedAnswerId="20779" CreationDate="2019-08-30T16:16:48.053" Score="3" ViewCount="1716" Body="&lt;p&gt;To replicate:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Download and install Sitecore 9.2 Initial Release using &quot;Graphical setup package for XP Single&quot; option, which will install Sitecore.NET 9.2.0 (rev. 002893)&lt;/li&gt;&#xA;&lt;li&gt;Download &quot;Sitecore Experience Accelerator for 9.2&quot; package and begin installation, it will show dialog reminding you to instal SPE 5.0 with link to Sitecore Marketplace.&lt;/li&gt;&#xA;&lt;li&gt;Instal SPE 5.0 from Marketplace, and finish installing SXA&lt;/li&gt;&#xA;&lt;li&gt;Try to create a Tenant in the new instance&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Full error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not load type 'Sitecore.Jobs.Job' from assembly 'Sitecore.Kernel, &#xA;Version=13.0.0.0, Culture=neutral, PublicKeyToken=null'.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4949" LastEditorUserId="95" LastEditDate="2019-08-30T16:20:27.430" LastActivityDate="2019-11-28T08:17:39.447" Title="Error in Sitecore 9.2 and SXA 1.9 - Could not load type &quot;Sitecore.Jobs.Job&quot; when creating new Tenant" Tags="|sxa|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20779" PostTypeId="2" ParentId="20778" CreationDate="2019-08-30T16:16:48.053" Score="5" Body="&lt;p&gt;Instead of downloading Powershell Extensions 5.0 from Sitecore Marketplace, need to download the &quot;Sitecore PowerShell Extension 5.0 for Sitecore 9.2&quot; package from the same page where you got the SXA package.&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/19/Sitecore_Experience_Accelerator_190.aspx&quot; rel=&quot;noreferrer&quot;&gt;SXA 1.9 Download page&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Apparently the Powershell Extensions here are a different build than the one on Marketplace, and it resolves the error.&lt;/p&gt;&#xA;" OwnerUserId="4949" LastActivityDate="2019-08-30T16:16:48.053" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20780" PostTypeId="1" AcceptedAnswerId="20781" CreationDate="2019-08-30T16:27:20.663" Score="4" ViewCount="306" Body="&lt;p&gt;In a JSS with SXA instance...&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create JSS Tenant&lt;/li&gt;&#xA;&lt;li&gt;Create JSS Site&lt;/li&gt;&#xA;&lt;li&gt;Attempt to import JSS app using &lt;code&gt;jss deploy app -c&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Error&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Unexpected response from import service:&#xA;Status message: Bad Request&#xA;Body: Could not find JSS app configuration for 'appname'.&#xA;Ensure you have included a configuration patch file for&#xA;the JSS app. Running 'jss deploy config' may res&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This is strange because JSS sites that are managed by SXA &lt;strong&gt;do not need to have configs deployed&lt;/strong&gt;.&lt;/p&gt;&#xA;" OwnerUserId="4949" LastActivityDate="2019-08-30T16:27:20.663" Title="&quot;Could not find JSS app configuration&quot; when deploying JSS app into JSS-SXA Site" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20781" PostTypeId="2" ParentId="20780" CreationDate="2019-08-30T16:27:20.663" Score="3" Body="&lt;p&gt;The name of JSS Site needs to match the app name exactly. Otherwise this error occurs.&lt;/p&gt;&#xA;" OwnerUserId="4949" LastActivityDate="2019-08-30T16:27:20.663" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20782" PostTypeId="2" ParentId="6203" CreationDate="2019-08-30T20:20:25.443" Score="4" Body="&lt;p&gt;To add to this, Flash is indeed the culprit. If you're looking for something a little more perm. support recommends the following:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the 'Upload File' dialog:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to &lt;code&gt;\Website\sitecore\shell\Applications\Media\Upload Media\&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open the &lt;code&gt;UploadMedia.xml&lt;/code&gt; file&lt;/li&gt;&#xA;&lt;li&gt;On line &lt;strong&gt;27&lt;/strong&gt;, add the attribute &lt;code&gt;multiple=&quot;true&quot;&lt;/code&gt; to the &lt;code&gt;&amp;lt;input id=&quot;File&quot; ... /&amp;gt;&lt;/code&gt; tag:&lt;br&gt;&#xA;&lt;code&gt;&amp;lt;input id=&quot;File&quot; name=&quot;File&quot; type=&quot;file&quot; style=&quot;width:100%&quot; multiple=&quot;true&quot;/&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;For the &quot;Upload files (advanced)&quot; dialog:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to the &lt;code&gt;\Website\sitecore\shell\Applications\Media\UploadManager&lt;/code&gt; folder&lt;/li&gt;&#xA;&lt;li&gt;Open &lt;code&gt;Upload.aspx&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Find the &lt;code&gt;&amp;lt;input id=&quot;File0&quot; name=&quot;File0&quot; .../&amp;gt;&lt;/code&gt; tag inside the file and add the &lt;code&gt;multiple=&quot;true&quot;&lt;/code&gt; attribute:&lt;br&gt;&#xA;&lt;code&gt;&amp;lt;input multiple=&quot;true&quot; id=&quot;File0&quot; name=&quot;File0&quot; type=&quot;file&quot; value=&quot;browse&quot; onchange=&quot;javascript:return Sitecore.Upload.change(this)&quot;/&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open the &lt;code&gt;Upload.aspx.js&lt;/code&gt; file &lt;/li&gt;&#xA;&lt;li&gt;Search for &lt;code&gt;ctl.type = &quot;file&quot;;&lt;/code&gt; line and put a new line after it:&lt;br&gt;&#xA;&lt;code&gt;ctl.multiple = true;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Please note that this workaround has not passed full QA cycle. In case of any issue with upload please revert the changes.&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="5528" LastActivityDate="2019-08-30T20:20:25.443" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20783" PostTypeId="2" ParentId="20776" CreationDate="2019-08-31T01:18:07.960" Score="2" Body="&lt;p&gt;I have implemented the same functionality with the following code in sitecore 9 update 2&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; if (sortBy !=&quot;date&quot;)&#xA;            {&#xA;                string termFreq = GetTermFrequency(&quot;suggestiontitle_t&quot;, searchText);&#xA;                var query = context.GetQueryable&amp;lt;SearchResultModel&amp;gt;()&#xA;                     .Where(i =&amp;gt; i.NoIndex == false &amp;amp;&amp;amp; (i.PageTitle.Contains(searchText).Boost(5.0f) || i.SearchDescription.Contains(searchText).Boost(4.0f) || i.KeyWords.Contains(searchText).Boost(3.0f) || i.SContent.Contains(searchText).Boost(2.0f))).OrderByDescending(q =&amp;gt;q[termFreq]);&#xA;                totalCount = query.Count();&#xA;                Results = query?.Skip((page - 1) * count).Take(count).ToList();&#xA;            }&#xA;&#xA; private static string GetTermFrequency(string fieldName, string searchText)&#xA;    {&#xA;        return string.Format(&quot;termfreq({0},'{1}')&quot;, fieldName, searchText);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-08-31T01:18:07.960" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20784" PostTypeId="2" ParentId="20777" CreationDate="2019-08-31T10:43:02.890" Score="1" Body="&lt;p&gt;You have to follow two steps listed below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Clone an SXA site (&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/clone-an-sxa-site.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/clone-an-sxa-site.html&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a. In the Content Editor, right-click the site item, click Scripts, and click Clone Site.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TqDAs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TqDAs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b.In the Clone a Site dialog box, enter a name and click OK&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Add a language version to an SXA site in the new cloned website.(&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-a-language-version-to-an-sxa-site.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-a-language-version-to-an-sxa-site.html&lt;/a&gt;)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a. In the Content Editor, right-click the site item, click Scripts, and click Add Site Language.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b. In the dialog box select the source language from which data is to be copied (english in your case) and target language is german language in your case&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Akcvg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Akcvg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-08-31T10:43:02.890" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20785" PostTypeId="1" CreationDate="2019-08-31T15:58:40.040" Score="5" ViewCount="644" Body="&lt;p&gt;The &lt;code&gt;Export to a CSV file&lt;/code&gt; function of Sitecore Forms seems to set the field sort order randomly.  Does anyone know how I might set a specific field sort order?  Thanks &lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-09-01T15:30:03.600" Title="How can I manage the field order for the export function in Sitecore Forms?" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20786" PostTypeId="1" AcceptedAnswerId="20787" CreationDate="2019-08-31T17:43:24.243" Score="0" ViewCount="406" Body="&lt;p&gt;I've some problems in the experience editor. As you can see in the screenshot I can edit the picture and headline, but the text I can't directly edit. Only the small empty field and when I click in there I can insert some text and the real text is gone and the new text shows up. It looks like that the HTML edit from sitecore is not focusing the right field, but I am using the HTMLString to render the fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1XaU0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1XaU0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-08-31T18:22:53.003" Title="Experience Editor editing not working empty edit fields" Tags="|experience-editor|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20787" PostTypeId="2" ParentId="20786" CreationDate="2019-08-31T18:22:53.003" Score="2" Body="&lt;p&gt;The problem seems to be the HTML Code for this component&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8IS1t.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8IS1t.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;when I remove the p tag around the Text its working again&lt;/p&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-08-31T18:22:53.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20788" PostTypeId="2" ParentId="20241" CreationDate="2019-09-01T14:56:36.710" Score="0" Body="&lt;p&gt;You can create a new &lt;code&gt;fake&lt;/code&gt; publishing target under &lt;code&gt;/sitecore/system/Publishing targets&lt;/code&gt; and for those specific items, publish to that fake target. Them master would never overwrite web because it would be diverted to the fake target.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-09-01T14:56:36.710" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20789" PostTypeId="2" ParentId="20785" CreationDate="2019-09-01T15:30:03.600" Score="7" Body="&lt;h3&gt;SqlFormDataProvider&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The order of the field is basically the order in which the fields were created. The genesis of the export is the &lt;code&gt;Sitecore.ExperienceForms.Client.Controllers.ExportDataController&lt;/code&gt;. And this calls into the &lt;code&gt;Sitecore.ExperienceForms.Data.SqlServer.SqlFormDataProvider&lt;/code&gt; provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SQL that fetches the list is this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;List&amp;lt;FormEntry&amp;gt; formEntryList = new List&amp;lt;FormEntry&amp;gt;(this.SqlDataApi.CreateObjectReader&amp;lt;FormEntry&amp;gt;(&quot;SELECT {0}ID{1},{0}FormItemID{1},{0}Created{1} FROM {0}FormEntry{1} WHERE {0}FormItemID{1}={2}formItemId{3} AND {0}Created{1} BETWEEN {2}start{3} AND {2}end{3}&quot;, new object[6]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;specifically &lt;code&gt;SELECT {0}ID{1},{0}FormItemID{1},{0}Created{1} FROM {0}FormEntry{1} WHERE {0}FormItemID{1}={2}formItemId{3} AND {0}Created{1} BETWEEN {2}start{3} AND {2}end{3}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This just fetches them in the default SQL sort order which is the order the rows are in the table&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NLOTz.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NLOTz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fix is to rewrite the class &lt;code&gt;Sitecore.ExperienceForms.Data.SqlServer.SqlFormDataProvider&lt;/code&gt;, which is the implementation  of &lt;code&gt;IFormDataProvider&lt;/code&gt;. You can make this sort it any way you want, or what is possible. This class is registered in the config file &lt;code&gt;App_Config\Sitecore\ExperienceForms\Sitecore.ExperienceForms.config&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;register serviceType=&quot;Sitecore.ExperienceForms.Data.IFormDataProvider, Sitecore.ExperienceForms&quot; implementationType=&quot;Sitecore.ExperienceForms.Data.SqlServer.SqlFormDataProvider, Sitecore.ExperienceForms.Data.SqlServer&quot; lifetime=&quot;Transient&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The fields are incredibly dynamic&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Now the real question is how would you get the sort or you want? Maybe a multilist setting or something that would allow you to do it in the editor. To me the real issue is that you can add and remove fields at will. And based on the date range you pick in your export, it fields the fields that were in place within that range. That makes it super difficult to allow you to know what fields to sort and when. Very dynamic. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-09-01T15:30:03.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20790" PostTypeId="2" ParentId="20776" CreationDate="2019-09-01T15:46:28.997" Score="10" Body="&lt;p&gt;Something like this has worked for me. Beyond the boosting, the important part is to have the exact match &lt;code&gt;Or&lt;/code&gt; the loose match. &lt;code&gt;exactPredicate.Or(loosePredicate);&lt;/code&gt; That will build the proper SOLR query.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    var parentPredicate = PredicateBuilder.True&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;    var exactPredicate = PredicateBuilder.False&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;    var loosePredicate = PredicateBuilder.False&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;&#xA;&#xA;    exactPredicates = exactPredicates.Or(i =&amp;gt; i.Title.Contains(query)).Boost(40); &#xA;&#xA;    // you can use the wildcard search or Contains. &#xA;    foreach (var word in query.QueryText.Split(' '))&#xA;    {&#xA;        if (word.Length &amp;gt; 2)&#xA;            loosePredicate = loosePredicate.Or(i =&amp;gt; i.Title.MatchWildcard(&quot;*&quot; + word + &quot;*&quot;).Boost(-100f));&#xA;    }&#xA;&#xA;    // don't use both of these&#xA;    foreach (var word in query.QueryText.Split(' '))&#xA;    {&#xA;        if (word.Length &amp;gt; 2)&#xA;            loosePredicate = loosePredicate.Or(i =&amp;gt; i.Title.Contains(word));&#xA;    }&#xA;&#xA;    parentPredicate = exactPredicate.Or(loosePredicate);&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-09-01T15:46:28.997" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20791" PostTypeId="1" CreationDate="2019-09-02T05:48:45.090" Score="2" ViewCount="104" Body="&lt;p&gt;I am installing Sitecore Commerce 9.2 on my local machine. Whilst doing so I see following warning and the scripts stops -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;VERBOSE: Registering Task extension 'TestWebFeatureSSL' =&amp;gt; 'Test-WebFeatureSSL'&#xA;VERBOSE: Registering task parameter map&#xA;VERBOSE: WarningAction =&amp;gt; Continue&#xA;VERBOSE: Verbose =&amp;gt; Continue&#xA;VERBOSE: InformationAction =&amp;gt; Continue&#xA;VERBOSE: WhatIf =&amp;gt; False&#xA;VERBOSE: Debug =&amp;gt; SilentlyContinue&#xA;VERBOSE: ErrorAction =&amp;gt; Stop&#xA;WARNING: Configuration contains no tasks&#xA;[TIME] 00:00:00&#xA;Transcript stopped, output file is C:\sc920_com_install\SIF\Master_SingleServer.190902 (14).log&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have checked the paths looks good, also checked Master_SingleServer.json and has Parameters, Variables and Includes. Checked one of the include i.e. &quot;.\Configuration\Commerce\IdentityServer\IdentityServer.Config.json&quot;&#xA;and it contains tasks.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anybody faced this issue or specifically where to look for &quot;Registering task parameter map&quot;.&lt;/p&gt;&#xA;" OwnerUserId="2744" LastActivityDate="2019-10-13T11:00:50.177" Title="XC 9.2 installation error- configuration contains no tasks" Tags="|sitecore-commerce|installation|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20792" PostTypeId="2" ParentId="20032" CreationDate="2019-09-02T09:48:39.560" Score="-1" Body="&lt;p&gt;Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$&lt;em&gt;.Issuer -ne $&lt;/em&gt;.Subject}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$&lt;em&gt;.Issuer -ne $&lt;/em&gt;.Subject} | Move-Item -Destination Cert:\LocalMachine\CA&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this will resolve your issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1823" LastActivityDate="2019-09-02T09:48:39.560" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20793" PostTypeId="2" ParentId="16222" CreationDate="2019-09-02T12:04:06.767" Score="2" Body="&lt;p&gt;I found the solution. Thanks to @Kasaku&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Startup : Sitecore.Owin.Startup&#xA;{&#xA;    protected override void PreInitialize(IAppBuilder app)&#xA;    {&#xA;        JwtSecurityTokenHandler.DefaultInboundClaimTypeMap = new Dictionary&amp;lt;string, string&amp;gt;();&#xA;&#xA;        app.UseCookieAuthentication(new CookieAuthenticationOptions&#xA;        {&#xA;            CookieName = &quot;abc.private.cookies&quot;,&#xA;            AuthenticationType = &quot;Cookies&quot;&#xA;        });&#xA;&#xA;        app.UseCookieAuthentication(new CookieAuthenticationOptions&#xA;        {&#xA;            AuthenticationType = &quot;TempCookie&quot;,&#xA;            AuthenticationMode = Microsoft.Owin.Security.AuthenticationMode.Passive&#xA;        });&#xA;&#xA;        base.PreInitialize(app);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3378" LastActivityDate="2019-09-02T12:04:06.767" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20795" PostTypeId="1" AcceptedAnswerId="20802" CreationDate="2019-09-02T14:53:14.170" Score="4" ViewCount="1971" Body="&lt;p&gt;I need to remove empty &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tags from all rich text fields in the content tree:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've done nothing myself with Sitecore Powershell Extensions so far, so I am not sure if this is possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've created a &lt;code&gt;saveitempipeline&lt;/code&gt; so that this can't happen anymore, but we have a lot of fields with empty &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tags so I'd like to remove them with SPE.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="605" LastEditDate="2019-09-02T18:48:05.267" LastActivityDate="2019-09-08T02:14:17.707" Title="Using Powershell Extensions to remove empty &lt;p&gt; tags from all rich text fields" Tags="|powershell-extensions|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20802" PostTypeId="2" ParentId="20795" CreationDate="2019-09-02T21:03:16.577" Score="13" Body="&lt;p&gt;You can use the below script to remove all empty p/P tags (having &lt;code&gt;space&lt;/code&gt; or &lt;code&gt;&amp;amp;nbsp;&lt;/code&gt;). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This script uses the &lt;code&gt;HtmlDecode&lt;/code&gt; method of &lt;code&gt;System.Web.HttpUtility&lt;/code&gt; class to decode single or multiple occurrences of &lt;code&gt;&amp;amp;nbsp;&lt;/code&gt; to an empty string and then Regex replaces p tags with or without spaces.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items = Get-ChildItem &quot;master:/sitecore/content&quot; -Recurse -Language *&#xA;&#xA;foreach($item in $items){&#xA;    Write-Host &quot;Item  - &quot; $item.Paths.Path&#xA;    foreach($field in $item.Fields){&#xA;&#xA;        if($field.Type -eq &quot;Rich Text&quot;){&#xA;&#xA;            $rawValue = $field.Value&#xA;&#xA;            if($rawValue -like '*&amp;lt;p*'){&#xA;                $output = [System.Web.HttpUtility]::HtmlDecode($rawValue)&#xA;                $output =  $output -replace &quot;(&amp;lt;(P|p)&amp;gt;)\s*(&amp;lt;\/(P|p)&amp;gt;)&quot;,'' #To remove &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt; or &amp;lt;p&amp;gt; {HAVING SPACES IN BETWEEN} &amp;lt;/p&amp;gt; or &amp;lt;P&amp;gt;&amp;lt;/P&amp;gt; or &amp;lt;P&amp;gt;  {HAVING SPACES IN BETWEEN}  &amp;lt;/P&amp;gt;&#xA;                $output =  $output -replace &quot;(&amp;lt;(P|p)\s*\/&amp;gt;)&quot;,''          #To remove self closed p tags e.g.  &amp;lt;p/&amp;gt; or &amp;lt;p         /&amp;gt;&#xA;&#xA;                $item.Editing.BeginEdit()&#xA;                $item.Fields[$field.Name].Value = $output&#xA;                $item.Editing.EndEdit()&#xA;&#xA;                Write-Host &quot;Field - &quot; $field.Name &#xA;                Write-Host &quot;&quot;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Tested with&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;p tag with text&amp;lt;/p&amp;gt;&amp;lt;p/&amp;gt;&amp;lt;p /&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;div&amp;gt;hello&amp;lt;/div&amp;gt;&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;p&amp;gt;p tag with text&amp;lt;/p&amp;gt;&amp;lt;div&amp;gt;hello&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-09-02T21:03:16.577" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20805" PostTypeId="1" CreationDate="2019-09-03T08:21:52.210" Score="0" ViewCount="953" Body="&lt;p&gt;We are using &lt;code&gt;Sitecore 8.2 Update 2&lt;/code&gt; and it has a lot of images which has missing Title, ALt text and Description for Images. We performed below action&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Wrote a Pipeline which inherits from Render field and updated issing Title, ALt text and Description for Images.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;However, this leading to a lot of performance issues&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is somebody aware of Pipeline which I can use for CD which updates all the missing elements on the page at once.  I want to avoid multiple hits on Pipeline&lt;/p&gt;&#xA;" OwnerUserId="4580" LastEditorUserId="5387" LastEditDate="2019-09-03T08:41:16.570" LastActivityDate="2019-09-04T13:39:12.577" Title="Update Missing Title, Alt Text,Description for Images" Tags="|media-library|pipelines|" AnswerCount="2" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="20806" PostTypeId="2" ParentId="20805" CreationDate="2019-09-03T08:45:50.993" Score="0" Body="&lt;p&gt;Although, I will also suggest you to create a SPE script to update the existing images in Sitecore. You can simply integrate Cognitive Services for this in your script and after that can use the same for the upload-image. Also, there are some modules available in the marketplace. but if you don't want to do this than you don't need to modify any pipeline.&#xA;Sitecore supports parameter in render field where you can pass &quot;Title, Alt and Description&quot;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; @Html.Sitecore().Field(&quot;ImageField&quot;,YourItem, new { title = &quot;YourTitle&quot;,alt=&quot;YourAlt&quot;, description=&quot;YourDescription&quot; })&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I hope this will help you.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-03T08:45:50.993" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20807" PostTypeId="2" ParentId="20213" CreationDate="2019-09-03T08:51:36.767" Score="1" Body="&lt;p&gt;The Clean Up Databases command doesn't always work when there are a lot of items that need cleaning up. Try this SQL query for cleaning up the Blobs table to remove orphaned rows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DECLARE @UsableBlobs table(&#xA;    ID uniqueidentifier&#xA;    );&#xA;&#xA;INSERT INTO &#xA;    @UsableBlobs    &#xA;select convert(uniqueidentifier,[Value]) as EmpID from [Fields]&#xA;where [Value] != '' &#xA;and (FieldId='{40E50ED9-BA07-4702-992E-A912738D32DC}' or FieldId='{DBBE7D99-1388-4357-BB34-AD71EDF18ED3}') &#xA;delete top (10000) from [Blobs] &#xA;where [BlobId] not in (select * from @UsableBlobs)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5976" LastActivityDate="2019-09-03T08:51:36.767" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20808" PostTypeId="1" AcceptedAnswerId="20809" CreationDate="2019-09-03T08:59:28.540" Score="4" ViewCount="536" Body="&lt;p&gt;I want to delete all images under the folder Images and all sub-folders too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what I did &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$path =&quot;master:\sitecore\media library\images&quot;&#xA;$items = Get-ChildItem -Path $path -Recurse &#xA;ForEach ($item in $$items) &#xA;{&#xA;   $item | Remove-Item &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need to add a condition to delete all items which their names start with &quot;old_&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="5940" LastActivityDate="2019-09-03T19:59:22.380" Title="Delete all items which names start with &quot;old_&quot;" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20809" PostTypeId="2" ParentId="20808" CreationDate="2019-09-03T09:09:56.900" Score="8" Body="&lt;p&gt;Just add &lt;code&gt;Where-Object { $_.Name -like &quot;old_*&quot; }&lt;/code&gt; condition:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$path =&quot;master:\sitecore\media library\images&quot;&#xA;$items = Get-ChildItem -Path $path -Recurse | Where-Object { $_.Name -like &quot;old_*&quot; }&#xA;ForEach ($item in $items) &#xA;{&#xA;   $item | Remove-Item &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastEditorUserId="605" LastEditDate="2019-09-03T19:59:22.380" LastActivityDate="2019-09-03T19:59:22.380" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20810" PostTypeId="1" AcceptedAnswerId="20815" CreationDate="2019-09-03T09:13:29.400" Score="1" ViewCount="154" Body="&lt;p&gt;I have implemented a wildcard item in my project to handle two dynamic ids.&#xA;The url is like:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://test82.local/min/landing/abxc1534/7364fbg&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It works fine on first load.&#xA;But if I switch language using our (custom) language switcher, the url becomes this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;http://test82.local/min/landing/,-w-,/,-w-,&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And it shows item not found.&#xA;Please let me know if I am missing something.&lt;/p&gt;&#xA;" OwnerUserId="3022" LastEditorUserId="3022" LastEditDate="2019-09-16T08:50:03.220" LastActivityDate="2019-09-16T08:50:03.220" Title="Wildcard item throwing error on language switching" Tags="|multilingual|wildcards|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20811" PostTypeId="1" AcceptedAnswerId="20812" CreationDate="2019-09-03T10:01:25.100" Score="1" ViewCount="73" Body="&lt;p&gt;I am currently setting my &lt;code&gt;items&lt;/code&gt; in &lt;code&gt;Sitecore&lt;/code&gt; programmatically:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[FieldIDs.EnableItemFallback].Value = &quot;0&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This makes my non-English version to not have a fallback from EN. But then I noticed that there's also this: &lt;code&gt;item.Fields[FieldIDs.EnableLanguageFallback].Value = &quot;0&quot;;&lt;/code&gt; and this: &lt;code&gt;item.Fields[FieldIDs.EnableSharedLanguageFallback].Value = &quot;0&quot;;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the difference?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;using &lt;code&gt;Sitecore 8.2&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="5957" LastActivityDate="2019-09-03T10:23:36.313" Title="Difference between FieldIDs.EnableItemFallback and FieldIDs.EnableLanguageFallback" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20812" PostTypeId="2" ParentId="20811" CreationDate="2019-09-03T10:23:36.313" Score="4" Body="&lt;p&gt;Language fallback enables either on item-level or on field-level fallback on the relevant sites and on the relevant items, fields, or templates. You should not use both item- and field-level fallback on the same item because it makes it difficult to maintain an overview of the versions that different items and fields fall back to. In your code - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[FieldIDs.EnableItemFallback].Value = &quot;0&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;above code is used for Item-level fallback. &#xA;Also, you can maintain field-level fallback by following - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[FieldIDs.EnableLanguageFallback].Value = &quot;0&quot;; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Fields[FieldIDs.EnableSharedLanguageFallback].Value = &quot;0&quot;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Item.Fields[FieldIDs.EnableSharedLanguageFallback]&lt;/strong&gt; - to enable language fallback for all the language versions of the current field. This applies to all the currently available language versions of the field and any new language versions that you create&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Item.Fields[FieldIDs.EnableLanguageFallback]&lt;/strong&gt; - to enable language fallback for only the current language version of the field.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-03T10:23:36.313" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20813" PostTypeId="2" ParentId="20767" CreationDate="2019-09-03T10:41:23.443" Score="0" Body="&lt;p&gt;I had the same requirement not so long ago. Sitecore provides a code to ran PipelineBatch programmatically: &lt;a href=&quot;https://doc.sitecore.com/developers/def/v1.3/synchronization/start-pipeline-batch-programmatically.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/def/v1.3/synchronization/start-pipeline-batch-programmatically.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Guid tenantId = ...         //tenant that owns the pipeline batch&#xA;Guid pipelineBatchId = ...  //pipeline batch&#xA;IEnumerable&amp;lt;PipelineBatch&amp;gt; batches = null;&#xA;batches = Sitecore.DataExchange.Context.TenantRepository.GetPipelineBatches(tenantId);&#xA;if (batches != null)&#xA;{&#xA;  PipelineBatch pipelineBatch = batches.FirstOrDefault(x =&amp;gt; x.ID == pipelineBatchId);&#xA;  if (pipelineBatch != null)&#xA;  {&#xA;    var runner = new InProcessPipelineBatchRunner();&#xA;    if (runner.Run(pipelineBatch))&#xA;    {&#xA;      //pipeline batch was started&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But this code doesn't show how to put some data (like contact) to the pipeline. Also the code runs in the same thread where it is run from. That can cause a performance issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have implemented own &lt;a href=&quot;https://github.com/ampach/PipelineRunner&quot; rel=&quot;nofollow noreferrer&quot;&gt;PipelineBatchRunner&lt;/a&gt;. You can find &lt;code&gt;BatchRunner.cs&lt;/code&gt; class there with &lt;code&gt;RunStandardBatch&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void RunStandardBatch(ID batchItemId, IPlugin[] plugins)&#xA;        {&#xA;            var batchItem = Sitecore.Configuration.Factory.GetDatabase(&quot;master&quot;)&#xA;                .GetItem(batchItemId);&#xA;&#xA;            if (PipelineBatchRunner == null || batchItem == null || !Helper.IsPipelineBatchItem(batchItem) || !Helper.IsItemEnabled(batchItem))&#xA;                return;&#xA;&#xA;            var pipelineBatch = Helper.GetPipelineBatch(batchItem);&#xA;&#xA;            Run(pipelineBatch, plugins);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You just need to pass a BatchItemID and list of Plugins where &lt;code&gt;Plugin&lt;/code&gt; is any class which implements &lt;code&gt;Sitecore.DataExchange.IPlugin&lt;/code&gt; interface. For example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SingleContactSyncPlugin : Sitecore.DataExchange.IPlugin&#xA;    {&#xA;        public List&amp;lt;Guid&amp;gt; ContactIdsToSync { get; set; }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This plugins will be put into Pipelines Context. Also, the BatchRunner runs the sync as Sitecore Job thereby not blocking the main thread.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, we have a code that allows to put something into context. Now we need to read it. I have implemented a &lt;code&gt;ReadContextContact&lt;/code&gt; pipeline step which I use instead of original &lt;code&gt;Read Contacts&lt;/code&gt; pipeline step:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Collections.ObjectModel;&#xA;using System.Linq;&#xA;using System.Linq.Expressions;&#xA;using System.Threading.Tasks;&#xA;using Sitecore.DataExchange.Attributes;&#xA;using Sitecore.DataExchange.Contexts;&#xA;using Sitecore.DataExchange.Models;&#xA;using Sitecore.DataExchange.Plugins;&#xA;using Sitecore.DataExchange.Processors.PipelineSteps;&#xA;using Sitecore.DataExchange.Providers.XConnect;&#xA;using Sitecore.DataExchange.Providers.XConnect.Client;&#xA;using Sitecore.DataExchange.Providers.XConnect.Expressions;&#xA;using Sitecore.DataExchange.Providers.XConnect.Models;&#xA;using Sitecore.DataExchange.Providers.XConnect.Plugins;&#xA;using Sitecore.Services.Core.Diagnostics;&#xA;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Operations;&#xA;&#xA;namespace SomeNamespace.Processors&#xA;{&#xA;    [RequiredEndpointPlugins(typeof(XConnectClientEndpointSettings))]&#xA;    [RequiredPipelineStepPlugins(typeof(ReadEntitySettings), typeof(LoadInteractionsSettings))]&#xA;    public class ReadContextContactProcessor : BaseReadDataStepProcessor&#xA;    {&#xA;&#xA;        protected override void ReadData(Endpoint endpoint, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            var xconnectClientHelper = GetXConnectClientHelper(endpoint);&#xA;            if (xconnectClientHelper == null)&#xA;            {&#xA;                pipelineContext.CriticalError = true;&#xA;                Log(logger.Error, pipelineContext, &quot;Cannot get xconnect client helper.&quot;, Array.Empty&amp;lt;string&amp;gt;());&#xA;            }&#xA;            else&#xA;            {&#xA;                var xconnectClientSettings = GetXConnectClientSettings(endpoint, pipelineStep, pipelineContext, logger);&#xA;                if (xconnectClientSettings == null)&#xA;                {&#xA;                    pipelineContext.CriticalError = true;&#xA;                    Log(logger.Error, pipelineContext, &quot;Cannot get xconnect client settings.&quot;, Array.Empty&amp;lt;string&amp;gt;());&#xA;                }&#xA;                else&#xA;                {&#xA;                    var singleContactSyncPlugin = pipelineContext.PipelineBatchContext.GetPlugin&amp;lt;SingleContactSyncPlugin&amp;gt;();&#xA;                    if (singleContactSyncPlugin == null)&#xA;                    {&#xA;                        pipelineContext.CriticalError = true;&#xA;                        Log(logger.Error, pipelineContext, &quot;Cannot get xconnect client helper.&quot;, Array.Empty&amp;lt;string&amp;gt;());&#xA;                    }&#xA;                    else&#xA;                    {&#xA;                        var xconnectClient = xconnectClientHelper.ToXConnectClient(xconnectClientSettings);&#xA;&#xA;                        var contactExpandOptions = ResolveExpandOptions(pipelineStep, pipelineContext, logger);&#xA;&#xA;                        var contacts = xconnectClient.GetContactsAsync(GetContactReference(singleContactSyncPlugin.ContactIdsToSync), contactExpandOptions);&#xA;&#xA;                        List&amp;lt;EntityModel&amp;gt; result = GetContactModels(contacts, xconnectClientHelper, pipelineContext, logger).Result;&#xA;&#xA;                        IterableDataSettings newPlugin = new IterableDataSettings(result);&#xA;                        string message = result.Any() ? $&quot;Entities were read from xConnect. (total count: {result.Count})&quot; : &quot;No entities were read from xConnect.&quot;;&#xA;                        Log(logger.Info, pipelineContext, message, $&quot;endpoint: {endpoint.Name}&quot;, &quot;entity: contact&quot;);&#xA;                        pipelineContext.AddPlugin(newPlugin);&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        protected virtual ReadEntitySettings GetReadEntitySettings(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            return pipelineStep.GetPlugin&amp;lt;ReadEntitySettings&amp;gt;();&#xA;        }&#xA;&#xA;        protected virtual IXConnectClientHelper GetXConnectClientHelper(Endpoint endpoint)&#xA;        {&#xA;            XConnectClientEndpointSettings plugin = endpoint?.GetPlugin&amp;lt;XConnectClientEndpointSettings&amp;gt;();&#xA;            return plugin?.ClientHelper;&#xA;        }&#xA;&#xA;        protected virtual List&amp;lt;IEntityReference&amp;lt;Contact&amp;gt;&amp;gt; GetContactReference(List&amp;lt;Guid&amp;gt; ids)&#xA;        {&#xA;            return ids.Select(id =&amp;gt; new ContactReference(id)).Cast&amp;lt;IEntityReference&amp;lt;Contact&amp;gt;&amp;gt;().ToList();&#xA;        }&#xA;&#xA;        protected virtual XConnectClientSettings GetXConnectClientSettings(Endpoint endpoint, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            var plugin = endpoint?.GetPlugin&amp;lt;XConnectClientEndpointSettings&amp;gt;();&#xA;&#xA;            return plugin?.ClientSettings;&#xA;        }&#xA;&#xA;        protected virtual ContactExpandOptions ResolveExpandOptions(PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            var contactExpandOptions = new ContactExpandOptions(GetReadEntitySettings(pipelineStep).FacetNames.ToArray());&#xA;            var interactionsSettings = GetLoadInteractionsSettings(pipelineStep);&#xA;            if (interactionsSettings.LoadInteractions)&#xA;                contactExpandOptions.Interactions = new RelatedInteractionsExpandOptions(interactionsSettings.FacetNames.ToArray())&#xA;                {&#xA;                    Limit = interactionsSettings.MaxCount&#xA;                };&#xA;            return contactExpandOptions;&#xA;        }&#xA;&#xA;        protected virtual LoadInteractionsSettings GetLoadInteractionsSettings(PipelineStep pipelineStep)&#xA;        {&#xA;            return pipelineStep.GetPlugin&amp;lt;LoadInteractionsSettings&amp;gt;();&#xA;        }&#xA;&#xA;        protected virtual ReadEntitySettings GetReadEntitySettings(PipelineStep pipelineStep)&#xA;        {&#xA;            return pipelineStep.GetPlugin&amp;lt;ReadEntitySettings&amp;gt;();&#xA;        }&#xA;&#xA;        private async Task&amp;lt;List&amp;lt;EntityModel&amp;gt;&amp;gt; GetContactModels(Task&amp;lt;ReadOnlyCollection&amp;lt;IEntityLookupResult&amp;lt;Contact&amp;gt;&amp;gt;&amp;gt; task, IXConnectClientHelper clientHelper, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            List&amp;lt;EntityModel&amp;gt; items = new List&amp;lt;EntityModel&amp;gt;();&#xA;&#xA;            var result = await task;&#xA;&#xA;            foreach (var contact in result)&#xA;            {&#xA;                if (!contact.Exists)&#xA;                {&#xA;                    Log(logger.Info, pipelineContext, $&quot;Contact with Contact ID = {contact.Reference.Id} is not found and was skipped.&quot;, Array.Empty&amp;lt;string&amp;gt;());&#xA;                    continue;&#xA;                }&#xA;&#xA;                items.Add(clientHelper.ToContactModel(contact.Entity));&#xA;            }&#xA;&#xA;            return items;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also, you require to implement a converter for the processor above:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Collections.Generic;&#xA;using Sitecore.DataExchange.Attributes;&#xA;using Sitecore.DataExchange.Converters.PipelineSteps;&#xA;using Sitecore.DataExchange.Models;&#xA;using Sitecore.DataExchange.Providers.XConnect.Plugins;&#xA;using Sitecore.DataExchange.Repositories;&#xA;using Sitecore.Services.Core.Model;&#xA;&#xA;namespace SomeNamespace.Processors&#xA;{&#xA;    [SupportedIds(&quot;{YOUR CUSTOM PROCESSOR TEMPLATE ID}&quot;)]&#xA;    public class ReadContextContactConverter : BaseResolveObjectFromEndpointStepConverter&#xA;    {&#xA;        public const string FieldNameContactFacetsToRead = &quot;ContactFacetsToRead&quot;;&#xA;        public const string FieldNameInteractionFacetsToRead = &quot;InteractionFacetsToRead&quot;;&#xA;        public const string FieldNameLoadInteractions = &quot;LoadInteractions&quot;;&#xA;        public const string FieldNameInteractionMaxCount = &quot;InteractionMaxCount&quot;;&#xA;        public const string FieldNameFacetName = &quot;FacetName&quot;;&#xA;&#xA;        public ReadContactsFromExternalDataStepConverter(IItemModelRepository repository)&#xA;          : base(repository)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep)&#xA;        {&#xA;            base.AddPlugins(source, pipelineStep);&#xA;            AddLoadInteractionsSettings(source, pipelineStep);&#xA;            AddReadEntitySettings(source, pipelineStep);&#xA;        }&#xA;&#xA;        protected virtual void AddReadEntitySettings(ItemModel source, PipelineStep pipelineStep)&#xA;        {&#xA;            ReadEntitySettings newPlugin = new ReadEntitySettings&#xA;            {&#xA;                FacetNames = new List&amp;lt;string&amp;gt;(0)&#xA;            };&#xA;            var referencesAsModels = GetReferencesAsModels(source, FieldNameContactFacetsToRead);&#xA;            if (referencesAsModels != null)&#xA;            {&#xA;                foreach (var itemModel in referencesAsModels)&#xA;                {&#xA;                    string stringValue = GetStringValue(itemModel, FieldNameFacetName);&#xA;                    newPlugin.FacetNames.Add(stringValue);&#xA;                }&#xA;            }&#xA;            pipelineStep.AddPlugin(newPlugin);&#xA;        }&#xA;&#xA;        protected virtual void AddLoadInteractionsSettings(ItemModel source, PipelineStep pipelineStep)&#xA;        {&#xA;            LoadInteractionsSettings interactionsSettings =&#xA;                new LoadInteractionsSettings { MaxCount = GetIntValue(source, FieldNameInteractionMaxCount) };&#xA;            int num = GetBoolValue(source, FieldNameLoadInteractions) ? 1 : 0;&#xA;            interactionsSettings.LoadInteractions = num != 0;&#xA;            List&amp;lt;string&amp;gt; stringList = new List&amp;lt;string&amp;gt;();&#xA;            interactionsSettings.FacetNames = stringList;&#xA;            LoadInteractionsSettings newPlugin = interactionsSettings;&#xA;            IEnumerable&amp;lt;ItemModel&amp;gt; referencesAsModels = GetReferencesAsModels(source, FieldNameInteractionFacetsToRead);&#xA;            if (referencesAsModels != null)&#xA;            {&#xA;                foreach (var itemModel in referencesAsModels)&#xA;                {&#xA;                    string stringValue = GetStringValue(itemModel, FieldNameFacetName);&#xA;                    newPlugin.FacetNames.Add(stringValue);&#xA;                }&#xA;            }&#xA;            pipelineStep.AddPlugin(newPlugin);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The PipelineStap above gets Contact Ids from the plugin which you put into the context when run the PipelineBatch and reads this contacts from xConnect.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="1470" LastEditDate="2019-09-03T13:53:55.073" LastActivityDate="2019-09-03T13:53:55.073" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20814" PostTypeId="1" CreationDate="2019-09-03T12:46:44.163" Score="1" ViewCount="147" Body="&lt;p&gt;I have developed a custom log appender to send exceptions to Application Insights.&#xA;The problem is that some exceptions show on the AI protal (Azure) but some other exceptions don't.&#xA;Anyone had similar problem?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cheers&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Eric&lt;/p&gt;&#xA;" OwnerUserId="4226" LastActivityDate="2019-09-03T12:46:44.163" Title="Custom ApplicationInsights LogAppender - Log4net" Tags="|logging|log4net|application-insights|" AnswerCount="0" CommentCount="1" ClosedDate="2019-09-03T19:15:38.473" ContentLicense="CC BY-SA 4.0" />
  <row Id="20815" PostTypeId="2" ParentId="20810" CreationDate="2019-09-03T12:59:03.120" Score="2" Body="&lt;p&gt;When we see the code we'll be sure, but I'm rather convinced the problem is that your custom language switcher is asking the url from the page in the other languages through the Sitecore API - which is a normal procedure. But if Sitecore is not aware of any logic to create the url you want for the wildcard, Sitecore will generate it with the &lt;code&gt;,-w-,&lt;/code&gt; sections you are seeing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this, you need to make sure that your code knows how to generate the correct urls. You might consider a custom link provider...&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-09-03T12:59:03.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20816" PostTypeId="1" AcceptedAnswerId="20817" CreationDate="2019-09-03T14:07:54.947" Score="2" ViewCount="219" Body="&lt;p&gt;I've set up a timed processor that takes items of a particular type and archives them if they haven't been updated in two years.  I have it logging the correct item that it finds, but the article does not archive, and I get an null reference exception in the logs that I can't figure out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the archiver code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Configuration;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Fields;&#xA;using System.Collections.Generic;&#xA;using Sitecore.Data.Archiving;&#xA;using Sitecore.Tasks;&#xA;&#xA; namespace Org.Utility.Tasks&#xA; {&#xA;     public class ArticleArchiver&#xA;     {&#xA;&#xA;    private static log4net.ILog logger&#xA;    {&#xA;        get&#xA;        {&#xA;            return Sitecore.Diagnostics.LoggerFactory.GetLogger(&quot;ArchiveLog&quot;);&#xA;        }&#xA;    }&#xA;&#xA;    private readonly Database _sourceDatabase = Factory.GetDatabase(&quot;master&quot;);&#xA;&#xA;    public void Execute()&#xA;    {&#xA;        //var itemContainer = _sourceDatabase.GetItem(&quot;/sitecore/content/AutoArchive/News&quot;);&#xA;        //var destinationContainer = _sourceDatabase.GetItem(&quot;/sitecore/content/AutoArchive/News Archive&quot;);&#xA;        var query = &quot;/sitecore/content/Orgs//*[@@TemplateID='{61265D95-C82E-4AB8-AF25-55671AFEA48F}']&quot;;&#xA;        Database master = Factory.GetDatabase(&quot;master&quot;);&#xA;        Item[] articles = master.SelectItems(query);&#xA;        logger.Info(articles.Length);&#xA;        logger.Info(&quot;About to run ArchiveItems&quot;);&#xA;        ArchiveItems(articles);&#xA;    }&#xA;&#xA;    private void ArchiveItems(Item[] list)&#xA;    {&#xA;        logger.Info(&quot;Running ArchiveItems&quot;);&#xA;&#xA;        using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;        {&#xA;            //logger.Info(&quot;got here&quot;);&#xA;            for (int i = 0; i &amp;lt; list.Length; i++)&#xA;            {&#xA;                Item item = list[i];&#xA;                //logger.Info(item.ID.ToString());&#xA;                if (item != null) { &#xA;                    DateField updateDate = (DateField)(item.Fields[&quot;__Updated&quot;]);&#xA;                    //logger.Info(item.Fields[&quot;__Updated&quot;]);&#xA;&#xA;                    //logger.Info(item.ID.ToString() + &quot; - &quot; + updateDate.ToString());&#xA;                    if (updateDate.DateTime.AddYears(2) &amp;lt; System.DateTime.Now.ToUniversalTime())&#xA;                    {&#xA;&#xA;                        logger.Info(&quot;Found an item to archive: &quot; + item.ID.ToString());&#xA;                        Sitecore.Context.Database.Archives[&quot;archive&quot;].ArchiveItem(item);&#xA;                    }&#xA;                }&#xA;            }&#xA;            //logger.Info(&quot;after loop&quot;);&#xA;            //logger.Info(test);&#xA;        }&#xA;    }&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get the following in the Archive log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #4 22:41:26 INFO  32&#xA;ManagedPoolThread #4 22:41:26 INFO  About to run ArchiveItems&#xA;ManagedPoolThread #4 22:41:26 INFO  Running ArchiveItems&#xA;ManagedPoolThread #4 22:41:26 INFO  Found an item to archive: {DC4B36AA-EE47-4ACD-8D75-B4DF5A33E95C}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Yet in the main sitecore log I get: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #3 10:07:54 INFO  Job started: &#xA;Org.Utility.Tasks.ArticleArchiver&#xA;ManagedPoolThread #3 10:07:54 ERROR Exception&#xA;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, &#xA;Signature sig, Boolean constructor)&#xA;at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, &#xA;Object[] parameters, Object[] arguments)&#xA;at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags &#xA;invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, &#xA;Object[] parameters, Object obj)&#xA;at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args)&#xA;at (Object , Object[] )&#xA;at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, &#xA;PipelineArgs args, String pipelineDomain)&#xA;at Sitecore.Jobs.Job.ThreadEntry(Object state)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Org&#xA;at Org.Utility.Tasks.ArticleArchiver.ArchiveItems(Item[] list) in C:\Sitecore\BitBucketRepository\Org\Utility\Tasks\ArticleArchiver.cs:line 48&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Line 48 is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DateField updateDate = (DateField)(item.Fields[&quot;__Updated&quot;]);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastActivityDate="2019-09-03T18:10:18.987" Title="Archiving processor does not archive" Tags="|pipelines|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20817" PostTypeId="2" ParentId="20816" CreationDate="2019-09-03T15:00:42.823" Score="3" Body="&lt;p&gt;It seems you are trying to create a scheduled task here but you cannot use &lt;code&gt;Sitecore.Context&lt;/code&gt; in a scheduled task. &lt;code&gt;Sitecore.Context&lt;/code&gt; is tied with &lt;code&gt;HttpRequest&lt;/code&gt;, and there is no request in a scheduled task.&#xA;You need to use the following way to get the database based on the database you are using- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var masterDb = Sitecore.Data.Database.GetDatabase(&quot;master&quot;);&#xA;var webDb = Sitecore.Data.Database.GetDatabase(&quot;web&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more about &lt;code&gt;Sitecore.Context&lt;/code&gt; see - &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/the-sitecore-context&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/the-sitecore-context&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-03T15:00:42.823" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20819" PostTypeId="2" ParentId="20769" CreationDate="2019-09-03T16:01:38.133" Score="2" Body="&lt;p&gt;Maybe it is not the most elegant solution, but you can try. &#xA;First of all you need to create a new pipeline step template which is inherited from &lt;code&gt;Resolve Contact by Identifier from xConnect Pipeline Step&lt;/code&gt; template. Let's call it &lt;code&gt;Extended Resolve Contact by Identifier from xConnect Pipeline Step&lt;/code&gt;. Add three extra fields to the &lt;code&gt;identifier&lt;/code&gt; section:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;FirstNameValueAccessor&lt;/code&gt; &lt;strong&gt;type&lt;/strong&gt;: Droptree; &lt;strong&gt;source&lt;/strong&gt;: query:./ancestor-or-self::&lt;em&gt;[@@templateid='{327A381B-59F8-4E88-B331-BEBC7BD87E4E}']//descendant-or-self::&lt;/em&gt;[@@templateid='{ADD2D00A-784B-492F-94CB-971303DF4019}'])&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;LastNameValueAccessor&lt;/code&gt; &lt;strong&gt;type&lt;/strong&gt;: Droptree; &lt;strong&gt;source&lt;/strong&gt;: query:./ancestor-or-self::&lt;em&gt;[@@templateid='{327A381B-59F8-4E88-B331-BEBC7BD87E4E}']//descendant-or-self::&lt;/em&gt;[@@templateid='{ADD2D00A-784B-492F-94CB-971303DF4019}'])&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;BirthDateValueAccessor&lt;/code&gt; &lt;strong&gt;type&lt;/strong&gt;: Droptree; &lt;strong&gt;source&lt;/strong&gt;: query:./ancestor-or-self::&lt;em&gt;[@@templateid='{327A381B-59F8-4E88-B331-BEBC7BD87E4E}']//descendant-or-self::&lt;/em&gt;[@@templateid='{ADD2D00A-784B-492F-94CB-971303DF4019}'])&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Then, we need to create a new &lt;code&gt;CustomResolveXConnectContactStepConverter&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.DataExchange.Attributes;&#xA;using Sitecore.DataExchange.DataAccess;&#xA;using Sitecore.DataExchange.Models;&#xA;using Sitecore.DataExchange.Providers.XConnect.Converters.PipelineSteps;&#xA;using Sitecore.DataExchange.Repositories;&#xA;using Sitecore.Services.Core.Model;&#xA;&#xA;namespace PipelineBatchRunner&#xA;{&#xA;    [SupportedIds(new string[] { &quot;{TEMPLATE IF OF CustomResolveXConnectContactStepPROCESSOR }&quot; })]&#xA;    public class CustomResolveXConnectContactStepConverter : ResolveXConnectContactByIdentifierStepConverter&#xA;    {&#xA;        public const string FirstNameValueAccessor = &quot;FirstNameValueAccessor&quot;;&#xA;        public const string LastNameValueAccessor = &quot;LastNameValueAccessor&quot;;&#xA;        public const string BirthDateValueAccessor = &quot;BirthDateValueAccessor&quot;;&#xA;&#xA;        public CustomResolveXConnectContactStepConverter(IItemModelRepository repository) : base(repository)&#xA;        {&#xA;        }&#xA;&#xA;        protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep)&#xA;        {&#xA;            base.AddPlugins(source, pipelineStep);&#xA;&#xA;            ContactFallbackResolverSettings fallbackPlugin = new ContactFallbackResolverSettings()&#xA;            {&#xA;&#xA;                FirstNameValueAccessor = this.ConvertReferenceToModel&amp;lt;IValueAccessor&amp;gt;(source, FirstNameValueAccessor),&#xA;                LastNameValueAccessor = this.ConvertReferenceToModel&amp;lt;IValueAccessor&amp;gt;(source, LastNameValueAccessor),&#xA;                BirthDateValueAccessor = this.ConvertReferenceToModel&amp;lt;IValueAccessor&amp;gt;(source, BirthDateValueAccessor),&#xA;            };&#xA;            pipelineStep.AddPlugin&amp;lt;ContactFallbackResolverSettings&amp;gt;(fallbackPlugin);&#xA;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and &lt;code&gt;CustomResolveXConnectContactStepProcessor&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Linq;&#xA;using Sitecore.DataExchange.Attributes;&#xA;using Sitecore.DataExchange.Contexts;&#xA;using Sitecore.DataExchange.DataAccess;&#xA;using Sitecore.DataExchange.Models;&#xA;using Sitecore.DataExchange.Plugins;&#xA;using Sitecore.DataExchange.Providers.XConnect;&#xA;using Sitecore.DataExchange.Providers.XConnect.Plugins;&#xA;using Sitecore.DataExchange.Providers.XConnect.Processors.PipelineSteps;&#xA;using Sitecore.Services.Core.Diagnostics;&#xA;using Sitecore.XConnect;&#xA;using Sitecore.XConnect.Client;&#xA;using Sitecore.XConnect.Collection.Model;&#xA;&#xA;namespace PipelineBatchRunner&#xA;{&#xA;    [RequiredPipelineStepPlugins(new Type[] { typeof(XConnectContactIdentifierSettings), typeof(LoadInteractionsSettings), typeof(RetrySettings), typeof(ContactFallbackResolverSettings) })]&#xA;    public class CustomResolveXConnectContactStepProcessor : ResolveXConnectContactByIdentifierStepProcessor&#xA;    {&#xA;        protected override object FindExistingObject(Sitecore.XConnect.IXdbContext client, IXConnectClientHelper clientHelper,&#xA;            string identifierValue, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            var contact = base.FindExistingObject(client, clientHelper, identifierValue, pipelineStep, pipelineContext, logger);&#xA;&#xA;            if (contact == null)&#xA;            {&#xA;                ContactFallbackResolverSettings plugin = pipelineStep.GetPlugin&amp;lt;ContactFallbackResolverSettings&amp;gt;();&#xA;                if (plugin == null)&#xA;                    return null;&#xA;&#xA;                ContactExpandOptions contactExpandOptions = GetContactExpandOptions(pipelineStep, pipelineContext, logger);&#xA;                Contact contact2 = (Contact)null;&#xA;&#xA;                try&#xA;                {&#xA;                    var firstName = ReadFirstName(plugin, pipelineStep, pipelineContext, logger);&#xA;                    var lastName = ReadLastName(plugin, pipelineStep, pipelineContext, logger);&#xA;                    var birthDate = ReadBirthDate(plugin, pipelineStep, pipelineContext, logger);&#xA;&#xA;                    var queryable = client.Contacts.Where(c =&amp;gt;&#xA;                            c.GetFacet&amp;lt;PersonalInformation&amp;gt;(Sitecore.XConnect.Collection.Model.CollectionModel.FacetKeys&#xA;                                .PersonalInformation).FirstName == firstName &amp;amp;&amp;amp;&#xA;                            c.GetFacet&amp;lt;PersonalInformation&amp;gt;(Sitecore.XConnect.Collection.Model.CollectionModel.FacetKeys&#xA;                                .PersonalInformation).LastName == lastName &amp;amp;&amp;amp;&#xA;                            c.GetFacet&amp;lt;PersonalInformation&amp;gt;(Sitecore.XConnect.Collection.Model.CollectionModel.FacetKeys&#xA;                                .PersonalInformation).Birthdate == birthDate)&#xA;                        .WithExpandOptions(contactExpandOptions);&#xA;&#xA;                    var enumerator = queryable.GetBatchEnumeratorSync(1);&#xA;&#xA;                    while (enumerator.MoveNext())&#xA;                    {&#xA;                        return enumerator.Current;&#xA;                    }&#xA;                }&#xA;                catch (XdbExecutionException ex)&#xA;                {&#xA;                    // Handle exception&#xA;&#xA;                    return null;&#xA;                }&#xA;            }&#xA;&#xA;            return contact;&#xA;        }&#xA;&#xA;        protected virtual string ReadFirstName(ContactFallbackResolverSettings plugin, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            XConnectContactIdentifierSettings xConnectContactIdentifierSettings = pipelineStep.GetPlugin&amp;lt;XConnectContactIdentifierSettings&amp;gt;();&#xA;            object fromPipelineContext = this.GetObjectFromPipelineContext(xConnectContactIdentifierSettings.ContactIdentificationLevelObjectLocation, pipelineContext, logger);&#xA;            if (fromPipelineContext != null)&#xA;            {&#xA;                var firstNameValueAccessor = plugin.FirstNameValueAccessor;&#xA;                if (firstNameValueAccessor != null)&#xA;                {&#xA;                    IValueReader valueReader = firstNameValueAccessor.ValueReader;&#xA;                    if (valueReader != null)&#xA;                    {&#xA;                        DataAccessContext context = new DataAccessContext();&#xA;                        ReadResult readResult = valueReader.Read(fromPipelineContext, context);&#xA;                        if (readResult != null &amp;amp;&amp;amp; readResult.WasValueRead)&#xA;                        {&#xA;                            return readResult.ReadValue as string;&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;&#xA;            return null;&#xA;        }&#xA;&#xA;        protected virtual string ReadLastName(ContactFallbackResolverSettings plugin, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            XConnectContactIdentifierSettings xConnectContactIdentifierSettings = pipelineStep.GetPlugin&amp;lt;XConnectContactIdentifierSettings&amp;gt;();&#xA;            object fromPipelineContext = this.GetObjectFromPipelineContext(xConnectContactIdentifierSettings.ContactIdentificationLevelObjectLocation, pipelineContext, logger);&#xA;            if (fromPipelineContext != null)&#xA;            {&#xA;                var firstNameValueAccessor = plugin.LastNameValueAccessor;&#xA;                if (firstNameValueAccessor != null)&#xA;                {&#xA;                    IValueReader valueReader = firstNameValueAccessor.ValueReader;&#xA;                    if (valueReader != null)&#xA;                    {&#xA;                        DataAccessContext context = new DataAccessContext();&#xA;                        ReadResult readResult = valueReader.Read(fromPipelineContext, context);&#xA;                        if (readResult != null &amp;amp;&amp;amp; readResult.WasValueRead)&#xA;                        {&#xA;                            return readResult.ReadValue as string;&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;&#xA;            return null;&#xA;        }&#xA;&#xA;        protected virtual DateTime? ReadBirthDate(ContactFallbackResolverSettings plugin, PipelineStep pipelineStep, PipelineContext pipelineContext, ILogger logger)&#xA;        {&#xA;            XConnectContactIdentifierSettings xConnectContactIdentifierSettings = pipelineStep.GetPlugin&amp;lt;XConnectContactIdentifierSettings&amp;gt;();&#xA;            object fromPipelineContext = this.GetObjectFromPipelineContext(xConnectContactIdentifierSettings.ContactIdentificationLevelObjectLocation, pipelineContext, logger);&#xA;            if (fromPipelineContext != null)&#xA;            {&#xA;                var firstNameValueAccessor = plugin.BirthDateValueAccessor;&#xA;                if (firstNameValueAccessor != null)&#xA;                {&#xA;                    IValueReader valueReader = firstNameValueAccessor.ValueReader;&#xA;                    if (valueReader != null)&#xA;                    {&#xA;                        DataAccessContext context = new DataAccessContext();&#xA;                        ReadResult readResult = valueReader.Read(fromPipelineContext, context);&#xA;                        if (readResult != null &amp;amp;&amp;amp; readResult.WasValueRead)&#xA;                        {&#xA;                            return readResult.ReadValue as DateTime?;&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;&#xA;            return null;&#xA;        }&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;ContactFallbackResolverSettings.cs&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace PipelineBatchRunner&#xA;{&#xA;    public class ContactFallbackResolverSettings : Sitecore.DataExchange.IPlugin&#xA;    {&#xA;        public Sitecore.DataExchange.DataAccess.IValueAccessor FirstNameValueAccessor { get; set; }&#xA;        public Sitecore.DataExchange.DataAccess.IValueAccessor LastNameValueAccessor { get; set; }&#xA;        public Sitecore.DataExchange.DataAccess.IValueAccessor BirthDateValueAccessor { get; set; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code above overrides a standard  &lt;code&gt;Resolve Contact by Identifier from xConnect Pipeline Step&lt;/code&gt; behavior. If contact is not resolved by identifier, the extended pipeline step will try to resolve it by &lt;code&gt;First Name&lt;/code&gt;, &lt;code&gt;Last Name&lt;/code&gt; and &lt;code&gt;Birth Date&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't forget to update with corresponding namespaces _StandardValues of the &lt;code&gt;Converter Type&lt;/code&gt; and &lt;code&gt;Processor Type&lt;/code&gt; fields for the newly created pipeline step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You probably can optimize the code. I've only tried to explain an idea.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-09-03T16:01:38.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20821" PostTypeId="2" ParentId="20734" CreationDate="2019-09-03T17:46:38.850" Score="1" Body="&lt;p&gt;Since you are using Windows 7 my best guess is the issue relates to the fact that your OS does not have Windows Management Framework 3 or newer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more about that requirement here: &lt;a href=&quot;https://doc.sitecorepowershell.com/installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecorepowershell.com/installation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Simply install WMF 3 (preferably 5.1) and then everything should work as expected.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-09-06T16:29:44.067" LastActivityDate="2019-09-06T16:29:44.067" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20822" PostTypeId="2" ParentId="20816" CreationDate="2019-09-03T18:10:18.987" Score="2" Body="&lt;p&gt;The issue is that you do not have a &lt;code&gt;Sitecore.Context.Database&lt;/code&gt; available in a scheduled task. As a result, when you call &lt;code&gt;Sitecore.Context.Database.Archives&lt;/code&gt;, you get an exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update your code to the below instead and it should work as expected:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;item.Database.Archives[&quot;archive&quot;].ArchiveItem(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-09-03T18:10:18.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20823" PostTypeId="1" AcceptedAnswerId="20825" CreationDate="2019-09-03T18:12:15.200" Score="0" ViewCount="180" Body="&lt;p&gt;Are advanced search operators supported by the SxA out of the box search components? If so, where can I find documentation on the syntax?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;AND, OR, Exclude and &quot;exact match&quot; is what I am looking for, nothing more sophisticated than that.&lt;/p&gt;&#xA;" OwnerUserId="1625" LastEditorUserId="95" LastEditDate="2019-09-03T20:27:54.337" LastActivityDate="2019-09-05T07:34:40.743" Title="Are advanced search operators supported on SxA search components?" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20824" PostTypeId="2" ParentId="20307" CreationDate="2019-09-03T18:53:06.707" Score="3" Body="&lt;p&gt;You can also use &lt;strong&gt;-m&lt;/strong&gt; parameter to set memory during executing &lt;code&gt;solr start&lt;/code&gt; command.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you want to set memory as 2 GB then you can write the command as below&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;solr start -f -port 8080 -m 2g&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-09-03T18:53:06.707" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20825" PostTypeId="2" ParentId="20823" CreationDate="2019-09-03T18:55:14.087" Score="2" Body="&lt;p&gt;The SXA search renderings don't allow to modify the query on such a low level. If you would like to modify the query which is built you need to override &lt;code&gt;SearchService&lt;/code&gt;. It shouldn't be hard to do that as this service is registered in the DI container, but modifying SXA queries might not be the best idea because:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;modifying the query might break SXA logic - e.g.: in geo-search queries we expect certain data to be returned&lt;/li&gt;&#xA;&lt;li&gt;when using boosting the query need to have certain syntax and specific set of conditions - changing that might break boosted order of results&lt;/li&gt;&#xA;&lt;li&gt;modifications to the query might break Search Box logic - search box is looking for content in the &lt;code&gt;AggregatedContent&lt;/code&gt; computed field&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I can provide a few more examples of what can go wrong if you will modify the query build in SXA.&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-09-05T07:34:40.743" LastActivityDate="2019-09-05T07:34:40.743" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20826" PostTypeId="2" ParentId="10842" CreationDate="2019-09-04T03:09:07.183" Score="0" Body="&lt;p&gt;I got this error while installing the sitecore commerce with scaled scripts from &lt;a href=&quot;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason was powershell script was communicating with SQL server with out user id and password.adding the user id and password to  the connection string in &lt;a href=&quot;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation/blob/master/Modules/DeployCommerceDatabase/DeployCommerceDatabase.psm1(line&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation/blob/master/Modules/DeployCommerceDatabase/DeployCommerceDatabase.psm1(line&lt;/a&gt; 38) fixed the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So to fix this issue,i changed &#xA;$connectionString = &quot;Server=&quot; + $CommerceServicesDbServer + &quot;;Trusted_Connection=Yes;&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;to&lt;br&gt;&#xA;$connectionString = &quot;Server=&quot; + $CommerceServicesDbServer + &quot;;user name=&quot;un&quot;;password=&quot;pw&quot;&quot;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-09-04T03:09:07.183" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20827" PostTypeId="1" AcceptedAnswerId="20890" CreationDate="2019-09-04T03:49:46.073" Score="1" ViewCount="241" Body="&lt;p&gt;I am trying to install sitecore commerce on server where SQL server is not installed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I got the below error&#xA;----- DeployCommerceDatabase : DeployCommerceDatabase ------------------------ Creating CommerceServices databases... Install-SitecoreConfiguration : SQL Server Provider for Windows PowerShell is not installed. At &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have looked at the &lt;a href=&quot;https://sitecore.stackexchange.com/questions/12391/commerce-powershell-error-sql-provider-is-not-installed&quot;&gt;Commerce PowerShell Error SQL Provider is not installed&lt;/a&gt; but my SQL server is 2016 and the answer did not help me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x2uWH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x2uWH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help is appreciated&lt;/p&gt;&#xA;" OwnerUserId="4549" LastEditorUserId="73" LastEditDate="2019-09-04T07:57:16.943" LastActivityDate="2019-09-06T23:44:39.800" Title="SQL Provider for PowerShell is not installed error" Tags="|sitecore-commerce|powershell|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20828" PostTypeId="1" AcceptedAnswerId="22032" CreationDate="2019-09-04T04:12:17.093" Score="2" ViewCount="82" Body="&lt;p&gt;We have one issue in EXM, that it's not updating &quot;Sent&quot; count, although emails are getting delivered successfully. EXM version is 4.0.0 rev. 161028 and Sitecore version is 8.2. (Also it's not sending email delivery completion notification). I am using Sitecore Email Cloud. Can someone please advice that what could be the possible issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o4rDX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o4rDX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="1273" LastEditDate="2019-09-04T06:47:44.020" LastActivityDate="2020-02-10T06:01:30.150" Title="Email sent count is not getting updated" Tags="|exm|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20829" PostTypeId="1" CreationDate="2019-09-04T06:22:48.077" Score="1" ViewCount="1134" Body="&lt;p&gt;What is the proper way to do responsive images in Sitecore? At the moment, we are using two images fields: one for desktop and another for mobile. Is that a good way?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a separate (but related) question, Is there any good image optimizer which supports Sitecore 8.2? I have found &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/I/Image_Optimizer.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;an image optimizer&lt;/a&gt; in the marketplace, but it seems like it doesn’t work properly with 8.2.&lt;/p&gt;&#xA;" OwnerUserId="5631" LastEditorUserId="1682" LastEditDate="2019-09-04T16:35:06.433" LastActivityDate="2019-09-05T13:01:07.250" Title="Sitecore image optimizer (to get responsive images)" Tags="|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20831" PostTypeId="2" ParentId="20829" CreationDate="2019-09-04T07:05:24.287" Score="4" Body="&lt;p&gt;The most important thing here is that Sitecore does not crop the images by default, so your site should be designed to be responsive using CSS. With responsive design, the browser will scale the image dependent on the width of the page. But Sitecore's image handler allows images to be dynamically resized based on the URL parameter. ex - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;/-/media/feature/calout/maincallout.ashx&quot; /&amp;gt;&#xA;&#xA;&amp;lt;img src=&quot;/-/media/feature/calout/maincallout.ashx?mw=300&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Using different images fields for desktop and mobile is not a good way in most of the time, but sometimes based on the HTML design or functionality we can create separate image fields for desktop and mobile, an example is different logos in desktop and mobile for a site(transparent and non-transparent). But if it is just for scaling the image then I don't think it is a good idea to use separate image fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are few image optimizers on the marketplace with GitHub code, if you think those are not working for your solution, you can download the code base and make it compatible with your Sitecore version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I personally like &lt;strong&gt;Dianoga&lt;/strong&gt; - &lt;a href=&quot;https://github.com/kamsar/Dianoga&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/kamsar/Dianoga&lt;/a&gt;, which is an automatic image optimizer for the Sitecore media library. It reduces the size of your images served from Sitecore by 8-70%, completely automatically. Dianoga sits in &lt;code&gt;getMediaStream&lt;/code&gt; pipeline, which Sitecore uses to transform media items before it writes them to its disk cache.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-04T07:05:24.287" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20832" PostTypeId="1" CreationDate="2019-09-04T07:43:16.527" Score="2" ViewCount="250" Body="&lt;p&gt;Did someone manage to use proper placeholder settings for these sxa composite components? I am asking because of the accordion, I want to limit the usage to specific components that can be placed into an accordion item.&#xA;The placeholders look like &quot;/main/section-content-1-2&quot;&#xA;There is a chapter about known limitations for dynamic placeholders, that clearly states that placeholder settings will only work with the initial key:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/dynamic-placeholders.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/dynamic-placeholders.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So did someone already found a nice workaround for that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&lt;/p&gt;&#xA;" OwnerUserId="4767" LastActivityDate="2020-06-22T05:43:24.587" Title="Using Placeholder Settings on default SXA Accordion" Tags="|sxa|placeholders|dynamic-placeholder|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20833" PostTypeId="1" CreationDate="2019-09-04T08:27:59.380" Score="0" ViewCount="111" Body="&lt;p&gt;I have created 2 goals and assigned 5 points to each goals. Now in Component level personalization,  I want to compare engagement points of each goal and display the content based on the comparison, if &lt;code&gt;goal1&lt;/code&gt; has more points compare to &lt;code&gt;goal2&lt;/code&gt; then display the content accordingly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we need custom personalization to implement such type of scenario?&lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="605" LastEditDate="2019-09-04T09:51:03.940" LastActivityDate="2022-04-28T12:31:05.393" Title="Compare Goals engagement Points in Personalization rules in Sitecore" Tags="|personalization|goals|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20835" PostTypeId="2" ParentId="20833" CreationDate="2019-09-04T09:48:44.247" Score="3" Body="&lt;p&gt;You will require to implement a custom rule as there are no rules OOTB Sitecore that allows the comparison of total engagement value of goals. The current rules about the Sitecore goals are mainly attached to the contact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To retrieve the goals total engagement value, you can do the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var goalDefinitionManager = ServiceLocator.ServiceProvider.GetDefinitionManagerFactory().GetDefinitionManager&amp;lt;Sitecore.Marketing.Definitions.Goals.IGoalDefinition&amp;gt;();&#xA;&#xA;// Get by ID and culture. Will get the latest active version.&#xA;// Pass in boolean true or false as 3rd parameter to return the inactive goal or not&#xA;Sitecore.Marketing.Definitions.Goals.IGoalDefinition goalOne = goalDefinitionManager.Get(goalId, CultureInfo.InvariantCulture);&#xA;&#xA;var totalEngagementValue = goalOne.EngagementValuePoints;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above code will be used in your custom personalization rule. You may have a rule where you can configure the 2 goals then perform the comparison&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So the rule will look like&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Is Goal specific greater than Goal specific&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;specific&lt;/code&gt; is a selection that allows you to select the Goal Id.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Usage&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll need to configure the rule twice where you will alter the goal position in the rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More information about Goals can be found &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/goals.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-09-04T09:48:44.247" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20836" PostTypeId="1" CreationDate="2019-09-04T12:19:03.087" Score="0" ViewCount="261" Body="&lt;p&gt;I have a rendering that displays fine on our CD servers, and in Experience Editor on some pages, but not on one page, where it's throwing an error.  When I check the logs I see the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Exception: System.Web.HttpException&#xA;Message: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.&#xA;Source: System.Web&#xA;   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)&#xA;   at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage)&#xA;   at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm)&#xA;   at System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter)&#xA;   at System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper htmlHelper, String actionName, String controllerName, Object routeValues)&#xA;   at ASP._Page_Areas_OrgControls_Views_List_AZList_cshtml.Execute() in c:\inetpub\wwwroot\Upgrade\Website\Areas\OrgControls\Views\List\AZList.cshtml:line 62&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()&#xA;   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()&#xA;   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)&#xA;   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass21.&amp;lt;BeginInvokeAction&amp;gt;b__1e(IAsyncResult asyncResult)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The rendering code that is triggering the error is RenderAction here:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;A-Z-DirList&quot;&amp;gt;&#xA;        @{&#xA;            if (Model.Letters != null)&#xA;            {&#xA;                foreach (char l in AZModel.ALPHABET)&#xA;                {&#xA;                    if (Model.Letters.Contains(l))&#xA;                    {&#xA;                        &amp;lt;h2 class=&quot;dirLetter&quot; id=&quot;@l&quot; name=&quot;@l&quot;&amp;gt;@Char.ToUpper(l)&amp;lt;/h2&amp;gt;&#xA;                        foreach (var item in Model.Items.Where(x =&amp;gt; x.Name.StartsWith(l.ToString(), StringComparison.CurrentCultureIgnoreCase)).OrderBy(x =&amp;gt; x.Name))&#xA;                        {&#xA;                            Html.RenderAction(item.View, item.Controller, new { Model = item.Model });&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    &amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm not quite sure what's going on here and why it's working on some pages but not others.  Here is the controller code for the rendering:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult AZList()&#xA;        {&#xA;            if (Sitecore.Context.PageMode.IsExperienceEditorEditing &amp;amp;&amp;amp; String.IsNullOrEmpty(RenderingContext.Current.Rendering.Parameters[&quot;Item Types&quot;]))&#xA;                return Content(&quot;&amp;lt;div&amp;gt;&amp;lt;h3&amp;gt;Use the component properties for this widget to select the item types you wish to display&amp;lt;/h3&amp;gt;&amp;lt;/div&amp;gt;&quot;);&#xA;&#xA;            var includeSearch = &quot;0&quot;;&#xA;            if (!(String.IsNullOrEmpty(RenderingContext.Current.Rendering.Parameters[&quot;Show Search Field&quot;])))&#xA;                includeSearch = RenderingContext.Current.Rendering.Parameters[&quot;Show Search Field&quot;].ToString();&#xA;&#xA;            var model = new AZModel();&#xA;            model.searchForm = includeSearch == &quot;1&quot; ? true : false;&#xA;&#xA;            var orgRoot = Org.Utility.OrgUtils.GetRoot(Sitecore.Context.Item);&#xA;            var allItems = new List&amp;lt;Sitecore.Data.Items.Item&amp;gt;();&#xA;&#xA;            // determine what kinds of items are in this list from the rendering parameters&#xA;            var allItemTypes = RenderingContext.Current.Rendering.Parameters[&quot;Item Types&quot;];&#xA;&#xA;            // if somehow nothing was selected, bail out&#xA;            if (String.IsNullOrEmpty(allItemTypes)) return null;&#xA;&#xA;            var itemTypes = allItemTypes.Split('|');&#xA;            var OrgRegion = orgRoot.Parent.Axes.GetDescendants().Where(x =&amp;gt; x.Name.StartsWith(&quot;All &quot;)).FirstOrDefault();&#xA;            var queryOrg = &quot;/sitecore/content/Orgs//*[@@id='&quot; + orgRoot.ID.ToString() + &quot;']//*[@@templateid='&quot;;&#xA;            var queryRegion = &quot;|/sitecore/content/Orgs//*[@@id='&quot; + OrgRegion.ID.ToString() + &quot;']//*[@@templateid='&quot;;&#xA;            var queryGlobal = &quot;|/sitecore/content/Orgs/All Orgs//*[@@templateid='&quot;;&#xA;            for (var i = 0; i &amp;lt; itemTypes.Length; i++)&#xA;            {&#xA;                var typeId = itemTypes[i];&#xA;&#xA;                var guid = new Guid(typeId);&#xA;                var id = ID.Parse((Guid)guid);&#xA;                var typeInfo = Sitecore.Context.Database.GetItem(id);&#xA;&#xA;            if (typeInfo == null)&#xA;                {&#xA;                    logger.Info(&quot;Could not find item with ID '&quot; + typeId + &quot;'&quot;);&#xA;                    continue;&#xA;                }&#xA;&#xA;                var squery = queryOrg + typeInfo[&quot;Data Template&quot;] + &quot;']&quot;;&#xA;                squery += queryRegion + typeInfo[&quot;Data Template&quot;] + &quot;']&quot;;&#xA;                squery += queryGlobal + typeInfo[&quot;Data Template&quot;] + &quot;']&quot;;&#xA;&#xA;                // get all the items of the given typeId beneath the root&#xA;                var templateItems = Sitecore.Context.Database.SelectItems(squery).ToList();&#xA;&#xA;                // see if there are any items&#xA;                if (templateItems.Any())&#xA;                {&#xA;                    // see what controller &amp;amp; view to use&#xA;                    var controller = typeInfo[&quot;Controller Name&quot;];&#xA;                    var view = typeInfo[&quot;View Name&quot;];&#xA;&#xA;                    logger.Info(&quot;Controller: &quot; + controller + &quot;, View: &quot; + view);&#xA;&#xA;                    string nameField = &quot;Title&quot;;&#xA;&#xA;                    // add them to the model&#xA;                    model.Items.AddRange(templateItems.Select(x =&amp;gt; new ListItem&#xA;                        {&#xA;                            Model = x,&#xA;                            Controller = controller,&#xA;                            Name = x[nameField],&#xA;                            View = view&#xA;                        }&#xA;                    ));&#xA;                }&#xA;            }&#xA;&#xA;            // iterate through items to see what letters we should activate&#xA;            foreach(char c in AZModel.ALPHABET)&#xA;            {&#xA;                // select from allItems where name/title/whatever toLower starts with c&#xA;                if(model.Items.Where(x =&amp;gt; x.Name.ToLower().StartsWith(c.ToString())).Any())&#xA;                {&#xA;                    // if any, add this character to the string in our model&#xA;                    model.Letters += c;&#xA;                }&#xA;&#xA;            }&#xA;            model.Title = RenderingContext.Current.Rendering.Parameters[&quot;Title&quot;];&#xA;            model.Description = RenderingContext.Current.Rendering.Parameters[&quot;Content&quot;]; ;&#xA;&#xA;            return PartialView(model);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="1809" LastEditDate="2019-09-04T12:38:45.087" LastActivityDate="2019-09-04T12:38:45.087" Title="Rendering causing error in experience editor only on some pages?" Tags="|experience-editor|presentation|mvc|" AnswerCount="0" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="20837" PostTypeId="2" ParentId="20805" CreationDate="2019-09-04T13:39:12.577" Score="1" Body="&lt;p&gt;As others are saying SPE and Cognitive Services is a great approach for this I've blogged about a solution for how to do this here:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://www.flux-digital.com/blog/auto-setting-alt-text-existing-new-images-in-sitecore-with-cognitive-services/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.flux-digital.com/blog/auto-setting-alt-text-existing-new-images-in-sitecore-with-cognitive-services/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It handles setting alt text for both new and existing images by analysing the image using Cognitive Services and setting the alt text based on the results. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The SPE script for existing images is here: &lt;a href=&quot;https://gist.github.com/fluxdigital/2b6041c579770f891df1a0da43cdcd63&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://gist.github.com/fluxdigital/2b6041c579770f891df1a0da43cdcd63&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The module to handle adding alt text for new images (or when updating images) is here: &lt;a href=&quot;https://github.com/fluxdigital/AutoAltTags&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/fluxdigital/AutoAltTags&lt;/a&gt; (a tweaked version of Tom Dudfields module)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Both these solutions require setting the alt text field of the image on the CM (which I know you've mentioned isn't what you wanted) but if you want to avoid hitting a pipeline on the CD server each time that is likely the best way to achieve this. We will need more info on why you can't use the alt text field of the image on the CM if we are to suggest alternative approaches.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-09-04T13:39:12.577" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20839" PostTypeId="1" AcceptedAnswerId="20842" CreationDate="2019-09-04T14:27:11.020" Score="2" ViewCount="854" Body="&lt;p&gt;Whenever I edit a dictionary phrase in the Content Editor, after I hit save, the change is reflected in the Experience Editor, which is great. However, I want to see this change in my web database as well, so I hit &lt;code&gt;publish -&amp;gt; publish item&lt;/code&gt; and it publishes the item from master to web. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue is that it sometimes takes up to 8 publishes before the change is finally in my prod db. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems to be related with the dictionary cache not being updated properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced a similar issue? Is there a solution to this? &lt;/p&gt;&#xA;" OwnerUserId="5987" LastEditorUserId="605" LastEditDate="2019-09-04T20:18:41.993" LastActivityDate="2019-09-04T20:58:23.123" Title="Updating Dictionary items requires multiple publishes" Tags="|publishing|dictionary|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20841" PostTypeId="1" AcceptedAnswerId="20882" CreationDate="2019-09-04T18:39:42.807" Score="1" ViewCount="639" Body="&lt;p&gt;I have a Sitecore Identity Server (XP 9.1) running behind a Nginx reverse-proxy. The reverse-proxy handles the TLS encryption. Behind the reverse-proxy there is only HTTP traffic, so I added a HTTP web binding to the Identity Server:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-WebBinding -Name identity -HostHeader '*' -IPAddress * -Protocol 'http' -Port 80&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I perform a &lt;code&gt;Invoke-WebRequest&lt;/code&gt; from the Sitecore CD/CM server the external HTTPS address is reachable. Also the Identity Server is reachable from extern using HTTPS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But when I try to login to the Sitecore CM server, it does not redirect to the Identity Server, and shows the login fallback (i.e. not using the ID server). There are no errors in the logs (Sitecore CM/CD and Identity Server).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I invoke &lt;a href=&quot;https://identity/.well-known/openid-configuration&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://identity/.well-known/openid-configuration&lt;/a&gt; it returns HTTP urls instead of HTTPS. Might this be causing my problem?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am missing some config setting?&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-09-04T18:54:55.437" LastActivityDate="2019-09-06T14:48:26.747" Title="Identity Server behind reverse proxy not reachable by CM" Tags="|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20842" PostTypeId="2" ParentId="20839" CreationDate="2019-09-04T20:09:55.527" Score="1" Body="&lt;p&gt;Base on the comments above, you'll require to create an event handler which will reset the cache of the dictionary. The event handler will be executed on the events &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I am not mistaken, the items are available on the target database (web) after publish but it reads the dictionary from a file (&lt;code&gt;.dat&lt;/code&gt;). So, it is the file that is still not yet updated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I haven't yet jump into a deep dive on how the dictionary cache clear works but out of my mind, I think it is periodically updating the file, say every minute or 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Code Snippet&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Globalization;&#xA;&#xA;public class ResetDictionaryCache&#xA;{&#xA;    public void DictionaryClearCache(object sender, EventArgs args)&#xA;    {&#xA;        Translate.ResetCache();&#xA;        Log.Info(&quot;Dictionary Cache has been reset&quot;, this);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once that you have implemented the &lt;code&gt;ResetDictionaryCache&lt;/code&gt; event handler, you will need to create a config patch for the &lt;code&gt;publish:end&lt;/code&gt; and &lt;code&gt;publish:end:remote&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Config Patch&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;event name=&quot;publish:end&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Your.Namespace.ResetDictionaryCache, YourAssemblyName&quot; method=&quot;DictionaryClearCache&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&#xA;&amp;lt;event name=&quot;publish:end:remote&quot;&amp;gt;&#xA;    &amp;lt;handler type=&quot;Your.Namespace.ResetDictionaryCache, YourAssemblyName&quot; method=&quot;DictionaryClearCache&quot; /&amp;gt;&#xA;&amp;lt;/event&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can also use the overload method &lt;code&gt;ResetCache(bool removeFileCache)&lt;/code&gt;. Just pass it &lt;code&gt;true&lt;/code&gt; and it will delete the file and then it will get rebuilt.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You'll still need the above if you are experiencing the below issues:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Dictionary items showing Key value instead of Phrase text&lt;/li&gt;&#xA;&lt;li&gt;Dictionary cache not getting updated in remote instances such as CD servers&lt;/li&gt;&#xA;&lt;li&gt;Dictionary entry shows incorrect value by Translate.Text(“Keyword”) with Fallback language item turned on&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Reference: &lt;a href=&quot;https://horizontalintegration.blog/2017/11/25/troubleshooting-issues-with-sitecore-dictionary-in-multi-lingual-solutions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Troubleshooting Issues with Sitecore Dictionary in Multi Lingual Solutions&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-09-04T20:58:23.123" LastActivityDate="2019-09-04T20:58:23.123" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20843" PostTypeId="1" AcceptedAnswerId="20844" CreationDate="2019-09-04T22:51:02.200" Score="0" ViewCount="50" Body="&lt;p&gt;For the new developer role we restricted access to Development tools in source site.When this role is packaged and installed in target site, it has permission to Development tools. How do we fix this issue as we see this pattern for other folders too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source : &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HPTk3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HPTk3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Destination : &#xA;&lt;a href=&quot;https://i.stack.imgur.com/Zfugh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Zfugh.png&quot; alt=&quot;&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5457" LastEditorUserId="5457" LastEditDate="2019-09-04T22:58:48.370" LastActivityDate="2019-09-04T23:18:15.630" Title="Sitecore role in site1 when installed to site2, missing some restrictions in site2" Tags="|security|sitecore-api|permissions|editor-user-permissions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20844" PostTypeId="2" ParentId="20843" CreationDate="2019-09-04T23:18:15.630" Score="3" Body="&lt;p&gt;Role based permissions and what items they affect are not contained on thr role itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All security is actually an attribute/field on the item itself, and only maps to a role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only data that a role has is to map which users are members of a specific role.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to package up the Content Items, in addition to the role (if the role isn't already installed), and install those items on the target site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Use of roles should be confined to only the few items that you need, and allow the rest to occur through inheritence.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-09-04T23:18:15.630" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20845" PostTypeId="2" ParentId="20795" CreationDate="2019-09-05T01:44:12.277" Score="3" Body="&lt;p&gt;Here is another take at solving this problem.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use the &lt;code&gt;HtmlAgilityPack&lt;/code&gt; (included with Sitecore) to parse the document&lt;/li&gt;&#xA;&lt;li&gt;Check for each required scenario with a function&lt;/li&gt;&#xA;&lt;li&gt;Save some time by only looking at known fields&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Test Html&lt;/strong&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;Here is something&amp;lt;/div&amp;gt;&#xA;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;&amp;amp;nbsp; &amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt; &amp;amp;nbsp;&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;  &amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&#xA;&amp;lt;div&amp;gt;Something here&amp;lt;p&amp;gt;  &amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&#xA;&amp;lt;p&amp;gt;Here is something interesting&amp;lt;/p&amp;gt;&#xA;&amp;lt;ul&amp;gt;&#xA;    &amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;&#xA;&amp;lt;/ul&amp;gt;&#xA;&amp;lt;p&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&#xA;&amp;lt;p&amp;gt;&amp;lt;span&amp;gt;Some text&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sample Script&lt;/strong&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Remove-EmptyPTag {&#xA;    param(&#xA;        [string]$Text&#xA;    )&#xA;    $htmlDocument = New-Object -TypeName HtmlAgilityPack.HtmlDocument&#xA;    $htmlDocument.LoadHtml($Text)&#xA;    $pNodes = $htmlDocument.DocumentNode.SelectNodes(&quot;//p&quot;)&#xA;    foreach($x in $pNodes) {&#xA;        # If the node is completely empty then we should remove&#xA;        if([string]::IsNullOrEmpty($x.InnerText)) {&#xA;            $x.Remove()&#xA;            continue&#xA;        }&#xA;        # If the node is only made up of spaces then we should remove&#xA;        if($x.InnerText -match &quot;^(&amp;amp;nbsp;|\s)*$&quot;) {&#xA;            $x.Remove()&#xA;            continue&#xA;        }&#xA;    }&#xA;    # Found that once the p node is removed you ended up with some empty nodes in the final document.&#xA;    $count = $htmlDocument.DocumentNode.ChildNodes.Count&#xA;    $nodes = [HtmlAgilityPack.HtmlNode[]]::new($count)&#xA;    $htmlDocument.DocumentNode.ChildNodes.CopyTo($nodes, 0)&#xA;    foreach($node in $nodes) { &#xA;        if([string]::IsNullOrWhiteSpace($node.InnerText)) {&#xA;            $htmlDocument.DocumentNode.RemoveChild($node)&#xA;        }&#xA;    }&#xA;&#xA;    $htmlDocument.DocumentNode.OuterHtml&#xA;}&#xA;&#xA;Get-Item -Path &quot;master:&quot; -ID &quot;{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}&quot; |&#xA;    ForEach-Object { $_.Content = Remove-EmptyPTag -Text $_.Content }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-09-08T02:14:17.707" LastActivityDate="2019-09-08T02:14:17.707" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20846" PostTypeId="1" CreationDate="2019-09-05T03:38:53.063" Score="0" ViewCount="62" Body="&lt;p&gt;I have items that have clone notifications. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dHQx0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dHQx0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I want to accept the changes using SPE. &#xA;Can someone teach me how to use Receive-ItemCloneNotification? Can't see any articles that explain it. Thanks!&lt;/p&gt;&#xA;" OwnerUserId="5307" LastActivityDate="2019-09-05T19:59:00.063" Title="How to use Receive-ItemCloneNotification in SPE?" Tags="|sitecore-client|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20847" PostTypeId="1" AcceptedAnswerId="20848" CreationDate="2019-09-05T04:52:23.587" Score="2" ViewCount="2878" Body="&lt;p&gt;To get the url of an item we can do it via &lt;code&gt;LinkManager&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var url1 = LinkManager.GetItemUrl(item);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;can even provide UrlOptions on it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var url2 = LinkManager.GetItemUrl(item, new UrlOptions() { LanguageLocation = LanguageLocation.FilePath });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But, &lt;code&gt;LinkProvider&lt;/code&gt; can do it too:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var linkProvider = new LinkProvider();&#xA;                    var url4 = linkProvider.GetItemUrl(item, new UrlOptions() { LanguageLocation = LanguageLocation.FilePath });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What is the difference between them and for best practice, what should we use?&lt;/p&gt;&#xA;" OwnerUserId="5957" LastActivityDate="2019-09-05T15:18:21.867" Title="Difference between LinkProvider and LinkManager" Tags="|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20848" PostTypeId="2" ParentId="20847" CreationDate="2019-09-05T05:10:46.710" Score="1" Body="&lt;p&gt;As best practice for generating a link always use &lt;code&gt;LinkManager&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A LinkProvider is the means by which Sitecore generates URLs for items, it is provider for LinkManager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Don't generate link using LinkProvider class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can add your custom LinkProvider to generate customize links using LinkManager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This can be useful when you have multiple sites that all have different link requirements. For example, if you want the language in the URL on multilingual sites and not on a single language site. To work with a custom link provider, you can add providers to the &lt;code&gt;linkManager&lt;/code&gt; config section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To add and select a link provider:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create a new patch file. Make sure to add your own &lt;code&gt;&amp;lt;add/&amp;gt;&lt;/code&gt; node to the providers node under the &lt;code&gt;linkManager&lt;/code&gt; node and add the code for your custom provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For example:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;linkManager defaultProvider=&quot;sitecore&quot;&amp;gt;&#xA;&amp;lt;providers&amp;gt;&#xA;&amp;lt;add name=&quot;customLinkProvider&quot; type=&quot;Sitecore.XA.Foundation.Multisite.LinkManagers.LocalizableLinkProvider, Sitecore.XA.Foundation.Multisite&quot; cacheExpiration=&quot;5&quot; addAspxExtension=&quot;false&quot; alwaysIncludeServerUrl=&quot;false&quot; encodeNames=&quot;true&quot; languageEmbedding=&quot;always&quot; languageLocation=&quot;filePath&quot; shortenUrls=&quot;true&quot; useDisplayName=&quot;false&quot;/&amp;gt;&#xA;&amp;lt;/providers&amp;gt;&#xA;&amp;lt;/linkManager&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt; &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/19/sitecore-experience-accelerator/en/add-and-select-a-custom-link-provider.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/19/sitecore-experience-accelerator/en/add-and-select-a-custom-link-provider.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5096" LastEditorUserId="5096" LastEditDate="2019-09-05T15:18:21.867" LastActivityDate="2019-09-05T15:18:21.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20850" PostTypeId="2" ParentId="20670" CreationDate="2019-09-05T05:59:58.137" Score="1" Body="&lt;p&gt;It's likely you have other databases on the instance that have users and were created before attempting to change the containment level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Run the following and then try again:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Use master&#xA;GO&#xA;sp_configure 'show advanced options', 1&#xA;GO&#xA;RECONFIGURE WITH OVERRIDE&#xA;GO&#xA;sp_configure 'contained database authentication', 1&#xA;GO&#xA;RECONFIGURE WITH OVERRIDE&#xA;GO&#xA;sp_configure 'show advanced options', 0&#xA;GO&#xA;RECONFIGURE WITH OVERRIDE&#xA;GO&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5989" LastActivityDate="2019-09-05T05:59:58.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20851" PostTypeId="1" AcceptedAnswerId="22059" CreationDate="2019-09-05T09:52:27.020" Score="1" ViewCount="124" Body="&lt;p&gt;I need to learn about Caching in Sitecore Commerce and have been reading the documentation here &lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-commerce/en/caching.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-commerce/en/caching.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As a developer used to configuring and optimising Sitecore via the use of config files, I'm a bit puzzled as to why commerce has an API to manage this. Surely, its the kind of thing you sent once and then leave? I see API methods to clear cache. When would you typically call these? &lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-09-15T08:06:30.413" Title="Sitecore Commerce Caching - Why an API?" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20852" PostTypeId="1" AcceptedAnswerId="20874" CreationDate="2019-09-05T11:08:41.663" Score="2" ViewCount="919" Body="&lt;p&gt;I am using Sitecore XP 9.1.1 and xCommerce 9.1. I have published code to the root but on few pages I am getting below error - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zrDVo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zrDVo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In postman, I am able to access token but on bootstrapping, I am getting error- &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An error occurred while starting the application.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lNgfU.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lNgfU.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception in log file - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;12492 17:23:59 ERROR Query Exception - Query:&lt;a href=&quot;https://commerceauthoring.projectname-sc911xc91xp0.dev.local/api/Carts&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://commerceauthoring.projectname-sc911xc91xp0.dev.local/api/Carts&lt;/a&gt;('Defaultbcc4d56b-54ce-469f-b2d1-3f78124bc6a8AUS2')?$expand=Lines($expand=CartLineComponents,CartSubLineComponents($expand=CartLineComponents)),Components - Message:An error occurred while processing this request.&#xA;12492 17:23:59 ERROR Failed to render rendering&#xA;Exception: System.Web.HttpUnhandledException&#xA;Message: An unhandled exception occurred.&#xA;Source: Sitecore.Mvc&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.ExecuteCore()&#xA;   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.ExecuteController(Controller controller)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.Execute(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nested Exception&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception: Microsoft.OData.Client.DataServiceQueryException&#xA;Message: An error occurred while processing this request.&#xA;Source: Sitecore.Commerce.ServiceProxy&#xA;   at Sitecore.Commerce.ServiceProxy.Proxy.GetValue[T](DataServiceQuerySingle&lt;code&gt;1 query)&#xA;   at Sitecore.Commerce.Engine.Connect.Pipelines.Carts.CartProcessor.GetCart(String userId, String shopName, String cartId, String customerId, String currency)&#xA;   at Sitecore.Commerce.Engine.Connect.Pipelines.Carts.LoadCart.Process(ServicePipelineArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Commerce.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Commerce.Services.ServiceProvider.RunPipeline[TRequest,TResult](String pipelineName, TRequest request)&#xA;   at Sitecore.Commerce.XA.Foundation.Connect.Managers.CartManager.LoadCart(IVisitorContext visitorContext, String shopName, String cartName, String customerId, Boolean recalculateTotals, StringPropertyCollection propertyBag)&#xA;   at Sitecore.Commerce.XA.Foundation.Connect.Managers.CartManager.GetCurrentCart(IVisitorContext visitorContext, IStorefrontContext storefrontContext, Boolean recalculateTotals, StringPropertyCollection propertyBag)&#xA;   at projectname.Feature.Store.Repositories.Store.StoreRepository.GetPreferredStore(IStorefrontContext storefrontContext, IVisitorContext visitorContext, IContext context) in C:\Projects\Azure-CI\src\Feature\Store\code\Repositories\Store\StoreRepository.cs:line 93&#xA;   at projectname.Feature.Store.Controllers.SelectedStoreController.GetModel() in C:\Projects\Azure-CI\src\Feature\Store\code\Controllers\SelectedStoreController.cs:line 38&#xA;   at Sitecore.XA.Foundation.Mvc.Controllers.StandardController.Index()&#xA;   at lambda_method(Closure , ControllerBase , Object[] )&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary&lt;/code&gt;2 parameters)&#xA;   at System.Web.Mvc.ControllerActionInvoker.&amp;lt;&gt;c__DisplayClass24_0.b__0()&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func&lt;code&gt;1 continuation)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func&lt;/code&gt;1 continuation)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Nested Exception&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Exception: Microsoft.OData.Client.DataServiceClientException&#xA;Message:                                      IIS 502.5 Error                      &lt;h3&gt; HTTP Error 502.5 - Process Failure &lt;/h3&gt;                          Common causes of this issue:              &lt;ul&gt;&lt;li&gt; The application process failed to start &lt;/li&gt;              &lt;li&gt; The application process started but then stopped &lt;/li&gt;              &lt;li&gt; The application process started but failed to listen on the configured port &lt;/li&gt;&lt;/ul&gt;                                    Troubleshooting steps:               &lt;ul&gt;&lt;li&gt; Check the system event log for error messages &lt;/li&gt;              &lt;li&gt; Enable logging the application process' stdout messages &lt;/li&gt;              &lt;li&gt; Attach a debugger to the application process and inspect &lt;/li&gt;&lt;/ul&gt;               For more information visit:              &lt;a href=&quot;https://go.microsoft.com/fwlink/?linkid=808681&quot; rel=&quot;nofollow noreferrer&quot;&gt;  &lt;a href=&quot;https://go.microsoft.com/fwlink/?LinkID=808681&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://go.microsoft.com/fwlink/?LinkID=808681&lt;/a&gt; &lt;/a&gt;                                 &#xA;Source: Microsoft.OData.Client&#xA;   at Microsoft.OData.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult)&#xA;   at Microsoft.OData.Client.QueryResult.EndExecuteQuery[TElement](Object source, String method, IAsyncResult asyncResult)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Commerce Engine Service Logs (Updated)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;00020 12:34:00 ERROR CtxMsg.Error.EntityNotFound: Text=Core.block.LoadEnvironment.EnvironmentCouldNotBeFound: Environment=ProjectNameAuthoring&#xA;00020 12:34:00 ERROR PipelineAbort:Core.block.LoadEnvironment.EnvironmentCouldNotBeFound: Environment=ProjectNameAuthoring&#xA;00001 12:34:00 INFO Application startup exception&#xA;System.AggregateException: One or more errors occurred. ---&gt; System.TypeInitializationException: The type initializer for 'Microsoft.AspNetCore.OData.Builder.ODataModelBuilder' threw an exception. ---&gt; System.TypeLoadException: Could not load type 'Microsoft.OData.Edm.Library.EdmConstants' from assembly 'Microsoft.OData.Edm, Version=7.5.0.20627, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataModelBuilder..cctor()&#xA;   --- End of inner exception stack trace ---&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataModelBuilder..ctor()&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataConventionModelBuilder..ctor()&#xA;   at Sitecore.Commerce.Engine.Startup.&amp;lt;&gt;c__DisplayClass14_0.b__4()&#xA;   at System.Threading.Tasks.Task&lt;code&gt;1.InnerInvoke()&#xA;   at System.Threading.Tasks.Task.Execute()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task&lt;/code&gt;1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.Commerce.Engine.Startup.Configure(IApplicationBuilder app, IConfigureServiceApiPipeline configureServiceApiPipeline, IStartNodePipeline startNodePipeline, IConfigureOpsServiceApiPipeline configureOpsServiceApiPipeline, IStartEnvironmentPipeline startEnvironmentPipeline, ILoggerFactory loggerFactory, IOptions&lt;code&gt;1 loggingSettings, IOptions&lt;/code&gt;1 applicationInsightsSettings, IOptions&lt;code&gt;1 certificatesSettings, IOptions&lt;/code&gt;1 allowedOriginsOptions, GetDatabaseVersionCommand getDatabaseVersionCommand)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)&#xA;   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()&#xA;---&gt; (Inner Exception #0) System.TypeInitializationException: The type initializer for 'Microsoft.AspNetCore.OData.Builder.ODataModelBuilder' threw an exception. ---&gt; System.TypeLoadException: Could not load type 'Microsoft.OData.Edm.Library.EdmConstants' from assembly 'Microsoft.OData.Edm, Version=7.5.0.20627, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataModelBuilder..cctor()&#xA;   --- End of inner exception stack trace ---&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataModelBuilder..ctor()&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataConventionModelBuilder..ctor()&#xA;   at Sitecore.Commerce.Engine.Startup.&amp;lt;&gt;c__DisplayClass14_0.b__4()&#xA;   at System.Threading.Tasks.Task`1.InnerInvoke()&#xA;   at System.Threading.Tasks.Task.Execute()&amp;lt;---&lt;/p&gt;&#xA;&#xA;&lt;p&gt;00020 12:34:00 INFO Request starting HTTP/1.1 GET &lt;a href=&quot;http://commerceauthoring.ProjectName-sc911xc91xp0.dev.local/commerceops/GetCatalogMappings(environmentName=&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://commerceauthoring.ProjectName-sc911xc91xp0.dev.local/commerceops/GetCatalogMappings(environmentName=&lt;/a&gt;'')&lt;br&gt;&#xA;00020 12:34:00 INFO Request finished in 180.5607ms 500 text/html; charset=utf-8&#xA;00067 12:54:54 INFO Request starting HTTP/1.1 POST &lt;a href=&quot;http://127.0.0.1:22525/iisintegration&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://127.0.0.1:22525/iisintegration&lt;/a&gt;  0&#xA;00067 12:54:54 INFO Request finished in 0.4942ms 500 text/html; charset=utf-8&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Snap of browser console after performing steps mentioned by Shabaaz Shaikh - &#xA;&lt;a href=&quot;https://i.stack.imgur.com/eUFcm.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/eUFcm.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know how to resolve this?&lt;/p&gt;&#xA;" OwnerUserId="5833" LastEditorUserId="5833" LastEditDate="2019-09-06T08:40:48.590" LastActivityDate="2019-09-09T04:36:49.747" Title="IIS 502.5 error in Sitecore Commerce" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20853" PostTypeId="1" CreationDate="2019-09-05T11:27:11.300" Score="0" ViewCount="343" Body="&lt;p&gt;On our local and DEV environment (Sitecore 9.0.1 and Commerce 9) we need to replace the root certificate with a new one, therefore all &quot;child&quot; certificates need to be recreated and replaced. Is there a recommended way to do that or at least an approach.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Many thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="3544" LastActivityDate="2019-09-10T07:40:32.097" Title="How to replace the root certificate for Sitecore 9?" Tags="|sitecore-commerce|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20854" PostTypeId="1" CreationDate="2019-09-05T11:48:57.833" Score="1" ViewCount="34" Body="&lt;p&gt;I have created a &lt;code&gt;multivariant test&lt;/code&gt; for two different components and I have activated test.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Issue:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I go to &lt;code&gt;experience editor&lt;/code&gt; and click on &lt;code&gt;Test Result&lt;/code&gt;, all fields are blank.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rHrFW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rHrFW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Error&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below error I can see in console:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={9C50A6D1-4B95-476E-8D45-8E890E16F542}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b9C50A6D1-4B95-476E-8D45-8E890E16F542%7d%26sc_version%3D1%26sc_lang%3Den%26sc_site%3Dacu%26sc_vercomp%3D1&amp;amp;lang=en&amp;amp;pageSite=acu&amp;amp;version=1:447 Uncaught TypeError: Cannot read property 'value' of undefined&#xA;    at Object.highlightChromes (Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={9C50A6D1-4B95-476E-8D45-8E890E16F542}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b9C50A6D1-4B95-476E-8D45-8E890E16F542%7d%26sc_version%3D1%26sc_lang%3Den%26sc_site%3Dacu%26sc_vercomp%3D1&amp;amp;lang=en&amp;amp;pageSite=acu&amp;amp;version=1:447)&#xA;    at Object.activate (Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={9C50A6D1-4B95-476E-8D45-8E890E16F542}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b9C50A6D1-4B95-476E-8D45-8E890E16F542%7d%26sc_version%3D1%26sc_lang%3Den%26sc_site%3Dacu%26sc_vercomp%3D1&amp;amp;lang=en&amp;amp;pageSite=acu&amp;amp;version=1:417)&#xA;    at Object.changeShowOptimization (14195247787791118138.JS:1448)&#xA;    at Object.changeShowOptimization (ExperienceEditorProxy.js:36)&#xA;    at ExperienceEditor.PipelinesUtil.generateRequestProcessor.value (Ribbon.aspx?sc_content=core&amp;amp;ribbonId={570A52B6-6755-461A-8052-5B95EF766F74}&amp;amp;itemId={9C50A6D1-4B95-476E-8D45-8E890E16F542}&amp;amp;deviceId={FE5D7FDF-89C0-4D99-9AA3-B5FBD009C9F3}&amp;amp;database=master&amp;amp;mode=edit&amp;amp;url=%2F%3Fsc_mode%3Dedit%26sc_itemid%3D%7b9C50A6D1-4B95-476E-8D45-8E890E16F542%7d%26sc_version%3D1%26sc_lang%3Den%26sc_site%3Dacu%26sc_vercomp%3D1&amp;amp;lang=en&amp;amp;pageSite=acu&amp;amp;version=1:464)&#xA;    at Object.onRequestProcessorSuccessCallback (ExperienceEditor.js:1020)&#xA;    at Object.success (ExperienceEditor.js:995)&#xA;    at fire (jquery-2.1.1.js:3073)&#xA;    at Object.fireWith [as resolveWith] (jquery-2.1.1.js:3185)&#xA;    at done (jquery-2.1.1.js:8251)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-09-05T11:48:57.833" Title="Multi variant testing reporting issue" Tags="|content-testing|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20855" PostTypeId="1" AcceptedAnswerId="20857" CreationDate="2019-09-05T12:36:08.390" Score="1" ViewCount="231" Body="&lt;p&gt;I am upgrading a solution from Sitecore 8.2 to Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 8.2, we have a rendering definition item within Sitecore that only has a View file defined. The rendering definition does &lt;strong&gt;not&lt;/strong&gt; have a custom model defined.  The view file (simplified for brevity) looks something like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model Company.Feature.FeatureName.Models.MoreLink&#xA;&#xA;&amp;lt;span class=&quot;more-link&quot;&amp;gt;&#xA;    @if (Sitecore.Context.PageMode.IsExperienceEditorEditing)&#xA;    {&#xA;        @Html.Sitecore().Field(&quot;Field Name&quot;)&#xA;    }&#xA;    else&#xA;    {&#xA;        &amp;lt;a href=&quot;@Model.Link&quot; class=&quot;more-button&quot;&amp;gt;&#xA;            @Model.Text&#xA;        &amp;lt;/a&amp;gt;&#xA;    }&#xA;&amp;lt;/span&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, in Sitecore 8.2 this Rendering works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Sitecore 9.1.1, this exact same view and rendering definition item create an unhandled exception:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Company.Feature.FeatureName.Models.MoreLink'.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know how to solve this issue, not a big deal. I'm going to create a model definition accordingly and move on. &lt;strong&gt;My question is: Why (how?) was this working before in Sitecore 8.2, and suddenly it breaks within 9.1?&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2019-09-05T12:58:26.110" Title="Rendering Model differences in Sitecore 8.2 vs 9.1" Tags="|mvc|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20856" PostTypeId="1" AcceptedAnswerId="20860" CreationDate="2019-09-05T12:37:15.573" Score="0" ViewCount="114" Body="&lt;p&gt;Is there a way to view/trace/debug requests made to the commerce Shops Role in real time and see which ones are cached and which are not etc?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look at this video &lt;a href=&quot;https://youtu.be/bnFBM7veTtY?list=PL1jJVFm_lGny-vqNPTv3VdBA_o31-Tq94&amp;amp;t=625&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://youtu.be/bnFBM7veTtY?list=PL1jJVFm_lGny-vqNPTv3VdBA_o31-Tq94&amp;amp;t=625&lt;/a&gt; (~10:25) you see what I am talking about. User requests a page, SXA storefront site in CD environment calls Sitecore Web DB and Web Index and calls Shops Role to request product data from shared environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm wondering if (locally) I can view the traffic in fiddler, somehow?&#xA;I'm using Sitecore 9 update 2 and Commerce 9 update 3.&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="73" LastEditDate="2019-09-05T12:50:40.140" LastActivityDate="2019-09-05T14:06:55.827" Title="How to debug or trace requests to Shops Role" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20857" PostTypeId="2" ParentId="20855" CreationDate="2019-09-05T12:58:26.110" Score="3" Body="&lt;p&gt;You probably had some custom code in Sitecore 8.2 to retrieve the model type from the view that is either no longer present, or no longer working in your Sitecore 9.1 instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The typical way of being able to use View renderings without having to specify a model in Sitecore itself is to patch a processor into the &lt;code&gt;mvc.getModel&lt;/code&gt; pipeline to determine the model type from the view. Alternatively, some people use the Glass Mapper ORM which includes this functionality.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Without this, Sitecore cannot resolve the model correctly and you will get the &lt;code&gt;The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel'&lt;/code&gt; exception you mentioned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For further reading see my &lt;a href=&quot;https://www.mattfletcher.co.uk/2018/12/21/using-view-renderings-with-glass-mapper-and-compiled-views/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog post&lt;/a&gt; on the subject. &lt;/p&gt;&#xA;" OwnerUserId="5012" LastActivityDate="2019-09-05T12:58:26.110" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20859" PostTypeId="1" AcceptedAnswerId="20885" CreationDate="2019-09-05T13:41:40.623" Score="1" ViewCount="627" Body="&lt;p&gt;In Sitecore config patch files, both of the following will give the same result:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&#xA;               xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&#xA;               xmlns:environment=&quot;http://www.sitecore.net/xmlconfig/environment/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;ContentManagement or Standalone&quot;&amp;gt;&#xA;    &amp;lt;scheduling&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; method=&quot;RunMyAgent&quot; interval=&quot;00:60:00&quot; /&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; environment:require=&quot;dev&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;interval&quot;&amp;gt;00:00:00&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/agent&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and a less conventional technique:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&#xA;               xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&#xA;               xmlns:environment=&quot;http://www.sitecore.net/xmlconfig/environment/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;ContentManagement or Standalone&quot;&amp;gt;&#xA;    &amp;lt;scheduling&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; method=&quot;RunMyAgent&quot; interval=&quot;00:60:00&quot; /&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; interval=&quot;00:00:00&quot; environment:require=&quot;dev&quot; /&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In dev/standalone, these both result in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; method=&quot;RunMyAgent&quot; interval=&quot;00:00:00&quot; patch:source=&quot;MyConfigPatch.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I'm curious about that last syntax. Based on the &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/use-a-patch-file-to-customize-the-sitecore-configuration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;, you might expect it to add two agents, but instead it accurately patches the interval, all the while keeping the &lt;code&gt;method&lt;/code&gt; attribute intact:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;When Sitecore applies the changes from a patch file, it tries to match each element in the patch file to an element in the existing configuration using the combination of the element name and all the attributes of the element. If there is a match, Sitecore updates the existing element. If there is no match, Sitecore inserts a new element.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;What is the exact magic taking place here? How does Sitecore know which attribute to match (&lt;code&gt;type&lt;/code&gt;), and which one to patch (&lt;code&gt;interval&lt;/code&gt;)? (Note that this also works if I reverse the order of the attributes.) Is there some intelligence based on the context (agents) if one attribute is declared as unique?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance, why is the agent &lt;code&gt;MyAgent&lt;/code&gt; being patched here?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&#xA;               xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&#xA;               xmlns:environment=&quot;http://www.sitecore.net/xmlconfig/environment/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;ContentManagement or Standalone&quot;&amp;gt;&#xA;    &amp;lt;scheduling&amp;gt;&#xA;      &amp;lt;agent interval=&quot;00:00:00&quot; type=&quot;MyOtherAgent, MyOtherAssembly&quot; method=&quot;RunMyOtherAgent&quot; /&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; method=&quot;RunMyAgent&quot; interval=&quot;00:60:00&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!-- Why does this patch &quot;interval&quot; on the second agent, and not &quot;type&quot; on the first? --&amp;gt;&#xA;      &amp;lt;agent interval=&quot;00:00:00&quot; type=&quot;MyAgent, MyAssembly&quot; environment:require=&quot;dev&quot; /&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It seems intuitive: obviously you're not going to want to match a configuration node based on interval, but how does Sitecore infer this? In XDT, you have to specify which attribute(s) to match, but Sitecore seems to have more intelligence.&lt;/p&gt;&#xA;" OwnerUserId="890" LastEditorUserId="890" LastEditDate="2019-09-05T14:31:06.020" LastActivityDate="2019-09-06T15:40:34.980" Title="Patching an attribute using non-patching syntax" Tags="|configuration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20860" PostTypeId="2" ParentId="20856" CreationDate="2019-09-05T14:06:55.827" Score="2" Body="&lt;p&gt;You can use fiddler to trace traffic in real time.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To setup fiddler tracing do following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Add a http binding (not localhost) to your commerce engine website in IIS.&lt;/li&gt;&#xA;&lt;li&gt;Add the host name in your windows host file (if it is not there).&lt;/li&gt;&#xA;&lt;li&gt;Update Commerce engine service Urls in file Sitecore.Commerce.Engine.Connect.config. You can find this file at location {Your-Sitecore-Website-root}\App_Config\Include\Y.Commerce.Engine. In the file change host name in &quot;shopsServiceUrl&quot; and &quot;commerceOpsServiceUrl&quot;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In your Sitecore website web.config file add following in &amp;lt;configuration&amp;gt; section:&lt;a href=&quot;https://i.stack.imgur.com/2wdg7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2wdg7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Restart Sitecore website IIS AppPool.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Install and start Fiddler.&lt;/li&gt;&#xA;&lt;li&gt;Open storefront website in web browser.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-09-05T14:06:55.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20861" PostTypeId="2" ParentId="20859" CreationDate="2019-09-05T14:16:08.867" Score="2" Body="&lt;p&gt;Yes. It compares attributes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To end up with 2 different sets, usually you add a &lt;code&gt;hint&lt;/code&gt; or a &lt;code&gt;name&lt;/code&gt; attribute to your configuration element. It serves no other purpose than instructing Sitecore, that this here is a unique element.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you indeed wanted 1 agent, but 2 agents in &lt;code&gt;dev&lt;/code&gt;, you would do:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;agent name=&quot;My all round agent&quot; type=&quot;MyAgent, MyAssembly&quot; method=&quot;RunMyAgent&quot; interval=&quot;00:60:00&quot; /&amp;gt;&#xA;  &amp;lt;agent name=&quot;My dev only agent&quot; type=&quot;MyAgent, MyAssembly&quot; interval=&quot;00:00:00&quot; environment:require=&quot;dev&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And Sitecore would recognise these as different.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-09-05T14:16:08.867" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20862" PostTypeId="2" ParentId="20847" CreationDate="2019-09-05T14:21:19.830" Score="0" Body="&lt;p&gt;If you use the LinkManager Sitecore will fetch the current LinkProvider and use that one. If you create a LinkProvider yourself, you will get a new one with default settings. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best approach: you should use the &lt;code&gt;LinkManager&lt;/code&gt; in order to start with the correct LinkProvider for the current context. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Although you can set some options on the provider, there could be other customizations that you skip if you take a new LinkProvider and you might end up with different results. Even if the result now looks the same, go for the Manager approach for future consistency.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-09-05T14:21:19.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20863" PostTypeId="1" AcceptedAnswerId="20964" CreationDate="2019-09-05T14:58:59.383" Score="0" ViewCount="454" Body="&lt;p&gt;When we rebuild our sitecore_master_index index, we usually get an error during the rebuild process and the logs show several instances of the below stack trace:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt; 692 12:50:11 ERROR [Index=sitecore_master_index] Commit failed&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: mscorlib&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.PostDocuments(ICloudBatch batch)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.Commit()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.BadRequestException&#xA;Message: Error in the request URI, headers, or body&#xA;Source: Sitecore.ContentSearch.Azure&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage response)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.PostDocuments(String jsonString)&#xA;   at Sitecore.Support.ContentSearch.Azure.Http.SearchService.PostDocuments(ICloudBatch batch) in C:\TeamCity\buildAgent3\temp\buildTmp\dbf4d98ab9a145aba55274027cfd1a07\src\Sitecore.Support.229598\ContentSearch\Azure\Http\SearchService.cs:line 76&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.&amp;lt;&amp;gt;c__DisplayClass15_0.&amp;lt;PostDocuments&amp;gt;b__0(ISearchService searchService)&#xA;   at System.Threading.Tasks.Parallel.&amp;lt;&amp;gt;c__DisplayClass17_0`1.&amp;lt;ForWorker&amp;gt;b__1()&#xA;   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&#xA;   at System.Threading.Tasks.Task.&amp;lt;&amp;gt;c__DisplayClass176_0.&amp;lt;ExecuteSelfReplicating&amp;gt;b__0(Object )&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;Message: {&amp;quot;error&amp;quot;:{&amp;quot;code&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;The request is invalid. Details: parameters : The property 'property_id_s_t_de' does not exist on type 'search.documentFields'. Make sure to only use property names that are defined by the type.\r\n&amp;quot;}}&#xA;&#xA;&#xA;&#xA; 692 12:50:11 WARN  [Index=sitecore_master_index] Crawler : AddRecursive DoItemAdd failed - {AF26E057-F611-4C92-9B3C-CE85B1743632}&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: mscorlib&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)&#xA;   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)&#xA;   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.PostDocuments(ICloudBatch batch)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.Commit()&#xA;   at Sitecore.ContentSearch.CommitPolicyExecutor.IndexModified(IProviderUpdateContext context, Object document, IndexOperation operation)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.Azure.CloudSearchIndexOperations.Add(IIndexable indexable, IProviderUpdateContext context, ProviderIndexConfiguration indexConfiguration)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.BadRequestException&#xA;Message: Error in the request URI, headers, or body&#xA;Source: Sitecore.ContentSearch.Azure&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage response)&#xA;   at Sitecore.ContentSearch.Azure.Http.SearchServiceClient.PostDocuments(String jsonString)&#xA;   at Sitecore.Support.ContentSearch.Azure.Http.SearchService.PostDocuments(ICloudBatch batch) in C:\TeamCity\buildAgent3\temp\buildTmp\dbf4d98ab9a145aba55274027cfd1a07\src\Sitecore.Support.229598\ContentSearch\Azure\Http\SearchService.cs:line 76&#xA;   at Sitecore.ContentSearch.Azure.Http.CompositeSearchService.&amp;lt;&amp;gt;c__DisplayClass15_0.&amp;lt;PostDocuments&amp;gt;b__0(ISearchService searchService)&#xA;   at System.Threading.Tasks.Parallel.&amp;lt;&amp;gt;c__DisplayClass17_0`1.&amp;lt;ForWorker&amp;gt;b__1()&#xA;   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)&#xA;   at System.Threading.Tasks.Task.&amp;lt;&amp;gt;c__DisplayClass176_0.&amp;lt;ExecuteSelfReplicating&amp;gt;b__0(Object )&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;Message: {&amp;quot;error&amp;quot;:{&amp;quot;code&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;message&amp;quot;:&amp;quot;The request is invalid. Details: parameters : The property 'property_id_s_t_de' does not exist on type 'search.documentFields'. Make sure to only use property names that are defined by the type.\r\n&amp;quot;}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A few strange things to note:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Multiple fields have errors on every rebuild (each field usually more than once, too).&lt;/li&gt;&#xA;&lt;li&gt;The fields in the errors differ on every index rebuild.&lt;/li&gt;&#xA;&lt;li&gt;Every field in the errors is present in the index.&lt;/li&gt;&#xA;&lt;li&gt;The fields are not present on the template of the items referenced by the &lt;code&gt;DoItemAdd&lt;/code&gt; warning message (with the ID of the item).&lt;/li&gt;&#xA;&lt;li&gt;The fields are always shared fields.&lt;/li&gt;&#xA;&lt;li&gt;Though there are multiple instances of the error for each field name, most of the instances' IDs reference the same template for each field name.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;What could be causing this issue?&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Environment:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 9.0.2&lt;/li&gt;&#xA;&lt;li&gt;Azure PaaS&lt;/li&gt;&#xA;&lt;li&gt;Our Azure &lt;code&gt;SearchService&lt;/code&gt; is from a Sitecore Support hotfix (&lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.229598/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;229598&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-10T16:05:23.673" Title="Rebuilding sitecore_master_index: The property 'property_id_s_t_de' does not exist on type 'search.documentFields'" Tags="|azure|indexing|azure-search|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20864" PostTypeId="1" CreationDate="2019-09-05T15:56:12.173" Score="3" ViewCount="517" Body="&lt;p&gt;I have a really strange problem. I have a Sitecore 8.2 site that has preview and web publishing targets. I expect that when a user Submits an item through Workflow, when it is in Awaiting Approval Status, it is published to preview only. However, it is publishing to both preview and web! If I publish items manually and select the publishing target, publishing works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is what I have done so far to no avail:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Checked the box for &quot;Preview publishing target&quot; on the Preview Publish Target item (as described in the &lt;a href=&quot;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/publishing-items-to-a-preview-publishing-target.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation&lt;/a&gt;)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/fedU8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fedU8.png&quot; alt=&quot;Preview Publishing Target Settings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Checked the box for the preview publishing target on the Awaiting Approval Workflow State (as described in the &lt;a href=&quot;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/publishing-items-to-a-preview-publishing-target.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation&lt;/a&gt;)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bobyW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bobyW.png&quot; alt=&quot;Awaiting Approval Workflow State Settings&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Contacted Sitecore Support, they instructed me to do the following (which is not stated in the &lt;a href=&quot;https://doc.sitecore.com/users/82/sitecore-experience-platform/en/publishing-items-to-a-preview-publishing-target.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Documentation&lt;/a&gt;). Doing this caused the issue where publishing to preview would also publish items in Awaiting Approval status to web.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to &quot;/sitecore/system/Workflows/JHM Health Standard Workflow/Awaiting Approval&quot; item&lt;/li&gt;&#xA;&lt;li&gt;Right click &quot;Insert&quot; -&gt; &quot;insert from template&quot;&lt;/li&gt;&#xA;&lt;li&gt;Select &quot;templates/System/Workflow/Action&quot; template and provide appropriate name for item (Auto Publish to Preview)&lt;/li&gt;&#xA;&lt;li&gt;In the &quot;Type String&quot; field, set the value to : &quot;Sitecore.Workflows.Simple.PublishAction, Sitecore.Kernel&quot;&lt;/li&gt;&#xA;&lt;li&gt;In the &quot;Parameters&quot; field, set the value to : &quot;deep=1&amp;amp;smart=1&quot;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Any ideas on what I am missing here? Your help is much appreciated!&lt;/p&gt;&#xA;" OwnerUserId="2388" LastActivityDate="2020-02-04T05:03:20.483" Title="Items Submitted Through Workflow In Awaiting Approval Status Are Publishing To Both Preview And Web" Tags="|publishing|workflow|publishing-service|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20866" PostTypeId="2" ParentId="20863" CreationDate="2019-09-05T19:49:52.477" Score="0" Body="&lt;p&gt;This can be related to the &lt;code&gt;apiVersion&lt;/code&gt; specified in your &lt;code&gt;cloud.search&lt;/code&gt; connection string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Make sure it is set to the &lt;a href=&quot;https://kb.sitecore.net/articles/549969&quot; rel=&quot;nofollow noreferrer&quot;&gt;correct supported version&lt;/a&gt; for your version of Sitecore. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;cloud.search&quot; connectionString=&quot;serviceUrl=https://azure-search-resource.search.windows.net;apiVersion=2016-09-01;apiKey=__APIKEY__&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We had to change ours from &lt;code&gt;2015-02-28-preview&lt;/code&gt; to &lt;code&gt;2016-09-01&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Important note&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;If you are using &lt;code&gt;apiVersion=2016-09-01&lt;/code&gt;, you will also need to disable the &lt;code&gt;ContentSearch.Azure.UseIsMatchScoring&lt;/code&gt; setting with the following patch.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;settings&amp;gt;&#xA;            &amp;lt;setting name=&quot;ContentSearch.Azure.UseIsMatchScoring&quot;&amp;gt;&#xA;                &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;            &amp;lt;/setting&amp;gt;&#xA;        &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-09-05T19:49:52.477" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20867" PostTypeId="2" ParentId="20846" CreationDate="2019-09-05T19:59:00.063" Score="1" Body="&lt;p&gt;Here are a few examples to get you started.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following gets the clone and checks for notifications.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$clonedItem = Get-Item -Path &quot;master:&quot; -ID &quot;{9F158637-52C2-4005-8329-21527685CB71}&quot;&#xA;Get-ItemCloneNotification -Item $clonedItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; The following Accepts the notification.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$clonedItem = Get-Item -Path &quot;master:&quot; -ID &quot;{9F158637-52C2-4005-8329-21527685CB71}&quot;&#xA;$clonedItem  | Get-ItemCloneNotification | Receive-ItemCloneNotification -Action Accept&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-09-05T19:59:00.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20868" PostTypeId="2" ParentId="20832" CreationDate="2019-09-05T20:04:37.237" Score="1" Body="&lt;p&gt;The article you've mentioned is for platform Dynamic Placeholders. SXA is not using them, we have our own version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Try creating placeholder settings item with the following key: &lt;code&gt;section-content-*&lt;/code&gt; (or &lt;code&gt;section-content*&lt;/code&gt;). The &lt;code&gt;*&lt;/code&gt; is to make a placeholder dynamic and guarantee a uniqueness to the placeholder key across different renderings.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-09-05T20:04:37.237" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20869" PostTypeId="1" AcceptedAnswerId="20881" CreationDate="2019-09-05T20:43:23.533" Score="2" ViewCount="267" Body="&lt;p&gt;I have a couple of controller renderings where the data loaded is from several Sitecore items including the &quot;page&quot; itself, and the Rendering datasource is not actually set on the Rendering. How can I cache this so that the rendering is cached differently for each page it's on despite no datasource on the rendering being set? I would think Vary By Data, but doesn't that only work if you have different datasources set on the individual renderings?&lt;/p&gt;&#xA;" OwnerUserId="4157" LastEditorUserId="73" LastEditDate="2019-09-06T14:44:44.517" LastActivityDate="2019-09-06T14:44:44.517" Title="Caching HTML for rendering based on &quot;page&quot; item data, not datasource" Tags="|caching|html-caching|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20870" PostTypeId="1" CreationDate="2019-09-05T21:00:42.783" Score="0" ViewCount="965" Body="&lt;p&gt;I am newbie to Sitecore. I have Sitecore Experience Platform running on my development machine. I need to set up Sitecore Experience Accelerator for this instance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have installed required packages for it. The problem is that I have got license file but I am not sure where that has to be placed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone guide me to place this file in proper location? &lt;/p&gt;&#xA;" OwnerUserId="5955" LastEditorUserId="605" LastEditDate="2019-09-05T21:30:47.137" LastActivityDate="2021-05-28T04:14:18.000" Title="How to add SXA license to Sitecore instance?" Tags="|sxa|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20871" PostTypeId="2" ParentId="20870" CreationDate="2019-09-05T21:29:22.063" Score="0" Body="&lt;p&gt;Depending on which Sitecore version you are using, by &lt;strong&gt;default&lt;/strong&gt;, Sitecore stores the license file in&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore Versions up to 8.* -&amp;gt; Data Folder just outside the website folder&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4FPJB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4FPJB.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore Versions 9.* -&amp;gt; App_Data&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FMZGd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FMZGd.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now, it is also possible that you have a config patch that has updated the Data Folder path. By doing a &lt;code&gt;showconfig.aspx (http://yourdomain/sitecore/admin/showconfig.aspx)&lt;/code&gt;, search for &lt;code&gt;name=&amp;quot;dataFolder&amp;quot;&lt;/code&gt; and it will show you where the Data folder is.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;You'll need to overwrite the existing &lt;code&gt;license.xml&lt;/code&gt; file with the new one&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-05T21:29:22.063" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20872" PostTypeId="1" CreationDate="2019-09-05T22:18:20.773" Score="0" ViewCount="295" Body="&lt;p&gt;I'm using Sitecore 9.1.1 and SXA 1.8.1. &#xA;I have a cloned component for the header of my site. This header component is added to the &quot;Header&quot; placeholder and  its rendering variant contains a number of another components such as: Navigation, Search box, Language switcher,...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is: This header component is causing my site to not open on the cd server only on mobile devices.&#xA;After troubleshooting, i found that the problem is caused because of two components in the Header's rendering variant:&#xA;1- a cloned language switcher component&#xA;2- a page content structure component on which i added a search box to its variant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whenever i remove both of the previous component from the header, the site on the cd server opens successfully, but when added it gives an error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure what could be wrong with those two components&quot;Search box and language switcher&quot;. Noting that the site opens normally on desktop from both cm and cd. and also opens normally on mobile devices but only on the cm server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what might be causing this behavior?&lt;/p&gt;&#xA;" OwnerUserId="3650" LastActivityDate="2020-02-03T10:02:15.487" Title="SXA Component not appearing on published site on mobile devices" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20873" PostTypeId="1" CreationDate="2019-09-06T06:04:17.477" Score="2" ViewCount="191" Body="&lt;p&gt;I am trying to get the Page URL visits which we get from Experience Analytics dashboard using Powershell. Below screenshot specifies the data i am trying to access using Powershell.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Iit5T.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Iit5T.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I found a link where the data from xDB is retrieved using Powershell. Link: &lt;a href=&quot;https://jockstothecore.com/xdb-reports-with-powershell/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jockstothecore.com/xdb-reports-with-powershell/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But on executing as specified in the Link, i am getting below errors:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Add-Type : c:\Windows\Temp\g0dqtof0.0.cs(3) : Using the generic type 'MongoDB.Driver.Builders' requires 1 type arguments&#xA;&#xA;c:\Windows\Temp\g0dqtof0.0.cs(2) :     using MongoDB.Driver;&#xA;&#xA;c:\Windows\Temp\g0dqtof0.0.cs(3) : &gt;&gt;&gt;     using MongoDB.Driver.Builders;&#xA;&#xA;c:\Windows\Temp\g0dqtof0.0.cs(4) :     using Sitecore.Analytics.Model;&#xA;&#xA;At F:\Inetpub\Website\temp\tmp3CB4.ps1:1 char:1&#xA;+ Add-Type @'&#xA;+ ~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidData: (Microsoft.Power...peCompilerError:AddTypeCompilerError) [Add-Type], Exception&#xA;    + FullyQualifiedErrorId : SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands.AddTypeCommand&#xA;&#xA;Add-Type : c:\Windows\Temp\g0dqtof0.0.cs(11) : The type or namespace name 'IMongoQuery' could not be found (are you missing a using directive or an assembly reference?)&#xA;&#xA;c:\Windows\Temp\g0dqtof0.0.cs(10) :     {&#xA;&#xA;c:\Windows\Temp\g0dqtof0.0.cs(11) : &gt;&gt;&gt;         public static MongoCursor QueryVisits(MongoDbDriver driver, IMongoQuery query)&#xA;&#xA;c:\Windows\Temp\g0dqtof0.0.cs(12) :         {&#xA;&#xA;At F:\Inetpub\Website\temp\tmp3CB4.ps1:1 char:1&#xA;+ Add-Type @'&#xA;+ ~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidData: (Microsoft.Power...peCompilerError:AddTypeCompilerError) [Add-Type], Exception&#xA;    + FullyQualifiedErrorId : SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands.AddTypeCommand&#xA;&#xA;Add-Type : c:\Windows\Temp\g0dqtof0.0.cs(11) : The type or namespace name 'MongoCursor' could not be found (are you missing a using directive or an assembly reference?)&#xA;&#xA;c:\Windows\Temp\g0dqtof0.0.cs(10) :     {&#xA;&#xA;c:\Windows\Temp\g0dqtof0.0.cs(11) : &gt;&gt;&gt;         public static MongoCursor QueryVisits(MongoDbDriver driver, IMongoQuery query)&#xA;&#xA;c:\Windows\Temp\g0dqtof0.0.cs(12) :         {&#xA;&#xA;At F:\Inetpub\Website\temp\tmp3CB4.ps1:1 char:1&#xA;+ Add-Type @'&#xA;+ ~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidData: (Microsoft.Power...peCompilerError:AddTypeCompilerError) [Add-Type], Exception&#xA;    + FullyQualifiedErrorId : SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands.AddTypeCommand&#xA;&#xA;Add-Type : Cannot add type. Compilation errors occurred.&#xA;At F:\Inetpub\Website\temp\tmp3CB4.ps1:1 char:1&#xA;+ Add-Type @'&#xA;+ ~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidData: (:) [Add-Type], InvalidOperationException&#xA;    + FullyQualifiedErrorId : COMPILER_ERRORS,Microsoft.PowerShell.Commands.AddTypeCommand&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have verified that the Assemblies are present in my Bin folder. Can someone help me with this issues. or is there any other way to complete my requirement ? &lt;/p&gt;&#xA;" OwnerUserId="5992" LastEditorUserId="73" LastEditDate="2019-09-06T08:58:50.200" LastActivityDate="2019-09-06T08:58:50.200" Title="Unable to get xDB reports using Sitecore Powershell" Tags="|xdb|powershell-extensions|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20874" PostTypeId="2" ParentId="20852" CreationDate="2019-09-06T06:12:58.860" Score="2" Body="&lt;p&gt;I Was facing the same error,&#xA;&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;HTTP Error 502.5 - Process Failure&#xA;Common causes of this issue:&#xA;The application process failed to start&#xA;The application process started but then stopped&#xA;The application process started but failed to listen on the configured port&#xA;Troubleshooting steps:&#xA;Check the system event log for error messages&#xA;Enable logging the application process' stdout messages&#xA;Attach a debugger to the application process and inspect&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;&#xA;For me the issue was that my license was expired.&#xA;So I had replaced it in the siteroot/appdata and site was up but the commerce section was still not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following are the places that we need to replace the license file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dYBC6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dYBC6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But if the application license is correct&lt;/strong&gt;. Then the application (business) is unable to connect to the database.&#xA;please check the logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt; :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is where you need to update the details of your database in the following files&lt;br&gt;&#xA;i.e.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Global.json&lt;/strong&gt; : &#xA;&lt;em&gt;commerce Proj\src\Project\HabitatHome\engine\wwwroot\bootstrap&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Plugin.SQL.PolicySet-1.0.0.json&lt;/strong&gt; :&#xA;&lt;em&gt;commerce Proj\src\Project\HabitatHome\engine\wwwroot\data\Environments&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;or if you have already deployed then :&lt;/strong&gt;&#xA;in all the copies of the above 2 files located in folders related to commerce&#xA;i.e.:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;**CommerceAuthoring_suffix&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CommerceMinions_suffix&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CommerceOps_suffix&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CommerceShops_suffix**&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z0tuW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z0tuW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/n5PeF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/n5PeF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1744" LastEditorUserId="1744" LastEditDate="2019-09-06T06:28:18.880" LastActivityDate="2019-09-06T06:28:18.880" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="20875" PostTypeId="1" AcceptedAnswerId="30218" CreationDate="2019-09-06T08:28:07.493" Score="1" ViewCount="270" Body="&lt;p&gt;We have to do stress testing in Sitecore EXM, like running a campaign with 10,000 or more recipients. Any suggestion that how to arrange such big number of valid email addresses for this testing? Does EXM has any limitation in number of recipients??&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="1273" LastEditDate="2019-09-06T23:34:56.423" LastActivityDate="2021-11-14T05:40:49.683" Title="10,000+ valid email addresses for Sitecore EXM testing" Tags="|exm|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20876" PostTypeId="2" ParentId="20872" CreationDate="2019-09-06T09:01:45.170" Score="1" Body="&lt;p&gt;First of all, check if everything is published. It looks like some items might be missing (e.g.: rendering variant, rendering data source items, ...). What is more, double-check your custom renderings (you cloned a lot of stuff as far as I can see).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I also noticed something... weird. You've written, &quot;&lt;em&gt;its rendering variant contains a number of another component such as Navigation, Search box, Language switcher&lt;/em&gt;&quot; or &quot;&lt;em&gt;a page content structure component on which I added a search box to its variant&lt;/em&gt;&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not how you should design pages! Why:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;if you want to have set of renderings for header, use &lt;a href=&quot;https://www.youtube.com/watch?v=0LqngaF5i1U&quot; rel=&quot;nofollow noreferrer&quot;&gt;Page and Partial Designs&lt;/a&gt;, create &lt;em&gt;Header&lt;/em&gt; partial design which will contain all the renderings you need - do not store everything under Rendering Variant for one component, this is not how you should use that feature&lt;/li&gt;&#xA;&lt;li&gt;do not use Page Content as a structure component - Page Content should be used to display content, not to build page structure (even if it can) and hold Search Box - that is crazy!&lt;/li&gt;&#xA;&lt;li&gt;if you need to structure the renderings on the page use &lt;a href=&quot;https://doc.sitecore.com/users/sxa/19/sitecore-experience-accelerator/en/change-the-layout-of-a-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;grid&lt;/a&gt; settings or &lt;a href=&quot;https://doc.sitecore.com/users/sxa/19/sitecore-experience-accelerator/en/change-the-layout-of-a-page.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Container, Column or Row Splitter&lt;/a&gt; renderings&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-09-06T09:07:00.410" LastActivityDate="2019-09-06T09:07:00.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20877" PostTypeId="1" CreationDate="2019-09-06T10:21:12.763" Score="0" ViewCount="606" Body="&lt;p&gt;I am using Sitecore 9.1 and Sitecore Commerce 9.1. When I hit &lt;a href=&quot;https://projectname.dev.local/sitecore/login&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://projectname.dev.local/sitecore/login&lt;/a&gt;, it keeps loading and in commerce authoring logs I can see following exception - &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;System.AggregateException: One or more errors occurred. ---&amp;gt; System.TypeInitializationException: The type initializer for 'Microsoft.AspNetCore.OData.Builder.ODataModelBuilder' threw an exception. ---&amp;gt; System.TypeLoadException: Could not load type 'Microsoft.OData.Edm.Library.EdmConstants' from assembly 'Microsoft.OData.Edm, Version=7.5.0.20627, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataModelBuilder..cctor()&#xA;   --- End of inner exception stack trace ---&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataModelBuilder..ctor()&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataConventionModelBuilder..ctor()&#xA;   at Sitecore.Commerce.Engine.Startup.&amp;lt;&amp;gt;c__DisplayClass14_0.&amp;lt;Configure&amp;gt;b__4()&#xA;   at System.Threading.Tasks.Task`1.InnerInvoke()&#xA;   at System.Threading.Tasks.Task.Execute()&#xA;   --- End of inner exception stack trace ---&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.Commerce.Engine.Startup.Configure(IApplicationBuilder app, IConfigureServiceApiPipeline configureServiceApiPipeline, IStartNodePipeline startNodePipeline, IConfigureOpsServiceApiPipeline configureOpsServiceApiPipeline, IStartEnvironmentPipeline startEnvironmentPipeline, ILoggerFactory loggerFactory, IOptions`1 loggingSettings, IOptions`1 applicationInsightsSettings, IOptions`1 certificatesSettings, IOptions`1 allowedOriginsOptions, GetDatabaseVersionCommand getDatabaseVersionCommand)&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)&#xA;   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()&#xA;---&amp;gt; (Inner Exception #0) System.TypeInitializationException: The type initializer for 'Microsoft.AspNetCore.OData.Builder.ODataModelBuilder' threw an exception. ---&amp;gt; System.TypeLoadException: Could not load type 'Microsoft.OData.Edm.Library.EdmConstants' from assembly 'Microsoft.OData.Edm, Version=7.5.0.20627, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataModelBuilder..cctor()&#xA;   --- End of inner exception stack trace ---&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataModelBuilder..ctor()&#xA;   at Microsoft.AspNetCore.OData.Builder.ODataConventionModelBuilder..ctor()&#xA;   at Sitecore.Commerce.Engine.Startup.&amp;lt;&amp;gt;c__DisplayClass14_0.&amp;lt;Configure&amp;gt;b__4()&#xA;   at System.Threading.Tasks.Task`1.InnerInvoke()&#xA;   at System.Threading.Tasks.Task.Execute()&amp;lt;---&#xA;&#xA;00005 15:39:59 INFO Request starting HTTP/1.1 GET http://commerceauthoring.projectname-sc911xc91xp0.dev.local/commerceops/GetCatalogMappings(environmentName='')  &#xA;00005 15:39:59 INFO Request finished in 82.1726ms 500 text/html; charset=utf-8&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please let me know how to resolve this. I am completely new to Sitecore xCommerce.&lt;/p&gt;&#xA;" OwnerUserId="5833" LastEditorUserId="135" LastEditDate="2019-09-06T15:51:17.007" LastActivityDate="2019-09-06T15:51:17.007" Title="Could not load type 'Microsoft.OData.Edm.Library.EdmConstants'" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20878" PostTypeId="2" ParentId="20875" CreationDate="2019-09-06T11:27:00.037" Score="1" Body="&lt;p&gt;10k contacts are not so many recipiets for EXM. &#xA;We made tests with 50k and it works fine, it really depends on SMTP server which is used to send email. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;First of all you need to generate a csv file with more than 10k users and to import into a contact list in List Manager. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The format of the csv file should be :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;FirstName,LastName,EmailAddress&#xA;userfirstname1,userlastname1,myexmuseremail1@mailinator.com&#xA;userfirstname2,userlastname2,myexmuseremail2@mailinator.com&#xA;.....&#xA;.....&#xA;userfirstname10000,userlastname10000,myexmuseremail10000@mailinator.com&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to import csv into a contacts list using &lt;strong&gt;List Mananger&lt;/strong&gt;: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bTemb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bTemb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TvQoU.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TvQoU.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ttGD4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ttGD4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Rqz8q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Rqz8q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/G29My.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G29My.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/RHwGo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RHwGo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1csPs.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1csPs.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/dSvyC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dSvyC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you create contact list you can send email and to test.&#xA;More information you can find on Pete Navarra blog: &lt;a href=&quot;https://sitecorehacker.com/2016/09/03/loading-xdb-contacts-with-csv-and-custom-fields/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorehacker.com/2016/09/03/loading-xdb-contacts-with-csv-and-custom-fields/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="14" LastEditorUserId="14" LastEditDate="2019-09-09T18:07:51.943" LastActivityDate="2019-09-09T18:07:51.943" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20879" PostTypeId="2" ParentId="4620" CreationDate="2019-09-06T11:33:07.523" Score="7" Body="&lt;p&gt;SPE now has the Merge-Layout function (similar to the one Alan Płócieniak wrote here) available out of the box. I think it's existed for about 2 years now: &lt;a href=&quot;https://doc.sitecorepowershell.com/appendix/presentation/merge-layout&quot; rel=&quot;noreferrer&quot;&gt;https://doc.sitecorepowershell.com/appendix/presentation/merge-layout&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The Merge-Layout command takes all the layout information stored in the FinalLayout field and merges into the SharedLayout field. The FinalLayout field is reset after the merge completes.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can use it like so:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-Item master:&quot;/sitecore/content/MySite/My Test Page&quot; | Merge-Layout  &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or for a number of items at once:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Get-ChildItem master:\content\Showcase\int -Recurse | Merge-Layout &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also if you wish to copy back the final renderings to the page template standard values renderings field instead so then I wrote this script to do it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function Copy-Page-FinalLayout-To-Template([string]$pagePath,[switch]$ResetLayout){&#xA;    #get the page item&#xA;    $item = Get-Item -Path &quot;master:$pagePath&quot;&#xA;&#xA;    #get the final layout from the page&#xA;    $finalLayoutField = New-Object -TypeName &quot;Sitecore.Data.Fields.LayoutField&quot; -ArgumentList $Item.Fields[[Sitecore.FieldIDs]::FinalLayoutField]&#xA;&#xA;    if ($finalLayoutField -eq $null) {&#xA;        Write-Error &quot;Couldn't find final layout on: $($Item.Name)&quot;&#xA;    }&#xA;    if ($finalLayoutField.Value -eq $null -or $finalLayoutField.Value -eq &quot;&quot;) {&#xA;        return;&#xA;    }&#xA;&#xA;    #get the items template and standard values on the template&#xA;    $template = Get-ItemTemplate -ID $item.ID &#xA;    $templateItem = Get-Item -Path &quot;master:$($template.ID)&quot;&#xA;    $templateStandardValuesPath = &quot;$($templateItem.Paths.FullPath)/__Standard values&quot;;&#xA;    $standardValuesItem = Get-Item -Path &quot;$($templateItem.Paths.FullPath)/__Standard values&quot;&#xA;&#xA;    #copy the final layout details back to the the renderings field on the standard values&#xA;    $finalLayoutDefinition = [Sitecore.Layouts.LayoutDefinition]::Parse($finalLayoutField.Value)&#xA;    $standardValuesItem.Editing.BeginEdit()&#xA;    $standardValuesItem[&quot;__Renderings&quot;] = $finalLayoutDefinition.ToXml();&#xA;    $standardValuesItem.Editing.EndEdit()&#xA;&#xA;    Write-Host &quot;Template Standard Values Updated: $($templateItem.Name)&quot;&#xA;&#xA;    #reset the page final renderings back to the page templates standard values&#xA;    if($ResetLayout){&#xA;        Reset-ItemField -Item $Item -Name &quot;__Final Renderings&quot; -IncludeStandardFields&#xA;        Write-Host &quot;Page Final Renderings Reset To Standard Values: $($item.Name)&quot;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;more info here:&lt;/strong&gt;&#xA;&lt;a href=&quot;http://www.flux-digital.com/blog/copying-final-renderings-back-standard-values-page-templates-spe/&quot; rel=&quot;noreferrer&quot;&gt;http://www.flux-digital.com/blog/copying-final-renderings-back-standard-values-page-templates-spe/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-09-06T11:33:07.523" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20880" PostTypeId="1" CreationDate="2019-09-06T13:20:18.733" Score="1" ViewCount="281" Body="&lt;p&gt;I was wondering if anyone has come across this solr error when rebuilding indexes that contain coordinate information, and if there is anyway (other than cleaning the data) to mitigate it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;An example of the error that is in Sitecore's crawling log is:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: SolrNet.Exceptions.SolrConnectionException&#xA;Message: &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;response&amp;gt;&#xA;&#xA;&amp;lt;lst name=&quot;responseHeader&quot;&amp;gt;&#xA;  &amp;lt;int name=&quot;status&quot;&amp;gt;400&amp;lt;/int&amp;gt;&#xA;  &amp;lt;int name=&quot;QTime&quot;&amp;gt;545&amp;lt;/int&amp;gt;&#xA;&amp;lt;/lst&amp;gt;&#xA;&amp;lt;lst name=&quot;error&quot;&amp;gt;&#xA;  &amp;lt;lst name=&quot;metadata&quot;&amp;gt;&#xA;    &amp;lt;str name=&quot;error-class&quot;&amp;gt;org.apache.solr.common.SolrException&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;root-error-class&quot;&amp;gt;java.text.ParseException&amp;lt;/str&amp;gt;&#xA;  &amp;lt;/lst&amp;gt;&#xA;  &amp;lt;str name=&quot;msg&quot;&amp;gt;ERROR: [doc=sitecore://master/{a885844b-34cd-4eb1-a9d0-2ab1bcc8587a}?lang=en&amp;amp;amp;ver=1&amp;amp;amp;ndx=sitecore_master_index] Error adding field 'coordinate_rpt'='-121.444851,37.712654' msg=Unable to parse shape given formats &quot;lat,lon&quot;, &quot;x y&quot; or as WKT because java.text.ParseException: Unknown Shape definition [-121.444851,37.712654]&amp;lt;/str&amp;gt;&#xA;  &amp;lt;int name=&quot;code&quot;&amp;gt;400&amp;lt;/int&amp;gt;&#xA;&amp;lt;/lst&amp;gt;&#xA;&amp;lt;/response&amp;gt;&#xA;&#xA;Source: SolrNet&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;   at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)&#xA;   at SolrNet.Impl.LowLevelSolrServer.SendAndParseHeader(ISolrCommand cmd)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)&#xA;   at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)&#xA;   at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)&#xA;   at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Net.WebException&#xA;Message: The remote server returned an error: (400) Bad Request.&#xA;Source: System&#xA;   at System.Net.HttpWebRequest.GetResponse()&#xA;   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()&#xA;   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)&#xA;   at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I appreciate that the coordinate data is incorrect (user data entry issue), however the side affect is that other items get missed from the index when this error is thrown. I suspect that this happening because java is still recovering from the exception while Sitecore continues to send items to be indexed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to have solr handle these errors more gracefully, or do we need to add some Sitecore validation to ensure that bad geo coordinate data does not get into Sitecore?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore 9.1.1 (rev. 002459)&#xA;Solr 7.1.0&lt;/p&gt;&#xA;" OwnerUserId="1555" LastEditorUserId="73" LastEditDate="2019-09-06T13:27:07.953" LastActivityDate="2019-10-06T21:02:15.303" Title="Unknown Shape definition" Tags="|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20881" PostTypeId="2" ParentId="20869" CreationDate="2019-09-06T14:44:03.833" Score="2" Body="&lt;p&gt;As long as the output is always the same on each page then you can use &lt;code&gt;Vary By Data&lt;/code&gt;, this will cache based on the context item if no data source is set. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that as per Mark's point this might not be the best way to implement a rendering as you will lose the ability to personalize the rendering through the &lt;code&gt;Datasource&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="2495" LastActivityDate="2019-09-06T14:44:03.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20882" PostTypeId="2" ParentId="20841" CreationDate="2019-09-06T14:48:26.747" Score="2" Body="&lt;p&gt;Turns out Sitecore Identity Server 9.1 does not support reverse-proxies. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a small plugin to enable reverse-proxy support for it: &lt;a href=&quot;https://github.com/joostmeijles/Sitecore.Identity.ProxySupport&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/joostmeijles/Sitecore.Identity.ProxySupport&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-09-06T14:48:26.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20883" PostTypeId="1" AcceptedAnswerId="20887" CreationDate="2019-09-06T15:12:25.367" Score="4" ViewCount="267" Body="&lt;p&gt;I am attempting to use FXM with Sitecore 9.1.1 to federate a few renderings into another website (following this video: &lt;a href=&quot;https://www.youtube.com/watch?v=zNnA08qgpc8&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.youtube.com/watch?v=zNnA08qgpc8&lt;/a&gt;). I have configured everything on the Sitecore side, and the FXM editor shows my renderings in the external website appropriately.  I have deployed the beacon and published my changes in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the external website, I can see the beacon being pulled in but I do not see the renderings replacing my selectors.  The selector is a very simple #id selector.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When checking the network activity, I see a 500 error on the external website: &lt;a href=&quot;http://mysite.com/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=&amp;amp;sessionId=&amp;amp;page=http%3A%2F%2Fproportal.mysite.com%2F&amp;amp;referrer=&amp;amp;rt=1567782189215&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mysite.com/sitecore/api/ssc/Beacon/Service/beacon/trackPageVisit/?contactId=&amp;amp;sessionId=&amp;amp;page=http%3A%2F%2Fproportal.mysite.com%2F&amp;amp;referrer=&amp;amp;rt=1567782189215&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the FXM logs on my sitecore website, I see this error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;35100 17:03:09 ERROR [FXM Tracking] [Error] : [TrackPageVisit] : Page = http://proportal.mysite.com/ : Referrer =  : CID = &#xA;Exception: System.ArgumentNullException&#xA;Message: Value cannot be null.&#xA;Parameter name: Current&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.FXM.Pipelines.Tracking.TrackPageVisit.TrackPageVisitProcessor.Process(ITrackPageVisitArgs args)&#xA;   at (Object , Object[] )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.FXM.Tracking.TrackingManager.&amp;lt;&amp;gt;c__DisplayClass6_0.&amp;lt;TrackPageVisit&amp;gt;b__0(FxmRequestContext fxmContext, TrackingResult result)&#xA;   at Sitecore.FXM.Tracking.TrackingManager.GenericServeTrackingRequest(SpoofedHttpRequestBase spoofedRequest, String contactId, Action`2 implementation)&#xA;   at Sitecore.FXM.Service.Controllers.BeaconController.&amp;lt;&amp;gt;c__DisplayClass10_0.&amp;lt;TrackPageVisit&amp;gt;b__0()&#xA;   at Sitecore.FXM.Service.Controllers.BeaconController.ExecuteTrackingRequest(String requestInfo, Func`1 implementation)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There's also another error in my primary log (I am unsure if this is related):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;21684 17:07:26 ERROR Exception when executing agent aggregation/pathAnalyzerLiveAgent&#xA;Exception: Sitecore.XConnect.Client.XdbModelConflictException&#xA;Message: One or more local models conflict with the xDB service layer.&#xA; 'RegisterConnectEventModel, 0.1' does not have a remote version&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.Analytics.Aggregation.XConnect.DefaultXdbContextFactory.CreateReadOnly()&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;38284 17:07:28 ERROR Exception when executing agent aggregation/aggregator&#xA;Exception: Sitecore.XConnect.Client.XdbModelConflictException&#xA;Message: One or more local models conflict with the xDB service layer.&#xA; 'RegisterConnectEventModel, 0.1' does not have a remote version&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.Analytics.Aggregation.XConnect.DefaultXdbContextFactory.CreateReadOnly()&#xA;   at Sitecore.Analytics.Processing.AsyncPoolScheduler`2..ctor(IAsyncProcessingPool`1 pool, IXdbContextFactory xdbContextFactory, ExpandOptions options, Int16 maxBatchSize, BaseLog log)&#xA;   at Sitecore.Analytics.Aggregation.InteractionAggregationAgent.&amp;lt;ExecuteCoreAsync&amp;gt;d__15.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.Agent.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;ExecuteAgentAsync&amp;gt;d__22.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;RunAsync&amp;gt;d__26.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any clues as to what may be misconfigured?&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="14" LastEditDate="2019-09-06T17:00:32.460" LastActivityDate="2019-09-06T17:00:32.460" Title="Errors in FXM Log" Tags="|sitecore-commerce|fxm|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20885" PostTypeId="2" ParentId="20859" CreationDate="2019-09-06T15:40:34.980" Score="2" Body="&lt;p&gt;After some sniffing around, I finally understand what's happening. In &lt;code&gt;Sitecore.Xml.Patch.ElementIdentification&lt;/code&gt;, there is a hard-coded list of &quot;significant&quot; attributes that Sitecore uses for identifying an XML element. Any other attribute will be ignored when comparing elements for a match.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For instance, &lt;code&gt;hint&lt;/code&gt;, &lt;code&gt;type&lt;/code&gt; and &lt;code&gt;method&lt;/code&gt; are significant attributes, but &lt;code&gt;interval&lt;/code&gt; is not. Therefore we have the following results:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Base elements --&amp;gt;&#xA;&amp;lt;agent type=&quot;MyOtherAgent, MyOtherAssembly&quot; method=&quot;RunMyOtherAgent&quot; hint=&quot;first&quot; interval=&quot;00:01:00&quot; /&amp;gt;&#xA;&amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; method=&quot;RunMyAgent&quot; hint=&quot;second&quot; interval=&quot;00:02:00&quot; /&amp;gt;&#xA;&amp;lt;agent type=&quot;MyThirdAgent&quot; method=&quot;RunThirdAgent&quot; hint=&quot;second&quot; interval=&quot;00:03:00&quot; /&amp;gt;  &amp;lt;!-- hint is the same --&amp;gt;&#xA;&#xA;&amp;lt;!-- This patch would insert a new element, as non matches both type and hint --&amp;gt;&#xA;&amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; hint=&quot;first&quot; interval=&quot;00:99:99&quot; environment:require=&quot;dev&quot; /&amp;gt;&#xA;&#xA;&amp;lt;!-- This patch would update the interval of the first element, as both significant attributes match --&amp;gt;&#xA;&amp;lt;agent type=&quot;MyOtherAgent, MyOtherAssembly&quot; hint=&quot;first&quot; interval=&quot;00:99:99&quot; environment:require=&quot;dev&quot; /&amp;gt;&#xA;&#xA;&amp;lt;!-- This patch would also update the first element, as it's a match based on the only significant attribute --&amp;gt;&#xA;&amp;lt;agent hint=&quot;first&quot; interval=&quot;00:99:99&quot; environment:require=&quot;dev&quot; /&amp;gt;&#xA;&#xA;&amp;lt;!-- This patch would insert a new element, because there are multiple matches based on significant attribute &quot;hint&quot; --&amp;gt;&#xA;&amp;lt;agent hint=&quot;second&quot; interval=&quot;00:99:99&quot; environment:require=&quot;dev&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Additionally, the list of known attributes can be augmented through the &lt;code&gt;sitecore/patch/significantAttributes&lt;/code&gt; configuration node. This can only be done directly in &lt;code&gt;Sitecore.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;patch&amp;gt;&#xA;  &amp;lt;significantAttributes&amp;gt;&#xA;    &amp;lt;add name=&quot;significantAttribute&quot; /&amp;gt;&#xA;  &amp;lt;/significantAttributes&amp;gt;&#xA;&amp;lt;/patch&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, going back to a tweaked version of my question's final example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&#xA;               xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&#xA;               xmlns:environment=&quot;http://www.sitecore.net/xmlconfig/environment/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;ContentManagement or Standalone&quot;&amp;gt;&#xA;    &amp;lt;scheduling&amp;gt;&#xA;      &amp;lt;!-- Base element --&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; method=&quot;RunMyAgent&quot; interval=&quot;00:12:34&quot;&#xA;             significantAttribute=&quot;uniqueMatch&quot; regularAttribute=&quot;regular&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!-- This will update the interval of the agent, keeping all other attributes. --&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; interval=&quot;00:99:99&quot; environment:require=&quot;test1&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!-- This also works. --&amp;gt;&#xA;      &amp;lt;agent method=&quot;RunMyAgent&quot; interval=&quot;00:99:99&quot; environment:require=&quot;test2&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!-- This also works, since we declared significantAttribute as a... significant attribute. --&amp;gt;&#xA;      &amp;lt;agent significantAttribute=&quot;uniqueMatch&quot; interval=&quot;00:99:99&quot; environment:require=&quot;test3&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!-- This has zero significant attributes specified. To my surprise, it (dangerously) updates the first agent found,&#xA;           which has no relation to the one defined. It adds &quot;regularAttribute&quot; and changes the interval. --&amp;gt;&#xA;      &amp;lt;agent regularAttribute=&quot;regular&quot; interval=&quot;00:99:99&quot; environment:require=&quot;test4&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!-- Since there is no unique match based on significant attributes, this adds a new element. --&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; significantAttribute=&quot;somethingDifferent&quot;&#xA;             interval=&quot;00:99:99&quot; environment:require=&quot;test5&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!-- This matches the type properly, and updates &quot;regularAttribute&quot; and &quot;interval&quot;. --&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; regularAttribute=&quot;somethingDifferent&quot;&#xA;             interval=&quot;00:99:99&quot; environment:require=&quot;test6&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!-- You can't change a significant attribute like &quot;method&quot; this way. This will insert a new element&#xA;           since there is no match based on specified significant attributes. --&amp;gt;&#xA;      &amp;lt;agent type=&quot;NewAgent, NewAssembly&quot; significantAttribute=&quot;uniqueMatch&quot;&#xA;             method=&quot;NewMethod&quot; interval=&quot;00:99:99&quot; environment:require=&quot;test7&quot; /&amp;gt;&#xA;&#xA;      &amp;lt;!-- This will properly update the method and interval&#xA;           First line is what's being matched (significant attributes). Second line is what's being updated.&#xA;           Note that, as in other examples, only as many significant attributes&#xA;           as required for a unique match are needed. --&amp;gt;&#xA;      &amp;lt;agent type=&quot;MyAgent, MyAssembly&quot; method=&quot;RunMyAgent&quot;&#xA;             interval=&quot;00:99:99&quot; set:method=&quot;NewMethod&quot;&#xA;             environment:require=&quot;test8&quot; /&amp;gt;&#xA;    &amp;lt;/scheduling&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Based on my findings, I would recommend:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In order to properly match elements, refer to the list of existing significant attributes.&lt;/li&gt;&#xA;&lt;li&gt;If an element will potentially have siblings, make sure to target it uniquely based on those significant attributes. As mentioned by Mark Cassidy, use one like &lt;code&gt;hint&lt;/code&gt; or &lt;code&gt;name&lt;/code&gt; if necessary.&lt;/li&gt;&#xA;&lt;li&gt;Don't use custom significant attributes. It forces a direct change to &lt;code&gt;Sitecore.config&lt;/code&gt; and could cause confusion with other developers.&lt;/li&gt;&#xA;&lt;li&gt;Avoid using the &quot;magic&quot; approach to patching attributes. Use &lt;code&gt;patch&lt;/code&gt; and &lt;code&gt;set&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/92/platform-administration-and-architecture/en/control-a-patch-file-setting.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;The relevant Sitecore documentation is here&lt;/a&gt; and includes the list of known attributes:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ancestor, assembly, builderType, category, channelId, comment, contains, creationType, desc, description, displayName, extensions, facetKey, fieldId, fieldName, fieldType, fieldTypeName, file, find, folder, groupName, hint, hostname, id, implementationType, innerText, interface, key, messageDataType, messageItemBaseType, method, name, namespace, networkName, originalKey, path, postingConfiguration, prefix, providerName, querystring, ref, region, serviceType, sitecoreKey, statusCode, tagName, templateId, trafficType, trigger, type, typeConverter, typeName, uid, urlReferrerHost, value, verb, viewName, with, xmlControl, xmlns&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="890" LastActivityDate="2019-09-06T15:40:34.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20886" PostTypeId="2" ParentId="20883" CreationDate="2019-09-06T16:54:49.960" Score="0" Body="&lt;p&gt;Turns out the solution is outlined here: &lt;a href=&quot;https://github.com/raseniero/Sitecore-v901-XP1-Scaled-Installation/issues/3&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/raseniero/Sitecore-v901-XP1-Scaled-Installation/issues/3&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;xConnect models were not lining up.  After resolving this, FXM began working!&lt;/p&gt;&#xA;" OwnerUserId="430" LastActivityDate="2019-09-06T16:54:49.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20887" PostTypeId="2" ParentId="20883" CreationDate="2019-09-06T16:55:54.987" Score="2" Body="&lt;p&gt;I noticed in your solution RegisterConnectModelEvent is missing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;RegisterConnectModelEvent&lt;/strong&gt;  is a Sitecore Commerce model for xConnect .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Copy the file c:\inetpub\wwwroot\\XConnectModels\Sitecore.Commerce.Connect.XConnect.Models.json and Paste it to two locations to overwrite:&#xA;C:\inetpub\wwwroot\.xconnect\App_data\jobs\continuous\IndexWorker\App_data\Models&#xA;C:\inetpub\wwwroot\.xconnect\App_data\Models&lt;/p&gt;&#xA;" OwnerUserId="14" LastActivityDate="2019-09-06T16:55:54.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20888" PostTypeId="2" ParentId="20880" CreationDate="2019-09-06T20:20:30.517" Score="1" Body="&lt;p&gt;So, in the end I took a look at how Sitecore was indexing the coordinates and it turns out that it uses a computed index field.  So I wrote my own with additional validation to replace it (client asked for logging):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CoordinateValidationComputedIndex : AbstractComputedIndexField&#xA;    {&#xA;        private static readonly ILog Logger = LogManager.GetLogger(&quot;Sitecore.Diagnostics.Crawling&quot;) ?? LoggerFactory.GetLogger(typeof(CrawlingLog));&#xA;        public override object ComputeFieldValue(IIndexable indexable)&#xA;        {&#xA;            Item obj = indexable as SitecoreIndexableItem;&#xA;            if (obj == null || !obj.Fields.Contains(new ID(Constants.Latitude)) ||&#xA;                !obj.Fields.Contains(new ID(Constants.Longitude)))&#xA;            {&#xA;                return null;&#xA;            }&#xA;&#xA;            if (!double.TryParse(obj[new ID(Constants.Latitude)], NumberStyles.Any, CultureInfo.InvariantCulture,&#xA;                    out var lat) || !double.TryParse(obj[new ID(Constants.Longitude)], NumberStyles.Any,&#xA;                    CultureInfo.InvariantCulture, out var lon))&#xA;            {&#xA;                return null;&#xA;            }&#xA;&#xA;            //Latitude Check -90 - +90&#xA;            //Longitude Check -180 - +180&#xA;            if (lat &amp;lt; -90 || lat &amp;gt; 90 || lon &amp;lt; -180 || lon &amp;gt; 180)&#xA;            {&#xA;                Logger.Warn(&#xA;                    $&quot;Coordinate validation failed for {obj.ID.Guid:B}:{obj.Paths.FullPath}\n\rWith value of latitude: {lat}, longitude: {lon}\n\r   Latitude should be in range -90 to +90\n\r   Longitude should be in range -180 to +180&quot;);&#xA;                return null;&#xA;            }&#xA;&#xA;            return new Coordinate(lat, lon).ToString();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I created the following patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:env=&quot;http://www.sitecore.net/xmlconfig/env/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultSolrIndexConfiguration type=&quot;Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field patch:instead=&quot;*[@fieldName='coordinate']&quot; fieldName=&quot;coordinate&quot; returnType=&quot;coordinate&quot; &amp;gt;zzz.Feature.Geolocation.ComputedIndex.CoordinateValidationComputedIndex, zzz.Feature&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And now the index builds without error and I get crawling log entries like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;4176 16:17:47 INFO  [Index=sitecore_master_index] Crawler: Processed 5000 items&#xA;7988 16:17:47 WARN  Coordinate validation failed for {570326e8-7ae6-4f7a-9354-62670d99c199} : ***Item Path Removed*** with value of latitude:-95.67611, longitude:-95.67611 - &#xA;   Latitude should be in range -90 to +90&#xA;   Longitude should be in range -180 to +180&#xA;6564 16:17:51 INFO  [Index=sitecore_master_index] Crawler: Processed 6000 items&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1555" LastActivityDate="2019-09-06T20:20:30.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20889" PostTypeId="2" ParentId="12198" CreationDate="2019-09-06T21:26:42.173" Score="0" Body="&lt;p&gt;If the processing of a single batch is bigger than OwnershipTimeout, or processing was stopped and started after OwnershipTimeout is passed, all agents start to receive the task even if one is already working on it. Each time agent asks for a task the task is returned even if a cursor split is already requested. but the current agent is working on the task and will split the cursor only after it processed the first batch. The first agent takes the task and starts the work. The others receive tasks, and can't use the cursor as it is not splittable and in progress&lt;/p&gt;&#xA;&lt;p&gt;You will need to increase the ownershipTimeoutMs parameter in the &lt;code&gt;App_Config\Sitecore\Marketing.xDB\Sitecore.Analytics.Processing.Aggregation.config&lt;/code&gt; file to resolve the exception:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;param desc=&amp;quot;ownershipTimeoutMs&amp;quot; type=&amp;quot;Sitecore.Analytics.Core.ConfigurationHelper, Sitecore.Analytics.Core&amp;quot; factoryMethod=&amp;quot;ToInt&amp;quot; arg0=&amp;quot;180000&amp;quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="200" LastEditorUserId="7105" LastEditDate="2022-10-21T09:42:34.033" LastActivityDate="2022-10-21T09:42:34.033" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20890" PostTypeId="2" ParentId="20827" CreationDate="2019-09-06T23:44:39.800" Score="2" Body="&lt;p&gt;Here is how i end up fixing this issue&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install the powershell module on the server using &lt;strong&gt;Install-Module -Name SqlServer&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Download the following from &lt;a href=&quot;https://www.microsoft.com/en-us/download/details.aspx?id=52676&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.microsoft.com/en-us/download/details.aspx?id=52676&lt;/a&gt; and install in order &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;SQLSysClrTypes&lt;/li&gt;&#xA;&lt;li&gt;SharedManagementObjects&lt;/li&gt;&#xA;&lt;li&gt;PowerShellTools&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Make sure it is installed and listed on HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.SqlServer.Management.PowerShell.sqlps&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/oCs52.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/oCs52.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-09-06T23:44:39.800" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20891" PostTypeId="1" AcceptedAnswerId="20893" CreationDate="2019-09-07T00:00:58.807" Score="-3" ViewCount="260" Body="&lt;p&gt;I'm not a Sitecore MVP, however, I know that Sitecore MVPs spent a lot of time (personal time) to produce and share Sitecore related documents, like tutorials, blogs, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you guys share your opinion about this topic?&lt;/p&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="4050" LastEditDate="2019-09-07T18:10:45.163" LastActivityDate="2019-09-07T21:07:29.680" Title="Is it worth to spent hours and hours of personal time to became a Sitecore MVP?" Tags="|mvp|" AnswerCount="4" CommentCount="4" ClosedDate="2019-09-07T17:35:18.313" ContentLicense="CC BY-SA 4.0" />
  <row Id="20893" PostTypeId="2" ParentId="20891" CreationDate="2019-09-07T01:25:09.277" Score="3" Body="&lt;p&gt;It is definitely worth it. MVPs are very attractive to potential employers, as having a Sitecore  MVP can help bring on additional business. The MVP status is attached to you personally, which means it can be used as part of salary negotiations.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are also additional benefits for MVPs like discounts to some official sitecore events, accessing pre-release versions of Sitecore and modules.&lt;/p&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2019-09-07T01:25:09.277" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20894" PostTypeId="2" ParentId="20755" CreationDate="2019-09-07T02:58:49.977" Score="11" Body="&lt;h3&gt;TLDR;&lt;/h3&gt;&#xA;&lt;p&gt;When you site throws an error, for some reason Sitecore stuffs the error into xConnect as an interaction. Sometimes these errors are so large, it takes so much CPU to deserialize them, that it brings your xConnect server to a halt. You have to find these interactions and delete them manually.&lt;/p&gt;&#xA;&lt;h3&gt;xConnect logs errors&lt;/h3&gt;&#xA;&lt;p&gt;There is a setting in &lt;code&gt;Sitecore.Analytics.Tracking.config&lt;/code&gt; that tells xConnect what level of logging to put into xConnect. Me personally I fancy log files :) But by default the setting is &lt;code&gt;error&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;Analytics.LogLevel&amp;quot; value=&amp;quot;Error&amp;quot; patch:source=&amp;quot;Sitecore.Analytics.Tracking.config&amp;quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;The error that gets stuff into xConnect looks like this. Its the whole error&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;   &amp;quot;CustomValues&amp;quot;:[&#xA;&#xA;   ],&#xA;   &amp;quot;Data&amp;quot;:&amp;quot;System.Web.HttpUnhandledException (0x80004005): An unhandled exception occurred. ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at Bonfire.Analytics.Dto.Repositories.CampaignRepository.GetCampaignDefinition(Guid campaignId) in C:\\Users\\pirel\\Source\\Repos\\Bonfire.Analytics.Dto\\Bonfire.Analytics.Dto\\Repositories\\CampaignRepository.cs:line 67\r\n   at Bonfire.Analytics.Dto.Repositories.CampaignRepository.&amp;lt;GetHistoric&amp;gt;d__3.MoveNext() in C:\\Users\\pirel\\Source\\Repos\\Bonfire.Analytics.Dto\\Bonfire.Analytics.Dto\\Repositories\\CampaignRepository.cs:line 43\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)\r\n   at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)\r\n   at Bonfire.Analytics.Dto.Serialization.JsonNet.ExecuteResult(ControllerContext context) in C:\\Users\\pirel\\Source\\Repos\\Bonfire.Analytics.Dto\\Bonfire.Analytics.Dto\\Serialization\\JsonNet.cs:line 58\r\n   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)\r\n   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)\r\n   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)\r\n   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass3_1.&amp;lt;BeginInvokeAction&amp;gt;b__5(IAsyncResult asyncResult)\r\n   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)\r\n   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)\r\n   at (Object , Object )\r\n   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)\r\n   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)\r\n   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)\r\n   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)\r\n   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)\r\n   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&amp;lt;&amp;gt;c__DisplayClass3_1.&amp;lt;BeginInvokeAction&amp;gt;b__5(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Controller.&amp;lt;&amp;gt;c.&amp;lt;BeginExecuteCore&amp;gt;b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState)\r\n   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.MvcHandler.&amp;lt;&amp;gt;c.&amp;lt;BeginProcessRequest&amp;gt;b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState)\r\n   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)\r\n   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)\r\n   at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result)\r\n   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)\r\n   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&amp;quot;,&#xA;   &amp;quot;DataKey&amp;quot;:&amp;quot;System.Web.HttpUnhandledException (0x80004005): An unhandled exception occurred. ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.&amp;quot;,&#xA;   &amp;quot;DefinitionId&amp;quot;:&amp;quot;c8bf254a-9ccc-4e16-9009-82b7cd33e4be&amp;quot;,&#xA;   &amp;quot;Id&amp;quot;:&amp;quot;4807eb74-8288-49f4-b10b-a1b0aeac64db&amp;quot;,&#xA;   &amp;quot;ParentEventId&amp;quot;:&amp;quot;0b8d3c23-e77a-4396-a7bd-fd1437669133&amp;quot;,&#xA;   &amp;quot;Text&amp;quot;:&amp;quot;System.Web.HttpUnhandledException (0x80004005): An unhandled exception occurred. ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object.&amp;quot;,&#xA;   &amp;quot;Timestamp&amp;quot;:&amp;quot;2019-07-23T15:34:53.0778746Z&amp;quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3&gt;My issue&lt;/h3&gt;&#xA;&lt;p&gt;In my environment, in testing we released a build that had a bug. Ever done it? We did it.... And the testers all ran into this error. And it was a big error, a React server side build error. 20k of error text. This all got stuff into xConnect over and over. After a few minutes of that, it was all xConnect could handle. Every time it tried to get the users interactions, it would use 100% cpu trying to deserialize 300k of JSON.&lt;/p&gt;&#xA;&lt;h3&gt;Find the interactions&lt;/h3&gt;&#xA;&lt;p&gt;The easiest way to find the offending interactions it to look for the size of the interaction in the events column.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;SELECT TOP (100) [InteractionId]&#xA;      ,[Events]&#xA;      ,DATALENGTH(Events) &#xA;  FROM [xdb_collection].[Interactions]&#xA;Order by DATALENGTH(Events) Desc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;It will return a list of interactions sorted by size. What you are really looking for are interactions under 10k. Ones that are 100k or 90k, those are full of errors.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AyiCS.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AyiCS.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can take the InteractionId and delete the interaction and interactions facets. The facets are a foreign keys to the interactions. So they must go also.&lt;/p&gt;&#xA;&lt;p&gt;NOTE: This is destructive. You are losing data at this point. You are not getting it back.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;DELETE FROM&#xA;    [xdb_collection].[InteractionFacets]&#xA;WHERE InteractionId IN &#xA;    (SELECT InteractionId&#xA;        FROM [xdb_collection].[Interactions]  &#xA;        WHERE InteractionId = 'B6345767-4293-0000-0000-05A41DC536C4');&#xA;&#xA;DELETE FROM [xdb_collection].[Interactions]  &#xA;        WHERE InteractionId = 'B6345767-4293-0000-0000-05A41DC536C4';&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Now rebuild your xDB Solr index with &lt;code&gt;ConnectSearchIndexer.exe -rr&lt;/code&gt; and the issue should be resolved.&lt;/p&gt;&#xA;&lt;h3&gt;Stop errors from making it into xConnect&lt;/h3&gt;&#xA;&lt;p&gt;Change the Analytics.LogLevel to none so we stop pushing errors into xConnect.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;Analytics.LogLevel&amp;quot; value=&amp;quot;None&amp;quot; patch:source=&amp;quot;Sitecore.Analytics.Tracking.config&amp;quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-07T02:58:49.977" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20895" PostTypeId="2" ParentId="20864" CreationDate="2019-09-07T03:51:08.900" Score="2" Body="&lt;p&gt;OOTB Auto publish in the workflow is design for the final workflow state, code within is it will always pick the all the database under &lt;code&gt;/sitecore/system/publishing targets&lt;/code&gt; if we have not defined the targets in parameter - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; private IEnumerable&amp;lt;Database&amp;gt; GetTargets(&#xA;  NameValueCollection parameters,&#xA;  Item actionItem,&#xA;  Item dataItem)&#xA;{&#xA;  using (new SecurityDisabler())&#xA;  {&#xA;    IEnumerable&amp;lt;string&amp;gt; source = this.GetEnumerableValue(&quot;targets&quot;, parameters, actionItem);&#xA;    if (!source.Any&amp;lt;string&amp;gt;())&#xA;    {&#xA;      Item obj = dataItem.Database.Items[&quot;/sitecore/system/publishing targets&quot;];&#xA;      if (obj != null)&#xA;        source = obj.Children.Select&amp;lt;Item, string&amp;gt;((Func&amp;lt;Item, string&amp;gt;) (child =&amp;gt; child[&quot;Target database&quot;])).Where&amp;lt;string&amp;gt;((Func&amp;lt;string, bool&amp;gt;) (dbName =&amp;gt; !string.IsNullOrEmpty(dbName)));&#xA;    }&#xA;    foreach (string str in source)&#xA;    {&#xA;      string databaseName = str;&#xA;      Database database = Factory.GetDatabase(databaseName, false);&#xA;      if (database != null)&#xA;        yield return database;&#xA;      else&#xA;        Log.Warn(&quot;Unknown database in PublishAction: &quot; + databaseName, (object) this);&#xA;      databaseName = (string) null;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;if you want to do an auto-publish on a specific database either you need to pass the targets or need to create your custom auto-publish just to pick all the database you need in non-final state of the workflow. In your case parameter will be like - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;deep=1&amp;amp;smart=1&amp;amp;targets=preview&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-07T03:51:08.900" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20896" PostTypeId="2" ParentId="20891" CreationDate="2019-09-07T05:35:32.523" Score="3" Body="&lt;p&gt;We shouldn't do voluntary work for any reward. People choose to volunteer to give something back to the community, or to help people who are doing similar stuff by sharing knowledge. It also gives opportunity to develop new skills or build on existing experience and knowledge. &lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="1273" LastEditDate="2019-09-07T13:24:51.540" LastActivityDate="2019-09-07T13:24:51.540" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20898" PostTypeId="2" ParentId="20891" CreationDate="2019-09-07T08:02:57.917" Score="2" Body="&lt;p&gt;It is primarily an opinion based question but all the information can be found on the MVP Sitecore website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Taken from the Sitecore MVP Website&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Recognition as a global Sitecore expert and community leader&lt;/li&gt;&#xA;&lt;li&gt;Access to early product releases and privileged resources, including direct access to product teams and kick-off webinars&lt;/li&gt;&#xA;&lt;li&gt;Exclusive invitations to MVP discussion forums.&lt;/li&gt;&#xA;&lt;li&gt;Meet your regional Sitecore team and peers during regional MVP meetings&lt;/li&gt;&#xA;&lt;li&gt;Exclusive Invitation to the MVP Summit. The Summit is executive insight to product and company strategy with lots of networking and fun activities.&lt;/li&gt;&#xA;&lt;li&gt;Discount at Sitecore events SUGCON, Symposium&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;More information at &lt;a href=&quot;https://mvp.sitecore.com/benefits&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore MVP Benefits&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As @Mark mentioned in his comment, please join the &lt;a href=&quot;https://docs.google.com/forms/d/e/1FAIpQLScsJX9PC3m8u-labRn_BNnByR0aiAxPYowN-doed6_t45aPhg/viewform&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Slack channel&lt;/a&gt; or the &lt;a href=&quot;https://community.sitecore.net&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Community forum&lt;/a&gt; for additional information.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-09-07T21:07:29.680" LastActivityDate="2019-09-07T21:07:29.680" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20900" PostTypeId="2" ParentId="20891" CreationDate="2019-09-07T15:24:20.453" Score="4" Body="&lt;p&gt;Honestly to me, if you are asking the question, then the answer for you is no. Being an MVP is not about you, its about the community. It's about making the community better. Making the product better. Helping partners succeed. When I solve an issue, the first thing I think is let's get this out to the community in a blog post, a SE answer or a SUG chat. If you feel like you &quot;need&quot; to work harder than you already are to be an MVP. Then you aren't really don't &quot;want&quot; to be one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know a lot of MVPs and one thing they all have in common is that they love the Sitecore community. And are open and honest about the products flaws. They spend their time trying to make it better. The fact that the &lt;a href=&quot;https://sitecore.stackexchange.com/users?tab=Reputation&amp;amp;filter=all&quot;&gt;top 15 plus people on SE&lt;/a&gt; are all MVPs is not by accident. No one makes us answer questions. No one makes them sit on Slack and answer questions. These are long term MVPs who lead the community. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;/rant&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-09-07T18:15:18.587" LastActivityDate="2019-09-07T18:15:18.587" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20901" PostTypeId="1" AcceptedAnswerId="20902" CreationDate="2019-09-07T18:11:27.873" Score="0" ViewCount="622" Body="&lt;p&gt;I am having some odd issues with Azure Search in Sitecore 9.2.0, not indexing any documents from my custom index. Locally, when indexing to SOLR there are no problems at all.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Background:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use SwitchOnRebuild and I can see that the index schema is created, but when the rebuild job finished in Sitecore, the index disappears from the Azure Search index overview. I assume it is because no documents have been added to the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, I have connected to the index from both my Azure test environment aswell as form my local development machine. I don't know if that is a problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Foundation.Search.Azure.Search.DefaultIndexConfiguration.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot; search:require=&quot;azure&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;searchCloudIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot;&amp;gt;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.DocumentBuilderOptions, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;&#xA;            &amp;lt;!-- Excluded templates --&amp;gt;&#xA;            &amp;lt;exclude hint=&quot;list:AddExcludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;BucketFolderTemplateId&amp;gt;{ADB6CA4F-03EF-4F47-B9AC-9CE2BA53FF97}&amp;lt;/BucketFolderTemplateId&amp;gt;&#xA;            &amp;lt;/exclude&amp;gt;&#xA;&#xA;            &amp;lt;!-- Included templates --&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;Frontpage&amp;gt;{CC8444F9-EF2D-43BC-9E08-84446CF253FB}&amp;lt;/Frontpage&amp;gt;&#xA;              &amp;lt;StandardPage&amp;gt;{69E35420-AF97-40FC-AC84-E2F4AE256BEB}&amp;lt;/StandardPage&amp;gt;&#xA;              &amp;lt;NewsArticlePage&amp;gt;{EFB6DB4E-4A31-413F-AD26-E808A52ED0EF}&amp;lt;/NewsArticlePage&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;&#xA;            &amp;lt;!-- GLOBALLY INCLUDE FIELDS IN INDEX&#xA;                 This setting allows you to specify which fields to include in the index when the indexAllFields setting is set to false.&#xA;            --&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;              &amp;lt;__Boost&amp;gt;{93D1B217-B8F4-462E-BABF-68298C9CE667}&amp;lt;/__Boost&amp;gt;&#xA;              &amp;lt;__Created_By&amp;gt;{5DD74568-4D4B-44C1-B513-0AF5F4CDA34F}&amp;lt;/__Created_By&amp;gt;&#xA;              &amp;lt;Date_Range&amp;gt;{7146F1A4-45FB-4CEC-9855-C95E9E595827}&amp;lt;/Date_Range&amp;gt;&#xA;              &amp;lt;ID&amp;gt;{5A531AF0-C44C-4141-A0D3-09C5CDC3D654}&amp;lt;/ID&amp;gt;&#xA;              &amp;lt;Image_Dimensions&amp;gt;{05EF282C-54DE-49B5-9EF3-0EB3008080C6}&amp;lt;/Image_Dimensions&amp;gt;&#xA;              &amp;lt;Language&amp;gt;{BC06ED64-C4A1-4EE2-9835-541E1CC4CCC9}&amp;lt;/Language&amp;gt;&#xA;              &amp;lt;Parent_ID&amp;gt;{1F4412CC-609C-4D3C-AF8C-D5C849202916}&amp;lt;/Parent_ID&amp;gt;&#xA;              &amp;lt;Text&amp;gt;{A60ACD61-A6DB-4182-8329-C957982CEC74}&amp;lt;/Text&amp;gt;&#xA;              &amp;lt;Title&amp;gt;{75577384-3C97-45DA-A847-81B00500E250}&amp;lt;/Title&amp;gt;&#xA;              &amp;lt;Search_Types_Text&amp;gt;{E600C190-3F61-4776-B2F5-03AD7AEB351C}&amp;lt;/Search_Types_Text&amp;gt;&#xA;              &amp;lt;Updated_Date&amp;gt;{87A830FB-4E2F-4F76-896B-F20CFA2374DD}&amp;lt;/Updated_Date&amp;gt;&#xA;              &amp;lt;Workflow_State&amp;gt;{49D86313-493D-4054-ACC9-D68AD6B09332}&amp;lt;/Workflow_State&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;&#xA;            &amp;lt;!-- REMOVE INBUILT SITECORE FIELDS&#xA;                 This allows you to store a field in different ways in the index. You may want to store a field as Analyzed and Not Analyze&#xA;            --&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddExcludedSpecialField&quot;&amp;gt;&#xA;              &amp;lt;field type=&quot;both&quot;&amp;gt;AllTemplates&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field type=&quot;both&quot;&amp;gt;Created&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field type=&quot;both&quot;&amp;gt;Editor&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field type=&quot;both&quot;&amp;gt;Hidden&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field type=&quot;both&quot;&amp;gt;Icon&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field type=&quot;both&quot;&amp;gt;Links&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field type=&quot;both&quot;&amp;gt;Updated&amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;&#xA;            &amp;lt;!-- COMPUTED INDEX FIELDS&#xA;               This setting allows you to add fields to the index that contain values that are computed for the item that is being indexed.&#xA;               You can specify the storageType and indextype for each computed index field in the &amp;lt;fieldMap&amp;gt;&amp;lt;fieldNames&amp;gt; section.&#xA;            --&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;              &#xA;              &amp;lt;field fieldName=&quot;istemplate&quot;                     &amp;gt;Sitecore.ContentSearch.ComputedFields.IsTemplate,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;haschildren&quot;                    &amp;gt;Sitecore.ContentSearch.ComputedFields.HasChildren,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;lock&quot;                           &amp;gt;Sitecore.ContentSearch.ComputedFields.IsLocked,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;culture&quot;                        &amp;gt;Sitecore.ContentSearch.ComputedFields.Culture,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;site&quot;                           &amp;gt;Sitecore.ContentSearch.ComputedFields.Site,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;version&quot;                        &amp;gt;Sitecore.ContentSearch.ComputedFields.StoreVersionTermVector,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;urllink&quot;                        &amp;gt;Sitecore.ContentSearch.ComputedFields.UrlLink,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_content&quot; returnType=&quot;string&quot; type=&quot;Feature.Search.SubContentField, Feature.Search&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;renderedContent&quot; returnType=&quot;string&quot; type=&quot;Feature.Search.SubContentField, Feature.Search&quot; /&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/searchCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Foundation.Azure.Search.Master.Index.config:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot; search:require=&quot;Azure&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;CUSTOMER_search_master_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;            &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/searchCloudIndexConfiguration&quot; &amp;gt;&#xA;              &amp;lt;scoringProfilesRepository ref=&quot;contentSearch/scoringProfilesRepository&quot;/&amp;gt;&#xA;            &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;schemaBuilder ref=&quot;contentSearch/searchServiceSchemaBuilder&quot; /&amp;gt;&#xA;            &amp;lt;searchService type=&quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/manual&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                  &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;                &amp;lt;/policy&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Web Sites&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;What I have tried:&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Manually &lt;strong&gt;delete&lt;/strong&gt; and &lt;strong&gt;rebuild&lt;/strong&gt; the index &lt;/li&gt;&#xA;&lt;li&gt;Deleting entries referencing the customer-master-search-index in the &lt;strong&gt;properties table&lt;/strong&gt; in the Core db &lt;/li&gt;&#xA;&lt;li&gt;Deleting and manually re-creating the &lt;strong&gt;index-catalog&lt;/strong&gt; index in Azure Search&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Observations&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Renaming&lt;/strong&gt; the index (this actually works just fine: the new index is created and contains documents)&lt;/li&gt;&#xA;&lt;li&gt;If I disable, &quot;SwitchOnRebuild&quot; and rebuild my index, the document count is still 0. However, if I wait a couple of minutes (2-3) then my index appears with the correct number of documents (with the original name!).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is it possible for an index to get into some sort of &quot;bad state&quot; which makes it impossible to rebuild? Or is Sitecore saving index state somewhere which I need to erase (like the index-catalog)?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="3416" LastEditDate="2019-09-07T18:38:38.117" LastActivityDate="2019-09-07T19:04:12.043" Title="Azure search not adding documents from custom index unless renamed" Tags="|indexing|azure-search|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20902" PostTypeId="2" ParentId="20901" CreationDate="2019-09-07T19:04:12.043" Score="1" Body="&lt;p&gt;It seems &lt;a href=&quot;https://en.wikipedia.org/wiki/Rubber_duck_debugging&quot; rel=&quot;nofollow noreferrer&quot;&gt;rubber-ducking&lt;/a&gt; with the community helped me solve the problem I have had for 3 days.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution: (it seems you have to do BOTH, although I am not 100% certain)&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Delete and manually re-create index-catalog&lt;/li&gt;&#xA;&lt;li&gt;Delete all references to the index in the properties table in the core database&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I believe that the reason why I had the error was partly due to using &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/zero-downtime-index-rebuild-in-azure-search.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;&quot;SwitchOnRebuild&quot;&lt;/a&gt; and a corrupt index-catalog. In the index-catalog index, both the &quot;primary&quot; and the &quot;secondary&quot; index, was pointing to the same index in Azure Search and I think that confused Sitecore, so whenever I rebuilt my custom index, Sitecore switched to the secondary index and deleted the old primary index. However, since both the primary and the secondary was pointing to the same index, my custom index disappeared.&lt;/p&gt;&#xA;" OwnerUserId="3416" LastActivityDate="2019-09-07T19:04:12.043" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20903" PostTypeId="1" CreationDate="2019-09-08T02:05:24.167" Score="1" ViewCount="459" Body="&lt;p&gt;We have been seeing the high CPU and constant growth of memory. When analyzing the memory dump I noticed that the memory is occupied by 2 million Glass Mapper objects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone faced this issue and has possible fixes?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Glass Mapper version &lt;strong&gt;&quot;4.3.4.197&quot;&lt;/strong&gt; and Sitecore 8.2 update 1:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is finding from sitecore&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on provided dump, top memory consumer is glass mapper. Here is a list of most memory consuming types, consuming from 25MB to 300MB in descending order&#xA;&lt;a href=&quot;https://i.stack.imgur.com/caY2F.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/caY2F.png&quot; alt=&quot;Heap View&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&#xA;Looking at memory dump, the Validation Factory Below is holding all the glass objects. And this factory is referenced by Autofac Root.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion on how this code below can be fixed?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AutofacValidatorFactory : ValidatorFactoryBase&#xA;    {&#xA;        private readonly IComponentContext _context;&#xA;&#xA;        public AutofacValidatorFactory(IComponentContext context)&#xA;        {&#xA;            _context = context;&#xA;        }&#xA;&#xA;        public override IValidator CreateInstance(Type validatorType)&#xA;        {&#xA;            object instance;&#xA;            if (!_context.TryResolve(validatorType, out instance)) return null;&#xA;            return instance as IValidator;&#xA;        }&#xA;    }&#xA;&#xA;public class ValidationModule : Module&#xA;    {&#xA;        protected override void Load(ContainerBuilder builder)&#xA;        {&#xA;            builder.RegisterAssemblyTypes(ThisAssembly)&#xA;                   .Where(t =&amp;gt; t.Name.EndsWith(&quot;Validator&quot;))&#xA;                   .AsImplementedInterfaces()&#xA;                   .InstancePerLifetimeScope();&#xA;&#xA;            builder.RegisterType&amp;lt;FluentValidationModelValidatorProvider&amp;gt;().As&amp;lt;ModelValidatorProvider&amp;gt;();&#xA;&#xA;            builder.RegisterType&amp;lt;AutofacValidatorFactory&amp;gt;().As&amp;lt;IValidatorFactory&amp;gt;();&#xA;&#xA;            base.Load(builder);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&#xA;Completely got rid of slow AUTOFAC but still seeing memory growth. I've created a separate question for that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/22409/sitecore-8-2-memory-leak-sitecorerequestscopemodule-holding-many-objects&quot;&gt;Sitecore 8.2 memory leak - SitecoreRequestScopeModule holding many objects&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="316" LastEditDate="2019-10-05T23:31:41.967" LastActivityDate="2020-03-04T00:01:35.250" Title="High CPU and Memory with 2 million glass disposables" Tags="|glass-mapper|performance-optimization|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="20904" PostTypeId="1" CreationDate="2019-09-08T06:02:39.350" Score="1" ViewCount="334" Body="&lt;p&gt;I had a react js application (http://localhost:3000) that invoked a web API (http://xyz) POST method. The way I accomplished that is - through the &amp;quot;proxy&amp;quot;: &amp;quot;http://xyz&amp;quot; setting in the package.json of the http://localhost:3000 react js application. When I moved the react js application comp to Sitecore JSS, the call isn't successful - xhr.js:155&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;GET&#xA;&lt;a href=&quot;http://new-jss-app.dev.local/sitecore/service/notfound.aspx?item=%2fapilist%2fsignin&amp;amp;user=extranet%5cAnonymous&amp;amp;site=new-jss-app&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://new-jss-app.dev.local/sitecore/service/notfound.aspx?item=%2fapilist%2fsignin&amp;amp;user=extranet%5cAnonymous&amp;amp;site=new-jss-app&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Any pointers to help accomplish the call? Thanks.....&lt;/p&gt;&#xA;" OwnerUserId="6000" LastEditorUserId="251" LastEditDate="2020-10-06T10:05:44.013" LastActivityDate="2021-07-18T22:09:30.280" Title="Sitecore JSS component invoking a web api" Tags="|jss|webapi|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20907" PostTypeId="1" CreationDate="2019-09-08T11:12:51.610" Score="2" ViewCount="338" Body="&lt;p&gt;I have recently upgraded from SC 8.2 to 9.0.2 During the process, I had to rename the custom implementation for dynamicplaceholders to get it to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following the recommendation in&#xA;&lt;a href=&quot;https://www.symsoftsolutions.com/blog/2018/07/31/sitecore-8-to-9-quick-upgrade/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.symsoftsolutions.com/blog/2018/07/31/sitecore-8-to-9-quick-upgrade/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now facing an issue with compatible renderings. I have some compatible container components (using dynamicplaceholders) for placing other card components.(content) The container components in this use case are for enabling the design for single of multiple card placements. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we switch the components (dynamic placeholder containers) the content is lost. Root cause is that the content is associated with the dynamicplaceholder key which changes during the switch and they don't render. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tried....&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change the calls to SC9 provided Dynamicplaceholders. Disabled all pipeline overrides.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Behavior with SC 9 Dynamicplaceholders is exactly the same. All that changed is the key format.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions / workarounds?&lt;/p&gt;&#xA;" OwnerUserId="5351" LastActivityDate="2021-09-10T18:28:32.670" Title="Sitecore 9 dynamic placeholders with compatible renderings" Tags="|dynamic-placeholder|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20908" PostTypeId="1" CreationDate="2019-09-08T18:26:47.333" Score="1" ViewCount="328" Body="&lt;p&gt;I am building a search component in solr , and want to get the results on the basis of how relevant (most occured ) that word is in the particular field , i am filtering the results on a Content field , here is the code , &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var queryableResultItems = context.GetQueryable&amp;lt;GlobalSearchResultItem&amp;gt;()&#xA;              .Where(x =&amp;gt; x.Language.Equals(Sitecore.Context.Language.Name, StringComparison.InvariantCultureIgnoreCase)).Where(UseSearchComponents.GetTemplatesFilterPredicate(Guid.Parse(TemplateConstants.BlogPreviewTemplate))).Where(UseSearchComponents.GetSearchFilters(keyword,searchType)).GetResults();&#xA;&#xA;&#xA;public static Expression&amp;lt;Func&amp;lt;GlobalSearchResultItem , bool&amp;gt;&amp;gt; GetSearchFilters(string Keyword,string searchType)&#xA;    {&#xA;        Expression&amp;lt;Func&amp;lt;GlobalSearchResultItem, bool&amp;gt;&amp;gt; filterSearch = x =&amp;gt; true;&#xA;        if(Keyword.IsTrimmedNullOrEmpty() || searchType.IsTrimmedNullOrEmpty())&#xA;        {&#xA;            return filterSearch;&#xA;        }&#xA;        Expression&amp;lt;Func&amp;lt;GlobalSearchResultItem, bool&amp;gt;&amp;gt; filterSearchText = x =&amp;gt; true;&#xA;        if (!string.IsNullOrEmpty(Keyword) &amp;amp;&amp;amp; searchType==&quot;exactly&quot;)&#xA;        {    &#xA;            filterSearchText = filterSearchText.Or(x =&amp;gt; x.Content.Contains(Keyword));&#xA;            filterSearch = filterSearch.And(filterSearchText);&#xA;        }&#xA;        if(!string.IsNullOrEmpty(Keyword) &amp;amp;&amp;amp; searchType == &quot;allwords&quot;)&#xA;        {&#xA;            float slop = 1000000;&#xA;            filterSearchText = filterSearchText.Or(x =&amp;gt; x.Content.Like(Keyword,slop));&#xA;            filterSearch = filterSearch.And(filterSearchText);&#xA;        }&#xA;        return filterSearch;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Suppose i search for the keyword &quot;DHS&quot; , and from this query i am getting the results , but that are not sorted on the basis of relevancy of the &quot;DHS&quot; words .&#xA;The results should be in order of the most occurence of the keyword in the content field.&#xA;I tried the termcomponent by adding &lt;code&gt;terms.fl=content_t&amp;amp;terms.list=dhs&amp;amp;terms.sort=count&lt;/code&gt; into the query , but didn`t get any success.&lt;/p&gt;&#xA;" OwnerUserId="4983" LastActivityDate="2019-09-08T18:26:47.333" Title="sort the documents in solr based on the occurence of the searched words" Tags="|content-search|solr|search-facet|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20909" PostTypeId="2" ParentId="11399" CreationDate="2019-09-08T20:11:55.290" Score="2" Body="&lt;p&gt;Have you set integratedSecurity? The default value is false  - This means that the user ID and password from the connection strings in the \App_Config\ConnectionStrings.config file will be used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please check the App_Config\ConnectionStrings.config. the DB user should have sufficient permission. &lt;/p&gt;&#xA;" OwnerUserId="2644" LastActivityDate="2019-09-08T20:11:55.290" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20910" PostTypeId="1" CreationDate="2019-09-08T21:57:46.283" Score="0" ViewCount="430" Body="&lt;p&gt;I am using sitecore 9.1 with SXA 1.8 , Is there a way to have access denied page for each site in SXA?&lt;/p&gt;&#xA;" OwnerUserId="2576" LastEditorUserId="73" LastEditDate="2019-09-09T08:23:16.643" LastActivityDate="2019-09-09T08:41:26.773" Title="Create No Access Page for multi site" Tags="|sxa|multisite|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20912" PostTypeId="2" ParentId="20852" CreationDate="2019-09-09T04:36:49.747" Score="0" Body="&lt;p&gt;Thank you all for your helpful comments and suggestions.The error is resolved now.&#xA;I reverted all the changes that I made to the Authoring, Shops, Ops and Minions roles. Build and deployed fresh assemblies and changed the database server names in all 8 config files as suggested in previous answer.&#xA;Afer this, I ran the instance again and it threw a different exception of Certificate matching. &#xA;To resolve this, I took help of this blog - &#xA;&lt;a href=&quot;http://andrewsutherland.azurewebsites.net/2018/07/01/valid-certificate-thumbprint-not-matching-in-sitecore-experience-commerce-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://andrewsutherland.azurewebsites.net/2018/07/01/valid-certificate-thumbprint-not-matching-in-sitecore-experience-commerce-9/&lt;/a&gt;&#xA;And now the page is working again!&lt;/p&gt;&#xA;" OwnerUserId="5833" LastActivityDate="2019-09-09T04:36:49.747" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20914" PostTypeId="1" AcceptedAnswerId="20920" CreationDate="2019-09-09T06:04:01.720" Score="2" ViewCount="349" Body="&lt;p&gt;Environment: Sitecore 9.0.2 and EXM&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Issue: In the production environment, we have imported around 10 automated campaigns but only 4 are visible in the EXM dashboard under Email campaigns -&gt; Automated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked in the Content Editor and all 10 are present and 'Active' and 'Automated'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Email root is correct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Few campaigns were 'Protected'. I have 'Unprotected' them but still they are not visible in the dashboard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions will be helpful.&#xA;Thank you.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="237" LastEditDate="2019-09-09T08:55:52.377" LastActivityDate="2019-09-09T08:55:52.377" Title="Few campaigns not appearing in EXM dashboard" Tags="|exm|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20916" PostTypeId="1" AcceptedAnswerId="20922" CreationDate="2019-09-09T07:29:58.027" Score="2" ViewCount="365" Body="&lt;p&gt;I was building query on the basis of the occurence/relevancy of the terms present in a field and got one issue , suppose i searched for a keyword &quot;text&quot; in the content field  , and i want to sort the results on the basis of the relevancy of the term present in the field , for ex , if that keyword is present more times then that document will be listed on the top . here is my code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var queryableResultItems = context.GetQueryable&amp;lt;GlobalSearchResultItem&amp;gt;()&#xA;              .Where(x =&amp;gt; x.Language.Equals(Sitecore.Context.Language.Name, StringComparison.InvariantCultureIgnoreCase)).Where(UseSearchComponents.GetTemplatesFilterPredicate(Guid.Parse(TemplateConstants.BlogPreviewTemplate))).Where(UseSearchComponents.GetSearchFilters(keyword, searchType)).Skip((Int32.Parse(pagenumber) - 1) * 12).Take(12).GetResults();&#xA;&#xA;&#xA; public static Expression&amp;lt;Func&amp;lt;GlobalSearchResultItem , bool&amp;gt;&amp;gt; GetSearchFilters(string Keyword,string searchType)&#xA;    {&#xA;        Expression&amp;lt;Func&amp;lt;GlobalSearchResultItem, bool&amp;gt;&amp;gt; filterSearch = x =&amp;gt; true;&#xA;        if(Keyword.IsTrimmedNullOrEmpty() || searchType.IsTrimmedNullOrEmpty())&#xA;        {&#xA;            return filterSearch;&#xA;        }&#xA;        Expression&amp;lt;Func&amp;lt;GlobalSearchResultItem, bool&amp;gt;&amp;gt; filterSearchText = x =&amp;gt; true;&#xA;        if (!string.IsNullOrEmpty(Keyword) &amp;amp;&amp;amp; searchType==&quot;exactly&quot;)&#xA;        {    &#xA;            filterSearchText = filterSearchText.Or(x =&amp;gt; x.Content.Contains(Keyword));&#xA;            filterSearch = filterSearch.And(filterSearchText);&#xA;        }&#xA;        if(!string.IsNullOrEmpty(Keyword) &amp;amp;&amp;amp; searchType == &quot;allwords&quot;)&#xA;        {&#xA;            float slop = 1000000;&#xA;            filterSearchText = filterSearchText.Or(x =&amp;gt; x.Content.Like(Keyword,slop));&#xA;            filterSearch = filterSearch.And(filterSearchText);&#xA;        }&#xA;        return filterSearch;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then i used the &lt;code&gt;termfreq(&quot;content_t&quot;,&quot;text&quot;) desc&lt;/code&gt; function in the solr console , but i don`t know how to do it programatically in solr using the contentsearch api.&#xA;Some help would be apppreciated.&#xA;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="4983" LastActivityDate="2023-08-06T05:29:37.403" Title="Use the TermFreq() function programatically in Sitecore" Tags="|content-search|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20918" PostTypeId="2" ParentId="20910" CreationDate="2019-09-09T08:20:17.560" Score="3" Body="&lt;p&gt;Unfortunately you cannot set a 403 (Forbidden) SXA page (just like the 404 and 500). By default, the user will be redirected to the noaccess.aspx page. You can create custom 403 behaviour using a pipeline processor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Create custom 403 behaviour&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add this config:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;   &amp;lt;sitecore&amp;gt;&#xA;      &amp;lt;pipelines&amp;gt;&#xA;        &amp;lt;httpRequestBegin&amp;gt;&#xA;          &amp;lt;processor type=&quot;ErrorHandling.Pipelines.ExecuteRequestProcessor, Foundation.ErrorHandling&quot;&#xA;                 patch:before=&quot;processor[@type='Sitecore.Pipelines.HttpRequest.ExecuteRequest, Sitecore.Kernel']&quot; /&amp;gt;&#xA;        &amp;lt;/httpRequestBegin&amp;gt;&#xA;      &amp;lt;/pipelines&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Add a pipeline processor (inherit from the ExecuteRequest processor).&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-c# prettyprint-override&quot;&gt;&lt;code&gt;public class ExecuteRequestProcessor : ExecuteRequest&#xA;{&#xA;    protected override void RedirectOnNoAccess(string url)&#xA;    {&#xA;        // check whether Sitecore is redirecting to /noaccess.aspx page&#xA;        if (!url.StartsWith(this.GetDefaultNoAccessUrl()))&#xA;            return;&#xA;&#xA;        // find your custom 403 page&#xA;        string forbiddenItemPath = &quot;somepath/to/the/custom/403&quot;;&#xA;        if (!string.IsNullOrEmpty(forbiddenItemPath))&#xA;        {&#xA;            var contentUrl = string.Concat(WebUtil.GetServerUrl(), forbiddenItemPath);&#xA;&#xA;            var headers = new System.Collections.Specialized.NameValueCollection();&#xA;            if (HttpContext.Current.Request.Headers.Get(&quot;Cookie&quot;) != null)&#xA;            {&#xA;                headers.Add(&quot;Cookie&quot;, HttpContext.Current.Request.Headers.Get(&quot;Cookie&quot;));&#xA;            }&#xA;&#xA;            // get 403 content with the correct user context (.ASPXAUTH from cookie)&#xA;            string content = WebUtil.ExecuteWebPage(contentUrl, headers);&#xA;&#xA;            // set Response params&#xA;            HttpContext.Current.Response.TrySkipIisCustomErrors = true;&#xA;            HttpContext.Current.Response.StatusCode = 403;&#xA;            HttpContext.Current.Response.StatusDescription = &quot;Forbidden&quot;;&#xA;            HttpContext.Current.Response.Write(content);&#xA;            HttpContext.Current.Response.Flush();                &#xA;&#xA;            return;&#xA;        }&#xA;&#xA;        base.RedirectOnNoAccess(url);&#xA;    }&#xA;&#xA;    private string GetDefaultNoAccessUrl()&#xA;    {&#xA;        bool loginpage = false;&#xA;        return this.GetNoAccessUrl(out loginpage);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5867" LastEditorUserId="237" LastEditDate="2019-09-09T08:41:26.773" LastActivityDate="2019-09-09T08:41:26.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20919" PostTypeId="2" ParentId="18078" CreationDate="2019-09-09T08:24:54.330" Score="0" Body="&lt;p&gt;Sitecore xconnect installs a service bound to an exe in the web installation folder, called .xconnect-ProcessingEngineService.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I killed the &quot;xconnectsearchindexer.exe&quot; process and was able to delete.&#xA;I then removed the service itself, using PS 6.0 &quot;Remove-Service&quot;&lt;/p&gt;&#xA;" OwnerUserId="5192" LastActivityDate="2019-09-09T08:24:54.330" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20920" PostTypeId="2" ParentId="20914" CreationDate="2019-09-09T08:49:40.747" Score="4" Body="&lt;p&gt;When a campaign is not visible in EXM but it is shown in the content editor: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;go to the item in the content editor&lt;/li&gt;&#xA;&lt;li&gt;in the &lt;code&gt;Message Preview&lt;/code&gt; tab, find the &lt;code&gt;Open EXM&lt;/code&gt; button&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9B0zk.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9B0zk.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Click the button to open the message in EXM&lt;/li&gt;&#xA;&lt;li&gt;Go to the &lt;code&gt;Full email campaign&lt;/code&gt; link on the right, to the &lt;code&gt;Delivery&lt;/code&gt; step&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Deactivate&lt;/code&gt; the campaign and &lt;code&gt;activate&lt;/code&gt; it again.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;That should do the trick. It should be visible in your list now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;ps: this usually happens when importing messages.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-09-09T08:49:40.747" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20921" PostTypeId="2" ParentId="16535" CreationDate="2019-09-09T08:55:01.137" Score="0" Body="&lt;p&gt;In my case I had a proxy configured but not run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I use Fiddler and it was configured but the Fiddler was not run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Before:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.net&amp;gt;&#xA;    &amp;lt;defaultProxy useDefaultCredentials=&quot;true&quot; enabled=&quot;true&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;        &amp;lt;proxy usesystemdefault=&quot;false&quot; proxyaddress=&quot;http://127.0.0.1:8888&quot; bypassonlocal=&quot;false&quot; autoDetect=&quot;false&quot;/&amp;gt;&#xA;    &amp;lt;/defaultProxy&amp;gt;&#xA;&amp;lt;/system.net&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;After:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--&amp;lt;system.net&amp;gt;&#xA;    &amp;lt;defaultProxy useDefaultCredentials=&quot;true&quot; enabled=&quot;true&quot; xdt:Transform=&quot;Insert&quot;&amp;gt;&#xA;        &amp;lt;proxy usesystemdefault=&quot;false&quot; proxyaddress=&quot;http://127.0.0.1:8888&quot; bypassonlocal=&quot;false&quot; autoDetect=&quot;false&quot;/&amp;gt;&#xA;    &amp;lt;/defaultProxy&amp;gt;&#xA;&amp;lt;/system.net&amp;gt;--&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5569" LastActivityDate="2019-09-09T08:55:01.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20922" PostTypeId="2" ParentId="20916" CreationDate="2019-09-09T10:07:34.537" Score="6" Body="&lt;p&gt;You can do it with:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var queryableResultItems = context.GetQueryable&amp;lt;GlobalSearchResultItem &amp;gt;()&#xA;                    .Where(expression)&#xA;                    .OrderByDescending(x =&amp;gt; x[&quot;termfreq(content_t, \&quot;&quot;+ term+ &quot;\&quot;)&quot;])&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But I suggest you to setup logic that you need on Solr side. Sorl sorts the results based on the relevancy of the term present in the field OOTB (it uses &lt;strong&gt;tf-idf&lt;/strong&gt; algorithm to calculate scoring).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should check query analizer of your field type in managed-schema (your field should be &lt;strong&gt;tokenized&lt;/strong&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;analyzer type=&quot;query&quot;&amp;gt;&#xA;      &amp;lt;tokenizer class=&quot;solr.WhitespaceTokenizerFactory&quot;/&amp;gt;&#xA;      ...&#xA;    &amp;lt;/analyzer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/yiBRL.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yiBRL.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can check it in Solr by adding &quot;&lt;strong&gt;score&lt;/strong&gt;&quot; in &lt;strong&gt;fl&lt;/strong&gt; textbox. You can also see how scoring is calculating by checking &lt;strong&gt;debugQuery&lt;/strong&gt;:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/k84Mr.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/k84Mr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see, Solr uses &lt;strong&gt;termFreq&lt;/strong&gt; OOTB while scoring:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Pkk6Y.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Pkk6Y.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-09-09T10:16:39.193" LastActivityDate="2019-09-09T10:16:39.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20923" PostTypeId="1" CreationDate="2019-09-09T10:14:15.947" Score="1" ViewCount="944" Body="&lt;p&gt;We have lot of items in the one of the image folder so we are planning to move these images in multiple folder. We would like to do this programmatically however we are not sure if it will impact the field it is used in Items or not? We want to update all the reference link also along with movement of the media. Can it be possible? &lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-09-10T10:03:43.833" Title="How to move media items to new folder without impacting references programmatically?" Tags="|media-library|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20924" PostTypeId="2" ParentId="20923" CreationDate="2019-09-09T10:20:37.887" Score="1" Body="&lt;p&gt;By Default Sitecore uses Media Id to store the image/media reference in a field. for example - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;image mediaid=&quot;{DB854E88-4293-4D0B-9623-85F58FCAB7D6}&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can see this in the raw value of the image field, same is for the RTE field but if you are using the media path for specific item somewhere in the code, then you need to update your code in this case. If you are only worried about the Sitecore fields then you are good to go, the movement of media item will not change the media item ids.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-09T10:20:37.887" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20925" PostTypeId="2" ParentId="20923" CreationDate="2019-09-09T10:54:09.313" Score="3" Body="&lt;p&gt;If you are using media items in image field or rich text, then you do not need to change anything because when any item move it does not change item guid it remains same.&lt;/p&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-09-09T10:54:09.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20927" PostTypeId="1" CreationDate="2019-09-09T12:21:19.593" Score="0" ViewCount="40" Body="&lt;p&gt;I am using EXM with Sitecore 8.2. I have issue with bounce count which is always 0. I am using Sitecore Email cloud (sparkpost). Looking forward for the advice to fix this. Thanks&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="1273" LastEditDate="2019-09-09T13:14:00.913" LastActivityDate="2019-09-09T13:14:00.913" Title="Bounce email count is always 0 with Sitecore Email Cloud" Tags="|exm|" AnswerCount="0" CommentCount="2" ClosedDate="2019-09-09T12:27:52.960" ContentLicense="CC BY-SA 4.0" />
  <row Id="20928" PostTypeId="1" AcceptedAnswerId="22217" CreationDate="2019-09-09T12:44:48.687" Score="1" ViewCount="119" Body="&lt;p&gt;We're working on a conversion to Sitecore, and in their current system the client sends out emails with links back to the site. These links contain the user's email and an authentication token, so when they're clicked the user is logged in and taken straight to the page in question. We found, however, that if the email is forwarded then anyone who gets it could also log in. This might just be par for the course in this kind of scenario, so I'd like some advice on two fronts:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is this a standard/best practice for an email newsletter to provide such a login method? Or is it better to provide a link to the page, and if the user is logged in they get access, otherwise they need to log in (with a &quot;remember me&quot; option provided)?&lt;/li&gt;&#xA;&lt;li&gt;In Sitecore 9.1.1 or 9.2, using identity server, is using an auth token to log an end user in a doable thing, and are there any good references to this? This is in case either it is an accepted practice, or if the client insists they want it this way, I'd like to know a way to accomplish it.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-09-23T12:54:08.417" Title="End-user login via auth token" Tags="|authentication|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20929" PostTypeId="1" AcceptedAnswerId="20931" CreationDate="2019-09-09T13:26:59.217" Score="1" ViewCount="516" Body="&lt;p&gt;I am trying to use the JSS Tracking API, according to &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/services/tracking&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jss.sitecore.com/docs/fundamentals/services/tracking&lt;/a&gt;, with Sitecore XP 9.1. Following the example code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import { trackingApi } from '@sitecore-jss/sitecore-jss-tracking';&#xA;&#xA;const trackingApiOptions = {&#xA;  host: config.sitecoreApiHost,&#xA;  querystringParams: {&#xA;    sc_apikey: config.sitecoreApiKey,&#xA;  },&#xA;};&#xA;&#xA;trackingApi&#xA;  // note the events are an array - batching is supported&#xA;  .trackEvent([{ eventId: 'Download' }], trackingApiOptions)&#xA;  .then(() =&amp;gt; console.log('Page event pushed'))&#xA;  .catch((error) =&amp;gt; console.error(error));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I get the following error in the browser console log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;TypeError: fetcher is not a function errors. &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;When I assign the fetcher in the options (using &lt;code&gt;node-fetch&lt;/code&gt;), I get a server-side error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Web.HttpException&#xA;Message: A public action method 'event' was not found on controller 'Sitecore.JavaScriptServices.Tracker.Controllers.JssTrackerController'.&#xA;Source: System.Web.Mvc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the following CORS error in my browser:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Access to fetch at 'http://sitecore/sitecore/api/jss/track/event?sc_apikey=%7B1F33A17A-47FC-44E4-9E72-96833F787ADB%7D' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Event&lt;/code&gt; method in &lt;code&gt;Sitecore.JavaScriptServices.Tracker.Controllers&lt;/code&gt; only supports POST and not GET, but the trackingApi is performing a GET request.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any clues? What configuration am I missing?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;PS. Using plain Javascript and not Typescript.&lt;/p&gt;&#xA;" OwnerUserId="3334" LastEditorUserId="3334" LastEditDate="2019-09-09T14:12:51.510" LastActivityDate="2019-09-09T14:12:51.510" Title="JSS Tracking API example fetch errors" Tags="|jss|tracking|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20931" PostTypeId="2" ParentId="20929" CreationDate="2019-09-09T13:56:40.490" Score="1" Body="&lt;p&gt;Turns out that the client-side CORS error is a false-positive. The actual problem is that the fetcher is performing a GET iso a POST. My fix for it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import fetch from 'node-fetch';&#xA;&#xA;async function myFetcher(url, data) {&#xA;    return await fetch(url, {&#xA;        method: 'post', &#xA;        headers: {&#xA;            'Content-Type' : 'application/json'&#xA;        }, &#xA;        body:  JSON.stringify(data)&#xA;    });&#xA;}&#xA;&#xA;const trackingApiOptions = {&#xA;  host: config.sitecoreApiHost,&#xA;  querystringParams: {&#xA;    sc_apikey: config.sitecoreApiKey,&#xA;  },&#xA;  fetcher: myFetcher&#xA;};&#xA;&#xA;trackingApi.trackEvent(events, trackingApiOptions);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3334" LastActivityDate="2019-09-09T13:56:40.490" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20932" PostTypeId="1" AcceptedAnswerId="25515" CreationDate="2019-09-09T14:29:35.520" Score="5" ViewCount="1406" Body="&lt;p&gt;We have an issue with Sitecore 9.1 context user on Preview mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore.Context.User is showing as &quot;extranet\Anonymous&quot; in preview mode when Sitecore CM is authenticating via Identity Server. Whereas in experience editor mode, it's showing as &quot;sitecore\admin&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When we disable Identity server for Sitecore CM, in preview mode, Sitecore.Context.User is showing properly as &quot;sitecore\admin&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have set Preview.AsAnonymous setting as &quot;False&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Expectation: Sitecore Preview should show the same user account who has logged-in instead of extranet\Anonymous. This behavior is causing issue to render page in preview mode which is protected for Anonymous users.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: In Sitecore 8.2, similar settings of preview and similar Sitecore item security works well without issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know why Sitecore user is not authenticated in preview mode when going through identity server?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Edit: When we turn off the identity server for Sitecore CM, it works as expected. In preview mode, the appropriate user show instead of extranet\Anonymous&lt;/p&gt;&#xA;" OwnerUserId="2401" LastEditorUserId="2401" LastEditDate="2019-09-09T14:33:48.280" LastActivityDate="2020-07-10T12:05:00.640" Title="Sitecore Context User issue with Preview mode via Sitecore Identity Server" Tags="|experience-editor|identity-server|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20934" PostTypeId="1" CreationDate="2019-09-09T14:59:23.500" Score="2" ViewCount="524" Body="&lt;p&gt;Environment details: Sitecore 9.0.2 Scaled in PAAS model&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is happening:&#xA;We have deployed a set of e-mail campaigns, both regular and automated in the environment.&#xA;The mails are getting triggered and delivered properly.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem is with the reporting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the EXM dashboard, the details such as recipient activity, technology are not getting rendered.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/KoUzv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/KoUzv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the dashboard of the individual campaigns also, this data is not coming.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nfNx2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nfNx2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Surprisingly, for the campaign, under the tab 'Recipient Activity', in the lower -half (highlighted in the image) we can see the recipient activity.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/7EVlh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7EVlh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do get data under 'Experience Profile'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have seen this link &lt;a href=&quot;https://sitecore.stackexchange.com/questions/14601/exm-report-is-empty-data-is-not-being-captured-in-scaled-environment&quot;&gt;EXM report is empty (data is not being captured) in scaled environment&lt;/a&gt; but couldn't move ahead.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my CM instance, there are entries for &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ERROR Failed to get a registration result&#xA;Exception: System.NullReferenceException&#xA;Message: Object reference not set to an instance of an object.&#xA;Source: Sitecore.EmailCampaign.Cd&#xA;   at Sitecore.EmailCampaign.Cd.sitecore_modules.Web.EXM.RegisterEmailOpened.ProcessRequest(HttpContextBase context)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the processing instance, I do have the following logs. I am not sure if these are related.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    ERROR Exception when executing agent pathAnalyzer/mapRebuildStatusCheckerAgent&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: mscorlib&#xA;   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.MapRebuildStatusCheckerAgent.&amp;lt;GetDefinitionsWithUpdatedStatus&amp;gt;d__8.MoveNext()&#xA;   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&#xA;   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.MapRebuildStatusCheckerAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.AggregateException&#xA;Message: One or more errors occurred.&#xA;Source: mscorlib&#xA;   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.MapRebuildStatusCheckerAgent.&amp;lt;ResolveMapRebuildStatus&amp;gt;d__9.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.Analytics.Core.Data.EntityDoesNotExistException&#xA;Message: Routine caused exception: Processing_GetTaskById.&#xA;Source: Sitecore.Analytics.Sql&#xA;   at Sitecore.Analytics.Processing.SqlTaskDataProvider.&amp;lt;GetProcessingTaskUsingRoutineAsync&amp;gt;d__51.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.SqlTaskDataProvider.&amp;lt;GetAsync&amp;gt;d__41.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.Internals.TaskHub.&amp;lt;GetTaskAsync&amp;gt;d__15.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.TaskManager.&amp;lt;GetTaskAsync&amp;gt;d__8.MoveNext()&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: System.Data.SqlClient.SqlException&#xA;Message: A processing task with the specified unique identifier does not exist.&#xA;Source: .Net SqlClient Data Provider&#xA;   at System.Data.SqlClient.SqlCommand.&amp;lt;&amp;gt;c.&amp;lt;ExecuteDbDataReaderAsync&amp;gt;b__180_0(Task`1 result)&#xA;   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()&#xA;   at System.Threading.Tasks.Task.Execute()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Sql.Common.Extensions.DbCommandExtensions.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;b__0&amp;gt;d.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Sql.Common.Extensions.DbCommandExtensions.&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Sql.Common.Extensions.SqlCommandExtensions.&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;d__1.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Xdb.Sql.Common.Extensions.SqlCommandExtensions.&amp;lt;ExecuteReaderWithRetryAsync&amp;gt;d__0.MoveNext()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.Analytics.Processing.SqlTaskDataProvider.&amp;lt;GetProcessingTaskUsingRoutineAsync&amp;gt;d__51.MoveNext()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit 2&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Under 'Experience Profile' I am able to see data and filter them out on the basis of the e-mail campaign.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the same time, we are not getting the data on the 'Experience Analytics' dashboard.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any inputs will be helpful.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="1110" LastEditDate="2019-09-18T14:03:41.147" LastActivityDate="2024-02-25T09:05:10.643" Title="EXM Report | Data is not getting aggregated" Tags="|exm|reporting|aggregation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20935" PostTypeId="1" AcceptedAnswerId="20937" CreationDate="2019-09-09T18:24:26.990" Score="0" ViewCount="1146" Body="&lt;p&gt;I have a custom SPE script that is executed from the Reporting Tools on the Sitecore start menu. The script writes a csv file to the app_data\temp directory, then calls Get-Item $filePath | Out-Download to download the file. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recently, I've found that the file is no longer downloading and returning the following error :&#xA;&quot;Attempt to call the 'handleDownload' service failed as user 'xxxx\Anonymous' was not authorized.&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm logged in as sitecore\Admin to run the script, so i'm not sure how i'm getting the anonymous user account.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;During investigation, as the script completes in the browser while viewing the dev console, it appears to redirect to the login page with a returnUrl parameter in the query string:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;/login?ReturnUrl=%2f-%2fscript%2fhandle%2fAA8204B5D76D425A850C69B12D6CFE38&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script was originally written in Sitecore 8.x and SPE 4.7. Now running 9.1 and SPE 5.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone experienced this behavior? Or maybe I missed some configuration with the new version. handleDownload is enabled to the default roles.&lt;/p&gt;&#xA;" OwnerUserId="743" LastEditorUserId="73" LastEditDate="2019-09-09T18:33:54.957" LastActivityDate="2019-09-09T19:32:09.867" Title="Out-Download access denied to user anonymous" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20936" PostTypeId="2" ParentId="19697" CreationDate="2019-09-09T18:27:25.047" Score="3" Body="&lt;p&gt;There is an &lt;code&gt;includeTemplateIDs&lt;/code&gt; filtering option on children:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;topItem: item(path: $datasource) {      &#xA;     children(includeTemplateIDs: &quot;{C6F6A81A-F9C9-45D8-AF4E-3E818C470F53}&quot;) {&#xA;       name&#xA;       url&#xA;       ... on CustomTemplate  { &#xA;         customField { value }&#xA;       }&#xA;     }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="254" LastEditorUserId="254" LastEditDate="2019-09-09T18:35:34.713" LastActivityDate="2019-09-09T18:35:34.713" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20937" PostTypeId="2" ParentId="20935" CreationDate="2019-09-09T18:44:46.350" Score="3" Body="&lt;p&gt;Since you are running Sitecore 9.1 then it's safe to assume Identity Server is running. SPE 5.1 or later includes a configuration file for Identity Server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/17984/unable-to-elevate-console-in-9-1-azure-paas&quot;&gt;This issue&lt;/a&gt; came up when some community members were trying to setup SPE on Azure PaaS. You can find the sample patch there.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-09-09T19:32:09.867" LastActivityDate="2019-09-09T19:32:09.867" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20938" PostTypeId="2" ParentId="20932" CreationDate="2019-09-09T19:28:56.593" Score="2" Body="&lt;p&gt;So when we try to preview a page it resolved with the &lt;code&gt;'website'&lt;/code&gt; context but executed within the &lt;code&gt;'shell'&lt;/code&gt; context. If an external identity provider is configured to only be used with the shell site, We must be able to use a user from that provider to make the authorized request. You need to use &lt;code&gt;ValidateSiteNeutralPaths&lt;/code&gt; processor in the &lt;code&gt;owin.cookieAuthentication.validateIdentity&lt;/code&gt; pipeline to add the &lt;code&gt;siteNeutralPaths&lt;/code&gt; for your preview pages. Since we don't have any fix URL pattern like Sitecore API URL for preview page so I guess you need to add &quot;/&quot; in the list in a patch config- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;        &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateSiteNeutralPaths, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;siteNeutralPaths hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;!-- For preview Mode --&amp;gt;&#xA;            &amp;lt;path&amp;gt;/&amp;lt;/path&amp;gt;&#xA;          &amp;lt;/siteNeutralPaths&amp;gt;&#xA;        &amp;lt;/processor&amp;gt;&#xA;      &amp;lt;/owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;source can find in &lt;code&gt;Sitecore.Owin.Authentication.config&lt;/code&gt;. I have not use the same for preview mode but for custom path, could you please try this?&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-09T19:28:56.593" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20939" PostTypeId="1" CreationDate="2019-09-09T22:30:36.970" Score="0" ViewCount="266" Body="&lt;p&gt;We found that publishing a sub Item with Publish related item published the Home Node.How can this happen ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note;- the Published user doesn't have access to the Home node,even then the Home node got Published .&lt;/p&gt;&#xA;" OwnerUserId="3621" LastActivityDate="2020-02-07T09:02:20.310" Title="How does Publish Related Item works in Sitecore 8.1 Update 2" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20940" PostTypeId="1" AcceptedAnswerId="20957" CreationDate="2019-09-10T00:23:53.680" Score="1" ViewCount="299" Body="&lt;p&gt;I'm trying to configure Sitecore Leprechaun to generate Glass models for my project, but no matter what I do, I can't seem to get it to work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My project folder structure looks like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore&#xA;     /unicorn (This is the root Unicorn serialization path)&#xA;          /Templates&#xA;/src&#xA;     /Code Generation&#xA;          /Leprechaun.config&#xA;     /MyProject.Domain (This is where I want the code generated)&#xA;     /MyProject.sln&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I've tried a whole bunch of versions of Leprechaun.config, but no matter what I do, Leprechaun says I have 0 templates available.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: This project is NOT using a Helix architecture, all the templates will be contained in the Domain project.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what my Leprechaun.config file needs to look like to get this working?&lt;/p&gt;&#xA;" OwnerUserId="1056" LastEditorUserId="246" LastEditDate="2019-09-10T15:05:56.370" LastActivityDate="2019-09-10T15:05:56.370" Title="What should my Leprechaun Configuration look like in a non-Helix project?" Tags="|unicorn|code-generation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20941" PostTypeId="1" CreationDate="2019-09-10T00:25:56.800" Score="3" ViewCount="1287" Body="&lt;p&gt;I am working on scaled installation of &lt;code&gt;sitecore 9 update 2&lt;/code&gt;.On CD server, I needed to install the &lt;code&gt;SXA&lt;/code&gt; module, for doing that I was suggested to use CD as CM by adding the &amp;quot;master connection string&amp;quot; in &lt;code&gt;connectionstring.config&lt;/code&gt; file.&lt;/p&gt;&#xA;&lt;p&gt;When I use the master connection string in CD and try to install the module in CD environment so it adds the configuration and class libraries, i am getting the following error&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;Could not find configuration node: databases/database[@id='master']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Any Ideas?&lt;/p&gt;&#xA;&lt;p&gt;Note - I am using powershell script to install the sxa module on CD envioenment.&lt;/p&gt;&#xA;" OwnerUserId="6007" LastEditorUserId="7105" LastEditDate="2022-09-27T17:28:32.283" LastActivityDate="2022-09-28T04:25:08.063" Title="Install module on CD Could not find configuration node: databases/database[@id='master']" Tags="|sxa|sitecore-commerce|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20942" PostTypeId="2" ParentId="20941" CreationDate="2019-09-10T01:15:57.347" Score="6" Body="&lt;p&gt;SXA comes with a special package for the CD. If I recall correctly you simply unzip the package and dump out onto the server in the Sitecore web root.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These instructions are documented in the installation guide.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The master database is not used in the content delivery environment and often times that database is nowhere near it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, Sitecore PowerShell Extensions should not be configured on a content delivery server. I highly encourage your project team to consult with an architect familiar with how this should be configured as you could expose your website to malicious activity.&lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-09-10T01:15:57.347" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20943" PostTypeId="1" CreationDate="2019-09-10T05:26:35.230" Score="2" ViewCount="424" Body="&lt;p&gt;Is there a way to export all orders to an excel from BizFX interface or Postman?&#xA;I am using Sitecore commerce 9.0.2&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="4039" LastEditDate="2019-09-10T05:36:03.420" LastActivityDate="2019-09-10T07:24:08.440" Title="Export all orders to an excel/CSV" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20944" PostTypeId="1" CreationDate="2019-09-10T06:43:05.463" Score="1" ViewCount="209" Body="&lt;p&gt;We are switching from Speak UI to Sheer UI due to performance issue. We would like to know what are the screens which would change for an Author in Sitecore CMS&lt;/p&gt;&#xA;" OwnerUserId="3943" LastEditorUserId="70" LastEditDate="2019-09-10T13:20:39.763" LastActivityDate="2019-09-10T13:20:39.763" Title="What is the difference between Speak UI and Sheer UI?" Tags="|content-editor|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20945" PostTypeId="2" ParentId="20939" CreationDate="2019-09-10T07:23:41.423" Score="1" Body="&lt;p&gt;In Sitecore when you publish an item through the &lt;code&gt;Publish item&lt;/code&gt; dialog, you will find several options. You can choose between &lt;code&gt;Smart publish&lt;/code&gt; or &lt;code&gt;Republish&lt;/code&gt;, you can also choose whether to &lt;code&gt;Publish subitems&lt;/code&gt; or not and there is also an option of &lt;code&gt;Publish related items&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the name indicates &lt;code&gt;Publish subitems&lt;/code&gt; will publish all the subitems including all sub-level of the currently selected item for the publish.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As the name indicates &lt;code&gt;Publish related items&lt;/code&gt; will publish all the related items of the currently selected item for the publish, but with this statement, it is not clear what are the related items. actually if &quot;Publish related items&quot; checked then the &lt;code&gt;&amp;lt;getItemReferences&amp;gt;&lt;/code&gt; pipeline will be executed to get all the related items to add in &lt;code&gt;publishing queue&lt;/code&gt;. It includes - &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Clone references&lt;/strong&gt; using &lt;code&gt;AddItemCloneReferences&lt;/code&gt; processor - it includes all the clone items of the item which are publishing&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Media references&lt;/strong&gt; using &lt;code&gt;AddFileDropAreaMediaReferences&lt;/code&gt; and &lt;code&gt;AddItemLinkReferences&lt;/code&gt;(use for both media and content items) processor – it includes media items that are related to the published item.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Alias references&lt;/strong&gt; using &lt;code&gt;AddItemAliasReferences&lt;/code&gt; processor– items that are aliases of the selected item.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Linked Items&lt;/strong&gt; using &lt;code&gt;AddItemLinkReferences&lt;/code&gt; processor - Items are that has referce of published items&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The important thing here is that Sitecore use &lt;strong&gt;Link database&lt;/strong&gt; base for related publishing so if your link database is not rebuilt properly or not up to date then this feature will not work properly. Also, related items of related items will not be published.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case, I guess home Item reference of publishing item so when you check the &lt;code&gt;Publish related items&lt;/code&gt; checkbox it published with one of the publishing items. Please make check the reference if any or try to rebuild the &lt;code&gt;Link database&lt;/code&gt; if you don't find any reference. &lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-10T07:23:41.423" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20946" PostTypeId="2" ParentId="20943" CreationDate="2019-09-10T07:24:08.440" Score="2" Body="&lt;p&gt;No, it's not possible to export orders to an excel OOTB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only what you can do is run postman request:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;GET {{ServiceHost}}/{{ShopsApi}}/Orders&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;which will return all existing orders in Sitecore Commerce engine in JSON format.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-09-10T07:24:08.440" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="20947" PostTypeId="1" CreationDate="2019-09-10T07:35:48.830" Score="7" ViewCount="1300" Body="&lt;p&gt;Our client would like us to aim/achieve a particular &lt;code&gt;Google PageSpeed Insights&lt;/code&gt; score. In particular, a score equal to or above 80/100 (mobile score) would be ideal.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are building the site with &lt;code&gt;SXA&lt;/code&gt;, how do we get anywhere near that score?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developers.google.com/speed/pagespeed/insights/&quot; rel=&quot;noreferrer&quot;&gt;https://developers.google.com/speed/pagespeed/insights/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2019-09-10T07:35:48.830" Title="How do I improve my SXA sites Google PageSpeed Insights Score?" Tags="|sxa|performance-optimization|performance|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20948" PostTypeId="2" ParentId="20947" CreationDate="2019-09-10T07:35:48.830" Score="10" Body="&lt;p&gt;From numerous experiments, I have put together the following tips and tricks.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;Note that a good score under the desktop tab is considerably easier to achieve, the mobile score in our responsive sites is the real score we should benchmark against.&lt;/em&gt;  &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Backend Vs Front End&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Page speed can be divided into two distinct parts.  Backend server response and front end structure. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;To get close to that desired score you need to get both working well together. I found the following to have the biggest impact:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Backend:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore HTML Cache / Rendering Cache (tuned) &lt;/li&gt;&#xA;&lt;li&gt;Adequately sized servers. &lt;/li&gt;&#xA;&lt;li&gt;Image optimisation processor (Dianoga still seems widely used).&lt;/li&gt;&#xA;&lt;li&gt;Throw in a CDN for your media library for good measure. &lt;/li&gt;&#xA;&lt;li&gt;With SXA &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/enable-and-configure-the-asset-optimizer.html&quot; rel=&quot;noreferrer&quot;&gt;turning on the optimizer&lt;/a&gt; is a must for production and will improve the google analytics score (to a point) but the component-based nature of an SXA build will still likely result in many CSS and JS files. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Front End:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Responsive images&lt;/li&gt;&#xA;&lt;li&gt;Lazy loaded images&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://developers.google.com/speed/pagespeed/service/PrioritizeCriticalCss&quot; rel=&quot;noreferrer&quot;&gt;Critical CSS&lt;/a&gt; in combination with deferred stylesheets. (this comes with challenges, but can be achieved.)    &lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://developers.google.com/speed/pagespeed/service/DeferJavaScript&quot; rel=&quot;noreferrer&quot;&gt;Deferred Javascript&lt;/a&gt;  (this also comes with challenges, but can be achieved.)    &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h1&gt;Javascript deferral&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Large amounts of JS code, in particular, has a big impact on page speed score when it's not deferred. Javascript is parsed and compiled in the browser and this has a load time cost.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Deferring Javascript does require a good working knowledge of SXA and the javascript code in the components. To get maximum benefit I found that the javascript files had to be deferred for 5 - 10 seconds depending on the site. This was so that the Lighthouse audit does not consider them part of the main page load. During this time some interactions on the page are not available, as they only kick in when the javascript finishes loading. This is where a working knowledge of javascript comes in as you may need code in some vanilla javascript that provides a nice experience until the deferred load completes. For example: fading in a clickable drop downlink. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Ensuring Load Order&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.html5rocks.com/en/tutorials/speed/script-loading/&quot; rel=&quot;noreferrer&quot;&gt;This page contains a script&lt;/a&gt; that will allow you to defer javascript while still guaranteeing the execution order of the SXA javascript files inserted. Given that some of the OOTB SXA modules appear to be based on Jquery this is fairly important as the JQuery object needs to be available before other files load.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;SXA JS Bootup&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Furthermore, because the page load completed event may have already triggered before a deferred SXA Javascript file is loaded your code may need to have a bootup fallback.  I found the following pattern to work in both deferred and non-deferred scenarios.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;api.isRunning = false;&#xA;api.init = function () {&#xA;    api.bootup();&#xA;};&#xA;&#xA;/* Fallback bootup routine for deferred speedy load */&#xA;setTimeout(function () {&#xA;    if (!api.isRunning) {&#xA;        api.bootup();&#xA;    }&#xA;}, 1000);&#xA;&#xA;api.bootup = function () { &#xA;    api.isRunning = true;&#xA;    // Place your normal app.init code here.  Repeat the pattern in each of your components XA.component.Mycomponet namespace&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h1&gt;CSS Deferral&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Deferring your external CSS files and adding in an inline Critical CSS block also provides a great points boost. This can be automated using tools like &lt;a href=&quot;https://www.npmjs.com/package/critical&quot; rel=&quot;noreferrer&quot;&gt;Critical&lt;/a&gt;.  This tool is good but not perfect. Using this across an SXA site will likely require some tweaking and trial and error to get it right.  Once you have it working on one page it's a lot easier to roll out to others as many of the tweaks are the same. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;SXA Layout&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;To hook in Critical CSS, JS and CSS Deferral into your solution you can extend the default SXA Layout. The provider of CSS and JS asset files is &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Sitecore.XA.Foundation.Theming.Bundler.AssetLinksGenerator.cs&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can extend this class to gain access to each pages CSS and JS files, allowing you to structure the paths of the CSS and JS files into the structure required by the new layout and deferral code. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Lighthouse&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Also, note that Google PageSpeed Insights is based on Lighthouse that is available in the Audit tab within chrome. The page speed tool was switched over to Lighthouse in mid-2018. The score achieved in the live version of the tool also filters through to Google Analytics reporting. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Code Samples&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;I have put together a functional SXA helix module with the tools and tips mentioned above. It's &lt;a href=&quot;https://github.com/Aceik/Sitecore-Speedy&quot; rel=&quot;noreferrer&quot;&gt;available here&lt;/a&gt;. &#xA;Many of the techniques used could be ported over to a more traditional Sitecore Helix build if needed. &lt;/p&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2019-09-10T07:35:48.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20949" PostTypeId="2" ParentId="20853" CreationDate="2019-09-10T07:40:32.097" Score="4" Body="&lt;p&gt;I use these two PowerShell scripts to generate new certificates for Sitecore Commerce (if they was expired):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Generate SelfSignedCertificate for specific DnsName:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-SelfSignedCertificate -FriendlyName &quot;domain.dev.local&quot; `&#xA;-DnsName &quot;domain.dev.local&quot; -CertStoreLocation &quot;cert:\LocalMachine\My&quot; `&#xA;-NotAfter (Get-Date).AddYears(10)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Generate new PfxCertificate:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$CertificateStore = &quot;cert:\\Localmachine\\My&quot;&#xA;$CertificateDnsName = &quot;identity.server&quot;&#xA;$CertificateFriendlyName = &quot;Sitecore Identity Server&quot;&#xA;$CertificatePassword = &quot;sitecore&quot;&#xA;$pfxPath = &quot;c:\certificates\$CertificateDnsName.pfx&quot;&#xA;$certificate = New-SelfSignedCertificate `&#xA;-Subject $CertificateDnsName `&#xA;-DnsName $CertificateDnsName `&#xA;-KeyAlgorithm RSA `&#xA;-KeyLength 2048 `&#xA;-NotBefore (Get-Date) `&#xA;-NotAfter (Get-Date).AddYears(10) `&#xA;-CertStoreLocation $CertificateStore `&#xA;-FriendlyName $CertificateFriendlyName `&#xA;-HashAlgorithm SHA256 `&#xA;-KeyUsage DigitalSignature, KeyEncipherment, DataEncipherment `&#xA;-KeySpec Signature `&#xA;-TextExtension @(&quot;2.5.29.37={text}1.3.6.1.5.5.7.3.3&quot;)&#xA;$certificatePath = $CertificateStore + &quot;\&quot; + $certificate.Thumbprint&#xA;$pfxPassword = ConvertTo-SecureString -String $CertificatePassword -Force -AsPlainText&#xA;Export-PfxCertificate -Cert $certificatePath -FilePath $pfxPath -Password $pfxPassword&#xA;Import-PfxCertificate -FilePath $pfxPath -CertStoreLocation $CertificateStore -Password $pfxPassword -Exportable&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After that you need to replace manually thumbprints from old to new in all configs.&lt;/p&gt;&#xA;" OwnerUserId="2577" LastActivityDate="2019-09-10T07:40:32.097" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20950" PostTypeId="1" CreationDate="2019-09-10T08:17:27.137" Score="2" ViewCount="518" Body="&lt;p&gt;We have azure appservice for CD witch can be access through private url and public url. Private url is accessible just from internal network, and public url should be used by customer users.&#xA;Customer user tries to reach dashboard page on public url, needs login first, so gets login page. But after login user is redirected to dashboard with private url and get 404 error. After putting public url for dashboard they are authorized to user website.&#xA;From my understanding after login on public url user should be redirected to public dashboard.&#xA;In hostname I have provided two hosts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I think issue for this is that in externallogincallback in response headers &quot;Location&quot; is set to private url&#xA;&lt;a href=&quot;https://i.stack.imgur.com/biRsW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/biRsW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;We are using SXA 1.9, Sitecore 9.1.1 and also login external provider for Saml login with Azure Active Directory.&#xA;What have I missed? &#xA;Any idea what can be wrong?&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;We have found a solution is to this issue.&#xA;Description and solution you can find here:&#xA;&lt;a href=&quot;https://docs.microsoft.com/azure/application-gateway/troubleshoot-app-service-redirection-app-service-url&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/azure/application-gateway/troubleshoot-app-service-redirection-app-service-url&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5769" LastEditorUserId="70" LastEditDate="2019-10-10T15:03:54.390" LastActivityDate="2019-10-10T15:03:54.390" Title="User externallogin redirect to public host after login" Tags="|identity-server|content-delivery|login|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20951" PostTypeId="1" CreationDate="2019-09-10T09:57:52.917" Score="5" ViewCount="1552" Body="&lt;p&gt;I created a rendering for my form and linked the datasource location to sitecore/forms (which should be correct). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The mysterious thing about this is that when I select my rendering in the experience editor, the only option i get to select is the page components which shouldn't be showing up at all since the datasource location is set to sitecore/forms.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to reset both server and browser, cleared cachefiles and so on, still not working.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Following is what I insert in Datasource Location,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8aztQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8aztQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And this is what I see when I select the rendering in the experience editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jdnqH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jdnqH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyone got a clue about what might be wrong here?&lt;/p&gt;&#xA;" OwnerUserId="6011" LastEditorUserId="6011" LastEditDate="2019-09-10T14:36:12.347" LastActivityDate="2020-09-21T07:00:05.793" Title="Datasource Location not working as expected" Tags="|experience-editor|jss|datasource|" AnswerCount="4" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20952" PostTypeId="2" ParentId="20923" CreationDate="2019-09-10T10:03:43.833" Score="2" Body="&lt;p&gt;As others have mentioned Sitecore stores the Id of the Media item in the field value so you should be able to move it without having any impact.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;One of the best and easiest ways to do this is to use SPE.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've written about bulk moving items here before:&#xA;&lt;a href=&quot;https://www.flux-digital.com/blog/bulk-move-items-sitecore-powershell-extensions&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.flux-digital.com/blog/bulk-move-items-sitecore-powershell-extensions&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've written an example script which will go through your images and move them to an sub-folder using year-month format (e.g &quot;2019-09&quot;):&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#Moves Images to sub-folders with year-month format (e.g &quot;2019-09&quot;) to organise them better and improve performance&#xA;&#xA;    $imageRootPath = &quot;master:/sitecore/media library/My Site/Images/&quot;&#xA;    $images = Get-ChildItem -Path $imageRootPath&#xA;    foreach ($image in $images) {&#xA;        #get year-month folder format and create folder path&#xA;        $monthFolderName = [datetime]$image.Created&#xA;        $subFolderPath = &quot;$($imageRootPath)/$($monthFolderName.ToString('yyyy-MM'))&quot;&#xA;        #if a year-month folder already exists then move the image to this folder&#xA;        if (Test-Path $subFolderPath) {&#xA;            Write-Host &quot;Sub-folder Exists, moving image to: $($subFolderPath)&quot;;&#xA;            Move-Item -Path $image.ItemPath -Destination $subFolderPath;&#xA;        }&#xA;        #if a year-month folder doesn't exists then create it and move the image to this folder&#xA;        else {&#xA;            Write-Host &quot;Sub-folder Doesn't exist, creating sub-folder: $($subFolderPath)&quot;;&#xA;            New-Item -Path $subFolderPath -Name &quot;&quot; -ItemType &quot;/sitecore/templates/System/Media/Media folder&quot;&#xA;            Write-Host &quot;Moving image to: $($subFolderPath)&quot;;&#xA;            Move-Item -Path $image.ItemPath -Destination $subFolderPath;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you've run this the structure will look something like so:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/VjMN0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/VjMN0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You could always update this script to use a different format such as a-z or year only etc depending on what you would prefer.&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-09-10T10:03:43.833" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20954" PostTypeId="2" ParentId="20486" CreationDate="2019-09-10T11:17:19.547" Score="1" Body="&lt;p&gt;To map email to known contact you should assign existing &lt;em&gt;identifier source&lt;/em&gt; that is used for email identifier in your solution. &#xA;&lt;a href=&quot;https://i.stack.imgur.com/ErgEr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ErgEr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can find more information here: &lt;a href=&quot;https://doc.sitecore.com/users/92/sitecore-experience-platform/en/add-a-contact-to-a-list.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/92/sitecore-experience-platform/en/add-a-contact-to-a-list.html&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For querying all contacts lists from xDb you can also use query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT ContactId, ListId, SourceId, IsActive, Added&#xA;  FROM [sitecore_Xdb.Collection.Shard0].[xdb_collection].[ContactFacets]&#xA;&#xA;  CROSS  APPLY OPENJSON (FacetData, N'$.Subscriptions')&#xA;   with (&#xA;       ListId nvarchar(max) N'$.ListDefinitionId',&#xA;        SourceId nvarchar(max) N'$.SourceDefinitionId',&#xA;        IsActive bit N'$.IsActive',&#xA;        Added  nvarchar(max) N'$.Added'&#xA;    )&#xA;    where FacetKey = 'ListSubscriptions'&#xA;&#xA;UNION  &#xA;&#xA;SELECT ContactId, ListId, SourceId, IsActive, Added&#xA;  FROM [sitecore_Xdb.Collection.Shard1].[xdb_collection].[ContactFacets]&#xA;&#xA;  CROSS  APPLY OPENJSON (FacetData, N'$.Subscriptions')&#xA;   with (&#xA;       ListId nvarchar(max) N'$.ListDefinitionId',&#xA;        SourceId nvarchar(max) N'$.SourceDefinitionId',&#xA;        IsActive bit N'$.IsActive',&#xA;        Added  nvarchar(max) N'$.Added'&#xA;    )&#xA;    where FacetKey = 'ListSubscriptions'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DaTMy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DaTMy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-09-10T11:17:19.547" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20956" PostTypeId="2" ParentId="20941" CreationDate="2019-09-10T12:38:57.307" Score="2" Body="&lt;p&gt;&lt;a href=&quot;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation&lt;/a&gt; also describes that you should copy the &amp;quot;master&amp;quot; database section from the &lt;code&gt;App_Config/Sitecore.config&lt;/code&gt; on the CM to the &lt;code&gt;App_Config/Sitecore.config&lt;/code&gt; on the CD. That section is clearly missing on the CD, as you're getting the &lt;code&gt;Could not find configuration node: databases/database[@id='master']&lt;/code&gt; error message.&lt;/p&gt;&#xA;" OwnerUserId="2234" LastEditorUserId="4817" LastEditDate="2022-09-28T04:25:08.063" LastActivityDate="2022-09-28T04:25:08.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20957" PostTypeId="2" ParentId="20940" CreationDate="2019-09-10T12:56:04.440" Score="1" Body="&lt;p&gt;In the &lt;code&gt;Leprechaun.config&lt;/code&gt; file, there's an element called &lt;code&gt;&amp;lt;templatePredicate ...&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;by default, it's using Helix conventions:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;templatePredicate type=&quot;Leprechaun.Filters.StandardTemplatePredicate, Leprechaun&quot; rootNamespace=&quot;$(layer).$(module)&quot; singleInstance=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;include name=&quot;Templates&quot; path=&quot;/sitecore/templates/$(layer)/$(module)&quot; /&amp;gt;&#xA;&amp;lt;/templatePredicate&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since you aren't using a Helix architecture, let's pretend you have a folder in &lt;code&gt;/sitecore/templates&lt;/code&gt; named &quot;MyProject&quot; where you store all your templates&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you'd want to change the &lt;code&gt;path&lt;/code&gt; the include to be:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;include name=&quot;Templates&quot; path=&quot;/sitecore/templates/MyProject&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4" LastActivityDate="2019-09-10T12:56:04.440" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20958" PostTypeId="1" AcceptedAnswerId="22036" CreationDate="2019-09-10T13:25:59.333" Score="1" ViewCount="220" Body="&lt;p&gt;I'm using the Stats.aspx (&lt;a href=&quot;http://hostname/sitecore/admin/stats.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://hostname/sitecore/admin/stats.aspx&lt;/a&gt;) admin page to identify the slowest components in my solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some components, I see two entries e.g.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;+--------------------------------------------------------------------------------------------------------------+----------------+------------+-----------+------------+------------------+-------------+&#xA;|                                                  Rendering                                                   | Avg. time (ms) | Avg. items | Max. time | Max. items |    Total time    | Total items |&#xA;+--------------------------------------------------------------------------------------------------------------+----------------+------------+-----------+------------+------------------+-------------+&#xA;| Gallery (/sitecore/layout/Renderings/Feature/MySolution/Media/Gallery)                                       |       306.3429 |        159 |  915.2689 |        469 | 00:00:00.9190289 |         479 |&#xA;| Controller: MySolution.Feature.Media.Controllers.GalleryController,MySolution.Feature.Media. Action: Gallery |       305.3223 |       9386 |  913.6628 |      28061 | 00:00:00.9159670 |       28158 |&#xA;+--------------------------------------------------------------------------------------------------------------+----------------+------------+-----------+------------+------------------+-------------+&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The first is the path to the Rendering definition item, whereas the second is the assembly namespace/class of the controller for that same component. Why does the stats page represent the same thing twice and which one represents the true values?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-09-13T10:16:07.747" Title="Why do some renderings appear twice in Stats.aspx admin page" Tags="|admin-pages|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20959" PostTypeId="1" CreationDate="2019-09-10T14:27:26.770" Score="1" ViewCount="105" Body="&lt;p&gt;I want to use only FieldLanguageFallback and NOT ItemLanguageFallback.&lt;/p&gt;&#xA;&lt;p&gt;I have a multisite configuration running with&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;enableFieldLanguageFallback=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;and with&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;enableItemLanguageFallback=false&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;on my site configs, I've set these settings and&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;enforceVersionPresence=&amp;quot;true&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;now I've created my site in German and I've taken a look into my English site where only some content is present in English and here the whole content is shown (mostly in German) also from content items that have NO Version in the English Language.&lt;/p&gt;&#xA;&lt;p&gt;I thought, that Content would not show up when I have no version from a specific content item in this language and the item-level fallback would only be active when I have an Item version in this language?&lt;/p&gt;&#xA;&lt;p&gt;So I have a lot content items like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/uQnnB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/uQnnB.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;but the related content is shown on the page in german.&lt;/p&gt;&#xA;&lt;p&gt;The Settings for Language Fallback I've made on my site are right so far I can see but strange ist the following:&lt;/p&gt;&#xA;&lt;p&gt;As you can see I've Version 1 but Versions Count = 0 how can this be?&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JHjEh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JHjEh.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Where can I see where the Version is resolved I get back here?&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="4050" LastEditDate="2021-10-07T16:47:14.337" LastActivityDate="2021-10-07T16:47:14.337" Title="Disabling ItemLanguageFallback not working" Tags="|language-fallback|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20960" PostTypeId="2" ParentId="20951" CreationDate="2019-09-10T14:34:04.827" Score="0" Body="&lt;p&gt;Even though i couldn't find an answer why datasource location didnt work in the content editor, i found a way to set datasource location in the experience editor. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to make this work I had to leave the datasource location input field in the content editor empty. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then select my rendering in the experience editor with the checkbox &quot;Open the Properties dialog box immediately&quot; checked. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This allowed me to set the datasource location along with some other things in a window called &quot;Experience Editor Options&quot; and the form now worked as intended.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/WQyoN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/WQyoN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Even though I managed to fix this issue of mine. I still considering reinstalling Sitecore in the hopes of making it able to set the datasource location via det content editor since thats how it's suppose to work. &lt;/p&gt;&#xA;" OwnerUserId="6011" LastActivityDate="2019-09-10T14:34:04.827" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="20961" PostTypeId="1" AcceptedAnswerId="20968" CreationDate="2019-09-10T14:56:43.497" Score="2" ViewCount="1344" Body="&lt;p&gt;We have a Sitecore.NET 8.1 (rev. 160519) installation running IIS (version 8.5.9600.16384)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our instance runs roughly 600 websites and we often have clients that switch their domain name after already being indexed (usually 1600+ pages) under the old one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our problem is that registrars such as GoDaddy do not offer HTTPS -&gt; HTTPS redirects, only HTTP -&gt; HTTPS.  We are forcing https on all domains so they are all indexed under HTTPS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have a redirect module (&lt;a href=&quot;https://github.com/thecadams/301RedirectModule/blob/master/documentation/301%20Redirect%20Module.pdf&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/thecadams/301RedirectModule/blob/master/documentation/301%20Redirect%20Module.pdf&lt;/a&gt;) in Sitecore, but it doesn't allow &lt;a href=&quot;https://domainA.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://domainA.com&lt;/a&gt; -&gt; &lt;a href=&quot;https://domainB.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://domainB.com&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Setting it up in IIS results in HTTP -&gt; HTTPS working, but not HTTPS -&gt; HTTPS.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any easy way to implement this type of redirect either from Sitecore or IIS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;" OwnerUserId="3863" LastEditorUserId="3863" LastEditDate="2019-09-10T15:10:03.107" LastActivityDate="2019-09-10T21:49:07.047" Title="HTTPS to HTTPS 301 redirect for whole domain?" Tags="|iis|redirect|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="20962" PostTypeId="2" ParentId="20959" CreationDate="2019-09-10T15:26:04.430" Score="4" Body="&lt;p&gt;First of all. Items don't have versions, only field values do.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So enabling field level fallback does exactly what you would expect. Item level fallback is a virtual construct.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, what you're doing breaks with Sitecore's recommendation that state:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You should not use both item- and field-level fallback on the same item because it makes it difficult to maintain an overview of the versions that different items and fields fall back to.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Which is more or less &lt;em&gt;exactly&lt;/em&gt; describing your current situation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That said; the answer to your question - if you enable field level fallback, you will get fallback values for your field values; regardless of the item level fallback setting. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/enable-and-set-up-language-fallback.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Enable and set up language fallback&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-09-10T20:59:10.057" LastActivityDate="2019-09-10T20:59:10.057" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="20963" PostTypeId="2" ParentId="20961" CreationDate="2019-09-10T15:59:18.713" Score="3" Body="&lt;p&gt;This IIS Rule should work for both HTTP and HTTPS&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;system.webServer&amp;gt;&#xA;        &amp;lt;rewrite&amp;gt;&#xA;            &amp;lt;rules&amp;gt;&#xA;                &amp;lt;rule name=&quot;SiteA to SiteB&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;                     &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;                     &amp;lt;conditions&amp;gt;&#xA;                            &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;^(www.)?sitea\.com$&quot; /&amp;gt;&#xA;                     &amp;lt;/conditions&amp;gt;&#xA;                     &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://www.siteb.com/{R:1}&quot; redirectType=&quot;Permanent&quot; /&amp;gt;&#xA;                &amp;lt;/rule&amp;gt;                &#xA;            &amp;lt;/rules&amp;gt;&#xA;      &amp;lt;/rewrite&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-09-10T15:59:18.713" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20964" PostTypeId="2" ParentId="20863" CreationDate="2019-09-10T15:59:53.803" Score="1" Body="&lt;p&gt;Based on the latest information it looks like the issue may be related to a bug that was fixed in Sitecore 9.2 (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/92/Sitecore%20Experience%20Platform%2092%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;​​In Azure Search, the &lt;code&gt;SwitchOnRebuildEventRemote&lt;/code&gt; event is shared through the &lt;em&gt;EventQueue&lt;/em&gt; of the &lt;em&gt;Web&lt;/em&gt; database instead of the system &lt;em&gt;EventQueue&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To determine if this affects you, answer the two questions below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is the web database shared by CM and CD instance?&lt;/li&gt;&#xA;&lt;li&gt;Does the issue affect the CD instance only?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If the answers are &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;No&lt;/strong&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;there is a patch you can request from Sitecore Support to resolve the issue: &lt;strong&gt;290638&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this is a &lt;a href=&quot;https://kb.sitecore.net/articles/077333&quot; rel=&quot;nofollow noreferrer&quot;&gt;patch not a hotfix&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-09-10T16:05:23.673" LastActivityDate="2019-09-10T16:05:23.673" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20965" PostTypeId="2" ParentId="20656" CreationDate="2019-09-10T16:03:30.730" Score="0" Body="&lt;p&gt;If this issue only occurs after rebuilding the CD index with &lt;strong&gt;Switch On Rebuild&lt;/strong&gt; enabled, the issue may be related to a bug that was fixed in Sitecore 9.2 (&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/92/Sitecore%20Experience%20Platform%2092%20Initial%20Release/Release%20Notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;release notes&lt;/a&gt;):&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;​​In Azure Search, the &lt;code&gt;SwitchOnRebuildEventRemote&lt;/code&gt; event is shared through the &lt;em&gt;EventQueue&lt;/em&gt; of the &lt;em&gt;Web&lt;/em&gt; database instead of the system &lt;em&gt;EventQueue&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;To determine if this affects you, answer the two questions below:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Is the web database shared by CM and CD instance?&lt;/li&gt;&#xA;&lt;li&gt;Does the issue affect the CD instance only?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;If the answers are &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;No&lt;/strong&gt; &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;there is a patch you can request from Sitecore Support to resolve the issue: &lt;strong&gt;290638&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this is a &lt;a href=&quot;https://kb.sitecore.net/articles/077333&quot; rel=&quot;nofollow noreferrer&quot;&gt;patch not a hotfix&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-09-10T16:03:30.730" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20966" PostTypeId="2" ParentId="18561" CreationDate="2019-09-10T18:48:10.623" Score="1" Body="&lt;p&gt;Sitecore SXA versions up to 1.8 is not compatible with Sitecore JSS 11.0. And, with the release of SXA 1.9 and JSS 12, those 2 are now compatible. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, the above issue is still present. I have opened a Sitecore Support ticket and they acknowledge that this is a bug and already recorded them into their Bug Tracking System.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore Patch&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore provided me a patch with public reference &lt;code&gt;322824&lt;/code&gt; and contained 2 files&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Support.Diagnostic.539647.config&#xA;&#xA;Sitecore.Support.Diagnostic.539647.dll&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The config file should be placed in the &lt;code&gt;App_Config/Include/zzz&lt;/code&gt; folder so that it is loaded in the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can have more information on my blog here: &lt;a href=&quot;https://hishaamn.wordpress.com/2019/09/10/sitecore-sxa-jss-cache-error-fix/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore SXA JSS Cache fix&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore no longer provides patches for Sitecore 9.1 and later according to &lt;a href=&quot;https://kb.sitecore.net/articles/077333&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Versioning Policy&lt;/a&gt;. But you'll still need to have a Sitecore Support ticket for them to provide you the patch. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The patch will/should be removed when a newer version of SXA is released.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-09-10T19:26:51.720" LastActivityDate="2019-09-10T19:26:51.720" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20967" PostTypeId="2" ParentId="1615" CreationDate="2019-09-10T19:53:10.257" Score="1" Body="&lt;p&gt;starting Sitecore 9.0 there is a feature named deepscan publishing, which by default is enabled and publishes the the related items of related items of related items (yes repeatedly gets the references of each of the reference). &#xA;Checkout the getItemReferences pipeline &gt; AddItemLinkReferences processor, you see an option Deepscan and its usage to get the ferences when true.&#xA;Beware of the publishing times with Deepscan enabled.&lt;/p&gt;&#xA;" OwnerUserId="2214" LastActivityDate="2019-09-10T19:53:10.257" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="20968" PostTypeId="2" ParentId="20961" CreationDate="2019-09-10T21:49:07.047" Score="2" Body="&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;configuration&amp;gt;&#xA;    &amp;lt;system.webServer&amp;gt;&#xA;        &amp;lt;rewrite&amp;gt;&#xA;            &amp;lt;rules&amp;gt;&#xA;                &amp;lt;rule name=&quot;newmexicomastersswimming&quot;&amp;gt;&#xA;                    &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;                    &amp;lt;conditions&amp;gt;&#xA;                        &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;^www\.domain1\.org$&quot; /&amp;gt;&#xA;                    &amp;lt;/conditions&amp;gt;&#xA;                    &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://domain1.org/{R:1}&quot; /&amp;gt;&#xA;                &amp;lt;/rule&amp;gt;&#xA;                &amp;lt;rule name=&quot;HTTP to HTTPS redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;                    &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;                    &amp;lt;conditions&amp;gt;&#xA;                        &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot; /&amp;gt;&#xA;                        &amp;lt;add input=&quot;{REQUEST_URI}&quot; pattern=&quot;/sitecore/api/.*&quot; negate=&quot;true&quot; /&amp;gt;&#xA;                        &amp;lt;add input=&quot;{REQUEST_URI}&quot; pattern=&quot;/ahp.aspx&quot; negate=&quot;true&quot; /&amp;gt;&#xA;                    &amp;lt;/conditions&amp;gt;&#xA;                    &amp;lt;action type=&quot;Redirect&quot; redirectType=&quot;Found&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; /&amp;gt;&#xA;                &amp;lt;/rule&amp;gt;&#xA;            &amp;lt;/rules&amp;gt;&#xA;        &amp;lt;/rewrite&amp;gt;&#xA;    &amp;lt;/system.webServer&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Lets break it down&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;Single URL&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This rule will redirect a single domain from anything &lt;code&gt;www.domain1.org&lt;/code&gt; to &lt;a href=&quot;https://domain1.org&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://domain1.org&lt;/a&gt;. And the nice part of this is that it does not require a www.domain.org SSL cert. Just domain.org SSL cert is needed. You can add as many of these rules as you want.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;domain1&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;^www\.domain1\.org$&quot; /&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://domain1.org/{R:1}&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;Catch all&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;This rile is the catch all rule that will take ANY HTTP request and flip it to HTTPS. I have also included some exclusions &lt;code&gt;/sitecore/api/.*&lt;/code&gt; and &lt;code&gt;/ahp.aspx&lt;/code&gt; in case you have a requirement to not force a URL to redirect. An issue I had with FXM and CORS.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;HTTP to HTTPS redirect&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;(.*)&quot; /&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot; /&amp;gt;&#xA;        &amp;lt;add input=&quot;{REQUEST_URI}&quot; pattern=&quot;/sitecore/api/.*&quot; negate=&quot;true&quot; /&amp;gt;&#xA;        &amp;lt;add input=&quot;{REQUEST_URI}&quot; pattern=&quot;/ahp.aspx&quot; negate=&quot;true&quot; /&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; redirectType=&quot;Found&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; /&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-09-10T21:49:07.047" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="20969" PostTypeId="1" CreationDate="2019-09-11T00:29:18.317" Score="0" ViewCount="50" Body="&lt;p&gt;Suddenly the Final layout was missing and it did not even fallback to the shared layout also. No body from our side did not change the layouts intentionally. How this could have happened?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any guesses?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note :-This happened in Master DB.&lt;/p&gt;&#xA;" OwnerUserId="3621" LastEditorUserId="70" LastEditDate="2019-09-11T12:34:26.310" LastActivityDate="2019-09-11T12:34:26.310" Title="How did I clear the final layout accidentally" Tags="|presentation|sublayout|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="21971" PostTypeId="1" AcceptedAnswerId="21973" CreationDate="2019-09-11T10:51:10.837" Score="0" ViewCount="2226" Body="&lt;p&gt;I have just started my journey as a Sitecore developer. I wanted to exclude a specific page item from Google indexing/crawling. How can we go about this functionality? &lt;/p&gt;&#xA;" OwnerUserId="6016" LastEditorUserId="73" LastEditDate="2019-09-11T12:39:42.533" LastActivityDate="2019-09-11T12:45:06.953" Title="How to exclude a specific page item from search engine crawlers?" Tags="|seo|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21972" PostTypeId="2" ParentId="10627" CreationDate="2019-09-11T11:15:33.600" Score="5" Body="&lt;p&gt;I personally prefer looking at doing performance improvements holistically on the entire Content Management instance. As there are most likely multiple content authors using the CMS all at the same time, it is important to ensure that everything is as optimised as it can be.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Reset editor profiles every time they login &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/optimize-performance-on-login-to-the-sitecore-asp-net-cms&quot; rel=&quot;noreferrer&quot;&gt;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/optimize-performance-on-login-to-the-sitecore-asp-net-cms&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Do not show standard fields by default.&lt;/li&gt;&#xA;&lt;li&gt;Hide hidden / bucket items by default in content editor&lt;/li&gt;&#xA;&lt;li&gt;No background wallpaper&lt;/li&gt;&#xA;&lt;li&gt;Put a cdn in front of content authoring to cache all JS / CSS, and images &quot;Akamai CDN with Sitecore Content Management Instance&quot; by Vincent Lui &lt;a href=&quot;https://link.medium.com/7LPpnzSFNZ&quot; rel=&quot;noreferrer&quot;&gt;https://link.medium.com/7LPpnzSFNZ&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Disable validations and only enable them during workflow and publish&lt;/li&gt;&#xA;&lt;li&gt;Take a look at your waterfall, see which toolbar / ribbon is taking the longest to load, disable that function if not necessary&lt;/li&gt;&#xA;&lt;li&gt;May want to consider using publishing service 4.1 if your sitecore version supports it&lt;/li&gt;&#xA;&lt;li&gt;Throw more hardware on it, if possible, scale out after implementing 7 and 8&lt;/li&gt;&#xA;&lt;li&gt;Upgrade to 9.2 and use a dedicated indexing role&lt;/li&gt;&#xA;&lt;li&gt;Ensure your code is fully optimised&lt;/li&gt;&#xA;&lt;li&gt;Implement caching even in experience editor on objects if not already done&lt;/li&gt;&#xA;&lt;li&gt;Run profiler against your code and see if there are any code smells&lt;/li&gt;&#xA;&lt;li&gt;How efficient are your search queries ?&lt;/li&gt;&#xA;&lt;li&gt;Disable content testing if its not used&lt;/li&gt;&#xA;&lt;li&gt;Ensure content authors do not use incognito / private browser mode. For some unknown reason, they all think running web apps on incognito mode fixes everything&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;My Colleague found the following setting, which should be set to false.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!-- Prevent Sitecore loading extra level of items when expanding tree in Content Editor --&amp;gt;&#xA;  &amp;lt;setting name=&quot;ContentEditor.RenderCollapsedSections&quot; value=&quot;false&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2019-09-11T11:15:33.600" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21973" PostTypeId="2" ParentId="21971" CreationDate="2019-09-11T11:19:04.493" Score="2" Body="&lt;p&gt;You can add a field in your Sitecore item template such as add a checkbox field for &quot;Do not Allow Search Engine to Index Page&quot;, based on this field value you can render a meta tag in your HTML page head section:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;META NAME=&quot;robots&quot; CONTENT=&quot;noindex&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;you can find more information here&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://blog.hubspot.com/marketing/how-to-unindex-pages-from-search-engines&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://blog.hubspot.com/marketing/how-to-unindex-pages-from-search-engines&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5111" LastEditorUserId="124" LastEditDate="2019-09-11T12:45:06.953" LastActivityDate="2019-09-11T12:45:06.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21974" PostTypeId="2" ParentId="21971" CreationDate="2019-09-11T11:19:58.953" Score="2" Body="&lt;ul&gt;&#xA;&lt;li&gt;You can manually create &lt;strong&gt;robots.txt&lt;/strong&gt; file and list pages that you want to exclude for search clawlers:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;User-agent: *&#xA;Disallow: /page1&#xA;Disallow: /page2&#xA;...etc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;You can use official &lt;strong&gt;Sitecore SXA module&lt;/strong&gt; where you can setup sitemap and many other features: &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/configure-a-sitemap.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/configure-a-sitemap.html&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can find sitemap module that is compatible with your sitecore version in sitecore &lt;strong&gt;Market place&lt;/strong&gt;: &lt;a href=&quot;https://marketplace.sitecore.net/SearchResults#qr=sitemap&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/SearchResults#qr=sitemap&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3134" LastActivityDate="2019-09-11T11:19:58.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21975" PostTypeId="1" CreationDate="2019-09-11T12:03:51.280" Score="3" ViewCount="1028" Body="&lt;p&gt;When using Postman to connect and authenticate to the actual RESTful API service through Postman, I keep getting the same problem:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;{&#xA;&quot;Message&quot;: &quot;An error has occurred.&quot;,&#xA;&quot;ExceptionMessage&quot;: &quot;Object reference not set to an instance of an object.&quot;,&#xA;&quot;ExceptionType&quot;: &quot;System.NullReferenceException&quot;,&#xA;&quot;StackTrace&quot;: &quot; &#xA;    at Sitecore.Services.Infrastructure.Sitecore.Controllers.AuthenticationServiceApiController.Login(UserCredentials credentials)&#xA;    at lambda_method(Closure , Object , Object[] )&#xA;    at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.c__DisplayClass6_1.b__3(Object instance, Object[] methodParameters)&#xA;    at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)&#xA;    --- End of stack trace from previous location where exception was thrown --&#xA;.......&gt;&#xA;}&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With these details:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;POST /sitecore/api/ssc/auth/login HTTP/1.1&#xA;Host: MY-HOST-ENVIRONMENT&#xA;Content-Type: application/json&#xA;User-Agent: PostmanRuntime/7.16.3&#xA;Accept: */*&#xA;Cache-Control: no-cache&#xA;Postman-Token: 1b4ffd83-f627-4955-852b-971d67c5fa72,fd32dcbe-c494-4c06-8db1-b7119005424d&#xA;Accept-Encoding: gzip, deflate&#xA;Content-Length: 87&#xA;Connection: keep-alive&#xA;cache-control: no-cache&#xA;&#xA;{&#xA;“domain”:”sitecore”,&#xA;“username”:”admin”,&#xA;“password”:”b”&#xA;}&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I haven't made any specific changes in the &lt;code&gt;Sitecore.Services.Client.config&lt;/code&gt; file of my instance and have tried the same on both a local and remote SC9.1 as well as an 8.2 version but in all instances I got the same problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also, when changing the setting for:&#xA;&lt;code&gt;&amp;lt;setting name=&quot;Sitecore.Services.AllowAnonymousUser&quot; value=&quot;false&quot; /&amp;gt;&lt;/code&gt;&#xA;then I am able to execute the actual retrieval of an item's details with calls such as: &lt;code&gt;/sitecore/API/ssc/item/{10083CA0-5093-4D67-99DB-2579ABB421D3}&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used these information sources:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/sitecore-services-client.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-management/en/sitecore-services-client.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://therelentlessfrontend.com/2018/02/11/sitecore-postman-a-quick-starter-guide/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://therelentlessfrontend.com/2018/02/11/sitecore-postman-a-quick-starter-guide/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Additional question is on the information I found online concerning token based authorization, still somewhat unclear as to where this fits in to the entire story.&lt;/p&gt;&#xA;" OwnerUserId="627" LastEditorUserId="73" LastEditDate="2019-09-11T12:39:05.270" LastActivityDate="2019-09-12T09:54:58.900" Title="Authenticating via RESTful API service" Tags="|sitecore-services-client|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21976" PostTypeId="2" ParentId="21971" CreationDate="2019-09-11T12:43:33.403" Score="2" Body="&lt;p&gt;Additional, If you only want to prevent &lt;em&gt;Google web crawlers&lt;/em&gt; from indexing a page, then you need to add below tag on your page, in the same way as Vipin define in his answer - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;meta name=&quot;googlebot&quot; content=&quot;noindex&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Instead of a meta tag, you can also return an X-Robots-Tag header with a value of either &lt;code&gt;noindex&lt;/code&gt; or none in your response. below is an example of an HTTP response with an X-Robots-Tag instructing crawlers not to index a page:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HTTP/1.1 200 OK&#xA;(…)&#xA;X-Robots-Tag: noindex&#xA;(…)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;reference - &lt;a href=&quot;https://developers.google.com/search/reference/robots_meta_tag&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developers.google.com/search/reference/robots_meta_tag&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-11T12:43:33.403" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21977" PostTypeId="1" CreationDate="2019-09-11T13:13:37.113" Score="1" ViewCount="399" Body="&lt;p&gt;I have an image field associated to my custom user profile template, but I am having trouble accessing the value of it programmatically.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried the following...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Context.User.Profile.GetCustomProperty(&quot;Profile Image&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;However, it only returns the raw value: &lt;code&gt;&amp;lt;image mediaid=\&quot;{CCDD1D99-5649-41A1-A177-B3902C1830B2}\&quot; /&amp;gt;&lt;/code&gt; of the Media item in the Media Library and I am having trouble accessing it to retrieve the image src to render the image on my profile page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried looking around to see what is acceptable as next steps but have come up empty handed. Would anyone have any ideas how to retrieve the profile image src to render to my view?&lt;/p&gt;&#xA;" OwnerUserId="5104" LastEditorUserId="73" LastEditDate="2019-09-11T13:21:00.677" LastActivityDate="2019-09-29T09:09:11.053" Title="Programmatically getting Profile Image field from custom profile" Tags="|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21978" PostTypeId="2" ParentId="21975" CreationDate="2019-09-11T13:20:58.177" Score="3" Body="&lt;p&gt;Try to add credentials to the request body:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jvQZ1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jvQZ1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; You may switch to the Bulk Edit mode (on the right) and inject data as text:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;domain:sitecore&#xA;userName:admin&#xA;password:b&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastEditorUserId="272" LastEditDate="2019-09-11T13:34:28.160" LastActivityDate="2019-09-11T13:34:28.160" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21979" PostTypeId="2" ParentId="21977" CreationDate="2019-09-11T13:29:32.620" Score="0" Body="&lt;p&gt;Unfortunately if you store the image on profile, you don't have an item instance or the image field. I'm afraid you will have to use some kind of parser for the xml. You can try to use the code like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ImageFieldParser&#xA;{&#xA;    private XmlDocument _xmlDocument;&#xA;&#xA;    public ImageFieldParser(string imageFieldValue)&#xA;    {&#xA;        if (!string.IsNullOrEmpty(imageFieldValue))&#xA;        {&#xA;            try&#xA;            {&#xA;                XmlDocument xmlDocument = new XmlDocument();&#xA;                xmlDocument.LoadXml(imageFieldValue);&#xA;                _xmlDocument = xmlDocument;&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                Log.Error($&quot;Attempted to load invalid xml: '{imageFieldValue}'&quot;, ex, this);&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    public string MediaItemUrl&#xA;    {&#xA;        get&#xA;        {&#xA;            if (_xmlDocument == null || string.IsNullOrEmpty(GetAttribute(&quot;mediaid&quot;)))&#xA;                return null;&#xA;&#xA;            if (!ID.TryParse(GetAttribute(&quot;mediaid&quot;), out ID id))&#xA;                return null;&#xA;&#xA;            var item = Database.GetDatabase(&quot;web&quot;).GetItem(id);&#xA;&#xA;            if (item == null)&#xA;                return null;&#xA;&#xA;            return MediaManager.GetMediaUrl(new MediaItem(item));&#xA;        }&#xA;    }&#xA;&#xA;    public string GetAttribute(string name)&#xA;    {&#xA;        return _xmlDocument?.DocumentElement?.Attributes[name].Value.ToLower();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and then use it with &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var imageUrl = new ImageFieldParser(RAW_VALUE).MediaItemUrl;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I haven't tested the code so I cannot guarantee it will work.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-09-11T13:29:32.620" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21981" PostTypeId="1" AcceptedAnswerId="21983" CreationDate="2019-09-11T13:56:13.570" Score="0" ViewCount="131" Body="&lt;p&gt;I need to know if a uploaded media item is versionable uploaded or not? But I can't find a property on the Imagefield or MediaItem itself where I can see if the media item was uploaded versionable.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; var imageField = (ImageField)item.Fields[imageFieldId];&#xA; imageField.MediaItem. ?&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3827" LastActivityDate="2019-09-11T14:38:52.357" Title="Where can I see in C# that a media item is versionable?" Tags="|media-library|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="21982" PostTypeId="2" ParentId="21977" CreationDate="2019-09-11T14:02:58.883" Score="4" Body="&lt;ul&gt;&#xA;&lt;li&gt;On backend you can do:&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var rawValue = Context.User.Profile.GetCustomProperty(&quot;Profile Image&quot;);&#xA;var itemId = Sitecore.Xml.XmlUtil.GetAttribute(&quot;mediaid&quot;, XmlUtil.LoadXml(rawValue));&#xA;var item = Context.Database.GetItem(itemId);&#xA;&#xA;var imageUrl = MediaManager.GetMediaUrl(new MediaItem(item));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;On frontend (if you are working in JSS or don`t have access to backend) you can parse mediaId from string and build image ulr in format &quot;/-/media/CCDD1D99564941A1A177B3902C1830B2.ashx&quot;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3134" LastEditorUserId="3134" LastEditDate="2019-09-29T09:09:11.053" LastActivityDate="2019-09-29T09:09:11.053" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21983" PostTypeId="2" ParentId="21981" CreationDate="2019-09-11T14:38:52.357" Score="3" Body="&lt;p&gt;Does not look like an elegant solution but this might work. There are Versioned and Unversioned template folders under &lt;code&gt;/sitecore/templates/System/Media&lt;/code&gt; path. You may try to look if your media item &lt;em&gt;template&lt;/em&gt; belongs to one of these folders, smth like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (imageField.MediaItem.Template.InnerItem.Paths.FullPath.StartsWith(&#xA;    &quot;/sitecore/templates/System/Media/Versioned&quot;))&#xA;{&#xA;    // versioned&#xA;}&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="272" LastActivityDate="2019-09-11T14:38:52.357" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="21984" PostTypeId="1" AcceptedAnswerId="21985" CreationDate="2019-09-11T15:26:59.767" Score="1" ViewCount="316" Body="&lt;p&gt;I'm trying to set up and test GeoIP personalization rules in a Sitecore 9 instance. However, when I go to personalize a page or component, the GeoIP section of the rules is missing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've compared this to a vanilla install, and the rules are definitely there. I did a side-by-side comparison, and the only rules sections that look different are GeoIP and Visit/Visitor (they're named/organized differently, despite being the same Sitecore 9 version).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This site was a new install, and wasn't an upgrade. Any idea why these GeoIP rules aren't there for use? Could this be a configuration issue? In the \App_Config\Sitecore\Marketing.Tracking\Sitecore.Analytics.Tracking.config file, I've set Analytics.PerformLookup to true.&lt;/p&gt;&#xA;" OwnerUserId="699" LastActivityDate="2019-09-11T15:40:28.543" Title="Missing personalization rules around GeoIP" Tags="|personalization|rules-engine|geo-location|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21985" PostTypeId="2" ParentId="21984" CreationDate="2019-09-11T15:40:28.543" Score="4" Body="&lt;p&gt;I just had this issue yesterday. The problem is that if you have tracking disabled on your CM instance, there is a visibility rule that prevents the whole section from showing up. This means that even if you have tracking enable on your CD instance, it won't show up on your CM instance. The visibility rule is configured at &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/GeoIP/Visibility/Default&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm not sure if it's the most supported way, but I just backed up that item, deleted it, cleared the cache, and the rules appeared again. If clearing the cache isn't enough, you may need to recycle the app pool as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I &lt;em&gt;normally&lt;/em&gt; don't advocate deleting an internal item. The alternative would be to modify &lt;code&gt;/sitecore/system/Settings/Rules/Definitions/Elements/Tracking/Tracking Enabled&lt;/code&gt; to use your own class and to use different logic for deciding if tracking is enabled, but you would still be modifying a Sitecore item. Or you could open a ticket with Sitecore to ask for a patch. Up to you.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2019-09-11T15:40:28.543" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="21986" PostTypeId="2" ParentId="17622" CreationDate="2019-09-11T15:56:50.193" Score="0" Body="&lt;p&gt;I had this same issue where multiple repeated attempts to log in were redirecting me back to the login page. I had a multi-site solution and was able to simply change domains to log in, but it didn't really solve the issue. Later I was able to solve the issue on my local developer instance using the following url&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://{SitecoreDomain}/sitecore/client/Applications/LicenseOptions/KickUser&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I went to that URL thinking I had too many active sessions and had to remove some of them, but as soon as I hit that URL, instead of asking me to login or showing me a list of active sessions to kill, it took me right into the Sitecore desktop.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Subsequent attempts to log in after hitting this URL were successful. I don't know why it resolved my issue, but it's worth a shot.&lt;/p&gt;&#xA;" OwnerUserId="3254" LastActivityDate="2019-09-11T15:56:50.193" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21987" PostTypeId="1" AcceptedAnswerId="21988" CreationDate="2019-09-11T16:12:30.723" Score="0" ViewCount="123" Body="&lt;p&gt;We are using Azure Search to find items by path. We apply the following search code:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;var filterPredicate = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;filterPredicate.And(x =&amp;gt; x.Path.StartsWith(rootItem.Paths.Path));&#xA;var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Filter(filterPredicate);&#xA;​SearchResults&amp;lt;SearchResultItem&amp;gt; results = query.GetResults();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;However, when we do this with a path that includes spaces, the query gets generated as the below query (taken from the logs):&lt;/p&gt;&#xA;&lt;pre class=&quot;lang-none prettyprint-override&quot;&gt;&lt;code&gt;10216 15:53:13 INFO  AzureSearch Query [sitecore_master_index]: &amp;amp;search=(fullpath_1:(/\/sitecore\/content\/Sites\/Site.*/ /1\/Services\/ServiceA.*/))&amp;amp;queryType=full&amp;amp;$skip=0&amp;amp;$top=3&amp;amp;$count=true&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Notice the extra &lt;code&gt;.*&lt;/code&gt; included after the &lt;code&gt;Site&lt;/code&gt; of &lt;code&gt;Site 1&lt;/code&gt;. This means that when the query gets executed, it returns all results whose path starts with &lt;code&gt;/sitecore/content/Sites/Site&lt;/code&gt; instead of only the results below the complete path.&lt;/p&gt;&#xA;&lt;p&gt;Does anyone know how to resolve this issue?&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Environment:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 9.0.2&lt;/li&gt;&#xA;&lt;li&gt;Azure PaaS&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="342" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-11T16:26:14.213" Title="Azure Search queries including too many results due to extra wildcard in fullpath_1 query with space" Tags="|azure|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21988" PostTypeId="2" ParentId="21987" CreationDate="2019-09-11T16:26:14.213" Score="2" Body="&lt;p&gt;Rather than use the string based full path, use the &lt;code&gt;IEnumerable&amp;lt;ID&amp;gt; Paths&lt;/code&gt; property:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var filterPredicate = PredicateBuilder.True&amp;lt;SearchResultItem&amp;gt;();&#xA;filterPredicate.And(x =&amp;gt; x.Paths.Contains(rootItem.ID));&#xA;var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Filter(filterPredicate);&#xA;​SearchResults&amp;lt;SearchResultItem&amp;gt; results = query.GetResults();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That should give you more accurate results than searching a string that is tokenized.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-09-11T16:26:14.213" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="21989" PostTypeId="2" ParentId="20396" CreationDate="2019-09-11T16:49:33.460" Score="3" Body="&lt;p&gt;I got this working using the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src={&quot;/habitathomejss/-/media/&quot;+props.params.Image.slice(props.params.Image.indexOf(&quot;{&quot;)+1,props.params.Image.indexOf(&quot;}&quot;)).replace(/-/g,&quot;&quot;)+&quot;.ashx?h=50&amp;amp;w=94&quot;}&amp;gt;&amp;lt;/img&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You need to make sure of the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The image is inside &lt;code&gt;/sitecore/media library/Project/TENANTNAME/SITENAME/data/media/img&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;If you're using virtual paths that the virtual path is added (in my example it was habitathomejss)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="6020" LastEditorUserId="408" LastEditDate="2019-09-14T11:05:11.733" LastActivityDate="2019-09-14T11:05:11.733" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="21990" PostTypeId="1" AcceptedAnswerId="22090" CreationDate="2019-09-11T17:54:08.243" Score="3" ViewCount="1187" Body="&lt;p&gt;I did implement a basic Sitecore password recovery functionality following &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/configure-the-password-policy.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Enable Sitecore Password Recovery functionality&lt;/a&gt;&#xA;Which works fine.&lt;br&gt;&lt;br&gt; However, if the Sitecore user is locked and the user clicks &quot;Forget your password?&quot; link on the Sitecore login page, the page throws an error. &lt;br&gt;&lt;br&gt;&#xA;How can we fix this issue?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UKXVi.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UKXVi.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2021-05-11T07:53:45.977" Title="Locked out Sitecore users cannot reset their password: Sitecore Password Recovery" Tags="|login|" AnswerCount="5" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="21991" PostTypeId="2" ParentId="21990" CreationDate="2019-09-11T18:21:58.480" Score="0" Body="&lt;p&gt;So if a user is locked out of Sitecore, they must ask the security administrator to unlock their security account.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;To unlock a user account, open the User Manager and click the relevant user. &lt;/li&gt;&#xA;&lt;li&gt;In the Locked column, an indicator shows if a user has been locked out of Sitecore.&lt;/li&gt;&#xA;&lt;li&gt;In the Users group, click Unlock.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If the user is Admin itself then there is also an admin page:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://yourhost/sitecore/admin/unlock_admin.aspx&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;By default, it's disabled so you need to edit the aspx file to set &lt;code&gt;enableUnlockButton&lt;/code&gt; to true.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or if you have database access you can run below script against &lt;code&gt;core&lt;/code&gt; database - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;UPDATE  aspnet_Membership &#xA;SET     IsLockedOut = 0, &#xA;        FailedPasswordAttemptCount = 0&#xA;WHERE   UserId IN (SELECT UserId FROM aspnet_Users WHERE UserName = 'sitecore\Admin')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since password recovery is OOTB functionality and it is throwing a YELLOW page Error then you should ask support for this. But you can handle this by creating a custom &lt;code&gt;passwordRecovery&lt;/code&gt; pipeline processor just to verify the account is lock and show the proper message to the user.&lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-09-12T18:34:21.053" LastActivityDate="2019-09-12T18:34:21.053" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21992" PostTypeId="2" ParentId="21990" CreationDate="2019-09-11T18:27:23.090" Score="-1" Body="&lt;p&gt;If this is not a admin user so you can unlock it from User Manager.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Open the User Manager and click the relevant user. In the Locked column, an indicator shows if a user has been locked out of Sitecore.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the Users group, click Unlock.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Other than that you can unlock from DB as well using below query:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;UPDATE aspnet_Membership &#xA;SET IsLockedOut = 0, FailedPasswordAttemptCount = 0 &#xA;WHERE UserId IN &#xA;  (SELECT UserId FROM aspnet_Users WHERE UserName = 'sitecore\Admin')&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="135" LastEditDate="2019-09-12T22:21:01.173" LastActivityDate="2019-09-12T22:21:01.173" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="21993" PostTypeId="2" ParentId="21990" CreationDate="2019-09-11T18:33:27.780" Score="8" Body="&lt;p&gt;Long story short; this is expected behaviour (almost). And I'll explain why.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Imagine yourself an admin of the solution and, for whatever reason, you've decided to lock &lt;code&gt;sitecore\billg&lt;/code&gt; out of the system. The system should then NOT allow this user to simply enable his or her account again by going through the Password Recovery process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So for your locked out users - the ones who HAVE hit the maximum of 3 or 5 failed attempts - the only recourse is for an admin user to first unlock the accounts, THEN can they proceed through Password Recovery.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fact that Sitecore throws an YSOD at users in this condition however, I would register as a bug with Sitecore Support. This should of course not happen.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-09-11T18:33:27.780" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="21994" PostTypeId="1" AcceptedAnswerId="22017" CreationDate="2019-09-11T18:45:36.980" Score="0" ViewCount="124" Body="&lt;p&gt;We are using SXA 1.8 with Sitecore 9. And, we have the requirement to access the search keyword passed in the search-box in one of the custom-renderings. But unfortunately, SXA is appending the search keyword in URL hash instead of Query-string. So, its difficult to access the search term in the controller code. I found it is not possible to change from Hash to Query-string as per this link &lt;a href=&quot;https://sitecore.stackexchange.com/questions/9291/changing-hash-to-query-string&quot;&gt;Changing hash to query string&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, I just want to know is there any better way to access the search term in custom controller. Any suggestions?&lt;/p&gt;&#xA;" OwnerUserId="4286" LastActivityDate="2019-09-12T11:41:16.203" Title="Need to access search keyword in a custom rendering controller in SXA" Tags="|sxa|content-search|azure-search|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21995" PostTypeId="2" ParentId="20038" CreationDate="2019-09-11T20:39:07.517" Score="1" Body="&lt;p&gt;I faced a similar issue and i came across this post which resolves the current issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/18368/could-not-find-configuration-node-federatedauthentication-sharedtransformations&quot;&gt;Could not find configuration node: federatedAuthentication/sharedTransformations/setIdpClaim&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note: There might be other issues. This answer solves the issue you have mentioned above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Incase the post disappears here is the answer (use this instead):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Before:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;transformation name=&quot;Idp Claim&quot; ref=&quot;federatedAuthentication/sharedTransformations/setIdpClaim&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;transformation name=&quot;Idp Claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.SetIdpClaimTransform, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2718" LastActivityDate="2019-09-11T20:39:07.517" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21996" PostTypeId="2" ParentId="19242" CreationDate="2019-09-11T20:58:29.967" Score="1" Body="&lt;p&gt;This happens because your identity server is not being able to either connect to your sitecore instance or the connection string of identity server is not properly set.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To fix this open Sitecore.IdentityServer.Host.xml within your server and make sure that the connection string is a valid one. &lt;/p&gt;&#xA;" OwnerUserId="90" LastActivityDate="2019-09-11T20:58:29.967" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="21997" PostTypeId="2" ParentId="19242" CreationDate="2019-09-12T00:05:09.320" Score="1" Body="&lt;p&gt;I get this error when in the file &lt;code&gt;\App_Config\Sitecore\Owin.Authentication.IdentityServer\Sitecore.Owin.Authentication.IdentityServer.config&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This url is not set to a url that the server can reach, and is the url that the identity server is running on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;sc.variable name=&quot;identityServerAuthority&quot; value=&quot;https://SitecoreIdentityServerHost&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-09-12T00:05:09.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22002" PostTypeId="1" CreationDate="2019-09-12T06:16:12.027" Score="1" ViewCount="82" Body="&lt;p&gt;I have product variant ex. variant1 . Now when I try to update the name to &quot;variant12&quot; the name gets updated in Merchandizing manager but the same change is not reflecting in inventory. I am working on Sitecore commerce 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I have to rebuild any index?&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="73" LastEditDate="2019-09-12T07:19:34.223" LastActivityDate="2019-09-12T15:46:47.560" Title="Inventory data not updating" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="22003" PostTypeId="1" CreationDate="2019-09-12T06:16:47.813" Score="0" ViewCount="82" Body="&lt;p&gt;Using Sitecore 9.2 and SXA 1.9, Im trying to call a saved item query by using the guid of the query item in the url&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/api/ssc/item/{guid_of_query)/query&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This gives a 400 error. What's wrong with that?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From what I've ready here, this should be correct:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/the-restful-api-for-the-itemservice.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-management/en/the-restful-api-for-the-itemservice.html&lt;/a&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/TWvSk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TWvSk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1347" LastEditorUserId="73" LastEditDate="2019-09-12T07:19:14.700" LastActivityDate="2019-10-12T08:01:30.380" Title="Cant call saved ItemQuery using REST" Tags="|itemservice|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22004" PostTypeId="2" ParentId="22003" CreationDate="2019-09-12T06:29:04.827" Score="1" Body="&lt;p&gt;400 Error code usually means &quot;Bad Request&quot; which means that something has been forgotten that is expected in URL or there is a typo somewhere.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Based on Documentation page you have linked it means:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Bad Request. This indicates that the request is not accepted by the server, perhaps because a parameter is invalid. It also indicates that you should not repeat the request. You get this response when the query definition item does not exist.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This error may indicate that:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Stored query is not based on template &lt;code&gt;/System/Services/Item Service/Query/Query Definition&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;You are missing parameters in your request &lt;code&gt;?pageSize&amp;amp;page&amp;amp;database&amp;amp;includeStandardTemplateFields&amp;amp;fields&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-09-12T06:29:04.827" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22010" PostTypeId="1" CreationDate="2019-09-12T09:22:04.147" Score="0" ViewCount="504" Body="&lt;p&gt;I have the content structure as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore&#xA;|_content&#xA;  |_Site1&#xA;    |_Home&#xA;      |_Articles&#xA;        |_Category&#xA;          |_article1&#xA;          |_article2&#xA;  |_Site2&#xA;    |_Home&#xA;      |_Rewards&#xA;        |_September&#xA;          |_Reward1&#xA;          |_Reward2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The user should be able to select articles &amp;amp; rewards in the treelist field.&#xA;For the source query, I entered:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    datasource=/sitecore/content&amp;amp;includeitemsfordisplay=Site1,Home,Site2&amp;amp;&#xA;includetemplatesfordisplay=Articles Folder,Category Folder,Article,Rewards Folder,  &#xA;Month Folder,Reward&amp;amp;includetemplatesforselection=Article,Reward&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It only shows the content node when trying to select.&lt;br&gt;&#xA;When I keep only the includeitemsfordisplay parameter it shows as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;|_content&#xA;      |_Site1&#xA;        |_Home&#xA;      |_Site2&#xA;        |_Home&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I followed @Swati Gupta's example but it shows a plain text field&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/I5VQJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/I5VQJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2019-09-13T15:16:49.663" LastActivityDate="2019-09-13T15:16:49.663" Title="TreelistEx souce query not working" Tags="|tree-list|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22011" PostTypeId="2" ParentId="22010" CreationDate="2019-09-12T09:34:54.073" Score="1" Body="&lt;p&gt;If you want to give the option to select from multiple datasource, then you can create a custom control.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create new item &lt;code&gt;MultiDatasourceTreelist&lt;/code&gt; using &lt;code&gt;/sitecore/templates/System/Templates/Template field type&lt;/code&gt; template in &lt;code&gt;core&lt;/code&gt; DB in this location &lt;code&gt;/sitecore/system/Field types/User Defined/MultiDatasourceTreelist&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cDMWv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cDMWv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;Create a class &lt;code&gt;MultiRootTreeList&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class MultiRootTreeList : TreeList&#xA;    {&#xA;        protected override void OnLoad(EventArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;            base.OnLoad(args);&#xA;&#xA;            if (!Sitecore.Context.ClientPage.IsEvent)&#xA;            {&#xA;                // find the existing TreeviewEx that the base OnLoad added, get a ref to its parent, and remove it from controls&#xA;                var existingTreeView = (TreeviewEx)WebUtil.FindControlOfType(this, typeof(TreeviewEx));&#xA;                var treeviewParent = existingTreeView.Parent;&#xA;&#xA;                existingTreeView.Parent.Controls.Clear(); // remove stock treeviewex, we replace with multiroot&#xA;&#xA;                // find the existing DataContext that the base OnLoad added, get a ref to its parent, and remove it from controls&#xA;                var dataContext = (DataContext)WebUtil.FindControlOfType(this, typeof(DataContext));&#xA;                var dataContextParent = dataContext.Parent;&#xA;&#xA;                dataContextParent.Controls.Remove(dataContext); // remove stock datacontext, we parse our own&#xA;&#xA;                // create our MultiRootTreeview to replace the TreeviewEx&#xA;                var impostor = new Sitecore.Web.UI.WebControls.MultiRootTreeview();&#xA;                impostor.ID = existingTreeView.ID;&#xA;                impostor.DblClick = existingTreeView.DblClick;&#xA;                impostor.Enabled = existingTreeView.Enabled;&#xA;                impostor.DisplayFieldName = existingTreeView.DisplayFieldName;&#xA;&#xA;                // parse the data source and create appropriate data contexts out of it&#xA;                var dataContexts = ParseDataContexts(dataContext);&#xA;&#xA;                impostor.DataContext = string.Join(&quot;|&quot;, dataContexts.Select(x =&amp;gt; x.ID));&#xA;                foreach (var context in dataContexts) dataContextParent.Controls.Add(context);&#xA;&#xA;                // inject our replaced control where the TreeviewEx originally was&#xA;                treeviewParent.Controls.Add(impostor);&#xA;            }&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Parses multiple source roots into discrete data context controls (e.g. 'dataSource=/sitecore/content|/sitecore/media library')&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;originalDataContext&quot;&amp;gt;The original data context the base control generated. We reuse some of its property values.&amp;lt;/param&amp;gt;&#xA;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&#xA;        protected virtual DataContext[] ParseDataContexts(DataContext originalDataContext)&#xA;        {&#xA;            return new ListString(DataSource).Select(x =&amp;gt; CreateDataContext(originalDataContext, x)).ToArray();&#xA;        }&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Creates a DataContext control for a given Sitecore path data source&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        protected virtual DataContext CreateDataContext(DataContext baseDataContext, string dataSource)&#xA;        {&#xA;            DataContext dataContext = new DataContext();&#xA;            dataContext.ID = GetUniqueID(&quot;D&quot;);&#xA;            dataContext.Filter = baseDataContext.Filter;&#xA;            dataContext.DataViewName = &quot;Master&quot;;&#xA;            if (!string.IsNullOrEmpty(DatabaseName))&#xA;            {&#xA;                dataContext.Parameters = &quot;databasename=&quot; + DatabaseName;&#xA;            }&#xA;            dataContext.Root = dataSource;&#xA;            dataContext.Language = Language.Parse(ItemLanguage);&#xA;&#xA;            return dataContext;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Add source in template &lt;code&gt;Datasource=sitecore/_content/_Site1/_Home/_Articles|sitecore/_content/_Site1/_Home/_Rewards&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FyCbO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FyCbO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2152" LastActivityDate="2019-09-12T09:34:54.073" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22012" PostTypeId="2" ParentId="21975" CreationDate="2019-09-12T09:54:58.900" Score="0" Body="&lt;p&gt;As it turns out, for some reason, the values typed in Postman got the wrong Hyphens...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;-”- instead of -&quot;-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the nullreference then follows suit as the AuthenticationController can't figure out the required parameters&lt;/p&gt;&#xA;" OwnerUserId="627" LastActivityDate="2019-09-12T09:54:58.900" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22013" PostTypeId="1" AcceptedAnswerId="22014" CreationDate="2019-09-12T10:13:18.400" Score="3" ViewCount="213" Body="&lt;p&gt;I want to temporarily increase the timeout settings in a Sitecore 9 environment while I run the tool for removing broken links (&lt;a href=&quot;https://stackoverflow.com/questions/28725537/how-to-remove-broken-links-in-sitecore&quot;&gt;https://stackoverflow.com/questions/28725537/how-to-remove-broken-links-in-sitecore&lt;/a&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The answer there mentions the DataProviderTimeout&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;DataProviderTimeout&quot; value=&quot;00:00:00&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I cannot see this setting in the configs for Sitecore 9. What is the equivalent setting here?&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-09-12T10:15:48.347" Title="What is the equivalent of the &quot;DataProviderTimeout&quot; setting in Sitecore 9" Tags="|configuration|settings|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22014" PostTypeId="2" ParentId="22013" CreationDate="2019-09-12T10:15:48.347" Score="4" Body="&lt;p&gt;It's &lt;code&gt;Sitecore.Configuration.Settings.DefaultSQLTimeout&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--  DEFAULT SQL TIMEOUT&#xA;        The default timeout for all SQL commands issued by the Sitecore APIs, such as&#xA;        the SqlServerDataProvider, the OracleDataProvider or the SqlUtil classes.&#xA;        Default value: 00:05:00 (5 minutes)&#xA;  --&amp;gt;&#xA;&amp;lt;setting name=&quot;DefaultSQLTimeout&quot; value=&quot;00:05:00&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;[Obsolete(&quot;'Sitecore.Configuration.Settings.DataProviderTimeout' is obsolete. Use 'Sitecore.Configuration.Settings.DefaultSQLTimeout' instead.&quot;)]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-09-12T10:15:48.347" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22015" PostTypeId="1" AcceptedAnswerId="22057" CreationDate="2019-09-12T11:19:29.777" Score="1" ViewCount="61" Body="&lt;p&gt;In our Sitecore 9.2.0 solution, I want to present data from a microservice to the editors. The editors should be able to browse and select one or more items from the microservice.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My initial idea was to create an index for the content from the microservice and then create a custom field that supports browsing and selecting content from the index.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Unfortunately, I have not found any information on how to create a Sitecore content field, that enables querying/select data from an index (SOLR/Azure). Does anyone have any experience with a scenario like this?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastActivityDate="2019-09-14T11:01:15.970" Title="Sitecore content field that queries an index" Tags="|indexing|fieldtype|custom-field|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="22017" PostTypeId="2" ParentId="21994" CreationDate="2019-09-12T11:41:16.203" Score="0" Body="&lt;p&gt;The SXA is storing the search phrase in hash only on the front-end. This param is later on processed in &lt;code&gt;component-search-service.js&lt;/code&gt; and base on the rest of things from the hash and some default settings of the renderings we are building the URL. It contains the following query parameters:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/88EEu.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/88EEu.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you see the &lt;code&gt;q&lt;/code&gt; is there and you can use it.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-09-12T11:41:16.203" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22019" PostTypeId="2" ParentId="3338" CreationDate="2019-09-12T12:40:42.303" Score="0" Body="&lt;p&gt;If you need some special handling on where to go after signing in you can always inject the pipeline getStartUrl.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuration patch&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;    &amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;    &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot;&amp;gt;&#xA;      &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;pipelines role:require=&quot;Standalone or ContentManagement&quot;&amp;gt;&#xA;          &amp;lt;getStartUrl&amp;gt;&#xA;            &amp;lt;processor patch:before=&quot;*[@type='Sitecore.Pipelines.GetStartUrl.GetStartUrlFromQueryString, Sitecore.Kernel']&quot;&#xA;                       type=&quot;OurCustomPackage.Pipelines.GetStartUrlFromCustomCode, OurCustomPackage&quot; /&amp;gt;&#xA;          &amp;lt;/getStartUrl&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/sitecore&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Class to do the redirection. In our case get a cookie with a path use in editor mode&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Web;&#xA;using Sitecore.Diagnostics;&#xA;using Sitecore.Pipelines.GetStartUrl;&#xA;using Sitecore.StringExtensions;&#xA;using Sitecore.Web;&#xA;&#xA;namespace OurCustomPackage.Pipelines&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Redirect user to a suitable page after logging in&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    public class GetStartUrlFromCustomCode : Sitecore.Pipelines.GetStartUrl.GetStartUrlProcessor&#xA;    {&#xA;        public GetStartUrlFromCustomCode()&#xA;        {&#xA;        }&#xA;&#xA;        public override void Process(GetStartUrlArgs args)&#xA;        {&#xA;            try // try/catch around it all to avoid not being able to log in!&#xA;            {&#xA;                string value = WebUtil.GetCookieValue(Constants.StartUrlCookie);&#xA;                if (!value.IsNullOrEmpty() &amp;amp;&amp;amp; value.StartsWith(&quot;/&quot;))&#xA;                {&#xA;                    // Select edit mode&#xA;                    value += value.Contains(&quot;?&quot;) ? &quot;&amp;amp;&quot; : &quot;?&quot;;&#xA;                    value += &quot;sc_mode=edit&quot;;&#xA;                    // Build a complete uri&#xA;                    string uri = HttpContext.Current.Request.Url.Scheme + &quot;://&quot; + HttpContext.Current.Request.Url.Host + value;&#xA;                    // Note: If port ever becomes a problem use Request.Url.Authority instead of Request.Url.Host&#xA;&#xA;                    args.Result = new Uri(uri);&#xA;                }&#xA;            } catch (Exception e)&#xA;            {&#xA;                Log.Error(&quot;While trying to redirect user to the correct page&quot;, e, this);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4384" LastActivityDate="2019-09-12T12:40:42.303" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22020" PostTypeId="2" ParentId="20941" CreationDate="2019-09-12T13:27:26.483" Score="3" Body="&lt;p&gt;The idea of that link 1 &#xA;&lt;a href=&quot;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/CommerceMinion/Sitecore-Commerce-v902-Scaled-Installation&lt;/a&gt; is to install the sitecore package(dlls and its configurations) on CD server.Copying master section from Sitecore.config should fix the issue for you.You can also modify the role:define value in app settings.config in web.config to the following value so it behaves as CM server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update the value to the following key from ContentDelivery &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;add key=&quot;role:define&quot; value=&quot;ContentManagement&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Again this should be temporary till you run the powershell script.&lt;/p&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-09-12T13:27:26.483" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22021" PostTypeId="1" CreationDate="2019-09-12T13:58:26.017" Score="2" ViewCount="301" Body="&lt;p&gt;I'm trying to build a search query to find an item that is a child of the current item. Something like this: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;custom:path|./_local/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But this returns 0 results (should be 3 results). How do I do this?&lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="4782" LastEditDate="2019-09-17T09:56:45.690" LastActivityDate="2024-02-24T08:08:06.387" Title="Search query custom path" Tags="|content-search|content-editor|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22022" PostTypeId="1" CreationDate="2019-09-12T14:04:42.357" Score="2" ViewCount="150" Body="&lt;p&gt;Our Development Environment: Sitecore XP 9.1.1 , Sitecore XC 9.1.0, Habitat Storefront&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are trying to figure out where the location/address is stored inside default storefront for stock information, is it possible to maintain different stock locations?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We went to inventory and trying to find the location for the storefront where we can edit the address of the warehouse for stock.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to setup a new warehouse location with address in sitecore commerce 9.1 using SXA storefront(We used default storefront - habitat). We want to add multiple warehouse locations/addresses inside storefront.&#xA;Is there a possibility to update addresses for storefront in commerce business tools.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How to maintain Multi ware house for Default storefront?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards,&#xA;Manik&lt;/p&gt;&#xA;" OwnerUserId="6023" LastEditorUserId="73" LastEditDate="2019-09-12T14:34:06.240" LastActivityDate="2022-09-26T19:06:00.563" Title="Setting up New warehouse/inventory location/address" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22023" PostTypeId="1" CreationDate="2019-09-12T14:06:23.880" Score="2" ViewCount="288" Body="&lt;p&gt;We are getting the error once we click on version and the language. This is happening only the first time. The second time I am clicking it is working fine. error is mentioned herewith image &lt;code&gt;Database name is null or empty&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/90jJo.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/90jJo.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5612" LastEditorUserId="5387" LastEditDate="2019-09-16T04:43:54.330" LastActivityDate="2023-12-23T01:00:35.093" Title="&quot;Database name is null or empty&quot; in experience editor once I click on language version button" Tags="|experience-editor|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22024" PostTypeId="2" ParentId="22022" CreationDate="2019-09-12T14:41:19.080" Score="1" Body="&lt;p&gt;AFAIK this isn't supported OOB. You will need to extend the InventorySet Entity with a new Component (WarehouseComponent) that would contain the address (Party Model).&#xA;You will then need to add a Warehouse view to Bizfx InventorySet View, to support add/Edit/remove Warehouse.&lt;/p&gt;&#xA;" OwnerUserId="4621" LastActivityDate="2019-09-12T14:41:19.080" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22025" PostTypeId="2" ParentId="22021" CreationDate="2019-09-12T15:10:52.800" Score="0" Body="&lt;p&gt;If this is the source query for a field, you can use:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query:../_local/*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For &lt;code&gt;Datasource Location&lt;/code&gt; on a rendering you can put in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;./_local&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="167" LastEditorUserId="167" LastEditDate="2019-09-16T16:47:04.650" LastActivityDate="2019-09-16T16:47:04.650" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22027" PostTypeId="1" CreationDate="2019-09-12T18:55:39.620" Score="4" ViewCount="154" Body="&lt;p&gt;While attempting to debug an item that is not publishing to the web database, I checked the Sitecore Publishing Service's (3.1 Update-1/3.1.1, at the time, since upgraded to 3.1.3) publishing logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the logs I found the following entry, for a total of three Sitecore items:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[Warning] Item base information definitely needs to be promoted : 150eaa31-XXXX-XXXX-XXXX-54a8f3e22c6a (&quot;IMG_5527[1]&quot;)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Each item was returned twice - my assumption is because we have two publishing targets. These were all Media Library items (images). None of the later log entries referenced back to these.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is anything necessary to do with this, or can it safely be ignored if there are no errors?&lt;/p&gt;&#xA;" OwnerUserId="288" LastEditorUserId="5387" LastEditDate="2019-09-16T04:42:58.700" LastActivityDate="2019-09-16T04:42:58.700" Title="What does the &quot;[Warning] Item base information definitely needs to be promoted&quot; want me to do?" Tags="|publishing-service|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22028" PostTypeId="2" ParentId="14250" CreationDate="2019-09-12T19:13:45.977" Score="5" Body="&lt;p&gt;There are some changes in Experience Commerce 9.2, copied below from one of the related support ticket:&lt;/p&gt;&#xA;&lt;p&gt;In previous versions of Sitecore Commerce, the LocalizedEntityComponent was used to know which localization entity was related to an entity. In 9.2 the localization entity ID was changed to a composition of the commerce entity ID for a localization entity and the entity ID, e.g. The localization entity ID for an entity with ID 'Entity-SellableItem-12345' would then be 'Entity-LocalizationEntity-12345'. This then makes the LocalizationEntityComponent obsolete, as the localization entity can be inferred from the entity ID.&lt;/p&gt;&#xA;&lt;p&gt;To explain with the above linked stackexchange post, the following:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;LocalizationEntity localizationEntity = await&#xA;this.localizeEntityPropertyCommand.GetLocalizationEntity(context.CommerceContext,&#xA;categoryEntity);&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;now generates the localizationEntity with an ID following the above mentioned new format.&#xA;This then renders the following code not necessary:&lt;/p&gt;&#xA;&lt;p&gt;// this is needed if initial category didn't have&#xA;LocalizedEntityComponent to link category with localization entity&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;if&#xA;(!categoryEntity.HasComponent()) {&#xA;categoryEntity.SetComponent(new&#xA;LocalizedEntityComponent(localizationEntity.Id,&#xA;localizationEntity.Name)); // saving category entity to database await&#xA;this.persistEntityPipeline.Run(new&#xA;PersistEntityArgument(categoryEntity), context); }&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="6025" LastEditorUserId="251" LastEditDate="2021-02-23T11:02:32.533" LastActivityDate="2021-02-23T11:02:32.533" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22029" PostTypeId="1" CreationDate="2019-09-12T20:29:34.450" Score="0" ViewCount="159" Body="&lt;p&gt;i'm suddenly experiencing an error, i get the following stacktrace and am clueless on how to fix it. I belive it to be an editor error but where to start?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    Item must have more than 1 version in the default language (da)&#xA;Description: An unhandled exception occurred.&#xA;&#xA;Exception Details: System.InvalidOperationException: Item must have more than 1 version in the default language (da)&#xA;&#xA;Source Error:&#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace:&#xA;&#xA;&#xA;[InvalidOperationException: Item must have more than 1 version in the default language (da)]&#xA;   Sitecore.Diagnostics.Assert.IsTrue(Boolean condition, String message) +57&#xA;   Sitecore.ContentSearch.Utilities.LanguageFallbackDataService.EnsureFallbackVersion(Item rootItem) +252&#xA;   Sitecore.ContentSearch.Utilities.LanguageFallbackDataService.GetDescendantsByTemplateWithFallback(Item rootItem, TemplateID templateId) +142&#xA;   Sitecore.ContentSearch.Utilities.LanguageFallbackDataService.GetDescendantsByTemplateWithFallback(Item rootItem, String templateId) +117&#xA;   SCommerce.Website.Code.Infobar.NotificationViewModelFactory.GetActiveNotifications() in D:\jenkins\sitecore-patch-tollgate\co\src\SCommerce.Website.Code\Infobar\NotificationViewModelFactory.cs:69&#xA;   SCommerce.Website.Code.Infobar.NotificationViewModelFactory.GetNotificationViewModels() in D:\jenkins\sitecore-patch-tollgate\co\src\SCommerce.Website.Code\Infobar\NotificationViewModelFactory.cs:40&#xA;   SCommerce.Website.SCom.Renderings.Layout.Controllers.SCommerceLayoutController.SetInfoBars() in D:\jenkins\sitecore-patch-tollgate\co\src\SCommerce.Website\SCom\Renderings\Layout\Controllers\SCommerceLayoutController.cs:225&#xA;   SCommerce.Website.SCom.Renderings.Layout.Controllers.SCommerceLayoutController.Main() in D:\jenkins\sitecore-patch-tollgate\co\src\SCommerce.Website\SCom\Renderings\Layout\Controllers\SCommerceLayoutController.cs:200&#xA;   lambda_method(Closure , ControllerBase , Object[] ) +87&#xA;   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +209&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35&#xA;   System.Web.Mvc.&amp;lt;&amp;gt;c__DisplayClass15.&amp;lt;InvokeActionMethodWithFilters&amp;gt;b__12() +80&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +462&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +462&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +629&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="6026" LastActivityDate="2019-09-12T20:29:34.450" Title="Item must have more than 1 version in the default language (da)" Tags="|content-management|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22030" PostTypeId="1" AcceptedAnswerId="22526" CreationDate="2019-09-12T23:51:27.837" Score="3" ViewCount="1866" Body="&lt;p&gt;I have installed sitecore commerce on my local machine.I have also added Tenant and SXA Site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Everything worked fine until i encountered with an issue when i click on the site, i am getting the following error when i click on the site node.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error &#xA;Value cannot be null.&#xA;Parameter name: siteInfo&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1riX2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1riX2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="6007" LastActivityDate="2019-10-13T19:22:14.887" Title="SXA Value cannot be null. Parameter name: siteInfo" Tags="|sxa|sitecore-commerce|sxa-storefront|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22031" PostTypeId="2" ParentId="10627" CreationDate="2019-09-13T00:14:38.363" Score="1" Body="&lt;p&gt;In addition to the suggestions here you could also look at the following:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Remove Un-needed components from showing in experience editor (e.g perhaps navigation/GTM/Meta components etc) - I've blogged about how to do that here: &lt;a href=&quot;https://www.flux-digital.com/blog/hiding-unneeded-components-to-speed-up-sitecore-experience-editor/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.flux-digital.com/blog/hiding-unneeded-components-to-speed-up-sitecore-experience-editor/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/en/Articles/2015/12/04/14/31/549951.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Disable the my items count&lt;/a&gt; (items that are locked by the current user).&#xA;More info and options on this here: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/4467/improving-the-performance-of-myitems-count-in-sitecore-8-1&quot;&gt;Improving the performance of MyItems Count in Sitecore 8.1&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Turn off Security checking on tree nodes. This has one downside that means content editors will see parent items in the tree they shouldn't see and get a error message saying they don't have access if they click on it.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;ContentEditor.CheckSecurityOnTreeNodes&amp;quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&amp;quot;value&amp;quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ol start=&quot;4&quot;&gt;&#xA;&lt;li&gt;Turn off Checking for children on tree nodes. This has one downside that means content editors will see an arrow for child items in the tree (even if there are no child items) then if they click on it it will disappear.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&amp;quot;ContentEditor.CheckHasChildrenOnTreeNodes&amp;quot;&amp;gt;&#xA;&amp;lt;patch:attribute name=&amp;quot;value&amp;quot;&amp;gt;false&amp;lt;/patch:attribute&amp;gt;&#xA;&amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Some of these settings only affect content editor but if content editor is slow then it will likely impact the CM performance in general and affect experience editor too.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-13T00:14:38.363" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22032" PostTypeId="2" ParentId="20828" CreationDate="2019-09-13T04:13:48.033" Score="0" Body="&lt;p&gt;Issue is fixed after enabling below configuration files in CM server.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;server.Sitecore.Analytics.Tracking.Database.config &lt;/li&gt;&#xA;&lt;li&gt;Sitecore.Analytics.Tracking.Aggregation.config &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Below link has more detail regarding this fix.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://ryantucknz.wordpress.com/2016/08/22/exm-failed-to-execute-the-commitsession-pipeline/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://ryantucknz.wordpress.com/2016/08/22/exm-failed-to-execute-the-commitsession-pipeline/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1273" LastActivityDate="2019-09-13T04:13:48.033" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22033" PostTypeId="1" AcceptedAnswerId="22039" CreationDate="2019-09-13T06:09:41.480" Score="1" ViewCount="50" Body="&lt;p&gt;I am newbie for content testing. Once start testing using optimization tool(under experience editor) Is testing variation published to CD server and view by external user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="5096" LastActivityDate="2019-09-13T10:52:38.213" Title="Who are audience/user for Content Testing?" Tags="|content-testing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22034" PostTypeId="1" CreationDate="2019-09-13T08:34:04.983" Score="0" ViewCount="662" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 8.2 update 7&lt;/code&gt; version. What ever content we are adding/modifying and publishing. Changes are not reflecting on site. But changes can see in web DB. After IIS App pool recycles, changes are reflecting on site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site is deployed On-Premises, Not sure whether CM and CD sites are on the same server. It's happening in the Staging environment. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Checked below checklist&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;EnabledEventQueue is true in &lt;code&gt;Sitecore.config&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Added handler for &lt;code&gt;Sitecore.Publishing.HtmlCacheClearer&lt;/code&gt; for publish:end and &#xA;publish:end:remote  events.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ScalabilitySettings.config&lt;/code&gt; is enabled on both CM and CD.&lt;/li&gt;&#xA;&lt;li&gt;Checked Scalability guide, All checklist has been taken care.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;But still not sure what would be the issue. Please help me to solve this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion is most appreciated!!.&lt;/p&gt;&#xA;" OwnerUserId="5078" LastEditorUserId="5387" LastEditDate="2019-09-16T04:41:57.380" LastActivityDate="2019-09-16T07:57:19.987" Title="Published content changes are not reflecting on site. But could see the changes in web . Only after app pool recycle changes are reflecting on site" Tags="|publishing|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="22035" PostTypeId="1" AcceptedAnswerId="22040" CreationDate="2019-09-13T10:09:06.880" Score="2" ViewCount="226" Body="&lt;p&gt;Is there way to use &lt;code&gt;Set-ItemTemplate&lt;/code&gt; to fix an item with a broken (deleted) template?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm trying the following script but get a null reference error &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$item = Get-Item -Path master: -Query &quot;/sitecore/content/MyProject/Commerce Websites/MyWebsite/Data/Sliders/Option Folder&quot;&#xA;$sliderDataFolderTemplate = Get-Item -Path master: -ID &quot;{551BBAE9-84F4-4393-BB96-5BB410203B86}&quot;&#xA;&#xA;Set-ItemTemplate -ID $item.ID -TemplateItem $sliderDataFolderTemplate&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which results in:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Set-ItemTemplate : Object reference not set to an instance of an object.&#xA;At line:4 char:1&#xA;+ Set-ItemTemplate -ID $item.ID -TemplateItem $sliderDataFolderTemplate&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Set-ItemTemplate], NullReferenceException&#xA;    + FullyQualifiedErrorId : System.NullReferenceException,Cognifide.PowerShell.Commandlets.Data.SetItemTemplateCommand&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I tried wrapping &lt;code&gt;Set-ItemTemplate&lt;/code&gt; with an &lt;code&gt;EventDisabler&lt;/code&gt; context but that did not fix the problem.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-UsingBlock (New-Object Sitecore.Data.Events.EventDisabler) {     &#xA;  Set-ItemTemplate -ID $item.ID -TemplateItem $sliderDataFolderTemplate&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2019-09-13T10:56:43.773" LastActivityDate="2019-09-13T10:59:38.933" Title="Use Set-ItemTemplate to fix an item with a missing template" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22036" PostTypeId="2" ParentId="20958" CreationDate="2019-09-13T10:16:07.747" Score="1" Body="&lt;p&gt;Based on my investigation, the statistics of the rendering is added during the execution of the &lt;code&gt;&amp;lt;mvc.renderRendering&amp;gt;&lt;/code&gt; pipeline. The method &lt;code&gt;RecordStatistic&lt;/code&gt; is called at the end.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, for every rendering being rendered on the page, Sitecore is adding the statistics&#xA;so duplicate should not be present. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, what may happened is that if you have 2 renderings: 1 controller rendering and 1 normal rendering, it may be that on some items you are using the rendering directly while on other items it may be the controller rendering.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-09-13T10:16:07.747" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22037" PostTypeId="2" ParentId="20791" CreationDate="2019-09-13T10:21:17.980" Score="1" Body="&lt;p&gt;got this working- basically I had multiple verions of SIF on my machine and was using old version 1.2.1. &#xA;Had to switch the version using following-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Remove-Module -Name SitecoreInstallFramework&#xA;Import-Module -Name SitecoreInstallFramework -RequiredVersion 2.1.0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2744" LastActivityDate="2019-09-13T10:21:17.980" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22038" PostTypeId="2" ParentId="20670" CreationDate="2019-09-13T10:28:35.903" Score="7" Body="&lt;p&gt;I was facing same issue and found that it tries to update the Blobs and other tables in XP instance i.e. YourSitecoreXP_Master DB&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So if the Sitecore prefix in the deploy script is wrong it tries to create a new database and update the Blobs table which is not available and hence fails.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So please check $SiteNamePrefix in deploy script, should match to the XP prefix. e.g.- if your Sitecore XP site name is &lt;strong&gt;storefront920.local&lt;/strong&gt; so the database will be created as storefront920_Master. So in this case $SiteNamePrefix will have to be storefront920&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this helps&lt;/p&gt;&#xA;" OwnerUserId="2744" LastActivityDate="2019-09-13T10:28:35.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22039" PostTypeId="2" ParentId="22033" CreationDate="2019-09-13T10:52:38.213" Score="1" Body="&lt;p&gt;I like to think about Content Testing like the scientific method: you have a guess (hypothesis) and then you have to try it out (experiment) and then you see if it worked (measure and learn).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Content Testing for Variant Experiments&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Typically, it is a marketer or author who is interested in Content Testing. They have some piece of content on the page and they aren't sure it's the best way of doing that. They have a hypothesis (an alternate version) that they think might be better.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;They might also be in a situation where they want to add new content but aren't sure what to add, so they create a few versions to find out which is best.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Running the test is the experiment. As it runs, different visitors will see the different variations. When the test is complete, you now see which one worked the best (winner).&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Content Testing for Audience Discovery&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;With Cortex, you also have the concept of Personalization Suggestions. This uses the data from a Content Test to determine which variants worked for different types of visitors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, in this case, rather than trying to determine a 'best' option, what you are actually doing is creating multiple variants that you want to use and then testing to find out which audiences react to which content.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can then personalize for each audience with the appropriate content that works for them. This also allows you to learn about the different audiences that are coming to your site, which in and of itself might be useful for planning out future work.&lt;/p&gt;&#xA;" OwnerUserId="69" LastActivityDate="2019-09-13T10:52:38.213" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22040" PostTypeId="2" ParentId="22035" CreationDate="2019-09-13T10:59:38.933" Score="4" Body="&lt;p&gt;Not the nicest way but you may try to call &lt;code&gt;TemplateManager.ChangeTemplate&lt;/code&gt; method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$newTemplateIdString = &quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&quot;;&#xA;$itemIdString = &quot;{A3FEC1DD-813C-44BD-9A37-66F0FADFD32F}&quot;&#xA;&#xA;$db = [Sitecore.Data.Database]::GetDatabase(&quot;master&quot;);&#xA;$templateId = [Sitecore.Data.ID]::Parse($newTemplateIdString)&#xA;$template = [Sitecore.Data.Managers.TemplateManager]::GetTemplate($templateId, $db)&#xA;$item = $db.GetItem($itemIdString)&#xA;&#xA;$parameters = @{&#xA;    TypeName = 'Sitecore.Data.Templates.TemplateChangeList'&#xA;    ArgumentList = ($template, $template)&#xA;}&#xA;&#xA;$templateChangeList = New-Object @parameters&#xA;&#xA;[Sitecore.Data.Managers.TemplateManager]::ChangeTemplate($item, $templateChangeList)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-09-13T10:59:38.933" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22041" PostTypeId="1" CreationDate="2019-09-13T11:46:44.690" Score="2" ViewCount="462" Body="&lt;p&gt;We're on Sitecore 9.2, SXA 1.9, JSS 12.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;previously&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;On 9.1, we had the following setup:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;JSS App sitting in /sitecore/content/myapp&lt;/li&gt;&#xA;&lt;li&gt;A site definition that mapped a &lt;code&gt;hostName&lt;/code&gt; to our /myapp&lt;/li&gt;&#xA;&lt;li&gt;A JSS application with an SSR proxy, deployed to a Linux server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And it worked.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;but now&lt;/h3&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We have a JSS Tenant, an in it a JSS Site set up - being managed like a traditional SXA site (the SXA Multi Site Resolver)&lt;/li&gt;&#xA;&lt;li&gt;Therefore we have no site definition config file (it is directly recommended we do not use one in the docs)&lt;/li&gt;&#xA;&lt;li&gt;A JSS application with an SSR proxy deployed to a Linux server&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;And the problem is this. Once the proxy redirects incoming requests to the CD server's &lt;code&gt;/sitecore/api/layoutservice?someparams&amp;amp;sc_site=myapp&lt;/code&gt; (the appending of the site name was a necessary adjustment of the SSR standard code) we get hit by an exception. Basically the LayoutService is telling me, it has no idea what the site &lt;code&gt;myapp&lt;/code&gt; is.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;System.InvalidOperationExceptionMessage: Site from query string was not found: myappSource: Sitecore.Kernelat Sitecore.Pipelines.PreAuthenticateRequest.SiteResolver.ResolveSiteContext(HttpRequestArgs args)at Sitecore.Pipelines.PreAuthenticateRequest.SiteResolver.Process(HttpRequestArgs args)at (Object , Object )at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)at Sitecore.Web.RequestEventsHandler.OnBeginRequest(HttpContextBase context)at Sitecore.Nexus.Web.HttpModule.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So that raises a number of questions. In the stack trace we see that it is not the XA.MultiSiteResolver trying to find out site, it's Sitecore vanilla. Are we meant to reconfigure this, or how else would we go about getting site resolution to work?&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-09-13T11:46:44.690" Title="How do I get my SSR proxy to site resolve the LayoutService for my JSS/SXA Site?" Tags="|sxa|jss|layout-service|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22042" PostTypeId="1" CreationDate="2019-09-13T11:54:30.180" Score="0" ViewCount="769" Body="&lt;p&gt;I am getting below error while installing sitecore 9.01.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Error Code: ERROR_APPPOOL_VERSION_MISMATCH More Information: The&#xA;application pool that you are trying to use has the&#xA;'managedRuntimeVersion' property set to ''. This application requires&#xA;'v4.0'.  Learn more at:&#xA;&lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_APPPOOL_VERSION_MISMATCH&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_APPPOOL_VERSION_MISMATCH&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;In application pool xconnect status is stopped and .net clr version is no managed code.&lt;/p&gt;&#xA;" OwnerUserId="6028" LastEditorUserId="251" LastEditDate="2021-03-10T13:16:10.140" LastActivityDate="2021-03-10T13:16:10.140" Title="Error Code: ERROR_APPPOOL_VERSION_MISMATCH" Tags="|xconnect|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22043" PostTypeId="1" CreationDate="2019-09-13T11:55:15.153" Score="0" ViewCount="1431" Body="&lt;p&gt;I'm trying to replicate the federated auth from habitat using the Facebook example, and parlay that into auth with Salesforce. I can't get around this dependency injection error though.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Starting with the stack trace:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[InvalidOperationException: Unable to resolve service for type 'System.Collections.Generic.IList`1[Client.Feature.Membership.Services.FacetUpdaters.IContactFacetUpdater]' while attempting to activate 'Client.Feature.Membership.Services.UpdateContactFacetsService'.]&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound) +443&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(Type serviceType, Type implementationType, CallSiteChain callSiteChain) +396&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain) +172&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(Type serviceType, CallSiteChain callSiteChain) +78&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain) +157&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound) +109&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(Type serviceType, Type implementationType, CallSiteChain callSiteChain) +396&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain) +172&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(Type serviceType, CallSiteChain callSiteChain) +78&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain) +157&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound) +109&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(Type serviceType, Type implementationType, CallSiteChain callSiteChain) +396&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain) +172&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(Type serviceType, CallSiteChain callSiteChain) +78&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain) +157&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.CreateServiceAccessor(Type serviceType) +97&#xA;   System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +88&#xA;   Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope) +46&#xA;   Sitecore.Mvc.Controllers.SitecoreDependencyResolver.GetService(Type serviceType) +41&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.ResolveController(Type type) +46&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName) +95&#xA;&#xA;[ControllerCreationException: Could not create controller: 'Client.Feature.Membership.Controllers.MembershipController, Client.Feature.Membership'. &#xA;The context item is: '/sitecore/content/Client/Home/Sample'. &#xA;The current route url is: '{*pathInfo}'. This is the default Sitecore route which is set up in the 'InitializeRoutes' processor of the 'initialize' pipeline. ]&#xA;   Sitecore.Mvc.Controllers.SitecoreControllerFactory.CreateController(RequestContext requestContext, String controllerName) +171&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.GetController() +23&#xA;   Sitecore.Mvc.Controllers.ControllerRunner.Execute(TextWriter writer) +39&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +147&#xA;   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +74&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +490&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +192&#xA;   (Object , Object ) +14&#xA;   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +490&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236&#xA;   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22&#xA;   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +195&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.RenderPlaceholderCore(String placeholderName, TextWriter writer) +250&#xA;   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +61&#xA;   ASP._Page_Views_Navigation_Header_cshtml.Execute() in C:\inetpub\wwwroot\Client.dev.local\Views\Navigation\Header.cshtml:42&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252&#xA;   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148&#xA;   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107&#xA;   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +378&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +91&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +795&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +795&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81&#xA;   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +698&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The class in question:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Service(typeof(IUpdateContactFacetsService))]&#xA;public class UpdateContactFacetsService : IUpdateContactFacetsService&#xA;{&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// The XDB context factory.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    private readonly IXdbContextFactory _xdbContextFactory;&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// The contact manager.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    private readonly IContactManagerService _contactManager;&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// The facet updaters.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    private readonly IList&amp;lt;IContactFacetUpdater&amp;gt; _facetUpdaters;&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Initializes a new instance of the &amp;lt;see cref=&quot;UpdateContactFacetsService&quot;/&amp;gt; class.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;xdbContextFactory&quot;&amp;gt;The XDB context factory.&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;contactManager&quot;&amp;gt;The contact manager.&amp;lt;/param&amp;gt;&#xA;    /// &amp;lt;param name=&quot;facetUpdaters&quot;&amp;gt;The facet updaters.&amp;lt;/param&amp;gt;&#xA;    public UpdateContactFacetsService(IXdbContextFactory xdbContextFactory, IContactManagerService contactManager, IList&amp;lt;IContactFacetUpdater&amp;gt; facetUpdaters)&#xA;    {&#xA;        Assert.ArgumentNotNull(xdbContextFactory, nameof(xdbContextFactory));&#xA;        Assert.ArgumentNotNull(contactManager, nameof(contactManager));&#xA;        Assert.ArgumentNotNull(facetUpdaters, nameof(facetUpdaters));&#xA;        Assert.ArgumentCondition(facetUpdaters.Any(), nameof(facetUpdaters), $&quot;{nameof(facetUpdaters)} must not be empty&quot;);&#xA;        _xdbContextFactory = xdbContextFactory;&#xA;        _contactManager = contactManager;&#xA;        _facetUpdaters = facetUpdaters;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="433" LastActivityDate="2024-01-21T07:03:25.380" Title="Unable to resolve service for type 'System.Collections.Generic.IList`1[Client.Feature.Membership.Services.FacetUpdaters.IContactFacetUpdater]'" Tags="|habitat|dependency-injection|federated-authentication|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22044" PostTypeId="2" ParentId="22042" CreationDate="2019-09-13T11:56:34.417" Score="1" Body="&lt;p&gt;So set your app pool to use .CLR Runtime 4.0, as the message says.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aQnQ9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aQnQ9.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-09-13T11:56:34.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22045" PostTypeId="2" ParentId="2345" CreationDate="2019-09-13T12:19:10.527" Score="4" Body="&lt;p&gt;Just in case anyone lands here and needs to know of the non-out of the box options available to you here is a bit of a run down of ones I'm aware of/have used:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;1) Sitecore Audit Trail&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gColw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gColw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;This module has been around for a while and I've used it once before, It worked well. The Marketplace module suggests it only works up to 7.5 but I've used it on 8.1 (I may have had to put some updates in to get it work play nice though), the github page suggests it works with 8.x too so it may have been updated since.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Features:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Who did change on particular item? &lt;/li&gt;&#xA;&lt;li&gt;When it happened? &lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;What all actions happened on particular day?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Does all tracking in back end - No effect on performance! [Uses power&#xA;of log4net Appenders] &lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;Shows actions at Item Level and Site Level &lt;/li&gt;&#xA;&lt;li&gt;You can do search, pagination, and sorting! &lt;/li&gt;&#xA;&lt;li&gt;Fully Configurable &lt;/li&gt;&#xA;&lt;li&gt;No code changes required to do audit tracking &lt;/li&gt;&#xA;&lt;li&gt;Security has been applied -- User needs to be logged in to access it. &lt;/li&gt;&#xA;&lt;li&gt;Accessible from Context Menu of an Item And Review Tab&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://klpatil.github.io/Sitecore-Audit-Trail/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://klpatil.github.io/Sitecore-Audit-Trail/&lt;/a&gt;&#xA;&lt;a href=&quot;https://marketplace.sitecore.net/Modules/S/Sitecore_Audit_Trail.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/Modules/S/Sitecore_Audit_Trail.aspx&lt;/a&gt;&#xA;&lt;a href=&quot;https://github.com/klpatil/Sitecore-Audit-Trail&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/klpatil/Sitecore-Audit-Trail&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;2) Sidekick Audit Logger&lt;/strong&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Ns5MD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Ns5MD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://jeffdarchuk.com/2016/10/17/sitecore-sidekick-audit-logger/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jeffdarchuk.com/2016/10/17/sitecore-sidekick-audit-logger/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For some reason Jeffs &lt;a href=&quot;https://jeffdarchuk.com/2016/10/03/sitecore-sidekick/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sidekick module&lt;/a&gt; does not seem to be that well known but it has an awesome content sync app which I've blogged about a few times and also an Audit Logger app which I have found works really nicely. &#xA;It traces events, gathers information about those events and stores them in a special search index. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sidekick and audit logger can be installed from &lt;a href=&quot;https://www.nuget.org/packages/SitecoreSidekickCore/1.0.0&quot; rel=&quot;nofollow noreferrer&quot;&gt;NuGet&lt;/a&gt; or The &lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Sidekick.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Marketplace&lt;/a&gt; and the github page is here: &lt;a href=&quot;https://github.com/JeffDarchuk/SitecoreSidekick&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/JeffDarchuk/SitecoreSidekick&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;3) Use SPE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZLGdT.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZLGdT.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;a href=&quot;https://www.sitecoregabe.com/2018/08/basic-sitecore-audit-trail-with.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.sitecoregabe.com/2018/08/basic-sitecore-audit-trail-with.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Creates a Powershell report that consumes the accessible Sitecore log files which already contain the data needed. This might be the simplest approach but relies on you having the relevant logs.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    function Get-Audit () {&#xA;    # UPDATE: We'll use $SitecoreLogFolder instead. SPE creates a variable $SitecoreLogFolder and resolves the path for you.&#xA;    # Identify the Sitecore log folder&#xA;    # $logsFolder = [Sitecore.Configuration.Settings]::LogFolder&#xA;    # Resolve the log folder's path&#xA;    # $resolvedPath = Resolve-Path -Path $logsFolder&#xA;&#xA;    # Get all log files, then filter out everything that doesn't matter. Sort by LastWriteTime descending. &#xA;    $files = Get-ChildItem $SitecoreLogFolder | Where-Object {  $_.Name -notmatch &quot;Fxm&quot; -and $_.Name -NotMatch &quot;Search&quot; -and $_.Name -NotMatch &quot;WebDAV&quot; -and $_.Name -NotMatch &quot;client&quot; -and $_.Name -NotMatch &quot;Crawling&quot; -and $_.Name -NotMatch &quot;Publishing&quot; -and $_.Name -NotMatch &quot;spe&quot; -and $_.Name -NotMatch &quot;custom&quot;  } | Sort-Object LastWriteTime -Descending &#xA;&#xA;    # Confirm the user has provided start and end dates. &#xA;    if ($selectedEndDate -ne &quot;01/01/0001 00:00:00&quot; -and $selectedStartDate.Year -ne &quot;01/01/0001 00:00:00&quot;) {&#xA;&#xA;        # Filter the log files further to only those within range.&#xA;        $filteredFiles = $files | Where-Object {$_.LastWriteTime -ge $selectedEndDate -and $_.LastWriteTime -le $selectedStartDate  } &#xA;&#xA;    }&#xA;    else {&#xA;&#xA;        # If a user chose to not select a date range, use the original file list, but limit the process to the most recent 25 files.&#xA;        $filteredFiles = $files | Select-Object -First 5&#xA;&#xA;    }&#xA;&#xA;    # Define a variable used to match the term 'Audit' when processing each line.&#xA;    $regex = &quot; audit &quot;&#xA;&#xA;    # Define an array to house matching line objects.&#xA;    $finalItems = @()&#xA;&#xA;    # Begin a loop based on the number of files to process.&#xA;    for ($i = 0; $i -lt $filteredFiles.Count; $i++) {&#xA;&#xA;        # Get the content of the file.&#xA;        $fileContent = Get-Content $filteredFiles[$i].FullName&#xA;&#xA;        # Set the current file&#xA;        $file = $filteredFiles[$i]&#xA;&#xA;        # Create a date string based on the LastAccessTime.&#xA;        $formattedFileDate = &quot;$($file.LastAccessTime.Date.Month)/$($file.LastAccessTime.Date.Day)/$($file.LastAccessTime.Date.Year)&quot;&#xA;&#xA;        # Loop through each line in the file.&#xA;        foreach ($line in $fileContent) {&#xA;            # Check of the line matches the 'AUDIT' regular expression.&#xA;            if ($line -match $regex) {&#xA;                # Concatenate the date and the rest of the line to a single variable.&#xA;                $logLine = &quot;$formattedFileDate $line&quot;&#xA;&#xA;                # Remove double spaces from the line.&#xA;                $saitizedLogLine = $logLine.Replace(&quot;  &quot;, &quot; &quot;)&#xA;&#xA;                # In some cases, the audit line will contain ManagedPoolThread #XX instead of an ID.  This accounts for this scenario&#xA;                $saitizedLogLine = $saitizedLogLine -Replace &quot;(((ManagedPoolThread)\s\#[^\s]+)\s)&quot;, &quot;0 &quot;&#xA;&#xA;                # Split the line by spaces and create new objects for each property.&#xA;                $date, $apid, $time, $loglevel, $logcode, $username, $action = $saitizedLogLine.split(&quot; &quot;)&#xA;&#xA;                # Sanitize the username object (removing '{', '}', and &quot;:&quot; characters).&#xA;                $username = $username -Replace &quot;[#?\{\[\(\)\]\}\:]&quot;, &quot;&quot;&#xA;&#xA;                # Concatenate the date and time objects to a single string.&#xA;                $dateTime = &quot;$date $time&quot;&#xA;&#xA;                # Convert the concatenated dateTime string to a System.DateTime.&#xA;                $dateObj = [datetime]($dateTime)&#xA;&#xA;                # Define a new line object with each object.&#xA;                $lineObj = [pscustomobject]@{date = $dateTime; pid = $apid; time = $time; loglevel = $loglevel; logcode = $logcode; username = $username; action = $action; logLine = $logLine; dateObj = $dateObj; }&#xA;&#xA;                # Add the line object to the finalItems array.&#xA;                $finalItems += $lineObj&#xA;            }&#xA;        }&#xA;    }&#xA;    # Return the finalItems array sorted by date/time descending.&#xA;    $finalItems | Sort-Object { $_.dateObj -as [datetime]} -Descending &#xA;}&#xA;&#xA;# Define the dialog properties.  We'll need a start date and end date input from the user.&#xA;$dialogProps = @{&#xA;    Parameters  = @(&#xA;        @{Name = &quot;selectedStartDate&quot;; Title = &quot;Closest Date&quot;; Editor = &quot;date time&quot;; Tooltip = &quot;(How recent?)&quot;},&#xA;        @{Name = &quot;selectedEndDate&quot;; Title = &quot;Furthest Date&quot;; Editor = &quot;date time&quot;; Tooltip = &quot;(How far back?)&quot;}&#xA;    )&#xA;    Title       = &quot;Date Filter&quot;&#xA;    Description = &quot;Select a date range to filter the audit.&quot;&#xA;    ShowHints   = $true&#xA;}&#xA;&#xA;# Invoke the dialog and set the Read-Variable to determine if the user selects 'cancel'.&#xA;$datemodal = Read-Variable @dialogProps&#xA;&#xA;# Check if the user clicked 'cancel.&#xA;if ($datemodal -ne &quot;cancel&quot;) {&#xA;    # Define the ListView properties. &#xA;    $tableProps = @{&#xA;        InfoTitle       = &quot;Audit Trail Report&quot;&#xA;        InfoDescription = &quot;Audit user logins, logouts, workflow executions, and publishing operations within a specified date range.&quot;&#xA;        PageSize        = 100&#xA;    }&#xA;&#xA;    # Get and display the report in a ListView. &#xA;    Get-Audit | Show-ListView @tableProps -Property @{ Label = &quot;Date&quot;; Expression = { $_.date } },&#xA;    @{ Label = &quot;ID&quot;; Expression = { $_.pid } },&#xA;    @{ Label = &quot;Level&quot;; Expression = { $_.loglevel } },&#xA;    @{ Label = &quot;Code&quot;; Expression = { $_.logcode } },&#xA;    @{ Label = &quot;User&quot;; Expression = { $_.username } },&#xA;    @{ Label = &quot;Action&quot;; Expression = { $_.action } }&#xA;&#xA;    Close-Window &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Some further options for consideration:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.seanholmesby.com/sitecore-auditing-with-the-advanced-system-reporter/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.seanholmesby.com/sitecore-auditing-with-the-advanced-system-reporter/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="196" LastEditDate="2019-09-13T12:32:54.837" LastActivityDate="2019-09-13T12:32:54.837" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22046" PostTypeId="1" CreationDate="2019-09-13T12:39:47.640" Score="3" ViewCount="103" Body="&lt;p&gt;I am trying to understand the flow of data from the time a user opens/ click a link in the e-mail to the time it is displayed.&lt;/p&gt;&#xA;&lt;p&gt;I am listing my understanding below.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Connecting the dots backwards&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;p&gt;Sitecore has provided an image at &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/email-marketing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/email-marketing.html&lt;/a&gt;.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/dp5XC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dp5XC.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;So, the data comes from xConnect. In the background, xConnect collects data from xDB index and xDB Collection database (both the shards).&lt;/p&gt;&#xA;&lt;p&gt;Sitecore xConnect doesn't index PII data. So, I understand that data under section highlighted below would be coming from xDB Collection database.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3dcD6.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3dcD6.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The data on the upper section of the page or under Overview section would be coming from xDB index. So, the data would be getting Search Indexer under xConnect.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;How data flows from e-mail&lt;/strong&gt;:&#xA;In the root manager, we provide the URL of the website on the CD instance of the Sitecore.&#xA;Once a user opens the mail the 1 px image gets downloaded from the CD instance and thus the opening of mails are tracked. Similarly, the links in the e-mail are  resolved through the CD instance of the Sitecore and thus the clicks and corresponding details are captured.&lt;/p&gt;&#xA;&lt;p&gt;On the CD instance, the request handler handles the request and executes the corresponding pipelines.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;What I am not able to understand&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;What happens to the data in between the handler on the content delivery and the data reaching xDB databases or the indexer in xConnect?&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When the processing and reporting databases come in the picture?&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Campaigns table in EXM master also has fields to hold the click, bounce, recipients and related data. When they are used and when they are populated?&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-13T12:39:47.640" Title="Flow of data from email to the EXM dashboard" Tags="|xconnect|experience-analytics|exm|xdb-cloud|" AnswerCount="0" CommentCount="1" ClosedDate="2019-09-16T22:25:41.483" ContentLicense="CC BY-SA 4.0" />
  <row Id="22047" PostTypeId="1" CreationDate="2019-09-13T14:17:31.460" Score="5" ViewCount="479" Body="&lt;p&gt;I am getting the below error while Rebuild Link Databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Version: Sitecore.NET 9.0.2 (rev. 180604).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;attached screen shots.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Other Databases are rebuilding successfully, only master is throwing the below exception.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please let me know if you need any more information from my side.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Job started: RebuildLinkDatabasesIndex|System.ArgumentNullException: Value cannot be null.&#xA;Parameter name: value&#xA;   at Newtonsoft.Json.Linq.Extensions.Value[T,U](IEnumerable`1 value)&#xA;   at Sitecore.Commerce.Engine.Connect.DataProvider.ReadOnlyCatalogDataProvider.&amp;lt;&amp;gt;c.&amp;lt;GetItemVersions&amp;gt;b__7_0(JToken x)&#xA;   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)&#xA;   at Sitecore.Commerce.Engine.Connect.DataProvider.ReadOnlyCatalogDataProvider.GetItemVersions(ItemDefinition item, CallContext context)&#xA;   at Sitecore.Data.DataProviders.DataProvider.GetItemVersions(ItemDefinition item, CallContext context, DataProviderCollection providers)&#xA;   at Sitecore.Data.DataSource.LoadVersions(ItemDefinition definition, Language language)&#xA;   at Sitecore.Data.DataSource.GetVersions(ItemInformation itemInformation, Language language)&#xA;   at Sitecore.Data.DataSource.GetLatestVersion(ItemInformation itemInformation, Language language)&#xA;   at Sitecore.Data.DataSource.GetItemData(ID itemID, Language language, Version version)&#xA;   at Sitecore.Nexus.Data.DataCommands.GetItemCommand.GetItem(ID , Language , Version , Database )&#xA;   at Sitecore.Nexus.Data.DataCommands.GetItemCommand.Execute(ID , Language , Version , Database )&#xA;   at Sitecore.Data.Engines.DataCommands.GetItemCommand.DoExecute()&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language language, Version version, Database database)&#xA;   at Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;   at Sitecore.ContentTesting.Pipelines.ItemProvider.GetItem.GetItemUnderTestProcessor.Process(GetItemArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Data.Managers.DefaultItemManager.GetItem(ID itemId, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;   at Sitecore.Data.Managers.ItemManager.GetItem(ID itemId, Language language, Version version, Database database, SecurityCheck securityCheck)&#xA;   at Sitecore.Nexus.Data.DataCommands.GetChildrenCommand.Execute(Item  )&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Managers.ItemProvider.GetChildren(Item item, ChildListOptions options)&#xA;   at Sitecore.Data.Managers.ItemProvider.GetChildren(Item item, SecurityCheck securityCheck, ChildListOptions options)&#xA;   at Sitecore.Data.Items.Item.GetChildren(ChildListOptions options)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.RebuildItem(Item item)&#xA;   at Sitecore.Links.LinkDatabase.Rebuild(Database database)&#xA;   at Sitecore.Shell.Applications.Dialogs.RebuildLinkDatabase.RebuildLinkDatabaseForm.Builder.Build()|Job ended: RebuildLinkDatabasesIndex (units processed: )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pQ0gl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pQ0gl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tg8Jp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tg8Jp.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GnSmm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GnSmm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bUKiK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bUKiK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4590" LastEditorUserId="4590" LastEditDate="2019-09-13T15:01:12.717" LastActivityDate="2024-01-21T00:06:40.740" Title="Getting Error on Rebuilding Link Databases - Master Database" Tags="|sitecore-commerce|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22048" PostTypeId="1" AcceptedAnswerId="22049" CreationDate="2019-09-13T14:59:24.743" Score="4" ViewCount="1205" Body="&lt;p&gt;In the content editor's search functionality, is there a way to perform a search to find items where I'm checking for the value of a boolean/checkbox field? Like if I have an &quot;active&quot; checkbox in my item template, can I do a content editor search to find just those checked on?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondarily, is there a way to save content editor searches for reusability that's easy? Or is this looking at building a SPEAK interface for an author to use?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-09-20T09:00:07.307" Title="Search in content editor for checkbox field value" Tags="|content-search|content-editor|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22049" PostTypeId="2" ParentId="22048" CreationDate="2019-09-13T15:21:44.907" Score="8" Body="&lt;p&gt;Yes, It's possible.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click on &lt;strong&gt;Search by a field value&lt;/strong&gt; as shown in the below screenshot and search for &lt;code&gt;active|1&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It will show all items having active checkbox checked.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/25H8t.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/25H8t.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To save queries as default query or make it persistent you have options available on the item under &lt;strong&gt;Item Buckets&lt;/strong&gt; section&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;To define a default search:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;In the content tree, navigate to the item you want to create a&#xA;default search for.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;On the Content tab, in the Item Buckets section, in the Default&#xA;bucket query field, enter a query. For example&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zbU52.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zbU52.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can enter a query manually, paste in a query, or you can build a query in the Build Search Query dialog:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8cyeZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8cyeZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When users open a new search tab, it looks, for example, like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wtx3e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wtx3e.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Make a search query persistent&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When users open a new search tab, they can delete the filters in the query by clicking X. If you do not want users to be able to remove parts of the query, you can make the search query persistent.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To make a search query persistent:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;In the content tree, navigate to the item you want to define a&#xA;persistent query for.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;On the Content tab, in the Item Buckets section, in the Persistent&#xA;bucket filter field, enter a query.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Sitecore supports these filters:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;tag&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;template&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;location&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;sort&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;custom&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;tag&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;start&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;end&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;You can add multiple filters with a semicolon between the filters.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Every filter is case sensitive.&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;For example, to search for the keyword pineapple between a start date&#xA;  of 03/03/2012 and an end date of 04/04/2012, the filter string is:&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;text:pineapple;start=03/03/2012;end=04/04/2012&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;References&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/92/platform-administration-and-architecture/en/create-a-default-and-a-persistent-search-query.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/92/platform-administration-and-architecture/en/create-a-default-and-a-persistent-search-query.html&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/save-a-search-query-for-an-item-bucket.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/save-a-search-query-for-an-item-bucket.html&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1606" LastEditorUserId="1606" LastEditDate="2019-09-20T09:00:07.307" LastActivityDate="2019-09-20T09:00:07.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22050" PostTypeId="1" CreationDate="2019-09-13T16:12:02.300" Score="2" ViewCount="3396" Body="&lt;p&gt;The content tree is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore&#xA;|_content&#xA;  |_Site1&#xA;    |_Home&#xA;      |_Articles&#xA;        |_Category&#xA;          |_article1&#xA;          |_article2&#xA;  |_Site2&#xA;    |_Home&#xA;      |_Rewards&#xA;        |_September&#xA;          |_Reward1&#xA;          |_Reward2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There is a multilist field and I would like the user to be able to select only &lt;code&gt;Articles&lt;/code&gt; and/or &lt;code&gt;Rewards&lt;/code&gt;.&lt;br&gt;&#xA;Before setting the source query I was trying it in the XPath Builder:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/content/site1/home/articles/*/*|/sitecore/content/site2/home/rewards/*/*[@@templateid='{02DB4F77-20CB-463D-BF3A-177C6B6E2DA5}' or @@templateid='{AB86861A-6030-46C5-B394-E8F99E8B87DB}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The first guid is the article template &amp;amp; the 2nd is the reward template. The result only shows articles.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;article1&#xA;article2&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;How should this query be to show both articles &amp;amp; rewards.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestions for Treelist are also welcome.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="605" LastEditDate="2019-09-13T17:26:04.613" LastActivityDate="2019-09-13T17:26:04.613" Title="How to query multiple datasources &amp; multiple templates in sitecore query" Tags="|sitecore-query|tree-list|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22051" PostTypeId="2" ParentId="22047" CreationDate="2019-09-13T16:12:37.420" Score="0" Body="&lt;p&gt;The problem is with the catalog items. You can exclude the catalog in CMS by unchecking the checkbox and then try to rebuild. If this works then you can further debug to find out which product is throwing this exception&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-09-13T16:12:37.420" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22052" PostTypeId="2" ParentId="22050" CreationDate="2019-09-13T17:25:30.830" Score="3" Body="&lt;p&gt;For multiple datasource location, for a Multi-list field, you should use 2 &lt;code&gt;||&lt;/code&gt;. So, your query will be as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;sitecore/content/site1/home/articles/*/*||/sitecore/content/site2/home/rewards/*/*[@@templateid='{02DB4F77-20CB-463D-BF3A-177C6B6E2DA5}' or @@templateid='{AB86861A-6030-46C5-B394-E8F99E8B87DB}']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-09-13T17:25:30.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22053" PostTypeId="2" ParentId="22048" CreationDate="2019-09-13T19:46:52.443" Score="3" Body="&lt;p&gt;I am writing this for the second part of your question. If you want regularly run the same search query from the same item in the content editor then you can save the search but OOTB Sitecore will save only one search for one item. That is actually same which we use in bucket search in the content editor but &lt;strong&gt;will work on non-bucket items&lt;/strong&gt; as well-&lt;br&gt;&#xA;&lt;a href=&quot;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/save-a-search-query-for-an-item-bucket.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/81/sitecore-experience-platform/en/save-a-search-query-for-an-item-bucket.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;NOTE - The search queries that you save on an item bucket are unique&#xA;  to your own Sitecore account. However, your Sitecore administrator&#xA;  should set up all the saved searches and determine whether they should&#xA;  be available to a specific user or to all users.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Default Bucket Query&lt;/strong&gt; – a query that appears in the search field every time you open the search tab. If necessary, you can delete the query from the search field. The default query is ‘text:*’, which results in returning everything.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Persistent Bucket Filter&lt;/strong&gt; – a query that appears in the search field every time you open it and that you cannot delete. The default query consists of the ‘location:{ID of the parent item}’, which states the location from where the search should be run, and the ‘-template:{ID of the saved search template}’, which states that items based on the saved search template should not be displayed.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;To save a search query on an item bucket:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Click the item on which you want to save the search query and on the Content tab scroll down to the &lt;strong&gt;Item Buckets&lt;/strong&gt; section.&lt;/li&gt;&#xA;&lt;li&gt;Click Build Query above the query you want to build.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qDmmF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qDmmF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;In the &lt;strong&gt;Build a Search Query&lt;/strong&gt; dialog box, in the &lt;strong&gt;Search&lt;/strong&gt; field, build your search query by adding the relevant filters and search keywords and then click &lt;strong&gt;OK&lt;/strong&gt;. For example, the search query for the checkbox field in your question, save the changes.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/NkcfE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NkcfE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now next time you will click on the search tab it will filter the result based on your query. I guess this will help.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-13T19:46:52.443" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22054" PostTypeId="2" ParentId="22043" CreationDate="2019-09-13T20:32:39.803" Score="0" Body="&lt;p&gt;I changed a few things and can no longer replicate the error. Most likely candidates:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Associated the site to the identity provider:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;federatedAuthentication&amp;gt;&#xA;      &amp;lt;identityProvidersPerSites&amp;gt;&#xA;        &amp;lt;mapEntry name=&quot;ClientSitecom&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site&amp;gt;ClientSitecom&amp;lt;/site&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;          &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;            &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='Facebook']&quot;/&amp;gt;&#xA;          &amp;lt;/identityProviders&amp;gt;&#xA;          &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;true&amp;lt;/param&amp;gt;&#xA;          &amp;lt;/externalUserBuilder&amp;gt;&#xA;        &amp;lt;/mapEntry&amp;gt;&#xA;      &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;    &amp;lt;/federatedAuthentication&amp;gt;&#xA;    &amp;lt;sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;2) ensure the ServiceRegistration in the Account feature was populating the correct  properties of IContactFacetUpdater&lt;/p&gt;&#xA;" OwnerUserId="433" LastActivityDate="2019-09-13T20:32:39.803" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22055" PostTypeId="2" ParentId="18489" CreationDate="2019-09-13T22:16:19.617" Score="0" Body="&lt;p&gt;to expand links in RTE's for Web visitors and not for experience editor mode: developers usually make use of PageMode.IsExperienceEditor, PageMode.IsPreview, PageMode.IsNormal to render markup. And use the above method mentioned by [Mark Cassidy] for IsNormal/IsPreview modes as needed.&lt;/p&gt;&#xA;" OwnerUserId="2214" LastActivityDate="2019-09-13T22:16:19.617" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22056" PostTypeId="1" CreationDate="2019-09-14T06:45:34.793" Score="-1" ViewCount="6523" Body="&lt;p&gt;how to resolve this kind of issues? please help me&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;&gt; 30452  ERROR Application error. Exception: System.Web.HttpException&#xA;&gt; Message: A potentially dangerous Request.Path value was detected from&#xA;&gt; the client (&gt;).&#xA;&gt; &#xA;&gt; Source: System.Web    at&#xA;&gt; System.Web.HttpRequest.ValidateInputIfRequiredByConfig()    at&#xA;&gt; System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext&#xA;&gt; context)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="6032" LastEditorUserId="70" LastEditDate="2019-09-16T13:00:21.363" LastActivityDate="2023-10-08T21:35:43.280" Title="Message: A potentially dangerous Request.Path value was detected from the client (&gt;)" Tags="|urls|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22057" PostTypeId="2" ParentId="22015" CreationDate="2019-09-14T11:01:15.970" Score="1" Body="&lt;p&gt;For this purpose, I would use the &lt;code&gt;iframe&lt;/code&gt; field type, which is IMO the most flexible solution for custom field types. You can find more information about the iframe field type here:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/5287/cascading-droplist-field-in-sitecore/5289#5289&quot;&gt;Cascading Droplist field in Sitecore&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://trnktms.com/2017/04/06/sitecore-iframe-field-basics/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://trnktms.com/2017/04/06/sitecore-iframe-field-basics/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The advantege is that you have the full control of the presentation and stored data. With this solution you don't even need to create an index if the microservice contains search for the data you want to show.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2019-09-14T11:01:15.970" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22058" PostTypeId="2" ParentId="22056" CreationDate="2019-09-14T12:28:55.953" Score="2" Body="&lt;p&gt;ASP.NET implements various algorithms for securing ASP.NET websites against potentially malicious user requests, for example, by rejecting requests that contain characters susceptible to be used in XSS attacks, suspiciously long request paths, etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When potentially malicious requests hit a Sitecore website, they would result in different errors either shown to the website visitor or written to Sitecore log files.&#xA;You can see the multiple types of scenarios for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error you are getting comes when the requested URL contains invalid characters. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;You need to follow below steps to verify that the links you render on the pages do not contain the &lt;strong&gt;invalid characters&lt;/strong&gt; mentioned in the error message:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;For the links rendered using the Sitecore API, ensure that the &lt;strong&gt;encodeNameReplacements&lt;/strong&gt; block in the Web.config file contains the appropriate record:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;replace mode=&quot;on&quot; find=&quot;INVALID CHARACTER&quot; replaceWith=&quot;REPLACING CHARACTER&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For the links generated by custom code, manually verify that they do not contain these characters and their encoded counterparts.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In case you do want to use these characters in the path, add the &lt;strong&gt;requestPathInvalidCharacters&lt;/strong&gt; attribute to the &lt;strong&gt;httpRuntime&lt;/strong&gt; node in the &lt;code&gt;Web.config&lt;/code&gt; file as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;httpRuntime ... requestPathInvalidCharacters=&quot;&amp;amp;lt;,&amp;amp;gt;,*,%,&amp;amp;amp;,:,\,?&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Then exclude particular characters from this list.&#xA;For more see the Sitecore KB article - &lt;a href=&quot;https://kb.sitecore.net/articles/031258&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/031258&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-14T12:28:55.953" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22059" PostTypeId="2" ParentId="20851" CreationDate="2019-09-15T08:06:30.413" Score="1" Body="&lt;p&gt;I believe it goes back to how Commerce Engine works. Storefront talks to CE through the APIs and also Storefront settings are managed inside XP. Most of these settings are cached by the cache store. For example, the payment options are cached by the cache store inside commerce engine. If there will be a change in the payment options, we might want to clear the cache so the latest options are visible. &#xA;If you look at the commerce option in the ribbon of Content explorer, it gives you you the option to clear commerce cache. Most of the cases, we will be going through Sitecore to CE.&lt;/p&gt;&#xA;" OwnerUserId="1050" LastActivityDate="2019-09-15T08:06:30.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22062" PostTypeId="1" AcceptedAnswerId="22064" CreationDate="2019-09-15T17:08:36.333" Score="2" ViewCount="107" Body="&lt;p&gt;We are about to upgrade a solution from &lt;code&gt;Sitecore 9.1 to 9.2&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a way to keep xDB in MS SQL? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is MongoDB required and is it a bad idea to keep MS SQL?&lt;/p&gt;&#xA;" OwnerUserId="915" LastEditorUserId="5387" LastEditDate="2019-09-16T04:23:38.257" LastActivityDate="2019-09-16T04:23:38.257" Title="Can I keep xDB in MS SQL database when upgrading from 9.1 to 9.2?" Tags="|upgrade|" AnswerCount="3" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22064" PostTypeId="2" ParentId="22062" CreationDate="2019-09-15T22:29:21.110" Score="3" Body="&lt;p&gt;Yes. MongoDB is legacy support now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best Practice is to use MS SQL for xConnect and xDB.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-09-15T22:29:21.110" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22065" PostTypeId="2" ParentId="10627" CreationDate="2019-09-16T00:05:56.027" Score="2" Body="&lt;p&gt;Disable Suggested Tests. We improved experience editor  performance drastically disabling the same. Below two options suggested by Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Deny Read access to the item &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Optimization/Lists/Suggested Tests&lt;/code&gt; in &lt;code&gt;core&lt;/code&gt; database. As a result, the button remains working for admin users.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Archive the item &lt;code&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Optimization/Lists/Suggested Tests&lt;/code&gt; in &lt;code&gt;core&lt;/code&gt; database. This approach removes the button completely for all users.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="6036" LastEditorUserId="172" LastEditDate="2019-09-30T14:37:59.453" LastActivityDate="2019-09-30T14:37:59.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22066" PostTypeId="2" ParentId="22062" CreationDate="2019-09-16T03:23:43.320" Score="4" Body="&lt;p&gt;You are on Sitecore 9.1 with xDB already in SQL and upgrading to Sitecore 9.2 than you don't require to use MongoDB. Even best practice is to use MS SQL or SQL Azure for xConnect and xDB, we generally try to avoid MongoDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The xDB Collection database can be hosted on:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SQL Server&lt;/li&gt;&#xA;&lt;li&gt;SQL Azure&lt;/li&gt;&#xA;&lt;li&gt;MongoDB (Sitecore 9.0 Update 2 and later)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;But if you really want to use the MongoDB, I would suggest you to go with MongoDB considerations - &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/mongodb-considerations.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/mongodb-considerations.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-16T03:23:43.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22067" PostTypeId="1" AcceptedAnswerId="22070" CreationDate="2019-09-16T03:52:55.707" Score="0" ViewCount="1735" Body="&lt;p&gt;I want to call async method inside the ActionResult. This is how my code looks like &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public HomeController :  GlassController&#xA;{&#xA;     public override Task&amp;lt;ActionResult&amp;gt; Index()&#xA;      {&#xA;         //code&#xA;         vm.parkData=await _parkService.GetSpots(siteId);&#xA;         //code&#xA;      }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since &lt;code&gt;GetSpots&lt;/code&gt; is an async method so I have added the &lt;code&gt;await&lt;/code&gt; operator and I change ActionReult from &lt;code&gt;public override ActionResult Index()&lt;/code&gt;  to &lt;code&gt;public override async Task&amp;lt;ActionResult&amp;gt; Index()&lt;/code&gt; to support the async method&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I am getting an error &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;'HomeController.Index()': return type must be 'ActionResult' to match overridden member 'SitecoreController.Index()'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Since my &lt;code&gt;HomeController&lt;/code&gt; is inheriting &lt;code&gt;GlassController&lt;/code&gt; and &lt;code&gt;GlassController&lt;/code&gt; is inheriting &lt;code&gt;SitecoreContoller&lt;/code&gt;. The &lt;code&gt;SitecoreController&lt;/code&gt; does not have any async index method so I am getting the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way I can call the &lt;code&gt;GetSports&lt;/code&gt; async method inside the index &lt;code&gt;Action Index() method&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help or suggestions would be appreciated&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks in advance&lt;/p&gt;&#xA;" OwnerDisplayName="user2980" LastActivityDate="2020-08-21T07:41:48.410" Title="Calling async method inside action index() method" Tags="|mvc|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22068" PostTypeId="2" ParentId="20670" CreationDate="2019-09-16T04:06:10.610" Score="0" Body="&lt;p&gt;Make sure you check the XC-Install.log file for more detailed information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case, I made a mistake on the SitecoreDbServer parameter in Deploy-Sitecore-Commerce.ps1.&lt;/p&gt;&#xA;" OwnerUserId="2716" LastActivityDate="2019-09-16T04:06:10.610" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22069" PostTypeId="2" ParentId="22062" CreationDate="2019-09-16T04:15:27.133" Score="0" Body="&lt;p&gt;Sitecore 9.2 gives you both options but doesn't enforce. If you have SQL in 9.1, you can keep it the same.&lt;/p&gt;&#xA;" OwnerUserId="1050" LastActivityDate="2019-09-16T04:15:27.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22070" PostTypeId="2" ParentId="22067" CreationDate="2019-09-16T04:19:40.093" Score="2" Body="&lt;p&gt;Sitecore &lt;strong&gt;does not support Async controller rendering&lt;/strong&gt;. but from the Sitecore 8.2 it supports async MVC controllers. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to use async actions, you need to use it outside of Sitecore contexts by indirectly invoked controllers via &lt;strong&gt;non-Sitecore routes&lt;/strong&gt; or &lt;code&gt;Html.RenderAction()&lt;/code&gt; on a Sitecore rendering.&#xA;one other option is to use the AJAX base on your requirements.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-16T04:19:40.093" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22072" PostTypeId="1" CreationDate="2019-09-16T05:18:38.450" Score="3" ViewCount="214" Body="&lt;p&gt;Where can I View/Configure the data related to shipping Charges that is visible on the Storefront at checkout ? I want to change the default shipping cost values to my custom values. Please help me out with a way of doing it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/r8wWL.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/r8wWL.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5845" LastEditorUserId="5845" LastEditDate="2019-09-16T06:11:10.683" LastActivityDate="2019-09-16T06:11:10.683" Title="Where is shipping cost configured in Sitecore Commerce?" Tags="|sitecore-commerce|sxa-storefront|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22073" PostTypeId="2" ParentId="22072" CreationDate="2019-09-16T05:38:59.667" Score="2" Body="&lt;p&gt;You should configure GlobalPhysicalFulfillmentPolicy inside commerce engine services.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open folder CommerceAuthoring\wwwroot\data\Environments folder.&lt;/li&gt;&#xA;&lt;li&gt;Open environment files e.g. PlugIn.Habitat.CommerceAuthoring-1.0.0.json and PlugIn.Habitat.CommerceShops-1.0.0.json.&lt;/li&gt;&#xA;&lt;li&gt;Search policy &quot;GlobalPhysicalFulfillmentPolicy&quot; inside it and configure the correct amount values. (make sure you do the changes in correct environment files).&lt;/li&gt;&#xA;&lt;li&gt;Using Postman bootstrap commerce engine again.&lt;/li&gt;&#xA;&lt;li&gt;Restart IIS AppPools for Commerce engine services.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Try placing order in storefront, you should be able see the new amount.&lt;/p&gt;&#xA;" OwnerUserId="5111" LastActivityDate="2019-09-16T05:38:59.667" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="22074" PostTypeId="1" AcceptedAnswerId="22160" CreationDate="2019-09-16T07:09:18.457" Score="1" ViewCount="652" Body="&lt;p&gt;I have a list of departments (store, administration.. ). In my component I've set this list as the datasource for a droplist. One of the departments has name &quot;storeOutside&quot; and a display name &quot;Store/Outside&quot;. When I add this department to my component, the value in this field is set to &quot;storeOutside&quot; instead of the display name &quot;Store/Outside&quot;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I have to create a graphQL to get the displayname, or is there a way to get the displayname in the component?&lt;/p&gt;&#xA;" OwnerUserId="3039" LastActivityDate="2019-09-20T12:07:23.957" Title="Droplist item returns name instead of &quot;display name&quot; for the component" Tags="|jss|react|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22075" PostTypeId="1" AcceptedAnswerId="22143" CreationDate="2019-09-16T07:19:16.250" Score="0" ViewCount="547" Body="&lt;p&gt;I am trying to create a carousel in Sitecore 8.2. I have created a carousel item with the &lt;strong&gt;Image&lt;/strong&gt; and &lt;strong&gt;Text&lt;/strong&gt; fields and these carousel items are mapped to Multilist. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am getting a null reference error while rendering the &lt;code&gt;multilist&lt;/code&gt; items in Visual Studio.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My View code:&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;div id=&quot;home-carousel&quot; class=&quot;jcarousel-wrapper&quot;&amp;gt;&#xA;&amp;lt;a href=&quot;#&quot; class=&quot;jcarousel-control-prev&quot;&amp;gt;&amp;amp;lsaquo;&amp;lt;/a&amp;gt;&#xA;&amp;lt;a href=&quot;#&quot; class=&quot;jcarousel-control-next&quot;&amp;gt;&amp;amp;rsaquo;&amp;lt;/a&amp;gt;&#xA;&#xA;&amp;lt;div class=&quot;jcarousel carousel-stage&quot;&amp;gt;&#xA;&amp;lt;asp:Repeater ID=&quot;rptCarousel&quot; ItemType=&quot;Sitecore.Data.Items.Item&quot; runat=&quot;server&quot;&amp;gt;&#xA;&amp;lt;HeaderTemplate&amp;gt;&#xA;&amp;lt;ul class=&quot;carousel&quot;&amp;gt;&#xA;&amp;lt;/HeaderTemplate&amp;gt;&#xA;&#xA;&amp;lt;ItemTemplate&amp;gt;&#xA;&amp;lt;li&amp;gt;&#xA;&amp;lt;sc:Image Field=&quot;Carousel Image&quot; Item=&quot;&amp;lt;%# Container.DataItem %&amp;gt;&quot; runat=&quot;server&quot; /&amp;gt;&#xA;&amp;lt;sc:Text Field=&quot;Carousel Text&quot; Item=&quot;&amp;lt;%# Container.DataItem %&amp;gt;&quot; runat=&quot;server&quot; /&amp;gt;&#xA;&amp;lt;/li&amp;gt;&#xA;&amp;lt;/ItemTemplate&amp;gt;&#xA;&amp;lt;FooterTemplate&amp;gt;&#xA;&amp;lt;/ul&amp;gt;&#xA;&amp;lt;/FooterTemplate&amp;gt;&#xA;&amp;lt;/asp:Repeater&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My back-end code:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class carousel : System.Web.UI.UserControl&#xA;    {&#xA;        protected void Page_Load(object sender, EventArgs e)&#xA;        {&#xA;            var sublayout = Parent as Sublayout;&#xA;            var datasource = sublayout.DataSource;&#xA;            Item Carousel = Sitecore.Context.Database.GetItem(datasource);&#xA;            Item[] item = Carousel.Children.ToArray();&#xA;            rptCarousel.DataSource = item;&#xA;            rptCarousel.DataBind();&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vyl5k.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vyl5k.png&quot; alt=&quot;Sitecore Content&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RRTta.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RRTta.png&quot; alt=&quot;Carousel Template&quot;&gt;&lt;/a&gt;&#xA;&lt;strong&gt;UPDATE CODE FROM COMMENT&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.MultilistField multilistField = Sitecore.Context.Item.Fields[&quot;Select Item&quot;]; &#xA;if (multilistField != null &amp;amp;&amp;amp; multilistField.TargetIDs.Any()) &#xA;{&#xA;    foreach (ID id in multilistField.TargetIDs)&#xA;    {&#xA;        Item targetItem = Sitecore.Context.Database.Items[id];&#xA;        Item[] item = targetItem.Children.ToArray();&#xA;        rptCarousel.DataSource = item; &#xA;        rptCarousel.DataBind(); &#xA;    } &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2144" LastEditorUserId="605" LastEditDate="2019-09-19T21:01:01.120" LastActivityDate="2019-09-20T20:15:09.877" Title="Getting a NullReferenceException error while rendering a multilist field value" Tags="|sitecore-api|" AnswerCount="1" CommentCount="8" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22078" PostTypeId="2" ParentId="20626" CreationDate="2019-09-16T08:26:32.130" Score="1" Body="&lt;p&gt;A workaround for this has been found on the basis of the answer posted on my question asked in the Sitecore community.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the general link field, the data source for the home node was passed below which all the pages are present. Now the tree is opening so that page can be selected now.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pTgnc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pTgnc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2983" LastActivityDate="2019-09-16T08:26:32.130" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22079" PostTypeId="2" ParentId="20628" CreationDate="2019-09-16T10:05:27.270" Score="1" Body="&lt;p&gt;The source of the the &lt;code&gt;wwwroot&lt;/code&gt; being empty for the &lt;code&gt;IdentityServer&lt;/code&gt; was that the wrong web deploy package was used for the &lt;code&gt;IdentityServer&lt;/code&gt; param in the &lt;code&gt;parameters.json&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;siMsDeployPackageUrl&quot;: {&#xA;      &quot;value&quot;: &quot;&amp;lt;url of your sitecore identity server deploy package&amp;gt;/Sitecore.IdentityServer.2.0.1-r00166.scwdp.zip&quot;&#xA;    },&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The web deploy package of the &lt;code&gt;IdentityServer&lt;/code&gt; is a separate download from the rest of Sitecore Web Deploy Packages and can be found here - &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Identity.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Identity.aspx&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once downloaded, upload the &lt;code&gt;Sitecore.IdentityServer.scwdp.zip&lt;/code&gt; to the same location as your other web deploy packages and reference it in your &lt;code&gt;parameters.json&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="145" LastActivityDate="2019-09-16T10:05:27.270" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22080" PostTypeId="1" CreationDate="2019-09-16T12:46:49.040" Score="0" ViewCount="610" Body="&lt;p&gt;My problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The code in solution contains an Enum type that is used to render some view and needs to be configured for different items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am looking for a way to create a custom checkbox field to be able to select multiple enum values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Assumptions:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Populate the custom field using Enum values from code&lt;/li&gt;&#xA;&lt;li&gt;Avoid creating items in Sitecore that would reflect this Enum to avoid code duplication&lt;/li&gt;&#xA;&lt;li&gt;Provide an Enum Type by filling the Data Source field in Template.&lt;/li&gt;&#xA;&lt;li&gt;Make it working :)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Is there a simple way to create it?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards&lt;/p&gt;&#xA;" OwnerUserId="4294" LastEditorUserId="4050" LastEditDate="2019-10-17T00:55:13.097" LastActivityDate="2019-11-16T01:01:25.200" Title="Custom checkbox field for Enum C# Type" Tags="|content-editor|custom-field|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22081" PostTypeId="2" ParentId="22080" CreationDate="2019-09-16T12:46:49.040" Score="2" Body="&lt;p&gt;I have managed to create a solution for that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please find code below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class EnumCheckList : Checklist&#xA;{&#xA;    public string Source { get; set; }&#xA;&#xA;    protected override void OnLoad(EventArgs e)&#xA;    {&#xA;        if (Sitecore.Context.ClientPage.IsEvent)&#xA;        {&#xA;            ReadCheckedItemsFromRequest();&#xA;        }&#xA;        else&#xA;        {&#xA;            if (Controls.Count != 0 || string.IsNullOrWhiteSpace(Source))&#xA;                return;&#xA;&#xA;            try&#xA;            {&#xA;                var enumType = Type.GetType(Source);&#xA;                if (enumType == null)&#xA;                    return;&#xA;&#xA;                RenderCheckListItems(enumType);&#xA;            }&#xA;            catch&#xA;            {&#xA;                Controls.Add(new ListItem() {Header = &quot;Could not load enum for &quot; + Source});&#xA;                return;&#xA;            }&#xA;        }&#xA;&#xA;        base.OnLoad(e);&#xA;    }&#xA;&#xA;    private void RenderCheckListItems(Type enumType)&#xA;    {&#xA;        foreach (Enum val in Enum.GetValues(enumType))&#xA;        {&#xA;            var item = new ChecklistItem()&#xA;            {&#xA;                ID = GetIdForEnum(val, enumType),&#xA;                Header = val.GetDescription(),&#xA;                Value = val.ToString(),&#xA;                Checked = this.Value.ToLower().Contains(val.ToString().ToLower())&#xA;            };&#xA;            this.Controls.Add(item);&#xA;        }&#xA;    }&#xA;&#xA;    private void ReadCheckedItemsFromRequest()&#xA;    {&#xA;        var values = this.Context.Request.Form.AllKeys&#xA;            .Where(key =&amp;gt; key.HasValue())&#xA;            .Where(key =&amp;gt; key.Contains(this.ID))&#xA;            .Select(GetValueFromID)&#xA;            .ToList();&#xA;&#xA;        var value = string.Join(&quot;,&quot;, values);&#xA;&#xA;        Sitecore.Context.ClientPage.Modified = Value != value;&#xA;        if (value != Value)&#xA;            this.Value = value;&#xA;    }&#xA;&#xA;    private string GetIdForEnum(Enum item, Type enumType)&#xA;    {&#xA;        return this.ID + &quot;.&quot; + enumType.Namespace + &quot;.&quot; + enumType.Name + &quot;_&quot; + item;&#xA;    }&#xA;&#xA;    private string GetValueFromID(string id)&#xA;    {&#xA;        return id.Substring(id.IndexOf(&quot;_&quot;, StringComparison.InvariantCulture) + 1);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this will help anyone.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Best regards&lt;/p&gt;&#xA;" OwnerUserId="4294" LastActivityDate="2019-09-16T12:46:49.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22082" PostTypeId="1" AcceptedAnswerId="22155" CreationDate="2019-09-16T12:51:37.190" Score="0" ViewCount="507" Body="&lt;p&gt;I need to extend the workbox for additional filters like Language and editor filter. I've not found any working module for Sitecore 9.0 update 2.&lt;/p&gt;&#xA;&lt;p&gt;So I would try to do it myself. But I need to know how can I see if the UI I want to extend is SPEAK layout or Sheer UI in the workbox?&lt;/p&gt;&#xA;&lt;p&gt;Perhaps someone got a good link as a starting point on how to extend the workbox with Sitecore 9.&lt;/p&gt;&#xA;&lt;p&gt;So I've found a good blog post &lt;a href=&quot;https://sitecoreinfoexpert.wordpress.com/2017/01/30/adding-language-filter-on-items-in-sitecore-workbox/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoreinfoexpert.wordpress.com/2017/01/30/adding-language-filter-on-items-in-sitecore-workbox/&lt;/a&gt; but I still got some problems. So I will post here what I've done so far and what my current problem is.&lt;/p&gt;&#xA;&lt;p&gt;I've created the Form that the Language filter is shown in the Workbox and registered it in the core Database &amp;quot;/sitecore/content/Applications/Workbox/Ribbon/Home/Language Filter&amp;quot; (I've just copied the &amp;quot;view&amp;quot; entry and renamed it)&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xvz5L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xvz5L.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;in the language, Item add the namespace for our ribbon control&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/2aFFd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2aFFd.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;WorkboxLanguageFilter.cs:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class WorkboxLanguageFilter : RibbonPanel&#xA;{&#xA;        public override void Render(HtmlTextWriter output, Ribbon ribbon, Item button, CommandContext context)&#xA;        {&#xA;            Sitecore.Data.Database masterDB = Sitecore.Configuration.Factory.GetDatabase(&amp;quot;master&amp;quot;);&#xA;            IEnumerable languages = LanguageManager.GetLanguages(masterDB);         &#xA;&#xA;            string @Language = Registry.GetString(&amp;quot;/Current_User/Workbox/Language&amp;quot;, &amp;quot;All&amp;quot;);&#xA;            output.Write(&amp;quot;&amp;lt;div class=\&amp;quot;scRibbonToolbarPanel\&amp;quot;&amp;gt;&amp;quot;);&#xA;            output.Write(&amp;quot;&amp;lt;table class=\&amp;quot;scWorkboxPageSize\&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td class=\&amp;quot;scWorkboxPageSizeLabel\&amp;quot;&amp;gt;&amp;quot;);&#xA;            output.Write(Translate.Text(&amp;quot;Select Language:&amp;quot;));&#xA;            output.Write(&amp;quot;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;);&#xA;            output.Write(&amp;quot;&amp;lt;select class=\&amp;quot;scWorkboxPageSizeCombobox\&amp;quot; id=\&amp;quot;lang\&amp;quot; onchange='javascript:scForm.invoke(\&amp;quot;Language_Change\&amp;quot;)'&amp;gt;&amp;quot;);&#xA;            output.Write(&amp;quot;&amp;lt;option value=\&amp;quot;All\&amp;quot;&amp;quot; + (@Language == &amp;quot;All&amp;quot; ? &amp;quot; selected=\&amp;quot;selected\&amp;quot;&amp;quot; : string.Empty) + &amp;quot;&amp;gt;All&amp;lt;/option&amp;gt;&amp;quot;);&#xA;            foreach (Language language in languages)&#xA;            {&#xA;                string LangName = language.CultureInfo.DisplayName;&#xA;                output.Write(&amp;quot;&amp;lt;option value=\&amp;quot;&amp;quot; + language.CultureInfo.Name + &amp;quot;\&amp;quot;&amp;quot; + (@Language == language.CultureInfo.Name ? &amp;quot; selected=\&amp;quot;selected\&amp;quot;&amp;quot; : string.Empty) + &amp;quot;&amp;gt;&amp;quot; + LangName + &amp;quot;&amp;lt;/option&amp;gt;&amp;quot;);&#xA;            }&#xA;            output.Write(&amp;quot;&amp;lt;/select&amp;gt;&amp;quot;);&#xA;            output.Write(&amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;quot;);&#xA;            output.Write(&amp;quot;&amp;lt;/div&amp;gt;&amp;quot;);&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&lt;p&gt;Then I've decompiled the SitecoreClient.dll (Sitecore.Shell.Applications.Workbox.WorkboxForm) and have overwritten like described the GetItems function&lt;/p&gt;&#xA;&lt;p&gt;AdvancedWorkboxForm.cs:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class AdvancedWorkboxForm : WorkboxForm&#xA;{&#xA;    public string SelectedLanguage&#xA;    {&#xA;        get&#xA;        {&#xA;            return Registry.GetString(&amp;quot;/Current_User/Workbox/Language&amp;quot;, &amp;quot;All&amp;quot;);&#xA;        }&#xA;        set&#xA;        {&#xA;            Registry.SetString(&amp;quot;/Current_User/Workbox/Language&amp;quot;, value);&#xA;        }&#xA;    }&#xA;&#xA;    protected void Language_Change()&#xA;    {&#xA;        this.SelectedLanguage = Context.ClientPage.ClientRequest.Form[&amp;quot;lang&amp;quot;];&#xA;        this.Refresh();&#xA;    }&#xA;&#xA;    protected override DataUri[] GetItems(WorkflowState state, IWorkflow workflow)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)state, &amp;quot;state&amp;quot;);&#xA;        Assert.ArgumentNotNull((object)workflow, &amp;quot;workflow&amp;quot;);&#xA;        &#xA;        ArrayList arrayList = new ArrayList();&#xA;        DataUri[] items = workflow.GetItems(state.StateID);&#xA;        if (items == null || items.Length == 0)&#xA;        {&#xA;            return new DataUri[0];&#xA;        }&#xA;&#xA;        foreach (DataUri index in items)&#xA;        {&#xA;            Item obj = Context.ContentDatabase.Items[index];&#xA;            if (SelectedLanguage == &amp;quot;All&amp;quot;)&#xA;            {&#xA;                if (obj != null &amp;amp;&amp;amp; obj.Access.CanRead() &amp;amp;&amp;amp; (obj.Access.CanReadLanguage() &amp;amp;&amp;amp; obj.Access.CanWriteLanguage()) &amp;amp;&amp;amp; (Context.IsAdministrator || obj.Locking.CanLock() || obj.Locking.HasLock()))&#xA;                {&#xA;                    arrayList.Add((object)index);&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                if (obj != null &amp;amp;&amp;amp; obj.Language.CultureInfo.Name == SelectedLanguage &amp;amp;&amp;amp; obj.Access.CanRead() &amp;amp;&amp;amp; (obj.Access.CanReadLanguage() &amp;amp;&amp;amp; obj.Access.CanWriteLanguage()) &amp;amp;&amp;amp; (Context.IsAdministrator || obj.Locking.CanLock() || obj.Locking.HasLock()))&#xA;                {&#xA;                    arrayList.Add((object)index);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        return arrayList.ToArray(typeof(DataUri)) as DataUri[];&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;then I've registered my new component in the &amp;quot;sitecore\shell\Applications\Workbox\Workbox.xml&amp;quot; and removed the old registration&lt;/p&gt;&#xA;&#xA;  &#xA;    &#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;!--Custom Code START--&amp;gt;&#xA;&amp;lt;CodeBeside Type=&amp;quot;YourNamespace.Workflow.Workbox.AdvancedWorkboxForm,YourAssemblyName.Foundation.Workflow&amp;quot;/&amp;gt;&#xA;&amp;lt;!--Custom Code ENDE--&amp;gt;&#xA;&#xA;&amp;lt;!--ORIGNAL CODE START --&amp;gt;&#xA;&amp;lt;!--&amp;lt;CodeBeside Type=&amp;quot;Sitecore.Shell.Applications.Workbox.WorkboxForm,Sitecore.Client&amp;quot;/&amp;gt;--&amp;gt;&#xA;&amp;lt;!--ORIGNAL CODE ENDE --&amp;gt;&#xA;&amp;lt;Stylesheet Src=&amp;quot;Content Manager.css&amp;quot; DeviceDependant=&amp;quot;true&amp;quot;/&amp;gt;&#xA;&amp;lt;Stylesheet Src=&amp;quot;Ribbon.css&amp;quot; DeviceDependant=&amp;quot;true&amp;quot;/&amp;gt;&#xA;&amp;lt;Stylesheet Src=&amp;quot;Workbox.css&amp;quot; DeviceDependant=&amp;quot;true&amp;quot;/&amp;gt;&#xA;&amp;lt;Stylesheet Src=&amp;quot;/sitecore/shell/themes/navigator.css&amp;quot;/&amp;gt;&#xA;&amp;lt;Script Src=&amp;quot;/sitecore/shell/Applications/Content Manager/Content Editor.js&amp;quot;/&amp;gt;&#xA; ....&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;My current problem is, that the GetItems method is never called in the &amp;quot;AdvancedWorkboxForm.cs&amp;quot; which I've overwritten as described in the blog post.&lt;/p&gt;&#xA;&lt;p&gt;Solution: is not to try to overwrite the method like described in the blog post. You need to use the complete decompiled class and you need to overwrite two functions and not one like described in the blogpost.&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="4050" LastEditDate="2021-10-07T16:48:15.890" LastActivityDate="2021-10-07T16:48:15.890" Title="Extend Workbox with Language filter" Tags="|speak|sheer-ui|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22083" PostTypeId="2" ParentId="19304" CreationDate="2019-09-16T14:16:36.270" Score="2" Body="&lt;p&gt;From the feedback received from @Haneen Daoud, I have looked at my corrupted cores in slave Solr. I see all the folders for the corrupted cores are present and understood from the logs that one of the segments of index is corrupted because of 100% memory utilization happened which is because of few error logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I see conf, data folders and core.properties text file in the /var/Solr/data/Sitecore_analytics_index core. Data folder under path /var/Solr/data/Sitecore_analytics_index has the index folder and index.properties, replication.properties text files. I have deleted this data folder and restarted solr and this fixed the issue.&lt;/p&gt;&#xA;" OwnerUserId="3472" LastEditorUserId="3472" LastEditDate="2019-09-16T14:45:16.120" LastActivityDate="2019-09-16T14:45:16.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22085" PostTypeId="1" CreationDate="2019-09-16T14:36:45.323" Score="-1" ViewCount="33" Body="&lt;p&gt;Using Sitecore 8.2. I have a number of WFFM forms. On one of my forms, I've added a droplist with manually entered options. The last option is supposed to have a plus sign, e.g. &quot;50,000+&quot;. However when I click OK, the plus signs are stripped from the Value and Text. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ehQ3q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ehQ3q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2019-09-16T14:44:27.783" LastActivityDate="2019-10-17T01:01:25.187" Title="WFFM Drop List strips symbols from manually entered options" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22086" PostTypeId="1" AcceptedAnswerId="22103" CreationDate="2019-09-16T16:04:27.093" Score="0" ViewCount="350" Body="&lt;p&gt;I'm using sitecore 9.1.1. I have a scenario in which i want to trigger an action when a file is uploaded to the media library and trigger another action when i re attach a file to the previously uploaded file. &#xA;I was able to customize the &quot;uiUpload Processor&quot; in order to trigger the first action when a file is uploaded. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZgSDw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZgSDw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a similar way to customize the &quot;attach&quot; action??&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0tXBr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0tXBr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3650" LastEditorUserId="73" LastEditDate="2019-09-16T16:25:52.847" LastActivityDate="2019-09-17T08:05:01.537" Title="Trigger an action when attaching file to Media Library" Tags="|media-library|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22087" PostTypeId="2" ParentId="22086" CreationDate="2019-09-16T16:11:37.960" Score="2" Body="&lt;p&gt;It has been a while, if I am remembering correctly attach action will run the following pipeline you could potentially extend. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;attachFile argsType=&quot;Sitecore.Pipelines.Attach.AttachArgs&quot;&amp;gt;&#xA;&amp;lt;/attachFile&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="283" LastActivityDate="2019-09-16T16:11:37.960" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22088" PostTypeId="1" CreationDate="2019-09-16T16:47:06.187" Score="0" ViewCount="238" Body="&lt;p&gt;I was under the impression that when viewing a sitecore site locally it would render on the client if not being viewed in the experience editor. I'm trying to read/write from a cookie in one of my components and I'm getting the following exception. Any thoughts?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Component function:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    createUserInfo(props) {&#xA;        let userInfo;&#xA;        if (!props.sitecoreContext.pageEditing) {&#xA;            if (!document.cookie.includes('Id')) {&#xA;                let href = window.location.href;&#xA;                const url = this.parseUrl(href);&#xA;                this.createCookie(url);&#xA;                userInfo = this.getUserInfoFromCookie()&#xA;            } else {&#xA;                userInfo = this.getUserInfoFromCookie()&#xA;            }&#xA;        } else {&#xA;            userInfo = {&#xA;                Id: `Dynamic Content`,&#xA;                email: `Dynamic Content`,&#xA;            }&#xA;        }&#xA;&#xA;        this.setState({userInfo: userInfo})&#xA;    };&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;2448 12:13:55 ERROR Failed to render rendering&#xA;Exception: Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.NodeInvocationException&#xA;Message: document is not defined&#xA;ReferenceError: document is not defined&#xA;    at _class.createUserInfo (C:\inetpub\wwwroot\pub.grange.local\dist\grange-agent-scanner-jss\server.bundle.js:50013:13)&#xA;    at _class.componentWillMount (C:\inetpub\wwwroot\pub.grange.local\dist\grange-agent-scanner-jss\server.bundle.js:49999:16)&#xA;    at c (C:\inetpub\wwwroot\pub.grange.local\dist\grange-agent-scanner-jss\server.bundle.js:18698:337)&#xA;    at Ga (C:\inetpub\wwwroot\pub.grange.local\dist\grange-agent-scanner-jss\server.bundle.js:18700:1)&#xA;    at a.render (C:\inetpub\wwwroot\pub.grange.local\dist\grange-agent-scanner-jss\server.bundle.js:18705:367)&#xA;    at a.read (C:\inetpub\wwwroot\pub.grange.local\dist\grange-agent-scanner-jss\server.bundle.js:18704:450)&#xA;    at renderToString (C:\inetpub\wwwroot\pub.grange.local\dist\grange-agent-scanner-jss\server.bundle.js:18716:82)&#xA;    at process (C:\inetpub\wwwroot\pub.grange.local\dist\grange-agent-scanner-jss\server.bundle.js:37965:20)&#xA;    at &amp;lt;anonymous&amp;gt;&#xA;    at process._tickCallback (internal/process/next_tick.js:188:7)&#xA;Source: Sitecore.JavaScriptServices.ViewEngine.NodeServices&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.Http.HttpNodeInstance.InvokeExport[T](NodeInvocationInfo invocationInfo)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.HostingModels.OutOfProcessNodeInstance.InvokeExport[T](String moduleName, String exportNameOrNull, Object[] args)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExportWithPossibleRetry[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.NodeServices.DefaultNodeServices.InvokeExport[T](String moduleName, String exportedFunctionName, Object[] args)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.Node.NodeRenderEngine.Invoke[T](String moduleName, String functionName, Object[] functionArgs)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.PerformRender(TextWriter writer, IRenderEngine renderEngine, String moduleName, String functionName, Object[] functionArgs)&#xA;   at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.Render(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Resp&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5931" LastEditorUserId="5931" LastEditDate="2019-09-16T17:14:39.237" LastActivityDate="2019-09-16T17:17:34.550" Title="Why is jss app being server rendered when not in edit mode?" Tags="|jss|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22090" PostTypeId="2" ParentId="21990" CreationDate="2019-09-16T17:12:13.847" Score="0" Body="&lt;p&gt;Sitecore did send me a patch and it solved the issue. If the user is locked out and the user clicks the &quot;Forget your Password?&quot; link, the site does not throw an error message anymore. It displays the login page with a message.However, the system does not send a new password for locked out users. Sitecore admins need to unlock the user. &lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jMLlQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jMLlQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-09-16T17:12:13.847" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22095" PostTypeId="2" ParentId="22021" CreationDate="2019-09-16T23:39:39.783" Score="0" Body="&lt;p&gt;Just make sure &amp;quot;&lt;strong&gt;_local&lt;/strong&gt;&amp;quot; is the actual item name in your case, following worked fine for me in the &amp;quot;Datasource location&amp;quot; rendering def. field:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;query:.//*[@@name='**local**']&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="200" LastEditorUserId="4817" LastEditDate="2022-10-02T06:54:42.000" LastActivityDate="2022-10-02T06:54:42.000" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22097" PostTypeId="2" ParentId="22085" CreationDate="2019-09-17T00:11:37.130" Score="1" Body="&lt;p&gt;As a workaround look for drop-list field you added in Sitecore content tree, look for a field called &quot;Localized Parameters&quot;, you will find the manually entered values there, search for &lt;strong&gt;25000+&lt;/strong&gt; and replace it with &lt;strong&gt;25000%2B&lt;/strong&gt;. it looks like the + is encoded into space.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Make sure to test this on testing enviroment first, A-Z, display, submission, and reports.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="200" LastActivityDate="2019-09-17T00:11:37.130" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22098" PostTypeId="1" CreationDate="2019-09-17T06:17:17.487" Score="1" ViewCount="80" Body="&lt;p&gt;Where do I find/configure/change the discount values that appear on the default sxa storefront on checkout? &lt;a href=&quot;https://i.stack.imgur.com/2sZXA.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/2sZXA.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5845" LastEditorUserId="5845" LastEditDate="2019-09-17T10:27:50.953" LastActivityDate="2019-09-17T10:27:50.953" Title="Where is Discount configured in Sitecore Commerce?" Tags="|sitecore-commerce|sxa-storefront|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22099" PostTypeId="1" CreationDate="2019-09-17T06:24:18.303" Score="0" ViewCount="186" Body="&lt;p&gt;We are looking for some suggestions on the folder structure to make the components shared across multiple sites. At the moment if we deploy the components to Sitecore, it’s getting created under the specific project folder for the templates and renderings.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/x63kZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/x63kZ.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Is it possible to deploy the components into Common Section or a Shared components folder under Templates and Renderings? So that it can be shared across &lt;code&gt;multiple sites/applications&lt;/code&gt;&#xA;Also would like to know, whether the approach we are looking for is right?&lt;/p&gt;&#xA;" OwnerUserId="6049" LastEditorUserId="5387" LastEditDate="2021-06-09T05:42:42.387" LastActivityDate="2021-06-09T05:42:42.387" Title="Deploy components into Common/ Shared folder" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22100" PostTypeId="1" CreationDate="2019-09-17T06:43:48.170" Score="2" ViewCount="212" Body="&lt;p&gt;Following the Sitecore documentation, if &lt;code&gt;Sitecore.Analytics.Lookups.IpHashProvider&lt;/code&gt; is set then the IP addresses will be in hashed. My configuration file contains value as below:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;add name=&quot;default&quot; salt=&quot;f54RYb4RT4ylVC&quot; type=&quot;Sitecore.Analytics.Lookups.IpHashProvider, Sitecore.Analytics&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But if I query my database using the following query:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-sql prettyprint-override&quot;&gt;&lt;code&gt;SELECT InteractionId, LastModified, IpAddress, Country, City, Latitude, Longitude&#xA;  FROM [Prod_Xdb.Collection.Shard0].[xdb_collection].[InteractionFacets]&#xA;&#xA;  CROSS APPLY OPENJSON (FacetData)&#xA;    with (&#xA;      IpAddress nvarchar(max) N'$.IpAddress', &#xA;      Country nvarchar(max) N'$.Country', &#xA;      City nvarchar(max) N'$.City', &#xA;      Latitude nvarchar(max) N'$.Latitude', &#xA;      Longitude nvarchar(max) N'$.Longitude'                     &#xA;    )&#xA;&#xA;  WHERE FacetKey = 'IpInfo'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then I can see the ip addresses stored in clear text, data such as &lt;em&gt;10.11.120.8&lt;/em&gt; which is not hashed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a different configuration that needs to be set?&lt;/p&gt;&#xA;" OwnerUserId="2319" LastEditorUserId="135" LastEditDate="2019-09-17T13:39:04.660" LastActivityDate="2019-10-26T11:01:45.237" Title="Ip hashing in Sitecore" Tags="|configuration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22101" PostTypeId="2" ParentId="22099" CreationDate="2019-09-17T07:25:36.460" Score="1" Body="&lt;p&gt;If instead of vanilla JSS you would go with SXA JSS sites (SXA 1.9 has builtin support of JSS) then all of the components are shared across Tenant. This means you can use them in all sites of that tenant (just take care of placeholder settings items). For more details take a look here: &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/19/sitecore-experience-accelerator/en/managing-jss-apps-with-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Managing JSS apps with SXA&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Besides this integration with SXA will also give you:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SXA site management for JSS apps&lt;/li&gt;&#xA;&lt;li&gt;Cross-site presentation sharing using page designs and partial designs&lt;/li&gt;&#xA;&lt;li&gt;Cross-site content sharing&lt;/li&gt;&#xA;&lt;li&gt;Cross-site linking&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-09-17T07:25:36.460" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22102" PostTypeId="1" CreationDate="2019-09-17T08:04:58.007" Score="0" ViewCount="95" Body="&lt;p&gt;Working with Sitecore 9 (Update 1), SXA 1.7.1 and Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Components added on the page: &lt;code&gt;Map&lt;/code&gt;, &lt;code&gt;Location Finder&lt;/code&gt;, &lt;code&gt;Search Results&lt;/code&gt; (all components have the same search signature).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/42Pkw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/42Pkw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Search Query:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;https://mylocal.com/fr/sxa/search/results/?l=fr-FR&amp;amp;s={1AB997C8-36F9-4A14-81CD-02801D89B7CF}&amp;amp;itemid={839D6B67-A046-4E84-9F12-6E1BDDB4197C}&amp;amp;sig=&amp;amp;autoFireSearch=true&amp;amp;v={0EA6CE1F-3008-4783-95BF-E550C4CC2182}&amp;amp;p=20&amp;amp;g=48.856614|2.3522219000000177&amp;amp;o=Distance,Ascending&amp;amp;site=mylocal&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Log&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.BadRequestException&#xA;Message: Error in the request URI, headers, or body&#xA;Source: Sitecore.ContentSearch.Azure&#xA;   à Sitecore.ContentSearch.Azure.Http.SearchServiceClient.EnsureSuccessStatusCode(HttpResponseMessage response)&#xA;   à Sitecore.ContentSearch.Azure.Http.SearchServiceClient.Search(String expression)&#xA;   à Sitecore.ContentSearch.Azure.Http.CompositeSearchService.Search(String expression)&#xA;   à Sitecore.XA.Foundation.VersionSpecific.Search.Azure.LinqToCloudIndex1.Execute(CloudQuery query, Int32&amp;amp; countDoc, Int32&amp;amp; totalDoc, Dictionary2&amp;amp; facetResult)&#xA;   à Sitecore.XA.Foundation.VersionSpecific.Search.Azure.LinqToCloudIndex`1.ExecuteTResult&#xA;   à Sitecore.XA.Feature.Search.Controllers.SearchController.GetResults(String v, String q, String s, String l, String g, String o, Int32 e, Int32 p, String sig, String site, String itemid)&#xA;&#xA;Nested Exception&#xA;&#xA;Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException&#xA;Message: {&quot;error&quot;:{&quot;code&quot;:&quot;&quot;,&quot;message&quot;:&quot;Invalid expression: Unrecognized 'Edm.Geography' literal 'geography'Point(2,2908303 48,8870341)'' at '26' in 'geo.distance(geolocation, geography'Point(2,2908303 48,8870341)') lt 200' with reason 'Expecting token type \&quot;Number\&quot; with text \&quot;\&quot; but found \&quot;Type:[7] Text:[,]\&quot;.'.\r\nParameter name: $filter&quot;}}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3607" LastActivityDate="2019-09-17T08:04:58.007" Title="SXA Map throwing 400 Bad Request" Tags="|sxa|azure-search|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22103" PostTypeId="2" ParentId="22086" CreationDate="2019-09-17T08:05:01.537" Score="1" Body="&lt;p&gt;You can do this by creating a custom processor for &lt;code&gt;attachFile&lt;/code&gt; pipeline. Create a patch file like below - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;processors&amp;gt;&#xA;      &amp;lt;attachFile&amp;gt;&#xA;         //Add the patch:before type where you want to add your procesor&#xA;        &amp;lt;processor type=&quot;xyz.foundation.className,xyz.foundation&quot; mode=&quot;on&quot; patch:before=&quot;processor[@type='Sitecore.Pipelines.Attach.CheckSize,Sitecore.Kernel']&quot;/&amp;gt;&#xA;      &amp;lt;/attachFile&amp;gt;&#xA;    &amp;lt;/processors&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and code can be like this with pipeline arguments will be &lt;code&gt;AttachArgs&lt;/code&gt;, make sure to include &lt;code&gt;Sitecore.Pipelines.Attach&lt;/code&gt; namespace in class -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class className&#xA;{&#xA;    public void Process(AttachArgs args)&#xA;    {&#xA;        //Some condition&#xA;        if (args.MediaItem.Title != &quot;test&quot;)&#xA;        {&#xA;            //Some action&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-17T08:05:01.537" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22104" PostTypeId="1" CreationDate="2019-09-17T08:28:02.900" Score="1" ViewCount="160" Body="&lt;p&gt;I would need to implement search in BizFx tool by one field that is element/field of my custom component in Sitecore Commerce. &#xA;Here is json representation of Components element of SellableItem from database:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Components&quot;:{  &#xA;  &quot;$type&quot;:&quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Component, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;  &quot;$values&quot;:[  &#xA;     {  &#xA;        &quot;$type&quot;:&quot;Sitecore.Commerce.Plugin.ManagedLists.ListMembershipsComponent, Sitecore.Commerce.Plugin.ManagedLists&quot;,&#xA;        &quot;Memberships&quot;:{  &#xA;           &quot;$type&quot;:&quot;System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib&quot;,&#xA;           &quot;$values&quot;:[  &#xA;              &quot;SellableItems&quot;,&#xA;              &quot;CatalogItems&quot;&#xA;           ]&#xA;        },&#xA;        &quot;Id&quot;:&quot;f4deca2b02904894bbbac881db7f67b5&quot;,&#xA;        &quot;Name&quot;:&quot;&quot;,&#xA;        &quot;Comments&quot;:&quot;&quot;,&#xA;        &quot;Policies&quot;:{  &#xA;           &quot;$type&quot;:&quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;           &quot;$values&quot;:[  &#xA;&#xA;           ]&#xA;        },&#xA;        &quot;ChildComponents&quot;:{  &#xA;           &quot;$type&quot;:&quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Component, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;           &quot;$values&quot;:[  &#xA;&#xA;           ]&#xA;        }&#xA;     },&#xA;     {  &#xA;        &quot;$type&quot;:&quot;CustomNamespace.Commerce.Plugin.Model.CommonComponent, CustomNamespace.Commerce.Plugin.Model&quot;,&#xA;        &quot;CustomNewIdentifier&quot;:&quot;111222333&quot;,&#xA;        &quot;Id&quot;:&quot;8de810f441b24201b4c66bdf136c43f6&quot;,&#xA;        &quot;Name&quot;:&quot;&quot;,&#xA;        &quot;Comments&quot;:&quot;&quot;,&#xA;        &quot;Policies&quot;:{  &#xA;           &quot;$type&quot;:&quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;           &quot;$values&quot;:[  &#xA;&#xA;           ]&#xA;        },&#xA;        &quot;ChildComponents&quot;:{  &#xA;           &quot;$type&quot;:&quot;System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Component, Sitecore.Commerce.Core]], mscorlib&quot;,&#xA;           &quot;$values&quot;:[  &#xA;&#xA;           ]&#xA;        }&#xA;     }&#xA;&#xA;  ]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SellableItem contains custom component which type is CustomNamespace.Commerce.Plugin.Model.CommonComponent. This CommonComponent contains element CustomNewIdentifier. I have to implement search of SellableItems in BizFx tool by this custom element.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/1h63G.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1h63G.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I tried to add in PlugIn.Search.PolicySet-1.0.0.json new field CustomNewIdentifier. Here is part of this json:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;$type&quot;: &quot;Sitecore.Commerce.Plugin.Search.IndexablePolicy, Sitecore.Commerce.Plugin.Search&quot;,&#xA;    &quot;SearchScopeName&quot;: &quot;ourcustomCatalogItemsScope&quot;,&#xA;    &quot;Properties&quot;: {&#xA;      &quot;EntityId&quot;: {&#xA;        &quot;TypeName&quot;: &quot;System.String&quot;,&#xA;        &quot;IsKey&quot;: false,&#xA;        &quot;IsSearchable&quot;: true,&#xA;        &quot;IsFilterable&quot;: false,&#xA;        &quot;IsSortable&quot;: false,&#xA;        &quot;IsFacetable&quot;: false,&#xA;        &quot;IsRetrievable&quot;: true&#xA;      },&#xA;      &quot;SitecoreId&quot;: {&#xA;        &quot;TypeName&quot;: &quot;System.String&quot;,&#xA;        &quot;IsKey&quot;: true,&#xA;        &quot;IsSearchable&quot;: true,&#xA;        &quot;IsFilterable&quot;: false,&#xA;        &quot;IsSortable&quot;: false,&#xA;        &quot;IsFacetable&quot;: false,&#xA;        &quot;IsRetrievable&quot;: true&#xA;      },&#xA;      &quot;ProductId&quot;: {&#xA;        &quot;TypeName&quot;: &quot;System.String&quot;,&#xA;        &quot;IsKey&quot;: false,&#xA;        &quot;IsSearchable&quot;: true,&#xA;        &quot;IsFilterable&quot;: false,&#xA;        &quot;IsSortable&quot;: false,&#xA;        &quot;IsFacetable&quot;: false,&#xA;        &quot;IsRetrievable&quot;: true&#xA;      },&#xA;      &quot;CustomNewIdentifier&quot;: {&#xA;        &quot;TypeName&quot;: &quot;System.String&quot;,&#xA;        &quot;IsKey&quot;: false,&#xA;        &quot;IsSearchable&quot;: true,&#xA;        &quot;IsFilterable&quot;: false,&#xA;        &quot;IsSortable&quot;: false,&#xA;        &quot;IsFacetable&quot;: false,&#xA;        &quot;IsRetrievable&quot;: true&#xA;      }&#xA;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Of course, I did deployment of SC Commerce and Bootstrapping Environment after adding this element into IndexablePolicy. But that didn't help. Search by custom field doesn't work.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I followed instructions described in these pages:&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-commerce/en/setting-up-a-search-index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-commerce/en/setting-up-a-search-index.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Has anyone implemented something similar?&lt;/p&gt;&#xA;" OwnerUserId="6052" LastActivityDate="2019-09-17T08:28:02.900" Title="Implementing search by field of custom component in BizFx tool - Sitecore Commerce 9.0.1" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22105" PostTypeId="1" AcceptedAnswerId="22107" CreationDate="2019-09-17T09:33:29.853" Score="1" ViewCount="1588" Body="&lt;p&gt;I'm attempting to streamline the development environment setup process for a large development team. A lot of the setup process is already automated, e.g. we automatically create a Solr Docker container with all the necessary cores. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We make heavy use of indexes and would prefer to avoid having to ask/demo to the developer to manually rebuild their indexes from the Sitecore Control panel. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could rebuild manually, or via a Sitecore scheduled task but how can I script a Solr index rebuild, ideally from Windows Powershell?&lt;/p&gt;&#xA;" OwnerUserId="5012" LastActivityDate="2020-01-03T23:29:48.330" Title="How can I rebuild the Solr indexes via Powershell?" Tags="|solr|indexing|powershell|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22106" PostTypeId="1" CreationDate="2019-09-17T10:38:46.353" Score="1" ViewCount="368" Body="&lt;p&gt;does anyone know how to load &lt;code&gt;EmailAddressList&lt;/code&gt; facet? I have created a custom rule for &lt;code&gt;EXM&lt;/code&gt; in order to identify contacts I need to access &lt;code&gt;EmailAddressList&lt;/code&gt; facet but when I execute this code it only loads &lt;code&gt;PersonalInformation&lt;/code&gt; facet. I know that for &lt;code&gt;marketing automation&lt;/code&gt; I have to change the configuration and add a facet key but in this case, it did not work. Thank you in advance! &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private IEnumerable&amp;lt;Contact&amp;gt; GetContactsFromList()&#xA;{&#xA;    Guid contactListId = Guid.Parse({2986A090-9C58-48B7-C6A2-C2F88FA5B2C8});&#xA;&#xA;    ContactExpandOptions expandOptions = new ContactExpandOptions(CollectionModel.FacetKeys.PersonalInformation);&#xA;&#xA;    ISegmentationEngine segmentationEngine = (ISegmentationEngine)ServiceLocator.ServiceProvider.GetService(typeof(ISegmentationEngine));&#xA;&#xA;    ListSubscriptionMatches listSubscriptionConditions = new ListSubscriptionMatches()&#xA;    {&#xA;        ListId = contactListId&#xA;    };&#xA;&#xA;    IEntityBatchEnumerator&amp;lt;Contact&amp;gt; contacts = segmentationEngine.FindContacts(listSubscriptionConditions, 200, expandOptions);&#xA;&#xA;    if (contacts != null)&#xA;    {&#xA;        while (contacts.MoveNext())&#xA;        {&#xA;            foreach (var contact in contacts?.Current ?? Enumerable.Empty&amp;lt;Contact&amp;gt;())&#xA;            {&#xA;                yield return contact;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;protected override bool Execute(T ruleContext)&#xA;{&#xA;&#xA;    Assert.IsNotNull(Tracker.Current, &quot;Tracker.Current is not initialized&quot;);&#xA;    Assert.IsNotNull(Tracker.Current.Contact, &quot;Tracker.Current.Contact is not initialized&quot;);&#xA;&#xA;    var oper = GetCurrentOperator();&#xA;&#xA;    using (var client = XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient())&#xA;    {&#xA;&#xA;        var contacts = GetContactsFromList();&#xA;&#xA;        foreach (var c in contacts)&#xA;        {&#xA;            var info = c.GetFacet&amp;lt;EmailAddressList&amp;gt;(EmailAddressList.DefaultFacetKey);&#xA;&#xA;            var existingContact = client.Get(new IdentifiedContactReference(&quot;quiz&quot;, info.PreferredEmail.SmtpAddress), new ContactExpandOptions(new string[] { QuizInfo.DefaultFacetKey }));&#xA;&#xA;            if (existingContact == null)&#xA;            {&#xA;&#xA;                return false;&#xA;            }&#xA;            else&#xA;            {&#xA;                var quizzesInfoFacet = existingContact.GetFacet&amp;lt;QuizInfo&amp;gt;(QuizInfo.DefaultFacetKey);&#xA;&#xA;                var score = quizzesInfoFacet.MaxScore;&#xA;&#xA;                return oper.Evaluate(score, Int32.Parse(stringValuee));&#xA;            }&#xA;        }&#xA;        return false;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5897" LastEditorUserId="7820" LastEditDate="2021-03-03T20:34:30.860" LastActivityDate="2024-01-23T19:05:40.650" Title="How to load custom facet in EXM" Tags="|sitecore-client|xconnect|exm|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22107" PostTypeId="2" ParentId="22105" CreationDate="2019-09-17T10:43:25.903" Score="5" Body="&lt;p&gt;To rebuild indexes from sitecore powershell you can use below script which will re-index all indexes one by one&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using namespace Sitecore.ContentSearch&#xA;&#xA;$indexes = [ContentSearchManager]::Indexes&#xA;&#xA;foreach($index in $indexes){&#xA;    Write-Host &quot;Re-indexing started &quot; $index.Name&#xA;    $index.Rebuild([IndexingOptions]::ForcedIndexing);&#xA;    Write-Host &quot;Re-indexing Finished&quot; $index.Name    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you want to rebuild indexes using Windows Powershell only then you should enable remoting services first and then execute script&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can refer this link for enabling remoting services - &lt;a href=&quot;https://sitecore.stackexchange.com/a/2665/1606&quot;&gt;https://sitecore.stackexchange.com/a/2665/1606&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-09-17T10:43:25.903" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22108" PostTypeId="1" AcceptedAnswerId="22250" CreationDate="2019-09-17T11:18:29.670" Score="0" ViewCount="911" Body="&lt;p&gt;I am using Sitecore 9.x and recently came through with this issue. I have added a placeholder setting item and updated field Allowed Controls with controls which I need to show on that placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also I did check both are editable rendering and placeholder setting.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But this is not working for me. It is always showing complete rendering tree not selected allowed controls.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I am going to standard value of data template and adding that placeholder setting with placeholder key (key I defined in my layout). It is not showing but if I am putting Placeholder Key Value &quot;undefined&quot; it starts working but in this case it is showing same controls for all the placeholder settings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o4Rjl.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o4Rjl.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone have any idea what I am missing here or something is wrong with my configurations?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated! &lt;/p&gt;&#xA;" OwnerUserId="361" LastActivityDate="2019-09-25T09:26:55.227" Title="Placeholder setting - allowed controls not working" Tags="|sitecore-client|" AnswerCount="1" CommentCount="11" ContentLicense="CC BY-SA 4.0" />
  <row Id="22109" PostTypeId="1" AcceptedAnswerId="22110" CreationDate="2019-09-17T12:52:31.077" Score="1" ViewCount="429" Body="&lt;p&gt;I have installed Sitecore 9.2 XP0 Single Machine instance, using MS SQL Server for xDB. Now I have a requirement to replace MS SQL Server with Mongo DB for xDB. I have installed Mongo DB 4.0.5, as per the compatibility table. &#xA;I need help on further steps on how to set this up. Do I need to manually create any DB instance inside Mongo DB, or are there any scripts for that?&lt;/p&gt;&#xA;" OwnerUserId="4420" LastActivityDate="2019-09-17T13:34:50.750" Title="Setup Mongo DB with Sitecore 9.2" Tags="|xdb|mongodb|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22110" PostTypeId="2" ParentId="22109" CreationDate="2019-09-17T13:21:30.527" Score="7" Body="&lt;p&gt;&lt;strong&gt;MongoDB&lt;/strong&gt; is an open-source database management system (DBMS), usually called &lt;strong&gt;NoSQL&lt;/strong&gt; database that uses a document-oriented database model which supports various forms of data. It means you don't need to create any table or database also you don't need to run/create any script for this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All you need to do some configuration changes, because the default Sitecore is configure with MSSQL. You can find the configuration changes in &lt;code&gt;Installation Guide for the XP Scaled topology&lt;/code&gt; file under the 9.2 download section- &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/92/Sitecore_Experience_Platform_92_Initial_Release.aspx&quot; rel=&quot;noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/92/Sitecore_Experience_Platform_92_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basic steps are as follow - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: The follow are done in the xConnect site (&lt;code&gt;xconnect\App_Data\Config\Sitecore\Collection&lt;/code&gt;) and the Indexing service (&lt;code&gt;xconnect\App_Data\jobs\continuous\IndexWorker\App_data\config\sitecore\Collection&lt;/code&gt;)&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Enable the &lt;code&gt;sc.Xdb.Collection.Data.MongoDb.xml.disabled&lt;/code&gt; configuration file by&#xA;removing .disabled extension.&lt;/li&gt;&#xA;&lt;li&gt;Disable the &lt;code&gt;sc.Xdb.Collection.Data.Sql.xml&lt;/code&gt; configuration file by adding the .disabled&lt;/li&gt;&#xA;&lt;li&gt;Update the collection connection string to point to the MongoDB instance. It will look like this &lt;code&gt;&amp;lt;add name=&quot;collection&quot; connectionString=&quot;mongodb://127.0.0.1:27017/usms_collection&quot; /&amp;gt;&lt;/code&gt;&#xA;You must also update the collection connection string in the indexer job that exists under the following roles:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/jpMOy.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jpMOy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the xDB search indexes in Solr. See the section Rebuild the Search Indexes in the link&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="124" LastEditorUserId="432" LastEditDate="2019-09-17T13:34:50.750" LastActivityDate="2019-09-17T13:34:50.750" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22111" PostTypeId="1" CreationDate="2019-09-17T13:33:29.790" Score="4" ViewCount="699" Body="&lt;p&gt;&lt;strong&gt;Recipient is skipped. 'Alias PII removed' is not a valid email address.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Environment: Sitecore 9.0.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Functionality: EXM e-mail dispatch&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Log on CM instance during dispatch: Recipient is skipped. 'Alias PII removed' is not a valid email address.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are getting this error for very few e-mail ids on our CM server in the scaled environment. &#xA;Looking around on the internet I came across this link from Sitecore &lt;a href=&quot;https://kb.sitecore.net/articles/360684&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/360684&lt;/a&gt;. This is for EXM 3.4 Initial Release&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the &lt;strong&gt;showconfig.aspx&lt;/strong&gt; on my instance and found that we have the correct value in place.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rlgBO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rlgBO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EmailValidation&quot; value=&quot;^[a-zA-Z0-9_-]+(?:\.[a-zA-Z0-9_-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the configs, I came across another e-mail validator and this is being used at the time of dispatch.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/sRRwn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/sRRwn.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;EXM.EmailValidationRegex&quot; value=&quot;^[\p{L}0-9\+\-_\!\$\%\&amp;amp;\*\?]+(?:\.[\p{L}0-9\+\-_\'\!\$\%\&amp;amp;\*\?]+)*@(([\p{L}0-9\-]+(?:\.[\p{L}0-9]+)+)|(\[\d{1,3}(\.\d{1,3}){3}\]))$&quot; patch:source=&quot;Sitecore.EmailExperience.Core.config&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This field is having a different value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to understand the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;shouldn't both the values should be the same?&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;should I update the value for &lt;strong&gt;EXM.EmailValidationRegex&lt;/strong&gt; with the value for &lt;strong&gt;EmailValidation&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="1110" LastEditDate="2019-09-18T04:16:30.683" LastActivityDate="2019-09-18T16:25:56.163" Title="Not a valid email address" Tags="|exm|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22112" PostTypeId="1" CreationDate="2019-09-17T13:57:41.587" Score="1" ViewCount="390" Body="&lt;p&gt;We have a view that uses rendering parameters, one of which sets a model property that determines whether a form should show inside the view.  When I change the default value to 1 for that checkbox, the checkbox appears checked when I edit that rendering on a page, but the form doesn't show up.  I've made sure that the standard values for that set of rendering parameters is published and even republish the page the rendering is on to no avail.  The only thing that seems to work is to uncheck the checkbox, publish, then recheck the checkbox and publish yet again.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this is happening only for existing renderings.  If you add a new rendering of this type it works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is the controller colde:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public ActionResult AZList()&#xA;        {&#xA;            if (Sitecore.Context.PageMode.IsExperienceEditorEditing &amp;amp;&amp;amp; String.IsNullOrEmpty(RenderingContext.Current.Rendering.Parameters[&quot;Item Types&quot;]))&#xA;                return Content(&quot;&amp;lt;div&amp;gt;&amp;lt;h3&amp;gt;Use the component properties for this widget to select the item types you wish to display&amp;lt;/h3&amp;gt;&amp;lt;/div&amp;gt;&quot;);&#xA;&#xA;            var includeSearch = &quot;0&quot;;&#xA;            if (!(String.IsNullOrEmpty(RenderingContext.Current.Rendering.Parameters[&quot;Show Search Field&quot;])))&#xA;                includeSearch = RenderingContext.Current.Rendering.Parameters[&quot;Show Search Field&quot;].ToString();&#xA;&#xA;            var model = new AZModel();&#xA;            model.searchForm = includeSearch == &quot;1&quot; ? true : false;&#xA;&#xA;            var orgRoot = ORG.Utility.ORGUtils.GetRoot(Sitecore.Context.Item);&#xA;            var allItems = new List&amp;lt;Sitecore.Data.Items.Item&amp;gt;();&#xA;&#xA;            // determine what kinds of items are in this list from the rendering parameters&#xA;            var allItemTypes = RenderingContext.Current.Rendering.Parameters[&quot;Item Types&quot;];&#xA;&#xA;            // if somehow nothing was selected, bail out&#xA;            if (String.IsNullOrEmpty(allItemTypes)) return null;&#xA;&#xA;            var itemTypes = allItemTypes.Split('|');&#xA;            var ORGRegion = orgRoot.Parent.Axes.GetDescendants().Where(x =&amp;gt; x.Name.StartsWith(&quot;All &quot;)).FirstOrDefault();&#xA;            var queryORG = &quot;/sitecore/content/ORGs//*[@@id='&quot; + orgRoot.ID.ToString() + &quot;']//*[@@templateid='&quot;;&#xA;            var queryRegion = &quot;|/sitecore/content/ORGs//*[@@id='&quot; + ORGRegion.ID.ToString() + &quot;']//*[@@templateid='&quot;;&#xA;            var queryGlobal = &quot;|/sitecore/content/ORGs/All ORGs//*[@@templateid='&quot;;&#xA;            for (var i = 0; i &amp;lt; itemTypes.Length; i++)&#xA;            {&#xA;                var typeId = itemTypes[i];&#xA;&#xA;                var guid = new Guid(typeId);&#xA;                var id = ID.Parse((Guid)guid);&#xA;                var typeInfo = Sitecore.Context.Database.GetItem(id);&#xA;&#xA;            if (typeInfo == null)&#xA;                {&#xA;                    logger.Info(&quot;Could not find item with ID '&quot; + typeId + &quot;'&quot;);&#xA;                    continue;&#xA;                }&#xA;&#xA;                var squery = queryORG + typeInfo[&quot;Data Template&quot;] + &quot;']&quot;;&#xA;                squery += queryRegion + typeInfo[&quot;Data Template&quot;] + &quot;']&quot;;&#xA;                squery += queryGlobal + typeInfo[&quot;Data Template&quot;] + &quot;']&quot;;&#xA;&#xA;                // get all the items of the given typeId beneath the root&#xA;                var templateItems = Sitecore.Context.Database.SelectItems(squery).ToList();&#xA;&#xA;                // see if there are any items&#xA;                if (templateItems.Any())&#xA;                {&#xA;                    // see what controller &amp;amp; view to use&#xA;                    var controller = typeInfo[&quot;Controller Name&quot;];&#xA;                    var view = typeInfo[&quot;View Name&quot;];&#xA;&#xA;                    logger.Info(&quot;Controller: &quot; + controller + &quot;, View: &quot; + view);&#xA;&#xA;                    string nameField = &quot;Title&quot;;&#xA;&#xA;                    // add them to the model&#xA;                    model.Items.AddRange(templateItems.Select(x =&amp;gt; new ListItem&#xA;                        {&#xA;                            Model = x,&#xA;                            Controller = controller,&#xA;                            Name = x[nameField],&#xA;                            View = view&#xA;                        }&#xA;                    ));&#xA;                }&#xA;            }&#xA;&#xA;            // iterate through items to see what letters we should activate&#xA;            foreach(char c in AZModel.ALPHABET)&#xA;            {&#xA;                // select from allItems where name/title/whatever toLower starts with c&#xA;                if(model.Items.Where(x =&amp;gt; x.Name.ToLower().StartsWith(c.ToString())).Any())&#xA;                {&#xA;                    // if any, add this character to the string in our model&#xA;                    model.Letters += c;&#xA;                }&#xA;&#xA;            }&#xA;            model.Title = RenderingContext.Current.Rendering.Parameters[&quot;Title&quot;];&#xA;            model.Description = RenderingContext.Current.Rendering.Parameters[&quot;Content&quot;]; ;&#xA;&#xA;            return View(model);&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;... and here is the view code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@model ORG.Models.AZModel&#xA;@using ORG.Models&#xA;&#xA;&amp;lt;h2 class=&quot;azHeader&quot;&amp;gt;@Model.Title&amp;lt;/h2&amp;gt;&#xA;&amp;lt;div class=&quot;azDesc&quot;&amp;gt;@Html.Raw(Model.Description)&amp;lt;/div&amp;gt;&#xA;@if (Model.searchForm)&#xA;{&#xA;    using (Html.BeginForm())&#xA;    {&#xA;        &amp;lt;div id=&quot;searchControls&quot; class=&quot;inputBTNcombo w-reset&quot;&amp;gt;&#xA;            &amp;lt;div&amp;gt;&#xA;                &amp;lt;label class=&quot;visiblyHidden&quot; for=&quot;searchListText&quot;&amp;gt;Search&amp;lt;/label&amp;gt;&#xA;                &amp;lt;input type=&quot;text&quot; id=&quot;searchListText&quot; value=&quot;@Model.SearchText&quot; name=&quot;searchListText&quot; placeholder=&quot;Search the list...&quot; /&amp;gt;&#xA;                &amp;lt;button class=&quot;preferredAction&quot; type=&quot;submit&quot; id=&quot;searchListButton&quot; value=&quot;Search&quot;&amp;gt;Search&amp;lt;/button&amp;gt;&#xA;            &amp;lt;/div&amp;gt;&#xA;            &amp;lt;button type=&quot;reset&quot; id=&quot;btnReset&quot;&amp;gt;Clear Search Results&amp;lt;/button&amp;gt;&#xA;&#xA;        &amp;lt;/div&amp;gt;&#xA;    }&#xA;    if (!(String.IsNullOrEmpty(Model.SearchText)))&#xA;    {&#xA;        var resultWord = Model.Items.Count == 1 ? &quot;result.&quot; : &quot;results.&quot;;&#xA;        &amp;lt;div&amp;gt;&#xA;            &amp;lt;span class='searchResultsText'&amp;gt;&#xA;            Your search &amp;lt;span class='searchResultsTextBold'&amp;gt;'@Model.SearchText'&amp;lt;/span&amp;gt; returned @Model.Items.Count @resultWord&#xA;            &amp;lt;/span&amp;gt;&#xA;        &amp;lt;/div&amp;gt;&#xA;    }&#xA;}&#xA;&amp;lt;div class=&quot;module contentFeed A-Z-Dir&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;feedUtilities&quot;&amp;gt;&#xA;        &amp;lt;div class=&quot;pageSelector&quot;&amp;gt;&#xA;            @{&#xA;                if (Model.Letters != null)&#xA;                {&#xA;                    foreach (char l in AZModel.ALPHABET)&#xA;                    {&#xA;                        if (Model.Letters.Contains(l))&#xA;                        {&#xA;                            &amp;lt;a href=&quot;#@l&quot;&amp;gt;@Char.ToUpper(l)&amp;lt;/a&amp;gt;&#xA;                        }&#xA;                        else&#xA;                        {&#xA;                            &amp;lt;a disabled=&quot;disabled&quot;&amp;gt;@Char.ToUpper(l)&amp;lt;/a&amp;gt;&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;    &amp;lt;div class=&quot;A-Z-DirList&quot;&amp;gt;&#xA;        @{&#xA;            if (Model.Letters != null)&#xA;            {&#xA;                foreach (char l in AZModel.ALPHABET)&#xA;                {&#xA;                    if (Model.Letters.Contains(l))&#xA;                    {&#xA;                        &amp;lt;h2 class=&quot;dirLetter&quot; id=&quot;@l&quot; name=&quot;@l&quot;&amp;gt;@Char.ToUpper(l)&amp;lt;/h2&amp;gt;&#xA;                        foreach (var item in Model.Items.Where(x =&amp;gt; x.Name.StartsWith(l.ToString(), StringComparison.CurrentCultureIgnoreCase)).OrderBy(x =&amp;gt; x.Name))&#xA;                        {&#xA;                            Html.RenderAction(item.View, item.Controller, new { Model = item.Model });&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;~/_inc/js/src/AZList.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1809" LastEditorUserId="1809" LastEditDate="2019-09-17T14:31:41.403" LastActivityDate="2019-12-04T08:52:55.493" Title="Default enabling checkbox in rendering parameter isn't recognized by view" Tags="|content-editor|presentation|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22113" PostTypeId="1" CreationDate="2019-09-17T14:08:53.890" Score="1" ViewCount="57" Body="&lt;p&gt;We have very bizare issue with our deployment.&#xA;Project contains of multiple templates and we recently (couple of months ago) introduced couple of base templates. &#xA;We have prefixed them with underscore, ex. : &lt;code&gt;_Breadcrumb&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 8.2 with TDS to generate deployment packages. As a CI/CD we are using Azure DevOps.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yesterday after deployment to our test environment we have noticed that our site broke.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After some breif investigation we have noticesd that our base templates wre missing English version (item was there but without any language version).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ony one have a clue?&lt;/p&gt;&#xA;" OwnerUserId="4294" LastActivityDate="2021-02-24T04:08:10.730" Title="Base Templates are deployed without any language version" Tags="|azure|templates|tds|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22114" PostTypeId="2" ParentId="22113" CreationDate="2019-09-17T14:08:53.890" Score="1" Body="&lt;p&gt;So aparently we introduced this bug, fixing something else.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To allow automatic creation of content with item names containing non standard characters, we have changed fololowing setting:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;configuration/sitecore/settings/setting[name=&quot;ItemNameValidation&quot;]&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;ItemNameValidation&quot; value=&quot;^[\*\$\p{L}\p{N}][\.\s\-\$\p{L}\p{N}]*(\(\d{1,}\)){0,1}$&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So we have basically changed a regex from &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;^[\w\*\$][\w\.\s\-\$]*(\(\d{1,}\)){0,1}$&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;to &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;^[\p{L}\p{N}\*\$][\p{L}\p{N}\.\s\-\$]*(\(\d{1,}\)){0,1}$&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;instead of using &lt;code&gt;\w&lt;/code&gt; we used &lt;code&gt;\p{L}\p{N}&lt;/code&gt; to allow for 'any kind of letter from any language'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But we have forgot that &lt;code&gt;\w&lt;/code&gt; was also including '_' (underscore) character.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This prevented the TDS from publishing the base templates with English language version as all base tempaltes (or Helix 'Interface Templates') are prefixed with underscore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this will help anyone in the future.&lt;/p&gt;&#xA;" OwnerUserId="4294" LastActivityDate="2019-09-17T14:08:53.890" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22115" PostTypeId="2" ParentId="22111" CreationDate="2019-09-18T01:52:44.547" Score="1" Body="&lt;p&gt;The EXM.EmailValidationRegex setting is used by EXM in 9.0+ at the time of dispatch. So it should be a valid regex that would validate the email addresses according to your needs.  I think the EmailValidation setting was used in earlier versions of EXM, but happy to be corrected on that if someone has more info.  The doco on EXM.EmailValidationRegex is here: &#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/the-emailregexvalidator-and-the-urlregexvalidator-settings.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/the-emailregexvalidator-and-the-urlregexvalidator-settings.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Whether you update the EXM.EmailValidationRegex setting or not depends a little on your business requirements, but the default one should match most email addresses happily.  If you're still getting messages about invalid email addresses in logs, make sure your lists are &quot;clean&quot; and identify any problematic addresses.  If there are valid email addresses getting flagged in the logs, you may need to tweak the regex to suit, but is is more likely addresses are invalid in your contact list.&lt;/p&gt;&#xA;" OwnerUserId="2673" LastActivityDate="2019-09-18T01:52:44.547" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22116" PostTypeId="1" CreationDate="2019-09-18T05:01:13.030" Score="1" ViewCount="156" Body="&lt;p&gt;Currently we are developing Sitecore JSS app with React frontend. in this we are using Headless SSR mode to create the content in sitecore and rendering.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;our application is working fine with React, but I am facing issue when I am trying to Index Sitecore content. My index is showing me successfully completed but its indexing template of my JSS app, its not indexing my JSS &quot;Route&quot; content Items which I have created under my content tree.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I trying to resolved but still no luck, also I checked all the configuration , path of content tree its correct there no issue, but my JSS content node is not indexing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Is any extra setting or configuration is required for Sitecore JSS content Tree solr indexing.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could you please help on this., Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="4943" LastActivityDate="2019-09-18T05:01:13.030" Title="Sitecore 9.2 JSS with Solr 7.5 , JSS route items and its subitems are not indexing" Tags="|solr|jss|indexing|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22117" PostTypeId="2" ParentId="15579" CreationDate="2019-09-18T07:06:32.213" Score="0" Body="&lt;p&gt;Finally we find the problem, it´s due to an Azure problem with slots, unrelated with Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We were able to recreate the issue to Azure with a blank web app, just doing a manual swap, any scale out done after the swap cause the web app to restart.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue description to Azure was: &quot;After customer does a swap as mentioned, on the next change notification, the application host config will get updated binding information to reflect the swapped hostnames of the slots. However, this isn’t triggered by the swap, but rather happens as a result of the swap. It can happen that the next change notification doesn’t come for a few hours or in fact even a few days when austocale is done.&quot; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Resuming the swap it´s doing a change in a config file, that it´s not noticed at the moment of swapping, it´s noticed when the autoscale it´s done, causing a restart of the wep app due to a change in a config file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To avoid this problem it´s just so easy as add the following setting to the web app&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;WEBSITE_ADD_SITENAME_BINDINGS_IN_APPHOST_CONFIG=1&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;More info in &lt;a href=&quot;https://github.com/projectkudu/kudu/wiki/Configurable-settings&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/projectkudu/kudu/wiki/Configurable-settings&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="1700" LastActivityDate="2019-09-18T07:06:32.213" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22118" PostTypeId="1" AcceptedAnswerId="22137" CreationDate="2019-09-18T07:15:09.757" Score="1" ViewCount="859" Body="&lt;p&gt;&lt;code&gt;Article Publish Date&lt;/code&gt; is a field of type &lt;code&gt;Datetime&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;List&amp;lt;Item&amp;gt; articles = GetArticles();&#xA;&#xA;articles = articles.OrderByDescending(x =&amp;gt; x.Fields[Constants.Templates.Article.Fields.ArticlePublishDate]).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The above line of code throws an error:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;At least one object must implement IComparable.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;How can this be resolved.&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="73" LastEditDate="2019-09-19T21:34:47.437" LastActivityDate="2019-09-19T21:34:47.437" Title="How to sort items by a datetime field" Tags="|fieldtype|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22119" PostTypeId="1" CreationDate="2019-09-18T07:25:43.350" Score="2" ViewCount="465" Body="&lt;p&gt;I want to set the language in the dropdown -as shown in the image below- to another language on a per user basis.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Our website is only in Japanese. Every time a new item is created or the page loads, the author needs to change the language to Japanese from English and then start editing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are language settings for each user in the &lt;code&gt;User Manager &amp;gt; Edit User&lt;/code&gt; screen. But when I set the &lt;code&gt;Default Content Language&lt;/code&gt; to Japanese, the names of the nodes in the content tree like &quot;content&quot; or &quot;media library&quot; change. I just want to set the language in the dropdown.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this possible?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PRMAH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PRMAH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;br&gt;&#xA;I have followed @Gatogordo's solution. The default language in the dropdown has changed but the default sitecore nodes show in japanese.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dXqT5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dXqT5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2019-09-19T09:20:52.673" LastActivityDate="2019-09-19T09:20:52.673" Title="Can we set the default content language in dropdown" Tags="|content-editor|multilingual|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22120" PostTypeId="2" ParentId="22118" CreationDate="2019-09-18T07:29:26.843" Score="2" Body="&lt;p&gt;You are trying to sort by field not value, try below by removing &lt;code&gt;Fields&lt;/code&gt;- &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;List&amp;lt;Item&amp;gt; articles = GetArticles();&#xA;&#xA;articles = articles.OrderByDescending(x =&amp;gt; x[Constants.Templates.Article.Fields.ArticlePublishDate]).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="124" LastEditorUserId="342" LastEditDate="2019-09-19T14:46:23.200" LastActivityDate="2019-09-19T14:46:23.200" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22121" PostTypeId="2" ParentId="22119" CreationDate="2019-09-18T07:38:05.687" Score="3" Body="&lt;p&gt;You can -as you already noticed- use the language settings for the user to switch his default content language to Japanese.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default Sitecore will display the &lt;code&gt;Display Name&lt;/code&gt; of the item in the content tree though. As you see the names changing there, I assume you are using display names in Japanese. If you don't want the content editor to behave this way you can turn this off to make it use the actual name (instead of the display name).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the content editor, go to the red hamburger menu (top left) to find the &lt;code&gt;Application options&lt;/code&gt;. In the View tab you will find the &lt;code&gt;Content Tree - Item names&lt;/code&gt; setting. Set this to Item key instead of Display name. That should turn it off.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/o9jey.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/o9jey.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-09-18T07:38:05.687" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22122" PostTypeId="1" CreationDate="2019-09-18T08:31:53.880" Score="1" ViewCount="29" Body="&lt;p&gt;sitecore 9.1 how to create forms &lt;strong&gt;saveactions&lt;/strong&gt; at content tree side,like sitecore 8.2 wffm's saveactions.?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In sitecore 9.1 directly select save action at forms module but we need to same at content tree side same as sitecore 8.2 wffm forms, please help me ..&lt;/p&gt;&#xA;&#xA;&lt;p&gt;thanks&lt;/p&gt;&#xA;" OwnerUserId="6056" LastActivityDate="2019-09-18T08:31:53.880" Title="how to create custom saveactions at content tree side" Tags="|content-editor|sitecore-forms|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22124" PostTypeId="2" ParentId="15564" CreationDate="2019-09-18T09:37:05.350" Score="0" Body="&lt;p&gt;In case someone is still having this issue, it could be related to sql credentials. You get the same issue in case sql policy is not correct on the commerce engine side.&lt;/p&gt;&#xA;" OwnerUserId="1050" LastActivityDate="2019-09-18T09:37:05.350" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22129" PostTypeId="1" CreationDate="2019-09-18T10:36:28.577" Score="3" ViewCount="187" Body="&lt;p&gt;To prevent duplicate items in Sitecore I used the following setting&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;setting name=&quot;AllowDuplicateItemNamesOnSameLevel&quot; value=&quot;false&quot; patch:instead=&quot;*[@name='AllowDuplicateItemNamesOnSameLevel']&quot;&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This setting is not allowing emails to get triggered(using sitecore 9 forms and exm for forms and emails on submit button click).If I remove this setting then emails are triggering. Can somebody please help?&lt;/p&gt;&#xA;" OwnerUserId="5141" LastActivityDate="2019-10-20T23:36:12.280" Title="Setting to prevent duplicate item in sitecore is also preventing emails from getting triggered" Tags="|exm|sitecore-forms|patch-configuration|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22132" PostTypeId="2" ParentId="20934" CreationDate="2019-09-18T13:36:28.720" Score="0" Body="&lt;p&gt;What about &lt;em&gt;Experience Analytics&lt;/em&gt;? Do you see data in there? Basically, &lt;em&gt;Experience Profile&lt;/em&gt; reads data from the index rather than the database while &lt;em&gt;ExM&lt;/em&gt;, &lt;em&gt;Path Analyzer&lt;/em&gt; and &lt;em&gt;Experience Analytics&lt;/em&gt; read data from the reporting database. In order to aggregate the data in reporting database, the processing role would run certain tasks. Seems like something is wrong with your processing role and it’s not able to aggregate the data. The errors you shared, represent the issue with &lt;em&gt;Path Analyzer&lt;/em&gt; aggregations. &lt;em&gt;Path Analyzer&lt;/em&gt; and &lt;em&gt;Experience Analytics&lt;/em&gt; have their own tasks for aggregation but ExM is being aggregated by Experience Analytics.&#xA;Few things that can help&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Redeploy the &lt;em&gt;Path Analyzer&lt;/em&gt; maps to resolve the above errors&lt;/li&gt;&#xA;&lt;li&gt;Redeploy marketing definitions&lt;/li&gt;&#xA;&lt;li&gt;Redeploy experience Analytics Segments&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Once you are done with this, trigger another email and see if the campaigns' data is coming up&#xA;I worked with these components, happy to share more details.&lt;/p&gt;&#xA;" OwnerUserId="1050" LastEditorUserId="4817" LastEditDate="2022-10-03T03:43:12.317" LastActivityDate="2022-10-03T03:43:12.317" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22133" PostTypeId="1" CreationDate="2019-09-18T14:09:49.133" Score="1" ViewCount="397" Body="&lt;p&gt;I am trying to access multilist field values in Visual studio ascx page using &lt;code&gt;&amp;lt;asp:Repeater&amp;gt;&lt;/code&gt; web control. But i am not able to fetch the values from Sitecore. Which Sitecore webcontrol should we use to fetch multilist field values in repeater?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc:Image Field=&quot;Carousel Image&quot; Item=&quot;&amp;lt;%# Container.DataItem %&amp;gt;&quot; runat=&quot;server&quot; /&amp;gt;&#xA;&amp;lt;h1&amp;gt;&amp;lt;sc:Text Field=&quot;Carousel Text&quot; Item=&quot;&amp;lt;%# Container.DataItem %&amp;gt;&quot; runat=&quot;server&quot;/&amp;gt;&amp;lt;/h1&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2144" LastEditorUserId="95" LastEditDate="2019-09-18T14:19:51.670" LastActivityDate="2019-10-18T16:02:15.267" Title="How do you fetch Multilist Field values in Web Forms user control?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22134" PostTypeId="1" CreationDate="2019-09-18T14:36:02.697" Score="2" ViewCount="231" Body="&lt;p&gt;Ok so for our &lt;code&gt;9.1.1 XP1&lt;/code&gt; installation, so far we have the following roles installed:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For xConnect/xDB server:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;XConnectCollection&lt;/li&gt;&#xA;&lt;li&gt;XConnectCollectionSearch&lt;/li&gt;&#xA;&lt;li&gt;XConnectReferenceData&lt;/li&gt;&#xA;&lt;li&gt;QA.XConnectMarketingAutomation&lt;/li&gt;&#xA;&lt;li&gt;XConnectMarketingAutomationReporting&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For Reporting/Processing server:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;SitecoreReporting&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;SitecoreProcessing&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;For CM server:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;IdentityServer&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;SIF is giving me this error when installing the CM role (SitecoreCM).  I'm not sure what's going on (DBA is stumped as well), if the installation is trying to put the key in SQL Server, or if it's trying to get the key from SQL Server.  Also is this a permissions error?  The SQL Server user account has the sysadmin server role and is db_owner of the databases created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error:&lt;/strong&gt; Errors occurred while modeling the target database.  Deployment cannot continue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error count: 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error Code:&lt;/strong&gt; ERROR_EXECUTING_METHOD&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;More Information:&lt;/strong&gt;  An error occurred during deployment plan generation.  Deployment cannot continue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error SQL72018:  Database Encryption key could not be imported but one or more of these objects exist in your source.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ASK77.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ASK77.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="868" LastEditorUserId="5387" LastEditDate="2019-09-19T06:36:54.820" LastActivityDate="2024-01-28T20:02:20.290" Title="9.1.1 CM Install stops when import key fails" Tags="|sitecore-install-framework|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22136" PostTypeId="2" ParentId="22133" CreationDate="2019-09-18T15:08:46.880" Score="2" Body="&lt;p&gt;You can use &lt;code&gt;sc:Image&lt;/code&gt; and &lt;code&gt;sc:Text&lt;/code&gt; in the repeater but you need to bind it to the list of items that are selected in the multilist field. A multilist field will have a (piped) list of guids as raw value, and you can get the items with the Sitecore API if you cast the field to a &lt;code&gt;MultilistField&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var multilistfield = (MultilistField)field;&#xA;var items = multilistfield.GetItems();&#xA;repeater.DataSource = items;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-09-18T15:08:46.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22137" PostTypeId="2" ParentId="22118" CreationDate="2019-09-18T15:09:23.083" Score="2" Body="&lt;p&gt;Mahendra's answer will work, but it is also possible to cast your field to a &lt;code&gt;Sitecore.Data.Fields.DateField&lt;/code&gt; and retrieve the &lt;code&gt;DateTime&lt;/code&gt; property, which will actually properly parse the field value and return a sortable &lt;code&gt;DateTime&lt;/code&gt; value. I would implement it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;List&amp;lt;Item&amp;gt; articles = GetArticles();&#xA;&#xA;articles = articles.OrderByDescending(x =&amp;gt; ((Sitecore.Data.Fields.DateField)x.Fields[Constants.Templates.Article.Fields.ArticlePublishDate]).DateTime).ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2019-09-18T15:09:23.083" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22138" PostTypeId="1" AcceptedAnswerId="22156" CreationDate="2019-09-18T15:39:42.823" Score="3" ViewCount="622" Body="&lt;p&gt;I'm trying to use (a derivative of) the Sitecore &lt;code&gt;CustomCache&lt;/code&gt; class in my solution but am seeing that during the course of my load testing, certain values are not being retrieved from the cache and are being re-requested (and hence re-added to the cache). I'm trying to adopt the &lt;a href=&quot;https://en.wikipedia.org/wiki/Double-checked_locking&quot; rel=&quot;nofollow noreferrer&quot;&gt;double-checked locking&lt;/a&gt; pattern. From the console debug statements added to my code, I am even seeing that the same thread is not retrieving the cached value immediately after setting it, although it does later serve the value from cache.&lt;/p&gt;&#xA;&lt;p&gt;I'm wondering if there is simply a bug in the code, or if I'm just trying to do this in the wrong way?&lt;/p&gt;&#xA;&lt;p&gt;I have created a class in my solution that inherits &lt;code&gt;Sitecore.Caching.CustomCache&lt;/code&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomCache : Sitecore.Caching.CustomCache&#xA;{&#xA;  public CustomCache(string name, long maxSize) : base(name, maxSize)&#xA;  {&#xA;  }&#xA;&#xA;  public CustomCache(long maxSize) : base(&amp;quot;My.Foundation.Cache&amp;quot;, maxSize)&#xA;  {&#xA;  }&#xA;&#xA;  public void AddCacheObject(string key, object value)&#xA;  {&#xA;    InnerCache.Add(key, value);&#xA;  }&#xA;&#xA;  public object GetCacheObject(string key)&#xA;  {&#xA;    return !InnerCache.ContainsKey(key) ? null : InnerCache.GetValue(key);&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;And I have created a wrapper around this with static methods&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;public class CacheManager&#xA;{&#xA;  private static readonly CustomCache _customCache = new CustomCache(&#xA;  Sitecore.StringUtil.ParseSizeString(&#xA;    Settings.GetSetting(&amp;quot;My.Foundation.Caching.CacheSize&amp;quot;, &amp;quot;500MB&amp;quot;)));&#xA;&#xA;  private static readonly object _customCacheLock = new object();&#xA;&#xA;  internal static object Get(string key)&#xA;  {&#xA;    if (_customCache == null)&#xA;    {&#xA;      return null;&#xA;    }&#xA;&#xA;    return _customCache.InnerCache.GetValue(key);&#xA;  }&#xA;&#xA;  internal static void Set(string key, object value)&#xA;  {&#xA;    if (_customCache == null)&#xA;    {&#xA;      return;&#xA;    }&#xA;&#xA;    _customCache.AddCacheObject(key, value);&#xA;  }&#xA;&#xA;  internal static string GetCacheKey(string key)&#xA;  {&#xA;    return $&amp;quot;{Context.Site?.Name}{Context.Database?.Name}{Context.Language?.Name}{key}&amp;quot;;&#xA;  }&#xA;&#xA;  public void ClearCache(object sender, EventArgs args)&#xA;  {&#xA;    _customCache?.Clear();&#xA;  }&#xA;&#xA;  public static TObj GetCachedObject&amp;lt;TObj&amp;gt;(string cacheKey, Func&amp;lt;TObj&amp;gt; creator) where TObj : class&#xA;  {&#xA;    var fullKey = GetCacheKey(cacheKey);&#xA;&#xA;    var obj = Get(fullKey) as TObj;&#xA;    if (obj != null)&#xA;    {&#xA;      System.Diagnostics.Debug.WriteLine($&amp;quot;CacheKey:{fullKey} (get - without lock) ThreadId:{System.Threading.Thread.CurrentThread.ManagedThreadId} RemainingSpace:{_customCache.InnerCache.RemainingSpace}&amp;quot;);&#xA;    return obj;&#xA;    }&#xA;&#xA;    lock (_customCacheLock)&#xA;    {&#xA;      obj = Get(fullKey) as TObj;&#xA;      if (obj != null)&#xA;      {&#xA;        System.Diagnostics.Debug.WriteLine($&amp;quot;CacheKey:{fullKey} (get - lock) ThreadId:{System.Threading.Thread.CurrentThread.ManagedThreadId} RemainingSpace:{_customCache.InnerCache.RemainingSpace}&amp;quot;);&#xA;        return obj;&#xA;      }&#xA;&#xA;      obj = creator.Invoke();&#xA;      System.Diagnostics.Debug.WriteLine($&amp;quot;CacheKey:{fullKey} (set - lock) ThreadId:{System.Threading.Thread.CurrentThread.ManagedThreadId} RemainingSpace:{_customCache.InnerCache.RemainingSpace}&amp;quot;);&#xA;      Set(fullKey, obj);&#xA;      return obj;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&#xA;Jeroen was correct in that I was approaching this in the wrong way and was totally correct in his suggestions. It turned out that in this instance caching was actually disabled hence the constant cache misses. Sometimes when looking at a problem we (I) look for a complex solution before double-checking the simple things...&lt;/p&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2021-11-30T23:33:29.297" LastActivityDate="2021-11-30T23:33:29.297" Title="How to implement Sitecore.Caching.CustomCache with locking" Tags="|caching|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22140" PostTypeId="1" CreationDate="2019-09-18T16:18:21.983" Score="3" ViewCount="902" Body="&lt;p&gt;I have an XP Single instance deployed to &lt;code&gt;Azure PAAS&lt;/code&gt; that has been configured to use Azure AD by following this blog post:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.derekc.net/setting-up-azure-active-directory-integration-with-sitecore-identity-server-sitecore-9-1/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.derekc.net/setting-up-azure-active-directory-integration-with-sitecore-identity-server-sitecore-9-1/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Admin users are now able to login with &lt;code&gt;Azure AD&lt;/code&gt; and get to the Sitecore shell.  However, navigating to any URL that begins with &lt;code&gt;/sitecore/admin&lt;/code&gt; causes the user to end up in a never-ending redirect loop.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I navigate to &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt;, I get an access denied error, then get redirected to the identity server, into which I have already logged in.  The identity server then redirects me back to the original URL, which throws an access denied error again and redirects me back to the identity server.  This will go on forever if I don't stop it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know what I might be missing?&lt;/p&gt;&#xA;" OwnerUserId="6062" LastEditorUserId="5387" LastEditDate="2019-09-19T06:35:02.353" LastActivityDate="2019-09-19T18:12:17.857" Title="Sitecore 9.1 Azure AD infinite redirect on /admin" Tags="|azure|identity-server|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22141" PostTypeId="2" ParentId="22111" CreationDate="2019-09-18T16:25:56.163" Score="1" Body="&lt;p&gt;Yes, both regex values should be the same as they are part of one application and the validation rules should be same for entire application unless there is a business requirement to deal with two different types of email formats.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are dealing with emails which have special characters in it like &lt;code&gt;+-_!$%&amp;amp;*&lt;/code&gt; and letters from any language then keep EXM.EmailValidationRegex's value in both places.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;\p{L} - matches any kind of letter from any language&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So, according to &lt;strong&gt;EXM.EmailValidationRegex&lt;/strong&gt; below email addresses are valid addresses.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+-_!$%&amp;amp;*@test.com     - Valid email&#xA;&#xA;ಕನಡ@test.com        - Valid email   &#xA;&#xA;123hello@test.com     - Valid email    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://regex101.com/r/RVJbDw/1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Link to validate&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or if you are dealing with only standard email format which doesn't include special characters and letters from any languages then use &lt;strong&gt;EmailValidation&lt;/strong&gt;'s in both the places.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to &lt;strong&gt;EmailValidation&lt;/strong&gt; regex only last email address is valid.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;+-_!$%&amp;amp;*@test.com    - Invalid email&#xA;&#xA;ಕನಡ@test.com       - Invalid email&#xA;&#xA;123hello@test.com    - Valid email&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://regex101.com/r/hEZBME/1&quot; rel=&quot;nofollow noreferrer&quot;&gt;Link to validate&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would prefer to have &lt;code&gt;EXM.EmailValidationRegex&lt;/code&gt; value used in both places. Who knows if a website visitor submits a form with an email address which has non-ASCII characters.&lt;/p&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-09-18T16:25:56.163" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22143" PostTypeId="2" ParentId="22075" CreationDate="2019-09-18T19:11:06.213" Score="0" Body="&lt;p&gt;Based on comments above, the first issue is that you have a MultiList but the code is not reading from it. Upon the update of the code from the comment section, please see below the updated one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The updated code you've provided is not correct as it is initializing the array everytime as it is in the loop and also, you are performing a &lt;code&gt;GetChildren()&lt;/code&gt; on the selected item, which is the carousel item itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.MultilistField multilistField = Sitecore.Context.Item.Fields[&quot;Select Item&quot;];&#xA;&#xA;if (multilistField != null &amp;amp;&amp;amp; multilistField.TargetIDs.Any())&#xA;{&#xA;    var selectedItems = multilistField.GetItems();&#xA;&#xA;    rptCarousel.DataSource = items;&#xA;&#xA;    rptCarousel.DataBind();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If &lt;code&gt;GetItems()&lt;/code&gt; method does not exist in your current &lt;code&gt;Sitecore.Kernel&lt;/code&gt;, which should not be the case, you will need to amend the above code to the one below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Data.Fields.MultilistField multilistField = Sitecore.Context.Item.Fields[&quot;Select Item&quot;];&#xA;&#xA;if (multilistField != null &amp;amp;&amp;amp; multilistField.TargetIDs.Any())&#xA;{&#xA;    ArrayList carouselArray = new ArrayList();&#xA;&#xA;    foreach (ID targetId in multilistField.TargetIDs)&#xA;    {&#xA;        Item carouselItem = Sitecore.Context.Database.GetItem(targetId);&#xA;        if (carouselItem != null)&#xA;        {&#xA;            carouselArray.Add(carouselItem);&#xA;        }&#xA;    }&#xA;&#xA;    rptCarousel.DataSource = carouselArray;&#xA;&#xA;    rptCarousel.DataBind();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note that you can create an extension for the MultiList field and adds the code that perform the retrieving of the selected items.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-09-20T20:15:09.877" LastActivityDate="2019-09-20T20:15:09.877" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22144" PostTypeId="1" CreationDate="2019-09-18T21:47:44.963" Score="1" ViewCount="200" Body="&lt;p&gt;I am using &lt;code&gt;Sitecore 8.2 Update 7 Web Apps&lt;/code&gt; and created an empty Web App. Following these instructions to deploy the Publishing Service, everything has worked except for the schema upgrade: &lt;a href=&quot;http://www.ehabelgindy.com/run-sitecore-publishing-as-azure-cloud-service/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.ehabelgindy.com/run-sitecore-publishing-as-azure-cloud-service/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using the 64-bit version of Sitecore Publishing Service  2.2.1 rev. 180807-x64&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Framework.Publishing.Host.exe schema upgrade -f&#xA;[21:42:06 INF] Schema Upgrade&#xA;[21:42:13 ERR] There was an error querying Schema Sitecore.Framework.Publishing.Common.Sql.Schema for azuresqlserver-sql.database.windows.net,1433\azure-master-db&#xA;[21:42:13 ERR] There was an error querying Schema Sitecore.Framework.Publishing.Common.Sql.Schema for azuresqlserver-sql.database.windows.net,1433\azure-core-db&#xA;[21:42:13 ERR] There was an error querying Schema Sitecore.Framework.Publishing.Common.Sql.Schema for azuresqlserver-web-sql.database.windows.net,1433\azure-web-db&#xA;[21:42:13 ERR] One or more errors occurred.&#xA;Command not found. Type help for a list of available commands.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="858" LastEditorUserId="5387" LastEditDate="2019-09-19T06:34:20.857" LastActivityDate="2019-09-19T06:34:20.857" Title="Publishing Service in Azure Web App Won't Update Schema" Tags="|paas|publishing-service|" AnswerCount="0" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="22145" PostTypeId="1" AcceptedAnswerId="22169" CreationDate="2019-09-19T00:40:02.660" Score="1" ViewCount="284" Body="&lt;p&gt;So when I created a new rendering variant for &lt;code&gt;Page List&lt;/code&gt; I noticed there was an &lt;code&gt;Item CSS class field&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/baE7L.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/baE7L.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I expected this would add a class to my li elements of &lt;code&gt;article-item&lt;/code&gt; but it does not.  Is a Page List not considered a list rendering?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;Page List.cshtml&lt;/code&gt;, it clearly doesn't add any dynamic classes to the li elements.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the purpose of this field?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZUmCw.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZUmCw.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="5387" LastEditDate="2019-09-19T06:32:34.863" LastActivityDate="2019-09-20T07:37:55.153" Title="SXA Page List Item Css class field purpose" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22146" PostTypeId="1" CreationDate="2019-09-19T03:38:47.783" Score="1" ViewCount="235" Body="&lt;p&gt;We're planning &lt;code&gt;SC8.2 to 9.2 Azure PaaS migration&lt;/code&gt; and need to decide correct SKUs which would best for our project since the consumption-based license is all about visits.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion how should we calculate current &amp;amp; expected visits on the website. Is everybody is using Google analytics or any other method. I think visits is all about session count on our website.&#xA;Is Sitecore count visit only on CD server OR request hitting CM, reporting and processing servers?&lt;/p&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="95" LastEditDate="2019-09-20T01:21:19.827" LastActivityDate="2022-10-04T12:03:15.337" Title="Calculate correct visits in order to decide SKUs for project need" Tags="|licensing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22147" PostTypeId="1" CreationDate="2019-09-19T06:30:22.267" Score="1" ViewCount="662" Body="&lt;p&gt;I am working on &lt;code&gt;Sitecore 9 update 2&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I have two renderings, Rendering-A, and Rendering-B in Component-A and Component-B. In Component-A, I am displaying the most popular Articles using Rendering-A and in Component-B, I am displaying Music category Articles using Rendering-B.&lt;/p&gt;&#xA;&lt;p&gt;In the first Component-A(Rederning-A), three articles are displayed let Article-A, Article-B, Article-C, and each article has a like button with the count.&lt;/p&gt;&#xA;&lt;p&gt;In the second Component-B(Rederning-B) again I have three articles based on the category let Article-A, Article-D, Article-E, and each has a like button with the count.&lt;/p&gt;&#xA;&lt;p&gt;There can be a chance the same article will come in both components. Article-A occurs in both the component in mine case.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Suppose In case I select the like button of Article-A in the first Component-A then the article-like count will update on UI and DB as well and it should be reflected in the Component-B of Article-A as well.&lt;/p&gt;&#xA;&lt;p&gt;I want to render the Component-B again instead of reloading the whole page to see the updated count of likes. So wherever Article-A is coming in page in any Component it should be updated like count.&lt;/p&gt;&#xA;&lt;p&gt;Is it possible to reload a particular Rendering/Component on the page? If yes, then How, please suggest.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;PS: &lt;em&gt;As of now I have done this job using jQuery, but want to go with Component reloading.&lt;/em&gt;&lt;/strong&gt; &lt;a href=&quot;https://i.stack.imgur.com/1fG2r.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1fG2r.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5387" LastEditorUserId="4050" LastEditDate="2021-10-06T20:03:51.210" LastActivityDate="2021-10-06T20:03:51.210" Title="Reload particular Rendering/Component on button click" Tags="|components|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22148" PostTypeId="1" AcceptedAnswerId="22170" CreationDate="2019-09-19T06:44:05.443" Score="0" ViewCount="281" Body="&lt;p&gt;Is it possible within SXA to prevent web editing of a particular field?  ie. I don't want them editing the value of the field highlighted below in Experience Editor, only in Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/CyHmM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/CyHmM.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did notice the Is editable checkbox - but that just makes it read only instead of editable still in the content editor.&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-09-20T07:51:07.417" Title="Can I disable web editing of a Rendering Variant Reference field/Field" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22149" PostTypeId="1" CreationDate="2019-09-19T10:33:54.410" Score="0" ViewCount="120" Body="&lt;p&gt;Using the contact repository I am able to access historic interactions, but I would like to access the current interaction in the web API, I could access it through the MongoDB driver, but is it possible to access through a higher level of abstraction.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm on sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="4901" LastActivityDate="2019-10-05T14:55:00.130" Title="Accessing xDB current interaction in webapi" Tags="|xdb|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22150" PostTypeId="2" ParentId="22147" CreationDate="2019-09-19T10:41:31.103" Score="2" Body="&lt;p&gt;By default Sitecore does not do such a thing. You still need JavaScript to reload the Article in the other component. On the like button click event you can search for other Articles on the page which has the same ID as the liked Article and then do an AJAX call to the rendering which needs to be updated. So you will have 2 actions in the Controller (if you use MVC), one for the page load and one for the AJAX call.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class ArticlesController : Controller&#xA;{&#xA;    pulic ActionResult Index()&#xA;    {&#xA;        /* collect articles implementation */&#xA;        return View(articles);&#xA;    }&#xA;&#xA;    public ActionResult ForAjaxCall(Guid datasourceId)&#xA;    {&#xA;        /* collect articles implementation, probably you need the datasourceId or other parameters */&#xA;        return View(articles);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="408" LastActivityDate="2019-09-19T10:41:31.103" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22151" PostTypeId="1" CreationDate="2019-09-19T12:06:50.087" Score="1" ViewCount="136" Body="&lt;p&gt;I am looking to migrate EXM 3.4 to Sitecore 9.2. The documentations are available from EXM 3.5, but I cannot find anything related to EXM 3.4 Migration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is the process same for EXM 3.4 as well, or we have to first upgrade it to EXM 3.5?&lt;/p&gt;&#xA;" OwnerUserId="4420" LastActivityDate="2019-09-19T12:25:35.687" Title="EXM Upgrade/Migration" Tags="|exm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22152" PostTypeId="2" ParentId="22151" CreationDate="2019-09-19T12:25:35.687" Score="2" Body="&lt;p&gt;There is no upgrade path from any version of EXM prior to Sitecore 9, except a very light migration of emails from EXM 3.5 running on Sitecore 8 2.5 or higher.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are wanting to preserve the messages in EXM 3.4, you must first upgrade to EXM 3.5 (which also includes an upgrade of Sitecore).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From there, the migration documentation you are referring to should work to get you to Sitecore 9.0.x.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once Sitecore is upgraded to 9.0.x, then you can upgrade Sitecore to 9.2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it should be noted that no real migration or upgrade path exists and that links will most likely not work from legacy emails.&lt;/p&gt;&#xA;" OwnerUserId="246" LastActivityDate="2019-09-19T12:25:35.687" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22153" PostTypeId="2" ParentId="22149" CreationDate="2019-09-19T12:46:23.560" Score="1" Body="&lt;p&gt;The higher-level of abstraction, an API, was introduced in Sitecore 9 as 'xConnect'. If you upgrade to Sitecore 9, you can communicate with xDB via the xConnect layer and not need to work directly with the database anymore.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This does not exist in Sitecore 8.x.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Some resources&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/92/sitecore-experience-platform/en/xconnect.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;xConnect docs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/playlist?list=PL1jJVFm_lGnxaNZ6AUm_GQNOxFHOjZAGp&quot; rel=&quot;nofollow noreferrer&quot;&gt;xConnect and XP Services video playlist&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="69" LastEditorUserId="69" LastEditDate="2019-09-19T12:53:39.033" LastActivityDate="2019-09-19T12:53:39.033" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22155" PostTypeId="2" ParentId="22082" CreationDate="2019-09-19T13:05:41.253" Score="1" Body="&lt;p&gt;The problem is, you can't extend from the WorkboxForm class you need to use the complete decompiled code, because you need to change the private function &lt;strong&gt;GetStateItems&lt;/strong&gt; and &lt;strong&gt;GetItems&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    private AdvancedWorkboxForm.StateItems GetStateItems(WorkflowState state, IWorkflow workflow)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)state, nameof(state));&#xA;        Assert.ArgumentNotNull((object)workflow, nameof(workflow));&#xA;        List&amp;lt;Item&amp;gt; objList = new List&amp;lt;Item&amp;gt;();&#xA;        List&amp;lt;string&amp;gt; stringList = new List&amp;lt;string&amp;gt;();&#xA;        DataUri[] items = workflow.GetItems(state.StateID);&#xA;        bool flag = items.Length &amp;gt; Settings.Workbox.StateCommandFilteringItemThreshold;&#xA;        if (items != null)&#xA;        {&#xA;            foreach (DataUri uri in items)&#xA;            {&#xA;                Item obj = Context.ContentDatabase.GetItem(uri);&#xA;&#xA;                //If ist auch neu!&#xA;                if (SelectedLanguage == &quot;All&quot;)&#xA;                {&#xA;                    //Originalcode, hier werden alle Items zurückgegeben&#xA;                    if (obj != null &amp;amp;&amp;amp; obj.Access.CanRead() &amp;amp;&amp;amp; (obj.Access.CanReadLanguage() &amp;amp;&amp;amp; obj.Access.CanWriteLanguage()) &amp;amp;&amp;amp; (Context.IsAdministrator || obj.Locking.CanLock() || obj.Locking.HasLock()))&#xA;                    {&#xA;                        objList.Add(obj);&#xA;                        if (!flag)&#xA;                        {&#xA;                            foreach (WorkflowCommand filterVisibleCommand in WorkflowFilterer.FilterVisibleCommands(workflow.GetCommands(obj), obj))&#xA;                            {&#xA;                                if (!stringList.Contains(filterVisibleCommand.CommandID))&#xA;                                    stringList.Add(filterVisibleCommand.CommandID);&#xA;                            }&#xA;                        }&#xA;                    }&#xA;                }&#xA;                else&#xA;                {&#xA;                    //Hier schränken wir das Ergebnis anhand der Sprache ein.&#xA;                    if (obj != null  &amp;amp;&amp;amp; obj.Language.CultureInfo.Name == SelectedLanguage &amp;amp;&amp;amp; obj.Access.CanRead() &amp;amp;&amp;amp; (obj.Access.CanReadLanguage() &amp;amp;&amp;amp; obj.Access.CanWriteLanguage()) &amp;amp;&amp;amp; (Context.IsAdministrator || obj.Locking.CanLock() || obj.Locking.HasLock()))&#xA;                    {&#xA;                        objList.Add(obj);&#xA;                        if (!flag)&#xA;                        {&#xA;                            foreach (WorkflowCommand filterVisibleCommand in WorkflowFilterer.FilterVisibleCommands(workflow.GetCommands(obj), obj))&#xA;                            {&#xA;                                if (!stringList.Contains(filterVisibleCommand.CommandID))&#xA;                                    stringList.Add(filterVisibleCommand.CommandID);&#xA;                            }&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        if (flag)&#xA;        {&#xA;            WorkflowCommand[] workflowCommandArray = WorkflowFilterer.FilterVisibleCommands(workflow.GetCommands(state.StateID));&#xA;            stringList.AddRange(((IEnumerable&amp;lt;WorkflowCommand&amp;gt;)workflowCommandArray).Select&amp;lt;WorkflowCommand, string&amp;gt;((Func&amp;lt;WorkflowCommand, string&amp;gt;)(x =&amp;gt; x.CommandID)));&#xA;        }&#xA;        return new AdvancedWorkboxForm.StateItems()&#xA;        {&#xA;            Items = (IEnumerable&amp;lt;Item&amp;gt;)objList,&#xA;            CommandIds = (IEnumerable&amp;lt;string&amp;gt;)stringList&#xA;        };&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Die Funktion gibt an welche Items in der Liste für den jeweiligen Workflowstatus angezeigt werden sollen.&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    protected new DataUri[] GetItems(WorkflowState state, IWorkflow workflow)&#xA;    {&#xA;        Assert.ArgumentNotNull((object)state, &quot;state&quot;);&#xA;        Assert.ArgumentNotNull((object)workflow, &quot;workflow&quot;);&#xA;&#xA;        ArrayList arrayList = new ArrayList();&#xA;        DataUri[] items = workflow.GetItems(state.StateID);&#xA;        if (items == null || items.Length == 0)&#xA;        {&#xA;            return new DataUri[0];&#xA;        }&#xA;&#xA;        foreach (DataUri index in items)&#xA;        {&#xA;            Item obj = Context.ContentDatabase.Items[index];&#xA;            if (SelectedLanguage == &quot;All&quot;)&#xA;            {&#xA;                //Originalcode, hier werden alle Items zurückgegeben&#xA;                if (obj != null &amp;amp;&amp;amp; obj.Access.CanRead() &amp;amp;&amp;amp; (obj.Access.CanReadLanguage() &amp;amp;&amp;amp; obj.Access.CanWriteLanguage()) &amp;amp;&amp;amp; (Context.IsAdministrator || obj.Locking.CanLock() || obj.Locking.HasLock()))&#xA;                {&#xA;                    arrayList.Add((object)index);&#xA;                }&#xA;            }&#xA;            else&#xA;            {&#xA;                //angepasst an die Sprachen die wir ausgewählt haben&#xA;                if (obj != null &amp;amp;&amp;amp; obj.Language.CultureInfo.Name == SelectedLanguage &amp;amp;&amp;amp; obj.Access.CanRead() &amp;amp;&amp;amp; (obj.Access.CanReadLanguage() &amp;amp;&amp;amp; obj.Access.CanWriteLanguage()) &amp;amp;&amp;amp; (Context.IsAdministrator || obj.Locking.CanLock() || obj.Locking.HasLock()))&#xA;                {&#xA;                    arrayList.Add((object)index);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        return arrayList.ToArray(typeof(DataUri)) as DataUri[];&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;With my Code above and that you need to use the complete decompiled code &lt;strong&gt;WorkboxForm&lt;/strong&gt; the language filter is working. Here the blog post is not up to date. I've implemented it on Sitecore 9.0 Update-2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And don't forget to add the other two methods &lt;strong&gt;SelectedLanguage&lt;/strong&gt; and &lt;strong&gt;Language_Change&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="3827" LastEditorUserId="3827" LastEditDate="2019-09-20T05:00:50.870" LastActivityDate="2019-09-20T05:00:50.870" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22156" PostTypeId="2" ParentId="22138" CreationDate="2019-09-19T14:16:49.367" Score="2" Body="&lt;p&gt;There are some small issues with the code but more importantly, you are going about this the wrong way. You have adapted a locking pattern for a singleton to something that is not a singleton. Currently, you are locking on a single static object regardless of what the cache key is. This can easily cause excessive locking in a real-world scenario. I would recommend you fix this in 1 of 2 ways:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;If the instantiation of the object you are caching is thread-safe and not very expensive, then it might make the most sense to get rid of the lock altogether and accept that sometimes an object gets added to the cache twice. Behind the scenes, the cache is implemented as a ConcurrentDictionary and therefore is thread-safe.&lt;/li&gt;&#xA;&lt;li&gt;If option 1 is not an option then you should implement a solution that is not based on a singleton pattern but locks based on the cache key. This will require a good amount of code to implement properly but a good example can be found in &lt;a href=&quot;https://stackoverflow.com/a/4382803/4950874&quot;&gt;this&lt;/a&gt; SO answer&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2495" LastEditorUserId="4050" LastEditDate="2021-10-06T20:04:02.293" LastActivityDate="2021-10-06T20:04:02.293" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="22157" PostTypeId="1" AcceptedAnswerId="22158" CreationDate="2019-09-19T14:25:15.917" Score="3" ViewCount="610" Body="&lt;p&gt;I've written a custom bucket action to set the path based on a template date field, rather than the created date. I based this information off this blog: &lt;a href=&quot;http://techitpro.com/uncategorized/sitecore-bucket-structure-item-field-value-based/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://techitpro.com/uncategorized/sitecore-bucket-structure-item-field-value-based/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On creation, the template date field is set via a standard value to today's date, but this could be changed on edit. I found an old article asking about this: &lt;a href=&quot;https://stackoverflow.com/questions/32612278/sitecore-8-sync-a-bucket-item-on-save&quot;&gt;https://stackoverflow.com/questions/32612278/sitecore-8-sync-a-bucket-item-on-save&lt;/a&gt;. The original answer mentioned using the BucketManager.Sync function, which would sync the entire bucket, but a comment suggested there was a way to sync a single item and have its path alter like the entire bucket sync had been done.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since this bucket is going to contain thousands of items, I'd like to avoid syncing the whole bucket on save each time. Is syncing a single item a feasible option in Sitecore 9.1.1, or is that not advisable?&lt;/p&gt;&#xA;" OwnerUserId="262" LastEditorUserId="342" LastEditDate="2019-09-19T15:47:30.910" LastActivityDate="2019-09-27T02:36:27.057" Title="Sync a single bucketed item to change its path" Tags="|events|buckets|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22158" PostTypeId="2" ParentId="22157" CreationDate="2019-09-19T14:53:51.250" Score="3" Body="&lt;p&gt;You can achieve this by programmatically moving the bucketed item to the root of the bucket with the &lt;code&gt;BucketManager&lt;/code&gt;. Doing this will force it to reevaluate the bucket rules and reorganize it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;BucketManager.MoveItemIntoBucket(bucketedItem, bucketItem);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In our solutions, we typically create an &lt;code&gt;item:saved&lt;/code&gt; event handler to do this automatically:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.Buckets.Managers;&#xA;using Sitecore.Buckets.Util;&#xA;using Sitecore.Data;&#xA;using Sitecore.Data.Items;&#xA;using Sitecore.Events;&#xA;using System;&#xA;using System.Text.RegularExpressions;&#xA;&#xA;namespace Custom.Events.ItemSaved&#xA;{&#xA;    public class ReorganizeBucketedItemInBucket&#xA;    {&#xA;        public void OnItemSaved(object sender, EventArgs args)&#xA;        {&#xA;            var bucketedItem = Event.ExtractParameter(args, 0) as Item;&#xA;&#xA;            // If we don't have an item or we're not saving in the master DB, ignore this save&#xA;            if (bucketedItem == null || !&quot;master&quot;.Equals(bucketedItem.Database?.Name, StringComparison.OrdinalIgnoreCase))&#xA;                return;&#xA;&#xA;            if (!bucketedItem.TemplateID.Equals(new ID(&quot;{bucketed-item-template-id}&quot;))) return;&#xA;&#xA;            var itemChanges = Event.ExtractParameter(args, 1) as ItemChanges;&#xA;&#xA;            // If there were no changes or the changes didn't include the date field, ignore this save&#xA;            if (itemChanges == null || !itemChanges.HasFieldsChanged || !itemChanges.IsFieldModified(new ID(&quot;{field-id-of-date-field}&quot;)))&#xA;                return;&#xA;&#xA;            Item bucketItem = bucketedItem.GetParentBucketItemOrParent();&#xA;&#xA;            // If this item isn't in a bucket (or is in a bucket of another, unexpected type), ignore it&#xA;            if (bucketItem == null) return;&#xA;&#xA;            Item parent = bucketedItem.Parent;&#xA;            BucketManager.MoveItemIntoBucket(bucketedItem, bucketItem);&#xA;&#xA;            // Delete empty ancestor bucket folders&#xA;            while (parent != null &amp;amp;&amp;amp; !parent.HasChildren &amp;amp;&amp;amp; parent.TemplateID == BucketConfigurationSettings.BucketTemplateId)&#xA;            {&#xA;                Item tempParent = parent.Parent;&#xA;                parent.Delete();&#xA;                parent = tempParent;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And don't forget your patch config, of course:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;events&amp;gt;&#xA;            &amp;lt;event name=&quot;item:saved&quot;&amp;gt;&#xA;                &amp;lt;handler type=&quot;Custom.Events.ItemSaved.ReorganizeBucketedItemInBucket, Custom.Events&quot; method=&quot;OnItemSaved&quot;&amp;gt;&amp;lt;/handler&amp;gt;&#xA;            &amp;lt;/event&amp;gt;&#xA;        &amp;lt;/events&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-09-27T02:36:27.057" LastActivityDate="2019-09-27T02:36:27.057" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22159" PostTypeId="2" ParentId="22140" CreationDate="2019-09-19T18:12:17.857" Score="2" Body="&lt;p&gt;I recently ran into something similar after configuring federated authentication in Sitecore 9.1.1 using Azure AD. Verify that the &lt;code&gt;/sitecore/admin/&lt;/code&gt; path is added to the &lt;code&gt;&amp;lt;siteNeutralPaths /&amp;gt;&lt;/code&gt; element in the &lt;code&gt;ValidateSiteNeutralPaths&lt;/code&gt; pipeline processor config, otherwise the user's identity won't be properly validated when accessing resources under that path:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; &#xA;    xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; &#xA;    xmlns:security=&quot;http://www.sitecore.net/xmlconfig/security/&quot;&amp;gt;&#xA;    &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot; security:require=&quot;Sitecore&quot;&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;            &amp;lt;owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;                &amp;lt;processor type=&quot;Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateSiteNeutralPaths, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;                    &amp;lt;siteNeutralPaths hint=&quot;list&quot;&amp;gt;&#xA;                        &amp;lt;path&amp;gt;/sitecore/admin/&amp;lt;/path&amp;gt;&#xA;                    &amp;lt;/siteNeutralPaths&amp;gt;&#xA;                &amp;lt;/processor&amp;gt;&#xA;            &amp;lt;/owin.cookieAuthentication.validateIdentity&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="37" LastActivityDate="2019-09-19T18:12:17.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22160" PostTypeId="2" ParentId="22074" CreationDate="2019-09-19T20:37:24.440" Score="1" Body="&lt;p&gt;If you have the possibility to use Droplink instead of Droplist do that. Droplist field stores only the current name of the selected item but Droplink stores the item ID reference which would work in your case. With the ID reference you should able to get the display name of the selected item.&lt;/p&gt;&#xA;" OwnerUserId="408" LastActivityDate="2019-09-19T20:37:24.440" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22161" PostTypeId="1" AcceptedAnswerId="22171" CreationDate="2019-09-19T21:32:40.980" Score="0" ViewCount="175" Body="&lt;p&gt;I'm trying to display a custom marker icon on the map component. However, I see the default icon getting displayed on the map. Here's the detail that I have in Sitecore&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Created a POI Type &amp;quot;A&amp;quot; (POI Icon field set to the custom icon) and selected Default as rendering variant.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Associated the POI Type &amp;quot;A&amp;quot; with the Location items (inherits IPoi and search results containing LatLong details)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Created a Map component, setting the properties field (Mode, Central Point Mode, Latitude, Longitude, Zoom, POI Type mapping to Rendering variants, etc.Made the POI field empty on the map component as I do not want to show My Location.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;But this is what I get on the map&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gAIau.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gAIau.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Any thoughts, what I might be missing here?&lt;/p&gt;&#xA;" OwnerUserId="5800" LastEditorUserId="4050" LastEditDate="2021-10-06T20:03:56.390" LastActivityDate="2021-10-06T20:03:56.390" Title="Trying to display the custom marker icon on the map component" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22162" PostTypeId="2" ParentId="12870" CreationDate="2019-09-19T22:00:32.880" Score="4" Body="&lt;p&gt;Actually, restarting my laptop did not solve the issue. Later when I tried to install the Sitecore Commerce again, it failed at the same task. Basically, I did find a workaround for this issue, which seems to work.&lt;br&gt;&lt;br&gt;&#xA;&lt;strong&gt;The Issue:&lt;br&gt;&lt;/strong&gt;&#xA;The script stops the sites AppPool and right away before the AppPool is released it tries to restart the AppPool. Since the AppPool is not available it fails to start. Restarting the AppPool or PC sometimes solves the issue but it may not solve it at all. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Workaround (Solution):&lt;br&gt;&lt;/strong&gt;&#xA;1) Navigate to this file:&lt;br&gt;&#xA;C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-ManageAppPoolTask.ps1&lt;br&gt;&lt;br&gt;&#xA;2)&#xA;Insert a &quot;Start-Sleep -s 60&quot; before the starting the AppPool&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;switch ($Action) {&#xA;                'start' {&#xA;                    if(CheckAppPoolState -Name $Name -RequiredState &quot;Started&quot;)&#xA;                    {&#xA;                        Start-Sleep -s 60&#xA;                        Write-Verbose &quot;Starting App Pool Ercan Polat '$Name'&quot;&#xA;                        Start-WebAppPool -Name $Name&#xA;                    }&#xA;                }&#xA;                'stop' {&#xA;                    if(CheckAppPoolState -Name $Name -RequiredState &quot;Stopped&quot;)&#xA;                    {&#xA;                        Write-Verbose &quot;Stopping App Pool Ercan Polat'$Name'&quot;&#xA;                        Stop-WebAppPool -Name $Name&#xA;                        Start-Sleep -s 60&#xA;                    }&#xA;                }&#xA;&lt;/code&gt;&#xA;&lt;br&gt;&#xA;&lt;strong&gt;Note:&lt;/strong&gt;&lt;br&gt;&#xA;I also added &quot;Start-Sleep -s 60&quot; after the &quot;Stop-WebAppPool&quot;. I'm pretty sure you will not need to add the sleep script to both locations. Also, you may even decrease the sleep duration. &lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-09-19T22:00:32.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22163" PostTypeId="2" ParentId="19395" CreationDate="2019-09-19T23:11:03.860" Score="3" Body="&lt;p&gt;Just ran into this issue. Planning on writing a blog for this. But here is the shorter version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On CM, the error you see is not super helpful. But, as others mentioned, it is related to the certificate. In my case, the problem is due to the SolrCloud certificate. I have used self-signed for our requirement.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue originates from Xconnect-search (if you are using XP0, all XConnect roles will be in the same app, unlike in scaled where you can deploy Xconnect-search as a separate app). Assuming you are using a self-signed certificate for Solr (it is mandatory to run Solr in https mode with SSL certificate), we need to allow that Thumbprint in XConnect search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case, though I entered it in &lt;code&gt;App_Data/jobs/continuous/IndexWorker/App_data/config/sitecore/CollectionSearch/sc.Xdb.Collection.WebClient.SOLR.xml&lt;/code&gt; I still kept receiving this error. &lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-xml prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;XConnect&amp;gt;&#xA;      &amp;lt;CollectionSearch&amp;gt;&#xA;        &amp;lt;Services&amp;gt;&#xA;            &amp;lt;ISolrWebClientFactory&amp;gt;&#xA;                &amp;lt;Type&amp;gt;Sitecore.Xdb.Collection.Search.Solr.SolrWebClientFactory, Sitecore.Xdb.Collection.Search.Solr&amp;lt;/Type&amp;gt;&#xA;                &amp;lt;As&amp;gt;Sitecore.Xdb.Collection.Search.Solr.IWebClientFactory, Sitecore.Xdb.Collection.Search.Solr&amp;lt;/As&amp;gt;&#xA;                &amp;lt;LifeTime&amp;gt;Singleton&amp;lt;/LifeTime&amp;gt;&#xA;                &amp;lt;Options&amp;gt;&#xA;                   &amp;lt;AcceptCertificates&amp;gt;&#xA;                     &amp;lt;thumbprint1&amp;gt;‎69 3b 2x xx xx xx xx 4e 3a 4d fc 2e 9e 2d 92 8c c7 af 5b 6a&amp;lt;/thumbprint1&amp;gt;&#xA;                     &amp;lt;SolrCloud&amp;gt;693B2XXXXXXXXXXXX4E3A4DFC2E9E2D928CC7AF5B6A&amp;lt;/SolrCloud&amp;gt;                  &#xA;                   &amp;lt;/AcceptCertificates&amp;gt;&#xA;                &amp;lt;/Options&amp;gt;&#xA;            &amp;lt;/ISolrWebClientFactory&amp;gt;&#xA;        &amp;lt;/Services&amp;gt;&#xA;      &amp;lt;/CollectionSearch&amp;gt;&#xA;    &amp;lt;/XConnect&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So, I ended up duplicating the thumbprints in &lt;code&gt;App_Data/Config/Sitecore/CollectionSearch/sc.Xdb.Collection.WebClient.SOLR.xml&lt;/code&gt; also. And this resolved the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After spending some time trying to understand how XConnect is loading the XML configuration files, it is still a puzzle to crack why I need to add the thumbprint outside of &lt;code&gt;indexingworker&lt;/code&gt; job.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this will help others resolve this issue. By the way, this problem occurs in 9.1 update 1 also.&lt;/p&gt;&#xA;" OwnerUserId="773" LastEditorUserId="773" LastEditDate="2019-09-19T23:25:34.510" LastActivityDate="2019-09-19T23:25:34.510" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22164" PostTypeId="1" CreationDate="2019-09-20T03:45:52.700" Score="1" ViewCount="101" Body="&lt;p&gt;I'm running into the following error when I try to install Sitecore Experience Commerce 9.1.0. &#xA;Previously, I had an error stating that &quot;Services are not available at this time&quot;.&#xA;Restarting my Sitecore services fixed my issue. But this time, I have tried the installation with a fresh instance of XP but no luck. My SOLR is up and running and all the required services are also running. I have no clue what is causing this error.&#xA;Please help me out in finding out how to resolve this error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Q8KMy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Q8KMy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5845" LastActivityDate="2019-09-20T03:45:52.700" Title="Error - ScriptHalted while installing Sitecore XC 9.1.0" Tags="|sitecore-commerce|sitecore-install-framework|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22166" PostTypeId="2" ParentId="22146" CreationDate="2019-09-20T06:09:24.780" Score="1" Body="&lt;p&gt;In my last project, we extracted the monthly visits from google analytics report and based on that we decided the SKU using the SKU table on below link.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/043375&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/043375&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can go with the above recommendations, BTW in future based on use you will able to change the SKU based on actual traffic and application performance analysis. &lt;/p&gt;&#xA;" OwnerUserId="1377" LastActivityDate="2019-09-20T06:09:24.780" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="22167" PostTypeId="2" ParentId="20641" CreationDate="2019-09-20T06:22:52.683" Score="0" Body="&lt;p&gt;Turns out that the WAF was blocking the tracking request due to triggering OWASP rules.  Updating that configuration made the Cors exception go away!  So I did not have to modify the methods from what I had posted above.&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-09-20T06:22:52.683" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22168" PostTypeId="1" CreationDate="2019-09-20T07:18:10.987" Score="-1" ViewCount="126" Body="&lt;p&gt;WE have enabled Cookie Policy popup in our Site.. If end user not accept the cookie policy then we have to store its IP address as 0.0.0.0 or blank in XDB... Once it accept then the actual IP address would store .&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we have any solution based on the user visit.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have setting in Sitecore Marketing and XDB configuration for REDACT the IP but its storing 0.0.0.0 for all the user but the requirement is based on user visits , if user not accept  cookie policy then store 0.0.0.0 else its actual IP.&lt;/p&gt;&#xA;" OwnerUserId="1338" LastEditorUserId="73" LastEditDate="2019-09-23T08:28:09.370" LastActivityDate="2019-09-23T08:28:09.370" Title="Store User IP address 0.0.0.0 until user not accept Site Cookie Policy in Sitecore 9.2" Tags="|xdb|cookies|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22169" PostTypeId="2" ParentId="22145" CreationDate="2019-09-20T07:37:55.153" Score="1" Body="&lt;p&gt;This field in the Rendering Variant root item is used as a global class for the whole Page List. Take a look:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/TSYQD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/TSYQD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you would like to assign classes to certain Page List items you need to do it on the certain variant item, like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4rxwd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4rxwd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-09-20T07:37:55.153" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="22170" PostTypeId="2" ParentId="22148" CreationDate="2019-09-20T07:51:07.417" Score="1" Body="&lt;p&gt;If you will uncheck the &lt;code&gt;Is editable&lt;/code&gt; checkbox in particular item, &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/19/sitecore-experience-accelerator/en/create-a-rendering-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Rendering Variants&lt;/a&gt; will disable edition of that field in Experience Editor. So yes you can disable web editing of particular filed which are rendered using Rendering Variants in Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep in mind that Rendering Variants has nothing to do with Content Editor.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-09-20T07:51:07.417" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22171" PostTypeId="2" ParentId="22161" CreationDate="2019-09-20T08:12:56.947" Score="0" Body="&lt;p&gt;I've just rechecked that and it works fine. I've assigned custom &lt;code&gt;png&lt;/code&gt; image to my new POI Type and it works correctly for both modes. Bellow list of static POIs on the map:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qwdcN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qwdcN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And here are POIs found by Search Results:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JAAOk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JAAOk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-09-20T08:12:56.947" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22172" PostTypeId="1" CreationDate="2019-09-20T08:43:09.413" Score="3" ViewCount="270" Body="&lt;p&gt;I have a admin user1 (user1 is a adminstrator) and a default admin. Now when I login using default admin user the sitecore BizFX interface loads fine but with user1 the screen shows loading symbol indefinitely. I have also assigned sitecore\commerce administrator role to the admin user1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Getting &lt;code&gt;Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID&lt;/code&gt; message in console&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Have I missed any configuration?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/UMFvJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/UMFvJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="4039" LastEditDate="2019-09-20T09:01:35.413" LastActivityDate="2019-10-21T08:01:40.393" Title="Sitecore commerce 9.0.2 interface not loading" Tags="|sitecore-commerce|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22173" PostTypeId="1" AcceptedAnswerId="22215" CreationDate="2019-09-20T09:07:20.363" Score="2" ViewCount="738" Body="&lt;p&gt;Working with:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore.NET 9.0.2 (rev. 180604) &lt;/li&gt;&#xA;&lt;li&gt;SXA 1.7.1&lt;/li&gt;&#xA;&lt;li&gt;Azure Search&lt;/li&gt;&#xA;&lt;li&gt;Sitecore Forms Extension 9.0-1.8.2 (also installed &lt;code&gt;nodb&lt;/code&gt; package on CD)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I have created a customized save action. The form is working fine in CM but while trying to submit the form in CD, it throws 500 Error.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Server Error in '/' Application.&#xA;Type 'Feature.FormsExtensions.Fields.Hidden.HiddenViewModel' in Assembly 'Feature.FormsExtensions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;Exception Details: System.Runtime.Serialization.SerializationException: Type 'Feature.FormsExtensions.Fields.Hidden.HiddenViewModel' in Assembly 'Feature.FormsExtensions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.&#xA;&#xA;Source Error:&#xA;&#xA;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace:&#xA;&#xA;&#xA;[SerializationException: Type 'Feature.FormsExtensions.Fields.Hidden.HiddenViewModel' in Assembly 'Feature.FormsExtensions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.]&#xA;   System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +14740483&#xA;   System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +87&#xA;   System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +223&#xA;   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +188&#xA;   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder) +263&#xA;   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) +496&#xA;   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArrayMember(WriteObjectInfo objectInfo, NameInfo arrayElemTypeNameInfo, Object data) +605&#xA;   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArray(WriteObjectInfo objectInfo, NameInfo memberNameInfo, WriteObjectInfo memberObjectInfo) +1455&#xA;   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) +570&#xA;   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +552&#xA;   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +208&#xA;   Sitecore.SessionProvider.Redis.RedisUtility.GetBytesFromObject(Object data, Boolean compress) +345&#xA;   Sitecore.SessionProvider.Redis.RedisUtility.AppendUpdatedOrNewItemsInList(ChangeTrackingSessionStateItemCollection sessionItems, List`1 list, Boolean compress) +201&#xA;   Sitecore.SessionProvider.Redis.RedisConnectionWrapper.TryUpdateIfLockIdMatchPrepare(String sessionId, Object lockId, ISessionStateItemCollection data, Int32 sessionTimeout, String[]&amp;amp; keyArgs, Object[]&amp;amp; valueArgs) +286&#xA;   Sitecore.SessionProvider.Redis.RedisConnectionWrapper.TryUpdateAndReleaseLockIfLockIdMatch(String sessionId, Object lockId, ISessionStateItemCollection data, Int32 sessionTimeout) +59&#xA;   Sitecore.SessionProvider.Redis.RedisSessionStateProvider.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +893&#xA;   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +856&#xA;   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223&#xA;   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213&#xA;   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +91&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As @BartVerdonck suggested, I have raised a bug report ticket for this issue:&#xA;&lt;a href=&quot;https://github.com/bartverdonck/Sitecore-Forms-Extensions/issues/58&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/bartverdonck/Sitecore-Forms-Extensions/issues/58&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since it will take time to be resolved by @BartVerdonck, is there any workaround for this issue?&lt;/p&gt;&#xA;" OwnerUserId="3607" LastEditorUserId="3607" LastEditDate="2019-09-20T10:15:03.190" LastActivityDate="2019-09-23T09:15:21.340" Title="Sitecore Forms Extension SerializationException 500 Error" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22174" PostTypeId="2" ParentId="22172" CreationDate="2019-09-20T09:51:21.983" Score="0" Body="&lt;p&gt;It happens if your bizfx configuration is not correct. If you go to your bizfx installation directly, under assets folder you will find config.json. Check for the url to Commerce Engine. Since Bizfx is talking to your commerce engine, most probably authoring role, you need to make sure the ssl certificates are rightly set.&lt;br&gt;&#xA;here are the details of certificates in 9.x&#xA;&lt;a href=&quot;https://sitecoredude.com/the-dudes-guide-to-certificates-in-sitecore-experience-commerce-9/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecoredude.com/the-dudes-guide-to-certificates-in-sitecore-experience-commerce-9/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1050" LastActivityDate="2019-09-20T09:51:21.983" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22175" PostTypeId="1" CreationDate="2019-09-20T10:25:33.850" Score="1" ViewCount="356" Body="&lt;p&gt;We need to use DateRangeField query in Solr to perform two dates range filter.  Managed schema field sample:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;date_range&quot; class=&quot;solr.DateRangeField&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I have written computed field to add two dates into dateTimeCollection and index to Solr as &lt;strong&gt;dateRangeFilter_dtm&lt;/strong&gt; (computed field)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;dateRangeFilter&quot; returnType=&quot;datetimeCollection&quot; storageType=&quot;YES&quot; indexType=&quot;datetimeCollection&quot;&amp;gt;&#xA;     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Namespace xxxxxxxxxxxxx&#xA; &amp;lt;/field&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After indexing this computed field is getting added of type DatePointField (org.apache.solr.schema.DatePointField) in Solr. But we need to index this field of type DateRangeField to perform this query in Solr:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; ({!field f=dateRangeFilter_dtm op=Intersects}[2017-09-30T00:00:00Z TO 2020-10-25T23:59:59Z])&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In order to perform this query, the field should be of DateRangeField type only. We tried using both Datetime Array and Datetime Collection returnType, but both are indexing as DatePointField fieldtype in Solr. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there an option in Sitecore to use or add DateRangeField typeMatch fieldmap?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help would be appreciated!!&lt;/p&gt;&#xA;" OwnerUserId="2528" LastEditorUserId="319" LastEditDate="2019-09-20T12:34:31.043" LastActivityDate="2019-09-20T12:34:31.043" Title="Implementing a solr.DateRangeField type in Sitecore" Tags="|solr|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22177" PostTypeId="1" CreationDate="2019-09-20T10:49:59.407" Score="1" ViewCount="1138" Body="&lt;p&gt;Can we override &lt;code&gt;SC_ANALYTICS_GLOBAL_COOKIE&lt;/code&gt; through code? Meaning, in my configuration file I set to &lt;code&gt;true&lt;/code&gt;, through code I want to set it to &lt;code&gt;false&lt;/code&gt; for a particular user. Is it possible?&lt;/p&gt;&#xA;" OwnerUserId="2319" LastEditorUserId="342" LastEditDate="2019-09-20T12:28:32.610" LastActivityDate="2019-09-20T12:28:32.610" Title="Change value of SC_ANALYTICS_GLOBAL_COOKIE to false" Tags="|configuration|experience-analytics|cookies|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22179" PostTypeId="2" ParentId="22177" CreationDate="2019-09-20T11:10:57.940" Score="1" Body="&lt;p&gt;I wouldn't recommend overwriting cookies that are set by the platform generally. I usually recommend make your own which you have full control over.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Cookie editing is limited by domains. You couldn't edit it cross domain. Quote from mozilla when talking about cookies:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Additionally, restrictions to a specific domain and path can be set, limiting where the cookie is sent.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this cookie in particular I recommend using sitecore out the box approach for this first &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/visitor-identification-using-the-robot-detection-component.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/visitor-identification-using-the-robot-detection-component.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Run the following in javascript:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Session.SetClassification(925, 925, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;which will disable the cookie.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Tracker.Current.Session.SetClassification(0, 0, true);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;this enables the cookie.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If this isn't what you want, you can manipulate the cookie via c# by requesting the cookie first. I stress sitecore &lt;code&gt;SetClassification&lt;/code&gt; is safer option as it may do more then just set the cookie.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;HttpCookie cookie = Request.Cookies[&quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;];&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Check if it's null then update your values:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (cookie == null)&#xA;{&#xA;    // no cookie found, create it&#xA;    cookie = new HttpCookie(&quot;SC_ANALYTICS_GLOBAL_COOKIE&quot;);&#xA;    cookie.Values[&quot;yourValueName&quot;] = &quot;1&quot;;&#xA;    cookie.Values[&quot;yourValueName2&quot;] = &quot;0&quot;;&#xA;}else{&#xA;    // update existing cookie values&#xA;    cookie.Values[&quot;relevanValueToUpdate&quot;] = true;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;you can even change the expiry.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// update the expiration timestamp&#xA;cookie.Expires = DateTime.UtcNow.AddDays(30);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;finally.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// overwrite the cookie&#xA;Response.Cookies.Add(cookie);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;code sample from: &lt;a href=&quot;https://stackoverflow.com/questions/22070840/change-a-cookie-value-of-a-cookie-that-already-exists&quot;&gt;https://stackoverflow.com/questions/22070840/change-a-cookie-value-of-a-cookie-that-already-exists&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="283" LastEditorUserId="283" LastEditDate="2019-09-20T11:18:25.443" LastActivityDate="2019-09-20T11:18:25.443" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22180" PostTypeId="2" ParentId="22074" CreationDate="2019-09-20T12:07:23.957" Score="1" Body="&lt;p&gt;Droplist is simply an item name (string) and it does not know anything about what item you have selected.&#xA;Better you go with DropLink and get the TargetItem and take out the display name.&#xA;However I will suggest you to create a new Field in your datasource items and fetch them for your component.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;((LookupField)item.Fields[&quot;DropLinkField&quot;]).TargetItem.DisplayName&lt;/p&gt;&#xA;" OwnerUserId="5542" LastActivityDate="2019-09-20T12:07:23.957" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22181" PostTypeId="1" AcceptedAnswerId="22182" CreationDate="2019-09-20T12:26:02.783" Score="2" ViewCount="1524" Body="&lt;p&gt;We are using sitecore 9.0 and SXA 1.8.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We want to add a favicon for our site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an option available in the path &lt;code&gt;/sitecore/content/Tenant/Site/Settings&lt;/code&gt; to upload the favicon, but when I try to upload it by selecting the item from the media library, it says:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The selected item does not contain an image.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The type of image I am trying to select has an extension &lt;code&gt;.ico&lt;/code&gt;. &#xA;Please let us know if anything is missing.&lt;/p&gt;&#xA;" OwnerUserId="5530" LastEditorUserId="237" LastEditDate="2019-09-20T12:44:57.333" LastActivityDate="2019-09-20T12:44:57.333" Title="How to add favicon (.ico) file for a site in Sitecore SXA" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22182" PostTypeId="2" ParentId="22181" CreationDate="2019-09-20T12:43:25.483" Score="2" Body="&lt;p&gt;Did you add &lt;code&gt;ico&lt;/code&gt; as a mediatype for Sitecore? You could add it with a patch like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:env=&quot;http://www.sitecore.net/xmlconfig/env/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;mediaLibrary&amp;gt;&#xA;      &amp;lt;mediaTypes&amp;gt;&#xA;        &amp;lt;mediaType name=&quot;icon&quot; extensions=&quot;ico&quot;&amp;gt;&#xA;          &amp;lt;mimeType&amp;gt;image/x-icon&amp;lt;/mimeType&amp;gt;&#xA;          &amp;lt;forceDownload&amp;gt;false&amp;lt;/forceDownload&amp;gt;&#xA;          &amp;lt;sharedTemplate&amp;gt;system/media/unversioned/image&amp;lt;/sharedTemplate&amp;gt;&#xA;          &amp;lt;versionedTemplate&amp;gt;system/media/versioned/image&amp;lt;/versionedTemplate&amp;gt;&#xA;        &amp;lt;/mediaType&amp;gt;&#xA;      &amp;lt;/mediaTypes&amp;gt;&#xA;    &amp;lt;/mediaLibrary&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should make Sitecore recognize ico files and solve the issue.&lt;/p&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-09-20T12:43:25.483" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22184" PostTypeId="2" ParentId="20532" CreationDate="2019-09-20T12:51:39.360" Score="1" Body="&lt;p&gt;It will go in Query String field.&#xA;In order to fetch it you need to write something like this&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;p&gt;@using (Html.Glass().BeginRenderLink(navItem, x =&gt; x.Link, new { @class = cssClass }))&#xA;     {&#xA;         @Html.Glass().Editable(navItem, x =&gt; x.Title);&#xA;     }&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link.Url+&quot;?&quot;+Link.Query&lt;/p&gt;&#xA;&#xA;&lt;p&gt;for more refer below link:&#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/11551/glass-mapper-beginrenderlink-stripping-query-string-parameter-that-is-a-url-with&quot;&gt;Glass mapper BeginRenderLink stripping query string parameter that is a Url with ga parameters&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5542" LastActivityDate="2019-09-20T12:51:39.360" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22185" PostTypeId="2" ParentId="14375" CreationDate="2019-09-20T13:13:40.077" Score="0" Body="&lt;p&gt;Sitecore default Rules execute without any custom code but if you want to write your own Rules then you can use below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;public class AptifyMemberDuesPaidThruCondition : WhenCondition where T : RuleContext&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However there can be many reasons for this issue.&#xA;Refer:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/4767/is-it-possible-to-use-any-personalisation-rules-without-xdb&quot;&gt;Is it possible to use any personalisation rules without xDB&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5542" LastActivityDate="2019-09-20T13:13:40.077" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22186" PostTypeId="2" ParentId="8816" CreationDate="2019-09-20T13:33:16.000" Score="0" Body="&lt;p&gt;Better if you update datasource of the Component(e.g. Rendering) with a new field of &quot;Rules&quot; type.&#xA;Create a new template, have a single field with Field Type (Rules)&#xA;Inherit your datasource's template with this new template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now have a Rule placed on your datasource item.&#xA;and execute it like this way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool MyRules&amp;lt;T&amp;gt;(this RuleList&amp;lt;T&amp;gt; ruleList, T ruleContext) where T : RuleContext&#xA;{&#xA;    if (ruleList.Rules != null &amp;amp;&amp;amp; ruleList.Rules.Any())&#xA;    {&#xA;        if (ruleList.Rules.All(x =&amp;gt; x.Condition == null))&#xA;        {&#xA;            return true;&#xA;        }&#xA;        else&#xA;        {&#xA;            foreach (var rule in ruleList.Rules)&#xA;            {&#xA;                if (rule.Condition == null) continue;&#xA;                var result = rule.Evaluate(ruleContext);&#xA;                if (ruleContext.IsAborted) return false;&#xA;                if (result) return true;&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    return false;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Call it like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var context = new RuleContext();&#xA;datasource.RuleFieldName.MyRule(context);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now it should decide whether goal is achieved or not.&#xA;if default rule does not work, do same with some custom Rule and i think it will work.&lt;/p&gt;&#xA;" OwnerUserId="5542" LastEditorUserId="1515" LastEditDate="2019-09-20T18:31:08.767" LastActivityDate="2019-09-20T18:31:08.767" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22187" PostTypeId="1" AcceptedAnswerId="22188" CreationDate="2019-09-20T14:53:29.370" Score="12" ViewCount="497" Body="&lt;p&gt;I know that Sitecore has a repository for Docker images (&lt;a href=&quot;https://github.com/Sitecore/docker-images&quot; rel=&quot;noreferrer&quot;&gt;https://github.com/Sitecore/docker-images&lt;/a&gt;) but as far as I understand currently the code and examples found in this repository are created and maintained by the Community, unsupported by Sitecore and to be used for example purposes only and without official support.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is if Sitecore have support for Sitecore products in these containers?&lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2019-09-20T14:53:29.370" Title="Does Sitecore have support for Sitecore products in containers?" Tags="|docker|container|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22188" PostTypeId="2" ParentId="22187" CreationDate="2019-09-20T14:53:29.370" Score="15" Body="&lt;p&gt;While currently Sitecore cannot provide guidance on how to develop or host them in a containerized environment other than those examples, but &lt;strong&gt;if you are hosting a Sitecore solution within a containerized environment, the Sitecore Support team will assist you with any Sitecore product issues&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;More details in this KB article: &lt;a href=&quot;https://kb.sitecore.net/articles/161310&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/161310&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="312" LastActivityDate="2019-09-20T14:53:29.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22189" PostTypeId="1" CreationDate="2019-09-20T16:45:25.857" Score="0" ViewCount="50" Body="&lt;p&gt;We are in process of upgrading sitecore 8.2 update 7 (with DEF 1.4.1) to Sitecore 9.2&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we need to upgrade DEF as v1.4.1 -&gt; v2.0 -&gt; v2.1 -&gt; v3.0 OR&#xA;Wpuld it be better to uninstall 1.4.1 and the install fresh 3.0 ?&#xA;I am opting 2nd approach (uninstall and fresh install) as there is no upgrade package for DEF 2.0 when upgrading from DEF v1.4.1.&#xA;Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="6006" LastActivityDate="2019-11-09T01:46:06.237" Title="Upgrading Sitecore and DEF from 1.4.1 to DEF 3.0" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22190" PostTypeId="1" CreationDate="2019-09-20T17:10:16.637" Score="5" ViewCount="7245" Body="&lt;p&gt;I created a new custom index named &lt;code&gt;CUSTOM_SERVICES_INDEX&lt;/code&gt; using this command:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;C:\solr\solr-7.2.1\bin&amp;gt;solr.cmd create -c [custom index name]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;(cmd as administrator) then I created the config file named &lt;code&gt;Sitecore.ContentSearch.Solr.Index.Master.&amp;lt;NAME&amp;gt;.config&lt;/code&gt; in &lt;code&gt;C:\inetpub\wwwroot\killerbarber.sc\App_Config\Include&lt;/code&gt; where &lt;code&gt;killerbarber&lt;/code&gt; is root app folder. I did few changes there such as custom index name, field and template Ids that I wanted my index work wit:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/5d8xM.png&quot; alt=&quot;click here to see the image&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Next step, go to Sitecore &gt; Control Panel &gt; Indexing Manager &gt; Select your new custom index you just created &gt; Build/Rebuild. You will get the next error: &lt;strong&gt;undefined field _indexname&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/3wauY.png&quot; alt=&quot;click here to see the image&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Some workarounds suggest that you have to verify configuration file and validate custome index name, field and template Ids you added on it. All of them are totally fine. Since there is a 400 status code in the error description, I related this issue with some api call and I went to the config file and copied and pasted the URLs that are detailes there: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In my case, none of them worked so I was pretty sure that was the root cause but the others file from other index already created have the same values so that was no the root cause at all. So, this get fixed when you Populate Solr Managed Schema (same place than Indexing Manager). Wait, a new error showedup, this one:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/jAwiK.png&quot; alt=&quot;click here to see the image&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do not be scared, you will find a lot of fix that required a lot of changes such as change strategy syncMaster to intervalAsyncMaster or copy other index forder that rename it and so on.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is my fix, go to schema file and change uniqueKey field to any other (&lt;code&gt;_uniqueid&lt;/code&gt; in my case). Then, restart Solr Service and, finally, restart IIS. After this you can build the custom index without any problem:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/LEWk6.png&quot; alt=&quot;click here to see the image&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Question, is there other workaround for this? My fix worked but maybe there is other simplier than this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&lt;/p&gt;&#xA;" OwnerUserId="5979" LastEditorUserId="95" LastEditDate="2020-06-04T21:51:10.430" LastActivityDate="2021-12-09T11:53:16.753" Title="What is the fix for solr error 'undefined field _indexname' after building custom index in sitecore (v9.1.0)?" Tags="|sxa|solr|content-search|sitecore-api|indexing|" AnswerCount="4" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22191" PostTypeId="2" ParentId="22190" CreationDate="2019-09-20T17:21:17.233" Score="0" Body="&lt;p&gt;This is a great tutorial, but there're some issues that you need to correct before getting an error when your´re going to use the ContentSearchManager.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First and most important, the index name &lt;strong&gt;MUST&lt;/strong&gt; be in lowercase at the moment of creation: custom_services_index&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Second, at the moment you want to use your index at your code, do the following to test it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;        public SearchResults&amp;lt;SearchResultItem&amp;gt; GetSearchResultsNonCurated(string searchTerm) {&#xA;        var index = ContentSearchManager.GetIndex(&quot;custom_services_index&quot;);&#xA;&#xA;        using (var context = index.CreateSearchContext())&#xA;        {&#xA;            var query = context.GetQueryable&amp;lt;SearchResultItem&amp;gt;().Where(x =&amp;gt; x.Content.Contains(searchTerm));&#xA;&#xA;            var results = query.GetResults();&#xA;&#xA;            if (results.Hits.Any())&#xA;            {&#xA;                return results;&#xA;            }&#xA;        }&#xA;&#xA;        return null;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you recive Hits, the index is created succesfully, also you can test your index by going to your Solr instance: &lt;a href=&quot;https://localhost:8989/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8989/solr&lt;/a&gt; then pick your Index name at the &quot;core selector&quot; and then select &quot;Query&quot; in the options at the left.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Click the &quot;Execute Query&quot; button and then find your fields inside the Json result:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0nJkO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0nJkO.png&quot; alt=&quot;Query results&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regards&lt;/p&gt;&#xA;" OwnerUserId="5980" LastActivityDate="2019-09-20T17:21:17.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22192" PostTypeId="1" CreationDate="2019-09-20T18:29:33.593" Score="0" ViewCount="246" Body="&lt;p&gt;In a scenario wherein I have many country sites and each site having a lot of content in common, I could create a master website and clone it across country sites. We know that cloning will establish connection between items from Master site and the cloned site. The question i have is will cloning create additional item records in Link Database when compared to creating country sites through 'copy' operation from Master Site? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason for asking this is - Link table contains relationships between items, such as which item 'is referred to' or 'referred by another' item and it can go across databases. Cloning maintains inheritance between items, whereas copy doesn't. That being the case Would Site cloning put more item entries into Links Table when compared to Site Copy from Master Site ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If we are talking of 100's of country sites created through cloning, will it cause significant size growth in the Links Table?&lt;/p&gt;&#xA;" OwnerUserId="3234" LastActivityDate="2019-09-23T08:29:36.007" Title="Does Sitecore cloning create extra records in Link Database?" Tags="|link-database|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22193" PostTypeId="2" ParentId="22192" CreationDate="2019-09-20T19:25:29.767" Score="1" Body="&lt;p&gt;Technically speaking, the LinkDatabase does not store relations between items. It stores relations between field values, and items. This may not seem relevant, but it can be.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And the answer to your question is &quot;yes&quot;. Creating Clones will increase the number of entries in the LinkDatabase. &lt;em&gt;But not right away, and maybe not in all cases&lt;/em&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let's start with the obvious. A Clone keeps a reference back to it's originator item in the &lt;code&gt;__Source&lt;/code&gt; field. This will add 1 entry to the LinkDatabase per item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;The caveat&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Item clone field values don't actually exist, until you change them. Meaning they will refer their field value back to the &lt;code&gt;[original value]&lt;/code&gt; until changed. Almost like how &lt;code&gt;Standard Values&lt;/code&gt; work. An &lt;code&gt;[original value]&lt;/code&gt; does not exist in the LinkDatabase. This means a massive savings in LinkDatabase records, unless &lt;em&gt;all&lt;/em&gt; of the Cloned items are actually updated with new values. With a Copy of the site, ALL field values would go to LinkDatabase right away.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So it's not as simple as &quot;one is always better than the other&quot;. &lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-09-20T23:05:31.453" LastActivityDate="2019-09-20T23:05:31.453" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22194" PostTypeId="2" ParentId="22172" CreationDate="2019-09-21T07:10:00.753" Score="1" Body="&lt;p&gt;The issue was due to local self signed certificates. When I changed the certificates to real ones it worked.&lt;/p&gt;&#xA;" OwnerUserId="4039" LastActivityDate="2019-09-21T07:10:00.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22195" PostTypeId="2" ParentId="22134" CreationDate="2019-09-21T13:38:30.667" Score="0" Body="&lt;p&gt;Thanks Mark, but we had already done that.  We finally figured out that it was caused by using the same database user for all databases.  It's only a problem with the CM install because that one actually creates two users in the core db.  Once I changed the json to use different user names for coreuser and securityuser the installation continued through all the database and file operations to the next error where SIF can't connect to the site to run some aspx file.  If we don't get through that one quickly I'll be posting again :)&lt;/p&gt;&#xA;" OwnerUserId="868" LastActivityDate="2019-09-21T13:38:30.667" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22196" PostTypeId="1" CreationDate="2019-09-21T15:11:16.430" Score="5" ViewCount="814" Body="&lt;p&gt;I am facing domain resolving issue in Sitecore Multi-Site Solution using Azure PaaS with Azure WAF setup, however, it's working fine if I add the custom domain on Content delivery(Web Apps) level.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Scenario:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have to set up the multi-site solution, which needs to configure on Azure WAF level. The request is coming on WAF first then, CD (web apps) then the web.config( where the domain is resolving)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have setup multi-domain on Azure WAF using this Microsoft blog:&#xA;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/application-gateway/create-multiple-sites-portal&quot; rel=&quot;noreferrer&quot;&gt;https://docs.microsoft.com/en-us/azure/application-gateway/create-multiple-sites-portal&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But the problem is – custom domain is not passing from Azure WAF to CD server(web apps) that’s the reason it’s not resolving the multi-site domain.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the configuration we did on WAF level:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Configuring multi-site for Sitecore on Azure WAF&#xA;Steps involved and pre-requisites&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Azure VNet setup &lt;/li&gt;&#xA;&lt;li&gt;Azure WAF setup &lt;/li&gt;&#xA;&lt;li&gt;Domain level changes &lt;/li&gt;&#xA;&lt;li&gt;WAF - configuring multi-site&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Azure VNet setup:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Azure VNet is required to privately deploy WAF and publicize with public FQDN or IP. Azure VNet can be safeguarded using azure DDoS, this will protect from any public or private vulnerabilities.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WAF Setup&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the VNet is ready, the Azure application gateway can be launched in WAF mode (WAF/WAF2) to protect the Sitecore environment. Below are the elements of WAF to be created while consuming multi-site functionality at WAF.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Backend pool&lt;/li&gt;&#xA;&lt;li&gt;HTTP Settings&lt;/li&gt;&#xA;&lt;li&gt;Front End IP configurations&lt;/li&gt;&#xA;&lt;li&gt;Listeners&lt;/li&gt;&#xA;&lt;li&gt;Rules&lt;/li&gt;&#xA;&lt;li&gt;Health Probes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Domain level changes&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All the origin websites (domains/sub-domains) must be configured with the CNames pointing to Azure WAF FQDN. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WAF Multi-site configuration&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the required domains are mapped with the Azure WAF FQDN, multiple sets of above-mentioned WAF elements should be created pointing to the respective website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;High-level&lt;a href=&quot;https://i.stack.imgur.com/hWivO.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hWivO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; Flow diagram&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It would be great if someone can help on this.&lt;/p&gt;&#xA;" OwnerUserId="690" LastEditorUserId="5387" LastEditDate="2019-09-23T04:59:28.183" LastActivityDate="2020-06-20T09:02:00.203" Title="Multi-Site Domain is not resolving Using Azure WAF" Tags="|azure|paas|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22197" PostTypeId="1" CreationDate="2019-09-21T18:26:57.980" Score="1" ViewCount="291" Body="&lt;p&gt;I am trying to enable login feature for selected pages in SXA site using existing header and footer components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is an existing header component with option like a,b,c. I need to add login feature/button along with a,b,c. can i do this with existing header component or do i have to create a new one only for selected pages?&lt;/p&gt;&#xA;" OwnerUserId="6071" LastEditorUserId="73" LastEditDate="2019-09-21T23:14:11.347" LastActivityDate="2019-09-21T23:14:11.347" Title="How to implement SXA Authentication in selected pages?" Tags="|sxa|authentication|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22198" PostTypeId="2" ParentId="22197" CreationDate="2019-09-21T19:12:38.220" Score="1" Body="&lt;p&gt;I am assuming you created the header as a partial view. That would make sense and you although not exactly stated in the question, it feels safe to assume that.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In that case you have a few options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add the login feature to the header and use personalization rules to hide/show it on the pages where you need it (this does require some logic in the selection of those pages, e.g. same template).&lt;/li&gt;&#xA;&lt;li&gt;Create another partial view (and other page designs) - I wouldn't go for this option, but without full knowledge of your platform it is hard to determine what is best&lt;/li&gt;&#xA;&lt;li&gt;Add a placeholder to the partial view so you can add renderings to it. This way you can add the feature where needed (could be a good solution if you do not have many pages where it is needed)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="237" LastActivityDate="2019-09-21T19:12:38.220" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="22199" PostTypeId="1" AcceptedAnswerId="22203" CreationDate="2019-09-22T02:21:09.313" Score="0" ViewCount="316" Body="&lt;p&gt;I did install the Sitecore Experience Commerce 9.2 locally, without any issues. After installation, I did clean up the databases, rebuilt link databases, rebuilt the indexes and republished the site. &#xA;I can log in to Sitecore Client, access Business Tools and view the default home page. &lt;br&gt;&lt;br&gt;&#xA;However, when I navigate to &quot;&lt;a href=&quot;https://sxa.storefront.com/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sxa.storefront.com/&lt;/a&gt;&quot; I'm getting an error. &lt;br&gt;&quot;Illegal recursion detected: GetModel&quot;&lt;br&gt;&lt;br&gt;&#xA;Note: Previously, I did install Sitecore Commerce 9.2 and did not get this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is an image.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PlFty.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PlFty.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-09-22T05:12:32.753" Title="Sitecore Commerce 9.2 - sxa.storefront.com - Illegal recursion detected: GetModel" Tags="|sitecore-commerce|sxa-storefront|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22200" PostTypeId="1" AcceptedAnswerId="22201" CreationDate="2019-09-22T03:46:14.443" Score="3" ViewCount="249" Body="&lt;p&gt;I'm trying to set up Commerce Engine v9.2 Visual Studio Development Environment. Previously, I did install and configure the Sitecore Experience Commerce v9.2 locally and I did get the issue. I did reinstall it and I'm getting the same issue.&lt;br&gt;&lt;br&gt;&#xA;Below are the steps that I followed and the issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My Steps:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&#xA;1. I cleaned up (manually deleted) everything related to the previous installation. Including database, windows services, websites, website folders, Solr,... (even windows/temp folders) &lt;br&gt;&lt;br&gt;&#xA;2. I did reinstall Solr/Sitecore XP 9.2 and Sitecore Experience Commerce v9.2 without any issues using SIF.&lt;br&gt;&lt;br&gt;&#xA;3. I did clean up the databases, rebuild link indexes, rebuild the indexes and republished the site.&lt;br&gt;&lt;br&gt;&#xA;4. I can access Sitecore Launchpad, SXA storefront and Business Tools (&lt;a href=&quot;https://bizfx.ecms.com&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://bizfx.ecms.com&lt;/a&gt;). &lt;br&gt;&lt;br&gt;&#xA;5. I followed this instruction to setup Visual Studio Commerce Engine Development enviorment &lt;a href=&quot;https://medium.com/@siddharaju.s/debugging-sitecore-commerce-engine-custom-plugins-948a6b50e27f&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter link description here&lt;/a&gt;&lt;br&gt;&lt;br&gt;&#xA;6. I stopped &quot;CommerceAuthoring_ecms&quot; AppPool and Site&lt;br&gt;&lt;br&gt;&#xA;7. When I run the Sitecore.Commerce.Enginee &quot;Engine&quot; it looks like it is running correctly.&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/Nkdd7.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Nkdd7.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;&#xA;8. However, when I try to navigate to business tools I'm getting an issue.&lt;br&gt;&lt;br&gt;&#xA;9. This is the same issue that I was getting in the previous installation. &lt;br&gt;&lt;br&gt;&#xA;10. This issue is that I can't access the business tools.&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/nR7rt.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nR7rt.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;&#xA;11. When I run the Sitecore.Commerce.Engine in &quot;IIS Express&quot; I'm getting the &lt;a href=&quot;https://localhost:5000/api/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:5000/api/&lt;/a&gt;$metadata page. Which looks ok. However, I can still not access business tools.&lt;br&gt;&lt;br&gt;&#xA;12. I did check and updated the Global.json and Config.json files. I also updated logs from Warning to debug.&lt;br&gt;&lt;br&gt;&#xA;13. I don't see any error in Sitecore logs as well as Sitecore.Commerce.Engine logs.&lt;br&gt;&lt;br&gt;&#xA;14. I did google and find similar issue but there was not a solution. &lt;br&gt;&lt;br&gt;&#xA;15. Can somebody give me an idea of how should I debug to find this issue?&lt;br&gt;&#xA;&lt;br&gt;&#xA;16. After @VipinBanka suggestion I checked the developer tools network calls.&#xA;It looks like the request is still going to authoring website.&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/gVvjy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gVvjy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4050" LastEditorUserId="4050" LastEditDate="2019-09-22T04:36:36.087" LastActivityDate="2019-09-22T04:58:07.247" Title="Commerce Engine 9.2 Visual Studio Development Environment setup issue" Tags="|sitecore-commerce|commerce-engine|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="22201" PostTypeId="2" ParentId="22200" CreationDate="2019-09-22T04:58:07.247" Score="2" Body="&lt;p&gt;After @VipinBankas suggestion, I did find out that the request was still going to Authoring website. Since we did turn off Authoring AppPool and Website which were using port 5000, the request was failing. In order to use Sitecore.Commerce.Engine the request should go to &quot;&lt;a href=&quot;https://localhost:5000&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:5000&lt;/a&gt;&quot;. &lt;br&gt;&lt;br&gt;&#xA;Basically, after I updated SitecoreBizFx\assets\config.json file EngineUri to &quot;&lt;a href=&quot;https://localhost:5000&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:5000&lt;/a&gt;&quot;. The issue was solved.&#xA;&lt;br&gt;&lt;br&gt;&#xA;Note: That &quot;&lt;a href=&quot;https://localhost:5000&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:5000&lt;/a&gt;&quot; is redirected by Kerstel server to &quot;&lt;a href=&quot;https://localhost:4200/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:4200/&lt;/a&gt;&quot; &lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HKFnZ.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HKFnZ.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/mbWAC.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mbWAC.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-09-22T04:58:07.247" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22203" PostTypeId="2" ParentId="22199" CreationDate="2019-09-22T05:12:32.753" Score="1" Body="&lt;p&gt;This issue was strange, previously I did setup several times Sitecore Commerce Engine 9.2 locally and I did not get this issue. After, cleaning up the previous versions and reinstalling a new Sitecore Commerce Engine 9.2 I did get this issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, it was a known issue that Sitecore provided a patch. &lt;br&gt;&lt;br&gt;&#xA;Download the package, unzip, copy config file and dll to your project. Restart Sitecore and sxa storefront. It should work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Patch:&#xA;&lt;a href=&quot;https://github.com/sitecoresupport/Sitecore.Support.247244/releases&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore.Support.247244&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4050" LastActivityDate="2019-09-22T05:12:32.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22204" PostTypeId="2" ParentId="20903" CreationDate="2019-09-22T17:22:10.590" Score="1" Body="&lt;p&gt;We have experienced something like that once on production environment, after some period of time servers were running out of memory. With help with Sitecore support, they pointed out we have a lot of GlassMapper objects, coming from casting items into GlassMapper objects.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have created custom extension method:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static T GlassCast&amp;lt;T&amp;gt;(this Item item, bool isLazy = false, bool inferType = false) where T : class&#xA;{&#xA;    var service = (SitecoreService) ContainerManager.Container.Resolve&amp;lt;ISitecoreService&amp;gt;(item.Database.Name);&#xA;    return service.Cast&amp;lt;T&amp;gt;(item, isLazy, inferType);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We have &lt;code&gt;ISitecoreService&lt;/code&gt; registered as Singleton in Windsor container.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;container.Register(Component.For&amp;lt;ISitecoreService&amp;gt;().ImplementedBy&amp;lt;SitecoreService&amp;gt;().LifestyleSingleton()&#xA;    .DependsOn(Dependency.OnValue(&quot;databaseName&quot;, &quot;web&quot;)).Named(&quot;web&quot;));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1329" LastActivityDate="2019-09-22T17:22:10.590" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22205" PostTypeId="1" AcceptedAnswerId="22206" CreationDate="2019-09-23T02:41:01.007" Score="1" ViewCount="251" Body="&lt;p&gt;I am new to Sitecore 8.2 and we decided to comply to GDPR. And we are planning to give the site visitor the right to decide if he is going to allow us to collect suc info. If removing &lt;code&gt;Sitecore.VisitorIdentification()&lt;/code&gt; on pages be the right thing to opting out?&lt;/p&gt;&#xA;" OwnerUserId="5771" LastEditorUserId="73" LastEditDate="2019-09-23T09:06:20.897" LastActivityDate="2019-09-23T09:06:20.897" Title="Opt out Sitecore Analytics" Tags="|xdb|" AnswerCount="2" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22206" PostTypeId="2" ParentId="22205" CreationDate="2019-09-23T03:23:22.717" Score="3" Body="&lt;p&gt;You will need to be on 8.2 update 7. But the proper way to do this is to execute the right to be forgotten code on the contact. This will clear all the PII facets in history and going forward. If you just delete the &lt;code&gt;Sitecore.VisitorIdentification()&lt;/code&gt;, you still have info you have gathered in the past.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/technical-guidance-for-gdpr--including-exm-and-sitecore-commerce-.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/technical-guidance-for-gdpr--including-exm-and-sitecore-commerce-.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When you run this code against a contact, it will remove all the PII information from the Sitecore facets. If you have your own facets that you created, you will need to handle those also.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var args = new Sitecore.Analytics.Pipelines.RemoveContactPiiSensitiveData.RemoveContactPiiSensitiveDataArgs(contactId);&#xA;Sitecore.Pipelines.CorePipeline.Run(&quot;removeContactPiiSensitiveData&quot;, args);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Some good info on this SE thread also &#xA;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/12/sitecore-personal-data-and-general-data-protection-regulation-gdpr&quot;&gt;Sitecore, personal data and General Data Protection Regulation (GDPR)&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-09-23T03:23:22.717" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22207" PostTypeId="1" AcceptedAnswerId="22208" CreationDate="2019-09-23T04:53:39.833" Score="1" ViewCount="656" Body="&lt;p&gt;I am bit lost in trying to figure out how to opt out Sitecore Analytics for us to comply to &lt;code&gt;GDPR&lt;/code&gt; thingy, and then come to doubt if Sitecore Analytics is really working on my Sitecore instance. If it doesn't then I don't need to do the opting out.&lt;/p&gt;&#xA;&lt;p&gt;So here's what  I found out:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Upon checking &lt;code&gt;Sitecore.xDB config&lt;/code&gt; (from &lt;code&gt;Website\App_Config\Include&lt;/code&gt;), both &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; and &lt;code&gt;Xdb.Enabled&lt;/code&gt; was set to &lt;code&gt;true&lt;/code&gt; &lt;strong&gt;BUT&lt;/strong&gt; is being overridden by the &lt;code&gt;SitecoreSettings&lt;/code&gt; config. So in the end, &lt;code&gt;Xdb.Enabled&lt;/code&gt; was set to &lt;code&gt;false&lt;/code&gt; and &lt;code&gt;Xdb.Tracking.Enabled&lt;/code&gt; was set to &lt;code&gt;true&lt;/code&gt;. I've seen it from &lt;code&gt;/sitecore/admin/showconfig.aspx&lt;/code&gt;. Weird thing is (I said weird just because I still have no idea WHY) when looking at my &lt;code&gt;SitecoreSettings&lt;/code&gt; config, there's no node for that kind of setting. Only a setting for my &lt;code&gt;LicenseFile&lt;/code&gt;.Interesting...&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;There was no &lt;code&gt;xDB license&lt;/code&gt; installed. Upon checking it on &lt;code&gt;Sitecore Controler Panel &amp;gt; Administration &amp;gt; Installed licenses&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;code&gt;Sitecore.Analytics&lt;/code&gt; config is &lt;strong&gt;NOT&lt;/strong&gt; disabled&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We don't have &lt;code&gt;mongoDB&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;I don't understand the difference between &lt;code&gt;xDB.Enabled&lt;/code&gt; and &lt;code&gt;xDB.Tracking.Enabled&lt;/code&gt;. So I've read the documentation regarding Analytics (hopefully the link won't go dead): &lt;a href=&quot;https://doc.sitecore.com/developers/82/sitecore-experience-platform/en/disabling-xdb-and-xdb-tracking.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Disabling xd and xd tracking&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Okay, so it says:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;When you set Xdb.Tracking.Enabled to true and have xDB disabled:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;Contacts cannot be identified immediately, and any data gathered from the contact is discarded at the end of the session.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You can use personalization rules for contact facets and segmentation.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;IP Geolocation services are available.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Engagement plan processing occurs for the live session.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Contact repositories are available for the session, and outcomes that are triggered during the session are registered.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Okay based on my understanding (Please don't punish me if I'm wrong :/ ), everything about the visitor interactions will be saved &lt;strong&gt;BUT&lt;/strong&gt; on session-based only, then it will be then save to &lt;code&gt;mongoDB&lt;/code&gt; or &lt;code&gt;sql&lt;/code&gt; if there's no &lt;code&gt;mongoDB&lt;/code&gt; (?). So if that's that's the case, it still really does tracking on the site's visitors (&lt;code&gt;anonymous visitors&lt;/code&gt; only on my case, because we don't have login feature for the &lt;code&gt;site visitors&lt;/code&gt;, if my understanding is correct though)&lt;/p&gt;&#xA;&lt;p&gt;So my question is: Is my investigation correct?&lt;/p&gt;&#xA;&lt;p&gt;What I'm using is &lt;code&gt;Sitecore 8.2&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="5771" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-23T06:46:46.613" Title="Checking if Sitecore Analytics is really working" Tags="|sitecore-client|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22208" PostTypeId="2" ParentId="22207" CreationDate="2019-09-23T05:32:19.600" Score="1" Body="&lt;p&gt;Following your analysis, the simple answer is your xDB is disabled. You will only be able to use the tracking mechanism but it will not get added to the xDB databases.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;Xdb.Enable&lt;/code&gt; setting is like a global flag to whether executes pipelines to save the captured data of a contact, interaction into the xdb.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, as long as you have &lt;code&gt;xDB.Enable&lt;/code&gt; as false, the Sitecore analytics, experience profile will be disabled&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-09-23T05:32:19.600" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22209" PostTypeId="1" AcceptedAnswerId="22210" CreationDate="2019-09-23T05:55:15.677" Score="2" ViewCount="229" Body="&lt;p&gt;Using Sitecore 9.1.1 SXA 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a page type where I want its children to always be sorted in reverse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I know that I can select the page and apply the sorting that way:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GXCSJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GXCSJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was hoping I could set it on the template standard values but it's not having an effect (so if it is possible then I'm doing it wrong!)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do notice jumping back into this dialogue on the standard values seems to have no selection (maybe because it has no children??)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Po3mk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Po3mk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="237" LastEditDate="2019-09-23T07:47:22.843" LastActivityDate="2019-09-23T07:47:22.843" Title="Setting subitem sorting value on Template?" Tags="|templates|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22210" PostTypeId="2" ParentId="22209" CreationDate="2019-09-23T07:31:10.477" Score="4" Body="&lt;p&gt;You need to update the &lt;code&gt;Subitems sorting&lt;/code&gt; field on the standard value of the item. Go to the standard value and in the &lt;code&gt;Appearance&lt;/code&gt; section of the standard fields select the &lt;code&gt;Subitems sorting&lt;/code&gt; field, update the field and see the changes - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/DWu7Q.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/DWu7Q.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-23T07:31:10.477" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22212" PostTypeId="2" ParentId="22205" CreationDate="2019-09-23T07:45:33.040" Score="2" Body="&lt;p&gt;To prevent collecting data in the first place, I would set a custom cookie to hold such indicator. And build a custom pipeline as described in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1454/disable-xdb-tracking-for-single-requests&quot;&gt;Disable xDB tracking for single requests&lt;/a&gt; to stop / prevent tracking based on this cookie value.&#xA;The visitor identification is also used to indicate and detect whether someone is a robot or not, and not detecting this properly can have unwanted side effects such as swift/unexpected session expiry.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For all other GDPR requirements, the previous reply points you in the right direction for 8.2&lt;/p&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2019-09-23T07:45:33.040" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22213" PostTypeId="2" ParentId="22168" CreationDate="2019-09-23T08:23:43.167" Score="0" Body="&lt;p&gt;I think what you want can be achieved by a couple of different steps.&#xA;Setting a custom cookie value to indicate whether user accepted cookie policy or not is the first step.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The next step is to set the ip address which is stored in the IpInfo facet on the contact.&#xA;You can override this with the 0.0.0.0 ip based on the cookie value.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I wonder though, whether you wouldn't be better off by disabling tracking for the user in his session until he accepted your cookie policy. I think this is a more common approach.&lt;/p&gt;&#xA;" OwnerUserId="2540" LastActivityDate="2019-09-23T08:23:43.167" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22214" PostTypeId="2" ParentId="22192" CreationDate="2019-09-23T08:29:36.007" Score="2" Body="&lt;p&gt;Adding to what @mark-cassidy said:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Links Database stores relations between field values, and items &lt;strong&gt;for each database (web, master, core, and additional ones), language and version&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;A Clone keeps a reference back to it's originator item in the __Source field. This will add 1 entry to the Links database per item, &lt;strong&gt;field, database, version, and language&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;See in the image below the entries in the Links database for a cloned item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/gzfrQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/gzfrQ.png&quot; alt=&quot;Entries in the Links database for a cloned item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the sake of illustration, I cloned the sample Home page that comes in a vanilla XP 9.1.1 installation, published it, and checked the links database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Tzt45.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Tzt45.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The cloned item (Cloned Home) has a total of 22 rows, while the original one (Home) has a total of 41 rows. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;While it is true to say that cloned items produce less entries in the database - as long as they continue as clones -, they still produce nearly half the amount of the original one.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the image below the first set of records are from the cloned item. The second are from the original item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/56hVg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/56hVg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="522" LastActivityDate="2019-09-23T08:29:36.007" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22215" PostTypeId="2" ParentId="22173" CreationDate="2019-09-23T09:15:21.340" Score="3" Body="&lt;p&gt;Converting comment to answer&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can clone the repository and extend the &lt;code&gt;HiddenViewModel&lt;/code&gt; class. You can then add the &lt;code&gt;serialize&lt;/code&gt; decorative attribute to the class. Then build the solution and deploy the new assembly to your bin folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to also update the namespace to use the new implementation. &lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-09-23T09:15:21.340" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22217" PostTypeId="2" ParentId="20928" CreationDate="2019-09-23T12:54:08.417" Score="0" Body="&lt;p&gt;I got the same situation and i chose the option 1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;you can create a guid kind of key before sending the mail and append it with that link (www.mysite.com/user?guidid={...}).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Keep that guid stored somewhere with user details.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once the user clicks on the link then do what you mentioned in the option one. once you get user specific information then match the keys added to the query param of the mail link and associated with the user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;if both match you can do the rest of the activity and mark that guid as expired but if it does not match you can mark it expired immediately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;this way this link can be used only once and even if someone forward it, it wont work as it already been expired or used.&lt;/p&gt;&#xA;" OwnerUserId="5542" LastActivityDate="2019-09-23T12:54:08.417" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22218" PostTypeId="1" CreationDate="2019-09-23T13:42:10.280" Score="1" ViewCount="245" Body="&lt;p&gt;I'm using Sitecore 9.1.1 and SXA 1.8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I needed to make .png and .txt files downloadable in my site, so I followed the answer &lt;a href=&quot;https://sitecore.stackexchange.com/a/20217/3547&quot;&gt;here&lt;/a&gt;, and added a config patch where &lt;code&gt;forceDownload&lt;/code&gt; is set to true for said media types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;The weird behavior:&lt;/strong&gt; Whenever I open any item in my content editor, (just clicking on it really), it would &lt;em&gt;instantly&lt;/em&gt; download a .png file! whether it is an image I attached inside my item, or just the icon sometimes, it is always downloaded!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Stranger still, is that I tried setting the &lt;code&gt;forceDownload&lt;/code&gt; attributes to &quot;false&quot; in my patch file, but the instant downloads continued.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also tried removing the config patch altogether, and checking from &lt;a href=&quot;http://myinstance/sitecore/admin/showconfig.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://myinstance/sitecore/admin/showconfig.aspx&lt;/a&gt; that the actual loaded config is false, but still the instant downloads continue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could be the problem here? I'm running out of ideas as to what could be wrong, any help would be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastEditorUserId="237" LastEditDate="2019-09-23T13:56:20.917" LastActivityDate="2019-09-24T15:12:16.857" Title="&quot;ForceDownload&quot; downloads images in CM even when set to false" Tags="|content-editor|media-library|" AnswerCount="1" CommentCount="8" ClosedDate="2019-09-24T17:38:33.817" ContentLicense="CC BY-SA 4.0" />
  <row Id="22219" PostTypeId="1" AcceptedAnswerId="22220" CreationDate="2019-09-23T15:00:13.763" Score="4" ViewCount="860" Body="&lt;p&gt;I'm sure you've been in this spot. Client has a QA and a Prod environment, but over time they stopped using best practices, and they have only been authoring content/template changes in Prod, nothing in QA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version 8.2.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;I want QA to match Prod in preparation for a large project.&lt;/h2&gt;&#xA;&#xA;&lt;h2&gt;What's the approach to get QA to match Prod?&lt;/h2&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is it generally just copy the DB's and that's it for all Sitecore content/templates/config?&lt;/li&gt;&#xA;&lt;li&gt;What DB's should I move over to QA? All of them? Any gotchas after moving the DB's?&lt;/li&gt;&#xA;&lt;li&gt;Any hope for moving over PDF's/images/other media to QA that were only uploaded and used in Prod thus-far? (I assume media files are NOT stored in the DB, but don't know how to verify)&lt;/li&gt;&#xA;&lt;li&gt;Any hope for moving over custom code to QA (since Prod has had different code deployed to it over time)?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="5086" LastActivityDate="2019-10-03T02:34:49.487" Title="How To: Refresh environment A(QA) from environment B(Prod) after they're out of sync" Tags="|sql-database|sim|content-migration|" AnswerCount="1" CommentCount="2" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22220" PostTypeId="2" ParentId="22219" CreationDate="2019-09-23T16:04:22.070" Score="4" Body="&lt;p&gt;When we need to do this type of content refresh, we generally follow the below steps:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Backup the PROD and QA &lt;code&gt;master&lt;/code&gt; databases.&lt;/li&gt;&#xA;&lt;li&gt;Restore a backup of the PROD &lt;code&gt;master&lt;/code&gt; database into the QA database server.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Note: you may need to stop the AppPool for your CM environment to perform this restore.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Deploy the latest code and developer-controlled Sitecore items to the QA environment.&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Note: in our case, there are typically newer items in QA because it's farther ahead in the development pipeline. Things like template changes, settings changes, new base folders, etc. Those items will need to be added back into QA after restoring from PROD.&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;If your deployment process does not cause the application to restart, clear the Sitecore cache:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;https://sitecore-server/sitecore/admin/cache.aspx&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Update any QA-specific Sitecore items. Some potential examples:&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Publishing targets and their database names&lt;/li&gt;&#xA;&lt;li&gt;External connector settings items (e.g. modules)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;Publish the &lt;code&gt;/sitecore&lt;/code&gt; item with subitems to all publishing targets&lt;/li&gt;&#xA;&lt;li&gt;Rebuild all content-based search indexes (you can probably safely skip the &lt;code&gt;sitecore_core_index&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Rebuild the links databases&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Regarding your other questions:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Copying the &lt;code&gt;master&lt;/code&gt; database will cover all the content. If you need security or other Sitecore application configuration changes, you may want to include the &lt;code&gt;core&lt;/code&gt; database, too.&lt;/li&gt;&#xA;&lt;li&gt;The only gotchas after moving the databases should be obvious: you brought everything over from PROD so make sure to update any environment-specific settings necessary in QA.&lt;/li&gt;&#xA;&lt;li&gt;Your media items should be stored in the database. You can verify by loading &lt;code&gt;showconfig.aspx&lt;/code&gt; and checking the &lt;code&gt;Media.UploadAsFiles&lt;/code&gt; and &lt;code&gt;Media.DisableFileMedia&lt;/code&gt; settings (they should be set to &lt;code&gt;false&lt;/code&gt; and &lt;code&gt;true&lt;/code&gt;, respectively).&lt;/li&gt;&#xA;&lt;li&gt;You should definitely get your code in QA up-to-date with what's in PROD, but you will need to make sure that it can be safely copied to QA. Does the code or configuration in PROD have anything PROD-specific. Likely there are at least connection strings that need to be adjusted, but there may be more.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-10-03T02:34:49.487" LastActivityDate="2019-10-03T02:34:49.487" CommentCount="13" ContentLicense="CC BY-SA 4.0" />
  <row Id="22221" PostTypeId="1" AcceptedAnswerId="22222" CreationDate="2019-09-23T16:22:41.210" Score="3" ViewCount="1015" Body="&lt;p&gt;I have a Droplist for Approvers and the DataSource of Droplist to &lt;code&gt;/SharedData/Approvers&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't want the current user to have his own name in the list.&#xA;For example, DataSource List is having A, B and C &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When A logs in, it should show B and C but not A. Or it should be validated when A selects himself as Approver.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea?&lt;/p&gt;&#xA;" OwnerUserId="3621" LastEditorUserId="605" LastEditDate="2019-09-23T18:32:32.443" LastActivityDate="2019-09-24T02:48:13.297" Title="Dynamic DataSource for Droplist in Content Editor" Tags="|sitecore-client|content-editor|validation|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22222" PostTypeId="2" ParentId="22221" CreationDate="2019-09-23T18:09:12.407" Score="4" Body="&lt;p&gt;It is possible via both a custom field implementation or field validation. Below is the code for both ways.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 1 - A Custom Validation&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should implement a class which will extend the &lt;code&gt;StandardValidator&lt;/code&gt;. The code snippet is provided below to create a custom validation for the droplist.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[Serializable]&#xA;public class UserValidation : StandardValidator&#xA;{&#xA;    protected override ValidatorResult Evaluate()&#xA;    {&#xA;        var selectedValue = ControlValidationValue;&#xA;&#xA;        var username = Context.User.LocalName;&#xA;&#xA;        if (!selectedValue.IsNullOrEmpty() &amp;amp;&amp;amp; selectedValue.Equals(username))&#xA;        {&#xA;            Text = GetText($&quot;Field {GetFieldDisplayName()} cannot select your own name&quot;);&#xA;            return ValidatorResult.FatalError;&#xA;        }&#xA;&#xA;        return ValidatorResult.Valid;&#xA;    }&#xA;&#xA;    protected override ValidatorResult GetMaxValidatorResult()&#xA;    {&#xA;        return GetFailedResult(ValidatorResult.Error);&#xA;    }&#xA;&#xA;    public override string Name =&amp;gt; &quot;User Validator&quot;;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In the code above, I have use the &lt;code&gt;LocalName&lt;/code&gt; property. This property will return me only the name. Example, Admin.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Note that this piece of code will validate the username against the item name. It is feasible check the username against a field on the items from the list but it will require additional code to retrieve the selected item then read the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once you have deployed the above code, you will need to create a new validation item under the path &lt;code&gt;/sitecore/system/Settings/Validation Rules/Field Rules&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/iy8Fr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/iy8Fr.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Change the &lt;code&gt;Type&lt;/code&gt; to match your namespace. Also, you need to assign the newly created validation rule to the field.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution 2 - A Custom Field&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can implement a custom droplist which extend the &lt;code&gt;ValueLookupEx&lt;/code&gt; from the namespace &lt;code&gt;Sitecore.Shell.Applications.ContentEditor&lt;/code&gt; in the &lt;code&gt;Sitecore.Kernel.dll&lt;/code&gt;. The purpose will be to remove the current user from the list of items if it matches.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CustomDroplist : ValueLookupEx&#xA;{&#xA;    protected override Item[] GetItems(Item current)&#xA;    {&#xA;        var items = base.GetItems(current);&#xA;&#xA;        var username = Sitecore.Context.User.LocalName;&#xA;&#xA;        var resultItems = items.Where(w =&amp;gt; !w.Name.Equals(username)).ToArray();&#xA;&#xA;        return resultItems;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once implemented, deploy the code and load the content editor. Then, switch the database to &lt;code&gt;core&lt;/code&gt; and navigate to the path &lt;code&gt;/sitecore/system/Field types/List Types&lt;/code&gt; and create a new field using the template &lt;code&gt;Template field type&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/B0T2A.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/B0T2A.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Update the assembly and class with yours.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Outcome&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6HodL.gif&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6HodL.gif&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-09-23T18:09:12.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22223" PostTypeId="2" ParentId="22221" CreationDate="2019-09-24T02:48:13.297" Score="4" Body="&lt;p&gt;You can specify custom logic to resolve the source of the field using a &lt;code&gt;code:&lt;/code&gt; declaration and setting it to your custom Class.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Include a reference to &lt;code&gt;Sitecore.Buckets.dll&lt;/code&gt; and create a class which implements &lt;code&gt;IDataSource&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System.Linq;&#xA;using Sitecore.Data.Items;&#xA;&#xA;namespace Sitecore.Sharedsource.Data.FieldSources&#xA;{&#xA;    public class CustomFieldDataSource : Sitecore.Buckets.FieldTypes.IDataSource&#xA;    {&#xA;        public Item[] ListQuery(Item item)&#xA;        {&#xA;            var items = item.Axes.SelectItems(&quot;./ancestor-or-self::*[@@templatename='Homepage']/path/to/userlist/*&quot;);&#xA;            var username = Sitecore.Context.User.LocalName;&#xA;            var resultItems = items.Where(w =&amp;gt; !w.Name.Equals(username)).ToArray();&#xA;&#xA;            return resultItems;&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can now set the field source to &lt;code&gt;code:Sitecore.Sharedsource.Data.FieldSources.CustomFieldDataSource, Sitecore.Sharedsource&lt;/code&gt;. The code runs from the context of the context item, i.e. the currently selected item in the content tree. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use this syntax for any field that runs the query through the &lt;code&gt;getLookupSourceItems&lt;/code&gt; pipeline, such a Droplink, Droplist, Multilist, Treelist, Checklist etc.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively you could create a custom prefix and handle this yourself using a custom pipeline processor instead in &lt;code&gt;getLookupSourceItems&lt;/code&gt; pipeline.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more in these &lt;a href=&quot;https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/sitecore-7-custom-classes-as-data-template-field-sources&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog posts by John West&lt;/a&gt; and &lt;a href=&quot;https://blog.rauljimenez.co.uk/getting-to-the-source/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Raul Jimenez&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="135" LastActivityDate="2019-09-24T02:48:13.297" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22224" PostTypeId="1" AcceptedAnswerId="23672" CreationDate="2019-09-24T06:32:10.643" Score="1" ViewCount="612" Body="&lt;p&gt;So according to this article it was a case of jumping into the Core database and setting read and write permissions on the Move To item.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://community.sitecore.net/developers/f/8/t/3976&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://community.sitecore.net/developers/f/8/t/3976&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However I am still seeing:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6Qt5g.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6Qt5g.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;At the Copying level is:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/MHxLe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MHxLe.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For my custom role I have ticked Read and write for both item and descendents.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also ticked Read and Write in the child Move To item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I don't believe that deny setting would affect my custom role as it's not a limited content editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Cu0EO.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cu0EO.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not quite sure why I'm still seeing this permission denied error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have confirmed using the access viewer that I think I should have permission to it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QXfTE.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QXfTE.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The item I'm trying to move is under workflow - but I have locked it for editing so I should have write permission on that item in order to move it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also tried clicking Create and Delete in the Copying and Move to security rights.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also tried updating &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;/sitecore/content/Applications/WebEdit/Ribbons/WebEdit/Page&#xA;  Editor/Edit/Move Page&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;to grant this role allow on read, write, create and delete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But am still getting an error when trying to move something.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-09-24T07:00:08.360" LastActivityDate="2020-01-05T23:37:32.480" Title="Allowing custom role to move items" Tags="|security|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22225" PostTypeId="2" ParentId="22196" CreationDate="2019-09-24T07:32:02.773" Score="2" Body="&lt;p&gt;What you might have missed (as it is not described in the blog link you referenced), you still need to add your custom hostnames to the Azure web app, even though the DNS record is pointing to the WAF.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do this, you need to add a new DNS TXT &quot;awverify&quot; record for each of your custom domains, so that azure can validate it for your web app. See the first steps in this article:&#xA;&lt;a href=&quot;https://techcommunity.microsoft.com/t5/Azure-App-Service/Setting-up-Application-Gateway-with-WAF-with-an-App-Service-that/ba-p/392639&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://techcommunity.microsoft.com/t5/Azure-App-Service/Setting-up-Application-Gateway-with-WAF-with-an-App-Service-that/ba-p/392639&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Once done, your web apps should immediately start resolving the custom domains for the requests that come through the WAF and are forwarded to your web app.&lt;/p&gt;&#xA;" OwnerUserId="1314" LastActivityDate="2019-09-24T07:32:02.773" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22226" PostTypeId="1" AcceptedAnswerId="22228" CreationDate="2019-09-24T07:44:13.937" Score="1" ViewCount="116" Body="&lt;p&gt;I'm facing this error when trying to work with Sitecore 9.1.1 and DEF 2.1.0 &#xA;and using the out of box SQL provider. I created two pipelines, one for Reading data from Database and other for Iterating the read data and create Items based on reading data from SQL. There is a total of 5 pipeline steps as shown in the image attached. &#xA;&lt;strong&gt;Please note there is data in the database and all other configurations done correctly.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lSNky.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lSNky.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Iterable data is null when trying to fetch data from SQL Database by SQL provider in the Data exchange framework. Logs showing the pipeline steps and Iterable data is null info. &lt;strong&gt;I'm following this link&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://neilkillen.com/2017/11/25/sitecore-data-exchange-framework-the-sql-provider/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://neilkillen.com/2017/11/25/sitecore-data-exchange-framework-the-sql-provider/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are the logs&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ManagedPoolThread #9 11:07:51 INFO [Data Exchange] Starting pipeline batch processing. (pipeline batch: SQL Customers to Sitecore Customers Sync)&#xA;ManagedPoolThread #9 11:07:51 DEBUG [Data Exchange] Iterable data is null. (pipeline: Read Customers from Database pipeline, pipeline step: Iterate Data and Run Pipelines Pipeline Step, pipeline step identifier: 92fb573e-4771-4d38-bdbd-12ca9237b3aa) &#xA;ManagedPoolThread #9 11:07:51 DEBUG [Data Exchange] Pipeline processor finished processing pipeline steps. (pipeline: Read Customers from Database pipeline, pipeline step: Read Rows from Customers Table, completed pipeline steps: 2) &#xA;ManagedPoolThread #9 11:07:51 DEBUG [Data Exchange] Pipeline batch processor finished processing pipelines. (pipeline batch: SQL Customers to Sitecore Customers Sync, completed pipelines: 1)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="6073" LastEditorUserId="73" LastEditDate="2019-10-03T07:39:51.387" LastActivityDate="2019-10-03T07:39:51.387" Title="Iterable data is null when trying to fetch data from SQL Database by SQL provider in Data exchange framework" Tags="|data-exchange-framework|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22228" PostTypeId="2" ParentId="22226" CreationDate="2019-09-24T09:38:24.587" Score="0" Body="&lt;p&gt;A few words about the Data Exchange pipelines. The synchronization configuration can have any number of pipelines to cover a business logic. You can define any order of pipelines because you always define which and when pipeline need to be run. You choose initial pipeline in a Pipeline Batch, then some pipeline step refers another one. But pipeline can't run itself. Things are different with pipeline steps. A pipeline step represents logic that runs during processing a pipeline. And they are run in order they are placed under the Pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In your case you have &lt;code&gt;Iterate Data and Run Pipelines Pipeline Step&lt;/code&gt; above &lt;code&gt;Read Rows from Customers Table&lt;/code&gt; which means you read data after you try to iterate it. Try swapping them and it will work as expected.&lt;/p&gt;&#xA;" OwnerUserId="1470" LastEditorUserId="342" LastEditDate="2019-09-24T10:57:39.987" LastActivityDate="2019-09-24T10:57:39.987" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22229" PostTypeId="1" CreationDate="2019-09-24T11:13:47.140" Score="0" ViewCount="635" Body="&lt;p&gt;In my &lt;code&gt;JSS&lt;/code&gt; application, how do I support both &lt;code&gt;authenticated&lt;/code&gt; (logged in) &lt;code&gt;GraphQL&lt;/code&gt; endpoints and in-secure (public/open) GraphQL endpoints? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The example &lt;code&gt;Angular&lt;/code&gt; application shows the usage of only one public endpoint. &lt;/p&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2021-10-13T16:01:05.077" Title="In JSS how do I support both secure and open GraphQL endpoints?" Tags="|jss|authentication|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22230" PostTypeId="2" ParentId="22229" CreationDate="2019-09-24T11:13:47.140" Score="1" Body="&lt;p&gt;I'm going to answer this from an Angular perspective and using the sample JSS Angular application as a point of reference. The samples below assume you're using Apollo for your queries. &lt;/p&gt;&#xA;&#xA;&lt;h1&gt;JSS Configuration&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Firstly in your JSS configuration we setup two endpoints. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;One that requires a Sitecore user to be logged in.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/api/GraphQL/defaults/security/systemService&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;One that is open and can be called by any anonymous user.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/sitecore/api/GraphQL/defaults/security/publicService&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;endpoints&amp;gt;&#xA; &amp;lt;myGraphQLEndpoint url=&quot;/api/mysecureapi&quot; type=&quot;Sitecore.Services.GraphQL.Hosting.DatabaseAwareGraphQLEndpoint, Sitecore.Services.GraphQL.NetFxHost&quot; resolve=&quot;true&quot;&amp;gt;&#xA;&amp;lt;url&amp;gt;$(url)&amp;lt;/url&amp;gt;&#xA;&#xA;&amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&#xA;&amp;lt;enableSubscriptions&amp;gt;true&amp;lt;/enableSubscriptions&amp;gt;&#xA;&#xA;&amp;lt;!-- lock down the endpoint when deployed to content delivery --&amp;gt;&#xA;&amp;lt;graphiql role:require=&quot;ContentDelivery&quot;&amp;gt;false&amp;lt;/graphiql&amp;gt;&#xA;&amp;lt;enableSchemaExport role:require=&quot;ContentDelivery&quot;&amp;gt;false&amp;lt;/enableSchemaExport&amp;gt;&#xA;&amp;lt;enableStats role:require=&quot;ContentDelivery&quot;&amp;gt;false&amp;lt;/enableStats&amp;gt;&#xA;&amp;lt;enableCacheStats role:require=&quot;ContentDelivery&quot;&amp;gt;false&amp;lt;/enableCacheStats&amp;gt;&#xA;&amp;lt;disableIntrospection role:require=&quot;ContentDelivery&quot;&amp;gt;true&amp;lt;/disableIntrospection&amp;gt;&#xA;&#xA;&amp;lt;schema hint=&quot;list:AddSchemaProvider&quot;&amp;gt;&#xA;  ... INSERT GRAPHQL SCHEMAS HERE&#xA;&amp;lt;/schema&amp;gt;&#xA;&#xA;&amp;lt;!-- Enables the 'jss' graph nodes that are preformatted to use with JSS rendering components, and the datasource resolving queries for JSS --&amp;gt;&#xA;&amp;lt;extenders hint=&quot;list:AddExtender&quot;&amp;gt;&#xA;  &amp;lt;layoutExtender type=&quot;Sitecore.JavaScriptServices.GraphQL.JssExtender, Sitecore.JavaScriptServices.GraphQL&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/extenders&amp;gt;&#xA;&#xA;&amp;lt;!-- Determines the security of the service. 'publicService' is open to anonymous access, but requires an SSC API key. --&amp;gt;&#xA;&amp;lt;security ref=&quot;/sitecore/api/GraphQL/defaults/security/systemService&quot; /&amp;gt;&#xA;&#xA;&amp;lt;!-- Determines how performance is logged for the service. Defaults are defined in Sitecore.Services.GraphQL.config --&amp;gt;&#xA;&amp;lt;performance ref=&quot;/sitecore/api/GraphQL/defaults/performance/standard&quot; /&amp;gt;&#xA;&amp;lt;/myGraphQLEndpoint&amp;gt;&#xA;&#xA;&amp;lt;myOpenGraphQLEndpoint url=&quot;/api/myopenapi&quot; type=&quot;Sitecore.Services.GraphQL.Hosting.DatabaseAwareGraphQLEndpoint, Sitecore.Services.GraphQL.NetFxHost&quot; resolve=&quot;true&quot;&amp;gt;&#xA;&amp;lt;url&amp;gt;$(url)&amp;lt;/url&amp;gt;&#xA;&#xA;&amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&#xA;&amp;lt;enableSubscriptions&amp;gt;true&amp;lt;/enableSubscriptions&amp;gt;&#xA;&#xA;&amp;lt;!-- lock down the endpoint when deployed to content delivery --&amp;gt;&#xA;&amp;lt;graphiql role:require=&quot;ContentDelivery&quot;&amp;gt;false&amp;lt;/graphiql&amp;gt;&#xA;&amp;lt;enableSchemaExport role:require=&quot;ContentDelivery&quot;&amp;gt;false&amp;lt;/enableSchemaExport&amp;gt;&#xA;&amp;lt;enableStats role:require=&quot;ContentDelivery&quot;&amp;gt;false&amp;lt;/enableStats&amp;gt;&#xA;&amp;lt;enableCacheStats role:require=&quot;ContentDelivery&quot;&amp;gt;false&amp;lt;/enableCacheStats&amp;gt;&#xA;&amp;lt;disableIntrospection role:require=&quot;ContentDelivery&quot;&amp;gt;true&amp;lt;/disableIntrospection&amp;gt;&#xA;&#xA;&amp;lt;schema hint=&quot;list:AddSchemaProvider&quot;&amp;gt;&#xA;    ... INSERT GRAPHQL SCHEMAS HERE&#xA;&amp;lt;/schema&amp;gt;&#xA;&#xA;&amp;lt;!-- Determines the security of the service. 'publicService' is open to anonymous access, but requires an SSC API key. --&amp;gt;&#xA;&amp;lt;security ref=&quot;/sitecore/api/GraphQL/defaults/security/publicService&quot; /&amp;gt;&#xA;&#xA;&amp;lt;performance ref=&quot;/sitecore/api/GraphQL/defaults/performance/standard&quot; /&amp;gt;&#xA;&amp;lt;/myOpenGraphQLEndpoint&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Angular Code&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;(Based on the example &lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/angular/src/app/jss-graphql.module.ts&quot; rel=&quot;nofollow noreferrer&quot;&gt;jss-graphql.module.ts&lt;/a&gt; )&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;1) Inside of jss-graphql.module.ts&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Introduce 2 Apollo clients: &#xA;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; private readonly apollo: Apollo,          // Secure&#xA; private readonly apolloOpenApi: Apollo,   // Anonymous, no Auth required&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Both Apollo clients will be initialised once (each) within this typescript file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Create two environment variables in your application:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;environment.graphQLEndpoint = /api/myopenapi&lt;/li&gt;&#xA;&lt;li&gt;environment.graphQLOpenEndpoint = /api/mysecureapi&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Initialise the secure connection as normal:&#xA;   &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  const batchHttp = this.httpLink.create({ uri: environment.graphQLEndpoint, withCredentials: true });&#xA;&#xA;  ...&#xA;&#xA;  this.apollo.create({&#xA;  link: automaticPersistHttp,&#xA;  cache: cache,&#xA;  ssrMode: isPlatformServer(this.platformId),&#xA;  ssrForceFetchDelay: 100,&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Initialise the insecure connection with a named value for the apollo client (in this case 'Open'):&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;const batchHttp = this.httpLink.create({ uri: environment.graphQLOpenEndpoint, withCredentials: true });&#xA;&#xA;...&#xA;&#xA;this.apolloOpenApi.create({&#xA;  link: automaticPersistHttp,&#xA;  cache: new InMemoryCache(),&#xA;  ssrMode: isPlatformServer(this.platformId),&#xA;  ssrForceFetchDelay: 50,&#xA;}, 'Open');&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The named client will be used to differentiate the two. &lt;/p&gt;&#xA;&#xA;&lt;h3&gt;2) Inside of jss-graphql.service.ts   (Based on example &lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/angular/src/app/jss-graphql.service.ts&quot; rel=&quot;nofollow noreferrer&quot;&gt;jss-graphql.service.ts&lt;/a&gt;)&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In your constructor make sure that both Apollo clients get injected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;    &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;   constructor(&#xA;private readonly apollo: Apollo,&#xA;private readonly apolloOpenApi: Apollo,&#xA;private readonly sitecoreContext: JssContextService,&#xA;@Inject(PLATFORM_ID) private readonly platformId: string,&#xA;) {&#xA;this.isEditingOrPreviewingAndSsr =&#xA;  isPlatformServer(this.platformId) &amp;amp;&amp;amp;&#xA;  this.sitecoreContext.state.value.sitecore.context.pageState !== 'normal';&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Introduce a new function called queryOpen that will allow you to call the non-secure apollo client. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;queryOpen&amp;lt;T, V = R&amp;gt;(options: QueryOptions&amp;lt;V&amp;gt; &amp;amp; JssGraphQLOptions): Observable&amp;lt;ApolloQueryResult&amp;lt;T&amp;gt;&amp;gt; {&#xA;&#xA;...&#xA;&#xA;const observable = this.apolloOpenApi.use('Open').query&amp;lt;T&amp;gt;(options);&#xA;&#xA;...&#xA;&#xA;return observable;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;All other secure queries can go via the original query for Authenticated calls inside of jss-graphql.service.ts   (Based on example &lt;a href=&quot;https://github.com/Sitecore/jss/blob/dev/samples/angular/src/app/jss-graphql.service.ts&quot; rel=&quot;nofollow noreferrer&quot;&gt;jss-graphql.service.ts&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;3)  Each component that makes a query will now be able to call either queryOpen or query depending on its authentication needs.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  this.query$ = this.graphQLService.queryOpen({&#xA;    query: ComponentQuery,&#xA;    variables: data&#xA;  });&#xA;&#xA; this.query$ = this.graphQLService.query({&#xA;    query: ComponentQuery,&#xA;    variables: data&#xA;  });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2714" LastActivityDate="2019-09-24T11:13:47.140" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22232" PostTypeId="1" AcceptedAnswerId="22235" CreationDate="2019-09-24T12:02:18.637" Score="2" ViewCount="713" Body="&lt;p&gt;I am using SXA 1.9&#xA;I have a rendering variant that uses a plain old General Link.&#xA;I can render the Link including description, but I need the link description on a different place in my variant, I did not find something ootb, all I have seen is that I could create a custom token, for example $teaserlinkdescription.&#xA;Is this possible without a token, am I missing something?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If someone is interested, this is the current code. Only drawback is that this will just work for a single field, if the Teaser has two Link Fields this code is useless:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    public class ResolveTeaserLinkDescription : ResolveVariantTokensProcessor&#xA;{&#xA;    static readonly ID TeaserLinkId = new ID(&quot;FE713FFA-8D9F-6275-813D-06DD7A5EABAA&quot;);&#xA;    public override string Token&#xA;    {&#xA;        get&#xA;        {&#xA;            return &quot;$teaserlinkdescription&quot;;&#xA;        }&#xA;    }&#xA;&#xA;    public override void ResolveToken(ResolveVariantTokensArgs args)&#xA;    {&#xA;        LinkField linkField = this.GetLinkField(args.ContextItem);&#xA;        string resultText = linkField?.Text;&#xA;&#xA;        if (resultText != string.Empty)&#xA;        {&#xA;            if (args.ResultControl != null)&#xA;                args.ResultControl.Controls.Add((Control)new LiteralControl()&#xA;                {&#xA;                    Text = resultText&#xA;                });&#xA;            else&#xA;                args.Result = resultText;&#xA;        }&#xA;    }&#xA;&#xA;    private LinkField GetLinkField(Item item)&#xA;    {&#xA;        return (LinkField)item.Fields[TeaserLinkId];&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4767" LastEditorUserId="73" LastEditDate="2019-09-24T12:47:34.960" LastActivityDate="2019-09-24T12:47:34.960" Title="Get Link Description in Variant" Tags="|sxa|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22235" PostTypeId="2" ParentId="22232" CreationDate="2019-09-24T12:39:01.663" Score="2" Body="&lt;p&gt;I had the same requirement not so far ago. After googling, I found only one solution and it was to implement custom NVelocity template:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; public class GeneralLinkTool&#xA;    {&#xA;        public static string GetLinkDescription(Item item, string fieldName = null)&#xA;        {&#xA;            string value = string.Empty;&#xA;            if (item != null)&#xA;            {&#xA;                if (!string.IsNullOrEmpty(fieldName))&#xA;                {&#xA;                    var field = item.Fields[fieldName];&#xA;                    if (field != null &amp;amp;&amp;amp; field.Type == &quot;General Link&quot;)&#xA;                    {&#xA;                        Sitecore.Data.Fields.LinkField link = field;&#xA;                        value = link.Text;&#xA;                    }&#xA;                }&#xA;            }&#xA;            return value;&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you need to register the template:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AddTemplateRenderers : IGetTemplateRenderersPipelineProcessor&#xA;    {&#xA;        public void Process(GetTemplateRenderersPipelineArgs args)&#xA;        {&#xA;            args.Context.Put(&quot;fieldTokens&quot;, new GeneralLinkTool());&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;getVelocityTemplateRenderers&amp;gt;&#xA;        &amp;lt;processor type=&quot;YourNamespace.AddTemplateRenderers, YourNamespace&quot;&#xA;                   patch:after=&quot;processor[@type='Sitecore.XA.Foundation.Variants.Abstractions.Pipelines.GetVelocityTemplateRenderers.GetVelocityTemplateRenderers, Sitecore.XA.Foundation.Variants.Abstractions']&quot;  /&amp;gt;&#xA;      &amp;lt;/getVelocityTemplateRenderers&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now you can use it by adding the Template variant:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SHhSR.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SHhSR.png&quot; alt=&quot;template variant&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following line will return you a link description:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;$fieldTokens.GetLinkDescription($item, &quot;fieldName&quot;)&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/MD9t9.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/MD9t9.png&quot; alt=&quot;template variant usage&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1470" LastActivityDate="2019-09-24T12:39:01.663" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22236" PostTypeId="1" CreationDate="2019-09-24T12:42:46.993" Score="1" ViewCount="42" Body="&lt;p&gt;I am using &lt;code&gt;XP 9.0.2&lt;/code&gt;, &lt;code&gt;XC 9.0.3&lt;/code&gt; and&lt;code&gt;SXA 1.8.1&lt;/code&gt;, in commerce, are there javascript hooks I could use to display loading animations while activities such as product list loading are taking place? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was told about &lt;code&gt;CartContext.SubscribeHandler&lt;/code&gt; where I use the CartUpdate event to display a &lt;code&gt;successful cart load&lt;/code&gt; message. but I have been googling &lt;code&gt;SubscribeHandler&lt;/code&gt; and &lt;code&gt;CartUpdate object&lt;/code&gt; and I can't find any information on commerce events triggering javascript functions. any help would be greatly appreciated.&lt;/p&gt;&#xA;" OwnerUserId="1325" LastEditorUserId="5387" LastEditDate="2019-09-24T13:07:52.530" LastActivityDate="2019-09-24T13:07:52.530" Title="Commerce JavaScript Hooks" Tags="|sitecore-commerce|javascript|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22237" PostTypeId="1" AcceptedAnswerId="22248" CreationDate="2019-09-24T12:56:52.063" Score="0" ViewCount="102" Body="&lt;p&gt;I have created a custom message template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jCfGN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jCfGN.png&quot; alt=&quot;Custom Newsletter Campaign&quot;&gt;&lt;/a&gt;&#xA;I followed this link &lt;a href=&quot;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/walkthrough--building-a-custom-message-template.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/exm/90/email-experience-manager/en/walkthrough--building-a-custom-message-template.html&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now I wanted to perform A/B testing using the created message template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tEtUg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tEtUg.png&quot; alt=&quot;This is how my template looks like&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In &lt;code&gt;A/B testing&lt;/code&gt; process we'll be providing different content and different styles in both A variants and B variants. For accomplishing that task I was using &lt;strong&gt;&lt;em&gt;@Html.Sitecore().Placeholder(&quot;Image&quot;)&lt;/em&gt;&lt;/strong&gt; this code. If I use this code I'm getting some unnecessary code snippets in the message variants. Like this&#xA;&lt;a href=&quot;https://i.stack.imgur.com/6al1M.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6al1M.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;.Here is my layout code. Help me out with this.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;tbody&amp;gt;&#xA;&amp;lt;tr&amp;gt;&#xA;    &amp;lt;td class=&quot;email_bg bg_light px pt_md&quot; data-bgcolor=&quot;Light&quot; style=&quot;font-size: 0;text-align: center;line-height: 100%;background-color: #ffffff;padding-left: 16px;padding-right: 16px;padding-top: 32px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;&quot;&amp;gt;&#xA;&#xA;        &amp;lt;table class=&quot;content_section&quot; role=&quot;presentation&quot; align=&quot;center&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; style=&quot;max-width: 800px;margin: 0 auto;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;&quot;&amp;gt;&#xA;            &amp;lt;tbody&amp;gt;&#xA;                &amp;lt;tr&amp;gt;&#xA;                    &amp;lt;td class=&quot;content_cell bg_white brounded_top bt_primary px py_md bg_center&quot; data-bgcolor=&quot;White&quot; data-border-top-color=&quot;Border Primary&quot; data-bg=&quot;BG Shoes&quot; style=&quot;font-size: 0px; text-align: center; background-color: #ffffff; border-top: 4px solid rgb(35, 118, 220); background-repeat: no-repeat; background-position: 50% 0px; border-radius: 4px 4px 0px 0px; padding: 32px 16px; text-size-adjust: 100%;&quot;&amp;gt;&#xA;                        @Html.Sitecore().Placeholder(&quot;subHeader&quot;)&#xA;                        &amp;lt;div class=&quot;column_row&quot; style=&quot;font-size: 0;text-align: center;max-width: 624px;margin: 0 auto;&quot;&amp;gt;&#xA;&#xA;                            &amp;lt;table class=&quot;column&quot; role=&quot;presentation&quot; align=&quot;center&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; style=&quot;vertical-align: top;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;&quot;&amp;gt;&#xA;                                &amp;lt;tbody&amp;gt;&#xA;                                    &amp;lt;tr&amp;gt;&#xA;                                        &amp;lt;td class=&quot;column_cell px pt_md text_dark text_center editable&quot; data-color=&quot;Dark&quot; style=&quot;vertical-align: top;color: #333333;text-align: center;padding-left: 16px;padding-right: 16px;padding-top: 32px;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;&quot; contenteditable=&quot;false&quot;&amp;gt;&#xA;                                            &amp;lt;h1 class=&quot;mt mb_xs&quot; style=&quot;color: inherit;font-family: Arial, Helvetica, sans-serif;margin-top: 16px;margin-bottom: 8px;word-break: break-word;font-size: 38px;line-height: 48px;font-weight: bold;&quot;&amp;gt;HOT DEALS&amp;lt;/h1&amp;gt;&#xA;                                            &amp;lt;h3 class=&quot;mb text_primary&quot; data-color=&quot;Primary&quot; style=&quot;color: #2376dc;font-family: Arial, Helvetica, sans-serif;margin-top: 0px;margin-bottom: 16px;word-break: break-word;font-size: 21px;line-height: 28px;font-weight: bold;&quot;&amp;gt;Get 50% off + Free Shipping!&amp;lt;/h3&amp;gt;&#xA;                                            @Html.Sitecore().Placeholder(&quot;Image&quot;)&#xA;&#xA;                                            &amp;lt;p class=&quot;mb_xs img_inline&quot; style=&quot;color: inherit;font-family: Arial, Helvetica, sans-serif;margin-top: 0px;margin-bottom: 8px;word-break: break-word;font-size: 16px;line-height: 100%;clear: both;&quot;&amp;gt;&#xA;                                                &amp;lt;img src=&quot;http://www.stampready.net/dashboard/editor/user_uploads/zip_uploads/2017/10/15/qgIPe3wEBH4nTWOL2AmKSGoR/ecommerce_footwear/images/color_thumb.png&quot; width=&quot;16&quot; height=&quot;16&quot; alt=&quot;&quot; style=&quot;max-width: 16px;-ms-interpolation-mode: bicubic;border: 0;height: auto;line-height: 100%;outline: none;text-decoration: none;&quot;&amp;gt; &amp;amp;nbsp;&#xA;                                                &amp;lt;img src=&quot;http://www.stampready.net/dashboard/editor/user_uploads/zip_uploads/2017/10/15/qgIPe3wEBH4nTWOL2AmKSGoR/ecommerce_footwear/images/color_thumb_2.png&quot; width=&quot;16&quot; height=&quot;16&quot; alt=&quot;&quot; style=&quot;max-width: 16px;-ms-interpolation-mode: bicubic;border: 0;height: auto;line-height: 100%;outline: none;text-decoration: none;&quot;&amp;gt; &amp;amp;nbsp;&#xA;                                                &amp;lt;img src=&quot;http://www.stampready.net/dashboard/editor/user_uploads/zip_uploads/2017/10/15/qgIPe3wEBH4nTWOL2AmKSGoR/ecommerce_footwear/images/color_thumb_3.png&quot; width=&quot;16&quot; height=&quot;16&quot; alt=&quot;&quot; style=&quot;max-width: 16px;-ms-interpolation-mode: bicubic;border: 0;height: auto;line-height: 100%;outline: none;text-decoration: none;&quot;&amp;gt; &amp;amp;nbsp;&#xA;                                                &amp;lt;img src=&quot;http://www.stampready.net/dashboard/editor/user_uploads/zip_uploads/2017/10/15/qgIPe3wEBH4nTWOL2AmKSGoR/ecommerce_footwear/images/color_thumb_4.png&quot; width=&quot;16&quot; height=&quot;16&quot; alt=&quot;&quot; style=&quot;max-width: 16px;-ms-interpolation-mode: bicubic;border: 0;height: auto;line-height: 100%;outline: none;text-decoration: none;&quot;&amp;gt; &amp;amp;nbsp;&#xA;                                                &amp;lt;img src=&quot;http://www.stampready.net/dashboard/editor/user_uploads/zip_uploads/2017/10/15/qgIPe3wEBH4nTWOL2AmKSGoR/ecommerce_footwear/images/color_thumb_5.png&quot; width=&quot;16&quot; height=&quot;16&quot; alt=&quot;&quot; style=&quot;max-width: 16px;-ms-interpolation-mode: bicubic;border: 0;height: auto;line-height: 100%;outline: none;text-decoration: none;&quot;&amp;gt;&#xA;                                            &amp;lt;/p&amp;gt;&#xA;                                            @Html.Sitecore().Placeholder(&quot;Price&quot;)&#xA;                                            &amp;lt;table role=&quot;presentation&quot; class=&quot;ebutton&quot; align=&quot;center&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;margin: 0 auto;&quot;&amp;gt;&#xA;                                                &amp;lt;tbody&amp;gt;&#xA;                                                    &amp;lt;tr&amp;gt;&#xA;                                                        &amp;lt;td class=&quot;bg_primary&quot; data-bgcolor=&quot;Primary&quot; style=&quot;background-color: #2376dc;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;font-size: 16px;padding: 13px 24px;border-radius: 4px;line-height: normal;text-align: center;font-weight: bold;-webkit-transition: box-shadow .25s;transition: box-shadow .25s;&quot; contenteditable=&quot;true&quot;&amp;gt;&amp;lt;a href=&quot;#&quot; data-color=&quot;White&quot; style=&quot;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;text-decoration: none;color: #2376dc;font-family: Arial, Helvetica, sans-serif;margin-top: 0px;margin-bottom: 0px;word-break: break-word;font-weight: bold;&quot; class=&quot;editable&quot; contenteditable=&quot;true&quot;&amp;gt;&amp;lt;span data-color=&quot;White&quot; style=&quot;color: #ffffff;text-decoration: none;&quot; contenteditable=&quot;false&quot; class=&quot;editable&quot;&amp;gt;Get This Offer&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&#xA;                                                    &amp;lt;/tr&amp;gt;&#xA;                                                &amp;lt;/tbody&amp;gt;&#xA;                                            &amp;lt;/table&amp;gt;&#xA;                                            &amp;lt;p class=&quot;mt_md text_xs text_secondary&quot; data-color=&quot;Secondary&quot; style=&quot;color: #959ba0;font-family: Arial, Helvetica, sans-serif;margin-top: 32px;margin-bottom: 0px;word-break: break-word;font-size: 14px;line-height: 22px;&quot;&amp;gt;City Racer Men Sneakers Maecenas Pharetra Condimentum Lectus.&amp;lt;/p&amp;gt;&#xA;                                        &amp;lt;/td&amp;gt;&#xA;                                    &amp;lt;/tr&amp;gt;&#xA;                                &amp;lt;/tbody&amp;gt;&#xA;                            &amp;lt;/table&amp;gt;&#xA;&#xA;                        &amp;lt;/div&amp;gt;&#xA;                    &amp;lt;/td&amp;gt;&#xA;                &amp;lt;/tr&amp;gt;&#xA;            &amp;lt;/tbody&amp;gt;&#xA;        &amp;lt;/table&amp;gt;&#xA;&#xA;    &amp;lt;/td&amp;gt;&#xA;&amp;lt;/tr&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/d5ZmM.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/d5ZmM.png&quot; alt=&quot;Can&amp;#39;t able to add any other variants&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5632" LastEditorUserId="5632" LastEditDate="2019-09-25T07:27:47.083" LastActivityDate="2019-09-25T07:27:47.083" Title="A/B testing using custom email template" Tags="|exm|content-testing|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="22240" PostTypeId="2" ParentId="22218" CreationDate="2019-09-24T15:12:16.857" Score="0" Body="&lt;p&gt;So after multiple tries with &quot;iisreset&quot;, clearing my cache, trying incognito mode and different browsers, the issue stopped happening as suddenly as it began. I guess the configuration was cached somewhere and was eventually removed.&lt;/p&gt;&#xA;" OwnerUserId="3547" LastActivityDate="2019-09-24T15:12:16.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22241" PostTypeId="1" CreationDate="2019-09-24T15:15:08.977" Score="1" ViewCount="427" Body="&lt;p&gt;Hello I am trying to Install Sitecore Commerce. Install fails at the following. I have tried everything. Assign full permission to CSFndRuntime user for the identity.server certificate. anyone have seen this problem? &lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Get Token From Sitecore.IdentityServer&#xA;  VERBOSE: POST &lt;a href=&quot;https://localhost:5050/connect/token&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:5050/connect/token&lt;/a&gt; with -1-byte payload&#xA;  Install-SitecoreConfiguration : The underlying connection was closed: Could not establish trust relationship for the&#xA;  SSL/TLS secure channel.&#xA;  At C:\Program&#xA;  Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Install-SitecoreConfiguration.ps1:641 char:25&#xA;  +                         &amp;amp; $entry.Task.Command @paramSet | Out-Default&#xA;  +                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TIME] 00:00:02&#xA;  Install-SitecoreConfiguration : The underlying connection was closed: Could not establish trust relationship for the&#xA;  SSL/TLS secure channel.&#xA;  At C:\SitecoreInstaller\Sitecore.Commerce.2018.12-2.4.63\SIF.Sitecore.Commerce.1.4.7\Deploy-Sitecore-Commerce.ps1:86&#xA;  char:2&#xA;  +     Install-SitecoreConfiguration @params -verbose -Skip CreateDefaul ...&#xA;  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;[TIME] 00:00:06&#xA;  Invoke-RestMethod : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS&#xA;  secure channel.&#xA;  At C:\SitecoreInstaller\Sitecore.Commerce.2018.12-2.4.63\SIF.Sitecore.Commerce.1.4.7\Modules\InitializeCommerce\Initial&#xA;  izeCommerce.psm1:73 char:17&#xA;  + ... $response = Invoke-RestMethod $UrlIdentityServerGetToken -Method Post ...&#xA;  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc&#xA;     eption&#xA;      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="6081" LastEditorUserId="6591" LastEditDate="2022-12-07T08:03:38.957" LastActivityDate="2024-01-01T13:07:30.860" Title="Error during GetToken task while installing Sitecore Commerce" Tags="|sitecore-commerce|installation|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22242" PostTypeId="1" AcceptedAnswerId="22243" CreationDate="2019-09-24T16:04:59.787" Score="6" ViewCount="1365" Body="&lt;p&gt;When reindexing on Sitecore 9.1, a folder with all the images is created &lt;code&gt;..\App_Data\mediaIndexing&lt;/code&gt;. My problem is that it gets very big in size, &gt; 55GB of images in my case. Has anyone encountered this problem because I couldn't find anything about this.&lt;/p&gt;&#xA;" OwnerUserId="6082" LastEditorUserId="237" LastEditDate="2019-09-24T16:12:54.340" LastActivityDate="2019-09-25T13:28:13.467" Title="Large folder with images created on reindex: \App_Data\mediaIndexing" Tags="|media-library|indexing|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22243" PostTypeId="2" ParentId="22242" CreationDate="2019-09-24T19:38:04.133" Score="4" Body="&lt;p&gt;This is done as part of the extraction of the content of media items for the &lt;code&gt;_content&lt;/code&gt; field. See for example &lt;code&gt;Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config&lt;/code&gt; where it has the type &lt;code&gt;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&lt;/code&gt;. The file mapping is done in the node at &lt;code&gt;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/mediaIndexing&lt;/code&gt;. If you would like to disable this, you could create a patch file to remove this field. Something like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;defaultSolrIndexConfiguration&amp;gt;&#xA;          &amp;lt;documentOptions&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field type=&quot;Sitecore.ContentSearch.ComputedFields.MediaItemContentExtractor,Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;patch:delete /&amp;gt;&#xA;              &amp;lt;/field&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/defaultSolrIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1515" LastEditorUserId="1515" LastEditDate="2019-09-25T13:28:13.467" LastActivityDate="2019-09-25T13:28:13.467" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="22245" PostTypeId="1" AcceptedAnswerId="22253" CreationDate="2019-09-25T06:21:50.873" Score="0" ViewCount="496" Body="&lt;p&gt;I want to create language selector in the site header. So for that i am trying to pick all language(/sitecore/system/Languages) from Sitecore dynamically using repeater. I am able to get language values from Sitecore but in the page i am not getting language dropdown. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My view Code :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;div class=&quot;ddlCountry&quot;&amp;gt; Select Language:&#xA;    &amp;lt;asp:Repeater ID=&quot;rpLang&quot; ItemType=&quot;Sitecore.Data.Items.Item&quot; runat=&quot;server&quot;&amp;gt;&#xA;        &amp;lt;HeaderTemplate&amp;gt;&#xA;            &amp;lt;DropDownList&amp;gt; &#xA;        &amp;lt;/HeaderTemplate&amp;gt;&#xA;        &amp;lt;ItemTemplate&amp;gt;&#xA;            &amp;lt;listitem text=&amp;lt;%#: Item.Name %&amp;gt; runat=&quot;server&quot;/&amp;gt;&#xA;             &amp;lt;/ItemTemplate&amp;gt;&#xA;        &amp;lt;FooterTemplate&amp;gt;&#xA;            &amp;lt;/DropDownList&amp;gt;&#xA;        &amp;lt;/FooterTemplate&amp;gt;&#xA;    &amp;lt;/asp:Repeater&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Back-end Code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public partial class CountryRegionSublayout : System.Web.UI.UserControl&#xA;{&#xA;    protected void Page_Load(object sender, EventArgs e)&#xA;    {&#xA;        Item lang = Sitecore.Context.Database.GetItem(&quot;/sitecore/system/Languages&quot;);&#xA;&#xA;            Item[] children = lang.Children.ToArray();&#xA;            rpLang.DataSource = children;&#xA;            rpLang.DataBind();&#xA;&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2144" LastEditorUserId="605" LastEditDate="2019-09-25T06:48:19.037" LastActivityDate="2019-09-25T11:09:52.853" Title="How to create Dropdown dynamically for Sitecore languages in Sitecore(8.2) Web forms?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22248" PostTypeId="2" ParentId="22237" CreationDate="2019-09-25T07:14:04.357" Score="0" Body="&lt;p&gt;From the above code, it looks your Layout structure is not proper. Your layout item should point to a file with well-structured HTML code something like this - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;html&amp;gt;&#xA;&amp;lt;head&amp;gt;&#xA;  &amp;lt;!--- Head section--&amp;gt;&#xA;&amp;lt;/head&amp;gt;&#xA;&amp;lt;body&amp;gt;&#xA;  &amp;lt;!-- Body section--&amp;gt;&#xA;&amp;lt;/body&amp;gt;&#xA;&amp;lt;html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;All you &lt;code&gt;&amp;lt;tbody&amp;gt;&lt;/code&gt; code will be part of the Body section.&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-09-25T07:14:04.357" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22250" PostTypeId="2" ParentId="22108" CreationDate="2019-09-25T09:26:55.227" Score="0" Body="&lt;p&gt;Finally after spending almost 2 days I found the solution for same. It's not all about issue with Sitecore only but it is issue with VueJs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using VueJs for our front end development and that issue is because of that as Sitecore and VueJs both uses key property.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With the help of below updates in VueJs I am able to resolve the same.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Run the command in your VueJs solution &lt;code&gt;npm install vue-scexpeditor --save&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After successfully completing the above installation go to your Index.Js file under src folder and add below codes - &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Add &lt;code&gt;import SitecoreExpEditorPlugin from 'vue-scexpeditor';&lt;/code&gt;  import to top your index.js files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;also add &lt;code&gt;Vue.use(SitecoreExpEditorPlugin);&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After adding above lines add &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if(typeof Sitecore !== 'undefined') {&#xA;    document.querySelectorAll('code[type=&quot;text/sitecore&quot;]').forEach(el =&amp;gt; el.setAttribute('v-pre', ''));&#xA;    Vue.use(SitecoreExpEditorPlugin);&#xA;    // eslint-disable-next-line no-undef&#xA;    Sitecore.PageModes.ChromeManager.resetChromes();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Code lines to just before initializing the Vue in same index.js file.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It solved my issues for experience editor.&lt;/p&gt;&#xA;" OwnerUserId="361" LastActivityDate="2019-09-25T09:26:55.227" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22251" PostTypeId="1" CreationDate="2019-09-25T09:33:30.517" Score="0" ViewCount="183" Body="&lt;p&gt;I am using sitecore 9.0 with SXA 1.8.1&#xA;I am trying to call a server side method using ajax call.&#xA;The controller inherits &lt;code&gt;ServicesApiController&lt;/code&gt;. &#xA;The ajax &lt;code&gt;Get&lt;/code&gt; method is works fine on CD server. But the post method is give 404 error&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the controller code &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[System.Web.Http.HttpGet]&#xA;        [Route(&quot;api/service/sitename/methodname1&quot;)]&#xA;        public string methodname1()&#xA;        {&#xA;            try { &#xA;            //some code&#xA; return JsonConvert.SerializeObject(data);&#xA;            }&#xA;            catch (Exception ex) {&#xA;&#xA;                return string.Empty;&#xA;&#xA;            }&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;ajax get call for above method. It works fine for both CM and CD server&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$.ajax({&#xA;        url: &quot;/api/service/sitename/methodname1&quot;,&#xA;        type: &quot;GET&quot;,&#xA;        context: this,&#xA;        success: function (data) {&#xA;&#xA;        },&#xA;        error: function (data) {&#xA;        console.log(&quot;error&quot;, data);&#xA;        }&#xA;    });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Server side post method&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [System.Web.Http.HttpPost]&#xA; [Route(&quot;api/service/sitename/method2&quot;)]&#xA; public string method2(string Query)&#xA; {&#xA;    try&#xA;    {&#xA;        //some code&#xA;        return JsonConvert.SerializeObject(objResults);&#xA;    }&#xA;    catch (Exception ex)&#xA;    {      &#xA;     return null;&#xA;    }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;ajax post call for the above method. This gives 404 error cd server but works fine in CM &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$.ajax({  &#xA;           type: 'POST',  &#xA;           dataType: 'json',  &#xA;           url: '/api/service/sitename/method2',  &#xA;           data: { Query: query},  &#xA;           beforeSend: function(){&#xA;                $('#loadingImage').removeClass(&quot;hide&quot;);&#xA;            },&#xA;            complete: function(){&#xA;                $('#loadingImage').addClass(&quot;hide&quot;);&#xA;            },&#xA;           success: function (searchData) {  &#xA;&#xA;               },  &#xA;           error: function (XMLHttpRequest, textStatus, errorThrown) {  &#xA;&#xA;           }  &#xA;       });&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;is there anything missing ?&lt;/p&gt;&#xA;" OwnerUserId="5530" LastActivityDate="2019-09-25T09:33:30.517" Title="Sitecore api call giving 404 on ajax post call on CD server" Tags="|sitecore-api|" AnswerCount="0" CommentCount="3" ClosedDate="2019-09-25T18:43:42.277" ContentLicense="CC BY-SA 4.0" />
  <row Id="22252" PostTypeId="1" CreationDate="2019-09-25T09:37:51.427" Score="0" ViewCount="85" Body="&lt;p&gt;I'm having problem to send Sitecore item data to a Salesforce Custom Object. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 9.1.1 and DEF 2.1.0 and the Salesforce Provider. I used these following pipeline steps to send Sitecore item data to Salesforce. I was successful in pulling Salesforce data to create Sitecore items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vAlwg.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vAlwg.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please confirm are these steps correct for this operation? Please suggest.&lt;/p&gt;&#xA;" OwnerUserId="6073" LastEditorUserId="70" LastEditDate="2019-09-25T15:04:14.227" LastActivityDate="2020-12-11T14:38:56.097" Title="Push Items to Salesforce Custom Object via Salesforce Provider in DEF" Tags="|data-exchange-framework|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22253" PostTypeId="2" ParentId="22245" CreationDate="2019-09-25T11:09:52.853" Score="1" Body="&lt;p&gt;Ideally to display , languages in a dropdown , you should use a droplist. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;asp:DropDownList runat=&quot;server&quot; ID=&quot;languagesDropDown&quot; EnableViewState=&quot;False&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To display the items in Key/Value pair in the dropdown, Modify the code below accordingly&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    protected override void OnInit(EventArgs e)&#xA;    {&#xA;        foreach (var definition in LanguageDefinitions.Definitions)&#xA;        {&#xA;            //var cultureInfo = Language.CreateCultureInfo(definition.Name);&#xA;            var listItem = new ListItem(Language.GetDisplayName(cultureInfo), definition.Name);&#xA;            this.languagesDropDown.Items.Add(listItem);&#xA;        }&#xA;&#xA;        //base.OnInit(e);&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please take reference from the InstallLanguage.aspx available in /sitecore/admin folder&lt;/p&gt;&#xA;" OwnerUserId="106" LastActivityDate="2019-09-25T11:09:52.853" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22254" PostTypeId="2" ParentId="11253" CreationDate="2019-09-25T13:01:57.790" Score="1" Body="&lt;p&gt;I came across the following exception as well during a Sitecore 8.2 to Sitecore 9.1 upgrade:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;No known predicate type could be determined from Sitecore.Analytics.OmniChannel.Conditions.Channel.CurrentInteractionIsOnChannelCondition,Sitecore.Analytics.OmniChannel&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Symtoms were Visitors appearing in Experience Profile, but nothing showing on the dashboard charts.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The solution that worked for me was point 2 in @rameez answer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;2) If you are not using those filters, you can delete the filters as well as the dimension and re-deploy marketing definitions. You may have to clear all tables in your ReferenceData database and then a re-deploy the marketing definitions (a simple deploy of marketing definitions did not remove the deleted dimension/segments for me).&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The following steps did the trick (note I'm hosting in Azure PaaS):&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Clear down ALL tables in the refdata-db SQL Database.&lt;/li&gt;&#xA;&lt;li&gt;Deploy Marketing Definitions&lt;/li&gt;&#xA;&lt;li&gt;Restart my CD, CM, Rep &amp;amp; PRC App Services&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="504" LastActivityDate="2019-09-25T13:01:57.790" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22255" PostTypeId="1" AcceptedAnswerId="22256" CreationDate="2019-09-25T14:05:04.723" Score="5" ViewCount="1407" Body="&lt;p&gt;We want to use Sitecore JSS (ReactBased) Framework with Sitecore 9.2 (Integrated mode).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We will have 3 sites that are almost the same but they have their differences in components and content (they will have different domains name too).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So basically, we want to know which is the best approach to have this scenario set up with react JSS solution. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do we have to make 3 apps with a lot of duplicate code or it is an easier way to do it?&lt;/p&gt;&#xA;" OwnerUserId="6086" LastEditorUserId="605" LastEditDate="2019-09-25T15:06:32.520" LastActivityDate="2020-10-23T06:47:25.937" Title="In Sitecore JSS Multisite we will have an jss app for each Site?" Tags="|jss|multisite|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22256" PostTypeId="2" ParentId="22255" CreationDate="2019-09-25T14:42:49.553" Score="2" Body="&lt;p&gt;Yes it is feasible to use 1 JSS App to serve multi-site but requires custom implementation.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;You need custom code to resolve the site as the &lt;code&gt;layoutServiceHost&lt;/code&gt; will point to 1 domain.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You may need to update the site start path to the &lt;code&gt;/sitecore/content&lt;/code&gt; and from there you'll need to resolve for the site.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I've talked with Sitecore Experts via Support ticket and Sitecore Slack Channel about this and the best and recommended approach is to use Sitecore 9.2 with JSS 12 and SXA 1.9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;SXA 1.9 has the capabilities of managing different JSS App but also allow you to configure multiple sites with a single JSS App. Here is a link about my journey of migrating from &lt;a href=&quot;https://hishaamn.wordpress.com/2019/09/03/sitecore-from-jss-to-sxa-jss/&quot; rel=&quot;nofollow noreferrer&quot;&gt;JSS to SXA JSS&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On SXA 1.9, the settings item allows you to configure on which app you want to point the JSS App. More information can be found at the &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/19/sitecore-experience-accelerator/en/managing-jss-apps-with-sxa.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;SXA Documentation - Managing JSS App&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-09-25T17:24:08.873" LastActivityDate="2019-09-25T17:24:08.873" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22257" PostTypeId="1" CreationDate="2019-09-25T18:26:59.353" Score="1" ViewCount="98" Body="&lt;p&gt;I want to create a Warning/Confirmation dialog when certain items do not pass our custom item name validation rules. The user can still override the warning dialog via OK/Cancel Buttons. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've tried working in the &lt;code&gt;createItem&lt;/code&gt; pipeline but I cannot generate a SheerResponse dialog, nor am able to wait on the postback. Additionally, this doesn't stop the item creation when you &lt;code&gt;AbortPipeline()&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Overwriting the &lt;code&gt;item:create&lt;/code&gt; command seems overkill as I just want to extend the existing functionality rather than overwrite it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a recommended pipeline/hook-point to accomplish this?&lt;/p&gt;&#xA;" OwnerUserId="4394" LastActivityDate="2019-09-25T18:26:59.353" Title="On Item Creation: Warning/Confirmation dialog for invalid Item Name" Tags="|content-editor|pipelines|validation|speak|" AnswerCount="0" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22260" PostTypeId="1" CreationDate="2019-09-25T21:07:03.767" Score="4" ViewCount="676" Body="&lt;p&gt;I'm trying to use the Sitecore GraphQL search function that takes in the &quot;facetOn&quot; parameter. Unfortunately I'm not having much luck with the results, and I suspect it's because I'm doing something wrong and don't know where to look for the documentation. So I have a Field called &quot;Category&quot; and I want to facet on that when I search because I imagine it will essentially give me a count of different &quot;Category&quot; value occurrences. But the below is not working.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query {&#xA;  search(rootItem: &quot;92B4F8E7-6324-4C01-B873-7FDC992EDDEE&quot; facetOn:[&quot;_category&quot;] ) {&#xA;    results {&#xA;      totalCount&#xA;      items {&#xA;        item {&#xA;          name&#xA;          _category: field(name: &quot;Category&quot;) {&#xA;            value&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;&#xA;    facets {&#xA;&#xA;      name&#xA;      values {&#xA;        item {&#xA;          id&#xA;&#xA;        }&#xA;        value&#xA;      }&#xA;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="6089" LastActivityDate="2024-03-22T06:07:15.090" Title="GraphQL Search facetOn Parameter" Tags="|jss|sitecore-api|search-facet|graphql|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="22261" PostTypeId="1" AcceptedAnswerId="22282" CreationDate="2019-09-25T21:09:52.600" Score="3" ViewCount="132" Body="&lt;p&gt;I was trying to install Sitecore 9.2.0 XP Scaled in Azure using ARM template. But I am getting an error named 'AspNetCoreRuntime' not found.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;id&quot;: &quot;/subscriptions/72a1bd21-63be-430d-b8a9-47b3a3e873d8/resourcegroups/mnmsitecorearm1/providers/Microsoft.Web/sites/sitecorexc92-si/siteextensions/AspNetCoreRuntime&quot;,&#xA;  &quot;name&quot;: &quot;sitecorexc92-si/AspNetCoreRuntime&quot;,&#xA;  &quot;type&quot;: &quot;Microsoft.Web/sites/siteextensions&quot;,&#xA;  &quot;location&quot;: &quot;East US&quot;,&#xA;  &quot;properties&quot;: {&#xA;    &quot;id&quot;: &quot;AspNetCoreRuntime&quot;,&#xA;    &quot;title&quot;: null,&#xA;    &quot;type&quot;: &quot;Gallery&quot;,&#xA;    &quot;summary&quot;: null,&#xA;    &quot;description&quot;: null,&#xA;    &quot;version&quot;: null,&#xA;    &quot;extension_url&quot;: null,&#xA;    &quot;project_url&quot;: null,&#xA;    &quot;icon_url&quot;: null,&#xA;    &quot;license_url&quot;: null,&#xA;    &quot;feed_url&quot;: null,&#xA;    &quot;authors&quot;: null,&#xA;    &quot;installer_command_line_params&quot;: null,&#xA;    &quot;published_date_time&quot;: null,&#xA;    &quot;download_count&quot;: 0,&#xA;    &quot;local_is_latest_version&quot;: null,&#xA;    &quot;local_path&quot;: null,&#xA;    &quot;installed_date_time&quot;: null,&#xA;    &quot;provisioningState&quot;: &quot;Failed&quot;,&#xA;    &quot;comment&quot;: &quot;'**AspNetCoreRuntime' not found.**&quot;&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;What I have tried:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried with the solution&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding this piece of code under resource object in template JSON.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;    &quot;type&quot;: &quot;Microsoft.Resources/siteextensions&quot;,&#xA;    &quot;name&quot;: &quot;AspNetCoreRuntime.3.0.x64&quot;,&#xA;    &quot;apiVersion&quot;: &quot;[variables('resourcesApiVersion')]&quot;,&#xA;    &quot;location&quot;: &quot;[resourceGroup().location]&quot;,&#xA;    &quot;properties&quot;: {&#xA;        &quot;parameters&quot;: {&#xA;            &quot;standard&quot;: {&#xA;                &quot;value&quot;: {&#xA;                    &quot;deploymentId&quot;: &quot;[parameters('deploymentId')]&quot;&#xA;                }&#xA;            }&#xA;        }&#xA;    },&#xA;    &quot;dependsOn&quot;: [&#xA;        &quot;[resourceId('Microsoft.Resources/deployments', concat(parameters('deploymentId'), '-infrastructure'))]&quot;&#xA;    ]&#xA;}&#xA;&#xA;src: Sitecore Identity server deployment: &quot;AspNetCoreRuntime extension not found&quot; | bramstoop.com[^]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the result is same.&lt;/p&gt;&#xA;" OwnerUserId="5862" LastEditorUserId="70" LastEditDate="2019-09-26T18:21:33.697" LastActivityDate="2019-10-02T16:30:49.960" Title="'Aspnetcoreruntime' not found in scaled ARM template" Tags="|azure|arm-template|" AnswerCount="1" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22265" PostTypeId="2" ParentId="22100" CreationDate="2019-09-26T06:46:47.120" Score="2" Body="&lt;p&gt;I have asked Sitecore the same question and their answer as below:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;In the InteractionFacets table of collection database, the real IPs are stored when Analytics.RedactIpAddress setting is set to false and the 0.0.0.0. IPs are stored when the setting is set to true.&lt;br&gt;&#xA;  The hashed IPs are stored in the ReferenceData database. In the ReferenceData database, they are always hashed. &#xA;  Unfortunately, the article that you refer is not mentioned that. I've made a request to correct it. Thank you for reporting that.&#xA;  Actually, In Sitecore 8 there was the same logic but  - &lt;a href=&quot;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/contacts/ip_address_hashing&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/contacts/ip_address_hashing&lt;/a&gt;*&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="2319" LastEditorUserId="73" LastEditDate="2019-09-26T10:39:18.823" LastActivityDate="2019-09-26T10:39:18.823" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22267" PostTypeId="1" CreationDate="2019-09-26T07:04:19.073" Score="0" ViewCount="158" Body="&lt;p&gt;I have the following content structure. I want the parent and child relationship to be maintained post selection. If I use a Treelist and select a Region and some Locations, will the child items maintain the relation with the parent automatically? The image below shows the expected output, location1 and location3 have to be grouped under the parent 'Region1'.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JD9bJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JD9bJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3234" LastEditorUserId="3234" LastEditDate="2019-09-26T08:32:32.110" LastActivityDate="2019-09-26T08:32:32.110" Title="Field type to select a parent item along with some child items" Tags="|fieldtype|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22269" PostTypeId="2" ParentId="22260" CreationDate="2019-09-26T07:56:53.920" Score="1" Body="&lt;p&gt;Your query looks good, I test it on Sitecore 9.1, SOLR with a Text field, that work with this adjustment.  It is now facetOn &quot;_category&quot; looks like because the field(name: &quot;Category&quot;) your field is named &quot;Category&quot;  so use&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;search(rootItem: &quot;92B4F8E7-6324-4C01-B873-7FDC992EDDEE&quot; facetOn:[&quot;Category&quot;] )&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is not giving a count per facet. you can do that by adding the count to the facets&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;facets {&#xA;      name&#xA;      values {&#xA;        count&#xA;        item {&#xA;          id&#xA;        }&#xA;        value&#xA;      }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Note, this is working on SOLR, for Azure Search there are some limitations, facet on an list is an issue, ARGUMENT_OUT_OF_RANGE&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is a working example on the out of the box &lt;code&gt;Title&lt;/code&gt; field from the sample item. (note item in facet is null, because result is a string not a reference) &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query {&#xA;  search(rootItem: &quot;/sitecore/content/home&quot; facetOn:[&quot;Title&quot;]  ) {&#xA;    results {&#xA;      totalCount&#xA;      items {&#xA;        item {&#xA;          name&#xA;          _TitleField: field(name: &quot;Title&quot;) {&#xA;            value&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;&#xA;    facets {&#xA;      name&#xA;      values {&#xA;        count&#xA;        item {&#xA;          id&#xA;        }&#xA;        value&#xA;      }&#xA;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;One thing to mention, in my returning facet name it is lowercased so Category returns as category, also a GUID returned as uppercase without dash,  if you want to search on that do first a to lowercase.&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-09-27T07:16:08.117" LastActivityDate="2019-09-27T07:16:08.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22270" PostTypeId="2" ParentId="14238" CreationDate="2019-09-26T10:43:15.190" Score="1" Body="&lt;p&gt;We changed the azure search version in the connection string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Requests before:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://MY_SEARCH_SERVICE.search.windows.net/indexes/sitecore-web-index?api-version=2015-02-28-preview&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://MY_SEARCH_SERVICE.search.windows.net/indexes/sitecore-web-index?api-version=2015-02-28-preview&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Requests after:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;a href=&quot;https://MY_SEARCH_SERVICE.search.windows.net/indexes/sitecore-web-index?api-version=2016-09-01&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://MY_SEARCH_SERVICE.search.windows.net/indexes/sitecore-web-index?api-version=2016-09-01&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;If you are using API version &lt;strong&gt;2015-02-28-Preview&lt;/strong&gt;, see if you can change that to a higher version. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Compatibility Table: &lt;a href=&quot;https://kb.sitecore.net/articles/549969&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/549969&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="348" LastActivityDate="2019-09-26T10:43:15.190" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22271" PostTypeId="1" CreationDate="2019-09-26T10:48:22.763" Score="2" ViewCount="129" Body="&lt;p&gt;I was going through Sitecore domains documentation and found the link interesting. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://www.linkedin.com/pulse/what-importance-security-domains-sitecore-rohit-chopra&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.linkedin.com/pulse/what-importance-security-domains-sitecore-rohit-chopra&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Upon going through that, I was curios enough to change the domain on on my local site from 'extranet' to 'sitecore'. But nothing really happened. I was expecting if changing this domain to Sitecore would show login screen for accessing a local site too. But my local site is loading as usual. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What really happens when we change the domain setting?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     &amp;lt;site name=&quot;myLocalSite&quot; patch:before=&quot;site[@name='website']&quot;&#xA;              database=&quot;web&quot;&#xA;              virtualFolder=&quot;/&quot;&#xA;              physicalFolder=&quot;/&quot;&#xA;              rootPath=&quot;/sitecore/content/*****/*****/******/IN/Home&quot;&#xA;              startItem=&quot;/Home&quot;&#xA;              **domain=&quot;sitecore&quot;**&#xA;              allowDebug=&quot;true&quot;&#xA;              cacheHtml=&quot;true&quot;&#xA;              htmlCacheSize=&quot;50MB&quot;&#xA;              registryCacheSize=&quot;0&quot;&#xA;              viewStateCacheSize=&quot;0&quot;&#xA;              xslCacheSize=&quot;25MB&quot;&#xA;              filteredItemsCacheSize=&quot;10MB&quot;&#xA;              enablePreview=&quot;true&quot;&#xA;              enableWebEdit=&quot;true&quot;&#xA;              enableDebugger=&quot;true&quot;&#xA;              enableTracking=&quot;true&quot;&#xA;              disableClientData=&quot;false&quot;&#xA;              languageEmbedding=&quot;never&quot;&#xA;              language=&quot;en&quot;&#xA;              cacheRenderingParameters=&quot;true&quot;&#xA;              renderingParametersCacheSize=&quot;10MB&quot;&#xA;              hostName=&quot;*********************&quot;&amp;gt;&#xA;    &amp;lt;patch:attribute name=&quot;database&quot; value=&quot;web&quot; env:require=&quot;local&quot; /&amp;gt;   &#xA;  &amp;lt;/site&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="6093" LastEditorUserId="70" LastEditDate="2019-09-26T18:23:15.473" LastActivityDate="2019-09-26T18:23:15.473" Title="What happens when you change the security domain setting for a site?" Tags="|security|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22272" PostTypeId="2" ParentId="22271" CreationDate="2019-09-26T12:41:07.493" Score="2" Body="&lt;p&gt;From my recollection, domain on a site is used when you are trying to load a user by just the username.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, if you try to authenticate a user who has provided the username &quot;SitecoreLeaner&quot;, you need to know what domain to look in. So you authenticate using the domain for the site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;By default, the external site is usually configured for 'extranet', so it would look for 'extranet\SitecoreLearner'. If you changed it to 'sitecore', like you did, then you would want to lookup 'sitecore\SitecoreLearner'.&lt;/p&gt;&#xA;" OwnerUserId="69" LastEditorUserId="342" LastEditDate="2019-09-26T14:35:04.453" LastActivityDate="2019-09-26T14:35:04.453" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22273" PostTypeId="1" CreationDate="2019-09-26T13:24:09.690" Score="0" ViewCount="1622" Body="&lt;p&gt;Experience Analytics is not loading. I have checked the following :-&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Able to load xConnect with out any problem with valid certificate.&lt;/li&gt;&#xA;&lt;li&gt;Thumbprint is updated is xconnect website, connectionstring and appsettings&#xA;and also connectionstring in the sc website&lt;/li&gt;&#xA;&lt;li&gt;Moved trusted root certificates to CA.&lt;/li&gt;&#xA;&lt;li&gt;Rebooted machine.&lt;/li&gt;&#xA;&lt;li&gt;Done post installation steps of Sitecore installation.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I have attached the screenshots and logs. Not sure what else needs to be checked. Please let me know if you need any more information from my side.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;23324 08:21:58 FATAL [Experience Analytics]: Failed to synchronize segments. Message: Ensure definition type did not complete successfully. StatusCode: 401, ReasonPhrase: 'Invalid certificate', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:&#xA;{&#xA;  Pragma: no-cache&#xA;  Cache-Control: no-cache&#xA;  Date: Thu, 26 Sep 2019 12:21:58 GMT&#xA;  Server: Microsoft-IIS/10.0&#xA;  X-AspNet-Version: 4.0.30319&#xA;  X-Powered-By: ASP.NET&#xA;  Content-Length: 0&#xA;  Expires: -1&#xA;}. Details:    at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.GetAll(NameValueCollection readingPreferences)&#xA;   at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.GetAll(NameValueCollection readingPreferences)&#xA;   at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.GetSegmentsToSynchronize()&#xA;   at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.SynchronizeAllSegments()&#xA;   at System.Threading.Tasks.Task.Execute()&#xA;--- End of stack trace from previous location where exception was thrown ---&#xA;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#xA;   at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsProcessor.&amp;lt;Process&amp;gt;d__4.MoveNext()&#xA;ManagedPoolThread #0 08:21:58 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;ManagedPoolThread #1 08:21:59 INFO  Trying to load XML configuration /App_Config/Security/GlobalRoles.config&#xA;23136 08:22:00 INFO  Cache created: 'ExperienceAnalytics.Sites' (max size: 1MB, running total: 3446MB)&#xA;23136 08:22:00 INFO  Cache created: 'ReportingStorageProviderProperties.Properties' (max size: 10MB, running total: 3456MB)&#xA;13616 08:22:00 INFO  Cache created: 'Task Manager - Tasks' (max size: 100 bytes, running total: 3456MB)&#xA;20108 08:22:02 ERROR Exception when executing agent aggregation/pathAnalyzerLiveAgent&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: The HTTP response was not successful: Unauthorized&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;22240 08:22:06 INFO  Cache created: 'SqlDataProvider - Prefetch data(core)' (max size: 150MB, running total: 3606MB)&#xA;ManagedPoolThread #0 08:22:06 INFO  Loading Dictionary from cache&#xA;ManagedPoolThread #0 08:22:06 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;22240 08:22:07 INFO  Cache created: 'scripts' (max size: 800KB, running total: 3607MB)&#xA;22240 08:22:07 WARN  Request is redirected to login page. Requested url: /sitecore/client/Applications/ExperienceAnalytics/Dashboard/, User: sitecore\Anonymous, Website: shell&#xA;21728 08:22:08 INFO  HttpModule is being initialized&#xA;2204 08:22:15 INFO  Cache created: 'Task Manager - Tasks' (max size: 100 bytes, running total: 3607MB)&#xA;ManagedPoolThread #2 08:22:17 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;ManagedPoolThread #2 08:22:17 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;20108 08:22:17 ERROR Exception when executing agent aggregation/pathAnalyzerLiveAgent&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: The HTTP response was not successful: Unauthorized&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;ManagedPoolThread #3 08:22:27 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;ManagedPoolThread #3 08:22:27 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;23136 08:22:30 INFO  Cache created: 'ExperienceAnalytics.Sites' (max size: 1MB, running total: 3608MB)&#xA;ManagedPoolThread #0 08:22:31 ERROR Exception in alarm clock event subscriber.&#xA;Exception: System.Runtime.Serialization.SerializationException&#xA;Message: Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.&#xA;Source: mscorlib&#xA;   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()&#xA;   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)&#xA;   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)&#xA;   at Sitecore.Analytics.Data.DataAccess.SubmitQueue.FileSubmitQueue.Dequeue()&#xA;   at Sitecore.Analytics.SubmitQueueService.WakeUp()&#xA;   at Sitecore.Services.AlarmClock.&amp;lt;&amp;gt;c__DisplayClass11_0.&amp;lt;Heartbeat_Beat&amp;gt;b__0(Object state)&#xA;&#xA;20108 08:22:32 ERROR Exception when executing agent aggregation/pathAnalyzerLiveAgent&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: The HTTP response was not successful: Unauthorized&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;ManagedPoolThread #2 08:22:37 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;ManagedPoolThread #2 08:22:37 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;ManagedPoolThread #3 08:22:47 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent&#xA;ManagedPoolThread #3 08:22:47 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )&#xA;21460 08:22:47 INFO  [Path Analyzer](.) Map EnsureAllDeployed started.&#xA;22712 08:22:47 ERROR Exception when executing agent aggregation/pathAnalyzerHistoryAgent&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: The HTTP response was not successful: Unauthorized&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&#xA;20108 08:22:48 ERROR Exception when executing agent aggregation/pathAnalyzerLiveAgent&#xA;Exception: Sitecore.XConnect.XdbCollectionUnavailableException&#xA;Message: The HTTP response was not successful: Unauthorized&#xA;Source: Sitecore.Xdb.Common.Web&#xA;   at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.XConnectSynchronousExtensions.SuspendContextLock(Func`1 taskFactory)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.Initialize(XmlNode configNode)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()&#xA;   at Sitecore.Analytics.Core.BackgroundService.Run()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/kPSdH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/kPSdH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nzTf2.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nzTf2.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4590" LastEditorUserId="4590" LastEditDate="2019-09-27T16:32:09.803" LastActivityDate="2019-10-28T00:01:40.447" Title="Unable to load Experience Analytics" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22274" PostTypeId="1" CreationDate="2019-09-26T14:27:31.977" Score="0" ViewCount="416" Body="&lt;p&gt;I have installed Sitecore 9.2 with supported SXA on my local environment, but not able to create JSS Tenant as describe in Sitecore help document. When we logged-in sitecore I can see the only Tenant instead of the JSS Tenant.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3dZRf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3dZRf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pV8Br.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pV8Br.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aEEAX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aEEAX.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5922" LastEditorUserId="237" LastEditDate="2019-09-26T14:29:08.867" LastActivityDate="2019-10-26T16:00:55.313" Title="After installation Sitecore 9.2 with SXA not able to create JSS Tenant and site" Tags="|sxa|jss|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22276" PostTypeId="2" ParentId="2456" CreationDate="2019-09-26T15:28:46.427" Score="-1" Body="&lt;p&gt;please follow below links for details in token customization.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-a-custom-token-for-a-rendering-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/18/sitecore-experience-accelerator/en/create-a-custom-token-for-a-rendering-variant.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You have to extend the &quot;resolveVariantTokens&quot; processor. &lt;/p&gt;&#xA;" OwnerUserId="5205" LastActivityDate="2019-09-26T15:28:46.427" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22277" PostTypeId="1" CreationDate="2019-09-26T15:36:00.087" Score="0" ViewCount="49" Body="&lt;p&gt;I'm using Sitecore 9.1.1 and DEF 2.1.0 and trying to create a new value in the field in Salesforce object from Sitecore Item. I've created all accessor set and value mapping sets and configured pipelines to do this operation. I failed in doing so, giving error in logs like this:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;ManagedPoolThread #2 07:28:55 DEBUG [Data Exchange] Trying to update&#xA;  salesforce object. (pipeline: Handle Single Row From Sitecore&#xA;  Pipeline, pipeline step: Submit Single Salesforce Object Pipeline&#xA;  Step, pipeline step identifier: c3d7674f-4938-4af5-9742-7fa4d247457a)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #2 07:28:55 ERROR [Data Exchange] Error duting&#xA;  creating. (object name: ACE_Booking__c) (pipeline: Handle Single Row&#xA;  From Sitecore Pipeline, pipeline step: Submit Single Salesforce Object&#xA;  Pipeline Step, pipeline step identifier:&#xA;  c3d7674f-4938-4af5-9742-7fa4d247457a)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #2 07:28:55 ERROR [Data Exchange] One or more errors&#xA;  occurred. (pipeline: Handle Single Row From Sitecore Pipeline,&#xA;  pipeline step: Submit Single Salesforce Object Pipeline Step, pipeline&#xA;  step identifier: c3d7674f-4938-4af5-9742-7fa4d247457a)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;ManagedPoolThread #2 07:28:55 ERROR [Data Exchange] START AGGREGATE&#xA;  EXCEPTION (pipeline: Handle Single Row From Sitecore Pipeline,&#xA;  pipeline step: Submit Single Salesforce Object Pipeline Step, pipeline&#xA;  step identifier: c3d7674f-4938-4af5-9742-7fa4d247457a, ID: 2, HResult:&#xA;  -2146233088)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;---- Error duting creating. (object name: ACE_Booking__c) (pipeline: Handle Single Row From Sitecore Pipeline, pipeline step: Submit Single&#xA;  Salesforce Object Pipeline Step, pipeline step identifier:&#xA;  c3d7674f-4938-4af5-9742-7fa4d247457a)&lt;/p&gt;&#xA;  &#xA;  &lt;p&gt;Unable to create/update fields: Name. Please check the security&#xA;  settings of this field and verify that it is read/write for your&#xA;  profile or permission set. (pipeline: Handle Single Row From Sitecore&#xA;  Pipeline, pipeline step: Submit Single Salesforce Object Pipeline&#xA;  Step, pipeline step identifier: c3d7674f-4938-4af5-9742-7fa4d247457a)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;I'm creating pipeline steps like this:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ah7fh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ah7fh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please guide me how to fix the error.&lt;/p&gt;&#xA;" OwnerUserId="6073" LastEditorUserId="70" LastEditDate="2019-09-26T18:18:08.533" LastActivityDate="2019-09-26T18:18:08.533" Title="Salesforce object field not getting created after pushing item via DEF" Tags="|data-exchange-framework|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22278" PostTypeId="2" ParentId="22274" CreationDate="2019-09-26T15:37:27.373" Score="1" Body="&lt;p&gt;Soln: &lt;strong&gt;Sitecore JavaScript Services Server for Sitecore 9.2 XP 12.0.0 rev. 190522&lt;/strong&gt; is required to install for the above porblem.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/F5jjh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/F5jjh.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5922" LastActivityDate="2019-09-26T15:37:27.373" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22279" PostTypeId="1" CreationDate="2019-09-26T17:22:14.213" Score="0" ViewCount="265" Body="&lt;p&gt;I have list of items which also contains button. I am binding that list via &lt;code&gt;Json&lt;/code&gt; . Now I want to trigger &lt;code&gt;goal&lt;/code&gt; when some user click on that button.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;I cannot apply goal on page because I want to trigger goal on button click&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I tried to use &lt;code&gt;sc_trk&lt;/code&gt; but because on click it is redirecting to some other domain, then it is also not working.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;I tried to call web api on button click but when I am fetching goal item from DB using &lt;code&gt;GetItem&lt;/code&gt; method, it is returning null.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Below is my code :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public static bool TriggerGoal(Sitecore.Data.ID goalId)&#xA;        {&#xA;            if (!Tracker.IsActive)&#xA;            {&#xA;                Tracker.StartTracking();&#xA;            }&#xA;&#xA;            if (Sitecore.Analytics.Tracker.IsActive &amp;amp;&amp;amp; Sitecore.Analytics.Tracker.Current.CurrentPage != null)&#xA;            {&#xA;                Sitecore.Data.Items.Item goalItem = Sitecore.Context.Database.GetItem(goalId); // Getting null value&#xA;                if (goalItem != null)&#xA;                {&#xA;                    var goalTrigger = Sitecore.Analytics.Tracker.MarketingDefinitions.Goals[goalItem.ID.ToGuid()];&#xA;                    var goalEventData = Sitecore.Analytics.Tracker.Current.CurrentPage.RegisterGoal(goalTrigger);&#xA;                    goalEventData.Data = goalItem[&quot;Name&quot;];&#xA;                    goalEventData.ItemId = goalItem.ID.ToGuid();&#xA;                    goalEventData.DataKey = goalItem.Paths.Path;&#xA;                    goalEventData.Text = &quot;Goal for Logic&quot;;&#xA;                    Sitecore.Analytics.Tracker.Current.Interaction.AcceptModifications();&#xA;                }&#xA;            }&#xA;            return true;&#xA;        }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; [HttpGet]&#xA;        public IHttpActionResult Get([FromUri] UrlModel model)&#xA;        {&#xA;TriggerGoal(someguid);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can any one suggest me better approach?&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="2152" LastEditDate="2019-09-27T13:27:12.887" LastActivityDate="2019-09-28T14:46:20.187" Title="Trigger goal on dynamic item binding" Tags="|goals|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="22280" PostTypeId="1" CreationDate="2019-09-26T17:45:13.630" Score="0" ViewCount="2086" Body="&lt;p&gt;I have created Language selector drop down in Sitecore whenever we select any language that language specific site is opening and page is getting refreshed. So every time its showing drop down &lt;code&gt;index-0&lt;/code&gt; item. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We need to show the language we have selected in drop down. So for storing drop down values can we create session in Sitecore or there is any other way?&lt;/p&gt;&#xA;" OwnerUserId="2144" LastEditorUserId="70" LastEditDate="2019-09-26T18:13:39.603" LastActivityDate="2019-09-27T12:18:45.450" Title="How to show the current language for a language selector" Tags="|multilingual|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22282" PostTypeId="2" ParentId="22261" CreationDate="2019-09-27T02:58:38.613" Score="4" Body="&lt;p&gt;The deployment in marketplace is not working right now because of an issue with the AspNetCoreRuntime' extensions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This issue was already fixed for ARM templates that can be used with Azure Toolkit:&#xA;&lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/Sitecore%209.1.1&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/Sitecore%209.1.1&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fix for the Marketplace deployments is currently in progress. &#xA;Please refer to the below link for more details and the status updates regarding this issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;http://status.cloud.sitecore.net/maintenance/87d23f4d-9a48-47fe-b483-5c3bd52cb918&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://status.cloud.sitecore.net/maintenance/87d23f4d-9a48-47fe-b483-5c3bd52cb918&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE - THIS ISSUE IS NOW RESOLVED.&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="106" LastEditorUserId="106" LastEditDate="2019-10-02T16:30:49.960" LastActivityDate="2019-10-02T16:30:49.960" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22283" PostTypeId="1" CreationDate="2019-09-27T04:47:09.943" Score="0" ViewCount="80" Body="&lt;p&gt;I am trying to install Sitecore 9.1 instance on my development machine. But the script is being blocked by antivirus. The powershell window just closes after it is blocked. It does not show any errors.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/vHBH1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/vHBH1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below are the last few lines in the log - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[---------------------------------------------------------------------XConnectXP0_CleanShards : Command-------------------------------------------------------------------------------------]&#xA;[ShardingTool - Clean]:[Path] C:\inetpub\wwwroot\agnlocal.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe&#xA;[-------------------------------------------------------------------- ConnectXP0_CreateShards : Command-------------------------------------------------------------------------------------]&#xA;[ShardingTool - Create]:[Path] C:\inetpub\wwwroot\agnlocal.xconnect\App_Data\collectiondeployment\Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please suggest how to install.&lt;/p&gt;&#xA;" OwnerUserId="5833" LastEditorUserId="70" LastEditDate="2019-09-27T11:47:33.097" LastActivityDate="2019-09-27T11:47:33.097" Title="Installation script blocked by antivirus" Tags="|installation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22284" PostTypeId="2" ParentId="22283" CreationDate="2019-09-27T05:07:35.127" Score="1" Body="&lt;p&gt;These kind of issues can be easily overridden by using virtual machines (VM). This is one of the reasons why I am using VMs and not installing Sitecore, Visual Studio, SQL Server  and other apps directly on my laptop's OS. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hyper-V technology build directly into Windows was causing me trouble when on Wifi and I couldn't override settings because of company rules.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That's why I strongly suggest to use Oracle's &lt;a href=&quot;https://www.virtualbox.org/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Virtual Box&lt;/a&gt; as your virtualization tool.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to have laptop with at least 16 GB of RAM so you can assign at least 10 gigs to your VM to make Sitecore work as smooth as possible.&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-09-27T05:07:35.127" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22285" PostTypeId="2" ParentId="19839" CreationDate="2019-09-27T07:33:20.757" Score="7" Body="&lt;p&gt;For us, the problem was an &lt;code&gt;Html.Glass().Editable(...)&lt;/code&gt; inside the &lt;code&gt;href&lt;/code&gt; of a link. That did not break the Experience Editor in Sitecore 8.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;code&gt;init&lt;/code&gt; method of &lt;code&gt;Sitecore.PageModes.ChromeManager&lt;/code&gt; throws an error, the initialization fails and the Experience Editor is unusable. That is the first error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Uncaught TypeError: Cannot read property 'replace' of undefined&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To find that, I used the Google Chromes DevTools (Firefox did not work for me). I added a logpoint on line 8347 (&lt;code&gt;$sc.removeTags(this.fieldValue[0].defaultValue.replace(...))&lt;/code&gt; inside &lt;code&gt;Sitecore.PageModes.ChromeTypes.Field&lt;/code&gt;s &lt;code&gt;load&lt;/code&gt; method and logged the following:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;'fieldValue[0].id:', this.fieldValue[0].id&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Now, reload the Experience Editor and look for the last id before the uncaught error.&lt;br&gt;&#xA;Search for that id in your HTML using DevTools.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;P.S.: You may have multiple sources for that error.&lt;/p&gt;&#xA;" OwnerUserId="3222" LastActivityDate="2019-09-27T07:33:20.757" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22286" PostTypeId="1" CreationDate="2019-09-27T10:03:00.543" Score="1" ViewCount="654" Body="&lt;p&gt;We've recently upgraded to Sitecore 9.1, and used to work with WFFM. Now we work with Forms, so I'm reconstructing our forms to this new version.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have an issue with Conditional Logic though, very frustrating.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have exactly recreated an &lt;a href=&quot;https://sitecore.stackexchange.com/questions/17870/sitecore-9-1-forms-conditional-logic-not-working-as-expected/17884#17884&quot;&gt;example&lt;/a&gt; that I found from this website earlier, credits to Fredric Foo, just to make sure I wasn't losing my mind, but it just doesn't work. No matter how the conditions are set, it doesn't hide sections or fields for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Could there be any setting that our developer missed while upgrading that I need to enable/change in order for it work? Or should it work out-of-the-box.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I really hope someone can help me out.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks,&#xA;Michael&lt;/p&gt;&#xA;" OwnerUserId="6103" LastEditorUserId="73" LastEditDate="2019-09-27T10:03:36.853" LastActivityDate="2019-09-27T10:33:01.637" Title="Conditional logic not working" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22287" PostTypeId="2" ParentId="22280" CreationDate="2019-09-27T10:30:35.057" Score="1" Body="&lt;p&gt;A good way to keep the language after the section is &quot;Cookie&quot;. Sitecore uses &lt;code&gt;sitename#lang&lt;/code&gt; cookie to store the language of the website and default language for the website can set in the sitedefinition config by adding &lt;code&gt;language&lt;/code&gt; attribute - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sites&amp;gt;&#xA;  &amp;lt;site name=&quot;mysite&quot; language=&quot;es-ES&quot; ... /&amp;gt;&#xA;&amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your case, I guess everything is working fine except that default selection in the dropdown is not showing the language you are using and it pointing to the first item of the list. you can get that current language from the cookie(if you are using a cookie to store the selected language) or you can check the current request language. A better and recommended way is to use the language from the current request. below is a sample code to make the select box language selectable with current language - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;select&amp;gt;&#xA;@{ string selected = string.Empty;&#xA;    foreach (var regionLang in languageList)&#xA;    {&#xA;        // Get the context language to compare it with the list of language and make it selected&#xA;        var lang = Sitecore.Globalization.Language.Parse(regionLang.Language_Name);&#xA;        if (Sitecore.Context.Language == lang)&#xA;        {&#xA;            //if language matches the current context language then the item exists.  There is no further check required if the item exists in that language.&#xA;            selected = &quot;selected&quot;;&#xA;        }&#xA;        else&#xA;        {&#xA;            //if current context language is not equal to language, then a check is necessary to determine if the item exists in that language&#xA;            //because if the item does not exist in that language, we do not even want to show that language in the dropdown, if you are not using language fallback&#xA;            if (Sitecore.Context.Database.GetItem(Sitecore.Context.Item.ID, lang).Versions.Count &amp;lt;= 0)&#xA;            {&#xA;                continue;&#xA;            }&#xA;            selected = string.Empty;&#xA;        }&#xA;&#xA;        // can be your custom login to show the language in option&#xA;        var urlOptions = Sitecore.Links.LinkManager.GetDefaultUrlOptions();&#xA;        urlOptions.UseDisplayName = true;&#xA;        urlOptions.LanguageEmbedding = Sitecore.Links.LanguageEmbedding.Always;&#xA;        urlOptions.Language = lang;&#xA;        urlOptions.AlwaysIncludeServerUrl = true;&#xA;        var languageItem = Sitecore.Context.Database.GetItem(Sitecore.Context.Item.ID, lang);&#xA;        var url = Sitecore.Links.LinkManager.GetItemUrl(languageItem, urlOptions).Replace(&quot; &quot;, &quot;-&quot;).Replace(&quot;:443&quot;, &quot;&quot;);&#xA;&#xA;        &amp;lt;option data-url=&quot;@url&quot; @selected&amp;gt;@regionLang.Friendly_Display_Name_For_Language&amp;lt;/option&amp;gt;&#xA;    }&#xA;}&#xA;&amp;lt;/select&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Updates - As Richard suggested in the comments below - above example is just to handle the problem, it is not recommended to add complete code on the view, a controller rendering a better way to handle this code.&lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-09-27T12:18:45.450" LastActivityDate="2019-09-27T12:18:45.450" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22288" PostTypeId="2" ParentId="22286" CreationDate="2019-09-27T10:33:01.637" Score="3" Body="&lt;p&gt;We ran into this issue as well.  The script that drives the conditional logic requires that the form has both the &lt;code&gt;MVCLayout.cshtml&lt;/code&gt; and &lt;code&gt;MVCOuterLayout.cshtml&lt;/code&gt; layouts.  We were missing the &lt;code&gt;MVCOuterLayout.cshtml&lt;/code&gt; layout.  Once we added that to the form the conditional logic worked.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/add-a-form-to-a-webpage.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/add-a-form-to-a-webpage.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="165" LastActivityDate="2019-09-27T10:33:01.637" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22289" PostTypeId="1" CreationDate="2019-09-27T12:16:42.773" Score="2" ViewCount="1098" Body="&lt;p&gt;I am trying to use &lt;a href=&quot;https://kamsar.net/index.php/2014/05/indexing-subcontent/&quot; rel=&quot;nofollow noreferrer&quot;&gt;KamSars&lt;/a&gt; approach to indexing subcontent (pagecomponents) in my Sitecore 9.2.0 solution. It works fine in my Solr index locally, but when I try to add the two new computed index fields in Azure, they are not showing up in the Azure portal OR they show up with NULL values.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my configuration: (Azure.DefaultConfiguration)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot; search:require=&quot;azure&quot;&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;ContentSearch.Azure.SwitchOnRebuild&quot; value=&quot;false&quot;/&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;searchCloudIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot;&amp;gt;&#xA;          &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;              &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                &amp;lt;field fieldName=&quot;renderedContent&quot; cloudFieldName=&quot;renderedContent&quot; searchable=&quot;YES&quot; retrievable=&quot;YES&quot; facetable=&quot;YES&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot; &#xA;                boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; cloudAnalyzer=&quot;lowercase_keyword&quot; /&amp;gt;                &#xA;              &amp;lt;/fieldNames&amp;gt;&#xA;            &amp;lt;/fieldMap&amp;gt;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.DocumentBuilderOptions, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;&#xA;            &amp;lt;!-- Excluded templates --&amp;gt;&#xA;            &amp;lt;exclude hint=&quot;list:AddExcludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;BucketFolderTemplateId&amp;gt;{ADB6CA4F-03EF-4F47-B9AC-9CE2BA53FF97}&amp;lt;/BucketFolderTemplateId&amp;gt;&#xA;            &amp;lt;/exclude&amp;gt;&#xA;&#xA;            &amp;lt;!-- Included templates --&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;Frontpage&amp;gt;{CC8444F9-EF2D-43BC-9E08-84446CF253FB}&amp;lt;/Frontpage&amp;gt;&#xA;              &amp;lt;StandardPage&amp;gt;{69E35420-AF97-40FC-AC84-E2F4AE256BEB}&amp;lt;/StandardPage&amp;gt;&#xA;              &amp;lt;NewsArticlePage&amp;gt;{EFB6DB4E-4A31-413F-AD26-E808A52ED0EF}&amp;lt;/NewsArticlePage&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;&#xA;            &amp;lt;!-- GLOBALLY INCLUDE FIELDS IN INDEX&#xA;                 This setting allows you to specify which fields to include in the index when the indexAllFields setting is set to false.&#xA;            --&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;              &amp;lt;__Boost&amp;gt;{93D1B217-B8F4-462E-BABF-68298C9CE667}&amp;lt;/__Boost&amp;gt;&#xA;              &amp;lt;__Created_By&amp;gt;{5DD74568-4D4B-44C1-B513-0AF5F4CDA34F}&amp;lt;/__Created_By&amp;gt;&#xA;              &amp;lt;Date_Range&amp;gt;{7146F1A4-45FB-4CEC-9855-C95E9E595827}&amp;lt;/Date_Range&amp;gt;&#xA;              &amp;lt;ID&amp;gt;{5A531AF0-C44C-4141-A0D3-09C5CDC3D654}&amp;lt;/ID&amp;gt;&#xA;              &amp;lt;Image_Dimensions&amp;gt;{05EF282C-54DE-49B5-9EF3-0EB3008080C6}&amp;lt;/Image_Dimensions&amp;gt;&#xA;              &amp;lt;Language&amp;gt;{BC06ED64-C4A1-4EE2-9835-541E1CC4CCC9}&amp;lt;/Language&amp;gt;&#xA;              &amp;lt;Parent_ID&amp;gt;{1F4412CC-609C-4D3C-AF8C-D5C849202916}&amp;lt;/Parent_ID&amp;gt;&#xA;              &amp;lt;Text&amp;gt;{A60ACD61-A6DB-4182-8329-C957982CEC74}&amp;lt;/Text&amp;gt;&#xA;              &amp;lt;Title&amp;gt;{75577384-3C97-45DA-A847-81B00500E250}&amp;lt;/Title&amp;gt;&#xA;              &amp;lt;Search_Types_Text&amp;gt;{E600C190-3F61-4776-B2F5-03AD7AEB351C}&amp;lt;/Search_Types_Text&amp;gt;&#xA;              &amp;lt;Updated_Date&amp;gt;{87A830FB-4E2F-4F76-896B-F20CFA2374DD}&amp;lt;/Updated_Date&amp;gt;&#xA;              &amp;lt;Workflow_State&amp;gt;{49D86313-493D-4054-ACC9-D68AD6B09332}&amp;lt;/Workflow_State&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;            &amp;lt;!-- COMPUTED INDEX FIELDS&#xA;               This setting allows you to add fields to the index that contain values that are computed for the item that is being indexed.&#xA;               You can specify the storageType and indextype for each computed index field in the &amp;lt;fieldMap&amp;gt;&amp;lt;fieldNames&amp;gt; section.&#xA;            --&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;site&quot;                           &amp;gt;Sitecore.ContentSearch.ComputedFields.Site,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;!-- indexes subcontent contents into parent's _content field in the index (for better site search) --&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;_content&quot; type=&quot;WSA.Feature.Search.SubContentField,WSA.Feature.Search&quot; /&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;renderedContent&quot; type=&quot;WSA.Feature.Search.SubContentField,WSA.Feature.Search&quot; /&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;        &amp;lt;/searchCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is my configuration for the master-db:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot; search:require=&quot;Azure&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;          &amp;lt;index id=&quot;search_master_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;            &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;            &amp;lt;!-- This initializes index property store. Id has to be set to the index id --&amp;gt;&#xA;            &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;            &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/searchCloudIndexConfiguration&quot; &amp;gt;&#xA;              &amp;lt;scoringProfilesRepository ref=&quot;contentSearch/scoringProfilesRepository&quot;/&amp;gt;&#xA;            &amp;lt;/configuration&amp;gt;&#xA;            &amp;lt;schemaBuilder ref=&quot;contentSearch/searchServiceSchemaBuilder&quot; /&amp;gt;&#xA;            &amp;lt;searchService type=&quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&quot;/&amp;gt;&#xA;            &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;              &amp;lt;!-- NOTE: order of these is controls the execution order --&amp;gt;&#xA;              &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;            &amp;lt;/strategies&amp;gt;&#xA;            &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;              &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.TimeIntervalCommitPolicy, Sitecore.ContentSearch&quot; /&amp;gt;&#xA;                &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                  &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;                &amp;lt;/policy&amp;gt;&#xA;              &amp;lt;/policies&amp;gt;&#xA;            &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;            &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;              &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;                &amp;lt;Root&amp;gt;/sitecore/content/Public Sites&amp;lt;/Root&amp;gt;&#xA;              &amp;lt;/crawler&amp;gt;&#xA;            &amp;lt;/locations&amp;gt;&#xA;            &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;            &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;          &amp;lt;/index&amp;gt;&#xA;        &amp;lt;/indexes&amp;gt;&#xA;      &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;EDIT FINDINGS&lt;/em&gt;&#xA;If I add the following fieldmap:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;  &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;CustomContent&quot; cloudFieldName=&quot;content_2&quot; searchable=&quot;YES&quot;  retrievable=&quot;NO&quot; facetable=&quot;NO&quot; filterable=&quot;NO&quot; sortable=&quot;NO&quot; boost=&quot;1f&quot;&#xA;     type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;    &amp;lt;field fieldName=&quot;renderedContent&quot; cloudFieldName=&quot;renderedContent&quot; searchable=&quot;YES&quot; retrievable=&quot;YES&quot; facetable=&quot;YES&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot; &#xA;    boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; cloudAnalyzer=&quot;lowercase_keyword&quot; /&amp;gt;                &#xA;  &amp;lt;/fieldNames&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and change my computedindexfield section to this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;CustomContent&quot; type=&quot;WSA.Feature.Search.SubContentField,WSA.Feature.Search&quot; /&amp;gt;&#xA;  &amp;lt;field fieldName=&quot;renderedContent&quot; type=&quot;WSA.Feature.Search.SubContentField,WSA.Feature.Search&quot; /&amp;gt;&#xA;&amp;lt;/fields&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The field &quot;renderedContent&quot; shows up correct in Azure Search and so does the &quot;CustomContent&quot; field. However, I do not want to name my field &quot;CustomContent&quot;, but instead it should be the builtin Azure-fieldname &quot;content_1&quot; for various reasons, but if I change the name to &quot;content_1&quot;, it no longer shows up with the correct value in Azure Search.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My question is, is my configuration for the &lt;code&gt;_content&lt;/code&gt; and &lt;code&gt;_renderedContent&lt;/code&gt; fields incorrect, since they do not show up correctly in Azure search?&lt;/p&gt;&#xA;" OwnerUserId="3416" LastEditorUserId="3416" LastEditDate="2019-09-27T19:09:34.270" LastActivityDate="2024-03-06T21:03:35.453" Title="Custom index field not showing in Azure search" Tags="|content-search|azure-search|" AnswerCount="3" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22290" PostTypeId="1" AcceptedAnswerId="22291" CreationDate="2019-09-27T12:29:16.467" Score="2" ViewCount="479" Body="&lt;p&gt;I am using Sitecore 9.0.2, I am using a custom &lt;code&gt;Update Contact&lt;/code&gt; submit action in forms to update facet in xDB. Now before updating contact in xDB, I want to check that if user is &lt;code&gt;Robot&lt;/code&gt; or not, so for that I have checked &lt;code&gt;Sitecore.Analytics.Pipelines.CommitSession.Robots&lt;/code&gt; processor, it is using &lt;code&gt;ContactClassification.IsRobot&lt;/code&gt; function and passing if &lt;code&gt;args.Session.Contact.System.Classification&lt;/code&gt; parameter. Below is code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Robots : CommitSessionProcessor&#xA;{&#xA;    public override void Process(CommitSessionPipelineArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, &quot;args&quot;);&#xA;        Assert.IsNotNull(args.Session.Contact, &quot;args.Context.Contact should not be null&quot;);&#xA;        if (ContactClassification.IsRobot(args.Session.Contact.System.Classification) &amp;amp;&amp;amp; AnalyticsSettings.Robots.IgnoreRobots)&#xA;        {&#xA;            ContactManager expr_58 = Assert.ResultNotNull&amp;lt;ContactManager&amp;gt;(Factory.CreateObject(&quot;tracking/contactManager&quot;, true) as ContactManager);&#xA;            expr_58.SaveContactToCollectionDb(args.Session.Contact);&#xA;            expr_58.RemoveFromSession(args.Session.Contact.ContactId);&#xA;            Log.Debug(&quot;[Analytics]: The CommitSession pipeline was aborted. Visit was classified as robot and visits made by robots are configured to be ignored.&quot;, this);&#xA;            args.AbortPipeline();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;processor type=&quot;Sitecore.Analytics.Pipelines.CommitSession.Robots, Sitecore.Analytics&quot; patch:source=&quot;Sitecore.Analytics.Tracking.Database.config&quot;/&amp;gt;&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am trying to use same function on &lt;code&gt;UpdateContact&lt;/code&gt; but I am not sure what parameter I need to pass in &lt;code&gt;IsRobot&lt;/code&gt; function. Below is my submit action:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class UpdateContact : SubmitActionBase&amp;lt;UpdateContactData&amp;gt;&#xA;{&#xA;&#xA;    public UpdateContact(ISubmitActionData submitActionData) : base(submitActionData)&#xA;    {&#xA;    }&#xA;&#xA;    protected override bool Execute(UpdateContactData data, FormSubmitContext formSubmitContext)&#xA;    {&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can anybody suggest me what parameter I need to pass instead of &lt;code&gt;args.Session.Contact.System.Classification&lt;/code&gt;?&lt;/p&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="70" LastEditDate="2019-09-27T13:18:19.097" LastActivityDate="2020-01-06T21:32:42.147" Title="Robot Detection on Form submit action" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22291" PostTypeId="2" ParentId="22290" CreationDate="2019-09-27T13:28:08.643" Score="3" Body="&lt;p&gt;You still need to send the &lt;code&gt;Classification&lt;/code&gt; stored on the current &lt;code&gt;Contact&lt;/code&gt;, but how you get it is a little different:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Tracker.Current?.Session?.Contact?.System != null)&#xA;{&#xA;    ContactClassification.IsRobot(Tracker.Current.Session.Contact.System.Classification)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will get the current session's contact and use that classification.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Further reading: how a visitor is classified as a robot&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/robot-detection-overview.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/robot-detection-overview.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2020-01-06T21:32:42.147" LastActivityDate="2020-01-06T21:32:42.147" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22292" PostTypeId="1" AcceptedAnswerId="22293" CreationDate="2019-09-27T14:05:47.467" Score="2" ViewCount="674" Body="&lt;p&gt;Sitecore version: 9.0.2&lt;/p&gt;&#xA;&lt;p&gt;What I am trying to do:&lt;/p&gt;&#xA;&lt;p&gt;I have created a template. In one of the fields, I need to have my data type as 'TreeList'/ 'TreelistEx'. 'TreelistEx' is preferred.&lt;/p&gt;&#xA;&lt;p&gt;The functionality is working fine till the time I am using just the start path, something like&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;query:/sitecore/content/Global Repository/Regions&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;The moment I try to use the parameters as provided here &lt;a href=&quot;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://getfishtank.ca/blog/treelist-data-source-hidden-functionality&lt;/a&gt; my start items shifts to the root item 'Sitecore'.&lt;/p&gt;&#xA;&lt;p&gt;I tried using all lower caps in the name. But couldn't crack it.&lt;/p&gt;&#xA;&lt;p&gt;Few examples which I tried:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;query:/sitecore/content/Global&#xA;Repository/Regions&amp;amp;excludetemplatesfordisplay=Category Folder,Product&#xA;Folder&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;query:/sitecore/content/Global&lt;br /&gt;&#xA;Repository/Regions&amp;amp;excludetemplatesfordisplay=category folder,product&#xA;folder&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;query:/sitecore/content/Global&lt;br /&gt;&#xA;Repository/Regions&amp;amp;excludetemplatesfordisplay={332CCC6E-4838-49FA-B11A-8E821E45DB4C}&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;query:/sitecore/content/Global&#xA;Repository/Regions&amp;amp;Excludetemplatesfordisplay=country&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;What I am missing?&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-09-27T14:19:43.917" Title="Template field | Exclude filter on basis of template for TreeList and TreelistEx" Tags="|sitecore-query|tree-list|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22293" PostTypeId="2" ParentId="22292" CreationDate="2019-09-27T14:19:43.917" Score="3" Body="&lt;p&gt;You have to use either &lt;code&gt;datasource=&lt;/code&gt; (and not a query). Or a &lt;code&gt;query:&lt;/code&gt;. You can't mix them. You can't mix additional parameters when using &lt;code&gt;query:&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Unfortunately, as the code is currently implemented, you cannot specify both a query AND parameters to restrict the items. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://jammykam.wordpress.com/2016/01/06/specifying-query-and-parameters-for-sitecore-treelist-field-source/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Specifying query and parameters for Sitecore Treelist Field Source&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For your use case however, using &lt;code&gt;datasource=&lt;/code&gt; will be just fine. You're not actually doing any querying.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-09-27T14:19:43.917" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22294" PostTypeId="1" AcceptedAnswerId="22301" CreationDate="2019-09-27T14:28:12.603" Score="2" ViewCount="162" Body="&lt;p&gt;Im currently trying to set the publish url for a specific language on the CD server.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On the CM server the URL is &lt;code&gt;mysite.com/en-in&lt;/code&gt; I want the CD servers URL to be &lt;code&gt;mysite.co.in&lt;/code&gt;. How do I specify the CD server url to end with &lt;code&gt;.co.in&lt;/code&gt; instead of &lt;code&gt;.com/en-in&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Running Sitecore 8.2&lt;/p&gt;&#xA;" OwnerUserId="5031" LastEditorUserId="73" LastEditDate="2019-09-27T15:04:56.817" LastActivityDate="2019-09-30T07:35:36.247" Title="How to specify custom CD Server URL for Language (.co.in instead of /en-in)" Tags="|configuration|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22296" PostTypeId="1" CreationDate="2019-09-27T15:37:27.323" Score="2" ViewCount="210" Body="&lt;p&gt;I am working on Sitecore 9.0.2 and we have a requirement to send a reminder email through marketing automation. We have a scenario where contact will land on registration page and provide email/password, system will register the user and redirect it on profile page. In many cases user reached on profile page but does not provide details. In this case a reminder mail will go. In marketing automation tool, i am enrolling a contact while registration will finish and waiting for either session expired or profile submission event. once session expired before the profile submission, i'll send a email. In this flow i have following questions.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1.) I am not able to find a default rule to find out if tracking session has expired. I found a rule for page session end (/sitecore/system/Settings/Analytics/Page Events/Session end) but not sure this is limited to page or tracking session expired. Any suggestion for this. if its not available by default, may i have to raise a custom event explicitly while session expired pipeline get executed. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;2.) i'll put a custom listener with two rules (session expired or profile submitted) after contact's enrollment, in this scenario how i can pass details to next activity which event has triggered customer listener ?  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;please suggest if overall scenario can be handled in different way in marketing automation. Thanks&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sourabh K.&lt;/p&gt;&#xA;" OwnerUserId="3841" LastEditorUserId="73" LastEditDate="2021-03-01T14:07:12.053" LastActivityDate="2021-03-01T14:07:12.053" Title="Capture Session Timeout Event in Sitecore Marketing Automation" Tags="|marketing-automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22297" PostTypeId="1" AcceptedAnswerId="22299" CreationDate="2019-09-27T17:29:50.253" Score="4" ViewCount="441" Body="&lt;p&gt;I am running Sitecore with docker containers and all services are up and running via docker-compose. This project uses TDS. Now I need to expose the CM's website root folder from the running container to my host, so I can configure the TDS projects in VS. But many files are not created when I add the following volume to CM service making CM to stop working.&#xA;- .\cmwebsite:C:\Sitecore\website&lt;/p&gt;&#xA;&#xA;&lt;p&gt;CM docker file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;# escape=`&#xA;ARG BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803&#xA;&#xA;FROM $BASE_IMAGE&#xA;&#xA;SHELL [&quot;powershell&quot;, &quot;-Command&quot;, &quot;$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';&quot;]&#xA;&#xA;COPY .\*.zip .&#xA;&#xA;RUN Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `&#xA;    Remove-Item 'C:\Sitecore*.zip' -Force; `&#xA;    New-Item -Path 'C:\Sitecore' -Type Directory | Out-Null; `&#xA;    Move-Item -Path 'C:\Sitecore *\Data' -Destination 'C:\Sitecore'; `&#xA;    Move-Item -Path 'C:\Sitecore *\Website' -Destination 'C:\Sitecore'; `&#xA;    Remove-Item -Path 'C:\Sitecore\Data\logs' -Recurse -Force; `&#xA;    Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;&#xA;&#xA;COPY Sitecore /Sitecore&#xA;COPY license.xml /Sitecore/Data&#xA;&#xA;RUN Import-Module WebAdministration; `&#xA;    Set-ItemProperty -Path 'IIS:\Sites\Default Web Site' -Name 'physicalPath' -Value 'C:\Sitecore\Website'; `&#xA;    Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name 'enable32BitAppOnWin64' -Value 'True'; `&#xA;    Set-Itemproperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `&#xA;    setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts');&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;And here is docker-compose.yml&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;version: '2.4'&#xA;&#xA;services:&#xA;&#xA;  sql:&#xA;    image: sitecore-sqldev&#xA;    volumes:&#xA;      - .\sovereign\sitecore-sqldev\dbs:C:\Data&#xA;    mem_limit: 2GB&#xA;    ports:&#xA;      - &quot;44010:1433&quot;&#xA;&#xA;  solr:&#xA;    image: solr:4.10&#xA;    ports: &#xA;      - &quot;8990:8983&quot;&#xA;&#xA;  cm:&#xA;    image: sitecore-cm:8.1.160519-windowsservercore-1803&#xA;    volumes:&#xA;      - .\cmwebsite:C:\Sitecore\website&#xA;      -  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Remote Debugger:C:\remote_debugger:ro&#xA;      - .\data\cm:C:\Sitecore\Data\logs&#xA;      - .\src:c:\inetpub\wwwroot&#xA;    ports:&#xA;      - &quot;44001:80&quot;&#xA;    links:&#xA;      - sql&#xA;      - solr&#xA;    entrypoint: cmd /c &quot;start /B powershell C:/sitecore/scripts/Watch-Directory.ps1 C:/inetpub/wwwroot C:\Sitecore\website &amp;amp; C:\\remote_debugger\\x64\\msvsmon.exe /noauth /anyuser /silent /nostatus /noclrwarn /nosecuritywarn /nofirewallwarn /nowowwarn /timeout:2147483646&quot;&#xA;&#xA;  cd:&#xA;    image: sitecore-cd:8.1.160519-windowsservercore-1803&#xA;    volumes:&#xA;      -  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Remote Debugger:C:\remote_debugger:ro&#xA;      - .\data\cd:C:\Sitecore\Data\logs&#xA;      - .\src:c:\inetpub\wwwroot&#xA;    ports:&#xA;      - &quot;44002:80&quot;&#xA;    links:&#xA;      - sql&#xA;      - solr&#xA;    entrypoint: cmd /c &quot;start /B powershell C:/sitecore/scripts/Watch-Directory.ps1 C:/inetpub/wwwroot C:\Sitecore\website &amp;amp; C:\\remote_debugger\\x64\\msvsmon.exe /noauth /anyuser /silent /nostatus /noclrwarn /nosecuritywarn /nofirewallwarn /nowowwarn /timeout:2147483646&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Am I missing something?&#xA;Thanks.&lt;/p&gt;&#xA;" OwnerUserId="4279" LastActivityDate="2019-09-27T19:49:47.280" Title="Sitecore with Docker and TDS" Tags="|docker|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22298" PostTypeId="2" ParentId="22289" CreationDate="2019-09-27T18:58:40.073" Score="0" Body="&lt;p&gt;According to the naming rules for Azure Search for field names-&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The first character must be a letter.&lt;/li&gt;&#xA;&lt;li&gt;Field name cannot begin with &quot;azureSearch&quot;.&lt;/li&gt;&#xA;&lt;li&gt;Allowable characters for field names are letters, numbers &amp;amp; underscores(&quot;_&quot;).&lt;/li&gt;&#xA;&lt;li&gt;Field name length must be 1 to 128 characters.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Source - &lt;a href=&quot;https://docs.microsoft.com/en-us/rest/api/searchservice/naming-rules&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.microsoft.com/en-us/rest/api/searchservice/naming-rules&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-09-27T18:58:40.073" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22299" PostTypeId="2" ParentId="22297" CreationDate="2019-09-27T19:49:47.280" Score="7" Body="&lt;p&gt;You cannot mount a volume to an existing directory inside your container on &lt;em&gt;Windows Docker&lt;/em&gt;. You need to map up a new directory and then use some means of moving the files to the destination you ultimately want.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is what &lt;code&gt;Watch-Directory&lt;/code&gt; takes care of in your &lt;code&gt;entrypoint:&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Source: &lt;a href=&quot;https://github.com/docker/for-win/issues/644&quot; rel=&quot;noreferrer&quot;&gt;can not mount volume if the directory in container is not empty&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the record; you &lt;em&gt;can&lt;/em&gt; do this when Docker is in Linux mode. Just not in Windows mode.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-09-27T19:49:47.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22300" PostTypeId="2" ParentId="22273" CreationDate="2019-09-27T23:53:45.313" Score="1" Body="&lt;h2&gt;Things to try&lt;/h2&gt;&#xA;&#xA;&lt;h3&gt;App pool user&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Did you change your app pool identity? If so, you need to give your app pool user access to the xconnect certificate. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/D3VLb.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/D3VLb.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Thumb print difference&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;In your Sitecore website connectionstrings.config, note the &lt;code&gt;xconnect.collection.certificate&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add name=&quot;xconnect.collection.certificate&quot; connectionString=&quot;StoreName=My;StoreLocation=LocalMachine;FindType=FindByThumbprint;FindValue=DC7E10DC79E4BA82B5464BA6D56EED3F11CE7692&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In your xConnect /App_Config/AppSettings.config compare the thumbprint&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;add key=&quot;validateCertificateThumbprint&quot; value=&quot;DC7E10DC79E4BA82B5464BA6D56EED3F11CE7692&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;SSL issue&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;Open you xConnect site in a browser. Does it produce an SSL cert issue? (I.e. open &lt;a href=&quot;https://sc910.xconnect/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sc910.xconnect/&lt;/a&gt;). You should see a date time format number and no ssl issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/H8xNm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/H8xNm.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also see this thread: &lt;a href=&quot;https://sitecore.stackexchange.com/questions/8561/xconnect-the-http-response-was-not-successful-unauthorized&quot;&gt;xConnect The HTTP response was not successful: Unauthorized&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-09-27T23:53:45.313" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22301" PostTypeId="2" ParentId="22294" CreationDate="2019-09-28T05:39:14.457" Score="2" Body="&lt;p&gt;You can configure and manage websites for different purposes and different domains by adding them to the &lt;code&gt;site&lt;/code&gt; definition node in the &lt;code&gt;Sitecore.config&lt;/code&gt; file. All you need to add a &lt;a href=&quot;https://doc.sitecore.com/developers/81/sitecore-experience-platform/en/using-patch-files-to-customize-the-sitecore-configuration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;patch file&lt;/a&gt; containing the new site definition. If you have already a patch you can update it as well. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;From your question it seems, everything is configured properly on CM and you just need to add separate URL for your CD website which will not contain the language in URL. For this, you need to add a new site for your CD role with a separate &lt;code&gt;hostname&lt;/code&gt; and &lt;code&gt;languageEmbedding&lt;/code&gt; option as &lt;code&gt;never&lt;/code&gt;-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;sites&amp;gt;&#xA;   &amp;lt;site name=&quot;currentSiteName&quot; ...... /&amp;gt;&#xA;   &amp;lt;!-- add new site which will inherits the current site and just override the hostName and lanagueEmbedding with role conten delivery--&amp;gt;&#xA;   &amp;lt;site name=&quot;newSiteName&quot; inherits=&quot;currentSiteName&quot; hostName=&quot;cdhostname.co.in&quot; languageEmbedding=&quot;never&quot; role:require=&quot;ContentDelivery&quot;/&amp;gt;&#xA; &amp;lt;/sites&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: I noticed you are using Sitecore 8.2, so the &lt;strong&gt;role-based configuration will not work&lt;/strong&gt; for you, you need this config as a separate config for the CD environment. one option is to manage this in the deploy pipeline.&lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-09-30T07:35:36.247" LastActivityDate="2019-09-30T07:35:36.247" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22303" PostTypeId="1" CreationDate="2019-09-28T09:25:42.490" Score="5" ViewCount="128" Body="&lt;p&gt;Architecture Question&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not sure if it’s been asked before, I couldn’t find something similar what I have described below. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Well my question is during a multi country brand roll-out what is the best architectural recommendation to manage sites:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1)  &lt;strong&gt;Creating each site as a separate node, where each node corresponds to a country&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;If each country site has a lot of similarities with en-US site, what would be the ideal way to create a country site by Copying or Cloning?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/4DCo8.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/4DCo8.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;2)  &lt;strong&gt;Creating a market site as a subfolder under Parent brand site.&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Would this approach be Helix Complaint or can it be made?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JbN3V.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JbN3V.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="3234" LastEditorUserId="3234" LastEditDate="2019-09-28T19:07:16.320" LastActivityDate="2019-09-29T11:28:47.847" Title="Architectural recommendation to manage site during multi-country rollout" Tags="|solution-architecture|" AnswerCount="1" CommentCount="3" ClosedDate="2019-09-29T14:55:05.637" ContentLicense="CC BY-SA 4.0" />
  <row Id="22304" PostTypeId="2" ParentId="22279" CreationDate="2019-09-28T14:46:20.187" Score="3" Body="&lt;h2&gt;Sitecore 9.x&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;When you call the API, you must remember to include security so that the cookies go with the request. Mainly the analytics cookie. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the code below the &lt;code&gt;GetPageForApi()&lt;/code&gt;, if requested, will get the page before the Api call. This is since the API is a page request. Without using previous page, the goal would be on the API call itself.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The Api&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[HttpGet]&#xA;[SkipAnalyticsTrackingApi]&#xA;public ActionResult TriggerIAmWithoutEmailGoal()&#xA;{&#xA;    var response = new BaseResponseDTO&amp;lt;TriggerGoalResponseModel&amp;gt;();&#xA;    try&#xA;    {&#xA;        this.eventRepository.TriggerGoalOnce(PageContent.Constants.Goals.IamWithoutEmail, true);&#xA;&#xA;        response.Data = new TriggerGoalResponseModel()&#xA;        {&#xA;            Result = true,&#xA;        };&#xA;&#xA;        return new JsonNet(response);&#xA;    }&#xA;    catch (System.Exception ex)&#xA;    {&#xA;        // log your error&#xA;&#xA;        response.Error = ex.Message;&#xA;        return new JsonNet(response);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The attribute&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SkipAnalyticsTrackingApiAttribute : ActionFilterAttribute&#xA;{&#xA;    public override void OnActionExecuting(ActionExecutingContext filterContext)&#xA;    {&#xA;        Tracker.Current?.CurrentPage?.Cancel();&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;The repo&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;private readonly IDefinitionManager&amp;lt;IGoalDefinition&amp;gt; goalDefinitionManager;&#xA;&#xA;// The goalDefinitionManager is injected by DI&#xA;public EventRepository(IDefinitionManager&amp;lt;IGoalDefinition&amp;gt; goalDefinitionManager)&#xA;{&#xA;    this.goalDefinitionManager = goalDefinitionManager;&#xA;}&#xA;&#xA;public void TriggerGoal(ID goalId, bool fromApi = false, int engagementValue = 0)&#xA;{&#xA;    var goalDefinition = this.goalDefinitionManager.Get(goalId.Guid, CultureInfo.InvariantCulture);&#xA;    if (goalDefinition == null)&#xA;    {&#xA;        Log.Warn($&quot;Cannot find goal: {goalId}&quot;, this);&#xA;        return;&#xA;    }&#xA;&#xA;    Log.Info($&quot;Goal Triggered: Contact: {Tracker.Current.Contact.ContactId} : {goalId}&quot;, this);&#xA;&#xA;    var page = fromApi ? GetPageForApi() : Tracker.Current.CurrentPage;&#xA;&#xA;    page.RegisterGoal(goalDefinition);&#xA;}&#xA;&#xA;public void TriggerGoalOnce(ID goalId,bool fromApi = false)&#xA;{&#xA;    if (IfGoalAlreadyExists(goalId)) return;&#xA;&#xA;    TriggerGoal(goalId, fromApi);&#xA;}&#xA;&#xA;public bool IfGoalAlreadyExists(ID goalId)&#xA;{&#xA;    if (Tracker.Current?.Session == null) return false;&#xA;&#xA;    var goalsTriggered = Tracker.Current?.Session?.Interaction?.Pages?.SelectMany(x =&amp;gt; x.PageEvents).Where(x =&amp;gt; x.IsGoal).ToList();&#xA;&#xA;    var behaviorCache = Tracker.Current.Session.Contact.KeyBehaviorCache.Goals.Any(x =&amp;gt; x.Id == goalId.ToGuid());&#xA;    var pages = goalsTriggered?.Any(x =&amp;gt; x.PageEventDefinitionId == goalId.ToGuid()) ?? false;&#xA;&#xA;    return behaviorCache || pages;&#xA;}&#xA;&#xA;private IPageContext GetPageForApi()&#xA;{&#xA;    if (Tracker.Current.Session.Interaction.PreviousPage == null)&#xA;        return Tracker.Current.CurrentPage;&#xA;&#xA;    return Tracker.Current.Session.Interaction.PreviousPage;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2&gt;Sitecore 8.2&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The API and Attribute are the same as above. But the way to trigger the goal is on the tracker in 8.2.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;The repo&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void TriggerGoal(ID goalPath, bool fromApi = false)&#xA;{&#xA;    if (Tracker.IsActive &amp;amp;&amp;amp; Tracker.Current?.CurrentPage != null)&#xA;    {&#xA;        // Trigger a goal&#xA;        var goalItem = Sitecore.Context.Database.GetItem(goalPath); // Goal item&#xA;&#xA;        if (goalItem != null)&#xA;        {&#xA;            var goal = new PageEventItem(goalItem); // Wrapper for goal&#xA;            var page = fromApi ? Tracker.Current.Session.Interaction.PreviousPage : Tracker.Current.CurrentPage;&#xA;&#xA;            if (page == null)&#xA;            {&#xA;                errorService.LogError(new Exception($&quot;Page is null. Cannnot fire goal. Goal ID {goalPath.Guid}, fromApi = {fromApi}&quot;), this);&#xA;                return;&#xA;            }&#xA;&#xA;&#xA;            var pageEventsRow = page.Register(goal); // Goal rtecord to be stored&#xA;            pageEventsRow.Data = goalItem[&quot;Description&quot;];&#xA;            Tracker.Current.Interaction.AcceptModifications();&#xA;            Log.Info($&quot;Goal Triggered: Contact: {Tracker.Current.Contact.ContactId} : {goalPath} / {goalItem.Name}&quot;, this);&#xA;            return;&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;public void TriggerGoalOnce(ID goalId, bool fromApi)&#xA;{&#xA;    if (IfGoalAlreadyExists(goalId)) return;&#xA;&#xA;    TriggerGoal(goalId, fromApi);&#xA;}&#xA;&#xA;public bool IfGoalAlreadyExists(ID goalId)&#xA;{&#xA;    var goalsTriggered = Tracker.Current.Session.Interaction.Pages.SelectMany(x =&amp;gt; x.PageEvents).Where(x =&amp;gt; x.IsGoal).ToList();&#xA;    return goalsTriggered.Any(x =&amp;gt; x.PageEventDefinitionId == goalId.ToGuid());&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-09-28T14:46:20.187" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22305" PostTypeId="1" AcceptedAnswerId="22307" CreationDate="2019-09-28T18:47:14.373" Score="1" ViewCount="680" Body="&lt;p&gt;I want to add &quot;active&quot; class for the selected menu item in Sitecore. I tried to add class by using jquery but whenever we click on menu the particular page is opening and that menu is loading again. So class is getting added and removed immediately. Is there any way to add class for selected menu in the code behind ?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My Aspx page code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;asp:Repeater ID=&quot;rpNav&quot; ItemType=&quot;Sitecore.Data.Items.Item&quot; runat=&quot;server&quot;&amp;gt;&#xA;    &amp;lt;HeaderTemplate&amp;gt;&#xA;        &amp;lt;ul class=&quot;menu&quot;&amp;gt;&#xA;    &amp;lt;/HeaderTemplate&amp;gt;&#xA;    &amp;lt;ItemTemplate&amp;gt;&#xA;        &amp;lt;li&amp;gt;&#xA;         &amp;lt;asp:HyperLink Id=&quot;HyperLink1&quot; Text=&amp;lt;%#: Item.DisplayName %&amp;gt; &#xA;          NavigateUrl=&amp;lt;%#: Sitecore.Links.LinkManager.GetItemUrl(Item,new Sitecore.Links.UrlOptions{UseDisplayName=true})%&amp;gt; runat=&quot;server&quot;  /&amp;gt;&#xA;&#xA;        &amp;lt;/li&amp;gt;&#xA;   &amp;lt;/ItemTemplate&amp;gt;&#xA;    &amp;lt;FooterTemplate&amp;gt;&#xA;        &amp;lt;/ul&amp;gt;&#xA;    &amp;lt;/FooterTemplate&amp;gt;&#xA;&amp;lt;/asp:Repeater&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My Back-end code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected void Page_Load(object sender, EventArgs e)&#xA;    {&#xA;        Item home = Sitecore.Context.Database.GetItem(&quot;/sitecore/content/Home&quot;);&#xA;        Item[] children = home.Children.ToArray();&#xA;        rpNav.DataSource = children;&#xA;        rpNav.DataBind();&#xA;    } &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2144" LastEditorUserId="135" LastEditDate="2019-09-28T22:11:25.250" LastActivityDate="2019-09-28T22:11:25.250" Title="How to add a css class dynamically for selected menu item?" Tags="|sitecore-api|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22306" PostTypeId="2" ParentId="22289" CreationDate="2019-09-28T18:58:30.170" Score="0" Body="&lt;p&gt;So as I wrote under findings it helped to add the fieldmap, update the computedindex section and finally added a cloudTypeMapper section. I never got the content into the built-in &quot;_content&quot; field, so if anyone can post an answer where that works I am willing to mark that as the solution.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Otherwise, this is the configuration that made the &quot;renderedcontent&quot; field work for me in Azure: (Azure.DefaultConfiguration)&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;  &amp;lt;sitecore role:require=&quot;Standalone or ContentDelivery or ContentManagement&quot; search:require=&quot;azure&quot;&amp;gt;&#xA;    &amp;lt;contentSearch&amp;gt;&#xA;      &amp;lt;indexConfigurations&amp;gt;&#xA;        &amp;lt;searchCloudIndexConfiguration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot;&amp;gt;&#xA;          &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;            &amp;lt;!-- This setting allows you to map a field name in Sitecore to the index and store it in the appropriate way.&#xA;               fieldName:   The name of the field in the index.&#xA;               retrievable: means that field value shows up in search results list&#xA;               searchable:  means that a field is included in full text search.&#xA;               filterable:  whether a field can be used in a filter navigation structure&#xA;               facetable:   whether a field can be used in a facet navigation structure&#xA;               sortable:    whether a field can be used in a sort navigation structure&#xA;               boost:       The boost factor globally indicates the relative importance of this field at index and query time.&#xA;               type:        The type to cast the value back to in the API.&#xA;               settingType: The class implementation to store the information specified in all other fields.&#xA;            --&amp;gt;&#xA;            &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;renderedcontent&quot; cloudFieldName=&quot;renderedcontent&quot; searchable=&quot;YES&quot; retrievable=&quot;YES&quot; facetable=&quot;YES&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot;&#xA;              boost=&quot;1f&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;            &amp;lt;/fieldNames&amp;gt;&#xA;          &amp;lt;/fieldMap&amp;gt;&#xA;          &amp;lt;documentOptions type=&quot;Sitecore.ContentSearch.DocumentBuilderOptions, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;&#xA;            &amp;lt;!-- Excluded templates --&amp;gt;&#xA;            &amp;lt;exclude hint=&quot;list:AddExcludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;BucketFolderTemplateId&amp;gt;{ADB6CA4F-03EF-4F47-B9AC-9CE2BA53FF97}&amp;lt;/BucketFolderTemplateId&amp;gt;&#xA;            &amp;lt;/exclude&amp;gt;&#xA;&#xA;            &amp;lt;!-- Included templates --&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;              &amp;lt;Frontpage&amp;gt;{CC8444F9-EF2D-43BC-9E08-84446CF253FB}&amp;lt;/Frontpage&amp;gt;&#xA;              &amp;lt;StandardPage&amp;gt;{69E35420-AF97-40FC-AC84-E2F4AE256BEB}&amp;lt;/StandardPage&amp;gt;&#xA;              &amp;lt;NewsArticlePage&amp;gt;{EFB6DB4E-4A31-413F-AD26-E808A52ED0EF}&amp;lt;/NewsArticlePage&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;&#xA;            &amp;lt;!-- GLOBALLY INCLUDE FIELDS IN INDEX&#xA;                 This setting allows you to specify which fields to include in the index when the indexAllFields setting is set to false.&#xA;            --&amp;gt;&#xA;            &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;              &amp;lt;__Boost&amp;gt;{93D1B217-B8F4-462E-BABF-68298C9CE667}&amp;lt;/__Boost&amp;gt;&#xA;              &amp;lt;__Created_By&amp;gt;{5DD74568-4D4B-44C1-B513-0AF5F4CDA34F}&amp;lt;/__Created_By&amp;gt;&#xA;              &amp;lt;Date_Range&amp;gt;{7146F1A4-45FB-4CEC-9855-C95E9E595827}&amp;lt;/Date_Range&amp;gt;&#xA;              &amp;lt;ID&amp;gt;{5A531AF0-C44C-4141-A0D3-09C5CDC3D654}&amp;lt;/ID&amp;gt;&#xA;              &amp;lt;Image_Dimensions&amp;gt;{05EF282C-54DE-49B5-9EF3-0EB3008080C6}&amp;lt;/Image_Dimensions&amp;gt;&#xA;              &amp;lt;Language&amp;gt;{BC06ED64-C4A1-4EE2-9835-541E1CC4CCC9}&amp;lt;/Language&amp;gt;&#xA;              &amp;lt;Parent_ID&amp;gt;{1F4412CC-609C-4D3C-AF8C-D5C849202916}&amp;lt;/Parent_ID&amp;gt;&#xA;              &amp;lt;Text&amp;gt;{A60ACD61-A6DB-4182-8329-C957982CEC74}&amp;lt;/Text&amp;gt;&#xA;              &amp;lt;Title&amp;gt;{75577384-3C97-45DA-A847-81B00500E250}&amp;lt;/Title&amp;gt;&#xA;              &amp;lt;Search_Types_Text&amp;gt;{E600C190-3F61-4776-B2F5-03AD7AEB351C}&amp;lt;/Search_Types_Text&amp;gt;&#xA;              &amp;lt;Updated_Date&amp;gt;{87A830FB-4E2F-4F76-896B-F20CFA2374DD}&amp;lt;/Updated_Date&amp;gt;&#xA;              &amp;lt;Workflow_State&amp;gt;{49D86313-493D-4054-ACC9-D68AD6B09332}&amp;lt;/Workflow_State&amp;gt;&#xA;            &amp;lt;/include&amp;gt;&#xA;            &amp;lt;!-- COMPUTED INDEX FIELDS&#xA;               This setting allows you to add fields to the index that contain values that are computed for the item that is being indexed.&#xA;               You can specify the storageType and indextype for each computed index field in the &amp;lt;fieldMap&amp;gt;&amp;lt;fieldNames&amp;gt; section.&#xA;            --&amp;gt;&#xA;            &amp;lt;fields hint=&quot;raw:AddComputedIndexField&quot;&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;site&quot;                           &amp;gt;Sitecore.ContentSearch.ComputedFields.Site,Sitecore.ContentSearch&amp;lt;/field&amp;gt;&#xA;              &amp;lt;!-- indexes subcontent contents into parent's _content field in the index (for better site search) --&amp;gt;&#xA;              &amp;lt;field fieldName=&quot;renderedcontent&quot; type=&quot;CUSTOMER.Feature.Search.SubContentField,CUSTOMER.Feature.Search&quot; /&amp;gt;&#xA;            &amp;lt;/fields&amp;gt;&#xA;          &amp;lt;/documentOptions&amp;gt;&#xA;          &amp;lt;cloudTypeMapper ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/cloudTypeMapper&quot;&amp;gt;&#xA;            &amp;lt;maps hint=&quot;raw:AddMap&quot;&amp;gt;&#xA;              &amp;lt;map type=&quot;CUSTOMER.Feature.Search.SubContentField,CUSTOMER.Feature.Search&quot;  cloudType=&quot;Edm.String&quot; /&amp;gt;&#xA;            &amp;lt;/maps&amp;gt;&#xA;          &amp;lt;/cloudTypeMapper&amp;gt;&#xA;        &amp;lt;/searchCloudIndexConfiguration&amp;gt;&#xA;      &amp;lt;/indexConfigurations&amp;gt;&#xA;    &amp;lt;/contentSearch&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3416" LastActivityDate="2019-09-28T18:58:30.170" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22307" PostTypeId="2" ParentId="22305" CreationDate="2019-09-28T20:53:28.810" Score="1" Body="&lt;p&gt;You can add a conditional statement for &lt;code&gt;li&lt;/code&gt; to add active class on it&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;li class='&amp;lt;%= Sitecore.Context.Item.ID.ToString() == Eval(&quot;ID&quot;).ToString() ? &quot;active&quot; : &quot;&quot; %&amp;gt;'&amp;gt; {Add code to render link} &amp;lt;/li&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-09-28T20:53:28.810" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22308" PostTypeId="1" AcceptedAnswerId="22309" CreationDate="2019-09-29T04:23:45.287" Score="0" ViewCount="283" Body="&lt;p&gt;We're planning Sitecore upgrade from 8.2 to 9.2 Azure PaaS using Sitecore Experience Cloud( XPScaled ) marketplace module. We'll be having 3 sites and due to business constraint, we can't proceed with multi-site feature because PROD deployment to any one site will impact other ones. So, the plan is one CM ( 3 publishing target for each site ) and 3 individual site specific CD. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Few queries&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Should we separate each website code/assets by folder in VS solution OR&#xA;create a completely separate VS solution for each website?&lt;/li&gt;&#xA;&lt;li&gt;Is there any Sitecore feature which won't be available with this set up?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1349" LastEditorUserId="605" LastEditDate="2019-09-29T09:34:34.247" LastActivityDate="2019-09-30T18:29:06.167" Title="Sitecore 9.2 multi instance( not multi-site ) set up on Azure PaaS" Tags="|upgrade|paas|solution-architecture|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22309" PostTypeId="2" ParentId="22308" CreationDate="2019-09-29T07:58:27.500" Score="1" Body="&lt;blockquote&gt;&#xA;  &lt;p&gt;Should we separate each website code/assets by folder in VS solution OR create a completely separate VS solution for each website&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;It all depend on how much alike your 3 different sites are and how it is implemented. You can use a single Visual Studio Solution for all 3 sites but you need to bear in mind the development as it will affect each site. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;For example, each site has a Top Banner component but they behave differently. So, you would need to implement the Top Banner in a way that it is shared across all 3 sites and the functionality should follow your requirement of each site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Advantages&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No duplication of code.&lt;/li&gt;&#xA;&lt;li&gt;Reduce time to implementation&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Drawbacks&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Increase testing time.&lt;/li&gt;&#xA;&lt;li&gt;Development brainstorming is required.&lt;/li&gt;&#xA;&lt;li&gt;Difficult to manage.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;If you have different Visual Studio Solution for each site, you can still have 1 Sitecore Instance with multiple targets to hold those sites. When deploying to the CM Instance, it will impact all sites but you'll be able to deploy to CD Instance without affecting other sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Advantages&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Easy to manage the code as it will be different solution for each site.&lt;/li&gt;&#xA;&lt;li&gt;No impact on live site because each site will be hosted on different CD Servers.&lt;/li&gt;&#xA;&lt;li&gt;Different team can work on different site.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Drawbacks&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Impact on CM Instance for all 3 sites.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;When implementing a &lt;code&gt;Custom Sitecore Processor / Pipeline&lt;/code&gt;, this may impact the site. Example, Site A requires a Rewrite Rule Feature while other sites doesn't. When you have deployed to CM, the rewrite rule processor will affect all sites.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;You will need to have a proper deployment setup because each CD Instance will have different configs and code.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Developers should be aware of all the requirements, processors and pipelines of the sites in order not to cause regression when updating/implementing new capabilities.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Is there any Sitecore feature which won't be available with this set up&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;No. All Sitecore features will still be available as each CD Instance will have their own set configuration files and code. So, you can easily disable xDB for example on Site A and still works on the other 2 sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore xDB should still work. However, since you have different sites, in order for the xDB not to grow in size rapidly, you can use different connection string for the xDB.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, for example, Site A will point to MongoDB Instance 1, Site B will point to MongoDB Instance 2.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In brief, it is up to the configuration that you are applying. For the CD Instances, you won't have any impact in terms of the features because each CD Instance will have their own set of configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, if you have shared components, it is based on the development itself that is it should be implemented in a way that it caters for all the different sites. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Shared contents is also available. It is up to your content tree structure. In my opinion and experience, shared contents tend to be a repository which is at the root, that is, should be on the same content tree level as the sites. This make the shared contents easily accessible from the different sites.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;HELIX PRINCIPLE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you use the Helix Principle, you will mainly have a single Visual Studio Solution and then you can create you different Features. Code that will be shared can be abstracted into the Foundation Layer. With Helix Principle, it will allow you to decouple the features and it is easy to maintain. More information is available at &lt;a href=&quot;https://helix.sitecore.net/principles/architecture-principles/index.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Helix Principle&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-09-30T18:29:06.167" LastActivityDate="2019-09-30T18:29:06.167" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="22310" PostTypeId="2" ParentId="22303" CreationDate="2019-09-29T11:28:47.847" Score="0" Body="&lt;p&gt;Since you are seeking an opinion, opinions can differ based on your detailed requirements. If there is just one brand and you want to rollout in multiple countries, I would say&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SCHQC.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SCHQC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if there could be multiple brands as well then I would say, go with multi tenancy(country wise)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/lj2a1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lj2a1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for Helix principals, you should be able to create multiple modules that are shared among different countries. However, you will have challenges with thems and frontend stuff if you want to use different themes and FE stuff. Well, we achieved this with another approach that might violate helix. We actually created a theme module for each country. That theme module contains themes and FE stuff for that country. Within this module, we created folder structure to represent different features.&lt;/p&gt;&#xA;" OwnerUserId="1050" LastActivityDate="2019-09-29T11:28:47.847" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22311" PostTypeId="1" CreationDate="2019-09-29T18:11:25.213" Score="3" ViewCount="1262" Body="&lt;p&gt;We have configured the Azure CDN for Sitecore Web Apps website, everything is working fine except the Fonts rendering from CDN, and we are getting below error:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/FR3CB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/FR3CB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion?&lt;/p&gt;&#xA;" OwnerUserId="690" LastActivityDate="2019-10-02T16:54:39.777" Title="CORS Error while downloading the fonts from the Azure CDN using Sitecore PaaS" Tags="|azure|paas|cdn|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22312" PostTypeId="1" CreationDate="2019-09-30T04:19:56.457" Score="0" ViewCount="629" Body="&lt;p&gt;Business Tools is not loading and getting these errors in the console:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HPT1B.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HPT1B.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;bizfx.sc910.qa/:1 Access to XMLHttpRequest at&#xA;  '&lt;a href=&quot;https://commerceauthoring.sc910.qa/api/GetNavigationView()&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://commerceauthoring.sc910.qa/api/GetNavigationView()&lt;/a&gt;' from&#xA;  origin '&lt;a href=&quot;https://bizfx.sc910.qa&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://bizfx.sc910.qa&lt;/a&gt;' has been blocked by CORS policy:&#xA;  Response to preflight request doesn't pass access control check: No&#xA;  'Access-Control-Allow-Origin' header is present on the requested&#xA;  resource. main.5586ec01dfda60eddd87.bundle.js:1 Http failure response&#xA;  for (unknown url): 0 Unknown Error n.handleError @&#xA;  main.5586ec01dfda60eddd87.bundle.js:1&#xA;  vendor.7eaf8fb3759d3e45cc81.bundle.js:1 ERROR Error: Uncaught (in&#xA;  promise): Http failure response for (unknown url): 0 Unknown Error&#xA;      at new V (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at N (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at N (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at polyfills.9d27157941ed2fdedcdc.bundle.js:1&#xA;      at t.invokeTask (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at Object.onInvokeTask (vendor.7eaf8fb3759d3e45cc81.bundle.js:1)&#xA;      at t.invokeTask (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at n.runTask (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at _ (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&#xA;      at XMLHttpRequest.invoke (polyfills.9d27157941ed2fdedcdc.bundle.js:1)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Using &lt;code&gt;Sitecore Experience Commerce 9.1&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="4872" LastEditorUserId="2056" LastEditDate="2019-09-30T07:34:34.997" LastActivityDate="2019-09-30T07:34:34.997" Title="CORS error when loading Business Tools" Tags="|sitecore-commerce|" AnswerCount="0" CommentCount="2" ClosedDate="2019-09-30T09:41:21.280" ContentLicense="CC BY-SA 4.0" />
  <row Id="22313" PostTypeId="2" ParentId="22311" CreationDate="2019-09-30T06:11:15.887" Score="3" Body="&lt;p&gt;To resolve the CORS CDN error , You would need to create a pipeline which adds the below request headers.This pipeline was written for Cloudfront on Amazon AWS instance , but the underlying logic is to add the Access-Control-Allow-Origin headers to Sitecore requests.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class CDNResponseHeaders : HttpRequestProcessor&#xA;    {&#xA;        public override void Process(HttpRequestArgs args)&#xA;        {&#xA;            try&#xA;            {&#xA;                this.Execute(args.HttpContext.Response, args.HttpContext.Request);&#xA;            }&#xA;            catch (Exception e)&#xA;            {&#xA;                CustomLogger.LogError(&quot;An error occured processing the response headers.&quot;, e);&#xA;            }&#xA;        }&#xA;&#xA;        public void Execute(HttpResponseBase response, HttpRequestBase request)&#xA;        {&#xA;            var dbContext = Sitecore.Context.Database;&#xA;            if (dbContext != null)&#xA;            {&#xA;                var configItem = dbContext.GetItem(Constants.CdnConfigurationMap);               &#xA;                var corsList = new List&amp;lt;string&amp;gt;();                &#xA;                if (configItem != null)&#xA;                {&#xA;                    if (!String.IsNullOrEmpty(configItem.Fields[&quot;Data&quot;].Value))&#xA;                    {&#xA;                        corsList = JsonConvert.DeserializeObject&amp;lt;List&amp;lt;string&amp;gt;&amp;gt;(configItem.Fields[&quot;Data&quot;].Value);&#xA;                        if (corsList != null)&#xA;                        {&#xA;                            var clientOrigin = request.Headers.GetValues(&quot;Origin&quot;) ?? request.Headers.GetValues(&quot;origin&quot;);&#xA;                            if (clientOrigin != null)&#xA;                            {&#xA;                                string origin = clientOrigin[0];&#xA;                                CustomLogger.Info(&quot;Print Origin Value &quot; + origin);&#xA;&#xA;                                int myIndex = corsList.IndexOf(origin);&#xA;                                if (myIndex != -1)&#xA;                                {&#xA;                                    CustomLogger.Info(&quot;Request Origin Found add the CORS Header...&quot; + clientOrigin);                                    &#xA;                                    //response.Headers.Add(&quot;Access-Control-Allow-Origin&quot;, origin);&#xA;                                    response.Headers.Add(&quot;Access-Control-Allow-Methods&quot;, &quot;API, CRUNCHIFYGET, GET, POST, PUT, UPDATE, OPTIONS&quot;);&#xA;                                    response.Headers.Add(&quot;Access-Control-Allow-Headers&quot;, &quot;Content-Type, Origin, accept, app_key, authorization&quot;);&#xA;                                    response.Headers.Add(&quot;Access-Control-Max-Age&quot;, &quot;86400&quot;);&#xA;                                }&#xA;                                else&#xA;                                {&#xA;                                    CustomLogger.Info(&quot;Request Origin Unknown unable to add the CORS Header...&quot;);&#xA;                                }&#xA;                            }&#xA;                        }&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;We also created a Sitecore Item which stores the domain names as Key/Value pairs for the whitelisting.&lt;/p&gt;&#xA;" OwnerUserId="106" LastEditorUserId="106" LastEditDate="2019-10-02T16:54:39.777" LastActivityDate="2019-10-02T16:54:39.777" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22314" PostTypeId="2" ParentId="13900" CreationDate="2019-09-30T07:35:54.100" Score="1" Body="&lt;p&gt;I had the same issue. Other fields like: &lt;code&gt;title&lt;/code&gt;, &lt;code&gt;site&lt;/code&gt;, or any custom computed field did work except &lt;code&gt;sxatags&lt;/code&gt;. It turned out I had to add the field to the &lt;code&gt;fieldNames&lt;/code&gt; node within my index configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;...&#xA;&amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration&quot;&amp;gt;&#xA;    &amp;lt;fieldMap ref=&quot;contentSearch/indexConfigurations/defaultSolrIndexConfiguration/fieldMap&quot;&amp;gt;&#xA;        &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;            &amp;lt;field fieldName=&quot;sxatags&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;        &amp;lt;/fieldNames&amp;gt;&#xA;    &amp;lt;/fieldMap&amp;gt;                                                 &#xA;&amp;lt;/configuration&amp;gt;&#xA;...&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&#xA;In my case it might be the result of indexing only the site home node and not including the templates.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;According to the &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/configure-sxa-indexing.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore documentation&lt;/a&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The default crawler path is &lt;code&gt;&amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&lt;/code&gt;. When you configure the item crawler paths in your custom indexes to use a different path than the default path (for example: &lt;code&gt;&amp;lt;Root&amp;gt;/sitecore/content/TenantA/SiteA/Home/NewFolder&amp;lt;/Root&amp;gt;&lt;/code&gt;), this has the following impact:&lt;/p&gt;&#xA;  &#xA;  &lt;ul&gt;&#xA;  &lt;li&gt;only items from that path are indexed&lt;/li&gt;&#xA;  &lt;li&gt;your custom index will not contain templates&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;  &#xA;  &lt;p&gt;Missing templates in the index may impact the fields types resolving logic. In some cases, the field type may not be found and this can generate issues while searching or filtering results. To resolve this, you must manually define all custom fields in the configuration files so that Sitecore knows what types they use (string, integer, text, and so on).&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="5867" LastEditorUserId="5867" LastEditDate="2019-10-30T15:19:16.117" LastActivityDate="2019-10-30T15:19:16.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22315" PostTypeId="1" AcceptedAnswerId="22317" CreationDate="2019-09-30T08:00:44.200" Score="1" ViewCount="383" Body="&lt;p&gt;I feel like I'm missing something obvious - but I want to use the Name Value List field type so the user can select from a list of values.  How/where do I create the dynamic values that would populate this list?   I just want a drop down list with 4 selectable text items in there.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I'm supposed to insert a content item of a particular type that has the dynamic values area - then what is the path to that template? Have tried searching for something but nothing relevant is coming up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Cbqlf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Cbqlf.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am using Sitecore 9.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I could use a custom template for each text value, and then use a drop list and point to a folder of these items but it seems a bit overkill when the custom template will have a single field that will drive other logic.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-09-30T08:17:42.807" LastActivityDate="2019-09-30T08:39:22.287" Title="How do I create datasource for field type Name Value List?" Tags="|templates|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22317" PostTypeId="2" ParentId="22315" CreationDate="2019-09-30T08:31:24.370" Score="2" Body="&lt;p&gt;You need to create an instance of your template and specify your Name Value pairs in that item. See the example below: &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example Template:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/BR6yv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/BR6yv.png&quot; alt=&quot;Example Template&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example Item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HmlzL.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HmlzL.png&quot; alt=&quot;Example item&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Alternatively depending on your requirements you could employ a custom field rather than Name Value List to specify the list of values that will rarely change in the template itself. I've done this before when creating a custom Day field and I have used the Source field to specify a pipe delimited list of days to appear in the list. There are many ways of doing this, you could roll your own or use an example such as the &lt;a href=&quot;https://sitecorehacker.com/modules/value-list-field/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Value List Field&lt;/a&gt; by Pete Navarra.&lt;/p&gt;&#xA;" OwnerUserId="5012" LastEditorUserId="5012" LastEditDate="2019-09-30T08:39:22.287" LastActivityDate="2019-09-30T08:39:22.287" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22318" PostTypeId="1" AcceptedAnswerId="22322" CreationDate="2019-09-30T09:54:54.450" Score="4" ViewCount="599" Body="&lt;p&gt;I am working on a Sitecore Managed Cloud project and for that, I want to patch &lt;strong&gt;AllowedCorsOrigins&lt;/strong&gt; node to add &lt;strong&gt;AllowedCorsOriginsGroup2&lt;/strong&gt; for adding custom domain of CM site in &lt;strong&gt;Identity Server&lt;/strong&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since this is a Sitecore Host application so patching should work as explained &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-manager/en/configuration.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I update file &lt;strong&gt;(root)\Config\production\Sitecore.IdentityServer.Host.xml&lt;/strong&gt; directly then everything is working fine as explained &lt;a href=&quot;https://sitecore.stackexchange.com/a/15529/1606&quot;&gt;here&lt;/a&gt; but patching is not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To patch that file I tried following -&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created a patch file as shown below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;Settings&amp;gt;&#xA;  &amp;lt;Sitecore&amp;gt;&#xA;    &amp;lt;IdentityServer&amp;gt;      &#xA;      &amp;lt;Clients&amp;gt;&#xA;        &amp;lt;DefaultClient&amp;gt;&#xA;          &amp;lt;AllowedCorsOrigins&amp;gt;&#xA;            &amp;lt;AllowedCorsOriginsGroup2&amp;gt;https://cm.mysite.com&amp;lt;/AllowedCorsOriginsGroup2&amp;gt;&#xA;          &amp;lt;/AllowedCorsOrigins&amp;gt;&#xA;        &amp;lt;/DefaultClient&amp;gt;&#xA;      &amp;lt;/Clients&amp;gt;&#xA;    &amp;lt;/IdentityServer&amp;gt;&#xA;  &amp;lt;/Sitecore&amp;gt;&#xA;&amp;lt;/Settings&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and kept it in this location - &lt;strong&gt;sitecoreruntime&lt;/strong&gt; &gt; &lt;strong&gt;production&lt;/strong&gt; &gt; &lt;strong&gt;Sitecore.IdentityServer.Host.xml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/E5UhD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/E5UhD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;but it's not working. I also tried keeping patch file to &lt;strong&gt;sitecoreruntime&lt;/strong&gt; &gt; &lt;strong&gt;config&lt;/strong&gt; &gt; &lt;strong&gt;production&lt;/strong&gt; &gt; &lt;strong&gt;Sitecore.IdentityServer.Host.xml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/h9Ytv.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/h9Ytv.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Tried renaming patch file too to z.Sitecore.IdentityServer.Host.xml but no luck. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After every change, I restarted app service. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore version - 9.1.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong? Is there any way to view the final/merged configuration of Sitecore Host application something similar to showconfig.aspx?&lt;/p&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-09-30T11:42:53.830" Title="Configuration patching not working in Identity Server" Tags="|identity-server|patch-configuration|sitecore-managed-cloud|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22319" PostTypeId="2" ParentId="18997" CreationDate="2019-09-30T10:05:12.660" Score="0" Body="&lt;p&gt;I did some investigation and found that in Experience Editor key property was missing from &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt; element. This element is for Experience Editor. I found that &quot;key&quot; attribute was missing from the element and if I am adding the key attribute on element it was working fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is post call happening which is going with some data when you are clicking on add to placeholder button and when I did check the value which was sending for that API call it was missing &quot;plaholderKey&quot; attribute and that was reason I was getting this error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;No having &quot;key&quot; attribute have many reasons like any of your JS code is removing it for some reason to make something in your front end and same JS you are using in Experience Editor so it is removing here also that should not happen. In that case you need to scan your JS code which is doing this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case I am using VueJs for front end development and VueJs also use key attribute on element for some other stuff to work. And that was reason &quot;key&quot; attrbute was missing from  element.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my case I added few code updates in my VueJs framework as per given in &lt;a href=&quot;https://sitecore.stackexchange.com/questions/18997/error-in-adding-rendering-from-experience-editor&quot;&gt;Error in adding rendering from experience editor&lt;/a&gt; post and it works for me.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This may help if you are also having the similar issue.&lt;/p&gt;&#xA;" OwnerUserId="361" LastActivityDate="2019-09-30T10:05:12.660" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22321" PostTypeId="1" CreationDate="2019-09-30T11:28:09.223" Score="1" ViewCount="743" Body="&lt;p&gt;I have an issue where the src attribute suddenly is missing from img tags when using the built in Responsive Image in SXA 1.9 on Sitecore 9.2. However the alt, srcset and sizes attribute works as expected.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Debugging the code shows the src attribute being added to the HtmlImage in CreateResponsiveImage in the RenderVariantField pipeline. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Creating a clone of the Pipeline allows me to add other attributes to the HtmlImage and they also get rendered without a problem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That makes me believe that there is something removing the src tag later on in the rendering of the page, but I can't figure out what. Any ideas?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edit:&lt;/strong&gt; Issue has been reproduced in a blank Sitecore environment.  It happens when a Responsive Image is added as a child to a Section in a Rendering Variant. Then the src attribute is missing. Pictured below is two responsive images, one of which is wrapped in a Section.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/nrCTx.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/nrCTx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5918" LastEditorUserId="5918" LastEditDate="2019-10-01T13:05:29.107" LastActivityDate="2020-01-09T12:52:23.620" Title="Image src attribute stripped from Responsive Image" Tags="|sxa|media-library|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22322" PostTypeId="2" ParentId="22318" CreationDate="2019-09-30T11:29:23.857" Score="3" Body="&lt;p&gt;Your patch file is at incorrect location, folder structure should be like - &#xA;&lt;a href=&quot;https://i.stack.imgur.com/lDbAI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lDbAI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;in your case error is here - &#xA;&lt;a href=&quot;https://i.stack.imgur.com/yTmUB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/yTmUB.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;put config folder inside your environment folder, such as &lt;strong&gt;sitecoreruntime &gt; production &gt; config &gt; Sitecore.IdentityServer.Host.xml&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/tn1mI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/tn1mI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-09-30T11:42:53.830" LastActivityDate="2019-09-30T11:42:53.830" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22324" PostTypeId="1" CreationDate="2019-09-30T13:40:31.650" Score="2" ViewCount="181" Body="&lt;p&gt;When trying to select a Media item for a field the Date Uploaded filter returns no results. This is in Sitecore 9.1.1.  Here are the steps to reproduce:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to a content item with an Image field&lt;/li&gt;&#xA;&lt;li&gt;In the Image field click Browse.  Select Media dialog box opens&lt;/li&gt;&#xA;&lt;li&gt;Click the Upload Media button&lt;/li&gt;&#xA;&lt;li&gt;Upload a file&lt;/li&gt;&#xA;&lt;li&gt;You should still be in the Select Media dialog box.  Click the Filters drop down&lt;/li&gt;&#xA;&lt;li&gt;You will see that in the Date Uploaded section it should show some number for &quot;Today&quot;. Check the checkbox next to &quot;Today&quot;&lt;/li&gt;&#xA;&lt;li&gt;Sitecore says &quot;No items found&quot;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;(See screen shots)&#xA;&lt;a href=&quot;https://i.stack.imgur.com/fmAx0.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fmAx0.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HrpZ5.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HrpZ5.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="215" LastActivityDate="2019-10-31T14:01:05.233" Title="Date Uploaded filter doesn't work in Media Library" Tags="|media-library|" AnswerCount="1" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="22325" PostTypeId="2" ParentId="22321" CreationDate="2019-09-30T13:51:32.990" Score="1" Body="&lt;p&gt;The &lt;code&gt;src&lt;/code&gt; attribute of an &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag generated by &lt;a href=&quot;https://doc.sitecore.com/developers/sxa/19/sitecore-experience-accelerator/en/render-image-fields-using-the-responsive-image-variant.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Responsive Image&lt;/a&gt; variant item stores the media item URL (generated using &lt;code&gt;GetMediaUrl()&lt;/code&gt; method of &lt;code&gt;BaseMediaManager&lt;/code&gt;). So the &lt;strong&gt;Field name&lt;/strong&gt; field needs to point to a field of type Image on your item:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/6hX7j.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6hX7j.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That media URL can be modified when you will full the Default size. In such a case, the media URL will have additional &lt;code&gt;w&lt;/code&gt; parameter. Looks like it works fine:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/rPR2J.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/rPR2J.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-09-30T13:51:32.990" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22328" PostTypeId="1" AcceptedAnswerId="22329" CreationDate="2019-09-30T19:13:23.237" Score="1" ViewCount="429" Body="&lt;p&gt;I have a very straightforward ContentSearch issue.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;My code is as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var filter = PredicateBuilder.True&amp;lt;PersonObject&amp;gt;();&#xA;filter = filter&#xA;   .And(i =&amp;gt; i.Email == &quot;my.email@address.com&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;em&gt;(...standard ContentSearch code follows...)&lt;/em&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Where the &lt;code&gt;Email&lt;/code&gt; field is defined as:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;email_t&quot;)]&#xA;public virtual string Email { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The index is populated correctly: going on the SOLR web interface and performing the following query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query?q=email_t:&quot;my.email@address.com&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;results in the one record with said email address being correctly returned.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Interestingly enough, the Search.log has this entry associated to the above search:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;?q=email_t:(my.email@address.com)&amp;amp;rows=1&amp;amp;fl=*,score&amp;amp;fq=_indexname:(sitecore_web_index)&amp;amp;wt=xml&amp;amp;sort=sortorder_tl asc&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Which sounds pretty much spot-on. So why this search is returning &lt;em&gt;every single *PersonObject*&lt;/em&gt; and not just the one with the specified email?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QUESTION&lt;/strong&gt;(s)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What am I doing wrong that is causing multiple results to be returned?&#xA;Are the information I provided enough to troubleshoot this issue?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-09-30T19:57:53.160" Title="Solr ContentSearch returning too many results for a string comparison that should return just one" Tags="|content-search|solr|indexing|" AnswerCount="1" CommentCount="1" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22329" PostTypeId="2" ParentId="22328" CreationDate="2019-09-30T19:57:53.160" Score="4" Body="&lt;p&gt;This is how &lt;code&gt;text&lt;/code&gt; fields work, it's a tokenized search.. If you are looking for an exact string match, you should be using &lt;code&gt;returnType=&quot;string&quot;&lt;/code&gt; in your index configuration. Beware as well that you should not be using &lt;code&gt;_t&lt;/code&gt; in your code as that hardcodes the Solr field type. You should also change that in your code to just &lt;code&gt;[IndexField(&quot;email&quot;)]&lt;/code&gt;. This should be all you need.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2019-09-30T19:57:53.160" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22330" PostTypeId="1" CreationDate="2019-09-30T20:03:32.997" Score="2" ViewCount="313" Body="&lt;p&gt;I'm writing a script to exchange a rendering component with a new rendering component, but it should keep all of the same rendering parameters. I followed the documentation to use Get-RenderingParamater to pass the dictionary to the new component, but I'm getting that it is not recognized as a cmdlet. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/0Gmng.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/0Gmng.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ySFKA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ySFKA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="6116" LastActivityDate="2020-03-30T16:42:00.557" Title="Get-RenderingParameter is not recognized as a name of a cmdlet" Tags="|powershell-extensions|presentation|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22331" PostTypeId="1" CreationDate="2019-09-30T20:32:19.137" Score="1" ViewCount="368" Body="&lt;p&gt;We recently upgraded from Sitecore 8.2.0 to Sitecore 9.2.0. Along with other packages, we also upgraded to the latest compatible version of Glass Mapper 5 for Sitecore 9.2.0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We use Simple Injector for DI and the following were added to ensure that Glass Mapper dependencies load fine:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  container.Register&amp;lt;ISitecoreService&amp;gt;(() =&amp;gt; new SitecoreService(Sitecore.Context.Database));&#xA;  container.Register&amp;lt;IGlassHtml&amp;gt;(() =&amp;gt; new GlassHtml(container.GetInstance&amp;lt;ISitecoreService&amp;gt;()));&#xA;  container.Register&amp;lt;IRequestContext&amp;gt;(() =&amp;gt; new Glass.Mapper.Sc.Web.RequestContext(container.GetInstance&amp;lt;ISitecoreService&amp;gt;()));&#xA;  container.Register&amp;lt;IMvcContext&amp;gt;(() =&amp;gt; new MvcContext(container.GetInstance&amp;lt;ISitecoreService&amp;gt;(), container.GetInstance&amp;lt;IGlassHtml&amp;gt;()));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The issue we now face is that we are using a model for our layout item. The model implements IRenderingModel. When the page loads, the Model is empty.&#xA;The initialize method that model defines is never executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Additionally, even the placeholders on the page fail to render as we get the following warning in the log for all the palceholders:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;WARN  The &quot;random&quot; placeholder was not rendered in the &quot;XXX&quot; item ({XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}) rendering context.&#xA;  Possible causes:&#xA;   1) Rendering markup was taken from HTML cache, thus no rendering process took place, and diagnostic message can be safely ignored;&#xA;   2) Rendering markup was not rendered due to no parent placeholder was found - item rendering settings should be checked;&#xA;  You can control the presence of these messages via 'Rendering.TraceUnusedRenderings' Sitecore Configuration setting.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;We have verified that the renderings are published and the sequence in which they need to be present for the placeholders to be valid exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There are other MVC models created for renderings and they seem to have the initialize method invoked for them. If we explicitly call the initialize method from the layout for the model, all works fine.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Need help to figure out what is preventing the pages from loading properly.&lt;/p&gt;&#xA;" OwnerUserId="1724" LastEditorUserId="1724" LastEditDate="2019-09-30T20:45:09.650" LastActivityDate="2020-04-01T14:35:45.263" Title="MVC Layout model is empty after Glass Mapper Upgrade" Tags="|glass-mapper|dependency-injection|placeholders|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22332" PostTypeId="1" AcceptedAnswerId="22333" CreationDate="2019-09-30T20:44:13.787" Score="0" ViewCount="277" Body="&lt;p&gt;I'm working in a webforms project and I'm trying to add fields that are editable in Experience Editor but they're not showing up on the page. I'm basing this off of other pages that currently implement this and I can't figure out what I'm missing. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;aspx:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;%@ control language=&quot;C#&quot; autoeventwireup=&quot;true&quot; codebehind=&quot;Promo.ascx.cs&quot; inherits=&quot;MyProject.Promo&quot; %&amp;gt;&#xA;&amp;lt;%@ Register Assembly=&quot;Sitecore.Kernel&quot; Namespace=&quot;Sitecore.Web.UI.WebControls&quot; TagPrefix=&quot;sc&quot; %&amp;gt;&#xA;&#xA;&amp;lt;div class=&quot;dekalb-promo&quot;&amp;gt;&#xA;    &amp;lt;div class=&quot;wrapper&quot; runat=&quot;server&quot; id=&quot;divPromo&quot;&amp;gt;&#xA;        &amp;lt;span class=&quot;title&quot;&amp;gt;&#xA;            &amp;lt;asp:Literal runat=&quot;server&quot; ID=&quot;litTitle&quot;&amp;gt;&amp;lt;/asp:Literal&amp;gt;&#xA;            &amp;lt;sc:Image ID=&quot;imgTitleImage&quot; Field=&quot;Title Image&quot; runat=&quot;server&quot; /&amp;gt;&#xA;            &amp;lt;sc:Text ID=&quot;txtTitle&quot; Field=&quot;Title&quot; runat=&quot;server&quot; /&amp;gt;&#xA;        &amp;lt;/span&amp;gt;&#xA;        &amp;lt;span class=&quot;body&quot;&amp;gt;&#xA;            &amp;lt;sc:Text ID=&quot;txtBody&quot; Field=&quot;Description&quot; runat=&quot;server&quot; /&amp;gt;&#xA;&#xA;        &amp;lt;/span&amp;gt;&#xA;        &amp;lt;span class=&quot;lrn-more&quot;&amp;gt;&#xA;            &amp;lt;sc:Link ID=&quot;linkLrnMore&quot; Field=&quot;Link&quot; runat=&quot;server&quot; /&amp;gt;&#xA;        &amp;lt;/span&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;&amp;lt;/div&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;aspx.cs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using System;&#xA;using System.Collections.Generic;&#xA;using System.Diagnostics;&#xA;using System.Globalization;&#xA;using System.Linq;&#xA;using System.Web;&#xA;using System.Web.UI;&#xA;using System.Web.UI.WebControls;&#xA;using Glass.Mapper.Sc;&#xA;using Glass.Mapper.Sc.Web.Ui;&#xA;using Sitecore.Diagnostics;&#xA;using WebControl = Sitecore.Web.UI.WebControl;&#xA;using Sitecore.Globalization;&#xA;&#xA;namespace MyProject&#xA;{&#xA;    public partial class Promo : System.Web.UI.UserControl&#xA;    {&#xA;        protected void Page_Load(object sender, EventArgs e)&#xA;        {&#xA;            var item = ContentHelper.GetContextItem(((WebControl)Parent).DataSource);&#xA;            IDekalb_Promo datasource = item.GlassCast&amp;lt;IDekalb_Promo&amp;gt;();&#xA;            if (datasource == null) return;&#xA;&#xA;            divPromo.Attributes[Consts.HTML_ATTRIBUTE_STYLE] = &quot;background-image: url('&quot; + datasource.Background_Image?.Src + &quot;')&quot;;&#xA;            if (datasource.Title_Image != null &amp;amp;&amp;amp; !String.IsNullOrEmpty(datasource.Title_Image.Src))&#xA;            {&#xA;                litTitle.Text = &quot;&amp;lt;img class='title-img' src='&quot; + datasource.Title_Image.Src + &quot;'&amp;gt;&amp;lt;/img&amp;gt;&quot;;&#xA;            }&#xA;&#xA;            if (!Sitecore.Context.PageMode.IsExperienceEditor)&#xA;            {&#xA;                imgTitleImage.Visible = false;&#xA;            }&#xA;&#xA;            if (datasource.Link == null || String.IsNullOrEmpty(datasource.Link.Url))&#xA;            {&#xA;                linkLrnMore.Visible = false;&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2609" LastEditorUserId="73" LastEditDate="2019-09-30T23:03:46.663" LastActivityDate="2019-09-30T23:03:46.663" Title="webforms editable sc: fields not rendering" Tags="|experience-editor|webforms|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22333" PostTypeId="2" ParentId="22332" CreationDate="2019-09-30T21:32:47.167" Score="1" Body="&lt;p&gt;The Sitecore controls are looking for the fields on the context item.  Since you're using a data source you need to pass that item into each of the controls using the Item property on the control.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sc:Image ID=&quot;imgTitleImage&quot; Field=&quot;Title Image&quot; runat=&quot;server&quot; Item=&quot;DataSourceItemHere&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="32" LastActivityDate="2019-09-30T21:32:47.167" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22334" PostTypeId="2" ParentId="22311" CreationDate="2019-09-30T22:52:54.280" Score="2" Body="&lt;p&gt;You can add the following rewrite rule to your web.config to add the required header on font files. The benefit of this is that you don't need any extra code - IIS rewrite module is available by default on Azure WebApps.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;    &amp;lt;rewrite&amp;gt;&#xA;      &amp;lt;outboundRules&amp;gt;&#xA;        &amp;lt;rule name=&quot;Enable CORS for Fonts&quot;&amp;gt;&#xA;          &amp;lt;match serverVariable=&quot;RESPONSE_Access_Control_Allow_Origin&quot; pattern=&quot;.*&quot; /&amp;gt;&#xA;          &amp;lt;conditions&amp;gt;&#xA;            &amp;lt;add input=&quot;{REQUEST_URI}&quot; pattern=&quot;^[^\?]+\.(ttf|otf|eot|woff|woff2|svg)(\?.*)?$&quot; /&amp;gt;&#xA;          &amp;lt;/conditions&amp;gt;&#xA;          &amp;lt;action type=&quot;Rewrite&quot; value=&quot;*&quot; /&amp;gt;&#xA;        &amp;lt;/rule&amp;gt;&#xA;      &amp;lt;/outboundRules&amp;gt;&#xA;    &amp;lt;/rewrite&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-09-30T22:52:54.280" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22335" PostTypeId="1" CreationDate="2019-10-01T00:50:31.557" Score="0" ViewCount="59" Body="&lt;p&gt;I have added an external website to FXM(sitecore 9.0.2), the overall visits is showing 0. Also the newly crated site is not showing in Experience Analytics filter drop down as well.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/HhTbA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/HhTbA.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also tried adding a domain configuration still no results shown.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/79Hr3.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/79Hr3.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="6008" LastActivityDate="2019-10-01T00:50:31.557" Title="FXM showing 0 for the overall visits for external website" Tags="|fxm|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22336" PostTypeId="1" AcceptedAnswerId="22563" CreationDate="2019-10-01T01:10:57.447" Score="4" ViewCount="358" Body="&lt;p&gt;I've created a new rendering and have set the Datasource Location and Datasource Template.  However when I add it to a placeholder inside the EXM Experience Editor I only see the option to select Existing Content - I cannot create a new content item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/S9t5f.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/S9t5f.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/exv67.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/exv67.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What have I missed setting such that I can add a new content block into my email with a datasource item created?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using Sitecore 9.1.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Have reproduced this in a vanilla instance of Sitecore 9.1.1 and SXA 1.8.1 using the sample newsletter template.&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="878" LastEditDate="2019-10-02T05:11:04.063" LastActivityDate="2019-10-15T04:10:11.987" Title="EXM Experience Editing - missing create new content" Tags="|presentation|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22337" PostTypeId="2" ParentId="18995" CreationDate="2019-10-01T03:50:39.570" Score="0" Body="&lt;p&gt;This issue occurs in Sitecore 9.1+ instances.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Solution:-  Add below mentioned line to allow powershell to download/upload files like export excel/csv etc.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;File Name:- C:\inetpub\wwwroot\\App_Config\Sitecore\Owin.Authentication\Sitecore.Owin.Authentication.config&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;Please confirm what needs to be added to the Sitecore.Owin.Authentication.config for this issue&lt;/p&gt;&#xA;" OwnerUserId="5453" LastEditorUserId="106" LastEditDate="2019-10-02T17:18:56.937" LastActivityDate="2019-10-02T17:18:56.937" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22338" PostTypeId="1" AcceptedAnswerId="22358" CreationDate="2019-10-01T08:02:01.653" Score="1" ViewCount="602" Body="&lt;p&gt;I have a query that is working in the GraphiQL UI :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query GetBreadcrumb($datasource: String!) {&#xA;  datasource(value: $datasource) {&#xA;    ...mySelectedFields&#xA;    parent {&#xA;      ...mySelectedFields&#xA;      parent {&#xA;        ...mySelectedFields&#xA;        parent {&#xA;          ...mySelectedFields&#xA;          parent {&#xA;            ...mySelectedFields&#xA;            parent {&#xA;              ...mySelectedFields&#xA;            }&#xA;          }&#xA;        }&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&#xA;fragment mySelectedFields on Item {&#xA;  name&#xA;  id&#xA;  displayName&#xA;  url(options: {disableLanguageEmbedding: true})&#xA;  ... on AppRoute {&#xA;    pageIndex {&#xA;      value&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would like to test it on the server in connected mode but when I call my component, the datasource value is not passed and it should have been filled with the object database id as far as I understood (I'm using Integrated mode).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here is my component definition :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;// eslint-disable-next-line no-unused-vars&#xA;import { CommonFieldTypes, SitecoreIcon, Manifest } from '@sitecore-jss/sitecore-jss-manifest';&#xA;import fs from 'fs';&#xA;&#xA;const query = fs.readFileSync(&#xA;  'sitecore/definitions/components/GraphQL-Breadcrumb.sitecore.graphql',&#xA;  'utf8'&#xA;);&#xA;&#xA;/**&#xA; * Adds the GraphQL-IntegratedDemo component to the disconnected manifest.&#xA; * This function is invoked by convention (*.sitecore.js) when 'jss manifest' is run.&#xA; * @param {Manifest} manifest Manifest instance to add components to&#xA; */&#xA;export default function(manifest) {&#xA;  manifest.addComponent({&#xA;    name: 'GraphQL-Breadcrumb',&#xA;    icon: SitecoreIcon.GraphConnection_directed,&#xA;    graphQLQuery: query,&#xA;    fields: [&#xA;      { name: 'sample', type: CommonFieldTypes.SingleLineText },&#xA;    ]&#xA;  });&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and here is my component code :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;import './stylesheet.scss';&#xA;&#xA;import * as React from 'react';&#xA;import { Text } from '@sitecore-jss/sitecore-jss-react';&#xA;import { Link as RouterLink } from 'react-router-dom';&#xA;export interface Field {&#xA;  value?: string;&#xA;  editable?: string;&#xA;}&#xA;&#xA;export interface GraphQLBreadcrumbProps { &#xA;    fields: { [ name: string ]: any};&#xA;}&#xA;&#xA;export const GraphQLBreadcrumb: React.FunctionComponent&amp;lt;GraphQLBreadcrumbProps&amp;gt; = ({ fields }: GraphQLBreadcrumbProps): JSX.Element =&amp;gt; {&#xA;    console.log(fields);&#xA;&#xA;    return (&#xA;    &amp;lt;div className='GraphQLBreadcrumb-box'&amp;gt;&#xA;        &amp;lt;p&amp;gt;GraphQL-Breadcrumb Component&amp;lt;/p&amp;gt;&#xA;&#xA;&#xA;    &amp;lt;/div&amp;gt;&#xA;    );&#xA;};&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would like to know why my datasource is empty in my data. Did I miss a configuration step ?&lt;/p&gt;&#xA;" OwnerUserId="5831" LastEditorUserId="605" LastEditDate="2019-10-01T19:43:37.233" LastActivityDate="2019-10-01T19:54:23.230" Title="GraphQL datasource is empty with Integrated JSS App" Tags="|jss|graphql|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22341" PostTypeId="2" ParentId="20756" CreationDate="2019-10-01T10:31:20.220" Score="1" Body="&lt;p&gt;To have all checkboxes checked by default, Navigate to &lt;strong&gt;Publishing&lt;/strong&gt; section of &lt;strong&gt;About Us&lt;/strong&gt; item and check all targets in &lt;strong&gt;Publishing targets&lt;/strong&gt; field as shown below and then if you open the dialog &lt;strong&gt;Publishing Settings&lt;/strong&gt; dialog, it would render all checkboxes in checked state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/J0Y1R.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/J0Y1R.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Explanation -&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Targets&lt;/code&gt; tab in the &lt;code&gt;Publishing Settings&lt;/code&gt; screen is rendered by file &lt;code&gt;\sitecore\shell\Applications\Content Manager\Dialogs\Set Publishing\Set Publishing.xml&lt;/code&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It uses &lt;code&gt;Sitecore.Shell.Applications.ContentManager.Dialogs.SetPublishing.SetPublishingForm&lt;/code&gt; class from &lt;code&gt;Sitecore.Client&lt;/code&gt; dll&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and here below is the function to render that tab&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;/// &amp;lt;summary&amp;gt;Renders the target tab.&amp;lt;/summary&amp;gt;&#xA;/// &amp;lt;param name=&quot;item&quot;&amp;gt;The item.&amp;lt;/param&amp;gt;&#xA;private void RenderTargetTab(Item item)&#xA;{&#xA;  Assert.ArgumentNotNull((object) item, nameof (item));&#xA;  Sitecore.Data.Fields.Field field = item.Fields[FieldIDs.PublishingTargets];&#xA;  if (field == null)&#xA;    return;&#xA;  Item obj = Context.ContentDatabase.Items[&quot;/sitecore/system/publishing targets&quot;];&#xA;  if (obj == null)&#xA;    return;&#xA;  StringBuilder stringBuilder = new StringBuilder();&#xA;  string str1 = field.Value;&#xA;  foreach (Item child in obj.Children)&#xA;  {&#xA;    string str2 = str1.IndexOf(child.ID.ToString(), StringComparison.InvariantCulture) &amp;gt;= 0 ? &quot; checked=\&quot;true\&quot;&quot; : string.Empty;&#xA;    string str3 = string.Empty;&#xA;    if (this.ReadOnly)&#xA;      str3 = &quot; disabled=\&quot;true\&quot;&quot;;&#xA;    stringBuilder.Append(&quot;&amp;lt;input id=\&quot;pb_&quot; + ShortID.Encode(child.ID) + &quot;\&quot; name=\&quot;pb_&quot; + ShortID.Encode(child.ID) + &quot;\&quot; class=\&quot;scRibbonCheckbox\&quot; type=\&quot;checkbox\&quot;&quot; + str2 + str3 + &quot; style=\&quot;vertical-align:middle\&quot;/&amp;gt;&quot;);&#xA;    stringBuilder.Append(child.GetUIDisplayName());&#xA;    stringBuilder.Append(&quot;&amp;lt;br/&amp;gt;&quot;);&#xA;  }&#xA;  this.PublishingTargets.InnerHtml = stringBuilder.ToString();&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This function loops through all publishing targets and compares each target value on the current item's Publishing target field values to render the checkbox in a checked state.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this answers your question. &lt;/p&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-10-01T10:31:20.220" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22342" PostTypeId="1" AcceptedAnswerId="22470" CreationDate="2019-10-01T11:33:03.550" Score="4" ViewCount="585" Body="&lt;p&gt;With a Sitecore XC 9.2.0 instance (created from scratch) I got the following errors about page event definition not being found:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;45868 21:31:35 ERROR Page event or goal definition Visited Product Details Page not found, page URL /shop/4K=habitat_master-4k/HabitatSpectra48”4KLEDUltraHDTelevision=6042262&#xA;45156 21:31:42 ERROR Page event or goal definition Lines Added To Cart not found, page URL /api/cxa/Cart/AddCartLine?sc_site=Storefront&#xA;45916 21:32:41 ERROR Page event or goal definition Lines Updated On Cart not found, page URL /api/cxa/cart/UpdateCartLineQuantity?sc_site=Storefront&#xA;47128 21:32:45 ERROR Page event or goal definition Lines Removed From Cart not found, page URL /api/cxa/cart/RemoveShoppingCartLine?sc_site=Storefront&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Does anyone have these errors as well and know how to solve this? &#xA;I've already deployed the marketing definitions. &#xA;I can see the page event in the content editor under the folder &lt;em&gt;/sitecore/system/Settings/Analytics/Page Events/CommerceConnect/Cart&lt;/em&gt;&lt;/p&gt;&#xA;" OwnerUserId="5045" LastEditorUserId="3334" LastEditDate="2019-10-01T15:57:29.230" LastActivityDate="2019-10-09T14:04:13.860" Title="Page event or goal definition not found" Tags="|sitecore-commerce|sxa-storefront|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22343" PostTypeId="1" AcceptedAnswerId="22410" CreationDate="2019-10-01T12:01:16.190" Score="0" ViewCount="996" Body="&lt;p&gt;My &lt;strong&gt;Sitecore 9.1 XP1 Scaled&lt;/strong&gt; dev instance started to spam the following exceptions in its log, related to the &lt;strong&gt;xdb.processing.pools&lt;/strong&gt; and &lt;strong&gt;xdb.processing.tasks&lt;/strong&gt; connection strings:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  23372 12:47:01 ERROR Exception when executing agent processing/taskAgent&#xA;  Exception: System.Reflection.TargetInvocationException&#xA;  Message: Exception has been thrown by the target of an invocation.&#xA;  Source: mscorlib&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;     at Sitecore.Analytics.Core.AsyncBackgroundService.CreateAgent()&#xA;     at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;ExecuteAgentAsync&amp;gt;d__22.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;RunAsync&amp;gt;d__26.MoveNext()&#xA;&#xA;  Nested Exception&#xA;&#xA;  Exception: System.Configuration.ConfigurationErrorsException&#xA;  Message: A connection string with the name 'xdb.processing.tasks' is not configured.&#xA;  Source: Sitecore.Analytics.Sql&#xA;     at Sitecore.Analytics.SqlUtility.LookUpConnectionString(String connectionStringName)&#xA;     at Sitecore.Analytics.SqlDataProvider..ctor(String connectionStringName, Int32 commandTimeout, IRetryManager retryManager)&#xA;     at Sitecore.Analytics.Processing.SqlTaskDataProvider..ctor(String connectionStringName, Int32 commandTimeout, Int64 ownershipTimeoutMs, Int32 minimumRangeSize, IRetryManager retryManager)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  18288 12:47:01 ERROR Exception when executing agent aggregation/aggregator&#xA;  Exception: System.Reflection.TargetInvocationException&#xA;  Message: Exception has been thrown by the target of an invocation.&#xA;  Source: mscorlib&#xA;     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;     at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;     at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;     at Sitecore.Analytics.Core.AsyncBackgroundService.CreateAgent()&#xA;     at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;ExecuteAgentAsync&amp;gt;d__22.MoveNext()&#xA;  --- End of stack trace from previous location where exception was thrown ---&#xA;     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#xA;     at Sitecore.Analytics.Core.AsyncBackgroundService.&amp;lt;RunAsync&amp;gt;d__26.MoveNext()&#xA;&#xA;  Nested Exception&#xA;&#xA;  Exception: System.Configuration.ConfigurationErrorsException&#xA;  Message: A connection string with the name 'xdb.processing.pools' is not configured.&#xA;  Source: Sitecore.Xdb.Processing.Queue.SqlServer&#xA;     at Sitecore.Xdb.Processing.Queue.SqlServer.ConfigurationConnectionStringResolver.Resolve(String name)&#xA;     at Sitecore.Xdb.Processing.Queue.SqlServer.SqlServerProcessingPool`2..ctor(TPoolDefinition poolDefinition, SqlServerProcessingPoolSettings settings, IConnectionStringResolver resolver, IRetryManager retryManager)&#xA;     at Sitecore.Xdb.Processing.Queue.SqlServer.SqlServerInteractionLiveProcessingPool..ctor(ProcessingPoolDefinition definition, SqlServerProcessingPoolSettings settings, IConnectionStringResolver resolver, IPerformanceCounters performanceCounters, IRetryManager retryManager)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As far as I know nothing in the XConnect / xDB configuration changed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the past three months I never had such connection strings and never had this  error message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I do have two SQLServer databases named &lt;strong&gt;XPScaled910_Processing.Pools&lt;/strong&gt; and &lt;strong&gt;XPScaled910_Processing.Tasks&lt;/strong&gt; but after checking BitBucket I never had associated connection strings.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QUESTION(s)&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Are there situations where I don't need them, and why the initial installation did not configure them?&lt;/li&gt;&#xA;&lt;li&gt;What causes Sitecore to actively look for them?&lt;/li&gt;&#xA;&lt;li&gt;Do I just have to create such connection strings?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-10-01T12:10:21.180" LastActivityDate="2019-10-05T14:25:23.547" Title="Why my Sitecore 9.1 instance started to complain about missing xdb.processing.pools and xdb.processing.tasks connection strings?" Tags="|xdb|processing|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22344" PostTypeId="2" ParentId="22324" CreationDate="2019-10-01T13:40:26.160" Score="3" Body="&lt;p&gt;I opened a support ticket with Sitecore and they provided a solution.  They referenced Sitecore bug 304447.  The solution is to add the following to your Sitecore config via a patch file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;ContentSearch.DateFormat&quot; value=&quot;yyyy-MM-dd'T'HH:mm:ss'Z'&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="215" LastActivityDate="2019-10-01T13:40:26.160" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22346" PostTypeId="1" CreationDate="2019-10-01T13:53:02.123" Score="0" ViewCount="82" Body="&lt;p&gt;How to disable XDB tracking for specific site under multi site environment (Sitecore 8.2)&lt;/p&gt;&#xA;" OwnerUserId="5189" LastEditorUserId="70" LastEditDate="2019-10-04T12:54:53.067" LastActivityDate="2019-10-04T12:54:53.067" Title="Disable XDB tracking for specific site under multisite environment" Tags="|xdb|" AnswerCount="1" CommentCount="1" ClosedDate="2019-10-01T14:56:35.697" ContentLicense="CC BY-SA 4.0" />
  <row Id="22347" PostTypeId="1" CreationDate="2019-10-01T13:54:55.593" Score="3" ViewCount="868" Body="&lt;p&gt;Running on Sitecore 9.0.2 in a multi site configuration and running into an issue when attempting to build a Site specific Map for Path Analyzer. All traffic is being recorded in the Global Maps -&gt; Page Maps -&gt; All Visits and reviewing the Reporting Database the SiteNames table is being populated as I would expect with a unique SiteName and SiteNameId per site I'm running.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/A2IXh.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/A2IXh.png&quot; alt=&quot;Sitename Records in the Database&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Te5kj.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Te5kj.png&quot; alt=&quot;Fact_PageMetrics Table recording to the correct SiteNameId&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From Marketing control Panel I navigate to Path Analyzer -&gt; Maps -&gt; Site maps, right click and insert a new Site map group. In the Site Name field I populate it with the same SiteName that's in my Sitecore settings which matches the records in the recording database. Looking at documentation on Sitecores site the Maps take 24 hrs to begin record / are able to be used in Path Analyzer. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mBiMm.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mBiMm.png&quot; alt=&quot;Site Map Configuration&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After 48 hours and local traffic of about 5 sessions a day the Map when selected reports that there is no data for the selected dates (past 2 days). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Site Specific Map&#xA;&lt;a href=&quot;https://i.stack.imgur.com/hM3xn.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hM3xn.png&quot; alt=&quot;Site Map Paths&quot;&gt;&lt;/a&gt;&#xA;Global Map&#xA;&lt;a href=&quot;https://i.stack.imgur.com/G03jA.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/G03jA.png&quot; alt=&quot;Global Map Paths&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there a set missing with System settings that I'm not setting up or is this a know bug with 9.0.2? Even just documentation on how to resolve this would be fantastic.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks!&#xA;Ty&lt;/p&gt;&#xA;" OwnerUserId="4368" LastEditorUserId="277" LastEditDate="2021-06-04T06:19:55.020" LastActivityDate="2021-06-04T06:19:55.020" Title="Path Analyzer Site Maps" Tags="|xconnect|path-analyzer|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22348" PostTypeId="2" ParentId="15324" CreationDate="2019-10-01T14:40:43.120" Score="2" Body="&lt;p&gt;Douglas Couto shared a different solution on his &lt;a href=&quot;https://letsdositecore.wordpress.com/2018/12/04/the-install-sitecoreconfiguration-command-was-found-in-the-module-sitecoreinstallframework-but-the-module-could-not-be-loaded-for-more-information-run-import-module-sitecoreinstallframework/&quot; rel=&quot;nofollow noreferrer&quot;&gt;blog&lt;/a&gt; that has also worked for me. Some computers seems to have access right issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When calling the SIF command, use the &lt;code&gt;ByPass&lt;/code&gt; &lt;code&gt;ExecutionPolicy&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Examples:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;powershell -ExecutionPolicy ByPass Install-SitecoreConfiguration -Path .\Prerequisites.json&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;powershell -ExecutionPolicy ByPass Uninstall-SitecoreConfiguration @XP1Parameters *&amp;gt;&amp;amp;1 | Tee-Object XP1-SingleDeveloper-Uninstall.log&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="171" LastActivityDate="2019-10-01T14:40:43.120" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22349" PostTypeId="2" ParentId="22346" CreationDate="2019-10-01T14:42:18.637" Score="1" Body="&lt;p&gt;In your site definitions configurations, you can set &lt;code&gt;enableTracking&lt;/code&gt; to be false, This setting will define whether analytics tracking is enabled for a site or not.&lt;/p&gt;&#xA;" OwnerUserId="167" LastActivityDate="2019-10-01T14:42:18.637" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22351" PostTypeId="2" ParentId="20241" CreationDate="2019-10-01T16:03:09.217" Score="5" Body="&lt;p&gt;Yes. But to do so, you need to invoke a feature that I am willing to bet only 1% of the 1% knows about.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For a &lt;code&gt;dataProvider&lt;/code&gt;, you can disable groups of functionality. In your case you want to disable &lt;code&gt;publishing&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For completeness, I'm showing a few examples. All in your &lt;code&gt;&amp;lt;dataProvider&amp;gt;&lt;/code&gt; element:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dataProvider ...&amp;gt;&#xA;  &amp;lt;disable&amp;gt;*&amp;lt;/disable&amp;gt;&#xA;  &amp;lt;enable&amp;gt;GetItem&amp;lt;/enable&amp;gt;&#xA;  &amp;lt;enable&amp;gt;GetChildren&amp;lt;/enable&amp;gt;&#xA;&amp;lt;/dataProvider&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Disable everything on your dataProvider &lt;em&gt;except&lt;/em&gt; methods &lt;code&gt;GetItem&lt;/code&gt; and &lt;code&gt;GetChildren&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But to make things easier, there are &quot;method groups&quot; you can disable. To disable publishing entirely for your dataProvider, do this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;dataProvider ...&amp;gt;&#xA; &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;&amp;lt;/dataProvider&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For more information of this forgotten feature from the past, see: &lt;a href=&quot;https://doc.sitecore.com/SdnArchive/Developer/Integrating%20External%20Data%20Sources/Reference/web,-d-,config%20Elements/DataProvider.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;The dataProvider Element&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I recall correctly (it's been a very long while since I used this), Sitecore will not throw exceptions or anything when these disabled calls are invoked; rather just silently ignore them and move on. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Edited to add&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So I did a bit of investigation. Sitecore has updated the flexibility around this a bit more, so it is &lt;em&gt;possible&lt;/em&gt; that this method will be easier for you.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you look in &lt;code&gt;App_Config/Sitecore.config&lt;/code&gt; for how the &lt;code&gt;&amp;lt;database id=&quot;web&quot;&amp;gt;&lt;/code&gt; is wired up, you will see an example of this. It states:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;  &amp;lt;dataProviders hint=&quot;list:AddDataProvider&quot;&amp;gt;&#xA;    &amp;lt;dataProvider ref=&quot;dataProviders/main&quot; param1=&quot;$(id)&quot;&amp;gt;&#xA;      &amp;lt;disableGroup&amp;gt;publishing&amp;lt;/disableGroup&amp;gt;&#xA;      &amp;lt;prefetch hint=&quot;raw:AddPrefetch&quot;&amp;gt;&#xA;        &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Common.config&quot; /&amp;gt;&#xA;        &amp;lt;sc.include file=&quot;/App_Config/Prefetch/Webdb.config&quot; /&amp;gt;&#xA;      &amp;lt;/prefetch&amp;gt;&#xA;    &amp;lt;/dataProvider&amp;gt;&#xA;  &amp;lt;/dataProviders&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Notice how it maps in the &quot;main&quot; data provider, and then tells it to &lt;code&gt;&amp;lt;disableGroup&amp;gt;&lt;/code&gt; &lt;code&gt;publishing&lt;/code&gt;. This is why the system doesn't break when you do a publish via the UI when you've switched to the &quot;web&quot; database - it simply gets ignored.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So you can either disable this group for your dataProvider entirely, or you can optionally disable it per-database for your provider.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I recall correctly (as can be seen in a modern day &lt;code&gt;Sitecore.config&lt;/code&gt;) you can also just remove sections from this part of the configuration.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;methodGroups&amp;gt;&#xA;  &amp;lt;copyMove&amp;gt;&#xA;    &amp;lt;CopyItem /&amp;gt;&#xA;    &amp;lt;MoveItem /&amp;gt;&#xA;  &amp;lt;/copyMove&amp;gt;&#xA;  &amp;lt;create&amp;gt;&#xA;    &amp;lt;AddVersion /&amp;gt;&#xA;    &amp;lt;CreateItem /&amp;gt;&#xA;  &amp;lt;/create&amp;gt;&#xA;  &amp;lt;delete&amp;gt;&#xA;    &amp;lt;DeleteItem /&amp;gt;&#xA;    &amp;lt;RemoveVersion /&amp;gt;&#xA;    &amp;lt;RemoveVersions /&amp;gt;&#xA;  &amp;lt;/delete&amp;gt;&#xA;  &amp;lt;properties&amp;gt;&#xA;    &amp;lt;GetProperty /&amp;gt;&#xA;    &amp;lt;RemoveProperty /&amp;gt;&#xA;    &amp;lt;SetProperty /&amp;gt;&#xA;  &amp;lt;/properties&amp;gt;&#xA;  &amp;lt;publishing&amp;gt;&#xA;    &amp;lt;AddToPublishQueue /&amp;gt;&#xA;    &amp;lt;CleanupPublishQueue /&amp;gt;&#xA;    &amp;lt;GetPublishQueue /&amp;gt;&#xA;  &amp;lt;/publishing&amp;gt;&#xA;  &amp;lt;query&amp;gt;&#xA;    &amp;lt;SelectIDs /&amp;gt;&#xA;    &amp;lt;SelectSingleID /&amp;gt;&#xA;  &amp;lt;/query&amp;gt;&#xA;  &amp;lt;read&amp;gt;&#xA;    &amp;lt;BlobStreamExists /&amp;gt;&#xA;    &amp;lt;GetItemDefinition /&amp;gt;&#xA;    &amp;lt;GetItemFields /&amp;gt;&#xA;    &amp;lt;GetItemVersions /&amp;gt;&#xA;  &amp;lt;/read&amp;gt;&#xA;  &amp;lt;relations&amp;gt;&#xA;    &amp;lt;GetChildIDs /&amp;gt;&#xA;    &amp;lt;GetParentID /&amp;gt;&#xA;    &amp;lt;GetRootID /&amp;gt;&#xA;    &amp;lt;HasChildren /&amp;gt;&#xA;  &amp;lt;/relations&amp;gt;&#xA;  &amp;lt;resolve&amp;gt;&#xA;    &amp;lt;ResolvePath /&amp;gt;&#xA;  &amp;lt;/resolve&amp;gt;&#xA;  &amp;lt;templates&amp;gt;&#xA;    &amp;lt;ChangeTemplate /&amp;gt;&#xA;    &amp;lt;GetTemplateItemIds /&amp;gt;&#xA;    &amp;lt;GetTemplates /&amp;gt;&#xA;  &amp;lt;/templates&amp;gt;&#xA;  &amp;lt;update&amp;gt;&#xA;    &amp;lt;SaveItem /&amp;gt;&#xA;  &amp;lt;/update&amp;gt;&#xA;  &amp;lt;workflow&amp;gt;&#xA;    &amp;lt;GetItemsInWorkflowState /&amp;gt;&#xA;    &amp;lt;GetWorkflowInfo /&amp;gt;&#xA;    &amp;lt;SetWorkflowInfo /&amp;gt;&#xA;  &amp;lt;/workflow&amp;gt;&#xA;&amp;lt;/methodGroups&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Removing the &lt;code&gt;&amp;lt;publishing&amp;gt;&lt;/code&gt; element should have the same effect as the above, which removes group &lt;code&gt;publishing&lt;/code&gt;.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-10-01T16:24:01.240" LastActivityDate="2019-10-01T16:24:01.240" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22352" PostTypeId="1" AcceptedAnswerId="22359" CreationDate="2019-10-01T16:25:48.357" Score="4" ViewCount="2187" Body="&lt;p&gt;I am looking for a master index query that will return the latest version of any item. In the solr index there is a field call &lt;code&gt;_latestversion&lt;/code&gt;. But when I add that to my query, I get the error&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Find-Item : No property or field '_latestversion' exists in type 'SearchResultItem'&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Here is my query&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items = Find-Item -Index sitecore_master_index -Where '(TemplateId=@0 Or TemplateId=@1) And Path.Contains(@2) And _latestversion=true' -WhereValues $clubTemplateId, $wogTemplateId, $roothPath | Initialize-Item&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I could use a Get-Item for each result, but that is overkill. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-10-01T20:07:01.107" Title="Find-Item -Index Get latest version" Tags="|powershell-extensions|powershell|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22353" PostTypeId="1" AcceptedAnswerId="22355" CreationDate="2019-10-01T17:07:57.700" Score="0" ViewCount="50" Body="&lt;p&gt;This is more a theoretical question. Assuming that we have a CRM that is the source of truth for the user base, so the users aren't in the Sitecore user manager/core database and any sign-up data goes to the CRM. If we want to see analytics at the individual level, with the profile and all, does that involve extra calls to xDB, or pretty much the same calls as always? That is, when it comes to analytics, is the core db a factor in any way with the user base, or is it a matter of creating a contact card, etc, to do that profile tracking?&lt;/p&gt;&#xA;" OwnerUserId="262" LastActivityDate="2019-10-01T17:16:07.970" Title="Identity server and analytics tracking" Tags="|xdb|experience-analytics|identity-server|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22355" PostTypeId="2" ParentId="22353" CreationDate="2019-10-01T17:16:07.970" Score="2" Body="&lt;p&gt;When the user logs in, you would make a call to CRM and fill the contact facets with the CRM data. You would also send any information you need to send back to the CRM. You would need to make sure you add an identifier to the contact that matches something in CRM. We have 4 identifiers for our users. 1 for email and 3 for the 3 external systems.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then on a regular schedule, you would regather the data from CRM and update the contact facet. Once a day, once an hour, etc... &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The regular schedule is up to you on how to do. We use DEF and call a .NetCore app that makes xConnect calls to update the contacts.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-10-01T17:16:07.970" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22356" PostTypeId="2" ParentId="22352" CreationDate="2019-10-01T18:24:46.320" Score="5" Body="&lt;p&gt;If you want to use &lt;code&gt;_latestVersion&lt;/code&gt; with Find-Item command then you will need to use &lt;code&gt;-Criteria&lt;/code&gt; instead of &lt;code&gt;-Where&lt;/code&gt; because &lt;code&gt;-Where&lt;/code&gt; uses &lt;code&gt;SearchResultItem&lt;/code&gt; class to map the properties whereas &lt;code&gt;-Criteria&lt;/code&gt; work directly against Solr fields.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example -&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$clubTemplateId = New-Object Sitecore.Data.ID::new(&quot;{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}&quot;)  &#xA;$wogTemplateId = New-Object Sitecore.Data.ID::new(&quot;{716FD1F8-FB35-40FA-A144-B0A6BA96E967}&quot;) &#xA;&#xA;$roothPath = &quot;/sitecore/content&quot;    &#xA;&#xA;$idHelper = New-Object Sitecore.ContentSearch.Utilities.IdHelper&#xA;&#xA;$criteria = @(&#xA;                @{Filter = &quot;Contains&quot;; Field = &quot;_fullpath&quot;; Value = $roothPath},&#xA;                @{Filter = &quot;ContainsAny&quot;; Field = &quot;_template&quot;; Value = [string[]]@($idHelper::NormalizeGuid($clubTemplateId), $idHelper::NormalizeGuid($wogTemplateId))},&#xA;                @{Filter = &quot;Equals&quot;; Field = &quot;_latestversion&quot;; Value = &quot;1&quot;}&#xA;            )&#xA;&#xA;$items =Find-Item -Index sitecore_master_index -Criteria $criteria | Initialize-Item&#xA;&#xA;Write-Host $items.Length&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-10-01T18:24:46.320" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22358" PostTypeId="2" ParentId="22338" CreationDate="2019-10-01T19:42:56.147" Score="2" Body="&lt;p&gt;Using a GraphQL query with a predefined hierarchy for a breadcrumb component can be difficult to manage. This is because&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;You will already limit the query's depth to a certain level in the content tree. So, if tomorrow you change the content tree structure, you'll need to update your GraphQL.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;With OOTB GraphQL query, it is difficult to remove items that should not be present in the breadcrumb. For example, if you have the following path&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Site A -&amp;gt; Content Repository -&amp;gt; Articles -&amp;gt; Article 1&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Your breadcrumb would normally looks like &lt;code&gt;Home/Articles/Article 1&lt;/code&gt;. You can write a custom resolver to remove the unnecessary item but you will at the end &quot;hard code&quot; the  different items that should not be present in the breadcrumb and will require to update the code each time an item is added.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Returning to your question, the datasource will be blank if no datasource has been added to your rendering parameters.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Solution that worked for me&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Recently, I've written a post on how to create a breadcrumb and it is independent of your content tree. You can choose which item should be added to the breadcrumb.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, basically, you would need to implement a &lt;strong&gt;custom GraphQL query&lt;/strong&gt; and a &lt;strong&gt;new template&lt;/strong&gt;. For my case, the template contains 2 fields namely:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Breadcrumb Title (Single Line Text)&lt;/li&gt;&#xA;&lt;li&gt;Show on Breadcrumb (Checkbox)&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Then the custom GraphQL looks as follows:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query BreadcrumbQuery($itemId: String!) {&#xA;  allpath(itemId: $itemId) {&#xA;    breadcrumbs {&#xA;      name&#xA;      path&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;For the full implementation, please read my blog on &lt;a href=&quot;https://hishaamn.wordpress.com/2019/08/25/sitecore-jss-a-breadcrumb-with-graphql/&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore JSS – A Breadcrumb with GraphQL&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-10-01T19:54:23.230" LastActivityDate="2019-10-01T19:54:23.230" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22359" PostTypeId="2" ParentId="22352" CreationDate="2019-10-01T20:07:01.107" Score="5" Body="&lt;p&gt;If you are using SPE 6.0 this might work for you. Introduced with this &lt;a href=&quot;https://github.com/SitecorePowerShell/Console/issues/1120&quot; rel=&quot;noreferrer&quot;&gt;issue&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;class ExtendedSearchResultItem : SearchResultItem&#xA;{&#xA;   [Sitecore.ContentSearch.IndexField(&quot;_latestversion&quot;)]&#xA;   [bool]$IsLatestVersion&#xA;}&#xA;&#xA;$props = @{&#xA;    Index = &quot;sitecore_master_index&quot;&#xA;    Where = &quot;IsLatestVersion == @0&quot;&#xA;    WhereValues = $true&#xA;    QueryType = [ExtendedSearchResultItem]&#xA;}&#xA;&#xA;Find-Item @props -First 10&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-10-01T20:07:01.107" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22360" PostTypeId="1" CreationDate="2019-10-02T03:44:59.157" Score="0" ViewCount="852" Body="&lt;p&gt;I'm trying to port an application to Azure Search from Solr.  I've got the sitecore indexes working and rebuilding.  The documents are being added to the azure search index.  However for any custom index I am setting up its not working.  The index appears in the index manager and I can trigger and index rebuild.  The rebuild process runs but no units are processed.  There are no obvious log errors in the main log file or the crawler log.  This is my example patch file config &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;   &amp;lt;sitecore role:require=&quot;Standalone or ContentManagement&quot; search:require=&quot;Azure&quot;&amp;gt;&#xA;      &amp;lt;contentSearch&amp;gt;&#xA;         &amp;lt;indexConfigurations&amp;gt;&#xA;            &amp;lt;projectIndexConfiguration type=&quot;Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;               &amp;lt;initializeOnAdd&amp;gt;true&amp;lt;/initializeOnAdd&amp;gt;&#xA;               &amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.Azure.FieldMaps.CloudFieldMap, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;                  &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;                     &amp;lt;field fieldName=&quot;name&quot; type=&quot;System.String&quot; cloudFieldName=&quot;name&quot; searchable=&quot;YES&quot; retrievable=&quot;YES&quot; facetable=&quot;YES&quot; filterable=&quot;YES&quot; sortable=&quot;YES&quot; boost=&quot;1f&quot; settingType=&quot;Sitecore.ContentSearch.Azure.CloudSearchFieldConfiguration, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;                  &amp;lt;/fieldNames&amp;gt;&#xA;               &amp;lt;/fieldMap&amp;gt;&#xA;               &amp;lt;documentOptions ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/documentOptions&quot;&amp;gt;&#xA;                  &amp;lt;indexAllFields&amp;gt;false&amp;lt;/indexAllFields&amp;gt;&#xA;                  &amp;lt;include hint=&quot;list:AddIncludedTemplate&quot;&amp;gt;&#xA;                     &amp;lt;Project&amp;gt;{AD72B630-C956-4C9E-8A88-623AF5931C0E}&amp;lt;/Project&amp;gt;&#xA;                  &amp;lt;/include&amp;gt;&#xA;                  &amp;lt;include hint=&quot;list:AddIncludedField&quot;&amp;gt;&#xA;                     &amp;lt;!--Article Content--&amp;gt;&#xA;                     &amp;lt;name&amp;gt;{E380368B-9ACB-4083-B1BE-36172FAD9A23}&amp;lt;/name&amp;gt;&#xA;                  &amp;lt;/include&amp;gt;&#xA;               &amp;lt;/documentOptions&amp;gt;&#xA;            &amp;lt;/projectIndexConfiguration&amp;gt;&#xA;          &amp;lt;/indexConfigurations&amp;gt;&#xA;          &amp;lt;configuration type=&quot;Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;indexes hint=&quot;list:AddIndex&quot;&amp;gt;&#xA;               &amp;lt;index id=&quot;project_master_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;                  &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;                  &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;                  &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;                  &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;                  &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/projectIndexConfiguration&quot; /&amp;gt;&#xA;                  &amp;lt;schemaBuilder ref=&quot;contentSearch/searchServiceSchemaBuilder&quot; /&amp;gt;&#xA;                  &amp;lt;searchService type=&quot;Sitecore.ContentSearch.Azure.Http.CompositeSearchService, Sitecore.ContentSearch.Azure&quot; /&amp;gt;&#xA;                  &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;                     &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;                  &amp;lt;/strategies&amp;gt;&#xA;                  &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                     &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;                        &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                           &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;                        &amp;lt;/policy&amp;gt;&#xA;                     &amp;lt;/policies&amp;gt;&#xA;                  &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;                  &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;                     &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                        &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;                        &amp;lt;Root&amp;gt;/sitecore/Content/Site/home/projects&amp;lt;/Root&amp;gt;&#xA;                     &amp;lt;/crawler&amp;gt;&#xA;                  &amp;lt;/locations&amp;gt;&#xA;                  &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;                  &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;                &amp;lt;/index&amp;gt;&#xA;            &amp;lt;/indexes&amp;gt;&#xA;         &amp;lt;/configuration&amp;gt;&#xA;      &amp;lt;/contentSearch&amp;gt;&#xA;   &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2402" LastActivityDate="2020-12-02T10:04:55.633" Title="Sitecore 9.1.1 Azure Search custom index not updating when running rebuild" Tags="|configuration|azure|azure-search|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22361" PostTypeId="1" AcceptedAnswerId="22363" CreationDate="2019-10-02T08:35:14.173" Score="1" ViewCount="685" Body="&lt;p&gt;After upgrading to Sitecore to 9.2 and SXA 1.9, personalisation on all renderings started to fail. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;When the page loads for the first time, the item is rendered as expected, however, any subsequent page refreshes result in rendering item not being displayed.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MyComponentRepository : ModelRepository, IMyComponentRepository&#xA;{&#xA;    public override IRenderingModelBase GetModel()&#xA;    {&#xA;        MyComponentModel model = new MyComponentModel();&#xA;        FillBaseProperties(model);&#xA;        var checkDataSource = model.DataSourceItem;&#xA;        return model;&#xA;    }&#xA;}&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found &lt;strong&gt;var checkDataSource = model.DataSourceItem;&lt;/strong&gt; was returning &lt;em&gt;null&lt;/em&gt; on page refresh.&lt;/p&gt;&#xA;" OwnerUserId="5696" LastEditorUserId="70" LastEditDate="2019-10-02T15:11:29.853" LastActivityDate="2019-10-29T08:55:24.100" Title="After upgrading to Sitecore 9.2 and SXA 1.9, why is Personalization is failing on all renderings?" Tags="|sxa|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22362" PostTypeId="2" ParentId="22360" CreationDate="2019-10-02T08:36:51.710" Score="0" Body="&lt;p&gt;Try defining your index like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;index id=&quot;project_master_index&quot; type=&quot;Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure&quot;&amp;gt;&#xA;    &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;connectionStringName&quot;&amp;gt;cloud.search&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;totalParallelServices&quot;&amp;gt;5&amp;lt;/param&amp;gt;&#xA;    &amp;lt;param desc=&quot;propertyStore&quot; ref=&quot;contentSearch/indexConfigurations/databasePropertyStore&quot; param1=&quot;$(id)&quot; /&amp;gt;&#xA;    &amp;lt;configuration ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration&quot;&amp;gt;&#xA;        &amp;lt;documentOptions ref=&quot;contentSearch/indexConfigurations/defaultCloudIndexConfiguration/documentOptions&quot;&amp;gt;&#xA;            &amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&#xA;            &amp;lt;exclude hint=&quot;list:AddExcludedField&quot;&amp;gt;&#xA;                &amp;lt;!-- Exclude fields which you don't want to have in the index --&amp;gt;&#xA;            &amp;lt;/exclude&amp;gt;&#xA;        &amp;lt;/documentOptions&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;    &amp;lt;strategies hint=&quot;list:AddStrategy&quot;&amp;gt;&#xA;        &amp;lt;strategy ref=&quot;contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster&quot; /&amp;gt;&#xA;    &amp;lt;/strategies&amp;gt;&#xA;    &amp;lt;commitPolicyExecutor type=&quot;Sitecore.ContentSearch.CommitPolicyExecutor, Sitecore.ContentSearch&quot;&amp;gt;&#xA;        &amp;lt;policies hint=&quot;list:AddCommitPolicy&quot;&amp;gt;&#xA;            &amp;lt;policy type=&quot;Sitecore.ContentSearch.ModificationCountCommitPolicy, Sitecore.ContentSearch&quot;&amp;gt;&#xA;                &amp;lt;Limit&amp;gt;1000&amp;lt;/Limit&amp;gt;&#xA;            &amp;lt;/policy&amp;gt;&#xA;        &amp;lt;/policies&amp;gt;&#xA;    &amp;lt;/commitPolicyExecutor&amp;gt;&#xA;    &amp;lt;locations hint=&quot;list:AddCrawler&quot;&amp;gt;&#xA;        &amp;lt;crawler type=&quot;Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch&quot;&amp;gt;&#xA;            &amp;lt;Database&amp;gt;master&amp;lt;/Database&amp;gt;&#xA;            &amp;lt;Root&amp;gt;/sitecore/Content/Site/home/projects&amp;lt;/Root&amp;gt;&#xA;        &amp;lt;/crawler&amp;gt;&#xA;    &amp;lt;/locations&amp;gt;&#xA;    &amp;lt;enableItemLanguageFallback&amp;gt;false&amp;lt;/enableItemLanguageFallback&amp;gt;&#xA;    &amp;lt;enableFieldLanguageFallback&amp;gt;false&amp;lt;/enableFieldLanguageFallback&amp;gt;&#xA;&amp;lt;/index&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I can confirm that the above configuration works fine for me. The &lt;code&gt;&amp;lt;indexAllFields&amp;gt;true&amp;lt;/indexAllFields&amp;gt;&lt;/code&gt; might do the trick for you. And just exclude what you don't need.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-10-02T08:36:51.710" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22363" PostTypeId="2" ParentId="22361" CreationDate="2019-10-02T08:37:24.660" Score="1" Body="&lt;p&gt;So, I inspected &lt;strong&gt;FillBaseProperties(model)&lt;/strong&gt; in the Sitecore.XA.Foundation.MVC dll:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;IRenderingModelBase renderingModelBase = (IRenderingModelBase)model;&#xA;renderingModelBase.Item = this.Rendering.Item;&#xA;renderingModelBase.PageItem = this.PageContext.Current;&#xA;renderingModelBase.Rendering = this.Rendering;&#xA;renderingModelBase.DataSourceItem = this.Rendering.DataSourceItem;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found that on first load, the &lt;strong&gt;this.Rendering.DataSourceItem&lt;/strong&gt; was populated with Sitecore Item GUID, however, on subsequent page refreshes, it was null. The this.Rendering.DataSource was always populated with &quot;local:/Data/myDataItem&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore Support have confirmed that this is a bug (reference number &lt;em&gt;362374&lt;/em&gt;) and have suggested the following fix which resolved our issue:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Go to App_Config\Modules\SXA\Foundation\Sitecore.XA.Foundation.XConnectIntegration.config and &lt;strong&gt;change&lt;/strong&gt; the following entry:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;mvc.customizeRendering&amp;gt;&#xA; &amp;lt;processor patch:after=&quot;*[@type='Sitecore.ContentTesting.Mvc.Pipelines.Response.CustomizeRendering.SelectVariation, Sitecore.ContentTesting.Mvc']&quot; type=&quot;Sitecore.XA.Foundation.LocalDatasources.Pipelines.CustomizeRendering.ResolveRenderingDatasource, Sitecore.XA.Foundation.XConnect.Integration&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;&amp;lt;/mvc.customizeRendering&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;To the following one:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt; &amp;lt;mvc.customizeRendering&amp;gt;&#xA;   &amp;lt;processor patch:after=&quot;*[@type='Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.Personalize, Sitecore.Mvc.Analytics']&quot; type=&quot;Sitecore.XA.Foundation.LocalDatasources.Pipelines.CustomizeRendering.ResolveRenderingDatasource, Sitecore.XA.Foundation.XConnect.Integration&quot; resolve=&quot;true&quot; /&amp;gt;&#xA; &amp;lt;/mvc.customizeRendering&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Also make sure that your &lt;strong&gt;web.config&lt;/strong&gt; has the following app setting with the value 'sxaxconnect':&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;add key=&quot;sxaxm:define&quot; value=&quot;sxaxconnect&quot; /&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5696" LastEditorUserId="5696" LastEditDate="2019-10-29T08:55:24.100" LastActivityDate="2019-10-29T08:55:24.100" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22364" PostTypeId="1" AcceptedAnswerId="22370" CreationDate="2019-10-02T10:46:45.483" Score="3" ViewCount="2387" Body="&lt;p&gt;I am trying to set-up Sitecore XP 9.2 standalone in Azure PAAS using &lt;code&gt;Sitecore Azure Toolkit 2.3.0 rev. 190410&lt;/code&gt; following the link at &lt;a href=&quot;https://doc.sitecore.com/developers/92/sitecore-experience-manager/en/walkthrough--deploying-a-new-sitecore-environment-to-the-microsoft-azure-app-service.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/92/sitecore-experience-manager/en/walkthrough--deploying-a-new-sitecore-environment-to-the-microsoft-azure-app-service.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The script fails  validation with the following log:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;New-AzureRmResourceGroupDeployment : 3:57:05 PM - Error: Code=InvalidContentLink; Message=Unable to download&#xA;deployment content from&#xA;'https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore&#xA;9.2.0/XPSingle/azuredeploy.json/azuredeploy.json'. The tracking Id is '9b6559dc-0199-4200-bff1-ca8dd4b0bd54'. Please&#xA;see https://aka.ms/arm-deploy for usage details.&#xA;At D:\Personal\Sitecore Azure Toolkit 2.3.0 rev. 190410\tools\Sitecore.Cloud.Cmdlets.psm1:115 char:35&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I do understand that the link getting logged is not able to open in the browser. &#xA;It should have been &lt;code&gt;&quot;https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.2.0/XPSingle/azuredeploy.json&quot;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I tried both below options but the output is the same.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;$SCTemplates=&#xA;&quot;&lt;a href=&quot;https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.2.0/XPSingle/azuredeploy.json&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%209.2.0/XPSingle/azuredeploy.json&lt;/a&gt;&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;$SCTemplates=&#xA;    &quot;&lt;a href=&quot;https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore&lt;/a&gt;&#xA;    9.2.0/XPSingle/azuredeploy.json&quot;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Any input will be helpful.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="1110" LastEditDate="2019-10-03T04:53:03.260" LastActivityDate="2019-10-29T08:27:21.303" Title="Error: Code=InvalidContentLink when deploying to Azure" Tags="|installation|paas|arm-template|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22365" PostTypeId="1" AcceptedAnswerId="23341" CreationDate="2019-10-02T11:41:13.700" Score="5" ViewCount="1267" Body="&lt;p&gt;In my Sitecore 9.1 installation I'm trying to use Federated Authentication and have almost successfully set it up.&#xA;When I click the &quot;log in&quot; button on my public website I'm redirected to the &lt;code&gt;OpenIDConnect&lt;/code&gt; site where I'm authenticating. I can see from Chrome Developer Tools that &lt;code&gt;OIDC&lt;/code&gt; performs the postback to Sitecore with the authorization code, so the &lt;code&gt;OIDC&lt;/code&gt; setup and authentication works. Sitecore, on the other hand, fails with &lt;code&gt;Unsuccessful login with external provider&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my log file I can see the following error:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;4716 12:58:56 ERROR Unable to get and an external login info via Microsoft.Owin.Security.AuthenticationManagerExtensions.GetExternalLoginInfoAsync. &#xA;Most probably the identity does not have a 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier' claim.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;According to &lt;a href=&quot;https://kb.sitecore.net/articles/252884&quot; rel=&quot;nofollow noreferrer&quot;&gt;this KB article&lt;/a&gt; this is because the OIDC does not provide a &lt;code&gt;nameidentifier&lt;/code&gt; claim. The OIDC provider I'm using does not send a &lt;code&gt;nameidentifier&lt;/code&gt; claim, so this makes sense.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That article conveniently has a solution (#1). However, that solution doesn't work!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've added the required &lt;code&gt;transformation&lt;/code&gt; tag, but I'm still getting &lt;code&gt;Unsuccessful login with external provider&lt;/code&gt;!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here's my complete configuration file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;settings&amp;gt;&#xA;      &amp;lt;setting name=&quot;FederatedAuthentication.Enabled&quot;&amp;gt;&#xA;        &amp;lt;patch:attribute name=&quot;value&quot;&amp;gt;true&amp;lt;/patch:attribute&amp;gt;&#xA;      &amp;lt;/setting&amp;gt;&#xA;    &amp;lt;/settings&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;owin.identityProviders&amp;gt;&#xA;        &amp;lt;processor type=&quot;MySolution.OidcIdentityProvider, MyAssembly&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;      &amp;lt;/owin.identityProviders&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;    &amp;lt;federatedAuthentication type=&quot;Sitecore.Owin.Authentication.Configuration.FederatedAuthenticationConfiguration, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;      &amp;lt;identityProvidersPerSites hint=&quot;list:AddIdentityProvidersPerSites&quot;&amp;gt;&#xA;        &amp;lt;mapEntry name=&quot;public&quot; type=&quot;Sitecore.Owin.Authentication.Collections.IdentityProvidersPerSitesMapEntry, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;sites hint=&quot;list&quot;&amp;gt;&#xA;            &amp;lt;site&amp;gt;website&amp;lt;/site&amp;gt;&#xA;          &amp;lt;/sites&amp;gt;&#xA;          &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;            &amp;lt;identityProvider ref=&quot;federatedAuthentication/identityProviders/identityProvider[@id='MyOidc']&quot; /&amp;gt;&#xA;          &amp;lt;/identityProviders&amp;gt;&#xA;          &amp;lt;externalUserBuilder type=&quot;Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;            &amp;lt;param desc=&quot;isPersistentUser&quot;&amp;gt;false&amp;lt;/param&amp;gt;&#xA;          &amp;lt;/externalUserBuilder&amp;gt;&#xA;        &amp;lt;/mapEntry&amp;gt;&#xA;      &amp;lt;/identityProvidersPerSites&amp;gt;&#xA;      &amp;lt;identityProviders hint=&quot;list:AddIdentityProvider&quot;&amp;gt;&#xA;        &amp;lt;identityProvider id=&quot;MyOidc&quot; type=&quot;Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;          &amp;lt;param desc=&quot;name&quot;&amp;gt;$(id)&amp;lt;/param&amp;gt;&#xA;          &amp;lt;param desc=&quot;domainManager&quot; type=&quot;Sitecore.Abstractions.BaseDomainManager&quot; resolve=&quot;true&quot; /&amp;gt;&#xA;          &amp;lt;caption&amp;gt;Log in with OpenIDConnect&amp;lt;/caption&amp;gt;&#xA;          &amp;lt;icon&amp;gt;sitecore/shell/themes/standard/Custom/24x24/profile.png&amp;lt;/icon&amp;gt;&#xA;          &amp;lt;domain&amp;gt;extranet&amp;lt;/domain&amp;gt;&#xA;          &amp;lt;transformations hint=&quot;list:AddTransformation&quot;&amp;gt;&#xA;            &amp;lt;transformation name=&quot;Idp Claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.SetIdpClaimTransform, Sitecore.Owin.Authentication&quot; /&amp;gt;&#xA;            &amp;lt;transformation name=&quot;Name Identifier Claim&quot; type=&quot;Sitecore.Owin.Authentication.Services.DefaultTransformation, Sitecore.Owin.Authentication&quot;&amp;gt;&#xA;              &amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;                &amp;lt;claim name=&quot;sub&quot; /&amp;gt;&#xA;              &amp;lt;/sources&amp;gt;&#xA;              &amp;lt;targets hint=&quot;raw:AddTarget&quot;&amp;gt;&#xA;                &amp;lt;claim name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier&quot; /&amp;gt;&#xA;              &amp;lt;/targets&amp;gt;&#xA;              &amp;lt;keepSource&amp;gt;false&amp;lt;/keepSource&amp;gt;&#xA;            &amp;lt;/transformation&amp;gt;&#xA;          &amp;lt;/transformations&amp;gt;&#xA;        &amp;lt;/identityProvider&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;    &amp;lt;/federatedAuthentication&amp;gt;&#xA;    &amp;lt;federatedAuthentication&amp;gt;&#xA;      &amp;lt;identityProviders&amp;gt;&#xA;        &amp;lt;identityProvider id=&quot;SitecoreIdentityServer&quot;&amp;gt;&#xA;          &amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&#xA;        &amp;lt;/identityProvider&amp;gt;&#xA;      &amp;lt;/identityProviders&amp;gt;&#xA;    &amp;lt;/federatedAuthentication&amp;gt;&#xA;&#xA;    &amp;lt;sites&amp;gt;&#xA;      &amp;lt;site name=&quot;shell&quot; set:loginPage=&quot;/sitecore/login&quot;/&amp;gt;&#xA;      &amp;lt;site name=&quot;admin&quot; set:loginPage=&quot;/sitecore/admin/login.aspx&quot;/&amp;gt;&#xA;    &amp;lt;/sites&amp;gt;&#xA;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The article said to transform from the following source claim:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;sources hint=&quot;raw:AddSource&quot;&amp;gt;&#xA;  &amp;lt;claim name=&quot;http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn&quot; /&amp;gt;&#xA;&amp;lt;/sources&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But seeing as I don't have a &lt;code&gt;upn&lt;/code&gt; claim from OIDC either, I want to convert the &lt;code&gt;sub&lt;/code&gt; claim, which is what I set up in the above configuration.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For good measure I also tried manually starting the transformation by attaching to the &lt;code&gt;SecurityTokenValidated&lt;/code&gt; notification in &lt;code&gt;OpenIdConnectAuthenticationOptions&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override void ProcessCore(IdentityProvidersArgs args) {&#xA;    args.App.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions {&#xA;        Authority = &quot;https://my.oidc&quot;,&#xA;        ClientId = &quot;myclient&quot;,&#xA;        ClientSecret = &quot;mysecret&quot;,&#xA;        Scope = &quot;openid myscopes&quot;,&#xA;        RedirectUri = &quot;https://mysite/identity/externallogincallback&quot;,&#xA;        AuthenticationType = GetAuthenticationType(),&#xA;        ResponseType = &quot;code&quot;,&#xA;        SignInAsAuthenticationType = GetAuthenticationType(),&#xA;        UseTokenLifetime = false,&#xA;        Notifications = new OpenIdConnectAuthenticationNotifications {&#xA;            SecurityTokenValidated = OnSecurityTokenValidated&#xA;        }&#xA;    });&#xA;}&#xA;&#xA;private Task OnSecurityTokenValidated(SecurityTokenValidatedNotification&amp;lt;OpenIdConnectMessage, OpenIdConnectAuthenticationOptions&amp;gt; context) {&#xA;    TransformationContext transformationContext = new TransformationContext(FederatedAuthenticationConfiguration, GetIdentityProvider());&#xA;    context.AuthenticationTicket.Identity.ApplyClaimsTransformations(transformationContext);&#xA;&#xA;    return Task.CompletedTask;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Though this didn't help either.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The OIDC authentication and redirection obviously works, but why does Sitecore complain that identity does not have a &lt;code&gt;nameidentifier&lt;/code&gt; claim when I've specifically said to transform the &lt;code&gt;sub&lt;/code&gt; claim to &lt;code&gt;nameidentifier&lt;/code&gt;, and how can I make this work?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After doing some more debugging I've come to the conclusion that the transform actually works. When debugging the &lt;code&gt;SecurityTokenValidated&lt;/code&gt; notification and looking at the &lt;code&gt;context.AuthenticationTicket.Identity&lt;/code&gt; object I can see that it now actually has the &lt;code&gt;nameidentifier&lt;/code&gt; claim, as can be evidenced from this screenshot:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/b8dwD.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/b8dwD.jpg&quot; alt=&quot;Quickwatch&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The Sitecore log still complains with the same error, though:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;4716 12:58:56 ERROR Unable to get and an external login info via Microsoft.Owin.Security.AuthenticationManagerExtensions.GetExternalLoginInfoAsync. &#xA;Most probably the identity does not have a 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier' claim.&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So something is obviously wrong, but I still don't know what to do.&lt;/p&gt;&#xA;" OwnerUserId="3587" LastEditorUserId="3587" LastEditDate="2019-10-04T09:59:01.207" LastActivityDate="2019-12-06T14:55:44.357" Title="Federated authentication with OpenIDConnect gives &quot;Unsuccessful login with external provider&quot;" Tags="|federated-authentication|openid-connect|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="22366" PostTypeId="1" CreationDate="2019-10-02T13:35:53.213" Score="2" ViewCount="194" Body="&lt;p&gt;I have added some SXA components to the page (say I have added a linklist SXA component to the Home item). I have also added the workflow to different Sitecore items (Home item is assigned a workflow but it is not assigned to the datasource of &lt;code&gt;LinkList&lt;/code&gt; SXA component). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The issue that I am facing is even if the Home item is in an approved workflow state, the state of the datasource of component &lt;code&gt;LinkList&lt;/code&gt; does not change to the approved state, it is still in draft state which breaks the Home page. I have to manually move the &lt;code&gt;LinkList&lt;/code&gt; datasource item to approved state to make the page work. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;My questions:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) When I have not assigned workflow to the datasource items, why are these items going into the workflow state at the first place?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Even if the item is going in the workflow state then, when the main item is in approved state, why all the components' datasource added to that item are not in the same state?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is not just happening with &lt;code&gt;LinkList&lt;/code&gt; component but many other SXA provided/customized components.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Am I missing something?&lt;/p&gt;&#xA;" OwnerUserId="5141" LastEditorUserId="70" LastEditDate="2019-10-02T14:07:44.033" LastActivityDate="2019-10-08T14:45:03.827" Title="Workflow is being assigned to datasource items that don't have an initial workflow assigned" Tags="|sxa|workflow|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22367" PostTypeId="1" AcceptedAnswerId="22368" CreationDate="2019-10-02T14:53:04.477" Score="1" ViewCount="353" Body="&lt;p&gt;I am not able to get glass to return items sorted correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have this code. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var options = new GetItemsByQueryOptions(new Query($&quot;&amp;lt;mypath&amp;gt;/*&quot;));&#xA;var myitems= this.contentRepository.GetItems&amp;lt;IMyType&amp;gt;(options)?.ToList();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It returns the correct items but not in the order they are sorted in the tree. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This code returns the items sorted as expected. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.Database.GetItems(&quot;mypath&quot;).ToList()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I found a post on here where it was said Glass returns the same order the Sitecore API does. The below API call does not return sorted so I assume Mike was talking about the above what which leaves me confused by Glass is not returning them sorted. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Sitecore.Context.Database.SelectItems(&quot;myquery&quot;).ToList()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am on Glass 5.4&lt;/p&gt;&#xA;" OwnerUserId="3681" LastActivityDate="2019-10-02T14:55:17.633" Title="Glass GetItems not returning sorted items" Tags="|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22368" PostTypeId="2" ParentId="22367" CreationDate="2019-10-02T14:55:17.633" Score="1" Body="&lt;p&gt;There is no such a thing like &quot;correct order or items returned by Sitecore query&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Only children of an item are sorted.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sort order information is stored on the parent item and if you use SitecoreChildren with Glass, you will get them in the order from Sitecore Content Tree, e.g.:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreChildren(IsLazy = false)]&#xA;public virtual IEnumerable&amp;lt;Child&amp;gt; Children { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-10-02T14:55:17.633" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="22369" PostTypeId="1" AcceptedAnswerId="22377" CreationDate="2019-10-02T16:01:36.480" Score="1" ViewCount="112" Body="&lt;p&gt;You've inherited a Prod/live Sitecore site.&#xA;The previous team's source control is wildly out of date and full of random junk. They were directly making code changes (for example .cshtml) to the Prod/live site's inetpub/MySCSite/Website/ folder and not tracking in source (yes, &lt;em&gt;barf&lt;/em&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How do you get source control setup for this site now? So that you can safely make changes in source and then deploy to the site.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume you would first find a way to separate base-install Sitecore files from the custom dev changes, correct? I.e. don't just grab the entire &lt;code&gt;Website/&lt;/code&gt; folder and put in source, correct?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I admit this is kind of similarto other questions, but mine is different and more specific:&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/5445/how-to-setup-sitecore-site-from-existing-database-and-website-folder&quot;&gt;How to setup sitecore site from existing database and website folder?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&quot;https://sitecore.stackexchange.com/questions/20023/how-to-use-sim-to-setup-dev-environment-for-existing-sitecore-instance&quot;&gt;How to use SIM to setup dev environment for existing Sitecore instance?&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Maybe this one too, but it's answers are not what I expect &lt;a href=&quot;https://sitecore.stackexchange.com/questions/540/sitecore-instance-manager-developer-environment-setup&quot;&gt;Sitecore Instance Manager developer environment setup&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="5086" LastEditorUserId="73" LastEditDate="2020-10-16T12:15:31.650" LastActivityDate="2020-10-16T12:15:31.650" Title="Organize/start source code from existing Sitecore instance" Tags="|sim|git|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22370" PostTypeId="2" ParentId="22364" CreationDate="2019-10-02T16:34:14.523" Score="1" Body="&lt;p&gt;In the file 'Sitecore.Cloud.Cmdlets.psm1', at line 115, replace &lt;code&gt;($ArmTemplateUrl -replace ' ', '%20')&lt;/code&gt; by the value copied from the browser.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-10-02T16:34:14.523" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22371" PostTypeId="1" AcceptedAnswerId="22373" CreationDate="2019-10-02T16:36:37.727" Score="6" ViewCount="891" Body="&lt;p&gt;We upgraded Sitecore 8.2 project to 9.1. Upgrade took around 1 month to finish and during this period, authors created/updated some items in old instance and they didn't  make a note of those items.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, now I want to compare both instances to find out items to migrate content from 8.2 to 9.1&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way to find out what items got updated/created in old instance? Can this be done using Sitecore Powershell Remoting?&lt;/p&gt;&#xA;" OwnerUserId="6124" LastActivityDate="2019-10-02T17:00:09.873" Title="Compare items between two instances" Tags="|powershell-extensions|content-migration|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22372" PostTypeId="2" ParentId="22371" CreationDate="2019-10-02T16:50:51.510" Score="5" Body="&lt;p&gt;Welcome to Sitecore stackexchange.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;RAZL &lt;a href=&quot;https://www.teamdevelopmentforsitecore.com/Razl&quot; rel=&quot;noreferrer&quot;&gt;RAZL&lt;/a&gt; - can be used to compare the items between two different Sitecore Instances. Please note this is a &quot;paid&quot; software.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Another option is to use &lt;a href=&quot;https://github.com/adoprog/Sitecore-Courier&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Courier&lt;/a&gt; - This open source module can compare sitecore serialized files in two folders and create a diff (update) package containing the differences.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is also more information on this other post which you can refer - &lt;a href=&quot;https://sitecore.stackexchange.com/questions/5046/comparing-a-sitecore-instance-with-a-vanilla-one&quot;&gt;Comparing a Sitecore instance with a vanilla one&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="106" LastActivityDate="2019-10-02T16:50:51.510" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22373" PostTypeId="2" ParentId="22371" CreationDate="2019-10-02T17:00:09.873" Score="7" Body="&lt;p&gt;There are a few options included with SPE out-of-the-box which could aid in accomplishing this task. The detail below is produced with SPE 6.0 but much of it was available in previous versions.&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Reports&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;There is a &lt;strong&gt;Content Report&lt;/strong&gt; called &lt;em&gt;Items last updated&lt;/em&gt; which can be used to find any items in the tree (typically content) that has changed after a specified date.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZwzZt.png&quot; alt=&quot;Example filtering criteria[1]&quot;&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;Comparing Instances&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;The following script provides a basic example at using SPE to compare the content between two instances beginning with the specified root item.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Clear-Host&#xA;$watch = [System.Diagnostics.Stopwatch]::StartNew()&#xA;&#xA;$Username = &quot;admin&quot;&#xA;$Password = &quot;b&quot;&#xA;$Source = &quot;https://abc.dev.local&quot;&#xA;$Destination = &quot;https://123.dev.local&quot;&#xA;&#xA;$localSession = New-ScriptSession -user $Username -pass $Password -conn $Source&#xA;$remoteSession = New-ScriptSession -user $Username -pass $Password -conn $Destination&#xA;&#xA;&#xA;$rootId = &quot;{37D08F47-7113-4AD6-A5EB-0C0B04EF6D05}&quot;&#xA;&#xA;$sourceItemIds = Invoke-RemoteScript -Session $localSession -ScriptBlock { &#xA;    $rootItem = Get-Item -Path &quot;master:&quot; -ID $using:rootId&#xA;&#xA;    $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join &quot;|&quot;&#xA;    $itemIds&#xA;} -Raw&#xA;&#xA;$destinationItemIds = Invoke-RemoteScript -Session $remoteSession -ScriptBlock {&#xA;    $rootItem = Get-Item -Path &quot;master:&quot; -ID $using:rootId&#xA;&#xA;    $itemIds = (@($rootItem) + @($rootItem.Axes.GetDescendants()) | Select-Object -ExpandProperty ID) -join &quot;|&quot;&#xA;    $itemIds&#xA;} -Raw&#xA;&#xA;$referenceIds = $sourceItemIds.Split(&quot;|&quot;, [System.StringSplitOptions]::RemoveEmptyEntries)&#xA;$differenceIds = $destinationItemIds.Split(&quot;|&quot;, [System.StringSplitOptions]::RemoveEmptyEntries)&#xA;&#xA;$queueIds = Compare-Object -ReferenceObject $referenceIds -DifferenceObject $differenceIds | &#xA;    Where-Object { $_.SideIndicator -eq &quot;&amp;lt;=&quot; } | Select-Object -ExpandProperty InputObject&#xA;&#xA;$watch.Stop()&#xA;$totalSeconds = $watch.ElapsedMilliseconds / 1000&#xA;Write-Host &quot;$($totalSeconds) seconds&quot; -ForegroundColor Yellow&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-10-02T17:00:09.873" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22374" PostTypeId="1" CreationDate="2019-10-02T18:55:57.623" Score="1" ViewCount="320" Body="&lt;p&gt;I've come across an instance where a client was using the Experience Editor to create a new version of a landing page and the components on the page did not increment the version number. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this expect behaviour? Or, should the components on the page also increment versions?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, the client wants to be able to revert back to the previous version for all the content (components) on the page and not just the page item itself.&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;Thanks everyone for contributing. It seems that the issue is with the SXA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;With &quot;regular&quot; Sitecore items, the versioning of components on a page is working as expected. See @hishaam's notes.&lt;/p&gt;&#xA;" OwnerUserId="1111" LastEditorUserId="70" LastEditDate="2019-10-04T14:53:57.327" LastActivityDate="2019-10-04T14:53:57.327" Title="How does Sitecore Experience Editor deal with component items on a page when a new version of a page is created?" Tags="|experience-editor|workflow|versions|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22376" PostTypeId="2" ParentId="12020" CreationDate="2019-10-02T21:18:23.603" Score="0" Body="&lt;p&gt;I were getting same scenario in our case which was as below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;We were using Sitecore Managed Cloud PaaS Scaled environment.&lt;/li&gt;&#xA;&lt;li&gt;In debug mode page performance show it was working fine. But actual page never worked, it was taking ages to come up.&lt;/li&gt;&#xA;&lt;li&gt;Then we checked for three thing in CM/CD role which were as below.&#xA;3.1 Is the caching enabled in Sitecore for those rendering/layouts/sublayouts and published--- this you need to check in CM role and if not enabled i would recommend to enable it and publish those.&#xA;3.2 In case of MVC implementation check if you are using precompiled MVC views recommended by Sitecore (&lt;a href=&quot;https://kb.sitecore.net/articles/672774).----&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/672774).----&lt;/a&gt; If not just follow section from mentioned KB article and configure precompiled MVC view to your implementation. This has to applied on both CM CD instances.&#xA;3.3 The last thing which we checked is Solr index update strategy on CD role which was unfortunately onPublishEndAsyncSingleInstance strategy. So we set that to Manual.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;As a result of doing all this we got everything working smooth and fast. This resolution also stopped one error which we were getting for time-out after deployment for first request.&lt;/p&gt;&#xA;" OwnerUserId="6125" LastActivityDate="2019-10-02T21:18:23.603" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22377" PostTypeId="2" ParentId="22369" CreationDate="2019-10-02T21:45:39.507" Score="1" Body="&lt;p&gt;Yes, you should not source control entire /website folder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I assume that team had made changes to files like cshtml, config, css etc and in that case you will need to compare vanilla version of Sitecore with your website folder and copy new files you find in website folder to source control straight away. There are so many tools available to do this but I personally prefer beyond compare software. It’s a paid software but it has trial version too.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you find configuration files updated directly then create patch files for them and store it in source control also make sure you update those config files to their original state in website folder and publish patch files to website.&lt;/p&gt;&#xA;" OwnerUserId="6124" LastActivityDate="2019-10-02T21:45:39.507" CommentCount="7" ContentLicense="CC BY-SA 4.0" />
  <row Id="22378" PostTypeId="2" ParentId="22113" CreationDate="2019-10-03T00:09:23.483" Score="0" Body="&lt;p&gt;It's great you resolved the issue. I observed something similar however is due to a TDS bug.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you are using the Powershell script generated by TDS to deploy the generated WebDeploy packages and the Sitecore items, and TDS version is before 6.0.0.7. Try upgrading it to 6.0.0.7 and above to avoid the issue.&lt;/p&gt;&#xA;" OwnerUserId="2261" LastEditorUserId="2261" LastEditDate="2019-10-03T00:15:11.623" LastActivityDate="2019-10-03T00:15:11.623" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22379" PostTypeId="2" ParentId="10759" CreationDate="2019-10-03T00:58:41.597" Score="1" Body="&lt;p&gt;Way 1: Use Module&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I can see this is an unconventional way to keep static files in Media Library but you can try below module if it can help as it performs magnification/bundling of js/css code added in item under nodes you need follow steps written in documentation.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Bundler.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://marketplace.sitecore.net/en/Modules/S/Sitecore_Bundler.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Way 2: You can minify files from your repo &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install Web Essential in Visual studio.&lt;/li&gt;&#xA;&lt;li&gt;After this open repo and add your file over there.&lt;/li&gt;&#xA;&lt;li&gt;Right click on js/css file you will get option from web essential to minify the files.&lt;/li&gt;&#xA;&lt;li&gt;Then you can upload file in Media library.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can also add configuration given from below link to web.config file to improve the performance. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/29373297/azure-website-slow-to-serve-static-js-css-but-not-binary&quot;&gt;https://stackoverflow.com/questions/29373297/azure-website-slow-to-serve-static-js-css-but-not-binary&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="6125" LastEditorUserId="6125" LastEditDate="2019-10-03T01:04:59.607" LastActivityDate="2019-10-03T01:04:59.607" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22380" PostTypeId="2" ParentId="18241" CreationDate="2019-10-03T01:32:14.983" Score="0" Body="&lt;p&gt;Same case we have in one of our implementation where we are using third party tool which created PDF of Journeys which we have in website. We resolved that in below fashion hope same will help you.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;First you need to get the IP(Public) address of the extension.&lt;/li&gt;&#xA;&lt;li&gt;Go to CM role of your Azure app.&lt;/li&gt;&#xA;&lt;li&gt;Then go to Networking under that go to Access Restrictions.&lt;/li&gt;&#xA;&lt;li&gt;Then whitelist the IP which you got from team.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Above resolved our issue and we haven't messed anything for CM website and this also allowed us CM website not make Public.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hope this will solve your issue&lt;/p&gt;&#xA;" OwnerUserId="6125" LastActivityDate="2019-10-03T01:32:14.983" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22381" PostTypeId="1" AcceptedAnswerId="22402" CreationDate="2019-10-03T04:52:36.837" Score="0" ViewCount="108" Body="&lt;p&gt;I am trying to install Sitecore 9.2 Standalone on Azure PAAS using &lt;strong&gt;Sitecore Azure Toolkit 2.3.0 rev. 190410&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I am following the steps provided at &lt;a href=&quot;https://doc.sitecore.com/developers/92/sitecore-experience-manager/en/walkthrough--deploying-a-new-sitecore-environment-to-the-microsoft-azure-app-service.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/92/sitecore-experience-manager/en/walkthrough--deploying-a-new-sitecore-environment-to-the-microsoft-azure-app-service.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I am facing an issue here as the script breaks after the provisioning state is marked as a success.&lt;/p&gt;&#xA;&lt;p&gt;The last log:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;VERBOSE: 9:45:02 AM - Created resource group 'october-2019' in location 'eastasia'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;After that my resource details are displayed on th screen.&lt;/p&gt;&#xA;&lt;p&gt;Then I got this error:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;New-AzureRmResourceGroupDeployment : 10:00:02 AM - Error: Code=InvalidTemplateDeployment; Message=The template deployment 'october-2019' is not valid according to the validation&#xA;procedure. The tracking id is 'c301cb8c-5e23-4e5e-8740-76ee6df2c747'. See inner errors for details.&#xA;At D:\Personal\Sitecore Azure Toolkit 2.3.0 rev. 190410\tools\Sitecore.Cloud.Cmdlets.psm1:117 char:35&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&#xA;New-AzureRmResourceGroupDeployment : 10:00:02 AM - Error: Code=InvalidServiceName; Message=Service name '-as' is invalid: Service name must only contain lowercase letters, digits or&#xA;dashes, cannot start or end with or contain consecutive dashes and is limited to 60 characters.&#xA;At D:\Personal\Sitecore Azure Toolkit 2.3.0 rev. 190410\tools\Sitecore.Cloud.Cmdlets.psm1:117 char:35&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&#xA;New-AzureRmResourceGroupDeployment : The deployment validation failed&#xA;At D:\Personal\Sitecore Azure Toolkit 2.3.0 rev. 190410\tools\Sitecore.Cloud.Cmdlets.psm1:117 char:35&#xA;+ ... eployment = New-AzureRmResourceGroupDeployment -Name $Name -ResourceG ...&#xA;+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : CloseError: (:) [New-AzureRmResourceGroupDeployment], InvalidOperationException&#xA;    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The following are the different combinations which I tried:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Oct&lt;/li&gt;&#xA;&lt;li&gt;October&lt;/li&gt;&#xA;&lt;li&gt;Oct-2019&lt;/li&gt;&#xA;&lt;li&gt;October2019&lt;/li&gt;&#xA;&lt;li&gt;october2019&lt;/li&gt;&#xA;&lt;li&gt;october-2019&lt;/li&gt;&#xA;&lt;li&gt;20191003&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Any input will be helpful.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-10-03T23:03:11.307" Title="Error: Code=InvalidServiceName | 9.2 PAAS set-up" Tags="|installation|paas|arm-template|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22382" PostTypeId="1" CreationDate="2019-10-03T06:00:49.420" Score="1" ViewCount="698" Body="&lt;p&gt;I ran the &lt;code&gt;command jss start:react&lt;/code&gt; , getting the error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Error occured while trying to proxy to:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt; localhost:3000/sitecore/api/jss/dictionary/myjssapp/en?sc_apikey=no-api-key-set. &#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I am working on a disconnected mode.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;My command prompt error&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;D:\JSS-REACT-APP\myjssapp&gt;jss start:react&#xA;&gt; npm run start:react --&#xA;&#xA;&gt; myjssapp@12.0.0 start:react D:\JSS-REACT-APP\myjssapp&#xA;&gt; react-scripts start&#xA;&#xA;[HPM] Proxy created: /sitecore  -&gt;  http://localhost:3042/&#xA;[HPM] Proxy created: /data/media  -&gt;  http://localhost:3042/&#xA;Starting the development server...&#xA;&#xA;Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`&#xA;Compiled with warnings.&#xA;&#xA;./src/components/YouTubeEmbed-Component/index.js&#xA;  Line 16:   elements must have a unique title property                                                        jsx-a11y/iframe-has-title&#xA;  Line 19:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text&#xA;&#xA;Search for the keywords to learn more about each warning.&#xA;To ignore, add // eslint-disable-next-line to the line before.&#xA;&#xA;[HPM] Error occurred while trying to proxy request /sitecore/api/jss/dictionary/myjssapp/en?sc_apikey=no-api-key-set from localhost:3000 to http://localhost:3042/ (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)&#xA;[HPM] Error occurred while trying to proxy request /sitecore/api/layout/render/jss?item=%2F&amp;sc_lang=en&amp;sc_apikey=no-api-key-set &#xA;&lt;/pre&gt;&#xA;" OwnerUserId="5972" LastEditorUserId="5387" LastEditDate="2019-10-03T07:24:44.243" LastActivityDate="2019-10-03T07:24:44.243" Title="Unhandled Rejection (TypeError): Cannot read property 'sitecore' of null" Tags="|jss|" AnswerCount="0" CommentCount="12" ContentLicense="CC BY-SA 4.0" />
  <row Id="22383" PostTypeId="1" CreationDate="2019-10-03T09:21:32.650" Score="3" ViewCount="246" Body="&lt;p&gt;The sitecore graphql gui uses websockets to communicate with the server. We have a site that is running under https, but it seems that the gui frontend always uses ws instead of switching to it's secure counterpart wss. And that of course does not work. I have been going through the sitecore graphql code and there seems to be now way to force wss, or is there? Or could we also turn off websockets completely?&lt;/p&gt;&#xA;" OwnerUserId="1973" LastActivityDate="2021-03-24T00:03:55.310" Title="Sitecore graphql gui does not work over https" Tags="|graphql|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22384" PostTypeId="1" CreationDate="2019-10-03T10:08:42.540" Score="-2" ViewCount="2851" Body="&lt;p&gt;I am getting log warnings as below when trying to install one package on fresh Sitecore 9.0.2 instance. I don't understand why its getting restarted again.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any app pool setting which causes such behavior?&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;WARN  Shutdown message: Change Notification for critical directories.&#xA;  &lt;br&gt;bin dir change or directory rename&lt;br&gt;&#xA;  Hosting Environment initiated shutdown&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1422" LastEditorUserId="342" LastEditDate="2019-10-16T21:13:14.927" LastActivityDate="2019-10-21T19:48:01.297" Title="Hosting Environment initiated shutdown" Tags="|packages|" AnswerCount="2" CommentCount="8" ClosedDate="2023-02-24T09:11:46.520" ContentLicense="CC BY-SA 4.0" />
  <row Id="22385" PostTypeId="1" AcceptedAnswerId="22387" CreationDate="2019-10-03T10:25:10.630" Score="5" ViewCount="64" Body="&lt;p&gt;Is it supported to add the same rendering to two (or more) different cache settings items?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Currently, there is no warning if you do so, but I'm unsure if this is a valid thing to do or not?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/up1wH.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/up1wH.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="137" LastActivityDate="2019-10-03T11:06:34.620" Title="Can you add the same rendering to multiple SXA Cache Settings items" Tags="|sxa|presentation|caching|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22387" PostTypeId="2" ParentId="22385" CreationDate="2019-10-03T11:06:34.620" Score="6" Body="&lt;p&gt;You can answer this question on your own by using DotPeek. The &lt;code&gt;GetSiteLevelCaching&lt;/code&gt; processor in &lt;code&gt;GetRenderingCaching&lt;/code&gt; pipeline is responsible for processing those items. The code looks like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Process(GetRenderingCachingArgs args)&#xA;{&#xA;    ...&#xA;&#xA;    var renderingId = args.Rendering.RenderingItem?.ID.ToString() ?? args.Rendering.RenderingItemPath;&#xA;    foreach (Item cacheSetting in cachingFolder.Children)&#xA;    {&#xA;        ...&#xA;&#xA;        if (!cacheSetting[Templates.CacheSettings.Fields.Renderings].Contains(renderingId))&#xA;        {&#xA;            continue;&#xA;        }&#xA;&#xA;        PopulateCacheOptions(args.Rendering, cacheSetting);&#xA;        args.Rendering[Constants.InheritedCaching] = &quot;1&quot;;&#xA;&#xA;        break;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;As you can see, there is a &lt;code&gt;break&lt;/code&gt; statement in the main loop. That means that when there is a CacheSetting item which will contain current rendering, we will read caching settings and break the loop. In other words - only the first CacheSetting item containing particular rendering will be processed.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-10-03T11:06:34.620" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22388" PostTypeId="1" CreationDate="2019-10-03T11:37:35.663" Score="2" ViewCount="143" Body="&lt;p&gt;We are currently using Google Analytics in the website. We would like to apply personalization on the website based on user behavior. Can we utilize GA Data for executing Sitecore Personalize rules? Example: If user visit specific content related to electronic product which is getting tracked in GA then in next visit that user should view home banner related to electronics product. Can we set Persona and rule in Sitecore which will utilize GA data? or is xDB must for this?  &lt;/p&gt;&#xA;" OwnerUserId="3943" LastActivityDate="2019-10-03T11:41:07.457" Title="Can we utilize GA data instead of Sitecore xDB for personalization?" Tags="|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22389" PostTypeId="2" ParentId="22388" CreationDate="2019-10-03T11:41:07.457" Score="3" Body="&lt;p&gt;From what I know there is no way to ask Google Analytics engine to get historical data for a single user which currently visits your site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore personalization uses historical information of a contact which is stored in xDB. At any time, one site can get that data and execute actions based on it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It's not possible with GA to get that data. So the answer is: no, you cannot personalize utilizing GA data.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-10-03T11:41:07.457" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22390" PostTypeId="1" AcceptedAnswerId="22391" CreationDate="2019-10-03T11:54:05.543" Score="6" ViewCount="752" Body="&lt;p&gt;I started a large publish job but had to close the browser before it finished. How do I check whether it's complete or not?&lt;/p&gt;&#xA;" OwnerUserId="342" LastActivityDate="2019-10-03T20:13:59.533" Title="Check publishing status after closing browser" Tags="|publishing|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22391" PostTypeId="2" ParentId="22390" CreationDate="2019-10-03T11:54:05.543" Score="6" Body="&lt;h1&gt;Publishing &lt;em&gt;without&lt;/em&gt; Publishing Service&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you have not installed the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Publishing Service&lt;/a&gt;, then the easiest way to check is by loading the Jobs Viewer admin page at &lt;code&gt;https://your-sitecore-server/sitecore/admin/jobs.aspx&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/9RkFf.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/9RkFf.png&quot; alt=&quot;Jobs viewer admin page&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If it is still running, it will show up in the &lt;strong&gt;Running jobs&lt;/strong&gt; section with the progress number incrementing as you would see in the publish dialog.&lt;/p&gt;&#xA;&#xA;&lt;h1&gt;Publishing &lt;em&gt;with&lt;/em&gt; Publishing Service&lt;/h1&gt;&#xA;&#xA;&lt;p&gt;If you are using the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Publishing_Service.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Publishing Service&lt;/a&gt;, you'll need to check the Publishing Dashboard instead at &lt;code&gt;https://your-sitecore-server/sitecore/client/Applications/Publishing/Dashboard&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Z1gDr.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Z1gDr.png&quot; alt=&quot;Publishing dashboard&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="342" LastEditorUserId="342" LastEditDate="2019-10-03T20:13:59.533" LastActivityDate="2019-10-03T20:13:59.533" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22393" PostTypeId="2" ParentId="22384" CreationDate="2019-10-03T14:00:09.753" Score="4" Body="&lt;p&gt;In your comment, you say:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;its ucommerce package, which adds few dll's.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;The package is updating DLLs which are being placed in the &lt;code&gt;bin&lt;/code&gt; directory. When you update DLLs, Sitecore needs to restart in order to load those DLLs. This is normal behavior. The log message you see is Sitecore telling you that it is restarting due to a change in DLLs in the &lt;code&gt;bin&lt;/code&gt; directory.&lt;/p&gt;&#xA;" OwnerUserId="1515" LastActivityDate="2019-10-03T14:00:09.753" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22394" PostTypeId="1" AcceptedAnswerId="22395" CreationDate="2019-10-03T15:00:04.953" Score="0" ViewCount="503" Body="&lt;p&gt;One of the ways to conduct search via ItemService's RESTful API is through a stored query, as per the docs:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;You use this method to run (“execute”) a query that is stored in a Sitecore item (a “query definition item”.)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;So where can I find this &quot;query definition item?&quot;&lt;/p&gt;&#xA;" OwnerUserId="2882" LastActivityDate="2019-10-03T15:20:09.700" Title="ItemService API - Where's the Query Definition Item?" Tags="|itemservice|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22395" PostTypeId="2" ParentId="22394" CreationDate="2019-10-03T15:11:23.137" Score="2" Body="&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/the-restful-api-for-the-itemservice.html#UUID-2236f007-67ad-f8df-29dd-03125982edf0_id__Ref390760406&quot; rel=&quot;nofollow noreferrer&quot;&gt;According to Sitecore documentation&lt;/a&gt; you can run query stored on an item using&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;/item/{id}/query&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;url. You must replace the &lt;code&gt;{id}&lt;/code&gt; part with the item which stores the query, e.g.&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;/sitecore/api/ssc/item/110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9/query&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;You can add more parameters, e.g. &lt;strong&gt;pageSize, page, database, includeStandardTemplateFields, fields&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;&lt;code&gt;/sitecore/api/ssc/item/110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9/query?pageSize=10&amp;amp;page=5&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;Description for all of the can be found in the link above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is a &lt;code&gt;Query Definition&lt;/code&gt; template which you should use to store your query. Just create an item using that template. You can find it in Sitecore with &lt;code&gt;/sitecore/templates/System/Services/Item Service/Query/Query Definition&lt;/code&gt; path:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/C1gVa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/C1gVa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="277" LastEditorUserId="277" LastEditDate="2019-10-03T15:20:09.700" LastActivityDate="2019-10-03T15:20:09.700" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22396" PostTypeId="1" CreationDate="2019-10-03T20:03:42.700" Score="0" ViewCount="172" Body="&lt;p&gt;I am one of the Sitecore developer of a large Sitecore site, I have been assigned to clean up a project that cleans up a lot of the error logs, These are the errors logs, but since I am new to the project I cant find where these data sources are referenced, also this is a huge site, so clicking each item and checking is not a go.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Logs&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;NOT A VALID DATASOURCE ERRORS&#xA;&#xA;//55 TIMES&#xA;6752 11:37:28 WARN  '{E99DFA50-A1F7-4534-B728-6D36DA85FEEB}' is not valid datasource.&#xA;&#xA;&#xA;//52 TIMES&#xA;//THESE 3 ALWAYS AT THE SAME TIME, SHOULD BE ON SAME PAGE&#xA;4856 11:38:19 WARN  '{8928869D-C464-44B9-BC5D-A9910FDFF69D}' is not valid datasource.&#xA;4856 11:38:19 INFO  view /Views/Render/check/HTML/Hshotthere.cshtml does not have any version of the data source item&#xA;4856 11:38:19 WARN  '{57C4C5FF69DE-4D88-ADEC-FACCFF69D383A27B3}' is not valid datasource.&#xA;&#xA;&#xA;//11 TIMES&#xA;7144 11:32:29 WARN  '{FF69D-21FF69D98-4FEF-BB0E-88A107FF69DA21382}' is not valid&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="5032" LastEditorUserId="70" LastEditDate="2019-10-03T20:25:04.740" LastActivityDate="2019-10-03T20:33:40.080" Title="How to find errors that referenced in Error logs?" Tags="|logging|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22397" PostTypeId="1" AcceptedAnswerId="22398" CreationDate="2019-10-03T20:10:53.493" Score="4" ViewCount="609" Body="&lt;p&gt;I am playing around with JSS App with &lt;strong&gt;Sitecore 9.1.0 (rev. 001564)&lt;/strong&gt;. I have followed the youtube video for &lt;a href=&quot;https://www.youtube.com/watch?v=XNQGsr9_34A&quot; rel=&quot;nofollow noreferrer&quot;&gt;Build Your First JSS App&lt;/a&gt; and I have been stuck at one point where I need to create the API Keys to integrate JSS App with my Sitecore instance as shown below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PGUup.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PGUup.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I could not find the Services folder under which API Keys should be created:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/AyOvy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AyOvy.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I checked the steps multiple times and did not miss any step until the API Keys are created.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Do I need to install any other package or module for this or I have missed something while installing Sitecore instance?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is a fresh Sitecore 9.1 instance and I did not get any issue/error while installing.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any help/pointer is much appreciated.&lt;/p&gt;&#xA;" OwnerUserId="3133" LastEditorUserId="4050" LastEditDate="2019-10-16T21:46:11.690" LastActivityDate="2019-10-16T21:46:11.690" Title="Not able to create API keys for JSS App in core database - Sitecore 9.1 and JSS" Tags="|jss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22398" PostTypeId="2" ParentId="22397" CreationDate="2019-10-03T20:21:49.220" Score="6" Body="&lt;p&gt;On Sitecore 9.1, you should use the &lt;code&gt;master&lt;/code&gt; database instead of the &lt;code&gt;core&lt;/code&gt;. This has been changed in Sitecore 9.1 as specified in the &lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/91/Sitecore%20Experience%20Platform%2091%20Initial%20Release/Release%20Notes&quot; rel=&quot;noreferrer&quot;&gt;Release Notes&lt;/a&gt;. There is no more the need of the &lt;code&gt;core&lt;/code&gt; database on a CD Server as Sitecore security membership provider is not used.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, due to this, they moved the &lt;code&gt;Services&lt;/code&gt; folder to the master database. On master database, navigate to the path &lt;code&gt;/sitecore/system/Settings/Services/API Keys&lt;/code&gt; and it is there that you'll be able to create the API Key.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can also have more information on creating an API Key at &lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-manager/en/api-keys-for-the-odata-item-service.html&quot; rel=&quot;noreferrer&quot;&gt;Sitecore 9.1 documentation&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-10-03T20:21:49.220" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22399" PostTypeId="2" ParentId="22396" CreationDate="2019-10-03T20:33:40.080" Score="3" Body="&lt;p&gt;You could do this with the &lt;strong&gt;Broken Links&lt;/strong&gt; report in Sitecore PowerShell Extensions.  &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install the latest version of Sitecore PowerShell Extensions&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;In the reporting menu, find the &lt;code&gt;Broken Links&lt;/code&gt; report:&#xA;&lt;a href=&quot;https://i.stack.imgur.com/fnacN.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fnacN.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Select the home page or site root you want to search. Make sure you only select &lt;code&gt;Internal Links&lt;/code&gt;:&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Acom1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Acom1.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Look in the report for broken links in the &lt;code&gt;__Final Renderings&lt;/code&gt; field.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/cP94i.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/cP94i.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;That will give you all the places where a datasource item is being referenced, that no longer exists. As for fixing, that is probably a more manual process.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-10-03T20:33:40.080" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22400" PostTypeId="2" ParentId="22374" CreationDate="2019-10-03T21:53:00.807" Score="1" Body="&lt;p&gt;By default, when you apply a workflow on an item and it has been updated, a new version should be created for this item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As your page has a workflow and not your component datasource, it is the expected behaviour that the version is not incremented.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now, if you have a workflow on the page, when the user will need to update it, he/she will require to &lt;code&gt;Lock and Edit&lt;/code&gt; the item. This is when a new version is added to the page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After you have applied a workflow on the datasource item, you should test it with a non Admin account as this will bypass the workflow. I have tested this on my local instance and with an Admin user, the version is not incremented even if there is a workflow on it while using a content author account, the version of that particular component datasource is incremented by 1 including the page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to still apply the workflow mechanism for admin users, you'll need to implement a handler which will get triggered on the item save event. The purpose of the handler is to change the workflow of a particular item / datasource even for admin users.&lt;/p&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-10-03T21:53:00.807" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22401" PostTypeId="2" ParentId="18347" CreationDate="2019-10-03T22:59:25.443" Score="5" Body="&lt;p&gt;Had the same exact issue here, including the same message in the log file.  In addition to deleting tickets from the Core database per Krishna's instructions, I had to delete the tickets from the Web database as well.  (There were no tickets in the Core database, but there was one in Web.)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I used the following SQL for Web database -- note that the LIKE expression is different from Krishna's:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;DELETE FROM [YourWebDatabase].[dbo].[Properties] WHERE [Key] LIKE '%SC_TICKET%'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;After deleting this ticket record (and without restarting IIS or deleting cookies) I re-attempted to log in at the &quot;/sitecore&quot; URL, and this time everything worked, with no more error page!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;(I'm on Sitecore 9.2.  As far as I'm concerned this constitutes a flaw or bug in the product, as my usage of Sitecore has been fairly routine.  I believe my session timed out while I was in Experience Editor, which may be related to the appearance of the error afterward.  The username I was using was &quot;admin&quot;.)&lt;/p&gt;&#xA;" OwnerUserId="6123" LastActivityDate="2019-10-03T22:59:25.443" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22402" PostTypeId="2" ParentId="22381" CreationDate="2019-10-03T23:03:11.307" Score="1" Body="&lt;p&gt;You'll get this if the &lt;code&gt;deploymentId&lt;/code&gt; parameter is somehow not being set correctly. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The key error message you provided:&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;Service name '-as' is invalid&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&#xA;&lt;p&gt;This is the Azure Search resource name, which is prepended by the &lt;code&gt;deploymentId&lt;/code&gt; parameter.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The &lt;a href=&quot;https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/Sitecore%209.2.0/XPSingle&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Azure Quickstart Templates&lt;/a&gt; says&lt;/p&gt;&#xA;&#xA;&lt;blockquote&gt;&#xA;  &lt;p&gt;The deploymentId and licenseXml parameters in azuredeploy.parameters.json are filled in by the PowerShell script using Name and LicenseXmlPath parameters respectively.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;" OwnerUserId="1278" LastActivityDate="2019-10-03T23:03:11.307" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22404" PostTypeId="2" ParentId="10759" CreationDate="2019-10-04T10:08:47.370" Score="1" Body="&lt;p&gt;However it is not recommended to keep your css and js files in sitecore media library but as you have already decided then you could use SquishIt libraries to bundle and minimize your css and js:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Link : &lt;a href=&quot;https://www.nuget.org/packages/SquishIt&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.nuget.org/packages/SquishIt&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sample code you need to write in your view file:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    @using SquishIt.Framework;&#xA;&#xA;    @Html.Raw(SquishIt.Framework.Bundle.JavaScript()&#xA;.Add(&quot;/~/media/Sample1.js&quot;)&#xA;.Add(&quot;/~/media/Sample2.js&quot;).ForceRelease().Render(&quot;~/myscripts/combined_#.js&quot;))                                            &#xA;&#xA;    @Html.Raw(SquishIt.Framework.Bundle.Css()&#xA;.Add(&quot;/~/media/Sample1.css&quot;)&#xA;.Add(&quot;/~/media/Sample2.css&quot;).ForceRelease().Render(&quot;~/mycss/combined_#.css&quot;))&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5542" LastActivityDate="2019-10-04T10:08:47.370" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22406" PostTypeId="2" ParentId="15433" CreationDate="2019-10-04T15:37:11.923" Score="3" Body="&lt;p&gt;Here's a better script I used. The reasons are the original script doesn't reference the root variable, and the else clause prints the item name ... which just was found to be null or empty in the if clause.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$sourcePath = &quot;/sitecore/media library/DEV/testmove&quot;&#xA;$targetPath = &quot;/sitecore/media library/DEV&quot;&#xA;$optionalTemplateNameToMatch = &quot;&quot;&#xA;# optional template get children line&#xA;# Get-ChildItem $sourcePath -Recurse | Where-Object { $_.TemplateName -match $optionalTemplateNameToMatch } | ForEach-Object {   &#xA;&#xA;Get-ChildItem $sourcePath -Recurse | ForEach-Object { &#xA;    $name = $_.Name&#xA;    if(![string]::IsNullOrEmpty($name))&#xA;    {&#xA;        Move-Item -Path $_.ItemPath -Destination $targetPath;&#xA;        Write-Host &quot;Item moved to: &quot;$_.ItemPath;&#xA;    }&#xA;    else&#xA;    {&#xA;        Write-Host &quot;Couldn’t move Item because empty name: &quot; $_.Id;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5674" LastActivityDate="2019-10-04T15:37:11.923" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22408" PostTypeId="1" AcceptedAnswerId="23505" CreationDate="2019-10-05T09:50:46.330" Score="5" ViewCount="462" Body="&lt;p&gt;Environment: &lt;strong&gt;Sitecore 9.0.2 + Glassmapper&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am trying to create a component like this.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/AJiD0.jpg&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/AJiD0.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So in the template, for the images (stored in Sitecore Media Library), I have taken a field of type TreeListEx.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;From a TreeListEx type field, Sitecore returns the item-ids of the selected item.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, when I use the syntax &lt;code&gt;@Html.Glass().RenderImage(item, x =&amp;gt; x, null, true)&lt;/code&gt;, the parameter &lt;code&gt;item&lt;/code&gt; is the Sitecore Id of the image item and the output of the above syntax is an empty string.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Am I missing something?&lt;/li&gt;&#xA;&lt;li&gt;Should I make a call to Sitecore for each media item Id to get the item and pass it to the Glass Mapper?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;I did saw the link &lt;a href=&quot;https://horizontalintegration.blog/2018/02/07/sitecore-glass-mapper-gettargetobjectoflamba-exception/&quot; rel=&quot;noreferrer&quot;&gt;https://horizontalintegration.blog/2018/02/07/sitecore-glass-mapper-gettargetobjectoflamba-exception/&lt;/a&gt; and believe Ram is also passing the Id.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2020-01-02T12:04:54.160" Title="Rendering images through TreelistEx" Tags="|media-library|glass-mapper|" AnswerCount="2" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22409" PostTypeId="1" CreationDate="2019-10-05T09:51:19.417" Score="4" ViewCount="221" Body="&lt;p&gt;We are seeing a steady memory growth on our Sitecore 8.2 update 1 application. We had AUTOFAC DI previously and have been completely replaced with Sitecore OOB MS DI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We followed some guidance from blog post below in order to make sure that Pipeline Processors respects the Scoped lifetime.&#xA;&lt;a href=&quot;https://www.coreysmith.co/sitecore-dependency-injection-scoped-services/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.coreysmith.co/sitecore-dependency-injection-scoped-services/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;RESULT:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The CPU is a lot better with the Sitecore OOB DI container. However, slight memory growth still exists.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I'm expecting that after a certain period of load test the memory should stabilize and should drop down once the load test is stopped. But it's not happening:&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/6Sx7H.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/6Sx7H.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Memory Dump shows IDisposable collection holding lots of SitecoreRequestScopeModule. _transientDisposables private collection of Microsoft.Extensions.DependencyInjection.ServiceProvider class&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/NQg0v.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/NQg0v.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Service Configuration:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void Configure(IServiceCollection serviceCollection)&#xA;{&#xA;    //For getting a SitecoreService for any database&#xA;    serviceCollection.AddSingleton&amp;lt;Func&amp;lt;Database, ISitecoreService&amp;gt;&amp;gt;(_ =&amp;gt; CreateSitecoreService);&#xA;&#xA;    serviceCollection.AddScopedWithFuncFactory&amp;lt;ISitecoreService&amp;gt;(_ =&amp;gt; CreateSitecoreContextService());&#xA;&#xA;&#xA;    serviceCollection.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies()&#xA;        .Where(assembly =&amp;gt; assembly.GetName().Name.Contains(&quot;Digital&quot;)).ToArray());&#xA;&#xA;&#xA;    serviceCollection.AddScopedWithFuncFactory&amp;lt;ILoggerService&amp;gt;(c =&amp;gt; new LoggerService(_Constants.WebLoggerName));&#xA;&#xA;}&#xA;&#xA;private static T Get&amp;lt;T&amp;gt;()&#xA;{&#xA;    return ServiceLocator.ServiceProvider.GetService&amp;lt;T&amp;gt;();&#xA;}&#xA;&#xA;private static ISitecoreService CreateSitecoreContextService()&#xA;{&#xA;    var sitecoreServiceThunk = Get&amp;lt;Func&amp;lt;Database, ISitecoreService&amp;gt;&amp;gt;();&#xA;    return sitecoreServiceThunk(global::Sitecore.Context.Database);&#xA;}&#xA;&#xA;private static ISitecoreService CreateSitecoreService(Database database)&#xA;{&#xA;    return new SitecoreService(database);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Pipeline Processor Injection:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class AssignQuotationSession : RequestBeginProcessor&#xA;    {&#xA;        protected readonly Func&amp;lt;ILoggerService&amp;gt; _scopeLoggerService;&#xA;        private readonly Func&amp;lt;ISitecoreService&amp;gt; _scopeSitecoreService;&#xA;&#xA;        public AssignQuotationSession(Func&amp;lt;ILoggerService&amp;gt; loggerService, Func&amp;lt;ISitecoreService&amp;gt; SitecoreService)&#xA;        {&#xA;            _scopeLoggerService = loggerService;&#xA;            _scopeSitecoreService = SitecoreService;&#xA;        }&#xA;&#xA;        public override void Process(RequestBeginArgs args)&#xA;        {&#xA;            Assert.ArgumentNotNull(args, &quot;args&quot;);            &#xA;&#xA;            var loggerService = _scopeLoggerService();&#xA;            var sitecoreService = _scopeSitecoreService();&#xA;            ....&#xA;            }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Sitecore Service that wraps Glass SitecoreService&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SitecoreService : IContentService, IDisposable&#xA;    {&#xA;        private readonly ISitecoreService _context;&#xA;&#xA;        /// &amp;lt;summary&amp;gt;&#xA;        /// Initializes a new instance of the &amp;lt;see cref=&quot;SitecoreRepository&quot;/&amp;gt; class.&#xA;        /// &amp;lt;/summary&amp;gt;&#xA;        /// &amp;lt;param name=&quot;context&quot;&amp;gt;Sitecore context.&amp;lt;/param&amp;gt;&#xA;        public SitecoreService(ISitecoreService context)&#xA;        {&#xA;            if (context == null)&#xA;            {&#xA;                throw new ArgumentNullException(&quot;context&quot;);&#xA;            }&#xA;&#xA;            this._context = context;&#xA;        }&#xA;&#xA;        public TModel GetEntity&amp;lt;TModel&amp;gt;(string identity) where TModel : class&#xA;        {&#xA;            return this._context.GetItem&amp;lt;TModel&amp;gt;(identity);&#xA;        }&#xA;&#xA;        public void Dispose()&#xA;        {&#xA;            _context.Dispose();&#xA;        }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any suggestion on what we may be doing wrong here? &lt;br&gt;This thread talks about the potential cause:&#xA;&lt;a href=&quot;https://github.com/aspnet/AspNetCore/issues/5496&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/aspnet/AspNetCore/issues/5496&lt;/a&gt;&#xA;&lt;a href=&quot;https://github.com/aspnet/DependencyInjection/issues/456&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/aspnet/DependencyInjection/issues/456&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Not too sure if we need to create a scope first and wrap it in a &lt;code&gt;using&lt;/code&gt; statement. I've been told that &lt;code&gt;SitecoreRequestScopeModule&lt;/code&gt; will do all cleanup. But it doesn't look like it...&lt;/p&gt;&#xA;" OwnerUserId="316" LastEditorUserId="342" LastEditDate="2019-10-16T21:07:37.713" LastActivityDate="2019-10-16T21:07:37.713" Title="SitecoreRequestScopeModule holding many objects leading to memory leak" Tags="|glass-mapper|performance-optimization|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22410" PostTypeId="2" ParentId="22343" CreationDate="2019-10-05T14:25:23.547" Score="1" Body="&lt;p&gt;The databases &lt;em&gt;processing.pools&lt;/em&gt; and &lt;em&gt;processing.tasks&lt;/em&gt; are used by the analytics processing agents. If your instance has a &lt;em&gt;Standalone&lt;/em&gt; or &lt;em&gt;Processing&lt;/em&gt; role in &lt;em&gt;web.config&lt;/em&gt;, these agents will be executed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You will need to set up the connection strings if you plan on using Experience Analytics.&lt;/p&gt;&#xA;" OwnerUserId="681" LastActivityDate="2019-10-05T14:25:23.547" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22411" PostTypeId="2" ParentId="22149" CreationDate="2019-10-05T14:55:00.130" Score="0" Body="&lt;p&gt;Assuming you're trying to access the current interaction from an ASP.NET WebApi controller. You will need to do the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/9594229/accessing-session-using-asp-net-web-api&quot;&gt;Enable Session state for WebApi routes&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Call Tracker.StartTracking() explicitly&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Use Tracker.Current to access the current contact and interaction&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;You can then access your current interaction and contact data&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (!Tracker.IsActive)&#xA;{&#xA;    Tracker.StartTracking();&#xA;}&#xA;&#xA;// Now access through Tracker.Current.Interaction&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="681" LastActivityDate="2019-10-05T14:55:00.130" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22412" PostTypeId="2" ParentId="22408" CreationDate="2019-10-05T15:03:27.717" Score="2" Body="&lt;p&gt;You can create a new child item template lets say &lt;code&gt;ChildImage&lt;/code&gt; template which will contain the &lt;code&gt;Image&lt;/code&gt; field. Parent template will have &lt;code&gt;TreeListEx&lt;/code&gt; field which will allow to select child items (&lt;code&gt;ChildImage&lt;/code&gt;).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Parent Datasource&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dIAxD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dIAxD.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;&lt;strong&gt;&lt;em&gt;ChildImage&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/jB9Fk.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/jB9Fk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Class&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreType(TemplateId=I_ImageListConstants.TemplateIdString )] &#xA;public partial interface I_ImageList : IGlassBase &#xA;{&#xA;    [SitecoreField(I_ImageListConstants.SlidesFieldName)]&#xA;    IEnumerable&amp;lt;_ChildImage&amp;gt; Images  {get; set;}    &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;&lt;em&gt;View&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach (var i in Images)&#xA;{               &#xA;    @RenderImage(i, x =&amp;gt; x.Image,  isEditable: true)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="2152" LastEditorUserId="1606" LastEditDate="2019-10-06T20:16:10.997" LastActivityDate="2019-10-06T20:16:10.997" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22413" PostTypeId="1" AcceptedAnswerId="22415" CreationDate="2019-10-06T02:55:07.193" Score="2" ViewCount="318" Body="&lt;p&gt;By Sitecore website root I mean the SIM-installed site at &lt;code&gt;C:/inetpub/MySCSite1/Website&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Or should the Visual Studio solution, and thus source control base, be OUTSIDE/separate from the Sitecore website root? like &lt;code&gt;C:/MyProjects/Sitecore/MySCSite1&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="5086" LastEditorUserId="73" LastEditDate="2020-10-16T12:15:23.907" LastActivityDate="2020-10-16T12:15:23.907" Title="Should you create your Visual Studio Solution inside the Sitecore website root?" Tags="|installation|visual-studio|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22414" PostTypeId="2" ParentId="22413" CreationDate="2019-10-06T10:26:43.057" Score="3" Body="&lt;p&gt;Yes, you can create the Visual Studio project inside the webroot of a Sitecore install. But It is not a recommended practice. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Things to consider for Visual Studio project inside the webroot&lt;/strong&gt;-&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Changes to the Visual Studio project are immediately available on the website. But every config update and build will recycle the app pool even we required that changes or not.&lt;/li&gt;&#xA;&lt;li&gt;Can use bin folder of Website root for the assembly references, but it is not recommended to use assembly references in this way&lt;/li&gt;&#xA;&lt;li&gt;Auto build and deployment will be a challenge&lt;/li&gt;&#xA;&lt;li&gt;The Sitecore upgrade will also a challenge&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;Creating the project &lt;strong&gt;outside the webroot&lt;/strong&gt; has a number of advantages and is a &lt;strong&gt;recommended practice&lt;/strong&gt;:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It creates a clear separation between the files of your solution and the Sitecore files.&lt;/li&gt;&#xA;&lt;li&gt;You can upgrade Sitecore or create a new Sitecore instance and use the same Visual Studio project easily.&lt;/li&gt;&#xA;&lt;li&gt;It is easy to backup, restore, and move projects.&lt;/li&gt;&#xA;&lt;li&gt;You will not get the changes immediately and need to VS publish your changes, which is good most of the time.&lt;/li&gt;&#xA;&lt;li&gt;Auto build and deployment is easy. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-10-06T10:26:43.057" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22415" PostTypeId="2" ParentId="22413" CreationDate="2019-10-06T12:58:54.340" Score="5" Body="&lt;p&gt;You always want to put your visual studio solution outside of the website and deploy into it. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Upgradability&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Unless you are going to add 10,000 files to your gitignore file, you are going to have the base Sitecore files in your solution. When you upgrade your website, you are certainly going to miss some files. Then you will overwrite your upgraded Sitecore files with the old files in your solution. This will cause many strange behaviors and lots of errors about not being able to find classes.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Can't do helix&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;The first major reason is that you cannot use Helix principles if you are in the website folder. Having a solution in the website folder restricts you to only one web project and many libraries. Using the Helix guidelines, you are going to need many web application projects. &lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Prepared for CI/Deployment&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;Your visual studio project should be designed for each environment that you are going to need to deploy into. This means that if you are going to use gulp or msdeploy to deploy into prod/stage, you need to be able to test it in dev. Having a solution in the website, would not alert you to what files, dlls, etc.. that you are missing or not deploying properly.&lt;/p&gt;&#xA;&#xA;&lt;h2&gt;Nuget&lt;/h2&gt;&#xA;&#xA;&lt;p&gt;By having your solution in the website folder, then you are most likely going to use the dlls in the bin as your reference dlls. But you should 100% use the dlls from NuGet. This allows you to build and deploy to environments without having 200 MB of dlls in your source control. &lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-10-06T12:58:54.340" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22416" PostTypeId="1" AcceptedAnswerId="22417" CreationDate="2019-10-07T00:31:33.617" Score="2" ViewCount="337" Body="&lt;p&gt;This must be documented somewhere but I'm not finding any good documentation on what &lt;code&gt;SIM&lt;/code&gt; &lt;em&gt;does&lt;/em&gt; when you install &lt;code&gt;Sitecore 8.2&lt;/code&gt; with it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I understand it creates a new &lt;code&gt;web root&lt;/code&gt; folder on your local computer.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But where does it create the databases? Does &lt;code&gt;SIM&lt;/code&gt; &lt;em&gt;always&lt;/em&gt; just put them on your local computer's &lt;code&gt;SQL Server&lt;/code&gt; Instance?&lt;/p&gt;&#xA;" OwnerUserId="5086" LastEditorUserId="5086" LastEditDate="2019-10-07T13:59:20.637" LastActivityDate="2019-10-08T00:06:11.953" Title="Where does SIM install the databases when installing a new Sitecore instance?" Tags="|installation|sql-database|sim|" AnswerCount="1" CommentCount="0" FavoriteCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22417" PostTypeId="2" ParentId="22416" CreationDate="2019-10-07T00:38:13.047" Score="5" Body="&lt;p&gt;SIM copies the database files (all the &lt;code&gt;.MDF&lt;/code&gt;s and &lt;code&gt;.LDF&lt;/code&gt;s) into your &lt;code&gt;\[webroot]\Databases&lt;/code&gt; folder, then uses the SQL Server connection string specified in your SIM settings (see image below) to attach the database files to your SQL Server instance and updates your &lt;code&gt;ConnectionStrings.config&lt;/code&gt; file to point to that specified instance.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Since SIM does an attach action on the MDF and LDF files to the SQL Server instance, the SQL Server instance will need to be local the the machine that SIM is running on (or at least have access to the MDF/LDF files in the &lt;code&gt;Databases&lt;/code&gt;folder) in order for the SQL Server to perform the attach process. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bOA6e.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bOA6e.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="7" LastEditorUserId="7" LastEditDate="2019-10-08T00:06:11.953" LastActivityDate="2019-10-08T00:06:11.953" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22418" PostTypeId="1" AcceptedAnswerId="22421" CreationDate="2019-10-07T08:08:54.587" Score="2" ViewCount="628" Body="&lt;p&gt;I have a template with a droplink &quot;productarea&quot;. When I use a GraphQL to fetch this item, the value of the &quot;productarea&quot; is a GUID. This guid points to an item in the sitecore tree, and I need the displayName of that item. Is this possible to get using a single GraphQL, or do I need to run a second GraphQL from the client? &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Here are the queries I'm using: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query getArticles($item: String = &quot;{02E9F5E2-8CDE-4A52-B260-62B628692BF8}&quot;) {&#xA;  item(path: $item) {&#xA;    ...articleFields&#xA;  }&#xA;}&#xA;&#xA;fragment articleFields on ArticlePage {&#xA;  productarea{&#xA;    value&#xA;  }&#xA;}&#xA;&#xA;query getArea($item: String = &quot;{ADAA9D5C-4C30-477B-960A-0062B384F235}&quot;) {&#xA;  item(path: $item) {&#xA;    displayName&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Get articles result: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;data&quot;: {&#xA;    &quot;item&quot;: {&#xA;      &quot;productarea&quot;: {&#xA;        &quot;value&quot;: &quot;{ADAA9D5C-4C30-477B-960A-0062B384F235}&quot;&#xA;      }&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;GetArea result &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&#xA;  &quot;data&quot;: {&#xA;    &quot;item&quot;: {&#xA;      &quot;displayName&quot;: &quot;Doors&quot;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="3039" LastActivityDate="2019-10-07T08:41:32.790" Title="Can you resolve a droplink to an item within a GraphQL?" Tags="|graphql|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22421" PostTypeId="2" ParentId="22418" CreationDate="2019-10-07T08:21:17.963" Score="3" Body="&lt;p&gt;Yes you can resolve a Sitecore Droplink to an Item in one query, a Droplink has a targetItem that is the way to access the fields of the reference in GraphQL.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;GraphQL Example:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;query getArticles($item: String = &quot;{02E9F5E2-8CDE-4A52-B260-62B628692BF8}&quot;) {&#xA;  item(path: $item) {&#xA;    ...articleFields&#xA;  }&#xA;}&#xA;&#xA;fragment articleFields on ArticlePage {&#xA;  productarea{&#xA;    value&#xA;    targetItem {&#xA;      displayName&#xA;   }&#xA;  }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where productarea is a Droplink field on template ArticlePage and the provided GUID {02E9F5E2-8CDE-4A52-B260-62B628692BF8} is the ArticlePage Item from the content tree.&lt;/p&gt;&#xA;" OwnerUserId="112" LastEditorUserId="112" LastEditDate="2019-10-07T08:41:32.790" LastActivityDate="2019-10-07T08:41:32.790" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22426" PostTypeId="1" CreationDate="2019-10-07T11:25:09.853" Score="2" ViewCount="113" Body="&lt;p&gt;I'm trying to render SxaTags through Reference in Rendering Variants but it won't render in the front end. I'm trying this in a component that is cloned from the existing Promo component. Sitecore version is 9.2 with SXA 1.9&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/bvSGW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bvSGW.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4137" LastEditorUserId="4050" LastEditDate="2019-10-17T03:07:25.847" LastActivityDate="2019-10-17T03:07:25.847" Title="SxaTags not rendering in Rendering Variants" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22427" PostTypeId="2" ParentId="22190" CreationDate="2019-10-07T11:40:01.523" Score="6" Body="&lt;p&gt;Did you try populating Solr Managed Schema from Sitecore Control Panel?&#xA;&lt;a href=&quot;https://i.stack.imgur.com/XmU5Z.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XmU5Z.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After creating a custom index in Solr and configuration file in Sitecore, this should be the next step. Once successfully populated, try rebuilding the index.&lt;/p&gt;&#xA;" OwnerUserId="4137" LastActivityDate="2019-10-07T11:40:01.523" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22428" PostTypeId="2" ParentId="22426" CreationDate="2019-10-07T11:53:13.883" Score="1" Body="&lt;p&gt;It works quite fine:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ei1Ef.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ei1Ef.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The problem you are having is probably related to the fact that you are using Promo rendering which uses its own data sources (not a page where the rendering is dropped -  like for example Page Content). Which means you would need to tag Promo data source items (not pages) which make no sense...&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-10-07T11:53:13.883" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="22429" PostTypeId="2" ParentId="2929" CreationDate="2019-10-07T11:55:06.740" Score="-1" Body="&lt;p&gt;Alternate solution is to replace bin folder from your website(explored through IIS) to a new installed version.&#xA;This should resolve the issue and you should be able to see the basic structure of your site as well see sitecore backend.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After above, clean and build you project in Visual studio and publish the code. Now you should see everything working as expected. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt;: I am no expert in sitecore. Above step worked for me, hence posted here so that this can be helpful to others like me and I would suggest to take backup of bin of your website first before deleting anything.&lt;/p&gt;&#xA;" OwnerUserId="5767" LastActivityDate="2019-10-07T11:55:06.740" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22430" PostTypeId="2" ParentId="6607" CreationDate="2019-10-07T11:55:36.100" Score="1" Body="&lt;p&gt;The issue in my case was a publishing issue. Make sure you double-check that the template(s) your item(s) uses has made it to the Web database. If it isn't there then try re-publishing and check again. The Item Rest API uses the context database for the logged in user so if the content user is using the web database it won't return the item(s).&lt;/p&gt;&#xA;" OwnerUserId="196" LastActivityDate="2019-10-07T11:55:36.100" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22431" PostTypeId="2" ParentId="20776" CreationDate="2019-10-07T11:56:58.137" Score="2" Body="&lt;p&gt;I have this working through the below code.&#xA;Basically I'm doing the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Splitting the search term into words and getting the entire length&lt;/li&gt;&#xA;&lt;li&gt;Building one predicate for entire search term together and doing a boost by (length * length)&lt;/li&gt;&#xA;&lt;li&gt;Building predicates for each of the word and then doing an Or with the above predicate&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var tokens = request.SearchTerm.Split(' ');&#xA;var length = tokens.Length;&#xA;&#xA;float allWordsBoost = (float)length * length;&#xA;predicate = predicate.And(item =&amp;gt; item.SearchTerms.Contains(request.SearchTerm).Boost(allWordsBoost));&#xA;&#xA;var termsPredicate = PredicateBuilder.True&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;&#xA;var eachTermPredicate = PredicateBuilder.True&amp;lt;ContentPageSearchModel&amp;gt;();&#xA;&#xA;&#xA;for (int i = 0; i &amp;lt; length; i++)&#xA;{&#xA;   float b = (float)length - i;&#xA;   var word = tokens[i];&#xA;   eachTermPredicate = eachTermPredicate.Or(Item =&amp;gt; &#xA;        Item.SearchTerms.Contains(word).Boost(b));&#xA;}&#xA;&#xA;termsPredicate = termsPredicate.And(eachTermPredicate);&#xA;&#xA;predicate = predicate.Or(termsPredicate);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="4137" LastActivityDate="2019-10-07T11:56:58.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22432" PostTypeId="2" ParentId="3109" CreationDate="2019-10-07T12:00:08.003" Score="1" Body="&lt;p&gt;For other still seeing this issue, here is one more scenario:&#xA;In my case I was seeing various DLL issues, so I decided to replace bin of my project with an bin of new instance. Then saw this error.&#xA;Clean and built my project and then published the code from Visual studio. Everything then started working as expected. &lt;/p&gt;&#xA;" OwnerUserId="5767" LastActivityDate="2019-10-07T12:00:08.003" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22433" PostTypeId="1" CreationDate="2019-10-07T12:12:05.243" Score="2" ViewCount="158" Body="&lt;p&gt;My field configuration on Sitecore:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;unifiedtitle&quot; storageType=&quot;yes&quot; indexType=&quot;tokenized&quot; returnType=&quot;string&quot;&amp;gt;Project.Foundation.Indexing.ComputedFields.UnifiedTitleComputedField, Project.Foundation.Indexing&amp;lt;/field&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically I'm facing the following situation when querying against my Solr index:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;This is returning the expected result&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;keywordsFilter.Or(item =&amp;gt; item.UnifiedTitle.Like(&quot;The Bentley Moose Jaw&quot;))&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;keywordsFilter.Or(item =&amp;gt; item.Content.Like(&quot;Bentley Moose&quot;))&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;And as you can see here, this is the value of the &lt;code&gt;unifiedtitle&lt;/code&gt; field on Solr:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Xtas4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Xtas4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;But this is not returning any result&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;keywordsFilter.Or(item =&amp;gt; item.UnifiedTitle.Like(&quot;Bentley Moose&quot;))&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like the &lt;code&gt;Like&lt;/code&gt; operator doesn't have the same behavior when I use the &lt;code&gt;UnifiedTitle&lt;/code&gt; field. Even weirder, if I use the &lt;strong&gt;exact value of this field&lt;/strong&gt; as a filter, than it works as I showed above.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any suggestion would be hugely appreciated. Thanks.&lt;/p&gt;&#xA;" OwnerUserId="3866" LastEditorUserId="73" LastEditDate="2019-10-07T21:29:17.353" LastActivityDate="2019-10-07T21:29:17.353" Title="Issue with the Like operator on my custom field" Tags="|content-search|solr|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22435" PostTypeId="1" CreationDate="2019-10-07T13:18:05.830" Score="0" ViewCount="282" Body="&lt;p&gt;&lt;strong&gt;Background -&lt;/strong&gt; We are upgrading from Sitecore 7.5 to 9.1.1 (CMS Only) with the existing code (Asp.Net Web Forms)&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Requirement -&lt;/strong&gt; We need to create new Sitecore Forms and wipe out the existing WFFM Module. Hence, we have wrapped the MVC Form rendering and inserted it on the existing web form without any change (using the below-given link). Form rendered on the web page successfully. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://github.com/HedgehogDevelopment/sitecore-mvc-aspx-interop/blob/master/SitecoreMvcAspxInterop/Pipelines/WrapMvcRendering.cs&quot; rel=&quot;nofollow noreferrer&quot;&gt;Wrapping of MVC rendering over web form&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Error Detail -&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Issue -&lt;/strong&gt; Custom Action submission triggers the default FormBuilderController instead the custom class/code. Error details are given below,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;Error Rendering Controller: Sitecore.ExperienceForms.Mvc.Controllers.FormBuilderController, Sitecore.ExperienceForms.Mvc. Action: Index: An unhandled exception occurred.&#xA;&#xA;at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.ShowErrorMessage(ExceptionContext exceptionContext, ExceptionArgs args)&#xA;   at Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage.Process(ExceptionArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)&#xA;   at Sitecore.Mvc.Filters.PipelineBasedRequestFilter.OnException(ExceptionContext exceptionContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;   at System.Web.Mvc.Controller.ExecuteCore()&#xA;   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.ExecuteController(Controller controller)&#xA;   at Sitecore.Mvc.Controllers.ControllerRunner.Execute(TextWriter writer)&#xA;   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)&#xA;&#xA;Inner Exception: The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the configuration specifies explicit encryption and validation keys. AutoGenerate cannot be used in a cluster.&#xA;&#xA;at System.Web.Helpers.AntiXsrf.AntiForgeryTokenSerializer.Deserialize(String serializedToken)&#xA;   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor)&#xA;   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)&#xA;&lt;/pre&gt;&#xA;" OwnerUserId="2752" LastEditorUserId="4050" LastEditDate="2019-10-16T21:47:02.477" LastActivityDate="2019-10-16T21:47:02.477" Title="Error Rendering Controller: The anti-forgery token could not be decrypted" Tags="|sitecore-forms|" AnswerCount="0" CommentCount="2" ClosedDate="2019-10-08T06:39:47.377" ContentLicense="CC BY-SA 4.0" />
  <row Id="22436" PostTypeId="2" ParentId="22433" CreationDate="2019-10-07T15:34:17.893" Score="3" Body="&lt;p&gt;I've managed to fix this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It looks like that a &lt;code&gt;returnType=&quot;string&quot;&lt;/code&gt; field can't be tokenized.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After &lt;strong&gt;changing the returnType to &quot;text&quot;&lt;/strong&gt; everything is working as expected:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;unifiedtitle&quot; storageType=&quot;yes&quot; indexType=&quot;tokenized&quot; returnType=&quot;text&quot;&amp;gt;Project.Foundation.Indexing.ComputedFields.UnifiedTitleComputedField, Project.Foundation.Indexing&amp;lt;/field&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="3866" LastActivityDate="2019-10-07T15:34:17.893" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22437" PostTypeId="2" ParentId="15403" CreationDate="2019-10-07T18:15:10.533" Score="0" Body="&lt;p&gt;You need to update your query little bit to make it work-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Example -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;StartSearchLocation=query:descendant-or-self::*&amp;amp;TemplateFilter={1111111-1111-1111-1111-1111111111}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;P.S. - You are using TemplateFilter as &lt;code&gt;{1111111-1111-1111-1111-1111111111}&lt;/code&gt; but this id is a reserved id and assigned to &lt;code&gt;/sitecore&lt;/code&gt; node in any Sitecore implementation. So, I assume that your actual template id is different.&lt;/p&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-10-07T18:15:10.533" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22438" PostTypeId="1" CreationDate="2019-10-07T21:02:13.753" Score="2" ViewCount="545" Body="&lt;p&gt;On the project I'm working on, we have chosen to use &lt;code&gt;Sitecore 9.2 XM&lt;/code&gt; with &lt;code&gt;Identity Server&lt;/code&gt; disabled.  Where in the &lt;code&gt;pipeline&lt;/code&gt; should I expect to see the &lt;code&gt;ASP.NET_SessionId&lt;/code&gt; cookie get generated to be sent to the user?  The behavior I'm currently seeing is that is cookie value never gets set or sent back to the user.  The only way I get this cookie is by logging into the &lt;code&gt;shell&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can imagine, the result is that data related to session is not being persisted from one visit to the next since &lt;code&gt;ASP.NET&lt;/code&gt; is creating a new session on each request.&lt;/p&gt;&#xA;" OwnerUserId="648" LastEditorUserId="5417" LastEditDate="2019-10-08T06:39:15.140" LastActivityDate="2020-07-04T08:02:55.337" Title="Sitecore 9.2 Virtual User Authentication and SessionId Cookie" Tags="|configuration|security|pipelines|" AnswerCount="1" CommentCount="0" ClosedDate="2020-07-04T08:22:18.557" ContentLicense="CC BY-SA 4.0" />
  <row Id="22439" PostTypeId="2" ParentId="22438" CreationDate="2019-10-07T21:44:47.880" Score="1" Body="&lt;p&gt;Apparently, I had a moment of mental ability...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It turns out I was not writing anything to session.  As one would expect, since nothing was being written to session, ASP.NET had no need to write a SessionId cookie to the response.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I hope my brain fart helps others.  LOL&lt;/p&gt;&#xA;" OwnerUserId="648" LastActivityDate="2019-10-07T21:44:47.880" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22440" PostTypeId="2" ParentId="4439" CreationDate="2019-10-07T23:47:33.813" Score="0" Body="&lt;p&gt;Its a pretty old thread but I stumbled upon a similar problem where the patch source wasn't getting replaced by my custom config patch file. I ended up completely avoiding the patch:attribute approach instead used the set:value approach. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Something like below:-&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;initialize&amp;gt;&#xA;        &amp;lt;processor set:type=&quot;Framework.Pipelines.Filters.InitializeGlobalFilters, DD.Framework&quot;/&amp;gt;&#xA;      &amp;lt;/initialize&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;One prerequisite for this set approach is to have the configuration root node set as:- &#xA;&lt;strong&gt;xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;A deeper explanation has been provided on an informative blog by Mike Skutta &lt;a href=&quot;https://mskutta.github.io/2017/08/09/sitecore-patchinstead-in-config/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://mskutta.github.io/2017/08/09/sitecore-patchinstead-in-config/&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="4543" LastEditorUserId="4543" LastEditDate="2019-10-09T01:07:10.563" LastActivityDate="2019-10-09T01:07:10.563" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22441" PostTypeId="2" ParentId="8590" CreationDate="2019-10-08T07:44:43.857" Score="0" Body="&lt;p&gt;I had this issue with Sitecore 9 and using SQL Server 2017 Developer Edition to setup Sitecore on my local environment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the &lt;code&gt;sitecore-XP0.json&lt;/code&gt; configuration file I had to replace&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&#xA;&quot;SqlServer&quot;: {&#xA;      &quot;Type&quot;: &quot;string&quot;,&#xA;      &quot;DefaultValue&quot;: &quot;.\\SQLSERVER&quot;,&#xA;      &quot;Description&quot;: &quot;The Sql Server where databases will be installed.&quot;&#xA; },&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;with&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;SqlServer&quot;: {&#xA;      &quot;Type&quot;: &quot;string&quot;,&#xA;      &quot;DefaultValue&quot;: &quot;(local)&quot;,&#xA;      &quot;Description&quot;: &quot;The Sql Server where databases will be installed.&quot;&#xA;},&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I assume &lt;code&gt;(.)&lt;/code&gt; would have also have worked.&lt;/p&gt;&#xA;" OwnerUserId="6132" LastActivityDate="2019-10-08T07:44:43.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22442" PostTypeId="2" ParentId="10475" CreationDate="2019-10-08T07:53:10.637" Score="1" Body="&lt;p&gt;I had the same issue installing Sitecore 9 locally and discovered my mistake was pointing at the &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;package instead of the &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;Sitecore 9.0.0 rev. 171002 (OnPrem)_single.scwdp.zip&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;package when using the &lt;code&gt;Install-SitecoreConfiguration&lt;/code&gt; Powershell cmdlet for the main Sitecore install.&lt;/p&gt;&#xA;" OwnerUserId="6132" LastActivityDate="2019-10-08T07:53:10.637" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22444" PostTypeId="2" ParentId="22296" CreationDate="2019-10-08T10:03:09.707" Score="1" Body="&lt;p&gt;You can use outcome function to check contact submit or not submit page. No path for session expired with timeout set, and Yes path when user submit page.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/XBKRX.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/XBKRX.png&quot; alt=&quot;Outcome item&quot;&gt;&lt;/a&gt;&#xA;Then make contact pass it:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using (XConnectClient client = SitecoreXConnectClientConfiguration.GetClient())&#xA;        {&#xA;            var reference = new IdentifiedContactReference(&quot;sitecoreextranet&quot;, &quot;Contact Email here&quot;);&#xA;            var existingContact = client.Get&amp;lt;Sitecore.XConnect.Contact&amp;gt;(reference, new ContactExpandOptions(new string[] { PersonalInformation.DefaultFacetKey }));&#xA;            if (existingContact != null)&#xA;            {&#xA;                var channelId = Guid.Parse(&quot;{52B75873-4CE0-4E98-B63A-B535739E6180}&quot;);&#xA;                var interaction = new Interaction(existingContact, InteractionInitiator.Contact, channelId, &quot;xConnectIntro Console App&quot;);&#xA;                Guid outcomeId = Guid.Parse(&quot;outcome ID here&quot;); // ID of outcome item&#xA;                var outcome = new Sitecore.XConnect.Outcome(outcomeId, DateTime.UtcNow, &quot;USD&quot;, 100.00m);&#xA;                interaction.Events.Add(outcome);&#xA;                client.AddInteraction(interaction);&#xA;&#xA;                client.Submit();&#xA;            }&#xA;        }&#xA;        Sitecore.Diagnostics.Log.Info(&quot;Survey Completed&quot;, this);&#xA;        return View(&quot;SurveyCompleted&quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you can add next activity in Yes path to continue.&lt;/p&gt;&#xA;" OwnerUserId="5325" LastActivityDate="2019-10-08T10:03:09.707" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22446" PostTypeId="1" CreationDate="2019-10-08T10:54:34.843" Score="1" ViewCount="1074" Body="&lt;p&gt;I'm trying to install Sitecore 9.2 initial-  XP single on my local machine using Sitecore Install Assistant. I installed all the prerequisites through SIA without any error but when I try to install Sitecore, I get the below error.&lt;br&gt;&lt;br&gt;&#xA;&lt;a href=&quot;https://i.stack.imgur.com/ffhca.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ffhca.png&quot; alt=&quot;Error&quot;&gt;&lt;/a&gt;&#xA;From the SQL log, the error is a bit different from this.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/p7YLp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/p7YLp.png&quot; alt=&quot;SQL Log&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The error comes while executing the Task 46- XconnectXP0_InstallWDP: WebDeploy&#xA;I verified the user name, password and sql server and all looks fine and able to login from Management Studio.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/lR4SH.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/lR4SH.png&quot; alt=&quot;SQL&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Local Machine Details:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sitecore 9.2 Initial   &lt;/li&gt;&#xA;&lt;li&gt;MSSQL 2017 Express&lt;/li&gt;&#xA;&lt;li&gt;SIF 2.1.0&lt;/li&gt;&#xA;&lt;li&gt;Windows 10&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="1022" LastEditorUserId="342" LastEditDate="2019-10-16T21:10:49.960" LastActivityDate="2019-10-16T21:10:49.960" Title="Login failed for user 'sa'. Reason: Failed to open the explicitly specified database 'demo_Processing.Pools'. [CLIENT: &lt;local machine&gt;]" Tags="|sitecore-install-framework|installation|sitecore-install-assistant|web-deploy|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22447" PostTypeId="1" AcceptedAnswerId="22448" CreationDate="2019-10-08T13:32:00.610" Score="0" ViewCount="231" Body="&lt;p&gt;I'm using Sitecore Forms. With a Fresh install of Sitecore 9.2 and I don't see any submit actions. As far as I have read, it should come with 5 different standard presets. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Any idea what I'm missing or what's wrong?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/PUm5O.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/PUm5O.png&quot; alt=&quot;There are no actions to display&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&#xA;After looking again it looks like i get this Error message in my console. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;{&quot;message&quot;:&quot;An error has occurred.&quot;,&quot;exceptionMessage&quot;:&quot;The required anti-forgery form field \&quot;__RequestVerificationToken\&quot; is not present.&quot;,&quot;exceptionType&quot;:&quot;System.Web.Mvc.HttpAntiForgeryException&quot;,&quot;stackTrace&quot;:&quot;   at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken)\r\n   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext)\r\n   at Sitecore.Web.Http.Filters.ValidateHttpAntiForgeryTokenAttribute.OnAuthorization(HttpActionContext actionContext)&quot;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="6135" LastEditorUserId="342" LastEditDate="2019-10-16T21:11:55.823" LastActivityDate="2019-10-16T21:11:55.823" Title="Sitecore 9.2 Forms - &quot;There are no actions to display&quot;" Tags="|sitecore-forms|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22448" PostTypeId="2" ParentId="22447" CreationDate="2019-10-08T13:53:25.107" Score="5" Body="&lt;p&gt;This data is stored in a browser's cache and if it's there, browser doesn't send requests again to the server to get updated information.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It may happen that before some internal caches are rebuilt, you sent the first request and you receive &quot;There are no actions to display&quot; message.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If that's the case, clearing the browser's cache and maybe restarting the browser after.&lt;/p&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-10-08T13:53:25.107" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22449" PostTypeId="2" ParentId="22446" CreationDate="2019-10-08T14:19:07.280" Score="1" Body="&lt;p&gt;Can you try logging into the SQL Server with the entered credentials in SIA. Once logged in, check the SQL Server Instance name. Most probably, it's not (local)\SQLExpress. It might be a computer name&lt;/p&gt;&#xA;" OwnerUserId="4137" LastActivityDate="2019-10-08T14:19:07.280" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="22450" PostTypeId="2" ParentId="22360" CreationDate="2019-10-08T14:26:10.603" Score="-1" Body="&lt;p&gt;After defining the custom index as well as creating the corresponding index in Solr, make sure to &lt;strong&gt;Populate Managed Schema&lt;/strong&gt; from Sitecore Control Panel. Try rebuilding the index after this.&lt;/p&gt;&#xA;" OwnerUserId="4137" LastActivityDate="2019-10-08T14:26:10.603" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22452" PostTypeId="1" AcceptedAnswerId="22453" CreationDate="2019-10-08T16:09:58.107" Score="1" ViewCount="352" Body="&lt;p&gt;I need to override some code inside of &lt;code&gt;Sitecore.Shell.Applications.Dialogs.ExternalLink.ExternalLinkForm.&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I created class based on   &lt;code&gt;Sitecore.Shell.Applications.Dialogs.ExternalLink.ExternalLinkForm.&lt;/code&gt;&#xA;Define it at &#xA;&lt;code&gt;~/sitecore/shell/Applications/Dialogs/ExternalLink/ExternalLink.xml&lt;/code&gt;. but when I try to open External link dialog (click on insert external link at link field) I see an error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;CodeBeside class &quot;Loreal.Project.Loreal.ExternalLink.LCorpExternalLinkForm, Loreal.Project.Corporate&quot; not found. (method: Sitecore.Web.UI.HtmlControls.CodeBeside.OnInit(EventArgs e)).&#xA;&#xA;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&#xA;&#xA;Exception Details: System.Exception: CodeBeside class&#xA;&quot;Loreal.Project.Loreal.ExternalLink.LCorpExternalLinkForm,&#xA;Loreal.Project.Corporate&quot; not found. (method:&#xA;Sitecore.Web.UI.HtmlControls.CodeBeside.OnInit(EventArgs e)).&#xA;&#xA;Source Error:&#xA;&#xA;An unhandled exception was generated during the execution of the&#xA;current web request. Information regarding the origin and location of&#xA;the exception can be identified using the exception stack trace below.&#xA;&#xA;Stack Trace:&#xA;&#xA;  [Exception: CodeBeside class &quot;MyExternalLinkForm, MyProject&quot; not found. &#xA;  (method: Sitecore.Web.UI.HtmlControls.CodeBeside.OnInit(EventArgs e)).]&#xA;        Sitecore.Diagnostics.Error.Raise(String error, String method) +133&#xA;        Sitecore.Web.UI.HtmlControls.CodeBeside.CreateCodeBeside(String type) +113&#xA;        Sitecore.Web.UI.HtmlControls.CodeBeside.OnInit(EventArgs e) +238&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +173&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +380&#xA;        System.Web.UI.Control.AddedControl(Control control, Int32 index) +219&#xA;        Sitecore.Shell.DefaultPage.OnInit(EventArgs e) +177&#xA;        System.Web.UI.Control.InitRecursive(Control namingContainer) +173&#xA;        System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +491&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;It is no OnInit Method at based classes.&lt;br&gt;&lt;br&gt;&#xA;Any Ideas what I could miss?&lt;/p&gt;&#xA;" OwnerUserId="1324" LastEditorUserId="4050" LastEditDate="2019-10-17T10:39:26.770" LastActivityDate="2019-10-17T10:39:26.770" Title="how to override ExternalLinkForm" Tags="|sitecore-client|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22453" PostTypeId="2" ParentId="22452" CreationDate="2019-10-08T17:38:09.567" Score="4" Body="&lt;p&gt;This error generally means that the dll does not contain the namespace defined in &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;CodeBeside Type=&quot;Sitecore.Shell.Applications.Dialogs.ExternalLink.ExternalLinkForm,Sitecore.Client&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I would check the above parameter in the ExternalLink.xml also check the bin folder for the updated Dll.&lt;/p&gt;&#xA;" OwnerUserId="106" LastActivityDate="2019-10-08T17:38:09.567" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22454" PostTypeId="2" ParentId="20687" CreationDate="2019-10-08T18:11:48.630" Score="5" Body="&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/582960&quot; rel=&quot;noreferrer&quot;&gt;https://kb.sitecore.net/articles/582960&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Essentially, add the following to the web.config file: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;location path=&quot;sitecore/shell/feeds&quot;&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;authorization&amp;gt;&#xA;      &amp;lt;allow users=&quot;?&quot; /&amp;gt;&#xA;    &amp;lt;/authorization&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&amp;lt;location path=&quot;sitecore/shell/applications/feeds&quot;&amp;gt;&#xA;  &amp;lt;system.web&amp;gt;&#xA;    &amp;lt;authorization&amp;gt;&#xA;      &amp;lt;allow users=&quot;?&quot; /&amp;gt;&#xA;    &amp;lt;/authorization&amp;gt;&#xA;  &amp;lt;/system.web&amp;gt;&#xA;&amp;lt;/location&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This fixed the issue for me (on sitecore 9.0.2)&lt;/p&gt;&#xA;" OwnerUserId="5779" LastActivityDate="2019-10-08T18:11:48.630" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22456" PostTypeId="1" AcceptedAnswerId="22457" CreationDate="2019-10-08T20:20:01.140" Score="1" ViewCount="98" Body="&lt;ul&gt;&#xA;&lt;li&gt;If yes, then what if you have different patches for different environments?&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Would you then put a transform(for publishing) on the Patch.config file?&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;(same question - put transforms on ConnectionStrings.config and include that in source/publish too?)&lt;/p&gt;&#xA;" OwnerUserId="5086" LastEditorUserId="73" LastEditDate="2020-10-16T12:15:01.067" LastActivityDate="2020-10-16T12:15:01.067" Title="Should you include patch files in your project and source control?" Tags="|configuration|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22457" PostTypeId="2" ParentId="22456" CreationDate="2019-10-08T20:32:03.943" Score="5" Body="&lt;p&gt;Yes they should be. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Depending on your build/deployment setup you may find that replacement variables enable you to have fewer patches and to differentiate between environments. Alternatively you can have patches for each environment and remove when packaging up artifacts before deployment.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The same would hold true for configuration transforms. The build server pulls the latest changes from source control at which point configuration transforms can be processed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As may be pointed out by many in the community, storing any file which contains paths to databases, passwords, and anything sensitive should not be in the file committed to source control. This is where variable replacements come in handy.&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-10-08T21:36:53.743" LastActivityDate="2019-10-08T21:36:53.743" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22458" PostTypeId="1" AcceptedAnswerId="22953" CreationDate="2019-10-09T04:01:41.620" Score="5" ViewCount="404" Body="&lt;p&gt;I have issues with &lt;code&gt;Sitecore Azure PaaS&lt;/code&gt; from &lt;code&gt;Sitecore Managed Cloud&lt;/code&gt; as below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;We have &lt;code&gt;red-shield&lt;/code&gt; which is security shielding for request where we have configured &lt;code&gt;prod domain&lt;/code&gt; which is like &lt;code&gt;prd.xyz.com&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Then we have Azure web app from managed cloud which has custom domain with name &lt;code&gt;prd-service.xyz.com&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;We mapped this with DNS. So if go and use &lt;code&gt;prd.xyz.com&lt;/code&gt; it goes properly.&lt;/li&gt;&#xA;&lt;li&gt;But there are few cases where on the pages if we click buttons it is picking up &lt;code&gt;prd-service.xyz.com&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;We have all the settings right for &lt;code&gt;Link manager&lt;/code&gt; and &lt;code&gt;sitedefinition&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;So need a way how I can tackle with any setting for the entire application which will force domain which in the request and in &lt;code&gt;site-definition&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="6125" LastEditorUserId="1606" LastEditDate="2019-10-10T04:40:11.070" LastActivityDate="2019-11-12T20:15:58.127" Title="Hostname not resolving" Tags="|links|sitecore-managed-cloud|" AnswerCount="1" CommentCount="10" ContentLicense="CC BY-SA 4.0" />
  <row Id="22460" PostTypeId="2" ParentId="22347" CreationDate="2019-10-09T04:50:59.063" Score="2" Body="&lt;p&gt;Did you deploy the new site specific maps via workflow after those were created? To check, launch Workbox, activate &quot;Path Analyzer Maps&quot; workflow and see if you have any maps stuck in workflow. After those are deployed, check status of a given map in reporting database using SQL query:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT *&#xA;  FROM [reporting].[dbo].[TreeDefinitions]&#xA;  where DefinitionId='map-item-id'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Status=3 means it is done building. &quot;1&quot; means it is pending build. &quot;2&quot; means building. Other status would mean &quot;error&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To check if you have any visits aggregated for a given map, run this query in reporting db:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT *&#xA;  FROM [reporting].[dbo].[Trees]&#xA;  where DefinitionId='map-item-id'&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Hope this helps.&lt;/p&gt;&#xA;" OwnerUserId="611" LastActivityDate="2019-10-09T04:50:59.063" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22461" PostTypeId="1" AcceptedAnswerId="22465" CreationDate="2019-10-09T06:20:41.043" Score="2" ViewCount="77" Body="&lt;p&gt;On a single server setup for Sitecore which has a CDN in front of it how would you go about securing the Sitecore client.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If there was no CDN I would implement IP security to block access to the relevant folders under Sitecore as per &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/restrict-access-to-the-client-261848.html#UUID-ea281fb0-819e-e4e3-12d8-fbc978352287_id__Implement_IP-based_security&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/restrict-access-to-the-client-261848.html#UUID-ea281fb0-819e-e4e3-12d8-fbc978352287_id__Implement_IP-based_security&lt;/a&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;However with a CDN the IP address reaching the server will always be the CDN's rather than the end users.&lt;/p&gt;&#xA;" OwnerUserId="3539" LastEditorUserId="106" LastEditDate="2019-10-09T07:32:16.690" LastActivityDate="2019-10-09T07:46:11.633" Title="Securing the Sitecore client on a single server setup with CDN" Tags="|sitecore-client|security|cdn|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22463" PostTypeId="2" ParentId="22461" CreationDate="2019-10-09T06:39:13.597" Score="-1" Body="&lt;p&gt;CDN is implemented for CD instances only and not CM. So there is no link between securing CM instance with CDN. With regards to securing CM instances, you can follow this link for more clarity: &lt;a href=&quot;https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/security-guide-281927.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Security Guide&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4137" LastActivityDate="2019-10-09T06:39:13.597" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22465" PostTypeId="2" ParentId="22461" CreationDate="2019-10-09T07:46:11.633" Score="1" Body="&lt;p&gt;You can setup CDN normal way, but block access to the &lt;code&gt;/sitecore&lt;/code&gt; on the CDN level.&#xA;Then add subdomain like &lt;code&gt;cms.example.com&lt;/code&gt; that points to the same server but without CDN.&#xA;And you can setup ip restrictions for &lt;code&gt;/sitecore&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="35" LastActivityDate="2019-10-09T07:46:11.633" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22466" PostTypeId="1" CreationDate="2019-10-09T09:02:53.257" Score="1" ViewCount="443" Body="&lt;p&gt;I'm using Sitecore 9.1 and SXA 1.8, I implemented search functionality using Search box and Search results OOB SXA components, When I search with a sentence, it only returns the exact match for the whole sentence, If I have search results that contains part of the sentence not the whole, they aren't returned. &#xA;For example, if I search with &quot;Dragon cars&quot;, the returned results must contains the whole query, the results that contains &quot;Dragon&quot; or &quot;cars&quot; are not returned.&lt;/p&gt;&#xA;" OwnerUserId="6141" LastEditorUserId="6141" LastEditDate="2019-10-09T09:09:47.133" LastActivityDate="2019-10-09T09:53:56.233" Title="SXA Search functionality works only with the whole search query" Tags="|sxa|content-search|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22467" PostTypeId="2" ParentId="22466" CreationDate="2019-10-09T09:53:56.233" Score="2" Body="&lt;p&gt;If you are using SXA search renderings, then you are not exactly searching by Title or Description fields. The SXA search is using AggregatedContent computed field (&lt;code&gt;sxacontent&lt;/code&gt; in the index) and is using &lt;code&gt;Contains&lt;/code&gt; method on it like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;predicate = predicate.And(i =&amp;gt; i.AggregatedContent.Contains(t));&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where &lt;code&gt;t&lt;/code&gt; is the text phrase, you are looking for.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The AggregatedContent will contain the text from Title and Description field so the &lt;code&gt;Contains&lt;/code&gt; should give you the results and I'm pretty sure it is working fine. But once again you are searching in the AggregatedContent filed, not Title or Description itself.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Take a look at the item fields and how it looks like in the index:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/i6fNJ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/i6fNJ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-10-09T09:53:56.233" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22469" PostTypeId="1" AcceptedAnswerId="22488" CreationDate="2019-10-09T14:03:16.477" Score="5" ViewCount="939" Body="&lt;p&gt;We are trying to use display names for URLs and it doesn't work with JSS.&#xA;E.g. we have a page &quot;search&quot; which has a display name in NL: zoeken.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;when I request &lt;code&gt;http://localhost:3000/en/search&lt;/code&gt; , the JSS api call is &lt;code&gt;http://local.sc/sitecore/api/layout/render/jss?item=%2Fsearch&amp;amp;sc_lang=en&lt;/code&gt; (I've omitted api key), and it returns page data -&gt; &lt;strong&gt;OK&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;when I request &lt;code&gt;http://localhost:3000/nl/zoeken&lt;/code&gt;, the JSS api call is &lt;code&gt;http://local.sc/sitecore/api/layout/render/jss?item=%2Fzoeken&amp;amp;sc_lang=nl&lt;/code&gt;, and it returns 404 -&gt; &lt;strong&gt;NOK&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;We use Sitecore 9.1 initial release. Looks like a bug, but can I maybe there's a workaround? Thanks in advance!&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&#xA;Actually, the problem happens not only in connected mode but also in integrated.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;E.g. if I request &lt;code&gt;http://local.sc/nl/zoeken&lt;/code&gt; - the page will be rendered, because in that case Item resolution pipeline runs and sets item correctly based on the display name.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, if I request &lt;code&gt;http://local.sc/en/search&lt;/code&gt; and then using the language switcher will try to navigate to &lt;code&gt;/nl/zoeken&lt;/code&gt;, this will fail, because React router takes over the navigation and instead of requesting the whole page from the server, it only tries to retrieve &lt;code&gt;/sitecore/api/layout/render/jss?item=%2Fzoeken&amp;amp;sc_lang=nl&lt;/code&gt; which return 404.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Concluding the above, I think this is a &lt;strong&gt;bug&lt;/strong&gt; in Sitecore, particularly in the item resolution pipeline of the Layout Service.&lt;/p&gt;&#xA;" OwnerUserId="4407" LastEditorUserId="4050" LastEditDate="2019-10-16T21:48:11.143" LastActivityDate="2019-10-16T21:48:11.143" Title="JSS layout api returns 404 when item requested by display name" Tags="|jss|sitecore-api|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22470" PostTypeId="2" ParentId="22342" CreationDate="2019-10-09T14:04:13.860" Score="1" Body="&lt;p&gt;I got these errors because I didn't do the &quot;Common.RebuildDescendants&quot; task during installation which rebuild the Descendants table in the database.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After doing the task (part of doing the cleanup database task in the control panel) the error was gone.&lt;/p&gt;&#xA;" OwnerUserId="5045" LastActivityDate="2019-10-09T14:04:13.860" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22471" PostTypeId="2" ParentId="22106" CreationDate="2019-10-09T14:26:06.647" Score="0" Body="&lt;p&gt;Try to change &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactExpandOptions expandOptions = new ContactExpandOptions(CollectionModel.FacetKeys.PersonalInformation);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;to &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ContactExpandOptions expandOptions = new ContactExpandOptions(CollectionModel.FacetKeys.PersonalInformation,CollectionModel.FacetKeys.EmailAddressList);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This could solve your problem.&lt;/p&gt;&#xA;" OwnerUserId="5021" LastActivityDate="2019-10-09T14:26:06.647" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22472" PostTypeId="1" AcceptedAnswerId="22473" CreationDate="2019-10-09T16:49:30.487" Score="16" ViewCount="1558" Body="&lt;p&gt;We are currently looking to optimize how often the event queue table is cleaned up and there are some really good posts on this such as &lt;a href=&quot;https://sitecore.stackexchange.com/questions/10176/effective-way-to-resolve-the-eventqueue-cpu-and-memory-load-related-issue&quot;&gt;this&lt;/a&gt; and &lt;a href=&quot;https://briancaos.wordpress.com/2016/08/12/sitecore-event-queue-how-to-clean-it-and-why/&quot; rel=&quot;nofollow noreferrer&quot;&gt;this&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, I have some concerns about cleaning up the event queue table too often and not allowing time for all the events to be processed. When we do large publishing or indexing jobs they can take 12+ hours to complete.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As I understand it when Sitecore processes the events it does not remove them from the table (hence the need for the event queue cleanup task).&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However, what I can't see in the table is a status column of any kind. I can see the status property on the &lt;code&gt;json&lt;/code&gt; for some events (in the instance data column) but not all of them. So, how does Sitecore know if an event has been processed?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Ideally, we would only cleanup events that have been processed and leave the other events that have yet to be processed in the table.&lt;/p&gt;&#xA;" OwnerUserId="196" LastEditorUserId="4050" LastEditDate="2019-10-16T21:14:02.273" LastActivityDate="2019-10-16T21:14:02.273" Title="How does Sitecore know an event in the event queue table has been processed?" Tags="|event-queue|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22473" PostTypeId="2" ParentId="22472" CreationDate="2019-10-09T18:19:25.437" Score="22" Body="&lt;p&gt;In order to know which if the events have already been processed, you will need to check the Properties table.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Using Sitecore OOTB&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to see the &lt;code&gt;http://[domain]/sitecore/admin/EventQueueStats.aspx&lt;/code&gt; page. This page allows you to see if there are still events being processed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ZhImK.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ZhImK.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;If we take the above as an example, it means that all events have been processed because the &lt;code&gt;Records to be processed&lt;/code&gt; is 0. If there was still events to be processed, the value will increase based on the number of remaining events to process.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How Sitecore does this?&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Sitecore makes use of the Properties table. After all the events have been processed, Sitecore updates (insert if not exist) an entry in the table. &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;p&gt;Sitecore versions up to 8.X, there is an entry which starts with &lt;code&gt;EQSTAMP_*****&lt;/code&gt; in the &lt;code&gt;Key&lt;/code&gt; column.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For Sitecore 9.X, it is &lt;code&gt;[targetDatabase]_EQSTAMP_*****&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;This is what tells Sitecore if the events have been processed. There is a conversion which is performed for Sitecore to know if the events have been processed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;How it is done&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Copy the value of the &lt;code&gt;EQSTAMP&lt;/code&gt;. Below is a screenshot of my Properties table on the Web Database. So, in our case, the value will be &lt;strong&gt;66999&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/716xx.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/716xx.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;You need to convert the decimal 66999 to Hex. You can do this via a calculator. On windows, open the calculator and set it to programmer mode. Once done, select the DEC option and paste the value.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ADUQY.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ADUQY.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As you can see from the calculator screenshot, the value of the HEX is &lt;strong&gt;105B7&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;Execute the query &lt;code&gt;select top 100 * from [EventQueue] with (nolock) order by [Stamp] desc&lt;/code&gt; on the target database, in our case, web database. The first entry should match the STAMP value of the HEX&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wqaiC.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wqaiC.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If the HEX value matches the STAMP value of the first entry, this means that all the events have been processed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can read more on my article &lt;a href=&quot;https://hishaamn.wordpress.com/2016/04/05/sitecore-server-synchronization/&quot; rel=&quot;noreferrer&quot;&gt;Sitecore Server Synchronization&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've looked a bit on the code that performs the cleanup of the event queue.&#xA;So, as far as I've understood, if you have set the interval to keeps 6hrs but you have a job that is still running, the event will not get removed.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason is because, since that particular event has not been processed completely, Sitecore will not update the Properties table. So, the timestamp will still in the past.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Let say in the Properties table, the timestamp is 10th of October and you have an IntervalToKeep of 6hrs&#xA;Now, you have 2 events in the in queue on the 11th of October:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Event A is still being processed for more than 6hrs&lt;/li&gt;&#xA;&lt;li&gt;Event B has not been processed yet&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When the agent runs, it will not remove Event A and B because the Properties table still has the entry of the 10th of October.&lt;/p&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2019-10-11T11:43:16.797" LastActivityDate="2019-10-11T11:43:16.797" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22474" PostTypeId="2" ParentId="22472" CreationDate="2019-10-09T18:21:41.023" Score="5" Body="&lt;p&gt;Expanding from the above answer you can try the below SQL Query to know the Number of Records to be processed from a given time and date:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;SELECT COUNT(*) &#xA;FROM EventQueue WITH (NOLOCK) &#xA;WHERE &#xA;  (InstanceName &amp;lt;&amp;gt; @p1 AND RaiseGlobally=1 OR InstanceName = @p1 AND RaiseLocally=1) &#xA;  AND Stamp &amp;gt;= @p2&#xA;  AND Created &amp;gt;= @p3&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;where &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;@p1&lt;/code&gt; = InstanceName similar to &lt;code&gt;databaseName-sitecoreInstance.local&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;@p2&lt;/code&gt; = lastProcessedTimestamp&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;@p3&lt;/code&gt; = fromDate&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="4137" LastEditorUserId="342" LastEditDate="2019-10-10T01:20:30.223" LastActivityDate="2019-10-10T01:20:30.223" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22475" PostTypeId="1" AcceptedAnswerId="22477" CreationDate="2019-10-09T23:26:15.153" Score="0" ViewCount="666" Body="&lt;p&gt;The company I work for has purchased Sitecore XP1, and we will be basically starting from scratch to get all of our sites into Sitecore. I have been told that SXA is already included in our package, and the marketing team is really pushing for SXA to be used. As a developer, I am not liking what I have read about how it restricts development. Our main site is huge with a lot of custom and dynamic data/pages, and a lot of different api integrations. I'm not sure if having SXA will be a benefit to us. We have a really good development team with back-end devs, front-end devs, and a designer, and we are all pretty new to Sitecore in general.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are you experiences with SXA?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What are the pros/cons?&lt;/p&gt;&#xA;" OwnerUserId="5900" LastEditorUserId="4394" LastEditDate="2019-10-10T04:40:01.377" LastActivityDate="2019-10-10T04:40:01.377" Title="What are the Pros and Cons of using SXA?" Tags="|sxa|" AnswerCount="1" CommentCount="0" ClosedDate="2019-10-10T05:47:33.677" ContentLicense="CC BY-SA 4.0" />
  <row Id="22476" PostTypeId="2" ParentId="22106" CreationDate="2019-10-10T01:49:56.320" Score="0" Body="&lt;p&gt;I believe you are looking to create a segment that you can use in EXM? In that case you don't need to use xConnect query, you just need to make a CreateContactSearchQuery predicate that will run against xConnect, in the list manager. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is my code and this is the doco we used for it.&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-a-custom-predicate.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-a-custom-predicate.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;First I use a extension to to get the Facet, this makes the code much easy in the predicate. The extension MUST be called &lt;code&gt;Emails&lt;/code&gt;, which is the default facet key (EmailAddressList.DefaultFacetKey).&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Foundation.XdbModels.Extensions&#xA;{&#xA;    using Sitecore.XConnect.Collection.Model;&#xA;    using Sitecore.Foundation.XdbModels.Facets;&#xA;&#xA;    public static class ContactExtensions&#xA;    {&#xA;        public static EmailAddressList Emails(this Sitecore.XConnect.Contact c)&#xA;        {&#xA;            return c?.GetFacet&amp;lt;EmailAddressList&amp;gt;(EmailAddressList.DefaultFacetKey) ?? new EmailAddressList();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Then you rule would look like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Project.Website.Segmentation.Predicates.Contacts&#xA;{&#xA;    using System;&#xA;    using System.Linq.Expressions;&#xA;    using Sitecore.Framework.Rules;&#xA;    using Sitecore.XConnect;&#xA;    using Sitecore.XConnect.Segmentation.Predicates;&#xA;    using Sitecore.Foundation.XdbModels.Extensions;&#xA;&#xA;    public class ContactMemberAgeGroupMatches : ICondition, IMappableRuleEntity, IContactSearchQueryFactory&#xA;    {&#xA;        public string EmailAddress { get; set; }&#xA;        public StringOperationType Comparison { get; set; }&#xA;&#xA;        public bool Evaluate(IRuleExecutionContext context)&#xA;        {            &#xA;            return this.Comparison.Evaluate(context.Fact&amp;lt;Contact&amp;gt;().Emails()?.PreferredEmail.SmtpAddress, this.EmailAddress);&#xA;        }&#xA;&#xA;        public Expression&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt; CreateContactSearchQuery(IContactSearchQueryContext context)&#xA;        {&#xA;&#xA;            return (Expression&amp;lt;Func&amp;lt;Contact, bool&amp;gt;&amp;gt;)(contact =&amp;gt; this.Comparison.Evaluate(contact.Emails().PreferredEmail.SmtpAddress, this.EmailAddress));&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastEditorUserId="432" LastEditDate="2019-10-10T14:11:18.117" LastActivityDate="2019-10-10T14:11:18.117" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22477" PostTypeId="2" ParentId="22475" CreationDate="2019-10-10T04:08:26.840" Score="0" Body="&lt;p&gt;I think the decision should be based on &#xA; 1. Do you want to use the Sitecore ecosystem with full capabilities? Not only use Sitecore as a CMS but also follow the architectural and design practices.&#xA; 2. Use Sitecore as a CMS and build your custom stuff on top of it. This approach can lead us to develop certain features(functionality) that Sitecore offers out of the box. Also out custom implementation not really compatible with Sitecore ecosystem.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would always recommend to go with SXA because it not only provides certain features out of the box but also drives us to follow the same architectural/design patterns. This can be very useful when the project grows.&lt;/p&gt;&#xA;" OwnerUserId="1050" LastActivityDate="2019-10-10T04:08:26.840" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22478" PostTypeId="1" CreationDate="2019-10-10T07:09:56.723" Score="0" ViewCount="997" Body="&lt;p&gt;My website has so many pdf files and for some, I need to open the pdf file on the browser and for some, I need to download. I have got some solution i.e configuration in sitecore.config file but this change reflects for all the pdf files.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Please give some solution if any.&lt;br&gt;&#xA;Thanks in advance.&lt;/p&gt;&#xA;" OwnerUserId="5296" LastEditorUserId="4050" LastEditDate="2019-10-16T21:08:43.940" LastActivityDate="2019-10-16T21:08:43.940" Title="Need to open a particular pdf file on sitecore link" Tags="|sitecore-api|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22479" PostTypeId="2" ParentId="22478" CreationDate="2019-10-10T08:28:29.333" Score="1" Body="&lt;p&gt;One possible solution is to create a new template &lt;code&gt;_MediaHeaders&lt;/code&gt; with a checkbox field &lt;code&gt;Content Disposition Inline&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wQTsa.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wQTsa.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;and extend &lt;code&gt;File&lt;/code&gt; template with it:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/5D1Vc.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/5D1Vc.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Then you have to overwrite &lt;code&gt;MediaRequestHandler&lt;/code&gt; in the following way:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class MediaRequestHandler : Sitecore.Resources.Media.MediaRequestHandler&#xA;{&#xA;    private void SetContentDispositionHeaders(HttpContext context, Sitecore.Resources.Media.Media media)&#xA;    {&#xA;        if (media.MediaData.MediaItem.InnerItem[Constants.Templates.MediaHeaders.Fields.ContentDispositionInline.ID] == &quot;1&quot;)&#xA;        {&#xA;            var extension = media.Extension;&#xA;            if (extension.Length &amp;gt; 0 &amp;amp;&amp;amp; extension[0] != '.')&#xA;            {&#xA;                extension = &quot;.&quot; + extension;&#xA;            }&#xA;&#xA;            var fileName = media.MediaData.MediaItem.Name + extension;&#xA;&#xA;            context.Response.Headers[&quot;Content-Disposition&quot;] = $&quot;inline; filename=\&quot;{fileName}\&quot;&quot;;&#xA;        }&#xA;    }&#xA;&#xA;    protected override void SendMediaHeaders(Sitecore.Resources.Media.Media media, HttpContext context)&#xA;    {&#xA;        base.SendMediaHeaders(media, context);&#xA;        this.SetContentDispositionHeaders(context, media);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="35" LastActivityDate="2019-10-10T08:28:29.333" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="22480" PostTypeId="1" AcceptedAnswerId="22481" CreationDate="2019-10-10T08:42:34.570" Score="5" ViewCount="2534" Body="&lt;p&gt;My project is running on Sitecore 9, before 10 days I deployed changes on production environment after that content editor started updating content on production, we have created new user and that user also updated content and all items were not in workflow that's they got published to &lt;strong&gt;Web&lt;/strong&gt; database, so we want to validate changes that he made.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is there any way in Sitecore to get a list of updated items by a specific user on specific dates.      &lt;/p&gt;&#xA;" OwnerUserId="5943" LastEditorUserId="4050" LastEditDate="2019-10-16T21:11:23.710" LastActivityDate="2019-10-16T21:11:23.710" Title="Get list of Sitecore items updated by Specific User" Tags="|content-editor|workflow|" AnswerCount="2" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22481" PostTypeId="2" ParentId="22480" CreationDate="2019-10-10T09:07:48.867" Score="5" Body="&lt;p&gt;You can use below PowerShell to get a list of items updated by a specific user in last X days&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Script&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$path =&quot;master:/sitecore/content&quot;&#xA;$items = Get-ChildItem -Path $path -Recurse | &#xA;            Where-Object { $_.__Updated -gt [datetime]::Now.AddDays(-10) -and $_.&quot;__Updated By&quot; -eq &quot;sitecore\username&quot; } &#xA;&#xA;ForEach ($item in $items) &#xA;{&#xA;    Write-Host $item.ID $item.Paths.Path&#xA;}&#xA;&#xA;Write-Host &quot;Updated items count : &quot; $items.Count&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://marketplace.sitecore.net/en/Modules/Advanced_System_Reporter.aspx&quot; rel=&quot;noreferrer&quot;&gt;ASR module&lt;/a&gt; also has an inbuild report to get the last modified items in X days but I have not tested the module with Sitecore 9.&lt;/p&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-10-10T09:07:48.867" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22482" PostTypeId="1" CreationDate="2019-10-10T09:26:56.627" Score="0" ViewCount="156" Body="&lt;p&gt;I am trying to let children show up when you search and open a item that is in a bucket (Lock child relationship is set to true). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This blog post describes this:&#xA;&lt;a href=&quot;http://www.goblinrockets.com/2015/03/31/sitecore-managing-children-of-items-stored-in-a-bucket/&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.goblinrockets.com/2015/03/31/sitecore-managing-children-of-items-stored-in-a-bucket/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Basically what he does is opening a small local content tree showing just the opened item and its children.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However the &lt;code&gt;uiLaunchResult&lt;/code&gt; pipeline never seems to get used in Sitecore 9.2. Has there been a breaking change and if so how is the new pipeline called?&lt;/p&gt;&#xA;" OwnerUserId="4873" LastEditorUserId="70" LastEditDate="2019-10-10T15:07:51.387" LastActivityDate="2019-10-10T15:07:51.387" Title="Trying to show children of items (with Lock child relationship = true) in a bucket" Tags="|pipelines|buckets|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22483" PostTypeId="1" AcceptedAnswerId="22484" CreationDate="2019-10-10T09:43:20.630" Score="2" ViewCount="62" Body="&lt;p&gt;I have a Sitecore site on 8.2 in which the header comprises of three renderings, Logo, Navigation, and Quick Links.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have set a personalisation on both the navigation (blue) and quick links (red) so that when a user enters the site on a specific page they are hidden.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;See the two variations below:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/RovhY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/RovhY.png&quot; alt=&quot;The two variations to test&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I want to test whether this has a positive effect on conversion, but I can't work out how to test it. I only want the test to run for users that have entered the site on the page that the rule mentioned above is using.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I use a page test, all users will be tested not just the people that have landed on this page. This is not the test I want to run.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If I run a component test, there may be times when &lt;em&gt;either&lt;/em&gt; red or blue are hidden, but I want it to be only the two variations below. Either all the navigation elements are shown or none.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The only way around this I can find is by adding a new component in which wraps the two navigation components (in green) and then personalising on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/3QjMW.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3QjMW.png&quot; alt=&quot;Add a new component&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know if there's a way I can run this test without having to build, deploy and reconfigure all the pages to use this new component?&lt;/p&gt;&#xA;" OwnerUserId="350" LastActivityDate="2019-10-10T11:46:20.813" Title="How can you run a personalisation test on two components with the same rule?" Tags="|personalization|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22484" PostTypeId="2" ParentId="22483" CreationDate="2019-10-10T11:46:20.813" Score="2" Body="&lt;p&gt;Long story short; you can test &lt;em&gt;one&lt;/em&gt; component and one component only.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To solve it, you would need to conduct the test either as you describe, a parent &quot;meta&quot; component or simply by testing 2 variations of your outer container (marked with black box) where the placeholders keys are being swapped.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I describe something similar in my answer here: &lt;a href=&quot;https://sitecore.stackexchange.com/a/5902/73&quot;&gt;https://sitecore.stackexchange.com/a/5902/73&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In all cases, a redeploy will be required unfortunately.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to restrict the test only to people who came in on a certain page, use the Rules Engine to trigger an event when people &quot;land&quot; on the page you want, and make the triggering of this even part of your conditions you set up with the test.&lt;/p&gt;&#xA;" OwnerUserId="73" LastActivityDate="2019-10-10T11:46:20.813" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22485" PostTypeId="1" CreationDate="2019-10-10T11:51:02.777" Score="0" ViewCount="92" Body="&lt;p&gt;My understanding is that if we set &lt;code&gt;datasourceStrategy=&quot;preferAppLevel&quot;&lt;/code&gt; when we open a route with Sitecore Experience Editor and we want to add a component the data source location should be in Components folder at app level (&lt;code&gt;appDatasourcesPath=&quot;$sitecorePath/Components&quot;&lt;/code&gt;) but for us it takes the route level folder so it seems that updating config from preferRouteLevel to preferAppLevel has no effect.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We are using Sitecore 9.2 and JSS 12.&lt;/p&gt;&#xA;" OwnerUserId="6086" LastEditorUserId="851" LastEditDate="2019-10-10T12:55:20.950" LastActivityDate="2019-10-10T12:55:20.950" Title="Setting datasourceStrategy as preferAppLevel is not taking into consideration" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22487" PostTypeId="2" ParentId="22485" CreationDate="2019-10-10T12:50:36.657" Score="1" Body="&lt;p&gt;The data source strategy is used during the import process to determine the allowed data source locations for any created renderings. It is not working as you've thought. To achieve what you are describing you would need to change renderings data source location.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For more information's take a look here: &lt;a href=&quot;https://jss.sitecore.com/docs/fundamentals/services/app-import#import-datasource-location-strategies&quot; rel=&quot;nofollow noreferrer&quot;&gt;Import Datasource Location Strategies&lt;/a&gt;.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-10-10T12:50:36.657" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22488" PostTypeId="2" ParentId="22469" CreationDate="2019-10-10T14:28:44.930" Score="3" Body="&lt;p&gt;This is indeed a bug in pre-9.2 versions of Sitecore JSS. So you have 3 options:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Upgrade to 9.2 and use newer JSS version which has this bug fixed&lt;/li&gt;&#xA;&lt;li&gt;Ask Sitecore Support to provide a fix for your version of Sitecore&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;As a do-it-yourself workaround, compare the implementation of the &lt;code&gt;Sitecore.LayoutService.Mvc.ItemResolving.ItemResolver&lt;/code&gt; class from 9.2 version of JSS with the one from your version of Sitecore and implement a custom resolver based on the differences. After that you can replace the default implementation with your custom one in Sitecore DI configuration code:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;serviceCollection.Remove(ServiceDescriptor.Transient&amp;lt;IItemResolver, ItemResolver&amp;gt;());&#xA;serviceCollection.AddTransient&amp;lt;IItemResolver, YourFixedResolver&amp;gt;();&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="862" LastEditorUserId="862" LastEditDate="2019-10-10T14:41:25.630" LastActivityDate="2019-10-10T14:41:25.630" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22489" PostTypeId="2" ParentId="22480" CreationDate="2019-10-10T14:29:53.527" Score="7" Body="&lt;p&gt;Sitecore PowerShell Extensions includes a report out-of-the-box for items last updated since a specified time. Screenshots taken with SPE 5.1.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I shared using this report for a similar issue where the developer needs to &lt;a href=&quot;https://sitecore.stackexchange.com/questions/22371/compare-items-between-two-instances/22373#22373&quot;&gt;compare between two instances of Sitecore&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1HV8C.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1HV8C.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/1WTTj.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/1WTTj.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/7hDXk.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/7hDXk.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="95" LastEditorUserId="95" LastEditDate="2019-10-10T14:44:21.407" LastActivityDate="2019-10-10T14:44:21.407" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22490" PostTypeId="1" CreationDate="2019-10-10T14:37:32.557" Score="2" ViewCount="941" Body="&lt;p&gt;After upgrading to Sitecore 9 and converting custom index files from using Lucene to Solr, I am getting the following error on an Ajax call: &#xA;&lt;code&gt;Unable to cast object of type 'System.Collections.ArrayList' to type 'System.String'&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;[InvalidCastException: Unable to cast object of type 'System.Collections.ArrayList' to type 'System.String'.]&#xA;   Sitecore.ContentSearch.Converters.IndexFieldIDValueConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +38&#xA;   Sitecore.ContentSearch.Converters.IndexFieldStorageValueFormatter.ReadFromIndexStorage(Object indexValue, String fieldName, Type destinationType) +197&#xA;&#xA;[InvalidCastException: Could not convert value of type System.Collections.ArrayList to destination type Sitecore.Data.ID: Unable to cast object of type 'System.Collections.ArrayList' to type 'System.String'.]&#xA;   Sitecore.ContentSearch.Converters.IndexFieldStorageValueFormatter.ReadFromIndexStorage(Object indexValue, String fieldName, Type destinationType) +801&#xA;   Sitecore.ContentSearch.DocumentTypeMapInfo.SetProperty(Object target, String propertyName, String documentFieldName, Object value) +802&#xA;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/hASEK.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/hASEK.png&quot; alt=&quot;screenshot of error&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have tried an explicit cast and adding &lt;code&gt;multiValued=&quot;false&quot;&lt;/code&gt; in the config file for some of the fields but I am unsure what is causing the error. &lt;/p&gt;&#xA;" OwnerUserId="6148" LastEditorUserId="124" LastEditDate="2019-10-10T16:54:18.593" LastActivityDate="2019-10-11T11:04:19.143" Title="Error in custom index after upgrading to Sitecore 9" Tags="|content-search|solr|" AnswerCount="3" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22493" PostTypeId="1" AcceptedAnswerId="22524" CreationDate="2019-10-10T17:25:50.297" Score="3" ViewCount="637" Body="&lt;p&gt;I was installed &lt;code&gt;Sitecore XC 9.2.0&lt;/code&gt; Scaled using the &lt;code&gt;ARM template&lt;/code&gt;. After successful installation, when I am trying to open the&lt;code&gt;BizFX web app&lt;/code&gt;, getting this error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Most probably getting this error because of &lt;code&gt;.NET Core&lt;/code&gt;. When I have checked the runtime stack, It was &lt;code&gt;.NET 4.7&lt;/code&gt; and after changing this to &lt;code&gt;.NET Core&lt;/code&gt;, no changes are there in the output. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/QnXHI.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/QnXHI.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt; &lt;/p&gt;&#xA;" OwnerUserId="5862" LastEditorUserId="5387" LastEditDate="2019-10-11T13:34:00.277" LastActivityDate="2019-11-11T07:01:00.143" Title="HTTP Error 502.5 - Process Failure" Tags="|sitecore-commerce|azure|arm-template|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22494" PostTypeId="2" ParentId="22478" CreationDate="2019-10-10T17:45:30.850" Score="1" Body="&lt;p&gt;If you don't want to overwrite &lt;code&gt;MediaRequestHandler&lt;/code&gt;, you can achieve this using &lt;code&gt;media:request&lt;/code&gt; event. you need to write your custom handler for this -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:set=&quot;http://www.sitecore.net/xmlconfig/set/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;events&amp;gt;&#xA;      &amp;lt;event name=&quot;media:request&quot;&amp;gt;&#xA;        &amp;lt;handler type=&quot;xyz.foundation.downloadmedia, xyz.foundation&quot; method=&quot;OnMediaRequest&quot;/&amp;gt;&#xA;      &amp;lt;/event&amp;gt;&#xA;    &amp;lt;/events&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This handler will check for the query string in your media request and will force the download based on it.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public void OnMediaRequest(object sender, EventArgs args)&#xA;    {&#xA;        // Check if the request was for a download, else break out early&#xA;        if (!Sitecore.MainUtil.GetBool(Sitecore.Web.WebUtil.GetQueryString(&quot;download&quot;), false))&#xA;            return;&#xA;&#xA;        // Safety checks&#xA;        if (Sitecore.Context.Site.Name.Equals(Sitecore.Constants.ShellSiteName, StringComparison.InvariantCultureIgnoreCase))&#xA;            return;&#xA;        var sitecoreEventArgs = (SitecoreEventArgs)args;&#xA;        if (sitecoreEventArgs == null || !sitecoreEventArgs.Parameters.Any())&#xA;            return;&#xA;        var request = (MediaRequest)sitecoreEventArgs.Parameters[0];&#xA;        if (request == null)&#xA;            return;&#xA;&#xA;        // Now we've established we have a valid request&#xA;        ForceMediaDownload(request);&#xA;    }&#xA;&#xA;    /// &amp;lt;summary&amp;gt;&#xA;    /// Forces download of the requested media item prompting the user to save the file&#xA;    /// &amp;lt;/summary&amp;gt;&#xA;    /// &amp;lt;param name=&quot;request&quot;&amp;gt;The MediaRequest&amp;lt;/param&amp;gt;&#xA;    private void ForceMediaDownload(MediaRequest request)&#xA;    {&#xA;        var mediaItem = MediaManager.GetMedia(request.MediaUri).MediaData.MediaItem;&#xA;&#xA;        var response = request.InnerRequest.RequestContext.HttpContext.Response;&#xA;        response.Clear();&#xA;        response.ContentType = mediaItem.MimeType;&#xA;        response.Headers.Set(&quot;Content-Disposition&quot;, &quot;attachment; filename=&quot; + GetFileName(mediaItem));&#xA;        response.StatusCode = (int)HttpStatusCode.OK;&#xA;        response.BufferOutput = true;&#xA;        mediaItem.GetMediaStream().CopyTo(response.OutputStream);&#xA;        response.Flush();&#xA;        response.End();&#xA;    }&#xA;&#xA;    private static string GetFileName(MediaItem mi)&#xA;    {&#xA;        // Some versions of IE don't like the spaces in the names Surprise!&#xA;        return (&quot;{0}.{1}&quot;.FormatWith(mi.Name, mi.Extension)).Replace(&quot; &quot;, &quot;-&quot;);&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;all you need to do is ensure that the URL parameter &lt;code&gt;download=1&lt;/code&gt; is appended to any links you wish to force save prompt for, e.g. &lt;code&gt;/-/media/Koala.jpg?download=1&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;reference - &lt;a href=&quot;https://jammykam.wordpress.com/2015/11/16/force-download-of-media-files/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jammykam.wordpress.com/2015/11/16/force-download-of-media-files/&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-10-10T17:45:30.850" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22495" PostTypeId="2" ParentId="22490" CreationDate="2019-10-10T17:59:26.750" Score="3" Body="&lt;p&gt;You have a custom SearchResultItem that does not match the index config. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should have a custom class that extends SearchResultItem, like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class IndexedItem : SearchResultItem&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That class will have a field that is a string like this&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[IndexField(&quot;PageTitle&quot;)]&#xA;public string PageTitle { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But then in your config you have it specified as a string collection&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldMap type=&quot;Sitecore.ContentSearch.SolrProvider.SolrFieldMap, Sitecore.ContentSearch.SolrProvider&quot;&amp;gt;&#xA;    &amp;lt;fieldNames hint=&quot;raw:AddFieldByFieldName&quot;&amp;gt;&#xA;        &amp;lt;field fieldName=&quot;pagetitle&quot; returnType=&quot;stringCollection&quot; /&amp;gt;&#xA;    &amp;lt;/fieldNames&amp;gt;&#xA;&amp;lt;/fieldMap&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The crash is when the collection tries to populate a string.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-10-10T17:59:26.750" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22496" PostTypeId="1" AcceptedAnswerId="33148" CreationDate="2019-10-10T19:04:13.137" Score="2" ViewCount="435" Body="&lt;p&gt;Receiving this error during the install. Any idea what needs to be done? Thanks in advance. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration : The remote server returned an error: (500) Internal Server Error.&#xA;At C:\Projects\XC92 Deploy\MyDeploy-Sitecore-Commerce.ps1:93 char:1&#xA;+ Install-SitecoreConfiguration @params -ErrorAction Continue *&amp;gt;&amp;amp;1 | Te ...&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:17:09&#xA;Invoke-RestMethod : The remote server returned an error: (500) Internal Server Error.&#xA;At C:\projects\XC92 Deploy\Modules\InitializeCommerce\InitializeCommerce.psm1:101 char:5&#xA;+     Invoke-RestMethod $UrlCommerceShopsServicesBootstrap -TimeoutSec  ...&#xA;+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException&#xA;    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5880" LastEditorUserId="1606" LastEditDate="2019-10-11T11:19:25.903" LastActivityDate="2023-10-30T16:04:45.653" Title="Sitercore 9.2 Commerce install failing on Bootstrapping Commerce Services" Tags="|sitecore-commerce|installation|" AnswerCount="1" CommentCount="6" ContentLicense="CC BY-SA 4.0" />
  <row Id="22497" PostTypeId="2" ParentId="22490" CreationDate="2019-10-10T20:22:11.063" Score="1" Body="&lt;p&gt;I had similar issue while upgrading Sitecore 8.2 with Lucene to Sitecore 9.2 with Solr quick fix which I have done is as below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;I was using a patch config file like Search.config.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;The entire format of index which gets build was totally different in Lucene so we changed to match Solr index format.Which is like below.(below is one of the example you need to check everything)&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Lucene:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;metatitle&quot; storageType=&quot;YES&quot; indexType=&quot;TOKENIZED&quot; vectorType=&quot;YES&quot; boost=&quot;1f&quot; omitNorms=&quot;true&quot; type=&quot;System.String&quot; settingType=&quot;Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Solr:  &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;field fieldName=&quot;metatitle&quot; returnType=&quot;stringArray&quot; settingType=&quot;Sitecore.ContentSearch.SolrProvider.SolrSearchFieldConfiguration, Sitecore.ContentSearch.SolrProvider&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;ol start=&quot;3&quot;&gt;&#xA;&lt;li&gt;I changed code for ComputedIndexField as per Solr, in the class where we are generating these.&lt;/li&gt;&#xA;&lt;li&gt;One more think which I checked is for how you query the Solr for getting index and Search result is little different, So you may need to modify that also.&lt;/li&gt;&#xA;&lt;li&gt;Reindexed everything and check that works.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In my case after performing all above steps Solr started responding everything. I thought this will help you. &lt;/p&gt;&#xA;" OwnerUserId="6125" LastActivityDate="2019-10-10T20:22:11.063" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22498" PostTypeId="2" ParentId="13788" CreationDate="2019-10-11T07:03:28.657" Score="3" Body="&lt;p&gt;We recently explored ContextFiltering in Solr, but we used a custom asp.net mvc controller rendering to do the filtering logic based on template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have used the documentation on &lt;a href=&quot;https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/using-solr-auto-suggest.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;Sitecore Docs AutoSuggest&lt;/a&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You need to edit the SolrConfig.xml and add the below sections to enable SOLR AutoSuggest Feature &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;searchComponent name=&quot;suggest&quot; class=&quot;solr.SuggestComponent&quot;&amp;gt;&#xA;  &amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;    &amp;lt;str name=&quot;name&quot;&amp;gt;CustomSuggester&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;lookupImpl&quot;&amp;gt;AnalyzingInfixLookupFactory&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;dictionaryImpl&quot;&amp;gt;DocumentDictionaryFactory&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;field&quot;&amp;gt;sxacontent_txm&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;contextField&quot;&amp;gt;_template&amp;lt;/str&amp;gt; &#xA;    &amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;text_general&amp;lt;/str&amp;gt;&#xA;    &amp;lt;str name=&quot;buildOnStartup&quot;&amp;gt;false&amp;lt;/str&amp;gt;&#xA;  &amp;lt;/lst&amp;gt;&#xA;&amp;lt;/searchComponent&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;In above Section , contextField is the field we can use for template based filter. We can also pass Language.&#xA;You would also need to pass the appropriate value in ContentSearchRepository for Template and Language Fields&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have blogged about the same &lt;a href=&quot;https://sitecorejumpstart.wordpress.com/2019/10/06/sitecore-solr-autosuggest-with-template-and-language-filters/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="106" LastActivityDate="2019-10-11T07:03:28.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22499" PostTypeId="1" AcceptedAnswerId="22500" CreationDate="2019-10-11T07:20:02.110" Score="1" ViewCount="971" Body="&lt;p&gt;I am a powershell newbie. I have to write a Sitecore Powershell script where I need to check all the templates for a particular value. But I need to ignore templates inside &lt;code&gt;/sitecore/templates/System/&lt;/code&gt; folder.&#xA;What is the best way to implement this?&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items = Get-ChildItem $selectedValues.SelectedFolderPath -Recurse&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5833" LastEditorUserId="73" LastEditDate="2019-10-11T09:06:57.627" LastActivityDate="2019-10-11T09:06:57.627" Title="Sitecore Powershell skip items in System Folder" Tags="|powershell-extensions|" AnswerCount="3" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22500" PostTypeId="2" ParentId="22499" CreationDate="2019-10-11T08:50:12.857" Score="3" Body="&lt;p&gt;You can use &lt;code&gt;Where-Object&lt;/code&gt; to exclude items in &lt;code&gt;/sitecore/templates/System&lt;/code&gt; node like:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Where-Object { ! $_.Paths.FullPath.StartsWith('/sitecore/templates/System') }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So your full code would be &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items = Get-ChildItem $selectedValues.SelectedFolderPath -Recurse | Where-Object { ! $_.Paths.FullPath.StartsWith('/sitecore/templates/System') }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="277" LastActivityDate="2019-10-11T08:50:12.857" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22501" PostTypeId="2" ParentId="22499" CreationDate="2019-10-11T08:51:42.963" Score="2" Body="&lt;p&gt;You can use the below script to check for your values on the templates. It will check if the item path contains &lt;code&gt;/sitecore/templates/System&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items = Get-ChildItem $selectedValues.SelectedFolderPath -Recurse&#xA;&#xA;foreach($item in $items){&#xA;&#xA;    if($item.Paths.FullPath -inotmatch &quot;/sitecore/templates/System&quot;){&#xA;        Write-Host &quot;Processing item $($item.Name) with path $($item.Paths.FullPath)&quot;&#xA;        // perform your check here&#xA;    }&#xA;    else{&#xA;        Write-Host &quot;SKIP. It is a system path for item $($item.Name) - $($item.Paths.FullPath)&quot;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastActivityDate="2019-10-11T08:51:42.963" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22502" PostTypeId="2" ParentId="22499" CreationDate="2019-10-11T08:58:54.457" Score="3" Body="&lt;p&gt;You can try the below script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$items = Get-ChildItem -Path &quot;master:/sitecore/content/home&quot; -Recurse | &#xA;Where-Object { $_.TemplateName -eq 'Your Template Name'}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;You can filter at two levels:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;At the -Path level where you can minimize the exposure to the particular list&lt;/li&gt;&#xA;&lt;li&gt;Where-Object where you can either match the TemplateIds/TemplateName with &quot;-eq&quot; or skip items using &quot;-ne&quot;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Note: -Recurse will give you all the items under the -Path specified but if you don't specify this option, you will only get the items that are just under the -Path&lt;/p&gt;&#xA;" OwnerUserId="4137" LastActivityDate="2019-10-11T08:58:54.457" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22503" PostTypeId="1" AcceptedAnswerId="22507" CreationDate="2019-10-11T09:07:01.720" Score="3" ViewCount="3401" Body="&lt;p&gt;I am a Sitecore PowerShell newbie. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have to write a Sitecore PowerShell script to ignore certain items from consideration based on their template types.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For this we can add these items to an array and use &lt;code&gt;-notin&lt;/code&gt; for comparison. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is a code sample:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#ignored items list start&#xA;$nodeFolderTemplate = Get-Item -Path &quot;/sitecore/templates/System/Node&quot; &#xA;$layoutFolderTemplate = Get-Item -Path &quot;/sitecore/templates/System/Layout/Layout Folder&quot; &#xA;$rederingFolderTemplate = Get-Item -Path &quot;/sitecore/templates/System/Layout/Renderings/Rendering Folder&quot;&#xA;$commonFolderTemplate = Get-Item -Path &quot;/sitecore/templates/Common/Folder&quot;&#xA;$placeHolderSettingsFolder = Get-Item -Path &quot;/sitecore/templates/System/Layout/Placeholder Settings Folder&quot;&#xA;$branchFolderTemplate = Get-Item -Path &quot;/sitecore/templates/System/Branches/Branch Folder&quot;&#xA;$template = Get-Item -Path &quot;/sitecore/templates/System/Templates/Template&quot;&#xA;$dictionaryDomain = Get-Item -Path &quot;/sitecore/templates/System/Dictionary/Dictionary Domain&quot;&#xA;$dictionaryEntry = Get-Item -Path &quot;/sitecore/templates/System/Dictionary/Dictionary entry&quot;&#xA;$ignoredFolders = @( $nodeFolderTemplate.ID, $layoutFolderTemplate.ID, $rederingFolderTemplate.ID, $commonFolderTemplate.ID, $placeHolderSettingsFolder.ID, $branchFolderTemplate.ID )&#xA;$ignoredItems = @( $dictionaryDomain.ID, $ignoredFolders.ID, $commonFolderTemplate.ID)&#xA;#ignored items list end &#xA;&#xA; $items = Get-ChildItem $selectedValues.SelectedFolderPath -Recurse | &#xA;              Where-Object { $_.TemplateID -notin $ignoredFolders }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Can anybody please suggest a better way to do it?&lt;/p&gt;&#xA;" OwnerUserId="5833" LastEditorUserId="70" LastEditDate="2019-10-17T17:43:23.670" LastActivityDate="2019-10-17T17:43:23.670" Title="Sitecore Powershell script to add items in array" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="5" ContentLicense="CC BY-SA 4.0" />
  <row Id="22504" PostTypeId="1" AcceptedAnswerId="22551" CreationDate="2019-10-11T09:35:40.457" Score="6" ViewCount="1137" Body="&lt;p&gt;I'm creating roles for the &lt;code&gt;Author&lt;/code&gt; user who should be able to add components to the page (along with creating &amp;amp; editing content).&#xA;This user has only two roles now - &lt;code&gt;Sitecore client authoring&lt;/code&gt; &amp;amp; &lt;code&gt;Sitecore client developing&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ISSUE 1:&lt;/strong&gt;&lt;br&gt;&#xA;After assigning the &lt;code&gt;Sitecore client developing&lt;/code&gt; role to this user, it displays &lt;code&gt;Analyze&lt;/code&gt;, &lt;code&gt;Configure&lt;/code&gt;, &lt;code&gt;Presentation&lt;/code&gt; &amp;amp; &lt;code&gt;View&lt;/code&gt; tabs in the ribbon.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But, I just want the &lt;code&gt;Presentation&lt;/code&gt; tab to be shown &amp;amp; hide these - &lt;code&gt;Analyze&lt;/code&gt;, &lt;code&gt;Configure&lt;/code&gt;, &lt;code&gt;View&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;ISSUE 2:&lt;/strong&gt;&lt;br&gt;&#xA;When clicked on the &lt;code&gt;Edit&lt;/code&gt; button for a rendering, the placeholder &amp;amp; datasource fields are readonly &amp;amp; non-editable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What other role settings should be made to solve these issues.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Using &lt;code&gt;Sitecore 8.2&lt;/code&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastEditorUserId="1233" LastEditDate="2019-10-14T06:27:10.540" LastActivityDate="2019-10-14T13:50:02.670" Title="What role to add to show just the presentation details" Tags="|role-management|user-management|" AnswerCount="2" CommentCount="6" ClosedDate="2019-10-14T14:13:53.407" ContentLicense="CC BY-SA 4.0" />
  <row Id="22505" PostTypeId="2" ParentId="10475" CreationDate="2019-10-11T10:47:00.657" Score="0" Body="&lt;p&gt;This issue indicates that the installation script is not able to set the values of parameters in xp0-xconnect.json file -&lt;/p&gt;&#xA;&#xA;&lt;p&gt;line 428: { &quot;Name&quot;: &quot;IIS Web Application Name&quot;, &quot;Value&quot;: &quot;[parameter('SiteName')]&quot; }&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It happens when it is not able to access properly the zip file mentioned in script-&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Line 28: $XConnectPackage = (Get-ChildItem &quot;$SCInstallRoot\Sitecore 9.1.1 rev. 002459 (OnPrem)_xp0xconnect.scwdp.zip&quot;).FullName&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In our case it occured when my colleague unzipped the &quot;Sitecore 9.1.1 rev. 002459 (OnPrem)_xp0xconnect.scwdp.zip&quot; and again zipped it using WinRAR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To resolve this error, he replaced the &quot;Sitecore 9.1.1 rev. 002459 (OnPrem)_xp0xconnect.scwdp.zip&quot; created by him with the original zip file downloaded from sitecore site.&lt;/p&gt;&#xA;" OwnerUserId="5833" LastActivityDate="2019-10-11T10:47:00.657" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22506" PostTypeId="2" ParentId="22490" CreationDate="2019-10-11T11:04:19.143" Score="0" Body="&lt;p&gt;Thanks for all the help, I have now fixed the issue. The problem was in my config files, for each field value the multiValued property was being set to true automatically. This meant that each field that was a string was coming through as an array even though there was only one value. Once I set all of the fields to multiValued=&quot;false&quot;, the index worked fine. &lt;/p&gt;&#xA;" OwnerUserId="6148" LastActivityDate="2019-10-11T11:04:19.143" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22507" PostTypeId="2" ParentId="22503" CreationDate="2019-10-11T11:38:14.063" Score="3" Body="&lt;p&gt;The only issue I see with your script is that you are creating a variable for each template type. If you have a big list of templates then it would be difficult to manage the script.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So, Instead of creating a variable for each template path you can use an array for template paths.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$templatePaths  =     &quot;/sitecore/templates/System/Node&quot;,&#xA;                      &quot;/sitecore/templates/System/Layout/Layout Folder&quot;,&#xA;                      &quot;/sitecore/templates/System/Layout/Renderings/Rendering Folder&quot;&#xA;&#xA;$templateIds = @()&#xA;$templatePaths | ForEach-Object -Process { $templateIds += (Get-Item $_ ).ID }&#xA;&#xA;$items = Get-ChildItem $selectedValues -Recurse | Where-Object { $_.TemplateID -notin $templateIds }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-10-11T11:38:14.063" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22509" PostTypeId="2" ParentId="20749" CreationDate="2019-10-11T13:07:28.847" Score="1" Body="&lt;p&gt;There was a defect in prior version of sitecore where multiline text could get modified if html tags are given in it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In order to fix it sitecore used to provide a patch for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://kb.sitecore.net/articles/148401&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://kb.sitecore.net/articles/148401&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://sitecore.app.box.com/s/m0q3uyjku4emm6y07g6zffc63pby6m6o&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecore.app.box.com/s/m0q3uyjku4emm6y07g6zffc63pby6m6o&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;However it was recommended to convert multiline text either by single line text or rich text.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my suggestion it would be better if you can make it Rich text. It will save you to write additional checks as well like &quot;isExperienceEditor&quot; and single line of code can work for both content and experience editor&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@Html.Sitecore().Field(_HoverImageCallout.Fields.HoverText)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="5542" LastActivityDate="2019-10-11T13:07:28.847" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22510" PostTypeId="1" AcceptedAnswerId="22512" CreationDate="2019-10-11T14:23:52.860" Score="0" ViewCount="127" Body="&lt;p&gt;There have been some suspect manipulations in our media library (for example, detaching and reattaching of images), such that we now have images in our library which are linked to the wrong template. So far, we have found instances of PNG images using the JPEG template.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For most browsers, this doesn't cause a problem. But we are using the &lt;code&gt;X-Content-Type-Options: nosniff&lt;/code&gt; HTTP header and have found that one old browser that we still need to support (namely, MSIE) will then refuse to display the image since it is sent with a JPEG content-type.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Does anyone know of a way (ideally a Sitecore PowerShell script) of detecting these cases of &quot;wrong extensions&quot; across the entire media library? We're mostly interested in &lt;code&gt;JPEG &amp;lt;--&amp;gt; PNG&lt;/code&gt; cases.&lt;/p&gt;&#xA;" OwnerUserId="890" LastActivityDate="2019-10-11T15:06:27.797" Title="Fixing media items with wrong extension" Tags="|powershell-extensions|media-library|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22511" PostTypeId="1" CreationDate="2019-10-11T15:04:04.453" Score="2" ViewCount="96" Body="&lt;p&gt;When I use the global search in the Content Editor in my Sitecore 8.1 instance (that uses Lucene), the search.log displays the following output:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ExecuteQueryAgainstLucene (sitecore_master_index): spanFirst(SpanWildcardQuery(_name:searchterm*), 1) (+SpanWildcardQuery(_content:*searchterm*) +_language:en) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_testing_index): host:4b75d9f9081d4232b55e5b7b845b5119en - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_testing_index): +host:4b75d9f9081d4232b55e5b7b845b5119en +__is_running:1 - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_testing_index): +__is_running:1 +SpanWildcardQuery(datasourceitems:*4b75d9f9081d4232b55e5b7b845b5119*) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:base person +_path:4a14e57a73904438ac00e968863c3ea3)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:base person +_path:4a14e57a73904438ac00e968863c3ea3)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:base person +_path:4a14e57a73904438ac00e968863c3ea3)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:base person +_path:4a14e57a73904438ac00e968863c3ea3)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:client profile +_path:d2e3f7abdc384f2bb525437c5ae6364b)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:client profile +_path:d2e3f7abdc384f2bb525437c5ae6364b)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:client profile +_path:d2e3f7abdc384f2bb525437c5ae6364b)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:client profile +_path:d2e3f7abdc384f2bb525437c5ae6364b)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:tag +_path:4cbbae98f49846c1af336729558de117)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:tag +_path:4cbbae98f49846c1af336729558de117)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:client profile +_path:d2e3f7abdc384f2bb525437c5ae6364b)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:client profile +_path:d2e3f7abdc384f2bb525437c5ae6364b)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:client profile +_path:d2e3f7abdc384f2bb525437c5ae6364b)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_templatename:client profile +_path:d2e3f7abdc384f2bb525437c5ae6364b)) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_path:154d56cc0de243c7bbc0a25bd7ffd901 +(+_path:154d56cc0de243c7bbc0a25bd7ffd901 +(-_group:154d56cc0de243c7bbc0a25bd7ffd901 +*:*)))) - Filter : &#xA;ExecuteQueryAgainstLucene (sitecore_master_index): +_datasource:sitecore +(+(+_path:11111111111111111111111111111111 +_latestversion:1) +(+_path:154d56cc0de243c7bbc0a25bd7ffd901 +(+_path:154d56cc0de243c7bbc0a25bd7ffd901 +(-_group:154d56cc0de243c7bbc0a25bd7ffd901 +*:*)))) - Filter : &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;That is, the search results are filtered based on their templatename and path. I tried running the same search in Luke without any filtering, and I am getting thousands of search results.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;In my Sitecore 9.1, SOLR-powered instance this doesn't happen - the Content Search returns thousands of entries and the Editor only shows the first 20 or so, of which often none is relevant to the Content Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QUESTION&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I filter the Content Editor search results (in a Sitecore 9.1 installation) by Template or any other arbitrary restriction?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-10-11T20:21:29.940" Title="Filtering Content Editor global search in SOLR" Tags="|content-search|solr|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22512" PostTypeId="2" ParentId="22510" CreationDate="2019-10-11T15:06:27.797" Score="6" Body="&lt;p&gt;Here is an example using Sitecore PowerShell Extensions to compare the first bit with a list of known values.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;$png = &quot;89&quot;&#xA;$gif = &quot;47&quot;&#xA;$bmp = &quot;42&quot;&#xA;$jpg = &quot;FF&quot;&#xA;&#xA;$image = Get-Item -Path &quot;master:&quot; -ID &quot;{88962785-4EE1-47F8-9CD1-028CAC9794AD}&quot;&#xA;$media = [Sitecore.Resources.Media.MediaManager]::GetMedia([Sitecore.Data.Items.MediaItem]$image)&#xA;New-UsingBlock ($mediaStream = $media.GetStream()) {&#xA;    $bit = $mediaStream.Stream.ReadByte().ToString(&quot;X2&quot;)&#xA;    switch ($bit) {&#xA;        $png { &#xA;            if($media.Extension -ne &quot;png&quot;) {&#xA;                Write-Host &quot;Mismatch for $($image.ID)&quot;   &#xA;            }&#xA;        }&#xA;        $jpg { &#xA;            if($media.Extension -ne &quot;jpg&quot;) {&#xA;                Write-Host &quot;Mismatch for $($image.ID)&quot;   &#xA;            }&#xA;        }&#xA;        $gif { &#xA;            if($media.Extension -ne &quot;gif&quot;) {&#xA;                Write-Host &quot;Mismatch for $($image.ID)&quot;   &#xA;            }&#xA;        }&#xA;        $bmp { &#xA;            if($media.Extension -ne &quot;bmp&quot;) {&#xA;                Write-Host &quot;Mismatch for $($image.ID)&quot;   &#xA;            }&#xA;        }&#xA;        default { Write-Host &quot;Unknown&quot; }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;References&lt;/h3&gt;&#xA;&#xA;&lt;p&gt;I used &lt;a href=&quot;https://gist.github.com/ChuckSavage/dc079e21563ba1402cf6c907d81ac1ca&quot; rel=&quot;noreferrer&quot;&gt;the following gist&lt;/a&gt; to help me figure out which headers to use when &lt;a href=&quot;https://stackoverflow.com/questions/40180969/get-stream-from-sitecore-file-item-c&quot;&gt;reading from the media stream&lt;/a&gt;. There are likely more that need to be added possibly due to compression. &lt;/p&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-10-11T15:06:27.797" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22513" PostTypeId="1" CreationDate="2019-10-11T18:03:09.300" Score="3" ViewCount="143" Body="&lt;p&gt;Recently, we had an issue where our Core database was experiencing maxed out DTU consumption during publishing. The Core database is set as the Links Database as well. We were able to identify locks on the Links table in the Core database.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Would toggling the setting &lt;code&gt;LinkDatabase.UpdateDuringPublish&lt;/code&gt; to false help alleviate some of the load during publish operations? &lt;em&gt;(This setting is &lt;code&gt;true&lt;/code&gt; by default)&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;What does this setting do?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;The CD servers do not have any reliance on the Links database. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore 8.2u3&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="556" LastActivityDate="2019-10-11T18:03:09.300" Title="What is the function of LinkDatabase.UpdateDuringPublish?" Tags="|link-database|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22514" PostTypeId="2" ParentId="22513" CreationDate="2019-10-11T18:03:09.300" Score="2" Body="&lt;h3&gt;What does this setting do?&lt;/h3&gt;&#xA;&lt;p&gt;The following &lt;code&gt;Sitecore.Links.ItemEventHandlers&lt;/code&gt; methods check this setting (these are referenced from the corresponding event, e.g. &lt;code&gt;item:copied&lt;/code&gt;):&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;OnItemCopied&lt;/li&gt;&#xA;&lt;li&gt;OnItemDeleted&lt;/li&gt;&#xA;&lt;li&gt;OnItemSaved&lt;/li&gt;&#xA;&lt;li&gt;OnItemVersionRemoved&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;In all cases, if Sitecore is &lt;em&gt;&lt;strong&gt;mid-publish&lt;/strong&gt;&lt;/em&gt;, these methods immediately exit and perform no action. I found no evidence of any additional day-to-day operations where the links database is updated (other than the rebuild action from control panel).&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;What do you mean by &amp;quot;mid-publish&amp;quot;?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Tracing this method up the call stack reveals that it's surprisingly simple- it merely checks if the &lt;code&gt;Context.Site&lt;/code&gt; is &amp;quot;publisher&amp;quot;.&lt;/p&gt;&#xA;&lt;h3&gt;Would toggling the setting LinkDatabase.UpdateDuringPublish to false help alleviate some of the load during publish operations?&lt;/h3&gt;&#xA;&lt;p&gt;Toggling this setting to false will prevent all links database updates during publishing. In that case, yes, it will reduce the load on the database.&lt;/p&gt;&#xA;&lt;p&gt;Because I was curious about real-world impact, I ran some tests locally to measure whether toggled &lt;code&gt;true&lt;/code&gt; or &lt;code&gt;false&lt;/code&gt;, it would speed up or slow down publishing. Unfortunately, my tests came up inconclusive. In other words, toggling the setting did not positively or negatively affect how long it took for the publish operation to complete.&lt;/p&gt;&#xA;&lt;h3&gt;Conclusion&lt;/h3&gt;&#xA;&lt;p&gt;If you are not leveraging the links database within your application code, there is no harm in toggling this to &lt;code&gt;false&lt;/code&gt;. But it likely won't make a significant difference in performance.&lt;/p&gt;&#xA;" OwnerUserId="556" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-10-11T18:03:09.300" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22515" PostTypeId="1" AcceptedAnswerId="22522" CreationDate="2019-10-11T19:07:29.347" Score="3" ViewCount="2066" Body="&lt;p&gt;Hi I am trying to install Sitecore 9 using SIF and a PowerShell script provided with the ELearning Sitecore 9 developer foundations. I've had quite a few issue during this including getting Solr 6.6.2 setup. I seem to have over come these problems, however one that has stumped me over the last few day is this exception:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Install-SitecoreConfiguration : Failed to start service 'Sitecore XConnect Search Indexer - local.xconnect-IndexWorker (local.xconnect-IndexWorker)'. At C:\sitecore\install\install.ps1:43 char:1 + Install-SitecoreConfiguration @xconnectParams + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration&#xA;&#xA;[TIME] 00:02:50 Start-Service : Failed to start service 'Sitecore XConnect Search Indexer - local.xconnect-IndexWorker (local.xconnect-IndexWorker)'. At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-ManageServiceTask.ps1:40 char:33 + $instance | Start-Service + ~~~~~~~~~~~~~ + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException + FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;So far I found some threads on here explaining how they fixed it and giving the error messages from the logs. I have tried a few things although they would appear to have this issue for different reason. For example a common cause of this seems to be that their license has expired or does not include xConnect. I don't believe this is my issue because I am using a license from a another Sitecore 9 project that uses xConnect that works.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Also the error message in my xConnect logs seems to be different to when this is the case:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&#xA;2019-10-11 18:00:29.419 +01:00 [Information] Starting Xdb Indexer App Domain, Machine: LAPTOP-171, InstanceName: XConnectIndexer_AppDomain &#xA;2019-10-11 18:00:30.223 +01:00 [Information] SystemPerformanceCounters Constructor, Instance:XConnectIndexer, Path: App_Data\Diagnostics, CounterFilePattern: *.json &#xA;2019-10-11 18:00:31.376 +01:00 [Error] Exception occurred during instantiating of IndexerHost. System.UriFormatException: Invalid URI: The Authority/Host could not be parsed. &#xA;    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at Sitecore.Xdb.Collection.Search.Solr.SolrCoreUri.ReplaceCoreName(String newCoreName) at Sitecore.Xdb.Collection.Search.Solr.SolrWriterSettings..ctor(SolrCoreUri coreUri, Int32 maximumUpdateBatchSize, Int32 maximumDeleteBatchSize, Int32 maximumCommitMilliseconds, Int32 parallelizationDegree, Int32 retryCount, Int32 maximumRetryDelayMilliseconds, Encoding encoding, IndexerSettings indexerSettings) at Sitecore.Xdb.Collection.Search.Solr.RebuildSolrWriterSettings..ctor(String rebuildCoreName, SolrWriterSettings solrWriterSettings, Uri rebuildCoreWriteUrl, Uri rebuildCoreCleanUri, Uri rebuildCoreStatusPath, Uri swapCoresUri, Uri coreAdminUrl, Uri rebuildCoreCommitUrl) &#xA;    at Sitecore.Xdb.Collection.Search.Solr.RebuildSolrWriterSettings..ctor(SolrWriterSettings settings, String rebuildCoreName) &#xA;    at Sitecore.Xdb.Collection.Search.Solr.SolrIndexRebuilder.GetRebuildSolrWriterSettings(SolrWriterSettings settings) &#xA;    at Sitecore.Xdb.Collection.Search.Solr.SolrIndexRebuilder..ctor(SolrWriterSettings writerSettings, XdbModel xdbModel) &#xA;--- End of stack trace from previous location where exception was thrown --- &#xA;    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider) &#xA;    at Microsoft.Extensions.Configuration.ConfigurationServiceType.c__DisplayClass24_0.b__0(IServiceProvider sp) &#xA;    at Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider) &#xA;    at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider) &#xA;    at Microsoft.Extensions.Configuration.ConfigurationServiceType.c__DisplayClass24_0.b__0(IServiceProvider sp) &#xA;    at Microsoft.Extensions.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider) &#xA;    at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) &#xA;    at Sitecore.XConnect.Search.Indexer.IndexerHost..ctor(IConfigurationRoot config) in C:\BA\147b0adf6c2580c7\code\Sitecore.XConnect.Search.Indexer\IndexerHost.cs:line 46 &#xA;    at Sitecore.XConnect.Search.Indexer.IndexerAppDomainHost.IndexerHostAppDomainBridge..ctor() in C:\BA\147b0adf6c2580c7\code\Sitecore.XConnect.Search.Indexer\IndexerAppDomainHost.cs:line 149&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I did find a blog post mentioning the error here &lt;a href=&quot;https://tothecore.sk/2018/08/09/sitecore-xconnect-search-indexer-windows-service-throwing-exception-the-authority-host-could-not-be-parsed/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/08/09/sitecore-xconnect-search-indexer-windows-service-throwing-exception-the-authority-host-could-not-be-parsed/&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But I'm not sure really what his fix is. When I try to run the script with the URL he suggests it then can't establish a connection with SOLR.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I also can't start the server manually through the server manager. I get the same error in the Window event logs.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is the script I'm running from the sitecore 9 set up guide.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;#define parameters &#xA;$prefix = &quot;local&quot; &#xA;$PSScriptRoot = &quot;C:\sitecore\install&quot; &#xA;$XConnectCollectionService = &quot;$prefix.xconnect&quot; &#xA;$sitecoreSiteName = &quot;$prefix.sc&quot; &#xA;$SolrUrl = &quot;https://localhost:8983/solr/#&quot; &#xA;$SolrRoot = &quot;C:\sitecore\install\Solr-6.6.2&quot; &#xA;$SolrService = &quot;Solr-6.6.2&quot; &#xA;$SqlServer = &quot;(local)&quot; &#xA;$SqlAdminUser = &quot;sa&quot; &#xA;$SqlAdminPassword=&quot;kagoolpass01&quot; &#xA;#install client certificate for xconnect &#xA;$certParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-createcert.json&quot;     &#xA;    CertificateName = &quot;$prefix.xconnect_client&quot; &#xA;}  &#xA;Install-SitecoreConfiguration @certParams -Verbose &#xA;&#xA;#install solr cores for xdb &#xA;$solrParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;}&#xA;Install-SitecoreConfiguration @solrParams &#xA;&#xA;#deploy xconnect instance &#xA;$xconnectParams = @{     &#xA;    Path = &quot;$PSScriptRoot\xconnect-xp0.json&quot;     &#xA;    Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip&quot;     &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    Sitename = $XConnectCollectionService     &#xA;    XConnectCert = $certParams.CertificateName     &#xA;    SqlDbPrefix = $prefix  &#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix     &#xA;    SolrURL = $SolrUrl      &#xA;} &#xA;Install-SitecoreConfiguration @xconnectParams &#xA;&#xA;#install solr cores for sitecore &#xA;$solrParams = @{     &#xA;    Path = &quot;$PSScriptRoot\sitecore-solr.json&quot;     &#xA;    SolrUrl = $SolrUrl     &#xA;    SolrRoot = $SolrRoot     &#xA;    SolrService = $SolrService     &#xA;    CorePrefix = $prefix &#xA;} &#xA;Install-SitecoreConfiguration @solrParams &#xA;&#xA;#install sitecore instance &#xA;$xconnectHostName = &quot;$prefix.xconnect&quot; &#xA;$sitecoreParams = @{    &#xA;    Path = &quot;$PSScriptRoot\sitecore-XP0.json&quot;      &#xA;    `enter code here`Package = &quot;$PSScriptRoot\Sitecore 9.0.0 rev. 171002 &#xA;    (OnPrem)_single.scwdp.zip&quot; &#xA;    LicenseFile = &quot;$PSScriptRoot\license.xml&quot;     &#xA;    SqlDbPrefix = $prefix  &#xA;    SqlServer = $SqlServer  &#xA;    SqlAdminUser = $SqlAdminUser     &#xA;    SqlAdminPassword = $SqlAdminPassword     &#xA;    SolrCorePrefix = $prefix  &#xA;    SolrUrl = $SolrUrl     &#xA;    XConnectCert = $certParams.CertificateName     &#xA;    Sitename = $sitecoreSiteName         &#xA;    XConnectCollectionService = &quot;https://$XConnectCollectionService&quot;    &#xA;}&#xA;&#xA;Install-SitecoreConfiguration @sitecoreParams&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Just wondering if anyone out there might have any insight into why this could be happening.&lt;/p&gt;&#xA;" OwnerUserId="6152" LastEditorUserId="70" LastEditDate="2019-10-11T21:51:53.430" LastActivityDate="2019-10-11T22:27:44.987" Title="Failed to start service 'Sitecore XConnect Search Indexer - local.xconnect-IndexWorker" Tags="|xconnect|sitecore-install-framework|installation|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22518" PostTypeId="2" ParentId="22511" CreationDate="2019-10-11T20:21:29.940" Score="1" Body="&lt;p&gt;Please follow the below steps to perform Search Filter in Content Editor in Sitecore 9.1 and Solr:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/qQcrB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/qQcrB.png&quot; alt=&quot;SearchFilter1&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/SEmbG.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/SEmbG.png&quot; alt=&quot;SearchFilter2&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/zJfr1.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/zJfr1.png&quot; alt=&quot;SearchFilter3&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/GCzjY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/GCzjY.png&quot; alt=&quot;SearchFilter4&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="4137" LastActivityDate="2019-10-11T20:21:29.940" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22519" PostTypeId="1" CreationDate="2019-10-11T20:50:56.557" Score="1" ViewCount="902" Body="&lt;p&gt;Please let me know if you need any more information from my side.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I am new to Solr and Solr Indexing. I have 2 Million Records to be indexed and adding more soon, it is taking 16 hours to complete the index now for 2 Million Records.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can you please provide Suggestions and helpful links on Improving the Indexing Speed.&lt;/p&gt;&#xA;" OwnerUserId="4590" LastEditorUserId="70" LastEditDate="2019-10-11T21:47:50.820" LastActivityDate="2019-10-11T21:47:50.820" Title="Suggestions on Improving Solr Indexing Speed" Tags="|solr|indexing|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22520" PostTypeId="2" ParentId="22519" CreationDate="2019-10-11T21:25:42.050" Score="5" Body="&lt;p&gt;Some of the steps that can be followed to increase the performance of Solr indexing are:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Limit the items getting into Solr&lt;/strong&gt;: You can limit the number of items that are getting indexed by changing the &lt;code&gt;&amp;lt;Root&amp;gt;/sitecore&amp;lt;/Root&amp;gt;&lt;/code&gt; parameter in Sitecore index configuration file.  &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Stored Vs Indexed&lt;/strong&gt;: Not all fields needs to be both Stored as well as indexed. Some items just needs to be indexed but won't be stored thereby reducing the documents going into Solr. More on this here: &lt;a href=&quot;https://stackoverflow.com/questions/22287584/solr-index-vs-stored&quot;&gt;Stored vs Indexed&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Check the JVM memory consumption&lt;/strong&gt;: As you mentioned that there are more than 2million records, there is a good chance that the current JVM Memory setting isn't sufficient and there maybe a case to increase it. &lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Increasing Server Configuration&lt;/strong&gt;: You can increase the Server RAM and cores to boost the performance.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Upgrading Solr itself&lt;/strong&gt;: Depending on the Sitecore version you are using, if there is an upgrade in scope, you can also upgrade Solr to achieve the better performance. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="4137" LastEditorUserId="4137" LastEditDate="2019-10-11T21:30:59.170" LastActivityDate="2019-10-11T21:30:59.170" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22521" PostTypeId="1" AcceptedAnswerId="22523" CreationDate="2019-10-11T22:13:37.200" Score="3" ViewCount="997" Body="&lt;p&gt;Environment: Sitecore 9.0.2 + Glass Mapper&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a class like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class Sample&#xA;{&#xA;    public Glass.Mapper.Sc.Fields.Image Logo { get; set; }&#xA;&#xA;    public string Destination_Name { get; set; }&#xA;    public bool Is_Atttraction { get; set; }&#xA;&#xA;    public string ID { get; set; }&#xA;&#xA;    public Glass.Mapper.Sc.Fields.Link Explore_More_Link { get; set; }&#xA;&#xA;    public ProductCardViewModel productCardViewModel { get; set; }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The component loads properly on the website. Inside the experience editor, it breaks and I have a message like below:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Failed item resolve - You cannot save a class that does not contain a property that represents the item ID. Ensure that at least one property has been marked to contain the Sitecore ID. Type: **NameOfMyClass**&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Any inputs will be helpful. &lt;/p&gt;&#xA;" OwnerUserId="1110" LastActivityDate="2019-10-12T04:17:01.450" Title="Glassmapper | Cannot save a class that does not contain a property that represents the item ID" Tags="|experience-editor|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22522" PostTypeId="2" ParentId="22515" CreationDate="2019-10-11T22:27:44.987" Score="2" Body="&lt;p&gt;Thanks for the editing and for the comments. It looks like the issue was with my SOLR url in the script. That extra /# on the SOLR address seemed to break the url it was generating for the xconnect connection string.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;So instead of &lt;a href=&quot;https://localhost:8983/solr/#&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr/#&lt;/a&gt; it should be &lt;a href=&quot;https://localhost:8983/solr&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://localhost:8983/solr&lt;/a&gt;. Looks like the post I read was correct(&lt;a href=&quot;https://tothecore.sk/2018/08/09/sitecore-xconnect-search-indexer-windows-service-throwing-exception-the-authority-host-could-not-be-parsed/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://tothecore.sk/2018/08/09/sitecore-xconnect-search-indexer-windows-service-throwing-exception-the-authority-host-could-not-be-parsed/&lt;/a&gt;). It's annoying I've been stuck for a few days for something that simple. I am new Sitecore though.The guide actually isn't very clear about this. It has it with a slash at the end. And someone who is a beginner at the stage the tutorial is aimed at wouldn't necessarily see anything wrong with it. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks again.&lt;/p&gt;&#xA;" OwnerUserId="6152" LastActivityDate="2019-10-11T22:27:44.987" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22523" PostTypeId="2" ParentId="22521" CreationDate="2019-10-12T04:17:01.450" Score="5" Body="&lt;p&gt;You want to change your &lt;code&gt;ID&lt;/code&gt; property to type &lt;code&gt;Guid&lt;/code&gt;. Also, you can add the attribute &lt;code&gt;SitecoreId&lt;/code&gt; to the property.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreId]&#xA;public Guid ID { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should allow Glass to map to your class properly.  You can see a really basic example of this on the Glass Mapper website: &lt;a href=&quot;http://glass.lu/Mapper&quot; rel=&quot;noreferrer&quot;&gt;http://glass.lu/Mapper&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="6151" LastActivityDate="2019-10-12T04:17:01.450" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22524" PostTypeId="2" ParentId="22493" CreationDate="2019-10-12T06:30:54.650" Score="1" Body="&lt;p&gt;This one has been solved by putting the right license file in the identity server. &lt;/p&gt;&#xA;" OwnerUserId="5862" LastActivityDate="2019-10-12T06:30:54.650" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22525" PostTypeId="1" AcceptedAnswerId="22588" CreationDate="2019-10-12T07:24:34.443" Score="2" ViewCount="665" Body="&lt;p&gt;I have installed Sitecore XC 9.2.0 using the ARM template. When I am trying to access the &quot;BizFX&quot; site, I am getting couple of 400 bad request errors in api/GetNavigationView() &amp;amp; api/GetLanguagesView()&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I have opened the network tab, I found the actual error saying,&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&quot;Text&quot;: &quot;Entity 'HabitatAuthoring' was not found.&quot;, &quot;CommerceTermKey&quot;:&quot;EntityNotFound&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have also changed the default environment name in the BizFX config file as I was providing a different &quot;environmentName&quot; in ARM template. But that didn't resolve the issue. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;After putting the new environmentName same error is showing with the new environmentName. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The actual error I am getting:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;{&#xA;  &quot;@odata.context&quot;:&quot;&lt;a href=&quot;https://sitecorexc920-authoring.azurewebsites.net/Api/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://sitecorexc920-authoring.azurewebsites.net/Api/&lt;/a&gt;$metadata#Sitecore.Commerce.Core.CommandMessage&quot;, &quot;MessageDate&quot;:&quot;2019-10-12T07:14:07.4268526Z&quot;,&quot;Code&quot;:&quot;Error&quot;,&quot;Text&quot;:&quot;Entity 'HabitatShops' was not found.&quot;,&quot;CommerceTermKey&quot;:&quot;EntityNotFound&quot;&#xA;}&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/fgmux.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/fgmux.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone pls help to get out of this?&lt;/p&gt;&#xA;" OwnerUserId="5862" LastActivityDate="2019-10-16T18:45:02.250" Title="Entity 'HabitatAuthoring' was not found.&quot;,&quot;CommerceTermKey&quot;:&quot;EntityNotFound&quot;" Tags="|sitecore-commerce|arm-template|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22526" PostTypeId="2" ParentId="22030" CreationDate="2019-10-12T18:45:47.980" Score="3" Body="&lt;p&gt;To fix this, Verify following are set up correctly&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Valid SXA licence is present&lt;/li&gt;&#xA;&lt;li&gt;Make sure the host name in /sitecore/content/Sitecore/Storefront/Settings/Site Grouping/Storefront is correctly configured to the web site you are browsing the sitecore in.&lt;/li&gt;&#xA;&lt;li&gt;Make sure the template of the home item is inheriting the home page configuration template.&#xA;&lt;a href=&quot;https://i.stack.imgur.com/3pozQ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/3pozQ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="2466" LastActivityDate="2019-10-12T18:45:47.980" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22528" PostTypeId="1" CreationDate="2019-10-13T09:18:10.050" Score="6" ViewCount="232" Body="&lt;p&gt;I created rendering variant and inserted field like that:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/USDKG.png&quot; rel=&quot;noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/USDKG.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;and the image rendered as :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;img src=&quot;/master-site/-/media/Project/ADGEs/Master-Site/Register-Icon.svg&quot; alt=&quot;&quot; style=&quot;margin: 0px 0px;&quot;&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I need to remove inline style in the image tag, Is there a way to do that???&lt;/p&gt;&#xA;" OwnerUserId="5780" LastActivityDate="2019-10-13T18:48:55.893" Title="Remove inline style from sxa image tag in sitecore" Tags="|sxa|presentation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22530" PostTypeId="2" ParentId="22528" CreationDate="2019-10-13T17:52:41.737" Score="3" Body="&lt;p&gt;&lt;code&gt;SetImageStyleParameters&lt;/code&gt; from &lt;code&gt;Sitecore.XA.Foundation.SitecoreExtensions.Pipelines.RenderField&lt;/code&gt; is responsible for that. It is used to add &lt;code&gt;HSpace&lt;/code&gt; and &lt;code&gt;VSpace&lt;/code&gt; from image properties. I don't know which version of SXA are you using but in the newest version, it should not add any additional margin when both &lt;code&gt;HSpace&lt;/code&gt; and &lt;code&gt;VSpace&lt;/code&gt; are 0.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you don't need it, simply comment out this processor:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/JGyzF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/JGyzF.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-10-13T18:48:55.893" LastActivityDate="2019-10-13T18:48:55.893" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22532" PostTypeId="2" ParentId="22030" CreationDate="2019-10-13T18:55:54.360" Score="0" Body="&lt;p&gt;This kind of error comes only in few scenarios like below.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Expired/Corrupted/Wrong Sitecore License.&lt;/li&gt;&#xA;&lt;li&gt;Wrong configurations in Sitecore SXA site-manager and site grouping.&lt;/li&gt;&#xA;&lt;li&gt;If you patch something wrong in SiteDefinition.config file.&lt;/li&gt;&#xA;&lt;li&gt;Or Site order is wrong in Multisite settings.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="6125" LastEditorUserId="69" LastEditDate="2019-10-13T19:22:14.887" LastActivityDate="2019-10-13T19:22:14.887" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22534" PostTypeId="1" AcceptedAnswerId="22547" CreationDate="2019-10-14T06:53:35.663" Score="1" ViewCount="212" Body="&lt;p&gt;I am upgrading Sitecore 8.2 code to 9.1 and in my code &lt;code&gt;ProxyManager&lt;/code&gt; class has been used at several places. Below is one of the examples.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;ProxyManager.GetRealItem(item, false);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I understand &lt;code&gt;Sitecore.Data.Proxies&lt;/code&gt; namespace has been significantly reduced in Sitecore 9 but can someone please suggest the alternate class (or code) for &lt;code&gt;ProxyManager&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Thanks&lt;/p&gt;&#xA;" OwnerUserId="1273" LastEditorUserId="605" LastEditDate="2019-10-14T12:24:44.557" LastActivityDate="2019-10-14T12:31:00.907" Title="Sitecore.Data.Proxies.ProxyManager in Sitecore 9" Tags="|upgrade|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22536" PostTypeId="1" CreationDate="2019-10-14T08:04:34.233" Score="0" ViewCount="108" Body="&lt;p&gt;I'm using Sitecore 9.1 and SXA 1.8, I'm using FuzzyLookupFactory for my suggester, and this is the configuration:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;searchComponent name=&quot;suggest&quot; class=&quot;solr.SuggestComponent&quot;&amp;gt;&#xA;    &amp;lt;lst name=&quot;suggester&quot;&amp;gt;&#xA;        &amp;lt;str name=&quot;name&quot;&amp;gt;sxaSuggester&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;lookupImpl&quot;&amp;gt;FuzzyLookupFactory&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;dictionaryImpl&quot;&amp;gt;DocumentDictionaryFactory&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;field&quot;&amp;gt;suggestion_s&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;suggestAnalyzerFieldType&quot;&amp;gt;text_suggester&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;maxEdits&quot;&amp;gt;2&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;exactMatchFirst&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;nonFuzzyPrefix&quot;&amp;gt;0&amp;lt;/str&amp;gt;&#xA;    &amp;lt;/lst&amp;gt;&#xA;&amp;lt;/searchComponent&amp;gt;&#xA;&amp;lt;requestHandler name=&quot;/suggest&quot; class=&quot;solr.SearchHandler&quot; startup=&quot;lazy&quot;&amp;gt;&#xA;    &amp;lt;lst name=&quot;defaults&quot;&amp;gt;&#xA;        &amp;lt;str name=&quot;suggest.dictionary&quot;&amp;gt;sxaSuggester&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;suggest&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;suggest.onlyMorePopular&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;suggest.count&quot;&amp;gt;30&amp;lt;/str&amp;gt;&#xA;        &amp;lt;str name=&quot;suggest.collate&quot;&amp;gt;true&amp;lt;/str&amp;gt;&#xA;    &amp;lt;/lst&amp;gt;&#xA;    &amp;lt;arr name=&quot;components&quot;&amp;gt;&#xA;        &amp;lt;str&amp;gt;suggest&amp;lt;/str&amp;gt;&#xA;    &amp;lt;/arr&amp;gt;&#xA;&amp;lt;/requestHandler&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;and the configuration for &quot;text_suggester&quot; field :&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;fieldType name=&quot;text_suggester&quot; class=&quot;solr.TextField&quot; positionIncrementGap=&quot;100&quot;&amp;gt;&#xA; &amp;lt;analyzer&amp;gt;&#xA;     &amp;lt;tokenizer class=&quot;solr.WhitespaceTokenizerFactory&quot; /&amp;gt;&#xA;     &amp;lt;filter class=&quot;solr.LowerCaseFilterFactory&quot; /&amp;gt;&#xA;     &amp;lt;filter class=&quot;solr.RemoveDuplicatesTokenFilterFactory&quot; /&amp;gt;&#xA;     &amp;lt;filter class=&quot;solr.ArabicNormalizationFilterFactory&quot; /&amp;gt;&#xA;     &amp;lt;filter class=&quot;solr.ArabicStemFilterFactory&quot; /&amp;gt;&#xA;     &amp;lt;charfilter class=&quot;solr.PatternReplaceCharFilterFactory&quot; pattern=&quot;[^a-zA-Z0-9]&quot; replacement=&quot; &quot; /&amp;gt;&#xA; &amp;lt;/analyzer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I type for example: &quot;الخدمات&quot;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The results are :&lt;/p&gt;&#xA;&#xA;&lt;p&gt;أديبك&lt;/p&gt;&#xA;&#xA;&lt;p&gt;اعماق موسيقية&lt;/p&gt;&#xA;" OwnerUserId="6161" LastEditorUserId="106" LastEditDate="2019-10-14T17:00:50.793" LastActivityDate="2019-10-14T17:14:09.410" Title="FuzzyLookupFactory is not working with Arabic words" Tags="|sxa|content-search|solr|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22538" PostTypeId="1" AcceptedAnswerId="22539" CreationDate="2019-10-14T08:44:44.413" Score="1" ViewCount="147" Body="&lt;p&gt;Environment: Sitecore 9.0.2 + Glass mapper&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have a model class like this:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SingleStack&#xA;    {&#xA;        public Glass.Mapper.Sc.Fields.Image Logo { get; set; }&#xA;&#xA;        public string Attraction_Name { get; set; }&#xA;        public string Destination_Name { get; set; }&#xA;        public bool Is_Atttraction { get; set; }&#xA;&#xA;        [SitecoreId]&#xA;        public Guid ID { get; set; }&#xA;&#xA;       public Glass.Mapper.Sc.Fields.Link Explore_More_Link { get; set; }&#xA;&#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;From a list of object of class SingleStack, I am displaying the fields.&#xA;On my website, everything is fine. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The situation changes in the Experience Editor.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The fields &lt;code&gt;Attraction_Name&lt;/code&gt; and &lt;code&gt;Destination_Name&lt;/code&gt; are not getting rendered. &lt;code&gt;Logo&lt;/code&gt; and &lt;code&gt;Explore_More_Link&lt;/code&gt; are getting rendered and editable.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Few points to note:&#xA;1. All the fields are coming from the same item in Sitecore.&lt;/p&gt;&#xA;&#xA;&lt;ol start=&quot;2&quot;&gt;&#xA;&lt;li&gt;The &lt;code&gt;ID&lt;/code&gt; field contains the GUID of the item being rendered.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Code to render in cshtml:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;     @if (!string.IsNullOrEmpty(stack.Destination_Name))&#xA;{&#xA;@Html.Glass().Editable(stack, x =&amp;gt; x.Destination_Name)&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;There are no errors in console and log.&lt;/p&gt;&#xA;" OwnerUserId="1110" LastEditorUserId="73" LastEditDate="2019-10-14T08:47:48.200" LastActivityDate="2019-10-14T09:59:53.157" Title="String not geting rendered in Experience Editor" Tags="|experience-editor|glass-mapper|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22539" PostTypeId="2" ParentId="22538" CreationDate="2019-10-14T09:11:29.570" Score="2" Body="&lt;p&gt;Based on your last question and this question I am adding some details- &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In Glass mapper, two types of Models are being in use called - &lt;strong&gt;Template Models&lt;/strong&gt; and &lt;strong&gt;Rendering Models&lt;/strong&gt; - See more here - &lt;a href=&quot;http://glass.lu/Blog/TemplateVsRendering&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://glass.lu/Blog/TemplateVsRendering&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It seems you are using Rendering Models, these are models that are designed to contain just the properties required by a rendering. Rendering Models have some limitations, one of them is that it is difficult to link properties to the fields in Sitecore because the field name or display name in Sitecore name may differ and may contains space in it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I will suggest you, to create a list of field name constants and then use attribute or fluent configuration to link these names to the properties on your view models - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;[SitecoreField(&quot;Your Field Name&quot;)]&#xA;public string Destination_Name { get; set; }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;or &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SingleStack&#xA;    {&#xA;        [SitecoreField(Templates._SingleStack.Fields.Logo)]&#xA;    public Glass.Mapper.Sc.Fields.Image Logo { get; set; }&#xA;&#xA;    [SitecoreField(Templates._SingleStack.Fields.AttractionName)]&#xA;    public string Attraction_Name { get; set; }&#xA;&#xA;     [SitecoreField(Templates._SingleStack.Fields.DestinationName)]&#xA;    public string Destination_Name { get; set; }&#xA;&#xA;    [SitecoreField(Templates._SingleStack.Fields.IsAtttraction)]&#xA;    public bool Is_Atttraction { get; set; }&#xA;&#xA;    [SitecoreId]&#xA;    public Guid ID { get; set; }&#xA;&#xA;   [SitecoreField(Templates._SingleStack.Fields.Explore_More_Link)]&#xA;   public Glass.Mapper.Sc.Fields.Link ExploreMoreLink { get; set; }    &#xA;&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Where &lt;code&gt;SitecoreField(Templates._SingleStack.Fields&lt;/code&gt; will have all your field names, make sure your field name is correct.&lt;/p&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-10-14T09:59:53.157" LastActivityDate="2019-10-14T09:59:53.157" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22541" PostTypeId="1" AcceptedAnswerId="22543" CreationDate="2019-10-14T10:08:38.127" Score="5" ViewCount="2533" Body="&lt;p&gt;In my &lt;code&gt;layout.js&lt;/code&gt; file, I get the current URL of the page with this code: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;url: typeof window !== 'undefined' ? window.location.href : '',&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;On first request of this page from the server, the url is set to ' ' since we have no &lt;code&gt;window&lt;/code&gt; in the SSR of a page. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;How can I get this information in the SSR? &lt;/p&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="605" LastEditDate="2019-10-14T12:10:07.263" LastActivityDate="2020-01-07T11:59:32.683" Title="How can I get the current URL in the SSR of a page" Tags="|jss|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22542" PostTypeId="1" AcceptedAnswerId="22548" CreationDate="2019-10-14T11:02:56.890" Score="1" ViewCount="1125" Body="&lt;p&gt;Below is the Sitecore Powershell Script to delete selected items from Powershell script result - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach($Item in $selectedData)&#xA;{&#xA;    if($Item -ne $null)&#xA;    {&#xA;        $Item | Remove-Item&#xA;&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But the deleted items still appear in ListView results.&#xA; How to update the list view results?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/dV7Py.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/dV7Py.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5833" LastActivityDate="2019-10-14T12:36:17.447" Title="Sitecore powershell script to delete selected items from results" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22543" PostTypeId="2" ParentId="22541" CreationDate="2019-10-14T11:04:08.333" Score="8" Body="&lt;p&gt;On first load, it is the NodeJS which is compiling the HTML Markup via the SSR. This is why the &lt;code&gt;window&lt;/code&gt; is null. In order to have the url, I had to extend the &lt;code&gt;LayoutServiceContext&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class LayoutSiteContextExtension : IGetLayoutServiceContextProcessor&#xA;{&#xA;    public void Process(GetLayoutServiceContextArgs args)&#xA;    {&#xA;        Assert.ArgumentNotNull(args, nameof(args));&#xA;&#xA;        if (Context.Site == null)&#xA;            return;&#xA;&#xA;        //Canonical URL&#xA;        if (!args.ContextData.ContainsKey(&quot;canonicalUrl&quot;))&#xA;        {&#xA;            var targetHostname = Context.Site.TargetHostName;&#xA;&#xA;            var itemUrl = LinkManager.GetItemUrl(Context.Item);&#xA;&#xA;            var canonicalUrl = itemUrl.Equals(&quot;/&quot;)&#xA;                ? $&quot;{HttpContext.Current.Request.Url.Scheme}://{targetHostname}&quot; &#xA;                : $&quot;{HttpContext.Current.Request.Url.Scheme}://{targetHostname}{itemUrl}&quot;;&#xA;&#xA;            args.ContextData.Add(&quot;canonicalUrl&quot;, canonicalUrl);&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Once you have implemented the above, you need to patch it with a config file as shown below&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot; xmlns:role=&quot;http://www.sitecore.net/xmlconfig/role/&quot; xmlns:search=&quot;http://www.sitecore.net/xmlconfig/search/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;pipelines&amp;gt;&#xA;      &amp;lt;group groupName=&quot;layoutService&quot;&amp;gt;&#xA;        &amp;lt;pipelines&amp;gt;&#xA;          &amp;lt;getLayoutServiceContext&amp;gt;&#xA;            &amp;lt;processor type=&quot;Your Namespace, Your Assembly Name&quot;&#xA;                       patch:after=&quot;processor[@type='Sitecore.LayoutService.ItemRendering.Pipelines.GetLayoutServiceContext.SiteContext, Sitecore.LayoutService']&quot;/&amp;gt;&#xA;          &amp;lt;/getLayoutServiceContext&amp;gt;&#xA;        &amp;lt;/pipelines&amp;gt;&#xA;      &amp;lt;/group&amp;gt;&#xA;    &amp;lt;/pipelines&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="605" LastEditorUserId="605" LastEditDate="2020-01-07T11:59:32.683" LastActivityDate="2020-01-07T11:59:32.683" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22544" PostTypeId="2" ParentId="22504" CreationDate="2019-10-14T11:55:11.033" Score="1" Body="&lt;p&gt;I am not sure whether you can do it by roles but there is an alternative for it.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Give three below roles to user:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sitecore client users &lt;/li&gt;&#xA;&lt;li&gt;Designer&lt;/li&gt;&#xA;&lt;li&gt;Analytics personalization&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Now select the user and go to security editor, select the item and click on assign in ribbon and give &quot;Write&quot; permission to that item or at folder level(if many) and select checkboxes &quot;item&quot; &amp;amp; &quot;descendants&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Now user should be able to edit personalization related things.&lt;/p&gt;&#xA;" OwnerUserId="5542" LastEditorUserId="5542" LastEditDate="2019-10-14T13:50:02.670" LastActivityDate="2019-10-14T13:50:02.670" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22545" PostTypeId="1" CreationDate="2019-10-14T12:17:42.627" Score="1" ViewCount="475" Body="&lt;p&gt;I want to update expired local certificates for my local Sitecore Commerce and CMS instance but don't want to change thumbprint. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is the procedure to do this&lt;/p&gt;&#xA;" OwnerUserId="4039" LastEditorUserId="135" LastEditDate="2019-10-14T13:45:32.023" LastActivityDate="2019-10-14T13:45:32.023" Title="Renew local certificates for local Sitecore XC and XP instances" Tags="|sitecore-commerce|certificate|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22546" PostTypeId="1" CreationDate="2019-10-14T12:27:06.117" Score="6" ViewCount="648" Body="&lt;p&gt;I have an environment running Sitecore 9.2 on Azure PAAS. It's an upgraded codebase (from 9.0.2) but on a clean setup.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I had an issue with logging. Application Insights is working fine - I can see my logs there. But I also liked to use the log stream in the Azure portal when I had to debug something. On our 9.0.2 environment this was working, but on the 9.2 it was not.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I noticed there are some changes in the Application Insights setup on 9.2, but I can't seem to find good documentation on how to configure this (and I am no Azure expert). I got some ideas on Slack:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;set &lt;code&gt;ApplicationInsights.DeveloperMode&lt;/code&gt; to true&lt;/li&gt;&#xA;&lt;li&gt;disable Application Insights &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I tried the DeveloperMode but that didn't help. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the app settings on 9.2 there is also a key &lt;code&gt;useApplicationInsights:define&lt;/code&gt;. When I turn this to false, the log stream starts working. But this disables AI.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What is this &lt;code&gt;useApplicationInsights:define&lt;/code&gt; key? How does it work and how should I configure this on Sitecore 9.2 to get AI and the log stream working?&lt;/p&gt;&#xA;" OwnerUserId="237" LastEditorUserId="237" LastEditDate="2019-10-14T14:32:21.160" LastActivityDate="2019-11-22T10:00:45.200" Title="Log stream on Azure Paas" Tags="|azure|paas|application-insights|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22547" PostTypeId="2" ParentId="22534" CreationDate="2019-10-14T12:31:00.907" Score="3" Body="&lt;p&gt;I have bad news for you -&gt; ProxyManager, SqlServerProxyDataProvider, SqlProxyDataProvider, ProxyDisabler and many other proxy related classes have been deprecated in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;There is no direct replacement for them in Sitecore 9.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You can use Cloning functionality which is similar functionality to Proxy items -&gt; &lt;a href=&quot;https://doc.sitecore.com/users/92/sitecore-experience-platform/en/clones.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/users/92/sitecore-experience-platform/en/clones.html&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="2056" LastActivityDate="2019-10-14T12:31:00.907" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22548" PostTypeId="2" ParentId="22542" CreationDate="2019-10-14T12:36:17.447" Score="3" Body="&lt;p&gt;You will need to get the item from either from master or web database and after that need to remove it from the all data list and then need to update the list view  - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach($selectedItem in $selectedData) {&#xA;$item = Get-Item -Path &quot;master:&quot; -ID $selectedItem.ID&#xA;&#xA;&#xA;$item | Remove-Item&#xA;    $allData.Remove($selectedItem)&#xA;}&#xA;&#xA;$allData | Update-ListView&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-10-14T12:36:17.447" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22549" PostTypeId="2" ParentId="22545" CreationDate="2019-10-14T13:00:05.387" Score="1" Body="&lt;p&gt;I think this is more than a generic SSL or IIS question, not a Sitecore one. but from StackOverflow - &lt;a href=&quot;https://stackoverflow.com/questions/10440806/how-to-renew-an-iis7-self-signed-ssl-certificate&quot;&gt;https://stackoverflow.com/questions/10440806/how-to-renew-an-iis7-self-signed-ssl-certificate&lt;/a&gt; simple answer is -&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;No, it's not possible.&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Because you have chosen to use a self-signed certificate that you have explicitly configured to be trusted in your client. If you replace that certificate with a new one with different validity dates (even with the same keys, although it's probably best to change the keys too), it will be a different certificate. Being different, it won't be the same as the one you had imported in your clients in your initial set up (logically).&lt;/p&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&#xA;&lt;p&gt;If you want to be able to do silent renewals, then you need a &lt;strong&gt;self-signed CA certificate&lt;/strong&gt;. You emit certificates for your server(s) from that CA, and you ask your clients to trust that CA.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The second and better option is that next time you produce a self-signed certificate, make it &lt;strong&gt;long-lived&lt;/strong&gt;. Certificates expire mostly in order to make revocation work (certificate expiry prevents CRL from growing indefinitely). For a self-signed certificate, there is no revocation, so you can make the certificate valid for 20 years or more. I personally think with the Sitecore local environment setup we should have the option to choose &quot;certificate valid for&quot; time. &lt;/p&gt;&#xA;" OwnerUserId="124" LastActivityDate="2019-10-14T13:00:05.387" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22550" PostTypeId="1" AcceptedAnswerId="22560" CreationDate="2019-10-14T13:05:03.290" Score="1" ViewCount="117" Body="&lt;p&gt;I have a Sitecore 9.1 dev instance. I added a non-cached View Rendering to the Default Layout (using Presentation Details), specifying &quot;Content&quot; as Placeholder.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I reset IIS, cleared Sitecore cache, logged in and out, added read access to both the item and the Rendering under the Default/Everyone role - it won't show up.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;What could I possibly be doing wrong?&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-11-13T23:04:05.480" Title="What can cause some renderings to not appear even after being published?" Tags="|presentation|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22551" PostTypeId="2" ParentId="22504" CreationDate="2019-10-14T13:07:06.547" Score="-1" Body="&lt;p&gt;I was able to resolve this by adding just these two roles - &#xA;&lt;code&gt;Sitecore\Designer&lt;/code&gt; &amp;amp; &lt;code&gt;Sitecore\Author&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Found the solution &lt;a href=&quot;https://sitecore.stackexchange.com/questions/1162/what-role-or-security-permission-is-required-to-edit-the-placeholder-and-datasou?rq=1&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="1233" LastActivityDate="2019-10-14T13:07:06.547" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22552" PostTypeId="1" CreationDate="2019-10-14T13:14:43.693" Score="0" ViewCount="167" Body="&lt;p&gt;I'm using in one page 3 SXA drop down filters (category, services, activity), search result and a reset button that clears the filters in the bellow script:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;function forceReset(){&#xA;    if ($xa(&quot;.clear-filter&quot;).length &amp;gt; 0) {&#xA;        $xa(&quot;.clear-filter&quot;).click();&#xA;&#xA;    }&#xA;}&#xA;$xa(document).ready(function () {&#xA;    //console.log(&quot;page loaded&quot;);&#xA;    if ($xa(&quot;.reset-btn&quot;).length &amp;gt; 0) {&#xA;&#xA;        $xa(&quot;.reset-btn&quot;).click(function () {&#xA;&#xA;            forceReset();&#xA;&#xA;        });&#xA;        forceReset();&#xA;&#xA;    }&#xA;});&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The button successfully holds the 3 clear buttons of the filters using .clear-filter class and fires click event of each filter (fully tested) but still:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;when I use each filter independently of the other 2 filters and then clear only category filter clears but activity and services filters they don't clear.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;when I combine category filter with any other filter and then clear they don't clear.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;when I combine any filters together they don't clear.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Hint: All 3 filters and search result has the same signature&lt;/strong&gt; &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Sitecore version: 9.0.2&#xA;SXA version: 1.7&lt;/strong&gt;&lt;/p&gt;&#xA;" OwnerUserId="6165" LastEditorUserId="4050" LastEditDate="2019-10-17T05:39:24.347" LastActivityDate="2019-10-17T05:39:24.347" Title="SXA drop down filters reset button not working" Tags="|sxa|sitecore-api|javascript|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22554" PostTypeId="1" CreationDate="2019-10-14T16:26:25.093" Score="2" ViewCount="796" Body="&lt;p&gt;How would I go about creating an admin page to clear the cache on a CD server?&#xA;Looking at this &lt;a href=&quot;https://sitecore.stackexchange.com/questions/2271/clearing-cd-cache-in-code-from-the-cm&quot;&gt;question/answer&lt;/a&gt; I would assume the following:&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Define a new cache:clear custom event in a new config patch file.&lt;/li&gt;&#xA;&lt;li&gt;Create a cs file to handle this custom event&lt;/li&gt;&#xA;&lt;li&gt;Create an admin aspx page (hosted on the CM server) to enable firing the event  &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Are there any other things I've missed here?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;For the event handler, I was thinking something along the lines of&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;var siteContext = Sitecore.Sites.SiteContextFactory.GetSiteContext(&quot;MySite&quot;);&#xA;var cache = Sitecore.Caching.CacheManager.GetHtmlCache(siteContext);&#xA;cache.Clear();&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="137" LastEditorUserId="137" LastEditDate="2019-10-14T19:42:02.910" LastActivityDate="2019-10-15T00:38:44.880" Title="How to clear HtmlCache on a CD server from an admin page" Tags="|caching|events|" AnswerCount="1" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22556" PostTypeId="1" AcceptedAnswerId="22558" CreationDate="2019-10-14T17:10:47.793" Score="3" ViewCount="826" Body="&lt;p&gt;The tracker fails to start. All xConnect connections are failing from the web servers.&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception: System.Reflection.TargetInvocationException&#xA;Message: Exception has been thrown by the target of an invocation.&#xA;Source: mscorlib&#xA;   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)&#xA;   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#xA;   at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)&#xA;   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)&#xA;   at Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient(String clientConfigPath)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.ExecuteWithExceptionHandling[T](Func`2 func)&#xA;   at Sitecore.Analytics.XConnect.DataAccess.XConnectDataAdapterProvider.&amp;lt;&amp;gt;c__DisplayClass15_0.&amp;lt;LoadContact&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.Data.ContactRepository.LoadContact(ID contactId)&#xA;   at Sitecore.Analytics.Tracking.ContactManager.LoadContact(Guid contactId, Boolean exclusive)&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.LoadContact.Process(InitializeTrackerArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.EnsureSessionContext.EnsureSessionContextPipeline.&amp;lt;&amp;gt;c__DisplayClass4_0.&amp;lt;Run&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;Monitor&amp;gt;b__0()&#xA;   at Sitecore.Analytics.XConnect.Diagnostics.PerformanceCounters.OperationPerformanceMonitorExtensions.Monitor[T](OperationPerformanceMonitorBase monitor, Func`1 operation)&#xA;   at Sitecore.Analytics.DefaultTracker.EnsureSessionContext()&#xA;   at Sitecore.Analytics.Pipelines.CreateTracker.GetTracker.Process(CreateTrackerArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Tracker.Initialize()&#xA;Nested Exception&#xA;Exception: System.Exception&#xA;Message: Invalid Model Type for Static Model Configuration&#xA;Source: Sitecore.XConnect.Client.Configuration&#xA;   at Sitecore.XConnect.Client.Configuration.StaticModelConfiguration..ctor(String modeltype, String staticproperty)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-10-14T17:15:39.797" Title="Invalid Model Type for Static Model Configuration" Tags="|xdb|xconnect|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22557" PostTypeId="2" ParentId="22536" CreationDate="2019-10-14T17:14:09.410" Score="2" Body="&lt;p&gt;I fixed it, I removed the stemming : &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;filter class=&quot;solr.ArabicStemFilterFactory&quot;/&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="6161" LastActivityDate="2019-10-14T17:14:09.410" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22558" PostTypeId="2" ParentId="22556" CreationDate="2019-10-14T17:15:39.797" Score="4" Body="&lt;p&gt;This error is when the static model specified in the xml below cannot be resolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;param desc=&quot;MembershipXconnectModel&quot;&amp;gt;Sitecore.Feature.Models.Collection.MembershipXconnectModel, Sitecore.Feature.Models&amp;lt;/param&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Two things to check. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;The class and assembly should be to the model class (it has the BuildModel function in it)&#xA;&lt;code&gt;Sitecore.Feature.Models.Collection.MembershipXconnectModel, Sitecore.Feature.Models&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The name of the model &lt;code&gt;desc=&quot;MembershipXconnectModel&quot;&lt;/code&gt; matches the model name specified in the builder &lt;code&gt;XdbModelBuilder(&quot;MembershipXconnectModel&quot;, new XdbModelVersion(1, 0));&lt;/code&gt;&lt;/p&gt;&#xA;&#xA;&lt;h3&gt;static model config&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;    &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;xconnect&amp;gt;&#xA;            &amp;lt;runtime type=&quot;Sitecore.XConnect.Client.Configuration.RuntimeModelConfiguration,Sitecore.XConnect.Client.Configuration&quot;&amp;gt;&#xA;                &amp;lt;schemas hint=&quot;list:AddModelConfiguration&quot;&amp;gt;&#xA;                    &amp;lt;schema name=&quot;AnyRandomModelName&quot; type=&quot;Sitecore.XConnect.Client.Configuration.StaticModelConfiguration,Sitecore.XConnect.Client.Configuration&quot; patch:after=&quot;schema[@name='collectionmodel']&quot;&amp;gt;&#xA;                        &amp;lt;param desc=&quot;MembershipXconnectModel&quot;&amp;gt;Sitecore.Feature.Models.Collection.MembershipXconnectModel, Sitecore.Feature.Models&amp;lt;/param&amp;gt;&#xA;                    &amp;lt;/schema&amp;gt;&#xA;                &amp;lt;/schemas&amp;gt;&#xA;            &amp;lt;/runtime&amp;gt;&#xA;        &amp;lt;/xconnect&amp;gt;&#xA;    &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h3&gt;model builder class&lt;/h3&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;namespace Sitecore.Feature.Models.Collection&#xA;{&#xA;    public class MembershipXconnectModel&#xA;    {&#xA;        public static XdbModel Model { get; } = BuildModel();&#xA;&#xA;        private static XdbModel BuildModel()&#xA;        {&#xA;            XdbModelBuilder modelBuilder = new XdbModelBuilder(&quot;MembershipXconnectModel&quot;, new XdbModelVersion(1, 0));&#xA;            modelBuilder.DefineFacet&amp;lt;Contact, MembershipFacet&amp;gt;(MembershipFacet.DefaultFacetKey);            &#xA;            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);&#xA;            return modelBuilder.BuildModel();&#xA;        }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-10-14T17:15:39.797" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22559" PostTypeId="1" CreationDate="2019-10-14T21:49:48.240" Score="3" ViewCount="264" Body="&lt;pre&gt;&lt;code&gt;Sitecore.NET 9.0.2 (rev. 180604)&#xA;Web Forms for Marketers 9.0.rev. 180503&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I have one content management server and two content delivery servers that are in a DMZ. Users from the internet interact with my CD servers.&lt;/p&gt;&#xA;&lt;p&gt;I'm getting duplicate emails when someone submits a form from WFFM. It seems that both my ContentManagement and the ContentDelivery server that produced the event are sending an email. I've verified this by looking at the email headers and I can see that I get an email originating from the CD server that took the original request and an email from my CM server.&lt;/p&gt;&#xA;&lt;p&gt;In my test environment, I only have one CM and one CD server. With the same configuration, I'm not able to duplicate the multiple emails. The CM server seems to always be producing the emails. Though as a side note. I did shut down IIS on my CM in test and I noticed that the CD server processed the event and sent an email.&lt;/p&gt;&#xA;&lt;p&gt;When I do show config layers on my CM instance and set the role to CD I'm not seeing &lt;code&gt;wffm:action:remote&lt;/code&gt;... so what's telling my CD instances to process the &lt;code&gt;sendmessage/email event&lt;/code&gt;? It looks like the &lt;code&gt;&amp;lt;setting name=&amp;quot;WFM.IsRemoteActions&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;/code&gt; should be getting brought in.&lt;/p&gt;&#xA;&lt;p&gt;Is this some kind of race condition magic?&lt;/p&gt;&#xA;" OwnerUserId="5540" LastEditorUserId="5926" LastEditDate="2021-07-08T05:49:04.293" LastActivityDate="2024-03-24T11:01:00.087" Title="WFFM Duplicate Emails - CM and CD servers processing Send Message events" Tags="|wffm|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22560" PostTypeId="2" ParentId="22550" CreationDate="2019-10-14T22:58:45.727" Score="0" Body="&lt;p&gt;In the end, it was a permission issue. The roles that I had setup were missing from the instance - apparently, migrating Core, Master and Web does not also migrate custom Roles.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;After packaging and importing my custom Roles, my renderings showed up.&lt;/p&gt;&#xA;" OwnerUserId="1007" LastActivityDate="2019-10-14T22:58:45.727" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22561" PostTypeId="1" CreationDate="2019-10-14T23:08:25.170" Score="0" ViewCount="481" Body="&lt;p&gt;If I try to access &lt;code&gt;http://mydomain.com/sitecore&lt;/code&gt; I get a 403 error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I would instead prefer for IIS to automatically redirect to &lt;code&gt;https://mydomain.com/sitecore&lt;/code&gt;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I added the following rule in &lt;code&gt;RewriteRules.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Redirect HTTP to HTTPS - Staging Knowledge Sitecore&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;(.*)mydomain/sitecore&quot;/&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot;/&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://mydomain.com/sitecore&quot; redirectType=&quot;Permanent&quot;/&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But this doesn't work - &lt;code&gt;http://mydomain.com/sitecore&lt;/code&gt; still returns 403.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;QUESTION&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;How do I implement a redirect to HTTPS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;EDIT: the following rule is successfully redirecting the base domain, that is, from &lt;code&gt;http://mydomain.com&lt;/code&gt; to &lt;code&gt;https://mydomain.com&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Redirect HTTP to HTTPS - Staging URL&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;(.*)&quot;/&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTP_HOST}&quot; pattern=&quot;mydomain.com&quot;/&amp;gt;&#xA;    &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot;/&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://{HTTP_HOST}/{R:1}&quot; redirectType=&quot;Permanent&quot;/&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1007" LastEditorUserId="1007" LastEditDate="2019-10-15T08:55:00.230" LastActivityDate="2019-11-14T09:00:24.577" Title="Writing an IIS rewrite rule for the Sitecore control panel URL" Tags="|security|redirect|" AnswerCount="1" CommentCount="9" ContentLicense="CC BY-SA 4.0" />
  <row Id="22562" PostTypeId="2" ParentId="22554" CreationDate="2019-10-15T00:38:44.880" Score="1" Body="&lt;p&gt;You can create &quot;Code Beside&quot; pages in ASPX/C# that embeds a small amount of code.  We sometimes need to see which Solr cores are connected where (when troubleshooting) as we version our Solr with each new release.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;To do that we use Azure's &quot;App Service Editor&quot; to open an in-browser VS Code instance pointed at the running production site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;WARNING:&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Yes, this is very dangerous - it's only for troubleshooting so take appropriate protective measures and for God's sake don't edit config files unless you're prepared for an app recycle - &lt;strong&gt;THE FILES HERE ARE AUTO-SAVED!!&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Anyway, back to the code.  If you create an &lt;code&gt;.ASPX&lt;/code&gt; file you can just plonk code in thus:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;% @Page Language=&quot;C#&quot; %&amp;gt;&#xA;&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;ul&amp;gt;&#xA;     &amp;lt;% foreach( var core in Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.Cores ) { %&amp;gt;&#xA;          &amp;lt;li&amp;gt;&amp;lt;% = core %&amp;gt;&amp;lt;/li&amp;gt;&#xA;     &amp;lt;% } %&amp;gt;&#xA;&amp;lt;/ul&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This will obviously execute when you load the page. You can use a similar technique to clear caches selectively or en masse.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;If you want to leave a bunch of little pages like this, create a folder and call it &lt;code&gt;__&lt;/code&gt; (double underscore) or something non-collision-ey.  Adjust the web.config to IP lock that folder to your company, that makes it marginally safer.&lt;/p&gt;&#xA;" OwnerUserId="131" LastActivityDate="2019-10-15T00:38:44.880" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22563" PostTypeId="2" ParentId="22336" CreationDate="2019-10-15T04:10:11.987" Score="4" Body="&lt;p&gt;Turns out it was a bug - reference number 355958.  The issue was related to the fact that sxa data-source selection dialog overrides default dialog for EXM(non-sxa) site.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Hotfix available from Sitecore support.&lt;/p&gt;&#xA;" OwnerUserId="878" LastActivityDate="2019-10-15T04:10:11.987" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22565" PostTypeId="1" AcceptedAnswerId="22566" CreationDate="2019-10-15T06:00:01.040" Score="3" ViewCount="125" Body="&lt;p&gt;I'm trying to move a package of automated email campaigns to another environment.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I created a Sitecore package from the Email \ Messages bucket folder for two draft automated email campaigns.&lt;/li&gt;&#xA;&lt;li&gt;I then imported it into my test environment, and using Content Editor I clicked on the &lt;code&gt;Open EXM&lt;/code&gt; button.&lt;/li&gt;&#xA;&lt;li&gt;I made changes and saved the template such that it appeared in my &lt;code&gt;EXM Draft Campaign&lt;/code&gt; list.&lt;/li&gt;&#xA;&lt;li&gt;I then set it to be active, and it appears in the &lt;code&gt;EXM Automated Campaign&lt;/code&gt; list.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;But within my Marketing Automation Journey - Send Email action I cannot see either of my 2 imported email campaigns.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/aPGVY.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/aPGVY.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;They are both definitely Automated and Active (have deactivated them and re-activated them). I have rebuilt the SXA web index, SXA master index, master index.  Still cannot see the campaigns in the drop-down list.&lt;/p&gt;&#xA;&lt;p&gt;Is there another content item I needed to include in the package?  Or some way of getting it to appear in the drop-down list that I have missed out on?&lt;/p&gt;&#xA;&lt;p&gt;Using &lt;code&gt;Sitecore 9.1.1&lt;/code&gt; and &lt;code&gt;SXA 1.8.1&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/wyLxp.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/wyLxp.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/8NXXy.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/8NXXy.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="878" LastEditorUserId="4050" LastEditDate="2021-10-01T05:15:30.037" LastActivityDate="2021-10-01T05:15:30.037" Title="Marketing Automation - Unable to see imported Active EXM Campaigns" Tags="|exm|marketing-automation|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22566" PostTypeId="2" ParentId="22565" CreationDate="2019-10-15T06:18:34.273" Score="3" Body="&lt;p&gt;Not sure of the underlying reason for it, however if you deactivate the message it will be unprotected and you can then move it to the dynamically created folder in the environment that you've moved it to. If you then activate it, the campaign will appear in the list of available campaigns in your Marketing Automation plan.&lt;/p&gt;&#xA;" OwnerUserId="2034" LastActivityDate="2019-10-15T06:18:34.273" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22567" PostTypeId="1" CreationDate="2019-10-15T06:37:53.553" Score="2" ViewCount="1284" Body="&lt;p&gt;I need to delete all the items present in the list view on the click of the &quot;delete all&quot; action button. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/IlKHK.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/IlKHK.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&#xA;I am running the script - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;foreach($selectedItem in $allData) {    &#xA;   $item = Get-Item -Path &quot;master:&quot; -ID $selectedItem.ID&#xA;   $item | Remove-Item&#xA;   $allData.Remove($selectedItem) &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;But it deletes only the first item in the list. Maybe it is throwing some error in &lt;code&gt;$allData.Remove($selectedItem)&lt;/code&gt;. &#xA;When I try to execute it in ISE with test data in &lt;code&gt;$allData&lt;/code&gt;, it throws below error: &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Exception calling &quot;Remove&quot; with &quot;1&quot; argument(s): &quot;Collection was of a fixed size.&quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Please suggest how to resolve this?&lt;/p&gt;&#xA;" OwnerUserId="5833" LastEditorUserId="4050" LastEditDate="2019-10-17T04:38:35.850" LastActivityDate="2019-10-17T04:38:35.850" Title="Sitecore Powershell Script to Delete All Items in Results" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22570" PostTypeId="2" ParentId="22561" CreationDate="2019-10-15T07:29:42.023" Score="1" Body="&lt;p&gt;It seems you have a rule with &lt;code&gt;type=&quot;CustomResponse&quot; statusCode=&quot;403&quot;&lt;/code&gt;. So, try placing below rule before &lt;code&gt;CustomResponse&lt;/code&gt; rule.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Updated Rule&lt;/strong&gt; -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;rule name=&quot;Redirect HTTP to HTTPS - Staging Knowledge Sitecore&quot; stopProcessing=&quot;true&quot;&amp;gt;&#xA;    &amp;lt;match url=&quot;(.*)sitecore&quot;/&amp;gt;&#xA;    &amp;lt;conditions&amp;gt;&#xA;        &amp;lt;add input=&quot;{HTTPS}&quot; pattern=&quot;^OFF$&quot;/&amp;gt;&#xA;    &amp;lt;/conditions&amp;gt;&#xA;    &amp;lt;action type=&quot;Redirect&quot; url=&quot;https://mydomain.com/sitecore&quot; redirectType=&quot;Permanent&quot;/&amp;gt;&#xA;&amp;lt;/rule&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-10-15T07:29:42.023" CommentCount="8" ContentLicense="CC BY-SA 4.0" />
  <row Id="22571" PostTypeId="2" ParentId="22552" CreationDate="2019-10-15T08:34:21.083" Score="1" Body="&lt;p&gt;If I were you, I would try to use as much of existing logic as it is possible. As you probably notice it all facet filters as using hash parameters to store selected values. The best way would be to clear needed hash parameters. In that way:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Backbone router will notify all renderings that hash has been changed (will trigger &lt;code&gt;hashChanged&lt;/code&gt; event)&lt;/li&gt;&#xA;&lt;li&gt;renderings will clear their values automatically&lt;/li&gt;&#xA;&lt;li&gt;keep in mind that you don't need to have &lt;code&gt;.clear-filter&lt;/code&gt; buttons on each of renderings (it depends on the configuration)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;I might be useful to take a look at &lt;code&gt;component-search-query.js&lt;/code&gt; and &lt;code&gt;component-search-router.js&lt;/code&gt; scripts.&lt;/p&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-10-15T08:34:21.083" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22572" PostTypeId="1" AcceptedAnswerId="22574" CreationDate="2019-10-15T08:43:04.527" Score="2" ViewCount="243" Body="&lt;p&gt;My goal is to set up a custom rendering. But I'm running into this error after publishing. I'm not sure where to look for the problem as I'm quite new. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this a controller error or am I registering something wrong?&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;Could not instantiate event handler. Type: Sitecore.XA.Foundation.RenderingVariants.EventHandlers.RenderingVariantCacheClearer. Method: OnItemCopied (method: Sitecore.Events.Event.BuildConfigSubscribersFromConfiguration()).&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Here is my code. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Model&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.RenderingVariants.Models;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Web;&#xA;&#xA;namespace SXAArticle.Models&#xA;{&#xA;  public class ArticleModel : VariantListsRenderingModel {&#xA;  }&#xA;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Controller&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.Mvc.Controllers;&#xA;using SXAArticle.Repositories;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Repositories;&#xA;&#xA;&#xA;namespace SXAArticle.Controllers&#xA;{&#xA;public class ArticleController : StandardController&#xA;{&#xA;&#xA;    protected IArticleRepository _articleRespository&#xA;    { get; set; }&#xA;&#xA;    protected IVariantsRepository _variantsRespository&#xA;    { get; set; }&#xA;&#xA;    public ArticleController(IArticleRepository articleRepository, &#xA;     IVariantsRepository variantsRepository)&#xA;    {&#xA;        _variantsRespository = variantsRepository;&#xA;        _articleRespository = articleRepository;&#xA;    }&#xA;&#xA;&#xA;    protected object GetVariantsModel()&#xA;    {&#xA;        return _variantsRespository.GetModel();&#xA;    }&#xA;}&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Repository &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.Mvc.Repositories.Base;&#xA;using Sitecore.XA.Foundation.RenderingVariants.Repositories;&#xA;using SXAArticle.Models;&#xA;&#xA;namespace SXAArticle.Repositories&#xA;{&#xA;   public class ArticleRepository : VariantsRepository, IArticleRepository&#xA;   {&#xA;       public override IRenderingModelBase GetModel()&#xA;       {&#xA;            ArticleModel model = new ArticleModel();&#xA;            FillBaseProperties(model);&#xA;            return model;&#xA;       }&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;IRepository&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Sitecore.XA.Foundation.RenderingVariants.Repositories;&#xA;&#xA;namespace SXAArticle.Repositories&#xA;{&#xA;   public interface IArticleRepository : IVariantsRepository&#xA;   {&#xA;&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Dependency Registration&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;using Microsoft.Extensions.DependencyInjection;&#xA;using Sitecore.DependencyInjection;&#xA;using SXAArticle.Controllers;&#xA;using SXAArticle.Repositories;&#xA;&#xA;namespace SXAArticle.RegisterDependencies&#xA;{&#xA;    public class ArticleDependency : IServicesConfigurator&#xA;    {&#xA;        public void Configure(IServiceCollection serviceCollection)&#xA;    {&#xA;        serviceCollection.AddTransient&amp;lt;IArticleRepository, ArticleRepository&amp;gt;();&#xA;        serviceCollection.AddTransient&amp;lt;ArticleController&amp;gt;();&#xA;    }&#xA;    }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Dependency Injection&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;    &amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;        &amp;lt;sitecore&amp;gt;&#xA;        &amp;lt;services&amp;gt;&#xA;          &amp;lt;register serviceType=&quot;SXAArticle.Repositories.IArticleRepository, SXAArticle&quot;&#xA;                implementationType=&quot;SXAArticle.Repositories.ArticleRepository, SXAArticle&quot;&#xA;                lifetime=&quot;Singleton&quot;/&amp;gt;&#xA;        &amp;lt;/services&amp;gt;&#xA;      &amp;lt;/sitecore&amp;gt;&#xA;    &amp;lt;/configuration&amp;gt;&#xA;&#xA;&#xA;&#xA;&amp;lt;configuration xmlns:patch=&quot;http://www.sitecore.net/xmlconfig/&quot;&amp;gt;&#xA;  &amp;lt;sitecore&amp;gt;&#xA;    &amp;lt;services&amp;gt;&#xA;      &amp;lt;configurator type=&quot;SXAArticle.RegisterDependencies.ArticleDependency, SXAArticle&quot; /&amp;gt;&#xA;    &amp;lt;/services&amp;gt;&#xA;  &amp;lt;/sitecore&amp;gt;&#xA;&amp;lt;/configuration&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;My View&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@using Sitecore.XA.Foundation.RenderingVariants.Extensions&#xA;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@using Sitecore.XA.Foundation.SitecoreExtensions.Extensions&#xA;@using Sitecore.XA.Foundation.Variants.Abstractions.Fields&#xA;&#xA;@model SXAArticle.Models.ArticleModel&#xA;&#xA;@if (Model.DataSourceItem != null || Html.Sxa().IsEdit)&#xA;{&#xA;    &amp;lt;div class=&quot;component article @Model.CssClasses.Aggregate()&quot; )&amp;gt;&#xA;        &amp;lt;div class=&quot;component-content&quot;&amp;gt;&#xA;            @if (Model.DataSourceItem == null)&#xA;            {&#xA;                @Model.MessageIsEmpty&#xA;            }&#xA;            else&#xA;            {&#xA;                foreach (BaseVariantField variantField in Model.VariantFields)&#xA;                {&#xA;                    @Html.RenderingVariants().RenderVariant(variantField, Model.Item, Model.RenderingWebEditingParams)&#xA;                }&#xA;            }&#xA;        &amp;lt;/div&amp;gt;&#xA;    &amp;lt;/div&amp;gt;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;I know it's a huge post. But hopefully, it can help out someone else in the future too. &lt;/p&gt;&#xA;" OwnerUserId="6135" LastEditorUserId="4050" LastEditDate="2019-10-16T20:01:42.080" LastActivityDate="2019-10-16T20:01:42.080" Title="Error in RenderingVariantCacheClearer after publishing page with custom Rendering Variants component" Tags="|sxa|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22574" PostTypeId="2" ParentId="22572" CreationDate="2019-10-15T09:25:30.253" Score="1" Body="&lt;p&gt;First of all, if you are using &lt;code&gt;StandardController&lt;/code&gt; in order to provide a model to the view you should override &lt;code&gt;GetModel()&lt;/code&gt; method instead of using your own &lt;code&gt;GetVariantsModel()&lt;/code&gt;. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;protected override object GetModel()&#xA;    {&#xA;        return Repository.GetModel();&#xA;    }&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This base &lt;code&gt;GetModel()&lt;/code&gt; method is used in default base &lt;code&gt;Index()&lt;/code&gt; action.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Secondly, you are mixing the dependency injection techniques:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/Eb7Hq.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/Eb7Hq.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Regarding the issue, you are having. Double-check if you don't have any issues in your custom config files which might broke existing configs after merge. I assume you might have as I already noticed that you are trying to register some dependencies twice. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;One more thing to check - do not override SXA assemblies while publishing your code. Set &lt;code&gt;Copy Local&lt;/code&gt; to &lt;code&gt;False&lt;/code&gt; in the dependant SXA assembly properties.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; If you are using any custom library, you need to manually copy it to the bin directory of your website. Or set the following property on your dependency in Visual Studio:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/pXdBz.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/pXdBz.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="851" LastEditorUserId="851" LastEditDate="2019-10-16T06:44:33.417" LastActivityDate="2019-10-16T06:44:33.417" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22575" PostTypeId="2" ParentId="22567" CreationDate="2019-10-15T10:30:27.137" Score="1" Body="&lt;p&gt;You can try &lt;code&gt;for&lt;/code&gt; loop instead of &lt;code&gt;foreach&lt;/code&gt; loop if you want to update collection within the loop&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;for($index = $allData.Count-1; $index -ge 0; $index--) {&#xA;   $item = Get-Item -Path &quot;master:&quot; -ID $allData[$index].ID&#xA;   $item | Remove-Item&#xA;   $allData.RemoveAt($index) &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If &lt;code&gt;$allData&lt;/code&gt; is a collection of items then below script is enough to remove items and update &lt;code&gt;$allData&lt;/code&gt; collection - &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;for($index = $allData.Count-1; $index -ge 0; $index--) {&#xA;   $allData[$index] | Remove-Item&#xA;   $allData.RemoveAt($index) &#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="1606" LastActivityDate="2019-10-15T10:30:27.137" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22576" PostTypeId="1" CreationDate="2019-10-15T10:40:09.783" Score="0" ViewCount="90" Body="&lt;p&gt;I am facing a weird issue in my project. I am triggering goal programmatic way for some pages based on some fulfilling custom conditions. I am using the &lt;code&gt;Sitecore 9.1&lt;/code&gt; initial release. Here is my code:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;if (Tracker.IsActive &amp;amp;&amp;amp; Tracker.Current.CurrentPage != null)&#xA;{&#xA;   var goalItem = Sitecore.Context.Database.GetItem(goalId);&#xA;&#xA;   if (goalItem != null)&#xA;   {&#xA;       var goalTrigger = Tracker.MarketingDefinitions.Goals[goalId.ToGuid()];&#xA;       if (goalTrigger == null) continue;&#xA;&#xA;       var goalEventData = Tracker.Current.CurrentPage.RegisterGoal(goalTrigger);&#xA;       goalEventData.Data = goalItem[&quot;Name&quot;];&#xA;       goalEventData.ItemId = goalItem.ID.ToGuid();&#xA;       goalEventData.DataKey = goalItem.Paths.Path;&#xA;       goalEventData.Text = goalItem[&quot;Name&quot;];&#xA;       Tracker.Current.Interaction.AcceptModifications();&#xA;   }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The code snippet seems to work for almost all the pages, but I saw for some pages goals are not tracking. I tried to assign a goal from &lt;code&gt;Analyze&lt;/code&gt; menu item from the top menu bar, yet no luck. I tested with IsLiveEvent checked/unchecked. The result is the same. I ended the session with &lt;code&gt;Session.Abandoned()&lt;/code&gt;. Same no showing the goal. I think I checked all the log files for including marketing automation but nothing suspicious.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have no idea what else I can check. This is so frustrating. Can someone give me any lead, please?&lt;/p&gt;&#xA;" OwnerUserId="3378" LastEditorUserId="5387" LastEditDate="2019-10-16T10:23:10.723" LastActivityDate="2019-10-16T10:23:10.723" Title="Some pages are not logging goals" Tags="|xdb|experience-analytics|experience-profile|marketing-automation|goals|" AnswerCount="0" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22577" PostTypeId="1" AcceptedAnswerId="22578" CreationDate="2019-10-15T12:24:39.033" Score="0" ViewCount="159" Body="&lt;p&gt;We have stopped using code first jss. But we would still like to have commands like jss deploy template / jss deploy component. Unfortunately, these commands do stuff we don't want them to do, like add workflows to the templates and setting the app root/placeholders to locked. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is it possible to modify these commands, and if it is, how could we modify them so: &lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;templates are generated without workflow&lt;/li&gt;&#xA;&lt;li&gt;no items are locked&lt;/li&gt;&#xA;&lt;li&gt;additional templates have their placeholder settings updated&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;" OwnerUserId="3039" LastEditorUserId="4050" LastEditDate="2019-10-17T06:07:26.067" LastActivityDate="2019-10-17T06:07:26.067" Title="Is it possible to modify jss deploy template" Tags="|jss|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22578" PostTypeId="2" ParentId="22577" CreationDate="2019-10-15T13:05:49.133" Score="2" Body="&lt;p&gt;In order to do that you would need to modify the import process itself. The import process is using a few pipelines defined in &lt;code&gt;Sitecore.JavaScriptServices.AppServices.config&lt;/code&gt;:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/ba5IZ.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/ba5IZ.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Each of those has plenty of processors. You would need to override some of them in order to adjust it to your needs.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;To get rid of the workflow from being assigned to templates you can:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;override &lt;code&gt;ProcessTemplates&lt;/code&gt; processor&lt;/li&gt;&#xA;&lt;li&gt;for this particular change, you can also take a look at default app configuration and remove default workflow path form &lt;code&gt;defaultWorkflow&lt;/code&gt; attribute in &lt;code&gt;Sitecore.JavaScriptServices.Apps.config&lt;/code&gt; (would be better to override that property in  your app configuration)&lt;/li&gt;&#xA;&lt;/ul&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;If you would like not to protect items I would suggest looking and overriding &lt;code&gt;ProtectDeveloperItems&lt;/code&gt; processor&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;For placeholder settings items - take a look at &lt;code&gt;AddPlaceholderAllowedControls&lt;/code&gt; or &lt;code&gt;ProcessPlaceholders&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;" OwnerUserId="851" LastActivityDate="2019-10-15T13:05:49.133" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22579" PostTypeId="1" CreationDate="2019-10-15T13:42:22.347" Score="1" ViewCount="192" Body="&lt;p&gt;I have configured a Sitecore 9.1 Identity Server to utilize Azure AD for authentication.  Within Azure AD I have created a handful of roles, and assigned them to the necessary users.  These roles are mapped back to Identity Server, and everything appears to be working.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I have created these roles:&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Author&lt;/li&gt;&#xA;&lt;li&gt;Approver&lt;/li&gt;&#xA;&lt;li&gt;Power User&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;When I go back to Azure AD and change around an existing user's group memberships, however, it appears that Sitecore does not recognize the new claims.  For instance, if a user is within my Author group in Azure and logs into Sitecore, they are logged into Sitecore as an Author.  If I change the account within Azure AD to no longer have the Author role, but instead have the Power User role- it doesn't seem to affect anything.  Every time the user logs in, they're still seen as having the Author role.  The same thing is happening when I switch out any of the roles for a user.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;It appears that the roles (and other claims?) are only read at the time the user is created within Sitecore, and are not updated when the user logs in subsequent times.  Is this expected behavior?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;On a side note- if I cycle Identity Server the claims are re-read correctly, and the user receives updates to their role membership on the next login.&lt;/p&gt;&#xA;" OwnerUserId="430" LastEditorUserId="430" LastEditDate="2019-10-15T17:19:58.240" LastActivityDate="2019-10-15T20:10:40.540" Title="Identity Server + Azure AD - Claims not refreshed?" Tags="|identity-server|" AnswerCount="0" CommentCount="4" ContentLicense="CC BY-SA 4.0" />
  <row Id="22580" PostTypeId="2" ParentId="20271" CreationDate="2019-10-15T13:45:17.477" Score="3" Body="&lt;p&gt;Not much of an answer, but I can say that this has been confirmed as a bug. As of Sitecore version 9.2, this is still unresolved.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I just followed up, and there is no official bug reference for this. If encountered, the best action would be to go via Sitecore Support.&lt;/p&gt;&#xA;" OwnerUserId="73" LastEditorUserId="73" LastEditDate="2019-10-15T17:02:13.883" LastActivityDate="2019-10-15T17:02:13.883" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22581" PostTypeId="1" AcceptedAnswerId="22582" CreationDate="2019-10-15T17:33:51.130" Score="1" ViewCount="296" Body="&lt;p&gt;Judging by how SIM works, and how pervasive SIM is... I assume the most common practice for QA and Prod, is the Database is local/on the same machine as the website.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Is this indeed the suggested/common approach for live/Prod sites?&lt;/p&gt;&#xA;" OwnerUserId="5086" LastActivityDate="2019-10-16T18:20:37.847" Title="Best practices - Sitecore website in Prod - local or remote Sitecore databases?" Tags="|installation|sql-database|best-practices|" AnswerCount="2" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22582" PostTypeId="2" ParentId="22581" CreationDate="2019-10-15T18:25:22.997" Score="3" Body="&lt;p&gt;No this is not a suggested or common approach... at least I hope it is not. SIM is for local development environments only, it is not to be used for installing Sitecore in QA/Production environments.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for a recommended Production environment, that will entirely depend on your requirements. What level of availability do you need, what is your traffic volume etc...&lt;/p&gt;&#xA;&#xA;&lt;p&gt;But if you are not using PaaS for your environments, then it would be standard to at least have a separate servers for SQL, CM, CD - that would be the bare minimum for a Production worthy instance. &lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-10-15T18:25:22.997" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22583" PostTypeId="1" AcceptedAnswerId="22584" CreationDate="2019-10-15T18:28:52.067" Score="0" ViewCount="821" Body="&lt;p&gt;Whenever I try and copy a single item anywhere, I get this error. I have serialized the item and it has a template. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;NOTE: This is an item in a branch&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;12304 14:24:32 ERROR One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;Exception[1]: System.ArgumentNullException &#xA;Message[1]: Value cannot be null.&#xA;Parameter name: itemTemplate &#xA;Source[1]: Sitecore.Kernel &#xA;   at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)&#xA;   at Sitecore.Analytics.Reporting.DefinitionData.Marketing.Deployment.Processors.Deploy.DeployItem[TDefinition](Item item, Template itemTemplate, ID expectedTemplateId)&#xA;   at Sitecore.Analytics.Reporting.DefinitionData.Marketing.Deployment.Processors.Deploy.Process(DeployDefinitionArgs args)&#xA;   at (Object , Object )&#xA;   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)&#xA;   at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)&#xA;   at Sitecore.Analytics.Pipelines.DeployDefinition.DeployDefinitionPipeline.&amp;lt;&amp;gt;c__DisplayClass1_0.&amp;lt;Run&amp;gt;b__0()&#xA;   at Sitecore.Marketing.Core.IgnoreRecursiveCalls.Run(ID id, Action action)&#xA;   at Sitecore.Analytics.Pipelines.DeployDefinition.DeployDefinitionPipeline.Run(Item item)&#xA;   at Sitecore.Analytics.Data.Items.ItemEventHandler.OnItemSaved(Object sender, EventArgs args)&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) &#xA;&#xA;&#xA;12304 14:24:32 ERROR Failed to save the item. Item ID: {A4BF4831-F182-4F02-BD90-C7EF018285EA}, database: master&#xA;Exception: System.AggregateException&#xA;Message: One or more exceptions occurred while processing the subscribers to the 'item:saved' event.&#xA;Source: Sitecore.Kernel&#xA;   at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)&#xA;   at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters)&#xA;   at Sitecore.Events.Event.RaiseItemSaved(Object sender, ItemSavedEventArgs args)&#xA;   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.RaiseEvent[TArgs](EventHandler`1 handlers, Func`2 argsCreator)&#xA;   at Sitecore.Data.Engines.EngineCommand`2.Execute()&#xA;   at Sitecore.Data.Engines.DataEngine.SaveItem(Item item)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-10-15T19:00:56.553" Title="exceptions occurred while processing the subscribers to the 'item:saved'" Tags="|content-editor|copy|" AnswerCount="1" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22584" PostTypeId="2" ParentId="22583" CreationDate="2019-10-15T19:00:56.553" Score="2" Body="&lt;p&gt;I am going to file this under doh. I'll leave this question for anyone who sees this error. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;This is because the &lt;strong&gt;template for the item does not exist&lt;/strong&gt; in the local environment. That's embarrassing.&lt;/p&gt;&#xA;" OwnerUserId="432" LastActivityDate="2019-10-15T19:00:56.553" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22585" PostTypeId="2" ParentId="22581" CreationDate="2019-10-15T19:24:01.493" Score="1" Body="&lt;p&gt;One thing to keep in mind is that SIM is mostly useful to speed up local developers environment and I don'think you should use it to setup a prod instance. That said, the answer to this question vary in a few aspects so you won't find a single and right answer but things you need to consider:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;a) Are you hosting in IaaS? PaaS?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;b) What is your Sitecore licensing model? Do you have a limited number of licenses you can run your instance?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;c) Azure SQL cloud is not an option?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;d) What's the Sitecore version you are using?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;e) Do you need different geolocation targets?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;These are a few factors that need to be considered. If you are looking for documentation on how to install Sitecore in a scaled topology (separate CM, CD, SQL, etc) you can access this &lt;a href=&quot;https://dev.sitecore.net/~/media/AAAAEA933AB54D19B9DAC83C3026062E.ashx&quot; rel=&quot;nofollow noreferrer&quot;&gt;link&lt;/a&gt;. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;It is not common nor recommended to setup a production environment with a standalone setup (all running in the same server). There are a number of reasons why you wouldn't go with this approach, for example, you will have challenges with deployments, performance, scalability among others.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;As Richard said, If you are using IaaS it's common to split each role in it's own server (again do you have licenses, budget for it?). In this scenario, you would have something like 1 server for Content Management, 1 or more servers for Content delivery (at least 2 is recommended), 1 server for SQL server, 1 processing and so on. &lt;/p&gt;&#xA;" OwnerUserId="90" LastEditorUserId="4050" LastEditDate="2019-10-16T18:20:37.847" LastActivityDate="2019-10-16T18:20:37.847" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22586" PostTypeId="1" CreationDate="2019-10-15T20:08:53.557" Score="1" ViewCount="331" Body="&lt;p&gt;I have installed Sitecore 9.2.0 XC Scaled in Azure PasS. Hence there are two Redis cache has been created in azure portal, one for XC and one for XP. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I was able to find out where the Redis cache connection string is written for XP in the CD server. But nowhere I am getting where the Redis connection string is written for XC. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;In the CM server, there was a connection string named &quot;redis&quot; and valued &quot;session&quot;. But nowhere (not even in the connectionstring.config) I am getting the value of &quot;session&quot;.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Main aim to find this out to use only one Redis cache by replacing the connections.  &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Can anyone please help.&lt;/p&gt;&#xA;" OwnerUserId="5862" LastEditorUserId="4050" LastEditDate="2019-10-16T18:20:16.530" LastActivityDate="2019-10-16T18:20:16.530" Title="Location of Redis cache connection String in XC 9.2.0 PaaS Scaled" Tags="|sitecore-commerce|azure|paas|redis|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22587" PostTypeId="2" ParentId="22586" CreationDate="2019-10-15T20:17:41.213" Score="1" Body="&lt;p&gt;You can find the Redis configuration for XC in the config.json under &lt;em&gt;Caching/Redis&lt;/em&gt;:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&quot;Caching&quot;: {&#xA;  &quot;Memory&quot;: {&#xA;    &quot;Enabled&quot;: false,&#xA;    &quot;CacheStoreName&quot;: &quot;Commerce-Memory-Store&quot;&#xA;  },&#xA;  &quot;Redis&quot;: {&#xA;    &quot;Enabled&quot;: true,&#xA;    &quot;CacheStoreName&quot;: &quot;Commerce-Redis-Store&quot;,&#xA;    &quot;Options&quot;: {&#xA;      &quot;Configuration&quot;: &quot;localhost&quot;,&#xA;      &quot;InstanceName&quot;: &quot;Redis&quot;&#xA;    }&#xA;  }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="6173" LastActivityDate="2019-10-15T20:17:41.213" CommentCount="3" ContentLicense="CC BY-SA 4.0" />
  <row Id="22588" PostTypeId="2" ParentId="22525" CreationDate="2019-10-15T20:26:50.523" Score="1" Body="&lt;p&gt;The problem was due to the currency field in the ARM template. Changing &quot;INR&quot; to &quot;USD&quot; solved the issue. &lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;In BizFX config.json file change the currency to &quot;USD&quot; &lt;/li&gt;&#xA;&lt;li&gt;Bootstrap the Sitecore. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Or&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install the ARM template using &quot;USD&quot; would not require the above post-installation steps. &lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;After all these add your own currency. &lt;/p&gt;&#xA;" OwnerUserId="5862" LastEditorUserId="5862" LastEditDate="2019-10-16T18:45:02.250" LastActivityDate="2019-10-16T18:45:02.250" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22589" PostTypeId="2" ParentId="8389" CreationDate="2019-10-16T03:42:18.507" Score="1" Body="&lt;p&gt;I asked a similar question to Sitecore support when going from 9.0.1 to 9.2 (as they are not cross compatible when it comes to MSSQL server). &lt;/p&gt;&#xA;&#xA;&lt;p&gt;Their answer:&#xA;Your environment should match all the software requirements listed in installation guide before starting upgrade:&#xA;&lt;a href=&quot;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/92/Sitecore_Experience_Platform_92_Initial_Release.aspx&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/92/Sitecore_Experience_Platform_92_Initial_Release.aspx&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;You should upgrade your SQL Server first before you start Sitecore upgrade.&lt;/p&gt;&#xA;" OwnerUserId="6175" LastActivityDate="2019-10-16T03:42:18.507" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22590" PostTypeId="1" CreationDate="2019-10-16T05:02:00.717" Score="1" ViewCount="80" Body="&lt;p&gt;I have written a &lt;code&gt;PowerShell script&lt;/code&gt; as an action to delete selected items in the list view.&lt;/p&gt;&#xA;&lt;p&gt;The issue is - when I delete an item on any page other than the first one, after deletion, &lt;code&gt;update-listview&lt;/code&gt; command returns to page 1. What is the command to make it stick to that particular page from where the item has been deleted?&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/mp4cl.jpg&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/mp4cl.jpg&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&#xA;" OwnerUserId="5833" LastEditorUserId="-1" LastEditDate="2020-06-17T09:47:05.120" LastActivityDate="2019-10-16T10:49:48.993" Title="Pagination on Update-ListView" Tags="|powershell-extensions|" AnswerCount="0" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22591" PostTypeId="1" CreationDate="2019-10-16T11:19:35.383" Score="1" ViewCount="135" Body="&lt;p&gt;I'm using &lt;code&gt;Web Forms for Marketers 9.0 rev. 171003&lt;/code&gt;.&lt;br&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Below is what loaded in CD&#xA;&lt;a href=&quot;https://i.stack.imgur.com/bqfAd.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/bqfAd.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I did add this under &lt;code&gt;web.config&lt;/code&gt;,&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;system.webServer&amp;gt;&#xA;&amp;lt;handlers&amp;gt;&#xA;&amp;lt;add name=&quot;CaptchaImage&quot; verb=&quot;*&quot; path=&quot;CaptchaImage.axd&quot; type=&quot;Sitecore.Form.Core.Pipeline.RequestProcessor.CaptchaResolver, Sitecore.Forms.Core&quot; /&amp;gt;&#xA;&amp;lt;add name=&quot;CaptchaAudio&quot; verb=&quot;*&quot; path=&quot;CaptchaAudio.axd&quot; type=&quot;Sitecore.Form.Core.Pipeline.RequestProcessor.CaptchaResolver, Sitecore.Forms.Core&quot; /&amp;gt;&#xA;&amp;lt;/handlers&amp;gt;&#xA;&amp;lt;/system.webServer&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;but the image is still not loaded and I did get a 404 error.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;a href=&quot;https://i.stack.imgur.com/K2nU4.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.stack.imgur.com/K2nU4.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Did I miss something?&lt;/p&gt;&#xA;" OwnerUserId="6176" LastEditorUserId="4050" LastEditDate="2019-10-16T16:40:53.697" LastActivityDate="2019-10-16T16:40:53.697" Title="WFFM Captcha Image not loaded on CD" Tags="|wffm|content-delivery|" AnswerCount="0" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22592" PostTypeId="1" AcceptedAnswerId="22596" CreationDate="2019-10-16T13:22:45.757" Score="2" ViewCount="193" Body="&lt;p&gt;I am using Sitecore 9.1 and SXA 1.8, I need to clone &quot;component-search-results-count.js&quot; in base theme to extend some functionality to the OOB &quot;Search Result Count&quot; component.&lt;br&gt;&#xA;How can I do that?&lt;/p&gt;&#xA;" OwnerUserId="5780" LastEditorUserId="4050" LastEditDate="2019-10-16T19:04:47.810" LastActivityDate="2019-10-16T19:04:47.810" Title="Clone SXA OOB component javascript" Tags="|sxa|content-search|item-clones|" AnswerCount="1" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22593" PostTypeId="1" CreationDate="2019-10-16T13:25:07.560" Score="1" ViewCount="493" Body="&lt;p&gt;I'm following this guide to build a simple rendering.&#xA;&lt;a href=&quot;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/walkthrough--building-a-simple-rendering.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/walkthrough--building-a-simple-rendering.html&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;When I'm trying to use the ServiceLocator It can't find the right reference for it. I'm clueless to which one it should use, as they don't specify it in the walk-though. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;I read somewhere that it's supposed to come from the StandardController. But when I'm looking through it, it doesn't seem to contain it. &lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;public class SimpleComponentController&#xA;{&#xA;    private readonly ISimpleComponentRepository _repository;&#xA;&#xA;    public SimpleComponentController()&#xA;    {&#xA;        _repository = ServiceLocator.ServiceProvider.GetServiceISimpleComponentRepository()&#xA;    }&#xA;&#xA;    ...&#xA;}    &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Help is appreciated. &lt;/p&gt;&#xA;" OwnerUserId="6135" LastEditorUserId="4050" LastEditDate="2019-10-17T03:44:57.333" LastActivityDate="2019-10-17T03:44:57.333" Title="Sitecore SXA &quot;ServiceLocator.ServiceProvider.GetService&quot;" Tags="|sxa|" AnswerCount="0" CommentCount="3" ClosedDate="2019-10-16T13:58:41.463" ContentLicense="CC BY-SA 4.0" />
  <row Id="22594" PostTypeId="2" ParentId="22559" CreationDate="2019-10-16T14:39:45.727" Score="0" Body="&lt;p&gt;I think there might be another setting you need to make sure is totally removed on CM servers...&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;&amp;lt;setting name=&quot;WFM.IsRemoteActions&quot; value=&quot;true&quot; /&amp;gt; &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;This should only be present on CD and possibly Processing (if you have that) from memory. It's all in the Installation Guide somewhere I'm sure that's where I read it :) &lt;/p&gt;&#xA;" OwnerUserId="2539" LastActivityDate="2019-10-16T14:39:45.727" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22595" PostTypeId="2" ParentId="7882" CreationDate="2019-10-16T15:22:08.503" Score="1" Body="&lt;p&gt;The solution I have found is to force the Bucket Syncronization.&#xA;To Force the syncronization you have two option:&lt;/p&gt;&#xA;&#xA;&lt;p&gt;1) Define a custom Commandlet as defined &lt;a href=&quot;https://sitecorejunkie.com/2015/02/14/bucket-items-in-sitecore-using-a-custom-commandlet-in-sitecore-powershell-extensions/&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;p&gt;2) Mixing C# with Powershell and create your sync function as descibed &lt;a href=&quot;https://michaellwest.blogspot.com/2013/09/sitecore-powershell-extensions-mixing-c.html&quot; rel=&quot;nofollow noreferrer&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;$Assem = (&#xA;    “Sitecore.Kernel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null” ,&#xA;    “Sitecore.Buckets, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null”&#xA;    )&#xA;&#xA;$Source = @&quot;&#xA;namespace Custom.Web.Powershell.Bucket{&#xA;    public class CustomBucketManager{&#xA;        public static void Sync(Sitecore.Data.Items.Item item)&#xA;        {&#xA;            using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;            {&#xA;                Sitecore.Buckets.Managers.BucketManager.Sync(item);&#xA;            }&#xA;        }&#xA;        public static void Bucket(Sitecore.Data.Items.Item item)&#xA;        {&#xA;            using (new Sitecore.SecurityModel.SecurityDisabler())&#xA;            {&#xA;                Sitecore.Buckets.Managers.BucketManager.CreateBucket(item);&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&quot;@&#xA;Add-Type -ReferencedAssemblies $Assem -TypeDefinition $Source -Language CSharp &#xA;&#xA;&#xA;[Custom.Web.Powershell.Bucket.CustomBucketManager]::Sync($itemToBucket)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="6178" LastActivityDate="2019-10-16T15:22:08.503" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22596" PostTypeId="2" ParentId="22592" CreationDate="2019-10-16T16:06:50.987" Score="1" Body="&lt;p&gt;The way I do this is to create a copy of the JavaScript file, in this case &lt;code&gt;component-search-results-count.js&lt;/code&gt; and add that to my theme, or create a custom base theme. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;As for the base theme, I normally make a copy of it, for example, the &lt;code&gt;Components Theme&lt;/code&gt;, then I use my copy as the base theme for my sites theme, instead of the OOTB version. This means I can then remove any files that I override without touching the OOTB base theme.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;The reason, I add the files to the theme instead of just modifying the ones in my copy of the base theme, is so that I can easily use Creative Exchange to import the modified files. Creative Exchange does not import any of the files in the base themes.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Of course, you can always just remove the files from the OOTB Base Theme, but then you would have to make sure that you replicate that on each upgrade.&lt;/p&gt;&#xA;" OwnerUserId="70" LastActivityDate="2019-10-16T16:06:50.987" CommentCount="2" ContentLicense="CC BY-SA 4.0" />
  <row Id="22597" PostTypeId="1" AcceptedAnswerId="22599" CreationDate="2019-10-16T17:24:10.173" Score="3" ViewCount="87" Body="&lt;p&gt;What is the SPE equivalent of &quot;Revert Tree&quot;?&lt;/p&gt;&#xA;&#xA;&lt;p&gt;I've attempted the following:&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-bsh prettyprint-override&quot;&gt;&lt;code&gt;$config = [Sitecore.Configuration.Factory]::GetConfiguration();&#xA;$dataFolderPath = ($config.sitecore.&quot;sc.variable&quot; | ?{ $_.name -eq 'dataFolder'}).Value&#xA;$serializationPath = &quot;$dataFolderPath/serialization/master$($MyBucket.ItemPath)&quot;&#xA;&#xA;...&#xA;&#xA;if(test-path &quot;$serializationpath.item&quot;) {&#xA;    # restore the empty folder to delete children (~10,000) as a side-effect&#xA;    deserialize-item -path $serializationPath -root &quot;$dataFolderPath/serialization/&quot; -ForceUpdate -DisableEvents&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;.&#xA;But this does not seem to do the same thing as the button. The documentation doesn't reference this use case at all. Any feedback would be appreciated.&lt;/p&gt;&#xA;" OwnerUserId="559" LastActivityDate="2019-10-16T18:25:30.873" Title="What is the SPE equivalent of &quot;Revert Tree&quot;?" Tags="|powershell-extensions|" AnswerCount="1" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22599" PostTypeId="2" ParentId="22597" CreationDate="2019-10-16T18:17:35.423" Score="1" Body="&lt;p&gt;&lt;code&gt;deserialize-item&lt;/code&gt; command requires 2 parameters -&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;path&lt;/strong&gt; - which is a path to the item on the drive but without &lt;code&gt;.item&lt;/code&gt; extension. If the item does not exist in the Sitecore tree yet, you need to pass the parent item path.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;root&lt;/strong&gt; - the directory which is the root of serialization. &lt;strong&gt;The trailing slash \ character is required&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;In your case, you want to deserialize tree so &lt;code&gt;-Recurse&lt;/code&gt; option is also &lt;strong&gt;required&lt;/strong&gt;.&lt;/p&gt;&#xA;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You are passing both the parameter in your script but &lt;code&gt;$dataFolderPath&lt;/code&gt; value may not have a full path from config if it is set to &lt;code&gt;/app_data&lt;/code&gt;. Try to do a &lt;code&gt;write-host&lt;/code&gt; for the path to make sure it is a full file path.&lt;/li&gt;&#xA;&lt;li&gt;try to use slash &lt;code&gt;\&lt;/code&gt; character in the path not &lt;code&gt;/&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Make sure &lt;code&gt;$serializationPath&lt;/code&gt; value is correct with &lt;code&gt;$dataFolderPath&lt;/code&gt; and &lt;code&gt;$MyBucket&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;p&gt;A sample script will be like this -&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;//serialization item path without .item extension&#xA;$serializationPath = &quot;C:\inetpub\wwwroot\yourwebsite\App_Data\serialization\master\sitecore\content\Global Settings\Topics&quot;&#xA;//root file path of serialization&#xA;$rootPath = &quot;C:\inetpub\wwwroot\yourwebsite\App_Data\serialization\&quot;&#xA;if(test-path &quot;$serializationpath.item&quot;) {&#xA;deserialize-item -path $serializationPath -root $rootPath -ForceUpdate -DisableEvents -Recurse&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="124" LastEditorUserId="124" LastEditDate="2019-10-16T18:25:30.873" LastActivityDate="2019-10-16T18:25:30.873" CommentCount="1" ContentLicense="CC BY-SA 4.0" />
  <row Id="22600" PostTypeId="2" ParentId="1071" CreationDate="2019-10-16T19:35:07.513" Score="0" Body="&lt;p&gt;Here is an example on how to get all locked items by language and version.&lt;/p&gt;&#xA;&#xA;&lt;pre class=&quot;lang-powershell prettyprint-override&quot;&gt;&lt;code&gt;Import-Function -Name Invoke-SqlCommand&#xA;&#xA;$owner = &quot;sitecore\admin&quot;&#xA;&#xA;$connection = [Sitecore.Configuration.Settings]::GetConnectionString(&quot;master&quot;)&#xA;&#xA;$fieldId = [Sitecore.FieldIDs]::Lock&#xA;&#xA;$query = @&quot;&#xA;SELECT [ItemId], [Value], [Language], [Version]&#xA;  FROM [dbo].[VersionedFields]&#xA;  WHERE [FieldId] = '$($fieldId.ToString())'&#xA;    AND [Value] &amp;lt;&amp;gt; '' AND [Value] &amp;lt;&amp;gt; '&amp;lt;r /&amp;gt;'&#xA;&quot;@&#xA;$records = Invoke-SqlCommand -Connection $connection -Query $query&#xA;&#xA;if($records -and ![string]::IsNullOrEmpty($owner)) {&#xA;    $pattern = [regex]::Escape(&quot;owner=`&quot;$($owner)`&quot;&quot;)&#xA;    $records | Where-Object { $_.Value -match $pattern } | ForEach-Object { Get-Item -Path &quot;master:&quot; -ID $_.ItemId -Language $_.Language -Version $_.Version }&#xA;} else {&#xA;    $records | ForEach-Object { Get-Item -Path &quot;master:&quot; -ID $_.ItemId -Language $_.Language -Version $_.Version }&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;" OwnerUserId="95" LastActivityDate="2019-10-16T19:35:07.513" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22601" PostTypeId="2" ParentId="19347" CreationDate="2019-10-16T21:45:33.413" Score="1" Body="&lt;p&gt;We encountered this issues earlier on Sitecore 9.0.2 that it was neither showing the previews nor saving the screen shots. Do you see any errors on the logs file? We had the following exception in logs:&lt;/p&gt;&#xA;&#xA;&lt;pre&gt;&lt;code&gt;16:13:57 ERROR [Content Testing]: Cannot find PhantomJS executable at 'C:\inetpub\wwwroot\MYWEBSITE\App_Data/tools/phantomjs/phantomjs.exe'. Aborting screenshot generation.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;If you see the above exception, please see if you have &lt;code&gt;phantomjs.exe&lt;/code&gt; placed at the configured location. If not, copy that from a vanilla Sitecore installation package and test it again. &lt;/p&gt;&#xA;" OwnerUserId="1671" LastActivityDate="2019-10-16T21:45:33.413" CommentCount="0" ContentLicense="CC BY-SA 4.0" />
  <row Id="22603" PostTypeId="1" AcceptedAnswerId="22951" CreationDate="2019-10-17T02:51:33.813" Score="2" ViewCount="608" Body="&lt;p&gt;I am trapped in issues with bucketed item as below.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;Details:&lt;/strong&gt; This is Sitecore PaaS Scaled environment.&lt;/p&gt;&#xA;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;p&gt;We have bucketed media items when we create any item those are getting created in CM.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We can see those items reflecting in CM role.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We are successfully able to Publish those to CD(Web database).&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;Now the issues come which is these item is not coming and showing up on the page.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;p&gt;We have a caching situation with Clear cache on Index update on this particular rendering.&lt;/p&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&#xA;&lt;p&gt;Quick help will boost my confidence to work on this.&lt;/p&gt;&#xA;&#xA;&lt;p&gt;Adding more information as Micheal mentioned &lt;/p&gt;&#xA;&#xA;&lt;p&gt;We have code like below and rendering has the logic of filtering this with date time to show specific items. &lt;/p&gt;&#xA;&#xA;&lt;p&gt;&lt;code&gt;public Lis